|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 2 weeks ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
648 bytes
|
| Line | |
|---|
| 1 | import { __assign } from "tslib";
|
|---|
| 2 | import { pascalCase, pascalCaseTransform, pascalCaseTransformMerge, } from "pascal-case";
|
|---|
| 3 | export function camelCaseTransform(input, index) {
|
|---|
| 4 | if (index === 0)
|
|---|
| 5 | return input.toLowerCase();
|
|---|
| 6 | return pascalCaseTransform(input, index);
|
|---|
| 7 | }
|
|---|
| 8 | export function camelCaseTransformMerge(input, index) {
|
|---|
| 9 | if (index === 0)
|
|---|
| 10 | return input.toLowerCase();
|
|---|
| 11 | return pascalCaseTransformMerge(input);
|
|---|
| 12 | }
|
|---|
| 13 | export function camelCase(input, options) {
|
|---|
| 14 | if (options === void 0) { options = {}; }
|
|---|
| 15 | return pascalCase(input, __assign({ transform: camelCaseTransform }, options));
|
|---|
| 16 | }
|
|---|
| 17 | //# sourceMappingURL=index.js.map |
|---|
Note:
See
TracBrowser
for help on using the repository browser.