dsh-plugin 1.3.7 → 1.3.8
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 +318 -307
- package/client/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client/components/PluginHubSection.tsx +4 -0
- package/src/client/components/catalog/CatalogList.tsx +11 -3
- package/src/client/components/views/MarketView.tsx +5 -1
- package/src/client/locales.ts +6 -2
- package/src/client/styles/List.module.css +24 -1
package/client/client.js
CHANGED
|
@@ -31,7 +31,8 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
31
31
|
fork: "Fork",
|
|
32
32
|
loading: "正在加载插件数据…",
|
|
33
33
|
failed: "插件数据加载失败",
|
|
34
|
-
|
|
34
|
+
failedDescNoProxy: "你的网络似乎不通,无法获取插件目录数据。请检查网络连接后重试;或点击右上角按钮在浏览器中打开插件中心。",
|
|
35
|
+
failedDescProxy: "你的网络似乎不通,或设置里的 HTTP 代理地址不可达,无法获取插件目录数据。请检查代理设置与网络连接后重试;或点击右上角按钮在浏览器中打开插件中心。",
|
|
35
36
|
retry: "重试",
|
|
36
37
|
install: "安装",
|
|
37
38
|
cliOnlyHint: "此插件可能需命令行辅助,失败时复制上方命令到 dsh 终端",
|
|
@@ -343,7 +344,8 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
343
344
|
fork: "Fork",
|
|
344
345
|
loading: "Loading plugin data…",
|
|
345
346
|
failed: "Failed to load plugin data",
|
|
346
|
-
|
|
347
|
+
failedDescNoProxy: "Your network seems unreachable, so the plugin catalog could not be loaded. Please check your connection and retry; or open the hub in your browser with the button above.",
|
|
348
|
+
failedDescProxy: "Your network seems unreachable, or the HTTP proxy in Settings is unreachable, so the plugin catalog could not be loaded. Please check the proxy address and your connection, then retry; or open the hub in your browser with the button above.",
|
|
347
349
|
retry: "Retry",
|
|
348
350
|
install: "Install",
|
|
349
351
|
cliOnlyHint: "This plugin may need command-line help; if it fails, copy the command above and run it in your dsh terminal",
|
|
@@ -656,42 +658,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
656
658
|
css: css$11
|
|
657
659
|
});
|
|
658
660
|
var Header_module_css_default = {
|
|
659
|
-
"
|
|
660
|
-
"hubUpdateBadge": "qikqja_hubUpdateBadge",
|
|
661
|
+
"headerRight": "qikqja_headerRight",
|
|
661
662
|
"resultCount": "qikqja_resultCount",
|
|
662
|
-
"
|
|
663
|
-
"sortGroup": "qikqja_sortGroup",
|
|
664
|
-
"header": "qikqja_header",
|
|
665
|
-
"tab": "qikqja_tab",
|
|
666
|
-
"segGroup": "qikqja_segGroup",
|
|
667
|
-
"versionBtn": "qikqja_versionBtn",
|
|
668
|
-
"tabCount": "qikqja_tabCount",
|
|
669
|
-
"tabsRow": "qikqja_tabsRow",
|
|
670
|
-
"brandTitle": "qikqja_brandTitle",
|
|
671
|
-
"tabs": "qikqja_tabs",
|
|
672
|
-
"title": "qikqja_title",
|
|
673
|
-
"logoIcon": "qikqja_logoIcon",
|
|
674
|
-
"githubIcon": "qikqja_githubIcon",
|
|
675
|
-
"tagline": "qikqja_tagline",
|
|
676
|
-
"adText": "qikqja_adText",
|
|
663
|
+
"adBanner": "qikqja_adBanner",
|
|
677
664
|
"segLabel": "qikqja_segLabel",
|
|
678
|
-
"headerRight": "qikqja_headerRight",
|
|
679
|
-
"githubLink": "qikqja_githubLink",
|
|
680
|
-
"resultSeg": "qikqja_resultSeg",
|
|
681
|
-
"headerTitleRow": "qikqja_headerTitleRow",
|
|
682
|
-
"controls": "qikqja_controls",
|
|
683
665
|
"adBadge": "qikqja_adBadge",
|
|
666
|
+
"search": "qikqja_search",
|
|
684
667
|
"root": "qikqja_root",
|
|
668
|
+
"headerTitleRow": "qikqja_headerTitleRow",
|
|
669
|
+
"resultSeg": "qikqja_resultSeg",
|
|
670
|
+
"tabCount": "qikqja_tabCount",
|
|
671
|
+
"githubIcon": "qikqja_githubIcon",
|
|
672
|
+
"title": "qikqja_title",
|
|
673
|
+
"segBtn": "qikqja_segBtn",
|
|
674
|
+
"tabs": "qikqja_tabs",
|
|
675
|
+
"versionBtn": "qikqja_versionBtn",
|
|
685
676
|
"aboutBtn": "qikqja_aboutBtn",
|
|
686
|
-
"
|
|
687
|
-
"
|
|
688
|
-
"
|
|
677
|
+
"logoIcon": "qikqja_logoIcon",
|
|
678
|
+
"controls": "qikqja_controls",
|
|
679
|
+
"taglineLink": "qikqja_taglineLink",
|
|
680
|
+
"hubUpdateBadge": "qikqja_hubUpdateBadge",
|
|
681
|
+
"copyIcon": "qikqja_copyIcon",
|
|
689
682
|
"segBtnActive": "qikqja_segBtnActive",
|
|
690
|
-
"
|
|
683
|
+
"searchRow": "qikqja_searchRow",
|
|
684
|
+
"adText": "qikqja_adText",
|
|
685
|
+
"tabActive": "qikqja_tabActive",
|
|
686
|
+
"githubLink": "qikqja_githubLink",
|
|
687
|
+
"tabsRow": "qikqja_tabsRow",
|
|
688
|
+
"sortGroup": "qikqja_sortGroup",
|
|
689
|
+
"header": "qikqja_header",
|
|
691
690
|
"langBtn": "qikqja_langBtn",
|
|
692
|
-
"
|
|
693
|
-
"
|
|
694
|
-
"
|
|
691
|
+
"brandTitle": "qikqja_brandTitle",
|
|
692
|
+
"tagline": "qikqja_tagline",
|
|
693
|
+
"tab": "qikqja_tab",
|
|
694
|
+
"segGroup": "qikqja_segGroup",
|
|
695
|
+
"version": "qikqja_version",
|
|
696
|
+
"adArrow": "qikqja_adArrow"
|
|
695
697
|
};
|
|
696
698
|
//#endregion
|
|
697
699
|
//#region \0dsh-css:src/client/styles/Modal.module.css.mjs
|
|
@@ -710,136 +712,136 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
710
712
|
css: css$10
|
|
711
713
|
});
|
|
712
714
|
var Modal_module_css_default = {
|
|
713
|
-
"
|
|
714
|
-
"
|
|
715
|
-
"
|
|
716
|
-
"
|
|
717
|
-
"
|
|
718
|
-
"
|
|
719
|
-
"restartNow": "BiQ1zG_restartNow",
|
|
720
|
-
"cliOnlyHint": "BiQ1zG_cliOnlyHint",
|
|
715
|
+
"modalClose": "BiQ1zG_modalClose",
|
|
716
|
+
"queuedHint": "BiQ1zG_queuedHint",
|
|
717
|
+
"resultCheckIcon": "BiQ1zG_resultCheckIcon",
|
|
718
|
+
"modalActions": "BiQ1zG_modalActions",
|
|
719
|
+
"logModal": "BiQ1zG_logModal",
|
|
720
|
+
"modalCopy": "BiQ1zG_modalCopy",
|
|
721
721
|
"restartLater": "BiQ1zG_restartLater",
|
|
722
|
-
"
|
|
723
|
-
"
|
|
724
|
-
"progressText": "BiQ1zG_progressText",
|
|
725
|
-
"resultTitle": "BiQ1zG_resultTitle",
|
|
726
|
-
"noticeIgnore": "BiQ1zG_noticeIgnore",
|
|
722
|
+
"queueSectionTitle": "BiQ1zG_queueSectionTitle",
|
|
723
|
+
"noticeMain": "BiQ1zG_noticeMain",
|
|
727
724
|
"failRepo": "BiQ1zG_failRepo",
|
|
728
|
-
"
|
|
729
|
-
"
|
|
725
|
+
"noticeList": "BiQ1zG_noticeList",
|
|
726
|
+
"noticeIgnore": "BiQ1zG_noticeIgnore",
|
|
727
|
+
"modalTitleBusy": "BiQ1zG_modalTitleBusy",
|
|
728
|
+
"detailLabel": "BiQ1zG_detailLabel",
|
|
729
|
+
"detailPathActions": "BiQ1zG_detailPathActions",
|
|
730
|
+
"modalDesc": "BiQ1zG_modalDesc",
|
|
731
|
+
"modalCloseIcon": "BiQ1zG_modalCloseIcon",
|
|
732
|
+
"noticeRowUpdate": "BiQ1zG_noticeRowUpdate",
|
|
733
|
+
"modalLabel": "BiQ1zG_modalLabel",
|
|
730
734
|
"modalLink": "BiQ1zG_modalLink",
|
|
731
|
-
"
|
|
732
|
-
"
|
|
735
|
+
"failDiagBtn": "BiQ1zG_failDiagBtn",
|
|
736
|
+
"restartNowWarning": "BiQ1zG_restartNowWarning",
|
|
737
|
+
"trustHint": "BiQ1zG_trustHint",
|
|
738
|
+
"linkIcon": "BiQ1zG_linkIcon",
|
|
739
|
+
"detailStatusPending": "BiQ1zG_detailStatusPending",
|
|
740
|
+
"detailStatusRunning": "BiQ1zG_detailStatusRunning",
|
|
741
|
+
"failCopy": "BiQ1zG_failCopy",
|
|
742
|
+
"progressHead": "BiQ1zG_progressHead",
|
|
743
|
+
"detailPathBtn": "BiQ1zG_detailPathBtn",
|
|
744
|
+
"progress": "BiQ1zG_progress",
|
|
745
|
+
"hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
|
|
746
|
+
"resultDesc": "BiQ1zG_resultDesc",
|
|
733
747
|
"confirmPrimary": "BiQ1zG_confirmPrimary",
|
|
748
|
+
"noticeTime": "BiQ1zG_noticeTime",
|
|
749
|
+
"queueRowBody": "BiQ1zG_queueRowBody",
|
|
750
|
+
"failNetworkTarget": "BiQ1zG_failNetworkTarget",
|
|
751
|
+
"noticeVersion": "BiQ1zG_noticeVersion",
|
|
752
|
+
"modal": "BiQ1zG_modal",
|
|
734
753
|
"failKindInstall": "BiQ1zG_failKindInstall",
|
|
735
|
-
"
|
|
736
|
-
"
|
|
737
|
-
"
|
|
738
|
-
"
|
|
739
|
-
"
|
|
754
|
+
"noticeBadgeFail": "BiQ1zG_noticeBadgeFail",
|
|
755
|
+
"detailStatusText": "BiQ1zG_detailStatusText",
|
|
756
|
+
"modalCancel": "BiQ1zG_modalCancel",
|
|
757
|
+
"result": "BiQ1zG_result",
|
|
758
|
+
"errorTitle": "BiQ1zG_errorTitle",
|
|
759
|
+
"modalCmdText": "BiQ1zG_modalCmdText",
|
|
760
|
+
"progressFill": "BiQ1zG_progressFill",
|
|
740
761
|
"toastIn": "BiQ1zG_toastIn",
|
|
762
|
+
"confirmIconDanger": "BiQ1zG_confirmIconDanger",
|
|
763
|
+
"noticeRow": "BiQ1zG_noticeRow",
|
|
764
|
+
"noticeRowOk": "BiQ1zG_noticeRowOk",
|
|
765
|
+
"modalIn": "BiQ1zG_modalIn",
|
|
766
|
+
"cliOnlyHint": "BiQ1zG_cliOnlyHint",
|
|
767
|
+
"queueRowStatus": "BiQ1zG_queueRowStatus",
|
|
768
|
+
"failEmpty": "BiQ1zG_failEmpty",
|
|
769
|
+
"detailMono": "BiQ1zG_detailMono",
|
|
770
|
+
"stripCancel": "BiQ1zG_stripCancel",
|
|
741
771
|
"errorCopySoft": "BiQ1zG_errorCopySoft",
|
|
742
|
-
"
|
|
772
|
+
"toastFail": "BiQ1zG_toastFail",
|
|
773
|
+
"resultCheck": "BiQ1zG_resultCheck",
|
|
774
|
+
"helpModal": "BiQ1zG_helpModal",
|
|
775
|
+
"modalCmdCopy": "BiQ1zG_modalCmdCopy",
|
|
776
|
+
"hubUpdateNotes": "BiQ1zG_hubUpdateNotes",
|
|
777
|
+
"dangerConfirm": "BiQ1zG_dangerConfirm",
|
|
778
|
+
"queueRow": "BiQ1zG_queueRow",
|
|
779
|
+
"confirmIcon": "BiQ1zG_confirmIcon",
|
|
780
|
+
"noticeTextFail": "BiQ1zG_noticeTextFail",
|
|
781
|
+
"hubUpdateMeta": "BiQ1zG_hubUpdateMeta",
|
|
782
|
+
"failHead": "BiQ1zG_failHead",
|
|
743
783
|
"aboutContent": "BiQ1zG_aboutContent",
|
|
784
|
+
"aboutMeta": "BiQ1zG_aboutMeta",
|
|
785
|
+
"detailRow": "BiQ1zG_detailRow",
|
|
786
|
+
"resultRestarting": "BiQ1zG_resultRestarting",
|
|
787
|
+
"noticeUpdateGo": "BiQ1zG_noticeUpdateGo",
|
|
788
|
+
"failClear": "BiQ1zG_failClear",
|
|
744
789
|
"errorHint": "BiQ1zG_errorHint",
|
|
745
|
-
"
|
|
746
|
-
"
|
|
747
|
-
"
|
|
748
|
-
"
|
|
790
|
+
"modalValue": "BiQ1zG_modalValue",
|
|
791
|
+
"toast": "BiQ1zG_toast",
|
|
792
|
+
"queueRowDesc": "BiQ1zG_queueRowDesc",
|
|
793
|
+
"progressText": "BiQ1zG_progressText",
|
|
794
|
+
"modalRow": "BiQ1zG_modalRow",
|
|
795
|
+
"errorModal": "BiQ1zG_errorModal",
|
|
796
|
+
"modalBody": "BiQ1zG_modalBody",
|
|
797
|
+
"queueRowTarget": "BiQ1zG_queueRowTarget",
|
|
749
798
|
"errorBox": "BiQ1zG_errorBox",
|
|
799
|
+
"queueSection": "BiQ1zG_queueSection",
|
|
750
800
|
"detailStars": "BiQ1zG_detailStars",
|
|
751
|
-
"
|
|
752
|
-
"
|
|
753
|
-
"
|
|
754
|
-
"
|
|
755
|
-
"
|
|
756
|
-
"
|
|
757
|
-
"toastFail": "BiQ1zG_toastFail",
|
|
758
|
-
"dangerConfirm": "BiQ1zG_dangerConfirm",
|
|
759
|
-
"confirmIconDanger": "BiQ1zG_confirmIconDanger",
|
|
760
|
-
"progressFillFail": "BiQ1zG_progressFillFail",
|
|
761
|
-
"pendingRowActions": "BiQ1zG_pendingRowActions",
|
|
762
|
-
"modalWide": "BiQ1zG_modalWide",
|
|
801
|
+
"detailPathText": "BiQ1zG_detailPathText",
|
|
802
|
+
"pendingRowStatus": "BiQ1zG_pendingRowStatus",
|
|
803
|
+
"failPrepareHint": "BiQ1zG_failPrepareHint",
|
|
804
|
+
"noticeHead": "BiQ1zG_noticeHead",
|
|
805
|
+
"failList": "BiQ1zG_failList",
|
|
806
|
+
"resultTitle": "BiQ1zG_resultTitle",
|
|
763
807
|
"noticeBadgeOk": "BiQ1zG_noticeBadgeOk",
|
|
764
|
-
"
|
|
808
|
+
"progressTrack": "BiQ1zG_progressTrack",
|
|
809
|
+
"failKind": "BiQ1zG_failKind",
|
|
810
|
+
"detailPath": "BiQ1zG_detailPath",
|
|
811
|
+
"failedCopyHint": "BiQ1zG_failedCopyHint",
|
|
765
812
|
"detailDim": "BiQ1zG_detailDim",
|
|
766
|
-
"
|
|
767
|
-
"detailLabel": "BiQ1zG_detailLabel",
|
|
768
|
-
"modalTitle": "BiQ1zG_modalTitle",
|
|
769
|
-
"modalCancel": "BiQ1zG_modalCancel",
|
|
770
|
-
"detailStatusPending": "BiQ1zG_detailStatusPending",
|
|
771
|
-
"pendingRowStatus": "BiQ1zG_pendingRowStatus",
|
|
772
|
-
"noticeList": "BiQ1zG_noticeList",
|
|
813
|
+
"queueRowTrack": "BiQ1zG_queueRowTrack",
|
|
773
814
|
"modalInstall": "BiQ1zG_modalInstall",
|
|
774
|
-
"noticeRowUpdate": "BiQ1zG_noticeRowUpdate",
|
|
775
|
-
"hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
|
|
776
|
-
"noticeUpdateGo": "BiQ1zG_noticeUpdateGo",
|
|
777
|
-
"queueRowTarget": "BiQ1zG_queueRowTarget",
|
|
778
|
-
"modalCmdText": "BiQ1zG_modalCmdText",
|
|
779
|
-
"resultCheck": "BiQ1zG_resultCheck",
|
|
780
|
-
"failKind": "BiQ1zG_failKind",
|
|
781
|
-
"aboutModal": "BiQ1zG_aboutModal",
|
|
782
|
-
"detailLink": "BiQ1zG_detailLink",
|
|
783
|
-
"modalDesc": "BiQ1zG_modalDesc",
|
|
784
|
-
"confirmIcon": "BiQ1zG_confirmIcon",
|
|
785
|
-
"modalCloseIcon": "BiQ1zG_modalCloseIcon",
|
|
786
|
-
"restartNowWarning": "BiQ1zG_restartNowWarning",
|
|
787
|
-
"detailPathText": "BiQ1zG_detailPathText",
|
|
788
|
-
"overlay": "BiQ1zG_overlay",
|
|
789
|
-
"noticeRow": "BiQ1zG_noticeRow",
|
|
790
|
-
"failNetworkTarget": "BiQ1zG_failNetworkTarget",
|
|
791
|
-
"modalValue": "BiQ1zG_modalValue",
|
|
792
|
-
"modalTitleQueued": "BiQ1zG_modalTitleQueued",
|
|
793
815
|
"noticeRemove": "BiQ1zG_noticeRemove",
|
|
816
|
+
"queueRowPct": "BiQ1zG_queueRowPct",
|
|
817
|
+
"overlay": "BiQ1zG_overlay",
|
|
818
|
+
"uninstallConfirm": "BiQ1zG_uninstallConfirm",
|
|
794
819
|
"confirmIconWrap": "BiQ1zG_confirmIconWrap",
|
|
795
|
-
"
|
|
796
|
-
"
|
|
797
|
-
"
|
|
798
|
-
"
|
|
799
|
-
"
|
|
800
|
-
"
|
|
801
|
-
"noticeBadgeFail": "BiQ1zG_noticeBadgeFail",
|
|
802
|
-
"detailPathBtn": "BiQ1zG_detailPathBtn",
|
|
803
|
-
"detailMono": "BiQ1zG_detailMono",
|
|
804
|
-
"noticeRowMain": "BiQ1zG_noticeRowMain",
|
|
805
|
-
"modalClose": "BiQ1zG_modalClose",
|
|
806
|
-
"queueSectionTitle": "BiQ1zG_queueSectionTitle",
|
|
807
|
-
"queueRowDesc": "BiQ1zG_queueRowDesc",
|
|
808
|
-
"queueRowTrack": "BiQ1zG_queueRowTrack",
|
|
809
|
-
"resultRestarting": "BiQ1zG_resultRestarting",
|
|
810
|
-
"progressFill": "BiQ1zG_progressFill",
|
|
811
|
-
"noticeTextFail": "BiQ1zG_noticeTextFail",
|
|
812
|
-
"queuedHint": "BiQ1zG_queuedHint",
|
|
820
|
+
"failBigIssue": "BiQ1zG_failBigIssue",
|
|
821
|
+
"noticeBadgeIcon": "BiQ1zG_noticeBadgeIcon",
|
|
822
|
+
"detailArrow": "BiQ1zG_detailArrow",
|
|
823
|
+
"detailLink": "BiQ1zG_detailLink",
|
|
824
|
+
"detailValue": "BiQ1zG_detailValue",
|
|
825
|
+
"detailModal": "BiQ1zG_detailModal",
|
|
813
826
|
"modalCmd": "BiQ1zG_modalCmd",
|
|
814
|
-
"
|
|
815
|
-
"
|
|
816
|
-
"
|
|
817
|
-
"
|
|
818
|
-
"
|
|
819
|
-
"trustHint": "BiQ1zG_trustHint",
|
|
820
|
-
"failPrepareHint": "BiQ1zG_failPrepareHint",
|
|
821
|
-
"modalActions": "BiQ1zG_modalActions",
|
|
822
|
-
"toast": "BiQ1zG_toast",
|
|
823
|
-
"progressHead": "BiQ1zG_progressHead",
|
|
824
|
-
"noticeVersion": "BiQ1zG_noticeVersion",
|
|
827
|
+
"noticeFoot": "BiQ1zG_noticeFoot",
|
|
828
|
+
"modalTitleQueued": "BiQ1zG_modalTitleQueued",
|
|
829
|
+
"noticeTextOk": "BiQ1zG_noticeTextOk",
|
|
830
|
+
"progressFillFail": "BiQ1zG_progressFillFail",
|
|
831
|
+
"noticeRowMain": "BiQ1zG_noticeRowMain",
|
|
825
832
|
"overlayIn": "BiQ1zG_overlayIn",
|
|
826
|
-
"
|
|
827
|
-
"detailRow": "BiQ1zG_detailRow",
|
|
828
|
-
"failEmpty": "BiQ1zG_failEmpty",
|
|
829
|
-
"queueRow": "BiQ1zG_queueRow",
|
|
830
|
-
"noticeHead": "BiQ1zG_noticeHead",
|
|
833
|
+
"restartNow": "BiQ1zG_restartNow",
|
|
831
834
|
"failRow": "BiQ1zG_failRow",
|
|
832
|
-
"
|
|
833
|
-
"
|
|
834
|
-
"
|
|
835
|
-
"
|
|
836
|
-
"
|
|
837
|
-
"
|
|
838
|
-
"
|
|
839
|
-
"
|
|
840
|
-
"
|
|
841
|
-
"
|
|
842
|
-
"failHead": "BiQ1zG_failHead"
|
|
835
|
+
"modalTitle": "BiQ1zG_modalTitle",
|
|
836
|
+
"modalHead": "BiQ1zG_modalHead",
|
|
837
|
+
"pendingRowActions": "BiQ1zG_pendingRowActions",
|
|
838
|
+
"modalWide": "BiQ1zG_modalWide",
|
|
839
|
+
"detailGrid": "BiQ1zG_detailGrid",
|
|
840
|
+
"aboutModal": "BiQ1zG_aboutModal",
|
|
841
|
+
"detailUpdateHint": "BiQ1zG_detailUpdateHint",
|
|
842
|
+
"hubUpdateModal": "BiQ1zG_hubUpdateModal",
|
|
843
|
+
"failKindUninstall": "BiQ1zG_failKindUninstall",
|
|
844
|
+
"queueRowHead": "BiQ1zG_queueRowHead"
|
|
843
845
|
};
|
|
844
846
|
//#endregion
|
|
845
847
|
//#region src/client/logic/install-command.ts
|
|
@@ -909,7 +911,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
909
911
|
* tsdown 构建时用 define 把 __PLUGIN_VERSION__ 替换成 package.json 的版本号;
|
|
910
912
|
* node --test 直接 import 本模块时该标识符不存在,typeof 守卫兜底为空串。
|
|
911
913
|
*/
|
|
912
|
-
const PLUGIN_VERSION = "1.3.
|
|
914
|
+
const PLUGIN_VERSION = "1.3.8";
|
|
913
915
|
const CATEGORY_ORDER = [
|
|
914
916
|
"interface",
|
|
915
917
|
"session",
|
|
@@ -1542,7 +1544,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
1542
1544
|
*/
|
|
1543
1545
|
const hubHasUpdate = (() => {
|
|
1544
1546
|
if (!hubUpdateInfo) return false;
|
|
1545
|
-
return hubUpdateInfo.version !== "1.3.
|
|
1547
|
+
return hubUpdateInfo.version !== "1.3.8";
|
|
1546
1548
|
})();
|
|
1547
1549
|
(0, react.useMemo)(() => {
|
|
1548
1550
|
if (!plugins) return [];
|
|
@@ -3951,7 +3953,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
3951
3953
|
}
|
|
3952
3954
|
//#endregion
|
|
3953
3955
|
//#region \0dsh-css:src/client/styles/List.module.css.mjs
|
|
3954
|
-
const css$9 = "._3XaZHa_body{flex-direction:column;flex:1;min-height:0;display:flex}._3XaZHa_list{flex-direction:column;flex:1;gap:6px;min-height:0;padding:2px 4px 4px 2px;display:flex;overflow-y:auto}._3XaZHa_moreSentinel{flex-shrink:0;height:1px}._3XaZHa_card{border:1px solid var(--hub-border-2);background:var(--hub-bg-1);border-radius:8px;justify-content:space-between;align-items:stretch;gap:12px;padding:9px 12px;transition:border-color .12s,background .12s;display:flex}._3XaZHa_card:hover{border-color:var(--hub-brand);background:var(--hub-bg-2)}._3XaZHa_cardMain{flex-direction:column;gap:4px;min-width:0;display:flex}._3XaZHa_cardHead{align-items:center;gap:6px;min-width:0;display:flex}._3XaZHa_cardTitle{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;line-height:18px;overflow:hidden}._3XaZHa_categoryBadge,._3XaZHa_verified,._3XaZHa_versionBadge,._3XaZHa_updateBadge{border:1px solid #0000;border-radius:4px;flex-shrink:0;padding:0 6px;font-size:10px;line-height:16px}._3XaZHa_categoryBadge{color:var(--hub-brand);border-color:var(--hub-border-ghost)}._3XaZHa_verified{color:var(--hub-success);border-color:var(--hub-success-border)}._3XaZHa_versionBadge{color:var(--hub-text-secondary);border-color:var(--hub-border-input)}._3XaZHa_updateBadge{color:var(--hub-warn);border-color:var(--hub-warn-border);background:var(--hub-warn-tint)}._3XaZHa_desc{color:var(--hub-text-secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:18px;display:-webkit-box;overflow:hidden}._3XaZHa_topics{flex-wrap:wrap;align-items:center;gap:4px;min-width:0;display:flex}._3XaZHa_topic{color:var(--hub-text-tertiary);background:var(--hub-bg-3);white-space:nowrap;border-radius:4px;flex-shrink:0;padding:0 6px;font-size:10px;line-height:16px}._3XaZHa_cardSide{flex-direction:column;flex-shrink:0;justify-content:space-between;align-items:flex-end;gap:6px;display:flex}._3XaZHa_stats{flex-direction:column;align-items:flex-end;gap:1px;display:flex}._3XaZHa_star{color:var(--hub-warn);white-space:nowrap;font-size:11px;line-height:16px}._3XaZHa_fork{color:var(--hub-text-tertiary);white-space:nowrap;font-size:11px;line-height:16px}._3XaZHa_date{color:var(--hub-text-tertiary);white-space:nowrap;font-size:10px;line-height:14px}._3XaZHa_installBtn,._3XaZHa_installBtnCopied,._3XaZHa_installBtnInstalled,._3XaZHa_installBtnUpdate,._3XaZHa_uninstallBtn,._3XaZHa_detailBtn{cursor:pointer;border-radius:6px;padding:2px 10px;font-size:11px;line-height:18px;transition:color .12s,border-color .12s,background .12s}._3XaZHa_installBtnInstalled{color:var(--hub-success);background:var(--hub-success-tint);cursor:default;-webkit-user-select:none;user-select:none;border:none}._3XaZHa_installBtnUpdate{color:#fff;background:var(--hub-warn);-webkit-user-select:none;user-select:none;border:none;font-weight:500}._3XaZHa_installBtnUpdate:hover{background:var(--hub-warn-strong)}._3XaZHa_uninstallBtn{color:var(--hub-danger);background:var(--hub-danger-tint);-webkit-user-select:none;user-select:none;border:none}._3XaZHa_uninstallBtn:hover{color:#fff;background:var(--hub-danger-hover)}body[data-ds-dark-theme] ._3XaZHa_uninstallBtn{color:#fff;background:var(--hub-danger)}body[data-ds-dark-theme] ._3XaZHa_uninstallBtn:hover{background:var(--hub-danger-hover)}._3XaZHa_installBtn{color:var(--hub-text-on-fill);background:var(--hub-btn-fill);-webkit-user-select:none;user-select:none;border:none;font-weight:500}._3XaZHa_installBtn:hover{background:var(--hub-btn-hover)}._3XaZHa_detailBtn{color:var(--hub-text-secondary);-webkit-user-select:none;user-select:none;background:0 0;border:none;align-items:center;text-decoration:none;display:inline-flex}._3XaZHa_detailBtn:hover{color:var(--hub-text-primary);background:var(--hub-bg-hover)}._3XaZHa_actions{align-items:center;gap:6px;display:flex}._3XaZHa_installBtnCopied{color:var(--hub-success);background:var(--hub-success-tint);-webkit-user-select:none;user-select:none;border:none}._3XaZHa_state{text-align:center;min-height:160px;color:var(--hub-text-tertiary);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:8px;padding:24px;font-size:12px;line-height:18px;display:flex}._3XaZHa_stateTitle{color:var(--hub-text-primary);font-size:13px;font-weight:600}._3XaZHa_stateDesc{max-width:420px}._3XaZHa_retryBtn{color:var(--hub-text-secondary);cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;border:none;border-radius:6px;
|
|
3956
|
+
const css$9 = "._3XaZHa_body{flex-direction:column;flex:1;min-height:0;display:flex}._3XaZHa_list{flex-direction:column;flex:1;gap:6px;min-height:0;padding:2px 4px 4px 2px;display:flex;overflow-y:auto}._3XaZHa_moreSentinel{flex-shrink:0;height:1px}._3XaZHa_card{border:1px solid var(--hub-border-2);background:var(--hub-bg-1);border-radius:8px;justify-content:space-between;align-items:stretch;gap:12px;padding:9px 12px;transition:border-color .12s,background .12s;display:flex}._3XaZHa_card:hover{border-color:var(--hub-brand);background:var(--hub-bg-2)}._3XaZHa_cardMain{flex-direction:column;gap:4px;min-width:0;display:flex}._3XaZHa_cardHead{align-items:center;gap:6px;min-width:0;display:flex}._3XaZHa_cardTitle{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;line-height:18px;overflow:hidden}._3XaZHa_categoryBadge,._3XaZHa_verified,._3XaZHa_versionBadge,._3XaZHa_updateBadge{border:1px solid #0000;border-radius:4px;flex-shrink:0;padding:0 6px;font-size:10px;line-height:16px}._3XaZHa_categoryBadge{color:var(--hub-brand);border-color:var(--hub-border-ghost)}._3XaZHa_verified{color:var(--hub-success);border-color:var(--hub-success-border)}._3XaZHa_versionBadge{color:var(--hub-text-secondary);border-color:var(--hub-border-input)}._3XaZHa_updateBadge{color:var(--hub-warn);border-color:var(--hub-warn-border);background:var(--hub-warn-tint)}._3XaZHa_desc{color:var(--hub-text-secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:18px;display:-webkit-box;overflow:hidden}._3XaZHa_topics{flex-wrap:wrap;align-items:center;gap:4px;min-width:0;display:flex}._3XaZHa_topic{color:var(--hub-text-tertiary);background:var(--hub-bg-3);white-space:nowrap;border-radius:4px;flex-shrink:0;padding:0 6px;font-size:10px;line-height:16px}._3XaZHa_cardSide{flex-direction:column;flex-shrink:0;justify-content:space-between;align-items:flex-end;gap:6px;display:flex}._3XaZHa_stats{flex-direction:column;align-items:flex-end;gap:1px;display:flex}._3XaZHa_star{color:var(--hub-warn);white-space:nowrap;font-size:11px;line-height:16px}._3XaZHa_fork{color:var(--hub-text-tertiary);white-space:nowrap;font-size:11px;line-height:16px}._3XaZHa_date{color:var(--hub-text-tertiary);white-space:nowrap;font-size:10px;line-height:14px}._3XaZHa_installBtn,._3XaZHa_installBtnCopied,._3XaZHa_installBtnInstalled,._3XaZHa_installBtnUpdate,._3XaZHa_uninstallBtn,._3XaZHa_detailBtn{cursor:pointer;border-radius:6px;padding:2px 10px;font-size:11px;line-height:18px;transition:color .12s,border-color .12s,background .12s}._3XaZHa_installBtnInstalled{color:var(--hub-success);background:var(--hub-success-tint);cursor:default;-webkit-user-select:none;user-select:none;border:none}._3XaZHa_installBtnUpdate{color:#fff;background:var(--hub-warn);-webkit-user-select:none;user-select:none;border:none;font-weight:500}._3XaZHa_installBtnUpdate:hover{background:var(--hub-warn-strong)}._3XaZHa_uninstallBtn{color:var(--hub-danger);background:var(--hub-danger-tint);-webkit-user-select:none;user-select:none;border:none}._3XaZHa_uninstallBtn:hover{color:#fff;background:var(--hub-danger-hover)}body[data-ds-dark-theme] ._3XaZHa_uninstallBtn{color:#fff;background:var(--hub-danger)}body[data-ds-dark-theme] ._3XaZHa_uninstallBtn:hover{background:var(--hub-danger-hover)}._3XaZHa_installBtn{color:var(--hub-text-on-fill);background:var(--hub-btn-fill);-webkit-user-select:none;user-select:none;border:none;font-weight:500}._3XaZHa_installBtn:hover{background:var(--hub-btn-hover)}._3XaZHa_detailBtn{color:var(--hub-text-secondary);-webkit-user-select:none;user-select:none;background:0 0;border:none;align-items:center;text-decoration:none;display:inline-flex}._3XaZHa_detailBtn:hover{color:var(--hub-text-primary);background:var(--hub-bg-hover)}._3XaZHa_actions{align-items:center;gap:6px;display:flex}._3XaZHa_installBtnCopied{color:var(--hub-success);background:var(--hub-success-tint);-webkit-user-select:none;user-select:none;border:none}._3XaZHa_state{text-align:center;min-height:160px;color:var(--hub-text-tertiary);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:8px;padding:24px;font-size:12px;line-height:18px;display:flex}._3XaZHa_stateTitle{color:var(--hub-text-primary);font-size:13px;font-weight:600}._3XaZHa_stateDesc{max-width:420px}._3XaZHa_retryBtn{color:var(--hub-text-secondary);cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;border:none;border-radius:6px;padding:4px 12px;font-size:12px;line-height:18px}._3XaZHa_retryBtn:hover{color:var(--hub-text-primary);background:var(--hub-bg-hover)}._3XaZHa_stateActions{align-items:center;gap:8px;margin-top:4px;display:flex}._3XaZHa_diagBtn{color:#fff;background:var(--hub-brand);cursor:pointer;-webkit-user-select:none;user-select:none;border:none;border-radius:6px;padding:4px 12px;font-size:12px;line-height:18px}._3XaZHa_diagBtn:hover{background:var(--hub-brand-hover)}._3XaZHa_footer{border-top:1px solid var(--hub-border-1);flex-shrink:0;justify-content:flex-end;align-items:center;gap:8px;padding:6px 4px 0;display:flex}._3XaZHa_footLink{color:var(--hub-brand);white-space:nowrap;-webkit-user-select:none;user-select:none;font-size:11px;line-height:16px;text-decoration:none}._3XaZHa_footLink:hover{text-decoration:underline}";
|
|
3955
3957
|
const tagId$9 = "dsh-plugin/List.module.css";
|
|
3956
3958
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$9) + "]") === null) {
|
|
3957
3959
|
const tag = document.createElement("style");
|
|
@@ -3966,38 +3968,40 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
3966
3968
|
css: css$9
|
|
3967
3969
|
});
|
|
3968
3970
|
var List_module_css_default = {
|
|
3969
|
-
"
|
|
3970
|
-
"
|
|
3971
|
-
"
|
|
3972
|
-
"
|
|
3971
|
+
"desc": "_3XaZHa_desc",
|
|
3972
|
+
"fork": "_3XaZHa_fork",
|
|
3973
|
+
"installBtn": "_3XaZHa_installBtn",
|
|
3974
|
+
"retryBtn": "_3XaZHa_retryBtn",
|
|
3973
3975
|
"uninstallBtn": "_3XaZHa_uninstallBtn",
|
|
3976
|
+
"installBtnInstalled": "_3XaZHa_installBtnInstalled",
|
|
3977
|
+
"state": "_3XaZHa_state",
|
|
3978
|
+
"diagBtn": "_3XaZHa_diagBtn",
|
|
3979
|
+
"cardMain": "_3XaZHa_cardMain",
|
|
3980
|
+
"cardSide": "_3XaZHa_cardSide",
|
|
3981
|
+
"topics": "_3XaZHa_topics",
|
|
3982
|
+
"detailBtn": "_3XaZHa_detailBtn",
|
|
3983
|
+
"cardHead": "_3XaZHa_cardHead",
|
|
3984
|
+
"stateActions": "_3XaZHa_stateActions",
|
|
3974
3985
|
"footer": "_3XaZHa_footer",
|
|
3975
|
-
"
|
|
3986
|
+
"installBtnUpdate": "_3XaZHa_installBtnUpdate",
|
|
3987
|
+
"actions": "_3XaZHa_actions",
|
|
3988
|
+
"list": "_3XaZHa_list",
|
|
3989
|
+
"stateTitle": "_3XaZHa_stateTitle",
|
|
3990
|
+
"updateBadge": "_3XaZHa_updateBadge",
|
|
3991
|
+
"topic": "_3XaZHa_topic",
|
|
3992
|
+
"star": "_3XaZHa_star",
|
|
3993
|
+
"stateDesc": "_3XaZHa_stateDesc",
|
|
3994
|
+
"verified": "_3XaZHa_verified",
|
|
3995
|
+
"stats": "_3XaZHa_stats",
|
|
3996
|
+
"date": "_3XaZHa_date",
|
|
3976
3997
|
"card": "_3XaZHa_card",
|
|
3977
|
-
"footLink": "_3XaZHa_footLink",
|
|
3978
|
-
"installBtn": "_3XaZHa_installBtn",
|
|
3979
3998
|
"cardTitle": "_3XaZHa_cardTitle",
|
|
3980
|
-
"stateDesc": "_3XaZHa_stateDesc",
|
|
3981
|
-
"installBtnCopied": "_3XaZHa_installBtnCopied",
|
|
3982
|
-
"list": "_3XaZHa_list",
|
|
3983
|
-
"state": "_3XaZHa_state",
|
|
3984
|
-
"stateTitle": "_3XaZHa_stateTitle",
|
|
3985
|
-
"cardSide": "_3XaZHa_cardSide",
|
|
3986
|
-
"moreSentinel": "_3XaZHa_moreSentinel",
|
|
3987
|
-
"star": "_3XaZHa_star",
|
|
3988
|
-
"cardHead": "_3XaZHa_cardHead",
|
|
3989
|
-
"updateBadge": "_3XaZHa_updateBadge",
|
|
3990
|
-
"installBtnUpdate": "_3XaZHa_installBtnUpdate",
|
|
3991
3999
|
"categoryBadge": "_3XaZHa_categoryBadge",
|
|
4000
|
+
"footLink": "_3XaZHa_footLink",
|
|
3992
4001
|
"body": "_3XaZHa_body",
|
|
3993
|
-
"
|
|
3994
|
-
"cardMain": "_3XaZHa_cardMain",
|
|
3995
|
-
"verified": "_3XaZHa_verified",
|
|
4002
|
+
"moreSentinel": "_3XaZHa_moreSentinel",
|
|
3996
4003
|
"versionBadge": "_3XaZHa_versionBadge",
|
|
3997
|
-
"
|
|
3998
|
-
"topic": "_3XaZHa_topic",
|
|
3999
|
-
"topics": "_3XaZHa_topics",
|
|
4000
|
-
"fork": "_3XaZHa_fork"
|
|
4004
|
+
"installBtnCopied": "_3XaZHa_installBtnCopied"
|
|
4001
4005
|
};
|
|
4002
4006
|
//#endregion
|
|
4003
4007
|
//#region src/client/hooks/useIncrementalList.ts
|
|
@@ -4100,7 +4104,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4100
4104
|
* the category or install-status filter changes so the replaced content is
|
|
4101
4105
|
* not mistaken for a no-op update.
|
|
4102
4106
|
*/
|
|
4103
|
-
function CatalogList({ plugins, failed, visible, total, t, langPath, reload, category, copied, installedName, installedVersion, hasUpdate, langKey, onInstall, onUninstall }) {
|
|
4107
|
+
function CatalogList({ plugins, failed, visible, total, t, langPath, reload, category, copied, installedName, installedVersion, hasUpdate, langKey, onInstall, onUninstall, hasProxy, onOpenDiagnostics }) {
|
|
4104
4108
|
/** 列表滚动容器:分类/搜索切换后列表内容替换但 scrollTop 保留,会让用户误以为列表没更新,需重置回顶部 */
|
|
4105
4109
|
const listRef = (0, react.useRef)(null);
|
|
4106
4110
|
/** 增量渲染:全量目录太大(4400+),只渲染首批,滚动接近底部时自动追加下一批 */
|
|
@@ -4111,10 +4115,13 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4111
4115
|
return (0, react.createElement)("div", { className: List_module_css_default.body }, (0, react.createElement)("div", {
|
|
4112
4116
|
ref: listRef,
|
|
4113
4117
|
className: List_module_css_default.list
|
|
4114
|
-
}, plugins === null && !failed && (0, react.createElement)("div", { className: List_module_css_default.state }, t("loading")), failed && (0, react.createElement)("div", { className: List_module_css_default.state }, (0, react.createElement)("div", { className: List_module_css_default.stateTitle }, t("failed")), (0, react.createElement)("div", { className: List_module_css_default.stateDesc }, t("
|
|
4118
|
+
}, plugins === null && !failed && (0, react.createElement)("div", { className: List_module_css_default.state }, t("loading")), failed && (0, react.createElement)("div", { className: List_module_css_default.state }, (0, react.createElement)("div", { className: List_module_css_default.stateTitle }, t("failed")), (0, react.createElement)("div", { className: List_module_css_default.stateDesc }, t(hasProxy ? "failedDescProxy" : "failedDescNoProxy")), (0, react.createElement)("div", { className: List_module_css_default.stateActions }, (0, react.createElement)("button", {
|
|
4115
4119
|
className: List_module_css_default.retryBtn,
|
|
4116
4120
|
onClick: () => reload()
|
|
4117
|
-
}, t("retry"))
|
|
4121
|
+
}, t("retry")), (0, react.createElement)("button", {
|
|
4122
|
+
className: List_module_css_default.diagBtn,
|
|
4123
|
+
onClick: onOpenDiagnostics
|
|
4124
|
+
}, t("failNetworkRunDiag")))), plugins !== null && !failed && visible.length === 0 && (0, react.createElement)("div", { className: List_module_css_default.state }, (0, react.createElement)("div", { className: List_module_css_default.stateTitle }, t("noResult")), (0, react.createElement)("div", { className: List_module_css_default.stateDesc }, t("noResultDesc"))), plugins !== null && !failed && shown.map((p) => (0, react.createElement)(PluginCard, {
|
|
4118
4125
|
key: p.ownerSlug ? `${p.ownerSlug}/${p.slug}` : p.slug,
|
|
4119
4126
|
plugin: p,
|
|
4120
4127
|
copied,
|
|
@@ -4149,7 +4156,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4149
4156
|
* it wires catalog state (query/sort/filter/category) to the small
|
|
4150
4157
|
* presentational components so PluginHubSection stays free of view internals.
|
|
4151
4158
|
*/
|
|
4152
|
-
function MarketView({ catalog, t, langPath, langKey, copied, resultText, onInstall, onUninstall }) {
|
|
4159
|
+
function MarketView({ catalog, t, langPath, langKey, copied, resultText, onInstall, onUninstall, hasProxy, onOpenDiagnostics }) {
|
|
4153
4160
|
return (0, react.createElement)(react.Fragment, null, (0, react.createElement)(CategoryTabs, {
|
|
4154
4161
|
category: catalog.category,
|
|
4155
4162
|
setCategory: catalog.setCategory,
|
|
@@ -4179,7 +4186,9 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4179
4186
|
hasUpdate: catalog.hasUpdate,
|
|
4180
4187
|
langKey,
|
|
4181
4188
|
onInstall,
|
|
4182
|
-
onUninstall
|
|
4189
|
+
onUninstall,
|
|
4190
|
+
hasProxy,
|
|
4191
|
+
onOpenDiagnostics
|
|
4183
4192
|
}));
|
|
4184
4193
|
}
|
|
4185
4194
|
//#endregion
|
|
@@ -4199,15 +4208,15 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4199
4208
|
css: css$8
|
|
4200
4209
|
});
|
|
4201
4210
|
var SectionTabs_module_css_default = {
|
|
4202
|
-
"tab": "_7tvizq_tab",
|
|
4203
|
-
"noticeBtn": "_7tvizq_noticeBtn",
|
|
4204
|
-
"root": "_7tvizq_root",
|
|
4205
|
-
"noticeIcon": "_7tvizq_noticeIcon",
|
|
4206
|
-
"noticeCount": "_7tvizq_noticeCount",
|
|
4207
4211
|
"tabCountActive": "_7tvizq_tabCountActive",
|
|
4208
4212
|
"tabActive": "_7tvizq_tabActive",
|
|
4213
|
+
"noticeIcon": "_7tvizq_noticeIcon",
|
|
4209
4214
|
"tabIcon": "_7tvizq_tabIcon",
|
|
4210
|
-
"
|
|
4215
|
+
"noticeBtn": "_7tvizq_noticeBtn",
|
|
4216
|
+
"noticeCount": "_7tvizq_noticeCount",
|
|
4217
|
+
"root": "_7tvizq_root",
|
|
4218
|
+
"tabCount": "_7tvizq_tabCount",
|
|
4219
|
+
"tab": "_7tvizq_tab"
|
|
4211
4220
|
};
|
|
4212
4221
|
//#endregion
|
|
4213
4222
|
//#region src/client/components/layout/SectionTabs.tsx
|
|
@@ -4284,42 +4293,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4284
4293
|
css: css$7
|
|
4285
4294
|
});
|
|
4286
4295
|
var InstalledView_module_css_default = {
|
|
4287
|
-
"rowRestart": "_1nXeGW_rowRestart",
|
|
4288
|
-
"statusDot": "_1nXeGW_statusDot",
|
|
4289
|
-
"rowActions": "_1nXeGW_rowActions",
|
|
4290
|
-
"rowTitleLine": "_1nXeGW_rowTitleLine",
|
|
4291
|
-
"rowUpdate": "_1nXeGW_rowUpdate",
|
|
4292
|
-
"emptyTitle": "_1nXeGW_emptyTitle",
|
|
4293
|
-
"toolbar": "_1nXeGW_toolbar",
|
|
4294
|
-
"root": "_1nXeGW_root",
|
|
4295
|
-
"rowTitle": "_1nXeGW_rowTitle",
|
|
4296
|
-
"segBtnActive": "_1nXeGW_segBtnActive",
|
|
4297
|
-
"exampleRow": "_1nXeGW_exampleRow",
|
|
4298
|
-
"statusInactive": "_1nXeGW_statusInactive",
|
|
4299
|
-
"rowMain": "_1nXeGW_rowMain",
|
|
4300
|
-
"rowCategory": "_1nXeGW_rowCategory",
|
|
4301
|
-
"segLabel": "_1nXeGW_segLabel",
|
|
4302
4296
|
"list": "_1nXeGW_list",
|
|
4303
4297
|
"rowDetail": "_1nXeGW_rowDetail",
|
|
4298
|
+
"rowMain": "_1nXeGW_rowMain",
|
|
4304
4299
|
"exampleBadge": "_1nXeGW_exampleBadge",
|
|
4305
|
-
"
|
|
4306
|
-
"
|
|
4307
|
-
"
|
|
4308
|
-
"
|
|
4309
|
-
"searchInput": "_1nXeGW_searchInput",
|
|
4310
|
-
"rowSourceTagManual": "_1nXeGW_rowSourceTagManual",
|
|
4311
|
-
"rowDesc": "_1nXeGW_rowDesc",
|
|
4300
|
+
"emptyTitle": "_1nXeGW_emptyTitle",
|
|
4301
|
+
"segGroup": "_1nXeGW_segGroup",
|
|
4302
|
+
"rowTitle": "_1nXeGW_rowTitle",
|
|
4303
|
+
"root": "_1nXeGW_root",
|
|
4312
4304
|
"rowRepo": "_1nXeGW_rowRepo",
|
|
4313
|
-
"
|
|
4314
|
-
"
|
|
4305
|
+
"rowRestart": "_1nXeGW_rowRestart",
|
|
4306
|
+
"emptyDesc": "_1nXeGW_emptyDesc",
|
|
4315
4307
|
"row": "_1nXeGW_row",
|
|
4316
|
-
"
|
|
4308
|
+
"segBtn": "_1nXeGW_segBtn",
|
|
4309
|
+
"rowUninstall": "_1nXeGW_rowUninstall",
|
|
4310
|
+
"searchInput": "_1nXeGW_searchInput",
|
|
4311
|
+
"versionBadge": "_1nXeGW_versionBadge",
|
|
4312
|
+
"rowUpdate": "_1nXeGW_rowUpdate",
|
|
4313
|
+
"exampleRow": "_1nXeGW_exampleRow",
|
|
4317
4314
|
"searchWrap": "_1nXeGW_searchWrap",
|
|
4318
|
-
"
|
|
4319
|
-
"
|
|
4315
|
+
"segLabel": "_1nXeGW_segLabel",
|
|
4316
|
+
"rowMeta": "_1nXeGW_rowMeta",
|
|
4317
|
+
"toolbar": "_1nXeGW_toolbar",
|
|
4320
4318
|
"updateBadge": "_1nXeGW_updateBadge",
|
|
4321
|
-
"
|
|
4322
|
-
"
|
|
4319
|
+
"rowActions": "_1nXeGW_rowActions",
|
|
4320
|
+
"segBtnActive": "_1nXeGW_segBtnActive",
|
|
4321
|
+
"statusPending": "_1nXeGW_statusPending",
|
|
4322
|
+
"segRow": "_1nXeGW_segRow",
|
|
4323
|
+
"rowSourceTagHub": "_1nXeGW_rowSourceTagHub",
|
|
4324
|
+
"rowTitleLine": "_1nXeGW_rowTitleLine",
|
|
4325
|
+
"empty": "_1nXeGW_empty",
|
|
4326
|
+
"rowDesc": "_1nXeGW_rowDesc",
|
|
4327
|
+
"statusInactive": "_1nXeGW_statusInactive",
|
|
4328
|
+
"rowSourceTagManual": "_1nXeGW_rowSourceTagManual",
|
|
4329
|
+
"rowCategory": "_1nXeGW_rowCategory",
|
|
4330
|
+
"statusDot": "_1nXeGW_statusDot",
|
|
4331
|
+
"rowSourceTag": "_1nXeGW_rowSourceTag"
|
|
4323
4332
|
};
|
|
4324
4333
|
//#endregion
|
|
4325
4334
|
//#region src/client/components/views/InstalledView.tsx
|
|
@@ -4565,28 +4574,28 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4565
4574
|
css: css$6
|
|
4566
4575
|
});
|
|
4567
4576
|
var CustomInstallView_module_css_default = {
|
|
4568
|
-
"installLabel": "zISxCG_installLabel",
|
|
4569
|
-
"installHelpBtn": "zISxCG_installHelpBtn",
|
|
4570
|
-
"installRow": "zISxCG_installRow",
|
|
4571
|
-
"installInput": "zISxCG_installInput",
|
|
4572
|
-
"installCardDisabled": "zISxCG_installCardDisabled",
|
|
4573
|
-
"installError": "zISxCG_installError",
|
|
4574
|
-
"installCardHead": "zISxCG_installCardHead",
|
|
4575
|
-
"helpLine": "zISxCG_helpLine",
|
|
4576
|
-
"helpNote": "zISxCG_helpNote",
|
|
4577
4577
|
"desc": "zISxCG_desc",
|
|
4578
|
-
"
|
|
4578
|
+
"installLabel": "zISxCG_installLabel",
|
|
4579
4579
|
"installInsertBtn": "zISxCG_installInsertBtn",
|
|
4580
4580
|
"installExample": "zISxCG_installExample",
|
|
4581
|
+
"installBtn": "zISxCG_installBtn",
|
|
4582
|
+
"channelOff": "zISxCG_channelOff",
|
|
4581
4583
|
"helpBody": "zISxCG_helpBody",
|
|
4584
|
+
"installCards": "zISxCG_installCards",
|
|
4585
|
+
"installInput": "zISxCG_installInput",
|
|
4582
4586
|
"channelOffBtn": "zISxCG_channelOffBtn",
|
|
4583
|
-
"
|
|
4587
|
+
"helpNote": "zISxCG_helpNote",
|
|
4584
4588
|
"helpCmd": "zISxCG_helpCmd",
|
|
4585
|
-
"installBtn": "zISxCG_installBtn",
|
|
4586
|
-
"installCards": "zISxCG_installCards",
|
|
4587
|
-
"root": "zISxCG_root",
|
|
4588
4589
|
"installCard": "zISxCG_installCard",
|
|
4589
|
-
"
|
|
4590
|
+
"helpLine": "zISxCG_helpLine",
|
|
4591
|
+
"installRow": "zISxCG_installRow",
|
|
4592
|
+
"installHelpBtn": "zISxCG_installHelpBtn",
|
|
4593
|
+
"installCardDisabled": "zISxCG_installCardDisabled",
|
|
4594
|
+
"root": "zISxCG_root",
|
|
4595
|
+
"installCardHead": "zISxCG_installCardHead",
|
|
4596
|
+
"installInputError": "zISxCG_installInputError",
|
|
4597
|
+
"installError": "zISxCG_installError",
|
|
4598
|
+
"channelOffText": "zISxCG_channelOffText"
|
|
4590
4599
|
};
|
|
4591
4600
|
//#endregion
|
|
4592
4601
|
//#region src/client/components/views/CustomInstallView.tsx
|
|
@@ -4873,30 +4882,30 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4873
4882
|
css: css$5
|
|
4874
4883
|
});
|
|
4875
4884
|
var SettingsView_module_css_default = {
|
|
4885
|
+
"proxyControl": "_506LLG_proxyControl",
|
|
4876
4886
|
"settingRowStack": "_506LLG_settingRowStack",
|
|
4877
|
-
"proxyHint": "_506LLG_proxyHint",
|
|
4878
|
-
"pageHeader": "_506LLG_pageHeader",
|
|
4879
|
-
"controlDropdown": "_506LLG_controlDropdown",
|
|
4880
|
-
"settingControlStack": "_506LLG_settingControlStack",
|
|
4881
|
-
"proxyHintOk": "_506LLG_proxyHintOk",
|
|
4882
|
-
"navItemActive": "_506LLG_navItemActive",
|
|
4883
4887
|
"settingDesc": "_506LLG_settingDesc",
|
|
4884
|
-
"
|
|
4885
|
-
"
|
|
4886
|
-
"
|
|
4888
|
+
"pageDesc": "_506LLG_pageDesc",
|
|
4889
|
+
"proxyHintFail": "_506LLG_proxyHintFail",
|
|
4890
|
+
"controlDropdown": "_506LLG_controlDropdown",
|
|
4891
|
+
"pageHeader": "_506LLG_pageHeader",
|
|
4892
|
+
"root": "_506LLG_root",
|
|
4887
4893
|
"navItem": "_506LLG_navItem",
|
|
4888
4894
|
"content": "_506LLG_content",
|
|
4889
|
-
"sidebar": "_506LLG_sidebar",
|
|
4890
4895
|
"settingControl": "_506LLG_settingControl",
|
|
4891
|
-
"
|
|
4892
|
-
"
|
|
4893
|
-
"
|
|
4894
|
-
"
|
|
4896
|
+
"textInput": "_506LLG_textInput",
|
|
4897
|
+
"navIcon": "_506LLG_navIcon",
|
|
4898
|
+
"proxyHint": "_506LLG_proxyHint",
|
|
4899
|
+
"proxyHintOk": "_506LLG_proxyHintOk",
|
|
4900
|
+
"navItemActive": "_506LLG_navItemActive",
|
|
4895
4901
|
"card": "_506LLG_card",
|
|
4896
|
-
"
|
|
4902
|
+
"resetBtn": "_506LLG_resetBtn",
|
|
4903
|
+
"settingTitle": "_506LLG_settingTitle",
|
|
4897
4904
|
"settingLabel": "_506LLG_settingLabel",
|
|
4898
4905
|
"pageTitle": "_506LLG_pageTitle",
|
|
4899
|
-
"
|
|
4906
|
+
"sidebar": "_506LLG_sidebar",
|
|
4907
|
+
"settingRow": "_506LLG_settingRow",
|
|
4908
|
+
"settingControlStack": "_506LLG_settingControlStack"
|
|
4900
4909
|
};
|
|
4901
4910
|
//#endregion
|
|
4902
4911
|
//#region \0dsh-css:src/client/styles/Dropdown.module.css.mjs
|
|
@@ -4915,18 +4924,18 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4915
4924
|
css: css$4
|
|
4916
4925
|
});
|
|
4917
4926
|
var Dropdown_module_css_default = {
|
|
4918
|
-
"
|
|
4927
|
+
"dropdownCount": "B_Gxsq_dropdownCount",
|
|
4919
4928
|
"dropdownBtn": "B_Gxsq_dropdownBtn",
|
|
4920
|
-
"dropdownItemActive": "B_Gxsq_dropdownItemActive",
|
|
4921
4929
|
"dropdownCountActive": "B_Gxsq_dropdownCountActive",
|
|
4922
|
-
"
|
|
4930
|
+
"dropdownItemActive": "B_Gxsq_dropdownItemActive",
|
|
4923
4931
|
"dropdownLabel": "B_Gxsq_dropdownLabel",
|
|
4924
|
-
"dropdown": "B_Gxsq_dropdown",
|
|
4925
|
-
"dropdownFill": "B_Gxsq_dropdownFill",
|
|
4926
|
-
"dropdownItem": "B_Gxsq_dropdownItem",
|
|
4927
4932
|
"dropdownArrowOpen": "B_Gxsq_dropdownArrowOpen",
|
|
4933
|
+
"dropdownFill": "B_Gxsq_dropdownFill",
|
|
4934
|
+
"dropdownItemLabel": "B_Gxsq_dropdownItemLabel",
|
|
4935
|
+
"dropdown": "B_Gxsq_dropdown",
|
|
4928
4936
|
"dropdownPanel": "B_Gxsq_dropdownPanel",
|
|
4929
|
-
"
|
|
4937
|
+
"dropdownArrow": "B_Gxsq_dropdownArrow",
|
|
4938
|
+
"dropdownItem": "B_Gxsq_dropdownItem"
|
|
4930
4939
|
};
|
|
4931
4940
|
//#endregion
|
|
4932
4941
|
//#region \0dsh-css:src/client/styles/Toggle.module.css.mjs
|
|
@@ -5047,29 +5056,29 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5047
5056
|
css: css$2
|
|
5048
5057
|
});
|
|
5049
5058
|
var DiagnosticsView_module_css_default = {
|
|
5050
|
-
"head": "k9eRya_head",
|
|
5051
|
-
"panel": "k9eRya_panel",
|
|
5052
|
-
"summary": "k9eRya_summary",
|
|
5053
|
-
"name": "k9eRya_name",
|
|
5054
|
-
"badgeOk": "k9eRya_badgeOk",
|
|
5055
|
-
"badge": "k9eRya_badge",
|
|
5056
|
-
"summaryFail": "k9eRya_summaryFail",
|
|
5057
|
-
"runBtn": "k9eRya_runBtn",
|
|
5058
|
-
"meta": "k9eRya_meta",
|
|
5059
|
-
"summaryOk": "k9eRya_summaryOk",
|
|
5060
5059
|
"envLabel": "k9eRya_envLabel",
|
|
5061
|
-
"
|
|
5060
|
+
"runBtn": "k9eRya_runBtn",
|
|
5061
|
+
"panel": "k9eRya_panel",
|
|
5062
5062
|
"row": "k9eRya_row",
|
|
5063
|
-
"
|
|
5064
|
-
"
|
|
5063
|
+
"summaryFail": "k9eRya_summaryFail",
|
|
5064
|
+
"head": "k9eRya_head",
|
|
5065
|
+
"display": "k9eRya_display",
|
|
5065
5066
|
"diagPulse": "k9eRya_diagPulse",
|
|
5067
|
+
"badgeRunning": "k9eRya_badgeRunning",
|
|
5068
|
+
"badgeIdle": "k9eRya_badgeIdle",
|
|
5066
5069
|
"envCopyBtn": "k9eRya_envCopyBtn",
|
|
5070
|
+
"badgeOk": "k9eRya_badgeOk",
|
|
5067
5071
|
"badgeFail": "k9eRya_badgeFail",
|
|
5068
|
-
"badgeIdle": "k9eRya_badgeIdle",
|
|
5069
|
-
"display": "k9eRya_display",
|
|
5070
|
-
"headHint": "k9eRya_headHint",
|
|
5071
5072
|
"envTitle": "k9eRya_envTitle",
|
|
5072
|
-
"
|
|
5073
|
+
"name": "k9eRya_name",
|
|
5074
|
+
"meta": "k9eRya_meta",
|
|
5075
|
+
"summaryOk": "k9eRya_summaryOk",
|
|
5076
|
+
"envDesc": "k9eRya_envDesc",
|
|
5077
|
+
"summary": "k9eRya_summary",
|
|
5078
|
+
"summaryRunning": "k9eRya_summaryRunning",
|
|
5079
|
+
"headHint": "k9eRya_headHint",
|
|
5080
|
+
"envRow": "k9eRya_envRow",
|
|
5081
|
+
"badge": "k9eRya_badge"
|
|
5073
5082
|
};
|
|
5074
5083
|
//#endregion
|
|
5075
5084
|
//#region src/client/components/views/DiagnosticsView.tsx
|
|
@@ -5244,57 +5253,57 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5244
5253
|
css: css$1
|
|
5245
5254
|
});
|
|
5246
5255
|
var LogsView_module_css_default = {
|
|
5247
|
-
"
|
|
5248
|
-
"
|
|
5256
|
+
"filterBar": "_3j77BW_filterBar",
|
|
5257
|
+
"list": "_3j77BW_list",
|
|
5258
|
+
"pathDialogRow": "_3j77BW_pathDialogRow",
|
|
5259
|
+
"pathLabel": "_3j77BW_pathLabel",
|
|
5260
|
+
"pathText": "_3j77BW_pathText",
|
|
5261
|
+
"badge": "_3j77BW_badge",
|
|
5262
|
+
"badgeSuccess": "_3j77BW_badgeSuccess",
|
|
5249
5263
|
"badgeError": "_3j77BW_badgeError",
|
|
5250
|
-
"
|
|
5264
|
+
"catSystem": "_3j77BW_catSystem",
|
|
5251
5265
|
"empty": "_3j77BW_empty",
|
|
5252
|
-
"
|
|
5253
|
-
"list": "_3j77BW_list",
|
|
5254
|
-
"head": "_3j77BW_head",
|
|
5255
|
-
"pathDialogDesc": "_3j77BW_pathDialogDesc",
|
|
5266
|
+
"pathDialogReset": "_3j77BW_pathDialogReset",
|
|
5256
5267
|
"previewRow": "_3j77BW_previewRow",
|
|
5257
|
-
"more": "_3j77BW_more",
|
|
5258
|
-
"footPath": "_3j77BW_footPath",
|
|
5259
|
-
"logList": "_3j77BW_logList",
|
|
5260
5268
|
"filterChip": "_3j77BW_filterChip",
|
|
5261
|
-
"
|
|
5262
|
-
"
|
|
5263
|
-
"
|
|
5264
|
-
"
|
|
5265
|
-
"
|
|
5266
|
-
"
|
|
5267
|
-
"badgeWarn": "_3j77BW_badgeWarn",
|
|
5268
|
-
"pathDialogRow": "_3j77BW_pathDialogRow",
|
|
5269
|
-
"footFail": "_3j77BW_footFail",
|
|
5269
|
+
"actions": "_3j77BW_actions",
|
|
5270
|
+
"time": "_3j77BW_time",
|
|
5271
|
+
"headHint": "_3j77BW_headHint",
|
|
5272
|
+
"panel": "_3j77BW_panel",
|
|
5273
|
+
"headActions": "_3j77BW_headActions",
|
|
5274
|
+
"linkBtn": "_3j77BW_linkBtn",
|
|
5270
5275
|
"pathDialogFoot": "_3j77BW_pathDialogFoot",
|
|
5271
|
-
"
|
|
5272
|
-
"
|
|
5276
|
+
"foot": "_3j77BW_foot",
|
|
5277
|
+
"catInstall": "_3j77BW_catInstall",
|
|
5278
|
+
"catDiagnostics": "_3j77BW_catDiagnostics",
|
|
5273
5279
|
"pathDraft": "_3j77BW_pathDraft",
|
|
5274
|
-
"
|
|
5275
|
-
"
|
|
5276
|
-
"
|
|
5277
|
-
"
|
|
5280
|
+
"clearBtn": "_3j77BW_clearBtn",
|
|
5281
|
+
"footActions": "_3j77BW_footActions",
|
|
5282
|
+
"head": "_3j77BW_head",
|
|
5283
|
+
"footFail": "_3j77BW_footFail",
|
|
5284
|
+
"entry": "_3j77BW_entry",
|
|
5285
|
+
"logList": "_3j77BW_logList",
|
|
5286
|
+
"more": "_3j77BW_more",
|
|
5278
5287
|
"badgeDebug": "_3j77BW_badgeDebug",
|
|
5288
|
+
"footCount": "_3j77BW_footCount",
|
|
5279
5289
|
"catSettings": "_3j77BW_catSettings",
|
|
5280
|
-
"
|
|
5281
|
-
"
|
|
5282
|
-
"clearBtn": "_3j77BW_clearBtn",
|
|
5283
|
-
"pathText": "_3j77BW_pathText",
|
|
5290
|
+
"btn": "_3j77BW_btn",
|
|
5291
|
+
"event": "_3j77BW_event",
|
|
5284
5292
|
"search": "_3j77BW_search",
|
|
5285
|
-
"
|
|
5286
|
-
"
|
|
5287
|
-
"
|
|
5288
|
-
"
|
|
5289
|
-
"
|
|
5293
|
+
"pathRow": "_3j77BW_pathRow",
|
|
5294
|
+
"badgeWarn": "_3j77BW_badgeWarn",
|
|
5295
|
+
"message": "_3j77BW_message",
|
|
5296
|
+
"filterChipActive": "_3j77BW_filterChipActive",
|
|
5297
|
+
"pathDialogDesc": "_3j77BW_pathDialogDesc",
|
|
5298
|
+
"moreEnd": "_3j77BW_moreEnd",
|
|
5299
|
+
"footPath": "_3j77BW_footPath",
|
|
5300
|
+
"pathDialog": "_3j77BW_pathDialog",
|
|
5301
|
+
"badgeInfo": "_3j77BW_badgeInfo",
|
|
5302
|
+
"catUpdate": "_3j77BW_catUpdate",
|
|
5290
5303
|
"searchInput": "_3j77BW_searchInput",
|
|
5291
|
-
"
|
|
5292
|
-
"pathLabel": "_3j77BW_pathLabel",
|
|
5293
|
-
"badge": "_3j77BW_badge",
|
|
5294
|
-
"entry": "_3j77BW_entry",
|
|
5295
|
-
"headHint": "_3j77BW_headHint",
|
|
5304
|
+
"catBadge": "_3j77BW_catBadge",
|
|
5296
5305
|
"catUninstall": "_3j77BW_catUninstall",
|
|
5297
|
-
"
|
|
5306
|
+
"pathDialogHint": "_3j77BW_pathDialogHint"
|
|
5298
5307
|
};
|
|
5299
5308
|
//#endregion
|
|
5300
5309
|
//#region src/client/components/modals/LogsModal.tsx
|
|
@@ -6465,7 +6474,9 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
6465
6474
|
setUninstallDone(false);
|
|
6466
6475
|
queue.clearModalTask();
|
|
6467
6476
|
setUninstallPlugin(p);
|
|
6468
|
-
}
|
|
6477
|
+
},
|
|
6478
|
+
hasProxy: (hubSettings.proxy ?? "").trim() !== "",
|
|
6479
|
+
onOpenDiagnostics: openDiagnostics
|
|
6469
6480
|
}) : view === "installed" ? (0, react.createElement)(InstalledView, {
|
|
6470
6481
|
items: catalog.installedItems,
|
|
6471
6482
|
langKey,
|
|
@@ -6531,7 +6542,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
6531
6542
|
openSection: settingsSection,
|
|
6532
6543
|
onConsumedOpenSection: () => setSettingsSection(null)
|
|
6533
6544
|
}), showHubUpdate && (0, react.createElement)(HubUpdateModal, {
|
|
6534
|
-
info: catalog.hubUpdateInfo ?? { version: "1.3.
|
|
6545
|
+
info: catalog.hubUpdateInfo ?? { version: "1.3.8" },
|
|
6535
6546
|
lang,
|
|
6536
6547
|
t,
|
|
6537
6548
|
hasUpdate: catalog.hubHasUpdate,
|