@topvisor/ui 1.5.8 → 1.5.9-colorTableUp.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.
@@ -10,14 +10,14 @@ import { E as e, G as t, O as n, P as r, a as i, c as a, f as o, h as s, r as c,
10
10
  import { t as u } from "./field-DEusYVqS.esm.js";
11
11
  import { invertKeyboardLayout as d } from "../utils/keyboard.js";
12
12
  import { a as f, o as p, s as m } from "./popup-DViuKwOc.esm.js";
13
- import { Fragment as h, computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createSlots as x, createTextVNode as S, createVNode as C, defineComponent as w, mergeModels as T, mergeProps as E, normalizeClass as D, onMounted as O, onUnmounted as k, onUpdated as A, openBlock as j, ref as M, renderList as N, renderSlot as P, resolveComponent as ee, resolveDirective as F, resolveDynamicComponent as te, toDisplayString as I, triggerRef as L, unref as R, useModel as z, watch as B, withCtx as V, withDirectives as H, withKeys as U, withModifiers as W } from "vue";
13
+ import { Fragment as h, Transition as g, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as S, createTextVNode as C, createVNode as w, defineComponent as T, mergeModels as E, mergeProps as D, normalizeClass as O, normalizeProps as k, onMounted as A, onUnmounted as j, onUpdated as M, openBlock as N, ref as P, renderList as F, renderSlot as I, resolveComponent as ee, resolveDirective as L, resolveDynamicComponent as te, toDisplayString as R, triggerRef as z, unref as B, useModel as V, watch as H, withCtx as U, withDirectives as W, withKeys as G, withModifiers as K } from "vue";
14
14
  //#region src/components/formsExt/menu/menu.vue?vue&type=script&setup=true&lang.ts
15
- var G = {
15
+ var ne = {
16
16
  key: 0,
17
17
  class: "top-menu_selectAll"
18
- }, K = /* @__PURE__ */ w({
18
+ }, re = /* @__PURE__ */ T({
19
19
  __name: "menu",
20
- props: /*@__PURE__*/ T({
20
+ props: /*@__PURE__*/ E({
21
21
  modelValue: {},
22
22
  items: {},
23
23
  isMultiple: { type: Boolean },
@@ -30,7 +30,7 @@ var G = {
30
30
  }),
31
31
  emits: ["update:modelValue"],
32
32
  setup(e) {
33
- let r = e, i = z(e, "modelValue"), a = M();
33
+ let r = e, i = V(e, "modelValue"), a = P();
34
34
  !r.isMultiple && typeof i.value != "string" && typeof i.value != "number" && console.warn("Type check failed for prop \"modelValue\". Expected String: " + typeof i.value), r.isMultiple && !Array.isArray(i.value) && console.warn("Type check failed for prop \"modelValue\". Expected Array: " + typeof i.value), r.isMultiple && !r.canBeEmptyMultiple && Array.isArray(i.value) && !i.value.length && r.items[0] && (i.value = [r.items[0]?.href ?? r.items[0]?.value]);
35
35
  let o = (e) => Array.isArray(i.value) ? i.value.includes(e.value) : e.value === i.value, c = (e, t = !1) => {
36
36
  if (Array.isArray(i.value)) {
@@ -66,36 +66,36 @@ var G = {
66
66
  i.value = r.items.map((e) => e.href ?? e.value);
67
67
  }
68
68
  };
69
- return O(() => u(!1)), A(() => u(!0)), (t, n) => (j(), y("div", {
69
+ return A(() => u(!1)), M(() => u(!0)), (t, n) => (N(), b("div", {
70
70
  ref_key: "el",
71
71
  ref: a,
72
- class: D({
72
+ class: O({
73
73
  "top-menu": !0,
74
74
  ["top-style_" + e.styling]: !0
75
75
  }),
76
76
  onWheel: l
77
- }, [(j(!0), y(h, null, N(e.items, (e) => (j(), _(s, E({ ref_for: !0 }, e, {
77
+ }, [(N(!0), b(h, null, F(e.items, (e) => (N(), v(s, D({ ref_for: !0 }, e, {
78
78
  class: "top-menu_item",
79
79
  color: "theme",
80
80
  onClick: (t) => c(e, t.ctrlKey || t.metaKey),
81
81
  isActive: o(e)
82
- }), x({ _: 2 }, [e.content ? {
82
+ }), S({ _: 2 }, [e.content ? {
83
83
  name: "default",
84
- fn: V(() => [S(I(e.content), 1)]),
84
+ fn: U(() => [C(R(e.content), 1)]),
85
85
  key: "0"
86
- } : void 0]), 1040, ["onClick", "isActive"]))), 256)), Array.isArray(i.value) && e.selectAllItem ? (j(), y("div", G, [C(s, E(e.selectAllItem, {
86
+ } : void 0]), 1040, ["onClick", "isActive"]))), 256)), Array.isArray(i.value) && e.selectAllItem ? (N(), b("div", ne, [w(s, D(e.selectAllItem, {
87
87
  class: "top-menu_item",
88
88
  color: "theme",
89
89
  styling: "",
90
90
  onClick: n[0] ||= (e) => d(),
91
91
  isActive: i.value.length === e.items.length
92
- }), x({ _: 2 }, [e.selectAllItem.content ? {
92
+ }), S({ _: 2 }, [e.selectAllItem.content ? {
93
93
  name: "default",
94
- fn: V(() => [S(I(e.selectAllItem.content), 1)]),
94
+ fn: U(() => [C(R(e.selectAllItem.content), 1)]),
95
95
  key: "0"
96
- } : void 0]), 1040, ["isActive"])])) : v("", !0)], 34));
96
+ } : void 0]), 1040, ["isActive"])])) : y("", !0)], 34));
97
97
  }
98
- }), ne = { class: "top-selector2_itemMulti top-ellipsis" }, re = /* @__PURE__ */ w({
98
+ }), ie = { class: "top-selector2_itemMulti top-ellipsis" }, ae = /* @__PURE__ */ T({
99
99
  __name: "itemMulti",
100
100
  props: {
101
101
  id: {},
@@ -103,26 +103,26 @@ var G = {
103
103
  },
104
104
  emits: ["delete"],
105
105
  setup(e, { emit: t }) {
106
- return (n, r) => (j(), y("div", ne, [S(I(e.name) + " ", 1), b("span", {
106
+ return (n, r) => (N(), b("div", ie, [C(R(e.name) + " ", 1), x("span", {
107
107
  class: "top-selector2_itemMultiDelete",
108
108
  "data-top-icon": "",
109
109
  onClick: r[0] ||= (n) => t("delete", {
110
110
  id: e.id,
111
111
  name: e.name
112
112
  }),
113
- onMousedown: r[1] ||= W(() => {}, ["stop"])
113
+ onMousedown: r[1] ||= K(() => {}, ["stop"])
114
114
  }, null, 32)]));
115
115
  }
116
- }), q = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Map(), Y = /* @__PURE__ */ new Map(), X = (e) => (Y.has(e) || Y.set(e, M(0)), Y.get(e)), Z = (e) => {
116
+ }), q = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Map(), Y = /* @__PURE__ */ new Map(), X = (e) => (Y.has(e) || Y.set(e, P(0)), Y.get(e)), Z = (e) => {
117
117
  X(e).value++;
118
118
  }, Q = (e) => {
119
119
  q.get(e)?.clear(), Z(e);
120
120
  }, $ = (e, t) => {
121
121
  q.get(e)?.forEach((e) => t(e));
122
- }, ie = (e, t) => {
122
+ }, oe = (e, t) => {
123
123
  J.get(e)?.forEach((e) => t(e));
124
- }, ae = (e, t, n) => {
125
- ie(e, (e) => {
124
+ }, se = (e, t, n) => {
125
+ oe(e, (e) => {
126
126
  let r = !1;
127
127
  if (Array.isArray(e.value)) e.value.filter((e) => e.id === t).forEach((e) => {
128
128
  Object.assign(e, n), r = !0;
@@ -131,49 +131,49 @@ var G = {
131
131
  if (e.value.id !== t) return;
132
132
  Object.assign(e.value, n), r = !0;
133
133
  }
134
- r && L(e);
134
+ r && z(e);
135
135
  });
136
- }, oe = (e) => {
136
+ }, ce = (e) => {
137
137
  let t = window.mo?.user?.id;
138
138
  return JSON.stringify(e.params) + ":" + e.url + ":" + t;
139
- }, se = (e, t) => {
139
+ }, le = (e, t) => {
140
140
  let n = q.get(t)?.get(e);
141
141
  if (n) return n.result = n.result.map((e) => ({ ...e })), n;
142
- }, ce = (e, t, n) => {
143
- q.has(t) || q.set(t, /* @__PURE__ */ new Map()), q.get(t)?.set(e, n);
144
- }, le = (e, t) => {
145
- J.has(e) || J.set(e, /* @__PURE__ */ new Set()), J.get(e)?.add(t), k(() => J.get(e)?.delete(t));
146
142
  }, ue = (e, t, n) => {
143
+ q.has(t) || q.set(t, /* @__PURE__ */ new Map()), q.get(t)?.set(e, n);
144
+ }, de = (e, t) => {
145
+ J.has(e) || J.set(e, /* @__PURE__ */ new Set()), J.get(e)?.add(t), j(() => J.get(e)?.delete(t));
146
+ }, fe = (e, t, n) => {
147
147
  $(e, (e) => {
148
148
  let r = e.result.find((e) => e.id === t);
149
149
  r && Object.assign(r, n);
150
- }), ae(e, t, n), Z(e);
151
- }, de = (e, t) => {
150
+ }), se(e, t, n), Z(e);
151
+ }, pe = (e, t) => {
152
152
  $(e, (e) => {
153
153
  let n = e.result.findIndex((e) => e.id === t);
154
154
  n !== -1 && (e.result.splice(n, 1), e.nextOffset && e.nextOffset--);
155
- }), ae(e, t, { name: "--" }), Z(e);
156
- }, fe = (e, t, n, i, a) => {
157
- let o = M([]), s = M(!1), c = M(0), l = "", u;
158
- e && !e.params.limit && (e.params.limit = 100), e && le(e.path, a);
155
+ }), se(e, t, { name: "--" }), Z(e);
156
+ }, me = (e, t, n, i, a) => {
157
+ let o = P([]), s = P(!1), c = P(0), l = "", u;
158
+ e && !e.params.limit && (e.params.limit = 100), e && de(e.path, a);
159
159
  let d = () => {
160
160
  if (!e) return;
161
161
  e.params.offset = 0;
162
- let t = se(oe(e), e.path);
162
+ let t = le(ce(e), e.path);
163
163
  if (!t) {
164
164
  o.value = [], u = void 0;
165
165
  return;
166
166
  }
167
167
  o.value = t.result, u = t.nextOffset;
168
168
  };
169
- e && i && B(X(e.path), () => {
169
+ e && i && H(X(e.path), () => {
170
170
  d();
171
171
  });
172
172
  let f = async () => {
173
173
  if (!e) return;
174
- let t = i ? oe(e) : void 0;
174
+ let t = i ? ce(e) : void 0;
175
175
  if (t) {
176
- let n = se(t, e.path);
176
+ let n = le(t, e.path);
177
177
  if (n) return e.abortByFingerprint(), n;
178
178
  }
179
179
  let n = await e.call();
@@ -187,7 +187,7 @@ var G = {
187
187
  console.warn(`В result[${r}] нет id или name`);
188
188
  return;
189
189
  }
190
- return t && ce(t, e.path, n), n;
190
+ return t && ue(t, e.path, n), n;
191
191
  }, p = async (n) => {
192
192
  if (!e) return;
193
193
  if (n) {
@@ -214,25 +214,25 @@ var G = {
214
214
  }
215
215
  }
216
216
  };
217
- }, pe = 0, me = null, he = (e, t, n = !0) => n && t.id === null ? Array.isArray(e) ? e.some((e) => e.id === t.id && e.name === t.name) : t.name === e.name : Array.isArray(e) ? e.some((e) => e.id === t.id) : t.id === e.id, ge = (e, t, n) => {
217
+ }, he = 0, ge = null, _e = (e, t, n = !0) => n && t.id === null ? Array.isArray(e) ? e.some((e) => e.id === t.id && e.name === t.name) : t.name === e.name : Array.isArray(e) ? e.some((e) => e.id === t.id) : t.id === e.id, ve = (e, t, n) => {
218
218
  let r = e.params.filters ?? [];
219
219
  r = r.filter((e) => e.name !== n), t && r.push(u(n, "CONTAINS", [t])), e.changeParams({ filters: r });
220
- }, _e = (t, n, r, i) => {
221
- let a = M(""), o = {
220
+ }, ye = (t, n, r, i) => {
221
+ let a = P(""), o = {
222
222
  id: 0,
223
223
  name: e().Common.All
224
224
  }, s = () => {
225
225
  a.value = "";
226
- }, c = () => !(!i.apiRequest || a.value.length >= n.minLength), l = g(() => {
226
+ }, c = () => !(!i.apiRequest || a.value.length >= n.minLength), l = _(() => {
227
227
  let e = [];
228
228
  return !n.multiselect && n.useAllItem && (typeof n.useAllItem == "string" && (o.name = n.useAllItem), e.push(o)), n.items?.forEach((t) => e.push(t)), e;
229
- }), u = M([]), f = M(n.itemsChunkSize), p = () => {
230
- u.value = _();
229
+ }), u = P([]), f = P(n.itemsChunkSize), p = () => {
230
+ u.value = g();
231
231
  }, m = () => {
232
232
  !n.itemsChunkSize || f.value === void 0 || (f.value += n.itemsChunkSize);
233
233
  }, h = () => {
234
234
  n.itemsChunkSize && (f.value = n.itemsChunkSize);
235
- }, _ = () => {
235
+ }, g = () => {
236
236
  let e = a.value.toLowerCase(), r = d(e), o = [], s, c = [], u = () => {
237
237
  c.at(-1)?.listItemProps?.type === "delimiter" && c.pop(), c.length &&= (s && o.push(s), o.push(...c), 0);
238
238
  }, p = (t) => {
@@ -258,20 +258,20 @@ var G = {
258
258
  };
259
259
  n.appendWithoutSelect && (e.listItemProps = { closeByClick: !1 }), o.push(e);
260
260
  }
261
- return n.multiselect && (o = o.filter((e) => !he(t.value, e))), n.prepareItemsBeforeRender && (o = n.prepareItemsBeforeRender(o)), o;
261
+ return n.multiselect && (o = o.filter((e) => !_e(t.value, e))), n.prepareItemsBeforeRender && (o = n.prepareItemsBeforeRender(o)), o;
262
262
  }, v = (e) => {
263
- e.listItemProps?.type === "title" || e.listItemProps?.type === "delimiter" || e.id === null && (r("appendItem", e), n.appendWithoutSelect) || (n.multiselect && Array.isArray(t.value) ? he(t.value, e) || (t.value = [...t.value, e]) : t.value = e, setTimeout(() => {
263
+ e.listItemProps?.type === "title" || e.listItemProps?.type === "delimiter" || e.id === null && (r("appendItem", e), n.appendWithoutSelect) || (n.multiselect && Array.isArray(t.value) ? _e(t.value, e) || (t.value = [...t.value, e]) : t.value = e, setTimeout(() => {
264
264
  s();
265
265
  }));
266
266
  };
267
267
  if (i.apiRequest) {
268
268
  let e = [() => n.items, i.items];
269
- n.multiselect && e.push(t), B(e, () => {
269
+ n.multiselect && e.push(t), H(e, () => {
270
270
  p();
271
271
  }, { deep: 2 });
272
- } else B(a, () => {
272
+ } else H(a, () => {
273
273
  h();
274
- }), B([
274
+ }), H([
275
275
  t,
276
276
  () => n.items,
277
277
  a,
@@ -281,7 +281,7 @@ var G = {
281
281
  }, {
282
282
  immediate: !0,
283
283
  deep: 2
284
- }), B([() => n.items?.length ?? 0, () => n.items], (e, r) => {
284
+ }), H([() => n.items?.length ?? 0, () => n.items], (e, r) => {
285
285
  (e[0] < r[0] || e[1] !== r[1]) && (Array.isArray(t.value) ? t.value : [t.value]).forEach((e) => {
286
286
  e.id !== o.id && (n.items?.find((t) => t.id === e.id) || (e.name = "--"));
287
287
  });
@@ -303,18 +303,18 @@ var G = {
303
303
  Array.isArray(t.value) && (t.value = t.value.filter((t) => t.id !== e.id || t.name !== e.name));
304
304
  }
305
305
  };
306
- }, ve = {
306
+ }, be = {
307
307
  key: 0,
308
308
  class: "top-selector2_activeItems"
309
- }, ye = {
309
+ }, xe = {
310
310
  key: 1,
311
311
  class: "top-selector2_activeName top-ellipsis"
312
- }, be = {
312
+ }, Se = {
313
313
  key: 2,
314
314
  class: "top-selector2_placeholder top-ellipsis"
315
- }, xe = { class: "top-selector2_searchWidget" }, Se = /* @__PURE__ */ w({
315
+ }, Ce = { class: "top-selector2_searchWidget" }, we = /* @__PURE__ */ T({
316
316
  __name: "selector2",
317
- props: /*@__PURE__*/ T({
317
+ props: /*@__PURE__*/ E({
318
318
  modelValue: {},
319
319
  items: { default: () => [] },
320
320
  itemsChunkSize: {},
@@ -352,13 +352,13 @@ var G = {
352
352
  modelValue: { required: !0 },
353
353
  modelModifiers: {}
354
354
  }),
355
- emits: /*@__PURE__*/ T(["appendItem", "open"], ["update:modelValue"]),
355
+ emits: /*@__PURE__*/ E(["appendItem", "open"], ["update:modelValue"]),
356
356
  setup(e, { expose: t, emit: r, slots: i }) {
357
- let a = e, o = z(e, "modelValue"), c = r, u = g(() => a.searchType === "inline" && a.multiselect || a.searchType === "inline" && n.state.isMobile ? "popup" : a.searchType), d = fe(a.api, a.apiSetSearchParams, a.minLength, a.useCache, o), w = _e(o, a, c, d), T = g(() => a.buttonProps ? "TopButton" : u.value === "inline" ? "TopInput" : "div"), D = M(null), O = M(null), k = () => D.value?.popup;
358
- d.apiRequest && B(w.searchText, () => {
359
- d.setSearchTextAndLoad(w.searchText.value);
357
+ let a = e, o = V(e, "modelValue"), c = r, u = _(() => a.searchType === "inline" && a.multiselect || a.searchType === "inline" && n.state.isMobile ? "popup" : a.searchType), d = me(a.api, a.apiSetSearchParams, a.minLength, a.useCache, o), g = ye(o, a, c, d), T = _(() => a.buttonProps ? "TopButton" : u.value === "inline" ? "TopInput" : "div"), E = P(null), O = P(null), k = () => E.value?.popup;
358
+ d.apiRequest && H(g.searchText, () => {
359
+ d.setSearchTextAndLoad(g.searchText.value);
360
360
  });
361
- let A = g(() => Array.isArray(o.value) || a.multiselect || !a.selectedAsPlaceholder && u.value !== "inline" ? a.placeholder : o.value?.name || a.placeholder), L = (e) => {
361
+ let A = _(() => Array.isArray(o.value) || a.multiselect || !a.selectedAsPlaceholder && u.value !== "inline" ? a.placeholder : o.value?.name || a.placeholder), j = (e) => {
362
362
  let t = !1;
363
363
  switch (e.key) {
364
364
  case "Delete":
@@ -374,49 +374,49 @@ var G = {
374
374
  t = !0;
375
375
  break;
376
376
  case "Escape":
377
- u.value === "inline" && w.resetSearch();
377
+ u.value === "inline" && g.resetSearch();
378
378
  break;
379
379
  }
380
380
  let n = e.key.length === 1 && !e.ctrlKey && !e.metaKey;
381
- (u.value === "popup" || u.value === "inline") && n && (t = !0), k()?.elPopup && (t = !1), t && (u.value === "popup" && (e.preventDefault(), e.stopPropagation(), n && (w.searchText.value || (w.searchText.value = e.key))), e.currentTarget?.click());
382
- }, U = (e) => {
383
- e.preventDefault(), w.selectNextItem();
384
- }, W = () => {
385
- d.apiRequest && d.setSearchTextAndLoad(w.searchText.value, !1), c("open");
381
+ (u.value === "popup" || u.value === "inline") && n && (t = !0), k()?.elPopup && (t = !1), t && (u.value === "popup" && (e.preventDefault(), e.stopPropagation(), n && (g.searchText.value || (g.searchText.value = e.key))), e.currentTarget?.click());
382
+ }, M = (e) => {
383
+ e.preventDefault(), g.selectNextItem();
384
+ }, z = () => {
385
+ d.apiRequest && d.setSearchTextAndLoad(g.searchText.value, !1), c("open");
386
386
  }, G = () => {
387
- w.resetItemsForShow(), u.value === "popup" && w.searchText.value && w.resetSearch();
387
+ g.resetItemsForShow(), u.value === "popup" && g.searchText.value && g.resetSearch();
388
388
  }, K = (e) => {
389
389
  let t = e.target;
390
- t.scrollTop / (t.scrollHeight - t.offsetHeight) > .8 && (a.api ? d.load(!0) : w.revelItemsForShow());
390
+ t.scrollTop / (t.scrollHeight - t.offsetHeight) > .8 && (a.api ? d.load(!0) : g.revelItemsForShow());
391
391
  };
392
392
  return t({
393
393
  getPopup: k,
394
394
  popupOpenerRef: O,
395
395
  resetCache: (e = !1) => {
396
396
  d.apiRequest && (e && Q(d.apiRequest.path), d.items.value = [], d.countLoading.value = 0, d.apiRequest.params.offset = 0, requestAnimationFrame(() => {
397
- w.itemsForShow.value = [];
398
- }), k()?.elPopup && d.setSearchTextAndLoad(w.searchText.value));
397
+ g.itemsForShow.value = [];
398
+ }), k()?.elPopup && d.setSearchTextAndLoad(g.searchText.value));
399
399
  },
400
400
  updateCacheItemById: (e, t) => {
401
- d.apiRequest && ue(d.apiRequest.path, e, t);
401
+ d.apiRequest && fe(d.apiRequest.path, e, t);
402
402
  },
403
403
  deleteCacheItemById: (e) => {
404
- d.apiRequest && de(d.apiRequest.path, e);
404
+ d.apiRequest && pe(d.apiRequest.path, e);
405
405
  }
406
406
  }), (t, r) => {
407
- let a = ee("TopLoadbar"), c = F("top-focus"), g = F("top-shortcut");
408
- return j(), _(R(m), {
407
+ let a = ee("TopLoadbar"), c = L("top-focus"), _ = L("top-shortcut");
408
+ return N(), v(B(m), {
409
409
  ref_key: "popupRef",
410
- ref: D,
411
- onOpen: r[3] ||= (e) => W(),
410
+ ref: E,
411
+ onOpen: r[3] ||= (e) => z(),
412
412
  onClose: r[4] ||= (e) => G(),
413
413
  onScrollContentList: r[5] ||= (e) => K(e),
414
414
  notch: !1,
415
415
  transitionDuration: 0,
416
416
  openByFocusInput: u.value === "inline" && (e.openByFocusInput ?? !0),
417
- disabled: u.value === "inline" && R(w).genIsShort()
418
- }, x({
419
- opener: V(() => [H((j(), _(te(T.value), E({
417
+ disabled: u.value === "inline" && B(g).genIsShort()
418
+ }, S({
419
+ opener: U(() => [W((N(), v(te(T.value), D({
420
420
  ref_key: "popupOpenerRef",
421
421
  ref: O
422
422
  }, e.buttonProps, {
@@ -433,33 +433,33 @@ var G = {
433
433
  },
434
434
  icon: e.icon,
435
435
  tabindex: "0",
436
- onKeydown: L,
437
- onBlur: r[0] ||= (e) => u.value === "inline" && R(w).resetSearch(),
436
+ onKeydown: j,
437
+ onBlur: r[0] ||= (e) => u.value === "inline" && B(g).resetSearch(),
438
438
  placeholder: A.value,
439
439
  title: e.title,
440
440
  captionType: u.value === "inline" && e.title !== void 0 ? "top" : void 0,
441
- modelValue: R(w).searchText.value,
442
- "onUpdate:modelValue": r[1] ||= (e) => R(w).searchText.value = e
441
+ modelValue: B(g).searchText.value,
442
+ "onUpdate:modelValue": r[1] ||= (e) => B(g).searchText.value = e
443
443
  }), {
444
- default: V(() => [
445
- e.multiselect ? (j(), y("div", ve, [(j(!0), y(h, null, N(o.value, (e) => (j(), _(re, {
444
+ default: U(() => [
445
+ e.multiselect ? (N(), b("div", be, [(N(!0), b(h, null, F(o.value, (e) => (N(), v(ae, {
446
446
  key: e.id ?? void 0,
447
447
  id: e.id,
448
448
  name: e.name,
449
- onDelete: R(w).deleteItemByItem
449
+ onDelete: B(g).deleteItemByItem
450
450
  }, null, 8, [
451
451
  "id",
452
452
  "name",
453
453
  "onDelete"
454
- ]))), 128))])) : v("", !0),
455
- u.value !== "inline" && !e.multiselect ? (j(), y("span", ye, I(Array.isArray(o.value) ? "" : o.value.name), 1)) : v("", !0),
456
- e.multiselect && !o.value.length ? (j(), y("span", be, I(A.value), 1)) : v("", !0),
457
- e.addChanger && !e.buttonProps && !e.multiselect && R(w).itemsForShow.value.length > 1 && !e.disabled ? (j(), y("span", {
454
+ ]))), 128))])) : y("", !0),
455
+ u.value !== "inline" && !e.multiselect ? (N(), b("span", xe, R(Array.isArray(o.value) ? "" : o.value.name), 1)) : y("", !0),
456
+ e.multiselect && !o.value.length ? (N(), b("span", Se, R(A.value), 1)) : y("", !0),
457
+ e.addChanger && !e.buttonProps && !e.multiselect && B(g).itemsForShow.value.length > 1 && !e.disabled ? (N(), b("span", {
458
458
  key: 3,
459
459
  class: "top-changer top-changer-selector",
460
460
  "data-top-popup-disabled": "true",
461
- onClick: U
462
- })) : v("", !0)
461
+ onClick: M
462
+ })) : y("", !0)
463
463
  ]),
464
464
  _: 1
465
465
  }, 16, [
@@ -474,49 +474,49 @@ var G = {
474
474
  e.isError,
475
475
  void 0,
476
476
  { onupdate: !0 }
477
- ], [g, e.openerShortcut]])]),
478
- contentList: V(() => [
479
- (j(!0), y(h, null, N(R(w).itemsForShow.value, (r) => (j(), _(R(p), E({
477
+ ], [_, e.openerShortcut]])]),
478
+ contentList: U(() => [
479
+ (N(!0), b(h, null, F(B(g).itemsForShow.value, (r) => (N(), v(B(p), D({
480
480
  key: r.id ?? void 0,
481
481
  class: {
482
482
  "top-active": !Array.isArray(o.value) && !e.multiselect && o.value.id === r.id && o.value.name === r.name,
483
- "top-selector2_item-all": r.id === R(0),
484
- "top-selector2_item-new": r.id === R(null)
483
+ "top-selector2_item-all": r.id === B(0),
484
+ "top-selector2_item-new": r.id === B(null)
485
485
  },
486
- closeByClick: !e.multiselect || R(n).state.isMobile
487
- }, { ref_for: !0 }, r.listItemProps, { onClick: (e) => R(w).selectItem(r) }), x({
488
- default: V(() => [i.item ? P(t.$slots, "item", { item: r }, void 0, void 0, 0) : (j(), y(h, { key: 1 }, [S(I(r.name), 1)], 64))]),
486
+ closeByClick: !e.multiselect || B(n).state.isMobile
487
+ }, { ref_for: !0 }, r.listItemProps, { onClick: (e) => B(g).selectItem(r) }), S({
488
+ default: U(() => [i.item ? I(t.$slots, "item", { item: r }, void 0, void 0, 0) : (N(), b(h, { key: 1 }, [C(R(r.name), 1)], 64))]),
489
489
  _: 2
490
490
  }, [i.actions ? {
491
491
  name: "actions",
492
- fn: V(() => [P(t.$slots, "actions", { item: r })]),
492
+ fn: U(() => [I(t.$slots, "actions", { item: r })]),
493
493
  key: "0"
494
494
  } : void 0]), 1040, [
495
495
  "class",
496
496
  "closeByClick",
497
497
  "onClick"
498
498
  ]))), 128)),
499
- !R(w).itemsForShow.value.length && !R(w).genIsShort() ? (j(), _(R(p), {
499
+ !B(g).itemsForShow.value.length && !B(g).genIsShort() ? (N(), v(B(p), {
500
500
  key: 0,
501
501
  type: "regular"
502
502
  }, {
503
- default: V(() => [R(d).isLoading.value && !R(d).countLoading.value || e.itemsIsLoading ? (j(), _(R(l), {
503
+ default: U(() => [B(d).isLoading.value && !B(d).countLoading.value || e.itemsIsLoading ? (N(), v(B(l), {
504
504
  key: 0,
505
505
  type: "circles"
506
- })) : (j(), y(h, { key: 1 }, [S(I(t.$i18n.Common.No_results), 1)], 64))]),
506
+ })) : (N(), b(h, { key: 1 }, [C(R(t.$i18n.Common.No_results), 1)], 64))]),
507
507
  _: 1
508
- })) : v("", !0),
509
- R(d).countLoading.value && R(d).isLoading.value && u.value === "inline" ? (j(), _(a, { key: 1 })) : v("", !0)
508
+ })) : y("", !0),
509
+ B(d).countLoading.value && B(d).isLoading.value && u.value === "inline" ? (N(), v(a, { key: 1 })) : y("", !0)
510
510
  ]),
511
511
  _: 2
512
512
  }, [u.value === "popup" ? {
513
513
  name: "widget",
514
- fn: V(() => [b("div", xe, [H(C(R(f), {
514
+ fn: U(() => [x("div", Ce, [W(w(B(f), {
515
515
  title: "Поиск",
516
516
  icon: "",
517
- modelValue: R(w).searchText.value,
518
- "onUpdate:modelValue": r[2] ||= (e) => R(w).searchText.value = e,
519
- isLoading: !!R(d).countLoading.value && R(d).isLoading.value,
517
+ modelValue: B(g).searchText.value,
518
+ "onUpdate:modelValue": r[2] ||= (e) => B(g).searchText.value = e,
519
+ isLoading: !!B(d).countLoading.value && B(d).isLoading.value,
520
520
  placeholder: A.value
521
521
  }, null, 8, [
522
522
  "modelValue",
@@ -527,19 +527,19 @@ var G = {
527
527
  o.value,
528
528
  void 0,
529
529
  { onupdate: !0 }
530
- ]]), e.hasCloserBtn && !t.$core.state.isMobile ? (j(), _(R(s), {
530
+ ]]), e.hasCloserBtn && !t.$core.state.isMobile ? (N(), v(B(s), {
531
531
  key: 0,
532
532
  class: "closer",
533
533
  color: "theme"
534
534
  }, {
535
- default: V(() => [S(I(t.$i18n.Common.Cancel), 1)]),
535
+ default: U(() => [C(R(t.$i18n.Common.Cancel), 1)]),
536
536
  _: 1
537
- })) : v("", !0)])]),
537
+ })) : y("", !0)])]),
538
538
  key: "0"
539
539
  } : void 0]), 1032, ["openByFocusInput", "disabled"]);
540
540
  };
541
541
  }
542
- }), Ce = { class: "top-editArea_footer" }, we = /* @__PURE__ */ w({
542
+ }), Te = { class: "top-editArea_footer" }, Ee = /* @__PURE__ */ T({
543
543
  __name: "editArea",
544
544
  props: {
545
545
  defaultValue: { default: "" },
@@ -572,7 +572,7 @@ var G = {
572
572
  "clickOnTitle"
573
573
  ],
574
574
  setup(e, { emit: t, slots: n }) {
575
- let r = e, i = t, a = M(r.defaultValue), o = M(r.isFocused), l = g(() => a.value !== r.defaultValue), u = (e) => {
575
+ let r = e, i = t, a = P(r.defaultValue), o = P(r.isFocused), l = _(() => a.value !== r.defaultValue), u = (e) => {
576
576
  i("submit", e), a.value = r.defaultValue;
577
577
  }, d = () => {
578
578
  if (r.forceShowCloseBtn && !l.value) {
@@ -583,20 +583,20 @@ var G = {
583
583
  }, f = () => {
584
584
  r.attachToKeyboard && i("clickOnTitle");
585
585
  };
586
- return (t, r) => (j(), y("div", { class: D({
586
+ return (t, r) => (N(), b("div", { class: O({
587
587
  "top-editArea": !0,
588
588
  "top-editArea-attachedToKeyboard": e.attachToKeyboard
589
- }) }, [e.title || n.caption ? (j(), y("div", {
589
+ }) }, [e.title || n.caption ? (N(), b("div", {
590
590
  key: 0,
591
591
  class: "top-editArea_caption",
592
592
  onClick: r[0] ||= (e) => f()
593
- }, [P(t.$slots, "caption", {}, () => [S(I(e.title), 1)])])) : v("", !0), b("div", { class: D({
593
+ }, [I(t.$slots, "caption", {}, () => [C(R(e.title), 1)])])) : y("", !0), x("div", { class: O({
594
594
  "top-editArea_form": !0,
595
595
  "top-forms-focusable": !0,
596
596
  "top-as-input": !0,
597
597
  "top-error": e.isError,
598
598
  "top-focus": o.value
599
- }) }, [C(c, {
599
+ }) }, [w(c, {
600
600
  modelValue: a.value,
601
601
  "onUpdate:modelValue": r[1] ||= (e) => a.value = e,
602
602
  name: e.name,
@@ -611,7 +611,7 @@ var G = {
611
611
  class: "top-editArea_element",
612
612
  onFocus: r[2] ||= () => o.value = !0,
613
613
  onBlur: r[3] ||= () => o.value = !1,
614
- onKeyup: [U(d, ["esc"]), r[4] ||= U(W((e) => u(a.value), ["ctrl"]), ["enter"])]
614
+ onKeyup: [G(d, ["esc"]), r[4] ||= G(K((e) => u(a.value), ["ctrl"]), ["enter"])]
615
615
  }, null, 8, [
616
616
  "modelValue",
617
617
  "name",
@@ -623,29 +623,29 @@ var G = {
623
623
  "readonly",
624
624
  "isError",
625
625
  "hint"
626
- ]), b("div", Ce, [l.value || e.forceShowCloseBtn ? (j(), _(s, {
626
+ ]), x("div", Te, [l.value || e.forceShowCloseBtn ? (N(), v(s, {
627
627
  key: 0,
628
628
  icon: t.$core.state.isMobile ? "" : "",
629
629
  class: "top-editArea_button",
630
630
  color: "theme",
631
631
  styling: "soft",
632
632
  onClick: d
633
- }, x({ _: 2 }, [t.$core.state.isMobile ? void 0 : {
633
+ }, S({ _: 2 }, [t.$core.state.isMobile ? void 0 : {
634
634
  name: "default",
635
- fn: V(() => [S(I(e.cancelText), 1)]),
635
+ fn: U(() => [C(R(e.cancelText), 1)]),
636
636
  key: "0"
637
- }]), 1032, ["icon"])) : v("", !0), l.value ? (j(), _(s, {
637
+ }]), 1032, ["icon"])) : y("", !0), l.value ? (N(), v(s, {
638
638
  key: 1,
639
639
  class: "top-editArea_button",
640
640
  icon: t.$core.state.isMobile ? "" : "",
641
641
  onClick: r[5] ||= (e) => u(a.value)
642
- }, x({ _: 2 }, [t.$core.state.isMobile ? void 0 : {
642
+ }, S({ _: 2 }, [t.$core.state.isMobile ? void 0 : {
643
643
  name: "default",
644
- fn: V(() => [S(I(e.submitText), 1)]),
644
+ fn: U(() => [C(R(e.submitText), 1)]),
645
645
  key: "0"
646
- }]), 1032, ["icon"])) : v("", !0)])], 2)], 2));
646
+ }]), 1032, ["icon"])) : y("", !0)])], 2)], 2));
647
647
  }
648
- }), Te = { class: "top-editInput" }, Ee = /* @__PURE__ */ w({
648
+ }), De = { class: "top-editInput" }, Oe = /* @__PURE__ */ T({
649
649
  __name: "editInput",
650
650
  props: {
651
651
  modelValue: {},
@@ -655,31 +655,31 @@ var G = {
655
655
  },
656
656
  emits: ["update:modelValue"],
657
657
  setup(e, { emit: t, slots: n }) {
658
- let r = e, i = M(r.modelValue);
659
- B(() => r.modelValue, () => {
658
+ let r = e, i = P(r.modelValue);
659
+ H(() => r.modelValue, () => {
660
660
  i.value = r.modelValue;
661
661
  });
662
662
  let o = t, c = () => {
663
663
  o("update:modelValue", i.value);
664
664
  };
665
- return (t, r) => (j(), y("div", Te, [C(a, E(e.input, {
666
- onKeydownCapture: r[0] ||= U(W((t) => i.value = e.modelValue, ["stop"]), ["esc"]),
667
- onKeydown: U(W(c, ["stop"]), ["enter"]),
665
+ return (t, r) => (N(), b("div", De, [w(a, D(e.input, {
666
+ onKeydownCapture: r[0] ||= G(K((t) => i.value = e.modelValue, ["stop"]), ["esc"]),
667
+ onKeydown: G(K(c, ["stop"]), ["enter"]),
668
668
  modelValue: i.value,
669
669
  "onUpdate:modelValue": r[1] ||= (e) => i.value = e
670
- }), x({ _: 2 }, [n.caption ? {
670
+ }), S({ _: 2 }, [n.caption ? {
671
671
  name: "caption",
672
- fn: V(() => [P(t.$slots, "caption")]),
672
+ fn: U(() => [I(t.$slots, "caption")]),
673
673
  key: "0"
674
- } : void 0]), 1040, ["onKeydown", "modelValue"]), i.value !== e.modelValue || e.alwaysShowSubmitBtn ? (j(), _(s, E({
674
+ } : void 0]), 1040, ["onKeydown", "modelValue"]), i.value !== e.modelValue || e.alwaysShowSubmitBtn ? (N(), v(s, D({
675
675
  key: 0,
676
676
  icon: "",
677
677
  styling: "soft"
678
- }, e.button, { onClick: c }), null, 16)) : v("", !0)]));
678
+ }, e.button, { onClick: c }), null, 16)) : y("", !0)]));
679
679
  }
680
- }), De = /* @__PURE__ */ w({
680
+ }), ke = /* @__PURE__ */ T({
681
681
  __name: "optionGroup",
682
- props: /*@__PURE__*/ T({
682
+ props: /*@__PURE__*/ E({
683
683
  modelValue: {},
684
684
  items: {},
685
685
  size: { default: "s" },
@@ -691,24 +691,24 @@ var G = {
691
691
  }),
692
692
  emits: ["update:modelValue"],
693
693
  setup(e) {
694
- let t = z(e, "modelValue"), n = e, r = M(null);
695
- B(t, () => {
694
+ let t = V(e, "modelValue"), n = e, r = P(null);
695
+ H(t, () => {
696
696
  let e = n.items.map((e) => e.value);
697
697
  Array.isArray(t.value) ? t.value.find((t) => !e.includes(t)) && (t.value = t.value.filter((t) => e.includes(t))) : e.includes(t.value) || (t.value = e[0] ?? ""), r.value?.querySelector(".radioGroup_item-selected")?.scrollIntoView();
698
698
  }, { immediate: !0 });
699
699
  let a = "optionGroup-" + Math.random();
700
- return (n, s) => (j(), y("div", {
700
+ return (n, s) => (N(), b("div", {
701
701
  ref_key: "elRef",
702
702
  ref: r,
703
- class: D({
703
+ class: O({
704
704
  "top-optionGroup": !0,
705
705
  ["top-optionGroup-showIndicator_" + Number(e.showIndicator)]: !0,
706
706
  "top-scrollBarXHidding": !0,
707
707
  ["top-size_" + e.size]: !!e.size,
708
708
  "top-error": e.isError
709
709
  })
710
- }, [Array.isArray(t.value) ? (j(!0), y(h, { key: 0 }, N(e.items, (n) => (j(), _(o, {
711
- class: D({
710
+ }, [Array.isArray(t.value) ? (N(!0), b(h, { key: 0 }, F(e.items, (n) => (N(), v(o, {
711
+ class: O({
712
712
  "top-optionGroup_item-selected": t.value.includes(n.value),
713
713
  "top-optionGroup_item": !0
714
714
  }),
@@ -719,9 +719,9 @@ var G = {
719
719
  disabled: n.disabled,
720
720
  isError: e.isError,
721
721
  "data-top-icon": n.icon
722
- }, x({ _: 2 }, [n.label ? {
722
+ }, S({ _: 2 }, [n.label ? {
723
723
  name: "default",
724
- fn: V(() => [S(I(n.label), 1)]),
724
+ fn: U(() => [C(R(n.label), 1)]),
725
725
  key: "0"
726
726
  } : void 0]), 1032, [
727
727
  "class",
@@ -731,8 +731,8 @@ var G = {
731
731
  "disabled",
732
732
  "isError",
733
733
  "data-top-icon"
734
- ]))), 256)) : (j(!0), y(h, { key: 1 }, N(e.items, (n) => (j(), _(i, {
735
- class: D({
734
+ ]))), 256)) : (N(!0), b(h, { key: 1 }, F(e.items, (n) => (N(), v(i, {
735
+ class: O({
736
736
  "top-optionGroup_item-selected": n.value === t.value,
737
737
  "top-optionGroup_item": !0
738
738
  }),
@@ -744,9 +744,9 @@ var G = {
744
744
  disabled: n.disabled,
745
745
  isError: e.isError,
746
746
  "data-top-icon": n.icon
747
- }, x({ _: 2 }, [n.label ? {
747
+ }, S({ _: 2 }, [n.label ? {
748
748
  name: "default",
749
- fn: V(() => [S(I(n.label), 1)]),
749
+ fn: U(() => [C(R(n.label), 1)]),
750
750
  key: "0"
751
751
  } : void 0]), 1032, [
752
752
  "class",
@@ -758,9 +758,9 @@ var G = {
758
758
  "data-top-icon"
759
759
  ]))), 256))], 2));
760
760
  }
761
- }), Oe = /* @__PURE__ */ w({
761
+ }), Ae = /* @__PURE__ */ T({
762
762
  __name: "radioGroup",
763
- props: /*@__PURE__*/ T({
763
+ props: /*@__PURE__*/ E({
764
764
  modelValue: {},
765
765
  items: {},
766
766
  size: {},
@@ -772,8 +772,8 @@ var G = {
772
772
  }),
773
773
  emits: ["update:modelValue"],
774
774
  setup(e) {
775
- let t = e, n = z(e, "modelValue");
776
- return (e, r) => (j(), _(De, {
775
+ let t = e, n = V(e, "modelValue");
776
+ return (e, r) => (N(), v(ke, {
777
777
  class: "top-radioGroup",
778
778
  modelValue: n.value,
779
779
  "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
@@ -782,7 +782,7 @@ var G = {
782
782
  showIndicator: t.showIndicator,
783
783
  isError: t.isError
784
784
  }, {
785
- default: V(() => [P(e.$slots, "default")]),
785
+ default: U(() => [I(e.$slots, "default")]),
786
786
  _: 3
787
787
  }, 8, [
788
788
  "modelValue",
@@ -792,9 +792,9 @@ var G = {
792
792
  "isError"
793
793
  ]));
794
794
  }
795
- }), ke = /* @__PURE__ */ w({
795
+ }), je = /* @__PURE__ */ T({
796
796
  __name: "checkboxGroup",
797
- props: /*@__PURE__*/ T({
797
+ props: /*@__PURE__*/ E({
798
798
  modelValue: {},
799
799
  items: {},
800
800
  size: {},
@@ -806,8 +806,8 @@ var G = {
806
806
  }),
807
807
  emits: ["update:modelValue"],
808
808
  setup(e) {
809
- let t = e, n = z(e, "modelValue");
810
- return (e, r) => (j(), _(De, {
809
+ let t = e, n = V(e, "modelValue");
810
+ return (e, r) => (N(), v(ke, {
811
811
  class: "top-checkboxGroup",
812
812
  modelValue: n.value,
813
813
  "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
@@ -816,7 +816,7 @@ var G = {
816
816
  showIndicator: t.showIndicator,
817
817
  isError: t.isError
818
818
  }, {
819
- default: V(() => [P(e.$slots, "default")]),
819
+ default: U(() => [I(e.$slots, "default")]),
820
820
  _: 3
821
821
  }, 8, [
822
822
  "modelValue",
@@ -826,10 +826,10 @@ var G = {
826
826
  "isError"
827
827
  ]));
828
828
  }
829
- }), Ae = ["data-top-icon"], je = { class: "top-info_text" }, Me = {
829
+ }), Me = ["data-top-icon"], Ne = { class: "top-info_text" }, Pe = {
830
830
  key: 0,
831
831
  class: "top-info_value"
832
- }, Ne = /* @__PURE__ */ w({
832
+ }, Fe = /* @__PURE__ */ T({
833
833
  __name: "info",
834
834
  props: {
835
835
  icon: {},
@@ -837,19 +837,19 @@ var G = {
837
837
  size: { default: "default" }
838
838
  },
839
839
  setup(e, { slots: t }) {
840
- return (n, r) => (j(), y("div", {
841
- class: D({
840
+ return (n, r) => (N(), b("div", {
841
+ class: O({
842
842
  "top-info": !0,
843
843
  ["top-size_" + e.size]: !0,
844
844
  ["top-info-styling_" + e.styling]: !0
845
845
  }),
846
846
  "data-top-icon": e.icon
847
- }, [b("div", je, [P(n.$slots, "default")]), t.additional ? (j(), y("span", Me, [P(n.$slots, "additional")])) : v("", !0)], 10, Ae));
847
+ }, [x("div", Ne, [I(n.$slots, "default")]), t.additional ? (N(), b("span", Pe, [I(n.$slots, "additional")])) : y("", !0)], 10, Me));
848
848
  }
849
- }), Pe = {
849
+ }), Ie = {
850
850
  key: 0,
851
851
  class: "top-policy"
852
- }, Fe = { class: "top-policy_title" }, Ie = ["innerHTML"], Le = /* @__PURE__ */ w({
852
+ }, Le = { class: "top-policy_title" }, Re = ["innerHTML"], ze = /* @__PURE__ */ T({
853
853
  __name: "policy",
854
854
  props: {
855
855
  title: {},
@@ -858,26 +858,68 @@ var G = {
858
858
  },
859
859
  emits: ["accept"],
860
860
  setup(e, { emit: t }) {
861
- let n = t, r = M(!0), i = () => {
861
+ let n = t, r = P(!0), i = () => {
862
862
  r.value = !1, n("accept");
863
863
  };
864
- return (t, n) => r.value ? (j(), y("div", Pe, [
865
- b("div", Fe, I(e.title), 1),
866
- b("div", {
864
+ return (t, n) => r.value ? (N(), b("div", Ie, [
865
+ x("div", Le, R(e.title), 1),
866
+ x("div", {
867
867
  class: "top-policy_description",
868
868
  innerHTML: e.description
869
- }, null, 8, Ie),
870
- C(R(s), {
869
+ }, null, 8, Re),
870
+ w(B(s), {
871
871
  size: "m",
872
872
  onClick: i
873
873
  }, {
874
- default: V(() => [S(I(e.acceptText), 1)]),
874
+ default: U(() => [C(R(e.acceptText), 1)]),
875
875
  _: 1
876
876
  })
877
- ])) : v("", !0);
877
+ ])) : y("", !0);
878
+ }
879
+ }), Be = {
880
+ key: 0,
881
+ class: "top-banner"
882
+ }, Ve = { class: "top-banner_content" }, He = { class: "top-banner_contentText" }, Ue = /* @__PURE__ */ T({
883
+ __name: "banner",
884
+ props: {
885
+ showCloseButton: {
886
+ type: Boolean,
887
+ default: !0
888
+ },
889
+ buttonProps: {}
890
+ },
891
+ emits: ["close"],
892
+ setup(e, { emit: t }) {
893
+ let n = t, r = P(!0), i = P(!1), a = () => {
894
+ i.value || (i.value = !0, r.value = !1);
895
+ }, o = (e) => {
896
+ let t = e;
897
+ t.style.height = `${t.offsetHeight}px`, t.style.overflow = "hidden", requestAnimationFrame(() => {
898
+ t.style.height = "0px", t.style.paddingTop = "0px", t.style.paddingBottom = "0px", t.style.opacity = "0";
899
+ });
900
+ }, c = () => {
901
+ n("close");
902
+ };
903
+ return (t, n) => (N(), v(g, {
904
+ duration: 200,
905
+ onBeforeLeave: o,
906
+ onAfterLeave: c
907
+ }, {
908
+ default: U(() => [r.value ? (N(), b("div", Be, [x("div", Ve, [x("span", He, [I(t.$slots, "default")]), e.buttonProps ? (N(), v(s, k(D({ key: 0 }, e.buttonProps)), {
909
+ default: U(() => [e.buttonProps.default ? (N(), b(h, { key: 0 }, [C(R(e.buttonProps.default), 1)], 64)) : y("", !0)]),
910
+ _: 1
911
+ }, 16)) : y("", !0)]), e.showCloseButton ? (N(), v(s, {
912
+ key: 0,
913
+ class: "top-banner_closeButton",
914
+ color: "theme",
915
+ icon: "",
916
+ onClick: a
917
+ })) : y("", !0)])) : y("", !0)]),
918
+ _: 3
919
+ }));
878
920
  }
879
921
  });
880
922
  //#endregion
881
- export { Ee as a, pe as c, Q as d, K as f, Oe as i, me as l, Ne as n, we as o, ke as r, Se as s, Le as t, ge as u };
923
+ export { Ae as a, we as c, ve as d, Q as f, je as i, he as l, ze as n, Oe as o, re as p, Fe as r, Ee as s, Ue as t, ge as u };
882
924
 
883
- //# sourceMappingURL=formsExt-BZZEpY-a.esm.js.map
925
+ //# sourceMappingURL=formsExt-DG99Ktz8.esm.js.map