@v1nt1248/3nclient-lib 0.3.36 → 0.3.37

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.
@@ -1,63 +1,63 @@
1
- import { $ as e, B as t, Q as n, R as r, T as i, V as a, X as o, Z as s, at as c, ct as l, dt as u, et as d, ft as f, ht as p, it as m, lt as h, mt as g, nt as _, o as v, ot as y, pt as b, rt as x, st as S, t as C, tt as w, ut as T, v as ee, z as E } from "./chunks/plugins-keys-jqAZ5D94.js";
2
- import { a as D, i as O, n as k, r as A, t as j } from "./chunks/ui3n-notification-DPC5Ke4b.js";
1
+ import { $ as e, B as t, Q as n, R as r, T as i, V as a, X as o, Z as s, at as c, ct as l, dt as u, et as d, ft as f, ht as p, it as m, lt as h, mt as g, nt as _, o as v, ot as y, pt as b, rt as x, st as S, t as C, tt as w, ut as T, v as E, z as D } from "./chunks/plugins-keys-jqAZ5D94.js";
2
+ import { a as O, i as k, n as A, r as ee, t as j } from "./chunks/ui3n-notification-DPC5Ke4b.js";
3
3
  import { t as te } from "./chunks/emoticons-DMgiBINj.js";
4
4
  import ne from "sanitize-html";
5
5
  import { autoUpdate as M, computePosition as re, offset as ie } from "@floating-ui/dom";
6
- import { Fragment as N, Teleport as ae, Transition as oe, TransitionGroup as se, computed as P, createBlock as F, createCommentVNode as I, createElementBlock as L, createElementVNode as R, createTextVNode as ce, createVNode as z, defineComponent as B, inject as le, mergeProps as ue, nextTick as de, normalizeClass as V, normalizeStyle as H, onBeforeMount as fe, onBeforeUnmount as pe, onMounted as U, onUnmounted as me, openBlock as W, provide as he, ref as G, renderList as ge, renderSlot as K, resolveDynamicComponent as _e, shallowRef as ve, toDisplayString as q, toHandlers as ye, unref as J, useCssModule as be, useCssVars as xe, useSlots as Se, useTemplateRef as Ce, vModelText as we, watch as Y, withCtx as X, withDirectives as Te, withKeys as Z, withModifiers as Q } from "vue";
7
- import { arrow as Ee, autoUpdate as De, flip as Oe, offset as ke, shift as Ae, useFloating as je } from "@floating-ui/vue";
6
+ import { Fragment as N, Teleport as ae, Transition as oe, TransitionGroup as se, computed as P, createBlock as F, createCommentVNode as I, createElementBlock as L, createElementVNode as R, createTextVNode as ce, createVNode as z, defineComponent as B, inject as le, mergeProps as ue, nextTick as de, normalizeClass as V, normalizeStyle as H, onBeforeMount as fe, onBeforeUnmount as pe, onMounted as U, onUnmounted as me, openBlock as W, provide as he, ref as G, renderList as K, renderSlot as q, resolveDynamicComponent as ge, shallowRef as _e, toDisplayString as J, toHandlers as ve, unref as Y, useCssModule as ye, useCssVars as be, useSlots as xe, useTemplateRef as Se, vModelText as Ce, watch as X, withCtx as Z, withDirectives as we, withKeys as Q, withModifiers as $ } from "vue";
7
+ import { arrow as Te, autoUpdate as Ee, flip as De, offset as Oe, shift as ke, useFloating as Ae } from "@floating-ui/vue";
8
8
  //#region node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_arrayMap.js
9
- var Me = /* @__PURE__ */ g(((e, t) => {
9
+ var je = /* @__PURE__ */ g(((e, t) => {
10
10
  function n(e, t) {
11
11
  for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
12
12
  return i;
13
13
  }
14
14
  t.exports = n;
15
- })), Ne = /* @__PURE__ */ g(((e, t) => {
15
+ })), Me = /* @__PURE__ */ g(((e, t) => {
16
16
  function n() {
17
17
  this.__data__ = [], this.size = 0;
18
18
  }
19
19
  t.exports = n;
20
- })), Pe = /* @__PURE__ */ g(((e, t) => {
20
+ })), Ne = /* @__PURE__ */ g(((e, t) => {
21
21
  function n(e, t) {
22
22
  return e === t || e !== e && t !== t;
23
23
  }
24
24
  t.exports = n;
25
- })), Fe = /* @__PURE__ */ g(((e, t) => {
26
- var n = Pe();
25
+ })), Pe = /* @__PURE__ */ g(((e, t) => {
26
+ var n = Ne();
27
27
  function r(e, t) {
28
28
  for (var r = e.length; r--;) if (n(e[r][0], t)) return r;
29
29
  return -1;
30
30
  }
31
31
  t.exports = r;
32
- })), Ie = /* @__PURE__ */ g(((e, t) => {
33
- var n = Fe(), r = Array.prototype.splice;
32
+ })), Fe = /* @__PURE__ */ g(((e, t) => {
33
+ var n = Pe(), r = Array.prototype.splice;
34
34
  function i(e) {
35
35
  var t = this.__data__, i = n(t, e);
36
36
  return i < 0 ? !1 : (i == t.length - 1 ? t.pop() : r.call(t, i, 1), --this.size, !0);
37
37
  }
38
38
  t.exports = i;
39
- })), Le = /* @__PURE__ */ g(((e, t) => {
40
- var n = Fe();
39
+ })), Ie = /* @__PURE__ */ g(((e, t) => {
40
+ var n = Pe();
41
41
  function r(e) {
42
42
  var t = this.__data__, r = n(t, e);
43
43
  return r < 0 ? void 0 : t[r][1];
44
44
  }
45
45
  t.exports = r;
46
- })), Re = /* @__PURE__ */ g(((e, t) => {
47
- var n = Fe();
46
+ })), Le = /* @__PURE__ */ g(((e, t) => {
47
+ var n = Pe();
48
48
  function r(e) {
49
49
  return n(this.__data__, e) > -1;
50
50
  }
51
51
  t.exports = r;
52
- })), ze = /* @__PURE__ */ g(((e, t) => {
53
- var n = Fe();
52
+ })), Re = /* @__PURE__ */ g(((e, t) => {
53
+ var n = Pe();
54
54
  function r(e, t) {
55
55
  var r = this.__data__, i = n(r, e);
56
56
  return i < 0 ? (++this.size, r.push([e, t])) : r[i][1] = t, this;
57
57
  }
58
58
  t.exports = r;
59
- })), Be = /* @__PURE__ */ g(((e, t) => {
60
- var n = Ne(), r = Ie(), i = Le(), a = Re(), o = ze();
59
+ })), ze = /* @__PURE__ */ g(((e, t) => {
60
+ var n = Me(), r = Fe(), i = Ie(), a = Le(), o = Re();
61
61
  function s(e) {
62
62
  var t = -1, n = e == null ? 0 : e.length;
63
63
  for (this.clear(); ++t < n;) {
@@ -66,44 +66,44 @@ var Me = /* @__PURE__ */ g(((e, t) => {
66
66
  }
67
67
  }
68
68
  s.prototype.clear = n, s.prototype.delete = r, s.prototype.get = i, s.prototype.has = a, s.prototype.set = o, t.exports = s;
69
- })), Ve = /* @__PURE__ */ g(((e, t) => {
70
- var n = Be();
69
+ })), Be = /* @__PURE__ */ g(((e, t) => {
70
+ var n = ze();
71
71
  function r() {
72
72
  this.__data__ = new n(), this.size = 0;
73
73
  }
74
74
  t.exports = r;
75
- })), He = /* @__PURE__ */ g(((e, t) => {
75
+ })), Ve = /* @__PURE__ */ g(((e, t) => {
76
76
  function n(e) {
77
77
  var t = this.__data__, n = t.delete(e);
78
78
  return this.size = t.size, n;
79
79
  }
80
80
  t.exports = n;
81
- })), Ue = /* @__PURE__ */ g(((e, t) => {
81
+ })), He = /* @__PURE__ */ g(((e, t) => {
82
82
  function n(e) {
83
83
  return this.__data__.get(e);
84
84
  }
85
85
  t.exports = n;
86
- })), We = /* @__PURE__ */ g(((e, t) => {
86
+ })), Ue = /* @__PURE__ */ g(((e, t) => {
87
87
  function n(e) {
88
88
  return this.__data__.has(e);
89
89
  }
90
90
  t.exports = n;
91
- })), Ge = /* @__PURE__ */ g(((e, t) => {
91
+ })), We = /* @__PURE__ */ g(((e, t) => {
92
92
  t.exports = h()(Object, "create");
93
- })), Ke = /* @__PURE__ */ g(((e, t) => {
94
- var n = Ge();
93
+ })), Ge = /* @__PURE__ */ g(((e, t) => {
94
+ var n = We();
95
95
  function r() {
96
96
  this.__data__ = n ? n(null) : {}, this.size = 0;
97
97
  }
98
98
  t.exports = r;
99
- })), qe = /* @__PURE__ */ g(((e, t) => {
99
+ })), Ke = /* @__PURE__ */ g(((e, t) => {
100
100
  function n(e) {
101
101
  var t = this.has(e) && delete this.__data__[e];
102
102
  return this.size -= +!!t, t;
103
103
  }
104
104
  t.exports = n;
105
- })), Je = /* @__PURE__ */ g(((e, t) => {
106
- var n = Ge(), r = "__lodash_hash_undefined__", i = Object.prototype.hasOwnProperty;
105
+ })), qe = /* @__PURE__ */ g(((e, t) => {
106
+ var n = We(), r = "__lodash_hash_undefined__", i = Object.prototype.hasOwnProperty;
107
107
  function a(e) {
108
108
  var t = this.__data__;
109
109
  if (n) {
@@ -113,22 +113,22 @@ var Me = /* @__PURE__ */ g(((e, t) => {
113
113
  return i.call(t, e) ? t[e] : void 0;
114
114
  }
115
115
  t.exports = a;
116
- })), Ye = /* @__PURE__ */ g(((e, t) => {
117
- var n = Ge(), r = Object.prototype.hasOwnProperty;
116
+ })), Je = /* @__PURE__ */ g(((e, t) => {
117
+ var n = We(), r = Object.prototype.hasOwnProperty;
118
118
  function i(e) {
119
119
  var t = this.__data__;
120
120
  return n ? t[e] !== void 0 : r.call(t, e);
121
121
  }
122
122
  t.exports = i;
123
- })), Xe = /* @__PURE__ */ g(((e, t) => {
124
- var n = Ge(), r = "__lodash_hash_undefined__";
123
+ })), Ye = /* @__PURE__ */ g(((e, t) => {
124
+ var n = We(), r = "__lodash_hash_undefined__";
125
125
  function i(e, t) {
126
126
  var i = this.__data__;
127
127
  return this.size += +!this.has(e), i[e] = n && t === void 0 ? r : t, this;
128
128
  }
129
129
  t.exports = i;
130
- })), Ze = /* @__PURE__ */ g(((e, t) => {
131
- var n = Ke(), r = qe(), i = Je(), a = Ye(), o = Xe();
130
+ })), Xe = /* @__PURE__ */ g(((e, t) => {
131
+ var n = Ge(), r = Ke(), i = qe(), a = Je(), o = Ye();
132
132
  function s(e) {
133
133
  var t = -1, n = e == null ? 0 : e.length;
134
134
  for (this.clear(); ++t < n;) {
@@ -137,8 +137,8 @@ var Me = /* @__PURE__ */ g(((e, t) => {
137
137
  }
138
138
  }
139
139
  s.prototype.clear = n, s.prototype.delete = r, s.prototype.get = i, s.prototype.has = a, s.prototype.set = o, t.exports = s;
140
- })), Qe = /* @__PURE__ */ g(((e, t) => {
141
- var n = Ze(), r = Be(), i = l();
140
+ })), Ze = /* @__PURE__ */ g(((e, t) => {
141
+ var n = Xe(), r = ze(), i = l();
142
142
  function a() {
143
143
  this.size = 0, this.__data__ = {
144
144
  hash: new n(),
@@ -147,47 +147,47 @@ var Me = /* @__PURE__ */ g(((e, t) => {
147
147
  };
148
148
  }
149
149
  t.exports = a;
150
- })), $e = /* @__PURE__ */ g(((e, t) => {
150
+ })), Qe = /* @__PURE__ */ g(((e, t) => {
151
151
  function n(e) {
152
152
  var t = typeof e;
153
153
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
154
154
  }
155
155
  t.exports = n;
156
- })), et = /* @__PURE__ */ g(((e, t) => {
157
- var n = $e();
156
+ })), $e = /* @__PURE__ */ g(((e, t) => {
157
+ var n = Qe();
158
158
  function r(e, t) {
159
159
  var r = e.__data__;
160
160
  return n(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
161
161
  }
162
162
  t.exports = r;
163
- })), tt = /* @__PURE__ */ g(((e, t) => {
164
- var n = et();
163
+ })), et = /* @__PURE__ */ g(((e, t) => {
164
+ var n = $e();
165
165
  function r(e) {
166
166
  var t = n(this, e).delete(e);
167
167
  return this.size -= +!!t, t;
168
168
  }
169
169
  t.exports = r;
170
- })), nt = /* @__PURE__ */ g(((e, t) => {
171
- var n = et();
170
+ })), tt = /* @__PURE__ */ g(((e, t) => {
171
+ var n = $e();
172
172
  function r(e) {
173
173
  return n(this, e).get(e);
174
174
  }
175
175
  t.exports = r;
176
- })), rt = /* @__PURE__ */ g(((e, t) => {
177
- var n = et();
176
+ })), nt = /* @__PURE__ */ g(((e, t) => {
177
+ var n = $e();
178
178
  function r(e) {
179
179
  return n(this, e).has(e);
180
180
  }
181
181
  t.exports = r;
182
- })), it = /* @__PURE__ */ g(((e, t) => {
183
- var n = et();
182
+ })), rt = /* @__PURE__ */ g(((e, t) => {
183
+ var n = $e();
184
184
  function r(e, t) {
185
185
  var r = n(this, e), i = r.size;
186
186
  return r.set(e, t), this.size += r.size == i ? 0 : 1, this;
187
187
  }
188
188
  t.exports = r;
189
- })), at = /* @__PURE__ */ g(((e, t) => {
190
- var n = Qe(), r = tt(), i = nt(), a = rt(), o = it();
189
+ })), it = /* @__PURE__ */ g(((e, t) => {
190
+ var n = Ze(), r = et(), i = tt(), a = nt(), o = rt();
191
191
  function s(e) {
192
192
  var t = -1, n = e == null ? 0 : e.length;
193
193
  for (this.clear(); ++t < n;) {
@@ -196,8 +196,8 @@ var Me = /* @__PURE__ */ g(((e, t) => {
196
196
  }
197
197
  }
198
198
  s.prototype.clear = n, s.prototype.delete = r, s.prototype.get = i, s.prototype.has = a, s.prototype.set = o, t.exports = s;
199
- })), ot = /* @__PURE__ */ g(((e, t) => {
200
- var n = Be(), r = l(), i = at(), a = 200;
199
+ })), at = /* @__PURE__ */ g(((e, t) => {
200
+ var n = ze(), r = l(), i = it(), a = 200;
201
201
  function o(e, t) {
202
202
  var o = this.__data__;
203
203
  if (o instanceof n) {
@@ -208,20 +208,20 @@ var Me = /* @__PURE__ */ g(((e, t) => {
208
208
  return o.set(e, t), this.size = o.size, this;
209
209
  }
210
210
  t.exports = o;
211
- })), st = /* @__PURE__ */ g(((e, t) => {
212
- var n = Be(), r = Ve(), i = He(), a = Ue(), o = We(), s = ot();
211
+ })), ot = /* @__PURE__ */ g(((e, t) => {
212
+ var n = ze(), r = Be(), i = Ve(), a = He(), o = Ue(), s = at();
213
213
  function c(e) {
214
214
  var t = this.__data__ = new n(e);
215
215
  this.size = t.size;
216
216
  }
217
217
  c.prototype.clear = r, c.prototype.delete = i, c.prototype.get = a, c.prototype.has = o, c.prototype.set = s, t.exports = c;
218
- })), ct = /* @__PURE__ */ g(((e, t) => {
218
+ })), st = /* @__PURE__ */ g(((e, t) => {
219
219
  function n(e, t) {
220
220
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1;);
221
221
  return e;
222
222
  }
223
223
  t.exports = n;
224
- })), lt = /* @__PURE__ */ g(((e, t) => {
224
+ })), ct = /* @__PURE__ */ g(((e, t) => {
225
225
  var n = h();
226
226
  t.exports = function() {
227
227
  try {
@@ -229,8 +229,8 @@ var Me = /* @__PURE__ */ g(((e, t) => {
229
229
  return e({}, "", {}), e;
230
230
  } catch {}
231
231
  }();
232
- })), ut = /* @__PURE__ */ g(((e, t) => {
233
- var n = lt();
232
+ })), lt = /* @__PURE__ */ g(((e, t) => {
233
+ var n = ct();
234
234
  function r(e, t, r) {
235
235
  t == "__proto__" && n ? n(e, t, {
236
236
  configurable: !0,
@@ -240,15 +240,15 @@ var Me = /* @__PURE__ */ g(((e, t) => {
240
240
  }) : e[t] = r;
241
241
  }
242
242
  t.exports = r;
243
- })), dt = /* @__PURE__ */ g(((e, t) => {
244
- var n = ut(), r = Pe(), i = Object.prototype.hasOwnProperty;
243
+ })), ut = /* @__PURE__ */ g(((e, t) => {
244
+ var n = lt(), r = Ne(), i = Object.prototype.hasOwnProperty;
245
245
  function a(e, t, a) {
246
246
  var o = e[t];
247
247
  (!(i.call(e, t) && r(o, a)) || a === void 0 && !(t in e)) && n(e, t, a);
248
248
  }
249
249
  t.exports = a;
250
- })), ft = /* @__PURE__ */ g(((e, t) => {
251
- var n = dt(), r = ut();
250
+ })), dt = /* @__PURE__ */ g(((e, t) => {
251
+ var n = ut(), r = lt();
252
252
  function i(e, t, i, a) {
253
253
  var o = !i;
254
254
  i ||= {};
@@ -259,48 +259,48 @@ var Me = /* @__PURE__ */ g(((e, t) => {
259
259
  return i;
260
260
  }
261
261
  t.exports = i;
262
- })), pt = /* @__PURE__ */ g(((e, t) => {
262
+ })), ft = /* @__PURE__ */ g(((e, t) => {
263
263
  function n(e, t) {
264
264
  for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
265
265
  return r;
266
266
  }
267
267
  t.exports = n;
268
- })), mt = /* @__PURE__ */ g(((e, t) => {
268
+ })), pt = /* @__PURE__ */ g(((e, t) => {
269
269
  var n = 9007199254740991, r = /^(?:0|[1-9]\d*)$/;
270
270
  function i(e, t) {
271
271
  var i = typeof e;
272
272
  return t ??= n, !!t && (i == "number" || i != "symbol" && r.test(e)) && e > -1 && e % 1 == 0 && e < t;
273
273
  }
274
274
  t.exports = i;
275
- })), ht = /* @__PURE__ */ g(((e, t) => {
276
- var n = pt(), r = y(), i = c(), a = m(), o = mt(), s = w(), l = Object.prototype.hasOwnProperty;
275
+ })), mt = /* @__PURE__ */ g(((e, t) => {
276
+ var n = ft(), r = y(), i = c(), a = m(), o = pt(), s = w(), l = Object.prototype.hasOwnProperty;
277
277
  function u(e, t) {
278
278
  var c = i(e), u = !c && r(e), d = !c && !u && a(e), f = !c && !u && !d && s(e), p = c || u || d || f, m = p ? n(e.length, String) : [], h = m.length;
279
279
  for (var g in e) (t || l.call(e, g)) && !(p && (g == "length" || d && (g == "offset" || g == "parent") || f && (g == "buffer" || g == "byteLength" || g == "byteOffset") || o(g, h))) && m.push(g);
280
280
  return m;
281
281
  }
282
282
  t.exports = u;
283
- })), gt = /* @__PURE__ */ g(((e, t) => {
284
- var r = ht(), i = n(), a = s();
283
+ })), ht = /* @__PURE__ */ g(((e, t) => {
284
+ var r = mt(), i = n(), a = s();
285
285
  function o(e) {
286
286
  return a(e) ? r(e) : i(e);
287
287
  }
288
288
  t.exports = o;
289
- })), _t = /* @__PURE__ */ g(((e, t) => {
290
- var n = ft(), r = gt();
289
+ })), gt = /* @__PURE__ */ g(((e, t) => {
290
+ var n = dt(), r = ht();
291
291
  function i(e, t) {
292
292
  return e && n(t, r(t), e);
293
293
  }
294
294
  t.exports = i;
295
- })), vt = /* @__PURE__ */ g(((e, t) => {
295
+ })), _t = /* @__PURE__ */ g(((e, t) => {
296
296
  function n(e) {
297
297
  var t = [];
298
298
  if (e != null) for (var n in Object(e)) t.push(n);
299
299
  return t;
300
300
  }
301
301
  t.exports = n;
302
- })), yt = /* @__PURE__ */ g(((e, t) => {
303
- var n = T(), r = d(), i = vt(), a = Object.prototype.hasOwnProperty;
302
+ })), vt = /* @__PURE__ */ g(((e, t) => {
303
+ var n = T(), r = d(), i = _t(), a = Object.prototype.hasOwnProperty;
304
304
  function o(e) {
305
305
  if (!n(e)) return i(e);
306
306
  var t = r(e), o = [];
@@ -308,19 +308,19 @@ var Me = /* @__PURE__ */ g(((e, t) => {
308
308
  return o;
309
309
  }
310
310
  t.exports = o;
311
- })), bt = /* @__PURE__ */ g(((e, t) => {
312
- var n = ht(), r = yt(), i = s();
311
+ })), yt = /* @__PURE__ */ g(((e, t) => {
312
+ var n = mt(), r = vt(), i = s();
313
313
  function a(e) {
314
314
  return i(e) ? n(e, !0) : r(e);
315
315
  }
316
316
  t.exports = a;
317
- })), xt = /* @__PURE__ */ g(((e, t) => {
318
- var n = ft(), r = bt();
317
+ })), bt = /* @__PURE__ */ g(((e, t) => {
318
+ var n = dt(), r = yt();
319
319
  function i(e, t) {
320
320
  return e && n(t, r(t), e);
321
321
  }
322
322
  t.exports = i;
323
- })), St = /* @__PURE__ */ g(((e, t) => {
323
+ })), xt = /* @__PURE__ */ g(((e, t) => {
324
324
  var n = b(), r = typeof e == "object" && e && !e.nodeType && e, i = r && typeof t == "object" && t && !t.nodeType && t, a = i && i.exports === r ? n.Buffer : void 0, o = a ? a.allocUnsafe : void 0;
325
325
  function s(e, t) {
326
326
  if (t) return e.slice();
@@ -328,14 +328,14 @@ var Me = /* @__PURE__ */ g(((e, t) => {
328
328
  return e.copy(r), r;
329
329
  }
330
330
  t.exports = s;
331
- })), Ct = /* @__PURE__ */ g(((e, t) => {
331
+ })), St = /* @__PURE__ */ g(((e, t) => {
332
332
  function n(e, t) {
333
333
  var n = -1, r = e.length;
334
334
  for (t ||= Array(r); ++n < r;) t[n] = e[n];
335
335
  return t;
336
336
  }
337
337
  t.exports = n;
338
- })), wt = /* @__PURE__ */ g(((e, t) => {
338
+ })), Ct = /* @__PURE__ */ g(((e, t) => {
339
339
  function n(e, t) {
340
340
  for (var n = -1, r = e == null ? 0 : e.length, i = 0, a = []; ++n < r;) {
341
341
  var o = e[n];
@@ -344,115 +344,115 @@ var Me = /* @__PURE__ */ g(((e, t) => {
344
344
  return a;
345
345
  }
346
346
  t.exports = n;
347
- })), Tt = /* @__PURE__ */ g(((e, t) => {
347
+ })), wt = /* @__PURE__ */ g(((e, t) => {
348
348
  function n() {
349
349
  return [];
350
350
  }
351
351
  t.exports = n;
352
- })), Et = /* @__PURE__ */ g(((e, t) => {
353
- var n = wt(), r = Tt(), i = Object.prototype.propertyIsEnumerable, a = Object.getOwnPropertySymbols;
352
+ })), Tt = /* @__PURE__ */ g(((e, t) => {
353
+ var n = Ct(), r = wt(), i = Object.prototype.propertyIsEnumerable, a = Object.getOwnPropertySymbols;
354
354
  t.exports = a ? function(e) {
355
355
  return e == null ? [] : (e = Object(e), n(a(e), function(t) {
356
356
  return i.call(e, t);
357
357
  }));
358
358
  } : r;
359
- })), Dt = /* @__PURE__ */ g(((e, t) => {
360
- var n = ft(), r = Et();
359
+ })), Et = /* @__PURE__ */ g(((e, t) => {
360
+ var n = dt(), r = Tt();
361
361
  function i(e, t) {
362
362
  return n(e, r(e), t);
363
363
  }
364
364
  t.exports = i;
365
- })), Ot = /* @__PURE__ */ g(((e, t) => {
365
+ })), Dt = /* @__PURE__ */ g(((e, t) => {
366
366
  function n(e, t) {
367
367
  for (var n = -1, r = t.length, i = e.length; ++n < r;) e[i + n] = t[n];
368
368
  return e;
369
369
  }
370
370
  t.exports = n;
371
- })), kt = /* @__PURE__ */ g(((t, n) => {
371
+ })), Ot = /* @__PURE__ */ g(((t, n) => {
372
372
  n.exports = e()(Object.getPrototypeOf, Object);
373
- })), At = /* @__PURE__ */ g(((e, t) => {
374
- var n = Ot(), r = kt(), i = Et(), a = Tt();
373
+ })), kt = /* @__PURE__ */ g(((e, t) => {
374
+ var n = Dt(), r = Ot(), i = Tt(), a = wt();
375
375
  t.exports = Object.getOwnPropertySymbols ? function(e) {
376
376
  for (var t = []; e;) n(t, i(e)), e = r(e);
377
377
  return t;
378
378
  } : a;
379
- })), jt = /* @__PURE__ */ g(((e, t) => {
380
- var n = ft(), r = At();
379
+ })), At = /* @__PURE__ */ g(((e, t) => {
380
+ var n = dt(), r = kt();
381
381
  function i(e, t) {
382
382
  return n(e, r(e), t);
383
383
  }
384
384
  t.exports = i;
385
- })), Mt = /* @__PURE__ */ g(((e, t) => {
386
- var n = Ot(), r = c();
385
+ })), jt = /* @__PURE__ */ g(((e, t) => {
386
+ var n = Dt(), r = c();
387
387
  function i(e, t, i) {
388
388
  var a = t(e);
389
389
  return r(e) ? a : n(a, i(e));
390
390
  }
391
391
  t.exports = i;
392
- })), Nt = /* @__PURE__ */ g(((e, t) => {
393
- var n = Mt(), r = Et(), i = gt();
392
+ })), Mt = /* @__PURE__ */ g(((e, t) => {
393
+ var n = jt(), r = Tt(), i = ht();
394
394
  function a(e) {
395
395
  return n(e, i, r);
396
396
  }
397
397
  t.exports = a;
398
- })), Pt = /* @__PURE__ */ g(((e, t) => {
399
- var n = Mt(), r = At(), i = bt();
398
+ })), Nt = /* @__PURE__ */ g(((e, t) => {
399
+ var n = jt(), r = kt(), i = yt();
400
400
  function a(e) {
401
401
  return n(e, i, r);
402
402
  }
403
403
  t.exports = a;
404
- })), Ft = /* @__PURE__ */ g(((e, t) => {
404
+ })), Pt = /* @__PURE__ */ g(((e, t) => {
405
405
  var n = Object.prototype.hasOwnProperty;
406
406
  function r(e) {
407
407
  var t = e.length, r = new e.constructor(t);
408
408
  return t && typeof e[0] == "string" && n.call(e, "index") && (r.index = e.index, r.input = e.input), r;
409
409
  }
410
410
  t.exports = r;
411
- })), It = /* @__PURE__ */ g(((e, t) => {
411
+ })), Ft = /* @__PURE__ */ g(((e, t) => {
412
412
  t.exports = b().Uint8Array;
413
- })), Lt = /* @__PURE__ */ g(((e, t) => {
414
- var n = It();
413
+ })), It = /* @__PURE__ */ g(((e, t) => {
414
+ var n = Ft();
415
415
  function r(e) {
416
416
  var t = new e.constructor(e.byteLength);
417
417
  return new n(t).set(new n(e)), t;
418
418
  }
419
419
  t.exports = r;
420
- })), Rt = /* @__PURE__ */ g(((e, t) => {
421
- var n = Lt();
420
+ })), Lt = /* @__PURE__ */ g(((e, t) => {
421
+ var n = It();
422
422
  function r(e, t) {
423
423
  var r = t ? n(e.buffer) : e.buffer;
424
424
  return new e.constructor(r, e.byteOffset, e.byteLength);
425
425
  }
426
426
  t.exports = r;
427
- })), zt = /* @__PURE__ */ g(((e, t) => {
427
+ })), Rt = /* @__PURE__ */ g(((e, t) => {
428
428
  var n = /\w*$/;
429
429
  function r(e) {
430
430
  var t = new e.constructor(e.source, n.exec(e));
431
431
  return t.lastIndex = e.lastIndex, t;
432
432
  }
433
433
  t.exports = r;
434
- })), Bt = /* @__PURE__ */ g(((e, t) => {
434
+ })), zt = /* @__PURE__ */ g(((e, t) => {
435
435
  var n = f(), r = n ? n.prototype : void 0, i = r ? r.valueOf : void 0;
436
436
  function a(e) {
437
437
  return i ? Object(i.call(e)) : {};
438
438
  }
439
439
  t.exports = a;
440
- })), Vt = /* @__PURE__ */ g(((e, t) => {
441
- var n = Lt();
440
+ })), Bt = /* @__PURE__ */ g(((e, t) => {
441
+ var n = It();
442
442
  function r(e, t) {
443
443
  var r = t ? n(e.buffer) : e.buffer;
444
444
  return new e.constructor(r, e.byteOffset, e.length);
445
445
  }
446
446
  t.exports = r;
447
- })), Ht = /* @__PURE__ */ g(((e, t) => {
448
- var n = Lt(), r = Rt(), i = zt(), a = Bt(), o = Vt(), s = "[object Boolean]", c = "[object Date]", l = "[object Map]", u = "[object Number]", d = "[object RegExp]", f = "[object Set]", p = "[object String]", m = "[object Symbol]", h = "[object ArrayBuffer]", g = "[object DataView]", _ = "[object Float32Array]", v = "[object Float64Array]", y = "[object Int8Array]", b = "[object Int16Array]", x = "[object Int32Array]", S = "[object Uint8Array]", C = "[object Uint8ClampedArray]", w = "[object Uint16Array]", T = "[object Uint32Array]";
449
- function ee(e, t, ee) {
450
- var E = e.constructor;
447
+ })), Vt = /* @__PURE__ */ g(((e, t) => {
448
+ var n = It(), r = Lt(), i = Rt(), a = zt(), o = Bt(), s = "[object Boolean]", c = "[object Date]", l = "[object Map]", u = "[object Number]", d = "[object RegExp]", f = "[object Set]", p = "[object String]", m = "[object Symbol]", h = "[object ArrayBuffer]", g = "[object DataView]", _ = "[object Float32Array]", v = "[object Float64Array]", y = "[object Int8Array]", b = "[object Int16Array]", x = "[object Int32Array]", S = "[object Uint8Array]", C = "[object Uint8ClampedArray]", w = "[object Uint16Array]", T = "[object Uint32Array]";
449
+ function E(e, t, E) {
450
+ var D = e.constructor;
451
451
  switch (t) {
452
452
  case h: return n(e);
453
453
  case s:
454
- case c: return new E(+e);
455
- case g: return r(e, ee);
454
+ case c: return new D(+e);
455
+ case g: return r(e, E);
456
456
  case _:
457
457
  case v:
458
458
  case y:
@@ -461,17 +461,17 @@ var Me = /* @__PURE__ */ g(((e, t) => {
461
461
  case S:
462
462
  case C:
463
463
  case w:
464
- case T: return o(e, ee);
465
- case l: return new E();
464
+ case T: return o(e, E);
465
+ case l: return new D();
466
466
  case u:
467
- case p: return new E(e);
467
+ case p: return new D(e);
468
468
  case d: return i(e);
469
- case f: return new E();
469
+ case f: return new D();
470
470
  case m: return a(e);
471
471
  }
472
472
  }
473
- t.exports = ee;
474
- })), Ut = /* @__PURE__ */ g(((e, t) => {
473
+ t.exports = E;
474
+ })), Ht = /* @__PURE__ */ g(((e, t) => {
475
475
  var n = T(), r = Object.create;
476
476
  t.exports = function() {
477
477
  function e() {}
@@ -483,35 +483,35 @@ var Me = /* @__PURE__ */ g(((e, t) => {
483
483
  return e.prototype = void 0, i;
484
484
  };
485
485
  }();
486
- })), Wt = /* @__PURE__ */ g(((e, t) => {
487
- var n = Ut(), r = kt(), i = d();
486
+ })), Ut = /* @__PURE__ */ g(((e, t) => {
487
+ var n = Ht(), r = Ot(), i = d();
488
488
  function a(e) {
489
489
  return typeof e.constructor == "function" && !i(e) ? n(r(e)) : {};
490
490
  }
491
491
  t.exports = a;
492
- })), Gt = /* @__PURE__ */ g(((e, t) => {
492
+ })), Wt = /* @__PURE__ */ g(((e, t) => {
493
493
  var n = o(), r = S(), i = "[object Map]";
494
494
  function a(e) {
495
495
  return r(e) && n(e) == i;
496
496
  }
497
497
  t.exports = a;
498
- })), Kt = /* @__PURE__ */ g(((e, t) => {
499
- var n = Gt(), r = x(), i = _(), a = i && i.isMap;
498
+ })), Gt = /* @__PURE__ */ g(((e, t) => {
499
+ var n = Wt(), r = x(), i = _(), a = i && i.isMap;
500
500
  t.exports = a ? r(a) : n;
501
- })), qt = /* @__PURE__ */ g(((e, t) => {
501
+ })), Kt = /* @__PURE__ */ g(((e, t) => {
502
502
  var n = o(), r = S(), i = "[object Set]";
503
503
  function a(e) {
504
504
  return r(e) && n(e) == i;
505
505
  }
506
506
  t.exports = a;
507
- })), Jt = /* @__PURE__ */ g(((e, t) => {
508
- var n = qt(), r = x(), i = _(), a = i && i.isSet;
507
+ })), qt = /* @__PURE__ */ g(((e, t) => {
508
+ var n = Kt(), r = x(), i = _(), a = i && i.isSet;
509
509
  t.exports = a ? r(a) : n;
510
- })), Yt = /* @__PURE__ */ g(((e, t) => {
511
- var n = st(), r = ct(), i = dt(), a = _t(), s = xt(), l = St(), u = Ct(), d = Dt(), f = jt(), p = Nt(), h = Pt(), g = o(), _ = Ft(), v = Ht(), y = Wt(), b = c(), x = m(), S = Kt(), C = T(), w = Jt(), ee = gt(), E = bt(), D = 1, O = 2, k = 4, A = "[object Arguments]", j = "[object Array]", te = "[object Boolean]", ne = "[object Date]", M = "[object Error]", re = "[object Function]", ie = "[object GeneratorFunction]", N = "[object Map]", ae = "[object Number]", oe = "[object Object]", se = "[object RegExp]", P = "[object Set]", F = "[object String]", I = "[object Symbol]", L = "[object WeakMap]", R = "[object ArrayBuffer]", ce = "[object DataView]", z = "[object Float32Array]", B = "[object Float64Array]", le = "[object Int8Array]", ue = "[object Int16Array]", de = "[object Int32Array]", V = "[object Uint8Array]", H = "[object Uint8ClampedArray]", fe = "[object Uint16Array]", pe = "[object Uint32Array]", U = {};
512
- U[A] = U[j] = U[R] = U[ce] = U[te] = U[ne] = U[z] = U[B] = U[le] = U[ue] = U[de] = U[N] = U[ae] = U[oe] = U[se] = U[P] = U[F] = U[I] = U[V] = U[H] = U[fe] = U[pe] = !0, U[M] = U[re] = U[L] = !1;
510
+ })), Jt = /* @__PURE__ */ g(((e, t) => {
511
+ var n = ot(), r = st(), i = ut(), a = gt(), s = bt(), l = xt(), u = St(), d = Et(), f = At(), p = Mt(), h = Nt(), g = o(), _ = Pt(), v = Vt(), y = Ut(), b = c(), x = m(), S = Gt(), C = T(), w = qt(), E = ht(), D = yt(), O = 1, k = 2, A = 4, ee = "[object Arguments]", j = "[object Array]", te = "[object Boolean]", ne = "[object Date]", M = "[object Error]", re = "[object Function]", ie = "[object GeneratorFunction]", N = "[object Map]", ae = "[object Number]", oe = "[object Object]", se = "[object RegExp]", P = "[object Set]", F = "[object String]", I = "[object Symbol]", L = "[object WeakMap]", R = "[object ArrayBuffer]", ce = "[object DataView]", z = "[object Float32Array]", B = "[object Float64Array]", le = "[object Int8Array]", ue = "[object Int16Array]", de = "[object Int32Array]", V = "[object Uint8Array]", H = "[object Uint8ClampedArray]", fe = "[object Uint16Array]", pe = "[object Uint32Array]", U = {};
512
+ U[ee] = U[j] = U[R] = U[ce] = U[te] = U[ne] = U[z] = U[B] = U[le] = U[ue] = U[de] = U[N] = U[ae] = U[oe] = U[se] = U[P] = U[F] = U[I] = U[V] = U[H] = U[fe] = U[pe] = !0, U[M] = U[re] = U[L] = !1;
513
513
  function me(e, t, o, c, m, T) {
514
- var j, te = t & D, ne = t & O, M = t & k;
514
+ var j, te = t & O, ne = t & k, M = t & A;
515
515
  if (o && (j = m ? o(e, c, m, T) : o(e)), j !== void 0) return j;
516
516
  if (!C(e)) return e;
517
517
  var N = b(e);
@@ -520,7 +520,7 @@ var Me = /* @__PURE__ */ g(((e, t) => {
520
520
  } else {
521
521
  var ae = g(e), se = ae == re || ae == ie;
522
522
  if (x(e)) return l(e, te);
523
- if (ae == oe || ae == A || se && !m) {
523
+ if (ae == oe || ae == ee || se && !m) {
524
524
  if (j = ne || se ? {} : y(e), !te) return ne ? f(e, s(j, e)) : d(e, a(j, e));
525
525
  } else {
526
526
  if (!U[ae]) return m ? e : {};
@@ -535,28 +535,28 @@ var Me = /* @__PURE__ */ g(((e, t) => {
535
535
  }) : S(e) && e.forEach(function(n, r) {
536
536
  j.set(r, me(n, t, o, r, e, T));
537
537
  });
538
- var F = N ? void 0 : (M ? ne ? h : p : ne ? E : ee)(e);
538
+ var F = N ? void 0 : (M ? ne ? h : p : ne ? D : E)(e);
539
539
  return r(F || e, function(n, r) {
540
540
  F && (r = n, n = e[r]), i(j, r, me(n, t, o, r, e, T));
541
541
  }), j;
542
542
  }
543
543
  t.exports = me;
544
- })), Xt = /* @__PURE__ */ g(((e, t) => {
544
+ })), Yt = /* @__PURE__ */ g(((e, t) => {
545
545
  var n = u(), r = S(), i = "[object Symbol]";
546
546
  function a(e) {
547
547
  return typeof e == "symbol" || r(e) && n(e) == i;
548
548
  }
549
549
  t.exports = a;
550
- })), Zt = /* @__PURE__ */ g(((e, t) => {
551
- var n = c(), r = Xt(), i = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, a = /^\w*$/;
550
+ })), Xt = /* @__PURE__ */ g(((e, t) => {
551
+ var n = c(), r = Yt(), i = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, a = /^\w*$/;
552
552
  function o(e, t) {
553
553
  if (n(e)) return !1;
554
554
  var o = typeof e;
555
555
  return o == "number" || o == "symbol" || o == "boolean" || e == null || r(e) ? !0 : a.test(e) || !i.test(e) || t != null && e in Object(t);
556
556
  }
557
557
  t.exports = o;
558
- })), Qt = /* @__PURE__ */ g(((e, t) => {
559
- var n = at(), r = "Expected a function";
558
+ })), Zt = /* @__PURE__ */ g(((e, t) => {
559
+ var n = it(), r = "Expected a function";
560
560
  function i(e, t) {
561
561
  if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(r);
562
562
  var a = function() {
@@ -568,8 +568,8 @@ var Me = /* @__PURE__ */ g(((e, t) => {
568
568
  return a.cache = new (i.Cache || n)(), a;
569
569
  }
570
570
  i.Cache = n, t.exports = i;
571
- })), $t = /* @__PURE__ */ g(((e, t) => {
572
- var n = Qt(), r = 500;
571
+ })), Qt = /* @__PURE__ */ g(((e, t) => {
572
+ var n = Zt(), r = 500;
573
573
  function i(e) {
574
574
  var t = n(e, function(e) {
575
575
  return i.size === r && i.clear(), e;
@@ -577,16 +577,16 @@ var Me = /* @__PURE__ */ g(((e, t) => {
577
577
  return t;
578
578
  }
579
579
  t.exports = i;
580
- })), en = /* @__PURE__ */ g(((e, t) => {
581
- var n = $t(), r = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, i = /\\(\\)?/g;
580
+ })), $t = /* @__PURE__ */ g(((e, t) => {
581
+ var n = Qt(), r = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, i = /\\(\\)?/g;
582
582
  t.exports = n(function(e) {
583
583
  var t = [];
584
584
  return e.charCodeAt(0) === 46 && t.push(""), e.replace(r, function(e, n, r, a) {
585
585
  t.push(r ? a.replace(i, "$1") : n || e);
586
586
  }), t;
587
587
  });
588
- })), tn = /* @__PURE__ */ g(((e, t) => {
589
- var n = f(), r = Me(), i = c(), a = Xt(), o = Infinity, s = n ? n.prototype : void 0, l = s ? s.toString : void 0;
588
+ })), en = /* @__PURE__ */ g(((e, t) => {
589
+ var n = f(), r = je(), i = c(), a = Yt(), o = Infinity, s = n ? n.prototype : void 0, l = s ? s.toString : void 0;
590
590
  function u(e) {
591
591
  if (typeof e == "string") return e;
592
592
  if (i(e)) return r(e, u) + "";
@@ -595,41 +595,41 @@ var Me = /* @__PURE__ */ g(((e, t) => {
595
595
  return t == "0" && 1 / e == -o ? "-0" : t;
596
596
  }
597
597
  t.exports = u;
598
- })), nn = /* @__PURE__ */ g(((e, t) => {
599
- var n = tn();
598
+ })), tn = /* @__PURE__ */ g(((e, t) => {
599
+ var n = en();
600
600
  function r(e) {
601
601
  return e == null ? "" : n(e);
602
602
  }
603
603
  t.exports = r;
604
- })), rn = /* @__PURE__ */ g(((e, t) => {
605
- var n = c(), r = Zt(), i = en(), a = nn();
604
+ })), nn = /* @__PURE__ */ g(((e, t) => {
605
+ var n = c(), r = Xt(), i = $t(), a = tn();
606
606
  function o(e, t) {
607
607
  return n(e) ? e : r(e, t) ? [e] : i(a(e));
608
608
  }
609
609
  t.exports = o;
610
- })), an = /* @__PURE__ */ g(((e, t) => {
610
+ })), rn = /* @__PURE__ */ g(((e, t) => {
611
611
  function n(e) {
612
612
  var t = e == null ? 0 : e.length;
613
613
  return t ? e[t - 1] : void 0;
614
614
  }
615
615
  t.exports = n;
616
- })), on = /* @__PURE__ */ g(((e, t) => {
617
- var n = Xt(), r = Infinity;
616
+ })), an = /* @__PURE__ */ g(((e, t) => {
617
+ var n = Yt(), r = Infinity;
618
618
  function i(e) {
619
619
  if (typeof e == "string" || n(e)) return e;
620
620
  var t = e + "";
621
621
  return t == "0" && 1 / e == -r ? "-0" : t;
622
622
  }
623
623
  t.exports = i;
624
- })), sn = /* @__PURE__ */ g(((e, t) => {
625
- var n = rn(), r = on();
624
+ })), on = /* @__PURE__ */ g(((e, t) => {
625
+ var n = nn(), r = an();
626
626
  function i(e, t) {
627
627
  t = n(t, e);
628
628
  for (var i = 0, a = t.length; e != null && i < a;) e = e[r(t[i++])];
629
629
  return i && i == a ? e : void 0;
630
630
  }
631
631
  t.exports = i;
632
- })), cn = /* @__PURE__ */ g(((e, t) => {
632
+ })), sn = /* @__PURE__ */ g(((e, t) => {
633
633
  function n(e, t, n) {
634
634
  var r = -1, i = e.length;
635
635
  t < 0 && (t = -t > i ? 0 : i + t), n = n > i ? i : n, n < 0 && (n += i), i = t > n ? 0 : n - t >>> 0, t >>>= 0;
@@ -637,14 +637,14 @@ var Me = /* @__PURE__ */ g(((e, t) => {
637
637
  return a;
638
638
  }
639
639
  t.exports = n;
640
- })), ln = /* @__PURE__ */ g(((e, t) => {
641
- var n = sn(), r = cn();
640
+ })), cn = /* @__PURE__ */ g(((e, t) => {
641
+ var n = on(), r = sn();
642
642
  function i(e, t) {
643
643
  return t.length < 2 ? e : n(e, r(t, 0, -1));
644
644
  }
645
645
  t.exports = i;
646
- })), un = /* @__PURE__ */ g(((e, t) => {
647
- var n = rn(), r = an(), i = ln(), a = on(), o = Object.prototype.hasOwnProperty;
646
+ })), ln = /* @__PURE__ */ g(((e, t) => {
647
+ var n = nn(), r = rn(), i = cn(), a = an(), o = Object.prototype.hasOwnProperty;
648
648
  function s(e, t) {
649
649
  t = n(t, e);
650
650
  var s = -1, c = t.length;
@@ -657,8 +657,8 @@ var Me = /* @__PURE__ */ g(((e, t) => {
657
657
  return u == null || delete u[a(r(t))];
658
658
  }
659
659
  t.exports = s;
660
- })), dn = /* @__PURE__ */ g(((e, t) => {
661
- var n = u(), r = kt(), i = S(), a = "[object Object]", o = Function.prototype, s = Object.prototype, c = o.toString, l = s.hasOwnProperty, d = c.call(Object);
660
+ })), un = /* @__PURE__ */ g(((e, t) => {
661
+ var n = u(), r = Ot(), i = S(), a = "[object Object]", o = Function.prototype, s = Object.prototype, c = o.toString, l = s.hasOwnProperty, d = c.call(Object);
662
662
  function f(e) {
663
663
  if (!i(e) || n(e) != a) return !1;
664
664
  var t = r(e);
@@ -667,20 +667,20 @@ var Me = /* @__PURE__ */ g(((e, t) => {
667
667
  return typeof o == "function" && o instanceof o && c.call(o) == d;
668
668
  }
669
669
  t.exports = f;
670
- })), fn = /* @__PURE__ */ g(((e, t) => {
671
- var n = dn();
670
+ })), dn = /* @__PURE__ */ g(((e, t) => {
671
+ var n = un();
672
672
  function r(e) {
673
673
  return n(e) ? void 0 : e;
674
674
  }
675
675
  t.exports = r;
676
- })), pn = /* @__PURE__ */ g(((e, t) => {
676
+ })), fn = /* @__PURE__ */ g(((e, t) => {
677
677
  var n = f(), r = y(), i = c(), a = n ? n.isConcatSpreadable : void 0;
678
678
  function o(e) {
679
679
  return i(e) || r(e) || !!(a && e && e[a]);
680
680
  }
681
681
  t.exports = o;
682
- })), mn = /* @__PURE__ */ g(((e, t) => {
683
- var n = Ot(), r = pn();
682
+ })), pn = /* @__PURE__ */ g(((e, t) => {
683
+ var n = Dt(), r = fn();
684
684
  function i(e, t, a, o, s) {
685
685
  var c = -1, l = e.length;
686
686
  for (a ||= r, s ||= []; ++c < l;) {
@@ -690,13 +690,13 @@ var Me = /* @__PURE__ */ g(((e, t) => {
690
690
  return s;
691
691
  }
692
692
  t.exports = i;
693
- })), hn = /* @__PURE__ */ g(((e, t) => {
694
- var n = mn();
693
+ })), mn = /* @__PURE__ */ g(((e, t) => {
694
+ var n = pn();
695
695
  function r(e) {
696
696
  return e != null && e.length ? n(e, 1) : [];
697
697
  }
698
698
  t.exports = r;
699
- })), gn = /* @__PURE__ */ g(((e, t) => {
699
+ })), hn = /* @__PURE__ */ g(((e, t) => {
700
700
  function n(e, t, n) {
701
701
  switch (n.length) {
702
702
  case 0: return e.call(t);
@@ -707,8 +707,8 @@ var Me = /* @__PURE__ */ g(((e, t) => {
707
707
  return e.apply(t, n);
708
708
  }
709
709
  t.exports = n;
710
- })), _n = /* @__PURE__ */ g(((e, t) => {
711
- var n = gn(), r = Math.max;
710
+ })), gn = /* @__PURE__ */ g(((e, t) => {
711
+ var n = hn(), r = Math.max;
712
712
  function i(e, t, i) {
713
713
  return t = r(t === void 0 ? e.length - 1 : t, 0), function() {
714
714
  for (var a = arguments, o = -1, s = r(a.length - t, 0), c = Array(s); ++o < s;) c[o] = a[t + o];
@@ -718,20 +718,20 @@ var Me = /* @__PURE__ */ g(((e, t) => {
718
718
  };
719
719
  }
720
720
  t.exports = i;
721
- })), vn = /* @__PURE__ */ g(((e, t) => {
721
+ })), _n = /* @__PURE__ */ g(((e, t) => {
722
722
  function n(e) {
723
723
  return function() {
724
724
  return e;
725
725
  };
726
726
  }
727
727
  t.exports = n;
728
- })), yn = /* @__PURE__ */ g(((e, t) => {
728
+ })), vn = /* @__PURE__ */ g(((e, t) => {
729
729
  function n(e) {
730
730
  return e;
731
731
  }
732
732
  t.exports = n;
733
- })), bn = /* @__PURE__ */ g(((e, t) => {
734
- var n = vn(), r = lt(), i = yn();
733
+ })), yn = /* @__PURE__ */ g(((e, t) => {
734
+ var n = _n(), r = ct(), i = vn();
735
735
  t.exports = r ? function(e, t) {
736
736
  return r(e, "toString", {
737
737
  configurable: !0,
@@ -740,7 +740,7 @@ var Me = /* @__PURE__ */ g(((e, t) => {
740
740
  writable: !0
741
741
  });
742
742
  } : i;
743
- })), xn = /* @__PURE__ */ g(((e, t) => {
743
+ })), bn = /* @__PURE__ */ g(((e, t) => {
744
744
  var n = 800, r = 16, i = Date.now;
745
745
  function a(e) {
746
746
  var t = 0, a = 0;
@@ -753,17 +753,17 @@ var Me = /* @__PURE__ */ g(((e, t) => {
753
753
  };
754
754
  }
755
755
  t.exports = a;
756
+ })), xn = /* @__PURE__ */ g(((e, t) => {
757
+ var n = yn();
758
+ t.exports = bn()(n);
756
759
  })), Sn = /* @__PURE__ */ g(((e, t) => {
757
- var n = bn();
758
- t.exports = xn()(n);
759
- })), Cn = /* @__PURE__ */ g(((e, t) => {
760
- var n = hn(), r = _n(), i = Sn();
760
+ var n = mn(), r = gn(), i = xn();
761
761
  function a(e) {
762
762
  return i(r(e, void 0, n), e + "");
763
763
  }
764
764
  t.exports = a;
765
- })), wn = /* @__PURE__ */ p((/* @__PURE__ */ g(((e, t) => {
766
- var n = Me(), r = Yt(), i = un(), a = rn(), o = ft(), s = fn(), c = Cn(), l = Pt(), u = 1, d = 2, f = 4;
765
+ })), Cn = /* @__PURE__ */ p((/* @__PURE__ */ g(((e, t) => {
766
+ var n = je(), r = Jt(), i = ln(), a = nn(), o = dt(), s = dn(), c = Sn(), l = Nt(), u = 1, d = 2, f = 4;
767
767
  t.exports = c(function(e, t) {
768
768
  var c = {};
769
769
  if (e == null) return c;
@@ -775,7 +775,7 @@ var Me = /* @__PURE__ */ g(((e, t) => {
775
775
  return c;
776
776
  });
777
777
  })))(), 1);
778
- function Tn(e, t) {
778
+ function wn(e, t) {
779
779
  let { arg: n, value: r } = t;
780
780
  if (n !== "sanitize") {
781
781
  if (typeof r != "string") throw Error("[v-ui3n-html] If the data is not sanitized, the value must be a string.");
@@ -787,50 +787,50 @@ function Tn(e, t) {
787
787
  return;
788
788
  }
789
789
  try {
790
- e.innerHTML = ne(r.dirty, { ...(0, wn.default)(r, "dirty") });
790
+ e.innerHTML = ne(r.dirty, { ...(0, Cn.default)(r, "dirty") });
791
791
  return;
792
792
  } catch (e) {
793
793
  throw Error("[v-ui3n-html] ", e);
794
794
  }
795
795
  }
796
- function En(e, t) {
797
- Tn(e, t);
796
+ function Tn(e, t) {
797
+ wn(e, t);
798
798
  }
799
799
  //#endregion
800
800
  //#region src/directives/ui3n-click-outside.ts
801
- function Dn(e) {
801
+ function En(e) {
802
802
  return (t) => {
803
803
  t.target instanceof Element && (this === t.target || this.contains(t.target) || e.value(t));
804
804
  };
805
805
  }
806
- var On = {
806
+ var Dn = {
807
807
  beforeMount(e, t) {
808
808
  if (t?.value?.constructor.name !== "Function") throw Error("[v-ui3n-click-outside] Function should be provided in the directive");
809
- e.clickOutside = Dn.bind(e)(t), window.addEventListener("click", e.clickOutside);
809
+ e.clickOutside = En.bind(e)(t), window.addEventListener("click", e.clickOutside);
810
810
  },
811
811
  beforeUnmount(e) {
812
812
  window.removeEventListener("click", e.clickOutside);
813
813
  }
814
- }, kn = /* @__PURE__ */ g(((e, t) => {
814
+ }, On = /* @__PURE__ */ g(((e, t) => {
815
815
  var n = b();
816
816
  t.exports = function() {
817
817
  return n.Date.now();
818
818
  };
819
- })), An = /* @__PURE__ */ g(((e, t) => {
819
+ })), kn = /* @__PURE__ */ g(((e, t) => {
820
820
  var n = /\s/;
821
821
  function r(e) {
822
822
  for (var t = e.length; t-- && n.test(e.charAt(t)););
823
823
  return t;
824
824
  }
825
825
  t.exports = r;
826
- })), jn = /* @__PURE__ */ g(((e, t) => {
827
- var n = An(), r = /^\s+/;
826
+ })), An = /* @__PURE__ */ g(((e, t) => {
827
+ var n = kn(), r = /^\s+/;
828
828
  function i(e) {
829
829
  return e && e.slice(0, n(e) + 1).replace(r, "");
830
830
  }
831
831
  t.exports = i;
832
- })), Mn = /* @__PURE__ */ g(((e, t) => {
833
- var n = jn(), r = T(), i = Xt(), a = NaN, o = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, l = parseInt;
832
+ })), jn = /* @__PURE__ */ g(((e, t) => {
833
+ var n = An(), r = T(), i = Yt(), a = NaN, o = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, l = parseInt;
834
834
  function u(e) {
835
835
  if (typeof e == "number") return e;
836
836
  if (i(e)) return a;
@@ -844,8 +844,8 @@ var On = {
844
844
  return u || c.test(e) ? l(e.slice(2), u ? 2 : 8) : o.test(e) ? a : +e;
845
845
  }
846
846
  t.exports = u;
847
- })), Nn = /* @__PURE__ */ p((/* @__PURE__ */ g(((e, t) => {
848
- var n = T(), r = kn(), i = Mn(), a = "Expected a function", o = Math.max, s = Math.min;
847
+ })), Mn = /* @__PURE__ */ p((/* @__PURE__ */ g(((e, t) => {
848
+ var n = T(), r = On(), i = jn(), a = "Expected a function", o = Math.max, s = Math.min;
849
849
  function c(e, t, c) {
850
850
  var l, u, d, f, p, m, h = 0, g = !1, _ = !1, v = !0;
851
851
  if (typeof e != "function") throw TypeError(a);
@@ -876,10 +876,10 @@ var On = {
876
876
  function T() {
877
877
  p !== void 0 && clearTimeout(p), h = 0, l = m = u = p = void 0;
878
878
  }
879
- function ee() {
879
+ function E() {
880
880
  return p === void 0 ? f : w(r());
881
881
  }
882
- function E() {
882
+ function D() {
883
883
  var e = r(), n = S(e);
884
884
  if (l = arguments, u = this, m = e, n) {
885
885
  if (p === void 0) return b(m);
@@ -887,13 +887,13 @@ var On = {
887
887
  }
888
888
  return p === void 0 && (p = setTimeout(C, t)), f;
889
889
  }
890
- return E.cancel = T, E.flush = ee, E;
890
+ return D.cancel = T, D.flush = E, D;
891
891
  }
892
892
  t.exports = c;
893
- })))(), 1), Pn = null, Fn = {
893
+ })))(), 1), Nn = null, Pn = {
894
894
  mounted(e, t) {
895
- let { value: n } = t, r = typeof n == "function" ? (0, Nn.default)(n, 250) : void 0;
896
- Pn = new ResizeObserver((t) => {
895
+ let { value: n } = t, r = typeof n == "function" ? (0, Mn.default)(n, 250) : void 0;
896
+ Nn = new ResizeObserver((t) => {
897
897
  for (let n of t) {
898
898
  let { contentRect: t, borderBoxSize: i, target: a } = n;
899
899
  if (a === e && r) {
@@ -907,50 +907,50 @@ var On = {
907
907
  });
908
908
  }
909
909
  }
910
- }), Pn.observe(e);
910
+ }), Nn.observe(e);
911
911
  },
912
912
  beforeUnmount() {
913
- Pn && Pn.disconnect();
913
+ Nn && Nn.disconnect();
914
914
  }
915
- }, In = 8, Ln = !1, Rn = null, zn = t(3), Bn = /* @__PURE__ */ new WeakMap(), Vn = /* @__PURE__ */ new WeakMap();
916
- function Hn(e, t, n) {
915
+ }, Fn = 8, In = !1, Ln = null, Rn = t(3), zn = /* @__PURE__ */ new WeakMap(), Bn = /* @__PURE__ */ new WeakMap();
916
+ function Vn(e, t, n) {
917
917
  let r = e.split("-")[0], i = {
918
918
  mainAxis: 0,
919
919
  crossAxis: 0
920
920
  };
921
921
  switch (r) {
922
922
  case "top":
923
- i.mainAxis = -1 * Number(n) + In, i.crossAxis = Number(t);
923
+ i.mainAxis = -1 * Number(n) + Fn, i.crossAxis = Number(t);
924
924
  break;
925
925
  case "bottom":
926
- i.mainAxis = Number(n) + In, i.crossAxis = Number(t);
926
+ i.mainAxis = Number(n) + Fn, i.crossAxis = Number(t);
927
927
  break;
928
928
  case "left":
929
- i.mainAxis = -1 * Number(t) + In, i.crossAxis = Number(n);
929
+ i.mainAxis = -1 * Number(t) + Fn, i.crossAxis = Number(n);
930
930
  break;
931
931
  case "right":
932
- i.mainAxis = Number(t) + In, i.crossAxis = Number(n);
932
+ i.mainAxis = Number(t) + Fn, i.crossAxis = Number(n);
933
933
  break;
934
934
  default: break;
935
935
  }
936
936
  return i;
937
937
  }
938
- function Un(e) {
938
+ function Hn(e) {
939
939
  let t = document.getElementById(e);
940
940
  t && t.remove();
941
941
  }
942
- function Wn(e, t, n) {
942
+ function Un(e, t, n) {
943
943
  let { text: r, maxWidth: i = 200, color: a = "var(--color-text-control-primary-default)", bgColor: o = "var(--color-bg-control-secondary-default)", placement: s = "top", positionStrategy: c = "absolute", offsetX: l = 0, offsetY: u = 0, style: d = {} } = t || {};
944
- if (Ln = n, !Ln) {
945
- Un(zn);
944
+ if (In = n, !In) {
945
+ Hn(Rn);
946
946
  return;
947
947
  }
948
- let f = document.getElementById(zn), p = f || document.createElement("div");
949
- f || (p.id = zn, p.classList.add("ui3n-title")), p.innerHTML = r, p.style.maxWidth = `${i}px`, p.style.color = a, p.style.backgroundColor = o, Object.keys(d).length && Object.assign(p.style, d), e.insertAdjacentElement("beforeend", p), Rn = M(e, p, () => {
948
+ let f = document.getElementById(Rn), p = f || document.createElement("div");
949
+ f || (p.id = Rn, p.classList.add("ui3n-title")), p.innerHTML = r, p.style.maxWidth = `${i}px`, p.style.color = a, p.style.backgroundColor = o, Object.keys(d).length && Object.assign(p.style, d), e.insertAdjacentElement("beforeend", p), Ln = M(e, p, () => {
950
950
  re(e, p, {
951
951
  placement: s,
952
952
  strategy: c,
953
- middleware: [ie(Hn(s, l, u))]
953
+ middleware: [ie(Vn(s, l, u))]
954
954
  }).then(({ x: e, y: t }) => {
955
955
  Object.assign(p.style, {
956
956
  left: `${e}px`,
@@ -959,68 +959,68 @@ function Wn(e, t, n) {
959
959
  });
960
960
  });
961
961
  }
962
- var Gn = {
962
+ var Wn = {
963
963
  mounted(e, t) {
964
- Bn.set(e, t.value);
964
+ zn.set(e, t.value);
965
965
  let n = (t) => {
966
- let n = Bn.get(e);
966
+ let n = zn.get(e);
967
967
  if (n.disabled) {
968
- Un(zn), Ln = !1;
968
+ Hn(Rn), In = !1;
969
969
  return;
970
970
  }
971
971
  switch (t.type) {
972
972
  case "click":
973
- Wn(e, n, !Ln);
973
+ Un(e, n, !In);
974
974
  break;
975
975
  case "mouseenter":
976
- Wn(e, n, !0);
976
+ Un(e, n, !0);
977
977
  break;
978
978
  case "mouseleave":
979
- Wn(e, n, !1);
979
+ Un(e, n, !1);
980
980
  break;
981
981
  default: break;
982
982
  }
983
983
  };
984
- Vn.set(e, n), t.value.trigger === "click" ? e.addEventListener("click", n) : (e.addEventListener("mouseenter", n), e.addEventListener("mouseleave", n));
984
+ Bn.set(e, n), t.value.trigger === "click" ? e.addEventListener("click", n) : (e.addEventListener("mouseenter", n), e.addEventListener("mouseleave", n));
985
985
  },
986
986
  updated(e, t) {
987
- Bn.has(e) && Bn.delete(e), Bn.set(e, t.value);
987
+ zn.has(e) && zn.delete(e), zn.set(e, t.value);
988
988
  },
989
989
  beforeUnmount(e, t) {
990
- Rn && Rn(), Rn = null, Un(zn), Ln = !1;
991
- let n = Vn.get(e);
990
+ Ln && Ln(), Ln = null, Hn(Rn), In = !1;
991
+ let n = Bn.get(e);
992
992
  t.value.trigger === "click" ? e.removeEventListener("click", n) : (e.removeEventListener("mouseenter", n), e.removeEventListener("mouseleave", n));
993
993
  }
994
- }, Kn = 500, qn = 10;
995
- function Jn(e) {
994
+ }, Gn = 500, Kn = 10;
995
+ function qn(e) {
996
996
  return e.dir;
997
997
  }
998
- function Yn(e, t) {
999
- let { modifiers: n = {}, value: r = {} } = e, { handler: i, delay: a = Kn } = r;
998
+ function Jn(e, t) {
999
+ let { modifiers: n = {}, value: r = {} } = e, { handler: i, delay: a = Gn } = r;
1000
1000
  if (i.constructor.name !== "Function") throw Error("[v-ui3n-longpress] The handler as a function should be provided in the directiveю");
1001
1001
  "prevent" in n && t.preventDefault(), "stop" in n && t.stopPropagation(), "self" in n && t.stopImmediatePropagation();
1002
- let o = Jn(e);
1002
+ let o = qn(e);
1003
1003
  o.posStart.x = t.x, o.posStart.y = t.y, o.timeout = setTimeout(() => i(t), a);
1004
1004
  }
1005
- function Xn(e, t) {
1005
+ function Yn(e, t) {
1006
1006
  let { modifiers: n = {}, value: r = {} } = e, { onMouseUpCb: i } = r;
1007
1007
  "prevent" in n && t.preventDefault(), "stop" in n && t.stopPropagation(), "self" in n && t.stopImmediatePropagation();
1008
- let a = Jn(e);
1008
+ let a = qn(e);
1009
1009
  a.timeout !== null && (clearTimeout(a.timeout), a.timeout = null, a.posStart = {
1010
1010
  x: 0,
1011
1011
  y: 0
1012
1012
  }), i && i(t);
1013
1013
  }
1014
- function Zn(e, t) {
1015
- let { modifiers: n = {}, value: r = {} } = e, { distanceThreshold: i = qn } = r;
1014
+ function Xn(e, t) {
1015
+ let { modifiers: n = {}, value: r = {} } = e, { distanceThreshold: i = Kn } = r;
1016
1016
  "prevent" in n && t.preventDefault(), "stop" in n && t.stopPropagation(), "self" in n && t.stopImmediatePropagation();
1017
- let a = Jn(e), o = t.x - a.posStart.x, s = t.y - a.posStart.y, c = Math.sqrt(o * o + s * s);
1017
+ let a = qn(e), o = t.x - a.posStart.x, s = t.y - a.posStart.y, c = Math.sqrt(o * o + s * s);
1018
1018
  a.timeout !== null && c >= i && (clearTimeout(a.timeout), a.timeout = null, a.posStart = {
1019
1019
  x: 0,
1020
1020
  y: 0
1021
1021
  });
1022
1022
  }
1023
- var Qn = {
1023
+ var Zn = {
1024
1024
  pointerdownEvent: () => ({}),
1025
1025
  pointerupEvent: () => ({}),
1026
1026
  pointermoveEvent: () => ({}),
@@ -1030,14 +1030,14 @@ var Qn = {
1030
1030
  y: 0
1031
1031
  },
1032
1032
  mounted(e, t) {
1033
- let n = Jn(t), r = v(e);
1033
+ let n = qn(t), r = v(e);
1034
1034
  if (!r) return;
1035
1035
  let { modifiers: i = {} } = t, a = {
1036
1036
  capture: i?.capture,
1037
1037
  once: i?.once,
1038
1038
  passive: i?.passive
1039
1039
  };
1040
- n.pointerdownEvent = (e) => Yn(t, e), n.pointerupEvent = (e) => Xn(t, e), n.pointermoveEvent = (e) => Zn(t, e), r.addEventListener("pointerdown", n.pointerdownEvent, a), r.addEventListener("pointerup", n.pointerupEvent, a), r.addEventListener("pointermove", n.pointermoveEvent, a);
1040
+ n.pointerdownEvent = (e) => Jn(t, e), n.pointerupEvent = (e) => Yn(t, e), n.pointermoveEvent = (e) => Xn(t, e), r.addEventListener("pointerdown", n.pointerdownEvent, a), r.addEventListener("pointerup", n.pointerupEvent, a), r.addEventListener("pointermove", n.pointermoveEvent, a);
1041
1041
  },
1042
1042
  beforeUnmount(e, t) {
1043
1043
  let n = v(e);
@@ -1046,10 +1046,10 @@ var Qn = {
1046
1046
  capture: r?.capture,
1047
1047
  once: r?.once,
1048
1048
  passive: r?.passive
1049
- }, a = Jn(t);
1049
+ }, a = qn(t);
1050
1050
  n.removeEventListener("pointerdown", a.pointerdownEvent, i), n.removeEventListener("pointerup", a.pointerupEvent, i), n.removeEventListener("pointermove", a.pointermoveEvent, i);
1051
1051
  }
1052
- }, $n = ["id"], er = /* @__PURE__ */ O(/* @__PURE__ */ B({
1052
+ }, Qn = ["id"], $n = /* @__PURE__ */ k(/* @__PURE__ */ B({
1053
1053
  __name: "ui3n-chip",
1054
1054
  props: {
1055
1055
  id: {},
@@ -1074,7 +1074,7 @@ var Qn = {
1074
1074
  },
1075
1075
  emits: ["close", "click"],
1076
1076
  setup(e, { emit: t }) {
1077
- let n = e, r = t, i = Se(), a = P(() => {
1077
+ let n = e, r = t, i = xe(), a = P(() => {
1078
1078
  let e = Number(n.height);
1079
1079
  return isNaN(e) ? 24 : e;
1080
1080
  }), o = P(() => `${a.value}px`), s = P(() => a.value - 4), c = P(() => {
@@ -1106,12 +1106,12 @@ var Qn = {
1106
1106
  }),
1107
1107
  onClick: n[1] ||= (e) => r("click", e)
1108
1108
  }, [
1109
- R("div", { class: V(t.$style.ui3nChipIcon) }, [K(t.$slots, "left", {
1109
+ R("div", { class: V(t.$style.ui3nChipIcon) }, [q(t.$slots, "left", {
1110
1110
  size: s.value,
1111
1111
  color: f.value
1112
1112
  })], 2),
1113
- R("div", { class: V(t.$style.ui3nChipBody) }, [K(t.$slots, "default")], 2),
1114
- e.closeable ? (W(), F(k, {
1113
+ R("div", { class: V(t.$style.ui3nChipBody) }, [q(t.$slots, "default")], 2),
1114
+ e.closeable ? (W(), F(A, {
1115
1115
  key: 0,
1116
1116
  type: "icon",
1117
1117
  size: "small",
@@ -1119,9 +1119,9 @@ var Qn = {
1119
1119
  icon: "round-close",
1120
1120
  "icon-color": "var(--color-icon-control-primary-default)",
1121
1121
  disabled: e.disabled,
1122
- onClick: n[0] ||= Q((e) => r("close"), ["stop", "prevent"])
1122
+ onClick: n[0] ||= $((e) => r("close"), ["stop", "prevent"])
1123
1123
  }, null, 8, ["disabled"])) : I("", !0)
1124
- ], 14, $n));
1124
+ ], 14, Qn));
1125
1125
  }
1126
1126
  }), [["__cssModules", { $style: {
1127
1127
  ui3nChip: "_ui3nChip_prky3_1",
@@ -1133,7 +1133,7 @@ var Qn = {
1133
1133
  ui3nChipIcon: "_ui3nChipIcon_prky3_33",
1134
1134
  round: "_round_prky3_41",
1135
1135
  plain: "_plain_prky3_50"
1136
- } }]]), tr = ["name"], nr = ["width", "height"], rr = /* @__PURE__ */ O(/* @__PURE__ */ B({
1136
+ } }]]), er = ["name"], tr = ["width", "height"], nr = /* @__PURE__ */ k(/* @__PURE__ */ B({
1137
1137
  __name: "ui3n-drop-files",
1138
1138
  props: {
1139
1139
  name: { default: void 0 },
@@ -1147,7 +1147,7 @@ var Qn = {
1147
1147
  },
1148
1148
  emits: ["select"],
1149
1149
  setup(e, { expose: t, emit: n }) {
1150
- let r = Fn, i = e, a = n, o = G(null), s = G(null), c = G(0), l = G(!1), u = G(!1);
1150
+ let r = Pn, i = e, a = n, o = G(null), s = G(null), c = G(0), l = G(!1), u = G(!1);
1151
1151
  function d(e) {
1152
1152
  e.preventDefault(), l.value = !0;
1153
1153
  }
@@ -1180,11 +1180,11 @@ var Qn = {
1180
1180
  function v() {
1181
1181
  s.value && (s.value.value = ""), l.value = !1, u.value = !1, a("select", new DataTransfer().files);
1182
1182
  }
1183
- return t({ clear: v }), Y(() => i.name, (e) => {
1183
+ return t({ clear: v }), X(() => i.name, (e) => {
1184
1184
  !e && s.value && (s.value.value = "");
1185
1185
  }), U(() => {
1186
1186
  _();
1187
- }), (t, n) => Te((W(), L("div", {
1187
+ }), (t, n) => we((W(), L("div", {
1188
1188
  ref_key: "wrapperElement",
1189
1189
  ref: o,
1190
1190
  class: V([
@@ -1193,7 +1193,7 @@ var Qn = {
1193
1193
  (l.value || u.value) && t.$style.ui3nDropFilesWithAccentBorder
1194
1194
  ]),
1195
1195
  onDragenter: d,
1196
- onDragover: n[2] ||= Q(() => {}, ["prevent"]),
1196
+ onDragover: n[2] ||= $(() => {}, ["prevent"]),
1197
1197
  onDragleave: f
1198
1198
  }, [
1199
1199
  e.name ? (W(), L("input", {
@@ -1204,8 +1204,8 @@ var Qn = {
1204
1204
  name: e.name,
1205
1205
  multiple: "",
1206
1206
  hidden: ""
1207
- }, null, 8, tr)) : I("", !0),
1208
- K(t.$slots, "default"),
1207
+ }, null, 8, er)) : I("", !0),
1208
+ q(t.$slots, "default"),
1209
1209
  e.permanentDisplay || l.value || u.value ? (W(), L("div", {
1210
1210
  key: 1,
1211
1211
  class: V(t.$style.ui3nDropFilesDropzone),
@@ -1214,7 +1214,7 @@ var Qn = {
1214
1214
  onDragleave: h,
1215
1215
  onDrop: g
1216
1216
  }, [
1217
- R("h3", { class: V(t.$style.ui3nDropFilesDropzoneTitle) }, q(e.title), 3),
1217
+ R("h3", { class: V(t.$style.ui3nDropFilesDropzoneTitle) }, J(e.title), 3),
1218
1218
  R("div", { class: V(t.$style.ui3nDropFilesDropzoneIcon) }, [(W(), L("svg", {
1219
1219
  width: c.value * .35,
1220
1220
  height: c.value * .35,
@@ -1224,14 +1224,14 @@ var Qn = {
1224
1224
  }, [...n[3] ||= [R("path", {
1225
1225
  d: "M51 152C47.9333 152 45.3333 150.934 43.2 148.8C41.0667 146.667 40 144.067 40 141V119.8H46.2V141C46.2 142.2 46.7 143.3 47.7 144.3C48.7 145.3 49.8 145.8 51 145.8H141C142.2 145.8 143.3 145.3 144.3 144.3C145.3 143.3 145.8 142.2 145.8 141V119.8H152V141C152 144.067 150.933 146.667 148.8 148.8C146.667 150.934 144.067 152 141 152H51ZM93 122.4V49.2002L72.8 69.2002L68.4 65.0002L96 37.2002L123.6 65.0002L119.2 69.2002L99 49.2002V122.4H93Z",
1226
1226
  fill: "var(--color-icon-control-primary-default)"
1227
- }, null, -1)]], 8, nr))], 2),
1227
+ }, null, -1)]], 8, tr))], 2),
1228
1228
  R("div", {
1229
1229
  class: V(t.$style.ui3nDropFilesDropzoneAdditional),
1230
- onDragenter: n[0] ||= Q(() => {}, ["stop", "prevent"]),
1231
- onDragleave: n[1] ||= Q(() => {}, ["stop", "prevent"])
1232
- }, [K(t.$slots, "additional-text")], 34)
1230
+ onDragenter: n[0] ||= $(() => {}, ["stop", "prevent"]),
1231
+ onDragleave: n[1] ||= $(() => {}, ["stop", "prevent"])
1232
+ }, [q(t.$slots, "additional-text")], 34)
1233
1233
  ], 34)) : I("", !0)
1234
- ], 34)), [[J(r), () => _()]]);
1234
+ ], 34)), [[Y(r), () => _()]]);
1235
1235
  }
1236
1236
  }), [["__cssModules", { $style: {
1237
1237
  ui3nDropFiles: "_ui3nDropFiles_gssdx_1",
@@ -1241,7 +1241,7 @@ var Qn = {
1241
1241
  ui3nDropFilesDropzoneTitle: "_ui3nDropFilesDropzoneTitle_gssdx_33",
1242
1242
  ui3nDropFilesDropzoneIcon: "_ui3nDropFilesDropzoneIcon_gssdx_41",
1243
1243
  ui3nDropFilesDropzoneAdditional: "_ui3nDropFilesDropzoneAdditional_gssdx_53"
1244
- } }]]), ir = /* @__PURE__ */ O(/* @__PURE__ */ B({
1244
+ } }]]), rr = /* @__PURE__ */ k(/* @__PURE__ */ B({
1245
1245
  __name: "ui3n-emoji",
1246
1246
  props: {
1247
1247
  emoji: {},
@@ -1263,19 +1263,19 @@ var Qn = {
1263
1263
  function s(e) {
1264
1264
  e.stopPropagation(), r("click", e);
1265
1265
  }
1266
- return Y(() => n.emoji, (e) => {
1266
+ return X(() => n.emoji, (e) => {
1267
1267
  Object.keys(te).includes(e) || console.error(`[Ui3nEmoji] Invalid emoticon: ${e}`);
1268
1268
  }, { immediate: !0 }), (t, n) => (W(), L("div", ue({
1269
1269
  ref_key: "emojiElement",
1270
1270
  ref: i,
1271
1271
  class: [t.$style.ui3nEmoji, e.readonly && t.$style.readonly],
1272
1272
  style: o.value
1273
- }, ye(e.readonly ? {} : { click: s }, !0)), q(a.value && a.value.value), 17));
1273
+ }, ve(e.readonly ? {} : { click: s }, !0)), J(a.value && a.value.value), 17));
1274
1274
  }
1275
1275
  }), [["__cssModules", { $style: {
1276
1276
  ui3nEmoji: "_ui3nEmoji_12jhb_1",
1277
1277
  readonly: "_readonly_12jhb_15"
1278
- } }]]), ar = ["id"], or = [
1278
+ } }]]), ir = ["id"], ar = [
1279
1279
  "autocomplete",
1280
1280
  "type",
1281
1281
  "placeholder",
@@ -1285,7 +1285,7 @@ var Qn = {
1285
1285
  "maxlength",
1286
1286
  "minlength",
1287
1287
  "value"
1288
- ], sr = /* @__PURE__ */ O(/* @__PURE__ */ B({
1288
+ ], or = /* @__PURE__ */ k(/* @__PURE__ */ B({
1289
1289
  __name: "ui3n-input",
1290
1290
  props: {
1291
1291
  id: {},
@@ -1344,7 +1344,7 @@ var Qn = {
1344
1344
  "update:valid"
1345
1345
  ],
1346
1346
  setup(e, { expose: t, emit: n }) {
1347
- let r = e, i = n, a = Se(), o = G(null), s = G(""), c = G(!1), l = G(!1), u = G(""), d = P(() => !!a["prepend-icon"]), f = P(() => !!a["append-icon"]), p = P(() => r.displayStateMode === "success" && r.displayStateWithIcon && !l.value), m = P(() => !r.disabled && r.clearable && !!s.value && !p.value), h = P(() => p.value || m.value || f.value), g = P(() => !!u.value || !!(r.displayStateMode && r.displayStateMessage)), _ = P(() => !!u.value || r.displayStateMode === "error" && !!r.displayStateMessage), v = P(() => r.displayStateMode === "success" && !!r.displayStateMessage);
1347
+ let r = e, i = n, a = xe(), o = G(null), s = G(""), c = G(!1), l = G(!1), u = G(""), d = P(() => !!a["prepend-icon"]), f = P(() => !!a["append-icon"]), p = P(() => r.displayStateMode === "success" && r.displayStateWithIcon && !l.value), m = P(() => !r.disabled && r.clearable && !!s.value && !p.value), h = P(() => p.value || m.value || f.value), g = P(() => !!u.value || !!(r.displayStateMode && r.displayStateMessage)), _ = P(() => !!u.value || r.displayStateMode === "error" && !!r.displayStateMessage), v = P(() => r.displayStateMode === "success" && !!r.displayStateMessage);
1348
1348
  function y(e) {
1349
1349
  return e.target.value;
1350
1350
  }
@@ -1383,27 +1383,27 @@ var Qn = {
1383
1383
  shiftKey: a
1384
1384
  });
1385
1385
  }
1386
- function ee(e) {
1386
+ function E(e) {
1387
1387
  c.value = !0, b(s.value), i("escape", e);
1388
1388
  }
1389
- function E(e) {
1389
+ function D(e) {
1390
1390
  i("keydown", e);
1391
1391
  }
1392
- function D() {
1392
+ function O() {
1393
1393
  s.value = "", c.value = !1, u.value = "", o.value && (o.value.value = "", o.value.focus()), i("update:modelValue", ""), i("input", ""), i("change", ""), i("clear"), i("update:valid", !0);
1394
1394
  }
1395
1395
  return t({
1396
1396
  inputElement: o,
1397
1397
  isDirty: c,
1398
1398
  isFocused: l,
1399
- clearValue: D
1399
+ clearValue: O
1400
1400
  }), U(() => {
1401
1401
  s.value = r.modelValue ?? "", o.value && (i("init", o.value), r.autofocus && o.value.focus()), r.validateAtStartup && (c.value = !0, b(s.value));
1402
- }), Y(() => r.modelValue, (e) => {
1402
+ }), X(() => r.modelValue, (e) => {
1403
1403
  let t = e ?? "";
1404
1404
  t !== s.value && (s.value = t, b(t, !0));
1405
- }), Y(() => r.name, (e) => {
1406
- e || D();
1405
+ }), X(() => r.name, (e) => {
1406
+ e || O();
1407
1407
  }), (t, n) => (W(), L("div", {
1408
1408
  id: e.id,
1409
1409
  class: V([
@@ -1419,7 +1419,7 @@ var Qn = {
1419
1419
  e.label ? (W(), L("label", {
1420
1420
  key: 0,
1421
1421
  class: V(t.$style.ui3nInputLabel)
1422
- }, q(e.label), 3)) : I("", !0),
1422
+ }, J(e.label), 3)) : I("", !0),
1423
1423
  R("div", { class: V([
1424
1424
  t.$style.inputWrapper,
1425
1425
  d.value && t.$style.withPrepend,
@@ -1428,7 +1428,7 @@ var Qn = {
1428
1428
  d.value ? (W(), L("div", {
1429
1429
  key: 0,
1430
1430
  class: V(t.$style.prependIconSlot)
1431
- }, [K(t.$slots, "prepend-icon")], 2)) : I("", !0),
1431
+ }, [q(t.$slots, "prepend-icon")], 2)) : I("", !0),
1432
1432
  R("input", {
1433
1433
  ref_key: "inputElement",
1434
1434
  ref: o,
@@ -1444,26 +1444,26 @@ var Qn = {
1444
1444
  class: V(t.$style.ui3nInputField),
1445
1445
  onInput: w,
1446
1446
  onKeydown: [
1447
- Z(T, ["enter"]),
1448
- Z(ee, ["esc"]),
1449
- E
1447
+ Q(T, ["enter"]),
1448
+ Q(E, ["esc"]),
1449
+ D
1450
1450
  ],
1451
1451
  onFocus: x,
1452
1452
  onBlur: S,
1453
1453
  onChange: C
1454
- }, null, 42, or),
1454
+ }, null, 42, ar),
1455
1455
  h.value ? (W(), L("div", {
1456
1456
  key: 1,
1457
1457
  class: V(t.$style.appendIconSlot)
1458
1458
  }, [
1459
- p.value ? (W(), F(A, {
1459
+ p.value ? (W(), F(ee, {
1460
1460
  key: 0,
1461
1461
  icon: "round-check-circle-outline",
1462
1462
  size: 16,
1463
1463
  color: "var(--success-content-default)",
1464
1464
  class: V(t.$style.appendSlotItem)
1465
1465
  }, null, 8, ["class"])) : I("", !0),
1466
- m.value ? (W(), F(k, {
1466
+ m.value ? (W(), F(A, {
1467
1467
  key: 1,
1468
1468
  type: "icon",
1469
1469
  size: "small",
@@ -1472,11 +1472,11 @@ var Qn = {
1472
1472
  "icon-size": "16",
1473
1473
  "icon-color": "var(--color-icon-control-accent-default)",
1474
1474
  class: V(t.$style.appendSlotItem),
1475
- onMousedown: n[0] ||= Q(() => {}, ["prevent"]),
1476
- onTouchstart: n[1] ||= Q(() => {}, ["prevent"]),
1477
- onClick: D
1475
+ onMousedown: n[0] ||= $(() => {}, ["prevent"]),
1476
+ onTouchstart: n[1] ||= $(() => {}, ["prevent"]),
1477
+ onClick: O
1478
1478
  }, null, 8, ["class"])) : I("", !0),
1479
- f.value ? K(t.$slots, "append-icon", { key: 2 }) : I("", !0)
1479
+ f.value ? q(t.$slots, "append-icon", { key: 2 }) : I("", !0)
1480
1480
  ], 2)) : I("", !0)
1481
1481
  ], 2),
1482
1482
  g.value ? (W(), L("div", {
@@ -1486,8 +1486,8 @@ var Qn = {
1486
1486
  _.value && t.$style.ui3nInputErrorMessage,
1487
1487
  v.value && t.$style.ui3nInputSuccessMessage
1488
1488
  ])
1489
- }, q(u.value || e.displayStateMessage), 3)) : I("", !0)
1490
- ], 10, ar));
1489
+ }, J(u.value || e.displayStateMessage), 3)) : I("", !0)
1490
+ ], 10, ir));
1491
1491
  }
1492
1492
  }), [["__cssModules", { $style: {
1493
1493
  ui3nInput: "_ui3nInput_dhax2_1",
@@ -1508,28 +1508,28 @@ var Qn = {
1508
1508
  error: "_error_dhax2_143",
1509
1509
  success: "_success_dhax2_155",
1510
1510
  disabled: "_disabled_dhax2_159"
1511
- } }]]), cr = /* @__PURE__ */ g(((e, t) => {
1511
+ } }]]), sr = /* @__PURE__ */ g(((e, t) => {
1512
1512
  var n = u(), r = c(), i = S(), a = "[object String]";
1513
1513
  function o(e) {
1514
1514
  return typeof e == "string" || !r(e) && i(e) && n(e) == a;
1515
1515
  }
1516
1516
  t.exports = o;
1517
- })), lr = /* @__PURE__ */ g(((e, t) => {
1517
+ })), cr = /* @__PURE__ */ g(((e, t) => {
1518
1518
  function n(e) {
1519
1519
  return function(t) {
1520
1520
  return t?.[e];
1521
1521
  };
1522
1522
  }
1523
1523
  t.exports = n;
1524
+ })), lr = /* @__PURE__ */ g(((e, t) => {
1525
+ t.exports = cr()("length");
1524
1526
  })), ur = /* @__PURE__ */ g(((e, t) => {
1525
- t.exports = lr()("length");
1526
- })), dr = /* @__PURE__ */ g(((e, t) => {
1527
1527
  var n = RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");
1528
1528
  function r(e) {
1529
1529
  return n.test(e);
1530
1530
  }
1531
1531
  t.exports = r;
1532
- })), fr = /* @__PURE__ */ g(((e, t) => {
1532
+ })), dr = /* @__PURE__ */ g(((e, t) => {
1533
1533
  var n = "\\ud800-\\udfff", r = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff", i = "\\ufe0e\\ufe0f", a = "[" + n + "]", o = "[" + r + "]", s = "\\ud83c[\\udffb-\\udfff]", c = "(?:" + o + "|" + s + ")", l = "[^" + n + "]", u = "(?:\\ud83c[\\udde6-\\uddff]){2}", d = "[\\ud800-\\udbff][\\udc00-\\udfff]", f = "\\u200d", p = c + "?", m = "[" + i + "]?", h = "(?:" + f + "(?:" + [
1534
1534
  l,
1535
1535
  u,
@@ -1546,14 +1546,14 @@ var Qn = {
1546
1546
  return t;
1547
1547
  }
1548
1548
  t.exports = y;
1549
- })), pr = /* @__PURE__ */ g(((e, t) => {
1550
- var n = ur(), r = dr(), i = fr();
1549
+ })), fr = /* @__PURE__ */ g(((e, t) => {
1550
+ var n = lr(), r = ur(), i = dr();
1551
1551
  function a(e) {
1552
1552
  return r(e) ? i(e) : n(e);
1553
1553
  }
1554
1554
  t.exports = a;
1555
- })), mr = /* @__PURE__ */ g(((e, t) => {
1556
- var r = n(), i = o(), a = s(), c = cr(), l = pr(), u = "[object Map]", d = "[object Set]";
1555
+ })), pr = /* @__PURE__ */ g(((e, t) => {
1556
+ var r = n(), i = o(), a = s(), c = sr(), l = fr(), u = "[object Map]", d = "[object Set]";
1557
1557
  function f(e) {
1558
1558
  if (e == null) return 0;
1559
1559
  if (a(e)) return c(e) ? l(e) : e.length;
@@ -1561,56 +1561,56 @@ var Qn = {
1561
1561
  return t == u || t == d ? e.size : r(e).length;
1562
1562
  }
1563
1563
  t.exports = f;
1564
- })), hr = /* @__PURE__ */ g(((e, t) => {
1565
- var n = cn();
1564
+ })), mr = /* @__PURE__ */ g(((e, t) => {
1565
+ var n = sn();
1566
1566
  function r(e, t, r) {
1567
1567
  var i = e.length;
1568
1568
  return r = r === void 0 ? i : r, !t && r >= i ? e : n(e, t, r);
1569
1569
  }
1570
1570
  t.exports = r;
1571
- })), gr = /* @__PURE__ */ g(((e, t) => {
1571
+ })), hr = /* @__PURE__ */ g(((e, t) => {
1572
1572
  function n(e, t, n, r) {
1573
1573
  for (var i = e.length, a = n + (r ? 1 : -1); r ? a-- : ++a < i;) if (t(e[a], a, e)) return a;
1574
1574
  return -1;
1575
1575
  }
1576
1576
  t.exports = n;
1577
- })), _r = /* @__PURE__ */ g(((e, t) => {
1577
+ })), gr = /* @__PURE__ */ g(((e, t) => {
1578
1578
  function n(e) {
1579
1579
  return e !== e;
1580
1580
  }
1581
1581
  t.exports = n;
1582
- })), vr = /* @__PURE__ */ g(((e, t) => {
1582
+ })), _r = /* @__PURE__ */ g(((e, t) => {
1583
1583
  function n(e, t, n) {
1584
1584
  for (var r = n - 1, i = e.length; ++r < i;) if (e[r] === t) return r;
1585
1585
  return -1;
1586
1586
  }
1587
1587
  t.exports = n;
1588
- })), yr = /* @__PURE__ */ g(((e, t) => {
1589
- var n = gr(), r = _r(), i = vr();
1588
+ })), vr = /* @__PURE__ */ g(((e, t) => {
1589
+ var n = hr(), r = gr(), i = _r();
1590
1590
  function a(e, t, a) {
1591
1591
  return t === t ? i(e, t, a) : n(e, r, a);
1592
1592
  }
1593
1593
  t.exports = a;
1594
- })), br = /* @__PURE__ */ g(((e, t) => {
1595
- var n = yr();
1594
+ })), yr = /* @__PURE__ */ g(((e, t) => {
1595
+ var n = vr();
1596
1596
  function r(e, t) {
1597
1597
  for (var r = e.length; r-- && n(t, e[r], 0) > -1;);
1598
1598
  return r;
1599
1599
  }
1600
1600
  t.exports = r;
1601
- })), xr = /* @__PURE__ */ g(((e, t) => {
1602
- var n = yr();
1601
+ })), br = /* @__PURE__ */ g(((e, t) => {
1602
+ var n = vr();
1603
1603
  function r(e, t) {
1604
1604
  for (var r = -1, i = e.length; ++r < i && n(t, e[r], 0) > -1;);
1605
1605
  return r;
1606
1606
  }
1607
1607
  t.exports = r;
1608
- })), Sr = /* @__PURE__ */ g(((e, t) => {
1608
+ })), xr = /* @__PURE__ */ g(((e, t) => {
1609
1609
  function n(e) {
1610
1610
  return e.split("");
1611
1611
  }
1612
1612
  t.exports = n;
1613
- })), Cr = /* @__PURE__ */ g(((e, t) => {
1613
+ })), Sr = /* @__PURE__ */ g(((e, t) => {
1614
1614
  var n = "\\ud800-\\udfff", r = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff", i = "\\ufe0e\\ufe0f", a = "[" + n + "]", o = "[" + r + "]", s = "\\ud83c[\\udffb-\\udfff]", c = "(?:" + o + "|" + s + ")", l = "[^" + n + "]", u = "(?:\\ud83c[\\udde6-\\uddff]){2}", d = "[\\ud800-\\udbff][\\udc00-\\udfff]", f = "\\u200d", p = c + "?", m = "[" + i + "]?", h = "(?:" + f + "(?:" + [
1615
1615
  l,
1616
1616
  u,
@@ -1626,14 +1626,14 @@ var Qn = {
1626
1626
  return e.match(v) || [];
1627
1627
  }
1628
1628
  t.exports = y;
1629
- })), wr = /* @__PURE__ */ g(((e, t) => {
1630
- var n = Sr(), r = dr(), i = Cr();
1629
+ })), Cr = /* @__PURE__ */ g(((e, t) => {
1630
+ var n = xr(), r = ur(), i = Sr();
1631
1631
  function a(e) {
1632
1632
  return r(e) ? i(e) : n(e);
1633
1633
  }
1634
1634
  t.exports = a;
1635
- })), Tr = /* @__PURE__ */ g(((e, t) => {
1636
- var n = tn(), r = jn(), i = hr(), a = br(), o = xr(), s = wr(), c = nn();
1635
+ })), wr = /* @__PURE__ */ g(((e, t) => {
1636
+ var n = en(), r = An(), i = mr(), a = yr(), o = br(), s = Cr(), c = tn();
1637
1637
  function l(e, t, l) {
1638
1638
  if (e = c(e), e && (l || t === void 0)) return r(e);
1639
1639
  if (!e || !(t = n(t))) return e;
@@ -1641,13 +1641,13 @@ var Qn = {
1641
1641
  return i(u, o(u, d), a(u, d) + 1).join("");
1642
1642
  }
1643
1643
  t.exports = l;
1644
- })), $ = /* @__PURE__ */ p(mr(), 1), Er = /* @__PURE__ */ p(an(), 1), Dr = /* @__PURE__ */ p(Tr(), 1), Or = ["for"], kr = [
1644
+ })), Tr = /* @__PURE__ */ p(pr(), 1), Er = /* @__PURE__ */ p(rn(), 1), Dr = /* @__PURE__ */ p(wr(), 1), Or = ["for"], kr = [
1645
1645
  "id",
1646
1646
  "name",
1647
1647
  "multiple",
1648
1648
  "accept",
1649
1649
  "disabled"
1650
- ], Ar = /* @__PURE__ */ O(/* @__PURE__ */ B({
1650
+ ], Ar = /* @__PURE__ */ k(/* @__PURE__ */ B({
1651
1651
  __name: "ui3n-input-file",
1652
1652
  props: {
1653
1653
  id: {},
@@ -1670,7 +1670,7 @@ var Qn = {
1670
1670
  if (!e) return !1;
1671
1671
  if (!i.maxFileSize) return !0;
1672
1672
  let { name: t, size: n } = e;
1673
- return n > i.maxFileSize ? (a("error", `The [${t}] file is too big. Maximum file size ${ee(i.maxFileSize)}`), !1) : !0;
1673
+ return n > i.maxFileSize ? (a("error", `The [${t}] file is too big. Maximum file size ${E(i.maxFileSize)}`), !1) : !0;
1674
1674
  }
1675
1675
  function u(e) {
1676
1676
  if (!e) return !1;
@@ -1684,14 +1684,14 @@ var Qn = {
1684
1684
  }
1685
1685
  function f(e = []) {
1686
1686
  if (!i.maxNumberOfFiles) return !0;
1687
- let t = (0, $.default)(i.modelValue) + (0, $.default)(e) <= Number(i.maxNumberOfFiles);
1687
+ let t = (0, Tr.default)(i.modelValue) + (0, Tr.default)(e) <= Number(i.maxNumberOfFiles);
1688
1688
  return t || a("error", `You cannot select more than ${i.maxNumberOfFiles} files.`), t;
1689
1689
  }
1690
1690
  function p(e) {
1691
- if ((0, $.default)(e)) {
1691
+ if ((0, Tr.default)(e)) {
1692
1692
  if (!f(e)) return;
1693
1693
  let t = e.filter((e) => d(e)).filter((e) => l(e)).filter((e) => u(e));
1694
- (0, $.default)(t) > 0 && a("update:modelValue", [...i.modelValue, ...t]);
1694
+ (0, Tr.default)(t) > 0 && a("update:modelValue", [...i.modelValue, ...t]);
1695
1695
  }
1696
1696
  }
1697
1697
  function m() {
@@ -1700,14 +1700,14 @@ var Qn = {
1700
1700
  function h() {
1701
1701
  s.value && (s.value.value = ""), a("update:modelValue", []);
1702
1702
  }
1703
- return n({ clear: h }), Y(() => i.name, (e) => {
1703
+ return n({ clear: h }), X(() => i.name, (e) => {
1704
1704
  e || h();
1705
1705
  }), (t, n) => (W(), L("div", { class: V(t.$style.ui3nInputFile) }, [R("label", {
1706
- for: J(o),
1706
+ for: Y(o),
1707
1707
  class: V([t.$style.label, e.disabled && t.$style.disabled]),
1708
- onClick: Q(c, ["stop", "prevent"])
1709
- }, [K(t.$slots, "default", {}, () => [ce(q(e.buttonText), 1)])], 10, Or), R("input", {
1710
- id: J(o),
1708
+ onClick: $(c, ["stop", "prevent"])
1709
+ }, [q(t.$slots, "default", {}, () => [ce(J(e.buttonText), 1)])], 10, Or), R("input", {
1710
+ id: Y(o),
1711
1711
  ref_key: "fileInput",
1712
1712
  ref: s,
1713
1713
  type: "file",
@@ -1731,7 +1731,7 @@ var Qn = {
1731
1731
  "rows",
1732
1732
  "max-rows",
1733
1733
  "disabled"
1734
- ], Nr = /* @__PURE__ */ O(/* @__PURE__ */ B({
1734
+ ], Nr = /* @__PURE__ */ k(/* @__PURE__ */ B({
1735
1735
  __name: "ui3n-text",
1736
1736
  props: {
1737
1737
  id: {},
@@ -1808,10 +1808,10 @@ var Qn = {
1808
1808
  o.value = "", l.value = "", s.value = !1, a.value && (a.value.value = ""), i("update:modelValue", ""), i("input", ""), i("change", ""), i("update:valid", !0);
1809
1809
  }
1810
1810
  return t({ clear: _ }), U(() => {
1811
- a.value && (E(a.value), i("init", a.value)), r.validateAtStartup && u(o.value);
1812
- }), Y(() => r.name, (e) => {
1811
+ a.value && (D(a.value), i("init", a.value)), r.validateAtStartup && u(o.value);
1812
+ }), X(() => r.name, (e) => {
1813
1813
  e || _();
1814
- }), Y(() => r.modelValue, (e, t) => {
1814
+ }), X(() => r.modelValue, (e, t) => {
1815
1815
  (e ?? "") !== (t ?? "") && (o.value = e ?? "", u(o.value, s.value || r.validateAtStartup));
1816
1816
  }, { immediate: !0 }), (t, n) => (W(), L("div", {
1817
1817
  id: e.id,
@@ -1825,7 +1825,7 @@ var Qn = {
1825
1825
  e.label ? (W(), L("label", {
1826
1826
  key: 0,
1827
1827
  class: V(t.$style.label)
1828
- }, q(e.label), 3)) : I("", !0),
1828
+ }, J(e.label), 3)) : I("", !0),
1829
1829
  R("div", { class: V(t.$style.body) }, [R("textarea", ue({
1830
1830
  ref_key: "textareaElement",
1831
1831
  ref: a,
@@ -1840,8 +1840,8 @@ var Qn = {
1840
1840
  }, t.$attrs, {
1841
1841
  onInput: p,
1842
1842
  onKeydown: [
1843
- Z(m, ["enter"]),
1844
- Z(h, ["esc"]),
1843
+ Q(m, ["enter"]),
1844
+ Q(h, ["esc"]),
1845
1845
  g
1846
1846
  ],
1847
1847
  onFocusin: d,
@@ -1850,7 +1850,7 @@ var Qn = {
1850
1850
  l.value ? (W(), L("div", {
1851
1851
  key: 1,
1852
1852
  class: V(t.$style.errorBlock)
1853
- }, q(l.value), 3)) : I("", !0)
1853
+ }, J(l.value), 3)) : I("", !0)
1854
1854
  ], 10, jr));
1855
1855
  }
1856
1856
  }), [["__cssModules", { $style: {
@@ -1868,7 +1868,7 @@ var Qn = {
1868
1868
  "disabled",
1869
1869
  "checked",
1870
1870
  "value"
1871
- ], Ir = ["tabindex"], Lr = ["width", "height"], Rr = ["width", "height"], zr = /* @__PURE__ */ O(/* @__PURE__ */ B({
1871
+ ], Ir = ["tabindex"], Lr = ["width", "height"], Rr = ["width", "height"], zr = /* @__PURE__ */ k(/* @__PURE__ */ B({
1872
1872
  __name: "ui3n-checkbox",
1873
1873
  props: {
1874
1874
  id: {},
@@ -1910,7 +1910,7 @@ var Qn = {
1910
1910
  },
1911
1911
  emits: ["change", "update:modelValue"],
1912
1912
  setup(e, { expose: t, emit: n }) {
1913
- let r = D, i = e, a = n, o = Se(), s = be(), c = G(null), l = G(i.modelValue), u = G(i.indeterminate), d = P(() => u.value ? "indeterminate" : l.value === i.checkedValue ? "checked" : "unchecked"), f = P(() => typeof l.value == "boolean" ? l.value ? "on" : "" : String(l.value)), p = P(() => {
1913
+ let r = O, i = e, a = n, o = xe(), s = ye(), c = G(null), l = G(i.modelValue), u = G(i.indeterminate), d = P(() => u.value ? "indeterminate" : l.value === i.checkedValue ? "checked" : "unchecked"), f = P(() => typeof l.value == "boolean" ? l.value ? "on" : "" : String(l.value)), p = P(() => {
1914
1914
  let e = parseFloat(String(i.size));
1915
1915
  return isNaN(e) ? 12 : e - 4;
1916
1916
  }), m = P(() => ({
@@ -1929,9 +1929,9 @@ var Qn = {
1929
1929
  function v() {
1930
1930
  l.value = i.uncheckedValue, u.value = !1, a("change", l.value), a("update:modelValue", l.value);
1931
1931
  }
1932
- return t({ clear: v }), Y(() => i.name, (e) => {
1932
+ return t({ clear: v }), X(() => i.name, (e) => {
1933
1933
  e || v();
1934
- }), Y(() => i.modelValue, (e) => l.value = e), Y(() => i.indeterminate, (e) => u.value = e), fe(() => {
1934
+ }), X(() => i.modelValue, (e) => l.value = e), X(() => i.indeterminate, (e) => u.value = e), fe(() => {
1935
1935
  let e = typeof i.checkedValue, t = typeof i.uncheckedValue, n = typeof i.modelValue;
1936
1936
  if (e !== t || e !== n || t !== n) throw Error("[Ui3nCheckbox] types of \"value\", \"checkedValue\" and \"uncheckedValue\" are different");
1937
1937
  }), (t, n) => (W(), L("div", {
@@ -1950,10 +1950,10 @@ var Qn = {
1950
1950
  checked: d.value !== "unchecked",
1951
1951
  value: f.value
1952
1952
  }, null, 8, Fr),
1953
- Te((W(), L("div", {
1953
+ we((W(), L("div", {
1954
1954
  class: V(g.value),
1955
1955
  tabindex: e.disabled ? -1 : 0,
1956
- onKeydown: [Z(_, ["space"]), Z(_, ["enter"])],
1956
+ onKeydown: [Q(_, ["space"]), Q(_, ["enter"])],
1957
1957
  onClick: _
1958
1958
  }, [d.value === "checked" ? (W(), L("svg", {
1959
1959
  key: 0,
@@ -1981,11 +1981,11 @@ var Qn = {
1981
1981
  "stroke-width": "3",
1982
1982
  "stroke-linecap": "round",
1983
1983
  "stroke-linejoin": "round"
1984
- })], -1)]], 10, Rr)) : I("", !0)], 42, Ir)), [[J(r)]]),
1984
+ })], -1)]], 10, Rr)) : I("", !0)], 42, Ir)), [[Y(r)]]),
1985
1985
  R("div", {
1986
1986
  class: V(t.$style.ui3nCheckboxLabel),
1987
1987
  onClick: _
1988
- }, [K(t.$slots, "default")], 2)
1988
+ }, [q(t.$slots, "default")], 2)
1989
1989
  ], 14, Pr));
1990
1990
  }
1991
1991
  }), [["__cssModules", { $style: {
@@ -2013,7 +2013,7 @@ var Qn = {
2013
2013
  mode: "out-in",
2014
2014
  name: "fade"
2015
2015
  }, {
2016
- default: X(() => [(W(), F(A, {
2016
+ default: Z(() => [(W(), F(ee, {
2017
2017
  key: n.value,
2018
2018
  icon: n.value,
2019
2019
  size: r.value,
@@ -2027,37 +2027,75 @@ var Qn = {
2027
2027
  }));
2028
2028
  }
2029
2029
  }), Vr = /* @__PURE__ */ g(((e, t) => {
2030
- var n = sn();
2030
+ var n = on();
2031
2031
  function r(e, t, r) {
2032
2032
  var i = e == null ? void 0 : n(e, t);
2033
2033
  return i === void 0 ? r : i;
2034
2034
  }
2035
2035
  t.exports = r;
2036
2036
  })), Hr = /* @__PURE__ */ g(((e, t) => {
2037
- var n = Yt(), r = 1, i = 4;
2037
+ var n = Jt(), r = 1, i = 4;
2038
2038
  function a(e) {
2039
2039
  return n(e, r | i);
2040
2040
  }
2041
2041
  t.exports = a;
2042
- })), Ur = /* @__PURE__ */ p(Vr(), 1), Wr = /* @__PURE__ */ p(r(), 1), Gr = /* @__PURE__ */ p(Hr(), 1);
2043
- function Kr(e, t) {
2044
- let n = G(null), r = G({
2045
- sortOrder: m(),
2046
- fieldAsRowKey: p()
2047
- }), i = r.value?.fieldAsRowKey ? G([]) : G(/* @__PURE__ */ new Set()), a = G(!1), o = P(() => !!r.value.fieldAsRowKey), s = P(() => e.head.filter((e) => !e.hidden)), c = P(() => o.value ? e.body.content.filter((e) => i.value.includes(e[r.value.fieldAsRowKey])) : Array.from(i.value)), l = P(() => o.value ? (0, $.default)(i.value) : i.value.size), u = P(() => e.config?.selectable === "multiple" && a.value), d = P(() => {
2048
- if (!n.value) return "100%";
2049
- let { config: t = {}, head: r } = e, { columnStyle: i } = t;
2050
- return r.filter((e) => !e.hidden).map((e) => e.key).reduce((e, t, n) => {
2051
- let r = (0, Ur.default)(i, [t, "width"], "1fr");
2042
+ })), Ur = /* @__PURE__ */ p(Vr(), 1), Wr = /* @__PURE__ */ p(r(), 1), Gr = /* @__PURE__ */ p(Hr(), 1), Kr = /^-?\d+(\.\d+)?(px|rem|em|ch|ex|cm|mm|in|pt|pc)$/i;
2043
+ function qr(e) {
2044
+ return !e || typeof e != "string" ? !1 : Kr.test(e.trim());
2045
+ }
2046
+ function Jr(e, t, n) {
2047
+ let r = G(null), i = G({
2048
+ sortOrder: S(),
2049
+ fieldAsRowKey: x()
2050
+ }), a = i.value?.fieldAsRowKey ? G([]) : G(/* @__PURE__ */ new Set()), o = G(!1), s = G(null), c = null, l = P(() => !!i.value.fieldAsRowKey), u = P(() => e.head.filter((e) => !e.hidden)), d = P(() => l.value ? e.body.content.filter((e) => a.value.includes(e[i.value.fieldAsRowKey])) : Array.from(a.value)), f = P(() => l.value ? (0, Tr.default)(a.value) : a.value.size), p = P(() => e.config?.selectable === "multiple" && o.value);
2051
+ function m() {
2052
+ let { columnStyle: t } = e.config ?? {}, n = [];
2053
+ for (let e of u.value) {
2054
+ let r = (0, Ur.default)(t, [e.key, "width"], "");
2055
+ qr(r) || n.push({
2056
+ key: String(e.key),
2057
+ width: r || "(missing)"
2058
+ });
2059
+ }
2060
+ return n;
2061
+ }
2062
+ let h = P(() => {
2063
+ let t = Number(e.config?.stickyColumns);
2064
+ return !Number.isFinite(t) || t < 1 ? 0 : Math.floor(t);
2065
+ }), g = P(() => {
2066
+ if (!h.value) return 0;
2067
+ let e = Math.max(0, u.value.length - 1);
2068
+ return !e || m().length ? 0 : Math.min(h.value, e);
2069
+ }), _ = P(() => g.value > 0), v = P(() => {
2070
+ let t = g.value;
2071
+ if (!t) return [];
2072
+ let { columnStyle: n } = e.config ?? {}, r = u.value.slice(0, t).map((e) => (0, Ur.default)(n, [e.key, "width"], "0px").trim()), i = [];
2073
+ for (let e = 0; e < t; e++) {
2074
+ if (e === 0) {
2075
+ i.push("0px");
2076
+ continue;
2077
+ }
2078
+ if (e === 1) {
2079
+ i.push(r[0]);
2080
+ continue;
2081
+ }
2082
+ i.push(`calc(${r.slice(0, e).join(" + ")})`);
2083
+ }
2084
+ return i;
2085
+ }), y = P(() => {
2086
+ if (!r.value) return "100%";
2087
+ let { config: t = {}, head: n } = e, { columnStyle: i } = t, a = n.filter((e) => !e.hidden).map((e) => e.key), o = _.value;
2088
+ return a.reduce((e, t, n) => {
2089
+ let r = o ? (0, Ur.default)(i, [t, "width"]) : (0, Ur.default)(i, [t, "width"], "1fr");
2052
2090
  return e = n === 0 ? `${r}` : `${e} ${r}`, e;
2053
2091
  }, "");
2054
- }), f = P(() => !e.config?.minHeightUnusedPlace || isNaN(Number(e.config?.minHeightUnusedPlace)) ? {} : { minHeight: `${Number(e.config?.minHeightUnusedPlace || 0)}px` });
2055
- function p() {
2092
+ }), b = P(() => !e.config?.minHeightUnusedPlace || isNaN(Number(e.config?.minHeightUnusedPlace)) ? {} : { minHeight: `${Number(e.config?.minHeightUnusedPlace || 0)}px` });
2093
+ function x() {
2056
2094
  let { config: t = {}, body: n } = e, { fieldAsRowKey: r } = t;
2057
2095
  if (r && r in (0, Ur.default)(n, ["content", 0], {})) return r;
2058
2096
  if ("id" in (0, Ur.default)(n, ["content", 0], {})) return "id";
2059
2097
  }
2060
- function m() {
2098
+ function S() {
2061
2099
  let { config: t = {}, head: n } = e, { sortOrder: r } = t;
2062
2100
  if (!(0, Wr.default)(r)) return (0, Gr.default)(r);
2063
2101
  for (let e of n) {
@@ -2069,83 +2107,388 @@ function Kr(e, t) {
2069
2107
  }
2070
2108
  return {};
2071
2109
  }
2072
- function h(e, t) {
2073
- return o.value ? e[r.value.fieldAsRowKey] : t;
2110
+ function C(e, t) {
2111
+ return l.value ? e[i.value.fieldAsRowKey] : t;
2074
2112
  }
2075
- function g(e) {
2076
- return o.value ? !!i.value.find((t) => t === e[r.value.fieldAsRowKey]) : i.value.has(e);
2113
+ function w(e) {
2114
+ return l.value ? !!a.value.find((t) => t === e[i.value.fieldAsRowKey]) : a.value.has(e);
2077
2115
  }
2078
- function _(t) {
2079
- if ((0, Wr.default)(e.body.rowsStyle) || !o.value) return {};
2080
- let n = t[r.value.fieldAsRowKey];
2116
+ function T(t) {
2117
+ if ((0, Wr.default)(e.body.rowsStyle) || !l.value) return {};
2118
+ let n = t[i.value.fieldAsRowKey];
2081
2119
  return (0, Ur.default)(e, [
2082
2120
  "body",
2083
2121
  "rowsStyle",
2084
2122
  n
2085
2123
  ], {});
2086
2124
  }
2087
- function v() {
2088
- a.value = !1, S(!1);
2125
+ function E() {
2126
+ o.value = !1, A(!1);
2089
2127
  }
2090
- function y(e) {
2091
- g(e) ? (o.value && (i.value = []), !o.value && i.value.clear()) : o.value ? i.value = [e[r.value?.fieldAsRowKey]] : (i.value.clear(), i.value.add(e));
2128
+ function D(e) {
2129
+ w(e) ? (l.value && (a.value = []), !l.value && a.value.clear()) : l.value ? a.value = [e[i.value?.fieldAsRowKey]] : (a.value.clear(), a.value.add(e));
2092
2130
  }
2093
- function b(e) {
2094
- if (g(e)) if (!o.value) i.value.delete(e);
2131
+ function O(e) {
2132
+ if (w(e)) if (!l.value) a.value.delete(e);
2095
2133
  else {
2096
- let t = i.value.findIndex((t) => t === e[r.value.fieldAsRowKey]);
2097
- t !== -1 && i.value.splice(t, 1);
2134
+ let t = a.value.findIndex((t) => t === e[i.value.fieldAsRowKey]);
2135
+ t !== -1 && a.value.splice(t, 1);
2098
2136
  }
2099
- else o.value ? i.value.push(e[r.value.fieldAsRowKey]) : i.value.add(e);
2137
+ else l.value ? a.value.push(e[i.value.fieldAsRowKey]) : a.value.add(e);
2100
2138
  }
2101
- function x(n, r) {
2139
+ function k(n, r) {
2102
2140
  let { selectable: i } = e.config;
2103
- i === "single" ? y(n) : b(n), r || t("select:row", c.value);
2141
+ i === "single" ? D(n) : O(n), r || t("select:row", d.value);
2104
2142
  }
2105
- function S(n) {
2143
+ function A(n) {
2106
2144
  if (e.config.selectable === "multiple") {
2107
- if (n) for (let t of e.body.content) g(t) || x(t, !0);
2108
- else o.value && (i.value = []), !o.value && i.value.clear();
2109
- t("select:row", c.value);
2145
+ if (n) for (let t of e.body.content) w(t) || k(t, !0);
2146
+ else l.value && (a.value = []), !l.value && a.value.clear();
2147
+ t("select:row", d.value);
2110
2148
  }
2111
2149
  }
2112
- function C(e) {
2113
- r.value.sortOrder?.field === e ? r.value.sortOrder.direction = r.value.sortOrder?.direction === "asc" ? "desc" : "asc" : r.value.sortOrder = {
2150
+ function ee(e) {
2151
+ i.value.sortOrder?.field === e ? i.value.sortOrder.direction = i.value.sortOrder?.direction === "asc" ? "desc" : "asc" : i.value.sortOrder = {
2114
2152
  field: e,
2115
2153
  direction: "desc"
2116
- }, r.value.sortOrder?.field && t("change:sort", r.value.sortOrder);
2154
+ }, i.value.sortOrder?.field && t("change:sort", i.value.sortOrder);
2155
+ }
2156
+ function j() {
2157
+ l.value ? a.value = [] : a.value.clear(), o.value = !1, t("select:row", []);
2117
2158
  }
2118
- function w() {
2119
- o.value ? i.value = [] : i.value.clear(), a.value = !1, t("select:row", []);
2159
+ function te() {
2160
+ c?.disconnect(), c = null;
2120
2161
  }
2121
- return Y(() => e.config?.tableName, (e) => {
2122
- e || w();
2123
- }), Y(() => l.value, (t, n) => {
2124
- t && t > n && e.config.selectable === "multiple" && !u.value && (a.value = !0);
2162
+ function ne() {
2163
+ te();
2164
+ let e = n?.value ?? r.value;
2165
+ if (!e || !_.value) {
2166
+ s.value = null;
2167
+ return;
2168
+ }
2169
+ let t = () => {
2170
+ s.value = e.clientWidth;
2171
+ };
2172
+ t(), c = new ResizeObserver(t), c.observe(e);
2173
+ }
2174
+ return X(() => e.config?.tableName, (e) => {
2175
+ e || j();
2176
+ }), X(() => f.value, (t, n) => {
2177
+ t && t > n && e.config.selectable === "multiple" && !p.value && (o.value = !0);
2178
+ }), X(() => ({
2179
+ requested: h.value,
2180
+ tableName: e.config?.tableName,
2181
+ visibleCount: u.value.length,
2182
+ columnKeys: u.value.map((e) => String(e.key)).join("\0"),
2183
+ widths: u.value.map((t) => `${String(t.key)}=${(0, Ur.default)(e.config?.columnStyle, [t.key, "width"], "")}`).join("\0")
2184
+ }), ({ requested: e, tableName: t, visibleCount: n }) => {
2185
+ if (!e) return;
2186
+ let r = t ? ` tableName="${t}"` : "", i = Math.max(0, n - 1);
2187
+ e > i && console.warn(`[Ui3nTable] stickyColumns clamped:${r} requested=${e}, max=${i} (visibleColumns.length - 1).`);
2188
+ let a = m();
2189
+ if (!a.length) return;
2190
+ let o = a.map(({ key: e, width: t }) => `key="${e}" width="${t}"`).join(", ");
2191
+ console.warn(`[Ui3nTable] stickyColumns disabled:${r} column width must be an absolute CSS length.\nInvalid: ${o}`);
2192
+ }, { immediate: !0 }), X([
2193
+ r,
2194
+ _,
2195
+ n
2196
+ ], ne, {
2197
+ immediate: !0,
2198
+ flush: "post"
2199
+ }), pe(() => {
2200
+ te();
2125
2201
  }), {
2126
- tableEl: n,
2127
- tableColumnWidth: d,
2128
- unusedPlaceCssStyle: f,
2129
- currentConfig: r,
2130
- visibleColumns: s,
2131
- hasGroupActionsRow: a,
2132
- showGroupActionsRow: u,
2133
- selectedRows: i,
2134
- selectedRowsArray: c,
2135
- selectedRowsSize: l,
2136
- closeGroupActionsRow: v,
2137
- getRowKey: h,
2138
- isRowSelected: g,
2139
- getRowStyle: _,
2140
- processSelection: x,
2141
- toggleSelectedRows: S,
2142
- changeSortOrder: C,
2143
- clear: w
2202
+ tableEl: r,
2203
+ tableColumnWidth: y,
2204
+ unusedPlaceCssStyle: b,
2205
+ currentConfig: i,
2206
+ visibleColumns: u,
2207
+ hasGroupActionsRow: o,
2208
+ showGroupActionsRow: p,
2209
+ selectedRows: a,
2210
+ selectedRowsArray: d,
2211
+ selectedRowsSize: f,
2212
+ stickyColumnsActive: _,
2213
+ stickyColumnsCount: g,
2214
+ stickyColumnLefts: v,
2215
+ scrollportWidth: s,
2216
+ closeGroupActionsRow: E,
2217
+ getRowKey: C,
2218
+ isRowSelected: w,
2219
+ getRowStyle: T,
2220
+ processSelection: k,
2221
+ toggleSelectedRows: A,
2222
+ changeSortOrder: ee,
2223
+ clear: j
2144
2224
  };
2145
2225
  }
2146
2226
  //#endregion
2147
- //#region src/components/ui3n-table/ui3n-table.vue?vue&type=script&setup=true&lang.ts
2148
- var qr = ["name", "value"], Jr = /* @__PURE__ */ O(/* @__PURE__ */ B({
2227
+ //#region src/components/ui3n-scrollbar/ui3n-scrollbar.vue?vue&type=script&setup=true&lang.ts
2228
+ var Yr = 2, Xr = 2, Zr = /* @__PURE__ */ k(/* @__PURE__ */ B({
2229
+ __name: "ui3n-scrollbar",
2230
+ props: {
2231
+ axes: { default: "both" },
2232
+ vertical: { default: () => ({
2233
+ thumbMinHeight: 32,
2234
+ thumbHeight: "auto",
2235
+ thumbRadius: 4,
2236
+ thumbColor: "var(--color-bg-control-accent-default)",
2237
+ thumbHoverColor: "var(--color-bg-control-accent-hover)",
2238
+ thumbActiveColor: "var(--color-bg-control-accent-focused)",
2239
+ trackWidth: 6,
2240
+ trackRadius: 4,
2241
+ trackColor: "transparent"
2242
+ }) },
2243
+ horizontal: { default: () => ({
2244
+ thumbMinWidth: 32,
2245
+ thumbWidth: "auto",
2246
+ thumbRadius: 4,
2247
+ thumbColor: "var(--color-bg-control-accent-default)",
2248
+ thumbHoverColor: "var(--color-bg-control-accent-hover)",
2249
+ thumbActiveColor: "var(--color-bg-control-accent-focused)",
2250
+ trackHeight: 6,
2251
+ trackRadius: 4,
2252
+ trackColor: "transparent"
2253
+ }) },
2254
+ autoUpdate: {
2255
+ type: Boolean,
2256
+ default: !0
2257
+ }
2258
+ },
2259
+ emits: [
2260
+ "scroll",
2261
+ "scroll:vertical",
2262
+ "scroll:horizontal"
2263
+ ],
2264
+ setup(e, { expose: t, emit: n }) {
2265
+ let r = e, i = n, a = G(null), o = G(null), s = G(null), c = G(null), l = G(null), u = P(() => r.axes ?? "both"), d = P(() => r.vertical ?? {}), f = P(() => r.horizontal ?? {}), p = G(0), m = G(0), h = G(0), g = G(0), _ = G(0), v = G(0), y = G(0), b = G(0), x = G(!1), S = G(!1), C = G(!1), w = G(!1), T = null, E, D = 0, O = 0, k = 0, A = 0, ee = P(() => g.value > _.value), j = P(() => p.value > m.value), te = P(() => S.value ? !0 : ee.value && (C.value || w.value)), ne = P(() => x.value ? !0 : j.value && (C.value || w.value)), M = P(() => u.value === "vertical" || u.value === "both"), re = P(() => u.value === "horizontal" || u.value === "both"), ie = P(() => M.value && re.value && ee.value && j.value), N = P(() => {
2266
+ let e = Number(d.value.trackWidth ?? 6);
2267
+ return isNaN(e) ? 6 : e;
2268
+ }), ae = P(() => {
2269
+ let e = Number(f.value.trackHeight ?? 6);
2270
+ return isNaN(e) ? 6 : e;
2271
+ }), oe = P(() => {
2272
+ let e = d.value.trackOffsetTop;
2273
+ if (e == null || e === "") return 0;
2274
+ let t = Number(e);
2275
+ return isNaN(t) ? 0 : Math.max(0, t);
2276
+ }), se = P(() => Yr + oe.value), F = P(() => ie.value ? Yr + ae.value + Xr : Yr), ce = P(() => ie.value ? Yr + N.value + Xr : Yr), z = P(() => Math.max(0, m.value - se.value - F.value)), B = P(() => Math.max(0, _.value - ce.value - Yr)), le = P(() => {
2277
+ if (!p.value || !z.value) return 0;
2278
+ let e = d.value.thumbHeight, t = Number(d.value.thumbMinHeight ?? 32);
2279
+ if (e && e !== "auto") {
2280
+ let n = Number(e);
2281
+ return Math.max(isNaN(n) ? t : n, t);
2282
+ }
2283
+ let n = m.value / p.value, r = z.value * n;
2284
+ return Math.min(z.value, Math.max(t, r));
2285
+ }), ue = P(() => {
2286
+ if (!g.value || !B.value) return 0;
2287
+ let e = f.value.thumbWidth, t = Number(f.value.thumbMinWidth ?? 32);
2288
+ if (e && e !== "auto") {
2289
+ let n = Number(e);
2290
+ return Math.max(isNaN(n) ? t : n, t);
2291
+ }
2292
+ let n = _.value / g.value, r = B.value * n;
2293
+ return Math.min(B.value, Math.max(t, r));
2294
+ }), de = P(() => {
2295
+ if (!p.value || p.value === m.value || !z.value) return 0;
2296
+ let e = p.value - m.value, t = Math.max(0, z.value - le.value);
2297
+ return !e || !t ? 0 : h.value / e * t;
2298
+ }), fe = P(() => {
2299
+ if (!g.value || g.value === _.value || !B.value) return 0;
2300
+ let e = g.value - _.value, t = Math.max(0, B.value - ue.value);
2301
+ return !e || !t ? 0 : v.value / e * t;
2302
+ }), me = P(() => {
2303
+ let e = Number(d.value.trackRadius);
2304
+ return isNaN(e) ? String(d.value.trackRadius ?? 4) : `${e}px`;
2305
+ }), he = P(() => d.value.trackColor ?? "transparent"), K = P(() => {
2306
+ let e = Number(d.value.thumbRadius);
2307
+ return isNaN(e) ? String(d.value.thumbRadius ?? 4) : `${e}px`;
2308
+ }), ge = P(() => d.value.thumbColor ?? "var(--color-bg-control-accent-default)"), _e = P(() => d.value.thumbHoverColor ?? "var(--color-bg-control-accent-hover)"), J = P(() => d.value.thumbActiveColor ?? "var(--color-bg-control-accent-focused)"), ve = P(() => {
2309
+ let e = Number(d.value.trackWidth);
2310
+ return isNaN(e) ? String(d.value.trackWidth ?? 6) : `${e}px`;
2311
+ }), Y = P(() => {
2312
+ let e = Number(f.value.trackRadius);
2313
+ return isNaN(e) ? String(f.value.trackRadius ?? 4) : `${e}px`;
2314
+ }), ye = P(() => f.value.trackColor ?? "transparent"), be = P(() => {
2315
+ let e = Number(f.value.thumbRadius);
2316
+ return isNaN(e) ? String(f.value.thumbRadius ?? 4) : `${e}px`;
2317
+ }), xe = P(() => f.value.thumbColor ?? "var(--color-bg-control-accent-default)"), Se = P(() => f.value.thumbHoverColor ?? "var(--color-bg-control-accent-hover)"), Ce = P(() => f.value.thumbActiveColor ?? "var(--color-bg-control-accent-focused)"), X = P(() => {
2318
+ let e = Number(f.value.trackHeight);
2319
+ return isNaN(e) ? String(f.value.trackHeight ?? 6) : `${e}px`;
2320
+ });
2321
+ function Z() {
2322
+ let e = a.value;
2323
+ e && (p.value = e.scrollHeight, m.value = e.clientHeight, h.value = e.scrollTop, g.value = e.scrollWidth, _.value = e.clientWidth, v.value = e.scrollLeft);
2324
+ }
2325
+ function we(e) {
2326
+ let t = {
2327
+ event: e,
2328
+ scrollTop: h.value,
2329
+ scrollLeft: v.value
2330
+ };
2331
+ i("scroll", t), h.value !== y.value && i("scroll:vertical", t), v.value !== b.value && i("scroll:horizontal", t), y.value = h.value, b.value = v.value;
2332
+ }
2333
+ function Q(e) {
2334
+ x.value || (h.value = e.target.scrollTop), S.value || (v.value = e.target.scrollLeft), w.value = !0, clearTimeout(E), we(e), E = setTimeout(() => {
2335
+ w.value = !1;
2336
+ }, 1500);
2337
+ }
2338
+ function $(e) {
2339
+ if (e.target !== o.value || !a.value || !o.value) return;
2340
+ let t = o.value.getBoundingClientRect(), n = e.clientY - t.top - le.value / 2, r = p.value - m.value, i = Math.max(0, z.value - le.value);
2341
+ if (!i || !r) return;
2342
+ let s = n / i * r;
2343
+ s = Math.max(0, Math.min(r, s)), a.value.scrollTo({
2344
+ top: s,
2345
+ behavior: "smooth"
2346
+ });
2347
+ }
2348
+ function Te(e) {
2349
+ if (e.target !== s.value || !a.value || !s.value) return;
2350
+ let t = s.value.getBoundingClientRect(), n = e.clientX - t.left - ue.value / 2, r = g.value - _.value, i = Math.max(0, B.value - ue.value);
2351
+ if (!i || !r) return;
2352
+ let o = n / i * r;
2353
+ o = Math.max(0, Math.min(r, o)), a.value.scrollTo({
2354
+ left: o,
2355
+ behavior: "smooth"
2356
+ });
2357
+ }
2358
+ function Ee(e) {
2359
+ !c.value || !a.value || (e.pointerType === "mouse" && e.preventDefault(), e.stopPropagation(), c.value.setPointerCapture(e.pointerId), x.value = !0, D = e.clientY, O = h.value, document.body.style.userSelect = "none", c.value.addEventListener("pointermove", De), c.value.addEventListener("pointerup", Oe), c.value.addEventListener("pointercancel", Oe));
2360
+ }
2361
+ function De(e) {
2362
+ if (!x.value || !a.value || !o.value) return;
2363
+ let t = e.clientY - D, n = p.value - m.value, r = Math.max(0, z.value - le.value);
2364
+ if (!r || !n) return;
2365
+ let i = t / r * n;
2366
+ a.value.scrollTop = O + i, h.value = a.value.scrollTop;
2367
+ }
2368
+ function Oe() {
2369
+ x.value && (x.value = !1, document.body.style.userSelect = "", c.value && (c.value.removeEventListener("pointermove", De), c.value.removeEventListener("pointerup", Oe), c.value.removeEventListener("pointercancel", Oe)));
2370
+ }
2371
+ function ke(e) {
2372
+ !l.value || !a.value || (e.pointerType === "mouse" && e.preventDefault(), e.stopPropagation(), l.value.setPointerCapture(e.pointerId), S.value = !0, k = e.clientX, A = v.value, document.body.style.userSelect = "none", l.value.addEventListener("pointermove", Ae), l.value.addEventListener("pointerup", je), l.value.addEventListener("pointercancel", je));
2373
+ }
2374
+ function Ae(e) {
2375
+ if (!S.value || !a.value || !s.value) return;
2376
+ let t = e.clientX - k, n = g.value - _.value, r = Math.max(0, B.value - ue.value);
2377
+ if (!r || !n) return;
2378
+ let i = t / r * n;
2379
+ a.value.scrollLeft = A + i, v.value = a.value.scrollLeft;
2380
+ }
2381
+ function je() {
2382
+ S.value && (S.value = !1, document.body.style.userSelect = "", l.value && (l.value.removeEventListener("pointermove", Ae), l.value.removeEventListener("pointerup", je), l.value.removeEventListener("pointercancel", je)));
2383
+ }
2384
+ return U(() => {
2385
+ if (Z(), r.autoUpdate) {
2386
+ T = new ResizeObserver(Z), T.observe(a.value);
2387
+ let e = a.value?.firstElementChild;
2388
+ e && T.observe(e);
2389
+ }
2390
+ }), pe(() => {
2391
+ T?.disconnect(), E && clearTimeout(E), c.value && (c.value.removeEventListener("pointermove", De), c.value.removeEventListener("pointerup", Oe), c.value.removeEventListener("pointercancel", Oe)), l.value && (l.value.removeEventListener("pointermove", Ae), l.value.removeEventListener("pointerup", je), l.value.removeEventListener("pointercancel", je)), document.body.style.userSelect = "";
2392
+ }), t({
2393
+ scrollTo: (e) => {
2394
+ a.value?.scrollTo(e);
2395
+ },
2396
+ scrollToVertical: (e = {}) => {
2397
+ let t = a.value;
2398
+ if (!t) return;
2399
+ let n = {};
2400
+ typeof e.top == "number" && (n.top = e.top), e.behavior && (n.behavior = e.behavior), t.scrollTo(n);
2401
+ },
2402
+ scrollToHorizontal: (e = {}) => {
2403
+ let t = a.value;
2404
+ if (!t) return;
2405
+ let n = {};
2406
+ typeof e.left == "number" && (n.left = e.left), e.behavior && (n.behavior = e.behavior), t.scrollTo(n);
2407
+ },
2408
+ getContainer: () => a.value,
2409
+ updateMetrics: Z
2410
+ }), (e, t) => (W(), L("div", {
2411
+ class: V(e.$style.ui3nScrollbar),
2412
+ style: H({
2413
+ "--ui3n-scrollbar-vertical-thumb-radius": K.value,
2414
+ "--ui3n-scrollbar-vertical-thumb-color": ge.value,
2415
+ "--ui3n-scrollbar-vertical-thumb-hover-color": _e.value,
2416
+ "--ui3n-scrollbar-vertical-thumb-active-color": J.value,
2417
+ "--ui3n-scrollbar-vertical-track-width": ve.value,
2418
+ "--ui3n-scrollbar-vertical-track-radius": me.value,
2419
+ "--ui3n-scrollbar-vertical-track-color": he.value,
2420
+ "--ui3n-scrollbar-horizontal-thumb-radius": be.value,
2421
+ "--ui3n-scrollbar-horizontal-thumb-color": xe.value,
2422
+ "--ui3n-scrollbar-horizontal-thumb-hover-color": Se.value,
2423
+ "--ui3n-scrollbar-horizontal-thumb-active-color": Ce.value,
2424
+ "--ui3n-scrollbar-horizontal-track-height": X.value,
2425
+ "--ui3n-scrollbar-horizontal-track-radius": Y.value,
2426
+ "--ui3n-scrollbar-horizontal-track-color": ye.value
2427
+ }),
2428
+ onMouseenter: t[0] ||= (e) => C.value = !0,
2429
+ onMouseleave: t[1] ||= (e) => C.value = !1
2430
+ }, [
2431
+ R("div", {
2432
+ ref_key: "containerRef",
2433
+ ref: a,
2434
+ class: V([
2435
+ e.$style.scrollbarContainer,
2436
+ u.value === "vertical" && e.$style.scrollbarContainerVertical,
2437
+ u.value === "horizontal" && e.$style.scrollbarContainerHorizontal
2438
+ ]),
2439
+ onScroll: Q
2440
+ }, [q(e.$slots, "default")], 34),
2441
+ M.value ? (W(), L("div", {
2442
+ key: 0,
2443
+ ref_key: "trackRefV",
2444
+ ref: o,
2445
+ class: V([e.$style.trackVertical, { [e.$style.trackVisible]: ne.value }]),
2446
+ style: H({
2447
+ top: `${se.value}px`,
2448
+ bottom: `${F.value}px`
2449
+ }),
2450
+ onMousedown: $
2451
+ }, [R("div", {
2452
+ ref_key: "thumbRefV",
2453
+ ref: c,
2454
+ class: V([e.$style.thumbVertical, { [e.$style.active]: x.value }]),
2455
+ style: H({
2456
+ height: `${le.value}px`,
2457
+ transform: `translateY(${de.value}px)`
2458
+ }),
2459
+ onPointerdown: Ee
2460
+ }, null, 38)], 38)) : I("", !0),
2461
+ re.value ? (W(), L("div", {
2462
+ key: 1,
2463
+ ref_key: "trackRefH",
2464
+ ref: s,
2465
+ class: V([e.$style.trackHorizontal, { [e.$style.trackVisible]: te.value }]),
2466
+ style: H({ right: `${ce.value}px` }),
2467
+ onMousedown: Te
2468
+ }, [R("div", {
2469
+ ref_key: "thumbRefH",
2470
+ ref: l,
2471
+ class: V([e.$style.thumbHorizontal, { [e.$style.active]: S.value }]),
2472
+ style: H({
2473
+ width: `${ue.value}px`,
2474
+ transform: `translateX(${fe.value}px)`
2475
+ }),
2476
+ onPointerdown: ke
2477
+ }, null, 38)], 38)) : I("", !0)
2478
+ ], 38));
2479
+ }
2480
+ }), [["__cssModules", { $style: {
2481
+ ui3nScrollbar: "_ui3nScrollbar_1ywhy_1",
2482
+ scrollbarContainer: "_scrollbarContainer_1ywhy_8",
2483
+ scrollbarContainerVertical: "_scrollbarContainerVertical_1ywhy_21",
2484
+ scrollbarContainerHorizontal: "_scrollbarContainerHorizontal_1ywhy_25",
2485
+ trackVertical: "_trackVertical_1ywhy_29",
2486
+ trackHorizontal: "_trackHorizontal_1ywhy_44",
2487
+ trackVisible: "_trackVisible_1ywhy_59",
2488
+ thumbVertical: "_thumbVertical_1ywhy_65",
2489
+ active: "_active_1ywhy_79",
2490
+ thumbHorizontal: "_thumbHorizontal_1ywhy_83"
2491
+ } }]]), Qr = ["name", "value"], $r = ["name", "value"], ei = /* @__PURE__ */ k(/* @__PURE__ */ B({
2149
2492
  __name: "ui3n-table",
2150
2493
  props: {
2151
2494
  config: {},
@@ -2154,138 +2497,327 @@ var qr = ["name", "value"], Jr = /* @__PURE__ */ O(/* @__PURE__ */ B({
2154
2497
  },
2155
2498
  emits: ["change:sort", "select:row"],
2156
2499
  setup(e, { expose: t, emit: n }) {
2157
- let { tableEl: r, tableColumnWidth: i, unusedPlaceCssStyle: a, currentConfig: o, visibleColumns: s, hasGroupActionsRow: c, showGroupActionsRow: l, selectedRows: u, selectedRowsArray: d, selectedRowsSize: f, closeGroupActionsRow: p, getRowKey: m, isRowSelected: h, getRowStyle: g, processSelection: _, toggleSelectedRows: v, changeSortOrder: y, clear: b } = Kr(e, n), x = { select: _ };
2158
- return t({
2159
- getRowStyle: g,
2160
- selectedRows: u,
2161
- selectedRowsArray: d,
2162
- hasGroupActionsRow: c,
2163
- closeGroupActionsRow: p,
2164
- clear: b
2165
- }), (t, n) => (W(), L("div", {
2500
+ let r = e, i = n, a = G(null), o = P(() => a.value?.getContainer() ?? null), s = G(null), c = G(0), l = null, { tableEl: u, tableColumnWidth: d, unusedPlaceCssStyle: f, currentConfig: p, visibleColumns: m, hasGroupActionsRow: h, showGroupActionsRow: g, selectedRows: _, selectedRowsArray: v, selectedRowsSize: y, stickyColumnsActive: b, stickyColumnsCount: x, stickyColumnLefts: S, scrollportWidth: C, closeGroupActionsRow: w, getRowKey: T, isRowSelected: E, getRowStyle: D, processSelection: O, toggleSelectedRows: k, changeSortOrder: ee, clear: j } = Jr(r, i, o), te = { select: O }, ne = P(() => r.config?.scrollbar?.axes ?? "both"), M = P(() => {
2501
+ let e = r.config?.scrollbar?.vertical ?? {}, t = ne.value;
2502
+ return !(t === "vertical" || t === "both") || !c.value ? e : {
2503
+ ...e,
2504
+ trackOffsetTop: c.value
2505
+ };
2506
+ }), re = P(() => {
2507
+ let e = { "--ui3n-table-columns-width": d.value };
2508
+ return C.value != null && (e["--ui3n-table-scrollport-width"] = `${C.value}px`), e;
2509
+ });
2510
+ function ie() {
2511
+ l?.disconnect(), l = null;
2512
+ let e = s.value;
2513
+ if (!e || !r.config?.scrollbar) {
2514
+ c.value = 0;
2515
+ return;
2516
+ }
2517
+ let t = () => {
2518
+ c.value = e.offsetHeight;
2519
+ };
2520
+ t(), l = new ResizeObserver(t), l.observe(e);
2521
+ }
2522
+ return X([
2523
+ s,
2524
+ () => r.config?.scrollbar,
2525
+ g
2526
+ ], ie, {
2527
+ immediate: !0,
2528
+ flush: "post"
2529
+ }), pe(() => {
2530
+ l?.disconnect(), l = null;
2531
+ }), t({
2532
+ getRowStyle: D,
2533
+ selectedRows: _,
2534
+ selectedRowsArray: v,
2535
+ hasGroupActionsRow: h,
2536
+ closeGroupActionsRow: w,
2537
+ clear: j
2538
+ }), (t, n) => e.config?.scrollbar ? (W(), F(Zr, {
2539
+ key: 0,
2540
+ ref_key: "scrollbarRef",
2541
+ ref: a,
2542
+ class: V(t.$style.tableHost),
2543
+ axes: ne.value,
2544
+ vertical: M.value,
2545
+ horizontal: e.config.scrollbar.horizontal
2546
+ }, {
2547
+ default: Z(() => [R("div", {
2548
+ ref_key: "tableEl",
2549
+ ref: u,
2550
+ style: H(re.value),
2551
+ class: V([
2552
+ t.$style.ui3nTable,
2553
+ t.$style.ui3nTableInsideScrollbar,
2554
+ Y(b) && t.$style.stickyColumns
2555
+ ])
2556
+ }, [
2557
+ e.config?.tableName && Y(y) > 0 ? (W(), L("fieldset", {
2558
+ key: 0,
2559
+ class: V(t.$style.hiddenBlock)
2560
+ }, [(W(!0), L(N, null, K(Y(v), (t, n) => (W(), L("input", {
2561
+ key: Y(T)(t, n),
2562
+ type: "hidden",
2563
+ name: e.config.selectable === "multiple" ? `${e.config.tableName}[]` : e.config.tableName,
2564
+ value: String(Y(T)(t, n))
2565
+ }, null, 8, Qr))), 128))], 2)) : I("", !0),
2566
+ R("div", {
2567
+ ref_key: "headerEl",
2568
+ ref: s,
2569
+ class: V([t.$style.header, Y(g) && t.$style.withGroupActions])
2570
+ }, [Y(g) ? (W(), L("div", {
2571
+ key: 0,
2572
+ class: V(t.$style.groupActions)
2573
+ }, [
2574
+ z(zr, {
2575
+ indeterminate: Y(y) < e.body.content.length && Y(y) !== 0,
2576
+ "model-value": Y(y) === e.body.content.length,
2577
+ onChange: Y(k)
2578
+ }, {
2579
+ default: Z(() => [ce(" Selected: " + J(Y(y)), 1)]),
2580
+ _: 1
2581
+ }, 8, [
2582
+ "indeterminate",
2583
+ "model-value",
2584
+ "onChange"
2585
+ ]),
2586
+ R("div", { class: V(t.$style.groupActionsBody) }, [q(t.$slots, "group-actions", { selectedRows: Y(v) })], 2),
2587
+ z(A, {
2588
+ type: "secondary",
2589
+ onClick: Y(w)
2590
+ }, {
2591
+ default: Z(() => [...n[0] ||= [ce(" Cancel ", -1)]]),
2592
+ _: 1
2593
+ }, 8, ["onClick"])
2594
+ ], 2)) : I("", !0), (W(!0), L(N, null, K(Y(m), (e, n) => (W(), L("div", {
2595
+ key: e.key,
2596
+ class: V([
2597
+ t.$style.headerItemWrapper,
2598
+ n === 0 && t.$style.headerItemFirst,
2599
+ n < Y(x) && t.$style.headerItemSticky,
2600
+ e.sortable && t.$style.sortable,
2601
+ e.sortable && Y(p).sortOrder?.field === e.key && t.$style.sortableActive
2602
+ ]),
2603
+ style: H([e.headCellStyle, n < Y(x) ? {
2604
+ left: Y(S)[n],
2605
+ zIndex: 6 + n
2606
+ } : void 0])
2607
+ }, [R("div", ue({
2608
+ class: t.$style.headerItem,
2609
+ style: e.headCellStyle
2610
+ }, ve(e.sortable ? { click: () => Y(ee)(e.key) } : {}, !0)), [q(t.$slots, `header-cell-${e.key}`, {}, () => [R("span", { class: V(t.$style.headerText) }, J(e.text), 3)]), e.sortable && Y(p).sortOrder?.field === e.key ? (W(), F(Br, {
2611
+ key: 0,
2612
+ value: Y(p).sortOrder?.direction,
2613
+ size: "16"
2614
+ }, null, 8, ["value"])) : I("", !0)], 16)], 6))), 128))], 2),
2615
+ R("div", { class: V(t.$style.body) }, [e.config?.showNoDataMessage && !Y(Tr.default)(e.body.content) ? q(t.$slots, "no-data", { key: 0 }, () => [R("div", { class: V(t.$style.noData) }, "No data", 2)]) : (W(), L(N, { key: 1 }, [t.$slots.row ? (W(!0), L(N, { key: 0 }, K(e.body.content, (n, r) => (W(), L("div", {
2616
+ key: Y(T)(n, r),
2617
+ class: V([
2618
+ t.$style.row,
2619
+ t.$slots.row && t.$style.customRow,
2620
+ Y(E)(n) && t.$style.selected,
2621
+ e.config.selectable && t.$style.selectable
2622
+ ])
2623
+ }, [q(t.$slots, "row", {
2624
+ row: n,
2625
+ rowStyle: Y(D)(n),
2626
+ rowIndex: r,
2627
+ isRowSelected: Y(E)(n),
2628
+ columnStyle: e.config?.columnStyle,
2629
+ stickyColumnsCount: Y(x),
2630
+ stickyColumnLefts: Y(S),
2631
+ events: te
2632
+ })], 2))), 128)) : (W(!0), L(N, { key: 1 }, K(e.body.content, (n, r) => (W(), L("div", {
2633
+ key: Y(T)(n, r),
2634
+ class: V([
2635
+ t.$style.row,
2636
+ Y(E)(n) && t.$style.selected,
2637
+ e.config.selectable && t.$style.selectable
2638
+ ]),
2639
+ style: H(Y(D)(n))
2640
+ }, [e.config.selectable ? (W(), L("div", {
2641
+ key: 0,
2642
+ class: V(t.$style.rowCheckbox)
2643
+ }, [z(zr, {
2644
+ "model-value": Y(E)(n),
2645
+ onChange: (e) => Y(O)(n)
2646
+ }, null, 8, ["model-value", "onChange"])], 2)) : I("", !0), (W(!0), L(N, null, K(Y(m), (i, a) => (W(), L("div", {
2647
+ key: i.key,
2648
+ class: V([
2649
+ t.$style.bodyItem,
2650
+ a === 0 && t.$style.bodyItemFirst,
2651
+ a < Y(x) && t.$style.bodyItemSticky
2652
+ ]),
2653
+ style: H(a < Y(x) ? {
2654
+ left: Y(S)[a],
2655
+ zIndex: 2 + a
2656
+ } : void 0)
2657
+ }, [q(t.$slots, `row-cell-${i.key}`, {
2658
+ row: n,
2659
+ rowIndex: r,
2660
+ isRowSelected: Y(E)(n),
2661
+ columnStyle: e.config?.columnStyle,
2662
+ cell: n[i.key]
2663
+ }, () => [R("span", { class: V(t.$style.cell) }, J(i.format ? i.format(n[i.key]) : n[i.key]), 3)])], 6))), 128))], 6))), 128))], 64))], 2),
2664
+ R("div", {
2665
+ class: V(t.$style.unusedPlace),
2666
+ style: H(Y(f))
2667
+ }, [q(t.$slots, "unused-place")], 6)
2668
+ ], 6)]),
2669
+ _: 3
2670
+ }, 8, [
2671
+ "class",
2672
+ "axes",
2673
+ "vertical",
2674
+ "horizontal"
2675
+ ])) : (W(), L("div", {
2676
+ key: 1,
2166
2677
  ref_key: "tableEl",
2167
- ref: r,
2168
- style: H({ "--ui3n-table-columns-width": J(i) }),
2169
- class: V(t.$style.ui3nTable)
2678
+ ref: u,
2679
+ style: H(re.value),
2680
+ class: V([t.$style.ui3nTable, Y(b) && t.$style.stickyColumns])
2170
2681
  }, [
2171
- e.config?.tableName && J(f) > 0 ? (W(), L("fieldset", {
2682
+ e.config?.tableName && Y(y) > 0 ? (W(), L("fieldset", {
2172
2683
  key: 0,
2173
2684
  class: V(t.$style.hiddenBlock)
2174
- }, [(W(!0), L(N, null, ge(J(d), (t, n) => (W(), L("input", {
2175
- key: J(m)(t, n),
2685
+ }, [(W(!0), L(N, null, K(Y(v), (t, n) => (W(), L("input", {
2686
+ key: Y(T)(t, n),
2176
2687
  type: "hidden",
2177
2688
  name: e.config.selectable === "multiple" ? `${e.config.tableName}[]` : e.config.tableName,
2178
- value: String(J(m)(t, n))
2179
- }, null, 8, qr))), 128))], 2)) : I("", !0),
2180
- R("div", { class: V([t.$style.header, J(l) && t.$style.withGroupActions]) }, [J(l) ? (W(), L("div", {
2689
+ value: String(Y(T)(t, n))
2690
+ }, null, 8, $r))), 128))], 2)) : I("", !0),
2691
+ R("div", { class: V([t.$style.header, Y(g) && t.$style.withGroupActions]) }, [Y(g) ? (W(), L("div", {
2181
2692
  key: 0,
2182
2693
  class: V(t.$style.groupActions)
2183
2694
  }, [
2184
2695
  z(zr, {
2185
- indeterminate: J(f) < e.body.content.length && J(f) !== 0,
2186
- "model-value": J(f) === e.body.content.length,
2187
- onChange: J(v)
2696
+ indeterminate: Y(y) < e.body.content.length && Y(y) !== 0,
2697
+ "model-value": Y(y) === e.body.content.length,
2698
+ onChange: Y(k)
2188
2699
  }, {
2189
- default: X(() => [ce(" Selected: " + q(J(f)), 1)]),
2700
+ default: Z(() => [ce(" Selected: " + J(Y(y)), 1)]),
2190
2701
  _: 1
2191
2702
  }, 8, [
2192
2703
  "indeterminate",
2193
2704
  "model-value",
2194
2705
  "onChange"
2195
2706
  ]),
2196
- R("div", { class: V(t.$style.groupActionsBody) }, [K(t.$slots, "group-actions", { selectedRows: J(d) })], 2),
2197
- z(k, {
2707
+ R("div", { class: V(t.$style.groupActionsBody) }, [q(t.$slots, "group-actions", { selectedRows: Y(v) })], 2),
2708
+ z(A, {
2198
2709
  type: "secondary",
2199
- onClick: J(p)
2710
+ onClick: Y(w)
2200
2711
  }, {
2201
- default: X(() => [...n[0] ||= [ce(" Cancel ", -1)]]),
2712
+ default: Z(() => [...n[1] ||= [ce(" Cancel ", -1)]]),
2202
2713
  _: 1
2203
2714
  }, 8, ["onClick"])
2204
- ], 2)) : I("", !0), (W(!0), L(N, null, ge(J(s), (e) => (W(), L("div", {
2715
+ ], 2)) : I("", !0), (W(!0), L(N, null, K(Y(m), (e, n) => (W(), L("div", {
2205
2716
  key: e.key,
2206
2717
  class: V([
2207
2718
  t.$style.headerItemWrapper,
2719
+ n === 0 && t.$style.headerItemFirst,
2720
+ n < Y(x) && t.$style.headerItemSticky,
2208
2721
  e.sortable && t.$style.sortable,
2209
- e.sortable && J(o).sortOrder?.field === e.key && t.$style.sortableActive
2722
+ e.sortable && Y(p).sortOrder?.field === e.key && t.$style.sortableActive
2210
2723
  ]),
2211
- style: H(e.headCellStyle)
2724
+ style: H([e.headCellStyle, n < Y(x) ? {
2725
+ left: Y(S)[n],
2726
+ zIndex: 6 + n
2727
+ } : void 0])
2212
2728
  }, [R("div", ue({
2213
2729
  class: t.$style.headerItem,
2214
2730
  style: e.headCellStyle
2215
- }, ye(e.sortable ? { click: () => J(y)(e.key) } : {}, !0)), [K(t.$slots, `header-cell-${e.key}`, {}, () => [R("span", { class: V(t.$style.headerText) }, q(e.text), 3)]), e.sortable && J(o).sortOrder?.field === e.key ? (W(), F(Br, {
2731
+ }, ve(e.sortable ? { click: () => Y(ee)(e.key) } : {}, !0)), [q(t.$slots, `header-cell-${e.key}`, {}, () => [R("span", { class: V(t.$style.headerText) }, J(e.text), 3)]), e.sortable && Y(p).sortOrder?.field === e.key ? (W(), F(Br, {
2216
2732
  key: 0,
2217
- value: J(o).sortOrder?.direction,
2733
+ value: Y(p).sortOrder?.direction,
2218
2734
  size: "16"
2219
2735
  }, null, 8, ["value"])) : I("", !0)], 16)], 6))), 128))], 2),
2220
- R("div", { class: V(t.$style.body) }, [e.config?.showNoDataMessage && !J($.default)(e.body.content) ? K(t.$slots, "no-data", { key: 0 }, () => [R("div", { class: V(t.$style.noData) }, "No data", 2)]) : (W(), L(N, { key: 1 }, [t.$slots.row ? (W(!0), L(N, { key: 0 }, ge(e.body.content, (n, r) => (W(), L("div", {
2221
- key: J(m)(n, r),
2736
+ R("div", { class: V(t.$style.body) }, [e.config?.showNoDataMessage && !Y(Tr.default)(e.body.content) ? q(t.$slots, "no-data", { key: 0 }, () => [R("div", { class: V(t.$style.noData) }, "No data", 2)]) : (W(), L(N, { key: 1 }, [t.$slots.row ? (W(!0), L(N, { key: 0 }, K(e.body.content, (n, r) => (W(), L("div", {
2737
+ key: Y(T)(n, r),
2222
2738
  class: V([
2223
2739
  t.$style.row,
2224
2740
  t.$slots.row && t.$style.customRow,
2225
- J(h)(n) && t.$style.selected,
2741
+ Y(E)(n) && t.$style.selected,
2226
2742
  e.config.selectable && t.$style.selectable
2227
2743
  ])
2228
- }, [K(t.$slots, "row", {
2744
+ }, [q(t.$slots, "row", {
2229
2745
  row: n,
2230
- rowStyle: J(g)(n),
2746
+ rowStyle: Y(D)(n),
2231
2747
  rowIndex: r,
2232
- isRowSelected: J(h)(n),
2748
+ isRowSelected: Y(E)(n),
2233
2749
  columnStyle: e.config?.columnStyle,
2234
- events: x
2235
- })], 2))), 128)) : (W(!0), L(N, { key: 1 }, ge(e.body.content, (n, r) => (W(), L("div", {
2236
- key: J(m)(n, r),
2750
+ stickyColumnsCount: Y(x),
2751
+ stickyColumnLefts: Y(S),
2752
+ events: te
2753
+ })], 2))), 128)) : (W(!0), L(N, { key: 1 }, K(e.body.content, (n, r) => (W(), L("div", {
2754
+ key: Y(T)(n, r),
2237
2755
  class: V([
2238
2756
  t.$style.row,
2239
- J(h)(n) && t.$style.selected,
2757
+ Y(E)(n) && t.$style.selected,
2240
2758
  e.config.selectable && t.$style.selectable
2241
2759
  ]),
2242
- style: H(J(g)(n))
2760
+ style: H(Y(D)(n))
2243
2761
  }, [e.config.selectable ? (W(), L("div", {
2244
2762
  key: 0,
2245
2763
  class: V(t.$style.rowCheckbox)
2246
2764
  }, [z(zr, {
2247
- "model-value": J(h)(n),
2248
- onChange: (e) => J(_)(n)
2249
- }, null, 8, ["model-value", "onChange"])], 2)) : I("", !0), (W(!0), L(N, null, ge(J(s), (i, a) => (W(), L("div", {
2765
+ "model-value": Y(E)(n),
2766
+ onChange: (e) => Y(O)(n)
2767
+ }, null, 8, ["model-value", "onChange"])], 2)) : I("", !0), (W(!0), L(N, null, K(Y(m), (i, a) => (W(), L("div", {
2250
2768
  key: i.key,
2251
- class: V([t.$style.bodyItem, a === 0 && t.$style.bodyItemFirst])
2252
- }, [K(t.$slots, `row-cell-${i.key}`, {
2769
+ class: V([
2770
+ t.$style.bodyItem,
2771
+ a === 0 && t.$style.bodyItemFirst,
2772
+ a < Y(x) && t.$style.bodyItemSticky
2773
+ ]),
2774
+ style: H(a < Y(x) ? {
2775
+ left: Y(S)[a],
2776
+ zIndex: 2 + a
2777
+ } : void 0)
2778
+ }, [q(t.$slots, `row-cell-${i.key}`, {
2253
2779
  row: n,
2254
2780
  rowIndex: r,
2255
- isRowSelected: J(h)(n),
2781
+ isRowSelected: Y(E)(n),
2256
2782
  columnStyle: e.config?.columnStyle,
2257
2783
  cell: n[i.key]
2258
- }, () => [R("span", { class: V(t.$style.cell) }, q(i.format ? i.format(n[i.key]) : n[i.key]), 3)])], 2))), 128))], 6))), 128))], 64))], 2),
2784
+ }, () => [R("span", { class: V(t.$style.cell) }, J(i.format ? i.format(n[i.key]) : n[i.key]), 3)])], 6))), 128))], 6))), 128))], 64))], 2),
2259
2785
  R("div", {
2260
2786
  class: V(t.$style.unusedPlace),
2261
- style: H(J(a))
2262
- }, [K(t.$slots, "unused-place")], 6)
2787
+ style: H(Y(f))
2788
+ }, [q(t.$slots, "unused-place")], 6)
2263
2789
  ], 6));
2264
2790
  }
2265
2791
  }), [["__cssModules", { $style: {
2266
- ui3nTable: "_ui3nTable_d2343_3",
2267
- hiddenBlock: "_hiddenBlock_d2343_30",
2268
- header: "_header_d2343_37",
2269
- withGroupActions: "_withGroupActions_d2343_49",
2270
- headerItemWrapper: "_headerItemWrapper_d2343_54",
2271
- headerItem: "_headerItem_d2343_54",
2272
- sortable: "_sortable_d2343_75",
2273
- headerText: "_headerText_d2343_79",
2274
- sortableActive: "_sortableActive_d2343_90",
2275
- groupActions: "_groupActions_d2343_94",
2276
- groupActionsBody: "_groupActionsBody_d2343_110",
2277
- body: "_body_d2343_117",
2278
- row: "_row_d2343_123",
2279
- customRow: "_customRow_d2343_132",
2280
- selectable: "_selectable_d2343_137",
2281
- selected: "_selected_d2343_144",
2282
- rowCheckbox: "_rowCheckbox_d2343_148",
2283
- bodyItem: "_bodyItem_d2343_160",
2284
- bodyItemFirst: "_bodyItemFirst_d2343_167",
2285
- cell: "_cell_d2343_171",
2286
- noData: "_noData_d2343_177",
2287
- unusedPlace: "_unusedPlace_d2343_190"
2288
- } }]]), Yr = ["id", "onClick"], Xr = /* @__PURE__ */ O(/* @__PURE__ */ B({
2792
+ tableHost: "_tableHost_vxa0k_3",
2793
+ ui3nTable: "_ui3nTable_vxa0k_10",
2794
+ ui3nTableInsideScrollbar: "_ui3nTableInsideScrollbar_vxa0k_38",
2795
+ stickyColumns: "_stickyColumns_vxa0k_45",
2796
+ body: "_body_vxa0k_48",
2797
+ hiddenBlock: "_hiddenBlock_vxa0k_53",
2798
+ header: "_header_vxa0k_60",
2799
+ withGroupActions: "_withGroupActions_vxa0k_72",
2800
+ headerItemWrapper: "_headerItemWrapper_vxa0k_77",
2801
+ headerItem: "_headerItem_vxa0k_77",
2802
+ sortable: "_sortable_vxa0k_98",
2803
+ headerText: "_headerText_vxa0k_102",
2804
+ sortableActive: "_sortableActive_vxa0k_113",
2805
+ groupActions: "_groupActions_vxa0k_117",
2806
+ groupActionsBody: "_groupActionsBody_vxa0k_133",
2807
+ row: "_row_vxa0k_146",
2808
+ customRow: "_customRow_vxa0k_155",
2809
+ selectable: "_selectable_vxa0k_160",
2810
+ selected: "_selected_vxa0k_167",
2811
+ rowCheckbox: "_rowCheckbox_vxa0k_171",
2812
+ bodyItem: "_bodyItem_vxa0k_183",
2813
+ bodyItemFirst: "_bodyItemFirst_vxa0k_190",
2814
+ cell: "_cell_vxa0k_194",
2815
+ noData: "_noData_vxa0k_200",
2816
+ unusedPlace: "_unusedPlace_vxa0k_213",
2817
+ headerItemSticky: "_headerItemSticky_vxa0k_236",
2818
+ headerItemFirst: "_headerItemFirst_vxa0k_240",
2819
+ bodyItemSticky: "_bodyItemSticky_vxa0k_246"
2820
+ } }]]), ti = ["id", "onClick"], ni = /* @__PURE__ */ k(/* @__PURE__ */ B({
2289
2821
  __name: "ui3n-dialog-provider",
2290
2822
  setup(e) {
2291
2823
  let t = le(C);
@@ -2295,17 +2827,17 @@ var qr = ["name", "value"], Jr = /* @__PURE__ */ O(/* @__PURE__ */ B({
2295
2827
  function r(e, n) {
2296
2828
  t.$closeDialog(e, n);
2297
2829
  }
2298
- return (e, i) => (W(), F(ae, { to: "body" }, [(W(!0), L(N, null, ge(J(t).dialogStack.value, (t) => (W(), L("div", {
2830
+ return (e, i) => (W(), F(ae, { to: "body" }, [(W(!0), L(N, null, K(Y(t).dialogStack.value, (t) => (W(), L("div", {
2299
2831
  id: `dialog-wrapper-${t.id}`,
2300
2832
  key: t.id,
2301
2833
  class: V(e.$style["dialog-provider-overlay"]),
2302
- onClick: Q((e) => n(t.id, t.props), ["self", "prevent"])
2303
- }, [(W(), F(_e(t.component), ue({ ref_for: !0 }, t.props, { onAction: (e) => r(t.id, e) }), null, 16, ["onAction"]))], 10, Yr))), 128))]));
2834
+ onClick: $((e) => n(t.id, t.props), ["self", "prevent"])
2835
+ }, [(W(), F(ge(t.component), ue({ ref_for: !0 }, t.props, { onAction: (e) => r(t.id, e) }), null, 16, ["onAction"]))], 10, ti))), 128))]));
2304
2836
  }
2305
2837
  }), [["__cssModules", { $style: { "dialog-provider-overlay": "_dialog-provider-overlay_v01lr_1" } }]]);
2306
2838
  //#endregion
2307
2839
  //#region src/components/ui3n-dialog/util.ts
2308
- function Zr({ width: e, style: t, defaultValue: n = 380 }) {
2840
+ function ri({ width: e, style: t, defaultValue: n = 380 }) {
2309
2841
  if (e) {
2310
2842
  let t = Number(e);
2311
2843
  return Number.isNaN(t) ? e : `${t}px`;
@@ -2314,7 +2846,7 @@ function Zr({ width: e, style: t, defaultValue: n = 380 }) {
2314
2846
  }
2315
2847
  //#endregion
2316
2848
  //#region src/components/ui3n-dialog/ui3n-dialog.vue?vue&type=script&setup=true&lang.ts
2317
- var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2849
+ var ii = ["id"], ai = /* @__PURE__ */ k(/* @__PURE__ */ B({
2318
2850
  __name: "ui3n-dialog",
2319
2851
  props: {
2320
2852
  id: {},
@@ -2351,7 +2883,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2351
2883
  },
2352
2884
  emits: ["action"],
2353
2885
  setup(e, { emit: t }) {
2354
- let n = e, r = t, i = Ce("dialog-el"), a = G(!1), o = G({
2886
+ let n = e, r = t, i = Se("dialog-el"), a = G(!1), o = G({
2355
2887
  initialLeft: 0,
2356
2888
  initialTop: 0,
2357
2889
  left: 0,
@@ -2359,11 +2891,11 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2359
2891
  shiftX: 0,
2360
2892
  shiftY: 0
2361
2893
  }), s = P(() => ({
2362
- width: Zr({
2894
+ width: ri({
2363
2895
  width: n.width,
2364
2896
  style: n.cssStyle
2365
2897
  }),
2366
- ...(0, wn.default)(n.cssStyle, "width"),
2898
+ ...(0, Cn.default)(n.cssStyle, "width"),
2367
2899
  ...n.draggable && {
2368
2900
  left: `${o.value.left}px`,
2369
2901
  top: `${o.value.top}px`
@@ -2417,7 +2949,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2417
2949
  ...e.cssClass
2418
2950
  ],
2419
2951
  style: s.value
2420
- }, ye(e.draggable ? {
2952
+ }, ve(e.draggable ? {
2421
2953
  dragstart: u,
2422
2954
  mousedown: f,
2423
2955
  mouseup: d,
@@ -2427,42 +2959,42 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2427
2959
  e.title && !t.$slots.header ? (W(), L("div", {
2428
2960
  key: 0,
2429
2961
  class: V([t.$style.title, t.$style.titleDefault])
2430
- }, [c.value ? (W(), F(A, ue({ key: 0 }, c.value, { class: t.$style.icon }), null, 16, ["class"])) : I("", !0), R("span", null, q(e.title), 1)], 2)) : I("", !0),
2962
+ }, [c.value ? (W(), F(ee, ue({ key: 0 }, c.value, { class: t.$style.icon }), null, 16, ["class"])) : I("", !0), R("span", null, J(e.title), 1)], 2)) : I("", !0),
2431
2963
  t.$slots.header ? (W(), L("div", {
2432
2964
  key: 1,
2433
2965
  class: V(t.$style.title)
2434
- }, [K(t.$slots, "header")], 2)) : I("", !0),
2966
+ }, [q(t.$slots, "header")], 2)) : I("", !0),
2435
2967
  t.$slots.body ? (W(), L("div", {
2436
2968
  key: 2,
2437
2969
  class: V(t.$style.content)
2438
- }, [K(t.$slots, "body")], 2)) : I("", !0),
2970
+ }, [q(t.$slots, "body")], 2)) : I("", !0),
2439
2971
  (e.confirmButton || e.cancelButton) && !t.$slots.actions ? (W(), L("div", {
2440
2972
  key: 3,
2441
2973
  class: V([t.$style.actions, t.$style.actionsDefault])
2442
- }, [e.cancelButton ? (W(), F(k, {
2974
+ }, [e.cancelButton ? (W(), F(A, {
2443
2975
  key: 0,
2444
2976
  type: "custom",
2445
2977
  color: e.cancelButtonBackground,
2446
2978
  "text-color": e.cancelButtonColor,
2447
- onClick: i[0] ||= Q(() => r("action", {
2979
+ onClick: i[0] ||= $(() => r("action", {
2448
2980
  event: "cancel",
2449
2981
  data: n.data
2450
2982
  }), ["stop", "prevent"])
2451
2983
  }, {
2452
- default: X(() => [ce(q(e.cancelButtonText), 1)]),
2984
+ default: Z(() => [ce(J(e.cancelButtonText), 1)]),
2453
2985
  _: 1
2454
- }, 8, ["color", "text-color"])) : I("", !0), e.confirmButton ? (W(), F(k, {
2986
+ }, 8, ["color", "text-color"])) : I("", !0), e.confirmButton ? (W(), F(A, {
2455
2987
  key: 1,
2456
2988
  type: "custom",
2457
2989
  color: e.confirmButtonBackground,
2458
2990
  "text-color": e.confirmButtonColor,
2459
2991
  disabled: !e.isValid,
2460
- onClick: i[1] ||= Q(() => r("action", {
2992
+ onClick: i[1] ||= $(() => r("action", {
2461
2993
  event: "confirm",
2462
2994
  data: n.data
2463
2995
  }), ["stop", "prevent"])
2464
2996
  }, {
2465
- default: X(() => [ce(q(e.confirmButtonText), 1)]),
2997
+ default: Z(() => [ce(J(e.confirmButtonText), 1)]),
2466
2998
  _: 1
2467
2999
  }, 8, [
2468
3000
  "color",
@@ -2472,12 +3004,12 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2472
3004
  t.$slots.actions ? (W(), L("div", {
2473
3005
  key: 4,
2474
3006
  class: V(t.$style.actions)
2475
- }, [K(t.$slots, "actions")], 2)) : I("", !0),
3007
+ }, [q(t.$slots, "actions")], 2)) : I("", !0),
2476
3008
  t.$slots.loading ? (W(), L("div", {
2477
3009
  key: 5,
2478
3010
  class: V(t.$style.loading)
2479
- }, [K(t.$slots, "loading")], 2)) : I("", !0),
2480
- e.hideCloseButton ? I("", !0) : (W(), F(k, {
3011
+ }, [q(t.$slots, "loading")], 2)) : I("", !0),
3012
+ e.hideCloseButton ? I("", !0) : (W(), F(A, {
2481
3013
  key: 6,
2482
3014
  class: V(t.$style.closeBtn),
2483
3015
  type: "icon",
@@ -2486,9 +3018,9 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2486
3018
  icon: "round-close",
2487
3019
  "icon-size": "16",
2488
3020
  "icon-color": "var(--color-icon-control-primary-default)",
2489
- onClick: i[2] ||= Q((e) => r("action", { event: "close" }), ["stop", "prevent"])
3021
+ onClick: i[2] ||= $((e) => r("action", { event: "close" }), ["stop", "prevent"])
2490
3022
  }, null, 8, ["class"]))
2491
- ], 16, Qr));
3023
+ ], 16, ii));
2492
3024
  }
2493
3025
  }), [["__cssModules", { $style: {
2494
3026
  dialog: "_dialog_13zmx_3",
@@ -2501,7 +3033,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2501
3033
  actions: "_actions_13zmx_74",
2502
3034
  actionsDefault: "_actionsDefault_13zmx_81",
2503
3035
  loading: "_loading_13zmx_89"
2504
- } }]]), ei = ["id"], ti = /* @__PURE__ */ O(/* @__PURE__ */ B({
3036
+ } }]]), oi = ["id"], si = /* @__PURE__ */ k(/* @__PURE__ */ B({
2505
3037
  __name: "ui3n-menu",
2506
3038
  props: {
2507
3039
  id: {},
@@ -2545,23 +3077,23 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2545
3077
  "update:modelValue"
2546
3078
  ],
2547
3079
  setup(e, { expose: t, emit: n }) {
2548
- let r = e, i = n, a = Ce("menu-trigger-element"), o = Ce("menu-content-element"), s = G(!1), c = G(r.triggerElement || null), l = P(() => c.value || a.value), u = P(() => {
3080
+ let r = e, i = n, a = Se("menu-trigger-element"), o = Se("menu-content-element"), s = G(!1), c = G(r.triggerElement || null), l = P(() => c.value || a.value), u = P(() => {
2549
3081
  let e = l.value;
2550
3082
  return e ? e instanceof HTMLElement ? e : "contextElement" in e && e.contextElement instanceof HTMLElement ? e.contextElement : null : null;
2551
3083
  }), d = P(() => {
2552
- let e = [ke({
3084
+ let e = [Oe({
2553
3085
  mainAxis: r.offsetY,
2554
3086
  crossAxis: r.offsetX + 2
2555
3087
  })];
2556
- return r.allowFlip && e.push(Oe({
3088
+ return r.allowFlip && e.push(De({
2557
3089
  fallbackAxisSideDirection: "end",
2558
3090
  fallbackPlacements: ["top-end", "bottom-end"]
2559
- })), e.push(Ae()), e;
2560
- }), { floatingStyles: f, isPositioned: p, update: m } = je(l, o, {
3091
+ })), e.push(ke()), e;
3092
+ }), { floatingStyles: f, isPositioned: p, update: m } = Ae(l, o, {
2561
3093
  placement: "bottom-start",
2562
3094
  strategy: r.positionStrategy,
2563
3095
  middleware: d,
2564
- whileElementsMounted: r.positionAutoupdate || r.positionStrategy === "fixed" ? De : void 0
3096
+ whileElementsMounted: r.positionAutoupdate || r.positionStrategy === "fixed" ? Ee : void 0
2565
3097
  }), h = P(() => {
2566
3098
  let e = "";
2567
3099
  if (typeof r.contentBorderRadius == "number") e = `${r.contentBorderRadius}px`;
@@ -2618,13 +3150,13 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2618
3150
  function S(e) {
2619
3151
  u.value?.contains(e.target) || (i("click-outside"), r.closeOnClickOutside && (s.value = !1, i("close"), i("update:modelValue", s.value)));
2620
3152
  }
2621
- return Y(() => s.value, (e) => {
3153
+ return X(() => s.value, (e) => {
2622
3154
  e ? v() : y();
2623
- }), Y(() => r.modelValue, (e) => {
3155
+ }), X(() => r.modelValue, (e) => {
2624
3156
  e !== void 0 && s.value !== e && (s.value = e, i(e ? "open" : "close"));
2625
- }, { immediate: !0 }), Y(() => r.triggerElement, (e) => {
3157
+ }, { immediate: !0 }), X(() => r.triggerElement, (e) => {
2626
3158
  e && (c.value = e, m());
2627
- }), Y([() => r.offsetX, () => r.offsetY], ([e, t], [n, r]) => {
3159
+ }), X([() => r.offsetX, () => r.offsetY], ([e, t], [n, r]) => {
2628
3160
  (e !== n || t !== r) && m();
2629
3161
  }), me(() => {
2630
3162
  y();
@@ -2639,20 +3171,20 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2639
3171
  }, [R("div", {
2640
3172
  ref: "menu-trigger-element",
2641
3173
  class: V([t.$style.ui3nMenuTrigger, e.disabled && t.$style.ui3nMenuTriggerDisabled]),
2642
- onClick: Q(b, ["stop"])
2643
- }, [K(t.$slots, "default")], 2), s.value ? Te((W(), L("div", ue({
3174
+ onClick: $(b, ["stop"])
3175
+ }, [q(t.$slots, "default")], 2), s.value ? we((W(), L("div", ue({
2644
3176
  key: 0,
2645
3177
  ref: "menu-content-element",
2646
3178
  style: h.value,
2647
3179
  class: t.$style.ui3nMenuContent
2648
- }, ye(e.closeOnClick ? { click: x } : {}, !0)), [K(t.$slots, "menu")], 16)), [[J(On), S]]) : I("", !0)], 10, ei));
3180
+ }, ve(e.closeOnClick ? { click: x } : {}, !0)), [q(t.$slots, "menu")], 16)), [[Y(Dn), S]]) : I("", !0)], 10, oi));
2649
3181
  }
2650
3182
  }), [["__cssModules", { $style: {
2651
3183
  ui3nMenu: "_ui3nMenu_t6wf8_3",
2652
3184
  ui3nMenuTrigger: "_ui3nMenuTrigger_t6wf8_11",
2653
3185
  ui3nMenuTriggerDisabled: "_ui3nMenuTriggerDisabled_t6wf8_15",
2654
3186
  ui3nMenuContent: "_ui3nMenuContent_t6wf8_20"
2655
- } }]]), ni = ["id"], ri = ["onClick"], ii = /* @__PURE__ */ O(/* @__PURE__ */ B({
3187
+ } }]]), ci = ["id"], li = ["onClick"], ui = /* @__PURE__ */ k(/* @__PURE__ */ B({
2656
3188
  __name: "ui3n-list",
2657
3189
  props: {
2658
3190
  id: {},
@@ -2675,22 +3207,22 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2675
3207
  ref: "listElement",
2676
3208
  id: e.id,
2677
3209
  class: V(t.$style.ui3nList)
2678
- }, [R("div", { class: V([t.$style.ui3nListTitle, e.sticky && t.$style.ui3nListTitleSticky]) }, [K(t.$slots, "title", {}, () => [e.title ? (W(), L("div", {
3210
+ }, [R("div", { class: V([t.$style.ui3nListTitle, e.sticky && t.$style.ui3nListTitleSticky]) }, [q(t.$slots, "title", {}, () => [e.title ? (W(), L("div", {
2679
3211
  key: 0,
2680
3212
  class: V(t.$style.ui3nListTitleContent)
2681
- }, q(e.title), 3)) : I("", !0)])], 2), R("div", { class: V(t.$style.ui3nListContent) }, [(W(!0), L(N, null, ge(e.items, (r, i) => (W(), L("div", {
3213
+ }, J(e.title), 3)) : I("", !0)])], 2), R("div", { class: V(t.$style.ui3nListContent) }, [(W(!0), L(N, null, K(e.items, (r, i) => (W(), L("div", {
2682
3214
  key: r[e.keyField],
2683
3215
  class: V(t.$style.ui3nListItem)
2684
- }, [K(t.$slots, "item", {
3216
+ }, [q(t.$slots, "item", {
2685
3217
  item: r,
2686
3218
  index: i
2687
3219
  }, () => [R("div", {
2688
3220
  class: V([t.$style.ui3nListItemContent, e.disabled && t.$style.ui3nListItemContentDisabled]),
2689
- onClick: Q((e) => n("select", {
3221
+ onClick: $((e) => n("select", {
2690
3222
  value: r,
2691
3223
  index: i
2692
3224
  }), ["stop"])
2693
- }, q(r), 11, ri)])], 2))), 128))], 2)], 10, ni));
3225
+ }, J(r), 11, li)])], 2))), 128))], 2)], 10, ci));
2694
3226
  }
2695
3227
  }), [["__cssModules", { $style: {
2696
3228
  ui3nList: "_ui3nList_1mtxl_1",
@@ -2701,10 +3233,10 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2701
3233
  ui3nListItem: "_ui3nListItem_1mtxl_26",
2702
3234
  ui3nListItemContent: "_ui3nListItemContent_1mtxl_43",
2703
3235
  ui3nListItemContentDisabled: "_ui3nListItemContentDisabled_1mtxl_50"
2704
- } }]]), ai = 32, oi = /* @__PURE__ */ O(/* @__PURE__ */ B({
3236
+ } }]]), di = 32, fi = /* @__PURE__ */ k(/* @__PURE__ */ B({
2705
3237
  __name: "ui3n-scrollbar-vertical",
2706
3238
  props: {
2707
- thumbMinHeight: { default: ai },
3239
+ thumbMinHeight: { default: di },
2708
3240
  thumbHeight: { default: "auto" },
2709
3241
  thumbRadius: { default: 4 },
2710
3242
  thumbColor: { default: "var(--color-bg-control-accent-default)" },
@@ -2722,7 +3254,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2722
3254
  setup(e, { expose: t, emit: n }) {
2723
3255
  let r = e, i = n, a = G(null), o = G(null), s = G(null), c = G(0), l = G(0), u = G(0), d = G(!1), f = G(!1), p = G(!1), m = null, h, g = 0, _ = 0, v = P(() => c.value > l.value), y = P(() => d.value ? !0 : v.value && (f.value || p.value)), b = P(() => {
2724
3256
  let e = Number(r.thumbMinHeight);
2725
- return isNaN(e) ? ai : e;
3257
+ return isNaN(e) ? di : e;
2726
3258
  }), x = P(() => {
2727
3259
  if (!c.value) return 0;
2728
3260
  if (r.thumbHeight !== "auto") {
@@ -2738,17 +3270,17 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2738
3270
  }), C = P(() => {
2739
3271
  let e = Number(r.thumbRadius);
2740
3272
  return isNaN(e) ? String(r.thumbRadius) : `${e}px`;
2741
- }), w = P(() => r.thumbColor), T = P(() => r.thumbHoverColor), ee = P(() => r.thumbActiveColor), E = P(() => {
3273
+ }), w = P(() => r.thumbColor), T = P(() => r.thumbHoverColor), E = P(() => r.thumbActiveColor), D = P(() => {
2742
3274
  let e = Number(r.trackWidth);
2743
3275
  return isNaN(e) ? String(r.trackWidth) : `${e}px`;
2744
- }), D = P(() => r.trackColor), O = P(() => {
3276
+ }), O = P(() => r.trackColor), k = P(() => {
2745
3277
  let e = Number(r.trackRadius);
2746
3278
  return isNaN(e) ? String(r.trackRadius) : `${e}px`;
2747
3279
  });
2748
- function k() {
3280
+ function A() {
2749
3281
  a.value && (c.value = a.value.scrollHeight, l.value = a.value.clientHeight, u.value = a.value.scrollTop);
2750
3282
  }
2751
- function A(e) {
3283
+ function ee(e) {
2752
3284
  d.value || (u.value = e.target.scrollTop), p.value = !0, h && clearTimeout(h), h = setTimeout(() => {
2753
3285
  p.value = !1;
2754
3286
  }, 1500), i("scroll", e);
@@ -2775,7 +3307,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2775
3307
  }
2776
3308
  }
2777
3309
  return U(() => {
2778
- k(), a.value && (m = new ResizeObserver(k), m.observe(a.value), r.autoUpdate && a.value.firstElementChild && m.observe(a.value.firstElementChild));
3310
+ A(), a.value && (m = new ResizeObserver(A), m.observe(a.value), r.autoUpdate && a.value.firstElementChild && m.observe(a.value.firstElementChild));
2779
3311
  }), pe(() => {
2780
3312
  m?.disconnect(), h && clearTimeout(h), s.value && (s.value.removeEventListener("pointermove", ne), s.value.removeEventListener("pointerup", M), s.value.removeEventListener("pointercancel", M)), document.body.style.userSelect = "";
2781
3313
  }), t({
@@ -2783,17 +3315,17 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2783
3315
  a.value?.scrollTo(e);
2784
3316
  },
2785
3317
  getContainer: () => a.value,
2786
- updateMetrics: k
3318
+ updateMetrics: A
2787
3319
  }), (e, t) => (W(), L("div", {
2788
3320
  class: V(e.$style.ui3nScrollbarVertical),
2789
3321
  style: H({
2790
3322
  "--ui3n-scrollbar-thumb-radius": C.value,
2791
3323
  "--ui3n-scrollbar-thumb-color": w.value,
2792
3324
  "--ui3n-scrollbar-thumb-hover-color": T.value,
2793
- "--ui3n-scrollbar-thumb-active-color": ee.value,
2794
- "--ui3n-scrollbar-track-width": E.value,
2795
- "--ui3n-scrollbar-track-radius": O.value,
2796
- "--ui3n-scrollbar-track-color": D.value
3325
+ "--ui3n-scrollbar-thumb-active-color": E.value,
3326
+ "--ui3n-scrollbar-track-width": D.value,
3327
+ "--ui3n-scrollbar-track-radius": k.value,
3328
+ "--ui3n-scrollbar-track-color": O.value
2797
3329
  }),
2798
3330
  onMouseenter: t[0] ||= (e) => f.value = !0,
2799
3331
  onMouseleave: t[1] ||= (e) => f.value = !1
@@ -2801,8 +3333,8 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2801
3333
  ref_key: "containerRef",
2802
3334
  ref: a,
2803
3335
  class: V(e.$style.scrollbarContainer),
2804
- onScroll: A
2805
- }, [K(e.$slots, "default")], 34), R("div", {
3336
+ onScroll: ee
3337
+ }, [q(e.$slots, "default")], 34), R("div", {
2806
3338
  ref_key: "trackRef",
2807
3339
  ref: o,
2808
3340
  class: V([e.$style.track, { [e.$style.trackVisible]: y.value }]),
@@ -2825,7 +3357,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2825
3357
  trackVisible: "_trackVisible_m0o0t_38",
2826
3358
  thumb: "_thumb_m0o0t_44",
2827
3359
  active: "_active_m0o0t_57"
2828
- } }]]), si = /* @__PURE__ */ O(/* @__PURE__ */ B({
3360
+ } }]]), pi = /* @__PURE__ */ k(/* @__PURE__ */ B({
2829
3361
  __name: "ui3n-virtual-scroll",
2830
3362
  props: {
2831
3363
  items: {},
@@ -2844,7 +3376,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2844
3376
  "reached-bottom"
2845
3377
  ],
2846
3378
  setup(e, { expose: t, emit: n }) {
2847
- let r = e, i = n, a = G(0), o = G(null), s = G(null), c = ve([]), l = G(0), u = /* @__PURE__ */ new Map(), d = ve(/* @__PURE__ */ new Map()), f = !1, p = null, m = null, h = [], g = null, _ = /* @__PURE__ */ new Map(), v = P(() => {
3379
+ let r = e, i = n, a = G(0), o = G(null), s = G(null), c = _e([]), l = G(0), u = /* @__PURE__ */ new Map(), d = _e(/* @__PURE__ */ new Map()), f = !1, p = null, m = null, h = [], g = null, _ = /* @__PURE__ */ new Map(), v = P(() => {
2848
3380
  if (l.value, !c.value.length) return 0;
2849
3381
  let e = c.value[c.value.length - 1];
2850
3382
  return e.top + e.height;
@@ -2883,25 +3415,25 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2883
3415
  function T() {
2884
3416
  return s.value?.getContainer() ?? null;
2885
3417
  }
2886
- function ee(e) {
3418
+ function E(e) {
2887
3419
  if (!e.length) return 0;
2888
3420
  let t = e[e.length - 1];
2889
3421
  return t.top + t.height;
2890
3422
  }
2891
- function E(e, t, n = r.stickToBottomThreshold) {
2892
- return !e || !t.length ? !1 : ee(t) - (e.scrollTop + e.clientHeight) <= n;
3423
+ function D(e, t, n = r.stickToBottomThreshold) {
3424
+ return !e || !t.length ? !1 : E(t) - (e.scrollTop + e.clientHeight) <= n;
2893
3425
  }
2894
- function D(e, t) {
3426
+ function O(e, t) {
2895
3427
  if (!e) {
2896
3428
  a.value = Math.max(0, t);
2897
3429
  return;
2898
3430
  }
2899
3431
  f = !0, e.scrollTop = Math.max(0, t), a.value = e.scrollTop, f = !1;
2900
3432
  }
2901
- function O(e = T(), t = c.value) {
2902
- t.length && D(e, ee(t) - (e?.clientHeight ?? y.value));
3433
+ function k(e = T(), t = c.value) {
3434
+ t.length && O(e, E(t) - (e?.clientHeight ?? y.value));
2903
3435
  }
2904
- function k(e, t, n) {
3436
+ function A(e, t, n) {
2905
3437
  if (!e.length || !t.length) return null;
2906
3438
  let r = b(e, n), i = e[r], a = t[r]?.id;
2907
3439
  return !i || !a ? null : {
@@ -2909,9 +3441,9 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2909
3441
  offsetWithinItem: n - i.top
2910
3442
  };
2911
3443
  }
2912
- function A(e, t, n, r) {
3444
+ function ee(e, t, n, r) {
2913
3445
  let i = n.get(e.id);
2914
- return i === void 0 || !t[i] ? !1 : (D(r, t[i].top + e.offsetWithinItem), !0);
3446
+ return i === void 0 || !t[i] ? !1 : (O(r, t[i].top + e.offsetWithinItem), !0);
2915
3447
  }
2916
3448
  function j() {
2917
3449
  let e = /* @__PURE__ */ new Map(), t = Array(r.items.length), n = /* @__PURE__ */ new Map(), i = 0;
@@ -2929,14 +3461,14 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2929
3461
  return d.value = e, t;
2930
3462
  }
2931
3463
  function te() {
2932
- let e = T(), t = c.value, n = h, i = r.stickToBottom && (!t.length || E(e, t)), o = i ? null : k(t, n, a.value);
3464
+ let e = T(), t = c.value, n = h, i = r.stickToBottom && (!t.length || D(e, t)), o = i ? null : A(t, n, a.value);
2933
3465
  c.value = j(), l.value++, h = r.items.slice(), g = null;
2934
3466
  let u = () => {
2935
3467
  let e = T();
2936
- if (i) O(e, c.value);
2937
- else if (o && !A(o, c.value, d.value, e) && e) {
2938
- let t = Math.max(0, ee(c.value) - e.clientHeight);
2939
- a.value > t && D(e, t);
3468
+ if (i) k(e, c.value);
3469
+ else if (o && !ee(o, c.value, d.value, e) && e) {
3470
+ let t = Math.max(0, E(c.value) - e.clientHeight);
3471
+ a.value > t && O(e, t);
2940
3472
  }
2941
3473
  s.value?.updateMetrics();
2942
3474
  };
@@ -2948,7 +3480,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2948
3480
  if (f) return;
2949
3481
  let t = e.target;
2950
3482
  a.value = t.scrollTop, i("scroll", e);
2951
- let n = a.value <= r.reachEdgeThreshold, o = E(t, c.value, r.reachEdgeThreshold);
3483
+ let n = a.value <= r.reachEdgeThreshold, o = D(t, c.value, r.reachEdgeThreshold);
2952
3484
  n ? g !== "top" && (g = "top", i("reached-top")) : o ? g !== "bottom" && (g = "bottom", i("reached-bottom")) : g = null;
2953
3485
  }
2954
3486
  function M(e, t) {
@@ -2961,7 +3493,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2961
3493
  }
2962
3494
  }
2963
3495
  function re() {
2964
- O(), s.value?.updateMetrics();
3496
+ k(), s.value?.updateMetrics();
2965
3497
  }
2966
3498
  function ie(e, t, n) {
2967
3499
  return t === "end" ? e.top + e.height - n : t === "center" ? e.top + e.height / 2 - n / 2 : e.top;
@@ -2972,7 +3504,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2972
3504
  let i = c.value[r];
2973
3505
  if (!i) return;
2974
3506
  let a = T();
2975
- if (D(a, ie(i, t, a?.clientHeight ?? y.value)), s.value?.updateMetrics(), n <= 0) return;
3507
+ if (O(a, ie(i, t, a?.clientHeight ?? y.value)), s.value?.updateMetrics(), n <= 0) return;
2976
3508
  let o = i.top;
2977
3509
  requestAnimationFrame(() => {
2978
3510
  let r = d.value.get(e), i = r === void 0 ? void 0 : c.value[r];
@@ -2983,14 +3515,14 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
2983
3515
  scrollToBottom: re,
2984
3516
  scrollToItem: (e, t) => ae(e, t),
2985
3517
  getScrollTop: () => a.value,
2986
- isStuckToBottom: () => E(T(), c.value)
3518
+ isStuckToBottom: () => D(T(), c.value)
2987
3519
  }), U(() => {
2988
3520
  let e = T();
2989
3521
  e && (o.value = e.clientHeight, m = new ResizeObserver((e) => {
2990
3522
  for (let t of e) o.value = t.contentRect.height || t.target.clientHeight;
2991
3523
  }), m.observe(e)), p = new ResizeObserver((e) => {
2992
3524
  requestAnimationFrame(() => {
2993
- let t = Infinity, n = 0, i = c.value.slice(), o = d.value, f = a.value, p = T(), m = r.stickToBottom && E(p, c.value);
3525
+ let t = Infinity, n = 0, i = c.value.slice(), o = d.value, f = a.value, p = T(), m = r.stickToBottom && D(p, c.value);
2994
3526
  for (let r of e) {
2995
3527
  let e = r.target.getAttribute("data-sid");
2996
3528
  if (!e) continue;
@@ -3010,33 +3542,33 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3010
3542
  ...i[e],
3011
3543
  top: h
3012
3544
  }, h += i[e].height;
3013
- c.value = i, l.value++, m ? O(p, i) : p && n !== 0 && D(p, f + n), s.value?.updateMetrics();
3545
+ c.value = i, l.value++, m ? k(p, i) : p && n !== 0 && O(p, f + n), s.value?.updateMetrics();
3014
3546
  });
3015
3547
  });
3016
3548
  for (let e of _.values()) p.observe(e);
3017
3549
  }), pe(() => {
3018
3550
  p?.disconnect(), m?.disconnect();
3019
- }), Y(() => r.items, te, { immediate: !0 }), (e, t) => (W(), F(oi, {
3551
+ }), X(() => r.items, te, { immediate: !0 }), (e, t) => (W(), F(fi, {
3020
3552
  ref_key: "scrollbarComponentRef",
3021
3553
  ref: s,
3022
3554
  class: V(e.$style.ui3nVirtualScroll),
3023
3555
  "auto-update": !1,
3024
3556
  onScroll: ne
3025
3557
  }, {
3026
- default: X(() => [R("div", {
3558
+ default: Z(() => [R("div", {
3027
3559
  class: V(e.$style.viewport),
3028
3560
  style: H({ height: `${v.value}px` })
3029
3561
  }, [R("div", {
3030
3562
  class: V(e.$style.content),
3031
3563
  style: H({ transform: `translateY(${C.value}px)` })
3032
- }, [(W(!0), L(N, null, ge(w.value, (t, n) => (W(), L("div", ue({
3564
+ }, [(W(!0), L(N, null, K(w.value, (t, n) => (W(), L("div", ue({
3033
3565
  key: t.id,
3034
3566
  ref_for: !0,
3035
3567
  ref: (e) => M(e, t.id)
3036
3568
  }, { ref_for: !0 }, { "data-sid": t.id }, {
3037
3569
  class: e.$style.item,
3038
3570
  style: { minHeight: `${r.minChildHeight}px` }
3039
- }), [K(e.$slots, "item", {
3571
+ }), [q(e.$slots, "item", {
3040
3572
  value: t,
3041
3573
  index: x.value + n
3042
3574
  })], 16))), 128))], 6)], 6)]),
@@ -3048,7 +3580,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3048
3580
  viewport: "_viewport_1mjyl_5",
3049
3581
  content: "_content_1mjyl_14",
3050
3582
  item: "_item_1mjyl_18"
3051
- } }]]), ci = ["id"], li = /* @__PURE__ */ O(/* @__PURE__ */ B({
3583
+ } }]]), mi = ["id"], hi = /* @__PURE__ */ k(/* @__PURE__ */ B({
3052
3584
  __name: "ui3n-tabs",
3053
3585
  props: {
3054
3586
  id: {},
@@ -3062,7 +3594,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3062
3594
  },
3063
3595
  emits: ["update:modelValue"],
3064
3596
  setup(e, { emit: t }) {
3065
- let n = e, r = t, i = be(), a = G(null), o = G(n.modelValue), s = P(() => ({
3597
+ let n = e, r = t, i = ye(), a = G(null), o = G(n.modelValue), s = P(() => ({
3066
3598
  "--ui3n-tabs-active-color": n.activeColor,
3067
3599
  "--ui3n-tabs-inactive-color": n.inactiveColor,
3068
3600
  "--ui3n-tabs-indicator-color": n.indicatorColor,
@@ -3086,7 +3618,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3086
3618
  o.value = e, c(), r("update:modelValue", e);
3087
3619
  }
3088
3620
  }
3089
- return Y(() => n.modelValue, (e) => {
3621
+ return X(() => n.modelValue, (e) => {
3090
3622
  e !== o.value && (o.value = e, de(() => {
3091
3623
  c();
3092
3624
  }));
@@ -3097,16 +3629,16 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3097
3629
  ref: a,
3098
3630
  id: e.id,
3099
3631
  style: H(s.value),
3100
- class: V([J(i).ui3nTabs, e.itemDirection === "vertical" && J(i).vertical]),
3632
+ class: V([Y(i).ui3nTabs, e.itemDirection === "vertical" && Y(i).vertical]),
3101
3633
  onClick: l
3102
- }, [K(t.$slots, "default")], 14, ci));
3634
+ }, [q(t.$slots, "default")], 14, mi));
3103
3635
  }
3104
3636
  }), [["__cssModules", { $style: {
3105
3637
  ui3nTabs: "_ui3nTabs_1yilq_3",
3106
3638
  item: "_item_1yilq_13",
3107
3639
  active: "_active_1yilq_52",
3108
3640
  vertical: "_vertical_1yilq_60"
3109
- } }]]), ui = ["id"], di = /* @__PURE__ */ O(/* @__PURE__ */ B({
3641
+ } }]]), gi = ["id"], _i = /* @__PURE__ */ k(/* @__PURE__ */ B({
3110
3642
  __name: "ui3n-badge-simple",
3111
3643
  props: {
3112
3644
  id: {},
@@ -3120,7 +3652,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3120
3652
  },
3121
3653
  emits: ["change:size"],
3122
3654
  setup(e, { emit: t }) {
3123
- xe((e) => ({
3655
+ be((e) => ({
3124
3656
  v74cb25de: e.color,
3125
3657
  v77996f31: e.textColor
3126
3658
  }));
@@ -3133,7 +3665,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3133
3665
  });
3134
3666
  });
3135
3667
  }
3136
- return Y(() => [n.value, n.dot], () => a()), U(() => {
3668
+ return X(() => [n.value, n.dot], () => a()), U(() => {
3137
3669
  a();
3138
3670
  }), (t, n) => (W(), L("div", {
3139
3671
  ref_key: "element",
@@ -3143,13 +3675,13 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3143
3675
  }, [e.dot ? I("", !0) : (W(), L("span", {
3144
3676
  key: 0,
3145
3677
  class: V(t.$style.ui3nBadgeText)
3146
- }, q(e.value), 3))], 10, ui));
3678
+ }, J(e.value), 3))], 10, gi));
3147
3679
  }
3148
3680
  }), [["__cssModules", { $style: {
3149
3681
  ui3nBadgeSimple: "_ui3nBadgeSimple_1vu4n_1",
3150
3682
  ui3nBadgeDot: "_ui3nBadgeDot_1vu4n_12",
3151
3683
  ui3nBadgeText: "_ui3nBadgeText_1vu4n_30"
3152
- } }]]), fi = /* @__PURE__ */ O(/* @__PURE__ */ B({
3684
+ } }]]), vi = /* @__PURE__ */ k(/* @__PURE__ */ B({
3153
3685
  __name: "ui3n-badge",
3154
3686
  props: {
3155
3687
  id: {},
@@ -3163,7 +3695,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3163
3695
  position: { default: "right-top" }
3164
3696
  },
3165
3697
  setup(e) {
3166
- let t = e, n = Se(), r = G(), i = P(() => !!n.default), a = P(() => {
3698
+ let t = e, n = xe(), r = G(), i = P(() => !!n.default), a = P(() => {
3167
3699
  let [e, n] = t.position.split("-");
3168
3700
  return {
3169
3701
  ...e === "right" && { right: `-${(0, Ur.default)(r.value, "width", 0) / 2}px` },
@@ -3175,7 +3707,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3175
3707
  return (t, n) => i.value ? (W(), L("div", {
3176
3708
  key: 0,
3177
3709
  class: V(t.$style.ui3nBadge)
3178
- }, [R("div", { class: V(t.$style.ui3nBadgeWrapper) }, [K(t.$slots, "default"), z(di, {
3710
+ }, [R("div", { class: V(t.$style.ui3nBadgeWrapper) }, [q(t.$slots, "default"), z(_i, {
3179
3711
  id: e.id,
3180
3712
  dot: e.dot,
3181
3713
  value: e.value,
@@ -3192,7 +3724,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3192
3724
  "text-color",
3193
3725
  "style",
3194
3726
  "class"
3195
- ])], 2)], 2)) : (W(), F(di, {
3727
+ ])], 2)], 2)) : (W(), F(_i, {
3196
3728
  key: 1,
3197
3729
  id: e.id,
3198
3730
  dot: e.dot,
@@ -3211,7 +3743,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3211
3743
  ui3nBadge: "_ui3nBadge_1slsk_1",
3212
3744
  ui3nBadgeWrapper: "_ui3nBadgeWrapper_1slsk_6",
3213
3745
  ui3nBadgeContent: "_ui3nBadgeContent_1slsk_12"
3214
- } }]]), pi = { key: 2 }, mi = /* @__PURE__ */ O(/* @__PURE__ */ B({
3746
+ } }]]), yi = { key: 2 }, bi = /* @__PURE__ */ k(/* @__PURE__ */ B({
3215
3747
  __name: "ui3n-breadcrumb",
3216
3748
  props: {
3217
3749
  separator: { default: void 0 },
@@ -3226,14 +3758,14 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3226
3758
  },
3227
3759
  emits: ["click"],
3228
3760
  setup(e, { emit: t }) {
3229
- let n = e, r = t, i = Se(), a = be(), o = le("ui3n-breadcrumbs-context", null), s = P(() => n.separator ? n.separator : o ? o.separator() : "/"), c = P(() => o ? o.disabled() : !1), l = P(() => {
3761
+ let n = e, r = t, i = xe(), a = ye(), o = le("ui3n-breadcrumbs-context", null), s = P(() => n.separator ? n.separator : o ? o.separator() : "/"), c = P(() => o ? o.disabled() : !1), l = P(() => {
3230
3762
  let e = [a.ui3nBreadcrumb];
3231
3763
  return n.isActive && e.push(a.ui3nBreadcrumbActive), (n.disabled || c.value) && e.push(a.ui3nBreadcrumbDisabled), e;
3232
3764
  });
3233
3765
  function u(e) {
3234
3766
  r("click", e);
3235
3767
  }
3236
- return (t, n) => (W(), L("div", ue({ class: l.value }, ye(e.isActive && !(e.disabled || c.value) ? { click: u } : {}, !0)), [R("span", { class: V(t.$style.content) }, [K(t.$slots, "default")], 2), R("div", { class: V(t.$style.ui3nBreadcrumbSeparator) }, [typeof J(i).separator == "function" ? K(t.$slots, "separator", { key: 0 }) : J(o)?.customSeparatorSlot ? (W(), F(_e(J(o).customSeparatorSlot), { key: 1 })) : (W(), L("span", pi, q(s.value), 1))], 2)], 16));
3768
+ return (t, n) => (W(), L("div", ue({ class: l.value }, ve(e.isActive && !(e.disabled || c.value) ? { click: u } : {}, !0)), [R("span", { class: V(t.$style.content) }, [q(t.$slots, "default")], 2), R("div", { class: V(t.$style.ui3nBreadcrumbSeparator) }, [typeof Y(i).separator == "function" ? q(t.$slots, "separator", { key: 0 }) : Y(o)?.customSeparatorSlot ? (W(), F(ge(Y(o).customSeparatorSlot), { key: 1 })) : (W(), L("span", yi, J(s.value), 1))], 2)], 16));
3237
3769
  }
3238
3770
  }), [["__cssModules", { $style: {
3239
3771
  ui3nBreadcrumb: "_ui3nBreadcrumb_1tz9w_1",
@@ -3241,7 +3773,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3241
3773
  content: "_content_1tz9w_14",
3242
3774
  ui3nBreadcrumbActive: "_ui3nBreadcrumbActive_1tz9w_28",
3243
3775
  ui3nBreadcrumbDisabled: "_ui3nBreadcrumbDisabled_1tz9w_33"
3244
- } }]]), hi = /* @__PURE__ */ O(/* @__PURE__ */ B({
3776
+ } }]]), xi = /* @__PURE__ */ k(/* @__PURE__ */ B({
3245
3777
  __name: "ui3n-breadcrumbs",
3246
3778
  props: {
3247
3779
  separator: { default: "/" },
@@ -3255,15 +3787,15 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3255
3787
  return he("ui3n-breadcrumbs-context", {
3256
3788
  separator: () => t.separator,
3257
3789
  disabled: () => t.disabled,
3258
- customSeparatorSlot: Se().separator
3259
- }), (e, t) => (W(), L("div", { class: V(e.$style.ui3nBreadcrumbs) }, [K(e.$slots, "default")], 2));
3790
+ customSeparatorSlot: xe().separator
3791
+ }), (e, t) => (W(), L("div", { class: V(e.$style.ui3nBreadcrumbs) }, [q(e.$slots, "default")], 2));
3260
3792
  }
3261
- }), [["__cssModules", { $style: { ui3nBreadcrumbs: "_ui3nBreadcrumbs_1oq6f_1" } }]]), gi = ["id", "tabindex"], _i = [
3793
+ }), [["__cssModules", { $style: { ui3nBreadcrumbs: "_ui3nBreadcrumbs_1oq6f_1" } }]]), Si = ["id", "tabindex"], Ci = [
3262
3794
  "name",
3263
3795
  "checked",
3264
3796
  "disabled",
3265
3797
  "value"
3266
- ], vi = /* @__PURE__ */ O(/* @__PURE__ */ B({
3798
+ ], wi = /* @__PURE__ */ k(/* @__PURE__ */ B({
3267
3799
  __name: "ui3n-switch",
3268
3800
  props: {
3269
3801
  id: {},
@@ -3278,7 +3810,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3278
3810
  },
3279
3811
  emits: ["change", "update:modelValue"],
3280
3812
  setup(e, { expose: t, emit: n }) {
3281
- let r = e, i = n, a = Se(), o = G(!1), s = P(() => ({
3813
+ let r = e, i = n, a = xe(), o = G(!1), s = P(() => ({
3282
3814
  "--ui3n-switch-color": r.color,
3283
3815
  "--ui3n-switch-size": `${r.size}px`
3284
3816
  }));
@@ -3288,19 +3820,19 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3288
3820
  function l() {
3289
3821
  o.value = !1, i("change", !1), i("update:modelValue", !1);
3290
3822
  }
3291
- return t({ clear: l }), Y(() => r.name, (e) => {
3823
+ return t({ clear: l }), X(() => r.name, (e) => {
3292
3824
  e || l();
3293
- }), Y(() => r.modelValue, (e) => o.value = e, { immediate: !0 }), (t, n) => (W(), L("div", {
3825
+ }), X(() => r.modelValue, (e) => o.value = e, { immediate: !0 }), (t, n) => (W(), L("div", {
3294
3826
  id: e.id,
3295
3827
  style: H(s.value),
3296
3828
  tabindex: e.disabled ? -1 : 0,
3297
3829
  class: V([
3298
3830
  t.$style.ui3nSwitch,
3299
3831
  o.value && t.$style.checked,
3300
- !J(a).default && t.$style.noLabel,
3832
+ !Y(a).default && t.$style.noLabel,
3301
3833
  e.disabled && t.$style.disabled
3302
3834
  ]),
3303
- onKeydown: [Z(c, ["enter"]), Z(c, ["space"])],
3835
+ onKeydown: [Q(c, ["enter"]), Q(c, ["space"])],
3304
3836
  onClick: c
3305
3837
  }, [
3306
3838
  e.name ? (W(), L("input", {
@@ -3311,10 +3843,10 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3311
3843
  checked: o.value,
3312
3844
  disabled: e.disabled,
3313
3845
  value: o.value ? "on" : ""
3314
- }, null, 8, _i)) : I("", !0),
3846
+ }, null, 8, Ci)) : I("", !0),
3315
3847
  R("div", { class: V(t.$style.body) }, [R("div", { class: V([t.$style.dot, o.value ? t.$style.right : t.$style.left]) }, null, 2)], 2),
3316
- R("div", { class: V(t.$style.label) }, [K(t.$slots, "default")], 2)
3317
- ], 46, gi));
3848
+ R("div", { class: V(t.$style.label) }, [q(t.$slots, "default")], 2)
3849
+ ], 46, Si));
3318
3850
  }
3319
3851
  }), [["__cssModules", { $style: {
3320
3852
  ui3nSwitch: "_ui3nSwitch_1lo7b_1",
@@ -3326,7 +3858,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3326
3858
  right: "_right_1lo7b_57",
3327
3859
  label: "_label_1lo7b_61",
3328
3860
  disabled: "_disabled_1lo7b_68"
3329
- } }]]), yi = ["id"], bi = /* @__PURE__ */ O(/* @__PURE__ */ B({
3861
+ } }]]), Ti = ["id"], Ei = /* @__PURE__ */ k(/* @__PURE__ */ B({
3330
3862
  __name: "ui3n-step-line-bar",
3331
3863
  props: {
3332
3864
  id: {},
@@ -3339,10 +3871,10 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3339
3871
  return (t, r) => (W(), L("div", {
3340
3872
  id: e.id,
3341
3873
  class: V(t.$style.ui3nStepLineBar)
3342
- }, [R("div", { class: V(t.$style.label) }, q(e.label), 3), R("div", { class: V(t.$style.body) }, [(W(!0), L(N, null, ge(n.value, (n) => (W(), L("div", {
3874
+ }, [R("div", { class: V(t.$style.label) }, J(e.label), 3), R("div", { class: V(t.$style.body) }, [(W(!0), L(N, null, K(n.value, (n) => (W(), L("div", {
3343
3875
  key: n,
3344
3876
  class: V([t.$style.step, n <= e.current && t.$style.active])
3345
- }, null, 2))), 128))], 2)], 10, yi));
3877
+ }, null, 2))), 128))], 2)], 10, Ti));
3346
3878
  }
3347
3879
  }), [["__cssModules", { $style: {
3348
3880
  ui3nStepLineBar: "_ui3nStepLineBar_119zg_1",
@@ -3350,7 +3882,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3350
3882
  body: "_body_119zg_17",
3351
3883
  step: "_step_119zg_25",
3352
3884
  active: "_active_119zg_33"
3353
- } }]]), xi = 12, Si = 5, Ci = /* @__PURE__ */ O(/* @__PURE__ */ B({
3885
+ } }]]), Di = 12, Oi = 5, ki = /* @__PURE__ */ k(/* @__PURE__ */ B({
3354
3886
  __name: "ui3n-progress-linear",
3355
3887
  props: {
3356
3888
  value: { default: 0 },
@@ -3382,16 +3914,16 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3382
3914
  return (t, n) => (W(), L("div", {
3383
3915
  style: H(s.value),
3384
3916
  class: V([t.$style.ui3nProgressLinear, e.indeterminate && t.$style.indeterminate])
3385
- }, [a.value && r.value < xi ? (W(), L("div", {
3917
+ }, [a.value && r.value < Di ? (W(), L("div", {
3386
3918
  key: 0,
3387
3919
  class: V([t.$style.text, t.$style.above])
3388
- }, q(o.value), 3)) : I("", !0), R("div", { class: V(t.$style.body) }, [R("div", {
3920
+ }, J(o.value), 3)) : I("", !0), R("div", { class: V(t.$style.body) }, [R("div", {
3389
3921
  class: V(t.$style.value),
3390
3922
  style: H(e.indeterminate ? void 0 : { width: o.value })
3391
- }, [a.value && r.value >= xi && i.value >= Si ? (W(), L("div", {
3923
+ }, [a.value && r.value >= Di && i.value >= Oi ? (W(), L("div", {
3392
3924
  key: 0,
3393
3925
  class: V(t.$style.text)
3394
- }, q(o.value), 3)) : I("", !0)], 6)], 2)], 6));
3926
+ }, J(o.value), 3)) : I("", !0)], 6)], 2)], 6));
3395
3927
  }
3396
3928
  }), [["__cssModules", { $style: {
3397
3929
  ui3nProgressLinear: "_ui3nProgressLinear_1avv2_1",
@@ -3401,7 +3933,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3401
3933
  above: "_above_1avv2_37",
3402
3934
  indeterminate: "_indeterminate_1avv2_47",
3403
3935
  "linear-fly": "_linear-fly_1avv2_1"
3404
- } }]]), wi = ["height", "width"], Ti = ["r"], Ei = ["r", "stroke-dasharray"], Di = /* @__PURE__ */ O(/* @__PURE__ */ B({
3936
+ } }]]), Ai = ["height", "width"], ji = ["r"], Mi = ["r", "stroke-dasharray"], Ni = /* @__PURE__ */ k(/* @__PURE__ */ B({
3405
3937
  __name: "ui3n-progress-circular",
3406
3938
  props: {
3407
3939
  value: { default: 0 },
@@ -3445,16 +3977,16 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3445
3977
  r: s.value,
3446
3978
  cx: "50",
3447
3979
  cy: "50"
3448
- }, null, 10, Ti), R("circle", {
3980
+ }, null, 10, ji), R("circle", {
3449
3981
  class: V(t.$style.chart),
3450
3982
  r: s.value,
3451
3983
  cx: "50",
3452
3984
  cy: "50",
3453
3985
  "stroke-dasharray": e.indeterminate ? void 0 : l.value
3454
- }, null, 10, Ei)], 10, wi)), a.value ? (W(), L("div", {
3986
+ }, null, 10, Mi)], 10, Ai)), a.value ? (W(), L("div", {
3455
3987
  key: 0,
3456
3988
  class: V(t.$style.text)
3457
- }, q(i.value) + "% ", 3)) : I("", !0)], 6));
3989
+ }, J(i.value) + "% ", 3)) : I("", !0)], 6));
3458
3990
  }
3459
3991
  }), [["__cssModules", { $style: {
3460
3992
  ui3nProgressCircular: "_ui3nProgressCircular_zypt9_1",
@@ -3465,7 +3997,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3465
3997
  indeterminate: "_indeterminate_zypt9_45",
3466
3998
  "circular-spin": "_circular-spin_zypt9_1",
3467
3999
  "circular-dash": "_circular-dash_zypt9_1"
3468
- } }]]), Oi = 5, ki = /* @__PURE__ */ O(/* @__PURE__ */ B({
4000
+ } }]]), Pi = 5, Fi = /* @__PURE__ */ k(/* @__PURE__ */ B({
3469
4001
  __name: "ui3n-tooltip",
3470
4002
  props: {
3471
4003
  id: {},
@@ -3502,28 +4034,28 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3502
4034
  };
3503
4035
  switch (l.value) {
3504
4036
  case "top":
3505
- e.mainAxis = -1 * Number(n.offsetY) + Oi, e.crossAxis = Number(n.offsetX);
4037
+ e.mainAxis = -1 * Number(n.offsetY) + Pi, e.crossAxis = Number(n.offsetX);
3506
4038
  break;
3507
4039
  case "bottom":
3508
- e.mainAxis = Number(n.offsetY) + Oi, e.crossAxis = Number(n.offsetX);
4040
+ e.mainAxis = Number(n.offsetY) + Pi, e.crossAxis = Number(n.offsetX);
3509
4041
  break;
3510
4042
  case "left":
3511
- e.mainAxis = -1 * Number(n.offsetX) + Oi, e.crossAxis = Number(n.offsetY);
4043
+ e.mainAxis = -1 * Number(n.offsetX) + Pi, e.crossAxis = Number(n.offsetY);
3512
4044
  break;
3513
4045
  case "right":
3514
- e.mainAxis = Number(n.offsetX) + Oi, e.crossAxis = Number(n.offsetY);
4046
+ e.mainAxis = Number(n.offsetX) + Pi, e.crossAxis = Number(n.offsetY);
3515
4047
  break;
3516
4048
  }
3517
4049
  return e;
3518
- }), d = P(() => [ke(u.value), Ee({
4050
+ }), d = P(() => [Oe(u.value), Te({
3519
4051
  element: s,
3520
4052
  padding: 8
3521
- })]), { floatingStyles: f, isPositioned: p, middlewareData: m } = je(a, o, {
4053
+ })]), { floatingStyles: f, isPositioned: p, middlewareData: m } = Ae(a, o, {
3522
4054
  open: i,
3523
4055
  placement: n.placement,
3524
4056
  strategy: n.positionStrategy,
3525
4057
  middleware: d,
3526
- whileElementsMounted: n.positionStrategy === "fixed" ? De : void 0
4058
+ whileElementsMounted: n.positionStrategy === "fixed" ? Ee : void 0
3527
4059
  }), h = P(() => {
3528
4060
  let e = typeof n.maxContentWidth == "number" || !isNaN(Number(n.maxContentWidth)) ? `${n.maxContentWidth}px` : String(n.maxContentWidth);
3529
4061
  return {
@@ -3531,7 +4063,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3531
4063
  "--ui3n-tooltip-bg-color": n.color,
3532
4064
  "--ui3n-tooltip-text-color": n.textColor,
3533
4065
  "--ui3n-tooltip-max-width": e,
3534
- "--ui3n-tooltip-arrow-size": `${Oi}px`,
4066
+ "--ui3n-tooltip-arrow-size": `${Pi}px`,
3535
4067
  "--ui3n-tooltip-base-offset": "-5px"
3536
4068
  };
3537
4069
  });
@@ -3554,27 +4086,27 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3554
4086
  c.value = !0, b();
3555
4087
  }), pe(() => {
3556
4088
  y();
3557
- }), Y([() => n.trigger, () => n.disabled], () => {
4089
+ }), X([() => n.trigger, () => n.disabled], () => {
3558
4090
  b();
3559
- }), Y(() => n.modelValue, (e) => n.trigger === "manual" && (i.value = e), { immediate: !0 }), Y(p, (e) => {
4091
+ }), X(() => n.modelValue, (e) => n.trigger === "manual" && (i.value = e), { immediate: !0 }), X(p, (e) => {
3560
4092
  r(e ? "opened" : "closed");
3561
4093
  }), (t, n) => (W(), L(N, null, [R("div", {
3562
4094
  ref_key: "referenceContainer",
3563
4095
  ref: a,
3564
4096
  class: V(t.$style.container)
3565
- }, [K(t.$slots, "default")], 2), i.value ? (W(), L("div", {
4097
+ }, [q(t.$slots, "default")], 2), i.value ? (W(), L("div", {
3566
4098
  key: 0,
3567
4099
  ref_key: "floatingEl",
3568
4100
  ref: o,
3569
4101
  class: V(t.$style.floating),
3570
4102
  style: H(h.value)
3571
- }, [K(t.$slots, "content", {}, () => [R("div", { class: V(t.$style.content) }, [ce(q(e.content) + " ", 1), R("div", {
4103
+ }, [q(t.$slots, "content", {}, () => [R("div", { class: V(t.$style.content) }, [ce(J(e.content) + " ", 1), R("div", {
3572
4104
  ref_key: "floatingArrowEl",
3573
4105
  ref: s,
3574
4106
  class: V([t.$style.arrow, t.$style[`arrow-${l.value}`]]),
3575
4107
  style: H({
3576
- left: J(m).arrow?.x == null ? "" : `${J(m).arrow?.x}px`,
3577
- top: J(m).arrow?.y == null ? "" : `${J(m).arrow?.y}px`
4108
+ left: Y(m).arrow?.x == null ? "" : `${Y(m).arrow?.x}px`,
4109
+ top: Y(m).arrow?.y == null ? "" : `${Y(m).arrow?.y}px`
3578
4110
  })
3579
4111
  }, null, 6)], 2)])], 6)) : I("", !0)], 64));
3580
4112
  }
@@ -3587,12 +4119,12 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3587
4119
  "arrow-left": "_arrow-left_1wkac_30",
3588
4120
  "arrow-right": "_arrow-right_1wkac_30",
3589
4121
  content: "_content_1wkac_44"
3590
- } }]]), Ai = [
4122
+ } }]]), Ii = [
3591
4123
  "name",
3592
4124
  "checked",
3593
4125
  "value",
3594
4126
  "disabled"
3595
- ], ji = ["tabindex"], Mi = ["width", "height"], Ni = ["width", "height"], Pi = /* @__PURE__ */ O(/* @__PURE__ */ B({
4127
+ ], Li = ["tabindex"], Ri = ["width", "height"], zi = ["width", "height"], Bi = /* @__PURE__ */ k(/* @__PURE__ */ B({
3596
4128
  __name: "ui3n-radio",
3597
4129
  props: {
3598
4130
  id: {},
@@ -3630,7 +4162,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3630
4162
  },
3631
4163
  emits: ["change", "update:modelValue"],
3632
4164
  setup(e, { expose: t, emit: n }) {
3633
- let r = e, i = n, a = Se(), o = le("ui3n-radio-group-context", null), s = P(() => o !== null), c = P(() => o ? o.groupName.value : r.name || ""), l = G(s.value && o ? o.groupValue.value : r.modelValue), u = P(() => s.value && o ? o.groupValue.value === r.checkedValue : l.value === r.checkedValue), d = P(() => ({
4165
+ let r = e, i = n, a = xe(), o = le("ui3n-radio-group-context", null), s = P(() => o !== null), c = P(() => o ? o.groupName.value : r.name || ""), l = G(s.value && o ? o.groupValue.value : r.modelValue), u = P(() => s.value && o ? o.groupValue.value === r.checkedValue : l.value === r.checkedValue), d = P(() => ({
3634
4166
  "--ui3n-radio-size": `${r.size}px`,
3635
4167
  "--ui3n-radio-color": r.color
3636
4168
  }));
@@ -3649,16 +4181,16 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3649
4181
  return t({ clear: p }), fe(() => {
3650
4182
  let e = !!a.checkedIcon, t = !!a.uncheckedIcon;
3651
4183
  if (e && !t || !e && t) throw Error("[Ui3nRadio] Both checkedIcon and uncheckedIcon slots must have values defined.");
3652
- }), Y(() => r.name, (e) => {
4184
+ }), X(() => r.name, (e) => {
3653
4185
  !e && !s.value && p();
3654
- }), Y(() => r.modelValue, (e) => {
4186
+ }), X(() => r.modelValue, (e) => {
3655
4187
  e !== l.value && (l.value = e);
3656
4188
  }), (t, n) => (W(), L("div", {
3657
4189
  style: H(d.value),
3658
4190
  class: V([
3659
4191
  t.$style.ui3nRadio,
3660
4192
  e.disabled && t.$style.disabled,
3661
- !J(a).default && t.$style.noLabel
4193
+ !Y(a).default && t.$style.noLabel
3662
4194
  ])
3663
4195
  }, [
3664
4196
  R("input", {
@@ -3668,13 +4200,13 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3668
4200
  checked: u.value,
3669
4201
  value: String(e.checkedValue),
3670
4202
  disabled: e.disabled
3671
- }, null, 8, Ai),
4203
+ }, null, 8, Ii),
3672
4204
  R("div", {
3673
4205
  class: V([t.$style.body, e.disabled && t.$style.bodyDisabled]),
3674
4206
  tabindex: e.disabled ? -1 : 0,
3675
- onKeydown: [Z(f, ["enter"]), Z(f, ["space"])],
4207
+ onKeydown: [Q(f, ["enter"]), Q(f, ["space"])],
3676
4208
  onClick: f
3677
- }, [u.value ? K(t.$slots, "checkedIcon", { key: 0 }, () => [(W(), L("svg", {
4209
+ }, [u.value ? q(t.$slots, "checkedIcon", { key: 0 }, () => [(W(), L("svg", {
3678
4210
  width: Number(e.size) - 4,
3679
4211
  height: Number(e.size) - 4,
3680
4212
  viewBox: "0 0 24 24",
@@ -3682,7 +4214,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3682
4214
  }, [...n[0] ||= [R("path", {
3683
4215
  fill: "currentColor",
3684
4216
  d: "M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5s5-2.24 5-5s-2.24-5-5-5m0-5C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8s8 3.58 8 8s-3.58 8-8 8"
3685
- }, null, -1)]], 10, Mi))]) : K(t.$slots, "uncheckedIcon", { key: 1 }, () => [(W(), L("svg", {
4217
+ }, null, -1)]], 10, Ri))]) : q(t.$slots, "uncheckedIcon", { key: 1 }, () => [(W(), L("svg", {
3686
4218
  width: Number(e.size) - 4,
3687
4219
  height: Number(e.size) - 4,
3688
4220
  viewBox: "0 0 24 24",
@@ -3690,8 +4222,8 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3690
4222
  }, [...n[1] ||= [R("path", {
3691
4223
  fill: "currentColor",
3692
4224
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8s8 3.58 8 8s-3.58 8-8 8"
3693
- }, null, -1)]], 10, Ni))])], 42, ji),
3694
- R("div", { class: V(t.$style.label) }, [K(t.$slots, "default")], 2)
4225
+ }, null, -1)]], 10, zi))])], 42, Li),
4226
+ R("div", { class: V(t.$style.label) }, [q(t.$slots, "default")], 2)
3695
4227
  ], 6));
3696
4228
  }
3697
4229
  }), [["__cssModules", { $style: {
@@ -3703,7 +4235,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3703
4235
  icon: "_icon_17bki_62",
3704
4236
  bodyDisabled: "_bodyDisabled_17bki_71",
3705
4237
  iconDisabled: "_iconDisabled_17bki_72"
3706
- } }]]), Fi = /* @__PURE__ */ O(/* @__PURE__ */ B({
4238
+ } }]]), Vi = /* @__PURE__ */ k(/* @__PURE__ */ B({
3707
4239
  __name: "ui3n-radio-group",
3708
4240
  props: {
3709
4241
  id: {},
@@ -3733,20 +4265,20 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3733
4265
  function s() {
3734
4266
  o("");
3735
4267
  }
3736
- return t({ clear: s }), Y(() => r.modelValue, (e) => {
4268
+ return t({ clear: s }), X(() => r.modelValue, (e) => {
3737
4269
  e !== a.value && (a.value = e);
3738
- }), Y(() => r.name, (e) => {
4270
+ }), X(() => r.name, (e) => {
3739
4271
  e || s();
3740
- }), (t, n) => (W(), L("div", { class: V([t.$style.ui3nRadioGroup, e.direction === "horizontal" && t.$style.horizontal]) }, [K(t.$slots, "default")], 2));
4272
+ }), (t, n) => (W(), L("div", { class: V([t.$style.ui3nRadioGroup, e.direction === "horizontal" && t.$style.horizontal]) }, [q(t.$slots, "default")], 2));
3741
4273
  }
3742
4274
  }), [["__cssModules", { $style: {
3743
4275
  ui3nRadioGroup: "_ui3nRadioGroup_1aejh_1",
3744
4276
  horizontal: "_horizontal_1aejh_9"
3745
- } }]]), Ii = ["id"], Li = ["name", "value"], Ri = [
4277
+ } }]]), Hi = ["id"], Ui = ["name", "value"], Wi = [
3746
4278
  "value",
3747
4279
  "placeholder",
3748
4280
  "disabled"
3749
- ], zi = ["title"], Bi = 60, Vi = /* @__PURE__ */ O(/* @__PURE__ */ B({
4281
+ ], Gi = ["title"], Ki = 60, qi = /* @__PURE__ */ k(/* @__PURE__ */ B({
3750
4282
  __name: "ui3n-editable",
3751
4283
  props: {
3752
4284
  id: {},
@@ -3769,19 +4301,19 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3769
4301
  "focusout"
3770
4302
  ],
3771
4303
  setup(e, { expose: t, emit: n }) {
3772
- let r = D, i = On, a = e, o = n, s = G(null), c = G(null), l = G("auto"), u = G(null), d = G(a.modelValue), f = G(a.modelValue), p = G(!1), m = P(() => {
4304
+ let r = O, i = Dn, a = e, o = n, s = G(null), c = G(null), l = G("auto"), u = G(null), d = G(a.modelValue), f = G(a.modelValue), p = G(!1), m = P(() => {
3773
4305
  let e = "100%";
3774
4306
  if (a.maxWidth) {
3775
4307
  let t = Number(a.maxWidth);
3776
4308
  e = Number.isNaN(t) ? a.maxWidth : `${t}px`;
3777
4309
  }
3778
4310
  return {
3779
- "--ui3n-editable-min-width": `${Bi}px`,
4311
+ "--ui3n-editable-min-width": `${Ki}px`,
3780
4312
  "--ui3n-editable-max-width": e
3781
4313
  };
3782
4314
  }), h = P(() => u.value ? u.value.scrollWidth > u.value.clientWidth : !1), g = P(() => a.disallowEmptyValue ? !!d.value : !0);
3783
4315
  function _() {
3784
- c.value && (c.value.textContent = d.value || a.placeholder || "", l.value = `${Math.max(c.value.scrollWidth + 48, Bi)}px`);
4316
+ c.value && (c.value.textContent = d.value || a.placeholder || "", l.value = `${Math.max(c.value.scrollWidth + 48, Ki)}px`);
3785
4317
  }
3786
4318
  function v() {
3787
4319
  a.disabled || (p.value = !0, f.value = d.value, de(() => {
@@ -3803,13 +4335,13 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3803
4335
  function C() {
3804
4336
  d.value = "", f.value = "", o("update:modelValue", "");
3805
4337
  }
3806
- return t({ clear: C }), Y(() => a.modelValue, (e, t) => {
4338
+ return t({ clear: C }), X(() => a.modelValue, (e, t) => {
3807
4339
  e !== t && (d.value = e, f.value = e);
3808
- }), Y(() => p.value, (e) => {
4340
+ }), X(() => p.value, (e) => {
3809
4341
  !a.disabled && o("toggle:editMode", e);
3810
- }), Y(() => a.name, (e) => {
4342
+ }), X(() => a.name, (e) => {
3811
4343
  e || C();
3812
- }), (t, n) => Te((W(), L("div", {
4344
+ }), (t, n) => we((W(), L("div", {
3813
4345
  id: e.id,
3814
4346
  class: V([
3815
4347
  t.$style.ui3nEditable,
@@ -3824,7 +4356,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3824
4356
  type: "hidden",
3825
4357
  name: e.name,
3826
4358
  value: d.value
3827
- }, null, 8, Li)) : I("", !0), p.value ? (W(), L(N, { key: 1 }, [
4359
+ }, null, 8, Ui)) : I("", !0), p.value ? (W(), L(N, { key: 1 }, [
3828
4360
  R("span", {
3829
4361
  ref_key: "hiddenEl",
3830
4362
  ref: c,
@@ -3840,35 +4372,35 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3840
4372
  disabled: e.disabled,
3841
4373
  onInput: y,
3842
4374
  onKeydown: [
3843
- Z(b, ["enter"]),
3844
- Z(b, ["tab"]),
3845
- Z(x, ["esc"])
4375
+ Q(b, ["enter"]),
4376
+ Q(b, ["tab"]),
4377
+ Q(x, ["esc"])
3846
4378
  ]
3847
- }, null, 46, Ri),
3848
- Te((W(), L("div", {
4379
+ }, null, 46, Wi),
4380
+ we((W(), L("div", {
3849
4381
  class: V([
3850
4382
  t.$style.btn,
3851
4383
  t.$style.doneBtn,
3852
4384
  e.disabled && t.$style.btnDisabled
3853
4385
  ]),
3854
- onClick: Q(b, ["stop", "prevent"])
3855
- }, [z(A, {
4386
+ onClick: $(b, ["stop", "prevent"])
4387
+ }, [z(ee, {
3856
4388
  icon: "round-done",
3857
4389
  size: "12",
3858
4390
  color: "var(--color-icon-table-accent-default)"
3859
- })], 2)), [[J(r)]]),
3860
- Te((W(), L("div", {
4391
+ })], 2)), [[Y(r)]]),
4392
+ we((W(), L("div", {
3861
4393
  class: V([
3862
4394
  t.$style.btn,
3863
4395
  t.$style.cancelBtn,
3864
4396
  e.disabled && t.$style.btnDisabled
3865
4397
  ]),
3866
- onClick: Q(x, ["stop", "prevent"])
3867
- }, [z(A, {
4398
+ onClick: $(x, ["stop", "prevent"])
4399
+ }, [z(ee, {
3868
4400
  icon: "round-close",
3869
4401
  size: "12",
3870
4402
  color: "var(--color-icon-table-secondary-default)"
3871
- })], 2)), [[J(r)]])
4403
+ })], 2)), [[Y(r)]])
3872
4404
  ], 64)) : (W(), L("div", {
3873
4405
  key: 2,
3874
4406
  class: V([t.$style.content, !d.value && t.$style.contentEmpty]),
@@ -3876,14 +4408,14 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3876
4408
  }, [R("span", {
3877
4409
  ref_key: "contentValueEl",
3878
4410
  ref: u
3879
- }, q(d.value || e.placeholder || "..."), 513), Te((W(), L("div", {
4411
+ }, J(d.value || e.placeholder || "..."), 513), we((W(), L("div", {
3880
4412
  class: V([t.$style.btn, t.$style.editBtn]),
3881
- onClick: Q(v, ["stop", "prevent"])
3882
- }, [z(A, {
4413
+ onClick: $(v, ["stop", "prevent"])
4414
+ }, [z(ee, {
3883
4415
  icon: "round-edit",
3884
4416
  size: "12",
3885
4417
  color: "var(--color-icon-control-accent-unselected)"
3886
- })], 2)), [[J(r)]])], 10, zi))], 46, Ii)), [[J(i), S]]);
4418
+ })], 2)), [[Y(r)]])], 10, Gi))], 46, Hi)), [[Y(i), S]]);
3887
4419
  }
3888
4420
  }), [["__cssModules", { $style: {
3889
4421
  ui3nEditable: "_ui3nEditable_s7l0a_3",
@@ -3899,7 +4431,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3899
4431
  cancelBtn: "_cancelBtn_s7l0a_128",
3900
4432
  doneBtn: "_doneBtn_s7l0a_133",
3901
4433
  btnDisabled: "_btnDisabled_s7l0a_139"
3902
- } }]]), Hi = ["name", "value"], Ui = ["name", "value"], Wi = ["name", "value"], Gi = ["placeholder", "disabled"], Ki = ["id", "onClick"], qi = /* @__PURE__ */ O(/* @__PURE__ */ B({
4434
+ } }]]), Ji = ["name", "value"], Yi = ["name", "value"], Xi = ["name", "value"], Zi = ["placeholder", "disabled"], Qi = ["id", "onClick"], $i = /* @__PURE__ */ k(/* @__PURE__ */ B({
3903
4435
  __name: "ui3n-autocomplete",
3904
4436
  props: {
3905
4437
  name: {},
@@ -3937,7 +4469,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3937
4469
  "valid:new-value"
3938
4470
  ],
3939
4471
  setup(e, { expose: n, emit: r }) {
3940
- let a = En, o = e, s = r, c = `auto-${t(4)}`, l = G(""), u = G(!1), d = G(null), f = G(null), p = G(null), m = G(null), h = G(!1), g = G(!0), _ = P(() => o.returnObject ? o.modelValue.map((e) => e.id) : o.modelValue), v = P(() => o.chips ? "" : o.returnObject ? o.modelValue.map((e) => e[o.itemTitle] || "?").join(", ") : o.modelValue.join(", ")), y = P(() => o.customFilter ? o.items.filter((e) => o.customFilter(e, l.value)).filter((e) => o.hideSelected ? o.returnObject ? !_.value.includes(e.id) : !_.value.includes(e[o.itemValue]) : !0) : o.items.filter((e) => e[o.itemTitle].toLowerCase().includes(l.value.toLowerCase())).filter((e) => o.hideSelected ? o.returnObject ? !_.value.includes(e.id) : !_.value.includes(e[o.itemValue]) : !0));
4472
+ let a = Tn, o = e, s = r, c = `auto-${t(4)}`, l = G(""), u = G(!1), d = G(null), f = G(null), p = G(null), m = G(null), h = G(!1), g = G(!0), _ = P(() => o.returnObject ? o.modelValue.map((e) => e.id) : o.modelValue), v = P(() => o.chips ? "" : o.returnObject ? o.modelValue.map((e) => e[o.itemTitle] || "?").join(", ") : o.modelValue.join(", ")), y = P(() => o.customFilter ? o.items.filter((e) => o.customFilter(e, l.value)).filter((e) => o.hideSelected ? o.returnObject ? !_.value.includes(e.id) : !_.value.includes(e[o.itemValue]) : !0) : o.items.filter((e) => e[o.itemTitle].toLowerCase().includes(l.value.toLowerCase())).filter((e) => o.hideSelected ? o.returnObject ? !_.value.includes(e.id) : !_.value.includes(e[o.itemValue]) : !0));
3941
4473
  function b() {
3942
4474
  h.value = !1, s("update:search", l.value);
3943
4475
  }
@@ -3965,19 +4497,19 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3965
4497
  m.value = 0, p.value && p.value.focus({ preventScroll: !0 });
3966
4498
  return;
3967
4499
  }
3968
- m.value >= 0 && m.value < (0, $.default)(y.value) - 1 && (m.value += 1);
4500
+ m.value >= 0 && m.value < (0, Tr.default)(y.value) - 1 && (m.value += 1);
3969
4501
  }
3970
4502
  function T() {
3971
4503
  if (m.value === null) {
3972
- m.value = (0, $.default)(y.value) - 1, p.value && p.value.focus({ preventScroll: !0 });
4504
+ m.value = (0, Tr.default)(y.value) - 1, p.value && p.value.focus({ preventScroll: !0 });
3973
4505
  return;
3974
4506
  }
3975
- m.value > 0 && m.value < (0, $.default)(y.value) && --m.value;
4507
+ m.value > 0 && m.value < (0, Tr.default)(y.value) && --m.value;
3976
4508
  }
3977
- function ee() {
4509
+ function E() {
3978
4510
  s("update:focused", !1), u.value = !1, m.value = null, l.value = "", f.value && f.value.blur(), d.value && d.value.blur();
3979
4511
  }
3980
- function E() {
4512
+ function D() {
3981
4513
  if (m.value === null && !u.value) {
3982
4514
  u.value = !0, m.value = 0, p.value && p.value.focus({ preventScroll: !0 });
3983
4515
  return;
@@ -3995,7 +4527,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
3995
4527
  S(e), m.value = null, o.clearOnSelect && (l.value = "");
3996
4528
  }
3997
4529
  }
3998
- function D() {
4530
+ function O() {
3999
4531
  if (o.disabled || l.value !== "" || (0, Wr.default)(o.modelValue)) return;
4000
4532
  if (!h.value) {
4001
4533
  h.value = !0;
@@ -4004,7 +4536,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4004
4536
  let e = (0, Gr.default)(o.modelValue);
4005
4537
  e.pop(), s("update:modelValue", e), h.value = !1;
4006
4538
  }
4007
- function O(e, t) {
4539
+ function k(e, t) {
4008
4540
  switch (t) {
4009
4541
  case "down":
4010
4542
  e.preventDefault(), e.stopPropagation(), w();
@@ -4014,42 +4546,42 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4014
4546
  break;
4015
4547
  case "esc":
4016
4548
  case "tab":
4017
- ee();
4549
+ E();
4018
4550
  break;
4019
4551
  case "enter":
4020
- e.preventDefault(), e.stopPropagation(), E();
4552
+ e.preventDefault(), e.stopPropagation(), D();
4021
4553
  break;
4022
4554
  case "backspace":
4023
- D();
4555
+ O();
4024
4556
  break;
4025
4557
  }
4026
4558
  }
4027
- function k() {
4559
+ function A() {
4028
4560
  l.value = "", u.value = !1, m.value = null, g.value = !0, s("update:modelValue", []), s("update:search", "");
4029
4561
  }
4030
- return n({ clear: k }), Y(() => o.name, (e) => {
4031
- e || k();
4032
- }), Y(() => (0, $.default)(y.value), (e, t) => {
4562
+ return n({ clear: A }), X(() => o.name, (e) => {
4563
+ e || A();
4564
+ }), X(() => (0, Tr.default)(y.value), (e, t) => {
4033
4565
  e !== t && (m.value = null), e && !g.value && (g.value = !0);
4034
- }), (t, n) => (W(), L("div", { class: V(t.$style.ui3nAutocomplete) }, [e.name && !J(Wr.default)(e.modelValue) ? (W(), L("fieldset", {
4566
+ }), (t, n) => (W(), L("div", { class: V(t.$style.ui3nAutocomplete) }, [e.name && !Y(Wr.default)(e.modelValue) ? (W(), L("fieldset", {
4035
4567
  key: 0,
4036
4568
  class: V(t.$style.hiddenBlock)
4037
- }, [e.multiple ? (W(), L(N, { key: 1 }, [e.returnObject ? (W(!0), L(N, { key: 1 }, ge(e.modelValue, (t, n) => (W(), L("input", {
4569
+ }, [e.multiple ? (W(), L(N, { key: 1 }, [e.returnObject ? (W(!0), L(N, { key: 1 }, K(e.modelValue, (t, n) => (W(), L("input", {
4038
4570
  key: t.id || `${e.name}-obj-${n}`,
4039
4571
  type: "hidden",
4040
4572
  name: `${e.name}[]`,
4041
4573
  value: JSON.stringify(t)
4042
- }, null, 8, Wi))), 128)) : (W(!0), L(N, { key: 0 }, ge(e.modelValue, (t, n) => (W(), L("input", {
4574
+ }, null, 8, Xi))), 128)) : (W(!0), L(N, { key: 0 }, K(e.modelValue, (t, n) => (W(), L("input", {
4043
4575
  key: `${e.name}-flat-${n}`,
4044
4576
  type: "hidden",
4045
4577
  name: `${e.name}[]`,
4046
4578
  value: t
4047
- }, null, 8, Ui))), 128))], 64)) : (W(), L("input", {
4579
+ }, null, 8, Yi))), 128))], 64)) : (W(), L("input", {
4048
4580
  key: 0,
4049
4581
  type: "hidden",
4050
4582
  name: e.name,
4051
4583
  value: e.returnObject ? JSON.stringify(e.modelValue) : e.modelValue
4052
- }, null, 8, Hi))], 2)) : I("", !0), z(ti, {
4584
+ }, null, 8, Ji))], 2)) : I("", !0), z(si, {
4053
4585
  modelValue: u.value,
4054
4586
  "onUpdate:modelValue": n[8] ||= (e) => u.value = e,
4055
4587
  "lock-scroll": e.lockScroll,
@@ -4065,12 +4597,12 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4065
4597
  ],
4066
4598
  disabled: e.disabled
4067
4599
  }, {
4068
- menu: X(() => [!J(Wr.default)(y.value) || J(Wr.default)(y.value) && e.noDataText ? (W(), L("div", {
4600
+ menu: Z(() => [!Y(Wr.default)(y.value) || Y(Wr.default)(y.value) && e.noDataText ? (W(), L("div", {
4069
4601
  key: 0,
4070
4602
  ref_key: "menuBodyEl",
4071
4603
  ref: p,
4072
4604
  class: V(t.$style.body)
4073
- }, [J($.default)(y.value) ? (W(!0), L(N, { key: 0 }, ge(y.value, (n, r) => (W(), L("div", {
4605
+ }, [Y(Tr.default)(y.value) ? (W(!0), L(N, { key: 0 }, K(y.value, (n, r) => (W(), L("div", {
4074
4606
  key: n.id,
4075
4607
  id: `${c}-${r}`,
4076
4608
  class: V([
@@ -4078,16 +4610,16 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4078
4610
  m.value === r && t.$style.itemSelected,
4079
4611
  e.disabled && t.$style.itemDisabled
4080
4612
  ]),
4081
- onClick: Q((e) => S(n), ["stop", "prevent"])
4082
- }, [K(t.$slots, "item", {
4613
+ onClick: $((e) => S(n), ["stop", "prevent"])
4614
+ }, [q(t.$slots, "item", {
4083
4615
  item: n,
4084
4616
  index: r,
4085
4617
  query: l.value
4086
- }, () => [Te(R("div", { class: V(t.$style.simpleItem) }, null, 2), [[J(a), J(i)(n[o.itemTitle], l.value)]])])], 10, Ki))), 128)) : I("", !0), !J($.default)(y.value) && e.noDataText ? (W(), L("div", {
4618
+ }, () => [we(R("div", { class: V(t.$style.simpleItem) }, null, 2), [[Y(a), Y(i)(n[o.itemTitle], l.value)]])])], 10, Qi))), 128)) : I("", !0), !Y(Tr.default)(y.value) && e.noDataText ? (W(), L("div", {
4087
4619
  key: 1,
4088
4620
  class: V(t.$style.noData)
4089
- }, [K(t.$slots, "noDataText", {}, () => [ce(q(e.noDataText), 1)])], 2)) : I("", !0)], 2)) : I("", !0)]),
4090
- default: X(() => [R("div", {
4621
+ }, [q(t.$slots, "noDataText", {}, () => [ce(J(e.noDataText), 1)])], 2)) : I("", !0)], 2)) : I("", !0)]),
4622
+ default: Z(() => [R("div", {
4091
4623
  ref_key: "activatorEl",
4092
4624
  ref: d,
4093
4625
  class: V(t.$style.trigger)
@@ -4097,47 +4629,47 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4097
4629
  tag: "div",
4098
4630
  class: V(t.$style.chipsContainer)
4099
4631
  }, {
4100
- default: X(() => [(W(!0), L(N, null, ge(e.modelValue, (n, r) => (W(), L("div", {
4632
+ default: Z(() => [(W(!0), L(N, null, K(e.modelValue, (n, r) => (W(), L("div", {
4101
4633
  key: n.id || r,
4102
4634
  class: V(t.$style.chipWrapper)
4103
- }, [K(t.$slots, "chip", {
4635
+ }, [q(t.$slots, "chip", {
4104
4636
  item: n,
4105
4637
  index: r,
4106
- isHighlighted: r === J($.default)(e.modelValue) - 1 && h.value
4107
- }, () => [z(er, {
4638
+ isHighlighted: r === Y(Tr.default)(e.modelValue) - 1 && h.value
4639
+ }, () => [z($n, {
4108
4640
  height: "32",
4109
- color: r === J($.default)(e.modelValue) - 1 && h.value ? "var(--color-bg-control-primary-hover)" : void 0,
4641
+ color: r === Y(Tr.default)(e.modelValue) - 1 && h.value ? "var(--color-bg-control-primary-hover)" : void 0,
4110
4642
  round: "",
4111
4643
  closeable: "",
4112
4644
  onClose: (e) => C(n)
4113
4645
  }, {
4114
- default: X(() => [ce(q(e.returnObject ? n[o.itemTitle] : n), 1)]),
4646
+ default: Z(() => [ce(J(e.returnObject ? n[o.itemTitle] : n), 1)]),
4115
4647
  _: 2
4116
4648
  }, 1032, ["color", "onClose"])])], 2))), 128))]),
4117
4649
  _: 3
4118
4650
  }, 8, ["class"])) : (W(), L("div", {
4119
4651
  key: 1,
4120
4652
  class: V(t.$style.displayValue)
4121
- }, q(v.value), 3)), Te(R("input", {
4653
+ }, J(v.value), 3)), we(R("input", {
4122
4654
  ref_key: "inputEl",
4123
4655
  ref: f,
4124
4656
  "onUpdate:modelValue": n[0] ||= (e) => l.value = e,
4125
4657
  type: "text",
4126
4658
  class: V([t.$style.input, !g.value && t.$style.inputWithError]),
4127
- placeholder: J(Wr.default)(e.modelValue) && e.placeholder ? e.placeholder : "",
4659
+ placeholder: Y(Wr.default)(e.modelValue) && e.placeholder ? e.placeholder : "",
4128
4660
  disabled: e.disabled,
4129
4661
  onInput: b,
4130
- onFocusin: n[1] ||= Q((e) => s("update:focused", !0), ["prevent"]),
4662
+ onFocusin: n[1] ||= $((e) => s("update:focused", !0), ["prevent"]),
4131
4663
  onFocusout: x,
4132
4664
  onKeydown: [
4133
- n[2] ||= Z((e) => O(e, "down"), ["down"]),
4134
- n[3] ||= Z((e) => O(e, "up"), ["up"]),
4135
- n[4] ||= Z((e) => O(e, "esc"), ["esc"]),
4136
- n[5] ||= Z((e) => O(e, "enter"), ["enter"]),
4137
- n[6] ||= Z((e) => O(e, "tab"), ["tab"]),
4138
- n[7] ||= Z((e) => O(e, "backspace"), ["delete"])
4665
+ n[2] ||= Q((e) => k(e, "down"), ["down"]),
4666
+ n[3] ||= Q((e) => k(e, "up"), ["up"]),
4667
+ n[4] ||= Q((e) => k(e, "esc"), ["esc"]),
4668
+ n[5] ||= Q((e) => k(e, "enter"), ["enter"]),
4669
+ n[6] ||= Q((e) => k(e, "tab"), ["tab"]),
4670
+ n[7] ||= Q((e) => k(e, "backspace"), ["delete"])
4139
4671
  ]
4140
- }, null, 42, Gi), [[we, l.value]])], 2)]),
4672
+ }, null, 42, Zi), [[Ce, l.value]])], 2)]),
4141
4673
  _: 3
4142
4674
  }, 8, [
4143
4675
  "modelValue",
@@ -4160,7 +4692,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4160
4692
  noData: "_noData_2o0no_100",
4161
4693
  chipsContainer: "_chipsContainer_2o0no_113",
4162
4694
  chipWrapper: "_chipWrapper_2o0no_120"
4163
- } }]]), Ji = ["id"], Yi = ["name", "value"], Xi = ["name", "value"], Zi = ["name", "value"], Qi = /* @__PURE__ */ O(/* @__PURE__ */ B({
4695
+ } }]]), ea = ["id"], ta = ["name", "value"], na = ["name", "value"], ra = ["name", "value"], ia = /* @__PURE__ */ k(/* @__PURE__ */ B({
4164
4696
  __name: "ui3n-slider",
4165
4697
  props: {
4166
4698
  id: {},
@@ -4183,7 +4715,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4183
4715
  },
4184
4716
  emits: ["update:modelValue"],
4185
4717
  setup(e, { expose: t, emit: n }) {
4186
- let r = e, i = n, o = Ce("sliderEl"), s = Ce("pointerEl1"), c = Ce("pointerEl2"), l = G({
4718
+ let r = e, i = n, o = Se("sliderEl"), s = Se("pointerEl1"), c = Se("pointerEl2"), l = G({
4187
4719
  1: 0,
4188
4720
  2: 0
4189
4721
  }), u = G({
@@ -4245,7 +4777,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4245
4777
  let c = n(a);
4246
4778
  r.range && (f.value === 1 && c >= d.value[1] ? c = d.value[1] - m.value : f.value === 2 && c <= d.value[0] && (c = d.value[0] + m.value)), r.range ? (f.value === 1 && (d.value[0] = c), f.value === 2 && (d.value[1] = c)) : d.value = c, i("update:modelValue", d.value);
4247
4779
  }
4248
- function ee(e) {
4780
+ function E(e) {
4249
4781
  let { x: t } = e, { x: n, width: a } = o.value.getBoundingClientRect(), s = Math.round((t - n) / a * p.value) + Number(r.min);
4250
4782
  if (r.range) {
4251
4783
  let [e, t] = d.value, n = Math.abs(s - e), r = Math.abs(t - s);
@@ -4253,13 +4785,13 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4253
4785
  } else d.value = s;
4254
4786
  i("update:modelValue", d.value);
4255
4787
  }
4256
- function E() {
4788
+ function D() {
4257
4789
  let e = r.range ? [Number(r.min), Number(r.min)] : Number(r.min);
4258
4790
  d.value = e, i("update:modelValue", e);
4259
4791
  }
4260
- return t({ clear: E }), Y(() => r.name, (e) => {
4261
- e || E();
4262
- }), Y(() => JSON.stringify(r.modelValue), (e) => {
4792
+ return t({ clear: D }), X(() => r.name, (e) => {
4793
+ e || D();
4794
+ }), X(() => JSON.stringify(r.modelValue), (e) => {
4263
4795
  if (r.range) {
4264
4796
  e !== JSON.stringify(d.value) && (d.value = (0, Gr.default)(r.modelValue));
4265
4797
  return;
@@ -4271,22 +4803,22 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4271
4803
  id: e.id,
4272
4804
  style: H(b.value),
4273
4805
  class: V([t.$style.ui3nSlider, e.disabled && t.$style.disabled]),
4274
- onClick: Q(ee, ["stop", "prevent"])
4806
+ onClick: $(E, ["stop", "prevent"])
4275
4807
  }, [
4276
4808
  e.name ? (W(), L(N, { key: 0 }, [e.range ? (W(), L(N, { key: 0 }, [R("input", {
4277
4809
  type: "hidden",
4278
4810
  name: `${e.name}_min`,
4279
4811
  value: d.value[0]
4280
- }, null, 8, Yi), R("input", {
4812
+ }, null, 8, ta), R("input", {
4281
4813
  type: "hidden",
4282
4814
  name: `${e.name}_max`,
4283
4815
  value: d.value[1]
4284
- }, null, 8, Xi)], 64)) : (W(), L("input", {
4816
+ }, null, 8, na)], 64)) : (W(), L("input", {
4285
4817
  key: 1,
4286
4818
  type: "hidden",
4287
4819
  name: e.name,
4288
4820
  value: d.value
4289
- }, null, 8, Zi))], 64)) : I("", !0),
4821
+ }, null, 8, ra))], 64)) : I("", !0),
4290
4822
  R("div", { class: V(t.$style.track) }, [R("div", {
4291
4823
  class: V(t.$style.active),
4292
4824
  style: H(h.value)
@@ -4295,11 +4827,11 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4295
4827
  ref: "pointerEl1",
4296
4828
  class: V([t.$style.pointerWrapper, t.$style.pointer1]),
4297
4829
  onPointerdown: n[0] ||= (e) => w(e, 1),
4298
- onClick: n[1] ||= Q(() => {}, ["stop", "prevent"]),
4830
+ onClick: n[1] ||= $(() => {}, ["stop", "prevent"]),
4299
4831
  onDragstart: C,
4300
4832
  onMouseenter: n[2] ||= (e) => x(1),
4301
4833
  onMouseleave: n[3] ||= (e) => S(1)
4302
- }, [z(ki, {
4834
+ }, [z(Fi, {
4303
4835
  "model-value": u.value[1],
4304
4836
  content: v.value,
4305
4837
  trigger: "manual",
@@ -4309,7 +4841,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4309
4841
  "text-color": e.labelTextColor,
4310
4842
  disabled: e.labelVisible === "never"
4311
4843
  }, {
4312
- default: X(() => [R("div", { class: V([t.$style.pointer, f.value === 1 && t.$style.selected]) }, null, 2)]),
4844
+ default: Z(() => [R("div", { class: V([t.$style.pointer, f.value === 1 && t.$style.selected]) }, null, 2)]),
4313
4845
  _: 1
4314
4846
  }, 8, [
4315
4847
  "model-value",
@@ -4323,11 +4855,11 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4323
4855
  ref: "pointerEl2",
4324
4856
  class: V([t.$style.pointerWrapper, t.$style.pointer2]),
4325
4857
  onPointerdown: n[4] ||= (e) => w(e, 2),
4326
- onClick: n[5] ||= Q(() => {}, ["stop", "prevent"]),
4858
+ onClick: n[5] ||= $(() => {}, ["stop", "prevent"]),
4327
4859
  onDragstart: C,
4328
4860
  onMouseenter: n[6] ||= (e) => x(2),
4329
4861
  onMouseleave: n[7] ||= (e) => S(2)
4330
- }, [z(ki, {
4862
+ }, [z(Fi, {
4331
4863
  "model-value": u.value[2],
4332
4864
  content: y.value,
4333
4865
  trigger: "manual",
@@ -4337,7 +4869,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4337
4869
  "text-color": e.labelTextColor,
4338
4870
  disabled: e.labelVisible === "never"
4339
4871
  }, {
4340
- default: X(() => [R("div", { class: V([t.$style.pointer, f.value === 2 && t.$style.selected]) }, null, 2)]),
4872
+ default: Z(() => [R("div", { class: V([t.$style.pointer, f.value === 2 && t.$style.selected]) }, null, 2)]),
4341
4873
  _: 1
4342
4874
  }, 8, [
4343
4875
  "model-value",
@@ -4346,7 +4878,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4346
4878
  "text-color",
4347
4879
  "disabled"
4348
4880
  ])], 34)) : I("", !0)
4349
- ], 14, Ji));
4881
+ ], 14, ea));
4350
4882
  }
4351
4883
  }), [["__cssModules", { $style: {
4352
4884
  ui3nSlider: "_ui3nSlider_17be6_1",
@@ -4358,7 +4890,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4358
4890
  selected: "_selected_17be6_55",
4359
4891
  pointer1: "_pointer1_17be6_69",
4360
4892
  pointer2: "_pointer2_17be6_73"
4361
- } }]]), $i = ["id"], ea = ["name", "value"], ta = ["tabindex"], na = ["id", "onClick"], ra = /* @__PURE__ */ O(/* @__PURE__ */ B({
4893
+ } }]]), aa = ["id"], oa = ["name", "value"], sa = ["tabindex"], ca = ["id", "onClick"], la = /* @__PURE__ */ k(/* @__PURE__ */ B({
4362
4894
  __name: "ui3n-selector",
4363
4895
  props: {
4364
4896
  id: {},
@@ -4382,7 +4914,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4382
4914
  disabled: { type: Boolean }
4383
4915
  },
4384
4916
  setup(e, { expose: n, emit: r }) {
4385
- let i = e, a = r, o = `select-${t(4)}`, s = Ce("activator"), c = Ce("body"), l = G(!1), u = G(!1), d = G(null), f = P(() => i.items.filter((e) => i.hideSelected ? i.returnObject ? i.modelValue.id !== e.id : i.modelValue !== e[i.itemValue] : !0)), p = P(() => {
4917
+ let i = e, a = r, o = `select-${t(4)}`, s = Se("activator"), c = Se("body"), l = G(!1), u = G(!1), d = G(null), f = P(() => i.items.filter((e) => i.hideSelected ? i.returnObject ? i.modelValue.id !== e.id : i.modelValue !== e[i.itemValue] : !0)), p = P(() => {
4386
4918
  if (!i.modelValue) return "";
4387
4919
  if (i.returnObject && typeof i.modelValue == "object") {
4388
4920
  let e = i.items.find((e) => e.id === i.modelValue.id);
@@ -4417,14 +4949,14 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4417
4949
  d.value = 0, c.value && c.value.focus();
4418
4950
  return;
4419
4951
  }
4420
- d.value >= 0 && d.value < (0, $.default)(f.value) - 1 && (d.value += 1);
4952
+ d.value >= 0 && d.value < (0, Tr.default)(f.value) - 1 && (d.value += 1);
4421
4953
  }
4422
4954
  function b() {
4423
4955
  if (d.value === null) {
4424
- d.value = (0, $.default)(f.value) - 1, c.value && c.value.focus();
4956
+ d.value = (0, Tr.default)(f.value) - 1, c.value && c.value.focus();
4425
4957
  return;
4426
4958
  }
4427
- d.value > 0 && d.value < (0, $.default)(f.value) && --d.value;
4959
+ d.value > 0 && d.value < (0, Tr.default)(f.value) && --d.value;
4428
4960
  }
4429
4961
  function x() {
4430
4962
  a("blur"), l.value = !1, c.value?.blur(), s.value && s.value.blur();
@@ -4463,9 +4995,9 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4463
4995
  function w() {
4464
4996
  v();
4465
4997
  }
4466
- return n({ clear: w }), Y(() => i.name, (e) => {
4998
+ return n({ clear: w }), X(() => i.name, (e) => {
4467
4999
  e || w();
4468
- }), Y(() => l.value, (e, t) => {
5000
+ }), X(() => l.value, (e, t) => {
4469
5001
  if (e !== t && e) {
4470
5002
  if (s.value) {
4471
5003
  let e = s.value.getBoundingClientRect();
@@ -4486,12 +5018,12 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4486
5018
  type: "hidden",
4487
5019
  name: e.name,
4488
5020
  value: typeof e.modelValue == "object" ? JSON.stringify(e.modelValue) : String(e.modelValue)
4489
- }, null, 8, ea)) : I("", !0),
5021
+ }, null, 8, oa)) : I("", !0),
4490
5022
  e.label ? (W(), L("label", {
4491
5023
  key: 1,
4492
5024
  class: V(t.$style.label)
4493
- }, q(e.label), 3)) : I("", !0),
4494
- z(ti, {
5025
+ }, J(e.label), 3)) : I("", !0),
5026
+ z(si, {
4495
5027
  modelValue: l.value,
4496
5028
  "onUpdate:modelValue": n[6] ||= (e) => l.value = e,
4497
5029
  "offset-x": -3,
@@ -4508,11 +5040,11 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4508
5040
  e.disabled || (l.value = !l.value);
4509
5041
  }
4510
5042
  }, {
4511
- menu: X(() => [!J(Wr.default)(f.value) || J(Wr.default)(f.value) && e.noDataText ? (W(), L("div", {
5043
+ menu: Z(() => [!Y(Wr.default)(f.value) || Y(Wr.default)(f.value) && e.noDataText ? (W(), L("div", {
4512
5044
  key: 0,
4513
5045
  ref: "body",
4514
5046
  class: V(t.$style.body)
4515
- }, [J(Wr.default)(f.value) ? I("", !0) : (W(!0), L(N, { key: 0 }, ge(f.value, (n, r) => (W(), L("div", {
5047
+ }, [Y(Wr.default)(f.value) ? I("", !0) : (W(!0), L(N, { key: 0 }, K(f.value, (n, r) => (W(), L("div", {
4516
5048
  key: n.id,
4517
5049
  id: `${o}-${r}`,
4518
5050
  class: V([
@@ -4520,16 +5052,16 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4520
5052
  d.value === r && t.$style.itemSelected,
4521
5053
  e.disabled && t.$style.itemDisabled
4522
5054
  ]),
4523
- onClick: Q((e) => _(n), ["stop", "prevent"])
4524
- }, [K(t.$slots, "item", {
5055
+ onClick: $((e) => _(n), ["stop", "prevent"])
5056
+ }, [q(t.$slots, "item", {
4525
5057
  item: n,
4526
5058
  index: r,
4527
5059
  activeIndex: d.value
4528
- }, () => [ce(q(m(n)), 1)])], 10, na))), 128)), J(Wr.default)(f.value) && e.noDataText ? (W(), L("div", {
5060
+ }, () => [ce(J(m(n)), 1)])], 10, ca))), 128)), Y(Wr.default)(f.value) && e.noDataText ? (W(), L("div", {
4529
5061
  key: 1,
4530
5062
  class: V(t.$style.noData)
4531
- }, [K(t.$slots, "noDataText", {}, () => [ce(q(e.noDataText), 1)])], 2)) : I("", !0)], 2)) : I("", !0)]),
4532
- default: X(() => [R("div", {
5063
+ }, [q(t.$slots, "noDataText", {}, () => [ce(J(e.noDataText), 1)])], 2)) : I("", !0)], 2)) : I("", !0)]),
5064
+ default: Z(() => [R("div", {
4533
5065
  ref: "activator",
4534
5066
  tabindex: e.disabled ? -1 : 0,
4535
5067
  class: V([
@@ -4542,18 +5074,18 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4542
5074
  onFocusin: h,
4543
5075
  onFocusout: g,
4544
5076
  onKeydown: [
4545
- n[1] ||= Z((e) => C(e, "down"), ["down"]),
4546
- n[2] ||= Z((e) => C(e, "up"), ["up"]),
4547
- n[3] ||= Z((e) => C(e, "esc"), ["esc"]),
4548
- n[4] ||= Z((e) => C(e, "enter"), ["enter"]),
4549
- n[5] ||= Z((e) => C(e, "tab"), ["tab"])
5077
+ n[1] ||= Q((e) => C(e, "down"), ["down"]),
5078
+ n[2] ||= Q((e) => C(e, "up"), ["up"]),
5079
+ n[3] ||= Q((e) => C(e, "esc"), ["esc"]),
5080
+ n[4] ||= Q((e) => C(e, "enter"), ["enter"]),
5081
+ n[5] ||= Q((e) => C(e, "tab"), ["tab"])
4550
5082
  ]
4551
5083
  }, [
4552
- K(t.$slots, "selection", {
5084
+ q(t.$slots, "selection", {
4553
5085
  value: e.modelValue,
4554
5086
  selectedItem: d.value === null ? void 0 : f.value[d.value]
4555
- }, () => [ce(q(p.value || e.placeholder || ""), 1)]),
4556
- e.clearable && e.modelValue ? (W(), F(k, {
5087
+ }, () => [ce(J(p.value || e.placeholder || ""), 1)]),
5088
+ e.clearable && e.modelValue ? (W(), F(A, {
4557
5089
  key: 0,
4558
5090
  type: "icon",
4559
5091
  size: "small",
@@ -4563,24 +5095,24 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4563
5095
  "icon-color": "var(--color-icon-block-primary-default)",
4564
5096
  disabled: e.disabled,
4565
5097
  class: V(t.$style.clearBtn),
4566
- onClick: Q(v, ["stop", "prevent"]),
4567
- onMousedown: n[0] ||= Q(() => {}, ["stop", "prevent"])
5098
+ onClick: $(v, ["stop", "prevent"]),
5099
+ onMousedown: n[0] ||= $(() => {}, ["stop", "prevent"])
4568
5100
  }, null, 8, ["disabled", "class"])) : I("", !0),
4569
- z(A, {
5101
+ z(ee, {
4570
5102
  icon: "outline-arrow-drop-down",
4571
5103
  color: "var(--color-icon-block-primary-default)",
4572
5104
  size: "16",
4573
5105
  "vertical-flip": l.value,
4574
5106
  class: V(t.$style.menuIcon)
4575
5107
  }, null, 8, ["vertical-flip", "class"])
4576
- ], 42, ta)]),
5108
+ ], 42, sa)]),
4577
5109
  _: 3
4578
5110
  }, 8, [
4579
5111
  "modelValue",
4580
5112
  "class",
4581
5113
  "disabled"
4582
5114
  ])
4583
- ], 10, $i));
5115
+ ], 10, aa));
4584
5116
  }
4585
5117
  }), [["__cssModules", { $style: {
4586
5118
  ui3nSelector: "_ui3nSelector_1fmel_3",
@@ -4598,7 +5130,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4598
5130
  item: "_item_1fmel_107",
4599
5131
  itemSelected: "_itemSelected_1fmel_121",
4600
5132
  itemDisabled: "_itemDisabled_1fmel_125"
4601
- } }]]), ia = /* @__PURE__ */ O(/* @__PURE__ */ B({
5133
+ } }]]), ua = /* @__PURE__ */ k(/* @__PURE__ */ B({
4602
5134
  __name: "ui3n-mobile-menu",
4603
5135
  props: {
4604
5136
  modelValue: { type: Boolean },
@@ -4617,7 +5149,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4617
5149
  return (t, n) => (W(), L("div", {
4618
5150
  class: V(t.$style.ui3nMobileMenu),
4619
5151
  style: H(i.value)
4620
- }, [e.modelValue ? I("", !0) : (W(), F(k, {
5152
+ }, [e.modelValue ? I("", !0) : (W(), F(A, {
4621
5153
  key: 0,
4622
5154
  type: "icon",
4623
5155
  class: V(t.$style.menuButton),
@@ -4625,26 +5157,26 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4625
5157
  icon: "round-menu",
4626
5158
  "icon-color": "var(--color-icon-block-primary-default)",
4627
5159
  "icon-size": "32",
4628
- onClick: Q(a, ["stop", "prevent"])
5160
+ onClick: $(a, ["stop", "prevent"])
4629
5161
  }, null, 8, ["class"])), z(oe, { name: "slide-fade" }, {
4630
- default: X(() => [e.modelValue ? (W(), L("div", {
5162
+ default: Z(() => [e.modelValue ? (W(), L("div", {
4631
5163
  key: 0,
4632
5164
  class: V(t.$style.menuWrapper)
4633
5165
  }, [R("div", {
4634
5166
  class: V(t.$style.overlay),
4635
5167
  onClick: a
4636
5168
  }, null, 2), R("div", { class: V(t.$style.menuPanel) }, [R("div", { class: V(t.$style.appMenu) }, [
4637
- R("div", { class: V(t.$style.appMenuHeader) }, [K(t.$slots, "header")], 2),
4638
- R("div", { class: V(t.$style.appMenuBody) }, [K(t.$slots, "menuBody")], 2),
4639
- R("div", { class: V(t.$style.appMenuFooter) }, [K(t.$slots, "footer")], 2)
4640
- ], 2), z(k, {
5169
+ R("div", { class: V(t.$style.appMenuHeader) }, [q(t.$slots, "header")], 2),
5170
+ R("div", { class: V(t.$style.appMenuBody) }, [q(t.$slots, "menuBody")], 2),
5171
+ R("div", { class: V(t.$style.appMenuFooter) }, [q(t.$slots, "footer")], 2)
5172
+ ], 2), z(A, {
4641
5173
  type: "icon",
4642
5174
  icon: "round-close",
4643
5175
  color: "transparent",
4644
5176
  "icon-color": "var(--color-icon-block-secondary-default)",
4645
5177
  "icon-size": "32",
4646
5178
  class: V(t.$style.closeBtn),
4647
- onClick: Q(a, ["stop", "prevent"])
5179
+ onClick: $(a, ["stop", "prevent"])
4648
5180
  }, null, 8, ["class"])], 2)], 2)) : I("", !0)]),
4649
5181
  _: 3
4650
5182
  })], 6));
@@ -4660,7 +5192,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4660
5192
  menuButton: "_menuButton_1991k_65",
4661
5193
  closeBtn: "_closeBtn_1991k_70",
4662
5194
  overlay: "_overlay_1991k_78"
4663
- } }]]), aa = /* @__PURE__ */ O(/* @__PURE__ */ B({
5195
+ } }]]), da = /* @__PURE__ */ k(/* @__PURE__ */ B({
4664
5196
  __name: "ui3n-mobile-menu-item",
4665
5197
  props: {
4666
5198
  item: {},
@@ -4675,22 +5207,22 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4675
5207
  return (t, n) => (W(), L("div", {
4676
5208
  class: V([t.$style.menuItem, e.isActive && t.$style.menuItemSelected]),
4677
5209
  onClick: i
4678
- }, [e.item.icon ? (W(), F(A, {
5210
+ }, [e.item.icon ? (W(), F(ee, {
4679
5211
  key: 0,
4680
5212
  icon: e.item.icon,
4681
5213
  size: "20",
4682
5214
  color: "var(--color-icon-control-secondary-default)"
4683
- }, null, 8, ["icon"])) : I("", !0), R("span", { class: V(t.$style.menuItemName) }, q(e.item.name), 3)], 2));
5215
+ }, null, 8, ["icon"])) : I("", !0), R("span", { class: V(t.$style.menuItemName) }, J(e.item.name), 3)], 2));
4684
5216
  }
4685
5217
  }), [["__cssModules", { $style: {
4686
5218
  menuItem: "_menuItem_5dv4z_4",
4687
5219
  menuItemName: "_menuItemName_5dv4z_15",
4688
5220
  menuItemSelected: "_menuItemSelected_5dv4z_21",
4689
5221
  bounceOnce: "_bounceOnce_5dv4z_1"
4690
- } }]]), oa = 32, sa = /* @__PURE__ */ O(/* @__PURE__ */ B({
5222
+ } }]]), fa = 32, pa = /* @__PURE__ */ k(/* @__PURE__ */ B({
4691
5223
  __name: "ui3n-scrollbar-horizontal",
4692
5224
  props: {
4693
- thumbMinWidth: { default: oa },
5225
+ thumbMinWidth: { default: fa },
4694
5226
  thumbWidth: { default: "auto" },
4695
5227
  thumbRadius: { default: 4 },
4696
5228
  thumbColor: { default: "var(--color-bg-control-accent-default)" },
@@ -4704,7 +5236,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4704
5236
  setup(e, { expose: t, emit: n }) {
4705
5237
  let r = e, i = n, a = G(null), o = G(null), s = G(null), c = G(0), l = G(0), u = G(0), d = G(!1), f = G(!1), p = G(!1), m = null, h, g = 0, _ = 0, v = P(() => c.value > l.value), y = P(() => d.value ? !0 : v.value && (f.value || p.value)), b = P(() => {
4706
5238
  let e = Number(r.thumbMinWidth);
4707
- return isNaN(e) ? oa : e;
5239
+ return isNaN(e) ? fa : e;
4708
5240
  }), x = P(() => {
4709
5241
  if (!c.value) return 0;
4710
5242
  if (r.thumbWidth !== "auto") {
@@ -4720,17 +5252,17 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4720
5252
  }), C = P(() => {
4721
5253
  let e = Number(r.thumbRadius);
4722
5254
  return isNaN(e) ? String(r.thumbRadius) : `${e}px`;
4723
- }), w = P(() => r.thumbColor), T = P(() => r.thumbHoverColor), ee = P(() => r.thumbActiveColor), E = P(() => {
5255
+ }), w = P(() => r.thumbColor), T = P(() => r.thumbHoverColor), E = P(() => r.thumbActiveColor), D = P(() => {
4724
5256
  let e = Number(r.trackHeight);
4725
5257
  return isNaN(e) ? String(r.trackHeight) : `${e}px`;
4726
- }), D = P(() => {
5258
+ }), O = P(() => {
4727
5259
  let e = Number(r.trackRadius);
4728
5260
  return isNaN(e) ? String(r.trackRadius) : `${e}px`;
4729
- }), O = P(() => r.trackColor);
4730
- function k() {
5261
+ }), k = P(() => r.trackColor);
5262
+ function A() {
4731
5263
  a.value && (c.value = a.value.scrollWidth, l.value = a.value.clientWidth, u.value = a.value.scrollLeft);
4732
5264
  }
4733
- function A(e) {
5265
+ function ee(e) {
4734
5266
  d.value || (u.value = e.target.scrollLeft), p.value = !0, clearTimeout(h), h = setTimeout(() => {
4735
5267
  p.value = !1;
4736
5268
  }, 1500), i("scroll", e);
@@ -4760,7 +5292,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4760
5292
  }
4761
5293
  }
4762
5294
  return U(() => {
4763
- k(), a.value && (m = new ResizeObserver(k), m.observe(a.value), a.value.firstElementChild && m.observe(a.value.firstElementChild));
5295
+ A(), a.value && (m = new ResizeObserver(A), m.observe(a.value), a.value.firstElementChild && m.observe(a.value.firstElementChild));
4764
5296
  }), pe(() => {
4765
5297
  m?.disconnect(), h && clearTimeout(h), s.value && (s.value.removeEventListener("pointermove", ne), s.value.removeEventListener("pointerup", M), s.value.removeEventListener("pointercancel", M)), document.body.style.userSelect = "";
4766
5298
  }), t({
@@ -4774,10 +5306,10 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4774
5306
  "--ui3n-scrollbar-horizontal-thumb-radius": C.value,
4775
5307
  "--ui3n-scrollbar-horizontal-thumb-color": w.value,
4776
5308
  "--ui3n-scrollbar-horizontal-thumb-hover-color": T.value,
4777
- "--ui3n-scrollbar-horizontal-thumb-active-color": ee.value,
4778
- "--ui3n-scrollbar-horizontal-track-height": E.value,
4779
- "--ui3n-scrollbar-horizontal-track-radius": D.value,
4780
- "--ui3n-scrollbar-horizontal-track-color": O.value
5309
+ "--ui3n-scrollbar-horizontal-thumb-active-color": E.value,
5310
+ "--ui3n-scrollbar-horizontal-track-height": D.value,
5311
+ "--ui3n-scrollbar-horizontal-track-radius": O.value,
5312
+ "--ui3n-scrollbar-horizontal-track-color": k.value
4781
5313
  }),
4782
5314
  onMouseenter: t[0] ||= (e) => f.value = !0,
4783
5315
  onMouseleave: t[1] ||= (e) => f.value = !1
@@ -4785,8 +5317,8 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4785
5317
  ref_key: "containerRef",
4786
5318
  ref: a,
4787
5319
  class: V(e.$style.scrollbarContainer),
4788
- onScroll: A
4789
- }, [K(e.$slots, "default")], 34), R("div", {
5320
+ onScroll: ee
5321
+ }, [q(e.$slots, "default")], 34), R("div", {
4790
5322
  ref_key: "trackRef",
4791
5323
  ref: o,
4792
5324
  class: V([e.$style.track, { [e.$style.trackVisible]: y.value }]),
@@ -4812,7 +5344,7 @@ var Qr = ["id"], $r = /* @__PURE__ */ O(/* @__PURE__ */ B({
4812
5344
  } }]]);
4813
5345
  //#endregion
4814
5346
  //#region src/composables/useDblClickHandler.ts
4815
- function ca(e, t, n = 250) {
5347
+ function ma(e, t, n = 250) {
4816
5348
  let r = 0, i = null;
4817
5349
  function a(a) {
4818
5350
  r++, i && clearTimeout(i), i = setTimeout(() => {
@@ -4822,4 +5354,4 @@ function ca(e, t, n = 250) {
4822
5354
  return { handleDblClick: a };
4823
5355
  }
4824
5356
  //#endregion
4825
- export { qi as Ui3nAutocomplete, fi as Ui3nBadge, mi as Ui3nBreadcrumb, hi as Ui3nBreadcrumbs, k as Ui3nButton, zr as Ui3nCheckbox, er as Ui3nChip, On as Ui3nClickOutside, $r as Ui3nDialog, Xr as Ui3nDialogProvider, rr as Ui3nDropFiles, Vi as Ui3nEditable, ir as Ui3nEmoji, En as Ui3nHtml, A as Ui3nIcon, sr as Ui3nInput, Ar as Ui3nInputFile, ii as Ui3nList, Qn as Ui3nLongPress, ti as Ui3nMenu, ia as Ui3nMobileMenu, aa as Ui3nMobileMenuItem, j as Ui3nNotification, Di as Ui3nProgressCircular, Ci as Ui3nProgressLinear, Pi as Ui3nRadio, Fi as Ui3nRadioGroup, Fn as Ui3nResize, D as Ui3nRipple, sa as Ui3nScrollbarHorizontal, oi as Ui3nScrollbarVertical, ra as Ui3nSelector, Qi as Ui3nSlider, bi as Ui3nStepLineBar, vi as Ui3nSwitch, Jr as Ui3nTable, Br as Ui3nTableSortIcon, li as Ui3nTabs, Nr as Ui3nText, Gn as Ui3nTitle, ki as Ui3nTooltip, si as Ui3nVirtualScroll, ca as useDblClickHandler };
5357
+ export { $i as Ui3nAutocomplete, vi as Ui3nBadge, bi as Ui3nBreadcrumb, xi as Ui3nBreadcrumbs, A as Ui3nButton, zr as Ui3nCheckbox, $n as Ui3nChip, Dn as Ui3nClickOutside, ai as Ui3nDialog, ni as Ui3nDialogProvider, nr as Ui3nDropFiles, qi as Ui3nEditable, rr as Ui3nEmoji, Tn as Ui3nHtml, ee as Ui3nIcon, or as Ui3nInput, Ar as Ui3nInputFile, ui as Ui3nList, Zn as Ui3nLongPress, si as Ui3nMenu, ua as Ui3nMobileMenu, da as Ui3nMobileMenuItem, j as Ui3nNotification, Ni as Ui3nProgressCircular, ki as Ui3nProgressLinear, Bi as Ui3nRadio, Vi as Ui3nRadioGroup, Pn as Ui3nResize, O as Ui3nRipple, Zr as Ui3nScrollbar, pa as Ui3nScrollbarHorizontal, fi as Ui3nScrollbarVertical, la as Ui3nSelector, ia as Ui3nSlider, Ei as Ui3nStepLineBar, wi as Ui3nSwitch, ei as Ui3nTable, Br as Ui3nTableSortIcon, hi as Ui3nTabs, Nr as Ui3nText, Wn as Ui3nTitle, Fi as Ui3nTooltip, pi as Ui3nVirtualScroll, ma as useDblClickHandler };