@vc-shell/framework 1.0.89 → 1.0.91
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 +13 -0
- package/core/plugins/validation/rules.ts +1 -1
- package/dist/framework.mjs +171 -170
- 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/ui/components/molecules/vc-editor/vc-editor.vue +2 -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,MAAM,GAAG,IAA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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.91",
|
|
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.91",
|
|
59
|
+
"@vc-shell/config-generator": "^1.0.91",
|
|
60
60
|
"@vitejs/plugin-vue": "^4.2.3",
|
|
61
61
|
"sass": "^1.62.1",
|
|
62
62
|
"typescript": "~5.0.4",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
<!-- Editor field -->
|
|
26
26
|
<QuillEditor
|
|
27
|
+
:key="disabled.toString()"
|
|
27
28
|
v-model:content="content"
|
|
28
29
|
class="quill-editor tw-border tw-border-solid tw-border-[color:var(--editor-border-color)] tw-rounded-b-[var(--editor-border-radius)] tw-h-[200px]"
|
|
29
30
|
:class="{ 'tw-bg-[#fafafa] tw-text-[#424242] tw-cursor-default': disabled }"
|
|
@@ -72,6 +73,7 @@ const { getAccessToken } = useUser();
|
|
|
72
73
|
|
|
73
74
|
const props = withDefaults(defineProps<Props>(), {
|
|
74
75
|
modelValue: null,
|
|
76
|
+
disabled: false,
|
|
75
77
|
});
|
|
76
78
|
|
|
77
79
|
const emit = defineEmits<Emits>();
|