@dxtmisha/functional 1.11.10 → 1.11.12

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,38 @@
1
- import { Api as e, ApiMethodItem as t, BroadcastMessage as n, Cookie as r, DataStorage as i, Datetime as a, ErrorCenter as o, EventItem as s, Formatters as c, Geo as l, GeoFlag as u, GeoIntl as d, Hash as f, Icons as p, Loading as m, MetaStatic as h, ScrollbarWidth as g, SearchList as _, ServerStorage as v, Translate as y, executeFunction as b, executePromise as x, forEach as S, getColumn as C, getElementId as w, getExp as T, isApiSuccess as ee, isArray as E, isDomRuntime as D, isFunction as te, isObject as O, isObjectNotArray as k, isSelected as A, isString as j, random as ne, toArray as M, toCamelCase as re, toDate as ie } from "@dxtmisha/functional-basic";
2
- import { computed as N, customRef as ae, effectScope as oe, getCurrentInstance as se, h as ce, hasInjectionContext as le, inject as ue, isRef as P, onServerPrefetch as de, onUnmounted as fe, provide as pe, ref as F, shallowRef as I, toRefs as me, triggerRef as he, useAttrs as ge, useSlots as _e, watch as L, watchEffect as ve } 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, ScrollbarWidth as _, SearchList as v, ServerStorage as y, Translate as b, executeFunction as x, executePromise as S, forEach as C, getColumn as w, getElementId as T, getExp as E, isApiSuccess as D, isArray as O, isDomRuntime as k, isFunction as A, isObject as j, isObjectNotArray as M, isSelected as N, isString as P, random as ee, toArray as F, toCamelCase as te, toDate as ne } from "@dxtmisha/functional-basic";
2
+ import { computed as I, customRef as re, effectScope as ie, getCurrentInstance as ae, h as oe, hasInjectionContext as se, inject as ce, isRef as L, onServerPrefetch as le, onUnmounted as ue, provide as de, ref as R, shallowRef as z, toRefs as fe, triggerRef as pe, useAttrs as me, useSlots as he, watch as B, watchEffect as ge } from "vue";
3
3
  export * from "@dxtmisha/functional-basic";
4
4
  //#endregion
5
- //#region \0@oxc-project+runtime@0.129.0/helpers/typeof.js
6
- function R(e) {
5
+ //#region \0@oxc-project+runtime@0.130.0/helpers/typeof.js
6
+ function V(e) {
7
7
  "@babel/helpers - typeof";
8
- return R = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
8
+ return V = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
9
9
  return typeof e;
10
10
  } : function(e) {
11
11
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
12
- }, R(e);
12
+ }, V(e);
13
13
  }
14
14
  //#endregion
15
- //#region \0@oxc-project+runtime@0.129.0/helpers/toPrimitive.js
16
- function ye(e, t) {
17
- if (R(e) != "object" || !e) return e;
15
+ //#region \0@oxc-project+runtime@0.130.0/helpers/toPrimitive.js
16
+ function _e(e, t) {
17
+ if (V(e) != "object" || !e) return e;
18
18
  var n = e[Symbol.toPrimitive];
19
19
  if (n !== void 0) {
20
20
  var r = n.call(e, t || "default");
21
- if (R(r) != "object") return r;
21
+ if (V(r) != "object") return r;
22
22
  throw TypeError("@@toPrimitive must return a primitive value.");
23
23
  }
24
24
  return (t === "string" ? String : Number)(e);
25
25
  }
26
26
  //#endregion
27
- //#region \0@oxc-project+runtime@0.129.0/helpers/toPropertyKey.js
28
- function be(e) {
29
- var t = ye(e, "string");
30
- return R(t) == "symbol" ? t : t + "";
27
+ //#region \0@oxc-project+runtime@0.130.0/helpers/toPropertyKey.js
28
+ function ve(e) {
29
+ var t = _e(e, "string");
30
+ return V(t) == "symbol" ? t : t + "";
31
31
  }
32
32
  //#endregion
33
- //#region \0@oxc-project+runtime@0.129.0/helpers/defineProperty.js
34
- function z(e, t, n) {
35
- return (t = be(t)) in e ? Object.defineProperty(e, t, {
33
+ //#region \0@oxc-project+runtime@0.130.0/helpers/defineProperty.js
34
+ function H(e, t, n) {
35
+ return (t = ve(t)) in e ? Object.defineProperty(e, t, {
36
36
  value: n,
37
37
  enumerable: !0,
38
38
  configurable: !0,
@@ -41,12 +41,12 @@ function z(e, t, n) {
41
41
  }
42
42
  //#endregion
43
43
  //#region src/classes/design/DesignChanged.ts
44
- var xe = class {
44
+ var ye = class {
45
45
  constructor(e, t = Object.keys(e)) {
46
- z(this, "props", void 0), z(this, "watch", void 0), z(this, "cache", {}), this.props = e, this.watch = t;
46
+ H(this, "props", void 0), H(this, "watch", void 0), H(this, "cache", {}), this.props = e, this.watch = t;
47
47
  }
48
48
  is(e) {
49
- return E(e) ? !!e.find((e) => this.isDifferent(e)) : this.isDifferent(e);
49
+ return O(e) ? !!e.find((e) => this.isDifferent(e)) : this.isDifferent(e);
50
50
  }
51
51
  isChanged() {
52
52
  let e = this.props;
@@ -62,9 +62,9 @@ var xe = class {
62
62
  var t, n;
63
63
  return ((t = this.cache) == null ? void 0 : t[e]) !== ((n = this.props) == null ? void 0 : n[e]);
64
64
  }
65
- }, Se = class {
65
+ }, be = class {
66
66
  constructor(e, t, n) {
67
- z(this, "props", void 0), z(this, "callback", void 0), z(this, "event", {}), z(this, "changed", void 0), this.props = e, this.callback = t, this.changed = new xe(e, 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 ye(e, n);
68
68
  }
69
69
  make(e) {
70
70
  return this.makeCallback(e), this;
@@ -81,7 +81,7 @@ var xe = class {
81
81
  makeCallbackItem() {
82
82
  this.callback && this.callback(this.event);
83
83
  }
84
- }, Ce = class extends Se {
84
+ }, xe = class extends be {
85
85
  make(e) {
86
86
  return this.makeCallback(e).then(), this;
87
87
  }
@@ -91,32 +91,32 @@ var xe = class {
91
91
  };
92
92
  //#endregion
93
93
  //#region src/functions/ref/getRef.ts
94
- function B(e) {
95
- return P(e) ? e.value : e;
94
+ function U(e) {
95
+ return L(e) ? e.value : e;
96
96
  }
97
97
  //#endregion
98
98
  //#region src/functions/render/getClassName.ts
99
- function we(e) {
99
+ function Se(e) {
100
100
  return e && "class" in e && typeof e.class == "string" ? e.class : void 0;
101
101
  }
102
102
  //#endregion
103
103
  //#region src/functions/render/getIndexForRender.ts
104
- function Te(e, t, n) {
105
- let r = t == null ? void 0 : t.id, i = t == null ? void 0 : t.index, a = we(t), o = "";
106
- if (j(e) && (o += e), n && (o += `.${n}`), i && j(i) && (o += `.${i}`), a && (o += `.${a}`), r && (o += `.${r}`), o !== "") return o;
104
+ function Ce(e, t, n) {
105
+ let r = t == null ? void 0 : t.id, i = t == null ? void 0 : t.index, a = Se(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;
107
107
  }
108
108
  //#endregion
109
109
  //#region src/functions/ref/render.ts
110
- function Ee(e, t, n, r) {
110
+ function we(e, t, n, r) {
111
111
  let i = t, a = t && "key" in t;
112
112
  return (!t || !a) && (i = {
113
113
  ...t,
114
- key: Te(e, t, r)
115
- }), ce(e, i, n);
114
+ key: Ce(e, t, r)
115
+ }), oe(e, i, n);
116
116
  }
117
117
  //#endregion
118
118
  //#region src/functions/toBind.ts
119
- function V(e, t) {
119
+ function W(e, t) {
120
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 = {
121
121
  ...e,
122
122
  ...t
@@ -125,17 +125,17 @@ function V(e, t) {
125
125
  }
126
126
  //#endregion
127
127
  //#region src/functions/toBinds.ts
128
- function De(...e) {
128
+ function Te(...e) {
129
129
  let t = {};
130
130
  return e.forEach((e) => {
131
- e && (t = V(t, e));
131
+ e && (t = W(t, e));
132
132
  }), t;
133
133
  }
134
134
  //#endregion
135
135
  //#region src/classes/design/DesignComponents.ts
136
- var H = class {
136
+ var G = class {
137
137
  constructor(e = {}, t) {
138
- z(this, "components", void 0), z(this, "modification", void 0), z(this, "caching", {}), this.components = e, this.modification = t;
138
+ H(this, "components", void 0), H(this, "modification", void 0), H(this, "caching", {}), this.components = e, this.modification = t;
139
139
  }
140
140
  is(e) {
141
141
  return e in this.components;
@@ -146,9 +146,9 @@ var H = class {
146
146
  }
147
147
  getModification(e, t) {
148
148
  if (e) {
149
- e in this.caching || (this.caching[e] = N(() => this.computeModification(e)));
149
+ e in this.caching || (this.caching[e] = I(() => this.computeModification(e)));
150
150
  let n = this.caching[e];
151
- if (n) return t ? De(n.value, t) : n.value;
151
+ if (n) return t ? Te(n.value, t) : n.value;
152
152
  }
153
153
  return t;
154
154
  }
@@ -159,7 +159,7 @@ var H = class {
159
159
  renderOne(e, t, n, r) {
160
160
  if (this.is(e)) {
161
161
  let i = r == null ? e : r;
162
- return Ee(this.get(e), this.getModification(i, t), n, i);
162
+ return we(this.get(e), this.getModification(i, t), n, i);
163
163
  }
164
164
  }
165
165
  renderAdd(e, t, n, r, i) {
@@ -167,21 +167,21 @@ var H = class {
167
167
  }
168
168
  computeModification(e) {
169
169
  var t;
170
- let n = B((t = this.modification) == null ? void 0 : t[e]);
171
- if (n && k(n)) {
170
+ let n = U((t = this.modification) == null ? void 0 : t[e]);
171
+ if (n && M(n)) {
172
172
  let e = {};
173
- return S(n, (t, n) => {
174
- e[n] = B(t);
173
+ return C(n, (t, n) => {
174
+ e[n] = U(t);
175
175
  }), e;
176
176
  }
177
177
  return {};
178
178
  }
179
- }, Oe = class extends H {}, ke = class {
179
+ }, Ee = class extends G {}, De = class {
180
180
  constructor(e, t, n) {
181
- z(this, "props", void 0), z(this, "options", void 0), z(this, "name", void 0), z(this, "element", F()), z(this, "refs", void 0), z(this, "components", void 0), z(this, "emits", void 0), z(this, "classes", void 0), z(this, "classesSub", void 0), z(this, "styles", void 0), z(this, "stylesSub", void 0), z(this, "attrs", void 0), z(this, "slots", void 0), z(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 H(n == null ? void 0 : n.components, n == null ? void 0 : n.compMod), this.emits = n == null ? void 0 : n.emits, this.classes = N(() => this.updateClasses()), this.styles = N(() => this.updateStyles()), this.attrs = ge(), this.slots = _e();
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 ? fe(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 = me(), this.slots = he();
182
182
  }
183
183
  init() {
184
- return this.classesSub = N(() => this.initClasses()), this.stylesSub = N(() => this.initStyles()), this.dataExpose = this.initExpose(), this;
184
+ return this.classesSub = I(() => this.initClasses()), this.stylesSub = I(() => this.initStyles()), this.dataExpose = this.initExpose(), this;
185
185
  }
186
186
  getName() {
187
187
  return this.name.join("-");
@@ -190,13 +190,13 @@ var H = class {
190
190
  return String(this.name[0]);
191
191
  }
192
192
  getSubClass(e) {
193
- return `${this.getName()}__${M(e).join("__")}`;
193
+ return `${this.getName()}__${F(e).join("__")}`;
194
194
  }
195
195
  getStatusClass(e) {
196
- return `${this.getName()}--${M(e).join("--")}`;
196
+ return `${this.getName()}--${F(e).join("--")}`;
197
197
  }
198
198
  getStyle(e) {
199
- return `--${this.getName()}-sys-${M(e).join("-")}`;
199
+ return `--${this.getName()}-sys-${F(e).join("-")}`;
200
200
  }
201
201
  getAttrs() {
202
202
  var e;
@@ -221,19 +221,19 @@ var H = class {
221
221
  }
222
222
  }
223
223
  toClass(e) {
224
- return k(e) ? e : Array.isArray(e) ? { [e.filter((e) => typeof e == "string" && e.trim() !== "").join(" ")]: !0 } : typeof e == "string" ? { [e]: !0 } : {};
224
+ return M(e) ? e : Array.isArray(e) ? { [e.filter((e) => typeof e == "string" && e.trim() !== "").join(" ")]: !0 } : typeof e == "string" ? { [e]: !0 } : {};
225
225
  }
226
226
  toClassName(e) {
227
- if (O(e)) {
227
+ if (j(e)) {
228
228
  let t = {};
229
- return S(e, (e, n) => {
229
+ return C(e, (e, n) => {
230
230
  n.match(/\?\?/) ? t[n.replace(/\?\?/, this.getName())] = e : n.match(/\?/) ? t[n.replace(/\?/, this.getDesign())] = e : t[n] = e;
231
231
  }), t;
232
232
  }
233
233
  return {};
234
234
  }
235
235
  initName(e) {
236
- return S(e.split(".", 2), (e) => re(e));
236
+ return C(e.split(".", 2), (e) => te(e));
237
237
  }
238
238
  updateClasses() {
239
239
  var e, t, n;
@@ -263,18 +263,18 @@ var H = class {
263
263
  };
264
264
  //#endregion
265
265
  //#region src/functions/ref/toRefItem.ts
266
- function U(e) {
267
- return P(e) ? e : F(e);
266
+ function K(e) {
267
+ return L(e) ? e : R(e);
268
268
  }
269
269
  //#endregion
270
270
  //#region src/classes/ref/DatetimeRef.ts
271
- var Ae = class {
272
- constructor(e, t = "date", n = l.getLocation()) {
273
- z(this, "item", void 0), z(this, "type", void 0), z(this, "code", void 0), z(this, "date", void 0), z(this, "datetime", void 0), z(this, "year", F(2e3)), z(this, "month", F(1)), z(this, "day", F(1)), z(this, "hour", F(1)), z(this, "minute", F(1)), z(this, "second", F(1)), this.item = U(e), this.type = U(t), this.code = U(n), this.date = F(ie(this.item.value)), this.datetime = new a(this.date.value, this.type.value, this.code.value), L(this.item, (e) => {
274
- this.date.value = ie(e);
275
- }), L(this.type, (e) => this.datetime.setType(e)), L(this.code, (e) => this.datetime.setCode(e)), L(this.date, (e) => {
271
+ var Oe = class {
272
+ 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(ne(this.item.value)), this.datetime = new o(this.date.value, this.type.value, this.code.value), B(this.item, (e) => {
274
+ this.date.value = ne(e);
275
+ }), B(this.type, (e) => this.datetime.setType(e)), B(this.code, (e) => this.datetime.setCode(e)), B(this.date, (e) => {
276
276
  this.datetime.setDate(e), this.updateDate();
277
- }), this.datetime.setWatch(() => he(this.date)), this.updateDate();
277
+ }), this.datetime.setWatch(() => pe(this.date)), this.updateDate();
278
278
  }
279
279
  getItem() {
280
280
  return this.item;
@@ -286,78 +286,78 @@ var Ae = class {
286
286
  return this.datetime;
287
287
  }
288
288
  getHoursType() {
289
- return N(() => this.date.value && this.datetime.getHoursType());
289
+ return I(() => this.date.value && this.datetime.getHoursType());
290
290
  }
291
291
  getFirstDayCode() {
292
- return N(() => this.date.value && this.datetime.getFirstDayCode());
292
+ return I(() => this.date.value && this.datetime.getFirstDayCode());
293
293
  }
294
294
  getYear() {
295
- return N(() => this.year.value);
295
+ return I(() => this.year.value);
296
296
  }
297
297
  getMonth() {
298
- return N(() => this.month.value);
298
+ return I(() => this.month.value);
299
299
  }
300
300
  getDay() {
301
- return N(() => this.day.value);
301
+ return I(() => this.day.value);
302
302
  }
303
303
  getHour() {
304
- return N(() => this.hour.value);
304
+ return I(() => this.hour.value);
305
305
  }
306
306
  getMinute() {
307
- return N(() => this.minute.value);
307
+ return I(() => this.minute.value);
308
308
  }
309
309
  getSecond() {
310
- return N(() => this.second.value);
310
+ return I(() => this.second.value);
311
311
  }
312
312
  getMaxDay() {
313
- return N(() => this.date.value && this.datetime.getMaxDay());
313
+ return I(() => this.date.value && this.datetime.getMaxDay());
314
314
  }
315
315
  locale(e = this.type.value, t) {
316
- return N(() => this.date.value && this.datetime.locale(e, t));
316
+ return I(() => this.date.value && this.datetime.locale(e, t));
317
317
  }
318
318
  standard(e = !0) {
319
- return N(() => this.date.value && this.datetime.standard(e));
319
+ return I(() => this.date.value && this.datetime.standard(e));
320
320
  }
321
321
  updateDate() {
322
322
  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
323
  }
324
- }, W = class {
324
+ }, q = class {
325
325
  static run(e) {
326
326
  return this.getScope().run(e);
327
327
  }
328
328
  static getScope() {
329
- return v.get("__ui:effect-scope-global__", () => oe(!0));
329
+ return y.get("__ui:effect-scope-global__", () => ie(!0));
330
330
  }
331
- }, je = class extends s {
331
+ }, ke = class extends c {
332
332
  constructor(e, t, n = ["click"], r, i, a) {
333
- let o = U(e), s = U(t);
334
- super(o.value, n, r, i, a), s.value && this.setElementControl(s.value), L(o, (e) => this.setElement(e)), L(s, (e) => this.setElementControl(e));
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));
335
335
  }
336
- }, Me = class {
337
- constructor(e = l.getLocation()) {
338
- z(this, "code", void 0), z(this, "flag", void 0), this.code = U(e), this.flag = new u(this.code.value), L(this.code, (e) => this.flag.setCode(e));
336
+ }, Ae = class {
337
+ constructor(e = u.getLocation()) {
338
+ H(this, "code", void 0), H(this, "flag", void 0), this.code = K(e), this.flag = new d(this.code.value), B(this.code, (e) => this.flag.setCode(e));
339
339
  }
340
340
  getCode() {
341
341
  return this.code;
342
342
  }
343
343
  get(e = this.code.value) {
344
- return N(() => this.flag.get(e));
344
+ return I(() => this.flag.get(e));
345
345
  }
346
346
  getFlag(e = this.code.value) {
347
- return N(() => {
347
+ return I(() => {
348
348
  var t;
349
349
  return (t = this.flag.get(e)) == null ? void 0 : t.icon;
350
350
  });
351
351
  }
352
352
  getList(e) {
353
- return N(() => this.flag.getList(e));
353
+ return I(() => this.flag.getList(e));
354
354
  }
355
355
  getNational(e) {
356
- return N(() => this.flag.getNational(e));
356
+ return I(() => this.flag.getNational(e));
357
357
  }
358
- }, G, K = class {
358
+ }, J, Y = class {
359
359
  static get() {
360
- return v.get("__ui:geo-ref__", () => I(l.getItem()));
360
+ return y.get("__ui:geo-ref__", () => z(u.getItem()));
361
361
  }
362
362
  static getCountry() {
363
363
  return this.country;
@@ -372,88 +372,88 @@ var Ae = class {
372
372
  return this.firstDay;
373
373
  }
374
374
  static set(e) {
375
- l.set(e, !0), this.get().value = l.getItem();
375
+ u.set(e, !0), this.get().value = u.getItem();
376
376
  }
377
377
  };
378
- G = K, z(K, "country", N(() => G.get().value.country)), z(K, "language", N(() => G.get().value.language)), z(K, "standard", N(() => G.get().value.standard)), z(K, "firstDay", N(() => G.get().value.firstDay));
378
+ J = Y, H(Y, "country", I(() => J.get().value.country)), H(Y, "language", I(() => J.get().value.language)), H(Y, "standard", I(() => J.get().value.standard)), H(Y, "firstDay", I(() => J.get().value.firstDay));
379
379
  //#endregion
380
380
  //#region src/classes/ref/GeoIntlRef.ts
381
- var Ne = class {
381
+ var je = class {
382
382
  constructor(e) {
383
- z(this, "location", void 0), z(this, "intl", void 0), this.location = U(e), this.intl = N(() => {
383
+ H(this, "location", void 0), H(this, "intl", void 0), this.location = K(e), this.intl = I(() => {
384
384
  var e;
385
- return new d((e = this.location.value) == null ? K.getLanguage().value : e);
385
+ return new f((e = this.location.value) == null ? Y.getLanguage().value : e);
386
386
  });
387
387
  }
388
388
  display(e, t) {
389
- return N(() => this.intl.value.display(B(e), t));
389
+ return I(() => this.intl.value.display(U(e), t));
390
390
  }
391
391
  languageName(e, t) {
392
- return N(() => this.intl.value.languageName(B(e), t));
392
+ return I(() => this.intl.value.languageName(U(e), t));
393
393
  }
394
394
  countryName(e, t) {
395
- return N(() => this.intl.value.countryName(B(e), t));
395
+ return I(() => this.intl.value.countryName(U(e), t));
396
396
  }
397
397
  number(e, t) {
398
- return N(() => this.intl.value.number(B(e), t));
398
+ return I(() => this.intl.value.number(U(e), t));
399
399
  }
400
400
  decimal() {
401
- return N(() => this.intl.value.decimal());
401
+ return I(() => this.intl.value.decimal());
402
402
  }
403
403
  currency(e, t, n = !1) {
404
- return N(() => this.intl.value.currency(B(e), B(t), n));
404
+ return I(() => this.intl.value.currency(U(e), U(t), n));
405
405
  }
406
406
  currencySymbol(e, t = "symbol") {
407
- return N(() => this.intl.value.currencySymbol(B(e), t));
407
+ return I(() => this.intl.value.currencySymbol(U(e), t));
408
408
  }
409
409
  unit(e, t) {
410
- return N(() => this.intl.value.unit(B(e), t));
410
+ return I(() => this.intl.value.unit(U(e), t));
411
411
  }
412
412
  sizeFile(e, t = "byte") {
413
- return N(() => this.intl.value.sizeFile(B(e), t));
413
+ return I(() => this.intl.value.sizeFile(U(e), t));
414
414
  }
415
415
  percent(e, t) {
416
- return N(() => this.intl.value.percent(B(e), t));
416
+ return I(() => this.intl.value.percent(U(e), t));
417
417
  }
418
418
  percentBy100(e, t) {
419
- return N(() => this.intl.value.percentBy100(B(e), t));
419
+ return I(() => this.intl.value.percentBy100(U(e), t));
420
420
  }
421
421
  plural(e, t, n, r) {
422
- return N(() => this.intl.value.plural(B(e), t, n, r));
422
+ return I(() => this.intl.value.plural(U(e), t, n, r));
423
423
  }
424
424
  date(e, t, n, r) {
425
- return N(() => this.intl.value.date(B(e), t, n, r));
425
+ return I(() => this.intl.value.date(U(e), t, n, r));
426
426
  }
427
427
  relative(e, t, n) {
428
- return N(() => this.intl.value.relative(B(e), t, n));
428
+ return I(() => this.intl.value.relative(U(e), t, n));
429
429
  }
430
430
  relativeLimit(e, t, n, r, i, a, o) {
431
- return N(() => this.intl.value.relativeLimit(B(e), t, n, r, i, a, o));
431
+ return I(() => this.intl.value.relativeLimit(U(e), t, n, r, i, a, o));
432
432
  }
433
433
  relativeByValue(e, t, n) {
434
- return N(() => this.intl.value.relativeByValue(B(e), t, n));
434
+ return I(() => this.intl.value.relativeByValue(U(e), t, n));
435
435
  }
436
436
  month(e, t) {
437
- return N(() => this.intl.value.month(B(e), t));
437
+ return I(() => this.intl.value.month(U(e), t));
438
438
  }
439
439
  months(e) {
440
- return N(() => this.intl.value.months(e));
440
+ return I(() => this.intl.value.months(e));
441
441
  }
442
442
  weekday(e, t) {
443
- return N(() => this.intl.value.weekday(B(e), t));
443
+ return I(() => this.intl.value.weekday(U(e), t));
444
444
  }
445
445
  weekdays(e) {
446
- return N(() => this.intl.value.weekdays(e));
446
+ return I(() => this.intl.value.weekdays(e));
447
447
  }
448
448
  time(e) {
449
- return N(() => this.intl.value.time(B(e)));
449
+ return I(() => this.intl.value.time(U(e)));
450
450
  }
451
451
  sort(e, t = (e, t) => [e, t]) {
452
- return N(() => this.intl.value.sort([...B(e)], t));
452
+ return I(() => this.intl.value.sort([...U(e)], t));
453
453
  }
454
- }, Pe = class e {
454
+ }, Me = class e {
455
455
  constructor(e, t, n, r, i, a, o, s, c, l = 0, u = 9999999, d) {
456
- z(this, "list", void 0), z(this, "focus", void 0), z(this, "highlight", void 0), z(this, "highlightLengthStart", void 0), z(this, "filterMode", void 0), z(this, "selected", void 0), z(this, "keyValue", void 0), z(this, "keyLabel", void 0), z(this, "lite", void 0), z(this, "min", void 0), z(this, "max", void 0), z(this, "parent", void 0), z(this, "subList", {}), z(this, "data", N(() => S(B(this.list) || [], (e, t) => this.initItem(t, e)))), z(this, "liteData", N(() => {
456
+ 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(() => C(U(this.list) || [], (e, t) => this.initItem(t, e)))), H(this, "liteData", I(() => {
457
457
  if (this.isLite()) {
458
458
  let e = [];
459
459
  for (let t of this.data.value) {
@@ -470,11 +470,11 @@ var Ne = class {
470
470
  return e;
471
471
  }
472
472
  return this.data.value;
473
- })), z(this, "fullData", N(() => {
473
+ })), H(this, "fullData", I(() => {
474
474
  let e = this.getFocus(), t = this.getHighlight(), n = this.getSelected();
475
- return S(this.data.value, (r) => {
475
+ return C(this.data.value, (r) => {
476
476
  var i, a;
477
- let o = A(r.index, n);
477
+ let o = N(r.index, n);
478
478
  return {
479
479
  ...r,
480
480
  focus: e === r.index,
@@ -484,7 +484,7 @@ var Ne = class {
484
484
  disabled: (a = r.disabled) == null ? !o && r.type === "item" && this.isSelectedMax.value : a
485
485
  };
486
486
  });
487
- })), z(this, "map", N(() => {
487
+ })), H(this, "map", I(() => {
488
488
  let e = [];
489
489
  return this.data.value.forEach((t) => {
490
490
  switch (t.type) {
@@ -497,32 +497,32 @@ var Ne = class {
497
497
  break;
498
498
  }
499
499
  }), e;
500
- })), z(this, "mapItems", N(() => this.map.value.filter((e) => e.type === "item"))), z(this, "items", N(() => this.map.value.filter((e) => e.type === "item" || e.type === "group" || e.type === "menu"))), z(this, "highlightFirstItem", N(() => {
500
+ })), 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(() => {
501
501
  let e = this.getHighlight();
502
502
  if (e && e.length >= this.getHighlightLengthStart()) {
503
- let t = T(e, "i");
503
+ let t = E(e, "i");
504
504
  if (t) return this.map.value.findIndex((e) => {
505
505
  var n, r, i;
506
506
  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));
507
507
  });
508
508
  }
509
509
  return -1;
510
- })), z(this, "isSelected", N(() => {
510
+ })), H(this, "isSelected", I(() => {
511
511
  let e = this.getSelected();
512
- return !!e && this.mapItems.value.findIndex((t) => A(t.index, e)) !== -1;
513
- })), z(this, "isSelectedMin", N(() => {
514
- let e = Number(B(this.min) || 0);
512
+ return !!e && this.mapItems.value.findIndex((t) => N(t.index, e)) !== -1;
513
+ })), H(this, "isSelectedMin", I(() => {
514
+ let e = Number(U(this.min) || 0);
515
515
  return e > 0 ? this.selectedListInGroup.value.length >= e : !1;
516
- })), z(this, "isSelectedMax", N(() => {
517
- let e = Number(B(this.max) || 9999999);
516
+ })), H(this, "isSelectedMax", I(() => {
517
+ let e = Number(U(this.max) || 9999999);
518
518
  return e > 0 ? this.selectedListInGroup.value.length >= e : !1;
519
- })), z(this, "selectedList", N(() => {
519
+ })), H(this, "selectedList", I(() => {
520
520
  let e = this.getSelected();
521
- return e && this.isSelected.value ? this.mapItems.value.filter((t) => A(t.index, e)) : [];
522
- })), z(this, "selectedListInGroup", N(() => {
521
+ return e && this.isSelected.value ? this.mapItems.value.filter((t) => N(t.index, e)) : [];
522
+ })), H(this, "selectedListInGroup", I(() => {
523
523
  let e = this.getSelected();
524
- return e && this.isSelected.value ? this.data.value.filter((t) => A(t.index, e)) : [];
525
- })), z(this, "selectedNames", N(() => C(this.selectedList.value, "label"))), z(this, "selectedValues", N(() => C(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, P(e) && L(e, () => {
524
+ return e && this.isSelected.value ? this.data.value.filter((t) => N(t.index, e)) : [];
525
+ })), H(this, "selectedNames", I(() => w(this.selectedList.value, "label"))), H(this, "selectedValues", I(() => w(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, () => {
526
526
  this.subList = {};
527
527
  });
528
528
  }
@@ -554,6 +554,9 @@ var Ne = class {
554
554
  var e;
555
555
  return (e = this.focus) == null ? void 0 : e.value;
556
556
  }
557
+ getFocusItem() {
558
+ return this.data.value.find((e) => e.index === this.getFocus());
559
+ }
557
560
  getHighlight() {
558
561
  var e;
559
562
  return (e = this.highlight) == null ? void 0 : e.value;
@@ -633,10 +636,10 @@ var Ne = class {
633
636
  return t.parent === e && this.isItem(t);
634
637
  }
635
638
  getIndex(e, t, n, r) {
636
- return e && !O(e) ? e : t && !O(t) ? t : n && r;
639
+ return e && !j(e) ? e : t && !j(t) ? t : n && r;
637
640
  }
638
641
  initItem(e, t) {
639
- if (k(t)) {
642
+ if (M(t)) {
640
643
  var n, r, i, a, o, s;
641
644
  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);
642
645
  return {
@@ -656,9 +659,9 @@ var Ne = class {
656
659
  value: e
657
660
  };
658
661
  }
659
- }, Fe = "__ui:router-item-ref__", q = class {
662
+ }, Ne = "__ui:router-item-ref__", X = class {
660
663
  static get() {
661
- return v.get(Fe);
664
+ return y.get(Ne);
662
665
  }
663
666
  static getLink(e, t, n) {
664
667
  var r;
@@ -680,173 +683,188 @@ var Ne = class {
680
683
  t && t.push(e).then();
681
684
  }
682
685
  static set(e) {
683
- v.set(Fe, () => e);
686
+ y.set(Ne, () => e);
684
687
  }
685
688
  static setOneTime(e) {
686
689
  this.get() || this.set(e);
687
690
  }
688
691
  static rawToHref(e) {
689
- return k(e) && "name" in e && j(e == null ? void 0 : e.name) ? this.getHref(e.name) : {};
692
+ return M(e) && "name" in e && P(e == null ? void 0 : e.name) ? this.getHref(e.name) : {};
690
693
  }
691
- }, Ie = class {
694
+ }, Pe = class {
692
695
  constructor() {
693
- z(this, "item", F()), z(this, "width", F(0)), z(this, "is", N(() => this.item.value !== void 0)), D() && (g.is().then((e) => {
696
+ H(this, "item", R()), H(this, "width", R(0)), H(this, "is", I(() => this.item.value !== void 0)), k() && (_.is().then((e) => {
694
697
  this.item.value = e;
695
- }), g.get().then((e) => {
698
+ }), _.get().then((e) => {
696
699
  this.width.value = e;
697
700
  }));
698
701
  }
699
- }, J = (e) => typeof e == "string" ? { method: e } : e || {}, Y;
700
- function X(t, n, r = !0, i, a, o, s = !0, c = e.getItem()) {
701
- let l = F(), u = U(J(n)), d = F(!1), f = F(!1), p = F(), m, h = !0, g, _ = () => {
702
- let e = B(t);
703
- return !!((!i || i.value) && e);
704
- }, v = () => ({
705
- path: B(t),
706
- ...u.value
707
- }), y = () => {
708
- if (D() && _()) {
709
- let e = c.getResponse().emulatorAsync(v());
710
- e && (l.value = e);
702
+ };
703
+ //#endregion
704
+ //#region src/functions/ref/getApiErrorRef.ts
705
+ function Fe(e) {
706
+ return I(() => {
707
+ if (!(!e.value || D(e.value) || !M(e.value))) return e.value.errorObject;
708
+ });
709
+ }
710
+ //#endregion
711
+ //#region src/functions/getOptions.ts
712
+ var Ie = (e) => typeof e == "string" ? { method: e } : e || {}, Z;
713
+ function Le(n, r, i = !0, a, o, s, c, l = !0, u = e.getItem()) {
714
+ let d = R(), f = K(Ie(r)), p = R(!1), m = R(!1), h = R(), g, _ = !0, v, y = () => {
715
+ let e = U(n);
716
+ return !!((!a || a.value) && e);
717
+ }, b = () => ({
718
+ path: U(n),
719
+ ...f.value
720
+ }), x = () => {
721
+ if (k() && y()) {
722
+ let e = u.getResponse().emulatorAsync(b());
723
+ e && (d.value = e);
711
724
  }
712
- }, b = async () => {
713
- if (!h) if (m && m.abort(), m = u.value.controller || new AbortController(), _()) {
714
- d.value = !0, f.value = !0;
725
+ }, S = async () => {
726
+ if (!_) if (g && g.abort(), g = f.value.controller || new AbortController(), y()) {
727
+ p.value = !0, m.value = !0;
715
728
  try {
716
- let e = await c.request({
717
- controller: m,
718
- ...v()
729
+ let e = await u.request({
730
+ controller: g,
731
+ ...b()
719
732
  });
720
- e && (p.value = o == null ? void 0 : o(e), a ? l.value = a(e, p.value) : l.value = e);
733
+ e && (h.value = s == null ? void 0 : s(e), o ? d.value = o(e, h.value) : d.value = e);
721
734
  } catch (e) {
722
- l.value = void 0;
735
+ d.value = void 0;
723
736
  }
724
- d.value = !1;
725
- } else l.value !== void 0 && (l.value = void 0);
726
- }, x = () => {
727
- g == null || g(), l.value = void 0, h = !0;
728
- }, S = () => {
729
- if (h) {
730
- if (h = !1, !D()) return;
731
- y(), l.value === void 0 && b().then(), s ? w() : W.run(() => w());
737
+ p.value = !1;
738
+ } else d.value !== void 0 && (d.value = void 0);
739
+ }, C = () => {
740
+ v == null || v(), d.value = void 0, _ = !0;
741
+ }, w = () => {
742
+ if (_) {
743
+ if (_ = !1, c) {
744
+ let e = b();
745
+ t.add(c, e.path, e.method);
746
+ }
747
+ if (!k()) return;
748
+ x(), d.value === void 0 && S().then(), l ? E() : q.run(() => E());
732
749
  }
733
750
  };
734
- s && se() && fe(() => x());
735
- let C = () => {
736
- D() || de(async () => {
737
- h = !1, await b();
751
+ l && ae() && ue(() => C());
752
+ let T = () => {
753
+ k() || le(async () => {
754
+ _ = !1, await S();
738
755
  });
739
- }, w = () => {
756
+ }, E = () => {
740
757
  let e = [];
741
- r && e.push(u), P(t) && e.push(t), i && e.push(i), Y && e.push(Y), e.length > 0 && (g = L(e, async () => {
742
- d.value || await b();
758
+ i && e.push(f), L(n) && e.push(n), a && e.push(a), Z && e.push(Z), e.length > 0 && (v = B(e, async () => {
759
+ p.value || await S();
743
760
  }));
744
- }, T = N(() => (S(), l.value)), ee = N(() => Array.isArray(l.value) ? l.value.length : +!!l.value), E = N(() => l.value === void 0);
761
+ }, D = I(() => (w(), d.value)), O = Fe(d), A = I(() => Array.isArray(d.value) ? d.value.length : +!!d.value), j = I(() => d.value === void 0);
745
762
  return {
746
- data: T,
763
+ data: D,
747
764
  get item() {
748
- return S(), l;
765
+ return w(), d;
749
766
  },
750
- isResponseContractValid: N(() => {
767
+ errorItem: O,
768
+ isResponseContractValid: I(() => {
751
769
  var e;
752
- return ((e = p.value) == null ? void 0 : e.status) === "success";
770
+ return ((e = h.value) == null ? void 0 : e.status) === "success";
753
771
  }),
754
- responseValidationResult: N(() => p.value),
755
- length: ee,
756
- starting: E,
757
- loading: d,
758
- reading: f,
772
+ responseValidationResult: I(() => h.value),
773
+ length: A,
774
+ starting: j,
775
+ loading: p,
776
+ reading: m,
759
777
  isStarting() {
760
- return l.value === void 0;
778
+ return d.value === void 0;
761
779
  },
762
780
  isLoading() {
763
- return d.value;
781
+ return p.value;
764
782
  },
765
783
  isReading() {
766
- return f.value;
784
+ return m.value;
767
785
  },
768
786
  getItem() {
769
- return l.value;
787
+ return d.value;
770
788
  },
771
- init: S,
772
- initSsr: C,
773
- reset: b,
774
- stop: x,
775
- abort: () => m == null ? void 0 : m.abort()
789
+ init: w,
790
+ initSsr: T,
791
+ reset: S,
792
+ stop: C,
793
+ abort: () => g == null ? void 0 : g.abort()
776
794
  };
777
795
  }
778
- var Le = (e) => {
779
- Y || (Y = e);
796
+ var Re = (e) => {
797
+ Z || (Z = e);
780
798
  };
781
799
  //#endregion
782
800
  //#region src/composables/ref/useApiAsyncRef.ts
783
- function Re(t, n, r = !0, i, a, o, s = !0, c = e.getItem()) {
784
- let l = X(t, n, r, i, a, o, s, c);
785
- return l.initSsr(), l;
801
+ function ze(t, n, r = !0, i, a, o, s, c = !0, l = e.getItem()) {
802
+ let u = Le(t, n, r, i, a, o, s, c, l);
803
+ return u.initSsr(), u;
786
804
  }
787
805
  //#endregion
788
806
  //#region src/composables/ref/useApiRequest.ts
789
- function Z(n, r = t.post, i, a, o = !0, s, c = e.getItem()) {
790
- let l = F(!1), u = U(J(s));
791
- return {
792
- loading: l,
807
+ function Q(r, i = n.post, a, o, s, c = !0, l, u = e.getItem()) {
808
+ let d = R(!1), f = K(Ie(l));
809
+ return s && t.add(s, U(r), i), {
810
+ loading: d,
793
811
  async send(e) {
794
- l.value = !0;
812
+ d.value = !0;
795
813
  let t;
796
814
  try {
797
- if (t = await c.request({
798
- path: B(n),
799
- method: r,
815
+ if (t = await u.request({
816
+ path: U(r),
817
+ method: i,
800
818
  request: e,
801
- toData: o,
802
- ...u.value
803
- }), t && (a && (t = a(t)), i)) {
804
- let e = i(t);
819
+ toData: c,
820
+ ...f.value
821
+ }), t && (o && (t = o(t)), a)) {
822
+ let e = a(t);
805
823
  e instanceof Promise && await e;
806
824
  }
807
825
  } catch (e) {
808
826
  t = void 0;
809
827
  }
810
- return l.value = !1, t;
828
+ return d.value = !1, t;
811
829
  }
812
830
  };
813
831
  }
814
832
  //#endregion
815
833
  //#region src/composables/ref/useApiDelete.ts
816
- function ze(e, n, r, i = !0, a, o) {
817
- return Z(e, t.delete, n, r, i, a, o);
834
+ function Be(e, t, r, i, a = !0, o, s) {
835
+ return Q(e, n.delete, t, r, i, a, o, s);
818
836
  }
819
837
  //#endregion
820
838
  //#region src/composables/ref/useApiGet.ts
821
- function Be(e, n, r, i = !0, a, o) {
822
- return Z(e, t.get, n, r, i, a, o);
839
+ function Ve(e, t, r, i, a = !0, o, s) {
840
+ return Q(e, n.get, t, r, i, a, o, s);
823
841
  }
824
842
  //#endregion
825
843
  //#region src/composables/ref/useApiPost.ts
826
- function Ve(e, n, r, i = !0, a, o) {
827
- return Z(e, t.post, n, r, i, a, o);
844
+ function He(e, t, r, i, a = !0, o, s) {
845
+ return Q(e, n.post, t, r, i, a, o, s);
828
846
  }
829
847
  //#endregion
830
848
  //#region src/composables/ref/useApiPut.ts
831
- function He(e, n, r, i = !0, a, o) {
832
- return Z(e, t.put, n, r, i, a, o);
849
+ function Ue(e, t, r, i, a = !0, o, s) {
850
+ return Q(e, n.put, t, r, i, a, o, s);
833
851
  }
834
852
  //#endregion
835
853
  //#region src/composables/ref/useFormattersRef.ts
836
- function Ue(e, t) {
837
- let n = new c(t);
854
+ function We(e, t) {
855
+ let n = new l(t);
838
856
  return {
839
- listFormat: N(() => n.setList(e.value).to()),
840
- length: N(() => n.setList(e.value).length())
857
+ listFormat: I(() => n.setList(e.value).to()),
858
+ length: I(() => n.setList(e.value).length())
841
859
  };
842
860
  }
843
861
  //#endregion
844
862
  //#region src/composables/ref/useSearchValueRef.ts
845
- function We(e, t) {
846
- let n = t == null ? F("") : t, r = F(n.value), i = F(!1), a;
847
- return L(n, (t, o, s) => {
863
+ function Ge(e, t) {
864
+ let n = t == null ? R("") : t, r = R(n.value), i = R(!1), a;
865
+ return B(n, (t, o, s) => {
848
866
  let c = e.getOptions().getDelay();
849
- c && D() ? (i.value = !0, a = setTimeout(() => {
867
+ c && k() ? (i.value = !0, a = setTimeout(() => {
850
868
  a = void 0, r.value = n.value, i.value = !1;
851
869
  }, c), s(() => {
852
870
  a && clearTimeout(a);
@@ -859,129 +877,130 @@ function We(e, t) {
859
877
  }
860
878
  //#endregion
861
879
  //#region src/composables/ref/useSearchRef.ts
862
- function Ge(e, t, n, r) {
863
- let i = new _(void 0, t, void 0, r), { search: a, searchDelay: o, loading: s } = We(i, n), c = () => B(b(e)) || [], l = N(() => i.setValue(o.value).getItem().isSearch()), u = N(() => i.setList(c()).setValue(o.value).to());
880
+ function Ke(e, t, n, r) {
881
+ let i = new v(void 0, t, void 0, r), { search: a, searchDelay: o, loading: s } = Ge(i, n), c = () => U(x(e)) || [], l = I(() => i.setValue(o.value).getItem().isSearch()), u = I(() => i.setList(c()).setValue(o.value).to());
864
882
  return {
865
883
  isSearch: l,
866
884
  search: a,
867
885
  loading: s,
868
886
  listSearch: u,
869
- length: N(() => u.value.length)
887
+ length: I(() => u.value.length)
870
888
  };
871
889
  }
872
890
  //#endregion
873
891
  //#region src/composables/ref/useApiManagementRef.ts
874
- function Ke(e, t, n, r, i, a, o, s) {
875
- let { path: c, options: l, reactivity: u, conditions: d, transformation: f, validateResponseContract: p, typeData: m, unmounted: h, skeleton: g } = e, _, v, y, b, S, C = X(c, l, u, d, f, p, h, s), w = N(() => m === void 0 ? !0 : C.isStarting() ? !1 : te(m) ? m(C.data.value) : C.data.value instanceof m), T = N(() => C.isStarting() && g ? g() : C.data.value);
876
- if (t && (_ = Ue(T, t)), n && (v = Ge(N(() => {
892
+ function qe(e, t, n, r, i, a, o, s) {
893
+ 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, C, 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);
894
+ if (t && (v = We(E, t)), n && (y = Ke(I(() => {
877
895
  var e;
878
- let t = (e = _ == null ? void 0 : _.listFormat.value) == null ? C.data.value : e;
896
+ let t = (e = v == null ? void 0 : v.listFormat.value) == null ? w.data.value : e;
879
897
  if (Array.isArray(t)) return t;
880
898
  }), n.columns, n.value, n.options)), r || i || a) {
881
899
  let e = (e) => {
882
- o == null || o(), ee(e) && C.reset().then();
900
+ o == null || o(), D(e) && w.reset().then();
883
901
  }, t = (t) => async (n) => {
884
- te(t) && await x(t(n)), e(n);
902
+ A(t) && await S(t(n)), e(n);
885
903
  };
886
- r && (y = Ve(r.path, t(r.action), r.transformation, r.toData, r.options, s)), i && (b = He(i.path, t(i.action), i.transformation, i.toData, i.options, s)), a && (S = ze(a.path, t(a.action), a.transformation, a.toData, a.options, s));
904
+ r && (b = He(r.path, t(r.action), r.transformation, r.errorContract, r.toData, r.options, s)), i && (x = Ue(i.path, t(i.action), i.transformation, i.errorContract, i.toData, i.options, s)), a && (C = Be(a.path, t(a.action), a.transformation, a.errorContract, a.toData, a.options, s));
887
905
  }
888
- let E = N(() => {
889
- if (w.value) {
890
- if (v && Array.isArray(C.data.value)) return v.listSearch.value;
891
- if (_) return _.listFormat.value;
906
+ let O = I(() => {
907
+ if (T.value) {
908
+ if (y && Array.isArray(w.data.value)) return y.listSearch.value;
909
+ if (v) return v.listFormat.value;
892
910
  }
893
- return T.value;
911
+ return E.value;
894
912
  });
895
913
  return {
896
- isValid: w,
897
- isResponseContractValid: C.isResponseContractValid,
898
- responseValidationResult: C.responseValidationResult,
899
- list: E,
914
+ isValid: T,
915
+ isResponseContractValid: w.isResponseContractValid,
916
+ responseValidationResult: w.responseValidationResult,
917
+ list: O,
900
918
  get data() {
901
- return C.data;
919
+ return w.data;
902
920
  },
921
+ errorItem: w.errorItem,
903
922
  get length() {
904
- return v ? v.length : C.length;
923
+ return y ? y.length : w.length;
905
924
  },
906
- lengthData: C.length,
907
- starting: C.starting,
908
- reading: C.reading,
909
- loading: C.loading,
910
- loadingSearch: v == null ? void 0 : v.loading,
911
- loadingPost: y == null ? void 0 : y.loading,
912
- loadingPut: b == null ? void 0 : b.loading,
913
- loadingDelete: S == null ? void 0 : S.loading,
914
- isSearch: v == null ? void 0 : v.isSearch,
915
- search: v == null ? void 0 : v.search,
916
- init: C.init,
917
- initSsr: C.initSsr,
918
- reset: C.reset,
919
- abort: C.abort,
920
- sendPost: async (e) => await (y == null ? void 0 : y.send(e)),
921
- sendPut: async (e) => await (b == null ? void 0 : b.send(e)),
922
- sendDelete: async (e) => await (S == null ? void 0 : S.send(e))
925
+ lengthData: w.length,
926
+ starting: w.starting,
927
+ reading: w.reading,
928
+ loading: w.loading,
929
+ loadingSearch: y == null ? void 0 : y.loading,
930
+ loadingPost: b == null ? void 0 : b.loading,
931
+ loadingPut: x == null ? void 0 : x.loading,
932
+ loadingDelete: C == null ? void 0 : C.loading,
933
+ isSearch: y == null ? void 0 : y.isSearch,
934
+ search: y == null ? void 0 : y.search,
935
+ init: w.init,
936
+ initSsr: w.initSsr,
937
+ reset: w.reset,
938
+ abort: w.abort,
939
+ sendPost: async (e) => await (b == null ? void 0 : b.send(e)),
940
+ sendPut: async (e) => await (x == null ? void 0 : x.send(e)),
941
+ sendDelete: async (e) => await (C == null ? void 0 : C.send(e))
923
942
  };
924
943
  }
925
944
  //#endregion
926
945
  //#region src/composables/ref/useApiManagementAsyncRef.ts
927
- function qe(e, t, n, r, i, a, o, s) {
928
- let c = Ke(e, t, n, r, i, a, o, s);
946
+ function Je(e, t, n, r, i, a, o, s) {
947
+ let c = qe(e, t, n, r, i, a, o, s);
929
948
  return c.initSsr(), c;
930
949
  }
931
950
  //#endregion
932
951
  //#region src/composables/ref/useBroadcastValueRef.ts
933
- var Je = () => v.get("__ui:broadcast-value-ref__", () => ({}));
934
- function Ye(e, t) {
935
- let r = `broadcast--${e}`, i = Je();
936
- if (r in i) return i[r];
937
- let a = F(b(t));
938
- if (D()) {
939
- let e = new n(r, (e) => {
952
+ var Ye = () => y.get("__ui:broadcast-value-ref__", () => ({}));
953
+ function Xe(e, t) {
954
+ let n = `broadcast--${e}`, i = Ye();
955
+ if (n in i) return i[n];
956
+ let a = R(x(t));
957
+ if (k()) {
958
+ let e = new r(n, (e) => {
940
959
  a.value !== e.data.message && (a.value = e.data.message);
941
960
  });
942
- W.run(() => {
943
- L(a, (t) => e.post({ message: t }));
961
+ q.run(() => {
962
+ B(a, (t) => e.post({ message: t }));
944
963
  });
945
964
  }
946
- return i[r] = a, a;
965
+ return i[n] = a, a;
947
966
  }
948
967
  //#endregion
949
968
  //#region src/composables/ref/useCookieRef.ts
950
- var Xe = () => v.get("__ui:cookie-ref__", () => ({}));
951
- function Ze(e, t, n) {
952
- let i = Xe();
953
- if (e in i) return i[e];
954
- let a = new r(e), o = Ye(`__cookie:${e}`, a.get(t, n));
955
- return W.run(() => {
956
- L(o, (e) => {
969
+ var Ze = () => y.get("__ui:cookie-ref__", () => ({}));
970
+ function Qe(e, t, n) {
971
+ let r = Ze();
972
+ if (e in r) return r[e];
973
+ let a = new i(e), o = Xe(`__cookie:${e}`, a.get(t, n));
974
+ return q.run(() => {
975
+ B(o, (e) => {
957
976
  a.set(e, n);
958
977
  });
959
- }), i[e] = o, o;
978
+ }), r[e] = o, o;
960
979
  }
961
980
  //#endregion
962
981
  //#region src/composables/ref/useGeoIntlRef.ts
963
- function Qe() {
964
- return new Ne();
982
+ function $e() {
983
+ return new je();
965
984
  }
966
985
  //#endregion
967
986
  //#region src/composables/ref/useHashRef.ts
968
- var $e = () => v.get("__ui:hash-ref__", () => ({}));
969
- function et(e, t) {
970
- let n = $e();
987
+ var et = () => y.get("__ui:hash-ref__", () => ({}));
988
+ function tt(e, t) {
989
+ let n = et();
971
990
  if (e in n) return n[e];
972
- let r = I(f.get(e, t));
973
- return D() && (W.run(() => {
974
- L(r, (t) => f.set(e, t));
975
- }), f.addWatch(e, (e) => {
991
+ let r = z(p.get(e, t));
992
+ return k() && (q.run(() => {
993
+ B(r, (t) => p.set(e, t));
994
+ }), p.addWatch(e, (e) => {
976
995
  r.value = e;
977
996
  })), n[e] = r, r;
978
997
  }
979
998
  //#endregion
980
999
  //#region src/composables/ref/useLazyRef.ts
981
- var tt = (e = { rootMargin: "128px 0px" }) => {
982
- let t = {}, n = D() && "IntersectionObserver" in window ? new IntersectionObserver((e) => {
1000
+ var nt = (e = { rootMargin: "128px 0px" }) => {
1001
+ let t = {}, n = k() && "IntersectionObserver" in window ? new IntersectionObserver((e) => {
983
1002
  e.forEach((e) => {
984
- let n = w(e.target);
1003
+ let n = T(e.target);
985
1004
  if (n in t) {
986
1005
  let r = t[n];
987
1006
  r.status.value = e.isIntersecting, r.ratio.value = e.intersectionRatio, r.entry.value = e;
@@ -989,7 +1008,7 @@ var tt = (e = { rootMargin: "128px 0px" }) => {
989
1008
  });
990
1009
  }, e) : void 0, r = (e) => {
991
1010
  if (e) {
992
- let i = w(e);
1011
+ let i = T(e);
993
1012
  if (i in t) {
994
1013
  var r;
995
1014
  n == null || n.unobserve(e), (r = t[i]) == null || r.stopWatch(), delete t[i];
@@ -999,19 +1018,19 @@ var tt = (e = { rootMargin: "128px 0px" }) => {
999
1018
  return {
1000
1019
  intersectionObserver: n,
1001
1020
  getItem(e) {
1002
- return t[w(e)];
1021
+ return t[T(e)];
1003
1022
  },
1004
1023
  addLazyItem(e) {
1005
- let i = I(!n);
1024
+ let i = z(!n);
1006
1025
  if (n) {
1007
1026
  let a;
1008
- a = L(e, (o, s) => {
1027
+ a = B(e, (o, s) => {
1009
1028
  if (s && r(s), e.value) {
1010
- let r = w(e.value);
1029
+ let r = T(e.value);
1011
1030
  t[r] = {
1012
1031
  status: i,
1013
- ratio: I(0),
1014
- entry: I(void 0),
1032
+ ratio: z(0),
1033
+ entry: z(void 0),
1015
1034
  stopWatch: () => a == null ? void 0 : a()
1016
1035
  }, n.observe(e.value);
1017
1036
  } else r(e.value);
@@ -1022,16 +1041,16 @@ var tt = (e = { rootMargin: "128px 0px" }) => {
1022
1041
  removeLazyItem: r,
1023
1042
  disconnectLazy: () => n == null ? void 0 : n.disconnect()
1024
1043
  };
1025
- }, nt = () => v.get("__ui:lazy-item-by-margin-ref__", () => []), rt = (e) => {
1026
- let t = nt(), n = t.find((t) => t.rootMargin === e);
1044
+ }, rt = () => y.get("__ui:lazy-item-by-margin-ref__", () => []), it = (e) => {
1045
+ let t = rt(), n = t.find((t) => t.rootMargin === e);
1027
1046
  if (n) return n.item;
1028
- let r = tt({ rootMargin: e });
1047
+ let r = nt({ rootMargin: e });
1029
1048
  return t.push({
1030
1049
  rootMargin: e,
1031
1050
  item: r
1032
1051
  }), r;
1033
- }, it = (e, t) => {
1034
- let n = rt(t);
1052
+ }, at = (e, t) => {
1053
+ let n = it(t);
1035
1054
  return {
1036
1055
  lazyItemStatus: n.addLazyItem(e),
1037
1056
  get lazyItem() {
@@ -1041,19 +1060,19 @@ var tt = (e = { rootMargin: "128px 0px" }) => {
1041
1060
  };
1042
1061
  //#endregion
1043
1062
  //#region src/composables/ref/useLoadingRef.ts
1044
- function at() {
1045
- let e = I(m.is());
1046
- return D() && m.registrationEvent(({ detail: t }) => {
1063
+ function ot() {
1064
+ let e = z(h.is());
1065
+ return k() && h.registrationEvent(({ detail: t }) => {
1047
1066
  e.value = t.loading;
1048
1067
  }), e;
1049
1068
  }
1050
1069
  //#endregion
1051
1070
  //#region src/functions/executeUse.ts
1052
- var Q = /* @__PURE__ */ function(e) {
1071
+ var st = /* @__PURE__ */ function(e) {
1053
1072
  return e.global = "global", e.provide = "provide", e.local = "local", e;
1054
- }({}), ot = 1, st = ne(1e5, 999999), ct = () => `__execute_use${st}::${ot++}`, lt = () => v.get("__ui:execute-use-global__", () => []);
1055
- function $(e, t = Q.provide) {
1056
- let n = ct(), r, i = (t) => {
1073
+ }({}), ct = 1, lt = ee(1e5, 999999), ut = () => `__execute_use${lt}::${ct++}`, dt = () => y.get("__ui:execute-use-global__", () => []);
1074
+ function $(e, t = "provide") {
1075
+ let n = ut(), r, i = (t) => {
1057
1076
  let n = Object.freeze(e(...t));
1058
1077
  return {
1059
1078
  ...n,
@@ -1063,7 +1082,7 @@ function $(e, t = Q.provide) {
1063
1082
  };
1064
1083
  }, a = (e) => {
1065
1084
  let t = Object.freeze(i(e));
1066
- return pe(n, t), t;
1085
+ return de(n, t), t;
1067
1086
  }, o = (e) => {
1068
1087
  let t = i(e);
1069
1088
  return Object.freeze({
@@ -1072,27 +1091,27 @@ function $(e, t = Q.provide) {
1072
1091
  r = void 0;
1073
1092
  }
1074
1093
  });
1075
- }, s = (...e) => t === Q.provide ? ue(n, void 0) || a(e) : (r || W.run(() => {
1094
+ }, s = (...e) => t === "provide" ? ce(n, void 0) || a(e) : (r || q.run(() => {
1076
1095
  r = o(e);
1077
1096
  }), r);
1078
- return t === Q.global && lt().push(s), s;
1097
+ return t === "global" && dt().push(s), s;
1079
1098
  }
1080
- function ut(e) {
1081
- return $(e, Q.global);
1099
+ function ft(e) {
1100
+ return $(e, "global");
1082
1101
  }
1083
- function dt(e) {
1084
- return $(e, Q.provide);
1102
+ function pt(e) {
1103
+ return $(e, "provide");
1085
1104
  }
1086
- function ft(e) {
1087
- return $(e, Q.local);
1105
+ function mt(e) {
1106
+ return $(e, "local");
1088
1107
  }
1089
- function pt() {
1090
- lt().forEach((e) => e());
1108
+ function ht() {
1109
+ dt().forEach((e) => e());
1091
1110
  }
1092
1111
  //#endregion
1093
1112
  //#region src/composables/ref/useMeta.ts
1094
- var mt = ft(() => {
1095
- let e = h, t = F(e.getTitle()), n = F(e.getKeywords()), r = F(e.getDescription()), i = F(e.getImage()), a = F(e.getCanonical()), o = F(e.getRobots()), s = F(e.getAuthor()), c = F(e.getSiteName()), l = () => e.html(), u = (e) => {
1113
+ var gt = mt(() => {
1114
+ 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) => {
1096
1115
  t.value = e, x();
1097
1116
  }, d = (e) => {
1098
1117
  n.value = e, x();
@@ -1102,7 +1121,7 @@ var mt = ft(() => {
1102
1121
  i.value = e, x();
1103
1122
  }, m = (e) => {
1104
1123
  a.value = e, x();
1105
- }, g = (e) => {
1124
+ }, h = (e) => {
1106
1125
  o.value = e, x();
1107
1126
  }, _ = (e) => {
1108
1127
  s.value = e, x();
@@ -1113,9 +1132,9 @@ var mt = ft(() => {
1113
1132
  }, b = () => {
1114
1133
  e.setTitle(t.value), e.setKeywords(n.value), e.setDescription(r.value), e.setImage(i.value), e.setCanonical(a.value), e.setRobots(o.value), e.setAuthor(s.value), e.setSiteName(c.value);
1115
1134
  }, x = () => {
1116
- D() || b();
1135
+ k() || b();
1117
1136
  };
1118
- return L([
1137
+ return B([
1119
1138
  t,
1120
1139
  n,
1121
1140
  r,
@@ -1144,26 +1163,26 @@ var mt = ft(() => {
1144
1163
  setAuthor: _,
1145
1164
  setImage: p,
1146
1165
  setCanonical: m,
1147
- setRobots: g,
1166
+ setRobots: h,
1148
1167
  setSiteName: v,
1149
1168
  setSuffix: (t) => e.setSuffix(t)
1150
1169
  };
1151
- }), ht = () => mt(), gt = (e, t, n = !0) => {
1170
+ }), _t = () => gt(), vt = (e, t, n = !0) => {
1152
1171
  var r;
1153
- let i = P(t) ? t : F(t || ((r = e.value) == null || (r = r[0]) == null ? void 0 : r.value) || ""), a = () => o(i.value), o = (t) => {
1172
+ 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) => {
1154
1173
  var n;
1155
1174
  return (n = e.value) == null ? void 0 : n.find((e) => e.value === t);
1156
1175
  }, s = (e) => {
1157
- e && e !== i.value && o(e) && (i.value = e, q.push({ name: e }));
1176
+ e && e !== i.value && o(e) && (i.value = e, X.push({ name: e }));
1158
1177
  };
1159
1178
  return {
1160
- item: N(() => a()),
1179
+ item: I(() => a()),
1161
1180
  selected: i,
1162
- label: N(() => {
1181
+ label: I(() => {
1163
1182
  var e;
1164
1183
  return ((e = a()) == null ? void 0 : e.label) || "";
1165
1184
  }),
1166
- list: N(() => e.value ? S(e.value, (e) => n && !("to" in e) ? {
1185
+ list: I(() => e.value ? C(e.value, (e) => n && !("to" in e) ? {
1167
1186
  ...e,
1168
1187
  to: { name: e.value }
1169
1188
  } : e) : []),
@@ -1173,36 +1192,36 @@ var mt = ft(() => {
1173
1192
  s((t = e.value) == null || (t = t[0]) == null ? void 0 : t.value);
1174
1193
  }
1175
1194
  };
1176
- }, _t = () => v.get("__ui:session-ref__", () => ({}));
1177
- function vt(e, t) {
1178
- let n = _t();
1195
+ }, yt = () => y.get("__ui:session-ref__", () => ({}));
1196
+ function bt(e, t) {
1197
+ let n = yt();
1179
1198
  if (e in n) return n[e];
1180
- let r = new i(e, !0), a = F(r.get(t));
1181
- return W.run(() => {
1182
- L(a, (e) => r.set(e));
1183
- }), n[e] = a, a;
1199
+ let r = new a(e, !0), i = R(r.get(t));
1200
+ return q.run(() => {
1201
+ B(i, (e) => r.set(e));
1202
+ }), n[e] = i, i;
1184
1203
  }
1185
1204
  //#endregion
1186
1205
  //#region src/composables/ref/useStorageRef.ts
1187
- var yt = () => v.get("__ui:storage-ref__", () => ({}));
1188
- function bt(e, t, n) {
1189
- let r = yt();
1206
+ var xt = () => y.get("__ui:storage-ref__", () => ({}));
1207
+ function St(e, t, n) {
1208
+ let r = xt();
1190
1209
  if (e in r) return r[e];
1191
- let a = new i(e), o = F(a.get(t, n));
1192
- return W.run(() => {
1193
- L(o, (e) => a.set(e));
1194
- }), D() && window.addEventListener("storage", () => {
1195
- a.update(), o.value = a.get();
1210
+ let i = new a(e), o = R(i.get(t, n));
1211
+ return q.run(() => {
1212
+ B(o, (e) => i.set(e));
1213
+ }), k() && window.addEventListener("storage", () => {
1214
+ i.update(), o.value = i.get();
1196
1215
  }), r[e] = o, o;
1197
1216
  }
1198
1217
  //#endregion
1199
1218
  //#region src/composables/ref/useTranslateRef.ts
1200
- function xt(e, t = y.getItem()) {
1201
- let n = I(t.getListSync(e, !0)), r = async () => {
1219
+ function Ct(e, t = b.getItem()) {
1220
+ let n = z(t.getListSync(e, !0)), r = async () => {
1202
1221
  n.value = { ...await t.getList(e) };
1203
1222
  };
1204
- if (D()) {
1205
- L(K.getLanguage(), r);
1223
+ if (k()) {
1224
+ B(Y.getLanguage(), r);
1206
1225
  for (let e in n.value) if (n.value[e] === e || n.value[e] === " ") {
1207
1226
  r().then();
1208
1227
  break;
@@ -1210,38 +1229,38 @@ function xt(e, t = y.getItem()) {
1210
1229
  }
1211
1230
  return n;
1212
1231
  }
1213
- var St = (e) => xt(e);
1232
+ var wt = (e) => Ct(e);
1214
1233
  //#endregion
1215
1234
  //#region src/functions/computedAsync.ts
1216
- function Ct(e, t, n, r) {
1217
- let i = I(b(t)), a = !0, o = async () => {
1218
- let t = await x(e);
1235
+ function Tt(e, t, n, r) {
1236
+ let i = z(x(t)), a = !0, o = async () => {
1237
+ let t = await S(e);
1219
1238
  t !== n && (i.value = t);
1220
1239
  }, s = () => {
1221
- a && (a = !1, D() ? ve(o) : o().then());
1240
+ a && (a = !1, k() ? ge(o) : o().then());
1222
1241
  };
1223
- return N(() => (s(), i.value), r);
1242
+ return I(() => (s(), i.value), r);
1224
1243
  }
1225
1244
  //#endregion
1226
1245
  //#region src/functions/computedByLanguage.ts
1227
- function wt(e, t = () => void 0, n, r) {
1228
- return N(() => {
1229
- if (K.get().value && (n === void 0 || n())) {
1246
+ function Et(e, t = () => void 0, n, r) {
1247
+ return I(() => {
1248
+ if (Y.get().value && (n === void 0 || n())) {
1230
1249
  let t = e();
1231
1250
  if (t !== void 0) return t;
1232
1251
  }
1233
- return b(t);
1252
+ return x(t);
1234
1253
  }, r);
1235
1254
  }
1236
1255
  //#endregion
1237
1256
  //#region src/functions/computedEternity.ts
1238
- function Tt(e, t) {
1239
- return ae((n, r) => {
1240
- let i = I(b(t)), a = !1, o = async () => {
1241
- i.value = await x(e), r();
1257
+ function Dt(e, t) {
1258
+ return re((n, r) => {
1259
+ let i = z(x(t)), a = !1, o = async () => {
1260
+ i.value = await S(e), r();
1242
1261
  }, s = () => {
1243
- a || (a = !0, D() ? W.run(() => {
1244
- ve(async () => await o());
1262
+ a || (a = !0, k() ? q.run(() => {
1263
+ ge(async () => await o());
1245
1264
  }) : o().then());
1246
1265
  };
1247
1266
  return {
@@ -1256,37 +1275,37 @@ function Tt(e, t) {
1256
1275
  }
1257
1276
  //#endregion
1258
1277
  //#region src/functions/dxtFunctionalPlugin.ts
1259
- var Et = { install(t, n = {}) {
1260
- if (n.api && e.setConfig(n.api), n.translate && y.setConfig(n.translate), n.icons && p.setConfig(n.icons), n.metaSuffix && ht().setSuffix(n.metaSuffix), n.router) q.set(n.router);
1278
+ var Ot = { install(t, n = {}) {
1279
+ if (n.api && e.setConfig(n.api), n.translate && b.setConfig(n.translate), n.icons && m.setConfig(n.icons), n.metaSuffix && _t().setSuffix(n.metaSuffix), n.router) X.set(n.router);
1261
1280
  else {
1262
1281
  let e = t.config.globalProperties.$router;
1263
- e && q.set(e);
1282
+ e && X.set(e);
1264
1283
  }
1265
- n.errorCauses && o.addList(n.errorCauses), pt();
1284
+ n.errorCauses && s.addList(n.errorCauses), ht();
1266
1285
  } };
1267
1286
  //#endregion
1268
1287
  //#region src/functions/getInject.ts
1269
- function Dt(e) {
1270
- if (le()) {
1271
- let t = ue(e);
1288
+ function kt(e) {
1289
+ if (se()) {
1290
+ let t = ce(e);
1272
1291
  if (t) return t;
1273
1292
  }
1274
1293
  }
1275
1294
  //#endregion
1276
1295
  //#region src/functions/render/getBind.ts
1277
- function Ot(e, t = {}, n = "value", r = !1) {
1296
+ function At(e, t = {}, n = "value", r = !1) {
1278
1297
  let i = typeof t == "string", a = i ? t : n, o = i ? {} : t;
1279
- return e ? e && k(e) && (a in e || r) ? V(o, e) : V(o, { [a]: e }) : i ? {} : { ...o };
1298
+ return e ? e && M(e) && (a in e || r) ? W(o, e) : W(o, { [a]: e }) : i ? {} : { ...o };
1280
1299
  }
1281
1300
  //#endregion
1282
1301
  //#region src/functions/ref/getBindRef.ts
1283
- function kt(e, t = {}, n = "value") {
1284
- return N(() => Ot(B(e), B(t), n));
1302
+ function jt(e, t = {}, n = "value") {
1303
+ return I(() => At(U(e), U(t), n));
1285
1304
  }
1286
1305
  //#endregion
1287
1306
  //#region src/functions/ref/setRef.ts
1288
- function At(e, t) {
1307
+ function Mt(e, t) {
1289
1308
  e.value !== t && (e.value = t);
1290
1309
  }
1291
1310
  //#endregion
1292
- export { Ae as DatetimeRef, Se as DesignAbstract, Ce as DesignAsyncAbstract, xe as DesignChanged, Oe as DesignComp, H as DesignComponents, ke as DesignConstructorAbstract, W as EffectScopeGlobal, je as EventRef, Q as ExecuteUseType, Me as GeoFlagRef, Ne as GeoIntlRef, K as GeoRef, Pe as ListDataRef, q as RouterItemRef, Ie as ScrollbarWidthRef, Ct as computedAsync, wt as computedByLanguage, Tt as computedEternity, Et as dxtFunctionalPlugin, $ as executeUse, ut as executeUseGlobal, pt as executeUseGlobalInit, ft as executeUseLocal, dt as executeUseProvide, Ot as getBind, kt as getBindRef, we as getClassName, Te as getIndexForRender, Dt as getInject, J as getOptions, B as getRef, Ee as render, Le as setApiRefGlobalConditions, At as setRef, St as t, V as toBind, De as toBinds, U as toRefItem, Re as useApiAsyncRef, ze as useApiDelete, Be as useApiGet, qe as useApiManagementAsyncRef, Ke as useApiManagementRef, Ve as useApiPost, He as useApiPut, X as useApiRef, Z as useApiRequest, Ye as useBroadcastValueRef, Ze as useCookieRef, Ue as useFormattersRef, Qe as useGeoIntlRef, et as useHashRef, it as useLazyItemByMarginRef, tt as useLazyRef, at as useLoadingRef, ht as useMeta, gt as useRouterList, Ge as useSearchRef, We as useSearchValueRef, vt as useSessionRef, bt as useStorageRef, xt as useTranslateRef };
1311
+ export { Oe as DatetimeRef, be as DesignAbstract, xe as DesignAsyncAbstract, ye as DesignChanged, Ee as DesignComp, G as DesignComponents, De as DesignConstructorAbstract, q as EffectScopeGlobal, ke as EventRef, st as ExecuteUseType, Ae as GeoFlagRef, je as GeoIntlRef, Y as GeoRef, Me as ListDataRef, X as RouterItemRef, Pe as ScrollbarWidthRef, Tt as computedAsync, Et as computedByLanguage, Dt as computedEternity, Ot as dxtFunctionalPlugin, $ as executeUse, ft as executeUseGlobal, ht as executeUseGlobalInit, mt as executeUseLocal, pt as executeUseProvide, Fe as getApiErrorRef, At as getBind, jt as getBindRef, Se as getClassName, Ce as getIndexForRender, kt as getInject, Ie as getOptions, U as getRef, we as render, Re as setApiRefGlobalConditions, Mt as setRef, wt as t, W as toBind, Te 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, vt as useRouterList, Ke as useSearchRef, Ge as useSearchValueRef, bt as useSessionRef, St as useStorageRef, Ct as useTranslateRef };