@ninebone/grid 0.0.21 → 0.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/nine-grid.js CHANGED
@@ -2660,25 +2660,25 @@ class ad {
2660
2660
  }
2661
2661
  }
2662
2662
  Xr = new WeakMap(), Do = new WeakMap(), hs = new WeakMap();
2663
- var Be, Dt, $e, Cr, ni, $s, nn, Bo, on, Fo, qo, wh, Ho, zo, an, ln, Uo, Vo, Wo;
2663
+ var qe, Dt, $e, Cr, ni, $s, nn, Bo, on, Fo, qo, wh, Ho, zo, an, ln, Uo, Vo, Wo;
2664
2664
  class ld {
2665
2665
  constructor(C, t) {
2666
- Y(this, Be);
2666
+ Y(this, qe);
2667
2667
  Y(this, Dt);
2668
2668
  Y(this, $e);
2669
2669
  Y(this, Cr);
2670
2670
  Y(this, ni);
2671
2671
  Y(this, $s);
2672
2672
  it(this, "initialize", () => {
2673
- tt(this, $s, []), $(f(this, Be).template).each((C, t) => {
2673
+ tt(this, $s, []), $(f(this, qe).template).each((C, t) => {
2674
2674
  f(this, $s).push($(t).height());
2675
2675
  }), (f(this, Dt).rawRecords || []).forEach((C) => {
2676
2676
  C.__ng.height = f(this, $s).slice();
2677
2677
  });
2678
2678
  });
2679
2679
  it(this, "set", (C) => {
2680
- var t, l;
2681
- this.clear(), this.add(C, !1), console.log(f(this, Dt)), console.log(f(this, Dt).owner), console.log(f(this, Be).matrix), (l = (t = f(this, Be)) == null ? void 0 : t.matrix) == null || l.updateCumulativeHeights();
2680
+ var t, l, c;
2681
+ this.clear(), this.add(C, !1), console.log(f(this, Dt)), console.log(f(this, Dt).owner.matrix), (c = (l = (t = f(this, qe)) == null ? void 0 : t.owner) == null ? void 0 : l.matrix) == null || c.updateCumulativeHeights();
2682
2682
  });
2683
2683
  it(this, "assign", (C) => {
2684
2684
  this.source = C;
@@ -2700,7 +2700,7 @@ class ld {
2700
2700
  * { "key1": [1,2,...], "key2": [1,2,...], ... }
2701
2701
  */
2702
2702
  it(this, "setFilter", (C) => {
2703
- f(this, Be).filtering.on();
2703
+ f(this, qe).filtering.on();
2704
2704
  let t = {};
2705
2705
  if (Array.isArray(C))
2706
2706
  for (let c in C[0])
@@ -2723,12 +2723,12 @@ class ld {
2723
2723
  s.__ng.filtered = !0;
2724
2724
  });
2725
2725
  }
2726
- this.refreshFilter(), f(this, Be).shadowRoot.querySelectorAll("ng-filter-button").forEach((c) => {
2726
+ this.refreshFilter(), f(this, qe).shadowRoot.querySelectorAll("ng-filter-button").forEach((c) => {
2727
2727
  c.filterOptions.forEach((o) => {
2728
2728
  o.data = [];
2729
2729
  });
2730
2730
  }), Object.entries(t).forEach(([c, o]) => {
2731
- f(this, Be).shadowRoot.querySelectorAll("ng-filter-button").forEach((r) => {
2731
+ f(this, qe).shadowRoot.querySelectorAll("ng-filter-button").forEach((r) => {
2732
2732
  let n = r.filterOptions;
2733
2733
  n.forEach((s) => {
2734
2734
  s.colnm === c && (s.data = o);
@@ -2822,7 +2822,7 @@ class ld {
2822
2822
  var c = {
2823
2823
  v: []
2824
2824
  };
2825
- for (const o of f(this, Be).fields.get())
2825
+ for (const o of f(this, qe).fields.get())
2826
2826
  c.v.push(H.nvl(l[o], ""));
2827
2827
  t.push(c);
2828
2828
  }), t;
@@ -2847,16 +2847,16 @@ class ld {
2847
2847
  if (Array.isArray(C)) {
2848
2848
  var t = [];
2849
2849
  for (const r of C) {
2850
- for (var l = {}, c = 0; c < f(this, Be).fields.get().length; c++) {
2851
- const n = f(this, Be).fields.get()[c];
2850
+ for (var l = {}, c = 0; c < f(this, qe).fields.get().length; c++) {
2851
+ const n = f(this, qe).fields.get()[c];
2852
2852
  l[n] = r.v[c];
2853
2853
  }
2854
2854
  l.__ng = r.__ng, t.push(l);
2855
2855
  }
2856
2856
  return t;
2857
2857
  } else {
2858
- for (var o = C, l = {}, c = 0; c < f(this, Be).fields.get().length; c++) {
2859
- const s = f(this, Be).fields.get()[c];
2858
+ for (var o = C, l = {}, c = 0; c < f(this, qe).fields.get().length; c++) {
2859
+ const s = f(this, qe).fields.get()[c];
2860
2860
  l[s] = o.v[c];
2861
2861
  }
2862
2862
  return l.__ng = o.__ng, l;
@@ -2867,16 +2867,16 @@ class ld {
2867
2867
  if (Array.isArray(C)) {
2868
2868
  var t = [];
2869
2869
  for (const r of C) {
2870
- for (var l = {}, c = 0; c < f(this, Be).fields.get().length; c++) {
2871
- const n = f(this, Be).fields.get()[c];
2870
+ for (var l = {}, c = 0; c < f(this, qe).fields.get().length; c++) {
2871
+ const n = f(this, qe).fields.get()[c];
2872
2872
  l[n] = r.v[c];
2873
2873
  }
2874
2874
  l.__ng = r.__ng, t.push(l);
2875
2875
  }
2876
2876
  return t;
2877
2877
  } else {
2878
- for (var o = C, l = {}, c = 0; c < f(this, Be).fields.get().length; c++) {
2879
- const s = f(this, Be).fields.get()[c];
2878
+ for (var o = C, l = {}, c = 0; c < f(this, qe).fields.get().length; c++) {
2879
+ const s = f(this, qe).fields.get()[c];
2880
2880
  l[s] = o.v[c];
2881
2881
  }
2882
2882
  return l.__ng = o.__ng, l;
@@ -3035,7 +3035,7 @@ class ld {
3035
3035
  var c = C[l], o = !1;
3036
3036
  for (const e in t)
3037
3037
  if (!["__ng", "rowState"].includes(e)) {
3038
- var r = f(this, Be).fields.indexOf(e);
3038
+ var r = f(this, qe).fields.indexOf(e);
3039
3039
  if (!(r < 0)) {
3040
3040
  var n = c.v[r], s = t[e];
3041
3041
  c.v[r] = s, n != s && (c.__ng.rowState = H.ROW_STATE.UPDATE, o = !0, f(this, qo).call(this, l, e, n, s));
@@ -3062,7 +3062,7 @@ class ld {
3062
3062
  });
3063
3063
  Y(this, zo, (C, t, l, c, o) => {
3064
3064
  C = parseInt(C), c == null && (c = !0);
3065
- const r = f(this, Be).fields.indexOf(t);
3065
+ const r = f(this, qe).fields.indexOf(t);
3066
3066
  if (!(r < 0)) {
3067
3067
  var n = o ? this.getValidDataNF()[C] : this.getValidData()[C], s = n.v[r];
3068
3068
  n.v[r] != l && n.__ng.rowState != H.ROW_STATE.INSERT && (n.__ng.o.hasOwnProperty(t) || (n.__ng.o[t] = s), c && (n.__ng.rowState = H.ROW_STATE.UPDATE, this.onRowStateChanged())), n.v[r] = l, f(this, Dt).owner.refreshData(C), f(this, qo).call(this, C, t, s, l);
@@ -3117,7 +3117,7 @@ class ld {
3117
3117
  if (t < 0 || t >= C.length)
3118
3118
  throw `invalid row : ${t}`;
3119
3119
  if (l != null) {
3120
- var c = f(this, Be).fields.indexOf(l);
3120
+ var c = f(this, qe).fields.indexOf(l);
3121
3121
  return c >= 0 ? C[t].v[c] : null;
3122
3122
  }
3123
3123
  var o = t == null ? C : C[t];
@@ -3146,7 +3146,7 @@ class ld {
3146
3146
  * return : 지정된 컬럼명에 해당하는 데이타 값을 배열로 반환
3147
3147
  */
3148
3148
  Y(this, Uo, (C, t) => {
3149
- var l = f(this, Be).fields.indexOf(t);
3149
+ var l = f(this, qe).fields.indexOf(t);
3150
3150
  return l < 0 ? [] : C.map((c) => c.v[l]);
3151
3151
  });
3152
3152
  it(this, "getMap", (C) => f(this, Uo).call(this, this.getValidData(), C));
@@ -3170,7 +3170,7 @@ class ld {
3170
3170
  }
3171
3171
  return -1;
3172
3172
  });
3173
- tt(this, Be, C), tt(this, Dt, t), tt(this, $e, []), tt(this, Cr, []), tt(this, ni, 0), this.all = {
3173
+ tt(this, qe, C), tt(this, Dt, t), tt(this, $e, []), tt(this, Cr, []), tt(this, ni, 0), this.all = {
3174
3174
  get: (l, c) => f(this, ln).call(this, this.recordsNF(), l, c),
3175
3175
  records: (l) => this.recordsNF(l),
3176
3176
  count: () => this.recordsNF().length,
@@ -3251,7 +3251,7 @@ class ld {
3251
3251
  delete f(this, Dt).rawRecords, tt(this, $e, []), tt(this, Cr, []), f(this, Dt).rawRecords = [], f(this, Dt).viewRecords.reset();
3252
3252
  }
3253
3253
  }
3254
- Be = new WeakMap(), Dt = new WeakMap(), $e = new WeakMap(), Cr = new WeakMap(), ni = new WeakMap(), $s = new WeakMap(), nn = new WeakMap(), Bo = new WeakMap(), on = new WeakMap(), Fo = new WeakMap(), qo = new WeakMap(), wh = new WeakMap(), Ho = new WeakMap(), zo = new WeakMap(), an = new WeakMap(), ln = new WeakMap(), Uo = new WeakMap(), Vo = new WeakMap(), Wo = new WeakMap();
3254
+ qe = new WeakMap(), Dt = new WeakMap(), $e = new WeakMap(), Cr = new WeakMap(), ni = new WeakMap(), $s = new WeakMap(), nn = new WeakMap(), Bo = new WeakMap(), on = new WeakMap(), Fo = new WeakMap(), qo = new WeakMap(), wh = new WeakMap(), Ho = new WeakMap(), zo = new WeakMap(), an = new WeakMap(), ln = new WeakMap(), Uo = new WeakMap(), Vo = new WeakMap(), Wo = new WeakMap();
3255
3255
  class hd {
3256
3256
  constructor(C) {
3257
3257
  this.owner = C, this.row = new ad(this), this.data = new ld(C, this), this.setDataSource = (l) => {
@@ -12511,8 +12511,8 @@ function pd() {
12511
12511
  j = ((x = Math.imul(J, $t)) + (w >>> 13) | 0) + (re >>> 26) | 0, re &= 67108863, y = Math.imul(G, Ct), w = (w = Math.imul(G, $t)) + Math.imul(N, Ct) | 0, x = Math.imul(N, $t);
12512
12512
  var le = (j + (y = y + Math.imul(X, Pt) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(X, de) | 0) + Math.imul(J, Pt) | 0)) << 13) | 0;
12513
12513
  j = ((x = x + Math.imul(J, de) | 0) + (w >>> 13) | 0) + (le >>> 26) | 0, le &= 67108863, y = Math.imul(U, Ct), w = (w = Math.imul(U, $t)) + Math.imul(K, Ct) | 0, x = Math.imul(K, $t), y = y + Math.imul(G, Pt) | 0, w = (w = w + Math.imul(G, de) | 0) + Math.imul(N, Pt) | 0, x = x + Math.imul(N, de) | 0;
12514
- var qe = (j + (y = y + Math.imul(X, Yt) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(X, ye) | 0) + Math.imul(J, Yt) | 0)) << 13) | 0;
12515
- j = ((x = x + Math.imul(J, ye) | 0) + (w >>> 13) | 0) + (qe >>> 26) | 0, qe &= 67108863, y = Math.imul(Z, Ct), w = (w = Math.imul(Z, $t)) + Math.imul(et, Ct) | 0, x = Math.imul(et, $t), y = y + Math.imul(U, Pt) | 0, w = (w = w + Math.imul(U, de) | 0) + Math.imul(K, Pt) | 0, x = x + Math.imul(K, de) | 0, y = y + Math.imul(G, Yt) | 0, w = (w = w + Math.imul(G, ye) | 0) + Math.imul(N, Yt) | 0, x = x + Math.imul(N, ye) | 0;
12514
+ var Fe = (j + (y = y + Math.imul(X, Yt) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(X, ye) | 0) + Math.imul(J, Yt) | 0)) << 13) | 0;
12515
+ j = ((x = x + Math.imul(J, ye) | 0) + (w >>> 13) | 0) + (Fe >>> 26) | 0, Fe &= 67108863, y = Math.imul(Z, Ct), w = (w = Math.imul(Z, $t)) + Math.imul(et, Ct) | 0, x = Math.imul(et, $t), y = y + Math.imul(U, Pt) | 0, w = (w = w + Math.imul(U, de) | 0) + Math.imul(K, Pt) | 0, x = x + Math.imul(K, de) | 0, y = y + Math.imul(G, Yt) | 0, w = (w = w + Math.imul(G, ye) | 0) + Math.imul(N, Yt) | 0, x = x + Math.imul(N, ye) | 0;
12516
12516
  var Oe = (j + (y = y + Math.imul(X, se) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(X, Me) | 0) + Math.imul(J, se) | 0)) << 13) | 0;
12517
12517
  j = ((x = x + Math.imul(J, Me) | 0) + (w >>> 13) | 0) + (Oe >>> 26) | 0, Oe &= 67108863, y = Math.imul(lt, Ct), w = (w = Math.imul(lt, $t)) + Math.imul(Q, Ct) | 0, x = Math.imul(Q, $t), y = y + Math.imul(Z, Pt) | 0, w = (w = w + Math.imul(Z, de) | 0) + Math.imul(et, Pt) | 0, x = x + Math.imul(et, de) | 0, y = y + Math.imul(U, Yt) | 0, w = (w = w + Math.imul(U, ye) | 0) + Math.imul(K, Yt) | 0, x = x + Math.imul(K, ye) | 0, y = y + Math.imul(G, se) | 0, w = (w = w + Math.imul(G, Me) | 0) + Math.imul(N, se) | 0, x = x + Math.imul(N, Me) | 0;
12518
12518
  var Xe = (j + (y = y + Math.imul(X, Qt) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(X, me) | 0) + Math.imul(J, Qt) | 0)) << 13) | 0;
@@ -12544,7 +12544,7 @@ function pd() {
12544
12544
  var Jt = (j + (y = y + Math.imul(At, Vt) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(At, ie) | 0) + Math.imul(Ut, Vt) | 0)) << 13) | 0;
12545
12545
  j = ((x = x + Math.imul(Ut, ie) | 0) + (w >>> 13) | 0) + (Jt >>> 26) | 0, Jt &= 67108863;
12546
12546
  var ke = (j + (y = Math.imul(Ht, Vt)) | 0) + ((8191 & (w = (w = Math.imul(Ht, ie)) + Math.imul(Wt, Vt) | 0)) << 13) | 0;
12547
- return j = ((x = Math.imul(Wt, ie)) + (w >>> 13) | 0) + (ke >>> 26) | 0, ke &= 67108863, O[0] = re, O[1] = le, O[2] = qe, O[3] = Oe, O[4] = Xe, O[5] = Ye, O[6] = fr, O[7] = st, O[8] = pt, O[9] = wt, O[10] = _t, O[11] = Bt, O[12] = Et, O[13] = Rt, O[14] = fe, O[15] = oe, O[16] = he, O[17] = Jt, O[18] = ke, j !== 0 && (O[19] = j, k.length++), k;
12547
+ return j = ((x = Math.imul(Wt, ie)) + (w >>> 13) | 0) + (ke >>> 26) | 0, ke &= 67108863, O[0] = re, O[1] = le, O[2] = Fe, O[3] = Oe, O[4] = Xe, O[5] = Ye, O[6] = fr, O[7] = st, O[8] = pt, O[9] = wt, O[10] = _t, O[11] = Bt, O[12] = Et, O[13] = Rt, O[14] = fe, O[15] = oe, O[16] = he, O[17] = Jt, O[18] = ke, j !== 0 && (O[19] = j, k.length++), k;
12548
12548
  };
12549
12549
  function S(A, M, k) {
12550
12550
  return new E().mulp(A, M, k);
@@ -13402,8 +13402,8 @@ function pd() {
13402
13402
  var E = function(k, y, w) {
13403
13403
  var x, _, T, O = k.words, j = y.words, V = w.words, X = 0, J = 0 | O[0], L = 8191 & J, G = J >>> 13, N = 0 | O[1], R = 8191 & N, U = N >>> 13, K = 0 | O[2], rt = 8191 & K, Z = K >>> 13, et = 0 | O[3], ht = 8191 & et, lt = et >>> 13, Q = 0 | O[4], ot = 8191 & Q, nt = Q >>> 13, ut = 0 | O[5], ct = 8191 & ut, ft = ut >>> 13, gt = 0 | O[6], bt = 8191 & gt, xt = gt >>> 13, Nt = 0 | O[7], It = 8191 & Nt, At = Nt >>> 13, Ut = 0 | O[8], qt = 8191 & Ut, Ht = Ut >>> 13, Wt = 0 | O[9], jt = 8191 & Wt, Ct = Wt >>> 13, $t = 0 | j[0], Ft = 8191 & $t, Pt = $t >>> 13, de = 0 | j[1], _e = 8191 & de, Yt = de >>> 13, ye = 0 | j[2], ce = 8191 & ye, se = ye >>> 13, Me = 0 | j[3], ve = 8191 & Me, Qt = Me >>> 13, me = 0 | j[4], Ae = 8191 & me, te = me >>> 13, xe = 0 | j[5], Te = 8191 & xe, ne = xe >>> 13, at = 0 | j[6], dt = 8191 & at, yt = at >>> 13, Tt = 0 | j[7], Kt = 8191 & Tt, Mt = Tt >>> 13, ee = 0 | j[8], Zt = 8191 & ee, Vt = ee >>> 13, ie = 0 | j[9], re = 8191 & ie, le = ie >>> 13;
13404
13404
  w.negative = k.negative ^ y.negative, w.length = 19;
13405
- var qe = (X + (x = Math.imul(L, Ft)) | 0) + ((8191 & (_ = (_ = Math.imul(L, Pt)) + Math.imul(G, Ft) | 0)) << 13) | 0;
13406
- X = ((T = Math.imul(G, Pt)) + (_ >>> 13) | 0) + (qe >>> 26) | 0, qe &= 67108863, x = Math.imul(R, Ft), _ = (_ = Math.imul(R, Pt)) + Math.imul(U, Ft) | 0, T = Math.imul(U, Pt);
13405
+ var Fe = (X + (x = Math.imul(L, Ft)) | 0) + ((8191 & (_ = (_ = Math.imul(L, Pt)) + Math.imul(G, Ft) | 0)) << 13) | 0;
13406
+ X = ((T = Math.imul(G, Pt)) + (_ >>> 13) | 0) + (Fe >>> 26) | 0, Fe &= 67108863, x = Math.imul(R, Ft), _ = (_ = Math.imul(R, Pt)) + Math.imul(U, Ft) | 0, T = Math.imul(U, Pt);
13407
13407
  var Oe = (X + (x = x + Math.imul(L, _e) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(L, Yt) | 0) + Math.imul(G, _e) | 0)) << 13) | 0;
13408
13408
  X = ((T = T + Math.imul(G, Yt) | 0) + (_ >>> 13) | 0) + (Oe >>> 26) | 0, Oe &= 67108863, x = Math.imul(rt, Ft), _ = (_ = Math.imul(rt, Pt)) + Math.imul(Z, Ft) | 0, T = Math.imul(Z, Pt), x = x + Math.imul(R, _e) | 0, _ = (_ = _ + Math.imul(R, Yt) | 0) + Math.imul(U, _e) | 0, T = T + Math.imul(U, Yt) | 0;
13409
13409
  var Xe = (X + (x = x + Math.imul(L, ce) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(L, se) | 0) + Math.imul(G, ce) | 0)) << 13) | 0;
@@ -13439,7 +13439,7 @@ function pd() {
13439
13439
  var Ce = (X + (x = x + Math.imul(qt, re) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(qt, le) | 0) + Math.imul(Ht, re) | 0)) << 13) | 0;
13440
13440
  X = ((T = T + Math.imul(Ht, le) | 0) + (_ >>> 13) | 0) + (Ce >>> 26) | 0, Ce &= 67108863;
13441
13441
  var Re = (X + (x = Math.imul(jt, re)) | 0) + ((8191 & (_ = (_ = Math.imul(jt, le)) + Math.imul(Ct, re) | 0)) << 13) | 0;
13442
- return X = ((T = Math.imul(Ct, le)) + (_ >>> 13) | 0) + (Re >>> 26) | 0, Re &= 67108863, V[0] = qe, V[1] = Oe, V[2] = Xe, V[3] = Ye, V[4] = fr, V[5] = st, V[6] = pt, V[7] = wt, V[8] = _t, V[9] = Bt, V[10] = Et, V[11] = Rt, V[12] = fe, V[13] = oe, V[14] = he, V[15] = Jt, V[16] = ke, V[17] = Ce, V[18] = Re, X !== 0 && (V[19] = X, w.length++), w;
13442
+ return X = ((T = Math.imul(Ct, le)) + (_ >>> 13) | 0) + (Re >>> 26) | 0, Re &= 67108863, V[0] = Fe, V[1] = Oe, V[2] = Xe, V[3] = Ye, V[4] = fr, V[5] = st, V[6] = pt, V[7] = wt, V[8] = _t, V[9] = Bt, V[10] = Et, V[11] = Rt, V[12] = fe, V[13] = oe, V[14] = he, V[15] = Jt, V[16] = ke, V[17] = Ce, V[18] = Re, X !== 0 && (V[19] = X, w.length++), w;
13443
13443
  };
13444
13444
  function I(k, y, w) {
13445
13445
  w.negative = y.negative ^ k.negative, w.length = k.length + y.length;
@@ -21655,7 +21655,7 @@ function pd() {
21655
21655
  return st != null && pt in Object(st);
21656
21656
  }
21657
21657
  function _e(st, pt, wt, _t, Bt) {
21658
- return st === pt || (st == null || pt == null || !le(st) && !qe(pt) ? st != st && pt != pt : (function(Et, Rt, fe, oe, he, Jt) {
21658
+ return st === pt || (st == null || pt == null || !le(st) && !Fe(pt) ? st != st && pt != pt : (function(Et, Rt, fe, oe, he, Jt) {
21659
21659
  var ke = Zt(Et), Ce = Zt(Rt), Re = "[object Array]", De = "[object Array]";
21660
21660
  ke || (Re = (Re = me(Et)) == r ? s : Re), Ce || (De = (De = me(Rt)) == r ? s : De);
21661
21661
  var Qe = Re == s && !q(Et), hr = De == s && !q(Rt), Lr = Re == De;
@@ -21921,7 +21921,7 @@ function pd() {
21921
21921
  }
21922
21922
  function ee(st) {
21923
21923
  return (function(pt) {
21924
- return qe(pt) && Vt(pt);
21924
+ return Fe(pt) && Vt(pt);
21925
21925
  })(st) && X.call(st, "callee") && (!R.call(st, "callee") || J.call(st) == r);
21926
21926
  }
21927
21927
  Kt.Cache = At;
@@ -21940,18 +21940,18 @@ function pd() {
21940
21940
  var pt = typeof st;
21941
21941
  return !!st && (pt == "object" || pt == "function");
21942
21942
  }
21943
- function qe(st) {
21943
+ function Fe(st) {
21944
21944
  return !!st && typeof st == "object";
21945
21945
  }
21946
21946
  function Oe(st) {
21947
- return typeof st == "symbol" || qe(st) && J.call(st) == "[object Symbol]";
21947
+ return typeof st == "symbol" || Fe(st) && J.call(st) == "[object Symbol]";
21948
21948
  }
21949
21949
  var Xe = B ? /* @__PURE__ */ (function(st) {
21950
21950
  return function(pt) {
21951
21951
  return st(pt);
21952
21952
  };
21953
21953
  })(B) : function(st) {
21954
- return qe(st) && re(st.length) && !!b[J.call(st)];
21954
+ return Fe(st) && re(st.length) && !!b[J.call(st)];
21955
21955
  };
21956
21956
  function Ye(st) {
21957
21957
  return Vt(st) ? Ht(st) : ce(st);
@@ -22030,7 +22030,7 @@ function pd() {
22030
22030
  }
22031
22031
  function At(at, dt) {
22032
22032
  var yt = ve(at), Tt = !yt && Me(at), Kt = !yt && !Tt && Qt(at), Mt = !yt && !Tt && !Kt && Te(at), ee = yt || Tt || Kt || Mt, Zt = ee ? (function(re, le) {
22033
- for (var qe = -1, Oe = Array(re); ++qe < re; ) Oe[qe] = le(qe);
22033
+ for (var Fe = -1, Oe = Array(re); ++Fe < re; ) Oe[Fe] = le(Fe);
22034
22034
  return Oe;
22035
22035
  })(at.length, String) : [], Vt = Zt.length;
22036
22036
  for (var ie in at) !w.call(at, ie) || ee && (ie == "length" || Kt && (ie == "offset" || ie == "parent") || Mt && (ie == "buffer" || ie == "byteLength" || ie == "byteOffset") || ye(ie, Vt)) || Zt.push(ie);
@@ -22059,7 +22059,7 @@ function pd() {
22059
22059
  }
22060
22060
  function Wt(at, dt, yt, Tt, Kt) {
22061
22061
  return at === dt || (at == null || dt == null || !xe(at) && !xe(dt) ? at != at && dt != dt : (function(Mt, ee, Zt, Vt, ie, re) {
22062
- var le = ve(Mt), qe = ve(ee), Oe = le ? "[object Array]" : Yt(Mt), Xe = qe ? "[object Array]" : Yt(ee), Ye = (Oe = Oe == r ? s : Oe) == s, fr = (Xe = Xe == r ? s : Xe) == s, st = Oe == Xe;
22062
+ var le = ve(Mt), Fe = ve(ee), Oe = le ? "[object Array]" : Yt(Mt), Xe = Fe ? "[object Array]" : Yt(ee), Ye = (Oe = Oe == r ? s : Oe) == s, fr = (Xe = Xe == r ? s : Xe) == s, st = Oe == Xe;
22063
22063
  if (st && Qt(Mt)) {
22064
22064
  if (!Qt(ee)) return !1;
22065
22065
  le = !0, Ye = !1;
@@ -22147,7 +22147,7 @@ function pd() {
22147
22147
  if (Zt != Vt && !(ee && Vt > Zt)) return !1;
22148
22148
  var ie = Mt.get(at);
22149
22149
  if (ie && Mt.get(dt)) return ie == dt;
22150
- var re = -1, le = !0, qe = 2 & yt ? new Nt() : void 0;
22150
+ var re = -1, le = !0, Fe = 2 & yt ? new Nt() : void 0;
22151
22151
  for (Mt.set(at, dt), Mt.set(dt, at); ++re < Zt; ) {
22152
22152
  var Oe = at[re], Xe = dt[re];
22153
22153
  if (Tt) var Ye = ee ? Tt(Xe, Oe, re, dt, at, Mt) : Tt(Oe, Xe, re, at, dt, Mt);
@@ -22156,9 +22156,9 @@ function pd() {
22156
22156
  le = !1;
22157
22157
  break;
22158
22158
  }
22159
- if (qe) {
22159
+ if (Fe) {
22160
22160
  if (!D(dt, (function(fr, st) {
22161
- if (pt = st, !qe.has(pt) && (Oe === fr || Kt(Oe, fr, yt, Tt, Mt))) return qe.push(st);
22161
+ if (pt = st, !Fe.has(pt) && (Oe === fr || Kt(Oe, fr, yt, Tt, Mt))) return Fe.push(st);
22162
22162
  var pt;
22163
22163
  }))) {
22164
22164
  le = !1;
@@ -27686,11 +27686,11 @@ class Pd extends HTMLElement {
27686
27686
  }
27687
27687
  Lt = new WeakMap(), ta = new WeakMap(), Lh = new WeakMap();
27688
27688
  customElements.get("ng-menu") || customElements.define("ng-menu", Pd);
27689
- var Fe, ea, ra, Er, sa, ze, tr, Ds, Ph, vn, Dh;
27689
+ var Be, ea, ra, Er, sa, ze, tr, Ds, Ph, vn, Dh;
27690
27690
  class Dd extends HTMLElement {
27691
27691
  constructor() {
27692
27692
  super();
27693
- Y(this, Fe);
27693
+ Y(this, Be);
27694
27694
  Y(this, ea);
27695
27695
  Y(this, ra);
27696
27696
  Y(this, Er);
@@ -27701,31 +27701,31 @@ class Dd extends HTMLElement {
27701
27701
  it(this, "refreshTotal", () => {
27702
27702
  });
27703
27703
  Y(this, Ph, () => {
27704
- f(this, Fe).data.getValidDataNF().map((t) => {
27704
+ f(this, Be).data.getValidDataNF().map((t) => {
27705
27705
  t.__ng.paging = !0;
27706
- }), f(this, Fe).data.resetRecords();
27706
+ }), f(this, Be).data.resetRecords();
27707
27707
  });
27708
27708
  Y(this, vn, () => {
27709
- this.type == H.PAGINGTYPE.CLIENT ? $("span", this).eq(1).html(`<b>Total</b> : ${f(this, Fe).data.countNF().toLocaleString()}`) : this.type == H.PAGINGTYPE.SERVER ? $("span", this).eq(1).html(`<b>Total</b> : ${f(this, Ds).toLocaleString()}`) : this.type == H.PAGINGTYPE.NONE && $("span", this).eq(1).html(`<b>Total</b> : ${f(this, Ds).toLocaleString()}`), f(this, tr) == 0 ? $("span", this).eq(0).html("") : $("span", this).eq(0).html(`${f(this, ze).toLocaleString()} <i>of</i> ${f(this, tr).toLocaleString()}`), H.j.querySelectorAll(".ng-paging-first", this).attr("disabled", f(this, ze) == 1 || f(this, tr) < 1), H.j.querySelectorAll(".ng-paging-prev", this).attr("disabled", f(this, ze) == 1 || f(this, tr) < 1), H.j.querySelectorAll(".ng-paging-next", this).attr("disabled", f(this, ze) == f(this, tr) || f(this, tr) < 1), H.j.querySelectorAll(".ng-paging-last", this).attr("disabled", f(this, ze) == f(this, tr) || f(this, tr) < 1);
27709
+ this.type == H.PAGINGTYPE.CLIENT ? $("span", this).eq(1).html(`<b>Total</b> : ${f(this, Be).data.countNF().toLocaleString()}`) : this.type == H.PAGINGTYPE.SERVER ? $("span", this).eq(1).html(`<b>Total</b> : ${f(this, Ds).toLocaleString()}`) : this.type == H.PAGINGTYPE.NONE && $("span", this).eq(1).html(`<b>Total</b> : ${f(this, Ds).toLocaleString()}`), f(this, tr) == 0 ? $("span", this).eq(0).html("") : $("span", this).eq(0).html(`${f(this, ze).toLocaleString()} <i>of</i> ${f(this, tr).toLocaleString()}`), H.j.querySelectorAll(".ng-paging-first", this).attr("disabled", f(this, ze) == 1 || f(this, tr) < 1), H.j.querySelectorAll(".ng-paging-prev", this).attr("disabled", f(this, ze) == 1 || f(this, tr) < 1), H.j.querySelectorAll(".ng-paging-next", this).attr("disabled", f(this, ze) == f(this, tr) || f(this, tr) < 1), H.j.querySelectorAll(".ng-paging-last", this).attr("disabled", f(this, ze) == f(this, tr) || f(this, tr) < 1);
27710
27710
  });
27711
27711
  Y(this, Dh, () => {
27712
- this.type == H.PAGINGTYPE.CLIENT ? this.movePage(Math.ceil(f(this, Fe).data.countNF() / f(this, Er))) : this.type == H.PAGINGTYPE.SERVER && this.movePage(Math.ceil(f(this, Ds) / f(this, Er)));
27712
+ this.type == H.PAGINGTYPE.CLIENT ? this.movePage(Math.ceil(f(this, Be).data.countNF() / f(this, Er))) : this.type == H.PAGINGTYPE.SERVER && this.movePage(Math.ceil(f(this, Ds) / f(this, Er)));
27713
27713
  });
27714
27714
  it(this, "movePage", (t) => {
27715
- if (!(!f(this, Fe) || !f(this, Fe).data || isNaN(t))) {
27715
+ if (!(!f(this, Be) || !f(this, Be).data || isNaN(t))) {
27716
27716
  if (this.type == H.PAGINGTYPE.SERVER && (H.j.querySelectorAll(".ng-paging-first", this).attr("disabled", !0), H.j.querySelectorAll(".ng-paging-prev", this).attr("disabled", !0), H.j.querySelectorAll(".ng-paging-next", this).attr("disabled", !0), H.j.querySelectorAll(".ng-paging-last", this).attr("disabled", !0)), tt(this, sa, f(this, ze)), tt(this, ze, t), this.type == H.PAGINGTYPE.CLIENT) {
27717
- var l = f(this, Fe).data.getValidDataNF();
27717
+ var l = f(this, Be).data.getValidDataNF();
27718
27718
  if (tt(this, tr, Math.ceil(l.length / f(this, Er))), l.length == 0)
27719
27719
  tt(this, tr, 0);
27720
27720
  else if (t < 1 || t > f(this, tr)) throw `1invalid page ${t} of ${f(this, tr)}`;
27721
27721
  f(this, vn).call(this), l.map((o) => {
27722
27722
  o.__ng.paging = !1;
27723
27723
  });
27724
- for (var c = (f(this, ze) - 1) * f(this, Er); c < Math.min(f(this, ze) * f(this, Er), f(this, Fe).data.countNF()); c++)
27724
+ for (var c = (f(this, ze) - 1) * f(this, Er); c < Math.min(f(this, ze) * f(this, Er), f(this, Be).data.countNF()); c++)
27725
27725
  l[c].__ng.paging = !0;
27726
- f(this, Fe).data.resetRecords(), f(this, Fe).scrollTo_V1(0);
27726
+ f(this, Be).data.resetRecords(), f(this, Be).scrollTo_V1(0);
27727
27727
  }
27728
- this.type == H.PAGINGTYPE.SERVER && f(this, sa) != f(this, ze) && (this.onpagechanged.pageIndex = f(this, ze), this.onpagechanged.pageCnt = f(this, Er), f(this, Fe).dispatchEvent(this.onpagechanged));
27728
+ this.type == H.PAGINGTYPE.SERVER && f(this, sa) != f(this, ze) && (this.onpagechanged.pageIndex = f(this, ze), this.onpagechanged.pageCnt = f(this, Er), f(this, Be).dispatchEvent(this.onpagechanged));
27729
27729
  }
27730
27730
  });
27731
27731
  it(this, "reset", () => {
@@ -27734,17 +27734,17 @@ class Dd extends HTMLElement {
27734
27734
  it(this, "refresh", () => {
27735
27735
  switch (this.type) {
27736
27736
  case H.PAGINGTYPE.NONE:
27737
- f(this, Ph).call(this), $(".ng-container tbody tr.bindable:not(.nodata)", f(this, Fe).body).remove(), f(this, Fe).scrollTo_V1(0);
27737
+ f(this, Ph).call(this), $(".ng-container tbody tr.bindable:not(.nodata)", f(this, Be).body).remove(), f(this, Be).scrollTo_V1(0);
27738
27738
  break;
27739
27739
  case H.PAGINGTYPE.CLIENT:
27740
- this.movePage(1), f(this, Fe).refresh();
27740
+ this.movePage(1), f(this, Be).refresh();
27741
27741
  break;
27742
27742
  case H.PAGINGTYPE.SERVER:
27743
27743
  break;
27744
27744
  }
27745
27745
  f(this, vn).call(this);
27746
27746
  });
27747
- tt(this, Fe, this.getRootNode().host.getRootNode().host), tt(this, ze, 0), tt(this, tr, 0), tt(this, Ds, 0), this.onpagechanged = new CustomEvent("pagechanged", { bubbles: !0, detail: {} });
27747
+ tt(this, Be, this.getRootNode().host.getRootNode().host), tt(this, ze, 0), tt(this, tr, 0), tt(this, Ds, 0), this.onpagechanged = new CustomEvent("pagechanged", { bubbles: !0, detail: {} });
27748
27748
  }
27749
27749
  connectedCallback() {
27750
27750
  this.innerHTML = `
@@ -27757,7 +27757,7 @@ class Dd extends HTMLElement {
27757
27757
  `, $(".ng-paging-first", this).on("click", (t) => this.movePage(1)), $(".ng-paging-prev", this).on("click", (t) => this.movePage(f(this, ze) - 1)), $(".ng-paging-next", this).on("click", (t) => this.movePage(f(this, ze) + 1)), $(".ng-paging-last", this).on("click", (t) => f(this, Dh).call(this));
27758
27758
  }
27759
27759
  get type() {
27760
- return f(this, Fe).getAttribute("paging-type");
27760
+ return f(this, Be).getAttribute("paging-type");
27761
27761
  }
27762
27762
  set type(t) {
27763
27763
  if (!Object.values(H.PAGINGTYPE).includes(t)) throw `invalid page type : ${t}`;
@@ -27796,8 +27796,8 @@ class Dd extends HTMLElement {
27796
27796
  set count(t) {
27797
27797
  setTimeout(() => {
27798
27798
  if (tt(this, ea, t), t == H.PAGINGCOUNT.AUTO) {
27799
- var l = $(".ng-container-body", f(this, Fe).body).height() - ($(".ng-container-body thead", f(this, Fe).body).height() || 0) - ($(".ng-container-body tfoot", f(this, Fe).body).height() || 0), c = 0;
27800
- $(f(this, Fe).template).each((o, r) => c += $(r).height()), tt(this, Er, Math.floor(l / c));
27799
+ var l = $(".ng-container-body", f(this, Be).body).height() - ($(".ng-container-body thead", f(this, Be).body).height() || 0) - ($(".ng-container-body tfoot", f(this, Be).body).height() || 0), c = 0;
27800
+ $(f(this, Be).template).each((o, r) => c += $(r).height()), tt(this, Er, Math.floor(l / c));
27801
27801
  } else
27802
27802
  tt(this, Er, Number(t));
27803
27803
  switch (this.type) {
@@ -27820,7 +27820,7 @@ class Dd extends HTMLElement {
27820
27820
  tt(this, ra, t);
27821
27821
  }
27822
27822
  }
27823
- Fe = new WeakMap(), ea = new WeakMap(), ra = new WeakMap(), Er = new WeakMap(), sa = new WeakMap(), ze = new WeakMap(), tr = new WeakMap(), Ds = new WeakMap(), Ph = new WeakMap(), vn = new WeakMap(), Dh = new WeakMap();
27823
+ Be = new WeakMap(), ea = new WeakMap(), ra = new WeakMap(), Er = new WeakMap(), sa = new WeakMap(), ze = new WeakMap(), tr = new WeakMap(), Ds = new WeakMap(), Ph = new WeakMap(), vn = new WeakMap(), Dh = new WeakMap();
27824
27824
  customElements.get("ng-paging") || customElements.define("ng-paging", Dd);
27825
27825
  var ci, ia;
27826
27826
  class Bd extends Mr {