@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 q, useSlots as J, computed as f, unref as t, isVNode as Q, createVNode as T, Fragment as y, createElementBlock as k, createBlock as C, openBlock as d, createTextVNode as B, toDisplayString as P, resolveDynamicComponent as X, normalizeStyle as z, withCtx as D, createCommentVNode as ee, isRef as ne, renderList as A, mergeProps as oe, createSlots as te, renderSlot as ae, normalizeProps as re, guardReactiveProps as le } from "vue";
1
+ import { defineComponent as q, useSlots as J, computed as f, unref as t, isVNode as Q, createVNode as T, Fragment as y, openBlock as d, createElementBlock as k, createTextVNode as C, toDisplayString as B, createBlock as P, resolveDynamicComponent as X, normalizeStyle as z, withCtx as D, isRef as ee, renderList as A, createCommentVNode as ne, mergeProps as oe, createSlots as te, renderSlot as ae, normalizeProps as re, guardReactiveProps as le } from "vue";
2
2
  import { ApFieldDatePresetFormats as ue, PRESET_FORMAT_MAP as R, PRESET_FORMAT_PICK_MAP as de, PRESET_FORMAT_TIME_MAP as ie } from "../date/constant.mjs";
3
3
  import "../../hooks/index.mjs";
4
4
  import { isNil as F, omit as _, isString as h, isFunction as se } from "lodash-unified";
@@ -226,31 +226,31 @@ const Ee = /* @__PURE__ */ q({
226
226
  key: 0
227
227
  }, [S.value ? (d(), k(y, {
228
228
  key: 0
229
- }, [B(P((r = S.value[0]) == null ? void 0 : r.format(v.value)) + " ", 1), (d(), C(X(Z.value))), B(" " + P((l = S.value[1]) == null ? void 0 : l.format(v.value)), 1)], 64)) : (d(), k(y, {
229
+ }, [C(B((r = S.value[0]) == null ? void 0 : r.format(v.value)) + " ", 1), (d(), P(X(Z.value))), C(" " + B((l = S.value[1]) == null ? void 0 : l.format(v.value)), 1)], 64)) : (d(), k(y, {
230
230
  key: 1
231
- }, [B(P(e.emptyText), 1)], 64))], 64)) : (d(), C(t(fe), {
231
+ }, [C(B(e.emptyText), 1)], 64))], 64)) : (d(), P(t(fe), {
232
232
  key: 1,
233
233
  compact: "",
234
234
  style: z({
235
235
  display: Array.isArray(n.timezone) && n.timezone.length ? "flex" : "block"
236
236
  })
237
237
  }, {
238
- default: D(() => [Array.isArray(n.timezone) && n.timezone.length ? (d(), C(t(me), {
238
+ default: D(() => [Array.isArray(n.timezone) && n.timezone.length ? (d(), P(t(me), {
239
239
  key: 0,
240
240
  value: t(u),
241
- "onUpdate:value": a[0] || (a[0] = (o) => ne(u) ? u.value = o : null),
241
+ "onUpdate:value": a[0] || (a[0] = (o) => ee(u) ? u.value = o : null),
242
242
  "default-active-first-option": "",
243
243
  "dropdown-match-select-width": !1
244
244
  }, {
245
- default: D(() => [(d(!0), k(y, null, A(n.timezone, (o) => (d(), C(t(pe), {
245
+ default: D(() => [(d(!0), k(y, null, A(n.timezone, (o) => (d(), P(t(pe), {
246
246
  key: o == null ? void 0 : o.value,
247
247
  value: o == null ? void 0 : o.value
248
248
  }, {
249
- default: D(() => [B(P((o == null ? void 0 : o.label) ?? (o == null ? void 0 : o.value)), 1)]),
249
+ default: D(() => [C(B((o == null ? void 0 : o.label) ?? (o == null ? void 0 : o.value)), 1)]),
250
250
  _: 2
251
251
  }, 1032, ["value"]))), 128))]),
252
252
  _: 1
253
- }, 8, ["value"])) : ee("", !0), T(t(ce).RangePicker, oe($.value, {
253
+ }, 8, ["value"])) : ne("", !0), T(t(ce).RangePicker, oe($.value, {
254
254
  value: S.value,
255
255
  picker: K.value,
256
256
  format: I.value,
@@ -12,46 +12,46 @@ import "./segmented/index.vue2.mjs";
12
12
  import "./rate/index.vue2.mjs";
13
13
  import "./tree-select/index.vue2.mjs";
14
14
  import "./interface.mjs";
15
- import m from "./tree-select/index.vue.mjs";
16
- import e from "./rate/index.vue.mjs";
17
- import r from "./segmented/index.vue.mjs";
18
- import t from "./slider/index.vue.mjs";
19
- import o from "./switch/index.vue.mjs";
20
- import p from "./select/index.vue.mjs";
21
- import a from "./checkbox/index.vue.mjs";
22
- import f from "./radio/index.vue.mjs";
23
- import s from "./date-range/index.vue.mjs";
24
- import _ from "./date/index.vue.mjs";
25
- import c from "./number/index.vue.mjs";
26
- import d from "./text-area/index.vue.mjs";
15
+ import m from "./text-area/index.vue.mjs";
16
+ import e from "./number/index.vue.mjs";
17
+ import r from "./date/index.vue.mjs";
18
+ import t from "./date-range/index.vue.mjs";
19
+ import o from "./radio/index.vue.mjs";
20
+ import p from "./checkbox/index.vue.mjs";
21
+ import a from "./select/index.vue.mjs";
22
+ import f from "./switch/index.vue.mjs";
23
+ import s from "./slider/index.vue.mjs";
24
+ import _ from "./segmented/index.vue.mjs";
25
+ import c from "./rate/index.vue.mjs";
26
+ import d from "./tree-select/index.vue.mjs";
27
27
  const H = {
28
28
  Text: i,
29
- TextArea: d,
30
- Number: c,
31
- Date: _,
32
- DateRange: s,
33
- Radio: f,
34
- Checkbox: a,
35
- Select: p,
36
- Switch: o,
37
- Slider: t,
38
- Segmented: r,
39
- Rate: e,
40
- TreeSelect: m
29
+ TextArea: m,
30
+ Number: e,
31
+ Date: r,
32
+ DateRange: t,
33
+ Radio: o,
34
+ Checkbox: p,
35
+ Select: a,
36
+ Switch: f,
37
+ Slider: s,
38
+ Segmented: _,
39
+ Rate: c,
40
+ TreeSelect: d
41
41
  };
42
42
  export {
43
43
  H as ApField,
44
- a as ApFieldCheckbox,
45
- _ as ApFieldDate,
46
- s as ApFieldDateRange,
47
- c as ApFieldNumber,
48
- f as ApFieldRadio,
49
- e as ApFieldRate,
50
- r as ApFieldSegmented,
51
- p as ApFieldSelect,
52
- t as ApFieldSlider,
53
- o as ApFieldSwitch,
44
+ p as ApFieldCheckbox,
45
+ r as ApFieldDate,
46
+ t as ApFieldDateRange,
47
+ e as ApFieldNumber,
48
+ o as ApFieldRadio,
49
+ c as ApFieldRate,
50
+ _ as ApFieldSegmented,
51
+ a as ApFieldSelect,
52
+ s as ApFieldSlider,
53
+ f as ApFieldSwitch,
54
54
  i as ApFieldText,
55
- d as ApFieldTextArea,
56
- m as ApFieldTreeSelect
55
+ m as ApFieldTextArea,
56
+ d as ApFieldTreeSelect
57
57
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, ref as C, computed as N, unref as t, createElementBlock as n, createBlock as D, openBlock as r, Fragment as P, createCommentVNode as d, createElementVNode as V, normalizeClass as m, renderSlot as s, toDisplayString as $, mergeProps as R, createSlots as A, renderList as I, withCtx as U, normalizeProps as z, guardReactiveProps as E } from "vue";
1
+ import { defineComponent as x, ref as C, computed as N, unref as t, openBlock as r, createElementBlock as n, Fragment as D, normalizeClass as d, renderSlot as s, createCommentVNode as m, createElementVNode as P, toDisplayString as V, createBlock as $, mergeProps as R, createSlots as A, renderList as I, withCtx as U, normalizeProps as z, guardReactiveProps as E } from "vue";
2
2
  import { InputNumber as F } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
4
  import { isNil as M, omit as T } from "lodash-unified";
@@ -76,21 +76,21 @@ const te = /* @__PURE__ */ x({
76
76
  var e;
77
77
  (e = l.value) == null || e.blur();
78
78
  }
79
- return c({ focus: k, blur: g }), (e, a) => e.mode === "read" ? (r(), n(P, { key: 0 }, [
79
+ return c({ focus: k, blur: g }), (e, a) => e.mode === "read" ? (r(), n(D, { key: 0 }, [
80
80
  e.$slots.prefix ? (r(), n("span", {
81
81
  key: 0,
82
- class: m(t(i)("label-left"))
82
+ class: d(t(i)("label-left"))
83
83
  }, [
84
84
  s(e.$slots, "prefix")
85
- ], 2)) : d("", !0),
86
- V("span", null, $(h.value), 1),
85
+ ], 2)) : m("", !0),
86
+ P("span", null, V(h.value), 1),
87
87
  e.$slots.addonAfter ? (r(), n("span", {
88
88
  key: 1,
89
- class: m(t(i)("label-right"))
89
+ class: d(t(i)("label-right"))
90
90
  }, [
91
91
  s(e.$slots, "addonAfter")
92
- ], 2)) : d("", !0)
93
- ], 64)) : (r(), D(t(F), R({ key: 1 }, t(T)(o, ["value", "onUpdate:value"]), {
92
+ ], 2)) : m("", !0)
93
+ ], 64)) : (r(), $(t(F), R({ key: 1 }, t(T)(o, ["value", "onUpdate:value"]), {
94
94
  ref_key: "inputRef",
95
95
  ref: l,
96
96
  placeholder: t(B),
@@ -1,4 +1,4 @@
1
- import { defineComponent as q, ref as p, onMounted as C, computed as O, unref as o, createElementBlock as m, openBlock as l, Fragment as d, createTextVNode as R, toDisplayString as U, createBlock as f, mergeProps as h } from "vue";
1
+ import { defineComponent as q, ref as p, onMounted as C, computed as O, unref as o, openBlock as l, createElementBlock as m, Fragment as d, createTextVNode as R, toDisplayString as U, createBlock as f, mergeProps as h } from "vue";
2
2
  import { Spin as G, RadioGroup as N } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
4
  import { isNil as S, omit as z } from "lodash-unified";
@@ -1,4 +1,4 @@
1
- import { defineComponent as v, ref as b, useSlots as h, computed as y, createBlock as B, openBlock as C, unref as o, mergeProps as _, createSlots as x, withCtx as g, renderSlot as k } from "vue";
1
+ import { defineComponent as v, ref as b, useSlots as h, computed as y, openBlock as B, createBlock as C, unref as o, mergeProps as _, createSlots as x, withCtx as g, renderSlot as k } from "vue";
2
2
  import { omit as w } from "lodash-unified";
3
3
  import "../../hooks/index.mjs";
4
4
  import { Rate as R } from "@aplus-frontend/antdv";
@@ -44,7 +44,7 @@ const D = /* @__PURE__ */ v({
44
44
  return u({
45
45
  focus: p,
46
46
  blur: m
47
- }), (e, t) => (C(), B(o(R), _(o(w)(a, ["mode", "defaultValue"]), {
47
+ }), (e, t) => (B(), C(o(R), _(o(w)(a, ["mode", "defaultValue"]), {
48
48
  ref_key: "rateRef",
49
49
  ref: l,
50
50
  value: o(f),
@@ -1,4 +1,4 @@
1
- import { defineComponent as S, ref as B, useSlots as U, onMounted as V, computed as _, unref as l, createVNode as s, Fragment as a, createBlock as d, createElementBlock as h, openBlock as r, resolveDynamicComponent as N, mergeProps as q, withCtx as z, renderSlot as F, normalizeProps as P, guardReactiveProps as T } from "vue";
1
+ import { defineComponent as S, ref as B, useSlots as U, onMounted as V, computed as _, unref as l, createVNode as s, Fragment as a, openBlock as r, createBlock as d, createElementBlock as h, resolveDynamicComponent as N, mergeProps as q, withCtx as z, renderSlot as F, normalizeProps as P, guardReactiveProps as T } from "vue";
2
2
  import { Spin as O, Segmented as R } from "@aplus-frontend/antdv";
3
3
  import { isFunction as c, isUndefined as w, isString as A, isNumber as D, omit as E } from "lodash-unified";
4
4
  import "../../hooks/index.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as z, ref as B, onMounted as E, watch as U, computed as p, unref as a, createElementBlock as K, createBlock as H, openBlock as C, toDisplayString as $, mergeProps as j, createSlots as W, renderList as Y, withCtx as F, renderSlot as G, normalizeProps as J, guardReactiveProps as Q, createVNode as X } from "vue";
1
+ import { defineComponent as z, ref as B, onMounted as E, watch as U, computed as p, unref as a, openBlock as C, createElementBlock as K, toDisplayString as H, createBlock as $, mergeProps as j, createSlots as W, renderList as Y, withCtx as F, renderSlot as G, normalizeProps as J, guardReactiveProps as Q, createVNode as X } from "vue";
2
2
  import { debounce as Z, isFunction as b, isArray as ee, isNil as te, omit as oe } from "lodash-unified";
3
3
  import { Select as le, Spin as ae } from "@aplus-frontend/antdv";
4
4
  import "../../hooks/index.mjs";
@@ -220,7 +220,7 @@ const ie = { key: 0 }, he = /* @__PURE__ */ z({
220
220
  focus: M,
221
221
  blur: D,
222
222
  request: d
223
- }), (t, o) => t.mode === "read" ? (C(), K("span", ie, $(L.value), 1)) : (C(), H(a(le), j({
223
+ }), (t, o) => t.mode === "read" ? (C(), K("span", ie, H(L.value), 1)) : (C(), $(a(le), j({
224
224
  key: 1,
225
225
  ref_key: "selectRef",
226
226
  ref: v,
@@ -6,13 +6,13 @@ export declare const useSelectOptions: (props: ApFieldSelectProps) => {
6
6
  options: Ref<{
7
7
  [x: string]: any;
8
8
  label?: any;
9
- value?: string | number | null | undefined;
9
+ value?: (string | number | null) | undefined;
10
10
  children?: Omit<DefaultOptionType, "children">[] | undefined;
11
11
  disabled?: boolean | undefined;
12
12
  }[], DefaultOptionType[] | {
13
13
  [x: string]: any;
14
14
  label?: any;
15
- value?: string | number | null | undefined;
15
+ value?: (string | number | null) | undefined;
16
16
  children?: Omit<DefaultOptionType, "children">[] | undefined;
17
17
  disabled?: boolean | undefined;
18
18
  }[]>;
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, useSlots as g, ref as k, computed as C, unref as o, createElementBlock as S, createBlock as _, openBlock as u, Fragment as P, createTextVNode as T, toDisplayString as V, mergeProps as b, createSlots as h, renderList as F, withCtx as R, renderSlot as U, normalizeProps as A, guardReactiveProps as $ } from "vue";
1
+ import { defineComponent as x, useSlots as g, ref as k, computed as C, unref as o, openBlock as u, createElementBlock as S, Fragment as _, createTextVNode as P, toDisplayString as T, createBlock as V, mergeProps as b, createSlots as h, renderList as F, withCtx as R, renderSlot as U, normalizeProps as A, guardReactiveProps as $ } from "vue";
2
2
  import { Slider as N } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
4
  import { isNil as w, isArray as z, omit as D } from "lodash-unified";
@@ -57,9 +57,9 @@ const I = /* @__PURE__ */ x({
57
57
  return p({
58
58
  focus: v,
59
59
  blur: y
60
- }), (e, t) => e.mode === "read" ? (u(), S(P, { key: 0 }, [
61
- T(V(c.value), 1)
62
- ], 64)) : (u(), _(o(N), b(
60
+ }), (e, t) => e.mode === "read" ? (u(), S(_, { key: 0 }, [
61
+ P(T(c.value), 1)
62
+ ], 64)) : (u(), V(o(N), b(
63
63
  { key: 1 },
64
64
  o(D)(a, [
65
65
  "value",
@@ -1,4 +1,4 @@
1
- import { defineComponent as z, useSlots as D, ref as T, unref as o, computed as g, createVNode as s, Fragment as f, createBlock as k, createElementBlock as E, openBlock as h, resolveDynamicComponent as K, mergeProps as p, createSlots as v, renderList as V, withCtx as C, renderSlot as B, normalizeProps as b, guardReactiveProps as w } from "vue";
1
+ import { defineComponent as z, useSlots as D, ref as T, unref as o, computed as g, createVNode as s, Fragment as f, openBlock as h, createBlock as k, resolveDynamicComponent as E, createElementBlock as K, mergeProps as p, createSlots as v, renderList as V, withCtx as C, renderSlot as B, normalizeProps as b, guardReactiveProps as w } from "vue";
2
2
  import { Switch as A, Popconfirm as L } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
4
  import { isNil as M, isFunction as R, omit as P } from "lodash-unified";
@@ -86,9 +86,9 @@ const O = /* @__PURE__ */ z({
86
86
  const n = o(d);
87
87
  return M(n) ? s(f, null, [e.emptyText]) : n === e.checkedValue ? s(f, null, [e.checkedChildren || ((i = c.checkedChildren) == null ? void 0 : i.call(c)) || `${e.checkedValue}`]) : s(f, null, [e.unCheckedChildren || ((t = c.unCheckedChildren) == null ? void 0 : t.call(c)) || `${e.unCheckedValue}`]);
88
88
  }), U = g(() => r(e.confirm) ? R(e.confirm) ? e.confirm(o(d)) : e.confirm : {});
89
- return (n, u) => n.mode === "read" ? (h(), k(K($.value), {
89
+ return (n, u) => n.mode === "read" ? (h(), k(E($.value), {
90
90
  key: 0
91
- })) : (h(), E(f, {
91
+ })) : (h(), K(f, {
92
92
  key: 1
93
93
  }, [!o(r)(n.confirm) || n.disabled ? (h(), k(o(A), p({
94
94
  key: 0
@@ -1,4 +1,4 @@
1
- import { isVNode as g, defineComponent as I, ref as C, useSlots as S, computed as _, createVNode as s, mergeProps as R, unref as p, createBlock as V, openBlock as w, resolveDynamicComponent as T } from "vue";
1
+ import { isVNode as g, defineComponent as I, ref as C, useSlots as S, computed as _, createVNode as s, mergeProps as R, unref as p, openBlock as V, createBlock as w, resolveDynamicComponent as T } from "vue";
2
2
  import { Input as j } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
4
  import { omit as U } from "lodash-unified";
@@ -139,7 +139,7 @@ const G = /* @__PURE__ */ I({
139
139
  default: () => [t]
140
140
  }) : s("span", null, [o.prefix || ((e = t == null ? void 0 : t.prefix) == null ? void 0 : e.call(t)), p(i) || o.emptyText, o.suffix || ((n = t == null ? void 0 : t.suffix) == null ? void 0 : n.call(t))]);
141
141
  }
142
- return (e, n) => (w(), V(T(h())));
142
+ return (e, n) => (V(), w(T(h())));
143
143
  }
144
144
  });
145
145
  export {
@@ -1,4 +1,4 @@
1
- import { isVNode as x, defineComponent as h, ref as C, useSlots as g, unref as i, createVNode as o, mergeProps as w, Fragment as P, createBlock as U, openBlock as V, resolveDynamicComponent as _ } from "vue";
1
+ import { isVNode as x, defineComponent as h, ref as C, useSlots as g, unref as i, createVNode as o, mergeProps as w, Fragment as P, openBlock as U, createBlock as V, resolveDynamicComponent as _ } from "vue";
2
2
  import { Input as S, Space as T } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
4
  import { omit as I } from "lodash-unified";
@@ -152,7 +152,7 @@ const G = /* @__PURE__ */ h({
152
152
  }, [n ? o(O, null, null) : o(j, null, null)])]
153
153
  })), p;
154
154
  }
155
- return (e, n) => (V(), U(_(B())));
155
+ return (e, n) => (U(), V(_(B())));
156
156
  }
157
157
  });
158
158
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as h, ref as I, computed as A, createElementBlock as C, createBlock as g, openBlock as d, normalizeClass as z, unref as t, toDisplayString as T, mergeProps as k } from "vue";
1
+ import { defineComponent as h, ref as I, computed as A, openBlock as d, createElementBlock as C, normalizeClass as g, unref as t, toDisplayString as z, createBlock as T, mergeProps as k } from "vue";
2
2
  import { isNil as w, omit as R } from "lodash-unified";
3
3
  import "../../hooks/index.mjs";
4
4
  import "../../config-provider/index.mjs";
@@ -82,8 +82,8 @@ const O = /* @__PURE__ */ h({
82
82
  })
83
83
  }), (e, a) => e.mode === "read" ? (d(), C("span", {
84
84
  key: 0,
85
- class: z(t(v)())
86
- }, T(t(w)(t(n)) || t(n) === "" ? e.emptyText : t(n)), 3)) : (d(), g(t(_).TextArea, k({ key: 1 }, t(R)(o, ["onUpdate:value", "value", "beforeInput"]), {
85
+ class: g(t(v)())
86
+ }, z(t(w)(t(n)) || t(n) === "" ? e.emptyText : t(n)), 3)) : (d(), T(t(_).TextArea, k({ key: 1 }, t(R)(o, ["onUpdate:value", "value", "beforeInput"]), {
87
87
  ref_key: "textAreaRef",
88
88
  ref: l,
89
89
  placeholder: t(B),
@@ -1,4 +1,4 @@
1
- import { isVNode as E, defineComponent as F, useSlots as K, ref as U, computed as z, unref as o, createVNode as d, Fragment as S, createBlock as w, openBlock as C, resolveDynamicComponent as M, mergeProps as j, createSlots as q, renderList as O, withCtx as x, renderSlot as $, normalizeProps as H, guardReactiveProps as W } from "vue";
1
+ import { isVNode as E, defineComponent as F, useSlots as K, ref as U, computed as z, unref as o, createVNode as d, Fragment as S, openBlock as w, createBlock as C, resolveDynamicComponent as M, mergeProps as j, createSlots as q, renderList as O, withCtx as x, renderSlot as $, normalizeProps as H, guardReactiveProps as W } from "vue";
2
2
  import { Space as G, Tag as J, TreeSelect as Q, Spin as X } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
4
  import { isArray as Y, omit as Z } from "lodash-unified";
@@ -220,9 +220,9 @@ const ie = /* @__PURE__ */ F({
220
220
  request: h,
221
221
  focus: P,
222
222
  blur: L
223
- }), (e, t) => e.mode === "read" ? (C(), w(M(I.value), {
223
+ }), (e, t) => e.mode === "read" ? (w(), C(M(I.value), {
224
224
  key: 0
225
- })) : (C(), w(o(Q), j({
225
+ })) : (w(), C(o(Q), j({
226
226
  key: 1
227
227
  }, o(Z)(a, ["onUpdate:value", "value", "treeData", "loadData"]), {
228
228
  ref_key: "treeSelectRef",
@@ -8,14 +8,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
8
8
  disabled?: boolean | undefined;
9
9
  checkable?: boolean | undefined;
10
10
  disableCheckbox?: boolean | undefined;
11
- children?: /*elided*/ any[] | undefined;
11
+ children?: any[] | undefined;
12
12
  } | {
13
13
  [x: string]: any;
14
14
  value?: RawValueType | undefined;
15
15
  title?: any;
16
16
  label?: any;
17
17
  key?: Key | undefined;
18
- children?: /*elided*/ any[] | undefined;
18
+ children?: any[] | undefined;
19
19
  disabled?: boolean | undefined;
20
20
  checkable?: boolean | undefined;
21
21
  disableCheckbox?: boolean | undefined;
@@ -24,14 +24,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
24
24
  disabled?: boolean | undefined;
25
25
  checkable?: boolean | undefined;
26
26
  disableCheckbox?: boolean | undefined;
27
- children?: /*elided*/ any[] | undefined;
27
+ children?: any[] | undefined;
28
28
  } | {
29
29
  [x: string]: any;
30
30
  value?: RawValueType | undefined;
31
31
  title?: any;
32
32
  label?: any;
33
33
  key?: Key | undefined;
34
- children?: /*elided*/ any[] | undefined;
34
+ children?: any[] | undefined;
35
35
  disabled?: boolean | undefined;
36
36
  checkable?: boolean | undefined;
37
37
  disableCheckbox?: boolean | undefined;
@@ -1,5 +1,5 @@
1
1
  import { ApFormProps, UpdateModelOptimizeFn, WatchFunc, ApFormInternalInstance } from './interface';
2
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
2
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, RuleObject, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
3
3
  import { Recordable } from '../type';
4
4
  import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
5
5
  import { VueTypeDef, VueTypeValidableDef } from '../../node_modules/vue-types';
@@ -7,6 +7,7 @@ import { ColSize } from '@aplus-frontend/antdv/es/grid';
7
7
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
8
8
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
9
9
  import { Options } from '../../node_modules/scroll-into-view-if-needed';
10
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
10
11
  import { SizeType } from '@aplus-frontend/antdv/es/button';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  declare function __VLS_template(): {
@@ -1,4 +1,4 @@
1
- import { defineComponent as Q, reactive as X, ref as E, unref as p, nextTick as Y, toRaw as _, watch as Z, onWatcherCleanup as z, computed as ee, createBlock as te, openBlock as re, mergeProps as le, withCtx as oe, renderSlot as se } from "vue";
1
+ import { defineComponent as Q, ref as E, reactive as X, unref as p, nextTick as Y, toRaw as _, watch as Z, onWatcherCleanup as z, computed as ee, openBlock as te, createBlock as re, mergeProps as le, withCtx as oe, renderSlot as se } from "vue";
2
2
  import { Form as ne } from "@aplus-frontend/antdv";
3
3
  import { useProvideForm as ie } from "./context.mjs";
4
4
  import { isArray as f, cloneDeep as ae, isFunction as B, isPlainObject as M, omit as ue } from "lodash-unified";
@@ -219,7 +219,7 @@ const Re = /* @__PURE__ */ Q({
219
219
  registerField: j,
220
220
  setFieldValue: U
221
221
  }
222
- }), N(x), (e, t) => (re(), te(p(ne), le({
222
+ }), N(x), (e, t) => (te(), re(p(ne), le({
223
223
  ref_key: "formRef",
224
224
  ref: u
225
225
  }, p(ue)(l, ["initialValues", "onValuesChange", "onFinish"]), {
@@ -1,37 +1,42 @@
1
- import { defineComponent as p, ref as m, watchEffect as y, unref as _, renderSlot as g } from "vue";
2
- import { useInjectForm as h } from "../context.mjs";
3
- import { isArray as V, isNumber as d, cloneDeep as b } from "lodash-unified";
4
- const A = /* @__PURE__ */ p({
1
+ import { defineComponent as m, ref as _, watchEffect as g, unref as h, renderSlot as y } from "vue";
2
+ import { useInjectForm as V } from "../context.mjs";
3
+ import { isArray as d, isNumber as x, cloneDeep as b } from "lodash-unified";
4
+ const k = /* @__PURE__ */ m({
5
5
  __name: "index",
6
6
  props: {
7
7
  nameList: {}
8
8
  },
9
- setup(u) {
10
- function a(t, s) {
11
- return V(s) ? s.reduce((o, e) => o == null ? void 0 : o[e], t) : t == null ? void 0 : t[s];
9
+ setup(c) {
10
+ function f(t, n) {
11
+ return d(n) ? n.reduce((o, e) => o == null ? void 0 : o[e], t) : t == null ? void 0 : t[n];
12
12
  }
13
- const c = u, {
14
- model: i
15
- } = h(), f = m({});
16
- function l(t, s, o) {
17
- let e = s;
18
- for (let r = 0; r < t.length; r++) {
19
- const n = t[r];
20
- r === t.length - 1 ? e[n] = o : (d(n) ? (Array.isArray(e) || (e[n] = []), e[n] || (e[n] = {})) : (typeof e[n] != "object" || e[n] === null) && (e[n] = {}), e = e[n]);
13
+ const a = c, {
14
+ model: l
15
+ } = V(), r = _({});
16
+ function i(t, n, o) {
17
+ let e = n;
18
+ for (let s = 0; s < t.length; s++) {
19
+ const u = t[s];
20
+ if (s === t.length - 1)
21
+ e[u] = o;
22
+ else {
23
+ const p = t[s + 1];
24
+ (typeof e[u] != "object" || e[u] === null) && (e[u] = x(p) ? [] : {}), e = e[u];
25
+ }
21
26
  }
22
27
  }
23
- return y(() => {
24
- const t = b(f.value);
25
- for (const s of c.nameList) {
26
- const o = [s].flat(1), e = a(_(i), o);
27
- l(o, t, e);
28
+ return g(() => {
29
+ const t = b(r.value);
30
+ for (const n of a.nameList) {
31
+ const o = [n].flat(1), e = f(h(l), o);
32
+ i(o, t, e);
28
33
  }
29
- f.value = t;
30
- }), (t, s) => g(t.$slots, "default", {
31
- values: f.value
34
+ r.value = t;
35
+ }), (t, n) => y(t.$slots, "default", {
36
+ values: r.value
32
37
  });
33
38
  }
34
39
  });
35
40
  export {
36
- A as default
41
+ k as default
37
42
  };
@@ -1,6 +1,6 @@
1
1
  import { ApFormDrawerFormProps, CustomizeResizeType } from '../interface';
2
2
  import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
3
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
3
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
4
4
  import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
5
5
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
6
6
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
@@ -8,6 +8,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, ApFormSubmitterConfig } from '..';
13
14
  import { OnCleanup } from '@vue/reactivity';
@@ -117,7 +118,7 @@ declare function __VLS_template(): {
117
118
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
118
119
  readonly initialValues?: Recordable | undefined;
119
120
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
120
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
121
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
121
122
  readonly syncToUrlPriority?: boolean | undefined;
122
123
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
123
124
  $attrs: {
@@ -1059,7 +1060,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
1059
1060
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
1060
1061
  readonly initialValues?: Recordable | undefined;
1061
1062
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1062
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1063
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1063
1064
  readonly syncToUrlPriority?: boolean | undefined;
1064
1065
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1065
1066
  $attrs: {
@@ -1,4 +1,4 @@
1
- import { isVNode as K, defineComponent as Q, useSlots as Y, ref as v, computed as w, unref as l, watch as P, cloneVNode as Z, createVNode as d, mergeProps as b, createElementBlock as N, openBlock as y, Fragment as ee, createBlock as M, createCommentVNode as S, withCtx as g, renderSlot as _, withModifiers as te, normalizeClass as ie, resolveDynamicComponent as L, createTextVNode as ne, toDisplayString as oe } from "vue";
1
+ import { isVNode as K, defineComponent as Q, useSlots as Y, ref as v, computed as w, unref as l, watch as P, cloneVNode as Z, createVNode as d, mergeProps as b, openBlock as y, createElementBlock as N, Fragment as ee, withCtx as g, renderSlot as M, createTextVNode as te, toDisplayString as ie, createBlock as S, resolveDynamicComponent as _, normalizeClass as ne, withModifiers as oe, createCommentVNode as L } from "vue";
2
2
  import { Button as V, Flex as le, Space as ae, Drawer as se } from "@aplus-frontend/antdv";
3
3
  import "../ap-form.vue.mjs";
4
4
  import "../../hooks/index.mjs";
@@ -274,23 +274,23 @@ const je = /* @__PURE__ */ Q({
274
274
  "onUpdate:open": H,
275
275
  onCancel: R
276
276
  }), {
277
- title: g(() => [_(e.$slots, "title", {}, () => [ne(oe(n.title), 1)])]),
278
- footer: g(() => [(y(), M(L(I.value)))]),
277
+ title: g(() => [M(e.$slots, "title", {}, () => [te(ie(n.title), 1)])]),
278
+ footer: g(() => [(y(), S(_(I.value)))]),
279
279
  default: g(() => [d(ve, b({
280
280
  ref_key: "formRef",
281
281
  ref: a
282
282
  }, l(ce)(n, ["drawerProps", "open", "onUpdate:open", "title", "width", "onFinish", "submitter"])), {
283
- default: g(() => [_(e.$slots, "default")]),
283
+ default: g(() => [M(e.$slots, "default")]),
284
284
  _: 3
285
285
  }, 16), e.resize ? (y(), N("div", {
286
286
  key: 0,
287
- class: ie(q.value),
288
- onMousedown: te(A, ["stop", "prevent"])
289
- }, null, 34)) : S("", !0)]),
287
+ class: ne(q.value),
288
+ onMousedown: oe(A, ["stop", "prevent"])
289
+ }, null, 34)) : L("", !0)]),
290
290
  _: 3
291
- }, 16, ["open", "width"]), l(x) ? (y(), M(L(l(x)), {
291
+ }, 16, ["open", "width"]), l(x) ? (y(), S(_(l(x)), {
292
292
  key: 0
293
- })) : S("", !0)], 64));
293
+ })) : L("", !0)], 64));
294
294
  }
295
295
  });
296
296
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as D, useSlots as $, ref as f, onMounted as j, computed as F, unref as l, watch as q, cloneVNode as E, createBlock as g, openBlock as h, mergeProps as K, createSlots as O, withCtx as i, createCommentVNode as Q, resolveDynamicComponent as U, renderList as G, createElementVNode as H, normalizeClass as J, createVNode as p, normalizeStyle as M, renderSlot as W, normalizeProps as X, guardReactiveProps as Y } from "vue";
1
+ import { defineComponent as D, useSlots as $, ref as f, onMounted as j, computed as F, unref as l, watch as q, cloneVNode as E, openBlock as g, createBlock as h, mergeProps as K, createSlots as O, withCtx as i, resolveDynamicComponent as Q, createCommentVNode as U, createElementVNode as G, normalizeClass as H, createVNode as p, normalizeStyle as J, renderList as M, renderSlot as W, normalizeProps as X, guardReactiveProps as Y } from "vue";
2
2
  import { Form as Z, Tooltip as ee, TypographyText as oe } from "@aplus-frontend/antdv";
3
3
  import { useToken as le } from "@aplus-frontend/antdv/es/theme/internal";
4
4
  import { isFunction as B, cloneDeep as te, isArray as re, omit as C } from "lodash-unified";
@@ -125,7 +125,7 @@ const Ce = /* @__PURE__ */ D({
125
125
  clearValidate: A,
126
126
  resetField: L,
127
127
  getFieldValue: R
128
- }), (e, t) => (h(), g(l(Z).Item, K(
128
+ }), (e, t) => (g(), h(l(Z).Item, K(
129
129
  {
130
130
  ref_key: "formItemRef",
131
131
  ref: n
@@ -141,22 +141,22 @@ const Ce = /* @__PURE__ */ D({
141
141
  }
142
142
  ), O({
143
143
  default: i(() => [
144
- V.value ? (h(), g(U(V.value), { key: 0 })) : Q("", !0)
144
+ V.value ? (g(), h(Q(V.value), { key: 0 })) : U("", !0)
145
145
  ]),
146
146
  _: 2
147
147
  }, [
148
148
  o.tooltip ? {
149
149
  name: "tooltip",
150
150
  fn: i(({ class: r }) => [
151
- H("span", {
152
- class: J(r)
151
+ G("span", {
152
+ class: H(r)
153
153
  }, [
154
154
  p(l(ee), {
155
155
  title: o.tooltip
156
156
  }, {
157
157
  default: i(() => [
158
158
  p(l(ne), {
159
- style: M({ color: l(P).colorTextTertiary })
159
+ style: J({ color: l(P).colorTextTertiary })
160
160
  }, null, 8, ["style"])
161
161
  ]),
162
162
  _: 1
@@ -176,7 +176,7 @@ const Ce = /* @__PURE__ */ D({
176
176
  ]),
177
177
  key: "1"
178
178
  } : void 0,
179
- G(l(C)(a, "default"), (r, b) => ({
179
+ M(l(C)(a, "default"), (r, b) => ({
180
180
  name: b,
181
181
  fn: i((_) => [
182
182
  W(e.$slots, b, X(Y(_ || {})))
@@ -1,4 +1,4 @@
1
- import { isVNode as C, defineComponent as h, useSlots as w, onBeforeUpdate as k, shallowRef as _, watch as B, computed as P, unref as r, createVNode as R, mergeProps as u, createBlock as d, openBlock as s, withCtx as S, createElementBlock as b, Fragment as x, renderList as N, resolveDynamicComponent as j } from "vue";
1
+ import { isVNode as C, defineComponent as h, useSlots as w, onBeforeUpdate as k, watch as _, shallowRef as B, computed as P, unref as r, createVNode as R, mergeProps as u, openBlock as s, createBlock as d, withCtx as S, createElementBlock as b, Fragment as x, renderList as N, resolveDynamicComponent as j } from "vue";
2
2
  import { Col as v, Row as F } from "@aplus-frontend/antdv";
3
3
  import { pick as D, isBoolean as I, omit as O } from "lodash-unified";
4
4
  import { apFormItemColPropKeys as V } from "../constant.mjs";
@@ -33,10 +33,10 @@ const T = /* @__PURE__ */ h({
33
33
  } = G("ap-form-item-group"), i = t, a = w();
34
34
  k(() => {
35
35
  p.value = l(a.default());
36
- }), B(() => a.default(), (o) => {
36
+ }), _(() => a.default(), (o) => {
37
37
  p.value = l(o);
38
38
  });
39
- const p = _(l(a.default())), f = P(() => r(p).map((o, m) => {
39
+ const p = B(l(a.default())), f = P(() => r(p).map((o, m) => {
40
40
  const e = o.props, n = D(e, V), g = n != null && n.span ? {} : $(i.countPerRow), y = I(e.hidden) ? !!e.hidden : E(e.hidden);
41
41
  return {
42
42
  key: `${m}-${A(e.name)}`,