@ninebone/grid 0.0.54 → 0.0.55
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 +86 -85
- package/dist/nine-grid.js.map +1 -1
- package/dist/nine-grid.umd.js +13 -13
- package/dist/nine-grid.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/nine-grid.js
CHANGED
|
@@ -1718,12 +1718,12 @@ class Zu extends ki {
|
|
|
1718
1718
|
}
|
|
1719
1719
|
Bi = new WeakMap(), Fi = new WeakMap(), go = new WeakMap(), qi = new WeakMap(), Hi = new WeakMap();
|
|
1720
1720
|
customElements.get("ng-checkbox") || customElements.define("ng-checkbox", Zu);
|
|
1721
|
-
var Qs,
|
|
1721
|
+
var Qs, Dr, bo, zi, yo, rh;
|
|
1722
1722
|
class Ju extends HTMLElement {
|
|
1723
1723
|
constructor() {
|
|
1724
1724
|
super();
|
|
1725
1725
|
Y(this, Qs);
|
|
1726
|
-
Y(this,
|
|
1726
|
+
Y(this, Dr);
|
|
1727
1727
|
Y(this, bo);
|
|
1728
1728
|
Y(this, zi);
|
|
1729
1729
|
Y(this, yo, (t) => {
|
|
@@ -1731,15 +1731,15 @@ class Ju extends HTMLElement {
|
|
|
1731
1731
|
});
|
|
1732
1732
|
it(this, "expand", () => {
|
|
1733
1733
|
if (H.j.querySelectorAll(this).hasClass("expand")) return;
|
|
1734
|
-
$(this).addClass("expand"), f(this,
|
|
1735
|
-
const t = parseInt(f(this,
|
|
1734
|
+
$(this).addClass("expand"), f(this, Dr).style.color = f(this, bo);
|
|
1735
|
+
const t = parseInt(f(this, Dr).dataset.col), l = f(this, Dr).colSpan || 1;
|
|
1736
1736
|
for (var c = 0; c < l; c++)
|
|
1737
1737
|
f(this, Qs).columns.width(t + c, f(this, zi)[c]);
|
|
1738
1738
|
});
|
|
1739
1739
|
Y(this, rh, () => {
|
|
1740
1740
|
if (!H.j.querySelectorAll(this).hasClass("expand")) return;
|
|
1741
|
-
$(this).removeClass("expand"), tt(this, bo, f(this,
|
|
1742
|
-
const t = parseInt(f(this,
|
|
1741
|
+
$(this).removeClass("expand"), tt(this, bo, f(this, Dr).style.color), f(this, Dr).style.color = "transparent", tt(this, zi, []);
|
|
1742
|
+
const t = parseInt(f(this, Dr).dataset.col), l = f(this, Dr).colSpan || 1, c = 20 / l;
|
|
1743
1743
|
for (var o = 0; o < l; o++) {
|
|
1744
1744
|
const r = f(this, Qs).body.querySelector(`colgroup col[data-col="${t + o}"]`);
|
|
1745
1745
|
f(this, zi).push(r.getAttribute("width")), f(this, Qs).columns.width(t + o, c);
|
|
@@ -1753,10 +1753,10 @@ class Ju extends HTMLElement {
|
|
|
1753
1753
|
@import "https://cdn.jsdelivr.net/npm/ninegrid2@${H.version}/dist/css/ngColExpand.css";
|
|
1754
1754
|
${H.getCustomPath(this, "ngColExpand.css")}
|
|
1755
1755
|
</style>
|
|
1756
|
-
`, tt(this, Qs, this.getRootNode().host), tt(this,
|
|
1756
|
+
`, tt(this, Qs, this.getRootNode().host), tt(this, Dr, this.closest("th,td")), H.j.querySelectorAll(this).addClass("expand"), $(this).off("click", f(this, yo)), $(this).on("click", f(this, yo));
|
|
1757
1757
|
}
|
|
1758
1758
|
}
|
|
1759
|
-
Qs = new WeakMap(),
|
|
1759
|
+
Qs = new WeakMap(), Dr = new WeakMap(), bo = new WeakMap(), zi = new WeakMap(), yo = new WeakMap(), rh = new WeakMap();
|
|
1760
1760
|
customElements.get("ng-col-expand") || customElements.define("ng-col-expand", Ju);
|
|
1761
1761
|
class Qu extends HTMLElement {
|
|
1762
1762
|
constructor() {
|
|
@@ -1834,16 +1834,16 @@ class td extends HTMLElement {
|
|
|
1834
1834
|
}
|
|
1835
1835
|
customElements.get("ng-col-mover-grip") || customElements.define("ng-col-mover-grip", Qu);
|
|
1836
1836
|
customElements.get("ng-col-mover-indi") || customElements.define("ng-col-mover-indi", td);
|
|
1837
|
-
var we, Nr,
|
|
1837
|
+
var we, Nr, Br, vo, xr, Ui, Fr, wo, lu, xo, hu, _o, So, Vi, Wi, ko;
|
|
1838
1838
|
class ed {
|
|
1839
1839
|
constructor(C) {
|
|
1840
1840
|
Y(this, we);
|
|
1841
1841
|
Y(this, Nr);
|
|
1842
|
-
Y(this,
|
|
1842
|
+
Y(this, Br);
|
|
1843
1843
|
Y(this, vo);
|
|
1844
1844
|
Y(this, xr);
|
|
1845
1845
|
Y(this, Ui);
|
|
1846
|
-
Y(this,
|
|
1846
|
+
Y(this, Fr);
|
|
1847
1847
|
it(this, "resetEvent", () => {
|
|
1848
1848
|
$(document).off("mouseup", f(this, Vi)), $(".ng-table thead", f(this, we).body).off("mousedown", f(this, _o)), f(this, we).body.querySelectorAll(".ng-table thead").forEach((C) => {
|
|
1849
1849
|
C.removeEventListener("click", f(this, wo));
|
|
@@ -1921,39 +1921,39 @@ class ed {
|
|
|
1921
1921
|
const c = f(this, Nr)[0].shadowRoot.querySelector("span");
|
|
1922
1922
|
c.innerHTML = $(C.target).html(), $(c).css({ font: $(l).css("font") }), f(this, Nr).show(), f(this, Nr).width($(l).width()), f(this, Nr).height($(l).height()), f(this, Nr).offset({ top: $(l).offset().top - 1 }), $(document).on("mousemove", f(this, Wi)), f(this, ko).call(this, C.pageX);
|
|
1923
1923
|
const o = f(this, we).tableUtils.getElement("thead", f(this, xr).row, C.clientX);
|
|
1924
|
-
f(this,
|
|
1924
|
+
f(this, Br).height($(o).height());
|
|
1925
1925
|
});
|
|
1926
1926
|
Y(this, Vi, (C) => {
|
|
1927
|
-
if (tt(this, Ui, !1), $(document).off("mousemove", f(this, Wi)), $(document).off("touchmove", f(this, xo)), f(this,
|
|
1927
|
+
if (tt(this, Ui, !1), $(document).off("mousemove", f(this, Wi)), $(document).off("touchmove", f(this, xo)), f(this, Fr) && $(f(this, Fr).target).css({ cursor: f(this, Fr).cursor }), f(this, xr)) {
|
|
1928
1928
|
var t = f(this, we).tableUtils.getElement("thead", f(this, xr).row, C.clientX);
|
|
1929
1929
|
f(this, we).columns.moveColumn(f(this, xr).target, t);
|
|
1930
1930
|
}
|
|
1931
|
-
tt(this,
|
|
1931
|
+
tt(this, Fr, null), tt(this, xr, null), f(this, Nr).hide(), f(this, Br).hide();
|
|
1932
1932
|
});
|
|
1933
1933
|
Y(this, Wi, (C) => {
|
|
1934
1934
|
if (f(this, xr) != null) {
|
|
1935
|
-
f(this,
|
|
1935
|
+
f(this, Fr) && $(f(this, Fr).target).css({ cursor: f(this, Fr).cursor }), tt(this, Fr, { target: C.target, cursor: $(C.target).css("cursor") }), $(C.target).css({ cursor: C.target.closest("thead") || C.target.tagName == "ng-col-mover-grip" ? "move" : "not-allowed" });
|
|
1936
1936
|
var t = f(this, we).tableUtils.getElement("thead", f(this, xr).row, C.clientX);
|
|
1937
1937
|
if (t)
|
|
1938
1938
|
if (f(this, xr).col > parseInt(t.dataset.col)) {
|
|
1939
1939
|
var l = $(t).offset();
|
|
1940
|
-
f(this,
|
|
1940
|
+
f(this, Br).show(), f(this, Br).offset({ left: parseInt(l.left - 1), top: l.top });
|
|
1941
1941
|
} else if (f(this, xr).col < parseInt(t.dataset.col)) {
|
|
1942
1942
|
var l = $(t).offset();
|
|
1943
|
-
f(this,
|
|
1943
|
+
f(this, Br).show(), f(this, Br).offset({ left: parseInt(l.left + $(t).width() - 1), top: l.top });
|
|
1944
1944
|
} else
|
|
1945
|
-
f(this,
|
|
1945
|
+
f(this, Br).hide();
|
|
1946
1946
|
f(this, ko).call(this, C.pageX);
|
|
1947
1947
|
}
|
|
1948
1948
|
});
|
|
1949
1949
|
Y(this, ko, (C) => {
|
|
1950
1950
|
f(this, Nr).offset({ left: C - f(this, vo) });
|
|
1951
1951
|
});
|
|
1952
|
-
tt(this, we, C), $(".ng-container", f(this, we).body).append($("<ng-col-mover-grip></ng-col-mover-grip>").hide()).append($("<ng-col-mover-indi></ng-col-mover-indi>").hide()), tt(this, Nr, $("ng-col-mover-grip", f(this, we).body)), tt(this,
|
|
1952
|
+
tt(this, we, C), $(".ng-container", f(this, we).body).append($("<ng-col-mover-grip></ng-col-mover-grip>").hide()).append($("<ng-col-mover-indi></ng-col-mover-indi>").hide()), tt(this, Nr, $("ng-col-mover-grip", f(this, we).body)), tt(this, Br, $("ng-col-mover-indi", f(this, we).body)), this.resetEvent();
|
|
1953
1953
|
}
|
|
1954
1954
|
}
|
|
1955
|
-
we = new WeakMap(), Nr = new WeakMap(),
|
|
1956
|
-
var Ie, _r, Sr, Rs, Ms,
|
|
1955
|
+
we = new WeakMap(), Nr = new WeakMap(), Br = new WeakMap(), vo = new WeakMap(), xr = new WeakMap(), Ui = new WeakMap(), Fr = new WeakMap(), wo = new WeakMap(), lu = new WeakMap(), xo = new WeakMap(), hu = new WeakMap(), _o = new WeakMap(), So = new WeakMap(), Vi = new WeakMap(), Wi = new WeakMap(), ko = new WeakMap();
|
|
1956
|
+
var Ie, _r, Sr, Rs, Ms, qr, kr, Is, Ns, Co, Eo, Ao, cu, To, sh, Ro, Xi, Yi, Gi, ti, Ki, ih;
|
|
1957
1957
|
class rd {
|
|
1958
1958
|
constructor(C) {
|
|
1959
1959
|
Y(this, Ie);
|
|
@@ -1961,7 +1961,7 @@ class rd {
|
|
|
1961
1961
|
Y(this, Sr);
|
|
1962
1962
|
Y(this, Rs);
|
|
1963
1963
|
Y(this, Ms);
|
|
1964
|
-
Y(this,
|
|
1964
|
+
Y(this, qr);
|
|
1965
1965
|
Y(this, kr);
|
|
1966
1966
|
Y(this, Is);
|
|
1967
1967
|
Y(this, Ns, []);
|
|
@@ -2022,11 +2022,11 @@ class rd {
|
|
|
2022
2022
|
if (C.target = C.target.closest("th,td"), !(C.buttons != 1 || C.altKey || C.ctrlKey || C.shiftkey)) {
|
|
2023
2023
|
if (tt(this, Is, !!C.target.closest(".ng-container-right")), C.pageX - $(C.target).offset().left <= 3) {
|
|
2024
2024
|
var t = $(`.col-indicator[data-col=${C.target.dataset.col}]`, f(this, Ie).body).not(".dummy")[0];
|
|
2025
|
-
tt(this,
|
|
2025
|
+
tt(this, qr, f(this, Ie).tableUtils.prev(t)), tt(this, kr, $(t));
|
|
2026
2026
|
} else {
|
|
2027
2027
|
if ($(C.target).width() - C.offsetX > 2) return;
|
|
2028
2028
|
var l = parseInt(C.target.dataset.col) + C.target.colSpan - 1, t = $(`.col-indicator[data-col=${l}]`, f(this, Ie).body).not(".dummy")[0];
|
|
2029
|
-
tt(this,
|
|
2029
|
+
tt(this, qr, $(t)), tt(this, kr, f(this, Ie).tableUtils.next(t));
|
|
2030
2030
|
}
|
|
2031
2031
|
f(this, _r).show(), f(this, Sr).offset({ top: $(".ng-container-body", f(this, Ie).body).offset().top, left: f(this, kr).offset().left - 1 }), f(this, Sr).height(f(this, Ie).body.querySelector(".ng-container-body").offsetHeight), f(this, Rs).offset({ top: $(".ng-container-body", f(this, Ie).body).offset().top }), f(this, Ki).call(this, C.pageX), $(f(this, _r)).off("mousemove", f(this, Yi)).off("mouseup", f(this, ti)).on("mousemove", f(this, Yi)).on("mouseup", f(this, ti));
|
|
2032
2032
|
}
|
|
@@ -2043,14 +2043,14 @@ class rd {
|
|
|
2043
2043
|
Y(this, ti, (C) => {
|
|
2044
2044
|
if (!f(this, Sr).is(":visible")) return;
|
|
2045
2045
|
var t;
|
|
2046
|
-
f(this, Is) ? t = f(this, kr).offset().left - f(this, Sr).offset().left + f(this, kr).width() : t = f(this, Sr).offset().left - f(this,
|
|
2047
|
-
const l = f(this, Is) ? f(this, kr)[0].dataset.col : f(this,
|
|
2046
|
+
f(this, Is) ? t = f(this, kr).offset().left - f(this, Sr).offset().left + f(this, kr).width() : t = f(this, Sr).offset().left - f(this, qr).offset().left + 1, t <= 1 && (t = 0);
|
|
2047
|
+
const l = f(this, Is) ? f(this, kr)[0].dataset.col : f(this, qr)[0].dataset.col;
|
|
2048
2048
|
f(this, Ie).columns.width(l, t), $(f(this, _r)).off("mousemove", f(this, Yi)), $(f(this, _r)).off("mouseup", f(this, ti)), f(this, _r).hide();
|
|
2049
2049
|
});
|
|
2050
2050
|
Y(this, Ki, (C) => {
|
|
2051
|
-
!f(this, Is) && C < f(this,
|
|
2051
|
+
!f(this, Is) && C < f(this, qr).offset().left && (C = f(this, qr).offset().left), f(this, Sr).offset({ left: C });
|
|
2052
2052
|
var t = parseInt(f(this, Sr).offset().left), l, c, o;
|
|
2053
|
-
f(this, Is) ? (c = f(this, kr).width() + f(this, kr).offset().left - f(this, Sr).offset().left, o = c < 10 ? 10 : c - 1, l = parseInt(f(this, kr).width() + f(this, kr).offset().left - f(this, Sr).offset().left)) : (c = parseInt(t - f(this,
|
|
2053
|
+
f(this, Is) ? (c = f(this, kr).width() + f(this, kr).offset().left - f(this, Sr).offset().left, o = c < 10 ? 10 : c - 1, l = parseInt(f(this, kr).width() + f(this, kr).offset().left - f(this, Sr).offset().left)) : (c = parseInt(t - f(this, qr).offset().left), o = c, l = parseInt(t - f(this, qr).offset().left + 1), t = t - o), l <= 1 && (l = 0), f(this, Rs).offset({ left: t }), f(this, Rs).width(o), f(this, Rs).find("span").text(l);
|
|
2054
2054
|
});
|
|
2055
2055
|
Y(this, ih, (C) => {
|
|
2056
2056
|
var t = C.target.closest("th,td"), l = f(this, Ie).tableUtils.prev(t), c = f(this, Ie).tableUtils.next(t), o = f(this, Ie).getBand(t.dataset.col) == H.BAND.RIGHT ? C.offsetX <= 2 ? $(t) : c : C.offsetX <= 2 ? l : $(t);
|
|
@@ -2059,7 +2059,7 @@ class rd {
|
|
|
2059
2059
|
tt(this, Ie, C), tt(this, _r, $('<div class="resizer-col-panel"><div class="grip"></div><div class="tooltip"><div></div><span></span><div></div></div></div>').hide()), $(f(this, Ie).body).append(f(this, _r)), tt(this, Sr, f(this, _r).find(".grip")), tt(this, Rs, f(this, _r).find(".tooltip")), this.resetEvent();
|
|
2060
2060
|
}
|
|
2061
2061
|
}
|
|
2062
|
-
Ie = new WeakMap(), _r = new WeakMap(), Sr = new WeakMap(), Rs = new WeakMap(), Ms = new WeakMap(),
|
|
2062
|
+
Ie = new WeakMap(), _r = new WeakMap(), Sr = new WeakMap(), Rs = new WeakMap(), Ms = new WeakMap(), qr = new WeakMap(), kr = new WeakMap(), Is = new WeakMap(), Ns = new WeakMap(), Co = new WeakMap(), Eo = new WeakMap(), Ao = new WeakMap(), cu = new WeakMap(), To = new WeakMap(), sh = new WeakMap(), Ro = new WeakMap(), Xi = new WeakMap(), Yi = new WeakMap(), Gi = new WeakMap(), ti = new WeakMap(), Ki = new WeakMap(), ih = new WeakMap();
|
|
2063
2063
|
var ue, ei, Or, Zi, Mo, nh;
|
|
2064
2064
|
class sd {
|
|
2065
2065
|
constructor(C) {
|
|
@@ -2605,7 +2605,7 @@ class ad extends HTMLElement {
|
|
|
2605
2605
|
}
|
|
2606
2606
|
Po = new WeakMap(), bh = new WeakMap();
|
|
2607
2607
|
customElements.get("ng-context-menu-panel") || customElements.define("ng-context-menu-panel", ad);
|
|
2608
|
-
var
|
|
2608
|
+
var Hr, Do, yh, vh, wh;
|
|
2609
2609
|
class ld {
|
|
2610
2610
|
/**
|
|
2611
2611
|
* focus event, keyboard event, mouse event : common.js
|
|
@@ -2614,37 +2614,37 @@ class ld {
|
|
|
2614
2614
|
* ninegrid.EVENT.ROW_POS_CHANGED, ninegrid.EVENT.CELL_POS_CHANGED : ngCellManager.js
|
|
2615
2615
|
*/
|
|
2616
2616
|
constructor(C) {
|
|
2617
|
-
Y(this,
|
|
2617
|
+
Y(this, Hr);
|
|
2618
2618
|
Y(this, Do, () => {
|
|
2619
|
-
$(".ng-table tbody", f(this,
|
|
2619
|
+
$(".ng-table tbody", f(this, Hr).shadowRoot).on("click", "th,td", f(this, yh)), $(".ng-table thead", f(this, Hr).shadowRoot).on("click", "th,td", f(this, vh)), $(".ng-table tfoot", f(this, Hr).shadowRoot).on("click", "th,td", f(this, wh));
|
|
2620
2620
|
});
|
|
2621
2621
|
Y(this, yh, (C) => {
|
|
2622
2622
|
if (![1, 2].includes(C.detail)) return;
|
|
2623
2623
|
const t = ["altKey", "ctrlKey", "shiftKey", "clientX", "clientY", "offsetX", "offsetY", "pageX", "pageY", "screenX", "screenY", "button", "buttons", "whitch"], l = C.target.closest("th,td"), c = C.detail == 1 ? H.EVENT.CELL_CLICK : H.EVENT.CELL_DBL_CLICK, o = new CustomEvent(c, { bubbles: !0, composed: !0, detail: { target: l } });
|
|
2624
|
-
o.col = l.dataset.col, o.row = l.dataset.row, o.subrow = parseInt(l.dataset.matrixRow) % parseInt(l.dataset.row), o.bind = l.dataset.bind, H.copyProperty(o, C, t), f(this,
|
|
2624
|
+
o.col = l.dataset.col, o.row = l.dataset.row, o.subrow = parseInt(l.dataset.matrixRow) % parseInt(l.dataset.row), o.bind = l.dataset.bind, H.copyProperty(o, C, t), f(this, Hr).dispatchEvent(o);
|
|
2625
2625
|
});
|
|
2626
2626
|
Y(this, vh, (C) => {
|
|
2627
2627
|
if (![1, 2].includes(C.detail)) return;
|
|
2628
2628
|
const t = ["altKey", "ctrlKey", "shiftKey", "clientX", "clientY", "offsetX", "offsetY", "pageX", "pageY", "screenX", "screenY", "button", "buttons", "whitch"], l = C.target.closest("th,td"), c = C.detail == 1 ? H.EVENT.HEADCELL_CLICK : H.EVENT.HEADCELL_DBL_CLICK, o = new CustomEvent(c, { bubbles: !0, composed: !0, detail: { target: l } });
|
|
2629
|
-
o.col = l.dataset.col, H.copyProperty(o, C, t), f(this,
|
|
2629
|
+
o.col = l.dataset.col, H.copyProperty(o, C, t), f(this, Hr).dispatchEvent(o);
|
|
2630
2630
|
});
|
|
2631
2631
|
Y(this, wh, (C) => {
|
|
2632
2632
|
if (![1, 2].includes(C.detail)) return;
|
|
2633
2633
|
const t = ["altKey", "ctrlKey", "shiftKey", "clientX", "clientY", "offsetX", "offsetY", "pageX", "pageY", "screenX", "screenY", "button", "buttons", "whitch"], l = C.target.closest("th,td"), c = C.detail == 1 ? H.EVENT.FOOTCELL_CLICK : H.EVENT.FOOTCELL_DBL_CLICK, o = new CustomEvent(c, { bubbles: !0, composed: !0, detail: { target: l } });
|
|
2634
|
-
o.col = l.dataset.col, H.copyProperty(o, C, t), f(this,
|
|
2634
|
+
o.col = l.dataset.col, H.copyProperty(o, C, t), f(this, Hr).dispatchEvent(o);
|
|
2635
2635
|
});
|
|
2636
|
-
tt(this,
|
|
2636
|
+
tt(this, Hr, C), f(this, Do).call(this), f(this, Hr).addEventListener(H.EVENT.LAYOUT_CHANGED, (t) => {
|
|
2637
2637
|
f(this, Do).call(this);
|
|
2638
2638
|
});
|
|
2639
2639
|
}
|
|
2640
2640
|
}
|
|
2641
|
-
|
|
2641
|
+
Hr = new WeakMap(), Do = new WeakMap(), yh = new WeakMap(), vh = new WeakMap(), wh = new WeakMap();
|
|
2642
2642
|
class hd extends Fu.constructor {
|
|
2643
2643
|
constructor() {
|
|
2644
2644
|
super(), this.init("nine-grid", "green");
|
|
2645
2645
|
}
|
|
2646
2646
|
}
|
|
2647
|
-
const
|
|
2647
|
+
const Lr = new hd();
|
|
2648
2648
|
var Yr, Bo, hs;
|
|
2649
2649
|
class cd {
|
|
2650
2650
|
constructor(C) {
|
|
@@ -2684,7 +2684,7 @@ class ud {
|
|
|
2684
2684
|
});
|
|
2685
2685
|
});
|
|
2686
2686
|
it(this, "set", (C) => {
|
|
2687
|
-
|
|
2687
|
+
Lr.log("ngData.set"), this.clear(), this.add(C, !1);
|
|
2688
2688
|
const t = () => {
|
|
2689
2689
|
var l, c, o, r;
|
|
2690
2690
|
(c = (l = f(this, Dt)) == null ? void 0 : l.owner) != null && c.matrix ? (r = (o = f(this, Dt)) == null ? void 0 : o.owner) == null || r.matrix.updateCumulativeHeights() : setTimeout(t, 50);
|
|
@@ -3199,7 +3199,7 @@ class ud {
|
|
|
3199
3199
|
return this.conv2(f(this, Dt).rawRecords);
|
|
3200
3200
|
}
|
|
3201
3201
|
set source(C) {
|
|
3202
|
-
this.clear(), this.add(C, !1),
|
|
3202
|
+
this.clear(), this.add(C, !1), Lr.log("ngData.source", C);
|
|
3203
3203
|
const t = () => {
|
|
3204
3204
|
var l, c, o, r;
|
|
3205
3205
|
(c = (l = f(this, Dt)) == null ? void 0 : l.owner) != null && c.matrix ? (r = (o = f(this, Dt)) == null ? void 0 : o.owner) == null || r.matrix.updateCumulativeHeights() : setTimeout(t, 50);
|
|
@@ -3271,7 +3271,7 @@ He = new WeakMap(), Dt = new WeakMap(), $e = new WeakMap(), Cr = new WeakMap(),
|
|
|
3271
3271
|
class dd {
|
|
3272
3272
|
constructor(C) {
|
|
3273
3273
|
this.owner = C, this.row = new cd(this), this.data = new ud(C, this), this.setDataSource = (l) => {
|
|
3274
|
-
|
|
3274
|
+
Lr.log(l), this.data && this.data.reset(), this.pageCnt = 25, this.rawRecords = [], this.viewRecords = [], this.delRecords = [], this.viewRecords.touch = () => {
|
|
3275
3275
|
this.viewRecords.updateCnt = (this.viewRecords.updateCnt || 0) + 1;
|
|
3276
3276
|
}, this.viewRecords.rawIndex = 0, this.viewRecords.setPageCnt = (c) => {
|
|
3277
3277
|
this.pageCnt = c;
|
|
@@ -21674,8 +21674,8 @@ function bd() {
|
|
|
21674
21674
|
return st === pt || (st == null || pt == null || !le(st) && !Fe(pt) ? st != st && pt != pt : (function(Et, Rt, fe, oe, he, Jt) {
|
|
21675
21675
|
var ke = Zt(Et), Ce = Zt(Rt), Re = "[object Array]", De = "[object Array]";
|
|
21676
21676
|
ke || (Re = (Re = me(Et)) == r ? s : Re), Ce || (De = (De = me(Rt)) == r ? s : De);
|
|
21677
|
-
var Qe = Re == s && !q(Et), hr = De == s && !q(Rt),
|
|
21678
|
-
if (
|
|
21677
|
+
var Qe = Re == s && !q(Et), hr = De == s && !q(Rt), Pr = Re == De;
|
|
21678
|
+
if (Pr && !Qe) return Jt || (Jt = new Ht()), ke || Xe(Et) ? Me(Et, Rt, fe, oe, he, Jt) : (function(Ee, be, _s, Zs, Nl, vr, os) {
|
|
21679
21679
|
switch (_s) {
|
|
21680
21680
|
case "[object DataView]":
|
|
21681
21681
|
if (Ee.byteLength != be.byteLength || Ee.byteOffset != be.byteOffset) return !1;
|
|
@@ -21713,7 +21713,7 @@ function bd() {
|
|
|
21713
21713
|
return Jt || (Jt = new Ht()), fe(Ei, Ai, oe, he, Jt);
|
|
21714
21714
|
}
|
|
21715
21715
|
}
|
|
21716
|
-
return
|
|
21716
|
+
return Pr ? (Jt || (Jt = new Ht()), (function(Ee, be, _s, Zs, Nl, vr) {
|
|
21717
21717
|
var os = 2 & Nl, Ss = Ye(Ee), Wn = Ss.length, Ol = Ye(be).length;
|
|
21718
21718
|
if (Wn != Ol && !os) return !1;
|
|
21719
21719
|
for (var Ti = Wn; Ti--; ) {
|
|
@@ -21787,8 +21787,8 @@ function bd() {
|
|
|
21787
21787
|
if (Ce[2]) {
|
|
21788
21788
|
if (De === void 0 && !(Re in Rt)) return !1;
|
|
21789
21789
|
} else {
|
|
21790
|
-
var hr = new Ht(),
|
|
21791
|
-
if (!(
|
|
21790
|
+
var hr = new Ht(), Pr;
|
|
21791
|
+
if (!(Pr === void 0 ? _e(Qe, De, he, 3, hr) : Pr)) return !1;
|
|
21792
21792
|
}
|
|
21793
21793
|
}
|
|
21794
21794
|
return !0;
|
|
@@ -21827,8 +21827,8 @@ function bd() {
|
|
|
21827
21827
|
break;
|
|
21828
21828
|
}
|
|
21829
21829
|
if (Ce) {
|
|
21830
|
-
if (!W(pt, (function(hr,
|
|
21831
|
-
if (!Ce.has(
|
|
21830
|
+
if (!W(pt, (function(hr, Pr) {
|
|
21831
|
+
if (!Ce.has(Pr) && (Re === hr || wt(Re, hr, _t, Bt, Et))) return Ce.add(Pr);
|
|
21832
21832
|
}))) {
|
|
21833
21833
|
ke = !1;
|
|
21834
21834
|
break;
|
|
@@ -22125,8 +22125,8 @@ function bd() {
|
|
|
22125
22125
|
var hr = Ce[Qe];
|
|
22126
22126
|
if (!(ke ? hr in Rt : w.call(Rt, hr))) return !1;
|
|
22127
22127
|
}
|
|
22128
|
-
var
|
|
22129
|
-
if (
|
|
22128
|
+
var Pr = Jt.get(Et);
|
|
22129
|
+
if (Pr && Jt.get(Rt)) return Pr == Rt;
|
|
22130
22130
|
var Ks = !0;
|
|
22131
22131
|
Jt.set(Et, Rt), Jt.set(Rt, Et);
|
|
22132
22132
|
for (var Ci = ke; ++Qe < Re; ) {
|
|
@@ -26774,13 +26774,13 @@ class _d extends HTMLElement {
|
|
|
26774
26774
|
}
|
|
26775
26775
|
}
|
|
26776
26776
|
kh = new WeakMap();
|
|
26777
|
-
var dn, us,
|
|
26777
|
+
var dn, us, zr, ds, Ch;
|
|
26778
26778
|
class Sd extends HTMLElement {
|
|
26779
26779
|
constructor() {
|
|
26780
26780
|
super();
|
|
26781
26781
|
Y(this, dn);
|
|
26782
26782
|
Y(this, us);
|
|
26783
|
-
Y(this,
|
|
26783
|
+
Y(this, zr);
|
|
26784
26784
|
Y(this, ds);
|
|
26785
26785
|
it(this, "add", (t) => {
|
|
26786
26786
|
f(this, us).push(...t);
|
|
@@ -26788,13 +26788,13 @@ class Sd extends HTMLElement {
|
|
|
26788
26788
|
for (const c of f(this, us)) {
|
|
26789
26789
|
l++;
|
|
26790
26790
|
const o = c.querySelector("caption"), r = o ? o.innerHTML : `Sheet${l}`;
|
|
26791
|
-
$(f(this,
|
|
26791
|
+
$(f(this, zr)).append(`<button class="ng-button" value="${l - 1}" title="${r.replaceAll('"', "'")}">${r}</button>`);
|
|
26792
26792
|
}
|
|
26793
|
-
f(this, us).length <= 1 && $(f(this,
|
|
26793
|
+
f(this, us).length <= 1 && $(f(this, zr)).hide(), H.j.querySelectorAll(f(this, zr).querySelector("button")).addClass("ng-active"), $("button", f(this, zr)).on("click", f(this, Ch));
|
|
26794
26794
|
});
|
|
26795
26795
|
it(this, "resize", () => {
|
|
26796
|
-
const t = $(f(this,
|
|
26797
|
-
$(f(this,
|
|
26796
|
+
const t = $(f(this, zr)).width() > $(this).width();
|
|
26797
|
+
$(f(this, zr)).css({
|
|
26798
26798
|
width: t ? "100%" : "unset",
|
|
26799
26799
|
"justify-content": t ? "space-evenly" : "unset"
|
|
26800
26800
|
});
|
|
@@ -26802,14 +26802,14 @@ class Sd extends HTMLElement {
|
|
|
26802
26802
|
Y(this, Ch, (t) => {
|
|
26803
26803
|
if (H.j.querySelectorAll(t.currentTarget).hasClass("ng-active")) return;
|
|
26804
26804
|
const l = f(this, ds);
|
|
26805
|
-
tt(this, ds, parseInt(t.currentTarget.value)), f(this, dn).changeRayout(f(this, ds)), H.j.querySelectorAll("button", f(this,
|
|
26805
|
+
tt(this, ds, parseInt(t.currentTarget.value)), f(this, dn).changeRayout(f(this, ds)), H.j.querySelectorAll("button", f(this, zr)).removeClass("ng-active"), H.j.querySelectorAll(t.currentTarget).addClass("ng-active");
|
|
26806
26806
|
var c = new CustomEvent(H.EVENT.LAYOUT_CHANGED, { bubbles: !0, detail: {} });
|
|
26807
26807
|
c.oldIndex = l, c.newIndex = f(this, ds), f(this, dn).dispatchEvent(c);
|
|
26808
26808
|
});
|
|
26809
26809
|
tt(this, us, []), tt(this, ds, 0);
|
|
26810
26810
|
}
|
|
26811
26811
|
connectedCallback() {
|
|
26812
|
-
tt(this, dn, this.getRootNode().host.getRootNode().host), this.innerHTML = '<div class="ng-wrap"></div>', tt(this,
|
|
26812
|
+
tt(this, dn, this.getRootNode().host.getRootNode().host), this.innerHTML = '<div class="ng-wrap"></div>', tt(this, zr, this.querySelector(".ng-wrap"));
|
|
26813
26813
|
}
|
|
26814
26814
|
get tables() {
|
|
26815
26815
|
return f(this, us);
|
|
@@ -26818,7 +26818,7 @@ class Sd extends HTMLElement {
|
|
|
26818
26818
|
return f(this, us)[f(this, ds)];
|
|
26819
26819
|
}
|
|
26820
26820
|
}
|
|
26821
|
-
dn = new WeakMap(), us = new WeakMap(),
|
|
26821
|
+
dn = new WeakMap(), us = new WeakMap(), zr = new WeakMap(), ds = new WeakMap(), Ch = new WeakMap();
|
|
26822
26822
|
customElements.get("ng-layout") || customElements.define("ng-layout", Sd);
|
|
26823
26823
|
customElements.get("ng-foot") || customElements.define("ng-foot", _d);
|
|
26824
26824
|
var Jo;
|
|
@@ -27303,18 +27303,18 @@ class Ld extends ki {
|
|
|
27303
27303
|
}
|
|
27304
27304
|
Kr = new WeakMap(), ai = new WeakMap(), $h = new WeakMap();
|
|
27305
27305
|
customElements.get("ng-input-date") || customElements.define("ng-input-date", Ld);
|
|
27306
|
-
var Ke, fs,
|
|
27306
|
+
var Ke, fs, Ur, Ps, gn, Zr, Lh;
|
|
27307
27307
|
class Pd extends ki {
|
|
27308
27308
|
constructor() {
|
|
27309
27309
|
super();
|
|
27310
27310
|
Y(this, Ke);
|
|
27311
27311
|
Y(this, fs);
|
|
27312
|
-
Y(this,
|
|
27312
|
+
Y(this, Ur);
|
|
27313
27313
|
Y(this, Ps);
|
|
27314
27314
|
Y(this, gn);
|
|
27315
27315
|
Y(this, Zr);
|
|
27316
27316
|
it(this, "dataRefresh", (t) => {
|
|
27317
|
-
f(this, Ke).value = this.value, H.j.querySelectorAll(f(this, Ke)).removeClass("invalid"), f(this, fs) == "number" && (isNaN(this.value) || f(this, gn) && Number(f(this, Ke).value) > Number(f(this, gn)) || f(this, Ps) && Number(f(this, Ke).value) < Number(f(this, Ps)) ? H.j.querySelectorAll(f(this, Ke)).addClass("invalid") : f(this, Zr) && f(this, Ke).value.indexOf(".") >= 0 && f(this, Ke).value.substring(f(this, Ke).value.indexOf(".") + 1).length > Number(f(this, Zr)) && H.j.querySelectorAll(f(this, Ke)).addClass("invalid")), f(this,
|
|
27317
|
+
f(this, Ke).value = this.value, H.j.querySelectorAll(f(this, Ke)).removeClass("invalid"), f(this, fs) == "number" && (isNaN(this.value) || f(this, gn) && Number(f(this, Ke).value) > Number(f(this, gn)) || f(this, Ps) && Number(f(this, Ke).value) < Number(f(this, Ps)) ? H.j.querySelectorAll(f(this, Ke)).addClass("invalid") : f(this, Zr) && f(this, Ke).value.indexOf(".") >= 0 && f(this, Ke).value.substring(f(this, Ke).value.indexOf(".") + 1).length > Number(f(this, Zr)) && H.j.querySelectorAll(f(this, Ke)).addClass("invalid")), f(this, Ur) && H.getByteLength(this.value) > Number(f(this, Ur)) && H.j.querySelectorAll(f(this, Ke)).addClass("invalid"), t || this.reset();
|
|
27318
27318
|
});
|
|
27319
27319
|
Y(this, Lh, (t) => {
|
|
27320
27320
|
if (!["Escape", "Enter", "Tab", "Home", "End", "ArrowLeft", "ArrowRight", "PageUp", "PageDown", "Backspace", "Delete"].includes(t.code)) {
|
|
@@ -27328,10 +27328,10 @@ class Pd extends ki {
|
|
|
27328
27328
|
}
|
|
27329
27329
|
}
|
|
27330
27330
|
}
|
|
27331
|
-
f(this,
|
|
27331
|
+
f(this, Ur) && H.getByteLength(t.target.value) >= Number(f(this, Ur)) && t.target.selectionStart == t.target.selectionEnd && t.preventDefault();
|
|
27332
27332
|
}
|
|
27333
27333
|
});
|
|
27334
|
-
if (tt(this, fs, this.getAttribute("type") || "text"), tt(this,
|
|
27334
|
+
if (tt(this, fs, this.getAttribute("type") || "text"), tt(this, Ur, this.getAttribute("maxbyte")), tt(this, Ps, this.getAttribute("min")), tt(this, gn, this.getAttribute("max")), tt(this, Zr, this.getAttribute("scale")), !["text", "number"].includes(f(this, fs))) throw `invalid type : ${f(this, fs)}`;
|
|
27335
27335
|
}
|
|
27336
27336
|
connectedCallback() {
|
|
27337
27337
|
for (var t = [], l = 0; l < this.attributes.length; l++)
|
|
@@ -27347,7 +27347,7 @@ class Pd extends ki {
|
|
|
27347
27347
|
ondragstart="return false;"
|
|
27348
27348
|
>
|
|
27349
27349
|
`, super.connectedCallback(), tt(this, Ke, this.shadowRoot.querySelector("input")), f(this, Ke).addEventListener("keydown", f(this, Lh)), f(this, Ke).addEventListener("compositionstart", (c) => {
|
|
27350
|
-
c.target.selectionStart == c.target.selectionEnd && f(this,
|
|
27350
|
+
c.target.selectionStart == c.target.selectionEnd && f(this, Ur) && H.getByteLength(c.target.value) >= Number(f(this, Ur)) && (c.target.value = H.cut(c.target.value, Number(f(this, Ur))), this.value = c.target.value);
|
|
27351
27351
|
}), f(this, Ke).addEventListener("compositionupdate", (c) => {
|
|
27352
27352
|
f(this, fs) == "number" && (c.target.value = c.target.value.replace(c.data, ""));
|
|
27353
27353
|
}), f(this, Ke).addEventListener("compositionend", (c) => {
|
|
@@ -27356,7 +27356,7 @@ class Pd extends ki {
|
|
|
27356
27356
|
});
|
|
27357
27357
|
}
|
|
27358
27358
|
}
|
|
27359
|
-
Ke = new WeakMap(), fs = new WeakMap(),
|
|
27359
|
+
Ke = new WeakMap(), fs = new WeakMap(), Ur = new WeakMap(), Ps = new WeakMap(), gn = new WeakMap(), Zr = new WeakMap(), Lh = new WeakMap();
|
|
27360
27360
|
customElements.get("ng-input") || customElements.define("ng-input", Pd);
|
|
27361
27361
|
var Se, li, bn, yn, vn, hi, ci;
|
|
27362
27362
|
class Dd {
|
|
@@ -27431,7 +27431,7 @@ class Dd {
|
|
|
27431
27431
|
}
|
|
27432
27432
|
// 1. 누적 높이 배열 갱신 (데이터가 로드되거나 변경될 때 호출 필요)
|
|
27433
27433
|
updateCumulativeHeights() {
|
|
27434
|
-
|
|
27434
|
+
Lr.log("***********************====================="), Lr.log(f(this, Se).data), tt(this, hi, [0]);
|
|
27435
27435
|
let C = 0;
|
|
27436
27436
|
const t = f(this, Se).data.count();
|
|
27437
27437
|
for (let l = 0; l < t; l++) {
|
|
@@ -27440,7 +27440,7 @@ class Dd {
|
|
|
27440
27440
|
c += this.getHeight(l * f(this, Se).template.length + o);
|
|
27441
27441
|
C += c, f(this, hi).push(C);
|
|
27442
27442
|
}
|
|
27443
|
-
|
|
27443
|
+
Lr.log(f(this, hi));
|
|
27444
27444
|
}
|
|
27445
27445
|
// 2. 스크롤 위치에 따른 행 인덱스 및 오프셋 조회 (이진 탐색)
|
|
27446
27446
|
getRowInfoAt(C) {
|
|
@@ -27454,6 +27454,7 @@ class Dd {
|
|
|
27454
27454
|
let n = Math.floor((l + c) / 2);
|
|
27455
27455
|
t[n] <= C ? (o = n, l = n + 1) : c = n - 1;
|
|
27456
27456
|
}
|
|
27457
|
+
Lr.log(o);
|
|
27457
27458
|
const r = t[o];
|
|
27458
27459
|
return {
|
|
27459
27460
|
index: o,
|
|
@@ -28618,7 +28619,7 @@ class tf extends HTMLElement {
|
|
|
28618
28619
|
const a = f(this, qt).body.querySelector(".ng-container-body tbody.bindable");
|
|
28619
28620
|
a && (a.style.transform = `translateY(-${u}px)`);
|
|
28620
28621
|
}
|
|
28621
|
-
|
|
28622
|
+
Lr.log("#thumb_onMouseMove", i, u, e);
|
|
28622
28623
|
}
|
|
28623
28624
|
});
|
|
28624
28625
|
Y(this, kn, () => parseInt(f(this, ge).thumb.dataset.height));
|
|
@@ -28644,15 +28645,15 @@ class tf extends HTMLElement {
|
|
|
28644
28645
|
}
|
|
28645
28646
|
}
|
|
28646
28647
|
qt = new WeakMap(), rs = new WeakMap(), ge = new WeakMap(), gr = new WeakMap(), br = new WeakMap(), _n = new WeakMap(), Jh = new WeakMap(), Qh = new WeakMap(), va = new WeakMap(), tc = new WeakMap(), wa = new WeakMap(), xa = new WeakMap(), Sn = new WeakMap(), kn = new WeakMap();
|
|
28647
|
-
var Ze, ms, ae,
|
|
28648
|
+
var Ze, ms, ae, Vr, Wr, Hs, ec, _a, rc, Sa, sc, ka, Ca, Cn;
|
|
28648
28649
|
class ef extends HTMLElement {
|
|
28649
28650
|
constructor() {
|
|
28650
28651
|
super();
|
|
28651
28652
|
Y(this, Ze);
|
|
28652
28653
|
Y(this, ms);
|
|
28653
28654
|
Y(this, ae);
|
|
28654
|
-
Y(this, Ur);
|
|
28655
28655
|
Y(this, Vr);
|
|
28656
|
+
Y(this, Wr);
|
|
28656
28657
|
it(this, "refresh", () => {
|
|
28657
28658
|
if (f(this, Ze)) {
|
|
28658
28659
|
var t = $(".ng-container-body", f(this, Ze).body), l = $("table", t), c = $(".ng-scroll-track", this.shadowRoot), o = $(".ng-scroll-thumb", this.shadowRoot);
|
|
@@ -28684,17 +28685,17 @@ class ef extends HTMLElement {
|
|
|
28684
28685
|
});
|
|
28685
28686
|
Y(this, ec, () => {
|
|
28686
28687
|
var t = (l) => {
|
|
28687
|
-
clearInterval(f(this,
|
|
28688
|
+
clearInterval(f(this, Vr)), clearInterval(f(this, Wr));
|
|
28688
28689
|
var c = f(this, ae).track.getBoundingClientRect(), o = f(this, ae).thumb.getBoundingClientRect();
|
|
28689
|
-
f(this, Hs).call(this, o.x - c.x + l), tt(this,
|
|
28690
|
-
clearInterval(f(this,
|
|
28690
|
+
f(this, Hs).call(this, o.x - c.x + l), tt(this, Vr, setInterval(() => {
|
|
28691
|
+
clearInterval(f(this, Vr)), tt(this, Wr, setInterval(() => {
|
|
28691
28692
|
var r = f(this, ae).thumb.getBoundingClientRect();
|
|
28692
|
-
f(this, Hs).call(this, r.x - c.x + l) || clearInterval(f(this,
|
|
28693
|
+
f(this, Hs).call(this, r.x - c.x + l) || clearInterval(f(this, Wr));
|
|
28693
28694
|
}, 10));
|
|
28694
28695
|
}, 500));
|
|
28695
28696
|
};
|
|
28696
28697
|
f(this, ae).left.ontouchend = f(this, ae).right.ontouchend = f(this, ae).track.ontouchend = f(this, ae).left.onmouseup = f(this, ae).left.onmouseleave = f(this, ae).right.onmouseup = f(this, ae).right.onmouseleave = f(this, ae).track.onmouseup, f(this, ae).track.onmouseleave = (l) => {
|
|
28697
|
-
clearInterval(f(this,
|
|
28698
|
+
clearInterval(f(this, Vr)), clearInterval(f(this, Wr));
|
|
28698
28699
|
}, $(f(this, ae).left).on("mousedown", (l) => {
|
|
28699
28700
|
l.buttons != 1 || l.altKey || l.ctrlKey || l.shiftKey || t(-10);
|
|
28700
28701
|
}), $(f(this, ae).right).on("mousedown", (l) => {
|
|
@@ -28704,9 +28705,9 @@ class ef extends HTMLElement {
|
|
|
28704
28705
|
}), $(f(this, ae).right).on("touchstart", (l) => {
|
|
28705
28706
|
t(10);
|
|
28706
28707
|
}), $(f(this, ae).track).on("mousedown", f(this, Sa)), $(f(this, ae).track).on("touchstart", f(this, rc)), $(f(this, ae).thumb).on("mousedown", f(this, ka)), $(f(this, ae).thumb).on("touchstart", f(this, sc)), document.addEventListener("touchend", (l) => {
|
|
28707
|
-
tt(this, ms, !1), clearInterval(f(this,
|
|
28708
|
+
tt(this, ms, !1), clearInterval(f(this, Vr)), clearInterval(f(this, Wr)), $(document).off("touchmove", f(this, Ca)), typeof this.onDragStop == "function" && this.onDragStop();
|
|
28708
28709
|
}), document.addEventListener("mouseup", (l) => {
|
|
28709
|
-
tt(this, ms, !1), clearInterval(f(this,
|
|
28710
|
+
tt(this, ms, !1), clearInterval(f(this, Vr)), clearInterval(f(this, Wr)), document.removeEventListener("mousemove", f(this, Cn)), typeof this.onDragStop == "function" && this.onDragStop();
|
|
28710
28711
|
});
|
|
28711
28712
|
});
|
|
28712
28713
|
Y(this, _a, (t) => {
|
|
@@ -28723,10 +28724,10 @@ class ef extends HTMLElement {
|
|
|
28723
28724
|
t.offsetX = t.targetTouches[0].pageX - l.left, t.offsetY = t.targetTouches[0].pageY - l.top, t.pageX = t.changedTouches[0].pageX, t.pageY = t.changedTouches[0].pageY, t.clientX = t.changedTouches[0].clientX, t.clientY = t.changedTouches[0].clientY, t.buttons = 1, f(this, Sa).call(this, t);
|
|
28724
28725
|
});
|
|
28725
28726
|
Y(this, Sa, (t) => {
|
|
28726
|
-
f(this, ms) || t.buttons != 1 || t.altKey || t.ctrlKey || t.shiftKey || (t.preventDefault(), f(this, _a).call(this, t.clientX), tt(this,
|
|
28727
|
-
clearInterval(f(this,
|
|
28727
|
+
f(this, ms) || t.buttons != 1 || t.altKey || t.ctrlKey || t.shiftKey || (t.preventDefault(), f(this, _a).call(this, t.clientX), tt(this, Vr, setInterval(() => {
|
|
28728
|
+
clearInterval(f(this, Vr)), tt(this, Wr, setInterval(() => {
|
|
28728
28729
|
var l = f(this, ae).thumb.getBoundingClientRect();
|
|
28729
|
-
t.clientX > l.x && t.clientX < l.x + l.width ? clearInterval(f(this,
|
|
28730
|
+
t.clientX > l.x && t.clientX < l.x + l.width ? clearInterval(f(this, Wr)) : f(this, _a).call(this, t.clientX);
|
|
28730
28731
|
}, 10));
|
|
28731
28732
|
}, 500)));
|
|
28732
28733
|
});
|
|
@@ -28767,7 +28768,7 @@ class ef extends HTMLElement {
|
|
|
28767
28768
|
}), f(this, ms), this.shiftX, f(this, ec).call(this);
|
|
28768
28769
|
}
|
|
28769
28770
|
}
|
|
28770
|
-
Ze = new WeakMap(), ms = new WeakMap(), ae = new WeakMap(),
|
|
28771
|
+
Ze = new WeakMap(), ms = new WeakMap(), ae = new WeakMap(), Vr = new WeakMap(), Wr = new WeakMap(), Hs = new WeakMap(), ec = new WeakMap(), _a = new WeakMap(), rc = new WeakMap(), Sa = new WeakMap(), sc = new WeakMap(), ka = new WeakMap(), Ca = new WeakMap(), Cn = new WeakMap();
|
|
28771
28772
|
customElements.get("ng-hscrollbar") || customElements.define("ng-hscrollbar", ef);
|
|
28772
28773
|
customElements.get("ng-vscrollbar") || customElements.define("ng-vscrollbar", tf);
|
|
28773
28774
|
var Ue, ss, Ea, Aa, Ta, ic, nc;
|
|
@@ -29990,8 +29991,8 @@ class Qc extends HTMLElement {
|
|
|
29990
29991
|
});
|
|
29991
29992
|
});
|
|
29992
29993
|
Y(this, Sc, () => {
|
|
29993
|
-
if (
|
|
29994
|
-
|
|
29994
|
+
if (Lr.log("1111111"), f(this, Ga)) return;
|
|
29995
|
+
Lr.log("222222"), this.originFormat = this.outerHTML, this.uuid = H.randomUUID(), this.id || (this.id = this.uuid), $("table", this).each((r, n) => {
|
|
29995
29996
|
if ($("colgroup", n).length == 0) {
|
|
29996
29997
|
var s = 0;
|
|
29997
29998
|
$("tbody tr", n).eq(0).find("th,td").each((i, u) => {
|
|
@@ -30065,7 +30066,7 @@ class Qc extends HTMLElement {
|
|
|
30065
30066
|
["columns"].includes(c) && (this[c] = this.tableUtils[c]);
|
|
30066
30067
|
for (var c in this.cell)
|
|
30067
30068
|
this.cell[c] instanceof Function && !["refresh"].includes(c) || ["xx"].includes(c) && (this[c] = this.cell[c]);
|
|
30068
|
-
H.j.querySelectorAll(this).hasClass("simple") || (this.filtering = new cf(this)), !H.j.querySelectorAll(this).hasClass("combo") && !H.j.querySelectorAll(this).hasClass("filter") && $(this.shadowRoot).append($("<ng-combo-panel></ng-combo-panel").hide()), this.sorting = new rf(this), this.matrix = new Dd(this),
|
|
30069
|
+
H.j.querySelectorAll(this).hasClass("simple") || (this.filtering = new cf(this)), !H.j.querySelectorAll(this).hasClass("combo") && !H.j.querySelectorAll(this).hasClass("filter") && $(this.shadowRoot).append($("<ng-combo-panel></ng-combo-panel").hide()), this.sorting = new rf(this), this.matrix = new Dd(this), Lr.log("==============================="), Lr.log(this, this.matrix), tt(this, vi, new rd(this)), tt(this, Ka, new ed(this)), H.j.querySelectorAll(this).hasClass("simple") || tt(this, Tn, new Xd(this)), f(this, Qa).call(this), this.refresh(), this.body.querySelector(".ng-container-body .nodata") && new ResizeObserver((r, n) => {
|
|
30069
30070
|
this.body.querySelector("ng-vscrollbar").refresh();
|
|
30070
30071
|
}).observe(this.body.querySelector(".ng-container-body .nodata")), !H.j.querySelectorAll(this).hasClass("filter") && !H.j.querySelectorAll(this).hasClass("combo") && ($(this.body).on("mousedown", (r) => {
|
|
30071
30072
|
this.shadowRoot.querySelectorAll("ng-combo-panel,ng-filter-panel,ng-context-menu-panel").forEach((n) => {
|