@vc-shell/framework 1.0.93 → 1.0.95

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.
Files changed (54) hide show
  1. package/CHANGELOG.md +14 -1
  2. package/core/utilities/camelize.ts +5 -0
  3. package/core/utilities/generateId.ts +3 -0
  4. package/core/utilities/index.ts +2 -0
  5. package/core/utilities/kebabToCamel.ts +1 -1
  6. package/dist/core/utilities/camelize.d.ts +2 -0
  7. package/dist/core/utilities/camelize.d.ts.map +1 -0
  8. package/dist/core/utilities/generateId.d.ts +2 -0
  9. package/dist/core/utilities/generateId.d.ts.map +1 -0
  10. package/dist/core/utilities/index.d.ts +2 -0
  11. package/dist/core/utilities/index.d.ts.map +1 -1
  12. package/dist/core/utilities/kebabToCamel.d.ts +1 -0
  13. package/dist/core/utilities/kebabToCamel.d.ts.map +1 -1
  14. package/dist/framework.mjs +9353 -9100
  15. package/dist/index.css +1 -1
  16. package/dist/tsconfig.tsbuildinfo +1 -1
  17. package/dist/ui/components/molecules/index.d.ts +1 -0
  18. package/dist/ui/components/molecules/index.d.ts.map +1 -1
  19. package/dist/ui/components/molecules/vc-editor/index.d.ts +10 -0
  20. package/dist/ui/components/molecules/vc-editor/index.d.ts.map +1 -1
  21. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +1 -0
  22. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
  23. package/dist/ui/components/molecules/vc-input/index.d.ts +20 -0
  24. package/dist/ui/components/molecules/vc-input/index.d.ts.map +1 -1
  25. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +8 -0
  26. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
  27. package/dist/ui/components/molecules/vc-multivalue/index.d.ts +44 -0
  28. package/dist/ui/components/molecules/vc-multivalue/index.d.ts.map +1 -0
  29. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +70 -0
  30. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -0
  31. package/dist/ui/components/molecules/vc-select/index.d.ts +8 -0
  32. package/dist/ui/components/molecules/vc-select/index.d.ts.map +1 -1
  33. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +8 -0
  34. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  35. package/dist/ui/components/molecules/vc-textarea/index.d.ts +20 -0
  36. package/dist/ui/components/molecules/vc-textarea/index.d.ts.map +1 -1
  37. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +2 -0
  38. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
  39. package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts +27 -12
  40. package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts.map +1 -1
  41. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +27 -12
  42. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
  43. package/dist/ui/types/index.d.ts +1 -0
  44. package/dist/ui/types/index.d.ts.map +1 -1
  45. package/package.json +3 -3
  46. package/ui/components/molecules/index.ts +1 -0
  47. package/ui/components/molecules/vc-editor/vc-editor.vue +3 -9
  48. package/ui/components/molecules/vc-input/vc-input.vue +10 -0
  49. package/ui/components/molecules/vc-multivalue/index.ts +3 -0
  50. package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +406 -0
  51. package/ui/components/molecules/vc-select/vc-select.vue +4 -0
  52. package/ui/components/molecules/vc-textarea/vc-textarea.vue +4 -0
  53. package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +47 -23
  54. package/ui/types/index.ts +1 -0
package/CHANGELOG.md CHANGED
@@ -1,4 +1,17 @@
1
- ## [1.0.93](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.92...v1.0.93) (2023-08-04)
1
+ ## [1.0.94](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.92...v1.0.94) (2023-08-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * component registration ([07f829f](https://github.com/VirtoCommerce/vc-shell/commit/07f829f731b9a84b1b223b98a97ac299814ea62c))
7
+ * dynamic properties fix ([1f2738a](https://github.com/VirtoCommerce/vc-shell/commit/1f2738a95c1da6fc83ea9086aafab935f4f79bfe))
8
+ * temporary ([65d7a58](https://github.com/VirtoCommerce/vc-shell/commit/65d7a58e159a4f5a06581710156a533790437f4b))
9
+
10
+
11
+ ### Features
12
+
13
+ * mltilang label, remove mltilang in vc-editor ([f3411bd](https://github.com/VirtoCommerce/vc-shell/commit/f3411bdde6bb61751a89ffa253c038aadfe22e36))
14
+ * vc-editor multilang ([b494b9c](https://github.com/VirtoCommerce/vc-shell/commit/b494b9c3439e2d52d4be80616712b86b8126f799))
2
15
 
3
16
 
4
17
 
@@ -0,0 +1,5 @@
1
+ export function camelize(str: string) {
2
+ return str.replace(/\W+(.)/g, function (match, chr) {
3
+ return chr.toUpperCase();
4
+ });
5
+ }
@@ -0,0 +1,3 @@
1
+ export function generateId() {
2
+ return Math.random().toString(36).substring(2, 9);
3
+ }
@@ -1,2 +1,4 @@
1
1
  export * from "./camelToSnake";
2
2
  export * from "./kebabToCamel";
3
+ export * from "./camelize";
4
+ export * from "./generateId";
@@ -1,4 +1,4 @@
1
- const kebabToCamel = (str: string) => str.replace(/-./g, (x) => x[1].toUpperCase());
1
+ export const kebabToCamel = (str: string) => str.replace(/-./g, (x) => x[1].toUpperCase());
2
2
 
3
3
  export function kebabToPascal(str: string) {
4
4
  const camelCase = kebabToCamel(str);
@@ -0,0 +1,2 @@
1
+ export declare function camelize(str: string): string;
2
+ //# sourceMappingURL=camelize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"camelize.d.ts","sourceRoot":"","sources":["../../../core/utilities/camelize.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,UAInC"}
@@ -0,0 +1,2 @@
1
+ export declare function generateId(): string;
2
+ //# sourceMappingURL=generateId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateId.d.ts","sourceRoot":"","sources":["../../../core/utilities/generateId.ts"],"names":[],"mappings":"AAAA,wBAAgB,UAAU,WAEzB"}
@@ -1,3 +1,5 @@
1
1
  export * from "./camelToSnake";
2
2
  export * from "./kebabToCamel";
3
+ export * from "./camelize";
4
+ export * from "./generateId";
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../core/utilities/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../core/utilities/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"}
@@ -1,2 +1,3 @@
1
+ export declare const kebabToCamel: (str: string) => string;
1
2
  export declare function kebabToPascal(str: string): string;
2
3
  //# sourceMappingURL=kebabToCamel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"kebabToCamel.d.ts","sourceRoot":"","sources":["../../../core/utilities/kebabToCamel.ts"],"names":[],"mappings":"AAEA,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,UAIxC"}
1
+ {"version":3,"file":"kebabToCamel.d.ts","sourceRoot":"","sources":["../../../core/utilities/kebabToCamel.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAAS,MAAM,WAAkD,CAAC;AAE3F,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,UAIxC"}