sprof 0.0.168 → 0.0.169

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 CHANGED
@@ -1,9 +1,9 @@
1
1
  var ha = Object.defineProperty;
2
2
  var fa = (t, e, i) => e in t ? ha(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
3
3
  var l = (t, e, i) => fa(t, typeof e != "symbol" ? e + "" : e, i);
4
- import { reactive as Oe, ref as T, openBlock as g, createElementBlock as w, createElementVNode as f, getCurrentInstance as ma, inject as ga, onUnmounted as gr, onDeactivated as pa, onActivated as va, onBeforeMount as ot, defineComponent as A, Fragment as j, renderSlot as E, unref as p, normalizeStyle as R, createCommentVNode as J, resolveComponent as O, createVNode as I, withCtx as _, withModifiers as Pe, withDirectives as je, vModelText as Wn, computed as pe, mergeProps as xt, createTextVNode as Vn, toDisplayString as xe, normalizeClass as ie, mergeModels as Ae, useModel as mt, vModelCheckbox as ya, vModelDynamic as wa, isRef as Ge, withKeys as ba, watch as Xe, createBlock as q, vModelRadio as Ca, vShow as jn, vModelSelect as Sa, onBeforeUnmount as Gn, renderList as Te, onMounted as ci, useCssVars as pr, resolveDirective as vr, createStaticVNode as yr, nextTick as xa, onUpdated as ka, Transition as wr, resolveDynamicComponent as ni } from "vue";
4
+ import { reactive as Oe, ref as T, openBlock as g, createElementBlock as w, createElementVNode as f, getCurrentInstance as ma, inject as ga, onUnmounted as gr, onDeactivated as pa, onActivated as va, onBeforeMount as ot, defineComponent as A, Fragment as j, renderSlot as E, unref as p, normalizeStyle as R, createCommentVNode as J, resolveComponent as O, createVNode as I, withCtx as _, withModifiers as Pe, withDirectives as je, vModelText as Wn, computed as pe, mergeProps as kt, createTextVNode as Vn, toDisplayString as xe, normalizeClass as ie, mergeModels as Ae, useModel as mt, vModelCheckbox as ya, vModelDynamic as wa, isRef as Ge, withKeys as ba, watch as Xe, createBlock as q, vModelRadio as Ca, vShow as jn, vModelSelect as Sa, onBeforeUnmount as Gn, renderList as Te, onMounted as ci, useCssVars as pr, resolveDirective as vr, createStaticVNode as yr, nextTick as xa, onUpdated as ka, Transition as wr, resolveDynamicComponent as ni } from "vue";
5
5
  var Re = /* @__PURE__ */ ((t) => (t.Login = "login", t.Register = "register", t.Restore = "restore", t.Refresh = "refresh", t))(Re || {}), $e = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.Success = "success", t.Warning = "warning", t.Error = "error", t.Info = "info", t))($e || {});
6
- class Mt {
6
+ class Rt {
7
7
  constructor(e, i, n, s) {
8
8
  l(this, "text", "Сохранить");
9
9
  l(this, "type", $e.Success);
@@ -14,19 +14,19 @@ class Mt {
14
14
  this.text = e, this.type = n, this.action = i, s !== void 0 && (this.condition = s);
15
15
  }
16
16
  static Primary(e, i, n) {
17
- return new Mt(e, i, $e.Primary, n);
17
+ return new Rt(e, i, $e.Primary, n);
18
18
  }
19
19
  static Success(e, i, n) {
20
- return new Mt(e, i, $e.Success, n);
20
+ return new Rt(e, i, $e.Success, n);
21
21
  }
22
22
  static Warning(e, i, n) {
23
- return new Mt(e, i, $e.Warning, n);
23
+ return new Rt(e, i, $e.Warning, n);
24
24
  }
25
25
  static Error(e, i, n) {
26
- return new Mt(e, i, $e.Error, n);
26
+ return new Rt(e, i, $e.Error, n);
27
27
  }
28
28
  }
29
- class Bi extends Mt {
29
+ class Bi extends Rt {
30
30
  constructor() {
31
31
  super();
32
32
  l(this, "id", "auth-button");
@@ -90,6 +90,7 @@ class br {
90
90
  this.value = "";
91
91
  }
92
92
  }
93
+ var Ct = /* @__PURE__ */ ((t) => (t.Email = "field-auth-email", t.Password = "field-auth-password", t.PasswordRepeat = "field-auth-password-repeat", t))(Ct || {});
93
94
  class qi extends br {
94
95
  constructor() {
95
96
  super(...arguments);
@@ -97,6 +98,9 @@ class qi extends br {
97
98
  l(this, "id", "field-auth");
98
99
  l(this, "name", "");
99
100
  }
101
+ get IsPassword() {
102
+ return this.id === Ct.Password || this.id === Ct.PasswordRepeat;
103
+ }
100
104
  }
101
105
  var di = /* @__PURE__ */ ((t) => (t.Login = "login", t.Email = "email", t.Phone = "phone", t.VK = "vk", t.ESIA = "esia", t))(di || {});
102
106
  const Ra = /\S+@\S+\.\S+/;
@@ -108,11 +112,10 @@ class Cr {
108
112
  return (e === "" || !e) && this.errors.push("Введите email"), Ra.test(e) || this.errors.push("Некорректный email"), this.errors;
109
113
  }
110
114
  }
111
- var Ut = /* @__PURE__ */ ((t) => (t.Email = "field-auth-email", t.Password = "field-auth-password", t.PasswordRepeat = "field-auth-password-repeat", t))(Ut || {});
112
115
  class cn extends qi {
113
116
  constructor() {
114
117
  super(...arguments);
115
- l(this, "id", Ut.Email);
118
+ l(this, "id", Ct.Email);
116
119
  l(this, "label", "Email");
117
120
  l(this, "name", "email");
118
121
  l(this, "placeholder", "Введите email");
@@ -136,14 +139,14 @@ class dn extends qi {
136
139
  l(this, "validator", new Ia());
137
140
  l(this, "name", "password");
138
141
  l(this, "placeholder", "Введите пароль");
139
- l(this, "id", Ut.Password);
142
+ l(this, "id", Ct.Password);
140
143
  }
141
144
  }
142
145
  class Aa extends qi {
143
146
  constructor() {
144
147
  super(...arguments);
145
148
  l(this, "label", "Повторите пароль");
146
- l(this, "id", Ut.PasswordRepeat);
149
+ l(this, "id", Ct.PasswordRepeat);
147
150
  }
148
151
  }
149
152
  const $a = {
@@ -206,7 +209,7 @@ let Ea = class {
206
209
  }
207
210
  Validate() {
208
211
  if (this.IsRegister) {
209
- const e = this.GetField(Ut.Password), i = this.GetField(Ut.PasswordRepeat);
212
+ const e = this.GetField(Ct.Password), i = this.GetField(Ct.PasswordRepeat);
210
213
  if ((e == null ? void 0 : e.value) !== (i == null ? void 0 : i.value))
211
214
  return ["Пароли не совпадают"];
212
215
  }
@@ -571,14 +574,14 @@ class La {
571
574
  this.Logout();
572
575
  }
573
576
  }
574
- const qt = class qt {
577
+ const Nt = class Nt {
575
578
  constructor() {
576
579
  l(this, "form", Oe(new Ea()));
577
580
  l(this, "status", Oe(new La()));
578
581
  l(this, "modal", Oe(new Pa()));
579
- if (qt.instance)
580
- return qt.instance;
581
- qt.instance = this, Object.freeze(this);
582
+ if (Nt.instance)
583
+ return Nt.instance;
584
+ Nt.instance = this, Object.freeze(this);
582
585
  }
583
586
  get Form() {
584
587
  return this.form;
@@ -590,8 +593,8 @@ const qt = class qt {
590
593
  return this.modal;
591
594
  }
592
595
  };
593
- l(qt, "instance");
594
- let Rn = qt;
596
+ l(Nt, "instance");
597
+ let Rn = Nt;
595
598
  const ht = new Rn();
596
599
  var Fs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
597
600
  /*! *****************************************************************************
@@ -666,9 +669,9 @@ var Ls;
666
669
  throw new TypeError();
667
670
  if (!fe(b))
668
671
  throw new TypeError();
669
- if (!fe(P) && !G(P) && !Lt(P))
672
+ if (!fe(P) && !G(P) && !Dt(P))
670
673
  throw new TypeError();
671
- return Lt(P) && (P = void 0), M = Qe(M), Jo(y, b, M, P);
674
+ return Dt(P) && (P = void 0), M = Qe(M), Jo(y, b, M, P);
672
675
  }
673
676
  }
674
677
  e("decorate", Z);
@@ -713,12 +716,12 @@ var Ls;
713
716
  return G(M) || (M = Qe(M)), ws(y, b, M);
714
717
  }
715
718
  e("getOwnMetadata", gt);
716
- function Ft(y, b) {
719
+ function Lt(y, b) {
717
720
  if (!fe(y))
718
721
  throw new TypeError();
719
722
  return G(b) || (b = Qe(b)), Cs(y, b);
720
723
  }
721
- e("getMetadataKeys", Ft);
724
+ e("getMetadataKeys", Lt);
722
725
  function yi(y, b) {
723
726
  if (!fe(y))
724
727
  throw new TypeError();
@@ -743,7 +746,7 @@ var Ls;
743
746
  function Yo(y, b) {
744
747
  for (var M = y.length - 1; M >= 0; --M) {
745
748
  var P = y[M], W = P(b);
746
- if (!G(W) && !Lt(W)) {
749
+ if (!G(W) && !Dt(W)) {
747
750
  if (!Rs(W))
748
751
  throw new TypeError();
749
752
  b = W;
@@ -754,7 +757,7 @@ var Ls;
754
757
  function Jo(y, b, M, P) {
755
758
  for (var W = y.length - 1; W >= 0; --W) {
756
759
  var ve = y[W], me = ve(b, M, P);
757
- if (!G(me) && !Lt(me)) {
760
+ if (!G(me) && !Dt(me)) {
758
761
  if (!fe(me))
759
762
  throw new TypeError();
760
763
  P = me;
@@ -767,7 +770,7 @@ var Ls;
767
770
  if (P)
768
771
  return !0;
769
772
  var W = an(b);
770
- return Lt(W) ? !1 : vs(y, W, M);
773
+ return Dt(W) ? !1 : vs(y, W, M);
771
774
  }
772
775
  function rn(y, b, M) {
773
776
  var P = Xt(
@@ -783,7 +786,7 @@ var Ls;
783
786
  if (P)
784
787
  return ws(y, b, M);
785
788
  var W = an(b);
786
- if (!Lt(W))
789
+ if (!Dt(W))
787
790
  return ys(y, W, M);
788
791
  }
789
792
  function ws(y, b, M) {
@@ -856,7 +859,7 @@ var Ls;
856
859
  function G(y) {
857
860
  return y === void 0;
858
861
  }
859
- function Lt(y) {
862
+ function Dt(y) {
860
863
  return y === null;
861
864
  }
862
865
  function Qo(y) {
@@ -1421,7 +1424,7 @@ function Ba(t, e = 0) {
1421
1424
  const qa = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ds = {
1422
1425
  randomUUID: qa
1423
1426
  };
1424
- function Ct(t, e, i) {
1427
+ function St(t, e, i) {
1425
1428
  if (Ds.randomUUID && !t)
1426
1429
  return Ds.randomUUID();
1427
1430
  t = t || {};
@@ -1430,7 +1433,7 @@ function Ct(t, e, i) {
1430
1433
  }
1431
1434
  class Ee {
1432
1435
  static UUID() {
1433
- return Ct();
1436
+ return St();
1434
1437
  }
1435
1438
  static GUID() {
1436
1439
  const e = function() {
@@ -1604,7 +1607,7 @@ l(yt, "GetClassConstructor", (e) => (i, n) => {
1604
1607
  s[n] = e, Reflect.defineMetadata(n, s, i);
1605
1608
  });
1606
1609
  let V = yt;
1607
- class At {
1610
+ class $t {
1608
1611
  constructor(e) {
1609
1612
  l(this, "id");
1610
1613
  l(this, "address");
@@ -1613,7 +1616,7 @@ class At {
1613
1616
  V.BuildClass(this, e);
1614
1617
  }
1615
1618
  static Create() {
1616
- const e = new At();
1619
+ const e = new $t();
1617
1620
  return e.id = Ee.UUID(), e;
1618
1621
  }
1619
1622
  }
@@ -1719,7 +1722,7 @@ class Rr {
1719
1722
  this.surname = e.surname, this.name = e.name, this.patronymic = e.patronymic;
1720
1723
  }
1721
1724
  }
1722
- class $t {
1725
+ class Et {
1723
1726
  constructor(e) {
1724
1727
  l(this, "id");
1725
1728
  l(this, "number");
@@ -1728,7 +1731,7 @@ class $t {
1728
1731
  V.BuildClass(this, e);
1729
1732
  }
1730
1733
  static Create() {
1731
- const e = new $t();
1734
+ const e = new Et();
1732
1735
  return e.id = Ee.UUID(), e;
1733
1736
  }
1734
1737
  }
@@ -1750,7 +1753,7 @@ class Zn {
1750
1753
  }
1751
1754
  var pt;
1752
1755
  let Na = (pt = class {
1753
- }, l(pt, "Phone", $t), l(pt, "FileInfo", at), l(pt, "PostAddress", zi), l(pt, "Website", Zn), l(pt, "Email", At), l(pt, "Human", Rr), pt);
1756
+ }, l(pt, "Phone", Et), l(pt, "FileInfo", at), l(pt, "PostAddress", zi), l(pt, "Website", Zn), l(pt, "Email", $t), l(pt, "Human", Rr), pt);
1754
1757
  class st {
1755
1758
  static Shuffle(e) {
1756
1759
  for (let i = e.length - 1; i > 0; i--) {
@@ -1858,7 +1861,7 @@ const Ir = class Qt {
1858
1861
  }
1859
1862
  static CreateFilterModelWithJoin(e, i, n, s, r, o, u, a) {
1860
1863
  const c = new Qt();
1861
- return c.id = Ct(), c.joinTable = n, c.joinTablePk = s, c.joinTableFk = r, c.col = i, c.type = o, u && (c.joinTableId = u), a && (c.joinTableIdCol = a), c;
1864
+ return c.id = St(), c.joinTable = n, c.joinTablePk = s, c.joinTableFk = r, c.col = i, c.type = o, u && (c.joinTableId = u), a && (c.joinTableIdCol = a), c;
1862
1865
  }
1863
1866
  static CreateFilterModelWithJoinV2(e, i, n, s, r, o, u) {
1864
1867
  const a = new Qt();
@@ -1866,7 +1869,7 @@ const Ir = class Qt {
1866
1869
  }
1867
1870
  static OnlyIfSecondModelExists(e, i) {
1868
1871
  const n = new Qt();
1869
- return n.id = Ct(), n.model = le.ToCamelCase(e.GetClassName()), n.joinTableModel = le.ToCamelCase(i.GetClassName()), n.type = ye.Join, n;
1872
+ return n.id = St(), n.model = le.ToCamelCase(e.GetClassName()), n.joinTableModel = le.ToCamelCase(i.GetClassName()), n.type = ye.Join, n;
1870
1873
  }
1871
1874
  addToSet(...e) {
1872
1875
  e.forEach((i) => {
@@ -2151,7 +2154,7 @@ function Pr(t, e) {
2151
2154
  return s;
2152
2155
  return null;
2153
2156
  }
2154
- const Rt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Tr = (t) => !ai(t) && t !== Rt;
2157
+ const It = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Tr = (t) => !ai(t) && t !== It;
2155
2158
  function In() {
2156
2159
  const { caseless: t } = Tr(this) && this || {}, e = {}, i = (n, s) => {
2157
2160
  const r = t && Pr(e, s) || s;
@@ -2268,14 +2271,14 @@ const Al = (t) => {
2268
2271
  return n;
2269
2272
  };
2270
2273
  return i(t, 0);
2271
- }, $l = Ye("AsyncFunction"), El = (t) => t && (Gi(t) || Be(t)) && Be(t.then) && Be(t.catch), Fr = ((t, e) => t ? setImmediate : e ? ((i, n) => (Rt.addEventListener("message", ({ source: s, data: r }) => {
2272
- s === Rt && r === i && n.length && n.shift()();
2274
+ }, $l = Ye("AsyncFunction"), El = (t) => t && (Gi(t) || Be(t)) && Be(t.then) && Be(t.catch), Fr = ((t, e) => t ? setImmediate : e ? ((i, n) => (It.addEventListener("message", ({ source: s, data: r }) => {
2275
+ s === It && r === i && n.length && n.shift()();
2273
2276
  }, !1), (s) => {
2274
- n.push(s), Rt.postMessage(i, "*");
2277
+ n.push(s), It.postMessage(i, "*");
2275
2278
  }))(`axios@${Math.random()}`, []) : (i) => setTimeout(i))(
2276
2279
  typeof setImmediate == "function",
2277
- Be(Rt.postMessage)
2278
- ), Pl = typeof queueMicrotask < "u" ? queueMicrotask.bind(Rt) : typeof process < "u" && process.nextTick || Fr, S = {
2280
+ Be(It.postMessage)
2281
+ ), Pl = typeof queueMicrotask < "u" ? queueMicrotask.bind(It) : typeof process < "u" && process.nextTick || Fr, S = {
2279
2282
  isArray: _t,
2280
2283
  isArrayBuffer: $r,
2281
2284
  isBuffer: Za,
@@ -2324,7 +2327,7 @@ const Al = (t) => {
2324
2327
  noop: kl,
2325
2328
  toFiniteNumber: Ml,
2326
2329
  findKey: Pr,
2327
- global: Rt,
2330
+ global: It,
2328
2331
  isContextDefined: Tr,
2329
2332
  ALPHABET: Or,
2330
2333
  generateString: Rl,
@@ -3019,7 +3022,7 @@ function jr(t, e) {
3019
3022
  return t && !ru(e) ? ou(t, e) : e;
3020
3023
  }
3021
3024
  const Gs = (t) => t instanceof Fe ? { ...t } : t;
3022
- function Et(t, e) {
3025
+ function Pt(t, e) {
3023
3026
  e = e || {};
3024
3027
  const i = {};
3025
3028
  function n(c, d, h, m) {
@@ -3084,7 +3087,7 @@ function Et(t, e) {
3084
3087
  }), i;
3085
3088
  }
3086
3089
  const Gr = (t) => {
3087
- const e = Et({}, t);
3090
+ const e = Pt({}, t);
3088
3091
  let { data: i, withXSRFToken: n, xsrfHeaderName: s, xsrfCookieName: r, headers: o, auth: u } = e;
3089
3092
  e.headers = o = Fe.from(o), e.url = qr(jr(e.baseURL, e.url), t.params, t.paramsSerializer), u && o.set(
3090
3093
  "Authorization",
@@ -3335,8 +3338,8 @@ const gu = async (t) => {
3335
3338
  const Y = En && (c === "stream" || c === "response");
3336
3339
  if (En && (u || Y && k)) {
3337
3340
  const ne = {};
3338
- ["status", "statusText", "headers"].forEach((Ft) => {
3339
- ne[Ft] = Z[Ft];
3341
+ ["status", "statusText", "headers"].forEach((Lt) => {
3342
+ ne[Lt] = Z[Lt];
3340
3343
  });
3341
3344
  const qe = S.toFiniteNumber(Z.headers.get("content-length")), [Ne, gt] = u && Vs(
3342
3345
  qe,
@@ -3485,7 +3488,7 @@ const $i = {
3485
3488
  assertOptions: wu,
3486
3489
  validators: Xi
3487
3490
  }, Ke = $i.validators;
3488
- class It {
3491
+ class At {
3489
3492
  constructor(e) {
3490
3493
  this.defaults = e, this.interceptors = {
3491
3494
  request: new Us(),
@@ -3518,7 +3521,7 @@ class It {
3518
3521
  }
3519
3522
  }
3520
3523
  _request(e, i) {
3521
- typeof e == "string" ? (i = i || {}, i.url = e) : i = e || {}, i = Et(this.defaults, i);
3524
+ typeof e == "string" ? (i = i || {}, i.url = e) : i = e || {}, i = Pt(this.defaults, i);
3522
3525
  const { transitional: n, paramsSerializer: s, headers: r } = i;
3523
3526
  n !== void 0 && $i.assertOptions(n, {
3524
3527
  silentJSONParsing: Ke.transitional(Ke.boolean),
@@ -3580,14 +3583,14 @@ class It {
3580
3583
  return d;
3581
3584
  }
3582
3585
  getUri(e) {
3583
- e = Et(this.defaults, e);
3586
+ e = Pt(this.defaults, e);
3584
3587
  const i = jr(e.baseURL, e.url);
3585
3588
  return qr(i, e.params, e.paramsSerializer);
3586
3589
  }
3587
3590
  }
3588
3591
  S.forEach(["delete", "get", "head", "options"], function(e) {
3589
- It.prototype[e] = function(i, n) {
3590
- return this.request(Et(n || {}, {
3592
+ At.prototype[e] = function(i, n) {
3593
+ return this.request(Pt(n || {}, {
3591
3594
  method: e,
3592
3595
  url: i,
3593
3596
  data: (n || {}).data
@@ -3597,7 +3600,7 @@ S.forEach(["delete", "get", "head", "options"], function(e) {
3597
3600
  S.forEach(["post", "put", "patch"], function(e) {
3598
3601
  function i(n) {
3599
3602
  return function(r, o, u) {
3600
- return this.request(Et(u || {}, {
3603
+ return this.request(Pt(u || {}, {
3601
3604
  method: e,
3602
3605
  headers: n ? {
3603
3606
  "Content-Type": "multipart/form-data"
@@ -3607,7 +3610,7 @@ S.forEach(["post", "put", "patch"], function(e) {
3607
3610
  }));
3608
3611
  };
3609
3612
  }
3610
- It.prototype[e] = i(), It.prototype[e + "Form"] = i(!0);
3613
+ At.prototype[e] = i(), At.prototype[e + "Form"] = i(!0);
3611
3614
  });
3612
3615
  class Kn {
3613
3616
  constructor(e) {
@@ -3759,13 +3762,13 @@ Object.entries(Tn).forEach(([t, e]) => {
3759
3762
  Tn[e] = t;
3760
3763
  });
3761
3764
  function Jr(t) {
3762
- const e = new It(t), i = Ar(It.prototype.request, e);
3763
- return S.extend(i, It.prototype, e, { allOwnKeys: !0 }), S.extend(i, e, null, { allOwnKeys: !0 }), i.create = function(s) {
3764
- return Jr(Et(t, s));
3765
+ const e = new At(t), i = Ar(At.prototype.request, e);
3766
+ return S.extend(i, At.prototype, e, { allOwnKeys: !0 }), S.extend(i, e, null, { allOwnKeys: !0 }), i.create = function(s) {
3767
+ return Jr(Pt(t, s));
3765
3768
  }, i;
3766
3769
  }
3767
3770
  const he = Jr(mi);
3768
- he.Axios = It;
3771
+ he.Axios = At;
3769
3772
  he.CanceledError = Zt;
3770
3773
  he.CancelToken = Kn;
3771
3774
  he.isCancel = Wr;
@@ -3778,7 +3781,7 @@ he.all = function(e) {
3778
3781
  };
3779
3782
  he.spread = bu;
3780
3783
  he.isAxiosError = Cu;
3781
- he.mergeConfig = Et;
3784
+ he.mergeConfig = Pt;
3782
3785
  he.AxiosHeaders = Fe;
3783
3786
  he.formToJSON = (t) => Ur(S.isHTMLForm(t) ? new FormData(t) : t);
3784
3787
  he.getAdapter = Xr.getAdapter;
@@ -3861,14 +3864,14 @@ class es {
3861
3864
  }
3862
3865
  }
3863
3866
  }
3864
- const Ht = he.create();
3865
- Ht.interceptors.response.use(
3867
+ const Bt = he.create();
3868
+ Bt.interceptors.response.use(
3866
3869
  (t) => t,
3867
- async (t) => await es.Handle(t, Ht)
3870
+ async (t) => await es.Handle(t, Bt)
3868
3871
  );
3869
3872
  class ei {
3870
3873
  static async Get(e, i, n) {
3871
- return await Ht({
3874
+ return await Bt({
3872
3875
  method: Kt.GET,
3873
3876
  url: e,
3874
3877
  headers: i,
@@ -3876,7 +3879,7 @@ class ei {
3876
3879
  });
3877
3880
  }
3878
3881
  static async Post(e, i, n, s) {
3879
- return i["Content-Type"] = "multipart/form-data", await Ht({
3882
+ return i["Content-Type"] = "multipart/form-data", await Bt({
3880
3883
  method: Kt.POST,
3881
3884
  url: e,
3882
3885
  headers: i,
@@ -3885,7 +3888,7 @@ class ei {
3885
3888
  });
3886
3889
  }
3887
3890
  static async Put(e, i, n) {
3888
- return i["Content-Type"] = "multipart/form-data", await Ht({
3891
+ return i["Content-Type"] = "multipart/form-data", await Bt({
3889
3892
  method: Kt.PUT,
3890
3893
  url: e,
3891
3894
  headers: i,
@@ -3893,7 +3896,7 @@ class ei {
3893
3896
  });
3894
3897
  }
3895
3898
  static async Delete(e, i) {
3896
- return await Ht({
3899
+ return await Bt({
3897
3900
  method: Kt.DELETE,
3898
3901
  url: e,
3899
3902
  headers: i
@@ -4097,7 +4100,7 @@ l(et, "router"), l(et, "ChangeDocumentTitle", (e = "") => {
4097
4100
  let i = et.Route().meta.title ?? e;
4098
4101
  i && e && (i = i + ` | ${e}`), document.title = i;
4099
4102
  });
4100
- let St = et;
4103
+ let xt = et;
4101
4104
  class ue {
4102
4105
  constructor(e, i) {
4103
4106
  l(this, "items", Oe([]));
@@ -4122,7 +4125,7 @@ class ue {
4122
4125
  e && e.withCache ? i = await Yi.TryGet(this.getUrl(), n) : i = await n({ query: this.getUrl() }), Array.isArray(i) ? this.SetAll(i) : this.SetAllWithCount(i);
4123
4126
  }
4124
4127
  async Get(e) {
4125
- e || (e = St.Id()), this.Set(await de.Get({ query: this.getUrl(e) }));
4128
+ e || (e = xt.Id()), this.Set(await de.Get({ query: this.getUrl(e) }));
4126
4129
  }
4127
4130
  async FTSP(e) {
4128
4131
  var o;
@@ -4575,7 +4578,7 @@ class ts {
4575
4578
  l(this, "key", "");
4576
4579
  }
4577
4580
  preSelect() {
4578
- const e = St.GetStringQueryParam(this.key);
4581
+ const e = xt.GetStringQueryParam(this.key);
4579
4582
  if (!e || e === "undefined") {
4580
4583
  this.Select(0);
4581
4584
  return;
@@ -4591,7 +4594,7 @@ class ts {
4591
4594
  if (this.items.length) {
4592
4595
  if (e === void 0)
4593
4596
  return this.preSelect();
4594
- this.idx = e, St.SetQueryParam(this.key, this.GetSlug());
4597
+ this.idx = e, xt.SetQueryParam(this.key, this.GetSlug());
4595
4598
  }
4596
4599
  }
4597
4600
  GetMenu() {
@@ -4743,11 +4746,11 @@ class Di {
4743
4746
  }
4744
4747
  static Create(e, i, n, s) {
4745
4748
  const r = new Di();
4746
- return r.id = Ct(), r.chatId = e, r.message = n, r.userName = s, r;
4749
+ return r.id = St(), r.chatId = e, r.message = n, r.userName = s, r;
4747
4750
  }
4748
4751
  static CreatePingMessage() {
4749
4752
  const e = new Di();
4750
- return e.type = "ping", e.id = Ct(), e;
4753
+ return e.type = "ping", e.id = St(), e;
4751
4754
  }
4752
4755
  isMessage() {
4753
4756
  return this.type === "message" || this.type === "";
@@ -4791,7 +4794,7 @@ var K;
4791
4794
  let ic = (K = class {
4792
4795
  }, l(K, "Arrays", st), l(K, "Axios", ei), l(K, "BaseStore", ue), // static Phone = Phone;
4793
4796
  l(K, "Cache", Yi), l(K, "Classes", V), l(K, "CarouselSwipe", Ru), l(K, "Color", Au), l(K, "CreateSortModels", eo), l(K, "Cursor", $u), l(K, "DateMask", Fu), l(K, "Dates", dt), l(K, "Dragger", Hu), l(K, "Extension", to), l(K, "Favourite", Bu), // static FTSP = FTSP;
4794
- l(K, "Hooks", ju), l(K, "HttpClient", de), l(K, "Id", Ee), l(K, "MakeCarousel", io), l(K, "Period", Mn), l(K, "PhoneService", Fn), l(K, "Rating", Gu), l(K, "Router", St), l(K, "RouterGuard", _u), l(K, "Scheduler", Zu), l(K, "Scroll", Yu), // static Sizes = Sizes;
4797
+ l(K, "Hooks", ju), l(K, "HttpClient", de), l(K, "Id", Ee), l(K, "MakeCarousel", io), l(K, "Period", Mn), l(K, "PhoneService", Fn), l(K, "Rating", Gu), l(K, "Router", xt), l(K, "RouterGuard", _u), l(K, "Scheduler", Zu), l(K, "Scroll", Yu), // static Sizes = Sizes;
4795
4798
  l(K, "Sorter", Ju), l(K, "Static", _n), // static Statuses = Statuses;
4796
4799
  l(K, "Strings", le), l(K, "Time", ee), l(K, "Timer", ri), l(K, "Token", li), l(K, "Menus", ts), // static useConfirmLeavePage = useConfirmLeavePage();
4797
4800
  l(K, "validate", Qu), l(K, "WaitElement", Ku), l(K, "WebSocketClient", tc), K);
@@ -4879,11 +4882,11 @@ const gi = class no {
4879
4882
  V.BuildClass(this, e);
4880
4883
  }
4881
4884
  addEmail() {
4882
- const e = At.Create();
4885
+ const e = $t.Create();
4883
4886
  return e.contactId = this.id, this.emails.push(e), e;
4884
4887
  }
4885
4888
  addPhone() {
4886
- const e = $t.Create();
4889
+ const e = Et.Create();
4887
4890
  return e.contactId = this.id, this.phones.push(e), e;
4888
4891
  }
4889
4892
  static Create() {
@@ -4903,7 +4906,7 @@ const gi = class no {
4903
4906
  this.websites.push(new Zn());
4904
4907
  }
4905
4908
  pushFirst() {
4906
- this.emails.length || this.emails.push(new At()), this.phones.length || this.phones.push(new $t());
4909
+ this.emails.length || this.emails.push(new $t()), this.phones.length || this.phones.push(new Et());
4907
4910
  }
4908
4911
  getCoords() {
4909
4912
  return [Number(this.latitude), Number(this.longitude)];
@@ -4922,13 +4925,13 @@ const gi = class no {
4922
4925
  }
4923
4926
  };
4924
4927
  Ji([
4925
- V.GetClassConstructor(At)
4928
+ V.GetClassConstructor($t)
4926
4929
  ], gi.prototype, "emails");
4927
4930
  Ji([
4928
4931
  V.GetClassConstructor(zi)
4929
4932
  ], gi.prototype, "postAddresses");
4930
4933
  Ji([
4931
- V.GetClassConstructor($t)
4934
+ V.GetClassConstructor(Et)
4932
4935
  ], gi.prototype, "phones");
4933
4936
  Ji([
4934
4937
  V.GetClassConstructor(Zn)
@@ -4941,7 +4944,7 @@ let lc = gi, uc = class extends ue {
4941
4944
  const cc = new uc();
4942
4945
  let dc = class extends ue {
4943
4946
  constructor() {
4944
- super(At, "emails");
4947
+ super($t, "emails");
4945
4948
  }
4946
4949
  };
4947
4950
  const hc = new dc();
@@ -4977,7 +4980,7 @@ let vc = class extends ue {
4977
4980
  const yc = new vc();
4978
4981
  let wc = class extends ue {
4979
4982
  constructor() {
4980
- super($t, "phones");
4983
+ super(Et, "phones");
4981
4984
  }
4982
4985
  };
4983
4986
  const bc = new wc();
@@ -5036,7 +5039,7 @@ var Ic = Object.defineProperty, oo = (t, e, i, n) => {
5036
5039
  (o = t[r]) && (s = o(e, i, s) || s);
5037
5040
  return s && Ic(e, i, s), s;
5038
5041
  };
5039
- class Bt {
5042
+ class qt {
5040
5043
  constructor(e) {
5041
5044
  l(this, "id");
5042
5045
  l(this, "key", "");
@@ -5056,10 +5059,10 @@ class Bt {
5056
5059
  }
5057
5060
  oo([
5058
5061
  V.GetClassConstructor(ro)
5059
- ], Bt.prototype, "options");
5062
+ ], qt.prototype, "options");
5060
5063
  oo([
5061
5064
  V.GetClassConstructor(Rc)
5062
- ], Bt.prototype, "searchGroupMetaColumns");
5065
+ ], qt.prototype, "searchGroupMetaColumns");
5063
5066
  class vn {
5064
5067
  constructor(e) {
5065
5068
  l(this, "query", "");
@@ -5070,24 +5073,24 @@ class vn {
5070
5073
  l(this, "options", []);
5071
5074
  l(this, "searchGroupId", "");
5072
5075
  l(this, "searchGroups", []);
5073
- l(this, "searchGroup", new Bt());
5076
+ l(this, "searchGroup", new qt());
5074
5077
  l(this, "searchObjects", []);
5075
5078
  l(this, "pagination", new Oi());
5076
5079
  l(this, "count", 0);
5077
- e && (this.query = e.query, e.searchGroups && (this.searchGroups = e.searchGroups.map((i) => new Bt(i))), e.searchGroup && (this.searchGroup = new Bt(e.searchGroup)), e.options && (this.options = e.options.map((i) => new ro(i))), this.count = e.count);
5080
+ e && (this.query = e.query, e.searchGroups && (this.searchGroups = e.searchGroups.map((i) => new qt(i))), e.searchGroup && (this.searchGroup = new qt(e.searchGroup)), e.options && (this.options = e.options.map((i) => new ro(i))), this.count = e.count);
5078
5081
  }
5079
5082
  toUrl() {
5080
5083
  return JSON.stringify(this);
5081
5084
  }
5082
5085
  async setSearchGroup(e) {
5083
5086
  const i = this.searchGroups.find((n) => n.id === e);
5084
- i ? this.searchGroup = i : this.searchGroup = new Bt();
5087
+ i ? this.searchGroup = i : this.searchGroup = new qt();
5085
5088
  }
5086
5089
  async reproduceFromRoute() {
5087
- this.setQuery(), await this.setSearchGroup(St.Route().query.groupId);
5090
+ this.setQuery(), await this.setSearchGroup(xt.Route().query.groupId);
5088
5091
  }
5089
5092
  setQuery() {
5090
- const e = St.Route().query.query;
5093
+ const e = xt.Route().query.query;
5091
5094
  e && (this.query = e);
5092
5095
  }
5093
5096
  }
@@ -5323,12 +5326,12 @@ class Uc extends Sr {
5323
5326
  }
5324
5327
  }
5325
5328
  const Wc = new Uc();
5326
- class kt {
5329
+ class Mt {
5327
5330
  }
5328
- l(kt, "Admin", qc), l(kt, "Dialog", ut), l(kt, "Loading", Wc), l(kt, "Notify", Oe(ze)), l(kt, "Btn", Mt), l(kt, "Input", br);
5331
+ l(Mt, "Admin", qc), l(Mt, "Dialog", ut), l(Mt, "Loading", Wc), l(Mt, "Notify", Oe(ze)), l(Mt, "Btn", Rt), l(Mt, "Input", br);
5329
5332
  class B {
5330
5333
  }
5331
- l(B, "Auth", Oe(ht)), l(B, "UI", Oe(kt)), l(B, "Paginator", Oe(sc)), /**
5334
+ l(B, "Auth", Oe(ht)), l(B, "UI", Oe(Mt)), l(B, "Paginator", Oe(sc)), /**
5332
5335
  * Stores
5333
5336
  */
5334
5337
  l(B, "S", zc), /**
@@ -5439,7 +5442,7 @@ const ed = new Kc(), td = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
5439
5442
  C: Gc,
5440
5443
  S: td
5441
5444
  }, Symbol.toStringTag, { value: "Module" }));
5442
- class Pt {
5445
+ class Tt {
5443
5446
  constructor(e) {
5444
5447
  l(this, "id");
5445
5448
  l(this, "name", "");
@@ -5452,7 +5455,7 @@ class Pt {
5452
5455
  B.H.Classes.BuildClass(this, e);
5453
5456
  }
5454
5457
  static Create(e) {
5455
- const i = new Pt();
5458
+ const i = new Tt();
5456
5459
  return i.id = B.H.Id.UUID(), i.fieldId = e, i;
5457
5460
  }
5458
5461
  }
@@ -5490,7 +5493,7 @@ var nd = Object.defineProperty, vi = (t, e, i, n) => {
5490
5493
  (o = t[r]) && (s = o(e, i, s) || s);
5491
5494
  return s && nd(e, i, s), s;
5492
5495
  };
5493
- const Tt = class Ei {
5496
+ const zt = class Ei {
5494
5497
  constructor(e) {
5495
5498
  l(this, "id");
5496
5499
  l(this, "name", "");
@@ -5530,7 +5533,7 @@ const Tt = class Ei {
5530
5533
  return i ? i.name : "";
5531
5534
  }
5532
5535
  addRadioItem(e) {
5533
- const i = new Pt(e);
5536
+ const i = new Tt(e);
5534
5537
  i.order = this.answerVariants.length, this.answerVariants.push(i);
5535
5538
  }
5536
5539
  removeRadioItem(e) {
@@ -5576,7 +5579,7 @@ const Tt = class Ei {
5576
5579
  this.name = e;
5577
5580
  }
5578
5581
  addAnswerVariant() {
5579
- const e = Pt.Create(this.id);
5582
+ const e = Tt.Create(this.id);
5580
5583
  return e.name = "Вариант", e.order = this.answerVariants.length, this.answerVariants.push(e), e;
5581
5584
  }
5582
5585
  addChild() {
@@ -5598,21 +5601,21 @@ const Tt = class Ei {
5598
5601
  }
5599
5602
  };
5600
5603
  vi([
5601
- B.H.Classes.GetClassConstructor(Pt)
5602
- ], Tt.prototype, "answerVariants");
5604
+ B.H.Classes.GetClassConstructor(Tt)
5605
+ ], zt.prototype, "answerVariants");
5603
5606
  vi([
5604
5607
  B.H.Classes.GetClassConstructor(fo)
5605
- ], Tt.prototype, "fieldExamples");
5608
+ ], zt.prototype, "fieldExamples");
5606
5609
  vi([
5607
5610
  B.H.Classes.GetClassConstructor(Wt)
5608
- ], Tt.prototype, "fieldVariants");
5611
+ ], zt.prototype, "fieldVariants");
5609
5612
  vi([
5610
5613
  B.H.Classes.GetClassConstructor(os)
5611
- ], Tt.prototype, "fieldMeasures");
5614
+ ], zt.prototype, "fieldMeasures");
5612
5615
  vi([
5613
- B.H.Classes.GetClassConstructor(Tt)
5614
- ], Tt.prototype, "children");
5615
- let Qi = Tt;
5616
+ B.H.Classes.GetClassConstructor(zt)
5617
+ ], zt.prototype, "children");
5618
+ let Qi = zt;
5616
5619
  class as {
5617
5620
  constructor(e) {
5618
5621
  l(this, "id");
@@ -5623,7 +5626,7 @@ class as {
5623
5626
  B.H.Classes.BuildClass(this, e);
5624
5627
  }
5625
5628
  }
5626
- class zt {
5629
+ class Ot {
5627
5630
  constructor(e) {
5628
5631
  l(this, "id");
5629
5632
  l(this, "answerVariantId");
@@ -5632,8 +5635,8 @@ class zt {
5632
5635
  B.H.Classes.BuildClass(this, e);
5633
5636
  }
5634
5637
  static Create(e, i) {
5635
- const n = new zt();
5636
- return n.id = Ct(), n.fieldFillId = e, n.answerVariantId = i, n;
5638
+ const n = new Ot();
5639
+ return n.id = St(), n.fieldFillId = e, n.answerVariantId = i, n;
5637
5640
  }
5638
5641
  static GetClassName() {
5639
5642
  return "selectedAnswerVariant";
@@ -5670,7 +5673,7 @@ const ls = class Ln {
5670
5673
  }
5671
5674
  static Create(e, i) {
5672
5675
  const n = new Ln();
5673
- return n.id = Ct(), n.fieldId = e.id, n.formFillId = i, n.order = e.order, n.valueNumber = 0, n.valueString = "", n.valueDate = /* @__PURE__ */ new Date(), n;
5676
+ return n.id = St(), n.fieldId = e.id, n.formFillId = i, n.order = e.order, n.valueNumber = 0, n.valueString = "", n.valueDate = /* @__PURE__ */ new Date(), n;
5674
5677
  }
5675
5678
  setString(e) {
5676
5679
  this.valueString = e, this.valueString && (this.filled = this.valueString.length > 0);
@@ -5692,7 +5695,7 @@ const ls = class Ln {
5692
5695
  }
5693
5696
  addFile() {
5694
5697
  const e = new as();
5695
- return e.id = Ct(), e.answerId = this.id, this.answerFiles.push(e), e;
5698
+ return e.id = St(), e.answerId = this.id, this.answerFiles.push(e), e;
5696
5699
  }
5697
5700
  getFileInfos() {
5698
5701
  const e = [];
@@ -5702,14 +5705,14 @@ const ls = class Ln {
5702
5705
  return !0;
5703
5706
  }
5704
5707
  setMatrixRadioValue(e, i) {
5705
- const n = zt.Create(this.id, e);
5708
+ const n = Ot.Create(this.id, e);
5706
5709
  return n.answerVariantIdY = i, this.selectedAnswerVariants.push(n), this.filled = !0, n;
5707
5710
  }
5708
5711
  getMatrixValue(e, i) {
5709
5712
  return this.selectedAnswerVariants.find((n) => n.answerVariantId === e && n.answerVariantIdY === i);
5710
5713
  }
5711
5714
  addSelectedAnswerVariant(e) {
5712
- const i = zt.Create(this.id, e);
5715
+ const i = Ot.Create(this.id, e);
5713
5716
  return this.selectedAnswerVariants.push(i), this.filled = !0, i;
5714
5717
  }
5715
5718
  static GetClassName() {
@@ -5721,12 +5724,12 @@ const ls = class Ln {
5721
5724
  }
5722
5725
  };
5723
5726
  mo([
5724
- B.H.Classes.GetClassConstructor(zt)
5727
+ B.H.Classes.GetClassConstructor(Ot)
5725
5728
  ], ls.prototype, "selectedAnswerVariants");
5726
5729
  mo([
5727
5730
  B.H.Classes.GetClassConstructor(as)
5728
5731
  ], ls.prototype, "answerFiles");
5729
- let Nt = ls;
5732
+ let Ut = ls;
5730
5733
  class rd {
5731
5734
  constructor(e) {
5732
5735
  l(this, "id");
@@ -5866,7 +5869,7 @@ const bo = class Co {
5866
5869
  }
5867
5870
  static Create(e) {
5868
5871
  const i = new Co();
5869
- return i.id = B.H.Id.UUID(), i.formId = e.id, i.fieldFills.push(...Nt.CreateMany(e.getFields(), i.id)), i;
5872
+ return i.id = B.H.Id.UUID(), i.formId = e.id, i.fieldFills.push(...Ut.CreateMany(e.getFields(), i.id)), i;
5870
5873
  }
5871
5874
  addFieldFill(e) {
5872
5875
  this.fieldFills.push(e);
@@ -5876,7 +5879,7 @@ const bo = class Co {
5876
5879
  return (i = this.fieldFills) == null ? void 0 : i.find((n) => n.fieldId === e);
5877
5880
  }
5878
5881
  pushRegisterProperty(e) {
5879
- const i = new Nt();
5882
+ const i = new Ut();
5880
5883
  i.researchResultId = e, this.fieldFills.push(i);
5881
5884
  }
5882
5885
  getRegisterPropertyToPatient(e) {
@@ -5884,7 +5887,7 @@ const bo = class Co {
5884
5887
  }
5885
5888
  getOrCreateFieldFill(e) {
5886
5889
  let i = this.getFieldFill(e.id);
5887
- return i || (i = Nt.Create(e), this.addFieldFill(i)), i;
5890
+ return i || (i = Ut.Create(e), this.addFieldFill(i)), i;
5888
5891
  }
5889
5892
  getFileInfos() {
5890
5893
  const e = [];
@@ -5925,15 +5928,15 @@ const bo = class Co {
5925
5928
  }
5926
5929
  };
5927
5930
  dd([
5928
- B.H.Classes.GetClassConstructor(Nt)
5931
+ B.H.Classes.GetClassConstructor(Ut)
5929
5932
  ], bo.prototype, "fieldFills");
5930
5933
  let So = bo;
5931
5934
  const hd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5932
5935
  __proto__: null,
5933
- AnswerVariant: Pt,
5936
+ AnswerVariant: Tt,
5934
5937
  Field: Qi,
5935
5938
  FieldExample: fo,
5936
- FieldFill: Nt,
5939
+ FieldFill: Ut,
5937
5940
  FieldFillFile: as,
5938
5941
  FieldFilter: rd,
5939
5942
  FieldMeasure: os,
@@ -5941,17 +5944,17 @@ const hd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5941
5944
  Form: wo,
5942
5945
  FormFill: So,
5943
5946
  FormSection: Ki,
5944
- SelectedAnswerVariant: zt
5947
+ SelectedAnswerVariant: Ot
5945
5948
  }, Symbol.toStringTag, { value: "Module" }));
5946
5949
  let fd = class extends ue {
5947
5950
  constructor() {
5948
- super(Pt, "answer-variants");
5951
+ super(Tt, "answer-variants");
5949
5952
  }
5950
5953
  };
5951
5954
  const md = new fd();
5952
5955
  let gd = class extends ue {
5953
5956
  constructor() {
5954
- super(Nt, "field-fills");
5957
+ super(Ut, "field-fills");
5955
5958
  }
5956
5959
  };
5957
5960
  const pd = new gd();
@@ -5981,7 +5984,7 @@ let xd = class extends ue {
5981
5984
  const kd = new xd();
5982
5985
  let Md = class extends ue {
5983
5986
  constructor() {
5984
- super(zt, "selected-answer-variants");
5987
+ super(Ot, "selected-answer-variants");
5985
5988
  }
5986
5989
  };
5987
5990
  const Rd = new Md(), Id = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -6319,7 +6322,7 @@ const Od = {
6319
6322
  const i = t, n = e, s = () => {
6320
6323
  n("click");
6321
6324
  }, r = pe(() => le.JoinSnake(Qd, i.skin)), o = pe(() => le.JoinSnake(r.value, i.type)), u = pe(() => le.JoinSnake(r.value, i.size)), a = pe(() => [r.value, o.value, u.value]);
6322
- return (c, d) => (g(), w("button", xt(c.$attrs, {
6325
+ return (c, d) => (g(), w("button", kt(c.$attrs, {
6323
6326
  style: {
6324
6327
  margin: t.margin,
6325
6328
  padding: t.padding,
@@ -6738,7 +6741,7 @@ const yn = /* @__PURE__ */ new WeakMap(), Ch = (t, e) => {
6738
6741
  f("div", xh, [
6739
6742
  E(i.$slots, "default", {}, void 0, !0)
6740
6743
  ]),
6741
- je(f("input", xt(i.$attrs, {
6744
+ je(f("input", kt(i.$attrs, {
6742
6745
  "onUpdate:modelValue": n[0] || (n[0] = (s) => e.value = s),
6743
6746
  class: "text-field__input",
6744
6747
  style: { color: t.color },
@@ -6851,7 +6854,7 @@ const yn = /* @__PURE__ */ new WeakMap(), Ch = (t, e) => {
6851
6854
  I(F)
6852
6855
  ], 2)
6853
6856
  ]),
6854
- je(f("input", xt(k.$attrs, {
6857
+ je(f("input", kt(k.$attrs, {
6855
6858
  "onUpdate:modelValue": C[0] || (C[0] = (Y) => Ge(u) ? u.value = Y : null),
6856
6859
  class: "input-field",
6857
6860
  type: "number",
@@ -7269,7 +7272,7 @@ const yn = /* @__PURE__ */ new WeakMap(), Ch = (t, e) => {
7269
7272
  f("div", Jh, [
7270
7273
  I(d, { margin: "2px 2px 0 0" })
7271
7274
  ]),
7272
- je(f("select", xt(a.$attrs, {
7275
+ je(f("select", kt(a.$attrs, {
7273
7276
  "onUpdate:modelValue": c[0] || (c[0] = (h) => i.value = h),
7274
7277
  class: "text-field__input",
7275
7278
  onChange: o
@@ -7359,7 +7362,7 @@ const yn = /* @__PURE__ */ new WeakMap(), Ch = (t, e) => {
7359
7362
  fontSize: { type: String, required: !1, default: "var(--font-size-default)" }
7360
7363
  },
7361
7364
  setup(t) {
7362
- return (e, i) => (g(), w("table", xt(e.$attrs, {
7365
+ return (e, i) => (g(), w("table", kt(e.$attrs, {
7363
7366
  style: { width: t.width, margin: t.margin },
7364
7367
  class: "p-table"
7365
7368
  }), [
@@ -7405,7 +7408,7 @@ const yn = /* @__PURE__ */ new WeakMap(), Ch = (t, e) => {
7405
7408
  f("div", uf, [
7406
7409
  E(i.$slots, "default", {}, void 0, !0)
7407
7410
  ]),
7408
- je(f("textarea", xt(i.$attrs, {
7411
+ je(f("textarea", kt(i.$attrs, {
7409
7412
  "onUpdate:modelValue": n[0] || (n[0] = (s) => e.value = s),
7410
7413
  class: "text-field__input",
7411
7414
  style: { color: t.color },
@@ -7536,9 +7539,10 @@ const yn = /* @__PURE__ */ new WeakMap(), Ch = (t, e) => {
7536
7539
  key: u,
7537
7540
  modelValue: u.value,
7538
7541
  "onUpdate:modelValue": (a) => u.value = a,
7542
+ type: u.IsPassword ? "password" : "text",
7539
7543
  placeholder: u.label,
7540
7544
  margin: "10px 0 0 0"
7541
- }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder"]))), 128)),
7545
+ }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "type", "placeholder"]))), 128)),
7542
7546
  f("div", vf, [
7543
7547
  (g(!0), w(j, null, Te(p(n), (u, a) => (g(), q(us, {
7544
7548
  id: u.id,
@@ -7554,7 +7558,7 @@ const yn = /* @__PURE__ */ new WeakMap(), Ch = (t, e) => {
7554
7558
  ])
7555
7559
  ], 4));
7556
7560
  }
7557
- }), $o = /* @__PURE__ */ $(yf, [["__scopeId", "data-v-36e4fba5"]]), wf = /* @__PURE__ */ A({
7561
+ }), $o = /* @__PURE__ */ $(yf, [["__scopeId", "data-v-79146fa6"]]), wf = /* @__PURE__ */ A({
7558
7562
  __name: "PModal",
7559
7563
  props: {
7560
7564
  showCloseDialog: { type: Boolean, required: !1, default: !1 },
@@ -8827,7 +8831,7 @@ const Ff = /* @__PURE__ */ $(Tf, [["render", Of], ["__scopeId", "data-v-d28c6f33
8827
8831
  o.value = !1, u.value = !1;
8828
8832
  };
8829
8833
  return (U, ne) => {
8830
- const qe = O("PString"), Ne = O("PButton"), gt = O("PModal"), Ft = vr("click-outside");
8834
+ const qe = O("PString"), Ne = O("PButton"), gt = O("PModal"), Lt = vr("click-outside");
8831
8835
  return g(), w(j, null, [
8832
8836
  p(o) ? (g(), w("div", Mm)) : J("", !0),
8833
8837
  f("div", {
@@ -8857,7 +8861,7 @@ const Ff = /* @__PURE__ */ $(Tf, [["render", Of], ["__scopeId", "data-v-d28c6f33
8857
8861
  E(U.$slots, "open-inside-content", {}, void 0, !0)
8858
8862
  ], 4)), [
8859
8863
  [
8860
- Ft,
8864
+ Lt,
8861
8865
  F,
8862
8866
  void 0,
8863
8867
  { prevent: !0 }
@@ -9620,7 +9624,7 @@ function p1(t, e) {
9620
9624
  }
9621
9625
  return s;
9622
9626
  }
9623
- function Ot(t) {
9627
+ function Ft(t) {
9624
9628
  return function(e) {
9625
9629
  if (Array.isArray(e)) return wn(e);
9626
9630
  }(t) || function(e) {
@@ -9736,7 +9740,7 @@ function ar(t) {
9736
9740
  return /^data:/.test(e);
9737
9741
  }(t);
9738
9742
  }
9739
- function Dt(t) {
9743
+ function Ht(t) {
9740
9744
  return !!(t && t.constructor && t.call && t.apply);
9741
9745
  }
9742
9746
  function we(t) {
@@ -9796,7 +9800,7 @@ var ii = function(t, e) {
9796
9800
  }, onMouseLeave: function() {
9797
9801
  this.hovered && !this.touches.length && (this.hovered = !1, this.$emit("leave"));
9798
9802
  }, onTouchStart: function(t) {
9799
- t.cancelable && !this.disabled && t.touches.length === 1 && (this.touches = Ot(t.touches), this.hovered || (this.$emit("enter"), this.hovered = !0), t.touches.length && this.initAnchor(this.touches.reduce(function(e, i) {
9803
+ t.cancelable && !this.disabled && t.touches.length === 1 && (this.touches = Ft(t.touches), this.hovered || (this.$emit("enter"), this.hovered = !0), t.touches.length && this.initAnchor(this.touches.reduce(function(e, i) {
9800
9804
  return { clientX: e.clientX + i.clientX / t.touches.length, clientY: e.clientY + i.clientY / t.touches.length };
9801
9805
  }, { clientX: 0, clientY: 0 })), t.preventDefault && t.preventDefault(), t.stopPropagation());
9802
9806
  }, onTouchEnd: function() {
@@ -9816,7 +9820,7 @@ var ii = function(t, e) {
9816
9820
  var e = this.$refs.draggable.getBoundingClientRect(), i = e.left, n = e.right, s = e.bottom, r = e.top;
9817
9821
  this.anchor = { left: t.clientX - i, top: t.clientY - r, bottom: s - t.clientY, right: n - t.clientX };
9818
9822
  }, processMove: function(t, e) {
9819
- var i = Ot(e);
9823
+ var i = Ft(e);
9820
9824
  if (this.touches.length) {
9821
9825
  if (this.touches.length === 1 && i.length === 1) {
9822
9826
  var n = this.$refs.draggable;
@@ -10245,7 +10249,7 @@ var W1 = Je("vue-draggable-area"), Uo = { name: "DraggableArea", props: { movabl
10245
10249
  }, methods: { onTouchStart: function(t) {
10246
10250
  if (t.cancelable) {
10247
10251
  var e = this.movable && t.touches.length === 1;
10248
- e && (this.touches = Ot(t.touches)), (this.touchStarted || e) && (t.preventDefault(), t.stopPropagation());
10252
+ e && (this.touches = Ft(t.touches)), (this.touchStarted || e) && (t.preventDefault(), t.stopPropagation());
10249
10253
  }
10250
10254
  }, onTouchEnd: function() {
10251
10255
  this.touchStarted = !1, this.processEnd();
@@ -10264,7 +10268,7 @@ var W1 = Je("vue-draggable-area"), Uo = { name: "DraggableArea", props: { movabl
10264
10268
  var e = this.$refs.container.getBoundingClientRect(), i = e.left, n = e.top;
10265
10269
  this.anchor = { x: t.clientX - i, y: t.clientY - n };
10266
10270
  }, processMove: function(t, e) {
10267
- var i = Ot(e);
10271
+ var i = Ft(e);
10268
10272
  if (this.touches.length) {
10269
10273
  var n = this.$refs.container.getBoundingClientRect(), s = n.left, r = n.top;
10270
10274
  this.touches.length === 1 && i.length === 1 && this.$emit("move", new hs({ left: i[0].clientX - (s + this.anchor.x), top: i[0].clientY - (r + this.anchor.y) }));
@@ -10384,7 +10388,7 @@ var Vo = { props: { touchMove: { type: Boolean, required: !0 }, mouseMove: { typ
10384
10388
  }, onTouchStart: function(t) {
10385
10389
  if (t.cancelable && (this.touchMove || this.touchResize && t.touches.length > 1) && this.processEvent(t)) {
10386
10390
  var e = this.$refs.container, i = e.getBoundingClientRect(), n = i.left, s = i.top, r = i.bottom, o = i.right;
10387
- this.touches = Ot(t.touches).filter(function(u) {
10391
+ this.touches = Ft(t.touches).filter(function(u) {
10388
10392
  return u.clientX > n && u.clientX < o && u.clientY > s && u.clientY < r;
10389
10393
  }), this.oldGeometricProperties = mr(this.touches, e);
10390
10394
  }
@@ -10393,7 +10397,7 @@ var Vo = { props: { touchMove: { type: Boolean, required: !0 }, mouseMove: { typ
10393
10397
  }, onTouchMove: function(t) {
10394
10398
  var e = this;
10395
10399
  if (this.touches.length) {
10396
- var i = Ot(t.touches).filter(function(n) {
10400
+ var i = Ft(t.touches).filter(function(n) {
10397
10401
  return !n.identifier || e.touches.find(function(s) {
10398
10402
  return s.identifier === n.identifier;
10399
10403
  });
@@ -10485,7 +10489,7 @@ jo.render = function(t, e, i, n, s, r) {
10485
10489
  var Go = { components: { Preview: jo }, inheritAttrs: !1 };
10486
10490
  Go.render = function(t, e, i, n, s, r) {
10487
10491
  var o = O("preview");
10488
- return g(), q(o, xt(t.$attrs, { fill: !0 }), null, 16);
10492
+ return g(), q(o, kt(t.$attrs, { fill: !0 }), null, 16);
10489
10493
  };
10490
10494
  var kn = Je("vue-rectangle-stencil"), _o = { name: "RectangleStencil", components: { StencilPreview: Go, BoundingBox: No, DraggableArea: Uo }, props: { image: { type: Object }, coordinates: { type: Object }, stencilCoordinates: { type: Object }, handlers: { type: Object }, handlersComponent: { type: [Object, String], default: function() {
10491
10495
  return ms;
@@ -10766,11 +10770,11 @@ var G1 = ["transitions"], lt = Je("vue-advanced-cropper"), Zo = { name: "Cropper
10766
10770
  e || (e = this.stencilSize ? T1 : P1);
10767
10771
  var i = this.sizeRestrictions;
10768
10772
  i.minWidth, i.minHeight, i.maxWidth, i.maxHeight;
10769
- var n = Dt(e) ? e({ boundaries: this.boundaries, imageSize: this.imageSize, aspectRatio: this.getAspectRatio(), sizeRestrictions: this.sizeRestrictions, stencilSize: this.getStencilSize(), visibleArea: this.visibleArea }) : e, s = this.defaultPosition || E1, r = [n, function(o) {
10773
+ var n = Ht(e) ? e({ boundaries: this.boundaries, imageSize: this.imageSize, aspectRatio: this.getAspectRatio(), sizeRestrictions: this.sizeRestrictions, stencilSize: this.getStencilSize(), visibleArea: this.visibleArea }) : e, s = this.defaultPosition || E1, r = [n, function(o) {
10770
10774
  var u = o.coordinates;
10771
- return se({}, Dt(s) ? s({ coordinates: u, imageSize: t.imageSize, visibleArea: t.visibleArea }) : t.defaultPosition);
10775
+ return se({}, Ht(s) ? s({ coordinates: u, imageSize: t.imageSize, visibleArea: t.visibleArea }) : t.defaultPosition);
10772
10776
  }];
10773
- this.delayedTransforms && r.push.apply(r, Ot(Array.isArray(this.delayedTransforms) ? this.delayedTransforms : [this.delayedTransforms])), this.coordinates = this.applyTransform(r, !0), this.delayedTransforms = null;
10777
+ this.delayedTransforms && r.push.apply(r, Ft(Array.isArray(this.delayedTransforms) ? this.delayedTransforms : [this.delayedTransforms])), this.coordinates = this.applyTransform(r, !0), this.delayedTransforms = null;
10774
10778
  }
10775
10779
  }, clearImage: function() {
10776
10780
  var t = this;
@@ -10786,7 +10790,7 @@ var G1 = ["transitions"], lt = Je("vue-advanced-cropper"), Zo = { name: "Cropper
10786
10790
  var t = this, e = this.$refs.stretcher, i = this.$refs.cropper;
10787
10791
  return this.initStretcher({ cropper: i, stretcher: e, imageSize: this.imageSize }), this.$nextTick().then(function() {
10788
10792
  var n = { cropper: i, imageSize: t.imageSize };
10789
- if (Dt(t.defaultBoundaries) ? t.boundaries = t.defaultBoundaries(n) : t.defaultBoundaries === "fit" ? t.boundaries = function(s) {
10793
+ if (Ht(t.defaultBoundaries) ? t.boundaries = t.defaultBoundaries(n) : t.defaultBoundaries === "fit" ? t.boundaries = function(s) {
10790
10794
  var r = s.cropper, o = s.imageSize, u = r.clientHeight, a = r.clientWidth, c = u, d = o.width * u / o.height;
10791
10795
  return d > a && (d = a, c = o.height * a / o.width), { width: d, height: c };
10792
10796
  }(n) : t.boundaries = function(s) {
@@ -10799,7 +10803,7 @@ var G1 = ["transitions"], lt = Je("vue-advanced-cropper"), Zo = { name: "Cropper
10799
10803
  return this.appliedImageTransforms = se(se({}, this.defaultImageTransforms), {}, { flip: se({}, this.defaultImageTransforms.flip) }), this.updateBoundaries().then(function() {
10800
10804
  t.priority !== "visible-area" && (t.visibleArea = null, t.resetCoordinates());
10801
10805
  var e, i, n, s, r, o, u = t.defaultVisibleArea || z1;
10802
- t.visibleArea = Dt(u) ? u({ imageSize: t.imageSize, boundaries: t.boundaries, coordinates: t.priority !== "visible-area" ? t.coordinates : null, getAreaRestrictions: t.getAreaRestrictions, stencilSize: t.getStencilSize() }) : t.defaultVisibleArea, t.visibleArea = (e = { visibleArea: t.visibleArea, boundaries: t.boundaries, getAreaRestrictions: t.getAreaRestrictions }, i = e.visibleArea, n = e.boundaries, s = e.getAreaRestrictions, r = N({}, i), o = re(n), r.width / r.height !== o && (r.height = r.width / o), Se(r, s({ visibleArea: r, type: "move" }))), t.priority === "visible-area" ? t.resetCoordinates() : t.coordinates = t.fitCoordinates({ visibleArea: t.visibleArea, coordinates: t.coordinates, aspectRatio: t.getAspectRatio(), positionRestrictions: t.positionRestrictions, sizeRestrictions: t.sizeRestrictions }), t.runAutoZoom("resetVisibleArea");
10806
+ t.visibleArea = Ht(u) ? u({ imageSize: t.imageSize, boundaries: t.boundaries, coordinates: t.priority !== "visible-area" ? t.coordinates : null, getAreaRestrictions: t.getAreaRestrictions, stencilSize: t.getStencilSize() }) : t.defaultVisibleArea, t.visibleArea = (e = { visibleArea: t.visibleArea, boundaries: t.boundaries, getAreaRestrictions: t.getAreaRestrictions }, i = e.visibleArea, n = e.boundaries, s = e.getAreaRestrictions, r = N({}, i), o = re(n), r.width / r.height !== o && (r.height = r.width / o), Se(r, s({ visibleArea: r, type: "move" }))), t.priority === "visible-area" ? t.resetCoordinates() : t.coordinates = t.fitCoordinates({ visibleArea: t.visibleArea, coordinates: t.coordinates, aspectRatio: t.getAspectRatio(), positionRestrictions: t.positionRestrictions, sizeRestrictions: t.sizeRestrictions }), t.runAutoZoom("resetVisibleArea");
10803
10807
  }).catch(function() {
10804
10808
  t.visibleArea = null;
10805
10809
  });
@@ -10857,7 +10861,7 @@ var G1 = ["transitions"], lt = Je("vue-advanced-cropper"), Zo = { name: "Cropper
10857
10861
  o.push(String.fromCharCode.apply(null, Array.from ? Array.from(a) : a.slice())), u = u.subarray(8192);
10858
10862
  }
10859
10863
  return "data:image/jpeg;base64," + btoa(o.join(""));
10860
- }(n) : this.imageAttributes.src = i, Dt(this.defaultTransforms) ? this.appliedImageTransforms = xn(this.defaultTransforms()) : Pi(this.defaultTransforms) ? this.appliedImageTransforms = xn(this.defaultTransforms) : this.appliedImageTransforms = function(r) {
10864
+ }(n) : this.imageAttributes.src = i, Ht(this.defaultTransforms) ? this.appliedImageTransforms = xn(this.defaultTransforms()) : Pi(this.defaultTransforms) ? this.appliedImageTransforms = xn(this.defaultTransforms) : this.appliedImageTransforms = function(r) {
10861
10865
  var o = xn({});
10862
10866
  if (r) switch (r) {
10863
10867
  case 2:
@@ -10928,7 +10932,7 @@ var G1 = ["transitions"], lt = Je("vue-advanced-cropper"), Zo = { name: "Cropper
10928
10932
  }
10929
10933
  return { minimum: e, maximum: i };
10930
10934
  }, getStencilSize: function() {
10931
- if (this.stencilSize) return t = { currentStencilSize: { width: this.stencilCoordinates.width, height: this.stencilCoordinates.height }, stencilSize: this.stencilSize, boundaries: this.boundaries, coefficient: this.coefficient, coordinates: this.coordinates, aspectRatio: this.getAspectRatio(!0) }, e = t.boundaries, i = t.stencilSize, n = t.aspectRatio, Cn(re(s = Dt(i) ? i({ boundaries: e, aspectRatio: n }) : i), n) && (s = ft({ sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minWidth: 0, minHeight: 0 }, width: s.width, height: s.height, aspectRatio: { minimum: n.minimum, maximum: n.maximum } })), (s.width > e.width || s.height > e.height) && (s = ft({ sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minWidth: 0, minHeight: 0 }, width: s.width, height: s.height, aspectRatio: { minimum: re(s), maximum: re(s) } })), s;
10935
+ if (this.stencilSize) return t = { currentStencilSize: { width: this.stencilCoordinates.width, height: this.stencilCoordinates.height }, stencilSize: this.stencilSize, boundaries: this.boundaries, coefficient: this.coefficient, coordinates: this.coordinates, aspectRatio: this.getAspectRatio(!0) }, e = t.boundaries, i = t.stencilSize, n = t.aspectRatio, Cn(re(s = Ht(i) ? i({ boundaries: e, aspectRatio: n }) : i), n) && (s = ft({ sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minWidth: 0, minHeight: 0 }, width: s.width, height: s.height, aspectRatio: { minimum: n.minimum, maximum: n.maximum } })), (s.width > e.width || s.height > e.height) && (s = ft({ sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minWidth: 0, minHeight: 0 }, width: s.width, height: s.height, aspectRatio: { minimum: re(s), maximum: re(s) } })), s;
10932
10936
  var t, e, i, n, s;
10933
10937
  }, getPublicProperties: function() {
10934
10938
  return { coefficient: this.coefficient, visibleArea: this.visibleArea, coordinates: this.coordinates, boundaries: this.boundaries, sizeRestrictions: this.sizeRestrictions, positionRestrictions: this.positionRestrictions, aspectRatio: this.getAspectRatio(), imageRestriction: this.imageRestriction };
@@ -10954,7 +10958,7 @@ var G1 = ["transitions"], lt = Je("vue-advanced-cropper"), Zo = { name: "Cropper
10954
10958
  Zo.render = function(t, e, i, n, s, r) {
10955
10959
  return g(), q("div", { ref: "cropper", class: r.classes.cropper }, [I("div", { ref: "stretcher", class: r.classes.stretcher }, null, 2), I("div", { class: r.classes.boundaries, style: r.boundariesStyle }, [(g(), q(ni(i.backgroundWrapperComponent), { class: r.classes.cropperWrapper, "wheel-resize": r.settings.resizeImage.wheel, "touch-resize": r.settings.resizeImage.touch, "touch-move": r.settings.moveImage.touch, "mouse-move": r.settings.moveImage.mouse, onMove: r.onManipulateImage, onResize: r.onManipulateImage }, { default: _(function() {
10956
10960
  return [I("div", { class: r.classes.background, style: r.boundariesStyle }, null, 6), I("div", { class: r.classes.imageWrapper }, [I("img", { ref: "image", crossorigin: s.imageAttributes.crossOrigin, src: s.imageAttributes.src, class: r.classes.image, style: r.imageStyle, onMousedown: e[1] || (e[1] = Pe(function() {
10957
- }, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), I("div", { class: r.classes.foreground, style: r.boundariesStyle }, null, 6), je((g(), q(ni(i.stencilComponent), xt({ ref: "stencil", image: r.image, coordinates: s.coordinates, "stencil-coordinates": r.stencilCoordinates, transitions: r.transitionsOptions }, i.stencilProps, { onResize: r.onResize, onResizeEnd: r.onResizeEnd, onMove: r.onMove, onMoveEnd: r.onMoveEnd }), null, 16, ["image", "coordinates", "stencil-coordinates", "transitions", "onResize", "onResizeEnd", "onMove", "onMoveEnd"])), [[jn, s.imageLoaded]]), i.canvas ? (g(), q("canvas", _1, null, 512)) : J("", !0), i.canvas ? (g(), q("canvas", Z1, null, 512)) : J("", !0)];
10961
+ }, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), I("div", { class: r.classes.foreground, style: r.boundariesStyle }, null, 6), je((g(), q(ni(i.stencilComponent), kt({ ref: "stencil", image: r.image, coordinates: s.coordinates, "stencil-coordinates": r.stencilCoordinates, transitions: r.transitionsOptions }, i.stencilProps, { onResize: r.onResize, onResizeEnd: r.onResizeEnd, onMove: r.onMove, onMoveEnd: r.onMoveEnd }), null, 16, ["image", "coordinates", "stencil-coordinates", "transitions", "onResize", "onResizeEnd", "onMove", "onMoveEnd"])), [[jn, s.imageLoaded]]), i.canvas ? (g(), q("canvas", _1, null, 512)) : J("", !0), i.canvas ? (g(), q("canvas", Z1, null, 512)) : J("", !0)];
10958
10962
  }), _: 1 }, 8, ["class", "wheel-resize", "touch-resize", "touch-move", "mouse-move", "onMove", "onResize"]))], 6)], 2);
10959
10963
  };
10960
10964
  const X1 = {
@@ -12411,7 +12415,7 @@ export {
12411
12415
  Os as AuthButtonRegister,
12412
12416
  un as AuthButtonRestore,
12413
12417
  Re as AuthChunks,
12414
- Ut as AuthFieldsIds,
12418
+ Ct as AuthFieldsIds,
12415
12419
  $o as AuthForm,
12416
12420
  $a as AuthFormSettings,
12417
12421
  di as AuthMethods,