@topvisor/ui 1.0.41-dialog.1 → 1.0.42-date.2

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 (120) hide show
  1. package/.chunks/{core-D2o3elGA.amd.js → core-BDx1sI2y.amd.js} +2 -2
  2. package/.chunks/{core-D2o3elGA.amd.js.map → core-BDx1sI2y.amd.js.map} +1 -1
  3. package/.chunks/{core-CwjGTMhd.es.js → core-CTWfwyjq.es.js} +4 -4
  4. package/.chunks/{core-CwjGTMhd.es.js.map → core-CTWfwyjq.es.js.map} +1 -1
  5. package/.chunks/{datepicker-Byyye2pn.amd.js → datepicker-Esxy0UQA.amd.js} +2 -2
  6. package/.chunks/{datepicker-Byyye2pn.amd.js.map → datepicker-Esxy0UQA.amd.js.map} +1 -1
  7. package/.chunks/{datepicker-N83oX3hx.es.js → datepicker-iaUT_eSc.es.js} +2 -2
  8. package/.chunks/{datepicker-N83oX3hx.es.js.map → datepicker-iaUT_eSc.es.js.map} +1 -1
  9. package/.chunks/{dialog_selectorRegions-lYV2SJBx.es.js → dialog_selectorRegions-B-4xalwM.es.js} +4 -4
  10. package/.chunks/{dialog_selectorRegions-lYV2SJBx.es.js.map → dialog_selectorRegions-B-4xalwM.es.js.map} +1 -1
  11. package/.chunks/{dialog_selectorRegions-pDIYvl7b.amd.js → dialog_selectorRegions-C7tvNWJk.amd.js} +2 -2
  12. package/.chunks/{dialog_selectorRegions-pDIYvl7b.amd.js.map → dialog_selectorRegions-C7tvNWJk.amd.js.map} +1 -1
  13. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-CqYKaqcT.amd.js +2 -0
  14. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-CqYKaqcT.amd.js.map +1 -0
  15. package/.chunks/{dialogs.vue_vue_type_script_setup_true_lang-X3S_WcSV.es.js → dialogs.vue_vue_type_script_setup_true_lang-DBzDS_l7.es.js} +120 -104
  16. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-DBzDS_l7.es.js.map +1 -0
  17. package/.chunks/{forms-C-fyoosd.es.js → forms-BZlFXc5U.es.js} +451 -438
  18. package/.chunks/{forms-C-fyoosd.es.js.map → forms-BZlFXc5U.es.js.map} +1 -1
  19. package/.chunks/forms-DMI0BqCj.amd.js +3 -0
  20. package/.chunks/{forms-DO87ZZk9.amd.js.map → forms-DMI0BqCj.amd.js.map} +1 -1
  21. package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-DDQSxC8E.amd.js → listItem.vue_vue_type_script_setup_true_lang-CACzwZ0A.amd.js} +2 -2
  22. package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-DDQSxC8E.amd.js.map → listItem.vue_vue_type_script_setup_true_lang-CACzwZ0A.amd.js.map} +1 -1
  23. package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-BJTTvdc7.es.js → listItem.vue_vue_type_script_setup_true_lang-KxTfgv5Z.es.js} +2 -2
  24. package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-BJTTvdc7.es.js.map → listItem.vue_vue_type_script_setup_true_lang-KxTfgv5Z.es.js.map} +1 -1
  25. package/.chunks/{menu.vue_vue_type_style_index_0_lang-Bi9Z81pC.es.js → menu.vue_vue_type_style_index_0_lang-BMpVs3Du.es.js} +2 -2
  26. package/.chunks/{menu.vue_vue_type_style_index_0_lang-Bi9Z81pC.es.js.map → menu.vue_vue_type_style_index_0_lang-BMpVs3Du.es.js.map} +1 -1
  27. package/.chunks/{menu.vue_vue_type_style_index_0_lang-7eYwnVLw.amd.js → menu.vue_vue_type_style_index_0_lang-CIdaxq15.amd.js} +2 -2
  28. package/.chunks/{menu.vue_vue_type_style_index_0_lang-7eYwnVLw.amd.js.map → menu.vue_vue_type_style_index_0_lang-CIdaxq15.amd.js.map} +1 -1
  29. package/.chunks/{notice-DCONQ8rR.es.js → notice-C0QQCxdI.es.js} +2 -2
  30. package/.chunks/{notice-DCONQ8rR.es.js.map → notice-C0QQCxdI.es.js.map} +1 -1
  31. package/.chunks/{notice-B8nfJMJN.amd.js → notice-ULAk8EKs.amd.js} +2 -2
  32. package/.chunks/{notice-B8nfJMJN.amd.js.map → notice-ULAk8EKs.amd.js.map} +1 -1
  33. package/.chunks/{page.vue_vue_type_script_setup_true_lang-Dze2ZUr3.es.js → page.vue_vue_type_script_setup_true_lang-BjGqYm-r.es.js} +4 -4
  34. package/.chunks/page.vue_vue_type_script_setup_true_lang-BjGqYm-r.es.js.map +1 -0
  35. package/.chunks/{page.vue_vue_type_script_setup_true_lang-Cg3dLy7K.amd.js → page.vue_vue_type_script_setup_true_lang-f557_PUb.amd.js} +2 -2
  36. package/.chunks/page.vue_vue_type_script_setup_true_lang-f557_PUb.amd.js.map +1 -0
  37. package/.chunks/{popup-XXfdNLmr.amd.js → popup-BDm3_TJy.amd.js} +2 -2
  38. package/.chunks/{popup-XXfdNLmr.amd.js.map → popup-BDm3_TJy.amd.js.map} +1 -1
  39. package/.chunks/{popup-PpCQY5Zi.es.js → popup-Cl0Rac26.es.js} +2 -2
  40. package/.chunks/{popup-PpCQY5Zi.es.js.map → popup-Cl0Rac26.es.js.map} +1 -1
  41. package/.chunks/utils-BV1bu3yj.amd.js +2 -0
  42. package/.chunks/utils-BV1bu3yj.amd.js.map +1 -0
  43. package/.chunks/{utils-BcKnFj1j.es.js → utils-BfXpHkpA.es.js} +244 -167
  44. package/.chunks/utils-BfXpHkpA.es.js.map +1 -0
  45. package/.chunks/{utils-DAIrXU57.amd.js → utils-C4bTrMJX.amd.js} +2 -2
  46. package/.chunks/{utils-DAIrXU57.amd.js.map → utils-C4bTrMJX.amd.js.map} +1 -1
  47. package/.chunks/{utils-DsICGMuv.es.js → utils-D9KqMkio.es.js} +2 -2
  48. package/.chunks/{utils-DsICGMuv.es.js.map → utils-D9KqMkio.es.js.map} +1 -1
  49. package/assets/formsExt.css +1 -1
  50. package/assets/notice.css +1 -1
  51. package/charts/charts.amd.js +1 -1
  52. package/charts/charts.js +1 -1
  53. package/components/dialog/dialog/dialogs/dialogs.vue.d.ts +3 -0
  54. package/components/dialog/lib/types.d.ts +23 -0
  55. package/components/dialog/lib/utils.d.ts +8 -8
  56. package/components/dialog/lib/utils.globalEvents.d.ts +2 -2
  57. package/components/dialog/lib/worker.d.ts +12 -11
  58. package/components/formsExt/selector2/composables/useMenu.d.ts +2 -0
  59. package/components/formsExt/selector2/selector2.vue.d.ts +5 -180
  60. package/components/formsExt/selector2/types.d.ts +17 -8
  61. package/core/app.amd.js +1 -1
  62. package/core/app.js +5 -5
  63. package/core/core/core.d.ts +1 -1
  64. package/core/core/options.d.ts +7 -6
  65. package/core/core/state.d.ts +1 -1
  66. package/core/plugins/core.d.ts +1 -1
  67. package/core/utils/date.d.ts +29 -12
  68. package/core/utils/dom.d.ts +1 -1
  69. package/dialog/dialog.amd.js +1 -1
  70. package/dialog/dialog.js +2 -2
  71. package/forms/forms.amd.js +1 -1
  72. package/forms/forms.js +1 -1
  73. package/formsExt/formsExt.amd.js +1 -1
  74. package/formsExt/formsExt.amd.js.map +1 -1
  75. package/formsExt/formsExt.js +263 -258
  76. package/formsExt/formsExt.js.map +1 -1
  77. package/icomoon/Topvisor icons.json +234 -211
  78. package/icomoon/demo.html +15 -1
  79. package/icomoon/fonts/Topvisor-2.eot +0 -0
  80. package/icomoon/fonts/Topvisor-2.svg +1 -0
  81. package/icomoon/fonts/Topvisor-2.ttf +0 -0
  82. package/icomoon/fonts/Topvisor-2.woff +0 -0
  83. package/icomoon/selection.json +1 -1
  84. package/icomoon/style.css +8 -5
  85. package/layout/layout.amd.js +1 -1
  86. package/layout/layout.js +1 -1
  87. package/package.json +1 -1
  88. package/popup/popup.amd.js +1 -1
  89. package/popup/popup.js +2 -2
  90. package/popup/worker.amd.js +1 -1
  91. package/popup/worker.js +2 -2
  92. package/project/project.amd.js +1 -1
  93. package/project/project.js +5 -5
  94. package/tabsView/tabsView.amd.js +1 -1
  95. package/tabsView/tabsView.js +1 -1
  96. package/utils/clipboard.amd.js +1 -1
  97. package/utils/clipboard.js +1 -1
  98. package/utils/date.amd.js +1 -1
  99. package/utils/date.js +4 -3
  100. package/utils/device.amd.js +1 -1
  101. package/utils/device.js +1 -1
  102. package/utils/dom.amd.js.map +1 -1
  103. package/utils/dom.js.map +1 -1
  104. package/utils/lodash.amd.js +1 -1
  105. package/utils/lodash.js +1 -1
  106. package/utils/price.amd.js +1 -1
  107. package/utils/price.js +1 -1
  108. package/utils/searchers.amd.js +1 -1
  109. package/utils/searchers.js +3 -3
  110. package/utils/string.amd.js +1 -1
  111. package/utils/string.js +1 -1
  112. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-B14m3p7q.amd.js +0 -2
  113. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-B14m3p7q.amd.js.map +0 -1
  114. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-X3S_WcSV.es.js.map +0 -1
  115. package/.chunks/forms-DO87ZZk9.amd.js +0 -3
  116. package/.chunks/page.vue_vue_type_script_setup_true_lang-Cg3dLy7K.amd.js.map +0 -1
  117. package/.chunks/page.vue_vue_type_script_setup_true_lang-Dze2ZUr3.es.js.map +0 -1
  118. package/.chunks/utils-BcKnFj1j.es.js.map +0 -1
  119. package/.chunks/utils-pvFg1FqE.amd.js +0 -2
  120. package/.chunks/utils-pvFg1FqE.amd.js.map +0 -1
@@ -1,10 +1,10 @@
1
1
  import { Core as Y } from "../core/app.js";
2
- import { defineComponent as B, ref as w, computed as F, createElementBlock as f, openBlock as p, normalizeClass as C, createCommentVNode as k, createElementVNode as I, toDisplayString as $, createVNode as P, withKeys as L, withModifiers as M, createBlock as A, createSlots as N, withCtx as V, createTextVNode as S, watch as E, toRef as z, mergeProps as W, mergeModels as R, useModel as U, Fragment as _, renderList as G, withDirectives as X, vModelRadio as Q, resolveDirective as Z, unref as b, renderSlot as D } from "vue";
3
- import { w as q, _ as H, f as x, d as ee, u as oe, C as te, x as le } from "../.chunks/forms-C-fyoosd.es.js";
4
- import { TopPopup as se, TopPopupListItem as O, TopPopupWidgetInput as ae } from "../popup/popup.js";
2
+ import { defineComponent as B, ref as w, computed as S, createElementBlock as f, openBlock as p, normalizeClass as C, createCommentVNode as k, createElementVNode as L, toDisplayString as V, createVNode as G, withKeys as E, withModifiers as z, createBlock as $, createSlots as O, withCtx as A, createTextVNode as I, watch as M, toRef as P, mergeProps as W, mergeModels as H, useModel as U, Fragment as _, renderList as K, withDirectives as J, vModelRadio as Q, resolveDirective as Z, unref as h, renderSlot as D, resolveDynamicComponent as q } from "vue";
3
+ import { w as x, _ as F, f as ee, d as te, u as oe, C as X, x as le } from "../.chunks/forms-BZlFXc5U.es.js";
4
+ import { TopPopup as se, TopPopupListItem as N, TopPopupWidgetInput as ae } from "../popup/popup.js";
5
5
  import { invertKeyboardLayout as re } from "../utils/keyboard.js";
6
- import { _ as ne } from "../.chunks/menu.vue_vue_type_style_index_0_lang-Bi9Z81pC.es.js";
7
- const j = ["../assets/formsExt.css"].map((s) => import.meta.resolve(s));
6
+ import { _ as ne } from "../.chunks/menu.vue_vue_type_style_index_0_lang-BMpVs3Du.es.js";
7
+ const j = ["../assets/formsExt.css"].map((l) => import.meta.resolve(l));
8
8
  Y.insertCSSLinkToPage(j, !0);
9
9
  const ie = { class: "top-editArea_footer" }, ue = /* @__PURE__ */ B({
10
10
  __name: "editArea",
@@ -31,83 +31,83 @@ const ie = { class: "top-editArea_footer" }, ue = /* @__PURE__ */ B({
31
31
  maxLength: {}
32
32
  },
33
33
  emits: ["submit", "close", "clickOnTitle"],
34
- setup(s, { emit: o }) {
35
- const e = s, a = o, n = w(e.defaultValue), t = w(e.isFocused), d = F(() => n.value !== e.defaultValue), c = (i) => {
36
- a("submit", i), n.value = e.defaultValue;
37
- }, y = () => {
38
- if (e.forceShowCloseBtn && !d.value) {
34
+ setup(l, { emit: e }) {
35
+ const s = l, a = e, r = w(s.defaultValue), t = w(s.isFocused), d = S(() => r.value !== s.defaultValue), c = (n) => {
36
+ a("submit", n), r.value = s.defaultValue;
37
+ }, v = () => {
38
+ if (s.forceShowCloseBtn && !d.value) {
39
39
  a("close");
40
40
  return;
41
41
  }
42
- n.value = e.defaultValue;
43
- }, g = () => {
44
- e.attachToKeyboard && a("clickOnTitle");
42
+ r.value = s.defaultValue;
43
+ }, T = () => {
44
+ s.attachToKeyboard && a("clickOnTitle");
45
45
  };
46
- return (i, m) => (p(), f("div", {
46
+ return (n, b) => (p(), f("div", {
47
47
  class: C({
48
48
  "top-editArea": !0,
49
- "top-editArea-attachedToKeyboard": i.attachToKeyboard
49
+ "top-editArea-attachedToKeyboard": n.attachToKeyboard
50
50
  })
51
51
  }, [
52
- i.title ? (p(), f("div", {
52
+ n.title ? (p(), f("div", {
53
53
  key: 0,
54
54
  class: "top-editArea_title",
55
- onClick: m[0] || (m[0] = (r) => g())
56
- }, $(i.title), 1)) : k("", !0),
57
- I("div", {
55
+ onClick: b[0] || (b[0] = (u) => T())
56
+ }, V(n.title), 1)) : k("", !0),
57
+ L("div", {
58
58
  class: C({
59
59
  "top-editArea_form": !0,
60
- "top-error": i.isError,
60
+ "top-error": n.isError,
61
61
  "top-focus": t.value
62
62
  })
63
63
  }, [
64
- P(q, {
65
- modelValue: n.value,
66
- "onUpdate:modelValue": m[1] || (m[1] = (r) => n.value = r),
67
- name: i.name,
68
- placeholder: i.placeholder,
69
- rows: i.rows,
70
- minHeight: i.minHeight,
71
- expandable: i.expandable,
72
- disabled: i.disabled,
73
- readonly: i.readonly,
74
- isError: i.isError,
75
- hint: i.hint,
64
+ G(x, {
65
+ modelValue: r.value,
66
+ "onUpdate:modelValue": b[1] || (b[1] = (u) => r.value = u),
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
76
  class: "top-editArea_element",
77
- onFocus: m[2] || (m[2] = () => t.value = !0),
78
- onBlur: m[3] || (m[3] = () => t.value = !1),
77
+ onFocus: b[2] || (b[2] = () => t.value = !0),
78
+ onBlur: b[3] || (b[3] = () => t.value = !1),
79
79
  onKeyup: [
80
- L(y, ["esc"]),
81
- m[4] || (m[4] = L(M((r) => c(n.value), ["ctrl"]), ["enter"]))
80
+ E(v, ["esc"]),
81
+ b[4] || (b[4] = E(z((u) => c(r.value), ["ctrl"]), ["enter"]))
82
82
  ]
83
83
  }, null, 8, ["modelValue", "name", "placeholder", "rows", "minHeight", "expandable", "disabled", "readonly", "isError", "hint"]),
84
- I("div", ie, [
85
- d.value || i.forceShowCloseBtn ? (p(), A(H, {
84
+ L("div", ie, [
85
+ d.value || n.forceShowCloseBtn ? (p(), $(F, {
86
86
  key: 0,
87
- icon: i.$core.state.isMobile ? "" : "",
87
+ icon: n.$core.state.isMobile ? "" : "",
88
88
  class: "top-editArea_button",
89
89
  color: "theme",
90
90
  styling: "soft",
91
- onClick: y
92
- }, N({ _: 2 }, [
93
- i.$core.state.isMobile ? void 0 : {
91
+ onClick: v
92
+ }, O({ _: 2 }, [
93
+ n.$core.state.isMobile ? void 0 : {
94
94
  name: "default",
95
- fn: V(() => [
96
- S($(i.cancelText), 1)
95
+ fn: A(() => [
96
+ I(V(n.cancelText), 1)
97
97
  ]),
98
98
  key: "0"
99
99
  }
100
100
  ]), 1032, ["icon"])) : k("", !0),
101
- d.value ? (p(), A(H, {
101
+ d.value ? (p(), $(F, {
102
102
  key: 1,
103
103
  class: "top-editArea_button",
104
- icon: i.$core.state.isMobile ? "" : "",
105
- onClick: m[5] || (m[5] = (r) => c(n.value))
106
- }, N({ _: 2 }, [
107
- i.$core.state.isMobile ? void 0 : {
104
+ icon: n.$core.state.isMobile ? "" : "",
105
+ onClick: b[5] || (b[5] = (u) => c(r.value))
106
+ }, O({ _: 2 }, [
107
+ n.$core.state.isMobile ? void 0 : {
108
108
  name: "default",
109
- fn: V(() => [
110
- S($(i.submitText), 1)
109
+ fn: A(() => [
110
+ I(V(n.submitText), 1)
111
111
  ]),
112
112
  key: "0"
113
113
  }
@@ -124,22 +124,22 @@ const ie = { class: "top-editArea_footer" }, ue = /* @__PURE__ */ B({
124
124
  button: {}
125
125
  },
126
126
  emits: ["update:modelValue"],
127
- setup(s, { emit: o }) {
128
- const e = s, a = w(e.modelValue);
129
- E(z(e.modelValue), () => {
130
- a.value = e.modelValue;
127
+ setup(l, { emit: e }) {
128
+ const s = l, a = w(s.modelValue);
129
+ M(P(s.modelValue), () => {
130
+ a.value = s.modelValue;
131
131
  });
132
- const n = o, t = () => {
133
- n("update:modelValue", a.value);
132
+ const r = e, t = () => {
133
+ r("update:modelValue", a.value);
134
134
  };
135
135
  return (d, c) => (p(), f("div", de, [
136
- P(x, W(d.input, {
137
- onKeydownCapture: c[0] || (c[0] = L(M((y) => a.value = d.modelValue, ["stop"]), ["esc"])),
138
- onKeydown: L(M(t, ["stop"]), ["enter"]),
136
+ G(ee, W(d.input, {
137
+ onKeydownCapture: c[0] || (c[0] = E(z((v) => a.value = d.modelValue, ["stop"]), ["esc"])),
138
+ onKeydown: E(z(t, ["stop"]), ["enter"]),
139
139
  modelValue: a.value,
140
- "onUpdate:modelValue": c[1] || (c[1] = (y) => a.value = y)
140
+ "onUpdate:modelValue": c[1] || (c[1] = (v) => a.value = v)
141
141
  }), null, 16, ["onKeydown", "modelValue"]),
142
- a.value !== d.modelValue ? (p(), A(H, W({
142
+ a.value !== d.modelValue ? (p(), $(F, W({
143
143
  key: 0,
144
144
  icon: "",
145
145
  styling: "soft"
@@ -151,7 +151,7 @@ const ie = { class: "top-editArea_footer" }, ue = /* @__PURE__ */ B({
151
151
  class: "top-radioGroup_circle"
152
152
  }, fe = ["value", "disabled"], ve = /* @__PURE__ */ B({
153
153
  __name: "radioGroup",
154
- props: /* @__PURE__ */ R({
154
+ props: /* @__PURE__ */ H({
155
155
  modelValue: {},
156
156
  radiosProps: {},
157
157
  showIndicator: { type: Boolean },
@@ -164,13 +164,13 @@ const ie = { class: "top-editArea_footer" }, ue = /* @__PURE__ */ B({
164
164
  modelModifiers: {}
165
165
  }),
166
166
  emits: ["update:modelValue"],
167
- setup(s) {
168
- const o = U(s, "modelValue"), e = s, a = w(null);
169
- E(o, () => {
170
- var t, d, c, y, g;
171
- (t = e.radiosProps) != null && t.some((i) => i.value === o.value) || (o.value = ((c = (d = e.radiosProps) == null ? void 0 : d[0]) == null ? void 0 : c.value) ?? ""), (g = (y = a.value) == null ? void 0 : y.querySelector(".radioGroup_item-selected")) == null || g.scrollIntoView();
167
+ setup(l) {
168
+ const e = U(l, "modelValue"), s = l, a = w(null);
169
+ M(e, () => {
170
+ var t, d, c, v, T;
171
+ (t = s.radiosProps) != null && t.some((n) => n.value === e.value) || (e.value = ((c = (d = s.radiosProps) == null ? void 0 : d[0]) == null ? void 0 : c.value) ?? ""), (T = (v = a.value) == null ? void 0 : v.querySelector(".radioGroup_item-selected")) == null || T.scrollIntoView();
172
172
  }, { immediate: !0 });
173
- const n = "radioGroup-" + Math.random();
173
+ const r = "radioGroup-" + Math.random();
174
174
  return (t, d) => (p(), f("div", {
175
175
  ref_key: "elRef",
176
176
  ref: a,
@@ -181,21 +181,21 @@ const ie = { class: "top-editArea_footer" }, ue = /* @__PURE__ */ B({
181
181
  "top-error": t.isError
182
182
  })
183
183
  }, [
184
- (p(!0), f(_, null, G(t.radiosProps, (c) => (p(), f("label", {
184
+ (p(!0), f(_, null, K(t.radiosProps, (c) => (p(), f("label", {
185
185
  class: C({
186
- "top-radioGroup_item-selected": c.value === o.value,
186
+ "top-radioGroup_item-selected": c.value === e.value,
187
187
  "top-radioGroup_item": !0,
188
188
  "top-forms-focusable": !0,
189
189
  "top-disabled": c.disabled
190
190
  }),
191
191
  "data-top-icon": c.icon,
192
- onClick: (y) => o.value = c.value
192
+ onClick: (v) => e.value = c.value
193
193
  }, [
194
- S($(c.title) + " ", 1),
194
+ I(V(c.title) + " ", 1),
195
195
  t.showIndicator ? (p(), f("span", me)) : k("", !0),
196
- X(I("input", {
197
- "onUpdate:modelValue": d[0] || (d[0] = (y) => o.value = y),
198
- name: n,
196
+ J(L("input", {
197
+ "onUpdate:modelValue": d[0] || (d[0] = (v) => e.value = v),
198
+ name: r,
199
199
  type: "radio",
200
200
  class: C({
201
201
  "top-unvisible": !0
@@ -203,14 +203,14 @@ const ie = { class: "top-editArea_footer" }, ue = /* @__PURE__ */ B({
203
203
  value: c.value,
204
204
  disabled: c.disabled
205
205
  }, null, 8, fe), [
206
- [Q, o.value]
206
+ [Q, e.value]
207
207
  ])
208
208
  ], 10, ce))), 256))
209
209
  ], 2));
210
210
  }
211
211
  }), ye = ["data-top-icon"], he = ["value", "checked", "disabled", "onChange"], be = /* @__PURE__ */ B({
212
212
  __name: "checkboxGroup",
213
- props: /* @__PURE__ */ R({
213
+ props: /* @__PURE__ */ H({
214
214
  modelValue: {},
215
215
  items: {},
216
216
  size: { default: "s" },
@@ -223,12 +223,12 @@ const ie = { class: "top-editArea_footer" }, ue = /* @__PURE__ */ B({
223
223
  modelModifiers: {}
224
224
  }),
225
225
  emits: ["update:modelValue"],
226
- setup(s) {
227
- const o = U(s, "modelValue"), e = (a) => {
228
- const n = [...o.value], t = n.indexOf(a);
229
- t === -1 ? n.push(a) : n.splice(t, 1), o.value = n;
226
+ setup(l) {
227
+ const e = U(l, "modelValue"), s = (a) => {
228
+ const r = [...e.value], t = r.indexOf(a);
229
+ t === -1 ? r.push(a) : r.splice(t, 1), e.value = r;
230
230
  };
231
- return (a, n) => (p(), f("div", {
231
+ return (a, r) => (p(), f("div", {
232
232
  class: C({
233
233
  "top-checkboxGroup": !0,
234
234
  ["top-checkboxGroup-" + a.styling]: !0,
@@ -237,126 +237,136 @@ const ie = { class: "top-editArea_footer" }, ue = /* @__PURE__ */ B({
237
237
  "top-error": a.isError
238
238
  })
239
239
  }, [
240
- (p(!0), f(_, null, G(a.items, (t) => (p(), f("label", {
240
+ (p(!0), f(_, null, K(a.items, (t) => (p(), f("label", {
241
241
  key: t.id,
242
242
  class: C({
243
243
  "top-checkboxGroup_item": !0,
244
- "top-checkboxGroup_item-selected": o.value.includes(t.id),
244
+ "top-checkboxGroup_item-selected": e.value.includes(t.id),
245
245
  "top-forms-focusable": !0,
246
246
  "top-disabled": t.disabled
247
247
  }),
248
248
  "data-top-icon": t.icon
249
249
  }, [
250
- I("input", {
250
+ L("input", {
251
251
  type: "checkbox",
252
252
  class: "top-unvisible",
253
253
  value: t.id,
254
- checked: o.value.includes(t.id),
254
+ checked: e.value.includes(t.id),
255
255
  disabled: t.disabled,
256
- onChange: (d) => e(t.id)
256
+ onChange: (d) => s(t.id)
257
257
  }, null, 40, he),
258
- S(" " + $(t.title), 1)
258
+ I(" " + V(t.title), 1)
259
259
  ], 10, ye))), 128))
260
260
  ], 2));
261
261
  }
262
- }), ge = { class: "top-selector2_itemMulti top-ellipsis" }, ke = /* @__PURE__ */ B({
262
+ }), ge = { class: "top-selector2_itemMulti top-ellipsis" }, Te = /* @__PURE__ */ B({
263
263
  __name: "itemMulti",
264
264
  props: {
265
265
  id: {},
266
266
  name: {}
267
267
  },
268
268
  emits: ["delete"],
269
- setup(s) {
270
- return (o, e) => (p(), f("div", ge, [
271
- S($(o.name) + " ", 1),
272
- I("span", {
269
+ setup(l) {
270
+ return (e, s) => (p(), f("div", ge, [
271
+ I(V(e.name) + " ", 1),
272
+ L("span", {
273
273
  class: "top-selector2_itemMultiDelete",
274
274
  "data-top-icon": "",
275
- onClick: e[0] || (e[0] = (a) => o.$emit("delete", o.id)),
276
- onMousedown: e[1] || (e[1] = M(() => {
275
+ onClick: s[0] || (s[0] = (a) => e.$emit("delete", e.id)),
276
+ onMousedown: s[1] || (s[1] = z(() => {
277
277
  }, ["stop"]))
278
278
  }, null, 32)
279
279
  ]));
280
280
  }
281
- }), we = (s, o, e) => {
282
- const a = w([]), n = w(!1);
281
+ }), ke = (l, e, s) => {
282
+ const a = w([]), r = w(!1);
283
283
  let t = "", d;
284
- s && !s.params.limit && (s.params.limit = 100);
284
+ l && !l.params.limit && (l.params.limit = 100);
285
285
  const c = async () => {
286
- if (!s) return;
287
- let r, v;
288
- if (e && (s.cache ??= /* @__PURE__ */ new Map(), v = JSON.stringify(s.params), r = s.cache.get(v), r))
289
- return r;
290
- if (n.value = !0, r = await s.call(), n.value = !1, r.errors) return;
291
- if (!Array.isArray(r.result)) {
286
+ if (!l) return;
287
+ let u, o;
288
+ if (s && (l.cache ??= /* @__PURE__ */ new Map(), o = JSON.stringify(l.params), u = l.cache.get(o), u))
289
+ return u;
290
+ if (r.value = !0, u = await l.call(), r.value = !1, u.errors) return;
291
+ if (!Array.isArray(u.result)) {
292
292
  console.warn("В result ожидался массив");
293
293
  return;
294
294
  }
295
- const l = r.result.findIndex((u) => u.id === void 0 || u.name === void 0);
296
- if (l !== -1) {
297
- console.warn(`В result[${l}] нет id или name`);
295
+ const i = u.result.findIndex((y) => y.id === void 0 || y.name === void 0);
296
+ if (i !== -1) {
297
+ console.warn(`В result[${i}] нет id или name`);
298
298
  return;
299
299
  }
300
- return e && s.cache.set(v, r), r;
301
- }, y = async () => {
302
- if (!s) return;
303
- s.params.offset = 0, s.params.search = t;
304
- const r = await c();
305
- r && (d = r.nextOffset, a.value = r.result);
306
- }, g = async () => {
307
- if (!s || !d || n.value) return;
308
- s.params.offset = d, s.params.search = t;
309
- const r = await c();
310
- r && (d = r.nextOffset, a.value = a.value.concat(r.result));
311
- }, i = ee(() => y(), 200);
300
+ return s && l.cache.set(o, u), u;
301
+ }, v = async () => {
302
+ if (!l) return;
303
+ l.params.offset = 0, l.params.search = t;
304
+ const u = await c();
305
+ u && (d = u.nextOffset, a.value = u.result);
306
+ }, T = async () => {
307
+ if (!l || !d || r.value) return;
308
+ l.params.offset = d, l.params.search = t;
309
+ const u = await c();
310
+ u && (d = u.nextOffset, a.value = a.value.concat(u.result));
311
+ }, n = te(() => v(), 200);
312
312
  return {
313
- apiRequest: s,
313
+ apiRequest: l,
314
314
  items: a,
315
- isLoading: n,
316
- loadAppend: g,
317
- setSearchTextAndLoad: (r, v = !0) => {
318
- s && (r.length < o || r === t && a.value.length || (t = r, v ? i() : y()));
315
+ isLoading: r,
316
+ loadAppend: T,
317
+ setSearchTextAndLoad: (u, o = !0) => {
318
+ l && (u.length < e || u === t && a.value.length || (t = u, o ? n() : v()));
319
319
  }
320
320
  };
321
- }, Ce = 0, J = (s, o, e = !0) => e && o.id === null ? Array.isArray(s) ? s.some((a) => a.id === o.id && a.name === o.name) : o.name === s.name : Array.isArray(s) ? s.some((a) => a.id === o.id) : o.id === s.id, $e = (s, o, e, a, n, t) => {
321
+ }, Ce = 0, R = (l, e, s = !0) => s && e.id === null ? Array.isArray(l) ? l.some((a) => a.id === e.id && a.name === e.name) : e.name === l.name : Array.isArray(l) ? l.some((a) => a.id === e.id) : e.id === l.id, Ae = (l, e, s, a, r, t) => {
322
322
  const d = w(""), c = {
323
323
  id: Ce,
324
324
  name: oe().Common.All
325
- }, y = () => {
325
+ }, v = () => {
326
326
  d.value = "", t.items.value = [];
327
- }, g = F(() => {
328
- var r;
329
- const m = [];
330
- return !e && a.value && m.push(c), (r = o.value) == null || r.forEach((v) => m.push({ ...v })), m;
331
- }), i = F(() => {
332
- const m = d.value.toLowerCase(), r = re(m);
333
- let v = [];
334
- return g.value.forEach((l) => {
335
- const u = l.name.toLowerCase();
336
- (l.id === Number(m) || u.includes(m) || u.includes(r)) && (u === m || u === r ? v.unshift(l) : v.push(l));
337
- }), v.push(...t.items.value), n.value && d.value && (!v.length || v[0].name.toLowerCase() !== m) && v.push({
327
+ }, T = S(() => {
328
+ var i;
329
+ const o = [];
330
+ return !s && a.value && o.push(c), (i = e.value) == null || i.forEach((y) => o.push({ ...y })), o;
331
+ }), n = S(() => {
332
+ const o = d.value.toLowerCase(), i = re(o);
333
+ let y = [];
334
+ return T.value.forEach((m) => {
335
+ const g = m.name.toLowerCase();
336
+ (m.id === Number(o) || g.includes(o) || g.includes(i)) && (g === o || g === i ? y.unshift(m) : y.push(m));
337
+ }), y.push(...t.items.value), r.value && d.value && (!y.length || y[0].name.toLowerCase() !== o) && y.push({
338
338
  id: null,
339
339
  name: d.value
340
- }), e && (v = v.filter((l) => !J(s.value, l))), v;
340
+ }), s && (y = y.filter((m) => !R(l.value, m))), y;
341
341
  });
342
342
  return {
343
343
  searchText: d,
344
- resetSearch: y,
345
- items: g,
346
- itemsForShow: i
344
+ resetSearch: v,
345
+ items: T,
346
+ itemsForShow: n,
347
+ selectNextItem: () => {
348
+ if (!Array.isArray(l.value)) {
349
+ const i = (n.value.findIndex((y) => y.id === l.value.id) + 1) % n.value.length;
350
+ l.value = { ...n.value[i] };
351
+ }
352
+ },
353
+ deleteItemById: async (o) => {
354
+ Array.isArray(l.value) && (l.value = l.value.filter((i) => i.id !== o));
355
+ }
347
356
  };
348
- }, Te = {
357
+ }, $e = {
349
358
  key: 0,
350
359
  class: "top-selector2_activeItems"
351
360
  }, Ve = {
352
361
  key: 1,
353
362
  class: "top-selector2_activeName top-ellipsis"
354
- }, Ae = /* @__PURE__ */ B({
363
+ }, we = /* @__PURE__ */ B({
355
364
  __name: "selector2",
356
- props: /* @__PURE__ */ R({
365
+ props: /* @__PURE__ */ H({
357
366
  modelValue: {},
358
367
  items: { default: () => [] },
359
368
  multiselect: { type: Boolean },
369
+ title: {},
360
370
  disabled: { type: Boolean },
361
371
  size: { default: "s" },
362
372
  isError: { type: Boolean },
@@ -366,135 +376,130 @@ const ie = { class: "top-editArea_footer" }, ue = /* @__PURE__ */ B({
366
376
  appendSearchToResult: { type: Boolean },
367
377
  appendAllValue: { type: Boolean },
368
378
  addChanger: { type: Boolean },
379
+ searchType: { default: "popup" },
369
380
  placeholder: {},
370
- showSelectedInInput: { type: Boolean, default: !0 },
371
- showSearch: { type: Boolean, default: !0 }
381
+ selectedAsPlaceholder: { type: Boolean, default: !0 }
372
382
  }, {
373
383
  modelValue: { required: !0 },
374
384
  modelModifiers: {}
375
385
  }),
376
386
  emits: ["update:modelValue"],
377
- setup(s) {
378
- const o = s, e = U(s, "modelValue"), a = w(null), n = we(o.apiRequest, o.minLength || 0, o.useCache), t = $e(e, z(o, "items"), o.multiselect, z(o, "appendAllValue"), z(o, "appendSearchToResult"), n), d = w(null), c = () => {
379
- var l;
380
- return (l = d.value) == null ? void 0 : l.popup;
381
- }, y = () => {
382
- if (!Array.isArray(e.value)) {
383
- const u = (t.itemsForShow.value.findIndex((K) => K.id === e.value.id) + 1) % t.itemsForShow.value.length;
384
- e.value = { ...t.itemsForShow.value[u] };
385
- }
386
- }, g = async (l) => {
387
- Array.isArray(e.value) && (e.value = e.value.filter((u) => u.id !== l), setTimeout(() => {
388
- var u;
389
- (u = c()) == null || u.recalcPosition();
390
- }));
391
- }, i = w(!1);
392
- n.apiRequest && (E(i, () => {
393
- i.value && n.setSearchTextAndLoad(t.searchText.value, !1);
394
- }), E(t.searchText, () => n.setSearchTextAndLoad(t.searchText.value)));
395
- const m = (l) => {
396
- o.multiselect && Array.isArray(e.value) ? J(e.value, l) || (e.value = [...e.value, l]) : e.value = l;
397
- }, r = () => {
398
- var l;
399
- i.value = !1, (l = a.value) == null || l.focus(), t.searchText.value && t.resetSearch();
400
- }, v = (l) => {
401
- const u = l.target;
402
- u.scrollTop / (u.scrollHeight - u.offsetHeight) > 0.8 && n.loadAppend();
387
+ setup(l) {
388
+ const e = l, s = U(l, "modelValue"), a = w(null), r = ke(e.apiRequest, e.minLength || 0, e.useCache), t = Ae(s, P(e, "items"), e.multiselect, P(e, "appendAllValue"), P(e, "appendSearchToResult"), r), d = S(() => e.searchType === "inline" && e.multiselect || e.searchType === "inline" && X.state.isMobile ? "popup" : e.searchType), c = S(() => d.value === "inline" ? "TopInput" : "div");
389
+ r.apiRequest && M(t.searchText, () => r.setSearchTextAndLoad(t.searchText.value));
390
+ const v = (o) => {
391
+ e.multiselect && Array.isArray(s.value) ? R(s.value, o) || (s.value = [...s.value, o]) : s.value = o;
392
+ }, T = S(() => Array.isArray(s.value) || e.multiselect || !e.selectedAsPlaceholder ? e.placeholder : s.value.name || e.placeholder), n = () => {
393
+ r.apiRequest && r.setSearchTextAndLoad(t.searchText.value, !1);
394
+ }, b = () => {
395
+ var o;
396
+ (o = a.value) == null || o.focus(), t.searchText.value && t.resetSearch();
397
+ }, u = (o) => {
398
+ const i = o.target;
399
+ i.scrollTop / (i.scrollHeight - i.offsetHeight) > 0.8 && r.loadAppend();
403
400
  };
404
- return window.__STORYBOOK_PREVIEW__ && !o.modelValue && E(
405
- () => o.multiselect,
401
+ return window.__STORYBOOK_PREVIEW__ && (M(
402
+ () => e.multiselect,
406
403
  () => {
407
- e.value = o.multiselect ? [] : { id: null, name: "" };
404
+ s.value = e.multiselect ? [] : { id: null, name: "" };
408
405
  },
409
406
  { immediate: !0 }
410
- ), (l, u) => {
411
- const K = Z("top-focus");
412
- return p(), A(b(se), {
413
- ref_key: "popupRef",
414
- ref: d,
415
- onOpen: u[3] || (u[3] = (h) => i.value = !0),
416
- onClose: u[4] || (u[4] = (h) => r()),
417
- onScrollContentList: u[5] || (u[5] = (h) => l.apiRequest ? v(h) : void 0),
407
+ ), M(
408
+ () => e.searchType,
409
+ () => {
410
+ setTimeout(() => {
411
+ location.reload();
412
+ }, 300);
413
+ }
414
+ )), (o, i) => {
415
+ const y = Z("top-focus");
416
+ return p(), $(h(se), {
417
+ onOpen: i[4] || (i[4] = (m) => n()),
418
+ onClose: i[5] || (i[5] = (m) => b()),
419
+ onScrollContentList: i[6] || (i[6] = (m) => o.apiRequest ? u(m) : void 0),
418
420
  notch: !1,
419
421
  transitionDuration: 0
420
- }, N({
421
- opener: V(() => [
422
- X((p(), f("div", {
423
- ref_key: "elRef",
424
- ref: a,
422
+ }, O({
423
+ opener: A(() => [
424
+ J((p(), $(q(c.value), {
425
+ ref: "subcomponentSelector",
425
426
  class: C({
426
427
  "top-selector2": !0,
427
- "top-selector2-multiselect": l.multiselect,
428
- ["top-size_" + l.size]: !0,
429
- "top-disabled": l.disabled,
430
- "top-forms-focusable": !l.disabled,
431
- "top-error": l.isError
428
+ "top-selector2-multiselect": o.multiselect,
429
+ ["top-size_" + o.size]: !0,
430
+ "top-disabled": o.disabled,
431
+ "top-forms-focusable": !o.disabled,
432
+ "top-error": o.isError
432
433
  }),
433
434
  onKeydown: [
434
- u[0] || (u[0] = L(M((h) => h.currentTarget.click(), ["stop", "prevent"]), ["up", "down", "enter", "space"])),
435
- u[1] || (u[1] = L((h) => e.value = [], ["delete"]))
435
+ i[1] || (i[1] = E(z((m) => m.currentTarget.click(), ["stop", "prevent"]), ["up", "down", "enter", "space"])),
436
+ i[2] || (i[2] = E((m) => s.value = [], ["delete"]))
436
437
  ],
437
438
  tabindex: "0"
438
- }, [
439
- l.multiselect ? (p(), f("div", Te, [
440
- (p(!0), f(_, null, G(e.value, (h) => (p(), A(ke, {
441
- id: h.id,
442
- name: h.name,
443
- onDelete: g
444
- }, null, 8, ["id", "name"]))), 256))
445
- ])) : k("", !0),
446
- l.multiselect ? k("", !0) : (p(), f("span", Ve, $(Array.isArray(e.value) ? "" : e.value.name), 1)),
447
- l.addChanger && !l.multiselect && b(t).items.value.length > 1 && !l.disabled ? (p(), f("span", {
448
- key: 2,
449
- class: "top-changer top-changer-selector",
450
- "data-top-popup-disabled": "true",
451
- onClick: y
452
- })) : k("", !0)
453
- ], 34)), [
439
+ }, {
440
+ default: A(() => [
441
+ o.multiselect ? (p(), f("div", $e, [
442
+ (p(!0), f(_, null, K(s.value, (m) => (p(), $(Te, {
443
+ id: m.id,
444
+ name: m.name,
445
+ onDelete: h(t).deleteItemById
446
+ }, null, 8, ["id", "name", "onDelete"]))), 256))
447
+ ])) : k("", !0),
448
+ o.multiselect ? k("", !0) : (p(), f("span", Ve, V(Array.isArray(s.value) ? "" : s.value.name), 1)),
449
+ o.addChanger && !o.multiselect && h(t).items.value.length > 1 && !o.disabled ? (p(), f("span", {
450
+ key: 2,
451
+ class: "top-changer top-changer-selector",
452
+ "data-top-popup-disabled": "true",
453
+ onClick: i[0] || (i[0] = //@ts-ignore
454
+ (...m) => h(t).selectNextItem && h(t).selectNextItem(...m))
455
+ })) : k("", !0)
456
+ ]),
457
+ _: 1
458
+ }, 40, ["class"])), [
454
459
  [
455
- K,
456
- l.isError,
460
+ y,
461
+ o.isError,
457
462
  void 0,
458
463
  { onupdate: !0 }
459
464
  ]
460
465
  ])
461
466
  ]),
462
- contentList: V(() => {
463
- var h;
467
+ contentList: A(() => {
468
+ var m;
464
469
  return [
465
- (p(!0), f(_, null, G(b(t).itemsForShow.value, (T) => (p(), A(b(O), {
470
+ (p(!0), f(_, null, K(h(t).itemsForShow.value, (g) => (p(), $(h(N), {
466
471
  class: C({
467
- "top-active": !Array.isArray(e.value) && !l.multiselect && e.value.id === T.id && e.value.name === T.name
472
+ "top-active": !Array.isArray(s.value) && !o.multiselect && s.value.id === g.id && s.value.name === g.name
468
473
  }),
469
- key: T.id ?? void 0,
470
- closeByClick: !l.multiselect || b(te).state.isMobile,
471
- onClick: (Ee) => m(T)
474
+ key: g.id ?? void 0,
475
+ closeByClick: !o.multiselect || h(X).state.isMobile,
476
+ onClick: (Ee) => v(g)
472
477
  }, {
473
- default: V(() => [
474
- l.$slots.item ? D(l.$slots, "item", {
478
+ default: A(() => [
479
+ o.$slots.item ? D(o.$slots, "item", {
475
480
  key: 0,
476
- item: T
481
+ item: g
477
482
  }) : (p(), f(_, { key: 1 }, [
478
- S($(T.name), 1)
483
+ I(V(g.name), 1)
479
484
  ], 64))
480
485
  ]),
481
486
  _: 2
482
487
  }, 1032, ["class", "closeByClick", "onClick"]))), 128)),
483
- !b(n).isLoading.value && !b(t).itemsForShow.value.length ? (p(), A(b(O), {
488
+ !h(r).isLoading.value && !h(t).itemsForShow.value.length ? (p(), $(h(N), {
484
489
  key: 0,
485
490
  type: "regular"
486
491
  }, {
487
- default: V(() => [
488
- S($(l.$i18n.Common.No_results), 1)
492
+ default: A(() => [
493
+ I(V(o.$i18n.Common.No_results), 1)
489
494
  ]),
490
495
  _: 1
491
496
  })) : k("", !0),
492
- b(n).isLoading.value && (!l.showSearch || (h = l.apiRequest) != null && h.params.offset) ? (p(), A(b(O), {
497
+ h(r).isLoading.value && (o.searchType !== "popup" || (m = o.apiRequest) != null && m.params.offset) ? (p(), $(h(N), {
493
498
  key: 1,
494
499
  type: "regular"
495
500
  }, {
496
- default: V(() => [
497
- P(b(le), { type: "circles" })
501
+ default: A(() => [
502
+ G(h(le), { type: "circles" })
498
503
  ]),
499
504
  _: 1
500
505
  })) : k("", !0)
@@ -502,27 +507,27 @@ const ie = { class: "top-editArea_footer" }, ue = /* @__PURE__ */ B({
502
507
  }),
503
508
  _: 2
504
509
  }, [
505
- l.showSearch ? {
510
+ o.searchType === "popup" ? {
506
511
  name: "widget",
507
- fn: V(() => {
508
- var h;
512
+ fn: A(() => {
513
+ var m;
509
514
  return [
510
- P(b(ae), {
515
+ G(h(ae), {
511
516
  title: "Поиск",
512
517
  icon: "",
513
- modelValue: b(t).searchText.value,
514
- "onUpdate:modelValue": u[2] || (u[2] = (T) => b(t).searchText.value = T),
515
- isLoading: b(n).isLoading.value && !((h = l.apiRequest) != null && h.params.offset),
516
- placeholder: !Array.isArray(e.value) && !l.multiselect && l.showSelectedInInput ? e.value.name : l.placeholder
518
+ modelValue: h(t).searchText.value,
519
+ "onUpdate:modelValue": i[3] || (i[3] = (g) => h(t).searchText.value = g),
520
+ isLoading: h(r).isLoading.value && !((m = o.apiRequest) != null && m.params.offset),
521
+ placeholder: T.value
517
522
  }, null, 8, ["modelValue", "isLoading", "placeholder"])
518
523
  ];
519
524
  }),
520
525
  key: "0"
521
526
  } : void 0
522
- ]), 1536);
527
+ ]), 1024);
523
528
  };
524
529
  }
525
- }), Se = ["data-top-icon"], Be = { class: "top-info_text" }, Ie = {
530
+ }), Ie = ["data-top-icon"], Be = { class: "top-info_text" }, Se = {
526
531
  key: 0,
527
532
  class: "top-info_value"
528
533
  }, Le = /* @__PURE__ */ B({
@@ -532,31 +537,31 @@ const ie = { class: "top-editArea_footer" }, ue = /* @__PURE__ */ B({
532
537
  styling: { default: "default" },
533
538
  size: { default: "default" }
534
539
  },
535
- setup(s) {
536
- return (o, e) => (p(), f("div", {
540
+ setup(l) {
541
+ return (e, s) => (p(), f("div", {
537
542
  class: C({
538
543
  "top-info": !0,
539
- ["top-size_" + o.size]: !0,
540
- ["top-info-styling_" + o.styling]: !0
544
+ ["top-size_" + e.size]: !0,
545
+ ["top-info-styling_" + e.styling]: !0
541
546
  }),
542
- "data-top-icon": o.icon
547
+ "data-top-icon": e.icon
543
548
  }, [
544
- I("div", Be, [
545
- D(o.$slots, "default")
549
+ L("div", Be, [
550
+ D(e.$slots, "default")
546
551
  ]),
547
- o.$slots.additional ? (p(), f("span", Ie, [
548
- D(o.$slots, "additional")
552
+ e.$slots.additional ? (p(), f("span", Se, [
553
+ D(e.$slots, "additional")
549
554
  ])) : k("", !0)
550
- ], 10, Se));
555
+ ], 10, Ie));
551
556
  }
552
- }), Oe = ue, Fe = pe, Ne = ve, De = be, He = Ae, Re = ne, Ue = Le;
557
+ }), Ne = ue, Oe = pe, De = ve, Fe = be, He = we, Ue = ne, We = Le;
553
558
  export {
554
- De as TopCheckboxGroup,
555
- Oe as TopEditArea,
556
- Fe as TopEditInput,
557
- Ue as TopInfo,
558
- Re as TopMenu,
559
- Ne as TopRadioGroup,
559
+ Fe as TopCheckboxGroup,
560
+ Ne as TopEditArea,
561
+ Oe as TopEditInput,
562
+ We as TopInfo,
563
+ Ue as TopMenu,
564
+ De as TopRadioGroup,
560
565
  He as TopSelector2
561
566
  };
562
567
  //# sourceMappingURL=formsExt.js.map