@aplus-frontend/ui 0.1.20 → 0.1.22

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 (335) hide show
  1. package/es/index.mjs +176 -170
  2. package/es/src/ap-action/group/index.vue.d.ts +7 -6
  3. package/es/src/ap-action/item/index.vue.d.ts +20 -14
  4. package/es/src/ap-action/item-dropdown/index.vue.d.ts +21 -15
  5. package/es/src/ap-action/item-modal/index.vue.d.ts +20 -14
  6. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +20 -14
  7. package/es/src/ap-custom-column/column-select.vue.mjs +47 -46
  8. package/es/src/ap-custom-column/custom-column.vue.mjs +36 -35
  9. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +20 -15
  10. package/es/src/ap-descriptions/help-message/index.vue.d.ts +12 -7
  11. package/es/src/ap-download/ap-download.vue.d.ts +17 -12
  12. package/es/src/ap-field/checkbox/index.vue.d.ts +6 -5
  13. package/es/src/ap-field/date/index.vue.d.ts +18 -12
  14. package/es/src/ap-field/date-range/index.vue.d.ts +25 -19
  15. package/es/src/ap-field/number/index.vue.d.ts +459 -12
  16. package/es/src/ap-field/radio/index.vue.d.ts +6 -5
  17. package/es/src/ap-field/rate/index.vue.d.ts +138 -16
  18. package/es/src/ap-field/segmented/index.vue.d.ts +25 -19
  19. package/es/src/ap-field/select/index.vue.d.ts +597 -16
  20. package/es/src/ap-field/select/index.vue.mjs +1 -1
  21. package/es/src/ap-field/slider/index.vue.d.ts +375 -12
  22. package/es/src/ap-field/switch/index.vue.d.ts +16 -11
  23. package/es/src/ap-field/text/index.vue.d.ts +19 -13
  24. package/es/src/ap-field/text/password.vue.d.ts +19 -13
  25. package/es/src/ap-field/text-area/index.vue.d.ts +7 -6
  26. package/es/src/ap-field/text-area/index.vue.mjs +1 -1
  27. package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -14
  28. package/es/src/ap-form/ap-form-item.vue.d.ts +1008 -12
  29. package/es/src/ap-form/ap-form-item.vue.mjs +47 -44
  30. package/es/src/ap-form/ap-form-list.vue.d.ts +12 -7
  31. package/es/src/ap-form/ap-form.vue.d.ts +884 -13
  32. package/es/src/ap-form/items/checkbox/index.vue.d.ts +17 -12
  33. package/es/src/ap-form/items/date/index.vue.d.ts +40 -35
  34. package/es/src/ap-form/items/date-range/index.vue.d.ts +39 -34
  35. package/es/src/ap-form/items/number/index.vue.d.ts +583 -27
  36. package/es/src/ap-form/items/radio/index.vue.d.ts +217 -13
  37. package/es/src/ap-form/items/select/index.vue.d.ts +43 -38
  38. package/es/src/ap-form/items/switch/index.vue.d.ts +24 -19
  39. package/es/src/ap-form/items/text/index.vue.d.ts +591 -25
  40. package/es/src/ap-form/items/text/password.vue.d.ts +658 -27
  41. package/es/src/ap-form/items/text-area/index.vue.d.ts +486 -13
  42. package/es/src/ap-form/modal-form/index.vue.d.ts +650 -16
  43. package/es/src/ap-form/search-form/index.vue.d.ts +652 -18
  44. package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -15
  45. package/es/src/ap-list/index.vue.d.ts +5 -5
  46. package/es/src/ap-modal/interface.d.ts +3 -3
  47. package/es/src/ap-modal/utils/createModal.mjs +4 -4
  48. package/es/src/ap-table/ap-table.vue.d.ts +5 -5
  49. package/es/src/ap-table/ap-table.vue.mjs +107 -107
  50. package/es/src/ap-table/components/index/index.vue.d.ts +4 -4
  51. package/es/src/ap-table/constants.d.ts +1071 -1072
  52. package/es/src/ap-table/constants.mjs +11 -9
  53. package/es/src/ap-table/hooks/use-table-paging.d.ts +14 -3
  54. package/es/src/ap-table/hooks/use-table-paging.mjs +115 -103
  55. package/es/src/ap-table/interface.d.ts +13 -4
  56. package/es/src/ap-table/style/ap-table.css +9 -0
  57. package/es/src/ap-table/utils.d.ts +597 -598
  58. package/es/src/ap-table/utils.mjs +44 -39
  59. package/es/src/ap-tag/ap-tag-group.vue.d.ts +18 -11
  60. package/es/src/ap-tag/ap-tag.vue.d.ts +5 -5
  61. package/es/src/base-button/button.vue.d.ts +17 -12
  62. package/es/src/base-button/index.d.ts +30 -30
  63. package/es/src/basic/index.d.ts +6 -6
  64. package/es/src/basic/title.vue.d.ts +16 -11
  65. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +13 -8
  66. package/es/src/business/ap-image/ApImage.vue.d.ts +31 -62
  67. package/es/src/business/ap-image/ApImage.vue2.mjs +30 -26
  68. package/es/src/business/ap-image/interface.d.ts +17 -0
  69. package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +4 -4
  70. package/es/src/business/ap-label/ApLabel.d.ts +2 -2
  71. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
  72. package/es/src/business/ap-status/ApStatus.vue.d.ts +5 -5
  73. package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +5 -5
  74. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +7 -0
  75. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +41 -0
  76. package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +7 -0
  77. package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +29 -0
  78. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +6 -0
  79. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +28 -0
  80. package/es/src/business/ap-table-modal/index.d.ts +538 -0
  81. package/es/src/business/ap-table-modal/index.mjs +11 -0
  82. package/es/src/business/ap-table-modal/interface.d.ts +63 -0
  83. package/es/src/business/ap-table-modal/interface.mjs +4 -0
  84. package/es/src/business/ap-table-modal/modal-title.vue.d.ts +46 -0
  85. package/es/src/business/ap-table-modal/modal-title.vue.mjs +4 -0
  86. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +50 -0
  87. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +79 -0
  88. package/es/src/business/ap-table-modal/table-modal.vue.mjs +4 -0
  89. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +177 -0
  90. package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +19 -12
  91. package/es/src/business/index.d.ts +160 -152
  92. package/es/src/business/index.mjs +18 -16
  93. package/es/src/business/title/ApTitle.vue.d.ts +17 -12
  94. package/es/src/button/button.vue.d.ts +12 -7
  95. package/es/src/button/index.d.ts +2 -2
  96. package/es/src/check-card/group.vue.d.ts +18 -13
  97. package/es/src/check-card/index.vue.d.ts +16 -11
  98. package/es/src/config-provider/config-provider-props.d.ts +6 -4
  99. package/es/src/config-provider/config-provider.d.ts +5 -5
  100. package/es/src/config-provider/config-provider.mjs +9 -9
  101. package/es/src/config-provider/hooks/use-global-config.d.ts +2 -1
  102. package/es/src/config-provider/index.d.ts +17 -17
  103. package/es/src/container/index.d.ts +4 -4
  104. package/es/src/container/scroll-container.vue.d.ts +181 -8
  105. package/es/src/count-down/button.vue.d.ts +4 -4
  106. package/es/src/count-down/index.d.ts +8 -8
  107. package/es/src/count-down/input.vue.d.ts +16 -11
  108. package/es/src/cropper/cropper-avatar.vue.d.ts +4 -4
  109. package/es/src/cropper/cropper-image.vue.d.ts +4 -4
  110. package/es/src/cropper/index.d.ts +4 -4
  111. package/es/src/description/index.d.ts +2 -2
  112. package/es/src/dropdown/dropdown.vue.d.ts +16 -11
  113. package/es/src/dropdown/index.d.ts +2 -2
  114. package/es/src/editable-table/form-item.vue.d.ts +5 -5
  115. package/es/src/editable-table/index.vue.d.ts +6 -6
  116. package/es/src/icon/icon.vue.d.ts +4 -5
  117. package/es/src/icon/index.d.ts +16 -16
  118. package/es/src/icon/svg-icon.vue.d.ts +4 -4
  119. package/es/src/icon-picker/icon-picker.vue.d.ts +4 -4
  120. package/es/src/icon-picker/index.d.ts +2 -2
  121. package/es/src/index.mjs +69 -63
  122. package/es/src/locale/lang/en.mjs +29 -2
  123. package/es/src/locale/lang/zh-cn.mjs +29 -2
  124. package/es/src/modal/basic.vue.d.ts +210 -5
  125. package/es/src/modal/components/modal-close.vue.d.ts +4 -4
  126. package/es/src/modal/components/modal-footer.vue.d.ts +10 -5
  127. package/es/src/modal/components/modal-wrapper.vue.d.ts +77 -4
  128. package/es/src/modal/components/modal.d.ts +1 -1
  129. package/es/src/modal/index.d.ts +5 -5
  130. package/es/src/pro-form/components/api-cascader.vue.d.ts +4 -4
  131. package/es/src/pro-form/components/api-radio-group.vue.d.ts +4 -4
  132. package/es/src/pro-form/components/api-select.vue.d.ts +16 -11
  133. package/es/src/pro-form/components/api-transfer.vue.d.ts +5 -5
  134. package/es/src/pro-form/components/api-tree-select.vue.d.ts +16 -11
  135. package/es/src/pro-form/components/api-tree.vue.d.ts +16 -11
  136. package/es/src/pro-form/components/form-action.vue.d.ts +19 -14
  137. package/es/src/pro-form/components/radio-button-group.vue.d.ts +4 -4
  138. package/es/src/pro-form/hooks/use-label-width.d.ts +25 -25
  139. package/es/src/pro-form/pro-form.vue.d.ts +888 -15
  140. package/es/src/pro-form/table-form-inner.vue.d.ts +6 -5
  141. package/es/src/pro-form/table-form.vue.d.ts +6 -5
  142. package/es/src/pro-form/types/form.d.ts +4 -4
  143. package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +7 -2
  144. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
  145. package/es/src/pro-table/components/table-action.vue.d.ts +7 -2
  146. package/es/src/pro-table/components/table-footer.vue.d.ts +4 -4
  147. package/es/src/pro-table/components/table-header.vue.d.ts +9 -4
  148. package/es/src/pro-table/components/table-image.vue.d.ts +4 -4
  149. package/es/src/pro-table/components/table-selection-bar.vue.d.ts +4 -4
  150. package/es/src/pro-table/pro-table.vue.d.ts +2049 -28
  151. package/es/src/prompt/utils.d.ts +1 -1
  152. package/es/src/scroll-bar/index.d.ts +2 -2
  153. package/es/src/scroll-bar/scroll-bar.vue.d.ts +19 -11
  154. package/es/src/strength-meter/index.d.ts +2 -2
  155. package/es/src/strength-meter/strength-meter.vue.d.ts +16 -11
  156. package/es/src/theme/antd-global-overwrite/admin/index.css +1 -0
  157. package/es/src/theme/antd-global-overwrite/admin/table.css +1 -0
  158. package/es/src/theme/antd-global-overwrite/aplus/index.css +1 -0
  159. package/es/src/theme/antd-global-overwrite/aplus/table.css +1 -0
  160. package/es/src/theme/ap-table/ap-table.css +9 -0
  161. package/es/src/theme/css-var/index.mjs +23 -7
  162. package/es/src/transition/collapse-transition.vue.d.ts +7 -2
  163. package/es/src/utils/config-provider-preset.d.ts +5 -5
  164. package/es/src/work-order-modal/createWorkOrder.mjs +20 -12
  165. package/es/src/work-order-modal/help-message.vue2.mjs +21 -18
  166. package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  167. package/es/src/work-order-modal/work-order-modal.vue.mjs +64 -62
  168. package/lib/index.js +1 -1
  169. package/lib/src/ap-action/group/index.vue.d.ts +7 -6
  170. package/lib/src/ap-action/item/index.vue.d.ts +20 -14
  171. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +21 -15
  172. package/lib/src/ap-action/item-modal/index.vue.d.ts +20 -14
  173. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +20 -14
  174. package/lib/src/ap-custom-column/column-select.vue.js +1 -1
  175. package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
  176. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +20 -15
  177. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +12 -7
  178. package/lib/src/ap-download/ap-download.vue.d.ts +17 -12
  179. package/lib/src/ap-field/checkbox/index.vue.d.ts +6 -5
  180. package/lib/src/ap-field/date/index.vue.d.ts +18 -12
  181. package/lib/src/ap-field/date-range/index.vue.d.ts +25 -19
  182. package/lib/src/ap-field/number/index.vue.d.ts +459 -12
  183. package/lib/src/ap-field/radio/index.vue.d.ts +6 -5
  184. package/lib/src/ap-field/rate/index.vue.d.ts +138 -16
  185. package/lib/src/ap-field/segmented/index.vue.d.ts +25 -19
  186. package/lib/src/ap-field/select/index.vue.d.ts +597 -16
  187. package/lib/src/ap-field/select/index.vue.js +1 -1
  188. package/lib/src/ap-field/slider/index.vue.d.ts +375 -12
  189. package/lib/src/ap-field/switch/index.vue.d.ts +16 -11
  190. package/lib/src/ap-field/text/index.vue.d.ts +19 -13
  191. package/lib/src/ap-field/text/password.vue.d.ts +19 -13
  192. package/lib/src/ap-field/text-area/index.vue.d.ts +7 -6
  193. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  194. package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -14
  195. package/lib/src/ap-form/ap-form-item.vue.d.ts +1008 -12
  196. package/lib/src/ap-form/ap-form-item.vue.js +1 -1
  197. package/lib/src/ap-form/ap-form-list.vue.d.ts +12 -7
  198. package/lib/src/ap-form/ap-form.vue.d.ts +884 -13
  199. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +17 -12
  200. package/lib/src/ap-form/items/date/index.vue.d.ts +40 -35
  201. package/lib/src/ap-form/items/date-range/index.vue.d.ts +39 -34
  202. package/lib/src/ap-form/items/number/index.vue.d.ts +583 -27
  203. package/lib/src/ap-form/items/radio/index.vue.d.ts +217 -13
  204. package/lib/src/ap-form/items/select/index.vue.d.ts +43 -38
  205. package/lib/src/ap-form/items/switch/index.vue.d.ts +24 -19
  206. package/lib/src/ap-form/items/text/index.vue.d.ts +591 -25
  207. package/lib/src/ap-form/items/text/password.vue.d.ts +658 -27
  208. package/lib/src/ap-form/items/text-area/index.vue.d.ts +486 -13
  209. package/lib/src/ap-form/modal-form/index.vue.d.ts +650 -16
  210. package/lib/src/ap-form/search-form/index.vue.d.ts +652 -18
  211. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -15
  212. package/lib/src/ap-list/index.vue.d.ts +5 -5
  213. package/lib/src/ap-modal/interface.d.ts +3 -3
  214. package/lib/src/ap-modal/utils/createModal.js +1 -1
  215. package/lib/src/ap-table/ap-table.vue.d.ts +5 -5
  216. package/lib/src/ap-table/ap-table.vue.js +1 -1
  217. package/lib/src/ap-table/components/index/index.vue.d.ts +4 -4
  218. package/lib/src/ap-table/constants.d.ts +1071 -1072
  219. package/lib/src/ap-table/constants.js +1 -1
  220. package/lib/src/ap-table/hooks/use-table-paging.d.ts +14 -3
  221. package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
  222. package/lib/src/ap-table/interface.d.ts +13 -4
  223. package/lib/src/ap-table/style/ap-table.css +9 -0
  224. package/lib/src/ap-table/utils.d.ts +597 -598
  225. package/lib/src/ap-table/utils.js +1 -1
  226. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +18 -11
  227. package/lib/src/ap-tag/ap-tag.vue.d.ts +5 -5
  228. package/lib/src/base-button/button.vue.d.ts +17 -12
  229. package/lib/src/base-button/index.d.ts +30 -30
  230. package/lib/src/basic/index.d.ts +6 -6
  231. package/lib/src/basic/title.vue.d.ts +16 -11
  232. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +13 -8
  233. package/lib/src/business/ap-image/ApImage.vue.d.ts +31 -62
  234. package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
  235. package/lib/src/business/ap-image/interface.d.ts +17 -0
  236. package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +4 -4
  237. package/lib/src/business/ap-label/ApLabel.d.ts +2 -2
  238. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
  239. package/lib/src/business/ap-status/ApStatus.vue.d.ts +5 -5
  240. package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +5 -5
  241. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +7 -0
  242. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -0
  243. package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +7 -0
  244. package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -0
  245. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +6 -0
  246. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -0
  247. package/lib/src/business/ap-table-modal/index.d.ts +538 -0
  248. package/lib/src/business/ap-table-modal/index.js +1 -0
  249. package/lib/src/business/ap-table-modal/interface.d.ts +63 -0
  250. package/lib/src/business/ap-table-modal/interface.js +1 -0
  251. package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +46 -0
  252. package/lib/src/business/ap-table-modal/modal-title.vue.js +1 -0
  253. package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -0
  254. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +79 -0
  255. package/lib/src/business/ap-table-modal/table-modal.vue.js +1 -0
  256. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -0
  257. package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +19 -12
  258. package/lib/src/business/index.d.ts +160 -152
  259. package/lib/src/business/index.js +1 -1
  260. package/lib/src/business/title/ApTitle.vue.d.ts +17 -12
  261. package/lib/src/button/button.vue.d.ts +12 -7
  262. package/lib/src/button/index.d.ts +2 -2
  263. package/lib/src/check-card/group.vue.d.ts +18 -13
  264. package/lib/src/check-card/index.vue.d.ts +16 -11
  265. package/lib/src/config-provider/config-provider-props.d.ts +6 -4
  266. package/lib/src/config-provider/config-provider.d.ts +5 -5
  267. package/lib/src/config-provider/config-provider.js +1 -1
  268. package/lib/src/config-provider/hooks/use-global-config.d.ts +2 -1
  269. package/lib/src/config-provider/index.d.ts +17 -17
  270. package/lib/src/container/index.d.ts +4 -4
  271. package/lib/src/container/scroll-container.vue.d.ts +181 -8
  272. package/lib/src/count-down/button.vue.d.ts +4 -4
  273. package/lib/src/count-down/index.d.ts +8 -8
  274. package/lib/src/count-down/input.vue.d.ts +16 -11
  275. package/lib/src/cropper/cropper-avatar.vue.d.ts +4 -4
  276. package/lib/src/cropper/cropper-image.vue.d.ts +4 -4
  277. package/lib/src/cropper/index.d.ts +4 -4
  278. package/lib/src/description/index.d.ts +2 -2
  279. package/lib/src/dropdown/dropdown.vue.d.ts +16 -11
  280. package/lib/src/dropdown/index.d.ts +2 -2
  281. package/lib/src/editable-table/form-item.vue.d.ts +5 -5
  282. package/lib/src/editable-table/index.vue.d.ts +6 -6
  283. package/lib/src/icon/icon.vue.d.ts +4 -5
  284. package/lib/src/icon/index.d.ts +16 -16
  285. package/lib/src/icon/svg-icon.vue.d.ts +4 -4
  286. package/lib/src/icon-picker/icon-picker.vue.d.ts +4 -4
  287. package/lib/src/icon-picker/index.d.ts +2 -2
  288. package/lib/src/index.js +1 -1
  289. package/lib/src/locale/lang/en.js +1 -1
  290. package/lib/src/locale/lang/zh-cn.js +1 -1
  291. package/lib/src/modal/basic.vue.d.ts +210 -5
  292. package/lib/src/modal/components/modal-close.vue.d.ts +4 -4
  293. package/lib/src/modal/components/modal-footer.vue.d.ts +10 -5
  294. package/lib/src/modal/components/modal-wrapper.vue.d.ts +77 -4
  295. package/lib/src/modal/components/modal.d.ts +1 -1
  296. package/lib/src/modal/index.d.ts +5 -5
  297. package/lib/src/pro-form/components/api-cascader.vue.d.ts +4 -4
  298. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +4 -4
  299. package/lib/src/pro-form/components/api-select.vue.d.ts +16 -11
  300. package/lib/src/pro-form/components/api-transfer.vue.d.ts +5 -5
  301. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +16 -11
  302. package/lib/src/pro-form/components/api-tree.vue.d.ts +16 -11
  303. package/lib/src/pro-form/components/form-action.vue.d.ts +19 -14
  304. package/lib/src/pro-form/components/radio-button-group.vue.d.ts +4 -4
  305. package/lib/src/pro-form/hooks/use-label-width.d.ts +25 -25
  306. package/lib/src/pro-form/pro-form.vue.d.ts +888 -15
  307. package/lib/src/pro-form/table-form-inner.vue.d.ts +6 -5
  308. package/lib/src/pro-form/table-form.vue.d.ts +6 -5
  309. package/lib/src/pro-form/types/form.d.ts +4 -4
  310. package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +7 -2
  311. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
  312. package/lib/src/pro-table/components/table-action.vue.d.ts +7 -2
  313. package/lib/src/pro-table/components/table-footer.vue.d.ts +4 -4
  314. package/lib/src/pro-table/components/table-header.vue.d.ts +9 -4
  315. package/lib/src/pro-table/components/table-image.vue.d.ts +4 -4
  316. package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +4 -4
  317. package/lib/src/pro-table/pro-table.vue.d.ts +2049 -28
  318. package/lib/src/prompt/utils.d.ts +1 -1
  319. package/lib/src/scroll-bar/index.d.ts +2 -2
  320. package/lib/src/scroll-bar/scroll-bar.vue.d.ts +19 -11
  321. package/lib/src/strength-meter/index.d.ts +2 -2
  322. package/lib/src/strength-meter/strength-meter.vue.d.ts +16 -11
  323. package/lib/src/theme/antd-global-overwrite/admin/index.css +1 -0
  324. package/lib/src/theme/antd-global-overwrite/admin/table.css +1 -0
  325. package/lib/src/theme/antd-global-overwrite/aplus/index.css +1 -0
  326. package/lib/src/theme/antd-global-overwrite/aplus/table.css +1 -0
  327. package/lib/src/theme/ap-table/ap-table.css +9 -0
  328. package/lib/src/theme/css-var/index.js +1 -1
  329. package/lib/src/transition/collapse-transition.vue.d.ts +7 -2
  330. package/lib/src/utils/config-provider-preset.d.ts +5 -5
  331. package/lib/src/work-order-modal/createWorkOrder.js +1 -1
  332. package/lib/src/work-order-modal/help-message.vue2.js +1 -1
  333. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  334. package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
  335. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- import { ComponentFormSchema } from '../pro-form';
1
+ import { ComponentFormSchema } from '..';
2
2
  import { ComponentProps } from '../pro-form/types';
3
3
  type InputType = 'InputTextArea' | 'InputNumber' | 'Input';
4
4
  interface GenFormSchemasOptions {
@@ -164,7 +164,7 @@ export declare const Scrollbar: {
164
164
  viewClass: string | string[];
165
165
  viewStyle: string | string[];
166
166
  tag: string;
167
- }, {}, string, {}> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
167
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
168
168
  $slots: {
169
169
  default?(_: {}): any;
170
170
  };
@@ -172,5 +172,5 @@ export declare const Scrollbar: {
172
172
  $props: {
173
173
  onClick?: () => void;
174
174
  };
175
- }))));
175
+ }));
176
176
  export default Scrollbar;
@@ -2,8 +2,16 @@ import { ScrollbarProps } from './interface';
2
2
  import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
  import { StyleValue } from '../type';
4
4
  declare function __VLS_template(): {
5
- default?(_: {}): any;
5
+ slots: {
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {
9
+ wrap: HTMLDivElement;
10
+ resize: unknown;
11
+ };
12
+ attrs: Partial<{}>;
6
13
  };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
7
15
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ScrollbarProps>, {
8
16
  wrapStyle: string;
9
17
  wrapClass: string;
@@ -28,21 +36,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
28
36
  viewStyle: string | string[];
29
37
  tag: string;
30
38
  }, {}>;
31
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
39
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
40
  export default _default;
33
41
  type __VLS_WithDefaults<P, D> = {
34
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
42
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
35
43
  default: D[K];
36
44
  }> : P[K];
37
45
  };
38
- type __VLS_Prettify<T> = {
39
- [K in keyof T]: T[K];
40
- } & {};
41
- type __VLS_WithTemplateSlots<T, S> = T & {
42
- new (): {
43
- $slots: S;
44
- };
45
- };
46
46
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
47
  type __VLS_TypePropsToOption<T> = {
48
48
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -52,3 +52,11 @@ type __VLS_TypePropsToOption<T> = {
52
52
  required: true;
53
53
  };
54
54
  };
55
+ type __VLS_WithTemplateSlots<T, S> = T & {
56
+ new (): {
57
+ $slots: S;
58
+ };
59
+ };
60
+ type __VLS_PrettifyLocal<T> = {
61
+ [K in keyof T]: T[K];
62
+ } & {};
@@ -80,10 +80,10 @@ export declare const StrengthMeter: {
80
80
  "score-change": (...args: any[]) => void;
81
81
  }, string, {
82
82
  showInput: boolean;
83
- }, {}, string, {}> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
83
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
84
84
  $slots: Partial<Record<string, (_: any) => any>>;
85
85
  }) & ( Plugin & (new (...args: any[]) => {
86
86
  $props: {
87
87
  onClick?: () => void;
88
88
  };
89
- }))));
89
+ }));
@@ -1,6 +1,11 @@
1
1
  import { StrengthMeterProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
- declare function __VLS_template(): Partial<Record<string, (_: any) => any>>;
3
+ declare function __VLS_template(): {
4
+ slots: Partial<Record<string, (_: any) => any>>;
5
+ refs: {};
6
+ attrs: Partial<{}>;
7
+ };
8
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
4
9
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<StrengthMeterProps>, {
5
10
  showInput: boolean;
6
11
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -14,21 +19,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
14
19
  }, {
15
20
  showInput: boolean;
16
21
  }, {}>;
17
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
22
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
23
  export default _default;
19
24
  type __VLS_WithDefaults<P, D> = {
20
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
25
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
21
26
  default: D[K];
22
27
  }> : P[K];
23
28
  };
24
- type __VLS_Prettify<T> = {
25
- [K in keyof T]: T[K];
26
- } & {};
27
- type __VLS_WithTemplateSlots<T, S> = T & {
28
- new (): {
29
- $slots: S;
30
- };
31
- };
32
29
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
30
  type __VLS_TypePropsToOption<T> = {
34
31
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -38,3 +35,11 @@ type __VLS_TypePropsToOption<T> = {
38
35
  required: true;
39
36
  };
40
37
  };
38
+ type __VLS_WithTemplateSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
43
+ type __VLS_PrettifyLocal<T> = {
44
+ [K in keyof T]: T[K];
45
+ } & {};
@@ -745,6 +745,7 @@ div[class$='-basic-table-form-container ap-table--sticky'] form[class$='-basic-f
745
745
  position: sticky;
746
746
  top: 0;
747
747
  z-index: 99;
748
+ border-top: 4px solid #ffffff;
748
749
  }
749
750
  [class*='-basic-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container ul.ant-pagination,
750
751
  [class*='-ap-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container ul.ant-pagination,
@@ -219,6 +219,7 @@
219
219
  position: sticky;
220
220
  top: 0;
221
221
  z-index: 99;
222
+ border-top: 4px solid #ffffff;
222
223
  }
223
224
  [class*='-basic-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container ul.ant-pagination,
224
225
  [class*='-ap-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container ul.ant-pagination,
@@ -781,6 +781,7 @@ div[class$='-basic-table-form-container ap-table--sticky'] form[class$='-basic-f
781
781
  position: sticky;
782
782
  top: 0;
783
783
  z-index: 99;
784
+ border-top: 4px solid #ffffff;
784
785
  }
785
786
  [class*='-basic-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container ul.ant-pagination,
786
787
  [class*='-ap-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container ul.ant-pagination,
@@ -204,6 +204,7 @@
204
204
  position: sticky;
205
205
  top: 0;
206
206
  z-index: 99;
207
+ border-top: 4px solid #ffffff;
207
208
  }
208
209
  [class*='-basic-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container ul.ant-pagination,
209
210
  [class*='-ap-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container ul.ant-pagination,
@@ -86,3 +86,12 @@
86
86
  .aplus-ap-table .ant-table-cell .ant-typography {
87
87
  margin-bottom: 0;
88
88
  }
89
+ .aplus-ap-table-pagination-count-text {
90
+ color: var(--ap-table-pagination-total-count-color, #182948);
91
+ }
92
+ .aplus-ap-table-pagination--total-right {
93
+ padding-left: 12px;
94
+ }
95
+ .aplus-ap-table-pagination-total-wrapper {
96
+ color: var(--ap-table-pagination-total-color, #526A90);
97
+ }
@@ -39,6 +39,14 @@ const i = {
39
39
  "ap-table": {
40
40
  header: {
41
41
  bg: "#F2F6F9"
42
+ },
43
+ pagination: {
44
+ total: {
45
+ color: "#526A90",
46
+ count: {
47
+ color: "#182948"
48
+ }
49
+ }
42
50
  }
43
51
  },
44
52
  "ap-batch-action": {
@@ -88,6 +96,14 @@ const i = {
88
96
  "ap-table": {
89
97
  header: {
90
98
  bg: "#FAFAFA"
99
+ },
100
+ pagination: {
101
+ total: {
102
+ color: "#666666",
103
+ count: {
104
+ color: "#333333"
105
+ }
106
+ }
91
107
  }
92
108
  },
93
109
  "ap-batch-action": {
@@ -97,18 +113,18 @@ const i = {
97
113
  }
98
114
  }
99
115
  };
100
- function n(c) {
116
+ function s(c) {
101
117
  const o = {};
102
- function e(t, F) {
103
- const l = Object.keys(t);
104
- for (const a of l) {
105
- const r = t[a], s = [...F, a];
106
- r !== null && typeof r == "object" ? e(r, s) : o[`--${s.join("-")}`] = r;
118
+ function e(t, l) {
119
+ const F = Object.keys(t);
120
+ for (const a of F) {
121
+ const r = t[a], n = [...l, a];
122
+ r !== null && typeof r == "object" ? e(r, n) : o[`--${n.join("-")}`] = r;
107
123
  }
108
124
  }
109
125
  return e(c, []), o;
110
126
  }
111
- const u = n(i), d = n(b);
127
+ const u = s(i), d = s(b);
112
128
  function h(c) {
113
129
  Object.entries(c).forEach(([o, e]) => {
114
130
  document.documentElement.style.setProperty(o, e);
@@ -1,9 +1,14 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
  declare function __VLS_template(): {
3
- default?(_: {}): any;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ attrs: Partial<{}>;
4
8
  };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
5
10
  declare const __VLS_component: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
6
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
7
12
  export default _default;
8
13
  type __VLS_WithTemplateSlots<T, S> = T & {
9
14
  new (): {
@@ -2,9 +2,9 @@ import { TransformCellTextProps } from 'ant-design-vue/lib/table/interface';
2
2
  import { ConfigProviderProps } from 'ant-design-vue';
3
3
  import { ValidateMessages } from 'ant-design-vue/es/form/interface';
4
4
  import { RequiredMark } from 'ant-design-vue/es/form/Form';
5
+ import { ButtonSize } from 'ant-design-vue/es/button';
5
6
  import { CSPConfig } from 'ant-design-vue/es/config-provider';
6
7
  import { Locale } from 'ant-design-vue/es/locale';
7
- import { ButtonSize } from 'ant-design-vue/es/button';
8
8
  import { ThemeConfig } from 'ant-design-vue/es/config-provider/context';
9
9
  import { default as __DTS_DEFAULT_0__ } from 'ant-design-vue/es/config-provider/renderEmpty';
10
10
  import { TransformCellTextProps } from 'ant-design-vue/es/table/interface';
@@ -47,15 +47,15 @@ export declare function mergeAntdProvideConfig(config: ConfigProviderProps): {
47
47
  requiredMark?: RequiredMark;
48
48
  colon?: boolean;
49
49
  } | undefined;
50
+ space?: {
51
+ size?: ButtonSize | number;
52
+ } | undefined;
53
+ direction?: "ltr" | "rtl" | undefined;
50
54
  csp?: CSPConfig | undefined;
51
55
  locale?: Locale | undefined;
52
56
  pageHeader?: {
53
57
  ghost?: boolean;
54
58
  } | undefined;
55
- direction?: "ltr" | "rtl" | undefined;
56
- space?: {
57
- size?: ButtonSize | number;
58
- } | undefined;
59
59
  dropdownMatchSelectWidth?: number | boolean | undefined;
60
60
  pagination?: {
61
61
  showSizeChanger?: boolean;
@@ -1,20 +1,28 @@
1
- import { render as t, h as m } from "vue";
1
+ import { defineComponent as l, createVNode as r, render as n, h as m } from "vue";
2
2
  import "./work-order-modal.vue2.mjs";
3
- import i from "./work-order-modal.vue.mjs";
4
- function p(n, d) {
3
+ import "../config-provider/index.mjs";
4
+ import { ConfigProvider as i, globalConfigCached as c } from "../config-provider/config-provider.mjs";
5
+ import p from "./work-order-modal.vue.mjs";
6
+ function v(t, d) {
5
7
  const o = document.getElementsByTagName("body")[0], e = document.createElement("div");
6
- o.appendChild(e), t(m(i, {
7
- api: n,
8
- getOssAccess: d,
9
- onModalClose: r,
10
- open: !0
11
- }), e);
12
- function r() {
8
+ o.appendChild(e), n(m(/* @__PURE__ */ l({
9
+ render() {
10
+ return r(i, c.value, {
11
+ default: () => [r(p, {
12
+ api: t,
13
+ getOssAccess: d,
14
+ onModalClose: a,
15
+ open: !0
16
+ }, null)]
17
+ });
18
+ }
19
+ })), e);
20
+ function a() {
13
21
  setTimeout(() => {
14
- t(null, e), o.removeChild(e);
22
+ n(null, e), o.removeChild(e);
15
23
  }, 500);
16
24
  }
17
25
  }
18
26
  export {
19
- p as createWorkOrderModal
27
+ v as createWorkOrderModal
20
28
  };
@@ -1,24 +1,27 @@
1
- import { createElementVNode as e, defineComponent as o, openBlock as i, createBlock as n, unref as t, withCtx as l, createVNode as r } from "vue";
2
- import { QuestionCircleOutlined as s } from "@ant-design/icons-vue";
3
- import { Tooltip as a } from "ant-design-vue";
4
- const c = /* @__PURE__ */ e("div", { class: "title" }, [
5
- /* @__PURE__ */ e("div", { class: "flex" }, [
6
- /* @__PURE__ */ e("div", null, "1."),
7
- /* @__PURE__ */ e("div", null, "单个文件大小限制:50MB")
8
- ]),
9
- /* @__PURE__ */ e("div", { class: "flex" }, [
10
- /* @__PURE__ */ e("div", null, "2."),
11
- /* @__PURE__ */ e("div", null, "单次数量限制:10个")
12
- ])
13
- ], -1), v = /* @__PURE__ */ o({
1
+ import { createElementVNode as e, defineComponent as r, openBlock as s, createBlock as n, unref as t, withCtx as l, toDisplayString as i, createVNode as a } from "vue";
2
+ import { QuestionCircleOutlined as c } from "@ant-design/icons-vue";
3
+ import { Tooltip as d } from "ant-design-vue";
4
+ import "../config-provider/index.mjs";
5
+ import { useLocale as p } from "../config-provider/hooks/use-locale.mjs";
6
+ const _ = { class: "title" }, m = { class: "flex" }, f = /* @__PURE__ */ e("div", null, "1.", -1), u = { class: "flex" }, x = /* @__PURE__ */ e("div", null, "2.", -1), O = /* @__PURE__ */ r({
14
7
  __name: "help-message",
15
- setup(d) {
16
- return (p, m) => (i(), n(t(a), { placement: "right" }, {
8
+ setup(h) {
9
+ const { t: o } = p();
10
+ return (v, M) => (s(), n(t(d), { placement: "right" }, {
17
11
  title: l(() => [
18
- c
12
+ e("div", _, [
13
+ e("div", m, [
14
+ f,
15
+ e("div", null, i(t(o)("ap.workOrderModal.fileSizeMax")) + ":50MB", 1)
16
+ ]),
17
+ e("div", u, [
18
+ x,
19
+ e("div", null, i(t(o)("ap.workOrderModal.fileCountMax", { x: 10 })), 1)
20
+ ])
21
+ ])
19
22
  ]),
20
23
  default: l(() => [
21
- r(t(s), { style: {
24
+ a(t(c), { style: {
22
25
  color: "#1890FF",
23
26
  fontSize: "16px",
24
27
  transform: "translateX(-6px)"
@@ -29,5 +32,5 @@ const c = /* @__PURE__ */ e("div", { class: "title" }, [
29
32
  }
30
33
  });
31
34
  export {
32
- v as default
35
+ O as default
33
36
  };
@@ -1,8 +1,8 @@
1
1
  import { WorkOrderModalProps } from './interfaces';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
  declare const _default: DefineComponent<__VLS_TypePropsToOption<WorkOrderModalProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4
- modalClose: () => void;
5
4
  "update:open": () => void;
5
+ modalClose: () => void;
6
6
  }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<WorkOrderModalProps>>> & {
7
7
  "onUpdate:open"?: (() => any) | undefined;
8
8
  onModalClose?: (() => any) | undefined;
@@ -1,21 +1,21 @@
1
- import { defineComponent as F, ref as g, openBlock as T, createElementBlock as N, createVNode as t, unref as e, mergeProps as O, h as m, withCtx as n } from "vue";
2
- import { message as A, Modal as L, Input as P, Textarea as q } from "ant-design-vue";
1
+ import { defineComponent as B, ref as g, openBlock as F, createElementBlock as M, createVNode as t, unref as e, mergeProps as N, withCtx as n, h as E } from "vue";
2
+ import { message as L, Modal as A, Input as P, Textarea as q } from "ant-design-vue";
3
3
  import { ApForm as i } from "../ap-form/index.mjs";
4
4
  import "./help-message.vue.mjs";
5
5
  import "../ap-upload/index.mjs";
6
- import { DictCode as k } from "./interfaces.mjs";
6
+ import { DictCode as w } from "./interfaces.mjs";
7
7
  import "../config-provider/index.mjs";
8
8
  import "./style/index.css";
9
9
  import "../hooks/index.mjs";
10
+ import { useLocale as b } from "../config-provider/hooks/use-locale.mjs";
10
11
  import { useNamespace as I } from "../config-provider/hooks/use-namespace.mjs";
11
12
  import { useGlobalConfig as V } from "../config-provider/hooks/use-global-config.mjs";
12
- import { useLocale as R } from "../config-provider/hooks/use-locale.mjs";
13
- import { useControllableValue as S } from "../hooks/useControllableValue.mjs";
14
- import $ from "../ap-form/items/select/index.vue.mjs";
15
- import j from "../ap-form/items/radio/index.vue.mjs";
16
- import z from "../ap-upload/apUpload.vue.mjs";
17
- import D from "./help-message.vue2.mjs";
18
- const ne = /* @__PURE__ */ F({
13
+ import { useControllableValue as R } from "../hooks/useControllableValue.mjs";
14
+ import S from "../ap-form/items/select/index.vue.mjs";
15
+ import $ from "../ap-form/items/radio/index.vue.mjs";
16
+ import D from "../ap-upload/apUpload.vue.mjs";
17
+ import j from "./help-message.vue2.mjs";
18
+ const ne = /* @__PURE__ */ B({
19
19
  __name: "work-order-modal",
20
20
  props: {
21
21
  api: { type: Function },
@@ -59,105 +59,107 @@ const ne = /* @__PURE__ */ F({
59
59
  modalRender: { type: Function },
60
60
  mousePosition: {}
61
61
  },
62
- emits: ["modalClose", "update:open"],
63
- setup(C, { emit: x }) {
64
- const { b: v } = I("work-order-modal"), c = x, p = g(), a = g(!1), r = C, b = V("api"), { lang: _ } = R(), { value: h, updateValue: B } = S(r, c, {
62
+ emits: ["update:open", "modalClose"],
63
+ setup(v, { emit: C }) {
64
+ const { t: o } = b(), { b: x } = I("work-order-modal"), m = C, u = g(), l = g(!1), s = v, O = V("api"), { lang: h } = b(), { value: c, updateValue: _ } = R(s, m, {
65
65
  valuePropName: "open",
66
66
  defaultValue: !0
67
- }), u = async (l) => {
68
- var s, d;
69
- const o = await ((d = (s = b.value) == null ? void 0 : s.select) == null ? void 0 : d.call(s, {
70
- dictCode: l,
71
- locale: _.value
67
+ }), d = async (r) => {
68
+ var p, k;
69
+ const a = await ((k = (p = O.value) == null ? void 0 : p.select) == null ? void 0 : k.call(p, {
70
+ dictCode: r,
71
+ locale: h.value
72
72
  }));
73
- return o == null ? void 0 : o.map((y) => ({ label: y.itemText, value: y.itemValue }));
74
- }, w = async () => {
75
- var l;
76
- if (!a.value)
73
+ return a == null ? void 0 : a.map((y) => ({ label: y.itemText, value: y.itemValue }));
74
+ }, T = async () => {
75
+ var r;
76
+ if (!l.value)
77
77
  try {
78
- a.value = !0;
79
- const o = await ((l = p.value) == null ? void 0 : l.validateFields());
80
- await r.api(o), a.value = !1, A.success("操作成功"), f();
78
+ l.value = !0;
79
+ const a = await ((r = u.value) == null ? void 0 : r.validateFields());
80
+ await s.api(a), l.value = !1, L.success("操作成功"), f();
81
81
  } catch {
82
- a.value = !1;
82
+ l.value = !1;
83
83
  return;
84
84
  }
85
85
  }, f = () => {
86
- B(!1), c("modalClose");
86
+ _(!1), c.value = !1, setTimeout(() => {
87
+ console.log(c.value);
88
+ }, 500), m("modalClose");
87
89
  };
88
- return (l, o) => (T(), N("div", null, [
89
- t(e(L), O(r, {
90
+ return (r, a) => (F(), M("div", null, [
91
+ t(e(A), N(s, {
90
92
  width: 600,
91
93
  centered: !0,
92
- open: e(h),
93
- title: "创建工单",
94
- "ok-text": m("span", {}, ["确认"]),
95
- "cancel-text": m("span", {}, ["取消"]),
94
+ open: e(c),
95
+ title: e(o)("ap.workOrderModal.createTickets"),
96
+ "ok-text": e(o)("ap.workOrderModal.submit"),
97
+ "cancel-text": e(o)("ap.workOrderModal.cancel"),
96
98
  mask: !0,
97
99
  "mask-closable": !0,
98
- wrapClassName: e(v)(),
100
+ wrapClassName: e(x)(),
99
101
  closable: !0,
100
- onOk: w,
101
- confirmLoading: a.value,
102
+ onOk: T,
103
+ confirmLoading: l.value,
102
104
  onCancel: f
103
105
  }), {
104
106
  default: n(() => [
105
107
  t(e(i), {
106
108
  ref_key: "formRef",
107
- ref: p,
109
+ ref: u,
108
110
  colon: !1
109
111
  }, {
110
112
  default: n(() => [
111
113
  t(e(i).FormItem, {
112
- label: "工单标题",
114
+ label: e(o)("ap.workOrderModal.ticketsTitle"),
113
115
  name: "ticketsTitle",
114
- rules: [{ required: !0, message: "不可为空" }]
116
+ rules: [{ required: !0, message: e(o)("ap.workOrderModal.noEmpty") }]
115
117
  }, {
116
118
  default: n(() => [
117
119
  t(e(P), {
118
- placeholder: "请输入",
120
+ placeholder: e(o)("ap.workOrderModal.pleaseEntry"),
119
121
  maxlength: 50,
120
122
  "show-count": !0
121
- })
123
+ }, null, 8, ["placeholder"])
122
124
  ]),
123
125
  _: 1
124
- }),
125
- t(e($), {
126
- label: "工单类型",
126
+ }, 8, ["label", "rules"]),
127
+ t(e(S), {
128
+ label: e(o)("ap.workOrderModal.ticketsType"),
127
129
  name: "ticketsType",
128
- rules: [{ required: !0, message: "不可为空" }],
130
+ rules: [{ required: !0, message: e(o)("ap.workOrderModal.noEmpty") }],
129
131
  field: {
130
- placeholder: "请选择",
131
- request: () => u(e(k).TicketsType)
132
+ placeholder: e(o)("ap.workOrderModal.pleaseEntry"),
133
+ request: () => d(e(w).TicketsType)
132
134
  }
133
- }, null, 8, ["field"]),
135
+ }, null, 8, ["label", "rules", "field"]),
134
136
  t(e(i).FormItem, {
135
- label: "工单详情",
137
+ label: e(o)("ap.workOrderModal.ticketsDetail"),
136
138
  name: "ticketsContent",
137
- rules: [{ required: !0, message: "不可为空" }]
139
+ rules: [{ required: !0, message: e(o)("ap.workOrderModal.noEmpty") }]
138
140
  }, {
139
141
  default: n(() => [
140
142
  t(e(q), {
141
- placeholder: "请输入",
143
+ placeholder: e(o)("ap.workOrderModal.pleaseEntry"),
142
144
  maxlength: 300,
143
145
  "show-count": !0
144
- })
146
+ }, null, 8, ["placeholder"])
145
147
  ]),
146
148
  _: 1
147
- }),
148
- t(e(j), {
149
- label: "优先级",
149
+ }, 8, ["label", "rules"]),
150
+ t(e($), {
151
+ label: e(o)("ap.workOrderModal.ticketsLevel"),
150
152
  name: "ticketsLevel",
151
- rules: [{ required: !0, message: "不可为空" }],
153
+ rules: [{ required: !0, message: e(o)("ap.workOrderModal.noEmpty") }],
152
154
  field: {
153
- request: () => u(e(k).TicketsLevel)
155
+ request: () => d(e(w).TicketsLevel)
154
156
  }
155
- }, null, 8, ["field"]),
157
+ }, null, 8, ["label", "rules", "field"]),
156
158
  t(e(i).FormItem, { name: "files" }, {
157
159
  default: n(() => [
158
- t(e(z), {
160
+ t(e(D), {
159
161
  dirName: "WorkOrder",
160
- getOssAccess: r.getOssAccess,
162
+ getOssAccess: s.getOssAccess,
161
163
  type: "multipleFile",
162
164
  needName: {
163
165
  pathKey: "filePath",
@@ -166,7 +168,7 @@ const ne = /* @__PURE__ */ F({
166
168
  accept: ".txt,.doc,.docx,.rtf,.pdf,.jpg,.jpeg,.png,.gif,.bmp,.tiff,.tif,.mp4,.avi,.wmv,.mov,.mkv,.xls,.xlsx,.csv,.ppt,.pptx",
167
169
  maxCount: 10,
168
170
  maxSize: 50,
169
- subTitle: m(D)
171
+ subTitle: E(j)
170
172
  }, null, 8, ["getOssAccess", "subTitle"])
171
173
  ]),
172
174
  _: 1
@@ -176,7 +178,7 @@ const ne = /* @__PURE__ */ F({
176
178
  }, 512)
177
179
  ]),
178
180
  _: 1
179
- }, 16, ["open", "ok-text", "cancel-text", "wrapClassName", "confirmLoading"])
181
+ }, 16, ["open", "title", "ok-text", "cancel-text", "wrapClassName", "confirmLoading"])
180
182
  ]));
181
183
  }
182
184
  });