@dxtmisha/functional 1.14.4 → 1.15.0

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/library.js CHANGED
@@ -1,6 +1,6 @@
1
- import { Api as e, ApiError as t, ApiMethodItem as n, BroadcastMessage as r, Cookie as i, DataStorage as a, Datetime as o, ErrorCenter as s, EventItem as c, Formatters as l, Geo as u, GeoFlag as d, GeoIntl as f, Hash as p, Icons as m, Loading as h, MetaStatic as g, Query as _, ScrollbarWidth as v, SearchList as y, ServerStorage as b, Translate as x, executeFunction as S, executePromise as C, forEach as w, getColumn as T, getElementId as E, getExp as D, isApiSuccess as O, isArray as ee, isDomRuntime as k, isFunction as A, isObject as te, isObjectNotArray as j, isSelected as M, isString as N, random as ne, toArray as P, toCamelCase as re, toDate as ie } from "@dxtmisha/functional-basic";
2
- import { computed as F, customRef as ae, effectScope as oe, getCurrentInstance as se, h as ce, hasInjectionContext as le, inject as ue, isRef as I, onServerPrefetch as de, onUnmounted as fe, provide as pe, ref as L, shallowRef as R, toRefs as me, triggerRef as he, useAttrs as ge, useSlots as _e, watch as z, watchEffect as ve } from "vue";
3
- import { MediaSocial as ye } from "@dxtmisha/media";
1
+ import { Api as e, ApiError as t, ApiMethodItem as n, BroadcastMessage as r, Cookie as i, DataStorage as a, Datetime as o, ErrorCenter as s, EventItem as c, Formatters as l, Geo as u, GeoFlag as d, GeoIntl as f, GeoUnit as p, Hash as m, Icons as h, Loading as g, MetaStatic as _, Query as v, ScrollbarWidth as y, SearchList as b, ServerStorage as x, Translate as S, executeFunction as C, executePromise as w, forEach as T, getColumn as E, getElementId as D, getExp as ee, isApiSuccess as O, isArray as te, isDomRuntime as k, isFunction as ne, isObject as A, isObjectNotArray as j, isSelected as M, isString as N, random as re, toArray as P, toCamelCase as ie, toDate as ae } from "@dxtmisha/functional-basic";
2
+ import { computed as F, customRef as oe, effectScope as se, getCurrentInstance as ce, h as le, hasInjectionContext as ue, inject as de, isRef as I, onServerPrefetch as fe, onUnmounted as pe, provide as me, ref as L, shallowRef as R, toRefs as he, triggerRef as ge, useAttrs as _e, useSlots as ve, watch as z, watchEffect as ye } from "vue";
3
+ import { MediaSocial as be } from "@dxtmisha/media";
4
4
  export * from "@dxtmisha/functional-basic";
5
5
  //#endregion
6
6
  //#region \0@oxc-project+runtime@0.130.0/helpers/typeof.js
@@ -14,7 +14,7 @@ function B(e) {
14
14
  }
15
15
  //#endregion
16
16
  //#region \0@oxc-project+runtime@0.130.0/helpers/toPrimitive.js
17
- function be(e, t) {
17
+ function xe(e, t) {
18
18
  if (B(e) != "object" || !e) return e;
19
19
  var n = e[Symbol.toPrimitive];
20
20
  if (n !== void 0) {
@@ -26,14 +26,14 @@ function be(e, t) {
26
26
  }
27
27
  //#endregion
28
28
  //#region \0@oxc-project+runtime@0.130.0/helpers/toPropertyKey.js
29
- function xe(e) {
30
- var t = be(e, "string");
29
+ function Se(e) {
30
+ var t = xe(e, "string");
31
31
  return B(t) == "symbol" ? t : t + "";
32
32
  }
33
33
  //#endregion
34
34
  //#region \0@oxc-project+runtime@0.130.0/helpers/defineProperty.js
35
35
  function V(e, t, n) {
36
- return (t = xe(t)) in e ? Object.defineProperty(e, t, {
36
+ return (t = Se(t)) in e ? Object.defineProperty(e, t, {
37
37
  value: n,
38
38
  enumerable: !0,
39
39
  configurable: !0,
@@ -42,12 +42,12 @@ function V(e, t, n) {
42
42
  }
43
43
  //#endregion
44
44
  //#region src/classes/design/DesignChanged.ts
45
- var Se = class {
45
+ var Ce = class {
46
46
  constructor(e, t = Object.keys(e)) {
47
47
  V(this, "props", void 0), V(this, "watch", void 0), V(this, "cache", {}), this.props = e, this.watch = t;
48
48
  }
49
49
  is(e) {
50
- return ee(e) ? !!e.find((e) => this.isDifferent(e)) : this.isDifferent(e);
50
+ return te(e) ? !!e.find((e) => this.isDifferent(e)) : this.isDifferent(e);
51
51
  }
52
52
  isChanged() {
53
53
  let e = this.props;
@@ -63,9 +63,9 @@ var Se = class {
63
63
  var t, n;
64
64
  return ((t = this.cache) == null ? void 0 : t[e]) !== ((n = this.props) == null ? void 0 : n[e]);
65
65
  }
66
- }, Ce = class {
66
+ }, we = class {
67
67
  constructor(e, t, n) {
68
- V(this, "props", void 0), V(this, "callback", void 0), V(this, "event", {}), V(this, "changed", void 0), this.props = e, this.callback = t, this.changed = new Se(e, n);
68
+ V(this, "props", void 0), V(this, "callback", void 0), V(this, "event", {}), V(this, "changed", void 0), this.props = e, this.callback = t, this.changed = new Ce(e, n);
69
69
  }
70
70
  make(e) {
71
71
  return this.makeCallback(e), this;
@@ -82,7 +82,7 @@ var Se = class {
82
82
  makeCallbackItem() {
83
83
  this.callback && this.callback(this.event);
84
84
  }
85
- }, we = class extends Ce {
85
+ }, Te = class extends we {
86
86
  make(e) {
87
87
  return this.makeCallback(e).then(), this;
88
88
  }
@@ -97,23 +97,23 @@ function H(e) {
97
97
  }
98
98
  //#endregion
99
99
  //#region src/functions/render/getClassName.ts
100
- function Te(e) {
100
+ function Ee(e) {
101
101
  return e && "class" in e && typeof e.class == "string" ? e.class : void 0;
102
102
  }
103
103
  //#endregion
104
104
  //#region src/functions/render/getIndexForRender.ts
105
- function Ee(e, t, n) {
106
- let r = t == null ? void 0 : t.id, i = t == null ? void 0 : t.index, a = Te(t), o = "";
105
+ function De(e, t, n) {
106
+ let r = t == null ? void 0 : t.id, i = t == null ? void 0 : t.index, a = Ee(t), o = "";
107
107
  if (N(e) && (o += e), n && (o += `.${n}`), i && N(i) && (o += `.${i}`), a && (o += `.${a}`), r && (o += `.${r}`), o !== "") return o;
108
108
  }
109
109
  //#endregion
110
110
  //#region src/functions/ref/render.ts
111
- function De(e, t, n, r) {
111
+ function Oe(e, t, n, r) {
112
112
  let i = t, a = t && "key" in t;
113
113
  return (!t || !a) && (i = {
114
114
  ...t,
115
- key: Ee(e, t, r)
116
- }), ce(e, i, n);
115
+ key: De(e, t, r)
116
+ }), le(e, i, n);
117
117
  }
118
118
  //#endregion
119
119
  //#region src/functions/toBind.ts
@@ -126,7 +126,7 @@ function U(e, t) {
126
126
  }
127
127
  //#endregion
128
128
  //#region src/functions/toBinds.ts
129
- function Oe(...e) {
129
+ function ke(...e) {
130
130
  let t = {};
131
131
  return e.forEach((e) => {
132
132
  e && (t = U(t, e));
@@ -149,7 +149,7 @@ var W = class {
149
149
  if (e) {
150
150
  e in this.caching || (this.caching[e] = F(() => this.computeModification(e)));
151
151
  let n = this.caching[e];
152
- if (n) return t ? Oe(n.value, t) : n.value;
152
+ if (n) return t ? ke(n.value, t) : n.value;
153
153
  }
154
154
  return t;
155
155
  }
@@ -160,7 +160,7 @@ var W = class {
160
160
  renderOne(e, t, n, r) {
161
161
  if (this.is(e)) {
162
162
  let i = r == null ? e : r;
163
- return De(this.get(e), this.getModification(i, t), n, i);
163
+ return Oe(this.get(e), this.getModification(i, t), n, i);
164
164
  }
165
165
  }
166
166
  renderAdd(e, t, n, r, i) {
@@ -171,15 +171,15 @@ var W = class {
171
171
  let n = H((t = this.modification) == null ? void 0 : t[e]);
172
172
  if (n && j(n)) {
173
173
  let e = {};
174
- return w(n, (t, n) => {
174
+ return T(n, (t, n) => {
175
175
  e[n] = H(t);
176
176
  }), e;
177
177
  }
178
178
  return {};
179
179
  }
180
- }, ke = class extends W {}, Ae = class {
180
+ }, Ae = class extends W {}, je = class {
181
181
  constructor(e, t, n) {
182
- V(this, "props", void 0), V(this, "options", void 0), V(this, "name", void 0), V(this, "element", L()), V(this, "refs", void 0), V(this, "components", void 0), V(this, "emits", void 0), V(this, "classes", void 0), V(this, "classesSub", void 0), V(this, "styles", void 0), V(this, "stylesSub", void 0), V(this, "attrs", void 0), V(this, "slots", void 0), V(this, "dataExpose", void 0), this.props = t, this.options = n, this.name = this.initName(e), this.refs = this.props ? me(this.props) : {}, this.components = new W(n == null ? void 0 : n.components, n == null ? void 0 : n.compMod), this.emits = n == null ? void 0 : n.emits, this.classes = F(() => this.updateClasses()), this.styles = F(() => this.updateStyles()), this.attrs = ge(), this.slots = _e();
182
+ V(this, "props", void 0), V(this, "options", void 0), V(this, "name", void 0), V(this, "element", L()), V(this, "refs", void 0), V(this, "components", void 0), V(this, "emits", void 0), V(this, "classes", void 0), V(this, "classesSub", void 0), V(this, "styles", void 0), V(this, "stylesSub", void 0), V(this, "attrs", void 0), V(this, "slots", void 0), V(this, "dataExpose", void 0), this.props = t, this.options = n, this.name = this.initName(e), this.refs = this.props ? he(this.props) : {}, this.components = new W(n == null ? void 0 : n.components, n == null ? void 0 : n.compMod), this.emits = n == null ? void 0 : n.emits, this.classes = F(() => this.updateClasses()), this.styles = F(() => this.updateStyles()), this.attrs = _e(), this.slots = ve();
183
183
  }
184
184
  init() {
185
185
  return this.classesSub = F(() => this.initClasses()), this.stylesSub = F(() => this.initStyles()), this.dataExpose = this.initExpose(), this;
@@ -225,16 +225,16 @@ var W = class {
225
225
  return j(e) ? e : Array.isArray(e) ? { [e.filter((e) => typeof e == "string" && e.trim() !== "").join(" ")]: !0 } : typeof e == "string" ? { [e]: !0 } : {};
226
226
  }
227
227
  toClassName(e) {
228
- if (te(e)) {
228
+ if (A(e)) {
229
229
  let t = {};
230
- return w(e, (e, n) => {
230
+ return T(e, (e, n) => {
231
231
  n.match(/\?\?/) ? t[n.replace(/\?\?/, this.getName())] = e : n.match(/\?/) ? t[n.replace(/\?/, this.getDesign())] = e : t[n] = e;
232
232
  }), t;
233
233
  }
234
234
  return {};
235
235
  }
236
236
  initName(e) {
237
- return w(e.split(".", 2), (e) => re(e));
237
+ return T(e.split(".", 2), (e) => ie(e));
238
238
  }
239
239
  updateClasses() {
240
240
  var e, t, n;
@@ -269,13 +269,13 @@ function G(e) {
269
269
  }
270
270
  //#endregion
271
271
  //#region src/classes/ref/DatetimeRef.ts
272
- var je = class {
272
+ var Me = class {
273
273
  constructor(e, t = "date", n = u.getLocation()) {
274
- V(this, "item", void 0), V(this, "type", void 0), V(this, "code", void 0), V(this, "date", void 0), V(this, "datetime", void 0), V(this, "year", L(2e3)), V(this, "month", L(1)), V(this, "day", L(1)), V(this, "hour", L(1)), V(this, "minute", L(1)), V(this, "second", L(1)), this.item = G(e), this.type = G(t), this.code = G(n), this.date = L(ie(this.item.value)), this.datetime = new o(this.date.value, this.type.value, this.code.value), z(this.item, (e) => {
275
- this.date.value = ie(e);
274
+ V(this, "item", void 0), V(this, "type", void 0), V(this, "code", void 0), V(this, "date", void 0), V(this, "datetime", void 0), V(this, "year", L(2e3)), V(this, "month", L(1)), V(this, "day", L(1)), V(this, "hour", L(1)), V(this, "minute", L(1)), V(this, "second", L(1)), this.item = G(e), this.type = G(t), this.code = G(n), this.date = L(ae(this.item.value)), this.datetime = new o(this.date.value, this.type.value, this.code.value), z(this.item, (e) => {
275
+ this.date.value = ae(e);
276
276
  }), z(this.type, (e) => this.datetime.setType(e)), z(this.code, (e) => this.datetime.setCode(e)), z(this.date, (e) => {
277
277
  this.datetime.setDate(e), this.updateDate();
278
- }), this.datetime.setWatch(() => he(this.date)), this.updateDate();
278
+ }), this.datetime.setWatch(() => ge(this.date)), this.updateDate();
279
279
  }
280
280
  getItem() {
281
281
  return this.item;
@@ -327,37 +327,37 @@ var je = class {
327
327
  return this.getScope().run(e);
328
328
  }
329
329
  static getScope() {
330
- return b.get("__ui:effect-scope-global__", () => oe(!0));
330
+ return x.get("__ui:effect-scope-global__", () => se(!0));
331
331
  }
332
- }, Me = class extends c {
332
+ }, Ne = class extends c {
333
333
  constructor(e, t, n = ["click"], r, i, a) {
334
334
  let o = G(e), s = G(t);
335
335
  super(o.value, n, r, i, a), s.value && this.setElementControl(s.value), z(o, (e) => this.setElement(e)), z(s, (e) => this.setElementControl(e));
336
336
  }
337
337
  }, q = class {
338
338
  static get() {
339
- return b.get("__ui:geo-ref__", () => R(u.getItem()));
339
+ return x.get("__ui:geo-ref__", () => R(u.getItem()));
340
340
  }
341
341
  static getCountry() {
342
- return b.get("__ui:geo-ref-country__", () => F(() => this.get().value.country));
342
+ return x.get("__ui:geo-ref-country__", () => F(() => this.get().value.country));
343
343
  }
344
344
  static getLanguage() {
345
- return b.get("__ui:geo-ref-language__", () => F(() => this.get().value.language));
345
+ return x.get("__ui:geo-ref-language__", () => F(() => this.get().value.language));
346
346
  }
347
347
  static getStandard() {
348
- return b.get("__ui:geo-ref-standard__", () => F(() => this.get().value.standard));
348
+ return x.get("__ui:geo-ref-standard__", () => F(() => this.get().value.standard));
349
349
  }
350
350
  static getFirstDay() {
351
- return b.get("__ui:geo-ref-first-day__", () => F(() => this.get().value.firstDay));
351
+ return x.get("__ui:geo-ref-first-day__", () => F(() => this.get().value.firstDay));
352
352
  }
353
353
  static getLocation() {
354
- return b.get("__ui:geo-ref-location__", () => F(() => this.get().value.location));
354
+ return x.get("__ui:geo-ref-location__", () => F(() => this.get().value.location));
355
355
  }
356
356
  static getLocationCountry() {
357
- return b.get("__ui:geo-ref-location-country__", () => F(() => this.get().value.locationCountry));
357
+ return x.get("__ui:geo-ref-location-country__", () => F(() => this.get().value.locationCountry));
358
358
  }
359
359
  static getLocationLanguage() {
360
- return b.get("__ui:geo-ref-location-language__", () => F(() => this.get().value.locationLanguage));
360
+ return x.get("__ui:geo-ref-location-language__", () => F(() => this.get().value.locationLanguage));
361
361
  }
362
362
  static set(e) {
363
363
  u.set(e, !0), this.get().value = u.getItem();
@@ -365,9 +365,12 @@ var je = class {
365
365
  static setValueDefault(e) {
366
366
  u.setValueDefault(e), this.get().value = u.getItem();
367
367
  }
368
- }, Ne = class {
368
+ }, Pe = class {
369
369
  constructor(e) {
370
- V(this, "flag", void 0), this.flag = F(() => new d(H(e == null ? q.getLocation().value : e)));
370
+ V(this, "flag", void 0), this.flag = F(() => {
371
+ var t;
372
+ return new d((t = H(e)) == null ? q.getLocation().value : t);
373
+ });
371
374
  }
372
375
  getCode() {
373
376
  return this.flag.value.getCode();
@@ -393,7 +396,7 @@ var je = class {
393
396
  getNationalLanguage(e) {
394
397
  return F(() => this.flag.value.getNationalLanguage(H(e)));
395
398
  }
396
- }, Pe = class {
399
+ }, Fe = class {
397
400
  constructor(e) {
398
401
  V(this, "location", void 0), V(this, "intl", void 0), this.location = G(e), this.intl = F(() => {
399
402
  var e;
@@ -466,9 +469,61 @@ var je = class {
466
469
  sort(e, t = (e, t) => [e, t]) {
467
470
  return F(() => this.intl.value.sort([...H(e)], t));
468
471
  }
469
- }, Fe = class e {
472
+ }, Ie = class {
473
+ constructor(e) {
474
+ V(this, "location", void 0), V(this, "unitInstance", void 0), this.location = G(e), this.unitInstance = F(() => {
475
+ var e;
476
+ return new p((e = this.location.value) == null ? q.getLocation().value : e);
477
+ });
478
+ }
479
+ getLocation() {
480
+ return F(() => this.unitInstance.value.getLocation());
481
+ }
482
+ millimeter(e, t) {
483
+ return F(() => this.unitInstance.value.millimeter(H(e), t));
484
+ }
485
+ centimeter(e, t) {
486
+ return F(() => this.unitInstance.value.centimeter(H(e), t));
487
+ }
488
+ meter(e, t) {
489
+ return F(() => this.unitInstance.value.meter(H(e), t));
490
+ }
491
+ kilometer(e, t) {
492
+ return F(() => this.unitInstance.value.kilometer(H(e), t));
493
+ }
494
+ squareMeter(e, t) {
495
+ return F(() => this.unitInstance.value.squareMeter(H(e), t));
496
+ }
497
+ hectare(e, t) {
498
+ return F(() => this.unitInstance.value.hectare(H(e), t));
499
+ }
500
+ gram(e, t) {
501
+ return F(() => this.unitInstance.value.gram(H(e), t));
502
+ }
503
+ kilogram(e, t) {
504
+ return F(() => this.unitInstance.value.kilogram(H(e), t));
505
+ }
506
+ tonne(e, t) {
507
+ return F(() => this.unitInstance.value.tonne(H(e), t));
508
+ }
509
+ milliliter(e, t) {
510
+ return F(() => this.unitInstance.value.milliliter(H(e), t));
511
+ }
512
+ liter(e, t) {
513
+ return F(() => this.unitInstance.value.liter(H(e), t));
514
+ }
515
+ celsius(e, t) {
516
+ return F(() => this.unitInstance.value.celsius(H(e), t));
517
+ }
518
+ kilometerPerHour(e, t) {
519
+ return F(() => this.unitInstance.value.kilometerPerHour(H(e), t));
520
+ }
521
+ format(e, t, n) {
522
+ return F(() => this.unitInstance.value.format(H(e), H(t), n));
523
+ }
524
+ }, Le = class e {
470
525
  constructor(e, t, n, r, i, a, o, s, c, l = 0, u = 9999999, d) {
471
- V(this, "list", void 0), V(this, "focus", void 0), V(this, "highlight", void 0), V(this, "highlightLengthStart", void 0), V(this, "filterMode", void 0), V(this, "selected", void 0), V(this, "keyValue", void 0), V(this, "keyLabel", void 0), V(this, "lite", void 0), V(this, "min", void 0), V(this, "max", void 0), V(this, "parent", void 0), V(this, "subList", {}), V(this, "data", F(() => w(H(this.list) || [], (e, t) => this.initItem(t, e)))), V(this, "liteData", F(() => {
526
+ V(this, "list", void 0), V(this, "focus", void 0), V(this, "highlight", void 0), V(this, "highlightLengthStart", void 0), V(this, "filterMode", void 0), V(this, "selected", void 0), V(this, "keyValue", void 0), V(this, "keyLabel", void 0), V(this, "lite", void 0), V(this, "min", void 0), V(this, "max", void 0), V(this, "parent", void 0), V(this, "subList", {}), V(this, "data", F(() => T(H(this.list) || [], (e, t) => this.initItem(t, e)))), V(this, "liteData", F(() => {
472
527
  if (this.isLite()) {
473
528
  let e = [];
474
529
  for (let t of this.data.value) {
@@ -487,7 +542,7 @@ var je = class {
487
542
  return this.data.value;
488
543
  })), V(this, "fullData", F(() => {
489
544
  let e = this.getFocus(), t = this.getHighlight(), n = this.getSelected();
490
- return w(this.data.value, (r) => {
545
+ return T(this.data.value, (r) => {
491
546
  var i, a;
492
547
  let o = M(r.index, n);
493
548
  return {
@@ -515,7 +570,7 @@ var je = class {
515
570
  })), V(this, "mapItems", F(() => this.map.value.filter((e) => e.type === "item"))), V(this, "items", F(() => this.map.value.filter((e) => e.type === "item" || e.type === "group" || e.type === "menu"))), V(this, "highlightFirstItem", F(() => {
516
571
  let e = this.getHighlight();
517
572
  if (e && e.length >= this.getHighlightLengthStart()) {
518
- let t = D(e, "i");
573
+ let t = ee(e, "i");
519
574
  if (t) return this.map.value.findIndex((e) => {
520
575
  var n, r, i;
521
576
  return ((n = e.label) == null ? void 0 : n.toString().match(t)) || ((r = e.index) == null ? void 0 : r.toString().match(t)) || ((i = e.search) == null ? void 0 : i.toString().match(t));
@@ -537,7 +592,7 @@ var je = class {
537
592
  })), V(this, "selectedListInGroup", F(() => {
538
593
  let e = this.getSelected();
539
594
  return e && this.isSelected.value ? this.data.value.filter((t) => M(t.index, e)) : [];
540
- })), V(this, "selectedNames", F(() => T(this.selectedList.value, "label"))), V(this, "selectedValues", F(() => T(this.selectedList.value, "value"))), this.list = e, this.focus = t, this.highlight = n, this.highlightLengthStart = r, this.filterMode = i, this.selected = a, this.keyValue = o, this.keyLabel = s, this.lite = c, this.min = l, this.max = u, this.parent = d, I(e) && z(e, () => {
595
+ })), V(this, "selectedNames", F(() => E(this.selectedList.value, "label"))), V(this, "selectedValues", F(() => E(this.selectedList.value, "value"))), this.list = e, this.focus = t, this.highlight = n, this.highlightLengthStart = r, this.filterMode = i, this.selected = a, this.keyValue = o, this.keyLabel = s, this.lite = c, this.min = l, this.max = u, this.parent = d, I(e) && z(e, () => {
541
596
  this.subList = {};
542
597
  });
543
598
  }
@@ -651,7 +706,7 @@ var je = class {
651
706
  return t.parent === e && this.isItem(t);
652
707
  }
653
708
  getIndex(e, t, n, r) {
654
- return e && !te(e) ? e : t && !te(t) ? t : n && r;
709
+ return e && !A(e) ? e : t && !A(t) ? t : n && r;
655
710
  }
656
711
  initItem(e, t) {
657
712
  if (j(t)) {
@@ -674,9 +729,9 @@ var je = class {
674
729
  value: e
675
730
  };
676
731
  }
677
- }, Ie = "__ui:router-item-ref__", J = class {
732
+ }, Re = "__ui:router-item-ref__", J = class {
678
733
  static get() {
679
- return b.get(Ie);
734
+ return x.get(Re);
680
735
  }
681
736
  static getLink(e, t, n) {
682
737
  var r;
@@ -698,7 +753,7 @@ var je = class {
698
753
  t && t.push(e).then();
699
754
  }
700
755
  static set(e) {
701
- b.set(Ie, () => e);
756
+ x.set(Re, () => e);
702
757
  }
703
758
  static setOneTime(e) {
704
759
  this.get() || this.set(e);
@@ -706,18 +761,18 @@ var je = class {
706
761
  static rawToHref(e) {
707
762
  return j(e) && "name" in e && N(e == null ? void 0 : e.name) ? this.getHref(e.name) : {};
708
763
  }
709
- }, Le = class {
764
+ }, ze = class {
710
765
  constructor() {
711
- V(this, "item", L()), V(this, "width", L(0)), V(this, "is", F(() => this.item.value !== void 0)), k() && (v.is().then((e) => {
766
+ V(this, "item", L()), V(this, "width", L(0)), V(this, "is", F(() => this.item.value !== void 0)), k() && (y.is().then((e) => {
712
767
  this.item.value = e;
713
- }), v.get().then((e) => {
768
+ }), y.get().then((e) => {
714
769
  this.width.value = e;
715
770
  }));
716
771
  }
717
772
  };
718
773
  //#endregion
719
774
  //#region src/functions/ref/getApiErrorRef.ts
720
- function Re(e) {
775
+ function Be(e) {
721
776
  return F(() => {
722
777
  if (!(!e.value || O(e.value) || !j(e.value))) return e.value.errorObject;
723
778
  });
@@ -763,9 +818,9 @@ function Z(n, r, i = !0, a, o, s, c, l = !0, u = e.getItem()) {
763
818
  x(), d.value === void 0 && S().then(), l ? E() : K.run(() => E());
764
819
  }
765
820
  };
766
- l && se() && fe(() => C());
821
+ l && ce() && pe(() => C());
767
822
  let T = () => {
768
- k() || de(async () => {
823
+ k() || fe(async () => {
769
824
  _ = !1, await S();
770
825
  });
771
826
  }, E = () => {
@@ -773,20 +828,20 @@ function Z(n, r, i = !0, a, o, s, c, l = !0, u = e.getItem()) {
773
828
  i && e.push(f), I(n) && e.push(n), a && e.push(a), X && e.push(X), e.length > 0 && (v = z(e, async () => {
774
829
  p.value || await S();
775
830
  }));
776
- }, D = F(() => (w(), d.value)), O = Re(d), ee = F(() => Array.isArray(d.value) ? d.value.length : +!!d.value), A = F(() => d.value === void 0);
831
+ }, D = F(() => (w(), d.value)), ee = Be(d), O = F(() => Array.isArray(d.value) ? d.value.length : +!!d.value), te = F(() => d.value === void 0);
777
832
  return {
778
833
  data: D,
779
834
  get item() {
780
835
  return w(), d;
781
836
  },
782
- errorItem: O,
837
+ errorItem: ee,
783
838
  isResponseContractValid: F(() => {
784
839
  var e;
785
840
  return ((e = h.value) == null ? void 0 : e.status) === "success";
786
841
  }),
787
842
  responseValidationResult: F(() => h.value),
788
- length: ee,
789
- starting: A,
843
+ length: O,
844
+ starting: te,
790
845
  loading: p,
791
846
  reading: m,
792
847
  isStarting() {
@@ -808,12 +863,12 @@ function Z(n, r, i = !0, a, o, s, c, l = !0, u = e.getItem()) {
808
863
  abort: () => g == null ? void 0 : g.abort()
809
864
  };
810
865
  }
811
- var ze = (e) => {
866
+ var Ve = (e) => {
812
867
  X || (X = e);
813
868
  };
814
869
  //#endregion
815
870
  //#region src/composables/ref/useApiAsyncRef.ts
816
- function Be(t, n, r = !0, i, a, o, s, c = !0, l = e.getItem()) {
871
+ function He(t, n, r = !0, i, a, o, s, c = !0, l = e.getItem()) {
817
872
  let u = Z(t, n, r, i, a, o, s, c, l);
818
873
  return u.initSsr(), u;
819
874
  }
@@ -855,7 +910,7 @@ function Q({ path: r, method: i = n.post, action: a, transformation: o, validate
855
910
  }
856
911
  //#endregion
857
912
  //#region src/composables/ref/useApiDelete.ts
858
- function Ve(e) {
913
+ function Ue(e) {
859
914
  return Q({
860
915
  ...e,
861
916
  method: n.delete
@@ -863,7 +918,7 @@ function Ve(e) {
863
918
  }
864
919
  //#endregion
865
920
  //#region src/composables/ref/useApiGet.ts
866
- function He(e) {
921
+ function We(e) {
867
922
  return Q({
868
923
  ...e,
869
924
  method: n.get
@@ -871,7 +926,7 @@ function He(e) {
871
926
  }
872
927
  //#endregion
873
928
  //#region src/composables/ref/useApiPost.ts
874
- function Ue(e) {
929
+ function Ge(e) {
875
930
  return Q({
876
931
  ...e,
877
932
  method: n.post
@@ -879,7 +934,7 @@ function Ue(e) {
879
934
  }
880
935
  //#endregion
881
936
  //#region src/composables/ref/useApiPut.ts
882
- function We(e) {
937
+ function Ke(e) {
883
938
  return Q({
884
939
  ...e,
885
940
  method: n.put
@@ -887,7 +942,7 @@ function We(e) {
887
942
  }
888
943
  //#endregion
889
944
  //#region src/composables/ref/useFormattersRef.ts
890
- function Ge(e, t) {
945
+ function qe(e, t) {
891
946
  let n = new l(t);
892
947
  return {
893
948
  listFormat: F(() => n.setList(e.value).to()),
@@ -896,7 +951,7 @@ function Ge(e, t) {
896
951
  }
897
952
  //#endregion
898
953
  //#region src/composables/ref/useSearchValueRef.ts
899
- function Ke(e, t) {
954
+ function Je(e, t) {
900
955
  let n = t == null ? L("") : t, r = L(n.value), i = L(!1), a;
901
956
  return z(n, (t, o, s) => {
902
957
  let c = e.getOptions().getDelay();
@@ -913,8 +968,8 @@ function Ke(e, t) {
913
968
  }
914
969
  //#endregion
915
970
  //#region src/composables/ref/useSearchRef.ts
916
- function qe(e, t, n, r) {
917
- let i = new y(void 0, t, void 0, r), { search: a, searchDelay: o, loading: s } = Ke(i, n), c = () => H(S(e)) || [], l = F(() => i.setValue(o.value).getItem().isSearch()), u = F(() => i.setList(c()).setValue(o.value).to());
971
+ function Ye(e, t, n, r) {
972
+ let i = new b(void 0, t, void 0, r), { search: a, searchDelay: o, loading: s } = Je(i, n), c = () => H(C(e)) || [], l = F(() => i.setValue(o.value).getItem().isSearch()), u = F(() => i.setList(c()).setValue(o.value).to());
918
973
  return {
919
974
  isSearch: l,
920
975
  search: a,
@@ -925,27 +980,27 @@ function qe(e, t, n, r) {
925
980
  }
926
981
  //#endregion
927
982
  //#region src/composables/ref/useApiManagementRef.ts
928
- function Je(e, t, n, r, i, a, o, s) {
929
- let { path: c, options: l, reactivity: u, conditions: d, transformation: f, validateResponseContract: p, errorContract: m, typeData: h, unmounted: g, skeleton: _ } = e, v, y, b, x, S, w = Z(c, l, u, d, f, p, m, g, s), T = F(() => h === void 0 ? !0 : w.isStarting() ? !1 : A(h) ? h(w.data.value) : w.data.value instanceof h), E = F(() => w.isStarting() && _ ? _() : w.data.value);
930
- if (t && (v = Ge(E, t)), n && (y = qe(F(() => {
983
+ function Xe(e, t, n, r, i, a, o, s) {
984
+ let { path: c, options: l, reactivity: u, conditions: d, transformation: f, validateResponseContract: p, errorContract: m, typeData: h, unmounted: g, skeleton: _ } = e, v, y, b, x, S, C = Z(c, l, u, d, f, p, m, g, s), T = F(() => h === void 0 ? !0 : C.isStarting() ? !1 : ne(h) ? h(C.data.value) : C.data.value instanceof h), E = F(() => C.isStarting() && _ ? _() : C.data.value);
985
+ if (t && (v = qe(E, t)), n && (y = Ye(F(() => {
931
986
  var e;
932
- let t = (e = v == null ? void 0 : v.listFormat.value) == null ? w.data.value : e;
987
+ let t = (e = v == null ? void 0 : v.listFormat.value) == null ? C.data.value : e;
933
988
  if (Array.isArray(t)) return t;
934
989
  }), n.columns, n.value, n.options)), r || i || a) {
935
990
  let e = (e) => {
936
- o == null || o(), O(e) && w.reset().then();
991
+ o == null || o(), O(e) && C.reset().then();
937
992
  }, t = (t) => async (n) => {
938
- A(t) && await C(t(n)), e(n);
993
+ ne(t) && await w(t(n)), e(n);
939
994
  };
940
- r && (b = Ue({
995
+ r && (b = Ge({
941
996
  ...r,
942
997
  action: t(r.action),
943
998
  apiInstance: s
944
- })), i && (x = We({
999
+ })), i && (x = Ke({
945
1000
  ...i,
946
1001
  action: t(i.action),
947
1002
  apiInstance: s
948
- })), a && (S = Ve({
1003
+ })), a && (S = Ue({
949
1004
  ...a,
950
1005
  action: t(a.action),
951
1006
  apiInstance: s
@@ -953,37 +1008,37 @@ function Je(e, t, n, r, i, a, o, s) {
953
1008
  }
954
1009
  let D = F(() => {
955
1010
  if (T.value) {
956
- if (y && Array.isArray(w.data.value)) return y.listSearch.value;
1011
+ if (y && Array.isArray(C.data.value)) return y.listSearch.value;
957
1012
  if (v) return v.listFormat.value;
958
1013
  }
959
1014
  return E.value;
960
1015
  });
961
1016
  return {
962
1017
  isValid: T,
963
- isResponseContractValid: w.isResponseContractValid,
964
- responseValidationResult: w.responseValidationResult,
1018
+ isResponseContractValid: C.isResponseContractValid,
1019
+ responseValidationResult: C.responseValidationResult,
965
1020
  list: D,
966
1021
  get data() {
967
- return w.data;
1022
+ return C.data;
968
1023
  },
969
- errorItem: w.errorItem,
1024
+ errorItem: C.errorItem,
970
1025
  get length() {
971
- return y ? y.length : w.length;
1026
+ return y ? y.length : C.length;
972
1027
  },
973
- lengthData: w.length,
974
- starting: w.starting,
975
- reading: w.reading,
976
- loading: w.loading,
1028
+ lengthData: C.length,
1029
+ starting: C.starting,
1030
+ reading: C.reading,
1031
+ loading: C.loading,
977
1032
  loadingSearch: y == null ? void 0 : y.loading,
978
1033
  loadingPost: b == null ? void 0 : b.loading,
979
1034
  loadingPut: x == null ? void 0 : x.loading,
980
1035
  loadingDelete: S == null ? void 0 : S.loading,
981
1036
  isSearch: y == null ? void 0 : y.isSearch,
982
1037
  search: y == null ? void 0 : y.search,
983
- init: w.init,
984
- initSsr: w.initSsr,
985
- reset: w.reset,
986
- abort: w.abort,
1038
+ init: C.init,
1039
+ initSsr: C.initSsr,
1040
+ reset: C.reset,
1041
+ abort: C.abort,
987
1042
  sendPost: async (e) => await (b == null ? void 0 : b.send(e)),
988
1043
  sendPut: async (e) => await (x == null ? void 0 : x.send(e)),
989
1044
  sendDelete: async (e) => await (S == null ? void 0 : S.send(e))
@@ -991,17 +1046,17 @@ function Je(e, t, n, r, i, a, o, s) {
991
1046
  }
992
1047
  //#endregion
993
1048
  //#region src/composables/ref/useApiManagementAsyncRef.ts
994
- function Ye(e, t, n, r, i, a, o, s) {
995
- let c = Je(e, t, n, r, i, a, o, s);
1049
+ function Ze(e, t, n, r, i, a, o, s) {
1050
+ let c = Xe(e, t, n, r, i, a, o, s);
996
1051
  return c.initSsr(), c;
997
1052
  }
998
1053
  //#endregion
999
1054
  //#region src/composables/ref/useBroadcastValueRef.ts
1000
- var Xe = () => b.get("__ui:broadcast-value-ref__", () => ({}));
1001
- function Ze(e, t) {
1002
- let n = `broadcast--${e}`, i = Xe();
1055
+ var Qe = () => x.get("__ui:broadcast-value-ref__", () => ({}));
1056
+ function $e(e, t) {
1057
+ let n = `broadcast--${e}`, i = Qe();
1003
1058
  if (n in i) return i[n];
1004
- let a = L(S(t));
1059
+ let a = L(C(t));
1005
1060
  if (k()) {
1006
1061
  let e = new r(n, (e) => {
1007
1062
  a.value !== e.data.message && (a.value = e.data.message);
@@ -1014,11 +1069,11 @@ function Ze(e, t) {
1014
1069
  }
1015
1070
  //#endregion
1016
1071
  //#region src/composables/ref/useCookieRef.ts
1017
- var Qe = () => b.get("__ui:cookie-ref__", () => ({}));
1018
- function $e(e, t, n) {
1019
- let r = Qe();
1072
+ var et = () => x.get("__ui:cookie-ref__", () => ({}));
1073
+ function tt(e, t, n) {
1074
+ let r = et();
1020
1075
  if (e in r) return r[e];
1021
- let a = new i(e), o = Ze(`__cookie:${e}`, a.get(t, n));
1076
+ let a = new i(e), o = $e(`__cookie:${e}`, a.get(t, n));
1022
1077
  return K.run(() => {
1023
1078
  z(o, (e) => {
1024
1079
  a.set(e, n);
@@ -1027,28 +1082,33 @@ function $e(e, t, n) {
1027
1082
  }
1028
1083
  //#endregion
1029
1084
  //#region src/composables/ref/useGeoIntlRef.ts
1030
- function et() {
1031
- return new Pe();
1085
+ function nt() {
1086
+ return new Fe();
1087
+ }
1088
+ //#endregion
1089
+ //#region src/composables/ref/useGeoUnitRef.ts
1090
+ function rt() {
1091
+ return new Ie();
1032
1092
  }
1033
1093
  //#endregion
1034
1094
  //#region src/composables/ref/useHashRef.ts
1035
- var tt = () => b.get("__ui:hash-ref__", () => ({}));
1036
- function nt(e, t) {
1037
- let n = tt();
1095
+ var it = () => x.get("__ui:hash-ref__", () => ({}));
1096
+ function at(e, t) {
1097
+ let n = it();
1038
1098
  if (e in n) return n[e];
1039
- let r = R(p.get(e, t));
1099
+ let r = R(m.get(e, t));
1040
1100
  return k() && (K.run(() => {
1041
- z(r, (t) => p.set(e, t));
1042
- }), p.addWatch(e, (e) => {
1101
+ z(r, (t) => m.set(e, t));
1102
+ }), m.addWatch(e, (e) => {
1043
1103
  r.value = e;
1044
1104
  })), n[e] = r, r;
1045
1105
  }
1046
1106
  //#endregion
1047
1107
  //#region src/composables/ref/useLazyRef.ts
1048
- var rt = (e = { rootMargin: "128px 0px" }) => {
1108
+ var ot = (e = { rootMargin: "128px 0px" }) => {
1049
1109
  let t = {}, n = k() && "IntersectionObserver" in window ? new IntersectionObserver((e) => {
1050
1110
  e.forEach((e) => {
1051
- let n = E(e.target);
1111
+ let n = D(e.target);
1052
1112
  if (n in t) {
1053
1113
  let r = t[n];
1054
1114
  r.status.value = e.isIntersecting, r.ratio.value = e.intersectionRatio, r.entry.value = e;
@@ -1056,7 +1116,7 @@ var rt = (e = { rootMargin: "128px 0px" }) => {
1056
1116
  });
1057
1117
  }, e) : void 0, r = (e) => {
1058
1118
  if (e) {
1059
- let i = E(e);
1119
+ let i = D(e);
1060
1120
  if (i in t) {
1061
1121
  var r;
1062
1122
  n == null || n.unobserve(e), (r = t[i]) == null || r.stopWatch(), delete t[i];
@@ -1066,7 +1126,7 @@ var rt = (e = { rootMargin: "128px 0px" }) => {
1066
1126
  return {
1067
1127
  intersectionObserver: n,
1068
1128
  getItem(e) {
1069
- return t[E(e)];
1129
+ return t[D(e)];
1070
1130
  },
1071
1131
  addLazyItem(e) {
1072
1132
  let i = R(!n);
@@ -1074,7 +1134,7 @@ var rt = (e = { rootMargin: "128px 0px" }) => {
1074
1134
  let a;
1075
1135
  a = z(e, (o, s) => {
1076
1136
  if (s && r(s), e.value) {
1077
- let r = E(e.value);
1137
+ let r = D(e.value);
1078
1138
  t[r] = {
1079
1139
  status: i,
1080
1140
  ratio: R(0),
@@ -1089,16 +1149,16 @@ var rt = (e = { rootMargin: "128px 0px" }) => {
1089
1149
  removeLazyItem: r,
1090
1150
  disconnectLazy: () => n == null ? void 0 : n.disconnect()
1091
1151
  };
1092
- }, it = () => b.get("__ui:lazy-item-by-margin-ref__", () => []), at = (e) => {
1093
- let t = it(), n = t.find((t) => t.rootMargin === e);
1152
+ }, st = () => x.get("__ui:lazy-item-by-margin-ref__", () => []), ct = (e) => {
1153
+ let t = st(), n = t.find((t) => t.rootMargin === e);
1094
1154
  if (n) return n.item;
1095
- let r = rt({ rootMargin: e });
1155
+ let r = ot({ rootMargin: e });
1096
1156
  return t.push({
1097
1157
  rootMargin: e,
1098
1158
  item: r
1099
1159
  }), r;
1100
- }, ot = (e, t) => {
1101
- let n = at(t);
1160
+ }, lt = (e, t) => {
1161
+ let n = ct(t);
1102
1162
  return {
1103
1163
  lazyItemStatus: n.addLazyItem(e),
1104
1164
  get lazyItem() {
@@ -1108,19 +1168,19 @@ var rt = (e = { rootMargin: "128px 0px" }) => {
1108
1168
  };
1109
1169
  //#endregion
1110
1170
  //#region src/composables/ref/useLoadingRef.ts
1111
- function st() {
1112
- let e = R(h.is());
1113
- return k() && h.registrationEvent(({ detail: t }) => {
1171
+ function ut() {
1172
+ let e = R(g.is());
1173
+ return k() && g.registrationEvent(({ detail: t }) => {
1114
1174
  e.value = t.loading;
1115
1175
  }), e;
1116
1176
  }
1117
1177
  //#endregion
1118
1178
  //#region src/functions/executeUse.ts
1119
- var ct = /* @__PURE__ */ function(e) {
1179
+ var dt = /* @__PURE__ */ function(e) {
1120
1180
  return e.global = "global", e.provide = "provide", e.local = "local", e;
1121
- }({}), lt = 1, ut = ne(1e5, 999999), dt = () => `__execute_use${ut}::${lt++}`, ft = () => b.get("__ui:execute-use-global__", () => []);
1181
+ }({}), ft = 1, pt = re(1e5, 999999), mt = () => `__execute_use${pt}::${ft++}`, ht = () => x.get("__ui:execute-use-global__", () => []);
1122
1182
  function $(e, t = "provide") {
1123
- let n = dt(), r, i = (t) => {
1183
+ let n = mt(), r, i = (t) => {
1124
1184
  let n = Object.freeze(e(...t));
1125
1185
  return {
1126
1186
  ...n,
@@ -1130,7 +1190,7 @@ function $(e, t = "provide") {
1130
1190
  };
1131
1191
  }, a = (e) => {
1132
1192
  let t = Object.freeze(i(e));
1133
- return pe(n, t), t;
1193
+ return me(n, t), t;
1134
1194
  }, o = (e) => {
1135
1195
  let t = i(e);
1136
1196
  return Object.freeze({
@@ -1139,27 +1199,27 @@ function $(e, t = "provide") {
1139
1199
  r = void 0;
1140
1200
  }
1141
1201
  });
1142
- }, s = (...e) => t === "provide" ? ue(n, void 0) || a(e) : (r || K.run(() => {
1202
+ }, s = (...e) => t === "provide" ? de(n, void 0) || a(e) : (r || K.run(() => {
1143
1203
  r = o(e);
1144
1204
  }), r);
1145
- return t === "global" && ft().push(s), s;
1205
+ return t === "global" && ht().push(s), s;
1146
1206
  }
1147
- function pt(e) {
1207
+ function gt(e) {
1148
1208
  return $(e, "global");
1149
1209
  }
1150
- function mt(e) {
1210
+ function _t(e) {
1151
1211
  return $(e, "provide");
1152
1212
  }
1153
- function ht(e) {
1213
+ function vt(e) {
1154
1214
  return $(e, "local");
1155
1215
  }
1156
- function gt() {
1157
- ft().forEach((e) => e());
1216
+ function yt() {
1217
+ ht().forEach((e) => e());
1158
1218
  }
1159
1219
  //#endregion
1160
1220
  //#region src/composables/ref/useMeta.ts
1161
- var _t = ht(() => {
1162
- let e = g, t = L(e.getTitle()), n = L(e.getKeywords()), r = L(e.getDescription()), i = L(e.getImage()), a = L(e.getCanonical()), o = L(e.getRobots()), s = L(e.getAuthor()), c = L(e.getSiteName()), l = () => e.html(), u = (e) => {
1221
+ var bt = vt(() => {
1222
+ let e = _, t = L(e.getTitle()), n = L(e.getKeywords()), r = L(e.getDescription()), i = L(e.getImage()), a = L(e.getCanonical()), o = L(e.getRobots()), s = L(e.getAuthor()), c = L(e.getSiteName()), l = () => e.html(), u = (e) => {
1163
1223
  t.value = e, x();
1164
1224
  }, d = (e) => {
1165
1225
  n.value = e, x();
@@ -1171,7 +1231,7 @@ var _t = ht(() => {
1171
1231
  a.value = e, x();
1172
1232
  }, h = (e) => {
1173
1233
  o.value = e, x();
1174
- }, _ = (e) => {
1234
+ }, g = (e) => {
1175
1235
  s.value = e, x();
1176
1236
  }, v = (e) => {
1177
1237
  c.value = e, x();
@@ -1208,27 +1268,27 @@ var _t = ht(() => {
1208
1268
  setTitle: u,
1209
1269
  setKeywords: d,
1210
1270
  setDescription: f,
1211
- setAuthor: _,
1271
+ setAuthor: g,
1212
1272
  setImage: p,
1213
1273
  setCanonical: m,
1214
1274
  setRobots: h,
1215
1275
  setSiteName: v,
1216
1276
  setSuffix: (t) => e.setSuffix(t)
1217
1277
  };
1218
- }), vt = () => _t(), yt = () => b.get("__ui:query-ref__", () => ({}));
1219
- function bt(e, t) {
1220
- let n = yt();
1278
+ }), xt = () => bt(), St = () => x.get("__ui:query-ref__", () => ({}));
1279
+ function Ct(e, t) {
1280
+ let n = St();
1221
1281
  if (e in n) return n[e];
1222
- let r = R(_.get(e, t));
1282
+ let r = R(v.get(e, t));
1223
1283
  return k() && (K.run(() => {
1224
- z(r, (t) => _.set(e, t));
1225
- }), _.addWatch(e, (e) => {
1284
+ z(r, (t) => v.set(e, t));
1285
+ }), v.addWatch(e, (e) => {
1226
1286
  r.value = e;
1227
1287
  })), n[e] = r, r;
1228
1288
  }
1229
1289
  //#endregion
1230
1290
  //#region src/composables/ref/useRouterList.ts
1231
- var xt = (e, t, n = !0) => {
1291
+ var wt = (e, t, n = !0) => {
1232
1292
  var r;
1233
1293
  let i = I(t) ? t : L(t || ((r = e.value) == null || (r = r[0]) == null ? void 0 : r.value) || ""), a = () => o(i.value), o = (t) => {
1234
1294
  var n;
@@ -1243,7 +1303,7 @@ var xt = (e, t, n = !0) => {
1243
1303
  var e;
1244
1304
  return ((e = a()) == null ? void 0 : e.label) || "";
1245
1305
  }),
1246
- list: F(() => e.value ? w(e.value, (e) => n && !("to" in e) ? {
1306
+ list: F(() => e.value ? T(e.value, (e) => n && !("to" in e) ? {
1247
1307
  ...e,
1248
1308
  to: { name: e.value }
1249
1309
  } : e) : []),
@@ -1253,9 +1313,9 @@ var xt = (e, t, n = !0) => {
1253
1313
  s((t = e.value) == null || (t = t[0]) == null ? void 0 : t.value);
1254
1314
  }
1255
1315
  };
1256
- }, St = () => b.get("__ui:session-ref__", () => ({}));
1257
- function Ct(e, t) {
1258
- let n = St();
1316
+ }, Tt = () => x.get("__ui:session-ref__", () => ({}));
1317
+ function Et(e, t) {
1318
+ let n = Tt();
1259
1319
  if (e in n) return n[e];
1260
1320
  let r = new a(e, !0), i = L(r.get(t));
1261
1321
  return K.run(() => {
@@ -1264,9 +1324,9 @@ function Ct(e, t) {
1264
1324
  }
1265
1325
  //#endregion
1266
1326
  //#region src/composables/ref/useStorageRef.ts
1267
- var wt = () => b.get("__ui:storage-ref__", () => ({}));
1268
- function Tt(e, t, n) {
1269
- let r = wt();
1327
+ var Dt = () => x.get("__ui:storage-ref__", () => ({}));
1328
+ function Ot(e, t, n) {
1329
+ let r = Dt();
1270
1330
  if (e in r) return r[e];
1271
1331
  let i = new a(e), o = L(i.get(t, n));
1272
1332
  return K.run(() => {
@@ -1277,7 +1337,7 @@ function Tt(e, t, n) {
1277
1337
  }
1278
1338
  //#endregion
1279
1339
  //#region src/composables/ref/useTranslateRef.ts
1280
- function Et(e, t = x.getItem()) {
1340
+ function kt(e, t = S.getItem()) {
1281
1341
  let n = R(t.getListSync(e, !0)), r = async () => {
1282
1342
  n.value = { ...await t.getList(e) };
1283
1343
  };
@@ -1290,38 +1350,38 @@ function Et(e, t = x.getItem()) {
1290
1350
  }
1291
1351
  return n;
1292
1352
  }
1293
- var Dt = (e) => Et(e);
1353
+ var At = (e) => kt(e);
1294
1354
  //#endregion
1295
1355
  //#region src/functions/computedAsync.ts
1296
- function Ot(e, t, n, r) {
1297
- let i = R(S(t)), a = !0, o = async () => {
1298
- let t = await C(e);
1356
+ function jt(e, t, n, r) {
1357
+ let i = R(C(t)), a = !0, o = async () => {
1358
+ let t = await w(e);
1299
1359
  t !== n && (i.value = t);
1300
1360
  }, s = () => {
1301
- a && (a = !1, k() ? ve(o) : o().then());
1361
+ a && (a = !1, k() ? ye(o) : o().then());
1302
1362
  };
1303
1363
  return F(() => (s(), i.value), r);
1304
1364
  }
1305
1365
  //#endregion
1306
1366
  //#region src/functions/computedByLanguage.ts
1307
- function kt(e, t = () => void 0, n, r) {
1367
+ function Mt(e, t = () => void 0, n, r) {
1308
1368
  return F(() => {
1309
1369
  if (q.get().value && (n === void 0 || n())) {
1310
1370
  let t = e();
1311
1371
  if (t !== void 0) return t;
1312
1372
  }
1313
- return S(t);
1373
+ return C(t);
1314
1374
  }, r);
1315
1375
  }
1316
1376
  //#endregion
1317
1377
  //#region src/functions/computedEternity.ts
1318
- function At(e, t) {
1319
- return ae((n, r) => {
1320
- let i = R(S(t)), a = !1, o = async () => {
1321
- i.value = await C(e), r();
1378
+ function Nt(e, t) {
1379
+ return oe((n, r) => {
1380
+ let i = R(C(t)), a = !1, o = async () => {
1381
+ i.value = await w(e), r();
1322
1382
  }, s = () => {
1323
1383
  a || (a = !0, k() ? K.run(() => {
1324
- ve(async () => await o());
1384
+ ye(async () => await o());
1325
1385
  }) : o().then());
1326
1386
  };
1327
1387
  return {
@@ -1336,42 +1396,42 @@ function At(e, t) {
1336
1396
  }
1337
1397
  //#endregion
1338
1398
  //#region src/functions/dxtFunctionalPlugin.ts
1339
- var jt = { install(t, n = {}) {
1340
- if (n.api && e.setConfig(n.api), n.translate && x.setConfig(n.translate), n.location && q.setValueDefault(n.location), n.icons && m.setConfig(n.icons), n.iconsSocial && ye.addIcons(n.iconsSocial), n.metaSuffix && vt().setSuffix(n.metaSuffix), n.router) J.set(n.router);
1399
+ var Pt = { install(t, n = {}) {
1400
+ if (n.api && e.setConfig(n.api), n.translate && S.setConfig(n.translate), n.location && q.setValueDefault(n.location), n.icons && h.setConfig(n.icons), n.iconsSocial && be.addIcons(n.iconsSocial), n.metaSuffix && xt().setSuffix(n.metaSuffix), n.router) J.set(n.router);
1341
1401
  else {
1342
1402
  let e = t.config.globalProperties.$router;
1343
1403
  e && J.set(e);
1344
1404
  }
1345
- n.errorCauses && s.addList(n.errorCauses), n.errorHandlers && s.addHandlerList(n.errorHandlers), n.errorCallbacks && n.errorCallbacks.forEach((e) => s.addCallback(e)), gt();
1405
+ n.errorCauses && s.addList(n.errorCauses), n.errorHandlers && s.addHandlerList(n.errorHandlers), n.errorCallbacks && n.errorCallbacks.forEach((e) => s.addCallback(e)), yt();
1346
1406
  } };
1347
1407
  //#endregion
1348
1408
  //#region src/functions/getInject.ts
1349
- function Mt(e) {
1350
- if (le()) {
1351
- let t = ue(e);
1409
+ function Ft(e) {
1410
+ if (ue()) {
1411
+ let t = de(e);
1352
1412
  if (t) return t;
1353
1413
  }
1354
1414
  }
1355
1415
  //#endregion
1356
1416
  //#region src/functions/ref/executeFunctionRef.ts
1357
- function Nt(e) {
1358
- return H(S(e));
1417
+ function It(e) {
1418
+ return H(C(e));
1359
1419
  }
1360
1420
  //#endregion
1361
1421
  //#region src/functions/render/getBind.ts
1362
- function Pt(e, t = {}, n = "value", r = !1) {
1422
+ function Lt(e, t = {}, n = "value", r = !1) {
1363
1423
  let i = typeof t == "string", a = i ? t : n, o = i ? {} : t;
1364
1424
  return e ? e && j(e) && (a in e || r) ? U(o, e) : U(o, { [a]: e }) : i ? {} : { ...o };
1365
1425
  }
1366
1426
  //#endregion
1367
1427
  //#region src/functions/ref/getBindRef.ts
1368
- function Ft(e, t = {}, n = "value") {
1369
- return F(() => Pt(H(e), H(t), n));
1428
+ function Rt(e, t = {}, n = "value") {
1429
+ return F(() => Lt(H(e), H(t), n));
1370
1430
  }
1371
1431
  //#endregion
1372
1432
  //#region src/functions/ref/setRef.ts
1373
- function It(e, t) {
1433
+ function zt(e, t) {
1374
1434
  e.value !== t && (e.value = t);
1375
1435
  }
1376
1436
  //#endregion
1377
- export { je as DatetimeRef, Ce as DesignAbstract, we as DesignAsyncAbstract, Se as DesignChanged, ke as DesignComp, W as DesignComponents, Ae as DesignConstructorAbstract, K as EffectScopeGlobal, Me as EventRef, ct as ExecuteUseType, Ne as GeoFlagRef, Pe as GeoIntlRef, q as GeoRef, Fe as ListDataRef, J as RouterItemRef, Le as ScrollbarWidthRef, Ot as computedAsync, kt as computedByLanguage, At as computedEternity, jt as dxtFunctionalPlugin, Nt as executeFunctionRef, $ as executeUse, pt as executeUseGlobal, gt as executeUseGlobalInit, ht as executeUseLocal, mt as executeUseProvide, Re as getApiErrorRef, Pt as getBind, Ft as getBindRef, Te as getClassName, Ee as getIndexForRender, Mt as getInject, Y as getOptions, H as getRef, De as render, ze as setApiRefGlobalConditions, It as setRef, Dt as t, U as toBind, Oe as toBinds, G as toRefItem, Be as useApiAsyncRef, Ve as useApiDelete, He as useApiGet, Ye as useApiManagementAsyncRef, Je as useApiManagementRef, Ue as useApiPost, We as useApiPut, Z as useApiRef, Q as useApiRequest, Ze as useBroadcastValueRef, $e as useCookieRef, Ge as useFormattersRef, et as useGeoIntlRef, nt as useHashRef, ot as useLazyItemByMarginRef, rt as useLazyRef, st as useLoadingRef, vt as useMeta, bt as useQueryRef, xt as useRouterList, qe as useSearchRef, Ke as useSearchValueRef, Ct as useSessionRef, Tt as useStorageRef, Et as useTranslateRef };
1437
+ export { Me as DatetimeRef, we as DesignAbstract, Te as DesignAsyncAbstract, Ce as DesignChanged, Ae as DesignComp, W as DesignComponents, je as DesignConstructorAbstract, K as EffectScopeGlobal, Ne as EventRef, dt as ExecuteUseType, Pe as GeoFlagRef, Fe as GeoIntlRef, q as GeoRef, Ie as GeoUnitRef, Le as ListDataRef, J as RouterItemRef, ze as ScrollbarWidthRef, jt as computedAsync, Mt as computedByLanguage, Nt as computedEternity, Pt as dxtFunctionalPlugin, It as executeFunctionRef, $ as executeUse, gt as executeUseGlobal, yt as executeUseGlobalInit, vt as executeUseLocal, _t as executeUseProvide, Be as getApiErrorRef, Lt as getBind, Rt as getBindRef, Ee as getClassName, De as getIndexForRender, Ft as getInject, Y as getOptions, H as getRef, Oe as render, Ve as setApiRefGlobalConditions, zt as setRef, At as t, U as toBind, ke as toBinds, G as toRefItem, He as useApiAsyncRef, Ue as useApiDelete, We as useApiGet, Ze as useApiManagementAsyncRef, Xe as useApiManagementRef, Ge as useApiPost, Ke as useApiPut, Z as useApiRef, Q as useApiRequest, $e as useBroadcastValueRef, tt as useCookieRef, qe as useFormattersRef, nt as useGeoIntlRef, rt as useGeoUnitRef, at as useHashRef, lt as useLazyItemByMarginRef, ot as useLazyRef, ut as useLoadingRef, xt as useMeta, Ct as useQueryRef, wt as useRouterList, Ye as useSearchRef, Je as useSearchValueRef, Et as useSessionRef, Ot as useStorageRef, kt as useTranslateRef };