ele-admin-plus 1.1.6-beta.5 → 1.1.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/index.scss +3 -1
- package/es/ele-app/style/overwrite/tree-select/index.js +1 -1
- package/es/ele-app/style/overwrite/tree-select/index.scss +4 -0
- 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/style/index.scss +4 -0
- 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/style/overwrite/tree/index.scss +3 -1
- package/lib/ele-app/style/overwrite/tree-select/index.scss +4 -0
- 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/style/index.scss +4 -0
- 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 +88 -8
- 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
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Slots, VNode } from 'vue';
|
|
2
|
-
import type { Emitter
|
|
2
|
+
import type { Emitter } from '../ele-app/types';
|
|
3
|
+
import type { ElEmptyProps, ElTableInstance } from '../ele-app/el';
|
|
3
4
|
import type { dataTableEmits } from './props';
|
|
4
5
|
import type { DataKey, DataItem, Column, Columns, Sorter, Filter, GetInstance, TableMethods, ShowOverflowTooltip, TooltipEffect, TooltipOptions, RowClass, RowKey } from './types';
|
|
5
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ElDrawerInstance } from '../ele-app/
|
|
1
|
+
import type { ElDrawerInstance } from '../ele-app/el';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
4
4
|
titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
appendToBody: BooleanConstructor;
|
|
14
14
|
appendTo: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "body", boolean>;
|
|
15
15
|
beforeClose: {
|
|
16
|
-
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
16
|
+
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
17
17
|
readonly required: false;
|
|
18
18
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
19
19
|
__epPropKey: true;
|
|
@@ -90,7 +90,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
90
|
appendToBody: BooleanConstructor;
|
|
91
91
|
appendTo: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "body", boolean>;
|
|
92
92
|
beforeClose: {
|
|
93
|
-
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
93
|
+
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
94
94
|
readonly required: false;
|
|
95
95
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
96
96
|
__epPropKey: true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ElDropdownProps, ElDropdownInstance } from '../ele-app/
|
|
1
|
+
import type { ElDropdownProps, ElDropdownInstance } from '../ele-app/el';
|
|
2
2
|
import { omit } from '../utils/core';
|
|
3
3
|
import type { DropdownItem } from './types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { StyleValue } from '../ele-app/types';
|
|
2
|
+
import type { ElIconProps, ElDropdownItemProps } from '../ele-app/el';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* 下拉菜单数据
|
|
6
|
+
*/
|
|
7
|
+
export interface DropdownItem extends ElDropdownItemProps {
|
|
8
|
+
/** 循环的 key */
|
|
9
|
+
key?: string | number | symbol;
|
|
10
|
+
/** 标题 */
|
|
11
|
+
title?: string;
|
|
12
|
+
/** 图标属性 */
|
|
13
|
+
iconProps?: ElIconProps;
|
|
14
|
+
/** 图标样式 */
|
|
15
|
+
iconStyle?: StyleValue;
|
|
16
|
+
/** 插槽名称 */
|
|
17
|
+
slot?: Exclude<string, 'default'>;
|
|
18
|
+
/** 是否为危险样式 */
|
|
19
|
+
danger?: boolean;
|
|
20
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ElInputInstance } from '../ele-app/
|
|
1
|
+
import type { ElInputInstance } from '../ele-app/el';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
modelValue: import("vue").PropType<string[]>;
|
|
4
4
|
type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
12
12
|
validator: import("vue").PropType<import("./types").Validator>;
|
|
13
13
|
beforeRemove: import("vue").PropType<import("./types").BeforeRemove>;
|
|
14
|
-
tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
|
|
14
|
+
tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>; /** 提示信息 */
|
|
15
15
|
}, {
|
|
16
16
|
inputRef: import("vue").Ref<ElInputInstance>;
|
|
17
17
|
isEdit: import("vue").Ref<boolean>;
|
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
39
39
|
validator: import("vue").PropType<import("./types").Validator>;
|
|
40
40
|
beforeRemove: import("vue").PropType<import("./types").BeforeRemove>;
|
|
41
|
-
tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
|
|
41
|
+
tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>; /** 提示信息 */
|
|
42
42
|
}>> & {
|
|
43
43
|
"onUpdate:modelValue"?: ((_value?: string[] | undefined) => any) | undefined;
|
|
44
44
|
}, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EleTextProps, EleTextInstance } from '../ele-app/
|
|
1
|
+
import type { EleTextProps, EleTextInstance } from '../ele-app/plus';
|
|
2
2
|
import type { EllipsisTooltip } from './types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
maxLine: NumberConstructor;
|
|
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
strong: BooleanConstructor;
|
|
21
21
|
italic: BooleanConstructor;
|
|
22
22
|
icon: import("vue").PropType<import("../ele-text/types").TextIcon>;
|
|
23
|
-
iconProps: import("vue").PropType<import("../ele-app/
|
|
23
|
+
iconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
|
|
24
24
|
iconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
25
25
|
}, {
|
|
26
26
|
textRef: import("vue").Ref<EleTextInstance>;
|
|
@@ -50,7 +50,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
50
|
strong: BooleanConstructor;
|
|
51
51
|
italic: BooleanConstructor;
|
|
52
52
|
icon: import("vue").PropType<import("../ele-text/types").TextIcon>;
|
|
53
|
-
iconProps: import("vue").PropType<import("../ele-app/
|
|
53
|
+
iconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
|
|
54
54
|
iconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
55
55
|
}>>, {
|
|
56
56
|
tag: string;
|
|
@@ -26,7 +26,7 @@ export declare const ellipsisProps: {
|
|
|
26
26
|
strong: BooleanConstructor;
|
|
27
27
|
italic: BooleanConstructor;
|
|
28
28
|
icon: PropType<import("../ele-text/types").TextIcon>;
|
|
29
|
-
iconProps: PropType<import("../ele-app/
|
|
29
|
+
iconProps: PropType<import("../ele-app/el").ElIconProps>;
|
|
30
30
|
iconStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
31
31
|
};
|
|
32
32
|
export type EllipsisProps = ExtractPropTypes<typeof ellipsisProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { EleDropdownProps, EleDropdownInstance } from '../../ele-app/
|
|
2
|
+
import type { EleDropdownProps, EleDropdownInstance } from '../../ele-app/plus';
|
|
3
3
|
import type { DropdownItem } from '../../ele-dropdown/types';
|
|
4
4
|
import type { IconItem, FileItem, ItemContextMenuOption, SelectionType } from '../types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType, Ref } from 'vue';
|
|
2
|
-
import type { EleDropdownProps, EleDropdownInstance } from '../../ele-app/
|
|
2
|
+
import type { EleDropdownProps, EleDropdownInstance } from '../../ele-app/plus';
|
|
3
3
|
import type { GridItemInstance } from '../props';
|
|
4
4
|
import type { IconItem, FileItem, ItemContextMenuOption, SelectionType, ContextMenus } from '../types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { EleDropdownProps, EleDropdownInstance } from '../../ele-app/
|
|
2
|
+
import type { EleDropdownProps, EleDropdownInstance } from '../../ele-app/plus';
|
|
3
3
|
import type { DropdownItem } from '../../ele-dropdown/types';
|
|
4
4
|
import type { IconItem, FileItem, ColumnItem, ItemContextMenuOption, SelectionType } from '../types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType, Ref } from 'vue';
|
|
2
|
-
import type { EleDropdownProps, EleDropdownInstance } from '../../ele-app/
|
|
2
|
+
import type { EleDropdownProps, EleDropdownInstance } from '../../ele-app/plus';
|
|
3
3
|
import type { TableItemInstance } from '../props';
|
|
4
4
|
import type { IconItem, FileItem, ColumnItem, ItemContextMenuOption, SelectionType, ContextMenus } from '../types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
columns: import("vue").PropType<import("./types").ColumnItem[]>;
|
|
27
27
|
boxChoose: BooleanConstructor;
|
|
28
28
|
contextMenus: import("vue").PropType<import("./types").ContextMenus>;
|
|
29
|
-
contextMenuProps: import("vue").PropType<import("../ele-app/
|
|
29
|
+
contextMenuProps: import("vue").PropType<import("../ele-app/plus").EleDropdownProps>;
|
|
30
30
|
locale: import("vue").PropType<Partial<FileListLocale>>;
|
|
31
31
|
}, {
|
|
32
32
|
lang: import("vue").ComputedRef<FileListLocale>;
|
|
@@ -71,7 +71,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
71
|
columns: import("vue").PropType<import("./types").ColumnItem[]>;
|
|
72
72
|
boxChoose: BooleanConstructor;
|
|
73
73
|
contextMenus: import("vue").PropType<import("./types").ContextMenus>;
|
|
74
|
-
contextMenuProps: import("vue").PropType<import("../ele-app/
|
|
74
|
+
contextMenuProps: import("vue").PropType<import("../ele-app/plus").EleDropdownProps>;
|
|
75
75
|
locale: import("vue").PropType<Partial<FileListLocale>>;
|
|
76
76
|
}>> & {
|
|
77
77
|
onSortChange?: ((_sorter: SortValue) => any) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type { EleDropdownProps } from '../ele-app/
|
|
2
|
+
import type { EleDropdownProps } from '../ele-app/plus';
|
|
3
3
|
import type FileGridItem from "./components/file-grid-item";
|
|
4
4
|
import type FileTableItem from "./components/file-table-item";
|
|
5
5
|
import type { IconItem, FileItem, SortValue, ItemContextMenuOption, ColumnItem, SelectionType, ContextMenus, FileListLocale } from './types';
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import type { StyleValue } from '../ele-app/types';
|
|
2
|
+
import type { DropdownItem } from '../ele-dropdown/types';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* 图标数据
|
|
6
|
+
*/
|
|
7
|
+
export interface IconItem {
|
|
8
|
+
/** 图标地址 */
|
|
9
|
+
icon: string;
|
|
10
|
+
/** 类型 */
|
|
11
|
+
type?: IconItemType;
|
|
12
|
+
/** 对应文件后缀 */
|
|
13
|
+
suffixes?: string[];
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* 图标类型
|
|
18
|
+
*/
|
|
19
|
+
export type IconItemType = 'file' | 'dir';
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* 文件数据格式
|
|
23
|
+
*/
|
|
24
|
+
export interface FileItem extends Record<string | number | symbol, unknown> {
|
|
25
|
+
/** 唯一标识 */
|
|
26
|
+
key: string;
|
|
27
|
+
/** 文件名称 */
|
|
28
|
+
name: string;
|
|
29
|
+
/** 文件访问地址 */
|
|
30
|
+
url?: string;
|
|
31
|
+
/** 缩略图访问地址 */
|
|
32
|
+
thumbnail?: string;
|
|
33
|
+
/** 是否是文件夹 */
|
|
34
|
+
isDirectory?: boolean;
|
|
35
|
+
/** 文件大小 */
|
|
36
|
+
length?: string;
|
|
37
|
+
/** 文件修改日期 */
|
|
38
|
+
updateTime?: string;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* 排序结果
|
|
43
|
+
*/
|
|
44
|
+
export interface SortValue {
|
|
45
|
+
/** 排序字段 */
|
|
46
|
+
sort: string;
|
|
47
|
+
/** 排序方式 */
|
|
48
|
+
order?: 'asc' | 'desc' | null;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* 表格自定义列
|
|
53
|
+
*/
|
|
54
|
+
export interface ColumnItem {
|
|
55
|
+
/** 标题 */
|
|
56
|
+
title?: string;
|
|
57
|
+
/** 字段名 */
|
|
58
|
+
prop: string;
|
|
59
|
+
/** 插槽 */
|
|
60
|
+
slot?: string;
|
|
61
|
+
/** 表头插槽 */
|
|
62
|
+
headerSlot?: string;
|
|
63
|
+
/** 自定义样式 */
|
|
64
|
+
style?: StyleValue;
|
|
65
|
+
/** 自定义表头样式 */
|
|
66
|
+
headerStyle?: StyleValue;
|
|
67
|
+
/** 是否可以排序 */
|
|
68
|
+
sortable?: boolean;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* 右键菜单事件参数
|
|
73
|
+
*/
|
|
74
|
+
export interface ItemContextMenuOption {
|
|
75
|
+
/** 指令 */
|
|
76
|
+
key: string;
|
|
77
|
+
/** 数据 */
|
|
78
|
+
item: FileItem;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* 选择框类型
|
|
83
|
+
*/
|
|
84
|
+
export type SelectionType = 'checkbox' | 'radio';
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* 获取右键菜单方法
|
|
88
|
+
*/
|
|
89
|
+
export type ContextMenusFunc = (item: FileItem) => DropdownItem[];
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* 右键菜单属性
|
|
93
|
+
*/
|
|
94
|
+
export type ContextMenus = DropdownItem[] | ContextMenusFunc;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* 国际化
|
|
98
|
+
*/
|
|
99
|
+
export interface FileListLocale {
|
|
100
|
+
selectAll: string;
|
|
101
|
+
selectTips: string;
|
|
102
|
+
fileName: string;
|
|
103
|
+
fileSize: string;
|
|
104
|
+
fileTimestamp: string;
|
|
105
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EleBasicSelectInstance } from '../ele-app/
|
|
1
|
+
import type { EleBasicSelectInstance } from '../ele-app/plus';
|
|
2
2
|
import type { IconItem } from './types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
modelValue: StringConstructor;
|
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
popperOptions: import("vue").PropType<Partial<import("element-plus").Options> | undefined>;
|
|
32
32
|
popperClass: StringConstructor;
|
|
33
33
|
popperWidth: {
|
|
34
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
34
|
+
type: (StringConstructor | NumberConstructor)[]; /** 是否显示选项卡栏 */
|
|
35
35
|
default: number;
|
|
36
36
|
};
|
|
37
37
|
popperHeight: {
|
|
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
default: number;
|
|
40
40
|
};
|
|
41
41
|
hideOnSingleTab: BooleanConstructor;
|
|
42
|
-
emptyProps: import("vue").PropType<import("../ele-app/
|
|
42
|
+
emptyProps: import("vue").PropType<import("../ele-app/el").ElEmptyProps>;
|
|
43
43
|
tooltip: {
|
|
44
44
|
type: BooleanConstructor;
|
|
45
45
|
default: boolean;
|
|
@@ -114,7 +114,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
114
114
|
popperOptions: import("vue").PropType<Partial<import("element-plus").Options> | undefined>;
|
|
115
115
|
popperClass: StringConstructor;
|
|
116
116
|
popperWidth: {
|
|
117
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
117
|
+
type: (StringConstructor | NumberConstructor)[]; /** 是否显示选项卡栏 */
|
|
118
118
|
default: number;
|
|
119
119
|
};
|
|
120
120
|
popperHeight: {
|
|
@@ -122,7 +122,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
122
122
|
default: number;
|
|
123
123
|
};
|
|
124
124
|
hideOnSingleTab: BooleanConstructor;
|
|
125
|
-
emptyProps: import("vue").PropType<import("../ele-app/
|
|
125
|
+
emptyProps: import("vue").PropType<import("../ele-app/el").ElEmptyProps>;
|
|
126
126
|
tooltip: {
|
|
127
127
|
type: BooleanConstructor;
|
|
128
128
|
default: boolean;
|
|
@@ -2,16 +2,18 @@
|
|
|
2
2
|
* 加载器类型
|
|
3
3
|
*/
|
|
4
4
|
export type LoadingType = 'circle' | 'dot';
|
|
5
|
+
|
|
5
6
|
/**
|
|
6
7
|
* 加载器尺寸
|
|
7
8
|
*/
|
|
8
9
|
export type LoadingSize = 'small' | 'default' | 'large';
|
|
10
|
+
|
|
9
11
|
/**
|
|
10
12
|
* 圆形加载器属性
|
|
11
13
|
*/
|
|
12
14
|
export interface CircleProps {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
['element-loading-text']?: string;
|
|
16
|
+
['element-loading-background']?: string;
|
|
17
|
+
['element-loading-spinner']?: string;
|
|
18
|
+
['element-loading-svg-view-box']?: string;
|
|
17
19
|
}
|
|
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
type: StringConstructor;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
|
-
keywordMode: BooleanConstructor;
|
|
42
|
+
keywordMode: BooleanConstructor; /** 地图实例 */
|
|
43
43
|
searchPlaceholder: StringConstructor;
|
|
44
44
|
markerSrc: {
|
|
45
45
|
type: StringConstructor;
|
|
@@ -47,14 +47,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
};
|
|
48
48
|
mapKey: StringConstructor;
|
|
49
49
|
mapVersion: {
|
|
50
|
-
type: StringConstructor;
|
|
50
|
+
type: StringConstructor;
|
|
51
51
|
default: string;
|
|
52
52
|
};
|
|
53
|
-
mapStyle: StringConstructor;
|
|
53
|
+
mapStyle: StringConstructor; /** 输入建议数据 */
|
|
54
54
|
darkMode: BooleanConstructor;
|
|
55
|
-
okText: StringConstructor;
|
|
56
|
-
emptyProps: import("vue").PropType<import("../../ele-app/
|
|
57
|
-
|
|
55
|
+
okText: StringConstructor;
|
|
56
|
+
emptyProps: import("vue").PropType<import("../../ele-app/el").ElEmptyProps>;
|
|
57
|
+
/** 输入建议关键字 */
|
|
58
|
+
headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>; /** 选中数据 */
|
|
58
59
|
}, {
|
|
59
60
|
mapRef: import("vue").Ref<HTMLDivElement | null>;
|
|
60
61
|
loading: import("vue").Ref<boolean>;
|
|
@@ -153,7 +154,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
153
154
|
type: StringConstructor;
|
|
154
155
|
default: string;
|
|
155
156
|
};
|
|
156
|
-
keywordMode: BooleanConstructor;
|
|
157
|
+
keywordMode: BooleanConstructor; /** 地图实例 */
|
|
157
158
|
searchPlaceholder: StringConstructor;
|
|
158
159
|
markerSrc: {
|
|
159
160
|
type: StringConstructor;
|
|
@@ -161,14 +162,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
161
162
|
};
|
|
162
163
|
mapKey: StringConstructor;
|
|
163
164
|
mapVersion: {
|
|
164
|
-
type: StringConstructor;
|
|
165
|
+
type: StringConstructor;
|
|
165
166
|
default: string;
|
|
166
167
|
};
|
|
167
|
-
mapStyle: StringConstructor;
|
|
168
|
+
mapStyle: StringConstructor; /** 输入建议数据 */
|
|
168
169
|
darkMode: BooleanConstructor;
|
|
169
|
-
okText: StringConstructor;
|
|
170
|
-
emptyProps: import("vue").PropType<import("../../ele-app/
|
|
171
|
-
|
|
170
|
+
okText: StringConstructor;
|
|
171
|
+
emptyProps: import("vue").PropType<import("../../ele-app/el").ElEmptyProps>;
|
|
172
|
+
/** 输入建议关键字 */
|
|
173
|
+
headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>; /** 选中数据 */
|
|
172
174
|
}>> & {
|
|
173
175
|
onDone?: ((_result: CenterPoint) => any) | undefined;
|
|
174
176
|
onMapDone?: ((_ins: any) => any) | undefined;
|
|
@@ -5,7 +5,7 @@ import type MapViewType from "./components/map-view";
|
|
|
5
5
|
export type MapViewInstance = InstanceType<typeof MapViewType> | null;
|
|
6
6
|
declare const _default: import("vue").DefineComponent<{
|
|
7
7
|
modelValue: BooleanConstructor;
|
|
8
|
-
modalProps: import("vue").PropType<Omit<import("../ele-app/
|
|
8
|
+
modalProps: import("vue").PropType<Omit<import("../ele-app/plus").EleModalProps, "modelValue">>;
|
|
9
9
|
responsive: {
|
|
10
10
|
type: BooleanConstructor;
|
|
11
11
|
default: null;
|
|
@@ -50,7 +50,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
50
|
type: StringConstructor;
|
|
51
51
|
default: string;
|
|
52
52
|
};
|
|
53
|
-
keywordMode: BooleanConstructor;
|
|
53
|
+
keywordMode: BooleanConstructor; /** 地图属性 */
|
|
54
54
|
searchPlaceholder: StringConstructor;
|
|
55
55
|
markerSrc: {
|
|
56
56
|
type: StringConstructor;
|
|
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
64
|
mapStyle: StringConstructor;
|
|
65
65
|
darkMode: BooleanConstructor;
|
|
66
66
|
okText: StringConstructor;
|
|
67
|
-
emptyProps: import("vue").PropType<import("../ele-app/
|
|
67
|
+
emptyProps: import("vue").PropType<import("../ele-app/el").ElEmptyProps>;
|
|
68
68
|
headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
69
69
|
}, {
|
|
70
70
|
mapRef: Ref<MapViewInstance>;
|
|
@@ -83,7 +83,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
83
83
|
'update:modelValue': (_value: boolean) => boolean;
|
|
84
84
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
85
85
|
modelValue: BooleanConstructor;
|
|
86
|
-
modalProps: import("vue").PropType<Omit<import("../ele-app/
|
|
86
|
+
modalProps: import("vue").PropType<Omit<import("../ele-app/plus").EleModalProps, "modelValue">>;
|
|
87
87
|
responsive: {
|
|
88
88
|
type: BooleanConstructor;
|
|
89
89
|
default: null;
|
|
@@ -128,7 +128,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
128
128
|
type: StringConstructor;
|
|
129
129
|
default: string;
|
|
130
130
|
};
|
|
131
|
-
keywordMode: BooleanConstructor;
|
|
131
|
+
keywordMode: BooleanConstructor; /** 地图属性 */
|
|
132
132
|
searchPlaceholder: StringConstructor;
|
|
133
133
|
markerSrc: {
|
|
134
134
|
type: StringConstructor;
|
|
@@ -142,7 +142,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
142
142
|
mapStyle: StringConstructor;
|
|
143
143
|
darkMode: BooleanConstructor;
|
|
144
144
|
okText: StringConstructor;
|
|
145
|
-
emptyProps: import("vue").PropType<import("../ele-app/
|
|
145
|
+
emptyProps: import("vue").PropType<import("../ele-app/el").ElEmptyProps>;
|
|
146
146
|
headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
147
147
|
}>> & {
|
|
148
148
|
onOpen?: (() => any) | undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type { ElEmptyProps
|
|
2
|
+
import type { ElEmptyProps } from '../ele-app/el';
|
|
3
|
+
import type { EleModalProps } from '../ele-app/plus';
|
|
3
4
|
import type { MapLocale, CenterPoint } from './types';
|
|
4
5
|
/**
|
|
5
6
|
* 属性
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 返回数据
|
|
3
|
+
*/
|
|
4
|
+
export interface CenterPoint {
|
|
5
|
+
/** 名称 */
|
|
6
|
+
name?: string;
|
|
7
|
+
/** 位置 */
|
|
8
|
+
address?: string;
|
|
9
|
+
/** 纬度 */
|
|
10
|
+
lat?: number;
|
|
11
|
+
/** 经度 */
|
|
12
|
+
lng?: number;
|
|
13
|
+
/** 城市 */
|
|
14
|
+
city?: City;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 行政区数据
|
|
19
|
+
*/
|
|
20
|
+
export interface City {
|
|
21
|
+
/** 省 */
|
|
22
|
+
province: string;
|
|
23
|
+
/** 市 */
|
|
24
|
+
city: string;
|
|
25
|
+
/** 区 */
|
|
26
|
+
district: string;
|
|
27
|
+
/** 区号 */
|
|
28
|
+
citycode: number;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* 坐标
|
|
33
|
+
*/
|
|
34
|
+
export interface PoiLocation {
|
|
35
|
+
/** 纬度 */
|
|
36
|
+
lat: number;
|
|
37
|
+
/** 经度 */
|
|
38
|
+
lng: number;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* 检索结果
|
|
43
|
+
*/
|
|
44
|
+
export interface PoiItem {
|
|
45
|
+
/** 地点名称 */
|
|
46
|
+
name: string;
|
|
47
|
+
/** 详细地址 */
|
|
48
|
+
address: string;
|
|
49
|
+
/** 经纬度坐标 */
|
|
50
|
+
location: PoiLocation;
|
|
51
|
+
/** 是否选中 */
|
|
52
|
+
selected?: boolean;
|
|
53
|
+
/** 数据唯一标识 */
|
|
54
|
+
id?: string;
|
|
55
|
+
/** 输入建议唯一标识 */
|
|
56
|
+
key?: string;
|
|
57
|
+
/** 输入建议的街道 */
|
|
58
|
+
district?: string;
|
|
59
|
+
/** 输入建议显示的名称 */
|
|
60
|
+
label?: string;
|
|
61
|
+
/** 输入建议显示的值 */
|
|
62
|
+
value?: string;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* 实例
|
|
67
|
+
*/
|
|
68
|
+
export interface MapState {
|
|
69
|
+
/** 上次搜索建议 */
|
|
70
|
+
lastSuggestion: string;
|
|
71
|
+
/** 选中的搜索建议 */
|
|
72
|
+
selectedSuggestion: PoiItem | null;
|
|
73
|
+
/** 是否是选中条目移动地图 */
|
|
74
|
+
isItemClickMove: boolean;
|
|
75
|
+
/** 地图实例 */
|
|
76
|
+
mapIns: any;
|
|
77
|
+
/** 检索实例 */
|
|
78
|
+
placeSearchIns: any;
|
|
79
|
+
/** 搜索建议实例 */
|
|
80
|
+
autoCompleteIns: any;
|
|
81
|
+
/** 地图标记点 */
|
|
82
|
+
centerMarker: any;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* 国际化
|
|
87
|
+
*/
|
|
88
|
+
export interface MapLocale {
|
|
89
|
+
title: string;
|
|
90
|
+
placeholder: string;
|
|
91
|
+
message: string;
|
|
92
|
+
ok: string;
|
|
93
|
+
}
|
package/lib/ele-menus/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { NavigationFailure } from 'vue-router';
|
|
2
2
|
import type { MenuItemClicked } from 'element-plus';
|
|
3
|
-
import type { ElMenuInstance } from '../ele-app/
|
|
3
|
+
import type { ElMenuInstance } from '../ele-app/el';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
items: {
|
|
6
6
|
type: import("vue").PropType<import("./types").MenuItem[]>;
|