ele-admin-plus 1.1.8-beta.3 → 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/index.d.ts +8 -10
- package/es/ele-data-table/index.js +2 -17
- package/es/ele-data-table/style/index.scss +17 -6
- package/es/ele-data-table/util.d.ts +7 -0
- package/es/ele-data-table/util.js +17 -0
- 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/index.cjs +1 -16
- package/lib/ele-data-table/index.d.ts +8 -10
- package/lib/ele-data-table/style/index.scss +17 -6
- package/lib/ele-data-table/util.cjs +17 -0
- package/lib/ele-data-table/util.d.ts +7 -0
- 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,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
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
const vue = require("vue");
|
|
3
3
|
const AMapLoader = require("@amap/amap-jsapi-loader");
|
|
4
4
|
const elementPlus = require("element-plus");
|
|
5
|
-
const
|
|
5
|
+
const icons = require("../../icons");
|
|
6
6
|
const receiver = require("../../ele-config-provider/receiver");
|
|
7
7
|
const EleLoading = require("../../ele-loading/index");
|
|
8
8
|
const props = require("../props");
|
|
@@ -16,11 +16,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
16
16
|
ElButton: elementPlus.ElButton,
|
|
17
17
|
ElIcon: elementPlus.ElIcon,
|
|
18
18
|
ElEmpty: elementPlus.ElEmpty,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
PlusOutlined: icons.PlusOutlined,
|
|
20
|
+
EnvironmentOutlined: icons.EnvironmentOutlined,
|
|
21
|
+
CheckCircleOutlined: icons.CheckCircleOutlined,
|
|
22
|
+
CheckOutlined: icons.CheckOutlined,
|
|
23
|
+
SearchOutlined: icons.SearchOutlined
|
|
24
24
|
},
|
|
25
25
|
props: props.mapProps,
|
|
26
26
|
emits: {
|
|
@@ -440,7 +440,7 @@ const _hoisted_2 = { class: "ele-map-suggest-title" };
|
|
|
440
440
|
const _hoisted_3 = { class: "ele-map-suggest-text" };
|
|
441
441
|
const _hoisted_4 = { class: "ele-map-view-main" };
|
|
442
442
|
const _hoisted_5 = ["src"];
|
|
443
|
-
const _hoisted_6 = { class: "ele-map-view-
|
|
443
|
+
const _hoisted_6 = { class: "ele-map-view-list" };
|
|
444
444
|
const _hoisted_7 = ["onClick"];
|
|
445
445
|
const _hoisted_8 = { class: "ele-map-view-item-title" };
|
|
446
446
|
const _hoisted_9 = {
|
|
@@ -457,15 +457,15 @@ const _hoisted_11 = {
|
|
|
457
457
|
};
|
|
458
458
|
const _hoisted_12 = { class: "ele-map-view-message" };
|
|
459
459
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
460
|
-
const
|
|
460
|
+
const _component_SearchOutlined = vue.resolveComponent("SearchOutlined");
|
|
461
461
|
const _component_ElIcon = vue.resolveComponent("ElIcon");
|
|
462
462
|
const _component_ElInput = vue.resolveComponent("ElInput");
|
|
463
463
|
const _component_ElAutocomplete = vue.resolveComponent("ElAutocomplete");
|
|
464
|
-
const
|
|
464
|
+
const _component_CheckOutlined = vue.resolveComponent("CheckOutlined");
|
|
465
465
|
const _component_ElButton = vue.resolveComponent("ElButton");
|
|
466
|
-
const
|
|
467
|
-
const
|
|
468
|
-
const
|
|
466
|
+
const _component_PlusOutlined = vue.resolveComponent("PlusOutlined");
|
|
467
|
+
const _component_EnvironmentOutlined = vue.resolveComponent("EnvironmentOutlined");
|
|
468
|
+
const _component_CheckCircleOutlined = vue.resolveComponent("CheckCircleOutlined");
|
|
469
469
|
const _component_ElEmpty = vue.resolveComponent("ElEmpty");
|
|
470
470
|
const _component_EleLoading = vue.resolveComponent("EleLoading");
|
|
471
471
|
return vue.openBlock(), vue.createBlock(_component_EleLoading, {
|
|
@@ -489,7 +489,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
489
489
|
prefix: vue.withCtx(() => [
|
|
490
490
|
vue.createVNode(_component_ElIcon, { class: "el-input__icon" }, {
|
|
491
491
|
default: vue.withCtx(() => [
|
|
492
|
-
vue.createVNode(
|
|
492
|
+
vue.createVNode(_component_SearchOutlined)
|
|
493
493
|
]),
|
|
494
494
|
_: 1
|
|
495
495
|
})
|
|
@@ -507,7 +507,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
507
507
|
prefix: vue.withCtx(() => [
|
|
508
508
|
vue.createVNode(_component_ElIcon, { class: "el-input__icon" }, {
|
|
509
509
|
default: vue.withCtx(() => [
|
|
510
|
-
vue.createVNode(
|
|
510
|
+
vue.createVNode(_component_SearchOutlined)
|
|
511
511
|
]),
|
|
512
512
|
_: 1
|
|
513
513
|
})
|
|
@@ -529,7 +529,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
529
529
|
default: vue.withCtx(() => [
|
|
530
530
|
vue.createVNode(_component_ElIcon, null, {
|
|
531
531
|
default: vue.withCtx(() => [
|
|
532
|
-
vue.createVNode(
|
|
532
|
+
vue.createVNode(_component_CheckOutlined)
|
|
533
533
|
]),
|
|
534
534
|
_: 1
|
|
535
535
|
}),
|
|
@@ -550,7 +550,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
550
550
|
!_ctx.keywordMode ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
551
551
|
vue.createVNode(_component_ElIcon, { class: "ele-map-view-icon-plus" }, {
|
|
552
552
|
default: vue.withCtx(() => [
|
|
553
|
-
vue.createVNode(
|
|
553
|
+
vue.createVNode(_component_PlusOutlined)
|
|
554
554
|
]),
|
|
555
555
|
_: 1
|
|
556
556
|
}),
|
|
@@ -560,12 +560,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
560
560
|
}, null, 10, _hoisted_5)
|
|
561
561
|
], 64)) : vue.createCommentVNode("", true)
|
|
562
562
|
]),
|
|
563
|
-
vue.
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
563
|
+
vue.createVNode(_component_EleLoading, {
|
|
564
|
+
loading: _ctx.poiLoading,
|
|
565
|
+
class: "ele-map-view-side"
|
|
566
|
+
}, {
|
|
567
|
+
default: vue.withCtx(() => [
|
|
568
|
+
vue.createElementVNode("div", _hoisted_6, [
|
|
569
569
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.data, (item) => {
|
|
570
570
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
571
571
|
key: item.key,
|
|
@@ -574,7 +574,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
574
574
|
}, [
|
|
575
575
|
vue.createVNode(_component_ElIcon, { class: "ele-map-view-item-icon" }, {
|
|
576
576
|
default: vue.withCtx(() => [
|
|
577
|
-
vue.createVNode(
|
|
577
|
+
vue.createVNode(_component_EnvironmentOutlined)
|
|
578
578
|
]),
|
|
579
579
|
_: 1
|
|
580
580
|
}),
|
|
@@ -582,7 +582,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
582
582
|
item.address ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, vue.toDisplayString(item.address), 1)) : vue.createCommentVNode("", true),
|
|
583
583
|
vue.createVNode(_component_ElIcon, { class: "ele-map-view-item-radio" }, {
|
|
584
584
|
default: vue.withCtx(() => [
|
|
585
|
-
vue.createVNode(
|
|
585
|
+
vue.createVNode(_component_CheckCircleOutlined)
|
|
586
586
|
]),
|
|
587
587
|
_: 1
|
|
588
588
|
})
|
|
@@ -592,12 +592,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
592
592
|
vue.createVNode(_component_ElEmpty, vue.mergeProps({ imageSize: 80 }, _ctx.emptyProps), null, 16)
|
|
593
593
|
])) : vue.createCommentVNode("", true)
|
|
594
594
|
]),
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
])
|
|
595
|
+
_ctx.disabled ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11, [
|
|
596
|
+
vue.createElementVNode("div", _hoisted_12, vue.toDisplayString(_ctx.message), 1)
|
|
597
|
+
])) : vue.createCommentVNode("", true)
|
|
598
|
+
]),
|
|
599
|
+
_: 1
|
|
600
|
+
}, 8, ["loading"])
|
|
601
601
|
], 4)
|
|
602
602
|
]),
|
|
603
603
|
_: 1
|
|
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
type: StringConstructor;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
|
-
keywordMode: BooleanConstructor;
|
|
42
|
+
keywordMode: BooleanConstructor;
|
|
43
43
|
searchPlaceholder: StringConstructor;
|
|
44
44
|
markerSrc: {
|
|
45
45
|
type: StringConstructor;
|
|
@@ -47,15 +47,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
};
|
|
48
48
|
mapKey: StringConstructor;
|
|
49
49
|
mapVersion: {
|
|
50
|
-
type: StringConstructor;
|
|
50
|
+
type: StringConstructor; /** 确定按钮请求状态 */
|
|
51
51
|
default: string;
|
|
52
52
|
};
|
|
53
|
-
mapStyle: StringConstructor;
|
|
53
|
+
mapStyle: StringConstructor;
|
|
54
54
|
darkMode: BooleanConstructor;
|
|
55
|
-
okText: StringConstructor;
|
|
55
|
+
okText: StringConstructor; /** 输入建议数据 */
|
|
56
56
|
emptyProps: import("vue").PropType<import("../../ele-app/el").ElEmptyProps>;
|
|
57
|
-
|
|
58
|
-
headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>; /** 选中数据 */
|
|
57
|
+
headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
59
58
|
}, {
|
|
60
59
|
mapRef: import("vue").Ref<HTMLDivElement | null>;
|
|
61
60
|
loading: import("vue").Ref<boolean>;
|
|
@@ -154,7 +153,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
154
153
|
type: StringConstructor;
|
|
155
154
|
default: string;
|
|
156
155
|
};
|
|
157
|
-
keywordMode: BooleanConstructor;
|
|
156
|
+
keywordMode: BooleanConstructor;
|
|
158
157
|
searchPlaceholder: StringConstructor;
|
|
159
158
|
markerSrc: {
|
|
160
159
|
type: StringConstructor;
|
|
@@ -162,15 +161,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
162
161
|
};
|
|
163
162
|
mapKey: StringConstructor;
|
|
164
163
|
mapVersion: {
|
|
165
|
-
type: StringConstructor;
|
|
164
|
+
type: StringConstructor; /** 确定按钮请求状态 */
|
|
166
165
|
default: string;
|
|
167
166
|
};
|
|
168
|
-
mapStyle: StringConstructor;
|
|
167
|
+
mapStyle: StringConstructor;
|
|
169
168
|
darkMode: BooleanConstructor;
|
|
170
|
-
okText: StringConstructor;
|
|
169
|
+
okText: StringConstructor; /** 输入建议数据 */
|
|
171
170
|
emptyProps: import("vue").PropType<import("../../ele-app/el").ElEmptyProps>;
|
|
172
|
-
|
|
173
|
-
headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>; /** 选中数据 */
|
|
171
|
+
headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
174
172
|
}>> & {
|
|
175
173
|
onDone?: ((_result: CenterPoint) => any) | undefined;
|
|
176
174
|
onMapDone?: ((_ins: any) => any) | undefined;
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.ele-map-view-item {
|
|
111
|
-
padding: 8px
|
|
111
|
+
padding: 8px 26px 8px 38px;
|
|
112
112
|
border-bottom: 1px solid elVar('border-color', 'light');
|
|
113
113
|
transition: background-color $ele-transition;
|
|
114
114
|
box-sizing: border-box;
|
|
@@ -121,11 +121,11 @@
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.ele-map-view-item-icon {
|
|
124
|
-
font-size:
|
|
124
|
+
font-size: 20px;
|
|
125
125
|
color: elVar('text-color', 'secondary');
|
|
126
126
|
position: absolute;
|
|
127
127
|
top: 50%;
|
|
128
|
-
left:
|
|
128
|
+
left: 12px;
|
|
129
129
|
transform: translateY(-50%);
|
|
130
130
|
}
|
|
131
131
|
|
|
@@ -142,10 +142,10 @@
|
|
|
142
142
|
.ele-map-view-item-radio {
|
|
143
143
|
position: absolute;
|
|
144
144
|
top: 50%;
|
|
145
|
-
right:
|
|
145
|
+
right: 10px;
|
|
146
146
|
transform: translateY(-50%);
|
|
147
147
|
color: elVar('color-primary');
|
|
148
|
-
font-size:
|
|
148
|
+
font-size: 14px;
|
|
149
149
|
display: none;
|
|
150
150
|
}
|
|
151
151
|
|
package/lib/ele-menus/index.cjs
CHANGED
|
@@ -85,7 +85,9 @@ const index = vue.defineComponent({
|
|
|
85
85
|
class: [
|
|
86
86
|
{ "ele-menu": authenticated.value },
|
|
87
87
|
{ "ele-menu-dark": authenticated.value && props$1.theme === "dark" },
|
|
88
|
-
{ "
|
|
88
|
+
{ "is-night": authenticated.value && props$1.theme === "dark" },
|
|
89
|
+
{ "ele-menu-colorful": authenticated.value && props$1.colorful },
|
|
90
|
+
{ "is-colorful": authenticated.value && props$1.colorful }
|
|
89
91
|
],
|
|
90
92
|
onOpen: (index2, indexPath) => {
|
|
91
93
|
emit("open", index2, indexPath);
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
|
|
49
49
|
& > svg.ele-arrow-down path {
|
|
50
50
|
transition: d $ele-transition;
|
|
51
|
+
stroke-width: 5;
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
54
|
|
|
@@ -228,6 +229,10 @@
|
|
|
228
229
|
|
|
229
230
|
.el-sub-menu__title .el-sub-menu__icon-arrow {
|
|
230
231
|
margin: eleVar('menu', 'arrow-margin');
|
|
232
|
+
|
|
233
|
+
& > svg {
|
|
234
|
+
stroke-width: 5;
|
|
235
|
+
}
|
|
231
236
|
}
|
|
232
237
|
}
|
|
233
238
|
|
|
@@ -416,7 +421,7 @@
|
|
|
416
421
|
}
|
|
417
422
|
|
|
418
423
|
/* 彩色图标 */
|
|
419
|
-
&.
|
|
424
|
+
&.is-colorful {
|
|
420
425
|
&.el-menu > li,
|
|
421
426
|
&.el-menu > li.el-menu-item-group > ul > li {
|
|
422
427
|
&.el-menu-item,
|
|
@@ -533,7 +538,7 @@
|
|
|
533
538
|
}
|
|
534
539
|
|
|
535
540
|
/* 暗黑主题 */
|
|
536
|
-
&.
|
|
541
|
+
&.is-night {
|
|
537
542
|
border: none;
|
|
538
543
|
|
|
539
544
|
&.el-menu,
|
|
@@ -615,7 +620,7 @@
|
|
|
615
620
|
}
|
|
616
621
|
|
|
617
622
|
/* 彩色图标 */
|
|
618
|
-
&.
|
|
623
|
+
&.is-colorful {
|
|
619
624
|
&.el-menu > li.el-sub-menu > .el-menu,
|
|
620
625
|
&.el-menu > li.el-menu-item-group > ul > li.el-sub-menu > .el-menu,
|
|
621
626
|
& > .el-menu.el-menu--popup {
|
|
@@ -637,10 +642,6 @@
|
|
|
637
642
|
.ele-sub-menu-ellipsis > .el-sub-menu__title {
|
|
638
643
|
.el-icon:not(.el-sub-menu__icon-arrow) {
|
|
639
644
|
margin: 0;
|
|
640
|
-
|
|
641
|
-
& > svg {
|
|
642
|
-
transform: scale(1.25);
|
|
643
|
-
}
|
|
644
645
|
}
|
|
645
646
|
|
|
646
647
|
.el-sub-menu__icon-arrow {
|
|
@@ -676,7 +677,7 @@
|
|
|
676
677
|
}
|
|
677
678
|
}
|
|
678
679
|
|
|
679
|
-
.ele-menu.
|
|
680
|
+
.ele-menu.is-night > .el-menu--popup-container > .el-menu--popup {
|
|
680
681
|
scrollbar-color: eleVar('menu-dark-thumb', 'color') transparent;
|
|
681
682
|
|
|
682
683
|
&::-webkit-scrollbar-thumb {
|
|
@@ -688,6 +689,11 @@
|
|
|
688
689
|
}
|
|
689
690
|
}
|
|
690
691
|
|
|
692
|
+
.ele-menu.is-webkit > .el-menu--popup-container > .el-menu--popup {
|
|
693
|
+
scrollbar-width: auto;
|
|
694
|
+
scrollbar-color: auto;
|
|
695
|
+
}
|
|
696
|
+
|
|
691
697
|
/* 超链接 */
|
|
692
698
|
.el-menu-item .ele-menu-link {
|
|
693
699
|
color: inherit;
|
package/lib/ele-menus/util.cjs
CHANGED
|
@@ -203,11 +203,14 @@ function getMenuItems(menus, index, horizontal) {
|
|
|
203
203
|
}
|
|
204
204
|
function getPopperClass(customerClass, theme, popTheme, colorful, popupColorful, firstPopClass, first) {
|
|
205
205
|
const popperClass = ["ele-menu"];
|
|
206
|
+
if (navigator.userAgent.includes("WebKit")) {
|
|
207
|
+
popperClass.push("is-webkit");
|
|
208
|
+
}
|
|
206
209
|
if (popTheme === "dark" || popTheme === "auto" && theme === "dark") {
|
|
207
|
-
popperClass.push("ele-menu-dark");
|
|
210
|
+
popperClass.push("is-night ele-menu-dark");
|
|
208
211
|
}
|
|
209
212
|
if (popupColorful === true || popupColorful === "auto" && colorful) {
|
|
210
|
-
popperClass.push("ele-menu-colorful");
|
|
213
|
+
popperClass.push("is-colorful ele-menu-colorful");
|
|
211
214
|
}
|
|
212
215
|
if (first && firstPopClass) {
|
|
213
216
|
popperClass.push(firstPopClass);
|