@aplus-frontend/ui 0.3.8 → 0.3.9

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 (230) 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-scroll-bar/ap-scroll-bar.vue.d.ts +1 -1
  51. package/es/src/ap-scroll-bar/index.d.ts +1 -1
  52. package/es/src/ap-table/ap-table.vue.d.ts +3 -5
  53. package/es/src/ap-table/ap-table.vue2.mjs +23 -22
  54. package/es/src/ap-table/components/index/index.vue.d.ts +1 -1
  55. package/es/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
  56. package/es/src/ap-table/components/setting/modal/index.vue.d.ts +2 -1
  57. package/es/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
  58. package/es/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
  59. package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
  60. package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
  61. package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
  62. package/es/src/ap-table/constants.d.ts +1 -1
  63. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  64. package/es/src/ap-table/hooks/use-table-paging.d.ts +7 -3
  65. package/es/src/ap-table/hooks/use-table-paging.mjs +131 -126
  66. package/es/src/ap-table/utils.d.ts +1 -0
  67. package/es/src/ap-table/utils.mjs +10 -5
  68. package/es/src/ap-tag/ap-tag-group.vue.d.ts +2 -1
  69. package/es/src/ap-tag/ap-tag.vue.d.ts +1 -1
  70. package/es/src/ap-upload/apUpload.vue.d.ts +3 -2
  71. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  72. package/es/src/ap-upload/components/Picture.vue.d.ts +5 -9
  73. package/es/src/ap-upload/components/SingleFile.vue.d.ts +1 -1
  74. package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +5 -3
  75. package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
  76. package/es/src/business/ap-appendix/index.d.ts +1 -1
  77. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -2
  78. package/es/src/business/ap-batch-action/index.d.ts +1 -1
  79. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +2 -1
  80. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +3 -4
  81. package/es/src/business/ap-batch-action-group/index.d.ts +887 -5
  82. package/es/src/business/ap-card/ApCard.vue.d.ts +3 -2
  83. package/es/src/business/ap-card/index.d.ts +1 -1
  84. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -5
  85. package/es/src/business/ap-expand-alert/index.d.ts +4 -6
  86. package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -2
  87. package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +8 -346
  88. package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
  89. package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
  90. package/es/src/business/ap-group-search/index.d.ts +3 -3
  91. package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +8 -346
  92. package/es/src/business/ap-image/ApImage.vue.d.ts +2 -1
  93. package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
  94. package/es/src/business/ap-input-radio/index.d.ts +1 -1
  95. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +3 -2
  96. package/es/src/business/ap-ladder/index.d.ts +1 -1
  97. package/es/src/business/ap-select-layout/index.d.ts +2 -4
  98. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +3 -5
  99. package/es/src/business/ap-table-modal/modal-title.vue.d.ts +3 -2
  100. package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
  101. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +3 -2
  102. package/es/src/business/ap-title/ApTitle.vue.d.ts +3 -2
  103. package/es/src/business/ap-title/index.d.ts +1 -1
  104. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +5 -3
  105. package/es/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
  106. package/es/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
  107. package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
  108. package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +1 -1
  109. package/es/src/check-card/group.vue.d.ts +2 -1
  110. package/es/src/check-card/index.vue.d.ts +3 -2
  111. package/es/src/editable-table/form-item.vue.d.ts +3 -5
  112. package/es/src/editable-table/index.vue.d.ts +3 -5
  113. package/es/src/tests/wrapper.d.ts +4 -4
  114. package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  115. package/lib/src/ap-action/item/index.vue.d.ts +2 -1
  116. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +2 -1
  117. package/lib/src/ap-action/item-modal/index.vue.d.ts +2 -1
  118. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +2 -1
  119. package/lib/src/ap-button/ap-action-button.vue.d.ts +4 -3
  120. package/lib/src/ap-button/ap-action-button.vue.js +1 -1
  121. package/lib/src/ap-button/ap-button.vue.d.ts +4 -3
  122. package/lib/src/ap-button/ap-button.vue.js +1 -1
  123. package/lib/src/ap-button/interface.d.ts +4 -0
  124. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +3 -2
  125. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +3 -5
  126. package/lib/src/ap-download/ap-download.vue.d.ts +5 -3
  127. package/lib/src/ap-field/date/index.vue.d.ts +2 -1
  128. package/lib/src/ap-field/date-range/index.vue.d.ts +2 -1
  129. package/lib/src/ap-field/number/index.vue.d.ts +2 -1
  130. package/lib/src/ap-field/rate/index.vue.d.ts +2 -1
  131. package/lib/src/ap-field/segmented/index.vue.d.ts +2 -1
  132. package/lib/src/ap-field/select/index.vue.d.ts +2 -1
  133. package/lib/src/ap-field/slider/index.vue.d.ts +2 -1
  134. package/lib/src/ap-field/switch/index.vue.d.ts +2 -1
  135. package/lib/src/ap-field/text/index.vue.d.ts +2 -1
  136. package/lib/src/ap-field/text/password.vue.d.ts +2 -1
  137. package/lib/src/ap-form/ap-form.vue.d.ts +6 -4
  138. package/lib/src/ap-form/dependency/index.vue.d.ts +2 -1
  139. package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -2
  140. package/lib/src/ap-form/item/index.vue.d.ts +2 -1
  141. package/lib/src/ap-form/item-group/index.vue.d.ts +2 -1
  142. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -1
  143. package/lib/src/ap-form/items/date/index.vue.d.ts +2 -1
  144. package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -1
  145. package/lib/src/ap-form/items/number/index.vue.d.ts +2 -1
  146. package/lib/src/ap-form/items/radio/index.vue.d.ts +2 -1
  147. package/lib/src/ap-form/items/select/index.vue.d.ts +2 -1
  148. package/lib/src/ap-form/items/switch/index.vue.d.ts +2 -1
  149. package/lib/src/ap-form/items/text/group.vue.d.ts +2 -1
  150. package/lib/src/ap-form/items/text/index.vue.d.ts +2 -1
  151. package/lib/src/ap-form/items/text/password.vue.d.ts +2 -1
  152. package/lib/src/ap-form/items/text-area/index.vue.d.ts +2 -1
  153. package/lib/src/ap-form/list/index.vue.d.ts +2 -1
  154. package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -2
  155. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  156. package/lib/src/ap-form/render/control.vue.d.ts +2 -1
  157. package/lib/src/ap-form/render/item.vue.d.ts +2 -1
  158. package/lib/src/ap-form/search-form/index.vue.d.ts +3 -2
  159. package/lib/src/ap-form/set/index.vue.d.ts +2 -1
  160. package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +3 -2
  161. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +3 -2
  162. package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +3 -2
  163. package/lib/src/ap-list/index.vue.d.ts +3 -5
  164. package/lib/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +1 -1
  165. package/lib/src/ap-scroll-bar/index.d.ts +1 -1
  166. package/lib/src/ap-table/ap-table.vue.d.ts +3 -5
  167. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  168. package/lib/src/ap-table/components/index/index.vue.d.ts +1 -1
  169. package/lib/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
  170. package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +2 -1
  171. package/lib/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
  172. package/lib/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
  173. package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
  174. package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
  175. package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
  176. package/lib/src/ap-table/constants.d.ts +1 -1
  177. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  178. package/lib/src/ap-table/hooks/use-table-paging.d.ts +7 -3
  179. package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
  180. package/lib/src/ap-table/utils.d.ts +1 -0
  181. package/lib/src/ap-table/utils.js +1 -1
  182. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +2 -1
  183. package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -1
  184. package/lib/src/ap-upload/apUpload.vue.d.ts +3 -2
  185. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  186. package/lib/src/ap-upload/components/Picture.vue.d.ts +5 -9
  187. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +1 -1
  188. package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +5 -3
  189. package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
  190. package/lib/src/business/ap-appendix/index.d.ts +1 -1
  191. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -2
  192. package/lib/src/business/ap-batch-action/index.d.ts +1 -1
  193. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +2 -1
  194. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +3 -4
  195. package/lib/src/business/ap-batch-action-group/index.d.ts +887 -5
  196. package/lib/src/business/ap-card/ApCard.vue.d.ts +3 -2
  197. package/lib/src/business/ap-card/index.d.ts +1 -1
  198. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -5
  199. package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
  200. package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -2
  201. package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +8 -346
  202. package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
  203. package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
  204. package/lib/src/business/ap-group-search/index.d.ts +3 -3
  205. package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +8 -346
  206. package/lib/src/business/ap-image/ApImage.vue.d.ts +2 -1
  207. package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
  208. package/lib/src/business/ap-input-radio/index.d.ts +1 -1
  209. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +3 -2
  210. package/lib/src/business/ap-ladder/index.d.ts +1 -1
  211. package/lib/src/business/ap-select-layout/index.d.ts +2 -4
  212. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +3 -5
  213. package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +3 -2
  214. package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
  215. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +3 -2
  216. package/lib/src/business/ap-title/ApTitle.vue.d.ts +3 -2
  217. package/lib/src/business/ap-title/index.d.ts +1 -1
  218. package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +5 -3
  219. package/lib/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
  220. package/lib/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
  221. package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
  222. package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +1 -1
  223. package/lib/src/check-card/group.vue.d.ts +2 -1
  224. package/lib/src/check-card/index.vue.d.ts +3 -2
  225. package/lib/src/editable-table/form-item.vue.d.ts +3 -5
  226. package/lib/src/editable-table/index.vue.d.ts +3 -5
  227. package/lib/src/tests/wrapper.d.ts +4 -4
  228. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  229. package/package.json +1 -1
  230. package/index.ts +0 -19
@@ -6,9 +6,10 @@ type CheckCardSlots = {
6
6
  }): void;
7
7
  };
8
8
  declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
9
10
  slots: Readonly<CheckCardSlots> & CheckCardSlots;
10
11
  refs: {};
11
- attrs: Partial<{}>;
12
+ rootEl: HTMLDivElement;
12
13
  };
13
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
15
  declare const __VLS_component: DefineComponent<CheckCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -22,7 +23,7 @@ declare const __VLS_component: DefineComponent<CheckCardProps, {}, {}, {}, {}, C
22
23
  checked: boolean;
23
24
  stopPropagation: boolean | ((event: MouseEvent) => boolean);
24
25
  indicatorSize: number;
25
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
26
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
26
27
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
28
  export default _default;
28
29
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,9 +1,9 @@
1
1
  import { EditableColumnType, EditableTableFormItemProps } from './interface';
2
2
  import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
4
4
  import { UnwrapRefSimple } from '@vue/reactivity';
5
5
  declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType>> & PublicProps;
6
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & Partial<{}> & EditableTableFormItemProps<RecordType>> & PublicProps;
7
7
  expose(exposed: ShallowUnwrapRef<{
8
8
  add: (defaultValue?: any, insertIndex?: number) => void;
9
9
  remove: (index: number | number[]) => void;
@@ -48,9 +48,7 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
48
48
  }) => void;
49
49
  };
50
50
  emit: {};
51
- }>) => VNode<RendererNode, RendererElement, {
52
- [key: string]: any;
53
- }> & {
51
+ }>) => VNode & {
54
52
  __ctx?: Awaited<typeof __VLS_setup>;
55
53
  };
56
54
  export default _default;
@@ -2,11 +2,11 @@ import { EditableTableProps, EditableColumnType } from './interface';
2
2
  import { NamePath, ValidateOptions } from '@aplus-frontend/antdv/es/form/interface';
3
3
  import { Recordable } from '../type';
4
4
  import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
5
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
5
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
6
6
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
7
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
8
8
  readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
9
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:value"> & EditableTableProps<RecordType>> & PublicProps;
9
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:value"> & Partial<{}> & EditableTableProps<RecordType>> & PublicProps;
10
10
  expose(exposed: ShallowUnwrapRef<{
11
11
  resetFields: () => void;
12
12
  validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
@@ -53,9 +53,7 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
53
53
  }) => void;
54
54
  };
55
55
  emit: (event: "update:value", ...args: any[]) => void;
56
- }>) => VNode<RendererNode, RendererElement, {
57
- [key: string]: any;
58
- }> & {
56
+ }>) => VNode & {
59
57
  __ctx?: Awaited<typeof __VLS_setup>;
60
58
  };
61
59
  export default _default;
@@ -1,8 +1,8 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  export declare const Wrapper: DefineComponent<{
3
- uiMode?: ("admin" | "aplus") | undefined;
4
- lang?: ("en" | "zh-cn") | undefined;
3
+ uiMode?: "admin" | "aplus" | undefined;
4
+ lang?: "en" | "zh-cn" | undefined;
5
5
  }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
6
- uiMode?: ("admin" | "aplus") | undefined;
7
- lang?: ("en" | "zh-cn") | undefined;
6
+ uiMode?: "admin" | "aplus" | undefined;
7
+ lang?: "en" | "zh-cn" | undefined;
8
8
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -6,5 +6,5 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
6
6
  }, string, PublicProps, Readonly<WorkOrderModalProps> & Readonly<{
7
7
  "onUpdate:open"?: (() => any) | undefined;
8
8
  onModalClose?: (() => any) | undefined;
9
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
9
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
10
10
  export default _default;
@@ -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 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./ap-button.vue2.js");const l=require("./ap-button.vue.js"),u=e.defineComponent({__name:"ap-action-button",props:{prefixCls:{},htmlType:{},shape:{},size:{},loading:{type:[Boolean,Object],default:void 0},disabled:{type:Boolean},ghost:{type:Boolean},block:{type:Boolean},danger:{type:Boolean},icon:{},href:{},target:{},title:{},onMousedown:{},type:{default:"borderLink"},borderLinkColor:{},minWidth:{type:[Boolean,Number,String],default:!0},lazy:{type:[Boolean,Number],default:!0},onClick:{}},setup(r){const n=r;return(t,s)=>(e.openBlock(),e.createBlock(l.default,e.normalizeProps(e.guardReactiveProps({...t.$attrs,...n})),e.createSlots({_:2},[e.renderList(Object.keys(t.$slots),o=>({name:o,fn:e.withCtx(a=>[e.renderSlot(t.$slots,o,e.normalizeProps(e.guardReactiveProps(a||{})))])}))]),1040))}});exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./ap-button.vue2.js");const s=require("./ap-button.vue.js"),u=e.defineComponent({__name:"ap-action-button",props:{prefixCls:{},htmlType:{},shape:{},size:{},loading:{type:[Boolean,Object],default:void 0},disabled:{type:Boolean},ghost:{type:Boolean},block:{type:Boolean},danger:{type:Boolean},icon:{},href:{},target:{},title:{},onMousedown:{},type:{default:"borderLink"},borderLinkColor:{},minWidth:{type:[Boolean,Number,String],default:!0},lazy:{type:[Boolean,Number],default:!0},onClick:{}},setup(r){const n=e.useSlots(),a=r;return(t,i)=>(e.openBlock(),e.createBlock(s.default,e.normalizeProps(e.guardReactiveProps({...t.$attrs,...a})),e.createSlots({_:2},[e.renderList(n,(p,o)=>({name:o,fn:e.withCtx(l=>[e.renderSlot(t.$slots,o,e.normalizeProps(e.guardReactiveProps(l||{})))])}))]),1040))}});exports.default=u;
@@ -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 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("@aplus-frontend/antdv"),B=require("@aplus-frontend/utils");require("../config-provider/index.js");const W=require("lodash-unified"),p=require("./utils/index.js"),z=require("../config-provider/hooks/use-namespace.js"),L=require("../config-provider/hooks/use-global-config.js"),q=88,M=300,w=e.defineComponent({__name:"ap-button",props:{prefixCls:{},htmlType:{},shape:{},size:{},loading:{type:[Boolean,Object],default:void 0},disabled:{type:Boolean},ghost:{type:Boolean},block:{type:Boolean},danger:{type:Boolean},icon:{},href:{},target:{},title:{},onMousedown:{},type:{default:"default"},borderLinkColor:{},minWidth:{type:[Boolean,Number,String],default:!1},lazy:{type:[Boolean,Number],default:!0},onClick:{}},setup(f){const t=f,l={aplus:"#0070FF",admin:"#34b77c"},{b:a}=z.useNamespace("ap-action-button"),y=L.useGlobalConfig("uiMode"),r=e.ref(!1),m=e.computed(()=>t.borderLinkColor||l[y.value]||l.aplus),i=e.computed(()=>t.type==="borderLink"?m.value:void 0),u=e.computed(()=>p.transferOpacityColor(i.value)),b=e.computed(()=>t.minWidth===!0?`${q}px`:typeof t.minWidth=="number"?`${t.minWidth}px`:typeof t.minWidth=="string"?t.minWidth:void 0),v=e.computed(()=>(t.type==="borderLink"?"default":t.type)||"default"),s=e.computed(()=>t.loading??r.value??!1),c=e.computed(()=>t.lazy===!0?M:typeof t.lazy=="number"&&t.lazy>=0?t.lazy:0);function h(){const o=W.omit(t,["type","borderLinkColor","minWidth","onClick","loading"]);return o?{...o,type:v.value,onclick:g}:{}}async function g(){if(s.value)return;const o=p.isAsynchronous(t.onClick),d=Date.now();try{o&&(r.value=!0,await o)}finally{if(o){const n=Date.now()-d;n<c.value&&await B.wait(c.value-n),r.value=!1}}}return(o,d)=>(e.openBlock(),e.createBlock(e.unref(C.Button),e.mergeProps({class:{[e.unref(a)()]:!0,[`${e.unref(a)()}-border-link`]:u.value}},{...o.$attrs,...h()},{style:{color:i.value,minWidth:b.value,"--button-border-color":u.value},loading:s.value}),e.createSlots({_:2},[e.renderList(Object.keys(o.$slots),n=>({name:n,fn:e.withCtx(k=>[e.renderSlot(o.$slots,n,e.normalizeProps(e.guardReactiveProps(k||{})))])}))]),1040,["class","style","loading"]))}});exports.default=w;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),W=require("@aplus-frontend/antdv"),z=require("@aplus-frontend/utils");require("../config-provider/index.js");const L=require("lodash-unified"),f=require("./utils/index.js"),q=require("../config-provider/hooks/use-namespace.js"),M=require("../config-provider/hooks/use-global-config.js"),_=88,w=300,T=e.defineComponent({__name:"ap-button",props:{prefixCls:{},htmlType:{},shape:{},size:{},loading:{type:[Boolean,Object],default:void 0},disabled:{type:Boolean},ghost:{type:Boolean},block:{type:Boolean},danger:{type:Boolean},icon:{},href:{},target:{},title:{},onMousedown:{},type:{default:"default"},borderLinkColor:{},minWidth:{type:[Boolean,Number,String],default:!1},lazy:{type:[Boolean,Number],default:!0},onClick:{}},setup(y){const m=e.useSlots(),t=y,l={aplus:"#0070FF",admin:"#34b77c"},{b:a}=q.useNamespace("ap-action-button"),b=M.useGlobalConfig("uiMode"),n=e.ref(!1),v=e.computed(()=>t.borderLinkColor||l[b.value]||l.aplus),i=e.computed(()=>t.type==="borderLink"?v.value:void 0),u=e.computed(()=>f.transferOpacityColor(i.value)),h=e.computed(()=>t.minWidth===!0?`${_}px`:typeof t.minWidth=="number"?`${t.minWidth}px`:typeof t.minWidth=="string"?t.minWidth:void 0),g=e.computed(()=>(t.type==="borderLink"?"default":t.type)||"default"),s=e.computed(()=>t.loading??n.value??!1),c=e.computed(()=>t.lazy===!0?w:typeof t.lazy=="number"&&t.lazy>=0?t.lazy:0);function C(){const o=L.omit(t,["type","borderLinkColor","minWidth","onClick","loading"]);return o?{...o,type:g.value,onclick:k}:{}}async function k(){if(s.value)return;const o=f.isAsynchronous(t.onClick),d=Date.now();try{o&&(n.value=!0,await o)}finally{if(o){const r=Date.now()-d;r<c.value&&await z.wait(c.value-r),n.value=!1}}}return(o,d)=>(e.openBlock(),e.createBlock(e.unref(W.Button),e.mergeProps({class:{[e.unref(a)()]:!0,[`${e.unref(a)()}-border-link`]:u.value}},{...o.$attrs,...C()},{style:{color:i.value,minWidth:h.value,"--button-border-color":u.value},loading:s.value}),e.createSlots({_:2},[e.renderList(m,(r,p)=>({name:p,fn:e.withCtx(B=>[e.renderSlot(o.$slots,p,e.normalizeProps(e.guardReactiveProps(B||{})))])}))]),1040,["class","style","loading"]))}});exports.default=T;
@@ -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<{}>, {
@@ -7,6 +7,7 @@ import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniD
7
7
  import { KeyboardEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
8
8
  import { OnCleanup } from '@vue/reactivity';
9
9
  declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
10
11
  slots: Readonly<{
11
12
  addonBefore?: any;
12
13
  addonAfter?: any;
@@ -160,7 +161,7 @@ declare function __VLS_template(): {
160
161
  };
161
162
  }) | null;
162
163
  };
163
- attrs: Partial<{}>;
164
+ rootEl: any;
164
165
  };
165
166
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
166
167
  declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {