ik-next-ui 0.0.13 → 0.0.15
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/dist/IkApprovalProcess/ik-next-ui.css +1 -1
- package/dist/IkApprovalProcess/ik.index.es.js +1 -1
- package/dist/IkApprovalProcessDetail/ik-next-ui.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +694 -656
- package/dist/IkBaseDialog/ik-next-ui.css +1 -1
- package/dist/IkBaseDialog/ik.index.es.js +154 -116
- package/dist/IkCollapseCard/ik-next-ui.css +1 -1
- package/dist/IkCollapseCard/ik.index.es.js +163 -125
- package/dist/IkDescription/ik-next-ui.css +1 -1
- package/dist/IkDescription/ik.index.es.js +610 -572
- package/dist/IkDetailPreviewFiles/ik-next-ui.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +805 -767
- package/dist/IkIconPicker/ik-next-ui.css +1 -1
- package/dist/IkIconPicker/ik.index.es.js +180 -142
- package/dist/IkImageUploadEditor/ik.index.es.js +1084 -1084
- package/dist/IkMonacoEditor/ik-next-ui.css +1 -1
- package/dist/IkMonacoEditor/ik.index.es.js +418 -380
- package/dist/IkPickerUser/ik-next-ui.css +1 -1
- package/dist/IkPreviewFile/ik-next-ui.css +1 -1
- package/dist/IkPreviewFile/ik.index.es.js +644 -606
- package/dist/IkPreviewFileDialog/ik-next-ui.css +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +658 -620
- package/dist/IkRadioGroup/ik-next-ui.css +1 -1
- package/dist/IkRadioGroup/ik.index.es.js +140 -102
- package/dist/IkSideText/ik-next-ui.css +1 -1
- package/dist/IkSideText/ik.index.es.js +131 -93
- package/dist/IkSvgIcon/ik-next-ui.css +1 -1
- package/dist/IkSvgIcon/ik.index.es.js +139 -101
- package/dist/IkUploadFile/ik-next-ui.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +880 -839
- package/dist/IkUploadImage/ik-next-ui.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +261 -223
- package/dist/IkVerticalStepBar/ik-next-ui.css +1 -1
- package/dist/IkVerticalStepBar/ik.index.es.js +140 -102
- package/dist/Provider/ik.index.es.js +13 -19
- package/dist/build/version.json.d.ts +1 -1
- package/dist/ik-next-ui.css +2 -2
- package/dist/index.es.js +10093 -10097
- package/dist/index.umd.js +103 -103
- package/dist/src/components/IkDragList/index.d.ts +3 -3
- package/dist/src/components/IkDragList/src/IkDragList.vue.d.ts +1 -1
- package/dist/src/components/IkImage/index.d.ts +15 -15
- package/dist/src/components/IkImage/src/index.vue.d.ts +1 -1
- package/dist/src/components/IkPickerUser/index.d.ts +1 -1
- package/dist/src/components/IkPickerUser/src/list/GroupList.vue.d.ts +1 -1
- package/dist/src/components/IkPickerUser/src/list/PostList.vue.d.ts +1 -1
- package/dist/src/components/IkPickerUser/src/list/RoleList.vue.d.ts +1 -1
- package/dist/src/components/IkPickerUser/src/picker.vue.d.ts +1 -1
- package/dist/src/components/IkSideText/IkSideText.vue.d.ts +1 -1
- package/dist/src/components/IkSideText/index.d.ts +1 -1
- package/dist/src/components/IkTooltip/index.d.ts +3 -3
- package/dist/src/components/IkTooltip/src/index.vue.d.ts +1 -1
- package/dist/src/components/IkTree/IkTree.vue.d.ts +2532 -788
- package/dist/src/components/IkUploadFile/src/hooks/useFileInfo.d.ts +1 -0
- package/dist/src/components/IkUploadImage/index.d.ts +3 -3
- package/dist/src/components/IkUploadImage/src/index.vue.d.ts +1 -1
- package/dist/src/components/Provider/ProviderConfig.vue.d.ts +12 -17
- package/dist/src/components/Provider/index.d.ts +30 -77
- package/dist/src/components-dev/IkUmoEditor/index.d.ts +322 -0
- package/dist/src/iking-ui/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/src/components/IkBtnContent/index.d.ts +0 -34
- package/dist/src/components/IkBtnContent/src/index.d.ts +0 -36
- package/dist/src/components/IkTree/index.d.ts +0 -12403
|
@@ -84,12 +84,12 @@ export declare const IkUploadImage: import('../../utils/typescript').SFCWithInst
|
|
|
84
84
|
accept: string;
|
|
85
85
|
preview: boolean;
|
|
86
86
|
multiple: boolean;
|
|
87
|
-
fit: "fill" | "none" | "cover" | "contain" | "scale-down";
|
|
88
87
|
headers: Record<string, any>;
|
|
89
88
|
tip: boolean;
|
|
90
89
|
tipText: string;
|
|
91
90
|
action: string;
|
|
92
91
|
limit: number;
|
|
92
|
+
fit: "fill" | "none" | "cover" | "contain" | "scale-down";
|
|
93
93
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
94
94
|
P: {};
|
|
95
95
|
B: {};
|
|
@@ -178,12 +178,12 @@ export declare const IkUploadImage: import('../../utils/typescript').SFCWithInst
|
|
|
178
178
|
accept: string;
|
|
179
179
|
preview: boolean;
|
|
180
180
|
multiple: boolean;
|
|
181
|
-
fit: "fill" | "none" | "cover" | "contain" | "scale-down";
|
|
182
181
|
headers: Record<string, any>;
|
|
183
182
|
tip: boolean;
|
|
184
183
|
tipText: string;
|
|
185
184
|
action: string;
|
|
186
185
|
limit: number;
|
|
186
|
+
fit: "fill" | "none" | "cover" | "contain" | "scale-down";
|
|
187
187
|
}>;
|
|
188
188
|
__isFragment?: never;
|
|
189
189
|
__isTeleport?: never;
|
|
@@ -273,12 +273,12 @@ export declare const IkUploadImage: import('../../utils/typescript').SFCWithInst
|
|
|
273
273
|
accept: string;
|
|
274
274
|
preview: boolean;
|
|
275
275
|
multiple: boolean;
|
|
276
|
-
fit: "fill" | "none" | "cover" | "contain" | "scale-down";
|
|
277
276
|
headers: Record<string, any>;
|
|
278
277
|
tip: boolean;
|
|
279
278
|
tipText: string;
|
|
280
279
|
action: string;
|
|
281
280
|
limit: number;
|
|
281
|
+
fit: "fill" | "none" | "cover" | "contain" | "scale-down";
|
|
282
282
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
283
283
|
$slots: {
|
|
284
284
|
trigger?(_: {}): any;
|
|
@@ -155,12 +155,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
155
155
|
accept: string;
|
|
156
156
|
preview: boolean;
|
|
157
157
|
multiple: boolean;
|
|
158
|
-
fit: "fill" | "none" | "cover" | "contain" | "scale-down";
|
|
159
158
|
headers: Record<string, any>;
|
|
160
159
|
tip: boolean;
|
|
161
160
|
tipText: string;
|
|
162
161
|
action: string;
|
|
163
162
|
limit: number;
|
|
163
|
+
fit: "fill" | "none" | "cover" | "contain" | "scale-down";
|
|
164
164
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
165
165
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
166
166
|
export default _default;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
4
|
onlyofficeConfig: {
|
|
6
|
-
type:
|
|
5
|
+
type: PropType<Record<string, any> | null>;
|
|
7
6
|
default: () => null;
|
|
8
7
|
};
|
|
9
8
|
token: {
|
|
@@ -11,7 +10,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
11
10
|
default: string;
|
|
12
11
|
};
|
|
13
12
|
userInfo: {
|
|
14
|
-
type:
|
|
13
|
+
type: PropType<Record<string, any> | null>;
|
|
15
14
|
default: () => null;
|
|
16
15
|
};
|
|
17
16
|
loadUrl: {
|
|
@@ -22,9 +21,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
22
21
|
type: StringConstructor;
|
|
23
22
|
default: string;
|
|
24
23
|
};
|
|
25
|
-
}>,
|
|
24
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}>[] | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
26
27
|
onlyofficeConfig: {
|
|
27
|
-
type:
|
|
28
|
+
type: PropType<Record<string, any> | null>;
|
|
28
29
|
default: () => null;
|
|
29
30
|
};
|
|
30
31
|
token: {
|
|
@@ -32,7 +33,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
32
33
|
default: string;
|
|
33
34
|
};
|
|
34
35
|
userInfo: {
|
|
35
|
-
type:
|
|
36
|
+
type: PropType<Record<string, any> | null>;
|
|
36
37
|
default: () => null;
|
|
37
38
|
};
|
|
38
39
|
loadUrl: {
|
|
@@ -47,13 +48,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
47
48
|
loadUrl: string;
|
|
48
49
|
uploadUrl: string;
|
|
49
50
|
token: string;
|
|
50
|
-
userInfo: Record<string, any
|
|
51
|
-
onlyofficeConfig: Record<string, any
|
|
51
|
+
userInfo: Record<string, any> | null;
|
|
52
|
+
onlyofficeConfig: Record<string, any> | null;
|
|
52
53
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
53
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
54
54
|
export default _default;
|
|
55
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
56
|
-
new (): {
|
|
57
|
-
$slots: S;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
@@ -1,72 +1,6 @@
|
|
|
1
|
-
export declare const IkProviderConfig: import('../../utils/typescript').SFCWithInstall<{
|
|
2
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
-
onlyofficeConfig: {
|
|
4
|
-
type: ObjectConstructor;
|
|
5
|
-
default: () => null;
|
|
6
|
-
};
|
|
7
|
-
token: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
userInfo: {
|
|
12
|
-
type: ObjectConstructor;
|
|
13
|
-
default: () => null;
|
|
14
|
-
};
|
|
15
|
-
loadUrl: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
uploadUrl: {
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
24
|
-
loadUrl: string;
|
|
25
|
-
uploadUrl: string;
|
|
26
|
-
token: string;
|
|
27
|
-
userInfo: Record<string, any>;
|
|
28
|
-
onlyofficeConfig: Record<string, any>;
|
|
29
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
30
|
-
P: {};
|
|
31
|
-
B: {};
|
|
32
|
-
D: {};
|
|
33
|
-
C: {};
|
|
34
|
-
M: {};
|
|
35
|
-
Defaults: {};
|
|
36
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
-
onlyofficeConfig: {
|
|
38
|
-
type: ObjectConstructor;
|
|
39
|
-
default: () => null;
|
|
40
|
-
};
|
|
41
|
-
token: {
|
|
42
|
-
type: StringConstructor;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
|
-
userInfo: {
|
|
46
|
-
type: ObjectConstructor;
|
|
47
|
-
default: () => null;
|
|
48
|
-
};
|
|
49
|
-
loadUrl: {
|
|
50
|
-
type: StringConstructor;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
uploadUrl: {
|
|
54
|
-
type: StringConstructor;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
58
|
-
loadUrl: string;
|
|
59
|
-
uploadUrl: string;
|
|
60
|
-
token: string;
|
|
61
|
-
userInfo: Record<string, any>;
|
|
62
|
-
onlyofficeConfig: Record<string, any>;
|
|
63
|
-
}>;
|
|
64
|
-
__isFragment?: never;
|
|
65
|
-
__isTeleport?: never;
|
|
66
|
-
__isSuspense?: never;
|
|
67
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
1
|
+
export declare const IkProviderConfig: import('../../utils/typescript').SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
68
2
|
onlyofficeConfig: {
|
|
69
|
-
type:
|
|
3
|
+
type: import('vue').PropType<Record<string, any> | null>;
|
|
70
4
|
default: () => null;
|
|
71
5
|
};
|
|
72
6
|
token: {
|
|
@@ -74,7 +8,7 @@ export declare const IkProviderConfig: import('../../utils/typescript').SFCWithI
|
|
|
74
8
|
default: string;
|
|
75
9
|
};
|
|
76
10
|
userInfo: {
|
|
77
|
-
type:
|
|
11
|
+
type: import('vue').PropType<Record<string, any> | null>;
|
|
78
12
|
default: () => null;
|
|
79
13
|
};
|
|
80
14
|
loadUrl: {
|
|
@@ -85,15 +19,34 @@ export declare const IkProviderConfig: import('../../utils/typescript').SFCWithI
|
|
|
85
19
|
type: StringConstructor;
|
|
86
20
|
default: string;
|
|
87
21
|
};
|
|
88
|
-
}
|
|
22
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>[] | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
25
|
+
onlyofficeConfig: {
|
|
26
|
+
type: import('vue').PropType<Record<string, any> | null>;
|
|
27
|
+
default: () => null;
|
|
28
|
+
};
|
|
29
|
+
token: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
userInfo: {
|
|
34
|
+
type: import('vue').PropType<Record<string, any> | null>;
|
|
35
|
+
default: () => null;
|
|
36
|
+
};
|
|
37
|
+
loadUrl: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
uploadUrl: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{}>, {
|
|
89
46
|
loadUrl: string;
|
|
90
47
|
uploadUrl: string;
|
|
91
48
|
token: string;
|
|
92
|
-
userInfo: Record<string, any
|
|
93
|
-
onlyofficeConfig: Record<string, any
|
|
94
|
-
}, {},
|
|
95
|
-
$slots: {
|
|
96
|
-
default?(_: {}): any;
|
|
97
|
-
};
|
|
98
|
-
})> & Record<string, any>;
|
|
49
|
+
userInfo: Record<string, any> | null;
|
|
50
|
+
onlyofficeConfig: Record<string, any> | null;
|
|
51
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
99
52
|
export default IkProviderConfig;
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
export declare const IkUmoEditor: import('../../utils/typescript').SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
title: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
disabled: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
height: {
|
|
15
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
locale: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
theme: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
placeholder: {
|
|
27
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
toolbarMode: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
menus: {
|
|
35
|
+
type: ArrayConstructor;
|
|
36
|
+
default: () => string[];
|
|
37
|
+
};
|
|
38
|
+
layout: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
pageMargin: {
|
|
43
|
+
type: ObjectConstructor;
|
|
44
|
+
default: () => {
|
|
45
|
+
left: number;
|
|
46
|
+
right: number;
|
|
47
|
+
top: number;
|
|
48
|
+
bottom: number;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
watermark: {
|
|
52
|
+
type: ObjectConstructor;
|
|
53
|
+
default: () => {};
|
|
54
|
+
};
|
|
55
|
+
enableMarkdown: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
enableBubbleMenu: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
enableBlockMenu: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
callback: {
|
|
68
|
+
type: FunctionConstructor;
|
|
69
|
+
default: null;
|
|
70
|
+
};
|
|
71
|
+
videoCallback: {
|
|
72
|
+
type: FunctionConstructor;
|
|
73
|
+
default: null;
|
|
74
|
+
};
|
|
75
|
+
audioCallback: {
|
|
76
|
+
type: FunctionConstructor;
|
|
77
|
+
default: null;
|
|
78
|
+
};
|
|
79
|
+
size: {
|
|
80
|
+
type: NumberConstructor;
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
videoSize: {
|
|
84
|
+
type: NumberConstructor;
|
|
85
|
+
default: number;
|
|
86
|
+
};
|
|
87
|
+
uploadUrl: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
loadUrl: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
header: {
|
|
96
|
+
type: ObjectConstructor;
|
|
97
|
+
default: () => null;
|
|
98
|
+
};
|
|
99
|
+
onSave: {
|
|
100
|
+
type: FunctionConstructor;
|
|
101
|
+
default: null;
|
|
102
|
+
};
|
|
103
|
+
cdnUrl: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
userInfo: {
|
|
108
|
+
type: ObjectConstructor;
|
|
109
|
+
default: () => {};
|
|
110
|
+
};
|
|
111
|
+
themeDom: {
|
|
112
|
+
type: (StringConstructor | {
|
|
113
|
+
new (): HTMLElement;
|
|
114
|
+
prototype: HTMLElement;
|
|
115
|
+
})[];
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
autoSave: {
|
|
119
|
+
type: ObjectConstructor;
|
|
120
|
+
default: () => {
|
|
121
|
+
enabled: boolean;
|
|
122
|
+
interval: number;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
setting: {
|
|
126
|
+
type: ObjectConstructor;
|
|
127
|
+
default: () => {};
|
|
128
|
+
};
|
|
129
|
+
}>, {
|
|
130
|
+
getHTML: () => string;
|
|
131
|
+
getJSON: () => Record<string, any>;
|
|
132
|
+
getText: () => string;
|
|
133
|
+
setContent: (content: string | Record<string, any>, options?: any) => void;
|
|
134
|
+
insertContent: (content: string, options?: any) => void;
|
|
135
|
+
setReadOnly: (readOnly: boolean) => void;
|
|
136
|
+
setDocument: (options: any) => void;
|
|
137
|
+
setLayout: (mode: "page" | "web") => void;
|
|
138
|
+
setPage: (options: any) => void;
|
|
139
|
+
setWatermark: (options: any) => void;
|
|
140
|
+
setToolbar: (options: any) => void;
|
|
141
|
+
getOptions: () => any;
|
|
142
|
+
getVanillaHTML: () => Promise<string>;
|
|
143
|
+
getContentExcerpt: (length?: number, suffix?: string) => string;
|
|
144
|
+
getSelectionText: () => string;
|
|
145
|
+
editor: any;
|
|
146
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
147
|
+
blur: (...args: any[]) => void;
|
|
148
|
+
focus: (...args: any[]) => void;
|
|
149
|
+
created: (...args: any[]) => void;
|
|
150
|
+
"update:modelValue": (...args: any[]) => void;
|
|
151
|
+
changed: (...args: any[]) => void;
|
|
152
|
+
saved: (...args: any[]) => void;
|
|
153
|
+
destroy: (...args: any[]) => void;
|
|
154
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
155
|
+
modelValue: {
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
title: {
|
|
160
|
+
type: StringConstructor;
|
|
161
|
+
default: string;
|
|
162
|
+
};
|
|
163
|
+
disabled: {
|
|
164
|
+
type: BooleanConstructor;
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
167
|
+
height: {
|
|
168
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
locale: {
|
|
172
|
+
type: StringConstructor;
|
|
173
|
+
default: string;
|
|
174
|
+
};
|
|
175
|
+
theme: {
|
|
176
|
+
type: StringConstructor;
|
|
177
|
+
default: string;
|
|
178
|
+
};
|
|
179
|
+
placeholder: {
|
|
180
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
181
|
+
default: string;
|
|
182
|
+
};
|
|
183
|
+
toolbarMode: {
|
|
184
|
+
type: StringConstructor;
|
|
185
|
+
default: string;
|
|
186
|
+
};
|
|
187
|
+
menus: {
|
|
188
|
+
type: ArrayConstructor;
|
|
189
|
+
default: () => string[];
|
|
190
|
+
};
|
|
191
|
+
layout: {
|
|
192
|
+
type: StringConstructor;
|
|
193
|
+
default: string;
|
|
194
|
+
};
|
|
195
|
+
pageMargin: {
|
|
196
|
+
type: ObjectConstructor;
|
|
197
|
+
default: () => {
|
|
198
|
+
left: number;
|
|
199
|
+
right: number;
|
|
200
|
+
top: number;
|
|
201
|
+
bottom: number;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
watermark: {
|
|
205
|
+
type: ObjectConstructor;
|
|
206
|
+
default: () => {};
|
|
207
|
+
};
|
|
208
|
+
enableMarkdown: {
|
|
209
|
+
type: BooleanConstructor;
|
|
210
|
+
default: boolean;
|
|
211
|
+
};
|
|
212
|
+
enableBubbleMenu: {
|
|
213
|
+
type: BooleanConstructor;
|
|
214
|
+
default: boolean;
|
|
215
|
+
};
|
|
216
|
+
enableBlockMenu: {
|
|
217
|
+
type: BooleanConstructor;
|
|
218
|
+
default: boolean;
|
|
219
|
+
};
|
|
220
|
+
callback: {
|
|
221
|
+
type: FunctionConstructor;
|
|
222
|
+
default: null;
|
|
223
|
+
};
|
|
224
|
+
videoCallback: {
|
|
225
|
+
type: FunctionConstructor;
|
|
226
|
+
default: null;
|
|
227
|
+
};
|
|
228
|
+
audioCallback: {
|
|
229
|
+
type: FunctionConstructor;
|
|
230
|
+
default: null;
|
|
231
|
+
};
|
|
232
|
+
size: {
|
|
233
|
+
type: NumberConstructor;
|
|
234
|
+
default: number;
|
|
235
|
+
};
|
|
236
|
+
videoSize: {
|
|
237
|
+
type: NumberConstructor;
|
|
238
|
+
default: number;
|
|
239
|
+
};
|
|
240
|
+
uploadUrl: {
|
|
241
|
+
type: StringConstructor;
|
|
242
|
+
default: string;
|
|
243
|
+
};
|
|
244
|
+
loadUrl: {
|
|
245
|
+
type: StringConstructor;
|
|
246
|
+
default: string;
|
|
247
|
+
};
|
|
248
|
+
header: {
|
|
249
|
+
type: ObjectConstructor;
|
|
250
|
+
default: () => null;
|
|
251
|
+
};
|
|
252
|
+
onSave: {
|
|
253
|
+
type: FunctionConstructor;
|
|
254
|
+
default: null;
|
|
255
|
+
};
|
|
256
|
+
cdnUrl: {
|
|
257
|
+
type: StringConstructor;
|
|
258
|
+
default: string;
|
|
259
|
+
};
|
|
260
|
+
userInfo: {
|
|
261
|
+
type: ObjectConstructor;
|
|
262
|
+
default: () => {};
|
|
263
|
+
};
|
|
264
|
+
themeDom: {
|
|
265
|
+
type: (StringConstructor | {
|
|
266
|
+
new (): HTMLElement;
|
|
267
|
+
prototype: HTMLElement;
|
|
268
|
+
})[];
|
|
269
|
+
default: string;
|
|
270
|
+
};
|
|
271
|
+
autoSave: {
|
|
272
|
+
type: ObjectConstructor;
|
|
273
|
+
default: () => {
|
|
274
|
+
enabled: boolean;
|
|
275
|
+
interval: number;
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
setting: {
|
|
279
|
+
type: ObjectConstructor;
|
|
280
|
+
default: () => {};
|
|
281
|
+
};
|
|
282
|
+
}>> & Readonly<{
|
|
283
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
284
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
285
|
+
onCreated?: ((...args: any[]) => any) | undefined;
|
|
286
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
287
|
+
onChanged?: ((...args: any[]) => any) | undefined;
|
|
288
|
+
onSaved?: ((...args: any[]) => any) | undefined;
|
|
289
|
+
onDestroy?: ((...args: any[]) => any) | undefined;
|
|
290
|
+
}>, {
|
|
291
|
+
header: Record<string, any>;
|
|
292
|
+
title: string;
|
|
293
|
+
height: string | number;
|
|
294
|
+
disabled: boolean;
|
|
295
|
+
size: number;
|
|
296
|
+
placeholder: string | Record<string, any>;
|
|
297
|
+
loadUrl: string;
|
|
298
|
+
uploadUrl: string;
|
|
299
|
+
userInfo: Record<string, any>;
|
|
300
|
+
modelValue: string;
|
|
301
|
+
setting: Record<string, any>;
|
|
302
|
+
callback: Function;
|
|
303
|
+
videoCallback: Function;
|
|
304
|
+
videoSize: number;
|
|
305
|
+
audioCallback: Function;
|
|
306
|
+
themeDom: string | HTMLElement;
|
|
307
|
+
theme: string;
|
|
308
|
+
locale: string;
|
|
309
|
+
watermark: Record<string, any>;
|
|
310
|
+
onSave: Function;
|
|
311
|
+
toolbarMode: string;
|
|
312
|
+
menus: unknown[];
|
|
313
|
+
layout: string;
|
|
314
|
+
pageMargin: Record<string, any>;
|
|
315
|
+
enableMarkdown: boolean;
|
|
316
|
+
enableBubbleMenu: boolean;
|
|
317
|
+
enableBlockMenu: boolean;
|
|
318
|
+
cdnUrl: string;
|
|
319
|
+
autoSave: Record<string, any>;
|
|
320
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
321
|
+
export default IkUmoEditor;
|
|
322
|
+
export * from './src/types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.0.
|
|
1
|
+
export declare const version = "0.0.13";
|
package/package.json
CHANGED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export declare const IkBtnContent: import('../../utils/typescript.js').SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
num: {
|
|
3
|
-
type: NumberConstructor;
|
|
4
|
-
default: number;
|
|
5
|
-
};
|
|
6
|
-
trigger: {
|
|
7
|
-
type: import('vue').PropType<"click" | "hover">;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
placement: {
|
|
11
|
-
type: import('vue').PropType<"top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "bottom">;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
}>, () => import("react").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
-
num: {
|
|
16
|
-
type: NumberConstructor;
|
|
17
|
-
default: number;
|
|
18
|
-
};
|
|
19
|
-
trigger: {
|
|
20
|
-
type: import('vue').PropType<"click" | "hover">;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
placement: {
|
|
24
|
-
type: import('vue').PropType<"top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "bottom">;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
}>> & Readonly<{}>, {
|
|
28
|
-
placement: "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end";
|
|
29
|
-
trigger: "click" | "hover";
|
|
30
|
-
num: number;
|
|
31
|
-
}, {}, {
|
|
32
|
-
MoreFilled: import('vue').DefineComponent<{}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
33
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
34
|
-
export default IkBtnContent;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
|
|
3
|
-
declare const IkBtnContent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
-
num: {
|
|
5
|
-
type: NumberConstructor;
|
|
6
|
-
default: number;
|
|
7
|
-
};
|
|
8
|
-
trigger: {
|
|
9
|
-
type: PropType<"click" | "hover">;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
placement: {
|
|
13
|
-
type: PropType<"top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "bottom">;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
}>, () => import("react").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
-
num: {
|
|
18
|
-
type: NumberConstructor;
|
|
19
|
-
default: number;
|
|
20
|
-
};
|
|
21
|
-
trigger: {
|
|
22
|
-
type: PropType<"click" | "hover">;
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
placement: {
|
|
26
|
-
type: PropType<"top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "bottom">;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
}>> & Readonly<{}>, {
|
|
30
|
-
placement: "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end";
|
|
31
|
-
trigger: "click" | "hover";
|
|
32
|
-
num: number;
|
|
33
|
-
}, {}, {
|
|
34
|
-
MoreFilled: import('vue').DefineComponent<{}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
35
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
36
|
-
export default IkBtnContent;
|