ele-admin-plus 1.1.9-beta.7 → 1.1.9-beta.9

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 (307) hide show
  1. package/es/ele-alert/index.js +2 -4
  2. package/es/ele-app/el.d.ts +6 -1
  3. package/es/ele-app/plus.d.ts +12 -0
  4. package/es/ele-avatar-group/index.d.ts +1 -1
  5. package/es/ele-avatar-group/index.js +1 -3
  6. package/es/ele-basic-select/index.d.ts +8 -8
  7. package/es/ele-basic-select/index.js +17 -13
  8. package/es/ele-check-card/index.d.ts +2 -2
  9. package/es/ele-check-card/index.js +0 -5
  10. package/es/ele-config-provider/components/receiver-view.d.ts +17 -0
  11. package/es/ele-config-provider/components/receiver-view.js +45 -0
  12. package/es/ele-config-provider/index.d.ts +2 -2
  13. package/es/ele-config-provider/props.d.ts +3 -3
  14. package/es/ele-config-provider/props.js +2 -2
  15. package/es/ele-config-provider/types.d.ts +2 -0
  16. package/es/ele-copyable/index.d.ts +4 -6
  17. package/es/ele-copyable/index.js +1 -5
  18. package/es/ele-cropper/index.d.ts +6 -6
  19. package/es/ele-cropper/index.js +1 -5
  20. package/es/ele-dashboard/index.d.ts +0 -1
  21. package/es/ele-dashboard/index.js +8 -17
  22. package/es/ele-data-table/index.d.ts +2 -2
  23. package/es/ele-data-table/index.js +8 -0
  24. package/es/ele-data-table/style/index.scss +4 -0
  25. package/es/ele-data-table/types.d.ts +10 -0
  26. package/es/ele-data-table/util.d.ts +5 -0
  27. package/es/ele-data-table/util.js +14 -0
  28. package/es/ele-dot/index.d.ts +2 -4
  29. package/es/ele-dot/index.js +4 -10
  30. package/es/ele-drawer/index.d.ts +6 -6
  31. package/es/ele-drawer/index.js +14 -11
  32. package/es/ele-dropdown/index.js +6 -10
  33. package/es/ele-dropdown/style/index.scss +2 -2
  34. package/es/ele-edit-tag/index.d.ts +6 -0
  35. package/es/ele-edit-tag/index.js +17 -15
  36. package/es/ele-edit-tag/props.d.ts +4 -0
  37. package/es/ele-edit-tag/props.js +5 -1
  38. package/es/ele-edit-tag/style/index.scss +13 -0
  39. package/es/ele-ellipsis/index.d.ts +3 -3
  40. package/es/ele-ellipsis/index.js +2 -4
  41. package/es/ele-file-list/components/file-grid-item.js +16 -9
  42. package/es/ele-file-list/components/file-grid.js +54 -50
  43. package/es/ele-file-list/components/file-table-item.js +20 -15
  44. package/es/ele-file-list/components/file-table.js +92 -86
  45. package/es/ele-file-list/index.d.ts +4 -4
  46. package/es/ele-file-list/index.js +1 -11
  47. package/es/ele-file-list-tool/index.d.ts +3 -3
  48. package/es/ele-file-list-tool/index.js +2 -2
  49. package/es/ele-icon-select/index.d.ts +22 -10
  50. package/es/ele-icon-select/index.js +33 -10
  51. package/es/ele-icon-select/props.d.ts +6 -1
  52. package/es/ele-icon-select/props.js +6 -1
  53. package/es/ele-icon-select/style/index.js +1 -0
  54. package/es/ele-icon-select/style/index.scss +16 -2
  55. package/es/ele-loading/index.d.ts +0 -2
  56. package/es/ele-loading/index.js +32 -30
  57. package/es/ele-map-picker/components/map-view.d.ts +2 -2
  58. package/es/ele-menus/index.d.ts +3 -3
  59. package/es/ele-menus/index.js +6 -7
  60. package/es/ele-menus/style/index.js +2 -0
  61. package/es/ele-menus/style/index.scss +2 -1
  62. package/es/ele-modal/index.d.ts +2 -2
  63. package/es/ele-modal/index.js +14 -8
  64. package/es/ele-modal/style/index.scss +18 -29
  65. package/es/ele-pagination/index.d.ts +10 -8
  66. package/es/ele-pagination/index.js +19 -13
  67. package/es/ele-pagination/props.d.ts +3 -2
  68. package/es/ele-pagination/props.js +2 -0
  69. package/es/ele-pagination/style/index.scss +9 -0
  70. package/es/ele-pagination/types.d.ts +6 -1
  71. package/es/ele-popconfirm/style/index.js +1 -1
  72. package/es/ele-popover/style/index.js +0 -1
  73. package/es/ele-printer/index.d.ts +6 -6
  74. package/es/ele-printer/index.js +11 -11
  75. package/es/ele-printer/util.js +1 -1
  76. package/es/ele-pro-layout/components/pro-sidebox.js +3 -1
  77. package/es/ele-pro-layout/index.d.ts +26 -26
  78. package/es/ele-pro-layout/index.js +7 -14
  79. package/es/ele-pro-table/components/table-tools.d.ts +99 -8
  80. package/es/ele-pro-table/components/table-tools.js +125 -8
  81. package/es/ele-pro-table/components/tool-column-list.js +1 -0
  82. package/es/ele-pro-table/components/tool-column.js +6 -2
  83. package/es/ele-pro-table/components/tool-export.d.ts +457 -0
  84. package/es/ele-pro-table/components/tool-export.js +451 -0
  85. package/es/ele-pro-table/components/tool-print-body-cell.d.ts +34 -0
  86. package/es/ele-pro-table/components/tool-print-body-cell.js +88 -0
  87. package/es/ele-pro-table/components/tool-print-header-cell.d.ts +34 -0
  88. package/es/ele-pro-table/components/tool-print-header-cell.js +88 -0
  89. package/es/ele-pro-table/components/tool-print.d.ts +899 -0
  90. package/es/ele-pro-table/components/tool-print.js +547 -0
  91. package/es/ele-pro-table/index.d.ts +31 -12
  92. package/es/ele-pro-table/index.js +57 -14
  93. package/es/ele-pro-table/props.d.ts +14 -8
  94. package/es/ele-pro-table/props.js +6 -2
  95. package/es/ele-pro-table/style/index.js +9 -0
  96. package/es/ele-pro-table/style/index.scss +33 -5
  97. package/es/ele-pro-table/types.d.ts +147 -5
  98. package/es/ele-pro-table/util.d.ts +47 -3
  99. package/es/ele-pro-table/util.js +119 -13
  100. package/es/ele-segmented/index.js +1 -3
  101. package/es/ele-split-panel/index.d.ts +9 -8
  102. package/es/ele-split-panel/index.js +63 -59
  103. package/es/ele-steps/index.d.ts +0 -1
  104. package/es/ele-steps/index.js +2 -4
  105. package/es/ele-table/index.d.ts +3 -0
  106. package/es/ele-table/index.js +2 -1
  107. package/es/ele-table/props.d.ts +2 -0
  108. package/es/ele-table/props.js +3 -1
  109. package/es/ele-table/style/index.scss +35 -0
  110. package/es/ele-table-select/index.d.ts +1 -1
  111. package/es/ele-tabs/index.d.ts +7 -5
  112. package/es/ele-tabs/index.js +1 -6
  113. package/es/ele-tabs/props.d.ts +1 -1
  114. package/es/ele-tool/index.d.ts +1 -1
  115. package/es/ele-tool/index.js +2 -4
  116. package/es/ele-tool/props.d.ts +7 -0
  117. package/es/ele-tool/props.js +5 -0
  118. package/es/ele-tooltip/index.js +9 -13
  119. package/es/ele-tooltip/style/css-var.scss +4 -0
  120. package/es/ele-tooltip/style/index.scss +23 -0
  121. package/es/ele-tour/index.js +80 -77
  122. package/es/ele-upload-list/components/list-item.d.ts +1 -1
  123. package/es/ele-upload-list/index.d.ts +6 -4
  124. package/es/ele-upload-list/index.js +2 -3
  125. package/es/ele-virtual-table/components/body-cell.d.ts +0 -1
  126. package/es/ele-virtual-table/components/body-cell.js +32 -47
  127. package/es/ele-virtual-table/components/footer-row.d.ts +2 -2
  128. package/es/ele-virtual-table/components/footer-row.js +15 -10
  129. package/es/ele-virtual-table/index.d.ts +1 -1
  130. package/es/ele-virtual-table/types.d.ts +15 -1
  131. package/es/ele-virtual-table/util.d.ts +26 -3
  132. package/es/ele-virtual-table/util.js +44 -0
  133. package/es/ele-watermark/index.d.ts +9 -0
  134. package/es/ele-watermark/index.js +1 -1
  135. package/es/ele-watermark/props.d.ts +5 -0
  136. package/es/ele-watermark/props.js +5 -0
  137. package/es/icons/PrinterOutlined.d.ts +2 -0
  138. package/es/icons/PrinterOutlined.js +29 -0
  139. package/es/icons/VerticalLeftOutlined.js +2 -2
  140. package/es/icons/VerticalRightOutlined.js +2 -2
  141. package/es/icons/index.d.ts +1 -0
  142. package/es/icons/index.js +58 -56
  143. package/es/lang/en_US.js +13 -2
  144. package/es/lang/zh_CN.js +13 -2
  145. package/es/lang/zh_TW.js +12 -1
  146. package/es/style/index.scss +1 -43
  147. package/es/style/plus.scss +43 -0
  148. package/es/style/themes/default.scss +5 -2
  149. package/es/style/themes/theme-util.scss +0 -2
  150. package/es/utils/resolvers.d.ts +2 -2
  151. package/es/utils/resolvers.js +33 -20
  152. package/lib/ele-alert/index.cjs +2 -4
  153. package/lib/ele-app/el.d.ts +6 -1
  154. package/lib/ele-app/plus.d.ts +12 -0
  155. package/lib/ele-avatar-group/index.cjs +1 -3
  156. package/lib/ele-avatar-group/index.d.ts +1 -1
  157. package/lib/ele-basic-select/index.cjs +16 -12
  158. package/lib/ele-basic-select/index.d.ts +8 -8
  159. package/lib/ele-check-card/index.cjs +0 -5
  160. package/lib/ele-check-card/index.d.ts +2 -2
  161. package/lib/ele-config-provider/components/receiver-view.cjs +44 -0
  162. package/lib/ele-config-provider/components/receiver-view.d.ts +17 -0
  163. package/lib/ele-config-provider/index.d.ts +2 -2
  164. package/lib/ele-config-provider/props.cjs +2 -2
  165. package/lib/ele-config-provider/props.d.ts +3 -3
  166. package/lib/ele-config-provider/types.d.ts +2 -0
  167. package/lib/ele-copyable/index.cjs +0 -4
  168. package/lib/ele-copyable/index.d.ts +4 -6
  169. package/lib/ele-cropper/index.cjs +0 -4
  170. package/lib/ele-cropper/index.d.ts +6 -6
  171. package/lib/ele-dashboard/index.cjs +7 -16
  172. package/lib/ele-dashboard/index.d.ts +0 -1
  173. package/lib/ele-data-table/index.cjs +8 -0
  174. package/lib/ele-data-table/index.d.ts +2 -2
  175. package/lib/ele-data-table/style/index.scss +4 -0
  176. package/lib/ele-data-table/types.d.ts +10 -0
  177. package/lib/ele-data-table/util.cjs +14 -0
  178. package/lib/ele-data-table/util.d.ts +5 -0
  179. package/lib/ele-dot/index.cjs +3 -9
  180. package/lib/ele-dot/index.d.ts +2 -4
  181. package/lib/ele-drawer/index.cjs +13 -10
  182. package/lib/ele-drawer/index.d.ts +6 -6
  183. package/lib/ele-dropdown/index.cjs +6 -10
  184. package/lib/ele-dropdown/style/index.scss +2 -2
  185. package/lib/ele-edit-tag/index.cjs +16 -14
  186. package/lib/ele-edit-tag/index.d.ts +6 -0
  187. package/lib/ele-edit-tag/props.cjs +5 -1
  188. package/lib/ele-edit-tag/props.d.ts +4 -0
  189. package/lib/ele-edit-tag/style/index.scss +13 -0
  190. package/lib/ele-ellipsis/index.cjs +2 -4
  191. package/lib/ele-ellipsis/index.d.ts +3 -3
  192. package/lib/ele-file-list/components/file-grid-item.cjs +15 -8
  193. package/lib/ele-file-list/components/file-grid.cjs +53 -49
  194. package/lib/ele-file-list/components/file-table-item.cjs +19 -14
  195. package/lib/ele-file-list/components/file-table.cjs +91 -85
  196. package/lib/ele-file-list/index.cjs +0 -10
  197. package/lib/ele-file-list/index.d.ts +4 -4
  198. package/lib/ele-file-list-tool/index.cjs +2 -2
  199. package/lib/ele-file-list-tool/index.d.ts +3 -3
  200. package/lib/ele-icon-select/index.cjs +39 -16
  201. package/lib/ele-icon-select/index.d.ts +22 -10
  202. package/lib/ele-icon-select/props.cjs +6 -1
  203. package/lib/ele-icon-select/props.d.ts +6 -1
  204. package/lib/ele-icon-select/style/index.cjs +1 -0
  205. package/lib/ele-icon-select/style/index.scss +16 -2
  206. package/lib/ele-loading/index.cjs +31 -29
  207. package/lib/ele-loading/index.d.ts +0 -2
  208. package/lib/ele-map-picker/components/map-view.d.ts +2 -2
  209. package/lib/ele-menus/index.cjs +6 -7
  210. package/lib/ele-menus/index.d.ts +3 -3
  211. package/lib/ele-menus/style/index.cjs +2 -0
  212. package/lib/ele-menus/style/index.scss +2 -1
  213. package/lib/ele-modal/index.cjs +13 -7
  214. package/lib/ele-modal/index.d.ts +2 -2
  215. package/lib/ele-modal/style/index.scss +18 -29
  216. package/lib/ele-pagination/index.cjs +18 -12
  217. package/lib/ele-pagination/index.d.ts +10 -8
  218. package/lib/ele-pagination/props.cjs +2 -0
  219. package/lib/ele-pagination/props.d.ts +3 -2
  220. package/lib/ele-pagination/style/index.scss +9 -0
  221. package/lib/ele-pagination/types.d.ts +6 -1
  222. package/lib/ele-popconfirm/style/index.cjs +1 -1
  223. package/lib/ele-popover/style/index.cjs +0 -1
  224. package/lib/ele-printer/index.cjs +10 -10
  225. package/lib/ele-printer/index.d.ts +6 -6
  226. package/lib/ele-printer/util.cjs +1 -1
  227. package/lib/ele-pro-layout/components/pro-sidebox.cjs +3 -1
  228. package/lib/ele-pro-layout/index.cjs +6 -13
  229. package/lib/ele-pro-layout/index.d.ts +26 -26
  230. package/lib/ele-pro-table/components/table-tools.cjs +124 -7
  231. package/lib/ele-pro-table/components/table-tools.d.ts +99 -8
  232. package/lib/ele-pro-table/components/tool-column-list.cjs +1 -0
  233. package/lib/ele-pro-table/components/tool-column.cjs +6 -2
  234. package/lib/ele-pro-table/components/tool-export.cjs +450 -0
  235. package/lib/ele-pro-table/components/tool-export.d.ts +457 -0
  236. package/lib/ele-pro-table/components/tool-print-body-cell.cjs +87 -0
  237. package/lib/ele-pro-table/components/tool-print-body-cell.d.ts +34 -0
  238. package/lib/ele-pro-table/components/tool-print-header-cell.cjs +87 -0
  239. package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +34 -0
  240. package/lib/ele-pro-table/components/tool-print.cjs +546 -0
  241. package/lib/ele-pro-table/components/tool-print.d.ts +899 -0
  242. package/lib/ele-pro-table/index.cjs +56 -13
  243. package/lib/ele-pro-table/index.d.ts +31 -12
  244. package/lib/ele-pro-table/props.cjs +6 -2
  245. package/lib/ele-pro-table/props.d.ts +14 -8
  246. package/lib/ele-pro-table/style/index.cjs +9 -0
  247. package/lib/ele-pro-table/style/index.scss +33 -5
  248. package/lib/ele-pro-table/types.d.ts +147 -5
  249. package/lib/ele-pro-table/util.cjs +119 -13
  250. package/lib/ele-pro-table/util.d.ts +47 -3
  251. package/lib/ele-segmented/index.cjs +1 -3
  252. package/lib/ele-split-panel/index.cjs +62 -58
  253. package/lib/ele-split-panel/index.d.ts +9 -8
  254. package/lib/ele-steps/index.cjs +2 -4
  255. package/lib/ele-steps/index.d.ts +0 -1
  256. package/lib/ele-table/index.cjs +2 -1
  257. package/lib/ele-table/index.d.ts +3 -0
  258. package/lib/ele-table/props.cjs +3 -1
  259. package/lib/ele-table/props.d.ts +2 -0
  260. package/lib/ele-table/style/index.scss +35 -0
  261. package/lib/ele-table-select/index.d.ts +1 -1
  262. package/lib/ele-tabs/index.cjs +1 -6
  263. package/lib/ele-tabs/index.d.ts +7 -5
  264. package/lib/ele-tabs/props.d.ts +1 -1
  265. package/lib/ele-tool/index.cjs +1 -3
  266. package/lib/ele-tool/index.d.ts +1 -1
  267. package/lib/ele-tool/props.cjs +5 -0
  268. package/lib/ele-tool/props.d.ts +7 -0
  269. package/lib/ele-tooltip/index.cjs +9 -13
  270. package/lib/ele-tooltip/style/css-var.scss +4 -0
  271. package/lib/ele-tooltip/style/index.scss +23 -0
  272. package/lib/ele-tour/index.cjs +79 -76
  273. package/lib/ele-upload-list/components/list-item.d.ts +1 -1
  274. package/lib/ele-upload-list/index.cjs +1 -2
  275. package/lib/ele-upload-list/index.d.ts +6 -4
  276. package/lib/ele-virtual-table/components/body-cell.cjs +31 -46
  277. package/lib/ele-virtual-table/components/body-cell.d.ts +0 -1
  278. package/lib/ele-virtual-table/components/footer-row.cjs +13 -8
  279. package/lib/ele-virtual-table/components/footer-row.d.ts +2 -2
  280. package/lib/ele-virtual-table/index.d.ts +1 -1
  281. package/lib/ele-virtual-table/types.d.ts +15 -1
  282. package/lib/ele-virtual-table/util.cjs +44 -0
  283. package/lib/ele-virtual-table/util.d.ts +26 -3
  284. package/lib/ele-watermark/index.cjs +1 -1
  285. package/lib/ele-watermark/index.d.ts +9 -0
  286. package/lib/ele-watermark/props.cjs +5 -0
  287. package/lib/ele-watermark/props.d.ts +5 -0
  288. package/lib/icons/PrinterOutlined.cjs +28 -0
  289. package/lib/icons/PrinterOutlined.d.ts +2 -0
  290. package/lib/icons/VerticalLeftOutlined.cjs +2 -2
  291. package/lib/icons/VerticalRightOutlined.cjs +2 -2
  292. package/lib/icons/index.cjs +2 -0
  293. package/lib/icons/index.d.ts +1 -0
  294. package/lib/lang/en_US.cjs +13 -2
  295. package/lib/lang/zh_CN.cjs +13 -2
  296. package/lib/lang/zh_TW.cjs +12 -1
  297. package/lib/style/index.scss +1 -43
  298. package/lib/style/plus.scss +43 -0
  299. package/lib/style/themes/default.scss +5 -2
  300. package/lib/style/themes/theme-util.scss +0 -2
  301. package/lib/utils/resolvers.cjs +33 -20
  302. package/lib/utils/resolvers.d.ts +2 -2
  303. package/package.json +1 -1
  304. package/es/ele-popover/style/css-var.scss +0 -8
  305. package/es/ele-popover/style/index.scss +0 -27
  306. package/lib/ele-popover/style/css-var.scss +0 -8
  307. package/lib/ele-popover/style/index.scss +0 -27
@@ -1,25 +1,27 @@
1
1
  "use strict";
2
2
  const vue = require("vue");
3
+ const elementPlus = require("element-plus");
3
4
  const receiver = require("../ele-config-provider/receiver");
4
5
  const EleBasicSelect = require("../ele-basic-select/index");
5
6
  const util = require("../ele-basic-select/util");
7
+ const icons = require("../icons");
6
8
  const IconGrid = require("./components/icon-grid");
7
9
  const props = require("./props");
8
10
  const _sfc_main = vue.defineComponent({
9
11
  name: "EleIconSelect",
10
- components: { EleBasicSelect, IconGrid },
12
+ components: { ElInput: elementPlus.ElInput, EleBasicSelect, IconGrid },
11
13
  props: props.iconSelectProps,
12
14
  emits: props.iconSelectEmits,
13
15
  setup(props2, { emit }) {
14
16
  const isResponsive = receiver.useResponsive(props2);
15
- const iconState = { keyword: "" };
16
17
  const selectRef = vue.ref(null);
17
18
  const selectVisible = vue.ref(false);
18
19
  const tabs = vue.ref([]);
19
20
  const tabActive = vue.ref();
20
21
  const menus = vue.ref([]);
21
22
  const menuActive = vue.ref();
22
- const icons = vue.ref([]);
23
+ const icons$1 = vue.ref([]);
24
+ const keywords = vue.ref("");
23
25
  const tabBar = vue.computed(() => {
24
26
  if (!tabs.value || !tabs.value.length) {
25
27
  return false;
@@ -56,7 +58,7 @@ const _sfc_main = vue.defineComponent({
56
58
  menus.value = [];
57
59
  tabActive.value = void 0;
58
60
  menuActive.value = void 0;
59
- icons.value = filterData(props2.data);
61
+ icons$1.value = filterData(props2.data);
60
62
  return;
61
63
  }
62
64
  tabs.value = props2.data.map(
@@ -71,21 +73,22 @@ const _sfc_main = vue.defineComponent({
71
73
  if (menuActive.value == null || menuActive.value >= menus.value.length) {
72
74
  menuActive.value = 0;
73
75
  }
74
- icons.value = filterData(data.children[menuActive.value].icons);
76
+ icons$1.value = filterData(data.children[menuActive.value].icons);
75
77
  return;
76
78
  }
77
79
  menus.value = [];
78
80
  menuActive.value = void 0;
79
- icons.value = typeof data !== "string" ? filterData(data.icons) : [];
81
+ icons$1.value = typeof data !== "string" ? filterData(data.icons) : [];
80
82
  };
81
83
  const filterData = (data) => {
82
84
  if (!data) {
83
85
  return [];
84
86
  }
85
- if (!iconState.keyword) {
87
+ if (!keywords.value) {
86
88
  return data;
87
89
  }
88
- return data.filter((t) => t.toLowerCase().includes(iconState.keyword));
90
+ const keyword = keywords.value.toLowerCase();
91
+ return data.filter((t) => t.toLowerCase().includes(keyword));
89
92
  };
90
93
  const updateVisible = (visible) => {
91
94
  if (visible) {
@@ -113,11 +116,13 @@ const _sfc_main = vue.defineComponent({
113
116
  const onSelectBlur = (e) => {
114
117
  emit("blur", e);
115
118
  };
116
- const onSelectFilter = (keywords) => {
119
+ const onSelectFilter = (value) => {
117
120
  var _a;
118
- iconState.keyword = keywords ? keywords.toLowerCase() : "";
121
+ if (keywords.value !== value) {
122
+ keywords.value = value;
123
+ }
119
124
  initData();
120
- if (!((_a = props2.data) == null ? void 0 : _a.length) || icons.value.length) {
125
+ if (!((_a = props2.data) == null ? void 0 : _a.length) || icons$1.value.length) {
121
126
  return;
122
127
  }
123
128
  for (let i = 0; i < props2.data.length; i++) {
@@ -125,17 +130,18 @@ const _sfc_main = vue.defineComponent({
125
130
  if (typeof d === "string") {
126
131
  return;
127
132
  }
133
+ const keyword = keywords.value.toLowerCase();
128
134
  if (d.children != null && d.children.length) {
129
135
  for (let j = 0; j < d.children.length; j++) {
130
136
  const icons2 = d.children[j].icons;
131
- if (icons2 && icons2.some((t) => t.toLowerCase().includes(iconState.keyword))) {
137
+ if (icons2 && icons2.some((t) => t.toLowerCase().includes(keyword))) {
132
138
  menuActive.value = j;
133
139
  tabActive.value = i;
134
140
  initData();
135
141
  return;
136
142
  }
137
143
  }
138
- } else if (d.icons != null && d.icons.some((t) => t.toLowerCase().includes(iconState.keyword))) {
144
+ } else if (d.icons != null && d.icons.some((t) => t.toLowerCase().includes(keyword))) {
139
145
  tabActive.value = i;
140
146
  initData();
141
147
  return;
@@ -165,13 +171,15 @@ const _sfc_main = vue.defineComponent({
165
171
  }
166
172
  );
167
173
  return {
174
+ SearchOutlined: icons.SearchOutlined,
168
175
  selectRef,
169
176
  selectVisible,
170
177
  tabs,
171
178
  tabActive,
172
179
  menus,
173
180
  menuActive,
174
- icons,
181
+ icons: icons$1,
182
+ keywords,
175
183
  tabBar,
176
184
  selectPopperClass,
177
185
  iconPopperStyle,
@@ -198,6 +206,7 @@ const _hoisted_1 = ["onClick"];
198
206
  const _hoisted_2 = { class: "ele-icon-select-main" };
199
207
  const _hoisted_3 = ["onClick"];
200
208
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
209
+ const _component_ElInput = vue.resolveComponent("ElInput");
201
210
  const _component_IconGrid = vue.resolveComponent("IconGrid");
202
211
  const _component_EleBasicSelect = vue.resolveComponent("EleBasicSelect");
203
212
  return vue.openBlock(), vue.createBlock(_component_EleBasicSelect, {
@@ -209,7 +218,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
209
218
  clearable: _ctx.clearable,
210
219
  placeholder: _ctx.placeholder,
211
220
  automaticDropdown: _ctx.automaticDropdown,
212
- filterable: _ctx.filterable,
221
+ filterable: typeof _ctx.filterable === "boolean" ? _ctx.filterable : false,
213
222
  teleported: _ctx.teleported,
214
223
  persistent: _ctx.persistent,
215
224
  placement: _ctx.placement,
@@ -233,7 +242,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
233
242
  class: "ele-icon-select",
234
243
  style: vue.normalizeStyle(_ctx.iconPopperStyle)
235
244
  }, [
236
- _ctx.tabBar ? (vue.openBlock(), vue.createElementBlock("div", {
245
+ _ctx.tabBar || _ctx.filterable === "popper" ? (vue.openBlock(), vue.createElementBlock("div", {
237
246
  key: 0,
238
247
  class: "ele-icon-select-header",
239
248
  style: vue.normalizeStyle(_ctx.headerStyle)
@@ -252,6 +261,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
252
261
  }, vue.toDisplayString(t), 11, _hoisted_1);
253
262
  }), 128))
254
263
  ], 4)) : vue.createCommentVNode("", true),
264
+ _ctx.filterable === "popper" ? (vue.openBlock(), vue.createElementBlock("div", {
265
+ key: 1,
266
+ class: "ele-icon-select-search",
267
+ style: vue.normalizeStyle(_ctx.searchStyle)
268
+ }, [
269
+ vue.createVNode(_component_ElInput, {
270
+ size: "small",
271
+ clearable: true,
272
+ modelValue: _ctx.keywords,
273
+ prefixIcon: _ctx.SearchOutlined,
274
+ placeholder: _ctx.filterPlaceholder,
275
+ "onUpdate:modelValue": _ctx.onSelectFilter
276
+ }, null, 8, ["modelValue", "prefixIcon", "placeholder", "onUpdate:modelValue"])
277
+ ], 4)) : vue.createCommentVNode("", true),
255
278
  vue.renderSlot(_ctx.$slots, "tabRightExtra")
256
279
  ], 4)) : vue.createCommentVNode("", true),
257
280
  vue.createElementVNode("div", _hoisted_2, [
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
11
11
  clearable: BooleanConstructor;
12
12
  placeholder: StringConstructor;
13
13
  automaticDropdown: BooleanConstructor;
14
- filterable: BooleanConstructor;
14
+ filterable: (BooleanConstructor | StringConstructor)[];
15
15
  teleported: {
16
16
  type: BooleanConstructor;
17
17
  default: boolean;
@@ -20,6 +20,7 @@ declare const _default: import("vue").DefineComponent<{
20
20
  type: BooleanConstructor;
21
21
  default: boolean;
22
22
  };
23
+ /** 下拉组件 */
23
24
  placement: {
24
25
  type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>;
25
26
  default: string;
@@ -31,16 +32,16 @@ declare const _default: import("vue").DefineComponent<{
31
32
  popperOptions: import("vue").PropType<Partial<import("element-plus").Options> | undefined>;
32
33
  popperClass: StringConstructor;
33
34
  popperWidth: {
34
- type: (StringConstructor | NumberConstructor)[]; /** 是否显示选项卡栏 */
35
+ type: (StringConstructor | NumberConstructor)[];
35
36
  default: number;
36
37
  };
37
38
  popperHeight: {
38
39
  type: (StringConstructor | NumberConstructor)[];
39
40
  default: number;
40
- };
41
+ }; /** 是否显示选项卡栏 */
41
42
  selectStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
42
43
  inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
43
- hideOnSingleTab: BooleanConstructor; /** 下拉框类名 */
44
+ hideOnSingleTab: BooleanConstructor;
44
45
  emptyProps: import("vue").PropType<import("../ele-app/el").ElEmptyProps>;
45
46
  tooltip: {
46
47
  type: BooleanConstructor;
@@ -54,11 +55,16 @@ declare const _default: import("vue").DefineComponent<{
54
55
  bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
55
56
  gridStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
56
57
  itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
58
+ filterPlaceholder: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
57
62
  responsive: {
58
63
  type: BooleanConstructor;
59
64
  default: null;
60
65
  };
61
66
  }, {
67
+ SearchOutlined: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
62
68
  selectRef: import("vue").Ref<EleBasicSelectInstance>;
63
69
  selectVisible: import("vue").Ref<boolean>;
64
70
  tabs: import("vue").Ref<string[]>;
@@ -66,6 +72,7 @@ declare const _default: import("vue").DefineComponent<{
66
72
  menus: import("vue").Ref<string[]>;
67
73
  menuActive: import("vue").Ref<number | undefined>;
68
74
  icons: import("vue").Ref<string[]>;
75
+ keywords: import("vue").Ref<string>;
69
76
  tabBar: import("vue").ComputedRef<boolean>;
70
77
  selectPopperClass: import("vue").ComputedRef<string>;
71
78
  iconPopperStyle: import("vue").ComputedRef<Partial<import("vue").CSSProperties> | undefined>;
@@ -74,7 +81,7 @@ declare const _default: import("vue").DefineComponent<{
74
81
  onSelectClear: () => void;
75
82
  onSelectFocus: (e: FocusEvent) => void;
76
83
  onSelectBlur: (e: FocusEvent) => void;
77
- onSelectFilter: (keywords: string) => void;
84
+ onSelectFilter: (value: string) => void;
78
85
  onTabClick: (index: number) => void;
79
86
  onMenuClick: (index: number) => void;
80
87
  onIconSelect: (icon: string) => void;
@@ -96,7 +103,7 @@ declare const _default: import("vue").DefineComponent<{
96
103
  clearable: BooleanConstructor;
97
104
  placeholder: StringConstructor;
98
105
  automaticDropdown: BooleanConstructor;
99
- filterable: BooleanConstructor;
106
+ filterable: (BooleanConstructor | StringConstructor)[];
100
107
  teleported: {
101
108
  type: BooleanConstructor;
102
109
  default: boolean;
@@ -105,6 +112,7 @@ declare const _default: import("vue").DefineComponent<{
105
112
  type: BooleanConstructor;
106
113
  default: boolean;
107
114
  };
115
+ /** 下拉组件 */
108
116
  placement: {
109
117
  type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>;
110
118
  default: string;
@@ -116,16 +124,16 @@ declare const _default: import("vue").DefineComponent<{
116
124
  popperOptions: import("vue").PropType<Partial<import("element-plus").Options> | undefined>;
117
125
  popperClass: StringConstructor;
118
126
  popperWidth: {
119
- type: (StringConstructor | NumberConstructor)[]; /** 是否显示选项卡栏 */
127
+ type: (StringConstructor | NumberConstructor)[];
120
128
  default: number;
121
129
  };
122
130
  popperHeight: {
123
131
  type: (StringConstructor | NumberConstructor)[];
124
132
  default: number;
125
- };
133
+ }; /** 是否显示选项卡栏 */
126
134
  selectStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
127
135
  inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
128
- hideOnSingleTab: BooleanConstructor; /** 下拉框类名 */
136
+ hideOnSingleTab: BooleanConstructor;
129
137
  emptyProps: import("vue").PropType<import("../ele-app/el").ElEmptyProps>;
130
138
  tooltip: {
131
139
  type: BooleanConstructor;
@@ -139,6 +147,10 @@ declare const _default: import("vue").DefineComponent<{
139
147
  bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
140
148
  gridStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
141
149
  itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
150
+ filterPlaceholder: {
151
+ type: StringConstructor;
152
+ default: string;
153
+ };
142
154
  responsive: {
143
155
  type: BooleanConstructor;
144
156
  default: null;
@@ -158,11 +170,11 @@ declare const _default: import("vue").DefineComponent<{
158
170
  persistent: boolean;
159
171
  transition: string;
160
172
  tooltip: boolean;
161
- filterable: boolean;
162
173
  responsive: boolean;
163
174
  automaticDropdown: boolean;
164
175
  popperWidth: string | number;
165
176
  popperHeight: string | number;
166
177
  hideOnSingleTab: boolean;
178
+ filterPlaceholder: string;
167
179
  }, {}>;
168
180
  export default _default;
@@ -19,7 +19,7 @@ const iconSelectProps = {
19
19
  /** 是否在输入框获得焦点后自动弹出选项菜单 */
20
20
  automaticDropdown: Boolean,
21
21
  /** 是否可以筛选 */
22
- filterable: Boolean,
22
+ filterable: [Boolean, String],
23
23
  /** 是否将下拉框插入 body */
24
24
  teleported: {
25
25
  type: Boolean,
@@ -83,6 +83,11 @@ const iconSelectProps = {
83
83
  gridStyle: Object,
84
84
  /** 图标样式 */
85
85
  itemStyle: Object,
86
+ /** 搜索框提示文本 */
87
+ filterPlaceholder: {
88
+ type: String,
89
+ default: ""
90
+ },
86
91
  /** 是否开启响应式 */
87
92
  responsive: {
88
93
  type: Boolean,
@@ -23,7 +23,7 @@ export declare const iconSelectProps: {
23
23
  /** 是否在输入框获得焦点后自动弹出选项菜单 */
24
24
  automaticDropdown: BooleanConstructor;
25
25
  /** 是否可以筛选 */
26
- filterable: BooleanConstructor;
26
+ filterable: (BooleanConstructor | StringConstructor)[];
27
27
  /** 是否将下拉框插入 body */
28
28
  teleported: {
29
29
  type: BooleanConstructor;
@@ -87,6 +87,11 @@ export declare const iconSelectProps: {
87
87
  gridStyle: PropType<Partial<import("vue").CSSProperties>>;
88
88
  /** 图标样式 */
89
89
  itemStyle: PropType<Partial<import("vue").CSSProperties>>;
90
+ /** 搜索框提示文本 */
91
+ filterPlaceholder: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ };
90
95
  /** 是否开启响应式 */
91
96
  responsive: {
92
97
  type: BooleanConstructor;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  require("element-plus/lib/components/empty/style/index");
3
3
  require("element-plus/lib/components/scrollbar/style/index");
4
+ require("element-plus/lib/components/input/style/index");
4
5
  require("../../ele-tooltip/style/index");
5
6
  require("../../ele-basic-select/style/index");
6
7
  require("./index.scss");
@@ -28,7 +28,6 @@
28
28
  .ele-icon-select-tabs {
29
29
  flex: 1;
30
30
  overflow: auto;
31
- overflow: overlay;
32
31
  display: flex;
33
32
  align-items: center;
34
33
 
@@ -92,6 +91,22 @@
92
91
  }
93
92
  }
94
93
 
94
+ .ele-icon-select-search {
95
+ width: 100%;
96
+ flex-shrink: 0;
97
+ padding: eleVar('icon', 'search-padding');
98
+ box-sizing: border-box;
99
+
100
+ & > .el-input .el-input__prefix .el-input__icon {
101
+ font-size: eleVar('icon', 'search-icon-size');
102
+ }
103
+ }
104
+
105
+ .ele-icon-select-tabs + .ele-icon-select-search {
106
+ width: eleVar('icon', 'search-width');
107
+ padding-left: 12px;
108
+ }
109
+
95
110
  .ele-icon-select-main {
96
111
  flex: 1;
97
112
  display: flex;
@@ -103,7 +118,6 @@
103
118
  width: eleVar('icon', 'menus-width');
104
119
  flex-shrink: 0;
105
120
  overflow: auto;
106
- overflow: overlay;
107
121
  padding: eleVar('icon', 'menus-padding');
108
122
  box-shadow: -0.8px 0 0 elVar('border-color', 'light') inset;
109
123
  box-sizing: border-box;
@@ -1,18 +1,16 @@
1
1
  "use strict";
2
2
  const vue = require("vue");
3
3
  const elementPlus = require("element-plus");
4
- const receiver = require("../ele-config-provider/receiver");
4
+ const ReceiverView = require("../ele-config-provider/components/receiver-view");
5
5
  const props = require("./props");
6
6
  const _sfc_main = vue.defineComponent({
7
7
  name: "EleLoading",
8
- directives: {
9
- loading: elementPlus.vLoading
10
- },
8
+ directives: { loading: elementPlus.vLoading },
9
+ components: { ReceiverView },
11
10
  props: props.loadingProps,
12
11
  setup(props2) {
13
- const { authenticated } = receiver.useLicense();
14
12
  const isCircle = vue.computed(() => {
15
- return !authenticated.value || props2.type === "circle";
13
+ return props2.type === "circle";
16
14
  });
17
15
  const rootProps = vue.computed(() => {
18
16
  const obj = {
@@ -43,31 +41,35 @@ const _hoisted_1 = /* @__PURE__ */ vue.createElementVNode("div", { class: "ele-l
43
41
  /* @__PURE__ */ vue.createElementVNode("i")
44
42
  ], -1);
45
43
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
44
+ const _component_ReceiverView = vue.resolveComponent("ReceiverView");
46
45
  const _directive_loading = vue.resolveDirective("loading");
47
- return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.guardReactiveProps(_ctx.rootProps)), [
48
- vue.renderSlot(_ctx.$slots, "default"),
49
- !_ctx.isCircle ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
50
- key: 0,
51
- style: vue.normalizeStyle(_ctx.spinnerStyle),
52
- class: vue.normalizeClass([
53
- "ele-loading-spinner",
54
- { "ele-loading-blur": _ctx.blur },
55
- { "ele-loading-small": _ctx.size === "small" },
56
- { "ele-loading-large": _ctx.size === "large" }
57
- ])
58
- }, [
59
- vue.renderSlot(_ctx.$slots, "spinner", {}, () => [
60
- _hoisted_1
61
- ]),
62
- _ctx.text ? (vue.openBlock(), vue.createElementBlock("div", {
46
+ return vue.withDirectives((vue.openBlock(), vue.createBlock(_component_ReceiverView, vue.normalizeProps(vue.guardReactiveProps(_ctx.rootProps)), {
47
+ default: vue.withCtx(() => [
48
+ vue.renderSlot(_ctx.$slots, "default"),
49
+ !_ctx.isCircle ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
63
50
  key: 0,
64
- class: "ele-loading-text",
65
- style: vue.normalizeStyle(_ctx.textStyle)
66
- }, vue.toDisplayString(_ctx.text), 5)) : vue.createCommentVNode("", true)
67
- ], 6)), [
68
- [vue.vShow, _ctx.loading]
69
- ]) : vue.createCommentVNode("", true)
70
- ], 16)), [
51
+ style: vue.normalizeStyle(_ctx.spinnerStyle),
52
+ class: vue.normalizeClass([
53
+ "ele-loading-spinner",
54
+ { "ele-loading-blur": _ctx.blur },
55
+ { "ele-loading-small": _ctx.size === "small" },
56
+ { "ele-loading-large": _ctx.size === "large" }
57
+ ])
58
+ }, [
59
+ vue.renderSlot(_ctx.$slots, "spinner", {}, () => [
60
+ _hoisted_1
61
+ ]),
62
+ _ctx.text ? (vue.openBlock(), vue.createElementBlock("div", {
63
+ key: 0,
64
+ class: "ele-loading-text",
65
+ style: vue.normalizeStyle(_ctx.textStyle)
66
+ }, vue.toDisplayString(_ctx.text), 5)) : vue.createCommentVNode("", true)
67
+ ], 6)), [
68
+ [vue.vShow, _ctx.loading]
69
+ ]) : vue.createCommentVNode("", true)
70
+ ]),
71
+ _: 3
72
+ }, 16)), [
71
73
  [_directive_loading, _ctx.isCircle && _ctx.loading]
72
74
  ]);
73
75
  }
@@ -13,7 +13,6 @@ declare const _default: import("vue").DefineComponent<{
13
13
  blur: BooleanConstructor;
14
14
  size: import("vue").PropType<import("./types").LoadingSize>;
15
15
  spinnerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
16
- /** 根节点属性 */
17
16
  textStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
18
17
  }, {
19
18
  isCircle: import("vue").ComputedRef<boolean>;
@@ -31,7 +30,6 @@ declare const _default: import("vue").DefineComponent<{
31
30
  blur: BooleanConstructor;
32
31
  size: import("vue").PropType<import("./types").LoadingSize>;
33
32
  spinnerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
34
- /** 根节点属性 */
35
33
  textStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
36
34
  }>>, {
37
35
  type: import("./types").LoadingType;
@@ -195,11 +195,11 @@ declare const _default: import("vue").DefineComponent<{
195
195
  onDone?: ((_result: CenterPoint) => any) | undefined;
196
196
  onMapDone?: ((_ins: any) => any) | undefined;
197
197
  }, {
198
+ height: string;
199
+ zoom: number;
198
200
  required: boolean;
199
201
  mode: import("../types").SelectMode;
200
- height: string;
201
202
  filterable: boolean;
202
- zoom: number;
203
203
  selectedZoom: number;
204
204
  poiLimit: number;
205
205
  poiType: string;
@@ -2,7 +2,6 @@
2
2
  const vue = require("vue");
3
3
  const elementPlus = require("element-plus");
4
4
  const EleTooltip = require("../ele-tooltip/index");
5
- const receiver = require("../ele-config-provider/receiver");
6
5
  const core = require("../utils/core");
7
6
  const icons = require("../icons");
8
7
  const util = require("./util");
@@ -12,7 +11,6 @@ const index = vue.defineComponent({
12
11
  props: props.menusProps,
13
12
  emits: props.menusEmits,
14
13
  setup(props$1, { slots, emit, expose }) {
15
- const { authenticated } = receiver.useLicense();
16
14
  const isWebkit = navigator.userAgent.includes("WebKit");
17
15
  const menuRef = vue.ref(null);
18
16
  const ellipsisRef = vue.ref(null);
@@ -124,11 +122,11 @@ const index = vue.defineComponent({
124
122
  ref: menuRef,
125
123
  ellipsis: false,
126
124
  class: [
127
- { "ele-menu": authenticated.value },
128
- { "ele-menu-dark": authenticated.value && props$1.theme === "dark" },
129
- { "is-night": authenticated.value && props$1.theme === "dark" },
130
- { "ele-menu-colorful": authenticated.value && props$1.colorful },
131
- { "is-colorful": authenticated.value && props$1.colorful }
125
+ "ele-menu",
126
+ { "ele-menu-dark": props$1.theme === "dark" },
127
+ { "is-night": props$1.theme === "dark" },
128
+ { "ele-menu-colorful": props$1.colorful },
129
+ { "is-colorful": props$1.colorful }
132
130
  ],
133
131
  onOpen: (index2, indexPath) => {
134
132
  emit("open", index2, indexPath);
@@ -226,6 +224,7 @@ const index = vue.defineComponent({
226
224
  vue.h(EleTooltip, {
227
225
  trigger: "click",
228
226
  placement: "right",
227
+ persistent: false,
229
228
  ...props$1.textEllipsisTooltipProps || {},
230
229
  virtualTriggering: true,
231
230
  virtualRef: tooltipVirtualRef.value,
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
19
19
  firstPopperClass: StringConstructor;
20
20
  tooltipDisabled: BooleanConstructor;
21
21
  ellipsisProps: import("vue").PropType<import("./types").EllipsisProps>;
22
- textEllipsisTooltip: BooleanConstructor;
22
+ textEllipsisTooltip: BooleanConstructor; /** 菜单组件实例 */
23
23
  textEllipsisTooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
24
24
  mode: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "vertical", boolean>;
25
25
  defaultActive: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -45,7 +45,7 @@ declare const _default: import("vue").DefineComponent<{
45
45
  open: (index: string) => void;
46
46
  close: (index: string) => void;
47
47
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
- itemClick: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean; /** 文本溢出提示是否显示 */
48
+ itemClick: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean;
49
49
  itemMouseenter: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean;
50
50
  itemMouseleave: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean;
51
51
  parentMouseenter: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean;
@@ -71,7 +71,7 @@ declare const _default: import("vue").DefineComponent<{
71
71
  firstPopperClass: StringConstructor;
72
72
  tooltipDisabled: BooleanConstructor;
73
73
  ellipsisProps: import("vue").PropType<import("./types").EllipsisProps>;
74
- textEllipsisTooltip: BooleanConstructor;
74
+ textEllipsisTooltip: BooleanConstructor; /** 菜单组件实例 */
75
75
  textEllipsisTooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
76
76
  mode: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "vertical", boolean>;
77
77
  defaultActive: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -4,4 +4,6 @@ require("element-plus/lib/components/menu-item/style/index");
4
4
  require("element-plus/lib/components/menu-item-group/style/index");
5
5
  require("element-plus/lib/components/sub-menu/style/index");
6
6
  require("element-plus/lib/components/icon/style/index");
7
+ require("element-plus/lib/components/badge/style/index");
8
+ require("../../ele-tooltip/style/index");
7
9
  require("./index.scss");
@@ -26,7 +26,8 @@
26
26
  position: relative;
27
27
 
28
28
  .el-icon:not(.el-sub-menu__icon-arrow) {
29
- width: auto !important;
29
+ #{elVarName('menu-icon-width')}: auto;
30
+ width: auto;
30
31
  font-size: eleVar('menu', 'icon-font-size');
31
32
  margin: eleVar('menu', 'icon-margin');
32
33
  }
@@ -4,6 +4,7 @@ const elementPlus = require("element-plus");
4
4
  const icons = require("../icons");
5
5
  const core = require("../utils/core");
6
6
  const receiver = require("../ele-config-provider/receiver");
7
+ const ReceiverView = require("../ele-config-provider/components/receiver-view");
7
8
  const util = require("./util");
8
9
  const props = require("./props");
9
10
  const _sfc_main = vue.defineComponent({
@@ -13,13 +14,13 @@ const _sfc_main = vue.defineComponent({
13
14
  ElIcon: elementPlus.ElIcon,
14
15
  CloseOutlined: icons.CloseOutlined,
15
16
  CompressOutlined: icons.CompressOutlined,
16
- ExpandOutlined: icons.ExpandOutlined
17
+ ExpandOutlined: icons.ExpandOutlined,
18
+ ReceiverView
17
19
  },
18
20
  inheritAttrs: false,
19
21
  props: props.modalProps,
20
22
  emits: props.modalEmits,
21
23
  setup(props$1, { emit, attrs }) {
22
- const { authenticated } = receiver.useLicense();
23
24
  const layoutProvide = receiver.useLayoutState();
24
25
  const dialogRef = vue.ref(null);
25
26
  const teleportTo = vue.ref(
@@ -187,7 +188,7 @@ const _sfc_main = vue.defineComponent({
187
188
  };
188
189
  const onOpened = () => {
189
190
  const el = getModalEl();
190
- if (authenticated.value && el) {
191
+ if (el) {
191
192
  el.addEventListener("mousedown", mousedownListener);
192
193
  }
193
194
  emit("opened");
@@ -294,6 +295,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
294
295
  const _component_ExpandOutlined = vue.resolveComponent("ExpandOutlined");
295
296
  const _component_ElIcon = vue.resolveComponent("ElIcon");
296
297
  const _component_CloseOutlined = vue.resolveComponent("CloseOutlined");
298
+ const _component_ReceiverView = vue.resolveComponent("ReceiverView");
297
299
  const _component_ElDialog = vue.resolveComponent("ElDialog");
298
300
  return vue.openBlock(), vue.createBlock(vue.Teleport, {
299
301
  to: _ctx.teleportTo,
@@ -360,13 +362,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
360
362
  ], 4)
361
363
  ]),
362
364
  default: vue.withCtx(() => [
363
- _ctx.dialogEnable ? (vue.openBlock(), vue.createElementBlock("div", {
365
+ _ctx.dialogEnable ? (vue.openBlock(), vue.createBlock(_component_ReceiverView, {
364
366
  key: 0,
367
+ wrapPosition: false,
365
368
  class: "ele-modal-body",
366
369
  style: vue.normalizeStyle(_ctx.bodyStyle)
367
- }, [
368
- vue.renderSlot(_ctx.$slots, "default")
369
- ], 4)) : vue.createCommentVNode("", true)
370
+ }, {
371
+ default: vue.withCtx(() => [
372
+ vue.renderSlot(_ctx.$slots, "default")
373
+ ]),
374
+ _: 3
375
+ }, 8, ["style"])) : vue.createCommentVNode("", true)
370
376
  ]),
371
377
  _: 2
372
378
  }, [