ele-admin-plus 1.4.0-beta.1 → 1.4.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/ele-admin-layout/components/layout-skeleton.d.ts +9 -3
- package/es/ele-admin-layout/components/layout-skeleton.js +11 -5
- package/es/ele-admin-layout/components/layout-tabs.d.ts +7 -2
- package/es/ele-admin-layout/components/layout-tabs.js +9 -4
- package/es/ele-admin-layout/index.js +23 -18
- package/es/ele-alert/index.js +7 -8
- package/es/ele-app/el.d.ts +3 -1
- package/es/ele-app/plus.d.ts +12 -41
- package/es/ele-app/plusx.d.ts +40 -0
- package/es/ele-app/style/overwrite/date-picker/index.scss +1 -1
- package/es/ele-autocomplete/index.d.ts +265 -47
- package/es/ele-autocomplete/props.d.ts +124 -22
- package/es/ele-avatar-group/types.d.ts +1 -1
- package/es/ele-backtop/index.js +7 -8
- package/es/ele-basic-select/components/select-view.d.ts +129 -0
- package/es/ele-basic-select/components/select-view.js +272 -0
- package/es/ele-basic-select/index.d.ts +13 -23
- package/es/ele-basic-select/index.js +109 -248
- package/es/ele-basic-select/props.d.ts +8 -2
- package/es/ele-basic-select/props.js +7 -1
- package/es/ele-basic-select/types.d.ts +21 -0
- package/es/ele-basic-select/util.js +6 -1
- package/es/ele-bottom-bar/index.js +6 -6
- package/es/ele-breadcrumb/types.d.ts +1 -1
- package/es/ele-cascader/index.d.ts +14 -16
- package/es/ele-cascader/props.d.ts +3 -4
- package/es/ele-check-card/types.d.ts +1 -1
- package/es/ele-checkbox-group/index.d.ts +1 -1
- package/es/ele-config-provider/components/receiver-view.d.ts +2 -13
- package/es/ele-config-provider/components/receiver-view.js +111 -116
- package/es/ele-config-provider/receiver.d.ts +2 -0
- package/es/ele-config-provider/receiver.js +8 -1
- package/es/ele-cropper/index.d.ts +1 -3
- package/es/ele-cropper-modal/index.d.ts +1 -1
- package/es/ele-crud/components/page-side.js +1 -4
- package/es/ele-crud/types.d.ts +1 -1
- package/es/ele-crud/util.d.ts +1 -1
- package/es/ele-crud-builder/components/body-header.d.ts +1 -1
- package/es/ele-crud-builder/components/code-generator.d.ts +1 -1
- package/es/ele-crud-builder/components/code-preview.d.ts +1 -1
- package/es/ele-crud-builder/components/form-design-modal.d.ts +1 -1
- package/es/ele-crud-builder/components/import-modal.d.ts +1 -1
- package/es/ele-crud-builder/components/page-config.d.ts +1 -1
- package/es/ele-crud-builder/components/template-list.d.ts +1 -1
- package/es/ele-crud-builder/index.d.ts +3 -3
- package/es/ele-crud-builder/index.js +3 -3
- package/es/ele-crud-builder/props.d.ts +2 -1
- package/es/ele-crud-builder/types.d.ts +1 -1
- package/es/ele-crud-builder/util.js +2 -2
- package/es/ele-data-table/index.d.ts +38 -44
- package/es/ele-data-table/index.js +6 -3
- package/es/ele-data-table/props.d.ts +39 -45
- package/es/ele-drawer/index.d.ts +2 -2
- package/es/ele-drawer/index.js +5 -4
- package/es/ele-drawer/props.d.ts +6 -0
- package/es/ele-drawer/props.js +5 -1
- package/es/ele-dropdown/components/pro-dropdown.d.ts +26 -26
- package/es/ele-dropdown/index.d.ts +30 -30
- package/es/ele-dropdown/props.d.ts +12 -12
- package/es/ele-dropdown/types.d.ts +1 -1
- package/es/ele-edit-tag/index.d.ts +1 -1
- package/es/ele-ellipsis/props.d.ts +1 -1
- package/es/ele-file-list/components/file-grid.d.ts +1 -1
- package/es/ele-file-list/components/file-grid.js +2 -2
- package/es/ele-file-list/components/file-table.d.ts +1 -1
- package/es/ele-file-list/components/file-table.js +2 -2
- package/es/ele-file-list/icons.js +10 -1
- package/es/ele-file-list/types.d.ts +1 -1
- package/es/ele-icon-select/index.d.ts +5 -1
- package/es/ele-icon-select/index.js +3 -1
- package/es/ele-icon-select/props.d.ts +7 -2
- package/es/ele-icon-select/props.js +4 -0
- package/es/ele-image-viewer/index.d.ts +2 -16
- package/es/ele-image-viewer/index.js +13 -15
- package/es/ele-image-viewer/props.d.ts +1 -8
- package/es/ele-loading/index.js +6 -6
- package/es/ele-map-picker/index.d.ts +2 -4
- package/es/ele-mention/index.d.ts +29 -8
- package/es/ele-mention/props.d.ts +9 -0
- package/es/ele-menus/types.d.ts +2 -0
- package/es/ele-menus/util.js +1 -1
- package/es/ele-modal/index.d.ts +4 -4
- package/es/ele-modal/index.js +4 -3
- package/es/ele-popconfirm/index.d.ts +95 -96
- package/es/ele-popconfirm/index.js +6 -21
- package/es/ele-popconfirm/props.d.ts +32 -32
- package/es/ele-popover/index.d.ts +72 -72
- package/es/ele-printer/index.d.ts +2 -2
- package/es/ele-printer/index.js +8 -8
- package/es/ele-pro-form/components/render-util.d.ts +2 -2
- package/es/ele-pro-form/index.d.ts +2 -2
- package/es/ele-pro-form/props.d.ts +1 -1
- package/es/ele-pro-form-builder/components/body-form.d.ts +1 -1
- package/es/ele-pro-form-builder/components/body-header.d.ts +1 -1
- package/es/ele-pro-form-builder/components/code-generator.d.ts +1 -1
- package/es/ele-pro-form-builder/components/code-preview.d.ts +1 -1
- package/es/ele-pro-form-builder/components/config-form.d.ts +1 -1
- package/es/ele-pro-form-builder/components/import-modal.d.ts +1 -1
- package/es/ele-pro-form-builder/components/preview-modal.d.ts +1 -1
- package/es/ele-pro-form-builder/components/props-form.d.ts +1 -1
- package/es/ele-pro-form-builder/components/table-util.js +3 -0
- package/es/ele-pro-form-builder/components/template-list.d.ts +1 -1
- package/es/ele-pro-form-builder/index.d.ts +1 -1
- package/es/ele-pro-form-builder/props.d.ts +2 -1
- package/es/ele-pro-form-builder/types.d.ts +1 -1
- package/es/ele-pro-layout/index.d.ts +29 -29
- package/es/ele-pro-layout/props.d.ts +12 -12
- package/es/ele-pro-layout/style/index.scss +0 -2
- package/es/ele-pro-layout/types.d.ts +2 -0
- package/es/ele-pro-table/components/table-tools.d.ts +1 -1
- package/es/ele-pro-table/components/tool-export.d.ts +2 -2
- package/es/ele-pro-table/components/tool-print.d.ts +1 -1
- package/es/ele-pro-table/index.d.ts +40 -46
- package/es/ele-pro-table/index.js +11 -16
- package/es/ele-pro-table/props.d.ts +18 -21
- package/es/ele-pro-table/style/css-var.scss +4 -0
- package/es/ele-pro-table/style/index.scss +2 -2
- package/es/ele-radio-group/index.d.ts +2 -2
- package/es/ele-segmented/index.d.ts +2 -2
- package/es/ele-segmented/props.d.ts +1 -1
- package/es/ele-segmented/style/index.scss +1 -0
- package/es/ele-select/index.d.ts +9 -9
- package/es/ele-select/props.d.ts +1 -1
- package/es/ele-select/props.js +2 -2
- package/es/ele-select-tree/index.d.ts +7 -7
- package/es/ele-select-tree/props.d.ts +1 -1
- package/es/ele-select-tree/props.js +2 -2
- package/es/ele-split-panel/index.js +2 -2
- package/es/ele-steps/types.d.ts +1 -1
- package/es/ele-tab-bar/index.d.ts +4 -2
- package/es/ele-tab-bar/index.js +1 -0
- package/es/ele-tab-bar/props.d.ts +3 -1
- package/es/ele-tab-bar/props.js +4 -2
- package/es/ele-tab-bar/style/index.scss +1 -0
- package/es/ele-table-select/props.d.ts +2 -2
- package/es/ele-table-select/props.js +1 -1
- package/es/ele-tabs/index.d.ts +16 -12
- package/es/ele-tabs/style/index.scss +1 -0
- package/es/ele-tabs/types.d.ts +1 -1
- package/es/ele-timeline/types.d.ts +3 -3
- package/es/ele-tooltip/index.d.ts +53 -53
- package/es/ele-tour/index.js +8 -8
- package/es/ele-transfer/index.d.ts +1 -1
- package/es/ele-tree-select/index.d.ts +1 -1
- package/es/ele-tree-select/props.d.ts +1 -1
- package/es/ele-upload-list/components/list-item.d.ts +3 -0
- package/es/ele-upload-list/components/list-item.js +1 -0
- package/es/ele-upload-list/types.d.ts +1 -1
- package/es/ele-virtual-table/index.d.ts +38 -44
- package/es/ele-virtual-table/props.d.ts +19 -22
- package/es/ele-watermark/index.js +9 -6
- package/es/ele-watermark/util.d.ts +2 -0
- package/es/ele-watermark/util.js +10 -3
- package/es/style/themes/default.scss +6 -0
- package/es/style/themes/rounded.scss +3 -0
- package/es/style/themes/transparent.scss +3 -0
- package/es/utils/common.d.ts +10 -0
- package/es/utils/common.js +10 -0
- package/es/utils/core.d.ts +6 -0
- package/es/utils/core.js +10 -1
- package/es/utils/menu-util.js +1 -0
- package/lib/ele-admin-layout/components/layout-skeleton.cjs +10 -4
- package/lib/ele-admin-layout/components/layout-skeleton.d.ts +9 -3
- package/lib/ele-admin-layout/components/layout-tabs.cjs +9 -4
- package/lib/ele-admin-layout/components/layout-tabs.d.ts +7 -2
- package/lib/ele-admin-layout/index.cjs +23 -18
- package/lib/ele-alert/index.cjs +6 -7
- package/lib/ele-app/el.d.ts +3 -1
- package/lib/ele-app/plus.d.ts +12 -41
- package/lib/ele-app/plusx.d.ts +40 -0
- package/lib/ele-app/style/overwrite/date-picker/index.scss +1 -1
- package/lib/ele-autocomplete/index.d.ts +265 -47
- package/lib/ele-autocomplete/props.d.ts +124 -22
- package/lib/ele-avatar-group/types.d.ts +1 -1
- package/lib/ele-backtop/index.cjs +6 -7
- package/lib/ele-basic-select/components/select-view.cjs +271 -0
- package/lib/ele-basic-select/components/select-view.d.ts +129 -0
- package/lib/ele-basic-select/index.cjs +108 -247
- package/lib/ele-basic-select/index.d.ts +13 -23
- package/lib/ele-basic-select/props.cjs +7 -1
- package/lib/ele-basic-select/props.d.ts +8 -2
- package/lib/ele-basic-select/types.d.ts +21 -0
- package/lib/ele-basic-select/util.cjs +6 -1
- package/lib/ele-bottom-bar/index.cjs +5 -5
- package/lib/ele-breadcrumb/types.d.ts +1 -1
- package/lib/ele-cascader/index.d.ts +14 -16
- package/lib/ele-cascader/props.d.ts +3 -4
- package/lib/ele-check-card/types.d.ts +1 -1
- package/lib/ele-checkbox-group/index.d.ts +1 -1
- package/lib/ele-config-provider/components/receiver-view.cjs +2 -2
- package/lib/ele-config-provider/components/receiver-view.d.ts +2 -13
- package/lib/ele-config-provider/receiver.cjs +10 -1
- package/lib/ele-config-provider/receiver.d.ts +2 -0
- package/lib/ele-cropper/index.d.ts +1 -3
- package/lib/ele-cropper-modal/index.d.ts +1 -1
- package/lib/ele-crud/components/page-side.cjs +1 -4
- package/lib/ele-crud/types.d.ts +1 -1
- package/lib/ele-crud/util.d.ts +1 -1
- package/lib/ele-crud-builder/components/body-header.d.ts +1 -1
- package/lib/ele-crud-builder/components/code-generator.d.ts +1 -1
- package/lib/ele-crud-builder/components/code-preview.d.ts +1 -1
- package/lib/ele-crud-builder/components/form-design-modal.d.ts +1 -1
- package/lib/ele-crud-builder/components/import-modal.d.ts +1 -1
- package/lib/ele-crud-builder/components/page-config.d.ts +1 -1
- package/lib/ele-crud-builder/components/template-list.d.ts +1 -1
- package/lib/ele-crud-builder/index.cjs +3 -3
- package/lib/ele-crud-builder/index.d.ts +3 -3
- package/lib/ele-crud-builder/props.d.ts +2 -1
- package/lib/ele-crud-builder/types.d.ts +1 -1
- package/lib/ele-crud-builder/util.cjs +2 -2
- package/lib/ele-data-table/index.cjs +6 -3
- package/lib/ele-data-table/index.d.ts +38 -44
- package/lib/ele-data-table/props.d.ts +39 -45
- package/lib/ele-drawer/index.cjs +15 -14
- package/lib/ele-drawer/index.d.ts +2 -2
- package/lib/ele-drawer/props.cjs +4 -0
- package/lib/ele-drawer/props.d.ts +6 -0
- package/lib/ele-dropdown/components/pro-dropdown.d.ts +26 -26
- package/lib/ele-dropdown/index.d.ts +30 -30
- package/lib/ele-dropdown/props.d.ts +12 -12
- package/lib/ele-dropdown/types.d.ts +1 -1
- package/lib/ele-edit-tag/index.d.ts +1 -1
- package/lib/ele-ellipsis/props.d.ts +1 -1
- package/lib/ele-file-list/components/file-grid.cjs +1 -1
- package/lib/ele-file-list/components/file-grid.d.ts +1 -1
- package/lib/ele-file-list/components/file-table.cjs +1 -1
- package/lib/ele-file-list/components/file-table.d.ts +1 -1
- package/lib/ele-file-list/icons.cjs +10 -1
- package/lib/ele-file-list/types.d.ts +1 -1
- package/lib/ele-icon-select/index.cjs +3 -1
- package/lib/ele-icon-select/index.d.ts +5 -1
- package/lib/ele-icon-select/props.cjs +4 -0
- package/lib/ele-icon-select/props.d.ts +7 -2
- package/lib/ele-image-viewer/index.cjs +12 -14
- package/lib/ele-image-viewer/index.d.ts +2 -16
- package/lib/ele-image-viewer/props.d.ts +1 -8
- package/lib/ele-loading/index.cjs +5 -5
- package/lib/ele-map-picker/index.d.ts +2 -4
- package/lib/ele-mention/index.d.ts +29 -8
- package/lib/ele-mention/props.d.ts +9 -0
- package/lib/ele-menus/types.d.ts +2 -0
- package/lib/ele-menus/util.cjs +1 -1
- package/lib/ele-modal/index.cjs +36 -35
- package/lib/ele-modal/index.d.ts +4 -4
- package/lib/ele-popconfirm/index.cjs +5 -20
- package/lib/ele-popconfirm/index.d.ts +95 -96
- package/lib/ele-popconfirm/props.d.ts +32 -32
- package/lib/ele-popover/index.d.ts +72 -72
- package/lib/ele-printer/index.cjs +7 -7
- package/lib/ele-printer/index.d.ts +2 -2
- package/lib/ele-pro-form/components/render-util.d.ts +2 -2
- package/lib/ele-pro-form/index.d.ts +2 -2
- package/lib/ele-pro-form/props.d.ts +1 -1
- package/lib/ele-pro-form-builder/components/body-form.d.ts +1 -1
- package/lib/ele-pro-form-builder/components/body-header.d.ts +1 -1
- package/lib/ele-pro-form-builder/components/code-generator.d.ts +1 -1
- package/lib/ele-pro-form-builder/components/code-preview.d.ts +1 -1
- package/lib/ele-pro-form-builder/components/config-form.d.ts +1 -1
- package/lib/ele-pro-form-builder/components/import-modal.d.ts +1 -1
- package/lib/ele-pro-form-builder/components/preview-modal.d.ts +1 -1
- package/lib/ele-pro-form-builder/components/props-form.d.ts +1 -1
- package/lib/ele-pro-form-builder/components/table-util.cjs +3 -0
- package/lib/ele-pro-form-builder/components/template-list.d.ts +1 -1
- package/lib/ele-pro-form-builder/index.d.ts +1 -1
- package/lib/ele-pro-form-builder/props.d.ts +2 -1
- package/lib/ele-pro-form-builder/types.d.ts +1 -1
- package/lib/ele-pro-layout/index.d.ts +29 -29
- package/lib/ele-pro-layout/props.d.ts +12 -12
- package/lib/ele-pro-layout/style/index.scss +0 -2
- package/lib/ele-pro-layout/types.d.ts +2 -0
- package/lib/ele-pro-table/components/table-tools.d.ts +1 -1
- package/lib/ele-pro-table/components/tool-export.d.ts +2 -2
- package/lib/ele-pro-table/components/tool-print.d.ts +1 -1
- package/lib/ele-pro-table/index.cjs +10 -15
- package/lib/ele-pro-table/index.d.ts +40 -46
- package/lib/ele-pro-table/props.d.ts +18 -21
- package/lib/ele-pro-table/style/css-var.scss +4 -0
- package/lib/ele-pro-table/style/index.scss +2 -2
- package/lib/ele-radio-group/index.d.ts +2 -2
- package/lib/ele-segmented/index.d.ts +2 -2
- package/lib/ele-segmented/props.d.ts +1 -1
- package/lib/ele-segmented/style/index.scss +1 -0
- package/lib/ele-select/index.d.ts +9 -9
- package/lib/ele-select/props.cjs +1 -1
- package/lib/ele-select/props.d.ts +1 -1
- package/lib/ele-select-tree/index.d.ts +7 -7
- package/lib/ele-select-tree/props.cjs +1 -1
- package/lib/ele-select-tree/props.d.ts +1 -1
- package/lib/ele-split-panel/index.cjs +1 -1
- package/lib/ele-steps/types.d.ts +1 -1
- package/lib/ele-tab-bar/index.cjs +1 -0
- package/lib/ele-tab-bar/index.d.ts +4 -2
- package/lib/ele-tab-bar/props.cjs +4 -2
- package/lib/ele-tab-bar/props.d.ts +3 -1
- package/lib/ele-tab-bar/style/index.scss +1 -0
- package/lib/ele-table-select/props.cjs +1 -1
- package/lib/ele-table-select/props.d.ts +2 -2
- package/lib/ele-tabs/index.d.ts +16 -12
- package/lib/ele-tabs/style/index.scss +1 -0
- package/lib/ele-tabs/types.d.ts +1 -1
- package/lib/ele-timeline/types.d.ts +3 -3
- package/lib/ele-tooltip/index.d.ts +53 -53
- package/lib/ele-tour/index.cjs +7 -7
- package/lib/ele-transfer/index.d.ts +1 -1
- package/lib/ele-tree-select/index.d.ts +1 -1
- package/lib/ele-tree-select/props.d.ts +1 -1
- package/lib/ele-upload-list/components/list-item.cjs +1 -0
- package/lib/ele-upload-list/components/list-item.d.ts +3 -0
- package/lib/ele-upload-list/types.d.ts +1 -1
- package/lib/ele-virtual-table/index.d.ts +38 -44
- package/lib/ele-virtual-table/props.d.ts +19 -22
- package/lib/ele-watermark/index.cjs +7 -4
- package/lib/ele-watermark/util.cjs +12 -3
- package/lib/ele-watermark/util.d.ts +2 -0
- package/lib/style/themes/default.scss +6 -0
- package/lib/style/themes/rounded.scss +3 -0
- package/lib/style/themes/transparent.scss +3 -0
- package/lib/utils/common.cjs +10 -0
- package/lib/utils/common.d.ts +10 -0
- package/lib/utils/core.cjs +10 -1
- package/lib/utils/core.d.ts +6 -0
- package/lib/utils/menu-util.cjs +1 -0
- package/package.json +3 -2
|
@@ -35,11 +35,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
35
35
|
tabContextMenus: PropType<ContextMenus>;
|
|
36
36
|
/** 是否支持拖动排序 */
|
|
37
37
|
tabSortable: BooleanConstructor;
|
|
38
|
+
/** 是否禁用 */
|
|
39
|
+
disabled: BooleanConstructor;
|
|
38
40
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
41
|
tabContextMenu: (_option: TabEventOption) => void;
|
|
42
|
+
tabSortChange: (_data: TabPaneItem[]) => void;
|
|
40
43
|
tabClick: (_option: TabEventOption) => void;
|
|
41
44
|
tabRemove: (_name: string) => void;
|
|
42
|
-
tabSortChange: (_data: TabPaneItem[]) => void;
|
|
43
45
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
44
46
|
/** 页签数据 */
|
|
45
47
|
tabs: PropType<TabPaneItem[]>;
|
|
@@ -59,12 +61,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
59
61
|
tabContextMenus: PropType<ContextMenus>;
|
|
60
62
|
/** 是否支持拖动排序 */
|
|
61
63
|
tabSortable: BooleanConstructor;
|
|
64
|
+
/** 是否禁用 */
|
|
65
|
+
disabled: BooleanConstructor;
|
|
62
66
|
}>> & Readonly<{
|
|
63
67
|
onTabContextMenu?: ((_option: TabEventOption) => any) | undefined;
|
|
68
|
+
onTabSortChange?: ((_data: TabPaneItem[]) => any) | undefined;
|
|
64
69
|
onTabClick?: ((_option: TabEventOption) => any) | undefined;
|
|
65
70
|
onTabRemove?: ((_name: string) => any) | undefined;
|
|
66
|
-
onTabSortChange?: ((_data: TabPaneItem[]) => any) | undefined;
|
|
67
71
|
}>, {
|
|
72
|
+
disabled: boolean;
|
|
68
73
|
fixedHome: boolean;
|
|
69
74
|
isHome: boolean;
|
|
70
75
|
tabSortable: boolean;
|
|
@@ -17,12 +17,10 @@ const _hoisted_3 = {
|
|
|
17
17
|
key: 2,
|
|
18
18
|
class: "ele-admin-breadcrumb"
|
|
19
19
|
};
|
|
20
|
-
const _hoisted_4 =
|
|
21
|
-
key: 5,
|
|
22
|
-
class: "ele-admin-tools"
|
|
23
|
-
};
|
|
20
|
+
const _hoisted_4 = ["data-tool-id"];
|
|
24
21
|
const _hoisted_5 = ["src"];
|
|
25
|
-
const _hoisted_6 = ["
|
|
22
|
+
const _hoisted_6 = ["data-side-id"];
|
|
23
|
+
const _hoisted_7 = ["src"];
|
|
26
24
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
27
25
|
...{ name: "EleAdminLayout" },
|
|
28
26
|
__name: "index",
|
|
@@ -112,7 +110,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
112
110
|
};
|
|
113
111
|
const sidebarScrollToActive = () => {
|
|
114
112
|
stopSidebarMenuTimer();
|
|
115
|
-
if (!props$1.menuScrollToActive || sidebarMenuRef.value == null || isCollapseMobile.value || isMixSidebar.value && isCollapseSidebar.value) {
|
|
113
|
+
if (!isFixedSidebar.value || !props$1.menuScrollToActive || sidebarMenuRef.value == null || isCollapseMobile.value || isMixSidebar.value && isCollapseSidebar.value) {
|
|
116
114
|
return;
|
|
117
115
|
}
|
|
118
116
|
startSidebarMenuTimer(() => {
|
|
@@ -121,7 +119,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
121
119
|
};
|
|
122
120
|
const sideboxScrollToActive = () => {
|
|
123
121
|
stopSideboxMenuTimer();
|
|
124
|
-
if (!props$1.menuScrollToActive || sideboxMenuRef.value == null || isCollapseMobile.value) {
|
|
122
|
+
if (!isFixedSidebar.value || !props$1.menuScrollToActive || sideboxMenuRef.value == null || isCollapseMobile.value) {
|
|
125
123
|
return;
|
|
126
124
|
}
|
|
127
125
|
startSideboxMenuTimer(() => {
|
|
@@ -290,7 +288,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
290
288
|
height: _ctx.fixedBody ? layoutHeight.value : void 0
|
|
291
289
|
})
|
|
292
290
|
}, {
|
|
293
|
-
head: vue.withCtx(() => [
|
|
291
|
+
head: vue.withCtx(({ params }) => [
|
|
294
292
|
!isSideLayout.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
295
293
|
key: 0,
|
|
296
294
|
class: vue.normalizeClass([
|
|
@@ -391,12 +389,16 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
391
389
|
};
|
|
392
390
|
})
|
|
393
391
|
]), 1032, ["tabs", "active", "fixedHome", "homePath", "isHome", "tabStyle", "tabContextMenu", "tabContextMenus", "tabSortable", "class", "style"])) : vue.createCommentVNode("", true),
|
|
394
|
-
_ctx.$slots.right ? (vue.openBlock(), vue.createElementBlock("div",
|
|
392
|
+
_ctx.$slots.right ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
393
|
+
key: 5,
|
|
394
|
+
class: "ele-admin-tools",
|
|
395
|
+
"data-tool-id": params == null ? void 0 : params.viewId
|
|
396
|
+
}, [
|
|
395
397
|
vue.renderSlot(_ctx.$slots, "right")
|
|
396
|
-
])) : vue.createCommentVNode("", true)
|
|
398
|
+
], 8, _hoisted_4)) : vue.createCommentVNode("", true)
|
|
397
399
|
], 38)) : vue.createCommentVNode("", true)
|
|
398
400
|
]),
|
|
399
|
-
side: vue.withCtx(() => [
|
|
401
|
+
side: vue.withCtx(({ params }) => [
|
|
400
402
|
!isTopLayout.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
401
403
|
key: 0,
|
|
402
404
|
class: vue.normalizeClass([
|
|
@@ -439,7 +441,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
439
441
|
vue.renderSlot(_ctx.$slots, "boxTop"),
|
|
440
442
|
vue.createVNode(vue.unref(elementPlus.ElScrollbar), {
|
|
441
443
|
class: "ele-admin-menus",
|
|
442
|
-
style: vue.normalizeStyle(_ctx.sideboxMenusStyle)
|
|
444
|
+
style: vue.normalizeStyle(_ctx.sideboxMenusStyle),
|
|
445
|
+
"data-menu-id": params == null ? void 0 : params.viewId
|
|
443
446
|
}, {
|
|
444
447
|
default: vue.withCtx(() => [
|
|
445
448
|
_ctx.sideboxMenus ? (vue.openBlock(), vue.createBlock(EleMenus, vue.mergeProps({
|
|
@@ -474,8 +477,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
474
477
|
} : void 0
|
|
475
478
|
]), 1040, ["theme", "defaultActive", "collapse", "items"])) : vue.createCommentVNode("", true)
|
|
476
479
|
]),
|
|
477
|
-
_:
|
|
478
|
-
},
|
|
480
|
+
_: 2
|
|
481
|
+
}, 1032, ["style", "data-menu-id"]),
|
|
479
482
|
vue.renderSlot(_ctx.$slots, "boxBottom")
|
|
480
483
|
], 38)) : vue.createCommentVNode("", true),
|
|
481
484
|
!isBoxSidebar.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -490,6 +493,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
490
493
|
"show-divider": isMixSidebar.value && isDarkMixSidebar.value && isDarkSidebar.value
|
|
491
494
|
}
|
|
492
495
|
]),
|
|
496
|
+
"data-side-id": params == null ? void 0 : params.viewId,
|
|
493
497
|
style: vue.normalizeStyle(_ctx.sidebarCustomStyle),
|
|
494
498
|
onMouseenter: handleSideMouseEnter,
|
|
495
499
|
onMouseleave: handleSideMouseLeave
|
|
@@ -511,7 +515,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
511
515
|
onClick: handleLogoClick
|
|
512
516
|
}, [
|
|
513
517
|
_ctx.logoSrc || _ctx.$slots.logo ? vue.renderSlot(_ctx.$slots, "logo", { key: 0 }, () => [
|
|
514
|
-
vue.createElementVNode("img", { src: _ctx.logoSrc }, null, 8,
|
|
518
|
+
vue.createElementVNode("img", { src: _ctx.logoSrc }, null, 8, _hoisted_7)
|
|
515
519
|
]) : vue.createCommentVNode("", true),
|
|
516
520
|
_ctx.logoTitle || _ctx.$slots.logoTitle ? vue.renderSlot(_ctx.$slots, "logoTitle", { key: 1 }, () => [
|
|
517
521
|
vue.createElementVNode("h1", null, vue.toDisplayString(_ctx.logoTitle), 1)
|
|
@@ -557,10 +561,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
557
561
|
_: 3
|
|
558
562
|
}, 8, ["style"]),
|
|
559
563
|
vue.renderSlot(_ctx.$slots, "bottom")
|
|
560
|
-
],
|
|
564
|
+
], 46, _hoisted_6)) : vue.createCommentVNode("", true)
|
|
561
565
|
], 6)) : vue.createCommentVNode("", true)
|
|
562
566
|
]),
|
|
563
|
-
tabs: vue.withCtx(() => [
|
|
567
|
+
tabs: vue.withCtx(({ params }) => [
|
|
564
568
|
_ctx.tabBar && !showHeaderTabs.value ? (vue.openBlock(), vue.createBlock(LayoutTabs, {
|
|
565
569
|
key: 0,
|
|
566
570
|
tabs: _ctx.tabs,
|
|
@@ -572,6 +576,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
572
576
|
tabContextMenu: _ctx.tabContextMenu,
|
|
573
577
|
tabContextMenus: _ctx.tabContextMenus,
|
|
574
578
|
tabSortable: _ctx.tabSortable,
|
|
579
|
+
disabled: !(params == null ? void 0 : params.text),
|
|
575
580
|
class: vue.normalizeClass([
|
|
576
581
|
{ "is-fixed-home": _ctx.fixedHome },
|
|
577
582
|
{ "is-fixed": isFixedHeader.value },
|
|
@@ -593,7 +598,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
593
598
|
])
|
|
594
599
|
};
|
|
595
600
|
})
|
|
596
|
-
]), 1032, ["tabs", "active", "fixedHome", "homePath", "isHome", "tabStyle", "tabContextMenu", "tabContextMenus", "tabSortable", "class", "style"])) : vue.createCommentVNode("", true)
|
|
601
|
+
]), 1032, ["tabs", "active", "fixedHome", "homePath", "isHome", "tabStyle", "tabContextMenu", "tabContextMenus", "tabSortable", "disabled", "class", "style"])) : vue.createCommentVNode("", true)
|
|
597
602
|
]),
|
|
598
603
|
body: vue.withCtx(() => [
|
|
599
604
|
vue.createElementVNode("div", {
|
package/lib/ele-alert/index.cjs
CHANGED
|
@@ -5,7 +5,7 @@ const index = require("../icons/index");
|
|
|
5
5
|
const props = require("./props");
|
|
6
6
|
const _hoisted_1 = { key: 0 };
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
8
|
-
...{ name: "EleAlert" },
|
|
8
|
+
...{ name: "EleAlert", inheritAttrs: false },
|
|
9
9
|
__name: "index",
|
|
10
10
|
props: props.alertProps,
|
|
11
11
|
emits: props.alertEmits,
|
|
@@ -36,9 +36,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
36
36
|
return (_ctx, _cache) => {
|
|
37
37
|
return vue.openBlock(), vue.createBlock(vue.Transition, { name: _ctx.transitionName }, {
|
|
38
38
|
default: vue.withCtx(() => [
|
|
39
|
-
visible.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
40
|
-
|
|
41
|
-
class: vue.normalizeClass([
|
|
39
|
+
visible.value ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ key: 0 }, _ctx.$attrs, {
|
|
40
|
+
class: [
|
|
42
41
|
"ele-alert",
|
|
43
42
|
{ "is-success": _ctx.type === "success" },
|
|
44
43
|
{ "is-warning": _ctx.type === "warning" },
|
|
@@ -46,8 +45,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
46
45
|
{ "is-dark": _ctx.effect === "dark" },
|
|
47
46
|
{ "is-center": _ctx.center },
|
|
48
47
|
{ "is-rich": isRich.value }
|
|
49
|
-
]
|
|
50
|
-
}, [
|
|
48
|
+
]
|
|
49
|
+
}), [
|
|
51
50
|
_ctx.showIcon ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
52
51
|
key: 0,
|
|
53
52
|
class: "ele-alert-icon",
|
|
@@ -101,7 +100,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
101
100
|
}, 16))
|
|
102
101
|
])
|
|
103
102
|
], 4)) : vue.createCommentVNode("", true)
|
|
104
|
-
],
|
|
103
|
+
], 16)) : vue.createCommentVNode("", true)
|
|
105
104
|
]),
|
|
106
105
|
_: 3
|
|
107
106
|
}, 8, ["name"]);
|
package/lib/ele-app/el.d.ts
CHANGED
|
@@ -341,7 +341,9 @@ export type ElStepProps = ComponentProps<StepProps>;
|
|
|
341
341
|
*/
|
|
342
342
|
export type ElTableInstance = InstanceType<typeof ElTable> | null;
|
|
343
343
|
|
|
344
|
-
export type ElTableProps<T
|
|
344
|
+
export type ElTableProps<T extends Record<PropertyKey, any>> = ComponentProps<
|
|
345
|
+
TableProps<T>
|
|
346
|
+
>;
|
|
345
347
|
|
|
346
348
|
export type ElColumnProps = Partial<ExtractPropTypes<typeof columnProps>>;
|
|
347
349
|
|
package/lib/ele-app/plus.d.ts
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import type EleAdminLayout from '../ele-admin-layout/index';
|
|
2
2
|
import type { BacktopProps } from '../ele-backtop/props';
|
|
3
3
|
import type EleBasicSelect from '../ele-basic-select/index';
|
|
4
|
+
import type EleBasicSelectView from '../ele-basic-select/components/select-view';
|
|
4
5
|
import type { BreadcrumbProps } from '../ele-breadcrumb/props';
|
|
5
|
-
import type { CropperProps } from '../ele-cropper/props';
|
|
6
6
|
import type { CardProps } from '../ele-card/props';
|
|
7
|
-
import type EleCrud from '../ele-crud/index';
|
|
8
|
-
import type { CrudProps } from '../ele-crud/props';
|
|
9
|
-
import type EleCrudBuilder from '../ele-crud-builder/index';
|
|
10
7
|
import type EleDataTable from '../ele-data-table/index';
|
|
11
8
|
import type { DataTableProps } from '../ele-data-table/props';
|
|
9
|
+
import type { DrawerProps } from '../ele-drawer/props';
|
|
12
10
|
import type EleDropdown from '../ele-dropdown/index';
|
|
13
11
|
import type { DropdownProps } from '../ele-dropdown/props';
|
|
14
12
|
import type { FileListProps } from '../ele-file-list/props';
|
|
@@ -25,10 +23,6 @@ import type { PopconfirmProps } from '../ele-popconfirm/props';
|
|
|
25
23
|
import type ElePopover from '../ele-popover/index';
|
|
26
24
|
import type { PopoverProps } from '../ele-popover/props';
|
|
27
25
|
import type { PrinterProps } from '../ele-printer/props';
|
|
28
|
-
import type EleProForm from '../ele-pro-form/index';
|
|
29
|
-
import type { ProFormProps } from '../ele-pro-form/props';
|
|
30
|
-
import type EleProFormBuilder from '../ele-pro-form-builder/index';
|
|
31
|
-
import type { ProFormBuilderProps } from '../ele-pro-form-builder/props';
|
|
32
26
|
import type EleProTable from '../ele-pro-table/index';
|
|
33
27
|
import type { ProTableProps } from '../ele-pro-table/props';
|
|
34
28
|
import type EleSplitPanel from '../ele-split-panel/index';
|
|
@@ -49,6 +43,7 @@ import type ReceiverView from '../ele-config-provider/components/receiver-view';
|
|
|
49
43
|
import type { MessageOptions } from '../utils/message';
|
|
50
44
|
import type { MessageBoxOptions } from '../utils/message-box';
|
|
51
45
|
import type { ComponentProps } from './types';
|
|
46
|
+
export type * from './plusx';
|
|
52
47
|
|
|
53
48
|
/**
|
|
54
49
|
* EleAdminLayout
|
|
@@ -65,6 +60,10 @@ export type EleBacktopProps = ComponentProps<BacktopProps>;
|
|
|
65
60
|
*/
|
|
66
61
|
export type EleBasicSelectInstance = InstanceType<typeof EleBasicSelect> | null;
|
|
67
62
|
|
|
63
|
+
export type EleBasicSelectViewInstance = InstanceType<
|
|
64
|
+
typeof EleBasicSelectView
|
|
65
|
+
> | null;
|
|
66
|
+
|
|
68
67
|
/**
|
|
69
68
|
* EleBreadcrumb
|
|
70
69
|
*/
|
|
@@ -80,23 +79,6 @@ export type EleCardProps = ComponentProps<CardProps>;
|
|
|
80
79
|
*/
|
|
81
80
|
export type ReceiverViewInstance = InstanceType<typeof ReceiverView> | null;
|
|
82
81
|
|
|
83
|
-
/**
|
|
84
|
-
* EleCropper
|
|
85
|
-
*/
|
|
86
|
-
export type EleCropperProps = ComponentProps<CropperProps>;
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* EleCrud
|
|
90
|
-
*/
|
|
91
|
-
export type EleCrudInstance = InstanceType<typeof EleCrud> | null;
|
|
92
|
-
|
|
93
|
-
export type EleCrudProps = ComponentProps<CrudProps>;
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* EleCrud
|
|
97
|
-
*/
|
|
98
|
-
export type EleCrudBuilderInstance = InstanceType<typeof EleCrudBuilder> | null;
|
|
99
|
-
|
|
100
82
|
/**
|
|
101
83
|
* EleDataTable
|
|
102
84
|
*/
|
|
@@ -104,6 +86,11 @@ export type EleDataTableInstance = InstanceType<typeof EleDataTable> | null;
|
|
|
104
86
|
|
|
105
87
|
export type EleDataTableProps = ComponentProps<DataTableProps>;
|
|
106
88
|
|
|
89
|
+
/**
|
|
90
|
+
* EleDrawer
|
|
91
|
+
*/
|
|
92
|
+
export type EleDrawerProps = ComponentProps<DrawerProps>;
|
|
93
|
+
|
|
107
94
|
/**
|
|
108
95
|
* EleDropdown
|
|
109
96
|
*/
|
|
@@ -169,22 +156,6 @@ export type ElePopoverProps = Partial<PopoverProps>;
|
|
|
169
156
|
*/
|
|
170
157
|
export type ElePrinterProps = ComponentProps<PrinterProps>;
|
|
171
158
|
|
|
172
|
-
/**
|
|
173
|
-
* EleProForm
|
|
174
|
-
*/
|
|
175
|
-
export type EleProFormInstance = InstanceType<typeof EleProForm> | null;
|
|
176
|
-
|
|
177
|
-
export type EleProFormProps = ComponentProps<ProFormProps>;
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* EleProFormBuilder
|
|
181
|
-
*/
|
|
182
|
-
export type EleProFormBuilderInstance = InstanceType<
|
|
183
|
-
typeof EleProFormBuilder
|
|
184
|
-
> | null;
|
|
185
|
-
|
|
186
|
-
export type EleProFormBuilderProps = ComponentProps<ProFormBuilderProps>;
|
|
187
|
-
|
|
188
159
|
/**
|
|
189
160
|
* EleProTable
|
|
190
161
|
*/
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { CropperProps } from '../ele-cropper/props';
|
|
2
|
+
import { default as CropperPreview } from '../ele-cropper/components/cropper-preview';
|
|
3
|
+
import { default as EleCrud } from '../ele-crud/index';
|
|
4
|
+
import { CrudProps } from '../ele-crud/props';
|
|
5
|
+
import { default as EleCrudBuilder } from '../ele-crud-builder/index';
|
|
6
|
+
import { default as MapView } from '../ele-map-picker/components/map-view';
|
|
7
|
+
import { default as EleProForm } from '../ele-pro-form/index';
|
|
8
|
+
import { ProFormProps } from '../ele-pro-form/props';
|
|
9
|
+
import { default as EleProFormBuilder } from '../ele-pro-form-builder/index';
|
|
10
|
+
import { ProFormBuilderProps } from '../ele-pro-form-builder/props';
|
|
11
|
+
import { ComponentProps } from './types';
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* EleCropper
|
|
15
|
+
*/
|
|
16
|
+
export type EleCropperProps = ComponentProps<CropperProps>;
|
|
17
|
+
export type EleCropperPreviewInstance = InstanceType<typeof CropperPreview> | null;
|
|
18
|
+
/**
|
|
19
|
+
* EleCrud
|
|
20
|
+
*/
|
|
21
|
+
export type EleCrudInstance = InstanceType<typeof EleCrud> | null;
|
|
22
|
+
export type EleCrudProps = ComponentProps<CrudProps>;
|
|
23
|
+
/**
|
|
24
|
+
* EleCrudBuilder
|
|
25
|
+
*/
|
|
26
|
+
export type EleCrudBuilderInstance = InstanceType<typeof EleCrudBuilder> | null;
|
|
27
|
+
/**
|
|
28
|
+
* EleMapPicker
|
|
29
|
+
*/
|
|
30
|
+
export type EleMapPickerViewInstance = InstanceType<typeof MapView> | null;
|
|
31
|
+
/**
|
|
32
|
+
* EleProForm
|
|
33
|
+
*/
|
|
34
|
+
export type EleProFormInstance = InstanceType<typeof EleProForm> | null;
|
|
35
|
+
export type EleProFormProps = ComponentProps<ProFormProps>;
|
|
36
|
+
/**
|
|
37
|
+
* EleProFormBuilder
|
|
38
|
+
*/
|
|
39
|
+
export type EleProFormBuilderInstance = InstanceType<typeof EleProFormBuilder> | null;
|
|
40
|
+
export type EleProFormBuilderProps = ComponentProps<ProFormBuilderProps>;
|