@topvisor/ui 0.9.37 → 1.0.0-colors-3

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 (195) hide show
  1. package/.chunks/{datepicker-D_95vv2c.amd.js → datepicker-CGWwMJRV.amd.js} +10 -10
  2. package/.chunks/datepicker-CGWwMJRV.amd.js.map +1 -0
  3. package/.chunks/{datepicker-CcRVcC5P.es.js → datepicker-INKeNnsk.es.js} +22 -22
  4. package/.chunks/datepicker-INKeNnsk.es.js.map +1 -0
  5. package/.chunks/debounce-4ipCj607.amd.js +2 -0
  6. package/.chunks/debounce-4ipCj607.amd.js.map +1 -0
  7. package/.chunks/debounce-BISRz08p.es.js +116 -0
  8. package/.chunks/debounce-BISRz08p.es.js.map +1 -0
  9. package/.chunks/{forms-BZoPbSQt.es.js → forms-BDAati-M.es.js} +264 -249
  10. package/.chunks/forms-BDAati-M.es.js.map +1 -0
  11. package/.chunks/forms-ZqLh7cu5.amd.js +3 -0
  12. package/.chunks/forms-ZqLh7cu5.amd.js.map +1 -0
  13. package/.chunks/i18n-C_OH9IT3.amd.js +2 -0
  14. package/.chunks/{i18n-eDh3Aaw9.amd.js.map → i18n-C_OH9IT3.amd.js.map} +1 -1
  15. package/.chunks/i18n-DuTvft1T.es.js +26 -0
  16. package/.chunks/{i18n-qpB8zyhD.es.js.map → i18n-DuTvft1T.es.js.map} +1 -1
  17. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-B-fUb36w.amd.js +2 -0
  18. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-B-fUb36w.amd.js.map +1 -0
  19. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CaEDfkda.es.js +174 -0
  20. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CaEDfkda.es.js.map +1 -0
  21. package/.chunks/menu-BDD1uC-t.amd.js +2 -0
  22. package/.chunks/menu-BDD1uC-t.amd.js.map +1 -0
  23. package/.chunks/{menu-DDYYS64d.es.js → menu-DJZI8eh6.es.js} +30 -32
  24. package/.chunks/menu-DJZI8eh6.es.js.map +1 -0
  25. package/.chunks/{popup-Bc6YggdE.es.js → popup-C18N-1yr.es.js} +23 -17
  26. package/.chunks/popup-C18N-1yr.es.js.map +1 -0
  27. package/.chunks/{popup-BFJ2eTTB.amd.js → popup-C497Sl7G.amd.js} +16 -10
  28. package/.chunks/popup-C497Sl7G.amd.js.map +1 -0
  29. package/assets/core.css +1 -1
  30. package/assets/dark.css +1 -1
  31. package/assets/forms.css +1 -1
  32. package/assets/formsExt.css +1 -1
  33. package/assets/light.css +1 -1
  34. package/assets/listItem.css +1 -1
  35. package/assets/menu.css +1 -1
  36. package/assets/tabs.css +1 -1
  37. package/assets/tabsView.css +1 -1
  38. package/common/common.d.ts +1 -1
  39. package/components/forms/avatar/avatar.vue.d.ts +12 -12
  40. package/components/forms/button/button.d.ts +14 -2
  41. package/components/forms/button/button.vue.d.ts +11 -12
  42. package/components/forms/checkbox/checkbox.vue.d.ts +19 -43
  43. package/components/forms/controlLabel/controlLabel.vue.d.ts +7 -8
  44. package/components/forms/forms.d.ts +0 -1
  45. package/components/forms/hint/hint.vue.d.ts +2 -3
  46. package/components/forms/input/input.d.ts +0 -1
  47. package/components/forms/input/input.vue.d.ts +11 -12
  48. package/components/forms/inputDate/inputDate.d.ts +0 -1
  49. package/components/forms/inputDate/inputDate.vue.d.ts +11 -12
  50. package/components/forms/radio/radio.vue.d.ts +8 -9
  51. package/components/forms/select/select.d.ts +0 -1
  52. package/components/forms/select/select.vue.d.ts +31 -69
  53. package/components/forms/select/stories/exampleOptions.d.ts +0 -1
  54. package/components/forms/switcher/switcher.vue.d.ts +8 -9
  55. package/components/forms/textarea/textarea.vue.d.ts +11 -12
  56. package/components/formsExt/editArea/editArea.d.ts +0 -1
  57. package/components/formsExt/editArea/editArea.vue.d.ts +13 -14
  58. package/components/formsExt/editInput/editInput.d.ts +0 -1
  59. package/components/formsExt/editInput/editInput.vue.d.ts +3 -4
  60. package/components/formsExt/formsExt.d.ts +0 -1
  61. package/components/formsExt/menu/menu.d.ts +0 -1
  62. package/components/formsExt/menu/menu.vue.d.ts +32 -48
  63. package/components/formsExt/menu/stories/items.d.ts +0 -1
  64. package/components/formsExt/radioGroup/radioGroup.d.ts +0 -1
  65. package/components/formsExt/radioGroup/radioGroup.vue.d.ts +31 -42
  66. package/components/formsExt/selector2/api.d.ts +0 -1
  67. package/components/formsExt/selector2/itemMulti.vue.d.ts +3 -4
  68. package/components/formsExt/selector2/selector2.d.ts +0 -1
  69. package/components/formsExt/selector2/selector2.vue.d.ts +37 -117
  70. package/components/popup/alert/alert.d.ts +8 -0
  71. package/components/popup/alert/alert.vue.d.ts +33 -0
  72. package/components/popup/confirm/confirm.d.ts +21 -0
  73. package/components/popup/confirm/confirm.vue.d.ts +35 -0
  74. package/components/popup/lib/popup.d.ts +0 -1
  75. package/components/popup/lib/worker.d.ts +4 -5
  76. package/components/popup/popup/listItem.vue.d.ts +11 -12
  77. package/components/popup/popup/opener.vue.d.ts +13 -14
  78. package/components/popup/popup/popup.d.ts +8 -2
  79. package/components/popup/popup/popup.vue.d.ts +13 -14
  80. package/components/popup/popup/widgetInput.vue.d.ts +32 -82
  81. package/components/popup/popup.d.ts +6 -1
  82. package/components/popup/prompt/prompt.d.ts +21 -0
  83. package/components/popup/prompt/prompt.vue.d.ts +35 -0
  84. package/components/project/project.d.ts +0 -1
  85. package/components/project/selectorCompetitors/composables.d.ts +0 -1
  86. package/components/project/selectorCompetitors/selectorCompetitors.d.ts +0 -1
  87. package/components/project/selectorCompetitors/selectorCompetitors.vue.d.ts +32 -24
  88. package/components/tabs/tabs/content.vue.d.ts +7 -8
  89. package/components/tabs/tabs/tab.vue.d.ts +7 -8
  90. package/components/tabs/tabs/tabs.vue.d.ts +7 -8
  91. package/components/tabs/tabs.d.ts +0 -1
  92. package/components/tabsView/tabsView/menu.vue.d.ts +22 -14
  93. package/components/tabsView/tabsView/menuItem.vue.d.ts +12 -12
  94. package/components/tabsView/tabsView/menuTitle.vue.d.ts +8 -8
  95. package/components/tabsView/tabsView/store.d.ts +1 -2
  96. package/components/tabsView/tabsView/tabsView.d.ts +0 -1
  97. package/components/tabsView/tabsView/tabsView.vue.d.ts +34 -34
  98. package/components/tabsView/tabsView.d.ts +0 -1
  99. package/core/app.amd.js +1 -1
  100. package/core/app.amd.js.map +1 -1
  101. package/core/app.d.ts +0 -1
  102. package/core/app.js +23 -21
  103. package/core/app.js.map +1 -1
  104. package/core/core/core.d.ts +14 -0
  105. package/core/core.amd.js +1 -1
  106. package/core/core.d.ts +2 -1
  107. package/core/core.js +1 -1
  108. package/core/directives/focus.d.ts +0 -1
  109. package/core/directives/sticky.d.ts +0 -1
  110. package/core/directives/swimUp.d.ts +0 -1
  111. package/core/directives/tooltip.d.ts +0 -1
  112. package/core/plugins/core.d.ts +0 -1
  113. package/core/plugins/i18n.d.ts +0 -1
  114. package/core/plugins/piniaTPA.d.ts +0 -1
  115. package/core/utils/lodash.d.ts +6 -0
  116. package/core/utils/price.d.ts +0 -1
  117. package/core/utils/store/localStorage.d.ts +0 -1
  118. package/core/utils/store/plugin.d.ts +0 -1
  119. package/core/utils/store/store.d.ts +0 -1
  120. package/forms/forms.amd.js +1 -1
  121. package/forms/forms.d.ts +1 -0
  122. package/forms/forms.js +1 -1
  123. package/forms/helpers.d.ts +1 -0
  124. package/formsExt/formsExt.amd.js +1 -1
  125. package/formsExt/formsExt.amd.js.map +1 -1
  126. package/formsExt/formsExt.d.ts +1 -0
  127. package/formsExt/formsExt.js +3 -3
  128. package/formsExt/formsExt.js.map +1 -1
  129. package/package.json +1 -2
  130. package/popup/popup.amd.js +1 -1
  131. package/popup/popup.amd.js.map +1 -1
  132. package/popup/popup.d.ts +1 -0
  133. package/popup/popup.js +219 -21
  134. package/popup/popup.js.map +1 -1
  135. package/popup/worker.amd.js +1 -1
  136. package/popup/worker.amd.js.map +1 -1
  137. package/popup/worker.d.ts +3 -0
  138. package/popup/worker.js +2 -2
  139. package/popup/worker.js.map +1 -1
  140. package/project/project.amd.js +1 -1
  141. package/project/project.amd.js.map +1 -1
  142. package/project/project.d.ts +1 -0
  143. package/project/project.js +20 -20
  144. package/tabs/tabs.amd.js +1 -1
  145. package/tabs/tabs.d.ts +1 -0
  146. package/tabs/tabs.js +1 -1
  147. package/tabsView/tabsView.amd.js +1 -1
  148. package/tabsView/tabsView.amd.js.map +1 -1
  149. package/tabsView/tabsView.d.ts +1 -0
  150. package/tabsView/tabsView.js +1 -1
  151. package/tabsView/tabsView.js.map +1 -1
  152. package/utils/check.d.ts +1 -0
  153. package/utils/clipboard.d.ts +1 -0
  154. package/utils/date.amd.js +1 -1
  155. package/utils/date.d.ts +1 -0
  156. package/utils/date.js +2 -2
  157. package/utils/device.amd.js +1 -1
  158. package/utils/device.d.ts +1 -0
  159. package/utils/device.js +1 -1
  160. package/utils/dom.d.ts +3 -0
  161. package/utils/image.d.ts +1 -0
  162. package/utils/keyboard.d.ts +1 -0
  163. package/utils/lodash.amd.js +2 -0
  164. package/utils/lodash.amd.js.map +1 -0
  165. package/utils/lodash.d.ts +2 -0
  166. package/utils/lodash.js +706 -0
  167. package/utils/lodash.js.map +1 -0
  168. package/utils/number.d.ts +1 -0
  169. package/utils/price.amd.js +1 -1
  170. package/utils/price.d.ts +1 -0
  171. package/utils/price.js +2 -2
  172. package/utils/route.d.ts +1 -0
  173. package/utils/scroll.d.ts +1 -0
  174. package/utils/store.d.ts +1 -0
  175. package/utils/string.amd.js +1 -1
  176. package/utils/string.d.ts +1 -0
  177. package/utils/string.js +1 -1
  178. package/utils/system.d.ts +1 -0
  179. package/utils/url.d.ts +1 -0
  180. package/.chunks/datepicker-CcRVcC5P.es.js.map +0 -1
  181. package/.chunks/datepicker-D_95vv2c.amd.js.map +0 -1
  182. package/.chunks/forms-BZoPbSQt.es.js.map +0 -1
  183. package/.chunks/forms-KR6uVX5Z.amd.js +0 -3
  184. package/.chunks/forms-KR6uVX5Z.amd.js.map +0 -1
  185. package/.chunks/i18n-eDh3Aaw9.amd.js +0 -2
  186. package/.chunks/i18n-qpB8zyhD.es.js +0 -20
  187. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-4m2ZOlaP.amd.js +0 -2
  188. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-4m2ZOlaP.amd.js.map +0 -1
  189. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-C2uuAtpx.es.js +0 -161
  190. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-C2uuAtpx.es.js.map +0 -1
  191. package/.chunks/menu-CNIQ9vFJ.amd.js +0 -2
  192. package/.chunks/menu-CNIQ9vFJ.amd.js.map +0 -1
  193. package/.chunks/menu-DDYYS64d.es.js.map +0 -1
  194. package/.chunks/popup-BFJ2eTTB.amd.js.map +0 -1
  195. package/.chunks/popup-Bc6YggdE.es.js.map +0 -1
@@ -1,25 +1,25 @@
1
- import { reactive as I, defineComponent as v, useCssVars as G, computed as b, openBlock as u, createElementBlock as f, createElementVNode as S, createCommentVNode as g, createBlock as M, resolveDynamicComponent as x, normalizeClass as w, withCtx as L, renderSlot as k, createTextVNode as ee, toDisplayString as V, mergeModels as N, useModel as K, withDirectives as W, vModelCheckbox as Q, mergeProps as D, withKeys as te, vModelText as J, withModifiers as oe, onUnmounted as se, ref as ae, unref as A, vModelRadio as ne, resolveDirective as ie, watch as re, Fragment as R, renderList as F, vModelSelect as le } from "vue";
2
- function de() {
1
+ import { reactive as I, defineComponent as v, useCssVars as G, computed as w, openBlock as u, createElementBlock as f, createElementVNode as _, createCommentVNode as h, createBlock as T, resolveDynamicComponent as ee, normalizeClass as g, withCtx as L, renderSlot as k, createTextVNode as te, toDisplayString as V, mergeModels as C, useModel as Q, withDirectives as W, vModelCheckbox as J, mergeProps as D, withKeys as oe, vModelText as Z, withModifiers as se, onUnmounted as ae, ref as ne, unref as A, vModelRadio as ie, resolveDirective as re, watch as le, Fragment as N, renderList as F, vModelSelect as de } from "vue";
2
+ function pe() {
3
3
  return "devicePixelRatio" in window && window.devicePixelRatio > 1;
4
4
  }
5
- function pe() {
5
+ function ue() {
6
6
  return !!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|IEMobile|Opera Mini/i);
7
7
  }
8
- function ue() {
8
+ function ce() {
9
9
  return navigator.userAgent.indexOf("Topvisor_App") != -1;
10
10
  }
11
- function ce() {
11
+ function me() {
12
12
  return navigator.userAgent.indexOf("Mac OS X") !== -1;
13
13
  }
14
- function Ut() {
14
+ function Yt() {
15
15
  const t = /Chrome|Android/.test(navigator.userAgent);
16
16
  let a = /Safari/.test(navigator.userAgent);
17
17
  return t && a && (a = !1), a;
18
18
  }
19
- function Xt() {
20
- return ce() ? "⌘" : "Ctrl";
19
+ function qt() {
20
+ return me() ? "⌘" : "Ctrl";
21
21
  }
22
- const Yt = () => $(document).scrollTop(), qt = () => $(document), Gt = () => [document], me = () => {
22
+ const Kt = () => $(document).scrollTop(), Gt = () => $(document), Qt = () => [document], fe = () => {
23
23
  const t = [
24
24
  ["iOS", /(iPhone|iPad)/i],
25
25
  ["Android", /(Android)/i],
@@ -52,15 +52,15 @@ const Yt = () => $(document).scrollTop(), qt = () => $(document), Gt = () => [do
52
52
  break;
53
53
  }
54
54
  return a;
55
- }, Kt = async () => {
55
+ }, Jt = async () => {
56
56
  var a;
57
- let t = me();
57
+ let t = fe();
58
58
  if (t === "Windows 10") {
59
59
  const o = await ((a = navigator == null ? void 0 : navigator.userAgentData) == null ? void 0 : a.getHighEntropyValues(["platformVersion"]));
60
60
  o && o.platformVersion >= "13" && (t = "Windows 11");
61
61
  }
62
62
  return t;
63
- }, fe = 100;
63
+ }, be = 100;
64
64
  let U;
65
65
  const H = /* @__PURE__ */ new Map(), z = {
66
66
  width: window.innerWidth,
@@ -69,24 +69,24 @@ const H = /* @__PURE__ */ new Map(), z = {
69
69
  function he(t) {
70
70
  H.set(t, t);
71
71
  }
72
- function be(t) {
72
+ function ge(t) {
73
73
  H.delete(t);
74
74
  }
75
- function ge(t) {
75
+ function we(t) {
76
76
  clearTimeout(U), U = setTimeout(function() {
77
77
  t.topEvent = {
78
78
  widthDiff: z.width - window.innerWidth,
79
79
  hightDiff: z.height - window.innerHeight
80
80
  }, z.width = window.innerWidth, z.height = window.innerHeight, H.forEach((a) => a(t));
81
- }, fe);
81
+ }, be);
82
82
  }
83
- window.addEventListener("resize", ge);
84
- const we = {
83
+ window.addEventListener("resize", we);
84
+ const X = {
85
85
  addOnReize: he,
86
- removeOnResize: be
86
+ removeOnResize: ge
87
87
  };
88
- var q;
89
- const C = {
88
+ var K;
89
+ const R = {
90
90
  /**
91
91
  * Базовая ширина страницы для отображения ПК / Мобильной версии сайта
92
92
  */
@@ -102,11 +102,11 @@ const C = {
102
102
  /**
103
103
  * Для Москвы: +0300
104
104
  */
105
- gmt: (q = (/* @__PURE__ */ new Date()).toString().match(/GMT(\S+)/)) == null ? void 0 : q[1]
105
+ gmt: (K = (/* @__PURE__ */ new Date()).toString().match(/GMT(\S+)/)) == null ? void 0 : K[1]
106
106
  }, ye = {
107
- dateFormat: C.dateFormat,
108
- currency: C.currency,
109
- gmt: C.gmt,
107
+ dateFormat: R.dateFormat,
108
+ currency: R.currency,
109
+ gmt: R.gmt,
110
110
  /**
111
111
  * Device by size
112
112
  * @see widthForMobile
@@ -154,8 +154,9 @@ class c {
154
154
  static widthForMobile = 900;
155
155
  static matchMediaIsMobile;
156
156
  static $ = window.$;
157
+ static Events = X;
157
158
  static _setState() {
158
- c.matchMediaIsMobile = window.matchMedia(`(max-width: ${c.widthForMobile}px)`), c.state.isMobileUA = pe(), c.state.isRetina = de(), c.state.isApp = ue(), c.setStateByWindowSize(), we.addOnReize(c.onResize), c.onResize(), c.saveToCookie();
159
+ c.matchMediaIsMobile = window.matchMedia(`(max-width: ${c.widthForMobile}px)`), c.state.isMobileUA = ue(), c.state.isRetina = pe(), c.state.isApp = ce(), c.setStateByWindowSize(), X.addOnReize(c.onResize), c.onResize(), c.saveToCookie();
159
160
  }
160
161
  static onResize() {
161
162
  c.setStateByWindowSize(), document.documentElement.style.setProperty("--100vh", window.innerHeight + "px");
@@ -222,8 +223,8 @@ class c {
222
223
  const d = "topCSSLink-" + e.replace(/\W/g, "-");
223
224
  if (window.hasOwnProperty(d)) return;
224
225
  let i, m;
225
- const r = new Promise((p, h) => {
226
- i = p, m = h;
226
+ const r = new Promise((p, b) => {
227
+ i = p, m = b;
227
228
  });
228
229
  s.push(r);
229
230
  const l = document.createElement("link");
@@ -261,30 +262,30 @@ class c {
261
262
  s.innerHTML = a, s.media = n, document.head.append(s);
262
263
  };
263
264
  }
264
- const T = window.L ?? {}, Qt = (t, a, o) => {
265
+ const M = window.L ?? {}, Zt = (t, a, o) => {
265
266
  switch (new Date(t, a, o).getDay()) {
266
267
  case 0:
267
- return T.Vs + ".";
268
+ return M.Vs + ".";
268
269
  case 1:
269
- return T.Pn + ".";
270
+ return M.Pn + ".";
270
271
  case 2:
271
- return T.Vt + ".";
272
+ return M.Vt + ".";
272
273
  case 3:
273
- return T.Sr + ".";
274
+ return M.Sr + ".";
274
275
  case 4:
275
- return T.Ct + ".";
276
+ return M.Ct + ".";
276
277
  case 5:
277
- return T.Pt + ".";
278
+ return M.Pt + ".";
278
279
  case 6:
279
- return T.Sb + ".";
280
+ return M.Sb + ".";
280
281
  default:
281
282
  return "";
282
283
  }
283
- }, Jt = (t, a = !0, o = 2) => {
284
+ }, jt = (t, a = !0, o = 2) => {
284
285
  let n = String(t.getFullYear()), s = String(t.getDate()).padStart(2, "0"), e = String(t.getMonth() + 1).padStart(2, "0"), d = String(t.getHours()).padStart(2, "0"), i = String(t.getMinutes()).padStart(2, "0"), m = String(t.getSeconds()).padStart(2, "0"), r = n + "-" + e + "-" + s;
285
286
  return o >= 1 && (r += " " + d), o >= 2 && (r += ":" + i), o === 3 && (r += ":" + m), a && (r = B(r, o)), r;
286
287
  };
287
- function Zt(t) {
288
+ function xt(t) {
288
289
  return t.indexOf("T") === -1 && (t.length == 10 && (t += " 00:00:00"), t = t.replace(" ", "T") + c.state.gmt), new Date(t);
289
290
  }
290
291
  function ve(t, a = !0, o = 0) {
@@ -293,12 +294,12 @@ function ve(t, a = !0, o = 0) {
293
294
  const s = n.getFullYear(), e = String(n.getMonth() + 1).padStart(2, "0"), d = n.getDate().toString().padStart(2, "0"), i = n.getHours().toString().padStart(2, "0"), m = n.getMinutes().toString().padStart(2, "0"), r = n.getSeconds().toString().padStart(2, "0");
294
295
  return n = s + "-" + e + "-" + d, o && (n += " "), o >= 1 && (n += i), o >= 2 && (n += ":" + m), o >= 3 && (n += ":" + r), a && (n = B(n, o)), n;
295
296
  }
296
- function jt(t, a = !0) {
297
+ function eo(t, a = !0) {
297
298
  const n = (/* @__PURE__ */ new Date()).getTimezoneOffset() / 60 * -1 * 60 * 60 * 1e3, s = 3 * 60 * 60 * 1e3;
298
299
  let e;
299
300
  t !== void 0 ? e = new Date(t) : e = /* @__PURE__ */ new Date(), e.setTime(e.getTime() - n + s);
300
- let d = String(e.getFullYear()), i = String(e.getDate()).padStart(2, "0"), m = String(e.getMonth() + 1).padStart(2, "0"), r = String(e.getHours()).padStart(2, "0"), l = String(e.getMinutes()).padStart(2, "0"), p = String(e.getSeconds()).padStart(2, "0"), h = d + "-" + m + "-" + i + " " + r + ":" + l + ":" + p;
301
- return a && (h = B(h)), h;
301
+ let d = String(e.getFullYear()), i = String(e.getDate()).padStart(2, "0"), m = String(e.getMonth() + 1).padStart(2, "0"), r = String(e.getHours()).padStart(2, "0"), l = String(e.getMinutes()).padStart(2, "0"), p = String(e.getSeconds()).padStart(2, "0"), b = d + "-" + m + "-" + i + " " + r + ":" + l + ":" + p;
302
+ return a && (b = B(b)), b;
302
303
  }
303
304
  function B(t, a = 2, o, n = c.L.Not_date) {
304
305
  if (typeof t == "string" && (!t || t.substring(0, 10) === "0000-00-00") && n && n !== "0000-00-00" || !t) return n;
@@ -336,7 +337,7 @@ function B(t, a = 2, o, n = c.L.Not_date) {
336
337
  }
337
338
  return e = e.trim(), e;
338
339
  }
339
- function X(t, a = c.L.Not_date) {
340
+ function Y(t, a = c.L.Not_date) {
340
341
  if (!t)
341
342
  return a;
342
343
  if (t.match(/\d\d\d\d-\d\d-\d\d/))
@@ -359,7 +360,7 @@ function X(t, a = c.L.Not_date) {
359
360
  let m = i + "-" + d + "-" + e;
360
361
  return m.match(/\d\d\d\d-\d\d-\d\d/) || (console.info("Неверный формат даты, будет возращена текущая дата, " + m), m = ve((/* @__PURE__ */ new Date()).getTime(), !1).substring(0, 10)), m;
361
362
  }
362
- const $e = { class: "top-avatar" }, Se = ["src", "title"], _e = ["title"], ke = /* @__PURE__ */ v({
363
+ const $e = { class: "top-avatar" }, _e = ["src", "title"], Se = ["title"], ke = /* @__PURE__ */ v({
363
364
  __name: "avatar",
364
365
  props: {
365
366
  size: { default: 64 },
@@ -374,31 +375,31 @@ const $e = { class: "top-avatar" }, Se = ["src", "title"], _e = ["title"], ke =
374
375
  },
375
376
  setup(t) {
376
377
  G((s) => ({
377
- "2d3ea0e8": s.size + "px"
378
+ "32a7c02c": s.size + "px"
378
379
  }));
379
- const a = t, o = b(() => {
380
+ const a = t, o = w(() => {
380
381
  var s, e;
381
382
  if (a.isOnline)
382
383
  return (s = a.i18n) == null ? void 0 : s.Online;
383
384
  if (a.lastActiveTime)
384
385
  return ((e = a.i18n) == null ? void 0 : e.LastSeen) + ": " + B(a.lastActiveTime, 2);
385
- }), n = b(() => a.nickname ? a.nickname + (o.value ? `
386
+ }), n = w(() => a.nickname ? a.nickname + (o.value ? `
386
387
  ${o.value}` : "") : o.value);
387
388
  return (s, e) => (u(), f("div", $e, [
388
- S("img", {
389
+ _("img", {
389
390
  class: "top-avatar_image",
390
391
  src: s.image,
391
392
  title: n.value,
392
393
  alt: ""
393
- }, null, 8, Se),
394
+ }, null, 8, _e),
394
395
  s.isOnline ? (u(), f("div", {
395
396
  key: 0,
396
397
  class: "top-avatar_status",
397
398
  title: o.value
398
- }, null, 8, _e)) : g("", !0)
399
+ }, null, 8, Se)) : h("", !0)
399
400
  ]));
400
401
  }
401
- }), Me = {
402
+ }), Te = {
402
403
  "top-avatar": "top-avatar",
403
404
  "top-avatar_image": "top-avatar_image",
404
405
  "top-avatar_status": "top-avatar_status"
@@ -407,12 +408,12 @@ ${o.value}` : "") : o.value);
407
408
  for (const [n, s] of a)
408
409
  o[n] = s;
409
410
  return o;
410
- }, Te = {
411
- $style: Me
412
- }, Ve = /* @__PURE__ */ y(ke, [["__cssModules", Te]]), We = {
413
- key: 0,
411
+ }, Me = {
412
+ $style: Te
413
+ }, Ve = /* @__PURE__ */ y(ke, [["__cssModules", Me]]), We = ["data-top-badge"], Be = {
414
+ key: 1,
414
415
  class: "top-ellipsis"
415
- }, Be = /* @__PURE__ */ v({
416
+ }, Le = /* @__PURE__ */ v({
416
417
  __name: "button",
417
418
  props: {
418
419
  color: { default: "blue" },
@@ -423,15 +424,17 @@ ${o.value}` : "") : o.value);
423
424
  icon: {},
424
425
  icon2: {},
425
426
  href: {},
427
+ badgeNumber: {},
428
+ badgePosAfterText: { type: Boolean },
426
429
  disabled: { type: Boolean },
427
430
  isSubmit: { type: Boolean },
428
431
  isActive: { type: Boolean },
429
432
  isProgress: { type: Boolean }
430
433
  },
431
434
  setup(t) {
432
- const a = t, o = b(() => a.href ? "a" : "button"), n = b(() => a.isSubmit ? "submit" : void 0);
433
- return (s, e) => (u(), M(x(o.value), {
434
- class: w({
435
+ const a = t, o = w(() => a.href ? "a" : "button"), n = w(() => a.isSubmit ? "submit" : void 0);
436
+ return (s, e) => (u(), T(ee(o.value), {
437
+ class: g({
435
438
  "top-active": s.isActive,
436
439
  "top-disabled": s.disabled,
437
440
  "top-forms-focusable": !s.disabled,
@@ -452,21 +455,28 @@ ${o.value}` : "") : o.value);
452
455
  inProgress: s.isProgress
453
456
  }, {
454
457
  default: L(() => [
455
- s.$slots.default ? (u(), f("span", We, [
458
+ s.badgeNumber ? (u(), f("span", {
459
+ key: 0,
460
+ "data-top-badge": s.badgeNumber,
461
+ class: g(["top-button_badge", {
462
+ "top-button_badge-afterText": s.badgePosAfterText
463
+ }])
464
+ }, null, 10, We)) : h("", !0),
465
+ s.$slots.default ? (u(), f("span", Be, [
456
466
  k(s.$slots, "default", {}, () => [
457
- ee(V(s.icon ? "" : "Button"), 1)
467
+ te(V(s.icon ? "" : "Button"), 1)
458
468
  ])
459
- ])) : g("", !0),
469
+ ])) : h("", !0),
460
470
  k(s.$slots, "html")
461
471
  ]),
462
472
  _: 3
463
473
  }, 8, ["class", "name", "title", "href", "type", "data-top-icon", "data-top-icon2", "disabled", "inProgress"]));
464
474
  }
465
- }), Le = "_progress_1f1nw_1", Ee = {
475
+ }), Ee = "_progress_4k8h1_1", ze = "_hover_4k8h1_1", De = {
466
476
  "top-button": "top-button",
467
477
  "top-active": "top-active",
468
478
  "top-button-progress": "top-button-progress",
469
- progress: Le,
479
+ progress: Ee,
470
480
  "top-button-withoutText": "top-button-withoutText",
471
481
  "top-color_blue": "top-color_blue",
472
482
  "top-color_green": "top-color_green",
@@ -476,21 +486,25 @@ ${o.value}` : "") : o.value);
476
486
  "top-color_theme": "top-color_theme",
477
487
  "top-style_outline": "top-style_outline",
478
488
  "top-style_soft": "top-style_soft",
489
+ hover: ze,
479
490
  "top-style_transparent": "top-style_transparent",
491
+ "top-ellipsis": "top-ellipsis",
492
+ "top-size_xs": "top-size_xs",
493
+ "top-size_m": "top-size_m",
480
494
  "top-size_l": "top-size_l",
481
- "top-size_xl": "top-size_xl"
482
- }, ze = {
483
- $style: Ee
484
- }, De = /* @__PURE__ */ y(Be, [["__cssModules", ze]]), Pe = { class: "top-forms-optionLabel" }, Ae = /* @__PURE__ */ v({
495
+ "top-button_badge-afterText": "top-button_badge-afterText"
496
+ }, Pe = {
497
+ $style: De
498
+ }, Ae = /* @__PURE__ */ y(Le, [["__cssModules", Pe]]), Ne = { class: "top-forms-optionLabel" }, Re = /* @__PURE__ */ v({
485
499
  __name: "controlLabel",
486
500
  props: {
487
501
  description: {},
488
502
  disabled: { type: Boolean }
489
503
  },
490
504
  setup(t) {
491
- return (a, o) => (u(), f("div", Pe, [
492
- S("div", {
493
- class: w({
505
+ return (a, o) => (u(), f("div", Ne, [
506
+ _("div", {
507
+ class: g({
494
508
  "top-forms-optionLabel_title": !0,
495
509
  "top-forms-optionLabel_title-disabled": a.disabled
496
510
  })
@@ -499,21 +513,21 @@ ${o.value}` : "") : o.value);
499
513
  ], 2),
500
514
  a.description ? (u(), f("div", {
501
515
  key: 0,
502
- class: w(["top-forms-optionLabel_description", { "top-forms-optionLabel_description-disabled": a.disabled }])
503
- }, V(a.description), 3)) : g("", !0)
516
+ class: g(["top-forms-optionLabel_description", { "top-forms-optionLabel_description-disabled": a.disabled }])
517
+ }, V(a.description), 3)) : h("", !0)
504
518
  ]));
505
519
  }
506
- }), Re = {
520
+ }), Ce = {
507
521
  "top-forms-optionLabel": "top-forms-optionLabel",
508
522
  "top-forms-optionLabel_title": "top-forms-optionLabel_title",
509
523
  "top-forms-optionLabel_title-disabled": "top-forms-optionLabel_title-disabled",
510
524
  "top-forms-optionLabel_description": "top-forms-optionLabel_description",
511
525
  "top-forms-optionLabel_description-disabled": "top-forms-optionLabel_description-disabled"
512
- }, Ce = {
513
- $style: Re
514
- }, P = /* @__PURE__ */ y(Ae, [["__cssModules", Ce]]), Ne = ["name", "value", "indeterminate", "disabled"], Oe = /* @__PURE__ */ v({
526
+ }, Oe = {
527
+ $style: Ce
528
+ }, P = /* @__PURE__ */ y(Re, [["__cssModules", Oe]]), He = ["name", "value", "indeterminate", "disabled"], Ie = /* @__PURE__ */ v({
515
529
  __name: "checkbox",
516
- props: /* @__PURE__ */ N({
530
+ props: /* @__PURE__ */ C({
517
531
  modelValue: { type: [Boolean, Array, Set] },
518
532
  name: {},
519
533
  value: {},
@@ -527,9 +541,9 @@ ${o.value}` : "") : o.value);
527
541
  }),
528
542
  emits: ["update:modelValue"],
529
543
  setup(t) {
530
- const a = K(t, "modelValue");
544
+ const a = Q(t, "modelValue");
531
545
  return (o, n) => (u(), f("label", {
532
- class: w({
546
+ class: g({
533
547
  "top-forms-optionWrapper": !0,
534
548
  "top-checkbox": !0,
535
549
  ["top-checkbox_" + o.name]: !!o.name,
@@ -537,9 +551,9 @@ ${o.value}` : "") : o.value);
537
551
  "top-error": o.isError && !o.disabled
538
552
  })
539
553
  }, [
540
- W(S("input", {
554
+ W(_("input", {
541
555
  type: "checkbox",
542
- class: w({
556
+ class: g({
543
557
  "top-forms-focusable": !o.disabled,
544
558
  "top-forms-option": !0,
545
559
  "top-checkbox_input": !0,
@@ -550,10 +564,10 @@ ${o.value}` : "") : o.value);
550
564
  value: o.value,
551
565
  indeterminate: o.indeterminate,
552
566
  disabled: o.disabled
553
- }, null, 10, Ne), [
554
- [Q, a.value]
567
+ }, null, 10, He), [
568
+ [J, a.value]
555
569
  ]),
556
- o.$slots.default ? (u(), M(P, {
570
+ o.$slots.default ? (u(), T(P, {
557
571
  key: 0,
558
572
  description: o.description,
559
573
  disabled: o.disabled
@@ -562,16 +576,16 @@ ${o.value}` : "") : o.value);
562
576
  k(o.$slots, "default")
563
577
  ]),
564
578
  _: 3
565
- }, 8, ["description", "disabled"])) : g("", !0)
579
+ }, 8, ["description", "disabled"])) : h("", !0)
566
580
  ], 2));
567
581
  }
568
- }), He = {
582
+ }), Fe = {
569
583
  "top-checkbox": "top-checkbox",
570
584
  "top-checkbox_input": "top-checkbox_input",
571
585
  "top-error": "top-error"
572
- }, Ie = {
573
- $style: He
574
- }, Fe = /* @__PURE__ */ y(Oe, [["__cssModules", Ie]]), Ue = ["title"], Xe = /* @__PURE__ */ v({
586
+ }, Ue = {
587
+ $style: Fe
588
+ }, Xe = /* @__PURE__ */ y(Ie, [["__cssModules", Ue]]), Ye = ["title"], qe = /* @__PURE__ */ v({
575
589
  __name: "hint",
576
590
  props: {
577
591
  hint: {}
@@ -581,24 +595,24 @@ ${o.value}` : "") : o.value);
581
595
  class: "top-hint",
582
596
  "data-top-icon": "",
583
597
  title: a.hint
584
- }, null, 8, Ue));
598
+ }, null, 8, Ye));
585
599
  }
586
- }), Ye = {
600
+ }), Ke = {
587
601
  "top-hint": "top-hint"
588
- }, qe = {
589
- $style: Ye
590
- }, Z = /* @__PURE__ */ y(Xe, [["__cssModules", qe]]), Ge = {
602
+ }, Ge = {
603
+ $style: Ke
604
+ }, j = /* @__PURE__ */ y(qe, [["__cssModules", Ge]]), Qe = {
591
605
  "top-loadbar": "top-loadbar"
592
- }, Ke = {}, Qe = { class: "top-loadbar" };
593
- function Je(t, a) {
594
- return u(), f("div", Qe);
606
+ }, Je = {}, Ze = { class: "top-loadbar" };
607
+ function je(t, a) {
608
+ return u(), f("div", Ze);
595
609
  }
596
- const Ze = {
597
- $style: Ge
598
- }, j = /* @__PURE__ */ y(Ke, [["render", Je], ["__cssModules", Ze]]), je = ["data-top-icon", "data-top-icon2"], xe = ["name", "title", "placeholder", "disabled", "readonly"], et = {
610
+ const xe = {
611
+ $style: Qe
612
+ }, x = /* @__PURE__ */ y(Je, [["render", je], ["__cssModules", xe]]), et = ["data-top-icon", "data-top-icon2"], tt = ["name", "title", "placeholder", "disabled", "readonly"], ot = {
599
613
  key: 2,
600
614
  class: "top-formsCaption"
601
- }, tt = /* @__PURE__ */ v({
615
+ }, st = /* @__PURE__ */ v({
602
616
  inheritAttrs: !1,
603
617
  __name: "input",
604
618
  props: {
@@ -618,18 +632,18 @@ const Ze = {
618
632
  },
619
633
  emits: ["update:modelValue"],
620
634
  setup(t, { emit: a }) {
621
- const o = t, n = a, s = b({
635
+ const o = t, n = a, s = w({
622
636
  get() {
623
637
  return o.modelValue;
624
638
  },
625
639
  set(i) {
626
640
  n("update:modelValue", i);
627
641
  }
628
- }), e = b(() => o.addCleaner && !o.title || o.captionType !== "" ? "" : o.title), d = (i) => {
642
+ }), e = w(() => o.addCleaner && !o.title || o.captionType !== "" ? "" : o.title), d = (i) => {
629
643
  o.modelValue && i.stopPropagation(), n("update:modelValue", "");
630
644
  };
631
645
  return (i, m) => (u(), f("label", {
632
- class: w({
646
+ class: g({
633
647
  "top-input": !0,
634
648
  ["top-size_" + i.size]: !0,
635
649
  "top-disabled": i.disabled,
@@ -641,8 +655,8 @@ const Ze = {
641
655
  "data-top-icon": i.icon,
642
656
  "data-top-icon2": i.icon2
643
657
  }, [
644
- i.isLoading ? (u(), M(j, { key: 0 })) : g("", !0),
645
- W(S("input", D({
658
+ i.isLoading ? (u(), T(x, { key: 0 })) : h("", !0),
659
+ W(_("input", D({
646
660
  type: "text",
647
661
  class: {
648
662
  "top-input_input": !0,
@@ -657,32 +671,32 @@ const Ze = {
657
671
  placeholder: e.value,
658
672
  disabled: i.disabled,
659
673
  readonly: i.readonly,
660
- onKeydown: m[1] || (m[1] = te((r) => (i.addCleaner || !!i.$slots.btn) && d(r), ["esc"]))
661
- }, i.$attrs), null, 16, xe), [
662
- [J, s.value]
674
+ onKeydown: m[1] || (m[1] = oe((r) => (i.addCleaner || !!i.$slots.btn) && d(r), ["esc"]))
675
+ }, i.$attrs), null, 16, tt), [
676
+ [Z, s.value]
663
677
  ]),
664
678
  i.addCleaner && s.value && s.value !== "0000-00-00" ? (u(), f("span", {
665
679
  key: 1,
666
680
  class: "top-input_cleaner",
667
681
  "data-top-icon": "",
668
- onClick: oe(d, ["prevent"])
669
- })) : g("", !0),
670
- i.captionType !== "" ? (u(), f("span", et, V(i.title), 1)) : g("", !0),
682
+ onClick: se(d, ["prevent"])
683
+ })) : h("", !0),
684
+ i.captionType !== "" ? (u(), f("span", ot, V(i.title), 1)) : h("", !0),
671
685
  k(i.$slots, "default")
672
- ], 10, je));
686
+ ], 10, et));
673
687
  }
674
- }), ot = {
688
+ }), at = {
675
689
  "top-input": "top-input",
676
690
  "top-input_input": "top-input_input",
677
691
  "top-input-withCleaner": "top-input-withCleaner",
678
692
  "top-input_cleaner": "top-input_cleaner",
679
693
  "top-loadbar": "top-loadbar"
680
- }, st = {
681
- $style: ot
682
- }, O = /* @__PURE__ */ y(tt, [["__cssModules", st]]), at = ["modelValue"], nt = !!document.documentElement.ontouchstart && !!document.createElement("input").showPicker;
683
- let Y = (t) => {
694
+ }, nt = {
695
+ $style: at
696
+ }, O = /* @__PURE__ */ y(st, [["__cssModules", nt]]), it = ["modelValue"], rt = !!document.documentElement.ontouchstart && !!document.createElement("input").showPicker;
697
+ let q = (t) => {
684
698
  };
685
- const it = /* @__PURE__ */ v({
699
+ const lt = /* @__PURE__ */ v({
686
700
  __name: "inputDate",
687
701
  props: {
688
702
  modelValue: {},
@@ -702,82 +716,82 @@ const it = /* @__PURE__ */ v({
702
716
  emits: ["update:modelValue"],
703
717
  setup(t, { emit: a }) {
704
718
  const o = t, n = a;
705
- se(() => {
719
+ ae(() => {
706
720
  e && e.datepicker("destroy");
707
721
  });
708
- const s = ae();
722
+ const s = ne();
709
723
  let e;
710
- const d = b({
724
+ const d = w({
711
725
  get() {
712
726
  return B(o.modelValue, 2, void 0, "0000-00-00");
713
727
  },
714
728
  set(l) {
715
- l = X(l, "0000-00-00"), n("update:modelValue", l);
729
+ l = Y(l, "0000-00-00"), n("update:modelValue", l);
716
730
  }
717
731
  });
718
732
  let i = (l) => {
719
- Y(l);
733
+ q(l);
720
734
  }, m = (l) => {
721
- const p = X(l.target.value), h = B(p);
722
- if (!h || h === c.L.Not_date || l.target.value !== h) {
735
+ const p = Y(l.target.value), b = B(p);
736
+ if (!b || b === c.L.Not_date || l.target.value !== b) {
723
737
  l.target.value = d.value;
724
738
  return;
725
739
  }
726
740
  d.value = l.target.value;
727
741
  };
728
742
  async function r(l) {
729
- const p = await import("./datepicker-CcRVcC5P.es.js");
730
- Y = p.oninput, e = p.connectDatepicker(l.target, {
743
+ const p = await import("./datepicker-INKeNnsk.es.js");
744
+ q = p.oninput, e = p.connectDatepicker(l.target, {
731
745
  onSelect: () => m(l)
732
746
  }), e && e.datepicker("show");
733
747
  }
734
- return (l, p) => A(nt) ? (u(), M(O, D({ key: 0 }, l.$props, {
748
+ return (l, p) => A(rt) ? (u(), T(O, D({ key: 0 }, l.$props, {
735
749
  modelValue: d.value,
736
750
  readonly: "",
737
- onClick: p[1] || (p[1] = (h) => s.value.showPicker())
751
+ onClick: p[1] || (p[1] = (b) => s.value.showPicker())
738
752
  }), {
739
753
  default: L(() => [
740
- S("input", {
754
+ _("input", {
741
755
  ref_key: "el",
742
756
  ref: s,
743
757
  type: "date",
744
758
  class: "top-input_input-date",
745
759
  modelValue: l.modelValue,
746
- onChange: p[0] || (p[0] = (h) => d.value = h.target.value),
760
+ onChange: p[0] || (p[0] = (b) => d.value = b.target.value),
747
761
  tabindex: "-1"
748
- }, null, 40, at)
762
+ }, null, 40, it)
749
763
  ]),
750
764
  _: 1
751
- }, 16, ["modelValue"])) : (u(), M(O, D({ key: 1 }, l.$props, {
765
+ }, 16, ["modelValue"])) : (u(), T(O, D({ key: 1 }, l.$props, {
752
766
  modelValue: d.value,
753
- "onUpdate:modelValue": p[2] || (p[2] = (h) => h === "" ? d.value = "" : ""),
767
+ "onUpdate:modelValue": p[2] || (p[2] = (b) => b === "" ? d.value = "" : ""),
754
768
  onInput: A(i),
755
769
  onFocusOnce: r,
756
770
  onChange: A(m),
757
771
  modificator: "datepicker"
758
772
  }), null, 16, ["modelValue", "onInput", "onChange"]));
759
773
  }
760
- }), rt = {
774
+ }), dt = {
761
775
  "top-input-datepicker": "top-input-datepicker",
762
776
  "top-input_input-date": "top-input_input-date"
763
- }, lt = {
764
- $style: rt
765
- }, dt = /* @__PURE__ */ y(it, [["__cssModules", lt]]), pt = { class: "top-inputRange" }, ut = /* @__PURE__ */ S("span", { class: "top-inputRange_dash" }, " — ", -1), ct = /* @__PURE__ */ v({
777
+ }, pt = {
778
+ $style: dt
779
+ }, ut = /* @__PURE__ */ y(lt, [["__cssModules", pt]]), ct = { class: "top-inputRange" }, mt = /* @__PURE__ */ _("span", { class: "top-inputRange_dash" }, " — ", -1), ft = /* @__PURE__ */ v({
766
780
  __name: "inputRange",
767
781
  setup(t) {
768
- return (a, o) => (u(), f("div", pt, [
782
+ return (a, o) => (u(), f("div", ct, [
769
783
  k(a.$slots, "from"),
770
- ut,
784
+ mt,
771
785
  k(a.$slots, "to")
772
786
  ]));
773
787
  }
774
- }), mt = {
788
+ }), bt = {
775
789
  "top-inputRange": "top-inputRange",
776
790
  "top-inputRange_dash": "top-inputRange_dash",
777
791
  "top-input": "top-input"
778
- }, ft = {
779
- $style: mt
780
- }, ht = /* @__PURE__ */ y(ct, [["__cssModules", ft]]), bt = ["name", "value", "disabled"], gt = /* @__PURE__ */ v({
792
+ }, ht = {
793
+ $style: bt
794
+ }, gt = /* @__PURE__ */ y(ft, [["__cssModules", ht]]), wt = ["name", "value", "disabled"], yt = /* @__PURE__ */ v({
781
795
  __name: "radio",
782
796
  props: {
783
797
  modelValue: {},
@@ -789,7 +803,7 @@ const it = /* @__PURE__ */ v({
789
803
  },
790
804
  emits: ["update:modelValue"],
791
805
  setup(t, { emit: a }) {
792
- const o = t, n = a, s = b({
806
+ const o = t, n = a, s = w({
793
807
  get() {
794
808
  return o.modelValue;
795
809
  },
@@ -798,7 +812,7 @@ const it = /* @__PURE__ */ v({
798
812
  }
799
813
  });
800
814
  return (e, d) => (u(), f("label", {
801
- class: w({
815
+ class: g({
802
816
  "top-forms-optionWrapper": !0,
803
817
  "top-radio": !0,
804
818
  ["top-radio_" + e.name]: e.name !== "",
@@ -806,9 +820,9 @@ const it = /* @__PURE__ */ v({
806
820
  "top-error": e.isError && !e.disabled
807
821
  })
808
822
  }, [
809
- W(S("input", {
823
+ W(_("input", {
810
824
  type: "radio",
811
- class: w({
825
+ class: g({
812
826
  "top-forms-focusable": !e.disabled,
813
827
  "top-forms-option": !0,
814
828
  "top-radio_input": !0,
@@ -818,10 +832,10 @@ const it = /* @__PURE__ */ v({
818
832
  name: e.name,
819
833
  value: e.value,
820
834
  disabled: e.disabled
821
- }, null, 10, bt), [
822
- [ne, s.value]
835
+ }, null, 10, wt), [
836
+ [ie, s.value]
823
837
  ]),
824
- e.$slots.default ? (u(), M(P, {
838
+ e.$slots.default ? (u(), T(P, {
825
839
  key: 0,
826
840
  description: e.description,
827
841
  disabled: e.disabled
@@ -830,16 +844,16 @@ const it = /* @__PURE__ */ v({
830
844
  k(e.$slots, "default")
831
845
  ]),
832
846
  _: 3
833
- }, 8, ["description", "disabled"])) : g("", !0)
847
+ }, 8, ["description", "disabled"])) : h("", !0)
834
848
  ], 2));
835
849
  }
836
- }), wt = {
850
+ }), vt = {
837
851
  "top-radio": "top-radio",
838
852
  "top-radio_input": "top-radio_input",
839
853
  "top-error": "top-error"
840
- }, yt = {
841
- $style: wt
842
- }, vt = /* @__PURE__ */ y(gt, [["__cssModules", yt]]), $t = ["name", "value", "disabled"], St = /* @__PURE__ */ v({
854
+ }, $t = {
855
+ $style: vt
856
+ }, _t = /* @__PURE__ */ y(yt, [["__cssModules", $t]]), St = ["name", "value", "disabled"], kt = /* @__PURE__ */ v({
843
857
  __name: "switcher",
844
858
  props: {
845
859
  modelValue: { type: [Boolean, Array, Set] },
@@ -851,7 +865,7 @@ const it = /* @__PURE__ */ v({
851
865
  },
852
866
  emits: ["update:modelValue"],
853
867
  setup(t, { emit: a }) {
854
- const o = t, n = a, s = b({
868
+ const o = t, n = a, s = w({
855
869
  get() {
856
870
  return o.modelValue;
857
871
  },
@@ -860,16 +874,16 @@ const it = /* @__PURE__ */ v({
860
874
  }
861
875
  });
862
876
  return (e, d) => (u(), f("label", {
863
- class: w({
877
+ class: g({
864
878
  "top-forms-optionWrapper": !0,
865
879
  "top-checkboxSwitcher": !0,
866
880
  "top-disabled": e.disabled,
867
881
  "top-error": e.isError && !e.disabled
868
882
  })
869
883
  }, [
870
- W(S("input", {
884
+ W(_("input", {
871
885
  type: "checkbox",
872
- class: w({
886
+ class: g({
873
887
  "top-forms-focusable": !e.disabled,
874
888
  "top-forms-option": !0,
875
889
  "top-checkboxSwitcher_input": !0,
@@ -879,10 +893,10 @@ const it = /* @__PURE__ */ v({
879
893
  name: e.name,
880
894
  value: e.value,
881
895
  disabled: e.disabled
882
- }, null, 10, $t), [
883
- [Q, s.value]
896
+ }, null, 10, St), [
897
+ [J, s.value]
884
898
  ]),
885
- e.$slots.default ? (u(), M(P, {
899
+ e.$slots.default ? (u(), T(P, {
886
900
  key: 0,
887
901
  description: e.description,
888
902
  disabled: e.disabled
@@ -891,19 +905,19 @@ const it = /* @__PURE__ */ v({
891
905
  k(e.$slots, "default")
892
906
  ]),
893
907
  _: 3
894
- }, 8, ["description", "disabled"])) : g("", !0)
908
+ }, 8, ["description", "disabled"])) : h("", !0)
895
909
  ], 2));
896
910
  }
897
- }), _t = {
911
+ }), Tt = {
898
912
  "top-checkboxSwitcher": "top-checkboxSwitcher",
899
913
  "top-checkboxSwitcher_input": "top-checkboxSwitcher_input",
900
914
  "top-error": "top-error"
901
- }, kt = {
902
- $style: _t
903
- }, Mt = /* @__PURE__ */ y(St, [["__cssModules", kt]]), Tt = ["name", "placeholder", "disabled", "readonly", "rows"], Vt = {
915
+ }, Mt = {
916
+ $style: Tt
917
+ }, Vt = /* @__PURE__ */ y(kt, [["__cssModules", Mt]]), Wt = ["name", "placeholder", "disabled", "readonly", "rows"], Bt = {
904
918
  key: 0,
905
919
  class: "top-textarea_pseudoContent"
906
- }, Wt = /* @__PURE__ */ v({
920
+ }, Lt = /* @__PURE__ */ v({
907
921
  inheritAttrs: !1,
908
922
  __name: "textarea",
909
923
  props: {
@@ -921,9 +935,9 @@ const it = /* @__PURE__ */ v({
921
935
  emits: ["update:modelValue"],
922
936
  setup(t, { emit: a }) {
923
937
  G((e) => ({
924
- bb7a0c5c: e.minHeight + "px"
938
+ "3a69e87d": e.minHeight + "px"
925
939
  }));
926
- const o = t, n = a, s = b({
940
+ const o = t, n = a, s = w({
927
941
  get() {
928
942
  return o.modelValue;
929
943
  },
@@ -932,15 +946,15 @@ const it = /* @__PURE__ */ v({
932
946
  }
933
947
  });
934
948
  return (e, d) => {
935
- const i = ie("top-tooltip");
949
+ const i = re("top-tooltip");
936
950
  return u(), f("label", {
937
- class: w({
951
+ class: g({
938
952
  "top-textarea": !0,
939
953
  ["top-textarea-" + e.name]: e.name,
940
954
  "top-disabled": e.disabled
941
955
  })
942
956
  }, [
943
- W(S("textarea", D({
957
+ W(_("textarea", D({
944
958
  type: "text",
945
959
  class: {
946
960
  "top-forms-focusable": !e.disabled,
@@ -956,34 +970,34 @@ const it = /* @__PURE__ */ v({
956
970
  rows: e.expandable ? void 0 : e.rows
957
971
  }, e.$attrs, {
958
972
  "onUpdate:modelValue": d[0] || (d[0] = (m) => s.value = m)
959
- }), null, 16, Tt), [
960
- [J, s.value]
973
+ }), null, 16, Wt), [
974
+ [Z, s.value]
961
975
  ]),
962
- e.expandable ? (u(), f("div", Vt, V(s.value + " "), 1)) : g("", !0),
963
- e.hint ? W((u(), M(Z, {
976
+ e.expandable ? (u(), f("div", Bt, V(s.value + " "), 1)) : h("", !0),
977
+ e.hint ? W((u(), T(j, {
964
978
  key: 1,
965
979
  class: "top-textarea_hint",
966
980
  hint: e.hint
967
981
  }, null, 8, ["hint"])), [
968
982
  [i]
969
- ]) : g("", !0)
983
+ ]) : h("", !0)
970
984
  ], 2);
971
985
  };
972
986
  }
973
- }), Bt = {
987
+ }), Et = {
974
988
  "top-textarea": "top-textarea",
975
989
  "top-textarea_textarea": "top-textarea_textarea",
976
990
  "top-textarea_textarea-expandable": "top-textarea_textarea-expandable",
977
991
  "top-textarea_pseudoContent": "top-textarea_pseudoContent",
978
992
  "top-textarea_hint": "top-textarea_hint"
979
- }, Lt = {
980
- $style: Bt
981
- }, Et = /* @__PURE__ */ y(Wt, [["__cssModules", Lt]]), zt = ["data-value", "data-top-icon", "data-top-icon2"], Dt = ["name", "disabled"], Pt = ["label", "disabled"], At = ["value", "selected", "disabled"], Rt = ["value", "selected", "disabled"], Ct = {
993
+ }, zt = {
994
+ $style: Et
995
+ }, Dt = /* @__PURE__ */ y(Lt, [["__cssModules", zt]]), Pt = ["data-value", "data-top-icon", "data-top-icon2"], At = ["name", "disabled"], Nt = ["label", "disabled"], Rt = ["value", "selected", "disabled"], Ct = ["value", "selected", "disabled"], Ot = {
982
996
  key: 1,
983
997
  class: "top-formsCaption"
984
- }, Nt = /* @__PURE__ */ v({
998
+ }, Ht = /* @__PURE__ */ v({
985
999
  __name: "select",
986
- props: /* @__PURE__ */ N({
1000
+ props: /* @__PURE__ */ C({
987
1001
  modelValue: {},
988
1002
  options: {},
989
1003
  name: {},
@@ -999,20 +1013,20 @@ const it = /* @__PURE__ */ v({
999
1013
  },
1000
1014
  modelModifiers: {}
1001
1015
  }),
1002
- emits: /* @__PURE__ */ N(["update:modelValue"], ["update:modelValue"]),
1016
+ emits: /* @__PURE__ */ C(["update:modelValue"], ["update:modelValue"]),
1003
1017
  setup(t, { emit: a }) {
1004
- const o = t, n = K(t, "modelValue"), s = b(() => {
1018
+ const o = t, n = Q(t, "modelValue"), s = w(() => {
1005
1019
  const r = /* @__PURE__ */ new Map();
1006
1020
  return o.options.forEach((l, p) => {
1007
1021
  if (typeof l == "string" && (l = d(p, l)), l.children) {
1008
- const h = /* @__PURE__ */ new Map();
1009
- l.children.forEach((_, E) => {
1010
- typeof _ == "string" && (_ = d(E, _)), h.set(_.value, _);
1011
- }), l = { ...l }, l.children = h, r.set(l.value, l);
1022
+ const b = /* @__PURE__ */ new Map();
1023
+ l.children.forEach((S, E) => {
1024
+ typeof S == "string" && (S = d(E, S)), b.set(S.value, S);
1025
+ }), l = { ...l }, l.children = b, r.set(l.value, l);
1012
1026
  } else
1013
1027
  r.set(l.value, l);
1014
1028
  }), r;
1015
- }), e = b(() => {
1029
+ }), e = w(() => {
1016
1030
  const r = /* @__PURE__ */ new Map();
1017
1031
  return s.value.forEach((l) => {
1018
1032
  if (!l.disabled) {
@@ -1029,13 +1043,13 @@ const it = /* @__PURE__ */ v({
1029
1043
  value: r,
1030
1044
  title: l
1031
1045
  });
1032
- re([
1046
+ le([
1033
1047
  () => o.modelValue,
1034
1048
  e
1035
1049
  ], () => {
1036
1050
  (n.value === null || n.value === void 0) && e.value.size && (console.warn("Пожалуйста, не передавайте в компонент Select значения null и undefined"), n.value = e.value.keys().next().value);
1037
1051
  }, { immediate: !0 });
1038
- const i = b(() => {
1052
+ const i = w(() => {
1039
1053
  var r;
1040
1054
  return (r = e.value.get(n.value)) == null ? void 0 : r.icon;
1041
1055
  }), m = () => {
@@ -1043,7 +1057,7 @@ const it = /* @__PURE__ */ v({
1043
1057
  n.value = r[p];
1044
1058
  };
1045
1059
  return (r, l) => (u(), f("label", {
1046
- class: w({
1060
+ class: g({
1047
1061
  "top-select": !0,
1048
1062
  ["top-select-" + r.name]: r.name,
1049
1063
  ["top-size_" + r.size]: !0,
@@ -1055,8 +1069,8 @@ const it = /* @__PURE__ */ v({
1055
1069
  "data-top-icon": r.icon,
1056
1070
  "data-top-icon2": i.value
1057
1071
  }, [
1058
- W(S("select", {
1059
- class: w({
1072
+ W(_("select", {
1073
+ class: g({
1060
1074
  "top-forms-focusable": !r.disabled,
1061
1075
  "top-select_select": !0,
1062
1076
  "top-select_arrow": !0,
@@ -1066,82 +1080,83 @@ const it = /* @__PURE__ */ v({
1066
1080
  disabled: r.disabled,
1067
1081
  "onUpdate:modelValue": l[0] || (l[0] = (p) => n.value = p)
1068
1082
  }, [
1069
- (u(!0), f(R, null, F(s.value, ([p, h]) => (u(), f(R, null, [
1070
- h.children ? (u(), f("optgroup", {
1083
+ (u(!0), f(N, null, F(s.value, ([p, b]) => (u(), f(N, null, [
1084
+ b.children ? (u(), f("optgroup", {
1071
1085
  key: "group_" + p,
1072
- label: h.title,
1073
- disabled: h.disabled
1086
+ label: b.title,
1087
+ disabled: b.disabled
1074
1088
  }, [
1075
- (u(!0), f(R, null, F(h.children, ([_, E]) => (u(), f("option", {
1076
- key: _,
1077
- value: _,
1078
- selected: _ === n.value,
1089
+ (u(!0), f(N, null, F(b.children, ([S, E]) => (u(), f("option", {
1090
+ key: S,
1091
+ value: S,
1092
+ selected: S === n.value,
1079
1093
  disabled: E.disabled
1080
- }, V(E.title), 9, At))), 128))
1081
- ], 8, Pt)) : (u(), f("option", {
1094
+ }, V(E.title), 9, Rt))), 128))
1095
+ ], 8, Nt)) : (u(), f("option", {
1082
1096
  key: p ?? void 0,
1083
1097
  value: p,
1084
1098
  selected: p === n.value,
1085
- disabled: h.disabled
1086
- }, V(h.title), 9, Rt))
1099
+ disabled: b.disabled
1100
+ }, V(b.title), 9, Ct))
1087
1101
  ], 64))), 256))
1088
- ], 10, Dt), [
1089
- [le, n.value]
1102
+ ], 10, At), [
1103
+ [de, n.value]
1090
1104
  ]),
1091
1105
  r.addChanger && e.value.size && !r.disabled ? (u(), f("span", {
1092
1106
  key: 0,
1093
1107
  class: "top-changer",
1094
1108
  onClick: m
1095
- })) : g("", !0),
1096
- r.title ? (u(), f("span", Ct, V(r.title), 1)) : g("", !0)
1097
- ], 10, zt));
1109
+ })) : h("", !0),
1110
+ r.title ? (u(), f("span", Ot, V(r.title), 1)) : h("", !0)
1111
+ ], 10, Pt));
1098
1112
  }
1099
- }), Ot = {
1113
+ }), It = {
1100
1114
  "top-select": "top-select",
1101
1115
  "top-select-error": "top-select-error",
1102
1116
  "top-select_select": "top-select_select",
1103
1117
  "top-changer": "top-changer"
1104
- }, Ht = {
1105
- $style: Ot
1106
- }, It = /* @__PURE__ */ y(Nt, [["__cssModules", Ht]]), xt = Ve, eo = De, to = Fe, oo = P, so = Z, ao = O, no = dt, io = ht, ro = vt, lo = Mt, po = Et, uo = It, co = j;
1118
+ }, Ft = {
1119
+ $style: It
1120
+ }, Ut = /* @__PURE__ */ y(Ht, [["__cssModules", Ft]]), to = Ve, oo = Ae, so = Xe, ao = P, no = j, io = O, ro = ut, lo = gt, po = _t, uo = Vt, co = Dt, mo = Ut, fo = x;
1107
1121
  export {
1108
- me as A,
1109
- Kt as B,
1122
+ Qt as A,
1123
+ fe as B,
1110
1124
  c as C,
1111
- Qt as D,
1112
- we as E,
1113
- Jt as F,
1114
- Zt as G,
1115
- ve as H,
1116
- jt as I,
1117
- X as J,
1118
- De as T,
1125
+ Jt as D,
1126
+ X as E,
1127
+ Zt as F,
1128
+ jt as G,
1129
+ xt as H,
1130
+ ve as I,
1131
+ eo as J,
1132
+ Y as K,
1133
+ Ae as T,
1119
1134
  y as _,
1120
- O as a,
1121
- xt as b,
1122
- eo as c,
1135
+ to as a,
1136
+ oo as b,
1137
+ so as c,
1123
1138
  B as d,
1124
- to as e,
1125
- oo as f,
1126
- so as g,
1127
- ao as h,
1128
- Ut as i,
1129
- no as j,
1130
- io as k,
1131
- co as l,
1132
- ro as m,
1139
+ ao as e,
1140
+ no as f,
1141
+ io as g,
1142
+ ro as h,
1143
+ Yt as i,
1144
+ lo as j,
1145
+ fo as k,
1146
+ po as l,
1147
+ mo as m,
1133
1148
  uo as n,
1134
- lo as o,
1135
- po as p,
1136
- Et as q,
1137
- j as r,
1138
- de as s,
1149
+ co as o,
1150
+ j as p,
1151
+ O as q,
1152
+ Dt as r,
1153
+ x as s,
1139
1154
  pe as t,
1140
1155
  ue as u,
1141
1156
  ce as v,
1142
- Xt as w,
1143
- Yt as x,
1144
- qt as y,
1157
+ me as w,
1158
+ qt as x,
1159
+ Kt as y,
1145
1160
  Gt as z
1146
1161
  };
1147
- //# sourceMappingURL=forms-BZoPbSQt.es.js.map
1162
+ //# sourceMappingURL=forms-BDAati-M.es.js.map