sprof 0.0.64 → 0.0.65

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.
@@ -18,5 +18,6 @@ export default abstract class Router {
18
18
  static GetStringQueryParam(param: string): string;
19
19
  static GetNumberQueryParam(param: string): number;
20
20
  static GetStringParam(param: string): string;
21
+ static SetQueryParam(param: string, value: string | number): Promise<void | import('vue-router').NavigationFailure | undefined>;
21
22
  static Resolve(link: string): RouteLocation;
22
23
  }
package/dist/sprof.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var Zo = Object.defineProperty;
2
2
  var Jo = (t, e, i) => e in t ? Zo(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
3
3
  var u = (t, e, i) => Jo(t, typeof e != "symbol" ? e + "" : e, i);
4
- import { defineComponent as $, ref as T, onBeforeMount as at, openBlock as m, createElementBlock as S, Fragment as j, renderSlot as F, unref as g, createElementVNode as f, normalizeStyle as R, createCommentVNode as ee, resolveComponent as E, createVNode as A, withCtx as W, withModifiers as Re, withDirectives as qe, vModelText as Fn, computed as me, mergeProps as Dt, createTextVNode as Ai, toDisplayString as ye, mergeModels as Ee, useModel as ft, vModelCheckbox as Xo, vModelDynamic as Yo, isRef as Ge, withKeys as Qo, watch as Ke, createBlock as q, vModelRadio as Ko, normalizeClass as se, vShow as On, vModelSelect as ea, useCssVars as Ys, onMounted as Kt, renderList as Ie, resolveDirective as Qs, createStaticVNode as Ks, resolveDynamicComponent as _t, nextTick as ta, onUpdated as ia, onBeforeUnmount as zn, onUnmounted as er, Transition as tr, reactive as rt, getCurrentInstance as na, inject as sa, onDeactivated as ra, onActivated as oa } from "vue";
4
+ import { defineComponent as $, ref as T, onBeforeMount as lt, openBlock as m, createElementBlock as S, Fragment as j, renderSlot as F, unref as g, createElementVNode as f, normalizeStyle as R, createCommentVNode as ee, resolveComponent as E, createVNode as A, withCtx as W, withModifiers as Re, withDirectives as qe, vModelText as Fn, computed as me, mergeProps as Dt, createTextVNode as Ai, toDisplayString as ye, mergeModels as Ee, useModel as ft, vModelCheckbox as Xo, vModelDynamic as Yo, isRef as Ge, withKeys as Qo, watch as Ke, createBlock as q, vModelRadio as Ko, normalizeClass as se, vShow as On, vModelSelect as ea, useCssVars as Ys, onMounted as Kt, renderList as Ie, resolveDirective as Qs, createStaticVNode as Ks, resolveDynamicComponent as _t, nextTick as ta, onUpdated as ia, onBeforeUnmount as zn, onUnmounted as er, Transition as tr, reactive as ot, getCurrentInstance as na, inject as sa, onDeactivated as ra, onActivated as oa } from "vue";
5
5
  const aa = {
6
6
  key: 0,
7
7
  class: "mainblock"
@@ -23,7 +23,7 @@ const aa = {
23
23
  const e = t, i = T(!1), n = T(!0), s = T(window.matchMedia("(max-width: 1330px)").matches), r = () => {
24
24
  n.value = !n.value;
25
25
  };
26
- return at(async () => {
26
+ return lt(async () => {
27
27
  window.addEventListener("resize", () => {
28
28
  switch (e.mobileWidth) {
29
29
  case "1330px":
@@ -115,7 +115,7 @@ const aa = {
115
115
  const e = t, i = T(!1), n = T(!0), s = T(window.matchMedia("(max-width: 1330px)").matches), r = () => {
116
116
  n.value = !n.value;
117
117
  };
118
- return at(async () => {
118
+ return lt(async () => {
119
119
  window.addEventListener("resize", () => {
120
120
  switch (e.mobileWidth) {
121
121
  case "1330px":
@@ -733,7 +733,7 @@ const Yi = /* @__PURE__ */ new WeakMap(), Za = (t, e) => {
733
733
  ], 4));
734
734
  }
735
735
  }), el = /* @__PURE__ */ P(Ka, [["__scopeId", "data-v-4e2bdb1a"]]), tl = ["ВС", "ПН", "ВТ", "СР", "ЧТ", "ПТ", "СБ"], il = "ru-RU";
736
- class nt {
736
+ class st {
737
737
  constructor() {
738
738
  u(this, "locale", "ru-RU");
739
739
  }
@@ -758,11 +758,11 @@ class nt {
758
758
  return this.GetPeriod(n, s, e || { month: "2-digit", day: "numeric", year: void 0 });
759
759
  }
760
760
  static GetDurationInDay(e, i) {
761
- const n = /* @__PURE__ */ new Date(), s = /* @__PURE__ */ new Date(), r = nt.SplitHourTime(e), o = nt.SplitHourTime(i);
761
+ const n = /* @__PURE__ */ new Date(), s = /* @__PURE__ */ new Date(), r = st.SplitHourTime(e), o = st.SplitHourTime(i);
762
762
  return n.setHours(r[0], r[1], 0, 0), s.setHours(o[0], o[1], 0, 0), (s.getTime() - n.getTime()) / 1e3 / 60;
763
763
  }
764
764
  static HourTimeinMunutes(e) {
765
- const i = nt.SplitHourTime(e);
765
+ const i = st.SplitHourTime(e);
766
766
  return i[0] * 60 + i[1];
767
767
  }
768
768
  static SplitHourTime(e) {
@@ -770,7 +770,7 @@ class nt {
770
770
  return [Number(i[0]), Number(i[1])];
771
771
  }
772
772
  static AddMinutesToHM(e, i) {
773
- const n = /* @__PURE__ */ new Date(), s = nt.SplitHourTime(e);
773
+ const n = /* @__PURE__ */ new Date(), s = st.SplitHourTime(e);
774
774
  n.setHours(s[0], s[1], 0, 0);
775
775
  const r = new Date(n.getTime() + i * 6e4), o = r.getHours(), l = r.getMinutes();
776
776
  return `${o}:${l}`;
@@ -792,7 +792,7 @@ class nt {
792
792
  const n = [new Date(e)];
793
793
  let s = e;
794
794
  for (; s <= i; )
795
- s = nt.AddDays(s, 1), n.push(s);
795
+ s = st.AddDays(s, 1), n.push(s);
796
796
  return n;
797
797
  }
798
798
  static AddDays(e, i) {
@@ -819,10 +819,10 @@ const nl = /* @__PURE__ */ $({
819
819
  }),
820
820
  emits: /* @__PURE__ */ Ee(["update:modelValue", "change", "beforeChange"], ["update:modelValue"]),
821
821
  setup(t, { emit: e }) {
822
- const i = e, n = ft(t, "modelValue"), s = nt.Format(n.value), r = T(s), o = (a) => {
822
+ const i = e, n = ft(t, "modelValue"), s = st.Format(n.value), r = T(s), o = (a) => {
823
823
  if (!l(a))
824
824
  return;
825
- const c = nt.FromRuStr(a);
825
+ const c = st.FromRuStr(a);
826
826
  n.value = c, i("beforeChange", c), i("change", c);
827
827
  }, l = (a) => a.length != 10 ? (r.value = s, M.UI.Notify.Error("Неверный формат даты"), !1) : Number(r.value.slice(0, 2)) > 31 ? (r.value = s, M.UI.Notify.Error("Неверный день месяца"), !1) : Number(r.value.slice(3, 5)) > 12 ? (r.value = s, M.UI.Notify.Error("Неверный месяц"), !1) : Number(r.value.slice(6, 10)) > 2100 ? (r.value = s, M.UI.Notify.Error("Неверный год"), !1) : !0;
828
828
  return (a, c) => {
@@ -1823,7 +1823,7 @@ function fu(t, e = 0) {
1823
1823
  const mu = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), bs = {
1824
1824
  randomUUID: mu
1825
1825
  };
1826
- function ot(t, e, i) {
1826
+ function at(t, e, i) {
1827
1827
  if (bs.randomUUID && !e && !t)
1828
1828
  return bs.randomUUID();
1829
1829
  t = t || {};
@@ -1944,12 +1944,12 @@ var Cs;
1944
1944
  return V(I) || (I = Je(I)), is(w, C, I);
1945
1945
  }
1946
1946
  e("getMetadata", Le);
1947
- function lt(w, C, I) {
1947
+ function ut(w, C, I) {
1948
1948
  if (!de(C))
1949
1949
  throw new TypeError();
1950
1950
  return V(I) || (I = Je(I)), ns(w, C, I);
1951
1951
  }
1952
- e("getOwnMetadata", lt);
1952
+ e("getOwnMetadata", ut);
1953
1953
  function xt(w, C) {
1954
1954
  if (!de(w))
1955
1955
  throw new TypeError();
@@ -2644,7 +2644,7 @@ var Cs;
2644
2644
  })(Cs || (Cs = {}));
2645
2645
  class je {
2646
2646
  static UUID() {
2647
- return ot();
2647
+ return at();
2648
2648
  }
2649
2649
  static GUID() {
2650
2650
  const e = function() {
@@ -2871,11 +2871,11 @@ const or = class It {
2871
2871
  }
2872
2872
  static CreateFilterModel(e, i, n) {
2873
2873
  const s = new It();
2874
- return s.id = ot(), s.model = typeof e == "string" ? e : e.GetClassName(), s.col = i ?? "", s.type = n, s.type === ue.Number && (s.value1 = "0"), s.type === ue.String && (s.value1 = ""), s.type === ue.Boolean && (s.value1 = "false"), s;
2874
+ return s.id = at(), s.model = typeof e == "string" ? e : e.GetClassName(), s.col = i ?? "", s.type = n, s.type === ue.Number && (s.value1 = "0"), s.type === ue.String && (s.value1 = ""), s.type === ue.Boolean && (s.value1 = "false"), s;
2875
2875
  }
2876
2876
  static CreateFilterModelWithJoin(e, i, n, s, r, o, l, a) {
2877
2877
  const c = new It();
2878
- return c.id = ot(), c.joinTable = n, c.joinTablePk = s, c.joinTableFk = r, c.col = i, c.type = o, l && (c.joinTableId = l), a && (c.joinTableIdCol = a), c;
2878
+ return c.id = at(), c.joinTable = n, c.joinTablePk = s, c.joinTableFk = r, c.col = i, c.type = o, l && (c.joinTableId = l), a && (c.joinTableIdCol = a), c;
2879
2879
  }
2880
2880
  static CreateFilterModelWithJoinV2(e, i, n, s, r, o, l) {
2881
2881
  const a = new It();
@@ -2883,7 +2883,7 @@ const or = class It {
2883
2883
  }
2884
2884
  static OnlyIfSecondModelExists(e, i) {
2885
2885
  const n = new It();
2886
- return n.id = ot(), n.model = ve.ToCamelCase(e.GetClassName()), n.joinTableModel = ve.ToCamelCase(i.GetClassName()), n.type = ue.Join, n;
2886
+ return n.id = at(), n.model = ve.ToCamelCase(e.GetClassName()), n.joinTableModel = ve.ToCamelCase(i.GetClassName()), n.type = ue.Join, n;
2887
2887
  }
2888
2888
  addToSet(...e) {
2889
2889
  e.forEach((i) => {
@@ -3067,7 +3067,7 @@ const vu = /* @__PURE__ */ $({
3067
3067
  }), xu = /* @__PURE__ */ P(Cu, [["__scopeId", "data-v-7b102249"]]), Mu = /* @__PURE__ */ $({
3068
3068
  __name: "FTSPPanel",
3069
3069
  setup(t) {
3070
- return at(async () => {
3070
+ return lt(async () => {
3071
3071
  }), (e, i) => (m(), S("div"));
3072
3072
  }
3073
3073
  }), ku = /* @__PURE__ */ P(Mu, [["__scopeId", "data-v-799d5edf"]]), Iu = /* @__PURE__ */ $({
@@ -4151,7 +4151,7 @@ function $s(t) {
4151
4151
  function Ps(t, e) {
4152
4152
  return Math.pow(t.width - e.width, 2) + Math.pow(t.height - e.height, 2);
4153
4153
  }
4154
- function st(t) {
4154
+ function rt(t) {
4155
4155
  var e = t.width, i = t.height, n = t.sizeRestrictions, s = { minimum: t.aspectRatio && t.aspectRatio.minimum || 0, maximum: t.aspectRatio && t.aspectRatio.maximum || 1 / 0 }, r = { width: Math.max(n.minWidth, Math.min(n.maxWidth, e)), height: Math.max(n.minHeight, Math.min(n.maxHeight, i)) };
4156
4156
  function o(c, d) {
4157
4157
  return d === void 0 && (d = !1), c.reduce(function(h, p) {
@@ -4176,7 +4176,7 @@ function mc(t) {
4176
4176
  return (Array.isArray(i) ? i : [i]).forEach(function(d) {
4177
4177
  var h = {};
4178
4178
  ge((h = typeof d == "function" ? d({ coordinates: c, imageSize: n, visibleArea: l }) : d).width) && ge(h.height) || (c = function(p, y) {
4179
- var v = N(N(N({}, p), st({ width: y.width, height: y.height, sizeRestrictions: s, aspectRatio: o })), { left: 0, top: 0 });
4179
+ var v = N(N(N({}, p), rt({ width: y.width, height: y.height, sizeRestrictions: s, aspectRatio: o })), { left: 0, top: 0 });
4180
4180
  return a(v, { left: p.left, top: p.top });
4181
4181
  }(c, N(N({}, c), h))), ge(h.left) && ge(h.top) || (c = a(c, N(N({}, c), h)));
4182
4182
  }), c;
@@ -4188,7 +4188,7 @@ function pc(t) {
4188
4188
  var r = t.stencilSize, o = t.sizeRestrictions, l = t.positionRestrictions;
4189
4189
  t.stencilReference;
4190
4190
  var a, c, d, h = N({}, n), p = N({}, s), y = N({}, r);
4191
- a = ne(y), c = ne(h), d === void 0 && (d = 1e-3), (a === 0 || c === 0 ? Math.abs(c - a) < d : Math.abs(c / a) < 1 + d && Math.abs(c / a) > 1 - d) || (h = N(N({}, h), st({ sizeRestrictions: o, width: h.width, height: h.height, aspectRatio: { minimum: ne(y), maximum: ne(y) } })));
4191
+ a = ne(y), c = ne(h), d === void 0 && (d = 1e-3), (a === 0 || c === 0 ? Math.abs(c - a) < d : Math.abs(c / a) < 1 + d && Math.abs(c / a) > 1 - d) || (h = N(N({}, h), rt({ sizeRestrictions: o, width: h.width, height: h.height, aspectRatio: { minimum: ne(y), maximum: ne(y) } })));
4192
4192
  var v = Pi(p = Be(p, h.width * i.width / (p.width * y.width)), e({ visibleArea: p, type: "resize" }));
4193
4193
  return v !== 1 && (p = Be(p, v), h = Be(h, v)), p = Ce(p = Ae(p, Et(Se(h), Se(p))), e({ visibleArea: p, type: "move" })), { coordinates: h = Ce(h, Ei(et(p), l)), visibleArea: p };
4194
4194
  }
@@ -4220,11 +4220,11 @@ function yc(t) {
4220
4220
  }
4221
4221
  function wc(t) {
4222
4222
  var e = t.imageSize, i = t.visibleArea, n = t.aspectRatio, s = t.sizeRestrictions, r = i || e, o = Math.min(n.maximum || 1 / 0, Math.max(n.minimum || 0, ne(r))), l = r.width < r.height ? { width: 0.8 * r.width, height: 0.8 * r.width / o } : { height: 0.8 * r.height, width: 0.8 * r.height * o };
4223
- return st(N(N({}, l), { aspectRatio: n, sizeRestrictions: s }));
4223
+ return rt(N(N({}, l), { aspectRatio: n, sizeRestrictions: s }));
4224
4224
  }
4225
4225
  function bc(t) {
4226
4226
  var e, i, n = t.imageSize, s = t.visibleArea, r = t.boundaries, o = t.aspectRatio, l = t.sizeRestrictions, a = t.stencilSize, c = s || n;
4227
- return ne(c) > ne(r) ? i = (e = a.height * c.height / r.height) * ne(a) : e = (i = a.width * c.width / r.width) / ne(a), st({ width: i, height: e, aspectRatio: o, sizeRestrictions: l });
4227
+ return ne(c) > ne(r) ? i = (e = a.height * c.height / r.height) * ne(a) : e = (i = a.width * c.width / r.width) / ne(a), rt({ width: i, height: e, aspectRatio: o, sizeRestrictions: l });
4228
4228
  }
4229
4229
  function Sc(t) {
4230
4230
  var e = t.getAreaRestrictions, i = t.coordinates, n = t.imageSize, s = ne(t.boundaries);
@@ -4248,7 +4248,7 @@ function Cc(t) {
4248
4248
  }
4249
4249
  function xc(t) {
4250
4250
  var e = t.aspectRatio, i = t.getAreaRestrictions, n = t.coordinates, s = t.visibleArea, r = t.sizeRestrictions, o = t.positionRestrictions, l = t.imageSize, a = t.previousImageSize, c = t.angle, d = N({}, n), h = N({}, s), p = dt(Se(N({ left: 0, top: 0 }, a)), c);
4251
- return (d = N(N({}, st({ sizeRestrictions: r, aspectRatio: e, width: d.width, height: d.height })), dt(Se(d), c))).left -= p.left - l.width / 2 + d.width / 2, d.top -= p.top - l.height / 2 + d.height / 2, h = Be(h, Pi(h, i({ visibleArea: h, type: "resize" }))), { coordinates: d = Ce(d, o), visibleArea: h = Ce(h = Ae(h, Et(Se(d), Se(n))), i({ visibleArea: h, type: "move" })) };
4251
+ return (d = N(N({}, rt({ sizeRestrictions: r, aspectRatio: e, width: d.width, height: d.height })), dt(Se(d), c))).left -= p.left - l.width / 2 + d.width / 2, d.top -= p.top - l.height / 2 + d.height / 2, h = Be(h, Pi(h, i({ visibleArea: h, type: "resize" }))), { coordinates: d = Ce(d, o), visibleArea: h = Ce(h = Ae(h, Et(Se(d), Se(n))), i({ visibleArea: h, type: "move" })) };
4252
4252
  }
4253
4253
  function Mc(t) {
4254
4254
  var e = t.flip, i = t.previousFlip, n = t.rotate, s = t.getAreaRestrictions, r = t.coordinates, o = t.visibleArea, l = t.imageSize, a = N({}, r), c = N({}, o), d = i.horizontal !== e.horizontal, h = i.vertical !== e.vertical;
@@ -4738,7 +4738,7 @@ var Oc = ["transitions"], tt = Ve("vue-advanced-cropper"), Mr = { name: "Cropper
4738
4738
  var e = t.stretcher, i = t.imageSize, n = ne(i);
4739
4739
  e.style.width = i.width + "px", e.style.height = e.clientWidth / n + "px", e.style.width = e.clientWidth + "px";
4740
4740
  } }, fitCoordinates: { type: Function, default: function(t) {
4741
- var e = t.visibleArea, i = t.coordinates, n = t.aspectRatio, s = t.sizeRestrictions, r = t.positionRestrictions, o = N(N({}, i), st({ width: i.width, height: i.height, aspectRatio: n, sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minHeight: Math.min(e.height, s.minHeight), minWidth: Math.min(e.width, s.minWidth) } }));
4741
+ var e = t.visibleArea, i = t.coordinates, n = t.aspectRatio, s = t.sizeRestrictions, r = t.positionRestrictions, o = N(N({}, i), rt({ width: i.width, height: i.height, aspectRatio: n, sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minHeight: Math.min(e.height, s.minHeight), minWidth: Math.min(e.width, s.minWidth) } }));
4742
4742
  return o = Ce(o = Ae(o, Et(Se(i), Se(o))), Ei(et(e), r));
4743
4743
  } }, fitVisibleArea: { type: Function, default: function(t) {
4744
4744
  var e = t.visibleArea, i = t.boundaries, n = t.getAreaRestrictions, s = t.coordinates, r = N({}, e);
@@ -4913,7 +4913,7 @@ var Oc = ["transitions"], tt = Ve("vue-advanced-cropper"), Mr = { name: "Cropper
4913
4913
  return c = a, !Number.isNaN(parseFloat(c)) && isFinite(c);
4914
4914
  var c;
4915
4915
  });
4916
- }, r = st({ sizeRestrictions: { minWidth: s([n.width, n.minWidth]) || 0, minHeight: s([n.height, n.minHeight]) || 0, maxWidth: s([n.width, n.maxWidth]) || 1 / 0, maxHeight: s([n.height, n.maxHeight]) || 1 / 0 }, width: this.coordinates.width, height: this.coordinates.height, aspectRatio: { minimum: this.coordinates.width / this.coordinates.height, maximum: this.coordinates.width / this.coordinates.height } });
4916
+ }, r = rt({ sizeRestrictions: { minWidth: s([n.width, n.minWidth]) || 0, minHeight: s([n.height, n.minHeight]) || 0, maxWidth: s([n.width, n.maxWidth]) || 1 / 0, maxHeight: s([n.height, n.maxHeight]) || 1 / 0 }, width: this.coordinates.width, height: this.coordinates.height, aspectRatio: { minimum: this.coordinates.width / this.coordinates.height, maximum: this.coordinates.width / this.coordinates.height } });
4917
4917
  if (n.maxArea && r.width * r.height > n.maxArea) {
4918
4918
  var o = Math.sqrt(n.maxArea / (r.width * r.height));
4919
4919
  r = { width: Math.round(o * r.width), height: Math.round(o * r.height) };
@@ -5101,7 +5101,7 @@ var Oc = ["transitions"], tt = Ve("vue-advanced-cropper"), Mr = { name: "Cropper
5101
5101
  }
5102
5102
  return { minimum: e, maximum: i };
5103
5103
  }, getStencilSize: function() {
5104
- 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, en(ne(s = kt(i) ? i({ boundaries: e, aspectRatio: n }) : i), n) && (s = st({ 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 = st({ sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minWidth: 0, minHeight: 0 }, width: s.width, height: s.height, aspectRatio: { minimum: ne(s), maximum: ne(s) } })), s;
5104
+ 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, en(ne(s = kt(i) ? i({ boundaries: e, aspectRatio: n }) : i), n) && (s = rt({ 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 = rt({ sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minWidth: 0, minHeight: 0 }, width: s.width, height: s.height, aspectRatio: { minimum: ne(s), maximum: ne(s) } })), s;
5105
5105
  var t, e, i, n, s;
5106
5106
  }, getPublicProperties: function() {
5107
5107
  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 };
@@ -5338,7 +5338,7 @@ const Dc = { class: "background-container" }, Hc = { class: "tools-line" }, Bc =
5338
5338
  o.value = !1, l.value = !1;
5339
5339
  };
5340
5340
  return (_, G) => {
5341
- const Te = E("PString"), Le = E("PButton"), lt = E("PModal"), xt = Qs("click-outside");
5341
+ const Te = E("PString"), Le = E("PButton"), ut = E("PModal"), xt = Qs("click-outside");
5342
5342
  return m(), S(j, null, [
5343
5343
  g(o) ? (m(), S("div", Wc)) : ee("", !0),
5344
5344
  f("div", {
@@ -5392,7 +5392,7 @@ const Dc = { class: "background-container" }, Hc = { class: "tools-line" }, Bc =
5392
5392
  ], 4)
5393
5393
  ], 38)
5394
5394
  ], 4),
5395
- A(lt, {
5395
+ A(ut, {
5396
5396
  show: g(l),
5397
5397
  title: "У вас остались несохраненные изменения, вы уверены что хотите закрыть окно?"
5398
5398
  }, {
@@ -5571,7 +5571,7 @@ const sd = /* @__PURE__ */ P(id, [["render", nd]]), rd = $({
5571
5571
  };
5572
5572
  return ia(() => {
5573
5573
  t.activeId && t.activeId !== t.tabId && (i.value = !0);
5574
- }), at(() => {
5574
+ }), lt(() => {
5575
5575
  t.activeId && t.activeId !== t.tabId && (i.value = !1);
5576
5576
  }), {
5577
5577
  collapsed: i,
@@ -6887,7 +6887,7 @@ const oh = /* @__PURE__ */ P(sh, [["render", rh], ["__scopeId", "data-v-0f1f2f84
6887
6887
  const i = t, n = e, s = T(!1), r = T(window.matchMedia("(max-width: 768px)").matches), o = (a) => {
6888
6888
  n("toggle", a);
6889
6889
  }, l = T(!1);
6890
- return at(async () => {
6890
+ return lt(async () => {
6891
6891
  window.addEventListener("resize", () => {
6892
6892
  switch (i.mobileWidth) {
6893
6893
  case "1330px":
@@ -7139,7 +7139,7 @@ const Qe = new Hh(), Bh = ["label", "value"], qh = /* @__PURE__ */ $({
7139
7139
  emits: ["load"],
7140
7140
  setup(t, { emit: e }) {
7141
7141
  const i = T(!1), n = e, s = T();
7142
- at(() => {
7142
+ lt(() => {
7143
7143
  i.value = !0, s.value = Qe.GetDefault(), M.H.FTSP.Get().setSortModel(s.value);
7144
7144
  });
7145
7145
  const r = async (l) => {
@@ -7182,7 +7182,7 @@ const Qe = new Hh(), Bh = ["label", "value"], qh = /* @__PURE__ */ $({
7182
7182
  emits: ["load"],
7183
7183
  setup(t, { emit: e }) {
7184
7184
  const i = e, n = T();
7185
- at(() => {
7185
+ lt(() => {
7186
7186
  n.value = Qe.GetDefault();
7187
7187
  });
7188
7188
  const s = async (o) => {
@@ -7488,7 +7488,7 @@ const af = {
7488
7488
  }, d = (b) => {
7489
7489
  i.fileInfo.setFile(b), i.fileInfo.fileSystemPath && (s.value = i.fileInfo), o.value = !1, n("crop");
7490
7490
  };
7491
- at(() => {
7491
+ lt(() => {
7492
7492
  i.fileInfo.fileSystemPath && (s.value = i.fileInfo, s.value.url = i.fileInfo.getFileUrl());
7493
7493
  });
7494
7494
  let h = null;
@@ -9623,11 +9623,11 @@ const Qm = async (t) => {
9623
9623
  duplex: "half"
9624
9624
  }), Te;
9625
9625
  if (x.isFormData(n) && (Te = G.headers.get("content-type")) && d.setContentType(Te), G.body) {
9626
- const [Le, lt] = Bs(
9626
+ const [Le, ut] = Bs(
9627
9627
  b,
9628
9628
  Mi(qs(a))
9629
9629
  );
9630
- n = Us(G.body, Ws, Le, lt);
9630
+ n = Us(G.body, Ws, Le, ut);
9631
9631
  }
9632
9632
  }
9633
9633
  x.isString(h) || (h = h ? "include" : "omit");
@@ -9648,13 +9648,13 @@ const Qm = async (t) => {
9648
9648
  ["status", "statusText", "headers"].forEach((xt) => {
9649
9649
  G[xt] = J[xt];
9650
9650
  });
9651
- const Te = x.toFiniteNumber(J.headers.get("content-length")), [Le, lt] = l && Bs(
9651
+ const Te = x.toFiniteNumber(J.headers.get("content-length")), [Le, ut] = l && Bs(
9652
9652
  Te,
9653
9653
  Mi(qs(l), !0)
9654
9654
  ) || [];
9655
9655
  J = new Response(
9656
9656
  Us(J.body, Ws, Le, () => {
9657
- lt && lt(), k && k();
9657
+ ut && ut(), k && k();
9658
9658
  }),
9659
9659
  G
9660
9660
  );
@@ -9791,7 +9791,7 @@ function ip(t, e, i) {
9791
9791
  const In = {
9792
9792
  assertOptions: ip,
9793
9793
  validators: Vn
9794
- }, ut = In.validators;
9794
+ }, ct = In.validators;
9795
9795
  class gt {
9796
9796
  constructor(e) {
9797
9797
  this.defaults = e, this.interceptors = {
@@ -9828,14 +9828,14 @@ class gt {
9828
9828
  typeof e == "string" ? (i = i || {}, i.url = e) : i = e || {}, i = wt(this.defaults, i);
9829
9829
  const { transitional: n, paramsSerializer: s, headers: r } = i;
9830
9830
  n !== void 0 && In.assertOptions(n, {
9831
- silentJSONParsing: ut.transitional(ut.boolean),
9832
- forcedJSONParsing: ut.transitional(ut.boolean),
9833
- clarifyTimeoutError: ut.transitional(ut.boolean)
9831
+ silentJSONParsing: ct.transitional(ct.boolean),
9832
+ forcedJSONParsing: ct.transitional(ct.boolean),
9833
+ clarifyTimeoutError: ct.transitional(ct.boolean)
9834
9834
  }, !1), s != null && (x.isFunction(s) ? i.paramsSerializer = {
9835
9835
  serialize: s
9836
9836
  } : In.assertOptions(s, {
9837
- encode: ut.function,
9838
- serialize: ut.function
9837
+ encode: ct.function,
9838
+ serialize: ct.function
9839
9839
  }, !0)), i.method = (i.method || this.defaults.method || "get").toLowerCase();
9840
9840
  let o = r && x.merge(
9841
9841
  r.common,
@@ -10328,7 +10328,7 @@ const rp = [
10328
10328
  name: "NotFound",
10329
10329
  component: Ir
10330
10330
  }
10331
- ], ct = class ct {
10331
+ ], nt = class nt {
10332
10332
  static SetRouter(e) {
10333
10333
  this.router = e, this.AddRoutes(rp);
10334
10334
  }
@@ -10349,16 +10349,16 @@ const rp = [
10349
10349
  await this.GetRouter().replace(e);
10350
10350
  }
10351
10351
  static Id() {
10352
- return ct.GetStringParam("id");
10352
+ return nt.GetStringParam("id");
10353
10353
  }
10354
10354
  static Slug() {
10355
- return ct.GetStringParam("slug");
10355
+ return nt.GetStringParam("slug");
10356
10356
  }
10357
10357
  static async Back() {
10358
10358
  this.GetRouter().go(-1);
10359
10359
  }
10360
10360
  static GetQid() {
10361
- return ct.GetStringQueryParam("qid");
10361
+ return nt.GetStringQueryParam("qid");
10362
10362
  }
10363
10363
  static Route() {
10364
10364
  return this.GetRouter().currentRoute.value;
@@ -10369,7 +10369,7 @@ const rp = [
10369
10369
  }
10370
10370
  static GetPath() {
10371
10371
  var i;
10372
- const e = (i = ct.Route()) == null ? void 0 : i.path.split("/");
10372
+ const e = (i = nt.Route()) == null ? void 0 : i.path.split("/");
10373
10373
  return !e || e.length <= 0 ? "" : e[e.length - 1];
10374
10374
  }
10375
10375
  static async ToAdmin(e) {
@@ -10378,7 +10378,7 @@ const rp = [
10378
10378
  return;
10379
10379
  }
10380
10380
  let i = e;
10381
- i[0] === "/" && (i = e.substring(1)), await ct.To(`/admin/${i}`);
10381
+ i[0] === "/" && (i = e.substring(1)), await nt.To(`/admin/${i}`);
10382
10382
  }
10383
10383
  static GetStringQueryParam(e) {
10384
10384
  return String(this.Route().query[e]);
@@ -10389,20 +10389,23 @@ const rp = [
10389
10389
  static GetStringParam(e) {
10390
10390
  return this.Route().params[e];
10391
10391
  }
10392
+ static SetQueryParam(e, i) {
10393
+ return this.GetRouter().replace({ path: nt.Route().path, query: { [e]: i } });
10394
+ }
10392
10395
  static Resolve(e) {
10393
10396
  return this.GetRouter().resolve(e);
10394
10397
  }
10395
10398
  };
10396
- u(ct, "router");
10397
- let Ot = ct;
10399
+ u(nt, "router");
10400
+ let Ot = nt;
10398
10401
  class ae {
10399
10402
  constructor(e, i) {
10400
- u(this, "items", rt([]));
10403
+ u(this, "items", ot([]));
10401
10404
  u(this, "item");
10402
10405
  u(this, "count", T(0));
10403
10406
  u(this, "classConstructor");
10404
10407
  u(this, "url", "");
10405
- this.classConstructor = e, this.item = rt(new this.classConstructor()), this.url = i;
10408
+ this.classConstructor = e, this.item = ot(new this.classConstructor()), this.url = i;
10406
10409
  }
10407
10410
  Set(e) {
10408
10411
  Object.assign(this.item, new this.classConstructor(e));
@@ -10608,7 +10611,7 @@ function co() {
10608
10611
  };
10609
10612
  }
10610
10613
  const cp = (() => {
10611
- const t = (r, o) => at(async () => {
10614
+ const t = (r, o) => lt(async () => {
10612
10615
  var l;
10613
10616
  M.H.FTSP.Get().reset(), Qe.Set(o == null ? void 0 : o.sortsLib), M.H.FTSP.Get().setSortModel(Qe.GetDefault()), Qe.Set(o == null ? void 0 : o.sortsLib), M.H.FTSP.Get().setSortModel(Qe.GetDefault()), M.Paginator.storeModule = (l = o == null ? void 0 : o.pagination) == null ? void 0 : l.storeModule, await r();
10614
10617
  }), { saveButtonClick: e, showConfirmModal: i } = co(), n = (r) => up((o, l, a) => {
@@ -10890,11 +10893,11 @@ class Ii {
10890
10893
  }
10891
10894
  static Create(e, i, n, s) {
10892
10895
  const r = new Ii();
10893
- return r.id = ot(), r.chatId = e, r.message = n, r.userName = s, r;
10896
+ return r.id = at(), r.chatId = e, r.message = n, r.userName = s, r;
10894
10897
  }
10895
10898
  static CreatePingMessage() {
10896
10899
  const e = new Ii();
10897
- return e.type = "ping", e.id = ot(), e;
10900
+ return e.type = "ping", e.id = at(), e;
10898
10901
  }
10899
10902
  isMessage() {
10900
10903
  return this.type === "message" || this.type === "";
@@ -10946,7 +10949,7 @@ const Fp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10946
10949
  CreateSortModels: Rr,
10947
10950
  Cursor: fp,
10948
10951
  DateMask: wp,
10949
- Dates: nt,
10952
+ Dates: st,
10950
10953
  Dragger: bp,
10951
10954
  Extension: Sp,
10952
10955
  FTSP: Hr,
@@ -11047,8 +11050,8 @@ class Hp {
11047
11050
  const Bp = new Hp();
11048
11051
  class qp {
11049
11052
  constructor() {
11050
- u(this, "Menu", rt(Bp));
11051
- u(this, "Head", rt(Dp));
11053
+ u(this, "Menu", ot(Bp));
11054
+ u(this, "Head", ot(Dp));
11052
11055
  }
11053
11056
  }
11054
11057
  const Np = new qp();
@@ -11425,8 +11428,8 @@ class cn {
11425
11428
  let yg = class {
11426
11429
  constructor() {
11427
11430
  u(this, "isSearchDrawerOpen", T(!1));
11428
- u(this, "searchModel", rt(new cn()));
11429
- u(this, "searchGroups", rt([]));
11431
+ u(this, "searchModel", ot(new cn()));
11432
+ u(this, "searchGroups", ot([]));
11430
11433
  u(this, "count", 0);
11431
11434
  }
11432
11435
  async Search(e) {
@@ -11557,7 +11560,7 @@ const xg = new Cg(), Mg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
11557
11560
  }, Symbol.toStringTag, { value: "Module" }));
11558
11561
  class M {
11559
11562
  }
11560
- u(M, "Auth", rt(Lr)), u(M, "UI", rt(Vp)), u(M, "Paginator", rt(zp)), u(M, "S", Mg), u(M, "H", Fp), u(M, "C", Rf);
11563
+ u(M, "Auth", ot(Lr)), u(M, "UI", ot(Vp)), u(M, "Paginator", ot(zp)), u(M, "S", Mg), u(M, "H", Fp), u(M, "C", Rf);
11561
11564
  class wo {
11562
11565
  constructor(e) {
11563
11566
  u(this, "id");
@@ -11847,7 +11850,7 @@ class Ct {
11847
11850
  }
11848
11851
  static Create(e, i) {
11849
11852
  const n = new Ct();
11850
- return n.id = ot(), n.fieldFillId = e, n.answerVariantId = i, n;
11853
+ return n.id = at(), n.fieldFillId = e, n.answerVariantId = i, n;
11851
11854
  }
11852
11855
  static GetClassName() {
11853
11856
  return "selectedAnswerVariant";
@@ -11884,7 +11887,7 @@ const es = class Tn {
11884
11887
  }
11885
11888
  static Create(e, i) {
11886
11889
  const n = new Tn();
11887
- return n.id = ot(), n.fieldId = e.id, n.formFillId = i, n.order = e.order, n.valueNumber = 0, n.valueString = "", n.valueDate = /* @__PURE__ */ new Date(), n;
11890
+ return n.id = at(), n.fieldId = e.id, n.formFillId = i, n.order = e.order, n.valueNumber = 0, n.valueString = "", n.valueDate = /* @__PURE__ */ new Date(), n;
11888
11891
  }
11889
11892
  setString(e) {
11890
11893
  this.valueString = e, this.valueString && (this.filled = this.valueString.length > 0);
@@ -11906,7 +11909,7 @@ const es = class Tn {
11906
11909
  }
11907
11910
  addFile() {
11908
11911
  const e = new Kn();
11909
- return e.id = ot(), e.answerId = this.id, this.answerFiles.push(e), e;
11912
+ return e.id = at(), e.answerId = this.id, this.answerFiles.push(e), e;
11910
11913
  }
11911
11914
  getFileInfos() {
11912
11915
  const e = [];