@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.
- package/CHANGELOG.md +32 -0
- package/core/composables/useSettings/index.ts +1 -1
- package/dist/core/composables/useSettings/index.d.ts.map +1 -1
- package/dist/framework.js +32316 -24274
- package/dist/index.css +1 -1
- package/dist/locales/en.json +8 -0
- package/dist/shared/modules/dynamic/components/FIELD_MAP.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/factories.d.ts +2 -1
- package/dist/shared/modules/dynamic/components/factories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts +121 -0
- package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts.map +1 -0
- package/dist/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.d.ts +362 -0
- package/dist/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.d.ts.map +1 -0
- package/dist/shared/modules/dynamic/composables/useFilterBuilder/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/factories/types/index.d.ts +1 -1
- package/dist/shared/modules/dynamic/factories/types/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/types/index.d.ts +67 -3
- package/dist/shared/modules/dynamic/types/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/types/models.d.ts +4 -1
- package/dist/shared/modules/dynamic/types/models.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/index.d.ts +0 -1
- package/dist/ui/components/atoms/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts +40 -28
- package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-switch/vc-switch.stories.d.ts +8 -8
- package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/index.d.ts +2 -0
- package/dist/ui/components/molecules/index.d.ts.map +1 -1
- package/dist/ui/components/{atoms → molecules}/vc-checkbox/index.d.ts +16 -16
- package/dist/ui/components/{atoms → molecules}/vc-checkbox/index.d.ts.map +1 -1
- package/dist/ui/components/{atoms → molecules}/vc-checkbox/vc-checkbox.stories.d.ts +160 -160
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.stories.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-input/vc-input.stories.d.ts +40 -28
- package/dist/ui/components/molecules/vc-input/vc-input.stories.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +10 -0
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.stories.d.ts +28 -28
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.stories.d.ts +63 -63
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +9 -9
- package/dist/ui/components/molecules/vc-radio-button/index.d.ts +2 -0
- package/dist/ui/components/molecules/vc-radio-button/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.stories.d.ts +687 -0
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.stories.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts +81 -0
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-select/vc-select.stories.d.ts +90 -90
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +9 -9
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.stories.d.ts +168 -168
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts +4 -4
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.stories.d.ts +6 -6
- package/dist/ui/components/organisms/vc-login-form/index.d.ts +1 -72
- package/dist/ui/components/organisms/vc-login-form/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts +4 -2
- package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +3 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/package.json +5 -4
- package/shared/modules/dynamic/components/FIELD_MAP.ts +2 -0
- package/shared/modules/dynamic/components/factories.ts +10 -0
- package/shared/modules/dynamic/components/fields/InputCurrency.ts +4 -1
- package/shared/modules/dynamic/components/fields/RadioButtonGroup.ts +82 -0
- package/shared/modules/dynamic/components/fields/storybook/Checkbox.stories.ts +1 -1
- package/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.ts +224 -0
- package/shared/modules/dynamic/composables/useFilterBuilder/index.ts +202 -33
- package/shared/modules/dynamic/factories/types/index.ts +1 -1
- package/shared/modules/dynamic/pages/dynamic-blade-form.vue +4 -3
- package/shared/modules/dynamic/pages/dynamic-blade-list.vue +1 -1
- package/shared/modules/dynamic/types/index.ts +72 -3
- package/shared/modules/dynamic/types/models.ts +5 -0
- package/ui/components/atoms/index.ts +0 -1
- package/ui/components/atoms/vc-label/vc-label.vue +1 -1
- package/ui/components/atoms/vc-switch/vc-switch.vue +1 -1
- package/ui/components/molecules/index.ts +2 -0
- package/ui/components/{atoms → molecules}/vc-checkbox/vc-checkbox.stories.ts +3 -3
- package/ui/components/molecules/vc-checkbox/vc-checkbox.vue +204 -0
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +1 -1
- package/ui/components/molecules/vc-input/vc-input.vue +122 -33
- package/ui/components/molecules/vc-radio-button/index.ts +1 -0
- package/ui/components/molecules/vc-radio-button/vc-radio-button.stories.ts +97 -0
- package/ui/components/molecules/vc-radio-button/vc-radio-button.vue +197 -0
- package/ui/components/molecules/vc-select/vc-select.vue +1 -1
- package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +42 -0
- package/ui/components/organisms/vc-blade/vc-blade.vue +4 -2
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +4 -4
- package/ui/components/organisms/vc-login-form/index.ts +1 -10
- package/ui/components/organisms/vc-login-form/vc-login-form.vue +20 -0
- package/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue +8 -0
- package/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +16 -22
- package/ui/components/organisms/vc-table/vc-table.vue +23 -3
- package/dist/ui/components/atoms/vc-checkbox/vc-checkbox.stories.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-checkbox/vc-checkbox.vue.d.ts.map +0 -1
- package/ui/components/atoms/vc-checkbox/vc-checkbox.vue +0 -146
- /package/dist/ui/components/{atoms → molecules}/vc-checkbox/vc-checkbox.vue.d.ts +0 -0
- /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;
|
|
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"}
|