@vc-shell/framework 1.0.214 → 1.0.216
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 +32321 -24260
- package/dist/index.css +1 -1
- package/dist/locales/en.json +8 -0
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts +1 -1
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/types/index.d.ts +2 -0
- package/dist/shared/components/blade-navigation/types/index.d.ts.map +1 -1
- 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 +6 -6
- 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/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue +71 -42
- package/shared/components/blade-navigation/composables/useBladeNavigation/index.ts +9 -3
- package/shared/components/blade-navigation/types/index.ts +2 -0
- 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 +3 -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/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/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export interface Props {
|
|
|
5
5
|
title?: string;
|
|
6
6
|
subtitle?: string;
|
|
7
7
|
icon?: string;
|
|
8
|
+
modified?: boolean;
|
|
8
9
|
}
|
|
9
10
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
11
|
expand: (...args: any[]) => void;
|
package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-blade-header.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vc-blade-header.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,KAAK;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;;;;;;;;;;;;AA+UD,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -32,7 +32,7 @@ declare const _default: {
|
|
|
32
32
|
type: import("vue").PropType<import("../../../..").IBladeToolbar[]>;
|
|
33
33
|
default: () => never[];
|
|
34
34
|
};
|
|
35
|
-
|
|
35
|
+
modified: {
|
|
36
36
|
type: import("vue").PropType<boolean>;
|
|
37
37
|
};
|
|
38
38
|
}>> & {
|
|
@@ -72,7 +72,7 @@ declare const _default: {
|
|
|
72
72
|
type: import("vue").PropType<import("../../../..").IBladeToolbar[]>;
|
|
73
73
|
default: () => never[];
|
|
74
74
|
};
|
|
75
|
-
|
|
75
|
+
modified: {
|
|
76
76
|
type: import("vue").PropType<boolean>;
|
|
77
77
|
};
|
|
78
78
|
}>> & {
|
|
@@ -120,7 +120,7 @@ declare const _default: {
|
|
|
120
120
|
type: import("vue").PropType<import("../../../..").IBladeToolbar[]>;
|
|
121
121
|
default: () => never[];
|
|
122
122
|
};
|
|
123
|
-
|
|
123
|
+
modified: {
|
|
124
124
|
type: import("vue").PropType<boolean>;
|
|
125
125
|
};
|
|
126
126
|
}>> & {
|
|
@@ -165,7 +165,7 @@ declare const _default: {
|
|
|
165
165
|
type: import("vue").PropType<import("../../../..").IBladeToolbar[]>;
|
|
166
166
|
default: () => never[];
|
|
167
167
|
};
|
|
168
|
-
|
|
168
|
+
modified: {
|
|
169
169
|
type: import("vue").PropType<boolean>;
|
|
170
170
|
};
|
|
171
171
|
}>> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-blade.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-blade/vc-blade.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAQvD,MAAM,WAAW,KAAK;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,aAAa,EAAE,CAAC;IAC/B,
|
|
1
|
+
{"version":3,"file":"vc-blade.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-blade/vc-blade.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAQvD,MAAM,WAAW,KAAK;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CA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,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-dynamic-property.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"vc-dynamic-property.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.ts"],"names":[],"mappings":";;;;;UA6bU,MAAM;gBAZA,GAAG;cAML,OAAO;;;;;;;;;;;wBA3X4B,GAAG;;;;;gCAuXlC,MAAM,YACR,MAAM,WACP,MAAM,KACZ,QAAQ,GAAG,EAAE,GAAG,SAAS,CAAC,GAAG,GAAG,EAAE,GAAG,SAAS;eAKxC,MAAM;;;;;;;;;WAuBd,GAAG;;;wBAtZuC,GAAG;;;;yCAqZpC,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,KAAG,IAAI;;;cApB/C,MAAM;oBAZA,GAAG;kBAML,OAAO;;;;;;;;;;;4BA3X4B,GAAG;;;;;oCAuXlC,MAAM,YACR,MAAM,WACP,MAAM,KACZ,QAAQ,GAAG,EAAE,GAAG,SAAS,CAAC,GAAG,GAAG,EAAE,GAAG,SAAS;mBAKxC,MAAM;;;;;;;;;oBAsBL,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;wBAtZuC,GAAG;;;;;;;;;;kBAiY1C,MAAM;wBAZA,GAAG;sBAML,OAAO;;;;;;;;;;;gCA3X4B,GAAG;;;;;wCAuXlC,MAAM,YACR,MAAM,WACP,MAAM,KACZ,QAAQ,GAAG,EAAE,GAAG,SAAS,CAAC,GAAG,GAAG,EAAE,GAAG,SAAS;uBAKxC,MAAM;;;;;;;;;wBAsBL,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;eAClD,GAAG;;;4BAtZuC,GAAG;;;;;;AAnDpD,wBA8c2E;AAQ3E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -16,12 +16,12 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<string>;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
|
-
required: {
|
|
20
|
-
type: import("vue").PropType<boolean>;
|
|
21
|
-
};
|
|
22
19
|
tooltip: {
|
|
23
20
|
type: import("vue").PropType<string>;
|
|
24
21
|
};
|
|
22
|
+
required: {
|
|
23
|
+
type: import("vue").PropType<boolean>;
|
|
24
|
+
};
|
|
25
25
|
loading: {
|
|
26
26
|
type: import("vue").PropType<boolean>;
|
|
27
27
|
};
|
|
@@ -74,12 +74,12 @@ declare const _default: {
|
|
|
74
74
|
type: import("vue").PropType<string>;
|
|
75
75
|
default: string;
|
|
76
76
|
};
|
|
77
|
-
required: {
|
|
78
|
-
type: import("vue").PropType<boolean>;
|
|
79
|
-
};
|
|
80
77
|
tooltip: {
|
|
81
78
|
type: import("vue").PropType<string>;
|
|
82
79
|
};
|
|
80
|
+
required: {
|
|
81
|
+
type: import("vue").PropType<boolean>;
|
|
82
|
+
};
|
|
83
83
|
loading: {
|
|
84
84
|
type: import("vue").PropType<boolean>;
|
|
85
85
|
};
|
|
@@ -1,73 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const VcLoginForm: {
|
|
3
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
-
title: {
|
|
5
|
-
type: import("vue").PropType<string>;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
background: {
|
|
9
|
-
type: import("vue").PropType<string>;
|
|
10
|
-
};
|
|
11
|
-
logo: {
|
|
12
|
-
type: import("vue").PropType<string>;
|
|
13
|
-
};
|
|
14
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
-
title: {
|
|
16
|
-
type: import("vue").PropType<string>;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
background: {
|
|
20
|
-
type: import("vue").PropType<string>;
|
|
21
|
-
};
|
|
22
|
-
logo: {
|
|
23
|
-
type: import("vue").PropType<string>;
|
|
24
|
-
};
|
|
25
|
-
}>>, {
|
|
26
|
-
title: string;
|
|
27
|
-
}, true, {}, {}, {
|
|
28
|
-
P: {};
|
|
29
|
-
B: {};
|
|
30
|
-
D: {};
|
|
31
|
-
C: {};
|
|
32
|
-
M: {};
|
|
33
|
-
Defaults: {};
|
|
34
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
-
title: {
|
|
36
|
-
type: import("vue").PropType<string>;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
background: {
|
|
40
|
-
type: import("vue").PropType<string>;
|
|
41
|
-
};
|
|
42
|
-
logo: {
|
|
43
|
-
type: import("vue").PropType<string>;
|
|
44
|
-
};
|
|
45
|
-
}>>, {}, {}, {}, {}, {
|
|
46
|
-
title: string;
|
|
47
|
-
}>;
|
|
48
|
-
__isFragment?: undefined;
|
|
49
|
-
__isTeleport?: undefined;
|
|
50
|
-
__isSuspense?: undefined;
|
|
51
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
-
title: {
|
|
53
|
-
type: import("vue").PropType<string>;
|
|
54
|
-
default: string;
|
|
55
|
-
};
|
|
56
|
-
background: {
|
|
57
|
-
type: import("vue").PropType<string>;
|
|
58
|
-
};
|
|
59
|
-
logo: {
|
|
60
|
-
type: import("vue").PropType<string>;
|
|
61
|
-
};
|
|
62
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
63
|
-
title: string;
|
|
64
|
-
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
65
|
-
$slots: {
|
|
66
|
-
default?(_: {}): any;
|
|
67
|
-
};
|
|
68
|
-
}) & (new () => {
|
|
69
|
-
$slots: {
|
|
70
|
-
default: () => VNode[];
|
|
71
|
-
};
|
|
72
|
-
});
|
|
1
|
+
export { default as VcLoginForm } from "./vc-login-form.vue";
|
|
73
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-login-form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-login-form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -9,8 +9,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
9
9
|
title: string;
|
|
10
10
|
}>>>, {
|
|
11
11
|
title: string;
|
|
12
|
-
}, {}>, {
|
|
13
|
-
default
|
|
12
|
+
}, {}>, Readonly<{
|
|
13
|
+
default: void;
|
|
14
|
+
}> & {
|
|
15
|
+
default: void;
|
|
14
16
|
}>;
|
|
15
17
|
export default _default;
|
|
16
18
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-login-form.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-login-form/vc-login-form.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vc-login-form.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-login-form/vc-login-form.vue.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,KAAK;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;;;;;;;;;;;;AA4ID,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -4,11 +4,14 @@ export interface Props {
|
|
|
4
4
|
}
|
|
5
5
|
export interface Emits {
|
|
6
6
|
(event: "change", value: ITableColumns): void;
|
|
7
|
+
(event: "onActive", value: boolean): void;
|
|
7
8
|
}
|
|
8
9
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
10
|
change: (value: ITableColumns) => void;
|
|
11
|
+
onActive: (value: boolean) => void;
|
|
10
12
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>> & {
|
|
11
13
|
onChange?: ((value: ITableColumns) => any) | undefined;
|
|
14
|
+
onOnActive?: ((value: boolean) => any) | undefined;
|
|
12
15
|
}, {}, {}>;
|
|
13
16
|
export default _default;
|
|
14
17
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-table-column-switcher.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAI/D,MAAM,WAAW,KAAK;IACpB,KAAK,EAAE,aAAa,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,aAAa,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"vc-table-column-switcher.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.ts"],"names":[],"mapp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/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-table-filter.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,KAAK;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;
|
|
1
|
+
{"version":3,"file":"vc-table-filter.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,KAAK;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AA2CD,iBAAS,UAAU,SAElB;;;;;;;;;;;;;;;;;;AA8LD,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-table.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-table/vc-table.vue.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,QAAQ,EACR,GAAG,EAUJ,MAAM,KAAK,CAAC;AAGb,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAO/E,OAAO,iCAAiC,CAAC;AACzC,OAAO,gCAAgC,CAAC;AAExC,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,SAAS;IACxB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;IACjB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"vc-table.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-table/vc-table.vue.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,QA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AM,GAAG,MAAM,CAAA;iBAAE;uBAAS,MAAM;;8CAi/DrD,oBAAoB,EAAE,GAAG,SAAS;;;;;;;;;;;;;;;;sBAqBzD,MAAM;;;;;wBAUJ,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;eAClD,GAAG;;+CAllE2B,GAAG,KAAK,GAAG;;;sBACG,aAAa;kBAAO,GAAG;4BAJxD,GAAG,KAAK,GAAG;4BACX;gBAAE,UAAU,EAAE,MAAM,IAAI,CAAA;aAAE,KAAK,GAAG;;;kBACZ,GAAG;8BAGvB,GAAG,KAAK,GAAG;2BACd,GAAG,KAAK,GAAG;4BACV,GAAG,KAAK,GAAG;;+CAJQ,GAAG,KAAK,GAAG;;;sBACG,aAAa;kBAAO,GAAG;4BAJxD,GAAG,KAAK,GAAG;4BACX;gBAAE,UAAU,EAAE,MAAM,IAAI,CAAA;aAAE,KAAK,GAAG;;;kBACZ,GAAG;8BAGvB,GAAG,KAAK,GAAG;2BACd,GAAG,KAAK,GAAG;4BACV,GAAG,KAAK,GAAG;;;uBA2DQ,MAAM;uBAAa,MAAM;;;mBAE5B;gBAAE,KAAK,EAAE,MAAM,CAAC;gBAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;aAAE;mBAAS,MAAM;;;;AA3E1F,wBAimE2E;AAQ3E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.216",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/framework.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"@microsoft/signalr": "^8.0.0",
|
|
36
36
|
"@vee-validate/i18n": "^4.12.4",
|
|
37
37
|
"@vee-validate/rules": "^4.12.4",
|
|
38
|
+
"@vuepic/vue-datepicker": "^8.6.0",
|
|
38
39
|
"@vueup/vue-quill": "^1.2.0",
|
|
39
40
|
"@vueuse/components": "^10.7.1",
|
|
40
41
|
"@vueuse/core": "^10.7.1",
|
|
@@ -59,9 +60,9 @@
|
|
|
59
60
|
"devDependencies": {
|
|
60
61
|
"@types/dompurify": "^3.0.5",
|
|
61
62
|
"@types/quill": "^2.0.14",
|
|
62
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
63
|
-
"@vc-shell/config-generator": "^1.0.
|
|
64
|
-
"@vc-shell/ts-config": "^1.0.
|
|
63
|
+
"@vc-shell/api-client-generator": "^1.0.216",
|
|
64
|
+
"@vc-shell/config-generator": "^1.0.216",
|
|
65
|
+
"@vc-shell/ts-config": "^1.0.216",
|
|
65
66
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
66
67
|
"sass": "^1.69.6",
|
|
67
68
|
"shx": "^0.3.4",
|
package/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
</template>
|
|
19
19
|
|
|
20
20
|
<script lang="ts" setup>
|
|
21
|
-
import { Ref, computed, inject, withDirectives, h, vShow, toRef } from "vue";
|
|
21
|
+
import { Ref, computed, inject, withDirectives, h, vShow, toRef, VNode, nextTick } from "vue";
|
|
22
22
|
import { RouterView } from "vue-router";
|
|
23
23
|
import { BladeVNode, IParentCallArgs, useBladeNavigation } from "./../../../../../shared";
|
|
24
24
|
import { ErrorInterceptor } from "./../../../error-interceptor";
|
|
@@ -31,7 +31,10 @@ const { blades, closeBlade, onParentCall } = useBladeNavigation();
|
|
|
31
31
|
const { breadcrumbs, push, remove } = useBreadcrumbs();
|
|
32
32
|
|
|
33
33
|
const quantity = computed(() => {
|
|
34
|
-
return
|
|
34
|
+
return (
|
|
35
|
+
blades.value.filter((x) => x.props.navigation.isVisible || typeof x.props.navigation.isVisible === "undefined")
|
|
36
|
+
.length || 0
|
|
37
|
+
);
|
|
35
38
|
});
|
|
36
39
|
|
|
37
40
|
const isMobile = inject("isMobile") as Ref<boolean>;
|
|
@@ -46,6 +49,9 @@ watchDebounced(
|
|
|
46
49
|
id: blade.props.navigation.idx.toString(),
|
|
47
50
|
title: toRef(blade.props.navigation.instance ?? { title: "" }, "title"),
|
|
48
51
|
clickHandler: async (id) => {
|
|
52
|
+
if (blade.props.navigation.isVisible === false) {
|
|
53
|
+
blade.props.navigation.isVisible = true;
|
|
54
|
+
}
|
|
49
55
|
const isPrevented = await closeBlade(parseInt(id) + 1);
|
|
50
56
|
return !isPrevented;
|
|
51
57
|
},
|
|
@@ -64,49 +70,72 @@ const render = () => {
|
|
|
64
70
|
if (!blades.value.length) {
|
|
65
71
|
return h(RouterView);
|
|
66
72
|
}
|
|
73
|
+
|
|
67
74
|
return h("div", { class: "tw-w-full tw-overflow-hidden tw-flex tw-grow tw-basis-0 tw-relative" }, [
|
|
68
|
-
blades.value.
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
75
|
+
blades.value.reduce(
|
|
76
|
+
(arr, bladeVNode, index) => {
|
|
77
|
+
if (bladeVNode.type.isBlade) {
|
|
78
|
+
const hiddenQuantity = blades.value.filter(
|
|
79
|
+
(x) => x.props.navigation.isVisible === false && x.props.navigation.idx < index,
|
|
80
|
+
).length;
|
|
81
|
+
|
|
82
|
+
arr.push(
|
|
83
|
+
h(
|
|
84
|
+
ErrorInterceptor,
|
|
85
|
+
{
|
|
86
|
+
key: index,
|
|
87
|
+
capture: true,
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
default: ({
|
|
91
|
+
error,
|
|
92
|
+
reset,
|
|
93
|
+
}: Parameters<InstanceType<typeof ErrorInterceptor>["$slots"]["default"]>["0"]) => {
|
|
94
|
+
return withDirectives(
|
|
95
|
+
h(
|
|
96
|
+
VcBladeView,
|
|
97
|
+
{ key: `${bladeVNode.type?.name}_${index}` || `blade_${index}`, blade: bladeVNode },
|
|
98
|
+
{
|
|
99
|
+
default: ({ Component }: { Component: BladeVNode }) => {
|
|
100
|
+
return h(Component, {
|
|
101
|
+
error,
|
|
102
|
+
closable: index >= 1,
|
|
103
|
+
expandable: quantity.value > 1,
|
|
104
|
+
expanded: index - hiddenQuantity === quantity.value - 1,
|
|
105
|
+
"onClose:blade": () => {
|
|
106
|
+
closeBlade(index);
|
|
107
|
+
},
|
|
108
|
+
"onParent:call": async (args: IParentCallArgs) => {
|
|
109
|
+
await nextTick(() => {
|
|
110
|
+
const instance = blades.value?.[index - 1]?.props?.navigation?.instance;
|
|
111
|
+
if (instance) onParentCall(instance, args);
|
|
112
|
+
});
|
|
113
|
+
},
|
|
114
|
+
onVnodeUnmounted: reset,
|
|
115
|
+
});
|
|
96
116
|
},
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
117
|
+
},
|
|
118
|
+
),
|
|
119
|
+
|
|
120
|
+
[
|
|
121
|
+
[
|
|
122
|
+
vShow,
|
|
123
|
+
(bladeVNode.props.navigation.isVisible ||
|
|
124
|
+
typeof bladeVNode.props.navigation.isVisible === "undefined") &&
|
|
125
|
+
index >= quantity.value - (isMobile.value ? 1 : 2),
|
|
126
|
+
],
|
|
127
|
+
],
|
|
128
|
+
);
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
),
|
|
132
|
+
);
|
|
133
|
+
}
|
|
102
134
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
);
|
|
108
|
-
}
|
|
109
|
-
}),
|
|
135
|
+
return arr;
|
|
136
|
+
},
|
|
137
|
+
[] as unknown as VNode[],
|
|
138
|
+
),
|
|
110
139
|
]);
|
|
111
140
|
};
|
|
112
141
|
</script>
|
|
@@ -45,7 +45,7 @@ interface IUseBladeNavigation {
|
|
|
45
45
|
readonly blades: ComputedRef<BladeVNode[]>;
|
|
46
46
|
readonly currentBladeNavigationData: ComputedRef<BladeVNode["props"]["navigation"]>;
|
|
47
47
|
openBlade: <Blade extends Component>(
|
|
48
|
-
{ blade, param, options, onOpen, onClose }: IBladeEvent<Blade>,
|
|
48
|
+
{ blade, param, options, onOpen, onClose, replaceCurrentBlade }: IBladeEvent<Blade>,
|
|
49
49
|
isWorkspace?: boolean,
|
|
50
50
|
) => Promise<void | NavigationFailure>;
|
|
51
51
|
closeBlade: (index: number) => Promise<boolean>;
|
|
@@ -255,6 +255,9 @@ const useBladeNavigationSingleton = createSharedComposable(() => {
|
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
if (!isPrevented) {
|
|
258
|
+
if (navigationInstance.blades.value[index - 1]?.props?.navigation?.isVisible === false) {
|
|
259
|
+
navigationInstance.blades.value[index - 1].props.navigation.isVisible = true;
|
|
260
|
+
}
|
|
258
261
|
navigationInstance.blades.value.splice(index);
|
|
259
262
|
}
|
|
260
263
|
|
|
@@ -338,7 +341,7 @@ export function useBladeNavigation(): IUseBladeNavigation {
|
|
|
338
341
|
}
|
|
339
342
|
|
|
340
343
|
async function openBlade<Blade extends Component>(
|
|
341
|
-
{ blade, param, options, onOpen, onClose }: IBladeEvent<Blade>,
|
|
344
|
+
{ blade, param, options, onOpen, onClose, replaceCurrentBlade = false }: IBladeEvent<Blade>,
|
|
342
345
|
isWorkspace = false,
|
|
343
346
|
) {
|
|
344
347
|
if (!blade) {
|
|
@@ -372,6 +375,9 @@ export function useBladeNavigation(): IUseBladeNavigation {
|
|
|
372
375
|
|
|
373
376
|
if (!isPrevented) {
|
|
374
377
|
if (hasAccess(blade.permissions)) {
|
|
378
|
+
if (replaceCurrentBlade) {
|
|
379
|
+
navigationInstance.blades.value[currentBladeIdx].props.navigation.isVisible = false;
|
|
380
|
+
}
|
|
375
381
|
navigationInstance.blades.value.push(bladeNode);
|
|
376
382
|
} else {
|
|
377
383
|
notification.error(i18n.global.t("PERMISSION_MESSAGES.ACCESS_RESTRICTED"), { timeout: 3000 });
|
|
@@ -491,7 +497,7 @@ export function useBladeNavigation(): IUseBladeNavigation {
|
|
|
491
497
|
const registeredWorkspaceComponent = routes.find((route) => route.route === `/${workspace}`)?.component;
|
|
492
498
|
const registeredRouteComponent = routes.find((route) => route.route === `/${blade}`)?.component;
|
|
493
499
|
|
|
494
|
-
if (!registeredWorkspaceComponent) {
|
|
500
|
+
if (!hasAccess(registeredWorkspaceComponent?.type.permissions) || !registeredWorkspaceComponent) {
|
|
495
501
|
return goToRoot();
|
|
496
502
|
}
|
|
497
503
|
|
|
@@ -72,6 +72,7 @@ export interface IBladeEvent<T extends Component = Component> {
|
|
|
72
72
|
param?: string;
|
|
73
73
|
onOpen?: () => void;
|
|
74
74
|
onClose?: () => void;
|
|
75
|
+
replaceCurrentBlade?: boolean;
|
|
75
76
|
}
|
|
76
77
|
|
|
77
78
|
export interface BladeNavigationPlugin {
|
|
@@ -96,6 +97,7 @@ export interface BladeVNode extends VNode {
|
|
|
96
97
|
onBeforeClose?: () => Promise<boolean | undefined>;
|
|
97
98
|
instance: CoreBladeExposed | undefined | null;
|
|
98
99
|
idx: number;
|
|
100
|
+
isVisible?: boolean;
|
|
99
101
|
};
|
|
100
102
|
onVnodeUnmounted?: VNodeMountHook | VNodeMountHook[];
|
|
101
103
|
onVnodeMounted?: VNodeMountHook | VNodeMountHook[];
|
|
@@ -20,6 +20,7 @@ import Table from "./fields/Table";
|
|
|
20
20
|
import { ControlSchema } from "../types";
|
|
21
21
|
import CustomComponent from "./fields/CustomComponent";
|
|
22
22
|
import RatingField from "./fields/RatingField";
|
|
23
|
+
import RadioButtonGroup from "./fields/RadioButtonGroup";
|
|
23
24
|
|
|
24
25
|
type AvailableComponents = Exclude<ControlSchema["component"], "vc-widgets">;
|
|
25
26
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -46,6 +47,7 @@ const FIELD_MAP: TFieldMap = {
|
|
|
46
47
|
"vc-table": Table,
|
|
47
48
|
"vc-custom": CustomComponent,
|
|
48
49
|
"vc-rating": RatingField,
|
|
50
|
+
"vc-radio-button-group": RadioButtonGroup,
|
|
49
51
|
};
|
|
50
52
|
|
|
51
53
|
export default FIELD_MAP;
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
ISwitch,
|
|
20
20
|
ITable,
|
|
21
21
|
IRating,
|
|
22
|
+
IRadioButton,
|
|
22
23
|
} from "./../types/models";
|
|
23
24
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
24
25
|
import { markRaw } from "vue";
|
|
@@ -41,6 +42,7 @@ import {
|
|
|
41
42
|
VcSwitch,
|
|
42
43
|
VcTable,
|
|
43
44
|
VcRating,
|
|
45
|
+
VcRadioButton,
|
|
44
46
|
} from "../../../../ui/components";
|
|
45
47
|
|
|
46
48
|
export const ControlBaseProps = ({
|
|
@@ -191,6 +193,14 @@ export const Checkbox = ({ props, slots }: ICheckbox): ICheckbox => ({
|
|
|
191
193
|
slots,
|
|
192
194
|
});
|
|
193
195
|
|
|
196
|
+
export const RadioButton = ({ props }: IRadioButton): IRadioButton => ({
|
|
197
|
+
component: markRaw(VcRadioButton),
|
|
198
|
+
props: {
|
|
199
|
+
...ControlBaseProps(props),
|
|
200
|
+
...props,
|
|
201
|
+
},
|
|
202
|
+
});
|
|
203
|
+
|
|
194
204
|
export const Button = ({ props, slots }: IButton): IButton => ({
|
|
195
205
|
component: markRaw(VcButton),
|
|
196
206
|
props: {
|
|
@@ -13,6 +13,9 @@ export default {
|
|
|
13
13
|
props: componentProps,
|
|
14
14
|
setup(props: ExtractPropTypes<typeof componentProps> & { element: InputCurrencySchema }) {
|
|
15
15
|
return () => {
|
|
16
|
+
const options =
|
|
17
|
+
toValue(getModel(props.element.options, props.fieldContext ?? {})) ||
|
|
18
|
+
toValue(unref(props.bladeContext.scope)?.[props.element.options]);
|
|
16
19
|
const field = InputCurrency({
|
|
17
20
|
props: Object.assign(
|
|
18
21
|
{},
|
|
@@ -20,7 +23,7 @@ export default {
|
|
|
20
23
|
option: toValue(getModel(props.element.optionProperty, props.fieldContext ?? {})),
|
|
21
24
|
optionLabel: props.element.optionLabel,
|
|
22
25
|
optionValue: props.element.optionValue,
|
|
23
|
-
options
|
|
26
|
+
options,
|
|
24
27
|
"onUpdate:option": (e: string | number | Record<string, unknown>) => {
|
|
25
28
|
setModel({
|
|
26
29
|
value: e,
|