@aplus-frontend/ui 0.3.8 → 0.3.10

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 (244) hide show
  1. package/es/src/ap-action/item/index.vue.d.ts +2 -1
  2. package/es/src/ap-action/item-dropdown/index.vue.d.ts +2 -1
  3. package/es/src/ap-action/item-modal/index.vue.d.ts +2 -1
  4. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +2 -1
  5. package/es/src/ap-button/ap-action-button.vue.d.ts +4 -3
  6. package/es/src/ap-button/ap-action-button.vue.mjs +11 -11
  7. package/es/src/ap-button/ap-button.vue.d.ts +4 -3
  8. package/es/src/ap-button/ap-button.vue.mjs +36 -36
  9. package/es/src/ap-button/interface.d.ts +4 -0
  10. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +3 -2
  11. package/es/src/ap-descriptions/help-message/index.vue.d.ts +3 -5
  12. package/es/src/ap-download/ap-download.vue.d.ts +5 -3
  13. package/es/src/ap-field/date/index.vue.d.ts +2 -1
  14. package/es/src/ap-field/date-range/index.vue.d.ts +2 -1
  15. package/es/src/ap-field/number/index.vue.d.ts +2 -1
  16. package/es/src/ap-field/rate/index.vue.d.ts +2 -1
  17. package/es/src/ap-field/segmented/index.vue.d.ts +2 -1
  18. package/es/src/ap-field/select/index.vue.d.ts +2 -1
  19. package/es/src/ap-field/slider/index.vue.d.ts +2 -1
  20. package/es/src/ap-field/switch/index.vue.d.ts +2 -1
  21. package/es/src/ap-field/text/index.vue.d.ts +2 -1
  22. package/es/src/ap-field/text/password.vue.d.ts +2 -1
  23. package/es/src/ap-form/ap-form.vue.d.ts +6 -4
  24. package/es/src/ap-form/dependency/index.vue.d.ts +2 -1
  25. package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -2
  26. package/es/src/ap-form/item/index.vue.d.ts +2 -1
  27. package/es/src/ap-form/item-group/index.vue.d.ts +2 -1
  28. package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -1
  29. package/es/src/ap-form/items/date/index.vue.d.ts +2 -1
  30. package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -1
  31. package/es/src/ap-form/items/number/index.vue.d.ts +2 -1
  32. package/es/src/ap-form/items/radio/index.vue.d.ts +2 -1
  33. package/es/src/ap-form/items/select/index.vue.d.ts +2 -1
  34. package/es/src/ap-form/items/switch/index.vue.d.ts +2 -1
  35. package/es/src/ap-form/items/text/group.vue.d.ts +2 -1
  36. package/es/src/ap-form/items/text/index.vue.d.ts +2 -1
  37. package/es/src/ap-form/items/text/password.vue.d.ts +2 -1
  38. package/es/src/ap-form/items/text-area/index.vue.d.ts +2 -1
  39. package/es/src/ap-form/list/index.vue.d.ts +2 -1
  40. package/es/src/ap-form/modal-form/index.vue.d.ts +3 -2
  41. package/es/src/ap-form/modal-form/index.vue.mjs +61 -57
  42. package/es/src/ap-form/render/control.vue.d.ts +2 -1
  43. package/es/src/ap-form/render/item.vue.d.ts +2 -1
  44. package/es/src/ap-form/search-form/index.vue.d.ts +3 -2
  45. package/es/src/ap-form/set/index.vue.d.ts +2 -1
  46. package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +3 -2
  47. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +3 -2
  48. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +3 -2
  49. package/es/src/ap-list/index.vue.d.ts +3 -5
  50. package/es/src/ap-list/index.vue.mjs +37 -39
  51. package/es/src/ap-list/interface.d.ts +3 -3
  52. package/es/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +1 -1
  53. package/es/src/ap-scroll-bar/index.d.ts +1 -1
  54. package/es/src/ap-table/ap-table.vue.d.ts +3 -5
  55. package/es/src/ap-table/ap-table.vue2.mjs +75 -78
  56. package/es/src/ap-table/components/index/index.vue.d.ts +1 -1
  57. package/es/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
  58. package/es/src/ap-table/components/setting/modal/index.vue.d.ts +2 -1
  59. package/es/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
  60. package/es/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
  61. package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
  62. package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
  63. package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
  64. package/es/src/ap-table/constants.d.ts +1 -1
  65. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  66. package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +87 -0
  67. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +209 -0
  68. package/es/src/ap-table/hooks/use-table-paging.d.ts +13 -3
  69. package/es/src/ap-table/hooks/use-table-paging.mjs +131 -126
  70. package/es/src/ap-table/interface.d.ts +4 -3
  71. package/es/src/ap-table/utils.d.ts +1 -0
  72. package/es/src/ap-table/utils.mjs +10 -5
  73. package/es/src/ap-tag/ap-tag-group.vue.d.ts +2 -1
  74. package/es/src/ap-tag/ap-tag.vue.d.ts +1 -1
  75. package/es/src/ap-upload/apUpload.vue.d.ts +3 -2
  76. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  77. package/es/src/ap-upload/components/Picture.vue.d.ts +5 -9
  78. package/es/src/ap-upload/components/SingleFile.vue.d.ts +1 -1
  79. package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +5 -3
  80. package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
  81. package/es/src/business/ap-appendix/index.d.ts +1 -1
  82. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -2
  83. package/es/src/business/ap-batch-action/index.d.ts +1 -1
  84. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +2 -1
  85. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +3 -4
  86. package/es/src/business/ap-batch-action-group/index.d.ts +887 -5
  87. package/es/src/business/ap-card/ApCard.vue.d.ts +3 -2
  88. package/es/src/business/ap-card/index.d.ts +1 -1
  89. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -5
  90. package/es/src/business/ap-expand-alert/index.d.ts +4 -6
  91. package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -2
  92. package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +8 -346
  93. package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
  94. package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
  95. package/es/src/business/ap-group-search/index.d.ts +3 -3
  96. package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +8 -346
  97. package/es/src/business/ap-image/ApImage.vue.d.ts +2 -1
  98. package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
  99. package/es/src/business/ap-input-radio/index.d.ts +1 -1
  100. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +3 -2
  101. package/es/src/business/ap-ladder/index.d.ts +1 -1
  102. package/es/src/business/ap-select-layout/index.d.ts +3 -4
  103. package/es/src/business/ap-select-layout/interface.d.ts +1 -0
  104. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +3 -5
  105. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +58 -56
  106. package/es/src/business/ap-table-modal/modal-title.vue.d.ts +3 -2
  107. package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
  108. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +3 -2
  109. package/es/src/business/ap-title/ApTitle.vue.d.ts +3 -2
  110. package/es/src/business/ap-title/index.d.ts +1 -1
  111. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +5 -3
  112. package/es/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
  113. package/es/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
  114. package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
  115. package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +1 -1
  116. package/es/src/check-card/group.vue.d.ts +2 -1
  117. package/es/src/check-card/index.vue.d.ts +3 -2
  118. package/es/src/editable-table/form-item.vue.d.ts +3 -5
  119. package/es/src/editable-table/index.vue.d.ts +3 -5
  120. package/es/src/tests/wrapper.d.ts +4 -4
  121. package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  122. package/lib/src/ap-action/item/index.vue.d.ts +2 -1
  123. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +2 -1
  124. package/lib/src/ap-action/item-modal/index.vue.d.ts +2 -1
  125. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +2 -1
  126. package/lib/src/ap-button/ap-action-button.vue.d.ts +4 -3
  127. package/lib/src/ap-button/ap-action-button.vue.js +1 -1
  128. package/lib/src/ap-button/ap-button.vue.d.ts +4 -3
  129. package/lib/src/ap-button/ap-button.vue.js +1 -1
  130. package/lib/src/ap-button/interface.d.ts +4 -0
  131. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +3 -2
  132. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +3 -5
  133. package/lib/src/ap-download/ap-download.vue.d.ts +5 -3
  134. package/lib/src/ap-field/date/index.vue.d.ts +2 -1
  135. package/lib/src/ap-field/date-range/index.vue.d.ts +2 -1
  136. package/lib/src/ap-field/number/index.vue.d.ts +2 -1
  137. package/lib/src/ap-field/rate/index.vue.d.ts +2 -1
  138. package/lib/src/ap-field/segmented/index.vue.d.ts +2 -1
  139. package/lib/src/ap-field/select/index.vue.d.ts +2 -1
  140. package/lib/src/ap-field/slider/index.vue.d.ts +2 -1
  141. package/lib/src/ap-field/switch/index.vue.d.ts +2 -1
  142. package/lib/src/ap-field/text/index.vue.d.ts +2 -1
  143. package/lib/src/ap-field/text/password.vue.d.ts +2 -1
  144. package/lib/src/ap-form/ap-form.vue.d.ts +6 -4
  145. package/lib/src/ap-form/dependency/index.vue.d.ts +2 -1
  146. package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -2
  147. package/lib/src/ap-form/item/index.vue.d.ts +2 -1
  148. package/lib/src/ap-form/item-group/index.vue.d.ts +2 -1
  149. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -1
  150. package/lib/src/ap-form/items/date/index.vue.d.ts +2 -1
  151. package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -1
  152. package/lib/src/ap-form/items/number/index.vue.d.ts +2 -1
  153. package/lib/src/ap-form/items/radio/index.vue.d.ts +2 -1
  154. package/lib/src/ap-form/items/select/index.vue.d.ts +2 -1
  155. package/lib/src/ap-form/items/switch/index.vue.d.ts +2 -1
  156. package/lib/src/ap-form/items/text/group.vue.d.ts +2 -1
  157. package/lib/src/ap-form/items/text/index.vue.d.ts +2 -1
  158. package/lib/src/ap-form/items/text/password.vue.d.ts +2 -1
  159. package/lib/src/ap-form/items/text-area/index.vue.d.ts +2 -1
  160. package/lib/src/ap-form/list/index.vue.d.ts +2 -1
  161. package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -2
  162. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  163. package/lib/src/ap-form/render/control.vue.d.ts +2 -1
  164. package/lib/src/ap-form/render/item.vue.d.ts +2 -1
  165. package/lib/src/ap-form/search-form/index.vue.d.ts +3 -2
  166. package/lib/src/ap-form/set/index.vue.d.ts +2 -1
  167. package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +3 -2
  168. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +3 -2
  169. package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +3 -2
  170. package/lib/src/ap-list/index.vue.d.ts +3 -5
  171. package/lib/src/ap-list/index.vue.js +1 -1
  172. package/lib/src/ap-list/interface.d.ts +3 -3
  173. package/lib/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +1 -1
  174. package/lib/src/ap-scroll-bar/index.d.ts +1 -1
  175. package/lib/src/ap-table/ap-table.vue.d.ts +3 -5
  176. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  177. package/lib/src/ap-table/components/index/index.vue.d.ts +1 -1
  178. package/lib/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
  179. package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +2 -1
  180. package/lib/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
  181. package/lib/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
  182. package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
  183. package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
  184. package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
  185. package/lib/src/ap-table/constants.d.ts +1 -1
  186. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  187. package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +87 -0
  188. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -0
  189. package/lib/src/ap-table/hooks/use-table-paging.d.ts +13 -3
  190. package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
  191. package/lib/src/ap-table/interface.d.ts +4 -3
  192. package/lib/src/ap-table/utils.d.ts +1 -0
  193. package/lib/src/ap-table/utils.js +1 -1
  194. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +2 -1
  195. package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -1
  196. package/lib/src/ap-upload/apUpload.vue.d.ts +3 -2
  197. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  198. package/lib/src/ap-upload/components/Picture.vue.d.ts +5 -9
  199. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +1 -1
  200. package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +5 -3
  201. package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
  202. package/lib/src/business/ap-appendix/index.d.ts +1 -1
  203. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -2
  204. package/lib/src/business/ap-batch-action/index.d.ts +1 -1
  205. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +2 -1
  206. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +3 -4
  207. package/lib/src/business/ap-batch-action-group/index.d.ts +887 -5
  208. package/lib/src/business/ap-card/ApCard.vue.d.ts +3 -2
  209. package/lib/src/business/ap-card/index.d.ts +1 -1
  210. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -5
  211. package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
  212. package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -2
  213. package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +8 -346
  214. package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
  215. package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
  216. package/lib/src/business/ap-group-search/index.d.ts +3 -3
  217. package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +8 -346
  218. package/lib/src/business/ap-image/ApImage.vue.d.ts +2 -1
  219. package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
  220. package/lib/src/business/ap-input-radio/index.d.ts +1 -1
  221. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +3 -2
  222. package/lib/src/business/ap-ladder/index.d.ts +1 -1
  223. package/lib/src/business/ap-select-layout/index.d.ts +3 -4
  224. package/lib/src/business/ap-select-layout/interface.d.ts +1 -0
  225. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +3 -5
  226. package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
  227. package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +3 -2
  228. package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
  229. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +3 -2
  230. package/lib/src/business/ap-title/ApTitle.vue.d.ts +3 -2
  231. package/lib/src/business/ap-title/index.d.ts +1 -1
  232. package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +5 -3
  233. package/lib/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
  234. package/lib/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
  235. package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
  236. package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +1 -1
  237. package/lib/src/check-card/group.vue.d.ts +2 -1
  238. package/lib/src/check-card/index.vue.d.ts +3 -2
  239. package/lib/src/editable-table/form-item.vue.d.ts +3 -5
  240. package/lib/src/editable-table/index.vue.d.ts +3 -5
  241. package/lib/src/tests/wrapper.d.ts +4 -4
  242. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  243. package/package.json +1 -1
  244. package/index.ts +0 -19
@@ -1,9 +1,10 @@
1
1
  import { ApActionItemProps, ApActionItemSlots } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
4
5
  slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
5
6
  refs: {};
6
- attrs: Partial<{}>;
7
+ rootEl: any;
7
8
  };
8
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
10
  declare const __VLS_component: DefineComponent<ApActionItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -3,11 +3,12 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
3
3
  import { ActionColor, MixedActionTypes } from '..';
4
4
  import { Trigger } from '@aplus-frontend/antdv/es/dropdown/props';
5
5
  declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
6
7
  slots: {
7
8
  default?(_: {}): any;
8
9
  };
9
10
  refs: {};
10
- attrs: Partial<{}>;
11
+ rootEl: any;
11
12
  };
12
13
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
14
  declare const __VLS_component: DefineComponent<ApActionItemDropdownProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionItemDropdownProps> & Readonly<{}>, {
@@ -3,9 +3,10 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
3
3
  import { ActionColor } from '..';
4
4
  import { ModalFuncProps } from '@aplus-frontend/antdv';
5
5
  declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
6
7
  slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
7
8
  refs: {};
8
- attrs: Partial<{}>;
9
+ rootEl: any;
9
10
  };
10
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
12
  declare const __VLS_component: DefineComponent<ApActionItemModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionItemModalProps> & Readonly<{}>, {
@@ -11,9 +11,10 @@ import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
11
11
  import { PresetColorType } from '@aplus-frontend/antdv/es/_util/colors';
12
12
  import { AlignType, BuildInPlacements } from '@aplus-frontend/antdv/es/vc-trigger/interface';
13
13
  declare function __VLS_template(): {
14
+ attrs: Partial<{}>;
14
15
  slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
15
16
  refs: {};
16
- attrs: Partial<{}>;
17
+ rootEl: any;
17
18
  };
18
19
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
20
  declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionItemPopconfirmProps> & Readonly<{}>, {
@@ -1,10 +1,11 @@
1
+ import { ApButtonSlots, ApButtonProps } from './interface';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- import { ApButtonProps } from './interface';
3
3
  import { ButtonType } from '@aplus-frontend/antdv/es/button';
4
4
  declare function __VLS_template(): {
5
- slots: Partial<Record<string, (_: any) => any>>;
6
- refs: {};
7
5
  attrs: Partial<{}>;
6
+ slots: Readonly<ApButtonSlots> & ApButtonSlots;
7
+ refs: {};
8
+ rootEl: any;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: DefineComponent<ApButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApButtonProps> & Readonly<{}>, {
@@ -1,7 +1,7 @@
1
- import { defineComponent as p, openBlock as s, createBlock as i, normalizeProps as t, guardReactiveProps as r, createSlots as d, renderList as u, withCtx as c, renderSlot as m } from "vue";
1
+ import { defineComponent as p, useSlots as i, openBlock as d, createBlock as u, normalizeProps as t, guardReactiveProps as r, createSlots as c, renderList as m, withCtx as f, renderSlot as y } from "vue";
2
2
  import "./ap-button.vue2.mjs";
3
- import f from "./ap-button.vue.mjs";
4
- const k = /* @__PURE__ */ p({
3
+ import B from "./ap-button.vue.mjs";
4
+ const C = /* @__PURE__ */ p({
5
5
  __name: "ap-action-button",
6
6
  props: {
7
7
  prefixCls: {},
@@ -25,20 +25,20 @@ const k = /* @__PURE__ */ p({
25
25
  onClick: {}
26
26
  },
27
27
  setup(n) {
28
- const a = n;
29
- return (e, y) => (s(), i(f, t(r({
28
+ const a = i(), l = n;
29
+ return (e, b) => (d(), u(B, t(r({
30
30
  ...e.$attrs,
31
- ...a
32
- })), d({ _: 2 }, [
33
- u(Object.keys(e.$slots), (o) => ({
31
+ ...l
32
+ })), c({ _: 2 }, [
33
+ m(a, (_, o) => ({
34
34
  name: o,
35
- fn: c((l) => [
36
- m(e.$slots, o, t(r(l || {})))
35
+ fn: f((s) => [
36
+ y(e.$slots, o, t(r(s || {})))
37
37
  ])
38
38
  }))
39
39
  ]), 1040));
40
40
  }
41
41
  });
42
42
  export {
43
- k as default
43
+ C as default
44
44
  };
@@ -1,10 +1,11 @@
1
- import { ApButtonProps } from './interface';
1
+ import { ApButtonSlots, ApButtonProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { ButtonType } from '@aplus-frontend/antdv/es/button';
4
4
  declare function __VLS_template(): {
5
- slots: Partial<Record<string, (_: any) => any>>;
6
- refs: {};
7
5
  attrs: Partial<{}>;
6
+ slots: Readonly<ApButtonSlots> & ApButtonSlots;
7
+ refs: {};
8
+ rootEl: any;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: DefineComponent<ApButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApButtonProps> & Readonly<{}>, {
@@ -1,12 +1,12 @@
1
- import { defineComponent as C, ref as B, computed as t, openBlock as W, createBlock as z, unref as a, mergeProps as L, createSlots as w, renderList as M, withCtx as T, renderSlot as $, normalizeProps as P, guardReactiveProps as _ } from "vue";
2
- import { Button as x } from "@aplus-frontend/antdv";
3
- import { wait as N } from "@aplus-frontend/utils";
1
+ import { defineComponent as W, useSlots as z, ref as L, computed as t, openBlock as w, createBlock as M, unref as l, mergeProps as T, createSlots as _, renderList as P, withCtx as $, renderSlot as x, normalizeProps as S, guardReactiveProps as N } from "vue";
2
+ import { Button as A } from "@aplus-frontend/antdv";
3
+ import { wait as D } from "@aplus-frontend/utils";
4
4
  import "../config-provider/index.mjs";
5
- import { omit as O } from "lodash-unified";
6
- import { transferOpacityColor as j, isAsynchronous as A } from "./utils/index.mjs";
7
- import { useNamespace as D } from "../config-provider/hooks/use-namespace.mjs";
8
- import { useGlobalConfig as F } from "../config-provider/hooks/use-global-config.mjs";
9
- const S = 88, G = 300, U = /* @__PURE__ */ C({
5
+ import { omit as F } from "lodash-unified";
6
+ import { transferOpacityColor as O, isAsynchronous as j } from "./utils/index.mjs";
7
+ import { useNamespace as G } from "../config-provider/hooks/use-namespace.mjs";
8
+ import { useGlobalConfig as R } from "../config-provider/hooks/use-global-config.mjs";
9
+ const q = 88, E = 300, Y = /* @__PURE__ */ W({
10
10
  __name: "ap-button",
11
11
  props: {
12
12
  prefixCls: {},
@@ -29,21 +29,21 @@ const S = 88, G = 300, U = /* @__PURE__ */ C({
29
29
  lazy: { type: [Boolean, Number], default: !0 },
30
30
  onClick: {}
31
31
  },
32
- setup(f) {
33
- const e = f, l = {
32
+ setup(m) {
33
+ const y = z(), e = m, a = {
34
34
  aplus: "#0070FF",
35
35
  admin: "#34b77c"
36
- }, { b: i } = D("ap-action-button"), m = F("uiMode"), r = B(!1), y = t(
37
- () => e.borderLinkColor || l[m.value] || l.aplus
36
+ }, { b: i } = G("ap-action-button"), b = R("uiMode"), n = L(!1), v = t(
37
+ () => e.borderLinkColor || a[b.value] || a.aplus
38
38
  ), s = t(
39
- () => e.type === "borderLink" ? y.value : void 0
39
+ () => e.type === "borderLink" ? v.value : void 0
40
40
  ), u = t(
41
- () => j(s.value)
42
- ), b = t(() => e.minWidth === !0 ? `${S}px` : typeof e.minWidth == "number" ? `${e.minWidth}px` : typeof e.minWidth == "string" ? e.minWidth : void 0), v = t(
41
+ () => O(s.value)
42
+ ), h = t(() => e.minWidth === !0 ? `${q}px` : typeof e.minWidth == "number" ? `${e.minWidth}px` : typeof e.minWidth == "string" ? e.minWidth : void 0), g = t(
43
43
  () => (e.type === "borderLink" ? "default" : e.type) || "default"
44
- ), d = t(() => e.loading ?? r.value ?? !1), p = t(() => e.lazy === !0 ? G : typeof e.lazy == "number" && e.lazy >= 0 ? e.lazy : 0);
45
- function h() {
46
- const o = O(e, [
44
+ ), d = t(() => e.loading ?? n.value ?? !1), p = t(() => e.lazy === !0 ? E : typeof e.lazy == "number" && e.lazy >= 0 ? e.lazy : 0);
45
+ function k() {
46
+ const o = F(e, [
47
47
  "type",
48
48
  "borderLinkColor",
49
49
  "minWidth",
@@ -52,47 +52,47 @@ const S = 88, G = 300, U = /* @__PURE__ */ C({
52
52
  ]);
53
53
  return o ? {
54
54
  ...o,
55
- type: v.value,
56
- onclick: k
55
+ type: g.value,
56
+ onclick: C
57
57
  } : {};
58
58
  }
59
- async function k() {
59
+ async function C() {
60
60
  if (d.value) return;
61
- const o = A(e.onClick), c = Date.now();
61
+ const o = j(e.onClick), c = Date.now();
62
62
  try {
63
- o && (r.value = !0, await o);
63
+ o && (n.value = !0, await o);
64
64
  } finally {
65
65
  if (o) {
66
- const n = Date.now() - c;
67
- n < p.value && await N(p.value - n), r.value = !1;
66
+ const r = Date.now() - c;
67
+ r < p.value && await D(p.value - r), n.value = !1;
68
68
  }
69
69
  }
70
70
  }
71
- return (o, c) => (W(), z(a(x), L({
71
+ return (o, c) => (w(), M(l(A), T({
72
72
  class: {
73
- [a(i)()]: !0,
74
- [`${a(i)()}-border-link`]: u.value
73
+ [l(i)()]: !0,
74
+ [`${l(i)()}-border-link`]: u.value
75
75
  }
76
76
  }, {
77
77
  ...o.$attrs,
78
- ...h()
78
+ ...k()
79
79
  }, {
80
80
  style: {
81
81
  color: s.value,
82
- minWidth: b.value,
82
+ minWidth: h.value,
83
83
  "--button-border-color": u.value
84
84
  },
85
85
  loading: d.value
86
- }), w({ _: 2 }, [
87
- M(Object.keys(o.$slots), (n) => ({
88
- name: n,
89
- fn: T((g) => [
90
- $(o.$slots, n, P(_(g || {})))
86
+ }), _({ _: 2 }, [
87
+ P(y, (r, f) => ({
88
+ name: f,
89
+ fn: $((B) => [
90
+ x(o.$slots, f, S(N(B || {})))
91
91
  ])
92
92
  }))
93
93
  ]), 1040, ["class", "style", "loading"]));
94
94
  }
95
95
  });
96
96
  export {
97
- U as default
97
+ Y as default
98
98
  };
@@ -7,3 +7,7 @@ export type ApButtonProps = Omit<ButtonProps, 'type' | 'onClick'> & {
7
7
  onClick?: () => any | Promise<any>;
8
8
  };
9
9
  export type ApActionButtonProps = ApButtonProps;
10
+ export type ApButtonSlots = {
11
+ default: any;
12
+ icon?: any;
13
+ };
@@ -1,6 +1,7 @@
1
1
  import { DisplayInfoProps } from './interface';
2
2
  import { VNode, RendererNode, RendererElement, VNodeChild, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
4
5
  slots: Partial<Record<string, (_: {
5
6
  index: number;
6
7
  item: VNode<RendererNode, RendererElement, {
@@ -11,10 +12,10 @@ declare function __VLS_template(): {
11
12
  } | undefined;
12
13
  }) => any>>;
13
14
  refs: {};
14
- attrs: Partial<{}>;
15
+ rootEl: HTMLDivElement;
15
16
  };
16
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
- declare const __VLS_component: DefineComponent<DisplayInfoProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DisplayInfoProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_component: DefineComponent<DisplayInfoProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DisplayInfoProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
18
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
20
  export default _default;
20
21
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,9 +1,7 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{
2
+ type __VLS_Props = {
3
3
  helpMessage?: any;
4
4
  label?: any;
5
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
6
- helpMessage?: any;
7
- label?: any;
8
- }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
5
+ };
6
+ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
9
7
  export default _default;
@@ -1,17 +1,19 @@
1
1
  import { ApDownLoadProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { ButtonType } from '@aplus-frontend/antdv/es/button';
4
+ type __VLS_Props = ApDownLoadProps;
4
5
  declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
5
7
  slots: {
6
8
  icon?(_: {}): any;
7
9
  };
8
10
  refs: {};
9
- attrs: Partial<{}>;
11
+ rootEl: any;
10
12
  };
11
13
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: DefineComponent<ApDownLoadProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
13
15
  downloadCallback: (...args: any[]) => void;
14
- }, string, PublicProps, Readonly<ApDownLoadProps> & Readonly<{
16
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
15
17
  onDownloadCallback?: ((...args: any[]) => any) | undefined;
16
18
  }>, {
17
19
  size: "small" | "large" | "middle";
@@ -19,9 +19,10 @@ type ApFieldDataSlots = {
19
19
  default?: any;
20
20
  };
21
21
  declare function __VLS_template(): {
22
+ attrs: Partial<{}>;
22
23
  slots: Readonly<ApFieldDataSlots> & ApFieldDataSlots;
23
24
  refs: {};
24
- attrs: Partial<{}>;
25
+ rootEl: any;
25
26
  };
26
27
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
28
  declare const __VLS_component: DefineComponent<ApFieldDateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -20,9 +20,10 @@ type ApFieldDateRangeSlots = {
20
20
  clearIcon?: any;
21
21
  };
22
22
  declare function __VLS_template(): {
23
+ attrs: Partial<{}>;
23
24
  slots: Readonly<ApFieldDateRangeSlots> & ApFieldDateRangeSlots;
24
25
  refs: {};
25
- attrs: Partial<{}>;
26
+ rootEl: any;
26
27
  };
27
28
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
28
29
  declare const __VLS_component: DefineComponent<ApFieldDateRangeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -16,6 +16,7 @@ type ApFieldNumberSlots = {
16
16
  declare function focus(): void;
17
17
  declare function blur(): void;
18
18
  declare function __VLS_template(): {
19
+ attrs: Partial<{}>;
19
20
  slots: Readonly<ApFieldNumberSlots> & ApFieldNumberSlots;
20
21
  refs: {
21
22
  inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
@@ -339,7 +340,7 @@ declare function __VLS_template(): {
339
340
  parser: (displayValue: string) => ValueType;
340
341
  }> | null;
341
342
  };
342
- attrs: Partial<{}>;
343
+ rootEl: any;
343
344
  };
344
345
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
345
346
  declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
@@ -8,6 +8,7 @@ import { FieldMode } from '..';
8
8
  declare function focus(): void;
9
9
  declare function blur(): void;
10
10
  declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
11
12
  slots: Readonly<{
12
13
  character: any;
13
14
  }> & {
@@ -95,7 +96,7 @@ declare function __VLS_template(): {
95
96
  allowHalf: boolean;
96
97
  }> | null;
97
98
  };
98
- attrs: Partial<{}>;
99
+ rootEl: any;
99
100
  };
100
101
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
101
102
  declare const __VLS_component: DefineComponent<ApFieldRateProps, {
@@ -2,6 +2,7 @@ import { ApFieldSegmentedProps } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { FieldMode } from '..';
4
4
  declare function __VLS_template(): {
5
+ attrs: Partial<{}>;
5
6
  slots: {
6
7
  label?(_: {
7
8
  value: string | number;
@@ -12,7 +13,7 @@ declare function __VLS_template(): {
12
13
  }): any;
13
14
  };
14
15
  refs: {};
15
- attrs: Partial<{}>;
16
+ rootEl: any;
16
17
  };
17
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
19
  declare const __VLS_component: DefineComponent<ApFieldSegmentedProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -26,6 +26,7 @@ declare function requestIfNeeded(clear?: boolean): Promise<void>;
26
26
  declare function focus(): void;
27
27
  declare function blur(): void;
28
28
  declare function __VLS_template(): {
29
+ attrs: Partial<{}>;
29
30
  slots: Readonly<ApFieldSelectSlots> & ApFieldSelectSlots;
30
31
  refs: {
31
32
  selectRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
@@ -430,7 +431,7 @@ declare function __VLS_template(): {
430
431
  labelInValue: boolean;
431
432
  }> | null;
432
433
  };
433
- attrs: Partial<{}>;
434
+ rootEl: any;
434
435
  };
435
436
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
436
437
  declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
@@ -14,6 +14,7 @@ type ApFieldSliderSlots = {
14
14
  declare function focus(): void;
15
15
  declare function blur(): void;
16
16
  declare function __VLS_template(): {
17
+ attrs: Partial<{}>;
17
18
  slots: Readonly<ApFieldSliderSlots> & ApFieldSliderSlots;
18
19
  refs: {
19
20
  sliderRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
@@ -272,7 +273,7 @@ declare function __VLS_template(): {
272
273
  getTooltipPopupContainer: (triggerNode: HTMLElement) => HTMLElement;
273
274
  }> | null;
274
275
  };
275
- attrs: Partial<{}>;
276
+ rootEl: any;
276
277
  };
277
278
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
278
279
  declare const __VLS_component: DefineComponent<ApFieldSliderProps, {
@@ -6,9 +6,10 @@ type ApFieldSwitchSlots = {
6
6
  default: any;
7
7
  };
8
8
  declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
9
10
  slots: Readonly<ApFieldSwitchSlots> & ApFieldSwitchSlots;
10
11
  refs: {};
11
- attrs: Partial<{}>;
12
+ rootEl: any;
12
13
  };
13
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
15
  declare const __VLS_component: DefineComponent<ApFieldSwitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -10,9 +10,10 @@ type ApFieldTextSlots = {
10
10
  clearIcon?: any;
11
11
  };
12
12
  declare function __VLS_template(): {
13
+ attrs: Partial<{}>;
13
14
  slots: Readonly<ApFieldTextSlots> & ApFieldTextSlots;
14
15
  refs: {};
15
- attrs: Partial<{}>;
16
+ rootEl: any;
16
17
  };
17
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
19
  declare const __VLS_component: DefineComponent<ApFieldTextProps, {
@@ -10,9 +10,10 @@ type ApFieldTextPasswordSlots = {
10
10
  iconRender: any;
11
11
  };
12
12
  declare function __VLS_template(): {
13
+ attrs: Partial<{}>;
13
14
  slots: Readonly<ApFieldTextPasswordSlots> & ApFieldTextPasswordSlots;
14
15
  refs: {};
15
- attrs: Partial<{}>;
16
+ rootEl: any;
16
17
  };
17
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
19
  declare const __VLS_component: DefineComponent<ApFieldTextPasswordProps, {
@@ -1,5 +1,5 @@
1
1
  import { ApFormProps, RegistedFieldType, WatchFunc } from './interface';
2
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, RuleObject, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
2
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
3
3
  import { Recordable } from '../type';
4
4
  import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
5
5
  import { VueTypeDef, VueTypeValidableDef } from '../../node_modules/vue-types';
@@ -7,7 +7,6 @@ import { ColSize } from '@aplus-frontend/antdv/es/grid';
7
7
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
8
8
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
9
9
  import { Options } from '../../node_modules/scroll-into-view-if-needed';
10
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
11
10
  import { SizeType } from '@aplus-frontend/antdv/es/button';
12
11
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
12
  /**
@@ -24,6 +23,7 @@ declare function getInternalInstance(mark: string): {
24
23
  registerWatch: typeof registerWatch;
25
24
  } | undefined;
26
25
  declare function __VLS_template(): {
26
+ attrs: Partial<{}>;
27
27
  slots: {
28
28
  default?(_: {}): any;
29
29
  };
@@ -288,7 +288,9 @@ declare function __VLS_template(): {
288
288
  };
289
289
  xxl: {
290
290
  type: PropType<string | number | ColSize>;
291
- default: string | number | ColSize;
291
+ default: string | number | **
292
+ * 订阅事件
293
+ */).ColSize;
292
294
  };
293
295
  prefixCls: StringConstructor;
294
296
  flex: (StringConstructor | NumberConstructor)[];
@@ -663,7 +665,7 @@ declare function __VLS_template(): {
663
665
  scrollToFirstError: boolean | Options<any>;
664
666
  }> | null;
665
667
  };
666
- attrs: Partial<{}>;
668
+ rootEl: any;
667
669
  };
668
670
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
669
671
  declare const __VLS_component: DefineComponent<ApFormProps, {
@@ -4,9 +4,10 @@ type ApFormDependencySlots = {
4
4
  default(values: Record<string, any>): any;
5
5
  };
6
6
  declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
7
8
  slots: Readonly<ApFormDependencySlots> & ApFormDependencySlots;
8
9
  refs: {};
9
- attrs: Partial<{}>;
10
+ rootEl: any;
10
11
  };
11
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
13
  declare const __VLS_component: DefineComponent<ApFormDependencyProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormDependencyProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -19,6 +19,7 @@ type ApDrawerFormSlots = {
19
19
  submitter(defaultDoms: VNode[]): any;
20
20
  };
21
21
  declare function __VLS_template(): {
22
+ attrs: Partial<{}>;
22
23
  slots: Readonly<ApDrawerFormSlots> & ApDrawerFormSlots;
23
24
  refs: {
24
25
  formRef: ({
@@ -115,7 +116,7 @@ declare function __VLS_template(): {
115
116
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
116
117
  readonly initialValues?: Recordable | undefined;
117
118
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
118
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
119
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
119
120
  readonly syncToUrlPriority?: boolean | undefined;
120
121
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
121
122
  $attrs: {
@@ -218,7 +219,7 @@ declare function __VLS_template(): {
218
219
  };
219
220
  }) | null;
220
221
  };
221
- attrs: Partial<{}>;
222
+ rootEl: any;
222
223
  };
223
224
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
224
225
  declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
@@ -12,6 +12,7 @@ declare function clearValidate(): void;
12
12
  declare function resetField(): void;
13
13
  declare function getFieldValue(shouldFormat?: boolean): any;
14
14
  declare function __VLS_template(): {
15
+ attrs: Partial<{}>;
15
16
  slots: Readonly<ApFormItemSlots> & ApFormItemSlots;
16
17
  refs: {
17
18
  formItemRef: ({
@@ -790,7 +791,7 @@ declare function __VLS_template(): {
790
791
  tooltip: StringConstructor;
791
792
  }>> & Readonly<{}>, "hidden" | "colon" | "required" | "hasFeedback" | "autoLink" | "validateFirst" | "noStyle"> & ShallowUnwrapRef<() => any>) | null;
792
793
  };
793
- attrs: Partial<{}>;
794
+ rootEl: any;
794
795
  };
795
796
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
796
797
  declare const __VLS_component: DefineComponent<ApFormItemProps, {
@@ -3,13 +3,14 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
3
3
  import { Breakpoint } from '@aplus-frontend/antdv/es/_util/responsiveObserve';
4
4
  import { Gutter } from '@aplus-frontend/antdv/es/grid/Row';
5
5
  declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
6
7
  slots: Readonly<{
7
8
  default(): any[];
8
9
  }> & {
9
10
  default(): any[];
10
11
  };
11
12
  refs: {};
12
- attrs: Partial<{}>;
13
+ rootEl: any;
13
14
  };
14
15
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
16
  declare const __VLS_component: DefineComponent<ApFormItemGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemGroupProps> & Readonly<{}>, {
@@ -4,9 +4,10 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
4
4
  import { ApFieldCheckboxProps } from '../../..';
5
5
  type ApFormItemCheckboxSlots = Omit<ApFormItemSlots, 'default'>;
6
6
  declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
7
8
  slots: Readonly<ApFormItemCheckboxSlots> & ApFormItemCheckboxSlots;
8
9
  refs: {};
9
- attrs: Partial<{}>;
10
+ rootEl: any;
10
11
  };
11
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
13
  declare const __VLS_component: DefineComponent<ApFormItemCheckboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemCheckboxProps> & Readonly<{}>, {
@@ -3,6 +3,7 @@ import { ApFormItemSlots } from '../../interface';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
4
  import { ApFieldDateProps } from '../../..';
5
5
  declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
6
7
  slots: Readonly<{
7
8
  dateRender: any;
8
9
  suffixIcon?: any;
@@ -29,7 +30,7 @@ declare function __VLS_template(): {
29
30
  default?: any;
30
31
  } & Omit<ApFormItemSlots, "default">;
31
32
  refs: {};
32
- attrs: Partial<{}>;
33
+ rootEl: any;
33
34
  };
34
35
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
35
36
  declare const __VLS_component: DefineComponent<ApFormItemDateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemDateProps> & Readonly<{}>, {
@@ -3,6 +3,7 @@ import { ApFormItemSlots } from '../../interface';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
4
  import { ApFieldDateRangeProps } from '../../..';
5
5
  declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
6
7
  slots: Readonly<{
7
8
  suffixIcon?: any;
8
9
  prevIcon?: any;
@@ -27,7 +28,7 @@ declare function __VLS_template(): {
27
28
  clearIcon?: any;
28
29
  } & Omit<ApFormItemSlots, "default">;
29
30
  refs: {};
30
- attrs: Partial<{}>;
31
+ rootEl: any;
31
32
  };
32
33
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
33
34
  declare const __VLS_component: DefineComponent<ApFormItemDateRangeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemDateRangeProps> & Readonly<{}>, {