mce 0.13.15 → 0.14.0
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/README.md +1 -0
- package/dist/components/Floatbar.vue.d.ts +7 -7
- package/dist/components/Selector.vue.d.ts +152 -0
- package/dist/components/shared/Cropper.vue.d.ts +2 -2
- package/dist/components/shared/Dialog.vue.d.ts +5 -5
- package/dist/components/shared/FloatPanel.vue.d.ts +2 -2
- package/dist/components/shared/Menu.vue.d.ts +1 -1
- package/dist/components/shared/Overlay.vue.d.ts +4 -4
- package/dist/components/shared/Tooltip.vue.d.ts +10 -5
- package/dist/components/shared/Transformable.vue.d.ts +4 -4
- package/dist/composables/overlay.d.ts +2 -2
- package/dist/index.css +115 -40
- package/dist/index.js +160 -79
- package/dist/locale/en.d.ts +1 -0
- package/dist/locale/zh-Hans.d.ts +1 -0
- package/dist/mixins/0.command.d.ts +2 -2
- package/dist/mixins/1.hotkey.d.ts +2 -2
- package/dist/mixins/2.export.d.ts +2 -2
- package/dist/mixins/2.load.d.ts +2 -2
- package/dist/mixins/drawingTool.d.ts +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare function updateLocation(): void;
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_8: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
|
-
default?: (props: typeof
|
|
4
|
+
default?: (props: typeof __VLS_8) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
7
|
location: import("vue").PropType<import("@floating-ui/vue").Side | import("@floating-ui/vue").AlignedPlacement>;
|
|
@@ -13,8 +13,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
13
13
|
type: import("vue").PropType<("offset" | "flip" | "shift")[]>;
|
|
14
14
|
default: () => string[];
|
|
15
15
|
}, "type" | "default"> & {
|
|
16
|
-
type: import("vue").PropType<any[] | ("shift" | "
|
|
17
|
-
default: any[] | ("shift" | "
|
|
16
|
+
type: import("vue").PropType<any[] | ("shift" | "offset" | "flip")[]>;
|
|
17
|
+
default: any[] | ("shift" | "offset" | "flip")[];
|
|
18
18
|
};
|
|
19
19
|
target: import("vue").PropType<{
|
|
20
20
|
x: number;
|
|
@@ -36,8 +36,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
36
36
|
type: import("vue").PropType<("offset" | "flip" | "shift")[]>;
|
|
37
37
|
default: () => string[];
|
|
38
38
|
}, "type" | "default"> & {
|
|
39
|
-
type: import("vue").PropType<any[] | ("shift" | "
|
|
40
|
-
default: any[] | ("shift" | "
|
|
39
|
+
type: import("vue").PropType<any[] | ("shift" | "offset" | "flip")[]>;
|
|
40
|
+
default: any[] | ("shift" | "offset" | "flip")[];
|
|
41
41
|
};
|
|
42
42
|
target: import("vue").PropType<{
|
|
43
43
|
x: number;
|
|
@@ -50,7 +50,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
50
50
|
}>> & Readonly<{}>, {
|
|
51
51
|
offset: number;
|
|
52
52
|
attach: string | boolean | Element | null | undefined;
|
|
53
|
-
middlewares: any[] | ("shift" | "
|
|
53
|
+
middlewares: any[] | ("shift" | "offset" | "flip")[];
|
|
54
54
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
55
55
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
56
56
|
declare const _default: typeof __VLS_export;
|
|
@@ -181,6 +181,158 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
181
181
|
};
|
|
182
182
|
}) => any;
|
|
183
183
|
};
|
|
184
|
+
}) | null, ({
|
|
185
|
+
$: import("vue").ComponentInternalInstance;
|
|
186
|
+
$data: {};
|
|
187
|
+
$props: {
|
|
188
|
+
readonly tag?: string | any;
|
|
189
|
+
readonly modelValue?: Partial<TransformableValue> | undefined;
|
|
190
|
+
readonly movable?: boolean | undefined;
|
|
191
|
+
readonly rotatable?: boolean | undefined;
|
|
192
|
+
readonly resizable?: boolean | undefined;
|
|
193
|
+
readonly adjustableBorderRadius?: boolean | undefined;
|
|
194
|
+
readonly threshold?: number | undefined;
|
|
195
|
+
readonly resizeStrategy?: "lockAspectRatio" | "lockAspectRatioDiagonal" | undefined;
|
|
196
|
+
readonly handleStrategy?: "point" | undefined;
|
|
197
|
+
readonly handleShape?: "rect" | "circle" | undefined;
|
|
198
|
+
readonly hideUi?: boolean | undefined;
|
|
199
|
+
readonly handles?: ("move" | "resize-top" | "resize-right" | "resize-bottom" | "resize-left" | "resize-top-left" | "resize-top-right" | "resize-bottom-left" | "resize-bottom-right" | "rotate-top-left" | "rotate-top-right" | "rotate-bottom-left" | "rotate-bottom-right" | "border-radius-top-left" | "border-radius-top-right" | "border-radius-bottom-left" | "border-radius-bottom-right")[] | undefined;
|
|
200
|
+
readonly initialSize?: boolean | undefined;
|
|
201
|
+
readonly borderStyle?: "solid" | "dashed" | undefined;
|
|
202
|
+
readonly tipFormat?: ((type: "size") => string) | undefined;
|
|
203
|
+
readonly onMove?: ((args_0: TransformableValue, args_1: TransformableValue) => any) | undefined;
|
|
204
|
+
readonly onEnd?: ((args_0: TransformableValue) => any) | undefined;
|
|
205
|
+
readonly onStart?: ((args_0: TransformableValue) => any) | undefined;
|
|
206
|
+
readonly "onUpdate:modelValue"?: ((args_0: TransformableValue) => any) | undefined;
|
|
207
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
208
|
+
$attrs: {
|
|
209
|
+
[x: string]: unknown;
|
|
210
|
+
};
|
|
211
|
+
$refs: {
|
|
212
|
+
[x: string]: unknown;
|
|
213
|
+
};
|
|
214
|
+
$slots: Readonly<{
|
|
215
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
216
|
+
}>;
|
|
217
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
218
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
219
|
+
$host: Element | null;
|
|
220
|
+
$emit: ((event: "move", args_0: TransformableValue, args_1: TransformableValue) => void) & ((event: "end", args_0: TransformableValue) => void) & ((event: "start", args_0: TransformableValue) => void) & ((event: "update:modelValue", args_0: TransformableValue) => void);
|
|
221
|
+
$el: any;
|
|
222
|
+
$options: import("vue").ComponentOptionsBase<Readonly<{
|
|
223
|
+
tag?: string | any;
|
|
224
|
+
modelValue?: Partial<TransformableValue>;
|
|
225
|
+
movable?: boolean;
|
|
226
|
+
rotatable?: boolean;
|
|
227
|
+
resizable?: boolean;
|
|
228
|
+
adjustableBorderRadius?: boolean;
|
|
229
|
+
threshold?: number;
|
|
230
|
+
resizeStrategy?: "lockAspectRatio" | "lockAspectRatioDiagonal";
|
|
231
|
+
handleStrategy?: "point";
|
|
232
|
+
handleShape?: "rect" | "circle";
|
|
233
|
+
hideUi?: boolean;
|
|
234
|
+
handles?: ("move" | "resize-top" | "resize-right" | "resize-bottom" | "resize-left" | "resize-top-left" | "resize-top-right" | "resize-bottom-left" | "resize-bottom-right" | "rotate-top-left" | "rotate-top-right" | "rotate-bottom-left" | "rotate-bottom-right" | "border-radius-top-left" | "border-radius-top-right" | "border-radius-bottom-left" | "border-radius-bottom-right")[];
|
|
235
|
+
initialSize?: boolean;
|
|
236
|
+
borderStyle?: "solid" | "dashed";
|
|
237
|
+
tipFormat?: (type: "size") => string;
|
|
238
|
+
}> & Readonly<{
|
|
239
|
+
onMove?: ((args_0: TransformableValue, args_1: TransformableValue) => any) | undefined;
|
|
240
|
+
onEnd?: ((args_0: TransformableValue) => any) | undefined;
|
|
241
|
+
onStart?: ((args_0: TransformableValue) => any) | undefined;
|
|
242
|
+
"onUpdate:modelValue"?: ((args_0: TransformableValue) => any) | undefined;
|
|
243
|
+
}>, {
|
|
244
|
+
start: (event?: MouseEvent, index?: number) => boolean;
|
|
245
|
+
activeHandle: import("vue").Ref<("move" | "resize-top" | "resize-right" | "resize-bottom" | "resize-left" | "resize-top-left" | "resize-top-right" | "resize-bottom-left" | "resize-bottom-right" | "rotate-top-left" | "rotate-top-right" | "rotate-bottom-left" | "rotate-bottom-right" | "border-radius-top-left" | "border-radius-top-right" | "border-radius-bottom-left" | "border-radius-bottom-right") | undefined, ("move" | "resize-top" | "resize-right" | "resize-bottom" | "resize-left" | "resize-top-left" | "resize-top-right" | "resize-bottom-left" | "resize-bottom-right" | "rotate-top-left" | "rotate-top-right" | "rotate-bottom-left" | "rotate-bottom-right" | "border-radius-top-left" | "border-radius-top-right" | "border-radius-bottom-left" | "border-radius-bottom-right") | undefined>;
|
|
246
|
+
transforming: import("vue").Ref<boolean, boolean>;
|
|
247
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
248
|
+
move: (args_0: TransformableValue, args_1: TransformableValue) => any;
|
|
249
|
+
end: (args_0: TransformableValue) => any;
|
|
250
|
+
start: (args_0: TransformableValue) => any;
|
|
251
|
+
"update:modelValue": (args_0: TransformableValue) => any;
|
|
252
|
+
}, string, {
|
|
253
|
+
handleShape: "rect" | "circle";
|
|
254
|
+
movable: boolean;
|
|
255
|
+
rotatable: boolean;
|
|
256
|
+
resizable: boolean;
|
|
257
|
+
tag: string | any;
|
|
258
|
+
adjustableBorderRadius: boolean;
|
|
259
|
+
threshold: number;
|
|
260
|
+
handles: ("move" | "resize-top" | "resize-right" | "resize-bottom" | "resize-left" | "resize-top-left" | "resize-top-right" | "resize-bottom-left" | "resize-bottom-right" | "rotate-top-left" | "rotate-top-right" | "rotate-bottom-left" | "rotate-bottom-right" | "border-radius-top-left" | "border-radius-top-right" | "border-radius-bottom-left" | "border-radius-bottom-right")[];
|
|
261
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
262
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
263
|
+
created?: (() => void) | (() => void)[];
|
|
264
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
265
|
+
mounted?: (() => void) | (() => void)[];
|
|
266
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
267
|
+
updated?: (() => void) | (() => void)[];
|
|
268
|
+
activated?: (() => void) | (() => void)[];
|
|
269
|
+
deactivated?: (() => void) | (() => void)[];
|
|
270
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
271
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
272
|
+
destroyed?: (() => void) | (() => void)[];
|
|
273
|
+
unmounted?: (() => void) | (() => void)[];
|
|
274
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
275
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
276
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
277
|
+
};
|
|
278
|
+
$forceUpdate: () => void;
|
|
279
|
+
$nextTick: typeof import("vue").nextTick;
|
|
280
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
281
|
+
} & Readonly<{
|
|
282
|
+
handleShape: "rect" | "circle";
|
|
283
|
+
movable: boolean;
|
|
284
|
+
rotatable: boolean;
|
|
285
|
+
resizable: boolean;
|
|
286
|
+
tag: string | any;
|
|
287
|
+
adjustableBorderRadius: boolean;
|
|
288
|
+
threshold: number;
|
|
289
|
+
handles: ("move" | "resize-top" | "resize-right" | "resize-bottom" | "resize-left" | "resize-top-left" | "resize-top-right" | "resize-bottom-left" | "resize-bottom-right" | "rotate-top-left" | "rotate-top-right" | "rotate-bottom-left" | "rotate-bottom-right" | "border-radius-top-left" | "border-radius-top-right" | "border-radius-bottom-left" | "border-radius-bottom-right")[];
|
|
290
|
+
}> & Omit<Readonly<{
|
|
291
|
+
tag?: string | any;
|
|
292
|
+
modelValue?: Partial<TransformableValue>;
|
|
293
|
+
movable?: boolean;
|
|
294
|
+
rotatable?: boolean;
|
|
295
|
+
resizable?: boolean;
|
|
296
|
+
adjustableBorderRadius?: boolean;
|
|
297
|
+
threshold?: number;
|
|
298
|
+
resizeStrategy?: "lockAspectRatio" | "lockAspectRatioDiagonal";
|
|
299
|
+
handleStrategy?: "point";
|
|
300
|
+
handleShape?: "rect" | "circle";
|
|
301
|
+
hideUi?: boolean;
|
|
302
|
+
handles?: ("move" | "resize-top" | "resize-right" | "resize-bottom" | "resize-left" | "resize-top-left" | "resize-top-right" | "resize-bottom-left" | "resize-bottom-right" | "rotate-top-left" | "rotate-top-right" | "rotate-bottom-left" | "rotate-bottom-right" | "border-radius-top-left" | "border-radius-top-right" | "border-radius-bottom-left" | "border-radius-bottom-right")[];
|
|
303
|
+
initialSize?: boolean;
|
|
304
|
+
borderStyle?: "solid" | "dashed";
|
|
305
|
+
tipFormat?: (type: "size") => string;
|
|
306
|
+
}> & Readonly<{
|
|
307
|
+
onMove?: ((args_0: TransformableValue, args_1: TransformableValue) => any) | undefined;
|
|
308
|
+
onEnd?: ((args_0: TransformableValue) => any) | undefined;
|
|
309
|
+
onStart?: ((args_0: TransformableValue) => any) | undefined;
|
|
310
|
+
"onUpdate:modelValue"?: ((args_0: TransformableValue) => any) | undefined;
|
|
311
|
+
}>, "transforming" | "start" | "activeHandle" | ("handleShape" | "movable" | "rotatable" | "resizable" | "tag" | "adjustableBorderRadius" | "threshold" | "handles")> & import("vue").ShallowUnwrapRef<{
|
|
312
|
+
start: (event?: MouseEvent, index?: number) => boolean;
|
|
313
|
+
activeHandle: import("vue").Ref<("move" | "resize-top" | "resize-right" | "resize-bottom" | "resize-left" | "resize-top-left" | "resize-top-right" | "resize-bottom-left" | "resize-bottom-right" | "rotate-top-left" | "rotate-top-right" | "rotate-bottom-left" | "rotate-bottom-right" | "border-radius-top-left" | "border-radius-top-right" | "border-radius-bottom-left" | "border-radius-bottom-right") | undefined, ("move" | "resize-top" | "resize-right" | "resize-bottom" | "resize-left" | "resize-top-left" | "resize-top-right" | "resize-bottom-left" | "resize-bottom-right" | "rotate-top-left" | "rotate-top-right" | "rotate-bottom-left" | "rotate-bottom-right" | "border-radius-top-left" | "border-radius-top-right" | "border-radius-bottom-left" | "border-radius-bottom-right") | undefined>;
|
|
314
|
+
transforming: import("vue").Ref<boolean, boolean>;
|
|
315
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
316
|
+
$slots: {
|
|
317
|
+
default?: (props: {
|
|
318
|
+
value: Partial<TransformableValue> | undefined;
|
|
319
|
+
props: {
|
|
320
|
+
onPointerdown: (event?: MouseEvent, index?: number) => boolean;
|
|
321
|
+
};
|
|
322
|
+
start: (event?: MouseEvent, index?: number) => boolean;
|
|
323
|
+
}) => any;
|
|
324
|
+
} & {
|
|
325
|
+
svg?: (props: {
|
|
326
|
+
box: {
|
|
327
|
+
left: number;
|
|
328
|
+
top: number;
|
|
329
|
+
width: number;
|
|
330
|
+
height: number;
|
|
331
|
+
rotate: number;
|
|
332
|
+
borderRadius: number;
|
|
333
|
+
};
|
|
334
|
+
}) => any;
|
|
335
|
+
};
|
|
184
336
|
}) | null>>;
|
|
185
337
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
186
338
|
selectedArea: AxisAlignedBoundingBox;
|
|
@@ -44,14 +44,14 @@ type __VLS_ModelProps = {
|
|
|
44
44
|
'style'?: Record<string, any>;
|
|
45
45
|
};
|
|
46
46
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
47
|
-
declare var
|
|
47
|
+
declare var __VLS_6: {
|
|
48
48
|
scale: number;
|
|
49
49
|
ok: typeof ok;
|
|
50
50
|
cancel: typeof cancel;
|
|
51
51
|
applySourceTransformToStyle: typeof applySourceTransformToStyle;
|
|
52
52
|
};
|
|
53
53
|
type __VLS_Slots = {} & {
|
|
54
|
-
default?: (props: typeof
|
|
54
|
+
default?: (props: typeof __VLS_6) => any;
|
|
55
55
|
};
|
|
56
56
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
57
57
|
end: () => any;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
declare function updateLocation(): void;
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_9: {
|
|
3
3
|
props: {
|
|
4
4
|
ref: (el: any) => any;
|
|
5
5
|
};
|
|
6
6
|
isActive: boolean;
|
|
7
|
-
},
|
|
7
|
+
}, __VLS_11: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
activator?: (props: typeof
|
|
9
|
+
activator?: (props: typeof __VLS_9) => any;
|
|
10
10
|
} & {
|
|
11
|
-
default?: (props: typeof
|
|
11
|
+
default?: (props: typeof __VLS_11) => any;
|
|
12
12
|
};
|
|
13
13
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
14
|
location: import("vue").PropType<import("@floating-ui/vue").Side | import("@floating-ui/vue").AlignedPlacement>;
|
|
@@ -55,7 +55,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
55
55
|
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
56
56
|
}>, {
|
|
57
57
|
attach: string | boolean | Element | null | undefined;
|
|
58
|
-
middlewares: ("shift" | "
|
|
58
|
+
middlewares: ("shift" | "offset" | "flip")[];
|
|
59
59
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
60
60
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
61
61
|
declare const _default: typeof __VLS_export;
|
|
@@ -7,9 +7,9 @@ type __VLS_ModelProps = {
|
|
|
7
7
|
modelValue?: boolean;
|
|
8
8
|
};
|
|
9
9
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
-
declare var
|
|
10
|
+
declare var __VLS_22: {};
|
|
11
11
|
type __VLS_Slots = {} & {
|
|
12
|
-
default?: (props: typeof
|
|
12
|
+
default?: (props: typeof __VLS_22) => any;
|
|
13
13
|
};
|
|
14
14
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
15
|
"update:modelValue": (value: boolean | undefined) => any;
|
|
@@ -76,7 +76,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
76
76
|
"onClick:item"?: ((item: MenuItem, event: MouseEvent) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
78
|
attach: string | boolean | Element | null | undefined;
|
|
79
|
-
middlewares: ("shift" | "
|
|
79
|
+
middlewares: ("shift" | "offset" | "flip")[];
|
|
80
80
|
openOnHover: boolean;
|
|
81
81
|
persistent: boolean;
|
|
82
82
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -3,11 +3,11 @@ declare var __VLS_1: {
|
|
|
3
3
|
ref: (el: any) => any;
|
|
4
4
|
};
|
|
5
5
|
isActive: boolean;
|
|
6
|
-
},
|
|
6
|
+
}, __VLS_9: {};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
8
|
activator?: (props: typeof __VLS_1) => any;
|
|
9
9
|
} & {
|
|
10
|
-
default?: (props: typeof
|
|
10
|
+
default?: (props: typeof __VLS_9) => any;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
13
|
modelValue: BooleanConstructor;
|
|
@@ -28,7 +28,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
28
28
|
}>, {
|
|
29
29
|
activatorEl: import("vue").Ref<any, any>;
|
|
30
30
|
target: import("vue").ComputedRef<any>;
|
|
31
|
-
contentEl: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
31
|
+
contentEl: Readonly<import("vue").ShallowRef<HTMLDivElement | null, HTMLDivElement | null>>;
|
|
32
32
|
updateLocation: () => void;
|
|
33
33
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
34
|
"update:modelValue": (val: boolean) => any;
|
|
@@ -54,7 +54,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
54
54
|
"onClick:outside"?: ((event: MouseEvent) => any) | undefined;
|
|
55
55
|
}>, {
|
|
56
56
|
attach: string | boolean | Element | null | undefined;
|
|
57
|
-
middlewares: ("shift" | "
|
|
57
|
+
middlewares: ("shift" | "offset" | "flip")[];
|
|
58
58
|
modelValue: boolean;
|
|
59
59
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
60
60
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
declare function updateLocation(): void;
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_9: {
|
|
3
3
|
props: {
|
|
4
4
|
onMouseenter: () => boolean;
|
|
5
5
|
onMouseleave: () => boolean;
|
|
6
6
|
ref: (el: any) => any;
|
|
7
7
|
};
|
|
8
8
|
isActive: boolean;
|
|
9
|
-
},
|
|
9
|
+
}, __VLS_11: {}, __VLS_13: {};
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
|
-
activator?: (props: typeof
|
|
11
|
+
activator?: (props: typeof __VLS_9) => any;
|
|
12
12
|
} & {
|
|
13
|
-
default?: (props: typeof
|
|
13
|
+
default?: (props: typeof __VLS_11) => any;
|
|
14
|
+
} & {
|
|
15
|
+
kbd?: (props: typeof __VLS_13) => any;
|
|
14
16
|
};
|
|
15
17
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
18
|
+
showArrow: BooleanConstructor;
|
|
16
19
|
location: {
|
|
17
20
|
type: import("vue").PropType<import("@floating-ui/vue").Side | "top-end" | "top-start" | "right-end" | "right-start" | "bottom-end" | "bottom-start" | "left-end" | "left-start">;
|
|
18
21
|
default: NonNullable<import("@floating-ui/vue").Side | "top-end" | "top-start" | "right-end" | "right-start" | "bottom-end" | "bottom-start" | "left-end" | "left-start">;
|
|
@@ -41,6 +44,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
41
44
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
45
|
"update:modelValue": (value: boolean | undefined) => any;
|
|
43
46
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
+
showArrow: BooleanConstructor;
|
|
44
48
|
location: {
|
|
45
49
|
type: import("vue").PropType<import("@floating-ui/vue").Side | "top-end" | "top-start" | "right-end" | "right-start" | "bottom-end" | "bottom-start" | "left-end" | "left-start">;
|
|
46
50
|
default: NonNullable<import("@floating-ui/vue").Side | "top-end" | "top-start" | "right-end" | "right-start" | "bottom-end" | "bottom-start" | "left-end" | "left-start">;
|
|
@@ -70,7 +74,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
70
74
|
offset: number;
|
|
71
75
|
location: import("@floating-ui/vue").Side | "top-end" | "top-start" | "right-end" | "right-start" | "bottom-end" | "bottom-start" | "left-end" | "left-start";
|
|
72
76
|
attach: string | boolean | Element | null | undefined;
|
|
73
|
-
middlewares: ("shift" | "
|
|
77
|
+
middlewares: ("shift" | "offset" | "flip")[];
|
|
78
|
+
showArrow: boolean;
|
|
74
79
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
75
80
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
76
81
|
declare const _default: typeof __VLS_export;
|
|
@@ -21,13 +21,13 @@ type __VLS_Props = {
|
|
|
21
21
|
tipFormat?: (type: 'size') => string;
|
|
22
22
|
};
|
|
23
23
|
declare function start(event?: MouseEvent, index?: number): boolean;
|
|
24
|
-
declare var
|
|
24
|
+
declare var __VLS_8: {
|
|
25
25
|
value: Partial<TransformableValue> | undefined;
|
|
26
26
|
props: {
|
|
27
27
|
onPointerdown: typeof start;
|
|
28
28
|
};
|
|
29
29
|
start: typeof start;
|
|
30
|
-
},
|
|
30
|
+
}, __VLS_16: {
|
|
31
31
|
box: {
|
|
32
32
|
left: number;
|
|
33
33
|
top: number;
|
|
@@ -38,9 +38,9 @@ declare var __VLS_7: {
|
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
type __VLS_Slots = {} & {
|
|
41
|
-
default?: (props: typeof
|
|
41
|
+
default?: (props: typeof __VLS_8) => any;
|
|
42
42
|
} & {
|
|
43
|
-
svg?: (props: typeof
|
|
43
|
+
svg?: (props: typeof __VLS_16) => any;
|
|
44
44
|
};
|
|
45
45
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
46
46
|
start: typeof start;
|
|
@@ -34,8 +34,8 @@ export declare const makeMceOverlayProps: <Defaults extends {
|
|
|
34
34
|
type: PropType<("offset" | "flip" | "shift")[]>;
|
|
35
35
|
default: () => string[];
|
|
36
36
|
}, "type" | "default"> & {
|
|
37
|
-
type: PropType<unknown extends Defaults["middlewares"] ? ("shift" | "
|
|
38
|
-
default: unknown extends Defaults["middlewares"] ? ("shift" | "
|
|
37
|
+
type: PropType<unknown extends Defaults["middlewares"] ? ("shift" | "offset" | "flip")[] : ("shift" | "offset" | "flip")[] | Defaults["middlewares"]>;
|
|
38
|
+
default: unknown extends Defaults["middlewares"] ? ("shift" | "offset" | "flip")[] : ("shift" | "offset" | "flip")[] | Defaults["middlewares"];
|
|
39
39
|
};
|
|
40
40
|
target: unknown extends Defaults["target"] ? PropType<{
|
|
41
41
|
x: number;
|