sprof 0.0.193 → 0.0.194
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 +56 -56
- package/dist/sprof.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/sprof.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _l = Object.defineProperty;
|
|
2
2
|
var Zl = (t, e, i) => e in t ? _l(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
|
|
3
3
|
var a = (t, e, i) => Zl(t, typeof e != "symbol" ? e + "" : e, i);
|
|
4
|
-
import { reactive as
|
|
4
|
+
import { reactive as Ee, ref as T, openBlock as g, createElementBlock as w, createElementVNode as f, getCurrentInstance as Xl, inject as Yl, onUnmounted as Tr, onDeactivated as Jl, onActivated as Ql, onBeforeMount as ot, defineComponent as $, computed as he, mergeProps as Mt, unref as p, withModifiers as Fe, renderSlot as P, createTextVNode as es, toDisplayString as xe, Fragment as G, normalizeClass as ie, normalizeStyle as I, mergeModels as Ae, useModel as mt, withDirectives as Xe, vModelCheckbox as Kl, createVNode as R, createCommentVNode as J, vModelDynamic as eu, resolveComponent as L, isRef as Ve, withKeys as tu, vModelText as zr, watch as Ye, createBlock as N, vModelRadio as iu, vShow as ts, vModelSelect as nu, useCssVars as Or, onMounted as Zt, renderList as Te, withCtx as X, resolveDirective as Fr, nextTick as su, Transition as Dr, onBeforeUnmount as is, createStaticVNode as Lr, onUpdated as ru, useTemplateRef as ou, resolveDynamicComponent as ai } from "vue";
|
|
5
5
|
var Re = /* @__PURE__ */ ((t) => (t.Login = "login", t.Register = "register", t.Restore = "restore", t.Refresh = "refresh", t))(Re || {}), Pe = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.Success = "success", t.Warning = "warning", t.Error = "error", t.Info = "info", t))(Pe || {});
|
|
6
6
|
class It {
|
|
7
7
|
constructor(e, i, n, s) {
|
|
@@ -464,7 +464,7 @@ class vu extends Nr {
|
|
|
464
464
|
super.showMessage(i, n);
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
|
-
const yu = new vu(),
|
|
467
|
+
const yu = new vu(), Oe = Ee(yu);
|
|
468
468
|
class it {
|
|
469
469
|
static Get(e) {
|
|
470
470
|
const i = localStorage.getItem(e);
|
|
@@ -563,7 +563,7 @@ class Su {
|
|
|
563
563
|
}
|
|
564
564
|
Logout() {
|
|
565
565
|
if (this.preventLogout) {
|
|
566
|
-
|
|
566
|
+
Oe.Warning("В текущий момент Вы не можете выйти из системы");
|
|
567
567
|
return;
|
|
568
568
|
}
|
|
569
569
|
this.user.reset(), this.tokens.reset(), this.isAuth = !1;
|
|
@@ -578,9 +578,9 @@ class Su {
|
|
|
578
578
|
}
|
|
579
579
|
const Ut = class Ut {
|
|
580
580
|
constructor() {
|
|
581
|
-
a(this, "form",
|
|
582
|
-
a(this, "status",
|
|
583
|
-
a(this, "modal",
|
|
581
|
+
a(this, "form", Ee(new gu()));
|
|
582
|
+
a(this, "status", Ee(new Su()));
|
|
583
|
+
a(this, "modal", Ee(new pu()));
|
|
584
584
|
if (Ut.instance)
|
|
585
585
|
return Ut.instance;
|
|
586
586
|
Ut.instance = this, Object.freeze(this);
|
|
@@ -1631,7 +1631,7 @@ class ns {
|
|
|
1631
1631
|
}
|
|
1632
1632
|
}
|
|
1633
1633
|
a(ns, "staticUrl", "");
|
|
1634
|
-
class
|
|
1634
|
+
class ze {
|
|
1635
1635
|
constructor(e) {
|
|
1636
1636
|
a(this, "name", "");
|
|
1637
1637
|
a(this, "url", "");
|
|
@@ -1657,7 +1657,7 @@ class Te {
|
|
|
1657
1657
|
return { name: this.originalName, url: this.url };
|
|
1658
1658
|
}
|
|
1659
1659
|
static CreatePreviewFile(e, i) {
|
|
1660
|
-
const n = new
|
|
1660
|
+
const n = new ze();
|
|
1661
1661
|
return n.id = i ?? Me.UUID(), n.originalName = e.name, n.file = e.blob, n.fileSystemPath = Me.UUID(), n;
|
|
1662
1662
|
}
|
|
1663
1663
|
setFile(e) {
|
|
@@ -1754,7 +1754,7 @@ class ss {
|
|
|
1754
1754
|
}
|
|
1755
1755
|
var pt;
|
|
1756
1756
|
let Iu = (pt = class {
|
|
1757
|
-
}, a(pt, "Phone", Et), a(pt, "FileInfo",
|
|
1757
|
+
}, a(pt, "Phone", Et), a(pt, "FileInfo", ze), a(pt, "PostAddress", Di), a(pt, "Website", ss), a(pt, "Email", Pt), a(pt, "Human", Wr), pt);
|
|
1758
1758
|
class ft {
|
|
1759
1759
|
static Shuffle(e) {
|
|
1760
1760
|
for (let i = e.length - 1; i > 0; i--) {
|
|
@@ -2104,7 +2104,7 @@ Vi([
|
|
|
2104
2104
|
let ci = gi;
|
|
2105
2105
|
var ti;
|
|
2106
2106
|
let Eu = (ti = class {
|
|
2107
|
-
}, a(ti, "SortModel", Wi), a(ti, "FilterModel", rs), a(ti, "FTSP", ci), ti);
|
|
2107
|
+
}, a(ti, "SortModel", Wi), a(ti, "FilterModel", rs), a(ti, "FTSP", Ee(ci)), ti);
|
|
2108
2108
|
function Vr(t, e) {
|
|
2109
2109
|
return function() {
|
|
2110
2110
|
return t.apply(e, arguments);
|
|
@@ -3852,14 +3852,14 @@ class cs {
|
|
|
3852
3852
|
return n._retry = !0, i.defaults.headers.common.token = hi.getAccessToken(), e.config.headers.token = hi.getAccessToken(), e.config.baseURL = void 0, i.request(n);
|
|
3853
3853
|
if (e.response.status >= 500) {
|
|
3854
3854
|
if (e.response.data === "неверный логин или пароль") {
|
|
3855
|
-
|
|
3855
|
+
Oe.Error("Неверный логин или пароль");
|
|
3856
3856
|
return;
|
|
3857
3857
|
}
|
|
3858
|
-
|
|
3858
|
+
Oe.Error("Ошибка на сервере, попробуйте позже");
|
|
3859
3859
|
}
|
|
3860
3860
|
if (e.response.status >= 400 && e.response.status < 500) {
|
|
3861
3861
|
const s = new cs(e.response.data).getErr();
|
|
3862
|
-
s &&
|
|
3862
|
+
s && Oe.Error(s);
|
|
3863
3863
|
}
|
|
3864
3864
|
return Promise.reject(e);
|
|
3865
3865
|
}
|
|
@@ -4106,12 +4106,12 @@ a(tt, "router"), a(tt, "ChangeDocumentTitle", (e = "") => {
|
|
|
4106
4106
|
let xt = tt;
|
|
4107
4107
|
class ue {
|
|
4108
4108
|
constructor(e, i) {
|
|
4109
|
-
a(this, "items",
|
|
4109
|
+
a(this, "items", Ee([]));
|
|
4110
4110
|
a(this, "item");
|
|
4111
4111
|
a(this, "count", T(0));
|
|
4112
4112
|
a(this, "classConstructor");
|
|
4113
4113
|
a(this, "url", "");
|
|
4114
|
-
this.classConstructor = e, this.item =
|
|
4114
|
+
this.classConstructor = e, this.item = Ee(new this.classConstructor()), this.url = i;
|
|
4115
4115
|
}
|
|
4116
4116
|
Set(e) {
|
|
4117
4117
|
Object.assign(this.item, new this.classConstructor(e));
|
|
@@ -4953,7 +4953,7 @@ let Xd = class extends ue {
|
|
|
4953
4953
|
const Yd = new Xd();
|
|
4954
4954
|
let Jd = class extends ue {
|
|
4955
4955
|
constructor() {
|
|
4956
|
-
super(
|
|
4956
|
+
super(ze, "file-infos");
|
|
4957
4957
|
}
|
|
4958
4958
|
};
|
|
4959
4959
|
const Qd = new Jd();
|
|
@@ -5100,8 +5100,8 @@ class $n {
|
|
|
5100
5100
|
let hh = class {
|
|
5101
5101
|
constructor() {
|
|
5102
5102
|
a(this, "isSearchDrawerOpen", T(!1));
|
|
5103
|
-
a(this, "searchModel",
|
|
5104
|
-
a(this, "searchGroups",
|
|
5103
|
+
a(this, "searchModel", Ee(new $n()));
|
|
5104
|
+
a(this, "searchGroups", Ee([]));
|
|
5105
5105
|
a(this, "count", 0);
|
|
5106
5106
|
}
|
|
5107
5107
|
async Search(e) {
|
|
@@ -5276,8 +5276,8 @@ class Sh {
|
|
|
5276
5276
|
const Ch = new Sh();
|
|
5277
5277
|
class xh {
|
|
5278
5278
|
constructor() {
|
|
5279
|
-
a(this, "Menu",
|
|
5280
|
-
a(this, "Head",
|
|
5279
|
+
a(this, "Menu", Ee(Ch));
|
|
5280
|
+
a(this, "Head", Ee(bh));
|
|
5281
5281
|
}
|
|
5282
5282
|
}
|
|
5283
5283
|
const Mh = new xh();
|
|
@@ -5331,10 +5331,10 @@ class Ih extends qr {
|
|
|
5331
5331
|
const Rh = new Ih();
|
|
5332
5332
|
class kt {
|
|
5333
5333
|
}
|
|
5334
|
-
a(kt, "Admin", Mh), a(kt, "Dialog", lt), a(kt, "Loading", Rh), a(kt, "Notify", Oe
|
|
5334
|
+
a(kt, "Admin", Mh), a(kt, "Dialog", lt), a(kt, "Loading", Rh), a(kt, "Notify", Ee(Oe)), a(kt, "Btn", It), a(kt, "Input", Br);
|
|
5335
5335
|
class z {
|
|
5336
5336
|
}
|
|
5337
|
-
a(z, "Auth",
|
|
5337
|
+
a(z, "Auth", Ee(dt)), a(z, "UI", Ee(kt)), a(z, "Paginator", Ee(jd)), /**
|
|
5338
5338
|
* Stores
|
|
5339
5339
|
*/
|
|
5340
5340
|
a(z, "S", vh), /**
|
|
@@ -5355,7 +5355,7 @@ class Ao {
|
|
|
5355
5355
|
a(this, "id");
|
|
5356
5356
|
a(this, "num", "");
|
|
5357
5357
|
a(this, "fileInfoId");
|
|
5358
|
-
a(this, "fileInfo", new
|
|
5358
|
+
a(this, "fileInfo", new ze());
|
|
5359
5359
|
z.H.Classes.BuildClass(this, e);
|
|
5360
5360
|
}
|
|
5361
5361
|
}
|
|
@@ -5400,7 +5400,7 @@ class Po {
|
|
|
5400
5400
|
a(this, "id");
|
|
5401
5401
|
a(this, "num", "");
|
|
5402
5402
|
a(this, "fileInfoId");
|
|
5403
|
-
a(this, "fileInfo", new
|
|
5403
|
+
a(this, "fileInfo", new ze());
|
|
5404
5404
|
z.H.Classes.BuildClass(this, e);
|
|
5405
5405
|
}
|
|
5406
5406
|
}
|
|
@@ -5625,7 +5625,7 @@ class ys {
|
|
|
5625
5625
|
a(this, "answerId");
|
|
5626
5626
|
a(this, "comment", "");
|
|
5627
5627
|
a(this, "fileInfoId");
|
|
5628
|
-
a(this, "fileInfo", new
|
|
5628
|
+
a(this, "fileInfo", new ze());
|
|
5629
5629
|
z.H.Classes.BuildClass(this, e);
|
|
5630
5630
|
}
|
|
5631
5631
|
}
|
|
@@ -5657,7 +5657,7 @@ const ws = class _n {
|
|
|
5657
5657
|
a(this, "valueOther");
|
|
5658
5658
|
a(this, "valueNumber");
|
|
5659
5659
|
a(this, "valueDate");
|
|
5660
|
-
a(this, "fileInfo", new
|
|
5660
|
+
a(this, "fileInfo", new ze());
|
|
5661
5661
|
a(this, "fileInfoId");
|
|
5662
5662
|
a(this, "order", 0);
|
|
5663
5663
|
a(this, "selectedAnswerVariants", []);
|
|
@@ -6017,7 +6017,7 @@ class sn {
|
|
|
6017
6017
|
a(this, "order", 0);
|
|
6018
6018
|
a(this, "menuId");
|
|
6019
6019
|
a(this, "iconId");
|
|
6020
|
-
a(this, "icon", new
|
|
6020
|
+
a(this, "icon", new ze());
|
|
6021
6021
|
a(this, "iconName", "");
|
|
6022
6022
|
a(this, "svgCode", "");
|
|
6023
6023
|
B.BuildClass(this, e);
|
|
@@ -6047,7 +6047,7 @@ class bs {
|
|
|
6047
6047
|
a(this, "subMenus", []);
|
|
6048
6048
|
a(this, "subMenusForDelete", []);
|
|
6049
6049
|
a(this, "iconId");
|
|
6050
|
-
a(this, "icon", new
|
|
6050
|
+
a(this, "icon", new ze());
|
|
6051
6051
|
B.BuildClass(this, e);
|
|
6052
6052
|
}
|
|
6053
6053
|
withoutChildren() {
|
|
@@ -6139,7 +6139,7 @@ class xf {
|
|
|
6139
6139
|
class Ss {
|
|
6140
6140
|
constructor(e) {
|
|
6141
6141
|
a(this, "id");
|
|
6142
|
-
a(this, "document", new
|
|
6142
|
+
a(this, "document", new ze());
|
|
6143
6143
|
a(this, "documentId");
|
|
6144
6144
|
a(this, "pageId");
|
|
6145
6145
|
B.BuildClass(this, e);
|
|
@@ -6161,7 +6161,7 @@ class on {
|
|
|
6161
6161
|
}
|
|
6162
6162
|
}
|
|
6163
6163
|
kf([
|
|
6164
|
-
B.GetClassConstructor(
|
|
6164
|
+
B.GetClassConstructor(ze)
|
|
6165
6165
|
], on.prototype, "fileInfo");
|
|
6166
6166
|
class an {
|
|
6167
6167
|
constructor(e) {
|
|
@@ -6170,7 +6170,7 @@ class an {
|
|
|
6170
6170
|
a(this, "order", 0);
|
|
6171
6171
|
a(this, "downloadToFile", !1);
|
|
6172
6172
|
a(this, "pageSectionId");
|
|
6173
|
-
a(this, "scan", new
|
|
6173
|
+
a(this, "scan", new ze());
|
|
6174
6174
|
a(this, "scanId");
|
|
6175
6175
|
B.BuildClass(this, e);
|
|
6176
6176
|
}
|
|
@@ -6978,7 +6978,7 @@ const An = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
|
|
|
6978
6978
|
return;
|
|
6979
6979
|
const c = ct.FromRuStr(l);
|
|
6980
6980
|
n.value = c, i("beforeChange", c), i("change", c);
|
|
6981
|
-
}, u = (l) => l.length != 10 ? (r.value = s,
|
|
6981
|
+
}, u = (l) => l.length != 10 ? (r.value = s, Oe.Error("Неверный формат даты"), !1) : Number(r.value.slice(0, 2)) > 31 ? (r.value = s, Oe.Error("Неверный день месяца"), !1) : Number(r.value.slice(3, 5)) > 12 ? (r.value = s, Oe.Error("Неверный месяц"), !1) : Number(r.value.slice(6, 10)) > 2100 ? (r.value = s, Oe.Error("Неверный год"), !1) : !0;
|
|
6982
6982
|
return (l, c) => {
|
|
6983
6983
|
const d = L("PInput");
|
|
6984
6984
|
return g(), w("div", {
|
|
@@ -8016,7 +8016,7 @@ const hg = { class: "container" }, fg = { class: "slide-box" }, mg = { class: "l
|
|
|
8016
8016
|
f("use", { "xlink:href": "#arrow-prev" }, null, -1)
|
|
8017
8017
|
]))),
|
|
8018
8018
|
f("div", fg, [
|
|
8019
|
-
(g(!0), w(G, null,
|
|
8019
|
+
(g(!0), w(G, null, Te(p(o), (M, S) => (g(), w("div", {
|
|
8020
8020
|
key: S,
|
|
8021
8021
|
class: ie({
|
|
8022
8022
|
animationnext: p(s) === p(ut).Next,
|
|
@@ -8042,7 +8042,7 @@ const hg = { class: "container" }, fg = { class: "slide-box" }, mg = { class: "l
|
|
|
8042
8042
|
margin: "0"
|
|
8043
8043
|
}, {
|
|
8044
8044
|
default: X(() => [
|
|
8045
|
-
(g(!0), w(G, null,
|
|
8045
|
+
(g(!0), w(G, null, Te(p(r), (M, S) => (g(), w("div", {
|
|
8046
8046
|
id: S.toString(),
|
|
8047
8047
|
key: S,
|
|
8048
8048
|
class: "number",
|
|
@@ -8256,7 +8256,7 @@ const ca = /* @__PURE__ */ A(wg, [["render", Sg], ["__scopeId", "data-v-d28c6f33
|
|
|
8256
8256
|
margin: "0px"
|
|
8257
8257
|
}, {
|
|
8258
8258
|
default: X(() => [
|
|
8259
|
-
(g(!0), w(G, null,
|
|
8259
|
+
(g(!0), w(G, null, Te(t.models, (m, y) => (g(), N(c, {
|
|
8260
8260
|
key: y,
|
|
8261
8261
|
color: "blue",
|
|
8262
8262
|
height: "auto",
|
|
@@ -8305,7 +8305,7 @@ const ca = /* @__PURE__ */ A(wg, [["render", Sg], ["__scopeId", "data-v-d28c6f33
|
|
|
8305
8305
|
onChange: o
|
|
8306
8306
|
}, {
|
|
8307
8307
|
default: X(() => [
|
|
8308
|
-
(g(!0), w(G, null,
|
|
8308
|
+
(g(!0), w(G, null, Te(t.models, (d, h) => (g(), w("option", {
|
|
8309
8309
|
key: h,
|
|
8310
8310
|
value: d,
|
|
8311
8311
|
label: d.label
|
|
@@ -8620,7 +8620,7 @@ const ca = /* @__PURE__ */ A(wg, [["render", Sg], ["__scopeId", "data-v-d28c6f33
|
|
|
8620
8620
|
"with-open-window": !0
|
|
8621
8621
|
}, {
|
|
8622
8622
|
"open-inside-content": X(() => [
|
|
8623
|
-
(g(!0), w(G, null,
|
|
8623
|
+
(g(!0), w(G, null, Te(t.list, (d) => (g(), N(l, {
|
|
8624
8624
|
key: d,
|
|
8625
8625
|
type: "admin",
|
|
8626
8626
|
color: "blue",
|
|
@@ -8748,7 +8748,7 @@ const ca = /* @__PURE__ */ A(wg, [["render", Sg], ["__scopeId", "data-v-d28c6f33
|
|
|
8748
8748
|
}, 8, ["modelValue"]),
|
|
8749
8749
|
p(s) ? (g(), w("div", Ug, [
|
|
8750
8750
|
f("ul", jg, [
|
|
8751
|
-
(g(!0), w(G, null,
|
|
8751
|
+
(g(!0), w(G, null, Te(p(r), (y) => (g(), w("li", {
|
|
8752
8752
|
key: y.value,
|
|
8753
8753
|
onClick: (x) => l(y)
|
|
8754
8754
|
}, xe(y.label), 9, Wg))), 128))
|
|
@@ -8923,7 +8923,7 @@ const xa = /* @__PURE__ */ A(Xg, [["render", Yg], ["__scopeId", "data-v-0f1f2f84
|
|
|
8923
8923
|
_: 1
|
|
8924
8924
|
})
|
|
8925
8925
|
], 32)) : J("", !0),
|
|
8926
|
-
(g(!0), w(G, null,
|
|
8926
|
+
(g(!0), w(G, null, Te(p(d), (j) => (g(), w("li", { key: j }, [
|
|
8927
8927
|
R(M, {
|
|
8928
8928
|
skin: "pag",
|
|
8929
8929
|
type: n(j === p(r).curPage),
|
|
@@ -9307,7 +9307,7 @@ const xa = /* @__PURE__ */ A(Xg, [["render", Yg], ["__scopeId", "data-v-0f1f2f84
|
|
|
9307
9307
|
onChange: s
|
|
9308
9308
|
}, {
|
|
9309
9309
|
default: X(() => [
|
|
9310
|
-
(g(), w(G, null,
|
|
9310
|
+
(g(), w(G, null, Te(i, (c, d) => f("option", {
|
|
9311
9311
|
key: c,
|
|
9312
9312
|
label: c,
|
|
9313
9313
|
value: d
|
|
@@ -9351,7 +9351,7 @@ const xa = /* @__PURE__ */ A(Xg, [["render", Yg], ["__scopeId", "data-v-0f1f2f84
|
|
|
9351
9351
|
onClear: l[1] || (l[1] = (h) => o())
|
|
9352
9352
|
}, {
|
|
9353
9353
|
default: X(() => [
|
|
9354
|
-
(g(!0), w(G, null,
|
|
9354
|
+
(g(!0), w(G, null, Te(p(At).Get(), (h, m) => (g(), w("option", {
|
|
9355
9355
|
key: m,
|
|
9356
9356
|
label: h.label,
|
|
9357
9357
|
value: h
|
|
@@ -9376,7 +9376,7 @@ const xa = /* @__PURE__ */ A(Xg, [["render", Yg], ["__scopeId", "data-v-0f1f2f84
|
|
|
9376
9376
|
n.value = At.GetDefault();
|
|
9377
9377
|
});
|
|
9378
9378
|
const s = async (o) => {
|
|
9379
|
-
|
|
9379
|
+
o || (n.value = At.GetDefault()), z.F.FTSP.Get().setSortModel(n.value), z.F.FTSP.Get().p.drop(), i("load");
|
|
9380
9380
|
}, r = async (o) => {
|
|
9381
9381
|
await s(o);
|
|
9382
9382
|
};
|
|
@@ -9392,7 +9392,7 @@ const xa = /* @__PURE__ */ A(Xg, [["render", Yg], ["__scopeId", "data-v-0f1f2f84
|
|
|
9392
9392
|
onChange: r
|
|
9393
9393
|
}, {
|
|
9394
9394
|
default: X(() => [
|
|
9395
|
-
(g(!0), w(G, null,
|
|
9395
|
+
(g(!0), w(G, null, Te(p(At).Get(), (d, h) => (g(), w("option", {
|
|
9396
9396
|
key: h,
|
|
9397
9397
|
label: d.label,
|
|
9398
9398
|
value: d
|
|
@@ -9402,7 +9402,7 @@ const xa = /* @__PURE__ */ A(Xg, [["render", Yg], ["__scopeId", "data-v-0f1f2f84
|
|
|
9402
9402
|
}, 8, ["modelValue", "clearable"]);
|
|
9403
9403
|
};
|
|
9404
9404
|
}
|
|
9405
|
-
}), Ea = /* @__PURE__ */ A(b1, [["__scopeId", "data-v-
|
|
9405
|
+
}), Ea = /* @__PURE__ */ A(b1, [["__scopeId", "data-v-9fda9c5a"]]), S1 = { class: "switch-container" }, C1 = { class: "line" }, x1 = { class: "line" }, M1 = /* @__PURE__ */ $({
|
|
9406
9406
|
__name: "Switch3Pos",
|
|
9407
9407
|
props: {
|
|
9408
9408
|
firstModel: {
|
|
@@ -10659,7 +10659,7 @@ const Ka = /* @__PURE__ */ A(Z1, [["render", J1], ["__scopeId", "data-v-0ea9a95f
|
|
|
10659
10659
|
__name: "PNotify",
|
|
10660
10660
|
setup(t) {
|
|
10661
10661
|
const e = he(() => {
|
|
10662
|
-
switch (
|
|
10662
|
+
switch (Oe.GetType()) {
|
|
10663
10663
|
case "info":
|
|
10664
10664
|
return "message info";
|
|
10665
10665
|
case "success":
|
|
@@ -10674,13 +10674,13 @@ const Ka = /* @__PURE__ */ A(Z1, [["render", J1], ["__scopeId", "data-v-0ea9a95f
|
|
|
10674
10674
|
});
|
|
10675
10675
|
return (i, n) => (g(), N(Dr, { name: "fade" }, {
|
|
10676
10676
|
default: X(() => [
|
|
10677
|
-
p(
|
|
10677
|
+
p(Oe).IsVisible() ? (g(), w("div", {
|
|
10678
10678
|
key: 0,
|
|
10679
10679
|
class: ie(p(e))
|
|
10680
10680
|
}, [
|
|
10681
10681
|
R(Rs, {
|
|
10682
|
-
title: p(
|
|
10683
|
-
text: p(
|
|
10682
|
+
title: p(Oe).GetTitle(),
|
|
10683
|
+
text: p(Oe).GetText()
|
|
10684
10684
|
}, null, 8, ["title", "text"])
|
|
10685
10685
|
], 2)) : J("", !0)
|
|
10686
10686
|
]),
|
|
@@ -10754,7 +10754,7 @@ const mv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10754
10754
|
string: ("PF" in u ? u.PF : p(z)).Auth.Form.GetTitle(),
|
|
10755
10755
|
"font-size": "18px"
|
|
10756
10756
|
}, null, 8, ["string"]),
|
|
10757
|
-
(g(!0), w(G, null,
|
|
10757
|
+
(g(!0), w(G, null, Te(("PF" in u ? u.PF : p(z)).Auth.Form.GetFields(), (c) => (g(), N(xs, {
|
|
10758
10758
|
id: c.id,
|
|
10759
10759
|
key: c.id,
|
|
10760
10760
|
ref_for: !0,
|
|
@@ -10767,7 +10767,7 @@ const mv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10767
10767
|
margin: "10px 0 0 0"
|
|
10768
10768
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "type", "placeholder"]))), 128)),
|
|
10769
10769
|
f("div", dp, [
|
|
10770
|
-
(g(!0), w(G, null,
|
|
10770
|
+
(g(!0), w(G, null, Te(p(n), (c, d) => (g(), N(cn, {
|
|
10771
10771
|
id: c.id,
|
|
10772
10772
|
key: c.GetChunk(),
|
|
10773
10773
|
disabled: ("PF" in u ? u.PF : p(z)).Auth.Form.IsBlock,
|
|
@@ -10974,7 +10974,7 @@ const mv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10974
10974
|
gridTemplateColumns: `repeat(auto-fit, minmax(${t.minMenuItemWidth}, 1fr))`
|
|
10975
10975
|
})
|
|
10976
10976
|
}, [
|
|
10977
|
-
(g(!0), w(G, null,
|
|
10977
|
+
(g(!0), w(G, null, Te(t.menus.items, (m, y) => (g(), w("div", { key: y }, [
|
|
10978
10978
|
f("div", {
|
|
10979
10979
|
class: ie({ "selected-tab": y === t.menus.idx, tab: y !== t.menus.idx }),
|
|
10980
10980
|
style: I({
|
|
@@ -11007,7 +11007,7 @@ const mv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
11007
11007
|
fileInfo: {
|
|
11008
11008
|
type: Object,
|
|
11009
11009
|
required: !1,
|
|
11010
|
-
default: new
|
|
11010
|
+
default: new ze()
|
|
11011
11011
|
},
|
|
11012
11012
|
formats: {
|
|
11013
11013
|
type: Array,
|
|
@@ -11031,7 +11031,7 @@ const mv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
11031
11031
|
const d = c.files[0];
|
|
11032
11032
|
if (d) {
|
|
11033
11033
|
if (!l(d.name)) {
|
|
11034
|
-
|
|
11034
|
+
Oe.Error("Загруженный файл должен быть в формате pdf, jpg или jpeg");
|
|
11035
11035
|
return;
|
|
11036
11036
|
}
|
|
11037
11037
|
i.fileInfo.setFile(d), n("upload", i.fileInfo);
|
|
@@ -11777,13 +11777,13 @@ var zn = Qe("vue-bounding-box"), Xp = ["east", "west", null], Yp = ["south", "no
|
|
|
11777
11777
|
e === "west" ? u.left -= r : e === "east" && (u.right += r), i === "north" ? u.top -= o : i === "south" && (u.bottom += o), !i && e ? n = "width" : i && !e && (n = "height"), this.resizable && this.$emit("resize", new Ip(u, { allowedDirections: { left: e === "west" || !e, right: e === "east" || !e, bottom: i === "south" || !i, top: i === "north" || !i }, preserveAspectRatio: t.nativeEvent && t.nativeEvent.shiftKey, respectDirection: n }));
|
|
11778
11778
|
} }, emits: ["resize", "resize-end"] };
|
|
11779
11779
|
bl.render = function(t, e, i, n, s, r) {
|
|
11780
|
-
return g(), N("div", { ref: "box", class: r.classes.root, style: r.style }, [P(t.$slots, "default"), R("div", null, [(g(!0), N(G, null,
|
|
11780
|
+
return g(), N("div", { ref: "box", class: r.classes.root, style: r.style }, [P(t.$slots, "default"), R("div", null, [(g(!0), N(G, null, Te(r.lineNodes, function(o) {
|
|
11781
11781
|
return g(), N(ai(o.component), { key: o.name, "default-class": o.class, "hover-class": o.hoverClass, "wrapper-class": o.wrapperClass, position: o.name, disabled: o.disabled, onDrag: function(u) {
|
|
11782
11782
|
return r.onHandlerDrag(u, o.horizontalDirection, o.verticalDirection);
|
|
11783
11783
|
}, onDragEnd: e[1] || (e[1] = function(u) {
|
|
11784
11784
|
return r.onEnd();
|
|
11785
11785
|
}) }, null, 8, ["default-class", "hover-class", "wrapper-class", "position", "disabled", "onDrag"]);
|
|
11786
|
-
}), 128))]), (g(!0), N(G, null,
|
|
11786
|
+
}), 128))]), (g(!0), N(G, null, Te(r.handlerNodes, function(o) {
|
|
11787
11787
|
return g(), N("div", { key: o.name, style: o.wrapperStyle, class: o.wrapperClass }, [(g(), N(ai(o.component), { "default-class": o.class, "hover-class": o.hoverClass, "wrapper-class": o.wrapperClass, "horizontal-position": o.horizontalDirection, "vertical-position": o.verticalDirection, disabled: o.disabled, onDrag: function(u) {
|
|
11788
11788
|
return r.onHandlerDrag(u, o.horizontalDirection, o.verticalDirection);
|
|
11789
11789
|
}, onDragEnd: e[2] || (e[2] = function(u) {
|
|
@@ -12780,7 +12780,7 @@ const s0 = { class: "background-container" }, r0 = { class: "dialog-footer" }, o
|
|
|
12780
12780
|
default: !0
|
|
12781
12781
|
},
|
|
12782
12782
|
fileInfo: {
|
|
12783
|
-
type:
|
|
12783
|
+
type: ze,
|
|
12784
12784
|
required: !0
|
|
12785
12785
|
},
|
|
12786
12786
|
height: {
|