@aplus-frontend/ui 0.2.0-beta.5 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (383) hide show
  1. package/es/index.mjs +1 -1
  2. package/es/src/ap-action/group/index.vue.d.ts +1 -1
  3. package/es/src/ap-action/group/index.vue.mjs +1 -1
  4. package/es/src/ap-action/interface.d.ts +1 -1
  5. package/es/src/ap-action/item/index.vue2.mjs +1 -1
  6. package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
  7. package/es/src/ap-action/item-dropdown/index.vue.mjs +1 -1
  8. package/es/src/ap-action/item-modal/index.vue.d.ts +1 -1
  9. package/es/src/ap-action/item-modal/index.vue.mjs +1 -1
  10. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +8 -8
  11. package/es/src/ap-action/item-popconfirm/index.vue.mjs +1 -1
  12. package/es/src/ap-button/ap-action-button.vue.d.ts +1 -1
  13. package/es/src/ap-button/ap-action-button.vue.mjs +1 -0
  14. package/es/src/ap-button/ap-button.vue.d.ts +4 -1
  15. package/es/src/ap-button/ap-button.vue.mjs +47 -66
  16. package/es/src/ap-button/interface.d.ts +2 -1
  17. package/es/src/ap-button/utils/index.d.ts +3 -0
  18. package/es/src/ap-button/utils/index.mjs +33 -0
  19. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +1 -1
  20. package/es/src/ap-descriptions/help-message/index.vue.d.ts +2 -2
  21. package/es/src/ap-descriptions/help-message/index.vue2.mjs +1 -1
  22. package/es/src/ap-descriptions/interface.d.ts +2 -2
  23. package/es/src/ap-download/ap-download.vue.d.ts +1 -1
  24. package/es/src/ap-download/ap-download.vue.mjs +1 -1
  25. package/es/src/ap-download/interface.d.ts +1 -1
  26. package/es/src/ap-field/checkbox/helper.d.ts +3 -3
  27. package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
  28. package/es/src/ap-field/checkbox/index.vue.mjs +24 -23
  29. package/es/src/ap-field/date/constant.d.ts +1 -1
  30. package/es/src/ap-field/date/helper.d.ts +1 -1
  31. package/es/src/ap-field/date/index.vue.d.ts +1 -1
  32. package/es/src/ap-field/date/index.vue.mjs +1 -1
  33. package/es/src/ap-field/date-range/index.vue.mjs +1 -1
  34. package/es/src/ap-field/hooks/use-options.d.ts +8 -0
  35. package/es/src/ap-field/hooks/use-options.mjs +22 -0
  36. package/es/src/ap-field/interface.d.ts +5 -5
  37. package/es/src/ap-field/number/index.vue.d.ts +4 -4
  38. package/es/src/ap-field/number/index.vue.mjs +1 -1
  39. package/es/src/ap-field/radio/helper.d.ts +1 -1
  40. package/es/src/ap-field/radio/index.vue.mjs +26 -25
  41. package/es/src/ap-field/rate/index.vue.d.ts +3 -3
  42. package/es/src/ap-field/rate/index.vue.mjs +1 -1
  43. package/es/src/ap-field/segmented/index.vue.mjs +37 -33
  44. package/es/src/ap-field/select/index.vue.d.ts +6 -6
  45. package/es/src/ap-field/select/index.vue.mjs +74 -73
  46. package/es/src/ap-field/slider/index.vue.d.ts +4 -4
  47. package/es/src/ap-field/slider/index.vue.mjs +1 -1
  48. package/es/src/ap-field/switch/index.vue.mjs +1 -1
  49. package/es/src/ap-field/text/index.vue.d.ts +1 -1
  50. package/es/src/ap-field/text/index.vue2.mjs +1 -1
  51. package/es/src/ap-field/text/input-password-props.d.ts +1 -1
  52. package/es/src/ap-field/text/password.vue.mjs +1 -1
  53. package/es/src/ap-field/text-area/index.vue.d.ts +1 -1
  54. package/es/src/ap-field/text-area/index.vue.mjs +1 -1
  55. package/es/src/ap-form/ap-form.vue.d.ts +7 -7
  56. package/es/src/ap-form/ap-form.vue2.mjs +1 -1
  57. package/es/src/ap-form/context.d.ts +1 -1
  58. package/es/src/ap-form/drawer-form/index.vue.d.ts +6 -6
  59. package/es/src/ap-form/drawer-form/index.vue.mjs +1 -1
  60. package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
  61. package/es/src/ap-form/interface.d.ts +3 -3
  62. package/es/src/ap-form/item/index.vue.d.ts +4 -4
  63. package/es/src/ap-form/item/index.vue.mjs +2 -2
  64. package/es/src/ap-form/item-group/index.vue.d.ts +2 -2
  65. package/es/src/ap-form/item-group/index.vue.mjs +1 -1
  66. package/es/src/ap-form/items/interface.d.ts +1 -1
  67. package/es/src/ap-form/items/number/index.vue.d.ts +2 -2
  68. package/es/src/ap-form/items/radio/index.vue.d.ts +3 -3
  69. package/es/src/ap-form/items/text/group.vue2.mjs +1 -1
  70. package/es/src/ap-form/items/text/index.vue.d.ts +3 -3
  71. package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
  72. package/es/src/ap-form/items/text-area/index.vue.d.ts +4 -4
  73. package/es/src/ap-form/modal-form/index.vue.d.ts +8 -8
  74. package/es/src/ap-form/modal-form/index.vue.mjs +1 -1
  75. package/es/src/ap-form/search-form/index.vue.d.ts +4 -4
  76. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  77. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
  78. package/es/src/ap-list/index.vue.mjs +1 -1
  79. package/es/src/ap-modal/index.d.ts +1 -1
  80. package/es/src/ap-modal/index.mjs +1 -1
  81. package/es/src/ap-modal/interface.d.ts +1 -1
  82. package/es/src/ap-modal/utils/createModal.mjs +1 -1
  83. package/es/src/ap-table/ap-table.vue.d.ts +1 -1
  84. package/es/src/ap-table/ap-table.vue.mjs +2 -428
  85. package/es/src/ap-table/ap-table.vue2.mjs +428 -2
  86. package/es/src/ap-table/components/setting/modal/index.vue.d.ts +16 -1
  87. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +23 -21
  88. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  89. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  90. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +1 -1
  91. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  92. package/es/src/ap-table/components/setting/utils.d.ts +1 -1
  93. package/es/src/ap-table/components/status/index.vue2.mjs +1 -1
  94. package/es/src/ap-table/constants.d.ts +30 -30
  95. package/es/src/ap-table/context.d.ts +1 -1
  96. package/es/src/ap-table/hooks/use-table-column-state.mjs +75 -71
  97. package/es/src/ap-table/hooks/use-table-paging.d.ts +3 -3
  98. package/es/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
  99. package/es/src/ap-table/index.d.ts +6 -1
  100. package/es/src/ap-table/index.mjs +9 -3
  101. package/es/src/ap-table/interface.d.ts +3 -3
  102. package/es/src/ap-table/utils.d.ts +8 -7
  103. package/es/src/ap-table/utils.mjs +1 -1
  104. package/es/src/ap-tag/ap-tag-group.vue.mjs +1 -1
  105. package/es/src/ap-tag/interface.d.ts +1 -1
  106. package/es/src/ap-upload/apUpload.vue.mjs +1 -1
  107. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +1 -1
  108. package/es/src/ap-upload/components/Picture.vue2.mjs +1 -1
  109. package/es/src/ap-upload/components/SingleFile.vue2.mjs +1 -1
  110. package/es/src/business/ap-attachment/ApAttachment.d.ts +1 -1
  111. package/es/src/business/ap-attachment/ApAttachment.mjs +1 -1
  112. package/es/src/business/ap-attachment/index.d.ts +1 -1
  113. package/es/src/business/ap-attachment/interface.d.ts +1 -1
  114. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +8 -3
  115. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +42 -29
  116. package/es/src/business/ap-batch-action/index.d.ts +8 -3
  117. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +14 -13
  118. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  119. package/es/src/business/ap-batch-action-group/index.d.ts +12 -8
  120. package/es/src/business/ap-batch-action-group/interface.d.ts +2 -2
  121. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  122. package/es/src/business/ap-button-group/index.d.ts +13 -5
  123. package/es/src/business/ap-button-group/interface.d.ts +1 -1
  124. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +1 -1
  125. package/es/src/business/ap-expand-alert/interface.d.ts +1 -1
  126. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +42 -40
  127. package/es/src/business/ap-export-group/handleExportDownload.mjs +1 -1
  128. package/es/src/business/ap-export-group/interface.d.ts +1 -1
  129. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  130. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +1 -1
  131. package/es/src/business/ap-input-radio/index.d.ts +2 -2
  132. package/es/src/business/ap-input-radio/interface.d.ts +1 -1
  133. package/es/src/business/ap-label/ApLabel.d.ts +2 -2
  134. package/es/src/business/ap-label/ApLabel.mjs +1 -1
  135. package/es/src/business/ap-label/constans.d.ts +2 -2
  136. package/es/src/business/ap-label/constans.mjs +1 -1
  137. package/es/src/business/ap-label/group/ApLabelGroup.mjs +1 -1
  138. package/es/src/business/ap-label/index.d.ts +2 -2
  139. package/es/src/business/ap-label/interface.d.ts +3 -3
  140. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +5 -5
  141. package/es/src/business/ap-ladder/ApLadder.vue2.mjs +1 -1
  142. package/es/src/business/ap-ladder/index.d.ts +5 -5
  143. package/es/src/business/ap-ladder/interface.d.ts +1 -1
  144. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +1 -1
  145. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  146. package/es/src/business/ap-summary/interface.d.ts +2 -2
  147. package/es/src/business/ap-summary/utils.d.ts +1 -1
  148. package/es/src/business/ap-summary/utils.mjs +16 -16
  149. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
  150. package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
  151. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
  152. package/es/src/business/ap-table-modal/index.d.ts +43 -6
  153. package/es/src/business/ap-table-modal/interface.d.ts +17 -2
  154. package/es/src/business/ap-table-modal/style/css.js +1 -1
  155. package/es/src/business/ap-table-modal/style/index.js +1 -1
  156. package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +57 -0
  157. package/es/src/business/ap-table-modal/table-layout/index.vue.mjs +4 -0
  158. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +74 -0
  159. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
  160. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +134 -79
  161. package/es/src/business/ap-title/ApTitle.vue2.mjs +1 -1
  162. package/es/src/business/hooks/usePageListApTable.d.ts +1 -1
  163. package/es/src/check-card/index.vue2.mjs +1 -1
  164. package/es/src/config-provider/config-provider-props.d.ts +8 -8
  165. package/es/src/config-provider/config-provider-props.mjs +1 -1
  166. package/es/src/config-provider/config-provider.d.ts +9 -8
  167. package/es/src/config-provider/config-provider.mjs +1 -1
  168. package/es/src/config-provider/constants.d.ts +1 -1
  169. package/es/src/config-provider/css-var.d.ts +1 -0
  170. package/es/src/config-provider/css-var.mjs +7 -5
  171. package/es/src/config-provider/hooks/use-global-config.d.ts +8 -8
  172. package/es/src/config-provider/index.d.ts +14 -8
  173. package/es/src/design-token/index.d.ts +1 -1
  174. package/es/src/editable-table/form-item.vue.d.ts +1 -0
  175. package/es/src/editable-table/form-item.vue.mjs +60 -55
  176. package/es/src/editable-table/hooks/use-get-columns.d.ts +1 -1
  177. package/es/src/editable-table/hooks/use-get-columns.mjs +1 -1
  178. package/es/src/editable-table/index.vue.d.ts +1 -1
  179. package/es/src/editable-table/index.vue.mjs +1 -1
  180. package/es/src/editable-table/interface.d.ts +6 -6
  181. package/es/src/editable-table/utils.mjs +69 -69
  182. package/es/src/hooks/useMessage.d.ts +4 -4
  183. package/es/src/hooks/useMessage.mjs +1 -1
  184. package/es/src/index.mjs +201 -202
  185. package/es/src/locale/lang/en.mjs +3 -1
  186. package/es/src/locale/lang/zh-cn.mjs +3 -1
  187. package/es/src/path-map.mjs +2 -0
  188. package/es/src/utils/config-provider-preset.d.ts +10 -10
  189. package/es/src/work-order-modal/help-message.vue2.mjs +1 -1
  190. package/es/src/work-order-modal/interfaces.d.ts +1 -1
  191. package/es/src/work-order-modal/work-order-modal.vue.mjs +1 -1
  192. package/lib/index.js +1 -1
  193. package/lib/src/ap-action/group/index.vue.d.ts +1 -1
  194. package/lib/src/ap-action/group/index.vue.js +1 -1
  195. package/lib/src/ap-action/interface.d.ts +1 -1
  196. package/lib/src/ap-action/item/index.vue2.js +1 -1
  197. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
  198. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  199. package/lib/src/ap-action/item-modal/index.vue.d.ts +1 -1
  200. package/lib/src/ap-action/item-modal/index.vue.js +1 -1
  201. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +8 -8
  202. package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
  203. package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -1
  204. package/lib/src/ap-button/ap-action-button.vue.js +1 -1
  205. package/lib/src/ap-button/ap-button.vue.d.ts +4 -1
  206. package/lib/src/ap-button/ap-button.vue.js +1 -1
  207. package/lib/src/ap-button/interface.d.ts +2 -1
  208. package/lib/src/ap-button/utils/index.d.ts +3 -0
  209. package/lib/src/ap-button/utils/index.js +1 -0
  210. package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -1
  211. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +2 -2
  212. package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -1
  213. package/lib/src/ap-descriptions/interface.d.ts +2 -2
  214. package/lib/src/ap-download/ap-download.vue.d.ts +1 -1
  215. package/lib/src/ap-download/ap-download.vue.js +1 -1
  216. package/lib/src/ap-download/interface.d.ts +1 -1
  217. package/lib/src/ap-field/checkbox/helper.d.ts +3 -3
  218. package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
  219. package/lib/src/ap-field/checkbox/index.vue.js +1 -1
  220. package/lib/src/ap-field/date/constant.d.ts +1 -1
  221. package/lib/src/ap-field/date/helper.d.ts +1 -1
  222. package/lib/src/ap-field/date/index.vue.d.ts +1 -1
  223. package/lib/src/ap-field/date/index.vue.js +1 -1
  224. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  225. package/lib/src/ap-field/hooks/use-options.d.ts +8 -0
  226. package/lib/src/ap-field/hooks/use-options.js +1 -0
  227. package/lib/src/ap-field/interface.d.ts +5 -5
  228. package/lib/src/ap-field/number/index.vue.d.ts +4 -4
  229. package/lib/src/ap-field/number/index.vue.js +1 -1
  230. package/lib/src/ap-field/radio/helper.d.ts +1 -1
  231. package/lib/src/ap-field/radio/index.vue.js +1 -1
  232. package/lib/src/ap-field/rate/index.vue.d.ts +3 -3
  233. package/lib/src/ap-field/rate/index.vue.js +1 -1
  234. package/lib/src/ap-field/segmented/index.vue.js +1 -1
  235. package/lib/src/ap-field/select/index.vue.d.ts +6 -6
  236. package/lib/src/ap-field/select/index.vue.js +1 -1
  237. package/lib/src/ap-field/slider/index.vue.d.ts +4 -4
  238. package/lib/src/ap-field/slider/index.vue.js +1 -1
  239. package/lib/src/ap-field/switch/index.vue.js +1 -1
  240. package/lib/src/ap-field/text/index.vue.d.ts +1 -1
  241. package/lib/src/ap-field/text/index.vue2.js +1 -1
  242. package/lib/src/ap-field/text/input-password-props.d.ts +1 -1
  243. package/lib/src/ap-field/text/password.vue.js +1 -1
  244. package/lib/src/ap-field/text-area/index.vue.d.ts +1 -1
  245. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  246. package/lib/src/ap-form/ap-form.vue.d.ts +7 -7
  247. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  248. package/lib/src/ap-form/context.d.ts +1 -1
  249. package/lib/src/ap-form/drawer-form/index.vue.d.ts +6 -6
  250. package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
  251. package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
  252. package/lib/src/ap-form/interface.d.ts +3 -3
  253. package/lib/src/ap-form/item/index.vue.d.ts +4 -4
  254. package/lib/src/ap-form/item/index.vue.js +1 -1
  255. package/lib/src/ap-form/item-group/index.vue.d.ts +2 -2
  256. package/lib/src/ap-form/item-group/index.vue.js +1 -1
  257. package/lib/src/ap-form/items/interface.d.ts +1 -1
  258. package/lib/src/ap-form/items/number/index.vue.d.ts +2 -2
  259. package/lib/src/ap-form/items/radio/index.vue.d.ts +3 -3
  260. package/lib/src/ap-form/items/text/group.vue2.js +1 -1
  261. package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
  262. package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
  263. package/lib/src/ap-form/items/text-area/index.vue.d.ts +4 -4
  264. package/lib/src/ap-form/modal-form/index.vue.d.ts +8 -8
  265. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  266. package/lib/src/ap-form/search-form/index.vue.d.ts +4 -4
  267. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  268. package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.js +1 -1
  269. package/lib/src/ap-list/index.vue.js +1 -1
  270. package/lib/src/ap-modal/index.d.ts +1 -1
  271. package/lib/src/ap-modal/index.js +1 -1
  272. package/lib/src/ap-modal/interface.d.ts +1 -1
  273. package/lib/src/ap-modal/utils/createModal.js +1 -1
  274. package/lib/src/ap-table/ap-table.vue.d.ts +1 -1
  275. package/lib/src/ap-table/ap-table.vue.js +1 -1
  276. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  277. package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +16 -1
  278. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  279. package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -1
  280. package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
  281. package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
  282. package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
  283. package/lib/src/ap-table/components/setting/utils.d.ts +1 -1
  284. package/lib/src/ap-table/components/status/index.vue2.js +1 -1
  285. package/lib/src/ap-table/constants.d.ts +30 -30
  286. package/lib/src/ap-table/context.d.ts +1 -1
  287. package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
  288. package/lib/src/ap-table/hooks/use-table-paging.d.ts +3 -3
  289. package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
  290. package/lib/src/ap-table/index.d.ts +6 -1
  291. package/lib/src/ap-table/index.js +1 -1
  292. package/lib/src/ap-table/interface.d.ts +3 -3
  293. package/lib/src/ap-table/utils.d.ts +8 -7
  294. package/lib/src/ap-table/utils.js +1 -1
  295. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  296. package/lib/src/ap-tag/interface.d.ts +1 -1
  297. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  298. package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
  299. package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
  300. package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
  301. package/lib/src/business/ap-attachment/ApAttachment.d.ts +1 -1
  302. package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
  303. package/lib/src/business/ap-attachment/index.d.ts +1 -1
  304. package/lib/src/business/ap-attachment/interface.d.ts +1 -1
  305. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +8 -3
  306. package/lib/src/business/ap-batch-action/ApBatchAction.vue2.js +1 -1
  307. package/lib/src/business/ap-batch-action/index.d.ts +8 -3
  308. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
  309. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
  310. package/lib/src/business/ap-batch-action-group/index.d.ts +12 -8
  311. package/lib/src/business/ap-batch-action-group/interface.d.ts +2 -2
  312. package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -1
  313. package/lib/src/business/ap-button-group/index.d.ts +13 -5
  314. package/lib/src/business/ap-button-group/interface.d.ts +1 -1
  315. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  316. package/lib/src/business/ap-expand-alert/interface.d.ts +1 -1
  317. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  318. package/lib/src/business/ap-export-group/handleExportDownload.js +1 -1
  319. package/lib/src/business/ap-export-group/interface.d.ts +1 -1
  320. package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
  321. package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
  322. package/lib/src/business/ap-input-radio/index.d.ts +2 -2
  323. package/lib/src/business/ap-input-radio/interface.d.ts +1 -1
  324. package/lib/src/business/ap-label/ApLabel.d.ts +2 -2
  325. package/lib/src/business/ap-label/ApLabel.js +1 -1
  326. package/lib/src/business/ap-label/constans.d.ts +2 -2
  327. package/lib/src/business/ap-label/constans.js +1 -1
  328. package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
  329. package/lib/src/business/ap-label/index.d.ts +2 -2
  330. package/lib/src/business/ap-label/interface.d.ts +3 -3
  331. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +5 -5
  332. package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
  333. package/lib/src/business/ap-ladder/index.d.ts +5 -5
  334. package/lib/src/business/ap-ladder/interface.d.ts +1 -1
  335. package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
  336. package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
  337. package/lib/src/business/ap-summary/interface.d.ts +2 -2
  338. package/lib/src/business/ap-summary/utils.d.ts +1 -1
  339. package/lib/src/business/ap-summary/utils.js +1 -1
  340. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
  341. package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
  342. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
  343. package/lib/src/business/ap-table-modal/index.d.ts +43 -6
  344. package/lib/src/business/ap-table-modal/interface.d.ts +17 -2
  345. package/lib/src/business/ap-table-modal/style/css.js +1 -1
  346. package/lib/src/business/ap-table-modal/style/index.js +1 -1
  347. package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +57 -0
  348. package/lib/src/business/ap-table-modal/table-layout/index.vue.js +1 -0
  349. package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -0
  350. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
  351. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  352. package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
  353. package/lib/src/business/hooks/usePageListApTable.d.ts +1 -1
  354. package/lib/src/check-card/index.vue2.js +1 -1
  355. package/lib/src/config-provider/config-provider-props.d.ts +8 -8
  356. package/lib/src/config-provider/config-provider-props.js +1 -1
  357. package/lib/src/config-provider/config-provider.d.ts +9 -8
  358. package/lib/src/config-provider/config-provider.js +1 -1
  359. package/lib/src/config-provider/constants.d.ts +1 -1
  360. package/lib/src/config-provider/css-var.d.ts +1 -0
  361. package/lib/src/config-provider/css-var.js +1 -1
  362. package/lib/src/config-provider/hooks/use-global-config.d.ts +8 -8
  363. package/lib/src/config-provider/index.d.ts +14 -8
  364. package/lib/src/design-token/index.d.ts +1 -1
  365. package/lib/src/editable-table/form-item.vue.d.ts +1 -0
  366. package/lib/src/editable-table/form-item.vue.js +1 -1
  367. package/lib/src/editable-table/hooks/use-get-columns.d.ts +1 -1
  368. package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
  369. package/lib/src/editable-table/index.vue.d.ts +1 -1
  370. package/lib/src/editable-table/index.vue.js +1 -1
  371. package/lib/src/editable-table/interface.d.ts +6 -6
  372. package/lib/src/editable-table/utils.js +1 -1
  373. package/lib/src/hooks/useMessage.d.ts +4 -4
  374. package/lib/src/hooks/useMessage.js +1 -1
  375. package/lib/src/index.js +1 -1
  376. package/lib/src/locale/lang/en.js +1 -1
  377. package/lib/src/locale/lang/zh-cn.js +1 -1
  378. package/lib/src/path-map.js +1 -1
  379. package/lib/src/utils/config-provider-preset.d.ts +10 -10
  380. package/lib/src/work-order-modal/help-message.vue2.js +1 -1
  381. package/lib/src/work-order-modal/interfaces.d.ts +1 -1
  382. package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
  383. package/package.json +5 -5
@@ -1,12 +1,12 @@
1
- import { InputProps, CheckboxGroupProps, DatePickerProps, InputNumberProps, RadioGroupProps, SwitchProps, TextAreaProps, SelectProps, PopconfirmProps, SliderProps, SegmentedProps, RateProps } from 'ant-design-vue';
2
- import { InputFocusOptions } from 'ant-design-vue/es/vc-input/utils/commonUtils';
1
+ import { InputProps, CheckboxGroupProps, DatePickerProps, InputNumberProps, RadioGroupProps, SwitchProps, TextAreaProps, SelectProps, PopconfirmProps, SliderProps, SegmentedProps, RateProps } from '@aplus-frontend/antdv';
2
+ import { InputFocusOptions } from '@aplus-frontend/antdv/es/vc-input/utils/commonUtils';
3
3
  import { ApFormatPresetType } from './date/interface';
4
- import { RangeValue } from 'ant-design-vue/es/vc-picker/interface';
5
- import { RangePickerProps } from 'ant-design-vue/es/date-picker/dayjs';
4
+ import { RangeValue } from '@aplus-frontend/antdv/es/vc-picker/interface';
5
+ import { RangePickerProps } from '@aplus-frontend/antdv/es/date-picker/dayjs';
6
6
  import { LiteralUnion } from '../type';
7
7
  import { InputPasswordProps } from './text/input-password-props';
8
8
  import { ZoneAlias } from '@aplus-frontend/utils';
9
- import { SelectValue } from 'ant-design-vue/es/select';
9
+ import { SelectValue } from '@aplus-frontend/antdv/es/select';
10
10
  export type FieldMode = 'read' | 'edit';
11
11
  export type BasicApFieldProps<FieldPropsType = any> = {
12
12
  mode?: FieldMode;
@@ -1,10 +1,10 @@
1
1
  import { ApFieldNumberProps } from '../interface';
2
2
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, DefineComponent, PublicProps } from 'vue';
3
- import { ButtonSize } from 'ant-design-vue/es/button';
3
+ import { ButtonSize } from '@aplus-frontend/antdv/es/button';
4
4
  import { VueTypeValidableDef } from '../../../node_modules/vue-types';
5
- import { ValueType } from 'ant-design-vue/es/input-number/src/utils/MiniDecimal';
6
- import { KeyboardEventHandler } from 'ant-design-vue/es/_util/EventInterface';
7
- import { VueNode, CustomSlotsType } from 'ant-design-vue/es/_util/type';
5
+ import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
6
+ import { KeyboardEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
7
+ import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
8
8
  type ApFieldNumberSlots = {
9
9
  addonBefore?: any;
10
10
  addonAfter?: any;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as C, ref as N, computed as x, 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
- import { InputNumber as F } from "ant-design-vue";
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";
5
5
  import { roundWith as _, toDecimalMark as w } from "@fruits-chain/utils";
@@ -1,3 +1,3 @@
1
- import { RadioGroupChildOption } from 'ant-design-vue/es/radio/Group';
1
+ import { RadioGroupChildOption } from '@aplus-frontend/antdv/es/radio/Group';
2
2
  export declare const getOptionValue: (v: RadioGroupChildOption | string | number) => any;
3
3
  export declare const getOptionLabel: (v: RadioGroupChildOption | string | number) => any;
@@ -1,12 +1,13 @@
1
- import { defineComponent as _, ref as i, onMounted as q, computed as C, unref as o, openBlock as l, createElementBlock as m, Fragment as c, createTextVNode as R, toDisplayString as U, createBlock as d, mergeProps as h } from "vue";
2
- import { Spin as G, RadioGroup as N } from "ant-design-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 c, createTextVNode as R, toDisplayString as U, createBlock as d, mergeProps as h } from "vue";
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";
5
- import { getOptionValue as F, getOptionLabel as O } from "./helper.mjs";
5
+ import { getOptionValue as F, getOptionLabel as A } from "./helper.mjs";
6
6
  import "../../config-provider/index.mjs";
7
- import { useControllableValue as A } from "../../hooks/useControllableValue.mjs";
8
- import { useNamespace as D } from "../../config-provider/hooks/use-namespace.mjs";
9
- const J = /* @__PURE__ */ _({
7
+ import D from "../hooks/use-options.mjs";
8
+ import { useControllableValue as E } from "../../hooks/useControllableValue.mjs";
9
+ import { useNamespace as L } from "../../config-provider/hooks/use-namespace.mjs";
10
+ const W = /* @__PURE__ */ q({
10
11
  name: "ApFieldRadio",
11
12
  __name: "index",
12
13
  props: {
@@ -30,36 +31,36 @@ const J = /* @__PURE__ */ _({
30
31
  },
31
32
  emits: ["update:value"],
32
33
  setup(f, { expose: v, emit: y }) {
33
- const t = f, g = y, n = i(), u = i((t == null ? void 0 : t.options) || []), { value: s, updateValue: k } = A(t, g), { m: x } = D("field-radio"), r = i(!1);
34
- q(() => {
34
+ const t = f, g = y, n = p(), { options: u, updateOptions: k } = D(t), { value: i, updateValue: x } = E(t, g), { m: b } = L("field-radio"), r = p(!1);
35
+ C(() => {
35
36
  var e;
36
- t.request && (r.value = !0, (e = t.request) == null || e.call(t).then((a) => u.value = a).finally(() => {
37
+ t.request && (r.value = !0, (e = t.request) == null || e.call(t).then((a) => k(a)).finally(() => {
37
38
  r.value = !1;
38
39
  }));
39
40
  });
40
- const b = C(() => {
41
- var p;
42
- const e = o(s);
41
+ const T = O(() => {
42
+ var s;
43
+ const e = o(i);
43
44
  if (S(e))
44
45
  return t.emptyText;
45
- const a = (p = u.value) == null ? void 0 : p.find(
46
- (V) => e === F(V)
46
+ const a = (s = u.value) == null ? void 0 : s.find(
47
+ (_) => e === F(_)
47
48
  );
48
- return O(a) || t.emptyText;
49
+ return A(a) || t.emptyText;
49
50
  });
50
- function T() {
51
+ function B() {
51
52
  var e;
52
53
  (e = n.value) == null || e.focus();
53
54
  }
54
- function B() {
55
+ function V() {
55
56
  var e;
56
57
  (e = n.value) == null || e.blur();
57
58
  }
58
59
  return v({
59
- focus: T,
60
- blur: B
60
+ focus: B,
61
+ blur: V
61
62
  }), (e, a) => e.mode === "read" ? (l(), m(c, { key: 0 }, [
62
- R(U(b.value), 1)
63
+ R(U(T.value), 1)
63
64
  ], 64)) : (l(), m(c, { key: 1 }, [
64
65
  r.value ? (l(), d(o(G), {
65
66
  key: 0,
@@ -74,17 +75,17 @@ const J = /* @__PURE__ */ _({
74
75
  "vertical"
75
76
  ]),
76
77
  {
77
- value: o(s),
78
- "onUpdate:value": o(k),
79
- options: u.value,
78
+ value: o(i),
79
+ "onUpdate:value": o(x),
80
+ options: o(u),
80
81
  ref_key: "radioGroupRef",
81
82
  ref: n,
82
- class: e.vertical ? o(x)("vertical") : null
83
+ class: e.vertical ? o(b)("vertical") : null
83
84
  }
84
85
  ), null, 16, ["value", "onUpdate:value", "options", "class"]))
85
86
  ], 64));
86
87
  }
87
88
  });
88
89
  export {
89
- J as default
90
+ W as default
90
91
  };
@@ -1,9 +1,9 @@
1
1
  import { ApFieldRateProps } from '../interface';
2
2
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, DefineComponent, PublicProps } from 'vue';
3
3
  import { VueTypeValidableDef, VueTypeDef } from '../../../node_modules/vue-types';
4
- import { Direction } from 'ant-design-vue/es/config-provider';
5
- import { FocusEventHandler, KeyboardEventHandler } from 'ant-design-vue/es/_util/EventInterface';
6
- import { VueNode } from 'ant-design-vue/es/_util/type';
4
+ import { Direction } from '@aplus-frontend/antdv/es/config-provider';
5
+ import { FocusEventHandler, KeyboardEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
6
+ import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
7
7
  import { FieldMode } from '..';
8
8
  declare function focus(): void;
9
9
  declare function blur(): void;
@@ -1,7 +1,7 @@
1
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
- import { Rate as R } from "ant-design-vue";
4
+ import { Rate as R } from "@aplus-frontend/antdv";
5
5
  import { useControllableValue as V } from "../../hooks/useControllableValue.mjs";
6
6
  const D = /* @__PURE__ */ v({
7
7
  name: "ApFieldRate",
@@ -1,9 +1,10 @@
1
- import { defineComponent as S, ref as c, useSlots as B, onMounted as U, computed as V, unref as a, createVNode as s, Fragment as o, openBlock as r, createBlock as m, createElementBlock as _, resolveDynamicComponent as h, mergeProps as N, withCtx as q, renderSlot as z, normalizeProps as F, guardReactiveProps as P } from "vue";
2
- import { Spin as T, Segmented as R } from "ant-design-vue";
3
- import { isFunction as v, isUndefined as w, isString as A, isNumber as D, omit as E } from "lodash-unified";
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
+ import { Spin as O, Segmented as R } from "@aplus-frontend/antdv";
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";
5
- import { useControllableValue as M } from "../../hooks/useControllableValue.mjs";
6
- const J = /* @__PURE__ */ S({
5
+ import M from "../hooks/use-options.mjs";
6
+ import { useControllableValue as $ } from "../../hooks/useControllableValue.mjs";
7
+ const L = /* @__PURE__ */ S({
7
8
  name: "ApFieldSegmented",
8
9
  __name: "index",
9
10
  props: {
@@ -34,50 +35,53 @@ const J = /* @__PURE__ */ S({
34
35
  request: {}
35
36
  },
36
37
  emits: ["update:value"],
37
- setup(y, {
38
- emit: g
38
+ setup(v, {
39
+ emit: y
39
40
  }) {
40
- const e = y, i = c((e == null ? void 0 : e.options) || []), k = g, {
41
+ const o = v, {
42
+ options: m,
43
+ updateOptions: g
44
+ } = M(o), k = y, {
41
45
  value: p,
42
46
  updateValue: b
43
- } = M(e, k), d = c(!1), x = B();
44
- U(() => {
45
- v(e.request) && (d.value = !0, e.request().then((t) => i.value = t).finally(() => {
46
- d.value = !1;
47
+ } = $(o, k), i = B(!1), x = U();
48
+ V(() => {
49
+ c(o.request) && (i.value = !0, o.request().then((e) => g(e)).finally(() => {
50
+ i.value = !1;
47
51
  }));
48
52
  });
49
- const C = V(() => {
53
+ const C = _(() => {
50
54
  var f;
51
- const t = a(p);
52
- if (w(t))
53
- return s(o, null, [e.emptyText]);
54
- const l = (f = a(i)) == null ? void 0 : f.find((u) => u === t || (u == null ? void 0 : u.value) === t);
55
- if (A(l) || D(l))
56
- return s(o, null, [l]);
57
- const n = (l == null ? void 0 : l.label) || x.label;
58
- return v(n) ? s(o, null, [n == null ? void 0 : n({
59
- ...l
60
- })]) : s(o, null, [n || e.emptyText]);
55
+ const e = l(p);
56
+ if (w(e))
57
+ return s(a, null, [o.emptyText]);
58
+ const t = (f = l(m)) == null ? void 0 : f.find((u) => u === e || (u == null ? void 0 : u.value) === e);
59
+ if (A(t) || D(t))
60
+ return s(a, null, [t]);
61
+ const n = (t == null ? void 0 : t.label) || x.label;
62
+ return c(n) ? s(a, null, [n == null ? void 0 : n({
63
+ ...t
64
+ })]) : s(a, null, [n || o.emptyText]);
61
65
  });
62
- return (t, l) => d.value ? (r(), m(a(T), {
66
+ return (e, t) => i.value ? (r(), d(l(O), {
63
67
  key: 0,
64
68
  size: "small"
65
- })) : (r(), _(o, {
69
+ })) : (r(), h(a, {
66
70
  key: 1
67
- }, [t.mode === "read" ? (r(), m(h(C.value), {
71
+ }, [e.mode === "read" ? (r(), d(N(C.value), {
68
72
  key: 0
69
- })) : (r(), m(a(R), N({
73
+ })) : (r(), d(l(R), q({
70
74
  key: 1
71
- }, a(E)(e, ["onUpdate:value", "value", "defaultValue", "options"]), {
72
- value: a(p),
73
- "onUpdate:value": a(b),
74
- options: i.value
75
+ }, l(E)(o, ["onUpdate:value", "value", "defaultValue", "options"]), {
76
+ value: l(p),
77
+ "onUpdate:value": l(b),
78
+ options: l(m)
75
79
  }), {
76
- label: q((n) => [z(t.$slots, "label", F(P(n)))]),
80
+ label: z((n) => [F(e.$slots, "label", P(T(n)))]),
77
81
  _: 3
78
82
  }, 16, ["value", "onUpdate:value", "options"]))], 64));
79
83
  }
80
84
  });
81
85
  export {
82
- J as default
86
+ L as default
83
87
  };
@@ -1,12 +1,12 @@
1
- import { DefaultOptionType, SelectValue, LabeledValue } from 'ant-design-vue/es/select';
1
+ import { DefaultOptionType, SelectValue, LabeledValue } from '@aplus-frontend/antdv/es/select';
2
2
  import { ApFieldSelectProps } from '../interface';
3
3
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, DefineComponent, PublicProps } from 'vue';
4
4
  import { VueTypeValidableDef } from '../../../node_modules/vue-types';
5
- import { ButtonSize } from 'ant-design-vue/es/button';
6
- import { VueNode, CustomSlotsType } from 'ant-design-vue/es/_util/type';
7
- import { SelectHandler, FieldNames, FilterFunc } from 'ant-design-vue/es/vc-select/Select';
8
- import { RenderDOMFunc, DropdownRender, CustomTagProps } from 'ant-design-vue/es/vc-select/BaseSelect';
9
- import { AlignType } from 'ant-design-vue/es/vc-trigger/interface';
5
+ import { ButtonSize } from '@aplus-frontend/antdv/es/button';
6
+ import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
7
+ import { SelectHandler, FieldNames, FilterFunc } from '@aplus-frontend/antdv/es/vc-select/Select';
8
+ import { RenderDOMFunc, DropdownRender, CustomTagProps } from '@aplus-frontend/antdv/es/vc-select/BaseSelect';
9
+ import { AlignType } from '@aplus-frontend/antdv/es/vc-trigger/interface';
10
10
  import { FieldMode } from '..';
11
11
  type ApFieldSelectSlots = {
12
12
  notFoundContent: any;
@@ -1,11 +1,12 @@
1
- import { defineComponent as T, ref as p, onMounted as _, computed as y, unref as u, openBlock as S, createElementBlock as R, toDisplayString as U, createBlock as z, mergeProps as D, createSlots as L, renderList as K, withCtx as w, renderSlot as H, normalizeProps as $, guardReactiveProps as j, createVNode as E } from "vue";
2
- import { debounce as W, isFunction as B, isArray as G, isNil as J, omit as Q } from "lodash-unified";
3
- import { Select as X, Spin as Y } from "ant-design-vue";
1
+ import { defineComponent as _, ref as y, onMounted as R, computed as S, unref as a, openBlock as w, createElementBlock as U, toDisplayString as z, createBlock as D, mergeProps as L, createSlots as K, renderList as H, withCtx as B, renderSlot as $, normalizeProps as j, guardReactiveProps as E, createVNode as W } from "vue";
2
+ import { debounce as G, isFunction as g, isArray as J, isNil as Q, omit as X } from "lodash-unified";
3
+ import { Select as Y, Spin as Z } from "@aplus-frontend/antdv";
4
4
  import "../../hooks/index.mjs";
5
- import { omitUndefined as Z } from "../../utils/index.mjs";
6
- import { useDefaultPlaceholder as ee } from "../hooks/use-default-placeholder.mjs";
7
- import { useControllableValue as oe } from "../../hooks/useControllableValue.mjs";
8
- const te = { key: 0 }, se = /* @__PURE__ */ T({
5
+ import { omitUndefined as ee } from "../../utils/index.mjs";
6
+ import { useDefaultPlaceholder as oe } from "../hooks/use-default-placeholder.mjs";
7
+ import te from "../hooks/use-options.mjs";
8
+ import { useControllableValue as le } from "../../hooks/useControllableValue.mjs";
9
+ const ne = { key: 0 }, pe = /* @__PURE__ */ _({
9
10
  name: "ApFieldSelect",
10
11
  __name: "index",
11
12
  props: {
@@ -94,80 +95,80 @@ const te = { key: 0 }, se = /* @__PURE__ */ T({
94
95
  onBeforeSelect: {}
95
96
  },
96
97
  emits: ["update:value"],
97
- setup(g, { expose: F, emit: b }) {
98
- let n = 0;
99
- const C = W((o) => {
100
- if (!B(e.request))
98
+ setup(F, { expose: b, emit: C }) {
99
+ let r = 0;
100
+ const N = G((o) => {
101
+ if (!g(e.request))
101
102
  return;
102
- n += 1;
103
- const t = n;
104
- i.value = [], r.value = !0, e.request(o).then((l) => {
105
- n === t && (i.value = l);
103
+ r += 1;
104
+ const t = r;
105
+ i([]), u.value = !0, e.request(o).then((l) => {
106
+ r === t && i(l);
106
107
  }).finally(() => {
107
- r.value = !1;
108
+ u.value = !1;
108
109
  });
109
- }, 300), e = g, N = (o, t) => {
110
- var a;
111
- const l = ((a = e.fieldNames) == null ? void 0 : a.label) || "label";
110
+ }, 300), e = F, x = (o, t) => {
111
+ var n;
112
+ const l = ((n = e.fieldNames) == null ? void 0 : n.label) || "label";
112
113
  return typeof (t == null ? void 0 : t[l]) == "string" && t[l].indexOf(o) > -1;
113
- }, i = p((e == null ? void 0 : e.options) || []), s = p(), r = p((e == null ? void 0 : e.loading) || !1), x = b;
114
- async function c(o = !0) {
115
- if (!B(e.request))
114
+ }, { options: s, updateOptions: i } = te(e), c = y(), u = y((e == null ? void 0 : e.loading) || !1), I = C;
115
+ async function f(o = !0) {
116
+ if (!g(e.request))
116
117
  return;
117
- r.value = !0, n += 1;
118
- const t = n;
118
+ u.value = !0, r += 1;
119
+ const t = r;
119
120
  try {
120
- o && (i.value = []);
121
+ o && i([]);
121
122
  const l = await e.request();
122
- if (t !== n)
123
+ if (t !== r)
123
124
  return;
124
- i.value = l;
125
+ i(l);
125
126
  } finally {
126
- r.value = !1;
127
+ u.value = !1;
127
128
  }
128
129
  }
129
- function I(o) {
130
+ function O(o) {
130
131
  var t;
131
- (t = e.onFocus) == null || t.call(e, o), e.refetchOnFocus && n > 0 && !r.value && c(!0);
132
+ (t = e.onFocus) == null || t.call(e, o), e.refetchOnFocus && r > 0 && !u.value && f(!0);
132
133
  }
133
- _(() => {
134
+ R(() => {
134
135
  if (e.lazy) {
135
- n += 1;
136
+ r += 1;
136
137
  return;
137
138
  }
138
- c();
139
+ f();
139
140
  });
140
- const { value: m, updateValue: V } = oe(e, x, { beforeUpdateValue: e.onBeforeSelect }), O = ee("Select", e), P = y(() => {
141
+ const { value: m, updateValue: V } = le(e, I, { beforeUpdateValue: e.onBeforeSelect }), P = oe("Select", e), k = S(() => {
141
142
  var d, v;
142
- const o = u(m);
143
+ const o = a(m);
143
144
  if (!o)
144
145
  return e.emptyText;
145
146
  const t = ((d = e.fieldNames) == null ? void 0 : d.label) || "label", l = ((v = e.fieldNames) == null ? void 0 : v.value) || "value";
146
- if (G(o))
147
+ if (J(o))
147
148
  return o.map(
148
- (f) => {
149
+ (p) => {
149
150
  var h;
150
- return (h = u(i).find((M) => M[l] === f)) == null ? void 0 : h[t];
151
+ return (h = a(s).find((T) => T[l] === p)) == null ? void 0 : h[t];
151
152
  }
152
153
  ).filter(Boolean).join("、") || e.emptyText;
153
- const a = u(i).find(
154
- (f) => f[l] === o
154
+ const n = a(s).find(
155
+ (p) => p[l] === o
155
156
  );
156
- return (a == null ? void 0 : a[t]) || e.emptyText;
157
- }), k = y(() => {
157
+ return (n == null ? void 0 : n[t]) || e.emptyText;
158
+ }), q = S(() => {
158
159
  const o = !!(e != null && e.showSearch), t = e.searchMode;
159
160
  let l = {};
160
161
  return o && (l = t === "request" ? {
161
162
  showArrow: !1,
162
163
  defaultActiveFirstOption: !1,
163
- onSearch: C,
164
- notFoundContent: r.value ? void 0 : null
164
+ onSearch: N,
165
+ notFoundContent: u.value ? void 0 : null
165
166
  } : {
166
167
  showArrow: !0,
167
- filterOption: J(e == null ? void 0 : e.filterOption) ? N : e == null ? void 0 : e.filterOption
168
+ filterOption: Q(e == null ? void 0 : e.filterOption) ? x : e == null ? void 0 : e.filterOption
168
169
  }), {
169
- ...Z(
170
- Q(e, [
170
+ ...ee(
171
+ X(e, [
171
172
  "mode",
172
173
  "value",
173
174
  "onUpdate:value",
@@ -177,45 +178,45 @@ const te = { key: 0 }, se = /* @__PURE__ */ T({
177
178
  "onFocus"
178
179
  ])
179
180
  ),
180
- placeholder: u(O),
181
+ placeholder: a(P),
181
182
  ...l
182
183
  };
183
184
  });
184
- function q() {
185
+ function A() {
185
186
  var o;
186
- (o = s.value) == null || o.focus();
187
+ (o = c.value) == null || o.focus();
187
188
  }
188
- function A() {
189
+ function M() {
189
190
  var o;
190
- (o = s.value) == null || o.blur();
191
+ (o = c.value) == null || o.blur();
191
192
  }
192
- return F({
193
- focus: q,
194
- blur: A,
195
- request: c
196
- }), (o, t) => o.mode === "read" ? (S(), R("span", te, U(P.value), 1)) : (S(), z(u(X), D({
193
+ return b({
194
+ focus: A,
195
+ blur: M,
196
+ request: f
197
+ }), (o, t) => o.mode === "read" ? (w(), U("span", ne, z(k.value), 1)) : (w(), D(a(Y), L({
197
198
  key: 1,
198
199
  "allow-clear": "",
199
200
  ref_key: "selectRef",
200
- ref: s
201
- }, k.value, {
201
+ ref: c
202
+ }, q.value, {
202
203
  mode: o.multiple ? "multiple" : void 0,
203
- value: u(m),
204
- "onUpdate:value": u(V),
205
- options: i.value,
206
- loading: r.value,
207
- onFocus: I
208
- }), L({ _: 2 }, [
209
- K(o.$slots, (l, a) => ({
210
- name: a,
211
- fn: w((d) => [
212
- H(o.$slots, a, $(j(d || {})))
204
+ value: a(m),
205
+ "onUpdate:value": a(V),
206
+ options: a(s),
207
+ loading: u.value,
208
+ onFocus: O
209
+ }), K({ _: 2 }, [
210
+ H(o.$slots, (l, n) => ({
211
+ name: n,
212
+ fn: B((d) => [
213
+ $(o.$slots, n, j(E(d || {})))
213
214
  ])
214
215
  })),
215
- r.value ? {
216
+ u.value ? {
216
217
  name: "notFoundContent",
217
- fn: w(() => [
218
- E(u(Y), { size: "small" })
218
+ fn: B(() => [
219
+ W(a(Z), { size: "small" })
219
220
  ]),
220
221
  key: "0"
221
222
  } : void 0
@@ -223,5 +224,5 @@ const te = { key: 0 }, se = /* @__PURE__ */ T({
223
224
  }
224
225
  });
225
226
  export {
226
- se as default
227
+ pe as default
227
228
  };
@@ -1,9 +1,9 @@
1
1
  import { ApFieldSliderProps } from '../interface';
2
2
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, DefineComponent, PublicProps } from 'vue';
3
- import { SliderRange, SliderMarks } from 'ant-design-vue/es/slider';
4
- import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
5
- import { FocusEventHandler } from 'ant-design-vue/es/_util/EventInterface';
6
- import { VueNode, CustomSlotsType } from 'ant-design-vue/es/_util/type';
3
+ import { SliderRange, SliderMarks } from '@aplus-frontend/antdv/es/slider';
4
+ import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
5
+ import { FocusEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
6
+ import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
7
7
  type ApFieldSliderSlots = {
8
8
  default?: any;
9
9
  mark?: (option: {
@@ -1,5 +1,5 @@
1
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
- import { Slider as N } from "ant-design-vue";
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";
5
5
  import { useControllableValue as E } from "../../hooks/useControllableValue.mjs";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as F, useSlots as U, ref as z, unref as o, computed as D, createVNode as u, Fragment as s, openBlock as h, createBlock as k, resolveDynamicComponent as T, createElementBlock as E, mergeProps as p, createSlots as g, renderList as V, withCtx as C, renderSlot as v, normalizeProps as B, guardReactiveProps as w } from "vue";
2
- import { Switch as A, Popconfirm as K } from "ant-design-vue";
2
+ import { Switch as A, Popconfirm as K } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
4
  import { isNil as L, omit as P } from "lodash-unified";
5
5
  import { isDef as f } from "@fruits-chain/utils";
@@ -1,5 +1,5 @@
1
1
  import { ApFieldTextProps } from '../interface';
2
- import { InputFocusOptions } from 'ant-design-vue/es/vc-input/utils/commonUtils';
2
+ import { InputFocusOptions } from '@aplus-frontend/antdv/es/vc-input/utils/commonUtils';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
4
  import { FieldMode } from '..';
5
5
  type ApFieldTextSlots = {
@@ -1,5 +1,5 @@
1
1
  import { isVNode as v, defineComponent as B, ref as g, useSlots as h, computed as b, createVNode as i, mergeProps as C, unref as u, Fragment as S, openBlock as _, createBlock as R, resolveDynamicComponent as T } from "vue";
2
- import { Input as V } from "ant-design-vue";
2
+ import { Input as V } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
4
  import { omit as j } from "lodash-unified";
5
5
  import { useDefaultPlaceholder as F } from "../hooks/use-default-placeholder.mjs";
@@ -1,4 +1,4 @@
1
- import { InputProps } from 'ant-design-vue';
1
+ import { InputProps } from '@aplus-frontend/antdv';
2
2
  /**
3
3
  * 根据antdv类型定义创建的Input.Password Props类型定义
4
4
  */
@@ -1,5 +1,5 @@
1
1
  import { isVNode as x, defineComponent as h, ref as C, useSlots as g, unref as i, createVNode as o, mergeProps as P, Fragment as w, openBlock as V, createBlock as _, resolveDynamicComponent as S } from "vue";
2
- import { Input as T, Space as U } from "ant-design-vue";
2
+ import { Input as T, Space as U } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
4
  import { omit as O } from "lodash-unified";
5
5
  import { EyeOutlined as j, EyeInvisibleOutlined as k } from "@ant-design/icons-vue";
@@ -1,5 +1,5 @@
1
1
  import { ApFieldTextAreaProps } from '../interface';
2
- import { InputFocusOptions } from 'ant-design-vue/es/vc-input/utils/commonUtils';
2
+ import { InputFocusOptions } from '@aplus-frontend/antdv/es/vc-input/utils/commonUtils';
3
3
  import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
4
  import { FieldMode } from '..';
5
5
  declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldTextAreaProps>, {
@@ -2,7 +2,7 @@ import { defineComponent as f, ref as y, computed as x, openBlock as r, createEl
2
2
  import { isNil as z, omit as A } from "lodash-unified";
3
3
  import "../../hooks/index.mjs";
4
4
  import "../../config-provider/index.mjs";
5
- import { Input as g } from "ant-design-vue";
5
+ import { Input as g } from "@aplus-frontend/antdv";
6
6
  import { useDefaultPlaceholder as T } from "../hooks/use-default-placeholder.mjs";
7
7
  import { useControllableValue as k } from "../../hooks/useControllableValue.mjs";
8
8
  import { useNamespace as _ } from "../../config-provider/hooks/use-namespace.mjs";
@@ -1,14 +1,14 @@
1
1
  import { ApFormProps, RegistedFieldType, WatchFunc } from './interface';
2
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, RuleObject, ValidateMessages, FieldData, ValidateErrorEntity } from 'ant-design-vue/es/form/interface';
2
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, RuleObject, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
3
3
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, DefineComponent, PublicProps } from 'vue';
4
4
  import { VueTypeDef, VueTypeValidableDef } from '../../node_modules/vue-types';
5
- import { ColSize } from 'ant-design-vue/es/grid';
6
- import { RequiredMark } from 'ant-design-vue/es/form/Form';
7
- import { RuleObject } from 'ant-design-vue/es/form';
5
+ import { ColSize } from '@aplus-frontend/antdv/es/grid';
6
+ import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
7
+ import { RuleObject } from '@aplus-frontend/antdv/es/form';
8
8
  import { Options } from '../../node_modules/scroll-into-view-if-needed';
9
- import { SizeType } from 'ant-design-vue/es/config-provider';
10
- import { SizeType } from 'ant-design-vue/es/button';
11
- import { VueNode } from 'ant-design-vue/es/_util/type';
9
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
10
+ import { SizeType } from '@aplus-frontend/antdv/es/button';
11
+ import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
12
  /**
13
13
  * 订阅事件
14
14
  */
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as D, ref as L, reactive as k, nextTick as K, toRaw as b, computed as $, openBlock as G, createBlock as H, unref as B, mergeProps as J, withCtx as Q, renderSlot as U } from "vue";
2
- import { Form as X } from "ant-design-vue";
2
+ import { Form as X } from "@aplus-frontend/antdv";
3
3
  import { useProvideForm as Y } from "./context.mjs";
4
4
  import { isArray as f, cloneDeep as I, isFunction as m, isPlainObject as _, omit as Z } from "lodash-unified";
5
5
  import { INTERNAL_FORM_INSTANCE_MARK as ee } from "./constant.mjs";