@dxtmisha/functional 1.15.17 → 1.15.18

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,49 +1,14 @@
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";
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, 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 I, isRef as L, onServerPrefetch as ue, onUnmounted as de, provide as fe, ref as R, shallowRef as z, toRefs as pe, triggerRef as me, useAttrs as he, useSlots as ge, watch as B, watchEffect as _e } from "vue";
3
+ import { MediaSocial as ve } from "@dxtmisha/media";
4
4
  export * from "@dxtmisha/functional-basic";
5
- //#region \0@oxc-project+runtime@0.148.0/helpers/esm/typeof.js
6
- function B(e) {
7
- "@babel/helpers - typeof";
8
- return B = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
9
- return typeof e;
10
- } : function(e) {
11
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
12
- }, B(e);
13
- }
14
- //#endregion
15
- //#region \0@oxc-project+runtime@0.148.0/helpers/esm/toPrimitive.js
16
- function xe(e, t) {
17
- if (B(e) != "object" || !e) return e;
18
- var n = e[Symbol.toPrimitive];
19
- if (n !== void 0) {
20
- var r = n.call(e, t || "default");
21
- if (B(r) != "object") return r;
22
- throw TypeError("@@toPrimitive must return a primitive value.");
23
- }
24
- return (t === "string" ? String : Number)(e);
25
- }
26
- //#endregion
27
- //#region \0@oxc-project+runtime@0.148.0/helpers/esm/toPropertyKey.js
28
- function Se(e) {
29
- var t = xe(e, "string");
30
- return B(t) == "symbol" ? t : t + "";
31
- }
32
- //#endregion
33
- //#region \0@oxc-project+runtime@0.148.0/helpers/esm/defineProperty.js
34
- function V(e, t, n) {
35
- return (t = Se(t)) in e ? Object.defineProperty(e, t, {
36
- value: n,
37
- enumerable: !0,
38
- configurable: !0,
39
- writable: !0
40
- }) : e[t] = n, e;
41
- }
42
- //#endregion
43
5
  //#region src/classes/design/DesignChanged.ts
44
- var Ce = class {
6
+ var ye = class {
7
+ props;
8
+ watch;
9
+ cache = {};
45
10
  constructor(e, t = Object.keys(e)) {
46
- V(this, "props", void 0), V(this, "watch", void 0), V(this, "cache", {}), this.props = e, this.watch = t;
11
+ this.props = e, this.watch = t;
47
12
  }
48
13
  is(e) {
49
14
  return te(e) ? !!e.find((e) => this.isDifferent(e)) : this.isDifferent(e);
@@ -59,12 +24,15 @@ var Ce = class {
59
24
  });
60
25
  }
61
26
  isDifferent(e) {
62
- var t, n;
63
- return ((t = this.cache) == null ? void 0 : t[e]) !== ((n = this.props) == null ? void 0 : n[e]);
27
+ return this.cache?.[e] !== this.props?.[e];
64
28
  }
65
- }, we = class {
29
+ }, be = class {
30
+ props;
31
+ callback;
32
+ event = {};
33
+ changed;
66
34
  constructor(e, t, n) {
67
- 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);
35
+ this.props = e, this.callback = t, this.changed = new ye(e, n);
68
36
  }
69
37
  make(e) {
70
38
  return this.makeCallback(e), this;
@@ -81,7 +49,7 @@ var Ce = class {
81
49
  makeCallbackItem() {
82
50
  this.callback && this.callback(this.event);
83
51
  }
84
- }, Te = class extends we {
52
+ }, xe = class extends be {
85
53
  make(e) {
86
54
  return this.makeCallback(e).then(), this;
87
55
  }
@@ -91,33 +59,33 @@ var Ce = class {
91
59
  };
92
60
  //#endregion
93
61
  //#region src/functions/ref/getRef.ts
94
- function H(e) {
95
- return I(e) ? e.value : e;
62
+ function V(e) {
63
+ return L(e) ? e.value : e;
96
64
  }
97
65
  //#endregion
98
66
  //#region src/functions/render/getClassName.ts
99
- function Ee(e) {
67
+ function Se(e) {
100
68
  return e && "class" in e && typeof e.class == "string" ? e.class : void 0;
101
69
  }
102
70
  //#endregion
103
71
  //#region src/functions/render/getIndexForRender.ts
104
- function De(e, t, n) {
105
- let r = t == null ? void 0 : t.id, i = t == null ? void 0 : t.index, a = Ee(t), o = "";
72
+ function Ce(e, t, n) {
73
+ let r = t?.id, i = t?.index, a = Se(t), o = "";
106
74
  if (N(e) && (o += e), n && (o += `.${n}`), i && N(i) && (o += `.${i}`), a && (o += `.${a}`), r && (o += `.${r}`), o !== "") return o;
107
75
  }
108
76
  //#endregion
109
77
  //#region src/functions/ref/render.ts
110
- function Oe(e, t, n, r) {
78
+ function we(e, t, n, r) {
111
79
  let i = t, a = t && "key" in t;
112
80
  return (!t || !a) && (i = {
113
81
  ...t,
114
- key: De(e, t, r)
115
- }), le(e, i, n);
82
+ key: Ce(e, t, r)
83
+ }), ce(e, i, n);
116
84
  }
117
85
  //#endregion
118
86
  //#region src/functions/toBind.ts
119
- function U(e, t) {
120
- let n = e == null ? void 0 : e.class, r = t == null ? void 0 : t.class, i = e == null ? void 0 : e.style, a = t == null ? void 0 : t.style, o = {
87
+ function H(e, t) {
88
+ let n = e?.class, r = t?.class, i = e?.style, a = t?.style, o = {
121
89
  ...e,
122
90
  ...t
123
91
  };
@@ -125,30 +93,32 @@ function U(e, t) {
125
93
  }
126
94
  //#endregion
127
95
  //#region src/functions/toBinds.ts
128
- function ke(...e) {
96
+ function Te(...e) {
129
97
  let t = {};
130
98
  return e.forEach((e) => {
131
- e && (t = U(t, e));
99
+ e && (t = H(t, e));
132
100
  }), t;
133
101
  }
134
102
  //#endregion
135
103
  //#region src/classes/design/DesignComponents.ts
136
- var W = class {
104
+ var U = class {
105
+ components;
106
+ modification;
107
+ caching = {};
137
108
  constructor(e = {}, t) {
138
- V(this, "components", void 0), V(this, "modification", void 0), V(this, "caching", {}), this.components = e, this.modification = t;
109
+ this.components = e, this.modification = t;
139
110
  }
140
111
  is(e) {
141
112
  return e in this.components;
142
113
  }
143
114
  get(e) {
144
- var t;
145
- return (t = this.components) == null ? void 0 : t[e];
115
+ return this.components?.[e];
146
116
  }
147
117
  getModification(e, t) {
148
118
  if (e) {
149
119
  e in this.caching || (this.caching[e] = F(() => this.computeModification(e)));
150
120
  let n = this.caching[e];
151
- if (n) return t ? ke(n.value, t) : n.value;
121
+ if (n) return t ? Te(n.value, t) : n.value;
152
122
  }
153
123
  return t;
154
124
  }
@@ -158,27 +128,40 @@ var W = class {
158
128
  }
159
129
  renderOne(e, t, n, r) {
160
130
  if (this.is(e)) {
161
- let i = r == null ? e : r;
162
- return Oe(this.get(e), this.getModification(i, t), n, i);
131
+ let i = r ?? e;
132
+ return we(this.get(e), this.getModification(i, t), n, i);
163
133
  }
164
134
  }
165
135
  renderAdd(e, t, n, r, i) {
166
136
  return e.push(...this.render(t, n, r, i)), this;
167
137
  }
168
138
  computeModification(e) {
169
- var t;
170
- let n = H((t = this.modification) == null ? void 0 : t[e]);
171
- if (n && j(n)) {
139
+ let t = V(this.modification?.[e]);
140
+ if (t && j(t)) {
172
141
  let e = {};
173
- return T(n, (t, n) => {
174
- e[n] = H(t);
142
+ return T(t, (t, n) => {
143
+ e[n] = V(t);
175
144
  }), e;
176
145
  }
177
146
  return {};
178
147
  }
179
- }, Ae = class extends W {}, je = class {
148
+ }, Ee = class extends U {}, De = class {
149
+ props;
150
+ options;
151
+ name;
152
+ element = R();
153
+ refs;
154
+ components;
155
+ emits;
156
+ classes;
157
+ classesSub;
158
+ styles;
159
+ stylesSub;
160
+ attrs;
161
+ slots;
162
+ dataExpose;
180
163
  constructor(e, t, n) {
181
- 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();
164
+ this.props = t, this.options = n, this.name = this.initName(e), this.refs = this.props ? pe(this.props) : {}, this.components = new U(n?.components, n?.compMod), this.emits = n?.emits, this.classes = F(() => this.updateClasses()), this.styles = F(() => this.updateStyles()), this.attrs = he(), this.slots = ge();
182
165
  }
183
166
  init() {
184
167
  return this.classesSub = F(() => this.initClasses()), this.stylesSub = F(() => this.initStyles()), this.dataExpose = this.initExpose(), this;
@@ -199,21 +182,18 @@ var W = class {
199
182
  return `--${this.getName()}-sys-${P(e).join("-")}`;
200
183
  }
201
184
  getAttrs() {
202
- var e;
203
- let t = { ...(e = this.attrs) == null ? {} : e };
204
- return "class" in t && delete t.class, "style" in t && delete t.style, t;
185
+ let e = { ...this.attrs ?? {} };
186
+ return "class" in e && delete e.class, "style" in e && delete e.style, e;
205
187
  }
206
188
  getKeyClass(e) {
207
- var t;
208
189
  return {
209
190
  key: e,
210
- class: (t = this.classes) == null || (t = t.value) == null ? void 0 : t[e]
191
+ class: this.classes?.value?.[e]
211
192
  };
212
193
  }
213
194
  expose() {
214
- var e;
215
195
  return {
216
- ...(e = this.dataExpose) == null ? {} : e,
196
+ ...this.dataExpose ?? {},
217
197
  elementHtml: this.element
218
198
  };
219
199
  }
@@ -221,8 +201,7 @@ var W = class {
221
201
  return () => this.initRender();
222
202
  }
223
203
  initSlot(e, t, n = {}) {
224
- var r;
225
- if (this.slots && (r = this.slots) != null && r[e] && typeof this.slots[e] == "function") {
204
+ if (this.slots && this.slots?.[e] && typeof this.slots[e] == "function") {
226
205
  let r = this.slots[e](n);
227
206
  return t && t.push(r), r;
228
207
  }
@@ -240,48 +219,53 @@ var W = class {
240
219
  return {};
241
220
  }
242
221
  initName(e) {
243
- return T(e.split(".", 2), (e) => ie(e));
222
+ return T(e.split(".", 2), (e) => re(e));
244
223
  }
245
224
  updateClasses() {
246
- var e, t, n;
247
- let r = (e = this.classesSub) == null ? void 0 : e.value, i = (t = this.options) == null || (t = t.classes) == null ? void 0 : t.value;
248
- if (r && i) {
249
- var a;
250
- return {
251
- ...r,
252
- ...i,
253
- main: {
254
- ...this.toClass(r == null ? void 0 : r.main),
255
- ...this.toClass(i == null ? void 0 : i.main),
256
- ...this.toClass((a = this.attrs) == null ? void 0 : a.class)
257
- }
258
- };
259
- }
260
- return (n = i == null ? r : i) == null ? { main: {} } : n;
225
+ let e = this.classesSub?.value, t = this.options?.classes?.value;
226
+ return e && t ? {
227
+ ...e,
228
+ ...t,
229
+ main: {
230
+ ...this.toClass(e?.main),
231
+ ...this.toClass(t?.main),
232
+ ...this.toClass(this.attrs?.class)
233
+ }
234
+ } : t ?? e ?? { main: {} };
261
235
  }
262
236
  updateStyles() {
263
- var e, t, n;
264
- let r = (e = this.stylesSub) == null ? void 0 : e.value, i = (t = this.options) == null || (t = t.styles) == null ? void 0 : t.value;
265
- return r && i ? {
266
- ...r,
267
- ...i
268
- } : (n = i == null ? r : i) == null ? {} : n;
237
+ let e = this.stylesSub?.value, t = this.options?.styles?.value;
238
+ return e && t ? {
239
+ ...e,
240
+ ...t
241
+ } : t ?? e ?? {};
269
242
  }
270
243
  };
271
244
  //#endregion
272
245
  //#region src/functions/ref/toRefItem.ts
273
- function G(e) {
274
- return I(e) ? e : L(e);
246
+ function W(e) {
247
+ return L(e) ? e : R(e);
275
248
  }
276
249
  //#endregion
277
250
  //#region src/classes/ref/DatetimeRef.ts
278
- var Me = class {
251
+ var Oe = class {
252
+ item;
253
+ type;
254
+ code;
255
+ date;
256
+ datetime;
257
+ year = R(2e3);
258
+ month = R(1);
259
+ day = R(1);
260
+ hour = R(1);
261
+ minute = R(1);
262
+ second = R(1);
279
263
  constructor(e, t = "date", n = u.getLocation()) {
280
- 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) => {
281
- this.date.value = ae(e);
282
- }), z(this.type, (e) => this.datetime.setType(e)), z(this.code, (e) => this.datetime.setCode(e)), z(this.date, (e) => {
264
+ this.item = W(e), this.type = W(t), this.code = W(n), this.date = R(ie(this.item.value)), this.datetime = new o(this.date.value, this.type.value, this.code.value), B(this.item, (e) => {
265
+ this.date.value = ie(e);
266
+ }), B(this.type, (e) => this.datetime.setType(e)), B(this.code, (e) => this.datetime.setCode(e)), B(this.date, (e) => {
283
267
  this.datetime.setDate(e), this.updateDate();
284
- }), this.datetime.setWatch(() => ge(this.date)), this.updateDate();
268
+ }), this.datetime.setWatch(() => me(this.date)), this.updateDate();
285
269
  }
286
270
  getItem() {
287
271
  return this.item;
@@ -328,21 +312,21 @@ var Me = class {
328
312
  updateDate() {
329
313
  return this.year.value = this.datetime.getYear(), this.month.value = this.datetime.getMonth(), this.day.value = this.datetime.getDay(), this.hour.value = this.datetime.getHour(), this.minute.value = this.datetime.getMinute(), this.second.value = this.datetime.getSecond(), this;
330
314
  }
331
- }, K = class {
315
+ }, G = class {
332
316
  static run(e) {
333
317
  return this.getScope().run(e);
334
318
  }
335
319
  static getScope() {
336
- return x.get("__ui:effect-scope-global__", () => se(!0));
320
+ return x.get("__ui:effect-scope-global__", () => oe(!0));
337
321
  }
338
- }, Ne = class extends c {
322
+ }, ke = class extends c {
339
323
  constructor(e, t, n = ["click"], r, i, a) {
340
- let o = G(e), s = G(t);
341
- 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));
324
+ let o = W(e), s = W(t);
325
+ super(o.value, n, r, i, a), s.value && this.setElementControl(s.value), B(o, (e) => this.setElement(e)), B(s, (e) => this.setElementControl(e));
342
326
  }
343
- }, q = class {
327
+ }, K = class {
344
328
  static get() {
345
- return x.get("__ui:geo-ref__", () => R(u.getItem()));
329
+ return x.get("__ui:geo-ref__", () => z(u.getItem()));
346
330
  }
347
331
  static getCountry() {
348
332
  return x.get("__ui:geo-ref-country__", () => F(() => this.get().value.country));
@@ -371,238 +355,256 @@ var Me = class {
371
355
  static setValueDefault(e) {
372
356
  u.setValueDefault(e), this.get().value = u.getItem();
373
357
  }
374
- }, Pe = class {
358
+ }, Ae = class {
359
+ flag;
375
360
  constructor(e) {
376
- V(this, "flag", void 0), this.flag = F(() => {
377
- var t;
378
- return new d((t = H(e)) == null ? q.getLocation().value : t);
379
- });
361
+ this.flag = F(() => new d(V(e) ?? K.getLocation().value));
380
362
  }
381
363
  getCode() {
382
364
  return this.flag.value.getCode();
383
365
  }
384
366
  get(e = this.getCode()) {
385
- return F(() => this.flag.value.get(H(e)));
367
+ return F(() => this.flag.value.get(V(e)));
386
368
  }
387
369
  getLanguage(e = this.getCode()) {
388
- return F(() => this.flag.value.getLanguage(H(e)));
370
+ return F(() => this.flag.value.getLanguage(V(e)));
389
371
  }
390
372
  getFlag(e = this.getCode()) {
391
- return F(() => this.flag.value.getFlag(H(e)));
373
+ return F(() => this.flag.value.getFlag(V(e)));
392
374
  }
393
375
  getList(e) {
394
- return F(() => this.flag.value.getList(H(e)));
376
+ return F(() => this.flag.value.getList(V(e)));
395
377
  }
396
378
  getListLanguage(e) {
397
- return F(() => this.flag.value.getListLanguage(H(e)));
379
+ return F(() => this.flag.value.getListLanguage(V(e)));
398
380
  }
399
381
  getNational(e) {
400
- return F(() => this.flag.value.getNational(H(e)));
382
+ return F(() => this.flag.value.getNational(V(e)));
401
383
  }
402
384
  getNationalLanguage(e) {
403
- return F(() => this.flag.value.getNationalLanguage(H(e)));
385
+ return F(() => this.flag.value.getNationalLanguage(V(e)));
404
386
  }
405
- }, Fe = class {
387
+ }, je = class {
388
+ location;
389
+ intl;
406
390
  constructor(e) {
407
- V(this, "location", void 0), V(this, "intl", void 0), this.location = G(e), this.intl = F(() => {
408
- var e;
409
- return new f((e = this.location.value) == null ? q.getLocation().value : e);
410
- });
391
+ this.location = W(e), this.intl = F(() => new f(this.location.value ?? K.getLocation().value));
411
392
  }
412
393
  display(e, t) {
413
- return F(() => this.intl.value.display(H(e), t));
394
+ return F(() => this.intl.value.display(V(e), t));
414
395
  }
415
396
  languageName(e, t) {
416
- return F(() => this.intl.value.languageName(H(e), t));
397
+ return F(() => this.intl.value.languageName(V(e), t));
417
398
  }
418
399
  countryName(e, t) {
419
- return F(() => this.intl.value.countryName(H(e), t));
400
+ return F(() => this.intl.value.countryName(V(e), t));
420
401
  }
421
402
  number(e, t) {
422
- return F(() => this.intl.value.number(H(e), t));
403
+ return F(() => this.intl.value.number(V(e), t));
423
404
  }
424
405
  decimal() {
425
406
  return F(() => this.intl.value.decimal());
426
407
  }
427
408
  currency(e, t, n = !1) {
428
- return F(() => this.intl.value.currency(H(e), H(t), n));
409
+ return F(() => this.intl.value.currency(V(e), V(t), n));
429
410
  }
430
411
  currencySymbol(e, t = "symbol") {
431
- return F(() => this.intl.value.currencySymbol(H(e), t));
412
+ return F(() => this.intl.value.currencySymbol(V(e), t));
432
413
  }
433
414
  unit(e, t) {
434
- return F(() => this.intl.value.unit(H(e), t));
415
+ return F(() => this.intl.value.unit(V(e), t));
435
416
  }
436
417
  sizeFile(e, t = "byte") {
437
- return F(() => this.intl.value.sizeFile(H(e), t));
418
+ return F(() => this.intl.value.sizeFile(V(e), t));
438
419
  }
439
420
  percent(e, t) {
440
- return F(() => this.intl.value.percent(H(e), t));
421
+ return F(() => this.intl.value.percent(V(e), t));
441
422
  }
442
423
  percentBy100(e, t) {
443
- return F(() => this.intl.value.percentBy100(H(e), t));
424
+ return F(() => this.intl.value.percentBy100(V(e), t));
444
425
  }
445
426
  plural(e, t, n, r) {
446
- return F(() => this.intl.value.plural(H(e), t, n, r));
427
+ return F(() => this.intl.value.plural(V(e), t, n, r));
447
428
  }
448
429
  date(e, t, n, r) {
449
- return F(() => this.intl.value.date(H(e), t, n, r));
430
+ return F(() => this.intl.value.date(V(e), t, n, r));
450
431
  }
451
432
  relative(e, t, n) {
452
- return F(() => this.intl.value.relative(H(e), t, n));
433
+ return F(() => this.intl.value.relative(V(e), t, n));
453
434
  }
454
435
  relativeLimit(e, t, n, r, i, a, o) {
455
- return F(() => this.intl.value.relativeLimit(H(e), t, n, r, i, a, o));
436
+ return F(() => this.intl.value.relativeLimit(V(e), t, n, r, i, a, o));
456
437
  }
457
438
  relativeByValue(e, t, n) {
458
- return F(() => this.intl.value.relativeByValue(H(e), t, n));
439
+ return F(() => this.intl.value.relativeByValue(V(e), t, n));
459
440
  }
460
441
  month(e, t) {
461
- return F(() => this.intl.value.month(H(e), t));
442
+ return F(() => this.intl.value.month(V(e), t));
462
443
  }
463
444
  months(e) {
464
445
  return F(() => this.intl.value.months(e));
465
446
  }
466
447
  weekday(e, t) {
467
- return F(() => this.intl.value.weekday(H(e), t));
448
+ return F(() => this.intl.value.weekday(V(e), t));
468
449
  }
469
450
  weekdays(e) {
470
451
  return F(() => this.intl.value.weekdays(e));
471
452
  }
472
453
  time(e) {
473
- return F(() => this.intl.value.time(H(e)));
454
+ return F(() => this.intl.value.time(V(e)));
474
455
  }
475
456
  sort(e, t = (e, t) => [e, t]) {
476
- return F(() => this.intl.value.sort([...H(e)], t));
457
+ return F(() => this.intl.value.sort([...V(e)], t));
477
458
  }
478
- }, Ie = class {
459
+ }, Me = class {
460
+ location;
461
+ unitInstance;
479
462
  constructor(e) {
480
- V(this, "location", void 0), V(this, "unitInstance", void 0), this.location = G(e), this.unitInstance = F(() => {
481
- var e;
482
- return new p((e = this.location.value) == null ? q.getLocation().value : e);
483
- });
463
+ this.location = W(e), this.unitInstance = F(() => new p(this.location.value ?? K.getLocation().value));
484
464
  }
485
465
  getLocation() {
486
466
  return F(() => this.unitInstance.value.getLocation());
487
467
  }
488
468
  millimeter(e, t) {
489
- return F(() => this.unitInstance.value.millimeter(H(e), t));
469
+ return F(() => this.unitInstance.value.millimeter(V(e), t));
490
470
  }
491
471
  centimeter(e, t) {
492
- return F(() => this.unitInstance.value.centimeter(H(e), t));
472
+ return F(() => this.unitInstance.value.centimeter(V(e), t));
493
473
  }
494
474
  meter(e, t) {
495
- return F(() => this.unitInstance.value.meter(H(e), t));
475
+ return F(() => this.unitInstance.value.meter(V(e), t));
496
476
  }
497
477
  kilometer(e, t) {
498
- return F(() => this.unitInstance.value.kilometer(H(e), t));
478
+ return F(() => this.unitInstance.value.kilometer(V(e), t));
499
479
  }
500
480
  squareMeter(e, t) {
501
- return F(() => this.unitInstance.value.squareMeter(H(e), t));
481
+ return F(() => this.unitInstance.value.squareMeter(V(e), t));
502
482
  }
503
483
  hectare(e, t) {
504
- return F(() => this.unitInstance.value.hectare(H(e), t));
484
+ return F(() => this.unitInstance.value.hectare(V(e), t));
505
485
  }
506
486
  gram(e, t) {
507
- return F(() => this.unitInstance.value.gram(H(e), t));
487
+ return F(() => this.unitInstance.value.gram(V(e), t));
508
488
  }
509
489
  kilogram(e, t) {
510
- return F(() => this.unitInstance.value.kilogram(H(e), t));
490
+ return F(() => this.unitInstance.value.kilogram(V(e), t));
511
491
  }
512
492
  tonne(e, t) {
513
- return F(() => this.unitInstance.value.tonne(H(e), t));
493
+ return F(() => this.unitInstance.value.tonne(V(e), t));
514
494
  }
515
495
  milliliter(e, t) {
516
- return F(() => this.unitInstance.value.milliliter(H(e), t));
496
+ return F(() => this.unitInstance.value.milliliter(V(e), t));
517
497
  }
518
498
  liter(e, t) {
519
- return F(() => this.unitInstance.value.liter(H(e), t));
499
+ return F(() => this.unitInstance.value.liter(V(e), t));
520
500
  }
521
501
  celsius(e, t) {
522
- return F(() => this.unitInstance.value.celsius(H(e), t));
502
+ return F(() => this.unitInstance.value.celsius(V(e), t));
523
503
  }
524
504
  kilometerPerHour(e, t) {
525
- return F(() => this.unitInstance.value.kilometerPerHour(H(e), t));
505
+ return F(() => this.unitInstance.value.kilometerPerHour(V(e), t));
526
506
  }
527
507
  format(e, t, n) {
528
- return F(() => this.unitInstance.value.format(H(e), H(t), n));
529
- }
530
- }, Le = class e {
508
+ return F(() => this.unitInstance.value.format(V(e), V(t), n));
509
+ }
510
+ }, Ne = class e {
511
+ list;
512
+ focus;
513
+ highlight;
514
+ highlightLengthStart;
515
+ filterMode;
516
+ selected;
517
+ keyValue;
518
+ keyLabel;
519
+ lite;
520
+ min;
521
+ max;
522
+ parent;
523
+ subList = {};
531
524
  constructor(e, t, n, r, i, a, o, s, c, l = 0, u = 9999999, d) {
532
- 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(() => {
533
- if (this.isLite()) {
534
- let e = [];
535
- for (let t of this.data.value) {
536
- let n = {
537
- parent: this.parent,
538
- index: t.index,
539
- type: t.type,
540
- label: t.label,
541
- description: t.description,
542
- value: t.value
543
- };
544
- "description" in t && (n.description = t.description), e.push(n);
545
- }
546
- return e;
547
- }
548
- return this.data.value;
549
- })), V(this, "fullData", F(() => {
550
- let e = this.getFocus(), t = this.getHighlight(), n = this.getSelected();
551
- return T(this.data.value, (r) => {
552
- var i, a;
553
- let o = M(r.index, n);
554
- return {
555
- ...r,
556
- focus: e === r.index,
557
- highlight: t,
558
- filterMode: (i = this.filterMode) == null ? void 0 : i.value,
559
- selected: o,
560
- disabled: (a = r.disabled) == null ? !o && r.type === "item" && this.isSelectedMax.value : a
561
- };
562
- });
563
- })), V(this, "map", F(() => {
564
- let e = [];
565
- return this.data.value.forEach((t) => {
566
- switch (t.type) {
567
- case "item":
568
- e.push(t);
569
- break;
570
- case "group":
571
- case "menu": e.push(t, ...this.getSubList(t).map.value);
572
- }
573
- }), e;
574
- })), 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(() => {
575
- let e = this.getHighlight();
576
- if (e && e.length >= this.getHighlightLengthStart()) {
577
- let t = ee(e, "i");
578
- if (t) return this.map.value.findIndex((e) => {
579
- var n, r, i;
580
- 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));
581
- });
582
- }
583
- return -1;
584
- })), V(this, "isSelected", F(() => {
585
- let e = this.getSelected();
586
- return !!e && this.mapItems.value.findIndex((t) => M(t.index, e)) !== -1;
587
- })), V(this, "isSelectedMin", F(() => {
588
- let e = Number(H(this.min) || 0);
589
- return e > 0 && this.selectedListInGroup.value.length >= e;
590
- })), V(this, "isSelectedMax", F(() => {
591
- let e = Number(H(this.max) || 9999999);
592
- return e > 0 && this.selectedListInGroup.value.length >= e;
593
- })), V(this, "selectedList", F(() => {
594
- let e = this.getSelected();
595
- return e && this.isSelected.value ? this.mapItems.value.filter((t) => M(t.index, e)) : [];
596
- })), V(this, "selectedListInGroup", F(() => {
597
- let e = this.getSelected();
598
- return e && this.isSelected.value ? this.data.value.filter((t) => M(t.index, e)) : [];
599
- })), 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, () => {
525
+ 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, L(e) && B(e, () => {
600
526
  this.subList = {};
601
527
  });
602
528
  }
529
+ data = F(() => T(V(this.list) || [], (e, t) => this.initItem(t, e)));
530
+ liteData = F(() => {
531
+ if (this.isLite()) {
532
+ let e = [];
533
+ for (let t of this.data.value) {
534
+ let n = {
535
+ parent: this.parent,
536
+ index: t.index,
537
+ type: t.type,
538
+ label: t.label,
539
+ description: t.description,
540
+ value: t.value
541
+ };
542
+ "description" in t && (n.description = t.description), e.push(n);
543
+ }
544
+ return e;
545
+ }
546
+ return this.data.value;
547
+ });
548
+ fullData = F(() => {
549
+ let e = this.getFocus(), t = this.getHighlight(), n = this.getSelected();
550
+ return T(this.data.value, (r) => {
551
+ let i = M(r.index, n);
552
+ return {
553
+ ...r,
554
+ focus: e === r.index,
555
+ highlight: t,
556
+ filterMode: this.filterMode?.value,
557
+ selected: i,
558
+ disabled: r.disabled ?? (!i && r.type === "item" && this.isSelectedMax.value)
559
+ };
560
+ });
561
+ });
562
+ map = F(() => {
563
+ let e = [];
564
+ return this.data.value.forEach((t) => {
565
+ switch (t.type) {
566
+ case "item":
567
+ e.push(t);
568
+ break;
569
+ case "group":
570
+ case "menu": e.push(t, ...this.getSubList(t).map.value);
571
+ }
572
+ }), e;
573
+ });
574
+ mapItems = F(() => this.map.value.filter((e) => e.type === "item"));
575
+ items = F(() => this.map.value.filter((e) => e.type === "item" || e.type === "group" || e.type === "menu"));
576
+ highlightFirstItem = F(() => {
577
+ let e = this.getHighlight();
578
+ if (e && e.length >= this.getHighlightLengthStart()) {
579
+ let t = ee(e, "i");
580
+ if (t) return this.map.value.findIndex((e) => e.label?.toString().match(t) || e.index?.toString().match(t) || e.search?.toString().match(t));
581
+ }
582
+ return -1;
583
+ });
584
+ isSelected = F(() => {
585
+ let e = this.getSelected();
586
+ return !!e && this.mapItems.value.findIndex((t) => M(t.index, e)) !== -1;
587
+ });
588
+ isSelectedMin = F(() => {
589
+ let e = Number(V(this.min) || 0);
590
+ return e > 0 && this.selectedListInGroup.value.length >= e;
591
+ });
592
+ isSelectedMax = F(() => {
593
+ let e = Number(V(this.max) || 9999999);
594
+ return e > 0 && this.selectedListInGroup.value.length >= e;
595
+ });
596
+ selectedList = F(() => {
597
+ let e = this.getSelected();
598
+ return e && this.isSelected.value ? this.mapItems.value.filter((t) => M(t.index, e)) : [];
599
+ });
600
+ selectedListInGroup = F(() => {
601
+ let e = this.getSelected();
602
+ return e && this.isSelected.value ? this.data.value.filter((t) => M(t.index, e)) : [];
603
+ });
604
+ selectedNames = F(() => E(this.selectedList.value, "label"));
605
+ selectedValues = F(() => E(this.selectedList.value, "value"));
603
606
  isLite() {
604
- var e;
605
- return !!((e = this.lite) != null && e.value && this.data.value.length > this.lite.value);
607
+ return !!(this.lite?.value && this.data.value.length > this.lite.value);
606
608
  }
607
609
  isFocus() {
608
610
  let e = this.getFocus();
@@ -612,8 +614,7 @@ var Me = class {
612
614
  return this.highlightFirstItem.value !== -1;
613
615
  }
614
616
  isHighlightActive() {
615
- var e, t;
616
- return ((e = (t = this.getHighlight()) == null ? void 0 : t.length) == null ? 0 : e) < this.getHighlightLengthStart() || this.isHighlight();
617
+ return (this.getHighlight()?.length ?? 0) < this.getHighlightLengthStart() || this.isHighlight();
617
618
  }
618
619
  getLength() {
619
620
  return this.data.value.length;
@@ -625,32 +626,23 @@ var Me = class {
625
626
  return this.items.value.length;
626
627
  }
627
628
  getFocus() {
628
- var e;
629
- return (e = this.focus) == null ? void 0 : e.value;
629
+ return this.focus?.value;
630
630
  }
631
631
  getFocusItem() {
632
632
  return this.data.value.find((e) => e.index === this.getFocus());
633
633
  }
634
634
  getHighlight() {
635
- var e;
636
- return (e = this.highlight) == null ? void 0 : e.value;
635
+ return this.highlight?.value;
637
636
  }
638
637
  getHighlightLengthStart() {
639
- var e, t;
640
- return (e = (t = this.highlightLengthStart) == null ? void 0 : t.value) == null ? 2 : e;
638
+ return this.highlightLengthStart?.value ?? 2;
641
639
  }
642
640
  getSelected() {
643
- var e;
644
- return (e = this.selected) == null ? void 0 : e.value;
641
+ return this.selected?.value;
645
642
  }
646
643
  getSelectedByStep(e) {
647
- var t, n;
648
- let r = (t = this.selectedList.value) == null ? void 0 : t[0];
649
- if (r) {
650
- var i;
651
- return (i = this.getItemByStep(r, e)) == null ? void 0 : i.index;
652
- }
653
- return (n = this.mapItems.value[0]) == null ? void 0 : n.index;
644
+ let t = this.selectedList.value?.[0];
645
+ return t ? this.getItemByStep(t, e)?.index : this.mapItems.value[0]?.index;
654
646
  }
655
647
  getSelectedNext() {
656
648
  return this.getSelectedByStep(1);
@@ -691,8 +683,7 @@ var Me = class {
691
683
  };
692
684
  }
693
685
  getItemByKey(e) {
694
- var t;
695
- return (t = this.map.value) == null ? void 0 : t[e];
686
+ return this.map.value?.[e];
696
687
  }
697
688
  getFirstItemByParent(e) {
698
689
  return this.map.value.find((t) => this.isInParent(e, t));
@@ -714,15 +705,14 @@ var Me = class {
714
705
  }
715
706
  initItem(e, t) {
716
707
  if (j(t)) {
717
- var n, r, i, a, o, s;
718
- let c = t == null ? void 0 : t[(n = (r = this.keyValue) == null ? void 0 : r.value) == null ? "value" : n], l = (i = t == null ? void 0 : t[(a = (o = this.keyLabel) == null ? void 0 : o.value) == null ? "label" : a]) == null ? c : i, u = this.getIndex(t == null ? void 0 : t.index, c, e, l);
708
+ let n = t?.[this.keyValue?.value ?? "value"], r = t?.[this.keyLabel?.value ?? "label"] ?? n, i = this.getIndex(t?.index, n, e, r);
719
709
  return {
720
710
  ...t,
721
711
  parent: this.parent,
722
- index: u,
723
- type: (s = t == null ? void 0 : t.type) == null ? "item" : s,
724
- label: l,
725
- value: c
712
+ index: i,
713
+ type: t?.type ?? "item",
714
+ label: r,
715
+ value: n
726
716
  };
727
717
  }
728
718
  return {
@@ -733,13 +723,12 @@ var Me = class {
733
723
  value: e
734
724
  };
735
725
  }
736
- }, Re = "__ui:router-item-ref__", J = class {
726
+ }, q = "__ui:router-item-ref__", J = class {
737
727
  static get() {
738
- return x.get(Re);
728
+ return x.get(q);
739
729
  }
740
730
  static getLink(e, t, n) {
741
- var r;
742
- return (r = this.get()) == null ? void 0 : r.resolve({
731
+ return this.get()?.resolve({
743
732
  name: e,
744
733
  params: t,
745
734
  query: n
@@ -757,26 +746,29 @@ var Me = class {
757
746
  t && t.push(e).then();
758
747
  }
759
748
  static set(e) {
760
- x.set(Re, () => e);
749
+ x.set(q, () => e);
761
750
  }
762
751
  static setOneTime(e) {
763
752
  this.get() || this.set(e);
764
753
  }
765
754
  static rawToHref(e) {
766
- return j(e) && "name" in e && N(e == null ? void 0 : e.name) ? this.getHref(e.name) : {};
755
+ return j(e) && "name" in e && N(e?.name) ? this.getHref(e.name) : {};
767
756
  }
768
- }, ze = class {
757
+ }, Pe = class {
758
+ item = R();
759
+ width = R(0);
769
760
  constructor() {
770
- V(this, "item", L()), V(this, "width", L(0)), V(this, "is", F(() => this.item.value !== void 0)), k() && (y.is().then((e) => {
761
+ k() && (y.is().then((e) => {
771
762
  this.item.value = e;
772
763
  }), y.get().then((e) => {
773
764
  this.width.value = e;
774
765
  }));
775
766
  }
767
+ is = F(() => this.item.value !== void 0);
776
768
  };
777
769
  //#endregion
778
770
  //#region src/functions/ref/getApiErrorRef.ts
779
- function Be(e) {
771
+ function Fe(e) {
780
772
  return F(() => {
781
773
  if (e.value && !O(e.value) && j(e.value)) return e.value.errorObject;
782
774
  });
@@ -785,11 +777,11 @@ function Be(e) {
785
777
  //#region src/functions/getOptions.ts
786
778
  var Y = (e) => typeof e == "string" ? { method: e } : e || {}, X;
787
779
  function Z(n, r, i = !0, a, o, s, c, l = !0, u = e.getItem()) {
788
- let d = L(), f = G(Y(r)), p = L(!1), m = L(!1), h = L(), g, _ = !0, v, y = () => {
789
- let e = H(n);
780
+ let d = R(), f = W(Y(r)), p = R(!1), m = R(!1), h = R(), g, _ = !0, v, y = () => {
781
+ let e = V(n);
790
782
  return !(a && !a.value || !e);
791
783
  }, b = () => ({
792
- path: H(n),
784
+ path: V(n),
793
785
  ...f.value
794
786
  }), x = () => {
795
787
  if (k() && y()) {
@@ -805,15 +797,15 @@ function Z(n, r, i = !0, a, o, s, c, l = !0, u = e.getItem()) {
805
797
  controller: g,
806
798
  ...b()
807
799
  });
808
- e && (h.value = s == null ? void 0 : s(e), o ? d.value = o(e, h.value) : d.value = e);
809
- } catch (e) {
800
+ e && (h.value = s?.(e), o ? d.value = o(e, h.value) : d.value = e);
801
+ } catch {
810
802
  d.value = void 0;
811
803
  }
812
804
  p.value = !1;
813
805
  } else d.value !== void 0 && (d.value = void 0);
814
806
  }
815
807
  }, C = () => {
816
- v == null || v(), d.value = void 0, _ = !0;
808
+ v?.(), d.value = void 0, _ = !0;
817
809
  }, w = () => {
818
810
  if (_) {
819
811
  if (_ = !1, c) {
@@ -821,30 +813,27 @@ function Z(n, r, i = !0, a, o, s, c, l = !0, u = e.getItem()) {
821
813
  t.add(c, e.path, e.method);
822
814
  }
823
815
  if (!k()) return;
824
- x(), d.value === void 0 && S().then(), l ? E() : K.run(() => E());
816
+ x(), d.value === void 0 && S().then(), l ? E() : G.run(() => E());
825
817
  }
826
818
  };
827
- l && ce() && pe(() => C());
819
+ l && se() && de(() => C());
828
820
  let T = () => {
829
- k() || fe(async () => {
821
+ k() || ue(async () => {
830
822
  _ = !1, await S();
831
823
  });
832
824
  }, E = () => {
833
825
  let e = [];
834
- i && e.push(f), I(n) && e.push(n), a && e.push(a), X && e.push(X), e.length > 0 && (v = z(e, async () => {
826
+ i && e.push(f), L(n) && e.push(n), a && e.push(a), X && e.push(X), e.length > 0 && (v = B(e, async () => {
835
827
  p.value || await S();
836
828
  }));
837
- }, 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);
829
+ }, D = F(() => (w(), d.value)), ee = Fe(d), O = F(() => Array.isArray(d.value) ? d.value.length : +!!d.value), te = F(() => d.value === void 0);
838
830
  return {
839
831
  data: D,
840
832
  get item() {
841
833
  return w(), d;
842
834
  },
843
835
  errorItem: ee,
844
- isResponseContractValid: F(() => {
845
- var e;
846
- return ((e = h.value) == null ? void 0 : e.status) === "success";
847
- }),
836
+ isResponseContractValid: F(() => h.value?.status === "success"),
848
837
  responseValidationResult: F(() => h.value),
849
838
  length: O,
850
839
  starting: te,
@@ -866,23 +855,23 @@ function Z(n, r, i = !0, a, o, s, c, l = !0, u = e.getItem()) {
866
855
  initSsr: T,
867
856
  reset: S,
868
857
  stop: C,
869
- abort: () => g == null ? void 0 : g.abort()
858
+ abort: () => g?.abort()
870
859
  };
871
860
  }
872
- var Ve = (e) => {
873
- X || (X = e);
861
+ var Ie = (e) => {
862
+ X ||= e;
874
863
  };
875
864
  //#endregion
876
865
  //#region src/composables/ref/useApiAsyncRef.ts
877
- function He(t, n, r = !0, i, a, o, s, c = !0, l = e.getItem()) {
866
+ function Le(t, n, r = !0, i, a, o, s, c = !0, l = e.getItem()) {
878
867
  let u = Z(t, n, r, i, a, o, s, c, l);
879
868
  return u.initSsr(), u;
880
869
  }
881
870
  //#endregion
882
871
  //#region src/composables/ref/useApiRequest.ts
883
872
  function Q({ path: r, method: i = n.post, action: a, transformation: o, validateRequestContract: s, validateResponseContract: c, errorContract: l, toData: u = !0, options: d, apiInstance: f = e.getItem() }) {
884
- let p = L(!1), m = G(Y(d));
885
- return l && t.add(l, H(r), i), {
873
+ let p = R(!1), m = W(Y(d));
874
+ return l && t.add(l, V(r), i), {
886
875
  loading: p,
887
876
  async send(e) {
888
877
  let t;
@@ -892,7 +881,7 @@ function Q({ path: r, method: i = n.post, action: a, transformation: o, validate
892
881
  if (t && !O(t)) return t;
893
882
  }
894
883
  if (p.value = !0, t = await f.request({
895
- path: H(r),
884
+ path: V(r),
896
885
  method: i,
897
886
  request: e,
898
887
  toData: u,
@@ -907,7 +896,7 @@ function Q({ path: r, method: i = n.post, action: a, transformation: o, validate
907
896
  e instanceof Promise && await e;
908
897
  }
909
898
  }
910
- } catch (e) {
899
+ } catch {
911
900
  t = void 0;
912
901
  }
913
902
  return p.value = !1, t;
@@ -916,7 +905,7 @@ function Q({ path: r, method: i = n.post, action: a, transformation: o, validate
916
905
  }
917
906
  //#endregion
918
907
  //#region src/composables/ref/useApiDelete.ts
919
- function Ue(e) {
908
+ function Re(e) {
920
909
  return Q({
921
910
  ...e,
922
911
  method: n.delete
@@ -924,7 +913,7 @@ function Ue(e) {
924
913
  }
925
914
  //#endregion
926
915
  //#region src/composables/ref/useApiGet.ts
927
- function We(e) {
916
+ function ze(e) {
928
917
  return Q({
929
918
  ...e,
930
919
  method: n.get
@@ -932,7 +921,7 @@ function We(e) {
932
921
  }
933
922
  //#endregion
934
923
  //#region src/composables/ref/useApiPost.ts
935
- function Ge(e) {
924
+ function Be(e) {
936
925
  return Q({
937
926
  ...e,
938
927
  method: n.post
@@ -940,7 +929,7 @@ function Ge(e) {
940
929
  }
941
930
  //#endregion
942
931
  //#region src/composables/ref/useApiPut.ts
943
- function Ke(e) {
932
+ function Ve(e) {
944
933
  return Q({
945
934
  ...e,
946
935
  method: n.put
@@ -948,7 +937,7 @@ function Ke(e) {
948
937
  }
949
938
  //#endregion
950
939
  //#region src/composables/ref/useFormattersRef.ts
951
- function qe(e, t) {
940
+ function He(e, t) {
952
941
  let n = new l(t);
953
942
  return {
954
943
  listFormat: F(() => n.setList(e.value).to()),
@@ -957,9 +946,9 @@ function qe(e, t) {
957
946
  }
958
947
  //#endregion
959
948
  //#region src/composables/ref/useSearchValueRef.ts
960
- function Je(e, t) {
961
- let n = t == null ? L("") : t, r = L(n.value), i = L(!1), a;
962
- return z(n, (t, o, s) => {
949
+ function Ue(e, t) {
950
+ let n = t ?? R(""), r = R(n.value), i = R(!1), a;
951
+ return B(n, (t, o, s) => {
963
952
  let c = e.getOptions().getDelay();
964
953
  c && k() ? (i.value = !0, a = setTimeout(() => {
965
954
  a = void 0, r.value = n.value, i.value = !1;
@@ -974,8 +963,8 @@ function Je(e, t) {
974
963
  }
975
964
  //#endregion
976
965
  //#region src/composables/ref/useSearchRef.ts
977
- function Ye(e, t, n, r) {
978
- let i = () => H(C(t)), a = new b(void 0, i(), void 0, r), { search: o, searchDelay: s, loading: c } = Je(a, n), l = () => H(C(e)) || [], u = F(() => a.setColumns(i()).setValue(s.value).getItem().isSearch()), d = F(() => a.setList(l()).setColumns(i()).setValue(s.value).to());
966
+ function We(e, t, n, r) {
967
+ let i = () => V(C(t)), a = new b(void 0, i(), void 0, r), { search: o, searchDelay: s, loading: c } = Ue(a, n), l = () => V(C(e)) || [], u = F(() => a.setColumns(i()).setValue(s.value).getItem().isSearch()), d = F(() => a.setList(l()).setColumns(i()).setValue(s.value).to());
979
968
  return {
980
969
  isSearch: u,
981
970
  search: o,
@@ -986,27 +975,26 @@ function Ye(e, t, n, r) {
986
975
  }
987
976
  //#endregion
988
977
  //#region src/composables/ref/useApiManagementRef.ts
989
- function Xe(e, t, n, r, i, a, o, s) {
978
+ function Ge(e, t, n, r, i, a, o, s) {
990
979
  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);
991
- if (t && (v = qe(E, t)), n && (y = Ye(F(() => {
992
- var e;
993
- let t = (e = v == null ? void 0 : v.listFormat.value) == null ? C.data.value : e;
994
- if (Array.isArray(t)) return t;
980
+ if (t && (v = He(E, t)), n && (y = We(F(() => {
981
+ let e = v?.listFormat.value ?? C.data.value;
982
+ if (Array.isArray(e)) return e;
995
983
  }), n.columns, n.value, n.options)), r || i || a) {
996
984
  let e = (e) => {
997
- o == null || o(), O(e) && C.reset().then();
985
+ o?.(), O(e) && C.reset().then();
998
986
  }, t = (t) => async (n) => {
999
987
  ne(t) && await w(t(n)), e(n);
1000
988
  };
1001
- r && (b = Ge({
989
+ r && (b = Be({
1002
990
  ...r,
1003
991
  action: t(r.action),
1004
992
  apiInstance: s
1005
- })), i && (x = Ke({
993
+ })), i && (x = Ve({
1006
994
  ...i,
1007
995
  action: t(i.action),
1008
996
  apiInstance: s
1009
- })), a && (S = Ue({
997
+ })), a && (S = Re({
1010
998
  ...a,
1011
999
  action: t(a.action),
1012
1000
  apiInstance: s
@@ -1035,83 +1023,83 @@ function Xe(e, t, n, r, i, a, o, s) {
1035
1023
  starting: C.starting,
1036
1024
  reading: C.reading,
1037
1025
  loading: C.loading,
1038
- loadingSearch: y == null ? void 0 : y.loading,
1039
- loadingPost: b == null ? void 0 : b.loading,
1040
- loadingPut: x == null ? void 0 : x.loading,
1041
- loadingDelete: S == null ? void 0 : S.loading,
1042
- isSearch: y == null ? void 0 : y.isSearch,
1043
- search: y == null ? void 0 : y.search,
1026
+ loadingSearch: y?.loading,
1027
+ loadingPost: b?.loading,
1028
+ loadingPut: x?.loading,
1029
+ loadingDelete: S?.loading,
1030
+ isSearch: y?.isSearch,
1031
+ search: y?.search,
1044
1032
  init: C.init,
1045
1033
  initSsr: C.initSsr,
1046
1034
  reset: C.reset,
1047
1035
  abort: C.abort,
1048
- sendPost: async (e) => await (b == null ? void 0 : b.send(e)),
1049
- sendPut: async (e) => await (x == null ? void 0 : x.send(e)),
1050
- sendDelete: async (e) => await (S == null ? void 0 : S.send(e))
1036
+ sendPost: async (e) => await b?.send(e),
1037
+ sendPut: async (e) => await x?.send(e),
1038
+ sendDelete: async (e) => await S?.send(e)
1051
1039
  };
1052
1040
  }
1053
1041
  //#endregion
1054
1042
  //#region src/composables/ref/useApiManagementAsyncRef.ts
1055
- function Ze(e, t, n, r, i, a, o, s) {
1056
- let c = Xe(e, t, n, r, i, a, o, s);
1043
+ function Ke(e, t, n, r, i, a, o, s) {
1044
+ let c = Ge(e, t, n, r, i, a, o, s);
1057
1045
  return c.initSsr(), c;
1058
1046
  }
1059
1047
  //#endregion
1060
1048
  //#region src/composables/ref/useBroadcastValueRef.ts
1061
- var Qe = () => x.get("__ui:broadcast-value-ref__", () => ({}));
1062
- function $e(e, t) {
1063
- let n = `broadcast--${e}`, i = Qe();
1049
+ var qe = () => x.get("__ui:broadcast-value-ref__", () => ({}));
1050
+ function Je(e, t) {
1051
+ let n = `broadcast--${e}`, i = qe();
1064
1052
  if (n in i) return i[n];
1065
- let a = L(C(t));
1053
+ let a = R(C(t));
1066
1054
  if (k()) {
1067
1055
  let e = new r(n, (e) => {
1068
1056
  a.value !== e.data.message && (a.value = e.data.message);
1069
1057
  });
1070
- K.run(() => {
1071
- z(a, (t) => e.post({ message: t }));
1058
+ G.run(() => {
1059
+ B(a, (t) => e.post({ message: t }));
1072
1060
  });
1073
1061
  }
1074
1062
  return i[n] = a, a;
1075
1063
  }
1076
1064
  //#endregion
1077
1065
  //#region src/composables/ref/useCookieRef.ts
1078
- var et = () => x.get("__ui:cookie-ref__", () => ({}));
1079
- function tt(e, t, n) {
1080
- let r = et();
1066
+ var Ye = () => x.get("__ui:cookie-ref__", () => ({}));
1067
+ function Xe(e, t, n) {
1068
+ let r = Ye();
1081
1069
  if (e in r) return r[e];
1082
- let a = new i(e), o = $e(`__cookie:${e}`, a.get(t, n));
1083
- return K.run(() => {
1084
- z(o, (e) => {
1070
+ let a = new i(e), o = Je(`__cookie:${e}`, a.get(t, n));
1071
+ return G.run(() => {
1072
+ B(o, (e) => {
1085
1073
  a.set(e, n);
1086
1074
  });
1087
1075
  }), r[e] = o, o;
1088
1076
  }
1089
1077
  //#endregion
1090
1078
  //#region src/composables/ref/useGeoIntlRef.ts
1091
- function nt() {
1092
- return new Fe();
1079
+ function Ze() {
1080
+ return new je();
1093
1081
  }
1094
1082
  //#endregion
1095
1083
  //#region src/composables/ref/useGeoUnitRef.ts
1096
- function rt() {
1097
- return new Ie();
1084
+ function Qe() {
1085
+ return new Me();
1098
1086
  }
1099
1087
  //#endregion
1100
1088
  //#region src/composables/ref/useHashRef.ts
1101
- var it = () => x.get("__ui:hash-ref__", () => ({}));
1102
- function at(e, t) {
1103
- let n = it();
1089
+ var $e = () => x.get("__ui:hash-ref__", () => ({}));
1090
+ function et(e, t) {
1091
+ let n = $e();
1104
1092
  if (e in n) return n[e];
1105
- let r = R(m.get(e, t));
1106
- return k() && (K.run(() => {
1107
- z(r, (t) => m.set(e, t));
1093
+ let r = z(m.get(e, t));
1094
+ return k() && (G.run(() => {
1095
+ B(r, (t) => m.set(e, t));
1108
1096
  }), m.addWatch(e, (e) => {
1109
1097
  r.value = e;
1110
1098
  })), n[e] = r, r;
1111
1099
  }
1112
1100
  //#endregion
1113
1101
  //#region src/composables/ref/useLazyRef.ts
1114
- var ot = (e = { rootMargin: "128px 0px" }) => {
1102
+ var tt = (e = { rootMargin: "128px 0px" }) => {
1115
1103
  let t = {}, n = k() && "IntersectionObserver" in window ? new IntersectionObserver((e) => {
1116
1104
  e.forEach((e) => {
1117
1105
  let n = D(e.target);
@@ -1122,11 +1110,8 @@ var ot = (e = { rootMargin: "128px 0px" }) => {
1122
1110
  });
1123
1111
  }, e) : void 0, r = (e) => {
1124
1112
  if (e) {
1125
- let i = D(e);
1126
- if (i in t) {
1127
- var r;
1128
- n == null || n.unobserve(e), (r = t[i]) == null || r.stopWatch(), delete t[i];
1129
- }
1113
+ let r = D(e);
1114
+ r in t && (n?.unobserve(e), t[r]?.stopWatch(), delete t[r]);
1130
1115
  }
1131
1116
  };
1132
1117
  return {
@@ -1137,17 +1122,17 @@ var ot = (e = { rootMargin: "128px 0px" }) => {
1137
1122
  return t[n];
1138
1123
  },
1139
1124
  addLazyItem(e) {
1140
- let i = R(!n);
1125
+ let i = z(!n);
1141
1126
  if (n) {
1142
1127
  let a;
1143
- a = z(e, (o, s) => {
1128
+ a = B(e, (o, s) => {
1144
1129
  if (s && r(s), e.value) {
1145
1130
  let r = D(e.value);
1146
1131
  t[r] = {
1147
1132
  status: i,
1148
- ratio: R(0),
1149
- entry: R(void 0),
1150
- stopWatch: () => a == null ? void 0 : a()
1133
+ ratio: z(0),
1134
+ entry: z(void 0),
1135
+ stopWatch: () => a?.()
1151
1136
  }, n.observe(e.value);
1152
1137
  } else r(e.value);
1153
1138
  }, { immediate: !0 });
@@ -1155,18 +1140,18 @@ var ot = (e = { rootMargin: "128px 0px" }) => {
1155
1140
  return i;
1156
1141
  },
1157
1142
  removeLazyItem: r,
1158
- disconnectLazy: () => n == null ? void 0 : n.disconnect()
1143
+ disconnectLazy: () => n?.disconnect()
1159
1144
  };
1160
- }, st = () => x.get("__ui:lazy-item-by-margin-ref__", () => []), ct = (e) => {
1161
- let t = st(), n = t.find((t) => t.rootMargin === e);
1145
+ }, nt = () => x.get("__ui:lazy-item-by-margin-ref__", () => []), rt = (e) => {
1146
+ let t = nt(), n = t.find((t) => t.rootMargin === e);
1162
1147
  if (n) return n.item;
1163
- let r = ot({ rootMargin: e });
1148
+ let r = tt({ rootMargin: e });
1164
1149
  return t.push({
1165
1150
  rootMargin: e,
1166
1151
  item: r
1167
1152
  }), r;
1168
- }, lt = (e, t = "128px 0px") => {
1169
- let n = ct(t);
1153
+ }, it = (e, t = "128px 0px") => {
1154
+ let n = rt(t);
1170
1155
  return {
1171
1156
  lazyItemStatus: n.addLazyItem(e),
1172
1157
  get lazyItem() {
@@ -1176,19 +1161,19 @@ var ot = (e = { rootMargin: "128px 0px" }) => {
1176
1161
  };
1177
1162
  //#endregion
1178
1163
  //#region src/composables/ref/useLoadingRef.ts
1179
- function ut() {
1180
- let e = R(g.is());
1164
+ function at() {
1165
+ let e = z(g.is());
1181
1166
  return k() && g.registrationEvent(({ detail: t }) => {
1182
1167
  e.value = t.loading;
1183
1168
  }), e;
1184
1169
  }
1185
1170
  //#endregion
1186
1171
  //#region src/functions/executeUse.ts
1187
- var dt = /* @__PURE__ */ function(e) {
1172
+ var ot = /* @__PURE__ */ function(e) {
1188
1173
  return e.global = "global", e.provide = "provide", e.local = "local", e;
1189
- }({}), ft = 1, pt = re(1e5, 999999), mt = () => `__execute_use${pt}::${ft++}`, ht = () => x.get("__ui:execute-use-global__", () => []);
1174
+ }({}), st = 1, ct = () => `__execute_use::${st++}`, lt = () => x.get("__ui:execute-use-global__", () => []);
1190
1175
  function $(e, t = "provide") {
1191
- let n = mt(), r = (t) => {
1176
+ let n = ct(), r = (t) => {
1192
1177
  let n = Object.freeze(e(...t));
1193
1178
  return {
1194
1179
  ...n,
@@ -1198,7 +1183,7 @@ function $(e, t = "provide") {
1198
1183
  };
1199
1184
  }, i = (e) => {
1200
1185
  let t = Object.freeze(r(e));
1201
- return me(n, t), t;
1186
+ return fe(n, t), t;
1202
1187
  }, a = (e) => {
1203
1188
  let t = r(e);
1204
1189
  return Object.freeze({
@@ -1207,34 +1192,25 @@ function $(e, t = "provide") {
1207
1192
  x.remove(n);
1208
1193
  }
1209
1194
  });
1210
- }, o = (...e) => {
1211
- if (t === "provide") {
1212
- var r;
1213
- let t = de(n, void 0);
1214
- if (t) return t;
1215
- let a = ce();
1216
- return (a == null || (r = a.provides) == null ? void 0 : r[n]) || i(e);
1217
- }
1218
- return x.get(n, () => K.run(() => a(e)));
1219
- };
1220
- return t === "global" && ht().push(o), o;
1195
+ }, o = (...e) => t === "provide" ? I(n, void 0) || se()?.provides?.[n] || i(e) : x.get(n, () => G.run(() => a(e)));
1196
+ return t === "global" && lt().push(o), o;
1221
1197
  }
1222
- function gt(e) {
1198
+ function ut(e) {
1223
1199
  return $(e, "global");
1224
1200
  }
1225
- function _t(e) {
1201
+ function dt(e) {
1226
1202
  return $(e, "provide");
1227
1203
  }
1228
- function vt(e) {
1204
+ function ft(e) {
1229
1205
  return $(e, "local");
1230
1206
  }
1231
- function yt() {
1232
- ht().forEach((e) => e());
1207
+ function pt() {
1208
+ lt().forEach((e) => e());
1233
1209
  }
1234
1210
  //#endregion
1235
1211
  //#region src/composables/ref/useMeta.ts
1236
- var bt = vt(() => {
1237
- let e = _.getItem(), 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) => {
1212
+ var mt = /*#__PURE__*/ ft(() => {
1213
+ let e = _.getItem(), t = R(e.getTitle()), n = R(e.getKeywords()), r = R(e.getDescription()), i = R(e.getImage()), a = R(e.getCanonical()), o = R(e.getRobots()), s = R(e.getAuthor()), c = R(e.getSiteName()), l = () => e.html(), u = (e) => {
1238
1214
  t.value = e, x();
1239
1215
  }, d = (e) => {
1240
1216
  n.value = e, x();
@@ -1257,7 +1233,7 @@ var bt = vt(() => {
1257
1233
  }, x = () => {
1258
1234
  k() || b();
1259
1235
  };
1260
- return z([
1236
+ return B([
1261
1237
  t,
1262
1238
  n,
1263
1239
  r,
@@ -1290,74 +1266,66 @@ var bt = vt(() => {
1290
1266
  setSiteName: v,
1291
1267
  setSuffix: (t) => e.setSuffix(t)
1292
1268
  };
1293
- }), xt = () => bt(), St = () => x.get("__ui:query-ref__", () => ({}));
1294
- function Ct(e, t) {
1295
- let n = St();
1269
+ }), ht = () => mt(), gt = () => x.get("__ui:query-ref__", () => ({}));
1270
+ function _t(e, t) {
1271
+ let n = gt();
1296
1272
  if (e in n) return n[e];
1297
- let r = R(v.get(e, t));
1298
- return k() && (K.run(() => {
1299
- z(r, (t) => v.set(e, t));
1273
+ let r = z(v.get(e, t));
1274
+ return k() && (G.run(() => {
1275
+ B(r, (t) => v.set(e, t));
1300
1276
  }), v.addWatch(e, (e) => {
1301
1277
  r.value = e;
1302
1278
  })), n[e] = r, r;
1303
1279
  }
1304
1280
  //#endregion
1305
1281
  //#region src/composables/ref/useRouterList.ts
1306
- var wt = (e, t, n = !0) => {
1307
- var r;
1308
- 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) => {
1309
- var n;
1310
- return (n = e.value) == null ? void 0 : n.find((e) => e.value === t);
1311
- }, s = (e) => {
1312
- e && e !== i.value && o(e) && (i.value = e, J.push({ name: e }));
1282
+ var vt = (e, t, n = !0) => {
1283
+ let r = L(t) ? t : R(t || e.value?.[0]?.value || ""), i = () => a(r.value), a = (t) => e.value?.find((e) => e.value === t), o = (e) => {
1284
+ e && e !== r.value && a(e) && (r.value = e, J.push({ name: e }));
1313
1285
  };
1314
1286
  return {
1315
- item: F(() => a()),
1316
- selected: i,
1317
- label: F(() => {
1318
- var e;
1319
- return ((e = a()) == null ? void 0 : e.label) || "";
1320
- }),
1287
+ item: F(() => i()),
1288
+ selected: r,
1289
+ label: F(() => i()?.label || ""),
1321
1290
  list: F(() => e.value ? T(e.value, (e) => n && !("to" in e) ? {
1322
1291
  ...e,
1323
1292
  to: { name: e.value }
1324
1293
  } : e) : []),
1325
- to: s,
1294
+ to: o,
1326
1295
  toMain() {
1327
- var t;
1328
- s((t = e.value) == null || (t = t[0]) == null ? void 0 : t.value);
1296
+ o(e.value?.[0]?.value);
1329
1297
  }
1330
1298
  };
1331
- }, Tt = () => x.get("__ui:session-ref__", () => ({}));
1332
- function Et(e, t) {
1333
- let n = Tt();
1299
+ }, yt = () => x.get("__ui:session-ref__", () => ({}));
1300
+ function bt(e, t) {
1301
+ let n = yt();
1334
1302
  if (e in n) return n[e];
1335
- let r = new a(e, !0), i = L(r.get(t));
1336
- return K.run(() => {
1337
- z(i, (e) => r.set(e));
1303
+ let r = new a(e, !0), i = R(r.get(t));
1304
+ return G.run(() => {
1305
+ B(i, (e) => r.set(e));
1338
1306
  }), n[e] = i, i;
1339
1307
  }
1340
1308
  //#endregion
1341
1309
  //#region src/composables/ref/useStorageRef.ts
1342
- var Dt = () => x.get("__ui:storage-ref__", () => ({}));
1343
- function Ot(e, t, n) {
1344
- let r = Dt();
1310
+ var xt = () => x.get("__ui:storage-ref__", () => ({}));
1311
+ function St(e, t, n) {
1312
+ let r = xt();
1345
1313
  if (e in r) return r[e];
1346
- let i = new a(e), o = L(i.get(t, n));
1347
- return K.run(() => {
1348
- z(o, (e) => i.set(e));
1314
+ let i = new a(e), o = R(i.get(t, n));
1315
+ return G.run(() => {
1316
+ B(o, (e) => i.set(e));
1349
1317
  }), k() && window.addEventListener("storage", () => {
1350
1318
  i.update(), o.value = i.get();
1351
1319
  }), r[e] = o, o;
1352
1320
  }
1353
1321
  //#endregion
1354
1322
  //#region src/composables/ref/useTranslateRef.ts
1355
- function kt(e, t = S.getItem()) {
1356
- let n = R(t.getListSync(e, !0)), r = async () => {
1323
+ function Ct(e, t = S.getItem()) {
1324
+ let n = z(t.getListSync(e, !0)), r = async () => {
1357
1325
  n.value = { ...await t.getList(e) };
1358
1326
  };
1359
1327
  if (k()) {
1360
- z(q.getLanguage(), r);
1328
+ B(K.getLanguage(), r);
1361
1329
  for (let e in n.value) if (n.value[e] === e || n.value[e] === " ") {
1362
1330
  r().then();
1363
1331
  break;
@@ -1365,23 +1333,23 @@ function kt(e, t = S.getItem()) {
1365
1333
  }
1366
1334
  return n;
1367
1335
  }
1368
- var At = (e) => kt(e);
1336
+ var wt = (e) => Ct(e);
1369
1337
  //#endregion
1370
1338
  //#region src/functions/computedAsync.ts
1371
- function jt(e, t, n, r) {
1372
- let i = R(C(t)), a = !0, o = async () => {
1339
+ function Tt(e, t, n, r) {
1340
+ let i = z(C(t)), a = !0, o = async () => {
1373
1341
  let t = await w(e);
1374
1342
  t !== n && (i.value = t);
1375
1343
  }, s = () => {
1376
- a && (a = !1, k() ? ye(o) : o().then());
1344
+ a && (a = !1, k() ? _e(o) : o().then());
1377
1345
  };
1378
1346
  return F(() => (s(), i.value), r);
1379
1347
  }
1380
1348
  //#endregion
1381
1349
  //#region src/functions/computedByLanguage.ts
1382
- function Mt(e, t = () => void 0, n, r) {
1350
+ function Et(e, t = () => void 0, n, r) {
1383
1351
  return F(() => {
1384
- if (q.get().value && (n === void 0 || n())) {
1352
+ if (K.get().value && (n === void 0 || n())) {
1385
1353
  let t = e();
1386
1354
  if (t !== void 0) return t;
1387
1355
  }
@@ -1390,13 +1358,13 @@ function Mt(e, t = () => void 0, n, r) {
1390
1358
  }
1391
1359
  //#endregion
1392
1360
  //#region src/functions/computedEternity.ts
1393
- function Nt(e, t) {
1394
- return oe((n, r) => {
1395
- let i = R(C(t)), a = !1, o = async () => {
1361
+ function Dt(e, t) {
1362
+ return ae((n, r) => {
1363
+ let i = z(C(t)), a = !1, o = async () => {
1396
1364
  i.value = await w(e), r();
1397
1365
  }, s = () => {
1398
- a || (a = !0, k() ? K.run(() => {
1399
- ye(async () => await o());
1366
+ a || (a = !0, k() ? G.run(() => {
1367
+ _e(async () => await o());
1400
1368
  }) : o().then());
1401
1369
  };
1402
1370
  return {
@@ -1411,42 +1379,42 @@ function Nt(e, t) {
1411
1379
  }
1412
1380
  //#endregion
1413
1381
  //#region src/functions/dxtFunctionalPlugin.ts
1414
- var Pt = { install(t, n = {}) {
1415
- 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);
1382
+ var Ot = { install(t, n = {}) {
1383
+ if (n.api && e.setConfig(n.api), n.translate && S.setConfig(n.translate), n.location && K.setValueDefault(n.location), n.icons && h.setConfig(n.icons), n.iconsSocial && ve.addIcons(n.iconsSocial), n.metaSuffix && ht().setSuffix(n.metaSuffix), n.router) J.set(n.router);
1416
1384
  else {
1417
1385
  let e = t.config.globalProperties.$router;
1418
1386
  e && J.set(e);
1419
1387
  }
1420
- n.errorCauses && s.addList(n.errorCauses), n.errorHandlers && s.addHandlerList(n.errorHandlers), n.errorCallbacks && n.errorCallbacks.forEach((e) => s.addCallback(e)), yt();
1388
+ n.errorCauses && s.addList(n.errorCauses), n.errorHandlers && s.addHandlerList(n.errorHandlers), n.errorCallbacks && n.errorCallbacks.forEach((e) => s.addCallback(e)), pt();
1421
1389
  } };
1422
1390
  //#endregion
1423
1391
  //#region src/functions/getInject.ts
1424
- function Ft(e) {
1425
- if (ue()) {
1426
- let t = de(e);
1392
+ function kt(e) {
1393
+ if (le()) {
1394
+ let t = I(e);
1427
1395
  if (t) return t;
1428
1396
  }
1429
1397
  }
1430
1398
  //#endregion
1431
1399
  //#region src/functions/ref/executeFunctionRef.ts
1432
- function It(e) {
1433
- return H(C(e));
1400
+ function At(e) {
1401
+ return V(C(e));
1434
1402
  }
1435
1403
  //#endregion
1436
1404
  //#region src/functions/render/getBind.ts
1437
- function Lt(e, t = {}, n = "value", r = !1) {
1405
+ function jt(e, t = {}, n = "value", r = !1) {
1438
1406
  let i = typeof t == "string", a = i ? t : n, o = i ? {} : t;
1439
- return e ? e && j(e) && (a in e || r) ? U(o, e) : U(o, { [a]: e }) : i ? {} : { ...o };
1407
+ return e ? e && j(e) && (a in e || r) ? H(o, e) : H(o, { [a]: e }) : i ? {} : { ...o };
1440
1408
  }
1441
1409
  //#endregion
1442
1410
  //#region src/functions/ref/getBindRef.ts
1443
- function Rt(e, t = {}, n = "value") {
1444
- return F(() => Lt(H(e), H(t), n));
1411
+ function Mt(e, t = {}, n = "value") {
1412
+ return F(() => jt(V(e), V(t), n));
1445
1413
  }
1446
1414
  //#endregion
1447
1415
  //#region src/functions/ref/setRef.ts
1448
- function zt(e, t) {
1416
+ function Nt(e, t) {
1449
1417
  e.value !== t && (e.value = t);
1450
1418
  }
1451
1419
  //#endregion
1452
- 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 };
1420
+ export { Oe as DatetimeRef, be as DesignAbstract, xe as DesignAsyncAbstract, ye as DesignChanged, Ee as DesignComp, U as DesignComponents, De as DesignConstructorAbstract, G as EffectScopeGlobal, ke as EventRef, ot as ExecuteUseType, Ae as GeoFlagRef, je as GeoIntlRef, K as GeoRef, Me as GeoUnitRef, Ne as ListDataRef, J as RouterItemRef, Pe as ScrollbarWidthRef, Tt as computedAsync, Et as computedByLanguage, Dt as computedEternity, Ot as dxtFunctionalPlugin, At as executeFunctionRef, $ as executeUse, ut as executeUseGlobal, pt as executeUseGlobalInit, ft as executeUseLocal, dt as executeUseProvide, Fe as getApiErrorRef, jt as getBind, Mt as getBindRef, Se as getClassName, Ce as getIndexForRender, kt as getInject, Y as getOptions, V as getRef, we as render, Ie as setApiRefGlobalConditions, Nt as setRef, wt as t, H as toBind, Te as toBinds, W as toRefItem, Le as useApiAsyncRef, Re as useApiDelete, ze as useApiGet, Ke as useApiManagementAsyncRef, Ge as useApiManagementRef, Be as useApiPost, Ve as useApiPut, Z as useApiRef, Q as useApiRequest, Je as useBroadcastValueRef, Xe as useCookieRef, He as useFormattersRef, Ze as useGeoIntlRef, Qe as useGeoUnitRef, et as useHashRef, it as useLazyItemByMarginRef, tt as useLazyRef, at as useLoadingRef, ht as useMeta, _t as useQueryRef, vt as useRouterList, We as useSearchRef, Ue as useSearchValueRef, bt as useSessionRef, St as useStorageRef, Ct as useTranslateRef };