@topvisor/ui 0.9.25 → 0.9.26-dev

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 (95) hide show
  1. package/.chunks/datepicker-BMrdz1zd.es.js +277 -0
  2. package/.chunks/datepicker-BMrdz1zd.es.js.map +1 -0
  3. package/.chunks/datepicker-C0rB8tdN.amd.js +234 -0
  4. package/.chunks/datepicker-C0rB8tdN.amd.js.map +1 -0
  5. package/.chunks/{forms-gb7uf2K8.es.js → forms-C4UtO06K.es.js} +230 -230
  6. package/.chunks/forms-C4UtO06K.es.js.map +1 -0
  7. package/.chunks/forms-DujTMzoW.amd.js +3 -0
  8. package/.chunks/forms-DujTMzoW.amd.js.map +1 -0
  9. package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-Caw4oFU-.es.js → listItem.vue_vue_type_script_setup_true_lang-CHYNz0kA.es.js} +2 -2
  10. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CHYNz0kA.es.js.map +1 -0
  11. package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-2TAzIZZA.amd.js → listItem.vue_vue_type_script_setup_true_lang-Ob3185Bq.amd.js} +2 -2
  12. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-Ob3185Bq.amd.js.map +1 -0
  13. package/.chunks/{popup-ZmdXZkvb.es.js → popup-B2BoAirk.es.js} +431 -431
  14. package/.chunks/popup-B2BoAirk.es.js.map +1 -0
  15. package/.chunks/{popup-Dfz5hkrQ.amd.js → popup-CyJ0WBUB.amd.js} +386 -386
  16. package/.chunks/popup-CyJ0WBUB.amd.js.map +1 -0
  17. package/.chunks/store-Bl79G7T_.amd.js.map +1 -1
  18. package/.chunks/store-PoMCiuBr.es.js.map +1 -1
  19. package/.chunks/{widgetInput-BxO9y9L7.amd.js → widgetInput-Ce8a61St.amd.js} +2 -2
  20. package/.chunks/widgetInput-Ce8a61St.amd.js.map +1 -0
  21. package/.chunks/{widgetInput-DPOH_qya.es.js → widgetInput-pNYn7i5g.es.js} +2 -2
  22. package/.chunks/widgetInput-pNYn7i5g.es.js.map +1 -0
  23. package/README.md +86 -86
  24. package/assets/forms.css +1 -1
  25. package/assets/formsExt.css +1 -1
  26. package/core/core.amd.js +1 -1
  27. package/core/core.js +1 -1
  28. package/forms/forms.amd.js +1 -1
  29. package/forms/forms.js +1 -1
  30. package/forms/helpers.amd.js.map +1 -1
  31. package/forms/helpers.js.map +1 -1
  32. package/formsExt/formsExt.amd.js +1 -1
  33. package/formsExt/formsExt.amd.js.map +1 -1
  34. package/formsExt/formsExt.js +317 -301
  35. package/formsExt/formsExt.js.map +1 -1
  36. package/icomoon/Read Me.txt +7 -7
  37. package/icomoon/demo-files/demo.css +161 -161
  38. package/icomoon/demo-files/demo.js +30 -30
  39. package/icomoon/demo.html +3225 -3225
  40. package/icomoon/fonts/Topvisor-2.svg +252 -252
  41. package/icomoon/style.css +707 -707
  42. package/package.json +20 -20
  43. package/popup/popup.amd.js +1 -1
  44. package/popup/popup.js +2 -2
  45. package/popup/worker.amd.js +1 -1
  46. package/popup/worker.amd.js.map +1 -1
  47. package/popup/worker.js +47 -47
  48. package/popup/worker.js.map +1 -1
  49. package/require/css.amd.js +11 -11
  50. package/src/components/forms/avatar/avatar.d.ts +9 -0
  51. package/src/components/forms/avatar/avatar.stories.d.ts +24 -0
  52. package/src/components/forms/avatar/avatar.vue.d.ts +12 -0
  53. package/src/components/formsExt/editArea/editArea.d.ts +16 -3
  54. package/src/components/formsExt/editArea/editArea.stories.d.ts +36 -20
  55. package/src/components/formsExt/editArea/editArea.vue.d.ts +12 -4
  56. package/src/components/popup/popup/popup.stories.d.ts +2 -2
  57. package/tabs/tabs.amd.js +1 -1
  58. package/tabs/tabs.js +1 -1
  59. package/tabsView/tabsView.amd.js +1 -1
  60. package/tabsView/tabsView.amd.js.map +1 -1
  61. package/tabsView/tabsView.js +2 -2
  62. package/tabsView/tabsView.js.map +1 -1
  63. package/utils/css.amd.js.map +1 -1
  64. package/utils/css.js.map +1 -1
  65. package/utils/date.amd.js +1 -1
  66. package/utils/date.js +1 -1
  67. package/utils/device.amd.js +1 -1
  68. package/utils/device.js +1 -1
  69. package/utils/dom.amd.js.map +1 -1
  70. package/utils/dom.js.map +1 -1
  71. package/utils/keyboard.amd.js.map +1 -1
  72. package/utils/keyboard.js.map +1 -1
  73. package/utils/route.amd.js.map +1 -1
  74. package/utils/route.js.map +1 -1
  75. package/utils/scroll.amd.js +1 -1
  76. package/utils/scroll.amd.js.map +1 -1
  77. package/utils/scroll.js +1 -1
  78. package/utils/scroll.js.map +1 -1
  79. package/utils/system.amd.js.map +1 -1
  80. package/utils/system.js.map +1 -1
  81. package/utils/window.amd.js +1 -1
  82. package/utils/window.js +1 -1
  83. package/.chunks/datepicker-B9eprAyk.amd.js +0 -234
  84. package/.chunks/datepicker-B9eprAyk.amd.js.map +0 -1
  85. package/.chunks/datepicker-C86O1mQq.es.js +0 -277
  86. package/.chunks/datepicker-C86O1mQq.es.js.map +0 -1
  87. package/.chunks/forms-DkNAMd-D.amd.js +0 -3
  88. package/.chunks/forms-DkNAMd-D.amd.js.map +0 -1
  89. package/.chunks/forms-gb7uf2K8.es.js.map +0 -1
  90. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-2TAzIZZA.amd.js.map +0 -1
  91. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-Caw4oFU-.es.js.map +0 -1
  92. package/.chunks/popup-Dfz5hkrQ.amd.js.map +0 -1
  93. package/.chunks/popup-ZmdXZkvb.es.js.map +0 -1
  94. package/.chunks/widgetInput-BxO9y9L7.amd.js.map +0 -1
  95. package/.chunks/widgetInput-DPOH_qya.es.js.map +0 -1
@@ -1,23 +1,24 @@
1
1
  import { insertToPage as Z } from "../utils/css.js";
2
- import { defineComponent as E, ref as b, watch as S, toRef as R, computed as U, openBlock as f, createElementBlock as h, normalizeClass as w, toDisplayString as $, createCommentVNode as M, createElementVNode as G, createVNode as O, withKeys as W, withModifiers as L, createBlock as I, withCtx as V, createTextVNode as k, mergeProps as D, renderSlot as j, mergeModels as H, useModel as F, Fragment as P, renderList as z, withDirectives as x, vModelRadio as ee, unref as T, onMounted as te, onUpdated as le, createSlots as X } from "vue";
3
- import { T as oe, B as N, a as K, I as ae, C as Q, i as se } from "../.chunks/forms-gb7uf2K8.es.js";
4
- import { invertKeyboardLayout as re } from "../utils/keyboard.js";
5
- import { _ as ne, b as Y } from "../.chunks/listItem.vue_vue_type_script_setup_true_lang-Caw4oFU-.es.js";
6
- import { P as ie } from "../.chunks/widgetInput-DPOH_qya.es.js";
7
- import { debounce as ue } from "lodash";
8
- const q = ["../assets/formsExt.css"].map((n) => import.meta.resolve(n));
2
+ import { defineComponent as L, ref as M, computed as O, resolveDirective as x, openBlock as m, createElementBlock as h, normalizeClass as I, toDisplayString as $, createCommentVNode as V, createElementVNode as G, withDirectives as R, createVNode as F, withKeys as D, withModifiers as S, createBlock as w, withCtx as _, createTextVNode as k, watch as K, toRef as ee, mergeProps as W, renderSlot as j, mergeModels as H, useModel as U, Fragment as P, renderList as z, vModelRadio as te, unref as T, onMounted as le, onUpdated as oe, createSlots as X } from "vue";
3
+ import { T as ae, B as N, a as E, I as se, C as Q, i as re } from "../.chunks/forms-C4UtO06K.es.js";
4
+ import { invertKeyboardLayout as ne } from "../utils/keyboard.js";
5
+ import { _ as ie, b as Y } from "../.chunks/listItem.vue_vue_type_script_setup_true_lang-CHYNz0kA.es.js";
6
+ import { P as ue } from "../.chunks/widgetInput-pNYn7i5g.es.js";
7
+ import { debounce as de } from "lodash";
8
+ const q = ["../assets/formsExt.css"].map((i) => import.meta.resolve(i));
9
9
  await Z(q);
10
- const de = {
11
- key: 0,
12
- class: "top-editArea_title"
13
- }, pe = { class: "top-editArea_footer" }, ce = /* @__PURE__ */ E({
10
+ const ce = { class: "top-editArea_footer" }, pe = /* @__PURE__ */ L({
14
11
  __name: "editArea",
15
12
  props: {
16
- modelValue: {},
13
+ defaultValue: { default: "" },
17
14
  title: {},
18
- cancelText: { default: "Отмена" },
19
- submitText: { default: "Отправить" },
15
+ cancelText: { default: "Cancel" },
16
+ submitText: { default: "Send" },
17
+ closeText: { default: "Close" },
18
+ isFocused: { type: Boolean },
19
+ forceShowCloseBtn: { type: Boolean },
20
20
  attachToKeyboard: { type: Boolean },
21
+ modelValue: {},
21
22
  name: {},
22
23
  placeholder: {},
23
24
  rows: {},
@@ -28,90 +29,105 @@ const de = {
28
29
  isError: { type: Boolean },
29
30
  hint: {}
30
31
  },
31
- emits: ["update:modelValue", "cancel"],
32
- setup(n, { emit: a }) {
33
- const e = n, o = a, y = b(""), v = b(e.modelValue);
34
- S(R(e, "modelValue"), () => {
35
- v.value = e.modelValue;
36
- });
37
- const p = U(() => v.value !== e.modelValue), c = (t) => {
38
- o("update:modelValue", t);
39
- }, m = () => {
40
- o("cancel"), v.value = e.modelValue;
32
+ emits: ["submit", "close", "clickOnTitle"],
33
+ setup(i, { emit: r }) {
34
+ const e = i, l = r, v = M(e.defaultValue), y = M(e.isFocused), u = O(() => v.value !== e.defaultValue), p = O(() => e.attachToKeyboard ? "" : e.forceShowCloseBtn && !u.value ? e.closeText : e.cancelText), c = (o) => {
35
+ l("submit", o), v.value = e.defaultValue;
36
+ }, s = () => {
37
+ if (e.forceShowCloseBtn && !u.value) {
38
+ l("close");
39
+ return;
40
+ }
41
+ v.value = e.defaultValue;
42
+ }, f = () => {
43
+ e.attachToKeyboard && l("clickOnTitle");
41
44
  };
42
- return (t, u) => (f(), h("div", {
43
- class: w({
44
- "top-editArea": !0,
45
- "top-editArea-attachedToKeyboard": t.attachToKeyboard
46
- })
47
- }, [
48
- t.title ? (f(), h("div", de, $(t.title), 1)) : M("", !0),
49
- G("div", {
50
- class: w({
51
- "top-editArea_form": !0,
52
- "top-error": t.isError,
53
- "top-focus": y.value == "focus"
45
+ return (o, a) => {
46
+ const A = x("focus");
47
+ return m(), h("div", {
48
+ class: I({
49
+ "top-editArea": !0,
50
+ "top-editArea-attachedToKeyboard": o.attachToKeyboard
54
51
  })
55
52
  }, [
56
- O(oe, {
57
- modelValue: v.value,
58
- "onUpdate:modelValue": u[0] || (u[0] = (r) => v.value = r),
59
- name: t.name,
60
- placeholder: t.placeholder,
61
- rows: t.rows,
62
- minHeight: t.minHeight,
63
- expandable: t.expandable,
64
- disabled: t.disabled,
65
- readonly: t.readonly,
66
- isError: t.isError,
67
- hint: t.hint,
68
- class: "top-editArea_element",
69
- onFocus: u[1] || (u[1] = (r) => y.value = "focus"),
70
- onBlur: u[2] || (u[2] = (r) => y.value = ""),
71
- onKeyup: [
72
- W(m, ["esc"]),
73
- u[3] || (u[3] = W(L((r) => c(v.value), ["ctrl"]), ["enter"]))
74
- ]
75
- }, null, 8, ["modelValue", "name", "placeholder", "rows", "minHeight", "expandable", "disabled", "readonly", "isError", "hint"]),
76
- G("div", pe, [
77
- p.value && (!t.attachToKeyboard || t.modelValue) ? (f(), I(N, {
78
- key: 0,
79
- class: "top-editArea_button",
80
- color: "theme",
81
- icon: t.attachToKeyboard ? "" : "",
82
- onClick: m
83
- }, {
84
- default: V(() => [
85
- k($(t.attachToKeyboard ? "" : t.cancelText), 1)
86
- ]),
87
- _: 1
88
- }, 8, ["icon"])) : M("", !0),
89
- O(N, {
90
- class: "top-editArea_button",
91
- icon: t.attachToKeyboard ? "" : "",
92
- onClick: u[4] || (u[4] = (r) => c(v.value))
93
- }, {
94
- default: V(() => [
95
- k($(t.attachToKeyboard ? "" : t.submitText), 1)
96
- ]),
97
- _: 1
98
- }, 8, ["icon"])
99
- ])
100
- ], 2)
101
- ], 2));
53
+ o.title ? (m(), h("div", {
54
+ key: 0,
55
+ class: "top-editArea_title",
56
+ onClick: a[0] || (a[0] = (g) => f())
57
+ }, $(o.title), 1)) : V("", !0),
58
+ G("div", {
59
+ class: I({
60
+ "top-editArea_form": !0,
61
+ "top-error": o.isError,
62
+ "top-editArea_form-focus": y.value
63
+ })
64
+ }, [
65
+ R(F(ae, {
66
+ modelValue: v.value,
67
+ "onUpdate:modelValue": a[1] || (a[1] = (g) => v.value = g),
68
+ name: o.name,
69
+ placeholder: o.placeholder,
70
+ rows: o.rows,
71
+ minHeight: o.minHeight,
72
+ expandable: o.expandable,
73
+ disabled: o.disabled,
74
+ readonly: o.readonly,
75
+ isError: o.isError,
76
+ hint: o.hint,
77
+ class: "top-editArea_element",
78
+ onFocus: a[2] || (a[2] = () => y.value = !0),
79
+ onBlur: a[3] || (a[3] = () => y.value = !1),
80
+ onKeyup: [
81
+ D(s, ["esc"]),
82
+ a[4] || (a[4] = D(S((g) => c(v.value), ["ctrl"]), ["enter"]))
83
+ ]
84
+ }, null, 8, ["modelValue", "name", "placeholder", "rows", "minHeight", "expandable", "disabled", "readonly", "isError", "hint"]), [
85
+ [A, y.value]
86
+ ]),
87
+ G("div", ce, [
88
+ u.value || o.forceShowCloseBtn ? (m(), w(N, {
89
+ key: 0,
90
+ class: "top-editArea_button",
91
+ color: "theme",
92
+ icon: o.attachToKeyboard ? "" : "",
93
+ onClick: s
94
+ }, {
95
+ default: _(() => [
96
+ k($(p.value), 1)
97
+ ]),
98
+ _: 1
99
+ }, 8, ["icon"])) : V("", !0),
100
+ u.value ? (m(), w(N, {
101
+ key: 1,
102
+ class: "top-editArea_button",
103
+ icon: o.attachToKeyboard ? "" : "",
104
+ onClick: a[5] || (a[5] = (g) => c(v.value))
105
+ }, {
106
+ default: _(() => [
107
+ k($(o.attachToKeyboard ? "" : o.submitText), 1)
108
+ ]),
109
+ _: 1
110
+ }, 8, ["icon"])) : V("", !0)
111
+ ])
112
+ ], 2)
113
+ ], 2);
114
+ };
102
115
  }
103
116
  }), me = {
104
117
  "top-editArea": "top-editArea",
105
118
  "top-editArea_title": "top-editArea_title",
106
119
  "top-editArea_form": "top-editArea_form",
120
+ "top-editArea_form-focus": "top-editArea_form-focus",
107
121
  "top-textarea": "top-textarea",
108
122
  "top-editArea_element": "top-editArea_element",
109
123
  "top-textarea_textarea": "top-textarea_textarea",
110
124
  "top-editArea_footer": "top-editArea_footer",
111
- "top-editArea-attachedToKeyboard": "top-editArea-attachedToKeyboard"
125
+ "top-editArea-attachedToKeyboard": "top-editArea-attachedToKeyboard",
126
+ "top-button": "top-button",
127
+ "top-editArea_button": "top-editArea_button"
112
128
  }, fe = {
113
129
  $style: me
114
- }, Xe = /* @__PURE__ */ K(ce, [["__cssModules", fe]]), ve = { class: "top-editInput" }, ye = /* @__PURE__ */ E({
130
+ }, Xe = /* @__PURE__ */ E(pe, [["__cssModules", fe]]), ve = { class: "top-editInput" }, ye = /* @__PURE__ */ L({
115
131
  __name: "editInput",
116
132
  props: {
117
133
  modelValue: {},
@@ -119,31 +135,31 @@ const de = {
119
135
  button: {}
120
136
  },
121
137
  emits: ["update:modelValue"],
122
- setup(n, { emit: a }) {
123
- const e = n, o = b(e.modelValue);
124
- S(R(e.modelValue), () => {
125
- o.value = e.modelValue;
138
+ setup(i, { emit: r }) {
139
+ const e = i, l = M(e.modelValue);
140
+ K(ee(e.modelValue), () => {
141
+ l.value = e.modelValue;
126
142
  });
127
- const y = a, v = () => {
128
- y("update:modelValue", o.value);
143
+ const v = r, y = () => {
144
+ v("update:modelValue", l.value);
129
145
  };
130
- return (p, c) => (f(), h("div", ve, [
131
- O(ae, D(p.input, {
132
- onKeydownCapture: c[0] || (c[0] = W(L((m) => o.value = p.modelValue, ["stop"]), ["esc"])),
133
- onKeydown: W(L(v, ["stop"]), ["enter"]),
134
- modelValue: o.value,
135
- "onUpdate:modelValue": c[1] || (c[1] = (m) => o.value = m)
146
+ return (u, p) => (m(), h("div", ve, [
147
+ F(se, W(u.input, {
148
+ onKeydownCapture: p[0] || (p[0] = D(S((c) => l.value = u.modelValue, ["stop"]), ["esc"])),
149
+ onKeydown: D(S(y, ["stop"]), ["enter"]),
150
+ modelValue: l.value,
151
+ "onUpdate:modelValue": p[1] || (p[1] = (c) => l.value = c)
136
152
  }), null, 16, ["onKeydown", "modelValue"]),
137
- o.value !== p.modelValue ? (f(), I(N, D({
153
+ l.value !== u.modelValue ? (m(), w(N, W({
138
154
  key: 0,
139
155
  icon: "",
140
156
  styling: "soft"
141
- }, p.button, { onClick: v }), {
142
- default: V(() => [
143
- j(p.$slots, "default")
157
+ }, u.button, { onClick: y }), {
158
+ default: _(() => [
159
+ j(u.$slots, "default")
144
160
  ]),
145
161
  _: 3
146
- }, 16)) : M("", !0)
162
+ }, 16)) : V("", !0)
147
163
  ]));
148
164
  }
149
165
  }), he = {
@@ -151,10 +167,10 @@ const de = {
151
167
  "top-input": "top-input"
152
168
  }, Ae = {
153
169
  $style: he
154
- }, Ye = /* @__PURE__ */ K(ye, [["__cssModules", Ae]]), ge = ["data-top-icon", "onClick"], Ve = {
170
+ }, Ye = /* @__PURE__ */ E(ye, [["__cssModules", Ae]]), ge = ["data-top-icon", "onClick"], be = {
155
171
  key: 0,
156
172
  class: "top-radioGroup_circle"
157
- }, be = ["value", "disabled"], _e = /* @__PURE__ */ E({
173
+ }, _e = ["value", "disabled"], Ve = /* @__PURE__ */ L({
158
174
  __name: "radioGroup",
159
175
  props: /* @__PURE__ */ H({
160
176
  modelValue: {},
@@ -169,46 +185,46 @@ const de = {
169
185
  modelModifiers: {}
170
186
  }),
171
187
  emits: /* @__PURE__ */ H(["update:modelValue"], ["update:modelValue"]),
172
- setup(n, { emit: a }) {
173
- const e = F(n, "modelValue"), o = n, y = b(null);
174
- S(e, () => {
175
- var p, c, m, t, u;
176
- (p = o.radiosProps) != null && p.some((r) => r.value === e.value) || (e.value = ((m = (c = o.radiosProps) == null ? void 0 : c[0]) == null ? void 0 : m.value) ?? ""), (u = (t = y.value) == null ? void 0 : t.querySelector(".radioGroup_item-selected")) == null || u.scrollIntoView();
188
+ setup(i, { emit: r }) {
189
+ const e = U(i, "modelValue"), l = i, v = M(null);
190
+ K(e, () => {
191
+ var u, p, c, s, f;
192
+ (u = l.radiosProps) != null && u.some((o) => o.value === e.value) || (e.value = ((c = (p = l.radiosProps) == null ? void 0 : p[0]) == null ? void 0 : c.value) ?? ""), (f = (s = v.value) == null ? void 0 : s.querySelector(".radioGroup_item-selected")) == null || f.scrollIntoView();
177
193
  }, { immediate: !0 });
178
- const v = "radioGroup-" + Math.random();
179
- return (p, c) => (f(), h("div", {
194
+ const y = "radioGroup-" + Math.random();
195
+ return (u, p) => (m(), h("div", {
180
196
  ref_key: "elRef",
181
- ref: y,
182
- class: w({
197
+ ref: v,
198
+ class: I({
183
199
  "top-radioGroup": !0,
184
200
  "top-scrollBarXHidding": !0,
185
- ["top-size_" + p.size]: !!p.size,
186
- "top-error": p.isError
201
+ ["top-size_" + u.size]: !!u.size,
202
+ "top-error": u.isError
187
203
  })
188
204
  }, [
189
- (f(!0), h(P, null, z(p.radiosProps, (m) => (f(), h("label", {
190
- class: w({
191
- "top-radioGroup_item-selected": m.value === e.value,
205
+ (m(!0), h(P, null, z(u.radiosProps, (c) => (m(), h("label", {
206
+ class: I({
207
+ "top-radioGroup_item-selected": c.value === e.value,
192
208
  "top-radioGroup_item": !0,
193
209
  "top-forms-focusable": !0,
194
- "top-disabled": m.disabled
210
+ "top-disabled": c.disabled
195
211
  }),
196
- "data-top-icon": m.icon,
197
- onClick: (t) => e.value = m.value
212
+ "data-top-icon": c.icon,
213
+ onClick: (s) => e.value = c.value
198
214
  }, [
199
- k($(m.title) + " ", 1),
200
- p.showIndicator ? (f(), h("span", Ve)) : M("", !0),
201
- x(G("input", {
202
- "onUpdate:modelValue": c[0] || (c[0] = (t) => e.value = t),
203
- name: v,
215
+ k($(c.title) + " ", 1),
216
+ u.showIndicator ? (m(), h("span", be)) : V("", !0),
217
+ R(G("input", {
218
+ "onUpdate:modelValue": p[0] || (p[0] = (s) => e.value = s),
219
+ name: y,
204
220
  type: "radio",
205
- class: w({
221
+ class: I({
206
222
  "top-unvisible": !0
207
223
  }),
208
- value: m.value,
209
- disabled: m.disabled
210
- }, null, 8, be), [
211
- [ee, e.value]
224
+ value: c.value,
225
+ disabled: c.disabled
226
+ }, null, 8, _e), [
227
+ [te, e.value]
212
228
  ])
213
229
  ], 10, ge))), 256))
214
230
  ], 2));
@@ -221,66 +237,66 @@ const de = {
221
237
  "top-radioGroup_circle": "top-radioGroup_circle",
222
238
  "top-disabled": "top-disabled",
223
239
  "top-error": "top-error"
224
- }, $e = {
240
+ }, we = {
225
241
  $style: Me
226
- }, Re = /* @__PURE__ */ K(_e, [["__cssModules", $e]]), Ie = (n, a, e) => {
227
- const o = b([]), y = b(!1);
228
- let v = "", p;
229
- n && !n.params.limit && (n.params.limit = 100);
230
- const c = async () => {
231
- if (!n)
242
+ }, Re = /* @__PURE__ */ E(Ve, [["__cssModules", we]]), $e = (i, r, e) => {
243
+ const l = M([]), v = M(!1);
244
+ let y = "", u;
245
+ i && !i.params.limit && (i.params.limit = 100);
246
+ const p = async () => {
247
+ if (!i)
232
248
  return;
233
- let d, A;
234
- if (e && (n.cache ??= /* @__PURE__ */ new Map(), A = JSON.stringify(n.params), d = n.cache.get(A), d))
235
- return d;
236
- if (y.value = !0, d = await n.call(), y.value = !1, d.errors)
249
+ let a, A;
250
+ if (e && (i.cache ??= /* @__PURE__ */ new Map(), A = JSON.stringify(i.params), a = i.cache.get(A), a))
251
+ return a;
252
+ if (v.value = !0, a = await i.call(), v.value = !1, a.errors)
237
253
  return;
238
- if (!Array.isArray(d.result)) {
254
+ if (!Array.isArray(a.result)) {
239
255
  console.warn("В result ожидался массив");
240
256
  return;
241
257
  }
242
- const _ = d.result.findIndex((C) => C.id === void 0 || C.name === void 0);
243
- if (_ !== -1) {
244
- console.warn(`В result[${_}] нет id или name`);
258
+ const g = a.result.findIndex((C) => C.id === void 0 || C.name === void 0);
259
+ if (g !== -1) {
260
+ console.warn(`В result[${g}] нет id или name`);
245
261
  return;
246
262
  }
247
- return e && n.cache.set(A, d), d;
248
- }, m = async () => {
249
- if (!n)
263
+ return e && i.cache.set(A, a), a;
264
+ }, c = async () => {
265
+ if (!i)
250
266
  return;
251
- n.params.offset = 0, n.params.search = v;
252
- const d = await c();
253
- d && (p = d.nextOffset, o.value = d.result);
254
- }, t = async () => {
255
- if (!n || !p || y.value)
267
+ i.params.offset = 0, i.params.search = y;
268
+ const a = await p();
269
+ a && (u = a.nextOffset, l.value = a.result);
270
+ }, s = async () => {
271
+ if (!i || !u || v.value)
256
272
  return;
257
- n.params.offset = p, n.params.search = v;
258
- const d = await c();
259
- d && (p = d.nextOffset, o.value = o.value.concat(d.result));
260
- }, u = ue(() => m(), 200);
273
+ i.params.offset = u, i.params.search = y;
274
+ const a = await p();
275
+ a && (u = a.nextOffset, l.value = l.value.concat(a.result));
276
+ }, f = de(() => c(), 200);
261
277
  return {
262
- items: o,
263
- isLoading: y,
264
- loadAppend: t,
265
- setSearchTextAndLoad: (d, A = !0) => {
266
- n && (d.length < a || d === v && o.value.length || (v = d, A ? u() : m()));
278
+ items: l,
279
+ isLoading: v,
280
+ loadAppend: s,
281
+ setSearchTextAndLoad: (a, A = !0) => {
282
+ i && (a.length < r || a === y && l.value.length || (y = a, A ? f() : c()));
267
283
  }
268
284
  };
269
- }, we = { class: "top-selector2_itemMulti top-ellipsis" }, ke = /* @__PURE__ */ E({
285
+ }, Ie = { class: "top-selector2_itemMulti top-ellipsis" }, ke = /* @__PURE__ */ L({
270
286
  __name: "itemMulti",
271
287
  props: {
272
288
  id: {},
273
289
  name: {}
274
290
  },
275
291
  emits: ["delete"],
276
- setup(n) {
277
- return (a, e) => (f(), h("div", we, [
278
- k($(a.name) + " ", 1),
292
+ setup(i) {
293
+ return (r, e) => (m(), h("div", Ie, [
294
+ k($(r.name) + " ", 1),
279
295
  G("span", {
280
296
  class: "top-selector2_itemMultiDelete",
281
297
  "data-top-icon": "",
282
- onClick: e[0] || (e[0] = (o) => a.$emit("delete", a.id)),
283
- onMousedown: e[1] || (e[1] = L(() => {
298
+ onClick: e[0] || (e[0] = (l) => r.$emit("delete", r.id)),
299
+ onMousedown: e[1] || (e[1] = S(() => {
284
300
  }, ["stop"]))
285
301
  }, null, 32)
286
302
  ]));
@@ -292,13 +308,13 @@ const de = {
292
308
  "top-active": "top-active"
293
309
  }, Te = {
294
310
  $style: Be
295
- }, Ce = /* @__PURE__ */ K(ke, [["__cssModules", Te]]), Se = {
311
+ }, Ce = /* @__PURE__ */ E(ke, [["__cssModules", Te]]), Se = {
296
312
  key: 0,
297
313
  class: "top-selector2_activeItems"
298
314
  }, Le = {
299
315
  key: 1,
300
316
  class: "top-selector2_activeName top-ellipsis"
301
- }, Ee = /* @__PURE__ */ E({
317
+ }, Ee = /* @__PURE__ */ L({
302
318
  __name: "selector2",
303
319
  props: /* @__PURE__ */ H({
304
320
  modelValue: {},
@@ -320,132 +336,132 @@ const de = {
320
336
  modelModifiers: {}
321
337
  }),
322
338
  emits: ["update:modelValue"],
323
- setup(n) {
324
- const a = n, e = F(n, "modelValue"), o = b(""), y = {
339
+ setup(i) {
340
+ const r = i, e = U(i, "modelValue"), l = M(""), v = {
325
341
  id: 0,
326
342
  name: "Все"
327
- }, v = b(null), p = () => {
328
- var l;
329
- return (l = v.value) == null ? void 0 : l.popup;
343
+ }, y = M(null), u = () => {
344
+ var t;
345
+ return (t = y.value) == null ? void 0 : t.popup;
330
346
  };
331
- window.__STORYBOOK_PREVIEW__ && !a.modelValue && S(
332
- () => a.multiselect,
347
+ window.__STORYBOOK_PREVIEW__ && !r.modelValue && K(
348
+ () => r.multiselect,
333
349
  () => {
334
- e.value = a.multiselect ? [] : { id: null, name: "" };
350
+ e.value = r.multiselect ? [] : { id: null, name: "" };
335
351
  },
336
352
  { immediate: !0 }
337
353
  );
338
- const c = Ie(a.apiRequest, a.minLength, a.useCache), m = U(() => {
339
- const l = [];
340
- return !a.multiselect && a.appendAllValue && l.push(y), a.items.forEach((i) => l.push({ ...i })), l;
341
- }), t = (l, i = !0) => i && l.id === null ? Array.isArray(e.value) ? e.value.some((s) => s.id === l.id && s.name === l.name) : l.name === e.value.name : Array.isArray(e.value) ? e.value.some((s) => s.id === l.id) : l.id === e.value.id, u = U(() => {
342
- const l = o.value.toLowerCase(), i = re(l);
343
- let s = [];
344
- return m.value.forEach((g) => {
345
- const B = g.name.toLowerCase();
346
- (g.id === Number(l) || B.includes(l) || B.includes(i)) && (B === l || B === i ? s.unshift(g) : s.push(g));
347
- }), s.push(...c.items.value), a.appendSearchToResult && o.value && (!s.length || s[0].name.toLowerCase() !== l) && s.push({
354
+ const p = $e(r.apiRequest, r.minLength, r.useCache), c = O(() => {
355
+ const t = [];
356
+ return !r.multiselect && r.appendAllValue && t.push(v), r.items.forEach((d) => t.push({ ...d })), t;
357
+ }), s = (t, d = !0) => d && t.id === null ? Array.isArray(e.value) ? e.value.some((n) => n.id === t.id && n.name === t.name) : t.name === e.value.name : Array.isArray(e.value) ? e.value.some((n) => n.id === t.id) : t.id === e.value.id, f = O(() => {
358
+ const t = l.value.toLowerCase(), d = ne(t);
359
+ let n = [];
360
+ return c.value.forEach((b) => {
361
+ const B = b.name.toLowerCase();
362
+ (b.id === Number(t) || B.includes(t) || B.includes(d)) && (B === t || B === d ? n.unshift(b) : n.push(b));
363
+ }), n.push(...p.items.value), r.appendSearchToResult && l.value && (!n.length || n[0].name.toLowerCase() !== t) && n.push({
348
364
  id: null,
349
- name: o.value
350
- }), a.multiselect && (s = s.filter((g) => !t(g))), s;
351
- }), r = async (l) => {
352
- var i, s;
353
- if (a.multiselect) {
354
- if (!Array.isArray(e.value) || t(l))
365
+ name: l.value
366
+ }), r.multiselect && (n = n.filter((b) => !s(b))), n;
367
+ }), o = async (t) => {
368
+ var d, n;
369
+ if (r.multiselect) {
370
+ if (!Array.isArray(e.value) || s(t))
355
371
  return;
356
- const g = [...e.value];
357
- g.push({ ...l }), e.value = g, Q.state.isMobile ? (i = p()) == null || i.close() : setTimeout(() => {
372
+ const b = [...e.value];
373
+ b.push({ ...t }), e.value = b, Q.state.isMobile ? (d = u()) == null || d.close() : setTimeout(() => {
358
374
  var B, J;
359
- (B = p()) == null || B.recalcPosition(), (J = p()) == null || J.elPopupWidget.querySelector("input").focus(), o.value && (u.value.length || (o.value = "", c.items.value = []));
375
+ (B = u()) == null || B.recalcPosition(), (J = u()) == null || J.elPopupWidget.querySelector("input").focus(), l.value && (f.value.length || (l.value = "", p.items.value = []));
360
376
  });
361
377
  } else
362
- o.value && (o.value = "", c.items.value = []), JSON.stringify(l) !== JSON.stringify(e.value) && (e.value = { ...l }), (s = p()) == null || s.close();
363
- }, d = () => {
378
+ l.value && (l.value = "", p.items.value = []), JSON.stringify(t) !== JSON.stringify(e.value) && (e.value = { ...t }), (n = u()) == null || n.close();
379
+ }, a = () => {
364
380
  if (!Array.isArray(e.value)) {
365
- const i = (m.value.findIndex((s) => s.id === e.value.id) + 1) % m.value.length;
366
- e.value = { ...m.value[i] };
381
+ const d = (c.value.findIndex((n) => n.id === e.value.id) + 1) % c.value.length;
382
+ e.value = { ...c.value[d] };
367
383
  }
368
- }, A = async (l) => {
369
- Array.isArray(e.value) && (e.value = e.value.filter((i) => i.id !== l), setTimeout(() => {
370
- var i;
371
- (i = p()) == null || i.recalcPosition();
384
+ }, A = async (t) => {
385
+ Array.isArray(e.value) && (e.value = e.value.filter((d) => d.id !== t), setTimeout(() => {
386
+ var d;
387
+ (d = u()) == null || d.recalcPosition();
372
388
  }));
373
- }, _ = b(!1);
374
- a.apiRequest && (S(_, () => {
375
- _.value && c.setSearchTextAndLoad(o.value, !1);
376
- }), S(o, () => c.setSearchTextAndLoad(o.value)));
377
- const C = (l) => {
378
- const i = l.target;
379
- i.scrollTop / (i.scrollHeight - i.offsetHeight) > 0.8 && c.loadAppend();
389
+ }, g = M(!1);
390
+ r.apiRequest && (K(g, () => {
391
+ g.value && p.setSearchTextAndLoad(l.value, !1);
392
+ }), K(l, () => p.setSearchTextAndLoad(l.value)));
393
+ const C = (t) => {
394
+ const d = t.target;
395
+ d.scrollTop / (d.scrollHeight - d.offsetHeight) > 0.8 && p.loadAppend();
380
396
  };
381
- return (l, i) => (f(), I(T(ne), {
397
+ return (t, d) => (m(), w(T(ie), {
382
398
  ref_key: "popupRef",
383
- ref: v,
384
- onOpen: i[1] || (i[1] = (s) => _.value = !0),
385
- onClose: i[2] || (i[2] = (s) => _.value = !1),
386
- onScrollContentList: i[3] || (i[3] = (s) => l.apiRequest ? C(s) : void 0),
399
+ ref: y,
400
+ onOpen: d[1] || (d[1] = (n) => g.value = !0),
401
+ onClose: d[2] || (d[2] = (n) => g.value = !1),
402
+ onScrollContentList: d[3] || (d[3] = (n) => t.apiRequest ? C(n) : void 0),
387
403
  notch: !1,
388
404
  transitionDuration: 0
389
405
  }, {
390
- opener: V(() => [
406
+ opener: _(() => [
391
407
  G("div", {
392
- class: w({
408
+ class: I({
393
409
  "top-selector2": !0,
394
- "top-selector2-multiselect": l.multiselect,
395
- ["top-size_" + l.size]: !0,
396
- "top-disabled": l.disabled,
397
- "top-forms-focusable": !l.disabled,
398
- "top-error": l.isError
410
+ "top-selector2-multiselect": t.multiselect,
411
+ ["top-size_" + t.size]: !0,
412
+ "top-disabled": t.disabled,
413
+ "top-forms-focusable": !t.disabled,
414
+ "top-error": t.isError
399
415
  })
400
416
  }, [
401
- l.multiselect ? (f(), h("div", Se, [
402
- (f(!0), h(P, null, z(e.value, (s) => (f(), I(Ce, {
403
- id: s.id,
404
- name: s.name,
417
+ t.multiselect ? (m(), h("div", Se, [
418
+ (m(!0), h(P, null, z(e.value, (n) => (m(), w(Ce, {
419
+ id: n.id,
420
+ name: n.name,
405
421
  onDelete: A
406
422
  }, null, 8, ["id", "name"]))), 256))
407
- ])) : M("", !0),
408
- l.multiselect ? M("", !0) : (f(), h("span", Le, $(Array.isArray(e.value) ? "" : e.value.name), 1)),
409
- l.addChanger && !l.multiselect && m.value.length > 1 && !l.disabled ? (f(), h("span", {
423
+ ])) : V("", !0),
424
+ t.multiselect ? V("", !0) : (m(), h("span", Le, $(Array.isArray(e.value) ? "" : e.value.name), 1)),
425
+ t.addChanger && !t.multiselect && c.value.length > 1 && !t.disabled ? (m(), h("span", {
410
426
  key: 2,
411
427
  class: "top-changer top-changer-selector",
412
- onClick: L(d, ["stop"])
413
- })) : M("", !0)
428
+ onClick: S(a, ["stop"])
429
+ })) : V("", !0)
414
430
  ], 2)
415
431
  ]),
416
- widget: V(() => [
417
- O(T(ie), {
432
+ widget: _(() => [
433
+ F(T(ue), {
418
434
  title: "Поиск",
419
435
  icon: "",
420
- modelValue: o.value,
421
- "onUpdate:modelValue": i[0] || (i[0] = (s) => o.value = s),
422
- isLoading: T(c).isLoading.value,
423
- placeholder: !Array.isArray(e.value) && !l.multiselect && l.showSelectedInInput ? e.value.name : l.placeholder
436
+ modelValue: l.value,
437
+ "onUpdate:modelValue": d[0] || (d[0] = (n) => l.value = n),
438
+ isLoading: T(p).isLoading.value,
439
+ placeholder: !Array.isArray(e.value) && !t.multiselect && t.showSelectedInInput ? e.value.name : t.placeholder
424
440
  }, null, 8, ["modelValue", "isLoading", "placeholder"])
425
441
  ]),
426
- contentList: V(() => [
427
- (f(!0), h(P, null, z(u.value, (s) => (f(), I(T(Y), {
428
- class: w({
429
- "top-active": !Array.isArray(e.value) && !l.multiselect && e.value.name === s.name
442
+ contentList: _(() => [
443
+ (m(!0), h(P, null, z(f.value, (n) => (m(), w(T(Y), {
444
+ class: I({
445
+ "top-active": !Array.isArray(e.value) && !t.multiselect && e.value.name === n.name
430
446
  }),
431
- key: s.id ?? void 0,
432
- onClick: L((g) => r(s), ["stop"])
447
+ key: n.id ?? void 0,
448
+ onClick: S((b) => o(n), ["stop"])
433
449
  }, {
434
- default: V(() => [
435
- l.$slots.item ? j(l.$slots, "item", {
450
+ default: _(() => [
451
+ t.$slots.item ? j(t.$slots, "item", {
436
452
  key: 0,
437
- item: s
438
- }) : (f(), h(P, { key: 1 }, [
439
- k($(s.name), 1)
453
+ item: n
454
+ }) : (m(), h(P, { key: 1 }, [
455
+ k($(n.name), 1)
440
456
  ], 64))
441
457
  ]),
442
458
  _: 2
443
459
  }, 1032, ["class", "onClick"]))), 128)),
444
- u.value.length ? M("", !0) : (f(), I(T(Y), {
460
+ f.value.length ? V("", !0) : (m(), w(T(Y), {
445
461
  key: 0,
446
462
  type: "regular"
447
463
  }, {
448
- default: V(() => [
464
+ default: _(() => [
449
465
  k(" Нет результатов ")
450
466
  ]),
451
467
  _: 1
@@ -463,7 +479,7 @@ const de = {
463
479
  "top-changer-selector": "top-changer-selector"
464
480
  }, Pe = {
465
481
  $style: Ke
466
- }, je = /* @__PURE__ */ K(Ee, [["__cssModules", Pe]]), Ge = /* @__PURE__ */ E({
482
+ }, je = /* @__PURE__ */ E(Ee, [["__cssModules", Pe]]), Ge = /* @__PURE__ */ L({
467
483
  __name: "menu",
468
484
  props: /* @__PURE__ */ H({
469
485
  modelValue: {},
@@ -479,85 +495,85 @@ const de = {
479
495
  modelModifiers: {}
480
496
  }),
481
497
  emits: ["update:modelValue"],
482
- setup(n) {
483
- const a = n, e = F(n, "modelValue"), o = b();
484
- !a.isMultiple && !(typeof e.value == "string" || e.value instanceof String) && console.warn('Type check failed for prop "modelValue". Expected String: ' + typeof e.value), a.isMultiple && !Array.isArray(e.value) && console.warn('Type check failed for prop "modelValue". Expected Array: ' + typeof e.value), a.isMultiple && !a.canBeEmptyMultiple && Array.isArray(e.value) && !e.value.length && (e.value = [a.items[0].href ?? a.items[0].value]);
485
- const y = (t) => Array.isArray(e.value) ? e.value.includes(t.value) : t.value === e.value, v = (t, u = !1) => {
498
+ setup(i) {
499
+ const r = i, e = U(i, "modelValue"), l = M();
500
+ !r.isMultiple && !(typeof e.value == "string" || e.value instanceof String) && console.warn('Type check failed for prop "modelValue". Expected String: ' + typeof e.value), r.isMultiple && !Array.isArray(e.value) && console.warn('Type check failed for prop "modelValue". Expected Array: ' + typeof e.value), r.isMultiple && !r.canBeEmptyMultiple && Array.isArray(e.value) && !e.value.length && (e.value = [r.items[0].href ?? r.items[0].value]);
501
+ const v = (s) => Array.isArray(e.value) ? e.value.includes(s.value) : s.value === e.value, y = (s, f = !1) => {
486
502
  if (Array.isArray(e.value)) {
487
- let r = e.value.slice();
488
- if (u) {
489
- r.length || (r = a.items.map((A) => A.value));
490
- const d = r.indexOf(t.value);
491
- d === -1 ? r.push(t.value) : r.splice(d, 1);
503
+ let o = e.value.slice();
504
+ if (f) {
505
+ o.length || (o = r.items.map((A) => A.value));
506
+ const a = o.indexOf(s.value);
507
+ a === -1 ? o.push(s.value) : o.splice(a, 1);
492
508
  } else
493
- r.length === 1 && r[0] === t.value ? r = [] : r = [t.value];
494
- !a.canBeEmptyMultiple && !r.length && (r = [t.value]), e.value = r;
509
+ o.length === 1 && o[0] === s.value ? o = [] : o = [s.value];
510
+ !r.canBeEmptyMultiple && !o.length && (o = [s.value]), e.value = o;
495
511
  return;
496
512
  }
497
- e.value = t.value;
498
- }, p = (t) => {
499
- if (o.value.scrollWidth <= o.value.offsetWidth || t.shiftKey || Math.abs(t.deltaY) < 50)
513
+ e.value = s.value;
514
+ }, u = (s) => {
515
+ if (l.value.scrollWidth <= l.value.offsetWidth || s.shiftKey || Math.abs(s.deltaY) < 50)
500
516
  return;
501
- t.preventDefault();
502
- const u = t.deltaY > 0 ? 30 : -30;
503
- o.value.scrollLeft = o.value.scrollLeft + u;
504
- }, c = (t = !0) => {
505
- var i, s;
506
- const u = o.value.querySelector(".top-active");
507
- if (!u)
517
+ s.preventDefault();
518
+ const f = s.deltaY > 0 ? 30 : -30;
519
+ l.value.scrollLeft = l.value.scrollLeft + f;
520
+ }, p = (s = !0) => {
521
+ var d, n;
522
+ const f = l.value.querySelector(".top-active");
523
+ if (!f)
508
524
  return;
509
- const r = 24, d = u.offsetLeft - o.value.offsetLeft - r, A = u.offsetLeft - o.value.offsetLeft + u.clientWidth + r, _ = o.value.scrollLeft, C = o.value.clientWidth + o.value.scrollLeft;
510
- let l = null;
511
- d < _ && (l = d), A > C && (l = A - o.value.clientWidth), l !== null && (se() ? (s = (i = Q).$) == null || s.call(i, o.value).animate({ scrollLeft: l }, t ? 200 : 0) : o.value.scrollTo({ left: l, behavior: t ? "smooth" : "auto" }));
512
- }, m = () => {
525
+ const o = 24, a = f.offsetLeft - l.value.offsetLeft - o, A = f.offsetLeft - l.value.offsetLeft + f.clientWidth + o, g = l.value.scrollLeft, C = l.value.clientWidth + l.value.scrollLeft;
526
+ let t = null;
527
+ a < g && (t = a), A > C && (t = A - l.value.clientWidth), t !== null && (re() ? (n = (d = Q).$) == null || n.call(d, l.value).animate({ scrollLeft: t }, s ? 200 : 0) : l.value.scrollTo({ left: t, behavior: s ? "smooth" : "auto" }));
528
+ }, c = () => {
513
529
  if (Array.isArray(e.value)) {
514
- if (e.value.length === a.items.length) {
515
- e.value = [a.items[0].href ?? a.items[0].value];
530
+ if (e.value.length === r.items.length) {
531
+ e.value = [r.items[0].href ?? r.items[0].value];
516
532
  return;
517
533
  }
518
- e.value = a.items.map((t) => t.href ?? t.value);
534
+ e.value = r.items.map((s) => s.href ?? s.value);
519
535
  }
520
536
  };
521
- return te(() => c(!1)), le(() => c(!0)), (t, u) => (f(), h("div", {
537
+ return le(() => p(!1)), oe(() => p(!0)), (s, f) => (m(), h("div", {
522
538
  ref_key: "el",
523
- ref: o,
524
- class: w({
539
+ ref: l,
540
+ class: I({
525
541
  "top-menu": !0,
526
- ["top-style_" + t.styling]: !0,
527
- "top-unwrap-x": t.styling === "default"
542
+ ["top-style_" + s.styling]: !0,
543
+ "top-unwrap-x": s.styling === "default"
528
544
  }),
529
- onWheel: p
545
+ onWheel: u
530
546
  }, [
531
- (f(!0), h(P, null, z(t.items, (r) => (f(), I(T(N), D({ ref_for: !0 }, r, {
547
+ (m(!0), h(P, null, z(s.items, (o) => (m(), w(T(N), W({ ref_for: !0 }, o, {
532
548
  class: "top-menu_item",
533
549
  color: "theme",
534
550
  styling: "",
535
- onClick: (d) => v(r, d.ctrlKey),
536
- isActive: y(r)
551
+ onClick: (a) => y(o, a.ctrlKey),
552
+ isActive: v(o)
537
553
  }), X({ _: 2 }, [
538
- r.content ? {
554
+ o.content ? {
539
555
  name: "default",
540
- fn: V(() => [
541
- k($(r.content), 1)
556
+ fn: _(() => [
557
+ k($(o.content), 1)
542
558
  ]),
543
559
  key: "0"
544
560
  } : void 0
545
561
  ]), 1040, ["onClick", "isActive"]))), 256)),
546
- Array.isArray(e.value) && t.selectAllItem ? (f(), I(T(N), D({ key: 0 }, t.selectAllItem, {
562
+ Array.isArray(e.value) && s.selectAllItem ? (m(), w(T(N), W({ key: 0 }, s.selectAllItem, {
547
563
  class: "top-menu_item",
548
564
  color: "theme",
549
565
  styling: "",
550
- onClick: u[0] || (u[0] = (r) => m()),
551
- isActive: e.value.length === t.items.length
566
+ onClick: f[0] || (f[0] = (o) => c()),
567
+ isActive: e.value.length === s.items.length
552
568
  }), X({ _: 2 }, [
553
- t.selectAllItem.content ? {
569
+ s.selectAllItem.content ? {
554
570
  name: "default",
555
- fn: V(() => [
556
- k($(t.selectAllItem.content), 1)
571
+ fn: _(() => [
572
+ k($(s.selectAllItem.content), 1)
557
573
  ]),
558
574
  key: "0"
559
575
  } : void 0
560
- ]), 1040, ["isActive"])) : M("", !0)
576
+ ]), 1040, ["isActive"])) : V("", !0)
561
577
  ], 34));
562
578
  }
563
579
  }), Ne = {
@@ -569,7 +585,7 @@ const de = {
569
585
  "top-unwrap-x": "top-unwrap-x"
570
586
  }, Oe = {
571
587
  $style: Ne
572
- }, Qe = /* @__PURE__ */ K(Ge, [["__cssModules", Oe]]);
588
+ }, Qe = /* @__PURE__ */ E(Ge, [["__cssModules", Oe]]);
573
589
  export {
574
590
  Xe as EditArea,
575
591
  Ye as EditInput,