@aplus-frontend/ui 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/es/src/ap-field/number/index.vue.d.ts +322 -1
  2. package/es/src/ap-field/radio/index.vue.d.ts +98 -2
  3. package/es/src/ap-field/rate/index.vue.d.ts +82 -1
  4. package/es/src/ap-field/segmented/index.vue.d.ts +1 -7
  5. package/es/src/ap-field/select/index.vue.d.ts +423 -1
  6. package/es/src/ap-field/select/index.vue.mjs +4 -3
  7. package/es/src/ap-field/slider/index.vue.d.ts +257 -1
  8. package/es/src/ap-field/text/index.vue.d.ts +1 -13
  9. package/es/src/ap-field/text-area/index.vue.d.ts +267 -2
  10. package/es/src/ap-form/ap-form.vue.d.ts +636 -1
  11. package/es/src/ap-form/drawer-form/index.vue.d.ts +1454 -4
  12. package/es/src/ap-form/item/index.vue.d.ts +777 -1
  13. package/es/src/ap-form/items/number/index.vue.d.ts +783 -2
  14. package/es/src/ap-form/items/radio/index.vue.d.ts +221 -3
  15. package/es/src/ap-form/items/text/index.vue.d.ts +128 -15
  16. package/es/src/ap-form/items/text/password.vue.d.ts +148 -1
  17. package/es/src/ap-form/items/text-area/index.vue.d.ts +566 -3
  18. package/es/src/ap-form/modal-form/index.vue.d.ts +1454 -5
  19. package/es/src/ap-form/modal-form/index.vue.mjs +77 -75
  20. package/es/src/ap-form/search-form/index.vue.d.ts +1454 -3
  21. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +4 -1
  22. package/es/src/ap-list/index.vue.d.ts +1 -1
  23. package/es/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -1
  24. package/es/src/ap-scroll-bar/index.d.ts +3 -1
  25. package/es/src/ap-table/ap-table.vue.d.ts +1 -1
  26. package/es/src/ap-table/ap-table.vue2.mjs +98 -97
  27. package/es/src/ap-table/constants.d.ts +2260 -26
  28. package/es/src/ap-table/context.d.ts +1 -0
  29. package/es/src/ap-table/context.mjs +11 -10
  30. package/es/src/ap-table/utils.d.ts +1168 -8
  31. package/es/src/ap-tag/ap-tag-group.vue.d.ts +3 -1
  32. package/es/src/ap-upload/apUpload.vue.d.ts +3 -1
  33. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +453 -2
  34. package/es/src/ap-upload/components/Picture.vue.d.ts +3 -1
  35. package/es/src/ap-upload/components/SingleFile.vue.d.ts +3 -1
  36. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +1 -1
  37. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +66 -61
  38. package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -1
  39. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -4
  40. package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +3 -1
  41. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +8 -7
  42. package/es/src/business/ap-group-search/index.d.ts +444 -4
  43. package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +421 -3
  44. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +1 -0
  45. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +1 -1
  46. package/es/src/business/ap-table-modal/index.d.ts +22 -2
  47. package/es/src/business/ap-table-modal/interface.d.ts +2 -2
  48. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +22 -2
  49. package/es/src/business/batch-input-group/index.vue.d.ts +134 -3
  50. package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +267 -2
  51. package/es/src/business/hooks/usePageListApTable.d.ts +2 -2
  52. package/es/src/business/hooks/usePageListApTable.mjs +35 -33
  53. package/es/src/editable-table/form-item.vue.d.ts +1 -1
  54. package/es/src/editable-table/index.vue.d.ts +1 -1
  55. package/es/src/work-order-modal/work-order-modal.vue.d.ts +827 -2
  56. package/lib/src/ap-field/number/index.vue.d.ts +322 -1
  57. package/lib/src/ap-field/radio/index.vue.d.ts +98 -2
  58. package/lib/src/ap-field/rate/index.vue.d.ts +82 -1
  59. package/lib/src/ap-field/segmented/index.vue.d.ts +1 -7
  60. package/lib/src/ap-field/select/index.vue.d.ts +423 -1
  61. package/lib/src/ap-field/select/index.vue.js +1 -1
  62. package/lib/src/ap-field/slider/index.vue.d.ts +257 -1
  63. package/lib/src/ap-field/text/index.vue.d.ts +1 -13
  64. package/lib/src/ap-field/text-area/index.vue.d.ts +267 -2
  65. package/lib/src/ap-form/ap-form.vue.d.ts +636 -1
  66. package/lib/src/ap-form/drawer-form/index.vue.d.ts +1454 -4
  67. package/lib/src/ap-form/item/index.vue.d.ts +777 -1
  68. package/lib/src/ap-form/items/number/index.vue.d.ts +783 -2
  69. package/lib/src/ap-form/items/radio/index.vue.d.ts +221 -3
  70. package/lib/src/ap-form/items/text/index.vue.d.ts +128 -15
  71. package/lib/src/ap-form/items/text/password.vue.d.ts +148 -1
  72. package/lib/src/ap-form/items/text-area/index.vue.d.ts +566 -3
  73. package/lib/src/ap-form/modal-form/index.vue.d.ts +1454 -5
  74. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  75. package/lib/src/ap-form/search-form/index.vue.d.ts +1454 -3
  76. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +4 -1
  77. package/lib/src/ap-list/index.vue.d.ts +1 -1
  78. package/lib/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -1
  79. package/lib/src/ap-scroll-bar/index.d.ts +3 -1
  80. package/lib/src/ap-table/ap-table.vue.d.ts +1 -1
  81. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  82. package/lib/src/ap-table/constants.d.ts +2260 -26
  83. package/lib/src/ap-table/context.d.ts +1 -0
  84. package/lib/src/ap-table/context.js +1 -1
  85. package/lib/src/ap-table/utils.d.ts +1168 -8
  86. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +3 -1
  87. package/lib/src/ap-upload/apUpload.vue.d.ts +3 -1
  88. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +453 -2
  89. package/lib/src/ap-upload/components/Picture.vue.d.ts +3 -1
  90. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +3 -1
  91. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +1 -1
  92. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  93. package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -1
  94. package/lib/src/business/ap-group-search/ap-group-search.vue2.js +1 -1
  95. package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +3 -1
  96. package/lib/src/business/ap-group-search/extension-select/index.vue2.js +1 -1
  97. package/lib/src/business/ap-group-search/index.d.ts +444 -4
  98. package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +421 -3
  99. package/lib/src/business/ap-group-search/popover-select/index.vue2.js +1 -1
  100. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +1 -1
  101. package/lib/src/business/ap-table-modal/index.d.ts +22 -2
  102. package/lib/src/business/ap-table-modal/interface.d.ts +2 -2
  103. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +22 -2
  104. package/lib/src/business/batch-input-group/index.vue.d.ts +134 -3
  105. package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +267 -2
  106. package/lib/src/business/hooks/usePageListApTable.d.ts +2 -2
  107. package/lib/src/business/hooks/usePageListApTable.js +1 -1
  108. package/lib/src/editable-table/form-item.vue.d.ts +1 -1
  109. package/lib/src/editable-table/index.vue.d.ts +1 -1
  110. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +827 -2
  111. package/package.json +5 -5
  112. package/theme/ap-form/index.css +3 -4
  113. package/theme/ap-form/modal-form.css +3 -4
  114. package/theme/ap-form/modal-form.less +3 -4
  115. package/theme/ap-table/ap-table.css +3 -4
  116. package/theme/ap-table-modal/index.css +3 -4
  117. package/theme/editable-table/index.css +3 -4
  118. package/theme/index.css +3 -4
@@ -1,16 +1,16 @@
1
- import { defineComponent as T, computed as r, ref as j, openBlock as y, createBlock as x, unref as a, normalizeClass as I, withCtx as s, createVNode as v, createTextVNode as g, toDisplayString as b, mergeProps as N, createCommentVNode as O } from "vue";
2
- import { DownOutlined as V } from "@ant-design/icons-vue";
3
- import { message as q, Dropdown as z, Menu as $, MenuItem as k, Button as H } from "@aplus-frontend/antdv";
1
+ import { defineComponent as j, computed as s, ref as I, openBlock as v, createBlock as x, unref as a, normalizeClass as N, withCtx as r, createVNode as g, createTextVNode as b, toDisplayString as p, mergeProps as O, createCommentVNode as V } from "vue";
2
+ import { DownOutlined as q } from "@ant-design/icons-vue";
3
+ import { message as z, Dropdown as $, Menu as H, MenuItem as C, Button as J } from "@aplus-frontend/antdv";
4
4
  import "../../config-provider/index.mjs";
5
- import { ApExportGroupActionType as c } from "./interface.mjs";
6
- import { usePermission as J } from "@aplus-frontend/hooks";
7
- import { handleExportDownload as Q } from "./handleExportDownload.mjs";
8
- import { useInjectApTable as U } from "../../ap-table/context.mjs";
9
- import { convertExportField as W } from "./convertExportField.mjs";
10
- import { useNamespace as X } from "../../config-provider/hooks/use-namespace.mjs";
11
- import { useLocale as Y } from "../../config-provider/hooks/use-locale.mjs";
12
- import { useGlobalConfig as C } from "../../config-provider/hooks/use-global-config.mjs";
13
- const de = /* @__PURE__ */ T({
5
+ import { ApExportGroupActionType as f } from "./interface.mjs";
6
+ import { usePermission as Q } from "@aplus-frontend/hooks";
7
+ import { handleExportDownload as U } from "./handleExportDownload.mjs";
8
+ import { useInjectApTable as W } from "../../ap-table/context.mjs";
9
+ import { convertExportField as X } from "./convertExportField.mjs";
10
+ import { useNamespace as Y } from "../../config-provider/hooks/use-namespace.mjs";
11
+ import { useLocale as Z } from "../../config-provider/hooks/use-locale.mjs";
12
+ import { useGlobalConfig as _ } from "../../config-provider/hooks/use-global-config.mjs";
13
+ const fe = /* @__PURE__ */ j({
14
14
  __name: "ApExportGroup",
15
15
  props: {
16
16
  selectedRowKeys: {},
@@ -26,79 +26,84 @@ const de = /* @__PURE__ */ T({
26
26
  successMessage: { type: [Boolean, String], default: !1 },
27
27
  exportField: { type: [Boolean, Object], default: void 0 }
28
28
  },
29
- setup(S) {
30
- const { hasPermission: _ } = J(), e = S, { columns: n } = U(), { b: L } = X("ap-export-group"), { t: u } = Y(), A = C("uiMode"), p = C("exportField"), B = r(() => {
29
+ setup(L) {
30
+ const { hasPermission: S } = Q(), e = L, { columns: n, dataSource: u } = W(), { b: A } = Y("ap-export-group"), { t: i } = Z(), B = _("uiMode"), w = _("exportField"), G = s(() => {
31
31
  const t = {
32
32
  aplus: "#0070FF",
33
33
  admin: "#34b77c"
34
34
  };
35
- return w.value ? "" : t[A.value] || t.aplus;
36
- }), w = r(() => !!(e != null && e.disabled)), G = r(() => (e == null ? void 0 : e.successMessage) === !0 ? u("ap.apExportGroup.exportSuccess") : e != null && e.successMessage ? e.successMessage : ""), d = r(() => {
37
- const t = "exportFieldList", o = (e == null ? void 0 : e.exportField) ?? (p.value === "" ? !0 : p.value) ?? !1;
35
+ return h.value ? "" : t[B.value] || t.aplus;
36
+ }), h = s(
37
+ () => {
38
+ var t;
39
+ return !!(e != null && e.disabled) || (u !== void 0 ? !((t = u == null ? void 0 : u.value) != null && t.length) : !1) || c.value;
40
+ }
41
+ ), P = s(() => (e == null ? void 0 : e.successMessage) === !0 ? i("ap.apExportGroup.exportSuccess") : e != null && e.successMessage ? e.successMessage : ""), m = s(() => {
42
+ const t = "exportFieldList", o = (e == null ? void 0 : e.exportField) ?? (w.value === "" ? !0 : w.value) ?? !1;
38
43
  return o === !0 ? {
39
44
  key: t
40
45
  } : typeof o == "object" ? {
41
46
  ...o,
42
47
  key: o.key ?? t
43
48
  } : o;
44
- }), P = {
49
+ }), K = {
45
50
  textAlign: "center"
46
- }, f = j(!1), h = r(() => (e == null ? void 0 : e.selectedRowKeys) || []), K = r(() => {
51
+ }, c = I(!1), E = s(() => (e == null ? void 0 : e.selectedRowKeys) || []), D = s(() => {
47
52
  let t = e == null ? void 0 : e.ifShow;
48
- return !(e != null && e.ifShow) && (e != null && e.auth) && (t = () => _(e.auth)), (t == null ? void 0 : t()) ?? !0;
53
+ return !(e != null && e.ifShow) && (e != null && e.auth) && (t = () => S(e.auth)), (t == null ? void 0 : t()) ?? !0;
49
54
  });
50
- async function D({ key: t }) {
51
- var E, F, M;
55
+ async function R({ key: t }) {
56
+ var F, M, k;
52
57
  const { getRequestParams: o, request: l } = e || {};
53
- let m = {};
54
- t === c.SELECT ? m = {
55
- [(e == null ? void 0 : e.idKey) || "ids"]: h.value
56
- } : t === c.ALL && (m = (o == null ? void 0 : o()) || {});
57
- const R = ((E = e == null ? void 0 : e.getInitialParams) == null ? void 0 : E.call(e)) || {};
58
+ let y = {};
59
+ t === f.SELECT ? y = {
60
+ [(e == null ? void 0 : e.idKey) || "ids"]: E.value
61
+ } : t === f.ALL && (y = (o == null ? void 0 : o()) || {});
62
+ const T = ((F = e == null ? void 0 : e.getInitialParams) == null ? void 0 : F.call(e)) || {};
58
63
  try {
59
- f.value = !0;
60
- let i = Object.assign(
64
+ c.value = !0;
65
+ let d = Object.assign(
61
66
  {
62
- ...m,
63
- ...R
67
+ ...y,
68
+ ...T
64
69
  },
65
- d.value && (n != null && n.value) ? {
66
- [d.value.key]: W(
70
+ m.value && (n != null && n.value) ? {
71
+ [m.value.key]: X(
67
72
  n.value,
68
- (F = d.value) == null ? void 0 : F.convertField
73
+ (M = m.value) == null ? void 0 : M.convertField
69
74
  )
70
75
  } : {}
71
76
  );
72
- i = ((M = e == null ? void 0 : e.beforeRequest) == null ? void 0 : M.call(e, i)) || i, await Q(async () => await (l == null ? void 0 : l(i))), e != null && e.successMessage && q.success(G.value);
77
+ d = ((k = e == null ? void 0 : e.beforeRequest) == null ? void 0 : k.call(e, d)) || d, await U(async () => await (l == null ? void 0 : l(d))), e != null && e.successMessage && z.success(P.value);
73
78
  } finally {
74
- f.value = !1;
79
+ c.value = !1;
75
80
  }
76
81
  }
77
- return (t, o) => K.value ? (y(), x(a(z), {
82
+ return (t, o) => D.value ? (v(), x(a($), {
78
83
  key: 0,
79
- class: I([a(L)()]),
80
- "overlay-style": P,
81
- disabled: w.value
84
+ class: N([a(A)()]),
85
+ "overlay-style": K,
86
+ disabled: h.value
82
87
  }, {
83
- overlay: s(() => [
84
- v(a($), { onClick: D }, {
85
- default: s(() => {
88
+ overlay: r(() => [
89
+ g(a(H), { onClick: R }, {
90
+ default: r(() => {
86
91
  var l;
87
92
  return [
88
- (y(), x(a(k), {
89
- key: a(c).SELECT,
90
- disabled: ((l = h.value) == null ? void 0 : l.length) === 0
93
+ (v(), x(a(C), {
94
+ key: a(f).SELECT,
95
+ disabled: ((l = E.value) == null ? void 0 : l.length) === 0
91
96
  }, {
92
- default: s(() => [
93
- g(b(a(u)("ap.apExportGroup.exportSelected")), 1)
97
+ default: r(() => [
98
+ b(p(a(i)("ap.apExportGroup.exportSelected")), 1)
94
99
  ]),
95
100
  _: 1
96
101
  }, 8, ["disabled"])),
97
- (y(), x(a(k), {
98
- key: a(c).ALL
102
+ (v(), x(a(C), {
103
+ key: a(f).ALL
99
104
  }, {
100
- default: s(() => [
101
- g(b(a(u)("ap.apExportGroup.exportAll")), 1)
105
+ default: r(() => [
106
+ b(p(a(i)("ap.apExportGroup.exportAll")), 1)
102
107
  ]),
103
108
  _: 1
104
109
  }))
@@ -107,26 +112,26 @@ const de = /* @__PURE__ */ T({
107
112
  _: 1
108
113
  })
109
114
  ]),
110
- default: s(() => [
111
- v(a(H), N({
115
+ default: r(() => [
116
+ g(a(J), O({
112
117
  ...t.$attrs
113
118
  }, {
114
119
  style: {
115
- color: B.value
120
+ color: G.value
116
121
  },
117
- loading: f.value
122
+ loading: c.value
118
123
  }), {
119
- default: s(() => [
120
- g(b((e == null ? void 0 : e.text) ?? a(u)("ap.apExportGroup.export")) + " ", 1),
121
- v(a(V))
124
+ default: r(() => [
125
+ b(p((e == null ? void 0 : e.text) ?? a(i)("ap.apExportGroup.export")) + " ", 1),
126
+ g(a(q))
122
127
  ]),
123
128
  _: 1
124
129
  }, 16, ["style", "loading"])
125
130
  ]),
126
131
  _: 1
127
- }, 8, ["class", "disabled"])) : O("", !0);
132
+ }, 8, ["class", "disabled"])) : V("", !0);
128
133
  }
129
134
  });
130
135
  export {
131
- de as default
136
+ fe as default
132
137
  };
@@ -23,7 +23,9 @@ declare const __VLS_component: DefineComponent<GroupSearchProps, {}, {}, {}, {},
23
23
  }>, {
24
24
  dropdownMatchSelectWidth: number | boolean;
25
25
  hasAll: boolean;
26
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
26
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
27
+ containerRef: HTMLDivElement;
28
+ }, HTMLDivElement>;
27
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
30
  export default _default;
29
31
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -26,6 +26,7 @@ const m = "GROUP_SEARCH_ALL", ne = /* @__PURE__ */ P({
26
26
  placement: {},
27
27
  status: {},
28
28
  "onUpdate:value": {},
29
+ onBeforeSelect: {},
29
30
  children: {},
30
31
  listHeight: {},
31
32
  onMouseenter: {},
@@ -90,11 +91,11 @@ const m = "GROUP_SEARCH_ALL", ne = /* @__PURE__ */ P({
90
91
  style: {}
91
92
  },
92
93
  emits: ["update:value"],
93
- setup(S, { emit: _ }) {
94
- const { t: h } = H(), f = U("uiMode", "aplus"), y = M(), l = S, B = c(() => ({
94
+ setup(S, { emit: B }) {
95
+ const { t: h } = H(), f = U("uiMode", "aplus"), y = M(), l = S, _ = c(() => ({
95
96
  width: "auto",
96
97
  ...l.style
97
- })), b = _, { value: a, updateValue: u } = z(l, b), A = (e) => {
98
+ })), b = B, { value: a, updateValue: u } = z(l, b), A = (e) => {
98
99
  let o = e;
99
100
  e === m ? o = l.options.map((n) => n.value) : o = toString.call(o) === "[object Array]" ? e : [e], u({
100
101
  ...a.value,
@@ -153,7 +154,7 @@ const m = "GROUP_SEARCH_ALL", ne = /* @__PURE__ */ P({
153
154
  return [
154
155
  p(t(E), {
155
156
  value: V.value,
156
- style: O(B.value),
157
+ style: O(_.value),
157
158
  class: d(`${e.$attrs.class} ${t(f) === "admin" ? t(L)("search", "admin") : t(g)("search")}`),
158
159
  options: k.value,
159
160
  bordered: !1,
@@ -8,5 +8,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
8
8
  change: (value: SelectValue) => any;
9
9
  }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
10
10
  onChange?: ((value: SelectValue) => any) | undefined;
11
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
11
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
12
+ containerRef: HTMLDivElement;
13
+ }, HTMLDivElement>;
12
14
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as y, ref as t, computed as C, watch as w, openBlock as B, createElementBlock as _, createVNode as s, unref as l, normalizeClass as x, normalizeStyle as b, withCtx as S } from "vue";
1
+ import { defineComponent as y, ref as a, computed as C, watch as w, openBlock as B, createElementBlock as _, createVNode as s, unref as l, normalizeClass as x, normalizeStyle as S, withCtx as b } from "vue";
2
2
  import { Select as I } from "@aplus-frontend/antdv";
3
3
  import "../popover-select/index.vue.mjs";
4
4
  import "../../../config-provider/index.mjs";
@@ -21,6 +21,7 @@ const O = /* @__PURE__ */ y({
21
21
  placement: {},
22
22
  status: {},
23
23
  "onUpdate:value": {},
24
+ onBeforeSelect: {},
24
25
  children: {},
25
26
  listHeight: {},
26
27
  onMouseenter: {},
@@ -85,8 +86,8 @@ const O = /* @__PURE__ */ y({
85
86
  },
86
87
  emits: ["change"],
87
88
  setup(u, { emit: c }) {
88
- const d = R("uiMode", "aplus"), o = u, r = t(), n = t(), a = t(!1), m = C(() => o.__parentRef || r.value), f = c, h = (e) => {
89
- e && (a.value = !1);
89
+ const d = R("uiMode", "aplus"), o = u, r = a(), n = a(), t = a(!1), m = C(() => o.__parentRef || r.value), f = c, h = (e) => {
90
+ e && (t.value = !1);
90
91
  };
91
92
  w(
92
93
  () => o.value,
@@ -105,18 +106,18 @@ const O = /* @__PURE__ */ y({
105
106
  s(l(I), {
106
107
  class: x(l(g)()),
107
108
  value: n.value,
108
- style: b(e.$attrs.style),
109
+ style: S(e.$attrs.style),
109
110
  bordered: l(d) === "admin",
110
111
  mode: "tags",
111
112
  "show-arrow": !0,
112
113
  "not-found-content": !0,
113
- open: a.value,
114
+ open: t.value,
114
115
  "max-tag-count": o.maxTagCount,
115
116
  placeholder: o.placeholder,
116
- onDropdownVisibleChange: i[0] || (i[0] = (v) => a.value = v),
117
+ onDropdownVisibleChange: i[0] || (i[0] = (v) => t.value = v),
117
118
  onChange: p
118
119
  }, {
119
- suffixIcon: S(() => [
120
+ suffixIcon: b(() => [
120
121
  s(N, {
121
122
  value: n.value,
122
123
  "__parent-ref": m.value,