@ninebone/util 1.0.54 → 1.0.56
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-util.js +6 -2
- package/dist/nine-util.js.map +1 -1
- package/dist/nine-util.umd.js +1 -1
- package/dist/nine-util.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/nine-util.js
CHANGED
|
@@ -17,7 +17,8 @@ const _initialConfig = {
|
|
|
17
17
|
ux: { nativeOverride: false, theme: "light" },
|
|
18
18
|
board: { readOnly: false },
|
|
19
19
|
cssPath: "",
|
|
20
|
-
debug: false
|
|
20
|
+
debug: false,
|
|
21
|
+
table: { cssFile: null }
|
|
21
22
|
};
|
|
22
23
|
if (typeof window !== "undefined" && !window.__NINE_GLOBAL_CONFIG__) {
|
|
23
24
|
window.__NINE_GLOBAL_CONFIG__ = _initialConfig;
|
|
@@ -45,6 +46,9 @@ const nine$1 = {
|
|
|
45
46
|
get cssPath() {
|
|
46
47
|
return this.config.cssPath || "";
|
|
47
48
|
},
|
|
49
|
+
get table() {
|
|
50
|
+
return this.config.table;
|
|
51
|
+
},
|
|
48
52
|
setup(options = {}) {
|
|
49
53
|
Object.entries(options).forEach(([key, value]) => {
|
|
50
54
|
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
@@ -1338,7 +1342,7 @@ class NineSplitter extends HTMLElement {
|
|
|
1338
1342
|
const htmlTmpl = document.createElement("template");
|
|
1339
1343
|
htmlTmpl.innerHTML = `
|
|
1340
1344
|
<style>
|
|
1341
|
-
@import "https://cdn.jsdelivr.net/npm/@ninebone/util@${"1.0.
|
|
1345
|
+
@import "https://cdn.jsdelivr.net/npm/@ninebone/util@${"1.0.56"}/dist/css/nine-util.css";
|
|
1342
1346
|
${customImport}
|
|
1343
1347
|
</style>
|
|
1344
1348
|
${gripTmpl}
|