@vc-shell/framework 1.0.91 → 1.0.93
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 +8 -0
- package/dist/framework.mjs +12596 -12594
- package/dist/index.css +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-label/index.d.ts +20 -0
- package/dist/ui/components/atoms/vc-label/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +2 -0
- package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/index.d.ts +10 -0
- package/dist/ui/components/molecules/vc-editor/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +1 -0
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts +125 -69
- package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +122 -40
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
- package/package.json +3 -3
- package/shared/components/blade-navigation/composables/useBladeNavigation/index.ts +8 -8
- package/ui/components/atoms/vc-label/vc-label.vue +9 -1
- package/ui/components/molecules/vc-editor/vc-editor.vue +34 -13
- package/ui/components/organisms/vc-dynamic-property/index.ts +1 -1
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +208 -295
|
@@ -6,8 +6,10 @@ export declare const VcLabel: {
|
|
|
6
6
|
$props: {
|
|
7
7
|
tooltipIcon?: string;
|
|
8
8
|
readonly required?: boolean;
|
|
9
|
+
readonly multilanguage?: boolean;
|
|
9
10
|
style?: unknown;
|
|
10
11
|
key?: string | number | symbol;
|
|
12
|
+
readonly currentLanguage?: string;
|
|
11
13
|
ref?: import("vue").VNodeRef;
|
|
12
14
|
ref_for?: boolean;
|
|
13
15
|
ref_key?: string;
|
|
@@ -68,10 +70,16 @@ export declare const VcLabel: {
|
|
|
68
70
|
required: {
|
|
69
71
|
type: import("vue").PropType<boolean>;
|
|
70
72
|
};
|
|
73
|
+
multilanguage: {
|
|
74
|
+
type: import("vue").PropType<boolean>;
|
|
75
|
+
};
|
|
71
76
|
tooltipIcon: {
|
|
72
77
|
type: import("vue").PropType<string>;
|
|
73
78
|
default: string;
|
|
74
79
|
};
|
|
80
|
+
currentLanguage: {
|
|
81
|
+
type: import("vue").PropType<string>;
|
|
82
|
+
};
|
|
75
83
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
76
84
|
tooltipIcon: string;
|
|
77
85
|
}, {}, string, {}> & {
|
|
@@ -98,10 +106,16 @@ export declare const VcLabel: {
|
|
|
98
106
|
required: {
|
|
99
107
|
type: import("vue").PropType<boolean>;
|
|
100
108
|
};
|
|
109
|
+
multilanguage: {
|
|
110
|
+
type: import("vue").PropType<boolean>;
|
|
111
|
+
};
|
|
101
112
|
tooltipIcon: {
|
|
102
113
|
type: import("vue").PropType<string>;
|
|
103
114
|
default: string;
|
|
104
115
|
};
|
|
116
|
+
currentLanguage: {
|
|
117
|
+
type: import("vue").PropType<string>;
|
|
118
|
+
};
|
|
105
119
|
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
106
120
|
__isFragment?: never;
|
|
107
121
|
__isTeleport?: never;
|
|
@@ -110,10 +124,16 @@ export declare const VcLabel: {
|
|
|
110
124
|
required: {
|
|
111
125
|
type: import("vue").PropType<boolean>;
|
|
112
126
|
};
|
|
127
|
+
multilanguage: {
|
|
128
|
+
type: import("vue").PropType<boolean>;
|
|
129
|
+
};
|
|
113
130
|
tooltipIcon: {
|
|
114
131
|
type: import("vue").PropType<string>;
|
|
115
132
|
default: string;
|
|
116
133
|
};
|
|
134
|
+
currentLanguage: {
|
|
135
|
+
type: import("vue").PropType<string>;
|
|
136
|
+
};
|
|
117
137
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
118
138
|
tooltipIcon: string;
|
|
119
139
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-label/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-label/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBACV;IACN,MAAM,EAAE;QACN,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;QACvB,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;KACxB,CAAC;CACH,CACF,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export interface Props {
|
|
2
2
|
required?: boolean;
|
|
3
3
|
tooltipIcon?: string;
|
|
4
|
+
multilanguage?: boolean;
|
|
5
|
+
currentLanguage?: string;
|
|
4
6
|
}
|
|
5
7
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
6
8
|
tooltipIcon: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-label.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-label/vc-label.vue.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,KAAK;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"vc-label.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-label/vc-label.vue.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,KAAK;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;;;;;;;;;;;AAkKD,wBAA8G;AAE9G,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,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"}
|
|
@@ -13,6 +13,7 @@ export declare const VcEditor: {
|
|
|
13
13
|
key?: string | number | symbol;
|
|
14
14
|
"onUpdate:modelValue"?: (value: string | number | Date) => any;
|
|
15
15
|
readonly tooltip?: string;
|
|
16
|
+
readonly currentLanguage?: string;
|
|
16
17
|
readonly placeholder?: string;
|
|
17
18
|
readonly assetsFolder: string;
|
|
18
19
|
ref?: import("vue").VNodeRef;
|
|
@@ -92,6 +93,9 @@ export declare const VcEditor: {
|
|
|
92
93
|
tooltip: {
|
|
93
94
|
type: import("vue").PropType<string>;
|
|
94
95
|
};
|
|
96
|
+
currentLanguage: {
|
|
97
|
+
type: import("vue").PropType<string>;
|
|
98
|
+
};
|
|
95
99
|
placeholder: {
|
|
96
100
|
type: import("vue").PropType<string>;
|
|
97
101
|
};
|
|
@@ -147,6 +151,9 @@ export declare const VcEditor: {
|
|
|
147
151
|
tooltip: {
|
|
148
152
|
type: import("vue").PropType<string>;
|
|
149
153
|
};
|
|
154
|
+
currentLanguage: {
|
|
155
|
+
type: import("vue").PropType<string>;
|
|
156
|
+
};
|
|
150
157
|
placeholder: {
|
|
151
158
|
type: import("vue").PropType<string>;
|
|
152
159
|
};
|
|
@@ -181,6 +188,9 @@ export declare const VcEditor: {
|
|
|
181
188
|
tooltip: {
|
|
182
189
|
type: import("vue").PropType<string>;
|
|
183
190
|
};
|
|
191
|
+
currentLanguage: {
|
|
192
|
+
type: import("vue").PropType<string>;
|
|
193
|
+
};
|
|
184
194
|
placeholder: {
|
|
185
195
|
type: import("vue").PropType<string>;
|
|
186
196
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-editor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAG5B,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-editor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAG5B,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBACX;IACN,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,KAAK,EAAE,CAAC;KACtB,CAAC;CACH,CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-editor.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-editor/vc-editor.vue.ts"],"names":[],"mappings":"AAGA,OAAO,0CAA0C,CAAC;AAMlD,MAAM,WAAW,KAAK;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,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
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
1
|
+
export declare const VcDynamicProperty: <T>(__VLS_props: {
|
|
2
|
+
property: T;
|
|
3
|
+
modelValue: any;
|
|
4
|
+
optionsGetter: (property: T, keyword?: string) => Promise<unknown[]>;
|
|
5
|
+
required: boolean;
|
|
6
|
+
multivalue: boolean;
|
|
7
|
+
valueType: string;
|
|
8
|
+
dictionary: boolean;
|
|
9
|
+
name: string;
|
|
10
|
+
optionsValue?: string;
|
|
11
|
+
optionsLabel?: string;
|
|
12
|
+
displayNames?: {
|
|
13
|
+
name?: string;
|
|
14
|
+
languageCode?: string;
|
|
15
|
+
}[];
|
|
16
|
+
rules?: {
|
|
17
|
+
min: number;
|
|
18
|
+
max: number;
|
|
19
|
+
regex: string;
|
|
20
|
+
};
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
23
|
+
props: {
|
|
24
|
+
property: T;
|
|
25
|
+
modelValue: any;
|
|
26
|
+
optionsGetter: (property: T, keyword?: string) => Promise<unknown[]>;
|
|
27
|
+
required: boolean;
|
|
28
|
+
multivalue: boolean;
|
|
29
|
+
valueType: string;
|
|
30
|
+
dictionary: boolean;
|
|
31
|
+
name: string;
|
|
32
|
+
optionsValue?: string;
|
|
33
|
+
optionsLabel?: string;
|
|
34
|
+
displayNames?: {
|
|
35
|
+
name?: string;
|
|
36
|
+
languageCode?: string;
|
|
37
|
+
}[];
|
|
38
|
+
rules?: {
|
|
39
|
+
min: number;
|
|
40
|
+
max: number;
|
|
41
|
+
regex: string;
|
|
42
|
+
};
|
|
43
|
+
disabled?: boolean;
|
|
44
|
+
};
|
|
45
|
+
expose(exposed: {}): void;
|
|
46
|
+
attrs: any;
|
|
47
|
+
slots: {};
|
|
48
|
+
emit: {
|
|
49
|
+
"update:model-value": [data: {
|
|
50
|
+
readonly property: T;
|
|
51
|
+
readonly value: any;
|
|
52
|
+
readonly dictionary?: any[];
|
|
53
|
+
}];
|
|
54
|
+
};
|
|
55
|
+
}, "slots" | "attrs" | "emit">, __VLS_setup?: {
|
|
56
|
+
props: {
|
|
57
|
+
property: T;
|
|
58
|
+
modelValue: any;
|
|
59
|
+
optionsGetter: (property: T, keyword?: string) => Promise<unknown[]>;
|
|
60
|
+
required: boolean;
|
|
61
|
+
multivalue: boolean;
|
|
62
|
+
valueType: string;
|
|
63
|
+
dictionary: boolean;
|
|
64
|
+
name: string;
|
|
65
|
+
optionsValue?: string;
|
|
66
|
+
optionsLabel?: string;
|
|
67
|
+
displayNames?: {
|
|
68
|
+
name?: string;
|
|
69
|
+
languageCode?: string;
|
|
70
|
+
}[];
|
|
71
|
+
rules?: {
|
|
72
|
+
min: number;
|
|
73
|
+
max: number;
|
|
74
|
+
regex: string;
|
|
75
|
+
};
|
|
76
|
+
disabled?: boolean;
|
|
77
|
+
};
|
|
78
|
+
expose(exposed: {}): void;
|
|
79
|
+
attrs: any;
|
|
80
|
+
slots: {};
|
|
81
|
+
emit: {
|
|
82
|
+
"update:model-value": [data: {
|
|
83
|
+
readonly property: T;
|
|
84
|
+
readonly value: any;
|
|
85
|
+
readonly dictionary?: any[];
|
|
86
|
+
}];
|
|
87
|
+
};
|
|
88
|
+
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
}> & {
|
|
91
|
+
__ctx?: {
|
|
92
|
+
props: {
|
|
93
|
+
property: T;
|
|
94
|
+
modelValue: any;
|
|
95
|
+
optionsGetter: (property: T, keyword?: string) => Promise<unknown[]>;
|
|
96
|
+
required: boolean;
|
|
97
|
+
multivalue: boolean;
|
|
98
|
+
valueType: string;
|
|
99
|
+
dictionary: boolean;
|
|
100
|
+
name: string;
|
|
101
|
+
optionsValue?: string;
|
|
102
|
+
optionsLabel?: string;
|
|
103
|
+
displayNames?: {
|
|
104
|
+
name?: string;
|
|
105
|
+
languageCode?: string;
|
|
106
|
+
}[];
|
|
107
|
+
rules?: {
|
|
108
|
+
min: number;
|
|
109
|
+
max: number;
|
|
110
|
+
regex: string;
|
|
111
|
+
};
|
|
112
|
+
disabled?: boolean;
|
|
113
|
+
};
|
|
114
|
+
expose(exposed: {}): void;
|
|
115
|
+
attrs: any;
|
|
116
|
+
slots: {};
|
|
117
|
+
emit: {
|
|
118
|
+
"update:model-value": [data: {
|
|
119
|
+
readonly property: T;
|
|
120
|
+
readonly value: any;
|
|
121
|
+
readonly dictionary?: any[];
|
|
122
|
+
}];
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
};
|
|
70
126
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-dynamic-property/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-dynamic-property/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmB,CAAC"}
|
|
@@ -1,45 +1,127 @@
|
|
|
1
|
-
|
|
2
|
-
property:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
declare const _default: <T>(__VLS_props: {
|
|
2
|
+
property: T;
|
|
3
|
+
modelValue: any;
|
|
4
|
+
optionsGetter: (property: T, keyword?: string) => Promise<unknown[]>;
|
|
5
|
+
required: boolean;
|
|
6
|
+
multivalue: boolean;
|
|
7
|
+
valueType: string;
|
|
8
|
+
dictionary: boolean;
|
|
9
|
+
name: string;
|
|
10
|
+
optionsValue?: string;
|
|
11
|
+
optionsLabel?: string;
|
|
12
|
+
displayNames?: {
|
|
13
|
+
name?: string;
|
|
14
|
+
languageCode?: string;
|
|
15
|
+
}[];
|
|
16
|
+
rules?: {
|
|
17
|
+
min: number;
|
|
18
|
+
max: number;
|
|
19
|
+
regex: string;
|
|
20
|
+
};
|
|
8
21
|
disabled?: boolean;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
22
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
23
|
+
props: {
|
|
24
|
+
property: T;
|
|
25
|
+
modelValue: any;
|
|
26
|
+
optionsGetter: (property: T, keyword?: string) => Promise<unknown[]>;
|
|
27
|
+
required: boolean;
|
|
28
|
+
multivalue: boolean;
|
|
29
|
+
valueType: string;
|
|
30
|
+
dictionary: boolean;
|
|
31
|
+
name: string;
|
|
32
|
+
optionsValue?: string;
|
|
33
|
+
optionsLabel?: string;
|
|
34
|
+
displayNames?: {
|
|
35
|
+
name?: string;
|
|
36
|
+
languageCode?: string;
|
|
37
|
+
}[];
|
|
38
|
+
rules?: {
|
|
39
|
+
min: number;
|
|
40
|
+
max: number;
|
|
41
|
+
regex: string;
|
|
42
|
+
};
|
|
43
|
+
disabled?: boolean;
|
|
15
44
|
};
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
}, {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
45
|
+
expose(exposed: {}): void;
|
|
46
|
+
attrs: any;
|
|
47
|
+
slots: {};
|
|
48
|
+
emit: {
|
|
49
|
+
"update:model-value": [data: {
|
|
50
|
+
readonly property: T;
|
|
51
|
+
readonly value: any;
|
|
52
|
+
readonly dictionary?: any[];
|
|
53
|
+
}];
|
|
54
|
+
};
|
|
55
|
+
}, "slots" | "attrs" | "emit">, __VLS_setup?: {
|
|
56
|
+
props: {
|
|
57
|
+
property: T;
|
|
58
|
+
modelValue: any;
|
|
59
|
+
optionsGetter: (property: T, keyword?: string) => Promise<unknown[]>;
|
|
60
|
+
required: boolean;
|
|
61
|
+
multivalue: boolean;
|
|
62
|
+
valueType: string;
|
|
63
|
+
dictionary: boolean;
|
|
64
|
+
name: string;
|
|
65
|
+
optionsValue?: string;
|
|
66
|
+
optionsLabel?: string;
|
|
67
|
+
displayNames?: {
|
|
68
|
+
name?: string;
|
|
69
|
+
languageCode?: string;
|
|
70
|
+
}[];
|
|
71
|
+
rules?: {
|
|
72
|
+
min: number;
|
|
73
|
+
max: number;
|
|
74
|
+
regex: string;
|
|
75
|
+
};
|
|
76
|
+
disabled?: boolean;
|
|
77
|
+
};
|
|
78
|
+
expose(exposed: {}): void;
|
|
79
|
+
attrs: any;
|
|
80
|
+
slots: {};
|
|
81
|
+
emit: {
|
|
82
|
+
"update:model-value": [data: {
|
|
83
|
+
readonly property: T;
|
|
84
|
+
readonly value: any;
|
|
85
|
+
readonly dictionary?: any[];
|
|
86
|
+
}];
|
|
87
|
+
};
|
|
88
|
+
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
}> & {
|
|
91
|
+
__ctx?: {
|
|
92
|
+
props: {
|
|
93
|
+
property: T;
|
|
94
|
+
modelValue: any;
|
|
95
|
+
optionsGetter: (property: T, keyword?: string) => Promise<unknown[]>;
|
|
96
|
+
required: boolean;
|
|
97
|
+
multivalue: boolean;
|
|
98
|
+
valueType: string;
|
|
99
|
+
dictionary: boolean;
|
|
100
|
+
name: string;
|
|
101
|
+
optionsValue?: string;
|
|
102
|
+
optionsLabel?: string;
|
|
103
|
+
displayNames?: {
|
|
104
|
+
name?: string;
|
|
105
|
+
languageCode?: string;
|
|
106
|
+
}[];
|
|
107
|
+
rules?: {
|
|
108
|
+
min: number;
|
|
109
|
+
max: number;
|
|
110
|
+
regex: string;
|
|
111
|
+
};
|
|
112
|
+
disabled?: boolean;
|
|
113
|
+
};
|
|
114
|
+
expose(exposed: {}): void;
|
|
115
|
+
attrs: any;
|
|
116
|
+
slots: {};
|
|
117
|
+
emit: {
|
|
118
|
+
"update:model-value": [data: {
|
|
119
|
+
readonly property: T;
|
|
120
|
+
readonly value: any;
|
|
121
|
+
readonly dictionary?: any[];
|
|
122
|
+
}];
|
|
123
|
+
};
|
|
35
124
|
};
|
|
36
125
|
};
|
|
37
|
-
|
|
38
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
39
|
-
default: D[K];
|
|
40
|
-
}> : P[K];
|
|
41
|
-
};
|
|
42
|
-
type __VLS_Prettify<T> = {
|
|
43
|
-
[K in keyof T]: T[K];
|
|
44
|
-
} & {};
|
|
126
|
+
export default _default;
|
|
45
127
|
//# sourceMappingURL=vc-dynamic-property.vue.d.ts.map
|
|
@@ -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":";;gBAiegB,GAAG;2CACwB,MAAM,KAAK,QAAQ,OAAO,EAAE,CAAC;cAC1D,OAAO;gBACL,OAAO;eACR,MAAM;gBACL,OAAO;UACb,MAAM;mBACG,MAAM;mBACN,MAAM;mBACN;QACb,IAAI,CAAC,EAA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AAC;aACvB,EAAE;oBACK;gBACN,GAAG,EAAE,MAAM,CAAC;gBACZ,GAAG,EAAE,MAAM,CAAC;gBACZ,KAAK,EAAE,MAAM,CAAC;aACf;uBACU,OAAO;;6BAOiB,IAAI;eACpC,GAAG;;;;;gCAL6D,GAAG;sCAAwB,GAAG,EAAE;;;;;AA/evG,wBAwfkE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.93",
|
|
4
4
|
"main": "./dist/framework.mjs",
|
|
5
5
|
"module": "./dist/framework.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"whatwg-fetch": "^3.6.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
59
|
-
"@vc-shell/config-generator": "^1.0.
|
|
58
|
+
"@vc-shell/api-client-generator": "^1.0.93",
|
|
59
|
+
"@vc-shell/config-generator": "^1.0.93",
|
|
60
60
|
"@vitejs/plugin-vue": "^4.2.3",
|
|
61
61
|
"sass": "^1.62.1",
|
|
62
62
|
"typescript": "~5.0.4",
|
|
@@ -82,21 +82,18 @@ export function useBladeNavigation(): IUseBladeNavigation {
|
|
|
82
82
|
const lastBlade = newVal[newVal.length - 1];
|
|
83
83
|
|
|
84
84
|
if (workspace && workspace.blade.url) {
|
|
85
|
+
let url: string;
|
|
85
86
|
if (lastBlade && lastBlade.blade.url) {
|
|
86
|
-
|
|
87
|
+
url = urlPattern.stringify({
|
|
87
88
|
workspace: workspace?.blade.url.substring(1),
|
|
88
89
|
blade: lastBlade?.blade.url.substring(1),
|
|
89
90
|
param: lastBlade?.param,
|
|
90
91
|
});
|
|
91
|
-
|
|
92
|
-
addEntryToLocation(url);
|
|
93
92
|
} else {
|
|
94
|
-
|
|
95
|
-
if (url) {
|
|
96
|
-
clearParentData();
|
|
97
|
-
addEntryToLocation(url);
|
|
98
|
-
}
|
|
93
|
+
url = workspace?.blade.url;
|
|
99
94
|
}
|
|
95
|
+
|
|
96
|
+
if (url) addEntryToLocation(url);
|
|
100
97
|
}
|
|
101
98
|
}
|
|
102
99
|
},
|
|
@@ -112,6 +109,7 @@ export function useBladeNavigation(): IUseBladeNavigation {
|
|
|
112
109
|
workspaceOptions.value = unref(options);
|
|
113
110
|
workspaceParam.value = unref(param);
|
|
114
111
|
|
|
112
|
+
await nextTick();
|
|
115
113
|
await router.replace(bladeComponent.url);
|
|
116
114
|
}
|
|
117
115
|
}
|
|
@@ -125,6 +123,8 @@ export function useBladeNavigation(): IUseBladeNavigation {
|
|
|
125
123
|
return;
|
|
126
124
|
}
|
|
127
125
|
|
|
126
|
+
clearParentData();
|
|
127
|
+
|
|
128
128
|
// caller blade component
|
|
129
129
|
const instanceComponent =
|
|
130
130
|
navigationInstance.bladesRefs.value.find((item) => item.active)?.blade?.blade ??
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="tw-flex tw-flex-nowrap tw-font-bold">
|
|
2
|
+
<div class="tw-flex tw-flex-nowrap tw-font-bold tw-relative">
|
|
3
3
|
<span><slot></slot></span>
|
|
4
4
|
<span
|
|
5
5
|
v-if="required"
|
|
6
6
|
class="tw-text-[color:var(--label-required-color)] tw-ml-1"
|
|
7
7
|
>*</span
|
|
8
8
|
>
|
|
9
|
+
<span
|
|
10
|
+
v-if="multilanguage"
|
|
11
|
+
class="tw-text-[color:var(--app-menu-item-icon-color)] tw-absolute tw-right-0"
|
|
12
|
+
>
|
|
13
|
+
{{ currentLanguage }}
|
|
14
|
+
</span>
|
|
9
15
|
<span
|
|
10
16
|
v-if="$slots['tooltip']"
|
|
11
17
|
class="tw-grow tw-basis-0 tw-ml-1"
|
|
@@ -34,6 +40,8 @@ import { ref } from "vue";
|
|
|
34
40
|
export interface Props {
|
|
35
41
|
required?: boolean;
|
|
36
42
|
tooltipIcon?: string;
|
|
43
|
+
multilanguage?: boolean;
|
|
44
|
+
currentLanguage?: string;
|
|
37
45
|
}
|
|
38
46
|
|
|
39
47
|
withDefaults(defineProps<Props>(), {
|