dsh-plugin 1.6.1 → 1.6.2
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/client/client.js +315 -303
- package/client/client.js.map +1 -1
- package/lib/http/routes.js +35 -1
- package/lib/types/http/routes.d.ts +5 -0
- package/package.json +1 -1
- package/src/client/components/PluginHubSection.tsx +12 -2
- package/src/client/components/modals/modals.tsx +3 -2
- package/src/client/locales.ts +4 -0
- package/src/client/types.ts +1 -1
- package/src/server/http/routes.ts +36 -1
package/client/client.js
CHANGED
|
@@ -254,6 +254,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
254
254
|
restartLater: "稍后重启",
|
|
255
255
|
restarting: "正在重启…",
|
|
256
256
|
restartHint: "重启会中断正在进行的安装/卸载任务,其进度将丢失。部分插件(如插件市场、顶层 bundle)需重启后才会生效。",
|
|
257
|
+
toastRestartDesktop: "桌面端的宿主由应用管理,请在应用菜单(或托盘)选择退出后重新打开,重启后生效",
|
|
257
258
|
done: "完成",
|
|
258
259
|
restartPendingHint: "安装成功,重启后生效",
|
|
259
260
|
restartPendingHintUninstall: "卸载成功,重启后移除",
|
|
@@ -593,6 +594,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
593
594
|
restartLater: "Later",
|
|
594
595
|
restarting: "Restarting…",
|
|
595
596
|
restartHint: "Restarting interrupts any in-progress install / uninstall task — its progress will be lost. Some plugins (such as plugin markets / top-level bundles) only take effect after a restart.",
|
|
597
|
+
toastRestartDesktop: "In the desktop app the host is managed by the app: quit from the app menu (or tray) and open it again — the change takes effect after that restart",
|
|
596
598
|
done: "Done",
|
|
597
599
|
restartPendingHint: "Installed — takes effect after restart",
|
|
598
600
|
restartPendingHintUninstall: "Removed — cleaned up after restart",
|
|
@@ -706,42 +708,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
706
708
|
css: css$11
|
|
707
709
|
});
|
|
708
710
|
var Header_module_css_default = {
|
|
709
|
-
"githubIcon": "qikqja_githubIcon",
|
|
710
711
|
"version": "qikqja_version",
|
|
711
|
-
"
|
|
712
|
-
"
|
|
713
|
-
"
|
|
712
|
+
"headerTitleRow": "qikqja_headerTitleRow",
|
|
713
|
+
"versionBtn": "qikqja_versionBtn",
|
|
714
|
+
"langBtn": "qikqja_langBtn",
|
|
714
715
|
"tabActive": "qikqja_tabActive",
|
|
715
|
-
"
|
|
716
|
-
"headerRight": "qikqja_headerRight",
|
|
717
|
-
"title": "qikqja_title",
|
|
718
|
-
"adBadge": "qikqja_adBadge",
|
|
719
|
-
"logoIcon": "qikqja_logoIcon",
|
|
716
|
+
"segGroup": "qikqja_segGroup",
|
|
720
717
|
"githubLink": "qikqja_githubLink",
|
|
721
|
-
"
|
|
718
|
+
"tab": "qikqja_tab",
|
|
719
|
+
"tabsRow": "qikqja_tabsRow",
|
|
722
720
|
"taglineLink": "qikqja_taglineLink",
|
|
723
|
-
"
|
|
721
|
+
"copyIcon": "qikqja_copyIcon",
|
|
722
|
+
"tagline": "qikqja_tagline",
|
|
723
|
+
"segBtn": "qikqja_segBtn",
|
|
724
724
|
"sortGroup": "qikqja_sortGroup",
|
|
725
|
-
"
|
|
725
|
+
"resultCount": "qikqja_resultCount",
|
|
726
|
+
"adBadge": "qikqja_adBadge",
|
|
727
|
+
"headerRight": "qikqja_headerRight",
|
|
728
|
+
"adText": "qikqja_adText",
|
|
729
|
+
"githubIcon": "qikqja_githubIcon",
|
|
730
|
+
"tabs": "qikqja_tabs",
|
|
726
731
|
"tabCount": "qikqja_tabCount",
|
|
727
|
-
"brandTitle": "qikqja_brandTitle",
|
|
728
|
-
"versionBtn": "qikqja_versionBtn",
|
|
729
|
-
"controls": "qikqja_controls",
|
|
730
|
-
"copyIcon": "qikqja_copyIcon",
|
|
731
|
-
"segGroup": "qikqja_segGroup",
|
|
732
|
-
"langBtn": "qikqja_langBtn",
|
|
733
732
|
"root": "qikqja_root",
|
|
734
|
-
"
|
|
735
|
-
"
|
|
733
|
+
"resultSeg": "qikqja_resultSeg",
|
|
734
|
+
"brandTitle": "qikqja_brandTitle",
|
|
735
|
+
"header": "qikqja_header",
|
|
736
|
+
"segBtnActive": "qikqja_segBtnActive",
|
|
737
|
+
"logoIcon": "qikqja_logoIcon",
|
|
736
738
|
"hubUpdateBadge": "qikqja_hubUpdateBadge",
|
|
737
|
-
"
|
|
738
|
-
"
|
|
739
|
-
"
|
|
740
|
-
"tagline": "qikqja_tagline",
|
|
739
|
+
"searchRow": "qikqja_searchRow",
|
|
740
|
+
"controls": "qikqja_controls",
|
|
741
|
+
"adArrow": "qikqja_adArrow",
|
|
741
742
|
"adBanner": "qikqja_adBanner",
|
|
743
|
+
"search": "qikqja_search",
|
|
742
744
|
"aboutBtn": "qikqja_aboutBtn",
|
|
743
|
-
"
|
|
744
|
-
"
|
|
745
|
+
"title": "qikqja_title",
|
|
746
|
+
"segLabel": "qikqja_segLabel"
|
|
745
747
|
};
|
|
746
748
|
//#endregion
|
|
747
749
|
//#region \0dsh-css:src/client/styles/Modal.module.css.mjs
|
|
@@ -760,136 +762,136 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
760
762
|
css: css$10
|
|
761
763
|
});
|
|
762
764
|
var Modal_module_css_default = {
|
|
763
|
-
"
|
|
765
|
+
"noticeMain": "BiQ1zG_noticeMain",
|
|
766
|
+
"result": "BiQ1zG_result",
|
|
764
767
|
"resultCheckIcon": "BiQ1zG_resultCheckIcon",
|
|
765
|
-
"
|
|
766
|
-
"
|
|
768
|
+
"detailPath": "BiQ1zG_detailPath",
|
|
769
|
+
"failHead": "BiQ1zG_failHead",
|
|
770
|
+
"modalIn": "BiQ1zG_modalIn",
|
|
771
|
+
"toast": "BiQ1zG_toast",
|
|
772
|
+
"resultDesc": "BiQ1zG_resultDesc",
|
|
773
|
+
"modalBody": "BiQ1zG_modalBody",
|
|
774
|
+
"errorTitle": "BiQ1zG_errorTitle",
|
|
775
|
+
"noticeIgnore": "BiQ1zG_noticeIgnore",
|
|
776
|
+
"noticeRemove": "BiQ1zG_noticeRemove",
|
|
777
|
+
"failedCopyHint": "BiQ1zG_failedCopyHint",
|
|
778
|
+
"errorBox": "BiQ1zG_errorBox",
|
|
779
|
+
"resultTitle": "BiQ1zG_resultTitle",
|
|
780
|
+
"confirmIconWrap": "BiQ1zG_confirmIconWrap",
|
|
781
|
+
"failPrepareHint": "BiQ1zG_failPrepareHint",
|
|
782
|
+
"noticeUpdateGo": "BiQ1zG_noticeUpdateGo",
|
|
783
|
+
"overlayIn": "BiQ1zG_overlayIn",
|
|
784
|
+
"hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
|
|
785
|
+
"detailArrow": "BiQ1zG_detailArrow",
|
|
786
|
+
"detailDim": "BiQ1zG_detailDim",
|
|
787
|
+
"resultRestarting": "BiQ1zG_resultRestarting",
|
|
788
|
+
"detailStars": "BiQ1zG_detailStars",
|
|
789
|
+
"pendingRowActions": "BiQ1zG_pendingRowActions",
|
|
790
|
+
"detailPathBtn": "BiQ1zG_detailPathBtn",
|
|
791
|
+
"progressTrack": "BiQ1zG_progressTrack",
|
|
767
792
|
"failNetworkTarget": "BiQ1zG_failNetworkTarget",
|
|
793
|
+
"confirmIcon": "BiQ1zG_confirmIcon",
|
|
794
|
+
"modalHead": "BiQ1zG_modalHead",
|
|
795
|
+
"progressText": "BiQ1zG_progressText",
|
|
796
|
+
"confirmIconDanger": "BiQ1zG_confirmIconDanger",
|
|
797
|
+
"progress": "BiQ1zG_progress",
|
|
798
|
+
"queueSectionTitle": "BiQ1zG_queueSectionTitle",
|
|
799
|
+
"queueRowPct": "BiQ1zG_queueRowPct",
|
|
800
|
+
"queueRowTrack": "BiQ1zG_queueRowTrack",
|
|
801
|
+
"modalClose": "BiQ1zG_modalClose",
|
|
802
|
+
"detailStatusRunning": "BiQ1zG_detailStatusRunning",
|
|
768
803
|
"modalDesc": "BiQ1zG_modalDesc",
|
|
769
|
-
"queueRowBody": "BiQ1zG_queueRowBody",
|
|
770
|
-
"toastIn": "BiQ1zG_toastIn",
|
|
771
804
|
"queueRow": "BiQ1zG_queueRow",
|
|
772
|
-
"modalTitle": "BiQ1zG_modalTitle",
|
|
773
|
-
"modalValue": "BiQ1zG_modalValue",
|
|
774
|
-
"uninstallConfirm": "BiQ1zG_uninstallConfirm",
|
|
775
805
|
"modalLink": "BiQ1zG_modalLink",
|
|
806
|
+
"failEmpty": "BiQ1zG_failEmpty",
|
|
807
|
+
"hubUpdateMeta": "BiQ1zG_hubUpdateMeta",
|
|
808
|
+
"confirmPrimary": "BiQ1zG_confirmPrimary",
|
|
809
|
+
"detailLink": "BiQ1zG_detailLink",
|
|
810
|
+
"modalWide": "BiQ1zG_modalWide",
|
|
811
|
+
"modalValue": "BiQ1zG_modalValue",
|
|
812
|
+
"noticeHead": "BiQ1zG_noticeHead",
|
|
776
813
|
"progressFillFail": "BiQ1zG_progressFillFail",
|
|
777
|
-
"
|
|
778
|
-
"
|
|
779
|
-
"failRepo": "BiQ1zG_failRepo",
|
|
780
|
-
"modalHead": "BiQ1zG_modalHead",
|
|
781
|
-
"progressFill": "BiQ1zG_progressFill",
|
|
782
|
-
"errorBox": "BiQ1zG_errorBox",
|
|
783
|
-
"detailDim": "BiQ1zG_detailDim",
|
|
814
|
+
"detailStatusText": "BiQ1zG_detailStatusText",
|
|
815
|
+
"hubUpdateModal": "BiQ1zG_hubUpdateModal",
|
|
784
816
|
"queueRowTarget": "BiQ1zG_queueRowTarget",
|
|
817
|
+
"dangerConfirm": "BiQ1zG_dangerConfirm",
|
|
818
|
+
"noticeList": "BiQ1zG_noticeList",
|
|
819
|
+
"helpModal": "BiQ1zG_helpModal",
|
|
820
|
+
"queueSection": "BiQ1zG_queueSection",
|
|
821
|
+
"pendingRowStatus": "BiQ1zG_pendingRowStatus",
|
|
822
|
+
"noticeBadgeIcon": "BiQ1zG_noticeBadgeIcon",
|
|
823
|
+
"noticeTextFail": "BiQ1zG_noticeTextFail",
|
|
824
|
+
"detailStatusPending": "BiQ1zG_detailStatusPending",
|
|
825
|
+
"toastFail": "BiQ1zG_toastFail",
|
|
826
|
+
"logModal": "BiQ1zG_logModal",
|
|
827
|
+
"restartLater": "BiQ1zG_restartLater",
|
|
828
|
+
"queueRowHead": "BiQ1zG_queueRowHead",
|
|
829
|
+
"failBigIssue": "BiQ1zG_failBigIssue",
|
|
830
|
+
"progressHead": "BiQ1zG_progressHead",
|
|
831
|
+
"aboutModal": "BiQ1zG_aboutModal",
|
|
832
|
+
"modalCancel": "BiQ1zG_modalCancel",
|
|
833
|
+
"detailGrid": "BiQ1zG_detailGrid",
|
|
785
834
|
"overlay": "BiQ1zG_overlay",
|
|
786
|
-
"
|
|
787
|
-
"
|
|
788
|
-
"
|
|
835
|
+
"modalLabel": "BiQ1zG_modalLabel",
|
|
836
|
+
"noticeRowUpdate": "BiQ1zG_noticeRowUpdate",
|
|
837
|
+
"linkIcon": "BiQ1zG_linkIcon",
|
|
838
|
+
"noticeVersion": "BiQ1zG_noticeVersion",
|
|
839
|
+
"queuedHint": "BiQ1zG_queuedHint",
|
|
840
|
+
"resultCheck": "BiQ1zG_resultCheck",
|
|
841
|
+
"noticeFoot": "BiQ1zG_noticeFoot",
|
|
842
|
+
"aboutMeta": "BiQ1zG_aboutMeta",
|
|
843
|
+
"failRepo": "BiQ1zG_failRepo",
|
|
844
|
+
"toastIn": "BiQ1zG_toastIn",
|
|
789
845
|
"restartNowWarning": "BiQ1zG_restartNowWarning",
|
|
790
|
-
"
|
|
791
|
-
"modalIn": "BiQ1zG_modalIn",
|
|
792
|
-
"failDiagBtn": "BiQ1zG_failDiagBtn",
|
|
793
|
-
"modalCmdText": "BiQ1zG_modalCmdText",
|
|
794
|
-
"queueRowHead": "BiQ1zG_queueRowHead",
|
|
795
|
-
"failKindUninstall": "BiQ1zG_failKindUninstall",
|
|
796
|
-
"queueRowPct": "BiQ1zG_queueRowPct",
|
|
797
|
-
"modalCmd": "BiQ1zG_modalCmd",
|
|
798
|
-
"noticeRemove": "BiQ1zG_noticeRemove",
|
|
799
|
-
"pendingRowActions": "BiQ1zG_pendingRowActions",
|
|
800
|
-
"modalCmdCopy": "BiQ1zG_modalCmdCopy",
|
|
801
|
-
"noticeIgnore": "BiQ1zG_noticeIgnore",
|
|
802
|
-
"confirmIcon": "BiQ1zG_confirmIcon",
|
|
846
|
+
"modalTitleQueued": "BiQ1zG_modalTitleQueued",
|
|
803
847
|
"noticeBadgeOk": "BiQ1zG_noticeBadgeOk",
|
|
804
|
-
"
|
|
805
|
-
"errorModal": "BiQ1zG_errorModal",
|
|
806
|
-
"pendingRowStatus": "BiQ1zG_pendingRowStatus",
|
|
807
|
-
"logModal": "BiQ1zG_logModal",
|
|
808
|
-
"queueSection": "BiQ1zG_queueSection",
|
|
809
|
-
"detailArrow": "BiQ1zG_detailArrow",
|
|
810
|
-
"detailStatusRunning": "BiQ1zG_detailStatusRunning",
|
|
811
|
-
"restartNow": "BiQ1zG_restartNow",
|
|
812
|
-
"detailStatusText": "BiQ1zG_detailStatusText",
|
|
813
|
-
"confirmPrimary": "BiQ1zG_confirmPrimary",
|
|
848
|
+
"hubUpdateNotes": "BiQ1zG_hubUpdateNotes",
|
|
814
849
|
"modalCopy": "BiQ1zG_modalCopy",
|
|
815
|
-
"
|
|
816
|
-
"
|
|
817
|
-
"
|
|
818
|
-
"
|
|
819
|
-
"hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
|
|
850
|
+
"failClear": "BiQ1zG_failClear",
|
|
851
|
+
"aboutContent": "BiQ1zG_aboutContent",
|
|
852
|
+
"failList": "BiQ1zG_failList",
|
|
853
|
+
"failKindInstall": "BiQ1zG_failKindInstall",
|
|
820
854
|
"cliOnlyHint": "BiQ1zG_cliOnlyHint",
|
|
821
|
-
"resultRestarting": "BiQ1zG_resultRestarting",
|
|
822
|
-
"progress": "BiQ1zG_progress",
|
|
823
|
-
"noticeRowUpdate": "BiQ1zG_noticeRowUpdate",
|
|
824
|
-
"detailValue": "BiQ1zG_detailValue",
|
|
825
|
-
"modalWide": "BiQ1zG_modalWide",
|
|
826
|
-
"resultTitle": "BiQ1zG_resultTitle",
|
|
827
|
-
"noticeTime": "BiQ1zG_noticeTime",
|
|
828
|
-
"modalInstall": "BiQ1zG_modalInstall",
|
|
829
|
-
"modalCancel": "BiQ1zG_modalCancel",
|
|
830
|
-
"modalActions": "BiQ1zG_modalActions",
|
|
831
|
-
"failEmpty": "BiQ1zG_failEmpty",
|
|
832
|
-
"helpModal": "BiQ1zG_helpModal",
|
|
833
|
-
"hubUpdateMeta": "BiQ1zG_hubUpdateMeta",
|
|
834
855
|
"detailUpdateHint": "BiQ1zG_detailUpdateHint",
|
|
835
|
-
"
|
|
836
|
-
"detailLink": "BiQ1zG_detailLink",
|
|
837
|
-
"failCopy": "BiQ1zG_failCopy",
|
|
838
|
-
"detailStatusPending": "BiQ1zG_detailStatusPending",
|
|
839
|
-
"errorTitle": "BiQ1zG_errorTitle",
|
|
840
|
-
"hubUpdateNotes": "BiQ1zG_hubUpdateNotes",
|
|
841
|
-
"progressHead": "BiQ1zG_progressHead",
|
|
842
|
-
"progressText": "BiQ1zG_progressText",
|
|
843
|
-
"progressTrack": "BiQ1zG_progressTrack",
|
|
844
|
-
"noticeBadgeFail": "BiQ1zG_noticeBadgeFail",
|
|
845
|
-
"detailModal": "BiQ1zG_detailModal",
|
|
846
|
-
"toastFail": "BiQ1zG_toastFail",
|
|
856
|
+
"noticeRow": "BiQ1zG_noticeRow",
|
|
847
857
|
"queueRowStatus": "BiQ1zG_queueRowStatus",
|
|
858
|
+
"detailPathText": "BiQ1zG_detailPathText",
|
|
859
|
+
"queueRowBody": "BiQ1zG_queueRowBody",
|
|
860
|
+
"modalTitleBusy": "BiQ1zG_modalTitleBusy",
|
|
861
|
+
"modalInstall": "BiQ1zG_modalInstall",
|
|
848
862
|
"noticeRowMain": "BiQ1zG_noticeRowMain",
|
|
849
|
-
"
|
|
850
|
-
"noticeMain": "BiQ1zG_noticeMain",
|
|
863
|
+
"failKind": "BiQ1zG_failKind",
|
|
851
864
|
"detailRow": "BiQ1zG_detailRow",
|
|
852
|
-
"
|
|
853
|
-
"detailLabel": "BiQ1zG_detailLabel",
|
|
854
|
-
"noticeTextOk": "BiQ1zG_noticeTextOk",
|
|
855
|
-
"queueRowTrack": "BiQ1zG_queueRowTrack",
|
|
856
|
-
"modalBody": "BiQ1zG_modalBody",
|
|
865
|
+
"noticeBadgeFail": "BiQ1zG_noticeBadgeFail",
|
|
857
866
|
"stripCancel": "BiQ1zG_stripCancel",
|
|
858
|
-
"
|
|
859
|
-
"
|
|
860
|
-
"
|
|
861
|
-
"
|
|
862
|
-
"detailPathText": "BiQ1zG_detailPathText",
|
|
863
|
-
"failBigIssue": "BiQ1zG_failBigIssue",
|
|
864
|
-
"modalTitleQueued": "BiQ1zG_modalTitleQueued",
|
|
865
|
-
"dangerConfirm": "BiQ1zG_dangerConfirm",
|
|
866
|
-
"result": "BiQ1zG_result",
|
|
867
|
-
"failList": "BiQ1zG_failList",
|
|
868
|
-
"modalTitleBusy": "BiQ1zG_modalTitleBusy",
|
|
867
|
+
"modalCmdText": "BiQ1zG_modalCmdText",
|
|
868
|
+
"trustHint": "BiQ1zG_trustHint",
|
|
869
|
+
"failRow": "BiQ1zG_failRow",
|
|
870
|
+
"noticeTextOk": "BiQ1zG_noticeTextOk",
|
|
869
871
|
"detailMono": "BiQ1zG_detailMono",
|
|
870
|
-
"
|
|
872
|
+
"detailPathActions": "BiQ1zG_detailPathActions",
|
|
873
|
+
"errorModal": "BiQ1zG_errorModal",
|
|
874
|
+
"modalCloseIcon": "BiQ1zG_modalCloseIcon",
|
|
875
|
+
"modalCmd": "BiQ1zG_modalCmd",
|
|
876
|
+
"modal": "BiQ1zG_modal",
|
|
877
|
+
"modalTitle": "BiQ1zG_modalTitle",
|
|
878
|
+
"errorCopySoft": "BiQ1zG_errorCopySoft",
|
|
879
|
+
"restartNow": "BiQ1zG_restartNow",
|
|
880
|
+
"failCopy": "BiQ1zG_failCopy",
|
|
881
|
+
"progressFill": "BiQ1zG_progressFill",
|
|
882
|
+
"noticeRowOk": "BiQ1zG_noticeRowOk",
|
|
883
|
+
"uninstallConfirm": "BiQ1zG_uninstallConfirm",
|
|
884
|
+
"modalActions": "BiQ1zG_modalActions",
|
|
885
|
+
"detailLabel": "BiQ1zG_detailLabel",
|
|
886
|
+
"failKindUninstall": "BiQ1zG_failKindUninstall",
|
|
887
|
+
"failDiagBtn": "BiQ1zG_failDiagBtn",
|
|
871
888
|
"modalRow": "BiQ1zG_modalRow",
|
|
872
|
-
"detailStars": "BiQ1zG_detailStars",
|
|
873
889
|
"queueRowDesc": "BiQ1zG_queueRowDesc",
|
|
874
|
-
"
|
|
875
|
-
"
|
|
876
|
-
"
|
|
877
|
-
"
|
|
878
|
-
"
|
|
879
|
-
"resultCheck": "BiQ1zG_resultCheck",
|
|
880
|
-
"modalLabel": "BiQ1zG_modalLabel",
|
|
881
|
-
"noticeBadgeIcon": "BiQ1zG_noticeBadgeIcon",
|
|
882
|
-
"confirmIconDanger": "BiQ1zG_confirmIconDanger",
|
|
883
|
-
"failClear": "BiQ1zG_failClear",
|
|
884
|
-
"noticeVersion": "BiQ1zG_noticeVersion",
|
|
885
|
-
"hubUpdateModal": "BiQ1zG_hubUpdateModal",
|
|
886
|
-
"noticeFoot": "BiQ1zG_noticeFoot",
|
|
887
|
-
"detailPathBtn": "BiQ1zG_detailPathBtn",
|
|
888
|
-
"failKindInstall": "BiQ1zG_failKindInstall",
|
|
889
|
-
"noticeHead": "BiQ1zG_noticeHead",
|
|
890
|
-
"failHead": "BiQ1zG_failHead",
|
|
891
|
-
"failedCopyHint": "BiQ1zG_failedCopyHint",
|
|
892
|
-
"noticeUpdateGo": "BiQ1zG_noticeUpdateGo"
|
|
890
|
+
"modalCmdCopy": "BiQ1zG_modalCmdCopy",
|
|
891
|
+
"noticeTime": "BiQ1zG_noticeTime",
|
|
892
|
+
"errorHint": "BiQ1zG_errorHint",
|
|
893
|
+
"detailModal": "BiQ1zG_detailModal",
|
|
894
|
+
"detailValue": "BiQ1zG_detailValue"
|
|
893
895
|
};
|
|
894
896
|
//#endregion
|
|
895
897
|
//#region src/server/services/install/release-target.ts
|
|
@@ -1001,7 +1003,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
1001
1003
|
* tsdown 构建时用 define 把 __PLUGIN_VERSION__ 替换成 package.json 的版本号;
|
|
1002
1004
|
* node --test 直接 import 本模块时该标识符不存在,typeof 守卫兜底为空串。
|
|
1003
1005
|
*/
|
|
1004
|
-
const PLUGIN_VERSION = "1.6.
|
|
1006
|
+
const PLUGIN_VERSION = "1.6.2";
|
|
1005
1007
|
const CATEGORY_ORDER = [
|
|
1006
1008
|
"interface",
|
|
1007
1009
|
"session",
|
|
@@ -1638,7 +1640,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
1638
1640
|
*/
|
|
1639
1641
|
const hubHasUpdate = (() => {
|
|
1640
1642
|
if (!hubUpdateInfo) return false;
|
|
1641
|
-
if (hubUpdateInfo.version === "1.6.
|
|
1643
|
+
if (hubUpdateInfo.version === "1.6.2") return false;
|
|
1642
1644
|
const publishedAt = hubUpdateInfo.publishedAt;
|
|
1643
1645
|
if (publishedAt) {
|
|
1644
1646
|
const publishedMs = Date.parse(publishedAt);
|
|
@@ -3521,8 +3523,8 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
3521
3523
|
}
|
|
3522
3524
|
/** 全局反馈 Toast:复制成功(反色)/ 安装完成(反色)/ 安装失败(红色)/ 卸载结果 */
|
|
3523
3525
|
function Toast({ toast, t }) {
|
|
3524
|
-
const text = toast.kind === "copied" ? t("toastCopied") : toast.kind === "errCopied" ? t("errCopied") : toast.kind === "done" ? t("installDone") : toast.kind === "fail" ? t("installFail") : toast.kind === "removed" ? t("uninstallDone") : toast.kind === "revealFail" ? t("openFolderFail") : t("uninstallFail");
|
|
3525
|
-
const fail = toast.kind === "fail" || toast.kind === "removeFail" || toast.kind === "revealFail";
|
|
3526
|
+
const text = toast.kind === "copied" ? t("toastCopied") : toast.kind === "errCopied" ? t("errCopied") : toast.kind === "done" ? t("installDone") : toast.kind === "fail" ? t("installFail") : toast.kind === "removed" ? t("uninstallDone") : toast.kind === "revealFail" ? t("openFolderFail") : toast.kind === "restartDesktop" ? t("toastRestartDesktop") : t("uninstallFail");
|
|
3527
|
+
const fail = toast.kind === "fail" || toast.kind === "removeFail" || toast.kind === "revealFail" || toast.kind === "restartDesktop";
|
|
3526
3528
|
return (0, react.createElement)("div", {
|
|
3527
3529
|
key: toast.id,
|
|
3528
3530
|
className: fail ? `${Modal_module_css_default.toast} ${Modal_module_css_default.toastFail}` : Modal_module_css_default.toast
|
|
@@ -4278,40 +4280,40 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4278
4280
|
css: css$9
|
|
4279
4281
|
});
|
|
4280
4282
|
var List_module_css_default = {
|
|
4281
|
-
"
|
|
4282
|
-
"detailBtn": "_3XaZHa_detailBtn",
|
|
4283
|
-
"versionBadge": "_3XaZHa_versionBadge",
|
|
4283
|
+
"fork": "_3XaZHa_fork",
|
|
4284
4284
|
"stateActions": "_3XaZHa_stateActions",
|
|
4285
|
-
"
|
|
4286
|
-
"desc": "_3XaZHa_desc",
|
|
4287
|
-
"installBtn": "_3XaZHa_installBtn",
|
|
4288
|
-
"stateDesc": "_3XaZHa_stateDesc",
|
|
4289
|
-
"installBtnCopied": "_3XaZHa_installBtnCopied",
|
|
4290
|
-
"verified": "_3XaZHa_verified",
|
|
4291
|
-
"date": "_3XaZHa_date",
|
|
4285
|
+
"diagBtn": "_3XaZHa_diagBtn",
|
|
4292
4286
|
"state": "_3XaZHa_state",
|
|
4293
|
-
"
|
|
4294
|
-
"
|
|
4295
|
-
"installBtnUpdate": "_3XaZHa_installBtnUpdate",
|
|
4296
|
-
"card": "_3XaZHa_card",
|
|
4297
|
-
"cardTitle": "_3XaZHa_cardTitle",
|
|
4298
|
-
"uninstallBtn": "_3XaZHa_uninstallBtn",
|
|
4287
|
+
"footer": "_3XaZHa_footer",
|
|
4288
|
+
"installBtnInstalled": "_3XaZHa_installBtnInstalled",
|
|
4299
4289
|
"list": "_3XaZHa_list",
|
|
4300
|
-
"
|
|
4301
|
-
"
|
|
4290
|
+
"actions": "_3XaZHa_actions",
|
|
4291
|
+
"moreSentinel": "_3XaZHa_moreSentinel",
|
|
4302
4292
|
"retryBtn": "_3XaZHa_retryBtn",
|
|
4303
|
-
"
|
|
4304
|
-
"
|
|
4305
|
-
"
|
|
4306
|
-
"
|
|
4307
|
-
"
|
|
4293
|
+
"stateDesc": "_3XaZHa_stateDesc",
|
|
4294
|
+
"footLink": "_3XaZHa_footLink",
|
|
4295
|
+
"categoryBadge": "_3XaZHa_categoryBadge",
|
|
4296
|
+
"versionBadge": "_3XaZHa_versionBadge",
|
|
4297
|
+
"detailBtn": "_3XaZHa_detailBtn",
|
|
4308
4298
|
"topics": "_3XaZHa_topics",
|
|
4309
|
-
"
|
|
4299
|
+
"stats": "_3XaZHa_stats",
|
|
4310
4300
|
"stateTitle": "_3XaZHa_stateTitle",
|
|
4301
|
+
"card": "_3XaZHa_card",
|
|
4311
4302
|
"body": "_3XaZHa_body",
|
|
4312
|
-
"
|
|
4303
|
+
"star": "_3XaZHa_star",
|
|
4313
4304
|
"cardMain": "_3XaZHa_cardMain",
|
|
4314
|
-
"
|
|
4305
|
+
"installBtnCopied": "_3XaZHa_installBtnCopied",
|
|
4306
|
+
"updateBadge": "_3XaZHa_updateBadge",
|
|
4307
|
+
"verified": "_3XaZHa_verified",
|
|
4308
|
+
"cardTitle": "_3XaZHa_cardTitle",
|
|
4309
|
+
"installBtn": "_3XaZHa_installBtn",
|
|
4310
|
+
"installBtnUpdate": "_3XaZHa_installBtnUpdate",
|
|
4311
|
+
"uninstallBtn": "_3XaZHa_uninstallBtn",
|
|
4312
|
+
"date": "_3XaZHa_date",
|
|
4313
|
+
"cardHead": "_3XaZHa_cardHead",
|
|
4314
|
+
"topic": "_3XaZHa_topic",
|
|
4315
|
+
"desc": "_3XaZHa_desc",
|
|
4316
|
+
"cardSide": "_3XaZHa_cardSide"
|
|
4315
4317
|
};
|
|
4316
4318
|
//#endregion
|
|
4317
4319
|
//#region src/client/hooks/useIncrementalList.ts
|
|
@@ -4518,15 +4520,15 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4518
4520
|
css: css$8
|
|
4519
4521
|
});
|
|
4520
4522
|
var SectionTabs_module_css_default = {
|
|
4521
|
-
"tab": "_7tvizq_tab",
|
|
4522
|
-
"tabIcon": "_7tvizq_tabIcon",
|
|
4523
4523
|
"tabActive": "_7tvizq_tabActive",
|
|
4524
|
-
"
|
|
4525
|
-
"
|
|
4526
|
-
"tabCount": "_7tvizq_tabCount",
|
|
4524
|
+
"tabIcon": "_7tvizq_tabIcon",
|
|
4525
|
+
"noticeCount": "_7tvizq_noticeCount",
|
|
4527
4526
|
"root": "_7tvizq_root",
|
|
4528
4527
|
"noticeIcon": "_7tvizq_noticeIcon",
|
|
4529
|
-
"
|
|
4528
|
+
"noticeBtn": "_7tvizq_noticeBtn",
|
|
4529
|
+
"tab": "_7tvizq_tab",
|
|
4530
|
+
"tabCount": "_7tvizq_tabCount",
|
|
4531
|
+
"tabCountActive": "_7tvizq_tabCountActive"
|
|
4530
4532
|
};
|
|
4531
4533
|
//#endregion
|
|
4532
4534
|
//#region src/client/components/layout/SectionTabs.tsx
|
|
@@ -4603,42 +4605,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4603
4605
|
css: css$7
|
|
4604
4606
|
});
|
|
4605
4607
|
var InstalledView_module_css_default = {
|
|
4606
|
-
"
|
|
4607
|
-
"
|
|
4608
|
-
"
|
|
4609
|
-
"
|
|
4610
|
-
"statusInactive": "_1nXeGW_statusInactive",
|
|
4611
|
-
"empty": "_1nXeGW_empty",
|
|
4612
|
-
"rowMain": "_1nXeGW_rowMain",
|
|
4613
|
-
"searchInput": "_1nXeGW_searchInput",
|
|
4614
|
-
"root": "_1nXeGW_root",
|
|
4615
|
-
"rowDesc": "_1nXeGW_rowDesc",
|
|
4616
|
-
"segLabel": "_1nXeGW_segLabel",
|
|
4617
|
-
"list": "_1nXeGW_list",
|
|
4618
|
-
"rowUpdate": "_1nXeGW_rowUpdate",
|
|
4608
|
+
"rowMeta": "_1nXeGW_rowMeta",
|
|
4609
|
+
"updateBadge": "_1nXeGW_updateBadge",
|
|
4610
|
+
"rowCategory": "_1nXeGW_rowCategory",
|
|
4611
|
+
"emptyDesc": "_1nXeGW_emptyDesc",
|
|
4619
4612
|
"segRow": "_1nXeGW_segRow",
|
|
4613
|
+
"rowRestart": "_1nXeGW_rowRestart",
|
|
4620
4614
|
"segBtn": "_1nXeGW_segBtn",
|
|
4621
|
-
"
|
|
4622
|
-
"rowTitle": "_1nXeGW_rowTitle",
|
|
4623
|
-
"toolbar": "_1nXeGW_toolbar",
|
|
4624
|
-
"emptyTitle": "_1nXeGW_emptyTitle",
|
|
4615
|
+
"list": "_1nXeGW_list",
|
|
4625
4616
|
"rowUninstall": "_1nXeGW_rowUninstall",
|
|
4626
|
-
"
|
|
4617
|
+
"rowSourceTagHub": "_1nXeGW_rowSourceTagHub",
|
|
4618
|
+
"root": "_1nXeGW_root",
|
|
4619
|
+
"rowSourceTagManual": "_1nXeGW_rowSourceTagManual",
|
|
4620
|
+
"rowSourceTag": "_1nXeGW_rowSourceTag",
|
|
4621
|
+
"searchWrap": "_1nXeGW_searchWrap",
|
|
4622
|
+
"rowMain": "_1nXeGW_rowMain",
|
|
4623
|
+
"rowTitle": "_1nXeGW_rowTitle",
|
|
4624
|
+
"statusPending": "_1nXeGW_statusPending",
|
|
4625
|
+
"rowUpdate": "_1nXeGW_rowUpdate",
|
|
4627
4626
|
"rowRepo": "_1nXeGW_rowRepo",
|
|
4627
|
+
"rowTitleLine": "_1nXeGW_rowTitleLine",
|
|
4628
|
+
"versionBadge": "_1nXeGW_versionBadge",
|
|
4628
4629
|
"rowDetail": "_1nXeGW_rowDetail",
|
|
4629
|
-
"rowActions": "_1nXeGW_rowActions",
|
|
4630
|
-
"rowSourceTag": "_1nXeGW_rowSourceTag",
|
|
4631
|
-
"row": "_1nXeGW_row",
|
|
4632
4630
|
"segBtnActive": "_1nXeGW_segBtnActive",
|
|
4631
|
+
"rowDesc": "_1nXeGW_rowDesc",
|
|
4632
|
+
"exampleRow": "_1nXeGW_exampleRow",
|
|
4633
4633
|
"exampleBadge": "_1nXeGW_exampleBadge",
|
|
4634
|
-
"
|
|
4634
|
+
"toolbar": "_1nXeGW_toolbar",
|
|
4635
|
+
"empty": "_1nXeGW_empty",
|
|
4636
|
+
"statusInactive": "_1nXeGW_statusInactive",
|
|
4637
|
+
"rowActions": "_1nXeGW_rowActions",
|
|
4638
|
+
"searchInput": "_1nXeGW_searchInput",
|
|
4639
|
+
"emptyTitle": "_1nXeGW_emptyTitle",
|
|
4640
|
+
"segLabel": "_1nXeGW_segLabel",
|
|
4641
|
+
"row": "_1nXeGW_row",
|
|
4635
4642
|
"segGroup": "_1nXeGW_segGroup",
|
|
4636
|
-
"
|
|
4637
|
-
"rowSourceTagHub": "_1nXeGW_rowSourceTagHub",
|
|
4638
|
-
"rowSourceTagManual": "_1nXeGW_rowSourceTagManual",
|
|
4639
|
-
"exampleRow": "_1nXeGW_exampleRow",
|
|
4640
|
-
"searchWrap": "_1nXeGW_searchWrap",
|
|
4641
|
-
"updateBadge": "_1nXeGW_updateBadge"
|
|
4643
|
+
"statusDot": "_1nXeGW_statusDot"
|
|
4642
4644
|
};
|
|
4643
4645
|
//#endregion
|
|
4644
4646
|
//#region src/client/components/views/InstalledView.tsx
|
|
@@ -4884,28 +4886,28 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4884
4886
|
css: css$6
|
|
4885
4887
|
});
|
|
4886
4888
|
var CustomInstallView_module_css_default = {
|
|
4887
|
-
"
|
|
4888
|
-
"root": "zISxCG_root",
|
|
4889
|
-
"installCards": "zISxCG_installCards",
|
|
4890
|
-
"channelOff": "zISxCG_channelOff",
|
|
4891
|
-
"channelOffText": "zISxCG_channelOffText",
|
|
4889
|
+
"helpLine": "zISxCG_helpLine",
|
|
4892
4890
|
"installError": "zISxCG_installError",
|
|
4893
4891
|
"installInput": "zISxCG_installInput",
|
|
4894
|
-
"installRow": "zISxCG_installRow",
|
|
4895
4892
|
"installCardDisabled": "zISxCG_installCardDisabled",
|
|
4896
|
-
"desc": "zISxCG_desc",
|
|
4897
|
-
"installExample": "zISxCG_installExample",
|
|
4898
|
-
"installCardHead": "zISxCG_installCardHead",
|
|
4899
|
-
"installBtn": "zISxCG_installBtn",
|
|
4900
|
-
"helpBody": "zISxCG_helpBody",
|
|
4901
|
-
"helpNote": "zISxCG_helpNote",
|
|
4902
|
-
"helpCmd": "zISxCG_helpCmd",
|
|
4903
4893
|
"installHelpBtn": "zISxCG_installHelpBtn",
|
|
4904
|
-
"
|
|
4905
|
-
"
|
|
4894
|
+
"installBtn": "zISxCG_installBtn",
|
|
4895
|
+
"installCards": "zISxCG_installCards",
|
|
4906
4896
|
"installCard": "zISxCG_installCard",
|
|
4897
|
+
"installExample": "zISxCG_installExample",
|
|
4898
|
+
"root": "zISxCG_root",
|
|
4899
|
+
"helpCmd": "zISxCG_helpCmd",
|
|
4900
|
+
"helpNote": "zISxCG_helpNote",
|
|
4901
|
+
"helpBody": "zISxCG_helpBody",
|
|
4902
|
+
"installInsertBtn": "zISxCG_installInsertBtn",
|
|
4903
|
+
"installCardHead": "zISxCG_installCardHead",
|
|
4904
|
+
"desc": "zISxCG_desc",
|
|
4907
4905
|
"installLabel": "zISxCG_installLabel",
|
|
4908
|
-
"
|
|
4906
|
+
"channelOffText": "zISxCG_channelOffText",
|
|
4907
|
+
"channelOff": "zISxCG_channelOff",
|
|
4908
|
+
"installInputError": "zISxCG_installInputError",
|
|
4909
|
+
"installRow": "zISxCG_installRow",
|
|
4910
|
+
"channelOffBtn": "zISxCG_channelOffBtn"
|
|
4909
4911
|
};
|
|
4910
4912
|
//#endregion
|
|
4911
4913
|
//#region src/client/components/views/CustomInstallView.tsx
|
|
@@ -5196,29 +5198,29 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5196
5198
|
});
|
|
5197
5199
|
var SettingsView_module_css_default = {
|
|
5198
5200
|
"pageHeader": "_506LLG_pageHeader",
|
|
5199
|
-
"content": "_506LLG_content",
|
|
5200
|
-
"pageDesc": "_506LLG_pageDesc",
|
|
5201
|
-
"settingTitle": "_506LLG_settingTitle",
|
|
5202
|
-
"settingControlStack": "_506LLG_settingControlStack",
|
|
5203
|
-
"navItemActive": "_506LLG_navItemActive",
|
|
5204
|
-
"root": "_506LLG_root",
|
|
5205
|
-
"sidebar": "_506LLG_sidebar",
|
|
5206
5201
|
"proxyControl": "_506LLG_proxyControl",
|
|
5207
|
-
"
|
|
5208
|
-
"
|
|
5209
|
-
"controlDropdown": "_506LLG_controlDropdown",
|
|
5210
|
-
"navIcon": "_506LLG_navIcon",
|
|
5211
|
-
"settingDesc": "_506LLG_settingDesc",
|
|
5212
|
-
"navItem": "_506LLG_navItem",
|
|
5202
|
+
"settingControlStack": "_506LLG_settingControlStack",
|
|
5203
|
+
"resetBtn": "_506LLG_resetBtn",
|
|
5213
5204
|
"proxyHint": "_506LLG_proxyHint",
|
|
5214
|
-
"settingControl": "_506LLG_settingControl",
|
|
5215
|
-
"settingRowStack": "_506LLG_settingRowStack",
|
|
5216
5205
|
"proxyHintOk": "_506LLG_proxyHintOk",
|
|
5206
|
+
"settingControl": "_506LLG_settingControl",
|
|
5217
5207
|
"pageTitle": "_506LLG_pageTitle",
|
|
5218
5208
|
"settingLabel": "_506LLG_settingLabel",
|
|
5219
|
-
"
|
|
5209
|
+
"sidebar": "_506LLG_sidebar",
|
|
5210
|
+
"navIcon": "_506LLG_navIcon",
|
|
5211
|
+
"settingRowStack": "_506LLG_settingRowStack",
|
|
5220
5212
|
"textInput": "_506LLG_textInput",
|
|
5221
|
-
"
|
|
5213
|
+
"root": "_506LLG_root",
|
|
5214
|
+
"controlDropdown": "_506LLG_controlDropdown",
|
|
5215
|
+
"settingRow": "_506LLG_settingRow",
|
|
5216
|
+
"pageDesc": "_506LLG_pageDesc",
|
|
5217
|
+
"navItem": "_506LLG_navItem",
|
|
5218
|
+
"card": "_506LLG_card",
|
|
5219
|
+
"proxyHintFail": "_506LLG_proxyHintFail",
|
|
5220
|
+
"content": "_506LLG_content",
|
|
5221
|
+
"settingTitle": "_506LLG_settingTitle",
|
|
5222
|
+
"navItemActive": "_506LLG_navItemActive",
|
|
5223
|
+
"settingDesc": "_506LLG_settingDesc"
|
|
5222
5224
|
};
|
|
5223
5225
|
//#endregion
|
|
5224
5226
|
//#region \0dsh-css:src/client/styles/Dropdown.module.css.mjs
|
|
@@ -5237,18 +5239,18 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5237
5239
|
css: css$4
|
|
5238
5240
|
});
|
|
5239
5241
|
var Dropdown_module_css_default = {
|
|
5242
|
+
"dropdownItemActive": "B_Gxsq_dropdownItemActive",
|
|
5243
|
+
"dropdownCountActive": "B_Gxsq_dropdownCountActive",
|
|
5240
5244
|
"dropdown": "B_Gxsq_dropdown",
|
|
5245
|
+
"dropdownLabel": "B_Gxsq_dropdownLabel",
|
|
5241
5246
|
"dropdownFill": "B_Gxsq_dropdownFill",
|
|
5242
|
-
"dropdownBtn": "B_Gxsq_dropdownBtn",
|
|
5243
|
-
"dropdownPanel": "B_Gxsq_dropdownPanel",
|
|
5244
5247
|
"dropdownArrow": "B_Gxsq_dropdownArrow",
|
|
5245
|
-
"
|
|
5246
|
-
"
|
|
5247
|
-
"dropdownCount": "B_Gxsq_dropdownCount",
|
|
5248
|
-
"dropdownCountActive": "B_Gxsq_dropdownCountActive",
|
|
5248
|
+
"dropdownPanel": "B_Gxsq_dropdownPanel",
|
|
5249
|
+
"dropdownItemLabel": "B_Gxsq_dropdownItemLabel",
|
|
5249
5250
|
"dropdownArrowOpen": "B_Gxsq_dropdownArrowOpen",
|
|
5250
|
-
"
|
|
5251
|
-
"
|
|
5251
|
+
"dropdownBtn": "B_Gxsq_dropdownBtn",
|
|
5252
|
+
"dropdownItem": "B_Gxsq_dropdownItem",
|
|
5253
|
+
"dropdownCount": "B_Gxsq_dropdownCount"
|
|
5252
5254
|
};
|
|
5253
5255
|
//#endregion
|
|
5254
5256
|
//#region \0dsh-css:src/client/styles/Toggle.module.css.mjs
|
|
@@ -5268,8 +5270,8 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5268
5270
|
});
|
|
5269
5271
|
var Toggle_module_css_default = {
|
|
5270
5272
|
"toggleOn": "k-cD4G_toggleOn",
|
|
5271
|
-
"
|
|
5272
|
-
"
|
|
5273
|
+
"toggle": "k-cD4G_toggle",
|
|
5274
|
+
"knob": "k-cD4G_knob"
|
|
5273
5275
|
};
|
|
5274
5276
|
//#endregion
|
|
5275
5277
|
//#region src/client/components/ui/Toggle.tsx
|
|
@@ -5369,29 +5371,29 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5369
5371
|
css: css$2
|
|
5370
5372
|
});
|
|
5371
5373
|
var DiagnosticsView_module_css_default = {
|
|
5372
|
-
"
|
|
5373
|
-
"
|
|
5374
|
+
"meta": "k9eRya_meta",
|
|
5375
|
+
"badgeIdle": "k9eRya_badgeIdle",
|
|
5376
|
+
"envCopyBtn": "k9eRya_envCopyBtn",
|
|
5377
|
+
"badgeOk": "k9eRya_badgeOk",
|
|
5378
|
+
"summaryOk": "k9eRya_summaryOk",
|
|
5374
5379
|
"summaryRunning": "k9eRya_summaryRunning",
|
|
5380
|
+
"envDesc": "k9eRya_envDesc",
|
|
5381
|
+
"display": "k9eRya_display",
|
|
5375
5382
|
"badgeRunning": "k9eRya_badgeRunning",
|
|
5376
|
-
"
|
|
5383
|
+
"headHint": "k9eRya_headHint",
|
|
5384
|
+
"summaryFail": "k9eRya_summaryFail",
|
|
5385
|
+
"badge": "k9eRya_badge",
|
|
5377
5386
|
"head": "k9eRya_head",
|
|
5387
|
+
"name": "k9eRya_name",
|
|
5388
|
+
"panel": "k9eRya_panel",
|
|
5378
5389
|
"badgeFail": "k9eRya_badgeFail",
|
|
5379
|
-
"
|
|
5380
|
-
"
|
|
5381
|
-
"
|
|
5390
|
+
"envRow": "k9eRya_envRow",
|
|
5391
|
+
"row": "k9eRya_row",
|
|
5392
|
+
"diagPulse": "k9eRya_diagPulse",
|
|
5382
5393
|
"runBtn": "k9eRya_runBtn",
|
|
5383
|
-
"headHint": "k9eRya_headHint",
|
|
5384
5394
|
"envTitle": "k9eRya_envTitle",
|
|
5385
|
-
"
|
|
5386
|
-
"
|
|
5387
|
-
"summary": "k9eRya_summary",
|
|
5388
|
-
"name": "k9eRya_name",
|
|
5389
|
-
"diagPulse": "k9eRya_diagPulse",
|
|
5390
|
-
"summaryFail": "k9eRya_summaryFail",
|
|
5391
|
-
"display": "k9eRya_display",
|
|
5392
|
-
"badgeIdle": "k9eRya_badgeIdle",
|
|
5393
|
-
"panel": "k9eRya_panel",
|
|
5394
|
-
"envCopyBtn": "k9eRya_envCopyBtn"
|
|
5395
|
+
"envLabel": "k9eRya_envLabel",
|
|
5396
|
+
"summary": "k9eRya_summary"
|
|
5395
5397
|
};
|
|
5396
5398
|
//#endregion
|
|
5397
5399
|
//#region src/client/components/views/DiagnosticsView.tsx
|
|
@@ -5569,57 +5571,57 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5569
5571
|
css: css$1
|
|
5570
5572
|
});
|
|
5571
5573
|
var LogsView_module_css_default = {
|
|
5572
|
-
"logList": "_3j77BW_logList",
|
|
5573
|
-
"footCount": "_3j77BW_footCount",
|
|
5574
5574
|
"catSettings": "_3j77BW_catSettings",
|
|
5575
|
-
"
|
|
5576
|
-
"
|
|
5577
|
-
"
|
|
5578
|
-
"
|
|
5579
|
-
"
|
|
5580
|
-
"
|
|
5575
|
+
"time": "_3j77BW_time",
|
|
5576
|
+
"moreEnd": "_3j77BW_moreEnd",
|
|
5577
|
+
"pathDialogHint": "_3j77BW_pathDialogHint",
|
|
5578
|
+
"panel": "_3j77BW_panel",
|
|
5579
|
+
"entry": "_3j77BW_entry",
|
|
5580
|
+
"pathDialogDesc": "_3j77BW_pathDialogDesc",
|
|
5581
5581
|
"filterChip": "_3j77BW_filterChip",
|
|
5582
|
+
"pathText": "_3j77BW_pathText",
|
|
5583
|
+
"badge": "_3j77BW_badge",
|
|
5584
|
+
"empty": "_3j77BW_empty",
|
|
5585
|
+
"previewRow": "_3j77BW_previewRow",
|
|
5586
|
+
"search": "_3j77BW_search",
|
|
5587
|
+
"badgeDebug": "_3j77BW_badgeDebug",
|
|
5588
|
+
"catInstall": "_3j77BW_catInstall",
|
|
5589
|
+
"foot": "_3j77BW_foot",
|
|
5590
|
+
"pathDialogReset": "_3j77BW_pathDialogReset",
|
|
5591
|
+
"catSystem": "_3j77BW_catSystem",
|
|
5592
|
+
"logList": "_3j77BW_logList",
|
|
5593
|
+
"pathDraft": "_3j77BW_pathDraft",
|
|
5594
|
+
"event": "_3j77BW_event",
|
|
5595
|
+
"more": "_3j77BW_more",
|
|
5582
5596
|
"badgeSuccess": "_3j77BW_badgeSuccess",
|
|
5583
|
-
"pathDialogRow": "_3j77BW_pathDialogRow",
|
|
5584
5597
|
"head": "_3j77BW_head",
|
|
5585
|
-
"footFail": "_3j77BW_footFail",
|
|
5586
|
-
"headHint": "_3j77BW_headHint",
|
|
5587
|
-
"linkBtn": "_3j77BW_linkBtn",
|
|
5588
|
-
"pathDraft": "_3j77BW_pathDraft",
|
|
5589
|
-
"search": "_3j77BW_search",
|
|
5590
|
-
"btn": "_3j77BW_btn",
|
|
5591
5598
|
"clearBtn": "_3j77BW_clearBtn",
|
|
5592
|
-
"
|
|
5593
|
-
"message": "_3j77BW_message",
|
|
5594
|
-
"more": "_3j77BW_more",
|
|
5595
|
-
"footPath": "_3j77BW_footPath",
|
|
5596
|
-
"pathDialogFoot": "_3j77BW_pathDialogFoot",
|
|
5597
|
-
"badgeWarn": "_3j77BW_badgeWarn",
|
|
5598
|
-
"searchInput": "_3j77BW_searchInput",
|
|
5599
|
+
"footCount": "_3j77BW_footCount",
|
|
5599
5600
|
"badgeInfo": "_3j77BW_badgeInfo",
|
|
5600
|
-
"pathDialog": "_3j77BW_pathDialog",
|
|
5601
|
-
"previewRow": "_3j77BW_previewRow",
|
|
5602
|
-
"moreEnd": "_3j77BW_moreEnd",
|
|
5603
|
-
"pathDialogDesc": "_3j77BW_pathDialogDesc",
|
|
5604
|
-
"pathRow": "_3j77BW_pathRow",
|
|
5605
|
-
"pathText": "_3j77BW_pathText",
|
|
5606
5601
|
"catUninstall": "_3j77BW_catUninstall",
|
|
5607
|
-
"pathDialogReset": "_3j77BW_pathDialogReset",
|
|
5608
5602
|
"list": "_3j77BW_list",
|
|
5609
|
-
"badgeError": "_3j77BW_badgeError",
|
|
5610
|
-
"entry": "_3j77BW_entry",
|
|
5611
|
-
"actions": "_3j77BW_actions",
|
|
5612
|
-
"foot": "_3j77BW_foot",
|
|
5613
5603
|
"footActions": "_3j77BW_footActions",
|
|
5614
|
-
"badgeDebug": "_3j77BW_badgeDebug",
|
|
5615
|
-
"catDiagnostics": "_3j77BW_catDiagnostics",
|
|
5616
|
-
"catSystem": "_3j77BW_catSystem",
|
|
5617
|
-
"empty": "_3j77BW_empty",
|
|
5618
5604
|
"filterChipActive": "_3j77BW_filterChipActive",
|
|
5619
|
-
"
|
|
5620
|
-
"
|
|
5605
|
+
"pathDialog": "_3j77BW_pathDialog",
|
|
5606
|
+
"searchInput": "_3j77BW_searchInput",
|
|
5607
|
+
"footFail": "_3j77BW_footFail",
|
|
5608
|
+
"headActions": "_3j77BW_headActions",
|
|
5609
|
+
"pathDialogRow": "_3j77BW_pathDialogRow",
|
|
5621
5610
|
"filterBar": "_3j77BW_filterBar",
|
|
5622
|
-
"
|
|
5611
|
+
"catBadge": "_3j77BW_catBadge",
|
|
5612
|
+
"catDiagnostics": "_3j77BW_catDiagnostics",
|
|
5613
|
+
"headHint": "_3j77BW_headHint",
|
|
5614
|
+
"pathDialogFoot": "_3j77BW_pathDialogFoot",
|
|
5615
|
+
"actions": "_3j77BW_actions",
|
|
5616
|
+
"pathRow": "_3j77BW_pathRow",
|
|
5617
|
+
"message": "_3j77BW_message",
|
|
5618
|
+
"pathLabel": "_3j77BW_pathLabel",
|
|
5619
|
+
"footPath": "_3j77BW_footPath",
|
|
5620
|
+
"badgeError": "_3j77BW_badgeError",
|
|
5621
|
+
"linkBtn": "_3j77BW_linkBtn",
|
|
5622
|
+
"badgeWarn": "_3j77BW_badgeWarn",
|
|
5623
|
+
"catUpdate": "_3j77BW_catUpdate",
|
|
5624
|
+
"btn": "_3j77BW_btn"
|
|
5623
5625
|
};
|
|
5624
5626
|
//#endregion
|
|
5625
5627
|
//#region src/client/components/modals/LogsModal.tsx
|
|
@@ -6725,13 +6727,23 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
6725
6727
|
kind: "revealFail"
|
|
6726
6728
|
});
|
|
6727
6729
|
};
|
|
6728
|
-
/** 「立即重启」:POST 同源 /restart,宿主进程自杀重启;随后轮询服务恢复后整页刷新。
|
|
6730
|
+
/** 「立即重启」:POST 同源 /restart,宿主进程自杀重启;随后轮询服务恢复后整页刷新。
|
|
6731
|
+
* 桌面端宿主归应用壳管(服务端回 `desktop: true` 且不重启):不轮询,改提示退出重开。 */
|
|
6729
6732
|
const requestRestart = async () => {
|
|
6730
6733
|
if (restarting) return;
|
|
6731
6734
|
setRestarting(true);
|
|
6735
|
+
let desktop = false;
|
|
6732
6736
|
try {
|
|
6733
|
-
await fetch("/dsh-plugin-hub/restart", { method: "POST" });
|
|
6737
|
+
desktop = (await (await fetch("/dsh-plugin-hub/restart", { method: "POST" })).json()).desktop === true;
|
|
6734
6738
|
} catch {}
|
|
6739
|
+
if (desktop) {
|
|
6740
|
+
setRestarting(false);
|
|
6741
|
+
setToast({
|
|
6742
|
+
id: Date.now(),
|
|
6743
|
+
kind: "restartDesktop"
|
|
6744
|
+
});
|
|
6745
|
+
return;
|
|
6746
|
+
}
|
|
6735
6747
|
let attempts = 0;
|
|
6736
6748
|
const poll = async () => {
|
|
6737
6749
|
attempts += 1;
|
|
@@ -6868,7 +6880,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
6868
6880
|
openSection: settingsSection,
|
|
6869
6881
|
onConsumedOpenSection: () => setSettingsSection(null)
|
|
6870
6882
|
}), showHubUpdate && (0, react.createElement)(HubUpdateModal, {
|
|
6871
|
-
info: catalog.hubUpdateInfo ?? { version: "1.6.
|
|
6883
|
+
info: catalog.hubUpdateInfo ?? { version: "1.6.2" },
|
|
6872
6884
|
lang,
|
|
6873
6885
|
t,
|
|
6874
6886
|
hasUpdate: catalog.hubHasUpdate,
|