@turquoisehealth/pit-viper 2.61.1-dev.1 → 2.62.1-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".pv-popover-list[data-v-cda1af8c]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:transparent;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.pv-button-loading[data-v-942d55a7]{width:16px;height:16px;border:2px solid #ccc;border-top-color:#fff;border-radius:50%;animation:spin-942d55a7 1s linear infinite}@keyframes spin-942d55a7{to{transform:rotate(360deg)}}.pv-badge-md[data-v-fc3c1104]{--inset-size: 2px 2px;min-height:20px;max-height:20px;min-width:20px;font-weight:500}.pv-badge-sm[data-v-fc3c1104]{--inset-size: 0 2px;min-height:16px;max-height:16px;min-width:16px;font-weight:500}.pv-surface-lighten-5[data-v-fc3c1104]{background-color:#e0e5e4}.pv-text-secondary[data-v-fc3c1104]{color:#4b595c}.pv-menu-item-disabled[data-v-8ae6f9c7]{color:#7d898d;pointer-events:none;background:#ececec}.pv-menu-item[data-v-8ae6f9c7]{cursor:pointer}.pv-table-row-count{position:absolute;right:12px;top:6px;opacity:1;background-color:#f7f8f8;transition:opacity .3s ease}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{padding:8px 12px 8px 0;text-align:center;color:#89989b}.focus-button{opacity:0;transition:opacity .2s ease}.option-label:hover .focus-button{opacity:1}.suggested-label[data-v-395868e1]:hover{color:#16696d}.ag-custom-header-cell[data-v-08855a14]{height:100%;align-items:center}.ag-header-actions .ag-header-cell-menu-button[data-v-08855a14]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-08855a14]{opacity:1}.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-08855a14]{opacity:1}.pv-table-row-number[data-v-ae67b797]{padding:8px 12px 8px 0;text-align:center;color:#89989b}.pv-table-overlay{position:absolute;margin-top:20px;z-index:2;background:#fff;width:100%;top:50%;left:50%;height:95%;transform:translate(-50%,-50%);pointer-events:none}.ag-header-cell-resize{border:none!important}.ag-row-group-leaf-indent{padding-left:7px;margin-left:0}.ag-custom-loading-cell{width:100%;height:40%;margin:15px;background-color:#ccc;border-radius:4px}.ag-group-value{width:100%}.ag-menu-option:hover{background-color:#f7f8f8}.ag-menu-option:active{background-color:#e8f2f4}.ag-menu-option-text{font-family:Inter,sans-serif}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".pv-popover-list[data-v-cda1af8c]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:transparent;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.pv-button-loading[data-v-942d55a7]{width:16px;height:16px;border:2px solid #ccc;border-top-color:#fff;border-radius:50%;animation:spin-942d55a7 1s linear infinite}@keyframes spin-942d55a7{to{transform:rotate(360deg)}}.pv-badge-md[data-v-fc3c1104]{--inset-size: 2px 2px;min-height:20px;max-height:20px;min-width:20px;font-weight:500}.pv-badge-sm[data-v-fc3c1104]{--inset-size: 0 2px;min-height:16px;max-height:16px;min-width:16px;font-weight:500}.pv-surface-lighten-5[data-v-fc3c1104]{background-color:#e0e5e4}.pv-text-secondary[data-v-fc3c1104]{color:#4b595c}.pv-menu-item-disabled[data-v-8ae6f9c7]{color:#7d898d;pointer-events:none;background:#ececec}.pv-menu-item[data-v-8ae6f9c7]{cursor:pointer}.pv-table-row-count{position:absolute;right:12px;top:6px;opacity:1;background-color:#f7f8f8;transition:opacity .3s ease}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{padding:8px 12px 8px 0;text-align:center;color:#89989b}.focus-button{opacity:0;transition:opacity .2s ease}.option-label:hover .focus-button{opacity:1}.suggested-label[data-v-1f565f31]:hover{color:#16696d}.ag-custom-header-cell[data-v-08855a14]{height:100%;align-items:center}.ag-header-actions .ag-header-cell-menu-button[data-v-08855a14]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-08855a14]{opacity:1}.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-08855a14]{opacity:1}.pv-table-row-number[data-v-ae67b797]{padding:8px 12px 8px 0;text-align:center;color:#89989b}.pv-table-overlay{position:absolute;margin-top:20px;z-index:2;background:#fff;width:100%;top:50%;left:50%;height:95%;transform:translate(-50%,-50%);pointer-events:none}.ag-header-cell-resize{border:none!important}.ag-row-group-leaf-indent{padding-left:7px;margin-left:0}.ag-custom-loading-cell{width:100%;height:40%;margin:15px;background-color:#ccc;border-radius:4px}.ag-group-value{width:100%}.ag-menu-option:hover{background-color:#f7f8f8}.ag-menu-option:active{background-color:#e8f2f4}.ag-menu-option-text{font-family:Inter,sans-serif}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
2
  import { defineComponent as Fe, mergeModels as Zo, useTemplateRef as hi, ref as Y, toRefs as af, watch as it, useModel as Si, getCurrentInstance as di, createElementBlock as z, onMounted as Bo, markRaw as lf, onUnmounted as df, openBlock as k, mergeDefaults as cf, toRaw as vd, isRef as fl, isReactive as uf, isProxy as hf, createVNode as Le, render as Cd, toRef as pf, readonly as pu, customRef as gf, shallowRef as An, toValue as Xe, nextTick as ss, getCurrentScope as ff, onScopeDispose as mf, computed as K, unref as ie, normalizeStyle as Ri, renderSlot as bt, withDirectives as qi, createElementVNode as Z, createBlock as ye, normalizeClass as Oe, createTextVNode as io, Teleport as ml, withCtx as qe, createCommentVNode as te, onBeforeMount as vl, Fragment as ze, toDisplayString as Re, withModifiers as rr, vModelText as vf, resolveDynamicComponent as Vs, normalizeProps as Xi, mergeProps as _s, renderList as Do, vShow as Cf, vModelDynamic as bf, vModelCheckbox as wf, inject as tt, onBeforeUnmount as yf, createSlots as bd, guardReactiveProps as wd, provide as At } from "vue";
3
3
  var Eo = class {
4
4
  constructor() {
@@ -533,7 +533,7 @@ function Bu(e, t, o = 100, i) {
533
533
  };
534
534
  a(), n || (r = window.setInterval(a, 10));
535
535
  }
536
- var he = "33.2.4", Dd = 2e3, Pd = 100, Nu = "_version_", Hu = null, fi = `${Ou}/javascript-data-grid`;
536
+ var pe = "33.2.4", Dd = 2e3, Pd = 100, Nu = "_version_", Hu = null, fi = `${Ou}/javascript-data-grid`;
537
537
  function Kf(e) {
538
538
  Hu = e;
539
539
  }
@@ -580,7 +580,7 @@ function Qf(e, t, o) {
580
580
  }
581
581
  function _u(e, t) {
582
582
  const o = new URLSearchParams();
583
- if (o.append(Nu, he), t)
583
+ if (o.append(Nu, pe), t)
584
584
  for (const r of Object.keys(t))
585
585
  o.append(r, Xf(t[r]));
586
586
  const i = `${fi}/errors/${e}`, s = za(i, o);
@@ -595,7 +595,7 @@ var Zf = (e, t, o) => {
595
595
  function W(...e) {
596
596
  Dl(Ds, e[0], e[1]);
597
597
  }
598
- function fe(...e) {
598
+ function me(...e) {
599
599
  Dl(Hi, e[0], e[1]);
600
600
  }
601
601
  function Wa(e, t, o) {
@@ -1988,10 +1988,10 @@ function Pt(e, t, o) {
1988
1988
  return !1;
1989
1989
  if (t?.state && !t.state.forEach)
1990
1990
  return W(32), !1;
1991
- const m = (S, D, F, M, b) => {
1991
+ const m = (S, P, F, D, b) => {
1992
1992
  if (!S)
1993
1993
  return;
1994
- const v = Pm(D, t.defaultState), R = v("flex").value1;
1994
+ const v = Pm(P, t.defaultState), R = v("flex").value1;
1995
1995
  if (lh(
1996
1996
  e,
1997
1997
  S,
@@ -2004,13 +2004,13 @@ function Pt(e, t, o) {
2004
2004
  ), R == null) {
2005
2005
  const x = v("width").value1;
2006
2006
  if (x != null) {
2007
- const T = S.getColDef().minWidth ?? u.getDefaultColumnMinWidth();
2008
- T != null && x >= T && S.setActualWidth(x, o);
2007
+ const I = S.getColDef().minWidth ?? u.getDefaultColumnMinWidth();
2008
+ I != null && x >= I && S.setActualWidth(x, o);
2009
2009
  }
2010
2010
  }
2011
- b || !S.isPrimary() || (h?.syncColumnWithState(S, o, v), s?.syncColumnWithState(S, o, v, F), r?.syncColumnWithState(S, o, v, M));
2012
- }, w = (S, D, F) => {
2013
- const M = fh(e, o), b = D.slice(), v = {}, R = {}, x = [], T = [], V = [];
2011
+ b || !S.isPrimary() || (h?.syncColumnWithState(S, o, v), s?.syncColumnWithState(S, o, v, F), r?.syncColumnWithState(S, o, v, D));
2012
+ }, w = (S, P, F) => {
2013
+ const D = fh(e, o), b = P.slice(), v = {}, R = {}, x = [], I = [], V = [];
2014
2014
  let L = 0;
2015
2015
  const H = s?.columns.slice() ?? [], N = r?.columns.slice() ?? [];
2016
2016
  S.forEach((G) => {
@@ -2020,7 +2020,7 @@ function Pt(e, t, o) {
2020
2020
  return;
2021
2021
  }
2022
2022
  if (Lo($)) {
2023
- T.push(G), V.push(G);
2023
+ I.push(G), V.push(G);
2024
2024
  return;
2025
2025
  }
2026
2026
  const Q = F($);
@@ -2040,12 +2040,12 @@ function Pt(e, t, o) {
2040
2040
  n?.getColumns()?.slice()
2041
2041
  ), B(
2042
2042
  (G) => a?.getColumn(G) ?? null,
2043
- T,
2043
+ I,
2044
2044
  a?.getColumns()?.slice()
2045
2045
  ), Om(t, i, g), d.refresh(o), p.dispatchEvent({
2046
2046
  type: "columnEverythingChanged",
2047
2047
  source: o
2048
- }), M(), { unmatchedAndAutoStates: V, unmatchedCount: L };
2048
+ }), D(), { unmatchedAndAutoStates: V, unmatchedCount: L };
2049
2049
  };
2050
2050
  l?.start();
2051
2051
  let { unmatchedAndAutoStates: C, unmatchedCount: y } = w(
@@ -2058,7 +2058,7 @@ function Pt(e, t, o) {
2058
2058
  y = w(
2059
2059
  C,
2060
2060
  S,
2061
- (D) => c?.getPivotResultCol(D) ?? null
2061
+ (P) => c?.getPivotResultCol(P) ?? null
2062
2062
  ).unmatchedCount;
2063
2063
  }
2064
2064
  return l?.finish(), y === 0;
@@ -2086,11 +2086,11 @@ function fh(e, t) {
2086
2086
  return d.forEach((u) => {
2087
2087
  c[u.colId] = u;
2088
2088
  }), () => {
2089
- const u = (F, M, b, v) => {
2090
- const R = M.map(v), x = b.map(v);
2089
+ const u = (F, D, b, v) => {
2090
+ const R = D.map(v), x = b.map(v);
2091
2091
  if (oo(R, x))
2092
2092
  return;
2093
- const V = new Set(M);
2093
+ const V = new Set(D);
2094
2094
  b.forEach((H) => {
2095
2095
  V.delete(H) || V.add(H);
2096
2096
  });
@@ -2102,11 +2102,11 @@ function fh(e, t) {
2102
2102
  source: t
2103
2103
  });
2104
2104
  }, h = (F) => {
2105
- const M = [];
2105
+ const D = [];
2106
2106
  return r.forAllCols((b) => {
2107
2107
  const v = c[b.getColId()];
2108
- v && F(v, b) && M.push(b);
2109
- }), M;
2108
+ v && F(v, b) && D.push(b);
2109
+ }), D;
2110
2110
  }, p = (F) => F.getColId();
2111
2111
  u(
2112
2112
  "columnRowGroupChanged",
@@ -2119,15 +2119,15 @@ function fh(e, t) {
2119
2119
  i?.columns ?? [],
2120
2120
  p
2121
2121
  );
2122
- const f = h((F, M) => {
2123
- const b = F.aggFunc != null, v = b != M.isValueActive(), R = b && F.aggFunc != M.getAggFunc();
2122
+ const f = h((F, D) => {
2123
+ const b = F.aggFunc != null, v = b != D.isValueActive(), R = b && F.aggFunc != D.getAggFunc();
2124
2124
  return v || R;
2125
2125
  });
2126
- f.length > 0 && ph(a, "columnValueChanged", f, t), un(a, h((F, M) => F.width != M.getActualWidth()), !0, t), hh(a, h((F, M) => F.pinned != M.getPinned()), t), Gm(a, h((F, M) => F.hide == M.isVisible()), t);
2127
- const S = h((F, M) => F.sort != M.getSort() || F.sortIndex != M.getSortIndex());
2126
+ f.length > 0 && ph(a, "columnValueChanged", f, t), un(a, h((F, D) => F.width != D.getActualWidth()), !0, t), hh(a, h((F, D) => F.pinned != D.getPinned()), t), Gm(a, h((F, D) => F.hide == D.isVisible()), t);
2127
+ const S = h((F, D) => F.sort != D.getSort() || F.sortIndex != D.getSortIndex());
2128
2128
  S.length > 0 && n?.dispatchSortChangedEvents(t, S);
2129
- const D = Xs(e);
2130
- Nm(d, D, t, r, a);
2129
+ const P = Xs(e);
2130
+ Nm(d, P, t, r, a);
2131
2131
  };
2132
2132
  }
2133
2133
  function Xs(e) {
@@ -2598,8 +2598,8 @@ var Ad = (e, t, o, i) => {
2598
2598
  let u = 1e3, h = !1, p = 0;
2599
2599
  const g = this.columnOrdering.enableProp, f = this.columnOrdering.initialEnableProp, m = this.columnOrdering.indexProp, w = this.columnOrdering.initialIndexProp, C = (y) => {
2600
2600
  const S = d[y];
2601
- for (let D = p; D < S; D++) {
2602
- const F = l[D];
2601
+ for (let P = p; P < S; P++) {
2602
+ const F = l[P];
2603
2603
  n.has(F) && (t[F][m] = u++, n.delete(F));
2604
2604
  }
2605
2605
  p = S;
@@ -2609,8 +2609,8 @@ var Ad = (e, t, o, i) => {
2609
2609
  if (r.has(S))
2610
2610
  C(S), t[S][m] = u++;
2611
2611
  else {
2612
- const D = y.getColDef();
2613
- (D[m] === null || D[m] === void 0 && D[w] == null) && (h || (D[g] || D[g] === void 0 && D[f] ? C(S) : (n.forEach((b) => {
2612
+ const P = y.getColDef();
2613
+ (P[m] === null || P[m] === void 0 && P[w] == null) && (h || (P[g] || P[g] === void 0 && P[f] ? C(S) : (n.forEach((b) => {
2614
2614
  t[b][m] = u + d[b];
2615
2615
  }), u += l.length, h = !0)), e[S] || (e[S] = { colId: S }), e[S][m] = u++);
2616
2616
  }
@@ -2895,11 +2895,11 @@ var zm = class extends A {
2895
2895
  };
2896
2896
  if (a != null && g(a), l == null && d == null && o != null && g(o), l && n && !_m(l) && (l = this.agCompUtils?.adaptFunction(t, l)), !l && !d) {
2897
2897
  const { validation: C } = this.beans;
2898
- s && (a !== o || !o) ? a ? C?.isProvidedUserComp(a) || fe(50, { compName: a }) : o ? C || fe(260, {
2898
+ s && (a !== o || !o) ? a ? C?.isProvidedUserComp(a) || me(50, { compName: a }) : o ? C || me(260, {
2899
2899
  ...this.gos.getModuleErrorParams(),
2900
2900
  propName: r,
2901
2901
  compName: o
2902
- }) : fe(216, { name: r }) : o && !C && fe(146, { comp: o });
2902
+ }) : me(216, { name: r }) : o && !C && me(146, { comp: o });
2903
2903
  return;
2904
2904
  }
2905
2905
  const f = this.mergeParams(e, t, i, c, p), m = l == null, w = l ?? d;
@@ -3202,7 +3202,7 @@ function Ph(e, t, o, i, s) {
3202
3202
  r = e;
3203
3203
  return typeof r == "string" ? [r] : Array.isArray(r) ? [...r] : [];
3204
3204
  }
3205
- var P = {
3205
+ var M = {
3206
3206
  BACKSPACE: "Backspace",
3207
3207
  TAB: "Tab",
3208
3208
  ENTER: "Enter",
@@ -3250,7 +3250,7 @@ function Mh() {
3250
3250
  function Bv(e, t, o) {
3251
3251
  t.addManagedElementListeners(o, {
3252
3252
  keydown: (i) => {
3253
- if (!i.defaultPrevented && i.key === P.TAB) {
3253
+ if (!i.defaultPrevented && i.key === M.TAB) {
3254
3254
  const s = i.shiftKey;
3255
3255
  bo(e, o, !1, s) || Pi(e, s) && i.preventDefault();
3256
3256
  }
@@ -3299,7 +3299,7 @@ function Pi(e, t, o = !1) {
3299
3299
  return !o && i.focusNextInnerContainer(t) ? !0 : ((o || !t && !i.isDetailGrid()) && i.forceFocusOutOfContainer(t), !1);
3300
3300
  }
3301
3301
  function Hv(e, t = !1) {
3302
- return e === P.DELETE ? !0 : !t && e === P.BACKSPACE ? Fu() : !1;
3302
+ return e === M.DELETE ? !0 : !t && e === M.BACKSPACE ? Fu() : !1;
3303
3303
  }
3304
3304
  var Vv = class extends A {
3305
3305
  constructor(e, t, o, i) {
@@ -3311,26 +3311,26 @@ var Vv = class extends A {
3311
3311
  onKeyDown(e) {
3312
3312
  const t = e.key;
3313
3313
  switch (t) {
3314
- case P.ENTER:
3314
+ case M.ENTER:
3315
3315
  this.onEnterKeyDown(e);
3316
3316
  break;
3317
- case P.F2:
3317
+ case M.F2:
3318
3318
  this.onF2KeyDown(e);
3319
3319
  break;
3320
- case P.ESCAPE:
3320
+ case M.ESCAPE:
3321
3321
  this.onEscapeKeyDown(e);
3322
3322
  break;
3323
- case P.TAB:
3323
+ case M.TAB:
3324
3324
  this.onTabKeyDown(e);
3325
3325
  break;
3326
- case P.BACKSPACE:
3327
- case P.DELETE:
3326
+ case M.BACKSPACE:
3327
+ case M.DELETE:
3328
3328
  this.onBackspaceOrDeleteKeyDown(t, e);
3329
3329
  break;
3330
- case P.DOWN:
3331
- case P.UP:
3332
- case P.RIGHT:
3333
- case P.LEFT:
3330
+ case M.DOWN:
3331
+ case M.UP:
3332
+ case M.RIGHT:
3333
+ case M.LEFT:
3334
3334
  this.onNavigationKeyDown(e, t);
3335
3335
  break;
3336
3336
  }
@@ -3376,14 +3376,14 @@ var Vv = class extends A {
3376
3376
  if (t.editing || this.rowCtrl.editing)
3377
3377
  this.beans.editSvc?.stopRowOrCellEdit(t, !1, !1, e.shiftKey);
3378
3378
  else if (o.gos.get("enterNavigatesVertically")) {
3379
- const i = e.shiftKey ? P.UP : P.DOWN;
3379
+ const i = e.shiftKey ? M.UP : M.DOWN;
3380
3380
  o.navigation?.navigateToNextCell(null, i, t.cellPosition, !1);
3381
3381
  } else
3382
- o.editSvc?.startRowOrCellEdit(t, P.ENTER, e), t.editing && e.preventDefault();
3382
+ o.editSvc?.startRowOrCellEdit(t, M.ENTER, e), t.editing && e.preventDefault();
3383
3383
  }
3384
3384
  onF2KeyDown(e) {
3385
3385
  const { cellCtrl: t, beans: o } = this;
3386
- t.editing || o.editSvc?.startRowOrCellEdit(t, P.F2, e);
3386
+ t.editing || o.editSvc?.startRowOrCellEdit(t, M.F2, e);
3387
3387
  }
3388
3388
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
3389
3389
  onEscapeKeyDown(e) {
@@ -3394,7 +3394,7 @@ var Vv = class extends A {
3394
3394
  if (e.target !== this.eGui || this.cellCtrl.editing)
3395
3395
  return;
3396
3396
  const i = e.key;
3397
- i === P.SPACE ? this.onSpaceKeyDown(e) : this.beans.editSvc?.startRowOrCellEdit(this.cellCtrl, i, e) && e.preventDefault();
3397
+ i === M.SPACE ? this.onSpaceKeyDown(e) : this.beans.editSvc?.startRowOrCellEdit(this.cellCtrl, i, e) && e.preventDefault();
3398
3398
  }
3399
3399
  onSpaceKeyDown(e) {
3400
3400
  const { gos: t } = this.beans;
@@ -3467,8 +3467,8 @@ var Vv = class extends A {
3467
3467
  e.preventDefault();
3468
3468
  const m = c.getFocusedCell();
3469
3469
  if (m) {
3470
- const { column: w, rowIndex: C, rowPinned: y } = m, D = n.rowRenderer.getRowByPosition({ rowIndex: C, rowPinned: y })?.getCellCtrl(w);
3471
- D?.editing && D.stopEditing(), c.setFocusedCell({
3470
+ const { column: w, rowIndex: C, rowPinned: y } = m, P = n.rowRenderer.getRowByPosition({ rowIndex: C, rowPinned: y })?.getCellCtrl(w);
3471
+ P?.editing && P.stopEditing(), c.setFocusedCell({
3472
3472
  column: w,
3473
3473
  rowIndex: C,
3474
3474
  rowPinned: y,
@@ -4448,7 +4448,7 @@ var aC = class extends A {
4448
4448
  return;
4449
4449
  this.shouldPreventMouseEvent(t) && t.preventDefault(), this.currentDragParams = e, this.dragging = !1, this.mouseStartEvent = t, this.startTarget = t.target;
4450
4450
  const i = (d) => this.onMouseMove(d, e.eElement), s = (d) => this.onMouseUp(d, e.eElement), r = (d) => d.preventDefault(), n = (d) => {
4451
- d.key === P.ESCAPE && this.cancelDrag(e.eElement);
4451
+ d.key === M.ESCAPE && this.cancelDrag(e.eElement);
4452
4452
  }, a = Ji(this.beans), l = [
4453
4453
  { target: a, type: "mousemove", listener: i },
4454
4454
  { target: a, type: "mouseup", listener: s },
@@ -4751,7 +4751,7 @@ var Gh = class extends A {
4751
4751
  };
4752
4752
  }
4753
4753
  getRowIndexString() {
4754
- return this.rowIndex == null ? (fe(13), null) : this.rowPinned === "top" ? lC + this.rowIndex : this.rowPinned === "bottom" ? dC + this.rowIndex : this.rowIndex.toString();
4754
+ return this.rowIndex == null ? (me(13), null) : this.rowPinned === "top" ? lC + this.rowIndex : this.rowPinned === "bottom" ? dC + this.rowIndex : this.rowIndex.toString();
4755
4755
  }
4756
4756
  setDataAndId(e, t) {
4757
4757
  const { selectionSvc: o } = this.beans, i = o?.createDaemonNode?.(this), s = this.data;
@@ -4769,7 +4769,7 @@ var Gh = class extends A {
4769
4769
  parentKeys: o.length > 0 ? o : void 0,
4770
4770
  level: this.level,
4771
4771
  rowPinned: this.rowPinned
4772
- }), this.id.startsWith(vn) && fe(14, {
4772
+ }), this.id.startsWith(vn) && me(14, {
4773
4773
  groupPrefix: vn
4774
4774
  });
4775
4775
  } else
@@ -5431,7 +5431,7 @@ var uC = { tag: "div", cls: "ag-filter" }, Bh = class extends xe {
5431
5431
  Io(t);
5432
5432
  return;
5433
5433
  }
5434
- t.key === P.TAB ? o.onTabKeyDown(t) : o.handleKeyDown && o.handleKeyDown(t);
5434
+ t.key === M.TAB ? o.onTabKeyDown(t) : o.handleKeyDown && o.handleKeyDown(t);
5435
5435
  }
5436
5436
  });
5437
5437
  }
@@ -5985,9 +5985,9 @@ var Qt = {
5985
5985
  let c, u, h = 0;
5986
5986
  this.invalidateVerticalScroll();
5987
5987
  do {
5988
- const { stickyTopHeight: p, stickyBottomHeight: g } = l, f = d.rowTop, m = d.rowHeight, w = r.getPixelOffset(), C = d.rowTop - w, y = C + d.rowHeight, S = this.getVScrollPosition(), D = n.divStretchOffset, F = S.top + D, M = S.bottom + D, b = M - F, v = n.getScrollPositionForPixel(C), R = n.getScrollPositionForPixel(y - b), x = Math.min((v + R) / 2, C), T = F + p > C, V = M - g < y;
5988
+ const { stickyTopHeight: p, stickyBottomHeight: g } = l, f = d.rowTop, m = d.rowHeight, w = r.getPixelOffset(), C = d.rowTop - w, y = C + d.rowHeight, S = this.getVScrollPosition(), P = n.divStretchOffset, F = S.top + P, D = S.bottom + P, b = D - F, v = n.getScrollPositionForPixel(C), R = n.getScrollPositionForPixel(y - b), x = Math.min((v + R) / 2, C), I = F + p > C, V = D - g < y;
5989
5989
  let L = null;
5990
- t === "top" ? L = v - p : t === "bottom" ? L = R + g : t === "middle" ? L = x : T ? L = v - p : V && (L = R + g), L !== null && (this.setVerticalScrollPosition(L), a.redraw({ afterScroll: !0 })), c = f !== d.rowTop || m !== d.rowHeight, u = p !== l.stickyTopHeight || g !== l.stickyBottomHeight, h++;
5990
+ t === "top" ? L = v - p : t === "bottom" ? L = R + g : t === "middle" ? L = x : I ? L = v - p : V && (L = R + g), L !== null && (this.setVerticalScrollPosition(L), a.redraw({ afterScroll: !0 })), c = f !== d.rowTop || m !== d.rowHeight, u = p !== l.stickyTopHeight || g !== l.stickyBottomHeight, h++;
5991
5991
  } while ((c || u) && h < 10);
5992
5992
  this.animationFrameSvc?.flushAllFrames();
5993
5993
  });
@@ -7027,22 +7027,22 @@ function kC(e) {
7027
7027
  let o;
7028
7028
  switch (t) {
7029
7029
  case RC:
7030
- o = P.A;
7030
+ o = M.A;
7031
7031
  break;
7032
7032
  case xC:
7033
- o = P.C;
7033
+ o = M.C;
7034
7034
  break;
7035
7035
  case FC:
7036
- o = P.V;
7036
+ o = M.V;
7037
7037
  break;
7038
7038
  case DC:
7039
- o = P.D;
7039
+ o = M.D;
7040
7040
  break;
7041
7041
  case PC:
7042
- o = P.Z;
7042
+ o = M.Z;
7043
7043
  break;
7044
7044
  case MC:
7045
- o = P.Y;
7045
+ o = M.Y;
7046
7046
  break;
7047
7047
  default:
7048
7048
  o = e.code;
@@ -7099,21 +7099,21 @@ var AC = class extends A {
7099
7099
  const d = o.key;
7100
7100
  if (t === "keydown")
7101
7101
  switch (d) {
7102
- case P.PAGE_HOME:
7103
- case P.PAGE_END:
7104
- case P.PAGE_UP:
7105
- case P.PAGE_DOWN:
7102
+ case M.PAGE_HOME:
7103
+ case M.PAGE_END:
7104
+ case M.PAGE_UP:
7105
+ case M.PAGE_DOWN:
7106
7106
  r?.handlePageScrollingKey(o, !0);
7107
7107
  break;
7108
- case P.LEFT:
7109
- case P.RIGHT:
7108
+ case M.LEFT:
7109
+ case M.RIGHT:
7110
7110
  if (!this.gos.get("embedFullWidthRows"))
7111
7111
  break;
7112
- case P.UP:
7113
- case P.DOWN:
7112
+ case M.UP:
7113
+ case M.DOWN:
7114
7114
  e.onKeyboardNavigate(o);
7115
7115
  break;
7116
- case P.TAB:
7116
+ case M.TAB:
7117
7117
  e.onTabKeyDown(o);
7118
7118
  break;
7119
7119
  }
@@ -7124,19 +7124,19 @@ var AC = class extends A {
7124
7124
  if (!e.ctrlKey && !e.metaKey || t || !Zs(this.gos, e))
7125
7125
  return;
7126
7126
  const o = kC(e), { clipboardSvc: i, undoRedo: s } = this.beans;
7127
- if (o === P.A)
7127
+ if (o === M.A)
7128
7128
  return this.onCtrlAndA(e);
7129
- if (o === P.C)
7129
+ if (o === M.C)
7130
7130
  return this.onCtrlAndC(i, e);
7131
- if (o === P.D)
7131
+ if (o === M.D)
7132
7132
  return this.onCtrlAndD(i, e);
7133
- if (o === P.V)
7133
+ if (o === M.V)
7134
7134
  return this.onCtrlAndV(i, e);
7135
- if (o === P.X)
7135
+ if (o === M.X)
7136
7136
  return this.onCtrlAndX(i, e);
7137
- if (o === P.Y)
7137
+ if (o === M.Y)
7138
7138
  return this.onCtrlAndY(s);
7139
- if (o === P.Z)
7139
+ if (o === M.Z)
7140
7140
  return this.onCtrlAndZ(s, e);
7141
7141
  }
7142
7142
  onCtrlAndA(e) {
@@ -7967,15 +7967,15 @@ var ob = class extends A {
7967
7967
  let t = null;
7968
7968
  const { headerNavigation: o } = this.beans;
7969
7969
  switch (e.key) {
7970
- case P.LEFT:
7970
+ case M.LEFT:
7971
7971
  t = "LEFT";
7972
- case P.RIGHT: {
7972
+ case M.RIGHT: {
7973
7973
  J(t) || (t = "RIGHT"), o.navigateHorizontally(t, !1, e) && e.preventDefault();
7974
7974
  break;
7975
7975
  }
7976
- case P.UP:
7976
+ case M.UP:
7977
7977
  t = "UP";
7978
- case P.DOWN: {
7978
+ case M.DOWN: {
7979
7979
  J(t) || (t = "DOWN"), o.navigateVertically(t, null, e) && e.preventDefault();
7980
7980
  break;
7981
7981
  }
@@ -8315,8 +8315,8 @@ var ob = class extends A {
8315
8315
  return;
8316
8316
  const { paddingTop: h, paddingBottom: p, borderBottomWidth: g, borderTopWidth: f } = rs(this.eGui), m = h + p + g + f, C = t.offsetHeight + m;
8317
8317
  if (u < 5) {
8318
- const y = je(s), S = !y || !y.contains(t), D = C == 0;
8319
- if (S || D) {
8318
+ const y = je(s), S = !y || !y.contains(t), P = C == 0;
8319
+ if (S || P) {
8320
8320
  _a(() => r(u + 1), "raf", s);
8321
8321
  return;
8322
8322
  }
@@ -8353,12 +8353,12 @@ var ob = class extends A {
8353
8353
  this.eGui && Ni(this.eGui, "tabindex", e ? null : "-1");
8354
8354
  }
8355
8355
  onGuiKeyDown(e) {
8356
- const t = _e(this.beans), o = e.key === P.LEFT || e.key === P.RIGHT;
8356
+ const t = _e(this.beans), o = e.key === M.LEFT || e.key === M.RIGHT;
8357
8357
  if (this.isResizing && (e.preventDefault(), e.stopImmediatePropagation()), // if elements within the header are focused, we don't process the event
8358
8358
  t !== this.eGui || // if shiftKey and altKey are not pressed, it's cell navigation so we don't process the event
8359
8359
  !e.shiftKey && !e.altKey || ((this.isResizing || o) && (e.preventDefault(), e.stopImmediatePropagation()), !o))
8360
8360
  return;
8361
- const s = e.key === P.LEFT !== this.gos.get("enableRtl") ? "left" : "right";
8361
+ const s = e.key === M.LEFT !== this.gos.get("enableRtl") ? "left" : "right";
8362
8362
  if (e.altKey) {
8363
8363
  this.isResizing = !0, this.resizeMultiplier += 1;
8364
8364
  const r = this.getViewportAdjustedResizeDiff(e);
@@ -8375,7 +8375,7 @@ var ob = class extends A {
8375
8375
  }
8376
8376
  getResizeDiff(e) {
8377
8377
  const { gos: t, column: o } = this;
8378
- let i = e.key === P.LEFT !== t.get("enableRtl");
8378
+ let i = e.key === M.LEFT !== t.get("enableRtl");
8379
8379
  const s = o.getPinned(), r = t.get("enableRtl");
8380
8380
  return s && r !== (s === "right") && (i = !i), (i ? -1 : 1) * this.resizeMultiplier;
8381
8381
  }
@@ -8387,10 +8387,10 @@ var ob = class extends A {
8387
8387
  handleKeyDown(e) {
8388
8388
  const t = this.getWrapperHasFocus();
8389
8389
  switch (e.key) {
8390
- case P.PAGE_DOWN:
8391
- case P.PAGE_UP:
8392
- case P.PAGE_HOME:
8393
- case P.PAGE_END:
8390
+ case M.PAGE_DOWN:
8391
+ case M.PAGE_UP:
8392
+ case M.PAGE_HOME:
8393
+ case M.PAGE_END:
8394
8394
  t && e.preventDefault();
8395
8395
  }
8396
8396
  }
@@ -8549,7 +8549,7 @@ var ob = class extends A {
8549
8549
  return this.selectAllFeature?.getCheckboxGui();
8550
8550
  }
8551
8551
  handleKeyDown(e) {
8552
- super.handleKeyDown(e), e.key === P.SPACE && this.selectAllFeature?.onSpaceKeyDown(e), e.key === P.ENTER && this.onEnterKeyDown(e), e.key === P.DOWN && e.altKey && this.showMenuOnKeyPress(e, !1);
8552
+ super.handleKeyDown(e), e.key === M.SPACE && this.selectAllFeature?.onSpaceKeyDown(e), e.key === M.ENTER && this.onEnterKeyDown(e), e.key === M.DOWN && e.altKey && this.showMenuOnKeyPress(e, !1);
8553
8553
  }
8554
8554
  onEnterKeyDown(e) {
8555
8555
  e.ctrlKey || e.metaKey ? this.showMenuOnKeyPress(e, !0) : this.sortable && this.beans.sortSvc?.progressSort(this.column, e.shiftKey, "uiColumnSorted");
@@ -9496,7 +9496,7 @@ var Zh = class extends Qh {
9496
9496
  }
9497
9497
  }), this.addManagedElementListeners(e.eGridCell, {
9498
9498
  keydown: (s) => {
9499
- if (s.key === P.SPACE && !t.isDisabled()) {
9499
+ if (s.key === M.SPACE && !t.isDisabled()) {
9500
9500
  e.eGridCell === _e(o) && t.toggle();
9501
9501
  const r = t.getValue();
9502
9502
  this.onCheckboxChanged(r), s.preventDefault();
@@ -9727,9 +9727,9 @@ var Zh = class extends Qh {
9727
9727
  if (e) {
9728
9728
  const i = e({ data: t, level: 0 });
9729
9729
  if (o = this.allNodesMap[i], !o)
9730
- return fe(4, { id: i }), null;
9730
+ return me(4, { id: i }), null;
9731
9731
  } else if (o = this.rootNode?.allLeafChildren?.find((i) => i.data === t), !o)
9732
- return fe(5, { data: t }), null;
9732
+ return me(5, { data: t }), null;
9733
9733
  return o || null;
9734
9734
  }
9735
9735
  }, co = /* @__PURE__ */ ((e) => (e.Applied = "Applied", e.StoreNotFound = "StoreNotFound", e.StoreLoading = "StoreLoading", e.StoreWaitingToLoad = "StoreWaitingToLoad", e.StoreLoadingFailed = "StoreLoadingFailed", e.StoreWrongType = "StoreWrongType", e.Cancelled = "Cancelled", e.StoreNotStarted = "StoreNotStarted", e))(co || {}), Ab = {
@@ -10472,7 +10472,7 @@ var Hb = class extends A {
10472
10472
  handleKeyDown(e) {
10473
10473
  const t = e.key;
10474
10474
  switch (t) {
10475
- case P.ENTER:
10475
+ case M.ENTER:
10476
10476
  if (!this.highlightedEl)
10477
10477
  this.setValue(this.getValue());
10478
10478
  else {
@@ -10480,20 +10480,20 @@ var Hb = class extends A {
10480
10480
  this.setValueByIndex(o);
10481
10481
  }
10482
10482
  break;
10483
- case P.DOWN:
10484
- case P.UP:
10483
+ case M.DOWN:
10484
+ case M.UP:
10485
10485
  e.preventDefault(), this.navigate(t);
10486
10486
  break;
10487
- case P.PAGE_DOWN:
10488
- case P.PAGE_UP:
10489
- case P.PAGE_HOME:
10490
- case P.PAGE_END:
10487
+ case M.PAGE_DOWN:
10488
+ case M.PAGE_UP:
10489
+ case M.PAGE_HOME:
10490
+ case M.PAGE_END:
10491
10491
  e.preventDefault(), this.navigateToPage(t);
10492
10492
  break;
10493
10493
  }
10494
10494
  }
10495
10495
  navigate(e) {
10496
- const t = e === P.DOWN;
10496
+ const t = e === M.DOWN;
10497
10497
  let o;
10498
10498
  const { itemEls: i, highlightedEl: s } = this;
10499
10499
  if (!s)
@@ -10510,7 +10510,7 @@ var Hb = class extends A {
10510
10510
  return;
10511
10511
  const i = t.indexOf(o), s = this.options.length - 1, r = t[0].clientHeight, n = Math.floor(this.getGui().clientHeight / r);
10512
10512
  let a = -1;
10513
- e === P.PAGE_HOME ? a = 0 : e === P.PAGE_END ? a = s : e === P.PAGE_DOWN ? a = Math.min(i + n, s) : e === P.PAGE_UP && (a = Math.max(i - n, 0)), a !== -1 && this.highlightItem(t[a]);
10513
+ e === M.PAGE_HOME ? a = 0 : e === M.PAGE_END ? a = s : e === M.PAGE_DOWN ? a = Math.min(i + n, s) : e === M.PAGE_UP && (a = Math.max(i - n, 0)), a !== -1 && this.highlightItem(t[a]);
10514
10514
  }
10515
10515
  addOptions(e) {
10516
10516
  return e.forEach((t) => this.addOption(t)), this;
@@ -10657,13 +10657,13 @@ var Hb = class extends A {
10657
10657
  }
10658
10658
  onKeyDown(e) {
10659
10659
  switch (e.key) {
10660
- case P.UP:
10661
- case P.DOWN:
10662
- case P.ENTER:
10663
- case P.SPACE:
10660
+ case M.UP:
10661
+ case M.DOWN:
10662
+ case M.ENTER:
10663
+ case M.SPACE:
10664
10664
  e.preventDefault(), this.onLabelOrWrapperMouseDown();
10665
10665
  break;
10666
- case P.ESCAPE:
10666
+ case M.ESCAPE:
10667
10667
  this.isPickerDisplayed && (e.preventDefault(), e.stopPropagation(), this.hideCurrentPicker && this.hideCurrentPicker());
10668
10668
  break;
10669
10669
  }
@@ -10821,20 +10821,20 @@ var Hb = class extends A {
10821
10821
  }
10822
10822
  onKeyDown(e) {
10823
10823
  const { key: t } = e;
10824
- switch (t === P.TAB && this.hidePicker(), t) {
10825
- case P.ENTER:
10826
- case P.UP:
10827
- case P.DOWN:
10828
- case P.PAGE_UP:
10829
- case P.PAGE_DOWN:
10830
- case P.PAGE_HOME:
10831
- case P.PAGE_END:
10824
+ switch (t === M.TAB && this.hidePicker(), t) {
10825
+ case M.ENTER:
10826
+ case M.UP:
10827
+ case M.DOWN:
10828
+ case M.PAGE_UP:
10829
+ case M.PAGE_DOWN:
10830
+ case M.PAGE_HOME:
10831
+ case M.PAGE_END:
10832
10832
  e.preventDefault(), this.isPickerDisplayed ? this.listComponent?.handleKeyDown(e) : super.onKeyDown(e);
10833
10833
  break;
10834
- case P.ESCAPE:
10834
+ case M.ESCAPE:
10835
10835
  super.onKeyDown(e);
10836
10836
  break;
10837
- case P.SPACE:
10837
+ case M.SPACE:
10838
10838
  this.isPickerDisplayed ? e.preventDefault() : super.onKeyDown(e);
10839
10839
  break;
10840
10840
  }
@@ -12532,11 +12532,11 @@ var yw = class extends A {
12532
12532
  }
12533
12533
  }, sp = {
12534
12534
  moduleName: "Drag",
12535
- version: he,
12535
+ version: pe,
12536
12536
  beans: [aC]
12537
12537
  }, rp = {
12538
12538
  moduleName: "SharedDragAndDrop",
12539
- version: he,
12539
+ version: pe,
12540
12540
  beans: [eC],
12541
12541
  dependsOn: [sp],
12542
12542
  userComponents: {
@@ -12567,7 +12567,7 @@ var yw = class extends A {
12567
12567
  }
12568
12568
  }, Sw = {
12569
12569
  moduleName: "HorizontalResize",
12570
- version: he,
12570
+ version: pe,
12571
12571
  beans: [yw],
12572
12572
  dependsOn: [sp]
12573
12573
  }, Rw = (
@@ -12686,19 +12686,19 @@ function np(e) {
12686
12686
  const { isFromHeader: t, fromLeft: o, xPosition: i, fromEnter: s, fakeEvent: r, pinned: n, gos: a, colModel: l, colMoves: d, visibleCols: c } = e;
12687
12687
  let { allMovingColumns: u } = e;
12688
12688
  if (t) {
12689
- const D = [];
12689
+ const P = [];
12690
12690
  u.forEach((F) => {
12691
- let M = null, b = F.getParent();
12691
+ let D = null, b = F.getParent();
12692
12692
  for (; b != null && b.getDisplayedLeafColumns().length === 1; )
12693
- M = b, b = b.getParent();
12694
- M != null ? (!!M.getColGroupDef()?.marryChildren ? (
12693
+ D = b, b = b.getParent();
12694
+ D != null ? (!!D.getColGroupDef()?.marryChildren ? (
12695
12695
  // when marry children is true, we also have to move hidden
12696
12696
  // columns within the group, so grab them from the `providedColumnGroup`
12697
- M.getProvidedColumnGroup().getLeafColumns()
12698
- ) : M.getLeafColumns()).forEach((x) => {
12699
- D.includes(x) || D.push(x);
12700
- }) : D.includes(F) || D.push(F);
12701
- }), u = D;
12697
+ D.getProvidedColumnGroup().getLeafColumns()
12698
+ ) : D.getLeafColumns()).forEach((x) => {
12699
+ P.includes(x) || P.push(x);
12700
+ }) : P.includes(F) || P.push(F);
12701
+ }), u = P;
12702
12702
  }
12703
12703
  const h = u.slice();
12704
12704
  Mw(l.getCols(), h);
@@ -12719,21 +12719,21 @@ function np(e) {
12719
12719
  return;
12720
12720
  const w = c.allCols, C = [];
12721
12721
  let y = null;
12722
- for (let D = 0; D < p.length; D++) {
12723
- const F = p[D], M = d.getProposedColumnOrder(h, F);
12724
- if (!d.doesOrderPassRules(M))
12722
+ for (let P = 0; P < p.length; P++) {
12723
+ const F = p[P], D = d.getProposedColumnOrder(h, F);
12724
+ if (!d.doesOrderPassRules(D))
12725
12725
  continue;
12726
- const b = M.filter((R) => w.includes(R));
12726
+ const b = D.filter((R) => w.includes(R));
12727
12727
  if (y === null)
12728
12728
  y = b;
12729
12729
  else if (!oo(b, y))
12730
12730
  break;
12731
- const v = Aw(M);
12731
+ const v = Aw(D);
12732
12732
  C.push({ move: F, fragCount: v });
12733
12733
  }
12734
12734
  if (C.length === 0)
12735
12735
  return;
12736
- C.sort((D, F) => D.fragCount - F.fragCount);
12736
+ C.sort((P, F) => P.fragCount - F.fragCount);
12737
12737
  const S = C[0].move;
12738
12738
  if (!(S > l.getCols().length - u.length))
12739
12739
  return { columns: u, toIndex: S };
@@ -12808,9 +12808,9 @@ function Tw(e) {
12808
12808
  } else {
12809
12809
  let y = m;
12810
12810
  const S = c.length - 1;
12811
- let D = c[y];
12812
- for (; y <= S && d.indexOf(D) < 0; )
12813
- y++, w.push(y), D = c[y];
12811
+ let P = c[y];
12812
+ for (; y <= S && d.indexOf(P) < 0; )
12813
+ y++, w.push(y), P = c[y];
12814
12814
  y = m - 1;
12815
12815
  const F = 0;
12816
12816
  for (; y >= F; )
@@ -13297,10 +13297,10 @@ var Bw = class extends A {
13297
13297
  const y = o.getGroupId(), S = o.getLeafColumns();
13298
13298
  if (!S.length)
13299
13299
  return;
13300
- const D = S[0].getParent();
13301
- if (!D)
13300
+ const P = S[0].getParent();
13301
+ if (!P)
13302
13302
  return;
13303
- C = Hw(D, y);
13303
+ C = Hw(P, y);
13304
13304
  } else
13305
13305
  C = o;
13306
13306
  C && d.focusHeaderPosition({
@@ -13375,7 +13375,7 @@ function _w(e, t) {
13375
13375
  }
13376
13376
  var lp = {
13377
13377
  moduleName: "ColumnMove",
13378
- version: he,
13378
+ version: pe,
13379
13379
  beans: [Nw, xw],
13380
13380
  apiFunctions: {
13381
13381
  moveColumnByIndex: Fw,
@@ -13442,7 +13442,7 @@ var lp = {
13442
13442
  }
13443
13443
  }, Ww = {
13444
13444
  moduleName: "AutoWidth",
13445
- version: he,
13445
+ version: pe,
13446
13446
  beans: [zw]
13447
13447
  };
13448
13448
  function $w(e, t, o = !0, i = "api") {
@@ -13659,26 +13659,26 @@ var Uw = class extends A {
13659
13659
  let m = !0, w = 0;
13660
13660
  for (; m; ) {
13661
13661
  if (w++, w > 1e3) {
13662
- fe(31);
13662
+ me(31);
13663
13663
  break;
13664
13664
  }
13665
13665
  m = !1;
13666
13666
  const C = [];
13667
13667
  let y = 0, S = u;
13668
- h.forEach((F, M) => {
13668
+ h.forEach((F, D) => {
13669
13669
  if (f[F.getId()])
13670
13670
  S -= g[F.getId()];
13671
13671
  else {
13672
13672
  C.push(F);
13673
- const v = p[M];
13673
+ const v = p[D];
13674
13674
  y += v;
13675
13675
  }
13676
13676
  });
13677
- const D = 1 / y;
13678
- C.forEach((F, M) => {
13679
- const b = M === C.length - 1;
13677
+ const P = 1 / y;
13678
+ C.forEach((F, D) => {
13679
+ const b = D === C.length - 1;
13680
13680
  let v;
13681
- b ? v = S : (v = Math.round(p[M] * u * D), S -= v);
13681
+ b ? v = S : (v = Math.round(p[D] * u * P), S -= v);
13682
13682
  const R = F.getMinWidth(), x = F.getMaxWidth();
13683
13683
  v < R ? (v = R, f[F.getId()] = !0, m = !0) : x > 0 && v > x && (v = x, f[F.getId()] = !0, m = !0), g[F.getId()] = v;
13684
13684
  });
@@ -13727,7 +13727,7 @@ function Yw(e) {
13727
13727
  }
13728
13728
  var qw = {
13729
13729
  moduleName: "ColumnResize",
13730
- version: he,
13730
+ version: pe,
13731
13731
  beans: [Kw],
13732
13732
  apiFunctions: {
13733
13733
  setColumnWidths: $w
@@ -13894,7 +13894,7 @@ var qw = {
13894
13894
  handleKeyDown(e) {
13895
13895
  super.handleKeyDown(e);
13896
13896
  const t = this.getWrapperHasFocus();
13897
- if (!(!this.expandable || !t) && e.key === P.ENTER) {
13897
+ if (!(!this.expandable || !t) && e.key === M.ENTER) {
13898
13898
  const o = this.column, i = !o.isExpanded();
13899
13899
  this.beans.colGroupSvc.setColumnGroupOpened(
13900
13900
  o.getProvidedColumnGroup(),
@@ -14433,7 +14433,7 @@ var uy = class extends A {
14433
14433
  }
14434
14434
  }, dp = {
14435
14435
  moduleName: "ColumnGroup",
14436
- version: he,
14436
+ version: pe,
14437
14437
  dynamicBeans: { headerGroupCellCtrl: Qw },
14438
14438
  beans: [uy],
14439
14439
  apiFunctions: {
@@ -14451,7 +14451,7 @@ var uy = class extends A {
14451
14451
  }
14452
14452
  }, hy = {
14453
14453
  moduleName: "CheckboxCellRenderer",
14454
- version: he,
14454
+ version: pe,
14455
14455
  userComponents: {
14456
14456
  agCheckboxCellRenderer: Pb
14457
14457
  }
@@ -14625,7 +14625,7 @@ var Ly = class extends A {
14625
14625
  if (h(S))
14626
14626
  continue;
14627
14627
  f = S, w += g * (S.flex / d);
14628
- const D = w - m, F = Math.round(D);
14628
+ const P = w - m, F = Math.round(P);
14629
14629
  S.targetSize = F, m += F;
14630
14630
  }
14631
14631
  f && (f.targetSize += g - m);
@@ -14633,8 +14633,8 @@ var Ly = class extends A {
14633
14633
  for (const S of a) {
14634
14634
  if (h(S))
14635
14635
  continue;
14636
- const D = S.targetSize, F = Math.min(Math.max(D, S.min), S.max);
14637
- C += F - D, S.violationType = F === D ? void 0 : F < D ? "max" : "min", S.targetSize = F;
14636
+ const P = S.targetSize, F = Math.min(Math.max(P, S.min), S.max);
14637
+ C += F - P, S.violationType = F === P ? void 0 : F < P ? "max" : "min", S.targetSize = F;
14638
14638
  }
14639
14639
  const y = C === 0 ? "all" : C > 0 ? "min" : "max";
14640
14640
  for (const S of a)
@@ -14905,7 +14905,7 @@ var Ly = class extends A {
14905
14905
  break;
14906
14906
  }
14907
14907
  case "boolean": {
14908
- e.cellEditor = "agCheckboxCellEditor", e.cellRenderer = "agCheckboxCellRenderer", e.getFindText = () => null, e.suppressKeyboardEvent = (r) => !!r.colDef.editable && r.event.key === P.SPACE;
14908
+ e.cellEditor = "agCheckboxCellEditor", e.cellRenderer = "agCheckboxCellRenderer", e.getFindText = () => null, e.suppressKeyboardEvent = (r) => !!r.colDef.editable && r.event.key === M.SPACE;
14909
14909
  break;
14910
14910
  }
14911
14911
  case "date": {
@@ -15052,16 +15052,16 @@ function Ny(e, t) {
15052
15052
  }
15053
15053
  var Hy = {
15054
15054
  moduleName: "DataType",
15055
- version: he,
15055
+ version: pe,
15056
15056
  beans: [Oy],
15057
15057
  dependsOn: [hy]
15058
15058
  }, Vy = {
15059
15059
  moduleName: "ColumnFlex",
15060
- version: he,
15060
+ version: pe,
15061
15061
  beans: [Gy]
15062
15062
  }, _y = {
15063
15063
  moduleName: "ColumnApi",
15064
- version: he,
15064
+ version: pe,
15065
15065
  beans: [Ly],
15066
15066
  apiFunctions: {
15067
15067
  getColumnDef: py,
@@ -15279,7 +15279,7 @@ var jy = class extends A {
15279
15279
  }
15280
15280
  }, Ky = {
15281
15281
  moduleName: "CellRendererFunction",
15282
- version: he,
15282
+ version: pe,
15283
15283
  beans: [jy]
15284
15284
  }, Yy = class extends A {
15285
15285
  constructor() {
@@ -15814,7 +15814,7 @@ ${s}`;
15814
15814
  // people can specify fonts like sans-serif which are keywords not strings,
15815
15815
  // or var(--my-var)
15816
15816
  /^[\w-]+$|\w\(/.test(e) ? e : JSON.stringify(e)
15817
- ), CS = _n, mp = (e) => typeof e == "string" ? e : e && "url" in e ? `url(${JSON.stringify(e.url)})` : e && "svg" in e ? mp({ url: `data:image/svg+xml,${encodeURIComponent(e.svg)}` }) : e && "ref" in e ? vo(e.ref) : !1, bS = (e, t) => typeof e == "string" ? e : typeof e == "number" ? (e >= 10 && fe(104, { value: e, param: t }), `${e}s`) : e && "ref" in e ? vo(e.ref) : !1, wS = {
15817
+ ), CS = _n, mp = (e) => typeof e == "string" ? e : e && "url" in e ? `url(${JSON.stringify(e.url)})` : e && "svg" in e ? mp({ url: `data:image/svg+xml,${encodeURIComponent(e.svg)}` }) : e && "ref" in e ? vo(e.ref) : !1, bS = (e, t) => typeof e == "string" ? e : typeof e == "number" ? (e >= 10 && me(104, { value: e, param: t }), `${e}s`) : e && "ref" in e ? vo(e.ref) : !1, wS = {
15818
15818
  color: Ql,
15819
15819
  colorScheme: gS,
15820
15820
  length: Oi,
@@ -15923,7 +15923,7 @@ ${s}`;
15923
15923
  for (const c of Object.keys(d).sort()) {
15924
15924
  const u = d[c], h = yS(c, u);
15925
15925
  if (h === !1)
15926
- fe(107, { key: c, value: u });
15926
+ me(107, { key: c, value: u });
15927
15927
  else {
15928
15928
  const p = hp(c), g = p.replace("--ag-", "--ag-inherited-");
15929
15929
  s += ` ${p}: var(${g}, ${h});
@@ -16431,7 +16431,7 @@ ${r}}
16431
16431
  r = void 0;
16432
16432
  else {
16433
16433
  const n = s ?? Zl;
16434
- n instanceof vp ? r = n : fe(240, { theme: n });
16434
+ n instanceof vp ? r = n : me(240, { theme: n });
16435
16435
  }
16436
16436
  if (r !== i) {
16437
16437
  if (r) {
@@ -16454,7 +16454,7 @@ ${r}}
16454
16454
  }
16455
16455
  Xl || (n.textContent = r?._getPerGridCss(this.paramsClass) || ""), this.applyThemeClasses(t), this.fireGridStylesChangedEvent("themeChanged");
16456
16456
  }
16457
- r && getComputedStyle(this.getMeasurementContainer()).getPropertyValue("--ag-legacy-styles-loaded") && fe(s ? 106 : 239);
16457
+ r && getComputedStyle(this.getMeasurementContainer()).getPropertyValue("--ag-legacy-styles-loaded") && me(s ? 106 : 239);
16458
16458
  }
16459
16459
  }, pa = 15538, JS = class extends A {
16460
16460
  constructor() {
@@ -16928,7 +16928,7 @@ var i0 = class extends A {
16928
16928
  if (r.isSuppressNavigable(l)) {
16929
16929
  const d = this.gos.get("enableRtl");
16930
16930
  let c;
16931
- return !i || i.key === P.TAB ? c = d ? P.LEFT : P.RIGHT : c = i.key, this.beans.navigation?.navigateToNextCell(
16931
+ return !i || i.key === M.TAB ? c = d ? M.LEFT : M.RIGHT : c = i.key, this.beans.navigation?.navigateToNextCell(
16932
16932
  null,
16933
16933
  c,
16934
16934
  { rowIndex: n, column: r, rowPinned: a || null },
@@ -17293,7 +17293,7 @@ var i0 = class extends A {
17293
17293
  }
17294
17294
  assertModuleRegistered(e, t) {
17295
17295
  const o = Array.isArray(e) ? e.some((i) => this.isModuleRegistered(i)) : this.isModuleRegistered(e);
17296
- return o || fe(200, {
17296
+ return o || me(200, {
17297
17297
  ...this.getModuleErrorParams(),
17298
17298
  moduleName: e,
17299
17299
  reasonOrId: t
@@ -17572,7 +17572,7 @@ var c0 = Rp(!0), u0 = Rp(!1), h0 = class extends xe {
17572
17572
  }
17573
17573
  }, f0 = {
17574
17574
  moduleName: "ColumnHeaderComp",
17575
- version: he,
17575
+ version: pe,
17576
17576
  userComponents: {
17577
17577
  agColumnHeader: h0
17578
17578
  },
@@ -17584,7 +17584,7 @@ var c0 = Rp(!0), u0 = Rp(!1), h0 = class extends xe {
17584
17584
  }
17585
17585
  }, m0 = {
17586
17586
  moduleName: "ColumnGroupHeaderComp",
17587
- version: he,
17587
+ version: pe,
17588
17588
  userComponents: {
17589
17589
  agColumnGroupHeader: g0
17590
17590
  },
@@ -17679,7 +17679,7 @@ var c0 = Rp(!0), u0 = Rp(!1), h0 = class extends xe {
17679
17679
  }
17680
17680
  }, C0 = {
17681
17681
  moduleName: "AnimationFrame",
17682
- version: he,
17682
+ version: pe,
17683
17683
  beans: [v0]
17684
17684
  }, b0 = class extends A {
17685
17685
  constructor() {
@@ -17746,7 +17746,7 @@ var c0 = Rp(!0), u0 = Rp(!1), h0 = class extends xe {
17746
17746
  }
17747
17747
  }, w0 = {
17748
17748
  moduleName: "Touch",
17749
- version: he,
17749
+ version: pe,
17750
17750
  beans: [b0]
17751
17751
  }, y0 = class extends A {
17752
17752
  constructor() {
@@ -17760,7 +17760,7 @@ var c0 = Rp(!0), u0 = Rp(!1), h0 = class extends xe {
17760
17760
  return o ? this.getNextCellToFocusWithCtrlPressed(e, t) : this.getNextCellToFocusWithoutCtrlPressed(e, t);
17761
17761
  }
17762
17762
  getNextCellToFocusWithCtrlPressed(e, t) {
17763
- const o = e === P.UP, i = e === P.DOWN, s = e === P.LEFT;
17763
+ const o = e === M.UP, i = e === M.DOWN, s = e === M.LEFT;
17764
17764
  let r, n;
17765
17765
  const { pageBounds: a, gos: l, visibleCols: d } = this.beans;
17766
17766
  if (o || i)
@@ -17785,16 +17785,16 @@ var c0 = Rp(!0), u0 = Rp(!1), h0 = class extends xe {
17785
17785
  let o = t, i = !1;
17786
17786
  for (; !i; ) {
17787
17787
  switch (e) {
17788
- case P.UP:
17788
+ case M.UP:
17789
17789
  o = this.getCellAbove(o);
17790
17790
  break;
17791
- case P.DOWN:
17791
+ case M.DOWN:
17792
17792
  o = this.getCellBelow(o);
17793
17793
  break;
17794
- case P.RIGHT:
17794
+ case M.RIGHT:
17795
17795
  o = this.gos.get("enableRtl") ? this.getCellToLeft(o) : this.getCellToRight(o);
17796
17796
  break;
17797
- case P.LEFT:
17797
+ case M.LEFT:
17798
17798
  o = this.gos.get("enableRtl") ? this.getCellToRight(o) : this.getCellToLeft(o);
17799
17799
  break;
17800
17800
  default:
@@ -17935,27 +17935,27 @@ var M0 = class extends A {
17935
17935
  const o = e.key, i = e.altKey, s = e.ctrlKey || e.metaKey, r = !!this.beans.rangeSvc && e.shiftKey, n = Jv(this.gos, e);
17936
17936
  let a = !1;
17937
17937
  switch (o) {
17938
- case P.PAGE_HOME:
17939
- case P.PAGE_END:
17938
+ case M.PAGE_HOME:
17939
+ case M.PAGE_END:
17940
17940
  !s && !i && (this.onHomeOrEndKey(o), a = !0);
17941
17941
  break;
17942
- case P.LEFT:
17943
- case P.RIGHT:
17944
- case P.UP:
17945
- case P.DOWN:
17942
+ case M.LEFT:
17943
+ case M.RIGHT:
17944
+ case M.UP:
17945
+ case M.DOWN:
17946
17946
  if (!n)
17947
17947
  return !1;
17948
17948
  s && !i && !r && (this.onCtrlUpDownLeftRight(o, n), a = !0);
17949
17949
  break;
17950
- case P.PAGE_DOWN:
17951
- case P.PAGE_UP:
17950
+ case M.PAGE_DOWN:
17951
+ case M.PAGE_UP:
17952
17952
  !s && !i && (a = this.handlePageUpDown(o, n, t));
17953
17953
  break;
17954
17954
  }
17955
17955
  return a && e.preventDefault(), a;
17956
17956
  }
17957
17957
  handlePageUpDown(e, t, o) {
17958
- return o && (t = this.beans.focusSvc.getFocusedCell()), t ? (e === P.PAGE_UP ? this.onPageUp(t) : this.onPageDown(t), !0) : !1;
17958
+ return o && (t = this.beans.focusSvc.getFocusedCell()), t ? (e === M.PAGE_UP ? this.onPageUp(t) : this.onPageDown(t), !0) : !1;
17959
17959
  }
17960
17960
  navigateTo(e) {
17961
17961
  const { scrollIndex: t, scrollType: o, scrollColumn: i, focusIndex: s, focusColumn: r } = e, { scrollFeature: n } = this.gridBodyCon;
@@ -18055,7 +18055,7 @@ var M0 = class extends A {
18055
18055
  // home brings focus to top left cell, end brings focus to bottom right, grid scrolled to bring
18056
18056
  // same cell into view (which means either scroll all the way up, or all the way down).
18057
18057
  onHomeOrEndKey(e) {
18058
- const t = e === P.PAGE_HOME, { visibleCols: o, pageBounds: i, rowModel: s } = this.beans, r = o.allCols, n = t ? i.getFirstRow() : i.getLastRow(), a = s.getRow(n);
18058
+ const t = e === M.PAGE_HOME, { visibleCols: o, pageBounds: i, rowModel: s } = this.beans, r = o.allCols, n = t ? i.getFirstRow() : i.getLastRow(), a = s.getRow(n);
18059
18059
  if (!a)
18060
18060
  return;
18061
18061
  const l = (t ? r : [...r].reverse()).find(
@@ -18215,8 +18215,8 @@ var M0 = class extends A {
18215
18215
  let s = o, r = !1;
18216
18216
  const n = this.beans, { cellNavigation: a, focusSvc: l, gos: d } = n;
18217
18217
  for (; s && (s === o || !this.isValidNavigateCell(s)); )
18218
- d.get("enableRtl") ? t === P.LEFT && (s = this.getLastCellOfColSpan(s)) : t === P.RIGHT && (s = this.getLastCellOfColSpan(s)), s = a.getNextCellToFocus(t, s), r = Ne(s);
18219
- if (r && e && e.key === P.UP && (s = {
18218
+ d.get("enableRtl") ? t === M.LEFT && (s = this.getLastCellOfColSpan(s)) : t === M.RIGHT && (s = this.getLastCellOfColSpan(s)), s = a.getNextCellToFocus(t, s), r = Ne(s);
18219
+ if (r && e && e.key === M.UP && (s = {
18220
18220
  rowIndex: -1,
18221
18221
  rowPinned: null,
18222
18222
  column: o.column
@@ -18310,7 +18310,7 @@ function ga(e) {
18310
18310
  }
18311
18311
  var k0 = {
18312
18312
  moduleName: "KeyboardNavigation",
18313
- version: he,
18313
+ version: pe,
18314
18314
  beans: [M0, y0, e0],
18315
18315
  apiFunctions: {
18316
18316
  getFocusedCell: S0,
@@ -18512,7 +18512,7 @@ var k0 = {
18512
18512
  }
18513
18513
  }, G0 = {
18514
18514
  moduleName: "PinnedColumn",
18515
- version: he,
18515
+ version: pe,
18516
18516
  beans: [L0],
18517
18517
  css: [T0]
18518
18518
  }, O0 = class extends A {
@@ -18547,7 +18547,7 @@ var k0 = {
18547
18547
  }
18548
18548
  }, B0 = {
18549
18549
  moduleName: "Aria",
18550
- version: he,
18550
+ version: pe,
18551
18551
  beans: [O0]
18552
18552
  };
18553
18553
  function N0(e) {
@@ -18579,7 +18579,7 @@ var _0 = (
18579
18579
  super(z0), this.eOverlayWrapper = _, this.activePromise = null, this.activeOverlay = null, this.updateListenerDestroyFunc = null, this.activeCssClass = null, this.elToFocusAfter = null, this.registerCSS(_0);
18580
18580
  }
18581
18581
  handleKeyDown(e) {
18582
- if (e.key !== P.TAB || e.defaultPrevented || to(e))
18582
+ if (e.key !== M.TAB || e.defaultPrevented || to(e))
18583
18583
  return;
18584
18584
  const t = this.beans;
18585
18585
  if (bo(t, this.eOverlayWrapper, !1, e.shiftKey))
@@ -18751,7 +18751,7 @@ var _0 = (
18751
18751
  }
18752
18752
  }, U0 = {
18753
18753
  moduleName: "Overlay",
18754
- version: he,
18754
+ version: pe,
18755
18755
  userComponents: {
18756
18756
  agLoadingOverlay: mb,
18757
18757
  agNoRowsOverlay: Cb
@@ -19422,8 +19422,8 @@ var _0 = (
19422
19422
  const c = this.getRowBufferInPixels(), u = this.ctrlsSvc.getScrollFeature(), h = this.gos.get("suppressRowVirtualisation");
19423
19423
  let p = !1, g, f;
19424
19424
  do {
19425
- const S = t.getPixelOffset(), { pageFirstPixel: D, pageLastPixel: F } = t.getCurrentPagePixelRange(), M = e.divStretchOffset, b = u.getVScrollPosition(), v = b.top, R = b.bottom;
19426
- h ? (g = D + M, f = F + M) : (g = Math.max(v + S - c, D) + M, f = Math.min(R + S + c, F) + M), this.firstVisibleVPixel = Math.max(v + S, D) + M, this.lastVisibleVPixel = Math.min(R + S, F) + M, p = this.ensureAllRowsInRangeHaveHeightsCalculated(g, f);
19425
+ const S = t.getPixelOffset(), { pageFirstPixel: P, pageLastPixel: F } = t.getCurrentPagePixelRange(), D = e.divStretchOffset, b = u.getVScrollPosition(), v = b.top, R = b.bottom;
19426
+ h ? (g = P + D, f = F + D) : (g = Math.max(v + S - c, P) + D, f = Math.min(R + S + c, F) + D), this.firstVisibleVPixel = Math.max(v + S, P) + D, this.lastVisibleVPixel = Math.min(R + S, F) + D, p = this.ensureAllRowsInRangeHaveHeightsCalculated(g, f);
19427
19427
  } while (p);
19428
19428
  let m = o.getRowIndexAtPixel(g), w = o.getRowIndexAtPixel(f);
19429
19429
  const C = t.getFirstRow(), y = t.getLastRow();
@@ -19910,7 +19910,7 @@ var fs = (e, t) => ({
19910
19910
  }
19911
19911
  }, ed = {
19912
19912
  moduleName: "Sort",
19913
- version: he,
19913
+ version: pe,
19914
19914
  beans: [eR, X0],
19915
19915
  apiFunctions: {
19916
19916
  onSortChanged: Q0
@@ -20067,7 +20067,7 @@ var fs = (e, t) => ({
20067
20067
  evaluate(e, t) {
20068
20068
  if (typeof e == "string")
20069
20069
  return this.evaluateExpression(e, t);
20070
- fe(15, { expression: e });
20070
+ me(15, { expression: e });
20071
20071
  }
20072
20072
  evaluateExpression(e, t) {
20073
20073
  try {
@@ -20087,7 +20087,7 @@ var fs = (e, t) => ({
20087
20087
  t.columnGroup
20088
20088
  );
20089
20089
  } catch (o) {
20090
- return fe(16, { expression: e, params: t, e: o }), null;
20090
+ return me(16, { expression: e, params: t, e: o }), null;
20091
20091
  }
20092
20092
  }
20093
20093
  createExpressionFunction(e) {
@@ -20105,11 +20105,11 @@ var fs = (e, t) => ({
20105
20105
  }
20106
20106
  }, rR = {
20107
20107
  moduleName: "Expression",
20108
- version: he,
20108
+ version: pe,
20109
20109
  beans: [sR]
20110
20110
  }, nR = {
20111
20111
  moduleName: "ChangeDetection",
20112
- version: he,
20112
+ version: pe,
20113
20113
  beans: [iR]
20114
20114
  }, aR = class extends A {
20115
20115
  constructor() {
@@ -20345,7 +20345,7 @@ var fs = (e, t) => ({
20345
20345
  }
20346
20346
  }, lR = {
20347
20347
  moduleName: "CommunityCore",
20348
- version: he,
20348
+ version: pe,
20349
20349
  beans: [
20350
20350
  r0,
20351
20351
  fw,
@@ -20436,7 +20436,7 @@ td.mergeStrategy = "shallow";
20436
20436
  var dR = td;
20437
20437
  function cR(e, t, o) {
20438
20438
  if (!t)
20439
- return fe(11), {};
20439
+ return me(11), {};
20440
20440
  const i = o;
20441
20441
  let s;
20442
20442
  if (!i?.setThemeOnGridDiv) {
@@ -22890,7 +22890,7 @@ var YR = () => {
22890
22890
  return;
22891
22891
  const t = QR[e];
22892
22892
  if (t) {
22893
- fe(200, {
22893
+ me(200, {
22894
22894
  reasonOrId: `icon '${e}'`,
22895
22895
  moduleName: t,
22896
22896
  gridScoped: Ol(),
@@ -22947,8 +22947,8 @@ var YR = () => {
22947
22947
  Object.keys(e).forEach((u) => {
22948
22948
  const h = i[u];
22949
22949
  if (h) {
22950
- const { message: S, version: D } = h;
22951
- l.add(`As of v${D}, ${String(u)} is deprecated. ${S ?? ""}`);
22950
+ const { message: S, version: P } = h;
22951
+ l.add(`As of v${P}, ${String(u)} is deprecated. ${S ?? ""}`);
22952
22952
  }
22953
22953
  const p = e[u];
22954
22954
  if (p == null || p === !1)
@@ -22977,10 +22977,10 @@ var YR = () => {
22977
22977
  }
22978
22978
  if (f) {
22979
22979
  const S = Array.isArray(f) ? f : [f];
22980
- let D = !0;
22980
+ let P = !0;
22981
22981
  if (S.forEach((F) => {
22982
- this.gos.assertModuleRegistered(F, String(u)) || (D = !1);
22983
- }), !D)
22982
+ this.gos.assertModuleRegistered(F, String(u)) || (P = !1);
22983
+ }), !P)
22984
22984
  return;
22985
22985
  }
22986
22986
  if (m) {
@@ -23046,7 +23046,7 @@ var ox = /* @__PURE__ */ new Set([
23046
23046
  "childIndexChanged"
23047
23047
  ]), ix = {
23048
23048
  moduleName: "Validation",
23049
- version: he,
23049
+ version: pe,
23050
23050
  beans: [ex]
23051
23051
  };
23052
23052
  function Tp(e) {
@@ -23171,18 +23171,18 @@ var sx = class extends A {
23171
23171
  super.handleKeyDown(e);
23172
23172
  const t = this.getWrapperHasFocus();
23173
23173
  switch (e.key) {
23174
- case P.UP:
23175
- case P.DOWN:
23174
+ case M.UP:
23175
+ case M.DOWN:
23176
23176
  t || e.preventDefault();
23177
- case P.LEFT:
23178
- case P.RIGHT:
23177
+ case M.LEFT:
23178
+ case M.RIGHT:
23179
23179
  if (t)
23180
23180
  return;
23181
23181
  e.stopPropagation();
23182
- case P.ENTER:
23182
+ case M.ENTER:
23183
23183
  t && ro(this.eGui) && e.preventDefault();
23184
23184
  break;
23185
- case P.ESCAPE:
23185
+ case M.ESCAPE:
23186
23186
  t || this.eGui.focus();
23187
23187
  }
23188
23188
  }
@@ -23191,7 +23191,7 @@ var sx = class extends A {
23191
23191
  return;
23192
23192
  const o = !!e.relatedTarget && !e.relatedTarget.classList.contains("ag-floating-filter"), i = !!e.relatedTarget && gi(e.relatedTarget, "ag-floating-filter");
23193
23193
  if (o && i && e.target === this.eGui) {
23194
- const s = this.lastFocusEvent, r = !!(s && s.key === P.TAB);
23194
+ const s = this.lastFocusEvent, r = !!(s && s.key === M.TAB);
23195
23195
  if (s && r) {
23196
23196
  const n = s.shiftKey;
23197
23197
  ro(this.eGui, n);
@@ -23299,7 +23299,7 @@ var sx = class extends A {
23299
23299
  function nx(e, t) {
23300
23300
  const o = e.colModel.getCol(t);
23301
23301
  if (!o) {
23302
- fe(12, { colKey: t });
23302
+ me(12, { colKey: t });
23303
23303
  return;
23304
23304
  }
23305
23305
  e.menuSvc?.showColumnMenu({
@@ -23312,7 +23312,7 @@ function ax(e) {
23312
23312
  }
23313
23313
  var Ip = {
23314
23314
  moduleName: "SharedMenu",
23315
- version: he,
23315
+ version: pe,
23316
23316
  beans: [gb],
23317
23317
  apiFunctions: {
23318
23318
  showColumnMenu: nx,
@@ -23523,7 +23523,7 @@ var Ip = {
23523
23523
  const u = (f) => {
23524
23524
  if (!s.contains(_e(t)))
23525
23525
  return;
23526
- f.key === P.ESCAPE && !to(f) && g({ keyboardEvent: f });
23526
+ f.key === M.ESCAPE && !to(f) && g({ keyboardEvent: f });
23527
23527
  }, h = (f) => g({ mouseEvent: f }), p = (f) => g({ touchEvent: f }), g = (f = {}) => {
23528
23528
  const { mouseEvent: m, touchEvent: w, keyboardEvent: C, forceHide: y } = f;
23529
23529
  !y && // we don't hide popup if the event was on the child, or any
@@ -23674,7 +23674,7 @@ var Ip = {
23674
23674
  }
23675
23675
  }, zn = {
23676
23676
  moduleName: "Popup",
23677
- version: he,
23677
+ version: pe,
23678
23678
  beans: [cx]
23679
23679
  }, ux = (
23680
23680
  /*css*/
@@ -23707,7 +23707,7 @@ function Cx(e, t, o) {
23707
23707
  function bx(e, t) {
23708
23708
  const o = e.colModel.getCol(t);
23709
23709
  if (!o) {
23710
- fe(12, { colKey: t });
23710
+ me(12, { colKey: t });
23711
23711
  return;
23712
23712
  }
23713
23713
  e.menuSvc?.showFilterMenu({
@@ -23872,7 +23872,7 @@ var yx = class extends A {
23872
23872
  const l = r[a];
23873
23873
  if (!(l == null || l === t)) {
23874
23874
  if (typeof l.doesFilterPass != "function") {
23875
- fe(91);
23875
+ me(91);
23876
23876
  continue;
23877
23877
  }
23878
23878
  if (!l.doesFilterPass({ node: e, data: n }))
@@ -24555,7 +24555,7 @@ var xx = class extends A {
24555
24555
  showPopup(e, t, o, i, s, r) {
24556
24556
  const n = e ? this.createBean(new Bh(e, "COLUMN_MENU")) : void 0;
24557
24557
  if (this.activeMenu = n, !n?.hasFilter() || !e) {
24558
- fe(57);
24558
+ me(57);
24559
24559
  return;
24560
24560
  }
24561
24561
  const a = Ve({
@@ -24585,7 +24585,7 @@ var xx = class extends A {
24585
24585
  }), bn(e, !0, "contextMenu"), this.dispatchVisibleChangedEvent(!0, o, e);
24586
24586
  }
24587
24587
  trapFocusWithin(e, t) {
24588
- e.key !== P.TAB || e.defaultPrevented || bo(this.beans, t, !1, e.shiftKey) || (e.preventDefault(), ro(t, e.shiftKey));
24588
+ e.key !== M.TAB || e.defaultPrevented || bo(this.beans, t, !1, e.shiftKey) || (e.preventDefault(), ro(t, e.shiftKey));
24589
24589
  }
24590
24590
  dispatchVisibleChangedEvent(e, t, o) {
24591
24591
  this.eventSvc.dispatchEvent({
@@ -24627,12 +24627,12 @@ var xx = class extends A {
24627
24627
  }
24628
24628
  }, Px = {
24629
24629
  moduleName: "ClientSideRowModelFilter",
24630
- version: he,
24630
+ version: pe,
24631
24631
  rowModels: ["clientSide"],
24632
24632
  beans: [sx]
24633
24633
  }, Mx = {
24634
24634
  moduleName: "FilterCore",
24635
- version: he,
24635
+ version: pe,
24636
24636
  beans: [xx],
24637
24637
  apiFunctions: {
24638
24638
  isAnyFilterPresent: Sx,
@@ -24642,11 +24642,11 @@ var xx = class extends A {
24642
24642
  dependsOn: [Px]
24643
24643
  }, kx = {
24644
24644
  moduleName: "FilterValue",
24645
- version: he,
24645
+ version: pe,
24646
24646
  beans: [Dx]
24647
24647
  }, Ax = {
24648
24648
  moduleName: "ColumnFilter",
24649
- version: he,
24649
+ version: pe,
24650
24650
  beans: [yx, Fx],
24651
24651
  dynamicBeans: { headerFilterCellCtrl: rx },
24652
24652
  icons: {
@@ -24831,7 +24831,7 @@ function Vx(e) {
24831
24831
  }
24832
24832
  var _x = {
24833
24833
  moduleName: "SharedRowSelection",
24834
- version: he,
24834
+ version: pe,
24835
24835
  beans: [Ex],
24836
24836
  apiFunctions: {
24837
24837
  setNodesSelected: Tx,
@@ -24860,13 +24860,13 @@ function Ux(e, t, o) {
24860
24860
  if (i) {
24861
24861
  if (e.rowGroupColsSvc?.columns.length === 0) {
24862
24862
  if (t < 0) {
24863
- fe(238);
24863
+ me(238);
24864
24864
  return;
24865
24865
  }
24866
24866
  i.setRowCount(t, o);
24867
24867
  return;
24868
24868
  }
24869
- fe(28);
24869
+ me(28);
24870
24870
  return;
24871
24871
  }
24872
24872
  const s = pR(e);
@@ -24883,7 +24883,7 @@ function Kx(e) {
24883
24883
  }
24884
24884
  var Op = {
24885
24885
  moduleName: "CsrmSsrmSharedApi",
24886
- version: he,
24886
+ version: pe,
24887
24887
  apiFunctions: {
24888
24888
  expandAll: zx,
24889
24889
  collapseAll: Wx,
@@ -24891,7 +24891,7 @@ var Op = {
24891
24891
  }
24892
24892
  }, Yx = {
24893
24893
  moduleName: "SsrmInfiniteSharedApi",
24894
- version: he,
24894
+ version: pe,
24895
24895
  apiFunctions: {
24896
24896
  setRowCount: Ux,
24897
24897
  getCacheBlockState: jx,
@@ -24954,23 +24954,23 @@ var Qx = class extends A {
24954
24954
  const { gos: a, colModel: l, rowGroupColsSvc: d, rowNodeSorter: c, rowRenderer: u, showRowGroupCols: h } = e, p = a.get("groupMaintainOrder"), g = l.getCols().some((y) => y.isRowGroupActive()), f = l.isPivotMode(), m = a.getCallback("postSortRows");
24955
24955
  let w = !1;
24956
24956
  const C = (y) => {
24957
- const S = f && y.leafGroup, D = p && g && !y.leafGroup && !n;
24957
+ const S = f && y.leafGroup, P = p && g && !y.leafGroup && !n;
24958
24958
  let F;
24959
- if (D) {
24959
+ if (P) {
24960
24960
  const b = d?.columns?.[y.level + 1]?.getSort() === null, v = y.childrenAfterAggFilter.slice(0);
24961
24961
  if (y.childrenAfterSort && !b) {
24962
24962
  const R = {};
24963
- y.childrenAfterSort.forEach((x, T) => {
24964
- R[x.id] = T;
24963
+ y.childrenAfterSort.forEach((x, I) => {
24964
+ R[x.id] = I;
24965
24965
  }), v.sort(
24966
- (x, T) => (R[x.id] ?? 0) - (R[T.id] ?? 0)
24966
+ (x, I) => (R[x.id] ?? 0) - (R[I.id] ?? 0)
24967
24967
  );
24968
24968
  }
24969
24969
  F = v;
24970
24970
  } else !o || S ? F = y.childrenAfterAggFilter.slice(0) : i && s ? F = Zx(c, y, s, r, t) : F = c.doFullSort(y.childrenAfterAggFilter, t);
24971
24971
  if (w || (w = y.childrenAfterSort?.[0] !== F[0]), y.childrenAfterSort = F, Bp(y), m) {
24972
- const M = { nodes: y.childrenAfterSort };
24973
- m(M);
24972
+ const D = { nodes: y.childrenAfterSort };
24973
+ m(D);
24974
24974
  }
24975
24975
  };
24976
24976
  if (r?.forEachChangedNodeDepthFirst(C), w && this.gos.get("groupHideOpenParents")) {
@@ -25639,13 +25639,13 @@ function uF(e) {
25639
25639
  }
25640
25640
  var hF = {
25641
25641
  moduleName: "ClientSideRowModel",
25642
- version: he,
25642
+ version: pe,
25643
25643
  rowModels: ["clientSide"],
25644
25644
  beans: [qx, eF, Qx],
25645
25645
  dependsOn: [ed]
25646
25646
  }, pF = {
25647
25647
  moduleName: "ClientSideRowModelApi",
25648
- version: he,
25648
+ version: pe,
25649
25649
  apiFunctions: {
25650
25650
  onGroupExpandedOrCollapsed: tF,
25651
25651
  refreshClientSideRowModel: oF,
@@ -25833,7 +25833,7 @@ var hF = {
25833
25833
  }
25834
25834
  }, fF = {
25835
25835
  moduleName: "SharedExport",
25836
- version: he,
25836
+ version: pe,
25837
25837
  beans: [gF]
25838
25838
  }, uc = `\r
25839
25839
  `, mF = class extends MR {
@@ -25957,7 +25957,7 @@ function bF(e, t) {
25957
25957
  }
25958
25958
  var wF = {
25959
25959
  moduleName: "CsvExport",
25960
- version: he,
25960
+ version: pe,
25961
25961
  beans: [vF],
25962
25962
  apiFunctions: {
25963
25963
  getDataAsCsv: CF,
@@ -25999,7 +25999,7 @@ var FF = class extends A {
25999
25999
  ), this.staleStateKeys = /* @__PURE__ */ new Set();
26000
26000
  }
26001
26001
  postConstruct() {
26002
- this.isClientSideRowModel = no(this.gos), this.cachedState = this.getInitialState(), this.setCachedStateValue("version", he);
26002
+ this.isClientSideRowModel = no(this.gos), this.cachedState = this.getInitialState(), this.setCachedStateValue("version", pe);
26003
26003
  const e = this.suppressEventsAndDispatchInitEvent.bind(this);
26004
26004
  this.beans.ctrlsSvc.whenReady(
26005
26005
  this,
@@ -26135,13 +26135,13 @@ var FF = class extends A {
26135
26135
  rowGroupIndex: C,
26136
26136
  aggFunc: y,
26137
26137
  pivot: S,
26138
- pivotIndex: D,
26138
+ pivotIndex: P,
26139
26139
  pinned: F,
26140
- hide: M,
26140
+ hide: D,
26141
26141
  width: b,
26142
26142
  flex: v
26143
26143
  } = h[p];
26144
- c.push(g), f && (o[m ?? u++] = { colId: g, sort: f }), w && (i[C ?? 0] = g), typeof y == "string" && s.push({ colId: g, aggFunc: y }), S && (r[D ?? 0] = g), F && (F === "right" ? a : n).push(g), M && l.push(g), (v != null || b) && d.push({ colId: g, flex: v ?? void 0, width: b });
26144
+ c.push(g), f && (o[m ?? u++] = { colId: g, sort: f }), w && (i[C ?? 0] = g), typeof y == "string" && s.push({ colId: g, aggFunc: y }), S && (r[P ?? 0] = g), F && (F === "right" ? a : n).push(g), D && l.push(g), (v != null || b) && d.push({ colId: g, flex: v ?? void 0, width: b });
26145
26145
  }
26146
26146
  return {
26147
26147
  sort: o.length ? { sortModel: o } : void 0,
@@ -26448,7 +26448,7 @@ var FF = class extends A {
26448
26448
  }
26449
26449
  }, DF = {
26450
26450
  moduleName: "GridState",
26451
- version: he,
26451
+ version: pe,
26452
26452
  beans: [FF],
26453
26453
  apiFunctions: {
26454
26454
  getState: yF
@@ -26629,7 +26629,7 @@ var BF = class extends A {
26629
26629
  this.addManagedListeners(t, {
26630
26630
  click: o,
26631
26631
  keydown: (i) => {
26632
- (i.key === P.ENTER || i.key === P.SPACE) && (i.preventDefault(), o());
26632
+ (i.key === M.ENTER || i.key === M.SPACE) && (i.preventDefault(), o());
26633
26633
  }
26634
26634
  });
26635
26635
  }), Bv(this.beans, this, this.getGui()), this.areListenersSetup = !0);
@@ -26946,7 +26946,7 @@ var BF = class extends A {
26946
26946
  }
26947
26947
  }, UF = {
26948
26948
  moduleName: "Pagination",
26949
- version: he,
26949
+ version: pe,
26950
26950
  beans: [$F, BF],
26951
26951
  icons: {
26952
26952
  // "go to first" button in pagination controls
@@ -27005,7 +27005,7 @@ function eD(e) {
27005
27005
  }
27006
27006
  var tD = {
27007
27007
  moduleName: "RowApi",
27008
- version: he,
27008
+ version: pe,
27009
27009
  apiFunctions: {
27010
27010
  redrawRows: jF,
27011
27011
  setRowNodeExpanded: Np,
@@ -27020,7 +27020,7 @@ var tD = {
27020
27020
  }
27021
27021
  }, oD = {
27022
27022
  moduleName: "RowStyle",
27023
- version: he,
27023
+ version: pe,
27024
27024
  beans: [wC]
27025
27025
  }, iD = class extends A {
27026
27026
  constructor() {
@@ -27085,7 +27085,7 @@ function aD(e, t) {
27085
27085
  }
27086
27086
  var lD = {
27087
27087
  moduleName: "EventApi",
27088
- version: he,
27088
+ version: pe,
27089
27089
  apiFunctions: {
27090
27090
  addEventListener: sD,
27091
27091
  addGlobalListener: nD,
@@ -27191,7 +27191,7 @@ var lD = {
27191
27191
  }
27192
27192
  }, uD = {
27193
27193
  moduleName: "Tooltip",
27194
- version: he,
27194
+ version: pe,
27195
27195
  beans: [cD],
27196
27196
  dynamicBeans: {
27197
27197
  tooltipFeature: Hb
@@ -27205,7 +27205,7 @@ var lD = {
27205
27205
  class er {
27206
27206
  static getComponentDefinition(t, o) {
27207
27207
  let i;
27208
- return typeof t == "string" ? i = this.searchForComponentInstance(o, t) : i = { extends: Fe({ ...t }) }, i || fe(114, { component: t }), i.extends ? (i.extends.setup && (i.setup = i.extends.setup), i.extends.props = this.addParamsToProps(i.extends.props)) : i.props = this.addParamsToProps(i.props), i;
27208
+ return typeof t == "string" ? i = this.searchForComponentInstance(o, t) : i = { extends: Fe({ ...t }) }, i || me(114, { component: t }), i.extends ? (i.extends.setup && (i.setup = i.extends.setup), i.extends.props = this.addParamsToProps(i.extends.props)) : i.props = this.addParamsToProps(i.props), i;
27209
27209
  }
27210
27210
  static addParamsToProps(t) {
27211
27211
  return !t || Array.isArray(t) && t.indexOf("params") === -1 ? t = ["params", ...t || []] : typeof t == "object" && !t.params && (t.params = {
@@ -27255,7 +27255,7 @@ class er {
27255
27255
  const l = t.appContext.components;
27256
27256
  l && l[o] && (r = l[o]);
27257
27257
  }
27258
- return !r && !s ? (fe(114, { component: o }), null) : r;
27258
+ return !r && !s ? (me(114, { component: o }), null) : r;
27259
27259
  }
27260
27260
  }
27261
27261
  class gD extends SR {
@@ -28205,7 +28205,7 @@ const wD = { ref: "root" }, yD = /* @__PURE__ */ Fe({
28205
28205
  it(
28206
28206
  () => u[v],
28207
28207
  (R, x) => {
28208
- (v === "rowData" && !f.value || v !== "rowData") && M(v, R), f.value = !1;
28208
+ (v === "rowData" && !f.value || v !== "rowData") && D(v, R), f.value = !1;
28209
28209
  },
28210
28210
  { deep: !0 }
28211
28211
  );
@@ -28214,16 +28214,16 @@ const wD = { ref: "root" }, yD = /* @__PURE__ */ Fe({
28214
28214
  it(
28215
28215
  p,
28216
28216
  (v, R) => {
28217
- n.value && (f.value || (g.value = !0, M("rowData", vs(v), vs(R))), f.value = !1);
28217
+ n.value && (f.value || (g.value = !0, D("rowData", vs(v), vs(R))), f.value = !1);
28218
28218
  },
28219
28219
  { deep: !0 }
28220
28220
  );
28221
28221
  const w = CD(() => {
28222
- f.value = !0, m("update:modelValue", D());
28222
+ f.value = !0, m("update:modelValue", P());
28223
28223
  }, 10), C = di(), y = (v) => {
28224
28224
  var R, x;
28225
28225
  l.value && h.has(v) && (x = (R = C?.vnode) == null ? void 0 : R.props) != null && x["onUpdate:modelValue"] && w();
28226
- }, S = () => p.value || i.rowData || i.gridOptions.rowData, D = () => {
28226
+ }, S = () => p.value || i.rowData || i.gridOptions.rowData, P = () => {
28227
28227
  const v = [];
28228
28228
  return r?.value.forEachLeafNode((R) => {
28229
28229
  v.push(R.data);
@@ -28234,10 +28234,10 @@ const wD = { ref: "root" }, yD = /* @__PURE__ */ Fe({
28234
28234
  R === "gridReady" && (l.value = !0);
28235
28235
  const x = Es.has(R);
28236
28236
  x && !v || !x && v || h.has(R) && (g.value || y(R), g.value = !1);
28237
- }, M = (v, R, x) => {
28237
+ }, D = (v, R, x) => {
28238
28238
  if (n.value) {
28239
- let T = R.value || R;
28240
- v === "rowData" && T != null && (T = vs(T)), d.value[v] = T, c.value == null && (c.value = window.setTimeout(() => {
28239
+ let I = R.value || R;
28240
+ v === "rowData" && I != null && (I = vs(I)), d.value[v] = I, c.value == null && (c.value = window.setTimeout(() => {
28241
28241
  c.value = null, hm(d.value, r.value), d.value = {};
28242
28242
  }, 0));
28243
28243
  }
@@ -28257,8 +28257,8 @@ const wD = { ref: "root" }, yD = /* @__PURE__ */ Fe({
28257
28257
  ...il,
28258
28258
  ...Dp.map((V) => El(V))
28259
28259
  ])
28260
- ), T = S();
28261
- T !== void 0 && (x.rowData = vs(T)), r.value = cR(s.value, x, R), n.value = !0;
28260
+ ), I = S();
28261
+ I !== void 0 && (x.rowData = vs(I)), r.value = cR(s.value, x, R), n.value = !0;
28262
28262
  }), df(() => {
28263
28263
  var v;
28264
28264
  n.value && ((v = r?.value) == null || v.destroy(), a.value = !0);
@@ -28906,17 +28906,17 @@ var _p = class extends ls {
28906
28906
  handleKeyDown(e) {
28907
28907
  const { key: t, shiftKey: o } = e;
28908
28908
  switch (t) {
28909
- case P.UP:
28910
- case P.DOWN:
28909
+ case M.UP:
28910
+ case M.DOWN:
28911
28911
  {
28912
- const i = t === P.UP;
28912
+ const i = t === M.UP;
28913
28913
  e.preventDefault(), o ? this.moveItem(i) : this.navigate(i);
28914
28914
  }
28915
28915
  break;
28916
- case P.PAGE_HOME:
28917
- case P.PAGE_END:
28918
- case P.PAGE_UP:
28919
- case P.PAGE_DOWN:
28916
+ case M.PAGE_HOME:
28917
+ case M.PAGE_END:
28918
+ case M.PAGE_UP:
28919
+ case M.PAGE_DOWN:
28920
28920
  this.navigateToPage(t) !== null && e.preventDefault();
28921
28921
  break;
28922
28922
  }
@@ -28946,7 +28946,7 @@ var _p = class extends ls {
28946
28946
  t === "focused" && (t = this.getLastFocusedRow(), o = !0);
28947
28947
  const i = this.model.getRowCount() - 1;
28948
28948
  let s = -1;
28949
- return e === P.PAGE_HOME ? s = 0 : e === P.PAGE_END ? s = i : e === P.PAGE_DOWN ? s = Math.min(t + this.pageSize, i) : e === P.PAGE_UP && (s = Math.max(t - this.pageSize, 0)), s === -1 ? null : (o ? this.focusRow(s) : this.ensureIndexVisible(s), s);
28949
+ return e === M.PAGE_HOME ? s = 0 : e === M.PAGE_END ? s = i : e === M.PAGE_DOWN ? s = Math.min(t + this.pageSize, i) : e === M.PAGE_UP && (s = Math.max(t - this.pageSize, 0)), s === -1 ? null : (o ? this.focusRow(s) : this.ensureIndexVisible(s), s);
28950
28950
  }
28951
28951
  getLastFocusedRow() {
28952
28952
  return this.lastFocusedRowIndex;
@@ -29286,7 +29286,7 @@ var LD = { tag: "div" }, GD = class extends xe {
29286
29286
  this.createExpandIcons(), this.addManagedListeners(this.eExpand, {
29287
29287
  click: this.onExpandClicked.bind(this),
29288
29288
  keydown: (t) => {
29289
- t.key === P.SPACE && (t.preventDefault(), this.onExpandClicked());
29289
+ t.key === M.SPACE && (t.preventDefault(), this.onExpandClicked());
29290
29290
  }
29291
29291
  }), this.addManagedElementListeners(this.eSelect.getInputElement(), { click: this.onSelectClicked.bind(this) }), this.addManagedPropertyListener("functionsReadOnly", () => this.onFunctionsReadOnlyPropChanged()), this.eFilterTextField.setAutoComplete(!1).onValueChange(() => this.onFilterTextChanged()), this.addManagedEventListeners({ newColumnsLoaded: this.showOrHideOptions.bind(this) });
29292
29292
  const e = this.getLocaleTextFunc();
@@ -29556,7 +29556,7 @@ var ZD = class extends ls {
29556
29556
  });
29557
29557
  }
29558
29558
  handleKeyDown(e) {
29559
- e.key === P.ESCAPE && this.closePanel();
29559
+ e.key === M.ESCAPE && this.closePanel();
29560
29560
  }
29561
29561
  onTabKeyDown(e) {
29562
29562
  e.defaultPrevented || (this.closePanel(), e.preventDefault());
@@ -29603,7 +29603,7 @@ var eP = {
29603
29603
  addListeners(e, t) {
29604
29604
  t?.suppressClick || this.addManagedElementListeners(e, { click: (o) => this.onItemSelected(o) }), t?.suppressKeyboardSelect || this.addManagedElementListeners(e, {
29605
29605
  keydown: (o) => {
29606
- (o.key === P.ENTER || o.key === P.SPACE) && (o.preventDefault(), this.onItemSelected(o));
29606
+ (o.key === M.ENTER || o.key === M.SPACE) && (o.preventDefault(), this.onItemSelected(o));
29607
29607
  }
29608
29608
  }), t?.suppressMouseDown || this.addManagedElementListeners(e, {
29609
29609
  mousedown: (o) => {
@@ -29772,13 +29772,13 @@ var eP = {
29772
29772
  }
29773
29773
  handleKeyDown(e) {
29774
29774
  switch (e.key) {
29775
- case P.UP:
29776
- case P.RIGHT:
29777
- case P.DOWN:
29778
- case P.LEFT:
29775
+ case M.UP:
29776
+ case M.RIGHT:
29777
+ case M.DOWN:
29778
+ case M.LEFT:
29779
29779
  e.preventDefault(), this.handleNavKey(e.key);
29780
29780
  break;
29781
- case P.ESCAPE:
29781
+ case M.ESCAPE:
29782
29782
  this.closeIfIsChild() && Io(e);
29783
29783
  break;
29784
29784
  }
@@ -29839,14 +29839,14 @@ var eP = {
29839
29839
  }
29840
29840
  handleNavKey(e) {
29841
29841
  switch (e) {
29842
- case P.UP:
29843
- case P.DOWN: {
29844
- const o = this.findNextItem(e === P.UP);
29842
+ case M.UP:
29843
+ case M.DOWN: {
29844
+ const o = this.findNextItem(e === M.UP);
29845
29845
  o && o !== this.activeMenuItem && o.activate(!1, !0);
29846
29846
  return;
29847
29847
  }
29848
29848
  }
29849
- const t = this.gos.get("enableRtl") ? P.RIGHT : P.LEFT;
29849
+ const t = this.gos.get("enableRtl") ? M.RIGHT : M.LEFT;
29850
29850
  e === t ? this.closeIfIsChild() : this.openChild();
29851
29851
  }
29852
29852
  closeIfIsChild(e) {
@@ -30031,13 +30031,13 @@ var eP = {
30031
30031
  }
30032
30032
  handleKeyDown(e) {
30033
30033
  switch (e.key) {
30034
- case P.LEFT:
30034
+ case M.LEFT:
30035
30035
  e.preventDefault(), this.modelItem.expanded = !1;
30036
30036
  break;
30037
- case P.RIGHT:
30037
+ case M.RIGHT:
30038
30038
  e.preventDefault(), this.modelItem.expanded = !0;
30039
30039
  break;
30040
- case P.SPACE:
30040
+ case M.SPACE:
30041
30041
  e.preventDefault(), this.isSelectable() && this.onSelectAllChanged(!this.isSelected());
30042
30042
  break;
30043
30043
  }
@@ -30284,7 +30284,7 @@ var eP = {
30284
30284
  });
30285
30285
  }
30286
30286
  handleKeyDown(e) {
30287
- e.key === P.SPACE && (e.preventDefault(), this.isSelectable() && this.onSelectAllChanged(!this.isSelected()));
30287
+ e.key === M.SPACE && (e.preventDefault(), this.isSelectable() && this.onSelectAllChanged(!this.isSelected()));
30288
30288
  }
30289
30289
  onLabelClicked() {
30290
30290
  if (this.gos.get("functionsReadOnly"))
@@ -31294,11 +31294,11 @@ var CP = class extends A {
31294
31294
  csvCreator: C,
31295
31295
  excelCreator: y,
31296
31296
  menuSvc: S,
31297
- colChooserFactory: D,
31297
+ colChooserFactory: P,
31298
31298
  sortSvc: F,
31299
- chartMenuItemMapper: M,
31299
+ chartMenuItemMapper: D,
31300
31300
  valueColsSvc: b
31301
- } = n, v = (R, x, T, V) => {
31301
+ } = n, v = (R, x, I, V) => {
31302
31302
  switch (l?.validateMenuItem(R), R) {
31303
31303
  case "pinSubMenu":
31304
31304
  return d && x ? {
@@ -31449,26 +31449,26 @@ var CP = class extends A {
31449
31449
  return "separator";
31450
31450
  case "pivotChart":
31451
31451
  case "chartRange":
31452
- return M.getChartItems(R);
31452
+ return D.getChartItems(R);
31453
31453
  case "columnFilter":
31454
31454
  return S && x ? {
31455
31455
  name: r("columnFilter", "Column Filter"),
31456
31456
  icon: ce("filter", n, null),
31457
31457
  action: () => S.showFilterMenu({
31458
31458
  column: x,
31459
- buttonElement: T(),
31459
+ buttonElement: I(),
31460
31460
  containerType: "columnFilter",
31461
31461
  positionBy: "button"
31462
31462
  })
31463
31463
  } : null;
31464
31464
  case "columnChooser": {
31465
31465
  const L = w.focusedHeader;
31466
- return D ? {
31466
+ return P ? {
31467
31467
  name: r("columnChooser", "Choose Columns"),
31468
31468
  icon: ce("columns", n, null),
31469
- action: () => D.showColumnChooser({
31469
+ action: () => P.showColumnChooser({
31470
31470
  column: x,
31471
- eventSource: T(),
31471
+ eventSource: I(),
31472
31472
  headerPosition: L
31473
31473
  })
31474
31474
  } : null;
@@ -31499,8 +31499,8 @@ var CP = class extends A {
31499
31499
  let x;
31500
31500
  if (typeof R == "string" ? x = v(R, t, o, i) : x = { ...R }, !x)
31501
31501
  return;
31502
- const T = x, { subMenu: V } = T;
31503
- V && V instanceof Array && (T.subMenu = this.mapWithStockItems(
31502
+ const I = x, { subMenu: V } = I;
31503
+ V && V instanceof Array && (I.subMenu = this.mapWithStockItems(
31504
31504
  V,
31505
31505
  t,
31506
31506
  o,
@@ -31601,12 +31601,12 @@ var wP = class extends A {
31601
31601
  y && C && e.isAllowValue() || // secondary columns can always have aggValue, as it means it's a pivot value column
31602
31602
  !y;
31603
31603
  if (l && !p && e.isSortable()) {
31604
- const D = e.getSort();
31605
- D !== "asc" && t.push("sortAscending"), D !== "desc" && t.push("sortDescending"), D && t.push("sortUnSort"), t.push(ni);
31604
+ const P = e.getSort();
31605
+ P !== "asc" && t.push("sortAscending"), P !== "desc" && t.push("sortDescending"), P && t.push("sortUnSort"), t.push(ni);
31606
31606
  }
31607
31607
  if (d?.isFilterMenuItemEnabled(e) && (t.push("columnFilter"), t.push(ni)), m && t.push("pinSubMenu"), S && t.push("valueAggSubMenu"), (m || S) && t.push(ni), h && (t.push("autoSizeThis"), t.push("autoSizeAll"), t.push(ni)), r && i.isModuleRegistered("SharedRowGrouping")) {
31608
- const D = t.length;
31609
- f.showRowGroup ? t.push("rowUnGroup") : e.isAllowRowGroup() && y && (e.isRowGroupActive() ? yn(e, o) || t.push("rowUnGroup") : t.push("rowGroup")), t.length > D && t.push(ni);
31608
+ const P = t.length;
31609
+ f.showRowGroup ? t.push("rowUnGroup") : e.isAllowRowGroup() && y && (e.isRowGroupActive() ? yn(e, o) || t.push("rowUnGroup") : t.push("rowGroup")), t.length > P && t.push(ni);
31610
31610
  }
31611
31611
  return g(), a && no(i) && (i.get("treeData") || w > (n.isPivotMode() ? 1 : 0)) && (t.push("expandAll"), t.push("contractAll")), t;
31612
31612
  }
@@ -31654,11 +31654,11 @@ var SP = class extends ls {
31654
31654
  }
31655
31655
  handleKeyDown(e) {
31656
31656
  switch (e.key) {
31657
- case P.RIGHT:
31658
- case P.LEFT: {
31657
+ case M.RIGHT:
31658
+ case M.LEFT: {
31659
31659
  if (!this.eTabHeader.contains(_e(this.beans)))
31660
31660
  return;
31661
- const t = e.key === P.RIGHT, o = this.gos.get("enableRtl"), i = this.items.indexOf(this.activeItem), s = t !== o ? Math.min(i + 1, this.items.length - 1) : Math.max(i - 1, 0);
31661
+ const t = e.key === M.RIGHT, o = this.gos.get("enableRtl"), i = this.items.indexOf(this.activeItem), s = t !== o ? Math.min(i + 1, this.items.length - 1) : Math.max(i - 1, 0);
31662
31662
  if (i === s)
31663
31663
  return;
31664
31664
  e.preventDefault();
@@ -31666,8 +31666,8 @@ var SP = class extends ls {
31666
31666
  this.showItemWrapper(r), r.eHeaderButton.focus();
31667
31667
  break;
31668
31668
  }
31669
- case P.UP:
31670
- case P.DOWN:
31669
+ case M.UP:
31670
+ case M.DOWN:
31671
31671
  e.stopPropagation();
31672
31672
  break;
31673
31673
  }
@@ -31974,7 +31974,7 @@ var SP = class extends ls {
31974
31974
  }
31975
31975
  createFilterPanel() {
31976
31976
  const e = this.column ? this.createBean(new Bh(this.column, "COLUMN_MENU")) : null;
31977
- this.filterComp = e, e?.hasFilter() || fe(119);
31977
+ this.filterComp = e, e?.hasFilter() || me(119);
31978
31978
  const t = (i) => e?.afterGuiAttached(i), o = () => e?.afterGuiDetached();
31979
31979
  return this.tabItemFilter = {
31980
31980
  title: ce("filterTab", this.beans, this.column),
@@ -32676,11 +32676,11 @@ var GP = class {
32676
32676
  caseSensitive: C,
32677
32677
  treeList: y,
32678
32678
  treeListPathGetter: S,
32679
- treeListFormatter: D
32679
+ treeListFormatter: P
32680
32680
  } = n;
32681
32681
  this.filterParams = n, this.gos = a, this.setIsLoading = e.setIsLoading, this.translate = e.translate, this.caseFormat = e.caseFormat, this.createKey = e.createKey, this.usingComplexObjects = !!e.usingComplexObjects, this.formatter = h ?? ((v) => v ?? null), this.doesRowPassOtherFilters = p, this.suppressSorting = g || !1, this.filteringKeys = new OP({ caseFormat: this.caseFormat });
32682
- const F = f ?? u.comparator, M = !!s || !!r;
32683
- this.compareByValue = !!(t && F || M || y && !S), M && !F ? this.entryComparator = this.createTreeDataOrGroupingComparator() : y && !S && !F ? this.entryComparator = ([v, R], [x, T]) => Or(R, T) : this.entryComparator = ([v, R], [x, T]) => F(R, T), this.keyComparator = F ?? Or, this.caseSensitive = !!C;
32682
+ const F = f ?? u.comparator, D = !!s || !!r;
32683
+ this.compareByValue = !!(t && F || D || y && !S), D && !F ? this.entryComparator = this.createTreeDataOrGroupingComparator() : y && !S && !F ? this.entryComparator = ([v, R], [x, I]) => Or(R, I) : this.entryComparator = ([v, R], [x, I]) => F(R, I), this.keyComparator = F ?? Or, this.caseSensitive = !!C;
32684
32684
  const b = a.get("groupAllowUnbalanced");
32685
32685
  no(a) && (this.clientSideValuesExtractor = new GP(
32686
32686
  m,
@@ -32688,7 +32688,7 @@ var GP = class {
32688
32688
  this.createKey,
32689
32689
  this.caseFormat,
32690
32690
  i,
32691
- M,
32691
+ D,
32692
32692
  !!s,
32693
32693
  b,
32694
32694
  d,
@@ -32696,7 +32696,7 @@ var GP = class {
32696
32696
  )), w == null ? this.valuesType = 2 : (this.valuesType = Array.isArray(w) ? 0 : 1, this.providedValues = w), this.displayValueModel = y ? new bc(
32697
32697
  this.formatter,
32698
32698
  S,
32699
- D,
32699
+ P,
32700
32700
  s || r
32701
32701
  ) : new BP(i, l, this.formatter, c), this.updateAllValues().then((v) => this.resetSelectionState(v || []));
32702
32702
  }
@@ -32816,7 +32816,7 @@ var GP = class {
32816
32816
  }
32817
32817
  getParamsForValuesFromRows(e = !1) {
32818
32818
  if (!this.clientSideValuesExtractor)
32819
- return fe(113), null;
32819
+ return me(113), null;
32820
32820
  const t = (i) => !e || this.doesRowPassOtherFilters(i), o = e && !this.caseSensitive ? this.allValues : void 0;
32821
32821
  return { predicate: t, existingValues: o };
32822
32822
  }
@@ -33046,16 +33046,16 @@ var GP = class {
33046
33046
  handleKeyDown(t) {
33047
33047
  if (super.handleKeyDown(t), !t.defaultPrevented)
33048
33048
  switch (t.key) {
33049
- case P.SPACE:
33049
+ case M.SPACE:
33050
33050
  this.handleKeySpace(t);
33051
33051
  break;
33052
- case P.ENTER:
33052
+ case M.ENTER:
33053
33053
  this.handleKeyEnter(t);
33054
33054
  break;
33055
- case P.LEFT:
33055
+ case M.LEFT:
33056
33056
  this.handleKeyLeft(t);
33057
33057
  break;
33058
- case P.RIGHT:
33058
+ case M.RIGHT:
33059
33059
  this.handleKeyRight(t);
33060
33060
  break;
33061
33061
  }
@@ -33160,7 +33160,7 @@ var GP = class {
33160
33160
  let r = t;
33161
33161
  if (!r) {
33162
33162
  if (o && !i) {
33163
- fe(249);
33163
+ me(249);
33164
33164
  return;
33165
33165
  }
33166
33166
  this.noValueFormatterSupplied = !0, s || (r = (n) => Po(n.value));
@@ -33168,7 +33168,7 @@ var GP = class {
33168
33168
  this.valueFormatter = r;
33169
33169
  }
33170
33170
  generateCreateKey(t, o) {
33171
- return o && !t ? (fe(250), () => null) : t ? (i, s = null) => {
33171
+ return o && !t ? (me(250), () => null) : t ? (i, s = null) => {
33172
33172
  const r = this.getKeyCreatorParams(i, s);
33173
33173
  return Dt(t(r));
33174
33174
  } : (i) => Dt(Po(i));
@@ -33469,7 +33469,7 @@ var GP = class {
33469
33469
  }
33470
33470
  onMiniFilterKeyDown(t) {
33471
33471
  const { excelMode: o, readOnly: i } = this.setFilterParams;
33472
- t.key === P.ENTER && !o && !i && this.filterOnAllVisibleValues();
33472
+ t.key === M.ENTER && !o && !i && this.filterOnAllVisibleValues();
33473
33473
  }
33474
33474
  filterOnAllVisibleValues(t = !0) {
33475
33475
  this.valueModel.selectAllMatchingMiniFilter(!0), this.checkAndRefreshVirtualList(), this.onUiChanged(!1, t ? "immediately" : "debounce"), this.showOrHideResults();
@@ -33664,7 +33664,7 @@ var GP = class {
33664
33664
  parentSetFilterInstance(e) {
33665
33665
  this.params.parentFilterInstance((t) => {
33666
33666
  if (!(t instanceof Qp)) {
33667
- fe(248);
33667
+ me(248);
33668
33668
  return;
33669
33669
  }
33670
33670
  e(t);
@@ -33864,7 +33864,7 @@ function sM(e, t, o) {
33864
33864
  function ba(e, t, o, i, s, r) {
33865
33865
  const n = typeof o == "string" ? e.aggFuncSvc.getAggFunc(o) : o;
33866
33866
  if (typeof n != "function")
33867
- return fe(109, { aggFuncOrString: o }), null;
33867
+ return me(109, { aggFuncOrString: o }), null;
33868
33868
  const a = re(e.gos, {
33869
33869
  values: t,
33870
33870
  column: i,
@@ -34284,8 +34284,8 @@ var lM = class extends A {
34284
34284
  }, t((F) => {
34285
34285
  if (!F)
34286
34286
  return null;
34287
- const M = F.filter((b) => !Nn(b));
34288
- return [...g, ...M];
34287
+ const D = F.filter((b) => !Nn(b));
34288
+ return [...g, ...D];
34289
34289
  });
34290
34290
  }
34291
34291
  updateColumns(e) {
@@ -34873,7 +34873,7 @@ var tg = class extends A {
34873
34873
  * Called on cell key press - only handles 'Enter' key for expand/collapse
34874
34874
  */
34875
34875
  onKeyDown(e) {
34876
- !(e.key === P.ENTER) || this.params.suppressEnterExpand || this.params.column && this.params.column.isCellEditable(this.params.node) || this.onExpandOrContract(e);
34876
+ !(e.key === M.ENTER) || this.params.suppressEnterExpand || this.params.column && this.params.column.isCellEditable(this.params.node) || this.onExpandOrContract(e);
34877
34877
  }
34878
34878
  /**
34879
34879
  * Called on cell double click - only expands/collapses if the event is not on the expand / contract icon
@@ -36715,15 +36715,15 @@ var xk = class extends eg {
36715
36715
  }
36716
36716
  setSelectedState(e) {
36717
36717
  if (typeof e != "object") {
36718
- fe(116);
36718
+ me(116);
36719
36719
  return;
36720
36720
  }
36721
36721
  if (!("selectAll" in e)) {
36722
- fe(116);
36722
+ me(116);
36723
36723
  return;
36724
36724
  }
36725
36725
  if (typeof e.selectAll != "boolean") {
36726
- fe(117);
36726
+ me(117);
36727
36727
  return;
36728
36728
  }
36729
36729
  if (!("toggledNodes" in e) || !Array.isArray(e.toggledNodes))
@@ -36757,7 +36757,7 @@ var xk = class extends eg {
36757
36757
  const s = o && i;
36758
36758
  if (!Fi(this.gos) || s) {
36759
36759
  if (t.length > 1)
36760
- return fe(130), 0;
36760
+ return me(130), 0;
36761
36761
  const n = t[0], a = n.footer ? n.sibling : n;
36762
36762
  return i && a.selectable ? (this.selectedNodes = { [a.id]: a }, this.selectedState = {
36763
36763
  selectAll: !1,
@@ -36842,21 +36842,21 @@ var xk = class extends eg {
36842
36842
  }
36843
36843
  setSelectedState(e) {
36844
36844
  if ("selectAll" in e) {
36845
- fe(111);
36845
+ me(111);
36846
36846
  return;
36847
36847
  }
36848
36848
  const t = (o, i) => {
36849
36849
  if (typeof o != "object")
36850
- throw fe(243), new Error();
36850
+ throw me(243), new Error();
36851
36851
  if ("selectAllChildren" in o && typeof o.selectAllChildren != "boolean")
36852
- throw fe(244), new Error();
36852
+ throw me(244), new Error();
36853
36853
  if ("toggledNodes" in o) {
36854
36854
  if (!Array.isArray(o.toggledNodes))
36855
- throw fe(245), new Error();
36855
+ throw me(245), new Error();
36856
36856
  if (!o.toggledNodes.every(
36857
36857
  (l) => typeof l == "object" && "nodeId" in l && typeof l.nodeId == "string"
36858
36858
  ))
36859
- throw fe(246), new Error();
36859
+ throw me(246), new Error();
36860
36860
  }
36861
36861
  const s = o.selectAllChildren ?? !i, r = o.toggledNodes?.map((a) => [
36862
36862
  a.nodeId,
@@ -36865,7 +36865,7 @@ var xk = class extends eg {
36865
36865
  if (r?.some(
36866
36866
  ([, a]) => s === a.selectAllChildren && a.toggledNodes.size === 0
36867
36867
  ))
36868
- throw fe(247), new Error();
36868
+ throw me(247), new Error();
36869
36869
  return {
36870
36870
  selectAllChildren: s,
36871
36871
  toggledNodes: new Map(r)
@@ -36894,7 +36894,7 @@ var xk = class extends eg {
36894
36894
  const i = o && t;
36895
36895
  if (!Fi(this.gos) || i) {
36896
36896
  if (e.length > 1)
36897
- return fe(130), 0;
36897
+ return me(130), 0;
36898
36898
  this.deselectAllRowNodes();
36899
36899
  }
36900
36900
  return e.forEach((s) => {
@@ -37156,7 +37156,7 @@ var xk = class extends eg {
37156
37156
  });
37157
37157
  }
37158
37158
  updateSelectableAfterGrouping() {
37159
- return fe(194, { method: "updateSelectableAfterGrouping" });
37159
+ return me(194, { method: "updateSelectableAfterGrouping" });
37160
37160
  }
37161
37161
  refreshMasterNodeState() {
37162
37162
  }
@@ -38536,27 +38536,27 @@ function _k() {
38536
38536
  var i = typeof self < "u" ? self : typeof window < "u" ? window : i !== void 0 ? i : {}, s, r = !i.document && !!i.postMessage, n = i.IS_PAPA_WORKER || !1, a = {}, l = 0, d = {};
38537
38537
  function c(b) {
38538
38538
  this._handle = null, this._finished = !1, this._completed = !1, this._halted = !1, this._input = null, this._baseIndex = 0, this._partialLine = "", this._rowCount = 0, this._start = 0, this._nextChunk = null, this.isFirstChunk = !0, this._completeResults = { data: [], errors: [], meta: {} }, function(v) {
38539
- var R = D(v);
38539
+ var R = P(v);
38540
38540
  R.chunkSize = parseInt(R.chunkSize), v.step || v.chunk || (R.chunkSize = null), this._handle = new f(R), (this._handle.streamer = this)._config = R;
38541
38541
  }.call(this, b), this.parseChunk = function(v, R) {
38542
38542
  var x = parseInt(this._config.skipFirstNLines) || 0;
38543
38543
  if (this.isFirstChunk && 0 < x) {
38544
38544
  let V = this._config.newline;
38545
- V || (T = this._config.quoteChar || '"', V = this._handle.guessLineEndings(v, T)), v = [...v.split(V).slice(x)].join(V);
38545
+ V || (I = this._config.quoteChar || '"', V = this._handle.guessLineEndings(v, I)), v = [...v.split(V).slice(x)].join(V);
38546
38546
  }
38547
- this.isFirstChunk && M(this._config.beforeFirstChunk) && (T = this._config.beforeFirstChunk(v)) !== void 0 && (v = T), this.isFirstChunk = !1, this._halted = !1;
38548
- var x = this._partialLine + v, T = (this._partialLine = "", this._handle.parse(x, this._baseIndex, !this._finished));
38547
+ this.isFirstChunk && D(this._config.beforeFirstChunk) && (I = this._config.beforeFirstChunk(v)) !== void 0 && (v = I), this.isFirstChunk = !1, this._halted = !1;
38548
+ var x = this._partialLine + v, I = (this._partialLine = "", this._handle.parse(x, this._baseIndex, !this._finished));
38549
38549
  if (!this._handle.paused() && !this._handle.aborted()) {
38550
- if (v = T.meta.cursor, x = (this._finished || (this._partialLine = x.substring(v - this._baseIndex), this._baseIndex = v), T && T.data && (this._rowCount += T.data.length), this._finished || this._config.preview && this._rowCount >= this._config.preview), n) i.postMessage({ results: T, workerId: d.WORKER_ID, finished: x });
38551
- else if (M(this._config.chunk) && !R) {
38552
- if (this._config.chunk(T, this._handle), this._handle.paused() || this._handle.aborted()) return void (this._halted = !0);
38553
- this._completeResults = T = void 0;
38550
+ if (v = I.meta.cursor, x = (this._finished || (this._partialLine = x.substring(v - this._baseIndex), this._baseIndex = v), I && I.data && (this._rowCount += I.data.length), this._finished || this._config.preview && this._rowCount >= this._config.preview), n) i.postMessage({ results: I, workerId: d.WORKER_ID, finished: x });
38551
+ else if (D(this._config.chunk) && !R) {
38552
+ if (this._config.chunk(I, this._handle), this._handle.paused() || this._handle.aborted()) return void (this._halted = !0);
38553
+ this._completeResults = I = void 0;
38554
38554
  }
38555
- return this._config.step || this._config.chunk || (this._completeResults.data = this._completeResults.data.concat(T.data), this._completeResults.errors = this._completeResults.errors.concat(T.errors), this._completeResults.meta = T.meta), this._completed || !x || !M(this._config.complete) || T && T.meta.aborted || (this._config.complete(this._completeResults, this._input), this._completed = !0), x || T && T.meta.paused || this._nextChunk(), T;
38555
+ return this._config.step || this._config.chunk || (this._completeResults.data = this._completeResults.data.concat(I.data), this._completeResults.errors = this._completeResults.errors.concat(I.errors), this._completeResults.meta = I.meta), this._completed || !x || !D(this._config.complete) || I && I.meta.aborted || (this._config.complete(this._completeResults, this._input), this._completed = !0), x || I && I.meta.paused || this._nextChunk(), I;
38556
38556
  }
38557
38557
  this._halted = !0;
38558
38558
  }, this._sendError = function(v) {
38559
- M(this._config.error) ? this._config.error(v) : n && this._config.error && i.postMessage({ workerId: d.WORKER_ID, error: v, finished: !1 });
38559
+ D(this._config.error) ? this._config.error(v) : n && this._config.error && i.postMessage({ workerId: d.WORKER_ID, error: v, finished: !1 });
38560
38560
  };
38561
38561
  }
38562
38562
  function u(b) {
@@ -38574,8 +38574,8 @@ function _k() {
38574
38574
  var R, x = this._config.downloadRequestHeaders;
38575
38575
  for (R in x) v.setRequestHeader(R, x[R]);
38576
38576
  }
38577
- var T;
38578
- this._config.chunkSize && (T = this._start + this._config.chunkSize - 1, v.setRequestHeader("Range", "bytes=" + this._start + "-" + T));
38577
+ var I;
38578
+ this._config.chunkSize && (I = this._start + this._config.chunkSize - 1, v.setRequestHeader("Range", "bytes=" + this._start + "-" + I));
38579
38579
  try {
38580
38580
  v.send(this._config.downloadRequestBody);
38581
38581
  } catch (V) {
@@ -38592,15 +38592,15 @@ function _k() {
38592
38592
  function h(b) {
38593
38593
  (b = b || {}).chunkSize || (b.chunkSize = d.LocalChunkSize), c.call(this, b);
38594
38594
  var v, R, x = typeof FileReader < "u";
38595
- this.stream = function(T) {
38596
- this._input = T, R = T.slice || T.webkitSlice || T.mozSlice, x ? ((v = new FileReader()).onload = F(this._chunkLoaded, this), v.onerror = F(this._chunkError, this)) : v = new FileReaderSync(), this._nextChunk();
38595
+ this.stream = function(I) {
38596
+ this._input = I, R = I.slice || I.webkitSlice || I.mozSlice, x ? ((v = new FileReader()).onload = F(this._chunkLoaded, this), v.onerror = F(this._chunkError, this)) : v = new FileReaderSync(), this._nextChunk();
38597
38597
  }, this._nextChunk = function() {
38598
38598
  this._finished || this._config.preview && !(this._rowCount < this._config.preview) || this._readChunk();
38599
38599
  }, this._readChunk = function() {
38600
- var T = this._input, V = (this._config.chunkSize && (V = Math.min(this._start + this._config.chunkSize, this._input.size), T = R.call(T, this._start, V)), v.readAsText(T, this._config.encoding));
38600
+ var I = this._input, V = (this._config.chunkSize && (V = Math.min(this._start + this._config.chunkSize, this._input.size), I = R.call(I, this._start, V)), v.readAsText(I, this._config.encoding));
38601
38601
  x || this._chunkLoaded({ target: { result: V } });
38602
- }, this._chunkLoaded = function(T) {
38603
- this._start += this._config.chunkSize, this._finished = !this._config.chunkSize || this._start >= this._input.size, this.parseChunk(T.target.result);
38602
+ }, this._chunkLoaded = function(I) {
38603
+ this._start += this._config.chunkSize, this._finished = !this._config.chunkSize || this._start >= this._input.size, this.parseChunk(I.target.result);
38604
38604
  }, this._chunkError = function() {
38605
38605
  this._sendError(v.error);
38606
38606
  };
@@ -38621,20 +38621,20 @@ function _k() {
38621
38621
  c.prototype.pause.apply(this, arguments), this._input.pause();
38622
38622
  }, this.resume = function() {
38623
38623
  c.prototype.resume.apply(this, arguments), this._input.resume();
38624
- }, this.stream = function(T) {
38625
- this._input = T, this._input.on("data", this._streamData), this._input.on("end", this._streamEnd), this._input.on("error", this._streamError);
38624
+ }, this.stream = function(I) {
38625
+ this._input = I, this._input.on("data", this._streamData), this._input.on("end", this._streamEnd), this._input.on("error", this._streamError);
38626
38626
  }, this._checkIsFinished = function() {
38627
38627
  x && v.length === 1 && (this._finished = !0);
38628
38628
  }, this._nextChunk = function() {
38629
38629
  this._checkIsFinished(), v.length ? this.parseChunk(v.shift()) : R = !0;
38630
- }, this._streamData = F(function(T) {
38630
+ }, this._streamData = F(function(I) {
38631
38631
  try {
38632
- v.push(typeof T == "string" ? T : T.toString(this._config.encoding)), R && (R = !1, this._checkIsFinished(), this.parseChunk(v.shift()));
38632
+ v.push(typeof I == "string" ? I : I.toString(this._config.encoding)), R && (R = !1, this._checkIsFinished(), this.parseChunk(v.shift()));
38633
38633
  } catch (V) {
38634
38634
  this._streamError(V);
38635
38635
  }
38636
- }, this), this._streamError = F(function(T) {
38637
- this._streamCleanUp(), this._sendError(T);
38636
+ }, this), this._streamError = F(function(I) {
38637
+ this._streamCleanUp(), this._sendError(I);
38638
38638
  }, this), this._streamEnd = F(function() {
38639
38639
  this._streamCleanUp(), x = !0, this._streamData("");
38640
38640
  }, this), this._streamCleanUp = F(function() {
@@ -38642,73 +38642,73 @@ function _k() {
38642
38642
  }, this);
38643
38643
  }
38644
38644
  function f(b) {
38645
- var v, R, x, T, V = Math.pow(2, 53), L = -V, H = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, N = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, O = this, B = 0, G = 0, $ = !1, U = !1, Q = [], j = { data: [], errors: [], meta: {} };
38645
+ var v, R, x, I, V = Math.pow(2, 53), L = -V, H = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, N = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, O = this, B = 0, G = 0, $ = !1, U = !1, Q = [], j = { data: [], errors: [], meta: {} };
38646
38646
  function ue(ne) {
38647
38647
  return b.skipEmptyLines === "greedy" ? ne.join("").trim() === "" : ne.length === 1 && ne[0].length === 0;
38648
38648
  }
38649
- function pe() {
38649
+ function ge() {
38650
38650
  if (j && x && (He("Delimiter", "UndetectableDelimiter", "Unable to auto-detect delimiting character; defaulted to '" + d.DefaultDelimiter + "'"), x = !1), b.skipEmptyLines && (j.data = j.data.filter(function(oe) {
38651
38651
  return !ue(oe);
38652
38652
  })), Ae()) {
38653
38653
  let oe = function(Pe, De) {
38654
- M(b.transformHeader) && (Pe = b.transformHeader(Pe, De)), Q.push(Pe);
38654
+ D(b.transformHeader) && (Pe = b.transformHeader(Pe, De)), Q.push(Pe);
38655
38655
  };
38656
38656
  if (j) if (Array.isArray(j.data[0])) {
38657
38657
  for (var ne = 0; Ae() && ne < j.data.length; ne++) j.data[ne].forEach(oe);
38658
38658
  j.data.splice(0, 1);
38659
38659
  } else j.data.forEach(oe);
38660
38660
  }
38661
- function ge(oe, Pe) {
38661
+ function fe(oe, Pe) {
38662
38662
  for (var De = b.header ? {} : [], Ge = 0; Ge < oe.length; Ge++) {
38663
- var Te = Ge, be = oe[Ge], be = ((lt, I) => ((ee) => (b.dynamicTypingFunction && b.dynamicTyping[ee] === void 0 && (b.dynamicTyping[ee] = b.dynamicTypingFunction(ee)), (b.dynamicTyping[ee] || b.dynamicTyping) === !0))(lt) ? I === "true" || I === "TRUE" || I !== "false" && I !== "FALSE" && (((ee) => {
38663
+ var Te = Ge, be = oe[Ge], be = ((lt, T) => ((ee) => (b.dynamicTypingFunction && b.dynamicTyping[ee] === void 0 && (b.dynamicTyping[ee] = b.dynamicTypingFunction(ee)), (b.dynamicTyping[ee] || b.dynamicTyping) === !0))(lt) ? T === "true" || T === "TRUE" || T !== "false" && T !== "FALSE" && (((ee) => {
38664
38664
  if (H.test(ee) && (ee = parseFloat(ee), L < ee && ee < V))
38665
38665
  return 1;
38666
- })(I) ? parseFloat(I) : N.test(I) ? new Date(I) : I === "" ? null : I) : I)(Te = b.header ? Ge >= Q.length ? "__parsed_extra" : Q[Ge] : Te, be = b.transform ? b.transform(be, Te) : be);
38666
+ })(T) ? parseFloat(T) : N.test(T) ? new Date(T) : T === "" ? null : T) : T)(Te = b.header ? Ge >= Q.length ? "__parsed_extra" : Q[Ge] : Te, be = b.transform ? b.transform(be, Te) : be);
38667
38667
  Te === "__parsed_extra" ? (De[Te] = De[Te] || [], De[Te].push(be)) : De[Te] = be;
38668
38668
  }
38669
38669
  return b.header && (Ge > Q.length ? He("FieldMismatch", "TooManyFields", "Too many fields: expected " + Q.length + " fields but parsed " + Ge, G + Pe) : Ge < Q.length && He("FieldMismatch", "TooFewFields", "Too few fields: expected " + Q.length + " fields but parsed " + Ge, G + Pe)), De;
38670
38670
  }
38671
- var ve;
38672
- j && (b.header || b.dynamicTyping || b.transform) && (ve = 1, !j.data.length || Array.isArray(j.data[0]) ? (j.data = j.data.map(ge), ve = j.data.length) : j.data = ge(j.data, 0), b.header && j.meta && (j.meta.fields = Q), G += ve);
38671
+ var Ce;
38672
+ j && (b.header || b.dynamicTyping || b.transform) && (Ce = 1, !j.data.length || Array.isArray(j.data[0]) ? (j.data = j.data.map(fe), Ce = j.data.length) : j.data = fe(j.data, 0), b.header && j.meta && (j.meta.fields = Q), G += Ce);
38673
38673
  }
38674
38674
  function Ae() {
38675
38675
  return b.header && Q.length === 0;
38676
38676
  }
38677
- function He(ne, ge, ve, oe) {
38678
- ne = { type: ne, code: ge, message: ve }, oe !== void 0 && (ne.row = oe), j.errors.push(ne);
38677
+ function He(ne, fe, Ce, oe) {
38678
+ ne = { type: ne, code: fe, message: Ce }, oe !== void 0 && (ne.row = oe), j.errors.push(ne);
38679
38679
  }
38680
- M(b.step) && (T = b.step, b.step = function(ne) {
38681
- j = ne, Ae() ? pe() : (pe(), j.data.length !== 0 && (B += ne.data.length, b.preview && B > b.preview ? R.abort() : (j.data = j.data[0], T(j, O))));
38682
- }), this.parse = function(ne, ge, ve) {
38683
- var oe = b.quoteChar || '"', oe = (b.newline || (b.newline = this.guessLineEndings(ne, oe)), x = !1, b.delimiter ? M(b.delimiter) && (b.delimiter = b.delimiter(ne), j.meta.delimiter = b.delimiter) : ((oe = ((Pe, De, Ge, Te, be) => {
38684
- var lt, I, ee, Ce;
38680
+ D(b.step) && (I = b.step, b.step = function(ne) {
38681
+ j = ne, Ae() ? ge() : (ge(), j.data.length !== 0 && (B += ne.data.length, b.preview && B > b.preview ? R.abort() : (j.data = j.data[0], I(j, O))));
38682
+ }), this.parse = function(ne, fe, Ce) {
38683
+ var oe = b.quoteChar || '"', oe = (b.newline || (b.newline = this.guessLineEndings(ne, oe)), x = !1, b.delimiter ? D(b.delimiter) && (b.delimiter = b.delimiter(ne), j.meta.delimiter = b.delimiter) : ((oe = ((Pe, De, Ge, Te, be) => {
38684
+ var lt, T, ee, he;
38685
38685
  be = be || [",", " ", "|", ";", d.RECORD_SEP, d.UNIT_SEP];
38686
38686
  for (var dt = 0; dt < be.length; dt++) {
38687
38687
  for (var rt, So = be[dt], Qe = 0, nt = 0, Ze = 0, ut = (ee = void 0, new w({ comments: Te, delimiter: So, newline: De, preview: 10 }).parse(Pe)), Kt = 0; Kt < ut.data.length; Kt++) Ge && ue(ut.data[Kt]) ? Ze++ : (rt = ut.data[Kt].length, nt += rt, ee === void 0 ? ee = rt : 0 < rt && (Qe += Math.abs(rt - ee), ee = rt));
38688
- 0 < ut.data.length && (nt /= ut.data.length - Ze), (I === void 0 || Qe <= I) && (Ce === void 0 || Ce < nt) && 1.99 < nt && (I = Qe, lt = So, Ce = nt);
38688
+ 0 < ut.data.length && (nt /= ut.data.length - Ze), (T === void 0 || Qe <= T) && (he === void 0 || he < nt) && 1.99 < nt && (T = Qe, lt = So, he = nt);
38689
38689
  }
38690
38690
  return { successful: !!(b.delimiter = lt), bestDelimiter: lt };
38691
- })(ne, b.newline, b.skipEmptyLines, b.comments, b.delimitersToGuess)).successful ? b.delimiter = oe.bestDelimiter : (x = !0, b.delimiter = d.DefaultDelimiter), j.meta.delimiter = b.delimiter), D(b));
38692
- return b.preview && b.header && oe.preview++, v = ne, R = new w(oe), j = R.parse(v, ge, ve), pe(), $ ? { meta: { paused: !0 } } : j || { meta: { paused: !1 } };
38691
+ })(ne, b.newline, b.skipEmptyLines, b.comments, b.delimitersToGuess)).successful ? b.delimiter = oe.bestDelimiter : (x = !0, b.delimiter = d.DefaultDelimiter), j.meta.delimiter = b.delimiter), P(b));
38692
+ return b.preview && b.header && oe.preview++, v = ne, R = new w(oe), j = R.parse(v, fe, Ce), ge(), $ ? { meta: { paused: !0 } } : j || { meta: { paused: !1 } };
38693
38693
  }, this.paused = function() {
38694
38694
  return $;
38695
38695
  }, this.pause = function() {
38696
- $ = !0, R.abort(), v = M(b.chunk) ? "" : v.substring(R.getCharIndex());
38696
+ $ = !0, R.abort(), v = D(b.chunk) ? "" : v.substring(R.getCharIndex());
38697
38697
  }, this.resume = function() {
38698
38698
  O.streamer._halted ? ($ = !1, O.streamer.parseChunk(v, !0)) : setTimeout(O.resume, 3);
38699
38699
  }, this.aborted = function() {
38700
38700
  return U;
38701
38701
  }, this.abort = function() {
38702
- U = !0, R.abort(), j.meta.aborted = !0, M(b.complete) && b.complete(j), v = "";
38702
+ U = !0, R.abort(), j.meta.aborted = !0, D(b.complete) && b.complete(j), v = "";
38703
38703
  }, this.guessLineEndings = function(Pe, oe) {
38704
38704
  Pe = Pe.substring(0, 1048576);
38705
- var oe = new RegExp(m(oe) + "([^]*?)" + m(oe), "gm"), ve = (Pe = Pe.replace(oe, "")).split("\r"), oe = Pe.split(`
38706
- `), Pe = 1 < oe.length && oe[0].length < ve[0].length;
38707
- if (ve.length === 1 || Pe) return `
38705
+ var oe = new RegExp(m(oe) + "([^]*?)" + m(oe), "gm"), Ce = (Pe = Pe.replace(oe, "")).split("\r"), oe = Pe.split(`
38706
+ `), Pe = 1 < oe.length && oe[0].length < Ce[0].length;
38707
+ if (Ce.length === 1 || Pe) return `
38708
38708
  `;
38709
- for (var De = 0, Ge = 0; Ge < ve.length; Ge++) ve[Ge][0] === `
38709
+ for (var De = 0, Ge = 0; Ge < Ce.length; Ge++) Ce[Ge][0] === `
38710
38710
  ` && De++;
38711
- return De >= ve.length / 2 ? `\r
38711
+ return De >= Ce.length / 2 ? `\r
38712
38712
  ` : "\r";
38713
38713
  };
38714
38714
  }
@@ -38716,7 +38716,7 @@ function _k() {
38716
38716
  return b.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
38717
38717
  }
38718
38718
  function w(b) {
38719
- var v = (b = b || {}).delimiter, R = b.newline, x = b.comments, T = b.step, V = b.preview, L = b.fastMode, H = null, N = !1, O = b.quoteChar == null ? '"' : b.quoteChar, B = O;
38719
+ var v = (b = b || {}).delimiter, R = b.newline, x = b.comments, I = b.step, V = b.preview, L = b.fastMode, H = null, N = !1, O = b.quoteChar == null ? '"' : b.quoteChar, B = O;
38720
38720
  if (b.escapeChar !== void 0 && (B = b.escapeChar), (typeof v != "string" || -1 < d.BAD_DELIMITERS.indexOf(v)) && (v = ","), x === v) throw new Error("Comment character same as delimiter");
38721
38721
  x === !0 ? x = "#" : (typeof x != "string" || -1 < d.BAD_DELIMITERS.indexOf(x)) && (x = !1), R !== `
38722
38722
  ` && R !== "\r" && R !== `\r
@@ -38725,7 +38725,7 @@ function _k() {
38725
38725
  var G = 0, $ = !1;
38726
38726
  this.parse = function(U, Q, j) {
38727
38727
  if (typeof U != "string") throw new Error("Input must be a string");
38728
- var ue = U.length, pe = v.length, Ae = R.length, He = x.length, ne = M(T), ge = [], ve = [], oe = [], Pe = G = 0;
38728
+ var ue = U.length, ge = v.length, Ae = R.length, He = x.length, ne = D(I), fe = [], Ce = [], oe = [], Pe = G = 0;
38729
38729
  if (!U) return Qe();
38730
38730
  if (L || L !== !1 && U.indexOf(O) === -1) {
38731
38731
  for (var De = U.split(R), Ge = 0; Ge < De.length; Ge++) {
@@ -38733,62 +38733,62 @@ function _k() {
38733
38733
  else if (j) return Qe();
38734
38734
  if (!x || oe.substring(0, He) !== x) {
38735
38735
  if (ne) {
38736
- if (ge = [], Ce(oe.split(v)), nt(), $) return Qe();
38737
- } else Ce(oe.split(v));
38738
- if (V && V <= Ge) return ge = ge.slice(0, V), Qe(!0);
38736
+ if (fe = [], he(oe.split(v)), nt(), $) return Qe();
38737
+ } else he(oe.split(v));
38738
+ if (V && V <= Ge) return fe = fe.slice(0, V), Qe(!0);
38739
38739
  }
38740
38740
  }
38741
38741
  return Qe();
38742
38742
  }
38743
- for (var Te = U.indexOf(v, G), be = U.indexOf(R, G), lt = new RegExp(m(B) + m(O), "g"), I = U.indexOf(O, G); ; ) if (U[G] === O) for (I = G, G++; ; ) {
38744
- if ((I = U.indexOf(O, I + 1)) === -1) return j || ve.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: ge.length, index: G }), rt();
38745
- if (I === ue - 1) return rt(U.substring(G, I).replace(lt, O));
38746
- if (O === B && U[I + 1] === B) I++;
38747
- else if (O === B || I === 0 || U[I - 1] !== B) {
38748
- Te !== -1 && Te < I + 1 && (Te = U.indexOf(v, I + 1));
38749
- var ee = dt((be = be !== -1 && be < I + 1 ? U.indexOf(R, I + 1) : be) === -1 ? Te : Math.min(Te, be));
38750
- if (U.substr(I + 1 + ee, pe) === v) {
38751
- oe.push(U.substring(G, I).replace(lt, O)), U[G = I + 1 + ee + pe] !== O && (I = U.indexOf(O, G)), Te = U.indexOf(v, G), be = U.indexOf(R, G);
38743
+ for (var Te = U.indexOf(v, G), be = U.indexOf(R, G), lt = new RegExp(m(B) + m(O), "g"), T = U.indexOf(O, G); ; ) if (U[G] === O) for (T = G, G++; ; ) {
38744
+ if ((T = U.indexOf(O, T + 1)) === -1) return j || Ce.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: fe.length, index: G }), rt();
38745
+ if (T === ue - 1) return rt(U.substring(G, T).replace(lt, O));
38746
+ if (O === B && U[T + 1] === B) T++;
38747
+ else if (O === B || T === 0 || U[T - 1] !== B) {
38748
+ Te !== -1 && Te < T + 1 && (Te = U.indexOf(v, T + 1));
38749
+ var ee = dt((be = be !== -1 && be < T + 1 ? U.indexOf(R, T + 1) : be) === -1 ? Te : Math.min(Te, be));
38750
+ if (U.substr(T + 1 + ee, ge) === v) {
38751
+ oe.push(U.substring(G, T).replace(lt, O)), U[G = T + 1 + ee + ge] !== O && (T = U.indexOf(O, G)), Te = U.indexOf(v, G), be = U.indexOf(R, G);
38752
38752
  break;
38753
38753
  }
38754
- if (ee = dt(be), U.substring(I + 1 + ee, I + 1 + ee + Ae) === R) {
38755
- if (oe.push(U.substring(G, I).replace(lt, O)), So(I + 1 + ee + Ae), Te = U.indexOf(v, G), I = U.indexOf(O, G), ne && (nt(), $)) return Qe();
38756
- if (V && ge.length >= V) return Qe(!0);
38754
+ if (ee = dt(be), U.substring(T + 1 + ee, T + 1 + ee + Ae) === R) {
38755
+ if (oe.push(U.substring(G, T).replace(lt, O)), So(T + 1 + ee + Ae), Te = U.indexOf(v, G), T = U.indexOf(O, G), ne && (nt(), $)) return Qe();
38756
+ if (V && fe.length >= V) return Qe(!0);
38757
38757
  break;
38758
38758
  }
38759
- ve.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: ge.length, index: G }), I++;
38759
+ Ce.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: fe.length, index: G }), T++;
38760
38760
  }
38761
38761
  }
38762
38762
  else if (x && oe.length === 0 && U.substring(G, G + He) === x) {
38763
38763
  if (be === -1) return Qe();
38764
38764
  G = be + Ae, be = U.indexOf(R, G), Te = U.indexOf(v, G);
38765
- } else if (Te !== -1 && (Te < be || be === -1)) oe.push(U.substring(G, Te)), G = Te + pe, Te = U.indexOf(v, G);
38765
+ } else if (Te !== -1 && (Te < be || be === -1)) oe.push(U.substring(G, Te)), G = Te + ge, Te = U.indexOf(v, G);
38766
38766
  else {
38767
38767
  if (be === -1) break;
38768
38768
  if (oe.push(U.substring(G, be)), So(be + Ae), ne && (nt(), $)) return Qe();
38769
- if (V && ge.length >= V) return Qe(!0);
38769
+ if (V && fe.length >= V) return Qe(!0);
38770
38770
  }
38771
38771
  return rt();
38772
- function Ce(Ze) {
38773
- ge.push(Ze), Pe = G;
38772
+ function he(Ze) {
38773
+ fe.push(Ze), Pe = G;
38774
38774
  }
38775
38775
  function dt(Ze) {
38776
38776
  var ut = 0;
38777
- return ut = Ze !== -1 && (Ze = U.substring(I + 1, Ze)) && Ze.trim() === "" ? Ze.length : ut;
38777
+ return ut = Ze !== -1 && (Ze = U.substring(T + 1, Ze)) && Ze.trim() === "" ? Ze.length : ut;
38778
38778
  }
38779
38779
  function rt(Ze) {
38780
- return j || (Ze === void 0 && (Ze = U.substring(G)), oe.push(Ze), G = ue, Ce(oe), ne && nt()), Qe();
38780
+ return j || (Ze === void 0 && (Ze = U.substring(G)), oe.push(Ze), G = ue, he(oe), ne && nt()), Qe();
38781
38781
  }
38782
38782
  function So(Ze) {
38783
- G = Ze, Ce(oe), oe = [], be = U.indexOf(R, G);
38783
+ G = Ze, he(oe), oe = [], be = U.indexOf(R, G);
38784
38784
  }
38785
38785
  function Qe(Ze) {
38786
- if (b.header && !Q && ge.length && !N) {
38787
- var ut = ge[0], Kt = /* @__PURE__ */ Object.create(null), us = new Set(ut);
38786
+ if (b.header && !Q && fe.length && !N) {
38787
+ var ut = fe[0], Kt = /* @__PURE__ */ Object.create(null), us = new Set(ut);
38788
38788
  let pr = !1;
38789
38789
  for (let Ho = 0; Ho < ut.length; Ho++) {
38790
38790
  let E = ut[Ho];
38791
- if (Kt[E = M(b.transformHeader) ? b.transformHeader(E, Ho) : E]) {
38791
+ if (Kt[E = D(b.transformHeader) ? b.transformHeader(E, Ho) : E]) {
38792
38792
  let X, se = Kt[E];
38793
38793
  for (; X = E + "_" + se, se++, us.has(X); ) ;
38794
38794
  us.add(X), ut[Ho] = X, Kt[E]++, pr = !0, (H = H === null ? {} : H)[X] = E;
@@ -38797,10 +38797,10 @@ function _k() {
38797
38797
  }
38798
38798
  pr && console.warn("Duplicate headers found and renamed."), N = !0;
38799
38799
  }
38800
- return { data: ge, errors: ve, meta: { delimiter: v, linebreak: R, aborted: $, truncated: !!Ze, cursor: Pe + (Q || 0), renamedHeaders: H } };
38800
+ return { data: fe, errors: Ce, meta: { delimiter: v, linebreak: R, aborted: $, truncated: !!Ze, cursor: Pe + (Q || 0), renamedHeaders: H } };
38801
38801
  }
38802
38802
  function nt() {
38803
- T(Qe()), ge = [], ve = [];
38803
+ I(Qe()), fe = [], Ce = [];
38804
38804
  }
38805
38805
  }, this.abort = function() {
38806
38806
  $ = !0;
@@ -38812,27 +38812,27 @@ function _k() {
38812
38812
  var v = b.data, R = a[v.workerId], x = !1;
38813
38813
  if (v.error) R.userError(v.error, v.file);
38814
38814
  else if (v.results && v.results.data) {
38815
- var T = { abort: function() {
38815
+ var I = { abort: function() {
38816
38816
  x = !0, y(v.workerId, { data: [], errors: [], meta: { aborted: !0 } });
38817
38817
  }, pause: S, resume: S };
38818
- if (M(R.userStep)) {
38819
- for (var V = 0; V < v.results.data.length && (R.userStep({ data: v.results.data[V], errors: v.results.errors, meta: v.results.meta }, T), !x); V++) ;
38818
+ if (D(R.userStep)) {
38819
+ for (var V = 0; V < v.results.data.length && (R.userStep({ data: v.results.data[V], errors: v.results.errors, meta: v.results.meta }, I), !x); V++) ;
38820
38820
  delete v.results;
38821
- } else M(R.userChunk) && (R.userChunk(v.results, T, v.file), delete v.results);
38821
+ } else D(R.userChunk) && (R.userChunk(v.results, I, v.file), delete v.results);
38822
38822
  }
38823
38823
  v.finished && !x && y(v.workerId, v.results);
38824
38824
  }
38825
38825
  function y(b, v) {
38826
38826
  var R = a[b];
38827
- M(R.userComplete) && R.userComplete(v), R.terminate(), delete a[b];
38827
+ D(R.userComplete) && R.userComplete(v), R.terminate(), delete a[b];
38828
38828
  }
38829
38829
  function S() {
38830
38830
  throw new Error("Not implemented.");
38831
38831
  }
38832
- function D(b) {
38832
+ function P(b) {
38833
38833
  if (typeof b != "object" || b === null) return b;
38834
38834
  var v, R = Array.isArray(b) ? [] : {};
38835
- for (v in b) R[v] = D(b[v]);
38835
+ for (v in b) R[v] = P(b[v]);
38836
38836
  return R;
38837
38837
  }
38838
38838
  function F(b, v) {
@@ -38840,26 +38840,26 @@ function _k() {
38840
38840
  b.apply(v, arguments);
38841
38841
  };
38842
38842
  }
38843
- function M(b) {
38843
+ function D(b) {
38844
38844
  return typeof b == "function";
38845
38845
  }
38846
38846
  return d.parse = function(b, v) {
38847
38847
  var R = (v = v || {}).dynamicTyping || !1;
38848
- if (M(R) && (v.dynamicTypingFunction = R, R = {}), v.dynamicTyping = R, v.transform = !!M(v.transform) && v.transform, !v.worker || !d.WORKERS_SUPPORTED) return R = null, d.NODE_STREAM_INPUT, typeof b == "string" ? (b = ((x) => x.charCodeAt(0) !== 65279 ? x : x.slice(1))(b), R = new (v.download ? u : p)(v)) : b.readable === !0 && M(b.read) && M(b.on) ? R = new g(v) : (i.File && b instanceof File || b instanceof Object) && (R = new h(v)), R.stream(b);
38848
+ if (D(R) && (v.dynamicTypingFunction = R, R = {}), v.dynamicTyping = R, v.transform = !!D(v.transform) && v.transform, !v.worker || !d.WORKERS_SUPPORTED) return R = null, d.NODE_STREAM_INPUT, typeof b == "string" ? (b = ((x) => x.charCodeAt(0) !== 65279 ? x : x.slice(1))(b), R = new (v.download ? u : p)(v)) : b.readable === !0 && D(b.read) && D(b.on) ? R = new g(v) : (i.File && b instanceof File || b instanceof Object) && (R = new h(v)), R.stream(b);
38849
38849
  (R = (() => {
38850
38850
  var x;
38851
38851
  return !!d.WORKERS_SUPPORTED && (x = (() => {
38852
- var T = i.URL || i.webkitURL || null, V = o.toString();
38853
- return d.BLOB_URL || (d.BLOB_URL = T.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ", "(", V, ")();"], { type: "text/javascript" })));
38852
+ var I = i.URL || i.webkitURL || null, V = o.toString();
38853
+ return d.BLOB_URL || (d.BLOB_URL = I.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ", "(", V, ")();"], { type: "text/javascript" })));
38854
38854
  })(), (x = new i.Worker(x)).onmessage = C, x.id = l++, a[x.id] = x);
38855
- })()).userStep = v.step, R.userChunk = v.chunk, R.userComplete = v.complete, R.userError = v.error, v.step = M(v.step), v.chunk = M(v.chunk), v.complete = M(v.complete), v.error = M(v.error), delete v.worker, R.postMessage({ input: b, config: v, workerId: R.id });
38855
+ })()).userStep = v.step, R.userChunk = v.chunk, R.userComplete = v.complete, R.userError = v.error, v.step = D(v.step), v.chunk = D(v.chunk), v.complete = D(v.complete), v.error = D(v.error), delete v.worker, R.postMessage({ input: b, config: v, workerId: R.id });
38856
38856
  }, d.unparse = function(b, v) {
38857
- var R = !1, x = !0, T = ",", V = `\r
38857
+ var R = !1, x = !0, I = ",", V = `\r
38858
38858
  `, L = '"', H = L + L, N = !1, O = null, B = !1, G = ((() => {
38859
38859
  if (typeof v == "object") {
38860
38860
  if (typeof v.delimiter != "string" || d.BAD_DELIMITERS.filter(function(Q) {
38861
38861
  return v.delimiter.indexOf(Q) !== -1;
38862
- }).length || (T = v.delimiter), typeof v.quotes != "boolean" && typeof v.quotes != "function" && !Array.isArray(v.quotes) || (R = v.quotes), typeof v.skipEmptyLines != "boolean" && typeof v.skipEmptyLines != "string" || (N = v.skipEmptyLines), typeof v.newline == "string" && (V = v.newline), typeof v.quoteChar == "string" && (L = v.quoteChar), typeof v.header == "boolean" && (x = v.header), Array.isArray(v.columns)) {
38862
+ }).length || (I = v.delimiter), typeof v.quotes != "boolean" && typeof v.quotes != "function" && !Array.isArray(v.quotes) || (R = v.quotes), typeof v.skipEmptyLines != "boolean" && typeof v.skipEmptyLines != "string" || (N = v.skipEmptyLines), typeof v.newline == "string" && (V = v.newline), typeof v.quoteChar == "string" && (L = v.quoteChar), typeof v.header == "boolean" && (x = v.header), Array.isArray(v.columns)) {
38863
38863
  if (v.columns.length === 0) throw new Error("Option columns is empty");
38864
38864
  O = v.columns;
38865
38865
  }
@@ -38872,37 +38872,37 @@ function _k() {
38872
38872
  } else if (typeof b == "object") return typeof b.data == "string" && (b.data = JSON.parse(b.data)), Array.isArray(b.data) && (b.fields || (b.fields = b.meta && b.meta.fields || O), b.fields || (b.fields = Array.isArray(b.data[0]) ? b.fields : typeof b.data[0] == "object" ? Object.keys(b.data[0]) : []), Array.isArray(b.data[0]) || typeof b.data[0] == "object" || (b.data = [b.data])), $(b.fields || [], b.data || [], N);
38873
38873
  throw new Error("Unable to serialize unrecognized input");
38874
38874
  function $(Q, j, ue) {
38875
- var pe = "", Ae = (typeof Q == "string" && (Q = JSON.parse(Q)), typeof j == "string" && (j = JSON.parse(j)), Array.isArray(Q) && 0 < Q.length), He = !Array.isArray(j[0]);
38875
+ var ge = "", Ae = (typeof Q == "string" && (Q = JSON.parse(Q)), typeof j == "string" && (j = JSON.parse(j)), Array.isArray(Q) && 0 < Q.length), He = !Array.isArray(j[0]);
38876
38876
  if (Ae && x) {
38877
- for (var ne = 0; ne < Q.length; ne++) 0 < ne && (pe += T), pe += U(Q[ne], ne);
38878
- 0 < j.length && (pe += V);
38877
+ for (var ne = 0; ne < Q.length; ne++) 0 < ne && (ge += I), ge += U(Q[ne], ne);
38878
+ 0 < j.length && (ge += V);
38879
38879
  }
38880
- for (var ge = 0; ge < j.length; ge++) {
38881
- var ve = (Ae ? Q : j[ge]).length, oe = !1, Pe = Ae ? Object.keys(j[ge]).length === 0 : j[ge].length === 0;
38882
- if (ue && !Ae && (oe = ue === "greedy" ? j[ge].join("").trim() === "" : j[ge].length === 1 && j[ge][0].length === 0), ue === "greedy" && Ae) {
38883
- for (var De = [], Ge = 0; Ge < ve; Ge++) {
38880
+ for (var fe = 0; fe < j.length; fe++) {
38881
+ var Ce = (Ae ? Q : j[fe]).length, oe = !1, Pe = Ae ? Object.keys(j[fe]).length === 0 : j[fe].length === 0;
38882
+ if (ue && !Ae && (oe = ue === "greedy" ? j[fe].join("").trim() === "" : j[fe].length === 1 && j[fe][0].length === 0), ue === "greedy" && Ae) {
38883
+ for (var De = [], Ge = 0; Ge < Ce; Ge++) {
38884
38884
  var Te = He ? Q[Ge] : Ge;
38885
- De.push(j[ge][Te]);
38885
+ De.push(j[fe][Te]);
38886
38886
  }
38887
38887
  oe = De.join("").trim() === "";
38888
38888
  }
38889
38889
  if (!oe) {
38890
- for (var be = 0; be < ve; be++) {
38891
- 0 < be && !Pe && (pe += T);
38890
+ for (var be = 0; be < Ce; be++) {
38891
+ 0 < be && !Pe && (ge += I);
38892
38892
  var lt = Ae && He ? Q[be] : be;
38893
- pe += U(j[ge][lt], be);
38893
+ ge += U(j[fe][lt], be);
38894
38894
  }
38895
- ge < j.length - 1 && (!ue || 0 < ve && !Pe) && (pe += V);
38895
+ fe < j.length - 1 && (!ue || 0 < Ce && !Pe) && (ge += V);
38896
38896
  }
38897
38897
  }
38898
- return pe;
38898
+ return ge;
38899
38899
  }
38900
38900
  function U(Q, j) {
38901
- var ue, pe;
38902
- return Q == null ? "" : Q.constructor === Date ? JSON.stringify(Q).slice(1, 25) : (pe = !1, B && typeof Q == "string" && B.test(Q) && (Q = "'" + Q, pe = !0), ue = Q.toString().replace(G, H), (pe = pe || R === !0 || typeof R == "function" && R(Q, j) || Array.isArray(R) && R[j] || ((Ae, He) => {
38901
+ var ue, ge;
38902
+ return Q == null ? "" : Q.constructor === Date ? JSON.stringify(Q).slice(1, 25) : (ge = !1, B && typeof Q == "string" && B.test(Q) && (Q = "'" + Q, ge = !0), ue = Q.toString().replace(G, H), (ge = ge || R === !0 || typeof R == "function" && R(Q, j) || Array.isArray(R) && R[j] || ((Ae, He) => {
38903
38903
  for (var ne = 0; ne < He.length; ne++) if (-1 < Ae.indexOf(He[ne])) return !0;
38904
38904
  return !1;
38905
- })(ue, d.BAD_DELIMITERS) || -1 < ue.indexOf(T) || ue.charAt(0) === " " || ue.charAt(ue.length - 1) === " ") ? L + ue + L : ue);
38905
+ })(ue, d.BAD_DELIMITERS) || -1 < ue.indexOf(I) || ue.charAt(0) === " " || ue.charAt(ue.length - 1) === " ") ? L + ue + L : ue);
38906
38906
  }
38907
38907
  }, d.RECORD_SEP = "", d.UNIT_SEP = "", d.BYTE_ORDER_MARK = "\uFEFF", d.BAD_DELIMITERS = ["\r", `
38908
38908
  `, '"', d.BYTE_ORDER_MARK], d.WORKERS_SUPPORTED = !r && !!i.Worker, d.NODE_STREAM_INPUT = 1, d.LocalChunkSize = 10485760, d.RemoteChunkSize = 5242880, d.DefaultDelimiter = ",", d.Parser = w, d.ParserHandle = f, d.NetworkStreamer = u, d.FileStreamer = h, d.StringStreamer = p, d.ReadableStreamStreamer = g, i.jQuery && ((s = i.jQuery).fn.parse = function(b) {
@@ -38912,24 +38912,24 @@ function _k() {
38912
38912
  for (var L = 0; L < this.files.length; L++) R.push({ file: this.files[L], inputElem: this, instanceConfig: s.extend({}, v) });
38913
38913
  }), x(), this;
38914
38914
  function x() {
38915
- if (R.length === 0) M(b.complete) && b.complete();
38915
+ if (R.length === 0) D(b.complete) && b.complete();
38916
38916
  else {
38917
38917
  var V, L, H, N, O = R[0];
38918
- if (M(b.before)) {
38918
+ if (D(b.before)) {
38919
38919
  var B = b.before(O.file, O.inputElem);
38920
38920
  if (typeof B == "object") {
38921
- if (B.action === "abort") return V = "AbortError", L = O.file, H = O.inputElem, N = B.reason, void (M(b.error) && b.error({ name: V }, L, H, N));
38922
- if (B.action === "skip") return void T();
38921
+ if (B.action === "abort") return V = "AbortError", L = O.file, H = O.inputElem, N = B.reason, void (D(b.error) && b.error({ name: V }, L, H, N));
38922
+ if (B.action === "skip") return void I();
38923
38923
  typeof B.config == "object" && (O.instanceConfig = s.extend(O.instanceConfig, B.config));
38924
- } else if (B === "skip") return void T();
38924
+ } else if (B === "skip") return void I();
38925
38925
  }
38926
38926
  var G = O.instanceConfig.complete;
38927
38927
  O.instanceConfig.complete = function($) {
38928
- M(G) && G($, O.file, O.inputElem), T();
38928
+ D(G) && G($, O.file, O.inputElem), I();
38929
38929
  }, d.parse(O.file, O.instanceConfig);
38930
38930
  }
38931
38931
  }
38932
- function T() {
38932
+ function I() {
38933
38933
  R.splice(0, 1), x();
38934
38934
  }
38935
38935
  }), n && (i.onmessage = function(b) {
@@ -39528,7 +39528,7 @@ var gA = ["evt"], St = function(t, o) {
39528
39528
  ur.pluginEvent.bind(de)(t, o, Co({
39529
39529
  dragEl: q,
39530
39530
  parentEl: Ke,
39531
- ghostEl: me,
39531
+ ghostEl: ve,
39532
39532
  rootEl: We,
39533
39533
  nextEl: li,
39534
39534
  lastDownEl: Ur,
@@ -39571,7 +39571,7 @@ function Ct(e) {
39571
39571
  newDraggableIndex: jo
39572
39572
  }, e));
39573
39573
  }
39574
- var q, Ke, me, We, li, Ur, $e, Yo, Bi, Tt, Gs, jo, Mr, ct, Li = !1, Rn = !1, xn = [], oi, Yt, Fa, Da, Ic, Lc, bs, Ti, Os, Bs = !1, kr = !1, jr, ht, Pa = [], al = !1, Fn = [], Un = typeof document < "u", Ar = rd, Gc = cr || No ? "cssFloat" : "float", fA = Un && !gg && !rd && "draggable" in document.createElement("div"), Sg = function() {
39574
+ var q, Ke, ve, We, li, Ur, $e, Yo, Bi, Tt, Gs, jo, Mr, ct, Li = !1, Rn = !1, xn = [], oi, Yt, Fa, Da, Ic, Lc, bs, Ti, Os, Bs = !1, kr = !1, jr, ht, Pa = [], al = !1, Fn = [], Un = typeof document < "u", Ar = rd, Gc = cr || No ? "cssFloat" : "float", fA = Un && !gg && !rd && "draggable" in document.createElement("div"), Sg = function() {
39575
39575
  if (Un) {
39576
39576
  if (No)
39577
39577
  return !1;
@@ -39623,9 +39623,9 @@ var q, Ke, me, We, li, Ur, $e, Yo, Bi, Tt, Gs, jo, Mr, ct, Li = !1, Rn = !1, xn
39623
39623
  name: s
39624
39624
  }), i.name = s.name, i.checkPull = o(s.pull, !0), i.checkPut = o(s.put), i.revertClone = s.revertClone, t.group = i;
39625
39625
  }, Fg = function() {
39626
- !Sg && me && le(me, "display", "none");
39626
+ !Sg && ve && le(ve, "display", "none");
39627
39627
  }, Dg = function() {
39628
- !Sg && me && le(me, "display", "");
39628
+ !Sg && ve && le(ve, "display", "");
39629
39629
  };
39630
39630
  Un && !gg && document.addEventListener("click", function(e) {
39631
39631
  if (Rn)
@@ -39842,13 +39842,13 @@ de.prototype = /** @lends Sortable.prototype */
39842
39842
  },
39843
39843
  _onTouchMove: function(t) {
39844
39844
  if (oi) {
39845
- var o = this.options, i = o.fallbackTolerance, s = o.fallbackOffset, r = t.touches ? t.touches[0] : t, n = me && Ki(me, !0), a = me && n && n.a, l = me && n && n.d, d = Ar && ht && Tc(ht), c = (r.clientX - oi.clientX + s.x) / (a || 1) + (d ? d[0] - Pa[0] : 0) / (a || 1), u = (r.clientY - oi.clientY + s.y) / (l || 1) + (d ? d[1] - Pa[1] : 0) / (l || 1);
39845
+ var o = this.options, i = o.fallbackTolerance, s = o.fallbackOffset, r = t.touches ? t.touches[0] : t, n = ve && Ki(ve, !0), a = ve && n && n.a, l = ve && n && n.d, d = Ar && ht && Tc(ht), c = (r.clientX - oi.clientX + s.x) / (a || 1) + (d ? d[0] - Pa[0] : 0) / (a || 1), u = (r.clientY - oi.clientY + s.y) / (l || 1) + (d ? d[1] - Pa[1] : 0) / (l || 1);
39846
39846
  if (!de.active && !Li) {
39847
39847
  if (i && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < i)
39848
39848
  return;
39849
39849
  this._onDragStart(t, !0);
39850
39850
  }
39851
- if (me) {
39851
+ if (ve) {
39852
39852
  n ? (n.e += c - (Fa || 0), n.f += u - (Da || 0)) : n = {
39853
39853
  a: 1,
39854
39854
  b: 0,
@@ -39858,20 +39858,20 @@ de.prototype = /** @lends Sortable.prototype */
39858
39858
  f: u
39859
39859
  };
39860
39860
  var h = "matrix(".concat(n.a, ",").concat(n.b, ",").concat(n.c, ",").concat(n.d, ",").concat(n.e, ",").concat(n.f, ")");
39861
- le(me, "webkitTransform", h), le(me, "mozTransform", h), le(me, "msTransform", h), le(me, "transform", h), Fa = c, Da = u, Yt = r;
39861
+ le(ve, "webkitTransform", h), le(ve, "mozTransform", h), le(ve, "msTransform", h), le(ve, "transform", h), Fa = c, Da = u, Yt = r;
39862
39862
  }
39863
39863
  t.cancelable && t.preventDefault();
39864
39864
  }
39865
39865
  },
39866
39866
  _appendGhost: function() {
39867
- if (!me) {
39867
+ if (!ve) {
39868
39868
  var t = this.options.fallbackOnBody ? document.body : We, o = et(q, !0, Ar, !0, t), i = this.options;
39869
39869
  if (Ar) {
39870
39870
  for (ht = t; le(ht, "position") === "static" && le(ht, "transform") === "none" && ht !== document; )
39871
39871
  ht = ht.parentNode;
39872
39872
  ht !== document.body && ht !== document.documentElement ? (ht === document && (ht = fo()), o.top += ht.scrollTop, o.left += ht.scrollLeft) : ht = fo(), Pa = Tc(ht);
39873
39873
  }
39874
- me = q.cloneNode(!0), Et(me, i.ghostClass, !1), Et(me, i.fallbackClass, !0), Et(me, i.dragClass, !0), le(me, "transition", ""), le(me, "transform", ""), le(me, "box-sizing", "border-box"), le(me, "margin", 0), le(me, "top", o.top), le(me, "left", o.left), le(me, "width", o.width), le(me, "height", o.height), le(me, "opacity", "0.8"), le(me, "position", Ar ? "absolute" : "fixed"), le(me, "zIndex", "100000"), le(me, "pointerEvents", "none"), de.ghost = me, t.appendChild(me), le(me, "transform-origin", Ic / parseInt(me.style.width) * 100 + "% " + Lc / parseInt(me.style.height) * 100 + "%");
39874
+ ve = q.cloneNode(!0), Et(ve, i.ghostClass, !1), Et(ve, i.fallbackClass, !0), Et(ve, i.dragClass, !0), le(ve, "transition", ""), le(ve, "transform", ""), le(ve, "box-sizing", "border-box"), le(ve, "margin", 0), le(ve, "top", o.top), le(ve, "left", o.left), le(ve, "width", o.width), le(ve, "height", o.height), le(ve, "opacity", "0.8"), le(ve, "position", Ar ? "absolute" : "fixed"), le(ve, "zIndex", "100000"), le(ve, "pointerEvents", "none"), de.ghost = ve, t.appendChild(ve), le(ve, "transform-origin", Ic / parseInt(ve.style.width) * 100 + "% " + Lc / parseInt(ve.style.height) * 100 + "%");
39875
39875
  }
39876
39876
  },
39877
39877
  _onDragStart: function(t, o) {
@@ -39945,21 +39945,21 @@ de.prototype = /** @lends Sortable.prototype */
39945
39945
  if (S && o === t.target && (i = S), i && (r = et(i)), Er(We, o, q, s, i, r, t, !!i) !== !1)
39946
39946
  return w(), S && S.nextSibling ? o.insertBefore(q, S.nextSibling) : o.appendChild(q), Ke = o, y(), C(!0);
39947
39947
  } else if (S && yA(t, p, this)) {
39948
- var D = is(o, 0, a, !0);
39949
- if (D === q)
39948
+ var P = is(o, 0, a, !0);
39949
+ if (P === q)
39950
39950
  return C(!1);
39951
- if (i = D, r = et(i), Er(We, o, q, s, i, r, t, !1) !== !1)
39952
- return w(), o.insertBefore(q, D), Ke = o, y(), C(!0);
39951
+ if (i = P, r = et(i), Er(We, o, q, s, i, r, t, !1) !== !1)
39952
+ return w(), o.insertBefore(q, P), Ke = o, y(), C(!0);
39953
39953
  } else if (i.parentNode === o) {
39954
39954
  r = et(i);
39955
- var F = 0, M, b = q.parentNode !== o, v = !mA(q.animated && q.toRect || s, i.animated && i.toRect || r, p), R = p ? "top" : "left", x = Ec(i, "top", "top") || Ec(q, "top", "top"), T = x ? x.scrollTop : void 0;
39956
- Ti !== i && (M = r[R], Bs = !1, kr = !v && a.invertSwap || b), F = RA(t, i, r, p, v ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, kr, Ti === i);
39955
+ var F = 0, D, b = q.parentNode !== o, v = !mA(q.animated && q.toRect || s, i.animated && i.toRect || r, p), R = p ? "top" : "left", x = Ec(i, "top", "top") || Ec(q, "top", "top"), I = x ? x.scrollTop : void 0;
39956
+ Ti !== i && (D = r[R], Bs = !1, kr = !v && a.invertSwap || b), F = RA(t, i, r, p, v ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, kr, Ti === i);
39957
39957
  var V;
39958
39958
  if (F !== 0) {
39959
39959
  var L = _t(q);
39960
39960
  do
39961
39961
  L -= F, V = Ke.children[L];
39962
- while (V && (le(V, "display") === "none" || V === me));
39962
+ while (V && (le(V, "display") === "none" || V === ve));
39963
39963
  }
39964
39964
  if (F === 0 || V === i)
39965
39965
  return C(!1);
@@ -39968,7 +39968,7 @@ de.prototype = /** @lends Sortable.prototype */
39968
39968
  N = F === 1;
39969
39969
  var O = Er(We, o, q, s, i, r, t, N);
39970
39970
  if (O !== !1)
39971
- return (O === 1 || O === -1) && (N = O === 1), al = !0, setTimeout(wA, 30), w(), N && !H ? o.appendChild(q) : i.parentNode.insertBefore(q, N ? H : i), x && bg(x, 0, T - x.scrollTop), Ke = q.parentNode, M !== void 0 && !kr && (jr = Math.abs(M - et(i)[R])), y(), C(!0);
39971
+ return (O === 1 || O === -1) && (N = O === 1), al = !0, setTimeout(wA, 30), w(), N && !H ? o.appendChild(q) : i.parentNode.insertBefore(q, N ? H : i), x && bg(x, 0, I - x.scrollTop), Ke = q.parentNode, D !== void 0 && !kr && (jr = Math.abs(D - et(i)[R])), y(), C(!0);
39972
39972
  }
39973
39973
  if (o.contains(q))
39974
39974
  return C(!1);
@@ -39991,7 +39991,7 @@ de.prototype = /** @lends Sortable.prototype */
39991
39991
  this._nulling();
39992
39992
  return;
39993
39993
  }
39994
- Li = !1, kr = !1, Bs = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), ll(this.cloneId), ll(this._dragStartId), this.nativeDraggable && (Me(document, "drop", this), Me(o, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Is && le(document.body, "user-select", ""), le(q, "transform", ""), t && (bs && (t.cancelable && t.preventDefault(), !i.dropBubble && t.stopPropagation()), me && me.parentNode && me.parentNode.removeChild(me), (We === Ke || ct && ct.lastPutMode !== "clone") && $e && $e.parentNode && $e.parentNode.removeChild($e), q && (this.nativeDraggable && Me(q, "dragend", this), Ma(q), q.style["will-change"] = "", bs && !Li && Et(q, ct ? ct.options.ghostClass : this.options.ghostClass, !1), Et(q, this.options.chosenClass, !1), Ct({
39994
+ Li = !1, kr = !1, Bs = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), ll(this.cloneId), ll(this._dragStartId), this.nativeDraggable && (Me(document, "drop", this), Me(o, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Is && le(document.body, "user-select", ""), le(q, "transform", ""), t && (bs && (t.cancelable && t.preventDefault(), !i.dropBubble && t.stopPropagation()), ve && ve.parentNode && ve.parentNode.removeChild(ve), (We === Ke || ct && ct.lastPutMode !== "clone") && $e && $e.parentNode && $e.parentNode.removeChild($e), q && (this.nativeDraggable && Me(q, "dragend", this), Ma(q), q.style["will-change"] = "", bs && !Li && Et(q, ct ? ct.options.ghostClass : this.options.ghostClass, !1), Et(q, this.options.chosenClass, !1), Ct({
39995
39995
  sortable: this,
39996
39996
  name: "unchoose",
39997
39997
  toEl: Ke,
@@ -40038,7 +40038,7 @@ de.prototype = /** @lends Sortable.prototype */
40038
40038
  }), this.save()))), this._nulling();
40039
40039
  },
40040
40040
  _nulling: function() {
40041
- St("nulling", this), We = q = Ke = me = li = $e = Ur = Yo = oi = Yt = bs = Tt = jo = Bi = Gs = Ti = Os = ct = Mr = de.dragged = de.ghost = de.clone = de.active = null, Fn.forEach(function(t) {
40041
+ St("nulling", this), We = q = Ke = ve = li = $e = Ur = Yo = oi = Yt = bs = Tt = jo = Bi = Gs = Ti = Os = ct = Mr = de.dragged = de.ghost = de.clone = de.active = null, Fn.forEach(function(t) {
40042
40042
  t.checked = !0;
40043
40043
  }), Fn.length = Fa = Da = 0;
40044
40044
  },
@@ -40152,11 +40152,11 @@ function wA() {
40152
40152
  al = !1;
40153
40153
  }
40154
40154
  function yA(e, t, o) {
40155
- var i = et(is(o.el, 0, o.options, !0)), s = yg(o.el, o.options, me), r = 10;
40155
+ var i = et(is(o.el, 0, o.options, !0)), s = yg(o.el, o.options, ve), r = 10;
40156
40156
  return t ? e.clientX < s.left - r || e.clientY < i.top && e.clientX < i.right : e.clientY < s.top - r || e.clientY < i.bottom && e.clientX < i.left;
40157
40157
  }
40158
40158
  function SA(e, t, o) {
40159
- var i = et(nd(o.el, o.options.draggable)), s = yg(o.el, o.options, me), r = 10;
40159
+ var i = et(nd(o.el, o.options.draggable)), s = yg(o.el, o.options, ve), r = 10;
40160
40160
  return t ? e.clientX > s.right + r || e.clientY > i.bottom && e.clientX > i.left : e.clientY > s.bottom + r || e.clientX > i.right && e.clientY > i.top;
40161
40161
  }
40162
40162
  function RA(e, t, o, i, s, r, n, a) {
@@ -40299,13 +40299,13 @@ var Ea = Cg(function(e, t, o, i) {
40299
40299
  dl !== o && (dl = o, Yr(), ws = t.scroll, c = t.scrollFn, ws === !0 && (ws = qo(o, !0)));
40300
40300
  var u = 0, h = ws;
40301
40301
  do {
40302
- var p = h, g = et(p), f = g.top, m = g.bottom, w = g.left, C = g.right, y = g.width, S = g.height, D = void 0, F = void 0, M = p.scrollWidth, b = p.scrollHeight, v = le(p), R = p.scrollLeft, x = p.scrollTop;
40303
- p === l ? (D = y < M && (v.overflowX === "auto" || v.overflowX === "scroll" || v.overflowX === "visible"), F = S < b && (v.overflowY === "auto" || v.overflowY === "scroll" || v.overflowY === "visible")) : (D = y < M && (v.overflowX === "auto" || v.overflowX === "scroll"), F = S < b && (v.overflowY === "auto" || v.overflowY === "scroll"));
40304
- var T = D && (Math.abs(C - s) <= n && R + y < M) - (Math.abs(w - s) <= n && !!R), V = F && (Math.abs(m - r) <= n && x + S < b) - (Math.abs(f - r) <= n && !!x);
40302
+ var p = h, g = et(p), f = g.top, m = g.bottom, w = g.left, C = g.right, y = g.width, S = g.height, P = void 0, F = void 0, D = p.scrollWidth, b = p.scrollHeight, v = le(p), R = p.scrollLeft, x = p.scrollTop;
40303
+ p === l ? (P = y < D && (v.overflowX === "auto" || v.overflowX === "scroll" || v.overflowX === "visible"), F = S < b && (v.overflowY === "auto" || v.overflowY === "scroll" || v.overflowY === "visible")) : (P = y < D && (v.overflowX === "auto" || v.overflowX === "scroll"), F = S < b && (v.overflowY === "auto" || v.overflowY === "scroll"));
40304
+ var I = P && (Math.abs(C - s) <= n && R + y < D) - (Math.abs(w - s) <= n && !!R), V = F && (Math.abs(m - r) <= n && x + S < b) - (Math.abs(f - r) <= n && !!x);
40305
40305
  if (!Je[u])
40306
40306
  for (var L = 0; L <= u; L++)
40307
40307
  Je[L] || (Je[L] = {});
40308
- (Je[u].vx != T || Je[u].vy != V || Je[u].el !== p) && (Je[u].el = p, Je[u].vx = T, Je[u].vy = V, clearInterval(Je[u].pid), (T != 0 || V != 0) && (d = !0, Je[u].pid = setInterval(function() {
40308
+ (Je[u].vx != I || Je[u].vy != V || Je[u].el !== p) && (Je[u].el = p, Je[u].vx = I, Je[u].vy = V, clearInterval(Je[u].pid), (I != 0 || V != 0) && (d = !0, Je[u].pid = setInterval(function() {
40309
40309
  i && this.layer === 0 && de.active._onTouchMove(Dn);
40310
40310
  var H = Je[this.layer].vy ? Je[this.layer].vy * a : 0, N = Je[this.layer].vx ? Je[this.layer].vx * a : 0;
40311
40311
  typeof c == "function" && c.call(de.dragged.parentNode[xt], N, H, e, Dn, Je[this.layer].el) !== "continue" || bg(Je[this.layer].el, N, H);
@@ -41349,12 +41349,12 @@ var qt = {
41349
41349
  const { preset: h, options: p } = t;
41350
41350
  let g, f, m, w, C, y, S;
41351
41351
  if (Ye(h) && p.transform !== "strict") {
41352
- const { primitive: D, semantic: F, extend: M } = h, b = F || {}, { colorScheme: v } = b, R = xo(b, ["colorScheme"]), x = M || {}, { colorScheme: T } = x, V = xo(x, ["colorScheme"]), L = v || {}, { dark: H } = L, N = xo(L, ["dark"]), O = T || {}, { dark: B } = O, G = xo(O, ["dark"]), $ = Ye(D) ? this._toVariables({ primitive: D }, p) : {}, U = Ye(R) ? this._toVariables({ semantic: R }, p) : {}, Q = Ye(N) ? this._toVariables({ light: N }, p) : {}, j = Ye(H) ? this._toVariables({ dark: H }, p) : {}, ue = Ye(V) ? this._toVariables({ semantic: V }, p) : {}, pe = Ye(G) ? this._toVariables({ light: G }, p) : {}, Ae = Ye(B) ? this._toVariables({ dark: B }, p) : {}, [He, ne] = [(r = $.declarations) != null ? r : "", $.tokens], [ge, ve] = [(n = U.declarations) != null ? n : "", U.tokens || []], [oe, Pe] = [(a = Q.declarations) != null ? a : "", Q.tokens || []], [De, Ge] = [(l = j.declarations) != null ? l : "", j.tokens || []], [Te, be] = [(d = ue.declarations) != null ? d : "", ue.tokens || []], [lt, I] = [(c = pe.declarations) != null ? c : "", pe.tokens || []], [ee, Ce] = [(u = Ae.declarations) != null ? u : "", Ae.tokens || []];
41352
+ const { primitive: P, semantic: F, extend: D } = h, b = F || {}, { colorScheme: v } = b, R = xo(b, ["colorScheme"]), x = D || {}, { colorScheme: I } = x, V = xo(x, ["colorScheme"]), L = v || {}, { dark: H } = L, N = xo(L, ["dark"]), O = I || {}, { dark: B } = O, G = xo(O, ["dark"]), $ = Ye(P) ? this._toVariables({ primitive: P }, p) : {}, U = Ye(R) ? this._toVariables({ semantic: R }, p) : {}, Q = Ye(N) ? this._toVariables({ light: N }, p) : {}, j = Ye(H) ? this._toVariables({ dark: H }, p) : {}, ue = Ye(V) ? this._toVariables({ semantic: V }, p) : {}, ge = Ye(G) ? this._toVariables({ light: G }, p) : {}, Ae = Ye(B) ? this._toVariables({ dark: B }, p) : {}, [He, ne] = [(r = $.declarations) != null ? r : "", $.tokens], [fe, Ce] = [(n = U.declarations) != null ? n : "", U.tokens || []], [oe, Pe] = [(a = Q.declarations) != null ? a : "", Q.tokens || []], [De, Ge] = [(l = j.declarations) != null ? l : "", j.tokens || []], [Te, be] = [(d = ue.declarations) != null ? d : "", ue.tokens || []], [lt, T] = [(c = ge.declarations) != null ? c : "", ge.tokens || []], [ee, he] = [(u = Ae.declarations) != null ? u : "", Ae.tokens || []];
41353
41353
  g = this.transformCSS(e, He, "light", "variable", p, i, s), f = ne;
41354
- const dt = this.transformCSS(e, `${ge}${oe}`, "light", "variable", p, i, s), rt = this.transformCSS(e, `${De}`, "dark", "variable", p, i, s);
41355
- m = `${dt}${rt}`, w = [.../* @__PURE__ */ new Set([...ve, ...Pe, ...Ge])];
41354
+ const dt = this.transformCSS(e, `${fe}${oe}`, "light", "variable", p, i, s), rt = this.transformCSS(e, `${De}`, "dark", "variable", p, i, s);
41355
+ m = `${dt}${rt}`, w = [.../* @__PURE__ */ new Set([...Ce, ...Pe, ...Ge])];
41356
41356
  const So = this.transformCSS(e, `${Te}${lt}color-scheme:light`, "light", "variable", p, i, s), Qe = this.transformCSS(e, `${ee}color-scheme:dark`, "dark", "variable", p, i, s);
41357
- C = `${So}${Qe}`, y = [.../* @__PURE__ */ new Set([...be, ...I, ...Ce])], S = Xo(h.css, { dt: yi });
41357
+ C = `${So}${Qe}`, y = [.../* @__PURE__ */ new Set([...be, ...T, ...he])], S = Xo(h.css, { dt: yi });
41358
41358
  }
41359
41359
  return {
41360
41360
  primitive: {
@@ -41376,7 +41376,7 @@ var qt = {
41376
41376
  var a, l, d;
41377
41377
  let c, u, h;
41378
41378
  if (Ye(t) && o.transform !== "strict") {
41379
- const p = e.replace("-directive", ""), g = t, { colorScheme: f, extend: m, css: w } = g, C = xo(g, ["colorScheme", "extend", "css"]), y = m || {}, { colorScheme: S } = y, D = xo(y, ["colorScheme"]), F = f || {}, { dark: M } = F, b = xo(F, ["dark"]), v = S || {}, { dark: R } = v, x = xo(v, ["dark"]), T = Ye(C) ? this._toVariables({ [p]: Zt(Zt({}, C), D) }, o) : {}, V = Ye(b) ? this._toVariables({ [p]: Zt(Zt({}, b), x) }, o) : {}, L = Ye(M) ? this._toVariables({ [p]: Zt(Zt({}, M), R) }, o) : {}, [H, N] = [(a = T.declarations) != null ? a : "", T.tokens || []], [O, B] = [(l = V.declarations) != null ? l : "", V.tokens || []], [G, $] = [(d = L.declarations) != null ? d : "", L.tokens || []], U = this.transformCSS(p, `${H}${O}`, "light", "variable", o, s, r, n), Q = this.transformCSS(p, G, "dark", "variable", o, s, r, n);
41379
+ const p = e.replace("-directive", ""), g = t, { colorScheme: f, extend: m, css: w } = g, C = xo(g, ["colorScheme", "extend", "css"]), y = m || {}, { colorScheme: S } = y, P = xo(y, ["colorScheme"]), F = f || {}, { dark: D } = F, b = xo(F, ["dark"]), v = S || {}, { dark: R } = v, x = xo(v, ["dark"]), I = Ye(C) ? this._toVariables({ [p]: Zt(Zt({}, C), P) }, o) : {}, V = Ye(b) ? this._toVariables({ [p]: Zt(Zt({}, b), x) }, o) : {}, L = Ye(D) ? this._toVariables({ [p]: Zt(Zt({}, D), R) }, o) : {}, [H, N] = [(a = I.declarations) != null ? a : "", I.tokens || []], [O, B] = [(l = V.declarations) != null ? l : "", V.tokens || []], [G, $] = [(d = L.declarations) != null ? d : "", L.tokens || []], U = this.transformCSS(p, `${H}${O}`, "light", "variable", o, s, r, n), Q = this.transformCSS(p, G, "dark", "variable", o, s, r, n);
41380
41380
  c = `${U}${Q}`, u = [.../* @__PURE__ */ new Set([...N, ...B, ...$])], h = Xo(w, { dt: yi });
41381
41381
  }
41382
41382
  return {
@@ -41746,7 +41746,7 @@ function WE(e) {
41746
41746
  }
41747
41747
  var $E = 0;
41748
41748
  function UE(e) {
41749
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = Y(!1), i = Y(e), s = Y(null), r = SE() ? window.document : void 0, n = t.document, a = n === void 0 ? r : n, l = t.immediate, d = l === void 0 ? !0 : l, c = t.manual, u = c === void 0 ? !1 : c, h = t.name, p = h === void 0 ? "style_".concat(++$E) : h, g = t.id, f = g === void 0 ? void 0 : g, m = t.media, w = m === void 0 ? void 0 : m, C = t.nonce, y = C === void 0 ? void 0 : C, S = t.first, D = S === void 0 ? !1 : S, F = t.onMounted, M = F === void 0 ? void 0 : F, b = t.onUpdated, v = b === void 0 ? void 0 : b, R = t.onLoad, x = R === void 0 ? void 0 : R, T = t.props, V = T === void 0 ? {} : T, L = function() {
41749
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = Y(!1), i = Y(e), s = Y(null), r = SE() ? window.document : void 0, n = t.document, a = n === void 0 ? r : n, l = t.immediate, d = l === void 0 ? !0 : l, c = t.manual, u = c === void 0 ? !1 : c, h = t.name, p = h === void 0 ? "style_".concat(++$E) : h, g = t.id, f = g === void 0 ? void 0 : g, m = t.media, w = m === void 0 ? void 0 : m, C = t.nonce, y = C === void 0 ? void 0 : C, S = t.first, P = S === void 0 ? !1 : S, F = t.onMounted, D = F === void 0 ? void 0 : F, b = t.onUpdated, v = b === void 0 ? void 0 : b, R = t.onLoad, x = R === void 0 ? void 0 : R, I = t.props, V = I === void 0 ? {} : I, L = function() {
41750
41750
  }, H = function(B) {
41751
41751
  var G = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
41752
41752
  if (a) {
@@ -41756,11 +41756,11 @@ function UE(e) {
41756
41756
  id: Q,
41757
41757
  media: w,
41758
41758
  nonce: j
41759
- }), D ? a.head.prepend(s.value) : a.head.appendChild(s.value), RE(s.value, "data-primevue-style-id", U), ul(s.value, $), s.value.onload = function(ue) {
41759
+ }), P ? a.head.prepend(s.value) : a.head.appendChild(s.value), RE(s.value, "data-primevue-style-id", U), ul(s.value, $), s.value.onload = function(ue) {
41760
41760
  return x?.(ue, {
41761
41761
  name: U
41762
41762
  });
41763
- }, M?.(U)), !o.value && (L = it(i, function(ue) {
41763
+ }, D?.(U)), !o.value && (L = it(i, function(ue) {
41764
41764
  s.value.textContent = ue, v?.(U);
41765
41765
  }, {
41766
41766
  immediate: !0
@@ -41996,13 +41996,13 @@ function iT() {
41996
41996
  return { M: u, y: p, w: c, d, D: g, h: l, m: a, s: n, ms: r, Q: h }[L] || String(L || "").toLowerCase().replace(/s$/, "");
41997
41997
  }, u: function(L) {
41998
41998
  return L === void 0;
41999
- } }, D = "en", F = {};
42000
- F[D] = C;
42001
- var M = "$isDayjsObject", b = function(L) {
42002
- return L instanceof T || !(!L || !L[M]);
41999
+ } }, P = "en", F = {};
42000
+ F[P] = C;
42001
+ var D = "$isDayjsObject", b = function(L) {
42002
+ return L instanceof I || !(!L || !L[D]);
42003
42003
  }, v = function L(H, N, O) {
42004
42004
  var B;
42005
- if (!H) return D;
42005
+ if (!H) return P;
42006
42006
  if (typeof H == "string") {
42007
42007
  var G = H.toLowerCase();
42008
42008
  F[G] && (B = G), N && (F[G] = N, B = G);
@@ -42012,18 +42012,18 @@ function iT() {
42012
42012
  var U = H.name;
42013
42013
  F[U] = H, B = U;
42014
42014
  }
42015
- return !O && B && (D = B), B || !O && D;
42015
+ return !O && B && (P = B), B || !O && P;
42016
42016
  }, R = function(L, H) {
42017
42017
  if (b(L)) return L.clone();
42018
42018
  var N = typeof H == "object" ? H : {};
42019
- return N.date = L, N.args = arguments, new T(N);
42019
+ return N.date = L, N.args = arguments, new I(N);
42020
42020
  }, x = S;
42021
42021
  x.l = v, x.i = b, x.w = function(L, H) {
42022
42022
  return R(L, { locale: H.$L, utc: H.$u, x: H.$x, $offset: H.$offset });
42023
42023
  };
42024
- var T = function() {
42024
+ var I = function() {
42025
42025
  function L(N) {
42026
- this.$L = v(N.locale, null, !0), this.parse(N), this.$x = this.$x || N.x || {}, this[M] = !0;
42026
+ this.$L = v(N.locale, null, !0), this.parse(N), this.$x = this.$x || N.x || {}, this[D] = !0;
42027
42027
  }
42028
42028
  var H = L.prototype;
42029
42029
  return H.parse = function(N) {
@@ -42062,12 +42062,12 @@ function iT() {
42062
42062
  }, H.valueOf = function() {
42063
42063
  return this.$d.getTime();
42064
42064
  }, H.startOf = function(N, O) {
42065
- var B = this, G = !!x.u(O) || O, $ = x.p(N), U = function(ge, ve) {
42066
- var oe = x.w(B.$u ? Date.UTC(B.$y, ve, ge) : new Date(B.$y, ve, ge), B);
42065
+ var B = this, G = !!x.u(O) || O, $ = x.p(N), U = function(fe, Ce) {
42066
+ var oe = x.w(B.$u ? Date.UTC(B.$y, Ce, fe) : new Date(B.$y, Ce, fe), B);
42067
42067
  return G ? oe : oe.endOf(d);
42068
- }, Q = function(ge, ve) {
42069
- return x.w(B.toDate()[ge].apply(B.toDate("s"), (G ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ve)), B);
42070
- }, j = this.$W, ue = this.$M, pe = this.$D, Ae = "set" + (this.$u ? "UTC" : "");
42068
+ }, Q = function(fe, Ce) {
42069
+ return x.w(B.toDate()[fe].apply(B.toDate("s"), (G ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ce)), B);
42070
+ }, j = this.$W, ue = this.$M, ge = this.$D, Ae = "set" + (this.$u ? "UTC" : "");
42071
42071
  switch ($) {
42072
42072
  case p:
42073
42073
  return G ? U(1, 0) : U(31, 11);
@@ -42075,7 +42075,7 @@ function iT() {
42075
42075
  return G ? U(1, ue) : U(0, ue + 1);
42076
42076
  case c:
42077
42077
  var He = this.$locale().weekStart || 0, ne = (j < He ? j + 7 : j) - He;
42078
- return U(G ? pe - ne : pe + (6 - ne), ue);
42078
+ return U(G ? ge - ne : ge + (6 - ne), ue);
42079
42079
  case d:
42080
42080
  case g:
42081
42081
  return Q(Ae + "Hours", 0);
@@ -42105,8 +42105,8 @@ function iT() {
42105
42105
  var B, G = this;
42106
42106
  N = Number(N);
42107
42107
  var $ = x.p(O), U = function(ue) {
42108
- var pe = R(G);
42109
- return x.w(pe.date(pe.date() + Math.round(ue * N)), G);
42108
+ var ge = R(G);
42109
+ return x.w(ge.date(ge.date() + Math.round(ue * N)), G);
42110
42110
  };
42111
42111
  if ($ === u) return this.set(u, this.$M + N);
42112
42112
  if ($ === p) return this.set(p, this.$y + N);
@@ -42119,15 +42119,15 @@ function iT() {
42119
42119
  }, H.format = function(N) {
42120
42120
  var O = this, B = this.$locale();
42121
42121
  if (!this.isValid()) return B.invalidDate || f;
42122
- var G = N || "YYYY-MM-DDTHH:mm:ssZ", $ = x.z(this), U = this.$H, Q = this.$m, j = this.$M, ue = B.weekdays, pe = B.months, Ae = B.meridiem, He = function(ve, oe, Pe, De) {
42123
- return ve && (ve[oe] || ve(O, G)) || Pe[oe].slice(0, De);
42124
- }, ne = function(ve) {
42125
- return x.s(U % 12 || 12, ve, "0");
42126
- }, ge = Ae || function(ve, oe, Pe) {
42127
- var De = ve < 12 ? "AM" : "PM";
42122
+ var G = N || "YYYY-MM-DDTHH:mm:ssZ", $ = x.z(this), U = this.$H, Q = this.$m, j = this.$M, ue = B.weekdays, ge = B.months, Ae = B.meridiem, He = function(Ce, oe, Pe, De) {
42123
+ return Ce && (Ce[oe] || Ce(O, G)) || Pe[oe].slice(0, De);
42124
+ }, ne = function(Ce) {
42125
+ return x.s(U % 12 || 12, Ce, "0");
42126
+ }, fe = Ae || function(Ce, oe, Pe) {
42127
+ var De = Ce < 12 ? "AM" : "PM";
42128
42128
  return Pe ? De.toLowerCase() : De;
42129
42129
  };
42130
- return G.replace(w, function(ve, oe) {
42130
+ return G.replace(w, function(Ce, oe) {
42131
42131
  return oe || function(Pe) {
42132
42132
  switch (Pe) {
42133
42133
  case "YY":
@@ -42139,9 +42139,9 @@ function iT() {
42139
42139
  case "MM":
42140
42140
  return x.s(j + 1, 2, "0");
42141
42141
  case "MMM":
42142
- return He(B.monthsShort, j, pe, 3);
42142
+ return He(B.monthsShort, j, ge, 3);
42143
42143
  case "MMMM":
42144
- return He(pe, j);
42144
+ return He(ge, j);
42145
42145
  case "D":
42146
42146
  return O.$D;
42147
42147
  case "DD":
@@ -42163,9 +42163,9 @@ function iT() {
42163
42163
  case "hh":
42164
42164
  return ne(2);
42165
42165
  case "a":
42166
- return ge(U, Q, !0);
42166
+ return fe(U, Q, !0);
42167
42167
  case "A":
42168
- return ge(U, Q, !1);
42168
+ return fe(U, Q, !1);
42169
42169
  case "m":
42170
42170
  return String(Q);
42171
42171
  case "mm":
@@ -42180,23 +42180,23 @@ function iT() {
42180
42180
  return $;
42181
42181
  }
42182
42182
  return null;
42183
- }(ve) || $.replace(":", "");
42183
+ }(Ce) || $.replace(":", "");
42184
42184
  });
42185
42185
  }, H.utcOffset = function() {
42186
42186
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
42187
42187
  }, H.diff = function(N, O, B) {
42188
- var G, $ = this, U = x.p(O), Q = R(N), j = (Q.utcOffset() - this.utcOffset()) * i, ue = this - Q, pe = function() {
42188
+ var G, $ = this, U = x.p(O), Q = R(N), j = (Q.utcOffset() - this.utcOffset()) * i, ue = this - Q, ge = function() {
42189
42189
  return x.m($, Q);
42190
42190
  };
42191
42191
  switch (U) {
42192
42192
  case p:
42193
- G = pe() / 12;
42193
+ G = ge() / 12;
42194
42194
  break;
42195
42195
  case u:
42196
- G = pe();
42196
+ G = ge();
42197
42197
  break;
42198
42198
  case h:
42199
- G = pe() / 3;
42199
+ G = ge() / 3;
42200
42200
  break;
42201
42201
  case c:
42202
42202
  G = (ue - j) / 6048e5;
@@ -42236,16 +42236,16 @@ function iT() {
42236
42236
  }, H.toString = function() {
42237
42237
  return this.$d.toUTCString();
42238
42238
  }, L;
42239
- }(), V = T.prototype;
42239
+ }(), V = I.prototype;
42240
42240
  return R.prototype = V, [["$ms", r], ["$s", n], ["$m", a], ["$H", l], ["$W", d], ["$M", u], ["$y", p], ["$D", g]].forEach(function(L) {
42241
42241
  V[L[1]] = function(H) {
42242
42242
  return this.$g(H, L[0], L[1]);
42243
42243
  };
42244
42244
  }), R.extend = function(L, H) {
42245
- return L.$i || (L(H, T, R), L.$i = !0), R;
42245
+ return L.$i || (L(H, I, R), L.$i = !0), R;
42246
42246
  }, R.locale = v, R.isDayjs = b, R.unix = function(L) {
42247
42247
  return R(1e3 * L);
42248
- }, R.en = F[D], R.Ls = F, R.p = {}, R;
42248
+ }, R.en = F[P], R.Ls = F, R.p = {}, R;
42249
42249
  });
42250
42250
  }(Qr)), Qr.exports;
42251
42251
  }
@@ -42284,11 +42284,11 @@ function nT() {
42284
42284
  l.utcOffset = function(f, m) {
42285
42285
  var w = this.$utils().u;
42286
42286
  if (w(f)) return this.$u ? 0 : w(this.$offset) ? u.call(this) : this.$offset;
42287
- if (typeof f == "string" && (f = function(D) {
42288
- D === void 0 && (D = "");
42289
- var F = D.match(i);
42287
+ if (typeof f == "string" && (f = function(P) {
42288
+ P === void 0 && (P = "");
42289
+ var F = P.match(i);
42290
42290
  if (!F) return null;
42291
- var M = ("" + F[0]).match(s) || ["-", 0, 0], b = M[0], v = 60 * +M[1] + +M[2];
42291
+ var D = ("" + F[0]).match(s) || ["-", 0, 0], b = D[0], v = 60 * +D[1] + +D[2];
42292
42292
  return v === 0 ? 0 : b === "+" ? v : -v;
42293
42293
  }(f), f === null)) return this;
42294
42294
  var C = Math.abs(f) <= 16 ? 60 * f : f, y = this;
@@ -42341,8 +42341,8 @@ function cT() {
42341
42341
  g === void 0 && (g = {});
42342
42342
  var f = new Date(h), m = function(w, C) {
42343
42343
  C === void 0 && (C = {});
42344
- var y = C.timeZoneName || "short", S = w + "|" + y, D = i[S];
42345
- return D || (D = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: w, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: y }), i[S] = D), D;
42344
+ var y = C.timeZoneName || "short", S = w + "|" + y, P = i[S];
42345
+ return P || (P = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: w, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: y }), i[S] = P), P;
42346
42346
  }(p, g);
42347
42347
  return m.formatToParts(f);
42348
42348
  }, d = function(h, p) {
@@ -42350,8 +42350,8 @@ function cT() {
42350
42350
  var w = g[m], C = w.type, y = w.value, S = o[C];
42351
42351
  S >= 0 && (f[S] = parseInt(y, 10));
42352
42352
  }
42353
- var D = f[3], F = D === 24 ? 0 : D, M = f[0] + "-" + f[1] + "-" + f[2] + " " + F + ":" + f[4] + ":" + f[5] + ":000", b = +h;
42354
- return (n.utc(M).valueOf() - (b -= b % 1e3)) / 6e4;
42353
+ var P = f[3], F = P === 24 ? 0 : P, D = f[0] + "-" + f[1] + "-" + f[2] + " " + F + ":" + f[4] + ":" + f[5] + ":000", b = +h;
42354
+ return (n.utc(D).valueOf() - (b -= b % 1e3)) / 6e4;
42355
42355
  }, c = r.prototype;
42356
42356
  c.tz = function(h, p) {
42357
42357
  h === void 0 && (h = a);
@@ -42376,13 +42376,13 @@ function cT() {
42376
42376
  }, n.tz = function(h, p, g) {
42377
42377
  var f = g && p, m = g || p || a, w = d(+n(), m);
42378
42378
  if (typeof h != "string") return n(h).tz(m);
42379
- var C = function(F, M, b) {
42380
- var v = F - 60 * M * 1e3, R = d(v, b);
42381
- if (M === R) return [v, M];
42382
- var x = d(v -= 60 * (R - M) * 1e3, b);
42379
+ var C = function(F, D, b) {
42380
+ var v = F - 60 * D * 1e3, R = d(v, b);
42381
+ if (D === R) return [v, D];
42382
+ var x = d(v -= 60 * (R - D) * 1e3, b);
42383
42383
  return R === x ? [v, R] : [F - 60 * Math.min(R, x) * 1e3, Math.max(R, x)];
42384
- }(n.utc(h, f).valueOf(), w, m), y = C[0], S = C[1], D = n(y).utcOffset(S);
42385
- return D.$x.$timezone = m, D;
42384
+ }(n.utc(h, f).valueOf(), w, m), y = C[0], S = C[1], P = n(y).utcOffset(S);
42385
+ return P.$x.$timezone = m, P;
42386
42386
  }, n.tz.guess = function() {
42387
42387
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
42388
42388
  }, n.tz.setDefault = function(h) {
@@ -42960,7 +42960,7 @@ const AT = /* @__PURE__ */ yo(PT, [["render", kT]]), ET = ["src"], TT = /* @__PU
42960
42960
  const w = K(() => f.value === "" ? o.options : o.options.filter(
42961
42961
  (b) => b.text.toLocaleLowerCase().includes(f.value.toLocaleLowerCase())
42962
42962
  )), C = (b) => {
42963
- const v = g.value, R = v.findIndex((T) => T.id === b.id);
42963
+ const v = g.value, R = v.findIndex((I) => I.id === b.id);
42964
42964
  let x;
42965
42965
  R > -1 ? x = [...v.slice(0, R), ...v.slice(R + 1)] : x = [...v, { ...b }], g.value = x;
42966
42966
  }, y = () => {
@@ -42970,7 +42970,7 @@ const AT = /* @__PURE__ */ yo(PT, [["render", kT]]), ET = ["src"], TT = /* @__PU
42970
42970
  }));
42971
42971
  }, S = () => {
42972
42972
  g.value = [];
42973
- }, D = K(() => {
42973
+ }, P = K(() => {
42974
42974
  if (!o.groupings) return;
42975
42975
  const b = /* @__PURE__ */ new Map();
42976
42976
  o.groupings.forEach((v) => {
@@ -42983,7 +42983,7 @@ const AT = /* @__PURE__ */ yo(PT, [["render", kT]]), ET = ["src"], TT = /* @__PU
42983
42983
  for (const [v, R] of b)
42984
42984
  R.length === 0 && b.delete(v);
42985
42985
  return Array.from(b.entries());
42986
- }), F = K(() => o.groupings && f.value === ""), M = (b) => g.value.some((v) => v.id === b.id) ? !0 : null;
42986
+ }), F = K(() => o.groupings && f.value === ""), D = (b) => g.value.some((v) => v.id === b.id) ? !0 : null;
42987
42987
  return pg("Escape", () => {
42988
42988
  h.value && m();
42989
42989
  }), (b, v) => qi((k(), z("div", jT, [
@@ -43024,12 +43024,12 @@ const AT = /* @__PURE__ */ yo(PT, [["render", kT]]), ET = ["src"], TT = /* @__PU
43024
43024
  v[2] || (v[2] = Z("div", { class: "pv-border-top pv-stack-12" }, null, -1))
43025
43025
  ], 64)) : te("", !0),
43026
43026
  w.value.length > 0 ? (k(), z(ze, { key: 1 }, [
43027
- F.value ? (k(!0), z(ze, { key: 0 }, Do(D.value, ([R, x], T) => (k(), z("div", { key: R }, [
43027
+ F.value ? (k(!0), z(ze, { key: 0 }, Do(P.value, ([R, x], I) => (k(), z("div", { key: R }, [
43028
43028
  b.$slots[R] ? bt(b.$slots, R, { key: 0 }) : R !== "other" ? (k(), z("span", KT, Re(R), 1)) : te("", !0),
43029
43029
  Z("ul", YT, [
43030
43030
  (k(!0), z(ze, null, Do(x, (V) => qi((k(), z("li", {
43031
43031
  key: V.id,
43032
- "data-active": M(V),
43032
+ "data-active": D(V),
43033
43033
  class: "pv-stack-4"
43034
43034
  }, [
43035
43035
  Le(eu, {
@@ -43040,10 +43040,10 @@ const AT = /* @__PURE__ */ yo(PT, [["render", kT]]), ET = ["src"], TT = /* @__PU
43040
43040
  onHandleSelectItem: C
43041
43041
  }, null, 8, ["data-testid", "options-variant", "selected", "option"])
43042
43042
  ], 8, qT)), [
43043
- [Cf, M(V) || !b.isLoading]
43043
+ [Cf, D(V) || !b.isLoading]
43044
43044
  ])), 128))
43045
43045
  ]),
43046
- D.value && T !== D.value.length - 1 ? (k(), z("div", XT)) : te("", !0)
43046
+ P.value && I !== P.value.length - 1 ? (k(), z("div", XT)) : te("", !0)
43047
43047
  ]))), 128)) : (k(), z("ul", QT, [
43048
43048
  (k(!0), z(ze, null, Do(w.value, (R) => (k(), z("li", {
43049
43049
  key: R.id,
@@ -43162,22 +43162,22 @@ const gl = Symbol("FilterStoreKey"), x_ = Symbol("FocusDataKey"), zg = Symbol("S
43162
43162
  label: "",
43163
43163
  value: "divider"
43164
43164
  }, y = p.value.map(
43165
- (D) => ({
43166
- label: D.headerName,
43167
- value: D.field
43165
+ (P) => ({
43166
+ label: P.headerName,
43167
+ value: P.field
43168
43168
  })
43169
43169
  ), S = g.value.map(
43170
- (D) => ({
43171
- label: D.headerName,
43172
- value: D.field
43170
+ (P) => ({
43171
+ label: P.headerName,
43172
+ value: P.field
43173
43173
  })
43174
43174
  );
43175
43175
  return [...y, C, ...S];
43176
43176
  }), m = (C) => `group-by-list-item-${C}`, w = (C) => {
43177
- const y = C.findIndex((F) => F === "divider"), D = C.slice(0, y).slice(0, r.rowGroupLimit).map(
43177
+ const y = C.findIndex((F) => F === "divider"), P = C.slice(0, y).slice(0, r.rowGroupLimit).map(
43178
43178
  (F) => F.replace("group-by-list-item-", "")
43179
43179
  );
43180
- o.value && o.value.setRowGroupColumns(D);
43180
+ o.value && o.value.setRowGroupColumns(P);
43181
43181
  };
43182
43182
  return (C, y) => (k(), ye(_A, {
43183
43183
  isList: !0,
@@ -43198,7 +43198,7 @@ const gl = Symbol("FilterStoreKey"), x_ = Symbol("FocusDataKey"), zg = Symbol("S
43198
43198
  ])
43199
43199
  ]),
43200
43200
  default: qe(() => [
43201
- (k(!0), z(ze, null, Do(f.value, (S, D) => (k(), z(ze, {
43201
+ (k(!0), z(ze, null, Do(f.value, (S, P) => (k(), z(ze, {
43202
43202
  key: S.value
43203
43203
  }, [
43204
43204
  S.value !== "divider" ? (k(), z("li", {
@@ -43207,7 +43207,7 @@ const gl = Symbol("FilterStoreKey"), x_ = Symbol("FocusDataKey"), zg = Symbol("S
43207
43207
  }, [
43208
43208
  Z("label", {
43209
43209
  class: Oe(["pv-flex", {
43210
- "pv-border-bottom": D + 1 === ie(s).length
43210
+ "pv-border-bottom": P + 1 === ie(s).length
43211
43211
  }])
43212
43212
  }, [
43213
43213
  a(S.value) ? (k(), ye(mt, {
@@ -43226,7 +43226,7 @@ const gl = Symbol("FilterStoreKey"), x_ = Symbol("FocusDataKey"), zg = Symbol("S
43226
43226
  )
43227
43227
  }, null, 40, k_),
43228
43228
  Z("span", A_, Re(S.label), 1),
43229
- a(S.value) ? (k(), z("sup", E_, Re(D + 1), 1)) : te("", !0)
43229
+ a(S.value) ? (k(), z("sup", E_, Re(P + 1), 1)) : te("", !0)
43230
43230
  ], 2)
43231
43231
  ], 8, P_)) : te("", !0)
43232
43232
  ], 64))), 128)),
@@ -43436,40 +43436,40 @@ const j_ = (e) => {
43436
43436
  ), d = Y({}), c = Y({}), u = () => {
43437
43437
  const w = {};
43438
43438
  return Object.entries(l.value).forEach(([C, y]) => {
43439
- const S = y.filter((D) => !!D);
43439
+ const S = y.filter((P) => !!P);
43440
43440
  S.length > 0 && (w[C] = {
43441
43441
  filterType: "set",
43442
43442
  values: S
43443
43443
  });
43444
43444
  }), w;
43445
43445
  }, h = async (w, C, y, S) => {
43446
- const D = c.value[C.field] || void 0, F = l.value[C.field] || [];
43447
- let M = S;
43448
- t.value != null && (M = u());
43446
+ const P = c.value[C.field] || void 0, F = l.value[C.field] || [];
43447
+ let D = S;
43448
+ t.value != null && (D = u());
43449
43449
  const b = {
43450
43450
  api: w,
43451
43451
  colDef: C,
43452
43452
  column: y,
43453
- filterModel: M,
43454
- query: D,
43453
+ filterModel: D,
43454
+ query: P,
43455
43455
  selectedValues: F
43456
43456
  };
43457
43457
  s.value[C.field] = !0;
43458
- const v = F.map((T) => {
43459
- const V = p(C.field, T);
43458
+ const v = F.map((I) => {
43459
+ const V = p(C.field, I);
43460
43460
  return {
43461
- value: V?.value || T,
43462
- label: V?.label || T,
43461
+ value: V?.value || I,
43462
+ label: V?.label || I,
43463
43463
  isPreference: V?.isPreference || !1,
43464
43464
  isSelectable: V?.isSelectable || !0,
43465
43465
  metadata: V?.metadata || {}
43466
43466
  };
43467
43467
  }), R = await r.value?.(b);
43468
- v.forEach((T) => {
43469
- R?.some((V) => V?.value === T?.value) || R?.push(T);
43468
+ v.forEach((I) => {
43469
+ R?.some((V) => V?.value === I?.value) || R?.push(I);
43470
43470
  }), C.field && R && (a.value[C.field] = R);
43471
- const x = R?.filter((T) => T != null).map((T) => T.value) || [];
43472
- return s.value[C.field] = !1, x.filter((T, V) => x.indexOf(T) === V);
43471
+ const x = R?.filter((I) => I != null).map((I) => I.value) || [];
43472
+ return s.value[C.field] = !1, x.filter((I, V) => x.indexOf(I) === V);
43473
43473
  }, p = (w, C) => {
43474
43474
  const y = [
43475
43475
  ...a.value[w] || [],
@@ -43494,16 +43494,16 @@ const j_ = (e) => {
43494
43494
  l.value[w] = C;
43495
43495
  const y = [];
43496
43496
  if (e.value && e.value[w]?.values) {
43497
- const D = e.value[w].values || [];
43498
- y.push(...D);
43497
+ const P = e.value[w].values || [];
43498
+ y.push(...P);
43499
43499
  }
43500
43500
  y.push(...C);
43501
43501
  const S = [];
43502
- return C.forEach((D) => {
43503
- const F = p(w, D);
43502
+ return C.forEach((P) => {
43503
+ const F = p(w, P);
43504
43504
  F && S.push(F);
43505
43505
  }), d.value[w] = S, y.filter(
43506
- (D, F) => y.indexOf(D) === F
43506
+ (P, F) => y.indexOf(P) === F
43507
43507
  );
43508
43508
  },
43509
43509
  setFilterValueSearchText: (w, C) => {
@@ -43580,7 +43580,8 @@ const j_ = (e) => {
43580
43580
  enableFocusView: { type: Boolean, default: !1 },
43581
43581
  filterColDef: {},
43582
43582
  filterStyle: { default: "horizontal" },
43583
- displayPreferencesIcon: { type: Boolean, default: !1 }
43583
+ displayPreferencesIcon: { type: Boolean, default: !1 },
43584
+ focusableColumns: { default: () => [] }
43584
43585
  },
43585
43586
  emits: ["filter-selection-changed", "filter-closed", "handle-settings-icon", "focus-update"],
43586
43587
  setup(e, { emit: t }) {
@@ -43595,89 +43596,95 @@ const j_ = (e) => {
43595
43596
  isServerSideFilter: p,
43596
43597
  setFilterValueSearchText: g,
43597
43598
  setFilterSelectedValues: f
43598
- } = ud(), { focuses: m, isFocused: w, removeFocus: C } = cs(), y = tt(Kg, Y(!1)), S = Y([]), D = Y([]), F = K(() => o.filterColDef.field || ""), M = K(() => o.filterColDef.headerName || ""), b = Y(!1), v = K(() => o.filterStyle == "vertical"), R = K(() => {
43599
- const I = o.filterColDef.context;
43600
- return I && I.filterValueFormatter && typeof I.filterValueFormatter == "function" ? I.filterValueFormatter : typeof o.filterColDef.valueFormatter == "function" ? o.filterColDef.valueFormatter : null;
43601
- }), x = Y(""), T = Y(0), V = async () => {
43599
+ } = ud(), { focuses: m, isFocused: w, removeFocus: C } = cs(), y = tt(Kg, Y(!1)), S = Y([]), P = Y([]), F = K(() => o.filterColDef.field || ""), D = K(() => o.filterColDef.headerName || ""), b = Y(!1), v = K(() => o.filterStyle == "vertical"), R = K(() => {
43600
+ const T = o.filterColDef.context;
43601
+ return T && T.filterValueFormatter && typeof T.filterValueFormatter == "function" ? T.filterValueFormatter : typeof o.filterColDef.valueFormatter == "function" ? o.filterColDef.valueFormatter : null;
43602
+ }), x = Y(""), I = Y(0), V = async () => {
43602
43603
  L(), await H().then(() => {
43603
43604
  b.value = !1;
43604
43605
  });
43605
43606
  }, L = () => {
43606
- const I = [];
43607
+ const T = [];
43607
43608
  if (n.value && n.value[F.value]?.values) {
43608
43609
  const ee = n.value[F.value].values || [];
43609
- I.push(...ee);
43610
+ T.push(...ee);
43610
43611
  }
43611
43612
  S.value = Array.from(
43612
43613
  /* @__PURE__ */ new Set([
43613
43614
  ...h(F.value),
43614
- ...I
43615
+ ...T
43615
43616
  ])
43616
43617
  );
43617
- }, H = async (I = !1, ee = !1) => {
43618
+ }, H = async (T = !1, ee = !1) => {
43618
43619
  if (!s.value) return;
43619
- const Ce = await s.value.getColumnFilterInstance(
43620
+ const he = await s.value.getColumnFilterInstance(
43620
43621
  F.value
43621
- ), dt = I && c.value[F.value] !== !0 && d.value > T.value;
43622
- p.value && (ee || dt) && (Ce.refreshFilterValues(), T.value = d.value), D.value = N(Ce.getFilterValues());
43623
- }, N = (I) => I.sort((ee, Ce) => {
43624
- const dt = S.value.includes(ee), rt = S.value.includes(Ce);
43622
+ ), dt = T && c.value[F.value] !== !0 && d.value > I.value;
43623
+ p.value && (ee || dt) && (he.refreshFilterValues(), I.value = d.value), P.value = N(he.getFilterValues());
43624
+ }, N = (T) => T.sort((ee, he) => {
43625
+ const dt = S.value.includes(ee), rt = S.value.includes(he);
43625
43626
  return dt && !rt ? -1 : !dt && rt ? 1 : 0;
43626
- }), O = (I) => {
43627
- const ee = u(F.value, I);
43627
+ }), O = (T) => {
43628
+ const ee = u(F.value, T);
43628
43629
  return R.value ? R.value({
43629
- value: I,
43630
+ value: T,
43630
43631
  context: ee
43631
- }) : I;
43632
+ }) : T;
43632
43633
  }, B = K(() => {
43633
- const I = o.filterColDef.context;
43634
- return I && I.filterSelectMax ? I.filterSelectMax : null;
43634
+ const T = o.filterColDef.context;
43635
+ return T && T.filterSelectMax ? T.filterSelectMax : null;
43635
43636
  }), G = K(() => {
43636
- const I = o.filterColDef.context;
43637
- return I && I.filterSelectMin ? I.filterSelectMin === 1 && B.value === 1 : !1;
43637
+ const T = o.filterColDef.context;
43638
+ return T && T.filterSelectMin ? T.filterSelectMin === 1 && B.value === 1 : !1;
43638
43639
  }), $ = K(() => {
43639
- const I = o.filterColDef.context;
43640
- return I && I.filterOptionsSortDescription ? I.filterOptionsSortDescription : null;
43640
+ const T = o.filterColDef.context;
43641
+ return T && T.filterOptionsSortDescription ? T.filterOptionsSortDescription : null;
43641
43642
  }), U = K(() => {
43642
- const I = o.filterColDef.context;
43643
- return I && I.filterOptionsSortTooltip ? I.filterOptionsSortTooltip : null;
43643
+ const T = o.filterColDef.context;
43644
+ return T && T.filterOptionsSortTooltip ? T.filterOptionsSortTooltip : null;
43644
43645
  }), Q = K(() => {
43645
- const I = o.filterColDef.context;
43646
- return I && I.filterSearch ? I.filterSearch : !0;
43646
+ const T = o.filterColDef.context;
43647
+ return T && T.filterSearch ? T.filterSearch : !0;
43647
43648
  }), j = K(() => {
43648
- const I = o.filterColDef.context;
43649
- if (I && I.emptyFilterResultsRenderer)
43650
- return I.emptyFilterResultsRenderer;
43649
+ const T = o.filterColDef.context;
43650
+ if (T && T.emptyFilterResultsRenderer)
43651
+ return T.emptyFilterResultsRenderer;
43651
43652
  }), ue = K(() => {
43652
- const I = o.filterColDef.context;
43653
- if (I && I.filterOptionsRenderer)
43654
- return I.filterOptionsRenderer;
43655
- }), pe = K(() => {
43656
- const I = o.filterColDef.context;
43657
- if (I && I.filterFooterRenderer)
43658
- return I.filterFooterRenderer;
43659
- }), Ae = K(() => B.value ? S.value.length >= B.value : !1), He = K(() => D.value.filter(
43660
- (I) => !S.value.includes(I)
43661
- )), ne = K(() => D.value.length === 1 && D.value[0] === null && S.value.length === 0), ge = (I) => r.value[0] === I && o.enableFocusView, ve = (I) => ne.value || u(F.value, I)?.isSelectable === !1 ? !0 : G.value ? !1 : Ae.value && !S.value.includes(I), oe = K(() => D.value.filter((ee, Ce) => D.value.indexOf(ee) === Ce).filter((ee) => ee != null && ee !== "").map((ee) => {
43662
- let Ce = $.value ? "suggestions" : null;
43663
- return u(F.value, ee)?.isPreference && (Ce = "preferences"), {
43653
+ const T = o.filterColDef.context;
43654
+ if (T && T.filterOptionsRenderer)
43655
+ return T.filterOptionsRenderer;
43656
+ }), ge = K(() => {
43657
+ const T = o.filterColDef.context;
43658
+ if (T && T.filterFooterRenderer)
43659
+ return T.filterFooterRenderer;
43660
+ }), Ae = K(() => B.value ? S.value.length >= B.value : !1), He = K(() => P.value.filter(
43661
+ (T) => !S.value.includes(T)
43662
+ )), ne = K(() => P.value.length === 1 && P.value[0] === null && S.value.length === 0), fe = (T) => {
43663
+ const ee = r.value[0], he = Array.isArray(o.focusableColumns) ? o.focusableColumns : [];
43664
+ return (
43665
+ // this is the first group by field (the x-axis)
43666
+ ee === T && o.enableFocusView && (he.length === 0 || he.includes(T))
43667
+ );
43668
+ }, Ce = (T) => ne.value || u(F.value, T)?.isSelectable === !1 ? !0 : G.value ? !1 : Ae.value && !S.value.includes(T), oe = K(() => P.value.filter((ee, he) => P.value.indexOf(ee) === he).filter((ee) => ee != null && ee !== "").map((ee) => {
43669
+ let he = $.value ? "suggestions" : null;
43670
+ return u(F.value, ee)?.isPreference && (he = "preferences"), {
43664
43671
  id: ee,
43665
43672
  text: O(ee),
43666
- groupingLabel: Ce,
43667
- disabled: ve(ee),
43668
- renderer: ge(F.value) ? ez : ue.value,
43673
+ groupingLabel: he,
43674
+ disabled: Ce(ee),
43675
+ renderer: fe(F.value) ? ez : ue.value,
43669
43676
  rendererProps: {
43670
43677
  onFocusUpdate: be
43671
43678
  },
43672
43679
  classList: ["option-label"]
43673
43680
  };
43674
43681
  })), Pe = K({
43675
- get: () => S.value.map((I) => ({
43676
- id: I,
43677
- text: O(I)
43682
+ get: () => S.value.map((T) => ({
43683
+ id: T,
43684
+ text: O(T)
43678
43685
  })),
43679
- set: (I) => {
43680
- S.value = I.map((ee) => ee.id), Te(), m.value.forEach((ee) => {
43686
+ set: (T) => {
43687
+ S.value = T.map((ee) => ee.id), Te(), m.value.forEach((ee) => {
43681
43688
  S.value.includes(ee) || C(ee);
43682
43689
  }), i("filter-selection-changed");
43683
43690
  }
@@ -43685,8 +43692,8 @@ const j_ = (e) => {
43685
43692
  it(
43686
43693
  () => c.value[F.value],
43687
43694
  () => {
43688
- const I = c.value[F.value];
43689
- b.value && !I ? (H(), b.value = !1) : I && (b.value = !0);
43695
+ const T = c.value[F.value];
43696
+ b.value && !T ? (H(), b.value = !1) : T && (b.value = !0);
43690
43697
  },
43691
43698
  { deep: !0 }
43692
43699
  ), it(
@@ -43711,39 +43718,39 @@ const j_ = (e) => {
43711
43718
  }
43712
43719
  ), it(
43713
43720
  () => S.value,
43714
- (I) => {
43715
- f(F.value, I);
43721
+ (T) => {
43722
+ f(F.value, T);
43716
43723
  }
43717
43724
  ), Jk(
43718
43725
  () => x.value,
43719
- async (I) => {
43720
- g(F.value, I), await H(!0, !0);
43726
+ async (T) => {
43727
+ g(F.value, T), await H(!0, !0);
43721
43728
  },
43722
43729
  { debounce: 300 }
43723
43730
  );
43724
- const De = (I) => {
43725
- I && G.value ? S.value = [I] : I && !S.value.includes(I) && (S.value = [...S.value, I]), Te(), i("filter-selection-changed");
43726
- }, Ge = (I) => {
43727
- S.value = S.value.filter((ee) => ee !== I), Te(), i("filter-selection-changed"), w(I) && (i("focus-update", {}), C(I));
43731
+ const De = (T) => {
43732
+ T && G.value ? S.value = [T] : T && !S.value.includes(T) && (S.value = [...S.value, T]), Te(), i("filter-selection-changed");
43733
+ }, Ge = (T) => {
43734
+ S.value = S.value.filter((ee) => ee !== T), Te(), i("filter-selection-changed"), w(T) && (i("focus-update", {}), C(T));
43728
43735
  }, Te = () => {
43729
- const I = S.value.length > 0 ? S.value : null;
43736
+ const T = S.value.length > 0 ? S.value : null;
43730
43737
  if (v.value) {
43731
43738
  a.value = {
43732
43739
  ...a.value,
43733
43740
  [F.value]: {
43734
- values: I
43741
+ values: T
43735
43742
  }
43736
43743
  }, d.value += 1;
43737
43744
  return;
43738
43745
  }
43739
43746
  s.value && s.value.setColumnFilterModel(F.value, {
43740
- values: I
43747
+ values: T
43741
43748
  }).then(() => {
43742
43749
  s.value && s.value.onFilterChanged();
43743
43750
  });
43744
- }, be = (I) => {
43745
- I && !S.value.includes(I) && De(I), I && i("focus-update", {
43746
- focuses: [I],
43751
+ }, be = (T) => {
43752
+ T && !S.value.includes(T) && De(T), T && i("focus-update", {
43753
+ focuses: [T],
43747
43754
  filterField: F.value || null
43748
43755
  });
43749
43756
  }, lt = () => {
@@ -43751,25 +43758,25 @@ const j_ = (e) => {
43751
43758
  };
43752
43759
  return Bo(() => {
43753
43760
  V();
43754
- }), (I, ee) => (k(), z(ze, null, [
43761
+ }), (T, ee) => (k(), z(ze, null, [
43755
43762
  Z("div", null, [
43756
43763
  v.value ? (k(), z("ul", tz, [
43757
- (k(!0), z(ze, null, Do(S.value, (Ce) => (k(), z("li", {
43758
- key: `${M.value}-${Ce}`
43764
+ (k(!0), z(ze, null, Do(S.value, (he) => (k(), z("li", {
43765
+ key: `${D.value}-${he}`
43759
43766
  }, [
43760
43767
  Le(ZA, {
43761
- label: O(Ce) || "",
43768
+ label: O(he) || "",
43762
43769
  showClear: !0,
43763
- onHandleClose: (dt) => Ge(Ce)
43770
+ onHandleClose: (dt) => Ge(he)
43764
43771
  }, null, 8, ["label", "onHandleClose"])
43765
43772
  ]))), 128))
43766
43773
  ])) : te("", !0),
43767
43774
  Le(ie(tI), {
43768
43775
  modelValue: Pe.value,
43769
- "onUpdate:modelValue": ee[1] || (ee[1] = (Ce) => Pe.value = Ce),
43776
+ "onUpdate:modelValue": ee[1] || (ee[1] = (he) => Pe.value = he),
43770
43777
  searchInput: x.value,
43771
- "onUpdate:searchInput": ee[2] || (ee[2] = (Ce) => x.value = Ce),
43772
- label: v.value ? "" : M.value,
43778
+ "onUpdate:searchInput": ee[2] || (ee[2] = (he) => x.value = he),
43779
+ label: v.value ? "" : D.value,
43773
43780
  icon: v.value ? "add-circle" : void 0,
43774
43781
  variant: v.value ? "ghost" : "secondary",
43775
43782
  counterPosition: !v.value && S.value.length > 0 ? void 0 : "none",
@@ -43786,7 +43793,7 @@ const j_ = (e) => {
43786
43793
  },
43787
43794
  groupings: ["preferences", "suggestions"],
43788
43795
  isLoading: b.value,
43789
- onDropdownOpen: ee[3] || (ee[3] = (Ce) => H(!0)),
43796
+ onDropdownOpen: ee[3] || (ee[3] = (he) => H(!0)),
43790
43797
  onDropdownClosed: lt
43791
43798
  }, bd({
43792
43799
  preferences: qe(() => [
@@ -43800,7 +43807,7 @@ const j_ = (e) => {
43800
43807
  Le(pt, {
43801
43808
  size: "md",
43802
43809
  variant: "ghost",
43803
- onClick: ee[0] || (ee[0] = (Ce) => I.$emit("handle-settings-icon", M.value)),
43810
+ onClick: ee[0] || (ee[0] = (he) => T.$emit("handle-settings-icon", D.value)),
43804
43811
  "right-icon": "sliders-horizontal"
43805
43812
  })
43806
43813
  ]),
@@ -43842,15 +43849,15 @@ const j_ = (e) => {
43842
43849
  }, [
43843
43850
  j.value ? {
43844
43851
  name: "no-results",
43845
- fn: qe((Ce) => [
43846
- (k(), ye(Vs(j.value), Xi(wd(Ce)), null, 16))
43852
+ fn: qe((he) => [
43853
+ (k(), ye(Vs(j.value), Xi(wd(he)), null, 16))
43847
43854
  ]),
43848
43855
  key: "0"
43849
43856
  } : void 0,
43850
- pe.value ? {
43857
+ ge.value ? {
43851
43858
  name: "footer",
43852
- fn: qe((Ce) => [
43853
- (k(), ye(Vs(pe.value), Xi(wd(Ce)), null, 16))
43859
+ fn: qe((he) => [
43860
+ (k(), ye(Vs(ge.value), Xi(wd(he)), null, 16))
43854
43861
  ]),
43855
43862
  key: "1"
43856
43863
  } : void 0
@@ -43862,12 +43869,12 @@ const j_ = (e) => {
43862
43869
  ee[6] || (ee[6] = Z("li", null, [
43863
43870
  Z("p", { class: "pv-text-subdued pv-text-body-md" }, "Suggested:")
43864
43871
  ], -1)),
43865
- (k(!0), z(ze, null, Do(He.value.filter((Ce) => Ce !== "" && Ce != null).slice(0, lz), (Ce) => (k(), z("li", {
43866
- key: `${M.value}-${Ce}-suggest`
43872
+ (k(!0), z(ze, null, Do(He.value.filter((he) => he !== "" && he != null).slice(0, lz), (he) => (k(), z("li", {
43873
+ key: `${D.value}-${he}-suggest`
43867
43874
  }, [
43868
43875
  Le(ie(fE), {
43869
- label: O(Ce) || "",
43870
- onHandleClick: (dt) => De(Ce)
43876
+ label: O(he) || "",
43877
+ onHandleClick: (dt) => De(he)
43871
43878
  }, null, 8, ["label", "onHandleClick"])
43872
43879
  ]))), 128))
43873
43880
  ])
@@ -43875,7 +43882,7 @@ const j_ = (e) => {
43875
43882
  ])) : te("", !0)
43876
43883
  ], 64));
43877
43884
  }
43878
- }), ru = /* @__PURE__ */ yo(dz, [["__scopeId", "data-v-395868e1"]]), cz = { class: "pv-flex" }, uz = { class: "pv-flex" }, hz = {
43885
+ }), ru = /* @__PURE__ */ yo(dz, [["__scopeId", "data-v-1f565f31"]]), cz = { class: "pv-flex" }, uz = { class: "pv-flex" }, hz = {
43879
43886
  id: "filter-vertical-drawer",
43880
43887
  class: "pv-flex-vertical pv-space-between pv-full-width",
43881
43888
  style: { height: "100%", "overflow-x": "hidden" }
@@ -43896,75 +43903,77 @@ const j_ = (e) => {
43896
43903
  props: {
43897
43904
  enableFocusView: { type: Boolean, default: !1 },
43898
43905
  enableVerticalPanel: { type: Boolean, default: !0 },
43899
- displayPreferencesIcon: { type: Boolean, default: !1 }
43906
+ displayPreferencesIcon: { type: Boolean, default: !1 },
43907
+ focusableColumns: { default: () => [] }
43900
43908
  },
43901
43909
  emits: ["handle-settings-icon", "focus-update"],
43902
43910
  setup(e, { emit: t }) {
43903
- const o = tt(hr, Y(null)), i = tt($g, Y([])), s = tt(Wg, Y(null)), r = t, { filterModelCleared: n, stagedFilterModel: a, filterModel: l } = ud(), d = Y(null), c = Y(!1), u = K(() => {
43904
- const S = [...i.value].slice(
43911
+ const o = tt(hr, Y(null)), i = tt($g, Y([])), s = tt(Wg, Y(null)), r = t, n = e, { filterModelCleared: a, stagedFilterModel: l, filterModel: d } = ud(), c = Y(null), u = Y(!1), h = K(() => {
43912
+ const P = [...i.value].slice(
43905
43913
  0,
43906
43914
  nu
43907
43915
  );
43908
43916
  return s.value ? [
43909
- ...S.slice(0, nu - 1),
43917
+ ...P.slice(0, nu - 1),
43910
43918
  s.value
43911
- ] : S;
43912
- }), h = K(() => {
43913
- const S = l.value || {};
43914
- return Object.keys(S).length;
43915
- }), p = Y(!1), g = () => {
43916
- p.value = !0;
43917
- }, f = () => {
43918
- o.value && (p.value = !1, a.value = o.value.getFilterModel(), d.value?.showModal());
43919
- }, { clearAllFocuses: m } = cs(), w = () => {
43920
- a.value = null, o.value && (o.value.setFilterModel(null), o.value.onFilterChanged(), n.value += 1, m(), r("focus-update", {}), c.value = !1);
43921
- }, C = () => {
43922
- a.value = null, d.value?.close();
43919
+ ] : P;
43920
+ }), p = K(() => {
43921
+ const P = d.value || {};
43922
+ return Object.keys(P).length;
43923
+ }), g = Y(!1), f = () => {
43924
+ g.value = !0;
43925
+ }, m = () => {
43926
+ o.value && (g.value = !1, l.value = o.value.getFilterModel(), c.value?.showModal());
43927
+ }, { clearAllFocuses: w } = cs(), C = () => {
43928
+ l.value = null, o.value && (o.value.setFilterModel(null), o.value.onFilterChanged(), a.value += 1, w(), r("focus-update", {}), u.value = !1);
43923
43929
  }, y = () => {
43924
- p.value && o.value && (o.value.setFilterModel(a.value), o.value.onFilterChanged(), n.value += 1), d.value?.close();
43930
+ l.value = null, c.value?.close();
43931
+ }, S = () => {
43932
+ g.value && o.value && (o.value.setFilterModel(l.value), o.value.onFilterChanged(), a.value += 1), c.value?.close();
43925
43933
  };
43926
- return (S, D) => (k(), z(ze, null, [
43934
+ return (P, F) => (k(), z(ze, null, [
43927
43935
  Z("div", cz, [
43928
- (k(!0), z(ze, null, Do(u.value, (F) => (k(), z(ze, {
43929
- key: F.field
43936
+ (k(!0), z(ze, null, Do(h.value, (D) => (k(), z(ze, {
43937
+ key: D.field
43930
43938
  }, [
43931
43939
  ie(o) ? (k(), ye(ru, {
43932
43940
  key: 0,
43933
- "enable-focus-view": S.enableFocusView,
43934
- "display-preferences-icon": S.displayPreferencesIcon,
43935
- filterColDef: F,
43936
- onHandleSettingsIcon: D[0] || (D[0] = (M) => S.$emit("handle-settings-icon", M)),
43937
- onFocusUpdate: D[1] || (D[1] = (M) => S.$emit("focus-update", M))
43938
- }, null, 8, ["enable-focus-view", "display-preferences-icon", "filterColDef"])) : te("", !0)
43941
+ "enable-focus-view": n.enableFocusView,
43942
+ "display-preferences-icon": n.displayPreferencesIcon,
43943
+ "focusable-columns": n.focusableColumns,
43944
+ filterColDef: D,
43945
+ onHandleSettingsIcon: F[0] || (F[0] = (b) => P.$emit("handle-settings-icon", b)),
43946
+ onFocusUpdate: F[1] || (F[1] = (b) => P.$emit("focus-update", b))
43947
+ }, null, 8, ["enable-focus-view", "display-preferences-icon", "focusable-columns", "filterColDef"])) : te("", !0)
43939
43948
  ], 64))), 128)),
43940
43949
  Z("div", uz, [
43941
- S.enableVerticalPanel ? (k(), ye(ie(pt), {
43950
+ n.enableVerticalPanel ? (k(), ye(ie(pt), {
43942
43951
  key: 0,
43943
43952
  label: "All Filters",
43944
- onClick: f,
43953
+ onClick: m,
43945
43954
  variant: "ghost",
43946
43955
  "left-icon": "filter"
43947
43956
  })) : te("", !0),
43948
- h.value > 0 ? (k(), z("button", {
43957
+ p.value > 0 ? (k(), z("button", {
43949
43958
  key: 1,
43950
43959
  class: "pv-button-ghost",
43951
- onClick: D[2] || (D[2] = (F) => c.value = !0)
43960
+ onClick: F[2] || (F[2] = (D) => u.value = !0)
43952
43961
  }, [
43953
43962
  Le(ie(mt), { name: "close" }),
43954
- D[12] || (D[12] = io(" Clear All Filters ")),
43955
- h.value > 0 ? (k(), ye(ie(Pn), {
43963
+ F[12] || (F[12] = io(" Clear All Filters ")),
43964
+ p.value > 0 ? (k(), ye(ie(Pn), {
43956
43965
  key: 0,
43957
- value: h.value,
43966
+ value: p.value,
43958
43967
  variant: "tertiary"
43959
43968
  }, null, 8, ["value"])) : te("", !0)
43960
43969
  ])) : te("", !0)
43961
43970
  ]),
43962
- S.enableVerticalPanel ? (k(), z("dialog", {
43971
+ n.enableVerticalPanel ? (k(), z("dialog", {
43963
43972
  key: 0,
43964
43973
  ref_key: "filterDrawer",
43965
- ref: d,
43974
+ ref: c,
43966
43975
  class: "pv-drawer pv-surface",
43967
- onClick: D[9] || (D[9] = rr((F) => y(), ["self"])),
43976
+ onClick: F[9] || (F[9] = rr((D) => S(), ["self"])),
43968
43977
  style: { "max-width": "450px" }
43969
43978
  }, [
43970
43979
  Z("div", hz, [
@@ -43973,33 +43982,34 @@ const j_ = (e) => {
43973
43982
  Z("p", fz, " All Filters (" + Re(ie(i).length) + ") ", 1),
43974
43983
  Z("button", {
43975
43984
  class: "pv-button-ghost",
43976
- onClick: D[3] || (D[3] = (F) => C())
43985
+ onClick: F[3] || (F[3] = (D) => y())
43977
43986
  }, [
43978
43987
  Le(ie(mt), { name: "close" })
43979
43988
  ])
43980
43989
  ]),
43981
43990
  Z("div", mz, [
43982
- (k(!0), z(ze, null, Do(ie(i), (F, M) => (k(), z("div", {
43983
- key: F.field,
43991
+ (k(!0), z(ze, null, Do(ie(i), (D, b) => (k(), z("div", {
43992
+ key: D.field,
43984
43993
  class: Oe([{
43985
- "pv-border-bottom": M < ie(i).length - 1
43994
+ "pv-border-bottom": b < ie(i).length - 1
43986
43995
  }, "pv-stack-12"])
43987
43996
  }, [
43988
43997
  Z("details", vz, [
43989
43998
  Z("summary", Cz, [
43990
- Z("span", bz, Re(F.headerName), 1)
43999
+ Z("span", bz, Re(D.headerName), 1)
43991
44000
  ]),
43992
44001
  Z("div", wz, [
43993
44002
  ie(o) ? (k(), ye(ru, {
43994
44003
  key: 0,
43995
44004
  "filter-style": "vertical",
43996
- "enable-focus-view": S.enableFocusView,
43997
- filterColDef: F,
43998
- "display-preferences-icon": S.displayPreferencesIcon,
43999
- onFilterSelectionChanged: g,
44000
- onHandleSettingsIcon: D[4] || (D[4] = (b) => S.$emit("handle-settings-icon", b)),
44001
- onFocusUpdate: D[5] || (D[5] = (b) => S.$emit("focus-update", b))
44002
- }, null, 8, ["enable-focus-view", "filterColDef", "display-preferences-icon"])) : te("", !0)
44005
+ "enable-focus-view": n.enableFocusView,
44006
+ filterColDef: D,
44007
+ "display-preferences-icon": n.displayPreferencesIcon,
44008
+ "focusable-columns": n.focusableColumns,
44009
+ onFilterSelectionChanged: f,
44010
+ onHandleSettingsIcon: F[4] || (F[4] = (v) => P.$emit("handle-settings-icon", v)),
44011
+ onFocusUpdate: F[5] || (F[5] = (v) => P.$emit("focus-update", v))
44012
+ }, null, 8, ["enable-focus-view", "filterColDef", "display-preferences-icon", "focusable-columns"])) : te("", !0)
44003
44013
  ])
44004
44014
  ])
44005
44015
  ], 2))), 128))
@@ -44008,19 +44018,19 @@ const j_ = (e) => {
44008
44018
  Z("div", yz, [
44009
44019
  Z("button", {
44010
44020
  class: "pv-button-ghost",
44011
- onClick: D[6] || (D[6] = (F) => w())
44021
+ onClick: F[6] || (F[6] = (D) => C())
44012
44022
  }, " Clear All "),
44013
44023
  Z("div", Sz, [
44014
44024
  Le(ie(pt), {
44015
44025
  variant: "ghost",
44016
44026
  label: "Cancel",
44017
- onClick: D[7] || (D[7] = (F) => C())
44027
+ onClick: F[7] || (F[7] = (D) => y())
44018
44028
  }),
44019
- p.value ? (k(), ye(ie(pt), {
44029
+ g.value ? (k(), ye(ie(pt), {
44020
44030
  key: 0,
44021
44031
  variant: "primary",
44022
44032
  label: "Apply",
44023
- onClick: D[8] || (D[8] = (F) => y())
44033
+ onClick: F[8] || (F[8] = (D) => S())
44024
44034
  })) : (k(), ye(ie(pt), {
44025
44035
  key: 1,
44026
44036
  variant: "primary",
@@ -44033,12 +44043,12 @@ const j_ = (e) => {
44033
44043
  ], 512)) : te("", !0)
44034
44044
  ]),
44035
44045
  Le(ie(uE), {
44036
- modelValue: c.value,
44037
- "onUpdate:modelValue": D[11] || (D[11] = (F) => c.value = F),
44046
+ modelValue: u.value,
44047
+ "onUpdate:modelValue": F[11] || (F[11] = (D) => u.value = D),
44038
44048
  header: "Clear All Filters",
44039
44049
  style: { top: "50%" }
44040
44050
  }, {
44041
- body: qe(() => D[13] || (D[13] = [
44051
+ body: qe(() => F[13] || (F[13] = [
44042
44052
  Z("p", { class: "pv-text-body-lg" }, " This action will remove all currently applied filters. Would you like to continue? ", -1)
44043
44053
  ])),
44044
44054
  footer: qe(() => [
@@ -44047,13 +44057,13 @@ const j_ = (e) => {
44047
44057
  label: "Cancel",
44048
44058
  variant: "secondary",
44049
44059
  size: "lg",
44050
- onClick: D[10] || (D[10] = (F) => c.value = !1)
44060
+ onClick: F[10] || (F[10] = (D) => u.value = !1)
44051
44061
  }),
44052
44062
  Le(ie(pt), {
44053
44063
  label: "Clear All Filters",
44054
44064
  variant: "primary",
44055
44065
  size: "lg",
44056
- onClick: w
44066
+ onClick: C
44057
44067
  })
44058
44068
  ])
44059
44069
  ]),
@@ -44106,7 +44116,7 @@ const kz = { class: "pv-flex" }, Az = {
44106
44116
  if (!o.value || o.value.length === 0)
44107
44117
  return "";
44108
44118
  const y = o.value.find(
44109
- (D) => D.colId === i.params.column.getColId()
44119
+ (P) => P.colId === i.params.column.getColId()
44110
44120
  ), S = y ? y.sort : "";
44111
44121
  return S === "asc" ? "arrow-up" : S === "desc" ? "arrow-down" : "";
44112
44122
  }), h = K(() => r.value ? { cursor: "pointer" } : {}), p = K(() => d.value ? { opacity: 1 } : {}), g = () => {
@@ -44544,7 +44554,8 @@ const p2 = {
44544
44554
  tooltipShowDelay: { default: 1e3 },
44545
44555
  tooltipHideDelay: {},
44546
44556
  hideTable: { type: Boolean },
44547
- filterTeleportLocation: {}
44557
+ filterTeleportLocation: {},
44558
+ focusableColumns: { default: () => [] }
44548
44559
  },
44549
44560
  emits: ["column-moved", "column-resized", "column-row-group-changed", "grid-ready", "filter-changed", "sort-changed", "filter-opened", "first-data-rendered", "handle-settings-icon", "focus-update"],
44550
44561
  setup(e, { expose: t, emit: o }) {
@@ -44571,18 +44582,18 @@ const p2 = {
44571
44582
  minHeight: `${r.containerMinHeight}px`
44572
44583
  })), a = K(() => r.theme ? r.theme : C.value.length > 0 ? Iz : Tz), l = o, d = "serverSideRowHandler" in r && r.serverSideRowHandler ? {
44573
44584
  getRows: (E) => {
44574
- if (!D.value) {
44585
+ if (!P.value) {
44575
44586
  E.success({ rowData: [] });
44576
44587
  return;
44577
44588
  }
44578
44589
  const X = E.success, se = {
44579
44590
  ...E,
44580
44591
  success: (we) => {
44581
- if (r.enableFocusView && pe.value.length > 0 && Ae.value && we.rowData) {
44592
+ if (r.enableFocusView && ge.value.length > 0 && Ae.value && we.rowData) {
44582
44593
  const Ie = hu(
44583
44594
  we.rowData,
44584
44595
  Ae.value,
44585
- pe.value
44596
+ ge.value
44586
44597
  );
44587
44598
  if (Ie) {
44588
44599
  we.rowData = Ie, X(we);
@@ -44668,53 +44679,53 @@ const p2 = {
44668
44679
  return X.headerName;
44669
44680
  }
44670
44681
  return null;
44671
- }), D = K(() => (!x.value || Object.keys(x.value).length === 0) && r.requireFiltersToShowData ? !1 : S.value === null), F = K(() => S.value ? `Select at least one value for "${S.value}" to view data.` : "Select a filter to view data."), M = An(null), b = Y([]), R = tt(gl, null) || Xg(), {
44682
+ }), P = K(() => (!x.value || Object.keys(x.value).length === 0) && r.requireFiltersToShowData ? !1 : S.value === null), F = K(() => S.value ? `Select at least one value for "${S.value}" to view data.` : "Select a filter to view data."), D = An(null), b = Y([]), R = tt(gl, null) || Xg(), {
44672
44683
  filterModel: x,
44673
- filterValueMap: T,
44684
+ filterValueMap: I,
44674
44685
  filterValueSelectedMetadataMap: V,
44675
44686
  fetchFilterValues: L,
44676
44687
  filterStoreHandler: H
44677
44688
  } = ud();
44678
- H.value = r.filterValuesSetHandler, T.value = r.initialFilterValueMap || {};
44689
+ H.value = r.filterValuesSetHandler, I.value = r.initialFilterValueMap || {};
44679
44690
  const N = Y(null), O = K(() => m.value.filter((E) => E.filter)), B = K(() => m.value.filter((E) => E.enableRowGroup)), G = K(() => m.value.filter((E) => E.aggFunc)), $ = Y(null), U = Y({}), Q = Y(1), j = Y(0);
44680
- At(gl, R), At(zg, b), At(hr, M), At(F_, N), At(Wg, w), At($g, O), At(Ug, B), At(jn, C), At(jg, $), At(cd, U), At(Kg, y), At(Yg, Q), At(qg, j);
44681
- const ue = K(() => !r.enableFocusView && !r.rowData || r.enableFocusView && !pe.value.length && !Ae.value ? r.rowData : hu(
44691
+ At(gl, R), At(zg, b), At(hr, D), At(F_, N), At(Wg, w), At($g, O), At(Ug, B), At(jn, C), At(jg, $), At(cd, U), At(Kg, y), At(Yg, Q), At(qg, j);
44692
+ const ue = K(() => !r.enableFocusView && !r.rowData || r.enableFocusView && !ge.value.length && !Ae.value ? r.rowData : hu(
44682
44693
  r.rowData,
44683
44694
  Ae.value,
44684
- pe.value
44685
- )), { focuses: pe, focusType: Ae, handleFocusUpdate: He } = cs(), ne = (E, X) => {
44686
- !r.enableFocusView || !M.value || !E || (He(E, X), l("focus-update", {
44695
+ ge.value
44696
+ )), { focuses: ge, focusType: Ae, handleFocusUpdate: He } = cs(), ne = (E, X) => {
44697
+ !r.enableFocusView || !D.value || !E || (He(E, X), l("focus-update", {
44687
44698
  filterField: Ae.value,
44688
- focuses: pe.value
44689
- }), M.value.refreshServerSide({ purge: !0 }));
44690
- }, ge = (E) => {
44691
- if (M.value = E.api, r.initialGridState) {
44699
+ focuses: ge.value
44700
+ }), D.value.refreshServerSide({ purge: !0 }));
44701
+ }, fe = (E) => {
44702
+ if (D.value = E.api, r.initialGridState) {
44692
44703
  const we = r.initialGridState.filter?.filterModel || null;
44693
- we && M.value.setFilterModel(we);
44704
+ we && D.value.setFilterModel(we);
44694
44705
  }
44695
44706
  const X = r.leftPinnedColumnName ?? (C.value.length ? C.value[0] : null), se = [];
44696
44707
  r.hideAllRowGroupedColumns && C.value.forEach((we) => se.push(we)), X && ($.value = E.api.getColumn(X), se.push(X)), E.api.setColumnsVisible([...se], !1), N.value = E.api.getAllGridColumns(), Q.value = E.api.paginationGetCurrentPage() + 1, j.value = E.api.paginationGetTotalPages(), l("grid-ready", E);
44697
- }, ve = (E) => {
44698
- if (M.value) {
44708
+ }, Ce = (E) => {
44709
+ if (D.value) {
44699
44710
  const X = E.api.getFilterModel();
44700
44711
  Gr(x.value, X) || (x.value = X, l("filter-changed", E));
44701
44712
  }
44702
44713
  }, oe = (E) => {
44703
44714
  b.value = E.api?.getState()?.sort?.sortModel || [], l("sort-changed", E);
44704
44715
  }, Pe = (E) => E.getColId() && E.getColId().includes("ag-Grid-AutoColumn"), De = Y(!1), Ge = async (E) => {
44705
- if (!M.value) {
44716
+ if (!D.value) {
44706
44717
  console.error("Grid API not available");
44707
44718
  return;
44708
44719
  }
44709
44720
  const X = E || { route: [], purge: !0 };
44710
- M.value.refreshServerSide(X);
44721
+ D.value.refreshServerSide(X);
44711
44722
  }, Te = () => V.value, be = async () => {
44712
- if (De.value = !0, !M.value)
44723
+ if (De.value = !0, !D.value)
44713
44724
  return console.error("Grid API not available"), De.value = !1, null;
44714
44725
  try {
44715
- const E = r.serverSideCsvHandler, X = M.value?.getState(), se = {
44726
+ const E = r.serverSideCsvHandler, X = D.value?.getState(), se = {
44716
44727
  rowGroupCols: [],
44717
- valueCols: M.value?.getValueColumns().map((Ie) => ({
44728
+ valueCols: D.value?.getValueColumns().map((Ie) => ({
44718
44729
  id: Ie.getId(),
44719
44730
  field: Ie.getColDef().field,
44720
44731
  aggFunc: typeof Ie.getColDef().aggFunc == "string" ? Ie.getColDef().aggFunc : void 0,
@@ -44732,7 +44743,7 @@ const p2 = {
44732
44743
  const Ie = {
44733
44744
  request: se,
44734
44745
  parentNode: {},
44735
- api: M.value,
44746
+ api: D.value,
44736
44747
  context: void 0,
44737
44748
  success: () => {
44738
44749
  },
@@ -44743,13 +44754,13 @@ const p2 = {
44743
44754
  }
44744
44755
  const we = r.serverSideRowHandler;
44745
44756
  return we ? await new Promise((Ie, Ro) => {
44746
- const hs = M.value?.getState(), Zg = {
44757
+ const hs = D.value?.getState(), Zg = {
44747
44758
  request: se,
44748
44759
  parentNode: {},
44749
- api: M.value,
44760
+ api: D.value,
44750
44761
  context: void 0,
44751
44762
  success: (Jg) => {
44752
- const ef = M.value?.getRowGroupColumns().map((kt) => kt.getColDef().field).filter((kt) => !!kt) || [], tf = M.value?.getAllDisplayedColumns().map((kt) => kt.getColDef().field).filter((kt) => !!kt) || [], of = M.value?.getValueColumns().map((kt) => kt.getColDef().field).filter((kt) => !!kt) || [], sf = Array.from(
44763
+ const ef = D.value?.getRowGroupColumns().map((kt) => kt.getColDef().field).filter((kt) => !!kt) || [], tf = D.value?.getAllDisplayedColumns().map((kt) => kt.getColDef().field).filter((kt) => !!kt) || [], of = D.value?.getValueColumns().map((kt) => kt.getColDef().field).filter((kt) => !!kt) || [], sf = Array.from(
44753
44764
  /* @__PURE__ */ new Set([
44754
44765
  ...ef,
44755
44766
  ...tf,
@@ -44769,7 +44780,7 @@ const p2 = {
44769
44780
  }
44770
44781
  };
44771
44782
  we(Zg, !0);
44772
- }) : (console.warn("Client-side export does not return CSV string"), De.value = !1, M.value.exportDataAsCsv(), null);
44783
+ }) : (console.warn("Client-side export does not return CSV string"), De.value = !1, D.value.exportDataAsCsv(), null);
44773
44784
  } catch (E) {
44774
44785
  return console.error("CSV export failed", E), De.value = !1, null;
44775
44786
  }
@@ -44792,7 +44803,7 @@ const p2 = {
44792
44803
  }, E.api.setColumnsVisible([Ie.getColId()], !1)) : ($.value = null, nt.value.headerName = "", nt.value.headerComponent = void 0, nt.value.context = null);
44793
44804
  const Ro = X?.getColId();
44794
44805
  (!Ie || Ro !== Ie.getColId()) && E.api.setColumnsVisible([Ro || ""], !0), l("column-row-group-changed", E);
44795
- }, I = (E) => {
44806
+ }, T = (E) => {
44796
44807
  const X = E.column?.getColId() || "";
44797
44808
  if (X === $.value?.getColId()) {
44798
44809
  E.api.setColumnsVisible([X], !1);
@@ -44800,7 +44811,7 @@ const p2 = {
44800
44811
  }
44801
44812
  }, ee = (E) => {
44802
44813
  E.finished && (N.value = E.api.getAllGridColumns()), l("column-moved", E);
44803
- }, Ce = (E) => {
44814
+ }, he = (E) => {
44804
44815
  E.api && (Q.value = E.api.paginationGetCurrentPage() + 1, j.value = E.api.paginationGetTotalPages());
44805
44816
  }, dt = (E) => "allChildrenRowCount" in E && E.allChildrenRowCount || 0, rt = (E) => {
44806
44817
  const X = document.querySelector(
@@ -44830,7 +44841,7 @@ const p2 = {
44830
44841
  displayCount: r.displayGroupCount,
44831
44842
  formattedValue: E.valueFormatted,
44832
44843
  rowNode: E.node,
44833
- api: M.value,
44844
+ api: D.value,
44834
44845
  onFocusUpdate: (X, se) => {
44835
44846
  ne(X, se);
44836
44847
  }
@@ -44875,7 +44886,7 @@ const p2 = {
44875
44886
  };
44876
44887
  });
44877
44888
  const Kt = (E) => {
44878
- const X = M.value;
44889
+ const X = D.value;
44879
44890
  if (!X) return;
44880
44891
  const se = E.filter?.filterModel || null, we = E.rowGroup?.groupColIds || null, Ie = E.columnVisibility || null;
44881
44892
  se && !Gr(se, se.value) && X.setFilterModel(se), we && !Gr(we, C.value) && X.setRowGroupColumns(we), Ie && !Gr(Ie, N.value) && X.setColumnsVisible(Ie.hiddenColIds, !1);
@@ -44910,9 +44921,10 @@ const p2 = {
44910
44921
  "enable-focus-view": E.enableFocusView,
44911
44922
  "enable-vertical-panel": E.enableVerticalFilterPanel,
44912
44923
  "display-preferences-icon": E.displayPreferencesIcon,
44924
+ "focusable-columns": E.focusableColumns,
44913
44925
  onHandleSettingsIcon: X[0] || (X[0] = (se) => E.$emit("handle-settings-icon", se)),
44914
44926
  onFocusUpdate: X[1] || (X[1] = (se) => ne(se.filterField, se.focuses[0]))
44915
- }, null, 8, ["enable-focus-view", "enable-vertical-panel", "display-preferences-icon"])) : te("", !0)
44927
+ }, null, 8, ["enable-focus-view", "enable-vertical-panel", "display-preferences-icon", "focusable-columns"])) : te("", !0)
44916
44928
  ], 8, ["to", "disabled"])),
44917
44929
  Z("div", R2, [
44918
44930
  E.enableGroupBySelector && E.rowGroupLimit !== 0 ? (k(), ye(I_, {
@@ -44940,12 +44952,12 @@ const p2 = {
44940
44952
  {
44941
44953
  onColumnMoved: ee,
44942
44954
  onColumnRowGroupChanged: lt,
44943
- onColumnVisible: I,
44944
- onFilterChanged: ve,
44955
+ onColumnVisible: T,
44956
+ onFilterChanged: Ce,
44945
44957
  onFilterOpened: X[2] || (X[2] = (se) => l("filter-opened", se)),
44946
44958
  onFirstDataRendered: us,
44947
- onGridReady: ge,
44948
- onPaginationChanged: Ce,
44959
+ onGridReady: fe,
44960
+ onPaginationChanged: he,
44949
44961
  onSortChanged: oe,
44950
44962
  aggFuncs: ut,
44951
44963
  autoGroupColumnDef: nt.value,
@@ -44984,7 +44996,7 @@ const p2 = {
44984
44996
  "tooltip-hide-delay": E.tooltipHideDelay
44985
44997
  }
44986
44998
  ), null, 16, ["autoGroupColumnDef", "columnDefs", "debug", "defaultColDef", "getMainMenuItems", "groupDefaultExpanded", "initialState", "isGroupOpenByDefault", "loading", "loadingCellRenderer", "loadingCellRendererParams", "maxConcurrentDatasourceRequests", "rowData", "rowHeight", "rowModelType", "serverSideInitialRowCount", "theme", "pagination", "paginationPageSize", "tooltip-show-delay", "tooltip-hide-delay"]),
44987
- D.value ? te("", !0) : (k(), z("div", x2, [
44999
+ P.value ? te("", !0) : (k(), z("div", x2, [
44988
45000
  Z("p", F2, Re(F.value), 1)
44989
45001
  ]))
44990
45002
  ], 2),