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
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const vue = require("vue");
|
|
3
|
-
const iconsVue = require("@element-plus/icons-vue");
|
|
4
3
|
const elementPlus = require("element-plus");
|
|
4
|
+
const icons = require("../../icons");
|
|
5
5
|
const EleTooltip = require("../../ele-tooltip/index");
|
|
6
6
|
const receiver = require("../../ele-config-provider/receiver");
|
|
7
7
|
const TOOL_ICONS = {
|
|
8
|
-
zoomIn:
|
|
9
|
-
zoomOut:
|
|
10
|
-
moveLeft:
|
|
11
|
-
moveRight:
|
|
12
|
-
moveUp:
|
|
13
|
-
moveDown:
|
|
14
|
-
rotateLeft:
|
|
15
|
-
rotateRight:
|
|
16
|
-
flipX:
|
|
17
|
-
flipY:
|
|
18
|
-
reset:
|
|
19
|
-
upload:
|
|
20
|
-
ok:
|
|
8
|
+
zoomIn: icons.ZoomInOutlined,
|
|
9
|
+
zoomOut: icons.ZoomOutOutlined,
|
|
10
|
+
moveLeft: icons.ArrowLeftOutlined,
|
|
11
|
+
moveRight: icons.ArrowRightOutlined,
|
|
12
|
+
moveUp: icons.ArrowUpOutlined,
|
|
13
|
+
moveDown: icons.ArrowDownOutlined,
|
|
14
|
+
rotateLeft: icons.UndoOutlined,
|
|
15
|
+
rotateRight: icons.ReloadOutlined,
|
|
16
|
+
flipX: icons.SwapOutlined,
|
|
17
|
+
flipY: icons.SortOutlined,
|
|
18
|
+
reset: icons.SyncOutlined,
|
|
19
|
+
upload: icons.UploadOutlined,
|
|
20
|
+
ok: icons.CheckOutlined
|
|
21
21
|
};
|
|
22
22
|
const _sfc_main = vue.defineComponent({
|
|
23
23
|
name: "CropperTools",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
.ele-cropper-image {
|
|
10
10
|
flex: 1;
|
|
11
|
-
height:
|
|
11
|
+
height: 300px;
|
|
12
12
|
position: relative;
|
|
13
13
|
box-sizing: border-box;
|
|
14
14
|
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
display: none;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
&.ele-cropper-ok > .el-icon + span {
|
|
86
|
+
margin-left: 4px;
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
|
|
@@ -31,7 +31,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31
31
|
const _component_EleCropper = vue.resolveComponent("EleCropper");
|
|
32
32
|
const _component_EleModal = vue.resolveComponent("EleModal");
|
|
33
33
|
return vue.openBlock(), vue.createBlock(_component_EleModal, vue.mergeProps({
|
|
34
|
-
width: "
|
|
34
|
+
width: "620px",
|
|
35
35
|
title: _ctx.lang.title
|
|
36
36
|
}, _ctx.modalProps, {
|
|
37
37
|
modelValue: _ctx.modelValue,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
@use '../../style/themes/default.scss' as *;
|
|
2
2
|
@use '../../style/util.scss' as *;
|
|
3
3
|
@use './css-var.scss' as *;
|
|
4
|
-
$ele-filter-path: 'M349 838c0 17 14 32 31 32h262c17 0 31-14 31-32V642H349v196ZM880 154H143c-24 0-39 26-27 48l221 376h348l221-376c12-21-3-48-27-48' !default;
|
|
5
4
|
$ele-expand-path: 'M362 811 662 512 362 213' !default;
|
|
5
|
+
$ele-loading-path: 'M512 128V299M789 235 672 352M896 512H725M789 789 672 672M512 896V725M235 789 352 672M128 512H299M235 235 352 352' !default;
|
|
6
|
+
$ele-filter-path: 'M349 838c0 17 14 32 31 32h262c17 0 31-14 31-32V642H349v196ZM880 154H143c-24 0-39 26-27 48l221 376h348l221-376c12-21-3-48-27-48' !default;
|
|
6
7
|
|
|
7
8
|
@include set-data-table-var($ele);
|
|
8
9
|
@include table-var-style('body .ele-data-table.el-table');
|
|
@@ -216,21 +217,31 @@ $ele-expand-path: 'M362 811 662 512 362 213' !default;
|
|
|
216
217
|
transition: (color $ele-transition, background-color $ele-transition);
|
|
217
218
|
transform: none;
|
|
218
219
|
|
|
220
|
+
&:hover {
|
|
221
|
+
background: eleVar('table', 'icon-hover-bg');
|
|
222
|
+
}
|
|
223
|
+
|
|
219
224
|
& > .el-icon {
|
|
220
225
|
transition: all $ele-transition;
|
|
221
226
|
font-size: inherit;
|
|
222
227
|
|
|
223
|
-
|
|
228
|
+
& > svg > path {
|
|
224
229
|
fill: none;
|
|
225
230
|
stroke: currentColor;
|
|
226
|
-
stroke-width: 100;
|
|
227
231
|
stroke-linecap: round;
|
|
232
|
+
stroke-linejoin: round;
|
|
233
|
+
stroke-width: 98;
|
|
228
234
|
#{'d'}: path($ele-expand-path);
|
|
229
235
|
}
|
|
230
236
|
}
|
|
231
237
|
|
|
232
|
-
|
|
233
|
-
|
|
238
|
+
& > .is-loading > svg > path {
|
|
239
|
+
stroke-width: 85;
|
|
240
|
+
#{'d'}: path($ele-loading-path);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
& > .el-icon:not(.is-loading) > svg {
|
|
244
|
+
transform: translateX(0.4px);
|
|
234
245
|
}
|
|
235
246
|
}
|
|
236
247
|
|
|
@@ -239,7 +250,7 @@ $ele-expand-path: 'M362 811 662 512 362 213' !default;
|
|
|
239
250
|
& > .el-table__placeholder {
|
|
240
251
|
height: 16px;
|
|
241
252
|
display: inline-flex;
|
|
242
|
-
vertical-align: -
|
|
253
|
+
vertical-align: -2px;
|
|
243
254
|
}
|
|
244
255
|
|
|
245
256
|
& > .el-table__expand-icon,
|
package/lib/ele-drawer/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const vue = require("vue");
|
|
3
|
-
const iconsVue = require("@element-plus/icons-vue");
|
|
4
3
|
const elementPlus = require("element-plus");
|
|
5
4
|
const receiver = require("../ele-config-provider/receiver");
|
|
5
|
+
const icons = require("../icons");
|
|
6
6
|
const props = require("./props");
|
|
7
7
|
const _sfc_main = vue.defineComponent({
|
|
8
8
|
name: "EleDrawer",
|
|
9
|
-
components: { ElDrawer: elementPlus.ElDrawer, ElIcon: elementPlus.ElIcon,
|
|
9
|
+
components: { ElDrawer: elementPlus.ElDrawer, ElIcon: elementPlus.ElIcon, CloseOutlined: icons.CloseOutlined },
|
|
10
10
|
props: props.drawerProps,
|
|
11
11
|
emits: elementPlus.drawerEmits,
|
|
12
12
|
setup(_props, { emit }) {
|
|
@@ -54,7 +54,7 @@ const _export_sfc = (sfc, props2) => {
|
|
|
54
54
|
};
|
|
55
55
|
const _hoisted_1 = ["onClick"];
|
|
56
56
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
57
|
-
const
|
|
57
|
+
const _component_CloseOutlined = vue.resolveComponent("CloseOutlined");
|
|
58
58
|
const _component_ElIcon = vue.resolveComponent("ElIcon");
|
|
59
59
|
const _component_ElDrawer = vue.resolveComponent("ElDrawer");
|
|
60
60
|
return vue.openBlock(), vue.createBlock(_component_ElDrawer, {
|
|
@@ -106,7 +106,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
106
106
|
vue.renderSlot(_ctx.$slots, "closeBtn", {}, () => [
|
|
107
107
|
vue.createVNode(_component_ElIcon, null, {
|
|
108
108
|
default: vue.withCtx(() => [
|
|
109
|
-
vue.createVNode(
|
|
109
|
+
vue.createVNode(_component_CloseOutlined)
|
|
110
110
|
]),
|
|
111
111
|
_: 1
|
|
112
112
|
})
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
appendToBody: BooleanConstructor;
|
|
14
14
|
appendTo: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "body", boolean>;
|
|
15
15
|
beforeClose: {
|
|
16
|
-
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
16
|
+
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>; /** 关闭事件 */
|
|
17
17
|
readonly required: false;
|
|
18
18
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
19
19
|
__epPropKey: true;
|
|
@@ -54,8 +54,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
55
|
__epPropKey: true;
|
|
56
56
|
};
|
|
57
|
-
customClass: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
58
57
|
draggable: BooleanConstructor;
|
|
58
|
+
overflow: BooleanConstructor;
|
|
59
59
|
fullscreen: BooleanConstructor;
|
|
60
60
|
showClose: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
61
61
|
title: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -90,7 +90,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
90
|
appendToBody: BooleanConstructor;
|
|
91
91
|
appendTo: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "body", boolean>;
|
|
92
92
|
beforeClose: {
|
|
93
|
-
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
93
|
+
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>; /** 关闭事件 */
|
|
94
94
|
readonly required: false;
|
|
95
95
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
96
96
|
__epPropKey: true;
|
|
@@ -131,8 +131,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
131
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
132
132
|
__epPropKey: true;
|
|
133
133
|
};
|
|
134
|
-
customClass: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
135
134
|
draggable: BooleanConstructor;
|
|
135
|
+
overflow: BooleanConstructor;
|
|
136
136
|
fullscreen: BooleanConstructor;
|
|
137
137
|
showClose: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
138
138
|
title: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -140,11 +140,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
140
140
|
}>> & {
|
|
141
141
|
onOpen?: (() => any) | undefined;
|
|
142
142
|
onClose?: (() => any) | undefined;
|
|
143
|
+
onOpenAutoFocus?: (() => any) | undefined;
|
|
144
|
+
onCloseAutoFocus?: (() => any) | undefined;
|
|
143
145
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
144
146
|
onOpened?: (() => any) | undefined;
|
|
145
147
|
onClosed?: (() => any) | undefined;
|
|
146
|
-
onOpenAutoFocus?: (() => any) | undefined;
|
|
147
|
-
onCloseAutoFocus?: (() => any) | undefined;
|
|
148
148
|
}, {
|
|
149
149
|
size: import("element-plus/es/utils/index").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
150
150
|
center: boolean;
|
|
@@ -162,8 +162,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
162
162
|
trapFocus: import("element-plus/es/utils/index").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
163
163
|
headerAriaLevel: string;
|
|
164
164
|
alignCenter: boolean;
|
|
165
|
-
customClass: string;
|
|
166
165
|
draggable: boolean;
|
|
166
|
+
overflow: boolean;
|
|
167
167
|
fullscreen: boolean;
|
|
168
168
|
showClose: import("element-plus/es/utils/index").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
169
169
|
ariaLevel: string;
|
|
@@ -62,8 +62,8 @@ export declare const drawerProps: {
|
|
|
62
62
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
63
63
|
__epPropKey: true;
|
|
64
64
|
};
|
|
65
|
-
customClass: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
66
65
|
draggable: BooleanConstructor;
|
|
66
|
+
overflow: BooleanConstructor;
|
|
67
67
|
fullscreen: BooleanConstructor;
|
|
68
68
|
showClose: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
69
69
|
title: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -102,19 +102,29 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
102
102
|
}, {
|
|
103
103
|
default: vue.withCtx(() => [
|
|
104
104
|
_ctx.items ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.items, (item, index2) => {
|
|
105
|
-
return vue.openBlock(), vue.createBlock(_component_ElDropdownItem, vue.mergeProps(
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
105
|
+
return vue.openBlock(), vue.createBlock(_component_ElDropdownItem, vue.mergeProps(
|
|
106
|
+
{
|
|
107
|
+
key: typeof item.command === "object" ? index2 : item.command,
|
|
108
|
+
class: [
|
|
109
|
+
{ "is-active": _ctx.modelValue === item.command },
|
|
110
|
+
{ "is-danger": !!item.danger }
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
_ctx.omit(item, [
|
|
114
|
+
"icon",
|
|
115
|
+
"title",
|
|
116
|
+
"iconProps",
|
|
117
|
+
"iconStyle",
|
|
118
|
+
"slot",
|
|
119
|
+
"danger"
|
|
120
|
+
])
|
|
121
|
+
), {
|
|
112
122
|
default: vue.withCtx(() => [
|
|
113
123
|
item.slot && item.slot !== "default" && _ctx.$slots[item.slot] ? vue.renderSlot(_ctx.$slots, item.slot, {
|
|
114
124
|
key: 0,
|
|
115
125
|
item
|
|
116
126
|
}) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
117
|
-
item.icon ? (vue.openBlock(), vue.createBlock(_component_ElIcon, vue.normalizeProps(vue.mergeProps({ key: 0 }, item.iconProps || {})), {
|
|
127
|
+
item.icon ? (vue.openBlock(), vue.createBlock(_component_ElIcon, vue.normalizeProps(vue.mergeProps({ key: 0 }, { ..._ctx.iconProps || {}, ...item.iconProps || {} })), {
|
|
118
128
|
default: vue.withCtx(() => [
|
|
119
129
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(item.icon), {
|
|
120
130
|
style: vue.normalizeStyle(item.iconStyle)
|
|
@@ -5,6 +5,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
items: import("vue").PropType<DropdownItem[]>;
|
|
6
6
|
modelValue: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined>;
|
|
7
7
|
menuStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
8
|
+
iconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
|
|
8
9
|
trigger: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
|
9
10
|
effect: {
|
|
10
11
|
readonly default: "light";
|
|
@@ -60,6 +61,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
61
|
items: import("vue").PropType<DropdownItem[]>;
|
|
61
62
|
modelValue: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined>;
|
|
62
63
|
menuStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
64
|
+
iconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
|
|
63
65
|
trigger: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
|
64
66
|
effect: {
|
|
65
67
|
readonly default: "light";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { ElIconProps } from '../ele-app/el';
|
|
2
3
|
import type { DropdownItem } from './types';
|
|
3
4
|
/**
|
|
4
5
|
* 属性
|
|
@@ -10,6 +11,8 @@ export declare const dropdownProps: {
|
|
|
10
11
|
modelValue: PropType<import("element-plus/es/utils/index").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined>;
|
|
11
12
|
/** 自定义下拉菜单样式 */
|
|
12
13
|
menuStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
14
|
+
/** 自定义图标属性 */
|
|
15
|
+
iconProps: PropType<ElIconProps>;
|
|
13
16
|
trigger: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
|
14
17
|
effect: {
|
|
15
18
|
readonly default: "light";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const vue = require("vue");
|
|
3
|
-
const iconsVue = require("@element-plus/icons-vue");
|
|
4
3
|
const elementPlus = require("element-plus");
|
|
5
4
|
const EleTooltip = require("../ele-tooltip/index");
|
|
6
5
|
const receiver = require("../ele-config-provider/receiver");
|
|
6
|
+
const icons = require("../icons");
|
|
7
7
|
const props = require("./props");
|
|
8
8
|
const _sfc_main = vue.defineComponent({
|
|
9
9
|
name: "EleEditTag",
|
|
10
10
|
components: {
|
|
11
|
-
Plus: iconsVue.Plus,
|
|
12
|
-
Loading: iconsVue.Loading,
|
|
13
11
|
ElTag: elementPlus.ElTag,
|
|
14
12
|
ElInput: elementPlus.ElInput,
|
|
15
13
|
ElIcon: elementPlus.ElIcon,
|
|
16
|
-
EleTooltip
|
|
14
|
+
EleTooltip,
|
|
15
|
+
PlusOutlined: icons.PlusOutlined,
|
|
16
|
+
LoadingOutlined: icons.LoadingOutlined
|
|
17
17
|
},
|
|
18
18
|
props: props.editTagProps,
|
|
19
19
|
emits: props.editTagEmits,
|
|
@@ -143,9 +143,9 @@ const _export_sfc = (sfc, props2) => {
|
|
|
143
143
|
const _hoisted_1 = { key: 0 };
|
|
144
144
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
145
145
|
const _component_ElTag = vue.resolveComponent("ElTag");
|
|
146
|
-
const
|
|
146
|
+
const _component_PlusOutlined = vue.resolveComponent("PlusOutlined");
|
|
147
147
|
const _component_ElIcon = vue.resolveComponent("ElIcon");
|
|
148
|
-
const
|
|
148
|
+
const _component_LoadingOutlined = vue.resolveComponent("LoadingOutlined");
|
|
149
149
|
const _component_ElInput = vue.resolveComponent("ElInput");
|
|
150
150
|
const _component_EleTooltip = vue.resolveComponent("EleTooltip");
|
|
151
151
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -189,7 +189,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
189
189
|
class: "ele-edit-tag-add-icon"
|
|
190
190
|
}, {
|
|
191
191
|
default: vue.withCtx(() => [
|
|
192
|
-
vue.createVNode(
|
|
192
|
+
vue.createVNode(_component_PlusOutlined)
|
|
193
193
|
]),
|
|
194
194
|
_: 1
|
|
195
195
|
}))
|
|
@@ -213,21 +213,22 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
213
213
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.inputValue = $event),
|
|
214
214
|
style: vue.normalizeStyle(_ctx.inputStyle),
|
|
215
215
|
onChange: _ctx.onInputChange,
|
|
216
|
-
onBlur: _ctx.onInputBlur
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
216
|
+
onBlur: _ctx.onInputBlur,
|
|
217
|
+
onFocus: _ctx.onInputFocus
|
|
218
|
+
}, {
|
|
219
|
+
suffix: vue.withCtx(() => [
|
|
220
|
+
_ctx.loading ? (vue.openBlock(), vue.createBlock(_component_ElIcon, {
|
|
221
|
+
key: 0,
|
|
222
|
+
class: "is-loading"
|
|
223
|
+
}, {
|
|
224
|
+
default: vue.withCtx(() => [
|
|
225
|
+
vue.createVNode(_component_LoadingOutlined)
|
|
226
|
+
]),
|
|
227
|
+
_: 1
|
|
228
|
+
})) : vue.createCommentVNode("", true)
|
|
229
|
+
]),
|
|
230
|
+
_: 1
|
|
231
|
+
}, 8, ["disabled", "modelValue", "style", "onChange", "onBlur", "onFocus"])
|
|
231
232
|
]),
|
|
232
233
|
_: 1
|
|
233
234
|
}, 8, ["size", "round", "class"]), [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ElInputInstance } from '../ele-app/el';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
modelValue: import("vue").PropType<string[]>;
|
|
4
|
-
type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "
|
|
4
|
+
type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
|
|
5
5
|
color: StringConstructor;
|
|
6
6
|
size: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined>;
|
|
7
7
|
effect: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "light" | "plain" | "dark", unknown> | undefined>;
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
12
12
|
validator: import("vue").PropType<import("./types").Validator>;
|
|
13
13
|
beforeRemove: import("vue").PropType<import("./types").BeforeRemove>;
|
|
14
|
-
tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
|
|
14
|
+
tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
|
|
15
15
|
}, {
|
|
16
16
|
inputRef: import("vue").Ref<ElInputInstance>;
|
|
17
17
|
isEdit: import("vue").Ref<boolean>;
|
|
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
'update:modelValue': (_value?: string[] | undefined) => boolean;
|
|
29
29
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
30
|
modelValue: import("vue").PropType<string[]>;
|
|
31
|
-
type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "
|
|
31
|
+
type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
|
|
32
32
|
color: StringConstructor;
|
|
33
33
|
size: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined>;
|
|
34
34
|
effect: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "light" | "plain" | "dark", unknown> | undefined>;
|
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
39
39
|
validator: import("vue").PropType<import("./types").Validator>;
|
|
40
40
|
beforeRemove: import("vue").PropType<import("./types").BeforeRemove>;
|
|
41
|
-
tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
|
|
41
|
+
tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
|
|
42
42
|
}>> & {
|
|
43
43
|
"onUpdate:modelValue"?: ((_value?: string[] | undefined) => any) | undefined;
|
|
44
44
|
}, {
|
|
@@ -7,7 +7,7 @@ export declare const editTagProps: {
|
|
|
7
7
|
/** 标签数据 */
|
|
8
8
|
modelValue: PropType<string[]>;
|
|
9
9
|
/** 类型 */
|
|
10
|
-
type: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "
|
|
10
|
+
type: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
|
|
11
11
|
/** 颜色 */
|
|
12
12
|
color: StringConstructor;
|
|
13
13
|
/** 尺寸 */
|
|
@@ -1,101 +1,98 @@
|
|
|
1
1
|
@use '../../style/themes/default.scss' as *;
|
|
2
2
|
@use '../../style/util.scss' as *;
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
4
|
+
/* 标签 */
|
|
5
|
+
.ele-edit-tag .el-tag {
|
|
6
|
+
margin: 0 8px 8px 0;
|
|
7
|
+
vertical-align: top;
|
|
8
|
+
}
|
|
10
9
|
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
/* 添加按钮 */
|
|
11
|
+
.ele-edit-tag-add {
|
|
12
|
+
&.el-tag {
|
|
13
|
+
cursor: text;
|
|
13
14
|
margin-right: 0;
|
|
15
|
+
border-style: dashed;
|
|
16
|
+
background: none;
|
|
17
|
+
}
|
|
14
18
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
& > .el-tag__content {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
20
25
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
.ele-edit-tag .ele-edit-tag-add-icon {
|
|
27
|
+
width: 1em;
|
|
28
|
+
height: 1em;
|
|
29
|
+
border-radius: 0;
|
|
30
|
+
font-size: inherit;
|
|
31
|
+
cursor: inherit;
|
|
32
|
+
opacity: 0.6;
|
|
33
|
+
}
|
|
28
34
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
35
|
+
/* 输入框 */
|
|
36
|
+
.ele-edit-tag-input {
|
|
37
|
+
&.el-tag {
|
|
38
|
+
width: 80px;
|
|
39
|
+
margin-right: 0;
|
|
40
|
+
padding: 0;
|
|
41
|
+
display: inline-block;
|
|
42
|
+
background: none;
|
|
43
|
+
border: none;
|
|
34
44
|
}
|
|
35
45
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
46
|
+
& > .el-tag__content {
|
|
47
|
+
width: 100%;
|
|
48
|
+
height: 100%;
|
|
49
|
+
display: block;
|
|
50
|
+
font-size: inherit;
|
|
51
|
+
line-height: inherit;
|
|
52
|
+
border-radius: inherit;
|
|
53
|
+
}
|
|
40
54
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
55
|
+
.el-input {
|
|
56
|
+
width: 100%;
|
|
57
|
+
height: 100%;
|
|
58
|
+
font-size: inherit;
|
|
59
|
+
border-radius: inherit;
|
|
47
60
|
|
|
48
|
-
|
|
49
|
-
width: 100%;
|
|
61
|
+
.el-input__wrapper {
|
|
50
62
|
height: 100%;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
63
|
+
padding-left: 8px;
|
|
64
|
+
padding-right: 8px;
|
|
65
|
+
box-sizing: border-box;
|
|
54
66
|
border-radius: inherit;
|
|
55
67
|
}
|
|
56
68
|
|
|
57
|
-
.el-
|
|
58
|
-
width: 100%;
|
|
69
|
+
.el-input__inner {
|
|
59
70
|
height: 100%;
|
|
60
|
-
|
|
61
|
-
border-radius: inherit;
|
|
62
|
-
|
|
63
|
-
.el-input__wrapper {
|
|
64
|
-
height: 100%;
|
|
65
|
-
padding-left: 8px;
|
|
66
|
-
padding-right: 8px;
|
|
67
|
-
box-sizing: border-box;
|
|
68
|
-
border-radius: inherit;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.el-input__inner {
|
|
72
|
-
height: 100%;
|
|
73
|
-
line-height: inherit;
|
|
74
|
-
}
|
|
71
|
+
line-height: inherit;
|
|
75
72
|
}
|
|
73
|
+
}
|
|
76
74
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
75
|
+
&.is-error .el-input .el-input__wrapper {
|
|
76
|
+
box-shadow: 0 0 0 0.8px elVar('color-danger') inset;
|
|
80
77
|
}
|
|
78
|
+
}
|
|
81
79
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
80
|
+
/* 小尺寸 */
|
|
81
|
+
.ele-edit-tag.is-small .ele-edit-tag-input {
|
|
82
|
+
width: 60px;
|
|
85
83
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
84
|
+
.el-input .el-input__wrapper {
|
|
85
|
+
padding-left: 4px;
|
|
86
|
+
padding-right: 4px;
|
|
90
87
|
}
|
|
88
|
+
}
|
|
91
89
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
90
|
+
/* 大尺寸 */
|
|
91
|
+
.ele-edit-tag.is-large .ele-edit-tag-input {
|
|
92
|
+
width: 100px;
|
|
95
93
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}
|
|
94
|
+
.el-input .el-input__wrapper {
|
|
95
|
+
padding-left: 12px;
|
|
96
|
+
padding-right: 12px;
|
|
100
97
|
}
|
|
101
98
|
}
|