@nine-lab/nine-mu 0.1.43 → 0.1.45
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 +6 -11
- 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 +2 -10
package/dist/nine-mu.js
CHANGED
|
@@ -106,13 +106,8 @@ class NineChat extends HTMLElement {
|
|
|
106
106
|
__privateAdd(this, _service, null);
|
|
107
107
|
__privateAdd(this, _routes, []);
|
|
108
108
|
__privateAdd(this, _diffPopup);
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
* @param {Object} params - { asis, tobe, lang }
|
|
112
|
-
* @returns {Promise<string|null>} - 확정 시 소스코드, 취소 시 null
|
|
113
|
-
*/
|
|
114
|
-
__publicField(this, "showDiff", async ({ asis, tobe, lang }) => {
|
|
115
|
-
return await __privateGet(this, _diffPopup).popup().data(asis, tobe, lang).wait();
|
|
109
|
+
__publicField(this, "showDiff", (asis, tobe, lang) => {
|
|
110
|
+
__privateGet(this, _diffPopup).popup().data(asis, tobe, lang);
|
|
116
111
|
});
|
|
117
112
|
this.attachShadow({ mode: "open" });
|
|
118
113
|
}
|
|
@@ -188,7 +183,7 @@ render_fn = function() {
|
|
|
188
183
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
189
184
|
this.shadowRoot.innerHTML = `
|
|
190
185
|
<style>
|
|
191
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
186
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.44"}/dist/css/nine-mu.css";
|
|
192
187
|
${customImport}
|
|
193
188
|
</style>
|
|
194
189
|
<div class="wrapper">
|
|
@@ -26401,7 +26396,7 @@ class NineDiff extends HTMLElement {
|
|
|
26401
26396
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
26402
26397
|
this.shadowRoot.innerHTML = `
|
|
26403
26398
|
<style>
|
|
26404
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
26399
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.44"}/dist/css/nine-mu.css";
|
|
26405
26400
|
${customImport}
|
|
26406
26401
|
</style>
|
|
26407
26402
|
|
|
@@ -26466,7 +26461,7 @@ class NineDiffPopup extends HTMLElement {
|
|
|
26466
26461
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
26467
26462
|
this.shadowRoot.innerHTML = `
|
|
26468
26463
|
<style>
|
|
26469
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
26464
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.44"}/dist/css/nine-mu.css";
|
|
26470
26465
|
${customImport}
|
|
26471
26466
|
</style>
|
|
26472
26467
|
|
|
@@ -26647,7 +26642,7 @@ if (!customElements.get("nine-dialog")) {
|
|
|
26647
26642
|
customElements.define("nine-dialog", NineDialog);
|
|
26648
26643
|
}
|
|
26649
26644
|
const NineMu = {
|
|
26650
|
-
version: "0.1.
|
|
26645
|
+
version: "0.1.44",
|
|
26651
26646
|
init: (config) => {
|
|
26652
26647
|
trace.log("🛠️ Nine-Mu Engine initialized", config);
|
|
26653
26648
|
}
|