dsh-vault 1.6.0 → 1.6.1-rc.1

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/client.js CHANGED
@@ -17,89 +17,89 @@ window.__ModuleLoader__.load({
17
17
  document.head.appendChild(tag);
18
18
  }
19
19
  var VaultSection_module_css_default = {
20
- "rowExpired": "t_j5va_rowExpired",
21
- "toolbar": "t_j5va_toolbar",
22
- "status": "t_j5va_status",
23
- "badge": "t_j5va_badge",
20
+ "saveButton": "t_j5va_saveButton",
21
+ "deleteButton": "t_j5va_deleteButton",
22
+ "section": "t_j5va_section",
23
+ "emptyHint": "t_j5va_emptyHint",
24
+ "srOnly": "t_j5va_srOnly",
25
+ "dupNames": "t_j5va_dupNames",
26
+ "retryButton": "t_j5va_retryButton",
27
+ "healthBar": "t_j5va_healthBar",
24
28
  "detailItem": "t_j5va_detailItem",
25
- "pwFair": "t_j5va_pwFair",
26
- "pwStrong": "t_j5va_pwStrong",
27
- "copied": "t_j5va_copied",
28
- "editorBody": "t_j5va_editorBody",
29
- "addButton": "t_j5va_addButton",
30
- "modeAuto": "t_j5va_modeAuto",
31
- "scoreRing": "t_j5va_scoreRing",
29
+ "genOptRow": "t_j5va_genOptRow",
30
+ "pwMeter": "t_j5va_pwMeter",
32
31
  "tabs": "t_j5va_tabs",
33
- "reportLine": "t_j5va_reportLine",
34
- "secretField": "t_j5va_secretField",
35
- "badgeDanger": "t_j5va_badgeDanger",
36
- "backupButton": "t_j5va_backupButton",
32
+ "resultCount": "t_j5va_resultCount",
37
33
  "modeReadonly": "t_j5va_modeReadonly",
38
- "uriCode": "t_j5va_uriCode",
39
- "badgeOk": "t_j5va_badgeOk",
34
+ "addButton": "t_j5va_addButton",
35
+ "lockedTag": "t_j5va_lockedTag",
36
+ "rowExpired": "t_j5va_rowExpired",
37
+ "reportSub": "t_j5va_reportSub",
38
+ "detailBox": "t_j5va_detailBox",
40
39
  "searchBox": "t_j5va_searchBox",
41
- "row": "t_j5va_row",
42
- "dupNames": "t_j5va_dupNames",
43
- "reportTitle": "t_j5va_reportTitle",
44
- "highBadge": "t_j5va_highBadge",
45
- "tabActive": "t_j5va_tabActive",
40
+ "rowMain": "t_j5va_rowMain",
41
+ "pwFair": "t_j5va_pwFair",
42
+ "status": "t_j5va_status",
43
+ "auditRow": "t_j5va_auditRow",
44
+ "backupButton": "t_j5va_backupButton",
46
45
  "error": "t_j5va_error",
46
+ "identity": "t_j5va_identity",
47
+ "badgeWarn": "t_j5va_badgeWarn",
48
+ "row": "t_j5va_row",
47
49
  "rowActions": "t_j5va_rowActions",
48
- "pwBar": "t_j5va_pwBar",
49
- "emptyBox": "t_j5va_emptyBox",
50
- "rowMain": "t_j5va_rowMain",
51
- "empty": "t_j5va_empty",
52
- "lockedTag": "t_j5va_lockedTag",
53
- "totp": "t_j5va_totp",
54
50
  "modeAsk": "t_j5va_modeAsk",
55
- "healthBar": "t_j5va_healthBar",
56
- "kindIcon": "t_j5va_kindIcon",
57
- "genHist": "t_j5va_genHist",
58
- "section": "t_j5va_section",
51
+ "policyBar": "t_j5va_policyBar",
52
+ "reportBox": "t_j5va_reportBox",
53
+ "trashButton": "t_j5va_trashButton",
54
+ "kindFilter": "t_j5va_kindFilter",
55
+ "highBadge": "t_j5va_highBadge",
56
+ "dupMerge": "t_j5va_dupMerge",
57
+ "pinStar": "t_j5va_pinStar",
58
+ "rowDue": "t_j5va_rowDue",
59
59
  "totpRing": "t_j5va_totpRing",
60
- "dangerButton": "t_j5va_dangerButton",
61
- "reportSub": "t_j5va_reportSub",
62
- "dupGroup": "t_j5va_dupGroup",
63
- "genOptRow": "t_j5va_genOptRow",
60
+ "reportTitle": "t_j5va_reportTitle",
61
+ "kindIcon": "t_j5va_kindIcon",
64
62
  "editor": "t_j5va_editor",
63
+ "revealButton": "t_j5va_revealButton",
64
+ "intro": "t_j5va_intro",
65
+ "dangerButton": "t_j5va_dangerButton",
66
+ "checkField": "t_j5va_checkField",
67
+ "list": "t_j5va_list",
68
+ "pwStrong": "t_j5va_pwStrong",
69
+ "title": "t_j5va_title",
65
70
  "auditIssues": "t_j5va_auditIssues",
66
- "pwMeter": "t_j5va_pwMeter",
67
- "srOnly": "t_j5va_srOnly",
68
- "genOpts": "t_j5va_genOpts",
69
- "sortButton": "t_j5va_sortButton",
70
- "emptyHint": "t_j5va_emptyHint",
71
- "trashButton": "t_j5va_trashButton",
72
71
  "tab": "t_j5va_tab",
73
- "rowDue": "t_j5va_rowDue",
74
- "auditRow": "t_j5va_auditRow",
72
+ "badgeDanger": "t_j5va_badgeDanger",
73
+ "dueBadge": "t_j5va_dueBadge",
74
+ "dupGroup": "t_j5va_dupGroup",
75
+ "secretField": "t_j5va_secretField",
75
76
  "clearButton": "t_j5va_clearButton",
76
- "resultCount": "t_j5va_resultCount",
77
+ "copied": "t_j5va_copied",
78
+ "pwWeak": "t_j5va_pwWeak",
79
+ "reportLine": "t_j5va_reportLine",
77
80
  "lockedBanner": "t_j5va_lockedBanner",
78
- "field": "t_j5va_field",
79
- "policyField": "t_j5va_policyField",
80
- "reportBox": "t_j5va_reportBox",
81
- "editorActions": "t_j5va_editorActions",
82
- "dueBadge": "t_j5va_dueBadge",
81
+ "tabActive": "t_j5va_tabActive",
82
+ "tabPane": "t_j5va_tabPane",
83
+ "scoreRing": "t_j5va_scoreRing",
83
84
  "footer": "t_j5va_footer",
84
- "checkField": "t_j5va_checkField",
85
- "detailBox": "t_j5va_detailBox",
86
- "dupMerge": "t_j5va_dupMerge",
85
+ "uriCode": "t_j5va_uriCode",
86
+ "genHist": "t_j5va_genHist",
87
87
  "pwLabel": "t_j5va_pwLabel",
88
- "deleteButton": "t_j5va_deleteButton",
89
- "identity": "t_j5va_identity",
90
- "saveButton": "t_j5va_saveButton",
91
- "revealButton": "t_j5va_revealButton",
92
- "badgeWarn": "t_j5va_badgeWarn",
93
- "policyBar": "t_j5va_policyBar",
94
- "pinStar": "t_j5va_pinStar",
95
- "retryButton": "t_j5va_retryButton",
96
- "pwWeak": "t_j5va_pwWeak",
97
- "intro": "t_j5va_intro",
98
- "tabPane": "t_j5va_tabPane",
88
+ "genOpts": "t_j5va_genOpts",
89
+ "modeAuto": "t_j5va_modeAuto",
90
+ "editorActions": "t_j5va_editorActions",
91
+ "field": "t_j5va_field",
92
+ "badge": "t_j5va_badge",
93
+ "emptyBox": "t_j5va_emptyBox",
99
94
  "kindChip": "t_j5va_kindChip",
100
- "title": "t_j5va_title",
101
- "kindFilter": "t_j5va_kindFilter",
102
- "list": "t_j5va_list"
95
+ "badgeOk": "t_j5va_badgeOk",
96
+ "toolbar": "t_j5va_toolbar",
97
+ "editorBody": "t_j5va_editorBody",
98
+ "sortButton": "t_j5va_sortButton",
99
+ "pwBar": "t_j5va_pwBar",
100
+ "policyField": "t_j5va_policyField",
101
+ "totp": "t_j5va_totp",
102
+ "empty": "t_j5va_empty"
103
103
  };
104
104
  //#endregion
105
105
  //#region src/client/VaultSection.tsx
@@ -2695,8 +2695,8 @@ window.__ModuleLoader__.load({
2695
2695
  }),
2696
2696
  watchMap[entry.id] !== void 0 && watchMap[entry.id].verdict !== "good" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2697
2697
  className: `${VaultSection_module_css_default.dueBadge} ${watchMap[entry.id].verdict === "poor" ? VaultSection_module_css_default.badgeDanger : VaultSection_module_css_default.badgeWarn}`,
2698
- title: watchMap[entry.id].flags.join(", "),
2699
- children: watchMap[entry.id].verdict === "poor" ? t("watchPoor") : t("watchWarn")
2698
+ title: t("watchFlagsTitle") + watchMap[entry.id].flags.join(", "),
2699
+ children: t("watchScore").replace("{n}", String(watchMap[entry.id].score))
2700
2700
  })
2701
2701
  ]
2702
2702
  }),
@@ -3449,8 +3449,10 @@ window.__ModuleLoader__.load({
3449
3449
  lockedMsg: "Vault locked — unlock with vault_unlock",
3450
3450
  ageToday: "new",
3451
3451
  ageHint: "Updated days ago (password age)",
3452
- watchPoor: "⚠ 高风险",
3453
- watchWarn: "⚠ 需关注",
3452
+ watchPoor: "⚠ high risk",
3453
+ watchWarn: "⚠ attention",
3454
+ watchScore: "{n}",
3455
+ watchFlagsTitle: "Risks: ",
3454
3456
  resultCount: "Results",
3455
3457
  totpUri: "URI",
3456
3458
  totpUriHint: "Show otpauth URI for another device",
@@ -3743,6 +3745,8 @@ window.__ModuleLoader__.load({
3743
3745
  ageHint: "距上次更新天数(密码年龄)",
3744
3746
  watchPoor: "⚠ 高风险",
3745
3747
  watchWarn: "⚠ 需关注",
3748
+ watchScore: "{n}",
3749
+ watchFlagsTitle: "风险: ",
3746
3750
  resultCount: "结果",
3747
3751
  totpUri: "URI",
3748
3752
  totpUriHint: "显示 otpauth URI 以便在其它设备添加",