@vc-shell/framework 1.0.71 → 1.0.73
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 +25 -0
- package/core/composables/usePermissions/index.ts +21 -8
- package/core/composables/useUser/index.ts +5 -4
- package/core/plugins/modularity/index.ts +17 -2
- package/core/utilities/index.ts +1 -0
- package/core/utilities/kebabToCamel.ts +7 -0
- package/dist/core/composables/usePermissions/index.d.ts +1 -2
- package/dist/core/composables/usePermissions/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/index.d.ts +4 -1
- package/dist/core/plugins/modularity/index.d.ts.map +1 -1
- package/dist/core/utilities/index.d.ts +1 -0
- package/dist/core/utilities/index.d.ts.map +1 -1
- package/dist/core/utilities/kebabToCamel.d.ts +2 -0
- package/dist/core/utilities/kebabToCamel.d.ts.map +1 -0
- package/dist/framework.mjs +11483 -11161
- package/dist/index.css +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/index.d.ts +5 -7
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts +5 -5
- 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 +20 -4
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/types/index.d.ts +1 -1
- package/dist/shared/components/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-link/vc-link.stories.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/index.d.ts +26 -26
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +26 -26
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- package/package.json +5 -4
- package/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue +6 -10
- package/shared/components/blade-navigation/composables/useBladeNavigation/index.ts +148 -62
- package/shared/components/blade-navigation/types/index.ts +1 -1
- package/shared/pages/LoginPage/components/login/Login.vue +1 -1
- package/ui/components/atoms/vc-link/vc-link.stories.ts +0 -1
- package/ui/components/atoms/vc-link/vc-link.vue +2 -2
- package/ui/components/molecules/vc-select/vc-select.vue +5 -5
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +1 -0
- package/ui/components/organisms/vc-app/vc-app.vue +6 -3
- package/dist/injectionSymbols.d.ts +0 -6
- package/dist/injectionSymbols.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-link.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-link/vc-link.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAE5B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAG7B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"vc-link.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-link/vc-link.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAE5B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAG7B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VcSelect: <T
|
|
1
|
+
export declare const VcSelect: <T, P extends {
|
|
2
2
|
results?: T[];
|
|
3
3
|
totalCount?: number;
|
|
4
4
|
}>(__VLS_props: {
|
|
@@ -16,10 +16,10 @@ export declare const VcSelect: <T extends Record<string, any>, P extends {
|
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
multiple?: boolean;
|
|
18
18
|
options?: T[] | ((keyword?: string, skip?: number, ids?: string[]) => Promise<P>);
|
|
19
|
-
optionValue?: import("./vc-select.vue").OptionProp<T
|
|
20
|
-
optionLabel?: import("./vc-select.vue").OptionProp<T
|
|
21
|
-
displayValue?: import("./vc-select.vue").OptionProp<T
|
|
22
|
-
displayLabel?: import("./vc-select.vue").OptionProp<T
|
|
19
|
+
optionValue?: import("./vc-select.vue").OptionProp<T & P["results"][number]>;
|
|
20
|
+
optionLabel?: import("./vc-select.vue").OptionProp<T & P["results"][number]>;
|
|
21
|
+
displayValue?: import("./vc-select.vue").OptionProp<T & P["results"][number]>;
|
|
22
|
+
displayLabel?: import("./vc-select.vue").OptionProp<T & P["results"][number]>;
|
|
23
23
|
emitValue?: boolean;
|
|
24
24
|
debounce?: string | number;
|
|
25
25
|
placeholder?: string;
|
|
@@ -42,10 +42,10 @@ export declare const VcSelect: <T extends Record<string, any>, P extends {
|
|
|
42
42
|
disabled?: boolean;
|
|
43
43
|
multiple?: boolean;
|
|
44
44
|
options?: T[] | ((keyword?: string, skip?: number, ids?: string[]) => Promise<P>);
|
|
45
|
-
optionValue?: import("./vc-select.vue").OptionProp<T
|
|
46
|
-
optionLabel?: import("./vc-select.vue").OptionProp<T
|
|
47
|
-
displayValue?: import("./vc-select.vue").OptionProp<T
|
|
48
|
-
displayLabel?: import("./vc-select.vue").OptionProp<T
|
|
45
|
+
optionValue?: import("./vc-select.vue").OptionProp<T & P["results"][number]>;
|
|
46
|
+
optionLabel?: import("./vc-select.vue").OptionProp<T & P["results"][number]>;
|
|
47
|
+
displayValue?: import("./vc-select.vue").OptionProp<T & P["results"][number]>;
|
|
48
|
+
displayLabel?: import("./vc-select.vue").OptionProp<T & P["results"][number]>;
|
|
49
49
|
emitValue?: boolean;
|
|
50
50
|
debounce?: string | number;
|
|
51
51
|
placeholder?: string;
|
|
@@ -68,19 +68,19 @@ export declare const VcSelect: <T extends Record<string, any>, P extends {
|
|
|
68
68
|
hint: (props: any) => any;
|
|
69
69
|
"selected-item": (scope: {
|
|
70
70
|
index: number;
|
|
71
|
-
opt: T
|
|
71
|
+
opt: T & P["results"][number];
|
|
72
72
|
selected: boolean;
|
|
73
73
|
removeAtIndex: (index: number) => void;
|
|
74
74
|
}) => any;
|
|
75
75
|
option: (scope: {
|
|
76
76
|
index: number;
|
|
77
|
-
opt: T
|
|
77
|
+
opt: T & P["results"][number];
|
|
78
78
|
selected: boolean;
|
|
79
79
|
toggleOption: (opt: any) => void;
|
|
80
80
|
}) => any;
|
|
81
81
|
};
|
|
82
82
|
emit: {
|
|
83
|
-
(event: "update:modelValue", inputValue: string | (T
|
|
83
|
+
(event: "update:modelValue", inputValue: string | (T & P["results"][number]) | (string | (T & P["results"][number]))[]): void;
|
|
84
84
|
(event: "search", inputValue: string): void;
|
|
85
85
|
(event: "close"): void;
|
|
86
86
|
};
|
|
@@ -100,10 +100,10 @@ export declare const VcSelect: <T extends Record<string, any>, P extends {
|
|
|
100
100
|
disabled?: boolean;
|
|
101
101
|
multiple?: boolean;
|
|
102
102
|
options?: T[] | ((keyword?: string, skip?: number, ids?: string[]) => Promise<P>);
|
|
103
|
-
optionValue?: import("./vc-select.vue").OptionProp<T
|
|
104
|
-
optionLabel?: import("./vc-select.vue").OptionProp<T
|
|
105
|
-
displayValue?: import("./vc-select.vue").OptionProp<T
|
|
106
|
-
displayLabel?: import("./vc-select.vue").OptionProp<T
|
|
103
|
+
optionValue?: import("./vc-select.vue").OptionProp<T & P["results"][number]>;
|
|
104
|
+
optionLabel?: import("./vc-select.vue").OptionProp<T & P["results"][number]>;
|
|
105
|
+
displayValue?: import("./vc-select.vue").OptionProp<T & P["results"][number]>;
|
|
106
|
+
displayLabel?: import("./vc-select.vue").OptionProp<T & P["results"][number]>;
|
|
107
107
|
emitValue?: boolean;
|
|
108
108
|
debounce?: string | number;
|
|
109
109
|
placeholder?: string;
|
|
@@ -126,19 +126,19 @@ export declare const VcSelect: <T extends Record<string, any>, P extends {
|
|
|
126
126
|
hint: (props: any) => any;
|
|
127
127
|
"selected-item": (scope: {
|
|
128
128
|
index: number;
|
|
129
|
-
opt: T
|
|
129
|
+
opt: T & P["results"][number];
|
|
130
130
|
selected: boolean;
|
|
131
131
|
removeAtIndex: (index: number) => void;
|
|
132
132
|
}) => any;
|
|
133
133
|
option: (scope: {
|
|
134
134
|
index: number;
|
|
135
|
-
opt: T
|
|
135
|
+
opt: T & P["results"][number];
|
|
136
136
|
selected: boolean;
|
|
137
137
|
toggleOption: (opt: any) => void;
|
|
138
138
|
}) => any;
|
|
139
139
|
};
|
|
140
140
|
emit: {
|
|
141
|
-
(event: "update:modelValue", inputValue: string | (T
|
|
141
|
+
(event: "update:modelValue", inputValue: string | (T & P["results"][number]) | (string | (T & P["results"][number]))[]): void;
|
|
142
142
|
(event: "search", inputValue: string): void;
|
|
143
143
|
(event: "close"): void;
|
|
144
144
|
};
|
|
@@ -161,10 +161,10 @@ export declare const VcSelect: <T extends Record<string, any>, P extends {
|
|
|
161
161
|
disabled?: boolean;
|
|
162
162
|
multiple?: boolean;
|
|
163
163
|
options?: T[] | ((keyword?: string, skip?: number, ids?: string[]) => Promise<P>);
|
|
164
|
-
optionValue?: import("./vc-select.vue").OptionProp<T
|
|
165
|
-
optionLabel?: import("./vc-select.vue").OptionProp<T
|
|
166
|
-
displayValue?: import("./vc-select.vue").OptionProp<T
|
|
167
|
-
displayLabel?: import("./vc-select.vue").OptionProp<T
|
|
164
|
+
optionValue?: import("./vc-select.vue").OptionProp<T & P["results"][number]>;
|
|
165
|
+
optionLabel?: import("./vc-select.vue").OptionProp<T & P["results"][number]>;
|
|
166
|
+
displayValue?: import("./vc-select.vue").OptionProp<T & P["results"][number]>;
|
|
167
|
+
displayLabel?: import("./vc-select.vue").OptionProp<T & P["results"][number]>;
|
|
168
168
|
emitValue?: boolean;
|
|
169
169
|
debounce?: string | number;
|
|
170
170
|
placeholder?: string;
|
|
@@ -187,19 +187,19 @@ export declare const VcSelect: <T extends Record<string, any>, P extends {
|
|
|
187
187
|
hint: (props: any) => any;
|
|
188
188
|
"selected-item": (scope: {
|
|
189
189
|
index: number;
|
|
190
|
-
opt: T
|
|
190
|
+
opt: T & P["results"][number];
|
|
191
191
|
selected: boolean;
|
|
192
192
|
removeAtIndex: (index: number) => void;
|
|
193
193
|
}) => any;
|
|
194
194
|
option: (scope: {
|
|
195
195
|
index: number;
|
|
196
|
-
opt: T
|
|
196
|
+
opt: T & P["results"][number];
|
|
197
197
|
selected: boolean;
|
|
198
198
|
toggleOption: (opt: any) => void;
|
|
199
199
|
}) => any;
|
|
200
200
|
};
|
|
201
201
|
emit: {
|
|
202
|
-
(event: "update:modelValue", inputValue: string | (T
|
|
202
|
+
(event: "update:modelValue", inputValue: string | (T & P["results"][number]) | (string | (T & P["results"][number]))[]): void;
|
|
203
203
|
(event: "search", inputValue: string): void;
|
|
204
204
|
(event: "close"): void;
|
|
205
205
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type OptionProp<T> = ((option: T) => string) | string | undefined;
|
|
2
|
-
declare const _default: <T
|
|
2
|
+
declare const _default: <T, P extends {
|
|
3
3
|
results?: T[];
|
|
4
4
|
totalCount?: number;
|
|
5
5
|
}>(__VLS_props: {
|
|
@@ -68,14 +68,14 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
68
68
|
* @param option The current option being processed
|
|
69
69
|
* @returns Value of the current option
|
|
70
70
|
*/
|
|
71
|
-
optionValue?: OptionProp<T
|
|
71
|
+
optionValue?: OptionProp<T & P["results"][number]>;
|
|
72
72
|
/**
|
|
73
73
|
* Property of option which holds the 'label'
|
|
74
74
|
* Default value: title
|
|
75
75
|
* @param option The current option being processed
|
|
76
76
|
* @returns Label of the current option
|
|
77
77
|
*/
|
|
78
|
-
optionLabel?: OptionProp<T
|
|
78
|
+
optionLabel?: OptionProp<T & P["results"][number]>;
|
|
79
79
|
/**
|
|
80
80
|
* @requires optionValue
|
|
81
81
|
* @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionValue**
|
|
@@ -85,7 +85,7 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
85
85
|
* @param option The current option being processed
|
|
86
86
|
* @returns Value of the current option
|
|
87
87
|
*/
|
|
88
|
-
displayValue?: OptionProp<T
|
|
88
|
+
displayValue?: OptionProp<T & P["results"][number]>;
|
|
89
89
|
/**
|
|
90
90
|
* @requires optionLabel
|
|
91
91
|
* @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionLabel**
|
|
@@ -95,7 +95,7 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
95
95
|
* @param option The current option being processed
|
|
96
96
|
* @returns Label of the current option
|
|
97
97
|
*/
|
|
98
|
-
displayLabel?: OptionProp<T
|
|
98
|
+
displayLabel?: OptionProp<T & P["results"][number]>;
|
|
99
99
|
/**
|
|
100
100
|
* Update model with the value of the selected option instead of the whole option
|
|
101
101
|
*/
|
|
@@ -188,14 +188,14 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
188
188
|
* @param option The current option being processed
|
|
189
189
|
* @returns Value of the current option
|
|
190
190
|
*/
|
|
191
|
-
optionValue?: OptionProp<T
|
|
191
|
+
optionValue?: OptionProp<T & P["results"][number]>;
|
|
192
192
|
/**
|
|
193
193
|
* Property of option which holds the 'label'
|
|
194
194
|
* Default value: title
|
|
195
195
|
* @param option The current option being processed
|
|
196
196
|
* @returns Label of the current option
|
|
197
197
|
*/
|
|
198
|
-
optionLabel?: OptionProp<T
|
|
198
|
+
optionLabel?: OptionProp<T & P["results"][number]>;
|
|
199
199
|
/**
|
|
200
200
|
* @requires optionValue
|
|
201
201
|
* @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionValue**
|
|
@@ -205,7 +205,7 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
205
205
|
* @param option The current option being processed
|
|
206
206
|
* @returns Value of the current option
|
|
207
207
|
*/
|
|
208
|
-
displayValue?: OptionProp<T
|
|
208
|
+
displayValue?: OptionProp<T & P["results"][number]>;
|
|
209
209
|
/**
|
|
210
210
|
* @requires optionLabel
|
|
211
211
|
* @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionLabel**
|
|
@@ -215,7 +215,7 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
215
215
|
* @param option The current option being processed
|
|
216
216
|
* @returns Label of the current option
|
|
217
217
|
*/
|
|
218
|
-
displayLabel?: OptionProp<T
|
|
218
|
+
displayLabel?: OptionProp<T & P["results"][number]>;
|
|
219
219
|
/**
|
|
220
220
|
* Update model with the value of the selected option instead of the whole option
|
|
221
221
|
*/
|
|
@@ -292,7 +292,7 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
292
292
|
/**
|
|
293
293
|
* Selected option -- its value is taken from model
|
|
294
294
|
*/
|
|
295
|
-
opt: T
|
|
295
|
+
opt: T & P["results"][number];
|
|
296
296
|
/**
|
|
297
297
|
* Always true -- passed as prop
|
|
298
298
|
*/
|
|
@@ -314,7 +314,7 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
314
314
|
/**
|
|
315
315
|
* Option -- its value is taken from 'options' prop
|
|
316
316
|
*/
|
|
317
|
-
opt: T
|
|
317
|
+
opt: T & P["results"][number];
|
|
318
318
|
/**
|
|
319
319
|
* Is option selected
|
|
320
320
|
*/
|
|
@@ -327,7 +327,7 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
327
327
|
}) => any;
|
|
328
328
|
};
|
|
329
329
|
emit: {
|
|
330
|
-
(event: "update:modelValue", inputValue: string | (T
|
|
330
|
+
(event: "update:modelValue", inputValue: string | (T & P["results"][number]) | (string | (T & P["results"][number]))[]): void;
|
|
331
331
|
(event: "search", inputValue: string): void;
|
|
332
332
|
(event: "close"): void;
|
|
333
333
|
};
|
|
@@ -398,14 +398,14 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
398
398
|
* @param option The current option being processed
|
|
399
399
|
* @returns Value of the current option
|
|
400
400
|
*/
|
|
401
|
-
optionValue?: OptionProp<T
|
|
401
|
+
optionValue?: OptionProp<T & P["results"][number]>;
|
|
402
402
|
/**
|
|
403
403
|
* Property of option which holds the 'label'
|
|
404
404
|
* Default value: title
|
|
405
405
|
* @param option The current option being processed
|
|
406
406
|
* @returns Label of the current option
|
|
407
407
|
*/
|
|
408
|
-
optionLabel?: OptionProp<T
|
|
408
|
+
optionLabel?: OptionProp<T & P["results"][number]>;
|
|
409
409
|
/**
|
|
410
410
|
* @requires optionValue
|
|
411
411
|
* @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionValue**
|
|
@@ -415,7 +415,7 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
415
415
|
* @param option The current option being processed
|
|
416
416
|
* @returns Value of the current option
|
|
417
417
|
*/
|
|
418
|
-
displayValue?: OptionProp<T
|
|
418
|
+
displayValue?: OptionProp<T & P["results"][number]>;
|
|
419
419
|
/**
|
|
420
420
|
* @requires optionLabel
|
|
421
421
|
* @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionLabel**
|
|
@@ -425,7 +425,7 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
425
425
|
* @param option The current option being processed
|
|
426
426
|
* @returns Label of the current option
|
|
427
427
|
*/
|
|
428
|
-
displayLabel?: OptionProp<T
|
|
428
|
+
displayLabel?: OptionProp<T & P["results"][number]>;
|
|
429
429
|
/**
|
|
430
430
|
* Update model with the value of the selected option instead of the whole option
|
|
431
431
|
*/
|
|
@@ -502,7 +502,7 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
502
502
|
/**
|
|
503
503
|
* Selected option -- its value is taken from model
|
|
504
504
|
*/
|
|
505
|
-
opt: T
|
|
505
|
+
opt: T & P["results"][number];
|
|
506
506
|
/**
|
|
507
507
|
* Always true -- passed as prop
|
|
508
508
|
*/
|
|
@@ -524,7 +524,7 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
524
524
|
/**
|
|
525
525
|
* Option -- its value is taken from 'options' prop
|
|
526
526
|
*/
|
|
527
|
-
opt: T
|
|
527
|
+
opt: T & P["results"][number];
|
|
528
528
|
/**
|
|
529
529
|
* Is option selected
|
|
530
530
|
*/
|
|
@@ -537,7 +537,7 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
537
537
|
}) => any;
|
|
538
538
|
};
|
|
539
539
|
emit: {
|
|
540
|
-
(event: "update:modelValue", inputValue: string | (T
|
|
540
|
+
(event: "update:modelValue", inputValue: string | (T & P["results"][number]) | (string | (T & P["results"][number]))[]): void;
|
|
541
541
|
(event: "search", inputValue: string): void;
|
|
542
542
|
(event: "close"): void;
|
|
543
543
|
};
|
|
@@ -611,14 +611,14 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
611
611
|
* @param option The current option being processed
|
|
612
612
|
* @returns Value of the current option
|
|
613
613
|
*/
|
|
614
|
-
optionValue?: OptionProp<T
|
|
614
|
+
optionValue?: OptionProp<T & P["results"][number]>;
|
|
615
615
|
/**
|
|
616
616
|
* Property of option which holds the 'label'
|
|
617
617
|
* Default value: title
|
|
618
618
|
* @param option The current option being processed
|
|
619
619
|
* @returns Label of the current option
|
|
620
620
|
*/
|
|
621
|
-
optionLabel?: OptionProp<T
|
|
621
|
+
optionLabel?: OptionProp<T & P["results"][number]>;
|
|
622
622
|
/**
|
|
623
623
|
* @requires optionValue
|
|
624
624
|
* @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionValue**
|
|
@@ -628,7 +628,7 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
628
628
|
* @param option The current option being processed
|
|
629
629
|
* @returns Value of the current option
|
|
630
630
|
*/
|
|
631
|
-
displayValue?: OptionProp<T
|
|
631
|
+
displayValue?: OptionProp<T & P["results"][number]>;
|
|
632
632
|
/**
|
|
633
633
|
* @requires optionLabel
|
|
634
634
|
* @description Similar to optionValue, but used only for displaying selection result in rare cases. **Can't be used without optionLabel**
|
|
@@ -638,7 +638,7 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
638
638
|
* @param option The current option being processed
|
|
639
639
|
* @returns Label of the current option
|
|
640
640
|
*/
|
|
641
|
-
displayLabel?: OptionProp<T
|
|
641
|
+
displayLabel?: OptionProp<T & P["results"][number]>;
|
|
642
642
|
/**
|
|
643
643
|
* Update model with the value of the selected option instead of the whole option
|
|
644
644
|
*/
|
|
@@ -715,7 +715,7 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
715
715
|
/**
|
|
716
716
|
* Selected option -- its value is taken from model
|
|
717
717
|
*/
|
|
718
|
-
opt: T
|
|
718
|
+
opt: T & P["results"][number];
|
|
719
719
|
/**
|
|
720
720
|
* Always true -- passed as prop
|
|
721
721
|
*/
|
|
@@ -737,7 +737,7 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
737
737
|
/**
|
|
738
738
|
* Option -- its value is taken from 'options' prop
|
|
739
739
|
*/
|
|
740
|
-
opt: T
|
|
740
|
+
opt: T & P["results"][number];
|
|
741
741
|
/**
|
|
742
742
|
* Is option selected
|
|
743
743
|
*/
|
|
@@ -750,7 +750,7 @@ declare const _default: <T extends Record<string, any>, P extends {
|
|
|
750
750
|
}) => any;
|
|
751
751
|
};
|
|
752
752
|
emit: {
|
|
753
|
-
(event: "update:modelValue", inputValue: string | (T
|
|
753
|
+
(event: "update:modelValue", inputValue: string | (T & P["results"][number]) | (string | (T & P["results"][number]))[]): void;
|
|
754
754
|
(event: "search", inputValue: string): void;
|
|
755
755
|
(event: "close"): void;
|
|
756
756
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-select.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-select/vc-select.vue.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,CAAC,GAAG,MAAM,GAAG,SAAS,CAAC;;;
|
|
1
|
+
{"version":3,"file":"vc-select.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-select/vc-select.vue.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,CAAC,GAAG,MAAM,GAAG,SAAS,CAAC;;;iBAEd,MAAM;;IA47C7D;;OAEG;WACI,MAAM;IACb;;OAEG;iBAEU,GAAG;IAChB;;;OAGG;iBACU,OAAO;IACpB;;OAEG;YACK,OAAO;IACf;;OAEG;mBACY,MAAM;IACrB;;OAEG;YACK,MAAM;IACd;;OAEG;WACI,MAAM;IACb;;OAEG;aACM,MAAM;IACf;;OAEG;aACM,MAAM;IACf;;OAEG;cACO,OAAO;IACjB;;;OAGG;gBACS,OAAO;IACnB;;OAEG;eACQ,OAAO;IAClB;;OAEG;eACQ,OAAO;IAClB;;;OAGG;gCACmB,MAAM,SAAS,MAAM,QAAQ,MAAM,EAAE;IAC3D;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;;;;OAQG;;IAEH;;;;;;;;OAQG;;IAEH;;OAEG;gBACS,OAAO;IACnB;;;OAGG;eACQ,MAAM,GAAG,MAAM;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AK,GAAG;YAC5B;;eAEG;4BACa,GAAG,KAAK,GAAG;YAC3B;;;eAGG;iCACkB,GAAG,KAAK,GAAG;YAChC;;eAEG;2BACY,GAAG,KAAK,GAAG;YAC1B;;eAEG;0BACW,GAAG,KAAK,GAAG;YACzB;;;eAGG;;gBAED;;mBAEG;uBACI,MAAM;gBACb;;mBAEG;;gBAEH;;mBAEG;0BACO,OAAO;gBACjB;;;mBAGG;uCACoB,MAAM,KAAK,IAAI;kBAClC,GAAG;YACT;;eAEG;;gBAED;;mBAEG;uBACI,MAAM;gBACb;;mBAEG;;gBAEH;;mBAEG;0BACO,OAAO;gBACjB;;;mBAGG;oCACiB,GAAG,KAAK,IAAI;kBAC5B,GAAG;;;oBA0zBD,mBAAmB,8FAAsD,IAAI;oBAI7E,QAAQ,cAAc,MAAM,GAAG,IAAI;oBAInC,OAAO,GAAG,IAAI;;;;AAjkDxB,wBA0kDkE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-app-bar.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEvD,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI,CAAC;IAC5B,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAChC,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACrC,CAAC,KAAK,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAClC,CAAC,KA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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;AA6GN,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC;AACJ,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.73",
|
|
4
4
|
"main": "./dist/framework.mjs",
|
|
5
5
|
"module": "./dist/framework.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"quill": "^1.3.7",
|
|
46
46
|
"quill-image-uploader": "^1.3.0",
|
|
47
47
|
"swiper": "^6.8.4",
|
|
48
|
+
"url-pattern": "^1.0.3",
|
|
48
49
|
"vee-validate": "^4.9.3",
|
|
49
50
|
"vue": "^3.3.4",
|
|
50
51
|
"vue-currency-input": "~2.5.1",
|
|
@@ -55,11 +56,11 @@
|
|
|
55
56
|
"whatwg-fetch": "^3.6.2"
|
|
56
57
|
},
|
|
57
58
|
"devDependencies": {
|
|
58
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
59
|
-
"@vc-shell/config-generator": "^1.0.
|
|
59
|
+
"@vc-shell/api-client-generator": "^1.0.73",
|
|
60
|
+
"@vc-shell/config-generator": "^1.0.73",
|
|
60
61
|
"@vitejs/plugin-vue": "^4.2.3",
|
|
61
62
|
"sass": "^1.62.1",
|
|
62
|
-
"typescript": "
|
|
63
|
+
"typescript": "~5.0.4",
|
|
63
64
|
"vite": "^4.3.9",
|
|
64
65
|
"vue-tsc": "^1.6.5"
|
|
65
66
|
},
|
package/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
:key="route.path"
|
|
15
15
|
:ref="(el: CoreBladeExposed) => setParentRef(el, Component)"
|
|
16
16
|
:closable="false"
|
|
17
|
-
:options="
|
|
17
|
+
:options="workspaceOptions"
|
|
18
18
|
:expanded="blades.length === 0"
|
|
19
19
|
:maximized="findStateById(0)"
|
|
20
20
|
:blades="blades"
|
|
21
|
-
:param="
|
|
21
|
+
:param="workspaceParam"
|
|
22
22
|
:error="error"
|
|
23
23
|
@expand:blade="handleMaximizeBlade(0, true)"
|
|
24
24
|
@collapse:blade="handleMaximizeBlade(0, false)"
|
|
@@ -72,8 +72,8 @@ import { ErrorInterceptor } from "./../../../error-interceptor";
|
|
|
72
72
|
|
|
73
73
|
export interface Props {
|
|
74
74
|
blades: IBladeContainer[];
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
workspaceOptions?: Record<string, unknown>;
|
|
76
|
+
workspaceParam?: string;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
export interface Emits {
|
|
@@ -84,9 +84,9 @@ export interface Emits {
|
|
|
84
84
|
|
|
85
85
|
const emit = defineEmits<Emits>();
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
withDefaults(defineProps<Props>(), {
|
|
88
88
|
blades: () => [],
|
|
89
|
-
|
|
89
|
+
workspaceOptions: () => ({}),
|
|
90
90
|
});
|
|
91
91
|
|
|
92
92
|
const route = useRoute();
|
|
@@ -136,10 +136,6 @@ function onBladeClose(index: number) {
|
|
|
136
136
|
emit("onClose", index);
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
const resolveParam = computed(() => {
|
|
140
|
-
return props.parentBladeParam ? props.parentBladeParam : route.params.param;
|
|
141
|
-
});
|
|
142
|
-
|
|
143
139
|
defineExpose({
|
|
144
140
|
bladesRefs,
|
|
145
141
|
});
|