@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,15 +1,15 @@
1
- import { defineComponent as P, ref as h, unref as l, useSlots as z, watch as O, openBlock as K, createBlock as M, mergeProps as x, withCtx as g, createVNode as G, createSlots as H, renderList as W, renderSlot as $, normalizeProps as U, guardReactiveProps as q } from "vue";
2
- import { Table as J } from "ant-design-vue";
1
+ import { defineComponent as z, ref as h, unref as n, useSlots as O, watch as K, openBlock as M, createBlock as G, mergeProps as x, withCtx as g, createVNode as H, createSlots as W, renderList as $, renderSlot as U, normalizeProps as q, guardReactiveProps as J } from "vue";
2
+ import { Table as Q } from "@aplus-frontend/antdv";
3
3
  import { ApForm as b } from "../ap-form/index.mjs";
4
- import { isArray as Q, isNumber as d, cloneDeep as f, omit as w } from "lodash-unified";
4
+ import { isArray as X, isNumber as d, cloneDeep as f, omit as w } from "lodash-unified";
5
5
  import "../config-provider/index.mjs";
6
- import { useInjectForm as X } from "../ap-form/context.mjs";
6
+ import { useInjectForm as Y } from "../ap-form/context.mjs";
7
7
  import { isDef as m } from "../utils/index.mjs";
8
- import Y from "./hooks/use-get-columns.mjs";
9
- import { scrollToRowIndex as Z } from "./utils.mjs";
10
- import { useNamespace as I } from "../config-provider/hooks/use-namespace.mjs";
11
- import { useGlobalConfig as ee } from "../config-provider/hooks/use-global-config.mjs";
12
- const ie = /* @__PURE__ */ P({
8
+ import Z from "./hooks/use-get-columns.mjs";
9
+ import { scrollToRowIndex as I } from "./utils.mjs";
10
+ import { useNamespace as ee } from "../config-provider/hooks/use-namespace.mjs";
11
+ import { useGlobalConfig as oe } from "../config-provider/hooks/use-global-config.mjs";
12
+ const ce = /* @__PURE__ */ z({
13
13
  name: "EditableTableInner",
14
14
  __name: "form-item",
15
15
  props: {
@@ -112,99 +112,104 @@ const ie = /* @__PURE__ */ P({
112
112
  setup(C, {
113
113
  expose: y
114
114
  }) {
115
- const a = C;
115
+ const l = C;
116
116
  function R(e, o) {
117
- return Q(o) ? o.reduce((r, t) => r == null ? void 0 : r[t], e) : e == null ? void 0 : e[o];
117
+ return X(o) ? o.reduce((r, a) => r == null ? void 0 : r[a], e) : e == null ? void 0 : e[o];
118
118
  }
119
119
  const {
120
- internalInstance: n,
120
+ internalInstance: t,
121
121
  model: B
122
- } = X(), u = h(R(l(B), a.name) || []), D = z(), F = b.useWatch(a.name);
123
- O(() => F.value, (e) => {
122
+ } = Y(), u = h(R(n(B), l.name) || []), D = O(), F = b.useWatch(l.name);
123
+ K(() => F.value, (e) => {
124
124
  var o;
125
- u.value = e, (o = a.onChange) == null || o.call(a, e);
125
+ u.value = e, (o = l.onChange) == null || o.call(l, e);
126
126
  }, {
127
127
  deep: !0
128
128
  });
129
129
  const {
130
130
  b: L
131
- } = I("editable-table"), i = h(), T = ee("valueTypeMap"), v = Y(a, T);
132
- function E(e, o) {
131
+ } = ee("editable-table"), i = h(), T = oe("valueTypeMap"), V = Z(l, T);
132
+ function v(e, o) {
133
133
  var s;
134
- const r = ((s = l(u)) == null ? void 0 : s.length) || 0;
135
- if (m(a.maxLength) && r >= a.maxLength)
134
+ const r = ((s = n(u)) == null ? void 0 : s.length) || 0;
135
+ if (m(l.maxLength) && r >= l.maxLength)
136
136
  return;
137
- const t = [...l(u) || []];
138
- m(o) ? t.splice(o, 0, {
137
+ const a = [...n(u) || []];
138
+ m(o) ? a.splice(o, 0, {
139
139
  ...e || {}
140
- }) : t.push({
140
+ }) : a.push({
141
141
  ...e || {}
142
- }), n == null || n.setFieldValue(a.name, t);
142
+ }), t == null || t.setFieldValue(l.name, a);
143
143
  }
144
- function N(e, o = "suffix") {
144
+ function E(e, o = "suffix") {
145
145
  var p;
146
- const r = ((p = l(u)) == null ? void 0 : p.length) || 0, t = d(e) ? e : e.length;
147
- if (m(a.maxLength) && r + t > a.maxLength)
146
+ const r = ((p = n(u)) == null ? void 0 : p.length) || 0, a = d(e) ? e : e.length;
147
+ if (m(l.maxLength) && r + a > l.maxLength)
148
148
  return;
149
- const s = [...l(u) || []], c = d(e) ? new Array(e).fill({}) : f(e);
150
- o === "suffix" ? s.push(...c) : s.unshift(...c), n == null || n.setFieldValue(a.name, s);
149
+ const s = [...n(u) || []], c = d(e) ? new Array(e).fill({}) : f(e);
150
+ o === "suffix" ? s.push(...c) : s.unshift(...c), t == null || t.setFieldValue(l.name, s);
151
151
  }
152
- function S(e) {
153
- let o = f(l(u) || []);
152
+ function N(e) {
153
+ let o = f(n(u) || []);
154
154
  const r = d(e) ? [e] : e;
155
- o = o.filter((t, s) => !r.includes(s)), n == null || n.setFieldValue(a.name, o);
155
+ o = o.filter((a, s) => !r.includes(s)), t == null || t.setFieldValue(l.name, o);
156
156
  }
157
- function V() {
158
- return l(u);
157
+ function S() {
158
+ return n(u);
159
159
  }
160
160
  function _(e) {
161
161
  var o;
162
- return (o = l(u)) == null ? void 0 : o[e];
162
+ return (o = n(u)) == null ? void 0 : o[e];
163
163
  }
164
164
  function k(e, o, r = !0) {
165
- const t = f(l(u));
166
- t[e] && (t[e] = {
167
- ...r ? t[e] : {},
165
+ const a = f(n(u));
166
+ a[e] && (a[e] = {
167
+ ...r ? a[e] : {},
168
168
  ...o
169
- }, n == null || n.setFieldValue(a.name, [...t]));
169
+ }, t == null || t.setFieldValue(l.name, [...a]));
170
170
  }
171
171
  function j(e) {
172
- n == null || n.setFieldValue(a.name, e);
172
+ t == null || t.setFieldValue(l.name, e);
173
173
  }
174
174
  function A(e, o) {
175
- var t;
175
+ var a;
176
176
  const r = e === "end" ? u.value.length - 1 : e;
177
- Z(r, (t = i.value) == null ? void 0 : t.$el, o);
177
+ I(r, (a = i.value) == null ? void 0 : a.$el, o);
178
+ }
179
+ function P() {
180
+ var e;
181
+ (e = t == null ? void 0 : t.setFieldValue) == null || e.call(t, l.name, []);
178
182
  }
179
183
  return y({
180
- add: E,
181
- remove: S,
184
+ add: v,
185
+ remove: N,
182
186
  getRowData: _,
183
- getRowsData: V,
187
+ getRowsData: S,
184
188
  setRowData: k,
185
- addMultiple: N,
189
+ addMultiple: E,
186
190
  scrollTo: A,
187
- setTableData: j
188
- }), (e, o) => (K(), M(l(b).FormItem, x(e.formItem, {
191
+ setTableData: j,
192
+ clear: P
193
+ }), (e, o) => (M(), G(n(b).FormItem, x(e.formItem, {
189
194
  name: e.name,
190
195
  label: e.label
191
196
  }), {
192
- default: g(() => [G(l(J), x(l(w)(a, ["name", "maxLength", "onChange"]), {
193
- class: l(L)(),
194
- columns: l(v),
197
+ default: g(() => [H(n(Q), x(n(w)(l, ["name", "maxLength", "onChange"]), {
198
+ class: n(L)(),
199
+ columns: n(V),
195
200
  "data-source": u.value,
196
201
  ref_key: "tableRef",
197
202
  ref: i
198
- }), H({
203
+ }), W({
199
204
  _: 2
200
- }, [W(l(w)(D, ["headerCell"]), (r, t) => ({
201
- name: t,
202
- fn: g((s) => [$(e.$slots, t, U(q(s || {})))])
205
+ }, [$(n(w)(D, ["headerCell"]), (r, a) => ({
206
+ name: a,
207
+ fn: g((s) => [U(e.$slots, a, q(J(s || {})))])
203
208
  }))]), 1040, ["class", "columns", "data-source"])]),
204
209
  _: 3
205
210
  }, 16, ["name", "label"]));
206
211
  }
207
212
  });
208
213
  export {
209
- ie as default
214
+ ce as default
210
215
  };
@@ -1,6 +1,6 @@
1
1
  import { ComputedRef, Ref } from 'vue';
2
2
  import { EditableTableFormItemProps, EditableTableProps } from '../interface';
3
3
  import { ValueTypeRenderConfig } from '../../config-provider';
4
- import { ColumnType } from 'ant-design-vue/es/table';
4
+ import { ColumnType } from '@aplus-frontend/antdv/es/table';
5
5
  declare const useGetColumns: (props: EditableTableProps | EditableTableFormItemProps, extraValueTypes: Ref<Record<string, ValueTypeRenderConfig> | undefined>) => ComputedRef<ColumnType<any>[]>;
6
6
  export default useGetColumns;
@@ -3,7 +3,7 @@ import { omit as y, isFunction as k, isArray as f } from "lodash-unified";
3
3
  import { getEditableTableTitle as w, mergeClass as A, getFinalNode as q } from "../utils.mjs";
4
4
  import { updateFormProps as v, getFieldProps as E, getTableRenderProps as G } from "../../ap-table/utils.mjs";
5
5
  import "../../config-provider/index.mjs";
6
- import { useToken as S } from "ant-design-vue/es/theme/internal";
6
+ import { useToken as S } from "@aplus-frontend/antdv/es/theme/internal";
7
7
  import { useNamespace as U } from "../../config-provider/hooks/use-namespace.mjs";
8
8
  const M = (a, b) => {
9
9
  const {
@@ -1,5 +1,5 @@
1
1
  import { EditableTableProps, EditableColumnType } from './interface';
2
- import { NamePath, ValidateOptions } from 'ant-design-vue/es/form/interface';
2
+ import { NamePath, ValidateOptions } from '@aplus-frontend/antdv/es/form/interface';
3
3
  import { Recordable } from '../type';
4
4
  import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
5
5
  import { VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as W, useSlots as $, ref as w, watch as C, unref as o, openBlock as q, createBlock as J, withCtx as c, createVNode as b, mergeProps as Q, createSlots as X, renderList as Y, renderSlot as Z, normalizeProps as ee, guardReactiveProps as te } from "vue";
2
- import { Table as ae } from "ant-design-vue";
2
+ import { Table as ae } from "@aplus-frontend/antdv";
3
3
  import { ApForm as p } from "../ap-form/index.mjs";
4
4
  import { isEqual as ne, isArray as R, isNumber as x, cloneDeep as h, omit as F } from "lodash-unified";
5
5
  import "../config-provider/index.mjs";
@@ -1,10 +1,10 @@
1
- import { ColumnType, TableProps } from 'ant-design-vue/es/table';
1
+ import { ColumnType, TableProps } from '@aplus-frontend/antdv/es/table';
2
2
  import { ApTableValueFields, ApTableValueTypes, CommonFieldReturnType, FieldPropsType, ValueEnum } from '../ap-table';
3
- import { NamePath, ValidateOptions } from 'ant-design-vue/es/form/interface';
4
- import { DataIndex } from 'ant-design-vue/es/vc-table/interface';
5
- import { FormItemProps } from 'ant-design-vue';
3
+ import { NamePath, ValidateOptions } from '@aplus-frontend/antdv/es/form/interface';
4
+ import { DataIndex } from '@aplus-frontend/antdv/es/vc-table/interface';
5
+ import { FormItemProps } from '@aplus-frontend/antdv';
6
6
  import { VNode } from 'vue';
7
- import { EllipsisConfig } from 'ant-design-vue/es/typography/Base';
7
+ import { EllipsisConfig } from '@aplus-frontend/antdv/es/typography/Base';
8
8
  import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
9
9
  import { Recordable } from '../type';
10
10
  export type EditableColumnType<RecordType = any, ExtraValueType = 'text', ValueType extends ApTableValueTypes = ApTableValueTypes, MergedValueType extends ExtraValueType | ValueType = ExtraValueType | ValueType> = MergedValueType extends ExtraValueType | ValueType ? Omit<ColumnType<RecordType>, 'children' | 'customRender' | 'ellipsis'> & {
@@ -175,4 +175,4 @@ export type EditableTableExpose<ModelType = any, RecordType = any> = {
175
175
  * 可编辑表格作为表单项暴露的实例
176
176
  * @description 作为Form表单使用时不再暴露表单相关的API
177
177
  */
178
- export type EditableTableFormItemExpose<ModelType = any, RecordType = any> = Omit<EditableTableExpose<ModelType, RecordType>, 'resetFields' | 'validateFields' | 'clear'>;
178
+ export type EditableTableFormItemExpose<ModelType = any, RecordType = any> = Omit<EditableTableExpose<ModelType, RecordType>, 'resetFields' | 'validateFields'>;
@@ -1,54 +1,54 @@
1
- import { isVNode as I, createVNode as r, mergeProps as S, createTextVNode as F, Fragment as w } from "vue";
2
- import { isFunction as m, isArray as g, isBoolean as P, omit as V, isString as q } from "lodash-unified";
3
- import { apTableFormItemMap as v, noRenderAsFormItemValueList as C, apTableRenderItemMap as N } from "../ap-table/constants.mjs";
4
- import { isDef as j } from "../utils/index.mjs";
1
+ import { isVNode as I, createVNode as s, mergeProps as S, createTextVNode as F, Fragment as w } from "vue";
2
+ import { isFunction as T, isArray as h, isBoolean as P, omit as V, isString as q } from "lodash-unified";
3
+ import { apTableFormItemMap as C, noRenderAsFormItemValueList as N, apTableRenderItemMap as j } from "../ap-table/constants.mjs";
4
+ import { isDef as v } from "../utils/index.mjs";
5
5
  import { getValueStr as A } from "../ap-field/number/helper.mjs";
6
6
  import O from "scroll-into-view-if-needed";
7
- import { Typography as W, Tooltip as _ } from "ant-design-vue";
7
+ import { Typography as R, Tooltip as W } from "@aplus-frontend/antdv";
8
8
  import "../ap-form/index.mjs";
9
- import { objectToString as D } from "../ap-table/utils.mjs";
9
+ import { objectToString as _, getTableRenderType as D } from "../ap-table/utils.mjs";
10
10
  import { QuestionCircleOutlined as E } from "@ant-design/icons-vue";
11
- import T from "../ap-form/item/index.vue.mjs";
12
- function b(t) {
11
+ import b from "../ap-form/item/index.vue.mjs";
12
+ function g(t) {
13
13
  return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !I(t);
14
14
  }
15
- function R(t) {
16
- return v[t];
17
- }
18
15
  function k(t) {
16
+ return C[t];
17
+ }
18
+ function B(t) {
19
19
  if (!t.fieldProps)
20
20
  return !1;
21
- const e = m(t.fieldProps) ? t.fieldProps({}) : t.fieldProps;
22
- return j(e.required) ? e.required : (g(e.rules) ? e.rules : e.rules ? [e.rules] : []).some((o) => o.required);
21
+ const e = T(t.fieldProps) ? t.fieldProps({}) : t.fieldProps;
22
+ return v(e.required) ? e.required : (h(e.rules) ? e.rules : e.rules ? [e.rules] : []).some((i) => i.required);
23
23
  }
24
- function B(t, e) {
24
+ function L(t, e) {
25
25
  if (t.valueType === "text" || t.valueType === "textArea")
26
26
  return e || "--";
27
27
  if (t.valueType === "number") {
28
- const i = t.fieldProps ? m(t.fieldProps) ? t.fieldProps({}) : t.fieldProps : {};
29
- return A(e, i) || "--";
28
+ const o = t.fieldProps ? T(t.fieldProps) ? t.fieldProps({}) : t.fieldProps : {};
29
+ return A(e, o) || "--";
30
30
  }
31
- return D(e);
31
+ return _(e);
32
32
  }
33
- function H(t, e) {
34
- const i = [t];
33
+ function M(t, e) {
34
+ const o = [t];
35
35
  if (e) {
36
- const o = g(e) ? e : [e];
37
- i.unshift(...o);
36
+ const i = h(e) ? e : [e];
37
+ o.unshift(...i);
38
38
  }
39
- return i.join(" ");
39
+ return o.join(" ");
40
40
  }
41
- function M(t, e = document.body, i = {}) {
42
- const o = e.querySelectorAll("tr.ant-table-row")[t];
43
- o && O(o, {
41
+ function tt(t, e = document.body, o = {}) {
42
+ const i = e.querySelectorAll("tr.ant-table-row")[t];
43
+ i && O(i, {
44
44
  scrollMode: "if-needed",
45
45
  block: "nearest",
46
46
  behavior: "smooth",
47
- ...i
47
+ ...o
48
48
  });
49
49
  }
50
- function L(t, e, i) {
51
- return C.includes(t.valueType) ? i : t.copyable || t.ellipsis ? r(W.Paragraph, {
50
+ function Q(t, e, o) {
51
+ return N.includes(t.valueType) ? o : t.copyable || t.ellipsis ? s(R.Paragraph, {
52
52
  copyable: t.copyable ? {
53
53
  text: e,
54
54
  tooltip: !1
@@ -59,76 +59,76 @@ function L(t, e, i) {
59
59
  ...t.ellipsis,
60
60
  tooltip: e
61
61
  } : !1,
62
- content: t.ellipsis ? B(t, e) : i
63
- }, null) : i;
62
+ content: t.ellipsis ? L(t, e) : o
63
+ }, null) : o;
64
64
  }
65
- function tt(t, e, i, o, d, l) {
66
- var u, y;
65
+ function et(t, e, o, i, u, l) {
66
+ var m, c;
67
67
  if (e) {
68
68
  if (t.customRenderFormItem) {
69
- const a = t.customRenderFormItem(t, i.field, e, d);
70
- return r(T, V(i, ["field"]), b(a) ? a : {
71
- default: () => [a]
69
+ const d = t.customRenderFormItem(t, o.field, e, u);
70
+ return s(b, V(o, ["field"]), g(d) ? d : {
71
+ default: () => [d]
72
72
  });
73
73
  }
74
- const s = R(t.valueType);
75
- if (s)
76
- return r(s, i, null);
77
- const n = l == null ? void 0 : l[t.valueType], p = (u = n == null ? void 0 : n.renderFormItem) == null ? void 0 : u.call(n, i.field);
78
- return p ? r(T, i, b(p) ? p : {
79
- default: () => [p]
74
+ const r = k(t.valueType);
75
+ if (r)
76
+ return s(r, o, null);
77
+ const n = l == null ? void 0 : l[t.valueType], f = (m = n == null ? void 0 : n.renderFormItem) == null ? void 0 : m.call(n, o.field);
78
+ return f ? s(b, o, g(f) ? f : {
79
+ default: () => [f]
80
80
  }) : null;
81
81
  }
82
- let f;
83
- const c = N[t.valueType];
84
- if (c)
85
- f = r(c, S(i.field, {
82
+ let p;
83
+ const y = D(t), a = j[y];
84
+ if (a)
85
+ p = s(a, S(o.field, {
86
86
  mode: "read"
87
87
  }), null);
88
88
  else {
89
- const s = l == null ? void 0 : l[t.valueType];
90
- f = (y = s == null ? void 0 : s.render) == null ? void 0 : y.call(s, o, d, i.field);
89
+ const r = l == null ? void 0 : l[y];
90
+ p = (c = r == null ? void 0 : r.render) == null ? void 0 : c.call(r, i, u, o.field);
91
91
  }
92
- return f ? L(t, o, f) : null;
92
+ return p ? Q(t, i, p) : null;
93
93
  }
94
- function et(t, e, i, o, d) {
95
- const l = o == null ? void 0 : o({
94
+ function ot(t, e, o, i, u) {
95
+ const l = i == null ? void 0 : i({
96
96
  title: t.title,
97
97
  column: t
98
- }), f = (l == null ? void 0 : l.filter((h) => h.type !== Symbol.for("v-cmt"))) || [];
99
- if (l && f.length > 0)
98
+ }), p = (l == null ? void 0 : l.filter((d) => d.type !== Symbol.for("v-cmt"))) || [];
99
+ if (l && p.length > 0)
100
100
  return l;
101
- const u = k(t), s = q(t.title) ? {
101
+ const a = B(t), c = q(t.title) ? {
102
102
  class: e,
103
103
  title: t.title
104
- } : {}, n = r("div", s, [u ? r("span", {
105
- class: i
106
- }, [F("*")]) : null, t.title]), p = t.tooltip ? m(t.tooltip) ? t.tooltip(t) : r(w, null, [t.tooltip]) : null;
107
- return p ? r("span", {
104
+ } : {}, r = s("div", c, [a ? s("span", {
105
+ class: o
106
+ }, [F("*")]) : null, t.title]), n = t.tooltip ? T(t.tooltip) ? t.tooltip(t) : s(w, null, [t.tooltip]) : null;
107
+ return n ? s("span", {
108
108
  style: {
109
109
  display: "inline-flex",
110
110
  alignItems: "center",
111
111
  maxWidth: "100%"
112
112
  }
113
- }, [n, r(_, {
114
- title: p,
113
+ }, [r, s(W, {
114
+ title: n,
115
115
  placement: "bottom"
116
116
  }, {
117
- default: () => [r(E, {
117
+ default: () => [s(E, {
118
118
  style: {
119
119
  padding: "4px",
120
- color: d,
120
+ color: u,
121
121
  verticalAlign: "middle"
122
122
  }
123
123
  }, null)]
124
- })]) : n;
124
+ })]) : r;
125
125
  }
126
126
  export {
127
- k as getColumnIsRequired,
128
- R as getEditableComponent,
129
- et as getEditableTableTitle,
130
- tt as getFinalNode,
131
- B as getRawDisplayValue,
132
- H as mergeClass,
133
- M as scrollToRowIndex
127
+ B as getColumnIsRequired,
128
+ k as getEditableComponent,
129
+ ot as getEditableTableTitle,
130
+ et as getFinalNode,
131
+ L as getRawDisplayValue,
132
+ M as mergeClass,
133
+ tt as scrollToRowIndex
134
134
  };
@@ -1,7 +1,7 @@
1
- import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
2
- import { NotificationArgsProps, ConfigProps } from 'ant-design-vue/lib/notification';
3
- import { ModalFuncProps } from 'ant-design-vue';
4
- import { MessageApi } from 'ant-design-vue/es/message';
1
+ import { ModalFuncProps } from '@aplus-frontend/antdv/lib/modal/Modal';
2
+ import { NotificationArgsProps, ConfigProps } from '@aplus-frontend/antdv/lib/notification';
3
+ import { ModalFuncProps } from '@aplus-frontend/antdv';
4
+ import { MessageApi } from '@aplus-frontend/antdv/es/message';
5
5
  export interface NotifyApi {
6
6
  info(config: NotificationArgsProps): void;
7
7
  success(config: NotificationArgsProps): void;
@@ -1,5 +1,5 @@
1
1
  import { createVNode as o } from "vue";
2
- import { Modal as r, notification as i, message as s } from "ant-design-vue";
2
+ import { Modal as r, notification as i, message as s } from "@aplus-frontend/antdv";
3
3
  import { InfoCircleFilled as c, CheckCircleFilled as f, CloseCircleFilled as d } from "@ant-design/icons-vue";
4
4
  import "../config-provider/index.mjs";
5
5
  import { isType as m } from "@fruits-chain/utils";