@ninebone/datagrid 0.0.9 → 0.0.10
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
|
@@ -2811,7 +2811,7 @@ var N = class {
|
|
|
2811
2811
|
let e = Array.from(this.#e.children).filter((e) => e.tagName.toUpperCase() === "TABLE"), t = this.#e.getAttribute("auto-height") === "true", n = e.length, r = e.map((e, t) => {
|
|
2812
2812
|
let r = t === 0 ? "active" : "", i = e.id || `sheet${t + 1}`;
|
|
2813
2813
|
return `<nine-table-sheet class="${r}" data-index="${t}" data-sheet-id="${i}" id="${i}"></nine-table-sheet>` + (t < n - 1 ? `<nine-splitter class="h" data-split-index="${t}"></nine-splitter>` : "");
|
|
2814
|
-
}).join(""), i = ["@import \"https://cdn.jsdelivr.net/npm/@ninebone/datagrid@0.0.
|
|
2814
|
+
}).join(""), i = ["@import \"https://cdn.jsdelivr.net/npm/@ninebone/datagrid@0.0.10/dist/css/nine-table.css\";"];
|
|
2815
2815
|
nine["nine-table"] && nine["nine-table"].cssFile && i.push(`@import "${nine["nine-table"].cssFile}";`), this.#e.shadowRoot.innerHTML = `
|
|
2816
2816
|
<style>
|
|
2817
2817
|
${i.join("\n")}
|
|
@@ -2878,7 +2878,7 @@ var N = class {
|
|
|
2878
2878
|
#n;
|
|
2879
2879
|
#r = 0;
|
|
2880
2880
|
constructor() {
|
|
2881
|
-
super(), ["NINE-TABLE"].includes(this.tagName) && n.log("Welcome nine-table", "0.0.
|
|
2881
|
+
super(), ["NINE-TABLE"].includes(this.tagName) && n.log("Welcome nine-table", "0.0.10"), this.#e = this.attachShadow({ mode: "open" }), this.#t = new o(this);
|
|
2882
2882
|
}
|
|
2883
2883
|
connectedCallback() {
|
|
2884
2884
|
setTimeout(() => {
|