@aplus-frontend/ui 0.6.0-beta.11 → 0.6.0-beta.12

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 (376) hide show
  1. package/es/index.mjs +79 -77
  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 +5 -5
  12. package/es/src/ap-download/ap-download.vue.mjs +1 -1
  13. package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
  14. package/es/src/ap-field/date/index.vue.mjs +4 -4
  15. package/es/src/ap-field/date-range/index.vue.mjs +8 -8
  16. package/es/src/ap-field/index.mjs +36 -36
  17. package/es/src/ap-field/number/index.vue.mjs +8 -8
  18. package/es/src/ap-field/radio/index.vue.mjs +1 -1
  19. package/es/src/ap-field/rate/index.vue.mjs +2 -2
  20. package/es/src/ap-field/segmented/index.vue.mjs +1 -1
  21. package/es/src/ap-field/select/index.vue.mjs +2 -2
  22. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  23. package/es/src/ap-field/slider/index.vue.mjs +4 -4
  24. package/es/src/ap-field/switch/index.vue.mjs +3 -3
  25. package/es/src/ap-field/text/index.vue2.mjs +2 -2
  26. package/es/src/ap-field/text/password.vue.mjs +2 -2
  27. package/es/src/ap-field/text-area/index.vue.mjs +3 -3
  28. package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
  29. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  30. package/es/src/ap-form/ap-form.vue.d.ts +2 -1
  31. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  32. package/es/src/ap-form/dependency/index.vue.mjs +29 -24
  33. package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  34. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  35. package/es/src/ap-form/item/index.vue.mjs +7 -7
  36. package/es/src/ap-form/item-group/index.vue.mjs +3 -3
  37. package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
  38. package/es/src/ap-form/items/date/index.vue.mjs +2 -2
  39. package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
  40. package/es/src/ap-form/items/number/index.vue.mjs +2 -2
  41. package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
  42. package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
  43. package/es/src/ap-form/items/select/index.vue.mjs +2 -2
  44. package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
  45. package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
  46. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  47. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  48. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  49. package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
  50. package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
  51. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  52. package/es/src/ap-form/render/item.vue.mjs +2 -2
  53. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +7 -7
  54. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
  55. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
  56. package/es/src/ap-form/search-form/index.vue.d.ts +6 -9
  57. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  58. package/es/src/ap-form/set/index.vue.mjs +1 -1
  59. package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  60. package/es/src/ap-grid/editable/form-item.vue.mjs +2 -2
  61. package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
  62. package/es/src/ap-grid/editable/index.vue.mjs +2 -2
  63. package/es/src/ap-grid/index.vue.d.ts +4 -2
  64. package/es/src/ap-grid/index.vue.mjs +5 -5
  65. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
  66. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
  67. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
  68. package/es/src/ap-list/index.vue.d.ts +4 -2
  69. package/es/src/ap-list/index.vue.mjs +1 -1
  70. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  71. package/es/src/ap-table/ap-table.vue.d.ts +4 -2
  72. package/es/src/ap-table/ap-table.vue2.mjs +27 -27
  73. package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
  74. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  75. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  76. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +42 -45
  77. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  78. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  79. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  80. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  81. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  82. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  83. package/es/src/ap-table/constants.d.ts +5 -5
  84. package/es/src/ap-table/constants.mjs +45 -45
  85. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  86. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  87. package/es/src/ap-table/utils.d.ts +5 -5
  88. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  89. package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
  90. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  91. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  92. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  93. package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
  94. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  95. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  96. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  97. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  98. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
  99. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
  100. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  101. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  102. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  103. package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
  104. package/es/src/business/ap-copy/ApCopy.d.ts +52 -0
  105. package/es/src/business/ap-copy/ApCopy.mjs +79 -0
  106. package/es/src/business/ap-copy/constans.d.ts +24 -0
  107. package/es/src/business/ap-copy/constans.mjs +25 -0
  108. package/es/src/business/ap-copy/index.d.ts +102 -0
  109. package/es/src/business/ap-copy/index.mjs +7 -0
  110. package/es/src/business/ap-copy/interface.d.ts +8 -0
  111. package/es/src/business/ap-copy/interface.mjs +1 -0
  112. package/es/src/business/ap-copy/style/css.d.ts +0 -0
  113. package/es/src/business/ap-copy/style/css.js +1 -0
  114. package/es/src/business/ap-copy/style/index.d.ts +0 -0
  115. package/es/src/business/ap-copy/style/index.js +1 -0
  116. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  117. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
  118. package/es/src/business/ap-expand-alert/index.d.ts +6 -4
  119. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +5 -5
  120. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
  121. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
  122. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
  123. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
  124. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
  125. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  126. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  127. package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
  128. package/es/src/business/ap-product-info/ApProductInfo.d.ts +9 -0
  129. package/es/src/business/ap-product-info/ApProductInfo.mjs +53 -53
  130. package/es/src/business/ap-product-info/constans.d.ts +4 -0
  131. package/es/src/business/ap-product-info/constans.mjs +4 -0
  132. package/es/src/business/ap-product-info/index.d.ts +15 -0
  133. package/es/src/business/ap-product-info/interface.d.ts +1 -0
  134. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +1 -1
  135. package/es/src/business/ap-select-layout/index.d.ts +4 -2
  136. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  137. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  138. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  139. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  140. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  141. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  142. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
  143. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
  144. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  145. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  146. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  147. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  148. package/es/src/business/ap-view/ap-view.vue2.mjs +2 -2
  149. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
  150. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
  151. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
  152. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
  153. package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
  154. package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
  155. package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
  156. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  157. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  158. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  159. package/es/src/business/hooks/usePageListApGrid.d.ts +0 -2
  160. package/es/src/business/hooks/usePageListApGrid.mjs +48 -65
  161. package/es/src/business/index.d.ts +1 -0
  162. package/es/src/business/index.mjs +20 -18
  163. package/es/src/check-card/index.vue2.mjs +3 -3
  164. package/es/src/components.d.ts +1 -0
  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 +58 -56
  173. package/es/src/locale/lang/en.mjs +4 -0
  174. package/es/src/locale/lang/zh-cn.mjs +4 -0
  175. package/es/src/mask/index.vue.mjs +10 -10
  176. package/es/src/path-map.mjs +1 -0
  177. package/es/src/portal/index.vue.mjs +2 -2
  178. package/es/src/scroll-bar/index.vue.mjs +3 -3
  179. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  180. package/es/src/scroll-view/index.vue.d.ts +5 -5
  181. package/es/src/scroll-view/index.vue.mjs +9 -9
  182. package/es/src/splitter/Panel.vue2.mjs +4 -4
  183. package/es/src/splitter/SplitBar.vue2.mjs +7 -7
  184. package/es/src/splitter/Splitter.vue2.mjs +5 -5
  185. package/es/src/tests/wrapper.d.ts +4 -4
  186. package/es/src/text/group.vue.mjs +2 -2
  187. package/es/src/text/index.vue.mjs +4 -4
  188. package/es/src/version.d.ts +1 -1
  189. package/es/src/version.mjs +1 -1
  190. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  191. package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
  192. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  193. package/lib/index.js +1 -1
  194. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  195. package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -1
  196. package/lib/src/ap-field/index.js +1 -1
  197. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  198. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  199. package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
  200. package/lib/src/ap-form/dependency/index.vue.js +1 -1
  201. package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  202. package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
  203. package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
  204. package/lib/src/ap-form/search-form/index.vue.d.ts +6 -9
  205. package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  206. package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
  207. package/lib/src/ap-grid/index.vue.d.ts +4 -2
  208. package/lib/src/ap-grid/index.vue.js +1 -1
  209. package/lib/src/ap-list/index.vue.d.ts +4 -2
  210. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  211. package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
  212. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  213. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  214. package/lib/src/ap-table/constants.d.ts +5 -5
  215. package/lib/src/ap-table/constants.js +1 -1
  216. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  217. package/lib/src/ap-table/utils.d.ts +5 -5
  218. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  219. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  220. package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
  221. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  222. package/lib/src/business/ap-copy/ApCopy.d.ts +52 -0
  223. package/lib/src/business/ap-copy/ApCopy.js +1 -0
  224. package/lib/src/business/ap-copy/constans.d.ts +24 -0
  225. package/lib/src/business/ap-copy/constans.js +1 -0
  226. package/lib/src/business/ap-copy/index.d.ts +102 -0
  227. package/lib/src/business/ap-copy/index.js +1 -0
  228. package/lib/src/business/ap-copy/interface.d.ts +8 -0
  229. package/lib/src/business/ap-copy/interface.js +1 -0
  230. package/lib/src/business/ap-copy/style/css.cjs +1 -0
  231. package/lib/src/business/ap-copy/style/css.d.ts +0 -0
  232. package/lib/src/business/ap-copy/style/index.cjs +1 -0
  233. package/lib/src/business/ap-copy/style/index.d.ts +0 -0
  234. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  235. package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
  236. package/lib/src/business/ap-product-info/ApProductInfo.d.ts +9 -0
  237. package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
  238. package/lib/src/business/ap-product-info/constans.d.ts +4 -0
  239. package/lib/src/business/ap-product-info/constans.js +1 -1
  240. package/lib/src/business/ap-product-info/index.d.ts +15 -0
  241. package/lib/src/business/ap-product-info/interface.d.ts +1 -0
  242. package/lib/src/business/ap-select-layout/index.d.ts +4 -2
  243. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  244. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
  245. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
  246. package/lib/src/business/hooks/usePageListApGrid.d.ts +0 -2
  247. package/lib/src/business/hooks/usePageListApGrid.js +1 -1
  248. package/lib/src/business/index.d.ts +1 -0
  249. package/lib/src/business/index.js +1 -1
  250. package/lib/src/components.d.ts +1 -0
  251. package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
  252. package/lib/src/editable-table/form-item.vue.d.ts +4 -2
  253. package/lib/src/editable-table/index.vue.d.ts +4 -2
  254. package/lib/src/index.js +1 -1
  255. package/lib/src/locale/lang/en.js +1 -1
  256. package/lib/src/locale/lang/zh-cn.js +1 -1
  257. package/lib/src/path-map.js +1 -1
  258. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  259. package/lib/src/tests/wrapper.d.ts +4 -4
  260. package/lib/src/version.d.ts +1 -1
  261. package/lib/src/version.js +1 -1
  262. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
  263. package/package.json +3 -6
  264. package/theme/antd-global-overwrite/admin/index.css +11 -9
  265. package/theme/antd-global-overwrite/admin/modal.css +9 -6
  266. package/theme/antd-global-overwrite/admin/modal.less +8 -6
  267. package/theme/antd-global-overwrite/admin/table.css +2 -3
  268. package/theme/antd-global-overwrite/admin/table.less +2 -3
  269. package/theme/antd-global-overwrite/aplus/index.css +11 -8
  270. package/theme/antd-global-overwrite/aplus/modal.css +9 -6
  271. package/theme/antd-global-overwrite/aplus/modal.less +8 -6
  272. package/theme/antd-global-overwrite/aplus/table.css +2 -2
  273. package/theme/antd-global-overwrite/aplus/table.less +2 -2
  274. package/theme/ap-action/item-dropdown.css +2 -2
  275. package/theme/ap-action/item.css +7 -7
  276. package/theme/ap-action/item.less +5 -5
  277. package/theme/ap-appendix/ap-appendix.css +8 -8
  278. package/theme/ap-appendix/ap-appendix.less +6 -6
  279. package/theme/ap-attachment/ap-attachment.css +2 -2
  280. package/theme/ap-batch-action/ap-batch-action.css +5 -5
  281. package/theme/ap-batch-action/ap-batch-action.less +3 -3
  282. package/theme/ap-button/ap-button.css +2 -2
  283. package/theme/ap-card/ap-card.css +2 -2
  284. package/theme/ap-copy/ap-copy.css +94 -0
  285. package/theme/ap-copy/ap-copy.less +59 -0
  286. package/theme/ap-descriptions/ap-descriptions.css +6 -6
  287. package/theme/ap-descriptions/ap-descriptions.less +4 -4
  288. package/theme/ap-download/ap-download.css +2 -2
  289. package/theme/ap-expand-alert/ap-expand-alert.css +2 -2
  290. package/theme/ap-field/checkbox.css +2 -2
  291. package/theme/ap-field/index.css +2 -2
  292. package/theme/ap-field/number.css +2 -2
  293. package/theme/ap-field/radio.css +2 -2
  294. package/theme/ap-field/text-area.css +2 -2
  295. package/theme/ap-form/ap-form-item-group.css +2 -2
  296. package/theme/ap-form/ap-form-item.css +6 -6
  297. package/theme/ap-form/ap-form-item.less +4 -4
  298. package/theme/ap-form/drawer-form.css +2 -2
  299. package/theme/ap-form/index.css +13 -13
  300. package/theme/ap-form/item-text-group.css +2 -2
  301. package/theme/ap-form/item-text.css +2 -2
  302. package/theme/ap-form/modal-form.css +2 -2
  303. package/theme/ap-form/search-form-sorter.css +6 -6
  304. package/theme/ap-form/search-form-sorter.less +4 -4
  305. package/theme/ap-form/search-form.css +13 -13
  306. package/theme/ap-form/search-form.less +3 -3
  307. package/theme/ap-grid/editable.css +2 -2
  308. package/theme/ap-grid/index.css +31 -23
  309. package/theme/ap-grid/index.less +14 -3
  310. package/theme/ap-group-search/ap-extension-select.css +2 -2
  311. package/theme/ap-group-search/ap-group-search.css +2 -2
  312. package/theme/ap-group-search/ap-popover-select.css +2 -2
  313. package/theme/ap-image/ap-image.css +2 -2
  314. package/theme/ap-input-radio/ap-input-radio.css +2 -2
  315. package/theme/ap-label/ap-label.css +2 -2
  316. package/theme/ap-ladder/ap-ladder.css +2 -2
  317. package/theme/ap-layout/ap-info-layout.css +2 -2
  318. package/theme/ap-list/index.css +2 -2
  319. package/theme/ap-product-info/ap-product-info.css +22 -32
  320. package/theme/ap-product-info/ap-product-info.less +28 -42
  321. package/theme/ap-radio-group/ap-radio-group.css +7 -7
  322. package/theme/ap-radio-group/ap-radio-group.less +5 -5
  323. package/theme/ap-select-layout/ap-select-layout.css +2 -2
  324. package/theme/ap-size-input/ap-size-input.css +2 -2
  325. package/theme/ap-status/ap-status.css +2 -2
  326. package/theme/ap-summary/index.css +2 -2
  327. package/theme/ap-table/ap-table-index.css +2 -2
  328. package/theme/ap-table/ap-table-paragraph-ellipsis.css +3 -3
  329. package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
  330. package/theme/ap-table/ap-table.css +47 -36
  331. package/theme/ap-table/ap-table.less +14 -7
  332. package/theme/ap-table/setting/index.css +14 -9
  333. package/theme/ap-table/setting/modal.css +7 -3
  334. package/theme/ap-table/setting/modal.less +5 -1
  335. package/theme/ap-table/setting/select-group.css +2 -2
  336. package/theme/ap-table/setting/sortable-item-meta.css +4 -4
  337. package/theme/ap-table/setting/sortable-item-meta.less +2 -2
  338. package/theme/ap-table/setting/sortable-item.css +2 -2
  339. package/theme/ap-table/setting/sorter.css +7 -6
  340. package/theme/ap-table/setting/sorter.less +4 -4
  341. package/theme/ap-table-modal/index.css +47 -36
  342. package/theme/ap-tag/ap-tag-group.css +2 -2
  343. package/theme/ap-tag/ap-tag.css +3 -3
  344. package/theme/ap-tag/ap-tag.less +1 -1
  345. package/theme/ap-title/ap-title.css +2 -2
  346. package/theme/ap-upload/index.css +2 -2
  347. package/theme/ap-upload/multiple-file.css +2 -2
  348. package/theme/ap-upload/picture.css +2 -2
  349. package/theme/ap-upload/single-file.css +2 -2
  350. package/theme/ap-upload/upload.css +2 -2
  351. package/theme/ap-upload-single/index.css +6 -6
  352. package/theme/ap-upload-single/index.less +4 -4
  353. package/theme/ap-view/ap-view.css +9 -9
  354. package/theme/ap-view/ap-view.less +7 -7
  355. package/theme/batch-input-group/index.css +4 -4
  356. package/theme/batch-input-group/popover-input.css +4 -4
  357. package/theme/batch-input-group/popover-input.less +2 -2
  358. package/theme/check-card/index.css +7 -7
  359. package/theme/check-card/index.less +5 -5
  360. package/theme/editable-table/index.css +18 -18
  361. package/theme/full-screen/index.css +2 -2
  362. package/theme/index.css +208 -205
  363. package/theme/index.less +1 -0
  364. package/theme/mask/index.css +2 -2
  365. package/theme/mixins/mixins.css +2 -2
  366. package/theme/mixins/mixins.less +2 -2
  367. package/theme/scroll-bar/index.css +2 -2
  368. package/theme/scroll-view/index.css +2 -2
  369. package/theme/splitter/index.css +5 -5
  370. package/theme/splitter/index.less +1 -1
  371. package/theme/text/group.css +2 -2
  372. package/theme/text/index.css +6 -6
  373. package/theme/text/index.less +4 -4
  374. package/theme/ui-mode.css +36 -90
  375. package/theme/ui-mode.less +74 -90
  376. package/theme/work-order-modal/index.css +2 -2
@@ -1,4 +1,4 @@
1
- import { defineComponent as d, computed as g, createElementBlock as a, openBlock as l, normalizeClass as o, unref as t, createElementVNode as r, renderSlot as n, Fragment as h, createBlock as C, createCommentVNode as y, toDisplayString as k, withCtx as v, createVNode as M, normalizeStyle as $ } from "vue";
1
+ import { defineComponent as d, computed as g, openBlock as l, createElementBlock as a, normalizeClass as o, unref as t, createElementVNode as r, renderSlot as n, Fragment as h, toDisplayString as C, createBlock as y, withCtx as k, createVNode as v, normalizeStyle as M, createCommentVNode as $ } from "vue";
2
2
  import { Tooltip as I } from "@aplus-frontend/antdv";
3
3
  import { QuestionCircleOutlined as N } from "@ant-design/icons-vue";
4
4
  import "../../config-provider/index.mjs";
@@ -25,20 +25,20 @@ const D = /* @__PURE__ */ d({
25
25
  class: o(t(s)("prefix"))
26
26
  }, [
27
27
  e.$slots.prefix ? n(e.$slots, "prefix", { key: 0 }) : (l(), a(h, { key: 1 }, [
28
- r("span", null, k(e.title), 1),
29
- e.helpMessage ? (l(), C(t(I), {
28
+ r("span", null, C(e.title), 1),
29
+ e.helpMessage ? (l(), y(t(I), {
30
30
  key: 0,
31
31
  title: e.helpMessage,
32
32
  placement: e.placement,
33
33
  trigger: e.trigger
34
34
  }, {
35
- default: v(() => [
36
- M(t(N), {
37
- style: $(f.value)
35
+ default: k(() => [
36
+ v(t(N), {
37
+ style: M(f.value)
38
38
  }, null, 8, ["style"])
39
39
  ]),
40
40
  _: 1
41
- }, 8, ["title", "placement", "trigger"])) : y("", !0)
41
+ }, 8, ["title", "placement", "trigger"])) : $("", !0)
42
42
  ], 64))
43
43
  ], 2),
44
44
  r("div", {
@@ -1,4 +1,4 @@
1
- import { defineComponent as Q, computed as C, createBlock as k, openBlock as m, unref as e, mergeProps as W, withCtx as u, renderSlot as X, normalizeProps as Y, guardReactiveProps as Z, createElementVNode as s, normalizeClass as l, createElementBlock as g, createVNode as n, createTextVNode as p, toDisplayString as f, resolveDynamicComponent as E, h as P, Fragment as $ } from "vue";
1
+ import { defineComponent as Q, computed as C, openBlock as m, createBlock as k, unref as e, mergeProps as W, withCtx as u, renderSlot as X, normalizeProps as Y, guardReactiveProps as Z, createElementVNode as s, normalizeClass as l, createElementBlock as g, createVNode as n, createTextVNode as p, toDisplayString as f, resolveDynamicComponent as E, h as P, Fragment as $ } from "vue";
2
2
  import { clearSingleFile as ee, clearAllFile as x } from "../utils/fileList.mjs";
3
3
  import b from "../icon/file-icon.vue.mjs";
4
4
  import F from "../icon/delete-icon.vue.mjs";
@@ -1,4 +1,4 @@
1
- import { createElementBlock as l, openBlock as n, createElementVNode as e } from "vue";
1
+ import { openBlock as l, createElementBlock as n, createElementVNode as e } from "vue";
2
2
  import t from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
3
  const r = {}, L = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -8,7 +8,7 @@ const r = {}, L = {
8
8
  viewBox: "0 0 20 20"
9
9
  };
10
10
  function i(c, o) {
11
- return n(), l("svg", L, o[0] || (o[0] = [
11
+ return l(), n("svg", L, o[0] || (o[0] = [
12
12
  e("g", null, [
13
13
  e("g", null, [
14
14
  e("path", {
@@ -1,4 +1,4 @@
1
- import { createElementBlock as o, openBlock as i, createStaticVNode as e } from "vue";
1
+ import { openBlock as o, createElementBlock as i, createStaticVNode as e } from "vue";
2
2
  import l from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
3
  const r = {}, s = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -8,7 +8,7 @@ const r = {}, s = {
8
8
  viewBox: "0 0 56 56"
9
9
  };
10
10
  function p(a, t) {
11
- return i(), o("svg", s, t[0] || (t[0] = [
11
+ return o(), i("svg", s, t[0] || (t[0] = [
12
12
  e('<defs><clipPath id="master_svg0_693_19001"><rect x="0" y="0" width="56" height="56" rx="7"></rect></clipPath><linearGradient id="master_svg1_693_19025" x1="0.5" y1="0" x2="0.5" y2="0.7987817525863647"><stop offset="0%" stop-color="#AED1FF" stop-opacity="1"></stop><stop offset="100%" stop-color="#74B1FF" stop-opacity="1"></stop></linearGradient><linearGradient id="master_svg2_693_19014" x1="0.5" y1="0" x2="0.5" y2="1"><stop offset="0.7142857182770967%" stop-color="#DBEBFF" stop-opacity="1"></stop><stop offset="100%" stop-color="#98C5FF" stop-opacity="1"></stop></linearGradient></defs><g clip-path="url(#master_svg0_693_19001)"><g><g><path d="M49.4644,10.22729L35.1706,10.22729C34.2282,10.22729,33.316,9.89456,32.595,9.287759999999999L29.1746,6.4093C28.0931,5.499102,26.7249,5,25.3113,5L5.5,5C3.29086,5,1.5,6.79086,1.5,9L1.5,45L54.4995,45L54.5,15.2852C54.5,12.49165,52.2455,10.22729,49.4644,10.22729Z" fill="url(#master_svg1_693_19025)" fill-opacity="1"></path></g><g><path d="M10.5,13L45.5,13C46.6046,13,47.5,13.895431,47.5,15L47.5,35.9999L8.5,36L8.5,15C8.5,13.895431,9.395431,13,10.5,13" fill="#FFFFFF" fill-opacity="0.30000001192092896"></path></g><g><path d="M8.5,17L47.5,17C48.6046,17,49.5,17.895431,49.5,19L49.5,41.9998L6.5,42L6.5,19C6.5,17.895431,7.395431,17,8.5,17" fill="#F9FCFF" fill-opacity="1"></path></g><g><rect x="14.5" y="21" width="15" height="2" rx="1" fill="#8DBFFF" fill-opacity="0.30000001192092896"></rect></g><g><rect x="14.5" y="27" width="28" height="2" rx="1" fill="#8DBFFF" fill-opacity="0.6000000238418579"></rect></g><g><path d="M1.5,37L1.5,48C1.5,50.2091,3.29086,52,5.5,52L50.5,52C52.7091,52,54.5,50.2091,54.5,48L54.5,37C54.5,35.34315,53.1569,34,51.5,34L4.5,34C2.84315,34,1.5,35.34315,1.5,37Z" fill="url(#master_svg2_693_19014)" fill-opacity="1"></path></g></g></g>', 2)
13
13
  ]));
14
14
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as Y, computed as E, ref as d, createVNode as _, watch as z, createBlock as M, openBlock as W, unref as v, mergeProps as h, withCtx as q, createElementVNode as H, normalizeClass as J } from "vue";
1
+ import { defineComponent as Y, computed as E, ref as d, createVNode as _, watch as z, openBlock as M, createBlock as W, unref as v, mergeProps as h, withCtx as q, createElementVNode as H, normalizeClass as J } from "vue";
2
2
  import "../../config-provider/index.mjs";
3
3
  import Q from "./icons/line-down.vue.mjs";
4
4
  import { ApBatchActionGroup as X } from "../ap-batch-action-group/index.mjs";
@@ -166,7 +166,7 @@ const Ve = /* @__PURE__ */ Y({
166
166
  }));
167
167
  }, {
168
168
  immediate: !0
169
- }), (t, l) => (W(), M(v(X), h({
169
+ }), (t, l) => (M(), W(v(X), h({
170
170
  ...t.$attrs
171
171
  }, {
172
172
  open: g.value,
@@ -2,12 +2,13 @@ import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc }
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
3
  import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
4
4
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
5
- import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
5
+ import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
6
6
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
7
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
8
8
  import { Options } from '../../../../node_modules/scroll-into-view-if-needed';
9
9
  import { Recordable } from '../../../type';
10
10
  import { VueTypeDef, VueTypeValidableDef } from '../../../../node_modules/vue-types';
11
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { OnCleanup } from '@vue/reactivity';
13
14
  type __VLS_Props = {
@@ -108,7 +109,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
108
109
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
109
110
  readonly initialValues?: Recordable | undefined;
110
111
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
111
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
112
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
112
113
  readonly syncToUrlPriority?: boolean | undefined;
113
114
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
114
115
  $attrs: {
@@ -1,5 +1,5 @@
1
- import { defineComponent as z, ref as $, computed as I, watch as Y, createBlock as D, openBlock as E, unref as e, withCtx as t, createElementVNode as f, normalizeClass as r, createVNode as a, createSlots as K, toDisplayString as s, createTextVNode as v } from "vue";
2
- import { Popover as j, Tooltip as q, Space as N, Checkbox as B } from "@aplus-frontend/antdv";
1
+ import { defineComponent as z, ref as $, computed as I, watch as Y, openBlock as D, createBlock as E, unref as e, withCtx as t, createElementVNode as f, normalizeClass as r, createVNode as a, toDisplayString as s, createTextVNode as v, createSlots as K } from "vue";
2
+ import { Popover as j, Checkbox as q, Space as N, Tooltip as B } from "@aplus-frontend/antdv";
3
3
  import "../../../config-provider/index.mjs";
4
4
  import L from "../icons/line-eye.vue.mjs";
5
5
  import "../../../ap-form/ap-form.vue.mjs";
@@ -52,7 +52,7 @@ const re = /* @__PURE__ */ z({
52
52
  viewConfig: T
53
53
  })), c.value = !1;
54
54
  };
55
- return (p, i) => (E(), D(e(j), {
55
+ return (p, i) => (D(), E(e(j), {
56
56
  open: y.value,
57
57
  "onUpdate:open": i[1] || (i[1] = (m) => y.value = m),
58
58
  placement: "bottom",
@@ -87,7 +87,7 @@ const re = /* @__PURE__ */ z({
87
87
  "value-prop-name": "checked"
88
88
  }, {
89
89
  default: t(() => [
90
- a(e(B), null, {
90
+ a(e(q), null, {
91
91
  default: t(() => [
92
92
  v(s(e(o)("ap.apView.setDefault")), 1)
93
93
  ]),
@@ -154,7 +154,7 @@ const re = /* @__PURE__ */ z({
154
154
  [e(l)("main-content-disabled")]: e(u).length >= d.maxViewNum + 1
155
155
  })
156
156
  }, [
157
- a(e(q), { placement: "bottom" }, K({
157
+ a(e(B), { placement: "bottom" }, K({
158
158
  default: t(() => [
159
159
  a(e(N), { size: 4 }, {
160
160
  default: t(() => [
@@ -2,12 +2,13 @@ import { ViewListModel } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
3
  import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
4
4
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
5
- import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
5
+ import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
6
6
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
7
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
8
8
  import { Options } from '../../../../node_modules/scroll-into-view-if-needed';
9
9
  import { Recordable } from '../../../type';
10
10
  import { VueTypeDef, VueTypeValidableDef } from '../../../../node_modules/vue-types';
11
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc } from '../../../ap-form';
13
14
  import { OnCleanup } from '@vue/reactivity';
@@ -109,7 +110,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
109
110
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
110
111
  readonly initialValues?: Recordable | undefined;
111
112
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
112
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
113
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
113
114
  readonly syncToUrlPriority?: boolean | undefined;
114
115
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
115
116
  $attrs: {
@@ -1,4 +1,4 @@
1
- import { defineComponent as G, ref as S, watch as O, createElementBlock as u, openBlock as p, normalizeClass as C, unref as e, createElementVNode as s, createCommentVNode as k, toDisplayString as f, createVNode as a, withModifiers as P, withCtx as v } from "vue";
1
+ import { defineComponent as G, ref as S, watch as O, openBlock as u, createElementBlock as p, normalizeClass as C, unref as e, createElementVNode as s, toDisplayString as f, createVNode as a, createCommentVNode as k, withModifiers as P, withCtx as v } from "vue";
2
2
  import "../../../config-provider/index.mjs";
3
3
  import { useViewInject as W } from "../hooks/use-view-provide.mjs";
4
4
  import { SYSTEM_VIEW_KEY as E } from "../utils/enum.mjs";
@@ -61,7 +61,7 @@ const R = { class: "menu-list-content-name" }, L = ["title"], U = {
61
61
  }
62
62
  ), (i, o) => {
63
63
  var m, r, x, N, h, K, g;
64
- return c.value === !1 ? (p(), u("div", {
64
+ return c.value === !1 ? (u(), p("div", {
65
65
  key: 0,
66
66
  class: C({
67
67
  [e(d)("menu-list-content")]: !0,
@@ -74,14 +74,14 @@ const R = { class: "menu-list-content-name" }, L = ["title"], U = {
74
74
  title: (r = n.view) == null ? void 0 : r.viewName
75
75
  }, f((x = n.view) == null ? void 0 : x.viewName), 9, L)
76
76
  ]),
77
- ((N = n.view) == null ? void 0 : N.viewKey) !== e(E) && ((h = n.view) != null && h.isDefault) ? (p(), u("div", U, [
77
+ ((N = n.view) == null ? void 0 : N.viewKey) !== e(E) && ((h = n.view) != null && h.isDefault) ? (u(), p("div", U, [
78
78
  a(e(D), {
79
79
  text: e(l)("ap.apView.default"),
80
80
  size: "small",
81
81
  color: $[e(I) ?? "aplus"]
82
82
  }, null, 8, ["text", "color"])
83
83
  ])) : k("", !0),
84
- ((K = n.view) == null ? void 0 : K.viewKey) !== e(E) ? (p(), u("div", {
84
+ ((K = n.view) == null ? void 0 : K.viewKey) !== e(E) ? (u(), p("div", {
85
85
  key: 1,
86
86
  class: "menu-list-content-action",
87
87
  onClick: o[1] || (o[1] = P(() => {
@@ -95,7 +95,7 @@ const R = { class: "menu-list-content-name" }, L = ["title"], U = {
95
95
  class: "menu-list-content-action-text",
96
96
  onClick: o[0] || (o[0] = (ne) => c.value = !0)
97
97
  }, f(e(l)("ap.apView.rename")), 1),
98
- (_ = n.view) != null && _.isDefault ? k("", !0) : (p(), u("div", {
98
+ (_ = n.view) != null && _.isDefault ? k("", !0) : (u(), p("div", {
99
99
  key: 0,
100
100
  class: "menu-list-content-action-text",
101
101
  onClick: Y
@@ -117,7 +117,7 @@ const R = { class: "menu-list-content-name" }, L = ["title"], U = {
117
117
  _: 1
118
118
  })
119
119
  ])) : k("", !0)
120
- ], 2)) : (p(), u("div", {
120
+ ], 2)) : (u(), p("div", {
121
121
  key: 1,
122
122
  class: C([e(d)("menu-list-content"), e(d)("menu-list-content-edit")])
123
123
  }, [
@@ -1,4 +1,4 @@
1
- import { createElementBlock as l, openBlock as n, createElementVNode as e } from "vue";
1
+ import { openBlock as l, createElementBlock as n, createElementVNode as e } from "vue";
2
2
  import o from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
3
  const r = {}, L = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -10,7 +10,7 @@ const r = {}, L = {
10
10
  viewBox: "0 0 14 14"
11
11
  };
12
12
  function i(s, t) {
13
- return n(), l("svg", L, t[0] || (t[0] = [
13
+ return l(), n("svg", L, t[0] || (t[0] = [
14
14
  e("g", null, [
15
15
  e("g", null, [
16
16
  e("path", {
@@ -1,4 +1,4 @@
1
- import { createElementBlock as o, openBlock as t, createElementVNode as e } from "vue";
1
+ import { openBlock as o, createElementBlock as t, createElementVNode as e } from "vue";
2
2
  import l from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
3
  const r = {}, i = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -10,7 +10,7 @@ const r = {}, i = {
10
10
  viewBox: "0 0 14 14"
11
11
  };
12
12
  function s(c, n) {
13
- return t(), o("svg", i, n[0] || (n[0] = [
13
+ return o(), t("svg", i, n[0] || (n[0] = [
14
14
  e("g", null, [
15
15
  e("g", null, [
16
16
  e("path", {
@@ -1,4 +1,4 @@
1
- import { createElementBlock as n, openBlock as o, createElementVNode as e } from "vue";
1
+ import { openBlock as n, createElementBlock as o, createElementVNode as e } from "vue";
2
2
  import Q from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
3
  const l = {}, r = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -10,7 +10,7 @@ const l = {}, r = {
10
10
  viewBox: "0 0 16 16"
11
11
  };
12
12
  function i(s, t) {
13
- return o(), n("svg", r, t[0] || (t[0] = [
13
+ return n(), o("svg", r, t[0] || (t[0] = [
14
14
  e("g", null, [
15
15
  e("g", null, [
16
16
  e("path", {
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, computed as r, createBlock as B, openBlock as g, mergeProps as u, unref as m, withCtx as _, createVNode as V } from "vue";
1
+ import { defineComponent as b, computed as r, openBlock as B, createBlock as g, mergeProps as u, unref as m, withCtx as _, createVNode as V } from "vue";
2
2
  import "./index.vue2.mjs";
3
3
  import "../../ap-form/item/index.vue2.mjs";
4
4
  import { isValid as s } from "@aplus-frontend/utils";
@@ -76,7 +76,7 @@ const q = /* @__PURE__ */ b({
76
76
  });
77
77
  return (e, a) => {
78
78
  var o, i;
79
- return g(), B(x, u(
79
+ return B(), g(x, u(
80
80
  m(p)(l, [
81
81
  "field",
82
82
  "initialValue",
@@ -1,4 +1,4 @@
1
- import { defineComponent as N, ref as g, computed as u, unref as n, createElementBlock as $, openBlock as B, normalizeStyle as b, normalizeClass as K, createVNode as c, withCtx as A, createBlock as M, createCommentVNode as D, mergeProps as q } from "vue";
1
+ import { defineComponent as N, ref as g, computed as u, unref as n, openBlock as B, createElementBlock as $, normalizeClass as K, normalizeStyle as b, createVNode as c, withCtx as A, createBlock as M, createCommentVNode as D, mergeProps as q } from "vue";
2
2
  import "../../ap-field/index.mjs";
3
3
  import { Space as G } from "@aplus-frontend/antdv";
4
4
  import "../../config-provider/index.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as A, ref as m, createElementBlock as w, openBlock as B, normalizeClass as p, unref as e, createVNode as c, withCtx as d, createElementVNode as L } from "vue";
1
+ import { defineComponent as A, ref as m, openBlock as w, createElementBlock as B, normalizeClass as p, unref as e, createVNode as c, withCtx as d, createElementVNode as L } from "vue";
2
2
  import { Popover as N, Textarea as P } from "@aplus-frontend/antdv";
3
3
  import "../../../config-provider/index.mjs";
4
4
  import { IconApAdLineScreen as z } from "@aplus-frontend/icon";
@@ -33,7 +33,7 @@ const D = /* @__PURE__ */ A({
33
33
  o.disabled ? n.value = !1 : n.value = t, !t && ((a = o.onClose) == null || a.call(o));
34
34
  }
35
35
  const { b: u, e: I, em: V, bm: k } = O("batch-input-group-popover-input");
36
- return (t, a) => (B(), w("div", {
36
+ return (t, a) => (w(), B("div", {
37
37
  class: p(e(u)())
38
38
  }, [
39
39
  c(e(N), {
@@ -19,8 +19,6 @@ export interface UsePageListApGrid extends ApGridProps {
19
19
  * 表格刷新相关
20
20
  */
21
21
  tableRefresh?: boolean | Omit<UseTableRefreshOption, 'apTableRef'>;
22
- /** 是否在deactivated的时候清空数据, 需要在setup中使用才会生效 */
23
- clearDataSourceOnDeactivated?: boolean;
24
22
  }
25
23
  /**
26
24
  * 集成了列表页面的ApGrid的默认配置
@@ -1,79 +1,69 @@
1
1
  import "../../config-provider/index.mjs";
2
2
  import "../index.mjs";
3
- import { merge as i, cloneDeep as F } from "lodash-unified";
4
- import { ref as d, hasInjectionContext as V, onActivated as G, nextTick as x, onDeactivated as q, computed as y, unref as D } from "vue";
5
- import { useGlobalConfig as I } from "../../config-provider/hooks/use-global-config.mjs";
6
- import { useTableRefresh as T } from "./useTableRefresh.mjs";
7
- function H(n) {
8
- const o = d(null), {
9
- isShowRowSelection: f = !0,
10
- clearSelectionOnRequest: m = !0,
3
+ import { merge as c, cloneDeep as v } from "lodash-unified";
4
+ import { ref as g } from "vue";
5
+ import { useGlobalConfig as b } from "../../config-provider/hooks/use-global-config.mjs";
6
+ import { useTableRefresh as R } from "./useTableRefresh.mjs";
7
+ function C(s) {
8
+ const o = g(null), {
9
+ isShowRowSelection: i = !0,
10
+ clearSelectionOnRequest: d = !0,
11
11
  transformSearchFormValues: a,
12
- api: s,
13
- tableRefresh: p = !0,
14
- virtual: v,
15
- clearDataSourceOnDeactivated: S = !0,
16
- ...h
17
- } = n || {};
18
- let l = null;
19
- const g = I("uiMode", "aplus"), c = () => {
12
+ api: l,
13
+ tableRefresh: f = !0,
14
+ virtual: m,
15
+ ...p
16
+ } = s || {};
17
+ let n = null;
18
+ const h = b("uiMode", "aplus"), u = () => {
20
19
  var e, r;
21
20
  (r = (e = o.value) == null ? void 0 : e.rowSelection) == null || r.clearAll();
22
21
  };
23
- T({
24
- ...B(p),
22
+ return R({
23
+ ...w(f),
25
24
  apTableRef: o
26
- });
27
- const b = async (e) => {
28
- l = e.sort;
29
- const r = a ? a(e) : e;
30
- try {
31
- if (!s) throw new Error("api is not defined");
32
- const { records: t, total: w } = await s(r);
33
- return m && c(), {
34
- data: t,
35
- total: w
36
- };
37
- } catch (t) {
38
- return console.error(t), {
39
- data: [],
40
- total: 0
41
- };
42
- }
43
- }, u = d();
44
- S && V() && (G(() => {
45
- x(() => {
46
- u.value = void 0;
47
- });
48
- }), q(() => {
49
- u.value = [];
50
- }));
51
- const A = i(
25
+ }), [c(
52
26
  {
53
27
  // scroll,tableLayout,columnResizable设置表格可拖动
54
28
  scroll: { x: "100%", y: "100%" },
55
29
  columnResizable: !0,
56
- request: s ? b : void 0,
57
- rowSelection: f ? {
30
+ request: l ? async (e) => {
31
+ n = e.sort;
32
+ const r = a ? a(e) : e;
33
+ try {
34
+ if (!l) throw new Error("api is not defined");
35
+ const { records: t, total: S } = await l(r);
36
+ return d && u(), {
37
+ data: t,
38
+ total: S
39
+ };
40
+ } catch (t) {
41
+ return console.error(t), {
42
+ data: [],
43
+ total: 0
44
+ };
45
+ }
46
+ } : void 0,
47
+ rowSelection: i ? {
58
48
  fixed: "left",
59
49
  columnWidth: 34
60
50
  } : void 0,
61
51
  ref(e) {
62
52
  o.value = e;
63
53
  },
64
- virtual: i(
54
+ virtual: c(
65
55
  {
66
56
  oSize: 20,
67
57
  y: 20
68
58
  },
69
- v
59
+ m
70
60
  ),
71
61
  // 新UI规范,需要都添加分割线
72
62
  card: !0,
73
- bordered: g.value === "admin"
63
+ bordered: h.value === "admin"
74
64
  },
75
- h
76
- ), R = {
65
+ p
66
+ ), {
77
67
  reload: () => {
78
68
  var e;
79
69
  (e = o.value) == null || e.submit();
@@ -91,23 +81,16 @@ function H(n) {
91
81
  getSearchFormValuesAndSorted: (e = !0) => {
92
82
  var t;
93
83
  const r = ((t = o.value) == null ? void 0 : t.getSearchFormValues(!!e)) || {};
94
- return r.sort = l && F(l), a ? a(r) : r;
84
+ return r.sort = n && v(n), a ? a(r) : r;
95
85
  },
96
- clearSelection: c
97
- };
98
- return [
99
- y(() => ({
100
- ...A,
101
- dataSource: D(u)
102
- })),
103
- R
104
- ];
86
+ clearSelection: u
87
+ }];
105
88
  }
106
- function B(n) {
107
- return n === !0 ? {} : n === !1 ? {
89
+ function w(s) {
90
+ return s === !0 ? {} : s === !1 ? {
108
91
  refreshBefore: () => !1
109
- } : n;
92
+ } : s;
110
93
  }
111
94
  export {
112
- H as usePageListApGrid
95
+ C as usePageListApGrid
113
96
  };
@@ -21,6 +21,7 @@ export * from './ap-upload-file';
21
21
  export * from './batch-input-group';
22
22
  export * from './ap-size-input';
23
23
  export * from './ap-product-info';
24
+ export * from './ap-copy';
24
25
  export * from './ap-view';
25
26
  export * from './ap-radio-group';
26
27
  export { ApTransformDataHelper } from '../utils/ap-trans-data';
@@ -7,11 +7,11 @@ import { ApCard as d } from "./ap-card/index.mjs";
7
7
  import { ApExpandAlert as G } from "./ap-expand-alert/index.mjs";
8
8
  import { ApExportGroup as h } from "./ap-export-group/index.mjs";
9
9
  import { ApImage as L } from "./ap-image/index.mjs";
10
- import { ApInputRadio as B } from "./ap-input-radio/index.mjs";
11
- import { ApLabel as T, ApLabelGroup as y } from "./ap-label/index.mjs";
12
- import { ApLadder as R } from "./ap-ladder/index.mjs";
13
- import { ApSelectLayout as v } from "./ap-select-layout/index.mjs";
14
- import { ApStatus as z, ApStatusGroup as C } from "./ap-status/index.mjs";
10
+ import { ApInputRadio as y } from "./ap-input-radio/index.mjs";
11
+ import { ApLabel as E, ApLabelGroup as T } from "./ap-label/index.mjs";
12
+ import { ApLadder as P } from "./ap-ladder/index.mjs";
13
+ import { ApSelectLayout as g } from "./ap-select-layout/index.mjs";
14
+ import { ApStatus as w, ApStatusGroup as z } from "./ap-status/index.mjs";
15
15
  import { ApTitle as H } from "./ap-title/index.mjs";
16
16
  import "./hooks/index.mjs";
17
17
  import { ApSummary as V } from "./ap-summary/index.mjs";
@@ -21,9 +21,10 @@ import "./ap-upload-file/index.mjs";
21
21
  import "./batch-input-group/index.mjs";
22
22
  import { ApSizeInput as O } from "./ap-size-input/index.mjs";
23
23
  import { ApProductInfo as U } from "./ap-product-info/index.mjs";
24
- import { ApView as X } from "./ap-view/index.mjs";
25
- import { ApRadioGroup as Z } from "./ap-radio-group/index.mjs";
26
- import { ApTransformDataHelper as $ } from "../utils/ap-trans-data/index.mjs";
24
+ import { ApCopy as X } from "./ap-copy/index.mjs";
25
+ import { ApView as Z } from "./ap-view/index.mjs";
26
+ import { ApRadioGroup as $ } from "./ap-radio-group/index.mjs";
27
+ import { ApTransformDataHelper as po } from "../utils/ap-trans-data/index.mjs";
27
28
  export {
28
29
  k as ApAppendix,
29
30
  x as ApAttachment,
@@ -31,25 +32,26 @@ export {
31
32
  i as ApBatchActionGroup,
32
33
  l as ApButtonGroup,
33
34
  d as ApCard,
35
+ X as ApCopy,
34
36
  G as ApExpandAlert,
35
37
  h as ApExportGroup,
36
38
  F as ApExtensionSelect,
37
39
  J as ApGroupSearch,
38
40
  L as ApImage,
39
- B as ApInputRadio,
40
- T as ApLabel,
41
- y as ApLabelGroup,
42
- R as ApLadder,
41
+ y as ApInputRadio,
42
+ E as ApLabel,
43
+ T as ApLabelGroup,
44
+ P as ApLadder,
43
45
  K as ApPopoverSelect,
44
46
  U as ApProductInfo,
45
- Z as ApRadioGroup,
46
- v as ApSelectLayout,
47
+ $ as ApRadioGroup,
48
+ g as ApSelectLayout,
47
49
  O as ApSizeInput,
48
- z as ApStatus,
49
- C as ApStatusGroup,
50
+ w as ApStatus,
51
+ z as ApStatusGroup,
50
52
  V as ApSummary,
51
53
  A as ApTableModal,
52
54
  H as ApTitle,
53
- $ as ApTransformDataHelper,
54
- X as ApView
55
+ po as ApTransformDataHelper,
56
+ Z as ApView
55
57
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as I, computed as d, unref as o, createVNode as m, Fragment as W, watch as $, watchEffect as j, createElementBlock as C, openBlock as c, withModifiers as D, normalizeClass as z, normalizeStyle as M, createBlock as f, renderSlot as O, createCommentVNode as g, resolveDynamicComponent as S, createElementVNode as U } from "vue";
1
+ import { defineComponent as I, computed as d, unref as o, createVNode as m, Fragment as W, watch as $, watchEffect as j, openBlock as c, createElementBlock as C, normalizeStyle as D, normalizeClass as z, withModifiers as M, createBlock as f, renderSlot as O, resolveDynamicComponent as S, createCommentVNode as g, createElementVNode as U } from "vue";
2
2
  import { Skeleton as q } from "@aplus-frontend/antdv";
3
3
  import "../config-provider/index.mjs";
4
4
  import "../hooks/index.mjs";
@@ -115,9 +115,9 @@ const K = ["src"], oe = /* @__PURE__ */ I({
115
115
  return (b = (u = l.value) == null ? void 0 : u.cancelValue) == null ? void 0 : b.call(u, a.value);
116
116
  });
117
117
  }), (e, t) => (c(), C("div", {
118
- style: M(T.value),
118
+ style: D(T.value),
119
119
  class: z(w.value),
120
- onClick: D(F, ["stop"])
120
+ onClick: M(F, ["stop"])
121
121
  }, [n.value.loading ? (c(), f(o(q), {
122
122
  key: 0,
123
123
  active: ""
@@ -15,6 +15,7 @@ declare module '@vue/runtime-core' {
15
15
  ApLabelGroup: typeof components.ApLabelGroup;
16
16
  ApLadder: typeof components.ApLadder;
17
17
  ApProductInfo: typeof components.ApProductInfo;
18
+ ApCopy: typeof components.ApCopy;
18
19
  ApSelectLayout: typeof components.ApSelectLayout;
19
20
  ApStatus: typeof components.ApStatus;
20
21
  ApStatusGroup: typeof components.ApStatusGroup;
@@ -2,11 +2,7 @@ import { InjectionKey, Ref, ComputedRef } from 'vue';
2
2
  export declare const defaultNamespace = "aplus";
3
3
  export declare const namespaceContextKey: InjectionKey<Ref<string | undefined>>;
4
4
  export declare const useGetDerivedNamespace: (namespaceOverrides?: Ref<string | undefined>) => ComputedRef<string>;
5
- export declare const useNamespace: (
6
- /**
7
- * 块 一般是指组件名
8
- */
9
- block: string, namespaceOverrides?: Ref<string | undefined>) => {
5
+ export declare const useNamespace: (block: string, namespaceOverrides?: Ref<string | undefined>) => {
10
6
  namespace: ComputedRef<string>;
11
7
  b: (blockSuffix?: string) => string;
12
8
  e: (element?: string) => string;
@@ -1,5 +1,5 @@
1
1
  import { EditableColumnType, EditableTableFormItemExpose, EditableTableFormItemProps } from './interface';
2
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
2
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
3
  declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType> & Partial<{}>> & PublicProps;
5
5
  expose(exposed: ShallowUnwrapRef<EditableTableFormItemExpose>): void;
@@ -36,7 +36,9 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
36
36
  }) => void;
37
37
  };
38
38
  emit: {};
39
- }>) => VNode & {
39
+ }>) => VNode<RendererNode, RendererElement, {
40
+ [key: string]: any;
41
+ }> & {
40
42
  __ctx?: Awaited<typeof __VLS_setup>;
41
43
  };
42
44
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as G, ref as c, unref as s, useSlots as H, toRef as U, watch as W, nextTick as $, createBlock as q, openBlock as J, mergeProps as h, withCtx as w, createVNode as Q, createSlots as X, renderList as Y, renderSlot as Z, normalizeProps as I, guardReactiveProps as M } from "vue";
1
+ import { defineComponent as G, ref as c, unref as s, useSlots as H, toRef as U, watch as W, nextTick as $, openBlock as q, createBlock as J, mergeProps as h, withCtx as w, createVNode as Q, createSlots as X, renderList as Y, renderSlot as Z, normalizeProps as I, guardReactiveProps as M } from "vue";
2
2
  import { Table as ee } from "@aplus-frontend/antdv";
3
3
  import { ApForm as x } from "../ap-form/index.mjs";
4
4
  import { isArray as g, isUndefined as oe, isNumber as m, cloneDeep as te, omit as y } from "lodash-unified";
@@ -210,7 +210,7 @@ const ye = /* @__PURE__ */ G({
210
210
  setTableData: P,
211
211
  clear: O,
212
212
  removeByKey: k
213
- }), (e, a) => (J(), q(s(x).FormItem, h(e.formItem, {
213
+ }), (e, a) => (q(), J(s(x).FormItem, h(e.formItem, {
214
214
  name: e.name,
215
215
  label: e.label
216
216
  }), {