@aplus-frontend/ui 7.7.2 → 7.7.4

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 (91) hide show
  1. package/es/index.mjs +62 -60
  2. package/es/src/ap-field/checkbox/index.vue.mjs +18 -8
  3. package/es/src/ap-field/number/index.vue.mjs +19 -19
  4. package/es/src/ap-field/radio/index.vue.mjs +24 -24
  5. package/es/src/ap-field/rate/index.vue.mjs +10 -10
  6. package/es/src/ap-field/select/index.vue.mjs +74 -71
  7. package/es/src/ap-field/slider/index.vue.d.ts +4 -2
  8. package/es/src/ap-field/slider/index.vue.mjs +12 -12
  9. package/es/src/ap-field/switch/index.vue.mjs +20 -20
  10. package/es/src/ap-field/text/index.vue2.mjs +23 -23
  11. package/es/src/ap-field/text/password.vue.mjs +9 -9
  12. package/es/src/ap-field/text-area/index.vue.mjs +24 -20
  13. package/es/src/ap-field/tree-select/index.vue.mjs +17 -17
  14. package/es/src/ap-form/ap-form.vue2.mjs +64 -64
  15. package/es/src/ap-form/drawer-form/index.vue.mjs +41 -41
  16. package/es/src/ap-form/item/index.vue.mjs +64 -64
  17. package/es/src/ap-form/items/number/index.vue.mjs +10 -10
  18. package/es/src/ap-form/items/radio/index.vue.mjs +3 -3
  19. package/es/src/ap-form/items/select/index.vue.mjs +5 -5
  20. package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
  21. package/es/src/ap-form/items/text/index.vue2.mjs +6 -6
  22. package/es/src/ap-form/items/text/password.vue.mjs +7 -7
  23. package/es/src/ap-form/items/text-area/index.vue.mjs +5 -5
  24. package/es/src/ap-form/items/tree-select/index.vue.mjs +7 -7
  25. package/es/src/ap-form/search-form/index.vue.mjs +63 -63
  26. package/es/src/ap-form/style/item.mjs +17 -10
  27. package/es/src/ap-list/index.vue.mjs +6 -6
  28. package/es/src/ap-table/constants.d.ts +1 -1
  29. package/es/src/business/ap-descriptions/index.d.ts +1 -0
  30. package/es/src/business/ap-descriptions/index.mjs +4 -0
  31. package/es/src/business/ap-value-select-card/style/index.mjs +1 -1
  32. package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
  33. package/es/src/editable-table/form-item.vue.mjs +64 -64
  34. package/es/src/editable-table/index.vue.mjs +66 -66
  35. package/es/src/editable-table/style/index.mjs +5 -5
  36. package/es/src/index.mjs +46 -44
  37. package/es/src/scroll-bar/index.vue.d.ts +7 -7
  38. package/es/src/scroll-bar/index.vue.mjs +21 -21
  39. package/es/src/scroll-bar/internal.vue.d.ts +4 -4
  40. package/es/src/scroll-bar/internal.vue.mjs +20 -20
  41. package/es/src/scroll-view/hooks/use-scroll-wrapper.d.ts +4 -4
  42. package/es/src/scroll-view/hooks/use-scroll-wrapper.mjs +13 -13
  43. package/es/src/scroll-view/index.vue.d.ts +25 -25
  44. package/es/src/version.d.ts +1 -1
  45. package/es/src/version.mjs +1 -1
  46. package/lib/index.js +1 -1
  47. package/lib/src/ap-field/checkbox/index.vue.js +1 -1
  48. package/lib/src/ap-field/number/index.vue.js +1 -1
  49. package/lib/src/ap-field/radio/index.vue.js +1 -1
  50. package/lib/src/ap-field/rate/index.vue.js +1 -1
  51. package/lib/src/ap-field/select/index.vue.js +1 -1
  52. package/lib/src/ap-field/slider/index.vue.d.ts +4 -2
  53. package/lib/src/ap-field/slider/index.vue.js +1 -1
  54. package/lib/src/ap-field/switch/index.vue.js +1 -1
  55. package/lib/src/ap-field/text/index.vue2.js +1 -1
  56. package/lib/src/ap-field/text/password.vue.js +1 -1
  57. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  58. package/lib/src/ap-field/tree-select/index.vue.js +1 -1
  59. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  60. package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
  61. package/lib/src/ap-form/item/index.vue.js +1 -1
  62. package/lib/src/ap-form/items/number/index.vue.js +1 -1
  63. package/lib/src/ap-form/items/radio/index.vue.js +1 -1
  64. package/lib/src/ap-form/items/select/index.vue.js +1 -1
  65. package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
  66. package/lib/src/ap-form/items/text/index.vue2.js +1 -1
  67. package/lib/src/ap-form/items/text/password.vue.js +1 -1
  68. package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
  69. package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
  70. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  71. package/lib/src/ap-form/style/item.js +1 -1
  72. package/lib/src/ap-list/index.vue.js +1 -1
  73. package/lib/src/ap-table/constants.d.ts +1 -1
  74. package/lib/src/business/ap-descriptions/index.d.ts +1 -0
  75. package/lib/src/business/ap-descriptions/index.js +1 -1
  76. package/lib/src/business/ap-value-select-card/style/index.js +1 -1
  77. package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
  78. package/lib/src/editable-table/form-item.vue.js +1 -1
  79. package/lib/src/editable-table/index.vue.js +1 -1
  80. package/lib/src/editable-table/style/index.js +1 -1
  81. package/lib/src/index.js +1 -1
  82. package/lib/src/scroll-bar/index.vue.d.ts +7 -7
  83. package/lib/src/scroll-bar/index.vue.js +1 -1
  84. package/lib/src/scroll-bar/internal.vue.d.ts +4 -4
  85. package/lib/src/scroll-bar/internal.vue.js +1 -1
  86. package/lib/src/scroll-view/hooks/use-scroll-wrapper.d.ts +4 -4
  87. package/lib/src/scroll-view/hooks/use-scroll-wrapper.js +1 -1
  88. package/lib/src/scroll-view/index.vue.d.ts +25 -25
  89. package/lib/src/version.d.ts +1 -1
  90. package/lib/src/version.js +1 -1
  91. package/package.json +3 -3
@@ -1,16 +1,16 @@
1
- import { defineComponent as _, useSlots as j, ref as y, onMounted as E, computed as M, unref as r, cloneVNode as O, createBlock as b, openBlock as v, mergeProps as $, createSlots as q, withCtx as i, resolveDynamicComponent as K, renderList as Q, createElementVNode as U, normalizeClass as Y, createVNode as f, normalizeStyle as G, renderSlot as H, normalizeProps as J, guardReactiveProps as W } from "vue";
2
- import { Form as X, Tooltip as Z, TypographyText as ee } from "@aplus-frontend/antdv";
3
- import { useToken as oe } from "@aplus-frontend/antdv/es/theme/internal";
4
- import { isFunction as F, cloneDeep as te, isArray as re, omit as V } from "lodash-unified";
5
- import { apFormItemColPropKeys as le } from "../constant.mjs";
1
+ import { defineComponent as L, useSlots as _, ref as j, shallowRef as E, onMounted as M, computed as O, unref as r, cloneVNode as $, createBlock as y, openBlock as b, mergeProps as q, createSlots as K, withCtx as i, resolveDynamicComponent as Q, renderList as U, createElementVNode as Y, normalizeClass as G, createVNode as f, normalizeStyle as H, renderSlot as J, normalizeProps as W, guardReactiveProps as X } from "vue";
2
+ import { Form as Z, Tooltip as ee, TypographyText as oe } from "@aplus-frontend/antdv";
3
+ import { useToken as te } from "@aplus-frontend/antdv/es/theme/internal";
4
+ import { isFunction as v, cloneDeep as re, isArray as le, omit as F } from "lodash-unified";
5
+ import { apFormItemColPropKeys as ae } from "../constant.mjs";
6
6
  import { QuestionCircleOutlined as ne } from "@ant-design/icons-vue";
7
7
  import "../../config-provider/index.mjs";
8
- import { useInjectForm as ae } from "../context.mjs";
9
- import { getValidVNodeList as ie } from "../../utils/slot.mjs";
10
- import se from "../style/item.mjs";
11
- import { isPromise as ue } from "../../utils/is.mjs";
12
- import { useNamespace as de } from "../../config-provider/hooks/use-namespace.mjs";
13
- const Ce = /* @__PURE__ */ _({
8
+ import { useInjectForm as ie } from "../context.mjs";
9
+ import { getValidVNodeList as se } from "../../utils/slot.mjs";
10
+ import ue from "../style/item.mjs";
11
+ import { isPromise as de } from "../../utils/is.mjs";
12
+ import { useNamespace as fe } from "../../config-provider/hooks/use-namespace.mjs";
13
+ const ke = /* @__PURE__ */ L({
14
14
  name: "ApFormItem",
15
15
  __name: "index",
16
16
  props: {
@@ -57,111 +57,111 @@ const Ce = /* @__PURE__ */ _({
57
57
  customFilled: {},
58
58
  disabled: { type: Boolean }
59
59
  },
60
- setup(g, { expose: h }) {
61
- const o = g, m = j(), { model: p, updateModel: B, internalInstance: C } = ae(), { m: u, b: k } = de("ap-form-item"), P = se("ap-form-item"), d = y(!1), a = y(), [, x] = oe();
62
- E(async () => {
63
- let e = F(o.initialValue) ? o.initialValue() : o.initialValue;
64
- ue(e) && (e = await e), C?.registerField({
60
+ setup(V, { expose: h }) {
61
+ const o = V, m = _(), { model: p, updateModel: g, internalInstance: B } = ie(), { m: u, b: C } = fe("ap-form-item"), k = ue("ap-form-item"), d = j(!1), n = E(), [, P] = te();
62
+ M(async () => {
63
+ let e = v(o.initialValue) ? o.initialValue() : o.initialValue;
64
+ de(e) && (e = await e), B?.registerField({
65
65
  name: o.name,
66
- initialValue: te(e),
66
+ initialValue: re(e),
67
67
  transform: o.transform
68
68
  });
69
69
  });
70
- const c = M(() => o.name ? re(o.name) ? o.name.reduce((e, t) => e?.[t], r(p)) : p?.value[o.name] : null);
71
- function N(e, t) {
72
- const l = Object.keys(t), n = { ...t };
70
+ const c = O(() => o.name ? le(o.name) ? o.name.reduce((e, t) => e?.[t], r(p)) : p?.value[o.name] : null);
71
+ function x(e, t) {
72
+ const l = Object.keys(t), a = { ...t };
73
73
  return l.forEach((s) => {
74
- s in e || delete n[s];
75
- }), n;
74
+ s in e || delete a[s];
75
+ }), a;
76
76
  }
77
- function I() {
77
+ function N() {
78
78
  const e = m.default?.() || [];
79
79
  if (!o.name)
80
80
  return e[0];
81
- const t = ie(e)[0];
81
+ const t = se(e)[0];
82
82
  if (!t)
83
83
  return null;
84
- const l = t?.type?.props ?? {}, n = {
84
+ const l = t?.type?.props ?? {}, a = {
85
85
  variant: o.bordered ? "borderless" : t?.props?.variant,
86
86
  bordered: o.bordered ? !1 : t?.props?.bordered,
87
- onFocus: T,
88
- onBlur: w
87
+ onFocus: S,
88
+ onBlur: T
89
89
  };
90
- return O(t, {
91
- ...N(l, n),
90
+ return $(t, {
91
+ ...x(l, a),
92
92
  [o.valuePropName]: r(c),
93
- [`onUpdate:${o.valuePropName}`]: S
93
+ [`onUpdate:${o.valuePropName}`]: I
94
94
  });
95
95
  }
96
- function S(e) {
97
- B?.(o.name, e);
96
+ function I(e) {
97
+ g?.(o.name, e);
98
98
  }
99
- function T() {
99
+ function S() {
100
100
  d.value = !0;
101
101
  }
102
- function w() {
102
+ function T() {
103
103
  d.value = !1;
104
104
  }
105
- function z() {
106
- a.value?.onFieldBlur();
105
+ function w() {
106
+ n.value?.onFieldBlur();
107
107
  }
108
108
  function R() {
109
- a.value?.onFieldChange();
109
+ n.value?.onFieldChange();
110
110
  }
111
- function A() {
112
- a.value?.clearValidate();
111
+ function z() {
112
+ n.value?.clearValidate();
113
113
  }
114
- function D() {
115
- a.value?.resetField();
114
+ function A() {
115
+ n.value?.resetField();
116
116
  }
117
- function L(e = !1) {
117
+ function D(e = !1) {
118
118
  const t = r(c);
119
119
  if (!e || !o.transform)
120
120
  return t;
121
- const l = F(o.transform) ? o.transform : o.transform.transformer;
121
+ const l = v(o.transform) ? o.transform : o.transform.transformer;
122
122
  return o.transform ? l(t) : t;
123
123
  }
124
124
  return h({
125
- onFieldBlur: z,
125
+ onFieldBlur: w,
126
126
  onFieldChange: R,
127
- clearValidate: A,
128
- resetField: D,
129
- getFieldValue: L
130
- }), (e, t) => (v(), b(r(X).Item, $(
127
+ clearValidate: z,
128
+ resetField: A,
129
+ getFieldValue: D
130
+ }), (e, t) => (b(), y(r(Z).Item, q(
131
131
  {
132
132
  ref_key: "formItemRef",
133
- ref: a
133
+ ref: n
134
134
  },
135
- r(V)(o, [...r(le), "tooltip", "label", "description"]),
135
+ r(F)(o, [...r(ae), "tooltip", "label", "description"]),
136
136
  {
137
137
  class: {
138
138
  [r(u)("bordered")]: e.bordered,
139
139
  [r(u)("focused")]: e.bordered && d.value,
140
140
  [r(u)("disabled")]: e.bordered && e.disabled,
141
- [r(k)()]: !0,
142
- [r(P)]: !0
141
+ [r(C)()]: !0,
142
+ [r(k)]: !0
143
143
  },
144
144
  colon: e.bordered ? !1 : o.colon
145
145
  }
146
- ), q({
146
+ ), K({
147
147
  default: i(() => [
148
- (v(), b(K(I())))
148
+ (b(), y(Q(N())))
149
149
  ]),
150
150
  _: 2
151
151
  }, [
152
152
  o.tooltip ? {
153
153
  name: "tooltip",
154
154
  fn: i(({ class: l }) => [
155
- U("span", {
156
- class: Y(l)
155
+ Y("span", {
156
+ class: G(l)
157
157
  }, [
158
- f(r(Z), {
158
+ f(r(ee), {
159
159
  title: o.tooltip
160
160
  }, {
161
161
  default: i(() => [
162
162
  f(r(ne), {
163
- style: G({
164
- color: r(x).colorTextTertiary,
163
+ style: H({
164
+ color: r(P).colorTextTertiary,
165
165
  fontSize: "14px",
166
166
  transform: "translateY(1px)"
167
167
  })
@@ -176,7 +176,7 @@ const Ce = /* @__PURE__ */ _({
176
176
  e.label ? {
177
177
  name: "label",
178
178
  fn: i(() => [
179
- f(r(ee), {
179
+ f(r(oe), {
180
180
  content: e.label,
181
181
  ellipsis: { tooltip: e.label },
182
182
  style: { "min-width": "0px", flex: "1" }
@@ -184,15 +184,15 @@ const Ce = /* @__PURE__ */ _({
184
184
  ]),
185
185
  key: "1"
186
186
  } : void 0,
187
- Q(r(V)(m, "default"), (l, n) => ({
188
- name: n,
187
+ U(r(F)(m, "default"), (l, a) => ({
188
+ name: a,
189
189
  fn: i((s) => [
190
- H(e.$slots, n, J(W(s || {})))
190
+ J(e.$slots, a, W(X(s || {})))
191
191
  ])
192
192
  }))
193
193
  ]), 1040, ["class", "colon"]));
194
194
  }
195
195
  });
196
196
  export {
197
- Ce as default
197
+ ke as default
198
198
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as y, useSlots as B, ref as _, createBlock as g, openBlock as x, normalizeProps as t, guardReactiveProps as s, unref as l, createSlots as d, withCtx as n, createVNode as k, mergeProps as F, renderList as i, renderSlot as u } from "vue";
1
+ import { defineComponent as y, useSlots as B, shallowRef as _, createBlock as g, openBlock as x, normalizeProps as t, guardReactiveProps as s, unref as l, createSlots as d, withCtx as n, createVNode as k, mergeProps as F, renderList as i, renderSlot as u } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/number/index.vue2.mjs";
4
4
  import { omit as f, pick as N } from "lodash-unified";
@@ -55,26 +55,26 @@ const T = /* @__PURE__ */ y({
55
55
  placeholder: {}
56
56
  },
57
57
  setup(c, { expose: b }) {
58
- const h = c, p = B(), r = _();
58
+ const h = c, p = B(), a = _();
59
59
  return b({
60
60
  focus: () => {
61
- r.value?.focus();
61
+ a.value?.focus();
62
62
  },
63
63
  blur: () => {
64
- r.value?.blur();
64
+ a.value?.blur();
65
65
  }
66
- }), (e, R) => (x(), g(S, t(s(l(f)(h, ["field", "placeholder"]))), d({
66
+ }), (e, $) => (x(), g(S, t(s(l(f)(h, ["field", "placeholder"]))), d({
67
67
  default: n(() => [
68
68
  k(C, F({
69
69
  ref_key: "inputNumberRef",
70
- ref: r,
70
+ ref: a,
71
71
  placeholder: e.placeholder,
72
72
  disabled: e.disabled
73
73
  }, e.field), d({ _: 2 }, [
74
74
  i(l(f)(p, l(m)), (v, o) => ({
75
75
  name: o,
76
- fn: n((a) => [
77
- u(e.$slots, o, t(s(a || {})))
76
+ fn: n((r) => [
77
+ u(e.$slots, o, t(s(r || {})))
78
78
  ])
79
79
  }))
80
80
  ]), 1040, ["placeholder", "disabled"])
@@ -83,8 +83,8 @@ const T = /* @__PURE__ */ y({
83
83
  }, [
84
84
  i(l(N)(p, l(m)), (v, o) => ({
85
85
  name: o,
86
- fn: n((a) => [
87
- u(e.$slots, o, t(s(a || {})))
86
+ fn: n((r) => [
87
+ u(e.$slots, o, t(s(r || {})))
88
88
  ])
89
89
  }))
90
90
  ]), 1040));
@@ -1,4 +1,4 @@
1
- import { defineComponent as u, useSlots as m, ref as c, createBlock as b, openBlock as v, normalizeProps as a, guardReactiveProps as t, unref as r, createSlots as _, withCtx as s, createVNode as y, mergeProps as B, renderList as x, renderSlot as g } from "vue";
1
+ import { defineComponent as u, useSlots as m, shallowRef as c, createBlock as b, openBlock as v, normalizeProps as a, guardReactiveProps as t, unref as r, createSlots as _, withCtx as s, createVNode as y, mergeProps as B, renderList as x, renderSlot as g } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/index.mjs";
4
4
  import { omit as h } from "lodash-unified";
@@ -60,7 +60,7 @@ const q = /* @__PURE__ */ u({
60
60
  blur: () => {
61
61
  e.value?.blur();
62
62
  }
63
- }), (o, P) => (v(), b(k, a(t(r(h)(d, ["field"]))), _({
63
+ }), (o, S) => (v(), b(k, a(t(r(h)(d, ["field"]))), _({
64
64
  default: s(() => [
65
65
  y(r(C), B({
66
66
  ref_key: "radioRef",
@@ -70,7 +70,7 @@ const q = /* @__PURE__ */ u({
70
70
  ]),
71
71
  _: 2
72
72
  }, [
73
- x(p, (R, l) => ({
73
+ x(p, (P, l) => ({
74
74
  name: l,
75
75
  fn: s((f) => [
76
76
  g(o.$slots, l, a(t(f || {})))
@@ -1,10 +1,10 @@
1
- import { defineComponent as y, useSlots as B, ref as x, computed as g, createBlock as S, openBlock as F, normalizeProps as a, guardReactiveProps as s, unref as o, createSlots as p, withCtx as d, createVNode as k, mergeProps as C, renderList as u, renderSlot as f } from "vue";
1
+ import { defineComponent as y, useSlots as B, shallowRef as x, computed as g, createBlock as S, openBlock as F, normalizeProps as a, guardReactiveProps as s, unref as o, createSlots as p, withCtx as d, createVNode as k, mergeProps as C, renderList as u, renderSlot as f } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/index.mjs";
4
4
  import { isUndefined as P, omit as c, pick as q } from "lodash-unified";
5
5
  import { apFormItemSlotNames as m } from "../../constant.mjs";
6
- import $ from "../../item/index.vue.mjs";
7
- import N from "../../../ap-field/select/index.vue.mjs";
6
+ import R from "../../item/index.vue.mjs";
7
+ import $ from "../../../ap-field/select/index.vue.mjs";
8
8
  const E = /* @__PURE__ */ y({
9
9
  name: "ApFormItemSelect",
10
10
  __name: "index",
@@ -71,9 +71,9 @@ const E = /* @__PURE__ */ y({
71
71
  request: () => {
72
72
  r.value?.request();
73
73
  }
74
- }), (i, A) => (F(), S($, a(s(o(c)(e, ["field", "placeholder"]))), p({
74
+ }), (i, A) => (F(), S(R, a(s(o(c)(e, ["field", "placeholder"]))), p({
75
75
  default: d(() => [
76
- k(o(N), C(v.value, {
76
+ k(o($), C(v.value, {
77
77
  ref_key: "selectRef",
78
78
  ref: r
79
79
  }), p({ _: 2 }, [
@@ -140,7 +140,7 @@ declare function __VLS_template(): {
140
140
  allowClear: boolean;
141
141
  }> & Omit<Readonly< ApFieldTextProps> & Readonly<{
142
142
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
143
- }>, "blur" | "focus" | "input" | "select" | ("type" | "mode" | "disabled" | "bordered" | "emptyText" | "lazy" | "allowClear") | "setSelectionRange"> & ShallowUnwrapRef<{
143
+ }>, "blur" | "focus" | "input" | "select" | "setSelectionRange" | ("type" | "mode" | "disabled" | "bordered" | "emptyText" | "lazy" | "allowClear")> & ShallowUnwrapRef<{
144
144
  focus: (options?: InputFocusOptions) => void;
145
145
  blur: () => void;
146
146
  input: any;
@@ -297,7 +297,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
297
297
  allowClear: boolean;
298
298
  }> & Omit<Readonly< ApFieldTextProps> & Readonly<{
299
299
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
300
- }>, "blur" | "focus" | "input" | "select" | ("type" | "mode" | "disabled" | "bordered" | "emptyText" | "lazy" | "allowClear") | "setSelectionRange"> & ShallowUnwrapRef<{
300
+ }>, "blur" | "focus" | "input" | "select" | "setSelectionRange" | ("type" | "mode" | "disabled" | "bordered" | "emptyText" | "lazy" | "allowClear")> & ShallowUnwrapRef<{
301
301
  focus: (options?: InputFocusOptions) => void;
302
302
  blur: () => void;
303
303
  input: any;
@@ -1,9 +1,9 @@
1
- import { defineComponent as B, useSlots as x, ref as S, computed as _, createBlock as F, openBlock as k, normalizeProps as s, guardReactiveProps as n, unref as l, createSlots as u, withCtx as p, createVNode as R, mergeProps as C, renderList as f, renderSlot as c } from "vue";
1
+ import { defineComponent as B, useSlots as x, shallowRef as S, computed as _, createBlock as F, openBlock as R, normalizeProps as s, guardReactiveProps as n, unref as l, createSlots as u, withCtx as p, createVNode as k, mergeProps as C, renderList as f, renderSlot as c } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import { ApField as P } from "../../../ap-field/index.mjs";
4
- import { omit as m, pick as A } from "lodash-unified";
4
+ import { omit as m, pick as w } from "lodash-unified";
5
5
  import { apFormItemSlotNames as v } from "../../constant.mjs";
6
- import N from "../../item/index.vue.mjs";
6
+ import A from "../../item/index.vue.mjs";
7
7
  const E = /* @__PURE__ */ B({
8
8
  name: "ApFormItemText",
9
9
  __name: "index",
@@ -69,9 +69,9 @@ const E = /* @__PURE__ */ B({
69
69
  o.value?.select();
70
70
  },
71
71
  input: _(() => o.value?.input)
72
- }), (e, d) => (k(), F(N, s(n(l(m)(y, ["field", "placeholder"]))), u({
72
+ }), (e, d) => (R(), F(A, s(n(l(m)(y, ["field", "placeholder"]))), u({
73
73
  default: p(() => [
74
- R(l(g), C({
74
+ k(l(g), C({
75
75
  ref_key: "inputRef",
76
76
  ref: o,
77
77
  disabled: e.disabled,
@@ -87,7 +87,7 @@ const E = /* @__PURE__ */ B({
87
87
  ]),
88
88
  _: 2
89
89
  }, [
90
- f(l(A)(i, l(v)), (a, t) => ({
90
+ f(l(w)(i, l(v)), (a, t) => ({
91
91
  name: t,
92
92
  fn: p((r) => [
93
93
  c(e.$slots, t, s(n(r || {})))
@@ -1,7 +1,7 @@
1
- import { defineComponent as B, useSlots as _, ref as g, createBlock as x, openBlock as F, normalizeProps as t, guardReactiveProps as s, unref as e, createSlots as n, withCtx as d, createVNode as k, mergeProps as P, renderList as i, renderSlot as f } from "vue";
1
+ import { defineComponent as B, useSlots as _, shallowRef as g, createBlock as x, openBlock as F, normalizeProps as t, guardReactiveProps as s, unref as e, createSlots as n, withCtx as d, createVNode as k, mergeProps as w, renderList as i, renderSlot as f } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
- import { ApField as S } from "../../../ap-field/index.mjs";
4
- import { omit as u, pick as w } from "lodash-unified";
3
+ import { ApField as P } from "../../../ap-field/index.mjs";
4
+ import { omit as u, pick as S } from "lodash-unified";
5
5
  import { apFormItemSlotNames as m } from "../../constant.mjs";
6
6
  import C from "../../item/index.vue.mjs";
7
7
  const z = /* @__PURE__ */ B({
@@ -54,7 +54,7 @@ const z = /* @__PURE__ */ B({
54
54
  placeholder: {}
55
55
  },
56
56
  setup(c, { expose: b }) {
57
- const { Text: h } = S, p = _(), v = c, a = g();
57
+ const { Text: h } = P, p = _(), v = c, a = g();
58
58
  return b({
59
59
  focus: () => {
60
60
  a.value?.focus();
@@ -62,9 +62,9 @@ const z = /* @__PURE__ */ B({
62
62
  blur: () => {
63
63
  a.value?.blur();
64
64
  }
65
- }), (o, R) => (F(), x(C, t(s(e(u)(v, ["field", "disabled", "placeholder"]))), n({
65
+ }), (o, N) => (F(), x(C, t(s(e(u)(v, ["field", "disabled", "placeholder"]))), n({
66
66
  default: d(() => [
67
- k(e(h).Password, P({
67
+ k(e(h).Password, w({
68
68
  ref_key: "inputRef",
69
69
  ref: a,
70
70
  disabled: o.disabled,
@@ -80,7 +80,7 @@ const z = /* @__PURE__ */ B({
80
80
  ]),
81
81
  _: 2
82
82
  }, [
83
- i(e(w)(p, e(m)), (y, l) => ({
83
+ i(e(S)(p, e(m)), (y, l) => ({
84
84
  name: l,
85
85
  fn: d((r) => [
86
86
  f(o.$slots, l, t(s(r || {})))
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, useSlots as c, ref as b, computed as x, createBlock as h, openBlock as v, normalizeProps as a, guardReactiveProps as r, unref as t, createSlots as y, withCtx as s, createVNode as B, mergeProps as A, renderList as g, renderSlot as _ } from "vue";
1
+ import { defineComponent as m, useSlots as c, shallowRef as b, computed as x, createBlock as h, openBlock as v, normalizeProps as a, guardReactiveProps as t, unref as r, createSlots as y, withCtx as s, createVNode as B, mergeProps as A, renderList as g, renderSlot as _ } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import { ApField as F } from "../../../ap-field/index.mjs";
4
4
  import { omit as k } from "lodash-unified";
@@ -61,9 +61,9 @@ const $ = /* @__PURE__ */ m({
61
61
  l.value?.blur();
62
62
  },
63
63
  resizableTextArea: x(() => l.value?.resizableTextArea)
64
- }), (e, P) => (v(), h(C, a(r(t(k)(u, ["field", "placeholder"]))), y({
64
+ }), (e, P) => (v(), h(C, a(t(r(k)(u, ["field", "placeholder"]))), y({
65
65
  default: s(() => [
66
- B(t(n), A({
66
+ B(r(n), A({
67
67
  ref_key: "textAreaRef",
68
68
  ref: l,
69
69
  disabled: e.disabled,
@@ -72,10 +72,10 @@ const $ = /* @__PURE__ */ m({
72
72
  ]),
73
73
  _: 2
74
74
  }, [
75
- g(p, (z, o) => ({
75
+ g(p, (R, o) => ({
76
76
  name: o,
77
77
  fn: s((f) => [
78
- _(e.$slots, o, a(r(f || {})))
78
+ _(e.$slots, o, a(t(f || {})))
79
79
  ])
80
80
  }))
81
81
  ]), 1040));
@@ -1,10 +1,10 @@
1
- import { defineComponent as B, useSlots as x, ref as S, computed as g, createBlock as F, openBlock as k, normalizeProps as s, guardReactiveProps as d, unref as o, createSlots as u, withCtx as n, createVNode as C, mergeProps as P, renderList as f, renderSlot as c } from "vue";
1
+ import { defineComponent as B, useSlots as x, shallowRef as S, computed as g, createBlock as F, openBlock as k, normalizeProps as s, guardReactiveProps as d, unref as o, createSlots as u, withCtx as n, createVNode as C, mergeProps as P, renderList as f, renderSlot as c } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/index.mjs";
4
- import { isUndefined as q, omit as m, pick as $ } from "lodash-unified";
4
+ import { isUndefined as q, omit as m, pick as R } from "lodash-unified";
5
5
  import { apFormItemSlotNames as b } from "../../constant.mjs";
6
- import N from "../../item/index.vue.mjs";
7
- import R from "../../../ap-field/tree-select/index.vue.mjs";
6
+ import $ from "../../item/index.vue.mjs";
7
+ import w from "../../../ap-field/tree-select/index.vue.mjs";
8
8
  const E = /* @__PURE__ */ B({
9
9
  name: "ApFormItemTreeSelect",
10
10
  __name: "index",
@@ -71,9 +71,9 @@ const E = /* @__PURE__ */ B({
71
71
  request: (t, p) => {
72
72
  r.value?.request(t, p);
73
73
  }
74
- }), (t, p) => (k(), F(N, s(d(o(m)(e, ["field", "placeholder"]))), u({
74
+ }), (t, p) => (k(), F($, s(d(o(m)(e, ["field", "placeholder"]))), u({
75
75
  default: n(() => [
76
- C(o(R), P(h.value, {
76
+ C(o(w), P(h.value, {
77
77
  ref_key: "treeSelectRef",
78
78
  ref: r
79
79
  }), u({ _: 2 }, [
@@ -87,7 +87,7 @@ const E = /* @__PURE__ */ B({
87
87
  ]),
88
88
  _: 2
89
89
  }, [
90
- f(o($)(i, o(b)), (y, l) => ({
90
+ f(o(R)(i, o(b)), (y, l) => ({
91
91
  name: l,
92
92
  fn: n((a) => [
93
93
  c(t.$slots, l, s(d(a || {})))