ele-admin-plus 1.2.0-beta.2 → 1.2.0-beta.4
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/components.d.ts +6 -6
- package/es/core-components.d.ts +47 -47
- package/es/core-export.d.ts +2 -2
- package/es/ele-admin-layout/components/layout-tabs.d.ts +4 -4
- package/es/ele-admin-layout/index.d.ts +16 -3
- package/es/ele-admin-layout/index.js +41 -26
- package/es/ele-admin-layout/props.d.ts +14 -5
- package/es/ele-admin-layout/props.js +9 -0
- package/es/ele-admin-layout/style/index.scss +7 -2
- package/es/ele-alert/props.d.ts +1 -1
- package/es/ele-avatar-group/props.d.ts +1 -1
- package/es/ele-bar-code/index.d.ts +2 -2
- package/es/ele-bar-code/props.d.ts +2 -2
- package/es/ele-basic-select/index.d.ts +2 -2
- package/es/ele-basic-select/props.d.ts +1 -1
- package/es/ele-breadcrumb/index.js +5 -2
- package/es/ele-breadcrumb/props.d.ts +1 -1
- package/es/ele-card/index.d.ts +6 -4
- package/es/ele-card/index.js +7 -1
- package/es/ele-card/style/index.scss +0 -13
- package/es/ele-check-card/components/card-item.d.ts +1 -1
- package/es/ele-check-card/index.js +5 -4
- package/es/ele-check-card/props.d.ts +2 -2
- package/es/ele-config-provider/props.d.ts +2 -2
- package/es/ele-config-provider/receiver.d.ts +1 -1
- package/es/ele-copyable/index.d.ts +1 -1
- package/es/ele-copyable/props.d.ts +2 -2
- package/es/ele-count-up/props.d.ts +1 -1
- package/es/ele-cropper/components/cropper-tools.d.ts +1 -1
- package/es/ele-cropper/index.d.ts +2 -2
- package/es/ele-cropper/props.d.ts +1 -1
- package/es/ele-cropper-modal/props.d.ts +1 -1
- package/es/ele-dashboard/props.d.ts +1 -1
- package/es/ele-data-table/index.d.ts +1 -1
- package/es/ele-data-table/props.d.ts +1 -1
- package/es/ele-data-table/util.d.ts +4 -4
- package/es/ele-dot/props.d.ts +1 -1
- package/es/ele-dropdown/index.d.ts +2 -2
- package/es/ele-dropdown/index.js +7 -3
- package/es/ele-dropdown/props.d.ts +2 -2
- package/es/ele-edit-tag/props.d.ts +1 -1
- package/es/ele-ellipsis/index.d.ts +1 -1
- package/es/ele-ellipsis/props.d.ts +1 -1
- package/es/ele-file-list/components/file-grid-item.d.ts +3 -3
- package/es/ele-file-list/components/file-grid.d.ts +3 -3
- package/es/ele-file-list/components/file-grid.js +2 -2
- package/es/ele-file-list/components/file-table-item.d.ts +3 -3
- package/es/ele-file-list/components/file-table.d.ts +3 -3
- package/es/ele-file-list/components/file-table.js +2 -2
- package/es/ele-file-list/index.d.ts +1 -1
- package/es/ele-file-list/props.d.ts +4 -4
- package/es/ele-icon-select/components/icon-grid.d.ts +1 -1
- package/es/ele-icon-select/index.d.ts +1 -1
- package/es/ele-icon-select/props.d.ts +2 -2
- package/es/ele-loading/props.d.ts +1 -1
- package/es/ele-map-picker/components/map-view.d.ts +1 -1
- package/es/ele-map-picker/index.d.ts +3 -3
- package/es/ele-map-picker/props.d.ts +3 -3
- package/es/ele-menus/index.d.ts +2 -2
- package/es/ele-menus/props.d.ts +2 -2
- package/es/ele-menus/util.d.ts +1 -1
- package/es/ele-modal/index.d.ts +1 -1
- package/es/ele-modal/props.d.ts +2 -2
- package/es/ele-modal/util.d.ts +1 -1
- package/es/ele-pagination/props.d.ts +1 -1
- package/es/ele-popconfirm/index.d.ts +3 -3
- package/es/ele-popconfirm/props.d.ts +2 -2
- package/es/ele-popover/index.d.ts +2 -2
- package/es/ele-popover/props.d.ts +1 -1
- package/es/ele-printer/props.d.ts +1 -1
- package/es/ele-pro-layout/components/pro-iframe.d.ts +1 -1
- package/es/ele-pro-layout/index.d.ts +5 -5
- package/es/ele-pro-layout/props.d.ts +5 -5
- package/es/ele-pro-layout/util.d.ts +3 -3
- package/es/ele-pro-table/components/table-tools.d.ts +2 -2
- package/es/ele-pro-table/components/table-tools.js +2 -2
- package/es/ele-pro-table/components/tool-column-list.d.ts +1 -1
- package/es/ele-pro-table/components/tool-column.d.ts +2 -2
- package/es/ele-pro-table/components/tool-export.d.ts +4 -4
- package/es/ele-pro-table/components/tool-print-body-cell.d.ts +3 -3
- package/es/ele-pro-table/components/tool-print-header-cell.d.ts +3 -3
- package/es/ele-pro-table/components/tool-print.d.ts +5 -5
- package/es/ele-pro-table/components/tool-print.js +8 -5
- package/es/ele-pro-table/index.d.ts +3 -3
- package/es/ele-pro-table/props.d.ts +3 -3
- package/es/ele-pro-table/util.d.ts +2 -2
- package/es/ele-qr-code/props.d.ts +1 -1
- package/es/ele-qr-code/util.d.ts +1 -1
- package/es/ele-segmented/index.js +4 -1
- package/es/ele-segmented/props.d.ts +1 -1
- package/es/ele-steps/index.js +4 -1
- package/es/ele-steps/props.d.ts +1 -1
- package/es/ele-tab-wrap/components/tab-dropdown.d.ts +2 -2
- package/es/ele-tab-wrap/props.d.ts +1 -1
- package/es/ele-table-select/index.d.ts +2 -2
- package/es/ele-table-select/props.d.ts +3 -3
- package/es/ele-tabs/components/tab-title.d.ts +3 -3
- package/es/ele-tabs/index.d.ts +6 -6
- package/es/ele-tabs/index.js +5 -4
- package/es/ele-tabs/props.d.ts +5 -5
- package/es/ele-text/props.d.ts +2 -2
- package/es/ele-toolbar/props.d.ts +2 -2
- package/es/ele-tooltip/index.d.ts +2 -2
- package/es/ele-tooltip/props.d.ts +1 -1
- package/es/ele-tour/index.d.ts +2 -2
- package/es/ele-tour/props.d.ts +1 -1
- package/es/ele-tour/util.d.ts +1 -1
- package/es/ele-tree-select/index.d.ts +3 -3
- package/es/ele-tree-select/props.d.ts +3 -3
- package/es/ele-tree-select/util.d.ts +1 -1
- package/es/ele-upload-list/components/list-item.d.ts +2 -2
- package/es/ele-upload-list/index.d.ts +1 -1
- package/es/ele-upload-list/props.d.ts +2 -2
- package/es/ele-virtual-table/components/body-cell.d.ts +3 -5
- package/es/ele-virtual-table/components/body-row.d.ts +4 -4
- package/es/ele-virtual-table/components/body-row.js +2 -2
- package/es/ele-virtual-table/components/cell-filter.d.ts +2 -2
- package/es/ele-virtual-table/components/expand-row.d.ts +1 -1
- package/es/ele-virtual-table/components/footer-row.d.ts +2 -2
- package/es/ele-virtual-table/components/header-cell.d.ts +3 -3
- package/es/ele-virtual-table/components/header-row.d.ts +2 -2
- package/es/ele-virtual-table/components/header-row.js +2 -2
- package/es/ele-virtual-table/index.d.ts +9 -9
- package/es/ele-virtual-table/types.d.ts +1 -1
- package/es/ele-virtual-table/util.d.ts +5 -5
- package/es/ele-watermark/props.d.ts +1 -1
- package/es/ele-watermark/util.d.ts +1 -1
- package/es/ele-xg-player/index.d.ts +1 -1
- package/es/icons/index.d.ts +108 -108
- package/es/utils/hook.d.ts +2 -0
- package/es/utils/hook.js +26 -0
- package/es/utils/menu-util.d.ts +1 -1
- package/es/utils/message-box.d.ts +1 -1
- package/es/utils/message.d.ts +1 -1
- package/lib/components.d.ts +6 -6
- package/lib/core-components.d.ts +47 -47
- package/lib/core-export.d.ts +2 -2
- package/lib/ele-admin-layout/components/layout-tabs.d.ts +4 -4
- package/lib/ele-admin-layout/index.cjs +40 -25
- package/lib/ele-admin-layout/index.d.ts +16 -3
- package/lib/ele-admin-layout/props.cjs +9 -0
- package/lib/ele-admin-layout/props.d.ts +14 -5
- package/lib/ele-admin-layout/style/index.scss +7 -2
- package/lib/ele-alert/props.d.ts +1 -1
- package/lib/ele-avatar-group/props.d.ts +1 -1
- package/lib/ele-bar-code/index.d.ts +2 -2
- package/lib/ele-bar-code/props.d.ts +2 -2
- package/lib/ele-basic-select/index.d.ts +2 -2
- package/lib/ele-basic-select/props.d.ts +1 -1
- package/lib/ele-breadcrumb/index.cjs +4 -1
- package/lib/ele-breadcrumb/props.d.ts +1 -1
- package/lib/ele-card/index.cjs +7 -1
- package/lib/ele-card/index.d.ts +6 -4
- package/lib/ele-card/style/index.scss +0 -13
- package/lib/ele-check-card/components/card-item.d.ts +1 -1
- package/lib/ele-check-card/index.cjs +4 -3
- package/lib/ele-check-card/props.d.ts +2 -2
- package/lib/ele-config-provider/props.d.ts +2 -2
- package/lib/ele-config-provider/receiver.d.ts +1 -1
- package/lib/ele-copyable/index.d.ts +1 -1
- package/lib/ele-copyable/props.d.ts +2 -2
- package/lib/ele-count-up/props.d.ts +1 -1
- package/lib/ele-cropper/components/cropper-tools.d.ts +1 -1
- package/lib/ele-cropper/index.d.ts +2 -2
- package/lib/ele-cropper/props.d.ts +1 -1
- package/lib/ele-cropper-modal/props.d.ts +1 -1
- package/lib/ele-dashboard/props.d.ts +1 -1
- package/lib/ele-data-table/index.d.ts +1 -1
- package/lib/ele-data-table/props.d.ts +1 -1
- package/lib/ele-data-table/util.d.ts +4 -4
- package/lib/ele-dot/props.d.ts +1 -1
- package/lib/ele-dropdown/index.cjs +6 -2
- package/lib/ele-dropdown/index.d.ts +2 -2
- package/lib/ele-dropdown/props.d.ts +2 -2
- package/lib/ele-edit-tag/props.d.ts +1 -1
- package/lib/ele-ellipsis/index.d.ts +1 -1
- package/lib/ele-ellipsis/props.d.ts +1 -1
- package/lib/ele-file-list/components/file-grid-item.d.ts +3 -3
- package/lib/ele-file-list/components/file-grid.cjs +1 -1
- package/lib/ele-file-list/components/file-grid.d.ts +3 -3
- package/lib/ele-file-list/components/file-table-item.d.ts +3 -3
- package/lib/ele-file-list/components/file-table.cjs +1 -1
- package/lib/ele-file-list/components/file-table.d.ts +3 -3
- package/lib/ele-file-list/index.d.ts +1 -1
- package/lib/ele-file-list/props.d.ts +4 -4
- package/lib/ele-icon-select/components/icon-grid.d.ts +1 -1
- package/lib/ele-icon-select/index.d.ts +1 -1
- package/lib/ele-icon-select/props.d.ts +2 -2
- package/lib/ele-loading/props.d.ts +1 -1
- package/lib/ele-map-picker/components/map-view.d.ts +1 -1
- package/lib/ele-map-picker/index.d.ts +3 -3
- package/lib/ele-map-picker/props.d.ts +3 -3
- package/lib/ele-menus/index.d.ts +2 -2
- package/lib/ele-menus/props.d.ts +2 -2
- package/lib/ele-menus/util.d.ts +1 -1
- package/lib/ele-modal/index.d.ts +1 -1
- package/lib/ele-modal/props.d.ts +2 -2
- package/lib/ele-modal/util.d.ts +1 -1
- package/lib/ele-pagination/props.d.ts +1 -1
- package/lib/ele-popconfirm/index.d.ts +3 -3
- package/lib/ele-popconfirm/props.d.ts +2 -2
- package/lib/ele-popover/index.d.ts +2 -2
- package/lib/ele-popover/props.d.ts +1 -1
- package/lib/ele-printer/props.d.ts +1 -1
- package/lib/ele-pro-layout/components/pro-iframe.d.ts +1 -1
- package/lib/ele-pro-layout/index.d.ts +5 -5
- package/lib/ele-pro-layout/props.d.ts +5 -5
- package/lib/ele-pro-layout/util.d.ts +3 -3
- package/lib/ele-pro-table/components/table-tools.cjs +1 -1
- package/lib/ele-pro-table/components/table-tools.d.ts +2 -2
- package/lib/ele-pro-table/components/tool-column-list.d.ts +1 -1
- package/lib/ele-pro-table/components/tool-column.d.ts +2 -2
- package/lib/ele-pro-table/components/tool-export.d.ts +4 -4
- package/lib/ele-pro-table/components/tool-print-body-cell.d.ts +3 -3
- package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +3 -3
- package/lib/ele-pro-table/components/tool-print.cjs +7 -4
- package/lib/ele-pro-table/components/tool-print.d.ts +5 -5
- package/lib/ele-pro-table/index.d.ts +3 -3
- package/lib/ele-pro-table/props.d.ts +3 -3
- package/lib/ele-pro-table/util.d.ts +2 -2
- package/lib/ele-qr-code/props.d.ts +1 -1
- package/lib/ele-qr-code/util.d.ts +1 -1
- package/lib/ele-segmented/index.cjs +4 -1
- package/lib/ele-segmented/props.d.ts +1 -1
- package/lib/ele-steps/index.cjs +4 -1
- package/lib/ele-steps/props.d.ts +1 -1
- package/lib/ele-tab-wrap/components/tab-dropdown.d.ts +2 -2
- package/lib/ele-tab-wrap/props.d.ts +1 -1
- package/lib/ele-table-select/index.d.ts +2 -2
- package/lib/ele-table-select/props.d.ts +3 -3
- package/lib/ele-tabs/components/tab-title.d.ts +3 -3
- package/lib/ele-tabs/index.cjs +4 -3
- package/lib/ele-tabs/index.d.ts +6 -6
- package/lib/ele-tabs/props.d.ts +5 -5
- package/lib/ele-text/props.d.ts +2 -2
- package/lib/ele-toolbar/props.d.ts +2 -2
- package/lib/ele-tooltip/index.d.ts +2 -2
- package/lib/ele-tooltip/props.d.ts +1 -1
- package/lib/ele-tour/index.d.ts +2 -2
- package/lib/ele-tour/props.d.ts +1 -1
- package/lib/ele-tour/util.d.ts +1 -1
- package/lib/ele-tree-select/index.d.ts +3 -3
- package/lib/ele-tree-select/props.d.ts +3 -3
- package/lib/ele-tree-select/util.d.ts +1 -1
- package/lib/ele-upload-list/components/list-item.d.ts +2 -2
- package/lib/ele-upload-list/index.d.ts +1 -1
- package/lib/ele-upload-list/props.d.ts +2 -2
- package/lib/ele-virtual-table/components/body-cell.d.ts +3 -5
- package/lib/ele-virtual-table/components/body-row.cjs +1 -1
- package/lib/ele-virtual-table/components/body-row.d.ts +4 -4
- package/lib/ele-virtual-table/components/cell-filter.d.ts +2 -2
- package/lib/ele-virtual-table/components/expand-row.d.ts +1 -1
- package/lib/ele-virtual-table/components/footer-row.d.ts +2 -2
- package/lib/ele-virtual-table/components/header-cell.d.ts +3 -3
- package/lib/ele-virtual-table/components/header-row.cjs +1 -1
- package/lib/ele-virtual-table/components/header-row.d.ts +2 -2
- package/lib/ele-virtual-table/index.d.ts +9 -9
- package/lib/ele-virtual-table/types.d.ts +1 -1
- package/lib/ele-virtual-table/util.d.ts +5 -5
- package/lib/ele-watermark/props.d.ts +1 -1
- package/lib/ele-watermark/util.d.ts +1 -1
- package/lib/ele-xg-player/index.d.ts +1 -1
- package/lib/icons/index.d.ts +108 -108
- package/lib/utils/hook.cjs +26 -0
- package/lib/utils/hook.d.ts +2 -0
- package/lib/utils/menu-util.d.ts +1 -1
- package/lib/utils/message-box.d.ts +1 -1
- package/lib/utils/message.d.ts +1 -1
- package/package.json +27 -27
package/es/components.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './core-components';
|
|
2
|
-
export { default as EleBarCode } from
|
|
3
|
-
export { default as EleCountUp } from
|
|
4
|
-
export { default as EleCropper } from
|
|
5
|
-
export { default as EleCropperModal } from
|
|
6
|
-
export { default as EleMapPicker } from
|
|
7
|
-
export { default as EleXgPlayer } from
|
|
2
|
+
export { default as EleBarCode } from './ele-bar-code/index';
|
|
3
|
+
export { default as EleCountUp } from './ele-count-up/index';
|
|
4
|
+
export { default as EleCropper } from './ele-cropper/index';
|
|
5
|
+
export { default as EleCropperModal } from './ele-cropper-modal/index';
|
|
6
|
+
export { default as EleMapPicker } from './ele-map-picker/index';
|
|
7
|
+
export { default as EleXgPlayer } from './ele-xg-player/index';
|
package/es/core-components.d.ts
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
export { default as EleAdminLayout } from
|
|
2
|
-
export { default as EleAlert } from
|
|
1
|
+
export { default as EleAdminLayout } from './ele-admin-layout/index';
|
|
2
|
+
export { default as EleAlert } from './ele-alert/index';
|
|
3
3
|
export { default as EleApp } from './ele-app/index';
|
|
4
|
-
export { default as EleAvatarGroup } from
|
|
5
|
-
export { default as EleBacktop } from
|
|
6
|
-
export { default as EleBasicSelect } from
|
|
7
|
-
export { default as EleBottomBar } from
|
|
8
|
-
export { default as EleBreadcrumb } from
|
|
9
|
-
export { default as EleCard } from
|
|
10
|
-
export { default as EleCheckCard } from
|
|
4
|
+
export { default as EleAvatarGroup } from './ele-avatar-group/index';
|
|
5
|
+
export { default as EleBacktop } from './ele-backtop/index';
|
|
6
|
+
export { default as EleBasicSelect } from './ele-basic-select/index';
|
|
7
|
+
export { default as EleBottomBar } from './ele-bottom-bar/index';
|
|
8
|
+
export { default as EleBreadcrumb } from './ele-breadcrumb/index';
|
|
9
|
+
export { default as EleCard } from './ele-card/index';
|
|
10
|
+
export { default as EleCheckCard } from './ele-check-card/index';
|
|
11
11
|
export { default as EleConfigProvider } from './ele-config-provider/index';
|
|
12
|
-
export { default as EleCopyable } from
|
|
13
|
-
export { default as EleDashboard } from
|
|
12
|
+
export { default as EleCopyable } from './ele-copyable/index';
|
|
13
|
+
export { default as EleDashboard } from './ele-dashboard/index';
|
|
14
14
|
export { default as EleDataTable } from './ele-data-table/index';
|
|
15
|
-
export { default as EleDot } from
|
|
16
|
-
export { default as EleDrawer } from
|
|
17
|
-
export { default as EleDropdown } from
|
|
18
|
-
export { default as EleEditTag } from
|
|
19
|
-
export { default as EleEllipsis } from
|
|
20
|
-
export { default as EleFileList } from
|
|
21
|
-
export { default as EleFileListTool } from
|
|
22
|
-
export { default as EleIconSelect } from
|
|
23
|
-
export { default as EleLoading } from
|
|
15
|
+
export { default as EleDot } from './ele-dot/index';
|
|
16
|
+
export { default as EleDrawer } from './ele-drawer/index';
|
|
17
|
+
export { default as EleDropdown } from './ele-dropdown/index';
|
|
18
|
+
export { default as EleEditTag } from './ele-edit-tag/index';
|
|
19
|
+
export { default as EleEllipsis } from './ele-ellipsis/index';
|
|
20
|
+
export { default as EleFileList } from './ele-file-list/index';
|
|
21
|
+
export { default as EleFileListTool } from './ele-file-list-tool/index';
|
|
22
|
+
export { default as EleIconSelect } from './ele-icon-select/index';
|
|
23
|
+
export { default as EleLoading } from './ele-loading/index';
|
|
24
24
|
export { default as EleMenus } from './ele-menus/index';
|
|
25
|
-
export { default as EleModal } from
|
|
26
|
-
export { default as ElePage } from
|
|
27
|
-
export { default as ElePagination } from
|
|
28
|
-
export { default as ElePopconfirm } from
|
|
29
|
-
export { default as ElePopover } from
|
|
30
|
-
export { default as ElePrinter } from
|
|
31
|
-
export { default as EleProLayout } from
|
|
32
|
-
export { default as EleProTable } from
|
|
33
|
-
export { default as EleQrCode } from
|
|
34
|
-
export { default as EleQrCodeSvg } from
|
|
35
|
-
export { default as EleSegmented } from
|
|
36
|
-
export { default as EleSplitPanel } from
|
|
37
|
-
export { default as EleSteps } from
|
|
38
|
-
export { default as EleTabs } from
|
|
39
|
-
export { default as EleTabTool } from
|
|
40
|
-
export { default as EleTabWrap } from
|
|
41
|
-
export { default as EleTable } from
|
|
42
|
-
export { default as EleTableSelect } from
|
|
43
|
-
export { default as EleText } from
|
|
44
|
-
export { default as EleTool } from
|
|
45
|
-
export { default as EleToolbar } from
|
|
46
|
-
export { default as EleTooltip } from
|
|
47
|
-
export { default as EleTour } from
|
|
48
|
-
export { default as EleTreeSelect } from
|
|
49
|
-
export { default as EleUploadList } from
|
|
50
|
-
export { default as EleVirtualTable } from
|
|
51
|
-
export { default as EleWatermark } from
|
|
25
|
+
export { default as EleModal } from './ele-modal/index';
|
|
26
|
+
export { default as ElePage } from './ele-page/index';
|
|
27
|
+
export { default as ElePagination } from './ele-pagination/index';
|
|
28
|
+
export { default as ElePopconfirm } from './ele-popconfirm/index';
|
|
29
|
+
export { default as ElePopover } from './ele-popover/index';
|
|
30
|
+
export { default as ElePrinter } from './ele-printer/index';
|
|
31
|
+
export { default as EleProLayout } from './ele-pro-layout/index';
|
|
32
|
+
export { default as EleProTable } from './ele-pro-table/index';
|
|
33
|
+
export { default as EleQrCode } from './ele-qr-code/index';
|
|
34
|
+
export { default as EleQrCodeSvg } from './ele-qr-code-svg/index';
|
|
35
|
+
export { default as EleSegmented } from './ele-segmented/index';
|
|
36
|
+
export { default as EleSplitPanel } from './ele-split-panel/index';
|
|
37
|
+
export { default as EleSteps } from './ele-steps/index';
|
|
38
|
+
export { default as EleTabs } from './ele-tabs/index';
|
|
39
|
+
export { default as EleTabTool } from './ele-tab-tool/index';
|
|
40
|
+
export { default as EleTabWrap } from './ele-tab-wrap/index';
|
|
41
|
+
export { default as EleTable } from './ele-table/index';
|
|
42
|
+
export { default as EleTableSelect } from './ele-table-select/index';
|
|
43
|
+
export { default as EleText } from './ele-text/index';
|
|
44
|
+
export { default as EleTool } from './ele-tool/index';
|
|
45
|
+
export { default as EleToolbar } from './ele-toolbar/index';
|
|
46
|
+
export { default as EleTooltip } from './ele-tooltip/index';
|
|
47
|
+
export { default as EleTour } from './ele-tour/index';
|
|
48
|
+
export { default as EleTreeSelect } from './ele-tree-select/index';
|
|
49
|
+
export { default as EleUploadList } from './ele-upload-list/index';
|
|
50
|
+
export { default as EleVirtualTable } from './ele-virtual-table/index';
|
|
51
|
+
export { default as EleWatermark } from './ele-watermark/index';
|
package/es/core-export.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { default as LayoutTool } from
|
|
1
|
+
import { default as LayoutTool } from './ele-admin-layout/components/layout-tool';
|
|
2
2
|
|
|
3
3
|
export { LayoutTool, LayoutTool as HeaderTool, LayoutTool as SidebarTool };
|
|
4
|
-
export { default as TabDropdown } from
|
|
4
|
+
export { default as TabDropdown } from './ele-tab-wrap/components/tab-dropdown';
|
|
5
5
|
export * from './utils/chart-theme-dark';
|
|
6
6
|
export * from './utils/chart-theme';
|
|
7
7
|
export * from './utils/core';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TabStyle } from '../types';
|
|
2
|
-
import { TabTitleInstance } from '../../ele-tabs/props';
|
|
3
|
-
import { TabPaneItem, TabEventOption, ContextMenus } from '../../ele-tabs/types';
|
|
4
|
-
import { EleDropdownProps, EleDropdownInstance, EleTabsInstance } from '../../ele-app/plus';
|
|
5
1
|
import { PropType } from 'vue';
|
|
2
|
+
import { EleDropdownProps, EleDropdownInstance, EleTabsInstance } from '../../ele-app/plus';
|
|
3
|
+
import { TabPaneItem, TabEventOption, ContextMenus } from '../../ele-tabs/types';
|
|
4
|
+
import { TabTitleInstance } from '../../ele-tabs/props';
|
|
5
|
+
import { TabStyle } from '../types';
|
|
6
6
|
|
|
7
7
|
declare const _default: import('vue').DefineComponent<{
|
|
8
8
|
/** 页签数据 */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TabPaneItem, TabEventOption } from '../ele-tabs/types';
|
|
2
|
-
import { MenuItem } from '../ele-menus/types';
|
|
3
1
|
import { EleMenusInstance } from '../ele-app/plus';
|
|
2
|
+
import { MenuItem } from '../ele-menus/types';
|
|
3
|
+
import { TabPaneItem, TabEventOption } from '../ele-tabs/types';
|
|
4
4
|
|
|
5
5
|
declare const _default: import('vue').DefineComponent<{
|
|
6
6
|
height: (StringConstructor | NumberConstructor)[];
|
|
@@ -70,6 +70,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
70
70
|
sideboxCustomStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
71
71
|
tabsCustomStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
72
72
|
contentCustomStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
73
|
+
logoSrc: StringConstructor;
|
|
74
|
+
logoTitle: StringConstructor;
|
|
75
|
+
menuScrollToActive: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
73
79
|
mobile: BooleanConstructor;
|
|
74
80
|
}, {
|
|
75
81
|
ownSlots: string[];
|
|
@@ -144,7 +150,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
144
150
|
sideMenuItemClick: (_item: MenuItem, _e: MouseEvent) => boolean;
|
|
145
151
|
sideMouseenter: (_e: MouseEvent) => boolean;
|
|
146
152
|
sideMouseleave: (_e: MouseEvent) => boolean;
|
|
147
|
-
tabClick: (_option: TabEventOption) => boolean;
|
|
153
|
+
tabClick: (_option: TabEventOption) => boolean; /** 是否是移动端风格折叠状态 */
|
|
148
154
|
tabRemove: (_name: string) => boolean;
|
|
149
155
|
tabContextMenu: (_option: TabEventOption) => boolean;
|
|
150
156
|
tabSortChange: (_data: TabPaneItem[]) => boolean;
|
|
@@ -217,6 +223,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
217
223
|
sideboxCustomStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
218
224
|
tabsCustomStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
219
225
|
contentCustomStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
226
|
+
logoSrc: StringConstructor;
|
|
227
|
+
logoTitle: StringConstructor;
|
|
228
|
+
menuScrollToActive: {
|
|
229
|
+
type: BooleanConstructor;
|
|
230
|
+
default: boolean;
|
|
231
|
+
};
|
|
220
232
|
mobile: BooleanConstructor;
|
|
221
233
|
}>> & {
|
|
222
234
|
onTabClick?: ((_option: TabEventOption) => any) | undefined;
|
|
@@ -260,6 +272,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
260
272
|
sidebarIconSlot: string;
|
|
261
273
|
sideboxTitleSlot: string;
|
|
262
274
|
sideboxIconSlot: string;
|
|
275
|
+
menuScrollToActive: boolean;
|
|
263
276
|
mobile: boolean;
|
|
264
277
|
}, {}>;
|
|
265
278
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, shallowRef, computed, shallowReactive, provide, watch, nextTick, onMounted, resolveComponent, openBlock, createBlock, normalizeClass, normalizeStyle, withCtx, createElementBlock, renderSlot, createCommentVNode, mergeProps, createSlots, normalizeProps, guardReactiveProps, renderList, createVNode, Fragment
|
|
1
|
+
import { defineComponent, shallowRef, computed, shallowReactive, provide, watch, nextTick, onMounted, resolveComponent, openBlock, createBlock, normalizeClass, normalizeStyle, withCtx, createElementBlock, renderSlot, createElementVNode, createCommentVNode, toDisplayString, mergeProps, createSlots, normalizeProps, guardReactiveProps, renderList, createVNode, Fragment } from "vue";
|
|
2
2
|
import { ElScrollbar } from "element-plus";
|
|
3
3
|
import { useTimer } from "../utils/hook";
|
|
4
4
|
import EleMenus from "../ele-menus/index";
|
|
@@ -103,7 +103,7 @@ const _sfc_main = defineComponent({
|
|
|
103
103
|
};
|
|
104
104
|
const sidebarScrollToActive = () => {
|
|
105
105
|
stopSidebarMenuTimer();
|
|
106
|
-
if (sidebarMenuRef.value == null || isCollapseMobile.value || isMixSidebar.value && isCollapseSidebar.value) {
|
|
106
|
+
if (!props.menuScrollToActive || sidebarMenuRef.value == null || isCollapseMobile.value || isMixSidebar.value && isCollapseSidebar.value) {
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
109
|
startSidebarMenuTimer(() => {
|
|
@@ -112,7 +112,7 @@ const _sfc_main = defineComponent({
|
|
|
112
112
|
};
|
|
113
113
|
const sideboxScrollToActive = () => {
|
|
114
114
|
stopSideboxMenuTimer();
|
|
115
|
-
if (sideboxMenuRef.value == null || isCollapseMobile.value) {
|
|
115
|
+
if (!props.menuScrollToActive || sideboxMenuRef.value == null || isCollapseMobile.value) {
|
|
116
116
|
return;
|
|
117
117
|
}
|
|
118
118
|
startSideboxMenuTimer(() => {
|
|
@@ -326,35 +326,38 @@ const _hoisted_1 = {
|
|
|
326
326
|
key: 0,
|
|
327
327
|
class: "ele-admin-logo"
|
|
328
328
|
};
|
|
329
|
-
const _hoisted_2 =
|
|
329
|
+
const _hoisted_2 = ["src"];
|
|
330
|
+
const _hoisted_3 = {
|
|
330
331
|
key: 1,
|
|
331
332
|
class: "ele-admin-tools"
|
|
332
333
|
};
|
|
333
|
-
const
|
|
334
|
+
const _hoisted_4 = {
|
|
334
335
|
key: 2,
|
|
335
336
|
class: "ele-admin-breadcrumb"
|
|
336
337
|
};
|
|
337
|
-
const
|
|
338
|
+
const _hoisted_5 = {
|
|
338
339
|
key: 3,
|
|
339
340
|
class: "ele-admin-menus"
|
|
340
341
|
};
|
|
341
|
-
const
|
|
342
|
+
const _hoisted_6 = {
|
|
342
343
|
key: 5,
|
|
343
344
|
class: "ele-admin-tools"
|
|
344
345
|
};
|
|
345
|
-
const
|
|
346
|
+
const _hoisted_7 = {
|
|
346
347
|
key: 0,
|
|
347
348
|
class: "ele-admin-logo"
|
|
348
349
|
};
|
|
349
|
-
const
|
|
350
|
+
const _hoisted_8 = ["src"];
|
|
351
|
+
const _hoisted_9 = {
|
|
350
352
|
key: 0,
|
|
351
353
|
class: "ele-admin-logo-title"
|
|
352
354
|
};
|
|
353
|
-
const
|
|
355
|
+
const _hoisted_10 = {
|
|
354
356
|
key: 1,
|
|
355
357
|
class: "ele-admin-logo"
|
|
356
358
|
};
|
|
357
|
-
const
|
|
359
|
+
const _hoisted_11 = ["src"];
|
|
360
|
+
const _hoisted_12 = {
|
|
358
361
|
ref: "modalsRef",
|
|
359
362
|
class: "ele-admin-modals"
|
|
360
363
|
};
|
|
@@ -395,20 +398,24 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
395
398
|
onMouseenter: _cache[0] || (_cache[0] = (...args) => _ctx.handleHeadMouseenter && _ctx.handleHeadMouseenter(...args)),
|
|
396
399
|
onMouseleave: _cache[1] || (_cache[1] = (...args) => _ctx.handleHeadMouseleave && _ctx.handleHeadMouseleave(...args))
|
|
397
400
|
}, [
|
|
398
|
-
_ctx.isHeaderLogo && (_ctx.$slots.logo || _ctx.$slots.logoTitle) ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
399
|
-
renderSlot(_ctx.$slots, "logo")
|
|
400
|
-
|
|
401
|
+
_ctx.isHeaderLogo && (_ctx.logoSrc || _ctx.logoTitle || _ctx.$slots.logo || _ctx.$slots.logoTitle) ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
402
|
+
_ctx.logoSrc || _ctx.$slots.logo ? renderSlot(_ctx.$slots, "logo", { key: 0 }, () => [
|
|
403
|
+
createElementVNode("img", { src: _ctx.logoSrc }, null, 8, _hoisted_2)
|
|
404
|
+
]) : createCommentVNode("", true),
|
|
405
|
+
_ctx.logoTitle || _ctx.$slots.logoTitle ? renderSlot(_ctx.$slots, "logoTitle", { key: 1 }, () => [
|
|
406
|
+
createElementVNode("h1", null, toDisplayString(_ctx.logoTitle), 1)
|
|
407
|
+
]) : createCommentVNode("", true)
|
|
401
408
|
])) : createCommentVNode("", true),
|
|
402
|
-
_ctx.$slots.left ? (openBlock(), createElementBlock("div",
|
|
409
|
+
_ctx.$slots.left ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
403
410
|
renderSlot(_ctx.$slots, "left")
|
|
404
411
|
])) : createCommentVNode("", true),
|
|
405
|
-
_ctx.breadcrumb ? (openBlock(), createElementBlock("div",
|
|
412
|
+
_ctx.breadcrumb ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
406
413
|
renderSlot(_ctx.$slots, "breadcrumb", {}, () => [
|
|
407
414
|
_ctx.levels && _ctx.levels.length ? (openBlock(), createBlock(_component_EleBreadcrumb, mergeProps({ key: 0 }, _ctx.breadcrumb === true ? {} : _ctx.breadcrumb, { items: _ctx.levels }), null, 16, ["items"])) : createCommentVNode("", true)
|
|
408
415
|
])
|
|
409
416
|
])) : createCommentVNode("", true),
|
|
410
417
|
renderSlot(_ctx.$slots, "center"),
|
|
411
|
-
!_ctx.showHeaderTabs || _ctx.showHeaderMenus ? (openBlock(), createElementBlock("div",
|
|
418
|
+
!_ctx.showHeaderTabs || _ctx.showHeaderMenus ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
412
419
|
_ctx.showHeaderMenus && _ctx.headerMenus ? (openBlock(), createBlock(_component_EleMenus, mergeProps({
|
|
413
420
|
key: 0,
|
|
414
421
|
mode: "horizontal",
|
|
@@ -468,7 +475,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
468
475
|
};
|
|
469
476
|
})
|
|
470
477
|
]), 1032, ["tabs", "active", "fixedHome", "homePath", "isHome", "tabStyle", "tabContextMenu", "tabContextMenus", "tabSortable", "class", "style", "onTabClick", "onTabRemove", "onTabContextMenu", "onTabSortChange"])) : createCommentVNode("", true),
|
|
471
|
-
_ctx.$slots.right ? (openBlock(), createElementBlock("div",
|
|
478
|
+
_ctx.$slots.right ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
472
479
|
renderSlot(_ctx.$slots, "right")
|
|
473
480
|
])) : createCommentVNode("", true)
|
|
474
481
|
], 38)) : createCommentVNode("", true)
|
|
@@ -500,8 +507,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
500
507
|
onMouseenter: _cache[2] || (_cache[2] = (...args) => _ctx.handleBoxMouseEnter && _ctx.handleBoxMouseEnter(...args)),
|
|
501
508
|
onMouseleave: _cache[3] || (_cache[3] = (...args) => _ctx.handleBoxMouseLeave && _ctx.handleBoxMouseLeave(...args))
|
|
502
509
|
}, [
|
|
503
|
-
!_ctx.isHeaderLogo && _ctx.$slots.logo ? (openBlock(), createElementBlock("div",
|
|
504
|
-
renderSlot(_ctx.$slots, "logo")
|
|
510
|
+
!_ctx.isHeaderLogo && (_ctx.logoSrc || _ctx.$slots.logo) ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
511
|
+
renderSlot(_ctx.$slots, "logo", {}, () => [
|
|
512
|
+
createElementVNode("img", { src: _ctx.logoSrc }, null, 8, _hoisted_8)
|
|
513
|
+
])
|
|
505
514
|
])) : createCommentVNode("", true),
|
|
506
515
|
renderSlot(_ctx.$slots, "boxTop"),
|
|
507
516
|
createVNode(_component_ElScrollbar, { class: "ele-admin-menus" }, {
|
|
@@ -555,12 +564,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
555
564
|
onMouseleave: _cache[5] || (_cache[5] = (...args) => _ctx.handleSideMouseLeave && _ctx.handleSideMouseLeave(...args))
|
|
556
565
|
}, [
|
|
557
566
|
_ctx.isMixSidebar ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
558
|
-
!_ctx.isHeaderLogo && _ctx.$slots.logoTitle ? (openBlock(), createElementBlock("div",
|
|
559
|
-
renderSlot(_ctx.$slots, "logoTitle")
|
|
567
|
+
!_ctx.isHeaderLogo && (_ctx.logoTitle || _ctx.$slots.logoTitle) ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
568
|
+
renderSlot(_ctx.$slots, "logoTitle", {}, () => [
|
|
569
|
+
createElementVNode("h1", null, toDisplayString(_ctx.logoTitle), 1)
|
|
570
|
+
])
|
|
560
571
|
])) : createCommentVNode("", true)
|
|
561
|
-
], 64)) : !_ctx.isHeaderLogo && (_ctx.$slots.logo || _ctx.$slots.logoTitle) ? (openBlock(), createElementBlock("div",
|
|
562
|
-
renderSlot(_ctx.$slots, "logo")
|
|
563
|
-
|
|
572
|
+
], 64)) : !_ctx.isHeaderLogo && (_ctx.logoSrc || _ctx.logoTitle || _ctx.$slots.logo || _ctx.$slots.logoTitle) ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
573
|
+
_ctx.logoSrc || _ctx.$slots.logo ? renderSlot(_ctx.$slots, "logo", { key: 0 }, () => [
|
|
574
|
+
createElementVNode("img", { src: _ctx.logoSrc }, null, 8, _hoisted_11)
|
|
575
|
+
]) : createCommentVNode("", true),
|
|
576
|
+
_ctx.logoTitle || _ctx.$slots.logoTitle ? renderSlot(_ctx.$slots, "logoTitle", { key: 1 }, () => [
|
|
577
|
+
createElementVNode("h1", null, toDisplayString(_ctx.logoTitle), 1)
|
|
578
|
+
]) : createCommentVNode("", true)
|
|
564
579
|
])) : createCommentVNode("", true),
|
|
565
580
|
renderSlot(_ctx.$slots, "top"),
|
|
566
581
|
createVNode(_component_ElScrollbar, { class: "ele-admin-menus" }, {
|
|
@@ -650,7 +665,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
650
665
|
target: _ctx.fixedBody && _ctx.contentRef ? _ctx.contentRef : void 0,
|
|
651
666
|
style: _ctx.fixedBody ? { position: "absolute" } : void 0
|
|
652
667
|
}, _ctx.backTop === true ? {} : _ctx.backTop), null, 16, ["target", "style"])) : createCommentVNode("", true),
|
|
653
|
-
createElementVNode("div",
|
|
668
|
+
createElementVNode("div", _hoisted_12, null, 512)
|
|
654
669
|
]),
|
|
655
670
|
default: withCtx(() => [
|
|
656
671
|
createElementVNode("div", {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Layout, SidebarLayout, HeaderStyle, SidebarStyle, TabStyle, TabBar, Maximized, LayoutProvide } from './types';
|
|
2
|
-
import { TabPaneItem, TabEventOption, ContextMenus } from '../ele-tabs/types';
|
|
3
|
-
import { BreadcrumbItem } from '../ele-breadcrumb/types';
|
|
4
|
-
import { MenuItem } from '../ele-menus/types';
|
|
5
|
-
import { EleMenusProps, EleBreadcrumbProps, EleBacktopProps, EleDropdownProps } from '../ele-app/plus';
|
|
6
1
|
import { PropType, ExtractPropTypes, InjectionKey } from 'vue';
|
|
2
|
+
import { EleMenusProps, EleBreadcrumbProps, EleBacktopProps, EleDropdownProps } from '../ele-app/plus';
|
|
3
|
+
import { MenuItem } from '../ele-menus/types';
|
|
4
|
+
import { BreadcrumbItem } from '../ele-breadcrumb/types';
|
|
5
|
+
import { TabPaneItem, TabEventOption, ContextMenus } from '../ele-tabs/types';
|
|
6
|
+
import { Layout, SidebarLayout, HeaderStyle, SidebarStyle, TabStyle, TabBar, Maximized, LayoutProvide } from './types';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* 属性
|
|
@@ -120,6 +120,15 @@ export declare const adminLayoutProps: {
|
|
|
120
120
|
tabsCustomStyle: PropType<Partial<import('vue').CSSProperties>>;
|
|
121
121
|
/** 内容区样式 */
|
|
122
122
|
contentCustomStyle: PropType<Partial<import('vue').CSSProperties>>;
|
|
123
|
+
/** logo图片地址 */
|
|
124
|
+
logoSrc: StringConstructor;
|
|
125
|
+
/** logo文字 */
|
|
126
|
+
logoTitle: StringConstructor;
|
|
127
|
+
/** 菜单是否自动滚动到选中位置 */
|
|
128
|
+
menuScrollToActive: {
|
|
129
|
+
type: BooleanConstructor;
|
|
130
|
+
default: boolean;
|
|
131
|
+
};
|
|
123
132
|
/** 是否是移动端风格 */
|
|
124
133
|
mobile: BooleanConstructor;
|
|
125
134
|
};
|
|
@@ -110,6 +110,15 @@ const adminLayoutProps = {
|
|
|
110
110
|
tabsCustomStyle: Object,
|
|
111
111
|
/** 内容区样式 */
|
|
112
112
|
contentCustomStyle: Object,
|
|
113
|
+
/** logo图片地址 */
|
|
114
|
+
logoSrc: String,
|
|
115
|
+
/** logo文字 */
|
|
116
|
+
logoTitle: String,
|
|
117
|
+
/** 菜单是否自动滚动到选中位置 */
|
|
118
|
+
menuScrollToActive: {
|
|
119
|
+
type: Boolean,
|
|
120
|
+
default: true
|
|
121
|
+
},
|
|
113
122
|
/** 是否是移动端风格 */
|
|
114
123
|
mobile: Boolean
|
|
115
124
|
};
|
|
@@ -206,8 +206,13 @@
|
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
.ele-admin-logo > img
|
|
210
|
-
|
|
209
|
+
.ele-admin-logo > img {
|
|
210
|
+
width: 30px;
|
|
211
|
+
height: 30px;
|
|
212
|
+
|
|
213
|
+
& + h1 {
|
|
214
|
+
margin-left: 8px;
|
|
215
|
+
}
|
|
211
216
|
}
|
|
212
217
|
|
|
213
218
|
.ele-admin-sidebar.is-collapse > .ele-admin-logo > img + h1 {
|
package/es/ele-alert/props.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { JsBarCodeInstance } from './types';
|
|
2
|
-
import { default as JsBarCode } from 'jsbarcode';
|
|
3
1
|
import { Ref } from 'vue';
|
|
2
|
+
import { default as JsBarCode } from 'jsbarcode';
|
|
3
|
+
import { JsBarCodeInstance } from './types';
|
|
4
4
|
|
|
5
5
|
declare const _default: import('vue').DefineComponent<{
|
|
6
6
|
value: StringConstructor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SelectedItem } from './types';
|
|
2
|
-
import { EleTooltipInstance } from '../ele-app/plus';
|
|
3
1
|
import { ElInputInstance } from '../ele-app/el';
|
|
2
|
+
import { EleTooltipInstance } from '../ele-app/plus';
|
|
3
|
+
import { SelectedItem } from './types';
|
|
4
4
|
|
|
5
5
|
declare const _default: import('vue').DefineComponent<{
|
|
6
6
|
value: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, renderSlot,
|
|
1
|
+
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, renderSlot, mergeProps, resolveDynamicComponent, normalizeStyle, createCommentVNode, toDisplayString } from "vue";
|
|
2
2
|
import { ElBreadcrumb, ElBreadcrumbItem, ElIcon } from "element-plus";
|
|
3
3
|
import { breadcrumbProps } from "./props";
|
|
4
4
|
const _sfc_main = defineComponent({
|
|
@@ -61,7 +61,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
61
61
|
key: 0,
|
|
62
62
|
item
|
|
63
63
|
}) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
64
|
-
item.icon ? (openBlock(), createBlock(_component_ElIcon,
|
|
64
|
+
item.icon ? (openBlock(), createBlock(_component_ElIcon, mergeProps({
|
|
65
|
+
key: 0,
|
|
66
|
+
ref_for: true
|
|
67
|
+
}, item.iconProps || {}), {
|
|
65
68
|
default: withCtx(() => [
|
|
66
69
|
(openBlock(), createBlock(resolveDynamicComponent(item.icon), {
|
|
67
70
|
style: normalizeStyle(item.iconStyle)
|
package/es/ele-card/index.d.ts
CHANGED
|
@@ -6,16 +6,18 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
6
6
|
shadow: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "always" | "never" | "hover", unknown> | undefined>;
|
|
7
7
|
bordered: BooleanConstructor;
|
|
8
8
|
headerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
9
|
-
titleStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
9
|
+
titleStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
10
10
|
footerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
11
11
|
collapsable: import('vue').PropType<boolean | "header">;
|
|
12
12
|
collapse: BooleanConstructor;
|
|
13
13
|
collapseIconStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
14
|
-
flexTable: BooleanConstructor;
|
|
14
|
+
flexTable: BooleanConstructor; /** 顶栏点击 */
|
|
15
15
|
}, {
|
|
16
16
|
isCollapse: import('vue').Ref<boolean>;
|
|
17
17
|
handleBeforeLeave: (el: HTMLElement) => void;
|
|
18
|
+
handleLeave: (el: HTMLElement) => void;
|
|
18
19
|
handleAfterLeave: (el: HTMLElement) => void;
|
|
20
|
+
handleBeforeEnter: (el: HTMLElement) => void;
|
|
19
21
|
handleEnter: (el: HTMLElement) => void;
|
|
20
22
|
handleAfterEnter: (el: HTMLElement) => void;
|
|
21
23
|
handleCollapseClick: () => void;
|
|
@@ -30,12 +32,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
30
32
|
shadow: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "always" | "never" | "hover", unknown> | undefined>;
|
|
31
33
|
bordered: BooleanConstructor;
|
|
32
34
|
headerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
33
|
-
titleStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
35
|
+
titleStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
34
36
|
footerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
35
37
|
collapsable: import('vue').PropType<boolean | "header">;
|
|
36
38
|
collapse: BooleanConstructor;
|
|
37
39
|
collapseIconStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
38
|
-
flexTable: BooleanConstructor;
|
|
40
|
+
flexTable: BooleanConstructor; /** 顶栏点击 */
|
|
39
41
|
}>> & {
|
|
40
42
|
onCollapseChange?: ((_collapse: boolean) => any) | undefined;
|
|
41
43
|
}, {
|
package/es/ele-card/index.js
CHANGED
|
@@ -10,9 +10,11 @@ const _sfc_main = defineComponent({
|
|
|
10
10
|
emits: cardEmits,
|
|
11
11
|
setup(props, { emit }) {
|
|
12
12
|
const {
|
|
13
|
+
handleBeforeEnter,
|
|
13
14
|
handleEnter,
|
|
14
15
|
handleAfterEnter,
|
|
15
16
|
handleBeforeLeave,
|
|
17
|
+
handleLeave,
|
|
16
18
|
handleAfterLeave
|
|
17
19
|
} = useCollapseAnim();
|
|
18
20
|
const isCollapse = ref(!!props.collapse);
|
|
@@ -36,7 +38,9 @@ const _sfc_main = defineComponent({
|
|
|
36
38
|
return {
|
|
37
39
|
isCollapse,
|
|
38
40
|
handleBeforeLeave,
|
|
41
|
+
handleLeave,
|
|
39
42
|
handleAfterLeave,
|
|
43
|
+
handleBeforeEnter,
|
|
40
44
|
handleEnter,
|
|
41
45
|
handleAfterEnter,
|
|
42
46
|
handleCollapseClick,
|
|
@@ -98,7 +102,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
98
102
|
createVNode(Transition, {
|
|
99
103
|
name: "ele-card-slide",
|
|
100
104
|
onBeforeLeave: _ctx.handleBeforeLeave,
|
|
105
|
+
onLeave: _ctx.handleLeave,
|
|
101
106
|
onAfterLeave: _ctx.handleAfterLeave,
|
|
107
|
+
onBeforeEnter: _ctx.handleBeforeEnter,
|
|
102
108
|
onEnter: _ctx.handleEnter,
|
|
103
109
|
onAfterEnter: _ctx.handleAfterEnter
|
|
104
110
|
}, {
|
|
@@ -113,7 +119,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
113
119
|
])
|
|
114
120
|
]),
|
|
115
121
|
_: 3
|
|
116
|
-
}, 8, ["onBeforeLeave", "onAfterLeave", "onEnter", "onAfterEnter"]),
|
|
122
|
+
}, 8, ["onBeforeLeave", "onLeave", "onAfterLeave", "onBeforeEnter", "onEnter", "onAfterEnter"]),
|
|
117
123
|
_ctx.footer || _ctx.$slots.footer ? (openBlock(), createElementBlock("div", {
|
|
118
124
|
key: 1,
|
|
119
125
|
class: "ele-card-footer",
|
|
@@ -96,19 +96,6 @@
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
/* 折叠动画 */
|
|
100
|
-
.ele-card-slide-enter-from,
|
|
101
|
-
.ele-card-slide-leave-active {
|
|
102
|
-
max-height: 0 !important;
|
|
103
|
-
padding-top: 0 !important;
|
|
104
|
-
padding-bottom: 0 !important;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.ele-card-slide-enter-active,
|
|
108
|
-
.ele-card-slide-leave-active {
|
|
109
|
-
overflow: hidden !important;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
99
|
/* 内部表格高度铺满 */
|
|
113
100
|
.ele-card.is-flex-table {
|
|
114
101
|
flex: 1;
|