@gemafajarramadhan/dynamic-ui 1.4.58 → 1.4.60

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.
@@ -33,7 +33,7 @@ function B(t, e) {
33
33
  function U(t, e) {
34
34
  const r = j(e);
35
35
  let n;
36
- return f(t, function(i, o) {
36
+ return l(t, function(i, o) {
37
37
  if (r(i, o))
38
38
  return n = i, !1;
39
39
  }), n;
@@ -41,7 +41,7 @@ function U(t, e) {
41
41
  function kt(t, e) {
42
42
  const r = j(e);
43
43
  let n = k(t) ? -1 : void 0;
44
- return f(t, function(i, o) {
44
+ return l(t, function(i, o) {
45
45
  if (r(i, o))
46
46
  return n = o, !1;
47
47
  }), n;
@@ -49,11 +49,11 @@ function kt(t, e) {
49
49
  function Ft(t, e) {
50
50
  const r = j(e);
51
51
  let n = [];
52
- return f(t, function(i, o) {
52
+ return l(t, function(i, o) {
53
53
  r(i, o) && n.push(i);
54
54
  }), n;
55
55
  }
56
- function f(t, e) {
56
+ function l(t, e) {
57
57
  let r, n;
58
58
  if (x(t))
59
59
  return;
@@ -63,7 +63,7 @@ function f(t, e) {
63
63
  return r;
64
64
  }
65
65
  function X(t, e, r) {
66
- return f(t, function(n, i) {
66
+ return l(t, function(n, i) {
67
67
  r = e(r, n, i);
68
68
  }), r;
69
69
  }
@@ -77,7 +77,7 @@ function Z(t, e) {
77
77
  }
78
78
  function It(t, e) {
79
79
  let r = [];
80
- return f(t, function(n, i) {
80
+ return l(t, function(n, i) {
81
81
  r.push(e(n, i));
82
82
  }), r;
83
83
  }
@@ -99,25 +99,25 @@ function Q(t) {
99
99
  }
100
100
  function $t(t, e) {
101
101
  let r, n, i, o;
102
- function a(p) {
103
- let V = Date.now(), A = p ? 0 : o + e - V;
102
+ function a(v) {
103
+ let V = Date.now(), A = v ? 0 : o + e - V;
104
104
  if (A > 0)
105
105
  return s(A);
106
106
  t.apply(i, n), c();
107
107
  }
108
- function s(p) {
109
- r = setTimeout(a, p);
108
+ function s(v) {
109
+ r = setTimeout(a, v);
110
110
  }
111
111
  function c() {
112
112
  r && clearTimeout(r), r = o = n = i = void 0;
113
113
  }
114
- function v() {
114
+ function f() {
115
115
  r && a(!0), c();
116
116
  }
117
- function l(...p) {
118
- o = Date.now(), n = p, i = this, r || s(e);
117
+ function g(...v) {
118
+ o = Date.now(), n = v, i = this, r || s(e);
119
119
  }
120
- return l.flush = v, l.cancel = c, l;
120
+ return g.flush = f, g.cancel = c, g;
121
121
  }
122
122
  function qt(t, e) {
123
123
  return t.bind(e);
@@ -127,7 +127,7 @@ function Rt(t, ...e) {
127
127
  }
128
128
  function Gt(t, e, r) {
129
129
  let n = t;
130
- return f(e, function(i, o) {
130
+ return l(e, function(i, o) {
131
131
  if (typeof i != "number" && typeof i != "string")
132
132
  throw new Error("illegal key type: " + typeof i + ". Key should be of type number or string.");
133
133
  if (i === "constructor")
@@ -140,13 +140,13 @@ function Gt(t, e, r) {
140
140
  }
141
141
  function Vt(t, e) {
142
142
  let r = {}, n = Object(t);
143
- return f(e, function(i) {
143
+ return l(e, function(i) {
144
144
  i in n && (r[i] = t[i]);
145
145
  }), r;
146
146
  }
147
147
  function Ht(t, e) {
148
148
  let r = {}, n = Object(t);
149
- return f(n, function(i, o) {
149
+ return l(n, function(i, o) {
150
150
  e.indexOf(o) === -1 && (r[o] = i);
151
151
  }), r;
152
152
  }
@@ -266,32 +266,32 @@ function ot(t, e, r) {
266
266
  }
267
267
  const at = Object.prototype.toString;
268
268
  function Bt(t) {
269
- return new d(t);
269
+ return new p(t);
270
270
  }
271
- function d(t) {
271
+ function p(t) {
272
272
  if (!t || !t.nodeType)
273
273
  throw new Error("A DOM element reference is required");
274
274
  this.el = t, this.list = t.classList;
275
275
  }
276
- d.prototype.add = function(t) {
276
+ p.prototype.add = function(t) {
277
277
  return this.list.add(t), this;
278
278
  };
279
- d.prototype.remove = function(t) {
279
+ p.prototype.remove = function(t) {
280
280
  return at.call(t) == "[object RegExp]" ? this.removeMatching(t) : (this.list.remove(t), this);
281
281
  };
282
- d.prototype.removeMatching = function(t) {
282
+ p.prototype.removeMatching = function(t) {
283
283
  const e = this.array();
284
284
  for (let r = 0; r < e.length; r++)
285
285
  t.test(e[r]) && this.remove(e[r]);
286
286
  return this;
287
287
  };
288
- d.prototype.toggle = function(t, e) {
288
+ p.prototype.toggle = function(t, e) {
289
289
  return typeof e < "u" ? e !== this.list.toggle(t, e) && this.list.toggle(t) : this.list.toggle(t), this;
290
290
  };
291
- d.prototype.array = function() {
291
+ p.prototype.array = function() {
292
292
  return Array.from(this.list);
293
293
  };
294
- d.prototype.has = d.prototype.contains = function(t) {
294
+ p.prototype.has = p.prototype.contains = function(t) {
295
295
  return this.list.contains(t);
296
296
  };
297
297
  var O = {
@@ -425,27 +425,26 @@ u.option = u.optgroup = [1, '<select multiple="multiple">', "</select>"];
425
425
  u.thead = u.tbody = u.colgroup = u.caption = u.tfoot = [1, "<table>", "</table>"];
426
426
  u.polyline = u.ellipse = u.polygon = u.circle = u.text = u.line = u.path = u.rect = u.g = [1, '<svg xmlns="http://www.w3.org/2000/svg" version="1.1">', "</svg>"];
427
427
  function Qt(t, e = globalThis.document) {
428
- var v;
429
428
  if (typeof t != "string")
430
429
  throw new TypeError("String expected");
431
430
  const r = /^<!--(.*?)-->$/s.exec(t);
432
431
  if (r)
433
432
  return e.createComment(r[1]);
434
- const n = (v = /<([\w:]+)/.exec(t)) == null ? void 0 : v[1];
433
+ const n = /<([\w:]+)/.exec(t)?.[1];
435
434
  if (!n)
436
435
  return e.createTextNode(t);
437
436
  if (t = t.trim(), n === "body") {
438
- const l = e.createElement("html");
439
- l.innerHTML = t;
440
- const { lastChild: p } = l;
441
- return p.remove(), p;
437
+ const f = e.createElement("html");
438
+ f.innerHTML = t;
439
+ const { lastChild: g } = f;
440
+ return g.remove(), g;
442
441
  }
443
442
  let [i, o, a] = Object.hasOwn(u, n) ? u[n] : u._default, s = e.createElement("div");
444
443
  for (s.innerHTML = o + t + a; i--; )
445
444
  s = s.lastChild;
446
445
  if (s.firstChild === s.lastChild) {
447
- const { firstChild: l } = s;
448
- return l.remove(), l;
446
+ const { firstChild: f } = s;
447
+ return f.remove(), f;
449
448
  }
450
449
  const c = e.createDocumentFragment();
451
450
  return c.append(...s.childNodes), c;
@@ -467,8 +466,8 @@ function gt(t, e) {
467
466
  }
468
467
  function Wt(t, ...e) {
469
468
  const r = t.style;
470
- return f(e, function(n) {
471
- n && f(n, function(i, o) {
469
+ return l(e, function(n) {
470
+ n && l(n, function(i, o) {
472
471
  r[o] = i;
473
472
  });
474
473
  }), t;
@@ -478,32 +477,32 @@ function te(t, e, r) {
478
477
  }
479
478
  const vt = Object.prototype.toString;
480
479
  function ee(t) {
481
- return new h(t);
480
+ return new d(t);
482
481
  }
483
- function h(t) {
482
+ function d(t) {
484
483
  if (!t || !t.nodeType)
485
484
  throw new Error("A DOM element reference is required");
486
485
  this.el = t, this.list = t.classList;
487
486
  }
488
- h.prototype.add = function(t) {
487
+ d.prototype.add = function(t) {
489
488
  return this.list.add(t), this;
490
489
  };
491
- h.prototype.remove = function(t) {
490
+ d.prototype.remove = function(t) {
492
491
  return vt.call(t) == "[object RegExp]" ? this.removeMatching(t) : (this.list.remove(t), this);
493
492
  };
494
- h.prototype.removeMatching = function(t) {
493
+ d.prototype.removeMatching = function(t) {
495
494
  const e = this.array();
496
495
  for (let r = 0; r < e.length; r++)
497
496
  t.test(e[r]) && this.remove(e[r]);
498
497
  return this;
499
498
  };
500
- h.prototype.toggle = function(t, e) {
499
+ d.prototype.toggle = function(t, e) {
501
500
  return typeof e < "u" ? e !== this.list.toggle(t, e) && this.list.toggle(t) : this.list.toggle(t), this;
502
501
  };
503
- h.prototype.array = function() {
502
+ d.prototype.array = function() {
504
503
  return Array.from(this.list);
505
504
  };
506
- h.prototype.has = h.prototype.contains = function(t) {
505
+ d.prototype.has = d.prototype.contains = function(t) {
507
506
  return this.list.contains(t);
508
507
  };
509
508
  function re(t) {
@@ -577,8 +576,8 @@ function jt() {
577
576
  var c = Math.pow(r, o), s = Math.floor(Math.random() * c).toString(r);
578
577
  a = s + a;
579
578
  }
580
- var v = parseInt(a, r);
581
- return v !== 1 / 0 && v >= Math.pow(2, e) ? t(e, r) : a;
579
+ var f = parseInt(a, r);
580
+ return f !== 1 / 0 && f >= Math.pow(2, e) ? t(e, r) : a;
582
581
  };
583
582
  return t.rack = function(e, r, n) {
584
583
  var i = function(a) {
@@ -599,31 +598,31 @@ function jt() {
599
598
  }, E.exports;
600
599
  }
601
600
  var Mt = jt(), Ot = /* @__PURE__ */ Tt(Mt);
602
- function g(t) {
603
- if (!(this instanceof g))
604
- return new g(t);
601
+ function h(t) {
602
+ if (!(this instanceof h))
603
+ return new h(t);
605
604
  t = t || [128, 36, 1], this._seed = t.length ? Ot.rack(t[0], t[1], t[2]) : t;
606
605
  }
607
- g.prototype.next = function(t) {
606
+ h.prototype.next = function(t) {
608
607
  return this._seed(t || !0);
609
608
  };
610
- g.prototype.nextPrefixed = function(t, e) {
609
+ h.prototype.nextPrefixed = function(t, e) {
611
610
  var r;
612
611
  do
613
612
  r = t + this.next(!0);
614
613
  while (this.assigned(r));
615
614
  return this.claim(r, e), r;
616
615
  };
617
- g.prototype.claim = function(t, e) {
616
+ h.prototype.claim = function(t, e) {
618
617
  this._seed.set(t, e || !0);
619
618
  };
620
- g.prototype.assigned = function(t) {
619
+ h.prototype.assigned = function(t) {
621
620
  return this._seed.get(t) || !1;
622
621
  };
623
- g.prototype.unclaim = function(t) {
622
+ h.prototype.unclaim = function(t) {
624
623
  delete this._seed.hats[t];
625
624
  };
626
- g.prototype.clear = function() {
625
+ h.prototype.clear = function() {
627
626
  var t = this._seed.hats, e;
628
627
  for (e in t)
629
628
  this.unclaim(e);
@@ -661,7 +660,7 @@ export {
661
660
  ue as F,
662
661
  se as G,
663
662
  zt as H,
664
- g as I,
663
+ h as I,
665
664
  oe as J,
666
665
  Zt as K,
667
666
  ne as L,
@@ -684,7 +683,7 @@ export {
684
683
  Rt as c,
685
684
  k as d,
686
685
  Pt as e,
687
- f,
686
+ l as f,
688
687
  tt as g,
689
688
  B as h,
690
689
  M as i,
@@ -1,4 +1,4 @@
1
- import { i as O, g as vt, a as ie, b as at, h as zt, c as N, d as je, f as I, e as st, j as oe, k as ae, s as Ai, l as Lt, t as jt, I as Ri, m as de, n as Ue, q as Je, o as $e, r as $t, p as Ge, u as Pe, v as qe, w as Rt, x as Qn, y as ln, z as Er, A as _r, B as Xe, C as gt, D as It, E as yt, F as On, G as Ci, H as ki, J as Pi, K as hn, L as An, M as Jn, N as Mi, O as Ti, P as ut, Q as Di, R as Ni, S as Bi, T as Oi, U as Ke, V as er, W as Li, X as Ii } from "./DrilldownUtil-YDYqhUHM.js";
1
+ import { i as O, g as vt, a as ie, b as at, h as zt, c as N, d as je, f as I, e as st, j as oe, k as ae, s as Ai, l as Lt, t as jt, I as Ri, m as de, n as Ue, q as Je, o as $e, r as $t, p as Ge, u as Pe, v as qe, w as Rt, x as Qn, y as ln, z as Er, A as _r, B as Xe, C as gt, D as It, E as yt, F as On, G as Ci, H as ki, J as Pi, K as hn, L as An, M as Jn, N as Mi, O as Ti, P as ut, Q as Di, R as Ni, S as Bi, T as Oi, U as Ke, V as er, W as Li, X as Ii } from "./DrilldownUtil-esP8Tbvd.js";
2
2
  var Fi = 1e3;
3
3
  function tt(e, t) {
4
4
  var n = this;
@@ -4789,7 +4789,7 @@ function qa(e) {
4789
4789
  t[n] = e[n];
4790
4790
  return t;
4791
4791
  }
4792
- var mr = Symbol("nameCache");
4792
+ var mr = /* @__PURE__ */ Symbol("nameCache");
4793
4793
  function Dn(e) {
4794
4794
  return e + "$uri";
4795
4795
  }