@aplus-frontend/ui 7.19.0-beta.1 → 7.19.0-beta.2

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 (157) hide show
  1. package/es/src/ag-grid/context.mjs +1 -1
  2. package/es/src/ag-grid/editable/form-item.vue.d.ts +2 -4
  3. package/es/src/ag-grid/editable/form-item.vue.mjs +1 -0
  4. package/es/src/ag-grid/editable/index.vue.d.ts +2 -4
  5. package/es/src/ag-grid/editable/index.vue.mjs +9 -8
  6. package/es/src/ag-grid/hooks/use-columns.mjs +31 -23
  7. package/es/src/ag-grid/hooks/use-pinned-row.mjs +2 -2
  8. package/es/src/ag-grid/index.vue.d.ts +2 -4
  9. package/es/src/ag-grid/index.vue.mjs +353 -335
  10. package/es/src/ag-grid/interface.d.ts +40 -1
  11. package/es/src/ag-grid/utils.d.ts +18 -0
  12. package/es/src/ag-grid/utils.mjs +39 -18
  13. package/es/src/ap-field/cascader/use-options.d.ts +4 -4
  14. package/es/src/ap-field/date/index.vue.d.ts +0 -1
  15. package/es/src/ap-field/date-range/index.vue.d.ts +0 -1
  16. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  17. package/es/src/ap-field/text/password.vue.d.ts +4 -4
  18. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  19. package/es/src/ap-form/ap-form.vue.d.ts +1 -2
  20. package/es/src/ap-form/context.mjs +1 -1
  21. package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  22. package/es/src/ap-form/item/index.vue.d.ts +6 -6
  23. package/es/src/ap-form/item-group/helper.mjs +2 -2
  24. package/es/src/ap-form/items/date/index.vue.d.ts +9 -11
  25. package/es/src/ap-form/items/date-range/index.vue.d.ts +13 -15
  26. package/es/src/ap-form/items/number/index.vue.d.ts +2 -3
  27. package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
  28. package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
  29. package/es/src/ap-form/provider/context.mjs +1 -1
  30. package/es/src/ap-form/search-form/index.vue.d.ts +3 -4
  31. package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  32. package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
  33. package/es/src/ap-grid/index.vue.d.ts +2 -4
  34. package/es/src/ap-grid/utils/table.mjs +2 -2
  35. package/es/src/ap-list/index.vue.d.ts +2 -4
  36. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  37. package/es/src/ap-pro-card/components/card/index.vue2.mjs +2 -2
  38. package/es/src/ap-table/ap-table.vue.d.ts +2 -4
  39. package/es/src/ap-table/components/setting/context.d.ts +1 -1
  40. package/es/src/ap-table/components/setting/context.mjs +1 -1
  41. package/es/src/ap-table/components/setting/modal/index.vue.mjs +119 -109
  42. package/es/src/ap-table/components/setting/sorter/context.mjs +1 -1
  43. package/es/src/ap-table/components/setting/template/edit-form.vue.d.ts +2 -3
  44. package/es/src/ap-table/constants.d.ts +20 -22
  45. package/es/src/ap-table/context.mjs +1 -1
  46. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +9 -9
  47. package/es/src/ap-table/hooks/use-table-template-storage.d.ts +9 -9
  48. package/es/src/ap-table/hooks/use-table-template-storage.mjs +94 -88
  49. package/es/src/ap-table/utils.mjs +1 -1
  50. package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.mjs +1 -1
  51. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  52. package/es/src/business/ap-download/hooks/index.mjs +1 -1
  53. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
  54. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +1 -3
  55. package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
  56. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  57. package/es/src/business/ap-keep-alive/hook.mjs +1 -1
  58. package/es/src/business/ap-keep-alive/utils.mjs +1 -1
  59. package/es/src/business/ap-select-layout/index.d.ts +2 -4
  60. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  61. package/es/src/business/ap-table-modal/index.d.ts +17 -5
  62. package/es/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  63. package/es/src/business/ap-value-select-card/index.vue.d.ts +2 -4
  64. package/es/src/business/ap-view/ap-view.vue.d.ts +1 -1
  65. package/es/src/business/ap-view/ap-view.vue2.mjs +87 -81
  66. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
  67. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
  68. package/es/src/business/ap-view/hooks/use-send-to-url.d.ts +2 -0
  69. package/es/src/business/ap-view/hooks/use-send-to-url.mjs +46 -30
  70. package/es/src/business/ap-view/hooks/use-view-provide.mjs +1 -1
  71. package/es/src/business/ap-view/index.d.ts +3 -3
  72. package/es/src/business/ap-view/interface.d.ts +7 -1
  73. package/es/src/check-card/context.mjs +1 -1
  74. package/es/src/config-provider/constants.mjs +1 -1
  75. package/es/src/config-provider/hooks/use-locale.mjs +1 -1
  76. package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
  77. package/es/src/config-provider/hooks/use-namespace.mjs +1 -1
  78. package/es/src/config-provider/hooks/use-token.mjs +1 -1
  79. package/es/src/editable-table/form-item.vue.d.ts +2 -4
  80. package/es/src/editable-table/index.vue.d.ts +2 -4
  81. package/es/src/editable-table/utils.mjs +1 -1
  82. package/es/src/scroll-view/index.vue.d.ts +5 -5
  83. package/es/src/tests/wrapper.d.ts +4 -4
  84. package/es/src/text/context.mjs +1 -1
  85. package/es/src/time-ago/useTimeAgo.mjs +1 -1
  86. package/es/src/type.d.ts +1 -0
  87. package/es/src/utils/slot.mjs +1 -1
  88. package/es/src/version.d.ts +1 -1
  89. package/es/src/version.mjs +1 -1
  90. package/lib/src/ag-grid/editable/form-item.vue.d.ts +2 -4
  91. package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
  92. package/lib/src/ag-grid/editable/index.vue.d.ts +2 -4
  93. package/lib/src/ag-grid/editable/index.vue.js +1 -1
  94. package/lib/src/ag-grid/hooks/use-columns.js +1 -1
  95. package/lib/src/ag-grid/hooks/use-pinned-row.js +1 -1
  96. package/lib/src/ag-grid/index.vue.d.ts +2 -4
  97. package/lib/src/ag-grid/index.vue.js +1 -1
  98. package/lib/src/ag-grid/interface.d.ts +40 -1
  99. package/lib/src/ag-grid/utils.d.ts +18 -0
  100. package/lib/src/ag-grid/utils.js +1 -1
  101. package/lib/src/ap-field/cascader/use-options.d.ts +4 -4
  102. package/lib/src/ap-field/date/index.vue.d.ts +0 -1
  103. package/lib/src/ap-field/date-range/index.vue.d.ts +0 -1
  104. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  105. package/lib/src/ap-field/text/password.vue.d.ts +4 -4
  106. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  107. package/lib/src/ap-form/ap-form.vue.d.ts +1 -2
  108. package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  109. package/lib/src/ap-form/item/index.vue.d.ts +6 -6
  110. package/lib/src/ap-form/items/date/index.vue.d.ts +9 -11
  111. package/lib/src/ap-form/items/date-range/index.vue.d.ts +13 -15
  112. package/lib/src/ap-form/items/number/index.vue.d.ts +2 -3
  113. package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
  114. package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
  115. package/lib/src/ap-form/search-form/index.vue.d.ts +3 -4
  116. package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  117. package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
  118. package/lib/src/ap-grid/index.vue.d.ts +2 -4
  119. package/lib/src/ap-grid/utils/table.js +1 -1
  120. package/lib/src/ap-list/index.vue.d.ts +2 -4
  121. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  122. package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
  123. package/lib/src/ap-table/components/setting/context.d.ts +1 -1
  124. package/lib/src/ap-table/components/setting/modal/index.vue.js +1 -1
  125. package/lib/src/ap-table/components/setting/template/edit-form.vue.d.ts +2 -3
  126. package/lib/src/ap-table/constants.d.ts +20 -22
  127. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
  128. package/lib/src/ap-table/hooks/use-table-template-storage.d.ts +9 -9
  129. package/lib/src/ap-table/hooks/use-table-template-storage.js +1 -1
  130. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  131. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
  132. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
  133. package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
  134. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  135. package/lib/src/business/ap-select-layout/index.d.ts +2 -4
  136. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  137. package/lib/src/business/ap-table-modal/index.d.ts +17 -5
  138. package/lib/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  139. package/lib/src/business/ap-value-select-card/index.vue.d.ts +2 -4
  140. package/lib/src/business/ap-view/ap-view.vue.d.ts +1 -1
  141. package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
  142. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
  143. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
  144. package/lib/src/business/ap-view/hooks/use-send-to-url.d.ts +2 -0
  145. package/lib/src/business/ap-view/hooks/use-send-to-url.js +1 -1
  146. package/lib/src/business/ap-view/index.d.ts +3 -3
  147. package/lib/src/business/ap-view/interface.d.ts +7 -1
  148. package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
  149. package/lib/src/editable-table/form-item.vue.d.ts +2 -4
  150. package/lib/src/editable-table/index.vue.d.ts +2 -4
  151. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  152. package/lib/src/tests/wrapper.d.ts +4 -4
  153. package/lib/src/time-ago/useTimeAgo.js +1 -1
  154. package/lib/src/type.d.ts +1 -0
  155. package/lib/src/version.d.ts +1 -1
  156. package/lib/src/version.js +1 -1
  157. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { TableProps } from '@aplus-frontend/antdv';
2
2
  import { SortOrder, TableRowSelection } from '@aplus-frontend/antdv/es/table/interface';
3
- import { AgColumn, ColDef, GridApi, ICellRendererParams, IRowNode, IsFullWidthRowParams, RedrawRowsParams, RefreshCellsParams, RowClassRules, RowHeightParams, RowPinnedType, ScrollDirection, ThemeDefaultParams } from 'ag-grid-community';
3
+ import { AgColumn, ColDef, ColumnState, GridApi, ICellRendererParams, IRowNode, IsFullWidthRowParams, RedrawRowsParams, RefreshCellsParams, RowClassRules, RowHeightParams, RowPinnedType, ScrollDirection, ThemeDefaultParams } from 'ag-grid-community';
4
4
  import { ComputedRef, CSSProperties, VNode } from 'vue';
5
5
  import { ApFormSearchFormPopoverSorterItem, ApFormSearchFormProps } from '../ap-form/interface';
6
6
  import { InternalPagingType } from '../ap-table/hooks/use-table-paging-ng';
@@ -370,6 +370,11 @@ export type AgGridProps<RecordType = any, ParamsType = any> = Omit<TableProps<Re
370
370
  * @description 详见https://www.ag-grid.com/vue-data-grid/row-animation/
371
371
  */
372
372
  animateRows?: boolean;
373
+ /**
374
+ * 插件列表
375
+ * @since 7.19.0
376
+ */
377
+ plugins?: AgGridPluginType[];
373
378
  };
374
379
  export type AgGridExpose<SearchParamsType = Recordable, RecordType = any> = {
375
380
  /**
@@ -520,3 +525,37 @@ export type AgGridSlots<RecordType> = {
520
525
  column: Omit<AgColumn, keyof AgGridColumnType> & AgGridColumnType;
521
526
  }) => void;
522
527
  };
528
+ export interface AgGridPluginType {
529
+ /**
530
+ * AgGrid 初始化完成
531
+ * @param api
532
+ * @returns
533
+ */
534
+ init?: (api: GridApi) => void;
535
+ /**
536
+ * 列配置变化后应用前
537
+ * @param columns 列配置
538
+ * @param prevColumns 之前的列配置
539
+ * @returns
540
+ */
541
+ beforeColumnsChange?: (columns: AgGridColumnType[], prevColumns?: AgGridColumnType[]) => void | AgGridColumnType[] | Promise<void | AgGridColumnType[]>;
542
+ /**
543
+ * 应用列状态之前
544
+ * @param columnState 即将应用的列配置
545
+ * @returns
546
+ */
547
+ beforeApplyColumnState?: (columnState: ColumnState[]) => void | ColumnState[] | Promise<void | ColumnState[]>;
548
+ /**
549
+ * 查询表单参数变更后
550
+ * @param params
551
+ * @returns
552
+ */
553
+ searchParamsChange?: (params: Recordable) => void;
554
+ /**
555
+ * 列宽拖动变化后
556
+ * @param key 列唯一标识
557
+ * @param width 当前列宽
558
+ * @returns
559
+ */
560
+ onColumnResized?: (key: string, width: number) => void;
561
+ }
@@ -1,5 +1,7 @@
1
1
  import { GridOptions } from 'ag-grid-community';
2
+ import { Awaitable } from '../type';
2
3
  import { EditableAgGridFormItemProps } from './editable/interface';
4
+ import { AgGridPluginType } from './interface';
3
5
  export declare function mergeProps(...options: GridOptions[]): GridOptions<any>;
4
6
  /**
5
7
  * 将尺寸单位px去掉
@@ -15,3 +17,19 @@ export declare function pxToNumber(value?: string | number, defaultValue?: numbe
15
17
  */
16
18
  export declare function getStringKey(key?: string | number): string | undefined;
17
19
  export declare function getShadowName(name: EditableAgGridFormItemProps['name']): string;
20
+ /**
21
+ * 运行副作用钩子
22
+ * @param plugins
23
+ * @param pick
24
+ * @param args
25
+ */
26
+ export declare function runEffectHooks<T extends any[]>(plugins: AgGridPluginType[], pick: (p: AgGridPluginType) => ((...args: T) => Awaitable<void>) | undefined, ...args: T): Promise<void>;
27
+ /**
28
+ * 串形运行钩子
29
+ * @param plugins
30
+ * @param initialValue
31
+ * @param pick
32
+ * @param args
33
+ * @returns
34
+ */
35
+ export declare function runPipelineHooks<T, TArgs extends any[]>(plugins: AgGridPluginType[], initialValue: Awaited<T>, pick: (p: AgGridPluginType) => ((value: Awaited<T>, ...args: TArgs) => Awaitable<Awaited<T> | void>) | undefined, ...args: TArgs): Promise<Awaited<T>>;
@@ -1,28 +1,49 @@
1
- import { isNumber as e, isArray as i } from "lodash-unified";
2
- function m(...r) {
3
- return r.reduce((t, n) => ({ ...t, ...n }), {});
1
+ import { isNumber as f, isArray as u } from "lodash-unified";
2
+ function m(...n) {
3
+ return n.reduce((t, r) => ({ ...t, ...r }), {});
4
4
  }
5
- function p(r, t = 0) {
6
- if (!r)
7
- return t;
8
- if (typeof r == "number")
9
- return r;
10
- const n = r.match(/^(-?\d+(?:\.\d+)?)px$/);
5
+ function g(n, t = 0) {
11
6
  if (!n)
12
7
  return t;
13
- const o = parseFloat(n[1]);
8
+ if (typeof n == "number")
9
+ return n;
10
+ const r = n.match(/^(-?\d+(?:\.\d+)?)px$/);
11
+ if (!r)
12
+ return t;
13
+ const o = parseFloat(r[1]);
14
14
  return o > 0 ? o : t;
15
15
  }
16
- function u(r) {
17
- return e(r) ? String(r) : r;
16
+ function h(n) {
17
+ return f(n) ? String(n) : n;
18
+ }
19
+ let p = 0;
20
+ function d(n) {
21
+ return `_${u(n) ? n.join("_") : String(n)}_${p++}`;
22
+ }
23
+ async function x(n, t, ...r) {
24
+ for (const o of n) {
25
+ const i = t(o);
26
+ i && await i(...r);
27
+ }
18
28
  }
19
- let s = 0;
20
- function f(r) {
21
- return `_${i(r) ? r.join("_") : String(r)}_${s++}`;
29
+ async function N(n, t, r, ...o) {
30
+ let i = t;
31
+ for (const s of n) {
32
+ const c = r(s);
33
+ if (c)
34
+ try {
35
+ const e = await c(i, ...o);
36
+ e !== void 0 && (i = e);
37
+ } catch {
38
+ }
39
+ }
40
+ return i;
22
41
  }
23
42
  export {
24
- f as getShadowName,
25
- u as getStringKey,
43
+ d as getShadowName,
44
+ h as getStringKey,
26
45
  m as mergeProps,
27
- p as pxToNumber
46
+ g as pxToNumber,
47
+ x as runEffectHooks,
48
+ N as runPipelineHooks
28
49
  };
@@ -7,17 +7,17 @@ export declare const useOptions: (props: ApFieldCascaderProps) => {
7
7
  [x: string]: any;
8
8
  isLeaf?: boolean | undefined;
9
9
  loading?: boolean | undefined;
10
- children?: any[] | undefined;
10
+ children?: /*elided*/ any[] | undefined;
11
11
  label?: any;
12
- value?: (string | number | null) | undefined;
12
+ value?: string | number | null | undefined;
13
13
  disabled?: boolean | undefined;
14
14
  }[] | undefined, CascaderOptionType[] | {
15
15
  [x: string]: any;
16
16
  isLeaf?: boolean | undefined;
17
17
  loading?: boolean | undefined;
18
- children?: any[] | undefined;
18
+ children?: /*elided*/ any[] | undefined;
19
19
  label?: any;
20
- value?: (string | number | null) | undefined;
20
+ value?: string | number | null | undefined;
21
21
  disabled?: boolean | undefined;
22
22
  }[] | undefined>;
23
23
  request: (selectOptions?: DefaultOptionType[], clear?: boolean) => Promise<void>;
@@ -8,7 +8,6 @@ import { MonthCellRender } from '@aplus-frontend/antdv/es/vc-picker/panels/Month
8
8
  import { FocusEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
9
9
  import { SharedTimeProps } from '@aplus-frontend/antdv/es/vc-picker/panels/TimePanel';
10
10
  import { PickerLocale } from '@aplus-frontend/antdv/es/date-picker/generatePicker';
11
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
12
11
  import { SizeType } from '@aplus-frontend/antdv/es/button';
13
12
  import { DateRender } from '@aplus-frontend/antdv/es/vc-picker/panels/DatePanel/DateBody';
14
13
  import { FieldMode } from '..';
@@ -8,7 +8,6 @@ import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
8
8
  import { SharedTimeProps } from '@aplus-frontend/antdv/es/vc-picker/panels/TimePanel';
9
9
  import { FocusEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
10
10
  import { PickerLocale } from '@aplus-frontend/antdv/es/date-picker/generatePicker';
11
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
12
11
  import { SizeType } from '@aplus-frontend/antdv/es/button';
13
12
  import { FieldMode } from '..';
14
13
  import { LiteralUnion } from '../../type';
@@ -6,13 +6,13 @@ export declare const useSelectOptions: (props: ApFieldSelectProps) => {
6
6
  options: Ref<{
7
7
  [x: string]: any;
8
8
  label?: any;
9
- value?: (string | number | null) | undefined;
9
+ value?: string | number | null | undefined;
10
10
  children?: Omit<DefaultOptionType, "children">[] | undefined;
11
11
  disabled?: boolean | undefined;
12
12
  }[], DefaultOptionType[] | {
13
13
  [x: string]: any;
14
14
  label?: any;
15
- value?: (string | number | null) | undefined;
15
+ value?: string | number | null | undefined;
16
16
  children?: Omit<DefaultOptionType, "children">[] | undefined;
17
17
  disabled?: boolean | undefined;
18
18
  }[]>;
@@ -122,7 +122,7 @@ declare function __VLS_template(): {
122
122
  handleReset: PropType<MouseEventHandler>;
123
123
  addonBefore: VueTypeValidableDef<any>;
124
124
  addonAfter: VueTypeValidableDef<any>;
125
- prefix: VueTypeValidableDef<any>;
125
+ prefix: ** @type { [typeof __VLS_components.Flex, typeof __VLS_components.Flex, ] } */).VueTypeValidableDef<any>;
126
126
  suffix: VueTypeValidableDef<any>;
127
127
  clearIcon: VueTypeValidableDef<any>;
128
128
  allowClear: {
@@ -260,7 +260,7 @@ declare function __VLS_template(): {
260
260
  handleReset: PropType<MouseEventHandler>;
261
261
  addonBefore: VueTypeValidableDef<any>;
262
262
  addonAfter: VueTypeValidableDef<any>;
263
- prefix: VueTypeValidableDef<any>;
263
+ prefix: ** @type { [typeof __VLS_components.Flex, typeof __VLS_components.Flex, ] } */).VueTypeValidableDef<any>;
264
264
  suffix: VueTypeValidableDef<any>;
265
265
  clearIcon: VueTypeValidableDef<any>;
266
266
  allowClear: {
@@ -417,7 +417,7 @@ declare const __VLS_component: DefineComponent<ApFieldTextPasswordProps, {
417
417
  handleReset: PropType<MouseEventHandler>;
418
418
  addonBefore: VueTypeValidableDef<any>;
419
419
  addonAfter: VueTypeValidableDef<any>;
420
- prefix: VueTypeValidableDef<any>;
420
+ prefix: ** @type { [typeof __VLS_components.Flex, typeof __VLS_components.Flex, ] } */).VueTypeValidableDef<any>;
421
421
  suffix: VueTypeValidableDef<any>;
422
422
  clearIcon: VueTypeValidableDef<any>;
423
423
  allowClear: {
@@ -555,7 +555,7 @@ declare const __VLS_component: DefineComponent<ApFieldTextPasswordProps, {
555
555
  handleReset: PropType<MouseEventHandler>;
556
556
  addonBefore: VueTypeValidableDef<any>;
557
557
  addonAfter: VueTypeValidableDef<any>;
558
- prefix: VueTypeValidableDef<any>;
558
+ prefix: ** @type { [typeof __VLS_components.Flex, typeof __VLS_components.Flex, ] } */).VueTypeValidableDef<any>;
559
559
  suffix: VueTypeValidableDef<any>;
560
560
  clearIcon: VueTypeValidableDef<any>;
561
561
  allowClear: {
@@ -8,14 +8,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
8
8
  disabled?: boolean | undefined;
9
9
  checkable?: boolean | undefined;
10
10
  disableCheckbox?: boolean | undefined;
11
- children?: any[] | undefined;
11
+ children?: /*elided*/ any[] | undefined;
12
12
  } | {
13
13
  [x: string]: any;
14
14
  value?: RawValueType | undefined;
15
15
  title?: any;
16
16
  label?: any;
17
17
  key?: Key | undefined;
18
- children?: any[] | undefined;
18
+ children?: /*elided*/ any[] | undefined;
19
19
  disabled?: boolean | undefined;
20
20
  checkable?: boolean | undefined;
21
21
  disableCheckbox?: boolean | undefined;
@@ -24,14 +24,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
24
24
  disabled?: boolean | undefined;
25
25
  checkable?: boolean | undefined;
26
26
  disableCheckbox?: boolean | undefined;
27
- children?: any[] | undefined;
27
+ children?: /*elided*/ any[] | undefined;
28
28
  } | {
29
29
  [x: string]: any;
30
30
  value?: RawValueType | undefined;
31
31
  title?: any;
32
32
  label?: any;
33
33
  key?: Key | undefined;
34
- children?: any[] | undefined;
34
+ children?: /*elided*/ any[] | undefined;
35
35
  disabled?: boolean | undefined;
36
36
  checkable?: boolean | undefined;
37
37
  disableCheckbox?: boolean | undefined;
@@ -1,4 +1,4 @@
1
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, RuleObject, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
1
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
2
2
  import { Recordable } from '../type';
3
3
  import { ApFormProps, UpdateModelOptimizeFn, WatchFunc, ApFormInternalInstance } from './interface';
4
4
  import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
@@ -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
  declare function __VLS_template(): {
@@ -1,5 +1,5 @@
1
1
  import { provide as t, inject as r, computed as n } from "vue";
2
- const o = Symbol("formContextKey");
2
+ const o = /* @__PURE__ */ Symbol("formContextKey");
3
3
  function u(e) {
4
4
  t(o, e);
5
5
  }
@@ -1,4 +1,4 @@
1
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
1
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
2
2
  import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
3
3
  import { ApFormDrawerFormProps, CustomizeResizeType } from '../interface';
4
4
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
@@ -7,7 +7,6 @@ import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
7
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
8
8
  import { Recordable } from '../../type';
9
9
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
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
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
@@ -119,7 +118,7 @@ declare function __VLS_template(): {
119
118
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
120
119
  readonly initialValues?: Recordable | undefined;
121
120
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
122
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
121
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
123
122
  readonly syncToUrlPriority?: boolean | undefined;
124
123
  readonly autoFocusFirstInput?: boolean | undefined;
125
124
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -1090,7 +1089,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
1090
1089
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
1091
1090
  readonly initialValues?: Recordable | undefined;
1092
1091
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1093
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1092
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1094
1093
  readonly syncToUrlPriority?: boolean | undefined;
1095
1094
  readonly autoFocusFirstInput?: boolean | undefined;
1096
1095
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -446,7 +446,7 @@ declare function __VLS_template(): {
446
446
  default: string | number | ColSize;
447
447
  };
448
448
  xxl: {
449
- type: PropType<string | number | ColSize>;
449
+ type: PropType<string | number | ** @type { [typeof __VLS_components.Render, typeof __VLS_components.Render, ] } */).ColSize>;
450
450
  default: string | number | ColSize;
451
451
  };
452
452
  prefixCls: StringConstructor;
@@ -548,7 +548,7 @@ declare function __VLS_template(): {
548
548
  default: string | number | ColSize;
549
549
  };
550
550
  xxl: {
551
- type: PropType<string | number | ColSize>;
551
+ type: PropType<string | number | ** @type { [typeof __VLS_components.Render, typeof __VLS_components.Render, ] } */).ColSize>;
552
552
  default: string | number | ColSize;
553
553
  };
554
554
  prefixCls: StringConstructor;
@@ -704,7 +704,7 @@ declare function __VLS_template(): {
704
704
  default: string | number | ColSize;
705
705
  };
706
706
  xxl: {
707
- type: PropType<string | number | ColSize>;
707
+ type: PropType<string | number | ** @type { [typeof __VLS_components.Render, typeof __VLS_components.Render, ] } */).ColSize>;
708
708
  default: string | number | ColSize;
709
709
  };
710
710
  prefixCls: StringConstructor;
@@ -1241,7 +1241,7 @@ declare const __VLS_component: DefineComponent<ApFormItemProps, {
1241
1241
  default: string | number | ColSize;
1242
1242
  };
1243
1243
  xxl: {
1244
- type: PropType<string | number | ColSize>;
1244
+ type: PropType<string | number | ** @type { [typeof __VLS_components.Render, typeof __VLS_components.Render, ] } */).ColSize>;
1245
1245
  default: string | number | ColSize;
1246
1246
  };
1247
1247
  prefixCls: StringConstructor;
@@ -1343,7 +1343,7 @@ declare const __VLS_component: DefineComponent<ApFormItemProps, {
1343
1343
  default: string | number | ColSize;
1344
1344
  };
1345
1345
  xxl: {
1346
- type: PropType<string | number | ColSize>;
1346
+ type: PropType<string | number | ** @type { [typeof __VLS_components.Render, typeof __VLS_components.Render, ] } */).ColSize>;
1347
1347
  default: string | number | ColSize;
1348
1348
  };
1349
1349
  prefixCls: StringConstructor;
@@ -1499,7 +1499,7 @@ declare const __VLS_component: DefineComponent<ApFormItemProps, {
1499
1499
  default: string | number | ColSize;
1500
1500
  };
1501
1501
  xxl: {
1502
- type: PropType<string | number | ColSize>;
1502
+ type: PropType<string | number | ** @type { [typeof __VLS_components.Render, typeof __VLS_components.Render, ] } */).ColSize>;
1503
1503
  default: string | number | ColSize;
1504
1504
  };
1505
1505
  prefixCls: StringConstructor;
@@ -17,10 +17,10 @@ function i(r) {
17
17
  }
18
18
  function f(r) {
19
19
  const t = [], n = r.filter(
20
- (e) => e && i(e) && e.type !== Symbol.for("v-cmt")
20
+ (e) => e && i(e) && e.type !== /* @__PURE__ */ Symbol.for("v-cmt")
21
21
  );
22
22
  for (const e of n)
23
- if (e.type === Symbol.for("v-fgt")) {
23
+ if (e.type === /* @__PURE__ */ Symbol.for("v-fgt")) {
24
24
  const l = f(e.children);
25
25
  t.push(...l);
26
26
  } else if (u(e)) {
@@ -11,13 +11,11 @@ import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
11
11
  import { AlignType } from '@aplus-frontend/antdv/es/vc-align/interface';
12
12
  import { DateRender } from '@aplus-frontend/antdv/es/vc-picker/panels/DatePanel/DateBody';
13
13
  import { MonthCellRender } from '@aplus-frontend/antdv/es/vc-picker/panels/MonthPanel/MonthBody';
14
- import { PanelMode, RangeValue, OnPanelChange, PresetDate, DisabledTime, CustomFormat, PickerMode } from '@aplus-frontend/antdv/es/vc-picker/interface';
14
+ import { PanelMode, RangeValue, OnPanelChange, PresetDate, CustomFormat, DisabledTimes, DisabledTime, PickerMode } from '@aplus-frontend/antdv/es/vc-picker/interface';
15
15
  import { SharedTimeProps } from '@aplus-frontend/antdv/es/vc-picker/panels/TimePanel';
16
16
  import { LiteralUnion } from '../../../type';
17
17
  import { ApFormatPresetType } from '../../../ap-field/date/interface';
18
- import { DatePickerProps } from '@aplus-frontend/antdv';
19
18
  import { ZoneAlias } from '@aplus-frontend/utils';
20
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
21
19
  import { OnCleanup } from '@vue/reactivity';
22
20
  declare function __VLS_template(): {
23
21
  attrs: Partial<{}>;
@@ -69,7 +67,7 @@ declare function __VLS_template(): {
69
67
  readonly onSelect?: ((value: Dayjs) => void) | undefined;
70
68
  readonly open?: boolean | undefined;
71
69
  readonly disabled?: boolean | undefined;
72
- readonly direction?: ("ltr" | "rtl") | undefined;
70
+ readonly direction?: "ltr" | "rtl" | undefined;
73
71
  readonly placeholder?: string | undefined;
74
72
  readonly id?: string | undefined;
75
73
  readonly getPopupContainer?: ((node: HTMLElement) => HTMLElement) | undefined;
@@ -106,19 +104,19 @@ declare function __VLS_template(): {
106
104
  readonly showToday?: boolean | undefined;
107
105
  readonly showTime?: boolean | SharedTimeProps<Dayjs> | undefined;
108
106
  readonly valueFormat?: string | undefined;
109
- readonly value?: (number | null) | undefined;
107
+ readonly value?: number | null | undefined;
110
108
  readonly defaultValue?: number | undefined;
111
109
  readonly 'onUpdate:value'?: (((ts: number | null) => void) & ((...args: any[]) => any)) | undefined;
112
110
  readonly onChange?: ((ts: number | null, dayStr: string) => void) | undefined;
113
111
  readonly onOk?: ((ts: number | null) => void) | undefined;
114
112
  readonly format?: LiteralUnion<ApFormatPresetType, string> | undefined;
115
- readonly shownFormat?: DatePickerProps["format"];
113
+ readonly shownFormat?: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[] | undefined;
116
114
  readonly formatBegins?: boolean | undefined;
117
115
  readonly timezone?: ( ZoneAlias | {
118
116
  label?: string;
119
117
  value: ZoneAlias;
120
118
  }[]) | undefined;
121
- readonly disabledTime?: SharedTimeProps<Dayjs>["disabledTime"];
119
+ readonly disabledTime?: ((date: Dayjs) => DisabledTimes) | undefined;
122
120
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
123
121
  $attrs: {
124
122
  [x: string]: unknown;
@@ -822,7 +820,7 @@ declare const __VLS_component: DefineComponent<ApFormItemDateProps, {
822
820
  readonly onSelect?: ((value: Dayjs) => void) | undefined;
823
821
  readonly open?: boolean | undefined;
824
822
  readonly disabled?: boolean | undefined;
825
- readonly direction?: ("ltr" | "rtl") | undefined;
823
+ readonly direction?: "ltr" | "rtl" | undefined;
826
824
  readonly placeholder?: string | undefined;
827
825
  readonly id?: string | undefined;
828
826
  readonly getPopupContainer?: ((node: HTMLElement) => HTMLElement) | undefined;
@@ -859,19 +857,19 @@ declare const __VLS_component: DefineComponent<ApFormItemDateProps, {
859
857
  readonly showToday?: boolean | undefined;
860
858
  readonly showTime?: boolean | SharedTimeProps<Dayjs> | undefined;
861
859
  readonly valueFormat?: string | undefined;
862
- readonly value?: (number | null) | undefined;
860
+ readonly value?: number | null | undefined;
863
861
  readonly defaultValue?: number | undefined;
864
862
  readonly 'onUpdate:value'?: (((ts: number | null) => void) & ((...args: any[]) => any)) | undefined;
865
863
  readonly onChange?: ((ts: number | null, dayStr: string) => void) | undefined;
866
864
  readonly onOk?: ((ts: number | null) => void) | undefined;
867
865
  readonly format?: LiteralUnion<ApFormatPresetType, string> | undefined;
868
- readonly shownFormat?: DatePickerProps["format"];
866
+ readonly shownFormat?: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[] | undefined;
869
867
  readonly formatBegins?: boolean | undefined;
870
868
  readonly timezone?: ( ZoneAlias | {
871
869
  label?: string;
872
870
  value: ZoneAlias;
873
871
  }[]) | undefined;
874
- readonly disabledTime?: SharedTimeProps<Dayjs>["disabledTime"];
872
+ readonly disabledTime?: ((date: Dayjs) => DisabledTimes) | undefined;
875
873
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
876
874
  $attrs: {
877
875
  [x: string]: unknown;
@@ -9,15 +9,13 @@ import { PickerLocale } from '@aplus-frontend/antdv/es/date-picker/generatePicke
9
9
  import { Variant } from '@aplus-frontend/antdv/es/config-provider/context';
10
10
  import { AlignType } from '@aplus-frontend/antdv/es/vc-align/interface';
11
11
  import { Dayjs } from 'dayjs';
12
- import { EventValue, DisabledTimes, RangeValue, PresetDate, PanelMode, CustomFormat, PickerMode } from '@aplus-frontend/antdv/es/vc-picker/interface';
12
+ import { EventValue, DisabledTimes, RangeValue, CustomFormat, PresetDate, PanelMode, PickerMode } from '@aplus-frontend/antdv/es/vc-picker/interface';
13
13
  import { RangeDateRender, RangeType, RangeInfo } from '@aplus-frontend/antdv/es/vc-picker/RangePicker';
14
14
  import { MonthCellRender } from '@aplus-frontend/antdv/es/vc-picker/panels/MonthPanel/MonthBody';
15
15
  import { LiteralUnion } from '../../../type';
16
16
  import { ApFormatPresetType } from '../../../ap-field/date/interface';
17
- import { RangePickerProps } from '@aplus-frontend/antdv/es/date-picker';
18
17
  import { ZoneAlias } from '@aplus-frontend/utils';
19
18
  import { SharedTimeProps } from '@aplus-frontend/antdv/es/vc-picker/panels/TimePanel';
20
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
21
19
  import { OnCleanup } from '@vue/reactivity';
22
20
  declare function __VLS_template(): {
23
21
  attrs: Partial<{}>;
@@ -66,8 +64,8 @@ declare function __VLS_template(): {
66
64
  readonly onMouseup?: MouseEventHandler | undefined;
67
65
  readonly open?: boolean | undefined;
68
66
  readonly separator?: VueNode;
69
- readonly disabled?: (boolean | [boolean, boolean]) | undefined;
70
- readonly direction?: ("ltr" | "rtl") | undefined;
67
+ readonly disabled?: boolean | [boolean, boolean] | undefined;
68
+ readonly direction?: "ltr" | "rtl" | undefined;
71
69
  readonly placeholder?: [string, string] | undefined;
72
70
  readonly id?: string | undefined;
73
71
  readonly getPopupContainer?: ((node: HTMLElement) => HTMLElement) | undefined;
@@ -102,7 +100,7 @@ declare function __VLS_template(): {
102
100
  readonly ranges?: Record<string, [ EventValue<Dayjs>, EventValue<Dayjs>] | (() => [ EventValue<Dayjs>, EventValue<Dayjs>])> | undefined;
103
101
  readonly allowEmpty?: [boolean, boolean] | undefined;
104
102
  readonly onCalendarChange?: ((values: RangeValue<Dayjs>, formatString: [string, string], info: RangeInfo) => void) | undefined;
105
- readonly activePickerIndex?: (0 | 1) | undefined;
103
+ readonly activePickerIndex?: 0 | 1 | undefined;
106
104
  readonly valueFormat?: string | undefined;
107
105
  readonly value?: ( RangeValue<number> | null) | undefined;
108
106
  readonly defaultValue?: RangeValue<number> | undefined;
@@ -110,13 +108,13 @@ declare function __VLS_template(): {
110
108
  readonly onChange?: ((ts: RangeValue<number> | null, dayStr: [string, string]) => void) | undefined;
111
109
  readonly onOk?: ((ts: RangeValue<number>) => void) | undefined;
112
110
  readonly format?: LiteralUnion<ApFormatPresetType, string> | undefined;
113
- readonly shownFormat?: RangePickerProps["format"];
111
+ readonly shownFormat?: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[] | undefined;
114
112
  readonly timezone?: ( ZoneAlias | {
115
113
  label?: string;
116
114
  value: ZoneAlias;
117
115
  }[]) | undefined;
118
116
  readonly readModeSeparator?: any;
119
- readonly presets?: RangePickerProps["presets"] | true | {
117
+ readonly presets?: true | PresetDate<RangeValue<Dayjs>>[] | {
120
118
  thisWeek?: boolean;
121
119
  lastWeek?: boolean;
122
120
  last7Days?: boolean;
@@ -128,7 +126,7 @@ declare function __VLS_template(): {
128
126
  lastQuarter?: boolean;
129
127
  thisYear?: boolean;
130
128
  lastYear?: boolean;
131
- };
129
+ } | undefined;
132
130
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
133
131
  $attrs: {
134
132
  [x: string]: unknown;
@@ -874,8 +872,8 @@ declare const __VLS_component: DefineComponent<ApFormItemDateRangeProps, {
874
872
  readonly onMouseup?: MouseEventHandler | undefined;
875
873
  readonly open?: boolean | undefined;
876
874
  readonly separator?: VueNode;
877
- readonly disabled?: (boolean | [boolean, boolean]) | undefined;
878
- readonly direction?: ("ltr" | "rtl") | undefined;
875
+ readonly disabled?: boolean | [boolean, boolean] | undefined;
876
+ readonly direction?: "ltr" | "rtl" | undefined;
879
877
  readonly placeholder?: [string, string] | undefined;
880
878
  readonly id?: string | undefined;
881
879
  readonly getPopupContainer?: ((node: HTMLElement) => HTMLElement) | undefined;
@@ -910,7 +908,7 @@ declare const __VLS_component: DefineComponent<ApFormItemDateRangeProps, {
910
908
  readonly ranges?: Record<string, [ EventValue<Dayjs>, EventValue<Dayjs>] | (() => [ EventValue<Dayjs>, EventValue<Dayjs>])> | undefined;
911
909
  readonly allowEmpty?: [boolean, boolean] | undefined;
912
910
  readonly onCalendarChange?: ((values: RangeValue<Dayjs>, formatString: [string, string], info: RangeInfo) => void) | undefined;
913
- readonly activePickerIndex?: (0 | 1) | undefined;
911
+ readonly activePickerIndex?: 0 | 1 | undefined;
914
912
  readonly valueFormat?: string | undefined;
915
913
  readonly value?: ( RangeValue<number> | null) | undefined;
916
914
  readonly defaultValue?: RangeValue<number> | undefined;
@@ -918,13 +916,13 @@ declare const __VLS_component: DefineComponent<ApFormItemDateRangeProps, {
918
916
  readonly onChange?: ((ts: RangeValue<number> | null, dayStr: [string, string]) => void) | undefined;
919
917
  readonly onOk?: ((ts: RangeValue<number>) => void) | undefined;
920
918
  readonly format?: LiteralUnion<ApFormatPresetType, string> | undefined;
921
- readonly shownFormat?: RangePickerProps["format"];
919
+ readonly shownFormat?: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[] | undefined;
922
920
  readonly timezone?: ( ZoneAlias | {
923
921
  label?: string;
924
922
  value: ZoneAlias;
925
923
  }[]) | undefined;
926
924
  readonly readModeSeparator?: any;
927
- readonly presets?: RangePickerProps["presets"] | true | {
925
+ readonly presets?: true | PresetDate<RangeValue<Dayjs>>[] | {
928
926
  thisWeek?: boolean;
929
927
  lastWeek?: boolean;
930
928
  last7Days?: boolean;
@@ -936,7 +934,7 @@ declare const __VLS_component: DefineComponent<ApFormItemDateRangeProps, {
936
934
  lastQuarter?: boolean;
937
935
  thisYear?: boolean;
938
936
  lastYear?: boolean;
939
- };
937
+ } | undefined;
940
938
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
941
939
  $attrs: {
942
940
  [x: string]: unknown;
@@ -4,7 +4,6 @@ import { ComponentInternalInstance, VNode, VNodeProps, AllowedComponentProps, Co
4
4
  import { FieldMode, ApFieldNumberProps } from '../../..';
5
5
  import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
6
6
  import { KeyboardEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
7
- import { InputNumberProps } from '@aplus-frontend/antdv';
8
7
  import { ButtonSize } from '@aplus-frontend/antdv/es/button';
9
8
  import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
10
9
  import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
@@ -81,7 +80,7 @@ declare function __VLS_template(): {
81
80
  offset: ValueType;
82
81
  type: "up" | "down";
83
82
  }) => void) | undefined;
84
- readonly inputMode?: InputNumberProps["mode"];
83
+ readonly inputMode?: "input" | "spinner" | undefined;
85
84
  readonly thousands?: boolean | undefined;
86
85
  readonly limitDecimalsRetain?: boolean | undefined;
87
86
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -603,7 +602,7 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
603
602
  offset: ValueType;
604
603
  type: "up" | "down";
605
604
  }) => void) | undefined;
606
- readonly inputMode?: InputNumberProps["mode"];
605
+ readonly inputMode?: "input" | "spinner" | undefined;
607
606
  readonly thousands?: boolean | undefined;
608
607
  readonly limitDecimalsRetain?: boolean | undefined;
609
608
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;