@ninebone/table 0.1.7 β 0.1.9
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
CHANGED
|
@@ -792,7 +792,7 @@ H = new WeakMap(), V = new WeakMap(), U = new WeakSet(), Et = /* @__PURE__ */ d(
|
|
|
792
792
|
});
|
|
793
793
|
}, "#initEvents"), d(rs, "CellSelection");
|
|
794
794
|
let Ie = rs;
|
|
795
|
-
var B, at, Nt, ie, ae, At, Rs, _t, Dt, Ot, lt,
|
|
795
|
+
var B, at, Nt, ie, ae, At, Rs, _t, Dt, Ot, lt, le, Ye, As;
|
|
796
796
|
const os = class os {
|
|
797
797
|
constructor(s) {
|
|
798
798
|
h(this, At);
|
|
@@ -862,7 +862,7 @@ const os = class os {
|
|
|
862
862
|
}), n;
|
|
863
863
|
}, "#findTargetTrsByMatrix"));
|
|
864
864
|
// π― rowSpan λ° colSpan κ²½κ³λ₯Ό λͺ¨λ μΆ©μ‘±νλ μ
μ 3λΆν μ 체 μμμμ νμ
|
|
865
|
-
h(this,
|
|
865
|
+
h(this, le, /* @__PURE__ */ d((s, e, n, r) => {
|
|
866
866
|
const a = t(this, B).querySelectorAll(
|
|
867
867
|
".ng-container-left .ng-part-body, .ng-container-body .ng-part-body, .ng-container-right .ng-part-body"
|
|
868
868
|
), o = r !== void 0 ? r : s * 1 + e;
|
|
@@ -878,8 +878,8 @@ const os = class os {
|
|
|
878
878
|
}
|
|
879
879
|
}
|
|
880
880
|
return null;
|
|
881
|
-
}, "#
|
|
882
|
-
h(this,
|
|
881
|
+
}, "#getNearElement"));
|
|
882
|
+
h(this, Ye, /* @__PURE__ */ d((s, e, n, r) => {
|
|
883
883
|
const a = r !== void 0 ? r : s * 1 + e, o = Array.from(t(this, B).querySelectorAll(
|
|
884
884
|
".ng-container-left .ng-part-body tbody tr, .ng-container-body .ng-part-body tbody tr, .ng-container-right .ng-part-body tbody tr"
|
|
885
885
|
));
|
|
@@ -892,7 +892,7 @@ const os = class os {
|
|
|
892
892
|
}
|
|
893
893
|
}
|
|
894
894
|
return null;
|
|
895
|
-
}, "#
|
|
895
|
+
}, "#getNearElement11"));
|
|
896
896
|
y(this, B, s), Y(this, At, As).call(this), q.log("π― [CellNavigation] Initialized");
|
|
897
897
|
}
|
|
898
898
|
get currentCell() {
|
|
@@ -950,7 +950,7 @@ const os = class os {
|
|
|
950
950
|
};
|
|
951
951
|
B = new WeakMap(), at = new WeakMap(), Nt = new WeakMap(), ie = new WeakMap(), ae = new WeakMap(), At = new WeakSet(), // π― μ
μ΄ λ³΄μ΄μ§ μλ μμμ μμ λ 컨ν
μ΄λ μ€ν¬λ‘€μ λκΈ°ννλ ν¨μ
|
|
952
952
|
Rs = /* @__PURE__ */ d(function(s) {
|
|
953
|
-
}, "#ensureCellVisible"), _t = new WeakMap(), Dt = new WeakMap(), Ot = new WeakMap(), lt = new WeakMap(),
|
|
953
|
+
}, "#ensureCellVisible"), _t = new WeakMap(), Dt = new WeakMap(), Ot = new WeakMap(), lt = new WeakMap(), le = new WeakMap(), Ye = new WeakMap(), As = /* @__PURE__ */ d(function() {
|
|
954
954
|
t(this, B).addEventListener("keydown", (s) => {
|
|
955
955
|
["Tab", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"].includes(s.code) && this.moveCell(s);
|
|
956
956
|
});
|