@wu529778790/open-im 1.9.4-beta.13 → 1.9.4-beta.14
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.
|
@@ -17,8 +17,6 @@ export declare const PAGE_TEXTS: {
|
|
|
17
17
|
readonly dashboardSubtitle: "Platform health status";
|
|
18
18
|
readonly dashboardSubtitleFull: "Platform and service status";
|
|
19
19
|
readonly quickActionsTitle: "Quick Actions";
|
|
20
|
-
readonly serviceTitle: "Service Control";
|
|
21
|
-
readonly serviceHint: "Validate, save, start, and stop the local bridge from one place.";
|
|
22
20
|
readonly refreshHealth: "Refresh Health Status";
|
|
23
21
|
readonly viewConfig: "View Configuration";
|
|
24
22
|
readonly overviewTitle: "Start here";
|
|
@@ -17,8 +17,6 @@ export const PAGE_TEXTS = {
|
|
|
17
17
|
dashboardSubtitle: "Platform health status",
|
|
18
18
|
dashboardSubtitleFull: "Platform and service status",
|
|
19
19
|
quickActionsTitle: "Quick Actions",
|
|
20
|
-
serviceTitle: "Service Control",
|
|
21
|
-
serviceHint: "Validate, save, start, and stop the local bridge from one place.",
|
|
22
20
|
refreshHealth: "Refresh Health Status",
|
|
23
21
|
viewConfig: "View Configuration",
|
|
24
22
|
overviewTitle: "Start here",
|
|
@@ -106,10 +106,6 @@ export const PAGE_SCRIPT = String.raw ` const platformDefinitions = [
|
|
|
106
106
|
// Button state
|
|
107
107
|
const setBusy = (busy) => {
|
|
108
108
|
[
|
|
109
|
-
"validateButton",
|
|
110
|
-
"saveButton",
|
|
111
|
-
"startButton",
|
|
112
|
-
"stopButton",
|
|
113
109
|
"headerValidateButton",
|
|
114
110
|
"headerSaveButton",
|
|
115
111
|
"headerStartButton",
|
|
@@ -158,14 +154,11 @@ export const PAGE_SCRIPT = String.raw ` const platformDefinitions = [
|
|
|
158
154
|
{ id: "navPlatformsText", key: "platformsTitle" },
|
|
159
155
|
{ id: "navConfigFilesText", key: "navConfigFiles" },
|
|
160
156
|
{ id: "navAiText", key: "aiTitle" },
|
|
161
|
-
{ id: "navServiceText", key: "serviceTitle" },
|
|
162
157
|
{ id: "footerGithubText", value: "GitHub" },
|
|
163
158
|
{ id: "platformsTitle", key: "platformsTitle" },
|
|
164
159
|
{ id: "platformsHint", key: "platformsHint" },
|
|
165
160
|
{ id: "aiTitle", key: "aiTitle" },
|
|
166
161
|
{ id: "aiHint", key: "aiHint" },
|
|
167
|
-
{ id: "serviceTitle", key: "serviceTitle" },
|
|
168
|
-
{ id: "serviceHint", key: "serviceHint" },
|
|
169
162
|
{ id: "overviewTitle", key: "overviewTitle" },
|
|
170
163
|
{ id: "overviewBody", key: "overviewBody" },
|
|
171
164
|
{ id: "statConfiguredLabel", key: "statConfiguredLabel" },
|
|
@@ -238,10 +231,6 @@ export const PAGE_SCRIPT = String.raw ` const platformDefinitions = [
|
|
|
238
231
|
{ id: "ai-logLevel-label", key: "logLevel" },
|
|
239
232
|
],
|
|
240
233
|
buttons: [
|
|
241
|
-
{ id: "validateButton", key: "validate" },
|
|
242
|
-
{ id: "saveButton", key: "save" },
|
|
243
|
-
{ id: "startButton", key: "start" },
|
|
244
|
-
{ id: "stopButton", key: "stop" },
|
|
245
234
|
{ id: "headerValidateButton", key: "validate" },
|
|
246
235
|
{ id: "headerSaveButton", key: "save" },
|
|
247
236
|
{ id: "headerStartButton", key: "start" },
|
|
@@ -463,7 +452,7 @@ export const PAGE_SCRIPT = String.raw ` const platformDefinitions = [
|
|
|
463
452
|
|
|
464
453
|
// Navigation
|
|
465
454
|
function setActiveNav(targetId) {
|
|
466
|
-
["navOverviewBtn","navPlatformsBtn","navConfigFilesBtn","navAiBtn"
|
|
455
|
+
["navOverviewBtn","navPlatformsBtn","navConfigFilesBtn","navAiBtn"].forEach((id) => {
|
|
467
456
|
const btn = el(id);
|
|
468
457
|
if (btn) btn.classList.toggle("active", id === targetId);
|
|
469
458
|
});
|
|
@@ -734,7 +723,6 @@ export const PAGE_SCRIPT = String.raw ` const platformDefinitions = [
|
|
|
734
723
|
el("navPlatformsBtn").onclick = () => scrollToSection("configSection", "navPlatformsBtn");
|
|
735
724
|
el("navConfigFilesBtn").onclick = () => scrollToSection("configFilesSection", "navConfigFilesBtn");
|
|
736
725
|
el("navAiBtn").onclick = () => scrollToSection("aiSection", "navAiBtn");
|
|
737
|
-
el("navServiceBtn").onclick = () => scrollToSection("serviceSection", "navServiceBtn");
|
|
738
726
|
|
|
739
727
|
// Language toggle
|
|
740
728
|
el("langButton").onclick = () => {
|
|
@@ -760,13 +748,9 @@ export const PAGE_SCRIPT = String.raw ` const platformDefinitions = [
|
|
|
760
748
|
await saveClaudeSettings();
|
|
761
749
|
await startService();
|
|
762
750
|
};
|
|
763
|
-
el("validateButton").onclick = validate;
|
|
764
751
|
el("headerValidateButton").onclick = validate;
|
|
765
|
-
el("saveButton").onclick = onSaveClick;
|
|
766
752
|
el("headerSaveButton").onclick = onSaveClick;
|
|
767
|
-
el("startButton").onclick = onStartClick;
|
|
768
753
|
el("headerStartButton").onclick = onStartClick;
|
|
769
|
-
el("stopButton").onclick = stopService;
|
|
770
754
|
el("headerStopButton").onclick = stopService;
|
|
771
755
|
|
|
772
756
|
// Platform test buttons
|
|
@@ -834,13 +834,6 @@ export const PAGE_HTML_PREFIX = String.raw `<!doctype html>
|
|
|
834
834
|
</svg>
|
|
835
835
|
<span id="navAiText">AI Tooling</span>
|
|
836
836
|
</button>
|
|
837
|
-
<button class="nav-item" id="navServiceBtn">
|
|
838
|
-
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
839
|
-
<circle cx="12" cy="12" r="10"/>
|
|
840
|
-
<polyline points="12,6 12,12 16,14"/>
|
|
841
|
-
</svg>
|
|
842
|
-
<span id="navServiceText">Service</span>
|
|
843
|
-
</button>
|
|
844
837
|
</nav>
|
|
845
838
|
</aside>
|
|
846
839
|
|
|
@@ -1317,28 +1310,6 @@ export const PAGE_HTML_PREFIX = String.raw `<!doctype html>
|
|
|
1317
1310
|
</div>
|
|
1318
1311
|
</section>
|
|
1319
1312
|
|
|
1320
|
-
<!-- Service Section -->
|
|
1321
|
-
<section class="section" id="serviceSection">
|
|
1322
|
-
<div class="section-header">
|
|
1323
|
-
<h2 class="section-title" id="serviceTitle">Service Control</h2>
|
|
1324
|
-
<p class="section-description" id="serviceHint">Manage the bridge service</p>
|
|
1325
|
-
</div>
|
|
1326
|
-
|
|
1327
|
-
<div class="card">
|
|
1328
|
-
<div class="card-body">
|
|
1329
|
-
<div style="display: flex; gap: 12px; flex-wrap: wrap;" style="justify-content: center; gap: 16px;">
|
|
1330
|
-
<button id="validateButton" class="btn btn-warning btn-lg">Validate</button>
|
|
1331
|
-
<button id="saveButton" class="btn btn-secondary btn-lg">Save Config</button>
|
|
1332
|
-
<button id="startButton" class="btn btn-primary btn-lg">Start Bridge</button>
|
|
1333
|
-
<button id="stopButton" class="btn btn-danger btn-lg">Stop Bridge</button>
|
|
1334
|
-
</div>
|
|
1335
|
-
<div class="text-center mt-6">
|
|
1336
|
-
<div id="message" class="message hidden" aria-live="polite"></div>
|
|
1337
|
-
</div>
|
|
1338
|
-
</div>
|
|
1339
|
-
</div>
|
|
1340
|
-
</section>
|
|
1341
|
-
|
|
1342
1313
|
</div>
|
|
1343
1314
|
</main>
|
|
1344
1315
|
</div>
|