@ninebone/table 0.1.40 → 0.1.41
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
|
@@ -3349,11 +3349,11 @@ const Qo = class Qo {
|
|
|
3349
3349
|
const e = Array.from(t(this, et).children).filter((c) => c.tagName.toUpperCase() === "TABLE"), s = t(this, et).getAttribute("auto-height") === "true", i = e.length, n = e.map((c, u) => {
|
|
3350
3350
|
const g = u === 0 ? "active" : "", f = c.id || `sheet${u + 1}`, b = `<nine-table-sheet class="${g}" data-index="${u}" data-sheet-id="${f}" id="${f}"></nine-table-sheet>`, m = u < i - 1 ? `<nine-splitter class="h" data-split-index="${u}"></nine-splitter>` : "";
|
|
3351
3351
|
return b + m;
|
|
3352
|
-
}).join(""), o = ["layout
|
|
3353
|
-
(c) => `@import "https://cdn.jsdelivr.net/npm/@ninebone/table@0.1.
|
|
3352
|
+
}).join(""), o = ["layout", "nine-table-sheet", "nine-table-vscrollbar", "nine-table-hscrollbar", "table"], l = o.map(
|
|
3353
|
+
(c) => `@import "https://cdn.jsdelivr.net/npm/@ninebone/table@0.1.41/dist/css/${c}.css";`
|
|
3354
3354
|
), a = [];
|
|
3355
3355
|
nine.cssPath && o.forEach((c) => {
|
|
3356
|
-
a.push(`@import "${nine.cssPath}/${c}";`);
|
|
3356
|
+
a.push(`@import "${nine.cssPath}/${c}.css";`);
|
|
3357
3357
|
}), t(this, et).shadowRoot.innerHTML = `
|
|
3358
3358
|
<style>
|
|
3359
3359
|
${[...l, ...a].join(`
|