ele-admin-plus 1.1.9-beta.8 → 1.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (753) hide show
  1. package/es/core-installer.d.ts +2 -2
  2. package/es/ele-alert/index.d.ts +23 -23
  3. package/es/ele-alert/index.js +2 -2
  4. package/es/ele-alert/props.d.ts +10 -9
  5. package/es/ele-app/el.d.ts +7 -1
  6. package/es/ele-app/index.d.ts +2 -2
  7. package/es/ele-app/plus.d.ts +9 -0
  8. package/es/ele-app/style/overwrite/date-picker/index.scss +32 -5
  9. package/es/ele-avatar-group/index.d.ts +29 -28
  10. package/es/ele-avatar-group/props.d.ts +10 -9
  11. package/es/ele-bar-code/index.d.ts +11 -10
  12. package/es/ele-bar-code/props.d.ts +4 -3
  13. package/es/ele-basic-select/index.d.ts +37 -35
  14. package/es/ele-basic-select/index.js +24 -7
  15. package/es/ele-basic-select/props.d.ts +9 -8
  16. package/es/ele-basic-select/util.d.ts +2 -1
  17. package/es/ele-bottom-bar/index.d.ts +6 -6
  18. package/es/ele-bottom-bar/props.d.ts +4 -3
  19. package/es/ele-breadcrumb/index.d.ts +11 -10
  20. package/es/ele-breadcrumb/props.d.ts +5 -4
  21. package/es/ele-card/index.d.ts +12 -12
  22. package/es/ele-card/props.d.ts +7 -6
  23. package/es/ele-check-card/components/card-item.d.ts +7 -6
  24. package/es/ele-check-card/index.d.ts +15 -14
  25. package/es/ele-check-card/props.d.ts +6 -5
  26. package/es/ele-config-provider/components/receiver-view.d.ts +3 -3
  27. package/es/ele-config-provider/components/receiver-view.js +119 -30
  28. package/es/ele-config-provider/index.d.ts +7 -7
  29. package/es/ele-config-provider/props.d.ts +6 -5
  30. package/es/ele-config-provider/props.js +2 -2
  31. package/es/ele-config-provider/receiver.d.ts +6 -10
  32. package/es/ele-config-provider/receiver.js +32 -117
  33. package/es/ele-config-provider/types.d.ts +5 -29
  34. package/es/ele-copyable/index.d.ts +32 -31
  35. package/es/ele-copyable/props.d.ts +9 -8
  36. package/es/ele-count-up/index.d.ts +8 -7
  37. package/es/ele-count-up/props.d.ts +3 -2
  38. package/es/ele-cropper/components/cropper-preview.d.ts +3 -3
  39. package/es/ele-cropper/components/cropper-tools.d.ts +12 -11
  40. package/es/ele-cropper/index.d.ts +16 -15
  41. package/es/ele-cropper/props.d.ts +4 -3
  42. package/es/ele-cropper-modal/index.d.ts +16 -15
  43. package/es/ele-cropper-modal/index.js +1 -1
  44. package/es/ele-cropper-modal/props.d.ts +7 -6
  45. package/es/ele-dashboard/index.d.ts +5 -5
  46. package/es/ele-dashboard/props.d.ts +3 -2
  47. package/es/ele-data-table/index.d.ts +65 -70
  48. package/es/ele-data-table/index.js +8 -0
  49. package/es/ele-data-table/props.d.ts +36 -41
  50. package/es/ele-data-table/style/index.scss +4 -0
  51. package/es/ele-data-table/types.d.ts +18 -16
  52. package/es/ele-data-table/util.d.ts +15 -9
  53. package/es/ele-data-table/util.js +14 -0
  54. package/es/ele-dot/index.d.ts +4 -4
  55. package/es/ele-dot/props.d.ts +3 -2
  56. package/es/ele-drawer/index.d.ts +75 -71
  57. package/es/ele-drawer/index.js +107 -113
  58. package/es/ele-drawer/props.d.ts +26 -25
  59. package/es/ele-drawer/style/index.scss +48 -105
  60. package/es/ele-dropdown/index.d.ts +66 -65
  61. package/es/ele-dropdown/props.d.ts +22 -21
  62. package/es/ele-edit-tag/index.d.ts +33 -32
  63. package/es/ele-edit-tag/index.js +1 -1
  64. package/es/ele-edit-tag/props.d.ts +10 -9
  65. package/es/ele-ellipsis/index.d.ts +23 -22
  66. package/es/ele-ellipsis/props.d.ts +8 -7
  67. package/es/ele-file-list/components/file-grid-item.d.ts +13 -12
  68. package/es/ele-file-list/components/file-grid-item.js +1 -1
  69. package/es/ele-file-list/components/file-grid.d.ts +10 -9
  70. package/es/ele-file-list/components/file-sort.d.ts +2 -2
  71. package/es/ele-file-list/components/file-table-item.d.ts +13 -12
  72. package/es/ele-file-list/components/file-table-item.js +1 -1
  73. package/es/ele-file-list/components/file-table.d.ts +10 -9
  74. package/es/ele-file-list/icons.d.ts +2 -1
  75. package/es/ele-file-list/index.d.ts +36 -35
  76. package/es/ele-file-list/props.d.ts +6 -5
  77. package/es/ele-file-list-tool/index.d.ts +3 -3
  78. package/es/ele-icon-select/components/icon-grid.d.ts +15 -14
  79. package/es/ele-icon-select/components/icon-grid.js +1 -1
  80. package/es/ele-icon-select/index.d.ts +49 -48
  81. package/es/ele-icon-select/props.d.ts +17 -16
  82. package/es/ele-loading/index.d.ts +12 -15
  83. package/es/ele-loading/index.js +10 -16
  84. package/es/ele-loading/props.d.ts +5 -4
  85. package/es/ele-map-picker/components/map-view.d.ts +29 -28
  86. package/es/ele-map-picker/components/map-view.js +1 -1
  87. package/es/ele-map-picker/index.d.ts +27 -26
  88. package/es/ele-map-picker/index.js +1 -1
  89. package/es/ele-map-picker/props.d.ts +8 -7
  90. package/es/ele-menus/index.d.ts +61 -62
  91. package/es/ele-menus/index.js +1 -1
  92. package/es/ele-menus/props.d.ts +16 -17
  93. package/es/ele-menus/props.js +1 -3
  94. package/es/ele-menus/style/css-var.scss +1 -5
  95. package/es/ele-menus/util.d.ts +3 -2
  96. package/es/ele-modal/index.d.ts +75 -68
  97. package/es/ele-modal/index.js +164 -186
  98. package/es/ele-modal/props.d.ts +26 -23
  99. package/es/ele-modal/props.js +2 -0
  100. package/es/ele-modal/style/index.scss +103 -175
  101. package/es/ele-modal/util.d.ts +20 -45
  102. package/es/ele-modal/util.js +55 -179
  103. package/es/ele-page/index.d.ts +2 -2
  104. package/es/ele-page/props.d.ts +2 -1
  105. package/es/ele-pagination/index.d.ts +40 -29
  106. package/es/ele-pagination/index.js +20 -5
  107. package/es/ele-pagination/props.d.ts +19 -12
  108. package/es/ele-pagination/props.js +7 -0
  109. package/es/ele-pagination/style/index.scss +9 -0
  110. package/es/ele-pagination/types.d.ts +6 -1
  111. package/es/ele-popconfirm/index.d.ts +90 -89
  112. package/es/ele-popconfirm/index.js +6 -28
  113. package/es/ele-popconfirm/props.d.ts +32 -31
  114. package/es/ele-popover/index.d.ts +69 -68
  115. package/es/ele-popover/index.js +6 -14
  116. package/es/ele-popover/props.d.ts +26 -25
  117. package/es/ele-printer/index.d.ts +18 -18
  118. package/es/ele-printer/props.d.ts +6 -5
  119. package/es/ele-printer/util.d.ts +2 -1
  120. package/es/ele-printer/util.js +1 -1
  121. package/es/ele-pro-layout/components/header-tool.d.ts +1 -1
  122. package/es/ele-pro-layout/components/pro-header.d.ts +84 -28
  123. package/es/ele-pro-layout/components/pro-header.js +110 -20
  124. package/es/ele-pro-layout/components/pro-iframe.d.ts +7 -7
  125. package/es/ele-pro-layout/components/pro-iframe.js +31 -41
  126. package/es/ele-pro-layout/components/pro-sidebar.d.ts +14 -18
  127. package/es/ele-pro-layout/components/pro-sidebar.js +2 -5
  128. package/es/ele-pro-layout/components/pro-sidebox.d.ts +16 -20
  129. package/es/ele-pro-layout/components/pro-sidebox.js +2 -5
  130. package/es/ele-pro-layout/components/pro-tabs.d.ts +12 -11
  131. package/es/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
  132. package/es/ele-pro-layout/components/tab-dropdown.d.ts +8 -7
  133. package/es/ele-pro-layout/components/tab-dropdown.js +1 -1
  134. package/es/ele-pro-layout/index.d.ts +97 -97
  135. package/es/ele-pro-layout/index.js +62 -47
  136. package/es/ele-pro-layout/props.d.ts +11 -13
  137. package/es/ele-pro-layout/props.js +2 -4
  138. package/es/ele-pro-layout/style/css-var.scss +3 -18
  139. package/es/ele-pro-layout/style/header.scss +74 -9
  140. package/es/ele-pro-layout/style/layout-mobile.scss +2 -2
  141. package/es/ele-pro-layout/style/layout-style.scss +8 -3
  142. package/es/ele-pro-layout/style/layout-theme.scss +48 -23
  143. package/es/ele-pro-layout/style/layout.scss +38 -8
  144. package/es/ele-pro-layout/style/sidebar.scss +0 -1
  145. package/es/ele-pro-layout/style/tabs.scss +19 -11
  146. package/es/ele-pro-layout/types.d.ts +1 -1
  147. package/es/ele-pro-layout/util.d.ts +6 -6
  148. package/es/ele-pro-layout/util.js +2 -3
  149. package/es/ele-pro-table/components/table-tools.d.ts +107 -15
  150. package/es/ele-pro-table/components/table-tools.js +125 -8
  151. package/es/ele-pro-table/components/tool-column-list.d.ts +6 -5
  152. package/es/ele-pro-table/components/tool-column-list.js +4 -7
  153. package/es/ele-pro-table/components/tool-column.d.ts +14 -13
  154. package/es/ele-pro-table/components/tool-column.js +9 -9
  155. package/es/ele-pro-table/components/tool-export.d.ts +179 -0
  156. package/es/ele-pro-table/components/tool-export.js +449 -0
  157. package/es/ele-pro-table/components/tool-print-body-cell.d.ts +35 -0
  158. package/es/ele-pro-table/components/tool-print-body-cell.js +88 -0
  159. package/es/ele-pro-table/components/tool-print-header-cell.d.ts +35 -0
  160. package/es/ele-pro-table/components/tool-print-header-cell.js +88 -0
  161. package/es/ele-pro-table/components/tool-print.d.ts +182 -0
  162. package/es/ele-pro-table/components/tool-print.js +555 -0
  163. package/es/ele-pro-table/index.d.ts +138 -131
  164. package/es/ele-pro-table/index.js +107 -37
  165. package/es/ele-pro-table/props.d.ts +52 -48
  166. package/es/ele-pro-table/props.js +6 -2
  167. package/es/ele-pro-table/style/index.js +9 -0
  168. package/es/ele-pro-table/style/index.scss +33 -5
  169. package/es/ele-pro-table/types.d.ts +160 -5
  170. package/es/ele-pro-table/util.d.ts +64 -16
  171. package/es/ele-pro-table/util.js +155 -28
  172. package/es/ele-qr-code/index.d.ts +16 -15
  173. package/es/ele-qr-code/props.d.ts +4 -3
  174. package/es/ele-qr-code/util.d.ts +3 -2
  175. package/es/ele-qr-code-svg/index.d.ts +18 -18
  176. package/es/ele-segmented/index.d.ts +10 -9
  177. package/es/ele-segmented/props.d.ts +3 -2
  178. package/es/ele-split-panel/index.d.ts +18 -17
  179. package/es/ele-split-panel/props.d.ts +5 -4
  180. package/es/ele-steps/index.d.ts +33 -33
  181. package/es/ele-steps/props.d.ts +10 -9
  182. package/es/ele-tab-tool/index.d.ts +2 -2
  183. package/es/ele-tab-tool/props.d.ts +2 -1
  184. package/es/ele-tab-wrap/index.d.ts +6 -6
  185. package/es/ele-tab-wrap/index.js +2 -1
  186. package/es/ele-tab-wrap/props.d.ts +3 -2
  187. package/es/ele-table/index.d.ts +7 -4
  188. package/es/ele-table/index.js +2 -1
  189. package/es/ele-table/props.d.ts +5 -2
  190. package/es/ele-table/props.js +3 -1
  191. package/es/ele-table/style/index.scss +35 -0
  192. package/es/ele-table-select/index.d.ts +45 -43
  193. package/es/ele-table-select/index.js +29 -27
  194. package/es/ele-table-select/props.d.ts +11 -10
  195. package/es/ele-tabs/components/tab-title.d.ts +9 -8
  196. package/es/ele-tabs/index.d.ts +43 -55
  197. package/es/ele-tabs/index.js +1 -0
  198. package/es/ele-tabs/props.d.ts +17 -23
  199. package/es/ele-tabs/style/css-var.scss +1 -30
  200. package/es/ele-tabs/style/index.scss +372 -241
  201. package/es/ele-tabs/types.d.ts +2 -1
  202. package/es/ele-text/index.d.ts +12 -12
  203. package/es/ele-text/props.d.ts +5 -4
  204. package/es/ele-tool/index.d.ts +8 -8
  205. package/es/ele-tool/index.js +2 -4
  206. package/es/ele-tool/props.d.ts +10 -2
  207. package/es/ele-tool/props.js +5 -0
  208. package/es/ele-toolbar/index.d.ts +15 -15
  209. package/es/ele-toolbar/props.d.ts +7 -6
  210. package/es/ele-tooltip/index.d.ts +59 -58
  211. package/es/ele-tooltip/index.js +3 -0
  212. package/es/ele-tooltip/props.d.ts +28 -22
  213. package/es/ele-tooltip/props.js +2 -0
  214. package/es/ele-tour/index.d.ts +15 -14
  215. package/es/ele-tour/props.d.ts +3 -2
  216. package/es/ele-tour/util.d.ts +3 -2
  217. package/es/ele-tree-select/index.d.ts +37 -36
  218. package/es/ele-tree-select/props.d.ts +12 -11
  219. package/es/ele-tree-select/util.d.ts +3 -2
  220. package/es/ele-upload-list/components/list-item.d.ts +7 -6
  221. package/es/ele-upload-list/index.d.ts +26 -25
  222. package/es/ele-upload-list/props.d.ts +6 -5
  223. package/es/ele-virtual-table/components/body-cell.d.ts +100 -65
  224. package/es/ele-virtual-table/components/body-cell.js +79 -112
  225. package/es/ele-virtual-table/components/body-row.d.ts +89 -65
  226. package/es/ele-virtual-table/components/body-row.js +57 -52
  227. package/es/ele-virtual-table/components/cell-checkbox.d.ts +5 -4
  228. package/es/ele-virtual-table/components/cell-filter.d.ts +18 -17
  229. package/es/ele-virtual-table/components/cell-filter.js +8 -12
  230. package/es/ele-virtual-table/components/expand-row.d.ts +11 -10
  231. package/es/ele-virtual-table/components/expand-row.js +3 -3
  232. package/es/ele-virtual-table/components/footer-row.d.ts +36 -17
  233. package/es/ele-virtual-table/components/footer-row.js +29 -19
  234. package/es/ele-virtual-table/components/header-cell.d.ts +16 -15
  235. package/es/ele-virtual-table/components/header-row.d.ts +12 -11
  236. package/es/ele-virtual-table/index.d.ts +91 -100
  237. package/es/ele-virtual-table/index.js +134 -136
  238. package/es/ele-virtual-table/props.d.ts +49 -51
  239. package/es/ele-virtual-table/style/index.scss +1 -1
  240. package/es/ele-virtual-table/types.d.ts +103 -69
  241. package/es/ele-virtual-table/util.d.ts +35 -10
  242. package/es/ele-virtual-table/util.js +64 -17
  243. package/es/ele-watermark/index.d.ts +15 -14
  244. package/es/ele-watermark/props.d.ts +4 -3
  245. package/es/ele-watermark/util.d.ts +3 -2
  246. package/es/ele-xg-player/index.d.ts +10 -10
  247. package/es/icons/AnalysisOutlined.d.ts +1 -1
  248. package/es/icons/ApplicationOutlined.d.ts +1 -1
  249. package/es/icons/AppstoreAddOutlined.d.ts +1 -1
  250. package/es/icons/AppstoreOutlined.d.ts +1 -1
  251. package/es/icons/ArrowDown.d.ts +1 -1
  252. package/es/icons/ArrowDownOutlined.d.ts +1 -1
  253. package/es/icons/ArrowLeft.d.ts +1 -1
  254. package/es/icons/ArrowLeftOutlined.d.ts +1 -1
  255. package/es/icons/ArrowRight.d.ts +1 -1
  256. package/es/icons/ArrowRightOutlined.d.ts +1 -1
  257. package/es/icons/ArrowUp.d.ts +1 -1
  258. package/es/icons/ArrowUpOutlined.d.ts +1 -1
  259. package/es/icons/BellOutlined.d.ts +1 -1
  260. package/es/icons/BookOutlined.d.ts +1 -1
  261. package/es/icons/CalendarOutlined.d.ts +1 -1
  262. package/es/icons/CaretDownFilled.d.ts +1 -1
  263. package/es/icons/CaretUpFilled.d.ts +1 -1
  264. package/es/icons/CheckCircleFilled.d.ts +1 -1
  265. package/es/icons/CheckCircleOutlined.d.ts +1 -1
  266. package/es/icons/CheckOutlined.d.ts +1 -1
  267. package/es/icons/CityOutlined.d.ts +1 -1
  268. package/es/icons/ClockCircleOutlined.d.ts +1 -1
  269. package/es/icons/CloseCircleFilled.d.ts +1 -1
  270. package/es/icons/CloseCircleOutlined.d.ts +1 -1
  271. package/es/icons/CloseOutlined.d.ts +1 -1
  272. package/es/icons/CloudUploadOutlined.d.ts +1 -1
  273. package/es/icons/ClusterOutlined.d.ts +1 -1
  274. package/es/icons/CodeOutlined.d.ts +1 -1
  275. package/es/icons/ColumnHeightOutlined.d.ts +1 -1
  276. package/es/icons/CompassOutlined.d.ts +1 -1
  277. package/es/icons/CompressOutlined.d.ts +1 -1
  278. package/es/icons/ConnectionOutlined.d.ts +1 -1
  279. package/es/icons/ControlOutlined.d.ts +1 -1
  280. package/es/icons/CopyOutlined.d.ts +1 -1
  281. package/es/icons/CpuOutlined.d.ts +1 -1
  282. package/es/icons/DashboardOutlined.d.ts +1 -1
  283. package/es/icons/DatabaseOutlined.d.ts +1 -1
  284. package/es/icons/DeleteOutlined.d.ts +1 -1
  285. package/es/icons/DesktopOutlined.d.ts +1 -1
  286. package/es/icons/DownloadOutlined.d.ts +1 -1
  287. package/es/icons/DragOutlined.d.ts +1 -1
  288. package/es/icons/EditOutlined.d.ts +1 -1
  289. package/es/icons/EllipsisOutlined.d.ts +1 -1
  290. package/es/icons/EnvironmentOutlined.d.ts +1 -1
  291. package/es/icons/ExclamationCircleFilled.d.ts +1 -1
  292. package/es/icons/ExpandOutlined.d.ts +1 -1
  293. package/es/icons/FileOutlined.d.ts +1 -1
  294. package/es/icons/FilterFilled.d.ts +1 -1
  295. package/es/icons/FolderAddOutlined.d.ts +1 -1
  296. package/es/icons/FolderOutlined.d.ts +1 -1
  297. package/es/icons/FormOutlined.d.ts +1 -1
  298. package/es/icons/FullscreenExitOutlined.d.ts +1 -1
  299. package/es/icons/FullscreenOutlined.d.ts +1 -1
  300. package/es/icons/FundOutlined.d.ts +1 -1
  301. package/es/icons/GlobalOutlined.d.ts +1 -1
  302. package/es/icons/HolderOutlined.d.ts +1 -1
  303. package/es/icons/HomeOutlined.d.ts +1 -1
  304. package/es/icons/IdcardOutlined.d.ts +1 -1
  305. package/es/icons/InfoCircleFilled.d.ts +1 -1
  306. package/es/icons/LinkOutlined.d.ts +1 -1
  307. package/es/icons/LoadingDotOutlined.d.ts +1 -1
  308. package/es/icons/LoadingOutlined.d.ts +1 -1
  309. package/es/icons/LockOutlined.d.ts +1 -1
  310. package/es/icons/LogOutlined.d.ts +1 -1
  311. package/es/icons/LogoutOutlined.d.ts +1 -1
  312. package/es/icons/MailOutlined.d.ts +1 -1
  313. package/es/icons/MenuFoldOutlined.d.ts +1 -1
  314. package/es/icons/MenuUnfoldOutlined.d.ts +1 -1
  315. package/es/icons/MessageOutlined.d.ts +1 -1
  316. package/es/icons/MinusCircleOutlined.d.ts +1 -1
  317. package/es/icons/MobileOutlined.d.ts +1 -1
  318. package/es/icons/MoonOutlined.d.ts +1 -1
  319. package/es/icons/MoreOutlined.d.ts +1 -1
  320. package/es/icons/PauseFilled.d.ts +1 -1
  321. package/es/icons/PieChartOutlined.d.ts +1 -1
  322. package/es/icons/PlayFilled.d.ts +1 -1
  323. package/es/icons/PlusCircleOutlined.d.ts +1 -1
  324. package/es/icons/PlusOutlined.d.ts +1 -1
  325. package/es/icons/PrinterOutlined.d.ts +2 -0
  326. package/es/icons/PrinterOutlined.js +29 -0
  327. package/es/icons/ProtectOutlined.d.ts +1 -1
  328. package/es/icons/QuestionCircleFilled.d.ts +1 -1
  329. package/es/icons/QuestionCircleOutlined.d.ts +1 -1
  330. package/es/icons/ReloadOutlined.d.ts +1 -1
  331. package/es/icons/ResizeOutlined.d.ts +2 -0
  332. package/es/icons/ResizeOutlined.js +30 -0
  333. package/es/icons/SearchOutlined.d.ts +1 -1
  334. package/es/icons/SettingOutlined.d.ts +1 -1
  335. package/es/icons/ShoppingOutlined.d.ts +1 -1
  336. package/es/icons/SortOutlined.d.ts +1 -1
  337. package/es/icons/StarFilled.d.ts +1 -1
  338. package/es/icons/StepBackwardFilled.d.ts +1 -1
  339. package/es/icons/StepForwardFilled.d.ts +1 -1
  340. package/es/icons/SuitcaseOutlined.d.ts +1 -1
  341. package/es/icons/SunOutlined.d.ts +1 -1
  342. package/es/icons/SwapOutlined.d.ts +1 -1
  343. package/es/icons/SyncOutlined.d.ts +1 -1
  344. package/es/icons/TableOutlined.d.ts +1 -1
  345. package/es/icons/TagOutlined.d.ts +1 -1
  346. package/es/icons/TimerOutlined.d.ts +1 -1
  347. package/es/icons/UndoOutlined.d.ts +1 -1
  348. package/es/icons/UnlockOutlined.d.ts +1 -1
  349. package/es/icons/UploadOutlined.d.ts +1 -1
  350. package/es/icons/UserOutlined.d.ts +1 -1
  351. package/es/icons/VerticalAlignMiddleOutlined.d.ts +1 -1
  352. package/es/icons/VerticalLeftOutlined.d.ts +1 -1
  353. package/es/icons/VerticalLeftOutlined.js +2 -2
  354. package/es/icons/VerticalRightOutlined.d.ts +1 -1
  355. package/es/icons/VerticalRightOutlined.js +2 -2
  356. package/es/icons/WarningOutlined.d.ts +1 -1
  357. package/es/icons/ZoomInOutlined.d.ts +1 -1
  358. package/es/icons/ZoomOutOutlined.d.ts +1 -1
  359. package/es/icons/index.d.ts +2 -0
  360. package/es/icons/index.js +60 -56
  361. package/es/installer.d.ts +2 -2
  362. package/es/lang/en_US.d.ts +2 -2
  363. package/es/lang/en_US.js +13 -2
  364. package/es/lang/zh_CN.d.ts +2 -2
  365. package/es/lang/zh_CN.js +13 -2
  366. package/es/lang/zh_TW.d.ts +2 -2
  367. package/es/lang/zh_TW.js +12 -1
  368. package/es/style/nprogress.scss +1 -0
  369. package/es/style/themes/dark.scss +9 -15
  370. package/es/style/themes/default.scss +58 -81
  371. package/es/style/themes/rounded.scss +16 -30
  372. package/es/utils/menu-util.d.ts +3 -2
  373. package/es/utils/menu-util.js +2 -5
  374. package/es/utils/message.d.ts +4 -3
  375. package/es/utils/resolvers.d.ts +2 -2
  376. package/es/utils/resolvers.js +2 -2
  377. package/lib/core-installer.d.ts +2 -2
  378. package/lib/ele-alert/index.cjs +2 -2
  379. package/lib/ele-alert/index.d.ts +23 -23
  380. package/lib/ele-alert/props.d.ts +10 -9
  381. package/lib/ele-app/el.d.ts +7 -1
  382. package/lib/ele-app/index.d.ts +2 -2
  383. package/lib/ele-app/plus.d.ts +9 -0
  384. package/lib/ele-app/style/overwrite/date-picker/index.scss +32 -5
  385. package/lib/ele-avatar-group/index.d.ts +29 -28
  386. package/lib/ele-avatar-group/props.d.ts +10 -9
  387. package/lib/ele-bar-code/index.d.ts +11 -10
  388. package/lib/ele-bar-code/props.d.ts +4 -3
  389. package/lib/ele-basic-select/index.cjs +23 -6
  390. package/lib/ele-basic-select/index.d.ts +37 -35
  391. package/lib/ele-basic-select/props.d.ts +9 -8
  392. package/lib/ele-basic-select/util.d.ts +2 -1
  393. package/lib/ele-bottom-bar/index.d.ts +6 -6
  394. package/lib/ele-bottom-bar/props.d.ts +4 -3
  395. package/lib/ele-breadcrumb/index.d.ts +11 -10
  396. package/lib/ele-breadcrumb/props.d.ts +5 -4
  397. package/lib/ele-card/index.d.ts +12 -12
  398. package/lib/ele-card/props.d.ts +7 -6
  399. package/lib/ele-check-card/components/card-item.d.ts +7 -6
  400. package/lib/ele-check-card/index.d.ts +15 -14
  401. package/lib/ele-check-card/props.d.ts +6 -5
  402. package/lib/ele-config-provider/components/receiver-view.cjs +2 -44
  403. package/lib/ele-config-provider/components/receiver-view.d.ts +3 -3
  404. package/lib/ele-config-provider/index.d.ts +7 -7
  405. package/lib/ele-config-provider/props.cjs +2 -2
  406. package/lib/ele-config-provider/props.d.ts +6 -5
  407. package/lib/ele-config-provider/receiver.cjs +41 -2
  408. package/lib/ele-config-provider/receiver.d.ts +6 -10
  409. package/lib/ele-config-provider/types.d.ts +5 -29
  410. package/lib/ele-copyable/index.d.ts +32 -31
  411. package/lib/ele-copyable/props.d.ts +9 -8
  412. package/lib/ele-count-up/index.d.ts +8 -7
  413. package/lib/ele-count-up/props.d.ts +3 -2
  414. package/lib/ele-cropper/components/cropper-preview.d.ts +3 -3
  415. package/lib/ele-cropper/components/cropper-tools.d.ts +12 -11
  416. package/lib/ele-cropper/index.d.ts +16 -15
  417. package/lib/ele-cropper/props.d.ts +4 -3
  418. package/lib/ele-cropper-modal/index.cjs +1 -1
  419. package/lib/ele-cropper-modal/index.d.ts +16 -15
  420. package/lib/ele-cropper-modal/props.d.ts +7 -6
  421. package/lib/ele-dashboard/index.d.ts +5 -5
  422. package/lib/ele-dashboard/props.d.ts +3 -2
  423. package/lib/ele-data-table/index.cjs +8 -0
  424. package/lib/ele-data-table/index.d.ts +65 -70
  425. package/lib/ele-data-table/props.d.ts +36 -41
  426. package/lib/ele-data-table/style/index.scss +4 -0
  427. package/lib/ele-data-table/types.d.ts +18 -16
  428. package/lib/ele-data-table/util.cjs +14 -0
  429. package/lib/ele-data-table/util.d.ts +15 -9
  430. package/lib/ele-dot/index.d.ts +4 -4
  431. package/lib/ele-dot/props.d.ts +3 -2
  432. package/lib/ele-drawer/index.cjs +105 -111
  433. package/lib/ele-drawer/index.d.ts +75 -71
  434. package/lib/ele-drawer/props.d.ts +26 -25
  435. package/lib/ele-drawer/style/index.scss +48 -105
  436. package/lib/ele-dropdown/index.d.ts +66 -65
  437. package/lib/ele-dropdown/props.d.ts +22 -21
  438. package/lib/ele-edit-tag/index.cjs +1 -1
  439. package/lib/ele-edit-tag/index.d.ts +33 -32
  440. package/lib/ele-edit-tag/props.d.ts +10 -9
  441. package/lib/ele-ellipsis/index.d.ts +23 -22
  442. package/lib/ele-ellipsis/props.d.ts +8 -7
  443. package/lib/ele-file-list/components/file-grid-item.cjs +1 -1
  444. package/lib/ele-file-list/components/file-grid-item.d.ts +13 -12
  445. package/lib/ele-file-list/components/file-grid.d.ts +10 -9
  446. package/lib/ele-file-list/components/file-sort.d.ts +2 -2
  447. package/lib/ele-file-list/components/file-table-item.cjs +1 -1
  448. package/lib/ele-file-list/components/file-table-item.d.ts +13 -12
  449. package/lib/ele-file-list/components/file-table.d.ts +10 -9
  450. package/lib/ele-file-list/icons.d.ts +2 -1
  451. package/lib/ele-file-list/index.d.ts +36 -35
  452. package/lib/ele-file-list/props.d.ts +6 -5
  453. package/lib/ele-file-list-tool/index.d.ts +3 -3
  454. package/lib/ele-icon-select/components/icon-grid.cjs +1 -1
  455. package/lib/ele-icon-select/components/icon-grid.d.ts +15 -14
  456. package/lib/ele-icon-select/index.d.ts +49 -48
  457. package/lib/ele-icon-select/props.d.ts +17 -16
  458. package/lib/ele-loading/index.cjs +9 -15
  459. package/lib/ele-loading/index.d.ts +12 -15
  460. package/lib/ele-loading/props.d.ts +5 -4
  461. package/lib/ele-map-picker/components/map-view.cjs +1 -1
  462. package/lib/ele-map-picker/components/map-view.d.ts +29 -28
  463. package/lib/ele-map-picker/index.cjs +1 -1
  464. package/lib/ele-map-picker/index.d.ts +27 -26
  465. package/lib/ele-map-picker/props.d.ts +8 -7
  466. package/lib/ele-menus/index.cjs +1 -1
  467. package/lib/ele-menus/index.d.ts +61 -62
  468. package/lib/ele-menus/props.cjs +1 -3
  469. package/lib/ele-menus/props.d.ts +16 -17
  470. package/lib/ele-menus/style/css-var.scss +1 -5
  471. package/lib/ele-menus/util.d.ts +3 -2
  472. package/lib/ele-modal/index.cjs +176 -198
  473. package/lib/ele-modal/index.d.ts +75 -68
  474. package/lib/ele-modal/props.cjs +2 -0
  475. package/lib/ele-modal/props.d.ts +26 -23
  476. package/lib/ele-modal/style/index.scss +103 -175
  477. package/lib/ele-modal/util.cjs +55 -179
  478. package/lib/ele-modal/util.d.ts +20 -45
  479. package/lib/ele-page/index.d.ts +2 -2
  480. package/lib/ele-page/props.d.ts +2 -1
  481. package/lib/ele-pagination/index.cjs +19 -4
  482. package/lib/ele-pagination/index.d.ts +40 -29
  483. package/lib/ele-pagination/props.cjs +7 -0
  484. package/lib/ele-pagination/props.d.ts +19 -12
  485. package/lib/ele-pagination/style/index.scss +9 -0
  486. package/lib/ele-pagination/types.d.ts +6 -1
  487. package/lib/ele-popconfirm/index.cjs +5 -27
  488. package/lib/ele-popconfirm/index.d.ts +90 -89
  489. package/lib/ele-popconfirm/props.d.ts +32 -31
  490. package/lib/ele-popover/index.cjs +5 -13
  491. package/lib/ele-popover/index.d.ts +69 -68
  492. package/lib/ele-popover/props.d.ts +26 -25
  493. package/lib/ele-printer/index.d.ts +18 -18
  494. package/lib/ele-printer/props.d.ts +6 -5
  495. package/lib/ele-printer/util.cjs +1 -1
  496. package/lib/ele-printer/util.d.ts +2 -1
  497. package/lib/ele-pro-layout/components/header-tool.d.ts +1 -1
  498. package/lib/ele-pro-layout/components/pro-header.cjs +109 -19
  499. package/lib/ele-pro-layout/components/pro-header.d.ts +84 -28
  500. package/lib/ele-pro-layout/components/pro-iframe.cjs +30 -40
  501. package/lib/ele-pro-layout/components/pro-iframe.d.ts +7 -7
  502. package/lib/ele-pro-layout/components/pro-sidebar.cjs +2 -5
  503. package/lib/ele-pro-layout/components/pro-sidebar.d.ts +14 -18
  504. package/lib/ele-pro-layout/components/pro-sidebox.cjs +2 -5
  505. package/lib/ele-pro-layout/components/pro-sidebox.d.ts +16 -20
  506. package/lib/ele-pro-layout/components/pro-tabs.d.ts +12 -11
  507. package/lib/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
  508. package/lib/ele-pro-layout/components/tab-dropdown.cjs +1 -1
  509. package/lib/ele-pro-layout/components/tab-dropdown.d.ts +8 -7
  510. package/lib/ele-pro-layout/index.cjs +61 -46
  511. package/lib/ele-pro-layout/index.d.ts +97 -97
  512. package/lib/ele-pro-layout/props.cjs +2 -4
  513. package/lib/ele-pro-layout/props.d.ts +11 -13
  514. package/lib/ele-pro-layout/style/css-var.scss +3 -18
  515. package/lib/ele-pro-layout/style/header.scss +74 -9
  516. package/lib/ele-pro-layout/style/layout-mobile.scss +2 -2
  517. package/lib/ele-pro-layout/style/layout-style.scss +8 -3
  518. package/lib/ele-pro-layout/style/layout-theme.scss +48 -23
  519. package/lib/ele-pro-layout/style/layout.scss +38 -8
  520. package/lib/ele-pro-layout/style/sidebar.scss +0 -1
  521. package/lib/ele-pro-layout/style/tabs.scss +19 -11
  522. package/lib/ele-pro-layout/types.d.ts +1 -1
  523. package/lib/ele-pro-layout/util.cjs +2 -3
  524. package/lib/ele-pro-layout/util.d.ts +6 -6
  525. package/lib/ele-pro-table/components/table-tools.cjs +124 -7
  526. package/lib/ele-pro-table/components/table-tools.d.ts +107 -15
  527. package/lib/ele-pro-table/components/tool-column-list.cjs +3 -6
  528. package/lib/ele-pro-table/components/tool-column-list.d.ts +6 -5
  529. package/lib/ele-pro-table/components/tool-column.cjs +8 -8
  530. package/lib/ele-pro-table/components/tool-column.d.ts +14 -13
  531. package/lib/ele-pro-table/components/tool-export.cjs +448 -0
  532. package/lib/ele-pro-table/components/tool-export.d.ts +179 -0
  533. package/lib/ele-pro-table/components/tool-print-body-cell.cjs +87 -0
  534. package/lib/ele-pro-table/components/tool-print-body-cell.d.ts +35 -0
  535. package/lib/ele-pro-table/components/tool-print-header-cell.cjs +87 -0
  536. package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +35 -0
  537. package/lib/ele-pro-table/components/tool-print.cjs +554 -0
  538. package/lib/ele-pro-table/components/tool-print.d.ts +182 -0
  539. package/lib/ele-pro-table/index.cjs +105 -35
  540. package/lib/ele-pro-table/index.d.ts +138 -131
  541. package/lib/ele-pro-table/props.cjs +6 -2
  542. package/lib/ele-pro-table/props.d.ts +52 -48
  543. package/lib/ele-pro-table/style/index.cjs +9 -0
  544. package/lib/ele-pro-table/style/index.scss +33 -5
  545. package/lib/ele-pro-table/types.d.ts +160 -5
  546. package/lib/ele-pro-table/util.cjs +154 -27
  547. package/lib/ele-pro-table/util.d.ts +64 -16
  548. package/lib/ele-qr-code/index.d.ts +16 -15
  549. package/lib/ele-qr-code/props.d.ts +4 -3
  550. package/lib/ele-qr-code/util.d.ts +3 -2
  551. package/lib/ele-qr-code-svg/index.d.ts +18 -18
  552. package/lib/ele-segmented/index.d.ts +10 -9
  553. package/lib/ele-segmented/props.d.ts +3 -2
  554. package/lib/ele-split-panel/index.d.ts +18 -17
  555. package/lib/ele-split-panel/props.d.ts +5 -4
  556. package/lib/ele-steps/index.d.ts +33 -33
  557. package/lib/ele-steps/props.d.ts +10 -9
  558. package/lib/ele-tab-tool/index.d.ts +2 -2
  559. package/lib/ele-tab-tool/props.d.ts +2 -1
  560. package/lib/ele-tab-wrap/index.cjs +2 -1
  561. package/lib/ele-tab-wrap/index.d.ts +6 -6
  562. package/lib/ele-tab-wrap/props.d.ts +3 -2
  563. package/lib/ele-table/index.cjs +2 -1
  564. package/lib/ele-table/index.d.ts +7 -4
  565. package/lib/ele-table/props.cjs +3 -1
  566. package/lib/ele-table/props.d.ts +5 -2
  567. package/lib/ele-table/style/index.scss +35 -0
  568. package/lib/ele-table-select/index.cjs +29 -27
  569. package/lib/ele-table-select/index.d.ts +45 -43
  570. package/lib/ele-table-select/props.d.ts +11 -10
  571. package/lib/ele-tabs/components/tab-title.d.ts +9 -8
  572. package/lib/ele-tabs/index.cjs +1 -0
  573. package/lib/ele-tabs/index.d.ts +43 -55
  574. package/lib/ele-tabs/props.d.ts +17 -23
  575. package/lib/ele-tabs/style/css-var.scss +1 -30
  576. package/lib/ele-tabs/style/index.scss +372 -241
  577. package/lib/ele-tabs/types.d.ts +2 -1
  578. package/lib/ele-text/index.d.ts +12 -12
  579. package/lib/ele-text/props.d.ts +5 -4
  580. package/lib/ele-tool/index.cjs +1 -3
  581. package/lib/ele-tool/index.d.ts +8 -8
  582. package/lib/ele-tool/props.cjs +5 -0
  583. package/lib/ele-tool/props.d.ts +10 -2
  584. package/lib/ele-toolbar/index.d.ts +15 -15
  585. package/lib/ele-toolbar/props.d.ts +7 -6
  586. package/lib/ele-tooltip/index.cjs +3 -0
  587. package/lib/ele-tooltip/index.d.ts +59 -58
  588. package/lib/ele-tooltip/props.cjs +2 -0
  589. package/lib/ele-tooltip/props.d.ts +28 -22
  590. package/lib/ele-tour/index.d.ts +15 -14
  591. package/lib/ele-tour/props.d.ts +3 -2
  592. package/lib/ele-tour/util.d.ts +3 -2
  593. package/lib/ele-tree-select/index.d.ts +37 -36
  594. package/lib/ele-tree-select/props.d.ts +12 -11
  595. package/lib/ele-tree-select/util.d.ts +3 -2
  596. package/lib/ele-upload-list/components/list-item.d.ts +7 -6
  597. package/lib/ele-upload-list/index.d.ts +26 -25
  598. package/lib/ele-upload-list/props.d.ts +6 -5
  599. package/lib/ele-virtual-table/components/body-cell.cjs +78 -111
  600. package/lib/ele-virtual-table/components/body-cell.d.ts +100 -65
  601. package/lib/ele-virtual-table/components/body-row.cjs +57 -52
  602. package/lib/ele-virtual-table/components/body-row.d.ts +89 -65
  603. package/lib/ele-virtual-table/components/cell-checkbox.d.ts +5 -4
  604. package/lib/ele-virtual-table/components/cell-filter.cjs +7 -11
  605. package/lib/ele-virtual-table/components/cell-filter.d.ts +18 -17
  606. package/lib/ele-virtual-table/components/expand-row.cjs +3 -3
  607. package/lib/ele-virtual-table/components/expand-row.d.ts +11 -10
  608. package/lib/ele-virtual-table/components/footer-row.cjs +27 -17
  609. package/lib/ele-virtual-table/components/footer-row.d.ts +36 -17
  610. package/lib/ele-virtual-table/components/header-cell.d.ts +16 -15
  611. package/lib/ele-virtual-table/components/header-row.d.ts +12 -11
  612. package/lib/ele-virtual-table/index.cjs +132 -134
  613. package/lib/ele-virtual-table/index.d.ts +91 -100
  614. package/lib/ele-virtual-table/props.d.ts +49 -51
  615. package/lib/ele-virtual-table/style/index.scss +1 -1
  616. package/lib/ele-virtual-table/types.d.ts +103 -69
  617. package/lib/ele-virtual-table/util.cjs +64 -17
  618. package/lib/ele-virtual-table/util.d.ts +35 -10
  619. package/lib/ele-watermark/index.d.ts +15 -14
  620. package/lib/ele-watermark/props.d.ts +4 -3
  621. package/lib/ele-watermark/util.d.ts +3 -2
  622. package/lib/ele-xg-player/index.d.ts +10 -10
  623. package/lib/icons/AnalysisOutlined.d.ts +1 -1
  624. package/lib/icons/ApplicationOutlined.d.ts +1 -1
  625. package/lib/icons/AppstoreAddOutlined.d.ts +1 -1
  626. package/lib/icons/AppstoreOutlined.d.ts +1 -1
  627. package/lib/icons/ArrowDown.d.ts +1 -1
  628. package/lib/icons/ArrowDownOutlined.d.ts +1 -1
  629. package/lib/icons/ArrowLeft.d.ts +1 -1
  630. package/lib/icons/ArrowLeftOutlined.d.ts +1 -1
  631. package/lib/icons/ArrowRight.d.ts +1 -1
  632. package/lib/icons/ArrowRightOutlined.d.ts +1 -1
  633. package/lib/icons/ArrowUp.d.ts +1 -1
  634. package/lib/icons/ArrowUpOutlined.d.ts +1 -1
  635. package/lib/icons/BellOutlined.d.ts +1 -1
  636. package/lib/icons/BookOutlined.d.ts +1 -1
  637. package/lib/icons/CalendarOutlined.d.ts +1 -1
  638. package/lib/icons/CaretDownFilled.d.ts +1 -1
  639. package/lib/icons/CaretUpFilled.d.ts +1 -1
  640. package/lib/icons/CheckCircleFilled.d.ts +1 -1
  641. package/lib/icons/CheckCircleOutlined.d.ts +1 -1
  642. package/lib/icons/CheckOutlined.d.ts +1 -1
  643. package/lib/icons/CityOutlined.d.ts +1 -1
  644. package/lib/icons/ClockCircleOutlined.d.ts +1 -1
  645. package/lib/icons/CloseCircleFilled.d.ts +1 -1
  646. package/lib/icons/CloseCircleOutlined.d.ts +1 -1
  647. package/lib/icons/CloseOutlined.d.ts +1 -1
  648. package/lib/icons/CloudUploadOutlined.d.ts +1 -1
  649. package/lib/icons/ClusterOutlined.d.ts +1 -1
  650. package/lib/icons/CodeOutlined.d.ts +1 -1
  651. package/lib/icons/ColumnHeightOutlined.d.ts +1 -1
  652. package/lib/icons/CompassOutlined.d.ts +1 -1
  653. package/lib/icons/CompressOutlined.d.ts +1 -1
  654. package/lib/icons/ConnectionOutlined.d.ts +1 -1
  655. package/lib/icons/ControlOutlined.d.ts +1 -1
  656. package/lib/icons/CopyOutlined.d.ts +1 -1
  657. package/lib/icons/CpuOutlined.d.ts +1 -1
  658. package/lib/icons/DashboardOutlined.d.ts +1 -1
  659. package/lib/icons/DatabaseOutlined.d.ts +1 -1
  660. package/lib/icons/DeleteOutlined.d.ts +1 -1
  661. package/lib/icons/DesktopOutlined.d.ts +1 -1
  662. package/lib/icons/DownloadOutlined.d.ts +1 -1
  663. package/lib/icons/DragOutlined.d.ts +1 -1
  664. package/lib/icons/EditOutlined.d.ts +1 -1
  665. package/lib/icons/EllipsisOutlined.d.ts +1 -1
  666. package/lib/icons/EnvironmentOutlined.d.ts +1 -1
  667. package/lib/icons/ExclamationCircleFilled.d.ts +1 -1
  668. package/lib/icons/ExpandOutlined.d.ts +1 -1
  669. package/lib/icons/FileOutlined.d.ts +1 -1
  670. package/lib/icons/FilterFilled.d.ts +1 -1
  671. package/lib/icons/FolderAddOutlined.d.ts +1 -1
  672. package/lib/icons/FolderOutlined.d.ts +1 -1
  673. package/lib/icons/FormOutlined.d.ts +1 -1
  674. package/lib/icons/FullscreenExitOutlined.d.ts +1 -1
  675. package/lib/icons/FullscreenOutlined.d.ts +1 -1
  676. package/lib/icons/FundOutlined.d.ts +1 -1
  677. package/lib/icons/GlobalOutlined.d.ts +1 -1
  678. package/lib/icons/HolderOutlined.d.ts +1 -1
  679. package/lib/icons/HomeOutlined.d.ts +1 -1
  680. package/lib/icons/IdcardOutlined.d.ts +1 -1
  681. package/lib/icons/InfoCircleFilled.d.ts +1 -1
  682. package/lib/icons/LinkOutlined.d.ts +1 -1
  683. package/lib/icons/LoadingDotOutlined.d.ts +1 -1
  684. package/lib/icons/LoadingOutlined.d.ts +1 -1
  685. package/lib/icons/LockOutlined.d.ts +1 -1
  686. package/lib/icons/LogOutlined.d.ts +1 -1
  687. package/lib/icons/LogoutOutlined.d.ts +1 -1
  688. package/lib/icons/MailOutlined.d.ts +1 -1
  689. package/lib/icons/MenuFoldOutlined.d.ts +1 -1
  690. package/lib/icons/MenuUnfoldOutlined.d.ts +1 -1
  691. package/lib/icons/MessageOutlined.d.ts +1 -1
  692. package/lib/icons/MinusCircleOutlined.d.ts +1 -1
  693. package/lib/icons/MobileOutlined.d.ts +1 -1
  694. package/lib/icons/MoonOutlined.d.ts +1 -1
  695. package/lib/icons/MoreOutlined.d.ts +1 -1
  696. package/lib/icons/PauseFilled.d.ts +1 -1
  697. package/lib/icons/PieChartOutlined.d.ts +1 -1
  698. package/lib/icons/PlayFilled.d.ts +1 -1
  699. package/lib/icons/PlusCircleOutlined.d.ts +1 -1
  700. package/lib/icons/PlusOutlined.d.ts +1 -1
  701. package/lib/icons/PrinterOutlined.cjs +28 -0
  702. package/lib/icons/PrinterOutlined.d.ts +2 -0
  703. package/lib/icons/ProtectOutlined.d.ts +1 -1
  704. package/lib/icons/QuestionCircleFilled.d.ts +1 -1
  705. package/lib/icons/QuestionCircleOutlined.d.ts +1 -1
  706. package/lib/icons/ReloadOutlined.d.ts +1 -1
  707. package/lib/icons/ResizeOutlined.cjs +29 -0
  708. package/lib/icons/ResizeOutlined.d.ts +2 -0
  709. package/lib/icons/SearchOutlined.d.ts +1 -1
  710. package/lib/icons/SettingOutlined.d.ts +1 -1
  711. package/lib/icons/ShoppingOutlined.d.ts +1 -1
  712. package/lib/icons/SortOutlined.d.ts +1 -1
  713. package/lib/icons/StarFilled.d.ts +1 -1
  714. package/lib/icons/StepBackwardFilled.d.ts +1 -1
  715. package/lib/icons/StepForwardFilled.d.ts +1 -1
  716. package/lib/icons/SuitcaseOutlined.d.ts +1 -1
  717. package/lib/icons/SunOutlined.d.ts +1 -1
  718. package/lib/icons/SwapOutlined.d.ts +1 -1
  719. package/lib/icons/SyncOutlined.d.ts +1 -1
  720. package/lib/icons/TableOutlined.d.ts +1 -1
  721. package/lib/icons/TagOutlined.d.ts +1 -1
  722. package/lib/icons/TimerOutlined.d.ts +1 -1
  723. package/lib/icons/UndoOutlined.d.ts +1 -1
  724. package/lib/icons/UnlockOutlined.d.ts +1 -1
  725. package/lib/icons/UploadOutlined.d.ts +1 -1
  726. package/lib/icons/UserOutlined.d.ts +1 -1
  727. package/lib/icons/VerticalAlignMiddleOutlined.d.ts +1 -1
  728. package/lib/icons/VerticalLeftOutlined.cjs +2 -2
  729. package/lib/icons/VerticalLeftOutlined.d.ts +1 -1
  730. package/lib/icons/VerticalRightOutlined.cjs +2 -2
  731. package/lib/icons/VerticalRightOutlined.d.ts +1 -1
  732. package/lib/icons/WarningOutlined.d.ts +1 -1
  733. package/lib/icons/ZoomInOutlined.d.ts +1 -1
  734. package/lib/icons/ZoomOutOutlined.d.ts +1 -1
  735. package/lib/icons/index.cjs +4 -0
  736. package/lib/icons/index.d.ts +2 -0
  737. package/lib/installer.d.ts +2 -2
  738. package/lib/lang/en_US.cjs +13 -2
  739. package/lib/lang/en_US.d.ts +2 -2
  740. package/lib/lang/zh_CN.cjs +13 -2
  741. package/lib/lang/zh_CN.d.ts +2 -2
  742. package/lib/lang/zh_TW.cjs +12 -1
  743. package/lib/lang/zh_TW.d.ts +2 -2
  744. package/lib/style/nprogress.scss +1 -0
  745. package/lib/style/themes/dark.scss +9 -15
  746. package/lib/style/themes/default.scss +58 -81
  747. package/lib/style/themes/rounded.scss +16 -30
  748. package/lib/utils/menu-util.cjs +1 -4
  749. package/lib/utils/menu-util.d.ts +3 -2
  750. package/lib/utils/message.d.ts +4 -3
  751. package/lib/utils/resolvers.cjs +2 -2
  752. package/lib/utils/resolvers.d.ts +2 -2
  753. package/package.json +23 -22
@@ -22,6 +22,7 @@
22
22
  position: relative;
23
23
  background: eleVar('modal', 'bg');
24
24
  border-radius: eleVar('modal', 'radius');
25
+ margin-bottom: eleVar('modal', 'mobile-space');
25
26
 
26
27
  & > .el-dialog__header,
27
28
  & > .el-dialog__footer {
@@ -38,119 +39,104 @@
38
39
  }
39
40
  }
40
41
  }
42
+ }
41
43
 
42
- /* header */
43
- .ele-modal-header {
44
- display: flex;
45
- align-items: center;
46
- box-sizing: border-box;
47
- padding: eleVar('modal', 'header-padding');
48
- border-bottom: eleVar('modal', 'header-border');
49
- }
44
+ /* header */
45
+ .ele-modal-header {
46
+ display: flex;
47
+ align-items: center;
48
+ box-sizing: border-box;
49
+ padding: eleVar('modal', 'header-padding');
50
+ border-bottom: eleVar('modal', 'header-border');
51
+ }
50
52
 
51
- .ele-modal-title {
52
- flex: 1;
53
- color: eleVar('modal', 'header-color');
54
- font-size: eleVar('modal', 'header-font-size');
55
- line-height: eleVar('modal', 'header-line-height');
56
- font-weight: eleVar('modal', 'header-font-weight');
57
- box-sizing: border-box;
58
- }
53
+ .ele-modal-title {
54
+ flex: 1;
55
+ color: eleVar('modal', 'header-color');
56
+ font-size: eleVar('modal', 'header-font-size');
57
+ line-height: eleVar('modal', 'header-line-height');
58
+ font-weight: eleVar('modal', 'header-font-weight');
59
+ box-sizing: border-box;
60
+ }
59
61
 
60
- /* 图标按钮 */
61
- .ele-modal-tool {
62
- flex-shrink: 0;
63
- display: flex;
64
- align-items: center;
65
- justify-content: center;
66
- width: eleVar('modal', 'icon-size');
67
- height: eleVar('modal', 'icon-size');
68
- line-height: eleVar('modal', 'icon-size');
69
- color: eleVar('modal', 'icon-color');
70
- font-size: eleVar('modal', 'icon-font-size');
71
- border-radius: eleVar('modal', 'icon-radius');
72
- transition: (color $ele-transition, background-color $ele-transition);
73
- box-sizing: border-box;
74
- cursor: pointer;
75
-
76
- &:hover {
77
- color: eleVar('modal', 'icon-hover-color');
78
- background: eleVar('modal', 'icon-hover-bg');
79
- }
62
+ /* 图标按钮 */
63
+ .ele-modal-tool {
64
+ flex-shrink: 0;
65
+ display: flex;
66
+ align-items: center;
67
+ justify-content: center;
68
+ width: eleVar('modal', 'icon-size');
69
+ height: eleVar('modal', 'icon-size');
70
+ line-height: eleVar('modal', 'icon-size');
71
+ color: eleVar('modal', 'icon-color');
72
+ font-size: eleVar('modal', 'icon-font-size');
73
+ border-radius: eleVar('modal', 'icon-radius');
74
+ transition: (color $ele-transition, background-color $ele-transition);
75
+ box-sizing: border-box;
76
+ cursor: pointer;
80
77
 
81
- & + .ele-modal-tool {
82
- margin-left: eleVar('modal', 'icon-space');
83
- }
78
+ &:hover {
79
+ color: eleVar('modal', 'icon-hover-color');
80
+ background: eleVar('modal', 'icon-hover-bg');
84
81
  }
85
82
 
86
- /* body */
87
- .ele-modal-body {
88
- padding: eleVar('modal', 'body-padding');
89
- box-sizing: border-box;
83
+ & + .ele-modal-tool {
84
+ margin-left: eleVar('modal', 'icon-space');
90
85
  }
86
+ }
91
87
 
92
- /* footer */
93
- .ele-modal-footer {
94
- padding: eleVar('modal', 'footer-padding');
95
- border-top: eleVar('modal', 'footer-border');
96
- box-sizing: border-box;
97
- }
88
+ /* body */
89
+ .ele-modal-body {
90
+ padding: eleVar('modal', 'body-padding');
91
+ box-sizing: border-box;
98
92
 
99
- /* 表单弹窗 */
100
- &.ele-modal-form > .el-overlay-dialog > .el-dialog > .el-dialog__body {
101
- & > .ele-modal-body {
102
- padding: eleVar('modal', 'form-body-padding');
103
- }
93
+ &.is-form {
94
+ padding: eleVar('modal', 'form-body-padding');
104
95
  }
105
96
  }
106
97
 
98
+ /* footer */
99
+ .ele-modal-footer {
100
+ padding: eleVar('modal', 'footer-padding');
101
+ border-top: eleVar('modal', 'footer-border');
102
+ box-sizing: border-box;
103
+ }
104
+
107
105
  /* 默认位置 */
108
- .ele-modal-center > .el-overlay-dialog > .el-dialog,
109
- .ele-modal-top > .el-overlay-dialog > .el-dialog,
110
- .ele-modal-bottom > .el-overlay-dialog > .el-dialog,
111
- .ele-modal-left > .el-overlay-dialog > .el-dialog,
112
- .ele-modal-right > .el-overlay-dialog > .el-dialog,
113
- .ele-modal-left-top > .el-overlay-dialog > .el-dialog,
114
- .ele-modal-left-bottom > .el-overlay-dialog > .el-dialog,
115
- .ele-modal-right-top > .el-overlay-dialog > .el-dialog,
116
- .ele-modal-right-bottom > .el-overlay-dialog > .el-dialog {
106
+ .ele-modal-top > .el-overlay-dialog > .el-dialog {
117
107
  margin: 0;
118
108
  }
119
109
 
120
- .ele-modal-center > .el-overlay-dialog {
121
- justify-content: center;
110
+ .ele-modal-center > .el-overlay-dialog > .el-dialog {
111
+ margin: auto;
122
112
  }
123
113
 
124
- .ele-modal-bottom > .el-overlay-dialog {
125
- justify-content: flex-end;
114
+ .ele-modal-bottom > .el-overlay-dialog > .el-dialog {
115
+ margin: auto auto 0 auto;
126
116
  }
127
117
 
128
- .ele-modal-left > .el-overlay-dialog {
129
- justify-content: center;
130
- align-items: flex-start;
118
+ .ele-modal-left > .el-overlay-dialog > .el-dialog {
119
+ margin: auto auto auto 0;
131
120
  }
132
121
 
133
- .ele-modal-right > .el-overlay-dialog {
134
- justify-content: center;
135
- align-items: flex-end;
122
+ .ele-modal-right > .el-overlay-dialog > .el-dialog {
123
+ margin: auto 0 auto auto;
136
124
  }
137
125
 
138
- .ele-modal-left-top > .el-overlay-dialog {
139
- align-items: flex-start;
126
+ .ele-modal-left-top > .el-overlay-dialog > .el-dialog {
127
+ margin: 0 auto 0 0;
140
128
  }
141
129
 
142
- .ele-modal-left-bottom > .el-overlay-dialog {
143
- justify-content: flex-end;
144
- align-items: flex-start;
130
+ .ele-modal-left-bottom > .el-overlay-dialog > .el-dialog {
131
+ margin: auto auto 0 0;
145
132
  }
146
133
 
147
- .ele-modal-right-top > .el-overlay-dialog {
148
- align-items: flex-end;
134
+ .ele-modal-right-top > .el-overlay-dialog > .el-dialog {
135
+ margin: 0 0 0 auto;
149
136
  }
150
137
 
151
- .ele-modal-right-bottom > .el-overlay-dialog {
152
- justify-content: flex-end;
153
- align-items: flex-end;
138
+ .ele-modal-right-bottom > .el-overlay-dialog > .el-dialog {
139
+ margin: auto 0 0 auto;
154
140
  }
155
141
 
156
142
  /* 支持拖拽 */
@@ -160,26 +146,24 @@
160
146
  }
161
147
 
162
148
  /* 支持拉伸 */
163
- .ele-modal-resizable > .el-overlay-dialog > .el-dialog::after {
164
- content: '';
149
+ .ele-modal-resize-icon {
165
150
  position: absolute;
166
- right: 0;
167
- bottom: 0;
168
- width: 12px;
169
- height: 12px;
151
+ right: 2px;
152
+ bottom: 2px;
153
+ display: flex;
154
+ align-items: center;
155
+ justify-content: center;
156
+ color: eleVar('modal', 'icon-color');
157
+ font-size: 12px;
170
158
  cursor: se-resize;
171
- background-image: eleVar('modal', 'resize-bg');
172
- background-position: 0 0;
173
- background-size: 10px 10px;
174
- background-repeat: no-repeat;
175
- }
176
159
 
177
- .ele-modal-resizable-horizontal > .el-overlay-dialog > .el-dialog::after {
178
- cursor: e-resize;
179
- }
160
+ &.is-horizontal {
161
+ cursor: e-resize;
162
+ }
180
163
 
181
- .ele-modal-resizable-vertical > .el-overlay-dialog > .el-dialog::after {
182
- cursor: s-resize;
164
+ &.is-vertical {
165
+ cursor: s-resize;
166
+ }
183
167
  }
184
168
 
185
169
  .ele-modal-resizable > .el-overlay-dialog > .el-dialog,
@@ -201,35 +185,36 @@
201
185
  width: 100% !important;
202
186
  height: 100% !important;
203
187
  display: flex !important;
204
- max-width: inherit !important;
205
- min-width: inherit !important;
206
- max-height: inherit !important;
207
- min-height: inherit !important;
208
- border: eleVar('modal', 'fullscreen-border');
209
- border-radius: 0;
188
+ max-width: none !important;
189
+ min-width: auto !important;
190
+ max-height: none !important;
191
+ min-height: auto !important;
192
+ border-radius: 0 !important;
210
193
 
211
194
  & > .el-dialog__header {
212
- cursor: default !important;
213
- }
195
+ cursor: default;
214
196
 
215
- &::after {
216
- display: none;
197
+ & > .ele-modal-resize-icon {
198
+ display: none;
199
+ }
217
200
  }
218
201
  }
219
202
 
220
- /* 支持打开多个 */
221
- #ele-modal-container {
203
+ /* 同时打开多个 */
204
+ .ele-modal-container {
222
205
  position: absolute;
223
206
  top: 0;
224
207
  left: 0;
225
208
  right: 0;
226
209
  bottom: 0;
210
+ width: 100%;
211
+ height: 100%;
227
212
  pointer-events: none;
228
213
  z-index: elVar('index', 'popper');
229
214
  }
230
215
 
231
216
  .ele-modal-multiple {
232
- pointer-events: none;
217
+ pointer-events: none !important;
233
218
  position: absolute !important;
234
219
 
235
220
  & > .el-overlay-dialog {
@@ -247,70 +232,13 @@
247
232
  display: none !important;
248
233
  }
249
234
 
250
- /* 移动端 */
235
+ /* 最大宽度适应屏幕 */
251
236
  .ele-modal-responsive > .el-overlay-dialog > .el-dialog {
252
- max-width: calc(100vw - #{eleVar('modal', 'mobile-space')} * 2);
237
+ max-width: calc(100% - #{eleVar('modal', 'mobile-space')} * 2);
253
238
  }
254
239
 
255
- /* 限制在内部并适配布局状态 */
256
- .ele-modal-inner {
257
- &.ele-modal {
258
- top: eleVar('header', 'height', 0);
259
- left: eleVar('sidebar', 'width', 0);
260
- }
261
-
262
- &:not(.dialog-fade-leave-active):not(.dialog-fade-enter-active) {
263
- transition: (width $ele-transition, left $ele-transition);
264
- }
265
-
266
- &.ele-state-has-tab {
267
- top: calc(#{eleVar('header', 'height')} + #{eleVar('tab', 'height')});
268
- }
269
-
270
- &.ele-state-collapse {
271
- left: eleVar('sidebar', 'collapse-width');
272
- }
273
-
274
- &.ele-state-mix-sidebar {
275
- $box-width: eleVar('sidebox', 'width');
276
- left: calc(#{$box-width} + #{eleVar('sidebar', 'mix-width')});
277
-
278
- &.ele-state-collapse {
279
- left: $box-width;
280
- }
281
-
282
- &.ele-state-single-sidebar {
283
- left: $box-width;
284
- }
285
- }
286
-
287
- &.ele-state-compact {
288
- $collapse-width: eleVar('sidebar', 'collapse-width');
289
- left: calc(#{$collapse-width} + #{eleVar('sidebar', 'mix-width')});
290
-
291
- &.ele-state-single-sidebar {
292
- left: $collapse-width;
293
- }
294
-
295
- &.ele-state-collapse {
296
- left: $collapse-width;
297
- }
298
- }
299
-
300
- &.ele-state-top-layout {
301
- left: 0;
302
- }
303
-
304
- &.ele-state-maximized {
305
- top: eleVar('tab', 'height');
306
- left: 0 !important;
307
- }
308
-
309
- &.ele-state-expanded {
310
- top: 0 !important;
311
- }
312
-
313
- &.ele-state-mobile {
314
- left: 0 !important;
315
- }
240
+ /* 限制在主体区域 */
241
+ .ele-admin-modals > .ele-modal {
242
+ pointer-events: auto;
243
+ position: absolute !important;
316
244
  }
@@ -1,104 +1,51 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const core = require("../utils/core");
4
- const titleClass = "ele-modal-title";
5
- const headerClass = "ele-modal-header";
4
+ const containerClass = "ele-modal-container";
6
5
  const wrapperClass = "ele-modal";
7
- const containerId = "ele-modal-container";
8
- const movableClass = "ele-modal-movable";
9
- const resizableClass = "ele-modal-resizable";
10
- const multipleClass = "ele-modal-multiple";
11
- const fullscreenClass = "ele-modal-fullscreen";
12
- const innerClass = "ele-modal-inner";
13
- const responsiveClass = "ele-modal-responsive";
14
6
  const closedClass = "ele-modal-closed";
15
- const hideClass = "ele-modal-hide";
16
- const collapseClass = "ele-state-collapse";
17
- const compactClass = "ele-state-compact";
18
- const maximizedClass = "ele-state-maximized";
19
- const hasTabClass = "ele-state-has-tab";
20
- const mixSidebarClass = "ele-state-mix-sidebar";
21
- const singleSidebarClass = "ele-state-single-sidebar";
22
- const topLayoutClass = "ele-state-top-layout";
23
- const expandedClass = "ele-state-expanded";
24
- const mobileClass = "ele-state-mobile";
25
7
  const fixTop = 0.65;
26
8
  const fixLeft = 0.65;
27
- function initModalStyle(modalEl, resizable) {
9
+ function initModalStyle(modalEl) {
28
10
  modalEl.style.top = modalEl.offsetTop + "px";
29
11
  modalEl.style.left = modalEl.offsetLeft + "px";
30
- modalEl.style.bottom = "auto";
31
12
  modalEl.style.right = "auto";
32
- modalEl.style.margin = "0";
13
+ modalEl.style.bottom = "auto";
33
14
  modalEl.style.position = "absolute";
34
- modalEl.style.display = resizable ? "inline-flex" : "inline-block";
35
- modalEl.style.verticalAlign = "top";
36
- }
37
- function getModalContainer(multiple, appendTo) {
38
- if (!multiple) {
39
- return appendTo || "body";
40
- }
41
- const container = document.getElementById(containerId);
42
- if (container) {
43
- return container;
44
- }
45
- const elem = document.createElement("div");
46
- elem.id = containerId;
47
- document.body.appendChild(elem);
48
- return elem;
49
- }
50
- function getVisibleModals() {
51
- const el = getModalContainer(true);
52
- const modals = el.querySelectorAll(`.${wrapperClass}:not(.${closedClass})`);
53
- return modals ? Array.from(modals) : [];
54
- }
55
- function getModalMaxIndex(el) {
56
- const modals = getVisibleModals();
57
- let maxIndex = 0;
58
- modals.forEach((modalEl) => {
59
- const zIndex = core.getCurrentStyle(modalEl).zIndex;
60
- if (zIndex != null) {
61
- const index = Number(zIndex);
62
- if (index >= maxIndex && (!el || modalEl !== el)) {
63
- maxIndex = index + 1;
64
- }
65
- }
66
- });
67
- return maxIndex;
15
+ modalEl.style.margin = "0";
68
16
  }
69
17
  function canMoveOut(moveOut, direction) {
70
- if (direction && moveOut != null && typeof moveOut === "object" && typeof moveOut.includes === "function") {
18
+ if (direction && moveOut != null && Array.isArray(moveOut)) {
71
19
  return moveOut.includes(direction);
72
20
  }
73
21
  return false;
74
22
  }
75
- function handleMovable(event, props) {
76
- var _a;
77
- if (!props.draggable) {
78
- return;
23
+ function getModalContainer(inner, multiple, appendTo, modalsEl) {
24
+ if (multiple) {
25
+ const parent = (inner ? modalsEl : void 0) || document.body;
26
+ const wrapper = Array.from(parent.children).find(
27
+ (el) => el.classList.contains(containerClass)
28
+ );
29
+ if (wrapper) {
30
+ return wrapper;
31
+ }
32
+ const elem = document.createElement("div");
33
+ elem.classList.add(containerClass);
34
+ parent.appendChild(elem);
35
+ return elem;
79
36
  }
80
- const modalEl = event.currentTarget;
81
- if (!modalEl) {
82
- return;
37
+ if (inner && modalsEl) {
38
+ return modalsEl;
83
39
  }
40
+ return appendTo || "body";
41
+ }
42
+ function handleMove(modalEl, event, props) {
84
43
  const wrapEl = modalEl.parentElement;
85
44
  if (!wrapEl) {
86
45
  return;
87
46
  }
88
- const headerEl = modalEl.querySelector("." + headerClass);
89
- if (!headerEl) {
90
- return;
91
- }
92
- const titleEl = headerEl.querySelector("." + titleClass);
93
- if (!titleEl || event.target !== headerEl && event.target !== titleEl) {
94
- return;
95
- }
96
- const modalClass = (_a = wrapEl.parentElement) == null ? void 0 : _a.classList;
97
- if (modalClass && modalClass.contains(fullscreenClass)) {
98
- return;
99
- }
100
47
  modalEl.style.userSelect = "none";
101
- initModalStyle(modalEl, props.resizable);
48
+ initModalStyle(modalEl);
102
49
  const downX = event.clientX;
103
50
  const downY = event.clientY;
104
51
  const downOL = modalEl.offsetLeft;
@@ -155,32 +102,13 @@ function handleMovable(event, props) {
155
102
  document.addEventListener("mousemove", mousemoveFn);
156
103
  document.addEventListener("mouseup", mouseupFn);
157
104
  }
158
- function handleResizable(event, props) {
159
- if (!props.resizable) {
160
- return;
161
- }
162
- const modalEl = event.currentTarget;
163
- if (!modalEl) {
164
- return;
165
- }
105
+ function handleResize(modalEl, event, props) {
166
106
  const wrapEl = modalEl.parentElement;
167
107
  if (!wrapEl) {
168
108
  return;
169
109
  }
170
- const overlayEl = wrapEl.parentElement;
171
- if (!overlayEl) {
172
- return;
173
- }
174
- if (overlayEl.classList.contains(fullscreenClass)) {
175
- return;
176
- }
177
- const limitX = modalEl.clientWidth + modalEl.offsetLeft - wrapEl.scrollLeft + overlayEl.offsetLeft;
178
- const limitY = modalEl.clientHeight + modalEl.offsetTop - wrapEl.scrollTop + overlayEl.offsetTop;
179
- if (event.clientX > limitX || limitX - event.clientX > 12 || event.clientY > limitY || limitY - event.clientY > 12) {
180
- return;
181
- }
182
110
  modalEl.style.userSelect = "none";
183
- initModalStyle(modalEl, true);
111
+ initModalStyle(modalEl);
184
112
  const downX = event.clientX;
185
113
  const downY = event.clientY;
186
114
  const downW = modalEl.clientWidth;
@@ -211,34 +139,45 @@ function handleResizable(event, props) {
211
139
  document.addEventListener("mousemove", mousemoveFn);
212
140
  document.addEventListener("mouseup", mouseupFn);
213
141
  }
214
- function setModalTop(modalEl, zIndex) {
142
+ function topModal(modalEl, zIndex) {
215
143
  var _a;
216
- if (!modalEl) {
217
- return;
218
- }
219
- const overlayEl = (_a = modalEl.parentElement) == null ? void 0 : _a.parentElement;
220
- if (!overlayEl || !overlayEl.classList || !overlayEl.classList.contains(multipleClass)) {
144
+ const overlayEl = (_a = modalEl == null ? void 0 : modalEl.parentElement) == null ? void 0 : _a.parentElement;
145
+ if (!overlayEl) {
221
146
  return;
222
147
  }
223
148
  const currentIndex = core.getCurrentStyle(overlayEl).zIndex;
224
- const maxIndex = getModalMaxIndex(overlayEl);
149
+ const containerEl = overlayEl.parentElement;
150
+ const modals = containerEl ? containerEl.querySelectorAll(`.${wrapperClass}:not(.${closedClass})`) : void 0;
151
+ let maxIndex = 0;
152
+ (modals ? Array.from(modals) : []).forEach((modalEl2) => {
153
+ const zIndex2 = core.getCurrentStyle(modalEl2).zIndex;
154
+ if (zIndex2 != null) {
155
+ const index = Number(zIndex2);
156
+ if (index >= maxIndex && (!overlayEl || modalEl2 !== overlayEl)) {
157
+ maxIndex = index + 1;
158
+ }
159
+ }
160
+ });
225
161
  if (maxIndex > Number(currentIndex || zIndex || 0)) {
226
162
  overlayEl.style.zIndex = String(maxIndex);
227
163
  }
228
164
  }
229
- function resetModalStyle(modalEl, width, top) {
165
+ function getPositionMargin(position) {
166
+ if (position == null || typeof position !== "object" || position.top == null && position.right == null && position.bottom == null && position.left == null) {
167
+ return;
168
+ }
169
+ return [position.top, position.right, position.bottom, position.left].map((p) => typeof p === "number" ? `${p}px` : p || "auto").join(" ");
170
+ }
171
+ function resetModalStyle(modalEl, width, position) {
230
172
  if (!modalEl) {
231
173
  return;
232
174
  }
175
+ modalEl.style.margin = getPositionMargin(position) || "";
176
+ modalEl.style.position = "";
233
177
  modalEl.style.top = "";
234
178
  modalEl.style.left = "";
235
179
  modalEl.style.right = "";
236
180
  modalEl.style.bottom = "";
237
- modalEl.style.margin = "";
238
- modalEl.style.marginTop = typeof top === "number" ? `${top}px` : top ?? "";
239
- modalEl.style.display = "";
240
- modalEl.style.position = "";
241
- modalEl.style.verticalAlign = "";
242
181
  modalEl.style.height = "";
243
182
  modalEl.style.maxHeight = "";
244
183
  modalEl.style.minHeight = "";
@@ -246,75 +185,12 @@ function resetModalStyle(modalEl, width, top) {
246
185
  modalEl.style.maxWidth = "";
247
186
  modalEl.style.minWidth = "";
248
187
  }
249
- function setModalPosition(modalEl, resizable, position, moveOut) {
250
- if (!position || typeof position !== "object" || !modalEl) {
251
- return;
252
- }
253
- const wrapEl = modalEl.parentElement;
254
- if (!wrapEl) {
255
- return;
256
- }
257
- initModalStyle(modalEl, resizable);
258
- const location = {};
259
- const canOutB = canMoveOut(moveOut, "bottom");
260
- const canOutR = canMoveOut(moveOut, "right");
261
- const t = wrapEl.clientHeight - modalEl.clientHeight - (canOutB ? 0 : fixTop);
262
- const maxTop = t < 0 ? 0 : t;
263
- const l = wrapEl.clientWidth - modalEl.clientWidth - (canOutR ? 0 : fixLeft);
264
- const maxLeft = l < 0 ? 0 : l;
265
- if (position.top != null) {
266
- location.top = position.top;
267
- } else if (position.bottom != null) {
268
- location.bottom = position.bottom;
269
- } else if (position.left != null || position.right != null) {
270
- location.top = maxTop / 2;
271
- }
272
- if (position.left != null) {
273
- location.left = position.left;
274
- } else if (position.right != null) {
275
- location.right = position.right;
276
- } else if (position.top != null || position.bottom != null) {
277
- location.left = maxLeft / 2;
278
- }
279
- Object.keys(location).forEach((key) => {
280
- const value = location[key];
281
- if (typeof value === "number") {
282
- modalEl.style[key] = `${Math.floor(value)}px`;
283
- } else if (value != null) {
284
- modalEl.style[key] = value;
285
- }
286
- });
287
- }
288
- function setInitPosition(modalEl, resizable, position, moveOut, force) {
289
- const attr = "ele-position";
290
- if (modalEl && position && (force || !modalEl.getAttribute(attr))) {
291
- modalEl.setAttribute(attr, "1");
292
- setModalPosition(modalEl, resizable, position, moveOut);
293
- }
294
- }
295
188
  exports.closedClass = closedClass;
296
- exports.collapseClass = collapseClass;
297
- exports.compactClass = compactClass;
298
- exports.containerId = containerId;
299
- exports.expandedClass = expandedClass;
300
- exports.fullscreenClass = fullscreenClass;
189
+ exports.containerClass = containerClass;
301
190
  exports.getModalContainer = getModalContainer;
302
- exports.handleMovable = handleMovable;
303
- exports.handleResizable = handleResizable;
304
- exports.hasTabClass = hasTabClass;
305
- exports.hideClass = hideClass;
306
- exports.innerClass = innerClass;
307
- exports.maximizedClass = maximizedClass;
308
- exports.mixSidebarClass = mixSidebarClass;
309
- exports.mobileClass = mobileClass;
310
- exports.movableClass = movableClass;
311
- exports.multipleClass = multipleClass;
191
+ exports.getPositionMargin = getPositionMargin;
192
+ exports.handleMove = handleMove;
193
+ exports.handleResize = handleResize;
312
194
  exports.resetModalStyle = resetModalStyle;
313
- exports.resizableClass = resizableClass;
314
- exports.responsiveClass = responsiveClass;
315
- exports.setInitPosition = setInitPosition;
316
- exports.setModalPosition = setModalPosition;
317
- exports.setModalTop = setModalTop;
318
- exports.singleSidebarClass = singleSidebarClass;
319
- exports.topLayoutClass = topLayoutClass;
195
+ exports.topModal = topModal;
320
196
  exports.wrapperClass = wrapperClass;