@dxtmisha/functional 1.11.11 → 1.11.13

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
  }
@@ -636,10 +636,10 @@ var Ne = class {
636
636
  return t.parent === e && this.isItem(t);
637
637
  }
638
638
  getIndex(e, t, n, r) {
639
- return e && !O(e) ? e : t && !O(t) ? t : n && r;
639
+ return e && !j(e) ? e : t && !j(t) ? t : n && r;
640
640
  }
641
641
  initItem(e, t) {
642
- if (k(t)) {
642
+ if (M(t)) {
643
643
  var n, r, i, a, o, s;
644
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);
645
645
  return {
@@ -659,9 +659,9 @@ var Ne = class {
659
659
  value: e
660
660
  };
661
661
  }
662
- }, Fe = "__ui:router-item-ref__", q = class {
662
+ }, Ne = "__ui:router-item-ref__", X = class {
663
663
  static get() {
664
- return v.get(Fe);
664
+ return y.get(Ne);
665
665
  }
666
666
  static getLink(e, t, n) {
667
667
  var r;
@@ -683,173 +683,188 @@ var Ne = class {
683
683
  t && t.push(e).then();
684
684
  }
685
685
  static set(e) {
686
- v.set(Fe, () => e);
686
+ y.set(Ne, () => e);
687
687
  }
688
688
  static setOneTime(e) {
689
689
  this.get() || this.set(e);
690
690
  }
691
691
  static rawToHref(e) {
692
- 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) : {};
693
693
  }
694
- }, Ie = class {
694
+ }, Pe = class {
695
695
  constructor() {
696
- 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) => {
697
697
  this.item.value = e;
698
- }), g.get().then((e) => {
698
+ }), _.get().then((e) => {
699
699
  this.width.value = e;
700
700
  }));
701
701
  }
702
- }, J = (e) => typeof e == "string" ? { method: e } : e || {}, Y;
703
- function X(t, n, r = !0, i, a, o, s = !0, c = e.getItem()) {
704
- let l = F(), u = U(J(n)), d = F(!1), f = F(!1), p = F(), m, h = !0, g, _ = () => {
705
- let e = B(t);
706
- return !!((!i || i.value) && e);
707
- }, v = () => ({
708
- path: B(t),
709
- ...u.value
710
- }), y = () => {
711
- if (D() && _()) {
712
- let e = c.getResponse().emulatorAsync(v());
713
- 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);
714
724
  }
715
- }, b = async () => {
716
- if (!h) if (m && m.abort(), m = u.value.controller || new AbortController(), _()) {
717
- 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;
718
728
  try {
719
- let e = await c.request({
720
- controller: m,
721
- ...v()
729
+ let e = await u.request({
730
+ controller: g,
731
+ ...b()
722
732
  });
723
- 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);
724
734
  } catch (e) {
725
- l.value = void 0;
735
+ d.value = void 0;
726
736
  }
727
- d.value = !1;
728
- } else l.value !== void 0 && (l.value = void 0);
729
- }, x = () => {
730
- g == null || g(), l.value = void 0, h = !0;
731
- }, S = () => {
732
- if (h) {
733
- if (h = !1, !D()) return;
734
- 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());
735
749
  }
736
750
  };
737
- s && se() && fe(() => x());
738
- let C = () => {
739
- D() || de(async () => {
740
- h = !1, await b();
751
+ l && ae() && ue(() => C());
752
+ let T = () => {
753
+ k() || le(async () => {
754
+ _ = !1, await S();
741
755
  });
742
- }, w = () => {
756
+ }, E = () => {
743
757
  let e = [];
744
- r && e.push(u), P(t) && e.push(t), i && e.push(i), Y && e.push(Y), e.length > 0 && (g = L(e, async () => {
745
- 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();
746
760
  }));
747
- }, 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);
748
762
  return {
749
- data: T,
763
+ data: D,
750
764
  get item() {
751
- return S(), l;
765
+ return w(), d;
752
766
  },
753
- isResponseContractValid: N(() => {
767
+ errorItem: O,
768
+ isResponseContractValid: I(() => {
754
769
  var e;
755
- return ((e = p.value) == null ? void 0 : e.status) === "success";
770
+ return ((e = h.value) == null ? void 0 : e.status) === "success";
756
771
  }),
757
- responseValidationResult: N(() => p.value),
758
- length: ee,
759
- starting: E,
760
- loading: d,
761
- reading: f,
772
+ responseValidationResult: I(() => h.value),
773
+ length: A,
774
+ starting: j,
775
+ loading: p,
776
+ reading: m,
762
777
  isStarting() {
763
- return l.value === void 0;
778
+ return d.value === void 0;
764
779
  },
765
780
  isLoading() {
766
- return d.value;
781
+ return p.value;
767
782
  },
768
783
  isReading() {
769
- return f.value;
784
+ return m.value;
770
785
  },
771
786
  getItem() {
772
- return l.value;
787
+ return d.value;
773
788
  },
774
- init: S,
775
- initSsr: C,
776
- reset: b,
777
- stop: x,
778
- 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()
779
794
  };
780
795
  }
781
- var Le = (e) => {
782
- Y || (Y = e);
796
+ var Re = (e) => {
797
+ Z || (Z = e);
783
798
  };
784
799
  //#endregion
785
800
  //#region src/composables/ref/useApiAsyncRef.ts
786
- function Re(t, n, r = !0, i, a, o, s = !0, c = e.getItem()) {
787
- let l = X(t, n, r, i, a, o, s, c);
788
- 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;
789
804
  }
790
805
  //#endregion
791
806
  //#region src/composables/ref/useApiRequest.ts
792
- function Z(n, r = t.post, i, a, o = !0, s, c = e.getItem()) {
793
- let l = F(!1), u = U(J(s));
794
- return {
795
- 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,
796
811
  async send(e) {
797
- l.value = !0;
812
+ d.value = !0;
798
813
  let t;
799
814
  try {
800
- if (t = await c.request({
801
- path: B(n),
802
- method: r,
815
+ if (t = await u.request({
816
+ path: U(r),
817
+ method: i,
803
818
  request: e,
804
- toData: o,
805
- ...u.value
806
- }), t && (a && (t = a(t)), i)) {
807
- let e = i(t);
819
+ toData: c,
820
+ ...f.value
821
+ }), t && (o && (t = o(t)), a)) {
822
+ let e = a(t);
808
823
  e instanceof Promise && await e;
809
824
  }
810
825
  } catch (e) {
811
826
  t = void 0;
812
827
  }
813
- return l.value = !1, t;
828
+ return d.value = !1, t;
814
829
  }
815
830
  };
816
831
  }
817
832
  //#endregion
818
833
  //#region src/composables/ref/useApiDelete.ts
819
- function ze(e, n, r, i = !0, a, o) {
820
- 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);
821
836
  }
822
837
  //#endregion
823
838
  //#region src/composables/ref/useApiGet.ts
824
- function Be(e, n, r, i = !0, a, o) {
825
- 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);
826
841
  }
827
842
  //#endregion
828
843
  //#region src/composables/ref/useApiPost.ts
829
- function Ve(e, n, r, i = !0, a, o) {
830
- 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);
831
846
  }
832
847
  //#endregion
833
848
  //#region src/composables/ref/useApiPut.ts
834
- function He(e, n, r, i = !0, a, o) {
835
- 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);
836
851
  }
837
852
  //#endregion
838
853
  //#region src/composables/ref/useFormattersRef.ts
839
- function Ue(e, t) {
840
- let n = new c(t);
854
+ function We(e, t) {
855
+ let n = new l(t);
841
856
  return {
842
- listFormat: N(() => n.setList(e.value).to()),
843
- length: N(() => n.setList(e.value).length())
857
+ listFormat: I(() => n.setList(e.value).to()),
858
+ length: I(() => n.setList(e.value).length())
844
859
  };
845
860
  }
846
861
  //#endregion
847
862
  //#region src/composables/ref/useSearchValueRef.ts
848
- function We(e, t) {
849
- let n = t == null ? F("") : t, r = F(n.value), i = F(!1), a;
850
- 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) => {
851
866
  let c = e.getOptions().getDelay();
852
- c && D() ? (i.value = !0, a = setTimeout(() => {
867
+ c && k() ? (i.value = !0, a = setTimeout(() => {
853
868
  a = void 0, r.value = n.value, i.value = !1;
854
869
  }, c), s(() => {
855
870
  a && clearTimeout(a);
@@ -862,129 +877,130 @@ function We(e, t) {
862
877
  }
863
878
  //#endregion
864
879
  //#region src/composables/ref/useSearchRef.ts
865
- function Ge(e, t, n, r) {
866
- 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());
867
882
  return {
868
883
  isSearch: l,
869
884
  search: a,
870
885
  loading: s,
871
886
  listSearch: u,
872
- length: N(() => u.value.length)
887
+ length: I(() => u.value.length)
873
888
  };
874
889
  }
875
890
  //#endregion
876
891
  //#region src/composables/ref/useApiManagementRef.ts
877
- function Ke(e, t, n, r, i, a, o, s) {
878
- 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);
879
- 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(() => {
880
895
  var e;
881
- 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;
882
897
  if (Array.isArray(t)) return t;
883
898
  }), n.columns, n.value, n.options)), r || i || a) {
884
899
  let e = (e) => {
885
- o == null || o(), ee(e) && C.reset().then();
900
+ o == null || o(), D(e) && w.reset().then();
886
901
  }, t = (t) => async (n) => {
887
- te(t) && await x(t(n)), e(n);
902
+ A(t) && await S(t(n)), e(n);
888
903
  };
889
- 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));
890
905
  }
891
- let E = N(() => {
892
- if (w.value) {
893
- if (v && Array.isArray(C.data.value)) return v.listSearch.value;
894
- 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;
895
910
  }
896
- return T.value;
911
+ return E.value;
897
912
  });
898
913
  return {
899
- isValid: w,
900
- isResponseContractValid: C.isResponseContractValid,
901
- responseValidationResult: C.responseValidationResult,
902
- list: E,
914
+ isValid: T,
915
+ isResponseContractValid: w.isResponseContractValid,
916
+ responseValidationResult: w.responseValidationResult,
917
+ list: O,
903
918
  get data() {
904
- return C.data;
919
+ return w.data;
905
920
  },
921
+ errorItem: w.errorItem,
906
922
  get length() {
907
- return v ? v.length : C.length;
923
+ return y ? y.length : w.length;
908
924
  },
909
- lengthData: C.length,
910
- starting: C.starting,
911
- reading: C.reading,
912
- loading: C.loading,
913
- loadingSearch: v == null ? void 0 : v.loading,
914
- loadingPost: y == null ? void 0 : y.loading,
915
- loadingPut: b == null ? void 0 : b.loading,
916
- loadingDelete: S == null ? void 0 : S.loading,
917
- isSearch: v == null ? void 0 : v.isSearch,
918
- search: v == null ? void 0 : v.search,
919
- init: C.init,
920
- initSsr: C.initSsr,
921
- reset: C.reset,
922
- abort: C.abort,
923
- sendPost: async (e) => await (y == null ? void 0 : y.send(e)),
924
- sendPut: async (e) => await (b == null ? void 0 : b.send(e)),
925
- 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))
926
942
  };
927
943
  }
928
944
  //#endregion
929
945
  //#region src/composables/ref/useApiManagementAsyncRef.ts
930
- function qe(e, t, n, r, i, a, o, s) {
931
- 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);
932
948
  return c.initSsr(), c;
933
949
  }
934
950
  //#endregion
935
951
  //#region src/composables/ref/useBroadcastValueRef.ts
936
- var Je = () => v.get("__ui:broadcast-value-ref__", () => ({}));
937
- function Ye(e, t) {
938
- let r = `broadcast--${e}`, i = Je();
939
- if (r in i) return i[r];
940
- let a = F(b(t));
941
- if (D()) {
942
- 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) => {
943
959
  a.value !== e.data.message && (a.value = e.data.message);
944
960
  });
945
- W.run(() => {
946
- L(a, (t) => e.post({ message: t }));
961
+ q.run(() => {
962
+ B(a, (t) => e.post({ message: t }));
947
963
  });
948
964
  }
949
- return i[r] = a, a;
965
+ return i[n] = a, a;
950
966
  }
951
967
  //#endregion
952
968
  //#region src/composables/ref/useCookieRef.ts
953
- var Xe = () => v.get("__ui:cookie-ref__", () => ({}));
954
- function Ze(e, t, n) {
955
- let i = Xe();
956
- if (e in i) return i[e];
957
- let a = new r(e), o = Ye(`__cookie:${e}`, a.get(t, n));
958
- return W.run(() => {
959
- 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) => {
960
976
  a.set(e, n);
961
977
  });
962
- }), i[e] = o, o;
978
+ }), r[e] = o, o;
963
979
  }
964
980
  //#endregion
965
981
  //#region src/composables/ref/useGeoIntlRef.ts
966
- function Qe() {
967
- return new Ne();
982
+ function $e() {
983
+ return new je();
968
984
  }
969
985
  //#endregion
970
986
  //#region src/composables/ref/useHashRef.ts
971
- var $e = () => v.get("__ui:hash-ref__", () => ({}));
972
- function et(e, t) {
973
- let n = $e();
987
+ var et = () => y.get("__ui:hash-ref__", () => ({}));
988
+ function tt(e, t) {
989
+ let n = et();
974
990
  if (e in n) return n[e];
975
- let r = I(f.get(e, t));
976
- return D() && (W.run(() => {
977
- L(r, (t) => f.set(e, t));
978
- }), 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) => {
979
995
  r.value = e;
980
996
  })), n[e] = r, r;
981
997
  }
982
998
  //#endregion
983
999
  //#region src/composables/ref/useLazyRef.ts
984
- var tt = (e = { rootMargin: "128px 0px" }) => {
985
- 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) => {
986
1002
  e.forEach((e) => {
987
- let n = w(e.target);
1003
+ let n = T(e.target);
988
1004
  if (n in t) {
989
1005
  let r = t[n];
990
1006
  r.status.value = e.isIntersecting, r.ratio.value = e.intersectionRatio, r.entry.value = e;
@@ -992,7 +1008,7 @@ var tt = (e = { rootMargin: "128px 0px" }) => {
992
1008
  });
993
1009
  }, e) : void 0, r = (e) => {
994
1010
  if (e) {
995
- let i = w(e);
1011
+ let i = T(e);
996
1012
  if (i in t) {
997
1013
  var r;
998
1014
  n == null || n.unobserve(e), (r = t[i]) == null || r.stopWatch(), delete t[i];
@@ -1002,19 +1018,19 @@ var tt = (e = { rootMargin: "128px 0px" }) => {
1002
1018
  return {
1003
1019
  intersectionObserver: n,
1004
1020
  getItem(e) {
1005
- return t[w(e)];
1021
+ return t[T(e)];
1006
1022
  },
1007
1023
  addLazyItem(e) {
1008
- let i = I(!n);
1024
+ let i = z(!n);
1009
1025
  if (n) {
1010
1026
  let a;
1011
- a = L(e, (o, s) => {
1027
+ a = B(e, (o, s) => {
1012
1028
  if (s && r(s), e.value) {
1013
- let r = w(e.value);
1029
+ let r = T(e.value);
1014
1030
  t[r] = {
1015
1031
  status: i,
1016
- ratio: I(0),
1017
- entry: I(void 0),
1032
+ ratio: z(0),
1033
+ entry: z(void 0),
1018
1034
  stopWatch: () => a == null ? void 0 : a()
1019
1035
  }, n.observe(e.value);
1020
1036
  } else r(e.value);
@@ -1025,16 +1041,16 @@ var tt = (e = { rootMargin: "128px 0px" }) => {
1025
1041
  removeLazyItem: r,
1026
1042
  disconnectLazy: () => n == null ? void 0 : n.disconnect()
1027
1043
  };
1028
- }, nt = () => v.get("__ui:lazy-item-by-margin-ref__", () => []), rt = (e) => {
1029
- 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);
1030
1046
  if (n) return n.item;
1031
- let r = tt({ rootMargin: e });
1047
+ let r = nt({ rootMargin: e });
1032
1048
  return t.push({
1033
1049
  rootMargin: e,
1034
1050
  item: r
1035
1051
  }), r;
1036
- }, it = (e, t) => {
1037
- let n = rt(t);
1052
+ }, at = (e, t) => {
1053
+ let n = it(t);
1038
1054
  return {
1039
1055
  lazyItemStatus: n.addLazyItem(e),
1040
1056
  get lazyItem() {
@@ -1044,19 +1060,19 @@ var tt = (e = { rootMargin: "128px 0px" }) => {
1044
1060
  };
1045
1061
  //#endregion
1046
1062
  //#region src/composables/ref/useLoadingRef.ts
1047
- function at() {
1048
- let e = I(m.is());
1049
- return D() && m.registrationEvent(({ detail: t }) => {
1063
+ function ot() {
1064
+ let e = z(h.is());
1065
+ return k() && h.registrationEvent(({ detail: t }) => {
1050
1066
  e.value = t.loading;
1051
1067
  }), e;
1052
1068
  }
1053
1069
  //#endregion
1054
1070
  //#region src/functions/executeUse.ts
1055
- var Q = /* @__PURE__ */ function(e) {
1071
+ var st = /* @__PURE__ */ function(e) {
1056
1072
  return e.global = "global", e.provide = "provide", e.local = "local", e;
1057
- }({}), ot = 1, st = ne(1e5, 999999), ct = () => `__execute_use${st}::${ot++}`, lt = () => v.get("__ui:execute-use-global__", () => []);
1058
- function $(e, t = Q.provide) {
1059
- 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) => {
1060
1076
  let n = Object.freeze(e(...t));
1061
1077
  return {
1062
1078
  ...n,
@@ -1066,7 +1082,7 @@ function $(e, t = Q.provide) {
1066
1082
  };
1067
1083
  }, a = (e) => {
1068
1084
  let t = Object.freeze(i(e));
1069
- return pe(n, t), t;
1085
+ return de(n, t), t;
1070
1086
  }, o = (e) => {
1071
1087
  let t = i(e);
1072
1088
  return Object.freeze({
@@ -1075,27 +1091,27 @@ function $(e, t = Q.provide) {
1075
1091
  r = void 0;
1076
1092
  }
1077
1093
  });
1078
- }, 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(() => {
1079
1095
  r = o(e);
1080
1096
  }), r);
1081
- return t === Q.global && lt().push(s), s;
1097
+ return t === "global" && dt().push(s), s;
1082
1098
  }
1083
- function ut(e) {
1084
- return $(e, Q.global);
1099
+ function ft(e) {
1100
+ return $(e, "global");
1085
1101
  }
1086
- function dt(e) {
1087
- return $(e, Q.provide);
1102
+ function pt(e) {
1103
+ return $(e, "provide");
1088
1104
  }
1089
- function ft(e) {
1090
- return $(e, Q.local);
1105
+ function mt(e) {
1106
+ return $(e, "local");
1091
1107
  }
1092
- function pt() {
1093
- lt().forEach((e) => e());
1108
+ function ht() {
1109
+ dt().forEach((e) => e());
1094
1110
  }
1095
1111
  //#endregion
1096
1112
  //#region src/composables/ref/useMeta.ts
1097
- var mt = ft(() => {
1098
- 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) => {
1099
1115
  t.value = e, x();
1100
1116
  }, d = (e) => {
1101
1117
  n.value = e, x();
@@ -1105,7 +1121,7 @@ var mt = ft(() => {
1105
1121
  i.value = e, x();
1106
1122
  }, m = (e) => {
1107
1123
  a.value = e, x();
1108
- }, g = (e) => {
1124
+ }, h = (e) => {
1109
1125
  o.value = e, x();
1110
1126
  }, _ = (e) => {
1111
1127
  s.value = e, x();
@@ -1116,9 +1132,9 @@ var mt = ft(() => {
1116
1132
  }, b = () => {
1117
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);
1118
1134
  }, x = () => {
1119
- D() || b();
1135
+ k() || b();
1120
1136
  };
1121
- return L([
1137
+ return B([
1122
1138
  t,
1123
1139
  n,
1124
1140
  r,
@@ -1147,26 +1163,26 @@ var mt = ft(() => {
1147
1163
  setAuthor: _,
1148
1164
  setImage: p,
1149
1165
  setCanonical: m,
1150
- setRobots: g,
1166
+ setRobots: h,
1151
1167
  setSiteName: v,
1152
1168
  setSuffix: (t) => e.setSuffix(t)
1153
1169
  };
1154
- }), ht = () => mt(), gt = (e, t, n = !0) => {
1170
+ }), _t = () => gt(), vt = (e, t, n = !0) => {
1155
1171
  var r;
1156
- 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) => {
1157
1173
  var n;
1158
1174
  return (n = e.value) == null ? void 0 : n.find((e) => e.value === t);
1159
1175
  }, s = (e) => {
1160
- 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 }));
1161
1177
  };
1162
1178
  return {
1163
- item: N(() => a()),
1179
+ item: I(() => a()),
1164
1180
  selected: i,
1165
- label: N(() => {
1181
+ label: I(() => {
1166
1182
  var e;
1167
1183
  return ((e = a()) == null ? void 0 : e.label) || "";
1168
1184
  }),
1169
- 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) ? {
1170
1186
  ...e,
1171
1187
  to: { name: e.value }
1172
1188
  } : e) : []),
@@ -1176,36 +1192,36 @@ var mt = ft(() => {
1176
1192
  s((t = e.value) == null || (t = t[0]) == null ? void 0 : t.value);
1177
1193
  }
1178
1194
  };
1179
- }, _t = () => v.get("__ui:session-ref__", () => ({}));
1180
- function vt(e, t) {
1181
- let n = _t();
1195
+ }, yt = () => y.get("__ui:session-ref__", () => ({}));
1196
+ function bt(e, t) {
1197
+ let n = yt();
1182
1198
  if (e in n) return n[e];
1183
- let r = new i(e, !0), a = F(r.get(t));
1184
- return W.run(() => {
1185
- L(a, (e) => r.set(e));
1186
- }), 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;
1187
1203
  }
1188
1204
  //#endregion
1189
1205
  //#region src/composables/ref/useStorageRef.ts
1190
- var yt = () => v.get("__ui:storage-ref__", () => ({}));
1191
- function bt(e, t, n) {
1192
- let r = yt();
1206
+ var xt = () => y.get("__ui:storage-ref__", () => ({}));
1207
+ function St(e, t, n) {
1208
+ let r = xt();
1193
1209
  if (e in r) return r[e];
1194
- let a = new i(e), o = F(a.get(t, n));
1195
- return W.run(() => {
1196
- L(o, (e) => a.set(e));
1197
- }), D() && window.addEventListener("storage", () => {
1198
- 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();
1199
1215
  }), r[e] = o, o;
1200
1216
  }
1201
1217
  //#endregion
1202
1218
  //#region src/composables/ref/useTranslateRef.ts
1203
- function xt(e, t = y.getItem()) {
1204
- 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 () => {
1205
1221
  n.value = { ...await t.getList(e) };
1206
1222
  };
1207
- if (D()) {
1208
- L(K.getLanguage(), r);
1223
+ if (k()) {
1224
+ B(Y.getLanguage(), r);
1209
1225
  for (let e in n.value) if (n.value[e] === e || n.value[e] === " ") {
1210
1226
  r().then();
1211
1227
  break;
@@ -1213,38 +1229,38 @@ function xt(e, t = y.getItem()) {
1213
1229
  }
1214
1230
  return n;
1215
1231
  }
1216
- var St = (e) => xt(e);
1232
+ var wt = (e) => Ct(e);
1217
1233
  //#endregion
1218
1234
  //#region src/functions/computedAsync.ts
1219
- function Ct(e, t, n, r) {
1220
- let i = I(b(t)), a = !0, o = async () => {
1221
- 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);
1222
1238
  t !== n && (i.value = t);
1223
1239
  }, s = () => {
1224
- a && (a = !1, D() ? ve(o) : o().then());
1240
+ a && (a = !1, k() ? ge(o) : o().then());
1225
1241
  };
1226
- return N(() => (s(), i.value), r);
1242
+ return I(() => (s(), i.value), r);
1227
1243
  }
1228
1244
  //#endregion
1229
1245
  //#region src/functions/computedByLanguage.ts
1230
- function wt(e, t = () => void 0, n, r) {
1231
- return N(() => {
1232
- 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())) {
1233
1249
  let t = e();
1234
1250
  if (t !== void 0) return t;
1235
1251
  }
1236
- return b(t);
1252
+ return x(t);
1237
1253
  }, r);
1238
1254
  }
1239
1255
  //#endregion
1240
1256
  //#region src/functions/computedEternity.ts
1241
- function Tt(e, t) {
1242
- return ae((n, r) => {
1243
- let i = I(b(t)), a = !1, o = async () => {
1244
- 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();
1245
1261
  }, s = () => {
1246
- a || (a = !0, D() ? W.run(() => {
1247
- ve(async () => await o());
1262
+ a || (a = !0, k() ? q.run(() => {
1263
+ ge(async () => await o());
1248
1264
  }) : o().then());
1249
1265
  };
1250
1266
  return {
@@ -1259,37 +1275,37 @@ function Tt(e, t) {
1259
1275
  }
1260
1276
  //#endregion
1261
1277
  //#region src/functions/dxtFunctionalPlugin.ts
1262
- var Et = { install(t, n = {}) {
1263
- 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);
1264
1280
  else {
1265
1281
  let e = t.config.globalProperties.$router;
1266
- e && q.set(e);
1282
+ e && X.set(e);
1267
1283
  }
1268
- n.errorCauses && o.addList(n.errorCauses), pt();
1284
+ n.errorCauses && s.addList(n.errorCauses), n.errorHandlers && s.addHandlerList(n.errorHandlers), ht();
1269
1285
  } };
1270
1286
  //#endregion
1271
1287
  //#region src/functions/getInject.ts
1272
- function Dt(e) {
1273
- if (le()) {
1274
- let t = ue(e);
1288
+ function kt(e) {
1289
+ if (se()) {
1290
+ let t = ce(e);
1275
1291
  if (t) return t;
1276
1292
  }
1277
1293
  }
1278
1294
  //#endregion
1279
1295
  //#region src/functions/render/getBind.ts
1280
- function Ot(e, t = {}, n = "value", r = !1) {
1296
+ function At(e, t = {}, n = "value", r = !1) {
1281
1297
  let i = typeof t == "string", a = i ? t : n, o = i ? {} : t;
1282
- 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 };
1283
1299
  }
1284
1300
  //#endregion
1285
1301
  //#region src/functions/ref/getBindRef.ts
1286
- function kt(e, t = {}, n = "value") {
1287
- return N(() => Ot(B(e), B(t), n));
1302
+ function jt(e, t = {}, n = "value") {
1303
+ return I(() => At(U(e), U(t), n));
1288
1304
  }
1289
1305
  //#endregion
1290
1306
  //#region src/functions/ref/setRef.ts
1291
- function At(e, t) {
1307
+ function Mt(e, t) {
1292
1308
  e.value !== t && (e.value = t);
1293
1309
  }
1294
1310
  //#endregion
1295
- 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 };