agentgui 1.0.896 → 1.0.898
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/docs/demo.html +816 -0
- package/package.json +1 -1
- package/static/app.js +23 -0
- package/static/css/gmail-skin.css +588 -303
- package/static/index.html +25 -0
package/package.json
CHANGED
package/static/app.js
CHANGED
|
@@ -236,3 +236,26 @@ const BASE_URL = window.__BASE_URL || '';
|
|
|
236
236
|
if (overlay) overlay.addEventListener('click', close);
|
|
237
237
|
document.addEventListener('keydown', (e) => { if (e.key === 'Escape' && isMobile()) close(); });
|
|
238
238
|
})();
|
|
239
|
+
|
|
240
|
+
(function initNavRail() {
|
|
241
|
+
const archivedRailBtn = document.getElementById('viewArchivedBtnRail');
|
|
242
|
+
const archivedBtn = document.getElementById('viewArchivedBtn');
|
|
243
|
+
if (archivedRailBtn && archivedBtn) {
|
|
244
|
+
archivedRailBtn.addEventListener('click', () => archivedBtn.click());
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
const toolsRailBtn = document.getElementById('toolsManagerBtnRail');
|
|
248
|
+
const toolsBtn = document.getElementById('toolsManagerBtn');
|
|
249
|
+
if (toolsRailBtn && toolsBtn) {
|
|
250
|
+
toolsRailBtn.addEventListener('click', () => toolsBtn.click());
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
const headerSearch = document.getElementById('headerSearchInput');
|
|
254
|
+
const sidebarSearch = document.getElementById('sidebarSearchInput');
|
|
255
|
+
if (headerSearch && sidebarSearch) {
|
|
256
|
+
headerSearch.addEventListener('input', () => {
|
|
257
|
+
sidebarSearch.value = headerSearch.value;
|
|
258
|
+
sidebarSearch.dispatchEvent(new Event('input'));
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
})();
|