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.
Files changed (309) hide show
  1. package/es/components.d.ts +1 -49
  2. package/es/components.js +13 -110
  3. package/es/core-components.d.ts +49 -0
  4. package/es/core-components.js +100 -0
  5. package/es/core-export.d.ts +9 -0
  6. package/es/core-export.js +14 -0
  7. package/es/core-installer.d.ts +3 -0
  8. package/es/core-installer.js +11 -0
  9. package/es/core.d.ts +3 -0
  10. package/es/core.js +6 -0
  11. package/es/ele-alert/index.d.ts +4 -4
  12. package/es/ele-alert/index.js +13 -13
  13. package/es/ele-app/style/overwrite/input/index.scss +32 -39
  14. package/es/ele-app/style/overwrite/message-box/index.scss +6 -1
  15. package/es/ele-app/style/scrollbar/css-var.scss +20 -5
  16. package/es/ele-basic-select/index.d.ts +6 -6
  17. package/es/ele-basic-select/index.js +4 -4
  18. package/es/ele-basic-select/props.d.ts +1 -1
  19. package/es/ele-basic-select/style/index.scss +2 -9
  20. package/es/ele-copyable/index.d.ts +4 -2
  21. package/es/ele-copyable/index.js +6 -6
  22. package/es/ele-cropper/components/cropper-tools.js +14 -14
  23. package/es/ele-cropper/props.js +1 -1
  24. package/es/ele-cropper/style/index.scss +3 -3
  25. package/es/ele-cropper-modal/index.js +1 -1
  26. package/es/ele-data-table/style/index.scss +17 -6
  27. package/es/ele-drawer/index.d.ts +7 -7
  28. package/es/ele-drawer/index.js +4 -4
  29. package/es/ele-drawer/props.d.ts +1 -1
  30. package/es/ele-dropdown/index.d.ts +2 -0
  31. package/es/ele-dropdown/index.js +18 -8
  32. package/es/ele-dropdown/props.d.ts +3 -0
  33. package/es/ele-dropdown/props.js +3 -1
  34. package/es/ele-edit-tag/index.d.ts +4 -4
  35. package/es/ele-edit-tag/index.js +24 -23
  36. package/es/ele-edit-tag/props.d.ts +1 -1
  37. package/es/ele-edit-tag/style/index.scss +71 -74
  38. package/es/ele-ellipsis/index.d.ts +1 -1
  39. package/es/ele-map-picker/components/map-view.d.ts +10 -12
  40. package/es/ele-map-picker/components/map-view.js +30 -30
  41. package/es/ele-map-picker/style/index.scss +5 -5
  42. package/es/ele-menus/index.js +3 -1
  43. package/es/ele-menus/style/index.scss +14 -8
  44. package/es/ele-menus/util.js +5 -2
  45. package/es/ele-modal/index.d.ts +13 -13
  46. package/es/ele-modal/index.js +11 -6
  47. package/es/ele-modal/props.d.ts +1 -1
  48. package/es/ele-modal/style/index.scss +2 -1
  49. package/es/ele-popconfirm/index.d.ts +2 -2
  50. package/es/ele-popconfirm/index.js +4 -4
  51. package/es/ele-pro-layout/components/pro-header.js +2 -2
  52. package/es/ele-pro-layout/components/pro-tabs.js +1 -1
  53. package/es/ele-pro-layout/components/tab-dropdown.js +3 -3
  54. package/es/ele-pro-table/components/table-tools.js +4 -5
  55. package/es/ele-pro-table/components/tool-column.js +4 -4
  56. package/es/ele-pro-table/index.d.ts +1 -1
  57. package/es/ele-pro-table/index.js +4 -4
  58. package/es/ele-pro-table/style/index.scss +2 -2
  59. package/es/ele-split-panel/index.js +7 -1
  60. package/es/ele-split-panel/style/index.scss +5 -1
  61. package/es/ele-table-select/index.d.ts +3 -3
  62. package/es/ele-table-select/props.d.ts +1 -1
  63. package/es/ele-tabs/index.js +8 -1
  64. package/es/ele-tabs/style/index.scss +26 -0
  65. package/es/ele-toolbar/index.d.ts +4 -0
  66. package/es/ele-toolbar/index.js +7 -7
  67. package/es/ele-toolbar/props.d.ts +5 -0
  68. package/es/ele-toolbar/props.js +5 -1
  69. package/es/ele-tree-select/index.d.ts +13 -8
  70. package/es/ele-tree-select/index.js +49 -6
  71. package/es/ele-tree-select/props.d.ts +3 -1
  72. package/es/ele-tree-select/props.js +2 -0
  73. package/es/ele-tree-select/util.d.ts +7 -0
  74. package/es/ele-tree-select/util.js +13 -0
  75. package/es/ele-upload-list/components/list-item.js +10 -10
  76. package/es/ele-upload-list/index.js +4 -4
  77. package/es/ele-upload-list/style/index.scss +12 -4
  78. package/es/ele-virtual-table/components/body-cell.js +10 -5
  79. package/es/ele-virtual-table/style/index.scss +3 -2
  80. package/es/icons/ArrowDown.js +5 -7
  81. package/es/icons/ArrowDownOutlined.d.ts +2 -0
  82. package/es/icons/ArrowDownOutlined.js +30 -0
  83. package/es/icons/ArrowLeft.js +7 -6
  84. package/es/icons/ArrowLeftOutlined.d.ts +2 -0
  85. package/es/icons/ArrowLeftOutlined.js +30 -0
  86. package/es/icons/ArrowRight.js +6 -7
  87. package/es/icons/ArrowRightOutlined.d.ts +2 -0
  88. package/es/icons/ArrowRightOutlined.js +30 -0
  89. package/es/icons/ArrowUp.js +6 -6
  90. package/es/icons/ArrowUpOutlined.d.ts +2 -0
  91. package/es/icons/ArrowUpOutlined.js +30 -0
  92. package/es/icons/CheckCircleFilled.d.ts +2 -0
  93. package/es/icons/CheckCircleFilled.js +26 -0
  94. package/es/icons/CheckCircleOutlined.d.ts +2 -0
  95. package/es/icons/CheckCircleOutlined.js +32 -0
  96. package/es/icons/CheckOutlined.d.ts +2 -0
  97. package/es/icons/CheckOutlined.js +30 -0
  98. package/es/icons/CloseCircleFilled.d.ts +2 -0
  99. package/es/icons/CloseCircleFilled.js +26 -0
  100. package/es/icons/CloseOutlined.js +7 -17
  101. package/es/icons/ColumnHeightOutlined.js +17 -5
  102. package/es/icons/CompressOutlined.js +18 -5
  103. package/es/icons/CopyOutlined.d.ts +2 -0
  104. package/es/icons/CopyOutlined.js +35 -0
  105. package/es/icons/EllipsisOutlined.js +6 -9
  106. package/es/icons/EnvironmentOutlined.d.ts +2 -0
  107. package/es/icons/EnvironmentOutlined.js +31 -0
  108. package/es/icons/ExclamationCircleFilled.d.ts +2 -0
  109. package/es/icons/ExclamationCircleFilled.js +26 -0
  110. package/es/icons/ExpandOutlined.js +18 -5
  111. package/es/icons/FileOutlined.d.ts +2 -0
  112. package/es/icons/FileOutlined.js +35 -0
  113. package/es/icons/FilterFilled.js +5 -2
  114. package/es/icons/FullscreenExitOutlined.js +16 -5
  115. package/es/icons/FullscreenOutlined.js +16 -5
  116. package/es/icons/HolderOutlined.js +8 -5
  117. package/es/icons/HomeOutlined.js +5 -24
  118. package/es/icons/InfoCircleFilled.d.ts +2 -0
  119. package/es/icons/InfoCircleFilled.js +26 -0
  120. package/es/icons/LoadingDotOutlined.d.ts +2 -0
  121. package/es/icons/LoadingDotOutlined.js +29 -0
  122. package/es/icons/LoadingOutlined.js +8 -2
  123. package/es/icons/PlusOutlined.d.ts +2 -0
  124. package/es/icons/PlusOutlined.js +29 -0
  125. package/es/icons/QuestionCircleFilled.d.ts +2 -0
  126. package/es/icons/QuestionCircleFilled.js +26 -0
  127. package/es/icons/ReloadOutlined.d.ts +2 -0
  128. package/es/icons/ReloadOutlined.js +30 -0
  129. package/es/icons/SearchOutlined.d.ts +2 -0
  130. package/es/icons/SearchOutlined.js +29 -0
  131. package/es/icons/SettingOutlined.d.ts +2 -0
  132. package/es/icons/SettingOutlined.js +31 -0
  133. package/es/icons/SortOutlined.d.ts +2 -0
  134. package/es/icons/SortOutlined.js +32 -0
  135. package/es/icons/SwapOutlined.d.ts +2 -0
  136. package/es/icons/SwapOutlined.js +32 -0
  137. package/es/icons/SyncOutlined.d.ts +2 -0
  138. package/es/icons/SyncOutlined.js +32 -0
  139. package/es/icons/UndoOutlined.d.ts +2 -0
  140. package/es/icons/UndoOutlined.js +30 -0
  141. package/es/icons/UploadOutlined.d.ts +2 -0
  142. package/es/icons/UploadOutlined.js +32 -0
  143. package/es/icons/VerticalLeftOutlined.js +7 -2
  144. package/es/icons/VerticalRightOutlined.js +7 -2
  145. package/es/icons/ZoomInOutlined.d.ts +2 -0
  146. package/es/icons/ZoomInOutlined.js +31 -0
  147. package/es/icons/ZoomOutOutlined.d.ts +2 -0
  148. package/es/icons/ZoomOutOutlined.js +31 -0
  149. package/es/icons/index.d.ts +26 -0
  150. package/es/icons/index.js +84 -32
  151. package/es/index.d.ts +1 -9
  152. package/es/index.js +1 -12
  153. package/es/style/themes/default.scss +11 -11
  154. package/es/style/themes/rounded.scss +1 -2
  155. package/lib/components.cjs +20 -110
  156. package/lib/components.d.ts +1 -49
  157. package/lib/core-components.cjs +100 -0
  158. package/lib/core-components.d.ts +49 -0
  159. package/lib/core-export.cjs +56 -0
  160. package/lib/core-export.d.ts +9 -0
  161. package/lib/core-installer.cjs +28 -0
  162. package/lib/core-installer.d.ts +3 -0
  163. package/lib/core.cjs +23 -0
  164. package/lib/core.d.ts +3 -0
  165. package/lib/ele-alert/index.cjs +13 -13
  166. package/lib/ele-alert/index.d.ts +4 -4
  167. package/lib/ele-app/style/overwrite/input/index.scss +32 -39
  168. package/lib/ele-app/style/overwrite/message-box/index.scss +6 -1
  169. package/lib/ele-app/style/scrollbar/css-var.scss +20 -5
  170. package/lib/ele-basic-select/index.cjs +3 -3
  171. package/lib/ele-basic-select/index.d.ts +6 -6
  172. package/lib/ele-basic-select/props.d.ts +1 -1
  173. package/lib/ele-basic-select/style/index.scss +2 -9
  174. package/lib/ele-copyable/index.cjs +6 -6
  175. package/lib/ele-copyable/index.d.ts +4 -2
  176. package/lib/ele-cropper/components/cropper-tools.cjs +14 -14
  177. package/lib/ele-cropper/props.cjs +1 -1
  178. package/lib/ele-cropper/style/index.scss +3 -3
  179. package/lib/ele-cropper-modal/index.cjs +1 -1
  180. package/lib/ele-data-table/style/index.scss +17 -6
  181. package/lib/ele-drawer/index.cjs +4 -4
  182. package/lib/ele-drawer/index.d.ts +7 -7
  183. package/lib/ele-drawer/props.d.ts +1 -1
  184. package/lib/ele-dropdown/index.cjs +18 -8
  185. package/lib/ele-dropdown/index.d.ts +2 -0
  186. package/lib/ele-dropdown/props.cjs +3 -1
  187. package/lib/ele-dropdown/props.d.ts +3 -0
  188. package/lib/ele-edit-tag/index.cjs +23 -22
  189. package/lib/ele-edit-tag/index.d.ts +4 -4
  190. package/lib/ele-edit-tag/props.d.ts +1 -1
  191. package/lib/ele-edit-tag/style/index.scss +71 -74
  192. package/lib/ele-ellipsis/index.d.ts +1 -1
  193. package/lib/ele-map-picker/components/map-view.cjs +30 -30
  194. package/lib/ele-map-picker/components/map-view.d.ts +10 -12
  195. package/lib/ele-map-picker/style/index.scss +5 -5
  196. package/lib/ele-menus/index.cjs +3 -1
  197. package/lib/ele-menus/style/index.scss +14 -8
  198. package/lib/ele-menus/util.cjs +5 -2
  199. package/lib/ele-modal/index.cjs +10 -5
  200. package/lib/ele-modal/index.d.ts +13 -13
  201. package/lib/ele-modal/props.d.ts +1 -1
  202. package/lib/ele-modal/style/index.scss +2 -1
  203. package/lib/ele-popconfirm/index.cjs +4 -4
  204. package/lib/ele-popconfirm/index.d.ts +2 -2
  205. package/lib/ele-pro-layout/components/pro-header.cjs +2 -2
  206. package/lib/ele-pro-layout/components/pro-tabs.cjs +1 -1
  207. package/lib/ele-pro-layout/components/tab-dropdown.cjs +4 -4
  208. package/lib/ele-pro-table/components/table-tools.cjs +3 -4
  209. package/lib/ele-pro-table/components/tool-column.cjs +4 -4
  210. package/lib/ele-pro-table/index.cjs +4 -4
  211. package/lib/ele-pro-table/index.d.ts +1 -1
  212. package/lib/ele-pro-table/style/index.scss +2 -2
  213. package/lib/ele-split-panel/index.cjs +7 -1
  214. package/lib/ele-split-panel/style/index.scss +5 -1
  215. package/lib/ele-table-select/index.d.ts +3 -3
  216. package/lib/ele-table-select/props.d.ts +1 -1
  217. package/lib/ele-tabs/index.cjs +8 -1
  218. package/lib/ele-tabs/style/index.scss +26 -0
  219. package/lib/ele-toolbar/index.cjs +6 -6
  220. package/lib/ele-toolbar/index.d.ts +4 -0
  221. package/lib/ele-toolbar/props.cjs +5 -1
  222. package/lib/ele-toolbar/props.d.ts +5 -0
  223. package/lib/ele-tree-select/index.cjs +48 -5
  224. package/lib/ele-tree-select/index.d.ts +13 -8
  225. package/lib/ele-tree-select/props.cjs +2 -0
  226. package/lib/ele-tree-select/props.d.ts +3 -1
  227. package/lib/ele-tree-select/util.cjs +13 -0
  228. package/lib/ele-tree-select/util.d.ts +7 -0
  229. package/lib/ele-upload-list/components/list-item.cjs +10 -10
  230. package/lib/ele-upload-list/index.cjs +4 -4
  231. package/lib/ele-upload-list/style/index.scss +12 -4
  232. package/lib/ele-virtual-table/components/body-cell.cjs +9 -4
  233. package/lib/ele-virtual-table/style/index.scss +3 -2
  234. package/lib/icons/ArrowDown.cjs +5 -7
  235. package/lib/icons/ArrowDownOutlined.cjs +29 -0
  236. package/lib/icons/ArrowDownOutlined.d.ts +2 -0
  237. package/lib/icons/ArrowLeft.cjs +7 -6
  238. package/lib/icons/ArrowLeftOutlined.cjs +29 -0
  239. package/lib/icons/ArrowLeftOutlined.d.ts +2 -0
  240. package/lib/icons/ArrowRight.cjs +6 -7
  241. package/lib/icons/ArrowRightOutlined.cjs +29 -0
  242. package/lib/icons/ArrowRightOutlined.d.ts +2 -0
  243. package/lib/icons/ArrowUp.cjs +6 -6
  244. package/lib/icons/ArrowUpOutlined.cjs +29 -0
  245. package/lib/icons/ArrowUpOutlined.d.ts +2 -0
  246. package/lib/icons/CheckCircleFilled.cjs +25 -0
  247. package/lib/icons/CheckCircleFilled.d.ts +2 -0
  248. package/lib/icons/CheckCircleOutlined.cjs +31 -0
  249. package/lib/icons/CheckCircleOutlined.d.ts +2 -0
  250. package/lib/icons/CheckOutlined.cjs +29 -0
  251. package/lib/icons/CheckOutlined.d.ts +2 -0
  252. package/lib/icons/CloseCircleFilled.cjs +25 -0
  253. package/lib/icons/CloseCircleFilled.d.ts +2 -0
  254. package/lib/icons/CloseOutlined.cjs +7 -17
  255. package/lib/icons/ColumnHeightOutlined.cjs +17 -5
  256. package/lib/icons/CompressOutlined.cjs +18 -5
  257. package/lib/icons/CopyOutlined.cjs +34 -0
  258. package/lib/icons/CopyOutlined.d.ts +2 -0
  259. package/lib/icons/EllipsisOutlined.cjs +6 -9
  260. package/lib/icons/EnvironmentOutlined.cjs +30 -0
  261. package/lib/icons/EnvironmentOutlined.d.ts +2 -0
  262. package/lib/icons/ExclamationCircleFilled.cjs +25 -0
  263. package/lib/icons/ExclamationCircleFilled.d.ts +2 -0
  264. package/lib/icons/ExpandOutlined.cjs +18 -5
  265. package/lib/icons/FileOutlined.cjs +34 -0
  266. package/lib/icons/FileOutlined.d.ts +2 -0
  267. package/lib/icons/FilterFilled.cjs +5 -2
  268. package/lib/icons/FullscreenExitOutlined.cjs +16 -5
  269. package/lib/icons/FullscreenOutlined.cjs +16 -5
  270. package/lib/icons/HolderOutlined.cjs +7 -4
  271. package/lib/icons/HomeOutlined.cjs +5 -24
  272. package/lib/icons/InfoCircleFilled.cjs +25 -0
  273. package/lib/icons/InfoCircleFilled.d.ts +2 -0
  274. package/lib/icons/LoadingDotOutlined.cjs +28 -0
  275. package/lib/icons/LoadingDotOutlined.d.ts +2 -0
  276. package/lib/icons/LoadingOutlined.cjs +8 -2
  277. package/lib/icons/PlusOutlined.cjs +28 -0
  278. package/lib/icons/PlusOutlined.d.ts +2 -0
  279. package/lib/icons/QuestionCircleFilled.cjs +25 -0
  280. package/lib/icons/QuestionCircleFilled.d.ts +2 -0
  281. package/lib/icons/ReloadOutlined.cjs +29 -0
  282. package/lib/icons/ReloadOutlined.d.ts +2 -0
  283. package/lib/icons/SearchOutlined.cjs +28 -0
  284. package/lib/icons/SearchOutlined.d.ts +2 -0
  285. package/lib/icons/SettingOutlined.cjs +30 -0
  286. package/lib/icons/SettingOutlined.d.ts +2 -0
  287. package/lib/icons/SortOutlined.cjs +31 -0
  288. package/lib/icons/SortOutlined.d.ts +2 -0
  289. package/lib/icons/SwapOutlined.cjs +31 -0
  290. package/lib/icons/SwapOutlined.d.ts +2 -0
  291. package/lib/icons/SyncOutlined.cjs +31 -0
  292. package/lib/icons/SyncOutlined.d.ts +2 -0
  293. package/lib/icons/UndoOutlined.cjs +29 -0
  294. package/lib/icons/UndoOutlined.d.ts +2 -0
  295. package/lib/icons/UploadOutlined.cjs +31 -0
  296. package/lib/icons/UploadOutlined.d.ts +2 -0
  297. package/lib/icons/VerticalLeftOutlined.cjs +7 -2
  298. package/lib/icons/VerticalRightOutlined.cjs +7 -2
  299. package/lib/icons/ZoomInOutlined.cjs +30 -0
  300. package/lib/icons/ZoomInOutlined.d.ts +2 -0
  301. package/lib/icons/ZoomOutOutlined.cjs +30 -0
  302. package/lib/icons/ZoomOutOutlined.d.ts +2 -0
  303. package/lib/icons/index.cjs +52 -0
  304. package/lib/icons/index.d.ts +26 -0
  305. package/lib/index.cjs +3 -49
  306. package/lib/index.d.ts +1 -9
  307. package/lib/style/themes/default.scss +11 -11
  308. package/lib/style/themes/rounded.scss +1 -2
  309. package/package.json +1 -1
@@ -1,18 +1,18 @@
1
- import { defineComponent, ref, onDeactivated, onActivated, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createVNode, normalizeStyle, renderSlot, vShow, createSlots, mergeProps } from "vue";
2
- import { Plus, Loading } from "@element-plus/icons-vue";
1
+ import { defineComponent, ref, onDeactivated, onActivated, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createVNode, normalizeStyle, renderSlot, vShow, mergeProps } from "vue";
3
2
  import { ElTag, ElInput, ElIcon } from "element-plus";
4
3
  import EleTooltip from "../ele-tooltip/index";
5
4
  import { useLicense } from "../ele-config-provider/receiver";
5
+ import { PlusOutlined, LoadingOutlined } from "../icons";
6
6
  import { editTagProps, editTagEmits } from "./props";
7
7
  const _sfc_main = defineComponent({
8
8
  name: "EleEditTag",
9
9
  components: {
10
- Plus,
11
- Loading,
12
10
  ElTag,
13
11
  ElInput,
14
12
  ElIcon,
15
- EleTooltip
13
+ EleTooltip,
14
+ PlusOutlined,
15
+ LoadingOutlined
16
16
  },
17
17
  props: editTagProps,
18
18
  emits: editTagEmits,
@@ -142,9 +142,9 @@ const _export_sfc = (sfc, props) => {
142
142
  const _hoisted_1 = { key: 0 };
143
143
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
144
144
  const _component_ElTag = resolveComponent("ElTag");
145
- const _component_Plus = resolveComponent("Plus");
145
+ const _component_PlusOutlined = resolveComponent("PlusOutlined");
146
146
  const _component_ElIcon = resolveComponent("ElIcon");
147
- const _component_Loading = resolveComponent("Loading");
147
+ const _component_LoadingOutlined = resolveComponent("LoadingOutlined");
148
148
  const _component_ElInput = resolveComponent("ElInput");
149
149
  const _component_EleTooltip = resolveComponent("EleTooltip");
150
150
  return openBlock(), createElementBlock("div", {
@@ -188,7 +188,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
188
188
  class: "ele-edit-tag-add-icon"
189
189
  }, {
190
190
  default: withCtx(() => [
191
- createVNode(_component_Plus)
191
+ createVNode(_component_PlusOutlined)
192
192
  ]),
193
193
  _: 1
194
194
  }))
@@ -212,21 +212,22 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
212
212
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.inputValue = $event),
213
213
  style: normalizeStyle(_ctx.inputStyle),
214
214
  onChange: _ctx.onInputChange,
215
- onBlur: _ctx.onInputBlur
216
- }, createSlots({ _: 2 }, [
217
- _ctx.loading ? {
218
- name: "suffix",
219
- fn: withCtx(() => [
220
- createVNode(_component_ElIcon, { class: "is-loading" }, {
221
- default: withCtx(() => [
222
- createVNode(_component_Loading)
223
- ]),
224
- _: 1
225
- })
226
- ]),
227
- key: "0"
228
- } : void 0
229
- ]), 1032, ["disabled", "modelValue", "style", "onChange", "onBlur"])
215
+ onBlur: _ctx.onInputBlur,
216
+ onFocus: _ctx.onInputFocus
217
+ }, {
218
+ suffix: withCtx(() => [
219
+ _ctx.loading ? (openBlock(), createBlock(_component_ElIcon, {
220
+ key: 0,
221
+ class: "is-loading"
222
+ }, {
223
+ default: withCtx(() => [
224
+ createVNode(_component_LoadingOutlined)
225
+ ]),
226
+ _: 1
227
+ })) : createCommentVNode("", true)
228
+ ]),
229
+ _: 1
230
+ }, 8, ["disabled", "modelValue", "style", "onChange", "onBlur", "onFocus"])
230
231
  ]),
231
232
  _: 1
232
233
  }, 8, ["size", "round", "class"]), [
@@ -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, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
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
- .ele-edit-tag {
5
- /* 标签 */
6
- .el-tag {
7
- margin: 0 8px 8px 0;
8
- vertical-align: top;
9
- }
4
+ /* 标签 */
5
+ .ele-edit-tag .el-tag {
6
+ margin: 0 8px 8px 0;
7
+ vertical-align: top;
8
+ }
10
9
 
11
- /* 添加按钮 */
12
- .ele-edit-tag-add {
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
- &.el-tag {
16
- cursor: text;
17
- border-style: dashed;
18
- background: none;
19
- }
19
+ & > .el-tag__content {
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: center;
23
+ }
24
+ }
20
25
 
21
- .ele-edit-tag-add-icon {
22
- width: 1em;
23
- height: 1em;
24
- border-radius: 0;
25
- font-size: inherit;
26
- cursor: inherit;
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
- .el-tag__content {
30
- display: flex;
31
- align-items: center;
32
- justify-content: center;
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
- .ele-edit-tag-input {
38
- margin-right: 0;
39
- width: 80px;
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
- &.el-tag {
42
- padding: 0;
43
- display: inline-block;
44
- background: none;
45
- border: none;
46
- }
55
+ .el-input {
56
+ width: 100%;
57
+ height: 100%;
58
+ font-size: inherit;
59
+ border-radius: inherit;
47
60
 
48
- & > .el-tag__content {
49
- width: 100%;
61
+ .el-input__wrapper {
50
62
  height: 100%;
51
- display: block;
52
- font-size: inherit;
53
- line-height: inherit;
63
+ padding-left: 8px;
64
+ padding-right: 8px;
65
+ box-sizing: border-box;
54
66
  border-radius: inherit;
55
67
  }
56
68
 
57
- .el-input {
58
- width: 100%;
69
+ .el-input__inner {
59
70
  height: 100%;
60
- font-size: inherit;
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
- &.is-error .el-input .el-input__wrapper {
78
- box-shadow: 0 0 0 0.8px elVar('color-danger') inset;
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
- &.is-small .ele-edit-tag-input {
84
- width: 60px;
80
+ /* 小尺寸 */
81
+ .ele-edit-tag.is-small .ele-edit-tag-input {
82
+ width: 60px;
85
83
 
86
- .el-input .el-input__wrapper {
87
- padding-left: 4px;
88
- padding-right: 4px;
89
- }
84
+ .el-input .el-input__wrapper {
85
+ padding-left: 4px;
86
+ padding-right: 4px;
90
87
  }
88
+ }
91
89
 
92
- /* 大尺寸 */
93
- &.is-large .ele-edit-tag-input {
94
- width: 100px;
90
+ /* 大尺寸 */
91
+ .ele-edit-tag.is-large .ele-edit-tag-input {
92
+ width: 100px;
95
93
 
96
- .el-input .el-input__wrapper {
97
- padding-left: 12px;
98
- padding-right: 12px;
99
- }
94
+ .el-input .el-input__wrapper {
95
+ padding-left: 12px;
96
+ padding-right: 12px;
100
97
  }
101
98
  }
@@ -57,7 +57,7 @@ declare const _default: import("vue").DefineComponent<{
57
57
  tooltip: boolean | EllipsisTooltip;
58
58
  underline: boolean;
59
59
  italic: boolean;
60
- strong: boolean;
61
60
  deleted: boolean;
61
+ strong: boolean;
62
62
  }, {}>;
63
63
  export default _default;
@@ -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;
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed, watch, onMounted, onBeforeUnmount, nextTick, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeStyle, createVNode, toDisplayString, createElementBlock, Fragment, normalizeClass, createCommentVNode, renderList, mergeProps } from "vue";
2
2
  import AMapLoader from "@amap/amap-jsapi-loader";
3
3
  import { ElAutocomplete, ElInput, ElButton, ElIcon, ElEmpty } from "element-plus";
4
- import { Plus, Location, CircleCheck, Check, Search } from "@element-plus/icons-vue";
4
+ import { PlusOutlined, EnvironmentOutlined, CheckCircleOutlined, CheckOutlined, SearchOutlined } from "../../icons";
5
5
  import { useLicense } from "../../ele-config-provider/receiver";
6
6
  import EleLoading from "../../ele-loading/index";
7
7
  import { mapProps } from "../props";
@@ -15,11 +15,11 @@ const _sfc_main = defineComponent({
15
15
  ElButton,
16
16
  ElIcon,
17
17
  ElEmpty,
18
- Plus,
19
- Location,
20
- CircleCheck,
21
- Check,
22
- Search
18
+ PlusOutlined,
19
+ EnvironmentOutlined,
20
+ CheckCircleOutlined,
21
+ CheckOutlined,
22
+ SearchOutlined
23
23
  },
24
24
  props: mapProps,
25
25
  emits: {
@@ -439,7 +439,7 @@ const _hoisted_2 = { class: "ele-map-suggest-title" };
439
439
  const _hoisted_3 = { class: "ele-map-suggest-text" };
440
440
  const _hoisted_4 = { class: "ele-map-view-main" };
441
441
  const _hoisted_5 = ["src"];
442
- const _hoisted_6 = { class: "ele-map-view-side" };
442
+ const _hoisted_6 = { class: "ele-map-view-list" };
443
443
  const _hoisted_7 = ["onClick"];
444
444
  const _hoisted_8 = { class: "ele-map-view-item-title" };
445
445
  const _hoisted_9 = {
@@ -456,15 +456,15 @@ const _hoisted_11 = {
456
456
  };
457
457
  const _hoisted_12 = { class: "ele-map-view-message" };
458
458
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
459
- const _component_Search = resolveComponent("Search");
459
+ const _component_SearchOutlined = resolveComponent("SearchOutlined");
460
460
  const _component_ElIcon = resolveComponent("ElIcon");
461
461
  const _component_ElInput = resolveComponent("ElInput");
462
462
  const _component_ElAutocomplete = resolveComponent("ElAutocomplete");
463
- const _component_Check = resolveComponent("Check");
463
+ const _component_CheckOutlined = resolveComponent("CheckOutlined");
464
464
  const _component_ElButton = resolveComponent("ElButton");
465
- const _component_Plus = resolveComponent("Plus");
466
- const _component_Location = resolveComponent("Location");
467
- const _component_CircleCheck = resolveComponent("CircleCheck");
465
+ const _component_PlusOutlined = resolveComponent("PlusOutlined");
466
+ const _component_EnvironmentOutlined = resolveComponent("EnvironmentOutlined");
467
+ const _component_CheckCircleOutlined = resolveComponent("CheckCircleOutlined");
468
468
  const _component_ElEmpty = resolveComponent("ElEmpty");
469
469
  const _component_EleLoading = resolveComponent("EleLoading");
470
470
  return openBlock(), createBlock(_component_EleLoading, {
@@ -488,7 +488,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
488
488
  prefix: withCtx(() => [
489
489
  createVNode(_component_ElIcon, { class: "el-input__icon" }, {
490
490
  default: withCtx(() => [
491
- createVNode(_component_Search, { style: { "transform": "scale(1.1)" } })
491
+ createVNode(_component_SearchOutlined)
492
492
  ]),
493
493
  _: 1
494
494
  })
@@ -506,7 +506,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
506
506
  prefix: withCtx(() => [
507
507
  createVNode(_component_ElIcon, { class: "el-input__icon" }, {
508
508
  default: withCtx(() => [
509
- createVNode(_component_Search, { style: { "transform": "scale(1.1)" } })
509
+ createVNode(_component_SearchOutlined)
510
510
  ]),
511
511
  _: 1
512
512
  })
@@ -528,7 +528,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
528
528
  default: withCtx(() => [
529
529
  createVNode(_component_ElIcon, null, {
530
530
  default: withCtx(() => [
531
- createVNode(_component_Check, { style: { "transform": "scale(1.2)" } })
531
+ createVNode(_component_CheckOutlined)
532
532
  ]),
533
533
  _: 1
534
534
  }),
@@ -549,7 +549,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
549
549
  !_ctx.keywordMode ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
550
550
  createVNode(_component_ElIcon, { class: "ele-map-view-icon-plus" }, {
551
551
  default: withCtx(() => [
552
- createVNode(_component_Plus)
552
+ createVNode(_component_PlusOutlined)
553
553
  ]),
554
554
  _: 1
555
555
  }),
@@ -559,12 +559,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
559
559
  }, null, 10, _hoisted_5)
560
560
  ], 64)) : createCommentVNode("", true)
561
561
  ]),
562
- createElementVNode("div", _hoisted_6, [
563
- createVNode(_component_EleLoading, {
564
- loading: _ctx.poiLoading,
565
- class: "ele-map-view-list"
566
- }, {
567
- default: withCtx(() => [
562
+ createVNode(_component_EleLoading, {
563
+ loading: _ctx.poiLoading,
564
+ class: "ele-map-view-side"
565
+ }, {
566
+ default: withCtx(() => [
567
+ createElementVNode("div", _hoisted_6, [
568
568
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.data, (item) => {
569
569
  return openBlock(), createElementBlock("div", {
570
570
  key: item.key,
@@ -573,7 +573,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
573
573
  }, [
574
574
  createVNode(_component_ElIcon, { class: "ele-map-view-item-icon" }, {
575
575
  default: withCtx(() => [
576
- createVNode(_component_Location)
576
+ createVNode(_component_EnvironmentOutlined)
577
577
  ]),
578
578
  _: 1
579
579
  }),
@@ -581,7 +581,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
581
581
  item.address ? (openBlock(), createElementBlock("div", _hoisted_9, toDisplayString(item.address), 1)) : createCommentVNode("", true),
582
582
  createVNode(_component_ElIcon, { class: "ele-map-view-item-radio" }, {
583
583
  default: withCtx(() => [
584
- createVNode(_component_CircleCheck)
584
+ createVNode(_component_CheckCircleOutlined)
585
585
  ]),
586
586
  _: 1
587
587
  })
@@ -591,12 +591,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
591
591
  createVNode(_component_ElEmpty, mergeProps({ imageSize: 80 }, _ctx.emptyProps), null, 16)
592
592
  ])) : createCommentVNode("", true)
593
593
  ]),
594
- _: 1
595
- }, 8, ["loading"]),
596
- _ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_11, [
597
- createElementVNode("div", _hoisted_12, toDisplayString(_ctx.message), 1)
598
- ])) : createCommentVNode("", true)
599
- ])
594
+ _ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_11, [
595
+ createElementVNode("div", _hoisted_12, toDisplayString(_ctx.message), 1)
596
+ ])) : createCommentVNode("", true)
597
+ ]),
598
+ _: 1
599
+ }, 8, ["loading"])
600
600
  ], 4)
601
601
  ]),
602
602
  _: 1
@@ -108,7 +108,7 @@
108
108
  }
109
109
 
110
110
  .ele-map-view-item {
111
- padding: 8px 30px 8px 46px;
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: 22px;
124
+ font-size: 20px;
125
125
  color: elVar('text-color', 'secondary');
126
126
  position: absolute;
127
127
  top: 50%;
128
- left: 14px;
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: 12px;
145
+ right: 10px;
146
146
  transform: translateY(-50%);
147
147
  color: elVar('color-primary');
148
- font-size: 16px;
148
+ font-size: 14px;
149
149
  display: none;
150
150
  }
151
151
 
@@ -84,7 +84,9 @@ const index = defineComponent({
84
84
  class: [
85
85
  { "ele-menu": authenticated.value },
86
86
  { "ele-menu-dark": authenticated.value && props.theme === "dark" },
87
- { "ele-menu-colorful": authenticated.value && props.colorful }
87
+ { "is-night": authenticated.value && props.theme === "dark" },
88
+ { "ele-menu-colorful": authenticated.value && props.colorful },
89
+ { "is-colorful": authenticated.value && props.colorful }
88
90
  ],
89
91
  onOpen: (index2, indexPath) => {
90
92
  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
- &.ele-menu-colorful {
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
- &.ele-menu-dark {
541
+ &.is-night {
537
542
  border: none;
538
543
 
539
544
  &.el-menu,
@@ -615,7 +620,7 @@
615
620
  }
616
621
 
617
622
  /* 彩色图标 */
618
- &.ele-menu-colorful {
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.ele-menu-dark > .el-menu--popup-container > .el-menu--popup {
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;
@@ -201,11 +201,14 @@ function getMenuItems(menus, index, horizontal) {
201
201
  }
202
202
  function getPopperClass(customerClass, theme, popTheme, colorful, popupColorful, firstPopClass, first) {
203
203
  const popperClass = ["ele-menu"];
204
+ if (navigator.userAgent.includes("WebKit")) {
205
+ popperClass.push("is-webkit");
206
+ }
204
207
  if (popTheme === "dark" || popTheme === "auto" && theme === "dark") {
205
- popperClass.push("ele-menu-dark");
208
+ popperClass.push("is-night ele-menu-dark");
206
209
  }
207
210
  if (popupColorful === true || popupColorful === "auto" && colorful) {
208
- popperClass.push("ele-menu-colorful");
211
+ popperClass.push("is-colorful ele-menu-colorful");
209
212
  }
210
213
  if (first && firstPopClass) {
211
214
  popperClass.push(firstPopClass);