ik-next-ui 0.0.1
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/Demo/ik.index.es.js +8 -0
- package/dist/IkApprovalProcess/ik-next-ui.css +1 -0
- package/dist/IkApprovalProcess/ik.index.es.js +2610 -0
- package/dist/IkApprovalProcessDetail/ik-next-ui.css +1 -0
- package/dist/IkApprovalProcessDetail/ik.index.es.js +17033 -0
- package/dist/IkAutoCard/ik-next-ui.css +1 -0
- package/dist/IkAutoCard/ik.index.es.js +51 -0
- package/dist/IkBaseDialog/ik-next-ui.css +1 -0
- package/dist/IkBaseDialog/ik.index.es.js +1954 -0
- package/dist/IkBottomOperate/ik-next-ui.css +1 -0
- package/dist/IkBottomOperate/ik.index.es.js +241 -0
- package/dist/IkBtnContent/ik-next-ui.css +1 -0
- package/dist/IkBtnContent/ik.index.es.js +80 -0
- package/dist/IkCollapseCard/ik-next-ui.css +1 -0
- package/dist/IkCollapseCard/ik.index.es.js +1924 -0
- package/dist/IkCurrencyInput/ik.index.es.js +60 -0
- package/dist/IkDescription/ik-next-ui.css +1 -0
- package/dist/IkDescription/ik.index.es.js +16544 -0
- package/dist/IkDetailPreviewFiles/ik-next-ui.css +1 -0
- package/dist/IkDetailPreviewFiles/ik.index.es.js +16540 -0
- package/dist/IkDragList/ik-next-ui.css +1 -0
- package/dist/IkDragList/ik.index.es.js +445 -0
- package/dist/IkEmpty/ik-next-ui.css +1 -0
- package/dist/IkEmpty/ik.index.es.js +44 -0
- package/dist/IkFileIcon/ik.index.es.js +619 -0
- package/dist/IkHorizontalStepBar/ik-next-ui.css +1 -0
- package/dist/IkHorizontalStepBar/ik.index.es.js +279 -0
- package/dist/IkIconPicker/ik-next-ui.css +1 -0
- package/dist/IkIconPicker/ik.index.es.js +2060 -0
- package/dist/IkImageUploadEditor/ik-next-ui.css +9 -0
- package/dist/IkImageUploadEditor/ik.index.es.js +9489 -0
- package/dist/IkImageViewer/ik.index.es.js +552 -0
- package/dist/IkMonacoEditor/ik-next-ui.css +1 -0
- package/dist/IkMonacoEditor/ik.index.es.js +2566 -0
- package/dist/IkOnlyOffice/ik.index.es.js +1612 -0
- package/dist/IkPage/ik.index.es.js +1 -0
- package/dist/IkPickerUser/ik-next-ui.css +1 -0
- package/dist/IkPickerUser/ik.index.es.js +2077 -0
- package/dist/IkPlayer/ik-next-ui.css +1 -0
- package/dist/IkPlayer/ik.index.es.js +11071 -0
- package/dist/IkPreviewFile/ik-next-ui.css +1 -0
- package/dist/IkPreviewFile/ik.index.es.js +16385 -0
- package/dist/IkPreviewFileDialog/ik-next-ui.css +1 -0
- package/dist/IkPreviewFileDialog/ik.index.es.js +15486 -0
- package/dist/IkRadioGroup/ik-next-ui.css +1 -0
- package/dist/IkRadioGroup/ik.index.es.js +1937 -0
- package/dist/IkSelectTag/ik-next-ui.css +1 -0
- package/dist/IkSelectTag/ik.index.es.js +359 -0
- package/dist/IkSideText/ik-next-ui.css +1 -0
- package/dist/IkSideText/ik.index.es.js +2084 -0
- package/dist/IkStatu/ik-next-ui.css +1 -0
- package/dist/IkStatu/ik.index.es.js +131 -0
- package/dist/IkStatuOver/ik-next-ui.css +1 -0
- package/dist/IkStatuOver/ik.index.es.js +284 -0
- package/dist/IkSvgIcon/ik-next-ui.css +1 -0
- package/dist/IkSvgIcon/ik.index.es.js +1845 -0
- package/dist/IkTemplateOfficeConfig/ik-next-ui.css +1 -0
- package/dist/IkTemplateOfficeConfig/ik.index.es.js +2027 -0
- package/dist/IkTinymce/ik-next-ui.css +1 -0
- package/dist/IkTinymce/ik.index.es.js +50349 -0
- package/dist/IkTooltip/ik.index.es.js +48 -0
- package/dist/IkTree/ik-next-ui.css +1 -0
- package/dist/IkTree/ik.index.es.js +136 -0
- package/dist/IkUploadFile/ik-next-ui.css +1 -0
- package/dist/IkUploadFile/ik.index.es.js +17251 -0
- package/dist/IkUploadImage/ik-next-ui.css +1 -0
- package/dist/IkUploadImage/ik.index.es.js +2946 -0
- package/dist/IkVerticalStepBar/ik-next-ui.css +1 -0
- package/dist/IkVerticalStepBar/ik.index.es.js +1987 -0
- package/dist/Provider/ik.index.es.js +42 -0
- package/dist/ik-next-ui.css +9 -0
- package/dist/index.es.js +84696 -0
- package/dist/index.umd.js +371 -0
- package/dist/resolver.cjs +1 -0
- package/dist/resolver.js +63 -0
- package/dist/src/components/Demo/index.d.ts +4 -0
- package/dist/src/components/IkApprovalProcess/index.d.ts +100 -0
- package/dist/src/components/IkApprovalProcess/src/IkApprovalProcess.vue.d.ts +100 -0
- package/dist/src/components/IkApprovalProcessDetail/index.d.ts +108 -0
- package/dist/src/components/IkApprovalProcessDetail/src/IkApprovalProcessDetail.vue.d.ts +109 -0
- package/dist/src/components/IkAutoCard/index.d.ts +60 -0
- package/dist/src/components/IkAutoCard/src/IkAutoCard.vue.d.ts +43 -0
- package/dist/src/components/IkBaseDialog/index.d.ts +141 -0
- package/dist/src/components/IkBaseDialog/src/CloseIcon.vue.d.ts +23 -0
- package/dist/src/components/IkBaseDialog/src/IkBaseDialog.vue.d.ts +87 -0
- package/dist/src/components/IkBottomOperate/index.d.ts +155 -0
- package/dist/src/components/IkBottomOperate/src/IkBottomOperate.vue.d.ts +84 -0
- package/dist/src/components/IkCollapseCard/index.d.ts +59 -0
- package/dist/src/components/IkCollapseCard/src/index.vue.d.ts +36 -0
- package/dist/src/components/IkCurrencyInput/index.d.ts +25 -0
- package/dist/src/components/IkCurrencyInput/src/IkCurrencyInput.vue.d.ts +25 -0
- package/dist/src/components/IkDescription/index.d.ts +235 -0
- package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +146 -0
- package/dist/src/components/IkDetailPreviewFiles/index.d.ts +52 -0
- package/dist/src/components/IkDetailPreviewFiles/src/IkDetailPreviewFiles.vue.d.ts +53 -0
- package/dist/src/components/IkDragList/index.d.ts +509 -0
- package/dist/src/components/IkDragList/src/IkDragList.vue.d.ts +307 -0
- package/dist/src/components/IkDragList/src/default-props.d.ts +150 -0
- package/dist/src/components/IkEmpty/index.d.ts +69 -0
- package/dist/src/components/IkEmpty/src/index.vue.d.ts +41 -0
- package/dist/src/components/IkFileIcon/index.d.ts +40 -0
- package/dist/src/components/IkFileIcon/src/IkFileIcon.vue.d.ts +42 -0
- package/dist/src/components/IkHorizontalStepBar/index.d.ts +224 -0
- package/dist/src/components/IkHorizontalStepBar/src/IkHorizontalStepBar.vue.d.ts +137 -0
- package/dist/src/components/IkIconPicker/index.d.ts +83 -0
- package/dist/src/components/IkIconPicker/src/index.vue.d.ts +83 -0
- package/dist/src/components/IkImageUploadEditor/index.d.ts +231 -0
- package/dist/src/components/IkImageUploadEditor/src/IkImageUploadEditor.vue.d.ts +232 -0
- package/dist/src/components/IkImageViewer/index.d.ts +6 -0
- package/dist/src/components/IkImageViewer/src/IkImageViewer.vue.d.ts +11 -0
- package/dist/src/components/IkImageViewer/src/image-viewer.d.ts +87 -0
- package/dist/src/components/IkMonacoEditor/index.d.ts +229 -0
- package/dist/src/components/IkMonacoEditor/src/editor-config.d.ts +10 -0
- package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +232 -0
- package/dist/src/components/IkOnlyOffice/index.d.ts +32 -0
- package/dist/src/components/IkOnlyOffice/src/IkOnlyOffice.vue.d.ts +32 -0
- package/dist/src/components/IkPage/index.d.ts +0 -0
- package/dist/src/components/IkPickerUser/index.d.ts +373 -0
- package/dist/src/components/IkPickerUser/src/avatar/Avatar.vue.d.ts +41 -0
- package/dist/src/components/IkPickerUser/src/default.d.ts +156 -0
- package/dist/src/components/IkPickerUser/src/list/GroupList.vue.d.ts +112 -0
- package/dist/src/components/IkPickerUser/src/list/PostList.vue.d.ts +110 -0
- package/dist/src/components/IkPickerUser/src/list/RoleList.vue.d.ts +110 -0
- package/dist/src/components/IkPickerUser/src/list/props.d.ts +49 -0
- package/dist/src/components/IkPickerUser/src/list/utils.d.ts +5 -0
- package/dist/src/components/IkPickerUser/src/picker.vue.d.ts +375 -0
- package/dist/src/components/IkPickerUser/src/svg/close_svg.vue.d.ts +2 -0
- package/dist/src/components/IkPickerUser/src/svg/group_svg.vue.d.ts +2 -0
- package/dist/src/components/IkPickerUser/src/svg/post_svg.vue.d.ts +2 -0
- package/dist/src/components/IkPickerUser/src/svg/role_svg.vue.d.ts +2 -0
- package/dist/src/components/IkPickerUser/src/svg/search_svg.vue.d.ts +2 -0
- package/dist/src/components/IkPickerUser/src/use-picker-data.d.ts +15 -0
- package/dist/src/components/IkPickerUser/types.d.ts +28 -0
- package/dist/src/components/IkPlayer/index.d.ts +82 -0
- package/dist/src/components/IkPlayer/src/Player.vue.d.ts +48 -0
- package/dist/src/components/IkPreviewFile/index.d.ts +382 -0
- package/dist/src/components/IkPreviewFile/src/IkPreviewFile.vue.d.ts +231 -0
- package/dist/src/components/IkPreviewFileDialog/index.d.ts +80 -0
- package/dist/src/components/IkPreviewFileDialog/src/IkPreviewFileDialog.vue.d.ts +82 -0
- package/dist/src/components/IkRadioGroup/index.d.ts +30 -0
- package/dist/src/components/IkRadioGroup/src/index.vue.d.ts +32 -0
- package/dist/src/components/IkSelectTag/index.d.ts +85 -0
- package/dist/src/components/IkSelectTag/src/index.vue.d.ts +49 -0
- package/dist/src/components/IkSideText/IkLinearIcon.vue.d.ts +32 -0
- package/dist/src/components/IkSideText/IkSideText.vue.d.ts +115 -0
- package/dist/src/components/IkSideText/index.d.ts +113 -0
- package/dist/src/components/IkSideText/useLinear.d.ts +3 -0
- package/dist/src/components/IkStatu/index.d.ts +117 -0
- package/dist/src/components/IkStatu/src/index.vue.d.ts +119 -0
- package/dist/src/components/IkStatuOver/index.d.ts +36 -0
- package/dist/src/components/IkStatuOver/src/index.vue.d.ts +52 -0
- package/dist/src/components/IkSvgIcon/index.d.ts +135 -0
- package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +146 -0
- package/dist/src/components/IkTemplateOfficeConfig/index.d.ts +130 -0
- package/dist/src/components/IkTemplateOfficeConfig/src/IkTemplateOfficeConfig.vue.d.ts +130 -0
- package/dist/src/components/IkTemplateOfficeConfig/src/templateOfficeData.vue.d.ts +57 -0
- package/dist/src/components/IkTinymce/index.d.ts +215 -0
- package/dist/src/components/IkTinymce/src/index.vue.d.ts +216 -0
- package/dist/src/components/IkTooltip/index.d.ts +84 -0
- package/dist/src/components/IkTooltip/src/index.vue.d.ts +52 -0
- package/dist/src/components/IkTree/IkTree.vue.d.ts +1597 -0
- package/dist/src/components/IkTree/index.d.ts +4693 -0
- package/dist/src/components/IkUploadFile/index.d.ts +586 -0
- package/dist/src/components/IkUploadFile/src/components/ErrorFileItem.vue.d.ts +27 -0
- package/dist/src/components/IkUploadFile/src/components/FileItemCard.vue.d.ts +85 -0
- package/dist/src/components/IkUploadFile/src/components/FileItemDefault.vue.d.ts +103 -0
- package/dist/src/components/IkUploadFile/src/components/FileItemSimple.vue.d.ts +68 -0
- package/dist/src/components/IkUploadFile/src/components/FileItemSimpleIcon.vue.d.ts +112 -0
- package/dist/src/components/IkUploadFile/src/components/UploadTriggerButton.vue.d.ts +59 -0
- package/dist/src/components/IkUploadFile/src/components/UploadTriggerCard.vue.d.ts +90 -0
- package/dist/src/components/IkUploadFile/src/hooks/useFileInfo.d.ts +35 -0
- package/dist/src/components/IkUploadFile/src/hooks/useFileOperations.d.ts +32 -0
- package/dist/src/components/IkUploadFile/src/hooks/useUploadFile.d.ts +35 -0
- package/dist/src/components/IkUploadFile/src/index.vue.d.ts +349 -0
- package/dist/src/components/IkUploadFile/src/types/index.d.ts +133 -0
- package/dist/src/components/IkUploadFile/src/utils.d.ts +0 -0
- package/dist/src/components/IkUploadImage/index.d.ts +287 -0
- package/dist/src/components/IkUploadImage/src/index.vue.d.ts +171 -0
- package/dist/src/components/IkUploadImage/src/loading.vue.d.ts +2 -0
- package/dist/src/components/IkVerticalStepBar/index.d.ts +79 -0
- package/dist/src/components/IkVerticalStepBar/src/IkVerticalStepBar.vue.d.ts +81 -0
- package/dist/src/components/Provider/ProviderConfig.vue.d.ts +59 -0
- package/dist/src/components/Provider/index.d.ts +99 -0
- package/dist/src/components/index.d.ts +37 -0
- package/dist/src/components-dev/IkUmoEditor/index.d.ts +322 -0
- package/dist/src/components-dev/IkUmoEditor/src/props.d.ts +138 -0
- package/dist/src/components-dev/IkUmoEditor/src/types.d.ts +78 -0
- package/dist/src/components-dev/IkUmoViewer/index.d.ts +168 -0
- package/dist/src/components-dev/IkUmoViewer/src/props.d.ts +85 -0
- package/dist/src/components-dev/IkUmoViewer/src/types.d.ts +13 -0
- package/dist/src/enum/search.d.ts +88 -0
- package/dist/src/iking-ui/component.d.ts +4 -0
- package/dist/src/iking-ui/defaults.d.ts +4 -0
- package/dist/src/iking-ui/index.d.ts +6 -0
- package/dist/src/iking-ui/make-installer.d.ts +5 -0
- package/dist/src/iking-ui/resolver.d.ts +16 -0
- package/dist/src/utils/approval.d.ts +10 -0
- package/dist/src/utils/file.d.ts +27 -0
- package/dist/src/utils/index.d.ts +12 -0
- package/dist/src/utils/install.d.ts +6 -0
- package/dist/src/utils/math.d.ts +3 -0
- package/dist/src/utils/object.d.ts +4 -0
- package/dist/src/utils/theme.d.ts +1 -0
- package/dist/src/utils/typescript.d.ts +6 -0
- package/dist/src/utils/use-provider.d.ts +15 -0
- package/package.json +236 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
export declare const IkUmoViewer: import('../../utils/typescript').SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
content: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
title: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
lang: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
theme: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
showHeader: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
showAside: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
editable: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
printable: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
closeable: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
shareUrl: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
fitWidth: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
needPassword: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
meta: {
|
|
51
|
+
type: ArrayConstructor;
|
|
52
|
+
default: () => never[];
|
|
53
|
+
};
|
|
54
|
+
cdnUrl: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
themeDom: {
|
|
59
|
+
type: (StringConstructor | {
|
|
60
|
+
new (): HTMLElement;
|
|
61
|
+
prototype: HTMLElement;
|
|
62
|
+
})[];
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
setting: {
|
|
66
|
+
type: ObjectConstructor;
|
|
67
|
+
default: () => {};
|
|
68
|
+
};
|
|
69
|
+
}>, {
|
|
70
|
+
getHTML: () => string;
|
|
71
|
+
getJSON: () => Record<string, any>;
|
|
72
|
+
getText: () => string;
|
|
73
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
74
|
+
close: (...args: any[]) => void;
|
|
75
|
+
edit: (...args: any[]) => void;
|
|
76
|
+
"validate-password": (...args: any[]) => void;
|
|
77
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
78
|
+
content: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
title: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
lang: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
theme: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
showHeader: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
showAside: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
editable: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
printable: {
|
|
107
|
+
type: BooleanConstructor;
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
closeable: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
shareUrl: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
fitWidth: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
needPassword: {
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
meta: {
|
|
127
|
+
type: ArrayConstructor;
|
|
128
|
+
default: () => never[];
|
|
129
|
+
};
|
|
130
|
+
cdnUrl: {
|
|
131
|
+
type: StringConstructor;
|
|
132
|
+
default: string;
|
|
133
|
+
};
|
|
134
|
+
themeDom: {
|
|
135
|
+
type: (StringConstructor | {
|
|
136
|
+
new (): HTMLElement;
|
|
137
|
+
prototype: HTMLElement;
|
|
138
|
+
})[];
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
141
|
+
setting: {
|
|
142
|
+
type: ObjectConstructor;
|
|
143
|
+
default: () => {};
|
|
144
|
+
};
|
|
145
|
+
}>> & Readonly<{
|
|
146
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
147
|
+
onEdit?: ((...args: any[]) => any) | undefined;
|
|
148
|
+
"onValidate-password"?: ((...args: any[]) => any) | undefined;
|
|
149
|
+
}>, {
|
|
150
|
+
meta: unknown[];
|
|
151
|
+
title: string;
|
|
152
|
+
content: string;
|
|
153
|
+
setting: Record<string, any>;
|
|
154
|
+
themeDom: string | HTMLElement;
|
|
155
|
+
theme: string;
|
|
156
|
+
cdnUrl: string;
|
|
157
|
+
lang: string;
|
|
158
|
+
showHeader: boolean;
|
|
159
|
+
showAside: boolean;
|
|
160
|
+
editable: boolean;
|
|
161
|
+
printable: boolean;
|
|
162
|
+
closeable: boolean;
|
|
163
|
+
shareUrl: string;
|
|
164
|
+
fitWidth: boolean;
|
|
165
|
+
needPassword: boolean;
|
|
166
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
167
|
+
export default IkUmoViewer;
|
|
168
|
+
export * from './src/types';
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { MetaItem, ValidatePasswordResult } from './types';
|
|
3
|
+
|
|
4
|
+
export declare const umoViewerProps: {
|
|
5
|
+
content: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
required: boolean;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
title: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
lang: {
|
|
15
|
+
type: PropType<"zh-CN" | "en-US">;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
theme: {
|
|
19
|
+
type: PropType<"light" | "dark" | "auto">;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
showHeader: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
showAside: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
editable: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
printable: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
closeable: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
shareUrl: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
fitWidth: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
needPassword: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
meta: {
|
|
55
|
+
type: PropType<MetaItem[]>;
|
|
56
|
+
default: () => never[];
|
|
57
|
+
};
|
|
58
|
+
cdnUrl: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
themeDom: {
|
|
63
|
+
type: (StringConstructor | {
|
|
64
|
+
new (): HTMLElement;
|
|
65
|
+
prototype: HTMLElement;
|
|
66
|
+
})[];
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
setting: {
|
|
70
|
+
type: ObjectConstructor;
|
|
71
|
+
default: () => {};
|
|
72
|
+
};
|
|
73
|
+
onClose: {
|
|
74
|
+
type: PropType<() => void>;
|
|
75
|
+
default: null;
|
|
76
|
+
};
|
|
77
|
+
onEdit: {
|
|
78
|
+
type: PropType<() => void>;
|
|
79
|
+
default: null;
|
|
80
|
+
};
|
|
81
|
+
onValidatePassword: {
|
|
82
|
+
type: PropType<(password: string) => ValidatePasswordResult>;
|
|
83
|
+
default: null;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface MetaItem {
|
|
2
|
+
label: string;
|
|
3
|
+
content: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IkUmoViewerInstance {
|
|
6
|
+
getHTML: () => string;
|
|
7
|
+
getJSON: () => Record<string, any>;
|
|
8
|
+
getText: () => string;
|
|
9
|
+
}
|
|
10
|
+
export interface ValidatePasswordEvent {
|
|
11
|
+
password: string;
|
|
12
|
+
}
|
|
13
|
+
export type ValidatePasswordResult = boolean | Promise<boolean>;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export declare enum EFormType {
|
|
2
|
+
'input' = "input",
|
|
3
|
+
'area' = "area",
|
|
4
|
+
'number' = "number",
|
|
5
|
+
'select' = "select",
|
|
6
|
+
'date' = "date",
|
|
7
|
+
'datetime' = "datetime",
|
|
8
|
+
'checkbox' = "checkbox",
|
|
9
|
+
'radio' = "radio",
|
|
10
|
+
'treeselect' = "treeselect",
|
|
11
|
+
'choosePerson' = "choosePerson"
|
|
12
|
+
}
|
|
13
|
+
export declare enum EDateType {
|
|
14
|
+
'year' = "year",
|
|
15
|
+
'month' = "month",
|
|
16
|
+
'date' = "date",
|
|
17
|
+
'dates' = "dates",
|
|
18
|
+
'datetime' = "datetime",
|
|
19
|
+
'week' = "week",
|
|
20
|
+
'datetimerange' = "datetimerange",
|
|
21
|
+
'daterange' = "daterange",
|
|
22
|
+
'monthrange' = "monthrange"
|
|
23
|
+
}
|
|
24
|
+
export declare enum EAlign {
|
|
25
|
+
'center' = "center",
|
|
26
|
+
'left' = "left",
|
|
27
|
+
'right' = "right"
|
|
28
|
+
}
|
|
29
|
+
export interface ISearchForm {
|
|
30
|
+
key: string;
|
|
31
|
+
label: string;
|
|
32
|
+
type?: keyof typeof EFormType;
|
|
33
|
+
value?: any;
|
|
34
|
+
search?: boolean;
|
|
35
|
+
show?: boolean;
|
|
36
|
+
width?: number;
|
|
37
|
+
minWidth?: number;
|
|
38
|
+
align?: keyof typeof EAlign;
|
|
39
|
+
formSlot?: string;
|
|
40
|
+
tableSlot?: string;
|
|
41
|
+
options?: Array<{
|
|
42
|
+
label: string;
|
|
43
|
+
value: any;
|
|
44
|
+
}>;
|
|
45
|
+
emptyText?: string;
|
|
46
|
+
col?: number;
|
|
47
|
+
placeholder?: string;
|
|
48
|
+
maxlength?: number;
|
|
49
|
+
minlength?: number;
|
|
50
|
+
maxline?: number;
|
|
51
|
+
disabled?: boolean;
|
|
52
|
+
max?: number;
|
|
53
|
+
min?: number;
|
|
54
|
+
step?: number;
|
|
55
|
+
precision?: number;
|
|
56
|
+
multiple?: boolean;
|
|
57
|
+
filterable?: boolean;
|
|
58
|
+
nodeKey?: string;
|
|
59
|
+
props?: {
|
|
60
|
+
label?: string | Function;
|
|
61
|
+
children?: string;
|
|
62
|
+
disabled?: string | Function;
|
|
63
|
+
class?: string | Function;
|
|
64
|
+
};
|
|
65
|
+
highlightCurrent?: boolean;
|
|
66
|
+
defaultExpandAll?: boolean;
|
|
67
|
+
expandOnClickNode?: boolean;
|
|
68
|
+
checkOnClickNode?: boolean;
|
|
69
|
+
defaultExpandedKeys?: Array<string>;
|
|
70
|
+
showCheckbox?: boolean;
|
|
71
|
+
checkStrictly?: boolean;
|
|
72
|
+
defaultCheckedKeys?: Array<string>;
|
|
73
|
+
currentNodeKey?: string | number;
|
|
74
|
+
accordion?: boolean;
|
|
75
|
+
editable?: boolean;
|
|
76
|
+
startPlaceholder?: string;
|
|
77
|
+
endplaceholder?: string;
|
|
78
|
+
dateType?: EDateType;
|
|
79
|
+
format?: string;
|
|
80
|
+
popperclass?: string;
|
|
81
|
+
rangeSeparator?: string;
|
|
82
|
+
defaultValue?: Date | [Date, Date];
|
|
83
|
+
defaultTime?: Date | [Date, Date];
|
|
84
|
+
valueFormat?: string;
|
|
85
|
+
disabledDate?: (time: Date) => boolean;
|
|
86
|
+
typeOption?: Object;
|
|
87
|
+
_list?: Array<any>;
|
|
88
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ComponentResolver } from 'unplugin-vue-components';
|
|
2
|
+
|
|
3
|
+
export interface IkingWebUiProResolverOptions {
|
|
4
|
+
/**
|
|
5
|
+
* 是否导入样式
|
|
6
|
+
* @default true
|
|
7
|
+
*/
|
|
8
|
+
importStyle?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* 创建 ik-next-ui 的组件解析器
|
|
12
|
+
* @param options - 解析器配置选项
|
|
13
|
+
* @returns ComponentResolver 数组
|
|
14
|
+
*/
|
|
15
|
+
export declare function IkingWebUiProResolver(options?: IkingWebUiProResolverOptions): ComponentResolver[];
|
|
16
|
+
export default IkingWebUiProResolver;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const useState: (props: any) => {
|
|
2
|
+
nodeType: any;
|
|
3
|
+
defaultFile: any;
|
|
4
|
+
statusWithoutApprover: any;
|
|
5
|
+
multiple: boolean;
|
|
6
|
+
chooseType: never[];
|
|
7
|
+
statusOption: any;
|
|
8
|
+
listData: never[];
|
|
9
|
+
};
|
|
10
|
+
export declare const getTypeIcon: (state: any, type: any, approvePersonList?: any) => string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface customDataInterface {
|
|
2
|
+
excel: any;
|
|
3
|
+
word: any;
|
|
4
|
+
txt: any;
|
|
5
|
+
zip: any;
|
|
6
|
+
image: any;
|
|
7
|
+
video: any;
|
|
8
|
+
ppt: any;
|
|
9
|
+
pdf: any;
|
|
10
|
+
audio: any;
|
|
11
|
+
unknow: any;
|
|
12
|
+
}
|
|
13
|
+
export interface iconFieldInter {
|
|
14
|
+
type: string;
|
|
15
|
+
icon: string;
|
|
16
|
+
}
|
|
17
|
+
export interface fieldInter {
|
|
18
|
+
name?: string;
|
|
19
|
+
url?: string;
|
|
20
|
+
suffix?: string;
|
|
21
|
+
size?: number;
|
|
22
|
+
}
|
|
23
|
+
type FileType = "excel" | "zip" | "image" | "video" | "audio" | "pdf" | "txt" | "word" | "ppt" | "exe" | "json" | "unknown";
|
|
24
|
+
export declare const getFileType: (file: any, mixDefaultField: any) => FileType;
|
|
25
|
+
export declare const getFileAttr: (suffix: string) => any;
|
|
26
|
+
export declare const getFileTypes: (fileType: string) => string;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HTMLAttributes, VNode } from 'vue';
|
|
2
|
+
|
|
3
|
+
export * from './install';
|
|
4
|
+
export * from './object';
|
|
5
|
+
export declare function removeUndefinedValues(obj: any): {
|
|
6
|
+
[k: string]: unknown;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* 合并 class 名称的工具函数
|
|
10
|
+
* 类似于 clsx/classnames,用于条件性地组合 class
|
|
11
|
+
*/
|
|
12
|
+
export declare function cn(...inputs: (string | undefined | null | boolean | HTMLAttributes['class'] | VNode[])[]): string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Directive } from 'vue';
|
|
2
|
+
import { SFCInstallWithContext, SFCWithInstall } from './typescript';
|
|
3
|
+
|
|
4
|
+
export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E) => SFCWithInstall<T> & E;
|
|
5
|
+
export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
|
|
6
|
+
export declare const withInstallDirective: <T extends Directive>(directive: T, name: string) => SFCWithInstall<T>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const watchTheme: (cb: Function) => void;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
|
|
3
|
+
declare const useProvider: (props: any) => {
|
|
4
|
+
cLoadUrl: ComputedRef<any>;
|
|
5
|
+
cUploadUrl: ComputedRef<any>;
|
|
6
|
+
cToken: ComputedRef<any>;
|
|
7
|
+
cOnlyofficeConfig: ComputedRef<{
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
serverUrl: string;
|
|
10
|
+
accept: string;
|
|
11
|
+
}>;
|
|
12
|
+
cUserInfo: ComputedRef<any>;
|
|
13
|
+
cOnlyofficePreviewType: string[];
|
|
14
|
+
};
|
|
15
|
+
export default useProvider;
|