vue-editify 0.2.14 → 0.2.16
Sign up to get free protection for your applications and to get access to all the features.
- package/examples/App.vue +41 -88
- package/lib/components/button/button.vue.d.ts +62 -60
- package/lib/components/button/index.d.ts +4 -0
- package/lib/components/button/props.d.ts +12 -1
- package/lib/components/checkbox/checkbox.vue.d.ts +9 -9
- package/lib/components/checkbox/index.d.ts +4 -0
- package/lib/components/checkbox/props.d.ts +2 -2
- package/lib/components/colors/colors.vue.d.ts +4 -4
- package/lib/components/colors/index.d.ts +4 -0
- package/lib/components/colors/props.d.ts +2 -2
- package/lib/components/icon/index.d.ts +4 -0
- package/lib/components/insertAttachment/index.d.ts +4 -0
- package/lib/{plugins/attachment → components}/insertAttachment/insertAttachment.vue.d.ts +3 -3
- package/lib/{plugins/attachment → components}/insertAttachment/props.d.ts +1 -1
- package/lib/components/insertImage/index.d.ts +4 -0
- package/lib/components/insertImage/insertImage.vue.d.ts +3 -3
- package/lib/components/insertImage/props.d.ts +1 -1
- package/lib/components/insertLink/index.d.ts +4 -0
- package/lib/components/insertLink/insertLink.vue.d.ts +6 -6
- package/lib/components/insertLink/props.d.ts +3 -3
- package/lib/components/insertMathformula/index.d.ts +4 -0
- package/lib/{plugins/mathformula → components}/insertMathformula/insertMathformula.vue.d.ts +3 -3
- package/lib/{plugins/mathformula → components}/insertMathformula/props.d.ts +2 -2
- package/lib/components/insertTable/index.d.ts +4 -0
- package/lib/components/insertTable/insertTable.vue.d.ts +3 -3
- package/lib/components/insertTable/props.d.ts +2 -2
- package/lib/components/insertVideo/index.d.ts +4 -0
- package/lib/components/insertVideo/insertVideo.vue.d.ts +3 -3
- package/lib/components/insertVideo/props.d.ts +1 -1
- package/lib/components/layer/index.d.ts +4 -0
- package/lib/components/layer/layer.vue.d.ts +10 -8
- package/lib/components/tooltip/index.d.ts +4 -0
- package/lib/components/tooltip/tooltip.vue.d.ts +6 -4
- package/lib/components/triangle/index.d.ts +4 -0
- package/lib/components/triangle/triangle.vue.d.ts +1 -1
- package/lib/components/updateLink/index.d.ts +4 -0
- package/lib/components/updateLink/props.d.ts +17 -0
- package/lib/components/updateLink/updateLink.vue.d.ts +38 -0
- package/lib/core/function.d.ts +113 -36
- package/lib/core/rule.d.ts +20 -0
- package/lib/core/tool.d.ts +36 -34
- package/lib/editify/editify.vue.d.ts +18 -28
- package/lib/editify/menu/index.d.ts +4 -0
- package/lib/{components → editify}/menu/menu.vue.d.ts +3 -4
- package/lib/{components → editify}/menu/props.d.ts +1 -1
- package/lib/editify/props.d.ts +3 -7
- package/lib/editify/toolbar/index.d.ts +4 -0
- package/lib/{components → editify}/toolbar/props.d.ts +2 -2
- package/lib/{components → editify}/toolbar/toolbar.vue.d.ts +53 -53
- package/lib/editify.es.js +38964 -37727
- package/lib/editify.umd.js +2 -2
- package/lib/feature/align.d.ts +32 -0
- package/lib/feature/attachment.d.ts +18 -0
- package/lib/feature/backColor.d.ts +32 -0
- package/lib/feature/bold.d.ts +32 -0
- package/lib/feature/code.d.ts +32 -0
- package/lib/feature/codeBlock.d.ts +32 -0
- package/lib/feature/fontFamily.d.ts +32 -0
- package/lib/feature/fontSize.d.ts +32 -0
- package/lib/feature/foreColor.d.ts +32 -0
- package/lib/feature/formatClear.d.ts +32 -0
- package/lib/feature/fullScreen.d.ts +18 -0
- package/lib/feature/heading.d.ts +32 -0
- package/lib/feature/image.d.ts +32 -0
- package/lib/feature/indent.d.ts +18 -0
- package/lib/feature/infoBlock.d.ts +18 -0
- package/lib/feature/italic.d.ts +32 -0
- package/lib/feature/lineHeight.d.ts +32 -0
- package/lib/feature/link.d.ts +26 -0
- package/lib/feature/mathformula.d.ts +22 -0
- package/lib/feature/orderList.d.ts +32 -0
- package/lib/feature/panel.d.ts +18 -0
- package/lib/feature/quote.d.ts +18 -0
- package/lib/feature/redo.d.ts +18 -0
- package/lib/feature/separator.d.ts +18 -0
- package/lib/feature/sourceView.d.ts +18 -0
- package/lib/feature/strikethrough.d.ts +32 -0
- package/lib/feature/sub.d.ts +32 -0
- package/lib/feature/super.d.ts +32 -0
- package/lib/feature/table.d.ts +32 -0
- package/lib/feature/task.d.ts +32 -0
- package/lib/feature/underline.d.ts +32 -0
- package/lib/feature/undo.d.ts +18 -0
- package/lib/feature/unorderList.d.ts +32 -0
- package/lib/feature/video.d.ts +38 -0
- package/lib/index.d.ts +194 -202
- package/package.json +5 -5
- package/src/components/button/button.vue +21 -24
- package/src/components/button/index.ts +5 -0
- package/src/components/button/props.ts +14 -1
- package/src/components/checkbox/checkbox.vue +1 -1
- package/src/components/checkbox/index.ts +5 -0
- package/src/components/checkbox/props.ts +1 -1
- package/src/components/colors/colors.vue +3 -3
- package/src/components/colors/index.ts +5 -0
- package/src/components/colors/props.ts +2 -2
- package/src/components/icon/index.ts +5 -0
- package/src/components/insertAttachment/index.ts +5 -0
- package/src/{plugins/attachment → components}/insertAttachment/insertAttachment.vue +4 -2
- package/src/{plugins/attachment → components}/insertAttachment/props.ts +1 -1
- package/src/components/insertImage/index.ts +5 -0
- package/src/components/insertImage/insertImage.vue +5 -5
- package/src/components/insertImage/props.ts +1 -1
- package/src/components/insertLink/index.ts +5 -0
- package/src/components/insertLink/insertLink.vue +10 -10
- package/src/components/insertLink/props.ts +3 -3
- package/src/components/insertMathformula/index.ts +5 -0
- package/src/{plugins/mathformula → components}/insertMathformula/props.ts +2 -2
- package/src/components/insertTable/index.ts +5 -0
- package/src/components/insertTable/props.ts +2 -2
- package/src/components/insertVideo/index.ts +5 -0
- package/src/components/insertVideo/insertVideo.vue +2 -2
- package/src/components/insertVideo/props.ts +1 -1
- package/src/components/layer/index.ts +5 -0
- package/src/components/layer/layer.vue +42 -4
- package/src/components/tooltip/index.ts +5 -0
- package/src/components/tooltip/tooltip.vue +1 -1
- package/src/components/triangle/index.ts +5 -0
- package/src/components/triangle/triangle.vue +1 -1
- package/src/components/updateLink/index.ts +5 -0
- package/src/components/updateLink/props.ts +21 -0
- package/src/components/{toolbar/toolbar.less → updateLink/updateLink.less} +4 -20
- package/src/components/updateLink/updateLink.vue +74 -0
- package/src/core/function.ts +289 -97
- package/src/core/rule.ts +108 -29
- package/src/core/tool.ts +237 -81
- package/src/editify/editify.less +4 -0
- package/src/editify/editify.vue +183 -194
- package/src/editify/menu/index.ts +5 -0
- package/src/editify/menu/menu.vue +215 -0
- package/src/{components → editify}/menu/props.ts +1 -1
- package/src/editify/props.ts +7 -11
- package/src/editify/toolbar/index.ts +5 -0
- package/src/{components → editify}/toolbar/props.ts +1 -1
- package/src/editify/toolbar/toolbar.less +10 -0
- package/src/editify/toolbar/toolbar.vue +103 -0
- package/src/feature/align.ts +126 -0
- package/src/feature/attachment.ts +108 -0
- package/src/feature/backColor.ts +169 -0
- package/src/feature/bold.ts +134 -0
- package/src/feature/code.ts +134 -0
- package/src/feature/codeBlock.ts +201 -0
- package/src/feature/fontFamily.ts +138 -0
- package/src/feature/fontSize.ts +140 -0
- package/src/feature/foreColor.ts +171 -0
- package/src/feature/formatClear.ts +116 -0
- package/src/feature/fullScreen.ts +57 -0
- package/src/feature/heading.ts +152 -0
- package/src/feature/image.ts +222 -0
- package/src/feature/indent.ts +72 -0
- package/src/feature/infoBlock.ts +93 -0
- package/src/feature/italic.ts +134 -0
- package/src/feature/lineHeight.ts +163 -0
- package/src/feature/link.ts +146 -0
- package/src/feature/mathformula.ts +146 -0
- package/src/feature/orderList.ts +114 -0
- package/src/feature/panel.ts +107 -0
- package/src/feature/quote.ts +60 -0
- package/src/feature/redo.ts +56 -0
- package/src/feature/separator.ts +61 -0
- package/src/feature/sourceView.ts +59 -0
- package/src/feature/strikethrough.ts +134 -0
- package/src/feature/sub.ts +134 -0
- package/src/feature/super.ts +134 -0
- package/src/feature/table.ts +981 -0
- package/src/feature/task.ts +114 -0
- package/src/feature/underline.ts +134 -0
- package/src/feature/undo.ts +56 -0
- package/src/feature/unorderList.ts +114 -0
- package/src/feature/video.ts +335 -0
- package/src/hljs/index.ts +1 -1
- package/src/index.ts +82 -25
- package/src/locale/en_US.ts +3 -3
- package/src/locale/zh_CN.ts +3 -3
- package/lib/plugins/attachment/index.d.ts +0 -37
- package/lib/plugins/infoBlock/index.d.ts +0 -55
- package/lib/plugins/mathformula/index.d.ts +0 -49
- package/lib/plugins/panel/index.d.ts +0 -48
- package/src/components/menu/menu.vue +0 -1655
- package/src/components/toolbar/toolbar.vue +0 -1677
- package/src/plugins/attachment/index.ts +0 -237
- package/src/plugins/infoBlock/index.ts +0 -238
- package/src/plugins/mathformula/index.ts +0 -295
- package/src/plugins/panel/index.ts +0 -228
- package/tsconfig.json +0 -31
- package/tsconfig.node.json +0 -11
- /package/src/{plugins/attachment → components}/insertAttachment/insertAttachment.less +0 -0
- /package/src/{plugins/mathformula → components}/insertMathformula/insertMathformula.less +0 -0
- /package/src/{plugins/mathformula → components}/insertMathformula/insertMathformula.vue +0 -0
- /package/src/{components → editify}/menu/menu.less +0 -0
@@ -1,6 +1,15 @@
|
|
1
|
-
import {
|
1
|
+
import { ButtonOptionsItemType } from './props';
|
2
2
|
|
3
|
-
declare
|
3
|
+
declare function __VLS_template(): {
|
4
|
+
default?(_: {}): any;
|
5
|
+
layer?(_: {
|
6
|
+
options: ButtonOptionsItemType[];
|
7
|
+
}): any;
|
8
|
+
option?(_: {
|
9
|
+
item: ButtonOptionsItemType;
|
10
|
+
}): any;
|
11
|
+
};
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
4
13
|
type: {
|
5
14
|
type: import('vue').PropType<import('./props').ButtonTypeType>;
|
6
15
|
default: string;
|
@@ -27,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
27
36
|
default: boolean;
|
28
37
|
};
|
29
38
|
color: {
|
30
|
-
type:
|
39
|
+
type: StringConstructor;
|
31
40
|
default: string;
|
32
41
|
};
|
33
42
|
disabled: {
|
@@ -39,11 +48,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
39
48
|
default: boolean;
|
40
49
|
};
|
41
50
|
selectConfig: {
|
42
|
-
type: import('vue').PropType<ButtonSelectConfigType>;
|
51
|
+
type: import('vue').PropType<import('./props').ButtonSelectConfigType>;
|
43
52
|
default: null;
|
44
53
|
};
|
45
54
|
displayConfig: {
|
46
|
-
type: import('vue').PropType<ButtonDisplayConfigType>;
|
55
|
+
type: import('vue').PropType<import('./props').ButtonDisplayConfigType>;
|
47
56
|
default: null;
|
48
57
|
};
|
49
58
|
hideScroll: {
|
@@ -61,37 +70,37 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
61
70
|
$: import('vue').ComponentInternalInstance;
|
62
71
|
$data: {};
|
63
72
|
$props: Partial<{
|
64
|
-
placement: import('../layer/props').LayerPlacementType;
|
65
73
|
color: string;
|
66
|
-
background: string;
|
67
74
|
zIndex: number;
|
68
75
|
modelValue: boolean;
|
69
76
|
node: string | HTMLElement | null;
|
70
77
|
scrollNode: string | HTMLElement | null;
|
71
78
|
border: boolean;
|
72
79
|
borderColor: string;
|
80
|
+
background: string;
|
81
|
+
placement: import('../layer').LayerPlacementType;
|
73
82
|
showTriangle: boolean;
|
74
|
-
animation: import('../layer
|
83
|
+
animation: import('../layer').LayerAnimationType;
|
75
84
|
useRange: boolean;
|
76
85
|
insideElements: HTMLElement[];
|
77
86
|
}> & Omit<{
|
78
|
-
readonly placement: import('../layer/props').LayerPlacementType;
|
79
87
|
readonly color: string;
|
80
|
-
readonly background: string;
|
81
88
|
readonly zIndex: number;
|
82
89
|
readonly modelValue: boolean;
|
83
90
|
readonly node: string | HTMLElement | null;
|
84
91
|
readonly scrollNode: string | HTMLElement | null;
|
85
92
|
readonly border: boolean;
|
86
93
|
readonly borderColor: string;
|
94
|
+
readonly background: string;
|
95
|
+
readonly placement: import('../layer').LayerPlacementType;
|
87
96
|
readonly showTriangle: boolean;
|
88
|
-
readonly animation: import('../layer
|
97
|
+
readonly animation: import('../layer').LayerAnimationType;
|
89
98
|
readonly useRange: boolean;
|
90
99
|
readonly insideElements: HTMLElement[];
|
100
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
91
101
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
92
102
|
onShow?: ((...args: any[]) => any) | undefined;
|
93
103
|
onShown?: ((...args: any[]) => any) | undefined;
|
94
|
-
onHidden?: ((...args: any[]) => any) | undefined;
|
95
104
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
96
105
|
modelValue: {
|
97
106
|
type: BooleanConstructor;
|
@@ -122,7 +131,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
122
131
|
default: null;
|
123
132
|
};
|
124
133
|
placement: {
|
125
|
-
type: import('vue').PropType<import('../layer
|
134
|
+
type: import('vue').PropType<import('../layer').LayerPlacementType>;
|
126
135
|
default: string;
|
127
136
|
validator(value: any): boolean;
|
128
137
|
};
|
@@ -135,7 +144,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
135
144
|
default: number;
|
136
145
|
};
|
137
146
|
animation: {
|
138
|
-
type: import('vue').PropType<import('../layer
|
147
|
+
type: import('vue').PropType<import('../layer').LayerAnimationType>;
|
139
148
|
default: null;
|
140
149
|
validator(value: any): boolean;
|
141
150
|
};
|
@@ -148,11 +157,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
148
157
|
default: () => never[];
|
149
158
|
};
|
150
159
|
}>> & {
|
160
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
151
161
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
152
162
|
onShow?: ((...args: any[]) => any) | undefined;
|
153
163
|
onShown?: ((...args: any[]) => any) | undefined;
|
154
|
-
|
155
|
-
}, "placement" | "color" | "background" | "zIndex" | "modelValue" | "node" | "scrollNode" | "border" | "borderColor" | "showTriangle" | "animation" | "useRange" | "insideElements">;
|
164
|
+
}, "color" | "zIndex" | "modelValue" | "node" | "scrollNode" | "border" | "borderColor" | "background" | "placement" | "showTriangle" | "animation" | "useRange" | "insideElements">;
|
156
165
|
$attrs: {
|
157
166
|
[x: string]: unknown;
|
158
167
|
};
|
@@ -162,9 +171,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
162
171
|
$slots: Readonly<{
|
163
172
|
[name: string]: import('vue').Slot<any> | undefined;
|
164
173
|
}>;
|
165
|
-
$root: import('vue').ComponentPublicInstance
|
166
|
-
$parent: import('vue').ComponentPublicInstance
|
167
|
-
$emit: ((event: "
|
174
|
+
$root: import('vue').ComponentPublicInstance | null;
|
175
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
176
|
+
$emit: ((event: "hidden", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "show", ...args: any[]) => void) & ((event: "shown", ...args: any[]) => void);
|
168
177
|
$el: any;
|
169
178
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
170
179
|
modelValue: {
|
@@ -196,7 +205,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
196
205
|
default: null;
|
197
206
|
};
|
198
207
|
placement: {
|
199
|
-
type: import('vue').PropType<import('../layer
|
208
|
+
type: import('vue').PropType<import('../layer').LayerPlacementType>;
|
200
209
|
default: string;
|
201
210
|
validator(value: any): boolean;
|
202
211
|
};
|
@@ -209,7 +218,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
209
218
|
default: number;
|
210
219
|
};
|
211
220
|
animation: {
|
212
|
-
type: import('vue').PropType<import('../layer
|
221
|
+
type: import('vue').PropType<import('../layer').LayerAnimationType>;
|
213
222
|
default: null;
|
214
223
|
validator(value: any): boolean;
|
215
224
|
};
|
@@ -222,52 +231,52 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
222
231
|
default: () => never[];
|
223
232
|
};
|
224
233
|
}>> & {
|
234
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
225
235
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
226
236
|
onShow?: ((...args: any[]) => any) | undefined;
|
227
237
|
onShown?: ((...args: any[]) => any) | undefined;
|
228
|
-
onHidden?: ((...args: any[]) => any) | undefined;
|
229
238
|
}, {
|
230
239
|
setPosition: () => void;
|
231
240
|
elRef: import('vue').Ref<HTMLElement | null>;
|
232
241
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
242
|
+
hidden: (...args: any[]) => void;
|
233
243
|
"update:modelValue": (...args: any[]) => void;
|
234
244
|
show: (...args: any[]) => void;
|
235
245
|
shown: (...args: any[]) => void;
|
236
|
-
hidden: (...args: any[]) => void;
|
237
246
|
}, string, {
|
238
|
-
placement: import('../layer/props').LayerPlacementType;
|
239
247
|
color: string;
|
240
|
-
background: string;
|
241
248
|
zIndex: number;
|
242
249
|
modelValue: boolean;
|
243
250
|
node: string | HTMLElement | null;
|
244
251
|
scrollNode: string | HTMLElement | null;
|
245
252
|
border: boolean;
|
246
253
|
borderColor: string;
|
254
|
+
background: string;
|
255
|
+
placement: import('../layer').LayerPlacementType;
|
247
256
|
showTriangle: boolean;
|
248
|
-
animation: import('../layer
|
257
|
+
animation: import('../layer').LayerAnimationType;
|
249
258
|
useRange: boolean;
|
250
259
|
insideElements: HTMLElement[];
|
251
260
|
}, {}, string, {}> & {
|
252
|
-
beforeCreate?: ((
|
253
|
-
created?: ((
|
254
|
-
beforeMount?: ((
|
255
|
-
mounted?: ((
|
256
|
-
beforeUpdate?: ((
|
257
|
-
updated?: ((
|
258
|
-
activated?: ((
|
259
|
-
deactivated?: ((
|
260
|
-
beforeDestroy?: ((
|
261
|
-
beforeUnmount?: ((
|
262
|
-
destroyed?: ((
|
263
|
-
unmounted?: ((
|
264
|
-
renderTracked?: ((
|
265
|
-
renderTriggered?: ((
|
266
|
-
errorCaptured?: ((
|
261
|
+
beforeCreate?: (() => void) | (() => void)[];
|
262
|
+
created?: (() => void) | (() => void)[];
|
263
|
+
beforeMount?: (() => void) | (() => void)[];
|
264
|
+
mounted?: (() => void) | (() => void)[];
|
265
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
266
|
+
updated?: (() => void) | (() => void)[];
|
267
|
+
activated?: (() => void) | (() => void)[];
|
268
|
+
deactivated?: (() => void) | (() => void)[];
|
269
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
270
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
271
|
+
destroyed?: (() => void) | (() => void)[];
|
272
|
+
unmounted?: (() => void) | (() => void)[];
|
273
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
274
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
275
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
267
276
|
};
|
268
277
|
$forceUpdate: () => void;
|
269
278
|
$nextTick: typeof import('vue').nextTick;
|
270
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (
|
279
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, (cleanupFn: () => void) => void]) => any : (...args: [any, any, (cleanupFn: () => void) => void]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
271
280
|
} & Omit<Readonly<import('vue').ExtractPropTypes<{
|
272
281
|
modelValue: {
|
273
282
|
type: BooleanConstructor;
|
@@ -298,7 +307,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
298
307
|
default: null;
|
299
308
|
};
|
300
309
|
placement: {
|
301
|
-
type: import('vue').PropType<import('../layer
|
310
|
+
type: import('vue').PropType<import('../layer').LayerPlacementType>;
|
302
311
|
default: string;
|
303
312
|
validator(value: any): boolean;
|
304
313
|
};
|
@@ -311,7 +320,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
311
320
|
default: number;
|
312
321
|
};
|
313
322
|
animation: {
|
314
|
-
type: import('vue').PropType<import('../layer
|
323
|
+
type: import('vue').PropType<import('../layer').LayerAnimationType>;
|
315
324
|
default: null;
|
316
325
|
validator(value: any): boolean;
|
317
326
|
};
|
@@ -324,10 +333,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
324
333
|
default: () => never[];
|
325
334
|
};
|
326
335
|
}>> & {
|
336
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
327
337
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
328
338
|
onShow?: ((...args: any[]) => any) | undefined;
|
329
339
|
onShown?: ((...args: any[]) => any) | undefined;
|
330
|
-
onHidden?: ((...args: any[]) => any) | undefined;
|
331
340
|
}, "setPosition" | "elRef"> & import('vue').ShallowUnwrapRef<{
|
332
341
|
setPosition: () => void;
|
333
342
|
elRef: import('vue').Ref<HTMLElement | null>;
|
@@ -368,7 +377,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
368
377
|
default: boolean;
|
369
378
|
};
|
370
379
|
color: {
|
371
|
-
type:
|
380
|
+
type: StringConstructor;
|
372
381
|
default: string;
|
373
382
|
};
|
374
383
|
disabled: {
|
@@ -380,11 +389,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
380
389
|
default: boolean;
|
381
390
|
};
|
382
391
|
selectConfig: {
|
383
|
-
type: import('vue').PropType<ButtonSelectConfigType>;
|
392
|
+
type: import('vue').PropType<import('./props').ButtonSelectConfigType>;
|
384
393
|
default: null;
|
385
394
|
};
|
386
395
|
displayConfig: {
|
387
|
-
type: import('vue').PropType<ButtonDisplayConfigType>;
|
396
|
+
type: import('vue').PropType<import('./props').ButtonDisplayConfigType>;
|
388
397
|
default: null;
|
389
398
|
};
|
390
399
|
hideScroll: {
|
@@ -401,28 +410,21 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
401
410
|
onLayerShown?: ((...args: any[]) => any) | undefined;
|
402
411
|
onLayerHidden?: ((...args: any[]) => any) | undefined;
|
403
412
|
}, {
|
404
|
-
color: string | null;
|
405
413
|
type: import('./props').ButtonTypeType;
|
406
414
|
name: string;
|
407
415
|
title: string;
|
408
416
|
tooltip: boolean;
|
409
417
|
rightBorder: boolean;
|
410
418
|
leftBorder: boolean;
|
419
|
+
color: string;
|
411
420
|
disabled: boolean;
|
412
421
|
active: boolean;
|
413
|
-
selectConfig: ButtonSelectConfigType;
|
414
|
-
displayConfig: ButtonDisplayConfigType;
|
422
|
+
selectConfig: import('./props').ButtonSelectConfigType;
|
423
|
+
displayConfig: import('./props').ButtonDisplayConfigType;
|
415
424
|
hideScroll: boolean;
|
416
425
|
zIndex: number;
|
417
|
-
}, {}
|
418
|
-
|
419
|
-
layer?(_: {
|
420
|
-
options: ButtonOptionsItemType[];
|
421
|
-
}): any;
|
422
|
-
option?(_: {
|
423
|
-
item: ButtonOptionsItemType;
|
424
|
-
}): any;
|
425
|
-
}>;
|
426
|
+
}, {}>;
|
427
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
426
428
|
export default _default;
|
427
429
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
428
430
|
new (): {
|
@@ -13,12 +13,23 @@ export type ButtonSelectConfigType = {
|
|
13
13
|
width?: number | '';
|
14
14
|
maxHeight?: number | '';
|
15
15
|
};
|
16
|
+
export type ButtonParseSelectConfigType = {
|
17
|
+
options?: ButtonOptionsItemType[];
|
18
|
+
width?: number | '';
|
19
|
+
maxHeight?: number | '';
|
20
|
+
};
|
16
21
|
export type ButtonDisplayConfigType = {
|
17
22
|
options?: (ButtonOptionsItemType | number | string)[];
|
18
23
|
width?: number | '';
|
19
24
|
maxHeight?: number | '';
|
20
25
|
value?: string | number;
|
21
26
|
};
|
27
|
+
export type ButtonParseDisplayConfigType = {
|
28
|
+
options?: ButtonOptionsItemType[];
|
29
|
+
width?: number | '';
|
30
|
+
maxHeight?: number | '';
|
31
|
+
value?: string | number;
|
32
|
+
};
|
22
33
|
export declare const ButtonProps: {
|
23
34
|
type: {
|
24
35
|
type: PropType<ButtonTypeType>;
|
@@ -46,7 +57,7 @@ export declare const ButtonProps: {
|
|
46
57
|
default: boolean;
|
47
58
|
};
|
48
59
|
color: {
|
49
|
-
type:
|
60
|
+
type: StringConstructor;
|
50
61
|
default: string;
|
51
62
|
};
|
52
63
|
disabled: {
|
@@ -14,7 +14,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
14
14
|
default: null;
|
15
15
|
};
|
16
16
|
value: {
|
17
|
-
type: import('vue').PropType<
|
17
|
+
type: import('vue').PropType<ObjectType | number | string | any[]>;
|
18
18
|
default: string;
|
19
19
|
};
|
20
20
|
round: {
|
@@ -27,13 +27,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
27
27
|
validator(value: any): boolean;
|
28
28
|
};
|
29
29
|
color: {
|
30
|
-
type:
|
30
|
+
type: StringConstructor;
|
31
31
|
default: string;
|
32
32
|
validator(value: any): boolean;
|
33
33
|
};
|
34
34
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
35
|
-
"update:modelValue": (...args: any[]) => void;
|
36
35
|
change: (...args: any[]) => void;
|
36
|
+
"update:modelValue": (...args: any[]) => void;
|
37
37
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
38
38
|
disabled: {
|
39
39
|
type: BooleanConstructor;
|
@@ -48,7 +48,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
48
48
|
default: null;
|
49
49
|
};
|
50
50
|
value: {
|
51
|
-
type: import('vue').PropType<
|
51
|
+
type: import('vue').PropType<ObjectType | number | string | any[]>;
|
52
52
|
default: string;
|
53
53
|
};
|
54
54
|
round: {
|
@@ -61,20 +61,20 @@ declare const _default: import('vue').DefineComponent<{
|
|
61
61
|
validator(value: any): boolean;
|
62
62
|
};
|
63
63
|
color: {
|
64
|
-
type:
|
64
|
+
type: StringConstructor;
|
65
65
|
default: string;
|
66
66
|
validator(value: any): boolean;
|
67
67
|
};
|
68
68
|
}>> & {
|
69
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
70
69
|
onChange?: ((...args: any[]) => any) | undefined;
|
70
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
71
71
|
}, {
|
72
|
-
|
73
|
-
color: string | null;
|
72
|
+
color: string;
|
74
73
|
disabled: boolean;
|
75
|
-
modelValue: boolean | any[];
|
76
74
|
value: string | number | any[] | ObjectType;
|
77
75
|
label: string;
|
76
|
+
modelValue: boolean | any[];
|
77
|
+
placement: "left" | "right";
|
78
78
|
round: boolean;
|
79
79
|
}, {}>;
|
80
80
|
export default _default;
|
@@ -15,7 +15,7 @@ export declare const CheckboxProps: {
|
|
15
15
|
default: null;
|
16
16
|
};
|
17
17
|
value: {
|
18
|
-
type: PropType<
|
18
|
+
type: PropType<ObjectType | number | string | any[]>;
|
19
19
|
default: string;
|
20
20
|
};
|
21
21
|
round: {
|
@@ -28,7 +28,7 @@ export declare const CheckboxProps: {
|
|
28
28
|
validator(value: any): boolean;
|
29
29
|
};
|
30
30
|
color: {
|
31
|
-
type:
|
31
|
+
type: StringConstructor;
|
32
32
|
default: string;
|
33
33
|
validator(value: any): boolean;
|
34
34
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ButtonOptionsItemType } from '../button
|
1
|
+
import { ButtonOptionsItemType } from '../button';
|
2
2
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
4
4
|
data: {
|
@@ -10,7 +10,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
10
10
|
default: null;
|
11
11
|
};
|
12
12
|
color: {
|
13
|
-
type:
|
13
|
+
type: StringConstructor;
|
14
14
|
default: string;
|
15
15
|
};
|
16
16
|
tooltip: {
|
@@ -29,7 +29,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
29
29
|
default: null;
|
30
30
|
};
|
31
31
|
color: {
|
32
|
-
type:
|
32
|
+
type: StringConstructor;
|
33
33
|
default: string;
|
34
34
|
};
|
35
35
|
tooltip: {
|
@@ -39,8 +39,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
39
39
|
}>> & {
|
40
40
|
onChange?: ((...args: any[]) => any) | undefined;
|
41
41
|
}, {
|
42
|
-
color: string | null;
|
43
42
|
tooltip: boolean;
|
43
|
+
color: string;
|
44
44
|
value: string;
|
45
45
|
data: ButtonOptionsItemType[];
|
46
46
|
}, {}>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ExtractPublicPropTypes, PropType } from 'vue';
|
2
|
-
import { ButtonOptionsItemType } from '../button
|
2
|
+
import { ButtonOptionsItemType } from '../button';
|
3
3
|
|
4
4
|
export declare const ColorsProps: {
|
5
5
|
data: {
|
@@ -11,7 +11,7 @@ export declare const ColorsProps: {
|
|
11
11
|
default: null;
|
12
12
|
};
|
13
13
|
color: {
|
14
|
-
type:
|
14
|
+
type: StringConstructor;
|
15
15
|
default: string;
|
16
16
|
};
|
17
17
|
tooltip: {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
2
2
|
color: {
|
3
|
-
type:
|
3
|
+
type: StringConstructor;
|
4
4
|
default: string;
|
5
5
|
};
|
6
6
|
accept: {
|
@@ -36,7 +36,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
36
36
|
change: (...args: any[]) => void;
|
37
37
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
38
38
|
color: {
|
39
|
-
type:
|
39
|
+
type: StringConstructor;
|
40
40
|
default: string;
|
41
41
|
};
|
42
42
|
accept: {
|
@@ -71,7 +71,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
71
71
|
onChange?: ((...args: any[]) => any) | undefined;
|
72
72
|
onInsert?: ((...args: any[]) => any) | undefined;
|
73
73
|
}, {
|
74
|
-
color: string
|
74
|
+
color: string;
|
75
75
|
allowedFileType: string[];
|
76
76
|
multiple: boolean;
|
77
77
|
maxSize: number;
|
@@ -3,7 +3,7 @@ import { ExtractPublicPropTypes, PropType } from 'vue';
|
|
3
3
|
export type InsertAttachmentUploadErrorType = 'suffixError' | 'maxSizeError' | 'minSizeError';
|
4
4
|
export declare const InsertAttachmentProps: {
|
5
5
|
color: {
|
6
|
-
type:
|
6
|
+
type: StringConstructor;
|
7
7
|
default: string;
|
8
8
|
};
|
9
9
|
accept: {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
2
2
|
color: {
|
3
|
-
type:
|
3
|
+
type: StringConstructor;
|
4
4
|
default: string;
|
5
5
|
};
|
6
6
|
allowedFileType: {
|
@@ -32,7 +32,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
32
32
|
change: (...args: any[]) => void;
|
33
33
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
34
34
|
color: {
|
35
|
-
type:
|
35
|
+
type: StringConstructor;
|
36
36
|
default: string;
|
37
37
|
};
|
38
38
|
allowedFileType: {
|
@@ -63,7 +63,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
63
63
|
onChange?: ((...args: any[]) => any) | undefined;
|
64
64
|
onInsert?: ((...args: any[]) => any) | undefined;
|
65
65
|
}, {
|
66
|
-
color: string
|
66
|
+
color: string;
|
67
67
|
allowedFileType: string[];
|
68
68
|
multiple: boolean;
|
69
69
|
maxSize: number;
|
@@ -3,7 +3,7 @@ import { ExtractPublicPropTypes, PropType } from 'vue';
|
|
3
3
|
export type InsertImageUploadErrorType = 'suffixError' | 'maxSizeError' | 'minSizeError';
|
4
4
|
export declare const InsertImageProps: {
|
5
5
|
color: {
|
6
|
-
type:
|
6
|
+
type: StringConstructor;
|
7
7
|
default: string;
|
8
8
|
};
|
9
9
|
allowedFileType: {
|
@@ -1,9 +1,9 @@
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
2
2
|
color: {
|
3
|
-
type:
|
3
|
+
type: StringConstructor;
|
4
4
|
default: string;
|
5
5
|
};
|
6
|
-
|
6
|
+
presetText: {
|
7
7
|
type: StringConstructor;
|
8
8
|
default: string;
|
9
9
|
};
|
@@ -11,17 +11,17 @@ declare const _default: import('vue').DefineComponent<{
|
|
11
11
|
insert: (...args: any[]) => void;
|
12
12
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
13
13
|
color: {
|
14
|
-
type:
|
14
|
+
type: StringConstructor;
|
15
15
|
default: string;
|
16
16
|
};
|
17
|
-
|
17
|
+
presetText: {
|
18
18
|
type: StringConstructor;
|
19
19
|
default: string;
|
20
20
|
};
|
21
21
|
}>> & {
|
22
22
|
onInsert?: ((...args: any[]) => any) | undefined;
|
23
23
|
}, {
|
24
|
-
color: string
|
25
|
-
|
24
|
+
color: string;
|
25
|
+
presetText: string;
|
26
26
|
}, {}>;
|
27
27
|
export default _default;
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { ExtractPublicPropTypes
|
1
|
+
import { ExtractPublicPropTypes } from 'vue';
|
2
2
|
|
3
3
|
export declare const InsertLinkProps: {
|
4
4
|
color: {
|
5
|
-
type:
|
5
|
+
type: StringConstructor;
|
6
6
|
default: string;
|
7
7
|
};
|
8
|
-
|
8
|
+
presetText: {
|
9
9
|
type: StringConstructor;
|
10
10
|
default: string;
|
11
11
|
};
|