@vc-shell/framework 1.0.215 → 1.0.217

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 (107) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/core/composables/useSettings/index.ts +1 -1
  3. package/dist/core/composables/useSettings/index.d.ts.map +1 -1
  4. package/dist/framework.js +32316 -24274
  5. package/dist/index.css +1 -1
  6. package/dist/locales/en.json +8 -0
  7. package/dist/shared/modules/dynamic/components/FIELD_MAP.d.ts.map +1 -1
  8. package/dist/shared/modules/dynamic/components/factories.d.ts +2 -1
  9. package/dist/shared/modules/dynamic/components/factories.d.ts.map +1 -1
  10. package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts.map +1 -1
  11. package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts +121 -0
  12. package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts.map +1 -0
  13. package/dist/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.d.ts +362 -0
  14. package/dist/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.d.ts.map +1 -0
  15. package/dist/shared/modules/dynamic/composables/useFilterBuilder/index.d.ts.map +1 -1
  16. package/dist/shared/modules/dynamic/factories/types/index.d.ts +1 -1
  17. package/dist/shared/modules/dynamic/factories/types/index.d.ts.map +1 -1
  18. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +1 -1
  19. package/dist/shared/modules/dynamic/types/index.d.ts +67 -3
  20. package/dist/shared/modules/dynamic/types/index.d.ts.map +1 -1
  21. package/dist/shared/modules/dynamic/types/models.d.ts +4 -1
  22. package/dist/shared/modules/dynamic/types/models.d.ts.map +1 -1
  23. package/dist/tsconfig.tsbuildinfo +1 -1
  24. package/dist/ui/components/atoms/index.d.ts +0 -1
  25. package/dist/ui/components/atoms/index.d.ts.map +1 -1
  26. package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts +40 -28
  27. package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts.map +1 -1
  28. package/dist/ui/components/atoms/vc-switch/vc-switch.stories.d.ts +8 -8
  29. package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts +1 -1
  30. package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts.map +1 -1
  31. package/dist/ui/components/molecules/index.d.ts +2 -0
  32. package/dist/ui/components/molecules/index.d.ts.map +1 -1
  33. package/dist/ui/components/{atoms → molecules}/vc-checkbox/index.d.ts +16 -16
  34. package/dist/ui/components/{atoms → molecules}/vc-checkbox/index.d.ts.map +1 -1
  35. package/dist/ui/components/{atoms → molecules}/vc-checkbox/vc-checkbox.stories.d.ts +160 -160
  36. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.stories.d.ts.map +1 -0
  37. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -0
  38. package/dist/ui/components/molecules/vc-input/vc-input.stories.d.ts +40 -28
  39. package/dist/ui/components/molecules/vc-input/vc-input.stories.d.ts.map +1 -1
  40. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +10 -0
  41. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
  42. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.stories.d.ts +28 -28
  43. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.stories.d.ts +63 -63
  44. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +9 -9
  45. package/dist/ui/components/molecules/vc-radio-button/index.d.ts +2 -0
  46. package/dist/ui/components/molecules/vc-radio-button/index.d.ts.map +1 -0
  47. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.stories.d.ts +687 -0
  48. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.stories.d.ts.map +1 -0
  49. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts +81 -0
  50. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts.map +1 -0
  51. package/dist/ui/components/molecules/vc-select/vc-select.stories.d.ts +90 -90
  52. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +9 -9
  53. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  54. package/dist/ui/components/molecules/vc-textarea/vc-textarea.stories.d.ts +168 -168
  55. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts +1 -0
  56. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts.map +1 -1
  57. package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts +4 -4
  58. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +1 -1
  59. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  60. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
  61. package/dist/ui/components/organisms/vc-gallery/vc-gallery.stories.d.ts +6 -6
  62. package/dist/ui/components/organisms/vc-login-form/index.d.ts +1 -72
  63. package/dist/ui/components/organisms/vc-login-form/index.d.ts.map +1 -1
  64. package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts +4 -2
  65. package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts.map +1 -1
  66. package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +3 -0
  67. package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +1 -1
  68. package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map +1 -1
  69. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
  70. package/package.json +5 -4
  71. package/shared/modules/dynamic/components/FIELD_MAP.ts +2 -0
  72. package/shared/modules/dynamic/components/factories.ts +10 -0
  73. package/shared/modules/dynamic/components/fields/InputCurrency.ts +4 -1
  74. package/shared/modules/dynamic/components/fields/RadioButtonGroup.ts +82 -0
  75. package/shared/modules/dynamic/components/fields/storybook/Checkbox.stories.ts +1 -1
  76. package/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.ts +224 -0
  77. package/shared/modules/dynamic/composables/useFilterBuilder/index.ts +202 -33
  78. package/shared/modules/dynamic/factories/types/index.ts +1 -1
  79. package/shared/modules/dynamic/pages/dynamic-blade-form.vue +4 -3
  80. package/shared/modules/dynamic/pages/dynamic-blade-list.vue +1 -1
  81. package/shared/modules/dynamic/types/index.ts +72 -3
  82. package/shared/modules/dynamic/types/models.ts +5 -0
  83. package/ui/components/atoms/index.ts +0 -1
  84. package/ui/components/atoms/vc-label/vc-label.vue +1 -1
  85. package/ui/components/atoms/vc-switch/vc-switch.vue +1 -1
  86. package/ui/components/molecules/index.ts +2 -0
  87. package/ui/components/{atoms → molecules}/vc-checkbox/vc-checkbox.stories.ts +3 -3
  88. package/ui/components/molecules/vc-checkbox/vc-checkbox.vue +204 -0
  89. package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +1 -1
  90. package/ui/components/molecules/vc-input/vc-input.vue +122 -33
  91. package/ui/components/molecules/vc-radio-button/index.ts +1 -0
  92. package/ui/components/molecules/vc-radio-button/vc-radio-button.stories.ts +97 -0
  93. package/ui/components/molecules/vc-radio-button/vc-radio-button.vue +197 -0
  94. package/ui/components/molecules/vc-select/vc-select.vue +1 -1
  95. package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +42 -0
  96. package/ui/components/organisms/vc-blade/vc-blade.vue +4 -2
  97. package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +4 -4
  98. package/ui/components/organisms/vc-login-form/index.ts +1 -10
  99. package/ui/components/organisms/vc-login-form/vc-login-form.vue +20 -0
  100. package/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue +8 -0
  101. package/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +16 -22
  102. package/ui/components/organisms/vc-table/vc-table.vue +23 -3
  103. package/dist/ui/components/atoms/vc-checkbox/vc-checkbox.stories.d.ts.map +0 -1
  104. package/dist/ui/components/atoms/vc-checkbox/vc-checkbox.vue.d.ts.map +0 -1
  105. package/ui/components/atoms/vc-checkbox/vc-checkbox.vue +0 -146
  106. /package/dist/ui/components/{atoms → molecules}/vc-checkbox/vc-checkbox.vue.d.ts +0 -0
  107. /package/ui/components/{atoms → molecules}/vc-checkbox/index.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,35 @@
1
+ ## [1.0.217](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.216...v1.0.217) (2024-05-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * message about edited blade is not displayed, fixed ([6b8e3a3](https://github.com/VirtoCommerce/vc-shell/commit/6b8e3a3f2245c442df7da788d7e6b0627cbcd79c))
7
+
8
+
9
+
10
+ ## [1.0.216](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.215...v1.0.216) (2024-05-21)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * disable preserve of ui settings in useSettings ([b41ee37](https://github.com/VirtoCommerce/vc-shell/commit/b41ee371ab6e5e329e578206a39c2c819c4d0ed8))
16
+
17
+
18
+ ### Features
19
+
20
+ * another view of modified status in blade ([fe6055a](https://github.com/VirtoCommerce/vc-shell/commit/fe6055a647a560339138286472815dce000ac75c))
21
+ * **dynamic:** add vc-select, vc-radio-button-group, vc-switch components to grid filter builder ([8f0bc5b](https://github.com/VirtoCommerce/vc-shell/commit/8f0bc5b233a9dfd6cecf570b2328601c55cf6d29))
22
+ * **dynamic:** support of blade modified state ([a2f9764](https://github.com/VirtoCommerce/vc-shell/commit/a2f97645f9512b36337483815073ca0c799bf341))
23
+ * show app version on login page ([0fe8da4](https://github.com/VirtoCommerce/vc-shell/commit/0fe8da4d78fa9fc9e03eb8490a2f051f850ad25e))
24
+ * **ui,dynamic:** vc-radio-button component, storybook ([2061e21](https://github.com/VirtoCommerce/vc-shell/commit/2061e21673a93560d127a4c60c10fa0fc7eab8d2))
25
+ * **ui:** add support for SVG files in file upload component ([b7d1ecc](https://github.com/VirtoCommerce/vc-shell/commit/b7d1ecc8c78dabc27ae0044df2dffab02689ffa4))
26
+ * **ui:** update styles of vc-checkbox component, move to molecules, storybook update ([2dd4ecc](https://github.com/VirtoCommerce/vc-shell/commit/2dd4eccf44ec489dd9678ec441a28ec99cacfcc1))
27
+ * **ui:** update vc-dynamic-property component to use VcSwitch for Boolean value type ([8fe513f](https://github.com/VirtoCommerce/vc-shell/commit/8fe513fb12d118151153be0cb7ce009987208d71))
28
+ * **ui:** vc-input update with new datepicker ([8a5a934](https://github.com/VirtoCommerce/vc-shell/commit/8a5a9342f9db2fb12c602d857e11e8cf9591d36e))
29
+ * **ui:** vc-table column switcher on hover at header ([5a5a131](https://github.com/VirtoCommerce/vc-shell/commit/5a5a131e1ba5bc539438c57e6f115d5331ec491b))
30
+
31
+
32
+
1
33
  ## [1.0.215](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.214...v1.0.215) (2024-05-20)
2
34
 
3
35
 
@@ -16,9 +16,9 @@ interface IUseSettings {
16
16
  applySettings: (args: { logo?: string; title?: string }) => void;
17
17
  }
18
18
 
19
- const uiSettings = ref<IUISetting | undefined>();
20
19
  export function useSettings(): IUseSettings {
21
20
  const base = inject("platformUrl");
21
+ const uiSettings = ref<IUISetting | undefined>();
22
22
 
23
23
  const { getApiClient } = useApiClient(SettingClient);
24
24
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useSettings/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoB,GAAG,EAAO,WAAW,EAAa,MAAM,KAAK,CAAC;AAIzE,UAAU,UAAU;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,YAAY;IACpB,QAAQ,CAAC,UAAU,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;IACrC,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACvC,aAAa,EAAE,CAAC,IAAI,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAClE;AAGD,wBAAgB,WAAW,IAAI,YAAY,CAqC1C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useSettings/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoB,GAAG,EAAO,WAAW,EAAa,MAAM,KAAK,CAAC;AAIzE,UAAU,UAAU;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,YAAY;IACpB,QAAQ,CAAC,UAAU,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;IACrC,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACvC,aAAa,EAAE,CAAC,IAAI,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAClE;AAED,wBAAgB,WAAW,IAAI,YAAY,CAsC1C"}