sprof 0.0.204 → 0.0.206

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.
@@ -23,12 +23,22 @@ declare const _default: {
23
23
  type: StringConstructor;
24
24
  default: string;
25
25
  };
26
+ divider: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ dividerColor: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
26
34
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
27
35
  top: string;
28
36
  padding: string;
29
37
  background: string;
30
38
  shadow: boolean;
31
39
  zIndex: number;
40
+ divider: boolean;
41
+ dividerColor: string;
32
42
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
33
43
  P: {};
34
44
  B: {};
@@ -57,12 +67,22 @@ declare const _default: {
57
67
  type: StringConstructor;
58
68
  default: string;
59
69
  };
70
+ divider: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ dividerColor: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ };
60
78
  }>> & Readonly<{}>, {}, {}, {}, {}, {
61
79
  top: string;
62
80
  padding: string;
63
81
  background: string;
64
82
  shadow: boolean;
65
83
  zIndex: number;
84
+ divider: boolean;
85
+ dividerColor: string;
66
86
  }>;
67
87
  __isFragment?: undefined;
68
88
  __isTeleport?: undefined;
@@ -88,12 +108,22 @@ declare const _default: {
88
108
  type: StringConstructor;
89
109
  default: string;
90
110
  };
111
+ divider: {
112
+ type: BooleanConstructor;
113
+ default: boolean;
114
+ };
115
+ dividerColor: {
116
+ type: StringConstructor;
117
+ default: string;
118
+ };
91
119
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
92
120
  top: string;
93
121
  padding: string;
94
122
  background: string;
95
123
  shadow: boolean;
96
124
  zIndex: number;
125
+ divider: boolean;
126
+ dividerColor: string;
97
127
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
98
128
  $slots: {
99
129
  default?(_: {}): any;
@@ -153,12 +183,22 @@ export declare const Default: StoryFn<{
153
183
  type: StringConstructor;
154
184
  default: string;
155
185
  };
186
+ divider: {
187
+ type: BooleanConstructor;
188
+ default: boolean;
189
+ };
190
+ dividerColor: {
191
+ type: StringConstructor;
192
+ default: string;
193
+ };
156
194
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
157
195
  top: string;
158
196
  padding: string;
159
197
  background: string;
160
198
  shadow: boolean;
161
199
  zIndex: number;
200
+ divider: boolean;
201
+ dividerColor: string;
162
202
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
163
203
  P: {};
164
204
  B: {};
@@ -187,12 +227,22 @@ export declare const Default: StoryFn<{
187
227
  type: StringConstructor;
188
228
  default: string;
189
229
  };
230
+ divider: {
231
+ type: BooleanConstructor;
232
+ default: boolean;
233
+ };
234
+ dividerColor: {
235
+ type: StringConstructor;
236
+ default: string;
237
+ };
190
238
  }>> & Readonly<{}>, {}, {}, {}, {}, {
191
239
  top: string;
192
240
  padding: string;
193
241
  background: string;
194
242
  shadow: boolean;
195
243
  zIndex: number;
244
+ divider: boolean;
245
+ dividerColor: string;
196
246
  }>;
197
247
  __isFragment?: undefined;
198
248
  __isTeleport?: undefined;
@@ -218,12 +268,22 @@ export declare const Default: StoryFn<{
218
268
  type: StringConstructor;
219
269
  default: string;
220
270
  };
271
+ divider: {
272
+ type: BooleanConstructor;
273
+ default: boolean;
274
+ };
275
+ dividerColor: {
276
+ type: StringConstructor;
277
+ default: string;
278
+ };
221
279
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
222
280
  top: string;
223
281
  padding: string;
224
282
  background: string;
225
283
  shadow: boolean;
226
284
  zIndex: number;
285
+ divider: boolean;
286
+ dividerColor: string;
227
287
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
228
288
  $slots: {
229
289
  default?(_: {}): any;
@@ -19,6 +19,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
19
19
  type: StringConstructor;
20
20
  default: string;
21
21
  };
22
+ divider: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ dividerColor: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
22
30
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
23
31
  shadow: {
24
32
  type: BooleanConstructor;
@@ -40,12 +48,22 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
40
48
  type: StringConstructor;
41
49
  default: string;
42
50
  };
51
+ divider: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ dividerColor: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
43
59
  }>> & Readonly<{}>, {
44
60
  top: string;
45
61
  padding: string;
46
62
  background: string;
47
63
  shadow: boolean;
48
64
  zIndex: number;
65
+ divider: boolean;
66
+ dividerColor: string;
49
67
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>, {
50
68
  default?(_: {}): any;
51
69
  }>;
package/dist/sprof.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var _l = Object.defineProperty;
2
2
  var Zl = (t, e, i) => e in t ? _l(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
3
3
  var a = (t, e, i) => Zl(t, typeof e != "symbol" ? e + "" : e, i);
4
- import { reactive as Ee, ref as T, openBlock as g, createElementBlock as w, createElementVNode as f, getCurrentInstance as Xl, inject as Yl, onUnmounted as Or, onDeactivated as Jl, onActivated as Ql, onBeforeMount as at, defineComponent as $, computed as he, mergeProps as Mt, unref as p, withModifiers as Oe, renderSlot as P, createTextVNode as is, toDisplayString as xe, Fragment as G, normalizeClass as ie, normalizeStyle as I, mergeModels as Ae, useModel as mt, withDirectives as Xe, vModelCheckbox as Kl, createVNode as R, createCommentVNode as J, vModelDynamic as eu, resolveComponent as H, isRef as Ve, withKeys as tu, vModelText as Dr, watch as Ye, createBlock as N, vModelRadio as iu, vShow as ns, vModelSelect as nu, useCssVars as Lr, onMounted as Zt, renderList as Te, withCtx as X, resolveDirective as Br, nextTick as su, Transition as Hr, onBeforeUnmount as ss, createStaticVNode as qr, onUpdated as ru, useTemplateRef as ou, resolveDynamicComponent as ai } from "vue";
4
+ import { reactive as Ee, ref as T, openBlock as g, createElementBlock as w, createElementVNode as f, getCurrentInstance as Xl, inject as Yl, onUnmounted as Or, onDeactivated as Jl, onActivated as Ql, onBeforeMount as at, defineComponent as $, computed as he, mergeProps as Mt, unref as p, withModifiers as Oe, renderSlot as P, createTextVNode as is, toDisplayString as xe, Fragment as G, normalizeClass as ie, normalizeStyle as I, mergeModels as Ae, useModel as mt, withDirectives as Ye, vModelCheckbox as Kl, createVNode as R, createCommentVNode as J, vModelDynamic as eu, resolveComponent as H, isRef as Ve, withKeys as tu, vModelText as Dr, watch as _e, createBlock as N, vModelRadio as iu, vShow as ns, vModelSelect as nu, useCssVars as Lr, onMounted as Zt, renderList as Te, withCtx as X, resolveDirective as Br, nextTick as su, Transition as Hr, onBeforeUnmount as ss, createStaticVNode as qr, onUpdated as ru, useTemplateRef as ou, resolveDynamicComponent as ai } from "vue";
5
5
  var Re = /* @__PURE__ */ ((t) => (t.Login = "login", t.Register = "register", t.Restore = "restore", t.Refresh = "refresh", t))(Re || {}), Pe = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.Success = "success", t.Warning = "warning", t.Error = "error", t.Info = "info", t))(Pe || {});
6
6
  class It {
7
7
  constructor(e, i, n, s) {
@@ -478,7 +478,7 @@ class it {
478
478
  localStorage.removeItem(e);
479
479
  }
480
480
  }
481
- var Ze = /* @__PURE__ */ ((t) => (t.User = "user", t.AccessToken = "accessToken", t.RefreshToken = "refreshToken", t))(Ze || {});
481
+ var Xe = /* @__PURE__ */ ((t) => (t.User = "user", t.AccessToken = "accessToken", t.RefreshToken = "refreshToken", t))(Xe || {});
482
482
  class wu {
483
483
  // private accessToken?: string;
484
484
  // private refreshToken?: string;
@@ -486,19 +486,19 @@ class wu {
486
486
  this.setAccessToken(e.accessToken), this.setRefreshToken(e.refreshToken);
487
487
  }
488
488
  getAccessToken() {
489
- return it.Get(Ze.AccessToken);
489
+ return it.Get(Xe.AccessToken);
490
490
  }
491
491
  getRefreshToken() {
492
- return it.Get(Ze.RefreshToken);
492
+ return it.Get(Xe.RefreshToken);
493
493
  }
494
494
  setAccessToken(e) {
495
- it.Set(Ze.AccessToken, e);
495
+ it.Set(Xe.AccessToken, e);
496
496
  }
497
497
  setRefreshToken(e) {
498
- it.Set(Ze.RefreshToken, e);
498
+ it.Set(Xe.RefreshToken, e);
499
499
  }
500
500
  reset() {
501
- it.Remove(Ze.AccessToken), it.Remove(Ze.RefreshToken);
501
+ it.Remove(Xe.AccessToken), it.Remove(Xe.RefreshToken);
502
502
  }
503
503
  actualize() {
504
504
  this.setAccessToken(this.getAccessToken()), this.setRefreshToken(this.getAccessToken());
@@ -523,13 +523,13 @@ class bu {
523
523
  return this.user;
524
524
  }
525
525
  set(e) {
526
- this.userConstructor && (this.user = new this.userConstructor(e), it.Set(Ze.User, this.user));
526
+ this.userConstructor && (this.user = new this.userConstructor(e), it.Set(Xe.User, this.user));
527
527
  }
528
528
  reset() {
529
- this.user = void 0, it.Remove(Ze.User);
529
+ this.user = void 0, it.Remove(Xe.User);
530
530
  }
531
531
  actualize() {
532
- const e = it.Get(Ze.User);
532
+ const e = it.Get(Xe.User);
533
533
  e && this.set(e);
534
534
  }
535
535
  }
@@ -1024,9 +1024,9 @@ var ir;
1024
1024
  var ce = Ys(le);
1025
1025
  if (!ce)
1026
1026
  return;
1027
- var _e = Xs(ce);
1028
- if (_e.isProviderFor(q, te))
1029
- return Js(le), _e;
1027
+ var Ze = Xs(ce);
1028
+ if (Ze.isProviderFor(q, te))
1029
+ return Js(le), Ze;
1030
1030
  }
1031
1031
  }
1032
1032
  }
@@ -1049,8 +1049,8 @@ var ir;
1049
1049
  if (ce !== le) {
1050
1050
  if (!V(ce))
1051
1051
  return !1;
1052
- var _e = W.get(q);
1053
- V(_e) && (_e = new m(), W.set(q, _e)), _e.set(te, le);
1052
+ var Ze = W.get(q);
1053
+ V(Ze) && (Ze = new m(), W.set(q, Ze)), Ze.set(te, le);
1054
1054
  }
1055
1055
  return !0;
1056
1056
  }
@@ -1130,13 +1130,13 @@ var ir;
1130
1130
  );
1131
1131
  if (V(te))
1132
1132
  return q;
1133
- for (var le = te.keys(), ce = Zs(le), _e = 0; ; ) {
1133
+ for (var le = te.keys(), ce = Zs(le), Ze = 0; ; ) {
1134
1134
  var Qs = Ys(ce);
1135
1135
  if (!Qs)
1136
- return q.length = _e, q;
1136
+ return q.length = Ze, q;
1137
1137
  var Gl = Xs(Qs);
1138
1138
  try {
1139
- q[_e] = Gl;
1139
+ q[Ze] = Gl;
1140
1140
  } catch (Vl) {
1141
1141
  try {
1142
1142
  Js(ce);
@@ -1144,7 +1144,7 @@ var ir;
1144
1144
  throw Vl;
1145
1145
  }
1146
1146
  }
1147
- _e++;
1147
+ Ze++;
1148
1148
  }
1149
1149
  }
1150
1150
  function F(D, B, q) {
@@ -3944,7 +3944,7 @@ const ae = class ae {
3944
3944
  return o || "file";
3945
3945
  }
3946
3946
  static getHeaders(e) {
3947
- const i = it.Get(Ze.AccessToken);
3947
+ const i = it.Get(Xe.AccessToken);
3948
3948
  return e || (e = ae.headers), i && (e[Gn.Token] = i), e ?? ae.headers;
3949
3949
  }
3950
3950
  static returnResponse(e, i) {
@@ -6613,7 +6613,7 @@ const Kf = "p-button", em = /* @__PURE__ */ $({
6613
6613
  class: "check-field__label",
6614
6614
  style: I({ fontSize: t.fontSize })
6615
6615
  }, [
6616
- Xe(f("input", {
6616
+ Ye(f("input", {
6617
6617
  "onUpdate:modelValue": o[0] || (o[0] = (u) => i.value = u),
6618
6618
  class: "check-field__input",
6619
6619
  type: "checkbox",
@@ -6951,7 +6951,7 @@ const Pn = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
6951
6951
  f("div", Sm, [
6952
6952
  P(r.$slots, "default", {}, void 0, !0)
6953
6953
  ]),
6954
- Xe(f("input", Mt({ ref: "input" }, r.$attrs, {
6954
+ Ye(f("input", Mt({ ref: "input" }, r.$attrs, {
6955
6955
  "onUpdate:modelValue": o[0] || (o[0] = (u) => n.value = u),
6956
6956
  class: "text-field__input",
6957
6957
  style: { color: t.color },
@@ -7064,7 +7064,7 @@ const Pn = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
7064
7064
  R(O)
7065
7065
  ], 2)
7066
7066
  ]),
7067
- Xe(f("input", Mt(M.$attrs, {
7067
+ Ye(f("input", Mt(M.$attrs, {
7068
7068
  "onUpdate:modelValue": S[0] || (S[0] = (Y) => Ve(u) ? u.value = Y : null),
7069
7069
  class: "input-field",
7070
7070
  type: "number",
@@ -7132,7 +7132,7 @@ const Pn = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
7132
7132
  emits: ["open"],
7133
7133
  setup(t, { emit: e }) {
7134
7134
  const i = t, n = e, s = T(i.open);
7135
- Ye(
7135
+ _e(
7136
7136
  () => i.open,
7137
7137
  () => {
7138
7138
  s.value = !s.value;
@@ -7262,7 +7262,7 @@ const Pn = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
7262
7262
  for: p(r),
7263
7263
  style: I({ fontSize: t.fontSize })
7264
7264
  }, [
7265
- Xe(f("input", {
7265
+ Ye(f("input", {
7266
7266
  id: p(r),
7267
7267
  "onUpdate:modelValue": c[0] || (c[0] = (d) => i.value = d),
7268
7268
  name: t.name,
@@ -7324,7 +7324,7 @@ const Pn = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
7324
7324
  emits: ["open"],
7325
7325
  setup(t, { emit: e }) {
7326
7326
  const i = t, n = e, s = T(i.open);
7327
- Ye(
7327
+ _e(
7328
7328
  () => i.open,
7329
7329
  () => {
7330
7330
  s.value = !s.value;
@@ -7470,7 +7470,7 @@ const Pn = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
7470
7470
  onMouseover: c[1] || (c[1] = (h) => r.value = !0),
7471
7471
  onMouseleave: c[2] || (c[2] = (h) => r.value = !1)
7472
7472
  }, [
7473
- t.clearable ? Xe((g(), w("div", {
7473
+ t.clearable ? Ye((g(), w("div", {
7474
7474
  key: 0,
7475
7475
  class: "clear",
7476
7476
  onClick: u
@@ -7482,7 +7482,7 @@ const Pn = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
7482
7482
  f("div", Um, [
7483
7483
  R(d, { margin: "2px 2px 0 0" })
7484
7484
  ]),
7485
- Xe(f("select", Mt(l.$attrs, {
7485
+ Ye(f("select", Mt(l.$attrs, {
7486
7486
  "onUpdate:modelValue": c[0] || (c[0] = (h) => i.value = h),
7487
7487
  class: "text-field__input",
7488
7488
  onChange: o
@@ -7507,7 +7507,9 @@ const Pn = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
7507
7507
  zIndex: { type: Number, default: 0 },
7508
7508
  background: { type: String, default: "inherit" },
7509
7509
  padding: { type: String, default: "0" },
7510
- top: { type: String, default: "0" }
7510
+ top: { type: String, default: "0" },
7511
+ divider: { type: Boolean, default: !1 },
7512
+ dividerColor: { type: String, default: "var(--border-color-default)" }
7511
7513
  },
7512
7514
  setup(t) {
7513
7515
  return (e, i) => (g(), w("div", {
@@ -7517,13 +7519,15 @@ const Pn = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
7517
7519
  top: t.top,
7518
7520
  background: t.background,
7519
7521
  padding: t.padding,
7520
- boxShadow: t.shadow ? "0 0 5px 2px rgba(0,0,0,0.3)" : "none"
7522
+ boxShadow: t.shadow ? "0 0 5px 2px rgba(0,0,0,0.3)" : "none",
7523
+ borderBottom: t.divider ? "1px solid" : "none",
7524
+ borderColor: t.dividerColor
7521
7525
  })
7522
7526
  }, [
7523
7527
  P(e.$slots, "default", {}, void 0, !0)
7524
7528
  ], 4));
7525
7529
  }
7526
- }), ia = /* @__PURE__ */ A(Vm, [["__scopeId", "data-v-01876330"]]), _m = ["innerHTML"], Zm = { key: 1 }, Xm = /* @__PURE__ */ $({
7530
+ }), ia = /* @__PURE__ */ A(Vm, [["__scopeId", "data-v-832b5223"]]), _m = ["innerHTML"], Zm = { key: 1 }, Xm = /* @__PURE__ */ $({
7527
7531
  __name: "PString",
7528
7532
  props: {
7529
7533
  string: { type: String, required: !1, default: "" },
@@ -7622,7 +7626,7 @@ const Pn = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
7622
7626
  f("div", Jm, [
7623
7627
  P(s.$slots, "default", {}, void 0, !0)
7624
7628
  ]),
7625
- Xe(f("textarea", Mt({ ref: "textarea" }, s.$attrs, {
7629
+ Ye(f("textarea", Mt({ ref: "textarea" }, s.$attrs, {
7626
7630
  "onUpdate:modelValue": r[0] || (r[0] = (o) => e.value = o),
7627
7631
  class: "text-field__input",
7628
7632
  style: p(n),
@@ -7661,7 +7665,7 @@ const Pn = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
7661
7665
  emits: ["open"],
7662
7666
  setup(t, { emit: e }) {
7663
7667
  const i = t, n = e, s = T(i.open);
7664
- Ye(
7668
+ _e(
7665
7669
  () => i.open,
7666
7670
  () => {
7667
7671
  s.value = !s.value;
@@ -8093,7 +8097,7 @@ const hg = { class: "container" }, fg = { class: "slide-box" }, mg = { class: "i
8093
8097
  };
8094
8098
  return (c, d) => {
8095
8099
  const h = Br("click-outside");
8096
- return Xe((g(), w("div", {
8100
+ return Ye((g(), w("div", {
8097
8101
  class: "context-window",
8098
8102
  style: I({
8099
8103
  left: p(o),
@@ -8121,7 +8125,7 @@ const hg = { class: "container" }, fg = { class: "slide-box" }, mg = { class: "i
8121
8125
  emits: ["update:start", "update:end", "setStart", "setEnd"],
8122
8126
  setup(t, { emit: e }) {
8123
8127
  const i = t, n = e;
8124
- Ye(
8128
+ _e(
8125
8129
  () => [i.start, i.end],
8126
8130
  () => {
8127
8131
  i.start || (s.value = void 0), i.end || (r.value = void 0);
@@ -8478,7 +8482,7 @@ const ha = /* @__PURE__ */ A(Cg, [["render", Mg], ["__scopeId", "data-v-d28c6f33
8478
8482
  emits: ["click", "keyup-enter", "after-close"],
8479
8483
  setup(t, { emit: e }) {
8480
8484
  const i = t, n = e, s = i.customClass !== "" ? i.customClass : "inside-class", r = T(!1), o = T(!1), u = T(!1), l = T(i.close);
8481
- Ye(
8485
+ _e(
8482
8486
  () => i.close,
8483
8487
  () => {
8484
8488
  o.value = !1;
@@ -8487,7 +8491,7 @@ const ha = /* @__PURE__ */ A(Cg, [["render", Mg], ["__scopeId", "data-v-d28c6f33
8487
8491
  const c = (j) => {
8488
8492
  j.stopPropagation(), j.key === "Escape" && (i.showSaveDialog ? u.value = !0 : o.value = !1);
8489
8493
  };
8490
- Ye(o, async () => {
8494
+ _e(o, async () => {
8491
8495
  var j, se;
8492
8496
  await su(), o.value ? ((se = (j = document.getElementById("info-item-opened-content")) == null ? void 0 : j.querySelector("input")) == null || se.focus(), document.body.addEventListener("keydown", c)) : document.body.removeEventListener("keydown", c, !1), o.value === !1 && n("after-close");
8493
8497
  });
@@ -8554,7 +8558,7 @@ const ha = /* @__PURE__ */ A(Cg, [["render", Mg], ["__scopeId", "data-v-d28c6f33
8554
8558
  }, [
8555
8559
  P(j.$slots, "default", {}, void 0, !0)
8556
8560
  ], 6)),
8557
- p(o) ? Xe((g(), w("div", {
8561
+ p(o) ? Ye((g(), w("div", {
8558
8562
  key: 1,
8559
8563
  id: "info-item-opened-content",
8560
8564
  class: "open-window",
@@ -9067,7 +9071,7 @@ const Ma = /* @__PURE__ */ A(Qg, [["render", Kg], ["__scopeId", "data-v-0f1f2f84
9067
9071
  setup(t, { emit: e }) {
9068
9072
  const i = t, n = e, s = T(i.modelValue), r = T();
9069
9073
  let o = Zn.SearchModel();
9070
- Ye(
9074
+ _e(
9071
9075
  () => i.focus,
9072
9076
  () => {
9073
9077
  i.focus && setTimeout(() => {
@@ -9176,7 +9180,7 @@ const Ma = /* @__PURE__ */ A(Qg, [["render", Kg], ["__scopeId", "data-v-0f1f2f84
9176
9180
  emits: ["toggle"],
9177
9181
  setup(t, { emit: e }) {
9178
9182
  const i = t, n = e, s = T(!1);
9179
- Ye(
9183
+ _e(
9180
9184
  () => i.toggle,
9181
9185
  () => {
9182
9186
  s.value = !s.value;
@@ -9621,7 +9625,7 @@ const Fa = /* @__PURE__ */ A($1, [["render", P1], ["__scopeId", "data-v-5023d414
9621
9625
  emits: ["toggle"],
9622
9626
  setup(t, { emit: e }) {
9623
9627
  const i = t, n = e, s = T(!0);
9624
- Ye(
9628
+ _e(
9625
9629
  () => i.toggle,
9626
9630
  () => {
9627
9631
  s.value = !s.value;
@@ -10240,7 +10244,7 @@ const gv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10240
10244
  const e = T(t.initActiveIdx), i = (n) => {
10241
10245
  e.value = n;
10242
10246
  };
10243
- return Ye(
10247
+ return _e(
10244
10248
  () => t.initActiveIdx,
10245
10249
  () => {
10246
10250
  i(t.initActiveIdx);
@@ -12054,7 +12058,7 @@ var Ai = Qe("vue-preview"), Ml = { props: { coordinates: { type: Object }, trans
12054
12058
  t && t.complete && this.refreshImage(), this.refresh();
12055
12059
  } } };
12056
12060
  Ml.render = function(t, e, i, n, s, r) {
12057
- return g(), N("div", { ref: "root", class: r.classes.root, style: r.style }, [R("div", { ref: "wrapper", class: r.classes.wrapper, style: r.wrapperStyle }, [Xe(R("img", { ref: "image", src: i.image && i.image.src, class: r.classes.image, style: r.imageStyle }, null, 14, ["src"]), [[ns, i.image && i.image.src]])], 6)], 6);
12061
+ return g(), N("div", { ref: "root", class: r.classes.root, style: r.style }, [R("div", { ref: "wrapper", class: r.classes.wrapper, style: r.wrapperStyle }, [Ye(R("img", { ref: "image", src: i.image && i.image.src, class: r.classes.image, style: r.imageStyle }, null, 14, ["src"]), [[ns, i.image && i.image.src]])], 6)], 6);
12058
12062
  };
12059
12063
  var kl = { components: { Preview: Ml }, inheritAttrs: !1 };
12060
12064
  kl.render = function(t, e, i, n, s, r) {
@@ -12528,7 +12532,7 @@ var i0 = ["transitions"], lt = Qe("vue-advanced-cropper"), Rl = { name: "Cropper
12528
12532
  Rl.render = function(t, e, i, n, s, r) {
12529
12533
  return g(), N("div", { ref: "cropper", class: r.classes.cropper }, [R("div", { ref: "stretcher", class: r.classes.stretcher }, null, 2), R("div", { class: r.classes.boundaries, style: r.boundariesStyle }, [(g(), N(ai(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: X(function() {
12530
12534
  return [R("div", { class: r.classes.background, style: r.boundariesStyle }, null, 6), R("div", { class: r.classes.imageWrapper }, [R("img", { ref: "image", crossorigin: s.imageAttributes.crossOrigin, src: s.imageAttributes.src, class: r.classes.image, style: r.imageStyle, onMousedown: e[1] || (e[1] = Oe(function() {
12531
- }, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), R("div", { class: r.classes.foreground, style: r.boundariesStyle }, null, 6), Xe((g(), N(ai(i.stencilComponent), Mt({ 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"])), [[ns, s.imageLoaded]]), i.canvas ? (g(), N("canvas", n0, null, 512)) : J("", !0), i.canvas ? (g(), N("canvas", s0, null, 512)) : J("", !0)];
12535
+ }, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), R("div", { class: r.classes.foreground, style: r.boundariesStyle }, null, 6), Ye((g(), N(ai(i.stencilComponent), Mt({ 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"])), [[ns, s.imageLoaded]]), i.canvas ? (g(), N("canvas", n0, null, 512)) : J("", !0), i.canvas ? (g(), N("canvas", s0, null, 512)) : J("", !0)];
12532
12536
  }), _: 1 }, 8, ["class", "wheel-resize", "touch-resize", "touch-move", "mouse-move", "onMove", "onResize"]))], 6)], 2);
12533
12537
  };
12534
12538
  const r0 = {
@@ -12821,7 +12825,9 @@ const o0 = { class: "background-container" }, a0 = { class: "dialog-footer" }, l
12821
12825
  }, h = (S) => {
12822
12826
  i.fileInfo.setFile(S), i.fileInfo.fileSystemPath && (s.value = i.fileInfo), o.value = !1, n("crop");
12823
12827
  };
12824
- at(() => {
12828
+ _e(i.fileInfo, () => {
12829
+ s.value = i.fileInfo, s.value.url = i.fileInfo.getFileUrl();
12830
+ }), at(() => {
12825
12831
  i.fileInfo.fileSystemPath && (s.value = i.fileInfo, s.value.url = i.fileInfo.getFileUrl());
12826
12832
  });
12827
12833
  let m = null;
@@ -12838,7 +12844,7 @@ const o0 = { class: "background-container" }, a0 = { class: "dialog-footer" }, l
12838
12844
  const S = m.files[0];
12839
12845
  S.url = URL.createObjectURL(S), s.value = S, i.fileInfo.setFile(S), i.withCrop && x(s.value);
12840
12846
  };
12841
- return Ye(l, (S) => {
12847
+ return _e(l, (S) => {
12842
12848
  n("update:ratio", S);
12843
12849
  }), (S, O) => (g(), w(G, null, [
12844
12850
  f("div", {
@@ -12915,7 +12921,7 @@ const o0 = { class: "background-container" }, a0 = { class: "dialog-footer" }, l
12915
12921
  }, 8, ["show"])
12916
12922
  ], 64));
12917
12923
  }
12918
- }), $l = /* @__PURE__ */ A(S0, [["__scopeId", "data-v-f92868ed"]]);
12924
+ }), $l = /* @__PURE__ */ A(S0, [["__scopeId", "data-v-e0266b19"]]);
12919
12925
  function Al(t) {
12920
12926
  t.component("PTabs", ul), t.component("PUploaderFile", cl), t.component("PUploaderImage", $l), t.component("PAuthForm", Es), t.component("PAuthModal", al), t.component("PNameEdit", ll);
12921
12927
  }