@vc-shell/framework 1.0.90 → 1.0.92
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 +92 -95
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/molecules/vc-editor/index.d.ts +6 -1
- 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 +3 -0
- package/dist/ui/components/molecules/vc-editor/vc-editor.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/molecules/vc-editor/vc-editor.vue +1 -0
|
@@ -4,13 +4,13 @@ export declare const VcEditor: {
|
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: {
|
|
7
|
+
disabled?: boolean;
|
|
7
8
|
modelValue?: string | number | Date;
|
|
8
9
|
readonly label?: string;
|
|
9
10
|
readonly required?: boolean;
|
|
10
11
|
readonly errorMessage?: string;
|
|
11
12
|
style?: unknown;
|
|
12
13
|
key?: string | number | symbol;
|
|
13
|
-
readonly disabled?: boolean;
|
|
14
14
|
"onUpdate:modelValue"?: (value: string | number | Date) => any;
|
|
15
15
|
readonly tooltip?: string;
|
|
16
16
|
readonly placeholder?: string;
|
|
@@ -83,6 +83,7 @@ export declare const VcEditor: {
|
|
|
83
83
|
};
|
|
84
84
|
disabled: {
|
|
85
85
|
type: import("vue").PropType<boolean>;
|
|
86
|
+
default: boolean;
|
|
86
87
|
};
|
|
87
88
|
modelValue: {
|
|
88
89
|
type: import("vue").PropType<string | number | Date>;
|
|
@@ -103,6 +104,7 @@ export declare const VcEditor: {
|
|
|
103
104
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
104
105
|
"update:modelValue": (value: string | number | Date) => void;
|
|
105
106
|
}, string, {
|
|
107
|
+
disabled: boolean;
|
|
106
108
|
modelValue: string | number | Date;
|
|
107
109
|
}, {}, string, {}> & {
|
|
108
110
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -136,6 +138,7 @@ export declare const VcEditor: {
|
|
|
136
138
|
};
|
|
137
139
|
disabled: {
|
|
138
140
|
type: import("vue").PropType<boolean>;
|
|
141
|
+
default: boolean;
|
|
139
142
|
};
|
|
140
143
|
modelValue: {
|
|
141
144
|
type: import("vue").PropType<string | number | Date>;
|
|
@@ -169,6 +172,7 @@ export declare const VcEditor: {
|
|
|
169
172
|
};
|
|
170
173
|
disabled: {
|
|
171
174
|
type: import("vue").PropType<boolean>;
|
|
175
|
+
default: boolean;
|
|
172
176
|
};
|
|
173
177
|
modelValue: {
|
|
174
178
|
type: import("vue").PropType<string | number | Date>;
|
|
@@ -189,6 +193,7 @@ export declare const VcEditor: {
|
|
|
189
193
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
190
194
|
"update:modelValue": (value: string | number | Date) => void;
|
|
191
195
|
}, string, {
|
|
196
|
+
disabled: boolean;
|
|
192
197
|
modelValue: string | number | Date;
|
|
193
198
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
194
199
|
$slots: {
|
|
@@ -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"}
|
|
@@ -14,13 +14,16 @@ export interface Emits {
|
|
|
14
14
|
}
|
|
15
15
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
16
16
|
modelValue: any;
|
|
17
|
+
disabled: boolean;
|
|
17
18
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
19
|
"update:modelValue": (value: string | number | Date) => void;
|
|
19
20
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
20
21
|
modelValue: any;
|
|
22
|
+
disabled: boolean;
|
|
21
23
|
}>>> & {
|
|
22
24
|
"onUpdate:modelValue"?: (value: string | number | Date) => any;
|
|
23
25
|
}, {
|
|
26
|
+
disabled: boolean;
|
|
24
27
|
modelValue: string | number | Date;
|
|
25
28
|
}, {}>, {
|
|
26
29
|
error?(_: {}): any;
|
|
@@ -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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AAE,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;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.92",
|
|
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.92",
|
|
59
|
+
"@vc-shell/config-generator": "^1.0.92",
|
|
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 ??
|