ele-admin-plus 1.1.6-beta.5 → 1.1.6-beta.6
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/es/ele-alert/index.d.ts +6 -6
- package/es/ele-alert/props.d.ts +1 -1
- package/{lib/ele-app/types/element.d.ts → es/ele-app/el.d.ts} +101 -4
- package/es/ele-app/index.d.ts +0 -1
- package/es/ele-app/plus.d.ts +75 -0
- package/es/ele-app/style/common/index.js +1 -1
- package/es/ele-app/style/message/index.js +2 -2
- package/es/ele-app/style/overwrite/autocomplete/index.js +1 -1
- package/es/ele-app/style/overwrite/backtop/index.js +1 -1
- package/es/ele-app/style/overwrite/cascader/index.js +1 -1
- package/es/ele-app/style/overwrite/checkbox/index.js +1 -1
- package/es/ele-app/style/overwrite/color-picker/index.js +1 -1
- package/es/ele-app/style/overwrite/date-picker/index.js +1 -1
- package/es/ele-app/style/overwrite/descriptions/index.js +1 -1
- package/es/ele-app/style/overwrite/image-viewer/index.js +1 -1
- package/es/ele-app/style/overwrite/index.js +17 -17
- package/es/ele-app/style/overwrite/message-box/index.js +2 -2
- package/es/ele-app/style/overwrite/notification/index.js +2 -2
- package/es/ele-app/style/overwrite/popper/index.js +1 -1
- package/es/ele-app/style/overwrite/radio/index.js +1 -1
- package/es/ele-app/style/overwrite/select/index.js +1 -1
- package/es/ele-app/style/overwrite/table-filter/index.js +1 -1
- package/es/ele-app/style/overwrite/tag/index.js +1 -1
- package/es/ele-app/style/overwrite/tree/index.js +1 -1
- package/es/ele-app/style/overwrite/tree-select/index.js +1 -1
- package/es/ele-app/style/scrollbar/index.js +1 -1
- package/es/ele-app/{types/core.d.ts → types.d.ts} +10 -4
- package/es/ele-avatar-group/index.d.ts +2 -2
- package/es/ele-avatar-group/types.d.ts +21 -0
- package/{lib/ele-bar-code/types/index.d.ts → es/ele-bar-code/types.d.ts} +2 -0
- package/es/ele-basic-select/index.d.ts +8 -7
- package/{lib/ele-basic-select/types/index.d.ts → es/ele-basic-select/types.d.ts} +11 -8
- package/es/ele-breadcrumb/index.d.ts +1 -1
- package/es/ele-breadcrumb/types.d.ts +21 -0
- package/es/ele-check-card/components/card-item.d.ts +1 -1
- package/es/ele-check-card/index.d.ts +4 -4
- package/es/ele-check-card/props.d.ts +1 -1
- package/es/ele-check-card/types.d.ts +37 -0
- package/es/ele-config-provider/index.d.ts +2 -2
- package/es/ele-config-provider/props.d.ts +1 -1
- package/es/ele-config-provider/types.d.ts +124 -0
- package/es/ele-copyable/index.d.ts +5 -7
- package/es/ele-copyable/props.d.ts +1 -1
- package/{lib/ele-copyable/types/index.d.ts → es/ele-copyable/types.d.ts} +4 -2
- package/es/ele-cropper/index.d.ts +0 -2
- package/es/ele-cropper/types.d.ts +98 -0
- package/es/ele-cropper-modal/index.d.ts +2 -2
- package/es/ele-cropper-modal/props.d.ts +1 -1
- package/es/ele-data-table/index.d.ts +5 -2
- package/{lib/ele-data-table/types/index.d.ts → es/ele-data-table/types.d.ts} +111 -74
- package/es/ele-data-table/util.d.ts +2 -1
- package/es/ele-drawer/index.d.ts +3 -3
- package/es/ele-dropdown/index.d.ts +1 -1
- package/es/ele-dropdown/types.d.ts +20 -0
- package/es/ele-edit-tag/index.d.ts +3 -3
- package/{lib/ele-edit-tag/types/index.d.ts → es/ele-edit-tag/types.d.ts} +1 -0
- package/es/ele-ellipsis/index.d.ts +3 -3
- package/es/ele-ellipsis/props.d.ts +1 -1
- package/es/ele-ellipsis/types.d.ts +9 -0
- package/es/ele-file-list/components/file-grid-item.d.ts +1 -1
- package/es/ele-file-list/components/file-grid.d.ts +1 -1
- package/es/ele-file-list/components/file-table-item.d.ts +1 -1
- package/es/ele-file-list/components/file-table.d.ts +1 -1
- package/es/ele-file-list/index.d.ts +2 -2
- package/es/ele-file-list/props.d.ts +1 -1
- package/es/ele-file-list/types.d.ts +105 -0
- package/es/ele-icon-select/components/icon-grid.d.ts +1 -1
- package/es/ele-icon-select/index.d.ts +5 -5
- package/es/ele-icon-select/props.d.ts +1 -1
- package/es/ele-icon-select/types.d.ts +16 -0
- package/es/ele-loading/{types/index.d.ts → types.d.ts} +6 -4
- package/es/ele-map-picker/components/map-view.d.ts +14 -12
- package/es/ele-map-picker/index.d.ts +6 -6
- package/es/ele-map-picker/props.d.ts +2 -1
- package/es/ele-map-picker/types.d.ts +93 -0
- package/es/ele-menus/index.d.ts +1 -1
- package/es/ele-menus/types.d.ts +96 -0
- package/es/ele-modal/index.d.ts +8 -10
- package/{lib/ele-modal/types/index.d.ts → es/ele-modal/types.d.ts} +22 -7
- package/es/ele-popconfirm/index.d.ts +10 -9
- package/es/ele-popconfirm/props.d.ts +1 -1
- package/es/ele-popover/index.d.ts +1 -1
- package/es/ele-popover/props.d.ts +19 -19
- package/es/ele-printer/types.d.ts +48 -0
- package/es/ele-pro-layout/components/pro-sidebar.d.ts +1 -1
- package/es/ele-pro-layout/components/pro-sidebox.d.ts +1 -1
- package/es/ele-pro-layout/components/pro-tabs.d.ts +1 -1
- package/es/ele-pro-layout/components/tab-dropdown.d.ts +1 -1
- package/es/ele-pro-layout/index.d.ts +15 -11
- package/es/ele-pro-layout/props.d.ts +1 -1
- package/es/ele-pro-layout/types.d.ts +253 -0
- package/es/ele-pro-table/index.d.ts +8 -9
- package/es/ele-pro-table/props.d.ts +4 -4
- package/es/ele-pro-table/types.d.ts +277 -0
- package/es/ele-pro-table/util.d.ts +1 -1
- package/es/ele-qr-code/index.d.ts +1 -1
- package/es/ele-qr-code/types.d.ts +41 -0
- package/es/ele-qr-code-svg/index.d.ts +1 -1
- package/es/ele-segmented/index.d.ts +2 -2
- package/es/ele-segmented/types.d.ts +28 -0
- package/es/ele-steps/{types/index.d.ts → types.d.ts} +5 -3
- package/es/ele-table-select/index.d.ts +12 -12
- package/es/ele-table-select/props.d.ts +1 -1
- package/es/ele-tabs/components/tab-title.d.ts +1 -1
- package/es/ele-tabs/index.d.ts +8 -7
- package/es/ele-tabs/props.d.ts +2 -1
- package/es/ele-tabs/types.d.ts +64 -0
- package/es/ele-text/index.d.ts +4 -4
- package/es/ele-text/props.d.ts +1 -1
- package/es/ele-text/types.d.ts +35 -0
- package/es/ele-tooltip/index.d.ts +1 -1
- package/es/ele-tooltip/props.d.ts +7 -7
- package/es/ele-tour/index.d.ts +1 -1
- package/es/ele-tour/types.d.ts +42 -0
- package/es/ele-tour/util.d.ts +1 -1
- package/es/ele-tree-select/index.d.ts +4 -3
- package/es/ele-tree-select/props.d.ts +1 -1
- package/es/ele-tree-select/{types/index.d.ts → types.d.ts} +5 -1
- package/es/ele-upload-list/components/list-item.d.ts +1 -1
- package/es/ele-upload-list/index.d.ts +4 -4
- package/es/ele-upload-list/props.d.ts +1 -1
- package/es/ele-upload-list/types.d.ts +45 -0
- package/es/ele-virtual-table/components/body-cell.d.ts +1 -1
- package/es/ele-virtual-table/components/body-row.d.ts +1 -1
- package/es/ele-virtual-table/components/cell-filter.d.ts +1 -1
- package/es/ele-virtual-table/index.d.ts +10 -9
- package/es/ele-virtual-table/types.d.ts +195 -0
- package/es/ele-watermark/index.d.ts +1 -1
- package/es/ele-watermark/types.d.ts +39 -0
- package/lib/ele-alert/index.d.ts +6 -6
- package/lib/ele-alert/props.d.ts +1 -1
- package/{es/ele-app/types/element.d.ts → lib/ele-app/el.d.ts} +101 -4
- package/lib/ele-app/index.d.ts +0 -1
- package/lib/ele-app/plus.d.ts +75 -0
- package/lib/ele-app/style/message/index.cjs +1 -1
- package/lib/ele-app/style/overwrite/message-box/index.cjs +1 -1
- package/lib/ele-app/style/overwrite/notification/index.cjs +1 -1
- package/lib/ele-app/{types/core.d.ts → types.d.ts} +10 -4
- package/lib/ele-avatar-group/index.d.ts +2 -2
- package/lib/ele-avatar-group/types.d.ts +21 -0
- package/{es/ele-bar-code/types/index.d.ts → lib/ele-bar-code/types.d.ts} +2 -0
- package/lib/ele-basic-select/index.d.ts +8 -7
- package/{es/ele-basic-select/types/index.d.ts → lib/ele-basic-select/types.d.ts} +11 -8
- package/lib/ele-breadcrumb/index.d.ts +1 -1
- package/lib/ele-breadcrumb/types.d.ts +21 -0
- package/lib/ele-check-card/components/card-item.d.ts +1 -1
- package/lib/ele-check-card/index.d.ts +4 -4
- package/lib/ele-check-card/props.d.ts +1 -1
- package/lib/ele-check-card/types.d.ts +37 -0
- package/lib/ele-config-provider/index.d.ts +2 -2
- package/lib/ele-config-provider/props.d.ts +1 -1
- package/lib/ele-config-provider/types.d.ts +124 -0
- package/lib/ele-copyable/index.d.ts +5 -7
- package/lib/ele-copyable/props.d.ts +1 -1
- package/{es/ele-copyable/types/index.d.ts → lib/ele-copyable/types.d.ts} +4 -2
- package/lib/ele-cropper/index.d.ts +0 -2
- package/lib/ele-cropper/types.d.ts +98 -0
- package/lib/ele-cropper-modal/index.d.ts +2 -2
- package/lib/ele-cropper-modal/props.d.ts +1 -1
- package/lib/ele-data-table/index.d.ts +5 -2
- package/{es/ele-data-table/types/index.d.ts → lib/ele-data-table/types.d.ts} +111 -74
- package/lib/ele-data-table/util.d.ts +2 -1
- package/lib/ele-drawer/index.d.ts +3 -3
- package/lib/ele-dropdown/index.d.ts +1 -1
- package/lib/ele-dropdown/types.d.ts +20 -0
- package/lib/ele-edit-tag/index.d.ts +3 -3
- package/{es/ele-edit-tag/types/index.d.ts → lib/ele-edit-tag/types.d.ts} +1 -0
- package/lib/ele-ellipsis/index.d.ts +3 -3
- package/lib/ele-ellipsis/props.d.ts +1 -1
- package/lib/ele-ellipsis/types.d.ts +9 -0
- package/lib/ele-file-list/components/file-grid-item.d.ts +1 -1
- package/lib/ele-file-list/components/file-grid.d.ts +1 -1
- package/lib/ele-file-list/components/file-table-item.d.ts +1 -1
- package/lib/ele-file-list/components/file-table.d.ts +1 -1
- package/lib/ele-file-list/index.d.ts +2 -2
- package/lib/ele-file-list/props.d.ts +1 -1
- package/lib/ele-file-list/types.d.ts +105 -0
- package/lib/ele-icon-select/components/icon-grid.d.ts +1 -1
- package/lib/ele-icon-select/index.d.ts +5 -5
- package/lib/ele-icon-select/props.d.ts +1 -1
- package/lib/ele-icon-select/types.d.ts +16 -0
- package/lib/ele-loading/{types/index.d.ts → types.d.ts} +6 -4
- package/lib/ele-map-picker/components/map-view.d.ts +14 -12
- package/lib/ele-map-picker/index.d.ts +6 -6
- package/lib/ele-map-picker/props.d.ts +2 -1
- package/lib/ele-map-picker/types.d.ts +93 -0
- package/lib/ele-menus/index.d.ts +1 -1
- package/lib/ele-menus/types.d.ts +96 -0
- package/lib/ele-modal/index.d.ts +8 -10
- package/{es/ele-modal/types/index.d.ts → lib/ele-modal/types.d.ts} +22 -7
- package/lib/ele-popconfirm/index.d.ts +10 -9
- package/lib/ele-popconfirm/props.d.ts +1 -1
- package/lib/ele-popover/index.d.ts +1 -1
- package/lib/ele-popover/props.d.ts +19 -19
- package/lib/ele-printer/types.d.ts +48 -0
- package/lib/ele-pro-layout/components/pro-sidebar.d.ts +1 -1
- package/lib/ele-pro-layout/components/pro-sidebox.d.ts +1 -1
- package/lib/ele-pro-layout/components/pro-tabs.d.ts +1 -1
- package/lib/ele-pro-layout/components/tab-dropdown.d.ts +1 -1
- package/lib/ele-pro-layout/index.d.ts +15 -11
- package/lib/ele-pro-layout/props.d.ts +1 -1
- package/lib/ele-pro-layout/types.d.ts +253 -0
- package/lib/ele-pro-table/index.d.ts +8 -9
- package/lib/ele-pro-table/props.d.ts +4 -4
- package/lib/ele-pro-table/types.d.ts +277 -0
- package/lib/ele-pro-table/util.d.ts +1 -1
- package/lib/ele-qr-code/index.d.ts +1 -1
- package/lib/ele-qr-code/types.d.ts +41 -0
- package/lib/ele-qr-code-svg/index.d.ts +1 -1
- package/lib/ele-segmented/index.d.ts +2 -2
- package/lib/ele-segmented/types.d.ts +28 -0
- package/lib/ele-steps/{types/index.d.ts → types.d.ts} +5 -3
- package/lib/ele-table-select/index.d.ts +12 -12
- package/lib/ele-table-select/props.d.ts +1 -1
- package/lib/ele-tabs/components/tab-title.d.ts +1 -1
- package/lib/ele-tabs/index.d.ts +8 -7
- package/lib/ele-tabs/props.d.ts +2 -1
- package/lib/ele-tabs/types.d.ts +64 -0
- package/lib/ele-text/index.d.ts +4 -4
- package/lib/ele-text/props.d.ts +1 -1
- package/lib/ele-text/types.d.ts +35 -0
- package/lib/ele-tooltip/index.d.ts +1 -1
- package/lib/ele-tooltip/props.d.ts +7 -7
- package/lib/ele-tour/index.d.ts +1 -1
- package/lib/ele-tour/types.d.ts +42 -0
- package/lib/ele-tour/util.d.ts +1 -1
- package/lib/ele-tree-select/index.d.ts +4 -3
- package/lib/ele-tree-select/props.d.ts +1 -1
- package/lib/ele-tree-select/{types/index.d.ts → types.d.ts} +5 -1
- package/lib/ele-upload-list/components/list-item.d.ts +1 -1
- package/lib/ele-upload-list/index.d.ts +4 -4
- package/lib/ele-upload-list/props.d.ts +1 -1
- package/lib/ele-upload-list/types.d.ts +45 -0
- package/lib/ele-virtual-table/components/body-cell.d.ts +1 -1
- package/lib/ele-virtual-table/components/body-row.d.ts +1 -1
- package/lib/ele-virtual-table/components/cell-filter.d.ts +1 -1
- package/lib/ele-virtual-table/index.d.ts +10 -9
- package/lib/ele-virtual-table/types.d.ts +195 -0
- package/lib/ele-watermark/index.d.ts +1 -1
- package/lib/ele-watermark/types.d.ts +39 -0
- package/package.json +86 -6
- package/es/ele-app/types/components.d.ts +0 -51
- package/es/ele-app/types/index.d.ts +0 -3
- package/es/ele-avatar-group/types/index.d.ts +0 -20
- package/es/ele-breadcrumb/types/index.d.ts +0 -19
- package/es/ele-check-card/types/index.d.ts +0 -32
- package/es/ele-config-provider/types/index.d.ts +0 -102
- package/es/ele-cropper/types/index.d.ts +0 -77
- package/es/ele-dropdown/types/index.d.ts +0 -18
- package/es/ele-ellipsis/types/index.d.ts +0 -8
- package/es/ele-file-list/types/index.d.ts +0 -95
- package/es/ele-icon-select/types/index.d.ts +0 -16
- package/es/ele-map-picker/types/index.d.ts +0 -88
- package/es/ele-menus/types/index.d.ts +0 -78
- package/es/ele-printer/types/index.d.ts +0 -44
- package/es/ele-pro-layout/types/index.d.ts +0 -226
- package/es/ele-pro-table/types/index.d.ts +0 -219
- package/es/ele-qr-code/types/index.d.ts +0 -38
- package/es/ele-segmented/types/index.d.ts +0 -25
- package/es/ele-tabs/types/index.d.ts +0 -50
- package/es/ele-text/types/index.d.ts +0 -13
- package/es/ele-tour/types/index.d.ts +0 -38
- package/es/ele-upload-list/types/index.d.ts +0 -42
- package/es/ele-virtual-table/types/index.d.ts +0 -161
- package/es/ele-watermark/types/index.d.ts +0 -36
- package/lib/ele-app/types/components.d.ts +0 -51
- package/lib/ele-app/types/index.d.ts +0 -3
- package/lib/ele-avatar-group/types/index.d.ts +0 -20
- package/lib/ele-breadcrumb/types/index.d.ts +0 -19
- package/lib/ele-check-card/types/index.d.ts +0 -32
- package/lib/ele-config-provider/types/index.d.ts +0 -102
- package/lib/ele-cropper/types/index.d.ts +0 -77
- package/lib/ele-dropdown/types/index.d.ts +0 -18
- package/lib/ele-ellipsis/types/index.d.ts +0 -8
- package/lib/ele-file-list/types/index.d.ts +0 -95
- package/lib/ele-icon-select/types/index.d.ts +0 -16
- package/lib/ele-map-picker/types/index.d.ts +0 -88
- package/lib/ele-menus/types/index.d.ts +0 -78
- package/lib/ele-printer/types/index.d.ts +0 -44
- package/lib/ele-pro-layout/types/index.d.ts +0 -226
- package/lib/ele-pro-table/types/index.d.ts +0 -219
- package/lib/ele-qr-code/types/index.d.ts +0 -38
- package/lib/ele-segmented/types/index.d.ts +0 -25
- package/lib/ele-tabs/types/index.d.ts +0 -50
- package/lib/ele-text/types/index.d.ts +0 -13
- package/lib/ele-tour/types/index.d.ts +0 -38
- package/lib/ele-upload-list/types/index.d.ts +0 -42
- package/lib/ele-virtual-table/types/index.d.ts +0 -161
- package/lib/ele-watermark/types/index.d.ts +0 -36
- /package/es/ele-dashboard/{types/index.d.ts → types.d.ts} +0 -0
- /package/es/ele-dot/{types/index.d.ts → types.d.ts} +0 -0
- /package/es/ele-pagination/{types/index.d.ts → types.d.ts} +0 -0
- /package/es/ele-toolbar/{types/index.d.ts → types.d.ts} +0 -0
- /package/lib/ele-dashboard/{types/index.d.ts → types.d.ts} +0 -0
- /package/lib/ele-dot/{types/index.d.ts → types.d.ts} +0 -0
- /package/lib/ele-pagination/{types/index.d.ts → types.d.ts} +0 -0
- /package/lib/ele-toolbar/{types/index.d.ts → types.d.ts} +0 -0
package/es/ele-alert/index.d.ts
CHANGED
|
@@ -11,16 +11,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
showIcon: BooleanConstructor;
|
|
12
12
|
effect: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "light" | "dark", unknown> | undefined>;
|
|
13
13
|
iconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
14
|
-
iconProps: import("vue").PropType<import("../ele-app/
|
|
14
|
+
iconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>; /** 是否非关闭状态 */
|
|
15
15
|
closeIconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
16
|
-
closeIconProps: import("vue").PropType<import("../ele-app/
|
|
16
|
+
closeIconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
|
|
17
17
|
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
18
18
|
titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
19
19
|
descriptionStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
20
20
|
transitionName: {
|
|
21
21
|
type: StringConstructor;
|
|
22
22
|
default: string;
|
|
23
|
-
};
|
|
23
|
+
}; /** 打开 */
|
|
24
24
|
}, {
|
|
25
25
|
visible: import("vue").Ref<boolean>;
|
|
26
26
|
isRich: import("vue").ComputedRef<boolean>;
|
|
@@ -41,16 +41,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
41
|
showIcon: BooleanConstructor;
|
|
42
42
|
effect: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "light" | "dark", unknown> | undefined>;
|
|
43
43
|
iconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
44
|
-
iconProps: import("vue").PropType<import("../ele-app/
|
|
44
|
+
iconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>; /** 是否非关闭状态 */
|
|
45
45
|
closeIconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
46
|
-
closeIconProps: import("vue").PropType<import("../ele-app/
|
|
46
|
+
closeIconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
|
|
47
47
|
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
48
48
|
titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
49
49
|
descriptionStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
50
50
|
transitionName: {
|
|
51
51
|
type: StringConstructor;
|
|
52
52
|
default: string;
|
|
53
|
-
};
|
|
53
|
+
}; /** 打开 */
|
|
54
54
|
}>> & {
|
|
55
55
|
onClose?: ((_e: MouseEvent) => any) | undefined;
|
|
56
56
|
}, {
|
package/es/ele-alert/props.d.ts
CHANGED
|
@@ -1,61 +1,158 @@
|
|
|
1
1
|
import type { ExtractPropTypes } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type {
|
|
3
|
+
IconProps,
|
|
4
|
+
RowProps,
|
|
5
|
+
ColProps,
|
|
6
|
+
BreadcrumbProps,
|
|
7
|
+
BreadcrumbItemProps,
|
|
8
|
+
InputProps,
|
|
9
|
+
TagProps,
|
|
10
|
+
AvatarProps,
|
|
11
|
+
PopoverProps,
|
|
12
|
+
ElTooltipProps as TooltipProps,
|
|
13
|
+
PopconfirmProps,
|
|
14
|
+
AlertProps,
|
|
15
|
+
ButtonProps,
|
|
16
|
+
CardProps,
|
|
17
|
+
EmptyProps,
|
|
18
|
+
ProgressProps,
|
|
19
|
+
MenuProps,
|
|
20
|
+
MenuItemProps,
|
|
21
|
+
SubMenuProps,
|
|
22
|
+
MenuItemGroupProps,
|
|
23
|
+
BadgeProps,
|
|
24
|
+
LinkProps,
|
|
25
|
+
DialogProps,
|
|
26
|
+
StepProps,
|
|
27
|
+
TabsProps,
|
|
28
|
+
TabPaneProps,
|
|
29
|
+
TableProps,
|
|
30
|
+
TableV2Props,
|
|
31
|
+
ElPopper,
|
|
32
|
+
ElPopover,
|
|
33
|
+
ElTooltip,
|
|
34
|
+
ElBreadcrumb,
|
|
35
|
+
ElDrawer,
|
|
36
|
+
ElInput,
|
|
37
|
+
ElDropdown,
|
|
38
|
+
ElMenu,
|
|
39
|
+
ElSubMenu,
|
|
40
|
+
ElDialog,
|
|
41
|
+
ElTable,
|
|
42
|
+
ElTableV2,
|
|
43
|
+
ElTabs,
|
|
44
|
+
ElImage,
|
|
45
|
+
ElScrollbar,
|
|
46
|
+
ElTreeV2
|
|
47
|
+
} from 'element-plus';
|
|
3
48
|
import type { dropdownProps } from 'element-plus';
|
|
4
49
|
import type { dropdownItemProps } from 'element-plus';
|
|
5
50
|
import type columnProps from 'element-plus/es/components/table/src/table-column/defaults';
|
|
6
51
|
import type { TreeProps } from 'element-plus/es/components/tree-v2/src/types';
|
|
7
|
-
import type { ComponentProps } from './
|
|
52
|
+
import type { ComponentProps } from './types';
|
|
53
|
+
|
|
8
54
|
/**
|
|
9
55
|
* 组件属性
|
|
10
56
|
*/
|
|
11
57
|
export type ElIconProps = ComponentProps<IconProps>;
|
|
58
|
+
|
|
12
59
|
export type ElRowProps = ComponentProps<RowProps>;
|
|
60
|
+
|
|
13
61
|
export type ElColProps = ComponentProps<ColProps>;
|
|
62
|
+
|
|
14
63
|
export type ElBreadcrumbProps = ComponentProps<BreadcrumbProps>;
|
|
64
|
+
|
|
15
65
|
export type ElBreadcrumbItemProps = ComponentProps<BreadcrumbItemProps>;
|
|
16
|
-
|
|
17
|
-
export type
|
|
66
|
+
|
|
67
|
+
export type ElDropdownProps = ComponentProps<
|
|
68
|
+
ExtractPropTypes<typeof dropdownProps>
|
|
69
|
+
>;
|
|
70
|
+
|
|
71
|
+
export type ElDropdownItemProps = ComponentProps<
|
|
72
|
+
ExtractPropTypes<typeof dropdownItemProps>
|
|
73
|
+
>;
|
|
74
|
+
|
|
18
75
|
export type ElInputProps = ComponentProps<InputProps>;
|
|
76
|
+
|
|
19
77
|
export type ElTagProps = ComponentProps<TagProps>;
|
|
78
|
+
|
|
20
79
|
export type ElAvatarProps = ComponentProps<AvatarProps>;
|
|
80
|
+
|
|
21
81
|
export type ElTooltipProps = Partial<TooltipProps>;
|
|
82
|
+
|
|
22
83
|
export type ElPopoverProps = Partial<PopoverProps>;
|
|
84
|
+
|
|
23
85
|
export type ElPopconfirmProps = Partial<PopconfirmProps>;
|
|
86
|
+
|
|
24
87
|
export type ElAlertProps = ComponentProps<AlertProps>;
|
|
88
|
+
|
|
25
89
|
export type ElButtonProps = ComponentProps<ButtonProps>;
|
|
90
|
+
|
|
26
91
|
export type ElCardProps = ComponentProps<CardProps>;
|
|
92
|
+
|
|
27
93
|
export type ElEmptyProps = ComponentProps<EmptyProps>;
|
|
94
|
+
|
|
28
95
|
export type ElProgressProps = ComponentProps<ProgressProps>;
|
|
96
|
+
|
|
29
97
|
export type ElMenuProps = ComponentProps<MenuProps>;
|
|
98
|
+
|
|
30
99
|
export type ElMenuItemProps = ComponentProps<MenuItemProps>;
|
|
100
|
+
|
|
31
101
|
export type ElSubMenuProps = ComponentProps<SubMenuProps>;
|
|
102
|
+
|
|
32
103
|
export type ElMenuItemGroupProps = ComponentProps<MenuItemGroupProps>;
|
|
104
|
+
|
|
33
105
|
export type ElBadgeProps = ComponentProps<BadgeProps>;
|
|
106
|
+
|
|
34
107
|
export type ElLinkProps = ComponentProps<LinkProps>;
|
|
108
|
+
|
|
35
109
|
export type ElDialogProps = ComponentProps<DialogProps>;
|
|
110
|
+
|
|
36
111
|
export type ElStepProps = ComponentProps<StepProps>;
|
|
112
|
+
|
|
37
113
|
export type ElTabsProps = ComponentProps<TabsProps>;
|
|
114
|
+
|
|
38
115
|
export type ElTabPaneProps = ComponentProps<TabPaneProps>;
|
|
116
|
+
|
|
39
117
|
export type ElTableProps<T> = ComponentProps<TableProps<T>>;
|
|
118
|
+
|
|
40
119
|
export type ElTableV2Props = ComponentProps<TableV2Props>;
|
|
120
|
+
|
|
41
121
|
export type ElColumnProps = Partial<ExtractPropTypes<typeof columnProps>>;
|
|
122
|
+
|
|
42
123
|
export type ElTreeV2Props = ComponentProps<TreeProps>;
|
|
124
|
+
|
|
43
125
|
/**
|
|
44
126
|
* 组件实例
|
|
45
127
|
*/
|
|
46
128
|
export type ElPopperInstance = InstanceType<typeof ElPopper> | null;
|
|
129
|
+
|
|
47
130
|
export type ElPopoverInstance = InstanceType<typeof ElPopover> | null;
|
|
131
|
+
|
|
48
132
|
export type ElTooltipInstance = InstanceType<typeof ElTooltip> | null;
|
|
133
|
+
|
|
49
134
|
export type ElBreadcrumbInstance = InstanceType<typeof ElBreadcrumb> | null;
|
|
135
|
+
|
|
50
136
|
export type ElDrawerInstance = InstanceType<typeof ElDrawer> | null;
|
|
137
|
+
|
|
51
138
|
export type ElInputInstance = InstanceType<typeof ElInput> | null;
|
|
139
|
+
|
|
52
140
|
export type ElDropdownInstance = InstanceType<typeof ElDropdown> | null;
|
|
141
|
+
|
|
53
142
|
export type ElMenuInstance = InstanceType<typeof ElMenu> | null;
|
|
143
|
+
|
|
54
144
|
export type ElSubMenuInstance = InstanceType<typeof ElSubMenu> | null;
|
|
145
|
+
|
|
55
146
|
export type ElDialogInstance = InstanceType<typeof ElDialog> | null;
|
|
147
|
+
|
|
56
148
|
export type ElTableInstance = InstanceType<typeof ElTable> | null;
|
|
149
|
+
|
|
57
150
|
export type ElTableV2Instance = InstanceType<typeof ElTableV2> | null;
|
|
151
|
+
|
|
58
152
|
export type ElTabsInstance = InstanceType<typeof ElTabs> | null;
|
|
153
|
+
|
|
59
154
|
export type ElImageInstance = InstanceType<typeof ElImage> | null;
|
|
155
|
+
|
|
60
156
|
export type ElScrollbarInstance = InstanceType<typeof ElScrollbar> | null;
|
|
157
|
+
|
|
61
158
|
export type ElTreeV2Instance = InstanceType<typeof ElTreeV2> | null;
|
package/es/ele-app/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export type { ClassValue } from './types';
|
|
2
1
|
declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3
2
|
[key: string]: any;
|
|
4
3
|
}>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { ComponentProps } from './types';
|
|
2
|
+
import type EleBasicSelect from '../ele-basic-select/index';
|
|
3
|
+
import type { CropperProps } from '../ele-cropper/props';
|
|
4
|
+
import type { DataTableProps } from '../ele-data-table/props';
|
|
5
|
+
import type EleDataTable from '../ele-data-table/index';
|
|
6
|
+
import type { DropdownProps } from '../ele-dropdown/props';
|
|
7
|
+
import type EleDropdown from '../ele-dropdown/index';
|
|
8
|
+
import type { LoadingProps } from '../ele-loading/props';
|
|
9
|
+
import type { MenusProps } from '../ele-menus/props';
|
|
10
|
+
import type { MenuItem } from '../ele-menus/types';
|
|
11
|
+
import type { ModalProps } from '../ele-modal/props';
|
|
12
|
+
import type { PaginationProps } from '../ele-pagination/props';
|
|
13
|
+
import type { PopoverProps } from '../ele-popover/props';
|
|
14
|
+
import type ElePopover from '../ele-popover/index';
|
|
15
|
+
import type { ProTableProps } from '../ele-pro-table/props';
|
|
16
|
+
import type EleProTable from '../ele-pro-table/index';
|
|
17
|
+
import type EleTabs from '../ele-tabs/index';
|
|
18
|
+
import type { TextProps } from '../ele-text/props';
|
|
19
|
+
import type EleText from '../ele-text/index';
|
|
20
|
+
import type { ToolbarProps } from '../ele-toolbar/props';
|
|
21
|
+
import type { TooltipProps } from '../ele-tooltip/props';
|
|
22
|
+
import type EleTooltip from '../ele-tooltip/index';
|
|
23
|
+
import type EleVirtualTable from '../ele-virtual-table/index';
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* 组件属性
|
|
27
|
+
*/
|
|
28
|
+
export type EleCropperProps = ComponentProps<CropperProps>;
|
|
29
|
+
|
|
30
|
+
export type EleDataTableProps = ComponentProps<DataTableProps>;
|
|
31
|
+
|
|
32
|
+
export type EleDropdownProps = ComponentProps<DropdownProps>;
|
|
33
|
+
|
|
34
|
+
export type EleLoadingProps = ComponentProps<LoadingProps>;
|
|
35
|
+
|
|
36
|
+
export type EleMenusProps = ComponentProps<MenusProps>;
|
|
37
|
+
|
|
38
|
+
export type EleMenuItemProps = Partial<MenuItem>;
|
|
39
|
+
|
|
40
|
+
export type EleModalProps = ComponentProps<ModalProps>;
|
|
41
|
+
|
|
42
|
+
export type ElePaginationProps = ComponentProps<PaginationProps>;
|
|
43
|
+
|
|
44
|
+
export type ElePopoverProps = Partial<PopoverProps>;
|
|
45
|
+
|
|
46
|
+
export type EleProTableProps = ComponentProps<ProTableProps>;
|
|
47
|
+
|
|
48
|
+
export type EleTextProps = ComponentProps<TextProps>;
|
|
49
|
+
|
|
50
|
+
export type EleToolbarProps = ComponentProps<ToolbarProps>;
|
|
51
|
+
|
|
52
|
+
export type EleTooltipProps = Partial<TooltipProps>;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* 组件实例
|
|
56
|
+
*/
|
|
57
|
+
export type EleBasicSelectInstance = InstanceType<typeof EleBasicSelect> | null;
|
|
58
|
+
|
|
59
|
+
export type EleDataTableInstance = InstanceType<typeof EleDataTable> | null;
|
|
60
|
+
|
|
61
|
+
export type EleDropdownInstance = InstanceType<typeof EleDropdown> | null;
|
|
62
|
+
|
|
63
|
+
export type ElePopoverInstance = InstanceType<typeof ElePopover> | null;
|
|
64
|
+
|
|
65
|
+
export type EleProTableInstance = InstanceType<typeof EleProTable> | null;
|
|
66
|
+
|
|
67
|
+
export type EleTabsInstance = InstanceType<typeof EleTabs> | null;
|
|
68
|
+
|
|
69
|
+
export type EleTextInstance = InstanceType<typeof EleText> | null;
|
|
70
|
+
|
|
71
|
+
export type EleTooltipInstance = InstanceType<typeof EleTooltip> | null;
|
|
72
|
+
|
|
73
|
+
export type EleVirtualTableInstance = InstanceType<
|
|
74
|
+
typeof EleVirtualTable
|
|
75
|
+
> | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './index.scss';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import 'element-plus/es/components/message/style/index';
|
|
2
|
+
import './index.scss';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './index.scss';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './index.scss';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './index.scss';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './index.scss';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './index.scss';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './index.scss';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './index.scss';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './index.scss';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
1
|
+
import './autocomplete/index';
|
|
2
|
+
import './backtop/index';
|
|
3
|
+
import './cascader/index';
|
|
4
|
+
import './checkbox/index';
|
|
5
|
+
import './color-picker/index';
|
|
6
|
+
import './date-picker/index';
|
|
7
|
+
import './descriptions/index';
|
|
8
|
+
import './image-viewer/index';
|
|
9
|
+
import './message-box/index';
|
|
10
|
+
import './notification/index';
|
|
11
|
+
import './popper/index';
|
|
12
|
+
import './radio/index';
|
|
13
|
+
import './select/index';
|
|
14
|
+
import './table-filter/index';
|
|
15
|
+
import './tag/index';
|
|
16
|
+
import './tree/index';
|
|
17
|
+
import './tree-select/index';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import 'element-plus/es/components/message-box/style/index';
|
|
2
|
+
import './index.scss';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import 'element-plus/es/components/notification/style/index';
|
|
2
|
+
import './index.scss';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './index.scss';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './index.scss';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './index.scss';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './index.scss';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './index.scss';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './index.scss';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './index.scss';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './index.scss';
|
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
import type { CSSProperties, SetupContext } from 'vue';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
* 样式值
|
|
4
5
|
*/
|
|
5
6
|
export type StyleValue = Partial<CSSProperties>;
|
|
7
|
+
|
|
6
8
|
/**
|
|
7
9
|
* 样式多个值
|
|
8
10
|
*/
|
|
9
11
|
export type StyleValues = StyleValue | Array<StyleValue>;
|
|
12
|
+
|
|
10
13
|
/**
|
|
11
14
|
* 类名值
|
|
12
15
|
*/
|
|
13
16
|
export type ClassValue = string | Record<string, boolean | undefined>;
|
|
17
|
+
|
|
14
18
|
/**
|
|
15
19
|
* 类名多个值
|
|
16
20
|
*/
|
|
17
21
|
export type ClassValues = ClassValue | Array<ClassValue>;
|
|
22
|
+
|
|
18
23
|
/**
|
|
19
24
|
* 组件属性
|
|
20
25
|
*/
|
|
21
26
|
export type ComponentProps<T> = Partial<T> & {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
27
|
+
/** 类名 */
|
|
28
|
+
class?: ClassValues;
|
|
29
|
+
/** 样式 */
|
|
30
|
+
style?: StyleValues;
|
|
26
31
|
};
|
|
32
|
+
|
|
27
33
|
/**
|
|
28
34
|
* 组件事件触发器
|
|
29
35
|
*/
|
|
@@ -36,8 +36,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
36
|
onError: (option: AvatarErrorOption) => void;
|
|
37
37
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
38
|
itemClick: (_item: AvatarItem) => boolean;
|
|
39
|
-
moreClick: () => boolean;
|
|
40
|
-
error: (_option: AvatarErrorOption) => boolean;
|
|
39
|
+
moreClick: () => boolean; /** 是否显示更多 */
|
|
40
|
+
error: (_option: AvatarErrorOption) => boolean;
|
|
41
41
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
42
|
data: {
|
|
43
43
|
type: import("vue").PropType<AvatarItem[]>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 数据
|
|
3
|
+
*/
|
|
4
|
+
export interface AvatarItem extends Record<keyof any, any> {
|
|
5
|
+
/** 循环的 key */
|
|
6
|
+
key?: string | number | symbol;
|
|
7
|
+
/** 头像名称 */
|
|
8
|
+
label?: string;
|
|
9
|
+
/** 头像链接 */
|
|
10
|
+
value?: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* 图片加载失败事件参数
|
|
15
|
+
*/
|
|
16
|
+
export interface AvatarErrorOption {
|
|
17
|
+
/** 数据 */
|
|
18
|
+
item: AvatarItem;
|
|
19
|
+
/** 事件 */
|
|
20
|
+
e: Event;
|
|
21
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { ElInputInstance
|
|
1
|
+
import type { ElInputInstance } from '../ele-app/el';
|
|
2
|
+
import type { EleTooltipInstance } from '../ele-app/plus';
|
|
2
3
|
import type { SelectedItem } from './types';
|
|
3
4
|
declare const _default: import("vue").DefineComponent<{
|
|
4
5
|
value: {
|
|
@@ -15,14 +16,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
16
|
maxTagCount: NumberConstructor;
|
|
16
17
|
maxTagTextLength: NumberConstructor;
|
|
17
18
|
tagType: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
|
|
18
|
-
automaticDropdown: BooleanConstructor;
|
|
19
|
+
automaticDropdown: BooleanConstructor;
|
|
19
20
|
filterable: BooleanConstructor;
|
|
20
|
-
visible: BooleanConstructor;
|
|
21
|
+
visible: BooleanConstructor; /** 多选搜索框组件 */
|
|
21
22
|
teleported: BooleanConstructor;
|
|
22
23
|
persistent: BooleanConstructor;
|
|
23
24
|
placement: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>;
|
|
24
25
|
transition: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
+
type: StringConstructor; /** 多选时搜索框值 */
|
|
26
27
|
default: string;
|
|
27
28
|
};
|
|
28
29
|
popperOptions: import("vue").PropType<Partial<import("element-plus").Options> | undefined>;
|
|
@@ -71,14 +72,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
72
|
maxTagCount: NumberConstructor;
|
|
72
73
|
maxTagTextLength: NumberConstructor;
|
|
73
74
|
tagType: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
|
|
74
|
-
automaticDropdown: BooleanConstructor;
|
|
75
|
+
automaticDropdown: BooleanConstructor;
|
|
75
76
|
filterable: BooleanConstructor;
|
|
76
|
-
visible: BooleanConstructor;
|
|
77
|
+
visible: BooleanConstructor; /** 多选搜索框组件 */
|
|
77
78
|
teleported: BooleanConstructor;
|
|
78
79
|
persistent: BooleanConstructor;
|
|
79
80
|
placement: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>;
|
|
80
81
|
transition: {
|
|
81
|
-
type: StringConstructor;
|
|
82
|
+
type: StringConstructor; /** 多选时搜索框值 */
|
|
82
83
|
default: string;
|
|
83
84
|
};
|
|
84
85
|
popperOptions: import("vue").PropType<Partial<import("element-plus").Options> | undefined>;
|
|
@@ -2,24 +2,27 @@
|
|
|
2
2
|
* 单选值
|
|
3
3
|
*/
|
|
4
4
|
export type SingleValue = string | number | boolean;
|
|
5
|
+
|
|
5
6
|
/**
|
|
6
7
|
* 多选值
|
|
7
8
|
*/
|
|
8
9
|
export type MultipleValue = Array<SingleValue>;
|
|
10
|
+
|
|
9
11
|
/**
|
|
10
12
|
* 值
|
|
11
13
|
*/
|
|
12
14
|
export type SelectValue = SingleValue | MultipleValue | undefined | null;
|
|
15
|
+
|
|
13
16
|
/**
|
|
14
17
|
* 多选选中数据
|
|
15
18
|
*/
|
|
16
19
|
export interface SelectedItem {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
/** 文本 */
|
|
21
|
+
label: string;
|
|
22
|
+
/** 值 */
|
|
23
|
+
value: SingleValue;
|
|
24
|
+
/** 是否不显示 */
|
|
25
|
+
hide?: boolean;
|
|
26
|
+
/** 排序号 */
|
|
27
|
+
index?: number;
|
|
25
28
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
import type { StyleValue } from '../ele-app/types';
|
|
3
|
+
import type { ElIconProps, ElBreadcrumbItemProps } from '../ele-app/el';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* 面包屑数据
|
|
7
|
+
*/
|
|
8
|
+
export interface BreadcrumbItem extends ElBreadcrumbItemProps {
|
|
9
|
+
/** 循环的 key */
|
|
10
|
+
key?: string | number | symbol;
|
|
11
|
+
/** 标题 */
|
|
12
|
+
title?: string;
|
|
13
|
+
/** 图标 */
|
|
14
|
+
icon?: string | Component;
|
|
15
|
+
/** 图标属性 */
|
|
16
|
+
iconProps?: ElIconProps;
|
|
17
|
+
/** 图标样式 */
|
|
18
|
+
iconStyle?: StyleValue;
|
|
19
|
+
/** 插槽名称 */
|
|
20
|
+
slot?: Exclude<string, 'default'>;
|
|
21
|
+
}
|
|
@@ -28,8 +28,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
arrowStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
29
29
|
}>>, {
|
|
30
30
|
disabled: boolean;
|
|
31
|
-
checked: boolean;
|
|
32
31
|
bordered: boolean;
|
|
32
|
+
checked: boolean;
|
|
33
33
|
arrow: boolean;
|
|
34
34
|
}, {}>;
|
|
35
35
|
export default _default;
|