dsh-vault 1.9.9-rc.1 → 1.9.9

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,111 +17,111 @@ window.__ModuleLoader__.load({
17
17
  document.head.appendChild(tag);
18
18
  }
19
19
  var VaultSection_module_css_default = {
20
- "pinOn": "t_j5va_pinOn",
21
- "deleteButton": "t_j5va_deleteButton",
22
- "tabActive": "t_j5va_tabActive",
23
- "histLink": "t_j5va_histLink",
24
- "checkField": "t_j5va_checkField",
25
- "dangerButton": "t_j5va_dangerButton",
26
- "reportTitle": "t_j5va_reportTitle",
27
- "dupNames": "t_j5va_dupNames",
28
- "pwMeter": "t_j5va_pwMeter",
29
- "modeAuto": "t_j5va_modeAuto",
30
- "copied": "t_j5va_copied",
31
- "backupButton": "t_j5va_backupButton",
32
- "totpRing": "t_j5va_totpRing",
33
- "histDanger": "t_j5va_histDanger",
34
- "intro": "t_j5va_intro",
35
- "modeReadonly": "t_j5va_modeReadonly",
20
+ "trashButton": "t_j5va_trashButton",
21
+ "saveButton": "t_j5va_saveButton",
22
+ "clearButton": "t_j5va_clearButton",
23
+ "badgeWarn": "t_j5va_badgeWarn",
24
+ "rowDue": "t_j5va_rowDue",
36
25
  "identity": "t_j5va_identity",
26
+ "section": "t_j5va_section",
27
+ "row": "t_j5va_row",
28
+ "deleteButton": "t_j5va_deleteButton",
29
+ "error": "t_j5va_error",
37
30
  "editorBody": "t_j5va_editorBody",
31
+ "modeAsk": "t_j5va_modeAsk",
38
32
  "reportBox": "t_j5va_reportBox",
39
- "healthBar": "t_j5va_healthBar",
33
+ "rowExpired": "t_j5va_rowExpired",
34
+ "toolbar": "t_j5va_toolbar",
35
+ "totp": "t_j5va_totp",
36
+ "pinOff": "t_j5va_pinOff",
40
37
  "dueBadge": "t_j5va_dueBadge",
41
- "kindIcon": "t_j5va_kindIcon",
38
+ "rowCheck": "t_j5va_rowCheck",
42
39
  "bulkCount": "t_j5va_bulkCount",
43
- "healthSummary": "t_j5va_healthSummary",
44
- "row": "t_j5va_row",
45
- "detailItem": "t_j5va_detailItem",
46
- "actionPrimary": "t_j5va_actionPrimary",
47
- "field": "t_j5va_field",
48
- "moreButton": "t_j5va_moreButton",
49
- "pinStar": "t_j5va_pinStar",
50
- "selectActive": "t_j5va_selectActive",
51
- "badge": "t_j5va_badge",
52
- "rowExpired": "t_j5va_rowExpired",
53
- "auditRow": "t_j5va_auditRow",
54
- "addButton": "t_j5va_addButton",
55
- "srOnly": "t_j5va_srOnly",
56
- "editor": "t_j5va_editor",
57
- "dupGroup": "t_j5va_dupGroup",
58
- "genOpts": "t_j5va_genOpts",
59
- "histAdd": "t_j5va_histAdd",
60
- "genOptRow": "t_j5va_genOptRow",
61
- "highBadge": "t_j5va_highBadge",
62
- "empty": "t_j5va_empty",
63
- "pwFair": "t_j5va_pwFair",
64
- "pwStrong": "t_j5va_pwStrong",
65
- "pwLabel": "t_j5va_pwLabel",
66
- "error": "t_j5va_error",
67
- "pwBar": "t_j5va_pwBar",
68
- "resultCount": "t_j5va_resultCount",
69
- "tab": "t_j5va_tab",
70
- "auditIssues": "t_j5va_auditIssues",
71
- "pwHistBox": "t_j5va_pwHistBox",
72
- "trashButton": "t_j5va_trashButton",
40
+ "rowActions": "t_j5va_rowActions",
41
+ "list": "t_j5va_list",
42
+ "histUpdate": "t_j5va_histUpdate",
73
43
  "footer": "t_j5va_footer",
74
- "rowCheck": "t_j5va_rowCheck",
75
- "title": "t_j5va_title",
76
- "reportSub": "t_j5va_reportSub",
44
+ "sortButton": "t_j5va_sortButton",
45
+ "dupGroup": "t_j5va_dupGroup",
77
46
  "dupMerge": "t_j5va_dupMerge",
78
- "tabs": "t_j5va_tabs",
79
- "tabPane": "t_j5va_tabPane",
80
- "pinOff": "t_j5va_pinOff",
81
47
  "pwHistTime": "t_j5va_pwHistTime",
82
- "kindChip": "t_j5va_kindChip",
83
- "detailBox": "t_j5va_detailBox",
84
- "histNeutral": "t_j5va_histNeutral",
85
- "policyField": "t_j5va_policyField",
86
- "pwWeak": "t_j5va_pwWeak",
87
- "section": "t_j5va_section",
88
- "rowSelected": "t_j5va_rowSelected",
89
- "badgeOk": "t_j5va_badgeOk",
90
- "sortButton": "t_j5va_sortButton",
91
- "totp": "t_j5va_totp",
92
- "lockedTag": "t_j5va_lockedTag",
93
- "saveButton": "t_j5va_saveButton",
94
- "clearButton": "t_j5va_clearButton",
95
- "editorActions": "t_j5va_editorActions",
96
- "badgeDanger": "t_j5va_badgeDanger",
97
- "emptyHint": "t_j5va_emptyHint",
98
48
  "scoreRing": "t_j5va_scoreRing",
99
- "revealButton": "t_j5va_revealButton",
100
- "rowDue": "t_j5va_rowDue",
49
+ "pwMeter": "t_j5va_pwMeter",
50
+ "pwStrong": "t_j5va_pwStrong",
51
+ "genHist": "t_j5va_genHist",
52
+ "lockedTag": "t_j5va_lockedTag",
53
+ "histLink": "t_j5va_histLink",
101
54
  "bulkBar": "t_j5va_bulkBar",
102
- "toolbar": "t_j5va_toolbar",
103
- "modeAsk": "t_j5va_modeAsk",
104
- "bulkItem": "t_j5va_bulkItem",
55
+ "highBadge": "t_j5va_highBadge",
56
+ "moreMenu": "t_j5va_moreMenu",
57
+ "auditIssues": "t_j5va_auditIssues",
58
+ "badge": "t_j5va_badge",
59
+ "lockedBanner": "t_j5va_lockedBanner",
60
+ "pwWeak": "t_j5va_pwWeak",
61
+ "policyBar": "t_j5va_policyBar",
62
+ "totpRing": "t_j5va_totpRing",
63
+ "resultCount": "t_j5va_resultCount",
64
+ "addButton": "t_j5va_addButton",
65
+ "kindChip": "t_j5va_kindChip",
66
+ "emptyHint": "t_j5va_emptyHint",
67
+ "secretField": "t_j5va_secretField",
68
+ "srOnly": "t_j5va_srOnly",
69
+ "kindFilter": "t_j5va_kindFilter",
70
+ "tabs": "t_j5va_tabs",
71
+ "intro": "t_j5va_intro",
72
+ "pwHistRow": "t_j5va_pwHistRow",
73
+ "field": "t_j5va_field",
74
+ "kindIcon": "t_j5va_kindIcon",
75
+ "auditRow": "t_j5va_auditRow",
76
+ "genOpts": "t_j5va_genOpts",
77
+ "copied": "t_j5va_copied",
78
+ "backupButton": "t_j5va_backupButton",
79
+ "tabActive": "t_j5va_tabActive",
80
+ "editor": "t_j5va_editor",
105
81
  "moreWrap": "t_j5va_moreWrap",
106
- "emptyBox": "t_j5va_emptyBox",
82
+ "selectActive": "t_j5va_selectActive",
107
83
  "pwHistPwd": "t_j5va_pwHistPwd",
108
- "policyBar": "t_j5va_policyBar",
109
- "rowActions": "t_j5va_rowActions",
110
- "moreMenu": "t_j5va_moreMenu",
84
+ "revealButton": "t_j5va_revealButton",
85
+ "pinStar": "t_j5va_pinStar",
86
+ "rowSelected": "t_j5va_rowSelected",
87
+ "empty": "t_j5va_empty",
88
+ "histDanger": "t_j5va_histDanger",
89
+ "histNeutral": "t_j5va_histNeutral",
90
+ "pwBar": "t_j5va_pwBar",
91
+ "modeReadonly": "t_j5va_modeReadonly",
111
92
  "rowMain": "t_j5va_rowMain",
112
- "histUpdate": "t_j5va_histUpdate",
113
- "kindFilter": "t_j5va_kindFilter",
114
- "retryButton": "t_j5va_retryButton",
93
+ "checkField": "t_j5va_checkField",
94
+ "reportLine": "t_j5va_reportLine",
95
+ "reportSub": "t_j5va_reportSub",
96
+ "badgeDanger": "t_j5va_badgeDanger",
97
+ "dangerButton": "t_j5va_dangerButton",
115
98
  "uriCode": "t_j5va_uriCode",
116
- "badgeWarn": "t_j5va_badgeWarn",
99
+ "tabPane": "t_j5va_tabPane",
100
+ "searchBox": "t_j5va_searchBox",
117
101
  "status": "t_j5va_status",
118
- "lockedBanner": "t_j5va_lockedBanner",
119
- "reportLine": "t_j5va_reportLine",
120
- "pwHistRow": "t_j5va_pwHistRow",
121
- "secretField": "t_j5va_secretField",
122
- "list": "t_j5va_list",
123
- "genHist": "t_j5va_genHist",
124
- "searchBox": "t_j5va_searchBox"
102
+ "pwFair": "t_j5va_pwFair",
103
+ "actionPrimary": "t_j5va_actionPrimary",
104
+ "badgeOk": "t_j5va_badgeOk",
105
+ "detailItem": "t_j5va_detailItem",
106
+ "retryButton": "t_j5va_retryButton",
107
+ "genOptRow": "t_j5va_genOptRow",
108
+ "pwHistBox": "t_j5va_pwHistBox",
109
+ "moreButton": "t_j5va_moreButton",
110
+ "detailBox": "t_j5va_detailBox",
111
+ "title": "t_j5va_title",
112
+ "bulkItem": "t_j5va_bulkItem",
113
+ "reportTitle": "t_j5va_reportTitle",
114
+ "histAdd": "t_j5va_histAdd",
115
+ "healthBar": "t_j5va_healthBar",
116
+ "editorActions": "t_j5va_editorActions",
117
+ "pinOn": "t_j5va_pinOn",
118
+ "dupNames": "t_j5va_dupNames",
119
+ "pwLabel": "t_j5va_pwLabel",
120
+ "tab": "t_j5va_tab",
121
+ "modeAuto": "t_j5va_modeAuto",
122
+ "healthSummary": "t_j5va_healthSummary",
123
+ "policyField": "t_j5va_policyField",
124
+ "emptyBox": "t_j5va_emptyBox"
125
125
  };
126
126
  //#endregion
127
127
  //#region src/client/VaultSection.tsx
@@ -526,7 +526,7 @@ window.__ModuleLoader__.load({
526
526
  event.preventDefault();
527
527
  setActiveTab("entries");
528
528
  window.setTimeout(() => searchRef.current?.focus(), 50);
529
- }
529
+ } else if (event.key === "Escape") setOpenMenuId(null);
530
530
  };
531
531
  window.addEventListener("keydown", onKey);
532
532
  return () => window.removeEventListener("keydown", onKey);
@@ -1888,6 +1888,13 @@ window.__ModuleLoader__.load({
1888
1888
  placeholder: t("searchPlaceholder"),
1889
1889
  value: query,
1890
1890
  onChange: (event) => setQuery(event.target.value),
1891
+ onKeyDown: (event) => {
1892
+ if (event.key === "Escape") {
1893
+ setQuery("");
1894
+ setKindFilter("");
1895
+ setTagFilter("");
1896
+ }
1897
+ },
1891
1898
  disabled: locked
1892
1899
  }),
1893
1900
  query.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {