@nine-lab/nine-mu 0.1.34 → 0.1.35
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 +1 -1
- package/dist/nine-mu.js +12 -5
- 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 +1 -1
- package/src/components/NineChat.js +8 -0
package/package.json
CHANGED
package/public/css/nine-mu.css
CHANGED
|
@@ -816,7 +816,7 @@
|
|
|
816
816
|
|
|
817
817
|
nx-dialog { --dialog-width: 90vw; --dialog-height: 85vh; }
|
|
818
818
|
.main-layout { width: 100%; height: 100%; display: flex; flex-direction: column; }
|
|
819
|
-
.diff-area { flex: 1; min-height: 0;
|
|
819
|
+
.diff-area { flex: 1; min-height: 0; }
|
|
820
820
|
.footer {
|
|
821
821
|
display: flex; justify-content: flex-end; gap: 10px;
|
|
822
822
|
padding: 12px; background: #f9f9f9; border-top: 1px solid #eee;
|
|
@@ -4,6 +4,7 @@ import { NineMuService } from '../services/NineMuService.js';
|
|
|
4
4
|
export class NineChat extends HTMLElement {
|
|
5
5
|
#service = null;
|
|
6
6
|
#routes = [];
|
|
7
|
+
#diffPopup;
|
|
7
8
|
|
|
8
9
|
constructor() {
|
|
9
10
|
super();
|
|
@@ -134,7 +135,14 @@ export class NineChat extends HTMLElement {
|
|
|
134
135
|
</div>
|
|
135
136
|
</div>
|
|
136
137
|
<div class="expand-icon"></div>
|
|
138
|
+
<nine-diff-popup></nine-diff-popup>
|
|
137
139
|
`;
|
|
140
|
+
|
|
141
|
+
this.#diffPopup = this.shadowRoot.querySelector('nine-diff-popup');
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
popup = (data) => {
|
|
145
|
+
this.#diffPopup.popup(data);
|
|
138
146
|
}
|
|
139
147
|
}
|
|
140
148
|
|