@aplus-frontend/ui 0.1.21 → 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 (313) 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/utils/createModal.mjs +4 -4
  47. package/es/src/ap-table/ap-table.vue.d.ts +5 -5
  48. package/es/src/ap-table/components/index/index.vue.d.ts +4 -4
  49. package/es/src/ap-table/constants.d.ts +1071 -1072
  50. package/es/src/ap-table/hooks/use-table-paging.d.ts +2 -1
  51. package/es/src/ap-table/utils.d.ts +586 -587
  52. package/es/src/ap-tag/ap-tag-group.vue.d.ts +18 -11
  53. package/es/src/ap-tag/ap-tag.vue.d.ts +5 -5
  54. package/es/src/base-button/button.vue.d.ts +17 -12
  55. package/es/src/base-button/index.d.ts +30 -30
  56. package/es/src/basic/index.d.ts +6 -6
  57. package/es/src/basic/title.vue.d.ts +16 -11
  58. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +13 -8
  59. package/es/src/business/ap-image/ApImage.vue.d.ts +22 -1
  60. package/es/src/business/ap-image/ApImage.vue2.mjs +23 -23
  61. package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +4 -4
  62. package/es/src/business/ap-label/ApLabel.d.ts +2 -2
  63. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
  64. package/es/src/business/ap-status/ApStatus.vue.d.ts +5 -5
  65. package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +5 -5
  66. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +7 -0
  67. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +41 -0
  68. package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +7 -0
  69. package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +29 -0
  70. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +6 -0
  71. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +28 -0
  72. package/es/src/business/ap-table-modal/index.d.ts +538 -0
  73. package/es/src/business/ap-table-modal/index.mjs +11 -0
  74. package/es/src/business/ap-table-modal/interface.d.ts +63 -0
  75. package/es/src/business/ap-table-modal/interface.mjs +4 -0
  76. package/es/src/business/ap-table-modal/modal-title.vue.d.ts +46 -0
  77. package/es/src/business/ap-table-modal/modal-title.vue.mjs +4 -0
  78. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +50 -0
  79. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +79 -0
  80. package/es/src/business/ap-table-modal/table-modal.vue.mjs +4 -0
  81. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +177 -0
  82. package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +19 -12
  83. package/es/src/business/index.d.ts +140 -131
  84. package/es/src/business/index.mjs +18 -16
  85. package/es/src/business/title/ApTitle.vue.d.ts +17 -12
  86. package/es/src/button/button.vue.d.ts +12 -7
  87. package/es/src/button/index.d.ts +2 -2
  88. package/es/src/check-card/group.vue.d.ts +18 -13
  89. package/es/src/check-card/index.vue.d.ts +16 -11
  90. package/es/src/config-provider/config-provider-props.d.ts +6 -4
  91. package/es/src/config-provider/config-provider.d.ts +5 -5
  92. package/es/src/config-provider/hooks/use-global-config.d.ts +2 -1
  93. package/es/src/config-provider/index.d.ts +17 -17
  94. package/es/src/container/index.d.ts +4 -4
  95. package/es/src/container/scroll-container.vue.d.ts +181 -8
  96. package/es/src/count-down/button.vue.d.ts +4 -4
  97. package/es/src/count-down/index.d.ts +8 -8
  98. package/es/src/count-down/input.vue.d.ts +16 -11
  99. package/es/src/cropper/cropper-avatar.vue.d.ts +4 -4
  100. package/es/src/cropper/cropper-image.vue.d.ts +4 -4
  101. package/es/src/cropper/index.d.ts +4 -4
  102. package/es/src/description/index.d.ts +2 -2
  103. package/es/src/dropdown/dropdown.vue.d.ts +16 -11
  104. package/es/src/dropdown/index.d.ts +2 -2
  105. package/es/src/editable-table/form-item.vue.d.ts +5 -5
  106. package/es/src/editable-table/index.vue.d.ts +6 -6
  107. package/es/src/icon/icon.vue.d.ts +4 -5
  108. package/es/src/icon/index.d.ts +16 -16
  109. package/es/src/icon/svg-icon.vue.d.ts +4 -4
  110. package/es/src/icon-picker/icon-picker.vue.d.ts +4 -4
  111. package/es/src/icon-picker/index.d.ts +2 -2
  112. package/es/src/index.mjs +69 -63
  113. package/es/src/locale/lang/en.mjs +25 -0
  114. package/es/src/locale/lang/zh-cn.mjs +25 -0
  115. package/es/src/modal/basic.vue.d.ts +210 -5
  116. package/es/src/modal/components/modal-close.vue.d.ts +4 -4
  117. package/es/src/modal/components/modal-footer.vue.d.ts +10 -5
  118. package/es/src/modal/components/modal-wrapper.vue.d.ts +77 -4
  119. package/es/src/modal/components/modal.d.ts +1 -1
  120. package/es/src/modal/index.d.ts +5 -5
  121. package/es/src/pro-form/components/api-cascader.vue.d.ts +4 -4
  122. package/es/src/pro-form/components/api-radio-group.vue.d.ts +4 -4
  123. package/es/src/pro-form/components/api-select.vue.d.ts +16 -11
  124. package/es/src/pro-form/components/api-transfer.vue.d.ts +5 -5
  125. package/es/src/pro-form/components/api-tree-select.vue.d.ts +16 -11
  126. package/es/src/pro-form/components/api-tree.vue.d.ts +16 -11
  127. package/es/src/pro-form/components/form-action.vue.d.ts +19 -14
  128. package/es/src/pro-form/components/radio-button-group.vue.d.ts +4 -4
  129. package/es/src/pro-form/hooks/use-label-width.d.ts +25 -25
  130. package/es/src/pro-form/pro-form.vue.d.ts +888 -15
  131. package/es/src/pro-form/table-form-inner.vue.d.ts +6 -5
  132. package/es/src/pro-form/table-form.vue.d.ts +6 -5
  133. package/es/src/pro-form/types/form.d.ts +4 -4
  134. package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +7 -2
  135. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
  136. package/es/src/pro-table/components/table-action.vue.d.ts +7 -2
  137. package/es/src/pro-table/components/table-footer.vue.d.ts +4 -4
  138. package/es/src/pro-table/components/table-header.vue.d.ts +9 -4
  139. package/es/src/pro-table/components/table-image.vue.d.ts +4 -4
  140. package/es/src/pro-table/components/table-selection-bar.vue.d.ts +4 -4
  141. package/es/src/pro-table/pro-table.vue.d.ts +2049 -28
  142. package/es/src/prompt/utils.d.ts +1 -1
  143. package/es/src/scroll-bar/index.d.ts +2 -2
  144. package/es/src/scroll-bar/scroll-bar.vue.d.ts +19 -11
  145. package/es/src/strength-meter/index.d.ts +2 -2
  146. package/es/src/strength-meter/strength-meter.vue.d.ts +16 -11
  147. package/es/src/theme/antd-global-overwrite/admin/index.css +1 -0
  148. package/es/src/theme/antd-global-overwrite/admin/table.css +1 -0
  149. package/es/src/theme/antd-global-overwrite/aplus/index.css +1 -0
  150. package/es/src/theme/antd-global-overwrite/aplus/table.css +1 -0
  151. package/es/src/transition/collapse-transition.vue.d.ts +7 -2
  152. package/es/src/utils/config-provider-preset.d.ts +5 -5
  153. package/es/src/work-order-modal/createWorkOrder.mjs +20 -12
  154. package/es/src/work-order-modal/help-message.vue2.mjs +21 -18
  155. package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  156. package/es/src/work-order-modal/work-order-modal.vue.mjs +64 -62
  157. package/lib/index.js +1 -1
  158. package/lib/src/ap-action/group/index.vue.d.ts +7 -6
  159. package/lib/src/ap-action/item/index.vue.d.ts +20 -14
  160. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +21 -15
  161. package/lib/src/ap-action/item-modal/index.vue.d.ts +20 -14
  162. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +20 -14
  163. package/lib/src/ap-custom-column/column-select.vue.js +1 -1
  164. package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
  165. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +20 -15
  166. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +12 -7
  167. package/lib/src/ap-download/ap-download.vue.d.ts +17 -12
  168. package/lib/src/ap-field/checkbox/index.vue.d.ts +6 -5
  169. package/lib/src/ap-field/date/index.vue.d.ts +18 -12
  170. package/lib/src/ap-field/date-range/index.vue.d.ts +25 -19
  171. package/lib/src/ap-field/number/index.vue.d.ts +459 -12
  172. package/lib/src/ap-field/radio/index.vue.d.ts +6 -5
  173. package/lib/src/ap-field/rate/index.vue.d.ts +138 -16
  174. package/lib/src/ap-field/segmented/index.vue.d.ts +25 -19
  175. package/lib/src/ap-field/select/index.vue.d.ts +597 -16
  176. package/lib/src/ap-field/select/index.vue.js +1 -1
  177. package/lib/src/ap-field/slider/index.vue.d.ts +375 -12
  178. package/lib/src/ap-field/switch/index.vue.d.ts +16 -11
  179. package/lib/src/ap-field/text/index.vue.d.ts +19 -13
  180. package/lib/src/ap-field/text/password.vue.d.ts +19 -13
  181. package/lib/src/ap-field/text-area/index.vue.d.ts +7 -6
  182. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  183. package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -14
  184. package/lib/src/ap-form/ap-form-item.vue.d.ts +1008 -12
  185. package/lib/src/ap-form/ap-form-item.vue.js +1 -1
  186. package/lib/src/ap-form/ap-form-list.vue.d.ts +12 -7
  187. package/lib/src/ap-form/ap-form.vue.d.ts +884 -13
  188. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +17 -12
  189. package/lib/src/ap-form/items/date/index.vue.d.ts +40 -35
  190. package/lib/src/ap-form/items/date-range/index.vue.d.ts +39 -34
  191. package/lib/src/ap-form/items/number/index.vue.d.ts +583 -27
  192. package/lib/src/ap-form/items/radio/index.vue.d.ts +217 -13
  193. package/lib/src/ap-form/items/select/index.vue.d.ts +43 -38
  194. package/lib/src/ap-form/items/switch/index.vue.d.ts +24 -19
  195. package/lib/src/ap-form/items/text/index.vue.d.ts +591 -25
  196. package/lib/src/ap-form/items/text/password.vue.d.ts +658 -27
  197. package/lib/src/ap-form/items/text-area/index.vue.d.ts +486 -13
  198. package/lib/src/ap-form/modal-form/index.vue.d.ts +650 -16
  199. package/lib/src/ap-form/search-form/index.vue.d.ts +652 -18
  200. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -15
  201. package/lib/src/ap-list/index.vue.d.ts +5 -5
  202. package/lib/src/ap-modal/utils/createModal.js +1 -1
  203. package/lib/src/ap-table/ap-table.vue.d.ts +5 -5
  204. package/lib/src/ap-table/components/index/index.vue.d.ts +4 -4
  205. package/lib/src/ap-table/constants.d.ts +1071 -1072
  206. package/lib/src/ap-table/hooks/use-table-paging.d.ts +2 -1
  207. package/lib/src/ap-table/utils.d.ts +586 -587
  208. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +18 -11
  209. package/lib/src/ap-tag/ap-tag.vue.d.ts +5 -5
  210. package/lib/src/base-button/button.vue.d.ts +17 -12
  211. package/lib/src/base-button/index.d.ts +30 -30
  212. package/lib/src/basic/index.d.ts +6 -6
  213. package/lib/src/basic/title.vue.d.ts +16 -11
  214. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +13 -8
  215. package/lib/src/business/ap-image/ApImage.vue.d.ts +22 -1
  216. package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
  217. package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +4 -4
  218. package/lib/src/business/ap-label/ApLabel.d.ts +2 -2
  219. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
  220. package/lib/src/business/ap-status/ApStatus.vue.d.ts +5 -5
  221. package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +5 -5
  222. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +7 -0
  223. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -0
  224. package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +7 -0
  225. package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -0
  226. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +6 -0
  227. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -0
  228. package/lib/src/business/ap-table-modal/index.d.ts +538 -0
  229. package/lib/src/business/ap-table-modal/index.js +1 -0
  230. package/lib/src/business/ap-table-modal/interface.d.ts +63 -0
  231. package/lib/src/business/ap-table-modal/interface.js +1 -0
  232. package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +46 -0
  233. package/lib/src/business/ap-table-modal/modal-title.vue.js +1 -0
  234. package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -0
  235. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +79 -0
  236. package/lib/src/business/ap-table-modal/table-modal.vue.js +1 -0
  237. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -0
  238. package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +19 -12
  239. package/lib/src/business/index.d.ts +140 -131
  240. package/lib/src/business/index.js +1 -1
  241. package/lib/src/business/title/ApTitle.vue.d.ts +17 -12
  242. package/lib/src/button/button.vue.d.ts +12 -7
  243. package/lib/src/button/index.d.ts +2 -2
  244. package/lib/src/check-card/group.vue.d.ts +18 -13
  245. package/lib/src/check-card/index.vue.d.ts +16 -11
  246. package/lib/src/config-provider/config-provider-props.d.ts +6 -4
  247. package/lib/src/config-provider/config-provider.d.ts +5 -5
  248. package/lib/src/config-provider/hooks/use-global-config.d.ts +2 -1
  249. package/lib/src/config-provider/index.d.ts +17 -17
  250. package/lib/src/container/index.d.ts +4 -4
  251. package/lib/src/container/scroll-container.vue.d.ts +181 -8
  252. package/lib/src/count-down/button.vue.d.ts +4 -4
  253. package/lib/src/count-down/index.d.ts +8 -8
  254. package/lib/src/count-down/input.vue.d.ts +16 -11
  255. package/lib/src/cropper/cropper-avatar.vue.d.ts +4 -4
  256. package/lib/src/cropper/cropper-image.vue.d.ts +4 -4
  257. package/lib/src/cropper/index.d.ts +4 -4
  258. package/lib/src/description/index.d.ts +2 -2
  259. package/lib/src/dropdown/dropdown.vue.d.ts +16 -11
  260. package/lib/src/dropdown/index.d.ts +2 -2
  261. package/lib/src/editable-table/form-item.vue.d.ts +5 -5
  262. package/lib/src/editable-table/index.vue.d.ts +6 -6
  263. package/lib/src/icon/icon.vue.d.ts +4 -5
  264. package/lib/src/icon/index.d.ts +16 -16
  265. package/lib/src/icon/svg-icon.vue.d.ts +4 -4
  266. package/lib/src/icon-picker/icon-picker.vue.d.ts +4 -4
  267. package/lib/src/icon-picker/index.d.ts +2 -2
  268. package/lib/src/index.js +1 -1
  269. package/lib/src/locale/lang/en.js +1 -1
  270. package/lib/src/locale/lang/zh-cn.js +1 -1
  271. package/lib/src/modal/basic.vue.d.ts +210 -5
  272. package/lib/src/modal/components/modal-close.vue.d.ts +4 -4
  273. package/lib/src/modal/components/modal-footer.vue.d.ts +10 -5
  274. package/lib/src/modal/components/modal-wrapper.vue.d.ts +77 -4
  275. package/lib/src/modal/components/modal.d.ts +1 -1
  276. package/lib/src/modal/index.d.ts +5 -5
  277. package/lib/src/pro-form/components/api-cascader.vue.d.ts +4 -4
  278. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +4 -4
  279. package/lib/src/pro-form/components/api-select.vue.d.ts +16 -11
  280. package/lib/src/pro-form/components/api-transfer.vue.d.ts +5 -5
  281. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +16 -11
  282. package/lib/src/pro-form/components/api-tree.vue.d.ts +16 -11
  283. package/lib/src/pro-form/components/form-action.vue.d.ts +19 -14
  284. package/lib/src/pro-form/components/radio-button-group.vue.d.ts +4 -4
  285. package/lib/src/pro-form/hooks/use-label-width.d.ts +25 -25
  286. package/lib/src/pro-form/pro-form.vue.d.ts +888 -15
  287. package/lib/src/pro-form/table-form-inner.vue.d.ts +6 -5
  288. package/lib/src/pro-form/table-form.vue.d.ts +6 -5
  289. package/lib/src/pro-form/types/form.d.ts +4 -4
  290. package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +7 -2
  291. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
  292. package/lib/src/pro-table/components/table-action.vue.d.ts +7 -2
  293. package/lib/src/pro-table/components/table-footer.vue.d.ts +4 -4
  294. package/lib/src/pro-table/components/table-header.vue.d.ts +9 -4
  295. package/lib/src/pro-table/components/table-image.vue.d.ts +4 -4
  296. package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +4 -4
  297. package/lib/src/pro-table/pro-table.vue.d.ts +2049 -28
  298. package/lib/src/prompt/utils.d.ts +1 -1
  299. package/lib/src/scroll-bar/index.d.ts +2 -2
  300. package/lib/src/scroll-bar/scroll-bar.vue.d.ts +19 -11
  301. package/lib/src/strength-meter/index.d.ts +2 -2
  302. package/lib/src/strength-meter/strength-meter.vue.d.ts +16 -11
  303. package/lib/src/theme/antd-global-overwrite/admin/index.css +1 -0
  304. package/lib/src/theme/antd-global-overwrite/admin/table.css +1 -0
  305. package/lib/src/theme/antd-global-overwrite/aplus/index.css +1 -0
  306. package/lib/src/theme/antd-global-overwrite/aplus/table.css +1 -0
  307. package/lib/src/transition/collapse-transition.vue.d.ts +7 -2
  308. package/lib/src/utils/config-provider-preset.d.ts +5 -5
  309. package/lib/src/work-order-modal/createWorkOrder.js +1 -1
  310. package/lib/src/work-order-modal/help-message.vue2.js +1 -1
  311. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  312. package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
  313. package/package.json +3 -3
@@ -1,6 +1,7 @@
1
- import { ApActionGroupProps, GroupActionTypes } from '../interface';
1
+ import { ApActionGroupProps } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
  import { Trigger } from 'ant-design-vue/es/dropdown/props';
4
+ import { GroupActionTypes } from '..';
4
5
  declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionGroupProps>, {
5
6
  count: number;
6
7
  trigger: () => string[];
@@ -12,20 +13,17 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
12
13
  placement: string;
13
14
  actions: () => never[];
14
15
  }>>>, {
15
- placement: "top" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "bottom" | "topCenter" | "bottomCenter";
16
+ placement: "top" | "topLeft" | "bottom" | "topRight" | "bottomLeft" | "bottomRight" | "topCenter" | "bottomCenter";
16
17
  trigger: Trigger | Trigger[];
17
18
  count: number;
18
19
  actions: GroupActionTypes[];
19
20
  }, {}>;
20
21
  export default _default;
21
22
  type __VLS_WithDefaults<P, D> = {
22
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
23
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
23
24
  default: D[K];
24
25
  }> : P[K];
25
26
  };
26
- type __VLS_Prettify<T> = {
27
- [K in keyof T]: T[K];
28
- } & {};
29
27
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
28
  type __VLS_TypePropsToOption<T> = {
31
29
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -35,3 +33,6 @@ type __VLS_TypePropsToOption<T> = {
35
33
  required: true;
36
34
  };
37
35
  };
36
+ type __VLS_PrettifyLocal<T> = {
37
+ [K in keyof T]: T[K];
38
+ } & {};
@@ -1,6 +1,12 @@
1
- import { ApActionItemProps, ApActionItemSlots, ActionColor } from '../interface';
1
+ import { ApActionItemProps, ApActionItemSlots } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
- declare function __VLS_template(): Readonly<ApActionItemSlots> & ApActionItemSlots;
3
+ import { ActionColor } from '..';
4
+ declare function __VLS_template(): {
5
+ slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
6
+ refs: {};
7
+ attrs: Partial<{}>;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
4
10
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemProps>, {
5
11
  color: string;
6
12
  disabled: boolean;
@@ -13,25 +19,17 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
13
19
  loading: boolean;
14
20
  }>>>, {
15
21
  visible: boolean;
16
- loading: boolean;
17
- disabled: boolean;
18
22
  color: ActionColor;
23
+ disabled: boolean;
24
+ loading: boolean;
19
25
  }, {}>;
20
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
26
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
27
  export default _default;
22
28
  type __VLS_WithDefaults<P, D> = {
23
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
29
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
24
30
  default: D[K];
25
31
  }> : P[K];
26
32
  };
27
- type __VLS_Prettify<T> = {
28
- [K in keyof T]: T[K];
29
- } & {};
30
- type __VLS_WithTemplateSlots<T, S> = T & {
31
- new (): {
32
- $slots: S;
33
- };
34
- };
35
33
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
34
  type __VLS_TypePropsToOption<T> = {
37
35
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -41,3 +39,11 @@ type __VLS_TypePropsToOption<T> = {
41
39
  required: true;
42
40
  };
43
41
  };
42
+ type __VLS_WithTemplateSlots<T, S> = T & {
43
+ new (): {
44
+ $slots: S;
45
+ };
46
+ };
47
+ type __VLS_PrettifyLocal<T> = {
48
+ [K in keyof T]: T[K];
49
+ } & {};
@@ -1,9 +1,15 @@
1
- import { ApActionItemDropdownProps, ActionColor, MixedActionTypes } from '../interface';
1
+ import { ApActionItemDropdownProps } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+ import { ActionColor, MixedActionTypes } from '..';
3
4
  import { Trigger } from 'ant-design-vue/es/dropdown/props';
4
5
  declare function __VLS_template(): {
5
- default?(_: {}): any;
6
+ slots: {
7
+ default?(_: {}): any;
8
+ };
9
+ refs: {};
10
+ attrs: Partial<{}>;
6
11
  };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
7
13
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemDropdownProps>, {
8
14
  color: string;
9
15
  disabled: boolean;
@@ -23,30 +29,22 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
23
29
  actions: () => never[];
24
30
  showIcon: boolean;
25
31
  }>>>, {
26
- placement: "top" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "bottom" | "topCenter" | "bottomCenter";
32
+ placement: "top" | "topLeft" | "bottom" | "topRight" | "bottomLeft" | "bottomRight" | "topCenter" | "bottomCenter";
27
33
  visible: boolean;
28
- loading: boolean;
29
- disabled: boolean;
30
34
  color: ActionColor;
35
+ disabled: boolean;
36
+ loading: boolean;
31
37
  trigger: Trigger | Trigger[];
32
38
  showIcon: boolean;
33
39
  actions: MixedActionTypes[];
34
40
  }, {}>;
35
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
41
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
36
42
  export default _default;
37
43
  type __VLS_WithDefaults<P, D> = {
38
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
44
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
39
45
  default: D[K];
40
46
  }> : P[K];
41
47
  };
42
- type __VLS_Prettify<T> = {
43
- [K in keyof T]: T[K];
44
- } & {};
45
- type __VLS_WithTemplateSlots<T, S> = T & {
46
- new (): {
47
- $slots: S;
48
- };
49
- };
50
48
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
51
49
  type __VLS_TypePropsToOption<T> = {
52
50
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -56,3 +54,11 @@ type __VLS_TypePropsToOption<T> = {
56
54
  required: true;
57
55
  };
58
56
  };
57
+ type __VLS_WithTemplateSlots<T, S> = T & {
58
+ new (): {
59
+ $slots: S;
60
+ };
61
+ };
62
+ type __VLS_PrettifyLocal<T> = {
63
+ [K in keyof T]: T[K];
64
+ } & {};
@@ -1,7 +1,13 @@
1
- import { ApActionItemModalProps, ApActionItemSlots, ActionColor } from '../interface';
1
+ import { ApActionItemModalProps, ApActionItemSlots } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+ import { ActionColor } from '..';
3
4
  import { ModalFuncProps } from 'ant-design-vue';
4
- declare function __VLS_template(): Readonly<ApActionItemSlots> & ApActionItemSlots;
5
+ declare function __VLS_template(): {
6
+ slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
7
+ refs: {};
8
+ attrs: Partial<{}>;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
5
11
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemModalProps>, {
6
12
  color: string;
7
13
  disabled: boolean;
@@ -16,26 +22,18 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
16
22
  modalProps: () => {};
17
23
  }>>>, {
18
24
  visible: boolean;
19
- loading: boolean;
20
- disabled: boolean;
21
25
  color: ActionColor;
26
+ disabled: boolean;
27
+ loading: boolean;
22
28
  modalProps: Omit< ModalFuncProps, "type">;
23
29
  }, {}>;
24
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
31
  export default _default;
26
32
  type __VLS_WithDefaults<P, D> = {
27
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
28
34
  default: D[K];
29
35
  }> : P[K];
30
36
  };
31
- type __VLS_Prettify<T> = {
32
- [K in keyof T]: T[K];
33
- } & {};
34
- type __VLS_WithTemplateSlots<T, S> = T & {
35
- new (): {
36
- $slots: S;
37
- };
38
- };
39
37
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
38
  type __VLS_TypePropsToOption<T> = {
41
39
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -45,3 +43,11 @@ type __VLS_TypePropsToOption<T> = {
45
43
  required: true;
46
44
  };
47
45
  };
46
+ type __VLS_WithTemplateSlots<T, S> = T & {
47
+ new (): {
48
+ $slots: S;
49
+ };
50
+ };
51
+ type __VLS_PrettifyLocal<T> = {
52
+ [K in keyof T]: T[K];
53
+ } & {};
@@ -1,5 +1,6 @@
1
- import { ApActionItemPopconfirmProps, ApActionItemSlots, ActionColor } from '../interface';
1
+ import { ApActionItemPopconfirmProps, ApActionItemSlots } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, CSSProperties } from 'vue';
3
+ import { ActionColor } from '..';
3
4
  import { LegacyButtonType, ButtonHTMLType } from 'ant-design-vue/es/button/buttonTypes';
4
5
  import { ButtonType, ButtonShape, ButtonSize } from 'ant-design-vue/es/button';
5
6
  import { VueTypeValidableDef } from '../../../node_modules/vue-types';
@@ -9,7 +10,12 @@ import { TooltipPlacement, AdjustOverflow } from 'ant-design-vue/es/tooltip';
9
10
  import { LiteralUnion } from 'ant-design-vue/es/_util/type';
10
11
  import { PresetColorType } from 'ant-design-vue/es/_util/colors';
11
12
  import { AlignType, BuildInPlacements } from 'ant-design-vue/es/vc-trigger/interface';
12
- declare function __VLS_template(): Readonly<ApActionItemSlots> & ApActionItemSlots;
13
+ declare function __VLS_template(): {
14
+ slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
15
+ refs: {};
16
+ attrs: Partial<{}>;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
19
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemPopconfirmProps>, {
14
20
  color: string;
15
21
  disabled: boolean;
@@ -24,9 +30,9 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
24
30
  popconfirmProps: () => {};
25
31
  }>>>, {
26
32
  visible: boolean;
27
- loading: boolean;
28
- disabled: boolean;
29
33
  color: ActionColor;
34
+ disabled: boolean;
35
+ loading: boolean;
30
36
  popconfirmProps: Partial< ExtractPropTypes<{
31
37
  prefixCls: StringConstructor;
32
38
  content: {
@@ -323,21 +329,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
323
329
  'onUpdate:open': PropType<(vis: boolean) => void>;
324
330
  }>>;
325
331
  }, {}>;
326
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
332
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
327
333
  export default _default;
328
334
  type __VLS_WithDefaults<P, D> = {
329
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
335
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
330
336
  default: D[K];
331
337
  }> : P[K];
332
338
  };
333
- type __VLS_Prettify<T> = {
334
- [K in keyof T]: T[K];
335
- } & {};
336
- type __VLS_WithTemplateSlots<T, S> = T & {
337
- new (): {
338
- $slots: S;
339
- };
340
- };
341
339
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
342
340
  type __VLS_TypePropsToOption<T> = {
343
341
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -347,3 +345,11 @@ type __VLS_TypePropsToOption<T> = {
347
345
  required: true;
348
346
  };
349
347
  };
348
+ type __VLS_WithTemplateSlots<T, S> = T & {
349
+ new (): {
350
+ $slots: S;
351
+ };
352
+ };
353
+ type __VLS_PrettifyLocal<T> = {
354
+ [K in keyof T]: T[K];
355
+ } & {};
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("ant-design-vue");require("../config-provider/index.js");require("./styles/column-select.css");const x=require("../config-provider/hooks/use-global-config.js"),b=require("../config-provider/hooks/use-namespace.js"),k=e.defineComponent({__name:"column-select",props:{columns:{}},emits:["updateColumns"],setup(d,{emit:i}){const o=e.ref(!1),r=e.ref(!1),a=e.ref([]),m=x.useGlobalConfig("uiMode"),{b:p,e:c}=b.useNamespace(m.value==="aplus"?"column-select":"column-select-admin"),{columns:n}=d,f=i,h=t=>{const s=t.target.checked;a.value=s?n.map(l=>l.dataIndex):n.filter(l=>l.disabled&&l.selected).map(l=>l.dataIndex)},v=t=>{a.value=t};e.watch(()=>n,()=>{a.value=n.filter(t=>t.selected).map(t=>t.dataIndex)},{deep:!0,immediate:!0}),e.watch(a,()=>{r.value=a.value.length>0&&a.value.length!==n.length,o.value=a.value.length===n.length},{deep:!0,immediate:!0}),e.watch(a,()=>{const t=n.map(s=>({...s,selected:a.value.includes(s.dataIndex)}));f("updateColumns",t)},{deep:!0});const g=e.computed(()=>n.map(t=>({label:t.title,value:t.dataIndex,disabled:t.disabled})));return(t,s)=>(e.openBlock(),e.createBlock(e.unref(u.Flex),{vertical:"",class:e.normalizeClass(e.unref(p)())},{default:e.withCtx(()=>[e.createElementVNode("p",{class:e.normalizeClass(e.unref(c)("des"))},"请选择需要展示在表格的字段",2),e.createVNode(e.unref(u.Flex),{class:e.normalizeClass(e.unref(c)("all")),justify:"space-between",align:"center"},{default:e.withCtx(()=>{var l;return[e.createVNode(e.unref(u.Checkbox),{style:{padding:"0 6px;"},checked:o.value,"onUpdate:checked":s[0]||(s[0]=C=>o.value=C),indeterminate:r.value,onChange:h},{default:e.withCtx(()=>[e.createTextVNode("全选")]),_:1},8,["checked","indeterminate"]),e.createElementVNode("span",{class:e.normalizeClass(e.unref(c)("statistics"))},e.toDisplayString((l=a.value)==null?void 0:l.length)+"/"+e.toDisplayString(t.columns.length),3)]}),_:1},8,["class"]),e.createVNode(e.unref(u.Divider),{style:{margin:"12px 0 4px 0"}}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(c)("content"))},[e.createVNode(e.unref(u.CheckboxGroup),{value:a.value,"onUpdate:value":v,options:g.value},null,8,["value","options"])],2)]),_:1},8,["class"]))}});exports.default=k;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("ant-design-vue");require("../config-provider/index.js");require("./styles/column-select.css");const b=require("../config-provider/hooks/use-locale.js"),k=require("../config-provider/hooks/use-global-config.js"),N=require("../config-provider/hooks/use-namespace.js"),V=e.defineComponent({__name:"column-select",props:{columns:{}},emits:["updateColumns"],setup(d,{emit:m}){const o=e.ref(!1),r=e.ref(!1),a=e.ref([]),{t:i}=b.useLocale(),p=k.useGlobalConfig("uiMode"),{b:f,e:c}=N.useNamespace(p.value==="aplus"?"column-select":"column-select-admin"),{columns:n}=d,h=m,v=t=>{const s=t.target.checked;a.value=s?n.map(l=>l.dataIndex):n.filter(l=>l.disabled&&l.selected).map(l=>l.dataIndex)},g=t=>{a.value=t};e.watch(()=>n,()=>{a.value=n.filter(t=>t.selected).map(t=>t.dataIndex)},{deep:!0,immediate:!0}),e.watch(a,()=>{r.value=a.value.length>0&&a.value.length!==n.length,o.value=a.value.length===n.length},{deep:!0,immediate:!0}),e.watch(a,()=>{const t=n.map(s=>({...s,selected:a.value.includes(s.dataIndex)}));h("updateColumns",t)},{deep:!0});const C=e.computed(()=>n.map(t=>({label:t.title,value:t.dataIndex,disabled:t.disabled})));return(t,s)=>(e.openBlock(),e.createBlock(e.unref(u.Flex),{vertical:"",class:e.normalizeClass(e.unref(f)())},{default:e.withCtx(()=>[e.createElementVNode("p",{class:e.normalizeClass(e.unref(c)("des"))},e.toDisplayString(e.unref(i)("ap.apCustomColumn.selectDes")),3),e.createVNode(e.unref(u.Flex),{class:e.normalizeClass(e.unref(c)("all")),justify:"space-between",align:"center"},{default:e.withCtx(()=>{var l;return[e.createVNode(e.unref(u.Checkbox),{style:{padding:"0 6px;"},checked:o.value,"onUpdate:checked":s[0]||(s[0]=x=>o.value=x),indeterminate:r.value,onChange:v},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("ap.apCustomColumn.allSelect")),1)]),_:1},8,["checked","indeterminate"]),e.createElementVNode("span",{class:e.normalizeClass(e.unref(c)("statistics"))},e.toDisplayString((l=a.value)==null?void 0:l.length)+"/"+e.toDisplayString(t.columns.length),3)]}),_:1},8,["class"]),e.createVNode(e.unref(u.Divider),{style:{margin:"12px 0 4px 0"}}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(c)("content"))},[e.createVNode(e.unref(u.CheckboxGroup),{value:a.value,"onUpdate:value":g,options:C.value},null,8,["value","options"])],2)]),_:1},8,["class"]))}});exports.default=V;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("@ant-design/icons-vue"),r=require("ant-design-vue");require("./column-select.vue2.js");require("./styles/custom-column.css");require("../config-provider/index.js");const y=require("../config-provider/hooks/use-global-config.js"),q=require("../config-provider/hooks/use-namespace.js"),w=require("./column-select.vue.js"),x=e.defineComponent({__name:"custom-column",props:{columns:{},baseContainerSelector:{},fullContentSelector:{}},emits:["update:columns"],setup(d,{emit:m}){const p=y.useGlobalConfig("uiMode"),{b:f,e:C}=q.useNamespace(p.value==="aplus"?"custom-column":"custom-column-admin"),{baseContainerSelector:s,columns:N,fullContentSelector:_}=d,h=m,g=t=>{h("update:columns",t)},u=e.ref(!1),n=e.ref(0),v=()=>{var t,o;if(s){const l=document.querySelector(s),c=document.querySelector(_);l?n.value=Math.max((t=l==null?void 0:l.getBoundingClientRect())==null?void 0:t.top,((o=c==null?void 0:c.getBoundingClientRect())==null?void 0:o.top)||0):n.value=0}u.value=!0},a=()=>{u.value=!1},S=e.computed(()=>window.innerHeight-n.value-57-40);return(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(f)())},[e.createVNode(e.unref(r.Tooltip),null,{title:e.withCtx(()=>[e.createTextVNode("自定义表格")]),default:e.withCtx(()=>[e.createVNode(e.unref(r.Button),{style:{minWidth:"auto"},onClick:v},{icon:e.withCtx(()=>[e.createVNode(e.unref(i.SettingOutlined))]),_:1})]),_:1}),e.createVNode(e.unref(r.Drawer),{open:u.value,width:280,title:"自定义表格",closable:!1,contentWrapperStyle:{top:`${n.value}px`},bodyStyle:{overflow:"hidden",padding:"20px"},mask:!0,"root-class-name":e.unref(C)("drawer"),onClose:a},{extra:e.withCtx(()=>[e.createVNode(e.unref(i.CloseOutlined),{onClick:a})]),default:e.withCtx(()=>[e.createVNode(w.default,{style:e.normalizeStyle({height:`${S.value}px`}),columns:t.columns,onUpdateColumns:g},null,8,["style","columns"])]),_:1},8,["open","contentWrapperStyle","root-class-name"])],2))}});exports.default=x;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("@ant-design/icons-vue"),r=require("ant-design-vue");require("./column-select.vue2.js");require("./styles/custom-column.css");require("../config-provider/index.js");const q=require("../config-provider/hooks/use-global-config.js"),w=require("../config-provider/hooks/use-locale.js"),x=require("../config-provider/hooks/use-namespace.js"),D=require("./column-select.vue.js"),N=e.defineComponent({__name:"custom-column",props:{columns:{},baseContainerSelector:{},fullContentSelector:{}},emits:["update:columns"],setup(m,{emit:p}){const f=q.useGlobalConfig("uiMode"),{t:c}=w.useLocale(),{b:C,e:_}=x.useNamespace(f.value==="aplus"?"custom-column":"custom-column-admin"),{baseContainerSelector:a,columns:b,fullContentSelector:h}=m,g=p,v=t=>{g("update:columns",t)},u=e.ref(!1),o=e.ref(0),S=()=>{var t,n;if(a){const l=document.querySelector(a),s=document.querySelector(h);l?o.value=Math.max((t=l==null?void 0:l.getBoundingClientRect())==null?void 0:t.top,((n=s==null?void 0:s.getBoundingClientRect())==null?void 0:n.top)||0):o.value=0}u.value=!0},i=()=>{u.value=!1},y=e.computed(()=>window.innerHeight-o.value-57-40);return(t,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(C)())},[e.createVNode(e.unref(r.Tooltip),null,{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("ap.apCustomColumn.title")),1)]),default:e.withCtx(()=>[e.createVNode(e.unref(r.Button),{style:{minWidth:"auto"},onClick:S},{icon:e.withCtx(()=>[e.createVNode(e.unref(d.SettingOutlined))]),_:1})]),_:1}),e.createVNode(e.unref(r.Drawer),{open:u.value,width:280,title:e.unref(c)("ap.apCustomColumn.title"),closable:!1,contentWrapperStyle:{top:`${o.value}px`},bodyStyle:{overflow:"hidden",padding:"20px"},mask:!0,"root-class-name":e.unref(_)("drawer"),onClose:i},{extra:e.withCtx(()=>[e.createVNode(e.unref(d.CloseOutlined),{onClick:i})]),default:e.withCtx(()=>[e.createVNode(D.default,{style:e.normalizeStyle({height:`${y.value}px`}),columns:t.columns,onUpdateColumns:v},null,8,["style","columns"])]),_:1},8,["open","title","contentWrapperStyle","root-class-name"])],2))}});exports.default=N;
@@ -1,22 +1,22 @@
1
1
  import { DisplayInfoProps } from './interface';
2
2
  import { VNode, RendererNode, RendererElement, VNodeChild, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
- declare function __VLS_template(): Partial<Record<string, (_: {
4
- index: number;
5
- item: VNode<RendererNode, RendererElement, {
6
- [key: string]: any;
7
- }> | VNodeChild;
8
- record: {
9
- [x: string]: any;
10
- } | undefined;
11
- }) => any>>;
3
+ declare function __VLS_template(): {
4
+ slots: Partial<Record<string, (_: {
5
+ index: number;
6
+ item: VNode<RendererNode, RendererElement, {
7
+ [key: string]: any;
8
+ }> | VNodeChild;
9
+ record: {
10
+ [x: string]: any;
11
+ } | undefined;
12
+ }) => any>>;
13
+ refs: {};
14
+ attrs: Partial<{}>;
15
+ };
16
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
17
  declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<DisplayInfoProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<DisplayInfoProps>>>, {}, {}>;
13
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
19
  export default _default;
15
- type __VLS_WithTemplateSlots<T, S> = T & {
16
- new (): {
17
- $slots: S;
18
- };
19
- };
20
20
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
21
  type __VLS_TypePropsToOption<T> = {
22
22
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -26,3 +26,8 @@ type __VLS_TypePropsToOption<T> = {
26
26
  required: true;
27
27
  };
28
28
  };
29
+ type __VLS_WithTemplateSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -1,19 +1,19 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } 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<__VLS_TypePropsToOption<{
6
11
  helpMessage?: string;
7
12
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<{
8
13
  helpMessage?: string;
9
14
  }>>>, {}, {}>;
10
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
11
16
  export default _default;
12
- type __VLS_WithTemplateSlots<T, S> = T & {
13
- new (): {
14
- $slots: S;
15
- };
16
- };
17
17
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
18
  type __VLS_TypePropsToOption<T> = {
19
19
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -23,3 +23,8 @@ type __VLS_TypePropsToOption<T> = {
23
23
  required: true;
24
24
  };
25
25
  };
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -1,8 +1,13 @@
1
1
  import { ApDownLoadProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
  declare function __VLS_template(): {
4
- icon?(_: {}): any;
4
+ slots: {
5
+ icon?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ attrs: Partial<{}>;
5
9
  };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
6
11
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApDownLoadProps<Record<string, string>>>, {
7
12
  size: string;
8
13
  color: string;
@@ -13,24 +18,16 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
13
18
  disabled: boolean;
14
19
  }>>>, {
15
20
  size: "small" | "middle" | "large";
16
- disabled: boolean;
17
21
  color: string;
22
+ disabled: boolean;
18
23
  }, {}>;
19
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
24
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
25
  export default _default;
21
26
  type __VLS_WithDefaults<P, D> = {
22
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
23
28
  default: D[K];
24
29
  }> : P[K];
25
30
  };
26
- type __VLS_Prettify<T> = {
27
- [K in keyof T]: T[K];
28
- } & {};
29
- type __VLS_WithTemplateSlots<T, S> = T & {
30
- new (): {
31
- $slots: S;
32
- };
33
- };
34
31
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
32
  type __VLS_TypePropsToOption<T> = {
36
33
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -40,3 +37,11 @@ type __VLS_TypePropsToOption<T> = {
40
37
  required: true;
41
38
  };
42
39
  };
40
+ type __VLS_WithTemplateSlots<T, S> = T & {
41
+ new (): {
42
+ $slots: S;
43
+ };
44
+ };
45
+ type __VLS_PrettifyLocal<T> = {
46
+ [K in keyof T]: T[K];
47
+ } & {};
@@ -1,5 +1,6 @@
1
- import { ApFieldCheckboxProps, FieldMode } from '../interface';
1
+ import { ApFieldCheckboxProps } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+ import { FieldMode } from '..';
3
4
  import { CheckboxOptionType } from 'ant-design-vue';
4
5
  declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldCheckboxProps>, {
5
6
  emptyText: string;
@@ -20,13 +21,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
20
21
  }, {}>;
21
22
  export default _default;
22
23
  type __VLS_WithDefaults<P, D> = {
23
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
24
25
  default: D[K];
25
26
  }> : P[K];
26
27
  };
27
- type __VLS_Prettify<T> = {
28
- [K in keyof T]: T[K];
29
- } & {};
30
28
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
29
  type __VLS_TypePropsToOption<T> = {
32
30
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -36,3 +34,6 @@ type __VLS_TypePropsToOption<T> = {
36
34
  required: true;
37
35
  };
38
36
  };
37
+ type __VLS_PrettifyLocal<T> = {
38
+ [K in keyof T]: T[K];
39
+ } & {};
@@ -1,7 +1,8 @@
1
1
  import { default as dayjs } from 'dayjs';
2
- import { ApFieldDateProps, FieldMode } from '../interface';
2
+ import { ApFieldDateProps } from '../interface';
3
3
  import { ApFormatPresetType } from './interface';
4
4
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, VNode, RendererNode, RendererElement, PropType } from 'vue';
5
+ import { FieldMode } from '..';
5
6
  import { LiteralUnion } from '../../type';
6
7
  import { SharedTimeProps } from 'ant-design-vue/es/vc-picker/panels/TimePanel';
7
8
  type ApFieldDataSlots = {
@@ -17,7 +18,12 @@ type ApFieldDataSlots = {
17
18
  clearIcon?: any;
18
19
  default?: any;
19
20
  };
20
- declare function __VLS_template(): Readonly<ApFieldDataSlots> & ApFieldDataSlots;
21
+ declare function __VLS_template(): {
22
+ slots: Readonly<ApFieldDataSlots> & ApFieldDataSlots;
23
+ refs: {};
24
+ attrs: Partial<{}>;
25
+ };
26
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
27
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldDateProps>, {
22
28
  format: string;
23
29
  mode: string;
@@ -92,21 +98,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
92
98
  showTime: boolean | SharedTimeProps<dayjs.Dayjs>;
93
99
  emptyText: string;
94
100
  }, {}>;
95
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
101
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
96
102
  export default _default;
97
103
  type __VLS_WithDefaults<P, D> = {
98
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
104
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
99
105
  default: D[K];
100
106
  }> : P[K];
101
107
  };
102
- type __VLS_Prettify<T> = {
103
- [K in keyof T]: T[K];
104
- } & {};
105
- type __VLS_WithTemplateSlots<T, S> = T & {
106
- new (): {
107
- $slots: S;
108
- };
109
- };
110
108
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
111
109
  type __VLS_TypePropsToOption<T> = {
112
110
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -116,3 +114,11 @@ type __VLS_TypePropsToOption<T> = {
116
114
  required: true;
117
115
  };
118
116
  };
117
+ type __VLS_WithTemplateSlots<T, S> = T & {
118
+ new (): {
119
+ $slots: S;
120
+ };
121
+ };
122
+ type __VLS_PrettifyLocal<T> = {
123
+ [K in keyof T]: T[K];
124
+ } & {};
@@ -1,6 +1,7 @@
1
- import { ApFieldDateRangeProps, FieldMode } from '../interface';
1
+ import { ApFieldDateRangeProps } from '../interface';
2
2
  import { ApFormatPresetType } from '../date/interface';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, VNode, RendererNode, RendererElement, PropType } from 'vue';
4
+ import { FieldMode } from '..';
4
5
  import { LiteralUnion } from '../../type';
5
6
  type ApFieldDateRangeSlots = {
6
7
  suffixIcon?: any;
@@ -18,7 +19,12 @@ type ApFieldDateRangeSlots = {
18
19
  readModeSeparator?: any;
19
20
  clearIcon?: any;
20
21
  };
21
- declare function __VLS_template(): Readonly<ApFieldDateRangeSlots> & ApFieldDateRangeSlots;
22
+ declare function __VLS_template(): {
23
+ slots: Readonly<ApFieldDateRangeSlots> & ApFieldDateRangeSlots;
24
+ refs: {};
25
+ attrs: Partial<{}>;
26
+ };
27
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
28
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldDateRangeProps>, {
23
29
  emptyText: string;
24
30
  mode: string;
@@ -70,6 +76,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
70
76
  }, {
71
77
  mode: FieldMode;
72
78
  open: boolean;
79
+ separator: string | number | boolean | void | VNode<RendererNode, RendererElement, {
80
+ [key: string]: any;
81
+ }> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
82
+ [key: string]: any;
83
+ }> | null | undefined)[] | VNode<RendererNode, RendererElement, {
84
+ [key: string]: any;
85
+ }> | null;
73
86
  disabled: boolean | [boolean, boolean];
74
87
  suffixIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
75
88
  [key: string]: any;
@@ -89,32 +102,17 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
89
102
  }> | null;
90
103
  allowClear: boolean;
91
104
  defaultOpen: boolean;
92
- separator: string | number | boolean | void | VNode<RendererNode, RendererElement, {
93
- [key: string]: any;
94
- }> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
95
- [key: string]: any;
96
- }> | null | undefined)[] | VNode<RendererNode, RendererElement, {
97
- [key: string]: any;
98
- }> | null;
99
105
  format: LiteralUnion<ApFormatPresetType, string>;
100
106
  inputReadOnly: boolean;
101
107
  emptyText: string;
102
108
  }, {}>;
103
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
109
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
104
110
  export default _default;
105
111
  type __VLS_WithDefaults<P, D> = {
106
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
112
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
107
113
  default: D[K];
108
114
  }> : P[K];
109
115
  };
110
- type __VLS_Prettify<T> = {
111
- [K in keyof T]: T[K];
112
- } & {};
113
- type __VLS_WithTemplateSlots<T, S> = T & {
114
- new (): {
115
- $slots: S;
116
- };
117
- };
118
116
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
119
117
  type __VLS_TypePropsToOption<T> = {
120
118
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -124,3 +122,11 @@ type __VLS_TypePropsToOption<T> = {
124
122
  required: true;
125
123
  };
126
124
  };
125
+ type __VLS_WithTemplateSlots<T, S> = T & {
126
+ new (): {
127
+ $slots: S;
128
+ };
129
+ };
130
+ type __VLS_PrettifyLocal<T> = {
131
+ [K in keyof T]: T[K];
132
+ } & {};