@topvisor/ui 1.5.8-7 → 1.5.8-8

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 (132) hide show
  1. package/.chunks/{api-BlIxMRlW.amd.js → api-BD74aA98.amd.js} +2 -2
  2. package/.chunks/{api-BlIxMRlW.amd.js.map → api-BD74aA98.amd.js.map} +1 -1
  3. package/.chunks/{api-BlIxMRlW.esm.js → api-BD74aA98.esm.js} +2 -2
  4. package/.chunks/{api-BlIxMRlW.esm.js.map → api-BD74aA98.esm.js.map} +1 -1
  5. package/.chunks/{app-CyODeY0D.amd.js → app-BaHwxbWz.amd.js} +2 -2
  6. package/.chunks/{app-CyODeY0D.amd.js.map → app-BaHwxbWz.amd.js.map} +1 -1
  7. package/.chunks/{app-CyODeY0D.esm.js → app-BaHwxbWz.esm.js} +5 -5
  8. package/.chunks/{app-CyODeY0D.esm.js.map → app-BaHwxbWz.esm.js.map} +1 -1
  9. package/.chunks/{datepicker-CBAwfPPW.amd.js → datepicker-C7FNogyy.amd.js} +2 -2
  10. package/.chunks/{datepicker-CBAwfPPW.amd.js.map → datepicker-C7FNogyy.amd.js.map} +1 -1
  11. package/.chunks/{datepicker-CBAwfPPW.esm.js → datepicker-C7FNogyy.esm.js} +2 -2
  12. package/.chunks/{datepicker-CBAwfPPW.esm.js.map → datepicker-C7FNogyy.esm.js.map} +1 -1
  13. package/.chunks/dialog-BM4mfi7y.amd.js +2 -0
  14. package/.chunks/dialog-BM4mfi7y.amd.js.map +1 -0
  15. package/.chunks/{dialog-C8fss11q.esm.js → dialog-BM4mfi7y.esm.js} +18 -18
  16. package/.chunks/dialog-BM4mfi7y.esm.js.map +1 -0
  17. package/.chunks/{dialog_regionSelectorRegions-zJShjr2f.amd.js → dialog_regionSelectorRegions-CN3F-67P.amd.js} +2 -2
  18. package/.chunks/{dialog_regionSelectorRegions-zJShjr2f.amd.js.map → dialog_regionSelectorRegions-CN3F-67P.amd.js.map} +1 -1
  19. package/.chunks/{dialog_regionSelectorRegions-zJShjr2f.esm.js → dialog_regionSelectorRegions-CN3F-67P.esm.js} +4 -4
  20. package/.chunks/dialog_regionSelectorRegions-CN3F-67P.esm.js.map +1 -0
  21. package/.chunks/{forms-LywqKN9I.amd.js → forms-_4U0sLFk.amd.js} +2 -2
  22. package/.chunks/forms-_4U0sLFk.amd.js.map +1 -0
  23. package/.chunks/{forms-LywqKN9I.esm.js → forms-_4U0sLFk.esm.js} +116 -116
  24. package/.chunks/forms-_4U0sLFk.esm.js.map +1 -0
  25. package/.chunks/formsExt-BZZEpY-a.amd.js +2 -0
  26. package/.chunks/formsExt-BZZEpY-a.amd.js.map +1 -0
  27. package/.chunks/{formsExt-Iw04hpHr.esm.js → formsExt-BZZEpY-a.esm.js} +183 -183
  28. package/.chunks/formsExt-BZZEpY-a.esm.js.map +1 -0
  29. package/.chunks/{notice-Dw5ZUJxW.amd.js → notice-FzLgMsrr.amd.js} +2 -2
  30. package/.chunks/{notice-Dw5ZUJxW.amd.js.map → notice-FzLgMsrr.amd.js.map} +1 -1
  31. package/.chunks/{notice-Dw5ZUJxW.esm.js → notice-FzLgMsrr.esm.js} +2 -2
  32. package/.chunks/notice-FzLgMsrr.esm.js.map +1 -0
  33. package/.chunks/{popup-BqacuTuJ.amd.js → popup-CS0IahOr.amd.js} +2 -2
  34. package/.chunks/{popup-BqacuTuJ.amd.js.map → popup-CS0IahOr.amd.js.map} +1 -1
  35. package/.chunks/{popup-BqacuTuJ.esm.js → popup-CS0IahOr.esm.js} +3 -3
  36. package/.chunks/{popup-BqacuTuJ.esm.js.map → popup-CS0IahOr.esm.js.map} +1 -1
  37. package/.chunks/popup-DViuKwOc.amd.js +2 -0
  38. package/.chunks/popup-DViuKwOc.amd.js.map +1 -0
  39. package/.chunks/{popup-ClpsGU2P.esm.js → popup-DViuKwOc.esm.js} +104 -104
  40. package/.chunks/popup-DViuKwOc.esm.js.map +1 -0
  41. package/.chunks/{utils-CZnFOkS6.amd.js → utils-B1P0BzZ1.amd.js} +2 -2
  42. package/.chunks/{utils-CZnFOkS6.amd.js.map → utils-B1P0BzZ1.amd.js.map} +1 -1
  43. package/.chunks/{utils-CZnFOkS6.esm.js → utils-B1P0BzZ1.esm.js} +3 -3
  44. package/.chunks/{utils-CZnFOkS6.esm.js.map → utils-B1P0BzZ1.esm.js.map} +1 -1
  45. package/.chunks/{utils-ZgQqVN0T.amd.js → utils-B1tz7GZc.amd.js} +2 -2
  46. package/.chunks/utils-B1tz7GZc.amd.js.map +1 -0
  47. package/.chunks/{utils-ZgQqVN0T.esm.js → utils-B1tz7GZc.esm.js} +9 -7
  48. package/.chunks/utils-B1tz7GZc.esm.js.map +1 -0
  49. package/.chunks/{worker-a6MSM1uV.amd.js → worker-D28QqQ45.amd.js} +2 -2
  50. package/.chunks/{worker-a6MSM1uV.amd.js.map → worker-D28QqQ45.amd.js.map} +1 -1
  51. package/.chunks/{worker-a6MSM1uV.esm.js → worker-D28QqQ45.esm.js} +3 -3
  52. package/.chunks/{worker-a6MSM1uV.esm.js.map → worker-D28QqQ45.esm.js.map} +1 -1
  53. package/api/index.amd.js +1 -1
  54. package/api/index.amd.js.map +1 -1
  55. package/api/index.js +1 -1
  56. package/autoload-css-manifest.amd.json +4 -4
  57. package/autoload-css-manifest.json +4 -4
  58. package/charts/charts.amd.js +1 -1
  59. package/charts/charts.amd.js.map +1 -1
  60. package/charts/charts.js +1 -1
  61. package/core/app.amd.js +1 -1
  62. package/core/app.amd.js.map +1 -1
  63. package/core/app.js +3 -3
  64. package/dialog/dialog.amd.js +1 -1
  65. package/dialog/dialog.amd.js.map +1 -1
  66. package/dialog/dialog.js +2 -2
  67. package/forms/forms.amd.js +1 -1
  68. package/forms/forms.amd.js.map +1 -1
  69. package/forms/forms.js +1 -1
  70. package/formsExt/formsExt.amd.js +1 -1
  71. package/formsExt/formsExt.amd.js.map +1 -1
  72. package/formsExt/formsExt.js +1 -1
  73. package/layout/layout.amd.js +1 -1
  74. package/layout/layout.amd.js.map +1 -1
  75. package/layout/layout.js +3 -3
  76. package/layout/layout.js.map +1 -1
  77. package/package.json +8 -2
  78. package/popup/popup.amd.js +1 -1
  79. package/popup/popup.amd.js.map +1 -1
  80. package/popup/popup.js +1 -1
  81. package/popup/worker.amd.js +1 -1
  82. package/popup/worker.amd.js.map +1 -1
  83. package/popup/worker.js +1 -1
  84. package/project/project.amd.js +1 -1
  85. package/project/project.amd.js.map +1 -1
  86. package/project/project.js +32 -32
  87. package/project/project.js.map +1 -1
  88. package/schedule/schedule.amd.js +1 -1
  89. package/schedule/schedule.amd.js.map +1 -1
  90. package/schedule/schedule.js +90 -90
  91. package/schedule/schedule.js.map +1 -1
  92. package/tabs/tabs.amd.js +1 -1
  93. package/tabs/tabs.amd.js.map +1 -1
  94. package/tabs/tabs.js +3 -3
  95. package/tabs/tabs.js.map +1 -1
  96. package/tabsView/tabsView.amd.js +1 -1
  97. package/tabsView/tabsView.amd.js.map +1 -1
  98. package/tabsView/tabsView.js +11 -11
  99. package/tabsView/tabsView.js.map +1 -1
  100. package/utils/clipboard.amd.js +1 -1
  101. package/utils/clipboard.amd.js.map +1 -1
  102. package/utils/clipboard.js +1 -1
  103. package/utils/date.amd.js +1 -1
  104. package/utils/date.amd.js.map +1 -1
  105. package/utils/date.js +1 -1
  106. package/utils/device.amd.js +1 -1
  107. package/utils/device.amd.js.map +1 -1
  108. package/utils/device.js +1 -1
  109. package/utils/lodash.amd.js +1 -1
  110. package/utils/lodash.amd.js.map +1 -1
  111. package/utils/lodash.js +1 -1
  112. package/utils/price.amd.js +1 -1
  113. package/utils/price.amd.js.map +1 -1
  114. package/utils/price.js +1 -1
  115. package/utils/string.amd.js +1 -1
  116. package/utils/string.amd.js.map +1 -1
  117. package/utils/string.js +1 -1
  118. package/.chunks/dialog-C8fss11q.amd.js +0 -2
  119. package/.chunks/dialog-C8fss11q.amd.js.map +0 -1
  120. package/.chunks/dialog-C8fss11q.esm.js.map +0 -1
  121. package/.chunks/dialog_regionSelectorRegions-zJShjr2f.esm.js.map +0 -1
  122. package/.chunks/forms-LywqKN9I.amd.js.map +0 -1
  123. package/.chunks/forms-LywqKN9I.esm.js.map +0 -1
  124. package/.chunks/formsExt-Iw04hpHr.amd.js +0 -2
  125. package/.chunks/formsExt-Iw04hpHr.amd.js.map +0 -1
  126. package/.chunks/formsExt-Iw04hpHr.esm.js.map +0 -1
  127. package/.chunks/notice-Dw5ZUJxW.esm.js.map +0 -1
  128. package/.chunks/popup-ClpsGU2P.amd.js +0 -2
  129. package/.chunks/popup-ClpsGU2P.amd.js.map +0 -1
  130. package/.chunks/popup-ClpsGU2P.esm.js.map +0 -1
  131. package/.chunks/utils-ZgQqVN0T.amd.js.map +0 -1
  132. package/.chunks/utils-ZgQqVN0T.esm.js.map +0 -1
@@ -5,17 +5,17 @@
5
5
  _autoloadCSSCore.insertCSSLinkToPage(fileNames, true);
6
6
  /* end import css */
7
7
 
8
- import "./api-BlIxMRlW.esm.js";
9
- 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, t as l } from "./forms-LywqKN9I.esm.js";
8
+ import "./api-BD74aA98.esm.js";
9
+ 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, t as l } from "./forms-_4U0sLFk.esm.js";
10
10
  import { t as u } from "./field-DEusYVqS.esm.js";
11
11
  import { invertKeyboardLayout as d } from "../utils/keyboard.js";
12
- import { a as f, o as p, s as m } from "./popup-ClpsGU2P.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 te, resolveDynamicComponent as ne, toDisplayString as F, triggerRef as I, unref as L, useModel as R, watch as z, withCtx as B, withDirectives as V, withKeys as H, withModifiers as U } from "vue";
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";
14
14
  //#region src/components/formsExt/menu/menu.vue?vue&type=script&setup=true&lang.ts
15
- var W = {
15
+ var G = {
16
16
  key: 0,
17
17
  class: "top-menu_selectAll"
18
- }, re = /* @__PURE__ */ w({
18
+ }, K = /* @__PURE__ */ w({
19
19
  __name: "menu",
20
20
  props: /*@__PURE__*/ T({
21
21
  modelValue: {},
@@ -30,7 +30,7 @@ var W = {
30
30
  }),
31
31
  emits: ["update:modelValue"],
32
32
  setup(e) {
33
- let r = e, i = R(e, "modelValue"), a = M();
33
+ let r = e, i = z(e, "modelValue"), a = M();
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)) {
@@ -81,9 +81,9 @@ var W = {
81
81
  isActive: o(e)
82
82
  }), x({ _: 2 }, [e.content ? {
83
83
  name: "default",
84
- fn: B(() => [S(F(e.content), 1)]),
84
+ fn: V(() => [S(I(e.content), 1)]),
85
85
  key: "0"
86
- } : void 0]), 1040, ["onClick", "isActive"]))), 256)), Array.isArray(i.value) && e.selectAllItem ? (j(), y("div", W, [C(s, E(e.selectAllItem, {
86
+ } : void 0]), 1040, ["onClick", "isActive"]))), 256)), Array.isArray(i.value) && e.selectAllItem ? (j(), y("div", G, [C(s, E(e.selectAllItem, {
87
87
  class: "top-menu_item",
88
88
  color: "theme",
89
89
  styling: "",
@@ -91,38 +91,38 @@ var W = {
91
91
  isActive: i.value.length === e.items.length
92
92
  }), x({ _: 2 }, [e.selectAllItem.content ? {
93
93
  name: "default",
94
- fn: B(() => [S(F(e.selectAllItem.content), 1)]),
94
+ fn: V(() => [S(I(e.selectAllItem.content), 1)]),
95
95
  key: "0"
96
96
  } : void 0]), 1040, ["isActive"])])) : v("", !0)], 34));
97
97
  }
98
- }), ie = { class: "top-selector2_itemMulti top-ellipsis" }, ae = /* @__PURE__ */ w({
98
+ }), ne = { class: "top-selector2_itemMulti top-ellipsis" }, re = /* @__PURE__ */ w({
99
99
  __name: "itemMulti",
100
100
  props: {
101
101
  id: {},
102
102
  name: {}
103
103
  },
104
104
  emits: ["delete"],
105
- setup(e) {
106
- return (t, n) => (j(), y("div", ie, [S(F(e.name) + " ", 1), b("span", {
105
+ setup(e, { emit: t }) {
106
+ return (n, r) => (j(), y("div", ne, [S(I(e.name) + " ", 1), b("span", {
107
107
  class: "top-selector2_itemMultiDelete",
108
108
  "data-top-icon": "",
109
- onClick: n[0] ||= (n) => t.$emit("delete", {
109
+ onClick: r[0] ||= (n) => t("delete", {
110
110
  id: e.id,
111
111
  name: e.name
112
112
  }),
113
- onMousedown: n[1] ||= U(() => {}, ["stop"])
113
+ onMousedown: r[1] ||= W(() => {}, ["stop"])
114
114
  }, null, 32)]));
115
115
  }
116
- }), G = /* @__PURE__ */ new Map(), K = /* @__PURE__ */ new Map(), q = /* @__PURE__ */ new Map(), J = (e) => (q.has(e) || q.set(e, M(0)), q.get(e)), Y = (e) => {
117
- J(e).value++;
118
- }, X = (e) => {
119
- G.get(e)?.clear(), Y(e);
120
- }, Z = (e, t) => {
121
- G.get(e)?.forEach((e) => t(e));
122
- }, oe = (e, t) => {
123
- K.get(e)?.forEach((e) => t(e));
124
- }, Q = (e, t, n) => {
125
- oe(e, (e) => {
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) => {
117
+ X(e).value++;
118
+ }, Q = (e) => {
119
+ q.get(e)?.clear(), Z(e);
120
+ }, $ = (e, t) => {
121
+ q.get(e)?.forEach((e) => t(e));
122
+ }, ie = (e, t) => {
123
+ J.get(e)?.forEach((e) => t(e));
124
+ }, ae = (e, t, n) => {
125
+ ie(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,47 +131,47 @@ var W = {
131
131
  if (e.value.id !== t) return;
132
132
  Object.assign(e.value, n), r = !0;
133
133
  }
134
- r && I(e);
134
+ r && L(e);
135
135
  });
136
- }, $ = (e) => {
136
+ }, oe = (e) => {
137
137
  let t = window.mo?.user?.id;
138
138
  return JSON.stringify(e.params) + ":" + e.url + ":" + t;
139
139
  }, se = (e, t) => {
140
- let n = G.get(t)?.get(e);
140
+ let n = q.get(t)?.get(e);
141
141
  if (n) return n.result = n.result.map((e) => ({ ...e })), n;
142
142
  }, ce = (e, t, n) => {
143
- G.has(t) || G.set(t, /* @__PURE__ */ new Map()), G.get(t)?.set(e, n);
143
+ q.has(t) || q.set(t, /* @__PURE__ */ new Map()), q.get(t)?.set(e, n);
144
144
  }, le = (e, t) => {
145
- K.has(e) || K.set(e, /* @__PURE__ */ new Set()), K.get(e)?.add(t), k(() => K.get(e)?.delete(t));
145
+ J.has(e) || J.set(e, /* @__PURE__ */ new Set()), J.get(e)?.add(t), k(() => J.get(e)?.delete(t));
146
146
  }, ue = (e, t, n) => {
147
- Z(e, (e) => {
147
+ $(e, (e) => {
148
148
  let r = e.result.find((e) => e.id === t);
149
149
  r && Object.assign(r, n);
150
- }), Q(e, t, n), Y(e);
150
+ }), ae(e, t, n), Z(e);
151
151
  }, de = (e, t) => {
152
- Z(e, (e) => {
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
- }), Q(e, t, { name: "--" }), Y(e);
155
+ }), ae(e, t, { name: "--" }), Z(e);
156
156
  }, fe = (e, t, n, i, a) => {
157
157
  let o = M([]), s = M(!1), c = M(0), l = "", u;
158
158
  e && !e.params.limit && (e.params.limit = 100), e && le(e.path, a);
159
159
  let d = () => {
160
160
  if (!e) return;
161
161
  e.params.offset = 0;
162
- let t = se($(e), e.path);
162
+ let t = se(oe(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 && z(J(e.path), () => {
169
+ e && i && B(X(e.path), () => {
170
170
  d();
171
171
  });
172
172
  let f = async () => {
173
173
  if (!e) return;
174
- let t = i ? $(e) : void 0;
174
+ let t = i ? oe(e) : void 0;
175
175
  if (t) {
176
176
  let n = se(t, e.path);
177
177
  if (n) return e.abortByFingerprint(), n;
@@ -266,12 +266,12 @@ var W = {
266
266
  };
267
267
  if (i.apiRequest) {
268
268
  let e = [() => n.items, i.items];
269
- n.multiselect && e.push(t), z(e, () => {
269
+ n.multiselect && e.push(t), B(e, () => {
270
270
  p();
271
271
  }, { deep: 2 });
272
- } else z(a, () => {
272
+ } else B(a, () => {
273
273
  h();
274
- }), z([
274
+ }), B([
275
275
  t,
276
276
  () => n.items,
277
277
  a,
@@ -281,7 +281,7 @@ var W = {
281
281
  }, {
282
282
  immediate: !0,
283
283
  deep: 2
284
- }), z([() => n.items?.length ?? 0, () => n.items], (e, r) => {
284
+ }), B([() => 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
  });
@@ -353,17 +353,17 @@ var W = {
353
353
  modelModifiers: {}
354
354
  }),
355
355
  emits: /*@__PURE__*/ T(["appendItem", "open"], ["update:modelValue"]),
356
- setup(e, { expose: t, emit: r }) {
357
- let i = e, a = R(e, "modelValue"), o = r, c = g(() => i.searchType === "inline" && i.multiselect || i.searchType === "inline" && n.state.isMobile ? "popup" : i.searchType), u = fe(i.api, i.apiSetSearchParams, i.minLength, i.useCache, a), d = _e(a, i, o, u), w = g(() => i.buttonProps ? "TopButton" : c.value === "inline" ? "TopInput" : "div"), T = M(null), D = M(null), O = () => T.value?.popup;
358
- u.apiRequest && z(d.searchText, () => {
359
- u.setSearchTextAndLoad(d.searchText.value);
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);
360
360
  });
361
- let k = g(() => Array.isArray(a.value) || i.multiselect || !i.selectedAsPlaceholder && c.value !== "inline" ? i.placeholder : a.value?.name || i.placeholder), A = (e) => {
361
+ let A = g(() => Array.isArray(o.value) || a.multiselect || !a.selectedAsPlaceholder && u.value !== "inline" ? a.placeholder : o.value?.name || a.placeholder), L = (e) => {
362
362
  let t = !1;
363
363
  switch (e.key) {
364
364
  case "Delete":
365
365
  case "Backspace":
366
- Array.isArray(a.value) && (e.preventDefault(), e.stopPropagation(), a.value.pop());
366
+ Array.isArray(o.value) && (e.preventDefault(), e.stopPropagation(), o.value.pop());
367
367
  break;
368
368
  case "ArrowUp":
369
369
  case "ArrowRight":
@@ -374,57 +374,57 @@ var W = {
374
374
  t = !0;
375
375
  break;
376
376
  case "Escape":
377
- c.value === "inline" && d.resetSearch();
377
+ u.value === "inline" && w.resetSearch();
378
378
  break;
379
379
  }
380
380
  let n = e.key.length === 1 && !e.ctrlKey && !e.metaKey;
381
- (c.value === "popup" || c.value === "inline") && n && (t = !0), O()?.elPopup && (t = !1), t && (c.value === "popup" && (e.preventDefault(), e.stopPropagation(), n && (d.searchText.value || (d.searchText.value = e.key))), e.currentTarget?.click());
382
- }, I = (e) => {
383
- e.preventDefault(), d.selectNextItem();
384
- }, H = () => {
385
- u.apiRequest && u.setSearchTextAndLoad(d.searchText.value, !1), o("open");
386
- }, U = () => {
387
- d.resetItemsForShow(), c.value === "popup" && d.searchText.value && d.resetSearch();
388
- }, W = (e) => {
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");
386
+ }, G = () => {
387
+ w.resetItemsForShow(), u.value === "popup" && w.searchText.value && w.resetSearch();
388
+ }, K = (e) => {
389
389
  let t = e.target;
390
- t.scrollTop / (t.scrollHeight - t.offsetHeight) > .8 && (i.api ? u.load(!0) : d.revelItemsForShow());
390
+ t.scrollTop / (t.scrollHeight - t.offsetHeight) > .8 && (a.api ? d.load(!0) : w.revelItemsForShow());
391
391
  };
392
392
  return t({
393
- getPopup: O,
394
- popupOpenerRef: D,
393
+ getPopup: k,
394
+ popupOpenerRef: O,
395
395
  resetCache: (e = !1) => {
396
- u.apiRequest && (e && X(u.apiRequest.path), u.items.value = [], u.countLoading.value = 0, u.apiRequest.params.offset = 0, requestAnimationFrame(() => {
397
- d.itemsForShow.value = [];
398
- }), O()?.elPopup && u.setSearchTextAndLoad(d.searchText.value));
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));
399
399
  },
400
400
  updateCacheItemById: (e, t) => {
401
- u.apiRequest && ue(u.apiRequest.path, e, t);
401
+ d.apiRequest && ue(d.apiRequest.path, e, t);
402
402
  },
403
403
  deleteCacheItemById: (e) => {
404
- u.apiRequest && de(u.apiRequest.path, e);
404
+ d.apiRequest && de(d.apiRequest.path, e);
405
405
  }
406
406
  }), (t, r) => {
407
- let i = ee("TopLoadbar"), o = te("top-focus"), g = te("top-shortcut");
408
- return j(), _(L(m), {
407
+ let a = ee("TopLoadbar"), c = F("top-focus"), g = F("top-shortcut");
408
+ return j(), _(R(m), {
409
409
  ref_key: "popupRef",
410
- ref: T,
411
- onOpen: r[3] ||= (e) => H(),
412
- onClose: r[4] ||= (e) => U(),
413
- onScrollContentList: r[5] ||= (e) => W(e),
410
+ ref: D,
411
+ onOpen: r[3] ||= (e) => W(),
412
+ onClose: r[4] ||= (e) => G(),
413
+ onScrollContentList: r[5] ||= (e) => K(e),
414
414
  notch: !1,
415
415
  transitionDuration: 0,
416
- openByFocusInput: c.value === "inline" && (e.openByFocusInput ?? !0),
417
- disabled: c.value === "inline" && L(d).genIsShort()
416
+ openByFocusInput: u.value === "inline" && (e.openByFocusInput ?? !0),
417
+ disabled: u.value === "inline" && R(w).genIsShort()
418
418
  }, x({
419
- opener: B(() => [V((j(), _(ne(w.value), E({
419
+ opener: V(() => [H((j(), _(te(T.value), E({
420
420
  ref_key: "popupOpenerRef",
421
- ref: D
421
+ ref: O
422
422
  }, e.buttonProps, {
423
423
  class: {
424
424
  "top-selector2": !0,
425
425
  "top-selector2-multiselect": e.multiselect,
426
426
  ["top-selector2-" + e.modificator]: !!e.modificator,
427
- "top-as-input": !e.buttonProps && c.value !== "inline",
427
+ "top-as-input": !e.buttonProps && u.value !== "inline",
428
428
  "top-as-selector": !0,
429
429
  ["top-size_" + e.size]: !0,
430
430
  "top-disabled": e.disabled,
@@ -433,32 +433,32 @@ var W = {
433
433
  },
434
434
  icon: e.icon,
435
435
  tabindex: "0",
436
- onKeydown: A,
437
- onBlur: r[0] ||= (e) => c.value === "inline" && L(d).resetSearch(),
438
- placeholder: k.value,
436
+ onKeydown: L,
437
+ onBlur: r[0] ||= (e) => u.value === "inline" && R(w).resetSearch(),
438
+ placeholder: A.value,
439
439
  title: e.title,
440
- captionType: c.value === "inline" && e.title !== void 0 ? "top" : void 0,
441
- modelValue: L(d).searchText.value,
442
- "onUpdate:modelValue": r[1] ||= (e) => L(d).searchText.value = e
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
443
443
  }), {
444
- default: B(() => [
445
- e.multiselect ? (j(), y("div", ve, [(j(!0), y(h, null, N(a.value, (e) => (j(), _(ae, {
444
+ default: V(() => [
445
+ e.multiselect ? (j(), y("div", ve, [(j(!0), y(h, null, N(o.value, (e) => (j(), _(re, {
446
446
  key: e.id ?? void 0,
447
447
  id: e.id,
448
448
  name: e.name,
449
- onDelete: L(d).deleteItemByItem
449
+ onDelete: R(w).deleteItemByItem
450
450
  }, null, 8, [
451
451
  "id",
452
452
  "name",
453
453
  "onDelete"
454
454
  ]))), 128))])) : v("", !0),
455
- c.value !== "inline" && !e.multiselect ? (j(), y("span", ye, F(Array.isArray(a.value) ? "" : a.value.name), 1)) : v("", !0),
456
- e.multiselect && !a.value.length ? (j(), y("span", be, F(k.value), 1)) : v("", !0),
457
- e.addChanger && !e.buttonProps && !e.multiselect && L(d).itemsForShow.value.length > 1 && !e.disabled ? (j(), y("span", {
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", {
458
458
  key: 3,
459
459
  class: "top-changer top-changer-selector",
460
460
  "data-top-popup-disabled": "true",
461
- onClick: I
461
+ onClick: U
462
462
  })) : v("", !0)
463
463
  ]),
464
464
  _: 1
@@ -470,69 +470,69 @@ var W = {
470
470
  "captionType",
471
471
  "modelValue"
472
472
  ])), [[
473
- o,
473
+ c,
474
474
  e.isError,
475
475
  void 0,
476
476
  { onupdate: !0 }
477
477
  ], [g, e.openerShortcut]])]),
478
- contentList: B(() => [
479
- (j(!0), y(h, null, N(L(d).itemsForShow.value, (r) => (j(), _(L(p), E({
478
+ contentList: V(() => [
479
+ (j(!0), y(h, null, N(R(w).itemsForShow.value, (r) => (j(), _(R(p), E({
480
480
  key: r.id ?? void 0,
481
481
  class: {
482
- "top-active": !Array.isArray(a.value) && !e.multiselect && a.value.id === r.id && a.value.name === r.name,
483
- "top-selector2_item-all": r.id === L(0),
484
- "top-selector2_item-new": r.id === L(null)
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)
485
485
  },
486
- closeByClick: !e.multiselect || L(n).state.isMobile
487
- }, { ref_for: !0 }, r.listItemProps, { onClick: (e) => L(d).selectItem(r) }), x({
488
- default: B(() => [t.$slots.item ? P(t.$slots, "item", { item: r }, void 0, void 0, 0) : (j(), y(h, { key: 1 }, [S(F(r.name), 1)], 64))]),
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))]),
489
489
  _: 2
490
- }, [t.$slots.actions ? {
490
+ }, [i.actions ? {
491
491
  name: "actions",
492
- fn: B(() => [P(t.$slots, "actions", { item: r })]),
492
+ fn: V(() => [P(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
- !L(d).itemsForShow.value.length && !L(d).genIsShort() ? (j(), _(L(p), {
499
+ !R(w).itemsForShow.value.length && !R(w).genIsShort() ? (j(), _(R(p), {
500
500
  key: 0,
501
501
  type: "regular"
502
502
  }, {
503
- default: B(() => [L(u).isLoading.value && !L(u).countLoading.value || e.itemsIsLoading ? (j(), _(L(l), {
503
+ default: V(() => [R(d).isLoading.value && !R(d).countLoading.value || e.itemsIsLoading ? (j(), _(R(l), {
504
504
  key: 0,
505
505
  type: "circles"
506
- })) : (j(), y(h, { key: 1 }, [S(F(t.$i18n.Common.No_results), 1)], 64))]),
506
+ })) : (j(), y(h, { key: 1 }, [S(I(t.$i18n.Common.No_results), 1)], 64))]),
507
507
  _: 1
508
508
  })) : v("", !0),
509
- L(u).countLoading.value && L(u).isLoading.value && c.value === "inline" ? (j(), _(i, { key: 1 })) : v("", !0)
509
+ R(d).countLoading.value && R(d).isLoading.value && u.value === "inline" ? (j(), _(a, { key: 1 })) : v("", !0)
510
510
  ]),
511
511
  _: 2
512
- }, [c.value === "popup" ? {
512
+ }, [u.value === "popup" ? {
513
513
  name: "widget",
514
- fn: B(() => [b("div", xe, [V(C(L(f), {
514
+ fn: V(() => [b("div", xe, [H(C(R(f), {
515
515
  title: "Поиск",
516
516
  icon: "",
517
- modelValue: L(d).searchText.value,
518
- "onUpdate:modelValue": r[2] ||= (e) => L(d).searchText.value = e,
519
- isLoading: !!L(u).countLoading.value && L(u).isLoading.value,
520
- placeholder: k.value
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,
520
+ placeholder: A.value
521
521
  }, null, 8, [
522
522
  "modelValue",
523
523
  "isLoading",
524
524
  "placeholder"
525
525
  ]), [[
526
- o,
527
- a.value,
526
+ c,
527
+ o.value,
528
528
  void 0,
529
529
  { onupdate: !0 }
530
- ]]), e.hasCloserBtn && !t.$core.state.isMobile ? (j(), _(L(s), {
530
+ ]]), e.hasCloserBtn && !t.$core.state.isMobile ? (j(), _(R(s), {
531
531
  key: 0,
532
532
  class: "closer",
533
533
  color: "theme"
534
534
  }, {
535
- default: B(() => [S(F(t.$i18n.Common.Cancel), 1)]),
535
+ default: V(() => [S(I(t.$i18n.Common.Cancel), 1)]),
536
536
  _: 1
537
537
  })) : v("", !0)])]),
538
538
  key: "0"
@@ -571,34 +571,34 @@ var W = {
571
571
  "close",
572
572
  "clickOnTitle"
573
573
  ],
574
- setup(e, { emit: t }) {
575
- let n = e, r = t, i = M(n.defaultValue), a = M(n.isFocused), o = g(() => i.value !== n.defaultValue), l = (e) => {
576
- r("submit", e), i.value = n.defaultValue;
577
- }, u = () => {
578
- if (n.forceShowCloseBtn && !o.value) {
579
- r("close");
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) => {
576
+ i("submit", e), a.value = r.defaultValue;
577
+ }, d = () => {
578
+ if (r.forceShowCloseBtn && !l.value) {
579
+ i("close");
580
580
  return;
581
581
  }
582
- i.value = n.defaultValue;
583
- }, d = () => {
584
- n.attachToKeyboard && r("clickOnTitle");
582
+ a.value = r.defaultValue;
583
+ }, f = () => {
584
+ r.attachToKeyboard && i("clickOnTitle");
585
585
  };
586
- return (t, n) => (j(), y("div", { class: D({
586
+ return (t, r) => (j(), y("div", { class: D({
587
587
  "top-editArea": !0,
588
588
  "top-editArea-attachedToKeyboard": e.attachToKeyboard
589
- }) }, [e.title || t.$slots.caption ? (j(), y("div", {
589
+ }) }, [e.title || n.caption ? (j(), y("div", {
590
590
  key: 0,
591
591
  class: "top-editArea_caption",
592
- onClick: n[0] ||= (e) => d()
593
- }, [P(t.$slots, "caption", {}, () => [S(F(e.title), 1)])])) : v("", !0), b("div", { class: D({
592
+ onClick: r[0] ||= (e) => f()
593
+ }, [P(t.$slots, "caption", {}, () => [S(I(e.title), 1)])])) : v("", !0), b("div", { class: D({
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
- "top-focus": a.value
598
+ "top-focus": o.value
599
599
  }) }, [C(c, {
600
- modelValue: i.value,
601
- "onUpdate:modelValue": n[1] ||= (e) => i.value = e,
600
+ modelValue: a.value,
601
+ "onUpdate:modelValue": r[1] ||= (e) => a.value = e,
602
602
  name: e.name,
603
603
  placeholder: e.placeholder,
604
604
  rows: e.rows,
@@ -609,9 +609,9 @@ var W = {
609
609
  isError: e.isError,
610
610
  hint: e.hint,
611
611
  class: "top-editArea_element",
612
- onFocus: n[2] ||= () => a.value = !0,
613
- onBlur: n[3] ||= () => a.value = !1,
614
- onKeyup: [H(u, ["esc"]), n[4] ||= H(U((e) => l(i.value), ["ctrl"]), ["enter"])]
612
+ onFocus: r[2] ||= () => o.value = !0,
613
+ onBlur: r[3] ||= () => o.value = !1,
614
+ onKeyup: [U(d, ["esc"]), r[4] ||= U(W((e) => u(a.value), ["ctrl"]), ["enter"])]
615
615
  }, null, 8, [
616
616
  "modelValue",
617
617
  "name",
@@ -623,25 +623,25 @@ var W = {
623
623
  "readonly",
624
624
  "isError",
625
625
  "hint"
626
- ]), b("div", Ce, [o.value || e.forceShowCloseBtn ? (j(), _(s, {
626
+ ]), b("div", Ce, [l.value || e.forceShowCloseBtn ? (j(), _(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
- onClick: u
632
+ onClick: d
633
633
  }, x({ _: 2 }, [t.$core.state.isMobile ? void 0 : {
634
634
  name: "default",
635
- fn: B(() => [S(F(e.cancelText), 1)]),
635
+ fn: V(() => [S(I(e.cancelText), 1)]),
636
636
  key: "0"
637
- }]), 1032, ["icon"])) : v("", !0), o.value ? (j(), _(s, {
637
+ }]), 1032, ["icon"])) : v("", !0), l.value ? (j(), _(s, {
638
638
  key: 1,
639
639
  class: "top-editArea_button",
640
640
  icon: t.$core.state.isMobile ? "" : "",
641
- onClick: n[5] ||= (e) => l(i.value)
641
+ onClick: r[5] ||= (e) => u(a.value)
642
642
  }, x({ _: 2 }, [t.$core.state.isMobile ? void 0 : {
643
643
  name: "default",
644
- fn: B(() => [S(F(e.submitText), 1)]),
644
+ fn: V(() => [S(I(e.submitText), 1)]),
645
645
  key: "0"
646
646
  }]), 1032, ["icon"])) : v("", !0)])], 2)], 2));
647
647
  }
@@ -654,28 +654,28 @@ var W = {
654
654
  button: {}
655
655
  },
656
656
  emits: ["update:modelValue"],
657
- setup(e, { emit: t }) {
658
- let n = e, r = M(n.modelValue);
659
- z(() => n.modelValue, () => {
660
- r.value = n.modelValue;
657
+ setup(e, { emit: t, slots: n }) {
658
+ let r = e, i = M(r.modelValue);
659
+ B(() => r.modelValue, () => {
660
+ i.value = r.modelValue;
661
661
  });
662
- let i = t, o = () => {
663
- i("update:modelValue", r.value);
662
+ let o = t, c = () => {
663
+ o("update:modelValue", i.value);
664
664
  };
665
- return (t, n) => (j(), y("div", Te, [C(a, E(e.input, {
666
- onKeydownCapture: n[0] ||= H(U((t) => r.value = e.modelValue, ["stop"]), ["esc"]),
667
- onKeydown: H(U(o, ["stop"]), ["enter"]),
668
- modelValue: r.value,
669
- "onUpdate:modelValue": n[1] ||= (e) => r.value = e
670
- }), x({ _: 2 }, [t.$slots.caption ? {
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"]),
668
+ modelValue: i.value,
669
+ "onUpdate:modelValue": r[1] ||= (e) => i.value = e
670
+ }), x({ _: 2 }, [n.caption ? {
671
671
  name: "caption",
672
- fn: B(() => [P(t.$slots, "caption")]),
672
+ fn: V(() => [P(t.$slots, "caption")]),
673
673
  key: "0"
674
- } : void 0]), 1040, ["onKeydown", "modelValue"]), r.value !== e.modelValue || e.alwaysShowSubmitBtn ? (j(), _(s, E({
674
+ } : void 0]), 1040, ["onKeydown", "modelValue"]), i.value !== e.modelValue || e.alwaysShowSubmitBtn ? (j(), _(s, E({
675
675
  key: 0,
676
676
  icon: "",
677
677
  styling: "soft"
678
- }, e.button, { onClick: o }), null, 16)) : v("", !0)]));
678
+ }, e.button, { onClick: c }), null, 16)) : v("", !0)]));
679
679
  }
680
680
  }), De = /* @__PURE__ */ w({
681
681
  __name: "optionGroup",
@@ -691,8 +691,8 @@ var W = {
691
691
  }),
692
692
  emits: ["update:modelValue"],
693
693
  setup(e) {
694
- let t = R(e, "modelValue"), n = e, r = M(null);
695
- z(t, () => {
694
+ let t = z(e, "modelValue"), n = e, r = M(null);
695
+ B(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 });
@@ -721,7 +721,7 @@ var W = {
721
721
  "data-top-icon": n.icon
722
722
  }, x({ _: 2 }, [n.label ? {
723
723
  name: "default",
724
- fn: B(() => [S(F(n.label), 1)]),
724
+ fn: V(() => [S(I(n.label), 1)]),
725
725
  key: "0"
726
726
  } : void 0]), 1032, [
727
727
  "class",
@@ -746,7 +746,7 @@ var W = {
746
746
  "data-top-icon": n.icon
747
747
  }, x({ _: 2 }, [n.label ? {
748
748
  name: "default",
749
- fn: B(() => [S(F(n.label), 1)]),
749
+ fn: V(() => [S(I(n.label), 1)]),
750
750
  key: "0"
751
751
  } : void 0]), 1032, [
752
752
  "class",
@@ -772,17 +772,17 @@ var W = {
772
772
  }),
773
773
  emits: ["update:modelValue"],
774
774
  setup(e) {
775
- let t = R(e, "modelValue");
776
- return (e, n) => (j(), _(De, {
775
+ let t = e, n = z(e, "modelValue");
776
+ return (e, r) => (j(), _(De, {
777
777
  class: "top-radioGroup",
778
- modelValue: t.value,
779
- "onUpdate:modelValue": n[0] ||= (e) => t.value = e,
780
- items: e.$props.items,
781
- size: e.$props.size,
782
- showIndicator: e.$props.showIndicator,
783
- isError: e.$props.isError
778
+ modelValue: n.value,
779
+ "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
780
+ items: t.items,
781
+ size: t.size,
782
+ showIndicator: t.showIndicator,
783
+ isError: t.isError
784
784
  }, {
785
- default: B(() => [P(e.$slots, "default")]),
785
+ default: V(() => [P(e.$slots, "default")]),
786
786
  _: 3
787
787
  }, 8, [
788
788
  "modelValue",
@@ -806,17 +806,17 @@ var W = {
806
806
  }),
807
807
  emits: ["update:modelValue"],
808
808
  setup(e) {
809
- let t = R(e, "modelValue");
810
- return (e, n) => (j(), _(De, {
809
+ let t = e, n = z(e, "modelValue");
810
+ return (e, r) => (j(), _(De, {
811
811
  class: "top-checkboxGroup",
812
- modelValue: t.value,
813
- "onUpdate:modelValue": n[0] ||= (e) => t.value = e,
814
- items: e.$props.items,
815
- size: e.$props.size,
816
- showIndicator: e.$props.showIndicator,
817
- isError: e.$props.isError
812
+ modelValue: n.value,
813
+ "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
814
+ items: t.items,
815
+ size: t.size,
816
+ showIndicator: t.showIndicator,
817
+ isError: t.isError
818
818
  }, {
819
- default: B(() => [P(e.$slots, "default")]),
819
+ default: V(() => [P(e.$slots, "default")]),
820
820
  _: 3
821
821
  }, 8, [
822
822
  "modelValue",
@@ -836,15 +836,15 @@ var W = {
836
836
  styling: { default: "default" },
837
837
  size: { default: "default" }
838
838
  },
839
- setup(e) {
840
- return (t, n) => (j(), y("div", {
839
+ setup(e, { slots: t }) {
840
+ return (n, r) => (j(), y("div", {
841
841
  class: D({
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(t.$slots, "default")]), t.$slots.additional ? (j(), y("span", Me, [P(t.$slots, "additional")])) : v("", !0)], 10, Ae));
847
+ }, [b("div", je, [P(n.$slots, "default")]), t.additional ? (j(), y("span", Me, [P(n.$slots, "additional")])) : v("", !0)], 10, Ae));
848
848
  }
849
849
  }), Pe = {
850
850
  key: 0,
@@ -862,22 +862,22 @@ var W = {
862
862
  r.value = !1, n("accept");
863
863
  };
864
864
  return (t, n) => r.value ? (j(), y("div", Pe, [
865
- b("div", Fe, F(e.title), 1),
865
+ b("div", Fe, I(e.title), 1),
866
866
  b("div", {
867
867
  class: "top-policy_description",
868
868
  innerHTML: e.description
869
869
  }, null, 8, Ie),
870
- C(L(s), {
870
+ C(R(s), {
871
871
  size: "m",
872
872
  onClick: i
873
873
  }, {
874
- default: B(() => [S(F(e.acceptText), 1)]),
874
+ default: V(() => [S(I(e.acceptText), 1)]),
875
875
  _: 1
876
876
  })
877
877
  ])) : v("", !0);
878
878
  }
879
879
  });
880
880
  //#endregion
881
- export { Ee as a, pe as c, X as d, re 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 };
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 };
882
882
 
883
- //# sourceMappingURL=formsExt-Iw04hpHr.esm.js.map
883
+ //# sourceMappingURL=formsExt-BZZEpY-a.esm.js.map