@topvisor/ui 1.3.1-utils.1 → 1.3.1

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.
@@ -1,14 +1,14 @@
1
1
  import { Core as x } from "../core/app.js";
2
- import { defineComponent as M, ref as B, computed as R, createElementBlock as v, openBlock as d, normalizeClass as I, createCommentVNode as $, createElementVNode as L, toDisplayString as _, createVNode as D, withKeys as G, withModifiers as N, createBlock as w, createSlots as U, withCtx as V, createTextVNode as E, watch as P, toRef as O, mergeProps as W, mergeModels as J, useModel as Y, Fragment as z, renderList as q, withDirectives as Z, vModelRadio as te, resolveDirective as oe, unref as f, renderSlot as X, resolveDynamicComponent as le } from "vue";
3
- import { q as se, c as F, _ as ae, d as re, u as ne, C as j, r as ie } from "../.chunks/forms-BWoAyEVH.es.js";
4
- import { _ as ue, b as H } from "../.chunks/listItem.vue_vue_type_script_setup_true_lang-Dljef_xa.es.js";
5
- import { _ as de } from "../.chunks/widgetInput.vue_vue_type_script_setup_true_lang-Cr_jgOW4.es.js";
2
+ import { defineComponent as E, ref as B, computed as z, createElementBlock as b, openBlock as d, normalizeClass as L, createCommentVNode as I, createElementVNode as K, toDisplayString as C, createVNode as D, withKeys as O, withModifiers as q, createBlock as w, createSlots as J, withCtx as k, createTextVNode as S, watch as M, toRef as N, mergeProps as X, mergeModels as U, useModel as W, Fragment as P, renderList as F, renderSlot as G, resolveDirective as te, unref as m, withDirectives as oe, resolveDynamicComponent as le } from "vue";
3
+ import { q as se, c as H, _ as ae, j as re, n as ne, d as ie, u as ue, C as Y, r as de } from "../.chunks/forms-BWoAyEVH.es.js";
4
+ import { _ as pe, b as j } from "../.chunks/listItem.vue_vue_type_script_setup_true_lang-Dljef_xa.es.js";
5
+ import { _ as ce } from "../.chunks/widgetInput.vue_vue_type_script_setup_true_lang-Cr_jgOW4.es.js";
6
6
  /* empty css */
7
- import { invertKeyboardLayout as pe } from "../utils/keyboard.js";
7
+ import { invertKeyboardLayout as me } from "../utils/keyboard.js";
8
8
  import { _ as je } from "../.chunks/menu.vue_vue_type_style_index_0_lang-HDPVVgzy.es.js";
9
- const ee = ["../assets/formsExt.css"].map((a) => import.meta.resolve(a));
9
+ const ee = ["../assets/formsExt.css"].map((l) => import.meta.resolve(l));
10
10
  x.insertCSSLinkToPage(ee, !0);
11
- const ce = { class: "top-editArea_footer" }, Ne = /* @__PURE__ */ M({
11
+ const fe = { class: "top-editArea_footer" }, De = /* @__PURE__ */ E({
12
12
  __name: "editArea",
13
13
  props: {
14
14
  defaultValue: { default: "" },
@@ -33,94 +33,94 @@ const ce = { class: "top-editArea_footer" }, Ne = /* @__PURE__ */ M({
33
33
  maxLength: {}
34
34
  },
35
35
  emits: ["submit", "close", "clickOnTitle"],
36
- setup(a, { emit: e }) {
37
- const l = a, o = e, u = B(l.defaultValue), s = B(l.isFocused), r = R(() => u.value !== l.defaultValue), p = (i) => {
38
- o("submit", i), u.value = l.defaultValue;
36
+ setup(l, { emit: e }) {
37
+ const o = l, s = e, p = B(o.defaultValue), r = B(o.isFocused), a = z(() => p.value !== o.defaultValue), i = (u) => {
38
+ s("submit", u), p.value = o.defaultValue;
39
39
  }, c = () => {
40
- if (l.forceShowCloseBtn && !r.value) {
41
- o("close");
40
+ if (o.forceShowCloseBtn && !a.value) {
41
+ s("close");
42
42
  return;
43
43
  }
44
- u.value = l.defaultValue;
45
- }, C = () => {
46
- l.attachToKeyboard && o("clickOnTitle");
44
+ p.value = o.defaultValue;
45
+ }, T = () => {
46
+ o.attachToKeyboard && s("clickOnTitle");
47
47
  };
48
- return (i, y) => (d(), v("div", {
49
- class: I({
48
+ return (u, v) => (d(), b("div", {
49
+ class: L({
50
50
  "top-editArea": !0,
51
- "top-editArea-attachedToKeyboard": i.attachToKeyboard
51
+ "top-editArea-attachedToKeyboard": u.attachToKeyboard
52
52
  })
53
53
  }, [
54
- i.title ? (d(), v("div", {
54
+ u.title ? (d(), b("div", {
55
55
  key: 0,
56
56
  class: "top-editArea_title",
57
- onClick: y[0] || (y[0] = (k) => C())
58
- }, _(i.title), 1)) : $("", !0),
59
- L("div", {
60
- class: I({
57
+ onClick: v[0] || (v[0] = (V) => T())
58
+ }, C(u.title), 1)) : I("", !0),
59
+ K("div", {
60
+ class: L({
61
61
  "top-editArea_form": !0,
62
62
  "top-forms-focusable": !0,
63
63
  "top-as-input": !0,
64
- "top-error": i.isError,
65
- "top-focus": s.value
64
+ "top-error": u.isError,
65
+ "top-focus": r.value
66
66
  })
67
67
  }, [
68
68
  D(se, {
69
- modelValue: u.value,
70
- "onUpdate:modelValue": y[1] || (y[1] = (k) => u.value = k),
71
- name: i.name,
72
- placeholder: i.placeholder,
73
- rows: i.rows,
74
- minHeight: i.minHeight,
75
- expandable: i.expandable,
76
- disabled: i.disabled,
77
- readonly: i.readonly,
78
- isError: i.isError,
79
- hint: i.hint,
69
+ modelValue: p.value,
70
+ "onUpdate:modelValue": v[1] || (v[1] = (V) => p.value = V),
71
+ name: u.name,
72
+ placeholder: u.placeholder,
73
+ rows: u.rows,
74
+ minHeight: u.minHeight,
75
+ expandable: u.expandable,
76
+ disabled: u.disabled,
77
+ readonly: u.readonly,
78
+ isError: u.isError,
79
+ hint: u.hint,
80
80
  class: "top-editArea_element",
81
- onFocus: y[2] || (y[2] = () => s.value = !0),
82
- onBlur: y[3] || (y[3] = () => s.value = !1),
81
+ onFocus: v[2] || (v[2] = () => r.value = !0),
82
+ onBlur: v[3] || (v[3] = () => r.value = !1),
83
83
  onKeyup: [
84
- G(c, ["esc"]),
85
- y[4] || (y[4] = G(N((k) => p(u.value), ["ctrl"]), ["enter"]))
84
+ O(c, ["esc"]),
85
+ v[4] || (v[4] = O(q((V) => i(p.value), ["ctrl"]), ["enter"]))
86
86
  ]
87
87
  }, null, 8, ["modelValue", "name", "placeholder", "rows", "minHeight", "expandable", "disabled", "readonly", "isError", "hint"]),
88
- L("div", ce, [
89
- r.value || i.forceShowCloseBtn ? (d(), w(F, {
88
+ K("div", fe, [
89
+ a.value || u.forceShowCloseBtn ? (d(), w(H, {
90
90
  key: 0,
91
- icon: i.$core.state.isMobile ? "" : "",
91
+ icon: u.$core.state.isMobile ? "" : "",
92
92
  class: "top-editArea_button",
93
93
  color: "theme",
94
94
  styling: "soft",
95
95
  onClick: c
96
- }, U({ _: 2 }, [
97
- i.$core.state.isMobile ? void 0 : {
96
+ }, J({ _: 2 }, [
97
+ u.$core.state.isMobile ? void 0 : {
98
98
  name: "default",
99
- fn: V(() => [
100
- E(_(i.cancelText), 1)
99
+ fn: k(() => [
100
+ S(C(u.cancelText), 1)
101
101
  ]),
102
102
  key: "0"
103
103
  }
104
- ]), 1032, ["icon"])) : $("", !0),
105
- r.value ? (d(), w(F, {
104
+ ]), 1032, ["icon"])) : I("", !0),
105
+ a.value ? (d(), w(H, {
106
106
  key: 1,
107
107
  class: "top-editArea_button",
108
- icon: i.$core.state.isMobile ? "" : "",
109
- onClick: y[5] || (y[5] = (k) => p(u.value))
110
- }, U({ _: 2 }, [
111
- i.$core.state.isMobile ? void 0 : {
108
+ icon: u.$core.state.isMobile ? "" : "",
109
+ onClick: v[5] || (v[5] = (V) => i(p.value))
110
+ }, J({ _: 2 }, [
111
+ u.$core.state.isMobile ? void 0 : {
112
112
  name: "default",
113
- fn: V(() => [
114
- E(_(i.submitText), 1)
113
+ fn: k(() => [
114
+ S(C(u.submitText), 1)
115
115
  ]),
116
116
  key: "0"
117
117
  }
118
- ]), 1032, ["icon"])) : $("", !0)
118
+ ]), 1032, ["icon"])) : I("", !0)
119
119
  ])
120
120
  ], 2)
121
121
  ], 2));
122
122
  }
123
- }), fe = { class: "top-editInput" }, qe = /* @__PURE__ */ M({
123
+ }), ve = { class: "top-editInput" }, Ge = /* @__PURE__ */ E({
124
124
  __name: "editInput",
125
125
  props: {
126
126
  modelValue: {},
@@ -128,38 +128,35 @@ const ce = { class: "top-editArea_footer" }, Ne = /* @__PURE__ */ M({
128
128
  button: {}
129
129
  },
130
130
  emits: ["update:modelValue"],
131
- setup(a, { emit: e }) {
132
- const l = a, o = B(l.modelValue);
133
- P(O(l.modelValue), () => {
134
- o.value = l.modelValue;
131
+ setup(l, { emit: e }) {
132
+ const o = l, s = B(o.modelValue);
133
+ M(N(o.modelValue), () => {
134
+ s.value = o.modelValue;
135
135
  });
136
- const u = e, s = () => {
137
- u("update:modelValue", o.value);
136
+ const p = e, r = () => {
137
+ p("update:modelValue", s.value);
138
138
  };
139
- return (r, p) => (d(), v("div", fe, [
140
- D(ae, W(r.input, {
141
- onKeydownCapture: p[0] || (p[0] = G(N((c) => o.value = r.modelValue, ["stop"]), ["esc"])),
142
- onKeydown: G(N(s, ["stop"]), ["enter"]),
143
- modelValue: o.value,
144
- "onUpdate:modelValue": p[1] || (p[1] = (c) => o.value = c)
139
+ return (a, i) => (d(), b("div", ve, [
140
+ D(ae, X(a.input, {
141
+ onKeydownCapture: i[0] || (i[0] = O(q((c) => s.value = a.modelValue, ["stop"]), ["esc"])),
142
+ onKeydown: O(q(r, ["stop"]), ["enter"]),
143
+ modelValue: s.value,
144
+ "onUpdate:modelValue": i[1] || (i[1] = (c) => s.value = c)
145
145
  }), null, 16, ["onKeydown", "modelValue"]),
146
- o.value !== r.modelValue ? (d(), w(F, W({
146
+ s.value !== a.modelValue ? (d(), w(H, X({
147
147
  key: 0,
148
148
  icon: "",
149
149
  styling: "soft"
150
- }, r.button, { onClick: s }), null, 16)) : $("", !0)
150
+ }, a.button, { onClick: r }), null, 16)) : I("", !0)
151
151
  ]));
152
152
  }
153
- }), me = ["data-top-icon", "onClick"], ve = {
154
- key: 0,
155
- class: "top-radioGroup_circle"
156
- }, ye = ["value", "disabled"], Fe = /* @__PURE__ */ M({
157
- __name: "radioGroup",
158
- props: /* @__PURE__ */ J({
153
+ }), Z = /* @__PURE__ */ E({
154
+ __name: "optionGroup",
155
+ props: /* @__PURE__ */ U({
159
156
  modelValue: {},
160
- radiosProps: {},
161
- showIndicator: { type: Boolean },
157
+ items: {},
162
158
  size: { default: "s" },
159
+ showIndicator: { type: Boolean },
163
160
  isError: { type: Boolean }
164
161
  }, {
165
162
  modelValue: {
@@ -168,57 +165,100 @@ const ce = { class: "top-editArea_footer" }, Ne = /* @__PURE__ */ M({
168
165
  modelModifiers: {}
169
166
  }),
170
167
  emits: ["update:modelValue"],
171
- setup(a) {
172
- const e = Y(a, "modelValue"), l = a, o = B(null);
173
- P(e, () => {
174
- var s, r, p, c, C;
175
- (s = l.radiosProps) != null && s.some((i) => i.value === e.value) || (e.value = ((p = (r = l.radiosProps) == null ? void 0 : r[0]) == null ? void 0 : p.value) ?? ""), (C = (c = o.value) == null ? void 0 : c.querySelector(".radioGroup_item-selected")) == null || C.scrollIntoView();
168
+ setup(l) {
169
+ const e = W(l, "modelValue"), o = l, s = B(null);
170
+ M(e, () => {
171
+ var a, i;
172
+ const r = o.items.map((c) => c.value);
173
+ Array.isArray(e.value) ? e.value.find((T) => !r.includes(T)) && (e.value = e.value.filter((T) => r.includes(T))) : r.includes(e.value) || (e.value = r[0] ?? ""), (i = (a = s.value) == null ? void 0 : a.querySelector(".radioGroup_item-selected")) == null || i.scrollIntoView();
176
174
  }, { immediate: !0 });
177
- const u = "radioGroup-" + Math.random();
178
- return (s, r) => (d(), v("div", {
175
+ const p = "optionGroup-" + Math.random();
176
+ return (r, a) => (d(), b("div", {
179
177
  ref_key: "elRef",
180
- ref: o,
181
- class: I({
182
- "top-radioGroup": !0,
178
+ ref: s,
179
+ class: L({
180
+ "top-optionGroup": !0,
181
+ ["top-optionGroup-showIndicator_" + Number(r.showIndicator)]: !0,
183
182
  "top-scrollBarXHidding": !0,
184
- ["top-size_" + s.size]: !!s.size,
185
- "top-error": s.isError
183
+ ["top-size_" + r.size]: !!r.size,
184
+ "top-error": r.isError
186
185
  })
187
186
  }, [
188
- (d(!0), v(z, null, q(s.radiosProps, (p) => (d(), v("label", {
189
- class: I({
190
- "top-radioGroup_item-selected": p.value === e.value,
191
- "top-radioGroup_item": !0,
192
- "top-forms-focusable": !0,
193
- "top-disabled": p.disabled
187
+ Array.isArray(e.value) ? (d(!0), b(P, { key: 0 }, F(r.items, (i) => (d(), w(re, {
188
+ class: L({
189
+ "top-optionGroup_item-selected": e.value.includes(i.value),
190
+ "top-optionGroup_item": !0
194
191
  }),
195
- "data-top-icon": p.icon,
196
- onClick: (c) => e.value = p.value
197
- }, [
198
- E(_(p.title) + " ", 1),
199
- s.showIndicator ? (d(), v("span", ve)) : $("", !0),
200
- Z(L("input", {
201
- "onUpdate:modelValue": r[0] || (r[0] = (c) => e.value = c),
202
- name: u,
203
- type: "radio",
204
- class: I({
205
- "top-unvisible": !0
206
- }),
207
- value: p.value,
208
- disabled: p.disabled
209
- }, null, 8, ye), [
210
- [te, e.value]
211
- ])
212
- ], 10, me))), 256))
192
+ modelValue: e.value,
193
+ "onUpdate:modelValue": a[0] || (a[0] = (c) => e.value = c),
194
+ value: i.value,
195
+ disabled: i.disabled,
196
+ isError: r.isError,
197
+ "data-top-icon": i.icon
198
+ }, {
199
+ default: k(() => [
200
+ S(C(i.title), 1)
201
+ ]),
202
+ _: 2
203
+ }, 1032, ["class", "modelValue", "value", "disabled", "isError", "data-top-icon"]))), 256)) : (d(!0), b(P, { key: 1 }, F(r.items, (i) => (d(), w(ne, {
204
+ class: L({
205
+ "top-optionGroup_item-selected": i.value === e.value,
206
+ "top-optionGroup_item": !0
207
+ }),
208
+ modelValue: e.value,
209
+ "onUpdate:modelValue": a[1] || (a[1] = (c) => e.value = c),
210
+ name: p,
211
+ value: i.value,
212
+ disabled: i.disabled,
213
+ isError: r.isError,
214
+ "data-top-icon": i.icon
215
+ }, {
216
+ default: k(() => [
217
+ S(C(i.title), 1)
218
+ ]),
219
+ _: 2
220
+ }, 1032, ["class", "modelValue", "value", "disabled", "isError", "data-top-icon"]))), 256))
213
221
  ], 2));
214
222
  }
215
- }), he = ["data-top-icon"], be = ["value", "checked", "disabled", "onChange"], He = /* @__PURE__ */ M({
223
+ }), Ne = /* @__PURE__ */ E({
224
+ __name: "radioGroup",
225
+ props: /* @__PURE__ */ U({
226
+ modelValue: {},
227
+ items: {},
228
+ size: {},
229
+ showIndicator: { type: Boolean },
230
+ isError: { type: Boolean }
231
+ }, {
232
+ modelValue: {
233
+ required: !0
234
+ },
235
+ modelModifiers: {}
236
+ }),
237
+ emits: ["update:modelValue"],
238
+ setup(l) {
239
+ const e = W(l, "modelValue");
240
+ return (o, s) => (d(), w(Z, {
241
+ class: "top-radioGroup",
242
+ modelValue: e.value,
243
+ "onUpdate:modelValue": s[0] || (s[0] = (p) => e.value = p),
244
+ items: o.$props.items,
245
+ size: o.$props.size,
246
+ showIndicator: o.$props.showIndicator,
247
+ isError: o.$props.isError
248
+ }, {
249
+ default: k(() => [
250
+ G(o.$slots, "default")
251
+ ]),
252
+ _: 3
253
+ }, 8, ["modelValue", "items", "size", "showIndicator", "isError"]));
254
+ }
255
+ }), Oe = /* @__PURE__ */ E({
216
256
  __name: "checkboxGroup",
217
- props: /* @__PURE__ */ J({
257
+ props: /* @__PURE__ */ U({
218
258
  modelValue: {},
219
259
  items: {},
220
- size: { default: "s" },
221
- styling: { default: "outline" },
260
+ size: {},
261
+ showIndicator: { type: Boolean },
222
262
  isError: { type: Boolean }
223
263
  }, {
224
264
  modelValue: {
@@ -227,159 +267,140 @@ const ce = { class: "top-editArea_footer" }, Ne = /* @__PURE__ */ M({
227
267
  modelModifiers: {}
228
268
  }),
229
269
  emits: ["update:modelValue"],
230
- setup(a) {
231
- const e = Y(a, "modelValue"), l = (o) => {
232
- const u = [...e.value], s = u.indexOf(o);
233
- s === -1 ? u.push(o) : u.splice(s, 1), e.value = u;
234
- };
235
- return (o, u) => (d(), v("div", {
236
- class: I({
237
- "top-checkboxGroup": !0,
238
- ["top-checkboxGroup-" + o.styling]: !0,
239
- "top-scrollBarXHidding": !0,
240
- ["top-size_" + o.size]: !!o.size,
241
- "top-error": o.isError
242
- })
243
- }, [
244
- (d(!0), v(z, null, q(o.items, (s) => (d(), v("label", {
245
- key: s.id,
246
- class: I({
247
- "top-checkboxGroup_item": !0,
248
- "top-checkboxGroup_item-selected": e.value.includes(s.id),
249
- "top-forms-focusable": !0,
250
- "top-disabled": s.disabled
251
- }),
252
- "data-top-icon": s.icon
253
- }, [
254
- L("input", {
255
- type: "checkbox",
256
- class: "top-unvisible",
257
- value: s.id,
258
- checked: e.value.includes(s.id),
259
- disabled: s.disabled,
260
- onChange: (r) => l(s.id)
261
- }, null, 40, be),
262
- E(" " + _(s.title), 1)
263
- ], 10, he))), 128))
264
- ], 2));
270
+ setup(l) {
271
+ const e = W(l, "modelValue");
272
+ return (o, s) => (d(), w(Z, {
273
+ class: "top-checkboxGroup",
274
+ modelValue: e.value,
275
+ "onUpdate:modelValue": s[0] || (s[0] = (p) => e.value = p),
276
+ items: o.$props.items,
277
+ size: o.$props.size,
278
+ showIndicator: o.$props.showIndicator,
279
+ isError: o.$props.isError
280
+ }, {
281
+ default: k(() => [
282
+ G(o.$slots, "default")
283
+ ]),
284
+ _: 3
285
+ }, 8, ["modelValue", "items", "size", "showIndicator", "isError"]));
265
286
  }
266
- }), ge = { class: "top-selector2_itemMulti top-ellipsis" }, ke = /* @__PURE__ */ M({
287
+ }), ye = { class: "top-selector2_itemMulti top-ellipsis" }, he = /* @__PURE__ */ E({
267
288
  __name: "itemMulti",
268
289
  props: {
269
290
  id: {},
270
291
  name: {}
271
292
  },
272
293
  emits: ["delete"],
273
- setup(a) {
274
- return (e, l) => (d(), v("div", ge, [
275
- E(_(e.name) + " ", 1),
276
- L("span", {
294
+ setup(l) {
295
+ return (e, o) => (d(), b("div", ye, [
296
+ S(C(e.name) + " ", 1),
297
+ K("span", {
277
298
  class: "top-selector2_itemMultiDelete",
278
299
  "data-top-icon": "",
279
- onClick: l[0] || (l[0] = (o) => e.$emit("delete", e.id)),
280
- onMousedown: l[1] || (l[1] = N(() => {
300
+ onClick: o[0] || (o[0] = (s) => e.$emit("delete", e.id)),
301
+ onMousedown: o[1] || (o[1] = q(() => {
281
302
  }, ["stop"]))
282
303
  }, null, 32)
283
304
  ]));
284
305
  }
285
- }), Te = (a, e, l, o) => {
286
- const u = B([]), s = /* @__PURE__ */ new Map(), r = B(!1);
287
- let p = "", c;
288
- a && !a.params.limit && (a.params.limit = 100);
289
- const C = async () => {
290
- if (!a) return;
291
- let h;
292
- if (o) {
293
- h = JSON.stringify(a.params);
294
- const S = s.get(h);
295
- if (S)
296
- return S;
306
+ }), be = (l, e, o, s) => {
307
+ const p = B([]), r = /* @__PURE__ */ new Map(), a = B(!1);
308
+ let i = "", c;
309
+ l && !l.params.limit && (l.params.limit = 100);
310
+ const T = async () => {
311
+ if (!l) return;
312
+ let y;
313
+ if (s) {
314
+ y = JSON.stringify(l.params);
315
+ const _ = r.get(y);
316
+ if (_)
317
+ return _;
297
318
  }
298
- r.value = !0;
299
- const g = await a.call();
300
- if (r.value = !1, g.errors) return;
319
+ a.value = !0;
320
+ const g = await l.call();
321
+ if (a.value = !1, g.errors) return;
301
322
  if (!Array.isArray(g.result)) {
302
323
  console.warn("Array expected in `res.result`");
303
324
  return;
304
325
  }
305
- const K = g.result.findIndex((S) => S.id === void 0 || S.name === void 0);
306
- if (K !== -1) {
307
- console.warn(`В result[${K}] нет id или name`);
326
+ const R = g.result.findIndex((_) => _.id === void 0 || _.name === void 0);
327
+ if (R !== -1) {
328
+ console.warn(`В result[${R}] нет id или name`);
308
329
  return;
309
330
  }
310
- return h && s.set(h, g), g;
311
- }, i = async (h) => {
312
- if (!a) return;
313
- if (h) {
314
- if (!c || r.value) return;
315
- a.params.offset = c;
331
+ return y && r.set(y, g), g;
332
+ }, u = async (y) => {
333
+ if (!l) return;
334
+ if (y) {
335
+ if (!c || a.value) return;
336
+ l.params.offset = c;
316
337
  } else
317
- a.params.offset = 0;
318
- e == null || e(p);
319
- const g = await C();
320
- g && (c = g.nextOffset, h ? u.value = u.value.concat(g.result) : u.value = g.result);
321
- }, y = re(() => i(!1), 200);
338
+ l.params.offset = 0;
339
+ e == null || e(i);
340
+ const g = await T();
341
+ g && (c = g.nextOffset, y ? p.value = p.value.concat(g.result) : p.value = g.result);
342
+ }, v = ie(() => u(!1), 200);
322
343
  return {
323
- apiRequest: a,
324
- items: u,
325
- isLoading: r,
326
- load: i,
327
- setSearchTextAndLoad: (h, g = !0) => {
328
- a && (h.length < l || h === p && u.value.length || (p = h, g ? y() : i(!1)));
344
+ apiRequest: l,
345
+ items: p,
346
+ isLoading: a,
347
+ load: u,
348
+ setSearchTextAndLoad: (y, g = !0) => {
349
+ l && (y.length < o || y === i && p.value.length || (i = y, g ? v() : u(!1)));
329
350
  }
330
351
  };
331
- }, Ae = 0, Q = (a, e, l = !0) => l && e.id === null ? Array.isArray(a) ? a.some((o) => o.id === e.id && o.name === e.name) : e.name === a.name : Array.isArray(a) ? a.some((o) => o.id === e.id) : e.id === a.id, Ce = (a, e, l, o, u, s, r, p) => {
332
- const c = B(""), C = {
333
- id: Ae,
334
- name: ne().Common.All
335
- }, i = () => {
336
- c.value = "", p.items.value = [];
337
- }, y = () => !(!p.apiRequest || s.value !== "inline" || c.value.length >= r), k = R(() => {
352
+ }, ge = 0, Q = (l, e, o = !0) => o && e.id === null ? Array.isArray(l) ? l.some((s) => s.id === e.id && s.name === e.name) : e.name === l.name : Array.isArray(l) ? l.some((s) => s.id === e.id) : e.id === l.id, Te = (l, e, o, s, p, r, a, i) => {
353
+ const c = B(""), T = {
354
+ id: ge,
355
+ name: ue().Common.All
356
+ }, u = () => {
357
+ c.value = "", i.items.value = [];
358
+ }, v = () => !(!i.apiRequest || r.value !== "inline" || c.value.length >= a), V = z(() => {
338
359
  var t;
339
- const b = [];
340
- return !l && o.value && b.push(C), (t = e.value) == null || t.forEach((n) => b.push({ ...n })), b;
341
- }), h = R(() => {
342
- const b = c.value.toLowerCase(), t = pe(b);
360
+ const h = [];
361
+ return !o && s.value && h.push(T), (t = e.value) == null || t.forEach((n) => h.push({ ...n })), h;
362
+ }), y = z(() => {
363
+ const h = c.value.toLowerCase(), t = me(h);
343
364
  let n = [];
344
- return k.value.forEach((T) => {
345
- const m = T.name.toLowerCase();
346
- (T.id === Number(b) || m.includes(b) || m.includes(t)) && (m === b || m === t ? n.unshift(T) : n.push(T));
347
- }), n.push(...p.items.value), u.value && c.value && (!n.length || n[0].name.toLowerCase() !== b) && n.push({
365
+ return V.value.forEach((A) => {
366
+ const f = A.name.toLowerCase();
367
+ (A.id === Number(h) || f.includes(h) || f.includes(t)) && (f === h || f === t ? n.unshift(A) : n.push(A));
368
+ }), n.push(...i.items.value), p.value && c.value && (!n.length || n[0].name.toLowerCase() !== h) && n.push({
348
369
  id: null,
349
370
  name: c.value
350
- }), l && (n = n.filter((T) => !Q(a.value, T))), n;
371
+ }), o && (n = n.filter((A) => !Q(l.value, A))), n;
351
372
  });
352
373
  return {
353
374
  searchText: c,
354
- resetSearch: i,
355
- genIsShort: y,
356
- items: k,
357
- itemsForShow: h,
358
- selectItem: (b) => {
359
- l && Array.isArray(a.value) ? Q(a.value, b) || (a.value = [...a.value, b]) : a.value = b;
375
+ resetSearch: u,
376
+ genIsShort: v,
377
+ items: V,
378
+ itemsForShow: y,
379
+ selectItem: (h) => {
380
+ o && Array.isArray(l.value) ? Q(l.value, h) || (l.value = [...l.value, h]) : l.value = h;
360
381
  },
361
382
  selectNextItem: () => {
362
- if (!Array.isArray(a.value)) {
363
- const t = (h.value.findIndex((n) => n.id === a.value.id) + 1) % h.value.length;
364
- a.value = { ...h.value[t] };
383
+ if (!Array.isArray(l.value)) {
384
+ const t = (y.value.findIndex((n) => n.id === l.value.id) + 1) % y.value.length;
385
+ l.value = { ...y.value[t] };
365
386
  }
366
387
  },
367
- deleteItemById: async (b) => {
368
- Array.isArray(a.value) && (a.value = a.value.filter((t) => t.id !== b));
388
+ deleteItemById: async (h) => {
389
+ Array.isArray(l.value) && (l.value = l.value.filter((t) => t.id !== h));
369
390
  }
370
391
  };
371
- }, $e = {
392
+ }, Ve = {
372
393
  key: 0,
373
394
  class: "top-selector2_activeItems"
374
- }, _e = {
395
+ }, Ae = {
375
396
  key: 1,
376
397
  class: "top-selector2_activeName top-ellipsis"
377
- }, Ve = {
398
+ }, $e = {
378
399
  key: 2,
379
400
  class: "top-selector2_placeholder top-ellipsis"
380
- }, Ue = /* @__PURE__ */ M({
401
+ }, qe = /* @__PURE__ */ E({
381
402
  __name: "selector2",
382
- props: /* @__PURE__ */ J({
403
+ props: /* @__PURE__ */ U({
383
404
  modelValue: {},
384
405
  items: { default: () => [] },
385
406
  title: {},
@@ -404,39 +425,39 @@ const ce = { class: "top-editArea_footer" }, Ne = /* @__PURE__ */ M({
404
425
  modelModifiers: {}
405
426
  }),
406
427
  emits: ["update:modelValue"],
407
- setup(a) {
408
- const e = a, l = Y(a, "modelValue"), o = R(() => e.searchType === "inline" && e.multiselect || e.searchType === "inline" && j.state.isMobile ? "popup" : e.searchType);
409
- let u = 0;
410
- o.value === "inline" && e.minLength && (u = e.minLength);
411
- const s = Te(e.api, e.apiSetSearchParams, u, e.useCache), r = Ce(
412
- l,
413
- O(e, "items"),
414
- e.multiselect,
415
- O(e, "appendAllValue"),
416
- O(e, "appendSearchToResult"),
428
+ setup(l) {
429
+ const e = l, o = W(l, "modelValue"), s = z(() => e.searchType === "inline" && e.multiselect || e.searchType === "inline" && Y.state.isMobile ? "popup" : e.searchType);
430
+ let p = 0;
431
+ s.value === "inline" && e.minLength && (p = e.minLength);
432
+ const r = be(e.api, e.apiSetSearchParams, p, e.useCache), a = Te(
417
433
  o,
418
- u,
419
- s
420
- ), p = R(() => e.buttonProps ? "TopButton" : o.value === "inline" ? "TopInput" : "div"), c = B(null), C = () => {
434
+ N(e, "items"),
435
+ e.multiselect,
436
+ N(e, "appendAllValue"),
437
+ N(e, "appendSearchToResult"),
438
+ s,
439
+ p,
440
+ r
441
+ ), i = z(() => e.buttonProps ? "TopButton" : s.value === "inline" ? "TopInput" : "div"), c = B(null), T = () => {
421
442
  var t;
422
443
  return (t = c.value) == null ? void 0 : t.popup;
423
444
  };
424
- s.apiRequest && P(r.searchText, () => {
445
+ r.apiRequest && M(a.searchText, () => {
425
446
  var t;
426
- s.setSearchTextAndLoad(r.searchText.value), o.value === "inline" && r.genIsShort() && ((t = C()) == null || t.close());
427
- }), P(l, () => {
428
- o.value === "inline" && r.resetSearch();
447
+ r.setSearchTextAndLoad(a.searchText.value), s.value === "inline" && a.genIsShort() && ((t = T()) == null || t.close());
448
+ }), M(o, () => {
449
+ s.value === "inline" && a.resetSearch();
429
450
  });
430
- const i = R(() => {
451
+ const u = z(() => {
431
452
  var t;
432
- return Array.isArray(l.value) || e.multiselect || !e.selectedAsPlaceholder && o.value !== "inline" ? e.placeholder : ((t = l.value) == null ? void 0 : t.name) || e.placeholder;
433
- }), y = (t) => {
434
- var m, A;
453
+ return Array.isArray(o.value) || e.multiselect || !e.selectedAsPlaceholder && s.value !== "inline" ? e.placeholder : ((t = o.value) == null ? void 0 : t.name) || e.placeholder;
454
+ }), v = (t) => {
455
+ var f, $;
435
456
  let n = !1;
436
457
  switch (t.key) {
437
458
  case "Delete":
438
459
  case "Backspace":
439
- Array.isArray(l.value) && (t.preventDefault(), t.stopPropagation(), l.value.pop());
460
+ Array.isArray(o.value) && (t.preventDefault(), t.stopPropagation(), o.value.pop());
440
461
  break;
441
462
  case "ArrowUp":
442
463
  case "ArrowRight":
@@ -447,51 +468,51 @@ const ce = { class: "top-editArea_footer" }, Ne = /* @__PURE__ */ M({
447
468
  n = !0;
448
469
  break;
449
470
  case "Escape":
450
- o.value === "inline" && r.resetSearch();
471
+ s.value === "inline" && a.resetSearch();
451
472
  break;
452
473
  }
453
- const T = t.key.length === 1 && !t.ctrlKey && !t.metaKey;
454
- (o.value === "popup" || o.value === "inline") && T && (n = !0), (m = C()) != null && m.elPopup && (n = !1), n && (o.value === "popup" && (t.preventDefault(), t.stopPropagation(), T && (r.searchText.value || (r.searchText.value = t.key))), (A = t.currentTarget) == null || A.click());
474
+ const A = t.key.length === 1 && !t.ctrlKey && !t.metaKey;
475
+ (s.value === "popup" || s.value === "inline") && A && (n = !0), (f = T()) != null && f.elPopup && (n = !1), n && (s.value === "popup" && (t.preventDefault(), t.stopPropagation(), A && (a.searchText.value || (a.searchText.value = t.key))), ($ = t.currentTarget) == null || $.click());
455
476
  };
456
- let k = !1;
457
- const h = (t) => {
477
+ let V = !1;
478
+ const y = (t) => {
458
479
  var n;
459
- k || o.value === "inline" && ((n = t.currentTarget) == null || n.click());
480
+ V || s.value === "inline" && ((n = t.currentTarget) == null || n.click());
460
481
  }, g = (t) => {
461
- var n, T;
462
- t.preventDefault(), k = !0, (T = (n = t.currentTarget) == null ? void 0 : n.parentElement) == null || T.focus(), k = !1, r.selectNextItem();
463
- }, K = () => {
482
+ var n, A;
483
+ t.preventDefault(), V = !0, (A = (n = t.currentTarget) == null ? void 0 : n.parentElement) == null || A.focus(), V = !1, a.selectNextItem();
484
+ }, R = () => {
464
485
  var t;
465
- if (k = !0, s.apiRequest) {
466
- if (r.genIsShort()) {
467
- (t = C()) == null || t.close();
486
+ if (V = !0, r.apiRequest) {
487
+ if (a.genIsShort()) {
488
+ (t = T()) == null || t.close();
468
489
  return;
469
490
  }
470
- s.setSearchTextAndLoad(r.searchText.value, !1);
491
+ r.setSearchTextAndLoad(a.searchText.value, !1);
471
492
  }
472
- }, S = () => {
493
+ }, _ = () => {
473
494
  setTimeout(() => {
474
- k = !1;
475
- }, 100), o.value === "popup" && r.searchText.value && r.resetSearch();
476
- }, b = (t) => {
495
+ V = !1;
496
+ }, 100), s.value === "popup" && a.searchText.value && a.resetSearch();
497
+ }, h = (t) => {
477
498
  const n = t.target;
478
- n.scrollTop / (n.scrollHeight - n.offsetHeight) > 0.8 && s.load(!0);
499
+ n.scrollTop / (n.scrollHeight - n.offsetHeight) > 0.8 && r.load(!0);
479
500
  };
480
- return window.__STORYBOOK_PREVIEW__ && (P(
501
+ return window.__STORYBOOK_PREVIEW__ && (M(
481
502
  () => e.multiselect,
482
503
  () => {
483
- e.multiselect ? Array.isArray(l.value) || (l.value = [
504
+ e.multiselect ? Array.isArray(o.value) || (o.value = [
484
505
  {
485
506
  id: 1,
486
507
  name: "Выбери меня"
487
508
  }
488
- ]) : Array.isArray(l.value) && (l.value = {
509
+ ]) : Array.isArray(o.value) && (o.value = {
489
510
  id: null,
490
511
  name: ""
491
512
  });
492
513
  },
493
514
  { immediate: !0 }
494
- ), P(
515
+ ), M(
495
516
  () => e.searchType,
496
517
  () => {
497
518
  setTimeout(() => {
@@ -499,18 +520,18 @@ const ce = { class: "top-editArea_footer" }, Ne = /* @__PURE__ */ M({
499
520
  }, 500);
500
521
  }
501
522
  )), (t, n) => {
502
- const T = oe("top-focus");
503
- return d(), w(f(ue), {
523
+ const A = te("top-focus");
524
+ return d(), w(m(pe), {
504
525
  ref_key: "popupRef",
505
526
  ref: c,
506
- onOpen: n[3] || (n[3] = (m) => K()),
507
- onClose: n[4] || (n[4] = (m) => S()),
508
- onScrollContentList: n[5] || (n[5] = (m) => f(s) ? b(m) : void 0),
509
- notch: o.value !== "inline",
527
+ onOpen: n[3] || (n[3] = (f) => R()),
528
+ onClose: n[4] || (n[4] = (f) => _()),
529
+ onScrollContentList: n[5] || (n[5] = (f) => m(r) ? h(f) : void 0),
530
+ notch: s.value !== "inline",
510
531
  transitionDuration: 0
511
- }, U({
512
- opener: V(() => [
513
- Z((d(), w(le(p.value), W(t.buttonProps, {
532
+ }, J({
533
+ opener: k(() => [
534
+ oe((d(), w(le(i.value), X(t.buttonProps, {
514
535
  ref: "subcomponentSelector",
515
536
  class: {
516
537
  "top-selector2": !0,
@@ -524,98 +545,98 @@ const ce = { class: "top-editArea_footer" }, Ne = /* @__PURE__ */ M({
524
545
  "top-error": t.isError
525
546
  },
526
547
  tabindex: "0",
527
- onKeydown: y,
528
- placeholder: i.value,
529
- modelValue: f(r).searchText.value,
530
- "onUpdate:modelValue": n[0] || (n[0] = (m) => f(r).searchText.value = m),
531
- onFocus: h,
532
- onBlur: n[1] || (n[1] = (m) => {
533
- var A;
534
- return (A = C()) != null && A.isClosed ? f(r).resetSearch() : "";
548
+ onKeydown: v,
549
+ placeholder: u.value,
550
+ modelValue: m(a).searchText.value,
551
+ "onUpdate:modelValue": n[0] || (n[0] = (f) => m(a).searchText.value = f),
552
+ onFocus: y,
553
+ onBlur: n[1] || (n[1] = (f) => {
554
+ var $;
555
+ return ($ = T()) != null && $.isClosed ? m(a).resetSearch() : "";
535
556
  })
536
557
  }), {
537
- default: V(() => [
538
- t.multiselect ? (d(), v("div", $e, [
539
- (d(!0), v(z, null, q(l.value, (m) => (d(), w(ke, {
540
- id: m.id,
541
- name: m.name,
542
- onDelete: f(r).deleteItemById
558
+ default: k(() => [
559
+ t.multiselect ? (d(), b("div", Ve, [
560
+ (d(!0), b(P, null, F(o.value, (f) => (d(), w(he, {
561
+ id: f.id,
562
+ name: f.name,
563
+ onDelete: m(a).deleteItemById
543
564
  }, null, 8, ["id", "name", "onDelete"]))), 256))
544
- ])) : $("", !0),
545
- o.value !== "inline" && !t.multiselect ? (d(), v("span", _e, _(Array.isArray(l.value) ? "" : l.value.name), 1)) : $("", !0),
546
- t.multiselect && !l.value.length ? (d(), v("span", Ve, _(i.value), 1)) : $("", !0),
547
- t.addChanger && !t.buttonProps && !t.multiselect && f(r).items.value.length > 1 && !t.disabled ? (d(), v("span", {
565
+ ])) : I("", !0),
566
+ s.value !== "inline" && !t.multiselect ? (d(), b("span", Ae, C(Array.isArray(o.value) ? "" : o.value.name), 1)) : I("", !0),
567
+ t.multiselect && !o.value.length ? (d(), b("span", $e, C(u.value), 1)) : I("", !0),
568
+ t.addChanger && !t.buttonProps && !t.multiselect && m(a).items.value.length > 1 && !t.disabled ? (d(), b("span", {
548
569
  key: 3,
549
570
  class: "top-changer top-changer-selector top-popup_widget",
550
571
  "data-top-popup-disabled": "true",
551
572
  onClick: g
552
- })) : $("", !0)
573
+ })) : I("", !0)
553
574
  ]),
554
575
  _: 1
555
576
  }, 16, ["class", "placeholder", "modelValue"])), [
556
577
  [
557
- T,
578
+ A,
558
579
  t.isError,
559
580
  void 0,
560
581
  { onupdate: !0 }
561
582
  ]
562
583
  ])
563
584
  ]),
564
- contentList: V(() => {
565
- var m;
585
+ contentList: k(() => {
586
+ var f;
566
587
  return [
567
- (d(!0), v(z, null, q(f(r).itemsForShow.value, (A) => (d(), w(f(H), {
568
- class: I({
569
- "top-active": !Array.isArray(l.value) && !t.multiselect && l.value.id === A.id && l.value.name === A.name
588
+ (d(!0), b(P, null, F(m(a).itemsForShow.value, ($) => (d(), w(m(j), {
589
+ class: L({
590
+ "top-active": !Array.isArray(o.value) && !t.multiselect && o.value.id === $.id && o.value.name === $.name
570
591
  }),
571
- key: A.id ?? void 0,
572
- closeByClick: !t.multiselect || f(j).state.isMobile,
573
- onClick: (Me) => f(r).selectItem(A)
592
+ key: $.id ?? void 0,
593
+ closeByClick: !t.multiselect || m(Y).state.isMobile,
594
+ onClick: (_e) => m(a).selectItem($)
574
595
  }, {
575
- default: V(() => [
576
- t.$slots.item ? X(t.$slots, "item", {
596
+ default: k(() => [
597
+ t.$slots.item ? G(t.$slots, "item", {
577
598
  key: 0,
578
- item: A
579
- }) : (d(), v(z, { key: 1 }, [
580
- E(_(A.name), 1)
599
+ item: $
600
+ }) : (d(), b(P, { key: 1 }, [
601
+ S(C($.name), 1)
581
602
  ], 64))
582
603
  ]),
583
604
  _: 2
584
605
  }, 1032, ["class", "closeByClick", "onClick"]))), 128)),
585
- !f(s).isLoading.value && !f(r).itemsForShow.value.length ? (d(), w(f(H), {
606
+ !m(r).isLoading.value && !m(a).itemsForShow.value.length ? (d(), w(m(j), {
586
607
  key: 0,
587
608
  type: "regular"
588
609
  }, {
589
- default: V(() => [
590
- E(_(t.$i18n.Common.No_results), 1)
610
+ default: k(() => [
611
+ S(C(t.$i18n.Common.No_results), 1)
591
612
  ]),
592
613
  _: 1
593
- })) : $("", !0),
594
- f(s).isLoading.value && (t.searchType !== "popup" || (m = f(s).apiRequest) != null && m.params.offset) ? (d(), w(f(H), {
614
+ })) : I("", !0),
615
+ m(r).isLoading.value && (t.searchType !== "popup" || (f = m(r).apiRequest) != null && f.params.offset) ? (d(), w(m(j), {
595
616
  key: 1,
596
617
  type: "regular"
597
618
  }, {
598
- default: V(() => [
599
- D(f(ie), { type: "circles" })
619
+ default: k(() => [
620
+ D(m(de), { type: "circles" })
600
621
  ]),
601
622
  _: 1
602
- })) : $("", !0)
623
+ })) : I("", !0)
603
624
  ];
604
625
  }),
605
626
  _: 2
606
627
  }, [
607
- o.value === "popup" ? {
628
+ s.value === "popup" ? {
608
629
  name: "widget",
609
- fn: V(() => {
610
- var m;
630
+ fn: k(() => {
631
+ var f;
611
632
  return [
612
- D(f(de), {
633
+ D(m(ce), {
613
634
  title: "Поиск",
614
635
  icon: "",
615
- modelValue: f(r).searchText.value,
616
- "onUpdate:modelValue": n[2] || (n[2] = (A) => f(r).searchText.value = A),
617
- isLoading: f(s).isLoading.value && !((m = f(s).apiRequest) != null && m.params.offset),
618
- placeholder: i.value
636
+ modelValue: m(a).searchText.value,
637
+ "onUpdate:modelValue": n[2] || (n[2] = ($) => m(a).searchText.value = $),
638
+ isLoading: m(r).isLoading.value && !((f = m(r).apiRequest) != null && f.params.offset),
639
+ placeholder: u.value
619
640
  }, null, 8, ["modelValue", "isLoading", "placeholder"])
620
641
  ];
621
642
  }),
@@ -624,37 +645,37 @@ const ce = { class: "top-editArea_footer" }, Ne = /* @__PURE__ */ M({
624
645
  ]), 1032, ["notch"]);
625
646
  };
626
647
  }
627
- }), we = ["data-top-icon"], Ie = { class: "top-info_text" }, Be = {
648
+ }), ke = ["data-top-icon"], we = { class: "top-info_text" }, Ie = {
628
649
  key: 0,
629
650
  class: "top-info_value"
630
- }, We = /* @__PURE__ */ M({
651
+ }, Fe = /* @__PURE__ */ E({
631
652
  __name: "info",
632
653
  props: {
633
654
  icon: {},
634
655
  styling: { default: "default" },
635
656
  size: { default: "default" }
636
657
  },
637
- setup(a) {
638
- return (e, l) => (d(), v("div", {
639
- class: I({
658
+ setup(l) {
659
+ return (e, o) => (d(), b("div", {
660
+ class: L({
640
661
  "top-info": !0,
641
662
  ["top-size_" + e.size]: !0,
642
663
  ["top-info-styling_" + e.styling]: !0
643
664
  }),
644
665
  "data-top-icon": e.icon
645
666
  }, [
646
- L("div", Ie, [
647
- X(e.$slots, "default")
667
+ K("div", we, [
668
+ G(e.$slots, "default")
648
669
  ]),
649
- e.$slots.additional ? (d(), v("span", Be, [
650
- X(e.$slots, "additional")
651
- ])) : $("", !0)
652
- ], 10, we));
670
+ e.$slots.additional ? (d(), b("span", Ie, [
671
+ G(e.$slots, "additional")
672
+ ])) : I("", !0)
673
+ ], 10, ke));
653
674
  }
654
- }), Se = {
675
+ }), Ce = {
655
676
  key: 0,
656
677
  class: "top-policy"
657
- }, Le = { class: "top-policy_title" }, Ee = ["innerHTML"], Xe = /* @__PURE__ */ M({
678
+ }, Be = { class: "top-policy_title" }, Ee = ["innerHTML"], He = /* @__PURE__ */ E({
658
679
  __name: "policy",
659
680
  props: {
660
681
  title: {},
@@ -662,36 +683,36 @@ const ce = { class: "top-editArea_footer" }, Ne = /* @__PURE__ */ M({
662
683
  acceptText: {}
663
684
  },
664
685
  emits: ["accept"],
665
- setup(a, { emit: e }) {
666
- const l = e, o = B(!0), u = () => {
667
- o.value = !1, l("accept");
686
+ setup(l, { emit: e }) {
687
+ const o = e, s = B(!0), p = () => {
688
+ s.value = !1, o("accept");
668
689
  };
669
- return (s, r) => o.value ? (d(), v("div", Se, [
670
- L("div", Le, _(s.title), 1),
671
- L("div", {
690
+ return (r, a) => s.value ? (d(), b("div", Ce, [
691
+ K("div", Be, C(r.title), 1),
692
+ K("div", {
672
693
  class: "top-policy_description",
673
- innerHTML: s.description
694
+ innerHTML: r.description
674
695
  }, null, 8, Ee),
675
- D(f(F), {
696
+ D(m(H), {
676
697
  size: "m",
677
- onClick: u
698
+ onClick: p
678
699
  }, {
679
- default: V(() => [
680
- E(_(s.acceptText), 1)
700
+ default: k(() => [
701
+ S(C(r.acceptText), 1)
681
702
  ]),
682
703
  _: 1
683
704
  })
684
- ])) : $("", !0);
705
+ ])) : I("", !0);
685
706
  }
686
707
  });
687
708
  export {
688
- He as TopCheckboxGroup,
689
- Ne as TopEditArea,
690
- qe as TopEditInput,
691
- We as TopInfo,
709
+ Oe as TopCheckboxGroup,
710
+ De as TopEditArea,
711
+ Ge as TopEditInput,
712
+ Fe as TopInfo,
692
713
  je as TopMenu,
693
- Xe as TopPolicy,
694
- Fe as TopRadioGroup,
695
- Ue as TopSelector2
714
+ He as TopPolicy,
715
+ Ne as TopRadioGroup,
716
+ qe as TopSelector2
696
717
  };
697
718
  //# sourceMappingURL=formsExt.js.map