element-less 0.0.51 → 0.0.53
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/components.d.ts +1 -0
- package/config/index.d.ts +1 -0
- package/custom/aMap/src/aMap.vue.d.ts +14 -4
- package/custom/aceEditor/index.d.ts +263 -100
- package/custom/aceEditor/src/aceEditor.vue.d.ts +25 -16
- package/custom/button-export/src/buttonExport.test.d.ts +1 -0
- package/custom/button-export/src/buttonExport.vue.d.ts +8 -2
- package/custom/button-search/index.d.ts +2 -2
- package/custom/button-search/src/buttonSearch.test.d.ts +1 -0
- package/custom/button-search/src/buttonSearch.vue.d.ts +8 -2
- package/custom/button-select/src/buttonSelect.vue.d.ts +8 -2
- package/custom/caption/index.d.ts +58 -19
- package/custom/caption/src/caption.vue.d.ts +40 -11
- package/custom/container/index.d.ts +317 -3
- package/custom/container/src/container.vue.d.ts +643 -8
- package/custom/cron/src/cron.vue.d.ts +1 -1
- package/custom/data-modal/index.d.ts +356 -134
- package/custom/data-modal/src/dataModal.vue.d.ts +24 -15
- package/custom/dynamic/create/index.d.ts +873 -11
- package/custom/dynamic/create/src/create.vue.d.ts +819 -8
- package/custom/dynamic/designer/index.d.ts +431 -178
- package/custom/dynamic/designer/src/designer.d.ts +11 -6
- package/custom/dynamic/designer/src/designer.vue.d.ts +27 -16
- package/custom/dynamic/designer/src/inner.vue.d.ts +4 -4
- package/custom/dynamic/designer/src/innerItem.vue.d.ts +366 -1
- package/custom/dynamic/designerView/index.d.ts +120 -30
- package/custom/dynamic/designerView/src/baseSetting.vue.d.ts +2 -2
- package/custom/dynamic/designerView/src/body.vue.d.ts +7 -5
- package/custom/dynamic/designerView/src/designerView.d.ts +11 -6
- package/custom/dynamic/designerView/src/designerView.vue.d.ts +192 -21
- package/custom/dynamic/designerView/src/form.vue.d.ts +4 -4
- package/custom/dynamic/designerView/src/icon/iconPark/AddPicture.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Back.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/BankCard.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Bookmark.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Button.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/CalendarDot.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Code.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/DataType.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/DividingLine.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/ExpandTextInput.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/ExportButton.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/FormOne.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/FullScreen.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/HamburgerButton.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/HandDrag.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Json.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Label.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/LayoutTwo.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/ListCheckbox.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/ListNumbers.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Margin.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/MenuUnfold.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Next.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/PictureAlbum.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Planet.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Platte.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/QueryForm.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/RadioTwo.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/SearchButton.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Select.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Share.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/SwitchOne.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Table.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Tag.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Text.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/TextStyle.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Time.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Tips.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/TopicDiscussion.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/TreeList.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Upload.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/iconPark/Word.vue.d.ts +1 -1
- package/custom/dynamic/designerView/src/icon/index.vue.d.ts +3 -4
- package/custom/dynamic/designerView/src/inner.vue.d.ts +3 -3
- package/custom/dynamic/designerView/src/innerItem.vue.d.ts +2 -2
- package/custom/dynamic/designerView/src/show.vue.d.ts +2 -2
- package/custom/dynamic/designerView/src/stateDesign.d.ts +2 -2
- package/custom/dynamic/designerView/src/wrap.vue.d.ts +4 -4
- package/custom/dynamic/render/index.d.ts +766 -322
- package/custom/dynamic/render/src/form.vue.d.ts +371 -5
- package/custom/dynamic/render/src/inner.vue.d.ts +4 -4
- package/custom/dynamic/render/src/innerArray.vue.d.ts +5 -5
- package/custom/dynamic/render/src/innerItem.vue.d.ts +9 -7
- package/custom/dynamic/render/src/innerObjectArray.vue.d.ts +278 -5
- package/custom/dynamic/render/src/innerWrap.vue.d.ts +7 -5
- package/custom/dynamic/render/src/render.d.ts +11 -6
- package/custom/dynamic/render/src/render.vue.d.ts +25 -16
- package/custom/dynamic/render/src/renderAsync.vue.d.ts +25 -16
- package/custom/dynamic/render/src/show.vue.d.ts +17 -7
- package/custom/form-node/index.d.ts +356 -30
- package/custom/form-node/src/formNode.vue.d.ts +665 -22
- package/custom/highlight/src/highlight.vue.d.ts +13 -3
- package/custom/inputTag/index.d.ts +281 -107
- package/custom/inputTag/src/inputTag.test.d.ts +1 -0
- package/custom/inputTag/src/inputTag.vue.d.ts +29 -20
- package/custom/jsonEditor/index.d.ts +264 -105
- package/custom/jsonEditor/src/jsonEditor.vue.d.ts +24 -15
- package/custom/jsonViewer/index.d.ts +28 -9
- package/custom/list/index.d.ts +219 -19
- package/custom/list/src/list.vue.d.ts +173 -42
- package/custom/mdEditor/index.d.ts +262 -100
- package/custom/mdEditor/src/mdEditor.vue.d.ts +24 -15
- package/custom/mdPreview/index.d.ts +27 -7
- package/custom/mdPreview/src/mdPreview.vue.d.ts +2 -2
- package/custom/menu-context/index.d.ts +110 -9
- package/custom/menu-context/src/menuContext.vue.d.ts +56 -8
- package/custom/menu-dropdown/index.d.ts +63 -22
- package/custom/menu-tool/index.d.ts +3 -3
- package/custom/menu-tool/src/menuTool.vue.d.ts +9 -3
- package/custom/qrCode/index.d.ts +13 -1
- package/custom/stampBadge/src/stampBadge.d.ts +2 -2
- package/custom/stampBadge/src/stampBadge.vue.d.ts +8 -2
- package/custom/tip/src/tip.vue.d.ts +10 -4
- package/custom/tipTabEditor/index.d.ts +105 -0
- package/custom/tipTabEditor/src/tipTapEditor.d.ts +27 -0
- package/custom/tipTabEditor/src/tipTapEditor.vue.d.ts +32 -0
- package/custom/uEditor/index.d.ts +270 -105
- package/custom/uEditor/src/uEditor.vue.d.ts +24 -15
- package/custom/wangEditor/index.d.ts +273 -109
- package/custom/wangEditor/src/wangEditor.test.d.ts +1 -0
- package/custom/wangEditor/src/wangEditor.vue.d.ts +28 -19
- package/custom/waterFall/index.d.ts +282 -4
- package/custom/waterFall/src/lib/components/LazyImg.vue.d.ts +288 -1
- package/custom/waterFall/src/lib/components/Waterfall.vue.d.ts +18 -8
- package/custom/waterFall/src/waterFall.vue.d.ts +544 -5
- package/custom/workFlow/index.d.ts +838 -22
- package/custom/workFlow/src/nodeAdd.vue.d.ts +1 -1
- package/custom/workFlow/src/nodeItem.vue.d.ts +770 -1
- package/custom/workFlow/src/nodeRoot.vue.d.ts +1 -1
- package/custom/workFlow/src/workFlow.vue.d.ts +768 -1
- package/custom/workPlan/src/workPlan.vue.d.ts +1 -1
- package/element-less.cjs +1 -1
- package/element-less.iife.js +1 -1
- package/element-less.js +180 -177
- package/element-less.umd.cjs +1 -1
- package/elementui/autocomplete/index.d.ts +936 -106
- package/elementui/autocomplete/src/autocomplete.vue.d.ts +468 -53
- package/elementui/cascader/index.d.ts +1810 -364
- package/elementui/cascader/src/cascader.vue.d.ts +630 -66
- package/elementui/checkbox/src/checkboxButton.vue.d.ts +53 -45
- package/elementui/col/index.d.ts +32 -32
- package/elementui/col/src/col.vue.d.ts +23 -17
- package/elementui/collapse-transition/index.d.ts +2 -2
- package/elementui/collapse-transition/src/collapseTransition.vue.d.ts +8 -2
- package/elementui/color-picker/index.d.ts +648 -112
- package/elementui/color-picker/src/colorPicker.vue.d.ts +271 -26
- package/elementui/date-picker/index.d.ts +897 -225
- package/elementui/date-picker/src/datePicker.vue.d.ts +304 -53
- package/elementui/date-picker-range/index.d.ts +867 -208
- package/elementui/date-picker-range/src/datePickerRange.vue.d.ts +304 -53
- package/elementui/dialog/index.d.ts +62 -41
- package/elementui/dialog/src/dialog.d.ts +11 -6
- package/elementui/dialog/src/dialog.vue.d.ts +43 -25
- package/elementui/drawer/src/drawer.d.ts +12 -6
- package/elementui/drawer/src/drawer.vue.d.ts +3 -6
- package/elementui/dropdown/src/dropdown.d.ts +141 -12
- package/elementui/dropdown/src/dropdown.vue.d.ts +310 -43
- package/elementui/dropdown/src/dropdownGroup.vue.d.ts +9 -3
- package/elementui/form/index.d.ts +167 -33
- package/elementui/form/src/form.d.ts +3 -8
- package/elementui/form/src/form.vue.d.ts +324 -29
- package/elementui/form-item/index.d.ts +43 -44
- package/elementui/form-item/src/formItem.d.ts +11 -6
- package/elementui/form-item/src/formItem.vue.d.ts +28 -31
- package/elementui/form-query/index.d.ts +459 -30
- package/elementui/form-query/src/formQuery.d.ts +3 -8
- package/elementui/form-query/src/formQuery.vue.d.ts +589 -15
- package/elementui/image/index.d.ts +23 -11
- package/elementui/image/src/image.d.ts +5 -3
- package/elementui/image/src/image.vue.d.ts +22 -10
- package/elementui/image-viewer/index.d.ts +136 -47
- package/elementui/image-viewer/src/imageViewer.d.ts +3 -1
- package/elementui/image-viewer/src/imageViewer.vue.d.ts +8 -2
- package/elementui/input/index.d.ts +577 -216
- package/elementui/input/src/input.vue.d.ts +107 -61
- package/elementui/input-number/index.d.ts +325 -119
- package/elementui/input-number/src/inputNumber.vue.d.ts +42 -24
- package/elementui/input-range/index.d.ts +539 -204
- package/elementui/input-range/src/inputRange.vue.d.ts +99 -53
- package/elementui/menu/index.d.ts +159 -21
- package/elementui/menu/src/menu.d.ts +10 -3
- package/elementui/menu/src/menu.vue.d.ts +261 -12
- package/elementui/menu-item/index.d.ts +11 -11
- package/elementui/menu-item/src/menuItem.d.ts +2 -2
- package/elementui/menu-item/src/menuItem.vue.d.ts +13 -7
- package/elementui/menu-sub/index.d.ts +32 -14
- package/elementui/menu-sub/src/subMenu.d.ts +10 -4
- package/elementui/menu-sub/src/subMenu.vue.d.ts +29 -11
- package/elementui/option/index.d.ts +31 -10
- package/elementui/option/src/option.vue.d.ts +6 -6
- package/elementui/option-group/index.d.ts +2 -2
- package/elementui/option-group/src/optionGroup.vue.d.ts +11 -5
- package/elementui/radio/index.d.ts +690 -268
- package/elementui/radio/src/radio.vue.d.ts +37 -28
- package/elementui/radio/src/radioButton.vue.d.ts +37 -28
- package/elementui/row/index.d.ts +8 -8
- package/elementui/row/src/row.d.ts +1 -1
- package/elementui/row/src/row.vue.d.ts +11 -5
- package/elementui/segmented/index.d.ts +452 -46
- package/elementui/segmented/src/segmented.vue.d.ts +199 -12
- package/elementui/select/index.d.ts +699 -223
- package/elementui/select/src/select.vue.d.ts +132 -52
- package/elementui/slider/index.d.ts +429 -177
- package/elementui/slider/src/slider.vue.d.ts +46 -38
- package/elementui/switch/index.d.ts +371 -158
- package/elementui/switch/src/switch.vue.d.ts +51 -43
- package/elementui/table/index.d.ts +247 -129
- package/elementui/table/src/table.d.ts +45 -39
- package/elementui/table/src/table.vue.d.ts +280 -91
- package/elementui/table-column/index.d.ts +963 -1017
- package/elementui/table-column/src/tableColumn.d.ts +28 -29
- package/elementui/table-column/src/tableColumn.vue.d.ts +104 -101
- package/elementui/table-column/src/tableColumnBool.vue.d.ts +78 -75
- package/elementui/table-column/src/tableColumnCheckbox.vue.d.ts +78 -75
- package/elementui/table-column/src/tableColumnEnum.vue.d.ts +78 -75
- package/elementui/table-column/src/tableColumnExpand.vue.d.ts +74 -71
- package/elementui/table-column/src/tableColumnHeader.vue.d.ts +74 -71
- package/elementui/table-column/src/tableColumnImage.vue.d.ts +78 -75
- package/elementui/table-column/src/tableColumnOperate.vue.d.ts +74 -71
- package/elementui/table-column/src/tableColumnSelect.vue.d.ts +74 -71
- package/elementui/tabs/index.d.ts +50 -24
- package/elementui/tabs/src/tabs.d.ts +10 -3
- package/elementui/tabs/src/tabs.vue.d.ts +46 -21
- package/elementui/textarea/index.d.ts +519 -197
- package/elementui/textarea/src/textarea.vue.d.ts +99 -53
- package/elementui/time-picker/index.d.ts +927 -236
- package/elementui/time-picker/src/timePicker.vue.d.ts +296 -45
- package/elementui/time-picker-range/index.d.ts +927 -236
- package/elementui/time-picker-range/src/timePickerRange.vue.d.ts +296 -45
- package/elementui/tree/index.d.ts +398 -148
- package/elementui/tree/src/tree.vue.d.ts +32 -23
- package/elementui/tree-select/index.d.ts +398 -148
- package/elementui/tree-select/src/treeSelect.vue.d.ts +32 -23
- package/elementui/upload/index.d.ts +655 -256
- package/elementui/upload/src/upload.vue.d.ts +44 -32
- package/global.d.ts +1 -0
- package/hooks/useSelect.d.ts +1 -1
- package/hooks/useTree.d.ts +1 -1
- package/{index-BrG3gcJg.js → index-B5sjsIhJ.js} +28567 -2895
- package/index-BT-U5EMl.cjs +1 -0
- package/index.d.ts +2 -2
- package/inner-BNNl78Ez.cjs +1 -0
- package/{inner-BkCUu5Sq.js → inner-DsAveF9g.js} +19 -21
- package/innerItem-BjPD9Cf4.cjs +1 -0
- package/{innerItem-CYXnkTl_.js → innerItem-DsGQs14A.js} +16 -16
- package/mode-csharp-CA7eRULo.cjs +1 -0
- package/{mode-csharp-BUDoHkoc.js → mode-csharp-j6JdN5Pz.js} +23 -23
- package/{mode-css-aKZuob-3.js → mode-css-B4MS0slS.js} +32 -29
- package/mode-css-CjL1__we.cjs +1 -0
- package/{mode-javascript-CN5khWkz.js → mode-javascript-0qKvHG4b.js} +74 -92
- package/mode-javascript-DLKVitHd.cjs +1 -0
- package/mode-json-D24wpNOw.cjs +1 -0
- package/{mode-json-m21X240H.js → mode-json-Mi-vGB3L.js} +17 -17
- package/{mode-mysql-Bypn9ltn.js → mode-mysql-CVAbnZqf.js} +17 -17
- package/mode-mysql-DqdI6cow.cjs +1 -0
- package/package.json +18 -1
- package/props/formItemProps.d.ts +11 -6
- package/props/formProps.d.ts +3 -8
- package/style.css +1 -1
- package/utils/index.d.ts +1 -0
- package/utils/notification.d.ts +25 -0
- package/index-D6bKLP0L.cjs +0 -1
- package/inner-Cee9H4RZ.cjs +0 -1
- package/innerItem-X9Fy7hgf.cjs +0 -1
- package/mode-csharp-C-VHpnP-.cjs +0 -1
- package/mode-css-YEYHeHi9.cjs +0 -1
- package/mode-javascript-B9UQkUia.cjs +0 -1
- package/mode-json-DL93DvRc.cjs +0 -1
- package/mode-mysql-BVU-GOoA.cjs +0 -1
|
@@ -1,13 +1,114 @@
|
|
|
1
|
-
export declare const ElsMenuContext:
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export declare const ElsMenuContext: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
data: import('element-plus/es/utils/index').EpPropFinalized<{
|
|
4
|
+
(arrayLength: number): Record<string, any>[];
|
|
5
|
+
(...items: Record<string, any>[]): Record<string, any>[];
|
|
6
|
+
new (arrayLength: number): Record<string, any>[];
|
|
7
|
+
new (...items: Record<string, any>[]): Record<string, any>[];
|
|
8
|
+
isArray(arg: any): arg is any[];
|
|
9
|
+
readonly prototype: any[];
|
|
10
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
11
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
12
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
13
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
14
|
+
of<T>(...items: T[]): T[];
|
|
15
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
16
|
+
}, unknown, unknown, never[], boolean>;
|
|
17
|
+
positionLeft: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
18
|
+
positionTop: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
19
|
+
onClick: FunctionConstructor;
|
|
20
|
+
width: import('element-plus/es/utils/index').EpPropFinalized<(NumberConstructor | StringConstructor)[], unknown, unknown, number, boolean>;
|
|
21
|
+
modelValue: {
|
|
22
|
+
type: import('vue').PropType<boolean>;
|
|
23
|
+
};
|
|
24
|
+
}>> & Readonly<{
|
|
25
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
menuCommand: (menu: any) => void;
|
|
28
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
+
"update:modelValue": (value: boolean) => any;
|
|
30
|
+
}, import('vue').PublicProps, {
|
|
31
|
+
data: Record<string, any>[];
|
|
32
|
+
width: import('element-plus/es/utils/index').EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
33
|
+
positionLeft: number;
|
|
34
|
+
positionTop: number;
|
|
35
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
36
|
+
contextMenu: HTMLUListElement;
|
|
37
|
+
}, HTMLUListElement, import('vue').ComponentProvideOptions, {
|
|
38
|
+
P: {};
|
|
39
|
+
B: {};
|
|
40
|
+
D: {};
|
|
41
|
+
C: {};
|
|
42
|
+
M: {};
|
|
43
|
+
Defaults: {};
|
|
44
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
45
|
+
data: import('element-plus/es/utils/index').EpPropFinalized<{
|
|
46
|
+
(arrayLength: number): Record<string, any>[];
|
|
47
|
+
(...items: Record<string, any>[]): Record<string, any>[];
|
|
48
|
+
new (arrayLength: number): Record<string, any>[];
|
|
49
|
+
new (...items: Record<string, any>[]): Record<string, any>[];
|
|
50
|
+
isArray(arg: any): arg is any[];
|
|
51
|
+
readonly prototype: any[];
|
|
52
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
53
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
54
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
55
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
56
|
+
of<T>(...items: T[]): T[];
|
|
57
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
58
|
+
}, unknown, unknown, never[], boolean>;
|
|
59
|
+
positionLeft: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
60
|
+
positionTop: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
61
|
+
onClick: FunctionConstructor;
|
|
62
|
+
width: import('element-plus/es/utils/index').EpPropFinalized<(NumberConstructor | StringConstructor)[], unknown, unknown, number, boolean>;
|
|
63
|
+
modelValue: {
|
|
64
|
+
type: import('vue').PropType<boolean>;
|
|
65
|
+
};
|
|
66
|
+
}>> & Readonly<{
|
|
67
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
68
|
+
}>, {
|
|
69
|
+
menuCommand: (menu: any) => void;
|
|
70
|
+
}, {}, {}, {}, {
|
|
71
|
+
data: Record<string, any>[];
|
|
72
|
+
width: import('element-plus/es/utils/index').EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
73
|
+
positionLeft: number;
|
|
74
|
+
positionTop: number;
|
|
75
|
+
}>;
|
|
76
|
+
__isFragment?: never;
|
|
77
|
+
__isTeleport?: never;
|
|
78
|
+
__isSuspense?: never;
|
|
79
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
80
|
+
data: import('element-plus/es/utils/index').EpPropFinalized<{
|
|
81
|
+
(arrayLength: number): Record<string, any>[];
|
|
82
|
+
(...items: Record<string, any>[]): Record<string, any>[];
|
|
83
|
+
new (arrayLength: number): Record<string, any>[];
|
|
84
|
+
new (...items: Record<string, any>[]): Record<string, any>[];
|
|
85
|
+
isArray(arg: any): arg is any[];
|
|
86
|
+
readonly prototype: any[];
|
|
87
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
88
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
89
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
90
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
91
|
+
of<T>(...items: T[]): T[];
|
|
92
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
93
|
+
}, unknown, unknown, never[], boolean>;
|
|
94
|
+
positionLeft: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
95
|
+
positionTop: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
96
|
+
onClick: FunctionConstructor;
|
|
97
|
+
width: import('element-plus/es/utils/index').EpPropFinalized<(NumberConstructor | StringConstructor)[], unknown, unknown, number, boolean>;
|
|
98
|
+
modelValue: {
|
|
99
|
+
type: import('vue').PropType<boolean>;
|
|
100
|
+
};
|
|
101
|
+
}>> & Readonly<{
|
|
102
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
103
|
+
}>, {
|
|
4
104
|
menuCommand: (menu: any) => void;
|
|
5
105
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
-
"update:modelValue": (
|
|
7
|
-
}, string,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
106
|
+
"update:modelValue": (value: boolean) => any;
|
|
107
|
+
}, string, {
|
|
108
|
+
data: Record<string, any>[];
|
|
109
|
+
width: import('element-plus/es/utils/index').EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
110
|
+
positionLeft: number;
|
|
111
|
+
positionTop: number;
|
|
112
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').ObjectPlugin & Record<string, any>;
|
|
12
113
|
export default ElsMenuContext;
|
|
13
114
|
export * from './src/menuContext';
|
|
@@ -1,12 +1,60 @@
|
|
|
1
1
|
declare function menuCommand(menu: any): void;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
data: import('element-plus/es/utils/index.mjs').EpPropFinalized<{
|
|
4
|
+
(arrayLength: number): Record<string, any>[];
|
|
5
|
+
(...items: Record<string, any>[]): Record<string, any>[];
|
|
6
|
+
new (arrayLength: number): Record<string, any>[];
|
|
7
|
+
new (...items: Record<string, any>[]): Record<string, any>[];
|
|
8
|
+
isArray(arg: any): arg is any[];
|
|
9
|
+
readonly prototype: any[];
|
|
10
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
11
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
12
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
13
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
14
|
+
of<T>(...items: T[]): T[];
|
|
15
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
16
|
+
}, unknown, unknown, never[], boolean>;
|
|
17
|
+
positionLeft: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
18
|
+
positionTop: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
19
|
+
onClick: FunctionConstructor;
|
|
20
|
+
width: import('element-plus/es/utils/index.mjs').EpPropFinalized<(NumberConstructor | StringConstructor)[], unknown, unknown, number, boolean>;
|
|
21
|
+
modelValue: {
|
|
22
|
+
type: import('vue').PropType<boolean>;
|
|
23
|
+
};
|
|
24
|
+
}>, {
|
|
6
25
|
menuCommand: typeof menuCommand;
|
|
7
26
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
-
"update:modelValue": (
|
|
9
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
10
|
-
|
|
11
|
-
|
|
27
|
+
"update:modelValue": (value: boolean) => any;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
|
+
data: import('element-plus/es/utils/index.mjs').EpPropFinalized<{
|
|
30
|
+
(arrayLength: number): Record<string, any>[];
|
|
31
|
+
(...items: Record<string, any>[]): Record<string, any>[];
|
|
32
|
+
new (arrayLength: number): Record<string, any>[];
|
|
33
|
+
new (...items: Record<string, any>[]): Record<string, any>[];
|
|
34
|
+
isArray(arg: any): arg is any[];
|
|
35
|
+
readonly prototype: any[];
|
|
36
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
37
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
38
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
39
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
40
|
+
of<T>(...items: T[]): T[];
|
|
41
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
42
|
+
}, unknown, unknown, never[], boolean>;
|
|
43
|
+
positionLeft: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
44
|
+
positionTop: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
45
|
+
onClick: FunctionConstructor;
|
|
46
|
+
width: import('element-plus/es/utils/index.mjs').EpPropFinalized<(NumberConstructor | StringConstructor)[], unknown, unknown, number, boolean>;
|
|
47
|
+
modelValue: {
|
|
48
|
+
type: import('vue').PropType<boolean>;
|
|
49
|
+
};
|
|
50
|
+
}>> & Readonly<{
|
|
51
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
52
|
+
}>, {
|
|
53
|
+
data: Record<string, any>[];
|
|
54
|
+
width: import('element-plus/es/utils/index.mjs').EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
55
|
+
positionLeft: number;
|
|
56
|
+
positionTop: number;
|
|
57
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
58
|
+
contextMenu: HTMLUListElement;
|
|
59
|
+
}, HTMLUListElement>;
|
|
12
60
|
export default _default;
|
|
@@ -1,4 +1,64 @@
|
|
|
1
|
-
export declare const ElsMenuDropdown:
|
|
1
|
+
export declare const ElsMenuDropdown: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
data: import('element-plus/es/utils/index').EpPropFinalized<{
|
|
4
|
+
(arrayLength: number): Record<string, any>[];
|
|
5
|
+
(...items: Record<string, any>[]): Record<string, any>[];
|
|
6
|
+
new (arrayLength: number): Record<string, any>[];
|
|
7
|
+
new (...items: Record<string, any>[]): Record<string, any>[];
|
|
8
|
+
isArray(arg: any): arg is any[];
|
|
9
|
+
readonly prototype: any[];
|
|
10
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
11
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
12
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
13
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
14
|
+
of<T>(...items: T[]): T[];
|
|
15
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
16
|
+
}, unknown, unknown, never[], boolean>;
|
|
17
|
+
isFold: BooleanConstructor;
|
|
18
|
+
unFoldCount: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
19
|
+
isMobile: BooleanConstructor;
|
|
20
|
+
onClick: FunctionConstructor;
|
|
21
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
22
|
+
data: Record<string, any>[];
|
|
23
|
+
isMobile: boolean;
|
|
24
|
+
isFold: boolean;
|
|
25
|
+
unFoldCount: number;
|
|
26
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
27
|
+
P: {};
|
|
28
|
+
B: {};
|
|
29
|
+
D: {};
|
|
30
|
+
C: {};
|
|
31
|
+
M: {};
|
|
32
|
+
Defaults: {};
|
|
33
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
34
|
+
data: import('element-plus/es/utils/index').EpPropFinalized<{
|
|
35
|
+
(arrayLength: number): Record<string, any>[];
|
|
36
|
+
(...items: Record<string, any>[]): Record<string, any>[];
|
|
37
|
+
new (arrayLength: number): Record<string, any>[];
|
|
38
|
+
new (...items: Record<string, any>[]): Record<string, any>[];
|
|
39
|
+
isArray(arg: any): arg is any[];
|
|
40
|
+
readonly prototype: any[];
|
|
41
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
42
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
43
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
44
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
45
|
+
of<T>(...items: T[]): T[];
|
|
46
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
47
|
+
}, unknown, unknown, never[], boolean>;
|
|
48
|
+
isFold: BooleanConstructor;
|
|
49
|
+
unFoldCount: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
50
|
+
isMobile: BooleanConstructor;
|
|
51
|
+
onClick: FunctionConstructor;
|
|
52
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
53
|
+
data: Record<string, any>[];
|
|
54
|
+
isMobile: boolean;
|
|
55
|
+
isFold: boolean;
|
|
56
|
+
unFoldCount: number;
|
|
57
|
+
}>;
|
|
58
|
+
__isFragment?: never;
|
|
59
|
+
__isTeleport?: never;
|
|
60
|
+
__isSuspense?: never;
|
|
61
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
2
62
|
data: import('element-plus/es/utils/index').EpPropFinalized<{
|
|
3
63
|
(arrayLength: number): Record<string, any>[];
|
|
4
64
|
(...items: Record<string, any>[]): Record<string, any>[];
|
|
@@ -17,30 +77,11 @@ export declare const ElsMenuDropdown: import('element-plus/es/utils/index').SFCW
|
|
|
17
77
|
unFoldCount: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
18
78
|
isMobile: BooleanConstructor;
|
|
19
79
|
onClick: FunctionConstructor;
|
|
20
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string,
|
|
21
|
-
data: import('element-plus/es/utils/index').EpPropFinalized<{
|
|
22
|
-
(arrayLength: number): Record<string, any>[];
|
|
23
|
-
(...items: Record<string, any>[]): Record<string, any>[];
|
|
24
|
-
new (arrayLength: number): Record<string, any>[];
|
|
25
|
-
new (...items: Record<string, any>[]): Record<string, any>[];
|
|
26
|
-
isArray(arg: any): arg is any[];
|
|
27
|
-
readonly prototype: any[];
|
|
28
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
29
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
30
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
31
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
32
|
-
of<T>(...items: T[]): T[];
|
|
33
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
34
|
-
}, unknown, unknown, never[], boolean>;
|
|
35
|
-
isFold: BooleanConstructor;
|
|
36
|
-
unFoldCount: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
37
|
-
isMobile: BooleanConstructor;
|
|
38
|
-
onClick: FunctionConstructor;
|
|
39
|
-
}>> & Readonly<{}>, {
|
|
80
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
40
81
|
data: Record<string, any>[];
|
|
41
82
|
isMobile: boolean;
|
|
42
83
|
isFold: boolean;
|
|
43
84
|
unFoldCount: number;
|
|
44
|
-
}, {},
|
|
85
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').ObjectPlugin & Record<string, any>;
|
|
45
86
|
export default ElsMenuDropdown;
|
|
46
87
|
export * from './src/menuDropdown';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const ElsMenuTool:
|
|
1
|
+
export declare const ElsMenuTool: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
3
|
url: StringConstructor;
|
|
4
4
|
logUrl: StringConstructor;
|
|
@@ -33,7 +33,7 @@ export declare const ElsMenuTool: import('element-plus/es/utils/index').SFCWithI
|
|
|
33
33
|
}, import('vue').PublicProps, {
|
|
34
34
|
data: Record<string, any>[];
|
|
35
35
|
showMenuName: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
36
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {},
|
|
36
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
37
37
|
P: {};
|
|
38
38
|
B: {};
|
|
39
39
|
D: {};
|
|
@@ -114,6 +114,6 @@ export declare const ElsMenuTool: import('element-plus/es/utils/index').SFCWithI
|
|
|
114
114
|
$slots: {
|
|
115
115
|
default?(_: {}): any;
|
|
116
116
|
};
|
|
117
|
-
})
|
|
117
|
+
}) & import('vue').ObjectPlugin & Record<string, any>;
|
|
118
118
|
export default ElsMenuTool;
|
|
119
119
|
export * from './src/menuTool';
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
declare function triggerPowerMenu(menuID: any): void;
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
-
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
4
9
|
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
5
11
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
12
|
url: StringConstructor;
|
|
7
13
|
logUrl: StringConstructor;
|
|
@@ -61,8 +67,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
61
67
|
}>, {
|
|
62
68
|
data: Record<string, any>[];
|
|
63
69
|
showMenuName: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
64
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
65
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
70
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
71
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
66
72
|
export default _default;
|
|
67
73
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
68
74
|
new (): {
|
package/custom/qrCode/index.d.ts
CHANGED
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
export declare const ElsQrCode:
|
|
1
|
+
export declare const ElsQrCode: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
3
|
+
P: {};
|
|
4
|
+
B: {};
|
|
5
|
+
D: {};
|
|
6
|
+
C: {};
|
|
7
|
+
M: {};
|
|
8
|
+
Defaults: {};
|
|
9
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
+
__isFragment?: never;
|
|
11
|
+
__isTeleport?: never;
|
|
12
|
+
__isSuspense?: never;
|
|
13
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').ObjectPlugin & Record<string, any>;
|
|
2
14
|
export default ElsQrCode;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
import { default as StampBadge } from './stampBadge.vue';
|
|
3
3
|
export declare const stampBadgeProps: {
|
|
4
|
-
type: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, "primary" | "success" | "danger" | "warning" | "
|
|
4
|
+
type: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, "primary" | "success" | "danger" | "warning" | "default" | "info", unknown, string, boolean>;
|
|
5
5
|
size: {
|
|
6
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "" | "
|
|
6
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
7
7
|
readonly required: false;
|
|
8
8
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9
9
|
__epPropKey: true;
|
|
@@ -5,15 +5,21 @@ interface Props {
|
|
|
5
5
|
content?: string;
|
|
6
6
|
}
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
-
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: any;
|
|
9
14
|
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
16
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
11
17
|
type: string;
|
|
12
18
|
size: string;
|
|
13
19
|
content: string;
|
|
14
20
|
rotate: number;
|
|
15
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
23
|
export default _default;
|
|
18
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
25
|
new (): {
|
|
@@ -4,11 +4,17 @@ interface Props {
|
|
|
4
4
|
content?: string;
|
|
5
5
|
}
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
title?(_: {}): any;
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
9
14
|
};
|
|
10
|
-
|
|
11
|
-
declare const
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
18
|
export default _default;
|
|
13
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
20
|
new (): {
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
export declare const ElsTipTapEditor: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
3
|
+
editor: import('vue').Ref<null, null>;
|
|
4
|
+
getHTML: () => any;
|
|
5
|
+
getJSON: () => any;
|
|
6
|
+
getText: () => any;
|
|
7
|
+
getPlainText: () => string;
|
|
8
|
+
getMentions: () => never[];
|
|
9
|
+
$emit: (event: "change" | "update:modelValue" | "update:richModelValue" | "change-rich" | "mention-click" | "option-click", ...args: any[]) => void;
|
|
10
|
+
options: import('.').MentionOption[];
|
|
11
|
+
placeholder: string;
|
|
12
|
+
modelValue: string;
|
|
13
|
+
labelField: string;
|
|
14
|
+
valueField: string;
|
|
15
|
+
richModelValue: string;
|
|
16
|
+
mentionFormatter: (id: string | number) => string;
|
|
17
|
+
renderOption: Function;
|
|
18
|
+
renderMention: Function;
|
|
19
|
+
enableRichOutput: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
20
|
+
$props: {
|
|
21
|
+
readonly options?: import('.').MentionOption[] | undefined;
|
|
22
|
+
readonly placeholder?: string | undefined;
|
|
23
|
+
readonly modelValue?: string | undefined;
|
|
24
|
+
readonly labelField?: string | undefined;
|
|
25
|
+
readonly valueField?: string | undefined;
|
|
26
|
+
readonly richModelValue?: string | undefined;
|
|
27
|
+
readonly mentionFormatter?: ((id: string | number) => string) | undefined;
|
|
28
|
+
readonly renderOption?: Function | undefined;
|
|
29
|
+
readonly renderMention?: Function | undefined;
|
|
30
|
+
readonly enableRichOutput?: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
31
|
+
};
|
|
32
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
33
|
+
P: {};
|
|
34
|
+
B: {};
|
|
35
|
+
D: {};
|
|
36
|
+
C: {};
|
|
37
|
+
M: {};
|
|
38
|
+
Defaults: {};
|
|
39
|
+
}, Readonly<{}> & Readonly<{}>, {
|
|
40
|
+
editor: import('vue').Ref<null, null>;
|
|
41
|
+
getHTML: () => any;
|
|
42
|
+
getJSON: () => any;
|
|
43
|
+
getText: () => any;
|
|
44
|
+
getPlainText: () => string;
|
|
45
|
+
getMentions: () => never[];
|
|
46
|
+
$emit: (event: "change" | "update:modelValue" | "update:richModelValue" | "change-rich" | "mention-click" | "option-click", ...args: any[]) => void;
|
|
47
|
+
options: import('.').MentionOption[];
|
|
48
|
+
placeholder: string;
|
|
49
|
+
modelValue: string;
|
|
50
|
+
labelField: string;
|
|
51
|
+
valueField: string;
|
|
52
|
+
richModelValue: string;
|
|
53
|
+
mentionFormatter: (id: string | number) => string;
|
|
54
|
+
renderOption: Function;
|
|
55
|
+
renderMention: Function;
|
|
56
|
+
enableRichOutput: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
57
|
+
$props: {
|
|
58
|
+
readonly options?: import('.').MentionOption[] | undefined;
|
|
59
|
+
readonly placeholder?: string | undefined;
|
|
60
|
+
readonly modelValue?: string | undefined;
|
|
61
|
+
readonly labelField?: string | undefined;
|
|
62
|
+
readonly valueField?: string | undefined;
|
|
63
|
+
readonly richModelValue?: string | undefined;
|
|
64
|
+
readonly mentionFormatter?: ((id: string | number) => string) | undefined;
|
|
65
|
+
readonly renderOption?: Function | undefined;
|
|
66
|
+
readonly renderMention?: Function | undefined;
|
|
67
|
+
readonly enableRichOutput?: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
68
|
+
};
|
|
69
|
+
}, {}, {}, {}, {}>;
|
|
70
|
+
__isFragment?: never;
|
|
71
|
+
__isTeleport?: never;
|
|
72
|
+
__isSuspense?: never;
|
|
73
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
74
|
+
editor: import('vue').Ref<null, null>;
|
|
75
|
+
getHTML: () => any;
|
|
76
|
+
getJSON: () => any;
|
|
77
|
+
getText: () => any;
|
|
78
|
+
getPlainText: () => string;
|
|
79
|
+
getMentions: () => never[];
|
|
80
|
+
$emit: (event: "change" | "update:modelValue" | "update:richModelValue" | "change-rich" | "mention-click" | "option-click", ...args: any[]) => void;
|
|
81
|
+
options: import('.').MentionOption[];
|
|
82
|
+
placeholder: string;
|
|
83
|
+
modelValue: string;
|
|
84
|
+
labelField: string;
|
|
85
|
+
valueField: string;
|
|
86
|
+
richModelValue: string;
|
|
87
|
+
mentionFormatter: (id: string | number) => string;
|
|
88
|
+
renderOption: Function;
|
|
89
|
+
renderMention: Function;
|
|
90
|
+
enableRichOutput: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
91
|
+
$props: {
|
|
92
|
+
readonly options?: import('.').MentionOption[] | undefined;
|
|
93
|
+
readonly placeholder?: string | undefined;
|
|
94
|
+
readonly modelValue?: string | undefined;
|
|
95
|
+
readonly labelField?: string | undefined;
|
|
96
|
+
readonly valueField?: string | undefined;
|
|
97
|
+
readonly richModelValue?: string | undefined;
|
|
98
|
+
readonly mentionFormatter?: ((id: string | number) => string) | undefined;
|
|
99
|
+
readonly renderOption?: Function | undefined;
|
|
100
|
+
readonly renderMention?: Function | undefined;
|
|
101
|
+
readonly enableRichOutput?: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
102
|
+
};
|
|
103
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').ObjectPlugin & Record<string, any>;
|
|
104
|
+
export default ElsTipTapEditor;
|
|
105
|
+
export * from './src/tipTapEditor';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
import { default as ElsTiptapEditor } from './tipTapEditor.vue';
|
|
3
|
+
export interface MentionOption {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}
|
|
6
|
+
export declare const tipTapEditorProps: {
|
|
7
|
+
readonly options: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => MentionOption[]) | (() => MentionOption[]) | (((new (...args: any[]) => MentionOption[]) | (() => MentionOption[])) | null)[], unknown, unknown, () => never[], boolean>;
|
|
8
|
+
readonly placeholder: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "输入 @ 提及...", boolean>;
|
|
9
|
+
readonly modelValue: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
10
|
+
readonly richModelValue: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
11
|
+
readonly labelField: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "label", boolean>;
|
|
12
|
+
readonly valueField: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "value", boolean>;
|
|
13
|
+
readonly mentionFormatter: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => (id: string | number) => string) | (() => (id: string | number) => string) | {
|
|
14
|
+
(): (id: string | number) => string;
|
|
15
|
+
new (): any;
|
|
16
|
+
readonly prototype: any;
|
|
17
|
+
} | (((new (...args: any[]) => (id: string | number) => string) | (() => (id: string | number) => string) | {
|
|
18
|
+
(): (id: string | number) => string;
|
|
19
|
+
new (): any;
|
|
20
|
+
readonly prototype: any;
|
|
21
|
+
}) | null)[], unknown, unknown, null, boolean>;
|
|
22
|
+
readonly renderOption: import('element-plus/es/utils/index').EpPropFinalized<FunctionConstructor, unknown, unknown, null, boolean>;
|
|
23
|
+
readonly renderMention: import('element-plus/es/utils/index').EpPropFinalized<FunctionConstructor, unknown, unknown, null, boolean>;
|
|
24
|
+
readonly enableRichOutput: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
25
|
+
};
|
|
26
|
+
export type TipTapEditorProps = ExtractPropTypes<typeof tipTapEditorProps>;
|
|
27
|
+
export type TipTapEditorInstance = InstanceType<typeof ElsTiptapEditor>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
editor: import('vue').Ref<null, null>;
|
|
3
|
+
getHTML: () => any;
|
|
4
|
+
getJSON: () => any;
|
|
5
|
+
getText: () => any;
|
|
6
|
+
getPlainText: () => string;
|
|
7
|
+
getMentions: () => never[];
|
|
8
|
+
$emit: (event: "change" | "update:modelValue" | "update:richModelValue" | "change-rich" | "mention-click" | "option-click", ...args: any[]) => void;
|
|
9
|
+
options: import('./tipTapEditor').MentionOption[];
|
|
10
|
+
placeholder: string;
|
|
11
|
+
modelValue: string;
|
|
12
|
+
labelField: string;
|
|
13
|
+
valueField: string;
|
|
14
|
+
richModelValue: string;
|
|
15
|
+
mentionFormatter: (id: string | number) => string;
|
|
16
|
+
renderOption: Function;
|
|
17
|
+
renderMention: Function;
|
|
18
|
+
enableRichOutput: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
19
|
+
$props: {
|
|
20
|
+
readonly options?: import('./tipTapEditor').MentionOption[] | undefined;
|
|
21
|
+
readonly placeholder?: string | undefined;
|
|
22
|
+
readonly modelValue?: string | undefined;
|
|
23
|
+
readonly labelField?: string | undefined;
|
|
24
|
+
readonly valueField?: string | undefined;
|
|
25
|
+
readonly richModelValue?: string | undefined;
|
|
26
|
+
readonly mentionFormatter?: ((id: string | number) => string) | undefined;
|
|
27
|
+
readonly renderOption?: Function | undefined;
|
|
28
|
+
readonly renderMention?: Function | undefined;
|
|
29
|
+
readonly enableRichOutput?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
30
|
+
};
|
|
31
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
32
|
+
export default _default;
|