@topvisor/ui 1.0.13 → 1.0.14-pinia-prepare-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.
- package/.chunks/{datepicker-DOmAO7Nq.es.js → datepicker-BuFX5Ibd.es.js} +2 -2
- package/.chunks/{datepicker-DOmAO7Nq.es.js.map → datepicker-BuFX5Ibd.es.js.map} +1 -1
- package/.chunks/{datepicker-DX0qKxI_.amd.js → datepicker-nf_2LrjW.amd.js} +2 -2
- package/.chunks/{datepicker-DX0qKxI_.amd.js.map → datepicker-nf_2LrjW.amd.js.map} +1 -1
- package/.chunks/{forms-Dg1N8Jv3.amd.js → forms-BLpuaGu3.amd.js} +3 -3
- package/.chunks/{forms-Dg1N8Jv3.amd.js.map → forms-BLpuaGu3.amd.js.map} +1 -1
- package/.chunks/{forms-FHMqYVvM.es.js → forms-CO7gZ-Jf.es.js} +124 -124
- package/.chunks/{forms-FHMqYVvM.es.js.map → forms-CO7gZ-Jf.es.js.map} +1 -1
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-CuWOLCGe.es.js → listItem.vue_vue_type_script_setup_true_lang-BViq2HMb.es.js} +2 -2
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-CuWOLCGe.es.js.map → listItem.vue_vue_type_script_setup_true_lang-BViq2HMb.es.js.map} +1 -1
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-tzOQcPs_.amd.js → listItem.vue_vue_type_script_setup_true_lang-C3_ynkiW.amd.js} +2 -2
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-tzOQcPs_.amd.js.map → listItem.vue_vue_type_script_setup_true_lang-C3_ynkiW.amd.js.map} +1 -1
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-C_ND48ou.amd.js → menu.vue_vue_type_style_index_0_lang-B3O5DQLa.amd.js} +2 -2
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-C_ND48ou.amd.js.map → menu.vue_vue_type_style_index_0_lang-B3O5DQLa.amd.js.map} +1 -1
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-BGdS1bYl.es.js → menu.vue_vue_type_style_index_0_lang-tVQzbd1R.es.js} +2 -2
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-BGdS1bYl.es.js.map → menu.vue_vue_type_style_index_0_lang-tVQzbd1R.es.js.map} +1 -1
- package/.chunks/notice-BShByAqB.amd.js +4 -0
- package/.chunks/notice-BShByAqB.amd.js.map +1 -0
- package/.chunks/notice-DqPTC2Eb.es.js +175 -0
- package/.chunks/notice-DqPTC2Eb.es.js.map +1 -0
- package/.chunks/{popup-CSNWKE4F.amd.js → popup-3eJtfdGC.amd.js} +2 -2
- package/.chunks/popup-3eJtfdGC.amd.js.map +1 -0
- package/.chunks/{popup-CBNL-Ixi.es.js → popup-PVygOyt6.es.js} +4 -4
- package/.chunks/popup-PVygOyt6.es.js.map +1 -0
- package/.chunks/{utils-B6497Bik.es.js → utils-CaTXdV8x.es.js} +52 -44
- package/.chunks/utils-CaTXdV8x.es.js.map +1 -0
- package/.chunks/utils-DqBBCGAB.amd.js +2 -0
- package/.chunks/utils-DqBBCGAB.amd.js.map +1 -0
- package/.chunks/{utils-BgirCapu.es.js → utils-DtkfhYfA.es.js} +59 -54
- package/.chunks/utils-DtkfhYfA.es.js.map +1 -0
- package/.chunks/{utils-DINqzHO_.amd.js → utils-FeIFDJOE.amd.js} +2 -2
- package/.chunks/utils-FeIFDJOE.amd.js.map +1 -0
- package/README.md +7 -12
- package/assets/core.css +1 -1
- package/assets/layout.css +1 -0
- package/charts/charts.amd.js +1 -1
- package/charts/charts.amd.js.map +1 -1
- package/charts/charts.js +47 -42
- package/charts/charts.js.map +1 -1
- package/components/charts/miniChart/miniChart.d.ts +5 -0
- package/components/core/notice/item/item.vue.d.ts +3 -1
- package/components/core/notice/item/types.d.ts +4 -0
- package/components/core/notice/utils.d.ts +1 -0
- package/components/dialog/dialog/composables/{asyncDialogWorker.d.ts → asyncDialogHandle.d.ts} +1 -1
- package/components/dialog/dialog/composables/utils.d.ts +2 -2
- package/components/dialog/dialog/dialogs/dialogs.vue.d.ts +1 -1
- package/components/dialog/lib/types.d.ts +6 -1
- package/components/dialog/lib/worker.d.ts +5 -0
- package/components/layout/islandRows/islandRows.vue.d.ts +16 -0
- package/components/layout/islandRows/islandRowsRow/islandRowsRow.vue.d.ts +17 -0
- package/components/layout/islandRows/islandRowsRow/types.d.ts +2 -0
- package/components/layout/islandRows/types.d.ts +10 -0
- package/components/layout/layout.d.ts +7 -0
- package/components/layout/rows/rows.vue.d.ts +20 -0
- package/components/layout/rows/types.d.ts +6 -0
- package/components/project/project.d.ts +1 -0
- package/core/app.amd.js +1 -1
- package/core/app.amd.js.map +1 -1
- package/core/app.js +30 -33
- package/core/app.js.map +1 -1
- package/core/core/options.d.ts +2 -2
- package/core/utils/check.d.ts +1 -1
- package/dialog/dialog.amd.js +1 -1
- package/dialog/dialog.js +2 -2
- package/forms/forms.amd.js +1 -1
- package/forms/forms.js +1 -1
- package/formsExt/formsExt.amd.js +1 -1
- package/formsExt/formsExt.js +54 -54
- package/icomoon/Topvisor icons.json +1421 -1192
- package/icomoon/demo-files/demo.css +0 -3
- package/icomoon/demo.html +103 -36
- package/icomoon/fonts/Topvisor-2.eot +0 -0
- package/icomoon/fonts/Topvisor-2.svg +8 -3
- package/icomoon/fonts/Topvisor-2.ttf +0 -0
- package/icomoon/fonts/Topvisor-2.woff +0 -0
- package/icomoon/selection.json +1 -1
- package/icomoon/style.css +21 -5
- package/layout/layout.amd.js +2 -0
- package/layout/layout.amd.js.map +1 -0
- package/layout/layout.d.ts +2 -0
- package/layout/layout.js +54 -0
- package/layout/layout.js.map +1 -0
- package/package.json +3 -3
- package/popup/popup.amd.js +1 -1
- package/popup/popup.js +2 -2
- package/popup/worker.amd.js +1 -1
- package/popup/worker.js +2 -2
- package/project/project.amd.js +1 -1
- package/project/project.amd.js.map +1 -1
- package/project/project.js +457 -444
- package/project/project.js.map +1 -1
- package/tabsView/tabsView.amd.js +1 -1
- package/tabsView/tabsView.js +16 -16
- package/utils/check.amd.js +1 -1
- package/utils/check.amd.js.map +1 -1
- package/utils/check.js +12 -12
- package/utils/check.js.map +1 -1
- package/utils/date.amd.js +1 -1
- package/utils/date.js +1 -1
- package/utils/device.amd.js +1 -1
- package/utils/device.js +1 -1
- package/utils/lodash.amd.js +1 -1
- package/utils/lodash.js +5 -5
- package/utils/price.amd.js +1 -1
- package/utils/price.js +1 -1
- package/utils/string.amd.js +1 -1
- package/utils/string.js +1 -1
- package/.chunks/notice-BixWe-8g.amd.js +0 -4
- package/.chunks/notice-BixWe-8g.amd.js.map +0 -1
- package/.chunks/notice-D07Kq3fU.es.js +0 -172
- package/.chunks/notice-D07Kq3fU.es.js.map +0 -1
- package/.chunks/popup-CBNL-Ixi.es.js.map +0 -1
- package/.chunks/popup-CSNWKE4F.amd.js.map +0 -1
- package/.chunks/utils-B6497Bik.es.js.map +0 -1
- package/.chunks/utils-BgirCapu.es.js.map +0 -1
- package/.chunks/utils-Bxmh9YxC.amd.js +0 -2
- package/.chunks/utils-Bxmh9YxC.amd.js.map +0 -1
- package/.chunks/utils-DINqzHO_.amd.js.map +0 -1
- /package/components/dialog/dialog/composables/{dialogWorker.d.ts → dialogHandle.d.ts} +0 -0
package/formsExt/formsExt.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Core as j } from "../core/app.js";
|
|
2
|
-
import { defineComponent as P, ref as T, computed as N, resolveDirective as Z, openBlock as c, createElementBlock as v, normalizeClass as S, toDisplayString as B, createCommentVNode as A, createElementVNode as K, withDirectives as X, createVNode as H, withKeys as _, withModifiers as I, createBlock as k, withCtx as
|
|
3
|
-
import {
|
|
4
|
-
import { invertKeyboardLayout as
|
|
5
|
-
import { TopPopup as
|
|
6
|
-
import { _ as ie } from "../.chunks/menu.vue_vue_type_style_index_0_lang-
|
|
7
|
-
const Q = ["../assets/formsExt.css"].map((
|
|
2
|
+
import { defineComponent as P, ref as T, computed as N, resolveDirective as Z, openBlock as c, createElementBlock as v, normalizeClass as S, toDisplayString as B, createCommentVNode as A, createElementVNode as K, withDirectives as X, createVNode as H, withKeys as _, withModifiers as I, createBlock as k, withCtx as C, createTextVNode as $, watch as E, toRef as q, mergeProps as J, mergeModels as z, useModel as Y, Fragment as O, renderList as G, vModelRadio as x, unref as L, renderSlot as ee } from "vue";
|
|
3
|
+
import { w as te, _ as D, b as oe, s as le, C as ae } from "../.chunks/forms-CO7gZ-Jf.es.js";
|
|
4
|
+
import { invertKeyboardLayout as se } from "../utils/keyboard.js";
|
|
5
|
+
import { TopPopup as re, TopPopupWidgetInput as ne, TopPopupListItem as R } from "../popup/popup.js";
|
|
6
|
+
import { _ as ie } from "../.chunks/menu.vue_vue_type_style_index_0_lang-tVQzbd1R.es.js";
|
|
7
|
+
const Q = ["../assets/formsExt.css"].map((r) => import.meta.resolve(r));
|
|
8
8
|
j.insertCSSLinkToPage(Q, !0);
|
|
9
9
|
const ue = { class: "top-editArea_footer" }, de = /* @__PURE__ */ P({
|
|
10
10
|
__name: "editArea",
|
|
@@ -29,8 +29,8 @@ const ue = { class: "top-editArea_footer" }, de = /* @__PURE__ */ P({
|
|
|
29
29
|
hint: {}
|
|
30
30
|
},
|
|
31
31
|
emits: ["submit", "close", "clickOnTitle"],
|
|
32
|
-
setup(
|
|
33
|
-
const e =
|
|
32
|
+
setup(r, { emit: d }) {
|
|
33
|
+
const e = r, a = d, m = T(e.defaultValue), f = T(e.isFocused), n = N(() => m.value !== e.defaultValue), p = N(() => e.attachToKeyboard ? "" : e.forceShowCloseBtn && !n.value ? e.closeText : e.cancelText), i = (u) => {
|
|
34
34
|
a("submit", u), m.value = e.defaultValue;
|
|
35
35
|
}, y = () => {
|
|
36
36
|
if (e.forceShowCloseBtn && !n.value) {
|
|
@@ -92,7 +92,7 @@ const ue = { class: "top-editArea_footer" }, de = /* @__PURE__ */ P({
|
|
|
92
92
|
icon: u.attachToKeyboard ? "" : "",
|
|
93
93
|
onClick: y
|
|
94
94
|
}, {
|
|
95
|
-
default:
|
|
95
|
+
default: C(() => [
|
|
96
96
|
$(B(p.value), 1)
|
|
97
97
|
]),
|
|
98
98
|
_: 1
|
|
@@ -103,7 +103,7 @@ const ue = { class: "top-editArea_footer" }, de = /* @__PURE__ */ P({
|
|
|
103
103
|
icon: u.attachToKeyboard ? "" : "",
|
|
104
104
|
onClick: o[5] || (o[5] = (h) => i(m.value))
|
|
105
105
|
}, {
|
|
106
|
-
default:
|
|
106
|
+
default: C(() => [
|
|
107
107
|
$(B(u.attachToKeyboard ? "" : u.submitText), 1)
|
|
108
108
|
]),
|
|
109
109
|
_: 1
|
|
@@ -121,8 +121,8 @@ const ue = { class: "top-editArea_footer" }, de = /* @__PURE__ */ P({
|
|
|
121
121
|
button: {}
|
|
122
122
|
},
|
|
123
123
|
emits: ["update:modelValue"],
|
|
124
|
-
setup(
|
|
125
|
-
const e =
|
|
124
|
+
setup(r, { emit: d }) {
|
|
125
|
+
const e = r, a = T(e.modelValue);
|
|
126
126
|
E(q(e.modelValue), () => {
|
|
127
127
|
a.value = e.modelValue;
|
|
128
128
|
});
|
|
@@ -161,8 +161,8 @@ const ue = { class: "top-editArea_footer" }, de = /* @__PURE__ */ P({
|
|
|
161
161
|
modelModifiers: {}
|
|
162
162
|
}),
|
|
163
163
|
emits: /* @__PURE__ */ z(["update:modelValue"], ["update:modelValue"]),
|
|
164
|
-
setup(
|
|
165
|
-
const e = Y(
|
|
164
|
+
setup(r, { emit: d }) {
|
|
165
|
+
const e = Y(r, "modelValue"), a = r, m = T(null);
|
|
166
166
|
E(e, () => {
|
|
167
167
|
var n, p, i, y, b;
|
|
168
168
|
(n = a.radiosProps) != null && n.some((u) => u.value === e.value) || (e.value = ((i = (p = a.radiosProps) == null ? void 0 : p[0]) == null ? void 0 : i.value) ?? ""), (b = (y = m.value) == null ? void 0 : y.querySelector(".radioGroup_item-selected")) == null || b.scrollIntoView();
|
|
@@ -205,16 +205,16 @@ const ue = { class: "top-editArea_footer" }, de = /* @__PURE__ */ P({
|
|
|
205
205
|
], 10, me))), 256))
|
|
206
206
|
], 2));
|
|
207
207
|
}
|
|
208
|
-
}), he = (
|
|
208
|
+
}), he = (r, d, e) => {
|
|
209
209
|
const a = T([]), m = T(!1);
|
|
210
210
|
let f = "", n;
|
|
211
|
-
|
|
211
|
+
r && !r.params.limit && (r.params.limit = 100);
|
|
212
212
|
const p = async () => {
|
|
213
|
-
if (!
|
|
213
|
+
if (!r) return;
|
|
214
214
|
let o, V;
|
|
215
|
-
if (e && (
|
|
215
|
+
if (e && (r.cache ??= /* @__PURE__ */ new Map(), V = JSON.stringify(r.params), o = r.cache.get(V), o))
|
|
216
216
|
return o;
|
|
217
|
-
if (m.value = !0, o = await
|
|
217
|
+
if (m.value = !0, o = await r.call(), m.value = !1, o.errors) return;
|
|
218
218
|
if (!Array.isArray(o.result)) {
|
|
219
219
|
console.warn("В result ожидался массив");
|
|
220
220
|
return;
|
|
@@ -224,15 +224,15 @@ const ue = { class: "top-editArea_footer" }, de = /* @__PURE__ */ P({
|
|
|
224
224
|
console.warn(`В result[${h}] нет id или name`);
|
|
225
225
|
return;
|
|
226
226
|
}
|
|
227
|
-
return e &&
|
|
227
|
+
return e && r.cache.set(V, o), o;
|
|
228
228
|
}, i = async () => {
|
|
229
|
-
if (!
|
|
230
|
-
|
|
229
|
+
if (!r) return;
|
|
230
|
+
r.params.offset = 0, r.params.search = f;
|
|
231
231
|
const o = await p();
|
|
232
232
|
o && (n = o.nextOffset, a.value = o.result);
|
|
233
233
|
}, y = async () => {
|
|
234
|
-
if (!
|
|
235
|
-
|
|
234
|
+
if (!r || !n || m.value) return;
|
|
235
|
+
r.params.offset = n, r.params.search = f;
|
|
236
236
|
const o = await p();
|
|
237
237
|
o && (n = o.nextOffset, a.value = a.value.concat(o.result));
|
|
238
238
|
}, b = le(() => i(), 200);
|
|
@@ -241,7 +241,7 @@ const ue = { class: "top-editArea_footer" }, de = /* @__PURE__ */ P({
|
|
|
241
241
|
isLoading: m,
|
|
242
242
|
loadAppend: y,
|
|
243
243
|
setSearchTextAndLoad: (o, V = !0) => {
|
|
244
|
-
|
|
244
|
+
r && (o.length < d || o === f && a.value.length || (f = o, V ? b() : i()));
|
|
245
245
|
}
|
|
246
246
|
};
|
|
247
247
|
}, be = { class: "top-selector2_itemMulti top-ellipsis" }, ge = /* @__PURE__ */ P({
|
|
@@ -251,7 +251,7 @@ const ue = { class: "top-editArea_footer" }, de = /* @__PURE__ */ P({
|
|
|
251
251
|
name: {}
|
|
252
252
|
},
|
|
253
253
|
emits: ["delete"],
|
|
254
|
-
setup(
|
|
254
|
+
setup(r) {
|
|
255
255
|
return (d, e) => (c(), v("div", be, [
|
|
256
256
|
$(B(d.name) + " ", 1),
|
|
257
257
|
K("span", {
|
|
@@ -291,8 +291,8 @@ const ue = { class: "top-editArea_footer" }, de = /* @__PURE__ */ P({
|
|
|
291
291
|
modelModifiers: {}
|
|
292
292
|
}),
|
|
293
293
|
emits: ["update:modelValue"],
|
|
294
|
-
setup(
|
|
295
|
-
const d =
|
|
294
|
+
setup(r) {
|
|
295
|
+
const d = r, e = Y(r, "modelValue"), a = T(""), m = {
|
|
296
296
|
id: 0,
|
|
297
297
|
name: "Все"
|
|
298
298
|
}, f = T(null), n = () => {
|
|
@@ -308,57 +308,57 @@ const ue = { class: "top-editArea_footer" }, de = /* @__PURE__ */ P({
|
|
|
308
308
|
);
|
|
309
309
|
const p = he(d.apiRequest, d.minLength, d.useCache), i = N(() => {
|
|
310
310
|
const t = [];
|
|
311
|
-
return !d.multiselect && d.appendAllValue && t.push(m), d.items.forEach((
|
|
312
|
-
}), y = (t,
|
|
313
|
-
const t = a.value.toLowerCase(),
|
|
311
|
+
return !d.multiselect && d.appendAllValue && t.push(m), d.items.forEach((s) => t.push({ ...s })), t;
|
|
312
|
+
}), y = (t, s = !0) => s && t.id === null ? Array.isArray(e.value) ? e.value.some((l) => l.id === t.id && l.name === t.name) : t.name === e.value.name : Array.isArray(e.value) ? e.value.some((l) => l.id === t.id) : t.id === e.value.id, b = N(() => {
|
|
313
|
+
const t = a.value.toLowerCase(), s = se(t);
|
|
314
314
|
let l = [];
|
|
315
315
|
return i.value.forEach((g) => {
|
|
316
|
-
const
|
|
317
|
-
(g.id === Number(t) ||
|
|
316
|
+
const w = g.name.toLowerCase();
|
|
317
|
+
(g.id === Number(t) || w.includes(t) || w.includes(s)) && (w === t || w === s ? l.unshift(g) : l.push(g));
|
|
318
318
|
}), l.push(...p.items.value), d.appendSearchToResult && a.value && (!l.length || l[0].name.toLowerCase() !== t) && l.push({
|
|
319
319
|
id: null,
|
|
320
320
|
name: a.value
|
|
321
321
|
}), d.multiselect && (l = l.filter((g) => !y(g))), l;
|
|
322
322
|
}), u = async (t) => {
|
|
323
|
-
var
|
|
323
|
+
var s, l;
|
|
324
324
|
if (d.multiselect) {
|
|
325
325
|
if (!Array.isArray(e.value) || y(t))
|
|
326
326
|
return;
|
|
327
327
|
const g = [...e.value];
|
|
328
|
-
g.push({ ...t }), e.value = g, ae.state.isMobile ? (
|
|
329
|
-
var
|
|
330
|
-
(
|
|
328
|
+
g.push({ ...t }), e.value = g, ae.state.isMobile ? (s = n()) == null || s.close() : setTimeout(() => {
|
|
329
|
+
var w, F, U, W;
|
|
330
|
+
(w = n()) == null || w.recalcPosition(), (W = (U = (F = n()) == null ? void 0 : F.elPopupWidget) == null ? void 0 : U.querySelector("input")) == null || W.focus(), a.value && (b.value.length || (a.value = "", p.items.value = []));
|
|
331
331
|
});
|
|
332
332
|
} else
|
|
333
333
|
a.value && (a.value = "", p.items.value = []), JSON.stringify(t) !== JSON.stringify(e.value) && (e.value = { ...t }), (l = n()) == null || l.close();
|
|
334
334
|
}, o = () => {
|
|
335
335
|
if (!Array.isArray(e.value)) {
|
|
336
|
-
const
|
|
337
|
-
e.value = { ...i.value[
|
|
336
|
+
const s = (i.value.findIndex((l) => l.id === e.value.id) + 1) % i.value.length;
|
|
337
|
+
e.value = { ...i.value[s] };
|
|
338
338
|
}
|
|
339
339
|
}, V = async (t) => {
|
|
340
|
-
Array.isArray(e.value) && (e.value = e.value.filter((
|
|
341
|
-
var
|
|
342
|
-
(
|
|
340
|
+
Array.isArray(e.value) && (e.value = e.value.filter((s) => s.id !== t), setTimeout(() => {
|
|
341
|
+
var s;
|
|
342
|
+
(s = n()) == null || s.recalcPosition();
|
|
343
343
|
}));
|
|
344
344
|
}, h = T(!1);
|
|
345
345
|
d.apiRequest && (E(h, () => {
|
|
346
346
|
h.value && p.setSearchTextAndLoad(a.value, !1);
|
|
347
347
|
}), E(a, () => p.setSearchTextAndLoad(a.value)));
|
|
348
348
|
const M = (t) => {
|
|
349
|
-
const
|
|
350
|
-
|
|
349
|
+
const s = t.target;
|
|
350
|
+
s.scrollTop / (s.scrollHeight - s.offsetHeight) > 0.8 && p.loadAppend();
|
|
351
351
|
};
|
|
352
|
-
return (t,
|
|
352
|
+
return (t, s) => (c(), k(L(re), {
|
|
353
353
|
ref_key: "popupRef",
|
|
354
354
|
ref: f,
|
|
355
|
-
onOpen:
|
|
356
|
-
onClose:
|
|
357
|
-
onScrollContentList:
|
|
355
|
+
onOpen: s[1] || (s[1] = (l) => h.value = !0),
|
|
356
|
+
onClose: s[2] || (s[2] = (l) => h.value = !1),
|
|
357
|
+
onScrollContentList: s[3] || (s[3] = (l) => t.apiRequest ? M(l) : void 0),
|
|
358
358
|
notch: !1,
|
|
359
359
|
transitionDuration: 0
|
|
360
360
|
}, {
|
|
361
|
-
opener:
|
|
361
|
+
opener: C(() => [
|
|
362
362
|
K("div", {
|
|
363
363
|
class: S({
|
|
364
364
|
"top-selector2": !0,
|
|
@@ -384,17 +384,17 @@ const ue = { class: "top-editArea_footer" }, de = /* @__PURE__ */ P({
|
|
|
384
384
|
})) : A("", !0)
|
|
385
385
|
], 2)
|
|
386
386
|
]),
|
|
387
|
-
widget:
|
|
387
|
+
widget: C(() => [
|
|
388
388
|
H(L(ne), {
|
|
389
389
|
title: "Поиск",
|
|
390
390
|
icon: "",
|
|
391
391
|
modelValue: a.value,
|
|
392
|
-
"onUpdate:modelValue":
|
|
392
|
+
"onUpdate:modelValue": s[0] || (s[0] = (l) => a.value = l),
|
|
393
393
|
isLoading: L(p).isLoading.value,
|
|
394
394
|
placeholder: !Array.isArray(e.value) && !t.multiselect && t.showSelectedInInput ? e.value.name : t.placeholder
|
|
395
395
|
}, null, 8, ["modelValue", "isLoading", "placeholder"])
|
|
396
396
|
]),
|
|
397
|
-
contentList:
|
|
397
|
+
contentList: C(() => [
|
|
398
398
|
(c(!0), v(O, null, G(b.value, (l) => (c(), k(L(R), {
|
|
399
399
|
class: S({
|
|
400
400
|
"top-active": !Array.isArray(e.value) && !t.multiselect && e.value.name === l.name
|
|
@@ -402,7 +402,7 @@ const ue = { class: "top-editArea_footer" }, de = /* @__PURE__ */ P({
|
|
|
402
402
|
key: l.id ?? void 0,
|
|
403
403
|
onClick: I((g) => u(l), ["stop"])
|
|
404
404
|
}, {
|
|
405
|
-
default:
|
|
405
|
+
default: C(() => [
|
|
406
406
|
t.$slots.item ? ee(t.$slots, "item", {
|
|
407
407
|
key: 0,
|
|
408
408
|
item: l
|
|
@@ -416,7 +416,7 @@ const ue = { class: "top-editArea_footer" }, de = /* @__PURE__ */ P({
|
|
|
416
416
|
key: 0,
|
|
417
417
|
type: "regular"
|
|
418
418
|
}, {
|
|
419
|
-
default:
|
|
419
|
+
default: C(() => s[4] || (s[4] = [
|
|
420
420
|
$(" Нет результатов ")
|
|
421
421
|
])),
|
|
422
422
|
_: 1
|