@nine-lab/nine-mu 0.1.80 → 0.1.81
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-mu.js +5 -9
- package/dist/nine-mu.js.map +1 -1
- package/dist/nine-mu.umd.js +1 -1
- package/dist/nine-mu.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/NineChat.js +1 -5
package/dist/nine-mu.js
CHANGED
|
@@ -122,11 +122,7 @@ class NineChat extends HTMLElement {
|
|
|
122
122
|
trace.log(routeUrl);
|
|
123
123
|
const res2 = await api.post("/nine-mu/source/readFile", { path: routeUrl });
|
|
124
124
|
trace.log(res2);
|
|
125
|
-
const
|
|
126
|
-
if (!r.ok) {
|
|
127
|
-
throw new Error(`HTTP error! status: ${r.status}`);
|
|
128
|
-
}
|
|
129
|
-
const asisSource = await r.json();
|
|
125
|
+
const asisSource = res2.contents;
|
|
130
126
|
trace.log(asisSource);
|
|
131
127
|
__privateSet(this, _routes, await __privateGet(this, _service).fetchRoutes(this.getAttribute("route-url")));
|
|
132
128
|
}
|
|
@@ -194,7 +190,7 @@ render_fn = function() {
|
|
|
194
190
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
195
191
|
this.shadowRoot.innerHTML = `
|
|
196
192
|
<style>
|
|
197
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
193
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.80"}/dist/css/nine-mu.css";
|
|
198
194
|
${customImport}
|
|
199
195
|
</style>
|
|
200
196
|
<div class="wrapper">
|
|
@@ -26410,7 +26406,7 @@ class NineDiff extends HTMLElement {
|
|
|
26410
26406
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
26411
26407
|
this.shadowRoot.innerHTML = `
|
|
26412
26408
|
<style>
|
|
26413
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
26409
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.80"}/dist/css/nine-mu.css";
|
|
26414
26410
|
${customImport}
|
|
26415
26411
|
</style>
|
|
26416
26412
|
|
|
@@ -26520,7 +26516,7 @@ render_fn2 = function() {
|
|
|
26520
26516
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
26521
26517
|
this.shadowRoot.innerHTML = `
|
|
26522
26518
|
<style>
|
|
26523
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
26519
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.80"}/dist/css/nine-mu.css";
|
|
26524
26520
|
${customImport}
|
|
26525
26521
|
</style>
|
|
26526
26522
|
|
|
@@ -26559,7 +26555,7 @@ handleCancel_fn = function() {
|
|
|
26559
26555
|
};
|
|
26560
26556
|
customElements.define("nine-diff-popup", NineDiffPopup);
|
|
26561
26557
|
const NineMu = {
|
|
26562
|
-
version: "0.1.
|
|
26558
|
+
version: "0.1.80",
|
|
26563
26559
|
init: (config) => {
|
|
26564
26560
|
trace.log("🛠️ Nine-Mu Engine initialized", config);
|
|
26565
26561
|
}
|