@aplus-frontend/ui 6.29.3 → 6.30.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/es/src/ag-grid/index.vue.mjs +228 -222
  2. package/es/src/ag-grid/renderer/select.mjs +8 -11
  3. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +5 -6
  4. package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
  5. package/es/src/ap-field/checkbox/read.vue.d.ts +1 -1
  6. package/es/src/ap-field/date/index.vue.d.ts +4 -4
  7. package/es/src/ap-field/date/index.vue.mjs +11 -10
  8. package/es/src/ap-field/date/read.vue.d.ts +1 -1
  9. package/es/src/ap-field/date/read.vue2.mjs +8 -7
  10. package/es/src/ap-field/date-range/index.vue.d.ts +4 -4
  11. package/es/src/ap-field/date-range/index.vue.mjs +1 -0
  12. package/es/src/ap-field/date-range/read.vue.d.ts +1 -1
  13. package/es/src/ap-field/date-range/read.vue2.mjs +1 -0
  14. package/es/src/ap-field/index.d.ts +7 -7
  15. package/es/src/ap-field/number/index.vue.d.ts +90 -50
  16. package/es/src/ap-field/number/index.vue.mjs +14 -12
  17. package/es/src/ap-field/number/read.vue2.mjs +8 -6
  18. package/es/src/ap-field/rate/index.vue.d.ts +6 -6
  19. package/es/src/ap-field/select/index.vue.d.ts +241 -241
  20. package/es/src/ap-field/select/index.vue.mjs +27 -27
  21. package/es/src/ap-field/select/read.vue2.mjs +27 -27
  22. package/es/src/ap-field/slider/index.vue.d.ts +9 -9
  23. package/es/src/ap-field/switch/index.vue.d.ts +1 -1
  24. package/es/src/ap-field/switch/read.vue.d.ts +1 -1
  25. package/es/src/ap-field/text/index.vue.d.ts +1 -1
  26. package/es/src/ap-field/text/index.vue2.mjs +39 -38
  27. package/es/src/ap-field/text/password.vue.d.ts +1 -1
  28. package/es/src/ap-field/text/password.vue.mjs +34 -33
  29. package/es/src/ap-field/text/read-password.vue.d.ts +1 -1
  30. package/es/src/ap-field/text/read-password.vue2.mjs +31 -30
  31. package/es/src/ap-field/text/read.vue.d.ts +1 -1
  32. package/es/src/ap-field/text/read.vue2.mjs +21 -20
  33. package/es/src/ap-field/text-area/index.vue.d.ts +67 -57
  34. package/es/src/ap-field/text-area/index.vue.mjs +15 -14
  35. package/es/src/ap-field/text-area/read.vue.d.ts +1 -1
  36. package/es/src/ap-field/text-area/read.vue2.mjs +11 -10
  37. package/es/src/ap-field/tree-select/index.vue.d.ts +326 -326
  38. package/es/src/ap-field/tree-select/index.vue.mjs +46 -46
  39. package/es/src/ap-field/tree-select/read.vue2.mjs +45 -45
  40. package/es/src/ap-form/ap-form.vue.d.ts +71 -67
  41. package/es/src/ap-form/drawer-form/index.vue.d.ts +65 -65
  42. package/es/src/ap-form/item/index.vue.d.ts +36 -36
  43. package/es/src/ap-form/item/index.vue.mjs +10 -10
  44. package/es/src/ap-form/items/number/index.vue.d.ts +103 -59
  45. package/es/src/ap-form/items/select/index.vue.d.ts +306 -306
  46. package/es/src/ap-form/items/text/index.vue.d.ts +19 -17
  47. package/es/src/ap-form/items/text/password.vue.d.ts +19 -17
  48. package/es/src/ap-form/items/text-area/index.vue.d.ts +138 -118
  49. package/es/src/ap-form/items/tree-select/index.vue.d.ts +407 -407
  50. package/es/src/ap-form/modal-form/index.vue.d.ts +69 -70
  51. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +5 -6
  52. package/es/src/ap-form/search-form/index.vue.d.ts +67 -67
  53. package/es/src/ap-form/search-form/index.vue.mjs +40 -40
  54. package/es/src/ap-grid/constants.d.ts +3 -0
  55. package/es/src/ap-grid/constants.mjs +6 -3
  56. package/es/src/ap-grid/index.vue.mjs +221 -214
  57. package/es/src/ap-grid/utils/table.d.ts +1 -1
  58. package/es/src/ap-grid/utils/table.mjs +59 -62
  59. package/es/src/ap-table/constants.d.ts +499 -465
  60. package/es/src/ap-table/utils.d.ts +1 -1
  61. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +8 -8
  62. package/es/src/business/ap-batch-action-group/index.d.ts +7 -8
  63. package/es/src/business/ap-label/ApLabel.d.ts +4 -4
  64. package/es/src/business/ap-label/constans.d.ts +1 -1
  65. package/es/src/business/ap-label/index.d.ts +9 -9
  66. package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +1 -1
  67. package/es/src/business/ap-radio-group/index.d.ts +3 -3
  68. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
  69. package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
  70. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
  71. package/es/src/business/ap-table-modal/index.d.ts +3 -3
  72. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
  73. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -2
  74. package/es/src/business/ap-view/ap-view.vue2.mjs +80 -80
  75. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +33 -33
  76. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +33 -33
  77. package/es/src/business/ap-view/interface.d.ts +13 -3
  78. package/es/src/business/batch-input-group/index.vue.d.ts +11 -10
  79. package/es/src/business/batch-input-group/index.vue.mjs +20 -19
  80. package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +66 -56
  81. package/es/src/business/hooks/usePageListApTable.d.ts +1 -1
  82. package/es/src/config-provider/config-provider-props.d.ts +64 -52
  83. package/es/src/config-provider/config-provider-props.mjs +10 -2
  84. package/es/src/config-provider/config-provider.d.ts +130 -113
  85. package/es/src/config-provider/config-provider.mjs +26 -24
  86. package/es/src/config-provider/hooks/use-global-config.d.ts +60 -49
  87. package/es/src/config-provider/index.d.ts +214 -197
  88. package/es/src/mask/utils.d.ts +1 -1
  89. package/es/src/mask/utils.mjs +29 -13
  90. package/es/src/text/index.vue.mjs +3 -3
  91. package/es/src/utils/config-provider-preset.d.ts +36 -49
  92. package/es/src/version.d.ts +1 -1
  93. package/es/src/version.mjs +1 -1
  94. package/es/src/work-order-modal/work-order-modal.vue.d.ts +33 -33
  95. package/lib/src/ag-grid/index.vue.js +1 -1
  96. package/lib/src/ag-grid/renderer/select.js +1 -1
  97. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +5 -6
  98. package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
  99. package/lib/src/ap-field/checkbox/read.vue.d.ts +1 -1
  100. package/lib/src/ap-field/date/index.vue.d.ts +4 -4
  101. package/lib/src/ap-field/date/index.vue.js +1 -1
  102. package/lib/src/ap-field/date/read.vue.d.ts +1 -1
  103. package/lib/src/ap-field/date/read.vue2.js +1 -1
  104. package/lib/src/ap-field/date-range/index.vue.d.ts +4 -4
  105. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  106. package/lib/src/ap-field/date-range/read.vue.d.ts +1 -1
  107. package/lib/src/ap-field/date-range/read.vue2.js +1 -1
  108. package/lib/src/ap-field/index.d.ts +7 -7
  109. package/lib/src/ap-field/number/index.vue.d.ts +90 -50
  110. package/lib/src/ap-field/number/index.vue.js +1 -1
  111. package/lib/src/ap-field/number/read.vue2.js +1 -1
  112. package/lib/src/ap-field/rate/index.vue.d.ts +6 -6
  113. package/lib/src/ap-field/select/index.vue.d.ts +241 -241
  114. package/lib/src/ap-field/select/index.vue.js +1 -1
  115. package/lib/src/ap-field/select/read.vue2.js +1 -1
  116. package/lib/src/ap-field/slider/index.vue.d.ts +9 -9
  117. package/lib/src/ap-field/switch/index.vue.d.ts +1 -1
  118. package/lib/src/ap-field/switch/read.vue.d.ts +1 -1
  119. package/lib/src/ap-field/text/index.vue.d.ts +1 -1
  120. package/lib/src/ap-field/text/index.vue2.js +1 -1
  121. package/lib/src/ap-field/text/password.vue.d.ts +1 -1
  122. package/lib/src/ap-field/text/password.vue.js +1 -1
  123. package/lib/src/ap-field/text/read-password.vue.d.ts +1 -1
  124. package/lib/src/ap-field/text/read-password.vue2.js +1 -1
  125. package/lib/src/ap-field/text/read.vue.d.ts +1 -1
  126. package/lib/src/ap-field/text/read.vue2.js +1 -1
  127. package/lib/src/ap-field/text-area/index.vue.d.ts +67 -57
  128. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  129. package/lib/src/ap-field/text-area/read.vue.d.ts +1 -1
  130. package/lib/src/ap-field/text-area/read.vue2.js +1 -1
  131. package/lib/src/ap-field/tree-select/index.vue.d.ts +326 -326
  132. package/lib/src/ap-field/tree-select/index.vue.js +1 -1
  133. package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
  134. package/lib/src/ap-form/ap-form.vue.d.ts +71 -67
  135. package/lib/src/ap-form/drawer-form/index.vue.d.ts +65 -65
  136. package/lib/src/ap-form/item/index.vue.d.ts +36 -36
  137. package/lib/src/ap-form/item/index.vue.js +1 -1
  138. package/lib/src/ap-form/items/number/index.vue.d.ts +103 -59
  139. package/lib/src/ap-form/items/select/index.vue.d.ts +306 -306
  140. package/lib/src/ap-form/items/text/index.vue.d.ts +19 -17
  141. package/lib/src/ap-form/items/text/password.vue.d.ts +19 -17
  142. package/lib/src/ap-form/items/text-area/index.vue.d.ts +138 -118
  143. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +407 -407
  144. package/lib/src/ap-form/modal-form/index.vue.d.ts +69 -70
  145. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +5 -6
  146. package/lib/src/ap-form/search-form/index.vue.d.ts +67 -67
  147. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  148. package/lib/src/ap-grid/constants.d.ts +3 -0
  149. package/lib/src/ap-grid/constants.js +1 -1
  150. package/lib/src/ap-grid/index.vue.js +1 -1
  151. package/lib/src/ap-grid/utils/table.d.ts +1 -1
  152. package/lib/src/ap-grid/utils/table.js +1 -1
  153. package/lib/src/ap-table/constants.d.ts +499 -465
  154. package/lib/src/ap-table/utils.d.ts +1 -1
  155. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +8 -8
  156. package/lib/src/business/ap-batch-action-group/index.d.ts +7 -8
  157. package/lib/src/business/ap-label/ApLabel.d.ts +4 -4
  158. package/lib/src/business/ap-label/constans.d.ts +1 -1
  159. package/lib/src/business/ap-label/index.d.ts +9 -9
  160. package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +1 -1
  161. package/lib/src/business/ap-radio-group/index.d.ts +3 -3
  162. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
  163. package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
  164. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
  165. package/lib/src/business/ap-table-modal/index.d.ts +3 -3
  166. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
  167. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  168. package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
  169. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +33 -33
  170. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +33 -33
  171. package/lib/src/business/ap-view/interface.d.ts +13 -3
  172. package/lib/src/business/batch-input-group/index.vue.d.ts +11 -10
  173. package/lib/src/business/batch-input-group/index.vue.js +1 -1
  174. package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +66 -56
  175. package/lib/src/business/hooks/usePageListApTable.d.ts +1 -1
  176. package/lib/src/config-provider/config-provider-props.d.ts +64 -52
  177. package/lib/src/config-provider/config-provider-props.js +1 -1
  178. package/lib/src/config-provider/config-provider.d.ts +130 -113
  179. package/lib/src/config-provider/config-provider.js +1 -1
  180. package/lib/src/config-provider/hooks/use-global-config.d.ts +60 -49
  181. package/lib/src/config-provider/index.d.ts +214 -197
  182. package/lib/src/mask/utils.d.ts +1 -1
  183. package/lib/src/mask/utils.js +3 -3
  184. package/lib/src/text/index.vue.js +1 -1
  185. package/lib/src/utils/config-provider-preset.d.ts +36 -49
  186. package/lib/src/version.d.ts +1 -1
  187. package/lib/src/version.js +1 -1
  188. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +33 -33
  189. package/package.json +3 -3
  190. package/theme/ag-grid/index.css +0 -6
  191. package/theme/antdv-override.css +0 -6
  192. package/theme/antdv-override.less +0 -8
  193. package/theme/ap-expand-alert/ap-expand-alert.css +0 -4
  194. package/theme/ap-expand-alert/ap-expand-alert.less +6 -5
  195. package/theme/ap-form/ap-form-item.css +0 -6
  196. package/theme/ap-form/ap-form-item.less +0 -6
  197. package/theme/ap-form/index.css +0 -6
  198. package/theme/ap-form/search-form.css +0 -6
  199. package/theme/ap-grid/index.css +0 -6
  200. package/theme/ap-table/ap-table.css +0 -6
  201. package/theme/ap-table-modal/index.css +0 -6
  202. package/theme/ap-view/ap-view.css +4 -0
  203. package/theme/ap-view/ap-view.less +4 -0
  204. package/theme/editable-table/index.css +0 -6
  205. package/theme/index.css +4 -16
@@ -2,9 +2,9 @@ import { BatchInputGroupPopoverInputProps } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
3
3
  import { AutoSizeType } from '@aplus-frontend/antdv/es/input/inputProps';
4
4
  import { CompositionEventHandler, FocusEventHandler, ChangeEventHandler, KeyboardEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
5
- import { ButtonSize } from '@aplus-frontend/antdv/es/config-provider';
6
- import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
5
+ import { SizeType } from '@aplus-frontend/antdv/es/button';
7
6
  import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
7
+ import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
8
8
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
9
9
  declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
10
10
  "update:value": (...args: any[]) => void;
@@ -35,7 +35,7 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
35
35
  };
36
36
  valueModifiers: ObjectConstructor;
37
37
  size: {
38
- type: PropType<ButtonSize>;
38
+ type: PropType<SizeType>;
39
39
  };
40
40
  value: {
41
41
  type: PropType<string | number>;
@@ -43,8 +43,8 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
43
43
  };
44
44
  name: StringConstructor;
45
45
  type: {
46
- type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password">;
47
- default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
46
+ type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
47
+ default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
48
48
  };
49
49
  onFocus: PropType<FocusEventHandler>;
50
50
  onBlur: PropType<FocusEventHandler>;
@@ -69,43 +69,36 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
69
69
  default: any;
70
70
  };
71
71
  prefixCls: StringConstructor;
72
- autocomplete: StringConstructor;
73
- loading: {
72
+ id: StringConstructor;
73
+ readonly: {
74
74
  type: BooleanConstructor;
75
75
  default: any;
76
76
  };
77
- bordered: {
77
+ autofocus: {
78
78
  type: BooleanConstructor;
79
79
  default: any;
80
80
  };
81
- defaultValue: {
82
- type: PropType<string | number>;
83
- default: any;
81
+ variant: {
82
+ type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
83
+ default: "filled" | "outlined" | "borderless" | "underlined";
84
84
  };
85
- status: PropType<"" | "error" | "warning">;
85
+ autocomplete: StringConstructor;
86
86
  placeholder: {
87
87
  type: PropType<string | number>;
88
88
  };
89
- allowClear: {
89
+ lazy: {
90
90
  type: BooleanConstructor;
91
- default: any;
91
+ default: boolean;
92
92
  };
93
- autofocus: {
93
+ maxlength: NumberConstructor;
94
+ loading: {
94
95
  type: BooleanConstructor;
95
96
  default: any;
96
97
  };
97
- id: StringConstructor;
98
- clearIcon: VueTypeValidableDef<any>;
99
- readonly: {
98
+ bordered: {
100
99
  type: BooleanConstructor;
101
100
  default: any;
102
101
  };
103
- 'onUpdate:value': PropType<(val: string) => void>;
104
- lazy: {
105
- type: BooleanConstructor;
106
- default: boolean;
107
- };
108
- maxlength: NumberConstructor;
109
102
  showCount: {
110
103
  type: PropType<boolean | ShowCountProps>;
111
104
  };
@@ -116,24 +109,36 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
116
109
  default: any;
117
110
  };
118
111
  onRawInput: PropType<ChangeEventHandler>;
112
+ 'onUpdate:value': PropType<(val: string) => void>;
113
+ status: PropType<"" | "error" | "warning">;
114
+ defaultValue: {
115
+ type: PropType<string | number>;
116
+ default: any;
117
+ };
119
118
  inputElement: VueTypeValidableDef<any>;
120
119
  triggerFocus: PropType<() => void>;
121
120
  handleReset: PropType<MouseEventHandler>;
121
+ clearIcon: VueTypeValidableDef<any>;
122
+ allowClear: {
123
+ type: BooleanConstructor;
124
+ default: any;
125
+ };
122
126
  }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
123
127
  value: string | number;
124
- type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
128
+ type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
125
129
  onMousedown: MouseEventHandler;
126
130
  focused: boolean;
127
131
  hidden: boolean;
128
132
  disabled: boolean;
133
+ readonly: boolean;
134
+ autofocus: boolean;
135
+ variant: "filled" | "outlined" | "borderless" | "underlined";
136
+ lazy: boolean;
129
137
  loading: boolean;
130
138
  bordered: boolean;
139
+ onMouseUp: MouseEventHandler;
131
140
  defaultValue: string | number;
132
141
  allowClear: boolean;
133
- autofocus: boolean;
134
- readonly: boolean;
135
- lazy: boolean;
136
- onMouseUp: MouseEventHandler;
137
142
  autosize: any;
138
143
  autoSize: any;
139
144
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
@@ -167,7 +172,7 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
167
172
  };
168
173
  valueModifiers: ObjectConstructor;
169
174
  size: {
170
- type: PropType<ButtonSize>;
175
+ type: PropType<SizeType>;
171
176
  };
172
177
  value: {
173
178
  type: PropType<string | number>;
@@ -175,8 +180,8 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
175
180
  };
176
181
  name: StringConstructor;
177
182
  type: {
178
- type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password">;
179
- default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
183
+ type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
184
+ default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
180
185
  };
181
186
  onFocus: PropType<FocusEventHandler>;
182
187
  onBlur: PropType<FocusEventHandler>;
@@ -201,43 +206,36 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
201
206
  default: any;
202
207
  };
203
208
  prefixCls: StringConstructor;
204
- autocomplete: StringConstructor;
205
- loading: {
209
+ id: StringConstructor;
210
+ readonly: {
206
211
  type: BooleanConstructor;
207
212
  default: any;
208
213
  };
209
- bordered: {
214
+ autofocus: {
210
215
  type: BooleanConstructor;
211
216
  default: any;
212
217
  };
213
- defaultValue: {
214
- type: PropType<string | number>;
215
- default: any;
218
+ variant: {
219
+ type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
220
+ default: "filled" | "outlined" | "borderless" | "underlined";
216
221
  };
217
- status: PropType<"" | "error" | "warning">;
222
+ autocomplete: StringConstructor;
218
223
  placeholder: {
219
224
  type: PropType<string | number>;
220
225
  };
221
- allowClear: {
226
+ lazy: {
222
227
  type: BooleanConstructor;
223
- default: any;
228
+ default: boolean;
224
229
  };
225
- autofocus: {
230
+ maxlength: NumberConstructor;
231
+ loading: {
226
232
  type: BooleanConstructor;
227
233
  default: any;
228
234
  };
229
- id: StringConstructor;
230
- clearIcon: VueTypeValidableDef<any>;
231
- readonly: {
235
+ bordered: {
232
236
  type: BooleanConstructor;
233
237
  default: any;
234
238
  };
235
- 'onUpdate:value': PropType<(val: string) => void>;
236
- lazy: {
237
- type: BooleanConstructor;
238
- default: boolean;
239
- };
240
- maxlength: NumberConstructor;
241
239
  showCount: {
242
240
  type: PropType<boolean | ShowCountProps>;
243
241
  };
@@ -248,24 +246,36 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
248
246
  default: any;
249
247
  };
250
248
  onRawInput: PropType<ChangeEventHandler>;
249
+ 'onUpdate:value': PropType<(val: string) => void>;
250
+ status: PropType<"" | "error" | "warning">;
251
+ defaultValue: {
252
+ type: PropType<string | number>;
253
+ default: any;
254
+ };
251
255
  inputElement: VueTypeValidableDef<any>;
252
256
  triggerFocus: PropType<() => void>;
253
257
  handleReset: PropType<MouseEventHandler>;
258
+ clearIcon: VueTypeValidableDef<any>;
259
+ allowClear: {
260
+ type: BooleanConstructor;
261
+ default: any;
262
+ };
254
263
  }>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
255
264
  value: string | number;
256
- type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
265
+ type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
257
266
  onMousedown: MouseEventHandler;
258
267
  focused: boolean;
259
268
  hidden: boolean;
260
269
  disabled: boolean;
270
+ readonly: boolean;
271
+ autofocus: boolean;
272
+ variant: "filled" | "outlined" | "borderless" | "underlined";
273
+ lazy: boolean;
261
274
  loading: boolean;
262
275
  bordered: boolean;
276
+ onMouseUp: MouseEventHandler;
263
277
  defaultValue: string | number;
264
278
  allowClear: boolean;
265
- autofocus: boolean;
266
- readonly: boolean;
267
- lazy: boolean;
268
- onMouseUp: MouseEventHandler;
269
279
  autosize: any;
270
280
  autoSize: any;
271
281
  }> | null;
@@ -44,10 +44,10 @@ export declare function usePageListApTable(props?: UsePageListApTable): [ApTable
44
44
  select: (item: any) => void;
45
45
  selectAll: () => void;
46
46
  unSelectAll: () => void;
47
- clearAll: () => void;
48
47
  selectedRows: any[];
49
48
  unSelect: (item: any) => void;
50
49
  isSelected: (item: any) => boolean;
50
+ clearAll: () => void;
51
51
  toggleSelect: (item: any) => void;
52
52
  selectMulti: (items: any[]) => void;
53
53
  unSelectMulti: (items: any[]) => void;
@@ -1,14 +1,17 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  import { LocaleType } from '../locale/interface';
3
3
  import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig } from './constants';
4
+ import { ApGridProps } from '../ap-grid';
5
+ import { AgGridProps } from '../ag-grid';
4
6
  import { ViewCacheOption } from '../business';
5
7
  import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
6
8
  import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
7
- import { CSPConfig, SizeType } from '@aplus-frontend/antdv/es/config-provider';
9
+ import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
8
10
  import { Locale } from '@aplus-frontend/antdv/es/locale';
9
- import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
10
- import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
11
- import { ThemeConfig, Variant } from '@aplus-frontend/antdv/es/config-provider/context';
11
+ import { ButtonSize } from '@aplus-frontend/antdv/es/button';
12
+ import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig } from '@aplus-frontend/antdv/es/config-provider/context';
13
+ type ApGridConfig = Pick<ApGridProps, 'rowSelection'>;
14
+ type AgGridConfig = Pick<AgGridProps, 'rowSelection'>;
12
15
  export declare const configProviderProps: () => {
13
16
  iconPrefixCls: StringConstructor;
14
17
  getTargetContainer: {
@@ -31,14 +34,6 @@ export declare const configProviderProps: () => {
31
34
  type: PropType< CSPConfig>;
32
35
  default: CSPConfig;
33
36
  };
34
- input: {
35
- type: PropType<{
36
- autocomplete?: string;
37
- }>;
38
- default: {
39
- autocomplete?: string;
40
- };
41
- };
42
37
  autoInsertSpaceInButton: {
43
38
  type: BooleanConstructor;
44
39
  default: any;
@@ -56,7 +51,7 @@ export declare const configProviderProps: () => {
56
51
  };
57
52
  };
58
53
  componentSize: {
59
- type: PropType< SizeType>;
54
+ type: PropType< ButtonSize>;
60
55
  };
61
56
  componentDisabled: {
62
57
  type: BooleanConstructor;
@@ -68,10 +63,10 @@ export declare const configProviderProps: () => {
68
63
  };
69
64
  space: {
70
65
  type: PropType<{
71
- size?: SizeType | number;
66
+ size?: ButtonSize | number;
72
67
  }>;
73
68
  default: {
74
- size?: SizeType | number;
69
+ size?: ButtonSize | number;
75
70
  };
76
71
  };
77
72
  virtual: {
@@ -85,55 +80,71 @@ export declare const configProviderProps: () => {
85
80
  type: (BooleanConstructor | NumberConstructor)[];
86
81
  default: boolean;
87
82
  };
88
- form: {
83
+ theme: {
84
+ type: PropType< ThemeConfig>;
85
+ default: ThemeConfig;
86
+ };
87
+ wave: {
89
88
  type: PropType<{
90
- validateMessages?: ValidateMessages;
91
- requiredMark?: RequiredMark;
92
- colon?: boolean;
89
+ disabled?: boolean;
93
90
  }>;
94
91
  default: {
95
- validateMessages?: ValidateMessages;
96
- requiredMark?: RequiredMark;
97
- colon?: boolean;
92
+ disabled?: boolean;
98
93
  };
99
94
  };
95
+ input: {
96
+ type: PropType< InputConfig>;
97
+ default: InputConfig;
98
+ };
100
99
  pagination: {
101
- type: PropType<{
102
- showSizeChanger?: boolean;
103
- }>;
104
- default: {
105
- showSizeChanger?: boolean;
106
- };
100
+ type: PropType< PaginationConfig>;
101
+ default: PaginationConfig;
107
102
  };
108
- theme: {
109
- type: PropType< ThemeConfig>;
110
- default: ThemeConfig;
103
+ form: {
104
+ type: PropType< FormConfig>;
105
+ default: FormConfig;
111
106
  };
112
107
  select: {
113
- type: PropType<{
114
- variant?: Variant;
115
- showSearch?: boolean;
116
- }>;
117
- default: {
118
- variant?: Variant;
119
- showSearch?: boolean;
120
- };
108
+ type: PropType< SelectConfig>;
109
+ default: SelectConfig;
121
110
  };
122
111
  cascader: {
123
- type: PropType<{
124
- variant?: Variant;
125
- }>;
126
- default: {
127
- variant?: Variant;
128
- };
112
+ type: PropType< CascaderConfig>;
113
+ default: CascaderConfig;
129
114
  };
130
- wave: {
131
- type: PropType<{
132
- disabled?: boolean;
133
- }>;
134
- default: {
135
- disabled?: boolean;
136
- };
115
+ datePicker: {
116
+ type: PropType< DatePickerConfig>;
117
+ default: DatePickerConfig;
118
+ };
119
+ rangePicker: {
120
+ type: PropType< RangePickerConfig>;
121
+ default: RangePickerConfig;
122
+ };
123
+ treeSelect: {
124
+ type: PropType< TreeSelectConfig>;
125
+ default: TreeSelectConfig;
126
+ };
127
+ textArea: {
128
+ type: PropType< TextAreaConfig>;
129
+ default: TextAreaConfig;
130
+ };
131
+ inputNumber: {
132
+ type: PropType< InputNumberConfig>;
133
+ default: InputNumberConfig;
134
+ };
135
+ mentions: {
136
+ type: PropType< MentionsConfig>;
137
+ default: MentionsConfig;
138
+ };
139
+ timePicker: {
140
+ type: PropType< TimePickerConfig>;
141
+ default: TimePickerConfig;
142
+ };
143
+ apGrid: {
144
+ type: PropType<ApGridConfig>;
145
+ };
146
+ agGrid: {
147
+ type: PropType<AgGridConfig>;
137
148
  };
138
149
  /**
139
150
  * @description aplus-ui的locale
@@ -184,3 +195,4 @@ export declare const configProviderProps: () => {
184
195
  };
185
196
  };
186
197
  export type ConfigProviderProps = Partial<ExtractPropTypes<ReturnType<typeof configProviderProps>>>;
198
+ export {};
@@ -1,5 +1,12 @@
1
1
  import { configProviderProps as e } from "@aplus-frontend/antdv/es/config-provider/context";
2
- const p = () => ({
2
+ const t = () => ({
3
+ apGrid: {
4
+ type: Object
5
+ },
6
+ agGrid: {
7
+ type: Object
8
+ }
9
+ }), o = () => ({
3
10
  /**
4
11
  * @description aplus-ui的locale
5
12
  */
@@ -47,8 +54,9 @@ const p = () => ({
47
54
  type: Object,
48
55
  default: () => ({})
49
56
  },
57
+ ...t(),
50
58
  ...e()
51
59
  });
52
60
  export {
53
- p as configProviderProps
61
+ o as configProviderProps
54
62
  };