@aplus-frontend/ui 0.4.6 → 0.4.8

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 (72) hide show
  1. package/es/src/ap-field/date-range/index.vue.mjs +46 -42
  2. package/es/src/ap-field/hooks/use-default-presets.d.ts +11 -0
  3. package/es/src/ap-field/hooks/use-default-presets.mjs +15 -0
  4. package/es/src/ap-field/interface.d.ts +2 -1
  5. package/es/src/ap-field/number/index.vue.d.ts +1 -1
  6. package/es/src/ap-field/slider/index.vue.d.ts +1 -1
  7. package/es/src/ap-form/items/number/index.vue.d.ts +8 -8
  8. package/es/src/ap-table/ap-table.vue2.mjs +87 -85
  9. package/es/src/ap-table/components/dynamic-component/diff.d.ts +2 -0
  10. package/es/src/ap-table/components/dynamic-component/index.vue.d.ts +4 -0
  11. package/es/src/ap-table/components/dynamic-component/index.vue.mjs +4 -0
  12. package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +14 -0
  13. package/es/src/ap-table/components/interface.d.ts +3 -0
  14. package/es/src/ap-table/constants.d.ts +7 -7
  15. package/es/src/ap-table/utils.d.ts +1551 -1541
  16. package/es/src/ap-table/utils.mjs +115 -104
  17. package/es/src/ap-upload/components/Picture.vue2.mjs +59 -55
  18. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +13 -4
  19. package/es/src/business/ap-ladder/ApLadder.vue2.mjs +220 -108
  20. package/es/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +14 -0
  21. package/es/src/business/ap-ladder/HelpMessageIcon.vue.mjs +4 -0
  22. package/es/src/business/ap-ladder/HelpMessageIcon.vue2.mjs +35 -0
  23. package/es/src/business/ap-ladder/index.d.ts +31 -4
  24. package/es/src/business/ap-ladder/interface.d.ts +124 -4
  25. package/es/src/business/ap-size-input/ApSizeInput.d.ts +1 -1
  26. package/es/src/business/ap-size-input/index.d.ts +3 -3
  27. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +33 -25
  28. package/es/src/business/batch-input-group/form-item.vue.d.ts +0 -1
  29. package/es/src/business/batch-input-group/form-item.vue.mjs +43 -39
  30. package/es/src/business/hooks/usePageListApTable.d.ts +2 -2
  31. package/es/src/locale/lang/en.mjs +10 -1
  32. package/es/src/locale/lang/zh-cn.mjs +10 -1
  33. package/es/src/utils/data-range-persets.d.ts +87 -0
  34. package/es/src/utils/data-range-persets.mjs +107 -0
  35. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  36. package/lib/src/ap-field/hooks/use-default-presets.d.ts +11 -0
  37. package/lib/src/ap-field/hooks/use-default-presets.js +1 -0
  38. package/lib/src/ap-field/interface.d.ts +2 -1
  39. package/lib/src/ap-field/number/index.vue.d.ts +1 -1
  40. package/lib/src/ap-field/slider/index.vue.d.ts +1 -1
  41. package/lib/src/ap-form/items/number/index.vue.d.ts +8 -8
  42. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  43. package/lib/src/ap-table/components/dynamic-component/diff.d.ts +2 -0
  44. package/lib/src/ap-table/components/dynamic-component/index.vue.d.ts +4 -0
  45. package/lib/src/ap-table/components/dynamic-component/index.vue.js +1 -0
  46. package/lib/src/ap-table/components/dynamic-component/index.vue2.js +1 -0
  47. package/lib/src/ap-table/components/interface.d.ts +3 -0
  48. package/lib/src/ap-table/constants.d.ts +7 -7
  49. package/lib/src/ap-table/utils.d.ts +1551 -1541
  50. package/lib/src/ap-table/utils.js +1 -1
  51. package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
  52. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +13 -4
  53. package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
  54. package/lib/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +14 -0
  55. package/lib/src/business/ap-ladder/HelpMessageIcon.vue.js +1 -0
  56. package/lib/src/business/ap-ladder/HelpMessageIcon.vue2.js +1 -0
  57. package/lib/src/business/ap-ladder/index.d.ts +31 -4
  58. package/lib/src/business/ap-ladder/interface.d.ts +124 -4
  59. package/lib/src/business/ap-size-input/ApSizeInput.d.ts +1 -1
  60. package/lib/src/business/ap-size-input/index.d.ts +3 -3
  61. package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
  62. package/lib/src/business/batch-input-group/form-item.vue.d.ts +0 -1
  63. package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
  64. package/lib/src/business/hooks/usePageListApTable.d.ts +2 -2
  65. package/lib/src/locale/lang/en.js +1 -1
  66. package/lib/src/locale/lang/zh-cn.js +1 -1
  67. package/lib/src/utils/data-range-persets.d.ts +87 -0
  68. package/lib/src/utils/data-range-persets.js +1 -0
  69. package/package.json +2 -2
  70. package/theme/ap-ladder/ap-ladder.css +10 -1
  71. package/theme/ap-ladder/ap-ladder.less +10 -1
  72. package/theme/index.css +10 -1
@@ -1,16 +1,17 @@
1
- import { defineComponent as U, useSlots as H, computed as m, unref as n, isVNode as K, createVNode as T, Fragment as h, openBlock as g, createElementBlock as v, createTextVNode as B, toDisplayString as P, createBlock as O, resolveDynamicComponent as $, mergeProps as L, createSlots as W, renderList as Y, withCtx as Z, renderSlot as q, normalizeProps as G, guardReactiveProps as J } from "vue";
2
- import { ApFieldDatePresetFormats as Q, PRESET_FORMAT_MAP as X, PRESET_FORMAT_PICK_MAP as ee, PRESET_FORMAT_TIME_MAP as oe } from "../date/constant.mjs";
1
+ import { defineComponent as H, useSlots as K, computed as m, unref as n, isVNode as $, createVNode as T, Fragment as h, openBlock as g, createElementBlock as v, createTextVNode as B, toDisplayString as P, createBlock as O, resolveDynamicComponent as L, mergeProps as W, createSlots as Y, renderList as Z, withCtx as q, renderSlot as G, normalizeProps as J, guardReactiveProps as Q } from "vue";
2
+ import { ApFieldDatePresetFormats as X, PRESET_FORMAT_MAP as ee, PRESET_FORMAT_PICK_MAP as oe, PRESET_FORMAT_TIME_MAP as ne } from "../date/constant.mjs";
3
3
  import "../../hooks/index.mjs";
4
- import { isNil as b, omit as R, isString as c, isFunction as ne } from "lodash-unified";
4
+ import { isNil as b, omit as R, isString as c, isFunction as te } from "lodash-unified";
5
5
  import u from "dayjs";
6
- import { DatePicker as te } from "@aplus-frontend/antdv";
7
- import { formatDayWithTimezone as ae } from "../date/helper.mjs";
8
- import { SwapRightOutlined as re } from "@ant-design/icons-vue";
9
- import { omitUndefined as le } from "../../utils/index.mjs";
6
+ import { DatePicker as ae } from "@aplus-frontend/antdv";
7
+ import { formatDayWithTimezone as re } from "../date/helper.mjs";
8
+ import { SwapRightOutlined as le } from "@ant-design/icons-vue";
9
+ import { omitUndefined as ue } from "../../utils/index.mjs";
10
10
  import { getTimeFormatToZone as w } from "@aplus-frontend/utils";
11
- import { useDefaultPlaceholder as ue } from "../hooks/use-default-placeholder.mjs";
12
- import { useControllableValue as de } from "../../hooks/useControllableValue.mjs";
13
- const Be = /* @__PURE__ */ U({
11
+ import { useDefaultPlaceholder as de } from "../hooks/use-default-placeholder.mjs";
12
+ import { useDefaultPresets as ie } from "../hooks/use-default-presets.mjs";
13
+ import { useControllableValue as se } from "../../hooks/useControllableValue.mjs";
14
+ const De = /* @__PURE__ */ H({
14
15
  __name: "index",
15
16
  props: {
16
17
  mode: {
@@ -26,7 +27,6 @@ const Be = /* @__PURE__ */ U({
26
27
  default: void 0
27
28
  },
28
29
  disabledTime: {},
29
- presets: {},
30
30
  ranges: {},
31
31
  separator: {
32
32
  type: [Object, String, Number, Boolean, null, Array],
@@ -147,60 +147,64 @@ const Be = /* @__PURE__ */ U({
147
147
  default: "Y-D"
148
148
  },
149
149
  timezone: {},
150
- readModeSeparator: {}
150
+ readModeSeparator: {},
151
+ presets: {
152
+ type: [Array, Boolean]
153
+ }
151
154
  },
152
155
  emits: ["update:value"],
153
156
  setup(_, {
154
157
  emit: A
155
158
  }) {
156
- const o = _, F = A, k = H(), d = m(() => Q.indexOf(o.format) > -1), i = m(() => d.value ? X[o.format] : o.format), {
159
+ const o = _, F = A, k = K(), d = m(() => X.indexOf(o.format) > -1), i = m(() => d.value ? ee[o.format] : o.format), {
157
160
  value: y,
158
161
  updateValue: C
159
- } = de(o, F), N = ue("DateRange", o), f = ae(o.timezone), S = m(() => {
162
+ } = se(o, F), N = de("DateRange", o), x = ie(o), s = re(o.timezone), S = m(() => {
160
163
  var a, l;
161
164
  const e = n(y);
162
165
  if (b(e) || !(e != null && e.length))
163
166
  return e;
164
167
  const r = o.timezone ? w(n(y)[0], o.timezone) : (a = n(y)) == null ? void 0 : a[0], t = o.timezone ? w(n(y)[1], o.timezone) : (l = n(y)) == null ? void 0 : l[1];
165
168
  return [u(r), u(t)];
166
- }), x = m(() => n(d) ? o.picker ?? ee[o.format] : o.picker), z = m(() => {
167
- const e = n(d) ? oe[o.format] : {};
169
+ }), z = m(() => n(d) ? o.picker ?? oe[o.format] : o.picker), E = m(() => {
170
+ const e = n(d) ? ne[o.format] : {};
168
171
  return {
169
- ...le(R(o, ["value", "onUpdate:value", "onChange", "onOk", "format", "mode"])),
172
+ ...ue(R(o, ["value", "onUpdate:value", "onChange", "onOk", "format", "mode", "presets"])),
170
173
  placeholder: n(N),
174
+ presets: n(x),
171
175
  ...e
172
176
  };
173
177
  });
174
- function E(e) {
178
+ function V(e) {
175
179
  if (!e) {
176
180
  C(e);
177
181
  return;
178
182
  }
179
183
  let r = c(e[0]) ? u(e[0]) : e[0], t = c(e[1]) ? u(e[1]) : e[1];
180
184
  const a = n(d) ? n(i) : void 0;
181
- C([f(r, a), f(t, a, !1)]);
185
+ C([s(r, a), s(t, a, !1)]);
182
186
  }
183
- function V(e) {
187
+ function I(e) {
184
188
  var p;
185
- const r = c(e[0]) ? u(e[0]) : e[0], t = c(e[1]) ? u(e[1]) : e[1], a = n(d) ? n(i) : void 0, l = e[0] ? f(r, a) : null, s = e[1] ? f(t, a, !1) : null;
186
- (p = o.onOk) == null || p.call(o, [l, s]);
189
+ const r = c(e[0]) ? u(e[0]) : e[0], t = c(e[1]) ? u(e[1]) : e[1], a = n(d) ? n(i) : void 0, l = e[0] ? s(r, a) : null, f = e[1] ? s(t, a, !1) : null;
190
+ (p = o.onOk) == null || p.call(o, [l, f]);
187
191
  }
188
- function I(e, r) {
189
- var M, D;
192
+ function j(e, r) {
193
+ var D, M;
190
194
  if (b(e)) {
191
- (M = o.onChange) == null || M.call(o, e, r);
195
+ (D = o.onChange) == null || D.call(o, e, r);
192
196
  return;
193
197
  }
194
- const t = c(e[0]) ? u(e[0]) : e[0], a = c(e[1]) ? u(e[1]) : e[1], l = n(d) ? n(i) : void 0, s = e[0] ? f(t, l) : null, p = e[1] ? f(a, l, !1) : null;
195
- (D = o.onChange) == null || D.call(o, [s, p], r);
198
+ const t = c(e[0]) ? u(e[0]) : e[0], a = c(e[1]) ? u(e[1]) : e[1], l = n(d) ? n(i) : void 0, f = e[0] ? s(t, l) : null, p = e[1] ? s(a, l, !1) : null;
199
+ (M = o.onChange) == null || M.call(o, [f, p], r);
196
200
  }
197
- const j = m(() => {
201
+ const U = m(() => {
198
202
  var t;
199
203
  const e = o.readModeSeparator;
200
204
  if (e)
201
- return K(e) || ne(e) ? o.readModeSeparator : T(h, null, [o.readModeSeparator]);
205
+ return $(e) || te(e) ? o.readModeSeparator : T(h, null, [o.readModeSeparator]);
202
206
  const r = (t = k.readModeSeparator) == null ? void 0 : t.call(k);
203
- return r ? T(h, null, [r]) : re;
207
+ return r ? T(h, null, [r]) : le;
204
208
  });
205
209
  return (e, r) => {
206
210
  var t, a;
@@ -208,26 +212,26 @@ const Be = /* @__PURE__ */ U({
208
212
  key: 0
209
213
  }, [S.value ? (g(), v(h, {
210
214
  key: 0
211
- }, [B(P((t = S.value[0]) == null ? void 0 : t.format(i.value)) + " ", 1), (g(), O($(j.value))), B(" " + P((a = S.value[1]) == null ? void 0 : a.format(i.value)), 1)], 64)) : (g(), v(h, {
215
+ }, [B(P((t = S.value[0]) == null ? void 0 : t.format(i.value)) + " ", 1), (g(), O(L(U.value))), B(" " + P((a = S.value[1]) == null ? void 0 : a.format(i.value)), 1)], 64)) : (g(), v(h, {
212
216
  key: 1
213
- }, [B(P(e.emptyText), 1)], 64))], 64)) : (g(), O(n(te).RangePicker, L({
217
+ }, [B(P(e.emptyText), 1)], 64))], 64)) : (g(), O(n(ae).RangePicker, W({
214
218
  key: 1
215
- }, z.value, {
219
+ }, E.value, {
216
220
  value: S.value,
217
- picker: x.value,
221
+ picker: z.value,
218
222
  format: i.value,
219
- "onUpdate:value": E,
220
- onChange: I,
221
- onOk: V
222
- }), W({
223
+ "onUpdate:value": V,
224
+ onChange: j,
225
+ onOk: I
226
+ }), Y({
223
227
  _: 2
224
- }, [Y(n(R)(e.$slots, "readModeSeparator"), (l, s) => ({
225
- name: s,
226
- fn: Z((p) => [q(e.$slots, s, G(J(p || {})))])
228
+ }, [Z(n(R)(e.$slots, "readModeSeparator"), (l, f) => ({
229
+ name: f,
230
+ fn: q((p) => [G(e.$slots, f, J(Q(p || {})))])
227
231
  }))]), 1040, ["value", "picker", "format"]));
228
232
  };
229
233
  }
230
234
  });
231
235
  export {
232
- Be as default
236
+ De as default
233
237
  };
@@ -0,0 +1,11 @@
1
+ import { ApFieldDateRangeProps, BasicApFieldProps } from '../interface';
2
+ import { Dayjs } from 'dayjs';
3
+ import { ComputedRef } from 'vue';
4
+ import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
5
+ export declare const useDefaultPresets: (props: BasicApFieldProps<{
6
+ presets?: ApFieldDateRangeProps["presets"];
7
+ timezone?: ApFieldDateRangeProps["timezone"];
8
+ }>) => ComputedRef<{
9
+ label: VueNode;
10
+ value: Dayjs[];
11
+ }[] | undefined>;
@@ -0,0 +1,15 @@
1
+ import { computed as r } from "vue";
2
+ import { presetsDefault as f } from "../../utils/data-range-persets.mjs";
3
+ const b = (e) => r(() => {
4
+ var t, u;
5
+ return e.presets === !0 ? f(e == null ? void 0 : e.timezone) : (u = (t = e == null ? void 0 : e.presets) == null ? void 0 : t.map) == null ? void 0 : u.call(t, (l) => {
6
+ var a;
7
+ return {
8
+ label: l.label,
9
+ value: (a = l == null ? void 0 : l.value) == null ? void 0 : a.filter((m) => m !== null)
10
+ };
11
+ });
12
+ });
13
+ export {
14
+ b as useDefaultPresets
15
+ };
@@ -89,7 +89,7 @@ export type ApFieldTextAreaExpose = {
89
89
  blur: () => void;
90
90
  resizableTextArea: any;
91
91
  };
92
- export type ApFieldDateRangeProps = BasicApFieldProps<Omit<RangePickerProps, 'value' | 'onChange' | 'onPanelChange' | 'defaultValue' | 'onOk' | 'renderExtraFooter' | 'onUpdate:value' | 'mode' | 'format'>> & {
92
+ export type ApFieldDateRangeProps = BasicApFieldProps<Omit<RangePickerProps, 'value' | 'onChange' | 'onPanelChange' | 'defaultValue' | 'onOk' | 'renderExtraFooter' | 'onUpdate:value' | 'mode' | 'format' | 'presets'>> & {
93
93
  emptyText?: string;
94
94
  value?: RangeValue<number> | null;
95
95
  defaultValue?: RangeValue<number>;
@@ -104,6 +104,7 @@ export type ApFieldDateRangeProps = BasicApFieldProps<Omit<RangePickerProps, 'va
104
104
  * 只读模式下的分隔符(比插槽优先级更高)
105
105
  */
106
106
  readModeSeparator?: any;
107
+ presets?: RangePickerProps['presets'] | true;
107
108
  };
108
109
  export type ApFieldSelectProps = BasicApFieldProps<Omit<SelectProps, 'mode' | 'value' | 'onUpdate:value' | 'onSearch'>> & {
109
110
  emptyText?: string;
@@ -351,12 +351,12 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
351
351
  }, string, PublicProps, Readonly<ApFieldNumberProps> & Readonly<{
352
352
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
353
353
  }>, {
354
+ step: ValueType;
354
355
  disabled: boolean;
355
356
  bordered: boolean;
356
357
  keyboard: boolean;
357
358
  max: ValueType;
358
359
  min: ValueType;
359
- step: ValueType;
360
360
  controls: boolean;
361
361
  emptyText: string;
362
362
  thousands: boolean;
@@ -284,10 +284,10 @@ declare const __VLS_component: DefineComponent<ApFieldSliderProps, {
284
284
  }, string, PublicProps, Readonly<ApFieldSliderProps> & Readonly<{
285
285
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
286
286
  }>, {
287
+ step: number;
287
288
  disabled: boolean;
288
289
  max: number;
289
290
  min: number;
290
- step: number;
291
291
  included: boolean;
292
292
  tooltipOpen: boolean;
293
293
  tooltipVisible: boolean;
@@ -34,6 +34,7 @@ declare function __VLS_template(): {
34
34
  readonly class?: unknown;
35
35
  readonly style?: unknown;
36
36
  readonly size?: ButtonSize;
37
+ readonly step?: ValueType | undefined;
37
38
  readonly onBlur?: ((e: FocusEvent) => void) | undefined;
38
39
  readonly onChange?: ((value: ValueType) => void) | undefined;
39
40
  readonly onFocus?: ((e: FocusEvent) => void) | undefined;
@@ -52,7 +53,6 @@ declare function __VLS_template(): {
52
53
  readonly onPressEnter?: KeyboardEventHandler | undefined;
53
54
  readonly readonly?: boolean | undefined;
54
55
  readonly stringMode?: boolean | undefined;
55
- readonly step?: ValueType | undefined;
56
56
  readonly controls?: boolean | undefined;
57
57
  readonly parser?: ((displayValue: string) => ValueType) | undefined;
58
58
  readonly formatter?: ((value: ValueType, info: {
@@ -422,12 +422,12 @@ declare function __VLS_template(): {
422
422
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
423
423
  "update:value": (...args: any[]) => void;
424
424
  }, string, {
425
+ step: ValueType;
425
426
  disabled: boolean;
426
427
  bordered: boolean;
427
428
  keyboard: boolean;
428
429
  max: ValueType;
429
430
  min: ValueType;
430
- step: ValueType;
431
431
  controls: boolean;
432
432
  emptyText: string;
433
433
  thousands: boolean;
@@ -452,18 +452,18 @@ declare function __VLS_template(): {
452
452
  $nextTick: nextTick;
453
453
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
454
454
  } & Readonly<{
455
+ step: ValueType;
455
456
  disabled: boolean;
456
457
  bordered: boolean;
457
458
  keyboard: boolean;
458
459
  max: ValueType;
459
460
  min: ValueType;
460
- step: ValueType;
461
461
  controls: boolean;
462
462
  emptyText: string;
463
463
  thousands: boolean;
464
464
  }> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
465
465
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
466
- }>, "blur" | "focus" | ("disabled" | "bordered" | "keyboard" | "max" | "min" | "step" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
466
+ }>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "keyboard" | "max" | "min" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
467
467
  focus: () => void;
468
468
  blur: () => void;
469
469
  }> & {} & ComponentCustomProperties & {} & {
@@ -507,6 +507,7 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
507
507
  readonly class?: unknown;
508
508
  readonly style?: unknown;
509
509
  readonly size?: ButtonSize;
510
+ readonly step?: ValueType | undefined;
510
511
  readonly onBlur?: ((e: FocusEvent) => void) | undefined;
511
512
  readonly onChange?: ((value: ValueType) => void) | undefined;
512
513
  readonly onFocus?: ((e: FocusEvent) => void) | undefined;
@@ -525,7 +526,6 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
525
526
  readonly onPressEnter?: KeyboardEventHandler | undefined;
526
527
  readonly readonly?: boolean | undefined;
527
528
  readonly stringMode?: boolean | undefined;
528
- readonly step?: ValueType | undefined;
529
529
  readonly controls?: boolean | undefined;
530
530
  readonly parser?: ((displayValue: string) => ValueType) | undefined;
531
531
  readonly formatter?: ((value: ValueType, info: {
@@ -895,12 +895,12 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
895
895
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
896
896
  "update:value": (...args: any[]) => void;
897
897
  }, string, {
898
+ step: ValueType;
898
899
  disabled: boolean;
899
900
  bordered: boolean;
900
901
  keyboard: boolean;
901
902
  max: ValueType;
902
903
  min: ValueType;
903
- step: ValueType;
904
904
  controls: boolean;
905
905
  emptyText: string;
906
906
  thousands: boolean;
@@ -925,18 +925,18 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
925
925
  $nextTick: nextTick;
926
926
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
927
927
  } & Readonly<{
928
+ step: ValueType;
928
929
  disabled: boolean;
929
930
  bordered: boolean;
930
931
  keyboard: boolean;
931
932
  max: ValueType;
932
933
  min: ValueType;
933
- step: ValueType;
934
934
  controls: boolean;
935
935
  emptyText: string;
936
936
  thousands: boolean;
937
937
  }> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
938
938
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
939
- }>, "blur" | "focus" | ("disabled" | "bordered" | "keyboard" | "max" | "min" | "step" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
939
+ }>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "keyboard" | "max" | "min" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
940
940
  focus: () => void;
941
941
  blur: () => void;
942
942
  }> & {} & ComponentCustomProperties & {} & {