ele-admin-plus 1.4.0-beta.1 → 1.4.1-beta.1

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 (323) hide show
  1. package/es/ele-admin-layout/components/layout-skeleton.d.ts +9 -3
  2. package/es/ele-admin-layout/components/layout-skeleton.js +11 -5
  3. package/es/ele-admin-layout/components/layout-tabs.d.ts +7 -2
  4. package/es/ele-admin-layout/components/layout-tabs.js +9 -4
  5. package/es/ele-admin-layout/index.js +23 -18
  6. package/es/ele-alert/index.js +7 -8
  7. package/es/ele-app/el.d.ts +3 -1
  8. package/es/ele-app/plus.d.ts +12 -41
  9. package/es/ele-app/plusx.d.ts +40 -0
  10. package/es/ele-app/style/overwrite/date-picker/index.scss +1 -1
  11. package/es/ele-autocomplete/index.d.ts +265 -47
  12. package/es/ele-autocomplete/props.d.ts +124 -22
  13. package/es/ele-avatar-group/types.d.ts +1 -1
  14. package/es/ele-backtop/index.js +7 -8
  15. package/es/ele-basic-select/components/select-view.d.ts +129 -0
  16. package/es/ele-basic-select/components/select-view.js +272 -0
  17. package/es/ele-basic-select/index.d.ts +13 -23
  18. package/es/ele-basic-select/index.js +109 -248
  19. package/es/ele-basic-select/props.d.ts +8 -2
  20. package/es/ele-basic-select/props.js +7 -1
  21. package/es/ele-basic-select/types.d.ts +21 -0
  22. package/es/ele-basic-select/util.js +6 -1
  23. package/es/ele-bottom-bar/index.js +6 -6
  24. package/es/ele-breadcrumb/types.d.ts +1 -1
  25. package/es/ele-cascader/index.d.ts +14 -16
  26. package/es/ele-cascader/props.d.ts +3 -4
  27. package/es/ele-check-card/types.d.ts +1 -1
  28. package/es/ele-checkbox-group/index.d.ts +1 -1
  29. package/es/ele-config-provider/components/receiver-view.d.ts +2 -13
  30. package/es/ele-config-provider/components/receiver-view.js +111 -116
  31. package/es/ele-config-provider/receiver.d.ts +2 -0
  32. package/es/ele-config-provider/receiver.js +8 -1
  33. package/es/ele-cropper/index.d.ts +1 -3
  34. package/es/ele-cropper-modal/index.d.ts +1 -1
  35. package/es/ele-crud/components/page-side.js +1 -4
  36. package/es/ele-crud/types.d.ts +1 -1
  37. package/es/ele-crud/util.d.ts +1 -1
  38. package/es/ele-crud-builder/components/body-header.d.ts +1 -1
  39. package/es/ele-crud-builder/components/code-generator.d.ts +1 -1
  40. package/es/ele-crud-builder/components/code-preview.d.ts +1 -1
  41. package/es/ele-crud-builder/components/form-design-modal.d.ts +1 -1
  42. package/es/ele-crud-builder/components/import-modal.d.ts +1 -1
  43. package/es/ele-crud-builder/components/page-config.d.ts +1 -1
  44. package/es/ele-crud-builder/components/template-list.d.ts +1 -1
  45. package/es/ele-crud-builder/index.d.ts +3 -3
  46. package/es/ele-crud-builder/index.js +3 -3
  47. package/es/ele-crud-builder/props.d.ts +2 -1
  48. package/es/ele-crud-builder/types.d.ts +1 -1
  49. package/es/ele-crud-builder/util.js +2 -2
  50. package/es/ele-data-table/index.d.ts +38 -44
  51. package/es/ele-data-table/index.js +6 -3
  52. package/es/ele-data-table/props.d.ts +39 -45
  53. package/es/ele-drawer/index.d.ts +2 -2
  54. package/es/ele-drawer/index.js +5 -4
  55. package/es/ele-drawer/props.d.ts +6 -0
  56. package/es/ele-drawer/props.js +5 -1
  57. package/es/ele-dropdown/components/pro-dropdown.d.ts +26 -26
  58. package/es/ele-dropdown/index.d.ts +30 -30
  59. package/es/ele-dropdown/props.d.ts +12 -12
  60. package/es/ele-dropdown/types.d.ts +1 -1
  61. package/es/ele-edit-tag/index.d.ts +1 -1
  62. package/es/ele-ellipsis/props.d.ts +1 -1
  63. package/es/ele-file-list/components/file-grid.d.ts +1 -1
  64. package/es/ele-file-list/components/file-grid.js +2 -2
  65. package/es/ele-file-list/components/file-table.d.ts +1 -1
  66. package/es/ele-file-list/components/file-table.js +2 -2
  67. package/es/ele-file-list/icons.js +10 -1
  68. package/es/ele-file-list/types.d.ts +1 -1
  69. package/es/ele-icon-select/index.d.ts +5 -1
  70. package/es/ele-icon-select/index.js +3 -1
  71. package/es/ele-icon-select/props.d.ts +7 -2
  72. package/es/ele-icon-select/props.js +4 -0
  73. package/es/ele-image-viewer/index.d.ts +2 -16
  74. package/es/ele-image-viewer/index.js +13 -15
  75. package/es/ele-image-viewer/props.d.ts +1 -8
  76. package/es/ele-loading/index.js +6 -6
  77. package/es/ele-map-picker/index.d.ts +2 -4
  78. package/es/ele-mention/index.d.ts +29 -8
  79. package/es/ele-mention/props.d.ts +9 -0
  80. package/es/ele-menus/types.d.ts +2 -0
  81. package/es/ele-menus/util.js +1 -1
  82. package/es/ele-modal/index.d.ts +4 -4
  83. package/es/ele-modal/index.js +4 -3
  84. package/es/ele-popconfirm/index.d.ts +95 -96
  85. package/es/ele-popconfirm/index.js +6 -21
  86. package/es/ele-popconfirm/props.d.ts +32 -32
  87. package/es/ele-popover/index.d.ts +72 -72
  88. package/es/ele-printer/index.d.ts +2 -2
  89. package/es/ele-printer/index.js +8 -8
  90. package/es/ele-pro-form/components/render-util.d.ts +2 -2
  91. package/es/ele-pro-form/index.d.ts +2 -2
  92. package/es/ele-pro-form/props.d.ts +1 -1
  93. package/es/ele-pro-form-builder/components/body-form.d.ts +1 -1
  94. package/es/ele-pro-form-builder/components/body-header.d.ts +1 -1
  95. package/es/ele-pro-form-builder/components/code-generator.d.ts +1 -1
  96. package/es/ele-pro-form-builder/components/code-preview.d.ts +1 -1
  97. package/es/ele-pro-form-builder/components/config-form.d.ts +1 -1
  98. package/es/ele-pro-form-builder/components/import-modal.d.ts +1 -1
  99. package/es/ele-pro-form-builder/components/preview-modal.d.ts +1 -1
  100. package/es/ele-pro-form-builder/components/props-form.d.ts +1 -1
  101. package/es/ele-pro-form-builder/components/table-util.js +3 -0
  102. package/es/ele-pro-form-builder/components/template-list.d.ts +1 -1
  103. package/es/ele-pro-form-builder/index.d.ts +1 -1
  104. package/es/ele-pro-form-builder/props.d.ts +2 -1
  105. package/es/ele-pro-form-builder/types.d.ts +1 -1
  106. package/es/ele-pro-layout/index.d.ts +29 -29
  107. package/es/ele-pro-layout/props.d.ts +12 -12
  108. package/es/ele-pro-layout/style/index.scss +0 -2
  109. package/es/ele-pro-layout/types.d.ts +2 -0
  110. package/es/ele-pro-table/components/table-tools.d.ts +1 -1
  111. package/es/ele-pro-table/components/tool-export.d.ts +2 -2
  112. package/es/ele-pro-table/components/tool-print.d.ts +1 -1
  113. package/es/ele-pro-table/index.d.ts +40 -46
  114. package/es/ele-pro-table/index.js +11 -16
  115. package/es/ele-pro-table/props.d.ts +18 -21
  116. package/es/ele-pro-table/style/css-var.scss +4 -0
  117. package/es/ele-pro-table/style/index.scss +2 -2
  118. package/es/ele-radio-group/index.d.ts +2 -2
  119. package/es/ele-segmented/index.d.ts +2 -2
  120. package/es/ele-segmented/props.d.ts +1 -1
  121. package/es/ele-segmented/style/index.scss +1 -0
  122. package/es/ele-select/index.d.ts +9 -9
  123. package/es/ele-select/props.d.ts +1 -1
  124. package/es/ele-select/props.js +2 -2
  125. package/es/ele-select-tree/index.d.ts +7 -7
  126. package/es/ele-select-tree/props.d.ts +1 -1
  127. package/es/ele-select-tree/props.js +2 -2
  128. package/es/ele-split-panel/index.js +2 -2
  129. package/es/ele-steps/types.d.ts +1 -1
  130. package/es/ele-tab-bar/index.d.ts +4 -2
  131. package/es/ele-tab-bar/index.js +1 -0
  132. package/es/ele-tab-bar/props.d.ts +3 -1
  133. package/es/ele-tab-bar/props.js +4 -2
  134. package/es/ele-tab-bar/style/index.scss +1 -0
  135. package/es/ele-table-select/props.d.ts +2 -2
  136. package/es/ele-table-select/props.js +1 -1
  137. package/es/ele-tabs/index.d.ts +16 -12
  138. package/es/ele-tabs/style/index.scss +1 -0
  139. package/es/ele-tabs/types.d.ts +1 -1
  140. package/es/ele-timeline/types.d.ts +3 -3
  141. package/es/ele-tooltip/index.d.ts +53 -53
  142. package/es/ele-tour/index.js +8 -8
  143. package/es/ele-transfer/index.d.ts +1 -1
  144. package/es/ele-tree-select/index.d.ts +1 -1
  145. package/es/ele-tree-select/props.d.ts +1 -1
  146. package/es/ele-upload-list/components/list-item.d.ts +3 -0
  147. package/es/ele-upload-list/components/list-item.js +1 -0
  148. package/es/ele-upload-list/types.d.ts +1 -1
  149. package/es/ele-virtual-table/index.d.ts +38 -44
  150. package/es/ele-virtual-table/props.d.ts +19 -22
  151. package/es/ele-watermark/index.js +9 -6
  152. package/es/ele-watermark/util.d.ts +2 -0
  153. package/es/ele-watermark/util.js +10 -3
  154. package/es/style/themes/default.scss +6 -0
  155. package/es/style/themes/rounded.scss +3 -0
  156. package/es/style/themes/transparent.scss +3 -0
  157. package/es/utils/common.d.ts +10 -0
  158. package/es/utils/common.js +10 -0
  159. package/es/utils/core.d.ts +6 -0
  160. package/es/utils/core.js +10 -1
  161. package/es/utils/menu-util.js +1 -0
  162. package/lib/ele-admin-layout/components/layout-skeleton.cjs +10 -4
  163. package/lib/ele-admin-layout/components/layout-skeleton.d.ts +9 -3
  164. package/lib/ele-admin-layout/components/layout-tabs.cjs +9 -4
  165. package/lib/ele-admin-layout/components/layout-tabs.d.ts +7 -2
  166. package/lib/ele-admin-layout/index.cjs +23 -18
  167. package/lib/ele-alert/index.cjs +6 -7
  168. package/lib/ele-app/el.d.ts +3 -1
  169. package/lib/ele-app/plus.d.ts +12 -41
  170. package/lib/ele-app/plusx.d.ts +40 -0
  171. package/lib/ele-app/style/overwrite/date-picker/index.scss +1 -1
  172. package/lib/ele-autocomplete/index.d.ts +265 -47
  173. package/lib/ele-autocomplete/props.d.ts +124 -22
  174. package/lib/ele-avatar-group/types.d.ts +1 -1
  175. package/lib/ele-backtop/index.cjs +6 -7
  176. package/lib/ele-basic-select/components/select-view.cjs +271 -0
  177. package/lib/ele-basic-select/components/select-view.d.ts +129 -0
  178. package/lib/ele-basic-select/index.cjs +108 -247
  179. package/lib/ele-basic-select/index.d.ts +13 -23
  180. package/lib/ele-basic-select/props.cjs +7 -1
  181. package/lib/ele-basic-select/props.d.ts +8 -2
  182. package/lib/ele-basic-select/types.d.ts +21 -0
  183. package/lib/ele-basic-select/util.cjs +6 -1
  184. package/lib/ele-bottom-bar/index.cjs +5 -5
  185. package/lib/ele-breadcrumb/types.d.ts +1 -1
  186. package/lib/ele-cascader/index.d.ts +14 -16
  187. package/lib/ele-cascader/props.d.ts +3 -4
  188. package/lib/ele-check-card/types.d.ts +1 -1
  189. package/lib/ele-checkbox-group/index.d.ts +1 -1
  190. package/lib/ele-config-provider/components/receiver-view.cjs +2 -2
  191. package/lib/ele-config-provider/components/receiver-view.d.ts +2 -13
  192. package/lib/ele-config-provider/receiver.cjs +10 -1
  193. package/lib/ele-config-provider/receiver.d.ts +2 -0
  194. package/lib/ele-cropper/index.d.ts +1 -3
  195. package/lib/ele-cropper-modal/index.d.ts +1 -1
  196. package/lib/ele-crud/components/page-side.cjs +1 -4
  197. package/lib/ele-crud/types.d.ts +1 -1
  198. package/lib/ele-crud/util.d.ts +1 -1
  199. package/lib/ele-crud-builder/components/body-header.d.ts +1 -1
  200. package/lib/ele-crud-builder/components/code-generator.d.ts +1 -1
  201. package/lib/ele-crud-builder/components/code-preview.d.ts +1 -1
  202. package/lib/ele-crud-builder/components/form-design-modal.d.ts +1 -1
  203. package/lib/ele-crud-builder/components/import-modal.d.ts +1 -1
  204. package/lib/ele-crud-builder/components/page-config.d.ts +1 -1
  205. package/lib/ele-crud-builder/components/template-list.d.ts +1 -1
  206. package/lib/ele-crud-builder/index.cjs +3 -3
  207. package/lib/ele-crud-builder/index.d.ts +3 -3
  208. package/lib/ele-crud-builder/props.d.ts +2 -1
  209. package/lib/ele-crud-builder/types.d.ts +1 -1
  210. package/lib/ele-crud-builder/util.cjs +2 -2
  211. package/lib/ele-data-table/index.cjs +6 -3
  212. package/lib/ele-data-table/index.d.ts +38 -44
  213. package/lib/ele-data-table/props.d.ts +39 -45
  214. package/lib/ele-drawer/index.cjs +15 -14
  215. package/lib/ele-drawer/index.d.ts +2 -2
  216. package/lib/ele-drawer/props.cjs +4 -0
  217. package/lib/ele-drawer/props.d.ts +6 -0
  218. package/lib/ele-dropdown/components/pro-dropdown.d.ts +26 -26
  219. package/lib/ele-dropdown/index.d.ts +30 -30
  220. package/lib/ele-dropdown/props.d.ts +12 -12
  221. package/lib/ele-dropdown/types.d.ts +1 -1
  222. package/lib/ele-edit-tag/index.d.ts +1 -1
  223. package/lib/ele-ellipsis/props.d.ts +1 -1
  224. package/lib/ele-file-list/components/file-grid.cjs +1 -1
  225. package/lib/ele-file-list/components/file-grid.d.ts +1 -1
  226. package/lib/ele-file-list/components/file-table.cjs +1 -1
  227. package/lib/ele-file-list/components/file-table.d.ts +1 -1
  228. package/lib/ele-file-list/icons.cjs +10 -1
  229. package/lib/ele-file-list/types.d.ts +1 -1
  230. package/lib/ele-icon-select/index.cjs +3 -1
  231. package/lib/ele-icon-select/index.d.ts +5 -1
  232. package/lib/ele-icon-select/props.cjs +4 -0
  233. package/lib/ele-icon-select/props.d.ts +7 -2
  234. package/lib/ele-image-viewer/index.cjs +12 -14
  235. package/lib/ele-image-viewer/index.d.ts +2 -16
  236. package/lib/ele-image-viewer/props.d.ts +1 -8
  237. package/lib/ele-loading/index.cjs +5 -5
  238. package/lib/ele-map-picker/index.d.ts +2 -4
  239. package/lib/ele-mention/index.d.ts +29 -8
  240. package/lib/ele-mention/props.d.ts +9 -0
  241. package/lib/ele-menus/types.d.ts +2 -0
  242. package/lib/ele-menus/util.cjs +1 -1
  243. package/lib/ele-modal/index.cjs +36 -35
  244. package/lib/ele-modal/index.d.ts +4 -4
  245. package/lib/ele-popconfirm/index.cjs +5 -20
  246. package/lib/ele-popconfirm/index.d.ts +95 -96
  247. package/lib/ele-popconfirm/props.d.ts +32 -32
  248. package/lib/ele-popover/index.d.ts +72 -72
  249. package/lib/ele-printer/index.cjs +7 -7
  250. package/lib/ele-printer/index.d.ts +2 -2
  251. package/lib/ele-pro-form/components/render-util.d.ts +2 -2
  252. package/lib/ele-pro-form/index.d.ts +2 -2
  253. package/lib/ele-pro-form/props.d.ts +1 -1
  254. package/lib/ele-pro-form-builder/components/body-form.d.ts +1 -1
  255. package/lib/ele-pro-form-builder/components/body-header.d.ts +1 -1
  256. package/lib/ele-pro-form-builder/components/code-generator.d.ts +1 -1
  257. package/lib/ele-pro-form-builder/components/code-preview.d.ts +1 -1
  258. package/lib/ele-pro-form-builder/components/config-form.d.ts +1 -1
  259. package/lib/ele-pro-form-builder/components/import-modal.d.ts +1 -1
  260. package/lib/ele-pro-form-builder/components/preview-modal.d.ts +1 -1
  261. package/lib/ele-pro-form-builder/components/props-form.d.ts +1 -1
  262. package/lib/ele-pro-form-builder/components/table-util.cjs +3 -0
  263. package/lib/ele-pro-form-builder/components/template-list.d.ts +1 -1
  264. package/lib/ele-pro-form-builder/index.d.ts +1 -1
  265. package/lib/ele-pro-form-builder/props.d.ts +2 -1
  266. package/lib/ele-pro-form-builder/types.d.ts +1 -1
  267. package/lib/ele-pro-layout/index.d.ts +29 -29
  268. package/lib/ele-pro-layout/props.d.ts +12 -12
  269. package/lib/ele-pro-layout/style/index.scss +0 -2
  270. package/lib/ele-pro-layout/types.d.ts +2 -0
  271. package/lib/ele-pro-table/components/table-tools.d.ts +1 -1
  272. package/lib/ele-pro-table/components/tool-export.d.ts +2 -2
  273. package/lib/ele-pro-table/components/tool-print.d.ts +1 -1
  274. package/lib/ele-pro-table/index.cjs +10 -15
  275. package/lib/ele-pro-table/index.d.ts +40 -46
  276. package/lib/ele-pro-table/props.d.ts +18 -21
  277. package/lib/ele-pro-table/style/css-var.scss +4 -0
  278. package/lib/ele-pro-table/style/index.scss +2 -2
  279. package/lib/ele-radio-group/index.d.ts +2 -2
  280. package/lib/ele-segmented/index.d.ts +2 -2
  281. package/lib/ele-segmented/props.d.ts +1 -1
  282. package/lib/ele-segmented/style/index.scss +1 -0
  283. package/lib/ele-select/index.d.ts +9 -9
  284. package/lib/ele-select/props.cjs +1 -1
  285. package/lib/ele-select/props.d.ts +1 -1
  286. package/lib/ele-select-tree/index.d.ts +7 -7
  287. package/lib/ele-select-tree/props.cjs +1 -1
  288. package/lib/ele-select-tree/props.d.ts +1 -1
  289. package/lib/ele-split-panel/index.cjs +1 -1
  290. package/lib/ele-steps/types.d.ts +1 -1
  291. package/lib/ele-tab-bar/index.cjs +1 -0
  292. package/lib/ele-tab-bar/index.d.ts +4 -2
  293. package/lib/ele-tab-bar/props.cjs +4 -2
  294. package/lib/ele-tab-bar/props.d.ts +3 -1
  295. package/lib/ele-tab-bar/style/index.scss +1 -0
  296. package/lib/ele-table-select/props.cjs +1 -1
  297. package/lib/ele-table-select/props.d.ts +2 -2
  298. package/lib/ele-tabs/index.d.ts +16 -12
  299. package/lib/ele-tabs/style/index.scss +1 -0
  300. package/lib/ele-tabs/types.d.ts +1 -1
  301. package/lib/ele-timeline/types.d.ts +3 -3
  302. package/lib/ele-tooltip/index.d.ts +53 -53
  303. package/lib/ele-tour/index.cjs +7 -7
  304. package/lib/ele-transfer/index.d.ts +1 -1
  305. package/lib/ele-tree-select/index.d.ts +1 -1
  306. package/lib/ele-tree-select/props.d.ts +1 -1
  307. package/lib/ele-upload-list/components/list-item.cjs +1 -0
  308. package/lib/ele-upload-list/components/list-item.d.ts +3 -0
  309. package/lib/ele-upload-list/types.d.ts +1 -1
  310. package/lib/ele-virtual-table/index.d.ts +38 -44
  311. package/lib/ele-virtual-table/props.d.ts +19 -22
  312. package/lib/ele-watermark/index.cjs +7 -4
  313. package/lib/ele-watermark/util.cjs +12 -3
  314. package/lib/ele-watermark/util.d.ts +2 -0
  315. package/lib/style/themes/default.scss +6 -0
  316. package/lib/style/themes/rounded.scss +3 -0
  317. package/lib/style/themes/transparent.scss +3 -0
  318. package/lib/utils/common.cjs +10 -0
  319. package/lib/utils/common.d.ts +10 -0
  320. package/lib/utils/core.cjs +10 -1
  321. package/lib/utils/core.d.ts +6 -0
  322. package/lib/utils/menu-util.cjs +1 -0
  323. package/package.json +3 -2
@@ -1,7 +1,13 @@
1
1
  declare function __VLS_template(): {
2
- head?(_: {}): any;
3
- side?(_: {}): any;
4
- tabs?(_: {}): any;
2
+ head?(_: {
3
+ params: any;
4
+ }): any;
5
+ side?(_: {
6
+ params: any;
7
+ }): any;
8
+ tabs?(_: {
9
+ params: any;
10
+ }): any;
5
11
  body?(_: {}): any;
6
12
  default?(_: {}): any;
7
13
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, normalizeClass, renderSlot, createVNode, withCtx, createElementVNode } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, normalizeClass, renderSlot, createVNode, unref, withCtx, createElementVNode } from "vue";
2
2
  import ReceiverView from "../../ele-config-provider/components/receiver-view";
3
3
  const _hoisted_1 = { class: "ele-admin-body" };
4
4
  const _hoisted_2 = { class: "ele-admin-wrapper" };
@@ -15,14 +15,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  class: normalizeClass(["ele-admin-layout", { "is-row-direction": !__props.isHeaderLogo }])
16
16
  }, [
17
17
  __props.isHeaderLogo ? renderSlot(_ctx.$slots, "head", { key: 0 }) : renderSlot(_ctx.$slots, "side", { key: 1 }),
18
- createVNode(ReceiverView, {
18
+ createVNode(unref(ReceiverView), {
19
19
  class: normalizeClass(["ele-admin-main", { "is-row-direction": __props.isHeaderLogo }]),
20
20
  wrapPosition: false
21
21
  }, {
22
- default: withCtx(() => [
23
- __props.isHeaderLogo ? renderSlot(_ctx.$slots, "side", { key: 0 }) : renderSlot(_ctx.$slots, "head", { key: 1 }),
22
+ default: withCtx((slotProps) => [
23
+ __props.isHeaderLogo ? renderSlot(_ctx.$slots, "side", {
24
+ key: 0,
25
+ params: slotProps
26
+ }) : renderSlot(_ctx.$slots, "head", {
27
+ key: 1,
28
+ params: slotProps
29
+ }),
24
30
  createElementVNode("div", _hoisted_1, [
25
- renderSlot(_ctx.$slots, "tabs"),
31
+ renderSlot(_ctx.$slots, "tabs", { params: slotProps }),
26
32
  createElementVNode("div", _hoisted_2, [
27
33
  renderSlot(_ctx.$slots, "body")
28
34
  ])
@@ -35,11 +35,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
35
35
  tabContextMenus: PropType<ContextMenus>;
36
36
  /** 是否支持拖动排序 */
37
37
  tabSortable: BooleanConstructor;
38
+ /** 是否禁用 */
39
+ disabled: BooleanConstructor;
38
40
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
39
41
  tabContextMenu: (_option: TabEventOption) => void;
42
+ tabSortChange: (_data: TabPaneItem[]) => void;
40
43
  tabClick: (_option: TabEventOption) => void;
41
44
  tabRemove: (_name: string) => void;
42
- tabSortChange: (_data: TabPaneItem[]) => void;
43
45
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
44
46
  /** 页签数据 */
45
47
  tabs: PropType<TabPaneItem[]>;
@@ -59,12 +61,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
59
61
  tabContextMenus: PropType<ContextMenus>;
60
62
  /** 是否支持拖动排序 */
61
63
  tabSortable: BooleanConstructor;
64
+ /** 是否禁用 */
65
+ disabled: BooleanConstructor;
62
66
  }>> & Readonly<{
63
67
  onTabContextMenu?: ((_option: TabEventOption) => any) | undefined;
68
+ onTabSortChange?: ((_data: TabPaneItem[]) => any) | undefined;
64
69
  onTabClick?: ((_option: TabEventOption) => any) | undefined;
65
70
  onTabRemove?: ((_name: string) => any) | undefined;
66
- onTabSortChange?: ((_data: TabPaneItem[]) => any) | undefined;
67
71
  }>, {
72
+ disabled: boolean;
68
73
  fixedHome: boolean;
69
74
  isHome: boolean;
70
75
  tabSortable: boolean;
@@ -25,7 +25,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25
25
  /** 右键菜单 */
26
26
  tabContextMenus: [Array, Function],
27
27
  /** 是否支持拖动排序 */
28
- tabSortable: Boolean
28
+ tabSortable: Boolean,
29
+ /** 是否禁用 */
30
+ disabled: Boolean
29
31
  },
30
32
  emits: {
31
33
  tabClick: (_option) => true,
@@ -53,7 +55,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
53
55
  class: "ele-admin-tabs"
54
56
  }, {
55
57
  default: withCtx(() => [
56
- __props.fixedHome ? (openBlock(), createBlock(EleTabTool, {
58
+ __props.fixedHome || __props.disabled ? (openBlock(), createBlock(EleTabTool, {
57
59
  key: 0,
58
60
  tab: true,
59
61
  active: __props.isHome,
@@ -74,7 +76,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
74
76
  ]),
75
77
  _: 3
76
78
  }, 8, ["active", "tabName"])) : createCommentVNode("", true),
77
- __props.tabs ? (openBlock(), createBlock(EleTabs, {
79
+ __props.tabs && !__props.disabled ? (openBlock(), createBlock(EleTabs, {
78
80
  key: 1,
79
81
  items: __props.tabs,
80
82
  modelValue: __props.active,
@@ -96,7 +98,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
96
98
  key: "0"
97
99
  } : void 0
98
100
  ]), 1032, ["items", "modelValue", "sortable", "contextMenu", "contextMenus"])) : createCommentVNode("", true),
99
- renderSlot(_ctx.$slots, "tabExtra", { active: __props.active })
101
+ !__props.disabled ? renderSlot(_ctx.$slots, "tabExtra", {
102
+ key: 2,
103
+ active: __props.active
104
+ }) : createCommentVNode("", true)
100
105
  ]),
101
106
  _: 3
102
107
  }, 8, ["type"]);
@@ -16,12 +16,10 @@ const _hoisted_3 = {
16
16
  key: 2,
17
17
  class: "ele-admin-breadcrumb"
18
18
  };
19
- const _hoisted_4 = {
20
- key: 5,
21
- class: "ele-admin-tools"
22
- };
19
+ const _hoisted_4 = ["data-tool-id"];
23
20
  const _hoisted_5 = ["src"];
24
- const _hoisted_6 = ["src"];
21
+ const _hoisted_6 = ["data-side-id"];
22
+ const _hoisted_7 = ["src"];
25
23
  const _sfc_main = /* @__PURE__ */ defineComponent({
26
24
  ...{ name: "EleAdminLayout" },
27
25
  __name: "index",
@@ -111,7 +109,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
111
109
  };
112
110
  const sidebarScrollToActive = () => {
113
111
  stopSidebarMenuTimer();
114
- if (!props.menuScrollToActive || sidebarMenuRef.value == null || isCollapseMobile.value || isMixSidebar.value && isCollapseSidebar.value) {
112
+ if (!isFixedSidebar.value || !props.menuScrollToActive || sidebarMenuRef.value == null || isCollapseMobile.value || isMixSidebar.value && isCollapseSidebar.value) {
115
113
  return;
116
114
  }
117
115
  startSidebarMenuTimer(() => {
@@ -120,7 +118,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
120
118
  };
121
119
  const sideboxScrollToActive = () => {
122
120
  stopSideboxMenuTimer();
123
- if (!props.menuScrollToActive || sideboxMenuRef.value == null || isCollapseMobile.value) {
121
+ if (!isFixedSidebar.value || !props.menuScrollToActive || sideboxMenuRef.value == null || isCollapseMobile.value) {
124
122
  return;
125
123
  }
126
124
  startSideboxMenuTimer(() => {
@@ -289,7 +287,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
289
287
  height: _ctx.fixedBody ? layoutHeight.value : void 0
290
288
  })
291
289
  }, {
292
- head: withCtx(() => [
290
+ head: withCtx(({ params }) => [
293
291
  !isSideLayout.value ? (openBlock(), createElementBlock("div", {
294
292
  key: 0,
295
293
  class: normalizeClass([
@@ -390,12 +388,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
390
388
  };
391
389
  })
392
390
  ]), 1032, ["tabs", "active", "fixedHome", "homePath", "isHome", "tabStyle", "tabContextMenu", "tabContextMenus", "tabSortable", "class", "style"])) : createCommentVNode("", true),
393
- _ctx.$slots.right ? (openBlock(), createElementBlock("div", _hoisted_4, [
391
+ _ctx.$slots.right ? (openBlock(), createElementBlock("div", {
392
+ key: 5,
393
+ class: "ele-admin-tools",
394
+ "data-tool-id": params == null ? void 0 : params.viewId
395
+ }, [
394
396
  renderSlot(_ctx.$slots, "right")
395
- ])) : createCommentVNode("", true)
397
+ ], 8, _hoisted_4)) : createCommentVNode("", true)
396
398
  ], 38)) : createCommentVNode("", true)
397
399
  ]),
398
- side: withCtx(() => [
400
+ side: withCtx(({ params }) => [
399
401
  !isTopLayout.value ? (openBlock(), createElementBlock("div", {
400
402
  key: 0,
401
403
  class: normalizeClass([
@@ -438,7 +440,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
438
440
  renderSlot(_ctx.$slots, "boxTop"),
439
441
  createVNode(unref(ElScrollbar), {
440
442
  class: "ele-admin-menus",
441
- style: normalizeStyle(_ctx.sideboxMenusStyle)
443
+ style: normalizeStyle(_ctx.sideboxMenusStyle),
444
+ "data-menu-id": params == null ? void 0 : params.viewId
442
445
  }, {
443
446
  default: withCtx(() => [
444
447
  _ctx.sideboxMenus ? (openBlock(), createBlock(EleMenus, mergeProps({
@@ -473,8 +476,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
473
476
  } : void 0
474
477
  ]), 1040, ["theme", "defaultActive", "collapse", "items"])) : createCommentVNode("", true)
475
478
  ]),
476
- _: 3
477
- }, 8, ["style"]),
479
+ _: 2
480
+ }, 1032, ["style", "data-menu-id"]),
478
481
  renderSlot(_ctx.$slots, "boxBottom")
479
482
  ], 38)) : createCommentVNode("", true),
480
483
  !isBoxSidebar.value ? (openBlock(), createElementBlock("div", {
@@ -489,6 +492,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
489
492
  "show-divider": isMixSidebar.value && isDarkMixSidebar.value && isDarkSidebar.value
490
493
  }
491
494
  ]),
495
+ "data-side-id": params == null ? void 0 : params.viewId,
492
496
  style: normalizeStyle(_ctx.sidebarCustomStyle),
493
497
  onMouseenter: handleSideMouseEnter,
494
498
  onMouseleave: handleSideMouseLeave
@@ -510,7 +514,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
510
514
  onClick: handleLogoClick
511
515
  }, [
512
516
  _ctx.logoSrc || _ctx.$slots.logo ? renderSlot(_ctx.$slots, "logo", { key: 0 }, () => [
513
- createElementVNode("img", { src: _ctx.logoSrc }, null, 8, _hoisted_6)
517
+ createElementVNode("img", { src: _ctx.logoSrc }, null, 8, _hoisted_7)
514
518
  ]) : createCommentVNode("", true),
515
519
  _ctx.logoTitle || _ctx.$slots.logoTitle ? renderSlot(_ctx.$slots, "logoTitle", { key: 1 }, () => [
516
520
  createElementVNode("h1", null, toDisplayString(_ctx.logoTitle), 1)
@@ -556,10 +560,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
556
560
  _: 3
557
561
  }, 8, ["style"]),
558
562
  renderSlot(_ctx.$slots, "bottom")
559
- ], 38)) : createCommentVNode("", true)
563
+ ], 46, _hoisted_6)) : createCommentVNode("", true)
560
564
  ], 6)) : createCommentVNode("", true)
561
565
  ]),
562
- tabs: withCtx(() => [
566
+ tabs: withCtx(({ params }) => [
563
567
  _ctx.tabBar && !showHeaderTabs.value ? (openBlock(), createBlock(LayoutTabs, {
564
568
  key: 0,
565
569
  tabs: _ctx.tabs,
@@ -571,6 +575,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
571
575
  tabContextMenu: _ctx.tabContextMenu,
572
576
  tabContextMenus: _ctx.tabContextMenus,
573
577
  tabSortable: _ctx.tabSortable,
578
+ disabled: !(params == null ? void 0 : params.text),
574
579
  class: normalizeClass([
575
580
  { "is-fixed-home": _ctx.fixedHome },
576
581
  { "is-fixed": isFixedHeader.value },
@@ -592,7 +597,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
592
597
  ])
593
598
  };
594
599
  })
595
- ]), 1032, ["tabs", "active", "fixedHome", "homePath", "isHome", "tabStyle", "tabContextMenu", "tabContextMenus", "tabSortable", "class", "style"])) : createCommentVNode("", true)
600
+ ]), 1032, ["tabs", "active", "fixedHome", "homePath", "isHome", "tabStyle", "tabContextMenu", "tabContextMenus", "tabSortable", "disabled", "class", "style"])) : createCommentVNode("", true)
596
601
  ]),
597
602
  body: withCtx(() => [
598
603
  createElementVNode("div", {
@@ -1,10 +1,10 @@
1
- import { defineComponent, useSlots, ref, computed, createBlock, openBlock, Transition, withCtx, createElementBlock, createCommentVNode, normalizeClass, createElementVNode, renderSlot, normalizeStyle, createVNode, unref, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString, mergeProps } from "vue";
1
+ import { defineComponent, useSlots, ref, computed, createBlock, openBlock, Transition, withCtx, createElementBlock, createCommentVNode, mergeProps, createElementVNode, renderSlot, normalizeStyle, createVNode, unref, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString } from "vue";
2
2
  import { ElIcon } from "element-plus";
3
3
  import { CheckCircleFilled, ExclamationCircleFilled, CloseCircleFilled, InfoCircleFilled, CloseOutlined } from "../icons/index";
4
4
  import { alertEmits, alertProps } from "./props";
5
5
  const _hoisted_1 = { key: 0 };
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
- ...{ name: "EleAlert" },
7
+ ...{ name: "EleAlert", inheritAttrs: false },
8
8
  __name: "index",
9
9
  props: alertProps,
10
10
  emits: alertEmits,
@@ -35,9 +35,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  return (_ctx, _cache) => {
36
36
  return openBlock(), createBlock(Transition, { name: _ctx.transitionName }, {
37
37
  default: withCtx(() => [
38
- visible.value ? (openBlock(), createElementBlock("div", {
39
- key: 0,
40
- class: normalizeClass([
38
+ visible.value ? (openBlock(), createElementBlock("div", mergeProps({ key: 0 }, _ctx.$attrs, {
39
+ class: [
41
40
  "ele-alert",
42
41
  { "is-success": _ctx.type === "success" },
43
42
  { "is-warning": _ctx.type === "warning" },
@@ -45,8 +44,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
45
44
  { "is-dark": _ctx.effect === "dark" },
46
45
  { "is-center": _ctx.center },
47
46
  { "is-rich": isRich.value }
48
- ])
49
- }, [
47
+ ]
48
+ }), [
50
49
  _ctx.showIcon ? (openBlock(), createElementBlock("div", {
51
50
  key: 0,
52
51
  class: "ele-alert-icon",
@@ -100,7 +99,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
100
99
  }, 16))
101
100
  ])
102
101
  ], 4)) : createCommentVNode("", true)
103
- ], 2)) : createCommentVNode("", true)
102
+ ], 16)) : createCommentVNode("", true)
104
103
  ]),
105
104
  _: 3
106
105
  }, 8, ["name"]);
@@ -341,7 +341,9 @@ export type ElStepProps = ComponentProps<StepProps>;
341
341
  */
342
342
  export type ElTableInstance = InstanceType<typeof ElTable> | null;
343
343
 
344
- export type ElTableProps<T> = ComponentProps<TableProps<T>>;
344
+ export type ElTableProps<T extends Record<PropertyKey, any>> = ComponentProps<
345
+ TableProps<T>
346
+ >;
345
347
 
346
348
  export type ElColumnProps = Partial<ExtractPropTypes<typeof columnProps>>;
347
349
 
@@ -1,14 +1,12 @@
1
1
  import type EleAdminLayout from '../ele-admin-layout/index';
2
2
  import type { BacktopProps } from '../ele-backtop/props';
3
3
  import type EleBasicSelect from '../ele-basic-select/index';
4
+ import type EleBasicSelectView from '../ele-basic-select/components/select-view';
4
5
  import type { BreadcrumbProps } from '../ele-breadcrumb/props';
5
- import type { CropperProps } from '../ele-cropper/props';
6
6
  import type { CardProps } from '../ele-card/props';
7
- import type EleCrud from '../ele-crud/index';
8
- import type { CrudProps } from '../ele-crud/props';
9
- import type EleCrudBuilder from '../ele-crud-builder/index';
10
7
  import type EleDataTable from '../ele-data-table/index';
11
8
  import type { DataTableProps } from '../ele-data-table/props';
9
+ import type { DrawerProps } from '../ele-drawer/props';
12
10
  import type EleDropdown from '../ele-dropdown/index';
13
11
  import type { DropdownProps } from '../ele-dropdown/props';
14
12
  import type { FileListProps } from '../ele-file-list/props';
@@ -25,10 +23,6 @@ import type { PopconfirmProps } from '../ele-popconfirm/props';
25
23
  import type ElePopover from '../ele-popover/index';
26
24
  import type { PopoverProps } from '../ele-popover/props';
27
25
  import type { PrinterProps } from '../ele-printer/props';
28
- import type EleProForm from '../ele-pro-form/index';
29
- import type { ProFormProps } from '../ele-pro-form/props';
30
- import type EleProFormBuilder from '../ele-pro-form-builder/index';
31
- import type { ProFormBuilderProps } from '../ele-pro-form-builder/props';
32
26
  import type EleProTable from '../ele-pro-table/index';
33
27
  import type { ProTableProps } from '../ele-pro-table/props';
34
28
  import type EleSplitPanel from '../ele-split-panel/index';
@@ -49,6 +43,7 @@ import type ReceiverView from '../ele-config-provider/components/receiver-view';
49
43
  import type { MessageOptions } from '../utils/message';
50
44
  import type { MessageBoxOptions } from '../utils/message-box';
51
45
  import type { ComponentProps } from './types';
46
+ export type * from './plusx';
52
47
 
53
48
  /**
54
49
  * EleAdminLayout
@@ -65,6 +60,10 @@ export type EleBacktopProps = ComponentProps<BacktopProps>;
65
60
  */
66
61
  export type EleBasicSelectInstance = InstanceType<typeof EleBasicSelect> | null;
67
62
 
63
+ export type EleBasicSelectViewInstance = InstanceType<
64
+ typeof EleBasicSelectView
65
+ > | null;
66
+
68
67
  /**
69
68
  * EleBreadcrumb
70
69
  */
@@ -80,23 +79,6 @@ export type EleCardProps = ComponentProps<CardProps>;
80
79
  */
81
80
  export type ReceiverViewInstance = InstanceType<typeof ReceiverView> | null;
82
81
 
83
- /**
84
- * EleCropper
85
- */
86
- export type EleCropperProps = ComponentProps<CropperProps>;
87
-
88
- /**
89
- * EleCrud
90
- */
91
- export type EleCrudInstance = InstanceType<typeof EleCrud> | null;
92
-
93
- export type EleCrudProps = ComponentProps<CrudProps>;
94
-
95
- /**
96
- * EleCrud
97
- */
98
- export type EleCrudBuilderInstance = InstanceType<typeof EleCrudBuilder> | null;
99
-
100
82
  /**
101
83
  * EleDataTable
102
84
  */
@@ -104,6 +86,11 @@ export type EleDataTableInstance = InstanceType<typeof EleDataTable> | null;
104
86
 
105
87
  export type EleDataTableProps = ComponentProps<DataTableProps>;
106
88
 
89
+ /**
90
+ * EleDrawer
91
+ */
92
+ export type EleDrawerProps = ComponentProps<DrawerProps>;
93
+
107
94
  /**
108
95
  * EleDropdown
109
96
  */
@@ -169,22 +156,6 @@ export type ElePopoverProps = Partial<PopoverProps>;
169
156
  */
170
157
  export type ElePrinterProps = ComponentProps<PrinterProps>;
171
158
 
172
- /**
173
- * EleProForm
174
- */
175
- export type EleProFormInstance = InstanceType<typeof EleProForm> | null;
176
-
177
- export type EleProFormProps = ComponentProps<ProFormProps>;
178
-
179
- /**
180
- * EleProFormBuilder
181
- */
182
- export type EleProFormBuilderInstance = InstanceType<
183
- typeof EleProFormBuilder
184
- > | null;
185
-
186
- export type EleProFormBuilderProps = ComponentProps<ProFormBuilderProps>;
187
-
188
159
  /**
189
160
  * EleProTable
190
161
  */
@@ -0,0 +1,40 @@
1
+ import { CropperProps } from '../ele-cropper/props';
2
+ import { default as CropperPreview } from '../ele-cropper/components/cropper-preview';
3
+ import { default as EleCrud } from '../ele-crud/index';
4
+ import { CrudProps } from '../ele-crud/props';
5
+ import { default as EleCrudBuilder } from '../ele-crud-builder/index';
6
+ import { default as MapView } from '../ele-map-picker/components/map-view';
7
+ import { default as EleProForm } from '../ele-pro-form/index';
8
+ import { ProFormProps } from '../ele-pro-form/props';
9
+ import { default as EleProFormBuilder } from '../ele-pro-form-builder/index';
10
+ import { ProFormBuilderProps } from '../ele-pro-form-builder/props';
11
+ import { ComponentProps } from './types';
12
+
13
+ /**
14
+ * EleCropper
15
+ */
16
+ export type EleCropperProps = ComponentProps<CropperProps>;
17
+ export type EleCropperPreviewInstance = InstanceType<typeof CropperPreview> | null;
18
+ /**
19
+ * EleCrud
20
+ */
21
+ export type EleCrudInstance = InstanceType<typeof EleCrud> | null;
22
+ export type EleCrudProps = ComponentProps<CrudProps>;
23
+ /**
24
+ * EleCrudBuilder
25
+ */
26
+ export type EleCrudBuilderInstance = InstanceType<typeof EleCrudBuilder> | null;
27
+ /**
28
+ * EleMapPicker
29
+ */
30
+ export type EleMapPickerViewInstance = InstanceType<typeof MapView> | null;
31
+ /**
32
+ * EleProForm
33
+ */
34
+ export type EleProFormInstance = InstanceType<typeof EleProForm> | null;
35
+ export type EleProFormProps = ComponentProps<ProFormProps>;
36
+ /**
37
+ * EleProFormBuilder
38
+ */
39
+ export type EleProFormBuilderInstance = InstanceType<typeof EleProFormBuilder> | null;
40
+ export type EleProFormBuilderProps = ComponentProps<ProFormBuilderProps>;
@@ -852,7 +852,7 @@
852
852
  }
853
853
 
854
854
  .el-popper.is-light.el-picker__popper {
855
- max-width: calc(100% - 32px);
855
+ max-width: calc(100vw - 32px);
856
856
  }
857
857
 
858
858
  /* 日期选择小屏幕自适应 */