@aplus-frontend/ui 0.2.18 → 0.2.20

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 (65) hide show
  1. package/es/index.mjs +193 -189
  2. package/es/src/ap-field/number/index.vue.d.ts +4 -0
  3. package/es/src/ap-field/number/index.vue.mjs +5 -4
  4. package/es/src/ap-form/index.d.ts +5 -1
  5. package/es/src/ap-form/index.mjs +17 -9
  6. package/es/src/ap-form/interface.d.ts +9 -0
  7. package/es/src/ap-form/items/number/index.vue.d.ts +20 -10
  8. package/es/src/ap-form/items/select/index.vue.d.ts +1 -0
  9. package/es/src/ap-form/items/select/index.vue.mjs +26 -22
  10. package/es/src/ap-form/items/text/index.vue.d.ts +10 -10
  11. package/es/src/ap-form/items/text/password.vue.d.ts +10 -10
  12. package/es/src/ap-form/items/text-area/index.vue.d.ts +9 -9
  13. package/es/src/ap-form/render/control.vue.d.ts +29 -0
  14. package/es/src/ap-form/render/control.vue.mjs +23 -0
  15. package/es/src/ap-form/render/control.vue2.mjs +4 -0
  16. package/es/src/ap-form/render/item.vue.d.ts +62 -0
  17. package/es/src/ap-form/render/item.vue.mjs +64 -0
  18. package/es/src/ap-form/render/item.vue2.mjs +4 -0
  19. package/es/src/ap-table/constants.d.ts +75 -60
  20. package/es/src/ap-table/utils.d.ts +3 -0
  21. package/es/src/business/ap-group-search/index.d.ts +36 -36
  22. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +1 -1
  23. package/es/src/business/ap-ladder/index.d.ts +7 -7
  24. package/es/src/business/batch-input-group/index.vue.mjs +45 -41
  25. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +15 -15
  26. package/es/src/config-provider/config-provider.d.ts +5 -0
  27. package/es/src/config-provider/css-var.d.ts +5 -0
  28. package/es/src/config-provider/css-var.mjs +20 -10
  29. package/es/src/config-provider/index.d.ts +30 -0
  30. package/es/src/index.mjs +154 -150
  31. package/es/src/locale/lang/en.mjs +3 -0
  32. package/es/src/locale/lang/zh-cn.mjs +3 -0
  33. package/lib/index.js +1 -1
  34. package/lib/src/ap-field/number/index.vue.d.ts +4 -0
  35. package/lib/src/ap-field/number/index.vue.js +1 -1
  36. package/lib/src/ap-form/index.d.ts +5 -1
  37. package/lib/src/ap-form/index.js +1 -1
  38. package/lib/src/ap-form/interface.d.ts +9 -0
  39. package/lib/src/ap-form/items/number/index.vue.d.ts +20 -10
  40. package/lib/src/ap-form/items/select/index.vue.d.ts +1 -0
  41. package/lib/src/ap-form/items/select/index.vue.js +1 -1
  42. package/lib/src/ap-form/items/text/index.vue.d.ts +10 -10
  43. package/lib/src/ap-form/items/text/password.vue.d.ts +10 -10
  44. package/lib/src/ap-form/items/text-area/index.vue.d.ts +9 -9
  45. package/lib/src/ap-form/render/control.vue.d.ts +29 -0
  46. package/lib/src/ap-form/render/control.vue.js +1 -0
  47. package/lib/src/ap-form/render/control.vue2.js +1 -0
  48. package/lib/src/ap-form/render/item.vue.d.ts +62 -0
  49. package/lib/src/ap-form/render/item.vue.js +1 -0
  50. package/lib/src/ap-form/render/item.vue2.js +1 -0
  51. package/lib/src/ap-table/constants.d.ts +75 -60
  52. package/lib/src/ap-table/utils.d.ts +3 -0
  53. package/lib/src/business/ap-group-search/index.d.ts +36 -36
  54. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +1 -1
  55. package/lib/src/business/ap-ladder/index.d.ts +7 -7
  56. package/lib/src/business/batch-input-group/index.vue.js +2 -2
  57. package/lib/src/business/batch-input-group/popover-input/index.vue2.js +2 -2
  58. package/lib/src/config-provider/config-provider.d.ts +5 -0
  59. package/lib/src/config-provider/css-var.d.ts +5 -0
  60. package/lib/src/config-provider/css-var.js +1 -1
  61. package/lib/src/config-provider/index.d.ts +30 -0
  62. package/lib/src/index.js +1 -1
  63. package/lib/src/locale/lang/en.js +1 -1
  64. package/lib/src/locale/lang/zh-cn.js +1 -1
  65. package/package.json +2 -2
@@ -61,13 +61,14 @@ declare function __VLS_template(): {
61
61
  readonly tabindex?: number | undefined;
62
62
  readonly prefix?: any;
63
63
  readonly autofocus?: boolean | undefined;
64
+ 'onUpdate:value'?: (((value: ValueType) => void) & ((...args: any[]) => any)) | undefined;
64
65
  readonly defaultValue?: ValueType | undefined;
65
66
  readonly onPressEnter?: KeyboardEventHandler | undefined;
66
- 'onUpdate:value'?: (((value: ValueType) => void) & ((...args: any[]) => any)) | undefined;
67
67
  readonly valueModifiers?: Record<string, any> | undefined;
68
68
  readonly readonly?: boolean | undefined;
69
69
  readonly addonBefore?: any;
70
70
  readonly addonAfter?: any;
71
+ readonly suffix?: any;
71
72
  readonly stringMode?: boolean | undefined;
72
73
  readonly parser?: ((displayValue: string) => ValueType) | undefined;
73
74
  readonly formatter?: ((value: ValueType, info: {
@@ -147,6 +148,9 @@ declare function __VLS_template(): {
147
148
  autofocus: {
148
149
  type: PropType<boolean>;
149
150
  };
151
+ 'onUpdate:value': {
152
+ type: PropType<(value: ValueType) => void>;
153
+ };
150
154
  max: {
151
155
  type: PropType<ValueType>;
152
156
  default: number;
@@ -161,9 +165,6 @@ declare function __VLS_template(): {
161
165
  onPressEnter: {
162
166
  type: PropType<KeyboardEventHandler>;
163
167
  };
164
- 'onUpdate:value': {
165
- type: PropType<(value: ValueType) => void>;
166
- };
167
168
  valueModifiers: {
168
169
  type: PropType<Record<string, any>>;
169
170
  };
@@ -176,6 +177,9 @@ declare function __VLS_template(): {
176
177
  addonAfter: {
177
178
  type: PropType<any>;
178
179
  };
180
+ suffix: {
181
+ type: PropType<any>;
182
+ };
179
183
  stringMode: {
180
184
  type: PropType<boolean>;
181
185
  };
@@ -301,6 +305,9 @@ declare function __VLS_template(): {
301
305
  autofocus: {
302
306
  type: PropType<boolean>;
303
307
  };
308
+ 'onUpdate:value': {
309
+ type: PropType<(value: ValueType) => void>;
310
+ };
304
311
  max: {
305
312
  type: PropType<ValueType>;
306
313
  default: number;
@@ -315,9 +322,6 @@ declare function __VLS_template(): {
315
322
  onPressEnter: {
316
323
  type: PropType<KeyboardEventHandler>;
317
324
  };
318
- 'onUpdate:value': {
319
- type: PropType<(value: ValueType) => void>;
320
- };
321
325
  valueModifiers: {
322
326
  type: PropType<Record<string, any>>;
323
327
  };
@@ -330,6 +334,9 @@ declare function __VLS_template(): {
330
334
  addonAfter: {
331
335
  type: PropType<any>;
332
336
  };
337
+ suffix: {
338
+ type: PropType<any>;
339
+ };
333
340
  stringMode: {
334
341
  type: PropType<boolean>;
335
342
  };
@@ -475,6 +482,9 @@ declare function __VLS_template(): {
475
482
  autofocus: {
476
483
  type: PropType<boolean>;
477
484
  };
485
+ 'onUpdate:value': {
486
+ type: PropType<(value: ValueType) => void>;
487
+ };
478
488
  max: {
479
489
  type: PropType<ValueType>;
480
490
  default: number;
@@ -489,9 +499,6 @@ declare function __VLS_template(): {
489
499
  onPressEnter: {
490
500
  type: PropType<KeyboardEventHandler>;
491
501
  };
492
- 'onUpdate:value': {
493
- type: PropType<(value: ValueType) => void>;
494
- };
495
502
  valueModifiers: {
496
503
  type: PropType<Record<string, any>>;
497
504
  };
@@ -504,6 +511,9 @@ declare function __VLS_template(): {
504
511
  addonAfter: {
505
512
  type: PropType<any>;
506
513
  };
514
+ suffix: {
515
+ type: PropType<any>;
516
+ };
507
517
  stringMode: {
508
518
  type: PropType<boolean>;
509
519
  };
@@ -45,6 +45,7 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
45
45
  }>, {
46
46
  focus: () => void;
47
47
  blur: () => void;
48
+ request: () => void;
48
49
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFormItemSelectProps>, {
49
50
  hasFeedback: boolean;
50
51
  colon: undefined;
@@ -1,11 +1,11 @@
1
- import { defineComponent as x, ref as y, useSlots as g, computed as S, openBlock as F, createBlock as k, normalizeProps as t, guardReactiveProps as a, unref as l, createSlots as f, withCtx as n, createVNode as C, renderList as u, renderSlot as m } from "vue";
1
+ import { defineComponent as x, ref as y, useSlots as g, computed as S, openBlock as F, createBlock as k, normalizeProps as t, guardReactiveProps as a, unref as l, createSlots as u, withCtx as i, createVNode as C, renderList as f, renderSlot as m } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/index.mjs";
4
- import { isUndefined as P, omit as c, pick as $ } from "lodash-unified";
4
+ import { isUndefined as q, omit as c, pick as P } from "lodash-unified";
5
5
  import { apFormItemSlotNames as b } from "../../constant.mjs";
6
- import N from "../../item/index.vue.mjs";
7
- import V from "../../../ap-field/select/index.vue.mjs";
8
- const j = /* @__PURE__ */ x({
6
+ import $ from "../../item/index.vue.mjs";
7
+ import N from "../../../ap-field/select/index.vue.mjs";
8
+ const D = /* @__PURE__ */ x({
9
9
  name: "ApFormItemSelect",
10
10
  __name: "index",
11
11
  props: {
@@ -52,49 +52,53 @@ const j = /* @__PURE__ */ x({
52
52
  placeholder: {},
53
53
  disabled: { type: Boolean, default: !1 }
54
54
  },
55
- setup(_, { expose: h }) {
56
- const o = _, i = y();
57
- h({
55
+ setup(_, { expose: v }) {
56
+ const o = _, s = y();
57
+ v({
58
58
  focus: () => {
59
59
  var e;
60
- (e = i.value) == null || e.focus();
60
+ (e = s.value) == null || e.focus();
61
61
  },
62
62
  blur: () => {
63
63
  var e;
64
- (e = i.value) == null || e.blur();
64
+ (e = s.value) == null || e.blur();
65
+ },
66
+ request: () => {
67
+ var e;
68
+ (e = s.value) == null || e.request();
65
69
  }
66
70
  });
67
- const p = g(), v = S(() => {
71
+ const p = g(), h = S(() => {
68
72
  var e, d;
69
73
  return {
70
74
  placeholder: o.placeholder,
71
75
  disabled: o.disabled,
72
76
  ...o.field || {},
73
- bordered: o.bordered ? !1 : P((e = o.field) == null ? void 0 : e.bordered) ? !0 : (d = o.field) == null ? void 0 : d.bordered
77
+ bordered: o.bordered ? !1 : q((e = o.field) == null ? void 0 : e.bordered) ? !0 : (d = o.field) == null ? void 0 : d.bordered
74
78
  };
75
79
  });
76
- return (e, d) => (F(), k(N, t(a(l(c)(o, ["field", "placeholder", "disabled"]))), f({
77
- default: n(() => [
78
- C(l(V), t(a(v.value)), f({ _: 2 }, [
79
- u(l(c)(p, l(b)), (B, r) => ({
80
+ return (e, d) => (F(), k($, t(a(l(c)(o, ["field", "placeholder", "disabled"]))), u({
81
+ default: i(() => [
82
+ C(l(N), t(a(h.value)), u({ _: 2 }, [
83
+ f(l(c)(p, l(b)), (B, r) => ({
80
84
  name: r,
81
- fn: n((s) => [
82
- m(e.$slots, r, t(a(s || {})))
85
+ fn: i((n) => [
86
+ m(e.$slots, r, t(a(n || {})))
83
87
  ])
84
88
  }))
85
89
  ]), 1040)
86
90
  ]),
87
91
  _: 2
88
92
  }, [
89
- u(l($)(p, l(b)), (B, r) => ({
93
+ f(l(P)(p, l(b)), (B, r) => ({
90
94
  name: r,
91
- fn: n((s) => [
92
- m(e.$slots, r, t(a(s || {})))
95
+ fn: i((n) => [
96
+ m(e.$slots, r, t(a(n || {})))
93
97
  ])
94
98
  }))
95
99
  ]), 1040));
96
100
  }
97
101
  });
98
102
  export {
99
- j as default
103
+ D as default
100
104
  };
@@ -60,13 +60,13 @@ declare function __VLS_template(): {
60
60
  readonly prefix?: any;
61
61
  readonly loading?: boolean | undefined;
62
62
  readonly autofocus?: boolean | undefined;
63
+ 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
63
64
  readonly focused?: boolean | undefined;
64
65
  readonly defaultValue?: string | number | undefined;
65
66
  readonly maxlength?: number | undefined;
66
67
  readonly showCount?: boolean | ShowCountProps | undefined;
67
68
  readonly htmlSize?: number | undefined;
68
69
  readonly onPressEnter?: KeyboardEventHandler | undefined;
69
- 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
70
70
  readonly valueModifiers?: Record<string, any> | undefined;
71
71
  readonly inputElement?: any;
72
72
  readonly triggerFocus?: (() => void) | undefined;
@@ -158,6 +158,9 @@ declare function __VLS_template(): {
158
158
  autofocus: {
159
159
  type: PropType<boolean>;
160
160
  };
161
+ 'onUpdate:value': {
162
+ type: PropType<(val: string) => void>;
163
+ };
161
164
  focused: {
162
165
  type: PropType<boolean>;
163
166
  };
@@ -180,9 +183,6 @@ declare function __VLS_template(): {
180
183
  onPressEnter: {
181
184
  type: PropType<KeyboardEventHandler>;
182
185
  };
183
- 'onUpdate:value': {
184
- type: PropType<(val: string) => void>;
185
- };
186
186
  valueModifiers: {
187
187
  type: PropType<Record<string, any>>;
188
188
  };
@@ -316,6 +316,9 @@ declare function __VLS_template(): {
316
316
  autofocus: {
317
317
  type: PropType<boolean>;
318
318
  };
319
+ 'onUpdate:value': {
320
+ type: PropType<(val: string) => void>;
321
+ };
319
322
  focused: {
320
323
  type: PropType<boolean>;
321
324
  };
@@ -338,9 +341,6 @@ declare function __VLS_template(): {
338
341
  onPressEnter: {
339
342
  type: PropType<KeyboardEventHandler>;
340
343
  };
341
- 'onUpdate:value': {
342
- type: PropType<(val: string) => void>;
343
- };
344
344
  valueModifiers: {
345
345
  type: PropType<Record<string, any>>;
346
346
  };
@@ -495,6 +495,9 @@ declare function __VLS_template(): {
495
495
  autofocus: {
496
496
  type: PropType<boolean>;
497
497
  };
498
+ 'onUpdate:value': {
499
+ type: PropType<(val: string) => void>;
500
+ };
498
501
  focused: {
499
502
  type: PropType<boolean>;
500
503
  };
@@ -517,9 +520,6 @@ declare function __VLS_template(): {
517
520
  onPressEnter: {
518
521
  type: PropType<KeyboardEventHandler>;
519
522
  };
520
- 'onUpdate:value': {
521
- type: PropType<(val: string) => void>;
522
- };
523
523
  valueModifiers: {
524
524
  type: PropType<Record<string, any>>;
525
525
  };
@@ -68,13 +68,13 @@ declare function __VLS_template(): {
68
68
  readonly prefix?: any;
69
69
  readonly loading?: boolean | undefined;
70
70
  readonly autofocus?: boolean | undefined;
71
+ 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
71
72
  readonly focused?: boolean | undefined;
72
73
  readonly defaultValue?: string | number | undefined;
73
74
  readonly maxlength?: number | undefined;
74
75
  readonly showCount?: boolean | ShowCountProps | undefined;
75
76
  readonly htmlSize?: number | undefined;
76
77
  readonly onPressEnter?: KeyboardEventHandler | undefined;
77
- 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
78
78
  readonly valueModifiers?: Record<string, any> | undefined;
79
79
  readonly inputElement?: any;
80
80
  readonly triggerFocus?: (() => void) | undefined;
@@ -174,6 +174,9 @@ declare function __VLS_template(): {
174
174
  autofocus: {
175
175
  type: PropType<boolean>;
176
176
  };
177
+ 'onUpdate:value': {
178
+ type: PropType<(val: string) => void>;
179
+ };
177
180
  focused: {
178
181
  type: PropType<boolean>;
179
182
  };
@@ -196,9 +199,6 @@ declare function __VLS_template(): {
196
199
  onPressEnter: {
197
200
  type: PropType<KeyboardEventHandler>;
198
201
  };
199
- 'onUpdate:value': {
200
- type: PropType<(val: string) => void>;
201
- };
202
202
  valueModifiers: {
203
203
  type: PropType<Record<string, any>>;
204
204
  };
@@ -351,6 +351,9 @@ declare function __VLS_template(): {
351
351
  autofocus: {
352
352
  type: PropType<boolean>;
353
353
  };
354
+ 'onUpdate:value': {
355
+ type: PropType<(val: string) => void>;
356
+ };
354
357
  focused: {
355
358
  type: PropType<boolean>;
356
359
  };
@@ -373,9 +376,6 @@ declare function __VLS_template(): {
373
376
  onPressEnter: {
374
377
  type: PropType<KeyboardEventHandler>;
375
378
  };
376
- 'onUpdate:value': {
377
- type: PropType<(val: string) => void>;
378
- };
379
379
  valueModifiers: {
380
380
  type: PropType<Record<string, any>>;
381
381
  };
@@ -550,6 +550,9 @@ declare function __VLS_template(): {
550
550
  autofocus: {
551
551
  type: PropType<boolean>;
552
552
  };
553
+ 'onUpdate:value': {
554
+ type: PropType<(val: string) => void>;
555
+ };
553
556
  focused: {
554
557
  type: PropType<boolean>;
555
558
  };
@@ -572,9 +575,6 @@ declare function __VLS_template(): {
572
575
  onPressEnter: {
573
576
  type: PropType<KeyboardEventHandler>;
574
577
  };
575
- 'onUpdate:value': {
576
- type: PropType<(val: string) => void>;
577
- };
578
578
  valueModifiers: {
579
579
  type: PropType<Record<string, any>>;
580
580
  };
@@ -95,6 +95,9 @@ declare function __VLS_template(): {
95
95
  autofocus: {
96
96
  type: PropType<boolean>;
97
97
  };
98
+ 'onUpdate:value': {
99
+ type: PropType<(val: string) => void>;
100
+ };
98
101
  focused: {
99
102
  type: PropType<boolean>;
100
103
  };
@@ -117,9 +120,6 @@ declare function __VLS_template(): {
117
120
  onPressEnter: {
118
121
  type: PropType<KeyboardEventHandler>;
119
122
  };
120
- 'onUpdate:value': {
121
- type: PropType<(val: string) => void>;
122
- };
123
123
  valueModifiers: {
124
124
  type: PropType<Record<string, any>>;
125
125
  };
@@ -245,6 +245,9 @@ declare function __VLS_template(): {
245
245
  autofocus: {
246
246
  type: PropType<boolean>;
247
247
  };
248
+ 'onUpdate:value': {
249
+ type: PropType<(val: string) => void>;
250
+ };
248
251
  focused: {
249
252
  type: PropType<boolean>;
250
253
  };
@@ -267,9 +270,6 @@ declare function __VLS_template(): {
267
270
  onPressEnter: {
268
271
  type: PropType<KeyboardEventHandler>;
269
272
  };
270
- 'onUpdate:value': {
271
- type: PropType<(val: string) => void>;
272
- };
273
273
  valueModifiers: {
274
274
  type: PropType<Record<string, any>>;
275
275
  };
@@ -403,6 +403,9 @@ declare function __VLS_template(): {
403
403
  autofocus: {
404
404
  type: PropType<boolean>;
405
405
  };
406
+ 'onUpdate:value': {
407
+ type: PropType<(val: string) => void>;
408
+ };
406
409
  focused: {
407
410
  type: PropType<boolean>;
408
411
  };
@@ -425,9 +428,6 @@ declare function __VLS_template(): {
425
428
  onPressEnter: {
426
429
  type: PropType<KeyboardEventHandler>;
427
430
  };
428
- 'onUpdate:value': {
429
- type: PropType<(val: string) => void>;
430
- };
431
431
  valueModifiers: {
432
432
  type: PropType<Record<string, any>>;
433
433
  };
@@ -0,0 +1,29 @@
1
+ import { FormItemStatusContextProps } from '@aplus-frontend/antdv/es/form/FormItemContext';
2
+ import { ApFormControlRenderProps } from '../interface';
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
+ type SlotsType = {
5
+ default: (props: FormItemStatusContextProps & NonNullable<ApFormControlRenderProps>) => any;
6
+ };
7
+ declare function __VLS_template(): {
8
+ slots: Readonly<SlotsType> & SlotsType;
9
+ refs: {};
10
+ attrs: Partial<{}>;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<ApFormControlRenderProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<ApFormControlRenderProps>>>, {}, {}>;
14
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
+ export default _default;
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToOption<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
25
+ type __VLS_WithTemplateSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,23 @@
1
+ import { defineComponent as p, computed as u, renderSlot as s, normalizeProps as c, guardReactiveProps as a } from "vue";
2
+ import { FormItemInputContext as l } from "@aplus-frontend/antdv/es/form/FormItemContext";
3
+ const f = /* @__PURE__ */ p({
4
+ name: "ApFormControlRender",
5
+ __name: "control",
6
+ props: {
7
+ value: {},
8
+ "onUpdate:value": { type: Function },
9
+ bordered: { type: Boolean },
10
+ onFocus: { type: Function },
11
+ onBlur: { type: Function }
12
+ },
13
+ setup(o) {
14
+ const t = o, n = l.useInject(), e = u(() => ({
15
+ ...n,
16
+ ...t
17
+ }));
18
+ return console.log("getMergedProps", e.value), (r, m) => s(r.$slots, "default", c(a(e.value)));
19
+ }
20
+ });
21
+ export {
22
+ f as default
23
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./control.vue.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,62 @@
1
+ import { FormItemStatusContextProps } from '@aplus-frontend/antdv/es/form/FormItemContext';
2
+ import { ApFormControlRenderProps } from '../interface';
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
+ import { ApFormItemProps } from '..';
5
+ type SlotsType = {
6
+ default: (props: FormItemStatusContextProps & NonNullable<ApFormControlRenderProps>) => any;
7
+ };
8
+ declare function __VLS_template(): {
9
+ slots: Readonly<SlotsType> & SlotsType;
10
+ refs: {};
11
+ attrs: Partial<{}>;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption< ApFormItemProps>, {
15
+ hasFeedback: boolean;
16
+ colon: undefined;
17
+ autoLink: boolean;
18
+ required: undefined;
19
+ validateFirst: undefined;
20
+ bordered: boolean;
21
+ valuePropName: string;
22
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption< ApFormItemProps>, {
23
+ hasFeedback: boolean;
24
+ colon: undefined;
25
+ autoLink: boolean;
26
+ required: undefined;
27
+ validateFirst: undefined;
28
+ bordered: boolean;
29
+ valuePropName: string;
30
+ }>>>, {
31
+ bordered: boolean;
32
+ colon: boolean;
33
+ required: boolean;
34
+ hasFeedback: boolean;
35
+ autoLink: boolean;
36
+ validateFirst: boolean;
37
+ valuePropName: string;
38
+ }, {}>;
39
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
40
+ export default _default;
41
+ type __VLS_WithDefaults<P, D> = {
42
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
43
+ default: D[K];
44
+ }> : P[K];
45
+ };
46
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
+ type __VLS_TypePropsToOption<T> = {
48
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
49
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
50
+ } : {
51
+ type: PropType<T[K]>;
52
+ required: true;
53
+ };
54
+ };
55
+ type __VLS_WithTemplateSlots<T, S> = T & {
56
+ new (): {
57
+ $slots: S;
58
+ };
59
+ };
60
+ type __VLS_PrettifyLocal<T> = {
61
+ [K in keyof T]: T[K];
62
+ } & {};
@@ -0,0 +1,64 @@
1
+ import { defineComponent as s, openBlock as i, createBlock as u, unref as o, normalizeProps as l, guardReactiveProps as a, withCtx as t, createVNode as f, renderSlot as m } from "vue";
2
+ import { ApForm as r } from "../index.mjs";
3
+ const x = /* @__PURE__ */ s({
4
+ name: "ApFormItemRender",
5
+ __name: "item",
6
+ props: {
7
+ htmlFor: {},
8
+ prefixCls: {},
9
+ label: {},
10
+ help: {},
11
+ extra: {},
12
+ labelCol: {},
13
+ wrapperCol: {},
14
+ hasFeedback: { type: Boolean, default: !1 },
15
+ colon: { type: Boolean, default: void 0 },
16
+ labelAlign: {},
17
+ prop: {},
18
+ name: {},
19
+ rules: {},
20
+ autoLink: { type: Boolean, default: !0 },
21
+ required: { type: Boolean, default: void 0 },
22
+ validateFirst: { type: Boolean, default: void 0 },
23
+ validateStatus: {},
24
+ validateTrigger: {},
25
+ messageVariables: {},
26
+ hidden: { type: Boolean },
27
+ noStyle: { type: Boolean },
28
+ tooltip: {},
29
+ span: {},
30
+ order: {},
31
+ offset: {},
32
+ push: {},
33
+ pull: {},
34
+ xs: {},
35
+ sm: {},
36
+ md: {},
37
+ lg: {},
38
+ xl: {},
39
+ xxl: {},
40
+ flex: {},
41
+ bordered: { type: Boolean, default: !1 },
42
+ valuePropName: { default: "value" },
43
+ initialValue: {},
44
+ _signal: {},
45
+ transform: {}
46
+ },
47
+ setup(n) {
48
+ const e = n;
49
+ return console.log("props", e), (p, c) => (i(), u(o(r).FormItem, l(a(e)), {
50
+ default: t(() => [
51
+ f(o(r).ControlRender, null, {
52
+ default: t((d) => [
53
+ m(p.$slots, "default", l(a(d)))
54
+ ]),
55
+ _: 3
56
+ })
57
+ ]),
58
+ _: 3
59
+ }, 16));
60
+ }
61
+ });
62
+ export {
63
+ x as default
64
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./item.vue.mjs";
2
+ export {
3
+ f as default
4
+ };