sprof 0.0.229 → 0.0.231

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,7 +1,7 @@
1
1
  var Xl = Object.defineProperty;
2
2
  var Yl = (t, e, i) => e in t ? Xl(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
3
3
  var a = (t, e, i) => Yl(t, typeof e != "symbol" ? e + "" : e, i);
4
- import { reactive as ze, ref as T, openBlock as m, createElementBlock as w, createElementVNode as f, getCurrentInstance as Jl, inject as Ql, onUnmounted as Dr, onDeactivated as Kl, onActivated as eu, onBeforeMount as lt, defineComponent as $, computed as ue, mergeProps as It, unref as p, withModifiers as De, renderSlot as P, createTextVNode as Ui, toDisplayString as Ie, Fragment as V, normalizeClass as se, normalizeStyle as k, mergeModels as Ee, useModel as pt, withDirectives as Je, vModelCheckbox as tu, createVNode as R, createCommentVNode as J, vModelDynamic as iu, resolveComponent as B, isRef as _e, withKeys as nu, vModelText as Lr, watch as Ze, createBlock as U, vModelRadio as su, vShow as ns, vModelSelect as ru, useCssVars as Br, onMounted as Xt, renderList as Oe, withCtx as X, resolveDirective as Hr, nextTick as ou, Transition as qr, onBeforeUnmount as ss, createStaticVNode as Nr, onUpdated as au, useTemplateRef as lu, resolveDynamicComponent as li } from "vue";
4
+ import { reactive as ze, ref as T, openBlock as m, createElementBlock as w, createElementVNode as f, getCurrentInstance as Jl, inject as Ql, onUnmounted as Dr, onDeactivated as Kl, onActivated as eu, onBeforeMount as ut, defineComponent as $, computed as ue, mergeProps as It, unref as p, withModifiers as De, renderSlot as P, createTextVNode as Ui, toDisplayString as Ie, Fragment as V, normalizeClass as se, normalizeStyle as k, mergeModels as Ee, useModel as pt, withDirectives as Je, vModelCheckbox as tu, createVNode as R, createCommentVNode as J, vModelDynamic as iu, resolveComponent as B, isRef as _e, withKeys as nu, vModelText as Lr, watch as Ze, createBlock as U, vModelRadio as su, vShow as ns, vModelSelect as ru, useCssVars as Br, onMounted as Xt, renderList as Oe, withCtx as X, resolveDirective as Hr, nextTick as ou, Transition as qr, onBeforeUnmount as ss, createStaticVNode as Nr, onUpdated as au, useTemplateRef as lu, resolveDynamicComponent as li } from "vue";
5
5
  var Ae = /* @__PURE__ */ ((t) => (t.Login = "login", t.Register = "register", t.Restore = "restore", t.Refresh = "refresh", t))(Ae || {}), xe = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.Success = "success", t.Warning = "warning", t.Error = "error", t.Info = "info", t))(xe || {});
6
6
  class Rt {
7
7
  constructor(e, i, n, s) {
@@ -1766,7 +1766,7 @@ class os {
1766
1766
  var yt;
1767
1767
  let $u = (yt = class {
1768
1768
  }, a(yt, "Phone", Tt), a(yt, "FileInfo", Te), a(yt, "PostAddress", Di), a(yt, "Website", os), a(yt, "Email", Et), a(yt, "Human", Zr), yt);
1769
- class ft {
1769
+ class mt {
1770
1770
  static Shuffle(e) {
1771
1771
  for (let i = e.length - 1; i > 0; i--) {
1772
1772
  const n = Math.floor(Math.random() * (i + 1));
@@ -1844,12 +1844,12 @@ const Xr = class ni {
1844
1844
  return !1;
1845
1845
  if (this.type === we.Join) {
1846
1846
  const i = e.model === this.model && e.operator === this.operator && this.joinTableModel === e.joinTableModel;
1847
- return e.operator === Re.In ? i && ft.Eq(this.set, e.set) : i;
1847
+ return e.operator === Re.In ? i && mt.Eq(this.set, e.set) : i;
1848
1848
  }
1849
1849
  return e.model === this.model && e.col === this.col && e.operator === this.operator;
1850
1850
  }
1851
1851
  valueEq(e) {
1852
- return !this || !e || !this.eq(e) ? !1 : this.type === we.Boolean ? this.boolean === (e == null ? void 0 : e.boolean) : this.type === we.String ? this.value1 === (e == null ? void 0 : e.value1) : this.type === we.Join && this.set.length ? ft.Eq(this.set, e.set) : !1;
1852
+ return !this || !e || !this.eq(e) ? !1 : this.type === we.Boolean ? this.boolean === (e == null ? void 0 : e.boolean) : this.type === we.String ? this.value1 === (e == null ? void 0 : e.value1) : this.type === we.Join && this.set.length ? mt.Eq(this.set, e.set) : !1;
1853
1853
  }
1854
1854
  toUrlQuery() {
1855
1855
  const e = this.type ? `"type":"${this.type}"` : "", i = this.model ? `"model":"${this.model}"` : "", n = this.col ? `"col":"${this.col}"` : "", s = this.operator ? `"operator":"${this.operator}"` : "", r = this.value1 ? `"value1":"${this.value1}"` : "", o = this.type === we.Boolean ? `"boolean":${this.boolean}` : "", u = this.type === we.Date && this.date1 ? `"date1":"${this.date1.toISOString()}"` : "", l = this.type === we.Date && this.date2 ? `"date2":"${this.date2.toISOString()}"` : "", c = this.type === we.Number ? `"number":${this.number}` : "", d = this.type === we.Set || this.operator === Re.In ? `"set":${JSON.stringify(this.set)}` : "", h = this.type === we.Join ? `"joinTableModel":"${this.joinTableModel}"` : "";
@@ -2075,7 +2075,7 @@ const gi = (qe = class {
2075
2075
  return this.f.find((i) => e.id === i.id);
2076
2076
  }
2077
2077
  getFirstSortModel() {
2078
- return ft.GetLast(this.s);
2078
+ return mt.GetLast(this.s);
2079
2079
  }
2080
2080
  setSortModel(e) {
2081
2081
  e && (this.s[0] = e);
@@ -2112,10 +2112,10 @@ _i([
2112
2112
  _i([
2113
2113
  F.GetClassConstructor(Vi)
2114
2114
  ], gi.prototype, "t");
2115
- let mt = gi;
2115
+ let gt = gi;
2116
2116
  var ii;
2117
2117
  let zu = (ii = class {
2118
- }, a(ii, "SortModel", Gi), a(ii, "FilterModel", as), a(ii, "FTSP", ze(mt)), ii);
2118
+ }, a(ii, "SortModel", Gi), a(ii, "FilterModel", as), a(ii, "FTSP", ze(gt)), ii);
2119
2119
  function Yr(t, e) {
2120
2120
  return function() {
2121
2121
  return t.apply(e, arguments);
@@ -4114,7 +4114,7 @@ a(it, "router"), a(it, "ChangeDocumentTitle", (e = "") => {
4114
4114
  let i = it.Route().meta.title ?? e;
4115
4115
  i && e && (i = i + ` | ${e}`), document.title = i;
4116
4116
  });
4117
- let gt = it;
4117
+ let at = it;
4118
4118
  class ce {
4119
4119
  constructor(e, i) {
4120
4120
  a(this, "items", ze([]));
@@ -4139,11 +4139,14 @@ class ce {
4139
4139
  e && e.withCache ? i = await en.TryGet(this.getUrl(), n) : i = await n({ query: this.getUrl() }), Array.isArray(i) ? this.SetAll(i) : this.SetAllWithCount(i);
4140
4140
  }
4141
4141
  async Get(e) {
4142
- e || (e = gt.Id()), this.Set(await he.Get({ query: this.getUrl(e) }));
4142
+ e || (e = at.Id()), this.Set(await he.Get({ query: this.getUrl(e) }));
4143
+ }
4144
+ async GetBySlug(e) {
4145
+ e || (e = at.Slug()), this.Set(await N.H.HttpClient.Get({ query: this.getUrl("by-slug/" + e) }));
4143
4146
  }
4144
4147
  async FTSP(e) {
4145
4148
  var o;
4146
- const n = ((e == null ? void 0 : e.ftsp) ?? mt.Get()).clearForHTTP(), s = {
4149
+ const n = ((e == null ? void 0 : e.ftsp) ?? gt.Get()).clearForHTTP(), s = {
4147
4150
  payload: { ftsp: n },
4148
4151
  query: this.getUrl("ftsp")
4149
4152
  }, r = await he.Post(s);
@@ -4267,7 +4270,7 @@ function fd(t, e) {
4267
4270
  const md = ["#31af5e", "#ff4d3b", "#006BB5", "#f3911c"];
4268
4271
  class gd {
4269
4272
  static GetRandColor(e) {
4270
- return ft.GetRandEL(e ?? md);
4273
+ return mt.GetRandEL(e ?? md);
4271
4274
  }
4272
4275
  }
4273
4276
  function Co(t, e) {
@@ -4310,7 +4313,7 @@ let pd = class {
4310
4313
  return this.timelinePxHeight * this.timelines.length;
4311
4314
  }
4312
4315
  getHoursArr() {
4313
- return ft.GenerateNumsRange(this.startHour, this.endHour);
4316
+ return mt.GenerateNumsRange(this.startHour, this.endHour);
4314
4317
  }
4315
4318
  };
4316
4319
  const _n = (t) => t === 8 || t === 46, vd = (t) => t > 46 && t < 58, yd = (t) => t > 34 && t < 41, wd = (t) => t + ".", bd = (t, e, i) => {
@@ -4568,7 +4571,7 @@ function Ed() {
4568
4571
  };
4569
4572
  }
4570
4573
  const Td = (() => {
4571
- const t = (r, o) => lt(async () => {
4574
+ const t = (r, o) => ut(async () => {
4572
4575
  N.F.FTSP.Get().reset(), Pt.Set(o == null ? void 0 : o.sortsLib), await r();
4573
4576
  }), { saveButtonClick: e, showConfirmModal: i } = Ed(), n = (r) => Ad((o, u, l) => {
4574
4577
  i((r || s)(), l);
@@ -4601,7 +4604,7 @@ class ms {
4601
4604
  a(this, "key", "");
4602
4605
  }
4603
4606
  preSelect() {
4604
- const e = gt.GetStringQueryParam(this.key);
4607
+ const e = at.GetStringQueryParam(this.key);
4605
4608
  if (!e || e === "undefined") {
4606
4609
  this.Select(0);
4607
4610
  return;
@@ -4617,7 +4620,7 @@ class ms {
4617
4620
  if (this.items.length) {
4618
4621
  if (e === void 0)
4619
4622
  return this.preSelect();
4620
- this.idx = e, gt.SetQueryParam(this.key, this.GetSlug());
4623
+ this.idx = e, at.SetQueryParam(this.key, this.GetSlug());
4621
4624
  }
4622
4625
  }
4623
4626
  GetMenu() {
@@ -4712,7 +4715,7 @@ class Fd {
4712
4715
  return this.timelinePxHeight * this.timelines.length;
4713
4716
  }
4714
4717
  getHoursArr() {
4715
- return ft.GenerateNumsRange(this.startHour, this.endHour);
4718
+ return mt.GenerateNumsRange(this.startHour, this.endHour);
4716
4719
  }
4717
4720
  timeIsFree(e, i, n, s) {
4718
4721
  return s.filter((r) => r.id !== n).every(
@@ -4815,9 +4818,9 @@ class Ud {
4815
4818
  }
4816
4819
  var ee;
4817
4820
  let jd = (ee = class {
4818
- }, a(ee, "Arrays", ft), a(ee, "Axios", ri), a(ee, "BaseStore", ce), // static Phone = Phone;
4821
+ }, a(ee, "Arrays", mt), a(ee, "Axios", ri), a(ee, "BaseStore", ce), // static Phone = Phone;
4819
4822
  a(ee, "Cache", en), a(ee, "Classes", F), a(ee, "CarouselSwipe", fd), a(ee, "Color", gd), a(ee, "CreateSortModels", Co), a(ee, "Cursor", pd), a(ee, "DateMask", Cd), a(ee, "Dates", st), a(ee, "Dragger", kd), a(ee, "Extension", xo), a(ee, "Favourite", Id), // static FTSP = FTSP;
4820
- a(ee, "Hooks", Td), a(ee, "HttpClient", he), a(ee, "Id", ve), a(ee, "MakeCarousel", Mo), a(ee, "Period", Bn), a(ee, "PhoneService", Zn), a(ee, "Rating", zd), a(ee, "Router", gt), a(ee, "RouterGuard", Od), a(ee, "Scheduler", Fd), a(ee, "Scroll", Ld), // static Sizes = Sizes;
4823
+ a(ee, "Hooks", Td), a(ee, "HttpClient", he), a(ee, "Id", ve), a(ee, "MakeCarousel", Mo), a(ee, "Period", Bn), a(ee, "PhoneService", Zn), a(ee, "Rating", zd), a(ee, "Router", at), a(ee, "RouterGuard", Od), a(ee, "Scheduler", Fd), a(ee, "Scroll", Ld), // static Sizes = Sizes;
4821
4824
  a(ee, "Sorter", Bd), a(ee, "Static", rs), // static Statuses = Statuses;
4822
4825
  a(ee, "Strings", ne), a(ee, "Time", te), a(ee, "Timer", ci), a(ee, "Token", hi), a(ee, "Menus", ms), // static useConfirmLeavePage = useConfirmLeavePage();
4823
4826
  a(ee, "validate", Hd), a(ee, "WaitElement", qd), a(ee, "WebSocketClient", Ud), ee);
@@ -4864,7 +4867,7 @@ let Gd = class {
4864
4867
  await he.Post({ query: "auth/restore-password", payload: e });
4865
4868
  }
4866
4869
  async PasswordChange(e = Ce.Form.GetValues()) {
4867
- e.id = gt.GetStringParam("userId"), await he.Put({
4870
+ e.id = at.GetStringParam("userId"), await he.Put({
4868
4871
  query: "auth/password-change",
4869
4872
  payload: e
4870
4873
  });
@@ -5104,10 +5107,10 @@ class Pn {
5104
5107
  i ? this.searchGroup = i : this.searchGroup = new Ut();
5105
5108
  }
5106
5109
  async reproduceFromRoute() {
5107
- this.setQuery(), await this.setSearchGroup(gt.Route().query.groupId);
5110
+ this.setQuery(), await this.setSearchGroup(at.Route().query.groupId);
5108
5111
  }
5109
5112
  setQuery() {
5110
- const e = gt.Route().query.query;
5113
+ const e = at.Route().query.query;
5111
5114
  e && (this.query = e);
5112
5115
  }
5113
5116
  }
@@ -5333,7 +5336,7 @@ class xh extends Gr {
5333
5336
  this.resolve = void 0, this.reject = void 0, super.hide();
5334
5337
  }
5335
5338
  }
5336
- const ct = new xh();
5339
+ const dt = new xh();
5337
5340
  class Mh extends Wr {
5338
5341
  Show() {
5339
5342
  super.show();
@@ -5345,7 +5348,7 @@ class Mh extends Wr {
5345
5348
  const kh = new Mh();
5346
5349
  class bt {
5347
5350
  }
5348
- a(bt, "Admin", Ch), a(bt, "Dialog", ct), a(bt, "Loading", kh), a(bt, "Notify", ze(Fe)), a(bt, "Btn", Rt), a(bt, "Input", Ur);
5351
+ a(bt, "Admin", Ch), a(bt, "Dialog", dt), a(bt, "Loading", kh), a(bt, "Notify", ze(Fe)), a(bt, "Btn", Rt), a(bt, "Input", Ur);
5349
5352
  class N {
5350
5353
  }
5351
5354
  a(N, "Auth", ze(Ce)), a(N, "UI", ze(bt)), a(N, "Paginator", ze(ko)), /**
@@ -6552,7 +6555,7 @@ const Jf = "p-button", Qf = /* @__PURE__ */ $({
6552
6555
  Ui(" " + Ie(t.text), 1)
6553
6556
  ], 16));
6554
6557
  }
6555
- }), dn = /* @__PURE__ */ A(Qf, [["__scopeId", "data-v-9f699dcb"]]), Kf = /* @__PURE__ */ $({
6558
+ }), dn = /* @__PURE__ */ A(Qf, [["__scopeId", "data-v-814c9b41"]]), Kf = /* @__PURE__ */ $({
6556
6559
  __name: "IconCheckDefault",
6557
6560
  props: {
6558
6561
  size: { type: String, default: "22px" },
@@ -7826,7 +7829,7 @@ const av = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7826
7829
  const e = t, i = T(!1), n = T(!0), s = T(window.matchMedia("(max-width: 1330px)").matches), r = () => {
7827
7830
  n.value = !n.value;
7828
7831
  };
7829
- return lt(async () => {
7832
+ return ut(async () => {
7830
7833
  window.addEventListener("resize", () => {
7831
7834
  switch (e.mobileWidth) {
7832
7835
  case "1330px":
@@ -7917,7 +7920,7 @@ const av = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7917
7920
  const e = t, i = T(!1), n = T(!0), s = T(window.matchMedia("(max-width: 1330px)").matches), r = () => {
7918
7921
  n.value = !n.value;
7919
7922
  };
7920
- return lt(async () => {
7923
+ return ut(async () => {
7921
7924
  window.addEventListener("resize", () => {
7922
7925
  switch (e.mobileWidth) {
7923
7926
  case "1330px":
@@ -8046,7 +8049,7 @@ const av = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8046
8049
  ], 2));
8047
8050
  }
8048
8051
  }), $s = /* @__PURE__ */ A(ag, [["__scopeId", "data-v-a3c4743c"]]);
8049
- var dt = /* @__PURE__ */ ((t) => (t.None = "None", t.Next = "Next", t.Prev = "Prev", t))(dt || {});
8052
+ var ht = /* @__PURE__ */ ((t) => (t.None = "None", t.Next = "Next", t.Prev = "Prev", t))(ht || {});
8050
8053
  const lg = { class: "container" }, ug = { class: "slide-box" }, cg = { class: "image" }, dg = { class: "image-box" }, hg = ["id", "src", "alt"], fg = { class: "link-number" }, mg = ["id", "onClick"], gg = /* @__PURE__ */ $({
8051
8054
  __name: "CarouselImages",
8052
8055
  props: {
@@ -8081,17 +8084,17 @@ const lg = { class: "container" }, ug = { class: "slide-box" }, cg = { class: "i
8081
8084
  Br((y) => ({
8082
8085
  "582c9d05": i
8083
8086
  }));
8084
- const e = t, i = `${e.animationTime}ms`, n = T(e.startActiveGroupIndex), s = T(dt.None), r = T(Mo(e.events, e.quantity)), o = ue(() => r.value[n.value]);
8087
+ const e = t, i = `${e.animationTime}ms`, n = T(e.startActiveGroupIndex), s = T(ht.None), r = T(Mo(e.events, e.quantity)), o = ue(() => r.value[n.value]);
8085
8088
  Xt(() => {
8086
8089
  });
8087
8090
  const u = () => n.value = n.value + 1 < r.value.length ? n.value + 1 : 0, l = () => n.value = n.value - 1 < 0 ? r.value.length - 1 : n.value - 1, c = (y) => {
8088
- s.value = y, setTimeout(() => s.value = dt.None, e.animationTime);
8091
+ s.value = y, setTimeout(() => s.value = ht.None, e.animationTime);
8089
8092
  }, d = (y) => {
8090
- y != n.value && (c(y < n.value ? dt.Prev : dt.Next), setTimeout(() => n.value = y, e.animationTime / 2));
8093
+ y != n.value && (c(y < n.value ? ht.Prev : ht.Next), setTimeout(() => n.value = y, e.animationTime / 2));
8091
8094
  }, h = () => {
8092
- c(dt.Next), setTimeout(u, e.animationTime / 2);
8095
+ c(ht.Next), setTimeout(u, e.animationTime / 2);
8093
8096
  }, g = () => {
8094
- c(dt.Prev), setTimeout(l, e.animationTime / 2);
8097
+ c(ht.Prev), setTimeout(l, e.animationTime / 2);
8095
8098
  };
8096
8099
  return (y, x) => (m(), w("div", {
8097
8100
  class: "field",
@@ -8108,8 +8111,8 @@ const lg = { class: "container" }, ug = { class: "slide-box" }, cg = { class: "i
8108
8111
  (m(!0), w(V, null, Oe(p(o), (C, M) => (m(), w("div", {
8109
8112
  key: M,
8110
8113
  class: se({
8111
- animationnext: p(s) === p(dt).Next,
8112
- animationprev: p(s) === p(dt).Prev
8114
+ animationnext: p(s) === p(ht).Next,
8115
+ animationprev: p(s) === p(ht).Prev
8113
8116
  })
8114
8117
  }, [
8115
8118
  f("div", cg, [
@@ -8322,7 +8325,7 @@ const ga = /* @__PURE__ */ A(yg, [["render", bg], ["__scopeId", "data-v-d28c6f33
8322
8325
  emits: ["load"],
8323
8326
  setup(t, { emit: e }) {
8324
8327
  const i = e, n = T(void 0), s = async (o) => {
8325
- mt.Get().replaceF(o, n.value), n.value = o, mt.Get().p.drop();
8328
+ gt.Get().replaceF(o, n.value), n.value = o, gt.Get().p.drop();
8326
8329
  }, r = async (o) => {
8327
8330
  await s(o), i("load");
8328
8331
  };
@@ -8387,7 +8390,7 @@ const ga = /* @__PURE__ */ A(yg, [["render", bg], ["__scopeId", "data-v-d28c6f33
8387
8390
  },
8388
8391
  emits: ["load"],
8389
8392
  setup(t, { emit: e }) {
8390
- const i = e, n = mt.Get(), s = T(void 0), r = async (u) => {
8393
+ const i = e, n = gt.Get(), s = T(void 0), r = async (u) => {
8391
8394
  n.replaceF(u, s.value), s.value = u;
8392
8395
  }, o = async (u) => {
8393
8396
  u ? await r(s.value) : await r(void 0), i("load");
@@ -8415,7 +8418,7 @@ const ga = /* @__PURE__ */ A(yg, [["render", bg], ["__scopeId", "data-v-d28c6f33
8415
8418
  }), wa = /* @__PURE__ */ A(Rg, [["__scopeId", "data-v-ae66df57"]]), $g = /* @__PURE__ */ $({
8416
8419
  __name: "FTSPPanel",
8417
8420
  setup(t) {
8418
- return lt(async () => {
8421
+ return ut(async () => {
8419
8422
  }), (e, i) => (m(), w("div"));
8420
8423
  }
8421
8424
  }), ba = /* @__PURE__ */ A($g, [["__scopeId", "data-v-e280d85b"]]), Ag = /* @__PURE__ */ $({
@@ -8899,7 +8902,7 @@ const ga = /* @__PURE__ */ A(yg, [["render", bg], ["__scopeId", "data-v-d28c6f33
8899
8902
  __name: "PDialog",
8900
8903
  setup(t) {
8901
8904
  const e = ue(() => {
8902
- switch (ct.GetType()) {
8905
+ switch (dt.GetType()) {
8903
8906
  case "info":
8904
8907
  return "message primary";
8905
8908
  case "success":
@@ -8916,26 +8919,26 @@ const ga = /* @__PURE__ */ A(yg, [["render", bg], ["__scopeId", "data-v-d28c6f33
8916
8919
  const s = B("MessageBody"), r = B("PButton");
8917
8920
  return m(), U(qr, { name: "fade" }, {
8918
8921
  default: X(() => [
8919
- p(ct).IsVisible() ? (m(), w("div", {
8922
+ p(dt).IsVisible() ? (m(), w("div", {
8920
8923
  key: 0,
8921
8924
  class: se(p(e))
8922
8925
  }, [
8923
8926
  R(s, {
8924
- title: p(ct).GetTitle(),
8925
- text: p(ct).GetText()
8927
+ title: p(dt).GetTitle(),
8928
+ text: p(dt).GetText()
8926
8929
  }, null, 8, ["title", "text"]),
8927
8930
  f("div", Gg, [
8928
8931
  R(r, {
8929
8932
  type: "primary",
8930
- text: p(ct).GetConfirmButtonText(),
8933
+ text: p(dt).GetConfirmButtonText(),
8931
8934
  margin: "10px 0 0 0",
8932
- onClick: n[0] || (n[0] = (o) => p(ct).Submit())
8935
+ onClick: n[0] || (n[0] = (o) => p(dt).Submit())
8933
8936
  }, null, 8, ["text"]),
8934
8937
  R(r, {
8935
8938
  type: "warning",
8936
- text: p(ct).GetCancelButtonText(),
8939
+ text: p(dt).GetCancelButtonText(),
8937
8940
  margin: "10px 0 0 0",
8938
- onClick: n[1] || (n[1] = (o) => p(ct).Cancel())
8941
+ onClick: n[1] || (n[1] = (o) => p(dt).Cancel())
8939
8942
  }, null, 8, ["text"])
8940
8943
  ])
8941
8944
  ], 2)) : J("", !0)
@@ -9006,16 +9009,16 @@ const Ra = /* @__PURE__ */ A(Zg, [["render", Xg], ["__scopeId", "data-v-0f1f2f84
9006
9009
  if (g !== r.value.curPage && (g < 1 && (g = 1), g > r.value.pagesCount() && (g = r.value.pagesCount()), !i.showConfirm))
9007
9010
  return await c(g);
9008
9011
  }, c = async (g, y) => {
9009
- r.value.setCurPage(g), mt.Get().p.offset = (g - 1) * r.value.limit, await i.store.FTSP(), h();
9012
+ r.value.setCurPage(g), gt.Get().p.offset = (g - 1) * r.value.limit, await i.store.FTSP(), h();
9010
9013
  }, d = ue(() => {
9011
9014
  const g = r.value.pagesCount();
9012
- return g < 8 ? ft.GenerateNumsRange(2, g - 1).filter((y) => y < g && y > 1) : ft.GenerateNumsRange(r.value.curPage - 2, r.value.curPage + 3).filter((y) => y < g && y > 1);
9015
+ return g < 8 ? mt.GenerateNumsRange(2, g - 1).filter((y) => y < g && y > 1) : mt.GenerateNumsRange(r.value.curPage - 2, r.value.curPage + 3).filter((y) => y < g && y > 1);
9013
9016
  }), h = () => {
9014
9017
  const g = document.querySelector(".el-table__body-wrapper"), y = document.querySelector("#list");
9015
9018
  g ? g.scrollTo({ top: 0 }) : y && y.scrollTo({ top: 0 });
9016
9019
  };
9017
9020
  return ss(() => {
9018
- mt.Get().p.drop();
9021
+ gt.Get().p.drop();
9019
9022
  }), (g, y) => {
9020
9023
  const x = B("ArrowLeft"), C = B("PButton"), M = B("DoubleArrowLeft"), D = B("EllipsisSvg"), Y = B("DoubleArrowRight"), W = B("ArrowRight");
9021
9024
  return m(), w("div", Yg, [
@@ -9339,7 +9342,7 @@ const Ra = /* @__PURE__ */ A(Zg, [["render", Xg], ["__scopeId", "data-v-0f1f2f84
9339
9342
  const i = t, n = e, s = T(!1), r = T(window.matchMedia("(max-width: 768px)").matches), o = (l) => {
9340
9343
  n("toggle", l);
9341
9344
  }, u = T(!1);
9342
- return lt(async () => {
9345
+ return ut(async () => {
9343
9346
  window.addEventListener("resize", () => {
9344
9347
  switch (i.mobileWidth) {
9345
9348
  case "1330px":
@@ -9461,7 +9464,7 @@ const Ra = /* @__PURE__ */ A(Zg, [["render", Xg], ["__scopeId", "data-v-0f1f2f84
9461
9464
  emits: ["load"],
9462
9465
  setup(t, { emit: e }) {
9463
9466
  const i = T(!1), n = e, s = T();
9464
- lt(() => {
9467
+ ut(() => {
9465
9468
  i.value = !0, s.value = Pt.GetDefault();
9466
9469
  });
9467
9470
  const r = async (u) => {
@@ -9504,11 +9507,11 @@ const Ra = /* @__PURE__ */ A(Zg, [["render", Xg], ["__scopeId", "data-v-0f1f2f84
9504
9507
  emits: ["load"],
9505
9508
  setup(t, { emit: e }) {
9506
9509
  const i = e, n = T();
9507
- lt(() => {
9510
+ ut(() => {
9508
9511
  n.value = Pt.GetDefault();
9509
9512
  });
9510
9513
  const s = async (o) => {
9511
- o || (n.value = Pt.GetDefault()), mt.Get().setSortModel(n.value), mt.Get().p.drop(), i("load");
9514
+ o || (n.value = Pt.GetDefault()), gt.Get().setSortModel(n.value), gt.Get().p.drop(), i("load");
9512
9515
  }, r = async (o) => {
9513
9516
  await s(o);
9514
9517
  };
@@ -10319,7 +10322,7 @@ const el = /* @__PURE__ */ A(j1, [["render", W1]]), G1 = $({
10319
10322
  };
10320
10323
  return au(() => {
10321
10324
  t.activeId && t.activeId !== t.tabId && (i.value = !0);
10322
- }), lt(() => {
10325
+ }), ut(() => {
10323
10326
  t.activeId && t.activeId !== t.tabId && (i.value = !1);
10324
10327
  }), {
10325
10328
  collapsed: i,
@@ -11000,7 +11003,7 @@ const cv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11000
11003
  };
11001
11004
  Xt(() => window.addEventListener("resize", u)), Dr(() => window.removeEventListener("resize", u));
11002
11005
  const l = ue(() => `calc(100% - ${o.value}px + 1px)`);
11003
- lt(() => {
11006
+ ut(() => {
11004
11007
  i.menus.Select();
11005
11008
  });
11006
11009
  const c = (d) => {
@@ -11489,7 +11492,7 @@ function Er(t, e, i) {
11489
11492
  return t[n] !== e[n];
11490
11493
  });
11491
11494
  }
11492
- function at(t) {
11495
+ function lt(t) {
11493
11496
  return { left: t.left, top: t.top, right: t.left + t.width, bottom: t.top + t.height };
11494
11497
  }
11495
11498
  function Vt(t, e) {
@@ -11501,7 +11504,7 @@ function Me(t) {
11501
11504
  function fi(t, e) {
11502
11505
  var i = { left: 0, top: 0, right: 0, bottom: 0 };
11503
11506
  return ot.forEach(function(n) {
11504
- var s = e[n], r = at(t)[n];
11507
+ var s = e[n], r = lt(t)[n];
11505
11508
  i[n] = s !== void 0 && r !== void 0 ? n === "left" || n === "top" ? Math.max(0, s - r) : Math.max(0, r - s) : 0;
11506
11509
  }), i;
11507
11510
  }
@@ -11583,7 +11586,7 @@ function Tr(t) {
11583
11586
  function zr(t, e) {
11584
11587
  return Math.pow(t.width - e.width, 2) + Math.pow(t.height - e.height, 2);
11585
11588
  }
11586
- function ht(t) {
11589
+ function ft(t) {
11587
11590
  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)) };
11588
11591
  function o(c, d) {
11589
11592
  return d === void 0 && (d = !1), c.reduce(function(h, g) {
@@ -11608,7 +11611,7 @@ function Ep(t) {
11608
11611
  return (Array.isArray(i) ? i : [i]).forEach(function(d) {
11609
11612
  var h = {};
11610
11613
  be((h = typeof d == "function" ? d({ coordinates: c, imageSize: n, visibleArea: u }) : d).width) && be(h.height) || (c = function(g, y) {
11611
- var x = j(j(j({}, g), ht({ width: y.width, height: y.height, sizeRestrictions: s, aspectRatio: o })), { left: 0, top: 0 });
11614
+ var x = j(j(j({}, g), ft({ width: y.width, height: y.height, sizeRestrictions: s, aspectRatio: o })), { left: 0, top: 0 });
11612
11615
  return l(x, { left: g.left, top: g.top });
11613
11616
  }(c, j(j({}, c), h))), be(h.left) && be(h.top) || (c = l(c, j(j({}, c), h)));
11614
11617
  }), c;
@@ -11620,9 +11623,9 @@ function Tp(t) {
11620
11623
  var r = t.stencilSize, o = t.sizeRestrictions, u = t.positionRestrictions;
11621
11624
  t.stencilReference;
11622
11625
  var l, c, d, h = j({}, n), g = j({}, s), y = j({}, r);
11623
- l = oe(y), c = oe(h), d === void 0 && (d = 1e-3), (l === 0 || c === 0 ? Math.abs(c - l) < d : Math.abs(c / l) < 1 + d && Math.abs(c / l) > 1 - d) || (h = j(j({}, h), ht({ sizeRestrictions: o, width: h.width, height: h.height, aspectRatio: { minimum: oe(y), maximum: oe(y) } })));
11626
+ l = oe(y), c = oe(h), d === void 0 && (d = 1e-3), (l === 0 || c === 0 ? Math.abs(c - l) < d : Math.abs(c / l) < 1 + d && Math.abs(c / l) > 1 - d) || (h = j(j({}, h), ft({ sizeRestrictions: o, width: h.width, height: h.height, aspectRatio: { minimum: oe(y), maximum: oe(y) } })));
11624
11627
  var x = pn(g = Ve(g, h.width * i.width / (g.width * y.width)), e({ visibleArea: g, type: "resize" }));
11625
- return x !== 1 && (g = Ve(g, x), h = Ve(h, x)), g = ke(g = Be(g, Vt(Me(h), Me(g))), e({ visibleArea: g, type: "move" })), { coordinates: h = ke(h, vn(at(g), u)), visibleArea: g };
11628
+ return x !== 1 && (g = Ve(g, x), h = Ve(h, x)), g = ke(g = Be(g, Vt(Me(h), Me(g))), e({ visibleArea: g, type: "move" })), { coordinates: h = ke(h, vn(lt(g), u)), visibleArea: g };
11626
11629
  }
11627
11630
  function zp(t) {
11628
11631
  var e = t.event, i = t.getAreaRestrictions, n = t.boundaries, s = t.coordinates, r = t.visibleArea;
@@ -11634,7 +11637,7 @@ function zp(t) {
11634
11637
  var c = { width: 0, height: 0 };
11635
11638
  l.width, n.width, oe(n) > oe(u) ? (c.height = 0.8 * n.height, c.width = c.height * oe(u)) : (c.width = 0.8 * n.width, c.height = c.width * oe(u));
11636
11639
  var d = pn(l = Ve(l, u.width * n.width / (l.width * c.width)), i({ visibleArea: l, type: "resize" }));
11637
- l = Ve(l, d), d !== 1 && (c.height /= d, c.width /= d), l = ke(l = Be(l, Vt(Me(u), Me(l))), i({ visibleArea: l, type: "move" })), u = ke(u, vn(at(l), o));
11640
+ l = Ve(l, d), d !== 1 && (c.height /= d, c.width /= d), l = ke(l = Be(l, Vt(Me(u), Me(l))), i({ visibleArea: l, type: "move" })), u = ke(u, vn(lt(l), o));
11638
11641
  }
11639
11642
  return { coordinates: u, visibleArea: l };
11640
11643
  }
@@ -11642,7 +11645,7 @@ function Op(t) {
11642
11645
  var e = t.event, i = t.coordinates, n = t.visibleArea, s = t.getAreaRestrictions, r = j({}, n), o = j({}, i);
11643
11646
  if (e.type === "setCoordinates") {
11644
11647
  var u = Math.max(0, o.width - r.width), l = Math.max(0, o.height - r.height);
11645
- u > l ? r = Ve(r, Math.min(o.width / r.width, _t(r, s({ visibleArea: r, type: "resize" })))) : l > u && (r = Ve(r, Math.min(o.height / r.height, _t(r, s({ visibleArea: r, type: "resize" }))))), r = ke(r = Be(r, gn(Zt(o, at(r)))), s({ visibleArea: r, type: "move" }));
11648
+ u > l ? r = Ve(r, Math.min(o.width / r.width, _t(r, s({ visibleArea: r, type: "resize" })))) : l > u && (r = Ve(r, Math.min(o.height / r.height, _t(r, s({ visibleArea: r, type: "resize" }))))), r = ke(r = Be(r, gn(Zt(o, lt(r)))), s({ visibleArea: r, type: "move" }));
11646
11649
  }
11647
11650
  return { visibleArea: r, coordinates: o };
11648
11651
  }
@@ -11652,23 +11655,23 @@ function Fp(t) {
11652
11655
  }
11653
11656
  function Dp(t) {
11654
11657
  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, oe(r))), u = 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 };
11655
- return ht(j(j({}, u), { aspectRatio: n, sizeRestrictions: s }));
11658
+ return ft(j(j({}, u), { aspectRatio: n, sizeRestrictions: s }));
11656
11659
  }
11657
11660
  function Lp(t) {
11658
11661
  var e, i, n = t.imageSize, s = t.visibleArea, r = t.boundaries, o = t.aspectRatio, u = t.sizeRestrictions, l = t.stencilSize, c = s || n;
11659
- return oe(c) > oe(r) ? i = (e = l.height * c.height / r.height) * oe(l) : e = (i = l.width * c.width / r.width) / oe(l), ht({ width: i, height: e, aspectRatio: o, sizeRestrictions: u });
11662
+ return oe(c) > oe(r) ? i = (e = l.height * c.height / r.height) * oe(l) : e = (i = l.width * c.width / r.width) / oe(l), ft({ width: i, height: e, aspectRatio: o, sizeRestrictions: u });
11660
11663
  }
11661
11664
  function Bp(t) {
11662
11665
  var e = t.getAreaRestrictions, i = t.coordinates, n = t.imageSize, s = oe(t.boundaries);
11663
11666
  if (i) {
11664
- var r = { height: Math.max(i.height, n.height), width: Math.max(i.width, n.width) }, o = wl({ width: oe(r) > s ? r.width : r.height * s, height: oe(r) > s ? r.width / s : r.height }, es(e())), u = { left: i.left + i.width / 2 - o.width / 2, top: i.top + i.height / 2 - o.height / 2, width: o.width, height: o.height }, l = fi(i, at(j({ left: 0, top: 0 }, n))), c = {};
11667
+ var r = { height: Math.max(i.height, n.height), width: Math.max(i.width, n.width) }, o = wl({ width: oe(r) > s ? r.width : r.height * s, height: oe(r) > s ? r.width / s : r.height }, es(e())), u = { left: i.left + i.width / 2 - o.width / 2, top: i.top + i.height / 2 - o.height / 2, width: o.width, height: o.height }, l = fi(i, lt(j({ left: 0, top: 0 }, n))), c = {};
11665
11668
  return !l.left && !l.right && u.width <= n.width && (c.left = 0, c.right = n.width), !l.top && !l.bottom && u.height <= n.height && (c.top = 0, c.bottom = n.height), ke(u, c);
11666
11669
  }
11667
11670
  var d = oe(n);
11668
11671
  return o = { height: d > s ? n.height : n.width / s, width: d > s ? n.height * s : n.width }, { left: n.width / 2 - o.width / 2, top: n.height / 2 - o.height / 2, width: o.width, height: o.height };
11669
11672
  }
11670
11673
  function Ri(t, e) {
11671
- return Sl(t, at(e));
11674
+ return Sl(t, lt(e));
11672
11675
  }
11673
11676
  function Hp(t) {
11674
11677
  var e = t.event, i = t.coordinates, n = t.visibleArea, s = t.sizeRestrictions, r = t.getAreaRestrictions, o = t.positionRestrictions, u = t.adjustStencil, l = e.scale, c = e.move, d = j({}, n), h = j({}, i), g = 1, y = 1, x = l.factor && Math.abs(l.factor - 1) > 1e-3;
@@ -11676,11 +11679,11 @@ function Hp(t) {
11676
11679
  var C = { stencil: { minimum: Math.max(s.minWidth ? s.minWidth / h.width : 0, s.minHeight ? s.minHeight / h.height : 0), maximum: Math.min(s.maxWidth ? s.maxWidth / h.width : 1 / 0, s.maxHeight ? s.maxHeight / h.height : 1 / 0, _t(h, o)) }, area: { maximum: _t(d, r({ visibleArea: d, type: "resize" })) } };
11677
11680
  l.factor && x && (l.factor < 1 ? (y = Math.max(l.factor, C.stencil.minimum)) > 1 && (y = 1) : l.factor > 1 && (y = Math.min(l.factor, Math.min(C.area.maximum, C.stencil.maximum))) < 1 && (y = 1)), y && (d = Ve(d, y, l.center));
11678
11681
  var M = i.left - n.left, D = n.width + n.left - (i.width + i.left), Y = i.top - n.top, W = n.height + n.top - (i.height + i.top);
11679
- return d = ke(d = Be(d, Zt(d, { left: o.left !== void 0 ? o.left - M * y : void 0, top: o.top !== void 0 ? o.top - Y * y : void 0, bottom: o.bottom !== void 0 ? o.bottom + W * y : void 0, right: o.right !== void 0 ? o.right + D * y : void 0 })), r({ visibleArea: d, type: "move" })), h.width = h.width * y, h.height = h.height * y, h.left = d.left + M * y, h.top = d.top + Y * y, h = ke(h, vn(at(d), o)), l.factor && x && u && (l.factor > 1 ? g = Math.min(C.area.maximum, l.factor) / y : l.factor < 1 && (g = Math.max(h.height / d.height, h.width / d.width, l.factor / y)), g !== 1 && (d = Be(d = ke(d = Ve(d, g, l.factor > 1 ? l.center : Me(h)), r({ visibleArea: d, type: "move" })), gn(Zt(h, at(d)))))), { coordinates: h, visibleArea: d };
11682
+ return d = ke(d = Be(d, Zt(d, { left: o.left !== void 0 ? o.left - M * y : void 0, top: o.top !== void 0 ? o.top - Y * y : void 0, bottom: o.bottom !== void 0 ? o.bottom + W * y : void 0, right: o.right !== void 0 ? o.right + D * y : void 0 })), r({ visibleArea: d, type: "move" })), h.width = h.width * y, h.height = h.height * y, h.left = d.left + M * y, h.top = d.top + Y * y, h = ke(h, vn(lt(d), o)), l.factor && x && u && (l.factor > 1 ? g = Math.min(C.area.maximum, l.factor) / y : l.factor < 1 && (g = Math.max(h.height / d.height, h.width / d.width, l.factor / y)), g !== 1 && (d = Be(d = ke(d = Ve(d, g, l.factor > 1 ? l.center : Me(h)), r({ visibleArea: d, type: "move" })), gn(Zt(h, lt(d)))))), { coordinates: h, visibleArea: d };
11680
11683
  }
11681
11684
  function qp(t) {
11682
11685
  var e = t.aspectRatio, i = t.getAreaRestrictions, n = t.coordinates, s = t.visibleArea, r = t.sizeRestrictions, o = t.positionRestrictions, u = t.imageSize, l = t.previousImageSize, c = t.angle, d = j({}, n), h = j({}, s), g = Ct(Me(j({ left: 0, top: 0 }, l)), c);
11683
- return (d = j(j({}, ht({ sizeRestrictions: r, aspectRatio: e, width: d.width, height: d.height })), Ct(Me(d), c))).left -= g.left - u.width / 2 + d.width / 2, d.top -= g.top - u.height / 2 + d.height / 2, h = Ve(h, pn(h, i({ visibleArea: h, type: "resize" }))), { coordinates: d = ke(d, o), visibleArea: h = ke(h = Be(h, Vt(Me(d), Me(n))), i({ visibleArea: h, type: "move" })) };
11686
+ return (d = j(j({}, ft({ sizeRestrictions: r, aspectRatio: e, width: d.width, height: d.height })), Ct(Me(d), c))).left -= g.left - u.width / 2 + d.width / 2, d.top -= g.top - u.height / 2 + d.height / 2, h = Ve(h, pn(h, i({ visibleArea: h, type: "resize" }))), { coordinates: d = ke(d, o), visibleArea: h = ke(h = Be(h, Vt(Me(d), Me(n))), i({ visibleArea: h, type: "move" })) };
11684
11687
  }
11685
11688
  function Np(t) {
11686
11689
  var e = t.flip, i = t.previousFlip, n = t.rotate, s = t.getAreaRestrictions, r = t.coordinates, o = t.visibleArea, u = t.imageSize, l = j({}, r), c = j({}, o), d = i.horizontal !== e.horizontal, h = i.vertical !== e.vertical;
@@ -12130,7 +12133,7 @@ $l.render = function(t, e, i, n, s, r) {
12130
12133
  }), _: 1 }, 8, ["movable", "onMove", "onMoveEnd"])];
12131
12134
  }), _: 1 }, 8, ["width", "height", "transitions", "class", "handlers", "handlers-component", "handlers-classes", "handlers-wrappers-classes", "lines", "lines-component", "lines-classes", "lines-wrappers-classes", "resizable", "onResize", "onResizeEnd"])], 6);
12132
12135
  };
12133
- var Jp = ["transitions"], ut = Ke("vue-advanced-cropper"), Al = { name: "Cropper", components: { BackgroundWrapper: is }, props: { src: { type: String, default: null }, stencilComponent: { type: [Object, String], default: function() {
12136
+ var Jp = ["transitions"], ct = Ke("vue-advanced-cropper"), Al = { name: "Cropper", components: { BackgroundWrapper: is }, props: { src: { type: String, default: null }, stencilComponent: { type: [Object, String], default: function() {
12134
12137
  return $l;
12135
12138
  } }, backgroundWrapperComponent: { type: [Object, String], default: function() {
12136
12139
  return is;
@@ -12170,12 +12173,12 @@ var Jp = ["transitions"], ut = Ke("vue-advanced-cropper"), Al = { name: "Cropper
12170
12173
  var e = t.stretcher, i = t.imageSize, n = oe(i);
12171
12174
  e.style.width = i.width + "px", e.style.height = e.clientWidth / n + "px", e.style.width = e.clientWidth + "px";
12172
12175
  } }, fitCoordinates: { type: Function, default: function(t) {
12173
- var e = t.visibleArea, i = t.coordinates, n = t.aspectRatio, s = t.sizeRestrictions, r = t.positionRestrictions, o = j(j({}, i), ht({ 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) } }));
12174
- return o = ke(o = Be(o, Vt(Me(i), Me(o))), vn(at(e), r));
12176
+ var e = t.visibleArea, i = t.coordinates, n = t.aspectRatio, s = t.sizeRestrictions, r = t.positionRestrictions, o = j(j({}, i), ft({ 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) } }));
12177
+ return o = ke(o = Be(o, Vt(Me(i), Me(o))), vn(lt(e), r));
12175
12178
  } }, fitVisibleArea: { type: Function, default: function(t) {
12176
12179
  var e = t.visibleArea, i = t.boundaries, n = t.getAreaRestrictions, s = t.coordinates, r = j({}, e);
12177
12180
  r.height = r.width / oe(i), r.top += (e.height - r.height) / 2, (s.height - r.height > 0 || s.width - r.width > 0) && (r = Ve(r, Math.max(s.height / r.height, s.width / r.width)));
12178
- var o = gn(Zt(s, at(r = Ve(r, pn(r, n({ visibleArea: r, type: "resize" }))))));
12181
+ var o = gn(Zt(s, lt(r = Ve(r, pn(r, n({ visibleArea: r, type: "resize" }))))));
12179
12182
  return r.width < s.width && (o.left = 0), r.height < s.height && (o.top = 0), r = ke(r = Be(r, o), n({ visibleArea: r, type: "move" }));
12180
12183
  } }, areaRestrictionsAlgorithm: { type: Function, default: function(t) {
12181
12184
  var e = t.visibleArea, i = t.boundaries, n = t.imageSize, s = t.imageRestriction, r = t.type, o = {};
@@ -12225,7 +12228,7 @@ var Jp = ["transitions"], ut = Ke("vue-advanced-cropper"), Al = { name: "Cropper
12225
12228
  }, positionRestrictions: function() {
12226
12229
  return this.positionRestrictionsAlgorithm({ imageSize: this.imageSize, imageRestriction: this.imageRestriction });
12227
12230
  }, classes: function() {
12228
- return { cropper: ut(), image: pe(ut("image"), this.imageClass), stencil: ut("stencil"), boundaries: pe(ut("boundaries"), this.boundariesClass), stretcher: pe(ut("stretcher")), background: pe(ut("background"), this.backgroundClass), foreground: pe(ut("foreground"), this.foregroundClass), imageWrapper: pe(ut("image-wrapper")), cropperWrapper: pe(ut("cropper-wrapper")) };
12231
+ return { cropper: ct(), image: pe(ct("image"), this.imageClass), stencil: ct("stencil"), boundaries: pe(ct("boundaries"), this.boundariesClass), stretcher: pe(ct("stretcher")), background: pe(ct("background"), this.backgroundClass), foreground: pe(ct("foreground"), this.foregroundClass), imageWrapper: pe(ct("image-wrapper")), cropperWrapper: pe(ct("cropper-wrapper")) };
12229
12232
  }, stencilCoordinates: function() {
12230
12233
  if (this.initialized) {
12231
12234
  var t = this.coordinates, e = t.width, i = t.height, n = t.left, s = t.top;
@@ -12345,7 +12348,7 @@ var Jp = ["transitions"], ut = Ke("vue-advanced-cropper"), Al = { name: "Cropper
12345
12348
  return c = l, !Number.isNaN(parseFloat(c)) && isFinite(c);
12346
12349
  var c;
12347
12350
  });
12348
- }, r = ht({ 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 } });
12351
+ }, r = ft({ 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 } });
12349
12352
  if (n.maxArea && r.width * r.height > n.maxArea) {
12350
12353
  var o = Math.sqrt(n.maxArea / (r.width * r.height));
12351
12354
  r = { width: Math.round(o * r.width), height: Math.round(o * r.height) };
@@ -12533,7 +12536,7 @@ var Jp = ["transitions"], ut = Ke("vue-advanced-cropper"), Al = { name: "Cropper
12533
12536
  }
12534
12537
  return { minimum: e, maximum: i };
12535
12538
  }, getStencilSize: function() {
12536
- 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, On(oe(s = qt(i) ? i({ boundaries: e, aspectRatio: n }) : i), n) && (s = ht({ 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 = ht({ sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minWidth: 0, minHeight: 0 }, width: s.width, height: s.height, aspectRatio: { minimum: oe(s), maximum: oe(s) } })), s;
12539
+ 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, On(oe(s = qt(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: oe(s), maximum: oe(s) } })), s;
12537
12540
  var t, e, i, n, s;
12538
12541
  }, getPublicProperties: function() {
12539
12542
  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 };
@@ -12864,7 +12867,7 @@ const t0 = { class: "background-container" }, i0 = { class: "dialog-footer" }, n
12864
12867
  () => {
12865
12868
  r.fileInfo.fileSystemPath && (u.value = r.fileInfo, u.value.url = r.fileInfo.getFileUrl());
12866
12869
  }
12867
- ), lt(() => {
12870
+ ), ut(() => {
12868
12871
  r.fileInfo.fileSystemPath && (u.value = r.fileInfo, u.value.url = r.fileInfo.getFileUrl());
12869
12872
  });
12870
12873
  let C = null;