@dxtmisha/functional 1.14.0 → 1.14.2

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,38 +1,39 @@
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 j, isObjectNotArray as M, isSelected as N, isString as P, random as te, toArray as F, toCamelCase as ne, toDate as re } from "@dxtmisha/functional-basic";
2
- import { computed as I, customRef as ie, effectScope as ae, getCurrentInstance as oe, h as se, hasInjectionContext as ce, inject as le, 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";
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";
3
4
  export * from "@dxtmisha/functional-basic";
4
5
  //#endregion
5
6
  //#region \0@oxc-project+runtime@0.130.0/helpers/typeof.js
6
- function V(e) {
7
+ function B(e) {
7
8
  "@babel/helpers - typeof";
8
- return V = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
9
+ return B = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
9
10
  return typeof e;
10
11
  } : function(e) {
11
12
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
12
- }, V(e);
13
+ }, B(e);
13
14
  }
14
15
  //#endregion
15
16
  //#region \0@oxc-project+runtime@0.130.0/helpers/toPrimitive.js
16
- function ve(e, t) {
17
- if (V(e) != "object" || !e) return e;
17
+ function be(e, t) {
18
+ if (B(e) != "object" || !e) return e;
18
19
  var n = e[Symbol.toPrimitive];
19
20
  if (n !== void 0) {
20
21
  var r = n.call(e, t || "default");
21
- if (V(r) != "object") return r;
22
+ if (B(r) != "object") return r;
22
23
  throw TypeError("@@toPrimitive must return a primitive value.");
23
24
  }
24
25
  return (t === "string" ? String : Number)(e);
25
26
  }
26
27
  //#endregion
27
28
  //#region \0@oxc-project+runtime@0.130.0/helpers/toPropertyKey.js
28
- function ye(e) {
29
- var t = ve(e, "string");
30
- return V(t) == "symbol" ? t : t + "";
29
+ function xe(e) {
30
+ var t = be(e, "string");
31
+ return B(t) == "symbol" ? t : t + "";
31
32
  }
32
33
  //#endregion
33
34
  //#region \0@oxc-project+runtime@0.130.0/helpers/defineProperty.js
34
- function H(e, t, n) {
35
- return (t = ye(t)) in e ? Object.defineProperty(e, t, {
35
+ function V(e, t, n) {
36
+ return (t = xe(t)) in e ? Object.defineProperty(e, t, {
36
37
  value: n,
37
38
  enumerable: !0,
38
39
  configurable: !0,
@@ -41,9 +42,9 @@ function H(e, t, n) {
41
42
  }
42
43
  //#endregion
43
44
  //#region src/classes/design/DesignChanged.ts
44
- var be = class {
45
+ var Se = class {
45
46
  constructor(e, t = Object.keys(e)) {
46
- H(this, "props", void 0), H(this, "watch", void 0), H(this, "cache", {}), this.props = e, this.watch = t;
47
+ V(this, "props", void 0), V(this, "watch", void 0), V(this, "cache", {}), this.props = e, this.watch = t;
47
48
  }
48
49
  is(e) {
49
50
  return ee(e) ? !!e.find((e) => this.isDifferent(e)) : this.isDifferent(e);
@@ -62,9 +63,9 @@ var be = class {
62
63
  var t, n;
63
64
  return ((t = this.cache) == null ? void 0 : t[e]) !== ((n = this.props) == null ? void 0 : n[e]);
64
65
  }
65
- }, xe = class {
66
+ }, Ce = class {
66
67
  constructor(e, t, n) {
67
- H(this, "props", void 0), H(this, "callback", void 0), H(this, "event", {}), H(this, "changed", void 0), this.props = e, this.callback = t, this.changed = new be(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 Se(e, n);
68
69
  }
69
70
  make(e) {
70
71
  return this.makeCallback(e), this;
@@ -81,7 +82,7 @@ var be = class {
81
82
  makeCallbackItem() {
82
83
  this.callback && this.callback(this.event);
83
84
  }
84
- }, Se = class extends xe {
85
+ }, we = class extends Ce {
85
86
  make(e) {
86
87
  return this.makeCallback(e).then(), this;
87
88
  }
@@ -91,32 +92,32 @@ var be = class {
91
92
  };
92
93
  //#endregion
93
94
  //#region src/functions/ref/getRef.ts
94
- function U(e) {
95
- return L(e) ? e.value : e;
95
+ function H(e) {
96
+ return I(e) ? e.value : e;
96
97
  }
97
98
  //#endregion
98
99
  //#region src/functions/render/getClassName.ts
99
- function Ce(e) {
100
+ function Te(e) {
100
101
  return e && "class" in e && typeof e.class == "string" ? e.class : void 0;
101
102
  }
102
103
  //#endregion
103
104
  //#region src/functions/render/getIndexForRender.ts
104
- function we(e, t, n) {
105
- let r = t == null ? void 0 : t.id, i = t == null ? void 0 : t.index, a = Ce(t), o = "";
106
- if (P(e) && (o += e), n && (o += `.${n}`), i && P(i) && (o += `.${i}`), a && (o += `.${a}`), r && (o += `.${r}`), o !== "") return o;
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 = "";
107
+ if (N(e) && (o += e), n && (o += `.${n}`), i && N(i) && (o += `.${i}`), a && (o += `.${a}`), r && (o += `.${r}`), o !== "") return o;
107
108
  }
108
109
  //#endregion
109
110
  //#region src/functions/ref/render.ts
110
- function Te(e, t, n, r) {
111
+ function De(e, t, n, r) {
111
112
  let i = t, a = t && "key" in t;
112
113
  return (!t || !a) && (i = {
113
114
  ...t,
114
- key: we(e, t, r)
115
- }), se(e, i, n);
115
+ key: Ee(e, t, r)
116
+ }), ce(e, i, n);
116
117
  }
117
118
  //#endregion
118
119
  //#region src/functions/toBind.ts
119
- function W(e, t) {
120
+ function U(e, t) {
120
121
  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 = {
121
122
  ...e,
122
123
  ...t
@@ -125,17 +126,17 @@ function W(e, t) {
125
126
  }
126
127
  //#endregion
127
128
  //#region src/functions/toBinds.ts
128
- function Ee(...e) {
129
+ function Oe(...e) {
129
130
  let t = {};
130
131
  return e.forEach((e) => {
131
- e && (t = W(t, e));
132
+ e && (t = U(t, e));
132
133
  }), t;
133
134
  }
134
135
  //#endregion
135
136
  //#region src/classes/design/DesignComponents.ts
136
- var G = class {
137
+ var W = class {
137
138
  constructor(e = {}, t) {
138
- H(this, "components", void 0), H(this, "modification", void 0), H(this, "caching", {}), this.components = e, this.modification = t;
139
+ V(this, "components", void 0), V(this, "modification", void 0), V(this, "caching", {}), this.components = e, this.modification = t;
139
140
  }
140
141
  is(e) {
141
142
  return e in this.components;
@@ -146,9 +147,9 @@ var G = class {
146
147
  }
147
148
  getModification(e, t) {
148
149
  if (e) {
149
- e in this.caching || (this.caching[e] = I(() => this.computeModification(e)));
150
+ e in this.caching || (this.caching[e] = F(() => this.computeModification(e)));
150
151
  let n = this.caching[e];
151
- if (n) return t ? Ee(n.value, t) : n.value;
152
+ if (n) return t ? Oe(n.value, t) : n.value;
152
153
  }
153
154
  return t;
154
155
  }
@@ -159,7 +160,7 @@ var G = class {
159
160
  renderOne(e, t, n, r) {
160
161
  if (this.is(e)) {
161
162
  let i = r == null ? e : r;
162
- return Te(this.get(e), this.getModification(i, t), n, i);
163
+ return De(this.get(e), this.getModification(i, t), n, i);
163
164
  }
164
165
  }
165
166
  renderAdd(e, t, n, r, i) {
@@ -167,21 +168,21 @@ var G = class {
167
168
  }
168
169
  computeModification(e) {
169
170
  var t;
170
- let n = U((t = this.modification) == null ? void 0 : t[e]);
171
- if (n && M(n)) {
171
+ let n = H((t = this.modification) == null ? void 0 : t[e]);
172
+ if (n && j(n)) {
172
173
  let e = {};
173
174
  return w(n, (t, n) => {
174
- e[n] = U(t);
175
+ e[n] = H(t);
175
176
  }), e;
176
177
  }
177
178
  return {};
178
179
  }
179
- }, De = class extends G {}, Oe = class {
180
+ }, ke = class extends W {}, Ae = class {
180
181
  constructor(e, t, n) {
181
- H(this, "props", void 0), H(this, "options", void 0), H(this, "name", void 0), H(this, "element", R()), H(this, "refs", void 0), H(this, "components", void 0), H(this, "emits", void 0), H(this, "classes", void 0), H(this, "classesSub", void 0), H(this, "styles", void 0), H(this, "stylesSub", void 0), H(this, "attrs", void 0), H(this, "slots", void 0), H(this, "dataExpose", void 0), this.props = t, this.options = n, this.name = this.initName(e), this.refs = this.props ? pe(this.props) : {}, this.components = new G(n == null ? void 0 : n.components, n == null ? void 0 : n.compMod), this.emits = n == null ? void 0 : n.emits, this.classes = I(() => this.updateClasses()), this.styles = I(() => this.updateStyles()), this.attrs = he(), this.slots = ge();
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
183
  }
183
184
  init() {
184
- return this.classesSub = I(() => this.initClasses()), this.stylesSub = I(() => this.initStyles()), this.dataExpose = this.initExpose(), this;
185
+ return this.classesSub = F(() => this.initClasses()), this.stylesSub = F(() => this.initStyles()), this.dataExpose = this.initExpose(), this;
185
186
  }
186
187
  getName() {
187
188
  return this.name.join("-");
@@ -190,13 +191,13 @@ var G = class {
190
191
  return String(this.name[0]);
191
192
  }
192
193
  getSubClass(e) {
193
- return `${this.getName()}__${F(e).join("__")}`;
194
+ return `${this.getName()}__${P(e).join("__")}`;
194
195
  }
195
196
  getStatusClass(e) {
196
- return `${this.getName()}--${F(e).join("--")}`;
197
+ return `${this.getName()}--${P(e).join("--")}`;
197
198
  }
198
199
  getStyle(e) {
199
- return `--${this.getName()}-sys-${F(e).join("-")}`;
200
+ return `--${this.getName()}-sys-${P(e).join("-")}`;
200
201
  }
201
202
  getAttrs() {
202
203
  var e;
@@ -221,10 +222,10 @@ var G = class {
221
222
  }
222
223
  }
223
224
  toClass(e) {
224
- return M(e) ? e : Array.isArray(e) ? { [e.filter((e) => typeof e == "string" && e.trim() !== "").join(" ")]: !0 } : typeof e == "string" ? { [e]: !0 } : {};
225
+ return j(e) ? e : Array.isArray(e) ? { [e.filter((e) => typeof e == "string" && e.trim() !== "").join(" ")]: !0 } : typeof e == "string" ? { [e]: !0 } : {};
225
226
  }
226
227
  toClassName(e) {
227
- if (j(e)) {
228
+ if (te(e)) {
228
229
  let t = {};
229
230
  return w(e, (e, n) => {
230
231
  n.match(/\?\?/) ? t[n.replace(/\?\?/, this.getName())] = e : n.match(/\?/) ? t[n.replace(/\?/, this.getDesign())] = e : t[n] = e;
@@ -233,7 +234,7 @@ var G = class {
233
234
  return {};
234
235
  }
235
236
  initName(e) {
236
- return w(e.split(".", 2), (e) => ne(e));
237
+ return w(e.split(".", 2), (e) => re(e));
237
238
  }
238
239
  updateClasses() {
239
240
  var e, t, n;
@@ -263,18 +264,18 @@ var G = class {
263
264
  };
264
265
  //#endregion
265
266
  //#region src/functions/ref/toRefItem.ts
266
- function K(e) {
267
- return L(e) ? e : R(e);
267
+ function G(e) {
268
+ return I(e) ? e : L(e);
268
269
  }
269
270
  //#endregion
270
271
  //#region src/classes/ref/DatetimeRef.ts
271
- var ke = class {
272
+ var je = class {
272
273
  constructor(e, t = "date", n = u.getLocation()) {
273
- H(this, "item", void 0), H(this, "type", void 0), H(this, "code", void 0), H(this, "date", void 0), H(this, "datetime", void 0), H(this, "year", R(2e3)), H(this, "month", R(1)), H(this, "day", R(1)), H(this, "hour", R(1)), H(this, "minute", R(1)), H(this, "second", R(1)), this.item = K(e), this.type = K(t), this.code = K(n), this.date = R(re(this.item.value)), this.datetime = new o(this.date.value, this.type.value, this.code.value), B(this.item, (e) => {
274
- this.date.value = re(e);
275
- }), B(this.type, (e) => this.datetime.setType(e)), B(this.code, (e) => this.datetime.setCode(e)), B(this.date, (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(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);
276
+ }), z(this.type, (e) => this.datetime.setType(e)), z(this.code, (e) => this.datetime.setCode(e)), z(this.date, (e) => {
276
277
  this.datetime.setDate(e), this.updateDate();
277
- }), this.datetime.setWatch(() => me(this.date)), this.updateDate();
278
+ }), this.datetime.setWatch(() => he(this.date)), this.updateDate();
278
279
  }
279
280
  getItem() {
280
281
  return this.item;
@@ -286,96 +287,105 @@ var ke = class {
286
287
  return this.datetime;
287
288
  }
288
289
  getHoursType() {
289
- return I(() => this.date.value && this.datetime.getHoursType());
290
+ return F(() => this.date.value && this.datetime.getHoursType());
290
291
  }
291
292
  getFirstDayCode() {
292
- return I(() => this.date.value && this.datetime.getFirstDayCode());
293
+ return F(() => this.date.value && this.datetime.getFirstDayCode());
293
294
  }
294
295
  getYear() {
295
- return I(() => this.year.value);
296
+ return F(() => this.year.value);
296
297
  }
297
298
  getMonth() {
298
- return I(() => this.month.value);
299
+ return F(() => this.month.value);
299
300
  }
300
301
  getDay() {
301
- return I(() => this.day.value);
302
+ return F(() => this.day.value);
302
303
  }
303
304
  getHour() {
304
- return I(() => this.hour.value);
305
+ return F(() => this.hour.value);
305
306
  }
306
307
  getMinute() {
307
- return I(() => this.minute.value);
308
+ return F(() => this.minute.value);
308
309
  }
309
310
  getSecond() {
310
- return I(() => this.second.value);
311
+ return F(() => this.second.value);
311
312
  }
312
313
  getMaxDay() {
313
- return I(() => this.date.value && this.datetime.getMaxDay());
314
+ return F(() => this.date.value && this.datetime.getMaxDay());
314
315
  }
315
316
  locale(e = this.type.value, t) {
316
- return I(() => this.date.value && this.datetime.locale(e, t));
317
+ return F(() => this.date.value && this.datetime.locale(e, t));
317
318
  }
318
319
  standard(e = !0) {
319
- return I(() => this.date.value && this.datetime.standard(e));
320
+ return F(() => this.date.value && this.datetime.standard(e));
320
321
  }
321
322
  updateDate() {
322
323
  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;
323
324
  }
324
- }, q = class {
325
+ }, K = class {
325
326
  static run(e) {
326
327
  return this.getScope().run(e);
327
328
  }
328
329
  static getScope() {
329
- return b.get("__ui:effect-scope-global__", () => ae(!0));
330
+ return b.get("__ui:effect-scope-global__", () => oe(!0));
330
331
  }
331
- }, Ae = class extends c {
332
+ }, Me = class extends c {
332
333
  constructor(e, t, n = ["click"], r, i, a) {
333
- let o = K(e), s = K(t);
334
- 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));
334
+ let o = G(e), s = G(t);
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));
335
336
  }
336
- }, je = class {
337
+ }, Ne = class {
337
338
  constructor(e = u.getLocation()) {
338
- H(this, "flag", void 0), this.flag = I(() => new d(U(e)));
339
+ V(this, "flag", void 0), this.flag = F(() => new d(H(e)));
339
340
  }
340
341
  getCode() {
341
342
  return this.flag.value.getCode();
342
343
  }
343
344
  get(e = this.getCode()) {
344
- return I(() => this.flag.value.get(U(e)));
345
+ return F(() => this.flag.value.get(H(e)));
346
+ }
347
+ getLanguage(e = this.getCode()) {
348
+ return F(() => this.flag.value.getLanguage(H(e)));
345
349
  }
346
350
  getFlag(e = this.getCode()) {
347
- return I(() => this.flag.value.getFlag(U(e)));
351
+ return F(() => this.flag.value.getFlag(H(e)));
348
352
  }
349
353
  getList(e) {
350
- return I(() => this.flag.value.getList(U(e)));
354
+ return F(() => this.flag.value.getList(H(e)));
355
+ }
356
+ getListLanguage(e) {
357
+ return F(() => this.flag.value.getListLanguage(H(e)));
351
358
  }
352
359
  getNational(e) {
353
- return I(() => this.flag.value.getNational(U(e)));
360
+ return F(() => this.flag.value.getNational(H(e)));
354
361
  }
355
- }, J = class {
362
+ getNationalLanguage(e) {
363
+ return F(() => this.flag.value.getNationalLanguage(H(e)));
364
+ }
365
+ }, q = class {
356
366
  static get() {
357
- return b.get("__ui:geo-ref__", () => z(u.getItem()));
367
+ return b.get("__ui:geo-ref__", () => R(u.getItem()));
358
368
  }
359
369
  static getCountry() {
360
- return b.get("__ui:geo-ref-country__", () => I(() => this.get().value.country));
370
+ return b.get("__ui:geo-ref-country__", () => F(() => this.get().value.country));
361
371
  }
362
372
  static getLanguage() {
363
- return b.get("__ui:geo-ref-language__", () => I(() => this.get().value.language));
373
+ return b.get("__ui:geo-ref-language__", () => F(() => this.get().value.language));
364
374
  }
365
375
  static getStandard() {
366
- return b.get("__ui:geo-ref-standard__", () => I(() => this.get().value.standard));
376
+ return b.get("__ui:geo-ref-standard__", () => F(() => this.get().value.standard));
367
377
  }
368
378
  static getFirstDay() {
369
- return b.get("__ui:geo-ref-first-day__", () => I(() => this.get().value.firstDay));
379
+ return b.get("__ui:geo-ref-first-day__", () => F(() => this.get().value.firstDay));
370
380
  }
371
381
  static getLocation() {
372
- return b.get("__ui:geo-ref-location__", () => I(() => this.get().value.location));
382
+ return b.get("__ui:geo-ref-location__", () => F(() => this.get().value.location));
373
383
  }
374
384
  static getLocationCountry() {
375
- return b.get("__ui:geo-ref-location-country__", () => I(() => this.get().value.locationCountry));
385
+ return b.get("__ui:geo-ref-location-country__", () => F(() => this.get().value.locationCountry));
376
386
  }
377
387
  static getLocationLanguage() {
378
- return b.get("__ui:geo-ref-location-language__", () => I(() => this.get().value.locationLanguage));
388
+ return b.get("__ui:geo-ref-location-language__", () => F(() => this.get().value.locationLanguage));
379
389
  }
380
390
  static set(e) {
381
391
  u.set(e, !0), this.get().value = u.getItem();
@@ -383,82 +393,82 @@ var ke = class {
383
393
  static setValueDefault(e) {
384
394
  u.setValueDefault(e), this.get().value = u.getItem();
385
395
  }
386
- }, Me = class {
396
+ }, Pe = class {
387
397
  constructor(e) {
388
- H(this, "location", void 0), H(this, "intl", void 0), this.location = K(e), this.intl = I(() => {
398
+ V(this, "location", void 0), V(this, "intl", void 0), this.location = G(e), this.intl = F(() => {
389
399
  var e;
390
- return new f((e = this.location.value) == null ? J.getLanguage().value : e);
400
+ return new f((e = this.location.value) == null ? q.getLanguage().value : e);
391
401
  });
392
402
  }
393
403
  display(e, t) {
394
- return I(() => this.intl.value.display(U(e), t));
404
+ return F(() => this.intl.value.display(H(e), t));
395
405
  }
396
406
  languageName(e, t) {
397
- return I(() => this.intl.value.languageName(U(e), t));
407
+ return F(() => this.intl.value.languageName(H(e), t));
398
408
  }
399
409
  countryName(e, t) {
400
- return I(() => this.intl.value.countryName(U(e), t));
410
+ return F(() => this.intl.value.countryName(H(e), t));
401
411
  }
402
412
  number(e, t) {
403
- return I(() => this.intl.value.number(U(e), t));
413
+ return F(() => this.intl.value.number(H(e), t));
404
414
  }
405
415
  decimal() {
406
- return I(() => this.intl.value.decimal());
416
+ return F(() => this.intl.value.decimal());
407
417
  }
408
418
  currency(e, t, n = !1) {
409
- return I(() => this.intl.value.currency(U(e), U(t), n));
419
+ return F(() => this.intl.value.currency(H(e), H(t), n));
410
420
  }
411
421
  currencySymbol(e, t = "symbol") {
412
- return I(() => this.intl.value.currencySymbol(U(e), t));
422
+ return F(() => this.intl.value.currencySymbol(H(e), t));
413
423
  }
414
424
  unit(e, t) {
415
- return I(() => this.intl.value.unit(U(e), t));
425
+ return F(() => this.intl.value.unit(H(e), t));
416
426
  }
417
427
  sizeFile(e, t = "byte") {
418
- return I(() => this.intl.value.sizeFile(U(e), t));
428
+ return F(() => this.intl.value.sizeFile(H(e), t));
419
429
  }
420
430
  percent(e, t) {
421
- return I(() => this.intl.value.percent(U(e), t));
431
+ return F(() => this.intl.value.percent(H(e), t));
422
432
  }
423
433
  percentBy100(e, t) {
424
- return I(() => this.intl.value.percentBy100(U(e), t));
434
+ return F(() => this.intl.value.percentBy100(H(e), t));
425
435
  }
426
436
  plural(e, t, n, r) {
427
- return I(() => this.intl.value.plural(U(e), t, n, r));
437
+ return F(() => this.intl.value.plural(H(e), t, n, r));
428
438
  }
429
439
  date(e, t, n, r) {
430
- return I(() => this.intl.value.date(U(e), t, n, r));
440
+ return F(() => this.intl.value.date(H(e), t, n, r));
431
441
  }
432
442
  relative(e, t, n) {
433
- return I(() => this.intl.value.relative(U(e), t, n));
443
+ return F(() => this.intl.value.relative(H(e), t, n));
434
444
  }
435
445
  relativeLimit(e, t, n, r, i, a, o) {
436
- return I(() => this.intl.value.relativeLimit(U(e), t, n, r, i, a, o));
446
+ return F(() => this.intl.value.relativeLimit(H(e), t, n, r, i, a, o));
437
447
  }
438
448
  relativeByValue(e, t, n) {
439
- return I(() => this.intl.value.relativeByValue(U(e), t, n));
449
+ return F(() => this.intl.value.relativeByValue(H(e), t, n));
440
450
  }
441
451
  month(e, t) {
442
- return I(() => this.intl.value.month(U(e), t));
452
+ return F(() => this.intl.value.month(H(e), t));
443
453
  }
444
454
  months(e) {
445
- return I(() => this.intl.value.months(e));
455
+ return F(() => this.intl.value.months(e));
446
456
  }
447
457
  weekday(e, t) {
448
- return I(() => this.intl.value.weekday(U(e), t));
458
+ return F(() => this.intl.value.weekday(H(e), t));
449
459
  }
450
460
  weekdays(e) {
451
- return I(() => this.intl.value.weekdays(e));
461
+ return F(() => this.intl.value.weekdays(e));
452
462
  }
453
463
  time(e) {
454
- return I(() => this.intl.value.time(U(e)));
464
+ return F(() => this.intl.value.time(H(e)));
455
465
  }
456
466
  sort(e, t = (e, t) => [e, t]) {
457
- return I(() => this.intl.value.sort([...U(e)], t));
467
+ return F(() => this.intl.value.sort([...H(e)], t));
458
468
  }
459
- }, Ne = class e {
469
+ }, Fe = class e {
460
470
  constructor(e, t, n, r, i, a, o, s, c, l = 0, u = 9999999, d) {
461
- H(this, "list", void 0), H(this, "focus", void 0), H(this, "highlight", void 0), H(this, "highlightLengthStart", void 0), H(this, "filterMode", void 0), H(this, "selected", void 0), H(this, "keyValue", void 0), H(this, "keyLabel", void 0), H(this, "lite", void 0), H(this, "min", void 0), H(this, "max", void 0), H(this, "parent", void 0), H(this, "subList", {}), H(this, "data", I(() => w(U(this.list) || [], (e, t) => this.initItem(t, e)))), H(this, "liteData", I(() => {
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(() => {
462
472
  if (this.isLite()) {
463
473
  let e = [];
464
474
  for (let t of this.data.value) {
@@ -475,11 +485,11 @@ var ke = class {
475
485
  return e;
476
486
  }
477
487
  return this.data.value;
478
- })), H(this, "fullData", I(() => {
488
+ })), V(this, "fullData", F(() => {
479
489
  let e = this.getFocus(), t = this.getHighlight(), n = this.getSelected();
480
490
  return w(this.data.value, (r) => {
481
491
  var i, a;
482
- let o = N(r.index, n);
492
+ let o = M(r.index, n);
483
493
  return {
484
494
  ...r,
485
495
  focus: e === r.index,
@@ -489,7 +499,7 @@ var ke = class {
489
499
  disabled: (a = r.disabled) == null ? !o && r.type === "item" && this.isSelectedMax.value : a
490
500
  };
491
501
  });
492
- })), H(this, "map", I(() => {
502
+ })), V(this, "map", F(() => {
493
503
  let e = [];
494
504
  return this.data.value.forEach((t) => {
495
505
  switch (t.type) {
@@ -502,7 +512,7 @@ var ke = class {
502
512
  break;
503
513
  }
504
514
  }), e;
505
- })), H(this, "mapItems", I(() => this.map.value.filter((e) => e.type === "item"))), H(this, "items", I(() => this.map.value.filter((e) => e.type === "item" || e.type === "group" || e.type === "menu"))), H(this, "highlightFirstItem", I(() => {
515
+ })), 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(() => {
506
516
  let e = this.getHighlight();
507
517
  if (e && e.length >= this.getHighlightLengthStart()) {
508
518
  let t = D(e, "i");
@@ -512,22 +522,22 @@ var ke = class {
512
522
  });
513
523
  }
514
524
  return -1;
515
- })), H(this, "isSelected", I(() => {
525
+ })), V(this, "isSelected", F(() => {
516
526
  let e = this.getSelected();
517
- return !!e && this.mapItems.value.findIndex((t) => N(t.index, e)) !== -1;
518
- })), H(this, "isSelectedMin", I(() => {
519
- let e = Number(U(this.min) || 0);
527
+ return !!e && this.mapItems.value.findIndex((t) => M(t.index, e)) !== -1;
528
+ })), V(this, "isSelectedMin", F(() => {
529
+ let e = Number(H(this.min) || 0);
520
530
  return e > 0 ? this.selectedListInGroup.value.length >= e : !1;
521
- })), H(this, "isSelectedMax", I(() => {
522
- let e = Number(U(this.max) || 9999999);
531
+ })), V(this, "isSelectedMax", F(() => {
532
+ let e = Number(H(this.max) || 9999999);
523
533
  return e > 0 ? this.selectedListInGroup.value.length >= e : !1;
524
- })), H(this, "selectedList", I(() => {
534
+ })), V(this, "selectedList", F(() => {
525
535
  let e = this.getSelected();
526
- return e && this.isSelected.value ? this.mapItems.value.filter((t) => N(t.index, e)) : [];
527
- })), H(this, "selectedListInGroup", I(() => {
536
+ return e && this.isSelected.value ? this.mapItems.value.filter((t) => M(t.index, e)) : [];
537
+ })), V(this, "selectedListInGroup", F(() => {
528
538
  let e = this.getSelected();
529
- return e && this.isSelected.value ? this.data.value.filter((t) => N(t.index, e)) : [];
530
- })), H(this, "selectedNames", I(() => T(this.selectedList.value, "label"))), H(this, "selectedValues", I(() => 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, L(e) && B(e, () => {
539
+ 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, () => {
531
541
  this.subList = {};
532
542
  });
533
543
  }
@@ -641,10 +651,10 @@ var ke = class {
641
651
  return t.parent === e && this.isItem(t);
642
652
  }
643
653
  getIndex(e, t, n, r) {
644
- return e && !j(e) ? e : t && !j(t) ? t : n && r;
654
+ return e && !te(e) ? e : t && !te(t) ? t : n && r;
645
655
  }
646
656
  initItem(e, t) {
647
- if (M(t)) {
657
+ if (j(t)) {
648
658
  var n, r, i, a, o, s;
649
659
  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);
650
660
  return {
@@ -664,9 +674,9 @@ var ke = class {
664
674
  value: e
665
675
  };
666
676
  }
667
- }, Pe = "__ui:router-item-ref__", Y = class {
677
+ }, Ie = "__ui:router-item-ref__", J = class {
668
678
  static get() {
669
- return b.get(Pe);
679
+ return b.get(Ie);
670
680
  }
671
681
  static getLink(e, t, n) {
672
682
  var r;
@@ -688,17 +698,17 @@ var ke = class {
688
698
  t && t.push(e).then();
689
699
  }
690
700
  static set(e) {
691
- b.set(Pe, () => e);
701
+ b.set(Ie, () => e);
692
702
  }
693
703
  static setOneTime(e) {
694
704
  this.get() || this.set(e);
695
705
  }
696
706
  static rawToHref(e) {
697
- return M(e) && "name" in e && P(e == null ? void 0 : e.name) ? this.getHref(e.name) : {};
707
+ return j(e) && "name" in e && N(e == null ? void 0 : e.name) ? this.getHref(e.name) : {};
698
708
  }
699
- }, Fe = class {
709
+ }, Le = class {
700
710
  constructor() {
701
- H(this, "item", R()), H(this, "width", R(0)), H(this, "is", I(() => this.item.value !== void 0)), k() && (v.is().then((e) => {
711
+ V(this, "item", L()), V(this, "width", L(0)), V(this, "is", F(() => this.item.value !== void 0)), k() && (v.is().then((e) => {
702
712
  this.item.value = e;
703
713
  }), v.get().then((e) => {
704
714
  this.width.value = e;
@@ -707,20 +717,20 @@ var ke = class {
707
717
  };
708
718
  //#endregion
709
719
  //#region src/functions/ref/getApiErrorRef.ts
710
- function Ie(e) {
711
- return I(() => {
712
- if (!(!e.value || O(e.value) || !M(e.value))) return e.value.errorObject;
720
+ function Re(e) {
721
+ return F(() => {
722
+ if (!(!e.value || O(e.value) || !j(e.value))) return e.value.errorObject;
713
723
  });
714
724
  }
715
725
  //#endregion
716
726
  //#region src/functions/getOptions.ts
717
- var X = (e) => typeof e == "string" ? { method: e } : e || {}, Z;
718
- function Le(n, r, i = !0, a, o, s, c, l = !0, u = e.getItem()) {
719
- let d = R(), f = K(X(r)), p = R(!1), m = R(!1), h = R(), g, _ = !0, v, y = () => {
720
- let e = U(n);
727
+ var Y = (e) => typeof e == "string" ? { method: e } : e || {}, X;
728
+ function Z(n, r, i = !0, a, o, s, c, l = !0, u = e.getItem()) {
729
+ let d = L(), f = G(Y(r)), p = L(!1), m = L(!1), h = L(), g, _ = !0, v, y = () => {
730
+ let e = H(n);
721
731
  return !!((!a || a.value) && e);
722
732
  }, b = () => ({
723
- path: U(n),
733
+ path: H(n),
724
734
  ...f.value
725
735
  }), x = () => {
726
736
  if (k() && y()) {
@@ -750,31 +760,31 @@ function Le(n, r, i = !0, a, o, s, c, l = !0, u = e.getItem()) {
750
760
  t.add(c, e.path, e.method);
751
761
  }
752
762
  if (!k()) return;
753
- x(), d.value === void 0 && S().then(), l ? E() : q.run(() => E());
763
+ x(), d.value === void 0 && S().then(), l ? E() : K.run(() => E());
754
764
  }
755
765
  };
756
- l && oe() && de(() => C());
766
+ l && se() && fe(() => C());
757
767
  let T = () => {
758
- k() || ue(async () => {
768
+ k() || de(async () => {
759
769
  _ = !1, await S();
760
770
  });
761
771
  }, E = () => {
762
772
  let e = [];
763
- i && e.push(f), L(n) && e.push(n), a && e.push(a), Z && e.push(Z), e.length > 0 && (v = B(e, async () => {
773
+ i && e.push(f), I(n) && e.push(n), a && e.push(a), X && e.push(X), e.length > 0 && (v = z(e, async () => {
764
774
  p.value || await S();
765
775
  }));
766
- }, D = I(() => (w(), d.value)), O = Ie(d), ee = I(() => Array.isArray(d.value) ? d.value.length : +!!d.value), A = I(() => d.value === void 0);
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);
767
777
  return {
768
778
  data: D,
769
779
  get item() {
770
780
  return w(), d;
771
781
  },
772
782
  errorItem: O,
773
- isResponseContractValid: I(() => {
783
+ isResponseContractValid: F(() => {
774
784
  var e;
775
785
  return ((e = h.value) == null ? void 0 : e.status) === "success";
776
786
  }),
777
- responseValidationResult: I(() => h.value),
787
+ responseValidationResult: F(() => h.value),
778
788
  length: ee,
779
789
  starting: A,
780
790
  loading: p,
@@ -798,20 +808,20 @@ function Le(n, r, i = !0, a, o, s, c, l = !0, u = e.getItem()) {
798
808
  abort: () => g == null ? void 0 : g.abort()
799
809
  };
800
810
  }
801
- var Re = (e) => {
802
- Z || (Z = e);
811
+ var ze = (e) => {
812
+ X || (X = e);
803
813
  };
804
814
  //#endregion
805
815
  //#region src/composables/ref/useApiAsyncRef.ts
806
- function ze(t, n, r = !0, i, a, o, s, c = !0, l = e.getItem()) {
807
- let u = Le(t, n, r, i, a, o, s, c, l);
816
+ function Be(t, n, r = !0, i, a, o, s, c = !0, l = e.getItem()) {
817
+ let u = Z(t, n, r, i, a, o, s, c, l);
808
818
  return u.initSsr(), u;
809
819
  }
810
820
  //#endregion
811
821
  //#region src/composables/ref/useApiRequest.ts
812
822
  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() }) {
813
- let p = R(!1), m = K(X(d));
814
- return l && t.add(l, U(r), i), {
823
+ let p = L(!1), m = G(Y(d));
824
+ return l && t.add(l, H(r), i), {
815
825
  loading: p,
816
826
  async send(e) {
817
827
  let t;
@@ -821,7 +831,7 @@ function Q({ path: r, method: i = n.post, action: a, transformation: o, validate
821
831
  if (t && !O(t)) return t;
822
832
  }
823
833
  if (p.value = !0, t = await f.request({
824
- path: U(r),
834
+ path: H(r),
825
835
  method: i,
826
836
  request: e,
827
837
  toData: u,
@@ -845,7 +855,7 @@ function Q({ path: r, method: i = n.post, action: a, transformation: o, validate
845
855
  }
846
856
  //#endregion
847
857
  //#region src/composables/ref/useApiDelete.ts
848
- function Be(e) {
858
+ function Ve(e) {
849
859
  return Q({
850
860
  ...e,
851
861
  method: n.delete
@@ -853,7 +863,7 @@ function Be(e) {
853
863
  }
854
864
  //#endregion
855
865
  //#region src/composables/ref/useApiGet.ts
856
- function Ve(e) {
866
+ function He(e) {
857
867
  return Q({
858
868
  ...e,
859
869
  method: n.get
@@ -861,7 +871,7 @@ function Ve(e) {
861
871
  }
862
872
  //#endregion
863
873
  //#region src/composables/ref/useApiPost.ts
864
- function He(e) {
874
+ function Ue(e) {
865
875
  return Q({
866
876
  ...e,
867
877
  method: n.post
@@ -869,7 +879,7 @@ function He(e) {
869
879
  }
870
880
  //#endregion
871
881
  //#region src/composables/ref/useApiPut.ts
872
- function Ue(e) {
882
+ function We(e) {
873
883
  return Q({
874
884
  ...e,
875
885
  method: n.put
@@ -877,18 +887,18 @@ function Ue(e) {
877
887
  }
878
888
  //#endregion
879
889
  //#region src/composables/ref/useFormattersRef.ts
880
- function We(e, t) {
890
+ function Ge(e, t) {
881
891
  let n = new l(t);
882
892
  return {
883
- listFormat: I(() => n.setList(e.value).to()),
884
- length: I(() => n.setList(e.value).length())
893
+ listFormat: F(() => n.setList(e.value).to()),
894
+ length: F(() => n.setList(e.value).length())
885
895
  };
886
896
  }
887
897
  //#endregion
888
898
  //#region src/composables/ref/useSearchValueRef.ts
889
- function Ge(e, t) {
890
- let n = t == null ? R("") : t, r = R(n.value), i = R(!1), a;
891
- return B(n, (t, o, s) => {
899
+ function Ke(e, t) {
900
+ let n = t == null ? L("") : t, r = L(n.value), i = L(!1), a;
901
+ return z(n, (t, o, s) => {
892
902
  let c = e.getOptions().getDelay();
893
903
  c && k() ? (i.value = !0, a = setTimeout(() => {
894
904
  a = void 0, r.value = n.value, i.value = !1;
@@ -903,21 +913,21 @@ function Ge(e, t) {
903
913
  }
904
914
  //#endregion
905
915
  //#region src/composables/ref/useSearchRef.ts
906
- function Ke(e, t, n, r) {
907
- let i = new y(void 0, t, void 0, r), { search: a, searchDelay: o, loading: s } = Ge(i, n), c = () => U(S(e)) || [], l = I(() => i.setValue(o.value).getItem().isSearch()), u = I(() => i.setList(c()).setValue(o.value).to());
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());
908
918
  return {
909
919
  isSearch: l,
910
920
  search: a,
911
921
  loading: s,
912
922
  listSearch: u,
913
- length: I(() => u.value.length)
923
+ length: F(() => u.value.length)
914
924
  };
915
925
  }
916
926
  //#endregion
917
927
  //#region src/composables/ref/useApiManagementRef.ts
918
- function qe(e, t, n, r, i, a, o, s) {
919
- 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 = Le(c, l, u, d, f, p, m, g, s), T = I(() => h === void 0 ? !0 : w.isStarting() ? !1 : A(h) ? h(w.data.value) : w.data.value instanceof h), E = I(() => w.isStarting() && _ ? _() : w.data.value);
920
- if (t && (v = We(E, t)), n && (y = Ke(I(() => {
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(() => {
921
931
  var e;
922
932
  let t = (e = v == null ? void 0 : v.listFormat.value) == null ? w.data.value : e;
923
933
  if (Array.isArray(t)) return t;
@@ -927,21 +937,21 @@ function qe(e, t, n, r, i, a, o, s) {
927
937
  }, t = (t) => async (n) => {
928
938
  A(t) && await C(t(n)), e(n);
929
939
  };
930
- r && (b = He({
940
+ r && (b = Ue({
931
941
  ...r,
932
942
  action: t(r.action),
933
943
  apiInstance: s
934
- })), i && (x = Ue({
944
+ })), i && (x = We({
935
945
  ...i,
936
946
  action: t(i.action),
937
947
  apiInstance: s
938
- })), a && (S = Be({
948
+ })), a && (S = Ve({
939
949
  ...a,
940
950
  action: t(a.action),
941
951
  apiInstance: s
942
952
  }));
943
953
  }
944
- let D = I(() => {
954
+ let D = F(() => {
945
955
  if (T.value) {
946
956
  if (y && Array.isArray(w.data.value)) return y.listSearch.value;
947
957
  if (v) return v.listFormat.value;
@@ -981,61 +991,61 @@ function qe(e, t, n, r, i, a, o, s) {
981
991
  }
982
992
  //#endregion
983
993
  //#region src/composables/ref/useApiManagementAsyncRef.ts
984
- function Je(e, t, n, r, i, a, o, s) {
985
- let c = qe(e, t, n, r, i, a, o, s);
994
+ function Ye(e, t, n, r, i, a, o, s) {
995
+ let c = Je(e, t, n, r, i, a, o, s);
986
996
  return c.initSsr(), c;
987
997
  }
988
998
  //#endregion
989
999
  //#region src/composables/ref/useBroadcastValueRef.ts
990
- var Ye = () => b.get("__ui:broadcast-value-ref__", () => ({}));
991
- function Xe(e, t) {
992
- let n = `broadcast--${e}`, i = Ye();
1000
+ var Xe = () => b.get("__ui:broadcast-value-ref__", () => ({}));
1001
+ function Ze(e, t) {
1002
+ let n = `broadcast--${e}`, i = Xe();
993
1003
  if (n in i) return i[n];
994
- let a = R(S(t));
1004
+ let a = L(S(t));
995
1005
  if (k()) {
996
1006
  let e = new r(n, (e) => {
997
1007
  a.value !== e.data.message && (a.value = e.data.message);
998
1008
  });
999
- q.run(() => {
1000
- B(a, (t) => e.post({ message: t }));
1009
+ K.run(() => {
1010
+ z(a, (t) => e.post({ message: t }));
1001
1011
  });
1002
1012
  }
1003
1013
  return i[n] = a, a;
1004
1014
  }
1005
1015
  //#endregion
1006
1016
  //#region src/composables/ref/useCookieRef.ts
1007
- var Ze = () => b.get("__ui:cookie-ref__", () => ({}));
1008
- function Qe(e, t, n) {
1009
- let r = Ze();
1017
+ var Qe = () => b.get("__ui:cookie-ref__", () => ({}));
1018
+ function $e(e, t, n) {
1019
+ let r = Qe();
1010
1020
  if (e in r) return r[e];
1011
- let a = new i(e), o = Xe(`__cookie:${e}`, a.get(t, n));
1012
- return q.run(() => {
1013
- B(o, (e) => {
1021
+ let a = new i(e), o = Ze(`__cookie:${e}`, a.get(t, n));
1022
+ return K.run(() => {
1023
+ z(o, (e) => {
1014
1024
  a.set(e, n);
1015
1025
  });
1016
1026
  }), r[e] = o, o;
1017
1027
  }
1018
1028
  //#endregion
1019
1029
  //#region src/composables/ref/useGeoIntlRef.ts
1020
- function $e() {
1021
- return new Me();
1030
+ function et() {
1031
+ return new Pe();
1022
1032
  }
1023
1033
  //#endregion
1024
1034
  //#region src/composables/ref/useHashRef.ts
1025
- var et = () => b.get("__ui:hash-ref__", () => ({}));
1026
- function tt(e, t) {
1027
- let n = et();
1035
+ var tt = () => b.get("__ui:hash-ref__", () => ({}));
1036
+ function nt(e, t) {
1037
+ let n = tt();
1028
1038
  if (e in n) return n[e];
1029
- let r = z(p.get(e, t));
1030
- return k() && (q.run(() => {
1031
- B(r, (t) => p.set(e, t));
1039
+ let r = R(p.get(e, t));
1040
+ return k() && (K.run(() => {
1041
+ z(r, (t) => p.set(e, t));
1032
1042
  }), p.addWatch(e, (e) => {
1033
1043
  r.value = e;
1034
1044
  })), n[e] = r, r;
1035
1045
  }
1036
1046
  //#endregion
1037
1047
  //#region src/composables/ref/useLazyRef.ts
1038
- var nt = (e = { rootMargin: "128px 0px" }) => {
1048
+ var rt = (e = { rootMargin: "128px 0px" }) => {
1039
1049
  let t = {}, n = k() && "IntersectionObserver" in window ? new IntersectionObserver((e) => {
1040
1050
  e.forEach((e) => {
1041
1051
  let n = E(e.target);
@@ -1059,16 +1069,16 @@ var nt = (e = { rootMargin: "128px 0px" }) => {
1059
1069
  return t[E(e)];
1060
1070
  },
1061
1071
  addLazyItem(e) {
1062
- let i = z(!n);
1072
+ let i = R(!n);
1063
1073
  if (n) {
1064
1074
  let a;
1065
- a = B(e, (o, s) => {
1075
+ a = z(e, (o, s) => {
1066
1076
  if (s && r(s), e.value) {
1067
1077
  let r = E(e.value);
1068
1078
  t[r] = {
1069
1079
  status: i,
1070
- ratio: z(0),
1071
- entry: z(void 0),
1080
+ ratio: R(0),
1081
+ entry: R(void 0),
1072
1082
  stopWatch: () => a == null ? void 0 : a()
1073
1083
  }, n.observe(e.value);
1074
1084
  } else r(e.value);
@@ -1079,16 +1089,16 @@ var nt = (e = { rootMargin: "128px 0px" }) => {
1079
1089
  removeLazyItem: r,
1080
1090
  disconnectLazy: () => n == null ? void 0 : n.disconnect()
1081
1091
  };
1082
- }, rt = () => b.get("__ui:lazy-item-by-margin-ref__", () => []), it = (e) => {
1083
- let t = rt(), n = t.find((t) => t.rootMargin === e);
1092
+ }, it = () => b.get("__ui:lazy-item-by-margin-ref__", () => []), at = (e) => {
1093
+ let t = it(), n = t.find((t) => t.rootMargin === e);
1084
1094
  if (n) return n.item;
1085
- let r = nt({ rootMargin: e });
1095
+ let r = rt({ rootMargin: e });
1086
1096
  return t.push({
1087
1097
  rootMargin: e,
1088
1098
  item: r
1089
1099
  }), r;
1090
- }, at = (e, t) => {
1091
- let n = it(t);
1100
+ }, ot = (e, t) => {
1101
+ let n = at(t);
1092
1102
  return {
1093
1103
  lazyItemStatus: n.addLazyItem(e),
1094
1104
  get lazyItem() {
@@ -1098,19 +1108,19 @@ var nt = (e = { rootMargin: "128px 0px" }) => {
1098
1108
  };
1099
1109
  //#endregion
1100
1110
  //#region src/composables/ref/useLoadingRef.ts
1101
- function ot() {
1102
- let e = z(h.is());
1111
+ function st() {
1112
+ let e = R(h.is());
1103
1113
  return k() && h.registrationEvent(({ detail: t }) => {
1104
1114
  e.value = t.loading;
1105
1115
  }), e;
1106
1116
  }
1107
1117
  //#endregion
1108
1118
  //#region src/functions/executeUse.ts
1109
- var st = /* @__PURE__ */ function(e) {
1119
+ var ct = /* @__PURE__ */ function(e) {
1110
1120
  return e.global = "global", e.provide = "provide", e.local = "local", e;
1111
- }({}), ct = 1, lt = te(1e5, 999999), ut = () => `__execute_use${lt}::${ct++}`, dt = () => b.get("__ui:execute-use-global__", () => []);
1121
+ }({}), lt = 1, ut = ne(1e5, 999999), dt = () => `__execute_use${ut}::${lt++}`, ft = () => b.get("__ui:execute-use-global__", () => []);
1112
1122
  function $(e, t = "provide") {
1113
- let n = ut(), r, i = (t) => {
1123
+ let n = dt(), r, i = (t) => {
1114
1124
  let n = Object.freeze(e(...t));
1115
1125
  return {
1116
1126
  ...n,
@@ -1120,7 +1130,7 @@ function $(e, t = "provide") {
1120
1130
  };
1121
1131
  }, a = (e) => {
1122
1132
  let t = Object.freeze(i(e));
1123
- return fe(n, t), t;
1133
+ return pe(n, t), t;
1124
1134
  }, o = (e) => {
1125
1135
  let t = i(e);
1126
1136
  return Object.freeze({
@@ -1129,27 +1139,27 @@ function $(e, t = "provide") {
1129
1139
  r = void 0;
1130
1140
  }
1131
1141
  });
1132
- }, s = (...e) => t === "provide" ? le(n, void 0) || a(e) : (r || q.run(() => {
1142
+ }, s = (...e) => t === "provide" ? ue(n, void 0) || a(e) : (r || K.run(() => {
1133
1143
  r = o(e);
1134
1144
  }), r);
1135
- return t === "global" && dt().push(s), s;
1145
+ return t === "global" && ft().push(s), s;
1136
1146
  }
1137
- function ft(e) {
1147
+ function pt(e) {
1138
1148
  return $(e, "global");
1139
1149
  }
1140
- function pt(e) {
1150
+ function mt(e) {
1141
1151
  return $(e, "provide");
1142
1152
  }
1143
- function mt(e) {
1153
+ function ht(e) {
1144
1154
  return $(e, "local");
1145
1155
  }
1146
- function ht() {
1147
- dt().forEach((e) => e());
1156
+ function gt() {
1157
+ ft().forEach((e) => e());
1148
1158
  }
1149
1159
  //#endregion
1150
1160
  //#region src/composables/ref/useMeta.ts
1151
- var gt = mt(() => {
1152
- let e = g, 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) => {
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) => {
1153
1163
  t.value = e, x();
1154
1164
  }, d = (e) => {
1155
1165
  n.value = e, x();
@@ -1172,7 +1182,7 @@ var gt = mt(() => {
1172
1182
  }, x = () => {
1173
1183
  k() || b();
1174
1184
  };
1175
- return B([
1185
+ return z([
1176
1186
  t,
1177
1187
  n,
1178
1188
  r,
@@ -1205,35 +1215,35 @@ var gt = mt(() => {
1205
1215
  setSiteName: v,
1206
1216
  setSuffix: (t) => e.setSuffix(t)
1207
1217
  };
1208
- }), _t = () => gt(), vt = () => b.get("__ui:query-ref__", () => ({}));
1209
- function yt(e, t) {
1210
- let n = vt();
1218
+ }), vt = () => _t(), yt = () => b.get("__ui:query-ref__", () => ({}));
1219
+ function bt(e, t) {
1220
+ let n = yt();
1211
1221
  if (e in n) return n[e];
1212
- let r = z(_.get(e, t));
1213
- return k() && (q.run(() => {
1214
- B(r, (t) => _.set(e, t));
1222
+ let r = R(_.get(e, t));
1223
+ return k() && (K.run(() => {
1224
+ z(r, (t) => _.set(e, t));
1215
1225
  }), _.addWatch(e, (e) => {
1216
1226
  r.value = e;
1217
1227
  })), n[e] = r, r;
1218
1228
  }
1219
1229
  //#endregion
1220
1230
  //#region src/composables/ref/useRouterList.ts
1221
- var bt = (e, t, n = !0) => {
1231
+ var xt = (e, t, n = !0) => {
1222
1232
  var r;
1223
- let i = L(t) ? t : R(t || ((r = e.value) == null || (r = r[0]) == null ? void 0 : r.value) || ""), a = () => o(i.value), o = (t) => {
1233
+ 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) => {
1224
1234
  var n;
1225
1235
  return (n = e.value) == null ? void 0 : n.find((e) => e.value === t);
1226
1236
  }, s = (e) => {
1227
- e && e !== i.value && o(e) && (i.value = e, Y.push({ name: e }));
1237
+ e && e !== i.value && o(e) && (i.value = e, J.push({ name: e }));
1228
1238
  };
1229
1239
  return {
1230
- item: I(() => a()),
1240
+ item: F(() => a()),
1231
1241
  selected: i,
1232
- label: I(() => {
1242
+ label: F(() => {
1233
1243
  var e;
1234
1244
  return ((e = a()) == null ? void 0 : e.label) || "";
1235
1245
  }),
1236
- list: I(() => e.value ? w(e.value, (e) => n && !("to" in e) ? {
1246
+ list: F(() => e.value ? w(e.value, (e) => n && !("to" in e) ? {
1237
1247
  ...e,
1238
1248
  to: { name: e.value }
1239
1249
  } : e) : []),
@@ -1243,36 +1253,36 @@ var bt = (e, t, n = !0) => {
1243
1253
  s((t = e.value) == null || (t = t[0]) == null ? void 0 : t.value);
1244
1254
  }
1245
1255
  };
1246
- }, xt = () => b.get("__ui:session-ref__", () => ({}));
1247
- function St(e, t) {
1248
- let n = xt();
1256
+ }, St = () => b.get("__ui:session-ref__", () => ({}));
1257
+ function Ct(e, t) {
1258
+ let n = St();
1249
1259
  if (e in n) return n[e];
1250
- let r = new a(e, !0), i = R(r.get(t));
1251
- return q.run(() => {
1252
- B(i, (e) => r.set(e));
1260
+ let r = new a(e, !0), i = L(r.get(t));
1261
+ return K.run(() => {
1262
+ z(i, (e) => r.set(e));
1253
1263
  }), n[e] = i, i;
1254
1264
  }
1255
1265
  //#endregion
1256
1266
  //#region src/composables/ref/useStorageRef.ts
1257
- var Ct = () => b.get("__ui:storage-ref__", () => ({}));
1258
- function wt(e, t, n) {
1259
- let r = Ct();
1267
+ var wt = () => b.get("__ui:storage-ref__", () => ({}));
1268
+ function Tt(e, t, n) {
1269
+ let r = wt();
1260
1270
  if (e in r) return r[e];
1261
- let i = new a(e), o = R(i.get(t, n));
1262
- return q.run(() => {
1263
- B(o, (e) => i.set(e));
1271
+ let i = new a(e), o = L(i.get(t, n));
1272
+ return K.run(() => {
1273
+ z(o, (e) => i.set(e));
1264
1274
  }), k() && window.addEventListener("storage", () => {
1265
1275
  i.update(), o.value = i.get();
1266
1276
  }), r[e] = o, o;
1267
1277
  }
1268
1278
  //#endregion
1269
1279
  //#region src/composables/ref/useTranslateRef.ts
1270
- function Tt(e, t = x.getItem()) {
1271
- let n = z(t.getListSync(e, !0)), r = async () => {
1280
+ function Et(e, t = x.getItem()) {
1281
+ let n = R(t.getListSync(e, !0)), r = async () => {
1272
1282
  n.value = { ...await t.getList(e) };
1273
1283
  };
1274
1284
  if (k()) {
1275
- B(J.getLanguage(), r);
1285
+ z(q.getLanguage(), r);
1276
1286
  for (let e in n.value) if (n.value[e] === e || n.value[e] === " ") {
1277
1287
  r().then();
1278
1288
  break;
@@ -1280,23 +1290,23 @@ function Tt(e, t = x.getItem()) {
1280
1290
  }
1281
1291
  return n;
1282
1292
  }
1283
- var Et = (e) => Tt(e);
1293
+ var Dt = (e) => Et(e);
1284
1294
  //#endregion
1285
1295
  //#region src/functions/computedAsync.ts
1286
- function Dt(e, t, n, r) {
1287
- let i = z(S(t)), a = !0, o = async () => {
1296
+ function Ot(e, t, n, r) {
1297
+ let i = R(S(t)), a = !0, o = async () => {
1288
1298
  let t = await C(e);
1289
1299
  t !== n && (i.value = t);
1290
1300
  }, s = () => {
1291
- a && (a = !1, k() ? _e(o) : o().then());
1301
+ a && (a = !1, k() ? ve(o) : o().then());
1292
1302
  };
1293
- return I(() => (s(), i.value), r);
1303
+ return F(() => (s(), i.value), r);
1294
1304
  }
1295
1305
  //#endregion
1296
1306
  //#region src/functions/computedByLanguage.ts
1297
- function Ot(e, t = () => void 0, n, r) {
1298
- return I(() => {
1299
- if (J.get().value && (n === void 0 || n())) {
1307
+ function kt(e, t = () => void 0, n, r) {
1308
+ return F(() => {
1309
+ if (q.get().value && (n === void 0 || n())) {
1300
1310
  let t = e();
1301
1311
  if (t !== void 0) return t;
1302
1312
  }
@@ -1305,13 +1315,13 @@ function Ot(e, t = () => void 0, n, r) {
1305
1315
  }
1306
1316
  //#endregion
1307
1317
  //#region src/functions/computedEternity.ts
1308
- function kt(e, t) {
1309
- return ie((n, r) => {
1310
- let i = z(S(t)), a = !1, o = async () => {
1318
+ function At(e, t) {
1319
+ return ae((n, r) => {
1320
+ let i = R(S(t)), a = !1, o = async () => {
1311
1321
  i.value = await C(e), r();
1312
1322
  }, s = () => {
1313
- a || (a = !0, k() ? q.run(() => {
1314
- _e(async () => await o());
1323
+ a || (a = !0, k() ? K.run(() => {
1324
+ ve(async () => await o());
1315
1325
  }) : o().then());
1316
1326
  };
1317
1327
  return {
@@ -1326,42 +1336,42 @@ function kt(e, t) {
1326
1336
  }
1327
1337
  //#endregion
1328
1338
  //#region src/functions/dxtFunctionalPlugin.ts
1329
- var At = { install(t, n = {}) {
1330
- if (n.api && e.setConfig(n.api), n.translate && x.setConfig(n.translate), n.location && J.setValueDefault(n.location), n.icons && m.setConfig(n.icons), n.metaSuffix && _t().setSuffix(n.metaSuffix), n.router) Y.set(n.router);
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);
1331
1341
  else {
1332
1342
  let e = t.config.globalProperties.$router;
1333
- e && Y.set(e);
1343
+ e && J.set(e);
1334
1344
  }
1335
- n.errorCauses && s.addList(n.errorCauses), n.errorHandlers && s.addHandlerList(n.errorHandlers), ht();
1345
+ n.errorCauses && s.addList(n.errorCauses), n.errorHandlers && s.addHandlerList(n.errorHandlers), gt();
1336
1346
  } };
1337
1347
  //#endregion
1338
1348
  //#region src/functions/getInject.ts
1339
- function jt(e) {
1340
- if (ce()) {
1341
- let t = le(e);
1349
+ function Mt(e) {
1350
+ if (le()) {
1351
+ let t = ue(e);
1342
1352
  if (t) return t;
1343
1353
  }
1344
1354
  }
1345
1355
  //#endregion
1346
1356
  //#region src/functions/ref/executeFunctionRef.ts
1347
- function Mt(e) {
1348
- return U(S(e));
1357
+ function Nt(e) {
1358
+ return H(S(e));
1349
1359
  }
1350
1360
  //#endregion
1351
1361
  //#region src/functions/render/getBind.ts
1352
- function Nt(e, t = {}, n = "value", r = !1) {
1362
+ function Pt(e, t = {}, n = "value", r = !1) {
1353
1363
  let i = typeof t == "string", a = i ? t : n, o = i ? {} : t;
1354
- return e ? e && M(e) && (a in e || r) ? W(o, e) : W(o, { [a]: e }) : i ? {} : { ...o };
1364
+ return e ? e && j(e) && (a in e || r) ? U(o, e) : U(o, { [a]: e }) : i ? {} : { ...o };
1355
1365
  }
1356
1366
  //#endregion
1357
1367
  //#region src/functions/ref/getBindRef.ts
1358
- function Pt(e, t = {}, n = "value") {
1359
- return I(() => Nt(U(e), U(t), n));
1368
+ function Ft(e, t = {}, n = "value") {
1369
+ return F(() => Pt(H(e), H(t), n));
1360
1370
  }
1361
1371
  //#endregion
1362
1372
  //#region src/functions/ref/setRef.ts
1363
- function Ft(e, t) {
1373
+ function It(e, t) {
1364
1374
  e.value !== t && (e.value = t);
1365
1375
  }
1366
1376
  //#endregion
1367
- export { ke as DatetimeRef, xe as DesignAbstract, Se as DesignAsyncAbstract, be as DesignChanged, De as DesignComp, G as DesignComponents, Oe as DesignConstructorAbstract, q as EffectScopeGlobal, Ae as EventRef, st as ExecuteUseType, je as GeoFlagRef, Me as GeoIntlRef, J as GeoRef, Ne as ListDataRef, Y as RouterItemRef, Fe as ScrollbarWidthRef, Dt as computedAsync, Ot as computedByLanguage, kt as computedEternity, At as dxtFunctionalPlugin, Mt as executeFunctionRef, $ as executeUse, ft as executeUseGlobal, ht as executeUseGlobalInit, mt as executeUseLocal, pt as executeUseProvide, Ie as getApiErrorRef, Nt as getBind, Pt as getBindRef, Ce as getClassName, we as getIndexForRender, jt as getInject, X as getOptions, U as getRef, Te as render, Re as setApiRefGlobalConditions, Ft as setRef, Et as t, W as toBind, Ee as toBinds, K as toRefItem, ze as useApiAsyncRef, Be as useApiDelete, Ve as useApiGet, Je as useApiManagementAsyncRef, qe as useApiManagementRef, He as useApiPost, Ue as useApiPut, Le as useApiRef, Q as useApiRequest, Xe as useBroadcastValueRef, Qe as useCookieRef, We as useFormattersRef, $e as useGeoIntlRef, tt as useHashRef, at as useLazyItemByMarginRef, nt as useLazyRef, ot as useLoadingRef, _t as useMeta, yt as useQueryRef, bt as useRouterList, Ke as useSearchRef, Ge as useSearchValueRef, St as useSessionRef, wt as useStorageRef, Tt as useTranslateRef };
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 };