@aplus-frontend/ui 7.7.4 → 7.7.6

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 (61) hide show
  1. package/es/src/ap-action/group/index.vue.d.ts +1 -0
  2. package/es/src/ap-action/group/index.vue.mjs +28 -28
  3. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +25 -1
  4. package/es/src/ap-button/ap-action-button.vue.d.ts +2 -1
  5. package/es/src/ap-button/ap-button.vue.d.ts +2 -1
  6. package/es/src/ap-field/number/index.vue.d.ts +20 -0
  7. package/es/src/ap-field/number/index.vue.mjs +11 -10
  8. package/es/src/ap-field/number/read.vue2.mjs +3 -2
  9. package/es/src/ap-field/select/index.vue.d.ts +12 -4
  10. package/es/src/ap-field/tree-select/index.vue.d.ts +2 -0
  11. package/es/src/ap-form/items/number/index.vue.d.ts +22 -0
  12. package/es/src/ap-form/items/select/index.vue.d.ts +18 -6
  13. package/es/src/ap-form/items/tree-select/index.vue.d.ts +2 -0
  14. package/es/src/ap-form/modal-form/index.vue.d.ts +25 -1
  15. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +19 -1
  16. package/es/src/ap-table/constants.d.ts +22 -3
  17. package/es/src/business/ap-batch-action-group/index.d.ts +34 -4
  18. package/es/src/business/ap-descriptions/ap-descriptions.vue.d.ts +3 -10
  19. package/es/src/business/ap-descriptions/ap-descriptions.vue.mjs +63 -79
  20. package/es/src/business/ap-descriptions/interface.d.ts +2 -3
  21. package/es/src/business/ap-upload/apUpload.vue.d.ts +9 -0
  22. package/es/src/business/ap-upload/apUpload.vue.mjs +33 -29
  23. package/es/src/business/ap-upload/apUploadTypes.d.ts +4 -0
  24. package/es/src/business/ap-upload/components/MultipleFile.vue2.mjs +50 -49
  25. package/es/src/business/ap-upload/components/Picture.vue2.mjs +66 -65
  26. package/es/src/business/ap-upload/components/SingleFile.vue2.mjs +95 -94
  27. package/es/src/business/ap-upload/hooks/useOss.d.ts +2 -1
  28. package/es/src/business/ap-upload/hooks/useOss.mjs +26 -24
  29. package/es/src/version.d.ts +1 -1
  30. package/es/src/version.mjs +1 -1
  31. package/lib/src/ap-action/group/index.vue.d.ts +1 -0
  32. package/lib/src/ap-action/group/index.vue.js +1 -1
  33. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +25 -1
  34. package/lib/src/ap-button/ap-action-button.vue.d.ts +2 -1
  35. package/lib/src/ap-button/ap-button.vue.d.ts +2 -1
  36. package/lib/src/ap-field/number/index.vue.d.ts +20 -0
  37. package/lib/src/ap-field/number/index.vue.js +1 -1
  38. package/lib/src/ap-field/number/read.vue2.js +1 -1
  39. package/lib/src/ap-field/select/index.vue.d.ts +12 -4
  40. package/lib/src/ap-field/tree-select/index.vue.d.ts +2 -0
  41. package/lib/src/ap-form/items/number/index.vue.d.ts +22 -0
  42. package/lib/src/ap-form/items/select/index.vue.d.ts +18 -6
  43. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +2 -0
  44. package/lib/src/ap-form/modal-form/index.vue.d.ts +25 -1
  45. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +19 -1
  46. package/lib/src/ap-table/constants.d.ts +22 -3
  47. package/lib/src/business/ap-batch-action-group/index.d.ts +34 -4
  48. package/lib/src/business/ap-descriptions/ap-descriptions.vue.d.ts +3 -10
  49. package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -1
  50. package/lib/src/business/ap-descriptions/interface.d.ts +2 -3
  51. package/lib/src/business/ap-upload/apUpload.vue.d.ts +9 -0
  52. package/lib/src/business/ap-upload/apUpload.vue.js +1 -1
  53. package/lib/src/business/ap-upload/apUploadTypes.d.ts +4 -0
  54. package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -1
  55. package/lib/src/business/ap-upload/components/Picture.vue2.js +1 -1
  56. package/lib/src/business/ap-upload/components/SingleFile.vue2.js +1 -1
  57. package/lib/src/business/ap-upload/hooks/useOss.d.ts +2 -1
  58. package/lib/src/business/ap-upload/hooks/useOss.js +1 -1
  59. package/lib/src/version.d.ts +1 -1
  60. package/lib/src/version.js +1 -1
  61. package/package.json +5 -5
@@ -7,5 +7,6 @@ declare const _default: DefineComponent<ApActionGroupProps, {}, {}, {}, {}, Comp
7
7
  actions: GroupActionTypes[];
8
8
  trigger: Trigger | Trigger[];
9
9
  count: number;
10
+ iconFirst: boolean;
10
11
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
11
12
  export default _default;
@@ -1,11 +1,11 @@
1
- import { defineComponent as k, computed as m, unref as c, createBlock as n, openBlock as o, withCtx as A, createElementBlock as a, createCommentVNode as y, Fragment as p, renderList as v, mergeProps as s } from "vue";
2
- import { Space as w } from "@aplus-frontend/antdv";
1
+ import { defineComponent as k, computed as m, unref as c, createBlock as n, openBlock as o, withCtx as A, createElementBlock as a, createCommentVNode as v, Fragment as p, renderList as y, mergeProps as s } from "vue";
2
+ import { Space as F } from "@aplus-frontend/antdv";
3
3
  import "../item/index.vue.mjs";
4
4
  import "../item-modal/index.vue2.mjs";
5
5
  import "../item-popconfirm/index.vue2.mjs";
6
6
  import "../item-dropdown/index.vue2.mjs";
7
7
  import "../../config-provider/index.mjs";
8
- import { isUndefined as F } from "lodash-unified";
8
+ import { isUndefined as w } from "lodash-unified";
9
9
  import { useLocale as x } from "../../config-provider/hooks/use-locale.mjs";
10
10
  import f from "../item-dropdown/index.vue.mjs";
11
11
  import B from "../item-modal/index.vue.mjs";
@@ -19,59 +19,59 @@ const q = /* @__PURE__ */ k({
19
19
  trigger: { default: () => ["hover"] },
20
20
  placement: { default: "bottomRight" },
21
21
  actions: { default: () => [] },
22
- iconFirst: { type: Boolean }
22
+ iconFirst: { type: Boolean, default: void 0 }
23
23
  },
24
24
  setup(_) {
25
- const r = _, { t: g } = x(), l = m(
25
+ const r = _, { t: d } = x(), l = m(
26
26
  () => r.actions.filter(
27
- (t) => t.visible || F(t.visible)
27
+ (e) => e.visible || w(e.visible)
28
28
  )
29
- ), d = m(() => c(l).length > r.count), u = m(() => {
30
- const t = c(l);
31
- if (t.length <= r.count)
29
+ ), g = m(() => c(l).length > r.count), u = m(() => {
30
+ const e = c(l);
31
+ if (e.length <= r.count)
32
32
  return {
33
- showActions: t.map((e) => ({
34
- ...e,
35
- iconFirst: !0
33
+ showActions: e.map((t) => ({
34
+ ...t,
35
+ iconFirst: t.iconFirst ?? r.iconFirst ?? !0
36
36
  })),
37
37
  menuActions: []
38
38
  };
39
- let i = t.slice(0, r.count - 1);
40
- return r.iconFirst && (i = i.map((e) => ({
41
- ...e,
39
+ let i = e.slice(0, r.count - 1);
40
+ return r.iconFirst && (i = i.map((t) => ({
41
+ ...t,
42
42
  iconFirst: !0
43
43
  }))), {
44
44
  showActions: i,
45
- menuActions: t.slice(r.count - 1)
45
+ menuActions: e.slice(r.count - 1)
46
46
  };
47
47
  });
48
- return (t, i) => (o(), n(c(w), {
48
+ return (e, i) => (o(), n(c(F), {
49
49
  size: 16,
50
50
  align: "center"
51
51
  }, {
52
52
  default: A(() => [
53
- (o(!0), a(p, null, v(u.value.showActions, (e, h) => (o(), a(p, { key: h }, [
54
- e.actions ? (o(), n(f, s({
53
+ (o(!0), a(p, null, y(u.value.showActions, (t, h) => (o(), a(p, { key: h }, [
54
+ t.actions ? (o(), n(f, s({
55
55
  key: 0,
56
56
  ref_for: !0
57
- }, e), null, 16)) : e.modalProps ? (o(), n(B, s({
57
+ }, t), null, 16)) : t.modalProps ? (o(), n(B, s({
58
58
  key: 1,
59
59
  ref_for: !0
60
- }, e), null, 16)) : e.popconfirmProps ? (o(), n($, s({
60
+ }, t), null, 16)) : t.popconfirmProps ? (o(), n($, s({
61
61
  key: 2,
62
62
  ref_for: !0
63
- }, e), null, 16)) : (o(), n(b, s({
63
+ }, t), null, 16)) : (o(), n(b, s({
64
64
  key: 3,
65
65
  ref_for: !0
66
- }, e), null, 16))
66
+ }, t), null, 16))
67
67
  ], 64))), 128)),
68
- d.value ? (o(), n(f, {
68
+ g.value ? (o(), n(f, {
69
69
  key: 0,
70
70
  actions: u.value.menuActions,
71
- placement: t.placement,
72
- trigger: t.trigger,
73
- text: c(g)("ap.common.more")
74
- }, null, 8, ["actions", "placement", "trigger", "text"])) : y("", !0)
71
+ placement: e.placement,
72
+ trigger: e.trigger,
73
+ text: c(d)("ap.common.more")
74
+ }, null, 8, ["actions", "placement", "trigger", "text"])) : v("", !0)
75
75
  ]),
76
76
  _: 1
77
77
  }));
@@ -1,5 +1,5 @@
1
1
  import { ApActionItemPopconfirmProps, ApActionItemSlots } from '../interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, CSSProperties, ComponentProvideOptions } from 'vue';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, VNode, RendererNode, RendererElement, HTMLAttributes, CSSProperties, ComponentProvideOptions } from 'vue';
3
3
  import { ActionColor } from '..';
4
4
  import { LegacyButtonType, ButtonHTMLType, ButtonIconPosition, ButtonVariantType } from '@aplus-frontend/antdv/es/button/buttonTypes';
5
5
  import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
@@ -73,9 +73,15 @@ declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {},
73
73
  loading: {
74
74
  type: PropType<boolean | {
75
75
  delay?: number;
76
+ icon?: VNode<RendererNode, RendererElement, {
77
+ [key: string]: any;
78
+ }>;
76
79
  }>;
77
80
  default: () => boolean | {
78
81
  delay?: number;
82
+ icon?: VNode<RendererNode, RendererElement, {
83
+ [key: string]: any;
84
+ }>;
79
85
  };
80
86
  };
81
87
  disabled: {
@@ -128,9 +134,15 @@ declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {},
128
134
  loading: {
129
135
  type: PropType<boolean | {
130
136
  delay?: number;
137
+ icon?: VNode<RendererNode, RendererElement, {
138
+ [key: string]: any;
139
+ }>;
131
140
  }>;
132
141
  default: () => boolean | {
133
142
  delay?: number;
143
+ icon?: VNode<RendererNode, RendererElement, {
144
+ [key: string]: any;
145
+ }>;
134
146
  };
135
147
  };
136
148
  disabled: {
@@ -185,9 +197,15 @@ declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {},
185
197
  loading: {
186
198
  type: PropType<boolean | {
187
199
  delay?: number;
200
+ icon?: VNode<RendererNode, RendererElement, {
201
+ [key: string]: any;
202
+ }>;
188
203
  }>;
189
204
  default: () => boolean | {
190
205
  delay?: number;
206
+ icon?: VNode<RendererNode, RendererElement, {
207
+ [key: string]: any;
208
+ }>;
191
209
  };
192
210
  };
193
211
  disabled: {
@@ -240,9 +258,15 @@ declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {},
240
258
  loading: {
241
259
  type: PropType<boolean | {
242
260
  delay?: number;
261
+ icon?: VNode<RendererNode, RendererElement, {
262
+ [key: string]: any;
263
+ }>;
243
264
  }>;
244
265
  default: () => boolean | {
245
266
  delay?: number;
267
+ icon?: VNode<RendererNode, RendererElement, {
268
+ [key: string]: any;
269
+ }>;
246
270
  };
247
271
  };
248
272
  disabled: {
@@ -1,5 +1,5 @@
1
1
  import { ApButtonSlots, ApButtonProps } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, VNode, ComponentProvideOptions } from 'vue';
3
3
  import { ButtonType } from '@aplus-frontend/antdv/es/button';
4
4
  declare function __VLS_template(): {
5
5
  attrs: Partial<{}>;
@@ -13,6 +13,7 @@ declare const __VLS_component: DefineComponent<ApButtonProps, {}, {}, {}, {}, Co
13
13
  minWidth: boolean | number | string;
14
14
  loading: boolean | {
15
15
  delay?: number;
16
+ icon?: VNode;
16
17
  };
17
18
  lazy: boolean | number;
18
19
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -1,5 +1,5 @@
1
1
  import { ApButtonSlots, ApButtonProps } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, VNode, ComponentProvideOptions } from 'vue';
3
3
  import { ButtonType } from '@aplus-frontend/antdv/es/button';
4
4
  declare function __VLS_template(): {
5
5
  attrs: Partial<{}>;
@@ -13,6 +13,7 @@ declare const __VLS_component: DefineComponent<ApButtonProps, {}, {}, {}, {}, Co
13
13
  minWidth: boolean | number | string;
14
14
  loading: boolean | {
15
15
  delay?: number;
16
+ icon?: VNode;
16
17
  };
17
18
  lazy: boolean | number;
18
19
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -51,6 +51,10 @@ declare function __VLS_template(): {
51
51
  type: BooleanConstructor;
52
52
  default: boolean;
53
53
  };
54
+ changeOnBlur: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ };
54
58
  stringMode: {
55
59
  type: BooleanConstructor;
56
60
  default: boolean;
@@ -167,6 +171,7 @@ declare function __VLS_template(): {
167
171
  defaultValue: ValueType;
168
172
  step: ValueType;
169
173
  changeOnWheel: boolean;
174
+ changeOnBlur: boolean;
170
175
  stringMode: boolean;
171
176
  controls: boolean;
172
177
  keyboard: boolean;
@@ -228,6 +233,10 @@ declare function __VLS_template(): {
228
233
  type: BooleanConstructor;
229
234
  default: boolean;
230
235
  };
236
+ changeOnBlur: {
237
+ type: BooleanConstructor;
238
+ default: boolean;
239
+ };
231
240
  stringMode: {
232
241
  type: BooleanConstructor;
233
242
  default: boolean;
@@ -344,6 +353,7 @@ declare function __VLS_template(): {
344
353
  defaultValue: ValueType;
345
354
  step: ValueType;
346
355
  changeOnWheel: boolean;
356
+ changeOnBlur: boolean;
347
357
  stringMode: boolean;
348
358
  controls: boolean;
349
359
  keyboard: boolean;
@@ -413,6 +423,10 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
413
423
  type: BooleanConstructor;
414
424
  default: boolean;
415
425
  };
426
+ changeOnBlur: {
427
+ type: BooleanConstructor;
428
+ default: boolean;
429
+ };
416
430
  stringMode: {
417
431
  type: BooleanConstructor;
418
432
  default: boolean;
@@ -529,6 +543,7 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
529
543
  defaultValue: ValueType;
530
544
  step: ValueType;
531
545
  changeOnWheel: boolean;
546
+ changeOnBlur: boolean;
532
547
  stringMode: boolean;
533
548
  controls: boolean;
534
549
  keyboard: boolean;
@@ -590,6 +605,10 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
590
605
  type: BooleanConstructor;
591
606
  default: boolean;
592
607
  };
608
+ changeOnBlur: {
609
+ type: BooleanConstructor;
610
+ default: boolean;
611
+ };
593
612
  stringMode: {
594
613
  type: BooleanConstructor;
595
614
  default: boolean;
@@ -706,6 +725,7 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
706
725
  defaultValue: ValueType;
707
726
  step: ValueType;
708
727
  changeOnWheel: boolean;
728
+ changeOnBlur: boolean;
709
729
  stringMode: boolean;
710
730
  controls: boolean;
711
731
  keyboard: boolean;
@@ -4,9 +4,9 @@ import "../../hooks/index.mjs";
4
4
  import { isNil as T, omit as w } from "lodash-unified";
5
5
  import { addZeroToDecimalPlaces as F } from "./helper.mjs";
6
6
  import "../../config-provider/index.mjs";
7
- import { useDefaultPlaceholder as W } from "../hooks/use-default-placeholder.mjs";
8
- import _ from "../style/index.mjs";
9
- import { roundWith as L, toDecimalMark as O } from "../../utils/format.mjs";
7
+ import { useDefaultPlaceholder as O } from "../hooks/use-default-placeholder.mjs";
8
+ import W from "../style/index.mjs";
9
+ import { roundWith as _, toDecimalMark as L } from "../../utils/format.mjs";
10
10
  import { useNamespace as Z } from "../../config-provider/hooks/use-namespace.mjs";
11
11
  import { useControllableValue as j } from "../../hooks/useControllableValue.mjs";
12
12
  const le = /* @__PURE__ */ C({
@@ -31,6 +31,7 @@ const le = /* @__PURE__ */ C({
31
31
  status: {},
32
32
  variant: {},
33
33
  changeOnWheel: { type: Boolean },
34
+ changeOnBlur: { type: Boolean },
34
35
  stringMode: { type: Boolean },
35
36
  defaultValue: {},
36
37
  value: {},
@@ -60,24 +61,24 @@ const le = /* @__PURE__ */ C({
60
61
  },
61
62
  emits: ["update:value"],
62
63
  setup(m, { expose: c, emit: y }) {
63
- const v = y, { b: r } = Z("field-number"), h = _("field"), o = m, n = N(), { value: p, updateValue: B } = j(
64
+ const v = y, { b: r } = Z("field-number"), h = W("field"), o = m, n = N(), { value: p, updateValue: B } = j(
64
65
  o,
65
66
  v
66
- ), b = W("Number", o), k = D(() => {
67
+ ), b = O("Number", o), g = D(() => {
67
68
  let e = t(p);
68
69
  if (T(e))
69
70
  return o.emptyText;
70
- o.precision && (e = L(e, o.precision));
71
- let a = o.thousands ? O(e) : String(e);
71
+ o.precision && (e = _(e, o.precision));
72
+ let a = o.thousands ? L(e) : String(e);
72
73
  return o.precision && o.limitDecimalsRetain && (a = F(a, o.precision)), a;
73
74
  });
74
- function g() {
75
+ function k() {
75
76
  n.value?.focus();
76
77
  }
77
78
  function S() {
78
79
  n.value?.blur();
79
80
  }
80
- return c({ focus: g, blur: S }), (e, a) => e.mode === "read" ? (l(), s("span", {
81
+ return c({ focus: k, blur: S }), (e, a) => e.mode === "read" ? (l(), s("span", {
81
82
  key: 0,
82
83
  class: i([t(r)(), t(h)])
83
84
  }, [
@@ -87,7 +88,7 @@ const le = /* @__PURE__ */ C({
87
88
  }, [
88
89
  u(e.$slots, "prefix")
89
90
  ], 2)) : f("", !0),
90
- R("span", null, V(k.value), 1),
91
+ R("span", null, V(g.value), 1),
91
92
  e.$slots.addonAfter ? (l(), s("span", {
92
93
  key: 1,
93
94
  class: i(t(r)("label-right"))
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, computed as d, createElementBlock as a, openBlock as n, createCommentVNode as r, createElementVNode as m, renderSlot as l, toDisplayString as u } from "vue";
1
+ import { defineComponent as p, computed as d, createElementBlock as a, openBlock as n, createCommentVNode as r, createElementVNode as u, renderSlot as l, toDisplayString as m } from "vue";
2
2
  import { isNil as c } from "lodash-unified";
3
3
  import { addZeroToDecimalPlaces as f } from "./helper.mjs";
4
4
  import { roundWith as y, toDecimalMark as B } from "../../utils/format.mjs";
@@ -30,6 +30,7 @@ const h = {
30
30
  status: {},
31
31
  variant: {},
32
32
  changeOnWheel: { type: Boolean },
33
+ changeOnBlur: { type: Boolean },
33
34
  stringMode: { type: Boolean },
34
35
  defaultValue: {},
35
36
  value: {},
@@ -70,7 +71,7 @@ const h = {
70
71
  e.$slots.prefix ? (n(), a("span", h, [
71
72
  l(e.$slots, "prefix")
72
73
  ])) : r("", !0),
73
- m("span", null, u(i.value), 1),
74
+ u("span", null, m(i.value), 1),
74
75
  e.$slots.addonAfter ? (n(), a("span", g, [
75
76
  l(e.$slots, "addonAfter")
76
77
  ])) : r("", !0)
@@ -145,7 +145,9 @@ declare function __VLS_template(): {
145
145
  type: PropType<boolean | FilterFunc<DefaultOptionType>>;
146
146
  default: any;
147
147
  };
148
- filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
148
+ filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
149
+ searchValue: string;
150
+ }) => number>;
149
151
  optionFilterProp: StringConstructor;
150
152
  optionLabelProp: StringConstructor;
151
153
  options: PropType<DefaultOptionType[]>;
@@ -364,7 +366,9 @@ declare function __VLS_template(): {
364
366
  type: PropType<boolean | FilterFunc<DefaultOptionType>>;
365
367
  default: any;
366
368
  };
367
- filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
369
+ filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
370
+ searchValue: string;
371
+ }) => number>;
368
372
  optionFilterProp: StringConstructor;
369
373
  optionLabelProp: StringConstructor;
370
374
  options: PropType<DefaultOptionType[]>;
@@ -597,7 +601,9 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
597
601
  type: PropType<boolean | FilterFunc<DefaultOptionType>>;
598
602
  default: any;
599
603
  };
600
- filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
604
+ filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
605
+ searchValue: string;
606
+ }) => number>;
601
607
  optionFilterProp: StringConstructor;
602
608
  optionLabelProp: StringConstructor;
603
609
  options: PropType<DefaultOptionType[]>;
@@ -816,7 +822,9 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
816
822
  type: PropType<boolean | FilterFunc<DefaultOptionType>>;
817
823
  default: any;
818
824
  };
819
- filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
825
+ filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
826
+ searchValue: string;
827
+ }) => number>;
820
828
  optionFilterProp: StringConstructor;
821
829
  optionLabelProp: StringConstructor;
822
830
  options: PropType<DefaultOptionType[]>;
@@ -317,6 +317,7 @@ declare function __VLS_template(): {
317
317
  leafIcon?: any;
318
318
  tagRender?: any;
319
319
  suffixIcon?: any;
320
+ clearIcon?: any;
320
321
  }>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
321
322
  P: {};
322
323
  B: {};
@@ -900,6 +901,7 @@ declare const __VLS_component: DefineComponent<ApFieldTreeSelectProps, {
900
901
  leafIcon?: any;
901
902
  tagRender?: any;
902
903
  suffixIcon?: any;
904
+ clearIcon?: any;
903
905
  }>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
904
906
  P: {};
905
907
  B: {};
@@ -52,6 +52,7 @@ declare function __VLS_template(): {
52
52
  readonly status?: "" | "error" | "warning" | undefined;
53
53
  readonly defaultValue?: ValueType | undefined;
54
54
  readonly changeOnWheel?: boolean | undefined;
55
+ readonly changeOnBlur?: boolean | undefined;
55
56
  readonly stringMode?: boolean | undefined;
56
57
  readonly min?: ValueType | undefined;
57
58
  readonly max?: ValueType | undefined;
@@ -121,6 +122,10 @@ declare function __VLS_template(): {
121
122
  type: BooleanConstructor;
122
123
  default: boolean;
123
124
  };
125
+ changeOnBlur: {
126
+ type: BooleanConstructor;
127
+ default: boolean;
128
+ };
124
129
  stringMode: {
125
130
  type: BooleanConstructor;
126
131
  default: boolean;
@@ -237,6 +242,7 @@ declare function __VLS_template(): {
237
242
  defaultValue: ValueType;
238
243
  step: ValueType;
239
244
  changeOnWheel: boolean;
245
+ changeOnBlur: boolean;
240
246
  stringMode: boolean;
241
247
  controls: boolean;
242
248
  keyboard: boolean;
@@ -298,6 +304,10 @@ declare function __VLS_template(): {
298
304
  type: BooleanConstructor;
299
305
  default: boolean;
300
306
  };
307
+ changeOnBlur: {
308
+ type: BooleanConstructor;
309
+ default: boolean;
310
+ };
301
311
  stringMode: {
302
312
  type: BooleanConstructor;
303
313
  default: boolean;
@@ -414,6 +424,7 @@ declare function __VLS_template(): {
414
424
  defaultValue: ValueType;
415
425
  step: ValueType;
416
426
  changeOnWheel: boolean;
427
+ changeOnBlur: boolean;
417
428
  stringMode: boolean;
418
429
  controls: boolean;
419
430
  keyboard: boolean;
@@ -547,6 +558,7 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
547
558
  readonly status?: "" | "error" | "warning" | undefined;
548
559
  readonly defaultValue?: ValueType | undefined;
549
560
  readonly changeOnWheel?: boolean | undefined;
561
+ readonly changeOnBlur?: boolean | undefined;
550
562
  readonly stringMode?: boolean | undefined;
551
563
  readonly min?: ValueType | undefined;
552
564
  readonly max?: ValueType | undefined;
@@ -616,6 +628,10 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
616
628
  type: BooleanConstructor;
617
629
  default: boolean;
618
630
  };
631
+ changeOnBlur: {
632
+ type: BooleanConstructor;
633
+ default: boolean;
634
+ };
619
635
  stringMode: {
620
636
  type: BooleanConstructor;
621
637
  default: boolean;
@@ -732,6 +748,7 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
732
748
  defaultValue: ValueType;
733
749
  step: ValueType;
734
750
  changeOnWheel: boolean;
751
+ changeOnBlur: boolean;
735
752
  stringMode: boolean;
736
753
  controls: boolean;
737
754
  keyboard: boolean;
@@ -793,6 +810,10 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
793
810
  type: BooleanConstructor;
794
811
  default: boolean;
795
812
  };
813
+ changeOnBlur: {
814
+ type: BooleanConstructor;
815
+ default: boolean;
816
+ };
796
817
  stringMode: {
797
818
  type: BooleanConstructor;
798
819
  default: boolean;
@@ -909,6 +930,7 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
909
930
  defaultValue: ValueType;
910
931
  step: ValueType;
911
932
  changeOnWheel: boolean;
933
+ changeOnBlur: boolean;
912
934
  stringMode: boolean;
913
935
  controls: boolean;
914
936
  keyboard: boolean;
@@ -98,7 +98,9 @@ declare function __VLS_template(): {
98
98
  readonly autoClearSearchValue?: boolean | undefined;
99
99
  readonly onDeselect?: SelectHandler<(string | number) | LabeledValue, DefaultOptionType> | undefined;
100
100
  readonly filterOption?: boolean | FilterFunc<DefaultOptionType> | undefined;
101
- readonly filterSort?: ((optionA: DefaultOptionType, optionB: DefaultOptionType) => number) | undefined;
101
+ readonly filterSort?: ((optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
102
+ searchValue: string;
103
+ }) => number) | undefined;
102
104
  readonly optionFilterProp?: string | undefined;
103
105
  readonly optionLabelProp?: string | undefined;
104
106
  readonly options?: DefaultOptionType[] | undefined;
@@ -261,7 +263,9 @@ declare function __VLS_template(): {
261
263
  type: PropType<boolean | FilterFunc<DefaultOptionType>>;
262
264
  default: any;
263
265
  };
264
- filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
266
+ filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
267
+ searchValue: string;
268
+ }) => number>;
265
269
  optionFilterProp: StringConstructor;
266
270
  optionLabelProp: StringConstructor;
267
271
  options: PropType< DefaultOptionType[]>;
@@ -480,7 +484,9 @@ declare function __VLS_template(): {
480
484
  type: PropType<boolean | FilterFunc<DefaultOptionType>>;
481
485
  default: any;
482
486
  };
483
- filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
487
+ filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
488
+ searchValue: string;
489
+ }) => number>;
484
490
  optionFilterProp: StringConstructor;
485
491
  optionLabelProp: StringConstructor;
486
492
  options: PropType< DefaultOptionType[]>;
@@ -747,7 +753,9 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
747
753
  readonly autoClearSearchValue?: boolean | undefined;
748
754
  readonly onDeselect?: SelectHandler<(string | number) | LabeledValue, DefaultOptionType> | undefined;
749
755
  readonly filterOption?: boolean | FilterFunc<DefaultOptionType> | undefined;
750
- readonly filterSort?: ((optionA: DefaultOptionType, optionB: DefaultOptionType) => number) | undefined;
756
+ readonly filterSort?: ((optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
757
+ searchValue: string;
758
+ }) => number) | undefined;
751
759
  readonly optionFilterProp?: string | undefined;
752
760
  readonly optionLabelProp?: string | undefined;
753
761
  readonly options?: DefaultOptionType[] | undefined;
@@ -910,7 +918,9 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
910
918
  type: PropType<boolean | FilterFunc<DefaultOptionType>>;
911
919
  default: any;
912
920
  };
913
- filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
921
+ filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
922
+ searchValue: string;
923
+ }) => number>;
914
924
  optionFilterProp: StringConstructor;
915
925
  optionLabelProp: StringConstructor;
916
926
  options: PropType< DefaultOptionType[]>;
@@ -1129,7 +1139,9 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
1129
1139
  type: PropType<boolean | FilterFunc<DefaultOptionType>>;
1130
1140
  default: any;
1131
1141
  };
1132
- filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
1142
+ filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
1143
+ searchValue: string;
1144
+ }) => number>;
1133
1145
  optionFilterProp: StringConstructor;
1134
1146
  optionLabelProp: StringConstructor;
1135
1147
  options: PropType< DefaultOptionType[]>;
@@ -435,6 +435,7 @@ declare function __VLS_template(): {
435
435
  leafIcon?: any;
436
436
  tagRender?: any;
437
437
  suffixIcon?: any;
438
+ clearIcon?: any;
438
439
  }>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
439
440
  P: {};
440
441
  B: {};
@@ -1226,6 +1227,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
1226
1227
  leafIcon?: any;
1227
1228
  tagRender?: any;
1228
1229
  suffixIcon?: any;
1230
+ clearIcon?: any;
1229
1231
  }>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1230
1232
  P: {};
1231
1233
  B: {};