ele-admin-plus 1.1.8-beta.4 → 1.1.8-beta.5
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 +1 -49
- package/es/components.js +13 -110
- package/es/core-components.d.ts +49 -0
- package/es/core-components.js +100 -0
- package/es/core-export.d.ts +9 -0
- package/es/core-export.js +14 -0
- package/es/core-installer.d.ts +3 -0
- package/es/core-installer.js +11 -0
- package/es/core.d.ts +3 -0
- package/es/core.js +6 -0
- package/es/ele-alert/index.d.ts +4 -4
- package/es/ele-alert/index.js +13 -13
- package/es/ele-app/style/overwrite/input/index.scss +32 -39
- package/es/ele-app/style/overwrite/message-box/index.scss +6 -1
- package/es/ele-app/style/scrollbar/css-var.scss +20 -5
- package/es/ele-basic-select/index.d.ts +6 -6
- package/es/ele-basic-select/index.js +4 -4
- package/es/ele-basic-select/props.d.ts +1 -1
- package/es/ele-basic-select/style/index.scss +2 -9
- package/es/ele-copyable/index.d.ts +4 -2
- package/es/ele-copyable/index.js +6 -6
- package/es/ele-cropper/components/cropper-tools.js +14 -14
- package/es/ele-cropper/props.js +1 -1
- package/es/ele-cropper/style/index.scss +3 -3
- package/es/ele-cropper-modal/index.js +1 -1
- package/es/ele-data-table/style/index.scss +17 -6
- package/es/ele-drawer/index.d.ts +7 -7
- package/es/ele-drawer/index.js +4 -4
- package/es/ele-drawer/props.d.ts +1 -1
- package/es/ele-dropdown/index.d.ts +2 -0
- package/es/ele-dropdown/index.js +18 -8
- package/es/ele-dropdown/props.d.ts +3 -0
- package/es/ele-dropdown/props.js +3 -1
- package/es/ele-edit-tag/index.d.ts +4 -4
- package/es/ele-edit-tag/index.js +24 -23
- package/es/ele-edit-tag/props.d.ts +1 -1
- package/es/ele-edit-tag/style/index.scss +71 -74
- package/es/ele-ellipsis/index.d.ts +1 -1
- package/es/ele-map-picker/components/map-view.d.ts +10 -12
- package/es/ele-map-picker/components/map-view.js +30 -30
- package/es/ele-map-picker/style/index.scss +5 -5
- package/es/ele-menus/index.js +3 -1
- package/es/ele-menus/style/index.scss +14 -8
- package/es/ele-menus/util.js +5 -2
- package/es/ele-modal/index.d.ts +13 -13
- package/es/ele-modal/index.js +11 -6
- package/es/ele-modal/props.d.ts +1 -1
- package/es/ele-modal/style/index.scss +2 -1
- package/es/ele-popconfirm/index.d.ts +2 -2
- package/es/ele-popconfirm/index.js +4 -4
- package/es/ele-pro-layout/components/pro-header.js +2 -2
- package/es/ele-pro-layout/components/pro-tabs.js +1 -1
- package/es/ele-pro-layout/components/tab-dropdown.js +3 -3
- package/es/ele-pro-table/components/table-tools.js +4 -5
- package/es/ele-pro-table/components/tool-column.js +4 -4
- package/es/ele-pro-table/index.d.ts +1 -1
- package/es/ele-pro-table/index.js +4 -4
- package/es/ele-pro-table/style/index.scss +2 -2
- package/es/ele-split-panel/index.js +7 -1
- package/es/ele-split-panel/style/index.scss +5 -1
- package/es/ele-table-select/index.d.ts +3 -3
- package/es/ele-table-select/props.d.ts +1 -1
- package/es/ele-tabs/index.js +8 -1
- package/es/ele-tabs/style/index.scss +26 -0
- package/es/ele-toolbar/index.d.ts +4 -0
- package/es/ele-toolbar/index.js +7 -7
- package/es/ele-toolbar/props.d.ts +5 -0
- package/es/ele-toolbar/props.js +5 -1
- package/es/ele-tree-select/index.d.ts +13 -8
- package/es/ele-tree-select/index.js +49 -6
- package/es/ele-tree-select/props.d.ts +3 -1
- package/es/ele-tree-select/props.js +2 -0
- package/es/ele-tree-select/util.d.ts +7 -0
- package/es/ele-tree-select/util.js +13 -0
- package/es/ele-upload-list/components/list-item.js +10 -10
- package/es/ele-upload-list/index.js +4 -4
- package/es/ele-upload-list/style/index.scss +12 -4
- package/es/ele-virtual-table/components/body-cell.js +10 -5
- package/es/ele-virtual-table/style/index.scss +3 -2
- package/es/icons/ArrowDown.js +5 -7
- package/es/icons/ArrowDownOutlined.d.ts +2 -0
- package/es/icons/ArrowDownOutlined.js +30 -0
- package/es/icons/ArrowLeft.js +7 -6
- package/es/icons/ArrowLeftOutlined.d.ts +2 -0
- package/es/icons/ArrowLeftOutlined.js +30 -0
- package/es/icons/ArrowRight.js +6 -7
- package/es/icons/ArrowRightOutlined.d.ts +2 -0
- package/es/icons/ArrowRightOutlined.js +30 -0
- package/es/icons/ArrowUp.js +6 -6
- package/es/icons/ArrowUpOutlined.d.ts +2 -0
- package/es/icons/ArrowUpOutlined.js +30 -0
- package/es/icons/CheckCircleFilled.d.ts +2 -0
- package/es/icons/CheckCircleFilled.js +26 -0
- package/es/icons/CheckCircleOutlined.d.ts +2 -0
- package/es/icons/CheckCircleOutlined.js +32 -0
- package/es/icons/CheckOutlined.d.ts +2 -0
- package/es/icons/CheckOutlined.js +30 -0
- package/es/icons/CloseCircleFilled.d.ts +2 -0
- package/es/icons/CloseCircleFilled.js +26 -0
- package/es/icons/CloseOutlined.js +7 -17
- package/es/icons/ColumnHeightOutlined.js +17 -5
- package/es/icons/CompressOutlined.js +18 -5
- package/es/icons/CopyOutlined.d.ts +2 -0
- package/es/icons/CopyOutlined.js +35 -0
- package/es/icons/EllipsisOutlined.js +6 -9
- package/es/icons/EnvironmentOutlined.d.ts +2 -0
- package/es/icons/EnvironmentOutlined.js +31 -0
- package/es/icons/ExclamationCircleFilled.d.ts +2 -0
- package/es/icons/ExclamationCircleFilled.js +26 -0
- package/es/icons/ExpandOutlined.js +18 -5
- package/es/icons/FileOutlined.d.ts +2 -0
- package/es/icons/FileOutlined.js +35 -0
- package/es/icons/FilterFilled.js +5 -2
- package/es/icons/FullscreenExitOutlined.js +16 -5
- package/es/icons/FullscreenOutlined.js +16 -5
- package/es/icons/HolderOutlined.js +8 -5
- package/es/icons/HomeOutlined.js +5 -24
- package/es/icons/InfoCircleFilled.d.ts +2 -0
- package/es/icons/InfoCircleFilled.js +26 -0
- package/es/icons/LoadingDotOutlined.d.ts +2 -0
- package/es/icons/LoadingDotOutlined.js +29 -0
- package/es/icons/LoadingOutlined.js +8 -2
- package/es/icons/PlusOutlined.d.ts +2 -0
- package/es/icons/PlusOutlined.js +29 -0
- package/es/icons/QuestionCircleFilled.d.ts +2 -0
- package/es/icons/QuestionCircleFilled.js +26 -0
- package/es/icons/ReloadOutlined.d.ts +2 -0
- package/es/icons/ReloadOutlined.js +30 -0
- package/es/icons/SearchOutlined.d.ts +2 -0
- package/es/icons/SearchOutlined.js +29 -0
- package/es/icons/SettingOutlined.d.ts +2 -0
- package/es/icons/SettingOutlined.js +31 -0
- package/es/icons/SortOutlined.d.ts +2 -0
- package/es/icons/SortOutlined.js +32 -0
- package/es/icons/SwapOutlined.d.ts +2 -0
- package/es/icons/SwapOutlined.js +32 -0
- package/es/icons/SyncOutlined.d.ts +2 -0
- package/es/icons/SyncOutlined.js +32 -0
- package/es/icons/UndoOutlined.d.ts +2 -0
- package/es/icons/UndoOutlined.js +30 -0
- package/es/icons/UploadOutlined.d.ts +2 -0
- package/es/icons/UploadOutlined.js +32 -0
- package/es/icons/VerticalLeftOutlined.js +7 -2
- package/es/icons/VerticalRightOutlined.js +7 -2
- package/es/icons/ZoomInOutlined.d.ts +2 -0
- package/es/icons/ZoomInOutlined.js +31 -0
- package/es/icons/ZoomOutOutlined.d.ts +2 -0
- package/es/icons/ZoomOutOutlined.js +31 -0
- package/es/icons/index.d.ts +26 -0
- package/es/icons/index.js +84 -32
- package/es/index.d.ts +1 -9
- package/es/index.js +1 -12
- package/es/style/themes/default.scss +11 -11
- package/es/style/themes/rounded.scss +1 -2
- package/lib/components.cjs +20 -110
- package/lib/components.d.ts +1 -49
- package/lib/core-components.cjs +100 -0
- package/lib/core-components.d.ts +49 -0
- package/lib/core-export.cjs +56 -0
- package/lib/core-export.d.ts +9 -0
- package/lib/core-installer.cjs +28 -0
- package/lib/core-installer.d.ts +3 -0
- package/lib/core.cjs +23 -0
- package/lib/core.d.ts +3 -0
- package/lib/ele-alert/index.cjs +13 -13
- package/lib/ele-alert/index.d.ts +4 -4
- package/lib/ele-app/style/overwrite/input/index.scss +32 -39
- package/lib/ele-app/style/overwrite/message-box/index.scss +6 -1
- package/lib/ele-app/style/scrollbar/css-var.scss +20 -5
- package/lib/ele-basic-select/index.cjs +3 -3
- package/lib/ele-basic-select/index.d.ts +6 -6
- package/lib/ele-basic-select/props.d.ts +1 -1
- package/lib/ele-basic-select/style/index.scss +2 -9
- package/lib/ele-copyable/index.cjs +6 -6
- package/lib/ele-copyable/index.d.ts +4 -2
- package/lib/ele-cropper/components/cropper-tools.cjs +14 -14
- package/lib/ele-cropper/props.cjs +1 -1
- package/lib/ele-cropper/style/index.scss +3 -3
- package/lib/ele-cropper-modal/index.cjs +1 -1
- package/lib/ele-data-table/style/index.scss +17 -6
- package/lib/ele-drawer/index.cjs +4 -4
- package/lib/ele-drawer/index.d.ts +7 -7
- package/lib/ele-drawer/props.d.ts +1 -1
- package/lib/ele-dropdown/index.cjs +18 -8
- package/lib/ele-dropdown/index.d.ts +2 -0
- package/lib/ele-dropdown/props.cjs +3 -1
- package/lib/ele-dropdown/props.d.ts +3 -0
- package/lib/ele-edit-tag/index.cjs +23 -22
- package/lib/ele-edit-tag/index.d.ts +4 -4
- package/lib/ele-edit-tag/props.d.ts +1 -1
- package/lib/ele-edit-tag/style/index.scss +71 -74
- package/lib/ele-ellipsis/index.d.ts +1 -1
- package/lib/ele-map-picker/components/map-view.cjs +30 -30
- package/lib/ele-map-picker/components/map-view.d.ts +10 -12
- package/lib/ele-map-picker/style/index.scss +5 -5
- package/lib/ele-menus/index.cjs +3 -1
- package/lib/ele-menus/style/index.scss +14 -8
- package/lib/ele-menus/util.cjs +5 -2
- package/lib/ele-modal/index.cjs +10 -5
- package/lib/ele-modal/index.d.ts +13 -13
- package/lib/ele-modal/props.d.ts +1 -1
- package/lib/ele-modal/style/index.scss +2 -1
- package/lib/ele-popconfirm/index.cjs +4 -4
- package/lib/ele-popconfirm/index.d.ts +2 -2
- package/lib/ele-pro-layout/components/pro-header.cjs +2 -2
- package/lib/ele-pro-layout/components/pro-tabs.cjs +1 -1
- package/lib/ele-pro-layout/components/tab-dropdown.cjs +4 -4
- package/lib/ele-pro-table/components/table-tools.cjs +3 -4
- package/lib/ele-pro-table/components/tool-column.cjs +4 -4
- package/lib/ele-pro-table/index.cjs +4 -4
- package/lib/ele-pro-table/index.d.ts +1 -1
- package/lib/ele-pro-table/style/index.scss +2 -2
- package/lib/ele-split-panel/index.cjs +7 -1
- package/lib/ele-split-panel/style/index.scss +5 -1
- package/lib/ele-table-select/index.d.ts +3 -3
- package/lib/ele-table-select/props.d.ts +1 -1
- package/lib/ele-tabs/index.cjs +8 -1
- package/lib/ele-tabs/style/index.scss +26 -0
- package/lib/ele-toolbar/index.cjs +6 -6
- package/lib/ele-toolbar/index.d.ts +4 -0
- package/lib/ele-toolbar/props.cjs +5 -1
- package/lib/ele-toolbar/props.d.ts +5 -0
- package/lib/ele-tree-select/index.cjs +48 -5
- package/lib/ele-tree-select/index.d.ts +13 -8
- package/lib/ele-tree-select/props.cjs +2 -0
- package/lib/ele-tree-select/props.d.ts +3 -1
- package/lib/ele-tree-select/util.cjs +13 -0
- package/lib/ele-tree-select/util.d.ts +7 -0
- package/lib/ele-upload-list/components/list-item.cjs +10 -10
- package/lib/ele-upload-list/index.cjs +4 -4
- package/lib/ele-upload-list/style/index.scss +12 -4
- package/lib/ele-virtual-table/components/body-cell.cjs +9 -4
- package/lib/ele-virtual-table/style/index.scss +3 -2
- package/lib/icons/ArrowDown.cjs +5 -7
- package/lib/icons/ArrowDownOutlined.cjs +29 -0
- package/lib/icons/ArrowDownOutlined.d.ts +2 -0
- package/lib/icons/ArrowLeft.cjs +7 -6
- package/lib/icons/ArrowLeftOutlined.cjs +29 -0
- package/lib/icons/ArrowLeftOutlined.d.ts +2 -0
- package/lib/icons/ArrowRight.cjs +6 -7
- package/lib/icons/ArrowRightOutlined.cjs +29 -0
- package/lib/icons/ArrowRightOutlined.d.ts +2 -0
- package/lib/icons/ArrowUp.cjs +6 -6
- package/lib/icons/ArrowUpOutlined.cjs +29 -0
- package/lib/icons/ArrowUpOutlined.d.ts +2 -0
- package/lib/icons/CheckCircleFilled.cjs +25 -0
- package/lib/icons/CheckCircleFilled.d.ts +2 -0
- package/lib/icons/CheckCircleOutlined.cjs +31 -0
- package/lib/icons/CheckCircleOutlined.d.ts +2 -0
- package/lib/icons/CheckOutlined.cjs +29 -0
- package/lib/icons/CheckOutlined.d.ts +2 -0
- package/lib/icons/CloseCircleFilled.cjs +25 -0
- package/lib/icons/CloseCircleFilled.d.ts +2 -0
- package/lib/icons/CloseOutlined.cjs +7 -17
- package/lib/icons/ColumnHeightOutlined.cjs +17 -5
- package/lib/icons/CompressOutlined.cjs +18 -5
- package/lib/icons/CopyOutlined.cjs +34 -0
- package/lib/icons/CopyOutlined.d.ts +2 -0
- package/lib/icons/EllipsisOutlined.cjs +6 -9
- package/lib/icons/EnvironmentOutlined.cjs +30 -0
- package/lib/icons/EnvironmentOutlined.d.ts +2 -0
- package/lib/icons/ExclamationCircleFilled.cjs +25 -0
- package/lib/icons/ExclamationCircleFilled.d.ts +2 -0
- package/lib/icons/ExpandOutlined.cjs +18 -5
- package/lib/icons/FileOutlined.cjs +34 -0
- package/lib/icons/FileOutlined.d.ts +2 -0
- package/lib/icons/FilterFilled.cjs +5 -2
- package/lib/icons/FullscreenExitOutlined.cjs +16 -5
- package/lib/icons/FullscreenOutlined.cjs +16 -5
- package/lib/icons/HolderOutlined.cjs +7 -4
- package/lib/icons/HomeOutlined.cjs +5 -24
- package/lib/icons/InfoCircleFilled.cjs +25 -0
- package/lib/icons/InfoCircleFilled.d.ts +2 -0
- package/lib/icons/LoadingDotOutlined.cjs +28 -0
- package/lib/icons/LoadingDotOutlined.d.ts +2 -0
- package/lib/icons/LoadingOutlined.cjs +8 -2
- package/lib/icons/PlusOutlined.cjs +28 -0
- package/lib/icons/PlusOutlined.d.ts +2 -0
- package/lib/icons/QuestionCircleFilled.cjs +25 -0
- package/lib/icons/QuestionCircleFilled.d.ts +2 -0
- package/lib/icons/ReloadOutlined.cjs +29 -0
- package/lib/icons/ReloadOutlined.d.ts +2 -0
- package/lib/icons/SearchOutlined.cjs +28 -0
- package/lib/icons/SearchOutlined.d.ts +2 -0
- package/lib/icons/SettingOutlined.cjs +30 -0
- package/lib/icons/SettingOutlined.d.ts +2 -0
- package/lib/icons/SortOutlined.cjs +31 -0
- package/lib/icons/SortOutlined.d.ts +2 -0
- package/lib/icons/SwapOutlined.cjs +31 -0
- package/lib/icons/SwapOutlined.d.ts +2 -0
- package/lib/icons/SyncOutlined.cjs +31 -0
- package/lib/icons/SyncOutlined.d.ts +2 -0
- package/lib/icons/UndoOutlined.cjs +29 -0
- package/lib/icons/UndoOutlined.d.ts +2 -0
- package/lib/icons/UploadOutlined.cjs +31 -0
- package/lib/icons/UploadOutlined.d.ts +2 -0
- package/lib/icons/VerticalLeftOutlined.cjs +7 -2
- package/lib/icons/VerticalRightOutlined.cjs +7 -2
- package/lib/icons/ZoomInOutlined.cjs +30 -0
- package/lib/icons/ZoomInOutlined.d.ts +2 -0
- package/lib/icons/ZoomOutOutlined.cjs +30 -0
- package/lib/icons/ZoomOutOutlined.d.ts +2 -0
- package/lib/icons/index.cjs +52 -0
- package/lib/icons/index.d.ts +26 -0
- package/lib/index.cjs +3 -49
- package/lib/index.d.ts +1 -9
- package/lib/style/themes/default.scss +11 -11
- package/lib/style/themes/rounded.scss +1 -2
- package/package.json +1 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const chartThemeDark = require("./utils/chart-theme-dark");
|
|
4
|
+
const chartTheme = require("./utils/chart-theme");
|
|
5
|
+
const core = require("./utils/core");
|
|
6
|
+
const menuUtil = require("./utils/menu-util");
|
|
7
|
+
const message = require("./utils/message");
|
|
8
|
+
const validate = require("./utils/validate");
|
|
9
|
+
const headerTool = require("./ele-pro-layout/components/header-tool");
|
|
10
|
+
const sidebarTool = require("./ele-pro-layout/components/sidebar-tool");
|
|
11
|
+
const tabDropdown = require("./ele-pro-layout/components/tab-dropdown");
|
|
12
|
+
exports.HeaderTool = headerTool;
|
|
13
|
+
exports.SidebarTool = sidebarTool;
|
|
14
|
+
exports.TabDropdown = tabDropdown;
|
|
15
|
+
Object.keys(chartThemeDark).forEach((k) => {
|
|
16
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
17
|
+
Object.defineProperty(exports, k, {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: () => chartThemeDark[k]
|
|
20
|
+
});
|
|
21
|
+
});
|
|
22
|
+
Object.keys(chartTheme).forEach((k) => {
|
|
23
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
24
|
+
Object.defineProperty(exports, k, {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: () => chartTheme[k]
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
Object.keys(core).forEach((k) => {
|
|
30
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
31
|
+
Object.defineProperty(exports, k, {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: () => core[k]
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
Object.keys(menuUtil).forEach((k) => {
|
|
37
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
38
|
+
Object.defineProperty(exports, k, {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: () => menuUtil[k]
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
Object.keys(message).forEach((k) => {
|
|
44
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
45
|
+
Object.defineProperty(exports, k, {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: () => message[k]
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
Object.keys(validate).forEach((k) => {
|
|
51
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
52
|
+
Object.defineProperty(exports, k, {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: () => validate[k]
|
|
55
|
+
});
|
|
56
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './utils/chart-theme-dark';
|
|
2
|
+
export * from './utils/chart-theme';
|
|
3
|
+
export * from './utils/core';
|
|
4
|
+
export * from './utils/menu-util';
|
|
5
|
+
export * from './utils/message';
|
|
6
|
+
export * from './utils/validate';
|
|
7
|
+
export { default as HeaderTool } from "./ele-pro-layout/components/header-tool";
|
|
8
|
+
export { default as SidebarTool } from "./ele-pro-layout/components/sidebar-tool";
|
|
9
|
+
export { default as TabDropdown } from "./ele-pro-layout/components/tab-dropdown";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const components = require("./core-components");
|
|
4
|
+
function _interopNamespaceDefault(e) {
|
|
5
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
6
|
+
if (e) {
|
|
7
|
+
for (const k in e) {
|
|
8
|
+
if (k !== "default") {
|
|
9
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
10
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: () => e[k]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
n.default = e;
|
|
18
|
+
return Object.freeze(n);
|
|
19
|
+
}
|
|
20
|
+
const components__namespace = /* @__PURE__ */ _interopNamespaceDefault(components);
|
|
21
|
+
const installer = {
|
|
22
|
+
install(app) {
|
|
23
|
+
Object.keys(components__namespace).forEach((key) => {
|
|
24
|
+
app.component(components__namespace[key].name, components__namespace[key]);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.installer = installer;
|
package/lib/core.cjs
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const coreComponents = require("./core-components");
|
|
4
|
+
const coreExport = require("./core-export");
|
|
5
|
+
const coreInstaller = require("./core-installer");
|
|
6
|
+
Object.defineProperty(exports, "default", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: () => coreInstaller.installer
|
|
9
|
+
});
|
|
10
|
+
Object.keys(coreComponents).forEach((k) => {
|
|
11
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
12
|
+
Object.defineProperty(exports, k, {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: () => coreComponents[k]
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
Object.keys(coreExport).forEach((k) => {
|
|
18
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
19
|
+
Object.defineProperty(exports, k, {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: () => coreExport[k]
|
|
22
|
+
});
|
|
23
|
+
});
|
package/lib/core.d.ts
ADDED
package/lib/ele-alert/index.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const vue = require("vue");
|
|
3
3
|
const elementPlus = require("element-plus");
|
|
4
|
-
const
|
|
4
|
+
const icons = require("../icons");
|
|
5
5
|
const receiver = require("../ele-config-provider/receiver");
|
|
6
6
|
const props = require("./props");
|
|
7
7
|
const _sfc_main = vue.defineComponent({
|
|
8
8
|
name: "EleAlert",
|
|
9
9
|
components: {
|
|
10
10
|
ElIcon: elementPlus.ElIcon,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
CloseOutlined: icons.CloseOutlined,
|
|
12
|
+
InfoCircleFilled: icons.InfoCircleFilled,
|
|
13
|
+
CheckCircleFilled: icons.CheckCircleFilled,
|
|
14
|
+
ExclamationCircleFilled: icons.ExclamationCircleFilled,
|
|
15
|
+
CloseCircleFilled: icons.CloseCircleFilled
|
|
16
16
|
},
|
|
17
17
|
props: props.alertProps,
|
|
18
18
|
emits: props.alertEmits,
|
|
@@ -46,12 +46,12 @@ const _export_sfc = (sfc, props2) => {
|
|
|
46
46
|
};
|
|
47
47
|
const _hoisted_1 = { key: 0 };
|
|
48
48
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
49
|
-
const
|
|
50
|
-
const
|
|
51
|
-
const
|
|
52
|
-
const
|
|
49
|
+
const _component_CheckCircleFilled = vue.resolveComponent("CheckCircleFilled");
|
|
50
|
+
const _component_ExclamationCircleFilled = vue.resolveComponent("ExclamationCircleFilled");
|
|
51
|
+
const _component_CloseCircleFilled = vue.resolveComponent("CloseCircleFilled");
|
|
52
|
+
const _component_InfoCircleFilled = vue.resolveComponent("InfoCircleFilled");
|
|
53
53
|
const _component_ElIcon = vue.resolveComponent("ElIcon");
|
|
54
|
-
const
|
|
54
|
+
const _component_CloseOutlined = vue.resolveComponent("CloseOutlined");
|
|
55
55
|
return vue.openBlock(), vue.createBlock(vue.Transition, { name: _ctx.transitionName }, {
|
|
56
56
|
default: vue.withCtx(() => [
|
|
57
57
|
_ctx.visible ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -74,7 +74,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
74
74
|
vue.renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
75
75
|
vue.createVNode(_component_ElIcon, vue.normalizeProps(vue.guardReactiveProps(_ctx.iconProps)), {
|
|
76
76
|
default: vue.withCtx(() => [
|
|
77
|
-
_ctx.type === "success" ? (vue.openBlock(), vue.createBlock(
|
|
77
|
+
_ctx.type === "success" ? (vue.openBlock(), vue.createBlock(_component_CheckCircleFilled, { key: 0 })) : _ctx.type === "warning" ? (vue.openBlock(), vue.createBlock(_component_ExclamationCircleFilled, { key: 1 })) : _ctx.type === "error" ? (vue.openBlock(), vue.createBlock(_component_CloseCircleFilled, { key: 2 })) : (vue.openBlock(), vue.createBlock(_component_InfoCircleFilled, { key: 3 }))
|
|
78
78
|
]),
|
|
79
79
|
_: 1
|
|
80
80
|
}, 16)
|
|
@@ -113,7 +113,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
113
113
|
vue.renderSlot(_ctx.$slots, "closeIcon", {}, () => [
|
|
114
114
|
_ctx.closeText ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1, vue.toDisplayString(_ctx.closeText), 1)) : (vue.openBlock(), vue.createBlock(_component_ElIcon, vue.normalizeProps(vue.mergeProps({ key: 1 }, _ctx.closeIconProps)), {
|
|
115
115
|
default: vue.withCtx(() => [
|
|
116
|
-
vue.createVNode(
|
|
116
|
+
vue.createVNode(_component_CloseOutlined)
|
|
117
117
|
]),
|
|
118
118
|
_: 1
|
|
119
119
|
}, 16))
|
package/lib/ele-alert/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
showIcon: BooleanConstructor;
|
|
12
12
|
effect: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "light" | "dark", unknown> | undefined>;
|
|
13
13
|
iconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
14
|
-
iconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
|
|
14
|
+
iconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
|
|
15
15
|
closeIconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
16
16
|
closeIconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
|
|
17
17
|
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
transitionName: {
|
|
21
21
|
type: StringConstructor;
|
|
22
22
|
default: string;
|
|
23
|
-
};
|
|
23
|
+
};
|
|
24
24
|
}, {
|
|
25
25
|
visible: import("vue").Ref<boolean>;
|
|
26
26
|
isRich: import("vue").ComputedRef<boolean>;
|
|
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
41
|
showIcon: BooleanConstructor;
|
|
42
42
|
effect: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "light" | "dark", unknown> | undefined>;
|
|
43
43
|
iconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
44
|
-
iconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
|
|
44
|
+
iconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
|
|
45
45
|
closeIconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
46
46
|
closeIconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
|
|
47
47
|
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
@@ -50,7 +50,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
50
|
transitionName: {
|
|
51
51
|
type: StringConstructor;
|
|
52
52
|
default: string;
|
|
53
|
-
};
|
|
53
|
+
};
|
|
54
54
|
}>> & {
|
|
55
55
|
onClose?: ((_e: MouseEvent) => any) | undefined;
|
|
56
56
|
}, {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
@use '../../../../style/themes/default.scss' as *;
|
|
2
2
|
@use '../../../../style/util.scss' as *;
|
|
3
3
|
@use './css-var.scss' as *;
|
|
4
|
+
$ele-clear-path: 'M512 43C768 43 981 256 981 512S768 981 512 981 43 768 43 512 256 43 512 43ZM683 277 512 448 341 277 277 341 448 512 277 683 341 747 512 576 683 747 747 683 576 512 747 341Z' !default;
|
|
5
|
+
$ele-validate-path: 'M512 43C768 43 981 256 981 512S768 981 512 981 43 768 43 512 256 43 512 43ZM448 619 299 470 235 534 448 747 811 384 747 320Z' !default;
|
|
4
6
|
|
|
5
7
|
@include set-el-input-var($ele);
|
|
6
8
|
|
|
@@ -134,28 +136,18 @@ body .el-input-number:not(.is-disabled) .el-input .el-input__wrapper.is-focus {
|
|
|
134
136
|
.el-cascader .el-input__icon.icon-circle-close,
|
|
135
137
|
.el-date-editor .el-input__icon.clear-icon,
|
|
136
138
|
.el-range-editor .el-input__icon.el-range__close-icon {
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.el-input .el-input__clear,
|
|
141
|
-
.el-input__icon.icon-circle-close,
|
|
142
|
-
.el-input__icon.clear-icon,
|
|
143
|
-
.el-range-editor .el-input__icon.el-range__close-icon {
|
|
144
|
-
background: eleVar('input', 'clear-color');
|
|
145
|
-
border-radius: 50%;
|
|
139
|
+
color: eleVar('input', 'clear-color');
|
|
146
140
|
|
|
147
141
|
&:hover {
|
|
148
|
-
|
|
142
|
+
color: eleVar('input', 'clear-hover-color');
|
|
149
143
|
}
|
|
150
144
|
}
|
|
151
145
|
|
|
152
146
|
/* 表单验证状态图标 */
|
|
153
147
|
.el-input .el-input__wrapper .el-input__validateIcon,
|
|
154
148
|
.el-select .el-select__wrapper .el-input__validateIcon {
|
|
149
|
+
color: eleVar('input', 'status-color');
|
|
155
150
|
margin: eleVar('input', 'status-margin');
|
|
156
|
-
font-size: eleVar('input', 'status-size');
|
|
157
|
-
background: eleVar('input', 'status-color');
|
|
158
|
-
border-radius: 50%;
|
|
159
151
|
}
|
|
160
152
|
|
|
161
153
|
.el-input .el-input__clear + .el-input__validateIcon,
|
|
@@ -165,37 +157,25 @@ body .el-input-number:not(.is-disabled) .el-input .el-input__wrapper.is-focus {
|
|
|
165
157
|
}
|
|
166
158
|
|
|
167
159
|
.el-input__validateIcon > svg > path {
|
|
168
|
-
|
|
169
|
-
stroke: elVar('bg-color', 'overlay');
|
|
170
|
-
stroke-width: 100;
|
|
171
|
-
stroke-linecap: round;
|
|
172
|
-
#{'d'}: path('M755 364 426 700 254 529');
|
|
160
|
+
#{'d'}: path($ele-validate-path);
|
|
173
161
|
|
|
174
162
|
&:last-child {
|
|
163
|
+
fill: none;
|
|
175
164
|
#{'d'}: path('');
|
|
176
165
|
}
|
|
177
166
|
}
|
|
178
167
|
|
|
179
168
|
/* 清空图标和验证失败图标修改 */
|
|
180
|
-
.el-input__clear > svg > path,
|
|
181
|
-
.el-input__icon.icon-circle-close > svg > path,
|
|
182
|
-
.el-input__icon.clear-icon > svg > path,
|
|
183
|
-
.el-input__icon.el-range__close-icon > svg > path {
|
|
184
|
-
fill: none;
|
|
185
|
-
stroke: elVar('bg-color', 'overlay');
|
|
186
|
-
stroke-width: 100;
|
|
187
|
-
stroke-linecap: round;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
169
|
.el-input__clear > svg > path,
|
|
191
170
|
.el-input__icon.icon-circle-close > svg > path,
|
|
192
171
|
.el-input__icon.clear-icon > svg > path,
|
|
193
172
|
.el-input__icon.el-range__close-icon > svg > path,
|
|
194
173
|
.el-form-item.is-error .el-input__validateIcon > svg > path {
|
|
195
|
-
#{'d'}: path(
|
|
174
|
+
#{'d'}: path($ele-clear-path);
|
|
196
175
|
|
|
197
176
|
&:last-child {
|
|
198
|
-
|
|
177
|
+
fill: none;
|
|
178
|
+
#{'d'}: path('');
|
|
199
179
|
}
|
|
200
180
|
}
|
|
201
181
|
|
|
@@ -227,17 +207,12 @@ body .el-input-number:not(.is-disabled) .el-input .el-input__wrapper.is-focus {
|
|
|
227
207
|
& > svg > path[d^='m466'] {
|
|
228
208
|
stroke: none;
|
|
229
209
|
fill: eleVar('input', 'clear-color');
|
|
230
|
-
#{'d'}: path(
|
|
231
|
-
'M514 972C768 972 975 766 975 512 975 257 768 51 514 51 259 51 53 257 53 512 53 766 259 972 514 972'
|
|
232
|
-
);
|
|
210
|
+
#{'d'}: path($ele-clear-path);
|
|
233
211
|
}
|
|
234
212
|
|
|
235
213
|
& > svg > path + path {
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
#{'d'}: path(
|
|
239
|
-
'M305 247 507 449 709 247 766 304 564 506 766 708 708 765 506 563 304 765 247 708 449 506 247 304 305 247'
|
|
240
|
-
);
|
|
214
|
+
fill: none;
|
|
215
|
+
#{'d'}: path('');
|
|
241
216
|
}
|
|
242
217
|
|
|
243
218
|
&:hover > svg > path[d^='m466'] {
|
|
@@ -540,6 +515,24 @@ body .el-input-number.is-disabled .el-input-number__decrease {
|
|
|
540
515
|
}
|
|
541
516
|
|
|
542
517
|
.el-input__validateIcon {
|
|
543
|
-
|
|
518
|
+
color: eleVar('input-error', 'status-color');
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.ele-edit-tag .ele-edit-tag-input.is-error .el-input .el-input__wrapper {
|
|
523
|
+
border: eleVar('input-error', 'border');
|
|
524
|
+
background: eleVar('input-error', 'bg');
|
|
525
|
+
box-shadow: none;
|
|
526
|
+
|
|
527
|
+
&:hover {
|
|
528
|
+
border: eleVar('input-error', 'hover-border');
|
|
529
|
+
background: eleVar('input-error', 'hover-bg');
|
|
530
|
+
box-shadow: eleVar('input-error', 'hover-shadow');
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
&.is-focus {
|
|
534
|
+
border: eleVar('input-error', 'focus-border');
|
|
535
|
+
background: eleVar('input-error', 'focus-bg');
|
|
536
|
+
box-shadow: eleVar('input-error', 'focus-shadow') !important;
|
|
544
537
|
}
|
|
545
538
|
}
|
|
@@ -66,11 +66,16 @@
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.el-message-box__input {
|
|
69
|
-
padding
|
|
69
|
+
padding: 0;
|
|
70
|
+
margin: eleVar('message-box', 'input-margin');
|
|
71
|
+
position: relative;
|
|
70
72
|
}
|
|
71
73
|
|
|
72
74
|
.el-message-box__errormsg {
|
|
73
75
|
line-height: 18px;
|
|
76
|
+
position: absolute;
|
|
77
|
+
top: 100%;
|
|
78
|
+
left: 0;
|
|
74
79
|
}
|
|
75
80
|
}
|
|
76
81
|
|
|
@@ -7,6 +7,11 @@
|
|
|
7
7
|
|
|
8
8
|
/* 滚动条样式 */
|
|
9
9
|
@mixin scrollbar-style() {
|
|
10
|
+
* {
|
|
11
|
+
scrollbar-width: thin;
|
|
12
|
+
scrollbar-color: eleVar('scrollbar', 'color') eleVar('scrollbar', 'bg');
|
|
13
|
+
}
|
|
14
|
+
|
|
10
15
|
::-webkit-scrollbar {
|
|
11
16
|
width: eleVar('scrollbar', 'size');
|
|
12
17
|
height: eleVar('scrollbar', 'size');
|
|
@@ -30,24 +35,34 @@
|
|
|
30
35
|
::-webkit-scrollbar-corner {
|
|
31
36
|
background: transparent;
|
|
32
37
|
}
|
|
33
|
-
|
|
34
|
-
* {
|
|
35
|
-
scrollbar-width: thin;
|
|
36
|
-
scrollbar-color: eleVar('scrollbar', 'color') eleVar('scrollbar', 'bg');
|
|
37
|
-
}
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* 美化滚动条样式 */
|
|
41
41
|
@mixin set-scrollbar-style($selector) {
|
|
42
42
|
@if $selector == '' {
|
|
43
43
|
@include scrollbar-style();
|
|
44
|
+
|
|
45
|
+
html.is-webkit * {
|
|
46
|
+
scrollbar-width: auto;
|
|
47
|
+
scrollbar-color: auto;
|
|
48
|
+
}
|
|
44
49
|
} @else if $selector == 'pc' {
|
|
45
50
|
@media (hover: hover) and (pointer: fine) {
|
|
46
51
|
@include scrollbar-style();
|
|
52
|
+
|
|
53
|
+
html.is-webkit * {
|
|
54
|
+
scrollbar-width: auto;
|
|
55
|
+
scrollbar-color: auto;
|
|
56
|
+
}
|
|
47
57
|
}
|
|
48
58
|
} @else if $selector != 'never' {
|
|
49
59
|
#{$selector} {
|
|
50
60
|
@include scrollbar-style();
|
|
61
|
+
|
|
62
|
+
&.is-webkit * {
|
|
63
|
+
scrollbar-width: auto;
|
|
64
|
+
scrollbar-color: auto;
|
|
65
|
+
}
|
|
51
66
|
}
|
|
52
67
|
}
|
|
53
68
|
}
|
|
@@ -12,7 +12,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
12
12
|
ElIcon: elementPlus.ElIcon,
|
|
13
13
|
ElTag: elementPlus.ElTag,
|
|
14
14
|
EleTooltip,
|
|
15
|
-
|
|
15
|
+
CloseCircleFilled: icons.CloseCircleFilled,
|
|
16
16
|
ArrowDown: icons.ArrowDown
|
|
17
17
|
},
|
|
18
18
|
props: props.basicSelectProps,
|
|
@@ -163,7 +163,7 @@ const _hoisted_1 = {
|
|
|
163
163
|
class: "ele-select-tags"
|
|
164
164
|
};
|
|
165
165
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
166
|
-
const
|
|
166
|
+
const _component_CloseCircleFilled = vue.resolveComponent("CloseCircleFilled");
|
|
167
167
|
const _component_ElIcon = vue.resolveComponent("ElIcon");
|
|
168
168
|
const _component_ArrowDown = vue.resolveComponent("ArrowDown");
|
|
169
169
|
const _component_ElInput = vue.resolveComponent("ElInput");
|
|
@@ -231,7 +231,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
231
231
|
}, {
|
|
232
232
|
default: vue.withCtx(() => [
|
|
233
233
|
vue.renderSlot(_ctx.$slots, "clearIcon", {}, () => [
|
|
234
|
-
vue.createVNode(
|
|
234
|
+
vue.createVNode(_component_CloseCircleFilled)
|
|
235
235
|
])
|
|
236
236
|
]),
|
|
237
237
|
_: 3
|
|
@@ -15,13 +15,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
selected: import("vue").PropType<SelectedItem[]>;
|
|
16
16
|
maxTagCount: NumberConstructor;
|
|
17
17
|
maxTagTextLength: NumberConstructor;
|
|
18
|
-
tagType: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "
|
|
18
|
+
tagType: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
|
|
19
19
|
automaticDropdown: BooleanConstructor;
|
|
20
20
|
filterable: BooleanConstructor;
|
|
21
21
|
visible: BooleanConstructor;
|
|
22
22
|
teleported: BooleanConstructor;
|
|
23
23
|
persistent: BooleanConstructor;
|
|
24
|
-
placement: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>;
|
|
24
|
+
placement: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>; /** 多选时搜索框值 */
|
|
25
25
|
transition: {
|
|
26
26
|
type: StringConstructor;
|
|
27
27
|
default: string;
|
|
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
29
|
popperOptions: import("vue").PropType<Partial<import("element-plus").Options> | undefined>;
|
|
30
30
|
popperClass: StringConstructor;
|
|
31
31
|
popperWidth: (StringConstructor | NumberConstructor)[];
|
|
32
|
-
selectClass: StringConstructor;
|
|
32
|
+
selectClass: StringConstructor; /** 输入框提示文本 */
|
|
33
33
|
selectStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
34
34
|
inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
35
35
|
}, {
|
|
@@ -74,13 +74,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
74
|
selected: import("vue").PropType<SelectedItem[]>;
|
|
75
75
|
maxTagCount: NumberConstructor;
|
|
76
76
|
maxTagTextLength: NumberConstructor;
|
|
77
|
-
tagType: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "
|
|
77
|
+
tagType: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
|
|
78
78
|
automaticDropdown: BooleanConstructor;
|
|
79
79
|
filterable: BooleanConstructor;
|
|
80
80
|
visible: BooleanConstructor;
|
|
81
81
|
teleported: BooleanConstructor;
|
|
82
82
|
persistent: BooleanConstructor;
|
|
83
|
-
placement: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>;
|
|
83
|
+
placement: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>; /** 多选时搜索框值 */
|
|
84
84
|
transition: {
|
|
85
85
|
type: StringConstructor;
|
|
86
86
|
default: string;
|
|
@@ -88,7 +88,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
88
88
|
popperOptions: import("vue").PropType<Partial<import("element-plus").Options> | undefined>;
|
|
89
89
|
popperClass: StringConstructor;
|
|
90
90
|
popperWidth: (StringConstructor | NumberConstructor)[];
|
|
91
|
-
selectClass: StringConstructor;
|
|
91
|
+
selectClass: StringConstructor; /** 输入框提示文本 */
|
|
92
92
|
selectStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
93
93
|
inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
94
94
|
}>> & {
|
|
@@ -28,7 +28,7 @@ export declare const basicSelectProps: {
|
|
|
28
28
|
/** 多选标签最大显示文本长度 */
|
|
29
29
|
maxTagTextLength: NumberConstructor;
|
|
30
30
|
/** 多选标签类型 */
|
|
31
|
-
tagType: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "
|
|
31
|
+
tagType: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
|
|
32
32
|
/** 是否在输入框获得焦点后自动弹出选项菜单 */
|
|
33
33
|
automaticDropdown: BooleanConstructor;
|
|
34
34
|
/** 是否可以筛选 */
|
|
@@ -64,14 +64,11 @@
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
& > .el-input .el-input__icon.ele-select-clear {
|
|
67
|
-
color:
|
|
68
|
-
font-size: eleVar('input', 'clear-size');
|
|
69
|
-
background: eleVar('input', 'clear-color');
|
|
70
|
-
border-radius: 50%;
|
|
67
|
+
color: eleVar('input', 'clear-color');
|
|
71
68
|
cursor: pointer;
|
|
72
69
|
|
|
73
70
|
&:hover {
|
|
74
|
-
|
|
71
|
+
color: eleVar('input', 'clear-hover-color');
|
|
75
72
|
}
|
|
76
73
|
}
|
|
77
74
|
|
|
@@ -93,10 +90,6 @@
|
|
|
93
90
|
#{'d'}: path('M10 31 24 17 38 31');
|
|
94
91
|
}
|
|
95
92
|
|
|
96
|
-
.ele-select-arrow > svg > path {
|
|
97
|
-
stroke-width: 4;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
93
|
/* 多选 */
|
|
101
94
|
&.is-multiple {
|
|
102
95
|
min-height: elVar('component-size');
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const vue = require("vue");
|
|
3
3
|
const elementPlus = require("element-plus");
|
|
4
|
-
const
|
|
4
|
+
const icons = require("../icons");
|
|
5
5
|
const receiver = require("../ele-config-provider/receiver");
|
|
6
6
|
const EleTooltip = require("../ele-tooltip/index");
|
|
7
7
|
const props = require("./props");
|
|
8
8
|
const _sfc_main = vue.defineComponent({
|
|
9
9
|
name: "EleCopyable",
|
|
10
|
-
components: { ElIcon: elementPlus.ElIcon,
|
|
10
|
+
components: { ElIcon: elementPlus.ElIcon, CopyOutlined: icons.CopyOutlined, CheckOutlined: icons.CheckOutlined, EleTooltip },
|
|
11
11
|
props: props.copyableProps,
|
|
12
12
|
emits: props.copyableEmits,
|
|
13
13
|
setup(props2, { emit }) {
|
|
@@ -105,9 +105,9 @@ const _export_sfc = (sfc, props2) => {
|
|
|
105
105
|
return target;
|
|
106
106
|
};
|
|
107
107
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
108
|
-
const
|
|
108
|
+
const _component_CheckOutlined = vue.resolveComponent("CheckOutlined");
|
|
109
109
|
const _component_ElIcon = vue.resolveComponent("ElIcon");
|
|
110
|
-
const
|
|
110
|
+
const _component_CopyOutlined = vue.resolveComponent("CopyOutlined");
|
|
111
111
|
const _component_EleTooltip = vue.resolveComponent("EleTooltip");
|
|
112
112
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
113
113
|
class: vue.normalizeClass(["ele-copyable", { "ele-copyable-done": _ctx.copied }])
|
|
@@ -130,7 +130,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
130
130
|
_ctx.copiedIcon ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.copiedIcon), {
|
|
131
131
|
key: 0,
|
|
132
132
|
style: vue.normalizeStyle(_ctx.copiedIconStyle)
|
|
133
|
-
}, null, 8, ["style"])) : (vue.openBlock(), vue.createBlock(
|
|
133
|
+
}, null, 8, ["style"])) : (vue.openBlock(), vue.createBlock(_component_CheckOutlined, {
|
|
134
134
|
key: 1,
|
|
135
135
|
style: vue.normalizeStyle(_ctx.copiedIconStyle)
|
|
136
136
|
}, null, 8, ["style"]))
|
|
@@ -141,7 +141,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
141
141
|
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.icon), {
|
|
142
142
|
key: 0,
|
|
143
143
|
style: vue.normalizeStyle(_ctx.iconStyle)
|
|
144
|
-
}, null, 8, ["style"])) : (vue.openBlock(), vue.createBlock(
|
|
144
|
+
}, null, 8, ["style"])) : (vue.openBlock(), vue.createBlock(_component_CopyOutlined, {
|
|
145
145
|
key: 1,
|
|
146
146
|
style: vue.normalizeStyle(_ctx.iconStyle)
|
|
147
147
|
}, null, 8, ["style"]))
|
|
@@ -12,10 +12,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
copiedIconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
13
13
|
tooltip: {
|
|
14
14
|
type: import("vue").PropType<boolean | Partial<import("../ele-tooltip/props").TooltipProps>>;
|
|
15
|
-
default: boolean;
|
|
15
|
+
default: boolean; /** 提示单例目标 */
|
|
16
16
|
};
|
|
17
17
|
resetAfter: {
|
|
18
18
|
type: NumberConstructor;
|
|
19
|
+
/** 是否拷贝完成 */
|
|
19
20
|
default: number;
|
|
20
21
|
};
|
|
21
22
|
locale: import("vue").PropType<Partial<CopyableLocale>>;
|
|
@@ -41,10 +42,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
42
|
copiedIconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
42
43
|
tooltip: {
|
|
43
44
|
type: import("vue").PropType<boolean | Partial<import("../ele-tooltip/props").TooltipProps>>;
|
|
44
|
-
default: boolean;
|
|
45
|
+
default: boolean; /** 提示单例目标 */
|
|
45
46
|
};
|
|
46
47
|
resetAfter: {
|
|
47
48
|
type: NumberConstructor;
|
|
49
|
+
/** 是否拷贝完成 */
|
|
48
50
|
default: number;
|
|
49
51
|
};
|
|
50
52
|
locale: import("vue").PropType<Partial<CopyableLocale>>;
|