@aplus-frontend/ui 0.6.0-beta.21 → 0.6.0-beta.23

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 (366) hide show
  1. package/es/index.mjs +124 -124
  2. package/es/src/ap-action/group/index.vue.mjs +3 -3
  3. package/es/src/ap-action/item/index.vue2.mjs +5 -5
  4. package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
  5. package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
  6. package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
  7. package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
  8. package/es/src/ap-button/ap-button.vue.mjs +2 -2
  9. package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
  10. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
  11. package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
  12. package/es/src/ap-download/ap-download.vue.mjs +1 -1
  13. package/es/src/ap-drawer/index.d.ts +7 -3
  14. package/es/src/ap-drawer/index.mjs +5 -10
  15. package/es/src/ap-drawer/interface.d.ts +0 -4
  16. package/es/src/ap-drawer/style/css.d.ts +1 -0
  17. package/es/src/ap-drawer/style/css.js +1 -1
  18. package/es/src/ap-drawer/style/index.d.ts +1 -0
  19. package/es/src/ap-drawer/style/index.js +1 -1
  20. package/es/src/ap-drawer/utils/createDrawer.mjs +31 -36
  21. package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
  22. package/es/src/ap-field/date/index.vue.mjs +4 -4
  23. package/es/src/ap-field/date-range/index.vue.mjs +8 -8
  24. package/es/src/ap-field/index.mjs +36 -36
  25. package/es/src/ap-field/number/index.vue.mjs +8 -8
  26. package/es/src/ap-field/radio/index.vue.mjs +1 -1
  27. package/es/src/ap-field/rate/index.vue.mjs +2 -2
  28. package/es/src/ap-field/segmented/index.vue.mjs +1 -1
  29. package/es/src/ap-field/select/index.vue.mjs +2 -2
  30. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  31. package/es/src/ap-field/slider/index.vue.mjs +4 -4
  32. package/es/src/ap-field/switch/index.vue.mjs +3 -3
  33. package/es/src/ap-field/text/index.vue2.mjs +2 -2
  34. package/es/src/ap-field/text/password.vue.mjs +2 -2
  35. package/es/src/ap-field/text-area/index.vue.mjs +3 -3
  36. package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
  37. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  38. package/es/src/ap-form/ap-form.vue.d.ts +2 -1
  39. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  40. package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  41. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  42. package/es/src/ap-form/item/index.vue.mjs +75 -83
  43. package/es/src/ap-form/item-group/index.vue.mjs +34 -35
  44. package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
  45. package/es/src/ap-form/items/date/index.vue.mjs +2 -2
  46. package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
  47. package/es/src/ap-form/items/number/index.vue.mjs +2 -2
  48. package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
  49. package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
  50. package/es/src/ap-form/items/select/index.vue.mjs +2 -2
  51. package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
  52. package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
  53. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  54. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  55. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  56. package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
  57. package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
  58. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  59. package/es/src/ap-form/render/item.vue.mjs +2 -2
  60. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +7 -7
  61. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
  62. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
  63. package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +18 -20
  64. package/es/src/ap-form/search-form/index.vue.d.ts +4 -3
  65. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  66. package/es/src/ap-form/set/index.vue.mjs +1 -1
  67. package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  68. package/es/src/ap-grid/editable/form-item.vue.mjs +2 -2
  69. package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
  70. package/es/src/ap-grid/editable/index.vue.mjs +2 -2
  71. package/es/src/ap-grid/index.vue.d.ts +4 -2
  72. package/es/src/ap-grid/index.vue.mjs +45 -45
  73. package/es/src/ap-grid/interface.d.ts +3 -3
  74. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
  75. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
  76. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
  77. package/es/src/ap-list/index.vue.d.ts +4 -2
  78. package/es/src/ap-list/index.vue.mjs +34 -34
  79. package/es/src/ap-list/interface.d.ts +4 -3
  80. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  81. package/es/src/ap-table/ap-table.vue.d.ts +4 -2
  82. package/es/src/ap-table/ap-table.vue2.mjs +61 -61
  83. package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
  84. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  85. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  86. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  87. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  88. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  89. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  90. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  91. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  92. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  93. package/es/src/ap-table/constants.d.ts +5 -5
  94. package/es/src/ap-table/constants.mjs +45 -45
  95. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  96. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  97. package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +3 -3
  98. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +15 -15
  99. package/es/src/ap-table/interface.d.ts +3 -3
  100. package/es/src/ap-table/utils.d.ts +5 -5
  101. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  102. package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
  103. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  104. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  105. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  106. package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
  107. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  108. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  109. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  110. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  111. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
  112. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
  113. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  114. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  115. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  116. package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
  117. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  118. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
  119. package/es/src/business/ap-expand-alert/index.d.ts +6 -4
  120. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +5 -5
  121. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
  122. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
  123. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
  124. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
  125. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
  126. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  127. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  128. package/es/src/business/ap-keep-alive/index.d.ts +2 -1
  129. package/es/src/business/ap-keep-alive/index.mjs +11 -9
  130. package/es/src/business/ap-keep-alive/keep-alive.mjs +3 -3
  131. package/es/src/business/ap-keep-alive/keeper/ap-grid-keeper.mjs +7 -7
  132. package/es/src/business/ap-keep-alive/utils.d.ts +1 -0
  133. package/es/src/business/ap-keep-alive/utils.mjs +10 -9
  134. package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
  135. package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
  136. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +36 -30
  137. package/es/src/business/ap-radio-group/index.d.ts +6 -0
  138. package/es/src/business/ap-select-layout/index.d.ts +4 -2
  139. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  140. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  141. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  142. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  143. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  144. package/es/src/business/ap-table-modal/index.d.ts +4 -16
  145. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  146. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
  147. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
  148. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  149. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  150. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  151. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  152. package/es/src/business/ap-view/ap-view.vue2.mjs +2 -2
  153. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
  154. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
  155. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
  156. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
  157. package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
  158. package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
  159. package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
  160. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  161. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  162. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  163. package/es/src/business/hooks/usePageListApGrid.mjs +1 -1
  164. package/es/src/check-card/index.vue2.mjs +3 -3
  165. package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
  166. package/es/src/editable-table/form-item.vue.d.ts +4 -2
  167. package/es/src/editable-table/form-item.vue.mjs +2 -2
  168. package/es/src/editable-table/index.vue.d.ts +4 -2
  169. package/es/src/editable-table/index.vue.mjs +2 -2
  170. package/es/src/full-screen/index.vue.mjs +3 -3
  171. package/es/src/hooks/useFullScreen.mjs +5 -5
  172. package/es/src/index.mjs +278 -279
  173. package/es/src/mask/index.vue.mjs +10 -10
  174. package/es/src/portal/index.vue.mjs +2 -2
  175. package/es/src/scroll-bar/index.vue.mjs +3 -3
  176. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  177. package/es/src/scroll-view/index.vue.d.ts +5 -5
  178. package/es/src/scroll-view/index.vue.mjs +9 -9
  179. package/es/src/splitter/Panel.vue2.mjs +4 -4
  180. package/es/src/splitter/SplitBar.vue2.mjs +7 -7
  181. package/es/src/splitter/Splitter.vue2.mjs +5 -5
  182. package/es/src/tests/wrapper.d.ts +4 -4
  183. package/es/src/text/group.vue.mjs +2 -2
  184. package/es/src/text/index.vue.mjs +4 -4
  185. package/es/src/version.d.ts +1 -1
  186. package/es/src/version.mjs +1 -1
  187. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  188. package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
  189. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  190. package/lib/index.js +1 -1
  191. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  192. package/lib/src/ap-drawer/index.d.ts +7 -3
  193. package/lib/src/ap-drawer/index.js +1 -1
  194. package/lib/src/ap-drawer/interface.d.ts +0 -4
  195. package/lib/src/ap-drawer/style/css.cjs +1 -1
  196. package/lib/src/ap-drawer/style/css.d.ts +1 -0
  197. package/lib/src/ap-drawer/style/index.cjs +1 -1
  198. package/lib/src/ap-drawer/style/index.d.ts +1 -0
  199. package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
  200. package/lib/src/ap-field/index.js +1 -1
  201. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  202. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  203. package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
  204. package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  205. package/lib/src/ap-form/item/index.vue.js +1 -1
  206. package/lib/src/ap-form/item-group/index.vue.js +1 -1
  207. package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
  208. package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
  209. package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
  210. package/lib/src/ap-form/search-form/index.vue.d.ts +4 -3
  211. package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  212. package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
  213. package/lib/src/ap-grid/index.vue.d.ts +4 -2
  214. package/lib/src/ap-grid/index.vue.js +1 -1
  215. package/lib/src/ap-grid/interface.d.ts +3 -3
  216. package/lib/src/ap-list/index.vue.d.ts +4 -2
  217. package/lib/src/ap-list/index.vue.js +1 -1
  218. package/lib/src/ap-list/interface.d.ts +4 -3
  219. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  220. package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
  221. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  222. package/lib/src/ap-table/constants.d.ts +5 -5
  223. package/lib/src/ap-table/constants.js +1 -1
  224. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  225. package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +3 -3
  226. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
  227. package/lib/src/ap-table/interface.d.ts +3 -3
  228. package/lib/src/ap-table/utils.d.ts +5 -5
  229. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  230. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  231. package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
  232. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  233. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  234. package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
  235. package/lib/src/business/ap-keep-alive/index.d.ts +2 -1
  236. package/lib/src/business/ap-keep-alive/index.js +1 -1
  237. package/lib/src/business/ap-keep-alive/keeper/ap-grid-keeper.js +1 -1
  238. package/lib/src/business/ap-keep-alive/utils.d.ts +1 -0
  239. package/lib/src/business/ap-keep-alive/utils.js +1 -1
  240. package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
  241. package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -1
  242. package/lib/src/business/ap-radio-group/index.d.ts +6 -0
  243. package/lib/src/business/ap-select-layout/index.d.ts +4 -2
  244. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  245. package/lib/src/business/ap-table-modal/index.d.ts +4 -16
  246. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
  247. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
  248. package/lib/src/business/hooks/usePageListApGrid.js +1 -1
  249. package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
  250. package/lib/src/editable-table/form-item.vue.d.ts +4 -2
  251. package/lib/src/editable-table/index.vue.d.ts +4 -2
  252. package/lib/src/index.js +1 -1
  253. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  254. package/lib/src/tests/wrapper.d.ts +4 -4
  255. package/lib/src/version.d.ts +1 -1
  256. package/lib/src/version.js +1 -1
  257. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
  258. package/package.json +5 -5
  259. package/theme/antd-global-overwrite/admin/alert.css +1 -1
  260. package/theme/antd-global-overwrite/admin/field.css +3 -0
  261. package/theme/antd-global-overwrite/admin/field.less +4 -0
  262. package/theme/antd-global-overwrite/admin/index.css +10 -1
  263. package/theme/antd-global-overwrite/admin/modal.css +6 -0
  264. package/theme/antd-global-overwrite/admin/modal.less +8 -0
  265. package/theme/antd-global-overwrite/aplus/alert.css +1 -1
  266. package/theme/antd-global-overwrite/aplus/field.css +3 -0
  267. package/theme/antd-global-overwrite/aplus/field.less +4 -0
  268. package/theme/antd-global-overwrite/aplus/index.css +11 -2
  269. package/theme/antd-global-overwrite/aplus/modal.css +7 -1
  270. package/theme/antd-global-overwrite/aplus/modal.less +9 -1
  271. package/theme/ap-action/item-dropdown.css +1 -1
  272. package/theme/ap-action/item.css +2 -2
  273. package/theme/ap-appendix/ap-appendix.css +2 -2
  274. package/theme/ap-attachment/ap-attachment.css +2 -2
  275. package/theme/ap-batch-action/ap-batch-action.css +1 -1
  276. package/theme/ap-button/ap-button.css +1 -1
  277. package/theme/ap-card/ap-card.css +1 -1
  278. package/theme/ap-copy/ap-copy.css +1 -1
  279. package/theme/ap-descriptions/ap-descriptions.css +1 -1
  280. package/theme/ap-download/ap-download.css +4 -4
  281. package/theme/ap-drawer/ap-drawer.css +5 -6
  282. package/theme/ap-drawer/ap-drawer.less +4 -7
  283. package/theme/ap-expand-alert/ap-expand-alert.css +2 -2
  284. package/theme/ap-field/checkbox.css +1 -1
  285. package/theme/ap-field/index.css +1 -1
  286. package/theme/ap-field/number.css +1 -1
  287. package/theme/ap-field/radio.css +1 -1
  288. package/theme/ap-field/text-area.css +1 -1
  289. package/theme/ap-form/ap-form-item-group.css +1 -1
  290. package/theme/ap-form/ap-form-item.css +4 -1
  291. package/theme/ap-form/ap-form-item.less +3 -0
  292. package/theme/ap-form/drawer-form.css +1 -1
  293. package/theme/ap-form/index.css +8 -5
  294. package/theme/ap-form/item-text-group.css +1 -1
  295. package/theme/ap-form/item-text.css +1 -1
  296. package/theme/ap-form/modal-form.css +1 -1
  297. package/theme/ap-form/search-form-sorter.css +5 -5
  298. package/theme/ap-form/search-form.css +8 -5
  299. package/theme/ap-grid/editable.css +1 -1
  300. package/theme/ap-grid/index.css +16 -11
  301. package/theme/ap-grid/index.less +2 -2
  302. package/theme/ap-group-search/ap-extension-select.css +1 -1
  303. package/theme/ap-group-search/ap-group-search.css +1 -1
  304. package/theme/ap-group-search/ap-popover-select.css +1 -1
  305. package/theme/ap-image/ap-image.css +1 -1
  306. package/theme/ap-input-radio/ap-input-radio.css +1 -1
  307. package/theme/ap-label/ap-label.css +1 -1
  308. package/theme/ap-ladder/ap-ladder.css +4 -4
  309. package/theme/ap-layout/ap-info-layout.css +1 -1
  310. package/theme/ap-list/index.css +1 -1
  311. package/theme/ap-product-info/ap-product-info.css +1 -1
  312. package/theme/ap-radio-group/ap-radio-group.css +2 -1
  313. package/theme/ap-radio-group/ap-radio-group.less +1 -0
  314. package/theme/ap-select-layout/ap-select-layout.css +3 -3
  315. package/theme/ap-size-input/ap-size-input.css +1 -1
  316. package/theme/ap-status/ap-status.css +1 -1
  317. package/theme/ap-summary/index.css +1 -1
  318. package/theme/ap-table/ap-table-index.css +1 -1
  319. package/theme/ap-table/ap-table-paragraph-ellipsis.css +1 -1
  320. package/theme/ap-table/ap-table.css +12 -9
  321. package/theme/ap-table/setting/index.css +3 -3
  322. package/theme/ap-table/setting/modal.css +2 -2
  323. package/theme/ap-table/setting/select-group.css +1 -1
  324. package/theme/ap-table/setting/sortable-item-meta.css +1 -1
  325. package/theme/ap-table/setting/sortable-item.css +1 -1
  326. package/theme/ap-table/setting/sorter.css +2 -2
  327. package/theme/ap-table-modal/index.css +12 -9
  328. package/theme/ap-tag/ap-tag-group.css +1 -1
  329. package/theme/ap-tag/ap-tag.css +4 -4
  330. package/theme/ap-title/ap-title.css +1 -1
  331. package/theme/ap-upload/index.css +2 -2
  332. package/theme/ap-upload/multiple-file.css +1 -1
  333. package/theme/ap-upload/picture.css +1 -1
  334. package/theme/ap-upload/single-file.css +2 -2
  335. package/theme/ap-upload/upload.css +1 -1
  336. package/theme/ap-upload-single/index.css +1 -1
  337. package/theme/ap-view/ap-view.css +1 -1
  338. package/theme/batch-input-group/index.css +1 -1
  339. package/theme/batch-input-group/popover-input.css +1 -1
  340. package/theme/check-card/index.css +4 -4
  341. package/theme/editable-table/index.css +9 -6
  342. package/theme/full-screen/index.css +1 -1
  343. package/theme/index.css +46 -39
  344. package/theme/mask/index.css +1 -1
  345. package/theme/mixins/config.less +3 -3
  346. package/theme/mixins/mixins.css +1 -1
  347. package/theme/scroll-bar/index.css +1 -1
  348. package/theme/scroll-view/index.css +1 -1
  349. package/theme/splitter/index.css +2 -2
  350. package/theme/text/group.css +1 -1
  351. package/theme/text/index.css +2 -2
  352. package/theme/ui-mode.css +2 -0
  353. package/theme/ui-mode.less +2 -0
  354. package/theme/work-order-modal/index.css +1 -1
  355. package/es/src/ap-drawer/ApDrawer.vue.d.ts +0 -29
  356. package/es/src/ap-drawer/ApDrawer.vue.mjs +0 -91
  357. package/es/src/ap-drawer/ApDrawer.vue2.mjs +0 -4
  358. package/es/src/ap-drawer/components/ApDrawerClose.vue.d.ts +0 -8
  359. package/es/src/ap-drawer/components/ApDrawerClose.vue.mjs +0 -25
  360. package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +0 -4
  361. package/lib/src/ap-drawer/ApDrawer.vue.d.ts +0 -29
  362. package/lib/src/ap-drawer/ApDrawer.vue.js +0 -1
  363. package/lib/src/ap-drawer/ApDrawer.vue2.js +0 -1
  364. package/lib/src/ap-drawer/components/ApDrawerClose.vue.d.ts +0 -8
  365. package/lib/src/ap-drawer/components/ApDrawerClose.vue.js +0 -1
  366. package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +0 -1
package/theme/index.css CHANGED
@@ -26,6 +26,7 @@
26
26
  --ap-text-color-4: #abb7cc;
27
27
  --batch-input-group-trigger-color-disabled: rgba(24, 41, 72, 0.25);
28
28
  --ap-radio-group-item-active-bg-color: rgba(0, 112, 255, 0.12);
29
+ --ap-drawer-wrapper-shadow: -8px 2px 24px 0px rgba(24, 41, 72, 0.2);
29
30
  }
30
31
  [data-aplus-ui-mode='admin'] {
31
32
  --ap-border-color-base: #d9d9d9;
@@ -55,6 +56,7 @@
55
56
  --ap-text-color-4: #bfbfbf;
56
57
  --batch-input-group-trigger-color-disabled: rgba(0, 0, 0, 0.25);
57
58
  --ap-radio-group-item-active-bg-color: rgba(52, 183, 124, 0.12);
59
+ --ap-drawer-wrapper-shadow: -8px 2px 24px 0px rgba(51, 51, 51, 0.2);
58
60
  }
59
61
  .reset-component {
60
62
  box-sizing: border-box;
@@ -63,7 +65,7 @@
63
65
  color: #182948;
64
66
  font-size: 12px;
65
67
  font-family: inherit;
66
- line-height: 1.5;
68
+ line-height: 18px;
67
69
  list-style: none;
68
70
  }
69
71
  .reset-scrollbar ::-webkit-scrollbar {
@@ -109,7 +111,7 @@
109
111
  color: #182948;
110
112
  font-size: 12px;
111
113
  font-family: inherit;
112
- line-height: 1.5;
114
+ line-height: 18px;
113
115
  list-style: none;
114
116
  display: inline-block;
115
117
  cursor: pointer;
@@ -201,7 +203,7 @@
201
203
  .aplus-ap-attachment__more {
202
204
  display: inline-block;
203
205
  font-size: 12px;
204
- line-height: 1.5;
206
+ line-height: 18px;
205
207
  cursor: pointer;
206
208
  color: var(--download-main-color);
207
209
  }
@@ -388,15 +390,15 @@
388
390
  color: var(--download-main-color-opacity);
389
391
  }
390
392
  .aplus-ap-download-inner-wrapper--large {
391
- line-height: 1.1 0.57142857;
393
+ line-height: 22;
392
394
  font-size: 14px;
393
395
  }
394
396
  .aplus-ap-download-inner-wrapper--middle {
395
- line-height: 1.5;
397
+ line-height: 18px;
396
398
  font-size: 12px;
397
399
  }
398
400
  .aplus-ap-download-inner-wrapper--small {
399
- line-height: 1.6;
401
+ line-height: 16px;
400
402
  font-size: 10px;
401
403
  }
402
404
  .aplus-ap-download-inner-wrapper--disabled {
@@ -450,7 +452,7 @@
450
452
  }
451
453
  .aplus-ap-expand-alert__antAlert.ant-alert {
452
454
  align-items: flex-start;
453
- line-height: 1.5;
455
+ line-height: 18px;
454
456
  }
455
457
  .aplus-ap-expand-alert__antAlert.ant-alert .ant-alert-icon {
456
458
  font-size: 14px;
@@ -530,6 +532,9 @@
530
532
  .aplus-ap-form-item--bordered .ant-select-single .ant-select-selector {
531
533
  height: 30px !important;
532
534
  }
535
+ .aplus-ap-form-item--bordered:has(.ant-input-number) {
536
+ padding-right: 0;
537
+ }
533
538
  .aplus-ap-form-item--bordered:has(.ant-select) {
534
539
  padding-right: 0px;
535
540
  }
@@ -626,7 +631,7 @@
626
631
  color: #182948;
627
632
  font-size: 12px;
628
633
  font-family: inherit;
629
- line-height: 1.5;
634
+ line-height: 18px;
630
635
  list-style: none;
631
636
  font-size: 14px;
632
637
  font-weight: 700;
@@ -640,7 +645,7 @@
640
645
  color: #182948;
641
646
  font-size: 12px;
642
647
  font-family: inherit;
643
- line-height: 1.5;
648
+ line-height: 18px;
644
649
  list-style: none;
645
650
  color: var(--ap-text-color-3);
646
651
  }
@@ -656,7 +661,7 @@
656
661
  color: #182948;
657
662
  font-size: 12px;
658
663
  font-family: inherit;
659
- line-height: 1.5;
664
+ line-height: 18px;
660
665
  list-style: none;
661
666
  color: var(--ap-color-link);
662
667
  }
@@ -698,7 +703,7 @@
698
703
  color: #182948;
699
704
  font-size: 12px;
700
705
  font-family: inherit;
701
- line-height: 1.5;
706
+ line-height: 18px;
702
707
  list-style: none;
703
708
  padding-left: 4px;
704
709
  max-width: 100%;
@@ -871,7 +876,7 @@
871
876
  position: relative;
872
877
  width: inherit;
873
878
  font-size: 12px;
874
- line-height: 1.5;
879
+ line-height: 18px;
875
880
  /** 自动溢出省略 */
876
881
  /** Aplus端样式 */
877
882
  /** Admin端样式 */
@@ -974,11 +979,11 @@
974
979
  margin-left: 4px;
975
980
  }
976
981
  .aplus-ap-ladder__major {
977
- line-height: 1.5;
982
+ line-height: 18px;
978
983
  color: #182948;
979
984
  }
980
985
  .aplus-ap-ladder__minor {
981
- line-height: 1.5;
986
+ line-height: 18px;
982
987
  color: #8896B0;
983
988
  }
984
989
  .aplus-ap-ladder__label {
@@ -1273,7 +1278,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
1273
1278
  color: #333;
1274
1279
  font-size: 14px;
1275
1280
  font-weight: bold;
1276
- line-height: 1.1 0.57142857;
1281
+ line-height: 22;
1277
1282
  }
1278
1283
  .aplus-ap-select-layout-side__header--imgWrap {
1279
1284
  border-radius: 2px;
@@ -1357,7 +1362,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
1357
1362
  margin: 0;
1358
1363
  font-size: 14px;
1359
1364
  font-weight: bold;
1360
- line-height: 1.1 0.57142857;
1365
+ line-height: 22;
1361
1366
  }
1362
1367
  @font-face {
1363
1368
  font-family: customFont;
@@ -1410,7 +1415,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
1410
1415
  color: #182948;
1411
1416
  font-size: 12px;
1412
1417
  font-family: inherit;
1413
- line-height: 1.5;
1418
+ line-height: 18px;
1414
1419
  list-style: none;
1415
1420
  display: inline-block;
1416
1421
  -webkit-line-clamp: unset;
@@ -1541,7 +1546,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
1541
1546
  color: #182948;
1542
1547
  font-size: 12px;
1543
1548
  font-family: inherit;
1544
- line-height: 1.5;
1549
+ line-height: 18px;
1545
1550
  list-style: none;
1546
1551
  font-weight: bold;
1547
1552
  color: var(--ap-text-color-2);
@@ -1656,7 +1661,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
1656
1661
  .aplus-ap-table-table ul.ant-table-pagination.ant-pagination .ant-pagination-total-text {
1657
1662
  flex: 1;
1658
1663
  height: unset;
1659
- line-height: 1.5;
1664
+ line-height: 18px;
1660
1665
  display: flex;
1661
1666
  align-items: center;
1662
1667
  }
@@ -1763,17 +1768,17 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
1763
1768
  }
1764
1769
  .aplus-tag-wrapper .aplus-tag-inner-wrapper--large {
1765
1770
  padding: 6px;
1766
- line-height: 1.1 0.57142857;
1771
+ line-height: 22;
1767
1772
  font-size: 14px;
1768
1773
  }
1769
1774
  .aplus-tag-wrapper .aplus-tag-inner-wrapper--middle {
1770
- line-height: 1.5;
1775
+ line-height: 18px;
1771
1776
  padding: 3px 6px;
1772
1777
  font-size: 12px;
1773
1778
  }
1774
1779
  .aplus-tag-wrapper .aplus-tag-inner-wrapper--small {
1775
1780
  padding: 0 4px;
1776
- line-height: 1.5;
1781
+ line-height: 18px;
1777
1782
  font-size: 12px;
1778
1783
  }
1779
1784
  .aplus-tag-wrapper-purely > * {
@@ -2082,7 +2087,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
2082
2087
  margin-top: 10px;
2083
2088
  color: #182948;
2084
2089
  font-size: 14px;
2085
- line-height: 1.1 0.57142857;
2090
+ line-height: 22;
2086
2091
  }
2087
2092
  .aplus-ap-upload-single-file .state-un .state-un-subtitle {
2088
2093
  margin-top: 4px;
@@ -2162,7 +2167,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
2162
2167
  color: #182948;
2163
2168
  font-size: 12px;
2164
2169
  font-family: inherit;
2165
- line-height: 1.5;
2170
+ line-height: 18px;
2166
2171
  list-style: none;
2167
2172
  border-radius: 4px;
2168
2173
  position: relative;
@@ -2226,7 +2231,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
2226
2231
  color: #182948;
2227
2232
  font-size: 12px;
2228
2233
  font-family: inherit;
2229
- line-height: 1.5;
2234
+ line-height: 18px;
2230
2235
  list-style: none;
2231
2236
  margin-bottom: 4px;
2232
2237
  color: #333;
@@ -2242,7 +2247,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
2242
2247
  color: #182948;
2243
2248
  font-size: 12px;
2244
2249
  font-family: inherit;
2245
- line-height: 1.5;
2250
+ line-height: 18px;
2246
2251
  list-style: none;
2247
2252
  color: #333;
2248
2253
  }
@@ -2482,7 +2487,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
2482
2487
  }
2483
2488
  .aplus-ap-appendix__file-area-content-item-file-name .ant-typography {
2484
2489
  font-size: 12px;
2485
- line-height: 1.5;
2490
+ line-height: 18px;
2486
2491
  color: var(--ap-text-color-2);
2487
2492
  transition: color 0.2s;
2488
2493
  }
@@ -2796,16 +2801,18 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
2796
2801
  .aplus-ap-grid ::-webkit-scrollbar-thumb:active {
2797
2802
  background-color: var(--ap-scrollbar-thumb-color-hover);
2798
2803
  }
2799
- .aplus-ap-grid .vxe-table--render-default.size--medium .vxe-body--column.is--padding div.vxe-cell {
2804
+ .aplus-ap-grid .vxe-table--render-default.size--medium .vxe-body--column.is--padding div.vxe-cell,
2805
+ .aplus-ap-grid .vxe-table--render-default.size--medium .vxe-header--column.is--padding div.vxe-cell {
2800
2806
  min-height: unset !important;
2801
2807
  padding: 9px 12px;
2802
2808
  font-size: 12px;
2803
- line-height: 1.5;
2809
+ line-height: 18px;
2804
2810
  }
2805
- .aplus-ap-grid .vxe-table--render-default.size--mini .vxe-body--column.is--padding div.vxe-cell {
2811
+ .aplus-ap-grid .vxe-table--render-default.size--mini .vxe-body--column.is--padding div.vxe-cell,
2812
+ .aplus-ap-grid .vxe-table--render-default.size--mini .vxe-header--column.is--padding div.vxe-cell {
2806
2813
  min-height: unset !important;
2807
2814
  padding: 6px 9px;
2808
- line-height: 1.5;
2815
+ line-height: 18px;
2809
2816
  }
2810
2817
  .aplus-ap-grid-adaptive {
2811
2818
  height: 100%;
@@ -2883,7 +2890,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
2883
2890
  .aplus-ap-grid-pagination .ant-pagination-total-text {
2884
2891
  flex: 1;
2885
2892
  height: unset;
2886
- line-height: 1.5;
2893
+ line-height: 18px;
2887
2894
  display: flex;
2888
2895
  align-items: center;
2889
2896
  }
@@ -2956,7 +2963,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
2956
2963
  color: #182948;
2957
2964
  font-size: 12px;
2958
2965
  font-family: inherit;
2959
- line-height: 1.5;
2966
+ line-height: 18px;
2960
2967
  list-style: none;
2961
2968
  display: flex;
2962
2969
  align-items: baseline;
@@ -3089,7 +3096,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
3089
3096
  padding: 0;
3090
3097
  color: #182948;
3091
3098
  font-size: 12px;
3092
- line-height: 1.5;
3099
+ line-height: 18px;
3093
3100
  list-style: none;
3094
3101
  font-family: inherit;
3095
3102
  display: flex;
@@ -3434,6 +3441,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
3434
3441
  border-radius: 4px;
3435
3442
  color: var(--ap-text-color-1);
3436
3443
  transition: all 0.3s ease-in-out;
3444
+ will-change: background-color;
3437
3445
  }
3438
3446
  .aplus-ap-radio-group__item:hover {
3439
3447
  background-color: var(--ap-color-bg-2);
@@ -3448,11 +3456,8 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
3448
3456
  .ant-drawer .ant-drawer-content {
3449
3457
  overflow: inherit;
3450
3458
  }
3451
- .aplus-ap-drawer-aplus .ant-drawer-wrapper-body {
3452
- box-shadow: -8px 2px 24px 0px rgba(24, 41, 72, 0.2);
3453
- }
3454
- .aplus-ap-drawer-admin .ant-drawer-wrapper-body {
3455
- box-shadow: -8px 2px 24px 0px rgba(51, 51, 51, 0.2);
3459
+ .aplus-ap-drawer .ant-drawer-wrapper-body {
3460
+ box-shadow: var(--ap-drawer-wrapper-shadow);
3456
3461
  }
3457
3462
  .aplus-ap-drawer-close {
3458
3463
  width: 32px;
@@ -3467,6 +3472,8 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
3467
3472
  }
3468
3473
  .aplus-ap-drawer-close .aplus-frontend-icon {
3469
3474
  font-size: 18px;
3475
+ display: flex;
3476
+ align-items: center;
3470
3477
  }
3471
3478
  .aplus-ap-drawer-close:hover .aplus-frontend-icon {
3472
3479
  color: #FF4D4F;
@@ -34,7 +34,7 @@
34
34
  color: #182948;
35
35
  font-size: 12px;
36
36
  font-family: inherit;
37
- line-height: 1.5;
37
+ line-height: 18px;
38
38
  list-style: none;
39
39
  }
40
40
  .reset-scrollbar ::-webkit-scrollbar {
@@ -27,9 +27,9 @@
27
27
  @font-size-small: 10px;
28
28
 
29
29
  // 行高
30
- @line-height-base: 1.5;
31
- @line-height-small: 1.6;
32
- @line-height-lg: 1.1.57142857;
30
+ @line-height-base: 18px;
31
+ @line-height-small: 16px;
32
+ @line-height-lg: 22;
33
33
 
34
34
  // 圆角
35
35
 
@@ -5,7 +5,7 @@
5
5
  color: #182948;
6
6
  font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 1.5;
8
+ line-height: 18px;
9
9
  list-style: none;
10
10
  }
11
11
  .reset-scrollbar ::-webkit-scrollbar {
@@ -5,7 +5,7 @@
5
5
  color: #182948;
6
6
  font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 1.5;
8
+ line-height: 18px;
9
9
  list-style: none;
10
10
  }
11
11
  .reset-scrollbar ::-webkit-scrollbar {
@@ -5,7 +5,7 @@
5
5
  color: #182948;
6
6
  font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 1.5;
8
+ line-height: 18px;
9
9
  list-style: none;
10
10
  }
11
11
  .reset-scrollbar ::-webkit-scrollbar {
@@ -5,7 +5,7 @@
5
5
  color: #182948;
6
6
  font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 1.5;
8
+ line-height: 18px;
9
9
  list-style: none;
10
10
  }
11
11
  .reset-scrollbar ::-webkit-scrollbar {
@@ -65,7 +65,7 @@
65
65
  padding: 0;
66
66
  color: #182948;
67
67
  font-size: 12px;
68
- line-height: 1.5;
68
+ line-height: 18px;
69
69
  list-style: none;
70
70
  font-family: inherit;
71
71
  display: flex;
@@ -5,7 +5,7 @@
5
5
  color: #182948;
6
6
  font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 1.5;
8
+ line-height: 18px;
9
9
  list-style: none;
10
10
  }
11
11
  .reset-scrollbar ::-webkit-scrollbar {
@@ -5,7 +5,7 @@
5
5
  color: #182948;
6
6
  font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 1.5;
8
+ line-height: 18px;
9
9
  list-style: none;
10
10
  }
11
11
  .reset-scrollbar ::-webkit-scrollbar {
@@ -51,7 +51,7 @@
51
51
  color: #182948;
52
52
  font-size: 12px;
53
53
  font-family: inherit;
54
- line-height: 1.5;
54
+ line-height: 18px;
55
55
  list-style: none;
56
56
  display: flex;
57
57
  align-items: baseline;
package/theme/ui-mode.css CHANGED
@@ -26,6 +26,7 @@
26
26
  --ap-text-color-4: #abb7cc;
27
27
  --batch-input-group-trigger-color-disabled: rgba(24, 41, 72, 0.25);
28
28
  --ap-radio-group-item-active-bg-color: rgba(0, 112, 255, 0.12);
29
+ --ap-drawer-wrapper-shadow: -8px 2px 24px 0px rgba(24, 41, 72, 0.2);
29
30
  }
30
31
  [data-aplus-ui-mode='admin'] {
31
32
  --ap-border-color-base: #d9d9d9;
@@ -55,4 +56,5 @@
55
56
  --ap-text-color-4: #bfbfbf;
56
57
  --batch-input-group-trigger-color-disabled: rgba(0, 0, 0, 0.25);
57
58
  --ap-radio-group-item-active-bg-color: rgba(52, 183, 124, 0.12);
59
+ --ap-drawer-wrapper-shadow: -8px 2px 24px 0px rgba(51, 51, 51, 0.2);
58
60
  }
@@ -52,6 +52,7 @@
52
52
  // 批量输入组禁用色
53
53
  --batch-input-group-trigger-color-disabled: rgba(24, 41, 72, 0.25);
54
54
  --ap-radio-group-item-active-bg-color: rgba(#0070ff, 0.12);
55
+ --ap-drawer-wrapper-shadow: -8px 2px 24px 0px rgba(24, 41, 72, 0.2);
55
56
  }
56
57
 
57
58
  [data-aplus-ui-mode='admin'] {
@@ -104,4 +105,5 @@
104
105
  // 批量输入组禁用色
105
106
  --batch-input-group-trigger-color-disabled: rgba(0, 0, 0, 0.25);
106
107
  --ap-radio-group-item-active-bg-color: rgba(#34b77c, 0.12);
108
+ --ap-drawer-wrapper-shadow: -8px 2px 24px 0px rgba(51, 51, 51, 0.2);
107
109
  }
@@ -5,7 +5,7 @@
5
5
  color: #182948;
6
6
  font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 1.5;
8
+ line-height: 18px;
9
9
  list-style: none;
10
10
  }
11
11
  .reset-scrollbar ::-webkit-scrollbar {
@@ -1,29 +0,0 @@
1
- import { ApDrawerMixedProps } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, CSSProperties, ComponentProvideOptions } from 'vue';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- default?(_: {}): any;
7
- };
8
- refs: {};
9
- rootEl: any;
10
- };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: DefineComponent<ApDrawerMixedProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
13
- "update:open": (value: boolean) => any;
14
- }, string, PublicProps, Readonly<ApDrawerMixedProps> & Readonly<{
15
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
16
- }>, {
17
- mask: boolean;
18
- closable: boolean;
19
- getContainer: string | false | HTMLElement | (() => HTMLElement);
20
- rootStyle: CSSProperties;
21
- outSideClick: boolean;
22
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
23
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
- export default _default;
25
- type __VLS_WithTemplateSlots<T, S> = T & {
26
- new (): {
27
- $slots: S;
28
- };
29
- };
@@ -1,91 +0,0 @@
1
- import { defineComponent as d, h as m, watch as u, onBeforeUnmount as f, createBlock as y, openBlock as C, unref as t, mergeProps as k, withCtx as h, renderSlot as B } from "vue";
2
- import { Drawer as S } from "@aplus-frontend/antdv";
3
- import "../config-provider/index.mjs";
4
- import "./components/ApDrawerClose.vue2.mjs";
5
- import { omit as b } from "lodash-unified";
6
- import { useGlobalConfig as w } from "../config-provider/hooks/use-global-config.mjs";
7
- import { useNamespace as x } from "../config-provider/hooks/use-namespace.mjs";
8
- import v from "./components/ApDrawerClose.vue.mjs";
9
- const U = /* @__PURE__ */ d({
10
- name: "ApDrawer",
11
- __name: "ApDrawer",
12
- props: {
13
- autofocus: { type: Boolean },
14
- closable: { type: Boolean, default: !1 },
15
- closeIcon: {},
16
- destroyOnClose: { type: Boolean },
17
- forceRender: { type: Boolean },
18
- getContainer: { type: [String, Boolean, Function], default: () => document.body },
19
- maskClosable: { type: Boolean },
20
- mask: { type: Boolean, default: !1 },
21
- maskStyle: {},
22
- rootClassName: {},
23
- rootStyle: { default: () => ({
24
- top: "0px"
25
- }) },
26
- size: {},
27
- drawerStyle: {},
28
- headerStyle: {},
29
- bodyStyle: {},
30
- contentWrapperStyle: {},
31
- title: {},
32
- visible: { type: Boolean },
33
- open: { type: Boolean },
34
- width: {},
35
- height: {},
36
- zIndex: {},
37
- prefixCls: {},
38
- push: {},
39
- placement: {},
40
- keyboard: { type: Boolean },
41
- extra: {},
42
- footer: {},
43
- footerStyle: {},
44
- level: {},
45
- levelMove: {},
46
- handle: {},
47
- afterVisibleChange: {},
48
- onAfterVisibleChange: {},
49
- onAfterOpenChange: {},
50
- "onUpdate:visible": {},
51
- "onUpdate:open": {},
52
- onClose: {},
53
- createDrawer: {},
54
- outSideClick: { type: Boolean, default: !0 }
55
- },
56
- emits: ["update:open"],
57
- setup(l, { emit: s }) {
58
- const r = s, i = w("uiMode"), { b: c } = x("ap-drawer"), p = m(v, {
59
- onClose: () => {
60
- r("update:open", !1);
61
- }
62
- }), e = l, n = (o) => {
63
- if (!e.open || !e.outSideClick) return;
64
- const a = document.querySelector(".ant-drawer-open");
65
- if (!a) return;
66
- !a.contains(o.target) && (e.onClose ? e.onClose(o) : r("update:open", !1));
67
- };
68
- return u(
69
- () => e.open,
70
- (o) => {
71
- o && e.outSideClick ? setTimeout(() => {
72
- document.addEventListener("click", n);
73
- }, 0) : document.removeEventListener("click", n);
74
- },
75
- { immediate: !0 }
76
- ), f(() => {
77
- document.removeEventListener("click", n);
78
- }), (o, a) => (C(), y(t(S), k(t(b)(e, ["class", "extra", "outSideClick"]), {
79
- class: t(c)(t(i)),
80
- extra: e.extra ? e.extra : t(p)
81
- }), {
82
- default: h(() => [
83
- B(o.$slots, "default")
84
- ]),
85
- _: 3
86
- }, 16, ["class", "extra"]));
87
- }
88
- });
89
- export {
90
- U as default
91
- };
@@ -1,4 +0,0 @@
1
- import f from "./ApDrawer.vue.mjs";
2
- export {
3
- f as default
4
- };
@@ -1,8 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- type __VLS_Props = {
3
- onClose: () => void;
4
- };
5
- declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
- onClose: () => void;
7
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
8
- export default _default;
@@ -1,25 +0,0 @@
1
- import { defineComponent as p, createElementBlock as a, openBlock as l, normalizeClass as m, unref as r, createVNode as c } from "vue";
2
- import "../../config-provider/index.mjs";
3
- import { IconApAdLineCloseDrawer as i } from "@aplus-frontend/icon";
4
- import { useNamespace as C } from "../../config-provider/hooks/use-namespace.mjs";
5
- const _ = /* @__PURE__ */ p({
6
- name: "ApDrawerClose",
7
- __name: "ApDrawerClose",
8
- props: {
9
- onClose: { type: Function, default: () => {
10
- } }
11
- },
12
- setup(n) {
13
- const { b: s } = C("ap-drawer"), e = n;
14
- return (f, o) => (l(), a("div", {
15
- class: m([r(s)("close")]),
16
- onClick: o[0] || (o[0] = //@ts-ignore
17
- (...t) => e.onClose && e.onClose(...t))
18
- }, [
19
- c(r(i))
20
- ], 2));
21
- }
22
- });
23
- export {
24
- _ as default
25
- };
@@ -1,4 +0,0 @@
1
- import f from "./ApDrawerClose.vue.mjs";
2
- export {
3
- f as default
4
- };
@@ -1,29 +0,0 @@
1
- import { ApDrawerMixedProps } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, CSSProperties, ComponentProvideOptions } from 'vue';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- default?(_: {}): any;
7
- };
8
- refs: {};
9
- rootEl: any;
10
- };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: DefineComponent<ApDrawerMixedProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
13
- "update:open": (value: boolean) => any;
14
- }, string, PublicProps, Readonly<ApDrawerMixedProps> & Readonly<{
15
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
16
- }>, {
17
- mask: boolean;
18
- closable: boolean;
19
- getContainer: string | false | HTMLElement | (() => HTMLElement);
20
- rootStyle: CSSProperties;
21
- outSideClick: boolean;
22
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
23
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
- export default _default;
25
- type __VLS_WithTemplateSlots<T, S> = T & {
26
- new (): {
27
- $slots: S;
28
- };
29
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("@aplus-frontend/antdv");require("../config-provider/index.js");require("./components/ApDrawerClose.vue2.js");const p=require("lodash-unified"),f=require("../config-provider/hooks/use-global-config.js"),m=require("../config-provider/hooks/use-namespace.js"),y=require("./components/ApDrawerClose.vue.js"),C=e.defineComponent({name:"ApDrawer",__name:"ApDrawer",props:{autofocus:{type:Boolean},closable:{type:Boolean,default:!1},closeIcon:{},destroyOnClose:{type:Boolean},forceRender:{type:Boolean},getContainer:{type:[String,Boolean,Function],default:()=>document.body},maskClosable:{type:Boolean},mask:{type:Boolean,default:!1},maskStyle:{},rootClassName:{},rootStyle:{default:()=>({top:"0px"})},size:{},drawerStyle:{},headerStyle:{},bodyStyle:{},contentWrapperStyle:{},title:{},visible:{type:Boolean},open:{type:Boolean},width:{},height:{},zIndex:{},prefixCls:{},push:{},placement:{},keyboard:{type:Boolean},extra:{},footer:{},footerStyle:{},level:{},levelMove:{},handle:{},afterVisibleChange:{},onAfterVisibleChange:{},onAfterOpenChange:{},"onUpdate:visible":{},"onUpdate:open":{},onClose:{},createDrawer:{},outSideClick:{type:Boolean,default:!0}},emits:["update:open"],setup(l,{emit:s}){const a=s,i=f.useGlobalConfig("uiMode"),{b:u}=m.useNamespace("ap-drawer"),c=e.h(y.default,{onClose:()=>{a("update:open",!1)}}),t=l,n=o=>{if(!t.open||!t.outSideClick)return;const r=document.querySelector(".ant-drawer-open");if(!r)return;!r.contains(o.target)&&(t.onClose?t.onClose(o):a("update:open",!1))};return e.watch(()=>t.open,o=>{o&&t.outSideClick?setTimeout(()=>{document.addEventListener("click",n)},0):document.removeEventListener("click",n)},{immediate:!0}),e.onBeforeUnmount(()=>{document.removeEventListener("click",n)}),(o,r)=>(e.openBlock(),e.createBlock(e.unref(d.Drawer),e.mergeProps(e.unref(p.omit)(t,["class","extra","outSideClick"]),{class:e.unref(u)(e.unref(i)),extra:t.extra?t.extra:e.unref(c)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["class","extra"]))}});exports.default=C;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./ApDrawer.vue.js");exports.default=e.default;
@@ -1,8 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- type __VLS_Props = {
3
- onClose: () => void;
4
- };
5
- declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
- onClose: () => void;
7
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
8
- export default _default;