@studiometa/js-toolkit 3.7.0 → 3.8.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Base/index.d.ts +1 -1
- package/Base/index.js +4 -1
- package/Base/index.js.map +2 -2
- package/decorators/index.d.ts +15 -15
- package/decorators/index.js +50 -15
- package/decorators/index.js.map +2 -2
- package/decorators/withScrolledInView/index.d.ts +2 -2
- package/decorators/withScrolledInView/index.js +6 -2
- package/decorators/withScrolledInView/index.js.map +2 -2
- package/helpers/index.d.ts +13 -12
- package/helpers/index.js +28 -13
- package/helpers/index.js.map +2 -2
- package/helpers/registerComponent.d.ts +17 -3
- package/helpers/registerComponent.js +22 -3
- package/helpers/registerComponent.js.map +2 -2
- package/helpers/registerComponents.d.ts +22 -0
- package/helpers/registerComponents.js +21 -0
- package/helpers/registerComponents.js.map +7 -0
- package/index.d.ts +5 -5
- package/index.js +113 -6
- package/index.js.map +2 -2
- package/package.json +1 -1
- package/services/index.d.ts +9 -9
- package/services/index.js +52 -9
- package/services/index.js.map +2 -2
- package/utils/css/index.d.ts +1 -1
- package/utils/css/index.js +4 -1
- package/utils/css/index.js.map +2 -2
- package/utils/dom/index.d.ts +2 -2
- package/utils/dom/index.js +7 -2
- package/utils/dom/index.js.map +2 -2
- package/utils/index.d.ts +16 -16
- package/utils/index.js +249 -17
- package/utils/index.js.map +2 -2
- package/utils/math/index.d.ts +2 -2
- package/utils/math/index.js +49 -2
- package/utils/math/index.js.map +2 -2
- package/utils/storage.d.ts +1 -1
- package/utils/storage.js +36 -1
- package/utils/storage.js.map +2 -2
- package/utils/string/index.d.ts +13 -13
- package/utils/string/index.js +33 -13
- package/utils/string/index.js.map +2 -2
package/utils/string/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
1
|
+
export { withLeadingCharacters } from './withLeadingCharacters.js';
|
|
2
|
+
export { withLeadingSlash } from './withLeadingSlash.js';
|
|
3
|
+
export { withoutLeadingCharacters } from './withoutLeadingCharacters.js';
|
|
4
|
+
export { withoutLeadingCharactersRecursive } from './withoutLeadingCharactersRecursive.js';
|
|
5
|
+
export { withoutLeadingSlash } from './withoutLeadingSlash.js';
|
|
6
|
+
export { withoutTrailingCharacters } from './withoutTrailingCharacters.js';
|
|
7
|
+
export { withoutTrailingCharactersRecursive } from './withoutTrailingCharactersRecursive.js';
|
|
8
|
+
export { withoutTrailingSlash } from './withoutTrailingSlash.js';
|
|
9
|
+
export { withTrailingCharacters } from './withTrailingCharacters.js';
|
|
10
|
+
export { withTrailingSlash } from './withTrailingSlash.js';
|
|
11
|
+
export { startsWith } from './startsWith.js';
|
|
12
|
+
export { endsWith } from './endsWith.js';
|
|
13
|
+
export { camelCase, dashCase, lowerCase, pascalCase, snakeCase, upperCase } from './changeCase.js';
|
package/utils/string/index.js
CHANGED
|
@@ -1,14 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { withLeadingCharacters } from "./withLeadingCharacters.js";
|
|
2
|
+
import { withLeadingSlash } from "./withLeadingSlash.js";
|
|
3
|
+
import { withoutLeadingCharacters } from "./withoutLeadingCharacters.js";
|
|
4
|
+
import { withoutLeadingCharactersRecursive } from "./withoutLeadingCharactersRecursive.js";
|
|
5
|
+
import { withoutLeadingSlash } from "./withoutLeadingSlash.js";
|
|
6
|
+
import { withoutTrailingCharacters } from "./withoutTrailingCharacters.js";
|
|
7
|
+
import { withoutTrailingCharactersRecursive } from "./withoutTrailingCharactersRecursive.js";
|
|
8
|
+
import { withoutTrailingSlash } from "./withoutTrailingSlash.js";
|
|
9
|
+
import { withTrailingCharacters } from "./withTrailingCharacters.js";
|
|
10
|
+
import { withTrailingSlash } from "./withTrailingSlash.js";
|
|
11
|
+
import { startsWith } from "./startsWith.js";
|
|
12
|
+
import { endsWith } from "./endsWith.js";
|
|
13
|
+
import { camelCase, dashCase, lowerCase, pascalCase, snakeCase, upperCase } from "./changeCase.js";
|
|
14
|
+
export {
|
|
15
|
+
camelCase,
|
|
16
|
+
dashCase,
|
|
17
|
+
endsWith,
|
|
18
|
+
lowerCase,
|
|
19
|
+
pascalCase,
|
|
20
|
+
snakeCase,
|
|
21
|
+
startsWith,
|
|
22
|
+
upperCase,
|
|
23
|
+
withLeadingCharacters,
|
|
24
|
+
withLeadingSlash,
|
|
25
|
+
withTrailingCharacters,
|
|
26
|
+
withTrailingSlash,
|
|
27
|
+
withoutLeadingCharacters,
|
|
28
|
+
withoutLeadingCharactersRecursive,
|
|
29
|
+
withoutLeadingSlash,
|
|
30
|
+
withoutTrailingCharacters,
|
|
31
|
+
withoutTrailingCharactersRecursive,
|
|
32
|
+
withoutTrailingSlash
|
|
33
|
+
};
|
|
14
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../packages/js-toolkit/utils/string/index.ts"],
|
|
4
|
-
"sourcesContent": ["export
|
|
5
|
-
"mappings": "AAAA,
|
|
4
|
+
"sourcesContent": ["export { withLeadingCharacters } from './withLeadingCharacters.js';\nexport { withLeadingSlash } from './withLeadingSlash.js';\nexport { withoutLeadingCharacters } from './withoutLeadingCharacters.js';\nexport { withoutLeadingCharactersRecursive } from './withoutLeadingCharactersRecursive.js';\nexport { withoutLeadingSlash } from './withoutLeadingSlash.js';\nexport { withoutTrailingCharacters } from './withoutTrailingCharacters.js';\nexport { withoutTrailingCharactersRecursive } from './withoutTrailingCharactersRecursive.js';\nexport { withoutTrailingSlash } from './withoutTrailingSlash.js';\nexport { withTrailingCharacters } from './withTrailingCharacters.js';\nexport { withTrailingSlash } from './withTrailingSlash.js';\nexport { startsWith } from './startsWith.js';\nexport { endsWith } from './endsWith.js';\nexport { camelCase, dashCase, lowerCase, pascalCase, snakeCase, upperCase } from './changeCase.js';\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,6BAA6B;AACtC,SAAS,wBAAwB;AACjC,SAAS,gCAAgC;AACzC,SAAS,yCAAyC;AAClD,SAAS,2BAA2B;AACpC,SAAS,iCAAiC;AAC1C,SAAS,0CAA0C;AACnD,SAAS,4BAA4B;AACrC,SAAS,8BAA8B;AACvC,SAAS,yBAAyB;AAClC,SAAS,kBAAkB;AAC3B,SAAS,gBAAgB;AACzB,SAAS,WAAW,UAAU,WAAW,YAAY,WAAW,iBAAiB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|