sprof 1.23.1 → 1.23.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sprof.js +553 -546
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/sprof.js
CHANGED
|
@@ -2,7 +2,7 @@ var Ic = Object.defineProperty;
|
|
|
2
2
|
var Mc = (t, e, n) => e in t ? Ic(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var u = (t, e, n) => Mc(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
4
|
import { Notify as aa, Dialog as ra, QBtn as yn, QItemLabel as Ns, QTooltip as Pr, QInput as rs, QMenu as Ra, QList as Oi, QItem as qn, QItemSection as mn, QIcon as re, QSeparator as Zi, QDialog as Ac, QCard as Zt, QCardSection as kt, QCardActions as ti, ClosePopup as Yn, QSpace as Un, QSlideTransition as Ec, QCheckbox as Fc, QPopupProxy as ki, QDate as eo, date as Zn, QSelect as Oc, QToggle as bl, QRadio as Dc, QUploader as _c, QUploaderAddTrigger as zc, QImg as Lc, QSpinner as wl, QBadge as Sl, QTime as Cl, QTabs as kl, QTab as xl, QTd as Sn, QScrollArea as Vc, QSpinnerDots as Uc, QTable as Bc, QTr as Rr, QInnerLoading as qc, QTh as Ir, QTabPanels as $l, QTabPanel as Tl, QSplitter as Nc, QChip as Hc, QForm as jc, QCarousel as Gc, QCarouselSlide as Wc, Ripple as Yc, Quasar as Qc } from "quasar";
|
|
5
|
-
import { reactive as ht, ref as F, openBlock as m, createElementBlock as w, createElementVNode as y, onBeforeMount as Cn, computed as z, defineComponent as Y, useAttrs as rn, createBlock as
|
|
5
|
+
import { reactive as ht, ref as F, openBlock as m, createElementBlock as w, createElementVNode as y, onBeforeMount as Cn, computed as z, defineComponent as Y, useAttrs as rn, createBlock as _, unref as c, mergeProps as at, withCtx as k, renderSlot as H, createTextVNode as ye, toDisplayString as V, normalizeClass as ve, createVNode as g, normalizeStyle as K, useModel as vt, createSlots as di, mergeModels as De, resolveDirective as Ia, withDirectives as Ze, Fragment as Z, createCommentVNode as j, watch as Me, isRef as Pe, TransitionGroup as Pl, renderList as be, withModifiers as Ye, vShow as to, inject as Xc, getCurrentInstance as Jc, provide as Zc, normalizeProps as Ds, guardReactiveProps as _s, nextTick as Ki, resolveComponent as $e, resolveDynamicComponent as In, onMounted as ci, onBeforeUnmount as ls, withKeys as Hs, mergeDefaults as Kc, markRaw as ef, useCssVars as Rl, createStaticVNode as Il, onUpdated as tf, useTemplateRef as nf, onUnmounted as sf, defineAsyncComponent as of, getCurrentScope as Ml, onScopeDispose as Al } from "vue";
|
|
6
6
|
import { onBeforeRouteLeave as af, useRouter as rf } 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 || {});
|
|
@@ -714,12 +714,12 @@ var Fr;
|
|
|
714
714
|
return G;
|
|
715
715
|
}
|
|
716
716
|
e("metadata", S);
|
|
717
|
-
function
|
|
717
|
+
function D(O, B, G, ne) {
|
|
718
718
|
if (!We(G))
|
|
719
719
|
throw new TypeError();
|
|
720
720
|
return oe(ne) || (ne = Oe(ne)), yt(O, B, G, ne);
|
|
721
721
|
}
|
|
722
|
-
e("defineMetadata",
|
|
722
|
+
e("defineMetadata", D);
|
|
723
723
|
function x(O, B, G) {
|
|
724
724
|
if (!We(B))
|
|
725
725
|
throw new TypeError();
|
|
@@ -3115,14 +3115,14 @@ function uo(t, e, n) {
|
|
|
3115
3115
|
});
|
|
3116
3116
|
}
|
|
3117
3117
|
function $(T, P, S) {
|
|
3118
|
-
let
|
|
3118
|
+
let D = T;
|
|
3119
3119
|
if (E.isReactNative(e) && E.isReactNativeBlob(T))
|
|
3120
3120
|
return e.append(Ho(S, P, o), h(T)), !1;
|
|
3121
3121
|
if (T && !S && typeof T == "object") {
|
|
3122
3122
|
if (E.endsWith(P, "{}"))
|
|
3123
3123
|
P = i ? P : P.slice(0, -2), T = b(T, 1);
|
|
3124
|
-
else if (E.isArray(T) && Gh(T) || (E.isFileList(T) || E.endsWith(P, "[]")) && (
|
|
3125
|
-
return P = Jl(P),
|
|
3124
|
+
else if (E.isArray(T) && Gh(T) || (E.isFileList(T) || E.endsWith(P, "[]")) && (D = E.toArray(T)))
|
|
3125
|
+
return P = Jl(P), D.forEach(function(U, A) {
|
|
3126
3126
|
!(E.isUndefined(U) || U === null) && e.append(
|
|
3127
3127
|
// eslint-disable-next-line no-nested-ternary
|
|
3128
3128
|
a === !0 ? Ho([P], A, o) : a === null ? P : P + "[]",
|
|
@@ -3742,22 +3742,22 @@ const Sm = typeof XMLHttpRequest < "u", Cm = Sm && function(t) {
|
|
|
3742
3742
|
!M || M.readyState !== 4 || M.status === 0 && !(M.responseURL && M.responseURL.startsWith("file:")) || setTimeout(T);
|
|
3743
3743
|
}, M.onabort = function() {
|
|
3744
3744
|
M && (i(new se("Request aborted", se.ECONNABORTED, t, M)), R(), M = null);
|
|
3745
|
-
}, M.onerror = function(
|
|
3746
|
-
const x =
|
|
3747
|
-
U.event =
|
|
3745
|
+
}, M.onerror = function(D) {
|
|
3746
|
+
const x = D && D.message ? D.message : "Network Error", U = new se(x, se.ERR_NETWORK, t, M);
|
|
3747
|
+
U.event = D || null, i(U), R(), M = null;
|
|
3748
3748
|
}, M.ontimeout = function() {
|
|
3749
|
-
let
|
|
3749
|
+
let D = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
|
|
3750
3750
|
const x = s.transitional || _a;
|
|
3751
|
-
s.timeoutErrorMessage && (
|
|
3751
|
+
s.timeoutErrorMessage && (D = s.timeoutErrorMessage), i(
|
|
3752
3752
|
new se(
|
|
3753
|
-
|
|
3753
|
+
D,
|
|
3754
3754
|
x.clarifyTimeoutError ? se.ETIMEDOUT : se.ECONNABORTED,
|
|
3755
3755
|
t,
|
|
3756
3756
|
M
|
|
3757
3757
|
)
|
|
3758
3758
|
), R(), M = null;
|
|
3759
|
-
}, o === void 0 && a.setContentType(null), "setRequestHeader" in M && E.forEach(Yl(a), function(
|
|
3760
|
-
M.setRequestHeader(x,
|
|
3759
|
+
}, o === void 0 && a.setContentType(null), "setRequestHeader" in M && E.forEach(Yl(a), function(D, x) {
|
|
3760
|
+
M.setRequestHeader(x, D);
|
|
3761
3761
|
}), E.isUndefined(s.withCredentials) || (M.withCredentials = !!s.withCredentials), l && l !== "json" && (M.responseType = s.responseType), d && ([p, $] = Ys(d, !0), M.addEventListener("progress", p)), r && M.upload && ([h, b] = Ys(r), M.upload.addEventListener("progress", h), M.upload.addEventListener("loadend", b)), (s.cancelToken || s.signal) && (f = (S) => {
|
|
3762
3762
|
M && (i(!S || S.type ? new ms(null, t, M) : S), M.abort(), R(), M = null);
|
|
3763
3763
|
}, s.cancelToken && s.cancelToken.subscribe(f), s.signal && (s.signal.aborted ? f() : s.signal.addEventListener("abort", f)));
|
|
@@ -3949,9 +3949,9 @@ const La = "1.18.1", Wr = 64 * 1024, { isFunction: Rs } = E, Im = (t) => encodeU
|
|
|
3949
3949
|
};
|
|
3950
3950
|
l && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((T) => {
|
|
3951
3951
|
!$[T] && ($[T] = (P, S) => {
|
|
3952
|
-
let
|
|
3953
|
-
if (
|
|
3954
|
-
return
|
|
3952
|
+
let D = P && P[T];
|
|
3953
|
+
if (D)
|
|
3954
|
+
return D.call(P);
|
|
3955
3955
|
throw new se(
|
|
3956
3956
|
`Response type '${T}' is not supported`,
|
|
3957
3957
|
se.ERR_NOT_SUPPORT,
|
|
@@ -3981,7 +3981,7 @@ const La = "1.18.1", Wr = 64 * 1024, { isFunction: Rs } = E, Im = (t) => encodeU
|
|
|
3981
3981
|
let {
|
|
3982
3982
|
url: P,
|
|
3983
3983
|
method: S,
|
|
3984
|
-
data:
|
|
3984
|
+
data: D,
|
|
3985
3985
|
signal: x,
|
|
3986
3986
|
cancelToken: U,
|
|
3987
3987
|
timeout: A,
|
|
@@ -4043,11 +4043,11 @@ const La = "1.18.1", Wr = 64 * 1024, { isFunction: Rs } = E, Im = (t) => encodeU
|
|
|
4043
4043
|
Ue
|
|
4044
4044
|
);
|
|
4045
4045
|
if (Lt && S !== "get" && S !== "head") {
|
|
4046
|
-
const Ce = await R(
|
|
4046
|
+
const Ce = await R(D);
|
|
4047
4047
|
if (typeof Ce == "number" && isFinite(Ce) && (ut = Ce, Ce > rt))
|
|
4048
4048
|
throw We();
|
|
4049
4049
|
}
|
|
4050
|
-
const Fe = Lt && (E.isReadableStream(
|
|
4050
|
+
const Fe = Lt && (E.isReadableStream(D) || E.isStream(D)), me = (Ce, dt, Vt) => Gr(
|
|
4051
4051
|
Ce,
|
|
4052
4052
|
Wr,
|
|
4053
4053
|
(Gt) => {
|
|
@@ -4058,22 +4058,22 @@ const La = "1.18.1", Wr = 64 * 1024, { isFunction: Rs } = E, Im = (t) => encodeU
|
|
|
4058
4058
|
Vt
|
|
4059
4059
|
);
|
|
4060
4060
|
if (p && S !== "get" && S !== "head" && (q || Fe)) {
|
|
4061
|
-
if (ut = ut ?? await M(Se,
|
|
4061
|
+
if (ut = ut ?? await M(Se, D), ut !== 0 || Fe) {
|
|
4062
4062
|
let Ce = new o(P, {
|
|
4063
4063
|
method: "POST",
|
|
4064
|
-
body:
|
|
4064
|
+
body: D,
|
|
4065
4065
|
duplex: "half"
|
|
4066
4066
|
}), dt;
|
|
4067
|
-
if (E.isFormData(
|
|
4067
|
+
if (E.isFormData(D) && (dt = Ce.headers.get("content-type")) && Se.setContentType(dt), Ce.body) {
|
|
4068
4068
|
const [Vt, Gt] = q && qr(
|
|
4069
4069
|
ut,
|
|
4070
4070
|
Ys(Nr(q))
|
|
4071
4071
|
) || [];
|
|
4072
|
-
|
|
4072
|
+
D = me(Ce.body, Vt, Gt);
|
|
4073
4073
|
}
|
|
4074
4074
|
}
|
|
4075
4075
|
} else if (Fe && !r && f && S !== "get" && S !== "head")
|
|
4076
|
-
|
|
4076
|
+
D = me(D);
|
|
4077
4077
|
else if (Fe && r && !p && S !== "get" && S !== "head")
|
|
4078
4078
|
throw new se(
|
|
4079
4079
|
"Stream request bodies are not supported by the current fetch implementation",
|
|
@@ -4083,7 +4083,7 @@ const La = "1.18.1", Wr = 64 * 1024, { isFunction: Rs } = E, Im = (t) => encodeU
|
|
|
4083
4083
|
);
|
|
4084
4084
|
E.isString(Ke) || (Ke = Ke ? "include" : "omit");
|
|
4085
4085
|
const Oe = r && "credentials" in o.prototype;
|
|
4086
|
-
if (E.isFormData(
|
|
4086
|
+
if (E.isFormData(D)) {
|
|
4087
4087
|
const Ce = Se.getContentType();
|
|
4088
4088
|
Ce && /^multipart\/form-data/i.test(Ce) && !/boundary=/i.test(Ce) && Se.delete("content-type");
|
|
4089
4089
|
}
|
|
@@ -4093,7 +4093,7 @@ const La = "1.18.1", Wr = 64 * 1024, { isFunction: Rs } = E, Im = (t) => encodeU
|
|
|
4093
4093
|
signal: Dt,
|
|
4094
4094
|
method: S.toUpperCase(),
|
|
4095
4095
|
headers: Yl(Se.normalize()),
|
|
4096
|
-
body:
|
|
4096
|
+
body: D,
|
|
4097
4097
|
duplex: "half",
|
|
4098
4098
|
credentials: Oe ? Ke : void 0
|
|
4099
4099
|
};
|
|
@@ -4684,23 +4684,23 @@ it.getAdapter = ru.getAdapter;
|
|
|
4684
4684
|
it.HttpStatusCode = pa;
|
|
4685
4685
|
it.default = it;
|
|
4686
4686
|
const {
|
|
4687
|
-
Axios:
|
|
4688
|
-
AxiosError:
|
|
4689
|
-
CanceledError:
|
|
4690
|
-
isCancel:
|
|
4691
|
-
CancelToken:
|
|
4692
|
-
VERSION:
|
|
4693
|
-
all:
|
|
4694
|
-
Cancel:
|
|
4695
|
-
isAxiosError:
|
|
4696
|
-
spread:
|
|
4697
|
-
toFormData:
|
|
4698
|
-
AxiosHeaders:
|
|
4699
|
-
HttpStatusCode:
|
|
4700
|
-
formToJSON:
|
|
4701
|
-
getAdapter:
|
|
4702
|
-
mergeConfig:
|
|
4703
|
-
create:
|
|
4687
|
+
Axios: qC,
|
|
4688
|
+
AxiosError: NC,
|
|
4689
|
+
CanceledError: HC,
|
|
4690
|
+
isCancel: jC,
|
|
4691
|
+
CancelToken: GC,
|
|
4692
|
+
VERSION: WC,
|
|
4693
|
+
all: YC,
|
|
4694
|
+
Cancel: QC,
|
|
4695
|
+
isAxiosError: XC,
|
|
4696
|
+
spread: JC,
|
|
4697
|
+
toFormData: ZC,
|
|
4698
|
+
AxiosHeaders: KC,
|
|
4699
|
+
HttpStatusCode: e3,
|
|
4700
|
+
formToJSON: t3,
|
|
4701
|
+
getAdapter: n3,
|
|
4702
|
+
mergeConfig: i3,
|
|
4703
|
+
create: s3
|
|
4704
4704
|
} = it;
|
|
4705
4705
|
var Gi = /* @__PURE__ */ ((t) => (t.GET = "get", t.POST = "post", t.PUT = "put", t.DELETE = "delete", t))(Gi || {});
|
|
4706
4706
|
const ss = /* @__PURE__ */ (() => {
|
|
@@ -6668,7 +6668,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
6668
6668
|
), M = z(
|
|
6669
6669
|
() => n.unelevated !== void 0 ? n.unelevated : e.skin === "base"
|
|
6670
6670
|
), T = z(() => n.disable ?? e.disabled);
|
|
6671
|
-
return (P, S) => (m(),
|
|
6671
|
+
return (P, S) => (m(), _(c(yn), at(c(i), {
|
|
6672
6672
|
style: c(r),
|
|
6673
6673
|
color: c(f),
|
|
6674
6674
|
size: c(b),
|
|
@@ -6788,7 +6788,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
6788
6788
|
]),
|
|
6789
6789
|
_: 1
|
|
6790
6790
|
}, 8, ["delay", "anchor", "self", "style"])
|
|
6791
|
-
], 16)) : (m(),
|
|
6791
|
+
], 16)) : (m(), _(c(Pr), at({ key: 1 }, c(i), {
|
|
6792
6792
|
delay: t.timeout,
|
|
6793
6793
|
class: "tooltip-box"
|
|
6794
6794
|
}), {
|
|
@@ -6886,11 +6886,11 @@ const le = /* @__PURE__ */ Y({
|
|
|
6886
6886
|
e({ focus: b, blur: $, select: R, getNativeElement: M, validate: T, resetValidation: P });
|
|
6887
6887
|
const S = () => {
|
|
6888
6888
|
i("input", s.value);
|
|
6889
|
-
},
|
|
6889
|
+
}, D = z(() => {
|
|
6890
6890
|
const x = {};
|
|
6891
6891
|
return r.margin && (x.margin = r.margin), r.padding && (x.padding = r.padding), r.width && (x.width = r.width), r.borderColor && (x["--p-border-color"] = r.borderColor), x;
|
|
6892
6892
|
});
|
|
6893
|
-
return (x, U) => (m(),
|
|
6893
|
+
return (x, U) => (m(), _(c(rs), at({
|
|
6894
6894
|
ref_key: "input",
|
|
6895
6895
|
ref: p,
|
|
6896
6896
|
modelValue: s.value,
|
|
@@ -6905,7 +6905,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
6905
6905
|
"error-message": t.errorMessage,
|
|
6906
6906
|
"hide-bottom-space": !t.error && !t.errorMessage && !c(d),
|
|
6907
6907
|
"input-style": { color: t.color || void 0 },
|
|
6908
|
-
style: c(
|
|
6908
|
+
style: c(D),
|
|
6909
6909
|
class: ["p-input", c(f)],
|
|
6910
6910
|
outlined: "",
|
|
6911
6911
|
dense: "",
|
|
@@ -7006,7 +7006,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7006
7006
|
default: k(() => [
|
|
7007
7007
|
g(c(Oi), { dense: "" }, {
|
|
7008
7008
|
default: k(() => [
|
|
7009
|
-
Ze((m(),
|
|
7009
|
+
Ze((m(), _(c(qn), {
|
|
7010
7010
|
clickable: "",
|
|
7011
7011
|
onClick: s[0] || (s[0] = (a) => n("copy"))
|
|
7012
7012
|
}, {
|
|
@@ -7031,7 +7031,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7031
7031
|
})), [
|
|
7032
7032
|
[o]
|
|
7033
7033
|
]),
|
|
7034
|
-
Ze((m(),
|
|
7034
|
+
Ze((m(), _(c(qn), {
|
|
7035
7035
|
clickable: "",
|
|
7036
7036
|
onClick: s[1] || (s[1] = (a) => n("edit"))
|
|
7037
7037
|
}, {
|
|
@@ -7058,7 +7058,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7058
7058
|
]),
|
|
7059
7059
|
t.canRemove ? (m(), w(Z, { key: 0 }, [
|
|
7060
7060
|
g(c(Zi)),
|
|
7061
|
-
Ze((m(),
|
|
7061
|
+
Ze((m(), _(c(qn), {
|
|
7062
7062
|
clickable: "",
|
|
7063
7063
|
onClick: s[2] || (s[2] = (a) => n("remove"))
|
|
7064
7064
|
}, {
|
|
@@ -7127,7 +7127,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7127
7127
|
["modelValue", "persistent", "maximized", "transition-show", "transition-hide", "onUpdate:modelValue"].includes(b) || (p[b] = f[b]);
|
|
7128
7128
|
return p;
|
|
7129
7129
|
});
|
|
7130
|
-
return (p, b) => (m(),
|
|
7130
|
+
return (p, b) => (m(), _(c(Ac), at({
|
|
7131
7131
|
modelValue: c(o),
|
|
7132
7132
|
"onUpdate:modelValue": b[0] || (b[0] = ($) => Pe(o) ? o.value = $ : null)
|
|
7133
7133
|
}, c(h), {
|
|
@@ -7185,7 +7185,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7185
7185
|
emits: /* @__PURE__ */ De(["confirm"], ["update:modelValue"]),
|
|
7186
7186
|
setup(t) {
|
|
7187
7187
|
const e = Yn, n = vt(t, "modelValue");
|
|
7188
|
-
return (i, s) => (m(),
|
|
7188
|
+
return (i, s) => (m(), _(an, {
|
|
7189
7189
|
modelValue: n.value,
|
|
7190
7190
|
"onUpdate:modelValue": s[1] || (s[1] = (o) => n.value = o),
|
|
7191
7191
|
persistent: ""
|
|
@@ -7248,7 +7248,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7248
7248
|
emits: /* @__PURE__ */ De(["save"], ["update:modelValue"]),
|
|
7249
7249
|
setup(t) {
|
|
7250
7250
|
const e = Yn, n = vt(t, "modelValue");
|
|
7251
|
-
return (i, s) => (m(),
|
|
7251
|
+
return (i, s) => (m(), _(an, {
|
|
7252
7252
|
modelValue: n.value,
|
|
7253
7253
|
"onUpdate:modelValue": s[1] || (s[1] = (o) => n.value = o),
|
|
7254
7254
|
persistent: ""
|
|
@@ -7372,7 +7372,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7372
7372
|
}
|
|
7373
7373
|
}, S = (x) => {
|
|
7374
7374
|
$.value = x, b.value = !0;
|
|
7375
|
-
},
|
|
7375
|
+
}, D = async () => {
|
|
7376
7376
|
var x, U;
|
|
7377
7377
|
p.value = !0;
|
|
7378
7378
|
try {
|
|
@@ -7402,7 +7402,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7402
7402
|
onClick: P
|
|
7403
7403
|
}, null, 8, ["loading"])
|
|
7404
7404
|
]),
|
|
7405
|
-
c(s).length > 0 ? (m(),
|
|
7405
|
+
c(s).length > 0 ? (m(), _(Pl, {
|
|
7406
7406
|
key: 0,
|
|
7407
7407
|
name: "list",
|
|
7408
7408
|
tag: "div",
|
|
@@ -7461,7 +7461,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7461
7461
|
onSave: T
|
|
7462
7462
|
}, {
|
|
7463
7463
|
default: k(() => [
|
|
7464
|
-
c(l) ? (m(),
|
|
7464
|
+
c(l) ? (m(), _(Ne, {
|
|
7465
7465
|
key: 0,
|
|
7466
7466
|
modelValue: c(r),
|
|
7467
7467
|
"onUpdate:modelValue": U[0] || (U[0] = (A) => Pe(r) ? r.value = A : null),
|
|
@@ -7486,7 +7486,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7486
7486
|
]),
|
|
7487
7487
|
_: 1
|
|
7488
7488
|
}, 8, ["modelValue", "rules"])) : j("", !0),
|
|
7489
|
-
c(l) ? (m(),
|
|
7489
|
+
c(l) ? (m(), _(Ne, {
|
|
7490
7490
|
key: 1,
|
|
7491
7491
|
modelValue: c(d),
|
|
7492
7492
|
"onUpdate:modelValue": U[1] || (U[1] = (A) => Pe(d) ? d.value = A : null),
|
|
@@ -7512,7 +7512,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7512
7512
|
title: "Удалить email адрес?",
|
|
7513
7513
|
subtitle: "Это действие нельзя отменить.",
|
|
7514
7514
|
loading: c(p),
|
|
7515
|
-
onConfirm:
|
|
7515
|
+
onConfirm: D
|
|
7516
7516
|
}, null, 8, ["modelValue", "loading"])
|
|
7517
7517
|
]));
|
|
7518
7518
|
}
|
|
@@ -7570,7 +7570,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7570
7570
|
} finally {
|
|
7571
7571
|
p.value = !1;
|
|
7572
7572
|
}
|
|
7573
|
-
},
|
|
7573
|
+
}, D = (U) => {
|
|
7574
7574
|
R.value = U, $.value = !0;
|
|
7575
7575
|
}, x = async () => {
|
|
7576
7576
|
var U, A;
|
|
@@ -7602,7 +7602,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7602
7602
|
onClick: S
|
|
7603
7603
|
}, null, 8, ["loading"])
|
|
7604
7604
|
]),
|
|
7605
|
-
c(s).length > 0 ? (m(),
|
|
7605
|
+
c(s).length > 0 ? (m(), _(Pl, {
|
|
7606
7606
|
key: 0,
|
|
7607
7607
|
name: "list",
|
|
7608
7608
|
tag: "div",
|
|
@@ -7627,7 +7627,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7627
7627
|
"can-remove": q >= c(i),
|
|
7628
7628
|
onCopy: (lt) => M(t.adapter.phoneNumber(L)),
|
|
7629
7629
|
onEdit: (lt) => T(q),
|
|
7630
|
-
onRemove: (lt) =>
|
|
7630
|
+
onRemove: (lt) => D(q)
|
|
7631
7631
|
}, null, 8, ["can-remove", "onCopy", "onEdit", "onRemove"])
|
|
7632
7632
|
], 2);
|
|
7633
7633
|
}), 128))
|
|
@@ -7661,7 +7661,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7661
7661
|
onSave: P
|
|
7662
7662
|
}, {
|
|
7663
7663
|
default: k(() => [
|
|
7664
|
-
c(l) ? (m(),
|
|
7664
|
+
c(l) ? (m(), _(Ne, {
|
|
7665
7665
|
key: 0,
|
|
7666
7666
|
modelValue: c(d),
|
|
7667
7667
|
"onUpdate:modelValue": A[0] || (A[0] = (L) => Pe(d) ? d.value = L : null),
|
|
@@ -7683,7 +7683,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7683
7683
|
]),
|
|
7684
7684
|
_: 1
|
|
7685
7685
|
}, 8, ["modelValue", "mask", "rules"])) : j("", !0),
|
|
7686
|
-
c(l) && c(a) >= c(i) ? (m(),
|
|
7686
|
+
c(l) && c(a) >= c(i) ? (m(), _(Ne, {
|
|
7687
7687
|
key: 1,
|
|
7688
7688
|
modelValue: c(f),
|
|
7689
7689
|
"onUpdate:modelValue": A[1] || (A[1] = (L) => Pe(f) ? f.value = L : null),
|
|
@@ -7734,7 +7734,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7734
7734
|
const d = o.value;
|
|
7735
7735
|
d && (await navigator.clipboard.writeText(d), W.UI.Notify.Success(n.value.copied));
|
|
7736
7736
|
};
|
|
7737
|
-
return (d, f) => (m(),
|
|
7737
|
+
return (d, f) => (m(), _(c(Zt), {
|
|
7738
7738
|
flat: "",
|
|
7739
7739
|
bordered: "",
|
|
7740
7740
|
class: "contact-form-card",
|
|
@@ -7763,7 +7763,7 @@ const le = /* @__PURE__ */ Y({
|
|
|
7763
7763
|
onClick: f[0] || (f[0] = Ye(() => {
|
|
7764
7764
|
}, ["stop"]))
|
|
7765
7765
|
}, [
|
|
7766
|
-
c(o) ? (m(),
|
|
7766
|
+
c(o) ? (m(), _(le, {
|
|
7767
7767
|
key: 0,
|
|
7768
7768
|
flat: "",
|
|
7769
7769
|
dense: "",
|
|
@@ -7967,7 +7967,7 @@ const lv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7967
7967
|
function dv() {
|
|
7968
7968
|
return jt.create();
|
|
7969
7969
|
}
|
|
7970
|
-
function
|
|
7970
|
+
function y3(t) {
|
|
7971
7971
|
const e = t ?? dv();
|
|
7972
7972
|
return Jc() ? Zc(Fu, e) : cv() && console.warn(
|
|
7973
7973
|
"[sprof] providePageFTSP вызван вне setup() — экземпляр создан, но НЕ опубликован в дереве. Для сервисов/хелперов используйте createPageFTSP()."
|
|
@@ -7980,7 +7980,7 @@ function cv() {
|
|
|
7980
7980
|
function kn() {
|
|
7981
7981
|
return Xc(Fu, null) ?? jt.Get();
|
|
7982
7982
|
}
|
|
7983
|
-
function
|
|
7983
|
+
function b3() {
|
|
7984
7984
|
return z(() => kn());
|
|
7985
7985
|
}
|
|
7986
7986
|
const Ou = /* @__PURE__ */ Y({
|
|
@@ -7999,7 +7999,7 @@ const Ou = /* @__PURE__ */ Y({
|
|
|
7999
7999
|
const l = (r) => {
|
|
8000
8000
|
o.value = !!r, n.model.setBoolean(!!r), r ? s.setF(n.model) : s.removeF(n.model), i("load");
|
|
8001
8001
|
};
|
|
8002
|
-
return (r, d) => (m(),
|
|
8002
|
+
return (r, d) => (m(), _(os, at(r.$attrs, {
|
|
8003
8003
|
"model-value": c(o),
|
|
8004
8004
|
label: t.model.label,
|
|
8005
8005
|
size: "mini",
|
|
@@ -8068,7 +8068,7 @@ const Ou = /* @__PURE__ */ Y({
|
|
|
8068
8068
|
};
|
|
8069
8069
|
return (h, p) => {
|
|
8070
8070
|
const b = Ia("close-popup");
|
|
8071
|
-
return m(),
|
|
8071
|
+
return m(), _(Ne, {
|
|
8072
8072
|
"model-value": c(r),
|
|
8073
8073
|
label: t.label,
|
|
8074
8074
|
clearable: "",
|
|
@@ -8164,7 +8164,7 @@ const Ou = /* @__PURE__ */ Y({
|
|
|
8164
8164
|
return e({ focus: () => {
|
|
8165
8165
|
var h, p;
|
|
8166
8166
|
return (p = (h = a.value) == null ? void 0 : h.focus) == null ? void 0 : p.call(h);
|
|
8167
|
-
} }), (h, p) => (m(),
|
|
8167
|
+
} }), (h, p) => (m(), _(Ne, {
|
|
8168
8168
|
ref_key: "inputRef",
|
|
8169
8169
|
ref: a,
|
|
8170
8170
|
"model-value": c(r),
|
|
@@ -8221,7 +8221,7 @@ const Ou = /* @__PURE__ */ Y({
|
|
|
8221
8221
|
f.value1 = "";
|
|
8222
8222
|
}), r();
|
|
8223
8223
|
};
|
|
8224
|
-
return (f, h) => (m(),
|
|
8224
|
+
return (f, h) => (m(), _(Ne, {
|
|
8225
8225
|
"model-value": a.value,
|
|
8226
8226
|
debounce: t.debounce,
|
|
8227
8227
|
placeholder: t.placeholder,
|
|
@@ -8330,11 +8330,11 @@ const Ou = /* @__PURE__ */ Y({
|
|
|
8330
8330
|
s("change", x);
|
|
8331
8331
|
}, S = () => {
|
|
8332
8332
|
s("clear", void 0);
|
|
8333
|
-
},
|
|
8333
|
+
}, D = z(() => {
|
|
8334
8334
|
const x = {};
|
|
8335
8335
|
return R.margin && (x.margin = R.margin), R.padding && (x.padding = R.padding), R.width && (x.width = R.width), R.inPadding && (x.padding = R.inPadding), x;
|
|
8336
8336
|
});
|
|
8337
|
-
return (x, U) => (m(),
|
|
8337
|
+
return (x, U) => (m(), _(c(Oc), at({
|
|
8338
8338
|
ref_key: "selectRef",
|
|
8339
8339
|
ref: o,
|
|
8340
8340
|
modelValue: i.value,
|
|
@@ -8353,7 +8353,7 @@ const Ou = /* @__PURE__ */ Y({
|
|
|
8353
8353
|
"option-value": t.optionValue,
|
|
8354
8354
|
"option-label": t.optionLabel,
|
|
8355
8355
|
"input-style": { color: t.color || void 0 },
|
|
8356
|
-
style: c(
|
|
8356
|
+
style: c(D),
|
|
8357
8357
|
class: ["p-select", c(T)],
|
|
8358
8358
|
outlined: "",
|
|
8359
8359
|
dense: "",
|
|
@@ -8500,7 +8500,7 @@ const Ou = /* @__PURE__ */ Y({
|
|
|
8500
8500
|
}, d = (f) => {
|
|
8501
8501
|
f ? (a.value && a.value.value !== f.value && s.removeF(a.value.value), a.value = f, s.setF(f.value)) : (a.value && s.removeF(a.value.value), a.value = void 0), i("load");
|
|
8502
8502
|
};
|
|
8503
|
-
return (f, h) => (m(),
|
|
8503
|
+
return (f, h) => (m(), _(Nt, at(f.$attrs, {
|
|
8504
8504
|
"use-input": "",
|
|
8505
8505
|
options: c(o),
|
|
8506
8506
|
"model-value": c(a),
|
|
@@ -8549,7 +8549,7 @@ const Ou = /* @__PURE__ */ Y({
|
|
|
8549
8549
|
}
|
|
8550
8550
|
i("load");
|
|
8551
8551
|
};
|
|
8552
|
-
return (h, p) => (m(),
|
|
8552
|
+
return (h, p) => (m(), _(Nt, {
|
|
8553
8553
|
modelValue: c(r),
|
|
8554
8554
|
"onUpdate:modelValue": [
|
|
8555
8555
|
p[0] || (p[0] = (b) => Pe(r) ? r.value = b : null),
|
|
@@ -8621,7 +8621,7 @@ const Ou = /* @__PURE__ */ Y({
|
|
|
8621
8621
|
const r = (d) => {
|
|
8622
8622
|
o.value = d, s.removeF(n.model), typeof d == "boolean" && (n.model.setBoolean(d), s.setF(n.model)), i("load");
|
|
8623
8623
|
};
|
|
8624
|
-
return (d, f) => (m(),
|
|
8624
|
+
return (d, f) => (m(), _(po, at(d.$attrs, {
|
|
8625
8625
|
"model-value": c(a),
|
|
8626
8626
|
size: "xs",
|
|
8627
8627
|
"checked-icon": "check",
|
|
@@ -8721,8 +8721,8 @@ const xv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8721
8721
|
}), b = F(!1);
|
|
8722
8722
|
Me(o, (S) => {
|
|
8723
8723
|
r(S);
|
|
8724
|
-
const
|
|
8725
|
-
|
|
8724
|
+
const D = d(S);
|
|
8725
|
+
D !== h.value && (b.value = !0, h.value = D, b.value = !1);
|
|
8726
8726
|
});
|
|
8727
8727
|
const $ = (S) => {
|
|
8728
8728
|
if (!S) {
|
|
@@ -8730,15 +8730,15 @@ const xv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8730
8730
|
o.value = A, s("input", A);
|
|
8731
8731
|
return;
|
|
8732
8732
|
}
|
|
8733
|
-
const
|
|
8734
|
-
if (!/^\d{2}\.\d{2}\.\d{4}$/.test(
|
|
8735
|
-
const x = f(
|
|
8733
|
+
const D = S instanceof Date ? At.ToRu(S) : String(S);
|
|
8734
|
+
if (!/^\d{2}\.\d{2}\.\d{4}$/.test(D)) return;
|
|
8735
|
+
const x = f(D);
|
|
8736
8736
|
if (!x) return;
|
|
8737
8737
|
if (l.value === "date") {
|
|
8738
8738
|
o.value = x, s("input", x);
|
|
8739
8739
|
return;
|
|
8740
8740
|
}
|
|
8741
|
-
const U = At.RuToIso(
|
|
8741
|
+
const U = At.RuToIso(D);
|
|
8742
8742
|
U && (o.value = U, s("input", U));
|
|
8743
8743
|
};
|
|
8744
8744
|
Me(h, (S) => {
|
|
@@ -8762,10 +8762,10 @@ const xv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8762
8762
|
format24h: !0,
|
|
8763
8763
|
pluralDay: "дни"
|
|
8764
8764
|
};
|
|
8765
|
-
return (S,
|
|
8765
|
+
return (S, D) => (m(), _(Ne, {
|
|
8766
8766
|
modelValue: c(h),
|
|
8767
8767
|
"onUpdate:modelValue": [
|
|
8768
|
-
|
|
8768
|
+
D[1] || (D[1] = (x) => Pe(h) ? h.value = x : null),
|
|
8769
8769
|
R
|
|
8770
8770
|
],
|
|
8771
8771
|
class: "fit",
|
|
@@ -8802,7 +8802,7 @@ const xv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8802
8802
|
g(c(eo), {
|
|
8803
8803
|
modelValue: c(h),
|
|
8804
8804
|
"onUpdate:modelValue": [
|
|
8805
|
-
|
|
8805
|
+
D[0] || (D[0] = (x) => Pe(h) ? h.value = x : null),
|
|
8806
8806
|
T
|
|
8807
8807
|
],
|
|
8808
8808
|
mask: nl,
|
|
@@ -8954,8 +8954,8 @@ const xv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8954
8954
|
d.value = $(x), p.value = $(x).toFixed(l()), U.forEach((A) => n(A, d.value));
|
|
8955
8955
|
}, M = (x, ...U) => {
|
|
8956
8956
|
a.disabled || x > a.max || x < a.min || R(x, ...U);
|
|
8957
|
-
}, T = () => M(+p.value + a.step, "change"), P = () => M(+p.value - a.step, "change"), S = (x) => M(Number(x), "input"),
|
|
8958
|
-
return (x, U) => (m(),
|
|
8957
|
+
}, T = () => M(+p.value + a.step, "change"), P = () => M(+p.value - a.step, "change"), S = (x) => M(Number(x), "input"), D = () => M(+p.value, "change", "blur");
|
|
8958
|
+
return (x, U) => (m(), _(c(rs), at(c(o), {
|
|
8959
8959
|
for: c(s),
|
|
8960
8960
|
"model-value": c(p),
|
|
8961
8961
|
label: t.label || void 0,
|
|
@@ -8969,7 +8969,7 @@ const xv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8969
8969
|
dense: "",
|
|
8970
8970
|
"hide-bottom-space": "",
|
|
8971
8971
|
"onUpdate:modelValue": S,
|
|
8972
|
-
onBlur:
|
|
8972
|
+
onBlur: D
|
|
8973
8973
|
}), {
|
|
8974
8974
|
before: k(() => [
|
|
8975
8975
|
g(c(yn), {
|
|
@@ -9074,7 +9074,7 @@ const xv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9074
9074
|
const r = {};
|
|
9075
9075
|
return o.margin && (r.margin = o.margin), o.padding && (r.padding = o.padding), o.borderColor && (r["--p-border-color"] = o.borderColor), r;
|
|
9076
9076
|
});
|
|
9077
|
-
return (r, d) => (m(),
|
|
9077
|
+
return (r, d) => (m(), _(c(rs), at({
|
|
9078
9078
|
modelValue: e.value,
|
|
9079
9079
|
"onUpdate:modelValue": d[0] || (d[0] = (f) => e.value = f)
|
|
9080
9080
|
}, c(s), {
|
|
@@ -9142,28 +9142,28 @@ const Ev = { class: "p-form-field" }, Fv = { key: 5 }, Ov = { key: 6 }, go = /*
|
|
|
9142
9142
|
$ && !R.some((M) => M.answerVariantId === b) ? R.push(An.Create(n.value.id, b)) : $ || (n.value.selectedAnswerVariants = R.filter((M) => M.answerVariantId !== b)), n.value.filled = n.value.selectedAnswerVariants.length > 0;
|
|
9143
9143
|
};
|
|
9144
9144
|
return (b, $) => (m(), w("div", Ev, [
|
|
9145
|
-
s.value ? (m(),
|
|
9145
|
+
s.value ? (m(), _(Ne, {
|
|
9146
9146
|
key: 0,
|
|
9147
9147
|
"model-value": n.value.valueString,
|
|
9148
9148
|
"onUpdate:modelValue": $[0] || ($[0] = (R) => n.value.setString(String(R ?? "")))
|
|
9149
|
-
}, null, 8, ["model-value"])) : o.value ? (m(),
|
|
9149
|
+
}, null, 8, ["model-value"])) : o.value ? (m(), _(Gu, {
|
|
9150
9150
|
key: 1,
|
|
9151
9151
|
"model-value": n.value.valueString,
|
|
9152
9152
|
"onUpdate:modelValue": $[1] || ($[1] = (R) => n.value.setString(R ?? ""))
|
|
9153
|
-
}, null, 8, ["model-value"])) : a.value ? (m(),
|
|
9153
|
+
}, null, 8, ["model-value"])) : a.value ? (m(), _(Hu, {
|
|
9154
9154
|
key: 2,
|
|
9155
9155
|
"model-value": n.value.valueNumber,
|
|
9156
9156
|
"onUpdate:modelValue": $[2] || ($[2] = (R) => n.value.setNumber(R ?? 0))
|
|
9157
|
-
}, null, 8, ["model-value"])) : l.value ? (m(),
|
|
9157
|
+
}, null, 8, ["model-value"])) : l.value ? (m(), _(Ha, {
|
|
9158
9158
|
key: 3,
|
|
9159
9159
|
"model-value": n.value.valueDate,
|
|
9160
9160
|
"onUpdate:modelValue": $[3] || ($[3] = (R) => n.value.setDate(R ? new Date(R) : void 0))
|
|
9161
|
-
}, null, 8, ["model-value"])) : r.value ? (m(),
|
|
9161
|
+
}, null, 8, ["model-value"])) : r.value ? (m(), _(po, {
|
|
9162
9162
|
key: 4,
|
|
9163
9163
|
"model-value": n.value.valueString === "true",
|
|
9164
9164
|
"onUpdate:modelValue": $[4] || ($[4] = (R) => n.value.setString(R ? "true" : "false"))
|
|
9165
9165
|
}, null, 8, ["model-value"])) : d.value ? (m(), w("div", Fv, [
|
|
9166
|
-
(m(!0), w(Z, null, be(t.field.answerVariants, (R) => (m(),
|
|
9166
|
+
(m(!0), w(Z, null, be(t.field.answerVariants, (R) => (m(), _(ju, {
|
|
9167
9167
|
key: R.id,
|
|
9168
9168
|
label: R.name,
|
|
9169
9169
|
"model-value": n.value.answerVariantId,
|
|
@@ -9171,13 +9171,13 @@ const Ev = { class: "p-form-field" }, Fv = { key: 5 }, Ov = { key: 6 }, go = /*
|
|
|
9171
9171
|
onChange: $[5] || ($[5] = (M) => n.value.setRadio(M))
|
|
9172
9172
|
}, null, 8, ["label", "model-value", "value"]))), 128))
|
|
9173
9173
|
])) : f.value ? (m(), w("div", Ov, [
|
|
9174
|
-
(m(!0), w(Z, null, be(t.field.answerVariants, (R) => (m(),
|
|
9174
|
+
(m(!0), w(Z, null, be(t.field.answerVariants, (R) => (m(), _(os, {
|
|
9175
9175
|
key: R.id,
|
|
9176
9176
|
label: R.name,
|
|
9177
9177
|
"model-value": h(R.id),
|
|
9178
9178
|
"onUpdate:modelValue": (M) => p(R.id, !!M)
|
|
9179
9179
|
}, null, 8, ["label", "model-value", "onUpdate:modelValue"]))), 128))
|
|
9180
|
-
])) : (m(),
|
|
9180
|
+
])) : (m(), _(Ne, {
|
|
9181
9181
|
key: 7,
|
|
9182
9182
|
"model-value": n.value.valueString,
|
|
9183
9183
|
"onUpdate:modelValue": $[6] || ($[6] = (R) => n.value.setString(String(R ?? "")))
|
|
@@ -9431,7 +9431,7 @@ var Xi = function(t, e) {
|
|
|
9431
9431
|
this.touches.length && this.$emit("drag-end"), this.hovered && (this.$emit("leave"), this.hovered = !1), this.touches = [];
|
|
9432
9432
|
} }, emits: ["drag", "drag-end", "leave", "enter"] };
|
|
9433
9433
|
Ga.render = function(t, e, n, i, s, o) {
|
|
9434
|
-
return m(),
|
|
9434
|
+
return m(), _("div", { ref: "draggable", class: n.classname, onTouchstart: e[1] || (e[1] = function() {
|
|
9435
9435
|
return o.onTouchStart && o.onTouchStart.apply(o, arguments);
|
|
9436
9436
|
}), onMousedown: e[2] || (e[2] = function() {
|
|
9437
9437
|
return o.onMouseDown && o.onMouseDown.apply(o, arguments);
|
|
@@ -9451,7 +9451,7 @@ var Xo = un("vue-handler-wrapper"), Ju = { name: "HandlerWrapper", components: {
|
|
|
9451
9451
|
} }, emits: ["leave", "enter", "drag", "drag-end"] };
|
|
9452
9452
|
Ju.render = function(t, e, n, i, s, o) {
|
|
9453
9453
|
var a = $e("DraggableElement");
|
|
9454
|
-
return m(),
|
|
9454
|
+
return m(), _("div", { class: o.classes.root }, [g(a, { class: o.classes.draggable, onDrag: e[1] || (e[1] = function(l) {
|
|
9455
9455
|
return t.$emit("drag", l);
|
|
9456
9456
|
}), onDragEnd: e[2] || (e[2] = function(l) {
|
|
9457
9457
|
return t.$emit("drag-end");
|
|
@@ -9469,7 +9469,7 @@ var Vv = un("vue-line-wrapper"), Zu = { name: "LineWrapper", components: { Dragg
|
|
|
9469
9469
|
} }, emits: ["leave", "enter", "drag", "drag-end"] };
|
|
9470
9470
|
Zu.render = function(t, e, n, i, s, o) {
|
|
9471
9471
|
var a = $e("DraggableElement");
|
|
9472
|
-
return m(),
|
|
9472
|
+
return m(), _(a, { class: o.classname, onDrag: e[1] || (e[1] = function(l) {
|
|
9473
9473
|
return t.$emit("drag", l);
|
|
9474
9474
|
}), onDragEnd: e[2] || (e[2] = function(l) {
|
|
9475
9475
|
return t.$emit("drag-end");
|
|
@@ -9738,7 +9738,7 @@ var n1 = un("vue-simple-handler"), i1 = un("vue-simple-handler-wrapper"), Wa = {
|
|
|
9738
9738
|
} }, emits: ["drag", "drag-end"] };
|
|
9739
9739
|
Wa.render = function(t, e, n, i, s, o) {
|
|
9740
9740
|
var a = $e("HandlerWrapper");
|
|
9741
|
-
return m(),
|
|
9741
|
+
return m(), _(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: k(function() {
|
|
9742
9742
|
return [g("div", { class: o.classes.default }, null, 2)];
|
|
9743
9743
|
}), _: 1 }, 8, ["class", "vertical-position", "horizontal-position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
|
|
9744
9744
|
};
|
|
@@ -9757,7 +9757,7 @@ var s1 = un("vue-simple-line"), o1 = un("vue-simple-line-wrapper"), Ya = { name:
|
|
|
9757
9757
|
} }, emits: ["drag", "drag-end"] };
|
|
9758
9758
|
Ya.render = function(t, e, n, i, s, o) {
|
|
9759
9759
|
var a = $e("LineWrapper");
|
|
9760
|
-
return m(),
|
|
9760
|
+
return m(), _(a, { class: o.classes.wrapper, position: n.position, disabled: n.disabled, onDrag: o.onDrag, onDragEnd: o.onDragEnd, onEnter: o.onEnter, onLeave: o.onLeave }, { default: k(function() {
|
|
9761
9761
|
return [g("div", { class: o.classes.root }, null, 2)];
|
|
9762
9762
|
}), _: 1 }, 8, ["class", "position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
|
|
9763
9763
|
};
|
|
@@ -9823,14 +9823,14 @@ var Zo = un("vue-bounding-box"), a1 = ["east", "west", null], r1 = ["south", "no
|
|
|
9823
9823
|
e === "west" ? l.left -= o : e === "east" && (l.right += o), n === "north" ? l.top -= a : n === "south" && (l.bottom += a), !n && e ? i = "width" : n && !e && (i = "height"), this.resizable && this.$emit("resize", new zv(l, { allowedDirections: { left: e === "west" || !e, right: e === "east" || !e, bottom: n === "south" || !n, top: n === "north" || !n }, preserveAspectRatio: t.nativeEvent && t.nativeEvent.shiftKey, respectDirection: i }));
|
|
9824
9824
|
} }, emits: ["resize", "resize-end"] };
|
|
9825
9825
|
nd.render = function(t, e, n, i, s, o) {
|
|
9826
|
-
return m(),
|
|
9827
|
-
return m(),
|
|
9826
|
+
return m(), _("div", { ref: "box", class: o.classes.root, style: o.style }, [H(t.$slots, "default"), g("div", null, [(m(!0), _(Z, null, be(o.lineNodes, function(a) {
|
|
9827
|
+
return m(), _(In(a.component), { key: a.name, "default-class": a.class, "hover-class": a.hoverClass, "wrapper-class": a.wrapperClass, position: a.name, disabled: a.disabled, onDrag: function(l) {
|
|
9828
9828
|
return o.onHandlerDrag(l, a.horizontalDirection, a.verticalDirection);
|
|
9829
9829
|
}, onDragEnd: e[1] || (e[1] = function(l) {
|
|
9830
9830
|
return o.onEnd();
|
|
9831
9831
|
}) }, null, 8, ["default-class", "hover-class", "wrapper-class", "position", "disabled", "onDrag"]);
|
|
9832
|
-
}), 128))]), (m(!0),
|
|
9833
|
-
return m(),
|
|
9832
|
+
}), 128))]), (m(!0), _(Z, null, be(o.handlerNodes, function(a) {
|
|
9833
|
+
return m(), _("div", { key: a.name, style: a.wrapperStyle, class: a.wrapperClass }, [(m(), _(In(a.component), { "default-class": a.class, "hover-class": a.hoverClass, "wrapper-class": a.wrapperClass, "horizontal-position": a.horizontalDirection, "vertical-position": a.verticalDirection, disabled: a.disabled, onDrag: function(l) {
|
|
9834
9834
|
return o.onHandlerDrag(l, a.horizontalDirection, a.verticalDirection);
|
|
9835
9835
|
}, onDragEnd: e[2] || (e[2] = function(l) {
|
|
9836
9836
|
return o.onEnd();
|
|
@@ -9876,7 +9876,7 @@ var l1 = un("vue-draggable-area"), id = { name: "DraggableArea", props: { movabl
|
|
|
9876
9876
|
this.touches.length && this.$emit("move-end"), this.touches = [];
|
|
9877
9877
|
} }, emits: ["move", "move-end"] };
|
|
9878
9878
|
id.render = function(t, e, n, i, s, o) {
|
|
9879
|
-
return m(),
|
|
9879
|
+
return m(), _("div", { ref: "container", onTouchstart: e[1] || (e[1] = function() {
|
|
9880
9880
|
return o.onTouchStart && o.onTouchStart.apply(o, arguments);
|
|
9881
9881
|
}), onMousedown: e[2] || (e[2] = function() {
|
|
9882
9882
|
return o.onMouseDown && o.onMouseDown.apply(o, arguments);
|
|
@@ -10020,7 +10020,7 @@ var od = { props: { touchMove: { type: Boolean, required: !0 }, mouseMove: { typ
|
|
|
10020
10020
|
var a, l;
|
|
10021
10021
|
} }, emits: ["resize", "move", "transform-end"] };
|
|
10022
10022
|
od.render = function(t, e, n, i, s, o) {
|
|
10023
|
-
return m(),
|
|
10023
|
+
return m(), _("div", { ref: "container", onTouchstart: e[1] || (e[1] = function() {
|
|
10024
10024
|
return o.onTouchStart && o.onTouchStart.apply(o, arguments);
|
|
10025
10025
|
}), onMousedown: e[2] || (e[2] = function() {
|
|
10026
10026
|
return o.onMouseDown && o.onMouseDown.apply(o, arguments);
|
|
@@ -10031,7 +10031,7 @@ od.render = function(t, e, n, i, s, o) {
|
|
|
10031
10031
|
var $a = { components: { TransformableImage: od }, 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"] };
|
|
10032
10032
|
$a.render = function(t, e, n, i, s, o) {
|
|
10033
10033
|
var a = $e("transformable-image");
|
|
10034
|
-
return m(),
|
|
10034
|
+
return m(), _(a, { "touch-move": n.touchMove, "touch-resize": n.touchResize, "mouse-move": n.mouseMove, "wheel-resize": n.wheelResize, onMove: e[1] || (e[1] = function(l) {
|
|
10035
10035
|
return t.$emit("move", l);
|
|
10036
10036
|
}), onResize: e[2] || (e[2] = function(l) {
|
|
10037
10037
|
return t.$emit("resize", l);
|
|
@@ -10083,12 +10083,12 @@ var Fs = un("vue-preview"), ad = { props: { coordinates: { type: Object }, trans
|
|
|
10083
10083
|
t && t.complete && this.refreshImage(), this.refresh();
|
|
10084
10084
|
} } };
|
|
10085
10085
|
ad.render = function(t, e, n, i, s, o) {
|
|
10086
|
-
return m(),
|
|
10086
|
+
return m(), _("div", { ref: "root", class: o.classes.root, style: o.style }, [g("div", { ref: "wrapper", class: o.classes.wrapper, style: o.wrapperStyle }, [Ze(g("img", { ref: "image", src: n.image && n.image.src, class: o.classes.image, style: o.imageStyle }, null, 14, ["src"]), [[to, n.image && n.image.src]])], 6)], 6);
|
|
10087
10087
|
};
|
|
10088
10088
|
var rd = { components: { Preview: ad }, inheritAttrs: !1 };
|
|
10089
10089
|
rd.render = function(t, e, n, i, s, o) {
|
|
10090
10090
|
var a = $e("preview");
|
|
10091
|
-
return m(),
|
|
10091
|
+
return m(), _(a, at(t.$attrs, { fill: !0 }), null, 16);
|
|
10092
10092
|
};
|
|
10093
10093
|
var ea = un("vue-rectangle-stencil"), ld = { name: "RectangleStencil", components: { StencilPreview: rd, BoundingBox: nd, DraggableArea: id }, props: { image: { type: Object }, coordinates: { type: Object }, stencilCoordinates: { type: Object }, handlers: { type: Object }, handlersComponent: { type: [Object, String], default: function() {
|
|
10094
10094
|
return Wa;
|
|
@@ -10122,7 +10122,7 @@ var ea = un("vue-rectangle-stencil"), ld = { name: "RectangleStencil", component
|
|
|
10122
10122
|
} }, emits: ["resize", "resize-end", "move", "move-end"] };
|
|
10123
10123
|
ld.render = function(t, e, n, i, s, o) {
|
|
10124
10124
|
var a = $e("stencil-preview"), l = $e("draggable-area"), r = $e("bounding-box");
|
|
10125
|
-
return m(),
|
|
10125
|
+
return m(), _("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: k(function() {
|
|
10126
10126
|
return [g(l, { movable: n.movable, onMove: o.onMove, onMoveEnd: o.onMoveEnd }, { default: k(function() {
|
|
10127
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"])];
|
|
10128
10128
|
}), _: 1 }, 8, ["movable", "onMove", "onMoveEnd"])];
|
|
@@ -10140,8 +10140,8 @@ var c1 = ["transitions"], $n = un("vue-advanced-cropper"), ud = { name: "Cropper
|
|
|
10140
10140
|
return !(typeof t == "string" && t !== "fill" && t !== "fit");
|
|
10141
10141
|
} }, priority: { type: String, default: "coordinates" }, stencilSize: { type: [Object, Function] }, resizeImage: { type: [Boolean, Object], default: !0 }, moveImage: { type: [Boolean, Object], default: !0 }, autoZoomAlgorithm: { type: Function }, resizeAlgorithm: { type: Function, default: function(t) {
|
|
10142
10142
|
var e = t.event, n = t.coordinates, i = t.aspectRatio, s = t.positionRestrictions, o = t.sizeRestrictions, a = ge(ge({}, n), { right: n.left + n.width, bottom: n.top + n.height }), l = e.params || {}, r = ge({}, e.directions), d = l.allowedDirections || { left: !0, right: !0, bottom: !0, top: !0 };
|
|
10143
|
-
o.widthFrozen && (r.left = 0, r.right = 0), o.heightFrozen && (r.top = 0, r.bottom = 0), vn.forEach(function(
|
|
10144
|
-
d[
|
|
10143
|
+
o.widthFrozen && (r.left = 0, r.right = 0), o.heightFrozen && (r.top = 0, r.bottom = 0), vn.forEach(function(D) {
|
|
10144
|
+
d[D] || (r[D] = 0);
|
|
10145
10145
|
});
|
|
10146
10146
|
var f = gn(a, r = cl({ coordinates: a, directions: r, sizeRestrictions: o, positionRestrictions: s })).width, h = gn(a, r).height, p = l.preserveRatio ? Ve(a) : Jo(f / h, i);
|
|
10147
10147
|
if (p) {
|
|
@@ -10161,8 +10161,8 @@ var c1 = ["transitions"], $n = un("vue-advanced-cropper"), ud = { name: "Cropper
|
|
|
10161
10161
|
}
|
|
10162
10162
|
r = cl({ directions: r, coordinates: a, sizeRestrictions: o, positionRestrictions: s, preserveRatio: !0, compensate: l.compensate });
|
|
10163
10163
|
}
|
|
10164
|
-
return f = gn(a, r).width, h = gn(a, r).height, (p = l.preserveRatio ? Ve(a) : Jo(f / h, i)) && Math.abs(p - f / h) > 1e-3 && vn.forEach(function(
|
|
10165
|
-
d[
|
|
10164
|
+
return f = gn(a, r).width, h = gn(a, r).height, (p = l.preserveRatio ? Ve(a) : Jo(f / h, i)) && Math.abs(p - f / h) > 1e-3 && vn.forEach(function(D) {
|
|
10165
|
+
d[D] || (r[D] = 0);
|
|
10166
10166
|
}), xa({ event: new ja({ left: -r.left, top: -r.top }), coordinates: { width: n.width + r.right + r.left, height: n.height + r.top + r.bottom, left: n.left, top: n.top }, positionRestrictions: s });
|
|
10167
10167
|
} }, moveAlgorithm: { type: Function, default: xa }, initStretcher: { type: Function, default: function(t) {
|
|
10168
10168
|
var e = t.stretcher, n = t.imageSize, i = Ve(n);
|
|
@@ -10555,9 +10555,9 @@ var c1 = ["transitions"], $n = un("vue-advanced-cropper"), ud = { name: "Cropper
|
|
|
10555
10555
|
}
|
|
10556
10556
|
} }, emits: ["change", "error", "ready"] }, f1 = { key: 0, ref: "canvas", style: { display: "none" } }, h1 = { key: 1, ref: "sourceCanvas", style: { display: "none" } };
|
|
10557
10557
|
ud.render = function(t, e, n, i, s, o) {
|
|
10558
|
-
return m(),
|
|
10558
|
+
return m(), _("div", { ref: "cropper", class: o.classes.cropper }, [g("div", { ref: "stretcher", class: o.classes.stretcher }, null, 2), g("div", { class: o.classes.boundaries, style: o.boundariesStyle }, [(m(), _(In(n.backgroundWrapperComponent), { class: o.classes.cropperWrapper, "wheel-resize": o.settings.resizeImage.wheel, "touch-resize": o.settings.resizeImage.touch, "touch-move": o.settings.moveImage.touch, "mouse-move": o.settings.moveImage.mouse, onMove: o.onManipulateImage, onResize: o.onManipulateImage }, { default: k(function() {
|
|
10559
10559
|
return [g("div", { class: o.classes.background, style: o.boundariesStyle }, null, 6), g("div", { class: o.classes.imageWrapper }, [g("img", { ref: "image", crossorigin: s.imageAttributes.crossOrigin, src: s.imageAttributes.src, class: o.classes.image, style: o.imageStyle, onMousedown: e[1] || (e[1] = Ye(function() {
|
|
10560
|
-
}, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), g("div", { class: o.classes.foreground, style: o.boundariesStyle }, null, 6), Ze((m(),
|
|
10560
|
+
}, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), g("div", { class: o.classes.foreground, style: o.boundariesStyle }, null, 6), Ze((m(), _(In(n.stencilComponent), at({ ref: "stencil", image: o.image, coordinates: s.coordinates, "stencil-coordinates": o.stencilCoordinates, transitions: o.transitionsOptions }, n.stencilProps, { onResize: o.onResize, onResizeEnd: o.onResizeEnd, onMove: o.onMove, onMoveEnd: o.onMoveEnd }), null, 16, ["image", "coordinates", "stencil-coordinates", "transitions", "onResize", "onResizeEnd", "onMove", "onMoveEnd"])), [[to, s.imageLoaded]]), n.canvas ? (m(), _("canvas", f1, null, 512)) : j("", !0), n.canvas ? (m(), _("canvas", h1, null, 512)) : j("", !0)];
|
|
10561
10561
|
}), _: 1 }, 8, ["class", "wheel-resize", "touch-resize", "touch-move", "mouse-move", "onMove", "onResize"]))], 6)], 2);
|
|
10562
10562
|
};
|
|
10563
10563
|
const m1 = {
|
|
@@ -10764,7 +10764,7 @@ const p1 = { class: "cropper-wrapper" }, g1 = { class: "row justify-end q-mt-md"
|
|
|
10764
10764
|
icon: "crop",
|
|
10765
10765
|
size: "md",
|
|
10766
10766
|
"aria-label": "Изменить обрезку",
|
|
10767
|
-
onClick: S[0] || (S[0] = (
|
|
10767
|
+
onClick: S[0] || (S[0] = (D) => M(c(o)))
|
|
10768
10768
|
}, {
|
|
10769
10769
|
default: k(() => [
|
|
10770
10770
|
g(Gn, null, {
|
|
@@ -10798,7 +10798,7 @@ const p1 = { class: "cropper-wrapper" }, g1 = { class: "row justify-end q-mt-md"
|
|
|
10798
10798
|
})
|
|
10799
10799
|
])
|
|
10800
10800
|
])
|
|
10801
|
-
], 4)) : (m(),
|
|
10801
|
+
], 4)) : (m(), _(c(_c), {
|
|
10802
10802
|
key: 0,
|
|
10803
10803
|
id: c(l),
|
|
10804
10804
|
ref_key: "uploader",
|
|
@@ -10833,7 +10833,7 @@ const p1 = { class: "cropper-wrapper" }, g1 = { class: "row justify-end q-mt-md"
|
|
|
10833
10833
|
}, 8, ["id", "style", "accept", "max-file-size"])),
|
|
10834
10834
|
g(an, {
|
|
10835
10835
|
modelValue: c(r),
|
|
10836
|
-
"onUpdate:modelValue": S[3] || (S[3] = (
|
|
10836
|
+
"onUpdate:modelValue": S[3] || (S[3] = (D) => Pe(r) ? r.value = D : null),
|
|
10837
10837
|
persistent: ""
|
|
10838
10838
|
}, {
|
|
10839
10839
|
default: k(() => [
|
|
@@ -10858,10 +10858,10 @@ const p1 = { class: "cropper-wrapper" }, g1 = { class: "row justify-end q-mt-md"
|
|
|
10858
10858
|
default: k(() => [
|
|
10859
10859
|
g(dd, {
|
|
10860
10860
|
ratio: c(f),
|
|
10861
|
-
"onUpdate:ratio": S[1] || (S[1] = (
|
|
10861
|
+
"onUpdate:ratio": S[1] || (S[1] = (D) => Pe(f) ? f.value = D : null),
|
|
10862
10862
|
src: c(h),
|
|
10863
10863
|
onCrop: R,
|
|
10864
|
-
onClose: S[2] || (S[2] = (
|
|
10864
|
+
onClose: S[2] || (S[2] = (D) => r.value = !1)
|
|
10865
10865
|
}, null, 8, ["ratio", "src"])
|
|
10866
10866
|
]),
|
|
10867
10867
|
_: 1
|
|
@@ -11125,8 +11125,8 @@ const M1 = { class: "p-form-renderer" }, A1 = {
|
|
|
11125
11125
|
const T = n.prefill ?? {};
|
|
11126
11126
|
for (const P of n.form.formSections || [])
|
|
11127
11127
|
for (const S of P.fields || []) {
|
|
11128
|
-
const
|
|
11129
|
-
S.code && T[S.code] !== void 0 &&
|
|
11128
|
+
const D = ii.Create(S);
|
|
11129
|
+
S.code && T[S.code] !== void 0 && D.setString(T[S.code]), s[S.id] = D;
|
|
11130
11130
|
}
|
|
11131
11131
|
}, { immediate: !0 });
|
|
11132
11132
|
const h = () => {
|
|
@@ -11137,7 +11137,7 @@ const M1 = { class: "p-form-renderer" }, A1 = {
|
|
|
11137
11137
|
valueNumber: S.valueNumber,
|
|
11138
11138
|
valueDate: S.valueDate,
|
|
11139
11139
|
answerVariantId: S.answerVariantId,
|
|
11140
|
-
selected: (S.selectedAnswerVariants ?? []).map((
|
|
11140
|
+
selected: (S.selectedAnswerVariants ?? []).map((D) => D.answerVariantId),
|
|
11141
11141
|
filled: S.filled
|
|
11142
11142
|
};
|
|
11143
11143
|
return T;
|
|
@@ -11165,8 +11165,8 @@ const M1 = { class: "p-form-renderer" }, A1 = {
|
|
|
11165
11165
|
} catch {
|
|
11166
11166
|
return;
|
|
11167
11167
|
}
|
|
11168
|
-
for (const [
|
|
11169
|
-
const U = s[
|
|
11168
|
+
for (const [D, x] of Object.entries(P)) {
|
|
11169
|
+
const U = s[D];
|
|
11170
11170
|
U && (U.valueString = x.valueString, U.valueNumber = x.valueNumber, x.valueDate && (U.valueDate = new Date(x.valueDate)), U.answerVariantId = x.answerVariantId, (S = x.selected) != null && S.length && (U.selectedAnswerVariants = x.selected.map((A) => An.Create(U.id, A))), U.filled = !!x.filled);
|
|
11171
11171
|
}
|
|
11172
11172
|
};
|
|
@@ -11180,8 +11180,8 @@ const M1 = { class: "p-form-renderer" }, A1 = {
|
|
|
11180
11180
|
), b();
|
|
11181
11181
|
const R = () => {
|
|
11182
11182
|
const T = Object.entries(s).filter(([P, S]) => {
|
|
11183
|
-
const
|
|
11184
|
-
return
|
|
11183
|
+
const D = M().find((x) => x.id === P);
|
|
11184
|
+
return D ? a(D) : !!S.filled;
|
|
11185
11185
|
}).map(([, P]) => P);
|
|
11186
11186
|
if (n.draftKey)
|
|
11187
11187
|
try {
|
|
@@ -11213,27 +11213,27 @@ const M1 = { class: "p-form-renderer" }, A1 = {
|
|
|
11213
11213
|
}, [
|
|
11214
11214
|
l(S) ? (m(), w(Z, { key: 0 }, [
|
|
11215
11215
|
S.name ? (m(), w("div", O1, V(S.name), 1)) : j("", !0),
|
|
11216
|
-
(m(!0), w(Z, null, be(S.fields, (
|
|
11217
|
-
key:
|
|
11216
|
+
(m(!0), w(Z, null, be(S.fields, (D) => Ze((m(), w("div", {
|
|
11217
|
+
key: D.id,
|
|
11218
11218
|
class: "field-block q-mb-md"
|
|
11219
11219
|
}, [
|
|
11220
11220
|
y("div", D1, [
|
|
11221
|
-
ye(V(
|
|
11222
|
-
|
|
11221
|
+
ye(V(D.name) + " ", 1),
|
|
11222
|
+
D.required ? (m(), w("span", _1, "*")) : j("", !0)
|
|
11223
11223
|
]),
|
|
11224
|
-
|
|
11224
|
+
D.imageUrl ? (m(), w("img", {
|
|
11225
11225
|
key: 0,
|
|
11226
|
-
src:
|
|
11226
|
+
src: D.imageUrl,
|
|
11227
11227
|
class: "field-image q-mb-xs",
|
|
11228
11228
|
alt: ""
|
|
11229
11229
|
}, null, 8, z1)) : j("", !0),
|
|
11230
|
-
d(
|
|
11230
|
+
d(D.id) ? (m(), _(go, {
|
|
11231
11231
|
key: 1,
|
|
11232
|
-
field:
|
|
11233
|
-
fill: d(
|
|
11232
|
+
field: D,
|
|
11233
|
+
fill: d(D.id)
|
|
11234
11234
|
}, null, 8, ["field", "fill"])) : j("", !0)
|
|
11235
11235
|
])), [
|
|
11236
|
-
[to, a(
|
|
11236
|
+
[to, a(D)]
|
|
11237
11237
|
])), 128))
|
|
11238
11238
|
], 64)) : j("", !0)
|
|
11239
11239
|
]))), 128)),
|
|
@@ -11312,7 +11312,7 @@ const M1 = { class: "p-form-renderer" }, A1 = {
|
|
|
11312
11312
|
const n = F(null), i = t, s = e, o = z(() => i.img ? i.isMain ? "365px" : "200px" : "0"), a = (l) => {
|
|
11313
11313
|
i.noPointer || s("click", l);
|
|
11314
11314
|
};
|
|
11315
|
-
return (l, r) => (m(),
|
|
11315
|
+
return (l, r) => (m(), _(c(Zt), {
|
|
11316
11316
|
class: ve(["card", { "no-hover": t.noHover, "no-border": t.noBorder, "cursor-pointer": !t.noPointer }]),
|
|
11317
11317
|
flat: "",
|
|
11318
11318
|
bordered: !t.noBorder,
|
|
@@ -11360,7 +11360,7 @@ const M1 = { class: "p-form-renderer" }, A1 = {
|
|
|
11360
11360
|
], !0)
|
|
11361
11361
|
])) : j("", !0)
|
|
11362
11362
|
])) : j("", !0),
|
|
11363
|
-
t.title || l.$slots.title ? (m(),
|
|
11363
|
+
t.title || l.$slots.title ? (m(), _(c(Zi), {
|
|
11364
11364
|
key: 1,
|
|
11365
11365
|
class: "header-separator"
|
|
11366
11366
|
})) : j("", !0),
|
|
@@ -11453,7 +11453,7 @@ const M1 = { class: "p-form-renderer" }, A1 = {
|
|
|
11453
11453
|
}, P = (A) => !["answered", "notAnswered"].includes(A.operator), S = (A) => {
|
|
11454
11454
|
var L;
|
|
11455
11455
|
return (((L = R(A)) == null ? void 0 : L.answerVariants) ?? []).map((q) => ({ label: q.name, value: q.id }));
|
|
11456
|
-
},
|
|
11456
|
+
}, D = (A, L) => {
|
|
11457
11457
|
var q;
|
|
11458
11458
|
A.dependsOnFieldId = L, A.dependsOnFieldCode = ((q = R(A)) == null ? void 0 : q.code) || "", A.value = "", s("change");
|
|
11459
11459
|
}, x = () => {
|
|
@@ -11596,7 +11596,7 @@ const M1 = { class: "p-form-renderer" }, A1 = {
|
|
|
11596
11596
|
y("div", dy, [
|
|
11597
11597
|
g(Nt, {
|
|
11598
11598
|
modelValue: q.dependsOnFieldId,
|
|
11599
|
-
"onUpdate:modelValue": [(Se) => q.dependsOnFieldId = Se, (Se) =>
|
|
11599
|
+
"onUpdate:modelValue": [(Se) => q.dependsOnFieldId = Se, (Se) => D(q, Se)],
|
|
11600
11600
|
label: "Зависит от вопроса",
|
|
11601
11601
|
options: $.value
|
|
11602
11602
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "options"])
|
|
@@ -11613,7 +11613,7 @@ const M1 = { class: "p-form-renderer" }, A1 = {
|
|
|
11613
11613
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
11614
11614
|
]),
|
|
11615
11615
|
y("div", fy, [
|
|
11616
|
-
T(q) ? (m(),
|
|
11616
|
+
T(q) ? (m(), _(Nt, {
|
|
11617
11617
|
key: 0,
|
|
11618
11618
|
modelValue: q.value,
|
|
11619
11619
|
"onUpdate:modelValue": [
|
|
@@ -11622,7 +11622,7 @@ const M1 = { class: "p-form-renderer" }, A1 = {
|
|
|
11622
11622
|
],
|
|
11623
11623
|
label: "Значение",
|
|
11624
11624
|
options: S(q)
|
|
11625
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "options"])) : P(q) ? (m(),
|
|
11625
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "options"])) : P(q) ? (m(), _(Ne, {
|
|
11626
11626
|
key: 1,
|
|
11627
11627
|
modelValue: q.value,
|
|
11628
11628
|
"onUpdate:modelValue": (Se) => q.value = Se,
|
|
@@ -11673,7 +11673,7 @@ const M1 = { class: "p-form-renderer" }, A1 = {
|
|
|
11673
11673
|
const [b] = p.splice(d, 1);
|
|
11674
11674
|
p.splice(h, 0, b), s(), i("change");
|
|
11675
11675
|
};
|
|
11676
|
-
return (d, f) => (m(),
|
|
11676
|
+
return (d, f) => (m(), _(fd, { class: "p-form-section-editor" }, {
|
|
11677
11677
|
default: k(() => [
|
|
11678
11678
|
y("div", gy, [
|
|
11679
11679
|
d.$slots.handle ? (m(), w("div", vy, [
|
|
@@ -12523,7 +12523,7 @@ const d0 = new u0(), c0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
12523
12523
|
["label", "color", "text-color", "outline", "rounded", "floating", "multi-line", "transparent"].includes(s) || (i[s] = e[s]);
|
|
12524
12524
|
return i;
|
|
12525
12525
|
});
|
|
12526
|
-
return (i, s) => (m(),
|
|
12526
|
+
return (i, s) => (m(), _(c(Sl), at(c(n), {
|
|
12527
12527
|
label: t.label || void 0,
|
|
12528
12528
|
color: t.color || void 0,
|
|
12529
12529
|
"text-color": t.textColor || void 0,
|
|
@@ -12603,7 +12603,7 @@ const h0 = { class: "p-notify-badge" }, m0 = { class: "p-notify-badge__panel" },
|
|
|
12603
12603
|
icon: t.icon
|
|
12604
12604
|
}, {
|
|
12605
12605
|
default: k(() => [
|
|
12606
|
-
c(n).unread.value ? (m(),
|
|
12606
|
+
c(n).unread.value ? (m(), _(Fi, {
|
|
12607
12607
|
key: 0,
|
|
12608
12608
|
label: String(c(n).unread.value),
|
|
12609
12609
|
color: "negative",
|
|
@@ -12618,7 +12618,7 @@ const h0 = { class: "p-notify-badge" }, m0 = { class: "p-notify-badge__panel" },
|
|
|
12618
12618
|
y("div", m0, [
|
|
12619
12619
|
y("div", p0, [
|
|
12620
12620
|
a[2] || (a[2] = y("div", { class: "text-subtitle2" }, "Уведомления", -1)),
|
|
12621
|
-
c(n).unread.value ? (m(),
|
|
12621
|
+
c(n).unread.value ? (m(), _(le, {
|
|
12622
12622
|
key: 0,
|
|
12623
12623
|
flat: "",
|
|
12624
12624
|
dense: "",
|
|
@@ -12628,12 +12628,12 @@ const h0 = { class: "p-notify-badge" }, m0 = { class: "p-notify-badge__panel" },
|
|
|
12628
12628
|
})) : j("", !0)
|
|
12629
12629
|
]),
|
|
12630
12630
|
g(c(Zi)),
|
|
12631
|
-
c(n).items.value.length ? (m(),
|
|
12631
|
+
c(n).items.value.length ? (m(), _(c(Oi), {
|
|
12632
12632
|
key: 1,
|
|
12633
12633
|
class: "p-notify-badge__list"
|
|
12634
12634
|
}, {
|
|
12635
12635
|
default: k(() => [
|
|
12636
|
-
(m(!0), w(Z, null, be(c(n).items.value, (l) => (m(),
|
|
12636
|
+
(m(!0), w(Z, null, be(c(n).items.value, (l) => (m(), _(c(qn), {
|
|
12637
12637
|
key: l.id,
|
|
12638
12638
|
clickable: "",
|
|
12639
12639
|
class: ve({ "p-notify-badge__item--unread": !l.readAt }),
|
|
@@ -13188,7 +13188,7 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13188
13188
|
})), a = z(() => ({
|
|
13189
13189
|
...Vd,
|
|
13190
13190
|
...e.factories
|
|
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, f = (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) : "", b = F("grid"), $ = F((Tr = ($r = e.days) == null ? void 0 : $r[0]) == null ? void 0 : Tr.id), R = F(!1), M = F(""), T = F(!1), P = F(!1), S = F(null),
|
|
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, f = (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) : "", b = F("grid"), $ = F((Tr = ($r = e.days) == null ? void 0 : $r[0]) == null ? void 0 : Tr.id), R = F(!1), M = F(""), T = F(!1), P = F(!1), S = F(null), D = F(null), x = F(null), U = F(void 0), A = F(null), L = F(null), q = F(!1), ke = F(0), Se = F(null), Ke = [
|
|
13192
13192
|
{ label: "5 мин", value: 5 },
|
|
13193
13193
|
{ label: "10 мин", value: 10 },
|
|
13194
13194
|
{ label: "15 мин", value: 15 },
|
|
@@ -13690,11 +13690,11 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13690
13690
|
if (l(I).some((N) => N.id === v.id) || v.sessionId && (I.sessions || []).some((N) => N.id === v.sessionId))
|
|
13691
13691
|
return I;
|
|
13692
13692
|
}, gr = z(() => {
|
|
13693
|
-
const v =
|
|
13693
|
+
const v = D.value;
|
|
13694
13694
|
if (v)
|
|
13695
13695
|
return v.kind === "session" ? hi(v.item.scheduleId) || vr(v.item, "session") : pr(v.item);
|
|
13696
13696
|
}), gc = z(() => {
|
|
13697
|
-
const v =
|
|
13697
|
+
const v = D.value;
|
|
13698
13698
|
return !v || v.kind !== "slot" ? [] : mr(gr.value);
|
|
13699
13699
|
}), vr = (v, C) => {
|
|
13700
13700
|
for (const I of e.days || [])
|
|
@@ -13826,13 +13826,13 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13826
13826
|
}
|
|
13827
13827
|
v.startTime = I, v.endTime = N || sn(I, 30), C === "slot" ? await e.persist.updateSlot(v) : await e.persist.updateSession(v);
|
|
13828
13828
|
}, Dn = (v) => {
|
|
13829
|
-
q.value || Date.now() - ke.value < 400 || (
|
|
13829
|
+
q.value || Date.now() - ke.value < 400 || (D.value = { kind: v.kind, item: v.item }, T.value = !0);
|
|
13830
13830
|
}, $c = async () => {
|
|
13831
|
-
const v =
|
|
13832
|
-
v && (await On(v.item, v.kind), T.value = !1,
|
|
13831
|
+
const v = D.value;
|
|
13832
|
+
v && (await On(v.item, v.kind), T.value = !1, D.value = null, await e.persist.refresh());
|
|
13833
13833
|
}, Tc = async () => {
|
|
13834
|
-
const v =
|
|
13835
|
-
v && (await Ni(v.item, v.kind), T.value = !1,
|
|
13834
|
+
const v = D.value;
|
|
13835
|
+
v && (await Ni(v.item, v.kind), T.value = !1, D.value = null);
|
|
13836
13836
|
}, Ps = (v, C, I, N) => {
|
|
13837
13837
|
v[C] = I, On(v, N);
|
|
13838
13838
|
};
|
|
@@ -13851,7 +13851,7 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13851
13851
|
"active-color": "primary"
|
|
13852
13852
|
}, {
|
|
13853
13853
|
default: k(() => [
|
|
13854
|
-
(m(!0), w(Z, null, be(Ue.value, (Q) => (m(),
|
|
13854
|
+
(m(!0), w(Z, null, be(Ue.value, (Q) => (m(), _(c(xl), {
|
|
13855
13855
|
key: Q.id,
|
|
13856
13856
|
name: Q.id,
|
|
13857
13857
|
class: "day-tab"
|
|
@@ -13901,14 +13901,14 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13901
13901
|
})
|
|
13902
13902
|
])) : j("", !0),
|
|
13903
13903
|
g(c(Un)),
|
|
13904
|
-
i.value && oe.value ? (m(),
|
|
13904
|
+
i.value && oe.value ? (m(), _(R0, {
|
|
13905
13905
|
key: 1,
|
|
13906
13906
|
"model-value": nn(oe.value.date),
|
|
13907
13907
|
label: o.value.date,
|
|
13908
13908
|
class: "date-input",
|
|
13909
13909
|
"onUpdate:modelValue": C[1] || (C[1] = (Q) => We(oe.value, Q))
|
|
13910
13910
|
}, null, 8, ["model-value", "label"])) : j("", !0),
|
|
13911
|
-
s.value ? (m(),
|
|
13911
|
+
s.value ? (m(), _(I, {
|
|
13912
13912
|
key: 2,
|
|
13913
13913
|
size: "sm",
|
|
13914
13914
|
color: "primary",
|
|
@@ -14035,7 +14035,7 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14035
14035
|
]),
|
|
14036
14036
|
_: 1
|
|
14037
14037
|
}, 8, ["onClick"]),
|
|
14038
|
-
n.value ? (m(),
|
|
14038
|
+
n.value ? (m(), _(I, {
|
|
14039
14039
|
key: 0,
|
|
14040
14040
|
size: "sm",
|
|
14041
14041
|
flat: "",
|
|
@@ -14054,7 +14054,7 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14054
14054
|
]),
|
|
14055
14055
|
_: 1
|
|
14056
14056
|
}, 8, ["onClick"])) : j("", !0),
|
|
14057
|
-
s.value ? (m(),
|
|
14057
|
+
s.value ? (m(), _(I, {
|
|
14058
14058
|
key: 1,
|
|
14059
14059
|
size: "sm",
|
|
14060
14060
|
flat: "",
|
|
@@ -14149,7 +14149,7 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14149
14149
|
], 46, X0))), 128))
|
|
14150
14150
|
])) : j("", !0),
|
|
14151
14151
|
y("div", tb, [
|
|
14152
|
-
pe(Q, ce) ? (m(),
|
|
14152
|
+
pe(Q, ce) ? (m(), _(c(re), {
|
|
14153
14153
|
key: 0,
|
|
14154
14154
|
name: "warning",
|
|
14155
14155
|
size: "12px",
|
|
@@ -14227,7 +14227,7 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14227
14227
|
], 4)
|
|
14228
14228
|
], 512)) : (m(), w("div", L0, [
|
|
14229
14229
|
ye(V(o.value.noHalls) + " ", 1),
|
|
14230
|
-
s.value ? (m(),
|
|
14230
|
+
s.value ? (m(), _(I, {
|
|
14231
14231
|
key: 0,
|
|
14232
14232
|
flat: "",
|
|
14233
14233
|
color: "primary",
|
|
@@ -14275,7 +14275,7 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14275
14275
|
ye(" " + V(fn.value.perfom.startTime) + "–" + V(fn.value.perfom.endTime) + " · " + V(o.value.intoSession), 1)
|
|
14276
14276
|
], 4)) : j("", !0)
|
|
14277
14277
|
])) : (m(), w("div", db, [
|
|
14278
|
-
(m(!0), w(Z, null, be(Oe(oe.value), (Q) => (m(),
|
|
14278
|
+
(m(!0), w(Z, null, be(Oe(oe.value), (Q) => (m(), _(c(Zt), {
|
|
14279
14279
|
key: Q.id,
|
|
14280
14280
|
class: "hall-card q-mb-md"
|
|
14281
14281
|
}, {
|
|
@@ -14308,7 +14308,7 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14308
14308
|
label: o.value.slot,
|
|
14309
14309
|
onClick: (ce) => wr(Q)
|
|
14310
14310
|
}, null, 8, ["label", "onClick"]),
|
|
14311
|
-
s.value ? (m(),
|
|
14311
|
+
s.value ? (m(), _(I, {
|
|
14312
14312
|
key: 0,
|
|
14313
14313
|
size: "sm",
|
|
14314
14314
|
flat: "",
|
|
@@ -14461,7 +14461,7 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14461
14461
|
class: "time-input",
|
|
14462
14462
|
"onUpdate:modelValue": (he) => Ps(we, "endTime", he, "slot")
|
|
14463
14463
|
}, null, 8, ["model-value", "label", "onUpdate:modelValue"]),
|
|
14464
|
-
n.value ? (m(),
|
|
14464
|
+
n.value ? (m(), _(ee, {
|
|
14465
14465
|
key: 0,
|
|
14466
14466
|
"model-value": we.sessionId,
|
|
14467
14467
|
label: o.value.sessionSelect,
|
|
@@ -14647,19 +14647,19 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14647
14647
|
default: k(() => {
|
|
14648
14648
|
var Q;
|
|
14649
14649
|
return [
|
|
14650
|
-
y("div", Ib, V(((Q =
|
|
14650
|
+
y("div", Ib, V(((Q = D.value) == null ? void 0 : Q.kind) === "session" ? o.value.session : o.value.slot), 1)
|
|
14651
14651
|
];
|
|
14652
14652
|
}),
|
|
14653
14653
|
_: 1
|
|
14654
14654
|
}),
|
|
14655
|
-
|
|
14655
|
+
D.value ? (m(), _(c(kt), {
|
|
14656
14656
|
key: 0,
|
|
14657
14657
|
class: "q-pt-none"
|
|
14658
14658
|
}, {
|
|
14659
14659
|
default: k(() => [
|
|
14660
14660
|
g(fe, {
|
|
14661
|
-
modelValue:
|
|
14662
|
-
"onUpdate:modelValue": C[10] || (C[10] = (Q) =>
|
|
14661
|
+
modelValue: D.value.item.name,
|
|
14662
|
+
"onUpdate:modelValue": C[10] || (C[10] = (Q) => D.value.item.name = Q),
|
|
14663
14663
|
label: o.value.name,
|
|
14664
14664
|
dense: "",
|
|
14665
14665
|
outlined: "",
|
|
@@ -14668,8 +14668,8 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14668
14668
|
y("div", Mb, [
|
|
14669
14669
|
y("div", Ab, [
|
|
14670
14670
|
g(gi, {
|
|
14671
|
-
modelValue:
|
|
14672
|
-
"onUpdate:modelValue": C[11] || (C[11] = (Q) =>
|
|
14671
|
+
modelValue: D.value.item.startTime,
|
|
14672
|
+
"onUpdate:modelValue": C[11] || (C[11] = (Q) => D.value.item.startTime = Q),
|
|
14673
14673
|
label: o.value.startTime,
|
|
14674
14674
|
dense: "",
|
|
14675
14675
|
outlined: ""
|
|
@@ -14677,17 +14677,17 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14677
14677
|
]),
|
|
14678
14678
|
y("div", Eb, [
|
|
14679
14679
|
g(gi, {
|
|
14680
|
-
modelValue:
|
|
14681
|
-
"onUpdate:modelValue": C[12] || (C[12] = (Q) =>
|
|
14680
|
+
modelValue: D.value.item.endTime,
|
|
14681
|
+
"onUpdate:modelValue": C[12] || (C[12] = (Q) => D.value.item.endTime = Q),
|
|
14682
14682
|
label: o.value.endTime,
|
|
14683
14683
|
dense: "",
|
|
14684
14684
|
outlined: ""
|
|
14685
14685
|
}, null, 8, ["modelValue", "label"])
|
|
14686
14686
|
])
|
|
14687
14687
|
]),
|
|
14688
|
-
|
|
14688
|
+
D.value.kind === "slot" && n.value ? (m(), _(ee, {
|
|
14689
14689
|
key: 0,
|
|
14690
|
-
"model-value":
|
|
14690
|
+
"model-value": D.value.item.sessionId,
|
|
14691
14691
|
label: o.value.sessionSelect,
|
|
14692
14692
|
dense: "",
|
|
14693
14693
|
outlined: "",
|
|
@@ -14696,17 +14696,17 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14696
14696
|
options: gc.value,
|
|
14697
14697
|
"option-value": "id",
|
|
14698
14698
|
"option-label": "label",
|
|
14699
|
-
"onUpdate:modelValue": C[13] || (C[13] = (Q) => yr(
|
|
14699
|
+
"onUpdate:modelValue": C[13] || (C[13] = (Q) => yr(D.value.item, Q))
|
|
14700
14700
|
}, null, 8, ["model-value", "label", "options"])) : j("", !0),
|
|
14701
14701
|
H(v.$slots, "edit-form", {
|
|
14702
|
-
kind:
|
|
14703
|
-
item:
|
|
14702
|
+
kind: D.value.kind,
|
|
14703
|
+
item: D.value.item,
|
|
14704
14704
|
schedule: gr.value
|
|
14705
14705
|
}, void 0, !0),
|
|
14706
|
-
|
|
14706
|
+
D.value.kind === "slot" ? (m(), _(fe, {
|
|
14707
14707
|
key: 1,
|
|
14708
|
-
modelValue:
|
|
14709
|
-
"onUpdate:modelValue": C[14] || (C[14] = (Q) =>
|
|
14708
|
+
modelValue: D.value.item.description,
|
|
14709
|
+
"onUpdate:modelValue": C[14] || (C[14] = (Q) => D.value.item.description = Q),
|
|
14710
14710
|
label: o.value.description,
|
|
14711
14711
|
type: "textarea",
|
|
14712
14712
|
rows: "2",
|
|
@@ -14718,7 +14718,7 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14718
14718
|
})) : j("", !0),
|
|
14719
14719
|
g(c(ti), { align: "right" }, {
|
|
14720
14720
|
default: k(() => [
|
|
14721
|
-
|
|
14721
|
+
D.value ? (m(), _(I, {
|
|
14722
14722
|
key: 0,
|
|
14723
14723
|
flat: "",
|
|
14724
14724
|
color: "negative",
|
|
@@ -14816,43 +14816,43 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14816
14816
|
})), o = (S) => {
|
|
14817
14817
|
if (n.dayTitle)
|
|
14818
14818
|
return n.dayTitle(S);
|
|
14819
|
-
const
|
|
14820
|
-
return isNaN(
|
|
14819
|
+
const D = new Date(S.date);
|
|
14820
|
+
return isNaN(D.getTime()) || D.getFullYear() < 2e3 ? "" : D.toLocaleDateString("ru-RU", {
|
|
14821
14821
|
weekday: "long",
|
|
14822
14822
|
day: "numeric",
|
|
14823
14823
|
month: "long",
|
|
14824
14824
|
year: "numeric"
|
|
14825
14825
|
});
|
|
14826
14826
|
}, a = (S) => {
|
|
14827
|
-
var
|
|
14828
|
-
return n.placeName ? n.placeName(S) : ((
|
|
14827
|
+
var D;
|
|
14828
|
+
return n.placeName ? n.placeName(S) : ((D = S.place) == null ? void 0 : D.name) || S.placeName || "";
|
|
14829
14829
|
}, l = (S) => n.slotName ? n.slotName(S) : (S == null ? void 0 : S.name) || "", r = (S) => n.sessionName ? n.sessionName(S) : (S == null ? void 0 : S.name) || "", d = (S) => n.slotParticipants ? n.slotParticipants(S) : (S == null ? void 0 : S.participants) || [], f = (S) => n.sessionParticipants ? n.sessionParticipants(S) : (S == null ? void 0 : S.participants) || [], h = (S) => {
|
|
14830
|
-
var
|
|
14831
|
-
return n.participantName ? n.participantName(S) : (S == null ? void 0 : S.name) || (S == null ? void 0 : S.fullName) || ((x = (
|
|
14830
|
+
var D, x;
|
|
14831
|
+
return n.participantName ? n.participantName(S) : (S == null ? void 0 : S.name) || (S == null ? void 0 : S.fullName) || ((x = (D = S == null ? void 0 : S.human) == null ? void 0 : D.getFullName) == null ? void 0 : x.call(D)) || "";
|
|
14832
14832
|
}, p = (S) => n.participantBio ? n.participantBio(S) : (S == null ? void 0 : S.bio) || (S == null ? void 0 : S.regalias) || "", b = (S) => n.slotListOf ? n.slotListOf(S) : (S == null ? void 0 : S.slots) || [], $ = (S) => n.nestedSlotListOf ? n.nestedSlotListOf(S) : (S == null ? void 0 : S.slots) || [], R = (S) => S.schedules.filter(
|
|
14833
|
-
(
|
|
14833
|
+
(D) => {
|
|
14834
14834
|
var x;
|
|
14835
|
-
return b(
|
|
14835
|
+
return b(D).length > 0 || (((x = D.sessions) == null ? void 0 : x.length) || 0) > 0;
|
|
14836
14836
|
}
|
|
14837
14837
|
), M = (S) => {
|
|
14838
|
-
const
|
|
14838
|
+
const D = [], x = new Set((S.sessions || []).map((A) => A.id));
|
|
14839
14839
|
for (const A of S.sessions || []) {
|
|
14840
|
-
|
|
14840
|
+
D.push({ kind: "session", item: A, nested: !1, index: 0 });
|
|
14841
14841
|
for (const L of $(A))
|
|
14842
|
-
|
|
14842
|
+
D.push({ kind: "slot", item: L, nested: !0, index: 0 });
|
|
14843
14843
|
}
|
|
14844
14844
|
let U = 0;
|
|
14845
14845
|
for (const A of b(S).filter(
|
|
14846
14846
|
(L) => !L.sessionId || !x.has(L.sessionId)
|
|
14847
14847
|
))
|
|
14848
|
-
|
|
14849
|
-
return
|
|
14848
|
+
D.push({ kind: "slot", item: A, nested: !1, index: U++ });
|
|
14849
|
+
return D;
|
|
14850
14850
|
}, T = z(() => {
|
|
14851
14851
|
var S;
|
|
14852
14852
|
return (S = n.days) == null ? void 0 : S.some(
|
|
14853
|
-
(
|
|
14853
|
+
(D) => {
|
|
14854
14854
|
var x;
|
|
14855
|
-
return (x =
|
|
14855
|
+
return (x = D.schedules) == null ? void 0 : x.some(
|
|
14856
14856
|
(U) => {
|
|
14857
14857
|
var A;
|
|
14858
14858
|
return b(U).length > 0 || (((A = U.sessions) == null ? void 0 : A.length) || 0) > 0;
|
|
@@ -14860,8 +14860,8 @@ const $0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14860
14860
|
);
|
|
14861
14861
|
}
|
|
14862
14862
|
);
|
|
14863
|
-
}), P = (S,
|
|
14864
|
-
return (S,
|
|
14863
|
+
}), P = (S, D) => `${S} - ${D}`;
|
|
14864
|
+
return (S, D) => (m(), w("div", Lb, [
|
|
14865
14865
|
T.value ? (m(), w("div", Vb, [
|
|
14866
14866
|
(m(!0), w(Z, null, be(t.days, (x) => (m(), w("div", {
|
|
14867
14867
|
key: x.id,
|
|
@@ -15056,10 +15056,10 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15056
15056
|
const e = t, n = z(
|
|
15057
15057
|
() => e.actions.filter((i) => i.show ? i.show(e.row) : !0)
|
|
15058
15058
|
);
|
|
15059
|
-
return (i, s) => (m(),
|
|
15059
|
+
return (i, s) => (m(), _(In(t.bare ? "div" : c(Sn)), at(t.bare ? {} : { autoWidth: !0 }, { class: t.cellClass }), {
|
|
15060
15060
|
default: k(() => [
|
|
15061
15061
|
y("div", Aw, [
|
|
15062
|
-
(m(!0), w(Z, null, be(c(n), (o, a) => (m(),
|
|
15062
|
+
(m(!0), w(Z, null, be(c(n), (o, a) => (m(), _(le, {
|
|
15063
15063
|
key: a,
|
|
15064
15064
|
size: "sm",
|
|
15065
15065
|
round: "",
|
|
@@ -15115,7 +15115,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15115
15115
|
default: k(() => [
|
|
15116
15116
|
g(c(Oi), { dense: "" }, {
|
|
15117
15117
|
default: k(() => [
|
|
15118
|
-
(m(!0), w(Z, null, be(c(o), (h) => Ze((m(),
|
|
15118
|
+
(m(!0), w(Z, null, be(c(o), (h) => Ze((m(), _(c(qn), {
|
|
15119
15119
|
key: h.value,
|
|
15120
15120
|
clickable: "",
|
|
15121
15121
|
class: "tag-item",
|
|
@@ -15192,7 +15192,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15192
15192
|
);
|
|
15193
15193
|
p && "focus" in p && p.focus();
|
|
15194
15194
|
};
|
|
15195
|
-
return (p, b) => (m(),
|
|
15195
|
+
return (p, b) => (m(), _(an, {
|
|
15196
15196
|
modelValue: c(a),
|
|
15197
15197
|
"onUpdate:modelValue": [
|
|
15198
15198
|
b[0] || (b[0] = ($) => Pe(a) ? a.value = $ : null),
|
|
@@ -15273,7 +15273,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15273
15273
|
n.row[n.prop] = l, await n.store.Update(n.row), (r = s.value) == null || r.toggle();
|
|
15274
15274
|
};
|
|
15275
15275
|
return (l, r) => (m(), w(Z, null, [
|
|
15276
|
-
(m(),
|
|
15276
|
+
(m(), _(c(Sn), {
|
|
15277
15277
|
key: t.prop,
|
|
15278
15278
|
class: "tags-cell"
|
|
15279
15279
|
}, {
|
|
@@ -15337,7 +15337,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15337
15337
|
e.row && e.prop && e.store && (e.row[e.prop] = d, await e.store.Update(e.row)), (f = n.value) == null || f.toggle();
|
|
15338
15338
|
};
|
|
15339
15339
|
return (d, f) => (m(), w(Z, null, [
|
|
15340
|
-
(m(),
|
|
15340
|
+
(m(), _(c(Sn), {
|
|
15341
15341
|
key: t.cellKey,
|
|
15342
15342
|
class: "tags-cell"
|
|
15343
15343
|
}, {
|
|
@@ -15373,7 +15373,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15373
15373
|
}, {
|
|
15374
15374
|
default: k(() => [
|
|
15375
15375
|
H(d.$slots, "default", {}, () => [
|
|
15376
|
-
t.storeOpts ? (m(),
|
|
15376
|
+
t.storeOpts ? (m(), _(ir, {
|
|
15377
15377
|
key: 0,
|
|
15378
15378
|
store: t.storeOpts,
|
|
15379
15379
|
onSelect: r
|
|
@@ -15400,7 +15400,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15400
15400
|
const n = t, i = e, s = () => {
|
|
15401
15401
|
n.count !== 0 && (n.to && W.H.Router.To(n.to), i("click"));
|
|
15402
15402
|
};
|
|
15403
|
-
return (o, a) => (m(),
|
|
15403
|
+
return (o, a) => (m(), _(c(Sn), {
|
|
15404
15404
|
key: t.cellKey,
|
|
15405
15405
|
class: "relation-cell"
|
|
15406
15406
|
}, {
|
|
@@ -15423,7 +15423,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15423
15423
|
row: {}
|
|
15424
15424
|
},
|
|
15425
15425
|
setup(t) {
|
|
15426
|
-
return (e, n) => (m(),
|
|
15426
|
+
return (e, n) => (m(), _(c(Sn), { "auto-width": "" }, {
|
|
15427
15427
|
default: k(() => [
|
|
15428
15428
|
g(le, {
|
|
15429
15429
|
size: "sm",
|
|
@@ -15514,7 +15514,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15514
15514
|
return void ((L = n.search) == null ? void 0 : L.call(n, A));
|
|
15515
15515
|
}, n.searchDebounce));
|
|
15516
15516
|
});
|
|
15517
|
-
const
|
|
15517
|
+
const D = z(() => {
|
|
15518
15518
|
if (n.search)
|
|
15519
15519
|
return n.options;
|
|
15520
15520
|
const A = T.value.trim().toLowerCase();
|
|
@@ -15527,7 +15527,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15527
15527
|
class: ve(["p-table-editable", { "is-readonly": !c(s) }]),
|
|
15528
15528
|
"data-kind": t.kind
|
|
15529
15529
|
}, [
|
|
15530
|
-
c(s) && t.kind === "toggle" ? (m(),
|
|
15530
|
+
c(s) && t.kind === "toggle" ? (m(), _(c(bl), {
|
|
15531
15531
|
key: 0,
|
|
15532
15532
|
"model-value": !!t.modelValue,
|
|
15533
15533
|
dense: "",
|
|
@@ -15549,7 +15549,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15549
15549
|
class: ve(["cell-text readonly", { empty: c(l), num: t.kind === "number" }])
|
|
15550
15550
|
}, V(c(r)), 3))
|
|
15551
15551
|
], 10, Zw),
|
|
15552
|
-
c(s) && c(o) ? (m(),
|
|
15552
|
+
c(s) && c(o) ? (m(), _(an, {
|
|
15553
15553
|
key: 0,
|
|
15554
15554
|
modelValue: c(f),
|
|
15555
15555
|
"onUpdate:modelValue": L[6] || (L[6] = (q) => Pe(f) ? f.value = q : null),
|
|
@@ -15572,12 +15572,12 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15572
15572
|
onClick: L[1] || (L[1] = (q) => f.value = !1)
|
|
15573
15573
|
})
|
|
15574
15574
|
]),
|
|
15575
|
-
t.kind === "date" ? (m(),
|
|
15575
|
+
t.kind === "date" ? (m(), _(Ha, {
|
|
15576
15576
|
key: 0,
|
|
15577
15577
|
modelValue: c(h),
|
|
15578
15578
|
"onUpdate:modelValue": L[2] || (L[2] = (q) => Pe(h) ? h.value = q : null),
|
|
15579
15579
|
autofocus: ""
|
|
15580
|
-
}, null, 8, ["modelValue"])) : t.kind === "number" ? (m(),
|
|
15580
|
+
}, null, 8, ["modelValue"])) : t.kind === "number" ? (m(), _(Ne, {
|
|
15581
15581
|
key: 1,
|
|
15582
15582
|
modelValue: c(p),
|
|
15583
15583
|
"onUpdate:modelValue": L[3] || (L[3] = (q) => Pe(p) ? p.value = q : null),
|
|
@@ -15587,7 +15587,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15587
15587
|
step: t.step,
|
|
15588
15588
|
placeholder: t.placeholder,
|
|
15589
15589
|
autofocus: ""
|
|
15590
|
-
}, null, 8, ["modelValue", "min", "max", "step", "placeholder"])) : (m(),
|
|
15590
|
+
}, null, 8, ["modelValue", "min", "max", "step", "placeholder"])) : (m(), _(Ne, {
|
|
15591
15591
|
key: 2,
|
|
15592
15592
|
modelValue: c(b),
|
|
15593
15593
|
"onUpdate:modelValue": L[4] || (L[4] = (q) => Pe(b) ? b.value = q : null),
|
|
@@ -15617,7 +15617,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15617
15617
|
]),
|
|
15618
15618
|
_: 1
|
|
15619
15619
|
}, 8, ["modelValue"])) : j("", !0),
|
|
15620
|
-
c(s) && c(a) ? (m(),
|
|
15620
|
+
c(s) && c(a) ? (m(), _(an, {
|
|
15621
15621
|
key: 1,
|
|
15622
15622
|
modelValue: c(M),
|
|
15623
15623
|
"onUpdate:modelValue": L[10] || (L[10] = (q) => Pe(M) ? M.value = q : null),
|
|
@@ -15666,19 +15666,19 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15666
15666
|
} : void 0
|
|
15667
15667
|
]), 1032, ["modelValue"]),
|
|
15668
15668
|
y("div", r2, [
|
|
15669
|
-
(m(!0), w(Z, null, be(c(
|
|
15669
|
+
(m(!0), w(Z, null, be(c(D), (q) => (m(), w("div", {
|
|
15670
15670
|
key: String(q.value),
|
|
15671
15671
|
class: ve(["pec-picker-item", { "is-active": q.value === c(P) }]),
|
|
15672
15672
|
onClick: (ke) => P.value = q.value
|
|
15673
15673
|
}, [
|
|
15674
|
-
q.value === c(P) ? (m(),
|
|
15674
|
+
q.value === c(P) ? (m(), _(c(re), {
|
|
15675
15675
|
key: 0,
|
|
15676
15676
|
name: "check",
|
|
15677
15677
|
size: "16px"
|
|
15678
15678
|
})) : (m(), w("span", u2)),
|
|
15679
15679
|
y("span", d2, V(q.label), 1)
|
|
15680
15680
|
], 10, l2))), 128)),
|
|
15681
|
-
c(
|
|
15681
|
+
c(D).length ? j("", !0) : (m(), w("div", c2, V(t.options.length ? "Ничего не найдено" : "Список пуст"), 1))
|
|
15682
15682
|
]),
|
|
15683
15683
|
y("div", f2, [
|
|
15684
15684
|
g(le, {
|
|
@@ -15731,7 +15731,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15731
15731
|
e.store && await e.store.Update(e.row);
|
|
15732
15732
|
};
|
|
15733
15733
|
return (r, d) => (m(), w(Z, null, [
|
|
15734
|
-
(m(),
|
|
15734
|
+
(m(), _(c(Sn), {
|
|
15735
15735
|
key: t.prop,
|
|
15736
15736
|
class: "p-table-number-cell"
|
|
15737
15737
|
}, {
|
|
@@ -15744,7 +15744,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15744
15744
|
})
|
|
15745
15745
|
}, [
|
|
15746
15746
|
y("span", m2, V(c(a)), 1),
|
|
15747
|
-
c(o) ? (m(),
|
|
15747
|
+
c(o) ? (m(), _(Gn, { key: 0 }, {
|
|
15748
15748
|
default: k(() => [
|
|
15749
15749
|
ye(V(c(i)), 1)
|
|
15750
15750
|
]),
|
|
@@ -15754,7 +15754,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15754
15754
|
]),
|
|
15755
15755
|
_: 1
|
|
15756
15756
|
})),
|
|
15757
|
-
c(s) ? (m(),
|
|
15757
|
+
c(s) ? (m(), _(ws, {
|
|
15758
15758
|
key: 0,
|
|
15759
15759
|
ref_key: "edit",
|
|
15760
15760
|
ref: n,
|
|
@@ -15790,7 +15790,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15790
15790
|
const e = t, n = z(() => e.storeOpts.Options);
|
|
15791
15791
|
return Cn(async () => {
|
|
15792
15792
|
await e.storeOpts.GetOptions();
|
|
15793
|
-
}), (i, s) => (m(),
|
|
15793
|
+
}), (i, s) => (m(), _(c(Sn), {
|
|
15794
15794
|
key: t.prop,
|
|
15795
15795
|
class: "relation-cell"
|
|
15796
15796
|
}, {
|
|
@@ -15831,7 +15831,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15831
15831
|
e.store && await e.store.Update(e.row);
|
|
15832
15832
|
};
|
|
15833
15833
|
return (r, d) => (m(), w(Z, null, [
|
|
15834
|
-
(m(),
|
|
15834
|
+
(m(), _(c(Sn), {
|
|
15835
15835
|
key: t.prop,
|
|
15836
15836
|
class: "p-table-string-cell"
|
|
15837
15837
|
}, {
|
|
@@ -15844,7 +15844,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15844
15844
|
})
|
|
15845
15845
|
}, [
|
|
15846
15846
|
y("span", v2, V(c(a)), 1),
|
|
15847
|
-
c(o) ? (m(),
|
|
15847
|
+
c(o) ? (m(), _(Gn, { key: 0 }, {
|
|
15848
15848
|
default: k(() => [
|
|
15849
15849
|
ye(V(c(i)), 1)
|
|
15850
15850
|
]),
|
|
@@ -15854,7 +15854,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15854
15854
|
]),
|
|
15855
15855
|
_: 1
|
|
15856
15856
|
})),
|
|
15857
|
-
c(s) ? (m(),
|
|
15857
|
+
c(s) ? (m(), _(ws, {
|
|
15858
15858
|
key: 0,
|
|
15859
15859
|
ref_key: "edit",
|
|
15860
15860
|
ref: n,
|
|
@@ -15924,7 +15924,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15924
15924
|
var $, R;
|
|
15925
15925
|
h(b), s.store && await ((R = ($ = s.store).FTSP) == null ? void 0 : R.call($, { ftsp: l.value })), r("request");
|
|
15926
15926
|
};
|
|
15927
|
-
return (b, $) => (m(),
|
|
15927
|
+
return (b, $) => (m(), _(c(Bc), {
|
|
15928
15928
|
pagination: c(d),
|
|
15929
15929
|
"onUpdate:pagination": $[0] || ($[0] = (R) => Pe(d) ? d.value = R : null),
|
|
15930
15930
|
columns: t.cols,
|
|
@@ -15945,11 +15945,11 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15945
15945
|
H(b.$slots, "header", { props: R }, () => [
|
|
15946
15946
|
g(c(Rr), { props: R }, {
|
|
15947
15947
|
default: k(() => [
|
|
15948
|
-
t.lead ? (m(),
|
|
15948
|
+
t.lead ? (m(), _(c(Ir), {
|
|
15949
15949
|
key: 0,
|
|
15950
15950
|
class: "p-table__lead"
|
|
15951
15951
|
})) : j("", !0),
|
|
15952
|
-
(m(!0), w(Z, null, be(R.cols, (M) => (m(),
|
|
15952
|
+
(m(!0), w(Z, null, be(R.cols, (M) => (m(), _(c(Ir), {
|
|
15953
15953
|
key: M.name,
|
|
15954
15954
|
props: R,
|
|
15955
15955
|
style: K(n(M))
|
|
@@ -15977,7 +15977,7 @@ const Pw = new Tw(), Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
|
|
|
15977
15977
|
return [
|
|
15978
15978
|
g(c(Rr), at({ props: R }, ((M = t.rowAttrs) == null ? void 0 : M.call(t, R.row)) ?? {}), {
|
|
15979
15979
|
default: k(() => [
|
|
15980
|
-
t.lead ? (m(),
|
|
15980
|
+
t.lead ? (m(), _(c(Sn), {
|
|
15981
15981
|
key: 0,
|
|
15982
15982
|
class: "p-table__lead"
|
|
15983
15983
|
}, {
|
|
@@ -16066,7 +16066,7 @@ const w2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16066
16066
|
"onUpdate:modelValue": s
|
|
16067
16067
|
}, {
|
|
16068
16068
|
default: k(() => [
|
|
16069
|
-
(m(!0), w(Z, null, be(t.tabsStore.items, (l) => (m(),
|
|
16069
|
+
(m(!0), w(Z, null, be(t.tabsStore.items, (l) => (m(), _(c(xl), {
|
|
16070
16070
|
key: l.value,
|
|
16071
16071
|
name: l.value,
|
|
16072
16072
|
label: l.htmlLabel ? void 0 : l.label,
|
|
@@ -16078,7 +16078,7 @@ const w2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16078
16078
|
key: 0,
|
|
16079
16079
|
innerHTML: l.htmlLabel
|
|
16080
16080
|
}, null, 8, S2)) : j("", !0),
|
|
16081
|
-
l.alert ? (m(),
|
|
16081
|
+
l.alert ? (m(), _(c(Sl), {
|
|
16082
16082
|
key: 1,
|
|
16083
16083
|
color: "negative",
|
|
16084
16084
|
floating: "",
|
|
@@ -16103,7 +16103,7 @@ const w2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16103
16103
|
"transition-next": "slide-left"
|
|
16104
16104
|
}, {
|
|
16105
16105
|
default: k(() => [
|
|
16106
|
-
(m(!0), w(Z, null, be(t.tabsStore.items, (l) => (m(),
|
|
16106
|
+
(m(!0), w(Z, null, be(t.tabsStore.items, (l) => (m(), _(c(Tl), {
|
|
16107
16107
|
key: l.value,
|
|
16108
16108
|
name: l.value,
|
|
16109
16109
|
class: "tab-panel"
|
|
@@ -16113,7 +16113,7 @@ const w2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16113
16113
|
item: l,
|
|
16114
16114
|
tab: l
|
|
16115
16115
|
}, () => [
|
|
16116
|
-
(m(),
|
|
16116
|
+
(m(), _(In(l.component)))
|
|
16117
16117
|
], !0)
|
|
16118
16118
|
]),
|
|
16119
16119
|
_: 2
|
|
@@ -16152,7 +16152,7 @@ const w2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16152
16152
|
const h = f.action, p = typeof h == "function" ? h : h == null ? void 0 : h.value;
|
|
16153
16153
|
typeof p == "function" && p();
|
|
16154
16154
|
}, d = F(18);
|
|
16155
|
-
return (f, h) => (m(),
|
|
16155
|
+
return (f, h) => (m(), _(c(Nc), {
|
|
16156
16156
|
modelValue: c(d),
|
|
16157
16157
|
"onUpdate:modelValue": h[0] || (h[0] = (p) => Pe(d) ? d.value = p : null),
|
|
16158
16158
|
class: "full-height",
|
|
@@ -16164,7 +16164,7 @@ const w2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16164
16164
|
class: "left-menu"
|
|
16165
16165
|
}, {
|
|
16166
16166
|
default: k(() => [
|
|
16167
|
-
(m(!0), w(Z, null, be(t.tabsStore.items, (p) => (m(),
|
|
16167
|
+
(m(!0), w(Z, null, be(t.tabsStore.items, (p) => (m(), _(c(qn), {
|
|
16168
16168
|
key: p.value,
|
|
16169
16169
|
clickable: "",
|
|
16170
16170
|
active: p.value === t.tabsStore.value,
|
|
@@ -16186,7 +16186,7 @@ const w2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16186
16186
|
_: 1
|
|
16187
16187
|
}),
|
|
16188
16188
|
t.buttons.length ? (m(), w("div", k2, [
|
|
16189
|
-
(m(!0), w(Z, null, be(t.buttons, (p, b) => (m(),
|
|
16189
|
+
(m(!0), w(Z, null, be(t.buttons, (p, b) => (m(), _(le, {
|
|
16190
16190
|
key: b,
|
|
16191
16191
|
label: p.text,
|
|
16192
16192
|
color: l(p),
|
|
@@ -16204,13 +16204,13 @@ const w2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16204
16204
|
class: "left-panels"
|
|
16205
16205
|
}, {
|
|
16206
16206
|
default: k(() => [
|
|
16207
|
-
(m(!0), w(Z, null, be(t.tabsStore.GetItems(), (p) => (m(),
|
|
16207
|
+
(m(!0), w(Z, null, be(t.tabsStore.GetItems(), (p) => (m(), _(c(Tl), {
|
|
16208
16208
|
key: p.value,
|
|
16209
16209
|
name: p.value
|
|
16210
16210
|
}, {
|
|
16211
16211
|
default: k(() => [
|
|
16212
16212
|
H(f.$slots, "default", { item: p }, () => [
|
|
16213
|
-
(m(),
|
|
16213
|
+
(m(), _(In(p.component)))
|
|
16214
16214
|
], !0)
|
|
16215
16215
|
]),
|
|
16216
16216
|
_: 2
|
|
@@ -16289,7 +16289,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16289
16289
|
PTabsLeft: Jd,
|
|
16290
16290
|
TabsStore: or,
|
|
16291
16291
|
default: Zd
|
|
16292
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
16292
|
+
}, Symbol.toStringTag, { value: "Module" })), F3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16293
16293
|
__proto__: null,
|
|
16294
16294
|
Contacts: lv,
|
|
16295
16295
|
Filters: xv,
|
|
@@ -16337,11 +16337,11 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16337
16337
|
class: "text-grey-5"
|
|
16338
16338
|
}, j2 = {
|
|
16339
16339
|
key: 1,
|
|
16340
|
-
class: "
|
|
16341
|
-
}, G2 = {
|
|
16340
|
+
class: "admin-empty-state q-pa-lg text-center"
|
|
16341
|
+
}, G2 = { class: "text-grey-7" }, W2 = {
|
|
16342
16342
|
key: 2,
|
|
16343
16343
|
class: "row justify-center q-mt-md"
|
|
16344
|
-
},
|
|
16344
|
+
}, Y2 = /* @__PURE__ */ Y({
|
|
16345
16345
|
__name: "PAuditList",
|
|
16346
16346
|
props: {
|
|
16347
16347
|
entityLinks: { default: () => ({}) },
|
|
@@ -16353,7 +16353,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16353
16353
|
const P = /* @__PURE__ */ new Map();
|
|
16354
16354
|
for (const S of n.value)
|
|
16355
16355
|
S.entity && !P.has(S.entity) && P.set(S.entity, S.entityRus || S.entity);
|
|
16356
|
-
return [...P.entries()].map(([S,
|
|
16356
|
+
return [...P.entries()].map(([S, D]) => ({ value: S, label: D }));
|
|
16357
16357
|
}), f = [
|
|
16358
16358
|
{ name: "revert", label: "", align: "left", field: () => "" },
|
|
16359
16359
|
{ name: "createdAt", label: "Когда", align: "left", field: (P) => P.createdAt },
|
|
@@ -16366,7 +16366,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16366
16366
|
field: (P) => P.delta.map((S) => `${S.label}${S.old}${S.new}`).join("")
|
|
16367
16367
|
}
|
|
16368
16368
|
], h = (P) => P2(e.entityLinks, P.entity, P.objectId), p = F(null), b = F(null), $ = async (P, S) => {
|
|
16369
|
-
var
|
|
16369
|
+
var D, x, U;
|
|
16370
16370
|
try {
|
|
16371
16371
|
await W.UI.Dialog.Show({
|
|
16372
16372
|
title: S === "cascade" ? "Отменить это и всё после?" : "Отменить это изменение?",
|
|
@@ -16389,7 +16389,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16389
16389
|
W.UI.Notify.Error("Откат не удался");
|
|
16390
16390
|
return;
|
|
16391
16391
|
}
|
|
16392
|
-
const L = ((
|
|
16392
|
+
const L = ((D = A.data) == null ? void 0 : D.reverted) ?? 1;
|
|
16393
16393
|
W.UI.Notify.Success(
|
|
16394
16394
|
L > 1 ? `Откат выполнен: отменено записей — ${L}` : `Откат выполнен (полей: ${((U = (x = A.data) == null ? void 0 : x.applied) == null ? void 0 : U.length) ?? 0})`
|
|
16395
16395
|
), await R();
|
|
@@ -16397,7 +16397,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16397
16397
|
p.value = null, b.value = null;
|
|
16398
16398
|
}
|
|
16399
16399
|
}, R = async () => {
|
|
16400
|
-
var
|
|
16400
|
+
var D, x;
|
|
16401
16401
|
const P = new URLSearchParams({
|
|
16402
16402
|
offset: String((l.value - 1) * e.limit),
|
|
16403
16403
|
limit: String(e.limit)
|
|
@@ -16406,7 +16406,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16406
16406
|
const S = await W.H.Try.Run(
|
|
16407
16407
|
() => W.H.HttpClient.Get({ query: `audit-log?${P.toString()}` })
|
|
16408
16408
|
);
|
|
16409
|
-
S.ok ? (n.value = ((
|
|
16409
|
+
S.ok ? (n.value = ((D = S.data) == null ? void 0 : D.items) ?? [], i.value = ((x = S.data) == null ? void 0 : x.count) ?? 0) : (n.value = [], i.value = 0, W.UI.Notify.Error("Не удалось загрузить журнал изменений"));
|
|
16410
16410
|
}, M = async () => {
|
|
16411
16411
|
const P = await W.H.Try.Run(
|
|
16412
16412
|
() => W.H.HttpClient.Get({ query: "audit-log/operations" })
|
|
@@ -16420,7 +16420,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16420
16420
|
}), ci(async () => {
|
|
16421
16421
|
await M(), await R();
|
|
16422
16422
|
}), (P, S) => {
|
|
16423
|
-
const
|
|
16423
|
+
const D = $e("q-icon"), x = $e("q-space"), U = $e("q-td"), A = $e("RouterLink"), L = $e("q-pagination");
|
|
16424
16424
|
return m(), w("div", R2, [
|
|
16425
16425
|
y("div", I2, [
|
|
16426
16426
|
y("div", M2, [
|
|
@@ -16433,7 +16433,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16433
16433
|
"hide-bottom-space": ""
|
|
16434
16434
|
}, {
|
|
16435
16435
|
prepend: k(() => [
|
|
16436
|
-
g(
|
|
16436
|
+
g(D, {
|
|
16437
16437
|
name: "search",
|
|
16438
16438
|
size: "16px"
|
|
16439
16439
|
})
|
|
@@ -16474,7 +16474,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16474
16474
|
onClick: R
|
|
16475
16475
|
})
|
|
16476
16476
|
]),
|
|
16477
|
-
c(n).length ? (m(),
|
|
16477
|
+
c(n).length ? (m(), _(sr, {
|
|
16478
16478
|
key: 0,
|
|
16479
16479
|
dense: "",
|
|
16480
16480
|
cols: f,
|
|
@@ -16510,7 +16510,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16510
16510
|
title: "Отменить это изменение и всё, что было после него",
|
|
16511
16511
|
onClick: (ke) => $(q, "cascade")
|
|
16512
16512
|
}, null, 8, ["loading", "onClick"])
|
|
16513
|
-
], 64)) : (m(), D
|
|
16513
|
+
], 64)) : (m(), _(D, {
|
|
16514
16514
|
key: 1,
|
|
16515
16515
|
name: "block",
|
|
16516
16516
|
size: "14px",
|
|
@@ -16546,13 +16546,13 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16546
16546
|
label: c(Kd)(q.operation, c(r))
|
|
16547
16547
|
}, null, 8, ["color", "label"]),
|
|
16548
16548
|
y("span", D2, V(q.entityRus || q.entity), 1),
|
|
16549
|
-
q.isRevert ? (m(),
|
|
16549
|
+
q.isRevert ? (m(), _(Fi, {
|
|
16550
16550
|
key: 0,
|
|
16551
16551
|
color: "warning",
|
|
16552
16552
|
label: "Откат"
|
|
16553
16553
|
})) : j("", !0)
|
|
16554
16554
|
]),
|
|
16555
|
-
h(q) ? (m(),
|
|
16555
|
+
h(q) ? (m(), _(A, {
|
|
16556
16556
|
key: 0,
|
|
16557
16557
|
to: h(q).to(q.objectId),
|
|
16558
16558
|
class: "what-link",
|
|
@@ -16562,7 +16562,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16562
16562
|
}, {
|
|
16563
16563
|
default: k(() => [
|
|
16564
16564
|
S[5] || (S[5] = ye(" открыть ", -1)),
|
|
16565
|
-
g(
|
|
16565
|
+
g(D, {
|
|
16566
16566
|
name: "open_in_new",
|
|
16567
16567
|
size: "12px"
|
|
16568
16568
|
})
|
|
@@ -16585,7 +16585,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16585
16585
|
}, [
|
|
16586
16586
|
y("span", z2, V(Se.label) + ":", 1),
|
|
16587
16587
|
y("span", L2, V(Se.old), 1),
|
|
16588
|
-
g(
|
|
16588
|
+
g(D, {
|
|
16589
16589
|
name: "arrow_forward",
|
|
16590
16590
|
size: "12px",
|
|
16591
16591
|
class: "q-mx-xs"
|
|
@@ -16598,8 +16598,15 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16598
16598
|
}, 1024)
|
|
16599
16599
|
]),
|
|
16600
16600
|
_: 1
|
|
16601
|
-
}, 8, ["items"])) : (m(), w("div", j2,
|
|
16602
|
-
|
|
16601
|
+
}, 8, ["items"])) : (m(), w("div", j2, [
|
|
16602
|
+
g(D, {
|
|
16603
|
+
name: "history",
|
|
16604
|
+
size: "40px",
|
|
16605
|
+
class: "text-grey-5 q-mb-sm"
|
|
16606
|
+
}),
|
|
16607
|
+
y("div", G2, V(c(s) || c(a) || c(o) ? "Ничего не найдено — измените условия поиска" : "Записей нет"), 1)
|
|
16608
|
+
])),
|
|
16609
|
+
c(i) > t.limit ? (m(), w("div", W2, [
|
|
16603
16610
|
g(L, {
|
|
16604
16611
|
"model-value": c(l),
|
|
16605
16612
|
max: Math.ceil(c(i) / t.limit),
|
|
@@ -16612,28 +16619,28 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16612
16619
|
]);
|
|
16613
16620
|
};
|
|
16614
16621
|
}
|
|
16615
|
-
}),
|
|
16622
|
+
}), O3 = /* @__PURE__ */ X(Y2, [["__scopeId", "data-v-bd6f0239"]]), Q2 = { class: "q-pa-md" }, X2 = {
|
|
16616
16623
|
key: 0,
|
|
16617
16624
|
class: "text-grey-6 q-pa-md"
|
|
16618
|
-
},
|
|
16625
|
+
}, J2 = {
|
|
16619
16626
|
key: 1,
|
|
16620
16627
|
class: "journal"
|
|
16621
|
-
},
|
|
16628
|
+
}, Z2 = { class: "journal-when" }, K2 = { class: "journal-body" }, eS = { class: "journal-head" }, tS = {
|
|
16622
16629
|
key: 0,
|
|
16623
16630
|
class: "journal-entity"
|
|
16624
|
-
},
|
|
16631
|
+
}, nS = { class: "journal-user" }, iS = {
|
|
16625
16632
|
key: 0,
|
|
16626
16633
|
class: "journal-delta"
|
|
16627
|
-
},
|
|
16634
|
+
}, sS = { class: "journal-label" }, oS = { class: "journal-old" }, aS = { class: "journal-new" }, rS = {
|
|
16628
16635
|
key: 1,
|
|
16629
16636
|
class: "text-grey-6"
|
|
16630
|
-
},
|
|
16637
|
+
}, lS = {
|
|
16631
16638
|
key: 2,
|
|
16632
16639
|
class: "text-grey-6"
|
|
16633
|
-
},
|
|
16640
|
+
}, uS = {
|
|
16634
16641
|
key: 3,
|
|
16635
16642
|
class: "text-grey-5"
|
|
16636
|
-
},
|
|
16643
|
+
}, dS = /* @__PURE__ */ Y({
|
|
16637
16644
|
__name: "PAuditJournal",
|
|
16638
16645
|
props: {
|
|
16639
16646
|
objectId: { default: "" },
|
|
@@ -16669,51 +16676,51 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16669
16676
|
};
|
|
16670
16677
|
return Me(() => [e.objectId, e.entities], () => void s(), { immediate: !0, deep: !0 }), (o, a) => {
|
|
16671
16678
|
const l = $e("q-icon");
|
|
16672
|
-
return m(), w("div",
|
|
16673
|
-
c(n).length ? (m(), w("div",
|
|
16679
|
+
return m(), w("div", Q2, [
|
|
16680
|
+
c(n).length ? (m(), w("div", J2, [
|
|
16674
16681
|
(m(!0), w(Z, null, be(c(n), (r) => {
|
|
16675
16682
|
var d;
|
|
16676
16683
|
return m(), w("div", {
|
|
16677
16684
|
key: r.id,
|
|
16678
16685
|
class: "journal-row"
|
|
16679
16686
|
}, [
|
|
16680
|
-
y("div",
|
|
16681
|
-
y("div",
|
|
16682
|
-
y("div",
|
|
16687
|
+
y("div", Z2, V(c(tc)(r.createdAt)), 1),
|
|
16688
|
+
y("div", K2, [
|
|
16689
|
+
y("div", eS, [
|
|
16683
16690
|
g(Fi, {
|
|
16684
16691
|
color: c(ec)(r.operation),
|
|
16685
16692
|
label: c(Kd)(r.operation, t.operations)
|
|
16686
16693
|
}, null, 8, ["color", "label"]),
|
|
16687
|
-
r.entityRus ? (m(), w("span",
|
|
16688
|
-
y("span",
|
|
16689
|
-
r.isRevert ? (m(),
|
|
16694
|
+
r.entityRus ? (m(), w("span", tS, V(r.entityRus), 1)) : j("", !0),
|
|
16695
|
+
y("span", nS, V(r.userName || "система"), 1),
|
|
16696
|
+
r.isRevert ? (m(), _(Fi, {
|
|
16690
16697
|
key: 1,
|
|
16691
16698
|
color: "warning",
|
|
16692
16699
|
label: "Откат"
|
|
16693
16700
|
})) : j("", !0)
|
|
16694
16701
|
]),
|
|
16695
|
-
(d = r.delta) != null && d.length ? (m(), w("div",
|
|
16702
|
+
(d = r.delta) != null && d.length ? (m(), w("div", iS, [
|
|
16696
16703
|
(m(!0), w(Z, null, be(r.delta, (f) => (m(), w("div", {
|
|
16697
16704
|
key: f.field
|
|
16698
16705
|
}, [
|
|
16699
|
-
y("span",
|
|
16700
|
-
y("span",
|
|
16706
|
+
y("span", sS, V(f.label) + ":", 1),
|
|
16707
|
+
y("span", oS, V(f.old), 1),
|
|
16701
16708
|
g(l, {
|
|
16702
16709
|
name: "arrow_forward",
|
|
16703
16710
|
size: "12px",
|
|
16704
16711
|
class: "q-mx-xs"
|
|
16705
16712
|
}),
|
|
16706
|
-
y("span",
|
|
16713
|
+
y("span", aS, V(f.new), 1)
|
|
16707
16714
|
]))), 128))
|
|
16708
|
-
])) : r.operation === "create" ? (m(), w("div",
|
|
16715
|
+
])) : r.operation === "create" ? (m(), w("div", rS, "создано")) : r.isRevert ? (m(), w("div", lS, "возврат к состоянию из журнала")) : r.oldValue ? (m(), w("div", uS, "без изменений")) : j("", !0)
|
|
16709
16716
|
])
|
|
16710
16717
|
]);
|
|
16711
16718
|
}), 128))
|
|
16712
|
-
])) : (m(), w("div",
|
|
16719
|
+
])) : (m(), w("div", X2, V(c(i) ? "Загрузка…" : "Изменений пока не было"), 1))
|
|
16713
16720
|
]);
|
|
16714
16721
|
};
|
|
16715
16722
|
}
|
|
16716
|
-
}),
|
|
16723
|
+
}), D3 = /* @__PURE__ */ X(dS, [["__scopeId", "data-v-a4ff7a03"]]), cS = /* @__PURE__ */ Y({
|
|
16717
16724
|
inheritAttrs: !1,
|
|
16718
16725
|
__name: "PChip",
|
|
16719
16726
|
props: {
|
|
@@ -16733,7 +16740,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16733
16740
|
["label", "color", "text-color", "outline", "square", "dense", "removable"].includes(a) || (o[a] = i[a]);
|
|
16734
16741
|
return o;
|
|
16735
16742
|
});
|
|
16736
|
-
return (o, a) => (m(),
|
|
16743
|
+
return (o, a) => (m(), _(c(Hc), at(c(s), {
|
|
16737
16744
|
label: t.label || void 0,
|
|
16738
16745
|
color: t.color || void 0,
|
|
16739
16746
|
"text-color": t.textColor || void 0,
|
|
@@ -16764,7 +16771,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16764
16771
|
} : void 0
|
|
16765
16772
|
]), 1040, ["label", "color", "text-color", "outline", "square", "dense", "removable"]));
|
|
16766
16773
|
}
|
|
16767
|
-
}),
|
|
16774
|
+
}), fS = { class: "row items-center justify-end" }, hS = { class: "row items-center justify-end" }, mS = /* @__PURE__ */ Y({
|
|
16768
16775
|
__name: "PDateTimeInput",
|
|
16769
16776
|
props: /* @__PURE__ */ De({
|
|
16770
16777
|
label: { type: String, default: "Дата и время" },
|
|
@@ -16824,7 +16831,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16824
16831
|
format24h: !0,
|
|
16825
16832
|
pluralDay: "дни"
|
|
16826
16833
|
};
|
|
16827
|
-
return ($, R) => (m(),
|
|
16834
|
+
return ($, R) => (m(), _(Ne, {
|
|
16828
16835
|
"model-value": c(i),
|
|
16829
16836
|
label: t.label,
|
|
16830
16837
|
placeholder: t.placeholder,
|
|
@@ -16853,7 +16860,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16853
16860
|
locale: b
|
|
16854
16861
|
}, {
|
|
16855
16862
|
default: k(() => [
|
|
16856
|
-
y("div",
|
|
16863
|
+
y("div", fS, [
|
|
16857
16864
|
Ze(g(le, {
|
|
16858
16865
|
label: "OK",
|
|
16859
16866
|
color: "primary",
|
|
@@ -16889,7 +16896,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16889
16896
|
locale: b
|
|
16890
16897
|
}, {
|
|
16891
16898
|
default: k(() => [
|
|
16892
|
-
y("div",
|
|
16899
|
+
y("div", hS, [
|
|
16893
16900
|
Ze(g(le, {
|
|
16894
16901
|
label: "OK",
|
|
16895
16902
|
color: "primary",
|
|
@@ -16912,7 +16919,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16912
16919
|
_: 1
|
|
16913
16920
|
}, 8, ["model-value", "label", "placeholder", "disable", "readonly", "error", "error-message", "rules"]));
|
|
16914
16921
|
}
|
|
16915
|
-
}),
|
|
16922
|
+
}), pS = /* @__PURE__ */ Y({
|
|
16916
16923
|
inheritAttrs: !1,
|
|
16917
16924
|
__name: "PFlex",
|
|
16918
16925
|
props: {
|
|
@@ -16944,10 +16951,10 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16944
16951
|
H(e.$slots, "default", {}, void 0, !0)
|
|
16945
16952
|
], 4));
|
|
16946
16953
|
}
|
|
16947
|
-
}),
|
|
16954
|
+
}), gS = /* @__PURE__ */ X(pS, [["__scopeId", "data-v-71357bc9"]]), vS = {
|
|
16948
16955
|
key: 0,
|
|
16949
16956
|
class: "p-form__actions row justify-end q-gutter-sm q-mt-md"
|
|
16950
|
-
},
|
|
16957
|
+
}, yS = /* @__PURE__ */ Y({
|
|
16951
16958
|
name: "PForm",
|
|
16952
16959
|
__name: "PForm",
|
|
16953
16960
|
props: /* @__PURE__ */ De({
|
|
@@ -16989,7 +16996,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16989
16996
|
}, reset: (T) => {
|
|
16990
16997
|
var P;
|
|
16991
16998
|
return (P = l.value) == null ? void 0 : P.reset(T);
|
|
16992
|
-
} }), (T, P) => (m(),
|
|
16999
|
+
} }), (T, P) => (m(), _(c(jc), {
|
|
16993
17000
|
ref_key: "qFormRef",
|
|
16994
17001
|
ref: l,
|
|
16995
17002
|
greedy: t.greedy,
|
|
@@ -17004,7 +17011,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17004
17011
|
}, {
|
|
17005
17012
|
default: k(() => [
|
|
17006
17013
|
H(T.$slots, "default", {}, void 0, !0),
|
|
17007
|
-
T.$slots.actions ? (m(), w("div",
|
|
17014
|
+
T.$slots.actions ? (m(), w("div", vS, [
|
|
17008
17015
|
H(T.$slots, "actions", {
|
|
17009
17016
|
valid: c(o),
|
|
17010
17017
|
validate: p,
|
|
@@ -17015,7 +17022,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17015
17022
|
_: 3
|
|
17016
17023
|
}, 8, ["greedy", "autofocus", "no-error-focus", "no-reset-focus"]));
|
|
17017
17024
|
}
|
|
17018
|
-
}),
|
|
17025
|
+
}), bS = /* @__PURE__ */ X(yS, [["__scopeId", "data-v-a64ba3d2"]]), wS = { class: "p-hint-popup" }, SS = /* @__PURE__ */ Y({
|
|
17019
17026
|
__name: "PHint",
|
|
17020
17027
|
props: {
|
|
17021
17028
|
text: {}
|
|
@@ -17023,7 +17030,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17023
17030
|
setup(t) {
|
|
17024
17031
|
const e = F(!1);
|
|
17025
17032
|
return (n, i) => (m(), w(Z, null, [
|
|
17026
|
-
t.text ? (m(),
|
|
17033
|
+
t.text ? (m(), _(c(re), {
|
|
17027
17034
|
key: 0,
|
|
17028
17035
|
name: "help_outline",
|
|
17029
17036
|
size: "15px",
|
|
@@ -17054,13 +17061,13 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17054
17061
|
"max-width": "340px"
|
|
17055
17062
|
}, {
|
|
17056
17063
|
default: k(() => [
|
|
17057
|
-
y("div",
|
|
17064
|
+
y("div", wS, V(t.text), 1)
|
|
17058
17065
|
]),
|
|
17059
17066
|
_: 1
|
|
17060
17067
|
}, 8, ["modelValue"])
|
|
17061
17068
|
], 64));
|
|
17062
17069
|
}
|
|
17063
|
-
}), nc = /* @__PURE__ */ X(
|
|
17070
|
+
}), nc = /* @__PURE__ */ X(SS, [["__scopeId", "data-v-7c2a3d62"]]), CS = /* @__PURE__ */ Y({
|
|
17064
17071
|
__name: "PLeftSlider",
|
|
17065
17072
|
props: {
|
|
17066
17073
|
open: { type: Boolean, default: !1 },
|
|
@@ -17156,14 +17163,14 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17156
17163
|
onClick: l[0] || (l[0] = (d) => o(!c(s)))
|
|
17157
17164
|
}, {
|
|
17158
17165
|
default: k(() => [
|
|
17159
|
-
c(s) ? (m(),
|
|
17166
|
+
c(s) ? (m(), _(r, {
|
|
17160
17167
|
key: 0,
|
|
17161
17168
|
string: t.titleOpen,
|
|
17162
17169
|
"font-size": "16px",
|
|
17163
17170
|
padding: "0",
|
|
17164
17171
|
color: "inherit"
|
|
17165
17172
|
}, null, 8, ["string"])) : j("", !0),
|
|
17166
|
-
c(s) ? j("", !0) : (m(),
|
|
17173
|
+
c(s) ? j("", !0) : (m(), _(r, {
|
|
17167
17174
|
key: 1,
|
|
17168
17175
|
string: t.titleClose,
|
|
17169
17176
|
"font-size": "16px",
|
|
@@ -17177,7 +17184,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17177
17184
|
], 64);
|
|
17178
17185
|
};
|
|
17179
17186
|
}
|
|
17180
|
-
}),
|
|
17187
|
+
}), kS = /* @__PURE__ */ X(CS, [["__scopeId", "data-v-483e850f"]]), xS = /* @__PURE__ */ Y({
|
|
17181
17188
|
__name: "PList",
|
|
17182
17189
|
props: {
|
|
17183
17190
|
margin: { type: String, required: !1, default: "" },
|
|
@@ -17185,7 +17192,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17185
17192
|
width: { type: String, required: !1, default: "300px" }
|
|
17186
17193
|
},
|
|
17187
17194
|
setup(t) {
|
|
17188
|
-
return (e, n) => (m(),
|
|
17195
|
+
return (e, n) => (m(), _(c(Oi), {
|
|
17189
17196
|
tag: "ul",
|
|
17190
17197
|
style: K({
|
|
17191
17198
|
margin: t.margin,
|
|
@@ -17199,7 +17206,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17199
17206
|
_: 3
|
|
17200
17207
|
}, 8, ["style"]));
|
|
17201
17208
|
}
|
|
17202
|
-
}),
|
|
17209
|
+
}), $S = /* @__PURE__ */ Y({
|
|
17203
17210
|
__name: "PListItem",
|
|
17204
17211
|
props: {
|
|
17205
17212
|
margin: { type: String, required: !1, default: "" },
|
|
@@ -17208,7 +17215,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17208
17215
|
background: { type: String, required: !1, default: "" }
|
|
17209
17216
|
},
|
|
17210
17217
|
setup(t) {
|
|
17211
|
-
return (e, n) => (m(),
|
|
17218
|
+
return (e, n) => (m(), _(c(qn), {
|
|
17212
17219
|
tag: "li",
|
|
17213
17220
|
style: K({
|
|
17214
17221
|
margin: t.margin,
|
|
@@ -17223,22 +17230,22 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17223
17230
|
_: 3
|
|
17224
17231
|
}, 8, ["style"]));
|
|
17225
17232
|
}
|
|
17226
|
-
}),
|
|
17233
|
+
}), TS = {
|
|
17227
17234
|
key: 0,
|
|
17228
17235
|
class: "p-loader__state"
|
|
17229
|
-
},
|
|
17236
|
+
}, PS = {
|
|
17230
17237
|
key: 0,
|
|
17231
17238
|
class: "p-loader__text"
|
|
17232
|
-
},
|
|
17239
|
+
}, RS = {
|
|
17233
17240
|
key: 1,
|
|
17234
17241
|
class: "p-loader__state"
|
|
17235
|
-
},
|
|
17242
|
+
}, IS = { class: "p-loader__text" }, MS = {
|
|
17236
17243
|
key: 2,
|
|
17237
17244
|
class: "p-loader__state"
|
|
17238
|
-
},
|
|
17245
|
+
}, AS = {
|
|
17239
17246
|
key: 0,
|
|
17240
17247
|
class: "p-loader__text"
|
|
17241
|
-
},
|
|
17248
|
+
}, ES = /* @__PURE__ */ Y({
|
|
17242
17249
|
name: "PLoader",
|
|
17243
17250
|
__name: "PLoader",
|
|
17244
17251
|
props: {
|
|
@@ -17260,21 +17267,21 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17260
17267
|
return (i, s) => (m(), w("div", {
|
|
17261
17268
|
class: ve(["p-loader", { "p-loader--inline": t.inline }])
|
|
17262
17269
|
}, [
|
|
17263
|
-
t.loading ? (m(), w("div",
|
|
17270
|
+
t.loading ? (m(), w("div", TS, [
|
|
17264
17271
|
g(c(wl), {
|
|
17265
17272
|
color: t.spinnerColor,
|
|
17266
17273
|
size: t.spinnerSize
|
|
17267
17274
|
}, null, 8, ["color", "size"]),
|
|
17268
|
-
t.loadingText ? (m(), w("div",
|
|
17275
|
+
t.loadingText ? (m(), w("div", PS, V(t.loadingText), 1)) : j("", !0),
|
|
17269
17276
|
H(i.$slots, "loading", {}, void 0, !0)
|
|
17270
|
-
])) : t.error ? (m(), w("div",
|
|
17277
|
+
])) : t.error ? (m(), w("div", RS, [
|
|
17271
17278
|
g(c(re), {
|
|
17272
17279
|
name: "error_outline",
|
|
17273
17280
|
size: t.iconSize,
|
|
17274
17281
|
class: "p-loader__icon--error"
|
|
17275
17282
|
}, null, 8, ["size"]),
|
|
17276
|
-
y("div",
|
|
17277
|
-
t.retryLabel ? (m(),
|
|
17283
|
+
y("div", IS, V(t.error), 1),
|
|
17284
|
+
t.retryLabel ? (m(), _(le, {
|
|
17278
17285
|
key: 0,
|
|
17279
17286
|
unelevated: "",
|
|
17280
17287
|
color: "primary",
|
|
@@ -17285,18 +17292,18 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17285
17292
|
H(i.$slots, "error", {
|
|
17286
17293
|
retry: () => n("retry")
|
|
17287
17294
|
}, void 0, !0)
|
|
17288
|
-
])) : t.empty ? (m(), w("div",
|
|
17295
|
+
])) : t.empty ? (m(), w("div", MS, [
|
|
17289
17296
|
g(c(re), {
|
|
17290
17297
|
name: t.emptyIcon,
|
|
17291
17298
|
size: t.iconSize,
|
|
17292
17299
|
class: "p-loader__icon--empty"
|
|
17293
17300
|
}, null, 8, ["name", "size"]),
|
|
17294
|
-
t.emptyText ? (m(), w("div",
|
|
17301
|
+
t.emptyText ? (m(), w("div", AS, V(t.emptyText), 1)) : j("", !0),
|
|
17295
17302
|
H(i.$slots, "empty", {}, void 0, !0)
|
|
17296
17303
|
])) : H(i.$slots, "default", {}, void 0, !0, 3)
|
|
17297
17304
|
], 2));
|
|
17298
17305
|
}
|
|
17299
|
-
}),
|
|
17306
|
+
}), FS = /* @__PURE__ */ X(ES, [["__scopeId", "data-v-fb83c4ac"]]), OS = /* @__PURE__ */ Y({
|
|
17300
17307
|
__name: "POpts",
|
|
17301
17308
|
props: {
|
|
17302
17309
|
label: {},
|
|
@@ -17335,7 +17342,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17335
17342
|
return Cn(async () => {
|
|
17336
17343
|
var r, d;
|
|
17337
17344
|
n.length > 0 || !e.storeOpts || await ((d = (r = e.storeOpts).GetOptions) == null ? void 0 : d.call(r, e.optLabel, e.optValue));
|
|
17338
|
-
}), (r, d) => (m(),
|
|
17345
|
+
}), (r, d) => (m(), _(Nt, {
|
|
17339
17346
|
"use-input": "",
|
|
17340
17347
|
options: c(i),
|
|
17341
17348
|
"model-value": t.item[t.prop + "Id"],
|
|
@@ -17355,7 +17362,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17355
17362
|
_: 1
|
|
17356
17363
|
}, 8, ["options", "model-value", "label", "disable"]));
|
|
17357
17364
|
}
|
|
17358
|
-
}),
|
|
17365
|
+
}), DS = /* @__PURE__ */ Y({
|
|
17359
17366
|
__name: "PRightSlider",
|
|
17360
17367
|
props: {
|
|
17361
17368
|
open: { type: Boolean, default: !1 },
|
|
@@ -17445,14 +17452,14 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17445
17452
|
onClick: l[0] || (l[0] = (d) => o(!c(s)))
|
|
17446
17453
|
}, {
|
|
17447
17454
|
default: k(() => [
|
|
17448
|
-
c(s) ? (m(),
|
|
17455
|
+
c(s) ? (m(), _(r, {
|
|
17449
17456
|
key: 0,
|
|
17450
17457
|
string: t.titleOpen,
|
|
17451
17458
|
"font-size": "16px",
|
|
17452
17459
|
padding: "0",
|
|
17453
17460
|
color: "inherit"
|
|
17454
17461
|
}, null, 8, ["string"])) : j("", !0),
|
|
17455
|
-
c(s) ? j("", !0) : (m(),
|
|
17462
|
+
c(s) ? j("", !0) : (m(), _(r, {
|
|
17456
17463
|
key: 1,
|
|
17457
17464
|
string: t.titleClose,
|
|
17458
17465
|
"font-size": "16px",
|
|
@@ -17476,7 +17483,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17476
17483
|
], 4);
|
|
17477
17484
|
};
|
|
17478
17485
|
}
|
|
17479
|
-
}),
|
|
17486
|
+
}), _S = /* @__PURE__ */ X(DS, [["__scopeId", "data-v-e4dd5846"]]), zS = "var(--brand-shadow-color, rgb(0 0 0 / 30%))", LS = /* @__PURE__ */ Y({
|
|
17480
17487
|
__name: "PSticky",
|
|
17481
17488
|
props: {
|
|
17482
17489
|
shadow: { type: Boolean, default: !1 },
|
|
@@ -17497,7 +17504,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17497
17504
|
top: t.top,
|
|
17498
17505
|
background: t.background,
|
|
17499
17506
|
padding: t.padding,
|
|
17500
|
-
boxShadow: t.shadow ? `0 0 5px 2px ${
|
|
17507
|
+
boxShadow: t.shadow ? `0 0 5px 2px ${zS}` : "none",
|
|
17501
17508
|
borderBottom: t.divider ? "1px solid" : "none",
|
|
17502
17509
|
borderColor: t.dividerColor
|
|
17503
17510
|
})
|
|
@@ -17505,7 +17512,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17505
17512
|
H(e.$slots, "default", {}, void 0, !0)
|
|
17506
17513
|
], 4));
|
|
17507
17514
|
}
|
|
17508
|
-
}),
|
|
17515
|
+
}), VS = /* @__PURE__ */ X(LS, [["__scopeId", "data-v-7da943db"]]), US = /* @__PURE__ */ Y({
|
|
17509
17516
|
__name: "PTableToggle",
|
|
17510
17517
|
props: {
|
|
17511
17518
|
row: {},
|
|
@@ -17517,7 +17524,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17517
17524
|
const e = t, n = z(() => e.row[e.prop]), i = async () => {
|
|
17518
17525
|
e.row[e.prop] = !e.row[e.prop], await e.store.Update(e.row);
|
|
17519
17526
|
};
|
|
17520
|
-
return (s, o) => (m(),
|
|
17527
|
+
return (s, o) => (m(), _(c(Sn), { key: t.prop }, {
|
|
17521
17528
|
default: k(() => [
|
|
17522
17529
|
y("div", {
|
|
17523
17530
|
class: ve(["toggle-cell", { clickable: !e.readonly }]),
|
|
@@ -17539,7 +17546,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17539
17546
|
_: 1
|
|
17540
17547
|
}));
|
|
17541
17548
|
}
|
|
17542
|
-
}),
|
|
17549
|
+
}), BS = /* @__PURE__ */ X(US, [["__scopeId", "data-v-96a76c56"]]), qS = /* @__PURE__ */ Y({
|
|
17543
17550
|
__name: "PTimeInput",
|
|
17544
17551
|
props: {
|
|
17545
17552
|
modelValue: { default: "" },
|
|
@@ -17595,7 +17602,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17595
17602
|
}
|
|
17596
17603
|
s.value = d.value, i("update:model-value", d.value);
|
|
17597
17604
|
};
|
|
17598
|
-
return (p, b) => (m(),
|
|
17605
|
+
return (p, b) => (m(), _(Ne, {
|
|
17599
17606
|
"model-value": c(s),
|
|
17600
17607
|
label: t.label,
|
|
17601
17608
|
placeholder: t.placeholder,
|
|
@@ -17622,7 +17629,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17622
17629
|
} : void 0
|
|
17623
17630
|
]), 1032, ["model-value", "label", "placeholder", "disable"]));
|
|
17624
17631
|
}
|
|
17625
|
-
}),
|
|
17632
|
+
}), NS = { class: "top-slider-content" }, HS = { class: "center" }, jS = /* @__PURE__ */ Y({
|
|
17626
17633
|
__name: "PTopSlider",
|
|
17627
17634
|
props: {
|
|
17628
17635
|
sliderOffHeight: {
|
|
@@ -17673,8 +17680,8 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17673
17680
|
onClick: l[3] || (l[3] = Ye(() => {
|
|
17674
17681
|
}, ["stop"]))
|
|
17675
17682
|
}, [
|
|
17676
|
-
y("div",
|
|
17677
|
-
y("div",
|
|
17683
|
+
y("div", NS, [
|
|
17684
|
+
y("div", HS, [
|
|
17678
17685
|
H(a.$slots, "default", {}, void 0, !0)
|
|
17679
17686
|
])
|
|
17680
17687
|
]),
|
|
@@ -17697,7 +17704,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17697
17704
|
], 4)
|
|
17698
17705
|
], 64));
|
|
17699
17706
|
}
|
|
17700
|
-
}),
|
|
17707
|
+
}), GS = /* @__PURE__ */ X(jS, [["__scopeId", "data-v-3f29d8f7"]]), WS = { class: "p-widget" }, YS = { class: "p-widget-body" }, QS = { class: "p-widget-value" }, XS = { class: "p-widget-label" }, JS = /* @__PURE__ */ Y({
|
|
17701
17708
|
__name: "PWidget",
|
|
17702
17709
|
props: {
|
|
17703
17710
|
label: {},
|
|
@@ -17707,7 +17714,7 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17707
17714
|
},
|
|
17708
17715
|
setup(t) {
|
|
17709
17716
|
const e = t, n = z(() => typeof e.value == "number" ? e.value.toLocaleString("ru-RU") : e.value);
|
|
17710
|
-
return (i, s) => (m(), w("div",
|
|
17717
|
+
return (i, s) => (m(), w("div", WS, [
|
|
17711
17718
|
t.icon ? (m(), w("div", {
|
|
17712
17719
|
key: 0,
|
|
17713
17720
|
class: "p-widget-icon",
|
|
@@ -17719,29 +17726,29 @@ const $2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17719
17726
|
color: "white"
|
|
17720
17727
|
}, null, 8, ["name"])
|
|
17721
17728
|
], 4)) : j("", !0),
|
|
17722
|
-
y("div",
|
|
17723
|
-
y("div",
|
|
17724
|
-
y("div",
|
|
17729
|
+
y("div", YS, [
|
|
17730
|
+
y("div", QS, V(c(n)), 1),
|
|
17731
|
+
y("div", XS, V(t.label), 1)
|
|
17725
17732
|
])
|
|
17726
17733
|
]));
|
|
17727
17734
|
}
|
|
17728
|
-
}),
|
|
17729
|
-
function
|
|
17730
|
-
t.component("PButton", le), t.component("PBadge", Fi), t.component("PCheckBox", os), t.component("PChip",
|
|
17735
|
+
}), ZS = /* @__PURE__ */ X(JS, [["__scopeId", "data-v-360c6386"]]);
|
|
17736
|
+
function KS(t) {
|
|
17737
|
+
t.component("PButton", le), t.component("PBadge", Fi), t.component("PCheckBox", os), t.component("PChip", cS), t.component("PDateInput", Ha), t.component("PDateTimeInput", mS), t.component("PDialog", an), t.component("PFlex", gS), t.component("PForm", bS), t.component("PHint", nc), t.component("PInput", Ne), t.component("PInputNumber", Hu), t.component("PLeftSlider", kS), t.component("PList", xS), t.component("PListItem", $S), t.component("PLoader", FS), t.component("POptionsListSingle", ir), t.component("POpts", OS), t.component("PRadio", ju), t.component("PRightSlider", _S), t.component("PSelect", Nt), t.component("PSticky", VS), t.component("PString", Na), t.component("PTextarea", Gu), t.component("PTopSlider", GS), t.component("PWidget", ZS), t.component("PTableToggle", BS), t.component("PTimeInput", qS), t.component("PToggle", po), t.component("PTooltip", Gn);
|
|
17731
17738
|
}
|
|
17732
|
-
const
|
|
17739
|
+
const e8 = { class: "admin-gallery" }, t8 = { class: "groups" }, n8 = ["src", "alt", "onError", "onClick"], i8 = ["onClick"], s8 = { class: "card-actions" }, o8 = {
|
|
17733
17740
|
key: 2,
|
|
17734
17741
|
class: "cover-badge"
|
|
17735
|
-
},
|
|
17742
|
+
}, a8 = {
|
|
17736
17743
|
key: 0,
|
|
17737
17744
|
class: "card card--add"
|
|
17738
|
-
},
|
|
17745
|
+
}, r8 = ["disabled"], l8 = {
|
|
17739
17746
|
key: 1,
|
|
17740
17747
|
class: "empty"
|
|
17741
|
-
},
|
|
17748
|
+
}, u8 = ["accept"], d8 = ["src", "alt"], c8 = {
|
|
17742
17749
|
key: 0,
|
|
17743
17750
|
class: "viewer-caption"
|
|
17744
|
-
},
|
|
17751
|
+
}, f8 = /* @__PURE__ */ Y({
|
|
17745
17752
|
__name: "AdminGallery",
|
|
17746
17753
|
props: /* @__PURE__ */ De({
|
|
17747
17754
|
id: { default: "" },
|
|
@@ -17760,7 +17767,7 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
17760
17767
|
() => b.value > 0 ? { aspectRatio: String(b.value) } : {}
|
|
17761
17768
|
), R = F(), M = F(), T = (J) => typeof J.getFileUrl == "function" ? J.getFileUrl() : "", P = ht(/* @__PURE__ */ new Set()), S = (J) => {
|
|
17762
17769
|
J.id && P.add(J.id);
|
|
17763
|
-
},
|
|
17770
|
+
}, D = (J) => s.value.findIndex((te) => te.id === J.id), x = () => i.id || null, U = () => {
|
|
17764
17771
|
var J;
|
|
17765
17772
|
(J = l.value) == null || J.click();
|
|
17766
17773
|
}, A = (J) => {
|
|
@@ -17864,7 +17871,7 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
17864
17871
|
};
|
|
17865
17872
|
return (J, te) => {
|
|
17866
17873
|
const Fe = $e("q-spinner");
|
|
17867
|
-
return m(), w("div",
|
|
17874
|
+
return m(), w("div", e8, [
|
|
17868
17875
|
y("div", {
|
|
17869
17876
|
class: ve(["dropzone", { "is-dragover": t.upload && c(L) }]),
|
|
17870
17877
|
onDragenter: Ye(Se, ["prevent"]),
|
|
@@ -17872,7 +17879,7 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
17872
17879
|
onDragleave: Ye(mt, ["prevent"]),
|
|
17873
17880
|
onDrop: Ye(Xe, ["prevent"])
|
|
17874
17881
|
}, [
|
|
17875
|
-
y("div",
|
|
17882
|
+
y("div", t8, [
|
|
17876
17883
|
g(c(si), {
|
|
17877
17884
|
list: c(a),
|
|
17878
17885
|
"item-key": "id",
|
|
@@ -17895,7 +17902,7 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
17895
17902
|
loading: "lazy",
|
|
17896
17903
|
onError: (Oe) => S(me),
|
|
17897
17904
|
onClick: (Oe) => Ue(me)
|
|
17898
|
-
}, null, 40,
|
|
17905
|
+
}, null, 40, n8)) : (m(), w("div", {
|
|
17899
17906
|
key: 1,
|
|
17900
17907
|
class: "card-placeholder",
|
|
17901
17908
|
onClick: (Oe) => Ue(me)
|
|
@@ -17905,12 +17912,12 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
17905
17912
|
size: "28px"
|
|
17906
17913
|
}),
|
|
17907
17914
|
te[5] || (te[5] = y("span", null, "Файл недоступен", -1))
|
|
17908
|
-
], 8,
|
|
17915
|
+
], 8, i8)),
|
|
17909
17916
|
g(c(re), {
|
|
17910
17917
|
name: "drag_indicator",
|
|
17911
17918
|
class: "item-tools"
|
|
17912
17919
|
}),
|
|
17913
|
-
y("div",
|
|
17920
|
+
y("div", s8, [
|
|
17914
17921
|
g(le, {
|
|
17915
17922
|
dense: "",
|
|
17916
17923
|
flat: "",
|
|
@@ -17932,7 +17939,7 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
17932
17939
|
onClick: Ye((Oe) => ut(me), ["stop"])
|
|
17933
17940
|
}, null, 8, ["onClick"])
|
|
17934
17941
|
]),
|
|
17935
|
-
|
|
17942
|
+
D(me) === 0 ? (m(), w("span", o8, "Обложка")) : j("", !0)
|
|
17936
17943
|
], 4),
|
|
17937
17944
|
g(Ne, {
|
|
17938
17945
|
modelValue: me.description,
|
|
@@ -17948,24 +17955,24 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
17948
17955
|
_: 1
|
|
17949
17956
|
}, 8, ["list"]),
|
|
17950
17957
|
t.upload ? (m(), w(Z, { key: 0 }, [
|
|
17951
|
-
c(a).length ? (m(), w("figure",
|
|
17958
|
+
c(a).length ? (m(), w("figure", a8, [
|
|
17952
17959
|
y("button", {
|
|
17953
17960
|
type: "button",
|
|
17954
17961
|
class: "add-tile",
|
|
17955
17962
|
disabled: c(r),
|
|
17956
17963
|
onClick: U
|
|
17957
17964
|
}, [
|
|
17958
|
-
c(r) ? (m(),
|
|
17965
|
+
c(r) ? (m(), _(Fe, {
|
|
17959
17966
|
key: 0,
|
|
17960
17967
|
size: "24px"
|
|
17961
|
-
})) : (m(),
|
|
17968
|
+
})) : (m(), _(c(re), {
|
|
17962
17969
|
key: 1,
|
|
17963
17970
|
name: "add_photo_alternate",
|
|
17964
17971
|
size: "28px"
|
|
17965
17972
|
})),
|
|
17966
17973
|
y("span", null, V(c(r) ? "Загрузка…" : "Добавить"), 1)
|
|
17967
|
-
], 8,
|
|
17968
|
-
])) : (m(), w("div",
|
|
17974
|
+
], 8, r8)
|
|
17975
|
+
])) : (m(), w("div", l8, [
|
|
17969
17976
|
g(c(re), {
|
|
17970
17977
|
name: "photo_library",
|
|
17971
17978
|
size: "32px",
|
|
@@ -17991,7 +17998,7 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
17991
17998
|
class: "hidden-input",
|
|
17992
17999
|
accept: t.acceptTypes,
|
|
17993
18000
|
onChange: rt
|
|
17994
|
-
}, null, 40,
|
|
18001
|
+
}, null, 40, u8),
|
|
17995
18002
|
g(an, {
|
|
17996
18003
|
modelValue: c(h),
|
|
17997
18004
|
"onUpdate:modelValue": te[2] || (te[2] = (me) => Pe(h) ? h.value = me : null),
|
|
@@ -18018,7 +18025,7 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18018
18025
|
}),
|
|
18019
18026
|
g(c(kt), { class: "cropper-section" }, {
|
|
18020
18027
|
default: k(() => [
|
|
18021
|
-
c(p) ? (m(),
|
|
18028
|
+
c(p) ? (m(), _(dd, {
|
|
18022
18029
|
key: 0,
|
|
18023
18030
|
src: c(p),
|
|
18024
18031
|
ratio: c(b),
|
|
@@ -18051,7 +18058,7 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18051
18058
|
height: "100%"
|
|
18052
18059
|
}, {
|
|
18053
18060
|
default: k(() => [
|
|
18054
|
-
(m(!0), w(Z, null, be(c(a), (me, Oe) => (m(),
|
|
18061
|
+
(m(!0), w(Z, null, be(c(a), (me, Oe) => (m(), _(c(Wc), {
|
|
18055
18062
|
key: me.id ?? Oe,
|
|
18056
18063
|
name: Oe,
|
|
18057
18064
|
class: "viewer-slide"
|
|
@@ -18061,8 +18068,8 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18061
18068
|
src: T(me),
|
|
18062
18069
|
alt: me.description,
|
|
18063
18070
|
class: "viewer-image"
|
|
18064
|
-
}, null, 8,
|
|
18065
|
-
me.description ? (m(), w("div",
|
|
18071
|
+
}, null, 8, d8),
|
|
18072
|
+
me.description ? (m(), w("div", c8, V(me.description), 1)) : j("", !0)
|
|
18066
18073
|
]),
|
|
18067
18074
|
_: 2
|
|
18068
18075
|
}, 1032, ["name"]))), 128))
|
|
@@ -18075,10 +18082,10 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18075
18082
|
]);
|
|
18076
18083
|
};
|
|
18077
18084
|
}
|
|
18078
|
-
}),
|
|
18085
|
+
}), h8 = /* @__PURE__ */ X(f8, [["__scopeId", "data-v-90547746"]]), m8 = { class: "drop-item" }, p8 = {
|
|
18079
18086
|
key: 0,
|
|
18080
18087
|
class: "drop-item-list"
|
|
18081
|
-
},
|
|
18088
|
+
}, g8 = /* @__PURE__ */ Y({
|
|
18082
18089
|
__name: "DropList",
|
|
18083
18090
|
props: {
|
|
18084
18091
|
name: { type: String, default: "Name" },
|
|
@@ -18091,7 +18098,7 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18091
18098
|
};
|
|
18092
18099
|
return (s, o) => {
|
|
18093
18100
|
const a = $e("PString"), l = $e("IconArrowDrop");
|
|
18094
|
-
return m(), w("div",
|
|
18101
|
+
return m(), w("div", m8, [
|
|
18095
18102
|
y("div", {
|
|
18096
18103
|
class: "drop-item-name",
|
|
18097
18104
|
onClick: o[0] || (o[0] = (r) => i())
|
|
@@ -18115,13 +18122,13 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18115
18122
|
})
|
|
18116
18123
|
], 4)
|
|
18117
18124
|
]),
|
|
18118
|
-
c(n) ? (m(), w("div",
|
|
18125
|
+
c(n) ? (m(), w("div", p8, [
|
|
18119
18126
|
H(s.$slots, "default", {}, void 0, !0)
|
|
18120
18127
|
])) : j("", !0)
|
|
18121
18128
|
]);
|
|
18122
18129
|
};
|
|
18123
18130
|
}
|
|
18124
|
-
}),
|
|
18131
|
+
}), v8 = /* @__PURE__ */ X(g8, [["__scopeId", "data-v-97057f9c"]]), y8 = ["value", "label"], b8 = /* @__PURE__ */ Y({
|
|
18125
18132
|
__name: "FilterSelect",
|
|
18126
18133
|
props: {
|
|
18127
18134
|
models: {
|
|
@@ -18143,7 +18150,7 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18143
18150
|
};
|
|
18144
18151
|
return (l, r) => {
|
|
18145
18152
|
const d = $e("PSelect");
|
|
18146
|
-
return m(),
|
|
18153
|
+
return m(), _(d, {
|
|
18147
18154
|
modelValue: c(s),
|
|
18148
18155
|
"onUpdate:modelValue": r[0] || (r[0] = (f) => Pe(s) ? s.value = f : null),
|
|
18149
18156
|
clearable: !!c(s),
|
|
@@ -18155,13 +18162,13 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18155
18162
|
key: h,
|
|
18156
18163
|
value: f,
|
|
18157
18164
|
label: f.label
|
|
18158
|
-
}, null, 8,
|
|
18165
|
+
}, null, 8, y8))), 128))
|
|
18159
18166
|
]),
|
|
18160
18167
|
_: 1
|
|
18161
18168
|
}, 8, ["modelValue", "clearable", "placeholder"]);
|
|
18162
18169
|
};
|
|
18163
18170
|
}
|
|
18164
|
-
}),
|
|
18171
|
+
}), w8 = /* @__PURE__ */ X(b8, [["__scopeId", "data-v-041401c1"]]), S8 = /* @__PURE__ */ Y({
|
|
18165
18172
|
__name: "GridContainer",
|
|
18166
18173
|
props: {
|
|
18167
18174
|
maxWidth: {
|
|
@@ -18217,7 +18224,7 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18217
18224
|
H(e.$slots, "default", {}, void 0, !0)
|
|
18218
18225
|
], 2));
|
|
18219
18226
|
}
|
|
18220
|
-
}),
|
|
18227
|
+
}), C8 = /* @__PURE__ */ X(S8, [["__scopeId", "data-v-a3c4743c"]]), k8 = /* @__PURE__ */ Y({
|
|
18221
18228
|
__name: "IconSearch",
|
|
18222
18229
|
props: {
|
|
18223
18230
|
size: { type: String, default: "" },
|
|
@@ -18254,7 +18261,7 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18254
18261
|
], -1))
|
|
18255
18262
|
], 64));
|
|
18256
18263
|
}
|
|
18257
|
-
}), ic = /* @__PURE__ */ X(
|
|
18264
|
+
}), ic = /* @__PURE__ */ X(k8, [["__scopeId", "data-v-64e76eb7"]]), x8 = { class: "search-list" }, $8 = ["onClick"], T8 = /* @__PURE__ */ Y({
|
|
18258
18265
|
inheritAttrs: !1,
|
|
18259
18266
|
__name: "PAutocomplete",
|
|
18260
18267
|
props: {
|
|
@@ -18320,16 +18327,16 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18320
18327
|
class: "result",
|
|
18321
18328
|
style: K({ maxHeight: t.maxHeightResultList, zIndex: t.zIndexResultList, boxShadow: t.boxShadowResultList })
|
|
18322
18329
|
}, [
|
|
18323
|
-
y("ul",
|
|
18330
|
+
y("ul", x8, [
|
|
18324
18331
|
(m(!0), w(Z, null, be(c(o), (h) => (m(), w("li", {
|
|
18325
18332
|
key: h.value,
|
|
18326
18333
|
onClick: (p) => r(h)
|
|
18327
|
-
}, V(h.label), 9,
|
|
18334
|
+
}, V(h.label), 9, $8))), 128))
|
|
18328
18335
|
])
|
|
18329
18336
|
], 4)) : j("", !0)
|
|
18330
18337
|
], 4));
|
|
18331
18338
|
}
|
|
18332
|
-
}), sc = /* @__PURE__ */ X(
|
|
18339
|
+
}), sc = /* @__PURE__ */ X(T8, [["__scopeId", "data-v-d02c66ef"]]), P8 = { style: { display: "flex", "justify-content": "center", width: "100%" } }, R8 = { class: "pag-number" }, I8 = { class: "pag-ul" }, M8 = { key: 2 }, A8 = /* @__PURE__ */ Y({
|
|
18333
18340
|
__name: "PPagination",
|
|
18334
18341
|
props: {
|
|
18335
18342
|
showConfirm: {
|
|
@@ -18366,14 +18373,14 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18366
18373
|
jt.Get().p.drop();
|
|
18367
18374
|
}), (f, h) => {
|
|
18368
18375
|
const p = $e("ArrowLeft"), b = $e("PButton"), $ = $e("DoubleArrowLeft"), R = $e("EllipsisSvg"), M = $e("DoubleArrowRight"), T = $e("ArrowRight");
|
|
18369
|
-
return m(), w("div",
|
|
18376
|
+
return m(), w("div", P8, [
|
|
18370
18377
|
y("div", {
|
|
18371
18378
|
class: "pag-container",
|
|
18372
18379
|
style: K({
|
|
18373
18380
|
justifyContent: t.justifyContent
|
|
18374
18381
|
})
|
|
18375
18382
|
}, [
|
|
18376
|
-
y("div",
|
|
18383
|
+
y("div", R8, [
|
|
18377
18384
|
g(b, {
|
|
18378
18385
|
skin: "pag",
|
|
18379
18386
|
onClick: h[0] || (h[0] = (P) => a(i.value.curPage - 1))
|
|
@@ -18383,7 +18390,7 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18383
18390
|
]),
|
|
18384
18391
|
_: 1
|
|
18385
18392
|
}),
|
|
18386
|
-
y("ul",
|
|
18393
|
+
y("ul", I8, [
|
|
18387
18394
|
y("li", null, [
|
|
18388
18395
|
g(b, {
|
|
18389
18396
|
skin: "pag",
|
|
@@ -18402,7 +18409,7 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18402
18409
|
onClick: h[2] || (h[2] = (P) => a(i.value.curPage - 5))
|
|
18403
18410
|
}, {
|
|
18404
18411
|
default: k(() => [
|
|
18405
|
-
s.value ? (m(),
|
|
18412
|
+
s.value ? (m(), _($, { key: 0 })) : (m(), _(R, { key: 1 }))
|
|
18406
18413
|
]),
|
|
18407
18414
|
_: 1
|
|
18408
18415
|
})
|
|
@@ -18425,12 +18432,12 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18425
18432
|
onClick: h[5] || (h[5] = (P) => a(i.value.curPage + 5))
|
|
18426
18433
|
}, {
|
|
18427
18434
|
default: k(() => [
|
|
18428
|
-
o.value ? (m(),
|
|
18435
|
+
o.value ? (m(), _(M, { key: 0 })) : (m(), _(R, { key: 1 }))
|
|
18429
18436
|
]),
|
|
18430
18437
|
_: 1
|
|
18431
18438
|
})
|
|
18432
18439
|
], 32)) : j("", !0),
|
|
18433
|
-
i.value.pagesCount() > 1 ? (m(), w("li",
|
|
18440
|
+
i.value.pagesCount() > 1 ? (m(), w("li", M8, [
|
|
18434
18441
|
g(b, {
|
|
18435
18442
|
skin: "pag",
|
|
18436
18443
|
color: n(i.value.pagesCount()),
|
|
@@ -18453,7 +18460,7 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18453
18460
|
]);
|
|
18454
18461
|
};
|
|
18455
18462
|
}
|
|
18456
|
-
}),
|
|
18463
|
+
}), E8 = /* @__PURE__ */ X(A8, [["__scopeId", "data-v-41005b6d"]]), F8 = /* @__PURE__ */ Y({
|
|
18457
18464
|
__name: "RemoteSearch",
|
|
18458
18465
|
props: {
|
|
18459
18466
|
keyValue: {
|
|
@@ -18520,7 +18527,7 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18520
18527
|
}, d = (f) => {
|
|
18521
18528
|
i("input", f), f.length === 0 && i("input", "");
|
|
18522
18529
|
};
|
|
18523
|
-
return (f, h) => (m(),
|
|
18530
|
+
return (f, h) => (m(), _(sc, {
|
|
18524
18531
|
ref_key: "searchForm",
|
|
18525
18532
|
ref: o,
|
|
18526
18533
|
modelValue: c(s),
|
|
@@ -18539,7 +18546,7 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18539
18546
|
onInput: d
|
|
18540
18547
|
}, null, 8, ["modelValue", "max-height-result-list", "z-index-result-list", "box-shadow-result-list", "width", "placeholder", "trigger-on-focus", "suggestions"]));
|
|
18541
18548
|
}
|
|
18542
|
-
}),
|
|
18549
|
+
}), O8 = /* @__PURE__ */ X(F8, [["__scopeId", "data-v-b1e3a0ef"]]), D8 = ["label", "value"], _8 = /* @__PURE__ */ Y({
|
|
18543
18550
|
__name: "SelectValueType",
|
|
18544
18551
|
props: {
|
|
18545
18552
|
selectedType: {
|
|
@@ -18582,18 +18589,18 @@ const KS = { class: "admin-gallery" }, e8 = { class: "groups" }, t8 = ["src", "a
|
|
|
18582
18589
|
key: d,
|
|
18583
18590
|
label: d,
|
|
18584
18591
|
value: f
|
|
18585
|
-
}, null, 8,
|
|
18592
|
+
}, null, 8, D8)), 64))
|
|
18586
18593
|
]),
|
|
18587
18594
|
_: 1
|
|
18588
18595
|
}, 8, ["model-value"])
|
|
18589
18596
|
], 64);
|
|
18590
18597
|
};
|
|
18591
18598
|
}
|
|
18592
|
-
}),
|
|
18593
|
-
function
|
|
18594
|
-
t.component("PageNotFound", cu), t.component("AdminGallery",
|
|
18599
|
+
}), z8 = /* @__PURE__ */ X(_8, [["__scopeId", "data-v-36a59e2b"]]);
|
|
18600
|
+
function L8(t) {
|
|
18601
|
+
t.component("PageNotFound", cu), t.component("AdminGallery", h8), t.component("DropList", v8), t.component("FilterSelect", w8), t.component("GridContainer", C8), t.component("PAutocomplete", sc), t.component("PPagination", E8), t.component("RemoteSearch", O8), t.component("SelectValueType", z8);
|
|
18595
18602
|
}
|
|
18596
|
-
const
|
|
18603
|
+
const V8 = /* @__PURE__ */ Y({
|
|
18597
18604
|
__name: "IconDownload",
|
|
18598
18605
|
props: {
|
|
18599
18606
|
color: { type: String, default: "" },
|
|
@@ -18634,7 +18641,7 @@ const L8 = /* @__PURE__ */ Y({
|
|
|
18634
18641
|
], -1))
|
|
18635
18642
|
], 64));
|
|
18636
18643
|
}
|
|
18637
|
-
}),
|
|
18644
|
+
}), U8 = /* @__PURE__ */ X(V8, [["__scopeId", "data-v-94c18208"]]), B8 = /* @__PURE__ */ Y({
|
|
18638
18645
|
__name: "IconFilter",
|
|
18639
18646
|
props: {
|
|
18640
18647
|
color: { type: String, default: "" },
|
|
@@ -18675,7 +18682,7 @@ const L8 = /* @__PURE__ */ Y({
|
|
|
18675
18682
|
], -1))
|
|
18676
18683
|
], 64));
|
|
18677
18684
|
}
|
|
18678
|
-
}),
|
|
18685
|
+
}), q8 = /* @__PURE__ */ X(B8, [["__scopeId", "data-v-d11e6069"]]), N8 = /* @__PURE__ */ Y({
|
|
18679
18686
|
__name: "IconArrowLeft",
|
|
18680
18687
|
props: {
|
|
18681
18688
|
size: { type: String, default: "" },
|
|
@@ -18713,7 +18720,7 @@ const L8 = /* @__PURE__ */ Y({
|
|
|
18713
18720
|
], -1))
|
|
18714
18721
|
], 64));
|
|
18715
18722
|
}
|
|
18716
|
-
}),
|
|
18723
|
+
}), H8 = /* @__PURE__ */ X(N8, [["__scopeId", "data-v-ca16a90c"]]), j8 = /* @__PURE__ */ Y({
|
|
18717
18724
|
__name: "IconCheckDefault",
|
|
18718
18725
|
props: {
|
|
18719
18726
|
size: { type: String, default: "22px" },
|
|
@@ -18750,7 +18757,7 @@ const L8 = /* @__PURE__ */ Y({
|
|
|
18750
18757
|
], -1))
|
|
18751
18758
|
], 64));
|
|
18752
18759
|
}
|
|
18753
|
-
}),
|
|
18760
|
+
}), G8 = /* @__PURE__ */ X(j8, [["__scopeId", "data-v-48c8e6e2"]]), W8 = /* @__PURE__ */ Y({
|
|
18754
18761
|
__name: "IconClose",
|
|
18755
18762
|
props: {
|
|
18756
18763
|
size: { type: String, default: "24px" },
|
|
@@ -18787,7 +18794,7 @@ const L8 = /* @__PURE__ */ Y({
|
|
|
18787
18794
|
], -1))
|
|
18788
18795
|
], 64));
|
|
18789
18796
|
}
|
|
18790
|
-
}), oc = /* @__PURE__ */ X(
|
|
18797
|
+
}), oc = /* @__PURE__ */ X(W8, [["__scopeId", "data-v-cbcad2a0"]]), Y8 = /* @__PURE__ */ Y({
|
|
18791
18798
|
__name: "IconEdit",
|
|
18792
18799
|
props: {
|
|
18793
18800
|
size: { type: String, default: "" },
|
|
@@ -18828,7 +18835,7 @@ const L8 = /* @__PURE__ */ Y({
|
|
|
18828
18835
|
], -1))
|
|
18829
18836
|
], 64));
|
|
18830
18837
|
}
|
|
18831
|
-
}),
|
|
18838
|
+
}), Q8 = /* @__PURE__ */ X(Y8, [["__scopeId", "data-v-55ea5a5c"]]), X8 = /* @__PURE__ */ Y({
|
|
18832
18839
|
__name: "IconEmail",
|
|
18833
18840
|
props: {
|
|
18834
18841
|
size: { type: String, default: "" },
|
|
@@ -18865,7 +18872,7 @@ const L8 = /* @__PURE__ */ Y({
|
|
|
18865
18872
|
], -1))
|
|
18866
18873
|
], 64));
|
|
18867
18874
|
}
|
|
18868
|
-
}),
|
|
18875
|
+
}), J8 = /* @__PURE__ */ X(X8, [["__scopeId", "data-v-99358e0a"]]), Z8 = /* @__PURE__ */ Y({
|
|
18869
18876
|
__name: "IconMove",
|
|
18870
18877
|
props: {
|
|
18871
18878
|
size: { type: String, default: "24px" },
|
|
@@ -18902,7 +18909,7 @@ const L8 = /* @__PURE__ */ Y({
|
|
|
18902
18909
|
], -1))
|
|
18903
18910
|
], 64));
|
|
18904
18911
|
}
|
|
18905
|
-
}),
|
|
18912
|
+
}), K8 = /* @__PURE__ */ X(Z8, [["__scopeId", "data-v-05547f14"]]), e4 = /* @__PURE__ */ Y({
|
|
18906
18913
|
__name: "IconPhone",
|
|
18907
18914
|
props: {
|
|
18908
18915
|
size: { type: String, default: "" },
|
|
@@ -18939,7 +18946,7 @@ const L8 = /* @__PURE__ */ Y({
|
|
|
18939
18946
|
], -1))
|
|
18940
18947
|
], 64));
|
|
18941
18948
|
}
|
|
18942
|
-
}),
|
|
18949
|
+
}), t4 = /* @__PURE__ */ X(e4, [["__scopeId", "data-v-131f6ba1"]]), n4 = /* @__PURE__ */ Y({
|
|
18943
18950
|
__name: "IconSelectArrow",
|
|
18944
18951
|
props: {
|
|
18945
18952
|
size: { type: String, default: "20px" },
|
|
@@ -18980,7 +18987,7 @@ const L8 = /* @__PURE__ */ Y({
|
|
|
18980
18987
|
], -1))
|
|
18981
18988
|
], 64));
|
|
18982
18989
|
}
|
|
18983
|
-
}),
|
|
18990
|
+
}), i4 = /* @__PURE__ */ X(n4, [["__scopeId", "data-v-4d8b581f"]]), s4 = /* @__PURE__ */ Y({
|
|
18984
18991
|
__name: "ArrowLeft",
|
|
18985
18992
|
props: {
|
|
18986
18993
|
color: { type: String, default: "" },
|
|
@@ -19020,7 +19027,7 @@ const L8 = /* @__PURE__ */ Y({
|
|
|
19020
19027
|
], -1))
|
|
19021
19028
|
], 64));
|
|
19022
19029
|
}
|
|
19023
|
-
}),
|
|
19030
|
+
}), o4 = /* @__PURE__ */ X(s4, [["__scopeId", "data-v-46c690c8"]]), a4 = /* @__PURE__ */ Y({
|
|
19024
19031
|
__name: "ArrowRight",
|
|
19025
19032
|
props: {
|
|
19026
19033
|
color: { type: String, default: "" },
|
|
@@ -19060,7 +19067,7 @@ const L8 = /* @__PURE__ */ Y({
|
|
|
19060
19067
|
], -1))
|
|
19061
19068
|
], 64));
|
|
19062
19069
|
}
|
|
19063
|
-
}),
|
|
19070
|
+
}), r4 = /* @__PURE__ */ X(a4, [["__scopeId", "data-v-b688738b"]]), l4 = /* @__PURE__ */ Y({
|
|
19064
19071
|
__name: "DoubleArrowLeft",
|
|
19065
19072
|
props: {
|
|
19066
19073
|
color: { type: String, default: "" },
|
|
@@ -19100,7 +19107,7 @@ const L8 = /* @__PURE__ */ Y({
|
|
|
19100
19107
|
], -1))
|
|
19101
19108
|
], 64));
|
|
19102
19109
|
}
|
|
19103
|
-
}),
|
|
19110
|
+
}), u4 = /* @__PURE__ */ X(l4, [["__scopeId", "data-v-bd131770"]]), d4 = /* @__PURE__ */ Y({
|
|
19104
19111
|
__name: "DoubleArrowRight",
|
|
19105
19112
|
props: {
|
|
19106
19113
|
color: { type: String, default: "" },
|
|
@@ -19140,7 +19147,7 @@ const L8 = /* @__PURE__ */ Y({
|
|
|
19140
19147
|
], -1))
|
|
19141
19148
|
], 64));
|
|
19142
19149
|
}
|
|
19143
|
-
}),
|
|
19150
|
+
}), c4 = /* @__PURE__ */ X(d4, [["__scopeId", "data-v-db5832a2"]]), f4 = /* @__PURE__ */ Y({
|
|
19144
19151
|
__name: "EllipsisSvg",
|
|
19145
19152
|
props: {
|
|
19146
19153
|
color: { type: String, default: "" },
|
|
@@ -19168,11 +19175,11 @@ const L8 = /* @__PURE__ */ Y({
|
|
|
19168
19175
|
i[3] || (i[3] = Il('<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))
|
|
19169
19176
|
], 64));
|
|
19170
19177
|
}
|
|
19171
|
-
}),
|
|
19172
|
-
function
|
|
19173
|
-
t.component("IconDownload",
|
|
19178
|
+
}), h4 = /* @__PURE__ */ X(f4, [["__scopeId", "data-v-5abed3e4"]]);
|
|
19179
|
+
function m4(t) {
|
|
19180
|
+
t.component("IconDownload", U8), t.component("IconFilter", q8), t.component("ArrowLeft", o4), t.component("ArrowRight", r4), t.component("DoubleArrowLeft", u4), t.component("DoubleArrowRight", c4), t.component("EllipsisSvg", h4), t.component("IconArrowLeft", H8), t.component("IconCheckDefault", G8), t.component("IconClose", oc), t.component("IconEdit", Q8), t.component("IconEmail", J8), t.component("IconMove", K8), t.component("IconPhone", t4), t.component("IconSearch", ic), t.component("IconSelectArrow", i4);
|
|
19174
19181
|
}
|
|
19175
|
-
const
|
|
19182
|
+
const p4 = Y({
|
|
19176
19183
|
name: "CollapseContainer",
|
|
19177
19184
|
props: {
|
|
19178
19185
|
initActiveIdx: { type: Number, default: 0 }
|
|
@@ -19192,7 +19199,7 @@ const m4 = Y({
|
|
|
19192
19199
|
};
|
|
19193
19200
|
}
|
|
19194
19201
|
});
|
|
19195
|
-
function
|
|
19202
|
+
function g4(t, e, n, i, s, o) {
|
|
19196
19203
|
return m(), w("div", null, [
|
|
19197
19204
|
H(t.$slots, "default", {
|
|
19198
19205
|
activeIdx: t.activeIdx,
|
|
@@ -19200,7 +19207,7 @@ function p4(t, e, n, i, s, o) {
|
|
|
19200
19207
|
})
|
|
19201
19208
|
]);
|
|
19202
19209
|
}
|
|
19203
|
-
const
|
|
19210
|
+
const v4 = /* @__PURE__ */ X(p4, [["render", g4]]), y4 = Y({
|
|
19204
19211
|
name: "CollapseItem",
|
|
19205
19212
|
// components: { Arrows },
|
|
19206
19213
|
props: {
|
|
@@ -19230,8 +19237,8 @@ const g4 = /* @__PURE__ */ X(m4, [["render", p4]]), v4 = Y({
|
|
|
19230
19237
|
handleItemClick: i
|
|
19231
19238
|
};
|
|
19232
19239
|
}
|
|
19233
|
-
}),
|
|
19234
|
-
function
|
|
19240
|
+
}), b4 = ["for"], w4 = { class: "inside-icon" };
|
|
19241
|
+
function S4(t, e, n, i, s, o) {
|
|
19235
19242
|
return m(), w(Z, null, [
|
|
19236
19243
|
y("div", {
|
|
19237
19244
|
class: "tab",
|
|
@@ -19267,7 +19274,7 @@ function w4(t, e, n, i, s, o) {
|
|
|
19267
19274
|
}),
|
|
19268
19275
|
class: "tab-name"
|
|
19269
19276
|
}, [
|
|
19270
|
-
y("div",
|
|
19277
|
+
y("div", w4, [
|
|
19271
19278
|
H(t.$slots, "icon", {}, void 0, !0)
|
|
19272
19279
|
]),
|
|
19273
19280
|
y("div", {
|
|
@@ -19287,7 +19294,7 @@ function w4(t, e, n, i, s, o) {
|
|
|
19287
19294
|
H(t.$slots, "tools", {}, void 0, !0)
|
|
19288
19295
|
], 2)
|
|
19289
19296
|
], 4)
|
|
19290
|
-
], 8,
|
|
19297
|
+
], 8, b4),
|
|
19291
19298
|
y("div", {
|
|
19292
19299
|
style: K({ maxHeight: t.isCollaps ? "" : "1000000vh", background: t.changeColor ? t.background : t.backgroundAttention }),
|
|
19293
19300
|
class: ve(t.collapsed ? "tab-content-down" : "tab-content-up")
|
|
@@ -19298,7 +19305,7 @@ function w4(t, e, n, i, s, o) {
|
|
|
19298
19305
|
e[5] || (e[5] = Il('<svg width="0" height="0" class="hidden" data-v-6fb8269e><symbol id="arrow-down" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-v-6fb8269e><path d="M5 6L10 11L15 6L17 7L10 14L3 7L5 6Z" fill="currentColor" data-v-6fb8269e></path></symbol><symbol id="arrow-up" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-v-6fb8269e><path d="M15 14L10 9L5 14L3 13L10 6L17 13L15 14Z" fill="currentColor" data-v-6fb8269e></path></symbol></svg>', 1))
|
|
19299
19306
|
], 64);
|
|
19300
19307
|
}
|
|
19301
|
-
const
|
|
19308
|
+
const C4 = /* @__PURE__ */ X(y4, [["render", S4], ["__scopeId", "data-v-6fb8269e"]]), k4 = { class: "tab" }, x4 = { class: "rotate" }, $4 = /* @__PURE__ */ Y({
|
|
19302
19309
|
__name: "VerticalCollapseContainer",
|
|
19303
19310
|
setup(t) {
|
|
19304
19311
|
const e = F(!1), n = async () => {
|
|
@@ -19307,7 +19314,7 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19307
19314
|
return (i, s) => {
|
|
19308
19315
|
const o = $e("ArrowRight"), a = $e("ArrowLeft");
|
|
19309
19316
|
return m(), w(Z, null, [
|
|
19310
|
-
y("div",
|
|
19317
|
+
y("div", k4, [
|
|
19311
19318
|
H(i.$slots, "main", {}, void 0, !0),
|
|
19312
19319
|
y("div", {
|
|
19313
19320
|
style: K({ width: c(e) ? "50%" : "20px", transition: "0.3s" }),
|
|
@@ -19323,13 +19330,13 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19323
19330
|
class: "arrow-bar",
|
|
19324
19331
|
onClick: n
|
|
19325
19332
|
}, [
|
|
19326
|
-
y("div",
|
|
19333
|
+
y("div", x4, [
|
|
19327
19334
|
H(i.$slots, "inside-title", {}, void 0, !0)
|
|
19328
19335
|
]),
|
|
19329
|
-
c(e) ? (m(),
|
|
19336
|
+
c(e) ? (m(), _(o, {
|
|
19330
19337
|
key: 0,
|
|
19331
19338
|
"icon-class": "icon-arrow"
|
|
19332
|
-
})) : (m(),
|
|
19339
|
+
})) : (m(), _(a, {
|
|
19333
19340
|
key: 1,
|
|
19334
19341
|
"icon-class": "icon-arrow"
|
|
19335
19342
|
}))
|
|
@@ -19347,7 +19354,7 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19347
19354
|
], 64);
|
|
19348
19355
|
};
|
|
19349
19356
|
}
|
|
19350
|
-
}),
|
|
19357
|
+
}), T4 = /* @__PURE__ */ X($4, [["__scopeId", "data-v-0efb3cd1"]]), P4 = { class: "add-block_body" }, R4 = /* @__PURE__ */ Y({
|
|
19351
19358
|
__name: "PAdd",
|
|
19352
19359
|
props: {
|
|
19353
19360
|
background: {
|
|
@@ -19396,13 +19403,13 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19396
19403
|
]),
|
|
19397
19404
|
_: 3
|
|
19398
19405
|
}, 8, ["top", "z-index"]),
|
|
19399
|
-
y("div",
|
|
19406
|
+
y("div", P4, [
|
|
19400
19407
|
H(e.$slots, "default", {}, void 0, !0)
|
|
19401
19408
|
])
|
|
19402
19409
|
], 4);
|
|
19403
19410
|
};
|
|
19404
19411
|
}
|
|
19405
|
-
}),
|
|
19412
|
+
}), I4 = /* @__PURE__ */ X(R4, [["__scopeId", "data-v-338720bc"]]), M4 = /* @__PURE__ */ Y({
|
|
19406
19413
|
__name: "PContainer",
|
|
19407
19414
|
props: {
|
|
19408
19415
|
background: {
|
|
@@ -19433,7 +19440,7 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19433
19440
|
H(e.$slots, "default", {}, void 0, !0)
|
|
19434
19441
|
], 4));
|
|
19435
19442
|
}
|
|
19436
|
-
}),
|
|
19443
|
+
}), A4 = /* @__PURE__ */ X(M4, [["__scopeId", "data-v-30f46b57"]]), E4 = { class: "add-block_body" }, F4 = /* @__PURE__ */ Y({
|
|
19437
19444
|
__name: "PContainerStickyHead",
|
|
19438
19445
|
props: {
|
|
19439
19446
|
background: {
|
|
@@ -19465,7 +19472,7 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19465
19472
|
setup(t) {
|
|
19466
19473
|
return (e, n) => {
|
|
19467
19474
|
const i = $e("PSticky"), s = $e("PContainer");
|
|
19468
|
-
return m(),
|
|
19475
|
+
return m(), _(s, {
|
|
19469
19476
|
background: t.background,
|
|
19470
19477
|
margin: t.margin,
|
|
19471
19478
|
padding: t.padding
|
|
@@ -19480,7 +19487,7 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19480
19487
|
]),
|
|
19481
19488
|
_: 3
|
|
19482
19489
|
}, 8, ["top", "z-index"]),
|
|
19483
|
-
y("div",
|
|
19490
|
+
y("div", E4, [
|
|
19484
19491
|
H(e.$slots, "default", {}, void 0, !0)
|
|
19485
19492
|
])
|
|
19486
19493
|
]),
|
|
@@ -19488,7 +19495,7 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19488
19495
|
}, 8, ["background", "margin", "padding"]);
|
|
19489
19496
|
};
|
|
19490
19497
|
}
|
|
19491
|
-
}),
|
|
19498
|
+
}), O4 = /* @__PURE__ */ X(F4, [["__scopeId", "data-v-caedda9d"]]), D4 = { class: "select-dialog" }, _4 = { class: "select-dialog-header" }, z4 = { class: "select-dialog-title" }, L4 = { class: "select-dialog-content" }, V4 = { class: "select-dialog-actions" }, U4 = /* @__PURE__ */ Y({
|
|
19492
19499
|
__name: "PAddDialog",
|
|
19493
19500
|
props: /* @__PURE__ */ De({
|
|
19494
19501
|
title: {
|
|
@@ -19524,7 +19531,7 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19524
19531
|
const M = document.querySelector(".select-dialog-content .q-item");
|
|
19525
19532
|
M && "focus" in M && M.focus();
|
|
19526
19533
|
};
|
|
19527
|
-
return e({ opened: o, toggle: $ }), Cn(d), (M, T) => (m(),
|
|
19534
|
+
return e({ opened: o, toggle: $ }), Cn(d), (M, T) => (m(), _(an, {
|
|
19528
19535
|
modelValue: o.value,
|
|
19529
19536
|
"onUpdate:modelValue": [
|
|
19530
19537
|
T[0] || (T[0] = (P) => o.value = P),
|
|
@@ -19535,9 +19542,9 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19535
19542
|
onShow: R
|
|
19536
19543
|
}, {
|
|
19537
19544
|
default: k(() => [
|
|
19538
|
-
y("div",
|
|
19539
|
-
y("div",
|
|
19540
|
-
y("div",
|
|
19545
|
+
y("div", D4, [
|
|
19546
|
+
y("div", _4, [
|
|
19547
|
+
y("div", z4, V(t.title), 1),
|
|
19541
19548
|
Ze(g(le, {
|
|
19542
19549
|
icon: "close",
|
|
19543
19550
|
flat: "",
|
|
@@ -19548,13 +19555,13 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19548
19555
|
[c(r)]
|
|
19549
19556
|
])
|
|
19550
19557
|
]),
|
|
19551
|
-
y("div",
|
|
19558
|
+
y("div", L4, [
|
|
19552
19559
|
g(c(Oi), {
|
|
19553
19560
|
bordered: "",
|
|
19554
19561
|
separator: ""
|
|
19555
19562
|
}, {
|
|
19556
19563
|
default: k(() => [
|
|
19557
|
-
(m(!0), w(Z, null, be(c(a), (P) => Ze((m(),
|
|
19564
|
+
(m(!0), w(Z, null, be(c(a), (P) => Ze((m(), _(c(qn), {
|
|
19558
19565
|
key: P.value,
|
|
19559
19566
|
clickable: "",
|
|
19560
19567
|
class: "q-px-md q-py-sm",
|
|
@@ -19581,7 +19588,7 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19581
19588
|
_: 1
|
|
19582
19589
|
})
|
|
19583
19590
|
]),
|
|
19584
|
-
y("div",
|
|
19591
|
+
y("div", V4, [
|
|
19585
19592
|
Ze(g(le, {
|
|
19586
19593
|
flat: "",
|
|
19587
19594
|
label: "Закрыть",
|
|
@@ -19596,19 +19603,19 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19596
19603
|
_: 1
|
|
19597
19604
|
}, 8, ["modelValue"]));
|
|
19598
19605
|
}
|
|
19599
|
-
}),
|
|
19606
|
+
}), B4 = /* @__PURE__ */ X(U4, [["__scopeId", "data-v-d4ad730a"]]), q4 = {
|
|
19600
19607
|
key: 0,
|
|
19601
19608
|
class: "list-title"
|
|
19602
|
-
},
|
|
19609
|
+
}, N4 = { class: "draggable-item" }, H4 = { class: "drag-handle" }, j4 = { class: "item-content" }, G4 = {
|
|
19603
19610
|
key: 0,
|
|
19604
19611
|
class: "item-actions"
|
|
19605
|
-
},
|
|
19612
|
+
}, W4 = { class: "item-content" }, Y4 = {
|
|
19606
19613
|
key: 0,
|
|
19607
19614
|
class: "item-actions"
|
|
19608
|
-
},
|
|
19615
|
+
}, Q4 = {
|
|
19609
19616
|
key: 4,
|
|
19610
19617
|
class: "add-button-container"
|
|
19611
|
-
},
|
|
19618
|
+
}, X4 = /* @__PURE__ */ Y({
|
|
19612
19619
|
__name: "PCrudList",
|
|
19613
19620
|
props: {
|
|
19614
19621
|
sortable: {
|
|
@@ -19683,8 +19690,8 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19683
19690
|
style: { margin: t.margin, boxSizing: "border-box" },
|
|
19684
19691
|
class: "ordered-list"
|
|
19685
19692
|
}), [
|
|
19686
|
-
t.title ? (m(), w("div",
|
|
19687
|
-
t.sortable ? (m(),
|
|
19693
|
+
t.title ? (m(), w("div", q4, V(t.title), 1)) : H(r.$slots, "title", {}, void 0, !0, 1),
|
|
19694
|
+
t.sortable ? (m(), _(c(si), {
|
|
19688
19695
|
key: 2,
|
|
19689
19696
|
class: "draggable-list",
|
|
19690
19697
|
list: t.list,
|
|
@@ -19693,14 +19700,14 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19693
19700
|
onEnd: l
|
|
19694
19701
|
}, {
|
|
19695
19702
|
item: k(({ element: f, index: h }) => [
|
|
19696
|
-
y("div",
|
|
19697
|
-
y("div",
|
|
19703
|
+
y("div", N4, [
|
|
19704
|
+
y("div", H4, [
|
|
19698
19705
|
g(c(re), {
|
|
19699
19706
|
name: "drag_indicator",
|
|
19700
19707
|
class: "drag-icon"
|
|
19701
19708
|
})
|
|
19702
19709
|
]),
|
|
19703
|
-
y("div",
|
|
19710
|
+
y("div", j4, [
|
|
19704
19711
|
H(r.$slots, "default", {
|
|
19705
19712
|
item: f,
|
|
19706
19713
|
update: a,
|
|
@@ -19716,7 +19723,7 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19716
19723
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onBlur"])
|
|
19717
19724
|
], !0)
|
|
19718
19725
|
]),
|
|
19719
|
-
t.showDelete ? (m(), w("div",
|
|
19726
|
+
t.showDelete ? (m(), w("div", G4, [
|
|
19720
19727
|
g(le, {
|
|
19721
19728
|
icon: "delete",
|
|
19722
19729
|
flat: "",
|
|
@@ -19735,7 +19742,7 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19735
19742
|
class: "static-item",
|
|
19736
19743
|
style: K({ background: t.background })
|
|
19737
19744
|
}, [
|
|
19738
|
-
y("div",
|
|
19745
|
+
y("div", W4, [
|
|
19739
19746
|
H(r.$slots, "default", {
|
|
19740
19747
|
item: f,
|
|
19741
19748
|
update: a,
|
|
@@ -19751,7 +19758,7 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19751
19758
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onBlur"])
|
|
19752
19759
|
], !0)
|
|
19753
19760
|
]),
|
|
19754
|
-
t.showDelete ? (m(), w("div",
|
|
19761
|
+
t.showDelete ? (m(), w("div", Y4, [
|
|
19755
19762
|
g(le, {
|
|
19756
19763
|
icon: "delete",
|
|
19757
19764
|
flat: "",
|
|
@@ -19763,7 +19770,7 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19763
19770
|
}, null, 8, ["onClick"])
|
|
19764
19771
|
])) : j("", !0)
|
|
19765
19772
|
], 4))), 128)),
|
|
19766
|
-
t.showAdd ? (m(), w("div",
|
|
19773
|
+
t.showAdd ? (m(), w("div", Q4, [
|
|
19767
19774
|
g(le, {
|
|
19768
19775
|
color: "secondary",
|
|
19769
19776
|
label: "Добавить",
|
|
@@ -19774,7 +19781,7 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19774
19781
|
])) : j("", !0)
|
|
19775
19782
|
], 16));
|
|
19776
19783
|
}
|
|
19777
|
-
}),
|
|
19784
|
+
}), J4 = /* @__PURE__ */ X(X4, [["__scopeId", "data-v-b57cf73c"]]), Z4 = { class: "del-block_title" }, K4 = { class: "del-block_body" }, eC = /* @__PURE__ */ Y({
|
|
19778
19785
|
__name: "PDel",
|
|
19779
19786
|
props: {
|
|
19780
19787
|
background: {
|
|
@@ -19802,15 +19809,15 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19802
19809
|
padding: t.padding
|
|
19803
19810
|
})
|
|
19804
19811
|
}, [
|
|
19805
|
-
y("div",
|
|
19812
|
+
y("div", Z4, [
|
|
19806
19813
|
H(e.$slots, "title", {}, void 0, !0)
|
|
19807
19814
|
]),
|
|
19808
|
-
y("div",
|
|
19815
|
+
y("div", K4, [
|
|
19809
19816
|
H(e.$slots, "default", {}, void 0, !0)
|
|
19810
19817
|
])
|
|
19811
19818
|
], 4));
|
|
19812
19819
|
}
|
|
19813
|
-
}),
|
|
19820
|
+
}), tC = /* @__PURE__ */ X(eC, [["__scopeId", "data-v-58d048aa"]]), nC = /* @__PURE__ */ Y({
|
|
19814
19821
|
__name: "PModal",
|
|
19815
19822
|
props: {
|
|
19816
19823
|
showCloseDialog: { type: Boolean, required: !1, default: !1 },
|
|
@@ -19893,11 +19900,11 @@ const S4 = /* @__PURE__ */ X(v4, [["render", w4], ["__scopeId", "data-v-6fb8269e
|
|
|
19893
19900
|
], 64);
|
|
19894
19901
|
};
|
|
19895
19902
|
}
|
|
19896
|
-
}), ac = /* @__PURE__ */ X(
|
|
19897
|
-
function
|
|
19898
|
-
t.component("CollapseContainer",
|
|
19903
|
+
}), ac = /* @__PURE__ */ X(nC, [["__scopeId", "data-v-6f3c0556"]]);
|
|
19904
|
+
function iC(t) {
|
|
19905
|
+
t.component("CollapseContainer", v4), t.component("CollapseItem", C4), t.component("VerticalCollapseContainer", T4), t.component("PAdd", I4), t.component("PAddDialog", B4), t.component("PCard", fd), t.component("PCrudList", J4), t.component("PEditDialog", ws), t.component("PModal", ac), t.component("PContainer", A4), t.component("PContainerStickyHead", O4), t.component("PDel", tC);
|
|
19899
19906
|
}
|
|
19900
|
-
const
|
|
19907
|
+
const sC = { class: "btn-group" }, oC = /* @__PURE__ */ Y({
|
|
19901
19908
|
__name: "PAuthForm",
|
|
19902
19909
|
props: {
|
|
19903
19910
|
width: {
|
|
@@ -19952,7 +19959,7 @@ const iC = { class: "btn-group" }, sC = /* @__PURE__ */ Y({
|
|
|
19952
19959
|
string: c(xt).Form.GetTitle(),
|
|
19953
19960
|
"font-size": "18px"
|
|
19954
19961
|
}, null, 8, ["string"]),
|
|
19955
|
-
(m(!0), w(Z, null, be(c(xt).Form.GetFields(), (d) => (m(),
|
|
19962
|
+
(m(!0), w(Z, null, be(c(xt).Form.GetFields(), (d) => (m(), _(Ne, {
|
|
19956
19963
|
id: d.id,
|
|
19957
19964
|
key: d.id,
|
|
19958
19965
|
ref_for: !0,
|
|
@@ -19965,8 +19972,8 @@ const iC = { class: "btn-group" }, sC = /* @__PURE__ */ Y({
|
|
|
19965
19972
|
placeholder: d.label,
|
|
19966
19973
|
margin: "10px 0 0 0"
|
|
19967
19974
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "type", "placeholder"]))), 128)),
|
|
19968
|
-
y("div",
|
|
19969
|
-
(m(!0), w(Z, null, be(c(i), (d, f) => (m(),
|
|
19975
|
+
y("div", sC, [
|
|
19976
|
+
(m(!0), w(Z, null, be(c(i), (d, f) => (m(), _(le, {
|
|
19970
19977
|
id: d.id,
|
|
19971
19978
|
key: d.GetChunk(),
|
|
19972
19979
|
disabled: c(xt).Form.IsBlock,
|
|
@@ -19980,7 +19987,7 @@ const iC = { class: "btn-group" }, sC = /* @__PURE__ */ Y({
|
|
|
19980
19987
|
])
|
|
19981
19988
|
], 4));
|
|
19982
19989
|
}
|
|
19983
|
-
}), rc = /* @__PURE__ */ X(
|
|
19990
|
+
}), rc = /* @__PURE__ */ X(oC, [["__scopeId", "data-v-99226f24"]]), aC = /* @__PURE__ */ Y({
|
|
19984
19991
|
__name: "PAuthModal",
|
|
19985
19992
|
props: {
|
|
19986
19993
|
width: {
|
|
@@ -20001,7 +20008,7 @@ const iC = { class: "btn-group" }, sC = /* @__PURE__ */ Y({
|
|
|
20001
20008
|
const e = () => {
|
|
20002
20009
|
xt.Form.Reset(), xt.Modal.Close();
|
|
20003
20010
|
};
|
|
20004
|
-
return (n, i) => (m(),
|
|
20011
|
+
return (n, i) => (m(), _(ac, {
|
|
20005
20012
|
show: c(xt).Modal.Visible,
|
|
20006
20013
|
closable: c(xt).Modal.Closable,
|
|
20007
20014
|
width: t.width,
|
|
@@ -20018,7 +20025,7 @@ const iC = { class: "btn-group" }, sC = /* @__PURE__ */ Y({
|
|
|
20018
20025
|
_: 1
|
|
20019
20026
|
}, 8, ["show", "closable", "width", "padding"]));
|
|
20020
20027
|
}
|
|
20021
|
-
}),
|
|
20028
|
+
}), rC = { class: "p-error-not-found" }, lC = { class: "p-error-not-found-code" }, uC = { class: "p-error-not-found-text" }, dC = /* @__PURE__ */ Y({
|
|
20022
20029
|
__name: "PErrorNotFound",
|
|
20023
20030
|
props: {
|
|
20024
20031
|
code: { default: 404 },
|
|
@@ -20027,10 +20034,10 @@ const iC = { class: "btn-group" }, sC = /* @__PURE__ */ Y({
|
|
|
20027
20034
|
to: { default: "/" }
|
|
20028
20035
|
},
|
|
20029
20036
|
setup(t) {
|
|
20030
|
-
return (e, n) => (m(), w("div",
|
|
20031
|
-
y("div",
|
|
20032
|
-
y("div",
|
|
20033
|
-
t.to ? (m(),
|
|
20037
|
+
return (e, n) => (m(), w("div", rC, [
|
|
20038
|
+
y("div", lC, V(t.code), 1),
|
|
20039
|
+
y("div", uC, V(t.text), 1),
|
|
20040
|
+
t.to ? (m(), _(le, {
|
|
20034
20041
|
key: 0,
|
|
20035
20042
|
class: "q-mt-xl",
|
|
20036
20043
|
color: "primary",
|
|
@@ -20042,7 +20049,7 @@ const iC = { class: "btn-group" }, sC = /* @__PURE__ */ Y({
|
|
|
20042
20049
|
}, null, 8, ["to", "label"])) : j("", !0)
|
|
20043
20050
|
]));
|
|
20044
20051
|
}
|
|
20045
|
-
}),
|
|
20052
|
+
}), cC = /* @__PURE__ */ X(dC, [["__scopeId", "data-v-708892d8"]]), fC = ["onClick"], hC = /* @__PURE__ */ Y({
|
|
20046
20053
|
__name: "PMenuTabs",
|
|
20047
20054
|
props: {
|
|
20048
20055
|
menus: {
|
|
@@ -20122,7 +20129,7 @@ const iC = { class: "btn-group" }, sC = /* @__PURE__ */ Y({
|
|
|
20122
20129
|
maxHeight: t.tabHeight
|
|
20123
20130
|
}),
|
|
20124
20131
|
onClick: ($) => d(b)
|
|
20125
|
-
}, V(p.name), 15,
|
|
20132
|
+
}, V(p.name), 15, fC)
|
|
20126
20133
|
]))), 128))
|
|
20127
20134
|
], 4),
|
|
20128
20135
|
y("div", {
|
|
@@ -20133,15 +20140,15 @@ const iC = { class: "btn-group" }, sC = /* @__PURE__ */ Y({
|
|
|
20133
20140
|
})
|
|
20134
20141
|
}, [
|
|
20135
20142
|
H(f.$slots, "default", {}, () => [
|
|
20136
|
-
t.menus.idx > -1 ? (m(),
|
|
20143
|
+
t.menus.idx > -1 ? (m(), _(In(t.menus.GetComponent()), { key: 0 })) : j("", !0)
|
|
20137
20144
|
], !0)
|
|
20138
20145
|
], 4)
|
|
20139
20146
|
], 4));
|
|
20140
20147
|
}
|
|
20141
|
-
}),
|
|
20148
|
+
}), mC = /* @__PURE__ */ X(hC, [["__scopeId", "data-v-45817c53"]]), pC = ["id"], gC = ["for"], vC = { class: "left-field" }, yC = ["href", "download"], bC = {
|
|
20142
20149
|
key: 1,
|
|
20143
20150
|
class: "text-field__input"
|
|
20144
|
-
},
|
|
20151
|
+
}, wC = { class: "right-field" }, SC = /* @__PURE__ */ Y({
|
|
20145
20152
|
__name: "PUploaderFile",
|
|
20146
20153
|
props: {
|
|
20147
20154
|
fileInfo: {
|
|
@@ -20199,7 +20206,7 @@ const iC = { class: "btn-group" }, sC = /* @__PURE__ */ Y({
|
|
|
20199
20206
|
type: "file",
|
|
20200
20207
|
hidden: "",
|
|
20201
20208
|
onChange: a
|
|
20202
|
-
}, null, 40,
|
|
20209
|
+
}, null, 40, pC),
|
|
20203
20210
|
y("div", {
|
|
20204
20211
|
class: "text-field",
|
|
20205
20212
|
style: K({ margin: t.margin, padding: t.padding })
|
|
@@ -20208,14 +20215,14 @@ const iC = { class: "btn-group" }, sC = /* @__PURE__ */ Y({
|
|
|
20208
20215
|
key: 0,
|
|
20209
20216
|
class: "text-field__label",
|
|
20210
20217
|
for: t.label
|
|
20211
|
-
}, V(t.label), 9,
|
|
20218
|
+
}, V(t.label), 9, gC)) : j("", !0),
|
|
20212
20219
|
y("div", {
|
|
20213
20220
|
class: "field",
|
|
20214
20221
|
style: K({
|
|
20215
20222
|
borderColor: t.borderColor
|
|
20216
20223
|
})
|
|
20217
20224
|
}, [
|
|
20218
|
-
y("div",
|
|
20225
|
+
y("div", vC, [
|
|
20219
20226
|
g(p, null, {
|
|
20220
20227
|
default: k(() => [
|
|
20221
20228
|
H(d.$slots, "default", {}, void 0, !0),
|
|
@@ -20242,7 +20249,7 @@ const iC = { class: "btn-group" }, sC = /* @__PURE__ */ Y({
|
|
|
20242
20249
|
download: t.fileInfo.originalName
|
|
20243
20250
|
}, [
|
|
20244
20251
|
y("div", null, V(t.fileInfo.originalName), 1)
|
|
20245
|
-
], 8,
|
|
20252
|
+
], 8, yC),
|
|
20246
20253
|
g(b, {
|
|
20247
20254
|
skin: "text",
|
|
20248
20255
|
color: "negative",
|
|
@@ -20256,7 +20263,7 @@ const iC = { class: "btn-group" }, sC = /* @__PURE__ */ Y({
|
|
|
20256
20263
|
]),
|
|
20257
20264
|
_: 1
|
|
20258
20265
|
})
|
|
20259
|
-
], 4)) : (m(), w("div",
|
|
20266
|
+
], 4)) : (m(), w("div", bC, [
|
|
20260
20267
|
g(h, {
|
|
20261
20268
|
string: "Файл не загружен",
|
|
20262
20269
|
"font-size": "var(--inpur-font-size-default)",
|
|
@@ -20264,7 +20271,7 @@ const iC = { class: "btn-group" }, sC = /* @__PURE__ */ Y({
|
|
|
20264
20271
|
margin: "0 10px 0 0"
|
|
20265
20272
|
})
|
|
20266
20273
|
])),
|
|
20267
|
-
y("div",
|
|
20274
|
+
y("div", wC, [
|
|
20268
20275
|
g(b, {
|
|
20269
20276
|
id: c(o),
|
|
20270
20277
|
skin: "text",
|
|
@@ -20279,20 +20286,20 @@ const iC = { class: "btn-group" }, sC = /* @__PURE__ */ Y({
|
|
|
20279
20286
|
], 64);
|
|
20280
20287
|
};
|
|
20281
20288
|
}
|
|
20282
|
-
}),
|
|
20283
|
-
function
|
|
20284
|
-
t.component("PMenuTabs",
|
|
20289
|
+
}), CC = /* @__PURE__ */ X(SC, [["__scopeId", "data-v-02358246"]]);
|
|
20290
|
+
function kC(t) {
|
|
20291
|
+
t.component("PMenuTabs", mC), t.component("PUploaderFile", CC), t.component("PUploaderImage", cd), t.component("PAuthForm", rc), t.component("PAuthModal", aC), t.component("PErrorNotFound", cC);
|
|
20285
20292
|
}
|
|
20286
|
-
const
|
|
20293
|
+
const xC = {
|
|
20287
20294
|
install: function(t) {
|
|
20288
|
-
|
|
20295
|
+
KS(t), iC(t), m4(t), kC(t), L8(t);
|
|
20289
20296
|
}
|
|
20290
20297
|
};
|
|
20291
|
-
function
|
|
20298
|
+
function _3(t, e = {}) {
|
|
20292
20299
|
const { quasarPlugins: n = !0 } = e;
|
|
20293
|
-
n && t.use(Qc, { plugins: { Notify: aa, Dialog: ra } }),
|
|
20300
|
+
n && t.use(Qc, { plugins: { Notify: aa, Dialog: ra } }), xC.install(t), Zd(t), Eu(t), Nu(t), Qd(t), Cd(t);
|
|
20294
20301
|
}
|
|
20295
|
-
const
|
|
20302
|
+
const $C = /* @__PURE__ */ Y({
|
|
20296
20303
|
inheritAttrs: !1,
|
|
20297
20304
|
__name: "PChart",
|
|
20298
20305
|
props: {
|
|
@@ -20321,7 +20328,7 @@ const xC = /* @__PURE__ */ Y({
|
|
|
20321
20328
|
h.TitleComponent
|
|
20322
20329
|
]), l.default;
|
|
20323
20330
|
}), i = t, s = z(() => typeof i.height == "number" ? `${i.height}px` : i.height), o = e, a = () => o("click");
|
|
20324
|
-
return (l, r) => (m(),
|
|
20331
|
+
return (l, r) => (m(), _(In(c(n)), {
|
|
20325
20332
|
class: "p-chart",
|
|
20326
20333
|
option: t.option,
|
|
20327
20334
|
autoresize: t.autoresize,
|
|
@@ -20329,8 +20336,8 @@ const xC = /* @__PURE__ */ Y({
|
|
|
20329
20336
|
onClick: a
|
|
20330
20337
|
}, null, 8, ["option", "autoresize", "style"]));
|
|
20331
20338
|
}
|
|
20332
|
-
}),
|
|
20333
|
-
class
|
|
20339
|
+
}), z3 = /* @__PURE__ */ X($C, [["__scopeId", "data-v-228e1545"]]);
|
|
20340
|
+
class L3 extends io {
|
|
20334
20341
|
constructor() {
|
|
20335
20342
|
super(...arguments);
|
|
20336
20343
|
u(this, "label", "Логин");
|
|
@@ -20340,7 +20347,7 @@ class z3 extends io {
|
|
|
20340
20347
|
u(this, "id", "field-auth-login");
|
|
20341
20348
|
}
|
|
20342
20349
|
}
|
|
20343
|
-
function
|
|
20350
|
+
function V3(t, e = {}) {
|
|
20344
20351
|
const n = e.ftsp ?? jt.Get(), i = F(!1), s = z(() => t.Items), o = z(() => t.Count.value), a = z(() => t.Item), l = z({
|
|
20345
20352
|
get: () => t.searchStr.value,
|
|
20346
20353
|
set: ($) => {
|
|
@@ -20358,7 +20365,7 @@ function L3(t, e = {}) {
|
|
|
20358
20365
|
n.reset(), t.ResetState();
|
|
20359
20366
|
} };
|
|
20360
20367
|
}
|
|
20361
|
-
function
|
|
20368
|
+
function U3(t = jt.Get()) {
|
|
20362
20369
|
const e = ht(t), n = z(() => e.f), i = z(() => e.f.length);
|
|
20363
20370
|
return { filters: n, count: i, add: (d) => {
|
|
20364
20371
|
e.setF(d);
|
|
@@ -20370,12 +20377,12 @@ function V3(t = jt.Get()) {
|
|
|
20370
20377
|
e.resetF();
|
|
20371
20378
|
} };
|
|
20372
20379
|
}
|
|
20373
|
-
const
|
|
20380
|
+
const TC = 400;
|
|
20374
20381
|
function na(t, e, n = !1) {
|
|
20375
20382
|
const i = new URL(window.location.href);
|
|
20376
20383
|
e ? i.searchParams.set(t, e) : i.searchParams.delete(t), n ? window.history.pushState(window.history.state, "", i) : window.history.replaceState(window.history.state, "", i);
|
|
20377
20384
|
}
|
|
20378
|
-
function
|
|
20385
|
+
function B3(t, e, n = !1) {
|
|
20379
20386
|
const i = Ff;
|
|
20380
20387
|
let s = "", o, a = !1;
|
|
20381
20388
|
const l = () => {
|
|
@@ -20406,15 +20413,15 @@ function U3(t, e, n = !1) {
|
|
|
20406
20413
|
return;
|
|
20407
20414
|
}
|
|
20408
20415
|
s = M, na(i, M, T);
|
|
20409
|
-
},
|
|
20416
|
+
}, TC));
|
|
20410
20417
|
}, p = (M) => {
|
|
20411
20418
|
const T = Yt.Decode(s), P = Yt.Decode(M);
|
|
20412
20419
|
if (JSON.stringify(T.s) !== JSON.stringify(P.s))
|
|
20413
20420
|
return !0;
|
|
20414
|
-
const S = T.f,
|
|
20415
|
-
if (S.length !==
|
|
20421
|
+
const S = T.f, D = P.f;
|
|
20422
|
+
if (S.length !== D.length)
|
|
20416
20423
|
return !0;
|
|
20417
|
-
for (const x of
|
|
20424
|
+
for (const x of D) {
|
|
20418
20425
|
const U = S.find((A) => A.model === x.model && A.col === x.col);
|
|
20419
20426
|
if (!U || x.type === Ee.Boolean && U.boolean !== x.boolean || (x.operator === Qe.In || x.type === Ee.Join) && U.set.join(",") !== x.set.join(","))
|
|
20420
20427
|
return !0;
|
|
@@ -20449,7 +20456,7 @@ function U3(t, e, n = !1) {
|
|
|
20449
20456
|
}
|
|
20450
20457
|
};
|
|
20451
20458
|
}
|
|
20452
|
-
function
|
|
20459
|
+
function q3(t, e = {}) {
|
|
20453
20460
|
const n = F(!1), i = F(""), s = F(null), o = F(!1);
|
|
20454
20461
|
let a = !1, l = !1;
|
|
20455
20462
|
e.disposeOnUnmount !== !1 && Ml() && Al(() => {
|
|
@@ -20493,7 +20500,7 @@ function B3(t, e = {}) {
|
|
|
20493
20500
|
reset: p
|
|
20494
20501
|
};
|
|
20495
20502
|
}
|
|
20496
|
-
function
|
|
20503
|
+
function N3(t, e = {}) {
|
|
20497
20504
|
const {
|
|
20498
20505
|
labelCol: n = "name",
|
|
20499
20506
|
valueCol: i = "id",
|
|
@@ -20521,7 +20528,7 @@ function q3(t, e = {}) {
|
|
|
20521
20528
|
search: b
|
|
20522
20529
|
};
|
|
20523
20530
|
}
|
|
20524
|
-
function
|
|
20531
|
+
function H3(t = jt.Get()) {
|
|
20525
20532
|
const e = ht(t), n = z({
|
|
20526
20533
|
get: () => e.p.getPageNum(),
|
|
20527
20534
|
set: ($) => {
|
|
@@ -20555,19 +20562,19 @@ function N3(t = jt.Get()) {
|
|
|
20555
20562
|
e.p.setAllLoaded($);
|
|
20556
20563
|
}, pagination: o };
|
|
20557
20564
|
}
|
|
20558
|
-
const
|
|
20565
|
+
const PC = "web-desktop", RC = 768;
|
|
20559
20566
|
function vl(t, e = !1) {
|
|
20560
|
-
return t <=
|
|
20567
|
+
return t <= RC ? "web-mobile" : e ? "web-tablet" : "web-desktop";
|
|
20561
20568
|
}
|
|
20562
20569
|
let Ji = !1;
|
|
20563
|
-
function
|
|
20570
|
+
function j3() {
|
|
20564
20571
|
var t;
|
|
20565
20572
|
Ji = !0, typeof document < "u" && (localStorage == null || localStorage.removeItem("pf-theme"), document.documentElement.setAttribute("data-theme", "light"), (t = document.body) == null || t.classList.remove("body--dark"));
|
|
20566
20573
|
}
|
|
20567
|
-
function
|
|
20574
|
+
function G3() {
|
|
20568
20575
|
return Ji;
|
|
20569
20576
|
}
|
|
20570
|
-
function
|
|
20577
|
+
function W3(t = {}) {
|
|
20571
20578
|
const {
|
|
20572
20579
|
brandbook: e,
|
|
20573
20580
|
platform: n,
|
|
@@ -20575,7 +20582,7 @@ function G3(t = {}) {
|
|
|
20575
20582
|
defaultTheme: s,
|
|
20576
20583
|
autoPlatform: o = !1
|
|
20577
20584
|
} = t, a = document.documentElement, l = typeof localStorage < "u" ? localStorage.getItem(i) : null, d = F(Ji ? "light" : l === "dark" || l === "light" ? l : s ?? "light"), f = typeof window < "u" ? window.innerWidth : 1440, h = typeof window < "u" && window.matchMedia("(pointer: coarse)").matches, p = F(
|
|
20578
|
-
o ? vl(f, h) : n ??
|
|
20585
|
+
o ? vl(f, h) : n ?? PC
|
|
20579
20586
|
);
|
|
20580
20587
|
e && a.setAttribute("data-brandbook", e), a.setAttribute("data-theme", d.value), a.setAttribute("data-platform", p.value), Me(
|
|
20581
20588
|
d,
|
|
@@ -20616,11 +20623,11 @@ function G3(t = {}) {
|
|
|
20616
20623
|
}
|
|
20617
20624
|
};
|
|
20618
20625
|
}
|
|
20619
|
-
function
|
|
20626
|
+
function Y3(t = "pf-theme") {
|
|
20620
20627
|
const e = typeof localStorage < "u" ? localStorage.getItem(t) : null;
|
|
20621
20628
|
return e === "dark" || e === "light" ? e : void 0;
|
|
20622
20629
|
}
|
|
20623
|
-
const
|
|
20630
|
+
const Q3 = {
|
|
20624
20631
|
primary: "#476db5",
|
|
20625
20632
|
secondary: "#8aa5d4",
|
|
20626
20633
|
accent: "#66c0e4",
|
|
@@ -20630,7 +20637,7 @@ const Y3 = {
|
|
|
20630
20637
|
warning: "#d97a2b",
|
|
20631
20638
|
dark: "#1e293b",
|
|
20632
20639
|
"dark-page": "#0f172a"
|
|
20633
|
-
},
|
|
20640
|
+
}, X3 = {
|
|
20634
20641
|
primary: "#5e6ce7",
|
|
20635
20642
|
secondary: "#4a6088",
|
|
20636
20643
|
accent: "#ffc353",
|
|
@@ -20640,7 +20647,7 @@ const Y3 = {
|
|
|
20640
20647
|
warning: "#f59433",
|
|
20641
20648
|
dark: "#1e1e1e",
|
|
20642
20649
|
"dark-page": "#121212"
|
|
20643
|
-
},
|
|
20650
|
+
}, IC = 5 * 60 * 1e3, MC = 5 * 1e3;
|
|
20644
20651
|
let yl = !1, ia = 0, Zs = !1, sa = !1;
|
|
20645
20652
|
function qs(t, e, n = "", i = !1) {
|
|
20646
20653
|
const s = t.UserInfo(), o = {
|
|
@@ -20677,11 +20684,11 @@ function qs(t, e, n = "", i = !1) {
|
|
|
20677
20684
|
function oa(t, e, n = !1) {
|
|
20678
20685
|
Zs || (Zs = !0, qs(t, "logout", e, n));
|
|
20679
20686
|
}
|
|
20680
|
-
function
|
|
20687
|
+
function J3(t) {
|
|
20681
20688
|
if (yl) return;
|
|
20682
20689
|
yl = !0, t.on("login", () => {
|
|
20683
20690
|
const n = Date.now();
|
|
20684
|
-
n - ia <
|
|
20691
|
+
n - ia < MC || (ia = n, Zs = !1, sa = !1, qs(t, "login"));
|
|
20685
20692
|
}), t.on("logout", () => {
|
|
20686
20693
|
sa = !0, oa(t, "user");
|
|
20687
20694
|
}), t.on("session-expired", () => oa(t, "token-expired")), t.isAuth() && (ia = Date.now(), Zs = !1, qs(t, "login"));
|
|
@@ -20690,9 +20697,9 @@ function X3(t) {
|
|
|
20690
20697
|
};
|
|
20691
20698
|
window.addEventListener("pagehide", e), window.addEventListener("beforeunload", e), window.setInterval(() => {
|
|
20692
20699
|
t.isAuth() && qs(t, "heartbeat");
|
|
20693
|
-
},
|
|
20700
|
+
}, IC);
|
|
20694
20701
|
}
|
|
20695
|
-
const
|
|
20702
|
+
const Z3 = ["PF", "PFM"];
|
|
20696
20703
|
export {
|
|
20697
20704
|
Mr as AuthButtonLogin,
|
|
20698
20705
|
lf as AuthButtonRefresh,
|
|
@@ -20702,22 +20709,22 @@ export {
|
|
|
20702
20709
|
Hn as AuthFieldsIds,
|
|
20703
20710
|
pf as AuthFormSettings,
|
|
20704
20711
|
us as AuthMethods,
|
|
20705
|
-
|
|
20712
|
+
PC as DEFAULT_PLATFORM,
|
|
20706
20713
|
Vo as EmailField,
|
|
20707
20714
|
Ht as FileInfo,
|
|
20708
|
-
|
|
20709
|
-
|
|
20715
|
+
L3 as LoginField,
|
|
20716
|
+
RC as MOBILE_MAX_WIDTH,
|
|
20710
20717
|
y0 as NotifyBadge,
|
|
20711
20718
|
kd as NotifyStore,
|
|
20712
|
-
|
|
20713
|
-
|
|
20714
|
-
|
|
20719
|
+
B4 as PAddDialog,
|
|
20720
|
+
D3 as PAuditJournal,
|
|
20721
|
+
O3 as PAuditList,
|
|
20715
20722
|
Fi as PBadge,
|
|
20716
20723
|
le as PButton,
|
|
20717
20724
|
fd as PCard,
|
|
20718
|
-
|
|
20725
|
+
z3 as PChart,
|
|
20719
20726
|
os as PCheckBox,
|
|
20720
|
-
|
|
20727
|
+
cS as PChip,
|
|
20721
20728
|
Pu as PContactForm,
|
|
20722
20729
|
ho as PContactFormDeleteDialog,
|
|
20723
20730
|
Ru as PContactFormEdit,
|
|
@@ -20727,18 +20734,18 @@ export {
|
|
|
20727
20734
|
Au as PContactFormView,
|
|
20728
20735
|
Li as PContactFormViewEmails,
|
|
20729
20736
|
Vi as PContactFormViewPhones,
|
|
20730
|
-
|
|
20737
|
+
J4 as PCrudList,
|
|
20731
20738
|
Ha as PDateInput,
|
|
20732
|
-
|
|
20739
|
+
mS as PDateTimeInput,
|
|
20733
20740
|
an as PDialog,
|
|
20734
20741
|
ws as PEditDialog,
|
|
20735
|
-
|
|
20742
|
+
cC as PErrorNotFound,
|
|
20736
20743
|
W as PF,
|
|
20737
|
-
|
|
20744
|
+
F3 as PFM,
|
|
20738
20745
|
nc as PHint,
|
|
20739
20746
|
Ne as PInput,
|
|
20740
20747
|
ir as POptionsListSingle,
|
|
20741
|
-
|
|
20748
|
+
OS as POpts,
|
|
20742
20749
|
Nt as PSelect,
|
|
20743
20750
|
sr as PTable,
|
|
20744
20751
|
Ud as PTableActions,
|
|
@@ -20750,11 +20757,11 @@ export {
|
|
|
20750
20757
|
Gd as PTableNumber,
|
|
20751
20758
|
Wd as PTableSelect,
|
|
20752
20759
|
Yd as PTableString,
|
|
20753
|
-
|
|
20760
|
+
BS as PTableToggle,
|
|
20754
20761
|
Xd as PTabs,
|
|
20755
20762
|
Jd as PTabsLeft,
|
|
20756
20763
|
po as PToggle,
|
|
20757
|
-
|
|
20764
|
+
ZS as PWidget,
|
|
20758
20765
|
Fu as PageFTSPKey,
|
|
20759
20766
|
Uo as PasswordField,
|
|
20760
20767
|
mf as PasswordRepeatField,
|
|
@@ -20769,25 +20776,25 @@ export {
|
|
|
20769
20776
|
or as TabsStore,
|
|
20770
20777
|
dv as createPageFTSP,
|
|
20771
20778
|
Mn as defaultContactsLabels,
|
|
20772
|
-
|
|
20773
|
-
|
|
20774
|
-
|
|
20775
|
-
|
|
20776
|
-
|
|
20777
|
-
|
|
20778
|
-
|
|
20779
|
-
|
|
20780
|
-
|
|
20779
|
+
Y3 as getStoredTheme,
|
|
20780
|
+
J3 as initAuthLog,
|
|
20781
|
+
_3 as installSprof,
|
|
20782
|
+
G3 as isThemeLockedLight,
|
|
20783
|
+
j3 as lockLightTheme,
|
|
20784
|
+
Z3 as pfName,
|
|
20785
|
+
y3 as providePageFTSP,
|
|
20786
|
+
X3 as quasarBrandExample,
|
|
20787
|
+
Q3 as quasarBrandRdkb,
|
|
20781
20788
|
vl as resolvePlatform,
|
|
20782
20789
|
Mp as setupClient,
|
|
20783
|
-
|
|
20784
|
-
|
|
20785
|
-
|
|
20786
|
-
|
|
20790
|
+
V3 as useCrud,
|
|
20791
|
+
B3 as useFTSPURL,
|
|
20792
|
+
U3 as useFilters,
|
|
20793
|
+
q3 as useLoader,
|
|
20787
20794
|
xd as useNotify,
|
|
20788
|
-
|
|
20795
|
+
N3 as useOptions,
|
|
20789
20796
|
kn as usePageFTSP,
|
|
20790
|
-
|
|
20791
|
-
|
|
20792
|
-
|
|
20797
|
+
b3 as usePageFTSPRef,
|
|
20798
|
+
H3 as usePagination,
|
|
20799
|
+
W3 as useTheme
|
|
20793
20800
|
};
|