@platforma-sdk/ui-vue 1.11.6 → 1.11.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib.js CHANGED
@@ -13,7 +13,7 @@ var Ra = (t, e, n, i) => ({
13
13
  return w(t, e, i);
14
14
  }
15
15
  });
16
- import { ref as oe, watch as Le, computed as A, unref as N, reactive as Xe, nextTick as ki, inject as Za, markRaw as Gb, h as kc, render as Sp, onMounted as zt, onUnmounted as Fi, defineComponent as ae, openBlock as C, createElementBlock as S, normalizeClass as ye, createElementVNode as O, useSlots as Wt, renderSlot as Ce, createTextVNode as I, normalizeStyle as je, createCommentVNode as j, toDisplayString as se, mergeModels as Ai, useModel as Mr, withKeys as Ti, withModifiers as Ke, createBlock as fe, Teleport as Gr, Fragment as Ye, renderList as dt, mergeProps as Gt, withCtx as Te, createVNode as Se, toRef as hl, resolveDynamicComponent as Ac, Transition as Do, onBeforeUnmount as Bb, withDirectives as Fn, vModelDynamic as Vb, vModelText as Pr, useCssVars as Nb, watchPostEffect as pl, vShow as kp, createSlots as $b, useAttrs as ff, provide as Ua, onUpdated as gf, watchEffect as mf, normalizeProps as vf, guardReactiveProps as Zb, getCurrentScope as yf, onScopeDispose as _f, readonly as Ub, toRefs as Cf, shallowRef as tc, effectScope as zb } from "vue";
16
+ import { ref as oe, watch as Le, computed as k, unref as N, reactive as Xe, nextTick as ki, inject as Za, markRaw as Gb, h as kc, render as Sp, onMounted as zt, onUnmounted as Fi, defineComponent as ae, openBlock as C, createElementBlock as S, normalizeClass as ye, createElementVNode as O, useSlots as Wt, renderSlot as Ce, createTextVNode as I, normalizeStyle as He, createCommentVNode as j, toDisplayString as se, mergeModels as Ai, useModel as Mr, withKeys as Ti, withModifiers as Ke, createBlock as fe, Teleport as Gr, Fragment as Ye, renderList as dt, mergeProps as Gt, withCtx as Te, createVNode as be, toRef as hl, resolveDynamicComponent as Ac, Transition as Do, onBeforeUnmount as Bb, withDirectives as Fn, vModelDynamic as Vb, vModelText as Pr, useCssVars as Nb, watchPostEffect as pl, vShow as kp, createSlots as $b, useAttrs as ff, provide as Ua, onUpdated as gf, watchEffect as mf, normalizeProps as vf, guardReactiveProps as Zb, getCurrentScope as yf, onScopeDispose as _f, readonly as Ub, toRefs as Cf, shallowRef as tc, effectScope as zb } from "vue";
17
17
  import { EnterpriseCoreModule as Tc, GroupCellRenderer as Ap, GroupCellRendererCtrl as Wb, PillDropZonePanel as Hb, PillDragComp as jb, VirtualList as wf, AgMenuItemRenderer as qb, VirtualListDragFeature as Kb, AgMenuList as Yb, LicenseManager as Jb } from "@ag-grid-enterprise/core";
18
18
  import { _defineModule as Ri, ModuleNames as ai, BeanStub as tn, _warnOnce as Mt, _unwrapUserComp as Xb, AgProvidedColumnGroup as Qb, isProvidedColumnGroup as fl, Component as Ht, RefPlaceholder as xt, ManagedFocusFeature as ex, _addFocusableContainerListener as tx, _getActiveDomElement as Tp, KeyCode as Xt, _setAriaControls as nx, _removeFromParent as Ep, _includes as za, _last as Ec, _stopPropagationForAgGrid as ix, _clearElement as os, _createIconNoSpan as Kn, _setAriaExpanded as bf, _ColumnFilterModule as rx, _FloatingFilterModule as sx, _exists as fs, _existsAndNotEmpty as Oa, _iterateObject as Wa, _missingOrEmpty as ox, _getGrandTotalRow as ax, _getGroupAggFiltering as xf, _errorOnce as lx, _isGroupMultiAutoColumn as ux, GROUP_AUTO_COLUMN_ID as Pp, AgColumn as cx, _mergeDeep as dx, _missing as Ma, _isColumnsSortingCoupledToGroup as hx, TabGuardComp as px, _setDisplayed as _n, _loadTemplate as Sf, AgSelect as fx, AgPromise as Yi, FilterWrapperComp as gx, AgInputTextField as mx, _cloneObject as vx, DragSourceType as gs, _areEqual as Uu, _removeFromArray as yx, RowNode as Ha, SortIndicatorSelector as _x, _setAriaRole as Cx, PositionableFeature as wx, AgToggleButtonSelector as bx, AgCheckboxSelector as Pc, AgInputTextFieldSelector as xx, _debounce as Sx, _setAriaLevel as kx, _setAriaLabel as Fc, _getToolPanelClassesFromColDef as kf, _createIcon as Fp, TouchListener as Ax, _setAriaDescribedBy as Af, _escapeString as Tx, LocalEventService as Ex, isColumn as Px, ModuleRegistry as Tf } from "@ag-grid-community/core";
19
19
  import { ClientSideRowModelModule as Ef } from "@ag-grid-community/client-side-row-model";
@@ -121,7 +121,7 @@ class Lf extends Error {
121
121
  `);
122
122
  }
123
123
  }
124
- function pG(t) {
124
+ function gG(t) {
125
125
  return {
126
126
  ok: !0,
127
127
  value: t
@@ -140,14 +140,14 @@ function zx(t) {
140
140
  errors: void 0
141
141
  };
142
142
  }
143
- function fG(t) {
143
+ function mG(t) {
144
144
  if (t.errors)
145
145
  throw new Lf(t.errors);
146
146
  if (!t.value)
147
147
  throw new If();
148
148
  return t.value;
149
149
  }
150
- function gG(t) {
150
+ function vG(t) {
151
151
  return t !== void 0;
152
152
  }
153
153
  function Of(t, e) {
@@ -183,7 +183,7 @@ function Ip(t) {
183
183
  } catch ($) {
184
184
  d($);
185
185
  }
186
- }, f = A({
186
+ }, f = k({
187
187
  get: () => {
188
188
  var R;
189
189
  return (R = s.value) == null ? void 0 : R.model;
@@ -199,13 +199,13 @@ function Ip(t) {
199
199
  },
200
200
  { deep: !0 }
201
201
  );
202
- const m = A(() => !i.value), T = A(() => !Of(t.get(), N(s))), k = A(() => i.value ? i.value.message : "");
202
+ const m = k(() => !i.value), T = k(() => !Of(t.get(), N(s))), A = k(() => i.value ? i.value.message : "");
203
203
  return Xe({
204
204
  model: f,
205
205
  valid: m,
206
206
  isChanged: T,
207
207
  error: i,
208
- errorString: k,
208
+ errorString: A,
209
209
  save: u,
210
210
  revert: c,
211
211
  setError: d
@@ -246,7 +246,7 @@ function Wx(t, e, n) {
246
246
  } catch (_) {
247
247
  f(_);
248
248
  }
249
- }, T = A({
249
+ }, T = k({
250
250
  get: () => {
251
251
  var Z;
252
252
  return (Z = u.value) == null ? void 0 : Z.model;
@@ -265,14 +265,14 @@ function Wx(t, e, n) {
265
265
  },
266
266
  { deep: !0 }
267
267
  );
268
- const k = A(() => !a.value), R = A(() => {
268
+ const A = k(() => !a.value), R = k(() => {
269
269
  var F;
270
270
  const { args: Z, ui: _ } = ((F = N(u)) == null ? void 0 : F.model) ?? {};
271
271
  return !Of(t.get(), { args: Z, ui: _ });
272
- }), $ = A(() => a.value ? a.value.message : "");
272
+ }), $ = k(() => a.value ? a.value.message : "");
273
273
  return Xe({
274
274
  model: T,
275
- valid: k,
275
+ valid: A,
276
276
  isChanged: R,
277
277
  error: a,
278
278
  errorString: $,
@@ -400,30 +400,30 @@ function jx(t, e, n) {
400
400
  const F = m();
401
401
  return F.href = _, e.setNavigationState(F);
402
402
  }
403
- }, k = A(() => {
403
+ }, A = k(() => {
404
404
  const _ = Object.entries(d.outputs).map(([F, Y]) => [F, Y.ok && Y.value !== void 0 ? Y.value : void 0]);
405
405
  return Object.fromEntries(_);
406
- }), R = A(() => {
406
+ }), R = k(() => {
407
407
  const _ = Object.entries(d.outputs).map(([F, Y]) => [F, Y && !Y.ok ? new Lf(Y.errors) : void 0]);
408
408
  return Object.fromEntries(_);
409
409
  }), $ = {
410
410
  snapshot: d,
411
- queryParams: A(() => Hx(d.navigationState.href)),
412
- href: A(() => d.navigationState.href),
413
- hasErrors: A(() => Object.values(d.outputs).some((_) => !(_ != null && _.ok))),
411
+ queryParams: k(() => Hx(d.navigationState.href)),
412
+ href: k(() => d.navigationState.href),
413
+ hasErrors: k(() => Object.values(d.outputs).some((_) => !(_ != null && _.ok))),
414
414
  // @TODO: there is middle-layer error, v sometimes is undefined
415
415
  /** @deprecated */
416
- outputValues: A(() => (console.warn("Change app.outputValues to app.model.outputs"), k.value)),
416
+ outputValues: k(() => (console.warn("Change app.outputValues to app.model.outputs"), A.value)),
417
417
  /** @deprecated */
418
- outputErrors: A(() => (console.warn("Change app.outputErrors to app.model.outputErrors"), R.value)),
418
+ outputErrors: k(() => (console.warn("Change app.outputErrors to app.model.outputErrors"), R.value)),
419
419
  /** @deprecated */
420
- args: A(() => (console.warn("Change app.args to app.snapshot.args"), d.args)),
420
+ args: k(() => (console.warn("Change app.args to app.snapshot.args"), d.args)),
421
421
  /** @deprecated */
422
- outputs: A(() => (console.warn("Change app.outputs to app.snapshot.outputs"), d.outputs)),
422
+ outputs: k(() => (console.warn("Change app.outputs to app.snapshot.outputs"), d.outputs)),
423
423
  /** @deprecated */
424
- ui: A(() => (console.warn("Change app.ui to app.snapshot.ui"), d.ui)),
424
+ ui: k(() => (console.warn("Change app.ui to app.snapshot.ui"), d.ui)),
425
425
  /** @deprecated */
426
- navigationState: A(() => (console.warn("Change app.navigationState to app.snapshot.navigationState"), d.navigationState))
426
+ navigationState: k(() => (console.warn("Change app.navigationState to app.snapshot.navigationState"), d.navigationState))
427
427
  }, Z = Wx(
428
428
  {
429
429
  get() {
@@ -435,7 +435,7 @@ function jx(t, e, n) {
435
435
  }
436
436
  },
437
437
  {
438
- outputs: k,
438
+ outputs: A,
439
439
  outputErrors: R
440
440
  },
441
441
  n
@@ -757,10 +757,10 @@ function $f(t, e, n, i, s) {
757
757
  if (typeof e == "function" ? t !== e || !s : !e.has(t)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
758
758
  return e.set(t, n), n;
759
759
  }
760
- var be;
760
+ var xe;
761
761
  (function(t) {
762
762
  t.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, t.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
763
- })(be || (be = {}));
763
+ })(xe || (xe = {}));
764
764
  var js, qs;
765
765
  class li {
766
766
  constructor(e, n, i, s) {
@@ -1145,7 +1145,7 @@ class jn extends Ze {
1145
1145
  return this.refinement((s) => e.test(s), {
1146
1146
  validation: n,
1147
1147
  code: ie.invalid_string,
1148
- ...be.errToObj(i)
1148
+ ...xe.errToObj(i)
1149
1149
  });
1150
1150
  }
1151
1151
  _addCheck(e) {
@@ -1155,34 +1155,34 @@ class jn extends Ze {
1155
1155
  });
1156
1156
  }
1157
1157
  email(e) {
1158
- return this._addCheck({ kind: "email", ...be.errToObj(e) });
1158
+ return this._addCheck({ kind: "email", ...xe.errToObj(e) });
1159
1159
  }
1160
1160
  url(e) {
1161
- return this._addCheck({ kind: "url", ...be.errToObj(e) });
1161
+ return this._addCheck({ kind: "url", ...xe.errToObj(e) });
1162
1162
  }
1163
1163
  emoji(e) {
1164
- return this._addCheck({ kind: "emoji", ...be.errToObj(e) });
1164
+ return this._addCheck({ kind: "emoji", ...xe.errToObj(e) });
1165
1165
  }
1166
1166
  uuid(e) {
1167
- return this._addCheck({ kind: "uuid", ...be.errToObj(e) });
1167
+ return this._addCheck({ kind: "uuid", ...xe.errToObj(e) });
1168
1168
  }
1169
1169
  nanoid(e) {
1170
- return this._addCheck({ kind: "nanoid", ...be.errToObj(e) });
1170
+ return this._addCheck({ kind: "nanoid", ...xe.errToObj(e) });
1171
1171
  }
1172
1172
  cuid(e) {
1173
- return this._addCheck({ kind: "cuid", ...be.errToObj(e) });
1173
+ return this._addCheck({ kind: "cuid", ...xe.errToObj(e) });
1174
1174
  }
1175
1175
  cuid2(e) {
1176
- return this._addCheck({ kind: "cuid2", ...be.errToObj(e) });
1176
+ return this._addCheck({ kind: "cuid2", ...xe.errToObj(e) });
1177
1177
  }
1178
1178
  ulid(e) {
1179
- return this._addCheck({ kind: "ulid", ...be.errToObj(e) });
1179
+ return this._addCheck({ kind: "ulid", ...xe.errToObj(e) });
1180
1180
  }
1181
1181
  base64(e) {
1182
- return this._addCheck({ kind: "base64", ...be.errToObj(e) });
1182
+ return this._addCheck({ kind: "base64", ...xe.errToObj(e) });
1183
1183
  }
1184
1184
  ip(e) {
1185
- return this._addCheck({ kind: "ip", ...be.errToObj(e) });
1185
+ return this._addCheck({ kind: "ip", ...xe.errToObj(e) });
1186
1186
  }
1187
1187
  datetime(e) {
1188
1188
  var n, i;
@@ -1197,7 +1197,7 @@ class jn extends Ze {
1197
1197
  precision: typeof (e == null ? void 0 : e.precision) > "u" ? null : e == null ? void 0 : e.precision,
1198
1198
  offset: (n = e == null ? void 0 : e.offset) !== null && n !== void 0 ? n : !1,
1199
1199
  local: (i = e == null ? void 0 : e.local) !== null && i !== void 0 ? i : !1,
1200
- ...be.errToObj(e == null ? void 0 : e.message)
1200
+ ...xe.errToObj(e == null ? void 0 : e.message)
1201
1201
  });
1202
1202
  }
1203
1203
  date(e) {
@@ -1211,17 +1211,17 @@ class jn extends Ze {
1211
1211
  }) : this._addCheck({
1212
1212
  kind: "time",
1213
1213
  precision: typeof (e == null ? void 0 : e.precision) > "u" ? null : e == null ? void 0 : e.precision,
1214
- ...be.errToObj(e == null ? void 0 : e.message)
1214
+ ...xe.errToObj(e == null ? void 0 : e.message)
1215
1215
  });
1216
1216
  }
1217
1217
  duration(e) {
1218
- return this._addCheck({ kind: "duration", ...be.errToObj(e) });
1218
+ return this._addCheck({ kind: "duration", ...xe.errToObj(e) });
1219
1219
  }
1220
1220
  regex(e, n) {
1221
1221
  return this._addCheck({
1222
1222
  kind: "regex",
1223
1223
  regex: e,
1224
- ...be.errToObj(n)
1224
+ ...xe.errToObj(n)
1225
1225
  });
1226
1226
  }
1227
1227
  includes(e, n) {
@@ -1229,42 +1229,42 @@ class jn extends Ze {
1229
1229
  kind: "includes",
1230
1230
  value: e,
1231
1231
  position: n == null ? void 0 : n.position,
1232
- ...be.errToObj(n == null ? void 0 : n.message)
1232
+ ...xe.errToObj(n == null ? void 0 : n.message)
1233
1233
  });
1234
1234
  }
1235
1235
  startsWith(e, n) {
1236
1236
  return this._addCheck({
1237
1237
  kind: "startsWith",
1238
1238
  value: e,
1239
- ...be.errToObj(n)
1239
+ ...xe.errToObj(n)
1240
1240
  });
1241
1241
  }
1242
1242
  endsWith(e, n) {
1243
1243
  return this._addCheck({
1244
1244
  kind: "endsWith",
1245
1245
  value: e,
1246
- ...be.errToObj(n)
1246
+ ...xe.errToObj(n)
1247
1247
  });
1248
1248
  }
1249
1249
  min(e, n) {
1250
1250
  return this._addCheck({
1251
1251
  kind: "min",
1252
1252
  value: e,
1253
- ...be.errToObj(n)
1253
+ ...xe.errToObj(n)
1254
1254
  });
1255
1255
  }
1256
1256
  max(e, n) {
1257
1257
  return this._addCheck({
1258
1258
  kind: "max",
1259
1259
  value: e,
1260
- ...be.errToObj(n)
1260
+ ...xe.errToObj(n)
1261
1261
  });
1262
1262
  }
1263
1263
  length(e, n) {
1264
1264
  return this._addCheck({
1265
1265
  kind: "length",
1266
1266
  value: e,
1267
- ...be.errToObj(n)
1267
+ ...xe.errToObj(n)
1268
1268
  });
1269
1269
  }
1270
1270
  /**
@@ -1272,7 +1272,7 @@ class jn extends Ze {
1272
1272
  * @see {@link ZodString.min}
1273
1273
  */
1274
1274
  nonempty(e) {
1275
- return this.min(1, be.errToObj(e));
1275
+ return this.min(1, xe.errToObj(e));
1276
1276
  }
1277
1277
  trim() {
1278
1278
  return new jn({
@@ -1406,16 +1406,16 @@ class nr extends Ze {
1406
1406
  return { status: s.value, value: e.data };
1407
1407
  }
1408
1408
  gte(e, n) {
1409
- return this.setLimit("min", e, !0, be.toString(n));
1409
+ return this.setLimit("min", e, !0, xe.toString(n));
1410
1410
  }
1411
1411
  gt(e, n) {
1412
- return this.setLimit("min", e, !1, be.toString(n));
1412
+ return this.setLimit("min", e, !1, xe.toString(n));
1413
1413
  }
1414
1414
  lte(e, n) {
1415
- return this.setLimit("max", e, !0, be.toString(n));
1415
+ return this.setLimit("max", e, !0, xe.toString(n));
1416
1416
  }
1417
1417
  lt(e, n) {
1418
- return this.setLimit("max", e, !1, be.toString(n));
1418
+ return this.setLimit("max", e, !1, xe.toString(n));
1419
1419
  }
1420
1420
  setLimit(e, n, i, s) {
1421
1421
  return new nr({
@@ -1426,7 +1426,7 @@ class nr extends Ze {
1426
1426
  kind: e,
1427
1427
  value: n,
1428
1428
  inclusive: i,
1429
- message: be.toString(s)
1429
+ message: xe.toString(s)
1430
1430
  }
1431
1431
  ]
1432
1432
  });
@@ -1440,7 +1440,7 @@ class nr extends Ze {
1440
1440
  int(e) {
1441
1441
  return this._addCheck({
1442
1442
  kind: "int",
1443
- message: be.toString(e)
1443
+ message: xe.toString(e)
1444
1444
  });
1445
1445
  }
1446
1446
  positive(e) {
@@ -1448,7 +1448,7 @@ class nr extends Ze {
1448
1448
  kind: "min",
1449
1449
  value: 0,
1450
1450
  inclusive: !1,
1451
- message: be.toString(e)
1451
+ message: xe.toString(e)
1452
1452
  });
1453
1453
  }
1454
1454
  negative(e) {
@@ -1456,7 +1456,7 @@ class nr extends Ze {
1456
1456
  kind: "max",
1457
1457
  value: 0,
1458
1458
  inclusive: !1,
1459
- message: be.toString(e)
1459
+ message: xe.toString(e)
1460
1460
  });
1461
1461
  }
1462
1462
  nonpositive(e) {
@@ -1464,7 +1464,7 @@ class nr extends Ze {
1464
1464
  kind: "max",
1465
1465
  value: 0,
1466
1466
  inclusive: !0,
1467
- message: be.toString(e)
1467
+ message: xe.toString(e)
1468
1468
  });
1469
1469
  }
1470
1470
  nonnegative(e) {
@@ -1472,20 +1472,20 @@ class nr extends Ze {
1472
1472
  kind: "min",
1473
1473
  value: 0,
1474
1474
  inclusive: !0,
1475
- message: be.toString(e)
1475
+ message: xe.toString(e)
1476
1476
  });
1477
1477
  }
1478
1478
  multipleOf(e, n) {
1479
1479
  return this._addCheck({
1480
1480
  kind: "multipleOf",
1481
1481
  value: e,
1482
- message: be.toString(n)
1482
+ message: xe.toString(n)
1483
1483
  });
1484
1484
  }
1485
1485
  finite(e) {
1486
1486
  return this._addCheck({
1487
1487
  kind: "finite",
1488
- message: be.toString(e)
1488
+ message: xe.toString(e)
1489
1489
  });
1490
1490
  }
1491
1491
  safe(e) {
@@ -1493,12 +1493,12 @@ class nr extends Ze {
1493
1493
  kind: "min",
1494
1494
  inclusive: !0,
1495
1495
  value: Number.MIN_SAFE_INTEGER,
1496
- message: be.toString(e)
1496
+ message: xe.toString(e)
1497
1497
  })._addCheck({
1498
1498
  kind: "max",
1499
1499
  inclusive: !0,
1500
1500
  value: Number.MAX_SAFE_INTEGER,
1501
- message: be.toString(e)
1501
+ message: xe.toString(e)
1502
1502
  });
1503
1503
  }
1504
1504
  get minValue() {
@@ -1568,16 +1568,16 @@ class ir extends Ze {
1568
1568
  return { status: s.value, value: e.data };
1569
1569
  }
1570
1570
  gte(e, n) {
1571
- return this.setLimit("min", e, !0, be.toString(n));
1571
+ return this.setLimit("min", e, !0, xe.toString(n));
1572
1572
  }
1573
1573
  gt(e, n) {
1574
- return this.setLimit("min", e, !1, be.toString(n));
1574
+ return this.setLimit("min", e, !1, xe.toString(n));
1575
1575
  }
1576
1576
  lte(e, n) {
1577
- return this.setLimit("max", e, !0, be.toString(n));
1577
+ return this.setLimit("max", e, !0, xe.toString(n));
1578
1578
  }
1579
1579
  lt(e, n) {
1580
- return this.setLimit("max", e, !1, be.toString(n));
1580
+ return this.setLimit("max", e, !1, xe.toString(n));
1581
1581
  }
1582
1582
  setLimit(e, n, i, s) {
1583
1583
  return new ir({
@@ -1588,7 +1588,7 @@ class ir extends Ze {
1588
1588
  kind: e,
1589
1589
  value: n,
1590
1590
  inclusive: i,
1591
- message: be.toString(s)
1591
+ message: xe.toString(s)
1592
1592
  }
1593
1593
  ]
1594
1594
  });
@@ -1604,7 +1604,7 @@ class ir extends Ze {
1604
1604
  kind: "min",
1605
1605
  value: BigInt(0),
1606
1606
  inclusive: !1,
1607
- message: be.toString(e)
1607
+ message: xe.toString(e)
1608
1608
  });
1609
1609
  }
1610
1610
  negative(e) {
@@ -1612,7 +1612,7 @@ class ir extends Ze {
1612
1612
  kind: "max",
1613
1613
  value: BigInt(0),
1614
1614
  inclusive: !1,
1615
- message: be.toString(e)
1615
+ message: xe.toString(e)
1616
1616
  });
1617
1617
  }
1618
1618
  nonpositive(e) {
@@ -1620,7 +1620,7 @@ class ir extends Ze {
1620
1620
  kind: "max",
1621
1621
  value: BigInt(0),
1622
1622
  inclusive: !0,
1623
- message: be.toString(e)
1623
+ message: xe.toString(e)
1624
1624
  });
1625
1625
  }
1626
1626
  nonnegative(e) {
@@ -1628,14 +1628,14 @@ class ir extends Ze {
1628
1628
  kind: "min",
1629
1629
  value: BigInt(0),
1630
1630
  inclusive: !0,
1631
- message: be.toString(e)
1631
+ message: xe.toString(e)
1632
1632
  });
1633
1633
  }
1634
1634
  multipleOf(e, n) {
1635
1635
  return this._addCheck({
1636
1636
  kind: "multipleOf",
1637
1637
  value: e,
1638
- message: be.toString(n)
1638
+ message: xe.toString(n)
1639
1639
  });
1640
1640
  }
1641
1641
  get minValue() {
@@ -1727,14 +1727,14 @@ class Fr extends Ze {
1727
1727
  return this._addCheck({
1728
1728
  kind: "min",
1729
1729
  value: e.getTime(),
1730
- message: be.toString(n)
1730
+ message: xe.toString(n)
1731
1731
  });
1732
1732
  }
1733
1733
  max(e, n) {
1734
1734
  return this._addCheck({
1735
1735
  kind: "max",
1736
1736
  value: e.getTime(),
1737
- message: be.toString(n)
1737
+ message: xe.toString(n)
1738
1738
  });
1739
1739
  }
1740
1740
  get minDate() {
@@ -1908,19 +1908,19 @@ class Yn extends Ze {
1908
1908
  min(e, n) {
1909
1909
  return new Yn({
1910
1910
  ...this._def,
1911
- minLength: { value: e, message: be.toString(n) }
1911
+ minLength: { value: e, message: xe.toString(n) }
1912
1912
  });
1913
1913
  }
1914
1914
  max(e, n) {
1915
1915
  return new Yn({
1916
1916
  ...this._def,
1917
- maxLength: { value: e, message: be.toString(n) }
1917
+ maxLength: { value: e, message: xe.toString(n) }
1918
1918
  });
1919
1919
  }
1920
1920
  length(e, n) {
1921
1921
  return new Yn({
1922
1922
  ...this._def,
1923
- exactLength: { value: e, message: be.toString(n) }
1923
+ exactLength: { value: e, message: xe.toString(n) }
1924
1924
  });
1925
1925
  }
1926
1926
  nonempty(e) {
@@ -2028,7 +2028,7 @@ class vt extends Ze {
2028
2028
  return this._def.shape();
2029
2029
  }
2030
2030
  strict(e) {
2031
- return be.errToObj, new vt({
2031
+ return xe.errToObj, new vt({
2032
2032
  ...this._def,
2033
2033
  unknownKeys: "strict",
2034
2034
  ...e !== void 0 ? {
@@ -2036,7 +2036,7 @@ class vt extends Ze {
2036
2036
  var s, a, u, c;
2037
2037
  const d = (u = (a = (s = this._def).errorMap) === null || a === void 0 ? void 0 : a.call(s, n, i).message) !== null && u !== void 0 ? u : i.defaultError;
2038
2038
  return n.code === "unrecognized_keys" ? {
2039
- message: (c = be.errToObj(e).message) !== null && c !== void 0 ? c : d
2039
+ message: (c = xe.errToObj(e).message) !== null && c !== void 0 ? c : d
2040
2040
  } : {
2041
2041
  message: d
2042
2042
  };
@@ -2618,13 +2618,13 @@ class Rr extends Ze {
2618
2618
  min(e, n) {
2619
2619
  return new Rr({
2620
2620
  ...this._def,
2621
- minSize: { value: e, message: be.toString(n) }
2621
+ minSize: { value: e, message: xe.toString(n) }
2622
2622
  });
2623
2623
  }
2624
2624
  max(e, n) {
2625
2625
  return new Rr({
2626
2626
  ...this._def,
2627
- maxSize: { value: e, message: be.toString(n) }
2627
+ maxSize: { value: e, message: xe.toString(n) }
2628
2628
  });
2629
2629
  }
2630
2630
  size(e, n) {
@@ -2689,11 +2689,11 @@ class as extends Ze {
2689
2689
  if (this._def.returns instanceof _s) {
2690
2690
  const c = this;
2691
2691
  return Qt(async function(...d) {
2692
- const p = new Cn([]), f = await c._def.args.parseAsync(d, a).catch((k) => {
2693
- throw p.addIssue(i(d, k)), p;
2692
+ const p = new Cn([]), f = await c._def.args.parseAsync(d, a).catch((A) => {
2693
+ throw p.addIssue(i(d, A)), p;
2694
2694
  }), m = await Reflect.apply(u, this, f);
2695
- return await c._def.returns._def.type.parseAsync(m, a).catch((k) => {
2696
- throw p.addIssue(s(m, k)), p;
2695
+ return await c._def.returns._def.type.parseAsync(m, a).catch((A) => {
2696
+ throw p.addIssue(s(m, A)), p;
2697
2697
  });
2698
2698
  });
2699
2699
  } else {
@@ -4792,12 +4792,12 @@ var BS = class extends tn {
4792
4792
  execute(t) {
4793
4793
  var p, f;
4794
4794
  const e = this.columnModel.isPivotMode(), n = ((p = this.filterManager) == null ? void 0 : p.isAggregateFilterPresent()) || ((f = this.filterManager) == null ? void 0 : f.isAggregateQuickFilterPresent()), i = (m) => !m.node.group, s = (m) => m.node.leafGroup, a = xf(this.gos) || (e ? s : i), { changedPath: u } = t, c = (m, T = !1) => {
4795
- m.childrenAfterFilter && (m.childrenAfterAggFilter = m.childrenAfterFilter, T && m.childrenAfterAggFilter.forEach((k) => c(k, T)), this.setAllChildrenCount(m)), m.sibling && (m.sibling.childrenAfterAggFilter = m.childrenAfterAggFilter);
4795
+ m.childrenAfterFilter && (m.childrenAfterAggFilter = m.childrenAfterFilter, T && m.childrenAfterAggFilter.forEach((A) => c(A, T)), this.setAllChildrenCount(m)), m.sibling && (m.sibling.childrenAfterAggFilter = m.childrenAfterAggFilter);
4796
4796
  }, d = (m) => {
4797
4797
  var T;
4798
- m.childrenAfterAggFilter = ((T = m.childrenAfterFilter) == null ? void 0 : T.filter((k) => {
4798
+ m.childrenAfterAggFilter = ((T = m.childrenAfterFilter) == null ? void 0 : T.filter((A) => {
4799
4799
  var Z;
4800
- return a({ node: k }) && this.filterManager.doesRowPassAggregateFilters({ rowNode: k }) ? (c(k, !0), !0) : (Z = k.childrenAfterAggFilter) == null ? void 0 : Z.length;
4800
+ return a({ node: A }) && this.filterManager.doesRowPassAggregateFilters({ rowNode: A }) ? (c(A, !0), !0) : (Z = A.childrenAfterAggFilter) == null ? void 0 : Z.length;
4801
4801
  })) || null, this.setAllChildrenCount(m), m.sibling && (m.sibling.childrenAfterAggFilter = m.childrenAfterAggFilter);
4802
4802
  };
4803
4803
  u.forEachChangedNodeDepthFirst(n ? d : c, !0);
@@ -5619,10 +5619,10 @@ var KS = class extends tn {
5619
5619
  const p = d.length;
5620
5620
  let f = 0;
5621
5621
  for (let m = 0; m < a; ++m) {
5622
- const T = i[m], k = T.allLeafChildren, R = k.length;
5622
+ const T = i[m], A = T.allLeafChildren, R = A.length;
5623
5623
  if (R)
5624
5624
  for (let $ = 0; $ < R; ++$) {
5625
- const Z = k[$];
5625
+ const Z = A[$];
5626
5626
  (f >= p || d[f] !== Z) && (d[f] = Z, s = !0), ++f;
5627
5627
  }
5628
5628
  else
@@ -6001,8 +6001,8 @@ var KS = class extends tn {
6001
6001
  const T = this.columnNameService.getDisplayNameForColumn(
6002
6002
  m,
6003
6003
  "header"
6004
- ), k = this.createColDef(m, T, s.pivotKeys);
6005
- k.pivotTotalColumnIds = p.get(m.getColId()), k.columnGroupShow = n ? "open" : "closed", k.aggFunc = m.getAggFunc(), f || (s.children.push(k), a.push(k));
6004
+ ), A = this.createColDef(m, T, s.pivotKeys);
6005
+ A.pivotTotalColumnIds = p.get(m.getColId()), A.columnGroupShow = n ? "open" : "closed", A.aggFunc = m.getAggFunc(), f || (s.children.push(A), a.push(A));
6006
6006
  }), this.merge(u, p);
6007
6007
  return;
6008
6008
  }
@@ -6053,8 +6053,8 @@ var KS = class extends tn {
6053
6053
  for (let u = 0; u < s.length; u++) {
6054
6054
  const c = s[u], d = this.columnNameService.getDisplayNameForColumn(c, "header"), p = this.createColDef(c, d, []), f = [];
6055
6055
  for (let T = 0; T < e.length; T++) {
6056
- const k = e[T];
6057
- k.pivotValueColumn === c && f.push(k.colId);
6056
+ const A = e[T];
6057
+ A.pivotValueColumn === c && f.push(A.colId);
6058
6058
  }
6059
6059
  p.pivotTotalColumnIds = f, p.colId = zp + p.colId;
6060
6060
  const m = a ? {
@@ -6119,13 +6119,13 @@ var KS = class extends tn {
6119
6119
  const n = (s, a, u, c) => {
6120
6120
  const d = [];
6121
6121
  for (const m in u) {
6122
- const T = u[m], k = n(`${s}${this.fieldSeparator}${m}`, m, T, c + 1);
6123
- d.push(k);
6122
+ const T = u[m], A = n(`${s}${this.fieldSeparator}${m}`, m, T, c + 1);
6123
+ d.push(A);
6124
6124
  }
6125
6125
  if (d.length === 0) {
6126
6126
  const m = this.columnModel.getColDefCol(a);
6127
6127
  if (m) {
6128
- const k = this.columnNameService.getDisplayNameForColumn(m, "header") ?? a, R = this.createColDef(m, k, void 0, !1);
6128
+ const A = this.columnNameService.getDisplayNameForColumn(m, "header") ?? a, R = this.createColDef(m, A, void 0, !1);
6129
6129
  return R.colId = s, R.aggFunc = m.getAggFunc(), R.valueGetter = ($) => {
6130
6130
  var Z;
6131
6131
  return (Z = $.data) == null ? void 0 : Z[s];
@@ -6136,9 +6136,9 @@ var KS = class extends tn {
6136
6136
  headerName: a,
6137
6137
  // this is to support using pinned rows, normally the data will be extracted from the aggData object using the colId
6138
6138
  // however pinned rows still access the data object by field, this prevents values with dots from being treated as complex objects
6139
- valueGetter: (k) => {
6139
+ valueGetter: (A) => {
6140
6140
  var R;
6141
- return (R = k.data) == null ? void 0 : R[s];
6141
+ return (R = A.data) == null ? void 0 : R[s];
6142
6142
  }
6143
6143
  };
6144
6144
  }
@@ -6189,8 +6189,8 @@ var KS = class extends tn {
6189
6189
  this.aggregationColumnsHashLastTime = u, this.aggregationFuncsHashLastTime = c;
6190
6190
  const f = this.funcColsService.getRowGroupColumns().map((_) => _.getId()).join("#"), m = f !== this.groupColumnsHashLastTime;
6191
6191
  this.groupColumnsHashLastTime = f;
6192
- const T = this.gos.get("pivotRowTotals"), k = this.gos.get("pivotColumnGroupTotals"), R = this.gos.get("suppressExpandablePivotGroups"), $ = this.gos.get("removePivotHeaderRowWhenSingleValueColumn"), Z = T !== this.pivotRowTotalsLastTime || k !== this.pivotColumnGroupTotalsLastTime || R !== this.suppressExpandablePivotGroupsLastTime || $ !== this.removePivotHeaderRowWhenSingleValueColumnLastTime;
6193
- if (this.pivotRowTotalsLastTime = T, this.pivotColumnGroupTotalsLastTime = k, this.suppressExpandablePivotGroupsLastTime = R, this.removePivotHeaderRowWhenSingleValueColumnLastTime = $, this.lastTimeFailed || s || d || m || p || Z) {
6192
+ const T = this.gos.get("pivotRowTotals"), A = this.gos.get("pivotColumnGroupTotals"), R = this.gos.get("suppressExpandablePivotGroups"), $ = this.gos.get("removePivotHeaderRowWhenSingleValueColumn"), Z = T !== this.pivotRowTotalsLastTime || A !== this.pivotColumnGroupTotalsLastTime || R !== this.suppressExpandablePivotGroupsLastTime || $ !== this.removePivotHeaderRowWhenSingleValueColumnLastTime;
6193
+ if (this.pivotRowTotalsLastTime = T, this.pivotColumnGroupTotalsLastTime = A, this.suppressExpandablePivotGroupsLastTime = R, this.removePivotHeaderRowWhenSingleValueColumnLastTime = $, this.lastTimeFailed || s || d || m || p || Z) {
6194
6194
  const { pivotColumnGroupDefs: _, pivotColumnDefs: F } = this.pivotColDefService.createPivotColumnDefs(
6195
6195
  this.uniqueValues
6196
6196
  );
@@ -7736,6 +7736,10 @@ const Jk = Ox("headerBottomBorder").withCSS(Kk), Xk = Mx.withParams({
7736
7736
  borderColor: "#E1E3EB",
7737
7737
  cellHorizontalPaddingScale: 1,
7738
7738
  checkboxBorderRadius: "3px",
7739
+ checkboxCheckedBackgroundColor: "#110529",
7740
+ checkboxCheckedBorderColor: "#110529",
7741
+ checkboxIndeterminateBackgroundColor: "#110529",
7742
+ checkboxIndeterminateBorderColor: "#110529",
7739
7743
  checkboxUncheckedBorderColor: "#CFD1DB",
7740
7744
  columnBorder: !0,
7741
7745
  columnHoverColor: "#9BABCC16",
@@ -7763,7 +7767,7 @@ const Jk = Ox("headerBottomBorder").withCSS(Kk), Xk = Mx.withParams({
7763
7767
  function ug() {
7764
7768
  return Za(lg);
7765
7769
  }
7766
- function mG(t, e, n = {}) {
7770
+ function yG(t, e, n = {}) {
7767
7771
  let i;
7768
7772
  Yk();
7769
7773
  const s = () => {
@@ -8071,11 +8075,11 @@ const mg = Symbol(), ml = () => Za(mg), EA = ["value"], PA = { key: 1 }, FA = /*
8071
8075
  setup(t, { emit: e }) {
8072
8076
  const n = e, i = t, s = Xe({
8073
8077
  edit: !1
8074
- }), a = A(() => i.valueType), u = (p) => {
8078
+ }), a = k(() => i.valueType), u = (p) => {
8075
8079
  var f;
8076
8080
  let m = (f = p.target) == null ? void 0 : f.value;
8077
- const T = N(a), k = rA(() => T === "integer" ? parseInt(m, 10) : T === "float" ? Number(m) : m);
8078
- n("update:modelValue", k), s.edit = !1;
8081
+ const T = N(a), A = rA(() => T === "integer" ? parseInt(m, 10) : T === "float" ? Number(m) : m);
8082
+ n("update:modelValue", A), s.edit = !1;
8079
8083
  }, c = oe(), d = (p) => {
8080
8084
  !p.metaKey && i.editable && (s.edit = !0, requestAnimationFrame(() => {
8081
8085
  var f, m;
@@ -8105,7 +8109,7 @@ const mg = Symbol(), ml = () => Za(mg), EA = ["value"], PA = { key: 1 }, FA = /*
8105
8109
  cell: {}
8106
8110
  },
8107
8111
  setup(t) {
8108
- const e = t, n = ml(), i = A(() => e.cell.column.valueType), s = (p) => {
8112
+ const e = t, n = ml(), i = k(() => e.cell.column.valueType), s = (p) => {
8109
8113
  Br(n.settings.value.onUpdatedRow, (f) => {
8110
8114
  const m = e.cell.row, T = { ...m.dataRow, [e.cell.id]: p };
8111
8115
  f({ ...m, dataRow: T });
@@ -8117,8 +8121,8 @@ const mg = Symbol(), ml = () => Za(mg), EA = ["value"], PA = { key: 1 }, FA = /*
8117
8121
  p.preventDefault();
8118
8122
  else
8119
8123
  return;
8120
- const m = n.settings ?? {}, T = [], { onSelectedRows: k, onSelectedColumns: R } = m.value, $ = n.data.selectedRows.has(f.primaryKey);
8121
- k && k.length && ($ ? T.push({
8124
+ const m = n.settings ?? {}, T = [], { onSelectedRows: A, onSelectedColumns: R } = m.value, $ = n.data.selectedRows.has(f.primaryKey);
8125
+ A && A.length && ($ ? T.push({
8122
8126
  text: "Deselect row",
8123
8127
  cb() {
8124
8128
  n.data.selectedRows.delete(e.cell.row.primaryKey);
@@ -8139,7 +8143,7 @@ const mg = Symbol(), ml = () => Za(mg), EA = ["value"], PA = { key: 1 }, FA = /*
8139
8143
  n.unselectColumn(e.cell.column.id);
8140
8144
  }
8141
8145
  })), T.length && gg(p, T);
8142
- }, c = oe(), d = A(() => e.cell.column.component ? e.cell.column.component() : void 0);
8146
+ }, c = oe(), d = k(() => e.cell.column.component ? e.cell.column.component() : void 0);
8143
8147
  return (p, f) => (C(), S("div", {
8144
8148
  ref_key: "cellRef",
8145
8149
  ref: c,
@@ -8263,7 +8267,7 @@ const ZA = ["^data-col-id"], UA = /* @__PURE__ */ ae({
8263
8267
  ref: e,
8264
8268
  class: ye(["tr-body", { selected: i.row.selected }]),
8265
8269
  scroll: "no",
8266
- style: je(i.row.style),
8270
+ style: He(i.row.style),
8267
8271
  onScroll: n
8268
8272
  }, [
8269
8273
  Ce(i.$slots, "default")
@@ -8275,7 +8279,7 @@ const ZA = ["^data-col-id"], UA = /* @__PURE__ */ ae({
8275
8279
  column: {}
8276
8280
  },
8277
8281
  setup(t) {
8278
- const e = ml(), n = t, i = A(() => e.data.selectedColumns.has(n.column.id));
8282
+ const e = ml(), n = t, i = k(() => e.data.selectedColumns.has(n.column.id));
8279
8283
  return (s, a) => (C(), S("div", {
8280
8284
  class: ye(["column-caret", { selected: i.value, frozen: s.column.frozen }])
8281
8285
  }, null, 2));
@@ -8389,10 +8393,10 @@ const tT = {
8389
8393
  }, nT = { key: 0 }, iT = ["onClick"], rT = /* @__PURE__ */ ae({
8390
8394
  __name: "RowsCommandMenu",
8391
8395
  setup(t) {
8392
- const e = ml(), n = A(() => e.getSelectedRows()), i = A(() => n.value.length > 0), s = A(() => {
8396
+ const e = ml(), n = k(() => e.getSelectedRows()), i = k(() => n.value.length > 0), s = k(() => {
8393
8397
  var u;
8394
8398
  return ((u = e.settings) == null ? void 0 : u.value.onSelectedRows) ?? [];
8395
- }), a = A(
8399
+ }), a = k(
8396
8400
  () => s.value.map((u) => ({
8397
8401
  label: u.label,
8398
8402
  cb: () => {
@@ -8418,10 +8422,10 @@ const tT = {
8418
8422
  }, oT = { key: 0 }, aT = ["onClick"], lT = /* @__PURE__ */ ae({
8419
8423
  __name: "ColumnsCommandMenu",
8420
8424
  setup(t) {
8421
- const e = ml(), n = A(() => e.getSelectedColumns()), i = A(() => n.value.length > 0), s = A(() => {
8425
+ const e = ml(), n = k(() => e.getSelectedColumns()), i = k(() => n.value.length > 0), s = k(() => {
8422
8426
  var u;
8423
8427
  return ((u = e.settings) == null ? void 0 : u.value.onSelectedColumns) ?? [];
8424
- }), a = A(
8428
+ }), a = k(
8425
8429
  () => s.value.map((u) => ({
8426
8430
  label: u.label,
8427
8431
  cb: () => {
@@ -8476,13 +8480,13 @@ const uT = /* @__PURE__ */ ae({
8476
8480
  },
8477
8481
  emits: ["change:offset"],
8478
8482
  setup(t, { emit: e }) {
8479
- const n = e, i = t, s = oe(), a = A(() => i.windowSize - 12), u = A(() => i.windowSize < i.dataSize), c = A(() => Math.ceil(i.offset * (a.value / i.dataSize))), d = A(() => Math.ceil(a.value * a.value / i.dataSize)), p = A(() => ({ top: `${c.value}px`, height: `${d.value}px` }));
8483
+ const n = e, i = t, s = oe(), a = k(() => i.windowSize - 12), u = k(() => i.windowSize < i.dataSize), c = k(() => Math.ceil(i.offset * (a.value / i.dataSize))), d = k(() => Math.ceil(a.value * a.value / i.dataSize)), p = k(() => ({ top: `${c.value}px`, height: `${d.value}px` }));
8480
8484
  return Tr(s, (f, m) => {
8481
8485
  const T = (c.value + f.dy) * i.dataSize / a.value;
8482
8486
  n("change:offset", T), m.x = f.x, m.y = f.y;
8483
8487
  }), (f, m) => (C(), S("div", {
8484
8488
  class: "t-scroll",
8485
- style: je({ height: `${f.windowSize}px` })
8489
+ style: He({ height: `${f.windowSize}px` })
8486
8490
  }, [
8487
8491
  O("div", null, [
8488
8492
  u.value ? (C(), S("div", {
@@ -8490,14 +8494,14 @@ const uT = /* @__PURE__ */ ae({
8490
8494
  ref_key: "handleRef",
8491
8495
  ref: s,
8492
8496
  class: "t-scroll__handle",
8493
- style: je(p.value)
8497
+ style: He(p.value)
8494
8498
  }, null, 4)) : j("", !0)
8495
8499
  ])
8496
8500
  ], 4));
8497
8501
  }
8498
8502
  });
8499
8503
  function cT(t) {
8500
- return A(() => {
8504
+ return k(() => {
8501
8505
  const { data: e, settings: n } = t, { bodyWidth: i, scrollLeft: s } = e, a = [...e.columns], u = hg();
8502
8506
  n.value.controlColumn && a.unshift(
8503
8507
  {
@@ -8523,13 +8527,13 @@ function cT(t) {
8523
8527
  });
8524
8528
  }
8525
8529
  function dT(t, e) {
8526
- const n = A(
8530
+ const n = k(
8527
8531
  () => e.value.reduce(
8528
8532
  (i, s) => (i[s.id] = s.justify ? "justify-" + s.justify : "", i),
8529
8533
  {}
8530
8534
  )
8531
8535
  );
8532
- return A(() => t.rows.map((i) => {
8536
+ return k(() => t.rows.map((i) => {
8533
8537
  const s = n.value, { primaryKey: a, offset: u, dataRow: c, height: d } = i, p = e.value.map((f) => ({
8534
8538
  id: f.id,
8535
8539
  column: f,
@@ -8587,7 +8591,7 @@ function pT(t) {
8587
8591
  },
8588
8592
  { immediate: !0 }
8589
8593
  );
8590
- const n = A(() => t.settings), i = A(() => e.columns.reduce((f, m) => f + m.width + Cs, 0)), s = A(() => Yp(p.data.dataHeight - p.data.bodyHeight, (f) => f > 0 ? f : 0)), a = A(() => Yp(i.value - p.data.bodyWidth, (f) => f > 0 ? f : 0)), u = A(() => ({
8594
+ const n = k(() => t.settings), i = k(() => e.columns.reduce((f, m) => f + m.width + Cs, 0)), s = k(() => Yp(p.data.dataHeight - p.data.bodyHeight, (f) => f > 0 ? f : 0)), a = k(() => Yp(i.value - p.data.bodyWidth, (f) => f > 0 ? f : 0)), u = k(() => ({
8591
8595
  bodyHeight: e.bodyHeight,
8592
8596
  scrollTop: e.scrollTop,
8593
8597
  current: e.currentWindow
@@ -8600,7 +8604,7 @@ function pT(t) {
8600
8604
  tableColumns: c,
8601
8605
  tableRows: d,
8602
8606
  adjustWidth: () => {
8603
- const f = e.columns.reduce((T, k) => T + k.width + Cs, 0), m = e.bodyWidth + e.scrollLeft;
8607
+ const f = e.columns.reduce((T, A) => T + A.width + Cs, 0), m = e.bodyWidth + e.scrollLeft;
8604
8608
  if (f < m) {
8605
8609
  const T = e.columns[e.columns.length - 1];
8606
8610
  T.width = T.width + (m - f);
@@ -8648,8 +8652,8 @@ function pT(t) {
8648
8652
  (!T || f.scrollTop < T.scrollTop || f.scrollTop + f.bodyHeight > T.bodyHeight + T.scrollTop) && (e.currentWindow = {
8649
8653
  scrollTop: f.scrollTop - Xp,
8650
8654
  bodyHeight: f.bodyHeight + Xp * 2
8651
- }, hT(go(e.currentWindow), n.value.dataSource).then(({ rows: k, dataWindow: R }) => {
8652
- fo(e.currentWindow, R) && (e.rows = k);
8655
+ }, hT(go(e.currentWindow), n.value.dataSource).then(({ rows: A, dataWindow: R }) => {
8656
+ fo(e.currentWindow, R) && (e.rows = A);
8653
8657
  }));
8654
8658
  },
8655
8659
  { deep: !0, immediate: !0 }
@@ -8665,7 +8669,7 @@ const fT = { class: "command-menu__container" }, gT = {
8665
8669
  },
8666
8670
  emits: ["update:data", "change:sort"],
8667
8671
  setup(t, { emit: e }) {
8668
- const n = e, i = t, s = pT(i), a = A(() => s.data.rows.length === 0), u = A(() => ({
8672
+ const n = e, i = t, s = pT(i), a = k(() => s.data.rows.length === 0), u = k(() => ({
8669
8673
  height: a.value ? "212px" : s.data.bodyHeight + "px"
8670
8674
  }));
8671
8675
  Le(s.data, ($) => n("update:data", $), { deep: !0 }), Le(i, () => f);
@@ -8673,7 +8677,7 @@ const fT = { class: "command-menu__container" }, gT = {
8673
8677
  Br(p.value, ($) => {
8674
8678
  s.updateDimensions($.getBoundingClientRect());
8675
8679
  });
8676
- }, m = s.tableColumns, T = s.tableRows, { mouseDown: k } = eT(s, c);
8680
+ }, m = s.tableColumns, T = s.tableRows, { mouseDown: A } = eT(s, c);
8677
8681
  zt(() => {
8678
8682
  ki(f);
8679
8683
  }), pl(() => {
@@ -8687,12 +8691,12 @@ const fT = { class: "command-menu__container" }, gT = {
8687
8691
  ref: c,
8688
8692
  class: "data-table",
8689
8693
  onMousedown: Z[2] || (Z[2] = //@ts-ignore
8690
- (..._) => N(k) && N(k)(..._))
8694
+ (..._) => N(A) && N(A)(..._))
8691
8695
  }, [
8692
8696
  O("div", fT, [
8693
- Se(rT),
8697
+ be(rT),
8694
8698
  Z[3] || (Z[3] = I()),
8695
- Se(lT)
8699
+ be(lT)
8696
8700
  ]),
8697
8701
  Z[7] || (Z[7] = I()),
8698
8702
  O("div", {
@@ -8700,12 +8704,12 @@ const fT = { class: "command-menu__container" }, gT = {
8700
8704
  ref: d,
8701
8705
  class: "table-head"
8702
8706
  }, [
8703
- Se(VA, null, {
8707
+ be(VA, null, {
8704
8708
  default: Te(() => [
8705
8709
  (C(!0), S(Ye, null, dt(N(m), (_, F) => (C(), fe(UA, {
8706
8710
  key: F,
8707
8711
  col: _,
8708
- style: je(_.style),
8712
+ style: He(_.style),
8709
8713
  "onChange:sort": Z[0] || (Z[0] = (Y) => $.$emit("change:sort", Y))
8710
8714
  }, null, 8, ["col", "style"]))), 128))
8711
8715
  ]),
@@ -8717,12 +8721,12 @@ const fT = { class: "command-menu__container" }, gT = {
8717
8721
  ref_key: "bodyRef",
8718
8722
  ref: p,
8719
8723
  class: "table-body",
8720
- style: je(u.value),
8724
+ style: He(u.value),
8721
8725
  onWheel: R
8722
8726
  }, [
8723
8727
  a.value ? (C(), S("div", gT, [
8724
8728
  O("div", null, [
8725
- Se(GA),
8729
+ be(GA),
8726
8730
  Z[4] || (Z[4] = I()),
8727
8731
  Z[5] || (Z[5] = O("div", null, "No Data To Show", -1))
8728
8732
  ])
@@ -8736,7 +8740,7 @@ const fT = { class: "command-menu__container" }, gT = {
8736
8740
  (C(!0), S(Ye, null, dt(_.cells, (Y) => (C(), fe(IA, {
8737
8741
  key: Y.column.id + ":" + F,
8738
8742
  cell: Y,
8739
- style: je(Y.style)
8743
+ style: He(Y.style)
8740
8744
  }, null, 8, ["cell", "style"]))), 128))
8741
8745
  ]),
8742
8746
  _: 2
@@ -8747,12 +8751,12 @@ const fT = { class: "command-menu__container" }, gT = {
8747
8751
  (C(!0), S(Ye, null, dt(N(m), (_, F) => (C(), fe(WA, {
8748
8752
  key: F,
8749
8753
  column: _,
8750
- style: je(_.style),
8754
+ style: He(_.style),
8751
8755
  "onChange:sort": Z[1] || (Z[1] = (Y) => $.$emit("change:sort", Y))
8752
8756
  }, null, 8, ["column", "style"]))), 128))
8753
8757
  ]),
8754
8758
  Z[10] || (Z[10] = I()),
8755
- Se(uT, {
8759
+ be(uT, {
8756
8760
  offset: N(s).data.scrollTop,
8757
8761
  "window-size": N(s).data.bodyHeight,
8758
8762
  "data-size": N(s).data.dataHeight,
@@ -8826,21 +8830,21 @@ function Vc(t, e) {
8826
8830
  return { ...e, dataSource: n };
8827
8831
  }
8828
8832
  function wT(t, e) {
8829
- return A(() => {
8833
+ return k(() => {
8830
8834
  const n = N(t);
8831
8835
  return Vc(n, N(e));
8832
8836
  });
8833
8837
  }
8834
8838
  function bT(t, e) {
8835
- const n = A(() => {
8839
+ const n = k(() => {
8836
8840
  const s = N(t);
8837
8841
  return Vc(s, N(e));
8838
8842
  }), i = Xe({
8839
8843
  settings: n
8840
8844
  });
8841
- return A(() => kc(Bc, i));
8845
+ return k(() => kc(Bc, i));
8842
8846
  }
8843
- const vG = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8847
+ const _G = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8844
8848
  __proto__: null,
8845
8849
  AsyncData: yT,
8846
8850
  Component: Bc,
@@ -8888,7 +8892,7 @@ function TT(t, e) {
8888
8892
  function ET(t, e) {
8889
8893
  return t = Math.ceil(t), e = Math.floor(e), Math.floor(Math.random() * (e - t)) + t;
8890
8894
  }
8891
- function yG(t) {
8895
+ function CG(t) {
8892
8896
  let e = "";
8893
8897
  for (let n = 0; n < t; n++)
8894
8898
  e += String.fromCharCode(ET(65, 91));
@@ -8899,7 +8903,7 @@ function PT(t) {
8899
8903
  return 1 - t(1 - e);
8900
8904
  };
8901
8905
  }
8902
- function _G(t) {
8906
+ function wG(t) {
8903
8907
  return function(e) {
8904
8908
  return e < 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2;
8905
8909
  };
@@ -8916,7 +8920,7 @@ function FT(t) {
8916
8920
  a = !0;
8917
8921
  };
8918
8922
  }
8919
- function CG(t) {
8923
+ function bG(t) {
8920
8924
  const { getFraction: e, draw: n, timing: i } = t, s = performance.now();
8921
8925
  let a = !1;
8922
8926
  return requestAnimationFrame(function u(c) {
@@ -8946,7 +8950,7 @@ function DT(t, e, n = !0) {
8946
8950
  }, (/* @__PURE__ */ new Date()).getTime() > i && s();
8947
8951
  };
8948
8952
  }
8949
- function wG(t) {
8953
+ function xG(t) {
8950
8954
  return t.map((e) => ({ text: String(e), value: e }));
8951
8955
  }
8952
8956
  function Dr(t) {
@@ -8973,7 +8977,7 @@ window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").addEventL
8973
8977
  });
8974
8978
  const MT = window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light", ef = oe(MT), Yu = OT("theme");
8975
8979
  function GT(t) {
8976
- const e = A(() => Yu.value ? Yu.value : ef.value), n = (s) => {
8980
+ const e = k(() => Yu.value ? Yu.value : ef.value), n = (s) => {
8977
8981
  ef.value = s, t && t(s);
8978
8982
  };
8979
8983
  function i() {
@@ -8987,7 +8991,7 @@ function GT(t) {
8987
8991
  dc.delete(n);
8988
8992
  }), [e, i];
8989
8993
  }
8990
- const bG = /* @__PURE__ */ ae({
8994
+ const SG = /* @__PURE__ */ ae({
8991
8995
  __name: "ThemeSwitcher",
8992
8996
  setup(t) {
8993
8997
  const [e, n] = GT();
@@ -9004,7 +9008,7 @@ const bG = /* @__PURE__ */ ae({
9004
9008
  class: "pl-block-page__title"
9005
9009
  }, VT = { class: "pl-block-page__title__append" }, NT = { key: 1 }, $T = { class: "pl-block-page__body" }, ZT = {
9006
9010
  name: "PlBlockPage"
9007
- }, xG = /* @__PURE__ */ ae({
9011
+ }, kG = /* @__PURE__ */ ae({
9008
9012
  ...ZT,
9009
9013
  props: {
9010
9014
  noBodyGutters: { type: Boolean }
@@ -9031,25 +9035,25 @@ const bG = /* @__PURE__ */ ae({
9031
9035
  }
9032
9036
  }), UT = {
9033
9037
  name: "PlContainer"
9034
- }, SG = /* @__PURE__ */ ae({
9038
+ }, AG = /* @__PURE__ */ ae({
9035
9039
  ...UT,
9036
9040
  props: {
9037
9041
  width: {}
9038
9042
  },
9039
9043
  setup(t) {
9040
- const e = t, n = A(() => ({
9044
+ const e = t, n = k(() => ({
9041
9045
  width: e.width
9042
9046
  }));
9043
9047
  return (i, s) => (C(), S("div", {
9044
9048
  class: "pl-container pl-layout-component",
9045
- style: je(n.value)
9049
+ style: He(n.value)
9046
9050
  }, [
9047
9051
  Ce(i.$slots, "default")
9048
9052
  ], 4));
9049
9053
  }
9050
9054
  }), zT = {
9051
9055
  name: "PlRow"
9052
- }, kG = /* @__PURE__ */ ae({
9056
+ }, TG = /* @__PURE__ */ ae({
9053
9057
  ...zT,
9054
9058
  props: {
9055
9059
  wrap: { type: Boolean },
@@ -9075,18 +9079,18 @@ const bG = /* @__PURE__ */ ae({
9075
9079
  }
9076
9080
  }), qT = {
9077
9081
  name: "PlGrid"
9078
- }, AG = /* @__PURE__ */ ae({
9082
+ }, EG = /* @__PURE__ */ ae({
9079
9083
  ...qT,
9080
9084
  props: {
9081
9085
  columns: {}
9082
9086
  },
9083
9087
  setup(t) {
9084
- const e = t, n = A(() => ({
9088
+ const e = t, n = k(() => ({
9085
9089
  gridTemplateColumns: `repeat(${e.columns}, minmax(0, 1fr))`
9086
9090
  }));
9087
9091
  return (i, s) => (C(), S("div", {
9088
9092
  class: "pl-layout-component pl-grid",
9089
- style: je(n.value)
9093
+ style: He(n.value)
9090
9094
  }, [
9091
9095
  Ce(i.$slots, "default")
9092
9096
  ], 4));
@@ -9096,7 +9100,7 @@ const bG = /* @__PURE__ */ ae({
9096
9100
  class: "pl-alert__icon"
9097
9101
  }, YT = { class: "pl-alert__main" }, JT = { key: 0 }, XT = { class: "pl-alert__main__text" }, QT = {
9098
9102
  name: "PlAlert"
9099
- }, TG = /* @__PURE__ */ ae({
9103
+ }, PG = /* @__PURE__ */ ae({
9100
9104
  ...QT,
9101
9105
  props: {
9102
9106
  modelValue: { type: Boolean, default: !0 },
@@ -9119,7 +9123,7 @@ const bG = /* @__PURE__ */ ae({
9119
9123
  return (n, i) => n.modelValue ? (C(), S("div", {
9120
9124
  key: 0,
9121
9125
  class: ye(["pl-alert", [{ monospace: n.monospace, whiteSpacePre: n.whiteSpacePre }, n.type ? `pl-alert__${n.type}` : ""]]),
9122
- style: je({ maxHeight: n.maxHeight })
9126
+ style: He({ maxHeight: n.maxHeight })
9123
9127
  }, [
9124
9128
  n.icon && n.type ? (C(), S("div", KT, [
9125
9129
  O("div", {
@@ -9167,13 +9171,13 @@ const bG = /* @__PURE__ */ ae({
9167
9171
  useCheckbox: { type: Boolean, default: !1 }
9168
9172
  },
9169
9173
  setup(t) {
9170
- const e = t, n = A(() => {
9174
+ const e = t, n = k(() => {
9171
9175
  const a = [];
9172
9176
  return e.size === "small" && a.push("dropdown-list-item__small"), e.isSelected && a.push("dropdown-list-item__selected"), e.isHovered && a.push("hovered-item"), a.join(" ");
9173
- }), i = A(() => {
9177
+ }), i = k(() => {
9174
9178
  const a = ["dropdown-list-item__checkbox", "flex-self-start"];
9175
9179
  return e.isSelected && a.push("checked"), a.join(" ");
9176
- }), s = A(() => e.isSelected ? tE : eE);
9180
+ }), s = k(() => e.isSelected ? tE : eE);
9177
9181
  return (a, u) => (C(), S("div", {
9178
9182
  class: ye([n.value, "dropdown-list-item"])
9179
9183
  }, [
@@ -9226,9 +9230,9 @@ const aE = /* @__PURE__ */ ae({
9226
9230
  size: {}
9227
9231
  },
9228
9232
  setup(t) {
9229
- const e = t, n = A(() => e.size === "large" ? "--mask-size: 24px" : ""), i = A(() => `mask-16 mask-${e.name}`);
9233
+ const e = t, n = k(() => e.size === "large" ? "--mask-size: 24px" : ""), i = k(() => `mask-16 mask-${e.name}`);
9230
9234
  return (s, a) => (C(), S("i", {
9231
- style: je(n.value),
9235
+ style: He(n.value),
9232
9236
  class: ye([i.value, s.$style.icon])
9233
9237
  }, null, 6));
9234
9238
  }
@@ -9236,7 +9240,7 @@ const aE = /* @__PURE__ */ ae({
9236
9240
  icon: lE
9237
9241
  }, cE = {
9238
9242
  $style: uE
9239
- }, Ir = /* @__PURE__ */ Rn(aE, [["__cssModules", cE]]), dE = ["onKeyup"], EG = /* @__PURE__ */ ae({
9243
+ }, Ir = /* @__PURE__ */ Rn(aE, [["__cssModules", cE]]), dE = ["onKeyup"], FG = /* @__PURE__ */ ae({
9240
9244
  __name: "PlBtnSplit",
9241
9245
  props: /* @__PURE__ */ Ai({
9242
9246
  options: {},
@@ -9271,14 +9275,14 @@ const aE = /* @__PURE__ */ ae({
9271
9275
  },
9272
9276
  { immediate: !0 }
9273
9277
  );
9274
- const T = A(() => f.open ? "mask-24 mask-chevron-up" : "mask-24 mask-chevron-down"), k = A(() => (i.options ?? []).findIndex((U) => fo(U.value, a.value))), R = A(
9278
+ const T = k(() => f.open ? "mask-24 mask-chevron-up" : "mask-24 mask-chevron-down"), A = k(() => (i.options ?? []).findIndex((U) => fo(U.value, a.value))), R = k(
9275
9279
  () => Dr(i.options ?? []).map((U, ee) => ({
9276
9280
  ...U,
9277
9281
  index: ee,
9278
- isSelected: ee === k.value,
9282
+ isSelected: ee === A.value,
9279
9283
  isActive: ee === f.activeIndex
9280
9284
  }))
9281
- ), $ = A(() => i.loading || i.options === void 0), Z = A(() => {
9285
+ ), $ = k(() => i.loading || i.options === void 0), Z = k(() => {
9282
9286
  var U;
9283
9287
  return ((U = R.value.find((ee) => fo(ee.value, a.value))) == null ? void 0 : U.label) ?? (i.options === void 0 ? "..." : "");
9284
9288
  });
@@ -9360,7 +9364,7 @@ const aE = /* @__PURE__ */ ae({
9360
9364
  ref_key: "list",
9361
9365
  ref: c,
9362
9366
  class: "pl-dropdown__options",
9363
- style: je(m),
9367
+ style: He(m),
9364
9368
  tabindex: "-1"
9365
9369
  }, [
9366
9370
  (C(!0), S(Ye, null, dt(R.value, (q, B) => (C(), fe(Oo, {
@@ -9404,7 +9408,7 @@ const hE = { key: 0 }, pE = {
9404
9408
  justifyCenter: { type: Boolean }
9405
9409
  },
9406
9410
  setup(t) {
9407
- const e = t, n = oe(), i = A(() => e.small || e.size === "small"), s = A(() => e.large || e.size === "large");
9411
+ const e = t, n = oe(), i = k(() => e.small || e.size === "small"), s = k(() => e.large || e.size === "large");
9408
9412
  return _g(n), (a, u) => (C(), S("button", Gt({
9409
9413
  ref_key: "btn",
9410
9414
  ref: n,
@@ -9449,7 +9453,7 @@ const hE = { key: 0 }, pE = {
9449
9453
  }
9450
9454
  }), gE = {
9451
9455
  name: "PlBtnAccent"
9452
- }, PG = /* @__PURE__ */ ae({
9456
+ }, RG = /* @__PURE__ */ ae({
9453
9457
  ...gE,
9454
9458
  props: {
9455
9459
  loading: { type: Boolean },
@@ -9470,7 +9474,7 @@ const hE = { key: 0 }, pE = {
9470
9474
  }
9471
9475
  }), mE = {
9472
9476
  name: "PlBtnDanger"
9473
- }, FG = /* @__PURE__ */ ae({
9477
+ }, DG = /* @__PURE__ */ ae({
9474
9478
  ...mE,
9475
9479
  props: {
9476
9480
  loading: { type: Boolean },
@@ -9523,7 +9527,7 @@ const hE = { key: 0 }, pE = {
9523
9527
  justifyCenter: { type: Boolean, default: !1 }
9524
9528
  },
9525
9529
  setup(t) {
9526
- const e = t, n = A(() => e.size === "small"), i = A(() => e.size === "large"), s = oe(), a = Wt();
9530
+ const e = t, n = k(() => e.size === "small"), i = k(() => e.size === "large"), s = oe(), a = Wt();
9527
9531
  return _g(s), (u, c) => (C(), S("button", Gt({
9528
9532
  ref_key: "btnRef",
9529
9533
  ref: s,
@@ -9547,7 +9551,7 @@ const hE = { key: 0 }, pE = {
9547
9551
  Ce(u.$slots, "append")
9548
9552
  ], 16));
9549
9553
  }
9550
- }), RG = /* @__PURE__ */ ae({
9554
+ }), IG = /* @__PURE__ */ ae({
9551
9555
  __name: "PlBtnLink",
9552
9556
  props: {
9553
9557
  loading: { type: Boolean },
@@ -9564,7 +9568,7 @@ const hE = { key: 0 }, pE = {
9564
9568
  onMouseover: s[0] || (s[0] = (a) => n.value = !0),
9565
9569
  onMouseleave: s[1] || (s[1] = (a) => n.value = !1)
9566
9570
  }, [
9567
- Se(wg, Gt({
9571
+ be(wg, Gt({
9568
9572
  round: "",
9569
9573
  hover: n.value
9570
9574
  }, e), null, 16, ["hover"]),
@@ -9577,7 +9581,7 @@ function CE(t, e) {
9577
9581
  const n = oe();
9578
9582
  return Mo(t, (i) => {
9579
9583
  n.value = i;
9580
- }), A(() => {
9584
+ }), k(() => {
9581
9585
  const i = N(n), s = N(e), a = s.position ?? "top", u = s.gap ?? 8;
9582
9586
  if (!i)
9583
9587
  return "";
@@ -9670,8 +9674,8 @@ const AE = /* @__PURE__ */ Rn(xE, [["render", kE]]), Ju = /* @__PURE__ */ new Ma
9670
9674
  $ && p();
9671
9675
  }
9672
9676
  );
9673
- const T = oe(), k = oe(), R = CE(T, hl(s));
9674
- return Nc([T, k], () => p()), Fi(() => {
9677
+ const T = oe(), A = oe(), R = CE(T, hl(s));
9678
+ return Nc([T, A], () => p()), Fi(() => {
9675
9679
  Ju.delete(i);
9676
9680
  }), ($, Z) => (C(), fe(Ac($.element), Gt($.$attrs, {
9677
9681
  ref_key: "rootRef",
@@ -9687,16 +9691,16 @@ const AE = /* @__PURE__ */ Rn(xE, [["render", kE]]), Ju = /* @__PURE__ */ new Ma
9687
9691
  key: 0,
9688
9692
  to: "body"
9689
9693
  }, [
9690
- Se(Do, { name: "tooltip-transition" }, {
9694
+ be(Do, { name: "tooltip-transition" }, {
9691
9695
  default: Te(() => [
9692
9696
  a.tooltipOpen ? (C(), S("div", {
9693
9697
  key: 0,
9694
9698
  class: "pl-tooltip__container",
9695
- style: je(N(R))
9699
+ style: He(N(R))
9696
9700
  }, [
9697
9701
  O("div", {
9698
9702
  ref_key: "tooltip",
9699
- ref: k,
9703
+ ref: A,
9700
9704
  class: ye(["pl-tooltip", $.position]),
9701
9705
  onMouseover: f,
9702
9706
  onMouseleave: m
@@ -9705,7 +9709,7 @@ const AE = /* @__PURE__ */ Rn(xE, [["render", kE]]), Ju = /* @__PURE__ */ new Ma
9705
9709
  Ce($.$slots, "tooltip")
9706
9710
  ]),
9707
9711
  Z[0] || (Z[0] = I()),
9708
- Se(AE)
9712
+ be(AE)
9709
9713
  ], 34)
9710
9714
  ], 4)) : j("", !0)
9711
9715
  ]),
@@ -9732,7 +9736,7 @@ const RE = /* @__PURE__ */ Rn(EE, [["render", FE]]), DE = { key: 0 }, IE = ["tab
9732
9736
  class: "pl-btn-group__error"
9733
9737
  }, ME = {
9734
9738
  name: "PlBtnGroup"
9735
- }, DG = /* @__PURE__ */ ae({
9739
+ }, LG = /* @__PURE__ */ ae({
9736
9740
  ...ME,
9737
9741
  props: {
9738
9742
  modelValue: {},
@@ -9745,7 +9749,7 @@ const RE = /* @__PURE__ */ Rn(EE, [["render", FE]]), DE = { key: 0 }, IE = ["tab
9745
9749
  },
9746
9750
  emits: ["update:modelValue"],
9747
9751
  setup(t, { emit: e }) {
9748
- const n = Wt(), i = e, s = (c) => i("update:modelValue", c), a = t, u = A(
9752
+ const n = Wt(), i = e, s = (c) => i("update:modelValue", c), a = t, u = k(
9749
9753
  () => a.options.map((c) => ({
9750
9754
  label: "label" in c ? c.label : c.text,
9751
9755
  value: c.value
@@ -9769,7 +9773,7 @@ const RE = /* @__PURE__ */ Rn(EE, [["render", FE]]), DE = { key: 0 }, IE = ["tab
9769
9773
  })) : j("", !0)
9770
9774
  ])) : j("", !0),
9771
9775
  d[1] || (d[1] = I()),
9772
- Se(RE, { class: "pl-btn-group__container" }, {
9776
+ be(RE, { class: "pl-btn-group__container" }, {
9773
9777
  default: Te(() => [
9774
9778
  (C(!0), S(Ye, null, dt(u.value, (p, f) => (C(), S("div", {
9775
9779
  key: f,
@@ -9835,7 +9839,7 @@ function $E(t, e) {
9835
9839
  };
9836
9840
  }
9837
9841
  function Ag(t, e) {
9838
- return A(() => $E(t.value, e));
9842
+ return k(() => $E(t.value, e));
9839
9843
  }
9840
9844
  const ZE = /* @__PURE__ */ ae({
9841
9845
  __name: "PlIcon16",
@@ -9844,9 +9848,9 @@ const ZE = /* @__PURE__ */ ae({
9844
9848
  size: {}
9845
9849
  },
9846
9850
  setup(t) {
9847
- const e = t, n = A(() => e.size === "large" ? "--icon-size: 24px" : ""), i = A(() => `icon-16 icon-${e.name}`);
9851
+ const e = t, n = k(() => e.size === "large" ? "--icon-size: 24px" : ""), i = k(() => `icon-16 icon-${e.name}`);
9848
9852
  return (s, a) => (C(), S("i", {
9849
- style: je(n.value),
9853
+ style: He(n.value),
9850
9854
  class: ye([i.value, s.$style.icon])
9851
9855
  }, null, 6));
9852
9856
  }
@@ -9861,7 +9865,7 @@ const ZE = /* @__PURE__ */ ae({
9861
9865
  size: {}
9862
9866
  },
9863
9867
  setup(t) {
9864
- const e = t, n = A(() => `icon-24 icon-${e.name}`);
9868
+ const e = t, n = k(() => `icon-24 icon-${e.name}`);
9865
9869
  return (i, s) => (C(), S("i", {
9866
9870
  class: ye([n.value, i.$style.icon])
9867
9871
  }, null, 2));
@@ -9912,7 +9916,7 @@ const ZE = /* @__PURE__ */ ae({
9912
9916
  setup(t) {
9913
9917
  const e = Wt(), n = Mr(t, "modelValue"), i = t, s = oe(void 0), a = oe(), u = oe(!1), c = Xe({
9914
9918
  cached: void 0
9915
- }), d = A({
9919
+ }), d = k({
9916
9920
  get() {
9917
9921
  return c.cached ? c.cached.value : n.value === void 0 || n.value === null ? "" : String(n.value);
9918
9922
  },
@@ -9929,12 +9933,12 @@ const ZE = /* @__PURE__ */ ae({
9929
9933
  else
9930
9934
  n.value = ne;
9931
9935
  }
9932
- }), p = A(() => i.type && i.type === "password" ? u.value ? "text" : i.type : "text"), f = A(() => u.value ? "view-show" : "view-hide"), m = () => {
9936
+ }), p = k(() => i.type && i.type === "password" ? u.value ? "text" : i.type : "text"), f = k(() => u.value ? "view-show" : "view-hide"), m = () => {
9933
9937
  i.clearable && (c.cached = void 0, n.value = i.clearable === !0 ? "" : i.clearable());
9934
- }, T = Ag(d, i.rules || []), k = A(() => i.clearable ? i.clearable === !0 ? n.value === "" : n.value === i.clearable() : n.value === ""), R = A(() => !k.value), $ = A(() => {
9938
+ }, T = Ag(d, i.rules || []), A = k(() => i.clearable ? i.clearable === !0 ? n.value === "" : n.value === i.clearable() : n.value === ""), R = k(() => !A.value), $ = k(() => {
9935
9939
  const ne = [];
9936
9940
  return i.error && ne.push(i.error), c.cached && ne.push(c.cached.error), T.value.isValid || ne.push(...T.value.errors), ne;
9937
- }), Z = A(() => $.value.length > 0), _ = A(() => i.clearable && R.value && i.type !== "password"), F = () => u.value = !u.value, Y = () => {
9941
+ }), Z = k(() => $.value.length > 0), _ = k(() => i.clearable && R.value && i.type !== "password"), F = () => u.value = !u.value, Y = () => {
9938
9942
  c.cached = void 0;
9939
9943
  };
9940
9944
  return dr(s), (ne, U) => (C(), S("div", JE, [
@@ -9998,7 +10002,7 @@ const ZE = /* @__PURE__ */ ae({
9998
10002
  Ce(ne.$slots, "append")
9999
10003
  ]),
10000
10004
  U[8] || (U[8] = I()),
10001
- Se(cr, { class: "pl-text-field__contour" })
10005
+ be(cr, { class: "pl-text-field__contour" })
10002
10006
  ], 2),
10003
10007
  U[9] || (U[9] = I()),
10004
10008
  Z.value ? (C(), S("div", iP, se($.value.join(" ")), 1)) : ne.helper ? (C(), S("div", rP, se(ne.helper), 1)) : j("", !0)
@@ -10018,7 +10022,7 @@ const ZE = /* @__PURE__ */ ae({
10018
10022
  class: "ui-text-area__helper"
10019
10023
  }, pP = {
10020
10024
  name: "PlTextArea"
10021
- }, IG = /* @__PURE__ */ ae({
10025
+ }, OG = /* @__PURE__ */ ae({
10022
10026
  ...pP,
10023
10027
  props: {
10024
10028
  modelValue: {},
@@ -10036,36 +10040,36 @@ const ZE = /* @__PURE__ */ ae({
10036
10040
  },
10037
10041
  emits: ["update:modelValue"],
10038
10042
  setup(t, { emit: e }) {
10039
- const n = Wt(), i = e, s = t, a = oe(), u = oe(), c = A({
10043
+ const n = Wt(), i = e, s = t, a = oe(), u = oe(), c = k({
10040
10044
  get() {
10041
10045
  return s.modelValue ?? "";
10042
10046
  },
10043
- set(k) {
10044
- i("update:modelValue", k);
10047
+ set(A) {
10048
+ i("update:modelValue", A);
10045
10049
  }
10046
- }), d = A(() => !!s.modelValue), p = Ag(c, s.rules || []);
10050
+ }), d = k(() => !!s.modelValue), p = Ag(c, s.rules || []);
10047
10051
  dr(a);
10048
- const f = A(() => {
10049
- const k = [];
10050
- return s.error && k.push(s.error), k.push(...p.value.errors), k;
10051
- }), m = A(() => f.value.length > 0), T = () => {
10052
+ const f = k(() => {
10053
+ const A = [];
10054
+ return s.error && A.push(s.error), A.push(...p.value.errors), A;
10055
+ }), m = k(() => f.value.length > 0), T = () => {
10052
10056
  if (!s.autogrow)
10053
10057
  return;
10054
- const k = u.value;
10055
- k && (k.style.height = "auto", k.style.height = `${k.scrollHeight}px`);
10058
+ const A = u.value;
10059
+ A && (A.style.height = "auto", A.style.height = `${A.scrollHeight}px`);
10056
10060
  };
10057
10061
  return zt(() => {
10058
10062
  T();
10059
- }), (k, R) => (C(), S("div", oP, [
10063
+ }), (A, R) => (C(), S("div", oP, [
10060
10064
  O("div", {
10061
10065
  ref_key: "root",
10062
10066
  ref: a,
10063
- class: ye(["ui-text-area", { error: m.value, disabled: k.disabled, dashed: k.dashed, nonEmpty: d.value }])
10067
+ class: ye(["ui-text-area", { error: m.value, disabled: A.disabled, dashed: A.dashed, nonEmpty: d.value }])
10064
10068
  }, [
10065
- k.label ? (C(), S("label", aP, [
10066
- k.required ? (C(), S("i", lP)) : j("", !0),
10069
+ A.label ? (C(), S("label", aP, [
10070
+ A.required ? (C(), S("i", lP)) : j("", !0),
10067
10071
  R[1] || (R[1] = I()),
10068
- O("span", null, se(k.label), 1),
10072
+ O("span", null, se(A.label), 1),
10069
10073
  R[2] || (R[2] = I()),
10070
10074
  N(n).tooltip ? (C(), fe(N(ln), {
10071
10075
  key: 1,
@@ -10073,7 +10077,7 @@ const ZE = /* @__PURE__ */ ae({
10073
10077
  position: "top"
10074
10078
  }, {
10075
10079
  tooltip: Te(() => [
10076
- Ce(k.$slots, "tooltip")
10080
+ Ce(A.$slots, "tooltip")
10077
10081
  ]),
10078
10082
  _: 3
10079
10083
  })) : j("", !0)
@@ -10083,10 +10087,10 @@ const ZE = /* @__PURE__ */ ae({
10083
10087
  ref_key: "input",
10084
10088
  ref: u,
10085
10089
  "onUpdate:modelValue": R[0] || (R[0] = ($) => c.value = $),
10086
- readonly: k.readonly,
10087
- rows: k.rows,
10088
- disabled: k.disabled,
10089
- placeholder: k.placeholder ?? "...",
10090
+ readonly: A.readonly,
10091
+ rows: A.rows,
10092
+ disabled: A.disabled,
10093
+ placeholder: A.placeholder ?? "...",
10090
10094
  spellcheck: "false",
10091
10095
  onInput: T
10092
10096
  }, null, 40, uP), [
@@ -10094,13 +10098,13 @@ const ZE = /* @__PURE__ */ ae({
10094
10098
  ]),
10095
10099
  R[4] || (R[4] = I()),
10096
10100
  O("div", cP, [
10097
- Ce(k.$slots, "append")
10101
+ Ce(A.$slots, "append")
10098
10102
  ]),
10099
10103
  R[5] || (R[5] = I()),
10100
- Se(cr, { class: "ui-text-area__contour" })
10104
+ be(cr, { class: "ui-text-area__contour" })
10101
10105
  ], 2),
10102
10106
  R[6] || (R[6] = I()),
10103
- m.value ? (C(), S("div", dP, se(f.value.join(" ")), 1)) : k.helper ? (C(), S("div", hP, se(k.helper), 1)) : j("", !0)
10107
+ m.value ? (C(), S("div", dP, se(f.value.join(" ")), 1)) : A.helper ? (C(), S("div", hP, se(A.helper), 1)) : j("", !0)
10104
10108
  ]));
10105
10109
  }
10106
10110
  });
@@ -10131,7 +10135,7 @@ function Tg(t, e, n, i) {
10131
10135
  t.removeEventListener(e, n);
10132
10136
  };
10133
10137
  }
10134
- function LG(t, e) {
10138
+ function MG(t, e) {
10135
10139
  const n = e.getBoundingClientRect();
10136
10140
  return t.x < n.x || t.x > n.x + n.width || t.y < n.y || t.y > n.y + n.height;
10137
10141
  }
@@ -10150,7 +10154,7 @@ const Eg = /* @__PURE__ */ ae({
10150
10154
  Nb((f) => ({
10151
10155
  "8d68520c": u.value
10152
10156
  }));
10153
- const e = oe(!1), n = oe(), i = oe(!1), s = A(() => i.value && e.value ? "ui-lt-animate" : ""), a = RT((f) => i.value = f, 500), u = A(() => {
10157
+ const e = oe(!1), n = oe(), i = oe(!1), s = k(() => i.value && e.value ? "ui-lt-animate" : ""), a = RT((f) => i.value = f, 500), u = k(() => {
10154
10158
  var f;
10155
10159
  return n.value ? `${((f = n.value) == null ? void 0 : f.innerHTML.length) * 0.4}s` : "5s";
10156
10160
  });
@@ -10186,7 +10190,7 @@ const Eg = /* @__PURE__ */ ae({
10186
10190
  size: {}
10187
10191
  },
10188
10192
  setup(t) {
10189
- const e = t, n = A(() => `mask-24 mask-${e.name}`);
10193
+ const e = t, n = k(() => `mask-24 mask-${e.name}`);
10190
10194
  return (i, s) => (C(), S("i", {
10191
10195
  class: ye([n.value, i.$style.icon])
10192
10196
  }, null, 2));
@@ -10239,30 +10243,30 @@ const Eg = /* @__PURE__ */ ae({
10239
10243
  }), p = () => Go(
10240
10244
  Y.value.findIndex((b) => an(b.value, i.modelValue)),
10241
10245
  (b) => b < 0 ? 0 : b
10242
- ), f = () => d.activeIndex = p(), m = A(() => i.options === void 0), T = A(() => m.value ? !0 : i.disabled), k = A(() => (i.options ?? []).findIndex((b) => an(b.value, i.modelValue))), R = A(() => {
10246
+ ), f = () => d.activeIndex = p(), m = k(() => i.options === void 0), T = k(() => m.value ? !0 : i.disabled), A = k(() => (i.options ?? []).findIndex((b) => an(b.value, i.modelValue))), R = k(() => {
10243
10247
  if (!m.value) {
10244
10248
  if (i.error)
10245
10249
  return i.error;
10246
- if (i.modelValue !== void 0 && k.value === -1)
10250
+ if (i.modelValue !== void 0 && A.value === -1)
10247
10251
  return "The selected value is not one of the options";
10248
10252
  }
10249
- }), $ = A(
10253
+ }), $ = k(
10250
10254
  () => Dr(i.options ?? []).map((b, M) => ({
10251
10255
  ...b,
10252
10256
  index: M,
10253
- isSelected: M === k.value,
10257
+ isSelected: M === A.value,
10254
10258
  isActive: M === d.activeIndex
10255
10259
  }))
10256
- ), Z = A(() => {
10260
+ ), Z = k(() => {
10257
10261
  const b = N($).find((M) => an(M.value, i.modelValue));
10258
10262
  return (b == null ? void 0 : b.label) || i.modelValue;
10259
- }), _ = A(() => !d.open && i.modelValue ? "" : i.modelValue ? String(Z.value) : i.placeholder), F = A(() => i.modelValue !== void 0 && i.modelValue !== null), Y = A(() => {
10263
+ }), _ = k(() => !d.open && i.modelValue ? "" : i.modelValue ? String(Z.value) : i.placeholder), F = k(() => i.modelValue !== void 0 && i.modelValue !== null), Y = k(() => {
10260
10264
  const b = $.value;
10261
10265
  return d.search ? b.filter((M) => {
10262
10266
  const W = d.search.toLowerCase();
10263
10267
  return M.label.toLowerCase().includes(W) || M.description && M.description.toLowerCase().includes(W) ? !0 : typeof M.value == "string" ? M.value.toLowerCase().includes(W) : M.value === d.search;
10264
10268
  }) : b;
10265
- }), ne = A(() => T.value ? void 0 : "0"), U = (b) => {
10269
+ }), ne = k(() => T.value ? void 0 : "0"), U = (b) => {
10266
10270
  var M;
10267
10271
  n("update:modelValue", b), d.search = "", d.open = !1, (M = a == null ? void 0 : a.value) == null || M.focus();
10268
10272
  }, ee = () => n("update:modelValue", void 0), q = () => {
@@ -10348,7 +10352,7 @@ const Eg = /* @__PURE__ */ ae({
10348
10352
  key: 0,
10349
10353
  onClick: q
10350
10354
  }, [
10351
- Se(Eg, { class: "input-value" }, {
10355
+ be(Eg, { class: "input-value" }, {
10352
10356
  default: Te(() => [
10353
10357
  I(se(Z.value), 1)
10354
10358
  ]),
@@ -10411,7 +10415,7 @@ const Eg = /* @__PURE__ */ ae({
10411
10415
  ref_key: "list",
10412
10416
  ref: u,
10413
10417
  class: "pl-dropdown__options",
10414
- style: je(P),
10418
+ style: He(P),
10415
10419
  tabindex: "-1"
10416
10420
  }, [
10417
10421
  (C(!0), S(Ye, null, dt(Y.value, (W, ce) => (C(), fe(Oo, {
@@ -10427,7 +10431,7 @@ const Eg = /* @__PURE__ */ ae({
10427
10431
  ], 4)
10428
10432
  ])) : j("", !0),
10429
10433
  M[11] || (M[11] = I()),
10430
- Se(cr, { class: "pl-dropdown__contour" })
10434
+ be(cr, { class: "pl-dropdown__contour" })
10431
10435
  ])
10432
10436
  ], 42, wP),
10433
10437
  M[12] || (M[12] = I()),
@@ -10436,7 +10440,7 @@ const Eg = /* @__PURE__ */ ae({
10436
10440
  }
10437
10441
  }), IP = {
10438
10442
  name: "PlDropdownRef"
10439
- }, OG = /* @__PURE__ */ ae({
10443
+ }, GG = /* @__PURE__ */ ae({
10440
10444
  ...IP,
10441
10445
  props: {
10442
10446
  modelValue: {},
@@ -10453,7 +10457,7 @@ const Eg = /* @__PURE__ */ ae({
10453
10457
  },
10454
10458
  emits: ["update:modelValue"],
10455
10459
  setup(t) {
10456
- const e = t, n = A(
10460
+ const e = t, n = k(
10457
10461
  () => {
10458
10462
  var s;
10459
10463
  return (s = e.options) == null ? void 0 : s.map((a) => ({
@@ -10461,7 +10465,7 @@ const Eg = /* @__PURE__ */ ae({
10461
10465
  value: a.ref
10462
10466
  }));
10463
10467
  }
10464
- ), i = A(() => e.disabled ? "icon-link-disabled" : "icon-link");
10468
+ ), i = k(() => e.disabled ? "icon-link-disabled" : "icon-link");
10465
10469
  return (s, a) => (C(), fe(N(tl), Gt(e, {
10466
10470
  options: n.value,
10467
10471
  "loading-options-helper": s.loadingOptionsHelper,
@@ -10471,7 +10475,7 @@ const Eg = /* @__PURE__ */ ae({
10471
10475
  }
10472
10476
  });
10473
10477
  function LP(t, e) {
10474
- return A(() => {
10478
+ return k(() => {
10475
10479
  const n = Dr(t.value);
10476
10480
  return e.value ? n.filter((i) => i.label.toLowerCase().includes(e.value.toLowerCase())) : n;
10477
10481
  });
@@ -10488,10 +10492,10 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
10488
10492
  },
10489
10493
  emits: ["input", "update:modelValue"],
10490
10494
  setup(t, { emit: e }) {
10491
- const n = t, i = e, s = A(() => {
10495
+ const n = t, i = e, s = k(() => {
10492
10496
  var c;
10493
10497
  return n.placeholder ? n.placeholder : (c = n.modelValue || n.value) == null ? void 0 : c.replace('"', "");
10494
- }), a = A(() => {
10498
+ }), a = k(() => {
10495
10499
  const c = {};
10496
10500
  return n.width && (c.width = n.width), n.maxWidth && (c.maxWidth = n.maxWidth), c;
10497
10501
  });
@@ -10501,7 +10505,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
10501
10505
  }
10502
10506
  return (c, d) => (C(), S("div", OP, [
10503
10507
  O("span", {
10504
- style: je(a.value),
10508
+ style: He(a.value),
10505
10509
  class: "resizable-input__size-span"
10506
10510
  }, se(s.value), 5),
10507
10511
  d[0] || (d[0] = I()),
@@ -10522,7 +10526,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
10522
10526
  isHovered: { type: Boolean, default: !1 }
10523
10527
  },
10524
10528
  setup(t) {
10525
- const e = t, n = A(() => e.option.label), i = A(() => {
10529
+ const e = t, n = k(() => e.option.label), i = k(() => {
10526
10530
  const s = [];
10527
10531
  return e.isSelected && s.push("dropdown-tab-item__selected"), e.isHovered && s.push("hovered-item"), s.join(" ");
10528
10532
  });
@@ -10556,10 +10560,10 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
10556
10560
  isOpen: !1,
10557
10561
  activeOption: -1,
10558
10562
  optionsHeight: 0
10559
- }), a = oe(), u = oe(), c = A(() => {
10563
+ }), a = oe(), u = oe(), c = k(() => {
10560
10564
  const V = [];
10561
10565
  return s.isOpen && V.push("open"), i.disabled && V.push("disabled"), V.join(" ");
10562
- }), d = oe(""), p = LP(hl(i, "options"), d), f = A(() => !!(i.clearable && s.isOpen && i.modelValue && m.value)), m = A(() => {
10566
+ }), d = oe(""), p = LP(hl(i, "options"), d), f = k(() => !!(i.clearable && s.isOpen && i.modelValue && m.value)), m = k(() => {
10563
10567
  if (i.modelValue) {
10564
10568
  const V = R();
10565
10569
  if (V !== -1) {
@@ -10568,7 +10572,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
10568
10572
  }
10569
10573
  }
10570
10574
  return "";
10571
- }), T = oe(m.value), k = A(() => s.isOpen && d.value && d.value.length >= m.value.length - 1 ? d.value : m.value ?? "...");
10575
+ }), T = oe(m.value), A = k(() => s.isOpen && d.value && d.value.length >= m.value.length - 1 ? d.value : m.value ?? "...");
10572
10576
  Nc(a, () => {
10573
10577
  i.mode === "list" && (s.isOpen = !1);
10574
10578
  }), Le(
@@ -10663,10 +10667,10 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
10663
10667
  }, [
10664
10668
  O("div", NP, se(i == null ? void 0 : i.prefix), 1),
10665
10669
  K[6] || (K[6] = I()),
10666
- Se(GP, {
10670
+ be(GP, {
10667
10671
  modelValue: T.value,
10668
10672
  "onUpdate:modelValue": K[0] || (K[0] = (X) => T.value = X),
10669
- placeholder: k.value,
10673
+ placeholder: A.value,
10670
10674
  disabled: i.disabled,
10671
10675
  class: "pl-line-dropdown__input"
10672
10676
  }, null, 8, ["modelValue", "placeholder", "disabled"]),
@@ -10692,7 +10696,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
10692
10696
  key: 0,
10693
10697
  ref_key: "list",
10694
10698
  ref: u,
10695
- style: je(D),
10699
+ style: He(D),
10696
10700
  tabindex: "-1",
10697
10701
  class: "pl-line-dropdown__items",
10698
10702
  onFocusout: U
@@ -10705,7 +10709,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
10705
10709
  isHovered: s.activeOption == P,
10706
10710
  onClick: Ke((b) => Y(X), ["stop"])
10707
10711
  }, () => [
10708
- Se(Oo, {
10712
+ be(Oo, {
10709
10713
  option: X,
10710
10714
  "text-item": "text",
10711
10715
  "is-selected": ne(X),
@@ -10722,7 +10726,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
10722
10726
  key: 1,
10723
10727
  ref_key: "list",
10724
10728
  ref: u,
10725
- style: je(D),
10729
+ style: He(D),
10726
10730
  tabindex: "-1",
10727
10731
  class: "pl-line-dropdown__items-tabs",
10728
10732
  onFocusout: U
@@ -10734,7 +10738,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
10734
10738
  isHovered: s.activeOption == P,
10735
10739
  onClick: Ke((b) => Y(X), ["stop"])
10736
10740
  }, () => [
10737
- Se(VP, {
10741
+ be(VP, {
10738
10742
  option: X,
10739
10743
  "is-selected": ne(X),
10740
10744
  "is-hovered": s.activeOption == P,
@@ -10766,7 +10770,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
10766
10770
  class: "ui-dropdown__helper"
10767
10771
  }, rF = {
10768
10772
  name: "PlDropdown"
10769
- }, MG = /* @__PURE__ */ ae({
10773
+ }, BG = /* @__PURE__ */ ae({
10770
10774
  ...rF,
10771
10775
  props: {
10772
10776
  modelValue: {},
@@ -10792,30 +10796,30 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
10792
10796
  }), p = () => Go(
10793
10797
  Y.value.findIndex((P) => an(P.value, i.modelValue)),
10794
10798
  (P) => P < 0 ? 0 : P
10795
- ), f = () => d.activeIndex = p(), m = A(() => i.options === void 0), T = A(() => m.value ? !0 : i.disabled), k = A(() => (i.options ?? []).findIndex((P) => an(P.value, i.modelValue))), R = A(() => {
10799
+ ), f = () => d.activeIndex = p(), m = k(() => i.options === void 0), T = k(() => m.value ? !0 : i.disabled), A = k(() => (i.options ?? []).findIndex((P) => an(P.value, i.modelValue))), R = k(() => {
10796
10800
  if (!m.value) {
10797
10801
  if (i.error)
10798
10802
  return i.error;
10799
- if (i.modelValue !== void 0 && k.value === -1)
10803
+ if (i.modelValue !== void 0 && A.value === -1)
10800
10804
  return "The selected value is not one of the options";
10801
10805
  }
10802
- }), $ = A(
10806
+ }), $ = k(
10803
10807
  () => Dr(i.options ?? []).map((P, b) => ({
10804
10808
  ...P,
10805
10809
  index: b,
10806
- isSelected: b === k.value,
10810
+ isSelected: b === A.value,
10807
10811
  isActive: b === d.activeIndex
10808
10812
  }))
10809
- ), Z = A(() => {
10813
+ ), Z = k(() => {
10810
10814
  const P = N($).find((b) => an(b.value, i.modelValue));
10811
10815
  return (P == null ? void 0 : P.label) || i.modelValue;
10812
- }), _ = A(() => !d.open && i.modelValue ? "" : i.modelValue ? String(Z.value) : i.placeholder), F = A(() => i.modelValue !== void 0 && i.modelValue !== null), Y = A(() => {
10816
+ }), _ = k(() => !d.open && i.modelValue ? "" : i.modelValue ? String(Z.value) : i.placeholder), F = k(() => i.modelValue !== void 0 && i.modelValue !== null), Y = k(() => {
10813
10817
  const P = $.value;
10814
10818
  return d.search ? P.filter((b) => {
10815
10819
  const M = d.search.toLowerCase();
10816
10820
  return b.label.toLowerCase().includes(M) || b.description && b.description.toLowerCase().includes(M) ? !0 : typeof b.value == "string" ? b.value.toLowerCase().includes(M) : b.value === d.search;
10817
10821
  }) : P;
10818
- }), ne = A(() => T.value ? void 0 : "0"), U = (P) => {
10822
+ }), ne = k(() => T.value ? void 0 : "0"), U = (P) => {
10819
10823
  var b;
10820
10824
  n("update:modelValue", P), d.search = "", d.open = !1, (b = a == null ? void 0 : a.value) == null || b.focus();
10821
10825
  }, ee = () => n("update:modelValue", void 0), q = () => {
@@ -10886,7 +10890,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
10886
10890
  key: 0,
10887
10891
  onClick: q
10888
10892
  }, [
10889
- Se(Eg, { class: "input-value" }, {
10893
+ be(Eg, { class: "input-value" }, {
10890
10894
  default: Te(() => [
10891
10895
  I(se(Z.value), 1)
10892
10896
  ]),
@@ -10959,7 +10963,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
10959
10963
  Y.value.length ? j("", !0) : (C(), S("div", eF, "Nothing found"))
10960
10964
  ], 512)) : j("", !0),
10961
10965
  b[11] || (b[11] = I()),
10962
- Se(cr, { class: "ui-dropdown__contour" })
10966
+ be(cr, { class: "ui-dropdown__contour" })
10963
10967
  ])
10964
10968
  ], 42, jP),
10965
10969
  b[12] || (b[12] = I()),
@@ -10969,7 +10973,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
10969
10973
  }), sF = {
10970
10974
  key: 0,
10971
10975
  class: "ui-progress-bar"
10972
- }, oF = { class: "ui-progress-bar__messages d-flex align-center pl-6 pr-6" }, aF = { class: "ui-progress-bar__message flex-grow-1" }, lF = { class: "ui-progress-bar__percent" }, GG = /* @__PURE__ */ ae({
10976
+ }, oF = { class: "ui-progress-bar__messages d-flex align-center pl-6 pr-6" }, aF = { class: "ui-progress-bar__message flex-grow-1" }, lF = { class: "ui-progress-bar__percent" }, VG = /* @__PURE__ */ ae({
10973
10977
  __name: "PlProgressBar",
10974
10978
  props: {
10975
10979
  loading: { type: Boolean },
@@ -10977,11 +10981,11 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
10977
10981
  completeMessage: { default: "Completed" }
10978
10982
  },
10979
10983
  setup(t) {
10980
- const e = t, n = A(() => e.progress === 100 ? e.completeMessage : "");
10984
+ const e = t, n = k(() => e.progress === 100 ? e.completeMessage : "");
10981
10985
  return (i, s) => i.loading ? (C(), S("div", sF, [
10982
10986
  O("div", {
10983
10987
  class: "ui-progress-bar__indicator",
10984
- style: je({ width: i.progress + "%" })
10988
+ style: He({ width: i.progress + "%" })
10985
10989
  }, null, 4),
10986
10990
  s[1] || (s[1] = I()),
10987
10991
  O("div", oF, [
@@ -10997,7 +11001,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
10997
11001
  }, hF = ["disabled", "placeholder"], pF = { class: "mi-number-field__icons d-flex-column" }, fF = {
10998
11002
  key: 0,
10999
11003
  class: "mi-number-field__hint text-description"
11000
- }, BG = /* @__PURE__ */ ae({
11004
+ }, NG = /* @__PURE__ */ ae({
11001
11005
  __name: "PlNumberField",
11002
11006
  props: {
11003
11007
  modelValue: {},
@@ -11014,7 +11018,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
11014
11018
  setup(t, { emit: e }) {
11015
11019
  const n = t, i = e, s = oe(), a = Wt(), u = oe();
11016
11020
  dr(s);
11017
- const c = oe(!0), d = A({
11021
+ const c = oe(!0), d = k({
11018
11022
  get() {
11019
11023
  return c.value && n.modelValue !== void 0 ? new Number(n.modelValue).toString() : "";
11020
11024
  },
@@ -11026,14 +11030,14 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
11026
11030
  c.value = !0;
11027
11031
  }));
11028
11032
  }
11029
- }), p = A(() => {
11033
+ }), p = k(() => {
11030
11034
  let _ = [];
11031
11035
  return n.errorMessage && _.push(n.errorMessage), T(n.modelValue) ? (n.minValue !== void 0 && n.modelValue !== void 0 && n.modelValue < n.minValue && _.push(`Model value must be higher than ${n.minValue}`), n.maxValue !== void 0 && n.modelValue !== void 0 && n.modelValue > n.maxValue && _.push(`Model value must be less than ${n.maxValue}`)) : _.push("Model value is not a number."), _ = [..._], _.join(" ");
11032
- }), f = A(() => !!(n.maxValue && n.modelValue !== void 0 && (n.modelValue || 0) + n.step > n.maxValue)), m = A(() => !!(n.minValue && n.modelValue !== void 0 && (n.modelValue || 0) - n.step < n.minValue));
11036
+ }), f = k(() => !!(n.maxValue && n.modelValue !== void 0 && (n.modelValue || 0) + n.step > n.maxValue)), m = k(() => !!(n.minValue && n.modelValue !== void 0 && (n.modelValue || 0) - n.step < n.minValue));
11033
11037
  function T(_) {
11034
11038
  return _ !== void 0 ? (_ = _ == null ? void 0 : _.toString(), !isNaN(+_) && !isNaN(parseFloat(_))) : !1;
11035
11039
  }
11036
- function k() {
11040
+ function A() {
11037
11041
  if (!f.value) {
11038
11042
  let _ = 0;
11039
11043
  n.modelValue === void 0 ? _ = n.minValue ? n.minValue : 0 : _ = +(n.modelValue || 0) + n.step, d.value = _.toString();
@@ -11046,7 +11050,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
11046
11050
  }
11047
11051
  }
11048
11052
  function $(_) {
11049
- ["ArrowDown", "ArrowUp"].includes(_.code) && _.preventDefault(), _.code === "ArrowUp" ? k() : _.code === "ArrowDown" && R();
11053
+ ["ArrowDown", "ArrowUp"].includes(_.code) && _.preventDefault(), _.code === "ArrowUp" ? A() : _.code === "ArrowDown" && R();
11050
11054
  }
11051
11055
  const Z = (_) => {
11052
11056
  _.detail > 1 && _.preventDefault();
@@ -11059,7 +11063,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
11059
11063
  onKeydown: F[1] || (F[1] = (Y) => $(Y))
11060
11064
  }, [
11061
11065
  O("div", uF, [
11062
- Se(cr, { class: "mi-number-field__contour" }),
11066
+ be(cr, { class: "mi-number-field__contour" }),
11063
11067
  F[6] || (F[6] = I()),
11064
11068
  O("div", cF, [
11065
11069
  _.label ? (C(), S("label", dF, [
@@ -11091,7 +11095,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
11091
11095
  O("div", pF, [
11092
11096
  O("div", {
11093
11097
  class: ye([{ disabled: f.value }, "mi-number-field__icon d-flex flex-justify-center uc-pointer flex-grow flex-align-center"]),
11094
- onClick: k
11098
+ onClick: A
11095
11099
  }, F[3] || (F[3] = [
11096
11100
  O("svg", {
11097
11101
  xmlns: "http://www.w3.org/2000/svg",
@@ -11198,7 +11202,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
11198
11202
  class: "pl-multi-dropdown__helper"
11199
11203
  }, EF = {
11200
11204
  name: "PlDropdownMulti"
11201
- }, VG = /* @__PURE__ */ ae({
11205
+ }, $G = /* @__PURE__ */ ae({
11202
11206
  ...EF,
11203
11207
  props: {
11204
11208
  modelValue: { default: () => [] },
@@ -11217,7 +11221,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
11217
11221
  activeOption: -1,
11218
11222
  open: !1,
11219
11223
  optionsHeight: 0
11220
- }), f = A(() => Array.isArray(a.modelValue) ? a.modelValue : []), m = A(() => p.open && a.modelValue.length > 0 ? a.placeholder : a.modelValue.length > 0 ? "" : a.placeholder), T = A(() => Dr(a.options).filter((B) => Xu(f.value, B.value))), k = A(() => {
11224
+ }), f = k(() => Array.isArray(a.modelValue) ? a.modelValue : []), m = k(() => p.open && a.modelValue.length > 0 ? a.placeholder : a.modelValue.length > 0 ? "" : a.placeholder), T = k(() => Dr(a.options).filter((B) => Xu(f.value, B.value))), A = k(() => {
11221
11225
  const B = N(f), D = Dr(a.options);
11222
11226
  return (p.search ? D.filter((V) => {
11223
11227
  const K = p.search.toLowerCase();
@@ -11226,9 +11230,9 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
11226
11230
  ...V,
11227
11231
  selected: Xu(B, V.value)
11228
11232
  }));
11229
- }), R = A(() => a.disabled ? void 0 : "0"), $ = () => {
11233
+ }), R = k(() => a.disabled ? void 0 : "0"), $ = () => {
11230
11234
  p.activeOption = Go(
11231
- k.value.findIndex((B) => an(B.value, a.modelValue)),
11235
+ A.value.findIndex((B) => an(B.value, a.modelValue)),
11232
11236
  (B) => B < 0 ? 0 : B
11233
11237
  );
11234
11238
  }, Z = (B) => {
@@ -11255,7 +11259,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
11255
11259
  return;
11256
11260
  }
11257
11261
  B.code === "Escape" && (p.open = !1, (D = u.value) == null || D.focus());
11258
- const X = N(k), { length: P } = X;
11262
+ const X = N(A), { length: P } = X;
11259
11263
  if (!P)
11260
11264
  return;
11261
11265
  ["ArrowDown", "ArrowUp", "Enter"].includes(B.code) && B.preventDefault(), B.code === "Enter" && Z(X[K].value);
@@ -11362,7 +11366,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
11362
11366
  ref_key: "list",
11363
11367
  ref: c,
11364
11368
  class: "pl-multi-dropdown__options",
11365
- style: je(q),
11369
+ style: He(q),
11366
11370
  tabindex: "-1",
11367
11371
  onFocusout: ne
11368
11372
  }, [
@@ -11380,7 +11384,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
11380
11384
  }, 1032, ["onClose"]))), 128))
11381
11385
  ]),
11382
11386
  D[8] || (D[8] = I()),
11383
- (C(!0), S(Ye, null, dt(k.value, (V, K) => (C(), fe(Oo, {
11387
+ (C(!0), S(Ye, null, dt(A.value, (V, K) => (C(), fe(Oo, {
11384
11388
  key: K,
11385
11389
  option: V,
11386
11390
  "text-item": "text",
@@ -11391,11 +11395,11 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
11391
11395
  onClick: Ke((X) => Z(V.value), ["stop"])
11392
11396
  }, null, 8, ["option", "is-selected", "is-hovered", "onClick"]))), 128)),
11393
11397
  D[9] || (D[9] = I()),
11394
- k.value.length ? j("", !0) : (C(), S("div", kF, "Nothing found"))
11398
+ A.value.length ? j("", !0) : (C(), S("div", kF, "Nothing found"))
11395
11399
  ], 36)
11396
11400
  ])) : j("", !0),
11397
11401
  D[12] || (D[12] = I()),
11398
- Se(cr, { class: "pl-multi-dropdown__contour" })
11402
+ be(cr, { class: "pl-multi-dropdown__contour" })
11399
11403
  ])
11400
11404
  ], 42, vF),
11401
11405
  D[13] || (D[13] = I()),
@@ -11410,7 +11414,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
11410
11414
  },
11411
11415
  emits: ["update:modelValue"],
11412
11416
  setup(t) {
11413
- const e = t, n = A(() => e.modelValue);
11417
+ const e = t, n = k(() => e.modelValue);
11414
11418
  return (i, s) => (C(), S("div", {
11415
11419
  tabindex: "0",
11416
11420
  class: ye(["pl-checkbox-base", { checked: n.value, disabled: i.disabled }]),
@@ -11433,7 +11437,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
11433
11437
  key: 0,
11434
11438
  class: ye(["pl-checkbox", { disabled: i.disabled }])
11435
11439
  }, [
11436
- Se(pc, Gt(e, {
11440
+ be(pc, Gt(e, {
11437
11441
  "onUpdate:modelValue": s[0] || (s[0] = (a) => i.$emit("update:modelValue", a))
11438
11442
  }), null, 16),
11439
11443
  s[3] || (s[3] = I()),
@@ -11448,7 +11452,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
11448
11452
  }
11449
11453
  }), RF = { key: 0 }, DF = ["onClick"], IF = {
11450
11454
  name: "PlCheckboxGroup"
11451
- }, NG = /* @__PURE__ */ ae({
11455
+ }, ZG = /* @__PURE__ */ ae({
11452
11456
  ...IF,
11453
11457
  props: {
11454
11458
  modelValue: {},
@@ -11468,7 +11472,7 @@ const OP = { class: "resizable-input" }, MP = ["placeholder", "value", "disabled
11468
11472
  u.label ? (C(), S("label", RF, se(u.label), 1)) : j("", !0),
11469
11473
  c[1] || (c[1] = I()),
11470
11474
  (C(!0), S(Ye, null, dt(u.options.map((d) => ({ label: "label" in d ? d.label : d.text, value: d.value })), (d, p) => (C(), S("div", { key: p }, [
11471
- Se(pc, {
11475
+ be(pc, {
11472
11476
  disabled: u.disabled,
11473
11477
  label: d.label,
11474
11478
  "model-value": s(d.value),
@@ -11522,7 +11526,7 @@ const BF = {
11522
11526
  return kt(document.body, "keyup", (d) => {
11523
11527
  s.modelValue && d.code === "Escape" && i("update:modelValue", !1);
11524
11528
  }), (d, p) => (C(), fe(Gr, { to: "body" }, [
11525
- Se(Do, { name: "dialog" }, {
11529
+ be(Do, { name: "dialog" }, {
11526
11530
  default: Te(() => [
11527
11531
  d.modelValue ? (C(), S("div", {
11528
11532
  key: 0,
@@ -11593,7 +11597,7 @@ const BF = {
11593
11597
  }, HF = {
11594
11598
  name: "PlSlideModal",
11595
11599
  inheritAttrs: !1
11596
- }, $G = /* @__PURE__ */ ae({
11600
+ }, UG = /* @__PURE__ */ ae({
11597
11601
  ...HF,
11598
11602
  props: {
11599
11603
  modelValue: { type: Boolean, default: !1 },
@@ -11609,7 +11613,7 @@ const BF = {
11609
11613
  }), kt(document, "keydown", (c) => {
11610
11614
  c.key === "Escape" && i("update:modelValue", !1);
11611
11615
  }), (c, d) => (C(), fe(Gr, { to: "body" }, [
11612
- Se(ZF, null, {
11616
+ be(ZF, null, {
11613
11617
  default: Te(() => [
11614
11618
  c.modelValue ? (C(), S("div", Gt({
11615
11619
  key: 0,
@@ -11802,15 +11806,15 @@ const iR = { key: 0 }, rR = { class: "pl-log-view__copy" }, sR = {
11802
11806
  if (R && R.ok === !1)
11803
11807
  return R.errors.join(`
11804
11808
  `);
11805
- }, n = t, i = nR(n), s = oe(!0), a = oe(), u = oe(), c = A(() => {
11809
+ }, n = t, i = nR(n), s = oe(!0), a = oe(), u = oe(), c = k(() => {
11806
11810
  var R;
11807
11811
  return ((R = i.value) == null ? void 0 : R.error) ?? n.error ?? e(n.output);
11808
- }), d = A(() => {
11812
+ }), d = k(() => {
11809
11813
  var R;
11810
11814
  return ((R = i.value) == null ? void 0 : R.lines) ?? n.value ?? sA(n.output);
11811
11815
  }), p = oe(!1);
11812
11816
  dr(u);
11813
- const f = A(() => p.value ? "clipboard-copied" : "clipboard"), m = () => {
11817
+ const f = k(() => p.value ? "clipboard-copied" : "clipboard"), m = () => {
11814
11818
  p.value = !0, setTimeout(() => {
11815
11819
  p.value = !1;
11816
11820
  }, 1200), d.value && typeof d.value == "string" && navigator.clipboard.writeText(d.value);
@@ -11828,7 +11832,7 @@ const iR = { key: 0 }, rR = { class: "pl-log-view__copy" }, sR = {
11828
11832
  },
11829
11833
  { immediate: !0 }
11830
11834
  );
11831
- const k = (R) => {
11835
+ const A = (R) => {
11832
11836
  const $ = R.target;
11833
11837
  s.value = $.scrollTop + 20 >= $.scrollHeight - $.offsetHeight;
11834
11838
  };
@@ -11839,10 +11843,10 @@ const iR = { key: 0 }, rR = { class: "pl-log-view__copy" }, sR = {
11839
11843
  }, [
11840
11844
  R.label ? (C(), S("label", iR, se(R.label), 1)) : j("", !0),
11841
11845
  $[1] || ($[1] = I()),
11842
- Se(cr, { class: "pl-log-view__contour" }),
11846
+ be(cr, { class: "pl-log-view__contour" }),
11843
11847
  $[2] || ($[2] = I()),
11844
11848
  O("div", rR, [
11845
- Se(N(ln), {
11849
+ be(N(ln), {
11846
11850
  "close-delay": 800,
11847
11851
  position: "top"
11848
11852
  }, {
@@ -11850,7 +11854,7 @@ const iR = { key: 0 }, rR = { class: "pl-log-view__copy" }, sR = {
11850
11854
  I(se(p.value ? "copied" : "copy"), 1)
11851
11855
  ]),
11852
11856
  default: Te(() => [
11853
- Se(N(Qi), {
11857
+ be(N(Qi), {
11854
11858
  title: "Copy content",
11855
11859
  name: f.value,
11856
11860
  onClick: m
@@ -11866,7 +11870,7 @@ const iR = { key: 0 }, rR = { class: "pl-log-view__copy" }, sR = {
11866
11870
  ref_key: "contentRef",
11867
11871
  ref: a,
11868
11872
  class: "pl-log-view__content",
11869
- onScroll: k
11873
+ onScroll: A
11870
11874
  }, se(d.value), 545))
11871
11875
  ], 2));
11872
11876
  }
@@ -11914,7 +11918,7 @@ const iR = { key: 0 }, rR = { class: "pl-log-view__copy" }, sR = {
11914
11918
  }
11915
11919
  }), fR = {
11916
11920
  name: "PlTabs"
11917
- }, ZG = /* @__PURE__ */ ae({
11921
+ }, zG = /* @__PURE__ */ ae({
11918
11922
  ...fR,
11919
11923
  props: {
11920
11924
  modelValue: {},
@@ -11934,7 +11938,7 @@ const iR = { key: 0 }, rR = { class: "pl-log-view__copy" }, sR = {
11934
11938
  tabindex: s.modelValue === u.value || s.disabled || u.disabled ? void 0 : 0,
11935
11939
  option: u,
11936
11940
  class: ye([{ [N(es).active]: s.modelValue === u.value, [N(es).disabled]: u.disabled }, N(es).tab]),
11937
- style: je({ "--pl-tabs-item-max-width": u.maxWidth ?? s.maxTabWidth }),
11941
+ style: He({ "--pl-tabs-item-max-width": u.maxWidth ?? s.maxTabWidth }),
11938
11942
  onKeydown: Ti((d) => i(u.value), ["enter"]),
11939
11943
  onClick: (d) => i(u.value)
11940
11944
  }, {
@@ -11968,7 +11972,7 @@ const iR = { key: 0 }, rR = { class: "pl-log-view__copy" }, sR = {
11968
11972
  content: vR
11969
11973
  }, _R = {
11970
11974
  $style: yR
11971
- }, CR = /* @__PURE__ */ Rn(gR, [["__cssModules", _R]]), UG = /* @__PURE__ */ ae({
11975
+ }, CR = /* @__PURE__ */ Rn(gR, [["__cssModules", _R]]), WG = /* @__PURE__ */ ae({
11972
11976
  __name: "PlAccordion",
11973
11977
  props: /* @__PURE__ */ Ai({
11974
11978
  multiple: { type: Boolean }
@@ -12017,7 +12021,7 @@ const iR = { key: 0 }, rR = { class: "pl-log-view__copy" }, sR = {
12017
12021
  }),
12018
12022
  emits: ["update:modelValue"],
12019
12023
  setup(t) {
12020
- const e = Za("pl-accordion-model"), n = Za("pl-accordion-props"), i = Mr(t, "modelValue"), s = hg(), a = A(() => !n || n.value.multiple), u = A({
12024
+ const e = Za("pl-accordion-model"), n = Za("pl-accordion-props"), i = Mr(t, "modelValue"), s = hg(), a = k(() => !n || n.value.multiple), u = k({
12021
12025
  get() {
12022
12026
  return a.value ? i.value : e ? e.value === s : i.value;
12023
12027
  },
@@ -12026,13 +12030,13 @@ const iR = { key: 0 }, rR = { class: "pl-log-view__copy" }, sR = {
12026
12030
  }
12027
12031
  });
12028
12032
  return (c, d) => (C(), S(Ye, null, [
12029
- Se(N(CR), {
12033
+ be(N(CR), {
12030
12034
  class: ye(c.$style.separator),
12031
12035
  compact: c.compact,
12032
12036
  onClick: d[0] || (d[0] = (p) => u.value = !u.value)
12033
12037
  }, {
12034
12038
  default: Te(() => [
12035
- Se(N(Ir), {
12039
+ be(N(Ir), {
12036
12040
  name: "chevron-right",
12037
12041
  class: ye([{ [c.$style.down]: u.value }, c.$style.chevron])
12038
12042
  }, null, 8, ["class"]),
@@ -12041,7 +12045,7 @@ const iR = { key: 0 }, rR = { class: "pl-log-view__copy" }, sR = {
12041
12045
  _: 1
12042
12046
  }, 8, ["class", "compact"]),
12043
12047
  d[1] || (d[1] = I()),
12044
- Se(wR, null, {
12048
+ be(wR, null, {
12045
12049
  default: Te(() => [
12046
12050
  u.value ? (C(), S("div", {
12047
12051
  key: 0,
@@ -12061,7 +12065,7 @@ const iR = { key: 0 }, rR = { class: "pl-log-view__copy" }, sR = {
12061
12065
  down: AR
12062
12066
  }, ER = {
12063
12067
  $style: TR
12064
- }, zG = /* @__PURE__ */ Rn(bR, [["__cssModules", ER]]);
12068
+ }, HG = /* @__PURE__ */ Rn(bR, [["__cssModules", ER]]);
12065
12069
  function PR(t) {
12066
12070
  const e = t.split("/"), n = [];
12067
12071
  for (let i = 0; i < e.length; i++)
@@ -12109,7 +12113,7 @@ const FR = { class: "file-dialog" }, RR = { class: "file-dialog__search" }, DR =
12109
12113
  lastSelected: void 0,
12110
12114
  currentLoadingPath: void 0,
12111
12115
  showHiddenItems: !1
12112
- }), a = Xe(s()), u = A(() => a.showHiddenItems ? a.items : a.items.filter((q) => !q.name.startsWith("."))), c = A(() => {
12116
+ }), a = Xe(s()), u = k(() => a.showHiddenItems ? a.items : a.items.filter((q) => !q.name.startsWith("."))), c = k(() => {
12113
12117
  var q;
12114
12118
  return {
12115
12119
  modelValue: i.modelValue,
@@ -12134,11 +12138,11 @@ const FR = { class: "file-dialog" }, RR = { class: "file-dialog__search" }, DR =
12134
12138
  q && D && d(q, B);
12135
12139
  }, f = fg((q) => {
12136
12140
  a.dirPath = q ?? "";
12137
- }, 1e3), m = A(() => PR(a.dirPath)), T = A(() => a.items.filter((q) => q.canBeSelected && q.selected && !q.isDir)), k = A(() => T.value.length > 0), R = () => {
12141
+ }, 1e3), m = k(() => PR(a.dirPath)), T = k(() => a.items.filter((q) => q.canBeSelected && q.selected && !q.isDir)), A = k(() => T.value.length > 0), R = () => {
12138
12142
  n("update:modelValue", !1);
12139
12143
  }, $ = () => {
12140
12144
  var q;
12141
- k.value && (q = a.storageEntry) != null && q.handle && (n("import:files", {
12145
+ A.value && (q = a.storageEntry) != null && q.handle && (n("import:files", {
12142
12146
  storageHandle: a.storageEntry.handle,
12143
12147
  files: T.value.map((B) => B.handle)
12144
12148
  }), R());
@@ -12215,9 +12219,9 @@ const FR = { class: "file-dialog" }, RR = { class: "file-dialog__search" }, DR =
12215
12219
  I(se(q.title ?? "Select files"), 1)
12216
12220
  ]),
12217
12221
  actions: Te(() => [
12218
- Se(N(Cg), {
12222
+ be(N(Cg), {
12219
12223
  style: { "min-width": "160px" },
12220
- disabled: !k.value,
12224
+ disabled: !A.value,
12221
12225
  onClick: Ke($, ["stop"])
12222
12226
  }, {
12223
12227
  default: Te(() => B[14] || (B[14] = [
@@ -12226,7 +12230,7 @@ const FR = { class: "file-dialog" }, RR = { class: "file-dialog__search" }, DR =
12226
12230
  _: 1
12227
12231
  }, 8, ["disabled"]),
12228
12232
  B[16] || (B[16] = I()),
12229
- Se(N(bg), {
12233
+ be(N(bg), {
12230
12234
  "justify-center": !1,
12231
12235
  onClick: Ke(R, ["stop"])
12232
12236
  }, {
@@ -12240,14 +12244,14 @@ const FR = { class: "file-dialog" }, RR = { class: "file-dialog__search" }, DR =
12240
12244
  B[17] || (B[17] = I()),
12241
12245
  O("div", FR, [
12242
12246
  O("div", RR, [
12243
- Se(N(tl), {
12247
+ be(N(tl), {
12244
12248
  modelValue: a.storageEntry,
12245
12249
  "onUpdate:modelValue": B[0] || (B[0] = (D) => a.storageEntry = D),
12246
12250
  label: "Select storage",
12247
12251
  options: a.storageOptions
12248
12252
  }, null, 8, ["modelValue", "options"]),
12249
12253
  B[1] || (B[1] = I()),
12250
- Se(N(is), {
12254
+ be(N(is), {
12251
12255
  "model-value": a.dirPath,
12252
12256
  label: "Enter path",
12253
12257
  "onUpdate:modelValue": N(f)
@@ -12640,10 +12644,10 @@ function Dg(t, e, n, i, s) {
12640
12644
  if (typeof e == "function" ? t !== e || !s : !e.has(t)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
12641
12645
  return e.set(t, n), n;
12642
12646
  }
12643
- var xe;
12647
+ var Se;
12644
12648
  (function(t) {
12645
12649
  t.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, t.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
12646
- })(xe || (xe = {}));
12650
+ })(Se || (Se = {}));
12647
12651
  var Ks, Ys;
12648
12652
  class ci {
12649
12653
  constructor(e, n, i, s) {
@@ -13028,7 +13032,7 @@ class qn extends Ue {
13028
13032
  return this.refinement((s) => e.test(s), {
13029
13033
  validation: n,
13030
13034
  code: re.invalid_string,
13031
- ...xe.errToObj(i)
13035
+ ...Se.errToObj(i)
13032
13036
  });
13033
13037
  }
13034
13038
  _addCheck(e) {
@@ -13038,34 +13042,34 @@ class qn extends Ue {
13038
13042
  });
13039
13043
  }
13040
13044
  email(e) {
13041
- return this._addCheck({ kind: "email", ...xe.errToObj(e) });
13045
+ return this._addCheck({ kind: "email", ...Se.errToObj(e) });
13042
13046
  }
13043
13047
  url(e) {
13044
- return this._addCheck({ kind: "url", ...xe.errToObj(e) });
13048
+ return this._addCheck({ kind: "url", ...Se.errToObj(e) });
13045
13049
  }
13046
13050
  emoji(e) {
13047
- return this._addCheck({ kind: "emoji", ...xe.errToObj(e) });
13051
+ return this._addCheck({ kind: "emoji", ...Se.errToObj(e) });
13048
13052
  }
13049
13053
  uuid(e) {
13050
- return this._addCheck({ kind: "uuid", ...xe.errToObj(e) });
13054
+ return this._addCheck({ kind: "uuid", ...Se.errToObj(e) });
13051
13055
  }
13052
13056
  nanoid(e) {
13053
- return this._addCheck({ kind: "nanoid", ...xe.errToObj(e) });
13057
+ return this._addCheck({ kind: "nanoid", ...Se.errToObj(e) });
13054
13058
  }
13055
13059
  cuid(e) {
13056
- return this._addCheck({ kind: "cuid", ...xe.errToObj(e) });
13060
+ return this._addCheck({ kind: "cuid", ...Se.errToObj(e) });
13057
13061
  }
13058
13062
  cuid2(e) {
13059
- return this._addCheck({ kind: "cuid2", ...xe.errToObj(e) });
13063
+ return this._addCheck({ kind: "cuid2", ...Se.errToObj(e) });
13060
13064
  }
13061
13065
  ulid(e) {
13062
- return this._addCheck({ kind: "ulid", ...xe.errToObj(e) });
13066
+ return this._addCheck({ kind: "ulid", ...Se.errToObj(e) });
13063
13067
  }
13064
13068
  base64(e) {
13065
- return this._addCheck({ kind: "base64", ...xe.errToObj(e) });
13069
+ return this._addCheck({ kind: "base64", ...Se.errToObj(e) });
13066
13070
  }
13067
13071
  ip(e) {
13068
- return this._addCheck({ kind: "ip", ...xe.errToObj(e) });
13072
+ return this._addCheck({ kind: "ip", ...Se.errToObj(e) });
13069
13073
  }
13070
13074
  datetime(e) {
13071
13075
  var n, i;
@@ -13080,7 +13084,7 @@ class qn extends Ue {
13080
13084
  precision: typeof (e == null ? void 0 : e.precision) > "u" ? null : e == null ? void 0 : e.precision,
13081
13085
  offset: (n = e == null ? void 0 : e.offset) !== null && n !== void 0 ? n : !1,
13082
13086
  local: (i = e == null ? void 0 : e.local) !== null && i !== void 0 ? i : !1,
13083
- ...xe.errToObj(e == null ? void 0 : e.message)
13087
+ ...Se.errToObj(e == null ? void 0 : e.message)
13084
13088
  });
13085
13089
  }
13086
13090
  date(e) {
@@ -13094,17 +13098,17 @@ class qn extends Ue {
13094
13098
  }) : this._addCheck({
13095
13099
  kind: "time",
13096
13100
  precision: typeof (e == null ? void 0 : e.precision) > "u" ? null : e == null ? void 0 : e.precision,
13097
- ...xe.errToObj(e == null ? void 0 : e.message)
13101
+ ...Se.errToObj(e == null ? void 0 : e.message)
13098
13102
  });
13099
13103
  }
13100
13104
  duration(e) {
13101
- return this._addCheck({ kind: "duration", ...xe.errToObj(e) });
13105
+ return this._addCheck({ kind: "duration", ...Se.errToObj(e) });
13102
13106
  }
13103
13107
  regex(e, n) {
13104
13108
  return this._addCheck({
13105
13109
  kind: "regex",
13106
13110
  regex: e,
13107
- ...xe.errToObj(n)
13111
+ ...Se.errToObj(n)
13108
13112
  });
13109
13113
  }
13110
13114
  includes(e, n) {
@@ -13112,42 +13116,42 @@ class qn extends Ue {
13112
13116
  kind: "includes",
13113
13117
  value: e,
13114
13118
  position: n == null ? void 0 : n.position,
13115
- ...xe.errToObj(n == null ? void 0 : n.message)
13119
+ ...Se.errToObj(n == null ? void 0 : n.message)
13116
13120
  });
13117
13121
  }
13118
13122
  startsWith(e, n) {
13119
13123
  return this._addCheck({
13120
13124
  kind: "startsWith",
13121
13125
  value: e,
13122
- ...xe.errToObj(n)
13126
+ ...Se.errToObj(n)
13123
13127
  });
13124
13128
  }
13125
13129
  endsWith(e, n) {
13126
13130
  return this._addCheck({
13127
13131
  kind: "endsWith",
13128
13132
  value: e,
13129
- ...xe.errToObj(n)
13133
+ ...Se.errToObj(n)
13130
13134
  });
13131
13135
  }
13132
13136
  min(e, n) {
13133
13137
  return this._addCheck({
13134
13138
  kind: "min",
13135
13139
  value: e,
13136
- ...xe.errToObj(n)
13140
+ ...Se.errToObj(n)
13137
13141
  });
13138
13142
  }
13139
13143
  max(e, n) {
13140
13144
  return this._addCheck({
13141
13145
  kind: "max",
13142
13146
  value: e,
13143
- ...xe.errToObj(n)
13147
+ ...Se.errToObj(n)
13144
13148
  });
13145
13149
  }
13146
13150
  length(e, n) {
13147
13151
  return this._addCheck({
13148
13152
  kind: "length",
13149
13153
  value: e,
13150
- ...xe.errToObj(n)
13154
+ ...Se.errToObj(n)
13151
13155
  });
13152
13156
  }
13153
13157
  /**
@@ -13155,7 +13159,7 @@ class qn extends Ue {
13155
13159
  * @see {@link ZodString.min}
13156
13160
  */
13157
13161
  nonempty(e) {
13158
- return this.min(1, xe.errToObj(e));
13162
+ return this.min(1, Se.errToObj(e));
13159
13163
  }
13160
13164
  trim() {
13161
13165
  return new qn({
@@ -13289,16 +13293,16 @@ class or extends Ue {
13289
13293
  return { status: i.value, value: e.data };
13290
13294
  }
13291
13295
  gte(e, n) {
13292
- return this.setLimit("min", e, !0, xe.toString(n));
13296
+ return this.setLimit("min", e, !0, Se.toString(n));
13293
13297
  }
13294
13298
  gt(e, n) {
13295
- return this.setLimit("min", e, !1, xe.toString(n));
13299
+ return this.setLimit("min", e, !1, Se.toString(n));
13296
13300
  }
13297
13301
  lte(e, n) {
13298
- return this.setLimit("max", e, !0, xe.toString(n));
13302
+ return this.setLimit("max", e, !0, Se.toString(n));
13299
13303
  }
13300
13304
  lt(e, n) {
13301
- return this.setLimit("max", e, !1, xe.toString(n));
13305
+ return this.setLimit("max", e, !1, Se.toString(n));
13302
13306
  }
13303
13307
  setLimit(e, n, i, s) {
13304
13308
  return new or({
@@ -13309,7 +13313,7 @@ class or extends Ue {
13309
13313
  kind: e,
13310
13314
  value: n,
13311
13315
  inclusive: i,
13312
- message: xe.toString(s)
13316
+ message: Se.toString(s)
13313
13317
  }
13314
13318
  ]
13315
13319
  });
@@ -13323,7 +13327,7 @@ class or extends Ue {
13323
13327
  int(e) {
13324
13328
  return this._addCheck({
13325
13329
  kind: "int",
13326
- message: xe.toString(e)
13330
+ message: Se.toString(e)
13327
13331
  });
13328
13332
  }
13329
13333
  positive(e) {
@@ -13331,7 +13335,7 @@ class or extends Ue {
13331
13335
  kind: "min",
13332
13336
  value: 0,
13333
13337
  inclusive: !1,
13334
- message: xe.toString(e)
13338
+ message: Se.toString(e)
13335
13339
  });
13336
13340
  }
13337
13341
  negative(e) {
@@ -13339,7 +13343,7 @@ class or extends Ue {
13339
13343
  kind: "max",
13340
13344
  value: 0,
13341
13345
  inclusive: !1,
13342
- message: xe.toString(e)
13346
+ message: Se.toString(e)
13343
13347
  });
13344
13348
  }
13345
13349
  nonpositive(e) {
@@ -13347,7 +13351,7 @@ class or extends Ue {
13347
13351
  kind: "max",
13348
13352
  value: 0,
13349
13353
  inclusive: !0,
13350
- message: xe.toString(e)
13354
+ message: Se.toString(e)
13351
13355
  });
13352
13356
  }
13353
13357
  nonnegative(e) {
@@ -13355,20 +13359,20 @@ class or extends Ue {
13355
13359
  kind: "min",
13356
13360
  value: 0,
13357
13361
  inclusive: !0,
13358
- message: xe.toString(e)
13362
+ message: Se.toString(e)
13359
13363
  });
13360
13364
  }
13361
13365
  multipleOf(e, n) {
13362
13366
  return this._addCheck({
13363
13367
  kind: "multipleOf",
13364
13368
  value: e,
13365
- message: xe.toString(n)
13369
+ message: Se.toString(n)
13366
13370
  });
13367
13371
  }
13368
13372
  finite(e) {
13369
13373
  return this._addCheck({
13370
13374
  kind: "finite",
13371
- message: xe.toString(e)
13375
+ message: Se.toString(e)
13372
13376
  });
13373
13377
  }
13374
13378
  safe(e) {
@@ -13376,12 +13380,12 @@ class or extends Ue {
13376
13380
  kind: "min",
13377
13381
  inclusive: !0,
13378
13382
  value: Number.MIN_SAFE_INTEGER,
13379
- message: xe.toString(e)
13383
+ message: Se.toString(e)
13380
13384
  })._addCheck({
13381
13385
  kind: "max",
13382
13386
  inclusive: !0,
13383
13387
  value: Number.MAX_SAFE_INTEGER,
13384
- message: xe.toString(e)
13388
+ message: Se.toString(e)
13385
13389
  });
13386
13390
  }
13387
13391
  get minValue() {
@@ -13451,16 +13455,16 @@ class ar extends Ue {
13451
13455
  return { status: i.value, value: e.data };
13452
13456
  }
13453
13457
  gte(e, n) {
13454
- return this.setLimit("min", e, !0, xe.toString(n));
13458
+ return this.setLimit("min", e, !0, Se.toString(n));
13455
13459
  }
13456
13460
  gt(e, n) {
13457
- return this.setLimit("min", e, !1, xe.toString(n));
13461
+ return this.setLimit("min", e, !1, Se.toString(n));
13458
13462
  }
13459
13463
  lte(e, n) {
13460
- return this.setLimit("max", e, !0, xe.toString(n));
13464
+ return this.setLimit("max", e, !0, Se.toString(n));
13461
13465
  }
13462
13466
  lt(e, n) {
13463
- return this.setLimit("max", e, !1, xe.toString(n));
13467
+ return this.setLimit("max", e, !1, Se.toString(n));
13464
13468
  }
13465
13469
  setLimit(e, n, i, s) {
13466
13470
  return new ar({
@@ -13471,7 +13475,7 @@ class ar extends Ue {
13471
13475
  kind: e,
13472
13476
  value: n,
13473
13477
  inclusive: i,
13474
- message: xe.toString(s)
13478
+ message: Se.toString(s)
13475
13479
  }
13476
13480
  ]
13477
13481
  });
@@ -13487,7 +13491,7 @@ class ar extends Ue {
13487
13491
  kind: "min",
13488
13492
  value: BigInt(0),
13489
13493
  inclusive: !1,
13490
- message: xe.toString(e)
13494
+ message: Se.toString(e)
13491
13495
  });
13492
13496
  }
13493
13497
  negative(e) {
@@ -13495,7 +13499,7 @@ class ar extends Ue {
13495
13499
  kind: "max",
13496
13500
  value: BigInt(0),
13497
13501
  inclusive: !1,
13498
- message: xe.toString(e)
13502
+ message: Se.toString(e)
13499
13503
  });
13500
13504
  }
13501
13505
  nonpositive(e) {
@@ -13503,7 +13507,7 @@ class ar extends Ue {
13503
13507
  kind: "max",
13504
13508
  value: BigInt(0),
13505
13509
  inclusive: !0,
13506
- message: xe.toString(e)
13510
+ message: Se.toString(e)
13507
13511
  });
13508
13512
  }
13509
13513
  nonnegative(e) {
@@ -13511,14 +13515,14 @@ class ar extends Ue {
13511
13515
  kind: "min",
13512
13516
  value: BigInt(0),
13513
13517
  inclusive: !0,
13514
- message: xe.toString(e)
13518
+ message: Se.toString(e)
13515
13519
  });
13516
13520
  }
13517
13521
  multipleOf(e, n) {
13518
13522
  return this._addCheck({
13519
13523
  kind: "multipleOf",
13520
13524
  value: e,
13521
- message: xe.toString(n)
13525
+ message: Se.toString(n)
13522
13526
  });
13523
13527
  }
13524
13528
  get minValue() {
@@ -13610,14 +13614,14 @@ class Lr extends Ue {
13610
13614
  return this._addCheck({
13611
13615
  kind: "min",
13612
13616
  value: e.getTime(),
13613
- message: xe.toString(n)
13617
+ message: Se.toString(n)
13614
13618
  });
13615
13619
  }
13616
13620
  max(e, n) {
13617
13621
  return this._addCheck({
13618
13622
  kind: "max",
13619
13623
  value: e.getTime(),
13620
- message: xe.toString(n)
13624
+ message: Se.toString(n)
13621
13625
  });
13622
13626
  }
13623
13627
  get minDate() {
@@ -13791,19 +13795,19 @@ class Jn extends Ue {
13791
13795
  min(e, n) {
13792
13796
  return new Jn({
13793
13797
  ...this._def,
13794
- minLength: { value: e, message: xe.toString(n) }
13798
+ minLength: { value: e, message: Se.toString(n) }
13795
13799
  });
13796
13800
  }
13797
13801
  max(e, n) {
13798
13802
  return new Jn({
13799
13803
  ...this._def,
13800
- maxLength: { value: e, message: xe.toString(n) }
13804
+ maxLength: { value: e, message: Se.toString(n) }
13801
13805
  });
13802
13806
  }
13803
13807
  length(e, n) {
13804
13808
  return new Jn({
13805
13809
  ...this._def,
13806
- exactLength: { value: e, message: xe.toString(n) }
13810
+ exactLength: { value: e, message: Se.toString(n) }
13807
13811
  });
13808
13812
  }
13809
13813
  nonempty(e) {
@@ -13911,7 +13915,7 @@ class yt extends Ue {
13911
13915
  return this._def.shape();
13912
13916
  }
13913
13917
  strict(e) {
13914
- return xe.errToObj, new yt({
13918
+ return Se.errToObj, new yt({
13915
13919
  ...this._def,
13916
13920
  unknownKeys: "strict",
13917
13921
  ...e !== void 0 ? {
@@ -13919,7 +13923,7 @@ class yt extends Ue {
13919
13923
  var s, a, u, c;
13920
13924
  const d = (u = (a = (s = this._def).errorMap) === null || a === void 0 ? void 0 : a.call(s, n, i).message) !== null && u !== void 0 ? u : i.defaultError;
13921
13925
  return n.code === "unrecognized_keys" ? {
13922
- message: (c = xe.errToObj(e).message) !== null && c !== void 0 ? c : d
13926
+ message: (c = Se.errToObj(e).message) !== null && c !== void 0 ? c : d
13923
13927
  } : {
13924
13928
  message: d
13925
13929
  };
@@ -14501,13 +14505,13 @@ class Or extends Ue {
14501
14505
  min(e, n) {
14502
14506
  return new Or({
14503
14507
  ...this._def,
14504
- minSize: { value: e, message: xe.toString(n) }
14508
+ minSize: { value: e, message: Se.toString(n) }
14505
14509
  });
14506
14510
  }
14507
14511
  max(e, n) {
14508
14512
  return new Or({
14509
14513
  ...this._def,
14510
- maxSize: { value: e, message: xe.toString(n) }
14514
+ maxSize: { value: e, message: Se.toString(n) }
14511
14515
  });
14512
14516
  }
14513
14517
  size(e, n) {
@@ -15259,7 +15263,7 @@ const nI = {
15259
15263
  setup(t, { emit: e }) {
15260
15264
  const n = Xe({
15261
15265
  fileDialogOpen: !1
15262
- }), i = Wt(), s = e, a = t, u = A(() => {
15266
+ }), i = Wt(), s = e, a = t, u = k(() => {
15263
15267
  if (a.modelValue)
15264
15268
  try {
15265
15269
  const _ = eI(a.modelValue).trim();
@@ -15268,16 +15272,16 @@ const nI = {
15268
15272
  return console.error(_), a.modelValue;
15269
15273
  }
15270
15274
  return "";
15271
- }), c = A(() => a.progress && !a.progress.done), d = A(() => a.progress && a.progress.done), p = A(() => a.error), f = A(() => a.error), m = A(() => {
15275
+ }), c = k(() => a.progress && !a.progress.done), d = k(() => a.progress && a.progress.done), p = k(() => a.error), f = k(() => a.error), m = k(() => {
15272
15276
  const { status: _, done: F } = a.progress ?? {};
15273
15277
  return !_ || !_.bytesTotal ? "" : _.bytesProcessed && !F ? qu(_.bytesProcessed, {}) + " / " + qu(_.bytesTotal, {}) : qu(_.bytesTotal, {});
15274
- }), T = A(() => {
15278
+ }), T = k(() => {
15275
15279
  var _;
15276
15280
  const { progress: F } = a;
15277
15281
  return F ? {
15278
15282
  width: F.done ? "100%" : Math.round((((_ = F.status) == null ? void 0 : _.progress) ?? 0) * 100) + "%"
15279
15283
  } : {};
15280
- }), k = () => {
15284
+ }), A = () => {
15281
15285
  n.fileDialogOpen = !0;
15282
15286
  }, R = (_) => {
15283
15287
  _.files.length && s("update:modelValue", _.files[0]);
@@ -15291,11 +15295,11 @@ const nI = {
15291
15295
  ref: Z,
15292
15296
  class: ye(["pl-file-input", { dashed: _.dashed, error: p.value }]),
15293
15297
  tabindex: "0",
15294
- onKeyup: Ti(k, ["enter"])
15298
+ onKeyup: Ti(A, ["enter"])
15295
15299
  }, [
15296
15300
  O("div", {
15297
15301
  class: "pl-file-input__progress",
15298
- style: je(T.value)
15302
+ style: He(T.value)
15299
15303
  }, null, 4),
15300
15304
  F[3] || (F[3] = I()),
15301
15305
  !_.cellStyle && _.label ? (C(), S("label", nI, [
@@ -15332,7 +15336,7 @@ const nI = {
15332
15336
  O("div", {
15333
15337
  "data-placeholder": _.placeholder ?? "Choose file",
15334
15338
  class: "pl-file-input__filename",
15335
- onClick: Ke(k, ["stop"])
15339
+ onClick: Ke(A, ["stop"])
15336
15340
  }, se(u.value), 9, rI),
15337
15341
  F[6] || (F[6] = I()),
15338
15342
  m.value ? (C(), S("div", sI, se(m.value), 1)) : j("", !0),
@@ -15343,13 +15347,13 @@ const nI = {
15343
15347
  onClick: Ke($, ["stop"])
15344
15348
  })) : j("", !0),
15345
15349
  F[8] || (F[8] = I()),
15346
- Se(cr, { class: "pl-file-input__contour" })
15350
+ be(cr, { class: "pl-file-input__contour" })
15347
15351
  ], 34),
15348
15352
  F[9] || (F[9] = I()),
15349
15353
  p.value ? (C(), S("div", oI, se(f.value), 1)) : _.helper ? (C(), S("div", aI, se(_.helper), 1)) : j("", !0)
15350
15354
  ], 2),
15351
15355
  F[10] || (F[10] = I()),
15352
- Se(N(qR), {
15356
+ be(N(qR), {
15353
15357
  modelValue: n.fileDialogOpen,
15354
15358
  "onUpdate:modelValue": F[0] || (F[0] = (Y) => n.fileDialogOpen = Y),
15355
15359
  extensions: _.extensions,
@@ -15384,7 +15388,7 @@ const nI = {
15384
15388
  return (s, a) => n.value ? (C(), S("div", {
15385
15389
  key: 0,
15386
15390
  class: ye([s.type, "pl-notification-alert d-flex flex-column gap-16"]),
15387
- style: je({ width: `${s.width}` })
15391
+ style: He({ width: `${s.width}` })
15388
15392
  }, [
15389
15393
  O("div", uI, [
15390
15394
  O("div", cI, [
@@ -15392,7 +15396,7 @@ const nI = {
15392
15396
  ]),
15393
15397
  a[0] || (a[0] = I()),
15394
15398
  s.closable ? (C(), S("div", dI, [
15395
- Se(N(bg), {
15399
+ be(N(bg), {
15396
15400
  icon: "close",
15397
15401
  onClick: i
15398
15402
  })
@@ -15404,7 +15408,7 @@ const nI = {
15404
15408
  ])) : j("", !0)
15405
15409
  ], 6)) : j("", !0);
15406
15410
  }
15407
- }), WG = /* @__PURE__ */ ae({
15411
+ }), jG = /* @__PURE__ */ ae({
15408
15412
  __name: "ContextProvider",
15409
15413
  props: {
15410
15414
  context: {},
@@ -15414,14 +15418,14 @@ const nI = {
15414
15418
  const e = t;
15415
15419
  return Ua(
15416
15420
  e.contextKey,
15417
- A(() => e.context)
15421
+ k(() => e.context)
15418
15422
  ), (n, i) => Ce(n.$slots, "default");
15419
15423
  }
15420
15424
  });
15421
15425
  function $t(t, e, n) {
15422
15426
  return e > t ? e : t > n ? n : t;
15423
15427
  }
15424
- const zc = (t) => A(() => {
15428
+ const zc = (t) => k(() => {
15425
15429
  const e = [100], { min: n, max: i, step: s } = t.value;
15426
15430
  let a = n;
15427
15431
  for (; a < i; ) {
@@ -15458,12 +15462,12 @@ const zc = (t) => A(() => {
15458
15462
  setup(t, { emit: e }) {
15459
15463
  const n = Wt(), i = e, s = t, a = Xe({
15460
15464
  deltaValue: 0
15461
- }), u = A(() => s.max - s.min), c = A(() => $t((s.modelValue ?? 0) + a.deltaValue, s.min, s.max)), d = oe(s.modelValue), p = A(() => {
15465
+ }), u = k(() => s.max - s.min), c = k(() => $t((s.modelValue ?? 0) + a.deltaValue, s.min, s.max)), d = oe(s.modelValue), p = k(() => {
15462
15466
  const U = s.modelValue;
15463
15467
  return Number.isFinite(U) ? U < s.min ? `Min value: ${s.min}` : U > s.max ? `Max value: ${s.max}` : s.error : "Not a number";
15464
- }), f = A(() => s), m = zc(f), T = A(() => (c.value - s.min) / u.value), k = A(() => ({
15468
+ }), f = k(() => s), m = zc(f), T = k(() => (c.value - s.min) / u.value), A = k(() => ({
15465
15469
  right: Math.ceil((1 - T.value) * 100) + "%"
15466
- })), R = A(() => ({
15470
+ })), R = k(() => ({
15467
15471
  right: `calc(${Math.ceil((1 - T.value) * 100)}%) `
15468
15472
  })), $ = oe(), Z = oe();
15469
15473
  Le(
@@ -15529,7 +15533,7 @@ const zc = (t) => A(() => {
15529
15533
  }, [
15530
15534
  O("div", {
15531
15535
  class: "ui-slider__progress",
15532
- style: je(k.value)
15536
+ style: He(A.value)
15533
15537
  }, null, 4)
15534
15538
  ], 512)
15535
15539
  ]),
@@ -15537,7 +15541,7 @@ const zc = (t) => A(() => {
15537
15541
  O("div", CI, [
15538
15542
  s.breakpoints ? (C(!0), S(Ye, { key: 0 }, dt(N(m), (q, B) => (C(), S("div", {
15539
15543
  key: B,
15540
- style: je({ right: `${q}%` }),
15544
+ style: He({ right: `${q}%` }),
15541
15545
  class: "ui-slider__thumb-step"
15542
15546
  }, null, 4))), 128)) : j("", !0),
15543
15547
  ee[4] || (ee[4] = I()),
@@ -15546,7 +15550,7 @@ const zc = (t) => A(() => {
15546
15550
  ref: Z,
15547
15551
  tabindex: "0",
15548
15552
  class: "ui-slider__thumb ui-slider__thumb-active",
15549
- style: je(R.value),
15553
+ style: He(R.value),
15550
15554
  onKeydown: ne
15551
15555
  }, ee[3] || (ee[3] = [
15552
15556
  O("div", { class: "ui-slider__thumb-focused-contour" }, null, -1)
@@ -15569,17 +15573,17 @@ const zc = (t) => A(() => {
15569
15573
  ], 2));
15570
15574
  }
15571
15575
  });
15572
- function HG(t, e = null, n = null) {
15576
+ function qG(t, e = null, n = null) {
15573
15577
  function i(c) {
15574
15578
  const { scrollTop: d, scrollHeight: p, clientHeight: f } = c;
15575
15579
  if (!(p > f) || !e)
15576
15580
  return null;
15577
- const m = p - d - f, T = d > e ? e : 0, k = m > e ? f - e - T : f;
15581
+ const m = p - d - f, T = d > e ? e : 0, A = m > e ? f - e - T : f;
15578
15582
  return `linear-gradient(
15579
15583
  to bottom,
15580
15584
  transparent,
15581
15585
  black ${T}px,
15582
- black ${k}px,
15586
+ black ${A}px,
15583
15587
  transparent 100%
15584
15588
  )`;
15585
15589
  }
@@ -15587,12 +15591,12 @@ function HG(t, e = null, n = null) {
15587
15591
  const { scrollLeft: d, scrollWidth: p, clientWidth: f } = c;
15588
15592
  if (!(p > f) || !n)
15589
15593
  return null;
15590
- const m = p - d - f, T = d > n ? n : 0, k = m > n ? f - n - T : f;
15594
+ const m = p - d - f, T = d > n ? n : 0, A = m > n ? f - n - T : f;
15591
15595
  return `linear-gradient(
15592
15596
  to right,
15593
15597
  transparent,
15594
15598
  black ${T}px,
15595
- black ${k}px,
15599
+ black ${A}px,
15596
15600
  transparent 100%
15597
15601
  )`;
15598
15602
  }
@@ -15627,43 +15631,43 @@ const zi = {
15627
15631
  const { y: e, height: n } = t.getBoundingClientRect();
15628
15632
  return e + n;
15629
15633
  };
15630
- function jG(t, e) {
15634
+ function KG(t, e) {
15631
15635
  const n = {
15632
15636
  item: void 0,
15633
15637
  options() {
15634
- var k;
15635
- return [...((k = t.value) == null ? void 0 : k.children) ?? []];
15638
+ var A;
15639
+ return [...((A = t.value) == null ? void 0 : A.children) ?? []];
15636
15640
  }
15637
- }, i = A(() => n.options()), s = e.shakeBuffer ?? 10, a = e.reorderDelay ?? 100;
15638
- function u(k) {
15641
+ }, i = k(() => n.options()), s = e.shakeBuffer ?? 10, a = e.reorderDelay ?? 100;
15642
+ function u(A) {
15639
15643
  const R = e.handle ? this.querySelector(e.handle) : null;
15640
- R && !R.contains(k.target) || (this.classList.remove(zi.animate), this.classList.add(zi.item), n.item = {
15644
+ R && !R.contains(A.target) || (this.classList.remove(zi.animate), this.classList.add(zi.item), n.item = {
15641
15645
  el: this,
15642
- y: k.y,
15646
+ y: A.y,
15643
15647
  dy: 0,
15644
15648
  orderChanged: !1
15645
15649
  });
15646
15650
  }
15647
- function c(k) {
15651
+ function c(A) {
15648
15652
  const R = n.options();
15649
- return R.slice(0, R.indexOf(k));
15653
+ return R.slice(0, R.indexOf(A));
15650
15654
  }
15651
- function d(k) {
15655
+ function d(A) {
15652
15656
  const R = n.options();
15653
- return R.slice(R.indexOf(k) + 1);
15657
+ return R.slice(R.indexOf(A) + 1);
15654
15658
  }
15655
- function p(k, R) {
15656
- const $ = n.options().filter((_) => _ !== R), Z = $.indexOf(k);
15659
+ function p(A, R) {
15660
+ const $ = n.options().filter((_) => _ !== R), Z = $.indexOf(A);
15657
15661
  return $.splice(Z, 0, R), $;
15658
15662
  }
15659
- function f(k, R) {
15660
- const $ = n.options().filter((_) => _ !== R), Z = $.indexOf(k);
15663
+ function f(A, R) {
15664
+ const $ = n.options().filter((_) => _ !== R), Z = $.indexOf(A);
15661
15665
  return $.splice(Z + 1, 0, R), $;
15662
15666
  }
15663
- function m(k, R) {
15664
- k.dy = R - k.y, k.el.style.setProperty("transform", `translateY(${k.dy}px)`);
15667
+ function m(A, R) {
15668
+ A.dy = R - A.y, A.el.style.setProperty("transform", `translateY(${A.dy}px)`);
15665
15669
  }
15666
- function T(k) {
15670
+ function T(A) {
15667
15671
  var R;
15668
15672
  if (!n.item)
15669
15673
  return;
@@ -15672,11 +15676,11 @@ function jG(t, e) {
15672
15676
  n.item = void 0;
15673
15677
  return;
15674
15678
  }
15675
- const Z = k.map((ee) => Hs(ee)), _ = Hs($);
15676
- (R = t.value) == null || R.replaceChildren(...k);
15677
- const F = Hs($), Y = k.map((ee) => Hs(ee)), ne = [];
15679
+ const Z = A.map((ee) => Hs(ee)), _ = Hs($);
15680
+ (R = t.value) == null || R.replaceChildren(...A);
15681
+ const F = Hs($), Y = A.map((ee) => Hs(ee)), ne = [];
15678
15682
  for (let ee = 0; ee < Y.length; ee++) {
15679
- const q = k[ee];
15683
+ const q = A[ee];
15680
15684
  if (q === n.item.el)
15681
15685
  continue;
15682
15686
  const B = Y[ee], D = Z[ee] - B;
@@ -15691,11 +15695,11 @@ function jG(t, e) {
15691
15695
  });
15692
15696
  });
15693
15697
  }
15694
- kt(window, "mousemove", (k) => {
15698
+ kt(window, "mousemove", (A) => {
15695
15699
  if (!n.item)
15696
15700
  return;
15697
15701
  const { el: R } = n.item;
15698
- m(n.item, k.y);
15702
+ m(n.item, A.y);
15699
15703
  const $ = Hs(n.item.el), Z = AI(n.item.el), _ = c(R), F = d(R);
15700
15704
  _.forEach((Y) => {
15701
15705
  const ne = af(Y);
@@ -15707,9 +15711,9 @@ function jG(t, e) {
15707
15711
  }), kt(window, "mouseup", () => {
15708
15712
  if (!n.item)
15709
15713
  return;
15710
- const { el: k, orderChanged: R } = n.item;
15711
- k.classList.add(zi.animate), k.style.removeProperty("transform"), k.addEventListener("transitionend", () => {
15712
- k.classList.remove(zi.animate, zi.item);
15714
+ const { el: A, orderChanged: R } = n.item;
15715
+ A.classList.add(zi.animate), A.style.removeProperty("transform"), A.addEventListener("transitionend", () => {
15716
+ A.classList.remove(zi.animate, zi.item);
15713
15717
  }), setTimeout(() => {
15714
15718
  if (!R)
15715
15719
  return;
@@ -15724,18 +15728,18 @@ function jG(t, e) {
15724
15728
  e.onChange($);
15725
15729
  }, a), n.item = void 0;
15726
15730
  }), mf(() => {
15727
- i.value.forEach((k, R) => {
15728
- k.removeEventListener("mousedown", u), k.addEventListener("mousedown", u), k.setAttribute("data-index", String(R));
15731
+ i.value.forEach((A, R) => {
15732
+ A.removeEventListener("mousedown", u), A.addEventListener("mousedown", u), A.setAttribute("data-index", String(R));
15729
15733
  });
15730
15734
  });
15731
15735
  }
15732
- function qG(t, e) {
15736
+ function YG(t, e) {
15733
15737
  let n;
15734
15738
  zt(() => {
15735
15739
  n = setInterval(t, e);
15736
15740
  }), Fi(() => clearInterval(n));
15737
15741
  }
15738
- function KG(t, e, n) {
15742
+ function JG(t, e, n) {
15739
15743
  const i = Xe({
15740
15744
  data: ju.deepClone(e(t.value)),
15741
15745
  changed: !1
@@ -15757,7 +15761,7 @@ function KG(t, e, n) {
15757
15761
  { deep: !0, immediate: !0 }
15758
15762
  ), i;
15759
15763
  }
15760
- function YG(t) {
15764
+ function XG(t) {
15761
15765
  const e = Xe({
15762
15766
  isLoading: !1,
15763
15767
  result: void 0,
@@ -15781,7 +15785,7 @@ function YG(t) {
15781
15785
  });
15782
15786
  return e.run = e.run.bind(e), e;
15783
15787
  }
15784
- function JG(t, e) {
15788
+ function QG(t, e) {
15785
15789
  function n(u, c) {
15786
15790
  const d = N(t);
15787
15791
  if (!d)
@@ -15818,7 +15822,7 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
15818
15822
  }, FI = { class: "ui-slider__base" }, RI = { class: "ui-slider__container" }, DI = { class: "ui-slider__container ui-slider__container-thumb" }, II = ["data-percent"], LI = ["data-percent"], OI = ["data-percent"], MI = {
15819
15823
  key: 0,
15820
15824
  class: "ui-slider__error"
15821
- }, XG = /* @__PURE__ */ ae({
15825
+ }, eB = /* @__PURE__ */ ae({
15822
15826
  __name: "SliderRangeTriple",
15823
15827
  props: {
15824
15828
  modelValue: {},
@@ -15839,7 +15843,7 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
15839
15843
  deltaValue1: 0,
15840
15844
  deltaValue2: 0,
15841
15845
  deltaValue3: 0
15842
- }), u = oe(), c = oe(), d = oe(), p = oe(), f = A(() => s.max - s.min), m = A(() => s), T = zc(m), k = A(() => $t((s.modelValue[0] ?? 0) + a.deltaValue1, s.min, s.max)), R = A(() => $t((s.modelValue[1] ?? 0) + a.deltaValue2, s.min, s.max)), $ = A(() => $t((s.modelValue[2] ?? 0) + a.deltaValue3, s.min, s.max)), Z = A(() => {
15846
+ }), u = oe(), c = oe(), d = oe(), p = oe(), f = k(() => s.max - s.min), m = k(() => s), T = zc(m), A = k(() => $t((s.modelValue[0] ?? 0) + a.deltaValue1, s.min, s.max)), R = k(() => $t((s.modelValue[1] ?? 0) + a.deltaValue2, s.min, s.max)), $ = k(() => $t((s.modelValue[2] ?? 0) + a.deltaValue3, s.min, s.max)), Z = k(() => {
15843
15847
  const M = s.modelValue;
15844
15848
  if (!(Array.isArray(M) && M.length === 3 && M.every((ce) => Number.isFinite(ce))))
15845
15849
  return "Expected model [number, number, number]";
@@ -15847,33 +15851,33 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
15847
15851
  return [...s.modelValue].forEach((ce) => {
15848
15852
  ce > s.max && W.push(`Max model value must be lower than max props ${s.max}.`), ce < s.min && W.push("Min model value must be greater than max props.");
15849
15853
  }), W.length > 0 ? W.join(" ") : s.error;
15850
- }), _ = A(() => (k.value - s.min) / f.value), F = A(() => (R.value - s.min) / f.value), Y = A(() => ($.value - s.min) / f.value), ne = A(() => V()), U = A(() => ({
15854
+ }), _ = k(() => (A.value - s.min) / f.value), F = k(() => (R.value - s.min) / f.value), Y = k(() => ($.value - s.min) / f.value), ne = k(() => V()), U = k(() => ({
15851
15855
  right: ne.value[0] + "%",
15852
15856
  left: 100 - ne.value[2] + "%"
15853
- })), ee = A(() => ({
15857
+ })), ee = k(() => ({
15854
15858
  right: Math.ceil((1 - _.value) * 100) + "%"
15855
- })), q = A(() => ({
15859
+ })), q = k(() => ({
15856
15860
  right: Math.ceil((1 - F.value) * 100) + "%"
15857
- })), B = A(() => ({
15861
+ })), B = k(() => ({
15858
15862
  right: Math.ceil((1 - Y.value) * 100) + "%"
15859
15863
  }));
15860
15864
  Tr(c, (M) => {
15861
15865
  var W;
15862
15866
  Pt((W = N(u)) == null ? void 0 : W.getBoundingClientRect(), (ce) => {
15863
15867
  const { dx: de } = M;
15864
- a.deltaValue1 = de / ce.width * f.value, c.value && D(c.value, s.modelValue[0], a.deltaValue1), M.stop && (X([K(k.value), K(R.value), K($.value)]), a.deltaValue1 = 0);
15868
+ a.deltaValue1 = de / ce.width * f.value, c.value && D(c.value, s.modelValue[0], a.deltaValue1), M.stop && (X([K(A.value), K(R.value), K($.value)]), a.deltaValue1 = 0);
15865
15869
  });
15866
15870
  }), Tr(d, (M) => {
15867
15871
  var W;
15868
15872
  Pt((W = N(u)) == null ? void 0 : W.getBoundingClientRect(), (ce) => {
15869
15873
  const { dx: de } = M;
15870
- a.deltaValue2 = de / ce.width * f.value, d.value && D(d.value, s.modelValue[1], a.deltaValue2), M.stop && (X([K(k.value), K(R.value), K($.value)]), a.deltaValue2 = 0);
15874
+ a.deltaValue2 = de / ce.width * f.value, d.value && D(d.value, s.modelValue[1], a.deltaValue2), M.stop && (X([K(A.value), K(R.value), K($.value)]), a.deltaValue2 = 0);
15871
15875
  });
15872
15876
  }), Tr(p, (M) => {
15873
15877
  var W;
15874
15878
  Pt((W = N(u)) == null ? void 0 : W.getBoundingClientRect(), (ce) => {
15875
15879
  const { dx: de } = M;
15876
- a.deltaValue3 = de / ce.width * f.value, p.value && D(p.value, s.modelValue[2], a.deltaValue3), M.stop && (X([K(k.value), K(R.value), K($.value)]), a.deltaValue3 = 0);
15880
+ a.deltaValue3 = de / ce.width * f.value, p.value && D(p.value, s.modelValue[2], a.deltaValue3), M.stop && (X([K(A.value), K(R.value), K($.value)]), a.deltaValue3 = 0);
15877
15881
  });
15878
15882
  });
15879
15883
  function D(M, W, ce) {
@@ -15939,7 +15943,7 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
15939
15943
  }, [
15940
15944
  O("div", {
15941
15945
  class: "ui-slider__progress",
15942
- style: je(U.value)
15946
+ style: He(U.value)
15943
15947
  }, null, 4)
15944
15948
  ], 512)
15945
15949
  ]),
@@ -15947,14 +15951,14 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
15947
15951
  O("div", DI, [
15948
15952
  s.breakpoints ? (C(!0), S(Ye, { key: 0 }, dt(N(T), (ce, de) => (C(), S("div", {
15949
15953
  key: de,
15950
- style: je({ right: `${ce}%` }),
15954
+ style: He({ right: `${ce}%` }),
15951
15955
  class: "ui-slider__thumb-step"
15952
15956
  }, null, 4))), 128)) : j("", !0),
15953
15957
  W[7] || (W[7] = I()),
15954
15958
  O("div", {
15955
15959
  ref_key: "thumbRef1",
15956
15960
  ref: c,
15957
- style: je(ee.value),
15961
+ style: He(ee.value),
15958
15962
  "data-percent": s.modelValue[0] + "%",
15959
15963
  class: "ui-slider__thumb ui-slider__triple-thumb",
15960
15964
  r1: "",
@@ -15967,7 +15971,7 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
15967
15971
  O("div", {
15968
15972
  ref_key: "thumbRef2",
15969
15973
  ref: d,
15970
- style: je(q.value),
15974
+ style: He(q.value),
15971
15975
  "data-percent": s.modelValue[1] + "%",
15972
15976
  class: "ui-slider__thumb ui-slider__triple-thumb",
15973
15977
  r2: "",
@@ -15980,7 +15984,7 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
15980
15984
  O("div", {
15981
15985
  ref_key: "thumbRef3",
15982
15986
  ref: p,
15983
- style: je(B.value),
15987
+ style: He(B.value),
15984
15988
  "data-percent": s.modelValue[2] + "%",
15985
15989
  class: "ui-slider__thumb ui-slider__triple-thumb",
15986
15990
  r3: "",
@@ -16010,7 +16014,7 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
16010
16014
  const n = t, i = e, s = Xe({
16011
16015
  left: n.modelValue[0],
16012
16016
  right: n.modelValue[1]
16013
- }), a = oe(!1), u = A(() => (a.value, "ui-input-range-focused")), c = A({
16017
+ }), a = oe(!1), u = k(() => (a.value, "ui-input-range-focused")), c = k({
16014
16018
  get() {
16015
16019
  return {
16016
16020
  left: Math.min(...n.modelValue),
@@ -16071,7 +16075,7 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
16071
16075
  }, UI = { class: "ui-slider__base" }, zI = { class: "ui-slider__container" }, WI = { class: "ui-slider__container ui-slider__container-thumb" }, HI = { class: "ui-slider__input-wrapper d-flex" }, jI = {
16072
16076
  key: 0,
16073
16077
  class: "ui-slider__error"
16074
- }, QG = /* @__PURE__ */ ae({
16078
+ }, tB = /* @__PURE__ */ ae({
16075
16079
  __name: "SliderRange",
16076
16080
  props: {
16077
16081
  modelValue: {},
@@ -16091,15 +16095,15 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
16091
16095
  const n = Wt(), i = e, s = t, a = Xe({
16092
16096
  deltaValue1: 0,
16093
16097
  deltaValue2: 0
16094
- }), u = oe(), c = oe(), d = oe(), p = oe(s.modelValue), f = oe(s.modelValue[0]), m = oe(s.modelValue[1]), T = A(() => s), k = zc(T), R = A(() => [f.value, m.value].sort((P, b) => P - b).join("-")), $ = A(() => s.max - s.min), Z = A(() => $t((s.modelValue[0] ?? 0) + a.deltaValue1, s.min, s.max)), _ = A(() => $t((s.modelValue[1] ?? 0) + a.deltaValue2, s.min, s.max)), F = A(() => {
16098
+ }), u = oe(), c = oe(), d = oe(), p = oe(s.modelValue), f = oe(s.modelValue[0]), m = oe(s.modelValue[1]), T = k(() => s), A = zc(T), R = k(() => [f.value, m.value].sort((P, b) => P - b).join("-")), $ = k(() => s.max - s.min), Z = k(() => $t((s.modelValue[0] ?? 0) + a.deltaValue1, s.min, s.max)), _ = k(() => $t((s.modelValue[1] ?? 0) + a.deltaValue2, s.min, s.max)), F = k(() => {
16095
16099
  const P = s.modelValue;
16096
16100
  return Array.isArray(P) && P.length === 2 && P.every((b) => Number.isFinite(b)) ? s.error : "Expected model [number, number]";
16097
- }), Y = A(() => (Z.value - s.min) / $.value), ne = A(() => (_.value - s.min) / $.value), U = A(() => D()), ee = A(() => ({
16101
+ }), Y = k(() => (Z.value - s.min) / $.value), ne = k(() => (_.value - s.min) / $.value), U = k(() => D()), ee = k(() => ({
16098
16102
  right: U.value[0] + "%",
16099
16103
  left: 100 - U.value[1] + "%"
16100
- })), q = A(() => ({
16104
+ })), q = k(() => ({
16101
16105
  right: Math.ceil((1 - Y.value) * 100) + "%"
16102
- })), B = A(() => ({
16106
+ })), B = k(() => ({
16103
16107
  right: Math.ceil((1 - ne.value) * 100) + "%"
16104
16108
  }));
16105
16109
  Le(
@@ -16172,22 +16176,22 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
16172
16176
  }, [
16173
16177
  O("div", {
16174
16178
  class: "ui-slider__progress",
16175
- style: je(ee.value)
16179
+ style: He(ee.value)
16176
16180
  }, null, 4)
16177
16181
  ], 512)
16178
16182
  ]),
16179
16183
  b[9] || (b[9] = I()),
16180
16184
  O("div", WI, [
16181
- s.breakpoints ? (C(!0), S(Ye, { key: 0 }, dt(N(k), (M, W) => (C(), S("div", {
16185
+ s.breakpoints ? (C(!0), S(Ye, { key: 0 }, dt(N(A), (M, W) => (C(), S("div", {
16182
16186
  key: W,
16183
- style: je({ right: `${M}%` }),
16187
+ style: He({ right: `${M}%` }),
16184
16188
  class: "ui-slider__thumb-step"
16185
16189
  }, null, 4))), 128)) : j("", !0),
16186
16190
  b[7] || (b[7] = I()),
16187
16191
  O("div", {
16188
16192
  ref_key: "thumbRef1",
16189
16193
  ref: c,
16190
- style: je(q.value),
16194
+ style: He(q.value),
16191
16195
  class: "ui-slider__thumb",
16192
16196
  tabindex: "0",
16193
16197
  onKeydown: b[0] || (b[0] = (M) => X(M, 0))
@@ -16198,7 +16202,7 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
16198
16202
  O("div", {
16199
16203
  ref_key: "thumbRef2",
16200
16204
  ref: d,
16201
- style: je(B.value),
16205
+ style: He(B.value),
16202
16206
  class: "ui-slider__thumb",
16203
16207
  tabindex: "0",
16204
16208
  onKeydown: b[1] || (b[1] = (M) => X(M, 1))
@@ -16232,7 +16236,7 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
16232
16236
  },
16233
16237
  emits: ["update:scrollTop"],
16234
16238
  setup(t, { emit: e }) {
16235
- const n = e, i = t, s = oe(), a = A(() => i.clientHeight / (i.scrollHeight || 1)), u = A(() => a.value < 1), c = A(() => {
16239
+ const n = e, i = t, s = oe(), a = k(() => i.clientHeight / (i.scrollHeight || 1)), u = k(() => a.value < 1), c = k(() => {
16236
16240
  const d = N(a);
16237
16241
  return {
16238
16242
  top: i.scrollTop * d + "px",
@@ -16257,7 +16261,7 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
16257
16261
  }, [
16258
16262
  O("div", {
16259
16263
  class: "v-scroll__scrollbar",
16260
- style: je(c.value)
16264
+ style: He(c.value)
16261
16265
  }, null, 4)
16262
16266
  ], 512)) : j("", !0);
16263
16267
  }
@@ -16270,7 +16274,7 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
16270
16274
  },
16271
16275
  emits: ["update:scrollLeft"],
16272
16276
  setup(t, { emit: e }) {
16273
- const n = e, i = t, s = oe(), a = A(() => i.clientWidth / (i.scrollWidth || 1)), u = A(() => a.value < 1), c = A(() => {
16277
+ const n = e, i = t, s = oe(), a = k(() => i.clientWidth / (i.scrollWidth || 1)), u = k(() => a.value < 1), c = k(() => {
16274
16278
  const d = N(a);
16275
16279
  return {
16276
16280
  left: i.scrollLeft * d + "px",
@@ -16295,11 +16299,11 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
16295
16299
  }, [
16296
16300
  O("div", {
16297
16301
  class: "h-scroll__scrollbar",
16298
- style: je(c.value)
16302
+ style: He(c.value)
16299
16303
  }, null, 4)
16300
16304
  ], 512)) : j("", !0);
16301
16305
  }
16302
- }), YI = { class: "ui-scrollable" }, eB = /* @__PURE__ */ ae({
16306
+ }), YI = { class: "ui-scrollable" }, nB = /* @__PURE__ */ ae({
16303
16307
  __name: "Scrollable",
16304
16308
  setup(t) {
16305
16309
  const e = oe(), n = Xe({
@@ -16346,7 +16350,7 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
16346
16350
  Ce(c.$slots, "default")
16347
16351
  ], 544),
16348
16352
  d[2] || (d[2] = I()),
16349
- Se(qI, {
16353
+ be(qI, {
16350
16354
  "scroll-top": n.scrollTop,
16351
16355
  "client-height": n.clientHeight,
16352
16356
  "scroll-height": n.scrollHeight,
@@ -16355,7 +16359,7 @@ const TI = { class: "ui-slider__wrapper" }, EI = { class: "ui-slider__label-sect
16355
16359
  "onUpdate:scrollTop": a
16356
16360
  }, null, 8, ["scroll-top", "client-height", "scroll-height"]),
16357
16361
  d[3] || (d[3] = I()),
16358
- Se(KI, {
16362
+ be(KI, {
16359
16363
  "scroll-left": n.scrollLeft,
16360
16364
  "client-width": n.clientWidth,
16361
16365
  "scroll-width": n.scrollWidth,
@@ -16950,7 +16954,7 @@ function rM() {
16950
16954
  }
16951
16955
  };
16952
16956
  }
16953
- const tB = [
16957
+ const iB = [
16954
16958
  "add",
16955
16959
  "arrow-down",
16956
16960
  "arrow-left",
@@ -17017,7 +17021,7 @@ const tB = [
17017
17021
  "x-axis",
17018
17022
  "y-axis",
17019
17023
  "zip"
17020
- ], nB = [
17024
+ ], rB = [
17021
17025
  "add-layer",
17022
17026
  "add",
17023
17027
  "align-center",
@@ -17217,7 +17221,7 @@ const tB = [
17217
17221
  "zip",
17218
17222
  "zoom-in",
17219
17223
  "zoom-out"
17220
- ], iB = { allCssVariables: rM(), icons16: DL, icons24: iM }, sM = { class: "block__not-found" }, oM = /* @__PURE__ */ ae({
17224
+ ], sB = { allCssVariables: rM(), icons16: DL, icons24: iM }, sM = { class: "block__not-found" }, oM = /* @__PURE__ */ ae({
17221
17225
  __name: "NotFound",
17222
17226
  setup(t) {
17223
17227
  const n = ug().useApp(), i = () => {
@@ -17227,7 +17231,7 @@ const tB = [
17227
17231
  };
17228
17232
  return (s, a) => (C(), S("div", sM, [
17229
17233
  O("h1", null, "Not found route: " + se(N(n).snapshot.navigationState.href), 1),
17230
- Se(N(wg), {
17234
+ be(N(wg), {
17231
17235
  onClick: Ke(i, ["stop"])
17232
17236
  }, {
17233
17237
  default: Te(() => a[0] || (a[0] = [
@@ -17256,7 +17260,7 @@ const cM = /* @__PURE__ */ Cl(aM, [["render", uM]]), dM = { class: "pl-app-notif
17256
17260
  errors: {}
17257
17261
  },
17258
17262
  setup(t) {
17259
- const e = t, n = oe(!1), i = oe(!0), s = A(() => Object.entries(e.errors).filter((u) => !!u[1]));
17263
+ const e = t, n = oe(!1), i = oe(!0), s = k(() => Object.entries(e.errors).filter((u) => !!u[1]));
17260
17264
  function a() {
17261
17265
  n.value = !0;
17262
17266
  }
@@ -17267,10 +17271,10 @@ const cM = /* @__PURE__ */ Cl(aM, [["render", uM]]), dM = { class: "pl-app-notif
17267
17271
  },
17268
17272
  { immediate: !0, deep: !0 }
17269
17273
  ), (u, c) => (C(), S("div", dM, [
17270
- Se(N(Pg), {
17274
+ be(N(Pg), {
17271
17275
  modelValue: n.value,
17272
17276
  "onUpdate:modelValue": c[0] || (c[0] = (d) => n.value = d),
17273
- width: "50%",
17277
+ width: "720px",
17274
17278
  style: { "max-height": "100vh" }
17275
17279
  }, {
17276
17280
  title: Te(() => c[2] || (c[2] = [
@@ -17285,7 +17289,7 @@ const cM = /* @__PURE__ */ Cl(aM, [["render", uM]]), dM = { class: "pl-app-notif
17285
17289
  class: "pl-app-notification-alert__item"
17286
17290
  }, [
17287
17291
  O("div", pM, se(d[0]), 1),
17288
- Se(N(aR), {
17292
+ be(N(aR), {
17289
17293
  value: (p = d[1]) == null ? void 0 : p.message
17290
17294
  }, null, 8, ["value"])
17291
17295
  ]);
@@ -17294,14 +17298,14 @@ const cM = /* @__PURE__ */ Cl(aM, [["render", uM]]), dM = { class: "pl-app-notif
17294
17298
  ]),
17295
17299
  _: 1
17296
17300
  }, 8, ["modelValue"]),
17297
- Se(N(pI), {
17301
+ be(N(pI), {
17298
17302
  modelValue: i.value,
17299
17303
  "onUpdate:modelValue": c[1] || (c[1] = (d) => i.value = d),
17300
17304
  type: "error",
17301
17305
  closable: ""
17302
17306
  }, {
17303
17307
  actions: Te(() => [
17304
- Se(N(Cg), {
17308
+ be(N(Cg), {
17305
17309
  icon: "arrow-right",
17306
17310
  onClick: a
17307
17311
  }, {
@@ -17310,7 +17314,7 @@ const cM = /* @__PURE__ */ Cl(aM, [["render", uM]]), dM = { class: "pl-app-notif
17310
17314
  ])),
17311
17315
  _: 1
17312
17316
  }),
17313
- Se(N(jT))
17317
+ be(N(jT))
17314
17318
  ]),
17315
17319
  default: Te(() => [
17316
17320
  c[4] || (c[4] = I(" Some outputs have errors. "))
@@ -17319,28 +17323,52 @@ const cM = /* @__PURE__ */ Cl(aM, [["render", uM]]), dM = { class: "pl-app-notif
17319
17323
  }, 8, ["modelValue"])
17320
17324
  ]));
17321
17325
  }
17322
- }), gM = { class: "block block__layout" }, mM = { key: 0 }, rB = /* @__PURE__ */ ae({
17326
+ }), gM = {
17327
+ key: 0,
17328
+ class: "block__loader"
17329
+ }, mM = /* @__PURE__ */ ae({
17330
+ __name: "BlockLoader",
17331
+ props: {
17332
+ value: { type: [Boolean, Number] }
17333
+ },
17334
+ setup(t) {
17335
+ const e = t, n = k(() => typeof e.value == "boolean" && e.value), i = k(() => {
17336
+ const s = e.value;
17337
+ if (typeof s == "number")
17338
+ return s >= 1 ? void 0 : (s * 100).toFixed(2) + "%";
17339
+ });
17340
+ return (s, a) => n.value ? (C(), S("div", gM)) : i.value !== void 0 ? (C(), S("div", {
17341
+ key: 1,
17342
+ class: "block__progress",
17343
+ style: He({ "--progress-width": i.value })
17344
+ }, null, 4)) : j("", !0);
17345
+ }
17346
+ }), vM = { class: "block block__layout" }, yM = { key: 0 }, oB = /* @__PURE__ */ ae({
17323
17347
  __name: "BlockLayout",
17324
17348
  setup(t) {
17325
- const e = ug(), n = (d) => {
17349
+ const e = ug(), n = (p) => {
17326
17350
  try {
17327
- return new URL(d, "http://dummy").pathname;
17351
+ return new URL(p, "http://dummy").pathname;
17328
17352
  } catch {
17329
- console.error("Invalid href", d);
17353
+ console.error("Invalid href", p);
17330
17354
  return;
17331
17355
  }
17332
- }, i = A(() => e.loaded ? e.useApp().href : void 0), s = A(() => {
17356
+ }, i = k(() => e.loaded ? e.useApp().href : void 0), s = k(() => {
17333
17357
  if (e.loaded) {
17334
- const d = e.useApp(), p = n(d.snapshot.navigationState.href);
17335
- return p ? d.getRoute(p) : void 0;
17358
+ const p = e.useApp(), f = n(p.snapshot.navigationState.href);
17359
+ return f ? p.getRoute(f) : void 0;
17336
17360
  }
17337
- }), a = A(() => e.loaded ? e.useApp() : void 0), u = A(() => a.value ? a.value.model.outputErrors : {}), c = A(() => {
17338
- var d;
17339
- return ((d = a.value) == null ? void 0 : d.showErrorsNotification) ?? !0;
17361
+ }), a = k(() => e.loaded ? e.useApp() : void 0), u = k(() => a.value ? a.value.model.outputErrors : {}), c = k(() => {
17362
+ var p;
17363
+ return ((p = a.value) == null ? void 0 : p.showErrorsNotification) ?? !0;
17364
+ }), d = k(() => {
17365
+ var p, f;
17366
+ return (f = (p = a.value) == null ? void 0 : p.progress) == null ? void 0 : f.call(p);
17340
17367
  });
17341
- return (d, p) => (C(), S("div", gM, [
17342
- N(e).error ? (C(), S("div", mM, se(N(e).error), 1)) : N(e).loaded ? s.value ? (C(), fe(Ac(s.value), { key: i.value })) : (C(), fe(oM, { key: 3 })) : (C(), fe(cM, { key: 1 }, {
17343
- default: Te(() => p[0] || (p[0] = [
17368
+ return (p, f) => (C(), S("div", vM, [
17369
+ be(mM, { value: d.value }, null, 8, ["value"]),
17370
+ N(e).error ? (C(), S("div", yM, se(N(e).error), 1)) : N(e).loaded ? s.value ? (C(), fe(Ac(s.value), { key: i.value })) : (C(), fe(oM, { key: 3 })) : (C(), fe(cM, { key: 1 }, {
17371
+ default: Te(() => f[0] || (f[0] = [
17344
17372
  I("Loading...")
17345
17373
  ])),
17346
17374
  _: 1
@@ -17364,7 +17392,7 @@ var cl = { exports: {} };
17364
17392
  cl.exports;
17365
17393
  (function(t, e) {
17366
17394
  (function() {
17367
- var n, i = "4.17.21", s = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", u = "Expected a function", c = "Invalid `variable` option passed into `_.template`", d = "__lodash_hash_undefined__", p = 500, f = "__lodash_placeholder__", m = 1, T = 2, k = 4, R = 1, $ = 2, Z = 1, _ = 2, F = 4, Y = 8, ne = 16, U = 32, ee = 64, q = 128, B = 256, D = 512, V = 30, K = "...", X = 800, P = 16, b = 1, M = 2, W = 3, ce = 1 / 0, de = 9007199254740991, We = 17976931348623157e292, lt = NaN, Ct = 4294967295, Dn = Ct - 1, ei = Ct >>> 1, Di = [
17395
+ var n, i = "4.17.21", s = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", u = "Expected a function", c = "Invalid `variable` option passed into `_.template`", d = "__lodash_hash_undefined__", p = 500, f = "__lodash_placeholder__", m = 1, T = 2, A = 4, R = 1, $ = 2, Z = 1, _ = 2, F = 4, Y = 8, ne = 16, U = 32, ee = 64, q = 128, B = 256, D = 512, V = 30, K = "...", X = 800, P = 16, b = 1, M = 2, W = 3, ce = 1 / 0, de = 9007199254740991, We = 17976931348623157e292, lt = NaN, Ct = 4294967295, Dn = Ct - 1, ei = Ct >>> 1, Di = [
17368
17396
  ["ary", q],
17369
17397
  ["bind", Z],
17370
17398
  ["bindKey", _],
@@ -18016,7 +18044,7 @@ cl.exports;
18016
18044
  for (; G-- && ue < we; ) {
18017
18045
  J += o;
18018
18046
  for (var $e = -1, Pe = r[J]; ++$e < te; ) {
18019
- var He = Q[$e], Je = He.iteratee, pn = He.type, Kt = Je(Pe);
18047
+ var je = Q[$e], Je = je.iteratee, pn = je.type, Kt = Je(Pe);
18020
18048
  if (pn == M)
18021
18049
  Pe = Kt;
18022
18050
  else if (!Kt) {
@@ -18220,7 +18248,7 @@ cl.exports;
18220
18248
  return r === r && (l !== n && (r = r <= l ? r : l), o !== n && (r = r >= o ? r : o)), r;
18221
18249
  }
18222
18250
  function An(r, o, l, h, g, y) {
18223
- var x, E = o & m, G = o & T, J = o & k;
18251
+ var x, E = o & m, G = o & T, J = o & A;
18224
18252
  if (l && (x = g ? l(r, h, g, y) : l(r)), x !== n)
18225
18253
  return x;
18226
18254
  if (!mt(r))
@@ -18248,12 +18276,12 @@ cl.exports;
18248
18276
  return we;
18249
18277
  y.set(r, x), lp(r) ? r.forEach(function(Pe) {
18250
18278
  x.add(An(Pe, o, l, Pe, r, y));
18251
- }) : op(r) && r.forEach(function(Pe, He) {
18252
- x.set(He, An(Pe, o, l, He, r, y));
18279
+ }) : op(r) && r.forEach(function(Pe, je) {
18280
+ x.set(je, An(Pe, o, l, je, r, y));
18253
18281
  });
18254
18282
  var Ee = J ? G ? _u : yu : G ? sn : Ft, $e = Q ? n : Ee(r);
18255
- return xn($e || r, function(Pe, He) {
18256
- $e && (He = Pe, Pe = r[He]), Os(x, He, An(Pe, o, l, He, r, y));
18283
+ return xn($e || r, function(Pe, je) {
18284
+ $e && (je = Pe, Pe = r[je]), Os(x, je, An(Pe, o, l, je, r, y));
18257
18285
  }), x;
18258
18286
  }
18259
18287
  function xy(r) {
@@ -19018,11 +19046,11 @@ cl.exports;
19018
19046
  function ma(r, o, l, h, g, y, x, E, G, J) {
19019
19047
  var Q = o & q, te = o & Z, ue = o & _, we = o & (Y | ne), Ee = o & D, $e = ue ? n : Ns(r);
19020
19048
  function Pe() {
19021
- for (var He = arguments.length, Je = z(He), pn = He; pn--; )
19049
+ for (var je = arguments.length, Je = z(je), pn = je; pn--; )
19022
19050
  Je[pn] = arguments[pn];
19023
19051
  if (we)
19024
19052
  var Kt = Jr(Pe), fn = pv(Je, Kt);
19025
- if (h && (Je = vh(Je, h, g, we)), y && (Je = yh(Je, y, x, we)), He -= fn, we && He < J) {
19053
+ if (h && (Je = vh(Je, h, g, we)), y && (Je = yh(Je, y, x, we)), je -= fn, we && je < J) {
19026
19054
  var bt = Mi(Je, Kt);
19027
19055
  return Ah(
19028
19056
  r,
@@ -19034,11 +19062,11 @@ cl.exports;
19034
19062
  bt,
19035
19063
  E,
19036
19064
  G,
19037
- J - He
19065
+ J - je
19038
19066
  );
19039
19067
  }
19040
19068
  var Bn = te ? l : this, bi = ue ? Bn[r] : r;
19041
- return He = Je.length, E ? Je = w_(Je, E) : Ee && He > 1 && Je.reverse(), Q && G < He && (Je.length = G), this && this !== Lt && this instanceof Pe && (bi = $e || Ns(bi)), bi.apply(Bn, Je);
19069
+ return je = Je.length, E ? Je = w_(Je, E) : Ee && je > 1 && Je.reverse(), Q && G < je && (Je.length = G), this && this !== Lt && this instanceof Pe && (bi = $e || Ns(bi)), bi.apply(Bn, Je);
19042
19070
  }
19043
19071
  return Pe;
19044
19072
  }
@@ -19190,8 +19218,8 @@ cl.exports;
19190
19218
  break;
19191
19219
  }
19192
19220
  if (we) {
19193
- if (!$l(o, function(He, Je) {
19194
- if (!Ps(we, Je) && (Ee === He || g(Ee, He, l, h, y)))
19221
+ if (!$l(o, function(je, Je) {
19222
+ if (!Ps(we, Je) && (Ee === je || g(Ee, je, l, h, y)))
19195
19223
  return we.push(Je);
19196
19224
  })) {
19197
19225
  ue = !1;
@@ -19255,10 +19283,10 @@ cl.exports;
19255
19283
  y.set(r, o), y.set(o, r);
19256
19284
  for (var Pe = x; ++te < G; ) {
19257
19285
  ue = E[te];
19258
- var He = r[ue], Je = o[ue];
19286
+ var je = r[ue], Je = o[ue];
19259
19287
  if (h)
19260
- var pn = x ? h(Je, He, ue, o, r, y) : h(He, Je, ue, r, o, y);
19261
- if (!(pn === n ? He === Je || g(He, Je, l, h, y) : pn)) {
19288
+ var pn = x ? h(Je, je, ue, o, r, y) : h(je, Je, ue, r, o, y);
19289
+ if (!(pn === n ? je === Je || g(je, Je, l, h, y) : pn)) {
19262
19290
  $e = !1;
19263
19291
  break;
19264
19292
  }
@@ -20082,7 +20110,7 @@ cl.exports;
20082
20110
  return h = g = n, J = bt, x = r.apply(bi, Bn), x;
20083
20111
  }
20084
20112
  function Ee(bt) {
20085
- return J = bt, E = Zs(He, o), Q ? we(bt) : x;
20113
+ return J = bt, E = Zs(je, o), Q ? we(bt) : x;
20086
20114
  }
20087
20115
  function $e(bt) {
20088
20116
  var Bn = bt - G, bi = bt - J, bp = o - Bn;
@@ -20092,11 +20120,11 @@ cl.exports;
20092
20120
  var Bn = bt - G, bi = bt - J;
20093
20121
  return G === n || Bn >= o || Bn < 0 || te && bi >= y;
20094
20122
  }
20095
- function He() {
20123
+ function je() {
20096
20124
  var bt = ka();
20097
20125
  if (Pe(bt))
20098
20126
  return Je(bt);
20099
- E = Zs(He, $e(bt));
20127
+ E = Zs(je, $e(bt));
20100
20128
  }
20101
20129
  function Je(bt) {
20102
20130
  return E = n, ue && h ? we(bt) : (h = g = n, x);
@@ -20113,9 +20141,9 @@ cl.exports;
20113
20141
  if (E === n)
20114
20142
  return Ee(G);
20115
20143
  if (te)
20116
- return ph(E), E = Zs(He, o), we(G);
20144
+ return ph(E), E = Zs(je, o), we(G);
20117
20145
  }
20118
- return E === n && (E = Zs(He, o)), x;
20146
+ return E === n && (E = Zs(je, o)), x;
20119
20147
  }
20120
20148
  return fn.cancel = pn, fn.flush = Kt, fn;
20121
20149
  }
@@ -20214,16 +20242,16 @@ cl.exports;
20214
20242
  return Ge(r) ? r : [r];
20215
20243
  }
20216
20244
  function gC(r) {
20217
- return An(r, k);
20245
+ return An(r, A);
20218
20246
  }
20219
20247
  function mC(r, o) {
20220
- return o = typeof o == "function" ? o : n, An(r, k, o);
20248
+ return o = typeof o == "function" ? o : n, An(r, A, o);
20221
20249
  }
20222
20250
  function vC(r) {
20223
- return An(r, m | k);
20251
+ return An(r, m | A);
20224
20252
  }
20225
20253
  function yC(r, o) {
20226
- return o = typeof o == "function" ? o : n, An(r, m | k, o);
20254
+ return o = typeof o == "function" ? o : n, An(r, m | A, o);
20227
20255
  }
20228
20256
  function _C(r, o) {
20229
20257
  return o == null || Wd(r, o, Ft(o));
@@ -20507,7 +20535,7 @@ cl.exports;
20507
20535
  var h = !1;
20508
20536
  o = gt(o, function(y) {
20509
20537
  return y = Ni(y, r), h || (h = y.length > 1), y;
20510
- }), ni(r, _u(r), l), h && (l = An(l, m | T | k, r_));
20538
+ }), ni(r, _u(r), l), h && (l = An(l, m | T | A, r_));
20511
20539
  for (var g = o.length; g--; )
20512
20540
  du(l, o[g]);
20513
20541
  return l;
@@ -20661,9 +20689,9 @@ cl.exports;
20661
20689
  "g"
20662
20690
  ), we = "//# sourceURL=" + (at.call(o, "sourceURL") ? (o.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Ym + "]") + `
20663
20691
  `;
20664
- r.replace(ue, function(Pe, He, Je, pn, Kt, fn) {
20665
- return Je || (Je = pn), te += r.slice(J, fn).replace(Tm, mv), He && (E = !0, te += `' +
20666
- __e(` + He + `) +
20692
+ r.replace(ue, function(Pe, je, Je, pn, Kt, fn) {
20693
+ return Je || (Je = pn), te += r.slice(J, fn).replace(Tm, mv), je && (E = !0, te += `' +
20694
+ __e(` + je + `) +
20667
20695
  '`), Kt && (G = !0, te += `';
20668
20696
  ` + Kt + `;
20669
20697
  __p += '`), Je && (te += `' +
@@ -20984,8 +21012,8 @@ function print() { __p += __j.call(arguments, '') }
20984
21012
  }, ti(qe.prototype, function(r, o) {
20985
21013
  var l = /^(?:filter|find|map|reject)|While$/.test(o), h = /^(?:head|last)$/.test(o), g = v[h ? "take" + (o == "last" ? "Right" : "") : o], y = h || /^find/.test(o);
20986
21014
  g && (v.prototype[o] = function() {
20987
- var x = this.__wrapped__, E = h ? [1] : arguments, G = x instanceof qe, J = E[0], Q = G || Ge(x), te = function(He) {
20988
- var Je = g.apply(v, Oi([He], E));
21015
+ var x = this.__wrapped__, E = h ? [1] : arguments, G = x instanceof qe, J = E[0], Q = G || Ge(x), te = function(je) {
21016
+ var Je = g.apply(v, Oi([je], E));
20989
21017
  return h && ue ? Je[0] : Je;
20990
21018
  };
20991
21019
  Q && l && typeof J == "function" && J.length != 1 && (G = Q = !1);
@@ -21024,13 +21052,13 @@ function print() { __p += __j.call(arguments, '') }
21024
21052
  }).call(zs);
21025
21053
  })(cl, cl.exports);
21026
21054
  var it = cl.exports;
21027
- const vM = { class: "grid-overlay-container" }, yM = /* @__PURE__ */ ae({
21055
+ const _M = { class: "grid-overlay-container" }, CM = /* @__PURE__ */ ae({
21028
21056
  __name: "PlAgOverlayLoading",
21029
21057
  props: {
21030
21058
  params: {}
21031
21059
  },
21032
21060
  setup(t) {
21033
- return (e, n) => (C(), S("div", vM, [
21061
+ return (e, n) => (C(), S("div", _M, [
21034
21062
  e.params.notReady ? (C(), S(Ye, { key: 0 }, [
21035
21063
  n[0] || (n[0] = O("div", { class: "grid-icon-cat-in-bag" }, null, -1)),
21036
21064
  n[1] || (n[1] = O("span", { class: "text-subtitle-m" }, "Not calculated", -1))
@@ -21040,28 +21068,28 @@ const vM = { class: "grid-overlay-container" }, yM = /* @__PURE__ */ ae({
21040
21068
  ], 64))
21041
21069
  ]));
21042
21070
  }
21043
- }), _M = {}, CM = { class: "grid-overlay-container" };
21044
- function wM(t, e) {
21045
- return C(), S("div", CM, e[0] || (e[0] = [
21071
+ }), wM = {}, bM = { class: "grid-overlay-container" };
21072
+ function xM(t, e) {
21073
+ return C(), S("div", bM, e[0] || (e[0] = [
21046
21074
  O("div", { class: "grid-icon-sad-cat" }, null, -1),
21047
21075
  O("span", { class: "text-subtitle-m" }, "Empty", -1)
21048
21076
  ]));
21049
21077
  }
21050
- const bM = /* @__PURE__ */ Cl(_M, [["render", wM]]);
21051
- async function xM(t, e) {
21078
+ const SM = /* @__PURE__ */ Cl(wM, [["render", xM]]);
21079
+ async function kM(t, e) {
21052
21080
  throw Error("not implemented");
21053
21081
  }
21054
- function SM(t) {
21082
+ function AM(t) {
21055
21083
  return t.axesSpec.filter((e) => {
21056
21084
  var n;
21057
21085
  return ((n = e.annotations) == null ? void 0 : n["pl7.app/axisNature"]) === "heterogeneous";
21058
21086
  });
21059
21087
  }
21060
- function kM(t, e) {
21088
+ function TM(t, e) {
21061
21089
  const n = [];
21062
21090
  for (const i of e)
21063
21091
  if (t[i].type === "column") {
21064
- const s = SM(t[i].spec);
21092
+ const s = AM(t[i].spec);
21065
21093
  for (const a of s) {
21066
21094
  if (a.type !== "String") {
21067
21095
  console.warn("heterogeneous axis with string type expected, got", a, "skipping");
@@ -21076,7 +21104,7 @@ function kM(t, e) {
21076
21104
  return n;
21077
21105
  }
21078
21106
  const Ug = (t, e) => (t + e).toString();
21079
- function AM(t, e, n, i, s, a) {
21107
+ function EM(t, e, n, i, s, a) {
21080
21108
  if (t.length > 1)
21081
21109
  throw Error("hColumns.length > 1 is not supported");
21082
21110
  const u = t[0];
@@ -21084,15 +21112,15 @@ function AM(t, e, n, i, s, a) {
21084
21112
  for (let m = 0; m < a.length; ++m)
21085
21113
  a[m] === u.axisIdx && (c = m), a[m] === u.columnIdx && (d = m);
21086
21114
  const p = (() => {
21087
- const T = i[c].data.filter((k) => k !== null);
21115
+ const T = i[c].data.filter((A) => A !== null);
21088
21116
  return Array.from(new Set(T));
21089
21117
  })();
21090
21118
  p.sort(), d > c ? (n.splice(d, 1), n.splice(c, 1)) : (n.splice(c, 1), n.splice(d, 1));
21091
- const f = TM(s, i, c, d, p, e.rows);
21119
+ const f = PM(s, i, c, d, p, e.rows);
21092
21120
  for (let m = 0; m < p.length; ++m) {
21093
- const T = p[m], k = T + "@" + m;
21121
+ const T = p[m], A = T + "@" + m;
21094
21122
  n.push({
21095
- colId: k,
21123
+ colId: A,
21096
21124
  field: Ug(i.length, m),
21097
21125
  headerName: T,
21098
21126
  valueFormatter: zg
@@ -21104,7 +21132,7 @@ function AM(t, e, n, i, s, a) {
21104
21132
  rowData: f
21105
21133
  };
21106
21134
  }
21107
- function TM(t, e, n, i, s, a) {
21135
+ function PM(t, e, n, i, s, a) {
21108
21136
  const u = /* @__PURE__ */ new Map();
21109
21137
  let c = 0;
21110
21138
  for (let p = 0; p < a; p++) {
@@ -21117,24 +21145,24 @@ function TM(t, e, n, i, s, a) {
21117
21145
  let m;
21118
21146
  const T = ms(Object.values(f)) ?? "";
21119
21147
  u.has(T) ? m = u.get(T) : (u.set(T, f), m = f, m.id = c.toString(), c++);
21120
- const k = s.indexOf(e[n].data[p]);
21121
- if (k === -1)
21148
+ const A = s.indexOf(e[n].data[p]);
21149
+ if (A === -1)
21122
21150
  throw Error("index not found");
21123
- const R = Ug(e.length, k);
21151
+ const R = Ug(e.length, A);
21124
21152
  m[R] = e[i].data[p];
21125
21153
  }
21126
21154
  return Array.from(u.values());
21127
21155
  }
21128
- function EM(t) {
21156
+ function FM(t) {
21129
21157
  return ms(t);
21130
21158
  }
21131
21159
  function lf(t) {
21132
21160
  return JSON.parse(t);
21133
21161
  }
21134
21162
  const zg = (t) => t ? t.value === void 0 ? "NULL" : t.value === null ? "NA" : t.value.toString() : "ERROR";
21135
- function PM(t, e, n) {
21163
+ function RM(t, e, n) {
21136
21164
  var s, a, u;
21137
- const i = EM(e);
21165
+ const i = FM(e);
21138
21166
  return {
21139
21167
  colId: i,
21140
21168
  field: t.toString(),
@@ -21180,7 +21208,7 @@ function Hg(t) {
21180
21208
  const e = [];
21181
21209
  return Ga(t, (n) => (e.push(n), n)), e;
21182
21210
  }
21183
- async function FM(t, e, n) {
21211
+ async function DM(t, e, n) {
21184
21212
  return n.length ? (await t.findColumns(e, {
21185
21213
  columnFilter: {
21186
21214
  name: ["pl7.app/label"]
@@ -21189,8 +21217,8 @@ async function FM(t, e, n) {
21189
21217
  strictlyCompatible: !0
21190
21218
  })).hits.filter((s) => s.spec.axesSpec.length === 1) : [];
21191
21219
  }
21192
- async function RM(t, e, n) {
21193
- const i = Hg(n), a = (await FM(t, e, i)).filter((u) => !it.find(i, (c) => u.columnId === c.columnId));
21220
+ async function IM(t, e, n) {
21221
+ const i = Hg(n), a = (await DM(t, e, i)).filter((u) => !it.find(i, (c) => u.columnId === c.columnId));
21194
21222
  return a.length === 0 ? n : {
21195
21223
  type: "outer",
21196
21224
  primary: n,
@@ -21200,13 +21228,13 @@ async function RM(t, e, n) {
21200
21228
  }))
21201
21229
  };
21202
21230
  }
21203
- async function DM(t, e, n, i) {
21231
+ async function LM(t, e, n, i) {
21204
21232
  const s = n.filter((f) => f.type !== "Bytes"), a = Hg(i), u = s.map((f) => []), c = s.map((f) => null);
21205
21233
  for (let f = 0; f < a.length; ++f) {
21206
21234
  const m = Dc(a[f].spec.axesSpec);
21207
21235
  for (let T = 0; T < m.length; ++T) {
21208
- const k = it.findIndex(s, (R) => it.isEqual(R, m[T]));
21209
- k === -1 || c[k] || (m.length === 1 && a[f].spec.name === "pl7.app/label" ? (u[k] = [[f, T]], c[k] = a[f].columnId) : u[k].push([f, T]));
21236
+ const A = it.findIndex(s, (R) => it.isEqual(R, m[T]));
21237
+ A === -1 || c[A] || (m.length === 1 && a[f].spec.name === "pl7.app/label" ? (u[A] = [[f, T]], c[A] = a[f].columnId) : u[A].push([f, T]));
21210
21238
  }
21211
21239
  }
21212
21240
  for (let f = s.length - 1; f >= 0; --f)
@@ -21214,18 +21242,18 @@ async function DM(t, e, n, i) {
21214
21242
  const d = 100, p = s.map((f) => /* @__PURE__ */ new Set());
21215
21243
  e: for (let f = s.length - 1; f >= 0; --f) {
21216
21244
  for (const [m, T] of u[f]) {
21217
- const k = await t.getUniqueValues(e, {
21245
+ const A = await t.getUniqueValues(e, {
21218
21246
  columnId: a[m].columnId,
21219
21247
  ...!c[f] && { axis: it.cloneDeep(s[f]) },
21220
21248
  filters: [],
21221
21249
  limit: d
21222
21250
  });
21223
- if (k.overflow) {
21251
+ if (A.overflow) {
21224
21252
  c.splice(f, 1), u.splice(f, 1), s.splice(f, 1);
21225
21253
  continue e;
21226
21254
  }
21227
- const R = k.values.type;
21228
- for (const $ of k.values.data)
21255
+ const R = A.values.type;
21256
+ for (const $ of A.values.data)
21229
21257
  if (!(Yf($, R) || $ === null) && (p[f].add(Wg($, R)), p[f].size === d)) {
21230
21258
  c.splice(f, 1), u.splice(f, 1), s.splice(f, 1);
21231
21259
  continue e;
@@ -21240,31 +21268,31 @@ async function DM(t, e, n, i) {
21240
21268
  const T = [...p[m]].map((R) => ({
21241
21269
  value: R,
21242
21270
  text: R.toString()
21243
- })), k = T[0].value;
21271
+ })), A = T[0].value;
21244
21272
  return {
21245
21273
  axis: it.cloneDeep(f),
21246
21274
  ...c[m] && { column: c[m] },
21247
21275
  options: T,
21248
- defaultValue: k
21276
+ defaultValue: A
21249
21277
  };
21250
21278
  });
21251
21279
  }
21252
- function IM(t, e, n, i) {
21280
+ function OM(t, e, n, i) {
21253
21281
  const s = t.length, a = [];
21254
21282
  for (let u = 0; u < e[0].data.length; ++u) {
21255
21283
  const c = [], d = (i++).toString();
21256
21284
  for (const f of n) c.push(e[f].data[u]);
21257
21285
  const p = { key: c, id: d };
21258
21286
  for (let f = 0; f < s; ++f) {
21259
- const m = t[f].toString(), T = e[f].data[u], k = e[f].type;
21260
- nS(e[f].absent, u) ? p[m] = void 0 : Yf(T, k) || T === null ? p[m] = null : p[m] = Wg(T, k);
21287
+ const m = t[f].toString(), T = e[f].data[u], A = e[f].type;
21288
+ nS(e[f].absent, u) ? p[m] = void 0 : Yf(T, A) || T === null ? p[m] = null : p[m] = Wg(T, A);
21261
21289
  }
21262
21290
  a.push(p);
21263
21291
  }
21264
21292
  return a;
21265
21293
  }
21266
- const LM = (t) => t.type === "column" && t.spec.axesSpec.length === 1 && t.spec.name === "pl7.app/label";
21267
- async function OM(t, e, n, i) {
21294
+ const MM = (t) => t.type === "column" && t.spec.axesSpec.length === 1 && t.spec.name === "pl7.app/label";
21295
+ async function GM(t, e, n, i) {
21268
21296
  const s = await t.getSpec(e);
21269
21297
  let a = s.findIndex((_) => _.type === "column");
21270
21298
  a === -1 && (a = s.length);
@@ -21273,10 +21301,10 @@ async function OM(t, e, n, i) {
21273
21301
  if (s[_].type !== s[F].type) return s[_].type === "axis" ? -1 : 1;
21274
21302
  const Y = (U = s[_].spec.annotations) == null ? void 0 : U["pl7.app/table/orderPriority"], ne = (ee = s[F].spec.annotations) == null ? void 0 : ee["pl7.app/table/orderPriority"];
21275
21303
  return Y === void 0 ? ne === void 0 ? 0 : 1 : ne === void 0 ? -1 : Number(ne) - Number(Y);
21276
- }), c = it.cloneDeep(u), d = kM(s, u);
21304
+ }), c = it.cloneDeep(u), d = TM(s, u);
21277
21305
  for (let _ = u.length - 1; _ >= 0; --_) {
21278
21306
  const F = u[_];
21279
- if (!LM(s[F])) continue;
21307
+ if (!MM(s[F])) continue;
21280
21308
  const Y = Dc(s[F].spec.axesSpec)[0], ne = it.findIndex(u, (U) => it.isEqual(s[U].id, Y));
21281
21309
  if (ne !== -1) {
21282
21310
  u[ne] = F;
@@ -21285,24 +21313,24 @@ async function OM(t, e, n, i) {
21285
21313
  u.splice(_, 1), c.splice(_, 1);
21286
21314
  }
21287
21315
  }
21288
- const p = await t.getShape(e), f = p.rows, m = c.map((_) => PM(_, s[_], i));
21316
+ const p = await t.getShape(e), f = p.rows, m = c.map((_) => RM(_, s[_], i));
21289
21317
  if (d.length > 1 && console.warn("Currently, only one heterogeneous axis is supported in the table, got", d.length, " transposition will not be applied."), d.length === 1)
21290
- return AM(d, p, m, await t.getData(e, u), c, u);
21291
- const T = [...u], k = /* @__PURE__ */ new Map();
21292
- for (let _ = 0; _ < a; ++_) k.set(_, -1);
21318
+ return EM(d, p, m, await t.getData(e, u), c, u);
21319
+ const T = [...u], A = /* @__PURE__ */ new Map();
21320
+ for (let _ = 0; _ < a; ++_) A.set(_, -1);
21293
21321
  for (let _ = 0; _ < T.length; ++_) {
21294
21322
  const F = T[_];
21295
- k.has(F) && k.set(F, _);
21323
+ A.has(F) && A.set(F, _);
21296
21324
  }
21297
- for (const [_, F] of k)
21298
- F === -1 && (k.set(
21325
+ for (const [_, F] of A)
21326
+ F === -1 && (A.set(
21299
21327
  _,
21300
21328
  T.length
21301
21329
  /* at this index value will be inserted in the next line */
21302
21330
  ), T.push(_));
21303
21331
  const R = [];
21304
21332
  for (let _ = 0; _ < a; ++_) {
21305
- const F = k.get(_);
21333
+ const F = A.get(_);
21306
21334
  if (F === void 0 || F === -1) throw new Error("assertion exception");
21307
21335
  R.push(F);
21308
21336
  }
@@ -21328,7 +21356,7 @@ async function OM(t, e, n, i) {
21328
21356
  offset: _.request.startRow,
21329
21357
  length: F
21330
21358
  });
21331
- Y = IM(c, ne, R, _.request.startRow);
21359
+ Y = OM(c, ne, R, _.request.startRow);
21332
21360
  }
21333
21361
  _.success({ rowData: Y, rowCount: f }), _.api.autoSizeAllColumns(), _.api.setGridOption("loading", !1);
21334
21362
  } catch (F) {
@@ -21338,10 +21366,10 @@ async function OM(t, e, n, i) {
21338
21366
  }
21339
21367
  };
21340
21368
  }
21341
- const MM = { class: "ap-ag-data-table-container" }, GM = {
21369
+ const BM = { class: "ap-ag-data-table-container" }, VM = {
21342
21370
  key: 0,
21343
21371
  class: "ap-ag-data-table-sheets"
21344
- }, BM = /* @__PURE__ */ ae({
21372
+ }, NM = /* @__PURE__ */ ae({
21345
21373
  __name: "PlAgDataTable",
21346
21374
  props: /* @__PURE__ */ Ai({
21347
21375
  settings: {}
@@ -21369,14 +21397,14 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21369
21397
  if (!M) throw Error("platforma not set");
21370
21398
  const W = M.pFrameDriver;
21371
21399
  if (!W) throw Error("platforma.pFrameDriver not set");
21372
- const ce = await RM(W, P.pFrame, P.join), de = i.value;
21400
+ const ce = await IM(W, P.pFrame, P.join), de = i.value;
21373
21401
  de.pTableParams || (de.pTableParams = {
21374
21402
  sorting: [],
21375
21403
  filters: []
21376
21404
  }), de.pTableParams.join = ce, i.value = de;
21377
21405
  }
21378
21406
  );
21379
- const c = qM(
21407
+ const c = YM(
21380
21408
  () => a.value.sourceType,
21381
21409
  async (P) => {
21382
21410
  var M;
@@ -21389,7 +21417,7 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21389
21417
  if (!ce) throw Error("platforma.pFrameDriver not set");
21390
21418
  if (!a.value.pFrame) return [];
21391
21419
  const de = a.value.pFrame, We = (M = i.value.pTableParams) == null ? void 0 : M.join;
21392
- return We ? await DM(ce, de, a.value.sheetAxes, We) : [];
21420
+ return We ? await LM(ce, de, a.value.sheetAxes, We) : [];
21393
21421
  }
21394
21422
  case "ptable":
21395
21423
  return a.value.sheets ?? [];
@@ -21411,7 +21439,7 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21411
21439
  };
21412
21440
  })) ?? [];
21413
21441
  }
21414
- const p = A({
21442
+ const p = k({
21415
21443
  get: () => {
21416
21444
  const P = i.value;
21417
21445
  return {
@@ -21446,7 +21474,7 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21446
21474
  }
21447
21475
  }))) ?? [];
21448
21476
  }
21449
- const T = A({
21477
+ const T = k({
21450
21478
  get: () => i.value.gridState.sheets ?? {},
21451
21479
  set: (P) => {
21452
21480
  const b = m(P), M = i.value;
@@ -21480,7 +21508,7 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21480
21508
  },
21481
21509
  { immediate: !0 }
21482
21510
  );
21483
- const k = tc(), R = tc({
21511
+ const A = tc(), R = tc({
21484
21512
  animateRows: !1,
21485
21513
  suppressColumnMoveAnimation: !0,
21486
21514
  cellSelection: !0,
@@ -21508,8 +21536,8 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21508
21536
  getRowId: (P) => P.data.id,
21509
21537
  loading: !0,
21510
21538
  loadingOverlayComponentParams: { notReady: !0 },
21511
- loadingOverlayComponent: yM,
21512
- noRowsOverlayComponent: bM,
21539
+ loadingOverlayComponent: CM,
21540
+ noRowsOverlayComponent: SM,
21513
21541
  sideBar: {
21514
21542
  toolPanels: [
21515
21543
  {
@@ -21538,7 +21566,7 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21538
21566
  }
21539
21567
  }), $ = (P) => {
21540
21568
  const b = P.api;
21541
- k.value = new Proxy(b, {
21569
+ A.value = new Proxy(b, {
21542
21570
  get(M, W, ce) {
21543
21571
  switch (W) {
21544
21572
  case "setGridOption":
@@ -21565,22 +21593,22 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21565
21593
  }), _ = (P) => {
21566
21594
  R.value.initialState = p.value = Z(P.state), P.api.autoSizeAllColumns();
21567
21595
  }, F = () => {
21568
- R.value.initialState = p.value = Z(k.value.getState()), k.value = void 0;
21596
+ R.value.initialState = p.value = Z(A.value.getState()), A.value = void 0;
21569
21597
  };
21570
21598
  let Y = !1;
21571
21599
  const ne = () => {
21572
21600
  if (!Y) return;
21573
- const P = k.value;
21601
+ const P = A.value;
21574
21602
  P !== void 0 && (P.exportDataAsCsv(), Y = !1, P.setGridOption("cacheBlockSize", 100));
21575
21603
  }, U = () => {
21576
21604
  if (!Y) return;
21577
- const P = k.value;
21605
+ const P = A.value;
21578
21606
  if (P === void 0) return;
21579
21607
  const b = P.getServerSideGroupLevelState()[0];
21580
21608
  b.cacheBlockSize === b.rowCount && P.refreshServerSide({ route: b.route, purge: !1 });
21581
21609
  };
21582
21610
  e({ exportCsv: async () => {
21583
- const P = k.value;
21611
+ const P = A.value;
21584
21612
  if (P !== void 0) {
21585
21613
  if (R.value.rowModelType === "clientSide") {
21586
21614
  P.exportDataAsCsv();
@@ -21598,7 +21626,7 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21598
21626
  } });
21599
21627
  const q = oe(0);
21600
21628
  Le(
21601
- () => [k.value, p.value],
21629
+ () => [A.value, p.value],
21602
21630
  (P, b) => {
21603
21631
  if (it.isEqual(P, b)) return;
21604
21632
  const [M, W] = P;
@@ -21619,7 +21647,7 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21619
21647
  const B = (P, b) => {
21620
21648
  var W;
21621
21649
  const M = T.value;
21622
- M[P] !== b && (M[P] = b, T.value = M, (W = k.value) == null || W.updateGridOptions({
21650
+ M[P] !== b && (M[P] = b, T.value = M, (W = A.value) == null || W.updateGridOptions({
21623
21651
  loading: !0,
21624
21652
  loadingOverlayComponentParams: { notReady: !1 }
21625
21653
  }));
@@ -21631,7 +21659,7 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21631
21659
  if (!K) throw Error("platforma.blobDriver not set");
21632
21660
  let X;
21633
21661
  return Le(
21634
- () => [k.value, a.value, c.value],
21662
+ () => [A.value, a.value, c.value],
21635
21663
  async (P) => {
21636
21664
  var de, We;
21637
21665
  const [b, M, W] = P;
@@ -21648,7 +21676,7 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21648
21676
  loadingOverlayComponentParams: { notReady: !0 },
21649
21677
  columnDefs: []
21650
21678
  });
21651
- const Ct = (We = (de = p.value) == null ? void 0 : de.columnVisibility) == null ? void 0 : We.hiddenColIds, Dn = await OM(V, lt, W, Ct);
21679
+ const Ct = (We = (de = p.value) == null ? void 0 : de.columnVisibility) == null ? void 0 : We.hiddenColIds, Dn = await GM(V, lt, W, Ct);
21652
21680
  return b.updateGridOptions({
21653
21681
  loading: Dn.rowModelType !== "clientSide",
21654
21682
  loadingOverlayComponentParams: { notReady: !1 },
@@ -21663,7 +21691,7 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21663
21691
  loadingOverlayComponentParams: { notReady: !0 },
21664
21692
  columnDefs: []
21665
21693
  });
21666
- const Ct = await xM(K, lt.value);
21694
+ const Ct = await kM(K, lt.value);
21667
21695
  return b.updateGridOptions({
21668
21696
  loading: !0,
21669
21697
  loadingOverlayComponentParams: { notReady: !1 },
@@ -21674,10 +21702,10 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21674
21702
  throw Error(`unsupported source type: ${ce}`);
21675
21703
  }
21676
21704
  }
21677
- ), (P, b) => (C(), S("div", MM, [
21678
- Se(Do, { name: "ap-ag-data-table-sheets-transition" }, {
21705
+ ), (P, b) => (C(), S("div", BM, [
21706
+ be(Do, { name: "ap-ag-data-table-sheets-transition" }, {
21679
21707
  default: Te(() => [
21680
- N(c).value && N(c).value.length > 0 ? (C(), S("div", GM, [
21708
+ N(c).value && N(c).value.length > 0 ? (C(), S("div", VM, [
21681
21709
  (C(!0), S(Ye, null, dt(N(c).value, (M, W) => (C(), fe(N(WP), {
21682
21710
  key: W,
21683
21711
  "model-value": T.value[f(M.axis)],
@@ -21701,10 +21729,10 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21701
21729
  }, null, 8, ["theme", "grid-options"]))
21702
21730
  ]));
21703
21731
  }
21704
- }), sB = /* @__PURE__ */ Cl(BM, [["__scopeId", "data-v-7ab26ece"]]), VM = {
21732
+ }), aB = /* @__PURE__ */ Cl(NM, [["__scopeId", "data-v-7ab26ece"]]), $M = {
21705
21733
  key: 0,
21706
21734
  class: "d-flex gap-10 flex-column"
21707
- }, NM = { key: 0 }, $M = /* @__PURE__ */ ae({
21735
+ }, ZM = { key: 0 }, UM = /* @__PURE__ */ ae({
21708
21736
  __name: "PlTableFilters",
21709
21737
  props: /* @__PURE__ */ Ai({
21710
21738
  columns: {},
@@ -21716,7 +21744,7 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21716
21744
  }),
21717
21745
  emits: ["update:modelValue"],
21718
21746
  setup(t) {
21719
- const e = Mr(t, "modelValue"), n = t, { columns: i, restrictions: s, defaults: a } = Cf(n), u = (D) => ms(D.id), c = A(() => i.value.filter((D) => {
21747
+ const e = Mr(t, "modelValue"), n = t, { columns: i, restrictions: s, defaults: a } = Cf(n), u = (D) => ms(D.id), c = k(() => i.value.filter((D) => {
21720
21748
  const V = D.type;
21721
21749
  switch (V) {
21722
21750
  case "axis":
@@ -21729,14 +21757,14 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21729
21757
  }).map((D) => ({
21730
21758
  column: D,
21731
21759
  id: u(D)
21732
- }))), d = A(() => {
21760
+ }))), d = k(() => {
21733
21761
  const D = s.value ?? [], V = {};
21734
21762
  for (const { column: K, id: X } of c.value) {
21735
21763
  const P = it.find(D, (b) => it.isEqual(b.column.id, K.id));
21736
21764
  P !== void 0 && (V[X] = P.allowedFilterTypes);
21737
21765
  }
21738
21766
  return V;
21739
- }), p = A(() => {
21767
+ }), p = k(() => {
21740
21768
  const D = a.value ?? [], V = {};
21741
21769
  for (const { column: K, id: X } of c.value) {
21742
21770
  const P = it.find(D, (b) => it.isEqual(b.column.id, K.id));
@@ -21795,7 +21823,7 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21795
21823
  default:
21796
21824
  throw Error(`unsupported filter type: ${D}`);
21797
21825
  }
21798
- }, k = [
21826
+ }, A = [
21799
21827
  "isNotNA",
21800
21828
  "isNA",
21801
21829
  "number_equals",
@@ -21815,10 +21843,10 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21815
21843
  "string_matches",
21816
21844
  "string_doesNotMatch",
21817
21845
  "string_containsFuzzyMatch"
21818
- ], $ = A(() => {
21846
+ ], $ = k(() => {
21819
21847
  const D = d.value, V = {};
21820
21848
  for (const { column: K, id: X } of c.value) {
21821
- let b = (K.type === "column" ? K.spec.valueType : K.spec.type) === "String" ? R : k;
21849
+ let b = (K.type === "column" ? K.spec.valueType : K.spec.type) === "String" ? R : A;
21822
21850
  const M = D[X];
21823
21851
  M !== void 0 && (b = b.filter((W) => M.includes(W))), V[X] = b.map((W) => ({
21824
21852
  value: W,
@@ -21826,7 +21854,7 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
21826
21854
  }));
21827
21855
  }
21828
21856
  return V;
21829
- }), Z = A(() => it.some(Object.values($.value), (D) => D.length > 0)), _ = (D) => {
21857
+ }), Z = k(() => it.some(Object.values($.value), (D) => D.length > 0)), _ = (D) => {
21830
21858
  const V = D.type;
21831
21859
  switch (V) {
21832
21860
  case "isNotNA":
@@ -22030,8 +22058,8 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
22030
22058
  (C(!0), S(Ye, null, dt(c.value, ({ column: K, id: X }, P) => {
22031
22059
  var b, M, W, ce, de, We, lt, Ct, Dn, ei, Di, hi, hr, Vo;
22032
22060
  return C(), S("div", { key: X }, [
22033
- $.value[X].length > 0 ? (C(), S("form", VM, [
22034
- Se(N(FF), {
22061
+ $.value[X].length > 0 ? (C(), S("form", $M, [
22062
+ be(N(FF), {
22035
22063
  "model-value": !!m.state[X],
22036
22064
  "onUpdate:modelValue": (nt) => ne(X, nt)
22037
22065
  }, {
@@ -22061,24 +22089,24 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
22061
22089
  label: "Reference value"
22062
22090
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : j("", !0),
22063
22091
  ((lt = m.state[X]) == null ? void 0 : lt.type) === "number_between" ? (C(), S(Ye, { key: 2 }, [
22064
- Se(N(is), {
22092
+ be(N(is), {
22065
22093
  modelValue: m.state[X].lowerBound,
22066
22094
  "onUpdate:modelValue": (nt) => m.state[X].lowerBound = nt,
22067
22095
  parse: ee,
22068
22096
  label: "Lower bound"
22069
22097
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
22070
- Se(N(Qu), {
22098
+ be(N(Qu), {
22071
22099
  modelValue: m.state[X].includeLowerBound,
22072
22100
  "onUpdate:modelValue": (nt) => m.state[X].includeLowerBound = nt,
22073
22101
  label: "Include lower bound"
22074
22102
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
22075
- Se(N(is), {
22103
+ be(N(is), {
22076
22104
  modelValue: m.state[X].upperBound,
22077
22105
  "onUpdate:modelValue": (nt) => m.state[X].upperBound = nt,
22078
22106
  parse: ee,
22079
22107
  label: "Upper bound"
22080
22108
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
22081
- Se(N(Qu), {
22109
+ be(N(Qu), {
22082
22110
  modelValue: m.state[X].includeUpperBound,
22083
22111
  "onUpdate:modelValue": (nt) => m.state[X].includeUpperBound = nt,
22084
22112
  label: "Include upper bound"
@@ -22091,24 +22119,24 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
22091
22119
  label: "Reference value"
22092
22120
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : j("", !0),
22093
22121
  ((Vo = m.state[X]) == null ? void 0 : Vo.type) === "string_containsFuzzyMatch" ? (C(), S(Ye, { key: 4 }, [
22094
- Se(N(is), {
22122
+ be(N(is), {
22095
22123
  modelValue: m.state[X].reference,
22096
22124
  "onUpdate:modelValue": (nt) => m.state[X].reference = nt,
22097
22125
  label: "Reference value"
22098
22126
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
22099
- Se(N(SI), {
22127
+ be(N(SI), {
22100
22128
  modelValue: m.state[X].maxEdits,
22101
22129
  "onUpdate:modelValue": (nt) => m.state[X].maxEdits = nt,
22102
22130
  max: 5,
22103
22131
  breakpoints: "",
22104
22132
  label: "Maximum nuber of substitutions and indels"
22105
22133
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
22106
- Se(N(Qu), {
22134
+ be(N(Qu), {
22107
22135
  modelValue: m.state[X].substitutionsOnly,
22108
22136
  "onUpdate:modelValue": (nt) => m.state[X].substitutionsOnly = nt,
22109
22137
  label: "Substitutions only"
22110
22138
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
22111
- Se(N(tl), {
22139
+ be(N(tl), {
22112
22140
  modelValue: m.state[X].wildcard,
22113
22141
  "onUpdate:modelValue": (nt) => m.state[X].wildcard = nt,
22114
22142
  options: U(m.state[X].reference),
@@ -22120,38 +22148,38 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
22120
22148
  ])) : j("", !0)
22121
22149
  ]);
22122
22150
  }), 128)),
22123
- Z.value ? j("", !0) : (C(), S("div", NM, "No filters applicable"))
22151
+ Z.value ? j("", !0) : (C(), S("div", ZM, "No filters applicable"))
22124
22152
  ], 64));
22125
22153
  }
22126
- }), oB = /* @__PURE__ */ Cl($M, [["__scopeId", "data-v-b30bf5ef"]]), ZM = {
22154
+ }), lB = /* @__PURE__ */ Cl(UM, [["__scopeId", "data-v-b30bf5ef"]]), zM = {
22127
22155
  key: 1,
22128
22156
  class: "alert-error"
22129
- }, UM = { key: 2 }, aB = /* @__PURE__ */ ae({
22157
+ }, WM = { key: 2 }, uB = /* @__PURE__ */ ae({
22130
22158
  __name: "ValueOrErrorsComponent",
22131
22159
  props: {
22132
22160
  valueOrError: {}
22133
22161
  },
22134
22162
  setup(t) {
22135
- const e = t, n = A(() => e.valueOrError && e.valueOrError.ok ? e.valueOrError.value : void 0), i = A(() => e.valueOrError && !e.valueOrError.ok ? e.valueOrError.errors : void 0), s = A(() => n.value === void 0 && i.value === void 0);
22163
+ const e = t, n = k(() => e.valueOrError && e.valueOrError.ok ? e.valueOrError.value : void 0), i = k(() => e.valueOrError && !e.valueOrError.ok ? e.valueOrError.errors : void 0), s = k(() => n.value === void 0 && i.value === void 0);
22136
22164
  return (a, u) => (C(), S("div", null, [
22137
22165
  n.value !== void 0 ? Ce(a.$slots, "default", vf(Gt({ key: 0 }, { value: n.value }))) : j("", !0),
22138
- i.value ? (C(), S("div", ZM, se(i.value), 1)) : j("", !0),
22139
- s.value ? (C(), S("div", UM, "Unresolved")) : j("", !0)
22166
+ i.value ? (C(), S("div", zM, se(i.value), 1)) : j("", !0),
22167
+ s.value ? (C(), S("div", WM, "Unresolved")) : j("", !0)
22140
22168
  ]));
22141
22169
  }
22142
- }), zM = { style: { height: "100%" } }, lB = /* @__PURE__ */ ae({
22170
+ }), HM = { style: { height: "100%" } }, cB = /* @__PURE__ */ ae({
22143
22171
  __name: "PlAgCellFile",
22144
22172
  props: {
22145
22173
  params: {}
22146
22174
  },
22147
22175
  setup(t) {
22148
- const e = t, n = A(() => e.params.extensions), i = A(() => e.params.value);
22176
+ const e = t, n = k(() => e.params.extensions), i = k(() => e.params.value);
22149
22177
  function s(u) {
22150
22178
  e.params.setValue(u);
22151
22179
  }
22152
- const a = A(() => e.params.resolveProgress ? e.params.resolveProgress(i.value) : void 0);
22153
- return (u, c) => (C(), S("div", zM, [
22154
- Se(N(lI), {
22180
+ const a = k(() => e.params.resolveProgress ? e.params.resolveProgress(i.value) : void 0);
22181
+ return (u, c) => (C(), S("div", HM, [
22182
+ be(N(lI), {
22155
22183
  "show-filename-only": "",
22156
22184
  clearable: "",
22157
22185
  "cell-style": "",
@@ -22164,40 +22192,45 @@ const MM = { class: "ap-ag-data-table-container" }, GM = {
22164
22192
  }, null, 8, ["placeholder", "extensions", "model-value", "progress"])
22165
22193
  ]));
22166
22194
  }
22167
- }), WM = { class: "pl-ag-grid-open-cell d-flex" }, HM = { class: "pl-ag-grid-open-cell__value" }, uB = /* @__PURE__ */ ae({
22195
+ }), jM = { class: "pl-ag-grid-open-cell d-flex" }, qM = { class: "pl-ag-grid-open-cell__value" }, dB = /* @__PURE__ */ ae({
22168
22196
  __name: "PlAgTextAndButtonCell",
22169
22197
  props: {
22170
22198
  params: {}
22171
22199
  },
22172
22200
  setup(t) {
22173
22201
  const e = t;
22202
+ console.log(e);
22174
22203
  function n() {
22175
- const i = document.querySelector(`.ag-row[row-index="${e.params.node.rowIndex}"]`);
22176
- if (i) {
22177
- const s = new MouseEvent("dblclick", {
22178
- bubbles: !0,
22179
- cancelable: !0,
22180
- view: window
22181
- });
22204
+ if (e.params.invokeRowsOnDoubleClick) {
22205
+ const i = e.params.api, s = {
22206
+ rowPinned: e.params.node.rowPinned,
22207
+ api: i,
22208
+ rowIndex: e.params.node.rowIndex,
22209
+ context: i,
22210
+ type: "rowDoubleClicked",
22211
+ node: e.params.node,
22212
+ data: e.params.data,
22213
+ event: null
22214
+ };
22182
22215
  i.dispatchEvent(s);
22183
22216
  } else
22184
- console.warn(`Row with index ${e.params.node.rowIndex} not found.`);
22217
+ e.params.onClick && e.params.onClick(e.params);
22185
22218
  }
22186
- return (i, s) => (C(), S("div", WM, [
22187
- O("div", HM, se(i.params.value), 1),
22219
+ return (i, s) => (C(), S("div", jM, [
22220
+ O("div", qM, se(i.params.value), 1),
22188
22221
  O("div", {
22189
22222
  class: "pl-ag-grid-open-cell__activator text-caps11 align-center",
22190
22223
  onClick: Ke(n, ["stop"])
22191
22224
  }, [
22192
- Se(N(Ir), {
22193
- name: i.params.plIcon ?? "maximize"
22225
+ be(N(Ir), {
22226
+ name: i.params.icon ?? "maximize"
22194
22227
  }, null, 8, ["name"]),
22195
- I(" " + se(i.params.plBtnLabel ?? "Open"), 1)
22228
+ I(" " + se(i.params.btnLabel ?? "Open"), 1)
22196
22229
  ])
22197
22230
  ]));
22198
22231
  }
22199
22232
  }), Ba = /* @__PURE__ */ new Map();
22200
- function jM(t, e) {
22233
+ function KM(t, e) {
22201
22234
  const n = yf() ?? zb(), i = n.run(() => (_f(() => {
22202
22235
  Ba.delete(t);
22203
22236
  }), Xe(e())));
@@ -22205,12 +22238,12 @@ function jM(t, e) {
22205
22238
  n.stop();
22206
22239
  }, i;
22207
22240
  }
22208
- function cB(t) {
22241
+ function hB(t) {
22209
22242
  const e = Symbol();
22210
- return () => (Ba.has(e) || Ba.set(e, jM(e, t)), Ba.get(e));
22243
+ return () => (Ba.has(e) || Ba.set(e, KM(e, t)), Ba.get(e));
22211
22244
  }
22212
- function dB(t) {
22213
- return A(() => {
22245
+ function pB(t) {
22246
+ return k(() => {
22214
22247
  try {
22215
22248
  return zx(t());
22216
22249
  } catch (e) {
@@ -22221,9 +22254,9 @@ function dB(t) {
22221
22254
  }
22222
22255
  });
22223
22256
  }
22224
- function qM(t, e, n) {
22257
+ function YM(t, e, n) {
22225
22258
  const i = oe(0), s = Xe({
22226
- loading: A(() => i.value > 0),
22259
+ loading: k(() => i.value > 0),
22227
22260
  loadingRef: i,
22228
22261
  value: void 0,
22229
22262
  error: void 0
@@ -22278,7 +22311,7 @@ if (typeof dl > "u") {
22278
22311
  t && (t = !1, qg("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.", "NO_ABORT_CONTROLLER", "ENOTSUP", e));
22279
22312
  };
22280
22313
  }
22281
- const KM = (t) => !jg.has(t), Hi = (t) => t && t === Math.floor(t) && t > 0 && isFinite(t), Kg = (t) => Hi(t) ? t <= Math.pow(2, 8) ? Uint8Array : t <= Math.pow(2, 16) ? Uint16Array : t <= Math.pow(2, 32) ? Uint32Array : t <= Number.MAX_SAFE_INTEGER ? Va : null : null;
22314
+ const JM = (t) => !jg.has(t), Hi = (t) => t && t === Math.floor(t) && t > 0 && isFinite(t), Kg = (t) => Hi(t) ? t <= Math.pow(2, 8) ? Uint8Array : t <= Math.pow(2, 16) ? Uint16Array : t <= Math.pow(2, 32) ? Uint32Array : t <= Number.MAX_SAFE_INTEGER ? Va : null : null;
22282
22315
  class Va extends Array {
22283
22316
  constructor(e) {
22284
22317
  super(e), this.fill(0);
@@ -22424,13 +22457,13 @@ const Wc = class Wc {
22424
22457
  * `Object.prototype.toString`.
22425
22458
  */
22426
22459
  st(this, hf, "LRUCache");
22427
- const { max: n = 0, ttl: i, ttlResolution: s = 1, ttlAutopurge: a, updateAgeOnGet: u, updateAgeOnHas: c, allowStale: d, dispose: p, disposeAfter: f, noDisposeOnSet: m, noUpdateTTL: T, maxSize: k = 0, maxEntrySize: R = 0, sizeCalculation: $, fetchMethod: Z, memoMethod: _, noDeleteOnFetchRejection: F, noDeleteOnStaleGet: Y, allowStaleOnFetchRejection: ne, allowStaleOnFetchAbort: U, ignoreFetchAbort: ee } = e;
22460
+ const { max: n = 0, ttl: i, ttlResolution: s = 1, ttlAutopurge: a, updateAgeOnGet: u, updateAgeOnHas: c, allowStale: d, dispose: p, disposeAfter: f, noDisposeOnSet: m, noUpdateTTL: T, maxSize: A = 0, maxEntrySize: R = 0, sizeCalculation: $, fetchMethod: Z, memoMethod: _, noDeleteOnFetchRejection: F, noDeleteOnStaleGet: Y, allowStaleOnFetchRejection: ne, allowStaleOnFetchAbort: U, ignoreFetchAbort: ee } = e;
22428
22461
  if (n !== 0 && !Hi(n))
22429
22462
  throw new TypeError("max option must be a nonnegative integer");
22430
22463
  const q = n ? Kg(n) : Array;
22431
22464
  if (!q)
22432
22465
  throw new Error("invalid max value: " + n);
22433
- if (Ae(this, Vn, n), Ae(this, gn, k), this.maxEntrySize = R || w(this, gn), this.sizeCalculation = $, this.sizeCalculation) {
22466
+ if (Ae(this, Vn, n), Ae(this, gn, A), this.maxEntrySize = R || w(this, gn), this.sizeCalculation = $, this.sizeCalculation) {
22434
22467
  if (!w(this, gn) && !this.maxEntrySize)
22435
22468
  throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");
22436
22469
  if (typeof this.sizeCalculation != "function")
@@ -22456,7 +22489,7 @@ const Wc = class Wc {
22456
22489
  throw new TypeError("At least one of max, maxSize, or ttl is required");
22457
22490
  if (!this.ttlAutopurge && !w(this, Vn) && !w(this, gn)) {
22458
22491
  const B = "LRU_CACHE_UNBOUNDED";
22459
- KM(B) && (jg.add(B), qg("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", B, Wc));
22492
+ JM(B) && (jg.add(B), qg("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", B, Wc));
22460
22493
  }
22461
22494
  }
22462
22495
  /**
@@ -22787,7 +22820,7 @@ const Wc = class Wc {
22787
22820
  * `cache.delete(key)`. `undefined` is never stored in the cache.
22788
22821
  */
22789
22822
  set(e, n, i = {}) {
22790
- var T, k, R, $, Z;
22823
+ var T, A, R, $, Z;
22791
22824
  if (n === void 0)
22792
22825
  return this.delete(e), this;
22793
22826
  const { ttl: s = this.ttl, start: a, noDisposeOnSet: u = this.noDisposeOnSet, sizeCalculation: c = this.sizeCalculation, status: d } = i;
@@ -22805,7 +22838,7 @@ const Wc = class Wc {
22805
22838
  if (w(this, tr) && _e(this, le, pt).call(this, _)) {
22806
22839
  _.__abortController.abort(new Error("replaced"));
22807
22840
  const { __staleWhileFetching: F } = _;
22808
- F !== void 0 && !u && (w(this, Hn) && ((T = w(this, Nn)) == null || T.call(this, F, e, "set")), w(this, Jt) && ((k = w(this, It)) == null || k.push([F, e, "set"])));
22841
+ F !== void 0 && !u && (w(this, Hn) && ((T = w(this, Nn)) == null || T.call(this, F, e, "set")), w(this, Jt) && ((A = w(this, It)) == null || A.push([F, e, "set"])));
22809
22842
  } else u || (w(this, Hn) && ((R = w(this, Nn)) == null || R.call(this, _, e, "set")), w(this, Jt) && (($ = w(this, It)) == null || $.push([_, e, "set"])));
22810
22843
  if (w(this, kr).call(this, m), w(this, ps).call(this, m, f, d), w(this, Me)[m] = n, d) {
22811
22844
  d.set = "replace";
@@ -22903,7 +22936,7 @@ const Wc = class Wc {
22903
22936
  // fetch exclusive options
22904
22937
  noDeleteOnFetchRejection: m = this.noDeleteOnFetchRejection,
22905
22938
  allowStaleOnFetchRejection: T = this.allowStaleOnFetchRejection,
22906
- ignoreFetchAbort: k = this.ignoreFetchAbort,
22939
+ ignoreFetchAbort: A = this.ignoreFetchAbort,
22907
22940
  allowStaleOnFetchAbort: R = this.allowStaleOnFetchAbort,
22908
22941
  context: $,
22909
22942
  forceRefresh: Z = !1,
@@ -22929,7 +22962,7 @@ const Wc = class Wc {
22929
22962
  noDeleteOnFetchRejection: m,
22930
22963
  allowStaleOnFetchRejection: T,
22931
22964
  allowStaleOnFetchAbort: R,
22932
- ignoreFetchAbort: k,
22965
+ ignoreFetchAbort: A,
22933
22966
  status: _,
22934
22967
  signal: F
22935
22968
  };
@@ -23096,11 +23129,11 @@ Vn = new WeakMap(), gn = new WeakMap(), Nn = new WeakMap(), $n = new WeakMap(),
23096
23129
  const { aborted: _ } = u.signal, F = i.ignoreFetchAbort && $ !== void 0;
23097
23130
  if (i.status && (_ && !Z ? (i.status.fetchAborted = !0, i.status.fetchError = u.signal.reason, F && (i.status.fetchAbortIgnored = !0)) : i.status.fetchResolved = !0), _ && !F && !Z)
23098
23131
  return m(u.signal.reason);
23099
- const Y = k;
23100
- return w(this, Me)[n] === k && ($ === void 0 ? Y.__staleWhileFetching ? w(this, Me)[n] = Y.__staleWhileFetching : _e(this, le, Ki).call(this, e, "fetch") : (i.status && (i.status.fetchUpdated = !0), this.set(e, $, d.options))), $;
23132
+ const Y = A;
23133
+ return w(this, Me)[n] === A && ($ === void 0 ? Y.__staleWhileFetching ? w(this, Me)[n] = Y.__staleWhileFetching : _e(this, le, Ki).call(this, e, "fetch") : (i.status && (i.status.fetchUpdated = !0), this.set(e, $, d.options))), $;
23101
23134
  }, f = ($) => (i.status && (i.status.fetchRejected = !0, i.status.fetchError = $), m($)), m = ($) => {
23102
- const { aborted: Z } = u.signal, _ = Z && i.allowStaleOnFetchAbort, F = _ || i.allowStaleOnFetchRejection, Y = F || i.noDeleteOnFetchRejection, ne = k;
23103
- if (w(this, Me)[n] === k && (!Y || ne.__staleWhileFetching === void 0 ? _e(this, le, Ki).call(this, e, "fetch") : _ || (w(this, Me)[n] = ne.__staleWhileFetching)), F)
23135
+ const { aborted: Z } = u.signal, _ = Z && i.allowStaleOnFetchAbort, F = _ || i.allowStaleOnFetchRejection, Y = F || i.noDeleteOnFetchRejection, ne = A;
23136
+ if (w(this, Me)[n] === A && (!Y || ne.__staleWhileFetching === void 0 ? _e(this, le, Ki).call(this, e, "fetch") : _ || (w(this, Me)[n] = ne.__staleWhileFetching)), F)
23104
23137
  return i.status && ne.__staleWhileFetching !== void 0 && (i.status.returnedStale = !0), ne.__staleWhileFetching;
23105
23138
  if (ne.__returned === ne)
23106
23139
  throw $;
@@ -23112,7 +23145,7 @@ Vn = new WeakMap(), gn = new WeakMap(), Nn = new WeakMap(), $n = new WeakMap(),
23112
23145
  });
23113
23146
  };
23114
23147
  i.status && (i.status.fetchDispatched = !0);
23115
- const k = new Promise(T).then(p, f), R = Object.assign(k, {
23148
+ const A = new Promise(T).then(p, f), R = Object.assign(A, {
23116
23149
  __abortController: u,
23117
23150
  __staleWhileFetching: a,
23118
23151
  __returned: void 0
@@ -23177,11 +23210,11 @@ Vn = new WeakMap(), gn = new WeakMap(), Nn = new WeakMap(), $n = new WeakMap(),
23177
23210
  }
23178
23211
  };
23179
23212
  let Cc = Wc;
23180
- const YM = {
23213
+ const XM = {
23181
23214
  cacheSize: 15e6
23182
23215
  // 15 Mb
23183
23216
  };
23184
- class JM {
23217
+ class QM {
23185
23218
  constructor(e) {
23186
23219
  st(this, "_str");
23187
23220
  st(this, "_rawJson");
@@ -23203,10 +23236,10 @@ const xr = class xr {
23203
23236
  constructor(e) {
23204
23237
  st(this, "fileDataCache");
23205
23238
  st(this, "fileDataRefs", /* @__PURE__ */ new Map());
23206
- const n = { ...YM, ...e ?? {} };
23239
+ const n = { ...XM, ...e ?? {} };
23207
23240
  this.fileDataCache = new Cc({
23208
23241
  maxSize: n.cacheSize,
23209
- fetchMethod: async (i) => new JM(await sS().blobDriver.getContent(i)),
23242
+ fetchMethod: async (i) => new QM(await sS().blobDriver.getContent(i)),
23210
23243
  sizeCalculation: (i) => i.bytes.length,
23211
23244
  /** Will also be called on error fetching the file */
23212
23245
  dispose: (i, s) => {
@@ -23230,7 +23263,7 @@ const xr = class xr {
23230
23263
  getContentBytes(e) {
23231
23264
  if (e === void 0) return;
23232
23265
  const n = this.getDataRef(e);
23233
- return A(() => {
23266
+ return k(() => {
23234
23267
  var i;
23235
23268
  return (i = n.value) == null ? void 0 : i.bytes;
23236
23269
  });
@@ -23238,7 +23271,7 @@ const xr = class xr {
23238
23271
  getContentString(e) {
23239
23272
  if (e === void 0) return;
23240
23273
  const n = this.getDataRef(e);
23241
- return A(() => {
23274
+ return k(() => {
23242
23275
  var i;
23243
23276
  return (i = n == null ? void 0 : n.value) == null ? void 0 : i.str;
23244
23277
  });
@@ -23246,7 +23279,7 @@ const xr = class xr {
23246
23279
  getContentJson(e, n) {
23247
23280
  if (e === void 0) return;
23248
23281
  const i = this.getDataRef(e);
23249
- return A(() => {
23282
+ return k(() => {
23250
23283
  var s, a;
23251
23284
  return n === void 0 ? (s = i == null ? void 0 : i.value) == null ? void 0 : s.rawJson : (a = i == null ? void 0 : i.value) == null ? void 0 : a.validatedJson(n);
23252
23285
  });
@@ -23265,123 +23298,123 @@ st(xr, "globalInstance", new xr());
23265
23298
  let cf = xr;
23266
23299
  export {
23267
23300
  Xk as AgGridTheme,
23268
- rB as BlockLayout,
23269
- WG as ContextProvider,
23270
- vG as DataTable,
23271
- iB as DemoData,
23301
+ oB as BlockLayout,
23302
+ jG as ContextProvider,
23303
+ _G as DataTable,
23304
+ sB as DemoData,
23272
23305
  Oo as DropdownListItem,
23273
23306
  Eg as LongText,
23274
23307
  Lf as MultiError,
23275
- UG as PlAccordion,
23276
- zG as PlAccordionSection,
23277
- lB as PlAgCellFile,
23278
- sB as PlAgDataTable,
23279
- yM as PlAgOverlayLoading,
23280
- bM as PlAgOverlayNoRows,
23281
- uB as PlAgTextAndButtonCell,
23282
- TG as PlAlert,
23283
- xG as PlBlockPage,
23284
- PG as PlBtnAccent,
23285
- FG as PlBtnDanger,
23308
+ WG as PlAccordion,
23309
+ HG as PlAccordionSection,
23310
+ cB as PlAgCellFile,
23311
+ aB as PlAgDataTable,
23312
+ CM as PlAgOverlayLoading,
23313
+ SM as PlAgOverlayNoRows,
23314
+ dB as PlAgTextAndButtonCell,
23315
+ PG as PlAlert,
23316
+ kG as PlBlockPage,
23317
+ RG as PlBtnAccent,
23318
+ DG as PlBtnDanger,
23286
23319
  bg as PlBtnGhost,
23287
- DG as PlBtnGroup,
23288
- RG as PlBtnLink,
23320
+ LG as PlBtnGroup,
23321
+ IG as PlBtnLink,
23289
23322
  Cg as PlBtnPrimary,
23290
23323
  wg as PlBtnSecondary,
23291
- EG as PlBtnSplit,
23324
+ FG as PlBtnSplit,
23292
23325
  FF as PlCheckbox,
23293
- NG as PlCheckboxGroup,
23326
+ ZG as PlCheckboxGroup,
23294
23327
  rf as PlChip,
23295
- SG as PlContainer,
23328
+ AG as PlContainer,
23296
23329
  Pg as PlDialogModal,
23297
23330
  tl as PlDropdown,
23298
- MG as PlDropdownLegacy,
23331
+ BG as PlDropdownLegacy,
23299
23332
  WP as PlDropdownLine,
23300
- VG as PlDropdownMulti,
23301
- OG as PlDropdownRef,
23333
+ $G as PlDropdownMulti,
23334
+ GG as PlDropdownRef,
23302
23335
  qR as PlFileDialog,
23303
23336
  lI as PlFileInput,
23304
- AG as PlGrid,
23337
+ EG as PlGrid,
23305
23338
  Zc as PlIcon16,
23306
23339
  YE as PlIcon24,
23307
23340
  aR as PlLogView,
23308
23341
  Ir as PlMaskIcon16,
23309
23342
  Qi as PlMaskIcon24,
23310
23343
  pI as PlNotificationAlert,
23311
- BG as PlNumberField,
23312
- GG as PlProgressBar,
23313
- kG as PlRow,
23344
+ NG as PlNumberField,
23345
+ VG as PlProgressBar,
23346
+ TG as PlRow,
23314
23347
  CR as PlSectionSeparator,
23315
- $G as PlSlideModal,
23348
+ UG as PlSlideModal,
23316
23349
  jT as PlSpacer,
23317
- oB as PlTableFilters,
23318
- ZG as PlTabs,
23319
- IG as PlTextArea,
23350
+ lB as PlTableFilters,
23351
+ zG as PlTabs,
23352
+ OG as PlTextArea,
23320
23353
  is as PlTextField,
23321
23354
  Qu as PlToggleSwitch,
23322
23355
  ln as PlTooltip,
23323
23356
  cf as ReactiveFileContent,
23324
- eB as Scrollable,
23357
+ nB as Scrollable,
23325
23358
  SI as Slider,
23326
- QG as SliderRange,
23327
- XG as SliderRangeTriple,
23328
- bG as ThemeSwitcher,
23359
+ tB as SliderRange,
23360
+ eB as SliderRangeTriple,
23361
+ SG as ThemeSwitcher,
23329
23362
  If as UnresolvedError,
23330
- aB as ValueOrErrorsComponent,
23363
+ uB as ValueOrErrorsComponent,
23331
23364
  Yk as activateAgGrid,
23332
23365
  FT as animate,
23333
- CG as animateInfinite,
23366
+ bG as animateInfinite,
23334
23367
  kT as call,
23335
- dB as computedResult,
23368
+ pB as computedResult,
23336
23369
  Ip as createModel,
23337
23370
  RT as debounce,
23338
- mG as defineApp,
23339
- cB as defineStore,
23371
+ yG as defineApp,
23372
+ hB as defineStore,
23340
23373
  AT as delay,
23341
- LG as detectOutside,
23374
+ MG as detectOutside,
23342
23375
  Gf as ensureError,
23343
23376
  Tg as eventListener,
23344
23377
  Vf as formatZodError,
23345
23378
  gP as getElementScrollPosition,
23346
23379
  Mf as identity,
23347
- gG as isDefined,
23380
+ vG as isDefined,
23348
23381
  fP as isElementVisible,
23349
23382
  Of as isJsonEqual,
23350
23383
  Bf as isZodError,
23351
- wG as listToOptions,
23352
- _G as makeEaseInOut,
23384
+ xG as listToOptions,
23385
+ wG as makeEaseInOut,
23353
23386
  PT as makeEaseOut,
23354
- tB as maskIcons16,
23355
- nB as maskIcons24,
23387
+ iB as maskIcons16,
23388
+ rB as maskIcons24,
23356
23389
  Dr as normalizeListOptions,
23357
23390
  vg as notEmpty,
23358
23391
  ET as randomInt,
23359
- yG as randomString,
23392
+ CG as randomString,
23360
23393
  yg as requestTick,
23361
23394
  yl as scrollIntoView,
23362
23395
  gg as showContextMenu,
23363
23396
  DT as throttle,
23364
23397
  TT as timeout,
23365
- fG as unwrapOptionalResult,
23398
+ mG as unwrapOptionalResult,
23366
23399
  Ux as unwrapValueOrErrors,
23367
23400
  Nc as useClickOutside,
23368
- JG as useDraggable,
23401
+ QG as useDraggable,
23369
23402
  kt as useEventListener,
23370
- KG as useFormState,
23403
+ JG as useFormState,
23371
23404
  XA as useHover,
23372
- qG as useInterval,
23405
+ YG as useInterval,
23373
23406
  dr as useLabelNotch,
23374
23407
  OT as useLocalStorage,
23375
23408
  JA as useMouse,
23376
23409
  Tr as useMouseCapture,
23377
23410
  Mo as usePosition,
23378
- YG as useQuery,
23411
+ XG as useQuery,
23379
23412
  kI as useResizeObserver,
23380
- HG as useScroll,
23413
+ qG as useScroll,
23381
23414
  ug as useSdkPlugin,
23382
- jG as useSortable,
23415
+ KG as useSortable,
23383
23416
  GT as useTheme,
23384
- qM as useWatchFetch,
23417
+ YM as useWatchFetch,
23385
23418
  zx as wrapOptionalResult,
23386
- pG as wrapValueOrErrors
23419
+ gG as wrapValueOrErrors
23387
23420
  };