ele-admin-plus 1.1.9-beta.9 → 1.2.0-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 (759) hide show
  1. package/es/core-export.d.ts +1 -0
  2. package/es/core-export.js +1 -0
  3. package/es/core-installer.d.ts +2 -2
  4. package/es/ele-alert/index.d.ts +23 -23
  5. package/es/ele-alert/index.js +2 -2
  6. package/es/ele-alert/props.d.ts +10 -9
  7. package/es/ele-app/components/message-body.d.ts +39 -0
  8. package/es/ele-app/components/message-body.js +92 -0
  9. package/es/ele-app/el.d.ts +4 -1
  10. package/es/ele-app/index.d.ts +2 -2
  11. package/es/ele-app/style/message/css-var.scss +0 -4
  12. package/es/ele-app/style/message/index.scss +199 -77
  13. package/es/ele-app/style/overwrite/date-picker/index.scss +32 -5
  14. package/es/ele-app/style/overwrite/input/index.scss +2 -0
  15. package/es/ele-app/style/overwrite/message-box/index.scss +31 -0
  16. package/es/ele-app/style/overwrite/tag/css-var.scss +0 -16
  17. package/es/ele-app/style/overwrite/tag/index.scss +57 -14
  18. package/es/ele-app/types.d.ts +6 -1
  19. package/es/ele-avatar-group/index.d.ts +29 -28
  20. package/es/ele-avatar-group/props.d.ts +10 -9
  21. package/es/ele-bar-code/index.d.ts +11 -10
  22. package/es/ele-bar-code/props.d.ts +4 -3
  23. package/es/ele-basic-select/index.d.ts +37 -35
  24. package/es/ele-basic-select/index.js +24 -7
  25. package/es/ele-basic-select/props.d.ts +9 -8
  26. package/es/ele-basic-select/util.d.ts +2 -1
  27. package/es/ele-bottom-bar/index.d.ts +6 -6
  28. package/es/ele-bottom-bar/props.d.ts +4 -3
  29. package/es/ele-breadcrumb/index.d.ts +11 -10
  30. package/es/ele-breadcrumb/props.d.ts +5 -4
  31. package/es/ele-card/index.d.ts +12 -12
  32. package/es/ele-card/props.d.ts +7 -6
  33. package/es/ele-check-card/components/card-item.d.ts +7 -6
  34. package/es/ele-check-card/index.d.ts +15 -14
  35. package/es/ele-check-card/props.d.ts +6 -5
  36. package/es/ele-config-provider/components/receiver-view.d.ts +3 -3
  37. package/es/ele-config-provider/components/receiver-view.js +120 -31
  38. package/es/ele-config-provider/index.d.ts +13 -9
  39. package/es/ele-config-provider/index.js +19 -5
  40. package/es/ele-config-provider/props.d.ts +12 -6
  41. package/es/ele-config-provider/props.js +9 -5
  42. package/es/ele-config-provider/receiver.d.ts +6 -10
  43. package/es/ele-config-provider/receiver.js +32 -117
  44. package/es/ele-config-provider/types.d.ts +25 -30
  45. package/es/ele-copyable/index.d.ts +32 -31
  46. package/es/ele-copyable/props.d.ts +9 -8
  47. package/es/ele-count-up/index.d.ts +8 -7
  48. package/es/ele-count-up/props.d.ts +3 -2
  49. package/es/ele-cropper/components/cropper-preview.d.ts +3 -3
  50. package/es/ele-cropper/components/cropper-tools.d.ts +12 -11
  51. package/es/ele-cropper/index.d.ts +16 -15
  52. package/es/ele-cropper/props.d.ts +4 -3
  53. package/es/ele-cropper-modal/index.d.ts +16 -15
  54. package/es/ele-cropper-modal/index.js +1 -1
  55. package/es/ele-cropper-modal/props.d.ts +7 -6
  56. package/es/ele-dashboard/index.d.ts +5 -5
  57. package/es/ele-dashboard/props.d.ts +3 -2
  58. package/es/ele-data-table/index.d.ts +63 -68
  59. package/es/ele-data-table/props.d.ts +36 -41
  60. package/es/ele-data-table/types.d.ts +10 -16
  61. package/es/ele-data-table/util.d.ts +10 -9
  62. package/es/ele-dot/index.d.ts +4 -4
  63. package/es/ele-dot/props.d.ts +3 -2
  64. package/es/ele-drawer/index.d.ts +76 -72
  65. package/es/ele-drawer/index.js +107 -113
  66. package/es/ele-drawer/props.d.ts +26 -25
  67. package/es/ele-drawer/style/index.scss +48 -105
  68. package/es/ele-dropdown/index.d.ts +66 -65
  69. package/es/ele-dropdown/props.d.ts +22 -21
  70. package/es/ele-edit-tag/index.d.ts +40 -34
  71. package/es/ele-edit-tag/index.js +5 -3
  72. package/es/ele-edit-tag/props.d.ts +12 -9
  73. package/es/ele-edit-tag/props.js +2 -0
  74. package/es/ele-edit-tag/style/index.scss +11 -4
  75. package/es/ele-ellipsis/index.d.ts +23 -22
  76. package/es/ele-ellipsis/props.d.ts +8 -7
  77. package/es/ele-file-list/components/file-grid-item.d.ts +13 -12
  78. package/es/ele-file-list/components/file-grid-item.js +1 -1
  79. package/es/ele-file-list/components/file-grid.d.ts +10 -9
  80. package/es/ele-file-list/components/file-sort.d.ts +2 -2
  81. package/es/ele-file-list/components/file-table-item.d.ts +13 -12
  82. package/es/ele-file-list/components/file-table-item.js +1 -1
  83. package/es/ele-file-list/components/file-table.d.ts +10 -9
  84. package/es/ele-file-list/icons.d.ts +2 -1
  85. package/es/ele-file-list/index.d.ts +36 -35
  86. package/es/ele-file-list/props.d.ts +6 -5
  87. package/es/ele-file-list-tool/index.d.ts +3 -3
  88. package/es/ele-icon-select/components/icon-grid.d.ts +15 -14
  89. package/es/ele-icon-select/components/icon-grid.js +1 -1
  90. package/es/ele-icon-select/index.d.ts +59 -60
  91. package/es/ele-icon-select/props.d.ts +18 -17
  92. package/es/ele-loading/index.d.ts +12 -15
  93. package/es/ele-loading/index.js +10 -16
  94. package/es/ele-loading/props.d.ts +5 -4
  95. package/es/ele-map-picker/components/map-view.d.ts +29 -28
  96. package/es/ele-map-picker/components/map-view.js +1 -1
  97. package/es/ele-map-picker/index.d.ts +27 -26
  98. package/es/ele-map-picker/index.js +1 -1
  99. package/es/ele-map-picker/props.d.ts +8 -7
  100. package/es/ele-menus/index.d.ts +62 -63
  101. package/es/ele-menus/index.js +12 -1
  102. package/es/ele-menus/props.d.ts +16 -17
  103. package/es/ele-menus/props.js +1 -3
  104. package/es/ele-menus/style/css-var.scss +1 -5
  105. package/es/ele-menus/util.d.ts +3 -2
  106. package/es/ele-modal/index.d.ts +77 -70
  107. package/es/ele-modal/index.js +164 -186
  108. package/es/ele-modal/props.d.ts +26 -23
  109. package/es/ele-modal/props.js +2 -0
  110. package/es/ele-modal/style/index.scss +87 -146
  111. package/es/ele-modal/util.d.ts +20 -45
  112. package/es/ele-modal/util.js +54 -180
  113. package/es/ele-page/index.d.ts +2 -2
  114. package/es/ele-page/props.d.ts +2 -1
  115. package/es/ele-pagination/index.d.ts +40 -31
  116. package/es/ele-pagination/index.js +4 -1
  117. package/es/ele-pagination/props.d.ts +17 -11
  118. package/es/ele-pagination/props.js +5 -0
  119. package/es/ele-popconfirm/index.d.ts +93 -92
  120. package/es/ele-popconfirm/index.js +6 -28
  121. package/es/ele-popconfirm/props.d.ts +33 -32
  122. package/es/ele-popover/index.d.ts +71 -70
  123. package/es/ele-popover/index.js +6 -14
  124. package/es/ele-popover/props.d.ts +26 -25
  125. package/es/ele-printer/index.d.ts +18 -18
  126. package/es/ele-printer/props.d.ts +6 -5
  127. package/es/ele-printer/util.d.ts +2 -1
  128. package/es/ele-pro-layout/components/header-tool.d.ts +1 -1
  129. package/es/ele-pro-layout/components/pro-header.d.ts +85 -29
  130. package/es/ele-pro-layout/components/pro-header.js +110 -20
  131. package/es/ele-pro-layout/components/pro-iframe.d.ts +7 -7
  132. package/es/ele-pro-layout/components/pro-iframe.js +31 -41
  133. package/es/ele-pro-layout/components/pro-sidebar.d.ts +15 -19
  134. package/es/ele-pro-layout/components/pro-sidebar.js +2 -5
  135. package/es/ele-pro-layout/components/pro-sidebox.d.ts +16 -20
  136. package/es/ele-pro-layout/components/pro-sidebox.js +2 -5
  137. package/es/ele-pro-layout/components/pro-tabs.d.ts +12 -11
  138. package/es/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
  139. package/es/ele-pro-layout/components/tab-dropdown.d.ts +8 -7
  140. package/es/ele-pro-layout/components/tab-dropdown.js +1 -1
  141. package/es/ele-pro-layout/index.d.ts +97 -97
  142. package/es/ele-pro-layout/index.js +63 -48
  143. package/es/ele-pro-layout/props.d.ts +11 -13
  144. package/es/ele-pro-layout/props.js +2 -4
  145. package/es/ele-pro-layout/style/css-var.scss +3 -18
  146. package/es/ele-pro-layout/style/header.scss +74 -9
  147. package/es/ele-pro-layout/style/layout-mobile.scss +2 -2
  148. package/es/ele-pro-layout/style/layout-style.scss +8 -3
  149. package/es/ele-pro-layout/style/layout-theme.scss +48 -23
  150. package/es/ele-pro-layout/style/layout.scss +38 -8
  151. package/es/ele-pro-layout/style/sidebar.scss +0 -1
  152. package/es/ele-pro-layout/style/tabs.scss +19 -11
  153. package/es/ele-pro-layout/types.d.ts +5 -5
  154. package/es/ele-pro-layout/util.d.ts +6 -6
  155. package/es/ele-pro-layout/util.js +2 -3
  156. package/es/ele-pro-table/components/table-tools.d.ts +33 -23
  157. package/es/ele-pro-table/components/table-tools.js +14 -26
  158. package/es/ele-pro-table/components/tool-column-list.d.ts +6 -5
  159. package/es/ele-pro-table/components/tool-column-list.js +3 -7
  160. package/es/ele-pro-table/components/tool-column.d.ts +15 -13
  161. package/es/ele-pro-table/components/tool-column.js +3 -7
  162. package/es/ele-pro-table/components/tool-export.d.ts +52 -357
  163. package/es/ele-pro-table/components/tool-export.js +109 -63
  164. package/es/ele-pro-table/components/tool-print-body-cell.d.ts +13 -12
  165. package/es/ele-pro-table/components/tool-print-body-cell.js +50 -6
  166. package/es/ele-pro-table/components/tool-print-header-cell.d.ts +13 -12
  167. package/es/ele-pro-table/components/tool-print-header-cell.js +4 -1
  168. package/es/ele-pro-table/components/tool-print.d.ts +56 -794
  169. package/es/ele-pro-table/components/tool-print.js +198 -85
  170. package/es/ele-pro-table/index.d.ts +131 -143
  171. package/es/ele-pro-table/index.js +110 -79
  172. package/es/ele-pro-table/props.d.ts +44 -46
  173. package/es/ele-pro-table/style/index.scss +9 -0
  174. package/es/ele-pro-table/types.d.ts +45 -0
  175. package/es/ele-pro-table/util.d.ts +42 -23
  176. package/es/ele-pro-table/util.js +206 -53
  177. package/es/ele-qr-code/index.d.ts +16 -15
  178. package/es/ele-qr-code/props.d.ts +4 -3
  179. package/es/ele-qr-code/util.d.ts +3 -2
  180. package/es/ele-qr-code-svg/index.d.ts +18 -18
  181. package/es/ele-segmented/index.d.ts +10 -9
  182. package/es/ele-segmented/props.d.ts +3 -2
  183. package/es/ele-split-panel/index.d.ts +18 -17
  184. package/es/ele-split-panel/props.d.ts +5 -4
  185. package/es/ele-steps/index.d.ts +33 -33
  186. package/es/ele-steps/props.d.ts +10 -9
  187. package/es/ele-tab-tool/index.d.ts +2 -2
  188. package/es/ele-tab-tool/props.d.ts +2 -1
  189. package/es/ele-tab-wrap/index.d.ts +6 -6
  190. package/es/ele-tab-wrap/index.js +2 -1
  191. package/es/ele-tab-wrap/props.d.ts +3 -2
  192. package/es/ele-table/index.d.ts +4 -4
  193. package/es/ele-table/props.d.ts +3 -2
  194. package/es/ele-table/style/index.scss +16 -0
  195. package/es/ele-table-select/index.d.ts +45 -43
  196. package/es/ele-table-select/index.js +29 -27
  197. package/es/ele-table-select/props.d.ts +11 -10
  198. package/es/ele-tabs/components/tab-title.d.ts +9 -8
  199. package/es/ele-tabs/index.d.ts +43 -55
  200. package/es/ele-tabs/index.js +1 -0
  201. package/es/ele-tabs/props.d.ts +17 -23
  202. package/es/ele-tabs/style/css-var.scss +1 -30
  203. package/es/ele-tabs/style/index.scss +372 -241
  204. package/es/ele-tabs/types.d.ts +2 -1
  205. package/es/ele-text/index.d.ts +12 -12
  206. package/es/ele-text/props.d.ts +5 -4
  207. package/es/ele-tool/index.d.ts +7 -7
  208. package/es/ele-tool/props.d.ts +3 -2
  209. package/es/ele-toolbar/index.d.ts +15 -15
  210. package/es/ele-toolbar/props.d.ts +7 -6
  211. package/es/ele-tooltip/index.d.ts +62 -61
  212. package/es/ele-tooltip/index.js +3 -0
  213. package/es/ele-tooltip/props.d.ts +28 -22
  214. package/es/ele-tooltip/props.js +2 -0
  215. package/es/ele-tour/index.d.ts +15 -14
  216. package/es/ele-tour/props.d.ts +3 -2
  217. package/es/ele-tour/util.d.ts +3 -2
  218. package/es/ele-tree-select/index.d.ts +37 -36
  219. package/es/ele-tree-select/props.d.ts +12 -11
  220. package/es/ele-tree-select/util.d.ts +3 -2
  221. package/es/ele-upload-list/components/list-item.d.ts +7 -6
  222. package/es/ele-upload-list/index.d.ts +26 -25
  223. package/es/ele-upload-list/props.d.ts +6 -5
  224. package/es/ele-virtual-table/components/body-cell.d.ts +100 -64
  225. package/es/ele-virtual-table/components/body-cell.js +52 -70
  226. package/es/ele-virtual-table/components/body-row.d.ts +89 -65
  227. package/es/ele-virtual-table/components/body-row.js +57 -52
  228. package/es/ele-virtual-table/components/cell-checkbox.d.ts +5 -4
  229. package/es/ele-virtual-table/components/cell-filter.d.ts +18 -17
  230. package/es/ele-virtual-table/components/cell-filter.js +8 -12
  231. package/es/ele-virtual-table/components/expand-row.d.ts +11 -10
  232. package/es/ele-virtual-table/components/expand-row.js +3 -3
  233. package/es/ele-virtual-table/components/footer-row.d.ts +36 -17
  234. package/es/ele-virtual-table/components/footer-row.js +19 -14
  235. package/es/ele-virtual-table/components/header-cell.d.ts +16 -15
  236. package/es/ele-virtual-table/components/header-row.d.ts +12 -11
  237. package/es/ele-virtual-table/index.d.ts +91 -100
  238. package/es/ele-virtual-table/index.js +134 -136
  239. package/es/ele-virtual-table/props.d.ts +49 -51
  240. package/es/ele-virtual-table/style/index.scss +1 -1
  241. package/es/ele-virtual-table/types.d.ts +88 -68
  242. package/es/ele-virtual-table/util.d.ts +16 -12
  243. package/es/ele-virtual-table/util.js +32 -24
  244. package/es/ele-watermark/index.d.ts +15 -14
  245. package/es/ele-watermark/props.d.ts +4 -3
  246. package/es/ele-watermark/util.d.ts +3 -2
  247. package/es/ele-xg-player/index.d.ts +10 -10
  248. package/es/icons/AnalysisOutlined.d.ts +1 -1
  249. package/es/icons/ApplicationOutlined.d.ts +1 -1
  250. package/es/icons/AppstoreAddOutlined.d.ts +1 -1
  251. package/es/icons/AppstoreOutlined.d.ts +1 -1
  252. package/es/icons/ArrowDown.d.ts +1 -1
  253. package/es/icons/ArrowDownOutlined.d.ts +1 -1
  254. package/es/icons/ArrowLeft.d.ts +1 -1
  255. package/es/icons/ArrowLeftOutlined.d.ts +1 -1
  256. package/es/icons/ArrowRight.d.ts +1 -1
  257. package/es/icons/ArrowRightOutlined.d.ts +1 -1
  258. package/es/icons/ArrowUp.d.ts +1 -1
  259. package/es/icons/ArrowUpOutlined.d.ts +1 -1
  260. package/es/icons/BellOutlined.d.ts +1 -1
  261. package/es/icons/BookOutlined.d.ts +1 -1
  262. package/es/icons/CalendarOutlined.d.ts +1 -1
  263. package/es/icons/CaretDownFilled.d.ts +1 -1
  264. package/es/icons/CaretUpFilled.d.ts +1 -1
  265. package/es/icons/CheckCircleFilled.d.ts +1 -1
  266. package/es/icons/CheckCircleOutlined.d.ts +1 -1
  267. package/es/icons/CheckOutlined.d.ts +1 -1
  268. package/es/icons/CityOutlined.d.ts +1 -1
  269. package/es/icons/ClockCircleOutlined.d.ts +1 -1
  270. package/es/icons/CloseCircleFilled.d.ts +1 -1
  271. package/es/icons/CloseCircleOutlined.d.ts +1 -1
  272. package/es/icons/CloseOutlined.d.ts +1 -1
  273. package/es/icons/CloudUploadOutlined.d.ts +1 -1
  274. package/es/icons/ClusterOutlined.d.ts +1 -1
  275. package/es/icons/CodeOutlined.d.ts +1 -1
  276. package/es/icons/ColumnHeightOutlined.d.ts +1 -1
  277. package/es/icons/CompassOutlined.d.ts +1 -1
  278. package/es/icons/CompressOutlined.d.ts +1 -1
  279. package/es/icons/ConnectionOutlined.d.ts +1 -1
  280. package/es/icons/ControlOutlined.d.ts +1 -1
  281. package/es/icons/CopyOutlined.d.ts +1 -1
  282. package/es/icons/CpuOutlined.d.ts +1 -1
  283. package/es/icons/DashboardOutlined.d.ts +1 -1
  284. package/es/icons/DatabaseOutlined.d.ts +1 -1
  285. package/es/icons/DeleteOutlined.d.ts +1 -1
  286. package/es/icons/DesktopOutlined.d.ts +1 -1
  287. package/es/icons/DownloadOutlined.d.ts +1 -1
  288. package/es/icons/DragOutlined.d.ts +1 -1
  289. package/es/icons/EditOutlined.d.ts +1 -1
  290. package/es/icons/EllipsisOutlined.d.ts +1 -1
  291. package/es/icons/EnvironmentOutlined.d.ts +1 -1
  292. package/es/icons/ExclamationCircleFilled.d.ts +1 -1
  293. package/es/icons/ExpandOutlined.d.ts +1 -1
  294. package/es/icons/FileOutlined.d.ts +1 -1
  295. package/es/icons/FilterFilled.d.ts +1 -1
  296. package/es/icons/FolderAddOutlined.d.ts +1 -1
  297. package/es/icons/FolderOutlined.d.ts +1 -1
  298. package/es/icons/FormOutlined.d.ts +1 -1
  299. package/es/icons/FullscreenExitOutlined.d.ts +1 -1
  300. package/es/icons/FullscreenOutlined.d.ts +1 -1
  301. package/es/icons/FundOutlined.d.ts +1 -1
  302. package/es/icons/GlobalOutlined.d.ts +1 -1
  303. package/es/icons/HolderOutlined.d.ts +1 -1
  304. package/es/icons/HomeOutlined.d.ts +1 -1
  305. package/es/icons/IdcardOutlined.d.ts +1 -1
  306. package/es/icons/InfoCircleFilled.d.ts +1 -1
  307. package/es/icons/LinkOutlined.d.ts +1 -1
  308. package/es/icons/LoadingDotOutlined.d.ts +1 -1
  309. package/es/icons/LoadingOutlined.d.ts +1 -1
  310. package/es/icons/LoadingOutlined.js +1 -1
  311. package/es/icons/LockOutlined.d.ts +1 -1
  312. package/es/icons/LogOutlined.d.ts +1 -1
  313. package/es/icons/LogoutOutlined.d.ts +1 -1
  314. package/es/icons/MailOutlined.d.ts +1 -1
  315. package/es/icons/MenuFoldOutlined.d.ts +1 -1
  316. package/es/icons/MenuUnfoldOutlined.d.ts +1 -1
  317. package/es/icons/MessageOutlined.d.ts +1 -1
  318. package/es/icons/MinusCircleOutlined.d.ts +1 -1
  319. package/es/icons/MobileOutlined.d.ts +1 -1
  320. package/es/icons/MoonOutlined.d.ts +1 -1
  321. package/es/icons/MoreOutlined.d.ts +1 -1
  322. package/es/icons/PauseFilled.d.ts +1 -1
  323. package/es/icons/PieChartOutlined.d.ts +1 -1
  324. package/es/icons/PlayFilled.d.ts +1 -1
  325. package/es/icons/PlusCircleOutlined.d.ts +1 -1
  326. package/es/icons/PlusOutlined.d.ts +1 -1
  327. package/es/icons/PrinterOutlined.d.ts +1 -1
  328. package/es/icons/ProtectOutlined.d.ts +1 -1
  329. package/es/icons/QuestionCircleFilled.d.ts +1 -1
  330. package/es/icons/QuestionCircleOutlined.d.ts +1 -1
  331. package/es/icons/ReloadOutlined.d.ts +1 -1
  332. package/es/icons/ResizeOutlined.d.ts +2 -0
  333. package/es/icons/ResizeOutlined.js +30 -0
  334. package/es/icons/SearchOutlined.d.ts +1 -1
  335. package/es/icons/SettingOutlined.d.ts +1 -1
  336. package/es/icons/ShoppingOutlined.d.ts +1 -1
  337. package/es/icons/SortOutlined.d.ts +1 -1
  338. package/es/icons/StarFilled.d.ts +1 -1
  339. package/es/icons/StepBackwardFilled.d.ts +1 -1
  340. package/es/icons/StepForwardFilled.d.ts +1 -1
  341. package/es/icons/SuitcaseOutlined.d.ts +1 -1
  342. package/es/icons/SunOutlined.d.ts +1 -1
  343. package/es/icons/SwapOutlined.d.ts +1 -1
  344. package/es/icons/SyncOutlined.d.ts +1 -1
  345. package/es/icons/TableOutlined.d.ts +1 -1
  346. package/es/icons/TagOutlined.d.ts +1 -1
  347. package/es/icons/TimerOutlined.d.ts +1 -1
  348. package/es/icons/UndoOutlined.d.ts +1 -1
  349. package/es/icons/UnlockOutlined.d.ts +1 -1
  350. package/es/icons/UploadOutlined.d.ts +1 -1
  351. package/es/icons/UserOutlined.d.ts +1 -1
  352. package/es/icons/VerticalAlignMiddleOutlined.d.ts +1 -1
  353. package/es/icons/VerticalLeftOutlined.d.ts +1 -1
  354. package/es/icons/VerticalRightOutlined.d.ts +1 -1
  355. package/es/icons/WarningOutlined.d.ts +1 -1
  356. package/es/icons/ZoomInOutlined.d.ts +1 -1
  357. package/es/icons/ZoomOutOutlined.d.ts +1 -1
  358. package/es/icons/index.d.ts +1 -0
  359. package/es/icons/index.js +50 -48
  360. package/es/installer.d.ts +2 -2
  361. package/es/lang/en_US.d.ts +2 -2
  362. package/es/lang/en_US.js +7 -1
  363. package/es/lang/zh_CN.d.ts +2 -2
  364. package/es/lang/zh_CN.js +7 -1
  365. package/es/lang/zh_TW.d.ts +2 -2
  366. package/es/lang/zh_TW.js +7 -1
  367. package/es/style/nprogress.scss +1 -0
  368. package/es/style/themes/dark.scss +9 -15
  369. package/es/style/themes/default.scss +140 -166
  370. package/es/style/themes/rounded.scss +27 -45
  371. package/es/utils/core.d.ts +7 -0
  372. package/es/utils/core.js +16 -2
  373. package/es/utils/menu-util.d.ts +3 -2
  374. package/es/utils/menu-util.js +2 -5
  375. package/es/utils/message-box.d.ts +25 -0
  376. package/es/utils/message-box.js +71 -0
  377. package/es/utils/message.d.ts +45 -20
  378. package/es/utils/message.js +220 -37
  379. package/es/utils/resolvers.d.ts +2 -2
  380. package/lib/core-export.cjs +8 -0
  381. package/lib/core-export.d.ts +1 -0
  382. package/lib/core-installer.d.ts +2 -2
  383. package/lib/ele-alert/index.cjs +2 -2
  384. package/lib/ele-alert/index.d.ts +23 -23
  385. package/lib/ele-alert/props.d.ts +10 -9
  386. package/lib/ele-app/components/message-body.cjs +91 -0
  387. package/lib/ele-app/components/message-body.d.ts +39 -0
  388. package/lib/ele-app/el.d.ts +4 -1
  389. package/lib/ele-app/index.d.ts +2 -2
  390. package/lib/ele-app/style/message/css-var.scss +0 -4
  391. package/lib/ele-app/style/message/index.scss +199 -77
  392. package/lib/ele-app/style/overwrite/date-picker/index.scss +32 -5
  393. package/lib/ele-app/style/overwrite/input/index.scss +2 -0
  394. package/lib/ele-app/style/overwrite/message-box/index.scss +31 -0
  395. package/lib/ele-app/style/overwrite/tag/css-var.scss +0 -16
  396. package/lib/ele-app/style/overwrite/tag/index.scss +57 -14
  397. package/lib/ele-app/types.d.ts +6 -1
  398. package/lib/ele-avatar-group/index.d.ts +29 -28
  399. package/lib/ele-avatar-group/props.d.ts +10 -9
  400. package/lib/ele-bar-code/index.d.ts +11 -10
  401. package/lib/ele-bar-code/props.d.ts +4 -3
  402. package/lib/ele-basic-select/index.cjs +23 -6
  403. package/lib/ele-basic-select/index.d.ts +37 -35
  404. package/lib/ele-basic-select/props.d.ts +9 -8
  405. package/lib/ele-basic-select/util.d.ts +2 -1
  406. package/lib/ele-bottom-bar/index.d.ts +6 -6
  407. package/lib/ele-bottom-bar/props.d.ts +4 -3
  408. package/lib/ele-breadcrumb/index.d.ts +11 -10
  409. package/lib/ele-breadcrumb/props.d.ts +5 -4
  410. package/lib/ele-card/index.d.ts +12 -12
  411. package/lib/ele-card/props.d.ts +7 -6
  412. package/lib/ele-check-card/components/card-item.d.ts +7 -6
  413. package/lib/ele-check-card/index.d.ts +15 -14
  414. package/lib/ele-check-card/props.d.ts +6 -5
  415. package/lib/ele-config-provider/components/receiver-view.cjs +2 -44
  416. package/lib/ele-config-provider/components/receiver-view.d.ts +3 -3
  417. package/lib/ele-config-provider/index.cjs +18 -4
  418. package/lib/ele-config-provider/index.d.ts +13 -9
  419. package/lib/ele-config-provider/props.cjs +9 -5
  420. package/lib/ele-config-provider/props.d.ts +12 -6
  421. package/lib/ele-config-provider/receiver.cjs +41 -2
  422. package/lib/ele-config-provider/receiver.d.ts +6 -10
  423. package/lib/ele-config-provider/types.d.ts +25 -30
  424. package/lib/ele-copyable/index.d.ts +32 -31
  425. package/lib/ele-copyable/props.d.ts +9 -8
  426. package/lib/ele-count-up/index.d.ts +8 -7
  427. package/lib/ele-count-up/props.d.ts +3 -2
  428. package/lib/ele-cropper/components/cropper-preview.d.ts +3 -3
  429. package/lib/ele-cropper/components/cropper-tools.d.ts +12 -11
  430. package/lib/ele-cropper/index.d.ts +16 -15
  431. package/lib/ele-cropper/props.d.ts +4 -3
  432. package/lib/ele-cropper-modal/index.cjs +1 -1
  433. package/lib/ele-cropper-modal/index.d.ts +16 -15
  434. package/lib/ele-cropper-modal/props.d.ts +7 -6
  435. package/lib/ele-dashboard/index.d.ts +5 -5
  436. package/lib/ele-dashboard/props.d.ts +3 -2
  437. package/lib/ele-data-table/index.d.ts +63 -68
  438. package/lib/ele-data-table/props.d.ts +36 -41
  439. package/lib/ele-data-table/types.d.ts +10 -16
  440. package/lib/ele-data-table/util.d.ts +10 -9
  441. package/lib/ele-dot/index.d.ts +4 -4
  442. package/lib/ele-dot/props.d.ts +3 -2
  443. package/lib/ele-drawer/index.cjs +105 -111
  444. package/lib/ele-drawer/index.d.ts +76 -72
  445. package/lib/ele-drawer/props.d.ts +26 -25
  446. package/lib/ele-drawer/style/index.scss +48 -105
  447. package/lib/ele-dropdown/index.d.ts +66 -65
  448. package/lib/ele-dropdown/props.d.ts +22 -21
  449. package/lib/ele-edit-tag/index.cjs +5 -3
  450. package/lib/ele-edit-tag/index.d.ts +40 -34
  451. package/lib/ele-edit-tag/props.cjs +2 -0
  452. package/lib/ele-edit-tag/props.d.ts +12 -9
  453. package/lib/ele-edit-tag/style/index.scss +11 -4
  454. package/lib/ele-ellipsis/index.d.ts +23 -22
  455. package/lib/ele-ellipsis/props.d.ts +8 -7
  456. package/lib/ele-file-list/components/file-grid-item.cjs +1 -1
  457. package/lib/ele-file-list/components/file-grid-item.d.ts +13 -12
  458. package/lib/ele-file-list/components/file-grid.d.ts +10 -9
  459. package/lib/ele-file-list/components/file-sort.d.ts +2 -2
  460. package/lib/ele-file-list/components/file-table-item.cjs +1 -1
  461. package/lib/ele-file-list/components/file-table-item.d.ts +13 -12
  462. package/lib/ele-file-list/components/file-table.d.ts +10 -9
  463. package/lib/ele-file-list/icons.d.ts +2 -1
  464. package/lib/ele-file-list/index.d.ts +36 -35
  465. package/lib/ele-file-list/props.d.ts +6 -5
  466. package/lib/ele-file-list-tool/index.d.ts +3 -3
  467. package/lib/ele-icon-select/components/icon-grid.cjs +1 -1
  468. package/lib/ele-icon-select/components/icon-grid.d.ts +15 -14
  469. package/lib/ele-icon-select/index.d.ts +59 -60
  470. package/lib/ele-icon-select/props.d.ts +18 -17
  471. package/lib/ele-loading/index.cjs +9 -15
  472. package/lib/ele-loading/index.d.ts +12 -15
  473. package/lib/ele-loading/props.d.ts +5 -4
  474. package/lib/ele-map-picker/components/map-view.cjs +1 -1
  475. package/lib/ele-map-picker/components/map-view.d.ts +29 -28
  476. package/lib/ele-map-picker/index.cjs +1 -1
  477. package/lib/ele-map-picker/index.d.ts +27 -26
  478. package/lib/ele-map-picker/props.d.ts +8 -7
  479. package/lib/ele-menus/index.cjs +12 -1
  480. package/lib/ele-menus/index.d.ts +62 -63
  481. package/lib/ele-menus/props.cjs +1 -3
  482. package/lib/ele-menus/props.d.ts +16 -17
  483. package/lib/ele-menus/style/css-var.scss +1 -5
  484. package/lib/ele-menus/util.d.ts +3 -2
  485. package/lib/ele-modal/index.cjs +176 -198
  486. package/lib/ele-modal/index.d.ts +77 -70
  487. package/lib/ele-modal/props.cjs +2 -0
  488. package/lib/ele-modal/props.d.ts +26 -23
  489. package/lib/ele-modal/style/index.scss +87 -146
  490. package/lib/ele-modal/util.cjs +53 -179
  491. package/lib/ele-modal/util.d.ts +20 -45
  492. package/lib/ele-page/index.d.ts +2 -2
  493. package/lib/ele-page/props.d.ts +2 -1
  494. package/lib/ele-pagination/index.cjs +4 -1
  495. package/lib/ele-pagination/index.d.ts +40 -31
  496. package/lib/ele-pagination/props.cjs +5 -0
  497. package/lib/ele-pagination/props.d.ts +17 -11
  498. package/lib/ele-popconfirm/index.cjs +5 -27
  499. package/lib/ele-popconfirm/index.d.ts +93 -92
  500. package/lib/ele-popconfirm/props.d.ts +33 -32
  501. package/lib/ele-popover/index.cjs +5 -13
  502. package/lib/ele-popover/index.d.ts +71 -70
  503. package/lib/ele-popover/props.d.ts +26 -25
  504. package/lib/ele-printer/index.d.ts +18 -18
  505. package/lib/ele-printer/props.d.ts +6 -5
  506. package/lib/ele-printer/util.d.ts +2 -1
  507. package/lib/ele-pro-layout/components/header-tool.d.ts +1 -1
  508. package/lib/ele-pro-layout/components/pro-header.cjs +109 -19
  509. package/lib/ele-pro-layout/components/pro-header.d.ts +85 -29
  510. package/lib/ele-pro-layout/components/pro-iframe.cjs +30 -40
  511. package/lib/ele-pro-layout/components/pro-iframe.d.ts +7 -7
  512. package/lib/ele-pro-layout/components/pro-sidebar.cjs +2 -5
  513. package/lib/ele-pro-layout/components/pro-sidebar.d.ts +15 -19
  514. package/lib/ele-pro-layout/components/pro-sidebox.cjs +2 -5
  515. package/lib/ele-pro-layout/components/pro-sidebox.d.ts +16 -20
  516. package/lib/ele-pro-layout/components/pro-tabs.d.ts +12 -11
  517. package/lib/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
  518. package/lib/ele-pro-layout/components/tab-dropdown.cjs +1 -1
  519. package/lib/ele-pro-layout/components/tab-dropdown.d.ts +8 -7
  520. package/lib/ele-pro-layout/index.cjs +62 -47
  521. package/lib/ele-pro-layout/index.d.ts +97 -97
  522. package/lib/ele-pro-layout/props.cjs +2 -4
  523. package/lib/ele-pro-layout/props.d.ts +11 -13
  524. package/lib/ele-pro-layout/style/css-var.scss +3 -18
  525. package/lib/ele-pro-layout/style/header.scss +74 -9
  526. package/lib/ele-pro-layout/style/layout-mobile.scss +2 -2
  527. package/lib/ele-pro-layout/style/layout-style.scss +8 -3
  528. package/lib/ele-pro-layout/style/layout-theme.scss +48 -23
  529. package/lib/ele-pro-layout/style/layout.scss +38 -8
  530. package/lib/ele-pro-layout/style/sidebar.scss +0 -1
  531. package/lib/ele-pro-layout/style/tabs.scss +19 -11
  532. package/lib/ele-pro-layout/types.d.ts +5 -5
  533. package/lib/ele-pro-layout/util.cjs +2 -3
  534. package/lib/ele-pro-layout/util.d.ts +6 -6
  535. package/lib/ele-pro-table/components/table-tools.cjs +14 -26
  536. package/lib/ele-pro-table/components/table-tools.d.ts +33 -23
  537. package/lib/ele-pro-table/components/tool-column-list.cjs +2 -6
  538. package/lib/ele-pro-table/components/tool-column-list.d.ts +6 -5
  539. package/lib/ele-pro-table/components/tool-column.cjs +2 -6
  540. package/lib/ele-pro-table/components/tool-column.d.ts +15 -13
  541. package/lib/ele-pro-table/components/tool-export.cjs +107 -61
  542. package/lib/ele-pro-table/components/tool-export.d.ts +52 -357
  543. package/lib/ele-pro-table/components/tool-print-body-cell.cjs +49 -5
  544. package/lib/ele-pro-table/components/tool-print-body-cell.d.ts +13 -12
  545. package/lib/ele-pro-table/components/tool-print-header-cell.cjs +4 -1
  546. package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +13 -12
  547. package/lib/ele-pro-table/components/tool-print.cjs +195 -82
  548. package/lib/ele-pro-table/components/tool-print.d.ts +56 -794
  549. package/lib/ele-pro-table/index.cjs +108 -77
  550. package/lib/ele-pro-table/index.d.ts +131 -143
  551. package/lib/ele-pro-table/props.d.ts +44 -46
  552. package/lib/ele-pro-table/style/index.scss +9 -0
  553. package/lib/ele-pro-table/types.d.ts +45 -0
  554. package/lib/ele-pro-table/util.cjs +205 -52
  555. package/lib/ele-pro-table/util.d.ts +42 -23
  556. package/lib/ele-qr-code/index.d.ts +16 -15
  557. package/lib/ele-qr-code/props.d.ts +4 -3
  558. package/lib/ele-qr-code/util.d.ts +3 -2
  559. package/lib/ele-qr-code-svg/index.d.ts +18 -18
  560. package/lib/ele-segmented/index.d.ts +10 -9
  561. package/lib/ele-segmented/props.d.ts +3 -2
  562. package/lib/ele-split-panel/index.d.ts +18 -17
  563. package/lib/ele-split-panel/props.d.ts +5 -4
  564. package/lib/ele-steps/index.d.ts +33 -33
  565. package/lib/ele-steps/props.d.ts +10 -9
  566. package/lib/ele-tab-tool/index.d.ts +2 -2
  567. package/lib/ele-tab-tool/props.d.ts +2 -1
  568. package/lib/ele-tab-wrap/index.cjs +2 -1
  569. package/lib/ele-tab-wrap/index.d.ts +6 -6
  570. package/lib/ele-tab-wrap/props.d.ts +3 -2
  571. package/lib/ele-table/index.d.ts +4 -4
  572. package/lib/ele-table/props.d.ts +3 -2
  573. package/lib/ele-table/style/index.scss +16 -0
  574. package/lib/ele-table-select/index.cjs +29 -27
  575. package/lib/ele-table-select/index.d.ts +45 -43
  576. package/lib/ele-table-select/props.d.ts +11 -10
  577. package/lib/ele-tabs/components/tab-title.d.ts +9 -8
  578. package/lib/ele-tabs/index.cjs +1 -0
  579. package/lib/ele-tabs/index.d.ts +43 -55
  580. package/lib/ele-tabs/props.d.ts +17 -23
  581. package/lib/ele-tabs/style/css-var.scss +1 -30
  582. package/lib/ele-tabs/style/index.scss +372 -241
  583. package/lib/ele-tabs/types.d.ts +2 -1
  584. package/lib/ele-text/index.d.ts +12 -12
  585. package/lib/ele-text/props.d.ts +5 -4
  586. package/lib/ele-tool/index.d.ts +7 -7
  587. package/lib/ele-tool/props.d.ts +3 -2
  588. package/lib/ele-toolbar/index.d.ts +15 -15
  589. package/lib/ele-toolbar/props.d.ts +7 -6
  590. package/lib/ele-tooltip/index.cjs +3 -0
  591. package/lib/ele-tooltip/index.d.ts +62 -61
  592. package/lib/ele-tooltip/props.cjs +2 -0
  593. package/lib/ele-tooltip/props.d.ts +28 -22
  594. package/lib/ele-tour/index.d.ts +15 -14
  595. package/lib/ele-tour/props.d.ts +3 -2
  596. package/lib/ele-tour/util.d.ts +3 -2
  597. package/lib/ele-tree-select/index.d.ts +37 -36
  598. package/lib/ele-tree-select/props.d.ts +12 -11
  599. package/lib/ele-tree-select/util.d.ts +3 -2
  600. package/lib/ele-upload-list/components/list-item.d.ts +7 -6
  601. package/lib/ele-upload-list/index.d.ts +26 -25
  602. package/lib/ele-upload-list/props.d.ts +6 -5
  603. package/lib/ele-virtual-table/components/body-cell.cjs +52 -70
  604. package/lib/ele-virtual-table/components/body-cell.d.ts +100 -64
  605. package/lib/ele-virtual-table/components/body-row.cjs +57 -52
  606. package/lib/ele-virtual-table/components/body-row.d.ts +89 -65
  607. package/lib/ele-virtual-table/components/cell-checkbox.d.ts +5 -4
  608. package/lib/ele-virtual-table/components/cell-filter.cjs +7 -11
  609. package/lib/ele-virtual-table/components/cell-filter.d.ts +18 -17
  610. package/lib/ele-virtual-table/components/expand-row.cjs +3 -3
  611. package/lib/ele-virtual-table/components/expand-row.d.ts +11 -10
  612. package/lib/ele-virtual-table/components/footer-row.cjs +19 -14
  613. package/lib/ele-virtual-table/components/footer-row.d.ts +36 -17
  614. package/lib/ele-virtual-table/components/header-cell.d.ts +16 -15
  615. package/lib/ele-virtual-table/components/header-row.d.ts +12 -11
  616. package/lib/ele-virtual-table/index.cjs +132 -134
  617. package/lib/ele-virtual-table/index.d.ts +91 -100
  618. package/lib/ele-virtual-table/props.d.ts +49 -51
  619. package/lib/ele-virtual-table/style/index.scss +1 -1
  620. package/lib/ele-virtual-table/types.d.ts +88 -68
  621. package/lib/ele-virtual-table/util.cjs +32 -24
  622. package/lib/ele-virtual-table/util.d.ts +16 -12
  623. package/lib/ele-watermark/index.d.ts +15 -14
  624. package/lib/ele-watermark/props.d.ts +4 -3
  625. package/lib/ele-watermark/util.d.ts +3 -2
  626. package/lib/ele-xg-player/index.d.ts +10 -10
  627. package/lib/icons/AnalysisOutlined.d.ts +1 -1
  628. package/lib/icons/ApplicationOutlined.d.ts +1 -1
  629. package/lib/icons/AppstoreAddOutlined.d.ts +1 -1
  630. package/lib/icons/AppstoreOutlined.d.ts +1 -1
  631. package/lib/icons/ArrowDown.d.ts +1 -1
  632. package/lib/icons/ArrowDownOutlined.d.ts +1 -1
  633. package/lib/icons/ArrowLeft.d.ts +1 -1
  634. package/lib/icons/ArrowLeftOutlined.d.ts +1 -1
  635. package/lib/icons/ArrowRight.d.ts +1 -1
  636. package/lib/icons/ArrowRightOutlined.d.ts +1 -1
  637. package/lib/icons/ArrowUp.d.ts +1 -1
  638. package/lib/icons/ArrowUpOutlined.d.ts +1 -1
  639. package/lib/icons/BellOutlined.d.ts +1 -1
  640. package/lib/icons/BookOutlined.d.ts +1 -1
  641. package/lib/icons/CalendarOutlined.d.ts +1 -1
  642. package/lib/icons/CaretDownFilled.d.ts +1 -1
  643. package/lib/icons/CaretUpFilled.d.ts +1 -1
  644. package/lib/icons/CheckCircleFilled.d.ts +1 -1
  645. package/lib/icons/CheckCircleOutlined.d.ts +1 -1
  646. package/lib/icons/CheckOutlined.d.ts +1 -1
  647. package/lib/icons/CityOutlined.d.ts +1 -1
  648. package/lib/icons/ClockCircleOutlined.d.ts +1 -1
  649. package/lib/icons/CloseCircleFilled.d.ts +1 -1
  650. package/lib/icons/CloseCircleOutlined.d.ts +1 -1
  651. package/lib/icons/CloseOutlined.d.ts +1 -1
  652. package/lib/icons/CloudUploadOutlined.d.ts +1 -1
  653. package/lib/icons/ClusterOutlined.d.ts +1 -1
  654. package/lib/icons/CodeOutlined.d.ts +1 -1
  655. package/lib/icons/ColumnHeightOutlined.d.ts +1 -1
  656. package/lib/icons/CompassOutlined.d.ts +1 -1
  657. package/lib/icons/CompressOutlined.d.ts +1 -1
  658. package/lib/icons/ConnectionOutlined.d.ts +1 -1
  659. package/lib/icons/ControlOutlined.d.ts +1 -1
  660. package/lib/icons/CopyOutlined.d.ts +1 -1
  661. package/lib/icons/CpuOutlined.d.ts +1 -1
  662. package/lib/icons/DashboardOutlined.d.ts +1 -1
  663. package/lib/icons/DatabaseOutlined.d.ts +1 -1
  664. package/lib/icons/DeleteOutlined.d.ts +1 -1
  665. package/lib/icons/DesktopOutlined.d.ts +1 -1
  666. package/lib/icons/DownloadOutlined.d.ts +1 -1
  667. package/lib/icons/DragOutlined.d.ts +1 -1
  668. package/lib/icons/EditOutlined.d.ts +1 -1
  669. package/lib/icons/EllipsisOutlined.d.ts +1 -1
  670. package/lib/icons/EnvironmentOutlined.d.ts +1 -1
  671. package/lib/icons/ExclamationCircleFilled.d.ts +1 -1
  672. package/lib/icons/ExpandOutlined.d.ts +1 -1
  673. package/lib/icons/FileOutlined.d.ts +1 -1
  674. package/lib/icons/FilterFilled.d.ts +1 -1
  675. package/lib/icons/FolderAddOutlined.d.ts +1 -1
  676. package/lib/icons/FolderOutlined.d.ts +1 -1
  677. package/lib/icons/FormOutlined.d.ts +1 -1
  678. package/lib/icons/FullscreenExitOutlined.d.ts +1 -1
  679. package/lib/icons/FullscreenOutlined.d.ts +1 -1
  680. package/lib/icons/FundOutlined.d.ts +1 -1
  681. package/lib/icons/GlobalOutlined.d.ts +1 -1
  682. package/lib/icons/HolderOutlined.d.ts +1 -1
  683. package/lib/icons/HomeOutlined.d.ts +1 -1
  684. package/lib/icons/IdcardOutlined.d.ts +1 -1
  685. package/lib/icons/InfoCircleFilled.d.ts +1 -1
  686. package/lib/icons/LinkOutlined.d.ts +1 -1
  687. package/lib/icons/LoadingDotOutlined.d.ts +1 -1
  688. package/lib/icons/LoadingOutlined.cjs +1 -1
  689. package/lib/icons/LoadingOutlined.d.ts +1 -1
  690. package/lib/icons/LockOutlined.d.ts +1 -1
  691. package/lib/icons/LogOutlined.d.ts +1 -1
  692. package/lib/icons/LogoutOutlined.d.ts +1 -1
  693. package/lib/icons/MailOutlined.d.ts +1 -1
  694. package/lib/icons/MenuFoldOutlined.d.ts +1 -1
  695. package/lib/icons/MenuUnfoldOutlined.d.ts +1 -1
  696. package/lib/icons/MessageOutlined.d.ts +1 -1
  697. package/lib/icons/MinusCircleOutlined.d.ts +1 -1
  698. package/lib/icons/MobileOutlined.d.ts +1 -1
  699. package/lib/icons/MoonOutlined.d.ts +1 -1
  700. package/lib/icons/MoreOutlined.d.ts +1 -1
  701. package/lib/icons/PauseFilled.d.ts +1 -1
  702. package/lib/icons/PieChartOutlined.d.ts +1 -1
  703. package/lib/icons/PlayFilled.d.ts +1 -1
  704. package/lib/icons/PlusCircleOutlined.d.ts +1 -1
  705. package/lib/icons/PlusOutlined.d.ts +1 -1
  706. package/lib/icons/PrinterOutlined.d.ts +1 -1
  707. package/lib/icons/ProtectOutlined.d.ts +1 -1
  708. package/lib/icons/QuestionCircleFilled.d.ts +1 -1
  709. package/lib/icons/QuestionCircleOutlined.d.ts +1 -1
  710. package/lib/icons/ReloadOutlined.d.ts +1 -1
  711. package/lib/icons/ResizeOutlined.cjs +29 -0
  712. package/lib/icons/ResizeOutlined.d.ts +2 -0
  713. package/lib/icons/SearchOutlined.d.ts +1 -1
  714. package/lib/icons/SettingOutlined.d.ts +1 -1
  715. package/lib/icons/ShoppingOutlined.d.ts +1 -1
  716. package/lib/icons/SortOutlined.d.ts +1 -1
  717. package/lib/icons/StarFilled.d.ts +1 -1
  718. package/lib/icons/StepBackwardFilled.d.ts +1 -1
  719. package/lib/icons/StepForwardFilled.d.ts +1 -1
  720. package/lib/icons/SuitcaseOutlined.d.ts +1 -1
  721. package/lib/icons/SunOutlined.d.ts +1 -1
  722. package/lib/icons/SwapOutlined.d.ts +1 -1
  723. package/lib/icons/SyncOutlined.d.ts +1 -1
  724. package/lib/icons/TableOutlined.d.ts +1 -1
  725. package/lib/icons/TagOutlined.d.ts +1 -1
  726. package/lib/icons/TimerOutlined.d.ts +1 -1
  727. package/lib/icons/UndoOutlined.d.ts +1 -1
  728. package/lib/icons/UnlockOutlined.d.ts +1 -1
  729. package/lib/icons/UploadOutlined.d.ts +1 -1
  730. package/lib/icons/UserOutlined.d.ts +1 -1
  731. package/lib/icons/VerticalAlignMiddleOutlined.d.ts +1 -1
  732. package/lib/icons/VerticalLeftOutlined.d.ts +1 -1
  733. package/lib/icons/VerticalRightOutlined.d.ts +1 -1
  734. package/lib/icons/WarningOutlined.d.ts +1 -1
  735. package/lib/icons/ZoomInOutlined.d.ts +1 -1
  736. package/lib/icons/ZoomOutOutlined.d.ts +1 -1
  737. package/lib/icons/index.cjs +2 -0
  738. package/lib/icons/index.d.ts +1 -0
  739. package/lib/installer.d.ts +2 -2
  740. package/lib/lang/en_US.cjs +7 -1
  741. package/lib/lang/en_US.d.ts +2 -2
  742. package/lib/lang/zh_CN.cjs +7 -1
  743. package/lib/lang/zh_CN.d.ts +2 -2
  744. package/lib/lang/zh_TW.cjs +7 -1
  745. package/lib/lang/zh_TW.d.ts +2 -2
  746. package/lib/style/nprogress.scss +1 -0
  747. package/lib/style/themes/dark.scss +9 -15
  748. package/lib/style/themes/default.scss +140 -166
  749. package/lib/style/themes/rounded.scss +27 -45
  750. package/lib/utils/core.cjs +16 -2
  751. package/lib/utils/core.d.ts +7 -0
  752. package/lib/utils/menu-util.cjs +1 -4
  753. package/lib/utils/menu-util.d.ts +3 -2
  754. package/lib/utils/message-box.cjs +71 -0
  755. package/lib/utils/message-box.d.ts +25 -0
  756. package/lib/utils/message.cjs +216 -33
  757. package/lib/utils/message.d.ts +45 -20
  758. package/lib/utils/resolvers.d.ts +2 -2
  759. package/package.json +26 -25
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, computed, watch, resolveComponent, openBlock, createBlock, withCtx, renderSlot, createCommentVNode, createElementVNode, normalizeClass, normalizeStyle, createVNode, createSlots, withModifiers, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
1
+ import { defineComponent, ref, computed, watch, resolveComponent, openBlock, createBlock, withCtx, renderSlot, createCommentVNode, createElementVNode, normalizeClass, normalizeStyle, createVNode, withKeys, createSlots, withModifiers, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
2
2
  import { ElInput, ElIcon, ElTag } from "element-plus";
3
3
  import { CloseCircleFilled, ArrowDown } from "../icons";
4
4
  import EleTooltip from "../ele-tooltip/index";
@@ -62,8 +62,14 @@ const _sfc_main = defineComponent({
62
62
  const updatePopper = () => {
63
63
  tooltipRef.value && tooltipRef.value.updatePopper();
64
64
  };
65
- const focusSearchInput = () => {
65
+ const focusSearchInput = (e) => {
66
66
  if (props.filterable && props.visible) {
67
+ if (e != null && e.target != null) {
68
+ const target = e.target;
69
+ if (target.nodeName && target.nodeName.toLowerCase() === "input") {
70
+ return;
71
+ }
72
+ }
67
73
  const input = props.multiple ? searchRef.value : inputRef.value;
68
74
  input && input.focus();
69
75
  }
@@ -102,6 +108,13 @@ const _sfc_main = defineComponent({
102
108
  const onInputBlur = (e) => {
103
109
  emit("blur", e);
104
110
  };
111
+ const onInputEsc = (e) => {
112
+ if (!props.disabled && props.visible) {
113
+ e.stopPropagation();
114
+ e.preventDefault();
115
+ updateVisible(false);
116
+ }
117
+ };
105
118
  watch(
106
119
  () => props.selectedLabel,
107
120
  (label) => {
@@ -146,7 +159,8 @@ const _sfc_main = defineComponent({
146
159
  onTagClose,
147
160
  onClear,
148
161
  onInputFocus,
149
- onInputBlur
162
+ onInputBlur,
163
+ onInputEsc
150
164
  };
151
165
  }
152
166
  });
@@ -184,6 +198,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
184
198
  effect: "light",
185
199
  persistent: true,
186
200
  isPopover: true,
201
+ triggerKeys: [],
187
202
  "onUpdate:visible": _ctx.updateVisible
188
203
  }, {
189
204
  body: withCtx(() => [
@@ -224,7 +239,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
224
239
  style: normalizeStyle(_ctx.inputStyle),
225
240
  "onUpdate:modelValue": _ctx.updateInputValue,
226
241
  onFocus: _ctx.onInputFocus,
227
- onBlur: _ctx.onInputBlur
242
+ onBlur: _ctx.onInputBlur,
243
+ onKeydown: withKeys(_ctx.onInputEsc, ["esc"])
228
244
  }, createSlots({
229
245
  suffix: withCtx(() => [
230
246
  _ctx.clearable && !_ctx.disabled && !_ctx.isEmpty ? (openBlock(), createBlock(_component_ElIcon, {
@@ -257,7 +273,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
257
273
  ]),
258
274
  key: "0"
259
275
  } : void 0
260
- ]), 1032, ["size", "disabled", "modelValue", "placeholder", "readonly", "style", "onUpdate:modelValue", "onFocus", "onBlur"]),
276
+ ]), 1032, ["size", "disabled", "modelValue", "placeholder", "readonly", "style", "onUpdate:modelValue", "onFocus", "onBlur", "onKeydown"]),
261
277
  _ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_1, [
262
278
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.currentTags, (item, index2) => {
263
279
  return openBlock(), createBlock(_component_ElTag, {
@@ -308,8 +324,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
308
324
  validateEvent: false,
309
325
  modelValue: _ctx.searchValue,
310
326
  placeholder: _ctx.inputPlaceholder,
311
- "onUpdate:modelValue": _ctx.updateSearchValue
312
- }, null, 8, ["size", "modelValue", "placeholder", "onUpdate:modelValue"])
327
+ "onUpdate:modelValue": _ctx.updateSearchValue,
328
+ onKeydown: withKeys(_ctx.onInputEsc, ["esc"])
329
+ }, null, 8, ["size", "modelValue", "placeholder", "onUpdate:modelValue", "onKeydown"])
313
330
  ]),
314
331
  _: 1
315
332
  }, 8, ["size"])) : createCommentVNode("", true)
@@ -1,5 +1,6 @@
1
- import type { PropType, ExtractPropTypes } from 'vue';
2
- import type { SelectValue, SelectedItem } from './types';
1
+ import { SelectValue, SelectedItem } from './types';
2
+ import { PropType, ExtractPropTypes } from 'vue';
3
+
3
4
  /**
4
5
  * 属性
5
6
  */
@@ -14,7 +15,7 @@ export declare const basicSelectProps: {
14
15
  /** 是否禁用 */
15
16
  disabled: BooleanConstructor;
16
17
  /** 尺寸 */
17
- size: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined>;
18
+ size: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined>;
18
19
  /** 是否支持清除 */
19
20
  clearable: BooleanConstructor;
20
21
  /** 无选中时提示文本 */
@@ -28,7 +29,7 @@ export declare const basicSelectProps: {
28
29
  /** 多选标签最大显示文本长度 */
29
30
  maxTagTextLength: NumberConstructor;
30
31
  /** 多选标签类型 */
31
- tagType: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
32
+ tagType: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
32
33
  /** 是否在输入框获得焦点后自动弹出选项菜单 */
33
34
  automaticDropdown: BooleanConstructor;
34
35
  /** 是否可以筛选 */
@@ -40,14 +41,14 @@ export declare const basicSelectProps: {
40
41
  /** 始终渲染下拉框 */
41
42
  persistent: BooleanConstructor;
42
43
  /** 下拉框位置 */
43
- placement: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>;
44
+ placement: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, import('element-plus').Placement, unknown> | undefined>;
44
45
  /** 下拉框渐变动画 */
45
46
  transition: {
46
47
  type: StringConstructor;
47
48
  default: string;
48
49
  };
49
50
  /** popper.js 参数 */
50
- popperOptions: PropType<Partial<import("element-plus").Options> | undefined>;
51
+ popperOptions: PropType<Partial<import('element-plus').Options> | undefined>;
51
52
  /** 下拉框类名 */
52
53
  popperClass: StringConstructor;
53
54
  /** 下拉框宽度 */
@@ -55,9 +56,9 @@ export declare const basicSelectProps: {
55
56
  /** 自定义类名 */
56
57
  selectClass: StringConstructor;
57
58
  /** 自定义样式 */
58
- selectStyle: PropType<Partial<import("vue").CSSProperties>>;
59
+ selectStyle: PropType<Partial<import('vue').CSSProperties>>;
59
60
  /** 自定义输入框样式 */
60
- inputStyle: PropType<Partial<import("vue").CSSProperties>>;
61
+ inputStyle: PropType<Partial<import('vue').CSSProperties>>;
61
62
  };
62
63
  export type BasicSelectProps = ExtractPropTypes<typeof basicSelectProps>;
63
64
  /**
@@ -1,4 +1,5 @@
1
- import type { SelectValue } from '../ele-basic-select/types';
1
+ import { SelectValue } from '../ele-basic-select/types';
2
+
2
3
  /**
3
4
  * 判断是否是空值
4
5
  * @param value 值
@@ -1,8 +1,8 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
3
- extraStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
4
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
5
- bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
6
- extraStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
1
+ declare const _default: import('vue').DefineComponent<{
2
+ bodyStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
3
+ extraStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
4
+ }, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
5
+ bodyStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
6
+ extraStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
7
7
  }>>, {}, {}>;
8
8
  export default _default;
@@ -1,11 +1,12 @@
1
- import type { PropType, ExtractPropTypes } from 'vue';
1
+ import { PropType, ExtractPropTypes } from 'vue';
2
+
2
3
  /**
3
4
  * 属性
4
5
  */
5
6
  export declare const bottomBarProps: {
6
7
  /** 内容样式 */
7
- bodyStyle: PropType<Partial<import("vue").CSSProperties>>;
8
+ bodyStyle: PropType<Partial<import('vue').CSSProperties>>;
8
9
  /** 右侧样式 */
9
- extraStyle: PropType<Partial<import("vue").CSSProperties>>;
10
+ extraStyle: PropType<Partial<import('vue').CSSProperties>>;
10
11
  };
11
12
  export type BottomBarProps = ExtractPropTypes<typeof bottomBarProps>;
@@ -1,26 +1,27 @@
1
- import type { ElBreadcrumbInstance } from '../ele-app/el';
2
- declare const _default: import("vue").DefineComponent<{
1
+ import { ElBreadcrumbInstance } from '../ele-app/el';
2
+
3
+ declare const _default: import('vue').DefineComponent<{
3
4
  items: {
4
- type: import("vue").PropType<import("./types").BreadcrumbItem[]>;
5
+ type: import('vue').PropType<import('./types').BreadcrumbItem[]>;
5
6
  required: boolean;
6
7
  };
7
- separator: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "/", boolean>;
8
+ separator: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "/", boolean>;
8
9
  separatorIcon: {
9
- readonly type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
10
+ readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) & {}) | (() => string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) & {}) | (() => string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>))[], unknown, unknown>>;
10
11
  readonly required: false;
11
12
  readonly validator: ((val: unknown) => boolean) | undefined;
12
13
  __epPropKey: true;
13
14
  };
14
15
  }, {
15
- breadcrumbRef: import("vue").Ref<ElBreadcrumbInstance>;
16
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
+ breadcrumbRef: import('vue').Ref<ElBreadcrumbInstance>;
17
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
18
  items: {
18
- type: import("vue").PropType<import("./types").BreadcrumbItem[]>;
19
+ type: import('vue').PropType<import('./types').BreadcrumbItem[]>;
19
20
  required: boolean;
20
21
  };
21
- separator: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "/", boolean>;
22
+ separator: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "/", boolean>;
22
23
  separatorIcon: {
23
- readonly type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
24
+ readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) & {}) | (() => string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) & {}) | (() => string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>))[], unknown, unknown>>;
24
25
  readonly required: false;
25
26
  readonly validator: ((val: unknown) => boolean) | undefined;
26
27
  __epPropKey: true;
@@ -1,5 +1,6 @@
1
- import type { PropType, ExtractPropTypes } from 'vue';
2
- import type { BreadcrumbItem } from './types';
1
+ import { BreadcrumbItem } from './types';
2
+ import { PropType, ExtractPropTypes } from 'vue';
3
+
3
4
  /**
4
5
  * 属性
5
6
  */
@@ -9,9 +10,9 @@ export declare const breadcrumbProps: {
9
10
  type: PropType<BreadcrumbItem[]>;
10
11
  required: boolean;
11
12
  };
12
- separator: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "/", boolean>;
13
+ separator: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "/", boolean>;
13
14
  separatorIcon: {
14
- readonly type: PropType<import("element-plus/es/utils/index").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
15
+ readonly type: PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) & {}) | (() => string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) & {}) | (() => string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>))[], unknown, unknown>>;
15
16
  readonly required: false;
16
17
  readonly validator: ((val: unknown) => boolean) | undefined;
17
18
  __epPropKey: true;
@@ -1,24 +1,24 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<{
2
2
  header: StringConstructor;
3
3
  footer: StringConstructor;
4
- bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
4
+ bodyStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
5
5
  bodyClass: StringConstructor;
6
- shadow: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "hover" | "always" | "never", unknown> | undefined>;
6
+ shadow: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "hover" | "always" | "never", unknown> | undefined>;
7
7
  bordered: BooleanConstructor;
8
- headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
9
- titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
10
- footerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
8
+ headerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
9
+ titleStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
10
+ footerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
11
11
  flexTable: BooleanConstructor;
12
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
+ }, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
13
  header: StringConstructor;
14
14
  footer: StringConstructor;
15
- bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
15
+ bodyStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
16
16
  bodyClass: StringConstructor;
17
- shadow: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "hover" | "always" | "never", unknown> | undefined>;
17
+ shadow: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "hover" | "always" | "never", unknown> | undefined>;
18
18
  bordered: BooleanConstructor;
19
- headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
20
- titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
21
- footerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
19
+ headerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
20
+ titleStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
21
+ footerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
22
22
  flexTable: BooleanConstructor;
23
23
  }>>, {
24
24
  bordered: boolean;
@@ -1,4 +1,5 @@
1
- import type { ExtractPropTypes, PropType } from 'vue';
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+
2
3
  /**
3
4
  * 属性
4
5
  */
@@ -8,19 +9,19 @@ export declare const cardProps: {
8
9
  /** 页脚 */
9
10
  footer: StringConstructor;
10
11
  /** 主体样式 */
11
- bodyStyle: PropType<Partial<import("vue").CSSProperties>>;
12
+ bodyStyle: PropType<Partial<import('vue').CSSProperties>>;
12
13
  /** 主体类名 */
13
14
  bodyClass: StringConstructor;
14
15
  /** 阴影 */
15
- shadow: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "hover" | "always" | "never", unknown> | undefined>;
16
+ shadow: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "hover" | "always" | "never", unknown> | undefined>;
16
17
  /** 边框 */
17
18
  bordered: BooleanConstructor;
18
19
  /** 标题栏样式 */
19
- headerStyle: PropType<Partial<import("vue").CSSProperties>>;
20
+ headerStyle: PropType<Partial<import('vue').CSSProperties>>;
20
21
  /** 标题样式 */
21
- titleStyle: PropType<Partial<import("vue").CSSProperties>>;
22
+ titleStyle: PropType<Partial<import('vue').CSSProperties>>;
22
23
  /** 页脚样式 */
23
- footerStyle: PropType<Partial<import("vue").CSSProperties>>;
24
+ footerStyle: PropType<Partial<import('vue').CSSProperties>>;
24
25
  /** 内部表格是否弹性布局 */
25
26
  flexTable: BooleanConstructor;
26
27
  };
@@ -1,6 +1,7 @@
1
- import type { PropType } from 'vue';
2
- import type { CheckCardItem } from '../types';
3
- declare const _default: import("vue").DefineComponent<{
1
+ import { CheckCardItem } from '../types';
2
+ import { PropType } from 'vue';
3
+
4
+ declare const _default: import('vue').DefineComponent<{
4
5
  /** 数据 */
5
6
  item: PropType<CheckCardItem>;
6
7
  /** 是否选中 */
@@ -12,8 +13,8 @@ declare const _default: import("vue").DefineComponent<{
12
13
  /** 是否需要选中箭头 */
13
14
  arrow: BooleanConstructor;
14
15
  /** 选中箭头样式 */
15
- arrowStyle: PropType<Partial<import("vue").CSSProperties>>;
16
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
+ arrowStyle: PropType<Partial<import('vue').CSSProperties>>;
17
+ }, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
18
  /** 数据 */
18
19
  item: PropType<CheckCardItem>;
19
20
  /** 是否选中 */
@@ -25,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
25
26
  /** 是否需要选中箭头 */
26
27
  arrow: BooleanConstructor;
27
28
  /** 选中箭头样式 */
28
- arrowStyle: PropType<Partial<import("vue").CSSProperties>>;
29
+ arrowStyle: PropType<Partial<import('vue').CSSProperties>>;
29
30
  }>>, {
30
31
  disabled: boolean;
31
32
  bordered: boolean;
@@ -1,10 +1,11 @@
1
- import type { CheckCardItem, CheckedValue } from './types';
2
- declare const _default: import("vue").DefineComponent<{
1
+ import { CheckCardItem, CheckedValue } from './types';
2
+
3
+ declare const _default: import('vue').DefineComponent<{
3
4
  modelValue: {
4
- type: import("vue").PropType<CheckedValue>;
5
+ type: import('vue').PropType<CheckedValue>;
5
6
  default: () => null;
6
7
  };
7
- items: import("vue").PropType<CheckCardItem[]>;
8
+ items: import('vue').PropType<CheckCardItem[]>;
8
9
  multiple: BooleanConstructor;
9
10
  disabled: BooleanConstructor;
10
11
  bordered: {
@@ -15,22 +16,22 @@ declare const _default: import("vue").DefineComponent<{
15
16
  type: BooleanConstructor;
16
17
  default: boolean;
17
18
  };
18
- arrowStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
19
+ arrowStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
19
20
  itemClass: StringConstructor;
20
- itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
21
- row: import("vue").PropType<boolean | import("../ele-app/el").ElRowProps>;
21
+ itemStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
22
+ row: import('vue').PropType<boolean | import('../ele-app/el').ElRowProps>;
22
23
  }, {
23
24
  isChecked: (item: CheckCardItem) => boolean;
24
25
  onItemClick: (item: CheckCardItem) => void;
25
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
27
  'update:modelValue': (_value: CheckedValue) => boolean;
27
28
  change: (_value: CheckedValue) => boolean;
28
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
29
30
  modelValue: {
30
- type: import("vue").PropType<CheckedValue>;
31
+ type: import('vue').PropType<CheckedValue>;
31
32
  default: () => null;
32
33
  };
33
- items: import("vue").PropType<CheckCardItem[]>;
34
+ items: import('vue').PropType<CheckCardItem[]>;
34
35
  multiple: BooleanConstructor;
35
36
  disabled: BooleanConstructor;
36
37
  bordered: {
@@ -41,10 +42,10 @@ declare const _default: import("vue").DefineComponent<{
41
42
  type: BooleanConstructor;
42
43
  default: boolean;
43
44
  };
44
- arrowStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
45
+ arrowStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
45
46
  itemClass: StringConstructor;
46
- itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
47
- row: import("vue").PropType<boolean | import("../ele-app/el").ElRowProps>;
47
+ itemStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
48
+ row: import('vue').PropType<boolean | import('../ele-app/el').ElRowProps>;
48
49
  }>> & {
49
50
  onChange?: ((_value: CheckedValue) => any) | undefined;
50
51
  "onUpdate:modelValue"?: ((_value: CheckedValue) => any) | undefined;
@@ -1,6 +1,7 @@
1
- import type { ExtractPropTypes, PropType } from 'vue';
2
- import type { ElRowProps } from '../ele-app/el';
3
- import type { CheckCardItem, CheckedValue } from './types';
1
+ import { CheckCardItem, CheckedValue } from './types';
2
+ import { ElRowProps } from '../ele-app/el';
3
+ import { ExtractPropTypes, PropType } from 'vue';
4
+
4
5
  /**
5
6
  * 属性
6
7
  */
@@ -27,11 +28,11 @@ export declare const checkCardProps: {
27
28
  default: boolean;
28
29
  };
29
30
  /** 选中箭头样式 */
30
- arrowStyle: PropType<Partial<import("vue").CSSProperties>>;
31
+ arrowStyle: PropType<Partial<import('vue').CSSProperties>>;
31
32
  /** 自定义卡片类名 */
32
33
  itemClass: StringConstructor;
33
34
  /** 自定义卡片样式 */
34
- itemStyle: PropType<Partial<import("vue").CSSProperties>>;
35
+ itemStyle: PropType<Partial<import('vue').CSSProperties>>;
35
36
  /** 是否使用栅格布局 */
36
37
  row: PropType<boolean | ElRowProps>;
37
38
  };
@@ -1,12 +1,12 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<{
2
2
  wrapPosition: {
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
5
5
  };
6
6
  }, {
7
- authenticated: import("vue").Ref<boolean>;
7
+ authenticated: import('vue').Ref<boolean>;
8
8
  watermark: string[];
9
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
10
10
  wrapPosition: {
11
11
  type: BooleanConstructor;
12
12
  default: boolean;
@@ -1,45 +1,134 @@
1
- import { defineComponent, resolveComponent, openBlock, createBlock, normalizeStyle, withCtx, renderSlot } from "vue";
2
- import EleWatermark from "../../ele-watermark/index";
3
- import { useLicense, UNAUTHORIZED_TIP } from "../receiver";
4
- const _sfc_main = defineComponent({
1
+ import { defineComponent as j, ref as N, computed as R, watch as T, resolveComponent as x, openBlock as y, createBlock as V, normalizeStyle as W, withCtx as Y, renderSlot as z } from "vue";
2
+ import I from "../../ele-watermark/index";
3
+ import { useReceiver as K } from "../receiver";
4
+ const O = "1.1";
5
+ function J(t) {
6
+ const r = (v, D, a) => {
7
+ const s = ((l, S) => {
8
+ const k = l.length - S;
9
+ if (k <= 0)
10
+ return l;
11
+ const $ = new Array(l.length);
12
+ for (let E = 0; E < l.length; E++)
13
+ E < S ? $[E] = l[k + E] : $[E] = l[E - S];
14
+ return $;
15
+ })(v.split(""), a).join(""), C = [];
16
+ let w = 0;
17
+ for (; w < s.length; ) {
18
+ let l = w + D;
19
+ l > s.length && (l = s.length);
20
+ const S = s.substring(w, l);
21
+ C.push(S.split("").reverse().join("")), w = l;
22
+ }
23
+ return C.join("");
24
+ }, e = "BAFEDIHGLKJONMRQPUTSXWVaZYdcbgfejihmlkponsrqvutyxw10z432765+98/C", i = t.indexOf("="), o = i === -1 ? t : t.substring(0, i), u = i === -1 ? "" : t.substring(i), c = (r(o, 12, 3) + u).replace(/[^A-Za-z0-9\+\/\=]/g, ""), h = r(e, 3, 1) + "=";
25
+ let n = "", B, f, g, F, p, _, b, A = 0;
26
+ for (; A < c.length; )
27
+ F = h.indexOf(c.charAt(A++)), p = h.indexOf(c.charAt(A++)), _ = h.indexOf(c.charAt(A++)), b = h.indexOf(c.charAt(A++)), B = F << 2 | p >> 4, f = (p & 15) << 4 | _ >> 2, g = (_ & 3) << 6 | b, n = n + String.fromCharCode(B), _ != 64 && (n = n + String.fromCharCode(f)), b != 64 && (n = n + String.fromCharCode(g));
28
+ return n = ((v) => {
29
+ let D = "", a = 0, s = 0, C = 0, w = 0;
30
+ for (; a < v.length; )
31
+ s = v.charCodeAt(a), s < 128 ? (D += String.fromCharCode(s), a++) : s > 191 && s < 224 ? (C = v.charCodeAt(a + 1), D += String.fromCharCode((s & 31) << 6 | C & 63), a += 2) : (C = v.charCodeAt(a + 1), w = v.charCodeAt(a + 2), D += String.fromCharCode(
32
+ (s & 15) << 12 | (C & 63) << 6 | w & 63
33
+ ), a += 3);
34
+ return D;
35
+ })(n), n;
36
+ }
37
+ const P = "EleAdminPlus\u9700\u8981\u6388\u6743\u4F7F\u7528,\u8BF7\u524D\u5F80eleadmin.com\u8D2D\u4E70\u6388\u6743";
38
+ function m(t, r, e, i) {
39
+ const o = new Array(60).join("*"), u = [o];
40
+ if (u.push(P), t == null && r == null && e == null && i == null && u.push("\u8BF7\u5148\u914D\u7F6E\u81EA\u5DF1\u7684\u6388\u6743\u7801;"), !t && r == null && !e && u.push("\u8BF7\u4F7F\u7528\u6B63\u786E\u683C\u5F0F\u7684\u6388\u6743\u7801;"), t && u.push(`\u6388\u6743\u7248\u672C\u53F7\u4E0D\u5339\u914D, \u8BF7\u4F7F\u7528: ${t}, \u5F53\u524D\u7248\u672C: ${O};`), typeof r == "number") {
41
+ const d = new Date(r * 1e3).toLocaleString();
42
+ u.push(`\u6388\u6743\u5DF2\u5931\u6548, \u5230\u671F\u65F6\u95F4: ${d};`);
43
+ }
44
+ e && u.push(`\u57DF\u540D\u4E0D\u5339\u914D, \u8BF7\u90E8\u7F72\u5728: ${e} \u4E0B, \u5F53\u524D\u57DF\u540D: ${i};`), u.push(o), console.error(u.join(`
45
+ `));
46
+ }
47
+ const L = j({
5
48
  name: "ReceiverView",
6
- components: { EleWatermark },
49
+ components: { EleWatermark: I },
7
50
  props: {
8
51
  wrapPosition: {
9
52
  type: Boolean,
10
- default: true
53
+ default: !0
11
54
  }
12
55
  },
13
- setup(_props) {
14
- const { authenticated } = useLicense();
15
- return {
16
- authenticated,
17
- watermark: UNAUTHORIZED_TIP.split(",") || "Error"
18
- };
19
- }
20
- });
21
- const _export_sfc = (sfc, props) => {
22
- const target = sfc.__vccOpts || sfc;
23
- for (const [key, val] of props) {
24
- target[key] = val;
56
+ setup(t) {
57
+ const r = K(), e = N(!1), i = R(() => {
58
+ const o = r.license;
59
+ return o ? o.trim() : void 0;
60
+ });
61
+ return T(
62
+ i,
63
+ (o) => {
64
+ var u;
65
+ if (typeof o != "string" || !o) {
66
+ e.value = !1, m();
67
+ return;
68
+ }
69
+ try {
70
+ const d = JSON.parse(J(o)), { version: c, expiration: h, domain: n, product: B } = d;
71
+ if (c && c !== O) {
72
+ e.value = !1, m(c);
73
+ return;
74
+ }
75
+ if (B !== "EleAdminPlus") {
76
+ e.value = !1, m("");
77
+ return;
78
+ }
79
+ if (h && h < Date.now() / 1e3) {
80
+ e.value = !1, m(void 0, h);
81
+ return;
82
+ }
83
+ if (n) {
84
+ const f = (u = window == null ? void 0 : window.location) == null ? void 0 : u.hostname;
85
+ if (!f) {
86
+ e.value = !1, m(void 0, void 0, n, "");
87
+ return;
88
+ }
89
+ if (f !== "localhost" && f !== "127.0.0.1") {
90
+ const g = n.split("."), F = f.split(".");
91
+ for (let p = g.length - 1; p >= 0; p--)
92
+ if (g[p] !== F[p]) {
93
+ e.value = !1, m(void 0, void 0, n, f);
94
+ return;
95
+ }
96
+ if (F.length > g.length && F[F.length - g.length - 1] !== "www") {
97
+ e.value = !1, m(void 0, void 0, n, f);
98
+ return;
99
+ }
100
+ }
101
+ }
102
+ } catch (d) {
103
+ e.value = !1, console.error(d), m("");
104
+ return;
105
+ }
106
+ e.value = !0;
107
+ },
108
+ { immediate: !0 }
109
+ ), { authenticated: e, watermark: P.split(",") };
25
110
  }
26
- return target;
111
+ }), M = (t, r) => {
112
+ const e = t.__vccOpts || t;
113
+ for (const [i, o] of r)
114
+ e[i] = o;
115
+ return e;
27
116
  };
28
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29
- const _component_EleWatermark = resolveComponent("EleWatermark");
30
- return openBlock(), createBlock(_component_EleWatermark, {
31
- content: _ctx.watermark,
32
- wrapPosition: false,
33
- disabled: _ctx.authenticated,
34
- style: normalizeStyle(!_ctx.wrapPosition || _ctx.authenticated ? void 0 : { position: "relative" })
117
+ function X(t, r, e, i, o, u) {
118
+ const d = x("EleWatermark");
119
+ return y(), V(d, {
120
+ wrapPosition: !1,
121
+ style: W(!t.wrapPosition || t.authenticated ? void 0 : { position: "relative" }),
122
+ disabled: t.authenticated,
123
+ content: t.watermark
35
124
  }, {
36
- default: withCtx(() => [
37
- renderSlot(_ctx.$slots, "default", { authenticated: _ctx.authenticated })
125
+ default: Y(() => [
126
+ z(t.$slots, "default", { authenticated: t.authenticated })
38
127
  ]),
39
128
  _: 3
40
- }, 8, ["content", "disabled", "style"]);
129
+ }, 8, ["style", "disabled", "content"]);
41
130
  }
42
- const receiverView = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
131
+ const H = /* @__PURE__ */ M(L, [["render", X]]);
43
132
  export {
44
- receiverView as default
133
+ H as default
45
134
  };