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