@topvisor/ui 1.0.18-ux-5 → 1.0.18

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 (177) hide show
  1. package/.chunks/{datepicker-QG5NqyHa.amd.js → datepicker-DKvr3NYw.amd.js} +2 -2
  2. package/.chunks/{datepicker-QG5NqyHa.amd.js.map → datepicker-DKvr3NYw.amd.js.map} +1 -1
  3. package/.chunks/{datepicker-C-QFv8Wm.es.js → datepicker-EJRX31J1.es.js} +2 -2
  4. package/.chunks/{datepicker-C-QFv8Wm.es.js.map → datepicker-EJRX31J1.es.js.map} +1 -1
  5. package/.chunks/{forms-DYuU936i.amd.js → forms-CmlWMEyk.amd.js} +3 -3
  6. package/.chunks/{forms-DYuU936i.amd.js.map → forms-CmlWMEyk.amd.js.map} +1 -1
  7. package/.chunks/{forms-BeCSWhdZ.es.js → forms-DDIlFXbF.es.js} +748 -799
  8. package/.chunks/{forms-BeCSWhdZ.es.js.map → forms-DDIlFXbF.es.js.map} +1 -1
  9. package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-DN-pHrhc.es.js → listItem.vue_vue_type_script_setup_true_lang-3UaZvDrd.es.js} +10 -10
  10. package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-DN-pHrhc.es.js.map → listItem.vue_vue_type_script_setup_true_lang-3UaZvDrd.es.js.map} +1 -1
  11. package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-BC88J71B.amd.js → listItem.vue_vue_type_script_setup_true_lang-CnEbgJbu.amd.js} +2 -2
  12. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CnEbgJbu.amd.js.map +1 -0
  13. package/.chunks/{menu.vue_vue_type_style_index_0_lang-BNzX8C8v.es.js → menu.vue_vue_type_style_index_0_lang-C4q81rOQ.es.js} +24 -24
  14. package/.chunks/{menu.vue_vue_type_style_index_0_lang-BNzX8C8v.es.js.map → menu.vue_vue_type_style_index_0_lang-C4q81rOQ.es.js.map} +1 -1
  15. package/.chunks/{menu.vue_vue_type_style_index_0_lang-RE6Dl4Gd.amd.js → menu.vue_vue_type_style_index_0_lang-DcFQyQgs.amd.js} +2 -2
  16. package/.chunks/{menu.vue_vue_type_style_index_0_lang-RE6Dl4Gd.amd.js.map → menu.vue_vue_type_style_index_0_lang-DcFQyQgs.amd.js.map} +1 -1
  17. package/.chunks/{notice-D41sY-7B.amd.js → notice-CYeec0mu.amd.js} +2 -2
  18. package/.chunks/{notice-D41sY-7B.amd.js.map → notice-CYeec0mu.amd.js.map} +1 -1
  19. package/.chunks/{notice-zqNsNusv.es.js → notice-CtXmQ8xM.es.js} +2 -2
  20. package/.chunks/{notice-zqNsNusv.es.js.map → notice-CtXmQ8xM.es.js.map} +1 -1
  21. package/.chunks/{popup-CnEewIWQ.amd.js → popup-38TbXxcV.amd.js} +2 -2
  22. package/.chunks/{popup-CnEewIWQ.amd.js.map → popup-38TbXxcV.amd.js.map} +1 -1
  23. package/.chunks/{popup-CYjUUTBV.es.js → popup-BzCXSDdA.es.js} +2 -2
  24. package/.chunks/{popup-CYjUUTBV.es.js.map → popup-BzCXSDdA.es.js.map} +1 -1
  25. package/.chunks/punycode.es6-C2yitnNb.amd.js.map +1 -1
  26. package/.chunks/punycode.es6-CNI-zL6U.es.js.map +1 -1
  27. package/.chunks/store-CX_6ZXhO.es.js.map +1 -1
  28. package/.chunks/store-esTid5oI.amd.js.map +1 -1
  29. package/.chunks/{utils-Cbdb1gth.es.js → utils-CFCfvsI8.es.js} +61 -61
  30. package/.chunks/{utils-Cbdb1gth.es.js.map → utils-CFCfvsI8.es.js.map} +1 -1
  31. package/.chunks/{utils-BBVRN-KU.amd.js → utils-CI9JyH64.amd.js} +2 -2
  32. package/.chunks/{utils-BBVRN-KU.amd.js.map → utils-CI9JyH64.amd.js.map} +1 -1
  33. package/.chunks/{utils-DFkcW3nI.es.js → utils-DXI6F7F9.es.js} +78 -78
  34. package/.chunks/{utils-DFkcW3nI.es.js.map → utils-DXI6F7F9.es.js.map} +1 -1
  35. package/.chunks/{utils-ByeZ1FPX.amd.js → utils-lvXB5hbW.amd.js} +2 -2
  36. package/.chunks/{utils-ByeZ1FPX.amd.js.map → utils-lvXB5hbW.amd.js.map} +1 -1
  37. package/assets/core.css +1 -1
  38. package/assets/forms.css +1 -1
  39. package/assets/formsExt.css +1 -1
  40. package/assets/layout.css +1 -1
  41. package/charts/charts.amd.js +1 -1
  42. package/charts/charts.amd.js.map +1 -1
  43. package/charts/charts.js +1 -1
  44. package/components/charts/miniChart/miniChart.vue.d.ts +5 -5
  45. package/components/charts/miniCharts/miniCharts.vue.d.ts +6 -9
  46. package/components/core/notice/item/item.vue.d.ts +1 -1
  47. package/components/dialog/dialog/dialog.vue.d.ts +2 -3
  48. package/components/dialog/dialog/dialogs/dialogs.vue.d.ts +1 -1
  49. package/components/dialog/dialog/page/page.vue.d.ts +1 -2
  50. package/components/forms/avatar/avatar.vue.d.ts +1 -1
  51. package/components/forms/button/button.vue.d.ts +1 -2
  52. package/components/forms/checkbox/checkbox.vue.d.ts +6 -7
  53. package/components/forms/controlLabel/controlLabel.vue.d.ts +2 -3
  54. package/components/forms/hint/hint.vue.d.ts +1 -1
  55. package/components/forms/input/input.vue.d.ts +1 -2
  56. package/components/forms/inputDate/inputDate.vue.d.ts +1 -3
  57. package/components/forms/inputRange/inputRange.vue.d.ts +2 -3
  58. package/components/forms/loadbar/loadbar.vue.d.ts +1 -1
  59. package/components/forms/radio/radio.vue.d.ts +2 -3
  60. package/components/forms/select/select.vue.d.ts +5 -5
  61. package/components/forms/switcher/switcher.vue.d.ts +2 -3
  62. package/components/formsExt/editArea/editArea.vue.d.ts +1 -1
  63. package/components/formsExt/editInput/editInput.vue.d.ts +1 -1
  64. package/components/formsExt/formsExt.d.ts +0 -2
  65. package/components/formsExt/info/info.d.ts +20 -0
  66. package/components/formsExt/menu/menu.vue.d.ts +5 -7
  67. package/components/formsExt/radioGroup/radioGroup.vue.d.ts +5 -7
  68. package/components/formsExt/selector2/itemMulti.vue.d.ts +1 -1
  69. package/components/formsExt/selector2/selector2.vue.d.ts +8 -98
  70. package/components/layout/islandRows/islandRows.vue.d.ts +2 -3
  71. package/components/layout/islandRows/islandRowsRow/islandRowsRow.vue.d.ts +2 -3
  72. package/components/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue.d.ts +2 -3
  73. package/components/layout/rows/rows.vue.d.ts +2 -3
  74. package/components/popup/alert/alert.vue.d.ts +1 -2
  75. package/components/popup/confirm/confirm.vue.d.ts +1 -2
  76. package/components/popup/popup/listItem.vue.d.ts +1 -2
  77. package/components/popup/popup/opener.vue.d.ts +1 -2
  78. package/components/popup/popup/popup.vue.d.ts +1 -2
  79. package/components/popup/popup/widgetInput.vue.d.ts +4 -4
  80. package/components/popup/prompt/prompt.vue.d.ts +1 -2
  81. package/components/project/selectorCompetitors/selectorCompetitors.vue.d.ts +5 -5
  82. package/components/project/selectorRegion/selectorRegion.vue.d.ts +7 -7
  83. package/components/project/tagSelector/popupListItem/tagPopupListItem.vue.d.ts +3 -5
  84. package/components/project/tagSelector/popupOpener/popupOpener.vue.d.ts +5 -6
  85. package/components/project/tagSelector/tagIcon/tagIcon.vue.d.ts +1 -1
  86. package/components/project/tagSelector/tagSelector.vue.d.ts +6 -6
  87. package/components/tabs/tabs/content.vue.d.ts +2 -3
  88. package/components/tabs/tabs/tab.vue.d.ts +1 -2
  89. package/components/tabs/tabs/tabs.vue.d.ts +2 -3
  90. package/components/tabsView/tabsView/menu.vue.d.ts +6 -9
  91. package/components/tabsView/tabsView/menuDelimeter.vue.d.ts +1 -1
  92. package/components/tabsView/tabsView/menuItem.vue.d.ts +1 -2
  93. package/components/tabsView/tabsView/menuTitle.vue.d.ts +1 -2
  94. package/components/tabsView/tabsView/store.d.ts +5 -5
  95. package/components/tabsView/tabsView/tabsView.vue.d.ts +6 -9
  96. package/core/app.amd.js +1 -1
  97. package/core/app.amd.js.map +1 -1
  98. package/core/app.js +127 -148
  99. package/core/app.js.map +1 -1
  100. package/core/directives/focus.d.ts +1 -3
  101. package/core/directives/scrollShadow.d.ts +2 -2
  102. package/core/utils/scroll.d.ts +0 -18
  103. package/dialog/dialog.amd.js +1 -1
  104. package/dialog/dialog.amd.js.map +1 -1
  105. package/dialog/dialog.js +2 -2
  106. package/dialog/dialog.js.map +1 -1
  107. package/forms/forms.amd.js +1 -1
  108. package/forms/forms.js +1 -1
  109. package/forms/helpers.amd.js.map +1 -1
  110. package/formsExt/formsExt.amd.js +1 -1
  111. package/formsExt/formsExt.amd.js.map +1 -1
  112. package/formsExt/formsExt.js +300 -340
  113. package/formsExt/formsExt.js.map +1 -1
  114. package/layout/layout.amd.js +1 -1
  115. package/layout/layout.amd.js.map +1 -1
  116. package/layout/layout.js +26 -27
  117. package/layout/layout.js.map +1 -1
  118. package/package.json +1 -1
  119. package/popup/popup.amd.js +1 -1
  120. package/popup/popup.amd.js.map +1 -1
  121. package/popup/popup.js +17 -17
  122. package/popup/worker.amd.js +1 -1
  123. package/popup/worker.amd.js.map +1 -1
  124. package/popup/worker.js +2 -2
  125. package/popup/worker.js.map +1 -1
  126. package/project/project.amd.js +1 -1
  127. package/project/project.amd.js.map +1 -1
  128. package/project/project.js +307 -307
  129. package/tabsView/tabsView.amd.js +1 -1
  130. package/tabsView/tabsView.amd.js.map +1 -1
  131. package/tabsView/tabsView.js +37 -37
  132. package/utils/check.amd.js.map +1 -1
  133. package/utils/check.js.map +1 -1
  134. package/utils/clipboard.amd.js +1 -1
  135. package/utils/clipboard.amd.js.map +1 -1
  136. package/utils/clipboard.js +1 -1
  137. package/utils/clipboard.js.map +1 -1
  138. package/utils/date.amd.js +1 -1
  139. package/utils/date.js +1 -1
  140. package/utils/device.amd.js +1 -1
  141. package/utils/device.js +1 -1
  142. package/utils/dom.amd.js +1 -1
  143. package/utils/dom.amd.js.map +1 -1
  144. package/utils/dom.js +30 -30
  145. package/utils/dom.js.map +1 -1
  146. package/utils/image.amd.js.map +1 -1
  147. package/utils/keyboard.amd.js.map +1 -1
  148. package/utils/lodash.amd.js +1 -1
  149. package/utils/lodash.js +5 -5
  150. package/utils/number.amd.js.map +1 -1
  151. package/utils/price.amd.js +1 -1
  152. package/utils/price.amd.js.map +1 -1
  153. package/utils/price.js +1 -1
  154. package/utils/price.js.map +1 -1
  155. package/utils/route.amd.js +1 -1
  156. package/utils/route.amd.js.map +1 -1
  157. package/utils/route.js +5 -5
  158. package/utils/route.js.map +1 -1
  159. package/utils/scroll.amd.js +1 -1
  160. package/utils/scroll.amd.js.map +1 -1
  161. package/utils/scroll.js +7 -39
  162. package/utils/scroll.js.map +1 -1
  163. package/utils/searchers.amd.js.map +1 -1
  164. package/utils/searchers.js.map +1 -1
  165. package/utils/string.amd.js +1 -1
  166. package/utils/string.amd.js.map +1 -1
  167. package/utils/string.js +29 -29
  168. package/utils/string.js.map +1 -1
  169. package/utils/system.amd.js.map +1 -1
  170. package/utils/system.js.map +1 -1
  171. package/utils/url.amd.js.map +1 -1
  172. package/utils/url.js.map +1 -1
  173. package/web-types.json +0 -28
  174. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-BC88J71B.amd.js.map +0 -1
  175. package/components/formsExt/info/info.vue.d.ts +0 -20
  176. package/components/formsExt/info/types.d.ts +0 -21
  177. package/core/directives/scrollIntoView.d.ts +0 -3
@@ -1,12 +1,12 @@
1
- import { Core as q } from "../core/app.js";
2
- import { defineComponent as L, ref as V, computed as z, openBlock as p, createElementBlock as v, normalizeClass as C, toDisplayString as w, createCommentVNode as A, createElementVNode as _, createVNode as R, withKeys as E, withModifiers as S, createBlock as $, withCtx as k, createTextVNode as B, watch as I, toRef as ee, mergeProps as X, mergeModels as G, useModel as j, Fragment as N, renderList as D, withDirectives as Q, vModelRadio as te, resolveDirective as oe, unref as O, renderSlot as H } from "vue";
3
- import { x as le, _ as F, c as ae, s as se, a as ne, C as re } from "../.chunks/forms-BeCSWhdZ.es.js";
4
- import { invertKeyboardLayout as ie } from "../utils/keyboard.js";
5
- import { TopPopup as ue, TopPopupWidgetInput as de, TopPopupListItem as Y } from "../popup/popup.js";
6
- import { _ as pe } from "../.chunks/menu.vue_vue_type_style_index_0_lang-BNzX8C8v.es.js";
7
- const x = ["../assets/formsExt.css"].map((n) => import.meta.resolve(n));
8
- q.insertCSSLinkToPage(x, !0);
9
- const ce = { class: "top-editArea_footer" }, me = /* @__PURE__ */ L({
1
+ import { Core as Q } from "../core/app.js";
2
+ import { defineComponent as P, ref as g, computed as N, resolveDirective as q, openBlock as c, createElementBlock as v, normalizeClass as I, toDisplayString as T, createCommentVNode as C, createElementVNode as K, withDirectives as X, createVNode as H, withKeys as _, withModifiers as L, createBlock as B, withCtx as S, createTextVNode as E, watch as $, toRef as x, mergeProps as J, mergeModels as z, useModel as Y, Fragment as O, renderList as G, vModelRadio as ee, unref as M, renderSlot as te } from "vue";
3
+ import { w as oe, _ as D, c as le, r as ae, a as se, C as re } from "../.chunks/forms-DDIlFXbF.es.js";
4
+ import { invertKeyboardLayout as ne } from "../utils/keyboard.js";
5
+ import { TopPopup as ue, TopPopupWidgetInput as ie, TopPopupListItem as R } from "../popup/popup.js";
6
+ import { _ as de } from "../.chunks/menu.vue_vue_type_style_index_0_lang-C4q81rOQ.es.js";
7
+ const Z = ["../assets/formsExt.css"].map((s) => import.meta.resolve(s));
8
+ Q.insertCSSLinkToPage(Z, !0);
9
+ const pe = { class: "top-editArea_footer" }, ce = /* @__PURE__ */ P({
10
10
  __name: "editArea",
11
11
  props: {
12
12
  defaultValue: { default: "" },
@@ -29,85 +29,90 @@ const ce = { class: "top-editArea_footer" }, me = /* @__PURE__ */ L({
29
29
  hint: {}
30
30
  },
31
31
  emits: ["submit", "close", "clickOnTitle"],
32
- setup(n, { emit: a }) {
33
- const e = n, l = a, f = V(e.defaultValue), y = V(e.isFocused), u = z(() => f.value !== e.defaultValue), c = z(() => e.attachToKeyboard ? "" : e.forceShowCloseBtn && !u.value ? e.closeText : e.cancelText), r = (i) => {
34
- l("submit", i), f.value = e.defaultValue;
35
- }, h = () => {
36
- if (e.forceShowCloseBtn && !u.value) {
37
- l("close");
32
+ setup(s, { emit: i }) {
33
+ const e = s, o = i, m = g(e.defaultValue), f = g(e.isFocused), r = N(() => m.value !== e.defaultValue), d = N(() => e.attachToKeyboard ? "" : e.forceShowCloseBtn && !r.value ? e.closeText : e.cancelText), p = (n) => {
34
+ o("submit", n), m.value = e.defaultValue;
35
+ }, y = () => {
36
+ if (e.forceShowCloseBtn && !r.value) {
37
+ o("close");
38
38
  return;
39
39
  }
40
- f.value = e.defaultValue;
41
- }, T = () => {
42
- e.attachToKeyboard && l("clickOnTitle");
40
+ m.value = e.defaultValue;
41
+ }, h = () => {
42
+ e.attachToKeyboard && o("clickOnTitle");
43
43
  };
44
- return (i, o) => (p(), v("div", {
45
- class: C({
46
- "top-editArea": !0,
47
- "top-editArea-attachedToKeyboard": i.attachToKeyboard
48
- })
49
- }, [
50
- i.title ? (p(), v("div", {
51
- key: 0,
52
- class: "top-editArea_title",
53
- onClick: o[0] || (o[0] = (g) => T())
54
- }, w(i.title), 1)) : A("", !0),
55
- _("div", {
56
- class: C({
57
- "top-editArea_form": !0,
58
- "top-error": i.isError,
59
- "top-focus": y.value
44
+ return (n, l) => {
45
+ const V = q("top-focus");
46
+ return c(), v("div", {
47
+ class: I({
48
+ "top-editArea": !0,
49
+ "top-editArea-attachedToKeyboard": n.attachToKeyboard
60
50
  })
61
51
  }, [
62
- R(le, {
63
- modelValue: f.value,
64
- "onUpdate:modelValue": o[1] || (o[1] = (g) => f.value = g),
65
- name: i.name,
66
- placeholder: i.placeholder,
67
- rows: i.rows,
68
- minHeight: i.minHeight,
69
- expandable: i.expandable,
70
- disabled: i.disabled,
71
- readonly: i.readonly,
72
- isError: i.isError,
73
- hint: i.hint,
74
- class: "top-editArea_element",
75
- onFocus: o[2] || (o[2] = () => y.value = !0),
76
- onBlur: o[3] || (o[3] = () => y.value = !1),
77
- onKeyup: [
78
- E(h, ["esc"]),
79
- o[4] || (o[4] = E(S((g) => r(f.value), ["ctrl"]), ["enter"]))
80
- ]
81
- }, null, 8, ["modelValue", "name", "placeholder", "rows", "minHeight", "expandable", "disabled", "readonly", "isError", "hint"]),
82
- _("div", ce, [
83
- !i.attachToKeyboard && (u.value || i.forceShowCloseBtn) ? (p(), $(F, {
84
- key: 0,
85
- class: "top-editArea_button",
86
- color: "theme",
87
- styling: "soft",
88
- onClick: h
89
- }, {
90
- default: k(() => [
91
- B(w(c.value), 1)
92
- ]),
93
- _: 1
94
- })) : A("", !0),
95
- u.value ? (p(), $(F, {
96
- key: 1,
97
- class: "top-editArea_button",
98
- icon: i.attachToKeyboard ? "" : "",
99
- onClick: o[5] || (o[5] = (g) => r(f.value))
100
- }, {
101
- default: k(() => [
102
- B(w(i.attachToKeyboard ? "" : i.submitText), 1)
103
- ]),
104
- _: 1
105
- }, 8, ["icon"])) : A("", !0)
106
- ])
107
- ], 2)
108
- ], 2));
52
+ n.title ? (c(), v("div", {
53
+ key: 0,
54
+ class: "top-editArea_title",
55
+ onClick: l[0] || (l[0] = (A) => h())
56
+ }, T(n.title), 1)) : C("", !0),
57
+ K("div", {
58
+ class: I({
59
+ "top-editArea_form": !0,
60
+ "top-error": n.isError,
61
+ "top-focus": f.value
62
+ })
63
+ }, [
64
+ X(H(oe, {
65
+ modelValue: m.value,
66
+ "onUpdate:modelValue": l[1] || (l[1] = (A) => m.value = A),
67
+ name: n.name,
68
+ placeholder: n.placeholder,
69
+ rows: n.rows,
70
+ minHeight: n.minHeight,
71
+ expandable: n.expandable,
72
+ disabled: n.disabled,
73
+ readonly: n.readonly,
74
+ isError: n.isError,
75
+ hint: n.hint,
76
+ class: "top-editArea_element",
77
+ onFocus: l[2] || (l[2] = () => f.value = !0),
78
+ onBlur: l[3] || (l[3] = () => f.value = !1),
79
+ onKeyup: [
80
+ _(y, ["esc"]),
81
+ l[4] || (l[4] = _(L((A) => p(m.value), ["ctrl"]), ["enter"]))
82
+ ]
83
+ }, null, 8, ["modelValue", "name", "placeholder", "rows", "minHeight", "expandable", "disabled", "readonly", "isError", "hint"]), [
84
+ [V, { disabled: !f.value }]
85
+ ]),
86
+ K("div", pe, [
87
+ !n.attachToKeyboard && (r.value || n.forceShowCloseBtn) ? (c(), B(D, {
88
+ key: 0,
89
+ class: "top-editArea_button",
90
+ color: "theme",
91
+ styling: "soft",
92
+ onClick: y
93
+ }, {
94
+ default: S(() => [
95
+ E(T(d.value), 1)
96
+ ]),
97
+ _: 1
98
+ })) : C("", !0),
99
+ r.value ? (c(), B(D, {
100
+ key: 1,
101
+ class: "top-editArea_button",
102
+ icon: n.attachToKeyboard ? "" : "",
103
+ onClick: l[5] || (l[5] = (A) => p(m.value))
104
+ }, {
105
+ default: S(() => [
106
+ E(T(n.attachToKeyboard ? "" : n.submitText), 1)
107
+ ]),
108
+ _: 1
109
+ }, 8, ["icon"])) : C("", !0)
110
+ ])
111
+ ], 2)
112
+ ], 2);
113
+ };
109
114
  }
110
- }), fe = { class: "top-editInput" }, ve = /* @__PURE__ */ L({
115
+ }), me = { class: "top-editInput" }, fe = /* @__PURE__ */ P({
111
116
  __name: "editInput",
112
117
  props: {
113
118
  modelValue: {},
@@ -115,34 +120,34 @@ const ce = { class: "top-editArea_footer" }, me = /* @__PURE__ */ L({
115
120
  button: {}
116
121
  },
117
122
  emits: ["update:modelValue"],
118
- setup(n, { emit: a }) {
119
- const e = n, l = V(e.modelValue);
120
- I(ee(e.modelValue), () => {
121
- l.value = e.modelValue;
123
+ setup(s, { emit: i }) {
124
+ const e = s, o = g(e.modelValue);
125
+ $(x(e.modelValue), () => {
126
+ o.value = e.modelValue;
122
127
  });
123
- const f = a, y = () => {
124
- f("update:modelValue", l.value);
128
+ const m = i, f = () => {
129
+ m("update:modelValue", o.value);
125
130
  };
126
- return (u, c) => (p(), v("div", fe, [
127
- R(ae, X(u.input, {
128
- onKeydownCapture: c[0] || (c[0] = E(S((r) => l.value = u.modelValue, ["stop"]), ["esc"])),
129
- onKeydown: E(S(y, ["stop"]), ["enter"]),
130
- modelValue: l.value,
131
- "onUpdate:modelValue": c[1] || (c[1] = (r) => l.value = r)
131
+ return (r, d) => (c(), v("div", me, [
132
+ H(le, J(r.input, {
133
+ onKeydownCapture: d[0] || (d[0] = _(L((p) => o.value = r.modelValue, ["stop"]), ["esc"])),
134
+ onKeydown: _(L(f, ["stop"]), ["enter"]),
135
+ modelValue: o.value,
136
+ "onUpdate:modelValue": d[1] || (d[1] = (p) => o.value = p)
132
137
  }), null, 16, ["onKeydown", "modelValue"]),
133
- l.value !== u.modelValue ? (p(), $(F, X({
138
+ o.value !== r.modelValue ? (c(), B(D, J({
134
139
  key: 0,
135
140
  icon: "",
136
141
  styling: "soft"
137
- }, u.button, { onClick: y }), null, 16)) : A("", !0)
142
+ }, r.button, { onClick: f }), null, 16)) : C("", !0)
138
143
  ]));
139
144
  }
140
- }), ye = ["data-top-icon", "onClick"], he = {
145
+ }), ve = ["data-top-icon", "onClick"], ye = {
141
146
  key: 0,
142
147
  class: "top-radioGroup_circle"
143
- }, ge = ["value", "disabled"], be = /* @__PURE__ */ L({
148
+ }, he = ["value", "disabled"], be = /* @__PURE__ */ P({
144
149
  __name: "radioGroup",
145
- props: /* @__PURE__ */ G({
150
+ props: /* @__PURE__ */ z({
146
151
  modelValue: {},
147
152
  radiosProps: {},
148
153
  showIndicator: { type: Boolean },
@@ -154,105 +159,105 @@ const ce = { class: "top-editArea_footer" }, me = /* @__PURE__ */ L({
154
159
  },
155
160
  modelModifiers: {}
156
161
  }),
157
- emits: /* @__PURE__ */ G(["update:modelValue"], ["update:modelValue"]),
158
- setup(n, { emit: a }) {
159
- const e = j(n, "modelValue"), l = n, f = V(null);
160
- I(e, () => {
161
- var u, c, r, h, T;
162
- (u = l.radiosProps) != null && u.some((i) => i.value === e.value) || (e.value = ((r = (c = l.radiosProps) == null ? void 0 : c[0]) == null ? void 0 : r.value) ?? ""), (T = (h = f.value) == null ? void 0 : h.querySelector(".radioGroup_item-selected")) == null || T.scrollIntoView();
162
+ emits: /* @__PURE__ */ z(["update:modelValue"], ["update:modelValue"]),
163
+ setup(s, { emit: i }) {
164
+ const e = Y(s, "modelValue"), o = s, m = g(null);
165
+ $(e, () => {
166
+ var r, d, p, y, h;
167
+ (r = o.radiosProps) != null && r.some((n) => n.value === e.value) || (e.value = ((p = (d = o.radiosProps) == null ? void 0 : d[0]) == null ? void 0 : p.value) ?? ""), (h = (y = m.value) == null ? void 0 : y.querySelector(".radioGroup_item-selected")) == null || h.scrollIntoView();
163
168
  }, { immediate: !0 });
164
- const y = "radioGroup-" + Math.random();
165
- return (u, c) => (p(), v("div", {
169
+ const f = "radioGroup-" + Math.random();
170
+ return (r, d) => (c(), v("div", {
166
171
  ref_key: "elRef",
167
- ref: f,
168
- class: C({
172
+ ref: m,
173
+ class: I({
169
174
  "top-radioGroup": !0,
170
175
  "top-scrollBarXHidding": !0,
171
- ["top-size_" + u.size]: !!u.size,
172
- "top-error": u.isError
176
+ ["top-size_" + r.size]: !!r.size,
177
+ "top-error": r.isError
173
178
  })
174
179
  }, [
175
- (p(!0), v(N, null, D(u.radiosProps, (r) => (p(), v("label", {
176
- class: C({
177
- "top-radioGroup_item-selected": r.value === e.value,
180
+ (c(!0), v(O, null, G(r.radiosProps, (p) => (c(), v("label", {
181
+ class: I({
182
+ "top-radioGroup_item-selected": p.value === e.value,
178
183
  "top-radioGroup_item": !0,
179
184
  "top-forms-focusable": !0,
180
- "top-disabled": r.disabled
185
+ "top-disabled": p.disabled
181
186
  }),
182
- "data-top-icon": r.icon,
183
- onClick: (h) => e.value = r.value
187
+ "data-top-icon": p.icon,
188
+ onClick: (y) => e.value = p.value
184
189
  }, [
185
- B(w(r.title) + " ", 1),
186
- u.showIndicator ? (p(), v("span", he)) : A("", !0),
187
- Q(_("input", {
188
- "onUpdate:modelValue": c[0] || (c[0] = (h) => e.value = h),
189
- name: y,
190
+ E(T(p.title) + " ", 1),
191
+ r.showIndicator ? (c(), v("span", ye)) : C("", !0),
192
+ X(K("input", {
193
+ "onUpdate:modelValue": d[0] || (d[0] = (y) => e.value = y),
194
+ name: f,
190
195
  type: "radio",
191
- class: C({
196
+ class: I({
192
197
  "top-unvisible": !0
193
198
  }),
194
- value: r.value,
195
- disabled: r.disabled
196
- }, null, 8, ge), [
197
- [te, e.value]
199
+ value: p.value,
200
+ disabled: p.disabled
201
+ }, null, 8, he), [
202
+ [ee, e.value]
198
203
  ])
199
- ], 10, ye))), 256))
204
+ ], 10, ve))), 256))
200
205
  ], 2));
201
206
  }
202
- }), Ve = (n, a, e) => {
203
- const l = V([]), f = V(!1);
204
- let y = "", u;
205
- n && !n.params.limit && (n.params.limit = 100);
206
- const c = async () => {
207
- if (!n) return;
208
- let o, g;
209
- if (e && (n.cache ??= /* @__PURE__ */ new Map(), g = JSON.stringify(n.params), o = n.cache.get(g), o))
210
- return o;
211
- if (f.value = !0, o = await n.call(), f.value = !1, o.errors) return;
212
- if (!Array.isArray(o.result)) {
207
+ }), ge = (s, i, e) => {
208
+ const o = g([]), m = g(!1);
209
+ let f = "", r;
210
+ s && !s.params.limit && (s.params.limit = 100);
211
+ const d = async () => {
212
+ if (!s) return;
213
+ let l, V;
214
+ if (e && (s.cache ??= /* @__PURE__ */ new Map(), V = JSON.stringify(s.params), l = s.cache.get(V), l))
215
+ return l;
216
+ if (m.value = !0, l = await s.call(), m.value = !1, l.errors) return;
217
+ if (!Array.isArray(l.result)) {
213
218
  console.warn("В result ожидался массив");
214
219
  return;
215
220
  }
216
- const K = o.result.findIndex((P) => P.id === void 0 || P.name === void 0);
217
- if (K !== -1) {
218
- console.warn(`В result[${K}] нет id или name`);
221
+ const A = l.result.findIndex((w) => w.id === void 0 || w.name === void 0);
222
+ if (A !== -1) {
223
+ console.warn(`В result[${A}] нет id или name`);
219
224
  return;
220
225
  }
221
- return e && n.cache.set(g, o), o;
222
- }, r = async () => {
223
- if (!n) return;
224
- n.params.offset = 0, n.params.search = y;
225
- const o = await c();
226
- o && (u = o.nextOffset, l.value = o.result);
227
- }, h = async () => {
228
- if (!n || !u || f.value) return;
229
- n.params.offset = u, n.params.search = y;
230
- const o = await c();
231
- o && (u = o.nextOffset, l.value = l.value.concat(o.result));
232
- }, T = se(() => r(), 200);
226
+ return e && s.cache.set(V, l), l;
227
+ }, p = async () => {
228
+ if (!s) return;
229
+ s.params.offset = 0, s.params.search = f;
230
+ const l = await d();
231
+ l && (r = l.nextOffset, o.value = l.result);
232
+ }, y = async () => {
233
+ if (!s || !r || m.value) return;
234
+ s.params.offset = r, s.params.search = f;
235
+ const l = await d();
236
+ l && (r = l.nextOffset, o.value = o.value.concat(l.result));
237
+ }, h = ae(() => p(), 200);
233
238
  return {
234
- items: l,
235
- isLoading: f,
236
- loadAppend: h,
237
- setSearchTextAndLoad: (o, g = !0) => {
238
- n && (o.length < a || o === y && l.value.length || (y = o, g ? T() : r()));
239
+ items: o,
240
+ isLoading: m,
241
+ loadAppend: y,
242
+ setSearchTextAndLoad: (l, V = !0) => {
243
+ s && (l.length < i || l === f && o.value.length || (f = l, V ? h() : p()));
239
244
  }
240
245
  };
241
- }, Ae = { class: "top-selector2_itemMulti top-ellipsis" }, Te = /* @__PURE__ */ L({
246
+ }, Ve = { class: "top-selector2_itemMulti top-ellipsis" }, Ae = /* @__PURE__ */ P({
242
247
  __name: "itemMulti",
243
248
  props: {
244
249
  id: {},
245
250
  name: {}
246
251
  },
247
252
  emits: ["delete"],
248
- setup(n) {
249
- return (a, e) => (p(), v("div", Ae, [
250
- B(w(a.name) + " ", 1),
251
- _("span", {
253
+ setup(s) {
254
+ return (i, e) => (c(), v("div", Ve, [
255
+ E(T(i.name) + " ", 1),
256
+ K("span", {
252
257
  class: "top-selector2_itemMultiDelete",
253
258
  "data-top-icon": "",
254
- onClick: e[0] || (e[0] = (l) => a.$emit("delete", a.id)),
255
- onMousedown: e[1] || (e[1] = S(() => {
259
+ onClick: e[0] || (e[0] = (o) => i.$emit("delete", i.id)),
260
+ onMousedown: e[1] || (e[1] = L(() => {
256
261
  }, ["stop"]))
257
262
  }, null, 32)
258
263
  ]));
@@ -260,12 +265,12 @@ const ce = { class: "top-editArea_footer" }, me = /* @__PURE__ */ L({
260
265
  }), Ce = {
261
266
  key: 0,
262
267
  class: "top-selector2_activeItems"
263
- }, we = {
268
+ }, Te = {
264
269
  key: 1,
265
270
  class: "top-selector2_activeName top-ellipsis"
266
- }, ke = /* @__PURE__ */ L({
271
+ }, we = /* @__PURE__ */ P({
267
272
  __name: "selector2",
268
- props: /* @__PURE__ */ G({
273
+ props: /* @__PURE__ */ z({
269
274
  modelValue: {},
270
275
  items: { default: () => [] },
271
276
  multiselect: { type: Boolean },
@@ -285,196 +290,151 @@ const ce = { class: "top-editArea_footer" }, me = /* @__PURE__ */ L({
285
290
  modelModifiers: {}
286
291
  }),
287
292
  emits: ["update:modelValue"],
288
- setup(n) {
289
- const a = n, e = j(n, "modelValue"), l = V(""), f = {
293
+ setup(s) {
294
+ const i = s, e = Y(s, "modelValue"), o = g(""), m = {
290
295
  id: 0,
291
- name: ne().Common.All
292
- }, y = V(null), u = V(null), c = () => {
296
+ name: se().Common.All
297
+ }, f = g(null), r = () => {
293
298
  var t;
294
- return (t = y.value) == null ? void 0 : t.popup;
299
+ return (t = f.value) == null ? void 0 : t.popup;
295
300
  };
296
- window.__STORYBOOK_PREVIEW__ && !a.modelValue && I(
297
- () => a.multiselect,
301
+ window.__STORYBOOK_PREVIEW__ && !i.modelValue && $(
302
+ () => i.multiselect,
298
303
  () => {
299
- e.value = a.multiselect ? [] : { id: null, name: "" };
304
+ e.value = i.multiselect ? [] : { id: null, name: "" };
300
305
  },
301
306
  { immediate: !0 }
302
307
  );
303
- const r = Ve(a.apiRequest, a.minLength, a.useCache), h = z(() => {
308
+ const d = ge(i.apiRequest, i.minLength, i.useCache), p = N(() => {
304
309
  const t = [];
305
- return !a.multiselect && a.appendAllValue && t.push(f), a.items.forEach((s) => t.push({ ...s })), t;
306
- }), T = (t, s = !0) => s && t.id === null ? Array.isArray(e.value) ? e.value.some((m) => m.id === t.id && m.name === t.name) : t.name === e.value.name : Array.isArray(e.value) ? e.value.some((m) => m.id === t.id) : t.id === e.value.id, i = z(() => {
307
- const t = l.value.toLowerCase(), s = ie(t);
308
- let m = [];
309
- return h.value.forEach((d) => {
310
- const b = d.name.toLowerCase();
311
- (d.id === Number(t) || b.includes(t) || b.includes(s)) && (b === t || b === s ? m.unshift(d) : m.push(d));
312
- }), m.push(...r.items.value), a.appendSearchToResult && l.value && (!m.length || m[0].name.toLowerCase() !== t) && m.push({
310
+ return !i.multiselect && i.appendAllValue && t.push(m), i.items.forEach((u) => t.push({ ...u })), t;
311
+ }), y = (t, u = !0) => u && t.id === null ? Array.isArray(e.value) ? e.value.some((a) => a.id === t.id && a.name === t.name) : t.name === e.value.name : Array.isArray(e.value) ? e.value.some((a) => a.id === t.id) : t.id === e.value.id, h = N(() => {
312
+ const t = o.value.toLowerCase(), u = ne(t);
313
+ let a = [];
314
+ return p.value.forEach((b) => {
315
+ const k = b.name.toLowerCase();
316
+ (b.id === Number(t) || k.includes(t) || k.includes(u)) && (k === t || k === u ? a.unshift(b) : a.push(b));
317
+ }), a.push(...d.items.value), i.appendSearchToResult && o.value && (!a.length || a[0].name.toLowerCase() !== t) && a.push({
313
318
  id: null,
314
- name: l.value
315
- }), a.multiselect && (m = m.filter((d) => !T(d))), m;
316
- }), o = V(r.isLoading.value);
317
- I(r.isLoading, () => {
318
- o.value = r.isLoading.value;
319
+ name: o.value
320
+ }), i.multiselect && (a = a.filter((b) => !y(b))), a;
321
+ }), n = g(d.isLoading.value);
322
+ $(d.isLoading, () => {
323
+ n.value = d.isLoading.value;
319
324
  });
320
- const g = async (t) => {
321
- var s, m;
322
- if (a.multiselect) {
323
- if (!Array.isArray(e.value) || T(t))
325
+ const l = async (t) => {
326
+ var u, a;
327
+ if (i.multiselect) {
328
+ if (!Array.isArray(e.value) || y(t))
324
329
  return;
325
- a.apiRequest && l.value && (o.value = !0);
326
- const d = [...e.value];
327
- d.push({ ...t }), e.value = d, re.state.isMobile ? ((s = c()) == null || s.close(), l.value && (l.value = "", r.items.value = [])) : setTimeout(() => {
328
- var b, U, W, J;
329
- (b = c()) == null || b.recalcPosition(), (J = (W = (U = c()) == null ? void 0 : U.elPopupWidget) == null ? void 0 : W.querySelector("input")) == null || J.focus(), l.value && (i.value.length ? a.apiRequest && (o.value = !1) : (l.value = "", r.items.value = []));
330
+ i.apiRequest && o.value && (n.value = !0);
331
+ const b = [...e.value];
332
+ b.push({ ...t }), e.value = b, re.state.isMobile ? ((u = r()) == null || u.close(), o.value && (o.value = "", d.items.value = [])) : setTimeout(() => {
333
+ var k, F, U, W;
334
+ (k = r()) == null || k.recalcPosition(), (W = (U = (F = r()) == null ? void 0 : F.elPopupWidget) == null ? void 0 : U.querySelector("input")) == null || W.focus(), o.value && (h.value.length ? i.apiRequest && (n.value = !1) : (o.value = "", d.items.value = []));
330
335
  });
331
336
  } else
332
- l.value && (l.value = "", r.items.value = []), JSON.stringify(t) !== JSON.stringify(e.value) && (e.value = { ...t }), (m = c()) == null || m.close();
333
- }, K = () => {
337
+ o.value && (o.value = "", d.items.value = []), JSON.stringify(t) !== JSON.stringify(e.value) && (e.value = { ...t }), (a = r()) == null || a.close();
338
+ }, V = () => {
334
339
  if (!Array.isArray(e.value)) {
335
- const s = (h.value.findIndex((m) => m.id === e.value.id) + 1) % h.value.length;
336
- e.value = { ...h.value[s] };
340
+ const u = (p.value.findIndex((a) => a.id === e.value.id) + 1) % p.value.length;
341
+ e.value = { ...p.value[u] };
337
342
  }
338
- }, P = async (t) => {
339
- Array.isArray(e.value) && (e.value = e.value.filter((s) => s.id !== t), setTimeout(() => {
340
- var s;
341
- (s = c()) == null || s.recalcPosition();
343
+ }, A = async (t) => {
344
+ Array.isArray(e.value) && (e.value = e.value.filter((u) => u.id !== t), setTimeout(() => {
345
+ var u;
346
+ (u = r()) == null || u.recalcPosition();
342
347
  }));
343
- }, M = V(!1);
344
- a.apiRequest && (I(M, () => {
345
- M.value && r.setSearchTextAndLoad(l.value, !1);
346
- }), I(l, () => r.setSearchTextAndLoad(l.value)));
347
- const Z = (t) => {
348
- const s = t.target;
349
- s.scrollTop / (s.scrollHeight - s.offsetHeight) > 0.8 && r.loadAppend();
350
- };
351
- return (t, s) => {
352
- const m = oe("top-focus");
353
- return p(), $(O(ue), {
354
- ref_key: "popupRef",
355
- ref: y,
356
- onOpen: s[2] || (s[2] = (d) => M.value = !0),
357
- onClose: s[3] || (s[3] = (d) => {
358
- var b;
359
- return M.value = !1, (b = u.value) == null ? void 0 : b.focus();
360
- }),
361
- onScrollContentList: s[4] || (s[4] = (d) => t.apiRequest ? Z(d) : void 0),
362
- notch: !1,
363
- transitionDuration: 0
364
- }, {
365
- opener: k(() => [
366
- Q((p(), v("div", {
367
- ref_key: "elRef",
368
- ref: u,
369
- class: C({
370
- "top-selector2": !0,
371
- "top-selector2-multiselect": t.multiselect,
372
- ["top-size_" + t.size]: !0,
373
- "top-disabled": t.disabled,
374
- "top-forms-focusable": !t.disabled,
375
- "top-error": t.isError
376
- }),
377
- onKeydown: s[0] || (s[0] = E(S((d) => d.currentTarget.click(), ["stop", "prevent"]), ["enter", "space"])),
378
- tabindex: "0"
379
- }, [
380
- t.multiselect ? (p(), v("div", Ce, [
381
- (p(!0), v(N, null, D(e.value, (d) => (p(), $(Te, {
382
- id: d.id,
383
- name: d.name,
384
- onDelete: P
385
- }, null, 8, ["id", "name"]))), 256))
386
- ])) : A("", !0),
387
- t.multiselect ? A("", !0) : (p(), v("span", we, w(Array.isArray(e.value) ? "" : e.value.name), 1)),
388
- t.addChanger && !t.multiselect && h.value.length > 1 && !t.disabled ? (p(), v("span", {
389
- key: 2,
390
- class: "top-changer top-changer-selector",
391
- onClick: S(K, ["stop"])
392
- })) : A("", !0)
393
- ], 34)), [
394
- [
395
- m,
396
- t.isError,
397
- void 0,
398
- { onupdate: !0 }
399
- ]
400
- ])
401
- ]),
402
- widget: k(() => [
403
- R(O(de), {
404
- title: "Поиск",
405
- icon: "",
406
- modelValue: l.value,
407
- "onUpdate:modelValue": s[1] || (s[1] = (d) => l.value = d),
408
- isLoading: o.value,
409
- placeholder: !Array.isArray(e.value) && !t.multiselect && t.showSelectedInInput ? e.value.name : t.placeholder
410
- }, null, 8, ["modelValue", "isLoading", "placeholder"])
411
- ]),
412
- contentList: k(() => [
413
- (p(!0), v(N, null, D(i.value, (d) => (p(), $(O(Y), {
414
- class: C({
415
- "top-active": !Array.isArray(e.value) && !t.multiselect && e.value.name === d.name
416
- }),
417
- key: d.id ?? void 0,
418
- onClick: S((b) => g(d), ["stop"])
419
- }, {
420
- default: k(() => [
421
- t.$slots.item ? H(t.$slots, "item", {
422
- key: 0,
423
- item: d
424
- }) : (p(), v(N, { key: 1 }, [
425
- B(w(d.name), 1)
426
- ], 64))
427
- ]),
428
- _: 2
429
- }, 1032, ["class", "onClick"]))), 128)),
430
- !o.value && !i.value.length ? (p(), $(O(Y), {
431
- key: 0,
432
- type: "regular"
433
- }, {
434
- default: k(() => [
435
- B(w(t.$i18n.Common.No_results), 1)
436
- ]),
437
- _: 1
438
- })) : A("", !0)
439
- ]),
440
- _: 3
441
- }, 512);
348
+ }, w = g(!1);
349
+ i.apiRequest && ($(w, () => {
350
+ w.value && d.setSearchTextAndLoad(o.value, !1);
351
+ }), $(o, () => d.setSearchTextAndLoad(o.value)));
352
+ const j = (t) => {
353
+ const u = t.target;
354
+ u.scrollTop / (u.scrollHeight - u.offsetHeight) > 0.8 && d.loadAppend();
442
355
  };
443
- }
444
- }), $e = ["data-top-icon"], Se = { class: "top-info_text" }, Ie = {
445
- key: 0,
446
- class: "top-info_value"
447
- }, Be = /* @__PURE__ */ L({
448
- __name: "info",
449
- props: {
450
- icon: {},
451
- styling: { default: "default" },
452
- size: { default: "default" }
453
- },
454
- setup(n) {
455
- return (a, e) => (p(), v("div", {
456
- class: C({
457
- "top-info": !0,
458
- ["top-size_" + a.size]: !0,
459
- ["top-info-styling_" + a.styling]: !0
460
- }),
461
- "data-top-icon": a.icon
462
- }, [
463
- _("div", Se, [
464
- H(a.$slots, "default")
356
+ return (t, u) => (c(), B(M(ue), {
357
+ ref_key: "popupRef",
358
+ ref: f,
359
+ onOpen: u[1] || (u[1] = (a) => w.value = !0),
360
+ onClose: u[2] || (u[2] = (a) => w.value = !1),
361
+ onScrollContentList: u[3] || (u[3] = (a) => t.apiRequest ? j(a) : void 0),
362
+ notch: !1,
363
+ transitionDuration: 0
364
+ }, {
365
+ opener: S(() => [
366
+ K("div", {
367
+ class: I({
368
+ "top-selector2": !0,
369
+ "top-selector2-multiselect": t.multiselect,
370
+ ["top-size_" + t.size]: !0,
371
+ "top-disabled": t.disabled,
372
+ "top-forms-focusable": !t.disabled,
373
+ "top-error": t.isError
374
+ })
375
+ }, [
376
+ t.multiselect ? (c(), v("div", Ce, [
377
+ (c(!0), v(O, null, G(e.value, (a) => (c(), B(Ae, {
378
+ id: a.id,
379
+ name: a.name,
380
+ onDelete: A
381
+ }, null, 8, ["id", "name"]))), 256))
382
+ ])) : C("", !0),
383
+ t.multiselect ? C("", !0) : (c(), v("span", Te, T(Array.isArray(e.value) ? "" : e.value.name), 1)),
384
+ t.addChanger && !t.multiselect && p.value.length > 1 && !t.disabled ? (c(), v("span", {
385
+ key: 2,
386
+ class: "top-changer top-changer-selector",
387
+ onClick: L(V, ["stop"])
388
+ })) : C("", !0)
389
+ ], 2)
390
+ ]),
391
+ widget: S(() => [
392
+ H(M(ie), {
393
+ title: "Поиск",
394
+ icon: "",
395
+ modelValue: o.value,
396
+ "onUpdate:modelValue": u[0] || (u[0] = (a) => o.value = a),
397
+ isLoading: n.value,
398
+ placeholder: !Array.isArray(e.value) && !t.multiselect && t.showSelectedInInput ? e.value.name : t.placeholder
399
+ }, null, 8, ["modelValue", "isLoading", "placeholder"])
400
+ ]),
401
+ contentList: S(() => [
402
+ (c(!0), v(O, null, G(h.value, (a) => (c(), B(M(R), {
403
+ class: I({
404
+ "top-active": !Array.isArray(e.value) && !t.multiselect && e.value.name === a.name
405
+ }),
406
+ key: a.id ?? void 0,
407
+ onClick: L((b) => l(a), ["stop"])
408
+ }, {
409
+ default: S(() => [
410
+ t.$slots.item ? te(t.$slots, "item", {
411
+ key: 0,
412
+ item: a
413
+ }) : (c(), v(O, { key: 1 }, [
414
+ E(T(a.name), 1)
415
+ ], 64))
416
+ ]),
417
+ _: 2
418
+ }, 1032, ["class", "onClick"]))), 128)),
419
+ !n.value && !h.value.length ? (c(), B(M(R), {
420
+ key: 0,
421
+ type: "regular"
422
+ }, {
423
+ default: S(() => [
424
+ E(T(t.$i18n.Common.No_results), 1)
425
+ ]),
426
+ _: 1
427
+ })) : C("", !0)
465
428
  ]),
466
- a.$slots.additional ? (p(), v("span", Ie, [
467
- H(a.$slots, "additional")
468
- ])) : A("", !0)
469
- ], 10, $e));
429
+ _: 3
430
+ }, 512));
470
431
  }
471
- }), Oe = me, Ne = ve, ze = be, Ge = ke, De = pe, He = Be;
432
+ }), Ee = ce, Ke = fe, Pe = be, Me = we, Oe = de;
472
433
  export {
473
- Oe as TopEditArea,
474
- Ne as TopEditInput,
475
- He as TopInfo,
476
- De as TopMenu,
477
- ze as TopRadioGroup,
478
- Ge as TopSelector2
434
+ Ee as TopEditArea,
435
+ Ke as TopEditInput,
436
+ Oe as TopMenu,
437
+ Pe as TopRadioGroup,
438
+ Me as TopSelector2
479
439
  };
480
440
  //# sourceMappingURL=formsExt.js.map