@nine-lab/nine-mu 0.1.307 → 0.1.308
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/css/nine-mu.css +3 -2
- package/dist/nine-mu.js +13 -7
- 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/public/css/nine-mu.css +3 -2
- package/src/components/NineDiff.js +9 -0
- package/src/components/NineMenuDiffPopup.js +1 -1
package/dist/css/nine-mu.css
CHANGED
|
@@ -804,8 +804,8 @@
|
|
|
804
804
|
}
|
|
805
805
|
|
|
806
806
|
|
|
807
|
-
|
|
808
|
-
:host(nine-diff-popup) {
|
|
807
|
+
:host(nine-diff-popup),
|
|
808
|
+
:host(nine-menu-diff-popup) {
|
|
809
809
|
|
|
810
810
|
div.buttons {
|
|
811
811
|
position: absolute;
|
|
@@ -862,6 +862,7 @@
|
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
864
|
|
|
865
|
+
|
|
865
866
|
:host(nine-diff) {
|
|
866
867
|
width: 100%;
|
|
867
868
|
height: 100%;
|
package/dist/nine-mu.js
CHANGED
|
@@ -17563,7 +17563,7 @@ render_fn = function() {
|
|
|
17563
17563
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17564
17564
|
this.shadowRoot.innerHTML = `
|
|
17565
17565
|
<style>
|
|
17566
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17566
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.307"}/dist/css/nine-mu.css";
|
|
17567
17567
|
${customImport}
|
|
17568
17568
|
</style>
|
|
17569
17569
|
<div class="wrapper">
|
|
@@ -43500,6 +43500,12 @@ class NineDiff extends HTMLElement {
|
|
|
43500
43500
|
__publicField(this, "getContents", () => {
|
|
43501
43501
|
return __privateGet(this, _tobeEditorView) ? __privateGet(this, _tobeEditorView).state.doc.toString() : "";
|
|
43502
43502
|
});
|
|
43503
|
+
__publicField(this, "getAsisContents", () => {
|
|
43504
|
+
return __privateGet(this, _asisEditorView) ? __privateGet(this, _asisEditorView).state.doc.toString() : "";
|
|
43505
|
+
});
|
|
43506
|
+
__publicField(this, "getTobeContents", () => {
|
|
43507
|
+
return __privateGet(this, _tobeEditorView) ? __privateGet(this, _tobeEditorView).state.doc.toString() : "";
|
|
43508
|
+
});
|
|
43503
43509
|
__privateAdd(this, _initCodeMirror, () => {
|
|
43504
43510
|
let asisReady = false;
|
|
43505
43511
|
let tobeReady = false;
|
|
@@ -43780,7 +43786,7 @@ class NineDiff extends HTMLElement {
|
|
|
43780
43786
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43781
43787
|
this.shadowRoot.innerHTML = `
|
|
43782
43788
|
<style>
|
|
43783
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43789
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.307"}/dist/css/nine-mu.css";
|
|
43784
43790
|
${customImport}
|
|
43785
43791
|
</style>
|
|
43786
43792
|
|
|
@@ -43906,7 +43912,7 @@ renderScaffolding_fn = function() {
|
|
|
43906
43912
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
43907
43913
|
this.shadowRoot.innerHTML = `
|
|
43908
43914
|
<style>
|
|
43909
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43915
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.307"}/dist/css/nine-mu.css";
|
|
43910
43916
|
${customImport}
|
|
43911
43917
|
</style>
|
|
43912
43918
|
|
|
@@ -44016,7 +44022,7 @@ render_fn2 = function() {
|
|
|
44016
44022
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
44017
44023
|
this.shadowRoot.innerHTML = `
|
|
44018
44024
|
<style>
|
|
44019
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44025
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.307"}/dist/css/nine-mu.css";
|
|
44020
44026
|
${customImport}
|
|
44021
44027
|
</style>
|
|
44022
44028
|
|
|
@@ -44038,7 +44044,7 @@ render_fn2 = function() {
|
|
|
44038
44044
|
this.shadowRoot.querySelector(".btn-cancel").onclick = () => __privateMethod(this, _NineMenuDiffPopup_instances, handleCancel_fn2).call(this);
|
|
44039
44045
|
};
|
|
44040
44046
|
handleConfirm_fn = function() {
|
|
44041
|
-
const content2 = __privateGet(this, _diffView) ? __privateGet(this, _diffView).
|
|
44047
|
+
const content2 = __privateGet(this, _diffView) ? __privateGet(this, _diffView).getAsisContents() : __privateGet(this, _asisBackup);
|
|
44042
44048
|
const params = {
|
|
44043
44049
|
packageName: __privateGet(this, _host2).getAttribute("package-name"),
|
|
44044
44050
|
contents: content2
|
|
@@ -44342,7 +44348,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44342
44348
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44343
44349
|
this.shadowRoot.innerHTML = `
|
|
44344
44350
|
<style>
|
|
44345
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44351
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.307"}/dist/css/nine-mu.css";
|
|
44346
44352
|
${customImport}
|
|
44347
44353
|
</style>
|
|
44348
44354
|
|
|
@@ -44436,7 +44442,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44436
44442
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44437
44443
|
}
|
|
44438
44444
|
const NineMu = {
|
|
44439
|
-
version: "0.1.
|
|
44445
|
+
version: "0.1.307",
|
|
44440
44446
|
init: (config2) => {
|
|
44441
44447
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44442
44448
|
}
|