@kaitify/vue 0.0.1-beta.16 → 0.0.1-beta.18
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/lib/core/popover/popover.vue.d.ts +3 -3
- package/lib/editor/bubble/bubble.vue.d.ts +2 -2
- package/lib/editor/menu/built-in/full-screen/full-screen.vue.d.ts +1 -1
- package/lib/editor/menu/built-in/line-height/line-height.vue.d.ts +1 -1
- package/lib/editor/menu/menu.vue.d.ts +8 -8
- package/lib/editor/wrapper/wrapper.vue.d.ts +4 -4
- package/lib/index.d.ts +2 -0
- package/lib/kaitify-vue.es.js +210 -206
- package/lib/kaitify-vue.umd.js +2 -2
- package/package.json +2 -2
|
@@ -21,22 +21,22 @@ declare const __VLS_component: import('vue').DefineComponent<PopoverPropsType, {
|
|
|
21
21
|
update: () => Promise<void>;
|
|
22
22
|
realPlacement: import('vue').Ref<PopoverPlacementType, PopoverPlacementType>;
|
|
23
23
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
hidden: (...args: any[]) => void;
|
|
24
25
|
show: (...args: any[]) => void;
|
|
25
26
|
showing: (...args: any[]) => void;
|
|
26
27
|
shown: (...args: any[]) => void;
|
|
27
28
|
hide: (...args: any[]) => void;
|
|
28
29
|
hiding: (...args: any[]) => void;
|
|
29
|
-
hidden: (...args: any[]) => void;
|
|
30
30
|
}, string, import('vue').PublicProps, Readonly<PopoverPropsType> & Readonly<{
|
|
31
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
|
31
32
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
32
33
|
onShowing?: ((...args: any[]) => any) | undefined;
|
|
33
34
|
onShown?: ((...args: any[]) => any) | undefined;
|
|
34
35
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
35
36
|
onHiding?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
onHidden?: ((...args: any[]) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
|
-
zIndex: number;
|
|
39
38
|
disabled: boolean;
|
|
39
|
+
zIndex: number;
|
|
40
40
|
animation: "fade" | "translate" | (string & {});
|
|
41
41
|
placement: PopoverPlacementType;
|
|
42
42
|
arrow: boolean;
|
|
@@ -14,19 +14,19 @@ declare const __VLS_component: import('vue').DefineComponent<BubblePropsType, {
|
|
|
14
14
|
elRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
15
15
|
popperInstance: import('vue').Ref<Instance | undefined, Instance | undefined>;
|
|
16
16
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
hidden: (...args: any[]) => void;
|
|
17
18
|
show: (...args: any[]) => void;
|
|
18
19
|
showing: (...args: any[]) => void;
|
|
19
20
|
shown: (...args: any[]) => void;
|
|
20
21
|
hide: (...args: any[]) => void;
|
|
21
22
|
hiding: (...args: any[]) => void;
|
|
22
|
-
hidden: (...args: any[]) => void;
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<BubblePropsType> & Readonly<{
|
|
24
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
|
24
25
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
25
26
|
onShowing?: ((...args: any[]) => any) | undefined;
|
|
26
27
|
onShown?: ((...args: any[]) => any) | undefined;
|
|
27
28
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
28
29
|
onHiding?: ((...args: any[]) => any) | undefined;
|
|
29
|
-
onHidden?: ((...args: any[]) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
visible: boolean;
|
|
32
32
|
zIndex: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullScreenMenuPropsType } from './props';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<FullScreenMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FullScreenMenuPropsType> & Readonly<{}>, {
|
|
3
|
-
zIndex: number;
|
|
4
3
|
disabled: boolean;
|
|
4
|
+
zIndex: number;
|
|
5
5
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
export default _default;
|
|
@@ -2,7 +2,7 @@ import { LineHeightMenuPropsType } from './props';
|
|
|
2
2
|
import { MenuDataType } from '../../props';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<LineHeightMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LineHeightMenuPropsType> & Readonly<{}>, {
|
|
4
4
|
data: MenuDataType[];
|
|
5
|
-
disabled: boolean;
|
|
6
5
|
defaultValue: string | number;
|
|
6
|
+
disabled: boolean;
|
|
7
7
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
export default _default;
|
|
@@ -25,12 +25,12 @@ declare function __VLS_template(): {
|
|
|
25
25
|
readonly zIndex?: number | undefined;
|
|
26
26
|
readonly delay?: number | undefined;
|
|
27
27
|
readonly disabled?: boolean | undefined;
|
|
28
|
+
readonly onHidden?: ((...args: any[]) => any) | undefined;
|
|
28
29
|
readonly onShow?: ((...args: any[]) => any) | undefined;
|
|
29
30
|
readonly onShowing?: ((...args: any[]) => any) | undefined;
|
|
30
31
|
readonly onShown?: ((...args: any[]) => any) | undefined;
|
|
31
32
|
readonly onHide?: ((...args: any[]) => any) | undefined;
|
|
32
33
|
readonly onHiding?: ((...args: any[]) => any) | undefined;
|
|
33
|
-
readonly onHidden?: ((...args: any[]) => any) | undefined;
|
|
34
34
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
35
35
|
$attrs: {
|
|
36
36
|
[x: string]: unknown;
|
|
@@ -44,15 +44,15 @@ declare function __VLS_template(): {
|
|
|
44
44
|
$root: import('vue').ComponentPublicInstance | null;
|
|
45
45
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
46
46
|
$host: Element | null;
|
|
47
|
-
$emit: ((event: "
|
|
47
|
+
$emit: ((event: "hidden", ...args: any[]) => void) & ((event: "show", ...args: any[]) => void) & ((event: "showing", ...args: any[]) => void) & ((event: "shown", ...args: any[]) => void) & ((event: "hide", ...args: any[]) => void) & ((event: "hiding", ...args: any[]) => void);
|
|
48
48
|
$el: any;
|
|
49
49
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../../core/popover').PopoverPropsType> & Readonly<{
|
|
50
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
|
50
51
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
51
52
|
onShowing?: ((...args: any[]) => any) | undefined;
|
|
52
53
|
onShown?: ((...args: any[]) => any) | undefined;
|
|
53
54
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
54
55
|
onHiding?: ((...args: any[]) => any) | undefined;
|
|
55
|
-
onHidden?: ((...args: any[]) => any) | undefined;
|
|
56
56
|
}>, {
|
|
57
57
|
visible: import('vue').Ref<boolean, boolean>;
|
|
58
58
|
showPopover: () => void;
|
|
@@ -61,15 +61,15 @@ declare function __VLS_template(): {
|
|
|
61
61
|
update: () => Promise<void>;
|
|
62
62
|
realPlacement: import('vue').Ref<import('../../core/popover').PopoverPlacementType, import('../../core/popover').PopoverPlacementType>;
|
|
63
63
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
64
|
+
hidden: (...args: any[]) => void;
|
|
64
65
|
show: (...args: any[]) => void;
|
|
65
66
|
showing: (...args: any[]) => void;
|
|
66
67
|
shown: (...args: any[]) => void;
|
|
67
68
|
hide: (...args: any[]) => void;
|
|
68
69
|
hiding: (...args: any[]) => void;
|
|
69
|
-
hidden: (...args: any[]) => void;
|
|
70
70
|
}, string, {
|
|
71
|
-
zIndex: number;
|
|
72
71
|
disabled: boolean;
|
|
72
|
+
zIndex: number;
|
|
73
73
|
animation: "fade" | "translate" | (string & {});
|
|
74
74
|
placement: import('../../core/popover').PopoverPlacementType;
|
|
75
75
|
arrow: boolean;
|
|
@@ -96,21 +96,21 @@ declare function __VLS_template(): {
|
|
|
96
96
|
$nextTick: typeof import('vue').nextTick;
|
|
97
97
|
$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;
|
|
98
98
|
} & Readonly<{
|
|
99
|
-
zIndex: number;
|
|
100
99
|
disabled: boolean;
|
|
100
|
+
zIndex: number;
|
|
101
101
|
animation: "fade" | "translate" | (string & {});
|
|
102
102
|
placement: import('../../core/popover').PopoverPlacementType;
|
|
103
103
|
arrow: boolean;
|
|
104
104
|
trigger: "hover" | "click" | "custom";
|
|
105
105
|
delay: number;
|
|
106
106
|
}> & Omit<Readonly<import('../../core/popover').PopoverPropsType> & Readonly<{
|
|
107
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
|
107
108
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
108
109
|
onShowing?: ((...args: any[]) => any) | undefined;
|
|
109
110
|
onShown?: ((...args: any[]) => any) | undefined;
|
|
110
111
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
111
112
|
onHiding?: ((...args: any[]) => any) | undefined;
|
|
112
|
-
|
|
113
|
-
}>, "visible" | "popperInstance" | "showPopover" | "hidePopover" | "update" | "realPlacement" | ("zIndex" | "disabled" | "animation" | "placement" | "arrow" | "trigger" | "delay")> & import('vue').ShallowUnwrapRef<{
|
|
113
|
+
}>, "visible" | "popperInstance" | "showPopover" | "hidePopover" | "update" | "realPlacement" | ("disabled" | "zIndex" | "animation" | "placement" | "arrow" | "trigger" | "delay")> & import('vue').ShallowUnwrapRef<{
|
|
114
114
|
visible: import('vue').Ref<boolean, boolean>;
|
|
115
115
|
showPopover: () => void;
|
|
116
116
|
hidePopover: () => void;
|
|
@@ -19,17 +19,17 @@ declare const __VLS_component: import('vue').DefineComponent<WrapperPropsType, {
|
|
|
19
19
|
elRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
20
20
|
state: import('vue').ComputedRef<StateType>;
|
|
21
21
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
"update:modelValue": (...args: any[]) => void;
|
|
23
|
+
created: (...args: any[]) => void;
|
|
22
24
|
blur: (...args: any[]) => void;
|
|
23
25
|
focus: (...args: any[]) => void;
|
|
24
26
|
keydown: (...args: any[]) => void;
|
|
25
27
|
keyup: (...args: any[]) => void;
|
|
26
|
-
"update:modelValue": (...args: any[]) => void;
|
|
27
28
|
selectionUpdate: (...args: any[]) => void;
|
|
28
29
|
insertParagraph: (...args: any[]) => void;
|
|
29
30
|
deleteComplete: (...args: any[]) => void;
|
|
30
31
|
beforeUpdateView: (...args: any[]) => void;
|
|
31
32
|
afterUpdateView: (...args: any[]) => void;
|
|
32
|
-
created: (...args: any[]) => void;
|
|
33
33
|
bubbleShow: (...args: any[]) => void;
|
|
34
34
|
bubbleShowing: (...args: any[]) => void;
|
|
35
35
|
bubbleShown: (...args: any[]) => void;
|
|
@@ -37,17 +37,17 @@ declare const __VLS_component: import('vue').DefineComponent<WrapperPropsType, {
|
|
|
37
37
|
bubbleHiding: (...args: any[]) => void;
|
|
38
38
|
bubbleHidden: (...args: any[]) => void;
|
|
39
39
|
}, string, import('vue').PublicProps, Readonly<WrapperPropsType> & Readonly<{
|
|
40
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
onCreated?: ((...args: any[]) => any) | undefined;
|
|
40
42
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
41
43
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
42
44
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
43
45
|
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
44
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
45
46
|
onSelectionUpdate?: ((...args: any[]) => any) | undefined;
|
|
46
47
|
onInsertParagraph?: ((...args: any[]) => any) | undefined;
|
|
47
48
|
onDeleteComplete?: ((...args: any[]) => any) | undefined;
|
|
48
49
|
onBeforeUpdateView?: ((...args: any[]) => any) | undefined;
|
|
49
50
|
onAfterUpdateView?: ((...args: any[]) => any) | undefined;
|
|
50
|
-
onCreated?: ((...args: any[]) => any) | undefined;
|
|
51
51
|
onBubbleShow?: ((...args: any[]) => any) | undefined;
|
|
52
52
|
onBubbleShowing?: ((...args: any[]) => any) | undefined;
|
|
53
53
|
onBubbleShown?: ((...args: any[]) => any) | undefined;
|