sprof 1.22.8 → 1.22.10
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/dist/core/ftsp/FTSP.d.ts +5 -0
- package/dist/sprof.js +640 -626
- package/package.json +1 -1
package/dist/sprof.js
CHANGED
|
@@ -2,7 +2,7 @@ var $c = Object.defineProperty;
|
|
|
2
2
|
var Tc = (t, e, n) => e in t ? $c(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var u = (t, e, n) => Tc(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
4
|
import { Notify as sa, Dialog as oa, QBtn as vn, QItemLabel as qs, QTooltip as xr, QInput as as, QMenu as Ta, QList as Ei, QItem as Bn, QItemSection as hn, QIcon as re, QSeparator as Zi, QDialog as Pc, QCard as Xt, QCardSection as kt, QCardActions as ti, ClosePopup as Wn, QSpace as _n, QSlideTransition as Rc, QCheckbox as Ic, QPopupProxy as Ci, QDate as Ks, date as Jn, QSelect as Mc, QToggle as gl, QRadio as Ac, QUploader as Ec, QUploaderAddTrigger as Fc, QImg as Oc, QSpinner as vl, QBadge as yl, QTime as bl, QTabs as wl, QTab as Sl, QTd as wn, QScrollArea as Dc, QSpinnerDots as zc, QTable as Lc, QTr as $r, QInnerLoading as Vc, QTh as Tr, QTabPanels as Cl, QTabPanel as kl, QSplitter as _c, QChip as Uc, QForm as Bc, QCarousel as qc, QCarouselSlide as Nc, Ripple as Hc, Quasar as jc } from "quasar";
|
|
5
|
-
import { reactive as ht, ref as O, openBlock as m, createElementBlock as S, createElementVNode as
|
|
5
|
+
import { reactive as ht, ref as O, openBlock as m, createElementBlock as S, createElementVNode as b, onBeforeMount as Sn, computed as D, defineComponent as j, useAttrs as an, createBlock as z, unref as f, mergeProps as at, withCtx as C, renderSlot as N, createTextVNode as be, toDisplayString as U, normalizeClass as ve, createVNode as g, normalizeStyle as J, useModel as vt, createSlots as di, mergeModels as De, resolveDirective as Pa, withDirectives as Je, Fragment as K, createCommentVNode as G, watch as Ae, isRef as Me, TransitionGroup as xl, renderList as we, withModifiers as Ye, vShow as eo, inject as Gc, getCurrentInstance as Wc, provide as Yc, normalizeProps as Os, guardReactiveProps as Ds, nextTick as Ji, resolveComponent as Ie, resolveDynamicComponent as Rn, onMounted as Fi, onBeforeUnmount as rs, withKeys as Ns, mergeDefaults as Qc, markRaw as Xc, useCssVars as $l, createStaticVNode as Tl, onUpdated as Zc, useTemplateRef as Jc, onUnmounted as Kc, defineAsyncComponent as ef, getCurrentScope as Pl, onScopeDispose as Rl } from "vue";
|
|
6
6
|
import { onBeforeRouteLeave as tf, useRouter as nf } from "vue-router";
|
|
7
7
|
import si from "vuedraggable";
|
|
8
8
|
var Et = /* @__PURE__ */ ((t) => (t.Login = "login", t.Register = "register", t.Restore = "restore", t.Refresh = "refresh", t))(Et || {}), Be = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.Success = "success", t.Warning = "warning", t.Error = "error", t.Info = "info", t))(Be || {});
|
|
@@ -684,7 +684,7 @@ var Mr;
|
|
|
684
684
|
} : function(F, _) {
|
|
685
685
|
return F[_];
|
|
686
686
|
}
|
|
687
|
-
}, h = Object.getPrototypeOf(Function), p = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : Ro(),
|
|
687
|
+
}, h = Object.getPrototypeOf(Function), p = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : Ro(), y = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : Io(), k = typeof WeakMap == "function" ? WeakMap : ws(), P = s ? Symbol.for("@reflect-metadata:registry") : void 0, E = Ui(), T = ci(E);
|
|
688
688
|
function M(F, _, H, ne) {
|
|
689
689
|
if (oe(H)) {
|
|
690
690
|
if (!pt(F))
|
|
@@ -845,7 +845,7 @@ var Mr;
|
|
|
845
845
|
return H;
|
|
846
846
|
if (H.length <= 0)
|
|
847
847
|
return pe;
|
|
848
|
-
for (var ot = new
|
|
848
|
+
for (var ot = new y(), et = [], $e = 0, ie = H; $e < ie.length; $e++) {
|
|
849
849
|
var ae = ie[$e], le = ot.has(ae);
|
|
850
850
|
le || (ot.add(ae), et.push(ae));
|
|
851
851
|
}
|
|
@@ -1034,7 +1034,7 @@ var Mr;
|
|
|
1034
1034
|
case H === de:
|
|
1035
1035
|
break;
|
|
1036
1036
|
default:
|
|
1037
|
-
ne === void 0 && (ne = new
|
|
1037
|
+
ne === void 0 && (ne = new y()), ne.add(de);
|
|
1038
1038
|
break;
|
|
1039
1039
|
}
|
|
1040
1040
|
}
|
|
@@ -1193,7 +1193,7 @@ var Mr;
|
|
|
1193
1193
|
var _ = F.defineMetadata, H = F.hasOwnMetadata, ne = F.getOwnMetadata, pe = F.getOwnMetadataKeys, ot = F.deleteMetadata, et = new k(), $e = {
|
|
1194
1194
|
isProviderFor: function(ie, ae) {
|
|
1195
1195
|
var le = et.get(ie);
|
|
1196
|
-
return !oe(le) && le.has(ae) ? !0 : pe(ie, ae).length ? (oe(le) && (le = new
|
|
1196
|
+
return !oe(le) && le.has(ae) ? !0 : pe(ie, ae).length ? (oe(le) && (le = new y(), et.set(ie, le)), le.add(ae), !0) : !1;
|
|
1197
1197
|
},
|
|
1198
1198
|
OrdinaryDefineOwnMetadata: _,
|
|
1199
1199
|
OrdinaryHasOwnMetadata: H,
|
|
@@ -1978,7 +1978,7 @@ const Dl = class Hi {
|
|
|
1978
1978
|
}
|
|
1979
1979
|
toUrlQuery() {
|
|
1980
1980
|
const e = this.type ? `"type":"${this.type}"` : "", n = this.group ? `"group":${this.group}` : "", i = this.model ? `"model":"${this.model}"` : "", s = this.col ? `"col":"${this.col}"` : "", o = this.operator ? `"operator":"${this.operator}"` : "", a = this.value1 ? `"value1":"${this.value1}"` : "", l = this.type === Ee.Boolean ? `"boolean":${this.boolean}` : "", r = this.type === Ee.Date && this.date1 ? `"date1":"${this.date1.toISOString()}"` : "", d = this.type === Ee.Date && this.date2 ? `"date2":"${this.date2.toISOString()}"` : "", c = this.type === Ee.Number ? `"number":${this.number}` : "", h = this.type === Ee.Set || this.operator === Qe.In ? `"set":${JSON.stringify(this.set)}` : "", p = this.type === Ee.Join ? `"joinTableModel":"${this.joinTableModel}"` : "";
|
|
1981
|
-
return [e, i, s, o, a, l, r, d, c, h, p, n].filter((
|
|
1981
|
+
return [e, i, s, o, a, l, r, d, c, h, p, n].filter((y) => y !== "").toString();
|
|
1982
1982
|
}
|
|
1983
1983
|
/**
|
|
1984
1984
|
* ⚠️ `fromUrlQuery(URLSearchParams)` удалён (Ф3.3): единственным его
|
|
@@ -1997,7 +1997,7 @@ const Dl = class Hi {
|
|
|
1997
1997
|
}
|
|
1998
1998
|
static Create(e, n, i) {
|
|
1999
1999
|
const s = new Hi();
|
|
2000
|
-
return s.model = e.GetClassName(), s.col = n ?? "", s.type = i, s.type === Ee.Number && (s.value1 = "
|
|
2000
|
+
return s.model = e.GetClassName(), s.col = n ?? "", s.type = i, s.type === Ee.Number && (s.value1 = ""), s.type === Ee.String && (s.value1 = ""), s.type === Ee.Boolean && (s.value1 = "false", s.operator = Qe.Eq), s;
|
|
2001
2001
|
}
|
|
2002
2002
|
static CreateFilterModelWithJoin(e, n, i, s, o, a, l, r) {
|
|
2003
2003
|
const d = new Hi();
|
|
@@ -2224,6 +2224,11 @@ const us = (zt = class {
|
|
|
2224
2224
|
* boolean — только `true` (дефолт `false` = «не фильтруем»; тумблеры с
|
|
2225
2225
|
* инвертированной логикой помечают модель и передают `true`), строки/числа —
|
|
2226
2226
|
* непустое значение, `in`/join — непустой набор.
|
|
2227
|
+
*
|
|
2228
|
+
* ⚠️ `like ''` — это ФИЛЬТР (Postgres вернёт пустой список), а не «не задано»:
|
|
2229
|
+
* пустой поиск, оставшийся в FTSP после очистки поля, обнулял выборку
|
|
2230
|
+
* (07.11: «очистил поиск — список не вернулся»). Пустое значение модели —
|
|
2231
|
+
* единственный признак «фильтра нет».
|
|
2227
2232
|
*/
|
|
2228
2233
|
static isEmptyFilter(e) {
|
|
2229
2234
|
return e ? e.operator === Qe.Null || e.operator === Qe.NotNull ? !1 : e.type === Ee.Boolean ? e.boolean !== !0 : e.type === Ee.Join || e.operator === Qe.In ? e.set.length === 0 : e.type === Ee.Date ? !e.date1 && !e.date2 : e.value1 === void 0 || e.value1 === null || e.value1 === "" : !0;
|
|
@@ -3097,7 +3102,7 @@ function lo(t, e, n) {
|
|
|
3097
3102
|
se.ERR_FORM_DATA_DEPTH_EXCEEDED
|
|
3098
3103
|
);
|
|
3099
3104
|
}
|
|
3100
|
-
function
|
|
3105
|
+
function y(T, M) {
|
|
3101
3106
|
if (r === 1 / 0)
|
|
3102
3107
|
return JSON.stringify(T);
|
|
3103
3108
|
const x = [];
|
|
@@ -3115,7 +3120,7 @@ function lo(t, e, n) {
|
|
|
3115
3120
|
return e.append(No(x, M, o), h(T)), !1;
|
|
3116
3121
|
if (T && !x && typeof T == "object") {
|
|
3117
3122
|
if (A.endsWith(M, "{}"))
|
|
3118
|
-
M = i ? M : M.slice(0, -2), T =
|
|
3123
|
+
M = i ? M : M.slice(0, -2), T = y(T, 1);
|
|
3119
3124
|
else if (A.isArray(T) && qh(T) || (A.isFileList(T) || A.endsWith(M, "[]")) && (V = A.toArray(T)))
|
|
3120
3125
|
return M = Yl(M), V.forEach(function(B, I) {
|
|
3121
3126
|
!(A.isUndefined(B) || B === null) && e.append(
|
|
@@ -3453,8 +3458,8 @@ function sm(t, e) {
|
|
|
3453
3458
|
p += n[h++], h = h % t;
|
|
3454
3459
|
if (s = (s + 1) % t, s === o && (o = (o + 1) % t), d - a < e)
|
|
3455
3460
|
return;
|
|
3456
|
-
const
|
|
3457
|
-
return
|
|
3461
|
+
const y = c && d - c;
|
|
3462
|
+
return y ? Math.round(p * 1e3 / y) : void 0;
|
|
3458
3463
|
};
|
|
3459
3464
|
}
|
|
3460
3465
|
function om(t, e) {
|
|
@@ -3583,14 +3588,14 @@ function ri(t, e) {
|
|
|
3583
3588
|
writable: !0,
|
|
3584
3589
|
configurable: !0
|
|
3585
3590
|
});
|
|
3586
|
-
function i(c, h, p,
|
|
3587
|
-
return A.isPlainObject(c) && A.isPlainObject(h) ? A.merge.call({ caseless:
|
|
3591
|
+
function i(c, h, p, y) {
|
|
3592
|
+
return A.isPlainObject(c) && A.isPlainObject(h) ? A.merge.call({ caseless: y }, c, h) : A.isPlainObject(h) ? A.merge({}, h) : A.isArray(h) ? h.slice() : h;
|
|
3588
3593
|
}
|
|
3589
|
-
function s(c, h, p,
|
|
3594
|
+
function s(c, h, p, y) {
|
|
3590
3595
|
if (A.isUndefined(h)) {
|
|
3591
3596
|
if (!A.isUndefined(c))
|
|
3592
|
-
return i(void 0, c, p,
|
|
3593
|
-
} else return i(c, h, p,
|
|
3597
|
+
return i(void 0, c, p, y);
|
|
3598
|
+
} else return i(c, h, p, y);
|
|
3594
3599
|
}
|
|
3595
3600
|
function o(c, h) {
|
|
3596
3601
|
if (!A.isUndefined(h))
|
|
@@ -3654,7 +3659,7 @@ function ri(t, e) {
|
|
|
3654
3659
|
};
|
|
3655
3660
|
return A.forEach(Object.keys({ ...t, ...e }), function(h) {
|
|
3656
3661
|
if (h === "__proto__" || h === "constructor" || h === "prototype") return;
|
|
3657
|
-
const p = A.hasOwnProp(d, h) ? d[h] : s,
|
|
3662
|
+
const p = A.hasOwnProp(d, h) ? d[h] : s, y = A.hasOwnProp(t, h) ? t[h] : void 0, k = A.hasOwnProp(e, h) ? e[h] : void 0, P = p(y, k, h);
|
|
3658
3663
|
A.isUndefined(P) && p !== r || (n[h] = P);
|
|
3659
3664
|
}), A.hasOwnProp(e, "validateStatus") && A.isUndefined(e.validateStatus) && l("validateStatusUndefinedResolves") === !1 && (A.hasOwnProp(t, "validateStatus") ? n.validateStatus = i(void 0, t.validateStatus) : delete n.validateStatus), n;
|
|
3660
3665
|
}
|
|
@@ -3683,19 +3688,19 @@ function nu(t) {
|
|
|
3683
3688
|
n("params"),
|
|
3684
3689
|
n("paramsSerializer")
|
|
3685
3690
|
), r) {
|
|
3686
|
-
const p = A.getSafeProp(r, "username") || "",
|
|
3691
|
+
const p = A.getSafeProp(r, "username") || "", y = A.getSafeProp(r, "password") || "";
|
|
3687
3692
|
try {
|
|
3688
3693
|
l.set(
|
|
3689
3694
|
"Authorization",
|
|
3690
|
-
"Basic " + btoa(p + ":" + (
|
|
3695
|
+
"Basic " + btoa(p + ":" + (y ? gm(y) : ""))
|
|
3691
3696
|
);
|
|
3692
3697
|
} catch (k) {
|
|
3693
3698
|
throw se.from(k, se.ERR_BAD_OPTION_VALUE, t);
|
|
3694
3699
|
}
|
|
3695
3700
|
}
|
|
3696
3701
|
if (A.isFormData(i) && ($t.hasStandardBrowserEnv || $t.hasStandardBrowserWebWorkerEnv || A.isReactNative(i) ? l.setContentType(void 0) : A.isFunction(i.getHeaders) && pm(l, i.getHeaders(), n("formDataHeaderPolicy"))), $t.hasStandardBrowserEnv && (A.isFunction(s) && (s = s(e)), s === !0 || s == null && am(e.url))) {
|
|
3697
|
-
const
|
|
3698
|
-
|
|
3702
|
+
const y = o && a && rm.read(a);
|
|
3703
|
+
y && l.set(o, y);
|
|
3699
3704
|
}
|
|
3700
3705
|
return e;
|
|
3701
3706
|
}
|
|
@@ -3704,9 +3709,9 @@ const vm = typeof XMLHttpRequest < "u", ym = vm && function(t) {
|
|
|
3704
3709
|
const s = nu(t);
|
|
3705
3710
|
let o = s.data;
|
|
3706
3711
|
const a = Ot.from(s.headers).normalize();
|
|
3707
|
-
let { responseType: l, onUploadProgress: r, onDownloadProgress: d } = s, c, h, p,
|
|
3712
|
+
let { responseType: l, onUploadProgress: r, onDownloadProgress: d } = s, c, h, p, y, k;
|
|
3708
3713
|
function P() {
|
|
3709
|
-
|
|
3714
|
+
y && y(), k && k(), s.cancelToken && s.cancelToken.unsubscribe(c), s.signal && s.signal.removeEventListener("abort", c);
|
|
3710
3715
|
}
|
|
3711
3716
|
let E = new XMLHttpRequest();
|
|
3712
3717
|
E.open(s.method.toUpperCase(), s.url, !0), E.timeout = s.timeout;
|
|
@@ -3753,7 +3758,7 @@ const vm = typeof XMLHttpRequest < "u", ym = vm && function(t) {
|
|
|
3753
3758
|
), P(), E = null;
|
|
3754
3759
|
}, o === void 0 && a.setContentType(null), "setRequestHeader" in E && A.forEach(jl(a), function(V, $) {
|
|
3755
3760
|
E.setRequestHeader($, V);
|
|
3756
|
-
}), A.isUndefined(s.withCredentials) || (E.withCredentials = !!s.withCredentials), l && l !== "json" && (E.responseType = s.responseType), d && ([p, k] = Ws(d, !0), E.addEventListener("progress", p)), r && E.upload && ([h,
|
|
3761
|
+
}), A.isUndefined(s.withCredentials) || (E.withCredentials = !!s.withCredentials), l && l !== "json" && (E.responseType = s.responseType), d && ([p, k] = Ws(d, !0), E.addEventListener("progress", p)), r && E.upload && ([h, y] = Ws(r), E.upload.addEventListener("progress", h), E.upload.addEventListener("loadend", y)), (s.cancelToken || s.signal) && (c = (x) => {
|
|
3757
3762
|
E && (i(!x || x.type ? new hs(null, t, E) : x), E.abort(), P(), E = null);
|
|
3758
3763
|
}, s.cancelToken && s.cancelToken.subscribe(c), s.signal && (s.signal.aborted ? c() : s.signal.addEventListener("abort", c)));
|
|
3759
3764
|
const M = im(s.url);
|
|
@@ -3863,15 +3868,15 @@ function xm(t) {
|
|
|
3863
3868
|
if (/;base64/i.test(n)) {
|
|
3864
3869
|
let a = i.length;
|
|
3865
3870
|
const l = i.length;
|
|
3866
|
-
for (let
|
|
3867
|
-
if (i.charCodeAt(
|
|
3868
|
-
const k = i.charCodeAt(
|
|
3869
|
-
Ys(k) && Ys(P) && (a -= 2,
|
|
3871
|
+
for (let y = 0; y < l; y++)
|
|
3872
|
+
if (i.charCodeAt(y) === 37 && y + 2 < l) {
|
|
3873
|
+
const k = i.charCodeAt(y + 1), P = i.charCodeAt(y + 2);
|
|
3874
|
+
Ys(k) && Ys(P) && (a -= 2, y += 2);
|
|
3870
3875
|
}
|
|
3871
3876
|
let r = 0, d = l - 1;
|
|
3872
|
-
const c = (
|
|
3873
|
-
i.charCodeAt(
|
|
3874
|
-
(i.charCodeAt(
|
|
3877
|
+
const c = (y) => y >= 2 && i.charCodeAt(y - 2) === 37 && // '%'
|
|
3878
|
+
i.charCodeAt(y - 1) === 51 && // '3'
|
|
3879
|
+
(i.charCodeAt(y) === 68 || i.charCodeAt(y) === 100);
|
|
3875
3880
|
d >= 0 && (i.charCodeAt(d) === 61 ? (r++, d--) : c(d) && (r++, d -= 3)), r === 1 && d >= 0 && (i.charCodeAt(d) === 61 || c(d)) && r++;
|
|
3876
3881
|
const p = Math.floor(a / 4) * 3 - (r || 0);
|
|
3877
3882
|
return p > 0 ? p : 0;
|
|
@@ -3939,8 +3944,8 @@ const za = "1.18.1", Hr = 64 * 1024, { isFunction: Ps } = A, $m = (t) => encodeU
|
|
|
3939
3944
|
}
|
|
3940
3945
|
}), x = M.headers.has("Content-Type");
|
|
3941
3946
|
return M.body != null && M.body.cancel(), T && !x;
|
|
3942
|
-
}),
|
|
3943
|
-
stream:
|
|
3947
|
+
}), y = d && c && Gr(() => A.isReadableStream(new a("").body)), k = {
|
|
3948
|
+
stream: y && ((T) => T.body)
|
|
3944
3949
|
};
|
|
3945
3950
|
l && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((T) => {
|
|
3946
3951
|
!k[T] && (k[T] = (M, x) => {
|
|
@@ -4105,8 +4110,8 @@ const za = "1.18.1", Hr = 64 * 1024, { isFunction: Ps } = A, $m = (t) => encodeU
|
|
|
4105
4110
|
Ue
|
|
4106
4111
|
);
|
|
4107
4112
|
}
|
|
4108
|
-
const En =
|
|
4109
|
-
if (
|
|
4113
|
+
const En = y && (xe === "stream" || xe === "response");
|
|
4114
|
+
if (y && bt.body && (L || lt || En && oe)) {
|
|
4110
4115
|
const Se = {};
|
|
4111
4116
|
["status", "statusText", "headers"].forEach((dn) => {
|
|
4112
4117
|
Se[dn] = bt[dn];
|
|
@@ -4138,7 +4143,7 @@ const za = "1.18.1", Hr = 64 * 1024, { isFunction: Ps } = A, $m = (t) => encodeU
|
|
|
4138
4143
|
bt,
|
|
4139
4144
|
T
|
|
4140
4145
|
);
|
|
4141
|
-
if (lt && !
|
|
4146
|
+
if (lt && !y && !En) {
|
|
4142
4147
|
let Se;
|
|
4143
4148
|
if (wt != null && (typeof wt.byteLength == "number" ? Se = wt.byteLength : typeof wt.size == "number" ? Se = wt.size : typeof wt == "string" && (Se = typeof i == "function" ? new i().encode(wt).byteLength : wt.length)), typeof Se == "number" && Se > Xe)
|
|
4144
4149
|
throw new se(
|
|
@@ -4444,18 +4449,18 @@ let ni = class {
|
|
|
4444
4449
|
return c;
|
|
4445
4450
|
}
|
|
4446
4451
|
p = l.length;
|
|
4447
|
-
let
|
|
4452
|
+
let y = n;
|
|
4448
4453
|
for (; h < p; ) {
|
|
4449
4454
|
const k = l[h++], P = l[h++];
|
|
4450
4455
|
try {
|
|
4451
|
-
|
|
4456
|
+
y = k(y);
|
|
4452
4457
|
} catch (E) {
|
|
4453
4458
|
P.call(this, E);
|
|
4454
4459
|
break;
|
|
4455
4460
|
}
|
|
4456
4461
|
}
|
|
4457
4462
|
try {
|
|
4458
|
-
c = Yr.call(this,
|
|
4463
|
+
c = Yr.call(this, y);
|
|
4459
4464
|
} catch (k) {
|
|
4460
4465
|
return Promise.reject(k);
|
|
4461
4466
|
}
|
|
@@ -4973,7 +4978,7 @@ const X = (t, e) => {
|
|
|
4973
4978
|
}, zm = {}, Lm = { style: { "text-align": "center" } };
|
|
4974
4979
|
function Vm(t, e) {
|
|
4975
4980
|
return m(), S("div", Lm, [...e[0] || (e[0] = [
|
|
4976
|
-
|
|
4981
|
+
b("h1", null, "Страница не найдена", -1)
|
|
4977
4982
|
])]);
|
|
4978
4983
|
}
|
|
4979
4984
|
const lu = /* @__PURE__ */ X(zm, [["render", Vm]]), _m = [
|
|
@@ -6656,7 +6661,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
6656
6661
|
[Ft.M]: "md",
|
|
6657
6662
|
[Ft.L]: "lg",
|
|
6658
6663
|
[Ft.XL]: "xl"
|
|
6659
|
-
}, p = ["xs", "sm", "md", "lg", "xl"],
|
|
6664
|
+
}, p = ["xs", "sm", "md", "lg", "xl"], y = D(() => n.size !== void 0 ? String(n.size) : p.includes(e.size) ? e.size : h[e.size] ?? "md"), k = D(
|
|
6660
6665
|
() => n.flat !== void 0 ? n.flat : ["text", "pag", "text_ano"].includes(e.skin)
|
|
6661
6666
|
), P = D(
|
|
6662
6667
|
() => n.outline !== void 0 ? n.outline : e.skin === "invert"
|
|
@@ -6666,7 +6671,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
6666
6671
|
return (M, x) => (m(), z(f(vn), at(f(i), {
|
|
6667
6672
|
style: f(r),
|
|
6668
6673
|
color: f(c),
|
|
6669
|
-
size: f(
|
|
6674
|
+
size: f(y),
|
|
6670
6675
|
flat: f(k),
|
|
6671
6676
|
outline: f(P),
|
|
6672
6677
|
unelevated: f(E),
|
|
@@ -6854,7 +6859,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
6854
6859
|
const $ = r.size === "sm" ? Ft.S : r.size === "xs" ? Ft.XS : r.size;
|
|
6855
6860
|
return $ === Ft.M ? void 0 : `p-field--${$}`;
|
|
6856
6861
|
}), h = D(() => o.disable ?? r.disabled), p = O(null);
|
|
6857
|
-
function
|
|
6862
|
+
function y() {
|
|
6858
6863
|
var $;
|
|
6859
6864
|
($ = p.value) == null || $.focus();
|
|
6860
6865
|
}
|
|
@@ -6878,7 +6883,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
6878
6883
|
var $;
|
|
6879
6884
|
($ = p.value) == null || $.resetValidation();
|
|
6880
6885
|
}
|
|
6881
|
-
e({ focus:
|
|
6886
|
+
e({ focus: y, blur: k, select: P, getNativeElement: E, validate: T, resetValidation: M });
|
|
6882
6887
|
const x = () => {
|
|
6883
6888
|
i("input", s.value);
|
|
6884
6889
|
}, V = D(() => {
|
|
@@ -7118,13 +7123,13 @@ const ue = /* @__PURE__ */ j({
|
|
|
7118
7123
|
e({ show: () => a(!0), hide: () => a(!1), toggle: () => a(!o.value), opened: o });
|
|
7119
7124
|
const c = an(), h = D(() => {
|
|
7120
7125
|
const p = {};
|
|
7121
|
-
for (const
|
|
7122
|
-
["modelValue", "persistent", "maximized", "transition-show", "transition-hide", "onUpdate:modelValue"].includes(
|
|
7126
|
+
for (const y of Object.keys(c))
|
|
7127
|
+
["modelValue", "persistent", "maximized", "transition-show", "transition-hide", "onUpdate:modelValue"].includes(y) || (p[y] = c[y]);
|
|
7123
7128
|
return p;
|
|
7124
7129
|
});
|
|
7125
|
-
return (p,
|
|
7130
|
+
return (p, y) => (m(), z(f(Pc), at({
|
|
7126
7131
|
modelValue: f(o),
|
|
7127
|
-
"onUpdate:modelValue":
|
|
7132
|
+
"onUpdate:modelValue": y[0] || (y[0] = (k) => Me(o) ? o.value = k : null)
|
|
7128
7133
|
}, f(h), {
|
|
7129
7134
|
persistent: t.persistent,
|
|
7130
7135
|
maximized: t.maximized,
|
|
@@ -7190,15 +7195,15 @@ const ue = /* @__PURE__ */ j({
|
|
|
7190
7195
|
default: C(() => [
|
|
7191
7196
|
g(f(kt), { class: "column items-center q-pt-xl q-pb-sm text-center" }, {
|
|
7192
7197
|
default: C(() => [
|
|
7193
|
-
|
|
7198
|
+
b("div", vg, [
|
|
7194
7199
|
g(f(re), {
|
|
7195
7200
|
name: "delete_outline",
|
|
7196
7201
|
size: "40px",
|
|
7197
7202
|
color: "negative"
|
|
7198
7203
|
})
|
|
7199
7204
|
]),
|
|
7200
|
-
|
|
7201
|
-
|
|
7205
|
+
b("div", yg, U(t.title), 1),
|
|
7206
|
+
b("div", bg, U(t.subtitle), 1)
|
|
7202
7207
|
]),
|
|
7203
7208
|
_: 1
|
|
7204
7209
|
}),
|
|
@@ -7253,7 +7258,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
7253
7258
|
default: C(() => [
|
|
7254
7259
|
g(f(kt), { class: "row items-center q-pb-none" }, {
|
|
7255
7260
|
default: C(() => [
|
|
7256
|
-
|
|
7261
|
+
b("div", wg, [
|
|
7257
7262
|
g(ue, {
|
|
7258
7263
|
flat: "",
|
|
7259
7264
|
round: "",
|
|
@@ -7264,7 +7269,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
7264
7269
|
disable: !0
|
|
7265
7270
|
}, null, 8, ["icon"])
|
|
7266
7271
|
]),
|
|
7267
|
-
|
|
7272
|
+
b("div", Sg, U(t.title), 1),
|
|
7268
7273
|
g(f(_n)),
|
|
7269
7274
|
Je(g(ue, {
|
|
7270
7275
|
flat: "",
|
|
@@ -7334,7 +7339,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
7334
7339
|
labels: {}
|
|
7335
7340
|
},
|
|
7336
7341
|
setup(t) {
|
|
7337
|
-
const e = t, n = D(() => ({ ...In, ...e.labels })), i = D(() => e.presetted ?? 0), s = D(() => e.adapter.emails(e.contact)), o = O(!1), a = O(-1), l = O(null), r = O(""), d = O(""), c = O(!1), h = O(!1), p = O(!1),
|
|
7342
|
+
const e = t, n = D(() => ({ ...In, ...e.labels })), i = D(() => e.presetted ?? 0), s = D(() => e.adapter.emails(e.contact)), o = O(!1), a = O(-1), l = O(null), r = O(""), d = O(""), c = O(!1), h = O(!1), p = O(!1), y = O(!1), k = O(-1), P = async ($) => {
|
|
7338
7343
|
$ && (await navigator.clipboard.writeText($), Y.UI.Notify.Success(n.value.copiedEmail));
|
|
7339
7344
|
}, E = ($) => {
|
|
7340
7345
|
var B, I;
|
|
@@ -7366,13 +7371,13 @@ const ue = /* @__PURE__ */ j({
|
|
|
7366
7371
|
h.value = !1;
|
|
7367
7372
|
}
|
|
7368
7373
|
}, x = ($) => {
|
|
7369
|
-
k.value = $,
|
|
7374
|
+
k.value = $, y.value = !0;
|
|
7370
7375
|
}, V = async () => {
|
|
7371
7376
|
var $, B;
|
|
7372
7377
|
p.value = !0;
|
|
7373
7378
|
try {
|
|
7374
7379
|
const I = s.value[k.value];
|
|
7375
|
-
await e.adapter.removeEmail((B = ($ = e.adapter).emailId) == null ? void 0 : B.call($, I)), s.value.splice(k.value, 1),
|
|
7380
|
+
await e.adapter.removeEmail((B = ($ = e.adapter).emailId) == null ? void 0 : B.call($, I)), s.value.splice(k.value, 1), y.value = !1, Y.UI.Notify.Success(n.value.deleted);
|
|
7376
7381
|
} catch {
|
|
7377
7382
|
Y.UI.Notify.Error("Ошибка при удалении");
|
|
7378
7383
|
} finally {
|
|
@@ -7380,9 +7385,9 @@ const ue = /* @__PURE__ */ j({
|
|
|
7380
7385
|
}
|
|
7381
7386
|
};
|
|
7382
7387
|
return ($, B) => (m(), S("div", Cg, [
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
|
-
|
|
7388
|
+
b("div", kg, [
|
|
7389
|
+
b("div", xg, [
|
|
7390
|
+
b("span", $g, U(f(n).emailsTitle), 1),
|
|
7386
7391
|
f(s).length > 0 ? (m(), S("span", Tg, U(f(s).length), 1)) : G("", !0)
|
|
7387
7392
|
]),
|
|
7388
7393
|
g(ue, {
|
|
@@ -7411,9 +7416,9 @@ const ue = /* @__PURE__ */ j({
|
|
|
7411
7416
|
class: ve(["row items-center justify-between q-pa-sm bg-grey-1 rounded-borders", $.$q.dark.isActive ? "" : "hover-item"]),
|
|
7412
7417
|
style: { border: "1px solid transparent", transition: "all 0.2s ease" }
|
|
7413
7418
|
}, [
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
|
|
7419
|
+
b("div", Pg, [
|
|
7420
|
+
b("div", Rg, [
|
|
7421
|
+
b("div", Ig, U(t.adapter.emailValue(I)), 1),
|
|
7417
7422
|
(Ke = (ke = t.adapter).emailDescription) != null && Ke.call(ke, I) ? (m(), S("div", Mg, U((Xe = (mt = t.adapter).emailDescription) == null ? void 0 : Xe.call(mt, I)), 1)) : G("", !0)
|
|
7418
7423
|
])
|
|
7419
7424
|
]),
|
|
@@ -7435,8 +7440,8 @@ const ue = /* @__PURE__ */ j({
|
|
|
7435
7440
|
color: "grey-4",
|
|
7436
7441
|
class: "q-mb-sm"
|
|
7437
7442
|
}),
|
|
7438
|
-
|
|
7439
|
-
B[4] || (B[4] =
|
|
7443
|
+
b("div", Eg, U(f(n).noEmails), 1),
|
|
7444
|
+
B[4] || (B[4] = b("div", { class: "text-caption text-grey-5 q-mb-sm" }, "Нажмите «Добавить», чтобы указать email", -1)),
|
|
7440
7445
|
g(ue, {
|
|
7441
7446
|
icon: "add",
|
|
7442
7447
|
label: "Добавить email",
|
|
@@ -7449,7 +7454,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
7449
7454
|
])),
|
|
7450
7455
|
g(ho, {
|
|
7451
7456
|
modelValue: f(o),
|
|
7452
|
-
"onUpdate:modelValue": B[2] || (B[2] = (I) =>
|
|
7457
|
+
"onUpdate:modelValue": B[2] || (B[2] = (I) => Me(o) ? o.value = I : null),
|
|
7453
7458
|
icon: "email",
|
|
7454
7459
|
title: "Редактирование email",
|
|
7455
7460
|
saving: f(c),
|
|
@@ -7459,7 +7464,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
7459
7464
|
f(l) ? (m(), z(Ne, {
|
|
7460
7465
|
key: 0,
|
|
7461
7466
|
modelValue: f(r),
|
|
7462
|
-
"onUpdate:modelValue": B[0] || (B[0] = (I) =>
|
|
7467
|
+
"onUpdate:modelValue": B[0] || (B[0] = (I) => Me(r) ? r.value = I : null),
|
|
7463
7468
|
dense: "",
|
|
7464
7469
|
autofocus: "",
|
|
7465
7470
|
label: "Email адрес",
|
|
@@ -7484,7 +7489,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
7484
7489
|
f(l) ? (m(), z(Ne, {
|
|
7485
7490
|
key: 1,
|
|
7486
7491
|
modelValue: f(d),
|
|
7487
|
-
"onUpdate:modelValue": B[1] || (B[1] = (I) =>
|
|
7492
|
+
"onUpdate:modelValue": B[1] || (B[1] = (I) => Me(d) ? d.value = I : null),
|
|
7488
7493
|
dense: "",
|
|
7489
7494
|
label: "Описание (например: Рабочая, Личная)",
|
|
7490
7495
|
outlined: "",
|
|
@@ -7502,8 +7507,8 @@ const ue = /* @__PURE__ */ j({
|
|
|
7502
7507
|
_: 1
|
|
7503
7508
|
}, 8, ["modelValue", "saving"]),
|
|
7504
7509
|
g(fo, {
|
|
7505
|
-
modelValue: f(
|
|
7506
|
-
"onUpdate:modelValue": B[3] || (B[3] = (I) =>
|
|
7510
|
+
modelValue: f(y),
|
|
7511
|
+
"onUpdate:modelValue": B[3] || (B[3] = (I) => Me(y) ? y.value = I : null),
|
|
7507
7512
|
title: "Удалить email адрес?",
|
|
7508
7513
|
subtitle: "Это действие нельзя отменить.",
|
|
7509
7514
|
loading: f(p),
|
|
@@ -7534,7 +7539,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
7534
7539
|
setup(t) {
|
|
7535
7540
|
const e = t, n = D(() => ({ ...In, ...e.labels })), i = D(() => e.presetted ?? 0), s = D(() => e.adapter.phones(e.contact)), o = O(!1), a = O(-1), l = O(null), r = D(
|
|
7536
7541
|
() => l.value ? e.adapter.phoneMask(l.value) : void 0
|
|
7537
|
-
), d = O(""), c = O(""), h = O(!1), p = O(!1),
|
|
7542
|
+
), d = O(""), c = O(""), h = O(!1), p = O(!1), y = O(!1), k = O(!1), P = O(-1), E = async (B) => {
|
|
7538
7543
|
B && (await navigator.clipboard.writeText(B), Y.UI.Notify.Success(n.value.copiedNumber));
|
|
7539
7544
|
}, T = (B) => {
|
|
7540
7545
|
var I, L;
|
|
@@ -7569,20 +7574,20 @@ const ue = /* @__PURE__ */ j({
|
|
|
7569
7574
|
P.value = B, k.value = !0;
|
|
7570
7575
|
}, $ = async () => {
|
|
7571
7576
|
var B, I;
|
|
7572
|
-
|
|
7577
|
+
y.value = !0;
|
|
7573
7578
|
try {
|
|
7574
7579
|
const L = s.value[P.value];
|
|
7575
7580
|
await e.adapter.removePhone((I = (B = e.adapter).phoneId) == null ? void 0 : I.call(B, L)), s.value.splice(P.value, 1), k.value = !1, Y.UI.Notify.Success(n.value.deleted);
|
|
7576
7581
|
} catch {
|
|
7577
7582
|
Y.UI.Notify.Error("Ошибка при удалении");
|
|
7578
7583
|
} finally {
|
|
7579
|
-
|
|
7584
|
+
y.value = !1;
|
|
7580
7585
|
}
|
|
7581
7586
|
};
|
|
7582
7587
|
return (B, I) => (m(), S("div", Og, [
|
|
7583
|
-
|
|
7584
|
-
|
|
7585
|
-
|
|
7588
|
+
b("div", Dg, [
|
|
7589
|
+
b("div", zg, [
|
|
7590
|
+
b("span", Lg, U(f(n).phonesTitle), 1),
|
|
7586
7591
|
f(s).length > 0 ? (m(), S("span", Vg, U(f(s).length), 1)) : G("", !0)
|
|
7587
7592
|
]),
|
|
7588
7593
|
g(ue, {
|
|
@@ -7611,9 +7616,9 @@ const ue = /* @__PURE__ */ j({
|
|
|
7611
7616
|
class: ve(["row items-center justify-between q-pa-sm bg-grey-1 rounded-borders", B.$q.dark.isActive ? "" : "hover-item"]),
|
|
7612
7617
|
style: { border: "1px solid transparent", transition: "all 0.2s ease" }
|
|
7613
7618
|
}, [
|
|
7614
|
-
|
|
7615
|
-
|
|
7616
|
-
|
|
7619
|
+
b("div", _g, [
|
|
7620
|
+
b("div", Ug, [
|
|
7621
|
+
b("div", Bg, U(t.adapter.phoneNumber(L)), 1),
|
|
7617
7622
|
(mt = (Ke = t.adapter).phoneDescription) != null && mt.call(Ke, L) ? (m(), S("div", qg, U((rt = (Xe = t.adapter).phoneDescription) == null ? void 0 : rt.call(Xe, L)), 1)) : G("", !0)
|
|
7618
7623
|
])
|
|
7619
7624
|
]),
|
|
@@ -7635,8 +7640,8 @@ const ue = /* @__PURE__ */ j({
|
|
|
7635
7640
|
color: "grey-4",
|
|
7636
7641
|
class: "q-mb-sm"
|
|
7637
7642
|
}),
|
|
7638
|
-
|
|
7639
|
-
I[4] || (I[4] =
|
|
7643
|
+
b("div", Hg, U(f(n).noPhones), 1),
|
|
7644
|
+
I[4] || (I[4] = b("div", { class: "text-caption text-grey-5 q-mb-sm" }, "Нажмите «Добавить», чтобы указать номер", -1)),
|
|
7640
7645
|
g(ue, {
|
|
7641
7646
|
icon: "add",
|
|
7642
7647
|
label: "Добавить телефон",
|
|
@@ -7649,7 +7654,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
7649
7654
|
])),
|
|
7650
7655
|
g(ho, {
|
|
7651
7656
|
modelValue: f(o),
|
|
7652
|
-
"onUpdate:modelValue": I[2] || (I[2] = (L) =>
|
|
7657
|
+
"onUpdate:modelValue": I[2] || (I[2] = (L) => Me(o) ? o.value = L : null),
|
|
7653
7658
|
icon: "phone",
|
|
7654
7659
|
title: "Редактирование телефона",
|
|
7655
7660
|
saving: f(h),
|
|
@@ -7659,7 +7664,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
7659
7664
|
f(l) ? (m(), z(Ne, {
|
|
7660
7665
|
key: 0,
|
|
7661
7666
|
modelValue: f(d),
|
|
7662
|
-
"onUpdate:modelValue": I[0] || (I[0] = (L) =>
|
|
7667
|
+
"onUpdate:modelValue": I[0] || (I[0] = (L) => Me(d) ? d.value = L : null),
|
|
7663
7668
|
mask: f(r),
|
|
7664
7669
|
dense: "",
|
|
7665
7670
|
autofocus: "",
|
|
@@ -7681,7 +7686,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
7681
7686
|
f(l) && f(a) >= f(i) ? (m(), z(Ne, {
|
|
7682
7687
|
key: 1,
|
|
7683
7688
|
modelValue: f(c),
|
|
7684
|
-
"onUpdate:modelValue": I[1] || (I[1] = (L) =>
|
|
7689
|
+
"onUpdate:modelValue": I[1] || (I[1] = (L) => Me(c) ? c.value = L : null),
|
|
7685
7690
|
dense: "",
|
|
7686
7691
|
label: "Описание (например: Рабочий, Личный)",
|
|
7687
7692
|
outlined: "",
|
|
@@ -7700,10 +7705,10 @@ const ue = /* @__PURE__ */ j({
|
|
|
7700
7705
|
}, 8, ["modelValue", "saving"]),
|
|
7701
7706
|
g(fo, {
|
|
7702
7707
|
modelValue: f(k),
|
|
7703
|
-
"onUpdate:modelValue": I[3] || (I[3] = (L) =>
|
|
7708
|
+
"onUpdate:modelValue": I[3] || (I[3] = (L) => Me(k) ? k.value = L : null),
|
|
7704
7709
|
title: "Удалить телефонный номер?",
|
|
7705
7710
|
subtitle: "Это действие нельзя отменить.",
|
|
7706
|
-
loading: f(
|
|
7711
|
+
loading: f(y),
|
|
7707
7712
|
onConfirm: $
|
|
7708
7713
|
}, null, 8, ["modelValue", "loading"])
|
|
7709
7714
|
]));
|
|
@@ -7736,11 +7741,11 @@ const ue = /* @__PURE__ */ j({
|
|
|
7736
7741
|
style: J({ margin: t.margin })
|
|
7737
7742
|
}, {
|
|
7738
7743
|
default: C(() => [
|
|
7739
|
-
|
|
7744
|
+
b("div", {
|
|
7740
7745
|
class: "row items-center cursor-pointer q-py-sm q-px-md bg-grey-1",
|
|
7741
7746
|
onClick: l
|
|
7742
7747
|
}, [
|
|
7743
|
-
|
|
7748
|
+
b("div", Gg, [
|
|
7744
7749
|
g(ue, {
|
|
7745
7750
|
flat: "",
|
|
7746
7751
|
round: "",
|
|
@@ -7749,11 +7754,11 @@ const ue = /* @__PURE__ */ j({
|
|
|
7749
7754
|
size: "sm",
|
|
7750
7755
|
color: "grey-6"
|
|
7751
7756
|
}, null, 8, ["icon"]),
|
|
7752
|
-
|
|
7757
|
+
b("span", Wg, U(t.title), 1),
|
|
7753
7758
|
f(i).length + f(s).length > 0 ? (m(), S("span", Yg, U(f(i).length + f(s).length), 1)) : G("", !0)
|
|
7754
7759
|
]),
|
|
7755
7760
|
g(f(_n)),
|
|
7756
|
-
|
|
7761
|
+
b("div", {
|
|
7757
7762
|
class: "row items-center q-gutter-xs",
|
|
7758
7763
|
onClick: c[0] || (c[0] = Ye(() => {
|
|
7759
7764
|
}, ["stop"]))
|
|
@@ -7782,7 +7787,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
7782
7787
|
]),
|
|
7783
7788
|
g(f(Rc), null, {
|
|
7784
7789
|
default: C(() => [
|
|
7785
|
-
Je(
|
|
7790
|
+
Je(b("div", null, [
|
|
7786
7791
|
g(f(Zi)),
|
|
7787
7792
|
g(f(kt), { class: "q-pt-xs q-pb-md q-px-md" }, {
|
|
7788
7793
|
default: C(() => [
|
|
@@ -7830,7 +7835,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
7830
7835
|
presetted: t.phonesPresetted,
|
|
7831
7836
|
labels: f(e)
|
|
7832
7837
|
}, null, 8, ["contact", "adapter", "presetted", "labels"]),
|
|
7833
|
-
i[0] || (i[0] =
|
|
7838
|
+
i[0] || (i[0] = b("div", { class: "edit-sections-divider" }, null, -1)),
|
|
7834
7839
|
g(Li, {
|
|
7835
7840
|
contact: t.contact,
|
|
7836
7841
|
adapter: t.adapter,
|
|
@@ -7892,7 +7897,7 @@ const ue = /* @__PURE__ */ j({
|
|
|
7892
7897
|
adapter: t.adapter,
|
|
7893
7898
|
labels: f(n)
|
|
7894
7899
|
}, null, 8, ["contact", "adapter", "labels"]),
|
|
7895
|
-
s[0] || (s[0] =
|
|
7900
|
+
s[0] || (s[0] = b("div", { class: "view-sections-divider" }, null, -1)),
|
|
7896
7901
|
g(Li, {
|
|
7897
7902
|
contact: t.contact,
|
|
7898
7903
|
adapter: t.adapter,
|
|
@@ -8052,8 +8057,8 @@ const Au = /* @__PURE__ */ j({
|
|
|
8052
8057
|
}), r = D(() => {
|
|
8053
8058
|
const { from: h, to: p } = l.value;
|
|
8054
8059
|
if (h && p) {
|
|
8055
|
-
const
|
|
8056
|
-
return `${
|
|
8060
|
+
const y = (k) => k.toString().padStart(2, "0");
|
|
8061
|
+
return `${y(h.day)}.${y(h.month)}.${h.year} – ${y(p.day)}.${y(p.month)}.${p.year}`;
|
|
8057
8062
|
}
|
|
8058
8063
|
return "";
|
|
8059
8064
|
}), d = (h) => {
|
|
@@ -8062,7 +8067,7 @@ const Au = /* @__PURE__ */ j({
|
|
|
8062
8067
|
s.removeF(n.model), l.value = {}, i("load");
|
|
8063
8068
|
};
|
|
8064
8069
|
return (h, p) => {
|
|
8065
|
-
const
|
|
8070
|
+
const y = Pa("close-popup");
|
|
8066
8071
|
return m(), z(Ne, {
|
|
8067
8072
|
"model-value": f(r),
|
|
8068
8073
|
label: t.label,
|
|
@@ -8079,7 +8084,7 @@ const Au = /* @__PURE__ */ j({
|
|
|
8079
8084
|
default: C(() => [
|
|
8080
8085
|
g(f(Ci), {
|
|
8081
8086
|
modelValue: f(o),
|
|
8082
|
-
"onUpdate:modelValue": p[1] || (p[1] = (k) =>
|
|
8087
|
+
"onUpdate:modelValue": p[1] || (p[1] = (k) => Me(o) ? o.value = k : null),
|
|
8083
8088
|
cover: "",
|
|
8084
8089
|
"transition-show": "scale",
|
|
8085
8090
|
"transition-hide": "scale"
|
|
@@ -8087,19 +8092,19 @@ const Au = /* @__PURE__ */ j({
|
|
|
8087
8092
|
default: C(() => [
|
|
8088
8093
|
g(f(Ks), {
|
|
8089
8094
|
modelValue: f(l),
|
|
8090
|
-
"onUpdate:modelValue": p[0] || (p[0] = (k) =>
|
|
8095
|
+
"onUpdate:modelValue": p[0] || (p[0] = (k) => Me(l) ? l.value = k : null),
|
|
8091
8096
|
range: "",
|
|
8092
8097
|
title: t.label,
|
|
8093
8098
|
onRangeEnd: d
|
|
8094
8099
|
}, {
|
|
8095
8100
|
default: C(() => [
|
|
8096
|
-
|
|
8101
|
+
b("div", dv, [
|
|
8097
8102
|
Je(g(ue, {
|
|
8098
8103
|
label: "Закрыть",
|
|
8099
8104
|
color: "primary",
|
|
8100
8105
|
flat: ""
|
|
8101
8106
|
}, null, 512), [
|
|
8102
|
-
[
|
|
8107
|
+
[y]
|
|
8103
8108
|
]),
|
|
8104
8109
|
Je(g(ue, {
|
|
8105
8110
|
label: "Очистить",
|
|
@@ -8107,7 +8112,7 @@ const Au = /* @__PURE__ */ j({
|
|
|
8107
8112
|
flat: "",
|
|
8108
8113
|
onClick: c
|
|
8109
8114
|
}, null, 512), [
|
|
8110
|
-
[
|
|
8115
|
+
[y]
|
|
8111
8116
|
])
|
|
8112
8117
|
])
|
|
8113
8118
|
]),
|
|
@@ -8135,41 +8140,45 @@ const Au = /* @__PURE__ */ j({
|
|
|
8135
8140
|
emits: ["input"],
|
|
8136
8141
|
setup(t, { expose: e, emit: n }) {
|
|
8137
8142
|
const i = t, s = n, o = Cn(), a = O(), l = D(() => {
|
|
8138
|
-
const
|
|
8139
|
-
return o.f.find((
|
|
8143
|
+
const h = i.model;
|
|
8144
|
+
return o.f.find((y) => y.col === h.col && y.model === h.model) ?? h;
|
|
8140
8145
|
}), r = D({
|
|
8141
8146
|
get: () => l.value.value1 ?? "",
|
|
8142
8147
|
// ⚠️ `liveModel` — computed, `.value` у него нет; пишем в найденный объект
|
|
8143
8148
|
// FTSP, иначе правка уйдёт в пустоту.
|
|
8144
|
-
set: (
|
|
8145
|
-
i.model.value1 =
|
|
8146
|
-
const
|
|
8147
|
-
|
|
8149
|
+
set: (h) => {
|
|
8150
|
+
i.model.value1 = h;
|
|
8151
|
+
const p = o.f.find((y) => y.col === i.model.col && y.model === i.model.model);
|
|
8152
|
+
p && p !== i.model && (p.value1 = h);
|
|
8148
8153
|
}
|
|
8149
|
-
}), d = () => {
|
|
8150
|
-
|
|
8154
|
+
}), d = (h) => {
|
|
8155
|
+
const p = h == null ? "" : String(h);
|
|
8156
|
+
r.value = p, c(p);
|
|
8157
|
+
}, c = (h = r.value) => {
|
|
8158
|
+
i.model.value1 = h;
|
|
8159
|
+
const p = o.f.filter((y) => y.model === i.model.model && y.col === i.model.col);
|
|
8160
|
+
for (const y of [...p])
|
|
8161
|
+
o.removeF(y);
|
|
8162
|
+
h && o.setF(i.model), s("input");
|
|
8151
8163
|
};
|
|
8152
8164
|
return e({ focus: () => {
|
|
8153
|
-
var
|
|
8154
|
-
return (
|
|
8155
|
-
} }), (
|
|
8165
|
+
var h, p;
|
|
8166
|
+
return (p = (h = a.value) == null ? void 0 : h.focus) == null ? void 0 : p.call(h);
|
|
8167
|
+
} }), (h, p) => (m(), z(Ne, {
|
|
8156
8168
|
ref_key: "inputRef",
|
|
8157
8169
|
ref: a,
|
|
8158
|
-
|
|
8159
|
-
"onUpdate:modelValue": [
|
|
8160
|
-
h[0] || (h[0] = (p) => Ie(r) ? r.value = p : null),
|
|
8161
|
-
d
|
|
8162
|
-
],
|
|
8170
|
+
"model-value": f(r),
|
|
8163
8171
|
debounce: t.debounce,
|
|
8164
8172
|
placeholder: t.placeholder,
|
|
8165
8173
|
style: J({ width: t.width }),
|
|
8166
|
-
"input-class": "text-body1"
|
|
8174
|
+
"input-class": "text-body1",
|
|
8175
|
+
"onUpdate:modelValue": d
|
|
8167
8176
|
}, {
|
|
8168
8177
|
prepend: C(() => [
|
|
8169
8178
|
g(f(re), { name: "search" })
|
|
8170
8179
|
]),
|
|
8171
8180
|
_: 1
|
|
8172
|
-
}, 8, ["
|
|
8181
|
+
}, 8, ["model-value", "debounce", "placeholder", "style"]));
|
|
8173
8182
|
}
|
|
8174
8183
|
}), Du = /* @__PURE__ */ j({
|
|
8175
8184
|
__name: "PFilterInputOr",
|
|
@@ -8182,38 +8191,43 @@ const Au = /* @__PURE__ */ j({
|
|
|
8182
8191
|
emits: ["input"],
|
|
8183
8192
|
setup(t, { emit: e }) {
|
|
8184
8193
|
const n = t, i = e, s = Cn(), o = D(() => {
|
|
8185
|
-
const
|
|
8186
|
-
return
|
|
8194
|
+
const c = n.models[0], h = s.f.find((p) => p.col === (c == null ? void 0 : c.col) && p.model === (c == null ? void 0 : c.model));
|
|
8195
|
+
return h && (h.value1 ?? "") !== "" ? h : c ?? h;
|
|
8187
8196
|
}), a = D({
|
|
8188
8197
|
get: () => {
|
|
8189
|
-
var
|
|
8190
|
-
return ((
|
|
8198
|
+
var c;
|
|
8199
|
+
return ((c = o.value) == null ? void 0 : c.value1) ?? "";
|
|
8191
8200
|
},
|
|
8192
|
-
set: (
|
|
8193
|
-
n.models.forEach((
|
|
8194
|
-
|
|
8201
|
+
set: (c) => {
|
|
8202
|
+
n.models.forEach((p) => {
|
|
8203
|
+
p.value1 = c;
|
|
8195
8204
|
});
|
|
8196
|
-
const
|
|
8197
|
-
|
|
8205
|
+
const h = o.value;
|
|
8206
|
+
h && !n.models.includes(h) && (h.value1 = c);
|
|
8198
8207
|
}
|
|
8199
|
-
}), l = () => {
|
|
8200
|
-
const
|
|
8201
|
-
|
|
8202
|
-
|
|
8208
|
+
}), l = (c) => {
|
|
8209
|
+
const h = c == null ? "" : String(c);
|
|
8210
|
+
a.value = h, r(h);
|
|
8211
|
+
}, r = (c = a.value) => {
|
|
8212
|
+
const h = c.trim() !== "";
|
|
8213
|
+
n.models.forEach((p) => {
|
|
8214
|
+
const y = s.f.filter((k) => k.model === p.model && k.col === p.col);
|
|
8215
|
+
for (const k of [...y])
|
|
8216
|
+
s.removeF(k);
|
|
8217
|
+
h && s.setF(p);
|
|
8203
8218
|
}), i("input");
|
|
8204
|
-
},
|
|
8205
|
-
a.value = "",
|
|
8219
|
+
}, d = () => {
|
|
8220
|
+
a.value = "", s.f.filter((c) => n.models.some((h) => h.model === c.model && h.col === c.col)).forEach((c) => {
|
|
8221
|
+
c.value1 = "";
|
|
8222
|
+
}), r();
|
|
8206
8223
|
};
|
|
8207
|
-
return (
|
|
8208
|
-
|
|
8209
|
-
"onUpdate:modelValue": [
|
|
8210
|
-
c[0] || (c[0] = (h) => a.value = h),
|
|
8211
|
-
l
|
|
8212
|
-
],
|
|
8224
|
+
return (c, h) => (m(), z(Ne, {
|
|
8225
|
+
"model-value": a.value,
|
|
8213
8226
|
debounce: t.debounce,
|
|
8214
8227
|
placeholder: t.placeholder,
|
|
8215
8228
|
style: J({ width: t.width }),
|
|
8216
|
-
"input-class": "text-body1"
|
|
8229
|
+
"input-class": "text-body1",
|
|
8230
|
+
"onUpdate:modelValue": l
|
|
8217
8231
|
}, di({
|
|
8218
8232
|
prepend: C(() => [
|
|
8219
8233
|
g(f(re), { name: "search" })
|
|
@@ -8226,12 +8240,12 @@ const Au = /* @__PURE__ */ j({
|
|
|
8226
8240
|
g(f(re), {
|
|
8227
8241
|
name: "close",
|
|
8228
8242
|
class: "cursor-pointer",
|
|
8229
|
-
onClick:
|
|
8243
|
+
onClick: d
|
|
8230
8244
|
})
|
|
8231
8245
|
]),
|
|
8232
8246
|
key: "0"
|
|
8233
8247
|
} : void 0
|
|
8234
|
-
]), 1032, ["
|
|
8248
|
+
]), 1032, ["model-value", "debounce", "placeholder", "style"]));
|
|
8235
8249
|
}
|
|
8236
8250
|
}), sn = /* @__PURE__ */ j({
|
|
8237
8251
|
inheritAttrs: !1,
|
|
@@ -8304,7 +8318,7 @@ const Au = /* @__PURE__ */ j({
|
|
|
8304
8318
|
($ = o.value) == null || $.resetValidation();
|
|
8305
8319
|
}
|
|
8306
8320
|
e({ focus: a, blur: l, showPopup: r, hidePopup: d, validate: c, resetValidation: h });
|
|
8307
|
-
const p = an(),
|
|
8321
|
+
const p = an(), y = D(() => typeof p.id == "string" ? p.id : void 0), k = D(() => {
|
|
8308
8322
|
const $ = {};
|
|
8309
8323
|
for (const B of Object.keys(p))
|
|
8310
8324
|
B === "id" || B === "disable" || B === "onUpdate:modelValue" || B === "onUpdate:model-value" || B === "onChange" || B === "onchange" || ($[B] = p[B]);
|
|
@@ -8326,7 +8340,7 @@ const Au = /* @__PURE__ */ j({
|
|
|
8326
8340
|
modelValue: i.value,
|
|
8327
8341
|
"onUpdate:modelValue": B[0] || (B[0] = (I) => i.value = I)
|
|
8328
8342
|
}, f(k), {
|
|
8329
|
-
for: f(
|
|
8343
|
+
for: f(y),
|
|
8330
8344
|
options: t.options,
|
|
8331
8345
|
label: t.label || void 0,
|
|
8332
8346
|
placeholder: t.placeholder,
|
|
@@ -8524,7 +8538,7 @@ const Au = /* @__PURE__ */ j({
|
|
|
8524
8538
|
return;
|
|
8525
8539
|
}
|
|
8526
8540
|
p(() => {
|
|
8527
|
-
a.value = o.value.filter((
|
|
8541
|
+
a.value = o.value.filter((y) => Y.H.Strings.SearchInFields(h, [y.label]));
|
|
8528
8542
|
});
|
|
8529
8543
|
}, c = () => {
|
|
8530
8544
|
if (r.value && r.value.length > 0)
|
|
@@ -8538,7 +8552,7 @@ const Au = /* @__PURE__ */ j({
|
|
|
8538
8552
|
return (h, p) => (m(), z(sn, {
|
|
8539
8553
|
modelValue: f(r),
|
|
8540
8554
|
"onUpdate:modelValue": [
|
|
8541
|
-
p[0] || (p[0] = (
|
|
8555
|
+
p[0] || (p[0] = (y) => Me(r) ? r.value = y : null),
|
|
8542
8556
|
c
|
|
8543
8557
|
],
|
|
8544
8558
|
"use-input": "",
|
|
@@ -8624,17 +8638,17 @@ const Au = /* @__PURE__ */ j({
|
|
|
8624
8638
|
},
|
|
8625
8639
|
setup(t) {
|
|
8626
8640
|
return (e, n) => (m(), S("div", fv, [
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
-
|
|
8630
|
-
|
|
8641
|
+
b("div", hv, [
|
|
8642
|
+
b("div", mv, [
|
|
8643
|
+
b("div", pv, [
|
|
8644
|
+
b("div", null, [
|
|
8631
8645
|
N(e.$slots, "header-left-top", {}, void 0, !0)
|
|
8632
8646
|
]),
|
|
8633
|
-
|
|
8647
|
+
b("div", gv, [
|
|
8634
8648
|
N(e.$slots, "header-left-bottom", {}, void 0, !0)
|
|
8635
8649
|
])
|
|
8636
8650
|
]),
|
|
8637
|
-
|
|
8651
|
+
b("div", {
|
|
8638
8652
|
class: "p-filter-wrapper__right",
|
|
8639
8653
|
style: J({
|
|
8640
8654
|
maxWidth: `${t.headerRightMaxWidth}${typeof t.headerRightMaxWidth == "number" ? "px" : ""}`,
|
|
@@ -8645,8 +8659,8 @@ const Au = /* @__PURE__ */ j({
|
|
|
8645
8659
|
], 4)
|
|
8646
8660
|
])
|
|
8647
8661
|
]),
|
|
8648
|
-
|
|
8649
|
-
|
|
8662
|
+
b("div", vv, [
|
|
8663
|
+
b("div", yv, [
|
|
8650
8664
|
N(e.$slots, "footer", {}, void 0, !0)
|
|
8651
8665
|
])
|
|
8652
8666
|
])
|
|
@@ -8704,11 +8718,11 @@ const wv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8704
8718
|
const p = D(() => {
|
|
8705
8719
|
const x = h.value;
|
|
8706
8720
|
return !x || x.length < 10 || fu(i.invalidMessage, !0)(x) === !0 ? "" : i.invalidMessage;
|
|
8707
|
-
}),
|
|
8721
|
+
}), y = O(!1);
|
|
8708
8722
|
Ae(o, (x) => {
|
|
8709
8723
|
r(x);
|
|
8710
8724
|
const V = d(x);
|
|
8711
|
-
V !== h.value && (
|
|
8725
|
+
V !== h.value && (y.value = !0, h.value = V, y.value = !1);
|
|
8712
8726
|
});
|
|
8713
8727
|
const k = (x) => {
|
|
8714
8728
|
if (!x) {
|
|
@@ -8728,13 +8742,13 @@ const wv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8728
8742
|
B && (o.value = B, s("input", B));
|
|
8729
8743
|
};
|
|
8730
8744
|
Ae(h, (x) => {
|
|
8731
|
-
|
|
8745
|
+
y.value || k(x);
|
|
8732
8746
|
});
|
|
8733
8747
|
const P = (x) => {
|
|
8734
8748
|
k(typeof x == "number" ? String(x) : x);
|
|
8735
8749
|
}, E = () => {
|
|
8736
8750
|
const x = h.value;
|
|
8737
|
-
!x || x.length === 10 && !!c(x) || (
|
|
8751
|
+
!x || x.length === 10 && !!c(x) || (y.value = !0, h.value = d(o.value), y.value = !1), h.value !== d(o.value) && s("blur", o.value);
|
|
8738
8752
|
}, T = async () => {
|
|
8739
8753
|
await Ji(), await Ji(), s("blur", o.value);
|
|
8740
8754
|
}, M = {
|
|
@@ -8751,7 +8765,7 @@ const wv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8751
8765
|
return (x, V) => (m(), z(Ne, {
|
|
8752
8766
|
modelValue: f(h),
|
|
8753
8767
|
"onUpdate:modelValue": [
|
|
8754
|
-
V[1] || (V[1] = ($) =>
|
|
8768
|
+
V[1] || (V[1] = ($) => Me(h) ? h.value = $ : null),
|
|
8755
8769
|
P
|
|
8756
8770
|
],
|
|
8757
8771
|
class: "fit",
|
|
@@ -8788,7 +8802,7 @@ const wv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8788
8802
|
g(f(Ks), {
|
|
8789
8803
|
modelValue: f(h),
|
|
8790
8804
|
"onUpdate:modelValue": [
|
|
8791
|
-
V[0] || (V[0] = ($) =>
|
|
8805
|
+
V[0] || (V[0] = ($) => Me(h) ? h.value = $ : null),
|
|
8792
8806
|
T
|
|
8793
8807
|
],
|
|
8794
8808
|
mask: Kr,
|
|
@@ -8796,7 +8810,7 @@ const wv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8796
8810
|
locale: M
|
|
8797
8811
|
}, {
|
|
8798
8812
|
default: C(() => [
|
|
8799
|
-
|
|
8813
|
+
b("div", Sv, [
|
|
8800
8814
|
Je(g(ue, {
|
|
8801
8815
|
label: "Готово",
|
|
8802
8816
|
color: "primary",
|
|
@@ -8841,20 +8855,20 @@ const wv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8841
8855
|
height: t.size
|
|
8842
8856
|
})
|
|
8843
8857
|
}, [...n[0] || (n[0] = [
|
|
8844
|
-
|
|
8858
|
+
b("use", { "xlink:href": "#minus" }, null, -1)
|
|
8845
8859
|
])], 6)),
|
|
8846
|
-
n[1] || (n[1] =
|
|
8860
|
+
n[1] || (n[1] = b("svg", {
|
|
8847
8861
|
width: "0",
|
|
8848
8862
|
height: "0",
|
|
8849
8863
|
class: "hidden"
|
|
8850
8864
|
}, [
|
|
8851
|
-
|
|
8865
|
+
b("symbol", {
|
|
8852
8866
|
id: "minus",
|
|
8853
8867
|
fill: "none",
|
|
8854
8868
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8855
8869
|
viewBox: "0 0 25 25"
|
|
8856
8870
|
}, [
|
|
8857
|
-
|
|
8871
|
+
b("path", {
|
|
8858
8872
|
d: "M19.4995 13.8856H5.53125V11.8926H19.4995V13.8856Z",
|
|
8859
8873
|
fill: "currentColor"
|
|
8860
8874
|
})
|
|
@@ -8879,20 +8893,20 @@ const wv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8879
8893
|
height: t.size
|
|
8880
8894
|
})
|
|
8881
8895
|
}, [...n[0] || (n[0] = [
|
|
8882
|
-
|
|
8896
|
+
b("use", { "xlink:href": "#plus" }, null, -1)
|
|
8883
8897
|
])], 6)),
|
|
8884
|
-
n[1] || (n[1] =
|
|
8898
|
+
n[1] || (n[1] = b("svg", {
|
|
8885
8899
|
width: "0",
|
|
8886
8900
|
height: "0",
|
|
8887
8901
|
class: "hidden"
|
|
8888
8902
|
}, [
|
|
8889
|
-
|
|
8903
|
+
b("symbol", {
|
|
8890
8904
|
id: "plus",
|
|
8891
8905
|
fill: "none",
|
|
8892
8906
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8893
8907
|
viewBox: "0 0 25 25"
|
|
8894
8908
|
}, [
|
|
8895
|
-
|
|
8909
|
+
b("path", {
|
|
8896
8910
|
d: "M11.3263 19.8672V13.8881H5.33984V11.8951H11.3263V5.91602H13.3217V11.8951H19.3081V13.8881H13.3217V19.8672H11.3263Z",
|
|
8897
8911
|
fill: "currentColor"
|
|
8898
8912
|
})
|
|
@@ -8930,7 +8944,7 @@ const wv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8930
8944
|
return $.includes(".") ? $.split(".")[1].length : 0;
|
|
8931
8945
|
}, r = l(), d = vt(t, "modelValue"), h = (($) => Math.min(Math.max($, a.min), a.max))(d.value);
|
|
8932
8946
|
h !== d.value && (d.value = h);
|
|
8933
|
-
const p = O(h.toFixed(l())),
|
|
8947
|
+
const p = O(h.toFixed(l())), y = D(() => {
|
|
8934
8948
|
const $ = {};
|
|
8935
8949
|
return a.margin && ($.margin = a.margin), a.padding && ($.padding = a.padding), $;
|
|
8936
8950
|
}), k = ($) => {
|
|
@@ -8950,7 +8964,7 @@ const wv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8950
8964
|
type: "number",
|
|
8951
8965
|
disable: t.disabled,
|
|
8952
8966
|
"input-style": { color: t.disabled ? "var(--font-secondary-disabled-color)" : t.color, textAlign: "center" },
|
|
8953
|
-
style: f(
|
|
8967
|
+
style: f(y),
|
|
8954
8968
|
outlined: "",
|
|
8955
8969
|
dense: "",
|
|
8956
8970
|
"hide-bottom-space": "",
|
|
@@ -9116,18 +9130,18 @@ const Rv = { class: "p-form-field" }, Iv = { key: 5 }, Mv = { key: 6 }, po = /*
|
|
|
9116
9130
|
emits: ["update:fill"],
|
|
9117
9131
|
setup(t) {
|
|
9118
9132
|
const e = t, n = vt(t, "fill"), i = D(() => {
|
|
9119
|
-
var
|
|
9120
|
-
return String(((
|
|
9121
|
-
}), s = D(() => i.value === "string"), o = D(() => i.value === "text"), a = D(() => i.value === "number"), l = D(() => i.value === "date" || i.value === "dateTime"), r = D(() => i.value === "boolean"), d = D(() => i.value === "radio"), c = D(() => i.value === "set"), h = (
|
|
9133
|
+
var y;
|
|
9134
|
+
return String(((y = e.field.valueType) == null ? void 0 : y.name) || "string");
|
|
9135
|
+
}), s = D(() => i.value === "string"), o = D(() => i.value === "text"), a = D(() => i.value === "number"), l = D(() => i.value === "date" || i.value === "dateTime"), r = D(() => i.value === "boolean"), d = D(() => i.value === "radio"), c = D(() => i.value === "set"), h = (y) => {
|
|
9122
9136
|
var k;
|
|
9123
|
-
return !!((k = n.value.selectedAnswerVariants) != null && k.some((P) => P.answerVariantId ===
|
|
9124
|
-
}, p = (
|
|
9125
|
-
if (!
|
|
9137
|
+
return !!((k = n.value.selectedAnswerVariants) != null && k.some((P) => P.answerVariantId === y));
|
|
9138
|
+
}, p = (y, k) => {
|
|
9139
|
+
if (!y)
|
|
9126
9140
|
return;
|
|
9127
9141
|
const P = n.value.selectedAnswerVariants;
|
|
9128
|
-
k && !P.some((E) => E.answerVariantId ===
|
|
9142
|
+
k && !P.some((E) => E.answerVariantId === y) ? P.push(Mn.Create(n.value.id, y)) : k || (n.value.selectedAnswerVariants = P.filter((E) => E.answerVariantId !== y)), n.value.filled = n.value.selectedAnswerVariants.length > 0;
|
|
9129
9143
|
};
|
|
9130
|
-
return (
|
|
9144
|
+
return (y, k) => (m(), S("div", Rv, [
|
|
9131
9145
|
s.value ? (m(), z(Ne, {
|
|
9132
9146
|
key: 0,
|
|
9133
9147
|
"model-value": n.value.valueString,
|
|
@@ -9436,7 +9450,7 @@ var Qo = ln("vue-handler-wrapper"), Yu = { name: "HandlerWrapper", components: {
|
|
|
9436
9450
|
return { root: t, draggable: Qo("draggable") };
|
|
9437
9451
|
} }, emits: ["leave", "enter", "drag", "drag-end"] };
|
|
9438
9452
|
Yu.render = function(t, e, n, i, s, o) {
|
|
9439
|
-
var a =
|
|
9453
|
+
var a = Ie("DraggableElement");
|
|
9440
9454
|
return m(), z("div", { class: o.classes.root }, [g(a, { class: o.classes.draggable, onDrag: e[1] || (e[1] = function(l) {
|
|
9441
9455
|
return t.$emit("drag", l);
|
|
9442
9456
|
}), onDragEnd: e[2] || (e[2] = function(l) {
|
|
@@ -9454,7 +9468,7 @@ var Dv = ln("vue-line-wrapper"), Qu = { name: "LineWrapper", components: { Dragg
|
|
|
9454
9468
|
return Dv((Zt(t = {}, this.position, !0), Zt(t, "disabled", this.disabled), t));
|
|
9455
9469
|
} }, emits: ["leave", "enter", "drag", "drag-end"] };
|
|
9456
9470
|
Qu.render = function(t, e, n, i, s, o) {
|
|
9457
|
-
var a =
|
|
9471
|
+
var a = Ie("DraggableElement");
|
|
9458
9472
|
return m(), z(a, { class: o.classname, onDrag: e[1] || (e[1] = function(l) {
|
|
9459
9473
|
return t.$emit("drag", l);
|
|
9460
9474
|
}), onDragEnd: e[2] || (e[2] = function(l) {
|
|
@@ -9591,8 +9605,8 @@ function Bv(t) {
|
|
|
9591
9605
|
}, d = ge({}, e);
|
|
9592
9606
|
return (Array.isArray(n) ? n : [n]).forEach(function(c) {
|
|
9593
9607
|
var h = {};
|
|
9594
|
-
gt((h = typeof c == "function" ? c({ coordinates: d, imageSize: i, visibleArea: l }) : c).width) && gt(h.height) || (d = function(p,
|
|
9595
|
-
var k = ge(ge(ge({}, p), Pn({ width:
|
|
9608
|
+
gt((h = typeof c == "function" ? c({ coordinates: d, imageSize: i, visibleArea: l }) : c).width) && gt(h.height) || (d = function(p, y) {
|
|
9609
|
+
var k = ge(ge(ge({}, p), Pn({ width: y.width, height: y.height, sizeRestrictions: s, aspectRatio: a })), { left: 0, top: 0 });
|
|
9596
9610
|
return r(k, { left: p.left, top: p.top });
|
|
9597
9611
|
}(d, ge(ge({}, d), h))), gt(h.left) && gt(h.top) || (d = r(d, ge(ge({}, d), h)));
|
|
9598
9612
|
}), d;
|
|
@@ -9603,9 +9617,9 @@ function qv(t) {
|
|
|
9603
9617
|
t.aspectRatio;
|
|
9604
9618
|
var o = t.stencilSize, a = t.sizeRestrictions, l = t.positionRestrictions;
|
|
9605
9619
|
t.stencilReference;
|
|
9606
|
-
var r, d, c, h = ge({}, i), p = ge({}, s),
|
|
9607
|
-
r = _e(
|
|
9608
|
-
var k = vo(p = Jt(p, h.width * n.width / (p.width *
|
|
9620
|
+
var r, d, c, h = ge({}, i), p = ge({}, s), y = ge({}, o);
|
|
9621
|
+
r = _e(y), d = _e(h), c === void 0 && (c = 1e-3), (r === 0 || d === 0 ? Math.abs(d - r) < c : Math.abs(d / r) < 1 + c && Math.abs(d / r) > 1 - c) || (h = ge(ge({}, h), Pn({ sizeRestrictions: a, width: h.width, height: h.height, aspectRatio: { minimum: _e(y), maximum: _e(y) } })));
|
|
9622
|
+
var k = vo(p = Jt(p, h.width * n.width / (p.width * y.width)), e({ visibleArea: p, type: "resize" }));
|
|
9609
9623
|
return k !== 1 && (p = Jt(p, k), h = Jt(h, k)), p = Pt(p = qt(p, Ri(Tt(h), Tt(p))), e({ visibleArea: p, type: "move" })), { coordinates: h = Pt(h, yo(bn(p), l)), visibleArea: p };
|
|
9610
9624
|
}
|
|
9611
9625
|
function Nv(t) {
|
|
@@ -9655,12 +9669,12 @@ function Ms(t, e) {
|
|
|
9655
9669
|
return Ju(t, bn(e));
|
|
9656
9670
|
}
|
|
9657
9671
|
function Qv(t) {
|
|
9658
|
-
var e = t.event, n = t.coordinates, i = t.visibleArea, s = t.sizeRestrictions, o = t.getAreaRestrictions, a = t.positionRestrictions, l = t.adjustStencil, r = e.scale, d = e.move, c = ge({}, i), h = ge({}, n), p = 1,
|
|
9672
|
+
var e = t.event, n = t.coordinates, i = t.visibleArea, s = t.sizeRestrictions, o = t.getAreaRestrictions, a = t.positionRestrictions, l = t.adjustStencil, r = e.scale, d = e.move, c = ge({}, i), h = ge({}, n), p = 1, y = 1, k = r.factor && Math.abs(r.factor - 1) > 1e-3;
|
|
9659
9673
|
c = qt(c, { left: d.left || 0, top: d.top || 0 });
|
|
9660
9674
|
var P = { stencil: { minimum: Math.max(s.minWidth ? s.minWidth / h.width : 0, s.minHeight ? s.minHeight / h.height : 0), maximum: Math.min(s.maxWidth ? s.maxWidth / h.width : 1 / 0, s.maxHeight ? s.maxHeight / h.height : 1 / 0, Ii(h, a)) }, area: { maximum: Ii(c, o({ visibleArea: c, type: "resize" })) } };
|
|
9661
|
-
r.factor && k && (r.factor < 1 ? (
|
|
9675
|
+
r.factor && k && (r.factor < 1 ? (y = Math.max(r.factor, P.stencil.minimum)) > 1 && (y = 1) : r.factor > 1 && (y = Math.min(r.factor, Math.min(P.area.maximum, P.stencil.maximum))) < 1 && (y = 1)), y && (c = Jt(c, y, r.center));
|
|
9662
9676
|
var E = n.left - i.left, T = i.width + i.left - (n.width + n.left), M = n.top - i.top, x = i.height + i.top - (n.height + n.top);
|
|
9663
|
-
return c = Pt(c = qt(c, Mi(c, { left: a.left !== void 0 ? a.left - E *
|
|
9677
|
+
return c = Pt(c = qt(c, Mi(c, { left: a.left !== void 0 ? a.left - E * y : void 0, top: a.top !== void 0 ? a.top - M * y : void 0, bottom: a.bottom !== void 0 ? a.bottom + x * y : void 0, right: a.right !== void 0 ? a.right + T * y : void 0 })), o({ visibleArea: c, type: "move" })), h.width = h.width * y, h.height = h.height * y, h.left = c.left + E * y, h.top = c.top + M * y, h = Pt(h, yo(bn(c), a)), r.factor && k && l && (r.factor > 1 ? p = Math.min(P.area.maximum, r.factor) / y : r.factor < 1 && (p = Math.max(h.height / c.height, h.width / c.width, r.factor / y)), p !== 1 && (c = qt(c = Pt(c = Jt(c, p, r.factor > 1 ? r.center : Tt(h)), o({ visibleArea: c, type: "move" })), go(Mi(h, bn(c)))))), { coordinates: h, visibleArea: c };
|
|
9664
9678
|
}
|
|
9665
9679
|
function Xv(t) {
|
|
9666
9680
|
var e = t.aspectRatio, n = t.getAreaRestrictions, i = t.coordinates, s = t.visibleArea, o = t.sizeRestrictions, a = t.positionRestrictions, l = t.imageSize, r = t.previousImageSize, d = t.angle, c = ge({}, i), h = ge({}, s), p = Vn(Tt(ge({ left: 0, top: 0 }, r)), d);
|
|
@@ -9669,8 +9683,8 @@ function Xv(t) {
|
|
|
9669
9683
|
function Zv(t) {
|
|
9670
9684
|
var e = t.flip, n = t.previousFlip, i = t.rotate, s = t.getAreaRestrictions, o = t.coordinates, a = t.visibleArea, l = t.imageSize, r = ge({}, o), d = ge({}, a), c = n.horizontal !== e.horizontal, h = n.vertical !== e.vertical;
|
|
9671
9685
|
if (c || h) {
|
|
9672
|
-
var p = Vn({ left: l.width / 2, top: l.height / 2 }, -i),
|
|
9673
|
-
r = qt(r, Ri(k, Tt(r))),
|
|
9686
|
+
var p = Vn({ left: l.width / 2, top: l.height / 2 }, -i), y = Vn(Tt(r), -i), k = Vn({ left: c ? p.left - (y.left - p.left) : y.left, top: h ? p.top - (y.top - p.top) : y.top }, i);
|
|
9687
|
+
r = qt(r, Ri(k, Tt(r))), y = Vn(Tt(d), -i), d = Pt(d = qt(d, Ri(k = Vn({ left: c ? p.left - (y.left - p.left) : y.left, top: h ? p.top - (y.top - p.top) : y.top }, i), Tt(d))), s({ visibleArea: d, type: "move" }));
|
|
9674
9688
|
}
|
|
9675
9689
|
return { coordinates: r, visibleArea: d };
|
|
9676
9690
|
}
|
|
@@ -9684,11 +9698,11 @@ function ll(t) {
|
|
|
9684
9698
|
var E = h[P];
|
|
9685
9699
|
E && r[P] && (p[P] = Math.max(0, 1 - E / r[P]));
|
|
9686
9700
|
}), a) {
|
|
9687
|
-
var
|
|
9701
|
+
var y = Math.min.apply(null, gn.map(function(P) {
|
|
9688
9702
|
return p[P];
|
|
9689
9703
|
}));
|
|
9690
|
-
|
|
9691
|
-
r[P] *=
|
|
9704
|
+
y !== 1 / 0 && gn.forEach(function(P) {
|
|
9705
|
+
r[P] *= y;
|
|
9692
9706
|
});
|
|
9693
9707
|
} else gn.forEach(function(P) {
|
|
9694
9708
|
p[P] !== 1 / 0 && (r[P] *= p[P]);
|
|
@@ -9723,7 +9737,7 @@ var Jv = ln("vue-simple-handler"), Kv = ln("vue-simple-handler-wrapper"), ja = {
|
|
|
9723
9737
|
this.$emit("drag-end");
|
|
9724
9738
|
} }, emits: ["drag", "drag-end"] };
|
|
9725
9739
|
ja.render = function(t, e, n, i, s, o) {
|
|
9726
|
-
var a =
|
|
9740
|
+
var a = Ie("HandlerWrapper");
|
|
9727
9741
|
return m(), z(a, { class: o.classes.wrapper, "vertical-position": n.verticalPosition, "horizontal-position": n.horizontalPosition, disabled: n.disabled, onDrag: o.onDrag, onDragEnd: o.onDragEnd, onEnter: o.onEnter, onLeave: o.onLeave }, { default: C(function() {
|
|
9728
9742
|
return [g("div", { class: o.classes.default }, null, 2)];
|
|
9729
9743
|
}), _: 1 }, 8, ["class", "vertical-position", "horizontal-position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
|
|
@@ -9742,7 +9756,7 @@ var e1 = ln("vue-simple-line"), t1 = ln("vue-simple-line-wrapper"), Ga = { name:
|
|
|
9742
9756
|
this.$emit("drag-end");
|
|
9743
9757
|
} }, emits: ["drag", "drag-end"] };
|
|
9744
9758
|
Ga.render = function(t, e, n, i, s, o) {
|
|
9745
|
-
var a =
|
|
9759
|
+
var a = Ie("LineWrapper");
|
|
9746
9760
|
return m(), z(a, { class: o.classes.wrapper, position: n.position, disabled: n.disabled, onDrag: o.onDrag, onDragEnd: o.onDragEnd, onEnter: o.onEnter, onLeave: o.onLeave }, { default: C(function() {
|
|
9747
9761
|
return [g("div", { class: o.classes.root }, null, 2)];
|
|
9748
9762
|
}), _: 1 }, 8, ["class", "position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
|
|
@@ -9877,7 +9891,7 @@ function o1(t) {
|
|
|
9877
9891
|
try {
|
|
9878
9892
|
if (t) if (/^data:/i.test(t)) e(function(r) {
|
|
9879
9893
|
r = r.replace(/^data:([^;]+);base64,/gim, "");
|
|
9880
|
-
for (var d = atob(r), c = d.length, h = new ArrayBuffer(c), p = new Uint8Array(h),
|
|
9894
|
+
for (var d = atob(r), c = d.length, h = new ArrayBuffer(c), p = new Uint8Array(h), y = 0; y < c; y++) p[y] = d.charCodeAt(y);
|
|
9881
9895
|
return h;
|
|
9882
9896
|
}(t));
|
|
9883
9897
|
else if (/^blob:/i.test(t)) {
|
|
@@ -9918,9 +9932,9 @@ function a1(t) {
|
|
|
9918
9932
|
}
|
|
9919
9933
|
r++;
|
|
9920
9934
|
}
|
|
9921
|
-
if (o && (i = o + 10, function(
|
|
9935
|
+
if (o && (i = o + 10, function(y, k, P) {
|
|
9922
9936
|
var E, T = "";
|
|
9923
|
-
for (E = k, P += k; E < P; E++) T += String.fromCharCode(
|
|
9937
|
+
for (E = k, P += k; E < P; E++) T += String.fromCharCode(y.getUint8(E));
|
|
9924
9938
|
return T;
|
|
9925
9939
|
}(n, o + 4, 4) === "Exif")) {
|
|
9926
9940
|
var d = n.getUint16(i);
|
|
@@ -10016,7 +10030,7 @@ nd.render = function(t, e, n, i, s, o) {
|
|
|
10016
10030
|
};
|
|
10017
10031
|
var ka = { components: { TransformableImage: nd }, props: { touchMove: { type: Boolean, required: !0 }, mouseMove: { type: Boolean, required: !0 }, touchResize: { type: Boolean, required: !0 }, wheelResize: { type: [Boolean, Object], required: !0 } }, emits: ["resize", "move"] };
|
|
10018
10032
|
ka.render = function(t, e, n, i, s, o) {
|
|
10019
|
-
var a =
|
|
10033
|
+
var a = Ie("transformable-image");
|
|
10020
10034
|
return m(), z(a, { "touch-move": n.touchMove, "touch-resize": n.touchResize, "mouse-move": n.mouseMove, "wheel-resize": n.wheelResize, onMove: e[1] || (e[1] = function(l) {
|
|
10021
10035
|
return t.$emit("move", l);
|
|
10022
10036
|
}), onResize: e[2] || (e[2] = function(l) {
|
|
@@ -10073,7 +10087,7 @@ id.render = function(t, e, n, i, s, o) {
|
|
|
10073
10087
|
};
|
|
10074
10088
|
var sd = { components: { Preview: id }, inheritAttrs: !1 };
|
|
10075
10089
|
sd.render = function(t, e, n, i, s, o) {
|
|
10076
|
-
var a =
|
|
10090
|
+
var a = Ie("preview");
|
|
10077
10091
|
return m(), z(a, at(t.$attrs, { fill: !0 }), null, 16);
|
|
10078
10092
|
};
|
|
10079
10093
|
var Ko = ln("vue-rectangle-stencil"), od = { name: "RectangleStencil", components: { StencilPreview: sd, BoundingBox: Ku, DraggableArea: ed }, props: { image: { type: Object }, coordinates: { type: Object }, stencilCoordinates: { type: Object }, handlers: { type: Object }, handlersComponent: { type: [Object, String], default: function() {
|
|
@@ -10107,7 +10121,7 @@ var Ko = ln("vue-rectangle-stencil"), od = { name: "RectangleStencil", component
|
|
|
10107
10121
|
return { minimum: this.aspectRatio || this.minAspectRatio, maximum: this.aspectRatio || this.maxAspectRatio };
|
|
10108
10122
|
} }, emits: ["resize", "resize-end", "move", "move-end"] };
|
|
10109
10123
|
od.render = function(t, e, n, i, s, o) {
|
|
10110
|
-
var a =
|
|
10124
|
+
var a = Ie("stencil-preview"), l = Ie("draggable-area"), r = Ie("bounding-box");
|
|
10111
10125
|
return m(), z("div", { class: o.classes.stencil, style: o.style }, [g(r, { width: n.stencilCoordinates.width, height: n.stencilCoordinates.height, transitions: n.transitions, class: o.classes.boundingBox, handlers: n.handlers, "handlers-component": n.handlersComponent, "handlers-classes": n.handlersClasses, "handlers-wrappers-classes": n.handlersWrappersClasses, lines: n.lines, "lines-component": n.linesComponent, "lines-classes": n.linesClasses, "lines-wrappers-classes": n.linesWrappersClasses, resizable: n.resizable, onResize: o.onResize, onResizeEnd: o.onResizeEnd }, { default: C(function() {
|
|
10112
10126
|
return [g(l, { movable: n.movable, onMove: o.onMove, onMoveEnd: o.onMoveEnd }, { default: C(function() {
|
|
10113
10127
|
return [g(a, { image: n.image, coordinates: n.coordinates, width: n.stencilCoordinates.width, height: n.stencilCoordinates.height, class: o.classes.preview, transitions: n.transitions }, null, 8, ["image", "coordinates", "width", "height", "class", "transitions"])];
|
|
@@ -10131,14 +10145,14 @@ var r1 = ["transitions"], xn = ln("vue-advanced-cropper"), ad = { name: "Cropper
|
|
|
10131
10145
|
});
|
|
10132
10146
|
var c = pn(a, r = ll({ coordinates: a, directions: r, sizeRestrictions: o, positionRestrictions: s })).width, h = pn(a, r).height, p = l.preserveRatio ? _e(a) : Xo(c / h, i);
|
|
10133
10147
|
if (p) {
|
|
10134
|
-
var
|
|
10135
|
-
if (
|
|
10148
|
+
var y = l.respectDirection;
|
|
10149
|
+
if (y || (y = a.width >= a.height || p === 1 ? "width" : "height"), y === "width") {
|
|
10136
10150
|
var k = c / p - a.height;
|
|
10137
10151
|
if (d.top && d.bottom) {
|
|
10138
10152
|
var P = r.top, E = r.bottom;
|
|
10139
10153
|
r.bottom = As(k, E, P), r.top = As(k, P, E);
|
|
10140
10154
|
} else d.bottom ? r.bottom = k : d.top ? r.top = k : d.right ? r.right = 0 : d.left && (r.left = 0);
|
|
10141
|
-
} else if (
|
|
10155
|
+
} else if (y === "height") {
|
|
10142
10156
|
var T = a.width - h * p;
|
|
10143
10157
|
if (d.left && d.right) {
|
|
10144
10158
|
var M = r.left, x = r.right;
|
|
@@ -10320,10 +10334,10 @@ var r1 = ["transitions"], xn = ln("vue-advanced-cropper"), ad = { name: "Cropper
|
|
|
10320
10334
|
}, getCanvas: function() {
|
|
10321
10335
|
if (this.$refs.canvas) {
|
|
10322
10336
|
var t = this.$refs.canvas, e = this.$refs.image, n = this.imageTransforms.rotate !== 0 || this.imageTransforms.flip.horizontal || this.imageTransforms.flip.vertical ? function(l, r, d) {
|
|
10323
|
-
var c = d.rotate, h = d.flip, p = { width: r.naturalWidth, height: r.naturalHeight },
|
|
10324
|
-
l.height =
|
|
10337
|
+
var c = d.rotate, h = d.flip, p = { width: r.naturalWidth, height: r.naturalHeight }, y = Zu(p, c), k = l.getContext("2d");
|
|
10338
|
+
l.height = y.height, l.width = y.width, k.save();
|
|
10325
10339
|
var P = Vn(Tt(ge({ left: 0, top: 0 }, p)), c);
|
|
10326
|
-
return k.translate(-(P.left -
|
|
10340
|
+
return k.translate(-(P.left - y.width / 2), -(P.top - y.height / 2)), k.rotate(c * Math.PI / 180), k.translate(h.horizontal ? p.width : 0, h.vertical ? p.height : 0), k.scale(h.horizontal ? -1 : 1, h.vertical ? -1 : 1), k.drawImage(r, 0, 0, p.width, p.height), k.restore(), l;
|
|
10327
10341
|
}(this.$refs.sourceCanvas, e, this.imageTransforms) : e, i = Le({ minWidth: 0, minHeight: 0, maxWidth: 1 / 0, maxHeight: 1 / 0, maxArea: this.maxCanvasSize, imageSmoothingEnabled: !0, imageSmoothingQuality: "high", fillColor: "transparent" }, this.canvas), s = function(l) {
|
|
10328
10342
|
return l.find(function(r) {
|
|
10329
10343
|
return d = r, !Number.isNaN(parseFloat(d)) && isFinite(d);
|
|
@@ -10338,8 +10352,8 @@ var r1 = ["transitions"], xn = ln("vue-advanced-cropper"), ad = { name: "Cropper
|
|
|
10338
10352
|
l.width = c ? c.width : d.width, l.height = c ? c.height : d.height;
|
|
10339
10353
|
var p = l.getContext("2d");
|
|
10340
10354
|
p.clearRect(0, 0, l.width, l.height), h && (h.imageSmoothingEnabled && (p.imageSmoothingEnabled = h.imageSmoothingEnabled), h.imageSmoothingQuality && (p.imageSmoothingQuality = h.imageSmoothingQuality), h.fillColor && (p.fillStyle = h.fillColor, p.fillRect(0, 0, l.width, l.height), p.save()));
|
|
10341
|
-
var
|
|
10342
|
-
p.drawImage(r, d.left +
|
|
10355
|
+
var y = d.left < 0 ? -d.left : 0, k = d.top < 0 ? -d.top : 0;
|
|
10356
|
+
p.drawImage(r, d.left + y, d.top + k, d.width, d.height, y * (l.width / d.width), k * (l.height / d.height), l.width, l.height);
|
|
10343
10357
|
}(t, n, this.coordinates, o, i), t;
|
|
10344
10358
|
}
|
|
10345
10359
|
}, update: function() {
|
|
@@ -10635,10 +10649,10 @@ const c1 = { class: "cropper-wrapper" }, f1 = { class: "row justify-end q-mt-md"
|
|
|
10635
10649
|
), c = async () => {
|
|
10636
10650
|
const h = a.value.getResult();
|
|
10637
10651
|
h && h.canvas.toBlob((p) => {
|
|
10638
|
-
var
|
|
10652
|
+
var y;
|
|
10639
10653
|
i("crop", {
|
|
10640
10654
|
blob: p,
|
|
10641
|
-
src: (
|
|
10655
|
+
src: (y = h.canvas) == null ? void 0 : y.toDataURL()
|
|
10642
10656
|
}), i("update:ratio", o.value.getRatio());
|
|
10643
10657
|
});
|
|
10644
10658
|
};
|
|
@@ -10646,8 +10660,8 @@ const c1 = { class: "cropper-wrapper" }, f1 = { class: "row justify-end q-mt-md"
|
|
|
10646
10660
|
g(sn, {
|
|
10647
10661
|
modelValue: s.value,
|
|
10648
10662
|
"onUpdate:modelValue": [
|
|
10649
|
-
p[0] || (p[0] = (
|
|
10650
|
-
p[1] || (p[1] = (
|
|
10663
|
+
p[0] || (p[0] = (y) => s.value = y),
|
|
10664
|
+
p[1] || (p[1] = (y) => r(y))
|
|
10651
10665
|
],
|
|
10652
10666
|
clearable: !1,
|
|
10653
10667
|
options: l.value,
|
|
@@ -10662,9 +10676,9 @@ const c1 = { class: "cropper-wrapper" }, f1 = { class: "row justify-end q-mt-md"
|
|
|
10662
10676
|
src: o.value.src,
|
|
10663
10677
|
"stencil-props": d.value,
|
|
10664
10678
|
class: "cropper-container",
|
|
10665
|
-
onChange: p[2] || (p[2] = (
|
|
10679
|
+
onChange: p[2] || (p[2] = (y) => o.value.setCoordinates(y.coordinates))
|
|
10666
10680
|
}, null, 8, ["src", "stencil-props"]),
|
|
10667
|
-
|
|
10681
|
+
b("div", f1, [
|
|
10668
10682
|
g(ue, {
|
|
10669
10683
|
flat: "",
|
|
10670
10684
|
label: "Сохранить",
|
|
@@ -10699,7 +10713,7 @@ const c1 = { class: "cropper-wrapper" }, f1 = { class: "row justify-end q-mt-md"
|
|
|
10699
10713
|
width: `${i.height * c.value}px`,
|
|
10700
10714
|
height: `${i.height}px`,
|
|
10701
10715
|
maxWidth: "100%"
|
|
10702
|
-
})),
|
|
10716
|
+
})), y = D(() => ({
|
|
10703
10717
|
width: `${i.height * c.value}px`,
|
|
10704
10718
|
height: `${i.height}px`,
|
|
10705
10719
|
maxWidth: "100%"
|
|
@@ -10740,8 +10754,8 @@ const c1 = { class: "cropper-wrapper" }, f1 = { class: "row justify-end q-mt-md"
|
|
|
10740
10754
|
alt: "Загруженное изображение",
|
|
10741
10755
|
"spinner-color": "primary"
|
|
10742
10756
|
}, null, 8, ["src", "ratio"]),
|
|
10743
|
-
|
|
10744
|
-
|
|
10757
|
+
b("div", g1, [
|
|
10758
|
+
b("div", v1, [
|
|
10745
10759
|
g(ue, {
|
|
10746
10760
|
round: "",
|
|
10747
10761
|
dense: "",
|
|
@@ -10790,7 +10804,7 @@ const c1 = { class: "cropper-wrapper" }, f1 = { class: "row justify-end q-mt-md"
|
|
|
10790
10804
|
ref_key: "uploader",
|
|
10791
10805
|
ref: d,
|
|
10792
10806
|
class: "img-uploader",
|
|
10793
|
-
style: J(f(
|
|
10807
|
+
style: J(f(y)),
|
|
10794
10808
|
flat: "",
|
|
10795
10809
|
bordered: "",
|
|
10796
10810
|
accept: t.acceptTypes,
|
|
@@ -10800,18 +10814,18 @@ const c1 = { class: "cropper-wrapper" }, f1 = { class: "row justify-end q-mt-md"
|
|
|
10800
10814
|
onRemoved: k
|
|
10801
10815
|
}, {
|
|
10802
10816
|
header: C(() => [
|
|
10803
|
-
|
|
10817
|
+
b("div", m1, [
|
|
10804
10818
|
g(f(Fc)),
|
|
10805
|
-
|
|
10819
|
+
b("div", p1, [
|
|
10806
10820
|
g(f(re), {
|
|
10807
10821
|
name: "add_photo_alternate",
|
|
10808
10822
|
size: "48px",
|
|
10809
10823
|
color: "primary"
|
|
10810
10824
|
})
|
|
10811
10825
|
]),
|
|
10812
|
-
x[4] || (x[4] =
|
|
10813
|
-
|
|
10814
|
-
|
|
10826
|
+
x[4] || (x[4] = b("div", { class: "uploader-text text-primary text-center" }, [
|
|
10827
|
+
b("div", { class: "text-weight-medium" }, "Добавить изображение"),
|
|
10828
|
+
b("div", { class: "text-caption text-grey-6 q-mt-xs" }, " Перетащите файл или нажмите для загрузки ")
|
|
10815
10829
|
], -1))
|
|
10816
10830
|
])
|
|
10817
10831
|
]),
|
|
@@ -10819,7 +10833,7 @@ const c1 = { class: "cropper-wrapper" }, f1 = { class: "row justify-end q-mt-md"
|
|
|
10819
10833
|
}, 8, ["id", "style", "accept", "max-file-size"])),
|
|
10820
10834
|
g(on, {
|
|
10821
10835
|
modelValue: f(r),
|
|
10822
|
-
"onUpdate:modelValue": x[3] || (x[3] = (V) =>
|
|
10836
|
+
"onUpdate:modelValue": x[3] || (x[3] = (V) => Me(r) ? r.value = V : null),
|
|
10823
10837
|
persistent: ""
|
|
10824
10838
|
}, {
|
|
10825
10839
|
default: C(() => [
|
|
@@ -10844,7 +10858,7 @@ const c1 = { class: "cropper-wrapper" }, f1 = { class: "row justify-end q-mt-md"
|
|
|
10844
10858
|
default: C(() => [
|
|
10845
10859
|
g(rd, {
|
|
10846
10860
|
ratio: f(c),
|
|
10847
|
-
"onUpdate:ratio": x[1] || (x[1] = (V) =>
|
|
10861
|
+
"onUpdate:ratio": x[1] || (x[1] = (V) => Me(c) ? c.value = V : null),
|
|
10848
10862
|
src: f(h),
|
|
10849
10863
|
onCrop: P,
|
|
10850
10864
|
onClose: x[2] || (x[2] = (V) => r.value = !1)
|
|
@@ -11133,7 +11147,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11133
11147
|
localStorage.setItem(n.draftKey, JSON.stringify(h()));
|
|
11134
11148
|
} catch {
|
|
11135
11149
|
}
|
|
11136
|
-
},
|
|
11150
|
+
}, y = () => {
|
|
11137
11151
|
var x;
|
|
11138
11152
|
if (!n.draftKey)
|
|
11139
11153
|
return;
|
|
@@ -11163,7 +11177,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11163
11177
|
k && clearTimeout(k), k = setTimeout(p, 500);
|
|
11164
11178
|
},
|
|
11165
11179
|
{ deep: !0 }
|
|
11166
|
-
),
|
|
11180
|
+
), y();
|
|
11167
11181
|
const P = () => {
|
|
11168
11182
|
const T = Object.entries(s).filter(([M, x]) => {
|
|
11169
11183
|
const V = E().find(($) => $.id === M);
|
|
@@ -11190,7 +11204,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11190
11204
|
class: "q-mr-md"
|
|
11191
11205
|
}, [
|
|
11192
11206
|
be(U(x.label) + ": ", 1),
|
|
11193
|
-
|
|
11207
|
+
b("b", null, U(x.value), 1)
|
|
11194
11208
|
]))), 128))
|
|
11195
11209
|
])) : G("", !0),
|
|
11196
11210
|
(m(!0), S(K, null, we(t.form.formSections, (x) => (m(), S("div", {
|
|
@@ -11203,7 +11217,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11203
11217
|
key: V.id,
|
|
11204
11218
|
class: "field-block q-mb-md"
|
|
11205
11219
|
}, [
|
|
11206
|
-
|
|
11220
|
+
b("div", A1, [
|
|
11207
11221
|
be(U(V.name) + " ", 1),
|
|
11208
11222
|
V.required ? (m(), S("span", E1, "*")) : G("", !0)
|
|
11209
11223
|
]),
|
|
@@ -11311,7 +11325,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11311
11325
|
class: "image-container",
|
|
11312
11326
|
style: J({ height: o.value })
|
|
11313
11327
|
}, [
|
|
11314
|
-
|
|
11328
|
+
b("img", {
|
|
11315
11329
|
class: "image-img",
|
|
11316
11330
|
src: t.img,
|
|
11317
11331
|
alt: "image",
|
|
@@ -11324,7 +11338,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11324
11338
|
}, {
|
|
11325
11339
|
default: C(() => [
|
|
11326
11340
|
t.title || l.$slots.title || l.$slots.icon ? (m(), S("div", z1, [
|
|
11327
|
-
|
|
11341
|
+
b("div", L1, [
|
|
11328
11342
|
t.icon || l.$slots.icon ? (m(), S("div", V1, [
|
|
11329
11343
|
N(l.$slots, "icon", {}, () => [
|
|
11330
11344
|
g(f(re), {
|
|
@@ -11334,15 +11348,15 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11334
11348
|
}, null, 8, ["name"])
|
|
11335
11349
|
], !0)
|
|
11336
11350
|
])) : G("", !0),
|
|
11337
|
-
|
|
11351
|
+
b("div", _1, [
|
|
11338
11352
|
N(l.$slots, "title", {}, () => [
|
|
11339
|
-
|
|
11353
|
+
b("span", U1, U(t.title), 1)
|
|
11340
11354
|
], !0)
|
|
11341
11355
|
])
|
|
11342
11356
|
]),
|
|
11343
11357
|
l.$slots.caption || t.caption ? (m(), S("div", B1, [
|
|
11344
11358
|
N(l.$slots, "caption", {}, () => [
|
|
11345
|
-
|
|
11359
|
+
b("span", q1, U(t.caption), 1)
|
|
11346
11360
|
], !0)
|
|
11347
11361
|
])) : G("", !0)
|
|
11348
11362
|
])) : G("", !0),
|
|
@@ -11350,7 +11364,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11350
11364
|
key: 1,
|
|
11351
11365
|
class: "header-separator"
|
|
11352
11366
|
})) : G("", !0),
|
|
11353
|
-
|
|
11367
|
+
b("div", {
|
|
11354
11368
|
ref_key: "contentRef",
|
|
11355
11369
|
ref: n,
|
|
11356
11370
|
class: "content-wrapper"
|
|
@@ -11421,7 +11435,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11421
11435
|
c(), s("change");
|
|
11422
11436
|
}, p = (I) => {
|
|
11423
11437
|
n.value.removeRadioItem(I), s("change");
|
|
11424
|
-
},
|
|
11438
|
+
}, y = [
|
|
11425
11439
|
{ label: "Равно", value: "equals" },
|
|
11426
11440
|
{ label: "Не равно", value: "notEquals" },
|
|
11427
11441
|
{ label: "Содержит", value: "contains" },
|
|
@@ -11448,11 +11462,11 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11448
11462
|
n.value.removeFieldRule(I), s("change");
|
|
11449
11463
|
};
|
|
11450
11464
|
return (I, L) => (m(), S("div", G1, [
|
|
11451
|
-
|
|
11465
|
+
b("div", W1, [
|
|
11452
11466
|
I.$slots.handle ? (m(), S("div", Y1, [
|
|
11453
11467
|
N(I.$slots, "handle", {}, void 0, !0)
|
|
11454
11468
|
])) : G("", !0),
|
|
11455
|
-
|
|
11469
|
+
b("div", Q1, [
|
|
11456
11470
|
g(Ne, {
|
|
11457
11471
|
modelValue: n.value.name,
|
|
11458
11472
|
"onUpdate:modelValue": L[0] || (L[0] = (Q) => n.value.name = Q),
|
|
@@ -11461,7 +11475,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11461
11475
|
onBlur: L[1] || (L[1] = (Q) => s("change"))
|
|
11462
11476
|
}, null, 8, ["modelValue"])
|
|
11463
11477
|
]),
|
|
11464
|
-
|
|
11478
|
+
b("div", X1, [
|
|
11465
11479
|
g(sn, {
|
|
11466
11480
|
modelValue: n.value.valueTypeId,
|
|
11467
11481
|
"onUpdate:modelValue": [
|
|
@@ -11472,7 +11486,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11472
11486
|
options: a.value
|
|
11473
11487
|
}, null, 8, ["modelValue", "options"])
|
|
11474
11488
|
]),
|
|
11475
|
-
|
|
11489
|
+
b("div", Z1, [
|
|
11476
11490
|
g(mo, {
|
|
11477
11491
|
modelValue: n.value.required,
|
|
11478
11492
|
"onUpdate:modelValue": [
|
|
@@ -11482,7 +11496,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11482
11496
|
label: "Обязательный"
|
|
11483
11497
|
}, null, 8, ["modelValue"])
|
|
11484
11498
|
]),
|
|
11485
|
-
|
|
11499
|
+
b("div", J1, [
|
|
11486
11500
|
N(I.$slots, "controls", {}, () => [
|
|
11487
11501
|
g(ue, {
|
|
11488
11502
|
icon: "arrow_upward",
|
|
@@ -11509,8 +11523,8 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11509
11523
|
], !0)
|
|
11510
11524
|
])
|
|
11511
11525
|
]),
|
|
11512
|
-
|
|
11513
|
-
L[14] || (L[14] =
|
|
11526
|
+
b("div", K1, [
|
|
11527
|
+
L[14] || (L[14] = b("div", { class: "text-caption text-grey-7 q-mb-xs" }, "Изображение к вопросу (необязательно)", -1)),
|
|
11514
11528
|
g(ps, {
|
|
11515
11529
|
modelValue: n.value.imageUrl,
|
|
11516
11530
|
"onUpdate:modelValue": [
|
|
@@ -11522,7 +11536,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11522
11536
|
}, null, 8, ["modelValue"])
|
|
11523
11537
|
]),
|
|
11524
11538
|
l.value ? (m(), S("div", ey, [
|
|
11525
|
-
L[15] || (L[15] =
|
|
11539
|
+
L[15] || (L[15] = b("div", { class: "text-caption text-grey-7 q-mb-xs" }, "Варианты ответа", -1)),
|
|
11526
11540
|
g(f(si), {
|
|
11527
11541
|
list: n.value.answerVariants,
|
|
11528
11542
|
"item-key": "id",
|
|
@@ -11531,11 +11545,11 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11531
11545
|
onEnd: h
|
|
11532
11546
|
}, {
|
|
11533
11547
|
item: C(({ element: Q, index: xe }) => [
|
|
11534
|
-
|
|
11535
|
-
|
|
11548
|
+
b("div", ty, [
|
|
11549
|
+
b("span", ny, [
|
|
11536
11550
|
g(f(re), { name: "drag_indicator" })
|
|
11537
11551
|
]),
|
|
11538
|
-
|
|
11552
|
+
b("div", iy, [
|
|
11539
11553
|
g(Ne, {
|
|
11540
11554
|
modelValue: Q.name,
|
|
11541
11555
|
"onUpdate:modelValue": (ke) => Q.name = ke,
|
|
@@ -11563,9 +11577,9 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11563
11577
|
onClick: d
|
|
11564
11578
|
})
|
|
11565
11579
|
])) : G("", !0),
|
|
11566
|
-
|
|
11567
|
-
|
|
11568
|
-
L[16] || (L[16] =
|
|
11580
|
+
b("div", sy, [
|
|
11581
|
+
b("div", oy, [
|
|
11582
|
+
L[16] || (L[16] = b("div", { class: "text-caption text-grey-7 col" }, "Условия показа (если, то)", -1)),
|
|
11569
11583
|
g(ue, {
|
|
11570
11584
|
icon: "add",
|
|
11571
11585
|
label: "Добавить условие",
|
|
@@ -11579,7 +11593,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11579
11593
|
key: Q.id,
|
|
11580
11594
|
class: "row q-col-gutter-sm items-center"
|
|
11581
11595
|
}, [
|
|
11582
|
-
|
|
11596
|
+
b("div", ay, [
|
|
11583
11597
|
g(sn, {
|
|
11584
11598
|
modelValue: Q.dependsOnFieldId,
|
|
11585
11599
|
"onUpdate:modelValue": [(ke) => Q.dependsOnFieldId = ke, (ke) => V(Q, ke)],
|
|
@@ -11587,7 +11601,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11587
11601
|
options: k.value
|
|
11588
11602
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "options"])
|
|
11589
11603
|
]),
|
|
11590
|
-
|
|
11604
|
+
b("div", ry, [
|
|
11591
11605
|
g(sn, {
|
|
11592
11606
|
modelValue: Q.operator,
|
|
11593
11607
|
"onUpdate:modelValue": [
|
|
@@ -11595,10 +11609,10 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11595
11609
|
L[11] || (L[11] = (ke) => s("change"))
|
|
11596
11610
|
],
|
|
11597
11611
|
label: "Условие",
|
|
11598
|
-
options:
|
|
11612
|
+
options: y
|
|
11599
11613
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
11600
11614
|
]),
|
|
11601
|
-
|
|
11615
|
+
b("div", ly, [
|
|
11602
11616
|
T(Q) ? (m(), z(sn, {
|
|
11603
11617
|
key: 0,
|
|
11604
11618
|
modelValue: Q.value,
|
|
@@ -11616,7 +11630,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11616
11630
|
onBlur: L[13] || (L[13] = (ke) => s("change"))
|
|
11617
11631
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (m(), S("div", uy, "Значение не нужно"))
|
|
11618
11632
|
]),
|
|
11619
|
-
|
|
11633
|
+
b("div", dy, [
|
|
11620
11634
|
g(ue, {
|
|
11621
11635
|
icon: "close",
|
|
11622
11636
|
flat: "",
|
|
@@ -11656,16 +11670,16 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11656
11670
|
const h = d + c, p = n.value.fields;
|
|
11657
11671
|
if (h < 0 || h >= p.length)
|
|
11658
11672
|
return;
|
|
11659
|
-
const [
|
|
11660
|
-
p.splice(h, 0,
|
|
11673
|
+
const [y] = p.splice(d, 1);
|
|
11674
|
+
p.splice(h, 0, y), s(), i("change");
|
|
11661
11675
|
};
|
|
11662
11676
|
return (d, c) => (m(), z(ud, { class: "p-form-section-editor" }, {
|
|
11663
11677
|
default: C(() => [
|
|
11664
|
-
|
|
11678
|
+
b("div", fy, [
|
|
11665
11679
|
d.$slots.handle ? (m(), S("div", hy, [
|
|
11666
11680
|
N(d.$slots, "handle", {}, void 0, !0)
|
|
11667
11681
|
])) : G("", !0),
|
|
11668
|
-
|
|
11682
|
+
b("div", my, [
|
|
11669
11683
|
g(Ne, {
|
|
11670
11684
|
modelValue: n.value.name,
|
|
11671
11685
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => n.value.name = h),
|
|
@@ -11674,7 +11688,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11674
11688
|
onBlur: c[1] || (c[1] = (h) => i("change"))
|
|
11675
11689
|
}, null, 8, ["modelValue"])
|
|
11676
11690
|
]),
|
|
11677
|
-
|
|
11691
|
+
b("div", py, [
|
|
11678
11692
|
N(d.$slots, "controls", {}, () => [
|
|
11679
11693
|
g(ue, {
|
|
11680
11694
|
icon: "arrow_upward",
|
|
@@ -11719,7 +11733,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11719
11733
|
onChange: c[5] || (c[5] = (p) => i("change"))
|
|
11720
11734
|
}, {
|
|
11721
11735
|
handle: C(() => [
|
|
11722
|
-
|
|
11736
|
+
b("span", gy, [
|
|
11723
11737
|
g(f(re), { name: "drag_indicator" })
|
|
11724
11738
|
])
|
|
11725
11739
|
]),
|
|
@@ -11764,7 +11778,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11764
11778
|
Y.H.Sorter.Sort(n.value.formSections);
|
|
11765
11779
|
}, p = () => {
|
|
11766
11780
|
h(), c();
|
|
11767
|
-
},
|
|
11781
|
+
}, y = () => {
|
|
11768
11782
|
n.value.addFormSection(), c();
|
|
11769
11783
|
}, k = (E) => {
|
|
11770
11784
|
n.value.formSections.splice(E, 1), h(), c();
|
|
@@ -11779,8 +11793,8 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11779
11793
|
var E;
|
|
11780
11794
|
(E = i.valueTypes) != null && E.length || (await nn.ValueTypes.GetAll(), o.value = nn.ValueTypes.Items);
|
|
11781
11795
|
}), (E, T) => (m(), S("div", yy, [
|
|
11782
|
-
|
|
11783
|
-
|
|
11796
|
+
b("div", by, [
|
|
11797
|
+
b("div", wy, [
|
|
11784
11798
|
g(Ne, {
|
|
11785
11799
|
modelValue: n.value.name,
|
|
11786
11800
|
"onUpdate:modelValue": T[0] || (T[0] = (M) => n.value.name = M),
|
|
@@ -11788,7 +11802,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11788
11802
|
onBlur: c
|
|
11789
11803
|
}, null, 8, ["modelValue"])
|
|
11790
11804
|
]),
|
|
11791
|
-
|
|
11805
|
+
b("div", Sy, [
|
|
11792
11806
|
N(E.$slots, "status", {}, () => [
|
|
11793
11807
|
g(sn, {
|
|
11794
11808
|
modelValue: n.value.status,
|
|
@@ -11801,7 +11815,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11801
11815
|
}, null, 8, ["modelValue"])
|
|
11802
11816
|
], !0)
|
|
11803
11817
|
]),
|
|
11804
|
-
|
|
11818
|
+
b("div", Cy, [
|
|
11805
11819
|
N(E.$slots, "actions", {}, () => [
|
|
11806
11820
|
g(ue, {
|
|
11807
11821
|
icon: "visibility",
|
|
@@ -11812,8 +11826,8 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11812
11826
|
], !0)
|
|
11813
11827
|
])
|
|
11814
11828
|
]),
|
|
11815
|
-
|
|
11816
|
-
T[6] || (T[6] =
|
|
11829
|
+
b("div", ky, [
|
|
11830
|
+
T[6] || (T[6] = b("div", { class: "text-caption text-grey-7 q-mb-xs" }, "Шапка опроса (изображение)", -1)),
|
|
11817
11831
|
g(ps, {
|
|
11818
11832
|
modelValue: n.value.imageUrl,
|
|
11819
11833
|
"onUpdate:modelValue": [
|
|
@@ -11842,7 +11856,7 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11842
11856
|
onChange: c
|
|
11843
11857
|
}, {
|
|
11844
11858
|
handle: C(() => [
|
|
11845
|
-
|
|
11859
|
+
b("span", xy, [
|
|
11846
11860
|
g(f(re), { name: "drag_indicator" })
|
|
11847
11861
|
])
|
|
11848
11862
|
]),
|
|
@@ -11855,17 +11869,17 @@ const T1 = { class: "p-form-renderer" }, P1 = {
|
|
|
11855
11869
|
icon: "add",
|
|
11856
11870
|
label: "Добавить секцию",
|
|
11857
11871
|
flat: "",
|
|
11858
|
-
onClick:
|
|
11872
|
+
onClick: y
|
|
11859
11873
|
}),
|
|
11860
11874
|
g(on, {
|
|
11861
11875
|
modelValue: f(a),
|
|
11862
|
-
"onUpdate:modelValue": T[5] || (T[5] = (M) =>
|
|
11876
|
+
"onUpdate:modelValue": T[5] || (T[5] = (M) => Me(a) ? a.value = M : null),
|
|
11863
11877
|
position: "standard"
|
|
11864
11878
|
}, {
|
|
11865
11879
|
default: C(() => [
|
|
11866
|
-
|
|
11867
|
-
|
|
11868
|
-
T[7] || (T[7] =
|
|
11880
|
+
b("div", $y, [
|
|
11881
|
+
b("div", Ty, [
|
|
11882
|
+
T[7] || (T[7] = b("div", { class: "text-subtitle1" }, "Предпросмотр формы", -1)),
|
|
11869
11883
|
g(ue, {
|
|
11870
11884
|
icon: "close",
|
|
11871
11885
|
flat: "",
|
|
@@ -12601,9 +12615,9 @@ const u0 = { class: "p-notify-badge" }, d0 = { class: "p-notify-badge__panel" },
|
|
|
12601
12615
|
onBeforeShow: a[1] || (a[1] = (l) => f(n).Load())
|
|
12602
12616
|
}, {
|
|
12603
12617
|
default: C(() => [
|
|
12604
|
-
|
|
12605
|
-
|
|
12606
|
-
a[2] || (a[2] =
|
|
12618
|
+
b("div", d0, [
|
|
12619
|
+
b("div", c0, [
|
|
12620
|
+
a[2] || (a[2] = b("div", { class: "text-subtitle2" }, "Уведомления", -1)),
|
|
12607
12621
|
f(n).unread.value ? (m(), z(ue, {
|
|
12608
12622
|
key: 0,
|
|
12609
12623
|
flat: "",
|
|
@@ -13048,7 +13062,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13048
13062
|
default: C(() => [
|
|
13049
13063
|
g(f(Ci), {
|
|
13050
13064
|
modelValue: s.value,
|
|
13051
|
-
"onUpdate:modelValue": p[1] || (p[1] = (
|
|
13065
|
+
"onUpdate:modelValue": p[1] || (p[1] = (y) => s.value = y),
|
|
13052
13066
|
"transition-show": "scale",
|
|
13053
13067
|
"transition-hide": "scale"
|
|
13054
13068
|
}, {
|
|
@@ -13060,7 +13074,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13060
13074
|
default: C(() => [
|
|
13061
13075
|
g(f(bl), {
|
|
13062
13076
|
modelValue: o.value,
|
|
13063
|
-
"onUpdate:modelValue": p[0] || (p[0] = (
|
|
13077
|
+
"onUpdate:modelValue": p[0] || (p[0] = (y) => o.value = y),
|
|
13064
13078
|
format24h: "",
|
|
13065
13079
|
color: "primary",
|
|
13066
13080
|
class: "q-pa-sm"
|
|
@@ -13174,7 +13188,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13174
13188
|
})), a = D(() => ({
|
|
13175
13189
|
...Ld,
|
|
13176
13190
|
...e.factories
|
|
13177
|
-
})), l = (v) => e.slotListOf ? e.slotListOf(v) : (v == null ? void 0 : v.slots) || [], r = (v) => e.nestedSlotListOf ? e.nestedSlotListOf(v) : (v == null ? void 0 : v.slots) || [], d = (v) => (v == null ? void 0 : v.name) || o.value.hall, c = (v) => e.sessionName ? e.sessionName(v) : (v == null ? void 0 : v.name) || `${o.value.session} ${(v == null ? void 0 : v.startTime) || ""}–${(v == null ? void 0 : v.endTime) || ""}`.trim(), h = (v) => e.slotName ? e.slotName(v) : (v == null ? void 0 : v.name) || o.value.slot, p = (v) => e.slotSubtitle ? e.slotSubtitle(v) : "",
|
|
13191
|
+
})), l = (v) => e.slotListOf ? e.slotListOf(v) : (v == null ? void 0 : v.slots) || [], r = (v) => e.nestedSlotListOf ? e.nestedSlotListOf(v) : (v == null ? void 0 : v.slots) || [], d = (v) => (v == null ? void 0 : v.name) || o.value.hall, c = (v) => e.sessionName ? e.sessionName(v) : (v == null ? void 0 : v.name) || `${o.value.session} ${(v == null ? void 0 : v.startTime) || ""}–${(v == null ? void 0 : v.endTime) || ""}`.trim(), h = (v) => e.slotName ? e.slotName(v) : (v == null ? void 0 : v.name) || o.value.slot, p = (v) => e.slotSubtitle ? e.slotSubtitle(v) : "", y = O("grid"), k = O((kr = (Cr = e.days) == null ? void 0 : Cr[0]) == null ? void 0 : kr.id), P = O(!1), E = O(""), T = O(!1), M = O(!1), x = O(null), V = O(null), $ = O(null), B = O(void 0), I = O(null), L = O(null), Q = O(!1), xe = O(0), ke = O(null), Ke = [
|
|
13178
13192
|
{ label: "5 мин", value: 5 },
|
|
13179
13193
|
{ label: "10 мин", value: 10 },
|
|
13180
13194
|
{ label: "15 мин", value: 15 },
|
|
@@ -13824,10 +13838,10 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13824
13838
|
};
|
|
13825
13839
|
return e.persist.loadOptions && e.persist.loadOptions(), (v, w) => {
|
|
13826
13840
|
var tt, ct;
|
|
13827
|
-
const R =
|
|
13841
|
+
const R = Ie("PButton"), q = Ie("PTooltip"), ee = Ie("PSelect"), fe = Ie("PInput"), ze = Ie("PDialog");
|
|
13828
13842
|
return m(), S("div", P0, [
|
|
13829
13843
|
(tt = t.days) != null && tt.length ? (m(), S(K, { key: 1 }, [
|
|
13830
|
-
|
|
13844
|
+
b("div", I0, [
|
|
13831
13845
|
i.value ? (m(), S("div", M0, [
|
|
13832
13846
|
g(f(wl), {
|
|
13833
13847
|
modelValue: k.value,
|
|
@@ -13843,7 +13857,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13843
13857
|
class: "day-tab"
|
|
13844
13858
|
}, {
|
|
13845
13859
|
default: C(() => [
|
|
13846
|
-
|
|
13860
|
+
b("span", A0, U(ut(W)), 1),
|
|
13847
13861
|
g(f(re), {
|
|
13848
13862
|
name: "close",
|
|
13849
13863
|
size: "14px",
|
|
@@ -13903,7 +13917,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13903
13917
|
label: o.value.addHall,
|
|
13904
13918
|
onClick: bt
|
|
13905
13919
|
}, null, 8, ["label"])) : G("", !0),
|
|
13906
|
-
|
|
13920
|
+
y.value === "grid" ? (m(), S("div", E0, [
|
|
13907
13921
|
g(f(re), {
|
|
13908
13922
|
name: "grid_on",
|
|
13909
13923
|
size: "18px",
|
|
@@ -13956,8 +13970,8 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13956
13970
|
}, 8, ["modelValue"])
|
|
13957
13971
|
])) : G("", !0),
|
|
13958
13972
|
g(ee, {
|
|
13959
|
-
modelValue:
|
|
13960
|
-
"onUpdate:modelValue": w[4] || (w[4] = (W) =>
|
|
13973
|
+
modelValue: y.value,
|
|
13974
|
+
"onUpdate:modelValue": w[4] || (w[4] = (W) => y.value = W),
|
|
13961
13975
|
options: Xe.value,
|
|
13962
13976
|
clearable: !1,
|
|
13963
13977
|
size: "sm",
|
|
@@ -13976,14 +13990,14 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13976
13990
|
_: 1
|
|
13977
13991
|
}, 8, ["modelValue", "options"])
|
|
13978
13992
|
]),
|
|
13979
|
-
|
|
13993
|
+
y.value === "grid" ? (m(), S("div", F0, [
|
|
13980
13994
|
Oe(oe.value).length ? (m(), S("div", {
|
|
13981
13995
|
key: 1,
|
|
13982
13996
|
ref_key: "gridScrollRef",
|
|
13983
13997
|
ref: ke,
|
|
13984
13998
|
class: "grid-scroll"
|
|
13985
13999
|
}, [
|
|
13986
|
-
|
|
14000
|
+
b("div", {
|
|
13987
14001
|
class: "grid-wrap",
|
|
13988
14002
|
style: J({
|
|
13989
14003
|
"--halls": Oe(oe.value).length,
|
|
@@ -13991,18 +14005,18 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13991
14005
|
"--half-hours": Math.max(Ze.value.total / 60 * 2, 2)
|
|
13992
14006
|
})
|
|
13993
14007
|
}, [
|
|
13994
|
-
|
|
13995
|
-
w[19] || (w[19] =
|
|
14008
|
+
b("div", D0, [
|
|
14009
|
+
w[19] || (w[19] = b("div", { class: "time-gutter" }, null, -1)),
|
|
13996
14010
|
(m(!0), S(K, null, we(Oe(oe.value), (W) => (m(), S("div", {
|
|
13997
14011
|
key: W.id,
|
|
13998
14012
|
class: ve(["hall-head", { "drag-over": B.value === W.id }])
|
|
13999
14013
|
}, [
|
|
14000
|
-
|
|
14014
|
+
b("div", z0, [
|
|
14001
14015
|
g(f(re), {
|
|
14002
14016
|
name: "meeting_room",
|
|
14003
14017
|
size: "15px"
|
|
14004
14018
|
}),
|
|
14005
|
-
|
|
14019
|
+
b("span", L0, U(pt(W)), 1),
|
|
14006
14020
|
g(R, {
|
|
14007
14021
|
size: "sm",
|
|
14008
14022
|
flat: "",
|
|
@@ -14062,11 +14076,11 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14062
14076
|
])
|
|
14063
14077
|
], 2))), 128))
|
|
14064
14078
|
]),
|
|
14065
|
-
|
|
14079
|
+
b("div", {
|
|
14066
14080
|
class: "grid-body",
|
|
14067
14081
|
style: J({ height: Dt.value })
|
|
14068
14082
|
}, [
|
|
14069
|
-
|
|
14083
|
+
b("div", V0, [
|
|
14070
14084
|
(m(!0), S(K, null, we(Ro.value, (W) => (m(), S("div", {
|
|
14071
14085
|
key: W.min,
|
|
14072
14086
|
class: "hour-label",
|
|
@@ -14104,9 +14118,9 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14104
14118
|
name: "drag_indicator",
|
|
14105
14119
|
class: "drag-handle"
|
|
14106
14120
|
}),
|
|
14107
|
-
|
|
14108
|
-
|
|
14109
|
-
|
|
14121
|
+
b("div", B0, [
|
|
14122
|
+
b("div", q0, U(ce.item.startTime) + "–" + U(ce.item.endTime), 1),
|
|
14123
|
+
b("div", N0, U(ae(ce)), 1),
|
|
14110
14124
|
ce.kind === "slot" && p(ce.item) ? (m(), S("div", H0, U(p(ce.item)), 1)) : G("", !0)
|
|
14111
14125
|
]),
|
|
14112
14126
|
ce.kind === "session" && Ut(ce.item).length ? (m(), S("div", j0, [
|
|
@@ -14119,22 +14133,22 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14119
14133
|
onClick: Ye((kn) => On({ kind: "slot", item: he }), ["stop"]),
|
|
14120
14134
|
onContextmenu: Ye((kn) => yc(he, kn), ["prevent", "stop"])
|
|
14121
14135
|
}, [
|
|
14122
|
-
|
|
14123
|
-
|
|
14136
|
+
b("div", W0, U(he.startTime) + "–" + U(he.endTime), 1),
|
|
14137
|
+
b("div", Y0, U(le(he, ie(ce))), 1),
|
|
14124
14138
|
p(he) ? (m(), S("div", Q0, U(p(he)), 1)) : G("", !0),
|
|
14125
14139
|
g(f(re), {
|
|
14126
14140
|
name: "edit",
|
|
14127
14141
|
size: "11px",
|
|
14128
14142
|
class: "nested-edit"
|
|
14129
14143
|
}),
|
|
14130
|
-
|
|
14144
|
+
b("div", {
|
|
14131
14145
|
class: "nested-resize",
|
|
14132
14146
|
title: o.value.changeDurationTitle,
|
|
14133
14147
|
onPointerdown: Ye((kn) => dc(ce.item, he, kn), ["stop", "prevent"])
|
|
14134
14148
|
}, null, 40, X0)
|
|
14135
14149
|
], 46, G0))), 128))
|
|
14136
14150
|
])) : G("", !0),
|
|
14137
|
-
|
|
14151
|
+
b("div", Z0, [
|
|
14138
14152
|
pe(W, ce) ? (m(), z(f(re), {
|
|
14139
14153
|
key: 0,
|
|
14140
14154
|
name: "warning",
|
|
@@ -14168,7 +14182,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14168
14182
|
_: 1
|
|
14169
14183
|
}, 8, ["onClick"])
|
|
14170
14184
|
]),
|
|
14171
|
-
|
|
14185
|
+
b("div", {
|
|
14172
14186
|
class: "block-resize",
|
|
14173
14187
|
title: o.value.changeDurationTitle,
|
|
14174
14188
|
onPointerdown: Ye((he) => rc(ce, he), ["stop", "prevent"])
|
|
@@ -14187,7 +14201,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14187
14201
|
name: "groups",
|
|
14188
14202
|
size: "11px"
|
|
14189
14203
|
}),
|
|
14190
|
-
|
|
14204
|
+
b("span", eb, U(c(ce.item)), 1)
|
|
14191
14205
|
], 14, K0);
|
|
14192
14206
|
}), 128)),
|
|
14193
14207
|
I.value && I.value.scheduleId === W.id && $.value ? (m(), S("div", {
|
|
@@ -14200,16 +14214,16 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14200
14214
|
class: ve(["drop-preview", [$.value.kind, { conflict: ne.value }]]),
|
|
14201
14215
|
style: J(Bi.value)
|
|
14202
14216
|
}, [
|
|
14203
|
-
|
|
14217
|
+
b("div", tb, [
|
|
14204
14218
|
be(U(I.value.time) + "–" + U(F.value) + " ", 1),
|
|
14205
14219
|
I.value.session ? (m(), S("span", nb, U(o.value.intoSession), 1)) : G("", !0),
|
|
14206
14220
|
H.value ? (m(), S("span", ib, " ⚠ " + U(o.value.conflictCount) + ": " + U(H.value), 1)) : G("", !0)
|
|
14207
14221
|
]),
|
|
14208
|
-
|
|
14222
|
+
b("div", sb, U($.value.name), 1)
|
|
14209
14223
|
], 6)) : G("", !0)
|
|
14210
14224
|
], 42, _0))), 128))
|
|
14211
14225
|
], 4),
|
|
14212
|
-
|
|
14226
|
+
b("div", ob, U(o.value.gridHint), 1)
|
|
14213
14227
|
], 4)
|
|
14214
14228
|
], 512)) : (m(), S("div", O0, [
|
|
14215
14229
|
be(U(o.value.noHalls) + " ", 1),
|
|
@@ -14268,13 +14282,13 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14268
14282
|
default: C(() => [
|
|
14269
14283
|
g(f(kt), { class: "hall-card-head" }, {
|
|
14270
14284
|
default: C(() => [
|
|
14271
|
-
|
|
14285
|
+
b("div", rb, [
|
|
14272
14286
|
g(f(re), {
|
|
14273
14287
|
name: "meeting_room",
|
|
14274
14288
|
size: "18px",
|
|
14275
14289
|
color: "primary"
|
|
14276
14290
|
}),
|
|
14277
|
-
|
|
14291
|
+
b("span", lb, U(pt(W)), 1),
|
|
14278
14292
|
g(f(_n)),
|
|
14279
14293
|
g(R, {
|
|
14280
14294
|
size: "sm",
|
|
@@ -14322,7 +14336,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14322
14336
|
var ce;
|
|
14323
14337
|
return [
|
|
14324
14338
|
n.value && ((ce = W.sessions) != null && ce.length) ? (m(), S("div", ub, [
|
|
14325
|
-
|
|
14339
|
+
b("div", db, [
|
|
14326
14340
|
g(f(re), {
|
|
14327
14341
|
name: "groups",
|
|
14328
14342
|
size: "15px"
|
|
@@ -14338,7 +14352,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14338
14352
|
onChange: (ye) => dr(ye, W, "session")
|
|
14339
14353
|
}, {
|
|
14340
14354
|
item: C(({ element: ye }) => [
|
|
14341
|
-
|
|
14355
|
+
b("div", cb, [
|
|
14342
14356
|
g(f(re), {
|
|
14343
14357
|
name: "drag_indicator",
|
|
14344
14358
|
class: "drag-handle"
|
|
@@ -14387,8 +14401,8 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14387
14401
|
size: "14px",
|
|
14388
14402
|
class: "nested-icon"
|
|
14389
14403
|
}),
|
|
14390
|
-
|
|
14391
|
-
|
|
14404
|
+
b("div", hb, U(h(he)), 1),
|
|
14405
|
+
b("div", mb, U(he.startTime) + "–" + U(he.endTime), 1),
|
|
14392
14406
|
g(f(_n)),
|
|
14393
14407
|
g(R, {
|
|
14394
14408
|
size: "sm",
|
|
@@ -14404,8 +14418,8 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14404
14418
|
_: 2
|
|
14405
14419
|
}, 1032, ["list", "onChange"])
|
|
14406
14420
|
])) : G("", !0),
|
|
14407
|
-
|
|
14408
|
-
|
|
14421
|
+
b("div", pb, [
|
|
14422
|
+
b("div", gb, [
|
|
14409
14423
|
g(f(re), {
|
|
14410
14424
|
name: "mic",
|
|
14411
14425
|
size: "15px"
|
|
@@ -14421,7 +14435,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14421
14435
|
onChange: (ye) => dr(ye, W, "slot")
|
|
14422
14436
|
}, {
|
|
14423
14437
|
item: C(({ element: ye }) => [
|
|
14424
|
-
|
|
14438
|
+
b("div", vb, [
|
|
14425
14439
|
g(f(re), {
|
|
14426
14440
|
name: "drag_indicator",
|
|
14427
14441
|
class: "drag-handle"
|
|
@@ -14485,7 +14499,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14485
14499
|
]),
|
|
14486
14500
|
_: 2
|
|
14487
14501
|
}, 1024))), 128)),
|
|
14488
|
-
|
|
14502
|
+
b("div", bb, U(o.value.listHint), 1)
|
|
14489
14503
|
]))
|
|
14490
14504
|
], 64)) : (m(), S("div", R0, [
|
|
14491
14505
|
g(f(re), {
|
|
@@ -14493,7 +14507,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14493
14507
|
size: "48px",
|
|
14494
14508
|
class: "q-mb-sm"
|
|
14495
14509
|
}),
|
|
14496
|
-
|
|
14510
|
+
b("div", null, U(o.value.noDays), 1),
|
|
14497
14511
|
g(R, {
|
|
14498
14512
|
color: "primary",
|
|
14499
14513
|
outline: "",
|
|
@@ -14512,13 +14526,13 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14512
14526
|
default: C(() => [
|
|
14513
14527
|
g(f(kt), null, {
|
|
14514
14528
|
default: C(() => [
|
|
14515
|
-
|
|
14529
|
+
b("div", wb, U(o.value.addHall), 1)
|
|
14516
14530
|
]),
|
|
14517
14531
|
_: 1
|
|
14518
14532
|
}),
|
|
14519
14533
|
g(f(kt), null, {
|
|
14520
14534
|
default: C(() => [
|
|
14521
|
-
|
|
14535
|
+
b("div", Sb, [
|
|
14522
14536
|
g(fe, {
|
|
14523
14537
|
modelValue: E.value,
|
|
14524
14538
|
"onUpdate:modelValue": w[5] || (w[5] = (W) => E.value = W),
|
|
@@ -14550,7 +14564,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14550
14564
|
size: "16px",
|
|
14551
14565
|
color: "primary"
|
|
14552
14566
|
}),
|
|
14553
|
-
|
|
14567
|
+
b("span", kb, U(d(W)), 1),
|
|
14554
14568
|
g(R, {
|
|
14555
14569
|
size: "sm",
|
|
14556
14570
|
color: "primary",
|
|
@@ -14590,7 +14604,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14590
14604
|
default: C(() => [
|
|
14591
14605
|
g(f(kt), null, {
|
|
14592
14606
|
default: C(() => [
|
|
14593
|
-
|
|
14607
|
+
b("div", xb, U(o.value.deleteDay), 1)
|
|
14594
14608
|
]),
|
|
14595
14609
|
_: 1
|
|
14596
14610
|
}),
|
|
@@ -14633,7 +14647,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14633
14647
|
default: C(() => {
|
|
14634
14648
|
var W;
|
|
14635
14649
|
return [
|
|
14636
|
-
|
|
14650
|
+
b("div", $b, U(((W = V.value) == null ? void 0 : W.kind) === "session" ? o.value.session : o.value.slot), 1)
|
|
14637
14651
|
];
|
|
14638
14652
|
}),
|
|
14639
14653
|
_: 1
|
|
@@ -14651,8 +14665,8 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14651
14665
|
outlined: "",
|
|
14652
14666
|
class: "q-mb-sm"
|
|
14653
14667
|
}, null, 8, ["modelValue", "label"]),
|
|
14654
|
-
|
|
14655
|
-
|
|
14668
|
+
b("div", Tb, [
|
|
14669
|
+
b("div", Pb, [
|
|
14656
14670
|
g(pi, {
|
|
14657
14671
|
modelValue: V.value.item.startTime,
|
|
14658
14672
|
"onUpdate:modelValue": w[11] || (w[11] = (W) => V.value.item.startTime = W),
|
|
@@ -14661,7 +14675,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14661
14675
|
outlined: ""
|
|
14662
14676
|
}, null, 8, ["modelValue", "label"])
|
|
14663
14677
|
]),
|
|
14664
|
-
|
|
14678
|
+
b("div", Rb, [
|
|
14665
14679
|
g(pi, {
|
|
14666
14680
|
modelValue: V.value.item.endTime,
|
|
14667
14681
|
"onUpdate:modelValue": w[12] || (w[12] = (W) => V.value.item.endTime = W),
|
|
@@ -14750,7 +14764,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14750
14764
|
name: W.icon,
|
|
14751
14765
|
size: "15px"
|
|
14752
14766
|
}, null, 8, ["name"]),
|
|
14753
|
-
|
|
14767
|
+
b("span", null, U(W.label), 1)
|
|
14754
14768
|
], 10, Ib))), 128))
|
|
14755
14769
|
], 36)) : G("", !0)
|
|
14756
14770
|
]);
|
|
@@ -14815,10 +14829,10 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14815
14829
|
}, l = (x) => n.slotName ? n.slotName(x) : (x == null ? void 0 : x.name) || "", r = (x) => n.sessionName ? n.sessionName(x) : (x == null ? void 0 : x.name) || "", d = (x) => n.slotParticipants ? n.slotParticipants(x) : (x == null ? void 0 : x.participants) || [], c = (x) => n.sessionParticipants ? n.sessionParticipants(x) : (x == null ? void 0 : x.participants) || [], h = (x) => {
|
|
14816
14830
|
var V, $;
|
|
14817
14831
|
return n.participantName ? n.participantName(x) : (x == null ? void 0 : x.name) || (x == null ? void 0 : x.fullName) || (($ = (V = x == null ? void 0 : x.human) == null ? void 0 : V.getFullName) == null ? void 0 : $.call(V)) || "";
|
|
14818
|
-
}, p = (x) => n.participantBio ? n.participantBio(x) : (x == null ? void 0 : x.bio) || (x == null ? void 0 : x.regalias) || "",
|
|
14832
|
+
}, p = (x) => n.participantBio ? n.participantBio(x) : (x == null ? void 0 : x.bio) || (x == null ? void 0 : x.regalias) || "", y = (x) => n.slotListOf ? n.slotListOf(x) : (x == null ? void 0 : x.slots) || [], k = (x) => n.nestedSlotListOf ? n.nestedSlotListOf(x) : (x == null ? void 0 : x.slots) || [], P = (x) => x.schedules.filter(
|
|
14819
14833
|
(V) => {
|
|
14820
14834
|
var $;
|
|
14821
|
-
return
|
|
14835
|
+
return y(V).length > 0 || ((($ = V.sessions) == null ? void 0 : $.length) || 0) > 0;
|
|
14822
14836
|
}
|
|
14823
14837
|
), E = (x) => {
|
|
14824
14838
|
const V = [], $ = new Set((x.sessions || []).map((I) => I.id));
|
|
@@ -14828,7 +14842,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14828
14842
|
V.push({ kind: "slot", item: L, nested: !0, index: 0 });
|
|
14829
14843
|
}
|
|
14830
14844
|
let B = 0;
|
|
14831
|
-
for (const I of
|
|
14845
|
+
for (const I of y(x).filter(
|
|
14832
14846
|
(L) => !L.sessionId || !$.has(L.sessionId)
|
|
14833
14847
|
))
|
|
14834
14848
|
V.push({ kind: "slot", item: I, nested: !1, index: B++ });
|
|
@@ -14841,7 +14855,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14841
14855
|
return ($ = V.schedules) == null ? void 0 : $.some(
|
|
14842
14856
|
(B) => {
|
|
14843
14857
|
var I;
|
|
14844
|
-
return
|
|
14858
|
+
return y(B).length > 0 || (((I = B.sessions) == null ? void 0 : I.length) || 0) > 0;
|
|
14845
14859
|
}
|
|
14846
14860
|
);
|
|
14847
14861
|
}
|
|
@@ -14853,8 +14867,8 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14853
14867
|
key: $.id,
|
|
14854
14868
|
class: "day-section"
|
|
14855
14869
|
}, [
|
|
14856
|
-
|
|
14857
|
-
|
|
14870
|
+
b("div", zb, [
|
|
14871
|
+
b("div", Lb, [
|
|
14858
14872
|
g(f(re), {
|
|
14859
14873
|
name: "calendar_month",
|
|
14860
14874
|
size: "16px",
|
|
@@ -14863,7 +14877,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14863
14877
|
be(" " + U(o($)), 1)
|
|
14864
14878
|
])
|
|
14865
14879
|
]),
|
|
14866
|
-
|
|
14880
|
+
b("div", Vb, [
|
|
14867
14881
|
(m(!0), S(K, null, we(P($), (B) => (m(), S("div", {
|
|
14868
14882
|
key: B.id,
|
|
14869
14883
|
class: "time-slot"
|
|
@@ -14875,23 +14889,23 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14875
14889
|
}),
|
|
14876
14890
|
be(" " + U(a(B)), 1)
|
|
14877
14891
|
])) : G("", !0),
|
|
14878
|
-
|
|
14892
|
+
b("div", Ub, [
|
|
14879
14893
|
(m(!0), S(K, null, we(E(B), (I) => (m(), S(K, {
|
|
14880
14894
|
key: I.item.id
|
|
14881
14895
|
}, [
|
|
14882
14896
|
I.kind === "session" ? (m(), S("div", Bb, [
|
|
14883
|
-
|
|
14884
|
-
|
|
14885
|
-
|
|
14886
|
-
|
|
14897
|
+
b("div", qb, [
|
|
14898
|
+
b("div", Nb, U(M(I.item.startTime, I.item.endTime)), 1),
|
|
14899
|
+
b("div", Hb, [
|
|
14900
|
+
b("div", jb, U(r(I.item)), 1),
|
|
14887
14901
|
c(I.item).length ? (m(), S("div", Gb, [
|
|
14888
14902
|
(m(!0), S(K, null, we(c(I.item), (L) => (m(), S("div", {
|
|
14889
14903
|
key: L.id,
|
|
14890
14904
|
class: "speaker-item",
|
|
14891
14905
|
onClick: (Q) => i("open-participant", L)
|
|
14892
14906
|
}, [
|
|
14893
|
-
|
|
14894
|
-
|
|
14907
|
+
b("div", Yb, [
|
|
14908
|
+
b("div", Qb, [
|
|
14895
14909
|
g(f(re), {
|
|
14896
14910
|
name: "groups",
|
|
14897
14911
|
size: "13px",
|
|
@@ -14899,7 +14913,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14899
14913
|
}),
|
|
14900
14914
|
be(" " + U(h(L)), 1)
|
|
14901
14915
|
]),
|
|
14902
|
-
|
|
14916
|
+
b("div", Xb, U(p(L)), 1)
|
|
14903
14917
|
])
|
|
14904
14918
|
], 8, Wb))), 128))
|
|
14905
14919
|
])) : G("", !0)
|
|
@@ -14914,11 +14928,11 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14914
14928
|
onClick: (L) => n.slotClickable && i("slot-click", I.item)
|
|
14915
14929
|
}, [
|
|
14916
14930
|
!I.nested && I.index > 0 ? (m(), S("div", Jb)) : G("", !0),
|
|
14917
|
-
|
|
14918
|
-
|
|
14919
|
-
|
|
14920
|
-
|
|
14921
|
-
|
|
14931
|
+
b("div", Kb, [
|
|
14932
|
+
b("div", ew, U(M(I.item.startTime, I.item.endTime)), 1),
|
|
14933
|
+
b("div", tw, [
|
|
14934
|
+
b("div", nw, U(l(I.item)), 1),
|
|
14935
|
+
b("div", iw, [
|
|
14922
14936
|
N(x.$slots, "badges", {
|
|
14923
14937
|
item: I.item
|
|
14924
14938
|
}, void 0, !0)
|
|
@@ -14929,8 +14943,8 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14929
14943
|
class: "speaker-item",
|
|
14930
14944
|
onClick: (Q) => i("open-participant", L)
|
|
14931
14945
|
}, [
|
|
14932
|
-
|
|
14933
|
-
|
|
14946
|
+
b("div", aw, [
|
|
14947
|
+
b("div", rw, [
|
|
14934
14948
|
g(f(re), {
|
|
14935
14949
|
name: "mic",
|
|
14936
14950
|
size: "13px",
|
|
@@ -14938,7 +14952,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14938
14952
|
}),
|
|
14939
14953
|
be(" " + U(h(L)), 1)
|
|
14940
14954
|
]),
|
|
14941
|
-
|
|
14955
|
+
b("div", lw, U(p(L)), 1)
|
|
14942
14956
|
])
|
|
14943
14957
|
], 8, ow))), 128))
|
|
14944
14958
|
])) : G("", !0)
|
|
@@ -14956,7 +14970,7 @@ const S0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14956
14970
|
size: "40px",
|
|
14957
14971
|
class: "no-program-icon"
|
|
14958
14972
|
}),
|
|
14959
|
-
|
|
14973
|
+
b("p", null, U(s.value.noProgram), 1)
|
|
14960
14974
|
])),
|
|
14961
14975
|
N(x.$slots, "default", {}, void 0, !0)
|
|
14962
14976
|
]));
|
|
@@ -15044,7 +15058,7 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15044
15058
|
);
|
|
15045
15059
|
return (i, s) => (m(), z(Rn(t.bare ? "div" : f(wn)), at(t.bare ? {} : { autoWidth: !0 }, { class: t.cellClass }), {
|
|
15046
15060
|
default: C(() => [
|
|
15047
|
-
|
|
15061
|
+
b("div", Pw, [
|
|
15048
15062
|
(m(!0), S(K, null, we(f(n), (o, a) => (m(), z(ue, {
|
|
15049
15063
|
key: a,
|
|
15050
15064
|
size: "sm",
|
|
@@ -15087,7 +15101,7 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15087
15101
|
return m(), S("div", Iw, [
|
|
15088
15102
|
g(Ne, {
|
|
15089
15103
|
modelValue: f(i),
|
|
15090
|
-
"onUpdate:modelValue": d[0] || (d[0] = (h) =>
|
|
15104
|
+
"onUpdate:modelValue": d[0] || (d[0] = (h) => Me(i) ? i.value = h : null),
|
|
15091
15105
|
placeholder: "Поиск...",
|
|
15092
15106
|
dense: "",
|
|
15093
15107
|
outlined: "",
|
|
@@ -15178,10 +15192,10 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15178
15192
|
);
|
|
15179
15193
|
p && "focus" in p && p.focus();
|
|
15180
15194
|
};
|
|
15181
|
-
return (p,
|
|
15195
|
+
return (p, y) => (m(), z(on, {
|
|
15182
15196
|
modelValue: f(a),
|
|
15183
15197
|
"onUpdate:modelValue": [
|
|
15184
|
-
|
|
15198
|
+
y[0] || (y[0] = (k) => Me(a) ? a.value = k : null),
|
|
15185
15199
|
r
|
|
15186
15200
|
],
|
|
15187
15201
|
position: "top",
|
|
@@ -15192,12 +15206,12 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15192
15206
|
onShow: h
|
|
15193
15207
|
}, {
|
|
15194
15208
|
default: C(() => [
|
|
15195
|
-
|
|
15209
|
+
b("div", {
|
|
15196
15210
|
class: "edit-dialog",
|
|
15197
15211
|
style: J({ width: s.width })
|
|
15198
15212
|
}, [
|
|
15199
|
-
|
|
15200
|
-
|
|
15213
|
+
b("div", Fw, [
|
|
15214
|
+
b("div", Ow, U(s.title), 1),
|
|
15201
15215
|
Je(g(ue, {
|
|
15202
15216
|
icon: "close",
|
|
15203
15217
|
flat: "",
|
|
@@ -15208,7 +15222,7 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15208
15222
|
[f(i)]
|
|
15209
15223
|
])
|
|
15210
15224
|
]),
|
|
15211
|
-
|
|
15225
|
+
b("div", Dw, [
|
|
15212
15226
|
N(p.$slots, "default", {}, void 0, !0)
|
|
15213
15227
|
]),
|
|
15214
15228
|
s.showConfirm ? (m(), S("div", zw, [
|
|
@@ -15266,7 +15280,7 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15266
15280
|
default: C(() => {
|
|
15267
15281
|
var d, c, h, p;
|
|
15268
15282
|
return [
|
|
15269
|
-
|
|
15283
|
+
b("div", {
|
|
15270
15284
|
class: ve(["tags-chip", { empty: !((d = t.row[t.prop]) != null && d.id) }]),
|
|
15271
15285
|
title: (c = t.row[t.prop]) != null && c.id ? "Изменить" : "Добавить",
|
|
15272
15286
|
onClick: o
|
|
@@ -15328,7 +15342,7 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15328
15342
|
class: "tags-cell"
|
|
15329
15343
|
}, {
|
|
15330
15344
|
default: C(() => [
|
|
15331
|
-
|
|
15345
|
+
b("div", {
|
|
15332
15346
|
class: ve(["tags-badge", { empty: !f(o) }]),
|
|
15333
15347
|
title: f(o) ? "Изменить" : "Добавить",
|
|
15334
15348
|
onClick: c[0] || (c[0] = Ye((h) => {
|
|
@@ -15391,12 +15405,12 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15391
15405
|
class: "relation-cell"
|
|
15392
15406
|
}, {
|
|
15393
15407
|
default: C(() => [
|
|
15394
|
-
|
|
15408
|
+
b("div", {
|
|
15395
15409
|
class: ve(["relation-badge", { "has-items": t.count > 0 }]),
|
|
15396
15410
|
onClick: s
|
|
15397
15411
|
}, [
|
|
15398
15412
|
t.label ? (m(), S("span", jw, U(t.label), 1)) : G("", !0),
|
|
15399
|
-
|
|
15413
|
+
b("span", Gw, U(t.count), 1)
|
|
15400
15414
|
], 2)
|
|
15401
15415
|
]),
|
|
15402
15416
|
_: 1
|
|
@@ -15476,7 +15490,7 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15476
15490
|
set: (I) => {
|
|
15477
15491
|
d.value = I;
|
|
15478
15492
|
}
|
|
15479
|
-
}),
|
|
15493
|
+
}), y = D({
|
|
15480
15494
|
get: () => typeof d.value == "string" || typeof d.value == "number" ? d.value : "",
|
|
15481
15495
|
set: (I) => {
|
|
15482
15496
|
d.value = I;
|
|
@@ -15509,7 +15523,7 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15509
15523
|
M.value !== void 0 && (i("commit", M.value), E.value = !1);
|
|
15510
15524
|
}, B = (I) => i("commit", I);
|
|
15511
15525
|
return (I, L) => (m(), S(K, null, [
|
|
15512
|
-
|
|
15526
|
+
b("div", {
|
|
15513
15527
|
class: ve(["p-table-editable", { "is-readonly": !f(s) }]),
|
|
15514
15528
|
"data-kind": t.kind
|
|
15515
15529
|
}, [
|
|
@@ -15527,7 +15541,7 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15527
15541
|
title: `Клик — правка: ${t.label}`,
|
|
15528
15542
|
onClick: k
|
|
15529
15543
|
}, [
|
|
15530
|
-
|
|
15544
|
+
b("span", {
|
|
15531
15545
|
class: ve(["cell-text", { empty: f(l), num: t.kind === "number" }])
|
|
15532
15546
|
}, U(f(r)), 3)
|
|
15533
15547
|
], 10, Qw)) : (m(), S("span", {
|
|
@@ -15538,7 +15552,7 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15538
15552
|
f(s) && f(o) ? (m(), z(on, {
|
|
15539
15553
|
key: 0,
|
|
15540
15554
|
modelValue: f(c),
|
|
15541
|
-
"onUpdate:modelValue": L[6] || (L[6] = (Q) =>
|
|
15555
|
+
"onUpdate:modelValue": L[6] || (L[6] = (Q) => Me(c) ? c.value = Q : null),
|
|
15542
15556
|
seamless: !1,
|
|
15543
15557
|
position: "standard",
|
|
15544
15558
|
"transition-show": "fade",
|
|
@@ -15546,9 +15560,9 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15546
15560
|
class: "pec-narrow-dialog"
|
|
15547
15561
|
}, {
|
|
15548
15562
|
default: C(() => [
|
|
15549
|
-
|
|
15550
|
-
|
|
15551
|
-
|
|
15563
|
+
b("div", Xw, [
|
|
15564
|
+
b("div", Zw, [
|
|
15565
|
+
b("span", Jw, U(t.label), 1),
|
|
15552
15566
|
g(ue, {
|
|
15553
15567
|
flat: "",
|
|
15554
15568
|
dense: "",
|
|
@@ -15561,12 +15575,12 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15561
15575
|
t.kind === "date" ? (m(), z(qa, {
|
|
15562
15576
|
key: 0,
|
|
15563
15577
|
modelValue: f(h),
|
|
15564
|
-
"onUpdate:modelValue": L[2] || (L[2] = (Q) =>
|
|
15578
|
+
"onUpdate:modelValue": L[2] || (L[2] = (Q) => Me(h) ? h.value = Q : null),
|
|
15565
15579
|
autofocus: ""
|
|
15566
15580
|
}, null, 8, ["modelValue"])) : t.kind === "number" ? (m(), z(Ne, {
|
|
15567
15581
|
key: 1,
|
|
15568
15582
|
modelValue: f(p),
|
|
15569
|
-
"onUpdate:modelValue": L[3] || (L[3] = (Q) =>
|
|
15583
|
+
"onUpdate:modelValue": L[3] || (L[3] = (Q) => Me(p) ? p.value = Q : null),
|
|
15570
15584
|
type: "number",
|
|
15571
15585
|
min: t.min,
|
|
15572
15586
|
max: t.max,
|
|
@@ -15575,14 +15589,14 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15575
15589
|
autofocus: ""
|
|
15576
15590
|
}, null, 8, ["modelValue", "min", "max", "step", "placeholder"])) : (m(), z(Ne, {
|
|
15577
15591
|
key: 2,
|
|
15578
|
-
modelValue: f(
|
|
15579
|
-
"onUpdate:modelValue": L[4] || (L[4] = (Q) =>
|
|
15592
|
+
modelValue: f(y),
|
|
15593
|
+
"onUpdate:modelValue": L[4] || (L[4] = (Q) => Me(y) ? y.value = Q : null),
|
|
15580
15594
|
type: t.multiline ? "textarea" : "text",
|
|
15581
15595
|
mask: t.mask,
|
|
15582
15596
|
placeholder: t.mask || t.placeholder,
|
|
15583
15597
|
autofocus: ""
|
|
15584
15598
|
}, null, 8, ["modelValue", "type", "mask", "placeholder"])),
|
|
15585
|
-
|
|
15599
|
+
b("div", Kw, [
|
|
15586
15600
|
g(ue, {
|
|
15587
15601
|
flat: "",
|
|
15588
15602
|
dense: "",
|
|
@@ -15606,7 +15620,7 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15606
15620
|
f(s) && f(a) ? (m(), z(on, {
|
|
15607
15621
|
key: 1,
|
|
15608
15622
|
modelValue: f(E),
|
|
15609
|
-
"onUpdate:modelValue": L[10] || (L[10] = (Q) =>
|
|
15623
|
+
"onUpdate:modelValue": L[10] || (L[10] = (Q) => Me(E) ? E.value = Q : null),
|
|
15610
15624
|
seamless: !1,
|
|
15611
15625
|
position: "standard",
|
|
15612
15626
|
"transition-show": "fade",
|
|
@@ -15614,9 +15628,9 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15614
15628
|
class: "pec-narrow-dialog"
|
|
15615
15629
|
}, {
|
|
15616
15630
|
default: C(() => [
|
|
15617
|
-
|
|
15618
|
-
|
|
15619
|
-
|
|
15631
|
+
b("div", e2, [
|
|
15632
|
+
b("div", t2, [
|
|
15633
|
+
b("span", n2, U(t.label), 1),
|
|
15620
15634
|
g(ue, {
|
|
15621
15635
|
flat: "",
|
|
15622
15636
|
dense: "",
|
|
@@ -15628,7 +15642,7 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15628
15642
|
]),
|
|
15629
15643
|
g(Ne, {
|
|
15630
15644
|
modelValue: f(T),
|
|
15631
|
-
"onUpdate:modelValue": L[8] || (L[8] = (Q) =>
|
|
15645
|
+
"onUpdate:modelValue": L[8] || (L[8] = (Q) => Me(T) ? T.value = Q : null),
|
|
15632
15646
|
dense: "",
|
|
15633
15647
|
autofocus: "",
|
|
15634
15648
|
clearable: "",
|
|
@@ -15651,7 +15665,7 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15651
15665
|
key: "0"
|
|
15652
15666
|
} : void 0
|
|
15653
15667
|
]), 1032, ["modelValue"]),
|
|
15654
|
-
|
|
15668
|
+
b("div", i2, [
|
|
15655
15669
|
(m(!0), S(K, null, we(f(V), (Q) => (m(), S("div", {
|
|
15656
15670
|
key: String(Q.value),
|
|
15657
15671
|
class: ve(["pec-picker-item", { "is-active": Q.value === f(M) }]),
|
|
@@ -15662,11 +15676,11 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15662
15676
|
name: "check",
|
|
15663
15677
|
size: "16px"
|
|
15664
15678
|
})) : (m(), S("span", o2)),
|
|
15665
|
-
|
|
15679
|
+
b("span", a2, U(Q.label), 1)
|
|
15666
15680
|
], 10, s2))), 128)),
|
|
15667
15681
|
f(V).length ? G("", !0) : (m(), S("div", r2, U(t.options.length ? "Ничего не найдено" : "Список пуст"), 1))
|
|
15668
15682
|
]),
|
|
15669
|
-
|
|
15683
|
+
b("div", l2, [
|
|
15670
15684
|
g(ue, {
|
|
15671
15685
|
flat: "",
|
|
15672
15686
|
dense: "",
|
|
@@ -15722,14 +15736,14 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15722
15736
|
class: "p-table-number-cell"
|
|
15723
15737
|
}, {
|
|
15724
15738
|
default: C(() => [
|
|
15725
|
-
|
|
15739
|
+
b("div", {
|
|
15726
15740
|
class: ve(["editable-cell", { clickable: f(s) }]),
|
|
15727
15741
|
onClick: d[0] || (d[0] = (c) => {
|
|
15728
15742
|
var h;
|
|
15729
15743
|
return f(s) ? (h = f(n)) == null ? void 0 : h.toggle() : void 0;
|
|
15730
15744
|
})
|
|
15731
15745
|
}, [
|
|
15732
|
-
|
|
15746
|
+
b("span", d2, U(f(a)), 1),
|
|
15733
15747
|
f(o) ? (m(), z(jn, { key: 0 }, {
|
|
15734
15748
|
default: C(() => [
|
|
15735
15749
|
be(U(f(i)), 1)
|
|
@@ -15822,14 +15836,14 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15822
15836
|
class: "p-table-string-cell"
|
|
15823
15837
|
}, {
|
|
15824
15838
|
default: C(() => [
|
|
15825
|
-
|
|
15839
|
+
b("div", {
|
|
15826
15840
|
class: ve(["editable-cell", { clickable: f(s) }]),
|
|
15827
15841
|
onClick: d[0] || (d[0] = (c) => {
|
|
15828
15842
|
var h;
|
|
15829
15843
|
return f(s) ? (h = f(n)) == null ? void 0 : h.toggle() : void 0;
|
|
15830
15844
|
})
|
|
15831
15845
|
}, [
|
|
15832
|
-
|
|
15846
|
+
b("span", h2, U(f(a)), 1),
|
|
15833
15847
|
f(o) ? (m(), z(jn, { key: 0 }, {
|
|
15834
15848
|
default: C(() => [
|
|
15835
15849
|
be(U(f(i)), 1)
|
|
@@ -15878,17 +15892,17 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15878
15892
|
},
|
|
15879
15893
|
emits: ["request"],
|
|
15880
15894
|
setup(t, { emit: e }) {
|
|
15881
|
-
function n(
|
|
15882
|
-
return
|
|
15895
|
+
function n(y) {
|
|
15896
|
+
return y.width ? { width: y.width, maxWidth: y.width } : {};
|
|
15883
15897
|
}
|
|
15884
15898
|
const i = D(
|
|
15885
|
-
() => (s.cols ?? []).some((
|
|
15899
|
+
() => (s.cols ?? []).some((y) => !!y.width)
|
|
15886
15900
|
), s = t, o = D(() => {
|
|
15887
15901
|
var k;
|
|
15888
15902
|
if (s.loading)
|
|
15889
15903
|
return !0;
|
|
15890
|
-
const
|
|
15891
|
-
return typeof
|
|
15904
|
+
const y = (k = s.store) == null ? void 0 : k.loading;
|
|
15905
|
+
return typeof y == "boolean" ? y : !!(y != null && y.value);
|
|
15892
15906
|
}), a = Cn(), l = D(() => s.ftsp ?? a), r = e, d = O({
|
|
15893
15907
|
page: 0,
|
|
15894
15908
|
rowsNumber: c(),
|
|
@@ -15898,21 +15912,21 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15898
15912
|
});
|
|
15899
15913
|
function c() {
|
|
15900
15914
|
var k;
|
|
15901
|
-
const
|
|
15902
|
-
return typeof
|
|
15915
|
+
const y = (k = s.store) == null ? void 0 : k.Count;
|
|
15916
|
+
return typeof y == "number" ? y : Number((y == null ? void 0 : y.value) ?? 0) || 0;
|
|
15903
15917
|
}
|
|
15904
|
-
Ae(c, (
|
|
15905
|
-
d.value.rowsNumber =
|
|
15918
|
+
Ae(c, (y) => {
|
|
15919
|
+
d.value.rowsNumber = y;
|
|
15906
15920
|
});
|
|
15907
|
-
const h = (
|
|
15908
|
-
l.value.p.offset = (
|
|
15909
|
-
}, p = async (
|
|
15921
|
+
const h = (y) => {
|
|
15922
|
+
l.value.p.offset = (y.pagination.page - 1) * y.pagination.rowsPerPage, l.value.p.rowsPerPage = y.pagination.rowsPerPage, d.value.page = y.pagination.page, d.value.rowsPerPage = y.pagination.rowsPerPage;
|
|
15923
|
+
}, p = async (y) => {
|
|
15910
15924
|
var k, P;
|
|
15911
|
-
h(
|
|
15925
|
+
h(y), s.store && await ((P = (k = s.store).FTSP) == null ? void 0 : P.call(k, { ftsp: l.value })), r("request");
|
|
15912
15926
|
};
|
|
15913
|
-
return (
|
|
15927
|
+
return (y, k) => (m(), z(f(Lc), {
|
|
15914
15928
|
pagination: f(d),
|
|
15915
|
-
"onUpdate:pagination": k[0] || (k[0] = (P) =>
|
|
15929
|
+
"onUpdate:pagination": k[0] || (k[0] = (P) => Me(d) ? d.value = P : null),
|
|
15916
15930
|
columns: t.cols,
|
|
15917
15931
|
rows: t.items,
|
|
15918
15932
|
"row-key": t.rowKey,
|
|
@@ -15928,7 +15942,7 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15928
15942
|
onRequest: p
|
|
15929
15943
|
}, {
|
|
15930
15944
|
header: C((P) => [
|
|
15931
|
-
N(
|
|
15945
|
+
N(y.$slots, "header", { props: P }, () => [
|
|
15932
15946
|
g(f($r), { props: P }, {
|
|
15933
15947
|
default: C(() => [
|
|
15934
15948
|
t.lead ? (m(), z(f(Tr), {
|
|
@@ -15958,7 +15972,7 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15958
15972
|
}, null, 8, ["showing"])
|
|
15959
15973
|
]),
|
|
15960
15974
|
body: C((P) => [
|
|
15961
|
-
N(
|
|
15975
|
+
N(y.$slots, "body", Os(Ds(P)), () => {
|
|
15962
15976
|
var E;
|
|
15963
15977
|
return [
|
|
15964
15978
|
g(f($r), at({ props: P }, ((E = t.rowAttrs) == null ? void 0 : E.call(t, P.row)) ?? {}), {
|
|
@@ -15968,13 +15982,13 @@ const kw = new Cw(), xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15968
15982
|
class: "p-table__lead"
|
|
15969
15983
|
}, {
|
|
15970
15984
|
default: C(() => [
|
|
15971
|
-
N(
|
|
15985
|
+
N(y.$slots, "lead", {
|
|
15972
15986
|
row: P.row
|
|
15973
15987
|
}, void 0, !0)
|
|
15974
15988
|
]),
|
|
15975
15989
|
_: 2
|
|
15976
15990
|
}, 1024)) : G("", !0),
|
|
15977
|
-
N(
|
|
15991
|
+
N(y.$slots, "default", {
|
|
15978
15992
|
row: P.row,
|
|
15979
15993
|
props: P
|
|
15980
15994
|
}, void 0, !0)
|
|
@@ -16140,7 +16154,7 @@ const g2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16140
16154
|
}, d = O(18);
|
|
16141
16155
|
return (c, h) => (m(), z(f(_c), {
|
|
16142
16156
|
modelValue: f(d),
|
|
16143
|
-
"onUpdate:modelValue": h[0] || (h[0] = (p) =>
|
|
16157
|
+
"onUpdate:modelValue": h[0] || (h[0] = (p) => Me(d) ? d.value = p : null),
|
|
16144
16158
|
class: "full-height",
|
|
16145
16159
|
limits: s
|
|
16146
16160
|
}, {
|
|
@@ -16156,7 +16170,7 @@ const g2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16156
16170
|
active: p.value === t.tabsStore.value,
|
|
16157
16171
|
"active-class": "left-menu__item--active",
|
|
16158
16172
|
class: "left-menu__item",
|
|
16159
|
-
onClick: (
|
|
16173
|
+
onClick: (y) => o(p.value)
|
|
16160
16174
|
}, {
|
|
16161
16175
|
default: C(() => [
|
|
16162
16176
|
g(f(hn), { class: "left-menu__label" }, {
|
|
@@ -16172,8 +16186,8 @@ const g2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16172
16186
|
_: 1
|
|
16173
16187
|
}),
|
|
16174
16188
|
t.buttons.length ? (m(), S("div", b2, [
|
|
16175
|
-
(m(!0), S(K, null, we(t.buttons, (p,
|
|
16176
|
-
key:
|
|
16189
|
+
(m(!0), S(K, null, we(t.buttons, (p, y) => (m(), z(ue, {
|
|
16190
|
+
key: y,
|
|
16177
16191
|
label: p.text,
|
|
16178
16192
|
color: l(p),
|
|
16179
16193
|
disable: !p.action,
|
|
@@ -16385,7 +16399,7 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16385
16399
|
},
|
|
16386
16400
|
{ immediate: !0 }
|
|
16387
16401
|
);
|
|
16388
|
-
const
|
|
16402
|
+
const y = {
|
|
16389
16403
|
days: "Понедельник_Вторник_Среда_Четверг_Пятница_Суббота_Воскресенье".split("_"),
|
|
16390
16404
|
daysShort: "Пн_Вт_Ср_Чт_Пт_Сб_Вс".split("_"),
|
|
16391
16405
|
months: "Январь_Февраль_Март_Апрель_Май_Июнь_Июль_Август_Сентябрь_Октябрь_Ноябрь_Декабрь".split(
|
|
@@ -16420,12 +16434,12 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16420
16434
|
default: C(() => [
|
|
16421
16435
|
g(f(Ks), {
|
|
16422
16436
|
modelValue: f(s),
|
|
16423
|
-
"onUpdate:modelValue": P[0] || (P[0] = (E) =>
|
|
16437
|
+
"onUpdate:modelValue": P[0] || (P[0] = (E) => Me(s) ? s.value = E : null),
|
|
16424
16438
|
mask: "DD.MM.YYYY",
|
|
16425
|
-
locale:
|
|
16439
|
+
locale: y
|
|
16426
16440
|
}, {
|
|
16427
16441
|
default: C(() => [
|
|
16428
|
-
|
|
16442
|
+
b("div", k2, [
|
|
16429
16443
|
Je(g(ue, {
|
|
16430
16444
|
label: "OK",
|
|
16431
16445
|
color: "primary",
|
|
@@ -16455,13 +16469,13 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16455
16469
|
default: C(() => [
|
|
16456
16470
|
g(f(bl), {
|
|
16457
16471
|
modelValue: f(o),
|
|
16458
|
-
"onUpdate:modelValue": P[1] || (P[1] = (E) =>
|
|
16472
|
+
"onUpdate:modelValue": P[1] || (P[1] = (E) => Me(o) ? o.value = E : null),
|
|
16459
16473
|
mask: "HH:mm",
|
|
16460
16474
|
format24h: "",
|
|
16461
|
-
locale:
|
|
16475
|
+
locale: y
|
|
16462
16476
|
}, {
|
|
16463
16477
|
default: C(() => [
|
|
16464
|
-
|
|
16478
|
+
b("div", x2, [
|
|
16465
16479
|
Je(g(ue, {
|
|
16466
16480
|
label: "OK",
|
|
16467
16481
|
color: "primary",
|
|
@@ -16548,11 +16562,11 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16548
16562
|
var M;
|
|
16549
16563
|
const T = await ((M = l.value) == null ? void 0 : M.validate()) ?? !1;
|
|
16550
16564
|
return a(T), T;
|
|
16551
|
-
},
|
|
16565
|
+
}, y = () => {
|
|
16552
16566
|
var T;
|
|
16553
16567
|
(T = l.value) == null || T.resetValidation(), a(!0);
|
|
16554
16568
|
};
|
|
16555
|
-
return e({ validate: p, resetValidation:
|
|
16569
|
+
return e({ validate: p, resetValidation: y, focus: () => {
|
|
16556
16570
|
var T;
|
|
16557
16571
|
return (T = l.value) == null ? void 0 : T.focus();
|
|
16558
16572
|
}, submit: (T) => {
|
|
@@ -16580,7 +16594,7 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16580
16594
|
N(T.$slots, "actions", {
|
|
16581
16595
|
valid: f(o),
|
|
16582
16596
|
validate: p,
|
|
16583
|
-
resetValidation:
|
|
16597
|
+
resetValidation: y
|
|
16584
16598
|
}, void 0, !0)
|
|
16585
16599
|
])) : G("", !0)
|
|
16586
16600
|
]),
|
|
@@ -16619,14 +16633,14 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16619
16633
|
})) : G("", !0),
|
|
16620
16634
|
g(f(Ta), {
|
|
16621
16635
|
modelValue: f(e),
|
|
16622
|
-
"onUpdate:modelValue": i[1] || (i[1] = (s) =>
|
|
16636
|
+
"onUpdate:modelValue": i[1] || (i[1] = (s) => Me(e) ? e.value = s : null),
|
|
16623
16637
|
anchor: "top middle",
|
|
16624
16638
|
self: "bottom middle",
|
|
16625
16639
|
offset: [0, 6],
|
|
16626
16640
|
"max-width": "340px"
|
|
16627
16641
|
}, {
|
|
16628
16642
|
default: C(() => [
|
|
16629
|
-
|
|
16643
|
+
b("div", A2, U(t.text), 1)
|
|
16630
16644
|
]),
|
|
16631
16645
|
_: 1
|
|
16632
16646
|
}, 8, ["modelValue"])
|
|
@@ -16683,7 +16697,7 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16683
16697
|
s.value = !s.value, i("open", a);
|
|
16684
16698
|
};
|
|
16685
16699
|
return (a, l) => {
|
|
16686
|
-
const r =
|
|
16700
|
+
const r = Ie("PString");
|
|
16687
16701
|
return m(), S(K, null, [
|
|
16688
16702
|
t.shift ? G("", !0) : (m(), S("div", {
|
|
16689
16703
|
key: 0,
|
|
@@ -16693,7 +16707,7 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16693
16707
|
height: t.height
|
|
16694
16708
|
})
|
|
16695
16709
|
}, null, 4)),
|
|
16696
|
-
|
|
16710
|
+
b("div", {
|
|
16697
16711
|
class: "LS-body",
|
|
16698
16712
|
style: J({
|
|
16699
16713
|
marginLeft: f(s) ? "0" : `calc(${t.widthClosed} - ${t.widthOpened})`,
|
|
@@ -16705,7 +16719,7 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16705
16719
|
height: t.height
|
|
16706
16720
|
})
|
|
16707
16721
|
}, [
|
|
16708
|
-
|
|
16722
|
+
b("div", {
|
|
16709
16723
|
class: "LS-content",
|
|
16710
16724
|
style: J({
|
|
16711
16725
|
width: `calc(100% - ${t.widthClosed})`,
|
|
@@ -16845,7 +16859,7 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16845
16859
|
size: t.iconSize,
|
|
16846
16860
|
class: "p-loader__icon--error"
|
|
16847
16861
|
}, null, 8, ["size"]),
|
|
16848
|
-
|
|
16862
|
+
b("div", U2, U(t.error), 1),
|
|
16849
16863
|
t.retryLabel ? (m(), z(ue, {
|
|
16850
16864
|
key: 0,
|
|
16851
16865
|
unelevated: "",
|
|
@@ -16886,7 +16900,7 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16886
16900
|
const e = t, n = ((l = e.storeOpts) == null ? void 0 : l.Options) ?? [], i = O(n);
|
|
16887
16901
|
async function s(r, d, c, h) {
|
|
16888
16902
|
var P, E;
|
|
16889
|
-
const
|
|
16903
|
+
const y = "set" + (((P = d[0]) == null ? void 0 : P.toUpperCase()) + d.slice(1)), k = r[y];
|
|
16890
16904
|
typeof k == "function" ? k(c) : (r[d] = c, r[d + "Id"] = c == null ? void 0 : c.id), await ((E = h == null ? void 0 : h.Update) == null ? void 0 : E.call(h, r));
|
|
16891
16905
|
}
|
|
16892
16906
|
const o = (r, d) => {
|
|
@@ -16978,7 +16992,7 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16978
16992
|
s.value = !s.value, i("open", a);
|
|
16979
16993
|
};
|
|
16980
16994
|
return (a, l) => {
|
|
16981
|
-
const r =
|
|
16995
|
+
const r = Ie("PString");
|
|
16982
16996
|
return m(), S("div", {
|
|
16983
16997
|
class: "wrapper",
|
|
16984
16998
|
style: J({
|
|
@@ -16986,7 +17000,7 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16986
17000
|
height: t.height
|
|
16987
17001
|
})
|
|
16988
17002
|
}, [
|
|
16989
|
-
|
|
17003
|
+
b("div", {
|
|
16990
17004
|
class: "content",
|
|
16991
17005
|
style: J({
|
|
16992
17006
|
paddingRight: t.shift ? "0" : `${t.widthClosed}`
|
|
@@ -16994,7 +17008,7 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16994
17008
|
}, [
|
|
16995
17009
|
N(a.$slots, "content", {}, void 0, !0)
|
|
16996
17010
|
], 4),
|
|
16997
|
-
|
|
17011
|
+
b("div", {
|
|
16998
17012
|
class: "RS-body",
|
|
16999
17013
|
style: J({
|
|
17000
17014
|
marginRight: f(s) ? "0" : `calc(${t.widthClosed} - ${t.widthOpened})`,
|
|
@@ -17034,7 +17048,7 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17034
17048
|
]),
|
|
17035
17049
|
_: 1
|
|
17036
17050
|
}, 8, ["style"]),
|
|
17037
|
-
|
|
17051
|
+
b("div", {
|
|
17038
17052
|
class: "RS-content",
|
|
17039
17053
|
style: J({
|
|
17040
17054
|
width: `calc(${t.widthOpened} - ${t.widthClosed} - 2px)`,
|
|
@@ -17091,7 +17105,7 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17091
17105
|
};
|
|
17092
17106
|
return (s, o) => (m(), z(f(wn), { key: t.prop }, {
|
|
17093
17107
|
default: C(() => [
|
|
17094
|
-
|
|
17108
|
+
b("div", {
|
|
17095
17109
|
class: ve(["toggle-cell", { clickable: !e.readonly }]),
|
|
17096
17110
|
onClick: o[0] || (o[0] = (a) => e.readonly ? void 0 : i())
|
|
17097
17111
|
}, [
|
|
@@ -17128,35 +17142,35 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17128
17142
|
(p) => {
|
|
17129
17143
|
if (o.value)
|
|
17130
17144
|
return;
|
|
17131
|
-
const
|
|
17132
|
-
|
|
17145
|
+
const y = l(p);
|
|
17146
|
+
y !== s.value && (s.value = y);
|
|
17133
17147
|
}
|
|
17134
17148
|
);
|
|
17135
17149
|
function a(p) {
|
|
17136
17150
|
return String(p ?? "").replace(/\D/g, "").slice(0, 4);
|
|
17137
17151
|
}
|
|
17138
17152
|
function l(p) {
|
|
17139
|
-
const
|
|
17140
|
-
if (!
|
|
17153
|
+
const y = a(p);
|
|
17154
|
+
if (!y)
|
|
17141
17155
|
return "";
|
|
17142
17156
|
let k, P;
|
|
17143
|
-
|
|
17157
|
+
y.length <= 2 ? (k = y, P = "00") : (k = y.slice(0, y.length - 2), P = y.slice(-2));
|
|
17144
17158
|
const E = `${k.padStart(2, "0")}:${P.padStart(2, "0")}`;
|
|
17145
17159
|
return r(E) ? E : "";
|
|
17146
17160
|
}
|
|
17147
17161
|
function r(p) {
|
|
17148
|
-
const
|
|
17149
|
-
return
|
|
17162
|
+
const y = /^(\d{2}):(\d{2})$/.exec(p);
|
|
17163
|
+
return y ? Number(y[1]) <= 23 && Number(y[2]) <= 59 : !1;
|
|
17150
17164
|
}
|
|
17151
17165
|
const d = O(r(l(n.modelValue)) ? l(n.modelValue) : ""), c = (p) => {
|
|
17152
|
-
const
|
|
17153
|
-
s.value =
|
|
17154
|
-
const k = a(
|
|
17166
|
+
const y = String(p ?? "");
|
|
17167
|
+
s.value = y;
|
|
17168
|
+
const k = a(y);
|
|
17155
17169
|
if (k.length === 0) {
|
|
17156
17170
|
d.value = "", i("update:model-value", "");
|
|
17157
17171
|
return;
|
|
17158
17172
|
}
|
|
17159
|
-
const P = l(
|
|
17173
|
+
const P = l(y);
|
|
17160
17174
|
k.length >= 3 && P && (d.value = P, i("update:model-value", P));
|
|
17161
17175
|
}, h = () => {
|
|
17162
17176
|
o.value = !1;
|
|
@@ -17167,7 +17181,7 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17167
17181
|
}
|
|
17168
17182
|
s.value = d.value, i("update:model-value", d.value);
|
|
17169
17183
|
};
|
|
17170
|
-
return (p,
|
|
17184
|
+
return (p, y) => (m(), z(Ne, {
|
|
17171
17185
|
"model-value": f(s),
|
|
17172
17186
|
label: t.label,
|
|
17173
17187
|
placeholder: t.placeholder,
|
|
@@ -17175,7 +17189,7 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17175
17189
|
maxlength: 5,
|
|
17176
17190
|
inputmode: "numeric",
|
|
17177
17191
|
"onUpdate:modelValue": c,
|
|
17178
|
-
onFocus:
|
|
17192
|
+
onFocus: y[0] || (y[0] = (k) => o.value = !0),
|
|
17179
17193
|
onBlur: h
|
|
17180
17194
|
}, di({ _: 2 }, [
|
|
17181
17195
|
p.$slots.prepend ? {
|
|
@@ -17236,7 +17250,7 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17236
17250
|
}, ["stop"]))
|
|
17237
17251
|
]
|
|
17238
17252
|
})),
|
|
17239
|
-
|
|
17253
|
+
b("div", {
|
|
17240
17254
|
class: "top-slider",
|
|
17241
17255
|
style: J({
|
|
17242
17256
|
marginTop: f(s) ? "0" : `calc(${t.sliderOffHeight} - ${t.sliderOnHeight})`,
|
|
@@ -17245,8 +17259,8 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17245
17259
|
onClick: l[3] || (l[3] = Ye(() => {
|
|
17246
17260
|
}, ["stop"]))
|
|
17247
17261
|
}, [
|
|
17248
|
-
|
|
17249
|
-
|
|
17262
|
+
b("div", eS, [
|
|
17263
|
+
b("div", tS, [
|
|
17250
17264
|
N(a.$slots, "default", {}, void 0, !0)
|
|
17251
17265
|
])
|
|
17252
17266
|
]),
|
|
@@ -17291,9 +17305,9 @@ const S2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17291
17305
|
color: "white"
|
|
17292
17306
|
}, null, 8, ["name"])
|
|
17293
17307
|
], 4)) : G("", !0),
|
|
17294
|
-
|
|
17295
|
-
|
|
17296
|
-
|
|
17308
|
+
b("div", oS, [
|
|
17309
|
+
b("div", aS, U(f(n)), 1),
|
|
17310
|
+
b("div", rS, U(t.label), 1)
|
|
17297
17311
|
])
|
|
17298
17312
|
]));
|
|
17299
17313
|
}
|
|
@@ -17328,8 +17342,8 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17328
17342
|
}),
|
|
17329
17343
|
emits: /* @__PURE__ */ De(["addImage", "remove", "sort"], ["update:images"]),
|
|
17330
17344
|
setup(t, { emit: e }) {
|
|
17331
|
-
const n = Wn, i = t, s = vt(t, "images"), o = e, a = D(() => f(s) ?? []), l = O(), r = O(!1), d = O(!1), c = O(0), h = O(!1), p = O(""),
|
|
17332
|
-
() =>
|
|
17345
|
+
const n = Wn, i = t, s = vt(t, "images"), o = e, a = D(() => f(s) ?? []), l = O(), r = O(!1), d = O(!1), c = O(0), h = O(!1), p = O(""), y = O(i.ratio), k = D(
|
|
17346
|
+
() => y.value > 0 ? { aspectRatio: String(y.value) } : {}
|
|
17333
17347
|
), P = O(), E = O(), T = (Z) => typeof Z.getFileUrl == "function" ? Z.getFileUrl() : "", M = ht(/* @__PURE__ */ new Set()), x = (Z) => {
|
|
17334
17348
|
Z.id && M.add(Z.id);
|
|
17335
17349
|
}, V = (Z) => s.value.findIndex((te) => te.id === Z.id), $ = () => i.id || null, B = () => {
|
|
@@ -17435,16 +17449,16 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17435
17449
|
}
|
|
17436
17450
|
};
|
|
17437
17451
|
return (Z, te) => {
|
|
17438
|
-
const Fe =
|
|
17452
|
+
const Fe = Ie("q-spinner");
|
|
17439
17453
|
return m(), S("div", cS, [
|
|
17440
|
-
|
|
17454
|
+
b("div", {
|
|
17441
17455
|
class: ve(["dropzone", { "is-dragover": t.upload && f(L) }]),
|
|
17442
17456
|
onDragenter: Ye(ke, ["prevent"]),
|
|
17443
17457
|
onDragover: Ye(Ke, ["prevent"]),
|
|
17444
17458
|
onDragleave: Ye(mt, ["prevent"]),
|
|
17445
17459
|
onDrop: Ye(Xe, ["prevent"])
|
|
17446
17460
|
}, [
|
|
17447
|
-
|
|
17461
|
+
b("div", fS, [
|
|
17448
17462
|
g(f(si), {
|
|
17449
17463
|
list: f(a),
|
|
17450
17464
|
"item-key": "id",
|
|
@@ -17453,10 +17467,10 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17453
17467
|
onEnd: en
|
|
17454
17468
|
}, {
|
|
17455
17469
|
item: C(({ element: me }) => [
|
|
17456
|
-
|
|
17470
|
+
b("figure", {
|
|
17457
17471
|
class: ve(["card", { "card--broken": f(M).has(me.id ?? "") }])
|
|
17458
17472
|
}, [
|
|
17459
|
-
|
|
17473
|
+
b("div", {
|
|
17460
17474
|
class: "card-media",
|
|
17461
17475
|
style: J(f(k))
|
|
17462
17476
|
}, [
|
|
@@ -17476,13 +17490,13 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17476
17490
|
name: "broken_image",
|
|
17477
17491
|
size: "28px"
|
|
17478
17492
|
}),
|
|
17479
|
-
te[5] || (te[5] =
|
|
17493
|
+
te[5] || (te[5] = b("span", null, "Файл недоступен", -1))
|
|
17480
17494
|
], 8, mS)),
|
|
17481
17495
|
g(f(re), {
|
|
17482
17496
|
name: "drag_indicator",
|
|
17483
17497
|
class: "item-tools"
|
|
17484
17498
|
}),
|
|
17485
|
-
|
|
17499
|
+
b("div", pS, [
|
|
17486
17500
|
g(ue, {
|
|
17487
17501
|
dense: "",
|
|
17488
17502
|
flat: "",
|
|
@@ -17521,7 +17535,7 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17521
17535
|
}, 8, ["list"]),
|
|
17522
17536
|
t.upload ? (m(), S(K, { key: 0 }, [
|
|
17523
17537
|
f(a).length ? (m(), S("figure", vS, [
|
|
17524
|
-
|
|
17538
|
+
b("button", {
|
|
17525
17539
|
type: "button",
|
|
17526
17540
|
class: "add-tile",
|
|
17527
17541
|
disabled: f(r),
|
|
@@ -17535,7 +17549,7 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17535
17549
|
name: "add_photo_alternate",
|
|
17536
17550
|
size: "28px"
|
|
17537
17551
|
})),
|
|
17538
|
-
|
|
17552
|
+
b("span", null, U(f(r) ? "Загрузка…" : "Добавить"), 1)
|
|
17539
17553
|
], 8, yS)
|
|
17540
17554
|
])) : (m(), S("div", bS, [
|
|
17541
17555
|
g(f(re), {
|
|
@@ -17543,8 +17557,8 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17543
17557
|
size: "32px",
|
|
17544
17558
|
class: "empty-icon"
|
|
17545
17559
|
}),
|
|
17546
|
-
te[6] || (te[6] =
|
|
17547
|
-
te[7] || (te[7] =
|
|
17560
|
+
te[6] || (te[6] = b("div", { class: "empty-title" }, "Фотографий пока нет", -1)),
|
|
17561
|
+
te[7] || (te[7] = b("div", { class: "empty-hint" }, "Первая загруженная станет обложкой диеты", -1)),
|
|
17548
17562
|
g(ue, {
|
|
17549
17563
|
class: "empty-cta",
|
|
17550
17564
|
icon: "add_photo_alternate",
|
|
@@ -17556,7 +17570,7 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17556
17570
|
], 64)) : G("", !0)
|
|
17557
17571
|
])
|
|
17558
17572
|
], 34),
|
|
17559
|
-
|
|
17573
|
+
b("input", {
|
|
17560
17574
|
ref_key: "inputEl",
|
|
17561
17575
|
ref: l,
|
|
17562
17576
|
type: "file",
|
|
@@ -17566,7 +17580,7 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17566
17580
|
}, null, 40, wS),
|
|
17567
17581
|
g(on, {
|
|
17568
17582
|
modelValue: f(h),
|
|
17569
|
-
"onUpdate:modelValue": te[2] || (te[2] = (me) =>
|
|
17583
|
+
"onUpdate:modelValue": te[2] || (te[2] = (me) => Me(h) ? h.value = me : null),
|
|
17570
17584
|
persistent: ""
|
|
17571
17585
|
}, {
|
|
17572
17586
|
default: C(() => [
|
|
@@ -17593,9 +17607,9 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17593
17607
|
f(p) ? (m(), z(rd, {
|
|
17594
17608
|
key: 0,
|
|
17595
17609
|
src: f(p),
|
|
17596
|
-
ratio: f(
|
|
17610
|
+
ratio: f(y),
|
|
17597
17611
|
onCrop: te[0] || (te[0] = (me) => f(P) ? Vt(me) : un(me)),
|
|
17598
|
-
"onUpdate:ratio": te[1] || (te[1] = (me) =>
|
|
17612
|
+
"onUpdate:ratio": te[1] || (te[1] = (me) => y.value = me)
|
|
17599
17613
|
}, null, 8, ["src", "ratio"])) : G("", !0)
|
|
17600
17614
|
]),
|
|
17601
17615
|
_: 1
|
|
@@ -17608,13 +17622,13 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17608
17622
|
}, 8, ["modelValue"]),
|
|
17609
17623
|
g(on, {
|
|
17610
17624
|
modelValue: f(d),
|
|
17611
|
-
"onUpdate:modelValue": te[4] || (te[4] = (me) =>
|
|
17625
|
+
"onUpdate:modelValue": te[4] || (te[4] = (me) => Me(d) ? d.value = me : null),
|
|
17612
17626
|
maximized: ""
|
|
17613
17627
|
}, {
|
|
17614
17628
|
default: C(() => [
|
|
17615
17629
|
g(f(qc), {
|
|
17616
17630
|
modelValue: f(c),
|
|
17617
|
-
"onUpdate:modelValue": te[3] || (te[3] = (me) =>
|
|
17631
|
+
"onUpdate:modelValue": te[3] || (te[3] = (me) => Me(c) ? c.value = me : null),
|
|
17618
17632
|
swipeable: "",
|
|
17619
17633
|
animated: "",
|
|
17620
17634
|
infinite: "",
|
|
@@ -17629,7 +17643,7 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17629
17643
|
class: "viewer-slide"
|
|
17630
17644
|
}, {
|
|
17631
17645
|
default: C(() => [
|
|
17632
|
-
|
|
17646
|
+
b("img", {
|
|
17633
17647
|
src: T(me),
|
|
17634
17648
|
alt: me.description,
|
|
17635
17649
|
class: "viewer-image"
|
|
@@ -17662,9 +17676,9 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17662
17676
|
n.value = !n.value;
|
|
17663
17677
|
};
|
|
17664
17678
|
return (s, o) => {
|
|
17665
|
-
const a =
|
|
17679
|
+
const a = Ie("PString"), l = Ie("IconArrowDrop");
|
|
17666
17680
|
return m(), S("div", $S, [
|
|
17667
|
-
|
|
17681
|
+
b("div", {
|
|
17668
17682
|
class: "drop-item-name",
|
|
17669
17683
|
onClick: o[0] || (o[0] = (r) => i())
|
|
17670
17684
|
}, [
|
|
@@ -17678,7 +17692,7 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17678
17692
|
padding: "6px 0",
|
|
17679
17693
|
color: "inherit"
|
|
17680
17694
|
}, null, 8, ["string"]),
|
|
17681
|
-
|
|
17695
|
+
b("div", {
|
|
17682
17696
|
style: J({ transform: f(n) ? "" : "rotate(-90deg)", display: "flex", alignItems: "center", margin: "0 0 2px 0" })
|
|
17683
17697
|
}, [
|
|
17684
17698
|
g(l, {
|
|
@@ -17714,10 +17728,10 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17714
17728
|
l ? await o(s.value) : await o(void 0), n("load");
|
|
17715
17729
|
};
|
|
17716
17730
|
return (l, r) => {
|
|
17717
|
-
const d =
|
|
17731
|
+
const d = Ie("PSelect");
|
|
17718
17732
|
return m(), z(d, {
|
|
17719
17733
|
modelValue: f(s),
|
|
17720
|
-
"onUpdate:modelValue": r[0] || (r[0] = (c) =>
|
|
17734
|
+
"onUpdate:modelValue": r[0] || (r[0] = (c) => Me(s) ? s.value = c : null),
|
|
17721
17735
|
clearable: !!f(s),
|
|
17722
17736
|
placeholder: t.defaultLabel,
|
|
17723
17737
|
onChange: a
|
|
@@ -17806,19 +17820,19 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17806
17820
|
height: t.size
|
|
17807
17821
|
})
|
|
17808
17822
|
}, [...n[0] || (n[0] = [
|
|
17809
|
-
|
|
17823
|
+
b("use", { "xlink:href": "#search" }, null, -1)
|
|
17810
17824
|
])], 6)),
|
|
17811
|
-
n[1] || (n[1] =
|
|
17825
|
+
n[1] || (n[1] = b("svg", {
|
|
17812
17826
|
width: "0",
|
|
17813
17827
|
height: "0",
|
|
17814
17828
|
class: "hidden"
|
|
17815
17829
|
}, [
|
|
17816
|
-
|
|
17830
|
+
b("symbol", {
|
|
17817
17831
|
id: "search",
|
|
17818
17832
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17819
17833
|
viewBox: "0 0 24 24"
|
|
17820
17834
|
}, [
|
|
17821
|
-
|
|
17835
|
+
b("path", {
|
|
17822
17836
|
d: "M11 19C12.775 18.9996 14.4988 18.4054 15.897 17.312L20.293 21.708L21.707 20.294L17.311 15.898C18.405 14.4997 18.9996 12.7754 19 11C19 6.589 15.411 3 11 3C6.589 3 3 6.589 3 11C3 15.411 6.589 19 11 19ZM11 5C14.309 5 17 7.691 17 11C17 14.309 14.309 17 11 17C7.691 17 5 14.309 5 11C5 7.691 7.691 5 11 5Z",
|
|
17823
17837
|
fill: "currentColor"
|
|
17824
17838
|
})
|
|
@@ -17878,7 +17892,7 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17878
17892
|
}, [
|
|
17879
17893
|
g(Ne, {
|
|
17880
17894
|
modelValue: f(s),
|
|
17881
|
-
"onUpdate:modelValue": c[0] || (c[0] = (h) =>
|
|
17895
|
+
"onUpdate:modelValue": c[0] || (c[0] = (h) => Me(s) ? s.value = h : null),
|
|
17882
17896
|
placeholder: "Найти",
|
|
17883
17897
|
onInput: a
|
|
17884
17898
|
}, {
|
|
@@ -17892,7 +17906,7 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17892
17906
|
class: "result",
|
|
17893
17907
|
style: J({ maxHeight: t.maxHeightResultList, zIndex: t.zIndexResultList, boxShadow: t.boxShadowResultList })
|
|
17894
17908
|
}, [
|
|
17895
|
-
|
|
17909
|
+
b("ul", DS, [
|
|
17896
17910
|
(m(!0), S(K, null, we(f(o), (h) => (m(), S("li", {
|
|
17897
17911
|
key: h.value,
|
|
17898
17912
|
onClick: (p) => r(h)
|
|
@@ -17937,16 +17951,16 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17937
17951
|
return rs(() => {
|
|
17938
17952
|
Ht.Get().p.drop();
|
|
17939
17953
|
}), (c, h) => {
|
|
17940
|
-
const p =
|
|
17954
|
+
const p = Ie("ArrowLeft"), y = Ie("PButton"), k = Ie("DoubleArrowLeft"), P = Ie("EllipsisSvg"), E = Ie("DoubleArrowRight"), T = Ie("ArrowRight");
|
|
17941
17955
|
return m(), S("div", VS, [
|
|
17942
|
-
|
|
17956
|
+
b("div", {
|
|
17943
17957
|
class: "pag-container",
|
|
17944
17958
|
style: J({
|
|
17945
17959
|
justifyContent: t.justifyContent
|
|
17946
17960
|
})
|
|
17947
17961
|
}, [
|
|
17948
|
-
|
|
17949
|
-
g(
|
|
17962
|
+
b("div", _S, [
|
|
17963
|
+
g(y, {
|
|
17950
17964
|
skin: "pag",
|
|
17951
17965
|
onClick: h[0] || (h[0] = (M) => a(i.value.curPage - 1))
|
|
17952
17966
|
}, {
|
|
@@ -17955,9 +17969,9 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17955
17969
|
]),
|
|
17956
17970
|
_: 1
|
|
17957
17971
|
}),
|
|
17958
|
-
|
|
17959
|
-
|
|
17960
|
-
g(
|
|
17972
|
+
b("ul", US, [
|
|
17973
|
+
b("li", null, [
|
|
17974
|
+
g(y, {
|
|
17961
17975
|
skin: "pag",
|
|
17962
17976
|
color: n(1),
|
|
17963
17977
|
text: "1",
|
|
@@ -17969,7 +17983,7 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17969
17983
|
onMouseenter: h[3] || (h[3] = (M) => s.value = !0),
|
|
17970
17984
|
onMouseleave: h[4] || (h[4] = (M) => s.value = !1)
|
|
17971
17985
|
}, [
|
|
17972
|
-
g(
|
|
17986
|
+
g(y, {
|
|
17973
17987
|
skin: "pag",
|
|
17974
17988
|
onClick: h[2] || (h[2] = (M) => a(i.value.curPage - 5))
|
|
17975
17989
|
}, {
|
|
@@ -17980,7 +17994,7 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17980
17994
|
})
|
|
17981
17995
|
], 32)) : G("", !0),
|
|
17982
17996
|
(m(!0), S(K, null, we(f(r), (M) => (m(), S("li", { key: M }, [
|
|
17983
|
-
g(
|
|
17997
|
+
g(y, {
|
|
17984
17998
|
skin: "pag",
|
|
17985
17999
|
color: n(M),
|
|
17986
18000
|
text: String(M),
|
|
@@ -17992,7 +18006,7 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
17992
18006
|
onMouseenter: h[6] || (h[6] = (M) => o.value = !0),
|
|
17993
18007
|
onMouseleave: h[7] || (h[7] = (M) => o.value = !1)
|
|
17994
18008
|
}, [
|
|
17995
|
-
g(
|
|
18009
|
+
g(y, {
|
|
17996
18010
|
skin: "pag",
|
|
17997
18011
|
onClick: h[5] || (h[5] = (M) => a(i.value.curPage + 5))
|
|
17998
18012
|
}, {
|
|
@@ -18003,7 +18017,7 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
18003
18017
|
})
|
|
18004
18018
|
], 32)) : G("", !0),
|
|
18005
18019
|
i.value.pagesCount() > 1 ? (m(), S("li", BS, [
|
|
18006
|
-
g(
|
|
18020
|
+
g(y, {
|
|
18007
18021
|
skin: "pag",
|
|
18008
18022
|
color: n(i.value.pagesCount()),
|
|
18009
18023
|
text: String(i.value.pagesCount()),
|
|
@@ -18011,7 +18025,7 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
18011
18025
|
}, null, 8, ["color", "text"])
|
|
18012
18026
|
])) : G("", !0)
|
|
18013
18027
|
]),
|
|
18014
|
-
g(
|
|
18028
|
+
g(y, {
|
|
18015
18029
|
skin: "pag",
|
|
18016
18030
|
onClick: h[9] || (h[9] = (M) => a(i.value.curPage + 1))
|
|
18017
18031
|
}, {
|
|
@@ -18096,7 +18110,7 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
18096
18110
|
ref_key: "searchForm",
|
|
18097
18111
|
ref: o,
|
|
18098
18112
|
modelValue: f(s),
|
|
18099
|
-
"onUpdate:modelValue": h[0] || (h[0] = (p) =>
|
|
18113
|
+
"onUpdate:modelValue": h[0] || (h[0] = (p) => Me(s) ? s.value = p : null),
|
|
18100
18114
|
"max-height-result-list": t.maxHeightResultList,
|
|
18101
18115
|
"z-index-result-list": t.zIndexResultList,
|
|
18102
18116
|
"box-shadow-result-list": t.boxShadowResultList,
|
|
@@ -18135,7 +18149,7 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
18135
18149
|
i("select", o);
|
|
18136
18150
|
};
|
|
18137
18151
|
return (o, a) => {
|
|
18138
|
-
const l =
|
|
18152
|
+
const l = Ie("PString"), r = Ie("PSelect");
|
|
18139
18153
|
return m(), S(K, null, [
|
|
18140
18154
|
g(l, {
|
|
18141
18155
|
string: "Выберите вид ответа:",
|
|
@@ -18150,7 +18164,7 @@ const cS = { class: "admin-gallery" }, fS = { class: "groups" }, hS = ["src", "a
|
|
|
18150
18164
|
onChange: s
|
|
18151
18165
|
}, {
|
|
18152
18166
|
default: C(() => [
|
|
18153
|
-
(m(), S(K, null, we(n, (d, c) =>
|
|
18167
|
+
(m(), S(K, null, we(n, (d, c) => b("option", {
|
|
18154
18168
|
key: d,
|
|
18155
18169
|
label: d,
|
|
18156
18170
|
value: c
|
|
@@ -18188,20 +18202,20 @@ const XS = /* @__PURE__ */ j({
|
|
|
18188
18202
|
onMouseenter: i[0] || (i[0] = (s) => e.value = !0),
|
|
18189
18203
|
onMouseleave: i[1] || (i[1] = (s) => e.value = !1)
|
|
18190
18204
|
}, [...i[2] || (i[2] = [
|
|
18191
|
-
|
|
18205
|
+
b("use", { "xlink:href": "#download" }, null, -1)
|
|
18192
18206
|
])], 38)),
|
|
18193
|
-
i[3] || (i[3] =
|
|
18207
|
+
i[3] || (i[3] = b("svg", {
|
|
18194
18208
|
width: "0",
|
|
18195
18209
|
height: "0",
|
|
18196
18210
|
class: "hidden"
|
|
18197
18211
|
}, [
|
|
18198
|
-
|
|
18212
|
+
b("symbol", {
|
|
18199
18213
|
id: "download",
|
|
18200
18214
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18201
18215
|
viewBox: "0 0 32 32"
|
|
18202
18216
|
}, [
|
|
18203
|
-
|
|
18204
|
-
|
|
18217
|
+
b("path", { d: "M15.6443 5.06141C15.0797 5.29331 15.0998 5.06141 15.0998 12.1393C15.0998 15.7388 15.0696 18.6728 15.0293 18.6728C14.9889 18.6728 14.1521 17.8763 13.1842 16.9083C11.6819 15.4061 11.3592 15.1338 11.0467 15.0733C10.724 15.0229 10.6333 15.0632 10.3611 15.3254C10.1292 15.5573 10.0586 15.7186 10.0586 16.0211C10.0586 16.3941 10.1594 16.5151 12.8615 19.2071C15.4326 21.7681 15.6947 22 16.0073 22C16.3198 22 16.582 21.7681 19.153 19.2071C21.9156 16.4546 21.9559 16.4042 21.9559 15.9908C21.9559 15.4867 21.6535 15.1641 21.109 15.0733C20.736 15.0128 20.7259 15.0229 18.8808 16.868C17.0357 18.6929 17.0155 18.7131 17.0155 18.3703C17.0054 18.1787 16.9953 15.2145 16.9853 11.7965L16.9651 5.56554L16.713 5.31348C16.4307 5.03117 15.9669 4.92026 15.6443 5.06141Z" }),
|
|
18218
|
+
b("path", { d: "M5.30247 20.3872L5 20.6997L5.04033 22.081C5.07058 23.4321 5.08066 23.4825 5.44363 24.2488C6.09899 25.6099 7.17782 26.5173 8.59945 26.8904C9.47663 27.1122 22.5335 27.1223 23.4006 26.8904C25.044 26.4669 26.3245 25.2671 26.8084 23.7043C26.9496 23.2506 27 22.7868 27 21.8794C27 20.6796 27 20.6695 26.7076 20.3771C26.3144 19.9839 25.901 19.9839 25.4675 20.3771L25.1347 20.6695L25.1045 21.8189C25.0843 22.8776 25.0541 23.0086 24.7516 23.6035C24.3987 24.3093 23.7938 24.8235 23.088 25.0251C22.5839 25.1663 9.4363 25.1663 8.93217 25.0251C8.30706 24.8436 7.64161 24.3093 7.29881 23.7144C7.00642 23.2002 6.98625 23.0691 6.93584 21.9197L6.88543 20.6695L6.5527 20.3771C6.11916 19.9839 5.70577 19.9839 5.30247 20.3872Z" })
|
|
18205
18219
|
])
|
|
18206
18220
|
], -1))
|
|
18207
18221
|
], 64));
|
|
@@ -18229,20 +18243,20 @@ const XS = /* @__PURE__ */ j({
|
|
|
18229
18243
|
onMouseenter: i[0] || (i[0] = (s) => e.value = !0),
|
|
18230
18244
|
onMouseleave: i[1] || (i[1] = (s) => e.value = !1)
|
|
18231
18245
|
}, [...i[2] || (i[2] = [
|
|
18232
|
-
|
|
18246
|
+
b("use", { "xlink:href": "#filter" }, null, -1)
|
|
18233
18247
|
])], 38)),
|
|
18234
|
-
i[3] || (i[3] =
|
|
18248
|
+
i[3] || (i[3] = b("svg", {
|
|
18235
18249
|
width: "0",
|
|
18236
18250
|
height: "0",
|
|
18237
18251
|
class: "hidden"
|
|
18238
18252
|
}, [
|
|
18239
|
-
|
|
18253
|
+
b("symbol", {
|
|
18240
18254
|
id: "filter",
|
|
18241
18255
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18242
18256
|
viewBox: "0 0 32 32"
|
|
18243
18257
|
}, [
|
|
18244
|
-
|
|
18245
|
-
|
|
18258
|
+
b("path", { d: "M8.58216 5.14236C6.22884 5.77558 4.70721 8.02494 5.04745 10.3688C5.61452 14.2627 10.3684 15.8127 13.0714 12.9962C13.6385 12.4103 14.319 11.2194 14.319 10.8225C14.319 10.6902 14.9428 10.6713 20.3771 10.6713H26.4353L26.7094 10.3972C27.0969 10.0097 27.0969 9.44261 26.7094 9.05511L26.4353 8.78103H20.396H14.3662L14.1867 8.23287C13.4589 5.9646 10.8599 4.52803 8.58216 5.14236ZM10.9638 7.21215C13.0525 8.24232 13.0336 11.2194 10.9355 12.2496C10.2172 12.5993 9.20593 12.6276 8.54436 12.2968C6.21939 11.1533 6.43676 7.81702 8.8846 7.01368C9.45166 6.8341 10.3495 6.91916 10.9638 7.21215Z" }),
|
|
18259
|
+
b("path", { d: "M21.5953 17.6266C21.1133 17.7211 20.2155 18.0519 19.8752 18.2599C18.9868 18.7986 18.0322 20.0083 17.8054 20.8778L17.6826 21.3504H12.3616C6.66257 21.3504 6.63422 21.3504 6.37904 21.8135C6.20892 22.1443 6.26562 22.6452 6.51135 22.9287L6.73818 23.1933L12.1915 23.2406L17.6448 23.2878L17.8621 23.8738C18.4292 25.4427 19.7334 26.6052 21.2929 26.936C22.1057 27.1061 23.3154 27.0021 24.062 26.6997C25.3379 26.1799 26.4059 25.0174 26.8029 23.7037C26.9635 23.165 27.0013 22.8625 26.9635 22.0781C26.9352 21.1991 26.8974 21.0479 26.5855 20.3864C25.8105 18.7513 24.2794 17.7117 22.5499 17.6172C22.1529 17.5983 21.7276 17.6077 21.5953 17.6266ZM23.5517 19.8004C24.081 20.0556 24.5913 20.5754 24.8748 21.1519C24.9977 21.4071 25.045 21.7095 25.045 22.3427C25.045 23.1555 25.0261 23.2311 24.7236 23.7415C23.5611 25.6412 20.8014 25.5656 19.7902 23.5997C19.5066 23.0421 19.4405 22.0119 19.6484 21.3787C20.1682 19.8004 22.0206 19.0537 23.5517 19.8004Z" })
|
|
18246
18260
|
])
|
|
18247
18261
|
], -1))
|
|
18248
18262
|
], 64));
|
|
@@ -18264,20 +18278,20 @@ const XS = /* @__PURE__ */ j({
|
|
|
18264
18278
|
height: t.size
|
|
18265
18279
|
})
|
|
18266
18280
|
}, [...n[0] || (n[0] = [
|
|
18267
|
-
|
|
18281
|
+
b("use", { "xlink:href": "#arrow-left" }, null, -1)
|
|
18268
18282
|
])], 6)),
|
|
18269
|
-
n[1] || (n[1] =
|
|
18283
|
+
n[1] || (n[1] = b("svg", {
|
|
18270
18284
|
width: "0",
|
|
18271
18285
|
height: "0",
|
|
18272
18286
|
class: "hidden"
|
|
18273
18287
|
}, [
|
|
18274
|
-
|
|
18288
|
+
b("symbol", {
|
|
18275
18289
|
id: "arrow-left",
|
|
18276
18290
|
fill: "none",
|
|
18277
18291
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18278
18292
|
viewBox: "0 0 20 20"
|
|
18279
18293
|
}, [
|
|
18280
|
-
|
|
18294
|
+
b("path", {
|
|
18281
18295
|
d: "M13.4323 2.0816C13.3788 2.0909 13.2951 2.12113 13.2462 2.14904C13.1997 2.17462 11.5439 3.85601 9.56715 5.8816C6.70668 8.81648 5.96017 9.59322 5.90436 9.69787C5.84622 9.8095 5.83691 9.85601 5.83691 9.99787C5.83691 10.1397 5.84622 10.1886 5.90436 10.2979C6.00436 10.4886 13.102 17.7746 13.2764 17.8653C13.3695 17.9142 13.423 17.9258 13.5555 17.9258C13.916 17.9235 14.1788 17.6583 14.1788 17.2932C14.1788 17.0374 14.1392 16.9769 13.623 16.4467C13.3695 16.1862 11.8555 14.6328 10.2555 12.9909C8.65552 11.349 7.35087 9.99787 7.35552 9.9909C7.36017 9.9816 8.86715 8.43276 10.7044 6.54904C12.5416 4.66532 14.0671 3.08392 14.0951 3.03508C14.2392 2.79555 14.1951 2.45834 13.9927 2.25834C13.8462 2.1095 13.6323 2.04206 13.4323 2.0816Z",
|
|
18282
18296
|
fill: "currentColor"
|
|
18283
18297
|
})
|
|
@@ -18302,19 +18316,19 @@ const XS = /* @__PURE__ */ j({
|
|
|
18302
18316
|
height: t.size
|
|
18303
18317
|
})
|
|
18304
18318
|
}, [...n[0] || (n[0] = [
|
|
18305
|
-
|
|
18319
|
+
b("use", { "xlink:href": "#check_on" }, null, -1)
|
|
18306
18320
|
])], 6)),
|
|
18307
|
-
n[1] || (n[1] =
|
|
18321
|
+
n[1] || (n[1] = b("svg", {
|
|
18308
18322
|
width: "0",
|
|
18309
18323
|
height: "0",
|
|
18310
18324
|
class: "hidden"
|
|
18311
18325
|
}, [
|
|
18312
|
-
|
|
18326
|
+
b("symbol", {
|
|
18313
18327
|
id: "check_on",
|
|
18314
18328
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18315
18329
|
viewBox: "0 0 32 32"
|
|
18316
18330
|
}, [
|
|
18317
|
-
|
|
18331
|
+
b("path", {
|
|
18318
18332
|
d: "M29.3678 7.25259C29.2732 7.3128 28.8775 7.6999 28.5076 8.13001C27.7076 9.02463 16.2409 22.0483 16.2065 22.0999C16.1549 22.1601 15.6732 21.73 13.9786 20.1042C8.31835 14.6934 8.5334 14.8827 8.03448 14.8827C7.69899 14.8827 7.59577 14.9257 7.3463 15.1752C7.09684 15.4246 7.05383 15.5279 7.05383 15.8547C7.05383 16.3365 6.98501 16.259 10.1506 19.2354C11.5011 20.4999 13.256 22.1601 14.056 22.9171C15.6302 24.4225 15.9485 24.6461 16.3872 24.5687C16.7399 24.4999 16.7743 24.4569 20.0947 20.6891C21.5485 19.0289 23.2689 17.0762 23.914 16.3451C29.4624 10.0655 30.6495 8.69775 30.77 8.48269C30.942 8.14721 30.8474 7.6999 30.5377 7.38162C30.3399 7.19237 30.2194 7.14076 29.9183 7.14076C29.7119 7.14936 29.471 7.19237 29.3678 7.25259Z",
|
|
18319
18333
|
fill: "currentColor"
|
|
18320
18334
|
})
|
|
@@ -18339,19 +18353,19 @@ const XS = /* @__PURE__ */ j({
|
|
|
18339
18353
|
height: t.size
|
|
18340
18354
|
})
|
|
18341
18355
|
}, [...n[0] || (n[0] = [
|
|
18342
|
-
|
|
18356
|
+
b("use", { "xlink:href": "#close" }, null, -1)
|
|
18343
18357
|
])], 6)),
|
|
18344
|
-
n[1] || (n[1] =
|
|
18358
|
+
n[1] || (n[1] = b("svg", {
|
|
18345
18359
|
width: "0",
|
|
18346
18360
|
height: "0",
|
|
18347
18361
|
class: "hidden"
|
|
18348
18362
|
}, [
|
|
18349
|
-
|
|
18363
|
+
b("symbol", {
|
|
18350
18364
|
id: "close",
|
|
18351
18365
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18352
18366
|
viewBox: "0 0 28 28"
|
|
18353
18367
|
}, [
|
|
18354
|
-
|
|
18368
|
+
b("path", {
|
|
18355
18369
|
d: "M7.53508 7.18138C7.03684 7.5158 6.86132 8.14496 7.1161 8.66643C7.18971 8.8138 8.02201 9.69236 9.44881 11.1207C10.6718 12.345 11.8211 13.49 12.0023 13.6714L12.3251 14.0058L9.80551 16.5224C7.92576 18.4043 7.25199 19.1184 7.14441 19.3225C6.83867 19.9346 7.0425 20.5865 7.637 20.8926C7.89745 21.0286 8.41268 21.0343 8.6618 20.9096C8.76372 20.8585 10.0037 19.6626 11.4191 18.2455L14.001 15.6666L16.5432 18.2229C18.1964 19.8723 19.1703 20.8132 19.3232 20.8869C19.5779 21.0116 20.0309 21.0399 20.2913 20.9379C20.5178 20.8529 20.8632 20.5015 20.9368 20.2747C21.0274 19.9913 21.0161 19.5719 20.9028 19.3508C20.8519 19.2431 19.6516 17.9961 18.2361 16.5791L15.6656 14.0001L18.2191 11.4495C19.7138 9.95309 20.8179 8.80813 20.8858 8.6721C21.0104 8.42837 21.0387 7.98058 20.9425 7.73119C20.8519 7.50446 20.5971 7.23239 20.3593 7.11336C20.0988 6.97733 19.6516 6.96599 19.3628 7.08502C19.2212 7.14737 18.3097 8.01459 16.5771 9.74904L14.001 12.328L11.4191 9.75471C9.6583 7.99192 8.77504 7.14737 8.63349 7.08502C8.51459 7.03968 8.28246 7 8.1126 7C7.86347 7 7.76156 7.03401 7.53508 7.18138Z",
|
|
18356
18370
|
fill: "currentColor"
|
|
18357
18371
|
})
|
|
@@ -18376,23 +18390,23 @@ const XS = /* @__PURE__ */ j({
|
|
|
18376
18390
|
height: t.size
|
|
18377
18391
|
})
|
|
18378
18392
|
}, [...n[0] || (n[0] = [
|
|
18379
|
-
|
|
18393
|
+
b("use", { "xlink:href": "#edit" }, null, -1)
|
|
18380
18394
|
])], 6)),
|
|
18381
|
-
n[1] || (n[1] =
|
|
18395
|
+
n[1] || (n[1] = b("svg", {
|
|
18382
18396
|
width: "0",
|
|
18383
18397
|
height: "0",
|
|
18384
18398
|
class: "hidden"
|
|
18385
18399
|
}, [
|
|
18386
|
-
|
|
18400
|
+
b("symbol", {
|
|
18387
18401
|
id: "edit",
|
|
18388
18402
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18389
18403
|
viewBox: "0 0 32 32"
|
|
18390
18404
|
}, [
|
|
18391
|
-
|
|
18405
|
+
b("path", {
|
|
18392
18406
|
d: "M21.993 4.16087C21.6831 4.26049 21.2404 4.48185 20.9969 4.64787C20.1778 5.22342 4.60489 20.9402 4.39459 21.4051C4.11789 22.0138 3 25.8434 3 26.1865C3 26.5961 3.30991 27.1938 3.65302 27.4373C4.2507 27.8689 4.58275 27.8468 6.88493 27.1716C8.06923 26.8174 9.23138 26.4411 9.47488 26.3194C10.0062 26.0537 25.4795 10.6468 26.0772 9.79458C26.8519 8.67669 26.9626 7.32637 26.3871 6.10887C25.6234 4.48185 23.6754 3.61853 21.993 4.16087ZM24.0406 6.25276C24.7379 6.70655 25.0035 7.69162 24.6272 8.44426C24.4501 8.78737 9.331 24.0393 8.73332 24.471C8.48982 24.6481 5.2247 25.6995 5.13616 25.6331C5.11402 25.611 5.42393 24.5042 5.82239 23.1871L6.12123 22.1909L14.1125 14.1886C22.5243 5.76576 22.4911 5.79896 23.3101 5.94285C23.4983 5.97605 23.8192 6.11994 24.0406 6.25276Z",
|
|
18393
18407
|
fill: "currentColor"
|
|
18394
18408
|
}),
|
|
18395
|
-
|
|
18409
|
+
b("path", {
|
|
18396
18410
|
d: "M15.098 25.9216C14.5446 26.1872 14.4118 27.1169 14.8656 27.5265C15.0759 27.7146 15.4743 27.7257 21.1302 27.7589C25.325 27.781 27.273 27.7478 27.4722 27.6703C28.0367 27.4268 28.1806 26.6521 27.7489 26.154L27.4833 25.8441L21.4069 25.822C17.2674 25.8109 15.264 25.833 15.098 25.9216Z",
|
|
18397
18411
|
fill: "currentColor"
|
|
18398
18412
|
})
|
|
@@ -18417,19 +18431,19 @@ const XS = /* @__PURE__ */ j({
|
|
|
18417
18431
|
height: t.size
|
|
18418
18432
|
})
|
|
18419
18433
|
}, [...n[0] || (n[0] = [
|
|
18420
|
-
|
|
18434
|
+
b("use", { "xlink:href": "#email" }, null, -1)
|
|
18421
18435
|
])], 6)),
|
|
18422
|
-
n[1] || (n[1] =
|
|
18436
|
+
n[1] || (n[1] = b("svg", {
|
|
18423
18437
|
width: "0",
|
|
18424
18438
|
height: "0",
|
|
18425
18439
|
class: "hidden"
|
|
18426
18440
|
}, [
|
|
18427
|
-
|
|
18441
|
+
b("symbol", {
|
|
18428
18442
|
id: "email",
|
|
18429
18443
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18430
18444
|
viewBox: "0 0 24 24"
|
|
18431
18445
|
}, [
|
|
18432
|
-
|
|
18446
|
+
b("path", {
|
|
18433
18447
|
d: "M20 20H4C3.46957 20 2.96086 19.7893 2.58579 19.4142C2.21071 19.0391 2 18.5304 2 18V5.913C2.02243 5.39779 2.24301 4.91116 2.61568 4.5547C2.98835 4.19824 3.4843 3.99951 4 4H20C20.5304 4 21.0391 4.21071 21.4142 4.58579C21.7893 4.96086 22 5.46957 22 6V18C22 18.5304 21.7893 19.0391 21.4142 19.4142C21.0391 19.7893 20.5304 20 20 20ZM4 7.868V18H20V7.868L12 13.2L4 7.868ZM4.8 6L12 10.8L19.2 6H4.8Z",
|
|
18434
18448
|
fill: "currentColor"
|
|
18435
18449
|
})
|
|
@@ -18454,19 +18468,19 @@ const XS = /* @__PURE__ */ j({
|
|
|
18454
18468
|
height: t.size
|
|
18455
18469
|
})
|
|
18456
18470
|
}, [...n[0] || (n[0] = [
|
|
18457
|
-
|
|
18471
|
+
b("use", { "xlink:href": "#icon-move" }, null, -1)
|
|
18458
18472
|
])], 6)),
|
|
18459
|
-
n[1] || (n[1] =
|
|
18473
|
+
n[1] || (n[1] = b("svg", {
|
|
18460
18474
|
width: "0",
|
|
18461
18475
|
height: "0",
|
|
18462
18476
|
class: "hidden"
|
|
18463
18477
|
}, [
|
|
18464
|
-
|
|
18478
|
+
b("symbol", {
|
|
18465
18479
|
id: "icon-move",
|
|
18466
18480
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18467
18481
|
viewBox: "0 0 22 22"
|
|
18468
18482
|
}, [
|
|
18469
|
-
|
|
18483
|
+
b("path", {
|
|
18470
18484
|
d: "M8.91736 3.08529L6.83471 5.17059H8.0843H9.33058V7.25588V9.34117H7.24793H5.16529L5.15868 8.09993L5.14876 6.85868L3.07273 8.93404L1 11.0127L3.08264 13.098L5.16529 15.1833V13.9321V12.6843H7.24793H9.33058V14.7696V16.8548H7.89256C7.10248 16.8548 6.45455 16.8648 6.45785 16.878C6.45785 16.8946 6.60992 17.0402 6.79504 17.2057C7.16529 17.5367 8.90744 19.1189 9.38017 19.5525C10.7058 20.7639 10.9967 21.0188 11.0331 20.999C11.0562 20.9857 12.0876 20.0523 13.3273 18.9236L15.5785 16.8714L14.124 16.8615L12.6694 16.8548V14.7696V12.6843H14.7521H16.8347V13.9255C16.8347 14.6074 16.8446 15.1668 16.8612 15.1668C16.8975 15.1668 21 11.0491 21 11.0127C21 10.9763 16.8975 6.85868 16.8612 6.85868C16.8446 6.85868 16.8347 7.41807 16.8347 8.09993V9.34117H14.7521H12.6694V7.25588V5.17059H13.9091C14.5901 5.17059 15.1488 5.16066 15.1488 5.14411C15.1488 5.12094 11.043 1 11.0165 1C11.0066 1 10.0612 1.93673 8.91736 3.08529ZM12.081 3.24086C12.6595 3.82011 13.1322 4.30337 13.1322 4.31661C13.1322 4.33316 12.8413 4.34309 12.4876 4.34309H11.843V7.25588V10.1687H14.7686H17.6942V9.53646C17.6909 9.18891 17.6975 8.89763 17.7041 8.89101C17.7074 8.88439 18.1934 9.36103 18.7785 9.9469L19.843 11.0127L18.7686 12.0885L17.6942 13.1642V12.9325C17.6909 12.8034 17.6876 12.5155 17.6843 12.2871L17.6777 11.8733L14.762 11.8634L11.843 11.8568V14.7696V17.6823L12.6331 17.689L13.4264 17.6989L12.2165 18.7978L11.0066 19.9L10.7223 19.6419C10.5669 19.5028 10.4314 19.3804 10.4215 19.3704C10.405 19.3539 9.92893 18.917 9.28099 18.3311C9.09917 18.1656 8.86777 17.9538 8.7686 17.8578L8.58678 17.6823H9.37355H10.157V14.7696V11.8568H7.24793H4.33884L4.33223 12.5022L4.32231 13.1477L3.25455 12.0785L2.19008 11.0127L3.25455 9.94359L4.32231 8.87446L4.33223 9.52322L4.33884 10.1687H7.24793H10.157V7.25588V4.34309L9.5124 4.33647L8.86446 4.32654L9.93223 3.25741C10.5174 2.67154 11.0066 2.1916 11.0165 2.1916C11.0264 2.1916 11.5058 2.66492 12.081 3.24086Z",
|
|
18471
18485
|
fill: "currentColor"
|
|
18472
18486
|
})
|
|
@@ -18491,19 +18505,19 @@ const XS = /* @__PURE__ */ j({
|
|
|
18491
18505
|
height: t.size
|
|
18492
18506
|
})
|
|
18493
18507
|
}, [...n[0] || (n[0] = [
|
|
18494
|
-
|
|
18508
|
+
b("use", { "xlink:href": "#phone" }, null, -1)
|
|
18495
18509
|
])], 6)),
|
|
18496
|
-
n[1] || (n[1] =
|
|
18510
|
+
n[1] || (n[1] = b("svg", {
|
|
18497
18511
|
width: "0",
|
|
18498
18512
|
height: "0",
|
|
18499
18513
|
class: "hidden"
|
|
18500
18514
|
}, [
|
|
18501
|
-
|
|
18515
|
+
b("symbol", {
|
|
18502
18516
|
id: "phone",
|
|
18503
18517
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18504
18518
|
viewBox: "0 0 24 24"
|
|
18505
18519
|
}, [
|
|
18506
|
-
|
|
18520
|
+
b("path", {
|
|
18507
18521
|
d: "M19.4998 21.75H19.3723C4.63482 20.9025 2.54232 8.4675 2.24982 4.6725C2.22625 4.37744 2.26114 4.08062 2.35248 3.79906C2.44382 3.5175 2.58981 3.25673 2.78211 3.03169C2.9744 2.80665 3.20921 2.62177 3.47308 2.48763C3.73695 2.35349 4.02469 2.27274 4.31982 2.25H8.45232C8.75274 2.24971 9.04632 2.33963 9.29504 2.50812C9.54377 2.67661 9.73617 2.9159 9.84732 3.195L10.9873 6C11.0971 6.27266 11.1243 6.57156 11.0657 6.85957C11.007 7.14758 10.865 7.412 10.6573 7.62L9.05982 9.2325C9.30936 10.6506 9.98846 11.9578 11.0052 12.9772C12.022 13.9967 13.3274 14.6792 14.7448 14.9325L16.3723 13.32C16.5834 13.1146 16.8504 12.9759 17.1398 12.9213C17.4292 12.8666 17.7283 12.8983 17.9998 13.0125L20.8273 14.145C21.1022 14.2597 21.3367 14.4536 21.501 14.702C21.6653 14.9504 21.7519 15.2422 21.7498 15.54V19.5C21.7498 20.0967 21.5128 20.669 21.0908 21.091C20.6689 21.5129 20.0966 21.75 19.4998 21.75ZM4.49982 3.75C4.30091 3.75 4.11014 3.82902 3.96949 3.96967C3.82884 4.11032 3.74982 4.30109 3.74982 4.5V4.56C4.09482 9 6.30732 19.5 19.4548 20.25C19.5534 20.2561 19.6521 20.2427 19.7454 20.2105C19.8388 20.1783 19.9248 20.1281 19.9987 20.0626C20.0726 19.9971 20.1328 19.9176 20.1759 19.8288C20.219 19.74 20.2441 19.6436 20.2498 19.545V15.54L17.4223 14.4075L15.2698 16.545L14.9098 16.5C8.38482 15.6825 7.49982 9.1575 7.49982 9.09L7.45482 8.73L9.58482 6.5775L8.45982 3.75H4.49982Z",
|
|
18508
18522
|
fill: "currentColor"
|
|
18509
18523
|
})
|
|
@@ -18528,23 +18542,23 @@ const XS = /* @__PURE__ */ j({
|
|
|
18528
18542
|
height: t.size
|
|
18529
18543
|
})
|
|
18530
18544
|
}, [...n[0] || (n[0] = [
|
|
18531
|
-
|
|
18545
|
+
b("use", { "xlink:href": "#arrow-down" }, null, -1)
|
|
18532
18546
|
])], 6)),
|
|
18533
|
-
n[1] || (n[1] =
|
|
18547
|
+
n[1] || (n[1] = b("svg", {
|
|
18534
18548
|
width: "0",
|
|
18535
18549
|
height: "0",
|
|
18536
18550
|
class: "hidden"
|
|
18537
18551
|
}, [
|
|
18538
|
-
|
|
18552
|
+
b("symbol", {
|
|
18539
18553
|
id: "arrow-down",
|
|
18540
18554
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18541
18555
|
viewBox: "0 0 24 20"
|
|
18542
18556
|
}, [
|
|
18543
|
-
|
|
18557
|
+
b("path", {
|
|
18544
18558
|
d: "M3.08417 4.43062C2.86268 4.4769 2.70731 4.56285 2.52549 4.74467C2.29408 4.97607 2.20152 5.2174 2.22136 5.55459C2.25111 6.0207 1.96681 5.70996 6.78995 10.5397C9.18995 12.9463 11.2263 14.9662 11.309 15.029C11.5238 15.1843 11.7123 15.2471 11.99 15.2505C12.4693 15.2538 12.109 15.581 17.1106 10.5728C22.0891 5.58764 21.7288 5.98103 21.7255 5.505C21.7255 5.37607 21.7023 5.21078 21.6726 5.13145C21.5106 4.68186 21.0511 4.38434 20.5817 4.4174C20.1519 4.44715 20.4263 4.19591 16.0164 8.60252L11.9833 12.629L8.06598 8.71161C5.91061 6.55624 4.0726 4.73475 3.98003 4.66202C3.71227 4.45376 3.38499 4.36781 3.08417 4.43062Z",
|
|
18545
18559
|
fill: "currentColor"
|
|
18546
18560
|
}),
|
|
18547
|
-
|
|
18561
|
+
b("path", {
|
|
18548
18562
|
d: "M9.69602 16.8994C9.70593 16.9292 9.72577 17.0184 9.73569 17.1044C9.76213 17.2664 9.7985 17.2994 9.83486 17.1903C9.84478 17.154 9.89106 17.1143 9.93734 17.1044C10.0464 17.078 10.0365 17.0548 9.87453 16.9589C9.6861 16.8465 9.67288 16.8432 9.69602 16.8994Z",
|
|
18549
18563
|
fill: "currentColor"
|
|
18550
18564
|
})
|
|
@@ -18575,19 +18589,19 @@ const XS = /* @__PURE__ */ j({
|
|
|
18575
18589
|
onMouseenter: i[0] || (i[0] = (s) => e.value = !0),
|
|
18576
18590
|
onMouseleave: i[1] || (i[1] = (s) => e.value = !1)
|
|
18577
18591
|
}, [...i[2] || (i[2] = [
|
|
18578
|
-
|
|
18592
|
+
b("use", { "xlink:href": "#arrow-left" }, null, -1)
|
|
18579
18593
|
])], 38)),
|
|
18580
|
-
i[3] || (i[3] =
|
|
18594
|
+
i[3] || (i[3] = b("svg", {
|
|
18581
18595
|
width: "0",
|
|
18582
18596
|
height: "0",
|
|
18583
18597
|
class: "hidden"
|
|
18584
18598
|
}, [
|
|
18585
|
-
|
|
18599
|
+
b("symbol", {
|
|
18586
18600
|
id: "arrow-left",
|
|
18587
18601
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18588
18602
|
viewBox: "0 0 1024 1024"
|
|
18589
18603
|
}, [
|
|
18590
|
-
|
|
18604
|
+
b("path", { d: "M656.733 149.806C659.446 147.019 662.69 144.804 666.274 143.292C669.857 141.779 673.707 141 677.597 141C681.486 141 685.337 141.779 688.92 143.292C692.503 144.804 695.748 147.019 698.461 149.806C704.024 155.518 707.138 163.176 707.138 171.15C707.138 179.123 704.024 186.782 698.461 192.494L386.589 512.366L698.461 832.302C701.269 835.176 703.483 838.575 704.976 842.305C706.47 846.035 707.215 850.022 707.167 854.04C707.119 858.057 706.281 862.026 704.699 865.72C703.118 869.413 700.824 872.759 697.949 875.566C695.211 878.242 691.972 880.351 688.417 881.774C684.863 883.197 681.063 883.904 677.235 883.857C673.407 883.809 669.625 883.007 666.107 881.497C662.589 879.986 659.404 877.797 656.733 875.054L325.085 534.702C319.26 528.726 316 520.711 316 512.366C316 504.021 319.26 496.006 325.085 490.03L656.733 149.806Z" })
|
|
18591
18605
|
])
|
|
18592
18606
|
], -1))
|
|
18593
18607
|
], 64));
|
|
@@ -18615,19 +18629,19 @@ const XS = /* @__PURE__ */ j({
|
|
|
18615
18629
|
onMouseenter: i[0] || (i[0] = (s) => e.value = !0),
|
|
18616
18630
|
onMouseleave: i[1] || (i[1] = (s) => e.value = !1)
|
|
18617
18631
|
}, [...i[2] || (i[2] = [
|
|
18618
|
-
|
|
18632
|
+
b("use", { "xlink:href": "#arrow-right" }, null, -1)
|
|
18619
18633
|
])], 38)),
|
|
18620
|
-
i[3] || (i[3] =
|
|
18634
|
+
i[3] || (i[3] = b("svg", {
|
|
18621
18635
|
width: "0",
|
|
18622
18636
|
height: "0",
|
|
18623
18637
|
class: "hidden"
|
|
18624
18638
|
}, [
|
|
18625
|
-
|
|
18639
|
+
b("symbol", {
|
|
18626
18640
|
id: "arrow-right",
|
|
18627
18641
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18628
18642
|
viewBox: "0 0 1024 1024"
|
|
18629
18643
|
}, [
|
|
18630
|
-
|
|
18644
|
+
b("path", { d: "M366.436 875.054C363.723 877.84 360.479 880.055 356.895 881.568C353.312 883.08 349.462 883.859 345.572 883.859C341.683 883.859 337.832 883.08 334.249 881.568C330.666 880.055 327.421 877.84 324.708 875.054C319.145 869.342 316.031 861.683 316.031 853.71C316.031 845.736 319.145 838.077 324.708 832.366L636.58 512.494L324.708 192.558C321.9 189.684 319.686 186.284 318.193 182.555C316.699 178.825 315.954 174.837 316.002 170.82C316.049 166.802 316.888 162.833 318.47 159.14C320.051 155.446 322.345 152.1 325.22 149.294C327.958 146.618 331.197 144.508 334.752 143.086C338.306 141.663 342.106 140.955 345.934 141.003C349.762 141.05 353.544 141.852 357.062 143.363C360.58 144.873 363.765 147.063 366.436 149.806L698.084 490.158C703.909 496.134 707.169 504.148 707.169 512.494C707.169 520.839 703.909 528.854 698.084 534.83L366.436 875.054Z" })
|
|
18631
18645
|
])
|
|
18632
18646
|
], -1))
|
|
18633
18647
|
], 64));
|
|
@@ -18655,19 +18669,19 @@ const XS = /* @__PURE__ */ j({
|
|
|
18655
18669
|
onMouseenter: i[0] || (i[0] = (s) => e.value = !0),
|
|
18656
18670
|
onMouseleave: i[1] || (i[1] = (s) => e.value = !1)
|
|
18657
18671
|
}, [...i[2] || (i[2] = [
|
|
18658
|
-
|
|
18672
|
+
b("use", { "xlink:href": "#double-arrow-left" }, null, -1)
|
|
18659
18673
|
])], 38)),
|
|
18660
|
-
i[3] || (i[3] =
|
|
18674
|
+
i[3] || (i[3] = b("svg", {
|
|
18661
18675
|
width: "0",
|
|
18662
18676
|
height: "0",
|
|
18663
18677
|
class: "hidden"
|
|
18664
18678
|
}, [
|
|
18665
|
-
|
|
18679
|
+
b("symbol", {
|
|
18666
18680
|
id: "double-arrow-left",
|
|
18667
18681
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18668
18682
|
viewBox: "0 0 1024 1024"
|
|
18669
18683
|
}, [
|
|
18670
|
-
|
|
18684
|
+
b("path", { d: "M529.408 149.376C532.121 146.589 535.365 144.374 538.949 142.862C542.532 141.35 546.382 140.57 550.272 140.57C554.161 140.57 558.011 141.35 561.595 142.862C565.178 144.374 568.422 146.589 571.136 149.376C576.699 155.088 579.813 162.746 579.813 170.72C579.813 178.694 576.699 186.352 571.136 192.064L259.264 511.936L571.136 831.872C573.943 834.746 576.157 838.145 577.651 841.875C579.145 845.605 579.889 849.593 579.842 853.61C579.794 857.628 578.956 861.597 577.374 865.29C575.792 868.984 573.499 872.329 570.624 875.136C567.886 877.812 564.647 879.922 561.092 881.344C557.538 882.767 553.738 883.475 549.91 883.427C546.081 883.38 542.3 882.578 538.782 881.067C535.264 879.556 532.079 877.367 529.408 874.624L197.76 534.272C191.935 528.296 188.675 520.281 188.675 511.936C188.675 503.591 191.935 495.576 197.76 489.6L529.408 149.376ZM785.408 149.376C788.121 146.589 791.365 144.374 794.949 142.862C798.532 141.35 802.382 140.57 806.272 140.57C810.161 140.57 814.011 141.35 817.595 142.862C821.178 144.374 824.422 146.589 827.136 149.376C832.699 155.088 835.813 162.746 835.813 170.72C835.813 178.694 832.699 186.352 827.136 192.064L515.264 511.936L827.136 831.872C829.943 834.746 832.157 838.145 833.651 841.875C835.145 845.605 835.889 849.593 835.842 853.61C835.794 857.628 834.956 861.597 833.374 865.29C831.792 868.984 829.499 872.329 826.624 875.136C823.886 877.812 820.647 879.922 817.092 881.344C813.538 882.767 809.738 883.475 805.91 883.427C802.081 883.38 798.3 882.578 794.782 881.067C791.264 879.556 788.079 877.367 785.408 874.624L453.76 534.272C447.935 528.296 444.675 520.281 444.675 511.936C444.675 503.591 447.935 495.576 453.76 489.6L785.408 149.376Z" })
|
|
18671
18685
|
])
|
|
18672
18686
|
], -1))
|
|
18673
18687
|
], 64));
|
|
@@ -18695,19 +18709,19 @@ const XS = /* @__PURE__ */ j({
|
|
|
18695
18709
|
onMouseenter: i[0] || (i[0] = (s) => e.value = !0),
|
|
18696
18710
|
onMouseleave: i[1] || (i[1] = (s) => e.value = !1)
|
|
18697
18711
|
}, [...i[2] || (i[2] = [
|
|
18698
|
-
|
|
18712
|
+
b("use", { "xlink:href": "#double-arrow-right" }, null, -1)
|
|
18699
18713
|
])], 38)),
|
|
18700
|
-
i[3] || (i[3] =
|
|
18714
|
+
i[3] || (i[3] = b("svg", {
|
|
18701
18715
|
width: "0",
|
|
18702
18716
|
height: "0",
|
|
18703
18717
|
class: "hidden"
|
|
18704
18718
|
}, [
|
|
18705
|
-
|
|
18719
|
+
b("symbol", {
|
|
18706
18720
|
id: "double-arrow-right",
|
|
18707
18721
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18708
18722
|
viewBox: "0 0 1024 1024"
|
|
18709
18723
|
}, [
|
|
18710
|
-
|
|
18724
|
+
b("path", { d: "M495.111 874.624C492.397 877.411 489.153 879.626 485.57 881.138C481.987 882.65 478.136 883.43 474.247 883.43C470.357 883.43 466.507 882.65 462.924 881.138C459.34 879.626 456.096 877.411 453.383 874.624C447.819 868.912 444.706 861.254 444.706 853.28C444.706 845.306 447.819 837.648 453.383 831.936L765.255 512.064L453.383 192.128C450.575 189.254 448.361 185.855 446.867 182.125C445.374 178.395 444.629 174.407 444.677 170.39C444.724 166.372 445.563 162.403 447.145 158.71C448.726 155.016 451.02 151.671 453.895 148.864C456.633 146.188 459.872 144.078 463.426 142.656C466.981 141.233 470.781 140.525 474.609 140.573C478.437 140.62 482.219 141.422 485.737 142.933C489.254 144.444 492.44 146.633 495.111 149.376L826.759 489.728C832.584 495.704 835.844 503.719 835.844 512.064C835.844 520.409 832.584 528.424 826.759 534.4L495.111 874.624ZM239.111 874.624C236.397 877.411 233.153 879.626 229.57 881.138C225.987 882.65 222.136 883.43 218.247 883.43C214.357 883.43 210.507 882.65 206.924 881.138C203.34 879.626 200.096 877.411 197.383 874.624C191.819 868.912 188.706 861.254 188.706 853.28C188.706 845.306 191.819 837.648 197.383 831.936L509.255 512.064L197.383 192.128C194.575 189.254 192.361 185.855 190.867 182.125C189.374 178.395 188.629 174.407 188.677 170.39C188.724 166.372 189.563 162.403 191.145 158.71C192.726 155.016 195.02 151.671 197.895 148.864C200.633 146.188 203.872 144.078 207.426 142.656C210.981 141.233 214.781 140.525 218.609 140.573C222.437 140.62 226.219 141.422 229.737 142.933C233.254 144.444 236.44 146.633 239.111 149.376L570.759 489.728C576.584 495.704 579.844 503.719 579.844 512.064C579.844 520.409 576.584 528.424 570.759 534.4L239.111 874.624Z" })
|
|
18711
18725
|
])
|
|
18712
18726
|
], -1))
|
|
18713
18727
|
], 64));
|
|
@@ -18735,7 +18749,7 @@ const XS = /* @__PURE__ */ j({
|
|
|
18735
18749
|
onMouseenter: i[0] || (i[0] = (s) => e.value = !0),
|
|
18736
18750
|
onMouseleave: i[1] || (i[1] = (s) => e.value = !1)
|
|
18737
18751
|
}, [...i[2] || (i[2] = [
|
|
18738
|
-
|
|
18752
|
+
b("use", { "xlink:href": "#ellipsis" }, null, -1)
|
|
18739
18753
|
])], 38)),
|
|
18740
18754
|
i[3] || (i[3] = Tl('<svg width="0" height="0" class="hidden" data-v-5abed3e4><symbol id="ellipsis" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" data-v-5abed3e4><path d="M65 135C73.2843 135 80 128.284 80 120C80 111.716 73.2843 105 65 105C56.7157 105 50 111.716 50 120C50 128.284 56.7157 135 65 135Z" data-v-5abed3e4></path><path d="M120 135C128.284 135 135 128.284 135 120C135 111.716 128.284 105 120 105C111.716 105 105 111.716 105 120C105 128.284 111.716 135 120 135Z" data-v-5abed3e4></path><path d="M175 135C183.284 135 190 128.284 190 120C190 111.716 183.284 105 175 105C166.716 105 160 111.716 160 120C160 128.284 166.716 135 175 135Z" data-v-5abed3e4></path></symbol></svg>', 1))
|
|
18741
18755
|
], 64));
|
|
@@ -18805,7 +18819,7 @@ const R8 = /* @__PURE__ */ X(T8, [["render", P8]]), I8 = j({
|
|
|
18805
18819
|
}), M8 = ["for"], A8 = { class: "inside-icon" };
|
|
18806
18820
|
function E8(t, e, n, i, s, o) {
|
|
18807
18821
|
return m(), S(K, null, [
|
|
18808
|
-
|
|
18822
|
+
b("div", {
|
|
18809
18823
|
class: "tab",
|
|
18810
18824
|
style: J({
|
|
18811
18825
|
margin: t.margin,
|
|
@@ -18818,19 +18832,19 @@ function E8(t, e, n, i, s, o) {
|
|
|
18818
18832
|
class: "icon-arrow",
|
|
18819
18833
|
onClick: e[0] || (e[0] = (...a) => t.handleItemClick && t.handleItemClick(...a))
|
|
18820
18834
|
}, [...e[3] || (e[3] = [
|
|
18821
|
-
|
|
18835
|
+
b("use", { "xlink:href": "#arrow-down" }, null, -1)
|
|
18822
18836
|
])])) : t.isCollaps && !t.collapsed ? (m(), S("svg", {
|
|
18823
18837
|
key: 1,
|
|
18824
18838
|
class: "icon-arrow",
|
|
18825
18839
|
onClick: e[1] || (e[1] = (...a) => t.handleItemClick && t.handleItemClick(...a))
|
|
18826
18840
|
}, [...e[4] || (e[4] = [
|
|
18827
|
-
|
|
18841
|
+
b("use", { "xlink:href": "#arrow-up" }, null, -1)
|
|
18828
18842
|
])])) : G("", !0),
|
|
18829
|
-
|
|
18843
|
+
b("label", {
|
|
18830
18844
|
for: t.tabId,
|
|
18831
18845
|
onClick: e[2] || (e[2] = (...a) => t.handleItemClick && t.handleItemClick(...a))
|
|
18832
18846
|
}, [
|
|
18833
|
-
|
|
18847
|
+
b("div", {
|
|
18834
18848
|
style: J({
|
|
18835
18849
|
cursor: t.isCollaps ? "pointer" : "default",
|
|
18836
18850
|
background: t.changeColor ? t.background : t.backgroundAttention,
|
|
@@ -18839,10 +18853,10 @@ function E8(t, e, n, i, s, o) {
|
|
|
18839
18853
|
}),
|
|
18840
18854
|
class: "tab-name"
|
|
18841
18855
|
}, [
|
|
18842
|
-
|
|
18856
|
+
b("div", A8, [
|
|
18843
18857
|
N(t.$slots, "icon", {}, void 0, !0)
|
|
18844
18858
|
]),
|
|
18845
|
-
|
|
18859
|
+
b("div", {
|
|
18846
18860
|
class: "title-in",
|
|
18847
18861
|
style: J({
|
|
18848
18862
|
marginRight: t.isCollaps ? "50px" : "0",
|
|
@@ -18853,14 +18867,14 @@ function E8(t, e, n, i, s, o) {
|
|
|
18853
18867
|
be(U(t.title), 1)
|
|
18854
18868
|
], !0)
|
|
18855
18869
|
], 4),
|
|
18856
|
-
|
|
18870
|
+
b("div", {
|
|
18857
18871
|
class: ve(["tools-bar", { "hidden-part": t.showToolsOnHover }])
|
|
18858
18872
|
}, [
|
|
18859
18873
|
N(t.$slots, "tools", {}, void 0, !0)
|
|
18860
18874
|
], 2)
|
|
18861
18875
|
], 4)
|
|
18862
18876
|
], 8, M8),
|
|
18863
|
-
|
|
18877
|
+
b("div", {
|
|
18864
18878
|
style: J({ maxHeight: t.isCollaps ? "" : "1000000vh", background: t.changeColor ? t.background : t.backgroundAttention }),
|
|
18865
18879
|
class: ve(t.collapsed ? "tab-content-down" : "tab-content-up")
|
|
18866
18880
|
}, [
|
|
@@ -18877,25 +18891,25 @@ const F8 = /* @__PURE__ */ X(I8, [["render", E8], ["__scopeId", "data-v-6fb8269e
|
|
|
18877
18891
|
e.value = !e.value;
|
|
18878
18892
|
};
|
|
18879
18893
|
return (i, s) => {
|
|
18880
|
-
const o =
|
|
18894
|
+
const o = Ie("ArrowRight"), a = Ie("ArrowLeft");
|
|
18881
18895
|
return m(), S(K, null, [
|
|
18882
|
-
|
|
18896
|
+
b("div", O8, [
|
|
18883
18897
|
N(i.$slots, "main", {}, void 0, !0),
|
|
18884
|
-
|
|
18898
|
+
b("div", {
|
|
18885
18899
|
style: J({ width: f(e) ? "50%" : "20px", transition: "0.3s" }),
|
|
18886
18900
|
class: "left"
|
|
18887
18901
|
}, [
|
|
18888
|
-
|
|
18902
|
+
b("div", {
|
|
18889
18903
|
style: J({ width: f(e) ? "100%" : "0", transition: "0.3s" }),
|
|
18890
18904
|
class: "left-content"
|
|
18891
18905
|
}, [
|
|
18892
18906
|
N(i.$slots, "inside-content-left", {}, void 0, !0)
|
|
18893
18907
|
], 4),
|
|
18894
|
-
|
|
18908
|
+
b("div", {
|
|
18895
18909
|
class: "arrow-bar",
|
|
18896
18910
|
onClick: n
|
|
18897
18911
|
}, [
|
|
18898
|
-
|
|
18912
|
+
b("div", D8, [
|
|
18899
18913
|
N(i.$slots, "inside-title", {}, void 0, !0)
|
|
18900
18914
|
]),
|
|
18901
18915
|
f(e) ? (m(), z(o, {
|
|
@@ -18907,7 +18921,7 @@ const F8 = /* @__PURE__ */ X(I8, [["render", E8], ["__scopeId", "data-v-6fb8269e
|
|
|
18907
18921
|
}))
|
|
18908
18922
|
])
|
|
18909
18923
|
], 4),
|
|
18910
|
-
|
|
18924
|
+
b("div", {
|
|
18911
18925
|
style: J({ width: f(e) ? "50%" : "100%", transition: "0.3s" }),
|
|
18912
18926
|
class: "right"
|
|
18913
18927
|
}, [
|
|
@@ -18950,7 +18964,7 @@ const F8 = /* @__PURE__ */ X(I8, [["render", E8], ["__scopeId", "data-v-6fb8269e
|
|
|
18950
18964
|
},
|
|
18951
18965
|
setup(t) {
|
|
18952
18966
|
return (e, n) => {
|
|
18953
|
-
const i =
|
|
18967
|
+
const i = Ie("PSticky");
|
|
18954
18968
|
return m(), S("div", {
|
|
18955
18969
|
class: "add-block",
|
|
18956
18970
|
style: J({
|
|
@@ -18968,7 +18982,7 @@ const F8 = /* @__PURE__ */ X(I8, [["render", E8], ["__scopeId", "data-v-6fb8269e
|
|
|
18968
18982
|
]),
|
|
18969
18983
|
_: 3
|
|
18970
18984
|
}, 8, ["top", "z-index"]),
|
|
18971
|
-
|
|
18985
|
+
b("div", V8, [
|
|
18972
18986
|
N(e.$slots, "default", {}, void 0, !0)
|
|
18973
18987
|
])
|
|
18974
18988
|
], 4);
|
|
@@ -19036,7 +19050,7 @@ const F8 = /* @__PURE__ */ X(I8, [["render", E8], ["__scopeId", "data-v-6fb8269e
|
|
|
19036
19050
|
},
|
|
19037
19051
|
setup(t) {
|
|
19038
19052
|
return (e, n) => {
|
|
19039
|
-
const i =
|
|
19053
|
+
const i = Ie("PSticky"), s = Ie("PContainer");
|
|
19040
19054
|
return m(), z(s, {
|
|
19041
19055
|
background: t.background,
|
|
19042
19056
|
margin: t.margin,
|
|
@@ -19052,7 +19066,7 @@ const F8 = /* @__PURE__ */ X(I8, [["render", E8], ["__scopeId", "data-v-6fb8269e
|
|
|
19052
19066
|
]),
|
|
19053
19067
|
_: 3
|
|
19054
19068
|
}, 8, ["top", "z-index"]),
|
|
19055
|
-
|
|
19069
|
+
b("div", N8, [
|
|
19056
19070
|
N(e.$slots, "default", {}, void 0, !0)
|
|
19057
19071
|
])
|
|
19058
19072
|
]),
|
|
@@ -19087,7 +19101,7 @@ const F8 = /* @__PURE__ */ X(I8, [["render", E8], ["__scopeId", "data-v-6fb8269e
|
|
|
19087
19101
|
s("close"), o.value = !1;
|
|
19088
19102
|
}, p = (E) => {
|
|
19089
19103
|
E || s("close");
|
|
19090
|
-
},
|
|
19104
|
+
}, y = () => {
|
|
19091
19105
|
o.value && h();
|
|
19092
19106
|
}, k = () => {
|
|
19093
19107
|
o.value = !o.value;
|
|
@@ -19103,13 +19117,13 @@ const F8 = /* @__PURE__ */ X(I8, [["render", E8], ["__scopeId", "data-v-6fb8269e
|
|
|
19103
19117
|
p
|
|
19104
19118
|
],
|
|
19105
19119
|
position: "top",
|
|
19106
|
-
onKeydown: Ns(
|
|
19120
|
+
onKeydown: Ns(y, ["escape"]),
|
|
19107
19121
|
onShow: P
|
|
19108
19122
|
}, {
|
|
19109
19123
|
default: C(() => [
|
|
19110
|
-
|
|
19111
|
-
|
|
19112
|
-
|
|
19124
|
+
b("div", G8, [
|
|
19125
|
+
b("div", W8, [
|
|
19126
|
+
b("div", Y8, U(t.title), 1),
|
|
19113
19127
|
Je(g(ue, {
|
|
19114
19128
|
icon: "close",
|
|
19115
19129
|
flat: "",
|
|
@@ -19120,7 +19134,7 @@ const F8 = /* @__PURE__ */ X(I8, [["render", E8], ["__scopeId", "data-v-6fb8269e
|
|
|
19120
19134
|
[f(r)]
|
|
19121
19135
|
])
|
|
19122
19136
|
]),
|
|
19123
|
-
|
|
19137
|
+
b("div", Q8, [
|
|
19124
19138
|
g(f(Ei), {
|
|
19125
19139
|
bordered: "",
|
|
19126
19140
|
separator: ""
|
|
@@ -19153,7 +19167,7 @@ const F8 = /* @__PURE__ */ X(I8, [["render", E8], ["__scopeId", "data-v-6fb8269e
|
|
|
19153
19167
|
_: 1
|
|
19154
19168
|
})
|
|
19155
19169
|
]),
|
|
19156
|
-
|
|
19170
|
+
b("div", X8, [
|
|
19157
19171
|
Je(g(ue, {
|
|
19158
19172
|
flat: "",
|
|
19159
19173
|
label: "Закрыть",
|
|
@@ -19265,14 +19279,14 @@ const F8 = /* @__PURE__ */ X(I8, [["render", E8], ["__scopeId", "data-v-6fb8269e
|
|
|
19265
19279
|
onEnd: l
|
|
19266
19280
|
}, {
|
|
19267
19281
|
item: C(({ element: c, index: h }) => [
|
|
19268
|
-
|
|
19269
|
-
|
|
19282
|
+
b("div", eC, [
|
|
19283
|
+
b("div", tC, [
|
|
19270
19284
|
g(f(re), {
|
|
19271
19285
|
name: "drag_indicator",
|
|
19272
19286
|
class: "drag-icon"
|
|
19273
19287
|
})
|
|
19274
19288
|
]),
|
|
19275
|
-
|
|
19289
|
+
b("div", nC, [
|
|
19276
19290
|
N(r.$slots, "default", {
|
|
19277
19291
|
item: c,
|
|
19278
19292
|
update: a,
|
|
@@ -19307,7 +19321,7 @@ const F8 = /* @__PURE__ */ X(I8, [["render", E8], ["__scopeId", "data-v-6fb8269e
|
|
|
19307
19321
|
class: "static-item",
|
|
19308
19322
|
style: J({ background: t.background })
|
|
19309
19323
|
}, [
|
|
19310
|
-
|
|
19324
|
+
b("div", sC, [
|
|
19311
19325
|
N(r.$slots, "default", {
|
|
19312
19326
|
item: c,
|
|
19313
19327
|
update: a,
|
|
@@ -19374,10 +19388,10 @@ const F8 = /* @__PURE__ */ X(I8, [["render", E8], ["__scopeId", "data-v-6fb8269e
|
|
|
19374
19388
|
padding: t.padding
|
|
19375
19389
|
})
|
|
19376
19390
|
}, [
|
|
19377
|
-
|
|
19391
|
+
b("div", uC, [
|
|
19378
19392
|
N(e.$slots, "title", {}, void 0, !0)
|
|
19379
19393
|
]),
|
|
19380
|
-
|
|
19394
|
+
b("div", dC, [
|
|
19381
19395
|
N(e.$slots, "default", {}, void 0, !0)
|
|
19382
19396
|
])
|
|
19383
19397
|
], 4));
|
|
@@ -19434,7 +19448,7 @@ const F8 = /* @__PURE__ */ X(I8, [["render", E8], ["__scopeId", "data-v-6fb8269e
|
|
|
19434
19448
|
n.closable && i("close");
|
|
19435
19449
|
};
|
|
19436
19450
|
return (a, l) => {
|
|
19437
|
-
const r =
|
|
19451
|
+
const r = Ie("IconClose");
|
|
19438
19452
|
return m(), S(K, null, [
|
|
19439
19453
|
t.show ? (m(), S("div", {
|
|
19440
19454
|
key: 0,
|
|
@@ -19537,7 +19551,7 @@ const pC = { class: "btn-group" }, gC = /* @__PURE__ */ j({
|
|
|
19537
19551
|
placeholder: d.label,
|
|
19538
19552
|
margin: "10px 0 0 0"
|
|
19539
19553
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "type", "placeholder"]))), 128)),
|
|
19540
|
-
|
|
19554
|
+
b("div", pC, [
|
|
19541
19555
|
(m(!0), S(K, null, we(f(i), (d, c) => (m(), z(ue, {
|
|
19542
19556
|
id: d.id,
|
|
19543
19557
|
key: d.GetChunk(),
|
|
@@ -19600,8 +19614,8 @@ const pC = { class: "btn-group" }, gC = /* @__PURE__ */ j({
|
|
|
19600
19614
|
},
|
|
19601
19615
|
setup(t) {
|
|
19602
19616
|
return (e, n) => (m(), S("div", yC, [
|
|
19603
|
-
|
|
19604
|
-
|
|
19617
|
+
b("div", bC, U(t.code), 1),
|
|
19618
|
+
b("div", wC, U(t.text), 1),
|
|
19605
19619
|
t.to ? (m(), z(ue, {
|
|
19606
19620
|
key: 0,
|
|
19607
19621
|
class: "q-mt-xl",
|
|
@@ -19678,7 +19692,7 @@ const pC = { class: "btn-group" }, gC = /* @__PURE__ */ j({
|
|
|
19678
19692
|
borderRadius: t.borderRadius
|
|
19679
19693
|
})
|
|
19680
19694
|
}, [
|
|
19681
|
-
|
|
19695
|
+
b("div", {
|
|
19682
19696
|
ref_key: "menuRef",
|
|
19683
19697
|
ref: o,
|
|
19684
19698
|
class: "top-menu",
|
|
@@ -19686,18 +19700,18 @@ const pC = { class: "btn-group" }, gC = /* @__PURE__ */ j({
|
|
|
19686
19700
|
gridTemplateColumns: `repeat(auto-fit, minmax(${t.minMenuItemWidth}, 1fr))`
|
|
19687
19701
|
})
|
|
19688
19702
|
}, [
|
|
19689
|
-
(m(!0), S(K, null, we(t.menus.items, (p,
|
|
19690
|
-
|
|
19691
|
-
class: ve({ "selected-tab":
|
|
19703
|
+
(m(!0), S(K, null, we(t.menus.items, (p, y) => (m(), S("div", { key: y }, [
|
|
19704
|
+
b("div", {
|
|
19705
|
+
class: ve({ "selected-tab": y === t.menus.idx, tab: y !== t.menus.idx }),
|
|
19692
19706
|
style: J({
|
|
19693
19707
|
minHeight: t.tabHeight,
|
|
19694
19708
|
maxHeight: t.tabHeight
|
|
19695
19709
|
}),
|
|
19696
|
-
onClick: (k) => d(
|
|
19710
|
+
onClick: (k) => d(y)
|
|
19697
19711
|
}, U(p.name), 15, kC)
|
|
19698
19712
|
]))), 128))
|
|
19699
19713
|
], 4),
|
|
19700
|
-
|
|
19714
|
+
b("div", {
|
|
19701
19715
|
class: "body-container",
|
|
19702
19716
|
style: J({
|
|
19703
19717
|
background: t.background,
|
|
@@ -19764,15 +19778,15 @@ const pC = { class: "btn-group" }, gC = /* @__PURE__ */ j({
|
|
|
19764
19778
|
return !!n.formats.includes(c.toLowerCase());
|
|
19765
19779
|
};
|
|
19766
19780
|
return (d, c) => {
|
|
19767
|
-
const h =
|
|
19781
|
+
const h = Ie("PString"), p = Ie("PFlex"), y = Ie("PButton");
|
|
19768
19782
|
return m(), S(K, null, [
|
|
19769
|
-
|
|
19783
|
+
b("input", {
|
|
19770
19784
|
id: f(s),
|
|
19771
19785
|
type: "file",
|
|
19772
19786
|
hidden: "",
|
|
19773
19787
|
onChange: a
|
|
19774
19788
|
}, null, 40, TC),
|
|
19775
|
-
|
|
19789
|
+
b("div", {
|
|
19776
19790
|
class: "text-field",
|
|
19777
19791
|
style: J({ margin: t.margin, padding: t.padding })
|
|
19778
19792
|
}, [
|
|
@@ -19781,13 +19795,13 @@ const pC = { class: "btn-group" }, gC = /* @__PURE__ */ j({
|
|
|
19781
19795
|
class: "text-field__label",
|
|
19782
19796
|
for: t.label
|
|
19783
19797
|
}, U(t.label), 9, PC)) : G("", !0),
|
|
19784
|
-
|
|
19798
|
+
b("div", {
|
|
19785
19799
|
class: "field",
|
|
19786
19800
|
style: J({
|
|
19787
19801
|
borderColor: t.borderColor
|
|
19788
19802
|
})
|
|
19789
19803
|
}, [
|
|
19790
|
-
|
|
19804
|
+
b("div", RC, [
|
|
19791
19805
|
g(p, null, {
|
|
19792
19806
|
default: C(() => [
|
|
19793
19807
|
N(d.$slots, "default", {}, void 0, !0),
|
|
@@ -19808,14 +19822,14 @@ const pC = { class: "btn-group" }, gC = /* @__PURE__ */ j({
|
|
|
19808
19822
|
color: t.color
|
|
19809
19823
|
})
|
|
19810
19824
|
}, [
|
|
19811
|
-
|
|
19825
|
+
b("a", {
|
|
19812
19826
|
href: t.fileInfo.getFileUrl(),
|
|
19813
19827
|
target: "_blank",
|
|
19814
19828
|
download: t.fileInfo.originalName
|
|
19815
19829
|
}, [
|
|
19816
|
-
|
|
19830
|
+
b("div", null, U(t.fileInfo.originalName), 1)
|
|
19817
19831
|
], 8, IC),
|
|
19818
|
-
g(
|
|
19832
|
+
g(y, {
|
|
19819
19833
|
skin: "text",
|
|
19820
19834
|
color: "negative",
|
|
19821
19835
|
onClick: l
|
|
@@ -19836,8 +19850,8 @@ const pC = { class: "btn-group" }, gC = /* @__PURE__ */ j({
|
|
|
19836
19850
|
margin: "0 10px 0 0"
|
|
19837
19851
|
})
|
|
19838
19852
|
])),
|
|
19839
|
-
|
|
19840
|
-
g(
|
|
19853
|
+
b("div", AC, [
|
|
19854
|
+
g(y, {
|
|
19841
19855
|
id: f(o),
|
|
19842
19856
|
skin: "text",
|
|
19843
19857
|
color: "primary",
|
|
@@ -19978,20 +19992,20 @@ function X4(t, e, n = !1) {
|
|
|
19978
19992
|
s = k, ea(i, k);
|
|
19979
19993
|
}
|
|
19980
19994
|
}, LC));
|
|
19981
|
-
}, { deep: !0 }),
|
|
19995
|
+
}, { deep: !0 }), y = Ae(
|
|
19982
19996
|
() => t.p.rowsNumber,
|
|
19983
19997
|
() => {
|
|
19984
19998
|
if (a)
|
|
19985
19999
|
return;
|
|
19986
20000
|
const k = r();
|
|
19987
|
-
c = !1, k && (e == null || e()),
|
|
20001
|
+
c = !1, k && (e == null || e()), y();
|
|
19988
20002
|
}
|
|
19989
20003
|
);
|
|
19990
20004
|
return rs(() => {
|
|
19991
|
-
o && clearTimeout(o), p(),
|
|
20005
|
+
o && clearTimeout(o), p(), y(), t.reset = d;
|
|
19992
20006
|
}), {
|
|
19993
20007
|
stop: () => {
|
|
19994
|
-
p(),
|
|
20008
|
+
p(), y();
|
|
19995
20009
|
}
|
|
19996
20010
|
};
|
|
19997
20011
|
}
|
|
@@ -20001,12 +20015,12 @@ function Z4(t, e = {}) {
|
|
|
20001
20015
|
e.disposeOnUnmount !== !1 && Pl() && Rl(() => {
|
|
20002
20016
|
l = !0;
|
|
20003
20017
|
});
|
|
20004
|
-
const r = Math.max(1, Math.floor(e.attempts ?? 1)), d = Math.max(0, e.delay ?? 2e3), c = (
|
|
20005
|
-
if (!(l || a) && !(e.once && o.value && !
|
|
20018
|
+
const r = Math.max(1, Math.floor(e.attempts ?? 1)), d = Math.max(0, e.delay ?? 2e3), c = (y) => new Promise((k) => setTimeout(k, y)), h = async (y = !1) => {
|
|
20019
|
+
if (!(l || a) && !(e.once && o.value && !y)) {
|
|
20006
20020
|
a = !0, n.value = !0, i.value = "";
|
|
20007
20021
|
try {
|
|
20008
20022
|
for (let k = 1; k <= r; k++) {
|
|
20009
|
-
const P = await Pi.Run(() => Promise.resolve(t(
|
|
20023
|
+
const P = await Pi.Run(() => Promise.resolve(t(y)), { silent: !e.notify });
|
|
20010
20024
|
if (P.ok) {
|
|
20011
20025
|
if (l)
|
|
20012
20026
|
return;
|
|
@@ -20050,11 +20064,11 @@ function J4(t, e = {}) {
|
|
|
20050
20064
|
...r
|
|
20051
20065
|
} = e, d = O("");
|
|
20052
20066
|
let c;
|
|
20053
|
-
const h = (k) => t.GetOptions(n, i, { ...r, ...k }), p = () => t.InvalidateOptions(n, i),
|
|
20067
|
+
const h = (k) => t.GetOptions(n, i, { ...r, ...k }), p = () => t.InvalidateOptions(n, i), y = (k) => t.SearchOptions(k, n, i, l).then(() => {
|
|
20054
20068
|
});
|
|
20055
20069
|
return o ? Ae(d, (k) => {
|
|
20056
20070
|
c && clearTimeout(c), c = setTimeout(() => {
|
|
20057
|
-
|
|
20071
|
+
y(k);
|
|
20058
20072
|
}, a);
|
|
20059
20073
|
}) : s && Fi(() => {
|
|
20060
20074
|
h();
|
|
@@ -20064,7 +20078,7 @@ function J4(t, e = {}) {
|
|
|
20064
20078
|
load: h,
|
|
20065
20079
|
invalidate: p,
|
|
20066
20080
|
query: d,
|
|
20067
|
-
search:
|
|
20081
|
+
search: y
|
|
20068
20082
|
};
|
|
20069
20083
|
}
|
|
20070
20084
|
function K4(t = Ht.Get()) {
|
|
@@ -20137,12 +20151,12 @@ function n3(t = {}) {
|
|
|
20137
20151
|
},
|
|
20138
20152
|
{ immediate: !0 }
|
|
20139
20153
|
);
|
|
20140
|
-
let
|
|
20154
|
+
let y;
|
|
20141
20155
|
const k = () => {
|
|
20142
|
-
p.value = ml(window.innerWidth, (
|
|
20156
|
+
p.value = ml(window.innerWidth, (y == null ? void 0 : y.matches) ?? !1);
|
|
20143
20157
|
};
|
|
20144
|
-
o && typeof window < "u" && (
|
|
20145
|
-
window.removeEventListener("resize", k),
|
|
20158
|
+
o && typeof window < "u" && (y = window.matchMedia("(pointer: coarse)"), window.addEventListener("resize", k, { passive: !0 }), y.addEventListener("change", k), Pl() && Rl(() => {
|
|
20159
|
+
window.removeEventListener("resize", k), y == null || y.removeEventListener("change", k);
|
|
20146
20160
|
}));
|
|
20147
20161
|
const P = O(d.value === "dark");
|
|
20148
20162
|
return Ae(d, (E) => {
|