@ninebone/table 0.0.119 β 0.0.120
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-table.js +61 -61
- package/dist/nine-table.js.map +1 -1
- package/dist/nine-table.umd.js +4 -4
- package/dist/nine-table.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/nine-table.js
CHANGED
|
@@ -22,8 +22,8 @@ const me = class me extends Ie.constructor {
|
|
|
22
22
|
};
|
|
23
23
|
c(me, "Trace");
|
|
24
24
|
let ce = me;
|
|
25
|
-
const
|
|
26
|
-
var I, W, p, O, z,
|
|
25
|
+
const U = new ce();
|
|
26
|
+
var I, W, p, O, z, N, G, B, J;
|
|
27
27
|
const ve = class ve extends HTMLElement {
|
|
28
28
|
constructor() {
|
|
29
29
|
super();
|
|
@@ -32,13 +32,13 @@ const ve = class ve extends HTMLElement {
|
|
|
32
32
|
f(this, p);
|
|
33
33
|
f(this, O);
|
|
34
34
|
f(this, z);
|
|
35
|
-
f(this,
|
|
36
|
-
f(this,
|
|
35
|
+
f(this, N);
|
|
36
|
+
f(this, G, /* @__PURE__ */ c(() => {
|
|
37
37
|
if (!e(this, I)) return;
|
|
38
38
|
const t = e(this, I).querySelector(".ng-container-body");
|
|
39
|
-
t && (y(this,
|
|
39
|
+
t && (y(this, N, new ResizeObserver(() => {
|
|
40
40
|
this.refresh();
|
|
41
|
-
})), e(this,
|
|
41
|
+
})), e(this, N).observe(t));
|
|
42
42
|
}, "#observeResize"));
|
|
43
43
|
v(this, "refresh", /* @__PURE__ */ c(() => {
|
|
44
44
|
if (!e(this, I) || !e(this, p) || e(this, W)) return;
|
|
@@ -67,7 +67,7 @@ const ve = class ve extends HTMLElement {
|
|
|
67
67
|
const x = a - g;
|
|
68
68
|
b > x && (b = x), o.style.left = `${b}px`, e(this, p).left.disabled = b === 0, e(this, p).right.disabled = b >= x - 1;
|
|
69
69
|
}, "refresh"));
|
|
70
|
-
f(this,
|
|
70
|
+
f(this, B, /* @__PURE__ */ c((t) => {
|
|
71
71
|
if (!e(this, p)) return !1;
|
|
72
72
|
const i = e(this, p).container, n = i.querySelector("table");
|
|
73
73
|
if (!n) return !1;
|
|
@@ -80,14 +80,14 @@ const ve = class ve extends HTMLElement {
|
|
|
80
80
|
let h = d > 0 ? -l * (g - a) / d : 0;
|
|
81
81
|
return -h > g - a && (h = -(g - a)), -h + 5 > g - a && (h = -(g - a)), a >= g && (h = 0), n.style.transform = `translateX(${h}px)`, l > 0 && l < d - 1;
|
|
82
82
|
}, "#thumbMoveTo"));
|
|
83
|
-
f(this,
|
|
83
|
+
f(this, J, /* @__PURE__ */ c(() => {
|
|
84
84
|
const t = /* @__PURE__ */ c((n) => {
|
|
85
85
|
clearInterval(e(this, O)), clearInterval(e(this, z));
|
|
86
86
|
const o = parseInt(e(this, p).thumb.style.left || 0, 10);
|
|
87
|
-
e(this,
|
|
87
|
+
e(this, B).call(this, o + n), y(this, O, setInterval(() => {
|
|
88
88
|
clearInterval(e(this, O)), y(this, z, setInterval(() => {
|
|
89
89
|
const r = parseInt(e(this, p).thumb.style.left || 0, 10);
|
|
90
|
-
e(this,
|
|
90
|
+
e(this, B).call(this, r + n) || clearInterval(e(this, z));
|
|
91
91
|
}, 50));
|
|
92
92
|
}, 500));
|
|
93
93
|
}, "delayScroll"), i = /* @__PURE__ */ c(() => {
|
|
@@ -103,14 +103,14 @@ const ve = class ve extends HTMLElement {
|
|
|
103
103
|
if (n.button !== 0) return;
|
|
104
104
|
n.preventDefault();
|
|
105
105
|
const o = e(this, p).track.getBoundingClientRect(), r = e(this, p).thumb.clientWidth;
|
|
106
|
-
e(this,
|
|
106
|
+
e(this, B).call(this, n.clientX - o.left - r / 2);
|
|
107
107
|
}), e(this, p).thumb.addEventListener("mousedown", (n) => {
|
|
108
108
|
if (n.button !== 0) return;
|
|
109
109
|
n.stopPropagation(), n.preventDefault(), y(this, W, !0), this.shiftX = n.clientX - e(this, p).thumb.getBoundingClientRect().left;
|
|
110
110
|
const o = /* @__PURE__ */ c((l) => {
|
|
111
111
|
if (!e(this, W)) return;
|
|
112
112
|
const d = e(this, p).track.getBoundingClientRect();
|
|
113
|
-
e(this,
|
|
113
|
+
e(this, B).call(this, l.clientX - d.left - this.shiftX);
|
|
114
114
|
}, "onMouseMove"), r = /* @__PURE__ */ c(() => {
|
|
115
115
|
y(this, W, !1), i(), document.removeEventListener("mousemove", o), document.removeEventListener("mouseup", r), this.refresh();
|
|
116
116
|
}, "onMouseUp");
|
|
@@ -195,21 +195,21 @@ const ve = class ve extends HTMLElement {
|
|
|
195
195
|
thumb: this.querySelector(".ng-scroll-thumb"),
|
|
196
196
|
left: this.querySelector(".ng-scroll-left"),
|
|
197
197
|
right: this.querySelector(".ng-scroll-right")
|
|
198
|
-
}), e(this,
|
|
198
|
+
}), e(this, J).call(this), e(this, G).call(this), this.refresh();
|
|
199
199
|
}, "initWhenReady");
|
|
200
200
|
t();
|
|
201
201
|
}
|
|
202
202
|
disconnectedCallback() {
|
|
203
|
-
e(this,
|
|
203
|
+
e(this, N) && e(this, N).disconnect();
|
|
204
204
|
}
|
|
205
205
|
};
|
|
206
|
-
I = new WeakMap(), W = new WeakMap(), p = new WeakMap(), O = new WeakMap(), z = new WeakMap(),
|
|
206
|
+
I = new WeakMap(), W = new WeakMap(), p = new WeakMap(), O = new WeakMap(), z = new WeakMap(), N = new WeakMap(), G = new WeakMap(), B = new WeakMap(), J = new WeakMap(), c(ve, "NineTableHScrollBar");
|
|
207
207
|
let he = ve;
|
|
208
208
|
customElements.get("nine-table-hscrollbar") || customElements.define("nine-table-hscrollbar", he);
|
|
209
|
-
var
|
|
209
|
+
var X, M, C;
|
|
210
210
|
const xe = class xe {
|
|
211
211
|
constructor(s) {
|
|
212
|
-
f(this,
|
|
212
|
+
f(this, X);
|
|
213
213
|
f(this, M, []);
|
|
214
214
|
f(this, C, null);
|
|
215
215
|
v(this, "initTemplate", /* @__PURE__ */ c((s) => {
|
|
@@ -235,16 +235,16 @@ const xe = class xe {
|
|
|
235
235
|
const a = l.offsetHeight;
|
|
236
236
|
if (a === 0)
|
|
237
237
|
throw new Error(`[RowManager] Rendered TR[${d}] height is 0. Check CSS styles.`);
|
|
238
|
-
o += a,
|
|
238
|
+
o += a, U.log(`[RowManager] Measured TR[${d}] height: ${a}px`);
|
|
239
239
|
}), y(this, C, o), console.log(`[RowManager] Template Height Cached Successfully: ${e(this, C)}px`), e(this, C);
|
|
240
240
|
}, "measureAndCacheHeight"));
|
|
241
|
-
v(this, "calculateRequiredRowCount", /* @__PURE__ */ c((s) => {
|
|
242
|
-
const t = s.clientHeight || s.getBoundingClientRect().height || 400, i = e(this, C) !== null ? e(this, C) : this.measureAndCacheHeight(s), r = Math.ceil(t / i) + 20;
|
|
243
|
-
return console.log(`[RowManager] Container Height: ${t}px | Template Height: ${i}px | Target Rows: ${r}`), r;
|
|
244
|
-
}, "calculateRequiredRowCount"));
|
|
245
241
|
/**
|
|
246
|
-
* π―
|
|
242
|
+
* π― nine-table-sheet μ 체 λμ΄λ₯Ό κΈ°μ€μΌλ‘ νμν ν κ°―μ μ°μ
|
|
247
243
|
*/
|
|
244
|
+
v(this, "calculateRequiredRowCount", /* @__PURE__ */ c((s) => {
|
|
245
|
+
const t = e(this, X) instanceof HTMLElement ? e(this, X) : s, i = t.clientHeight || t.getBoundingClientRect().height || 400, n = e(this, C) !== null ? e(this, C) : this.measureAndCacheHeight(s), l = Math.ceil(i / n) + 20;
|
|
246
|
+
return console.log(`[RowManager] NineTableSheet Height: ${i}px | Template Height: ${n}px | Target Rows: ${l}`), l;
|
|
247
|
+
}, "calculateRequiredRowCount"));
|
|
248
248
|
v(this, "renderRows", /* @__PURE__ */ c((s, t = null) => {
|
|
249
249
|
if (e(this, M).length === 0) return;
|
|
250
250
|
const i = s.querySelector("tbody.bindable") || s.querySelector("tbody");
|
|
@@ -258,16 +258,16 @@ const xe = class xe {
|
|
|
258
258
|
});
|
|
259
259
|
n ? n.before(o) : i.appendChild(o), console.log(`[RowManager] Successfully rendered. Total DOM tr count: ${i.querySelectorAll("tr:not(.nodata)").length}`);
|
|
260
260
|
}, "renderRows"));
|
|
261
|
-
y(this,
|
|
261
|
+
y(this, X, s);
|
|
262
262
|
}
|
|
263
263
|
get templateLength() {
|
|
264
264
|
return e(this, M).length || 1;
|
|
265
265
|
}
|
|
266
266
|
};
|
|
267
|
-
|
|
267
|
+
X = new WeakMap(), M = new WeakMap(), C = new WeakMap(), c(xe, "RowManager");
|
|
268
268
|
let de = xe;
|
|
269
269
|
var k, L, Q;
|
|
270
|
-
const
|
|
270
|
+
const Y = class Y extends HTMLElement {
|
|
271
271
|
constructor() {
|
|
272
272
|
super();
|
|
273
273
|
f(this, k, null);
|
|
@@ -341,7 +341,7 @@ const V = class V extends HTMLElement {
|
|
|
341
341
|
setTimeout(() => {
|
|
342
342
|
const a = this.querySelector("nine-table-hscrollbar");
|
|
343
343
|
a && typeof a.refresh == "function" && a.refresh();
|
|
344
|
-
}, 0),
|
|
344
|
+
}, 0), U.log(`NineTableSheet 3-split initialized with rows: ${this.getRowCount()}`);
|
|
345
345
|
}, "init"));
|
|
346
346
|
v(this, "getRowCount", /* @__PURE__ */ c(() => e(this, k) ? e(this, k).querySelectorAll("tbody tr").length : 0, "getRowCount"));
|
|
347
347
|
v(this, "scrollToX", /* @__PURE__ */ c((t) => {
|
|
@@ -353,7 +353,7 @@ const V = class V extends HTMLElement {
|
|
|
353
353
|
i && (i.scrollTop = t);
|
|
354
354
|
}, "scrollToY"));
|
|
355
355
|
f(this, Q, /* @__PURE__ */ c(() => {
|
|
356
|
-
const t =
|
|
356
|
+
const t = Y.SCROLLBAR_SIZE;
|
|
357
357
|
this.innerHTML = `
|
|
358
358
|
<style>
|
|
359
359
|
nine-table-sheet {
|
|
@@ -475,11 +475,11 @@ const V = class V extends HTMLElement {
|
|
|
475
475
|
e(this, Q).call(this);
|
|
476
476
|
}
|
|
477
477
|
disconnectedCallback() {
|
|
478
|
-
this.innerHTML = "",
|
|
478
|
+
this.innerHTML = "", U.log("NineTableSheet destroyed.");
|
|
479
479
|
}
|
|
480
480
|
};
|
|
481
|
-
k = new WeakMap(), L = new WeakMap(), Q = new WeakMap(), c(
|
|
482
|
-
let fe =
|
|
481
|
+
k = new WeakMap(), L = new WeakMap(), Q = new WeakMap(), c(Y, "NineTableSheet"), v(Y, "SCROLLBAR_SIZE", 16);
|
|
482
|
+
let fe = Y;
|
|
483
483
|
customElements.get("nine-table-sheet") || customElements.define("nine-table-sheet", fe);
|
|
484
484
|
var ee;
|
|
485
485
|
const Re = class Re extends HTMLElement {
|
|
@@ -544,19 +544,19 @@ const Re = class Re extends HTMLElement {
|
|
|
544
544
|
ee = new WeakMap(), c(Re, "NineTableSheets");
|
|
545
545
|
let ue = Re;
|
|
546
546
|
customElements.get("nine-table-sheets") || customElements.define("nine-table-sheets", ue);
|
|
547
|
-
var _,
|
|
547
|
+
var _, Z, te, K, se;
|
|
548
548
|
const Se = class Se {
|
|
549
549
|
constructor(s) {
|
|
550
550
|
f(this, _);
|
|
551
|
-
f(this,
|
|
551
|
+
f(this, Z, null);
|
|
552
552
|
f(this, te, /* @__PURE__ */ c(() => {
|
|
553
553
|
const s = e(this, _).host;
|
|
554
|
-
s && (y(this,
|
|
554
|
+
s && (y(this, Z, new ResizeObserver((t) => {
|
|
555
555
|
for (let i of t)
|
|
556
|
-
s.getAttribute("auto-height") === "true" && e(this,
|
|
557
|
-
})), e(this,
|
|
556
|
+
s.getAttribute("auto-height") === "true" && e(this, K).call(this, s);
|
|
557
|
+
})), e(this, Z).observe(s));
|
|
558
558
|
}, "#observeResize"));
|
|
559
|
-
f(this,
|
|
559
|
+
f(this, K, /* @__PURE__ */ c((s) => {
|
|
560
560
|
var A, E;
|
|
561
561
|
const t = (A = s.shadowRoot) == null ? void 0 : A.querySelector("nine-table-sheet.active");
|
|
562
562
|
if (!t) return;
|
|
@@ -668,45 +668,45 @@ const Se = class Se {
|
|
|
668
668
|
const l = e(this, _).querySelectorAll("nine-table-sheet");
|
|
669
669
|
l == null || l.forEach((d, a) => {
|
|
670
670
|
i[a] && setTimeout(() => {
|
|
671
|
-
d.init(i[a]), n && e(this,
|
|
671
|
+
d.init(i[a]), n && e(this, K).call(this, s);
|
|
672
672
|
});
|
|
673
673
|
});
|
|
674
674
|
}, "#render"));
|
|
675
675
|
y(this, _, s), e(this, se).call(this), e(this, te).call(this);
|
|
676
676
|
}
|
|
677
677
|
};
|
|
678
|
-
_ = new WeakMap(),
|
|
678
|
+
_ = new WeakMap(), Z = new WeakMap(), te = new WeakMap(), K = new WeakMap(), se = new WeakMap(), c(Se, "LayoutManager");
|
|
679
679
|
let be = Se;
|
|
680
|
-
var $,
|
|
680
|
+
var $, D;
|
|
681
681
|
const Ee = class Ee {
|
|
682
682
|
constructor(s) {
|
|
683
683
|
f(this, $);
|
|
684
|
-
f(this,
|
|
684
|
+
f(this, D, -1);
|
|
685
685
|
v(this, "count", /* @__PURE__ */ c(() => e(this, $).rawRecords.length, "count"));
|
|
686
686
|
y(this, $, s);
|
|
687
687
|
}
|
|
688
688
|
get at() {
|
|
689
|
-
return e(this,
|
|
689
|
+
return e(this, D);
|
|
690
690
|
}
|
|
691
691
|
set at(s) {
|
|
692
692
|
var i, n;
|
|
693
|
-
y(this,
|
|
693
|
+
y(this, D, parseInt(s, 10));
|
|
694
694
|
const t = ((n = (i = e(this, $).owner).querySelector) == null ? void 0 : n.call(i, ".ng-container-body")) || e(this, $).owner.body;
|
|
695
|
-
t && !t.querySelector(`tbody.bindable tr[data-row="${e(this,
|
|
695
|
+
t && !t.querySelector(`tbody.bindable tr[data-row="${e(this, D)}"]`) && setTimeout(() => {
|
|
696
696
|
var o, r;
|
|
697
|
-
(r = (o = e(this, $).owner).scrollTo_V1) == null || r.call(o, e(this,
|
|
697
|
+
(r = (o = e(this, $).owner).scrollTo_V1) == null || r.call(o, e(this, D));
|
|
698
698
|
});
|
|
699
699
|
}
|
|
700
700
|
};
|
|
701
|
-
$ = new WeakMap(),
|
|
701
|
+
$ = new WeakMap(), D = new WeakMap(), c(Ee, "ngRow");
|
|
702
702
|
let ge = Ee;
|
|
703
|
-
var S, m, q,
|
|
703
|
+
var S, m, q, F, ie, H, ne, j, re, oe, V;
|
|
704
704
|
const T = class T {
|
|
705
705
|
constructor(s, t) {
|
|
706
706
|
f(this, S);
|
|
707
707
|
f(this, m);
|
|
708
708
|
f(this, q, []);
|
|
709
|
-
f(this,
|
|
709
|
+
f(this, F, []);
|
|
710
710
|
f(this, ie, 0);
|
|
711
711
|
f(this, H, []);
|
|
712
712
|
f(this, ne, /* @__PURE__ */ c(() => {
|
|
@@ -716,13 +716,13 @@ const T = class T {
|
|
|
716
716
|
var i;
|
|
717
717
|
e(this, H).push(((i = t.getBoundingClientRect) == null ? void 0 : i.call(t).height) || 24);
|
|
718
718
|
}), (e(this, m).rawRecords || []).forEach((t) => {
|
|
719
|
-
t.__ng || (t.__ng = e(this,
|
|
719
|
+
t.__ng || (t.__ng = e(this, j).call(this)), t.__ng.height = e(this, H).slice();
|
|
720
720
|
});
|
|
721
721
|
}, "#initialize"));
|
|
722
722
|
v(this, "set", /* @__PURE__ */ c((s) => {
|
|
723
723
|
this.clear(), this.add(s, !1);
|
|
724
724
|
}, "set"));
|
|
725
|
-
f(this,
|
|
725
|
+
f(this, j, /* @__PURE__ */ c(() => ({
|
|
726
726
|
rowState: T.ROW_STATE.EMPTY,
|
|
727
727
|
deleted: !1,
|
|
728
728
|
filtered: !1,
|
|
@@ -732,11 +732,11 @@ const T = class T {
|
|
|
732
732
|
_: [0, 0, 0, 0, T.ROW_STATE.EMPTY, !1, !1, !0, !1, !0, !0, !1, e(this, H).slice(), -1, {}, {}]
|
|
733
733
|
}), "#getDefaultMeta"));
|
|
734
734
|
v(this, "reset", /* @__PURE__ */ c(() => {
|
|
735
|
-
y(this, q, []), y(this,
|
|
735
|
+
y(this, q, []), y(this, F, []);
|
|
736
736
|
}, "reset"));
|
|
737
737
|
v(this, "clear", /* @__PURE__ */ c(() => {
|
|
738
738
|
var s;
|
|
739
|
-
e(this, m).rawRecords = [], y(this, q, []), y(this,
|
|
739
|
+
e(this, m).rawRecords = [], y(this, q, []), y(this, F, []), (s = e(this, m).viewRecords) != null && s.reset && e(this, m).viewRecords.reset();
|
|
740
740
|
}, "clear"));
|
|
741
741
|
f(this, re, /* @__PURE__ */ c((s) => {
|
|
742
742
|
var n;
|
|
@@ -750,7 +750,7 @@ const T = class T {
|
|
|
750
750
|
}), i;
|
|
751
751
|
}, "#json2Array"));
|
|
752
752
|
f(this, oe, /* @__PURE__ */ c((s) => (Array.isArray(s) || (s = [s]), s.forEach((t) => {
|
|
753
|
-
t.__ng = e(this,
|
|
753
|
+
t.__ng = e(this, j).call(this), t.__ng.rowid = this.nextId, t.__ng.rowState = T.ROW_STATE.INSERT, t.__ng._[0] = t.__ng.rowid;
|
|
754
754
|
}), s), "#defaultInsert"));
|
|
755
755
|
v(this, "add", /* @__PURE__ */ c((s, t = !0) => {
|
|
756
756
|
var o;
|
|
@@ -786,14 +786,14 @@ const T = class T {
|
|
|
786
786
|
l !== i && r.__ng.rowState !== T.ROW_STATE.INSERT && (r.__ng.o.hasOwnProperty(t) || (r.__ng.o[t] = l), r.__ng.rowState = T.ROW_STATE.UPDATE), r.v[o] = i, e(this, m).owner.refreshData && e(this, m).owner.refreshData(s);
|
|
787
787
|
}, "setValue"));
|
|
788
788
|
v(this, "resetRecords", /* @__PURE__ */ c(() => {
|
|
789
|
-
y(this,
|
|
789
|
+
y(this, F, e(this, m).rawRecords.filter((s) => !s.__ng.deleted)), y(this, q, e(this, m).rawRecords.filter((s) => !s.__ng.deleted && !s.__ng.filtered)), e(this, m).rawRecords.forEach((s, t) => {
|
|
790
790
|
s.__ng.rowidx = t;
|
|
791
791
|
}), e(this, q).forEach((s, t) => {
|
|
792
792
|
s.__ng.i = t;
|
|
793
793
|
});
|
|
794
794
|
}, "resetRecords"));
|
|
795
795
|
v(this, "getValidData", /* @__PURE__ */ c(() => (e(this, q).length === 0 && e(this, m).rawRecords.length > 0 && this.resetRecords(), e(this, q)), "getValidData"));
|
|
796
|
-
f(this,
|
|
796
|
+
f(this, V, /* @__PURE__ */ c((s) => {
|
|
797
797
|
var i;
|
|
798
798
|
if (!s) return s;
|
|
799
799
|
const t = typeof ((i = e(this, S).fields) == null ? void 0 : i.get) == "function" ? e(this, S).fields.get() : [];
|
|
@@ -809,19 +809,19 @@ const T = class T {
|
|
|
809
809
|
var o;
|
|
810
810
|
const i = this.getValidData();
|
|
811
811
|
if (!i || i.length <= 0) return;
|
|
812
|
-
if (s == null) return e(this,
|
|
812
|
+
if (s == null) return e(this, V).call(this, i);
|
|
813
813
|
if (s < 0 || s >= i.length) return null;
|
|
814
814
|
const n = typeof ((o = e(this, S).fields) == null ? void 0 : o.get) == "function" ? e(this, S).fields.get() : [];
|
|
815
815
|
if (t != null) {
|
|
816
816
|
const r = n.indexOf(t);
|
|
817
817
|
return r >= 0 ? i[s].v[r] : null;
|
|
818
818
|
}
|
|
819
|
-
return e(this,
|
|
819
|
+
return e(this, V).call(this, i[s]);
|
|
820
820
|
}, "get"));
|
|
821
821
|
y(this, S, s), y(this, m, t), e(this, ne).call(this);
|
|
822
822
|
}
|
|
823
823
|
get source() {
|
|
824
|
-
return e(this,
|
|
824
|
+
return e(this, V).call(this, e(this, m).rawRecords);
|
|
825
825
|
}
|
|
826
826
|
set source(s) {
|
|
827
827
|
this.clear(), this.add(s, !1);
|
|
@@ -830,7 +830,7 @@ const T = class T {
|
|
|
830
830
|
return ++Le(this, ie)._;
|
|
831
831
|
}
|
|
832
832
|
};
|
|
833
|
-
S = new WeakMap(), m = new WeakMap(), q = new WeakMap(),
|
|
833
|
+
S = new WeakMap(), m = new WeakMap(), q = new WeakMap(), F = new WeakMap(), ie = new WeakMap(), H = new WeakMap(), ne = new WeakMap(), j = new WeakMap(), re = new WeakMap(), oe = new WeakMap(), V = new WeakMap(), c(T, "ngData"), // π― ν μν μ μ μμλ₯Ό ν΄λμ€ λ΄λΆλ‘ λ΄μ¬ν
|
|
834
834
|
v(T, "ROW_STATE", {
|
|
835
835
|
EMPTY: "EMPTY",
|
|
836
836
|
NORMAL: "NORMAL",
|
|
@@ -870,10 +870,10 @@ const qe = class qe extends HTMLElement {
|
|
|
870
870
|
this.attachShadow({ mode: "open" }), y(this, P, new ye(this));
|
|
871
871
|
}
|
|
872
872
|
connectedCallback() {
|
|
873
|
-
y(this, le, new be(this.shadowRoot)),
|
|
873
|
+
y(this, le, new be(this.shadowRoot)), U.log("NineTable connected."), this.dispatchEvent(new CustomEvent("load", { bubbles: !0, detail: { target: this } }));
|
|
874
874
|
}
|
|
875
875
|
disconnectedCallback() {
|
|
876
|
-
|
|
876
|
+
U.log("NineTable disconnected.");
|
|
877
877
|
}
|
|
878
878
|
// π― μΈλΆμμ grid.data.set(...) ννλ‘ μ κ·Όν μ μλλ‘ λ°μ΄ν° λ§€λμ μ€ν
|
|
879
879
|
get data() {
|