@logictan/dsh-config-manager 0.1.61 → 0.1.62
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/lib/adapters/credentials.d.ts +1 -1
- package/lib/client.d.ts +0 -3
- package/lib/client.js +262 -268
- package/lib/core/analyzer.js +5 -4
- package/lib/core/exporter.d.ts +1 -4
- package/lib/core/exporter.js +14 -45
- package/lib/core/importer.d.ts +1 -1
- package/lib/core/index.d.ts +1 -1
- package/lib/core/messages.d.ts +1 -5
- package/lib/core/messages.js +2 -10
- package/lib/core/types.d.ts +8 -12
- package/lib/index.d.ts +2 -2
- package/lib/index.js +4 -57
- package/lib/security/index.d.ts +1 -3
- package/lib/security/index.js +1 -3
- package/lib/sync/transport.d.ts +2 -2
- package/lib/sync/transport.js +1 -1
- package/lib/ui/i18n.d.ts +0 -3
- package/lib/ui/i18n.js +0 -6
- package/lib/ui/report.js +1 -2
- package/lib/ui/test-helpers.d.ts +0 -6
- package/lib/ui/test-helpers.js +1 -5
- package/lib/ui/types.d.ts +0 -13
- package/package.json +1 -1
- package/src/adapters/credentials.ts +1 -1
- package/src/client/config-manager.module.css +1 -1
- package/src/client/run-store.test.ts +1 -1
- package/src/client/sync/SyncSettingsView.tsx +5 -5
- package/src/client/sync/sync-locales.ts +0 -1
- package/src/core/analyzer.ts +5 -4
- package/src/core/exporter.ts +15 -47
- package/src/core/importer.ts +1 -1
- package/src/core/index.ts +1 -1
- package/src/core/messages.ts +2 -10
- package/src/core/smoke.test.ts +5 -5
- package/src/core/types.ts +8 -12
- package/src/index.ts +5 -56
- package/src/security/index.ts +1 -3
- package/src/security/security.test.ts +0 -361
- package/src/sync/transport.ts +3 -3
- package/src/ui/i18n.ts +0 -6
- package/src/ui/report.ts +1 -2
- package/src/ui/test-helpers.ts +3 -7
- package/src/ui/types.ts +0 -10
- package/lib/security/encryption.d.ts +0 -85
- package/lib/security/encryption.js +0 -279
- package/src/security/encryption.ts +0 -335
package/lib/client.js
CHANGED
|
@@ -89,11 +89,9 @@ const uiZh = {
|
|
|
89
89
|
"report.security": "安全:",
|
|
90
90
|
"report.apiKeysExcluded": "API 密钥已排除:",
|
|
91
91
|
"report.containsSecrets": "包含密钥:",
|
|
92
|
-
"report.encrypted": "已加密:",
|
|
93
92
|
"report.redacted": "{count} 个敏感字段已脱敏",
|
|
94
93
|
"report.file": "文件:",
|
|
95
94
|
"report.yes": "是",
|
|
96
|
-
"report.yesEncrypted": "是(加密)",
|
|
97
95
|
"report.no": "否",
|
|
98
96
|
"report.importedRestored": "已导入/恢复",
|
|
99
97
|
"report.skipped": "跳过",
|
|
@@ -205,7 +203,6 @@ const uiZh = {
|
|
|
205
203
|
"sync.pushOk": "推送成功(快照 {id})",
|
|
206
204
|
"sync.pushPreviewHeadline": "将推送 {total} 个分区({changed} 个有变化)",
|
|
207
205
|
"sync.pushPreviewHint": "以上为只读预览,不会写入远端。确认后点击「推送」才真正上传。",
|
|
208
|
-
"sync.pushPreviewEncrypted": "加密快照:载荷将整体加密,各分区相对基线的变化不可比对。",
|
|
209
206
|
"sync.pullFailed": "拉取失败",
|
|
210
207
|
"sync.pullOk": "远端快照 {id} 差异预览:共 {count} 项变更",
|
|
211
208
|
"sync.pullEmpty": "远端快照与本地一致(无变更)",
|
|
@@ -359,11 +356,9 @@ const uiEn = {
|
|
|
359
356
|
"report.security": "Security:",
|
|
360
357
|
"report.apiKeysExcluded": "API Keys excluded:",
|
|
361
358
|
"report.containsSecrets": "Contains secrets:",
|
|
362
|
-
"report.encrypted": "Encrypted:",
|
|
363
359
|
"report.redacted": "{count} sensitive field(s) redacted",
|
|
364
360
|
"report.file": "File:",
|
|
365
361
|
"report.yes": "yes",
|
|
366
|
-
"report.yesEncrypted": "yes (encrypted)",
|
|
367
362
|
"report.no": "no",
|
|
368
363
|
"report.importedRestored": "imported/restored",
|
|
369
364
|
"report.skipped": "skipped",
|
|
@@ -475,7 +470,6 @@ const uiEn = {
|
|
|
475
470
|
"sync.pushOk": "Push succeeded (snapshot {id})",
|
|
476
471
|
"sync.pushPreviewHeadline": "Will push {total} section(s) ({changed} changed)",
|
|
477
472
|
"sync.pushPreviewHint": "Read-only preview above — nothing is written to the remote. Click \"Push\" to actually upload.",
|
|
478
|
-
"sync.pushPreviewEncrypted": "Encrypted snapshot: the payload is encrypted as a whole; per-section changes vs the baseline cannot be compared.",
|
|
479
473
|
"sync.pullFailed": "Pull failed",
|
|
480
474
|
"sync.pullOk": "Remote snapshot {id} diff preview: {count} change(s)",
|
|
481
475
|
"sync.pullEmpty": "Remote snapshot matches local (no changes)",
|
|
@@ -1560,297 +1554,297 @@ if (typeof document !== "undefined" && document.querySelector("style[data-tag=\"
|
|
|
1560
1554
|
document.head.appendChild(tag);
|
|
1561
1555
|
}
|
|
1562
1556
|
var config_manager_module_css_default = {
|
|
1563
|
-
"
|
|
1564
|
-
"
|
|
1565
|
-
"
|
|
1566
|
-
"
|
|
1557
|
+
"statSeg": "A55DgG_statSeg",
|
|
1558
|
+
"activityHeader": "A55DgG_activityHeader",
|
|
1559
|
+
"snapshotPickerRow": "A55DgG_snapshotPickerRow",
|
|
1560
|
+
"groupLabel": "A55DgG_groupLabel",
|
|
1561
|
+
"aboutLinkRow": "A55DgG_aboutLinkRow",
|
|
1567
1562
|
"cellTitle": "A55DgG_cellTitle",
|
|
1568
|
-
"
|
|
1569
|
-
"
|
|
1563
|
+
"categoryDesc": "A55DgG_categoryDesc",
|
|
1564
|
+
"optionsHeader": "A55DgG_optionsHeader",
|
|
1565
|
+
"pathValue": "A55DgG_pathValue",
|
|
1566
|
+
"pathMappingList": "A55DgG_pathMappingList",
|
|
1570
1567
|
"historyScroll": "A55DgG_historyScroll",
|
|
1571
|
-
"
|
|
1572
|
-
"
|
|
1573
|
-
"
|
|
1574
|
-
"progressBar": "A55DgG_progressBar",
|
|
1575
|
-
"activityTitle": "A55DgG_activityTitle",
|
|
1576
|
-
"activityBadge": "A55DgG_activityBadge",
|
|
1577
|
-
"secretsList": "A55DgG_secretsList",
|
|
1578
|
-
"infoGrid": "A55DgG_infoGrid",
|
|
1579
|
-
"factValue": "A55DgG_factValue",
|
|
1568
|
+
"statValueSmall": "A55DgG_statValueSmall",
|
|
1569
|
+
"mono": "A55DgG_mono",
|
|
1570
|
+
"drawerTitle": "A55DgG_drawerTitle",
|
|
1580
1571
|
"exportItem": "A55DgG_exportItem",
|
|
1581
|
-
"
|
|
1572
|
+
"pickerAction": "A55DgG_pickerAction",
|
|
1573
|
+
"conflictItem": "A55DgG_conflictItem",
|
|
1574
|
+
"statusDot": "A55DgG_statusDot",
|
|
1575
|
+
"metricGrid": "A55DgG_metricGrid",
|
|
1576
|
+
"tableWrap": "A55DgG_tableWrap",
|
|
1577
|
+
"snapshotRowMain": "A55DgG_snapshotRowMain",
|
|
1578
|
+
"num": "A55DgG_num",
|
|
1579
|
+
"dialogFooter": "A55DgG_dialogFooter",
|
|
1580
|
+
"warnText": "A55DgG_warnText",
|
|
1581
|
+
"errorLine": "A55DgG_errorLine",
|
|
1582
|
+
"statMeta": "A55DgG_statMeta",
|
|
1583
|
+
"checkboxRow": "A55DgG_checkboxRow",
|
|
1584
|
+
"badgeInfo": "A55DgG_badgeInfo",
|
|
1585
|
+
"drawerMask": "A55DgG_drawerMask",
|
|
1586
|
+
"backupFileNote": "A55DgG_backupFileNote",
|
|
1587
|
+
"tableScroll": "A55DgG_tableScroll",
|
|
1588
|
+
"toast": "A55DgG_toast",
|
|
1589
|
+
"activityKind": "A55DgG_activityKind",
|
|
1590
|
+
"factGrid": "A55DgG_factGrid",
|
|
1591
|
+
"kindTagInfo": "A55DgG_kindTagInfo",
|
|
1592
|
+
"sectionRow": "A55DgG_sectionRow",
|
|
1593
|
+
"cliName": "A55DgG_cliName",
|
|
1594
|
+
"shellNav": "A55DgG_shellNav",
|
|
1595
|
+
"cellMeta": "A55DgG_cellMeta",
|
|
1596
|
+
"activityBadge": "A55DgG_activityBadge",
|
|
1597
|
+
"conflictList": "A55DgG_conflictList",
|
|
1598
|
+
"logLine": "A55DgG_logLine",
|
|
1599
|
+
"cellMetaNote": "A55DgG_cellMetaNote",
|
|
1600
|
+
"stepperConnector": "A55DgG_stepperConnector",
|
|
1601
|
+
"wizardCard": "A55DgG_wizardCard",
|
|
1602
|
+
"syncChannelHead": "A55DgG_syncChannelHead",
|
|
1603
|
+
"reportList": "A55DgG_reportList",
|
|
1604
|
+
"quickActionSymbol": "A55DgG_quickActionSymbol",
|
|
1605
|
+
"shellMain": "A55DgG_shellMain",
|
|
1606
|
+
"backupFileList": "A55DgG_backupFileList",
|
|
1607
|
+
"exportGroup": "A55DgG_exportGroup",
|
|
1608
|
+
"kindTagWarn": "A55DgG_kindTagWarn",
|
|
1609
|
+
"navTab": "A55DgG_navTab",
|
|
1610
|
+
"dialogBody": "A55DgG_dialogBody",
|
|
1611
|
+
"actionRow": "A55DgG_actionRow",
|
|
1612
|
+
"rollbackBox": "A55DgG_rollbackBox",
|
|
1613
|
+
"hiddenFile": "A55DgG_hiddenFile",
|
|
1614
|
+
"progressBadge": "A55DgG_progressBadge",
|
|
1615
|
+
"confirmScroll": "A55DgG_confirmScroll",
|
|
1616
|
+
"metricLabel": "A55DgG_metricLabel",
|
|
1617
|
+
"statusSpacer": "A55DgG_statusSpacer",
|
|
1618
|
+
"reasonList": "A55DgG_reasonList",
|
|
1619
|
+
"consultSection": "A55DgG_consultSection",
|
|
1620
|
+
"modeTab": "A55DgG_modeTab",
|
|
1621
|
+
"emptyHeroBody": "A55DgG_emptyHeroBody",
|
|
1622
|
+
"dialogBodyScroll": "A55DgG_dialogBodyScroll",
|
|
1582
1623
|
"activityRows": "A55DgG_activityRows",
|
|
1583
|
-
"
|
|
1584
|
-
"
|
|
1624
|
+
"viewBody": "A55DgG_viewBody",
|
|
1625
|
+
"profileRowHeader": "A55DgG_profileRowHeader",
|
|
1626
|
+
"severityError": "A55DgG_severityError",
|
|
1627
|
+
"scheduleFacts": "A55DgG_scheduleFacts",
|
|
1628
|
+
"ovGrid": "A55DgG_ovGrid",
|
|
1629
|
+
"marketFilterSearch": "A55DgG_marketFilterSearch",
|
|
1630
|
+
"badgeOk": "A55DgG_badgeOk",
|
|
1631
|
+
"activityCard": "A55DgG_activityCard",
|
|
1585
1632
|
"toastGlyph": "A55DgG_toastGlyph",
|
|
1586
|
-
"
|
|
1587
|
-
"
|
|
1633
|
+
"sectionGrid": "A55DgG_sectionGrid",
|
|
1634
|
+
"statusPulse": "A55DgG_statusPulse",
|
|
1635
|
+
"dialogHeader": "A55DgG_dialogHeader",
|
|
1636
|
+
"secretsList": "A55DgG_secretsList",
|
|
1588
1637
|
"categoryName": "A55DgG_categoryName",
|
|
1589
|
-
"
|
|
1638
|
+
"emptyHeroSymbol": "A55DgG_emptyHeroSymbol",
|
|
1639
|
+
"spin": "A55DgG_spin",
|
|
1640
|
+
"conflictId": "A55DgG_conflictId",
|
|
1641
|
+
"toastText": "A55DgG_toastText",
|
|
1642
|
+
"progressBadgeSection": "A55DgG_progressBadgeSection",
|
|
1643
|
+
"quickActionTitle": "A55DgG_quickActionTitle",
|
|
1644
|
+
"errorActionLabel": "A55DgG_errorActionLabel",
|
|
1590
1645
|
"copyBtn": "A55DgG_copyBtn",
|
|
1646
|
+
"statusBar": "A55DgG_statusBar",
|
|
1647
|
+
"toastIn": "A55DgG_toastIn",
|
|
1648
|
+
"statGrid": "A55DgG_statGrid",
|
|
1649
|
+
"kvKey": "A55DgG_kvKey",
|
|
1650
|
+
"dialogContentCenter": "A55DgG_dialogContentCenter",
|
|
1651
|
+
"dialogWide": "A55DgG_dialogWide",
|
|
1591
1652
|
"empty": "A55DgG_empty",
|
|
1592
|
-
"
|
|
1593
|
-
"
|
|
1594
|
-
"
|
|
1595
|
-
"
|
|
1596
|
-
"
|
|
1597
|
-
"
|
|
1598
|
-
"
|
|
1599
|
-
"
|
|
1600
|
-
"
|
|
1601
|
-
"
|
|
1653
|
+
"headRow": "A55DgG_headRow",
|
|
1654
|
+
"statStrip": "A55DgG_statStrip",
|
|
1655
|
+
"pathNew": "A55DgG_pathNew",
|
|
1656
|
+
"pathRow": "A55DgG_pathRow",
|
|
1657
|
+
"sectionSize": "A55DgG_sectionSize",
|
|
1658
|
+
"historySummary": "A55DgG_historySummary",
|
|
1659
|
+
"ovActivityText": "A55DgG_ovActivityText",
|
|
1660
|
+
"dim": "A55DgG_dim",
|
|
1661
|
+
"snapshotRowHeader": "A55DgG_snapshotRowHeader",
|
|
1662
|
+
"toastViewport": "A55DgG_toastViewport",
|
|
1663
|
+
"choiceTitle": "A55DgG_choiceTitle",
|
|
1664
|
+
"spinnerLabel": "A55DgG_spinnerLabel",
|
|
1665
|
+
"conflictPrefix": "A55DgG_conflictPrefix",
|
|
1666
|
+
"sectionName": "A55DgG_sectionName",
|
|
1667
|
+
"categoryItem": "A55DgG_categoryItem",
|
|
1668
|
+
"navActions": "A55DgG_navActions",
|
|
1669
|
+
"dangerButton": "A55DgG_dangerButton",
|
|
1670
|
+
"emptyHeroTitle": "A55DgG_emptyHeroTitle",
|
|
1671
|
+
"snapshotRow": "A55DgG_snapshotRow",
|
|
1672
|
+
"nextStepsGroup": "A55DgG_nextStepsGroup",
|
|
1673
|
+
"errorAction": "A55DgG_errorAction",
|
|
1674
|
+
"infoGrid": "A55DgG_infoGrid",
|
|
1602
1675
|
"ovMain": "A55DgG_ovMain",
|
|
1603
|
-
"
|
|
1604
|
-
"
|
|
1605
|
-
"errorLine": "A55DgG_errorLine",
|
|
1606
|
-
"reasonLine": "A55DgG_reasonLine",
|
|
1607
|
-
"historyRowMain": "A55DgG_historyRowMain",
|
|
1608
|
-
"errorBanner": "A55DgG_errorBanner",
|
|
1609
|
-
"todoRow": "A55DgG_todoRow",
|
|
1676
|
+
"factValue": "A55DgG_factValue",
|
|
1677
|
+
"spinnerWrap": "A55DgG_spinnerWrap",
|
|
1610
1678
|
"scheduleRow": "A55DgG_scheduleRow",
|
|
1611
|
-
"
|
|
1612
|
-
"
|
|
1613
|
-
"
|
|
1614
|
-
"
|
|
1615
|
-
"
|
|
1616
|
-
"
|
|
1679
|
+
"marketFilterGrid": "A55DgG_marketFilterGrid",
|
|
1680
|
+
"card": "A55DgG_card",
|
|
1681
|
+
"toolRow": "A55DgG_toolRow",
|
|
1682
|
+
"quickGrid": "A55DgG_quickGrid",
|
|
1683
|
+
"badgeError": "A55DgG_badgeError",
|
|
1684
|
+
"groupCard": "A55DgG_groupCard",
|
|
1685
|
+
"conflictChoices": "A55DgG_conflictChoices",
|
|
1686
|
+
"logHeader": "A55DgG_logHeader",
|
|
1687
|
+
"cellMetaNoteText": "A55DgG_cellMetaNoteText",
|
|
1688
|
+
"backupFileName": "A55DgG_backupFileName",
|
|
1689
|
+
"progressMeta": "A55DgG_progressMeta",
|
|
1690
|
+
"infoKey": "A55DgG_infoKey",
|
|
1691
|
+
"aboutAuthor": "A55DgG_aboutAuthor",
|
|
1692
|
+
"cellMain": "A55DgG_cellMain",
|
|
1693
|
+
"factCell": "A55DgG_factCell",
|
|
1694
|
+
"rowDivider": "A55DgG_rowDivider",
|
|
1695
|
+
"formError": "A55DgG_formError",
|
|
1696
|
+
"activityTitle": "A55DgG_activityTitle",
|
|
1697
|
+
"iconBtn": "A55DgG_iconBtn",
|
|
1698
|
+
"cellActions": "A55DgG_cellActions",
|
|
1617
1699
|
"select": "A55DgG_select",
|
|
1618
|
-
"
|
|
1619
|
-
"
|
|
1620
|
-
"toastIn": "A55DgG_toastIn",
|
|
1621
|
-
"activityCard": "A55DgG_activityCard",
|
|
1622
|
-
"activityFit": "A55DgG_activityFit",
|
|
1623
|
-
"segItem": "A55DgG_segItem",
|
|
1700
|
+
"dataTable": "A55DgG_dataTable",
|
|
1701
|
+
"progressBadgeCount": "A55DgG_progressBadgeCount",
|
|
1624
1702
|
"field": "A55DgG_field",
|
|
1625
|
-
"
|
|
1626
|
-
"
|
|
1627
|
-
"
|
|
1628
|
-
"
|
|
1629
|
-
"drawerPanel": "A55DgG_drawerPanel",
|
|
1630
|
-
"statHealth": "A55DgG_statHealth",
|
|
1631
|
-
"errorItem": "A55DgG_errorItem",
|
|
1703
|
+
"sectionTitleBlock": "A55DgG_sectionTitleBlock",
|
|
1704
|
+
"activityRow": "A55DgG_activityRow",
|
|
1705
|
+
"optionsCard": "A55DgG_optionsCard",
|
|
1706
|
+
"reasonLine": "A55DgG_reasonLine",
|
|
1632
1707
|
"activityTime": "A55DgG_activityTime",
|
|
1633
|
-
"headRow": "A55DgG_headRow",
|
|
1634
|
-
"sectionCount": "A55DgG_sectionCount",
|
|
1635
|
-
"logHeader": "A55DgG_logHeader",
|
|
1636
|
-
"shellNav": "A55DgG_shellNav",
|
|
1637
|
-
"statValueSmall": "A55DgG_statValueSmall",
|
|
1638
|
-
"reportText": "A55DgG_reportText",
|
|
1639
|
-
"groupNote": "A55DgG_groupNote",
|
|
1640
|
-
"banner": "A55DgG_banner",
|
|
1641
|
-
"errorFooter": "A55DgG_errorFooter",
|
|
1642
|
-
"metricValue": "A55DgG_metricValue",
|
|
1643
|
-
"marketFilterMeta": "A55DgG_marketFilterMeta",
|
|
1644
|
-
"cellMain": "A55DgG_cellMain",
|
|
1645
|
-
"kindTagWarn": "A55DgG_kindTagWarn",
|
|
1646
|
-
"spinnerLabel": "A55DgG_spinnerLabel",
|
|
1647
|
-
"logJumpButton": "A55DgG_logJumpButton",
|
|
1648
|
-
"snapshotPickerRow": "A55DgG_snapshotPickerRow",
|
|
1649
|
-
"confirmScroll": "A55DgG_confirmScroll",
|
|
1650
|
-
"drawerTitle": "A55DgG_drawerTitle",
|
|
1651
|
-
"wizardStepperRow": "A55DgG_wizardStepperRow",
|
|
1652
|
-
"hiddenFile": "A55DgG_hiddenFile",
|
|
1653
|
-
"syncChannelHead": "A55DgG_syncChannelHead",
|
|
1654
|
-
"cellMetaNote": "A55DgG_cellMetaNote",
|
|
1655
|
-
"segGroup": "A55DgG_segGroup",
|
|
1656
|
-
"historySummary": "A55DgG_historySummary",
|
|
1657
|
-
"pagePad": "A55DgG_pagePad",
|
|
1658
|
-
"choiceCard": "A55DgG_choiceCard",
|
|
1659
|
-
"statusDot": "A55DgG_statusDot",
|
|
1660
|
-
"modeTabs": "A55DgG_modeTabs",
|
|
1661
|
-
"actionRowTop": "A55DgG_actionRowTop",
|
|
1662
1708
|
"statSegDim": "A55DgG_statSegDim",
|
|
1663
|
-
"snapshotList": "A55DgG_snapshotList",
|
|
1664
|
-
"kvKey": "A55DgG_kvKey",
|
|
1665
|
-
"fillViewport": "A55DgG_fillViewport",
|
|
1666
|
-
"kvRow": "A55DgG_kvRow",
|
|
1667
|
-
"exportGroup": "A55DgG_exportGroup",
|
|
1668
1709
|
"kbd": "A55DgG_kbd",
|
|
1669
|
-
"
|
|
1670
|
-
"
|
|
1671
|
-
"
|
|
1710
|
+
"wizardStepperRow": "A55DgG_wizardStepperRow",
|
|
1711
|
+
"radioLabel": "A55DgG_radioLabel",
|
|
1712
|
+
"kvRow": "A55DgG_kvRow",
|
|
1713
|
+
"authorRow": "A55DgG_authorRow",
|
|
1714
|
+
"pathIssueKind": "A55DgG_pathIssueKind",
|
|
1715
|
+
"activityFit": "A55DgG_activityFit",
|
|
1716
|
+
"navStrip": "A55DgG_navStrip",
|
|
1717
|
+
"modeHint": "A55DgG_modeHint",
|
|
1672
1718
|
"section": "A55DgG_section",
|
|
1673
|
-
"
|
|
1674
|
-
"dim": "A55DgG_dim",
|
|
1675
|
-
"mono": "A55DgG_mono",
|
|
1676
|
-
"stepper": "A55DgG_stepper",
|
|
1677
|
-
"progressBarDone": "A55DgG_progressBarDone",
|
|
1678
|
-
"drawerIn": "A55DgG_drawerIn",
|
|
1679
|
-
"statusSpacer": "A55DgG_statusSpacer",
|
|
1680
|
-
"statLabel": "A55DgG_statLabel",
|
|
1681
|
-
"conflictLineValue": "A55DgG_conflictLineValue",
|
|
1682
|
-
"choiceTitle": "A55DgG_choiceTitle",
|
|
1683
|
-
"inspectGroup": "A55DgG_inspectGroup",
|
|
1684
|
-
"severityError": "A55DgG_severityError",
|
|
1685
|
-
"snapshotPickerHint": "A55DgG_snapshotPickerHint",
|
|
1686
|
-
"badgeOk": "A55DgG_badgeOk",
|
|
1687
|
-
"aboutLinkRow": "A55DgG_aboutLinkRow",
|
|
1688
|
-
"statGrid": "A55DgG_statGrid",
|
|
1689
|
-
"infoValue": "A55DgG_infoValue",
|
|
1690
|
-
"progressPercent": "A55DgG_progressPercent",
|
|
1691
|
-
"activityKind": "A55DgG_activityKind",
|
|
1692
|
-
"pullScroll": "A55DgG_pullScroll",
|
|
1719
|
+
"sparseFill": "A55DgG_sparseFill",
|
|
1693
1720
|
"statRow": "A55DgG_statRow",
|
|
1694
|
-
"
|
|
1695
|
-
"
|
|
1696
|
-
"
|
|
1697
|
-
"metricCard": "A55DgG_metricCard",
|
|
1698
|
-
"groupItems": "A55DgG_groupItems",
|
|
1699
|
-
"drawerHeader": "A55DgG_drawerHeader",
|
|
1700
|
-
"sectionRow": "A55DgG_sectionRow",
|
|
1701
|
-
"warnList": "A55DgG_warnList",
|
|
1702
|
-
"tableCompact": "A55DgG_tableCompact",
|
|
1703
|
-
"statCard": "A55DgG_statCard",
|
|
1704
|
-
"logScroll": "A55DgG_logScroll",
|
|
1705
|
-
"cellMeta": "A55DgG_cellMeta",
|
|
1706
|
-
"wizardCard": "A55DgG_wizardCard",
|
|
1707
|
-
"errorTitle": "A55DgG_errorTitle",
|
|
1708
|
-
"navDot": "A55DgG_navDot",
|
|
1709
|
-
"dialogCard": "A55DgG_dialogCard",
|
|
1710
|
-
"backupFileNote": "A55DgG_backupFileNote",
|
|
1711
|
-
"errorReason": "A55DgG_errorReason",
|
|
1712
|
-
"pathIssueKind": "A55DgG_pathIssueKind",
|
|
1721
|
+
"reportView": "A55DgG_reportView",
|
|
1722
|
+
"ghostButton": "A55DgG_ghostButton",
|
|
1723
|
+
"optionsRow": "A55DgG_optionsRow",
|
|
1713
1724
|
"spinner": "A55DgG_spinner",
|
|
1714
|
-
"
|
|
1715
|
-
"
|
|
1716
|
-
"
|
|
1717
|
-
"conflictOptions": "A55DgG_conflictOptions",
|
|
1718
|
-
"conflictChoices": "A55DgG_conflictChoices",
|
|
1719
|
-
"spinnerWrap": "A55DgG_spinnerWrap",
|
|
1720
|
-
"cellMetaNoteText": "A55DgG_cellMetaNoteText",
|
|
1721
|
-
"dialogWide": "A55DgG_dialogWide",
|
|
1722
|
-
"infoRow": "A55DgG_infoRow",
|
|
1723
|
-
"diffScroll": "A55DgG_diffScroll",
|
|
1724
|
-
"quickActionSymbol": "A55DgG_quickActionSymbol",
|
|
1725
|
-
"quickActionTitle": "A55DgG_quickActionTitle",
|
|
1726
|
-
"pathMappingList": "A55DgG_pathMappingList",
|
|
1725
|
+
"progressBar": "A55DgG_progressBar",
|
|
1726
|
+
"snapshotList": "A55DgG_snapshotList",
|
|
1727
|
+
"profileRowMain": "A55DgG_profileRowMain",
|
|
1727
1728
|
"kindTagOk": "A55DgG_kindTagOk",
|
|
1728
|
-
"
|
|
1729
|
-
"planScroll": "A55DgG_planScroll",
|
|
1730
|
-
"activitySummary": "A55DgG_activitySummary",
|
|
1731
|
-
"profileRow": "A55DgG_profileRow",
|
|
1732
|
-
"stepperStep": "A55DgG_stepperStep",
|
|
1733
|
-
"cliCommand": "A55DgG_cliCommand",
|
|
1734
|
-
"categoryItem": "A55DgG_categoryItem",
|
|
1735
|
-
"dialogFooter": "A55DgG_dialogFooter",
|
|
1736
|
-
"conflictDetail": "A55DgG_conflictDetail",
|
|
1737
|
-
"progressBadgeCount": "A55DgG_progressBadgeCount",
|
|
1738
|
-
"dialogHeader": "A55DgG_dialogHeader",
|
|
1729
|
+
"actionRowTop": "A55DgG_actionRowTop",
|
|
1739
1730
|
"logEmpty": "A55DgG_logEmpty",
|
|
1740
|
-
"
|
|
1741
|
-
"dataTable": "A55DgG_dataTable",
|
|
1742
|
-
"reasonList": "A55DgG_reasonList",
|
|
1743
|
-
"errorActionLabel": "A55DgG_errorActionLabel",
|
|
1744
|
-
"backupFileRow": "A55DgG_backupFileRow",
|
|
1745
|
-
"emptyHeroSymbol": "A55DgG_emptyHeroSymbol",
|
|
1746
|
-
"progressLabel": "A55DgG_progressLabel",
|
|
1747
|
-
"toastViewport": "A55DgG_toastViewport",
|
|
1748
|
-
"progressIndeterminate": "A55DgG_progressIndeterminate",
|
|
1749
|
-
"dialogContentCenter": "A55DgG_dialogContentCenter",
|
|
1750
|
-
"ovActivity": "A55DgG_ovActivity",
|
|
1751
|
-
"exportItems": "A55DgG_exportItems",
|
|
1731
|
+
"fieldLabel": "A55DgG_fieldLabel",
|
|
1752
1732
|
"secretFields": "A55DgG_secretFields",
|
|
1753
|
-
"
|
|
1754
|
-
"
|
|
1733
|
+
"statusMeta": "A55DgG_statusMeta",
|
|
1734
|
+
"emptyHero": "A55DgG_emptyHero",
|
|
1735
|
+
"drawerHeader": "A55DgG_drawerHeader",
|
|
1736
|
+
"progressPercent": "A55DgG_progressPercent",
|
|
1737
|
+
"ovActivityItem": "A55DgG_ovActivityItem",
|
|
1738
|
+
"diffScroll": "A55DgG_diffScroll",
|
|
1739
|
+
"pullScroll": "A55DgG_pullScroll",
|
|
1740
|
+
"reportText": "A55DgG_reportText",
|
|
1741
|
+
"progressLabel": "A55DgG_progressLabel",
|
|
1755
1742
|
"groupHeader": "A55DgG_groupHeader",
|
|
1756
|
-
"
|
|
1743
|
+
"metricMeta": "A55DgG_metricMeta",
|
|
1744
|
+
"quickAction": "A55DgG_quickAction",
|
|
1745
|
+
"marketFilterMeta": "A55DgG_marketFilterMeta",
|
|
1746
|
+
"tableCompact": "A55DgG_tableCompact",
|
|
1747
|
+
"exportGrid": "A55DgG_exportGrid",
|
|
1748
|
+
"conflictLineLabel": "A55DgG_conflictLineLabel",
|
|
1749
|
+
"stepperDot": "A55DgG_stepperDot",
|
|
1750
|
+
"pathOld": "A55DgG_pathOld",
|
|
1751
|
+
"profileRow": "A55DgG_profileRow",
|
|
1752
|
+
"sectionTitle": "A55DgG_sectionTitle",
|
|
1753
|
+
"hint": "A55DgG_hint",
|
|
1754
|
+
"progressBlock": "A55DgG_progressBlock",
|
|
1755
|
+
"navDot": "A55DgG_navDot",
|
|
1756
|
+
"conflictDetail": "A55DgG_conflictDetail",
|
|
1757
|
+
"progressDetail": "A55DgG_progressDetail",
|
|
1758
|
+
"dialogHeaderRow": "A55DgG_dialogHeaderRow",
|
|
1759
|
+
"drawerPanel": "A55DgG_drawerPanel",
|
|
1760
|
+
"scheduleNote": "A55DgG_scheduleNote",
|
|
1761
|
+
"activityEmpty": "A55DgG_activityEmpty",
|
|
1762
|
+
"fillViewport": "A55DgG_fillViewport",
|
|
1763
|
+
"cliCommand": "A55DgG_cliCommand",
|
|
1764
|
+
"historyGroup": "A55DgG_historyGroup",
|
|
1765
|
+
"consultDimension": "A55DgG_consultDimension",
|
|
1766
|
+
"stepperLabel": "A55DgG_stepperLabel",
|
|
1757
1767
|
"statusText": "A55DgG_statusText",
|
|
1768
|
+
"banner": "A55DgG_banner",
|
|
1769
|
+
"dialogClose": "A55DgG_dialogClose",
|
|
1770
|
+
"logPanel": "A55DgG_logPanel",
|
|
1771
|
+
"planScroll": "A55DgG_planScroll",
|
|
1772
|
+
"ovActivityTime": "A55DgG_ovActivityTime",
|
|
1758
1773
|
"input": "A55DgG_input",
|
|
1759
|
-
"
|
|
1760
|
-
"
|
|
1761
|
-
"
|
|
1762
|
-
"
|
|
1763
|
-
"
|
|
1764
|
-
"
|
|
1765
|
-
"toastText": "A55DgG_toastText",
|
|
1774
|
+
"backupFileRow": "A55DgG_backupFileRow",
|
|
1775
|
+
"warnList": "A55DgG_warnList",
|
|
1776
|
+
"primaryButton": "A55DgG_primaryButton",
|
|
1777
|
+
"kindTag": "A55DgG_kindTag",
|
|
1778
|
+
"dialogCard": "A55DgG_dialogCard",
|
|
1779
|
+
"factLabel": "A55DgG_factLabel",
|
|
1766
1780
|
"reportFooter": "A55DgG_reportFooter",
|
|
1767
|
-
"
|
|
1781
|
+
"sectionSubtitle": "A55DgG_sectionSubtitle",
|
|
1782
|
+
"statCard": "A55DgG_statCard",
|
|
1783
|
+
"metricCard": "A55DgG_metricCard",
|
|
1784
|
+
"statHealth": "A55DgG_statHealth",
|
|
1785
|
+
"fillCard": "A55DgG_fillCard",
|
|
1786
|
+
"choiceCard": "A55DgG_choiceCard",
|
|
1787
|
+
"activitySummaryText": "A55DgG_activitySummaryText",
|
|
1788
|
+
"todoRow": "A55DgG_todoRow",
|
|
1789
|
+
"historySections": "A55DgG_historySections",
|
|
1790
|
+
"errorBanner": "A55DgG_errorBanner",
|
|
1791
|
+
"kvValue": "A55DgG_kvValue",
|
|
1768
1792
|
"kindTagError": "A55DgG_kindTagError",
|
|
1769
|
-
"
|
|
1770
|
-
"
|
|
1771
|
-
"
|
|
1772
|
-
"
|
|
1773
|
-
"
|
|
1793
|
+
"sectionCount": "A55DgG_sectionCount",
|
|
1794
|
+
"stepper": "A55DgG_stepper",
|
|
1795
|
+
"tabRow": "A55DgG_tabRow",
|
|
1796
|
+
"ovActivity": "A55DgG_ovActivity",
|
|
1797
|
+
"activitySummary": "A55DgG_activitySummary",
|
|
1798
|
+
"errorItem": "A55DgG_errorItem",
|
|
1774
1799
|
"badge": "A55DgG_badge",
|
|
1775
|
-
"
|
|
1776
|
-
"
|
|
1777
|
-
"
|
|
1778
|
-
"
|
|
1779
|
-
"statusBar": "A55DgG_statusBar",
|
|
1780
|
-
"groupCard": "A55DgG_groupCard",
|
|
1781
|
-
"sparseFill": "A55DgG_sparseFill",
|
|
1782
|
-
"rowActions": "A55DgG_rowActions",
|
|
1783
|
-
"drawerMask": "A55DgG_drawerMask",
|
|
1800
|
+
"reportScroll": "A55DgG_reportScroll",
|
|
1801
|
+
"tableFixed": "A55DgG_tableFixed",
|
|
1802
|
+
"logJumpButton": "A55DgG_logJumpButton",
|
|
1803
|
+
"infoRow": "A55DgG_infoRow",
|
|
1784
1804
|
"conflictHead": "A55DgG_conflictHead",
|
|
1785
|
-
"activityHeader": "A55DgG_activityHeader",
|
|
1786
|
-
"pathNew": "A55DgG_pathNew",
|
|
1787
|
-
"spin": "A55DgG_spin",
|
|
1788
|
-
"statusPulse": "A55DgG_statusPulse",
|
|
1789
|
-
"modeHint": "A55DgG_modeHint",
|
|
1790
|
-
"primaryButton": "A55DgG_primaryButton",
|
|
1791
|
-
"metricMeta": "A55DgG_metricMeta",
|
|
1792
|
-
"ghostButton": "A55DgG_ghostButton",
|
|
1793
|
-
"kvValue": "A55DgG_kvValue",
|
|
1794
|
-
"rowDivider": "A55DgG_rowDivider",
|
|
1795
|
-
"factCell": "A55DgG_factCell",
|
|
1796
|
-
"conflictLine": "A55DgG_conflictLine",
|
|
1797
|
-
"activityRow": "A55DgG_activityRow",
|
|
1798
|
-
"snapshotRowMain": "A55DgG_snapshotRowMain",
|
|
1799
|
-
"activityEmpty": "A55DgG_activityEmpty",
|
|
1800
|
-
"shellMain": "A55DgG_shellMain",
|
|
1801
|
-
"emptyHero": "A55DgG_emptyHero",
|
|
1802
|
-
"progressBlock": "A55DgG_progressBlock",
|
|
1803
|
-
"toolRow": "A55DgG_toolRow",
|
|
1804
|
-
"backupFileMeta": "A55DgG_backupFileMeta",
|
|
1805
|
-
"errorList": "A55DgG_errorList",
|
|
1806
|
-
"consultSection": "A55DgG_consultSection",
|
|
1807
|
-
"conflictId": "A55DgG_conflictId",
|
|
1808
|
-
"scheduleNote": "A55DgG_scheduleNote",
|
|
1809
|
-
"progressBadge": "A55DgG_progressBadge",
|
|
1810
|
-
"profileRowHeader": "A55DgG_profileRowHeader",
|
|
1811
|
-
"metricGrid": "A55DgG_metricGrid",
|
|
1812
|
-
"statusMeta": "A55DgG_statusMeta",
|
|
1813
|
-
"sectionTitle": "A55DgG_sectionTitle",
|
|
1814
|
-
"sectionName": "A55DgG_sectionName",
|
|
1815
|
-
"fieldLabel": "A55DgG_fieldLabel",
|
|
1816
|
-
"exportGrid": "A55DgG_exportGrid",
|
|
1817
1805
|
"activityResultOk": "A55DgG_activityResultOk",
|
|
1818
|
-
"errorAction": "A55DgG_errorAction",
|
|
1819
|
-
"nextStepsGroup": "A55DgG_nextStepsGroup",
|
|
1820
|
-
"tableFixed": "A55DgG_tableFixed",
|
|
1821
|
-
"drawerBody": "A55DgG_drawerBody",
|
|
1822
|
-
"fillCard": "A55DgG_fillCard",
|
|
1823
|
-
"sectionTitleBlock": "A55DgG_sectionTitleBlock",
|
|
1824
1806
|
"quickActionHint": "A55DgG_quickActionHint",
|
|
1825
|
-
"
|
|
1826
|
-
"
|
|
1827
|
-
"
|
|
1828
|
-
"
|
|
1829
|
-
"
|
|
1807
|
+
"modeTabs": "A55DgG_modeTabs",
|
|
1808
|
+
"progressIndeterminate": "A55DgG_progressIndeterminate",
|
|
1809
|
+
"segGroup": "A55DgG_segGroup",
|
|
1810
|
+
"backupFileMeta": "A55DgG_backupFileMeta",
|
|
1811
|
+
"dialogMask": "A55DgG_dialogMask",
|
|
1812
|
+
"exportItems": "A55DgG_exportItems",
|
|
1813
|
+
"segItem": "A55DgG_segItem",
|
|
1814
|
+
"stepperStep": "A55DgG_stepperStep",
|
|
1830
1815
|
"pushRight": "A55DgG_pushRight",
|
|
1831
|
-
"
|
|
1832
|
-
"
|
|
1833
|
-
"
|
|
1834
|
-
"
|
|
1835
|
-
"
|
|
1836
|
-
"
|
|
1837
|
-
"
|
|
1838
|
-
"
|
|
1816
|
+
"errorList": "A55DgG_errorList",
|
|
1817
|
+
"historyRowMain": "A55DgG_historyRowMain",
|
|
1818
|
+
"consultScroll": "A55DgG_consultScroll",
|
|
1819
|
+
"drawerBody": "A55DgG_drawerBody",
|
|
1820
|
+
"drawerIn": "A55DgG_drawerIn",
|
|
1821
|
+
"todoText": "A55DgG_todoText",
|
|
1822
|
+
"groupList": "A55DgG_groupList",
|
|
1823
|
+
"errorReason": "A55DgG_errorReason",
|
|
1824
|
+
"groupItems": "A55DgG_groupItems",
|
|
1825
|
+
"errorTitle": "A55DgG_errorTitle",
|
|
1826
|
+
"logScroll": "A55DgG_logScroll",
|
|
1839
1827
|
"ovSide": "A55DgG_ovSide",
|
|
1840
|
-
"
|
|
1841
|
-
"
|
|
1842
|
-
"
|
|
1843
|
-
"
|
|
1844
|
-
"scheduleFacts": "A55DgG_scheduleFacts",
|
|
1845
|
-
"statSeg": "A55DgG_statSeg",
|
|
1846
|
-
"historyRow": "A55DgG_historyRow",
|
|
1828
|
+
"conflictLine": "A55DgG_conflictLine",
|
|
1829
|
+
"badgeWarn": "A55DgG_badgeWarn",
|
|
1830
|
+
"indet": "A55DgG_indet",
|
|
1831
|
+
"inspectGroup": "A55DgG_inspectGroup",
|
|
1847
1832
|
"progressTrack": "A55DgG_progressTrack",
|
|
1848
|
-
"
|
|
1849
|
-
"
|
|
1850
|
-
"
|
|
1851
|
-
"
|
|
1852
|
-
"
|
|
1853
|
-
"
|
|
1833
|
+
"progressBarDone": "A55DgG_progressBarDone",
|
|
1834
|
+
"rowActions": "A55DgG_rowActions",
|
|
1835
|
+
"historyRow": "A55DgG_historyRow",
|
|
1836
|
+
"statHealthAction": "A55DgG_statHealthAction",
|
|
1837
|
+
"infoValue": "A55DgG_infoValue",
|
|
1838
|
+
"conflictLineValue": "A55DgG_conflictLineValue",
|
|
1839
|
+
"statValue": "A55DgG_statValue",
|
|
1840
|
+
"metricValue": "A55DgG_metricValue",
|
|
1841
|
+
"conflictOptions": "A55DgG_conflictOptions",
|
|
1842
|
+
"historyTime": "A55DgG_historyTime",
|
|
1843
|
+
"snapshotPickerHint": "A55DgG_snapshotPickerHint",
|
|
1844
|
+
"pagePad": "A55DgG_pagePad",
|
|
1845
|
+
"statLabel": "A55DgG_statLabel",
|
|
1846
|
+
"errorFooter": "A55DgG_errorFooter",
|
|
1847
|
+
"groupNote": "A55DgG_groupNote"
|
|
1854
1848
|
};
|
|
1855
1849
|
//#endregion
|
|
1856
1850
|
//#region src/client/common/ui.tsx
|
|
@@ -7755,7 +7749,7 @@ function ApplyResultCard({ result, busy, t, onRollback }) {
|
|
|
7755
7749
|
* dialogMask + dialogCard dialogWide + dialogHeaderRow + dialogClose +
|
|
7756
7750
|
* dialogBodyScroll,零新增样式);
|
|
7757
7751
|
* - **通道配置弹窗**:通道子 tab(GitHub(git)/ WebDAV)切换,两个通道的
|
|
7758
|
-
*
|
|
7752
|
+
* 配置表单、自动同步、同步模式、远端快照**各自独立**;关闭弹窗
|
|
7759
7753
|
* = 放弃本次操作(GitHub 登录流程进行中则一并取消,§8.12 约定);
|
|
7760
7754
|
* - GitHub 子 tab:repoUrl(必填)+ 认证 token(可选,写入 DSH credentials 的提示)
|
|
7761
7755
|
* + **GitHub OAuth device flow 登录**(登录块跟随 git 通道配置放在弹窗内:
|
|
@@ -7771,7 +7765,7 @@ function ApplyResultCard({ result, busy, t, onRollback }) {
|
|
|
7771
7765
|
* 全部渲染模型来自 ./sync-view.ts 纯函数(node 单测覆盖),组件只做装配;
|
|
7772
7766
|
* 状态组件内自持(useState),同时经 toSyncStoreSlice() 镜像进模块级 runStore:
|
|
7773
7767
|
* 模块级单例保证「切 tab 不丢」,sessionStorage 白名单保证「刷新恢复」;
|
|
7774
|
-
* token/webdav
|
|
7768
|
+
* token/webdav 密码仅内存(state),成功后清空(已写入 DSH
|
|
7775
7769
|
* credentials),持久化白名单硬性剔除(含 byChannel 内密码类字段),刷新后
|
|
7776
7770
|
* 清空、需要时重新输入。
|
|
7777
7771
|
*/
|
|
@@ -7824,7 +7818,7 @@ const initial = {
|
|
|
7824
7818
|
};
|
|
7825
7819
|
/**
|
|
7826
7820
|
* 从 runStore 恢复上次的同步 UI 状态(切 tab 回 / 刷新后挂载)。
|
|
7827
|
-
* 敏感字段(token/webdav
|
|
7821
|
+
* 敏感字段(token/webdav 密码)只在内存切片里保留:切 tab 保留;
|
|
7828
7822
|
* 刷新后已被持久化白名单清空(applyPersisted 强制归零)→ 需要时重新输入。
|
|
7829
7823
|
* busy/savingConfig 为瞬态:切 tab 由模块级单例保留(切回仍显示进行中);
|
|
7830
7824
|
* 刷新后白名单剔除 → 回复空闲。
|
|
@@ -7900,7 +7894,7 @@ function SyncSettingsView({ api, t }) {
|
|
|
7900
7894
|
});
|
|
7901
7895
|
/** 更新当前激活通道的 byChannel 状态。 */
|
|
7902
7896
|
const patchChannel = (p) => patchChannelState(state.channel, p);
|
|
7903
|
-
/**
|
|
7897
|
+
/** 当前激活通道的设置状态(自动同步/模式/快照)。 */
|
|
7904
7898
|
const chState = state.byChannel[state.channel];
|
|
7905
7899
|
/** GitHub 流程态(不进 store 切片;commit 的镜像写幂等无害)。 */
|
|
7906
7900
|
const patchGithub = (p) => commit({
|