@nine-lab/nine-mu 0.1.151 → 0.1.152
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 +8 -24
- package/dist/nine-mu.js.map +1 -1
- package/dist/nine-mu.umd.js +3 -3
- package/dist/nine-mu.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ChatMessage.js +4 -20
package/dist/nine-mu.js
CHANGED
|
@@ -13811,7 +13811,7 @@ render_fn = function() {
|
|
|
13811
13811
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
13812
13812
|
this.shadowRoot.innerHTML = `
|
|
13813
13813
|
<style>
|
|
13814
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
13814
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.151"}/dist/css/nine-mu.css";
|
|
13815
13815
|
${customImport}
|
|
13816
13816
|
</style>
|
|
13817
13817
|
<div class="wrapper">
|
|
@@ -40029,7 +40029,7 @@ class NineDiff extends HTMLElement {
|
|
|
40029
40029
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
40030
40030
|
this.shadowRoot.innerHTML = `
|
|
40031
40031
|
<style>
|
|
40032
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
40032
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.151"}/dist/css/nine-mu.css";
|
|
40033
40033
|
${customImport}
|
|
40034
40034
|
</style>
|
|
40035
40035
|
|
|
@@ -40139,7 +40139,7 @@ render_fn2 = function() {
|
|
|
40139
40139
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
40140
40140
|
this.shadowRoot.innerHTML = `
|
|
40141
40141
|
<style>
|
|
40142
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
40142
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.151"}/dist/css/nine-mu.css";
|
|
40143
40143
|
${customImport}
|
|
40144
40144
|
</style>
|
|
40145
40145
|
|
|
@@ -40237,10 +40237,7 @@ class aiMessage extends HTMLElement {
|
|
|
40237
40237
|
connectedCallback() {
|
|
40238
40238
|
__privateSet(this, _message, this.getAttribute("message"));
|
|
40239
40239
|
this.shadowRoot.innerHTML = `
|
|
40240
|
-
|
|
40241
|
-
@import "https://cdn.jsdelivr.net/npm/ninegrid2@${ninegrid.version}/dist/css/ai.css";
|
|
40242
|
-
${ninegrid.getCustomPath(this, "ai.css")}
|
|
40243
|
-
</style>
|
|
40240
|
+
|
|
40244
40241
|
|
|
40245
40242
|
<div class="chat-message">
|
|
40246
40243
|
<div class="message"></div>
|
|
@@ -40317,10 +40314,6 @@ class aiIngMessage extends HTMLElement {
|
|
|
40317
40314
|
connectedCallback() {
|
|
40318
40315
|
__privateSet(this, _message2, ".");
|
|
40319
40316
|
this.shadowRoot.innerHTML = `
|
|
40320
|
-
<style>
|
|
40321
|
-
@import "https://cdn.jsdelivr.net/npm/ninegrid2@${ninegrid.version}/dist/css/ai.css";
|
|
40322
|
-
${ninegrid.getCustomPath(this, "ai.css")}
|
|
40323
|
-
</style>
|
|
40324
40317
|
|
|
40325
40318
|
<div class="chat-message">
|
|
40326
40319
|
.
|
|
@@ -40339,10 +40332,7 @@ class aiMyMessage extends HTMLElement {
|
|
|
40339
40332
|
connectedCallback() {
|
|
40340
40333
|
const message = this.getAttribute("message");
|
|
40341
40334
|
this.shadowRoot.innerHTML = `
|
|
40342
|
-
|
|
40343
|
-
@import "https://cdn.jsdelivr.net/npm/ninegrid2@${ninegrid.version}/dist/css/ai.css";
|
|
40344
|
-
${ninegrid.getCustomPath(this, "ai.css")}
|
|
40345
|
-
</style>
|
|
40335
|
+
|
|
40346
40336
|
|
|
40347
40337
|
<div class="chat-message">
|
|
40348
40338
|
${message}
|
|
@@ -40361,10 +40351,7 @@ class aiProgressMessage extends HTMLElement {
|
|
|
40361
40351
|
}
|
|
40362
40352
|
connectedCallback() {
|
|
40363
40353
|
this.shadowRoot.innerHTML = `
|
|
40364
|
-
|
|
40365
|
-
@import "https://cdn.jsdelivr.net/npm/ninegrid2@${ninegrid.version}/dist/css/ai.css";
|
|
40366
|
-
${ninegrid.getCustomPath(this, "ai.css")}
|
|
40367
|
-
</style>
|
|
40354
|
+
|
|
40368
40355
|
<div class="chat-message progress-message">
|
|
40369
40356
|
<ul class="progress-list"></ul>
|
|
40370
40357
|
</div>
|
|
@@ -40547,10 +40534,7 @@ class ChatMessage extends HTMLElement {
|
|
|
40547
40534
|
connectedCallback() {
|
|
40548
40535
|
this.getAttribute("message");
|
|
40549
40536
|
this.shadowRoot.innerHTML = `
|
|
40550
|
-
|
|
40551
|
-
@import "https://cdn.jsdelivr.net/npm/ninegrid2@${ninegrid.version}/dist/css/ai.css";
|
|
40552
|
-
${ninegrid.getCustomPath(this, "ai.css")}
|
|
40553
|
-
</style>
|
|
40537
|
+
|
|
40554
40538
|
|
|
40555
40539
|
<div class="chat-body">
|
|
40556
40540
|
</div>
|
|
@@ -40575,7 +40559,7 @@ if (!customElements.get("nine-chat-message")) {
|
|
|
40575
40559
|
customElements.define("nine-chat-message", ChatMessage);
|
|
40576
40560
|
}
|
|
40577
40561
|
const NineMu = {
|
|
40578
|
-
version: "0.1.
|
|
40562
|
+
version: "0.1.151",
|
|
40579
40563
|
init: (config2) => {
|
|
40580
40564
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
40581
40565
|
}
|