@ryuu-64/dsh-find-all 0.1.12 → 0.1.13
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/CHANGELOG.md +5 -0
- package/README.md +35 -17
- package/lib/client.js +75 -88
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.13
|
|
4
|
+
|
|
5
|
+
- Match DSH floating-panel chrome with a compact, title-free move surface instead of a separate six-dot button. Drag empty chrome without intercepting the search field or actions; keep arrow-key movement, Home reset, focus-ring tokens, and aligned status text.
|
|
6
|
+
- Refresh the README with clearer installation, usage, troubleshooting, and real UI screenshots for both current-conversation and cross-conversation search.
|
|
7
|
+
|
|
3
8
|
## 0.1.12
|
|
4
9
|
|
|
5
10
|
- Add opt-in archived conversation search with explicit Unarchive and open actions, current-state verification, and cancelled navigation when the search changes.
|
package/README.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# dsh-find-all
|
|
2
2
|
|
|
3
|
-
DeepSeek Harness(DSH
|
|
3
|
+
DeepSeek Harness(DSH)的对话查找插件。搜索各工作区对话的标题和已保存正文,也可按 **⌘F / Ctrl+F** 查找当前对话。
|
|
4
|
+
|
|
5
|
+
## 效果预览
|
|
6
|
+
|
|
7
|
+
记得聊过「离线导出」,却忘了在哪个对话?输入关键词,从正文片段中找回它。
|
|
8
|
+
|
|
9
|
+

|
|
4
10
|
|
|
5
11
|
## 安装
|
|
6
12
|
|
|
@@ -8,36 +14,50 @@ DeepSeek Harness(DSH)的对话查找插件。按 **⌘F / Ctrl+F** 查找当
|
|
|
8
14
|
2. 输入 `@ryuu-64/dsh-find-all`,安装并启用。
|
|
9
15
|
3. 重启 DSH(网页版需重启服务并刷新页面)。
|
|
10
16
|
|
|
11
|
-
如果装过 `dsh-find-bar
|
|
17
|
+
如果装过 `dsh-find-bar`,请先卸载,避免快捷键冲突。支持的宿主与功能范围见[兼容说明](docs/compatibility.md)。
|
|
12
18
|
|
|
13
19
|
## 使用
|
|
14
20
|
|
|
21
|
+
### 查找其他对话
|
|
22
|
+
|
|
23
|
+
1. 点侧栏「对话全文搜索」,输入关键词,无需先打开聊天。默认同时搜索标题和正文;只记得标题时可勾选「仅标题」。
|
|
24
|
+
2. 从结果的标题、工作区和正文片段中找到目标。一页满后,点「继续加载结果」。想找已归档的聊天,勾选「包含归档」。
|
|
25
|
+
3. 点结果打开对话,继续用同一关键词查找。归档结果需主动点「取消归档并打开」;点「返回搜索结果」可回到原查询和列表位置。
|
|
26
|
+
|
|
27
|
+
搜索会分批显示结果,并区分尚未搜完、读取失败、已停止和确实没有结果。查询期间有新增或改动的内容,可在搜索框按 `Enter` 重新搜索。
|
|
28
|
+
|
|
29
|
+
### 查找当前对话
|
|
30
|
+
|
|
15
31
|
- **打开查找**:按 `⌘F / Ctrl+F`,输入关键词。
|
|
16
32
|
- **切换结果**:按 `Enter` / `Shift+Enter`;也可点击结果数量,输入序号后按 `Enter` 跳转。
|
|
17
|
-
- **调整搜索**:点 `⋯`,切换「完整会话 / 已加载内容」,或勾选思考、工具等内容。默认搜索用户消息和助手回复。
|
|
18
|
-
- **搜索新消息**:点 `⋯` →「重新读取最新会话历史」。
|
|
19
33
|
- **停止搜索**:点查找栏里正在搜索的状态提示。
|
|
20
34
|
- **关闭查找**:按 `Esc`;选项展开时会先收起选项。
|
|
21
35
|
|
|
22
|
-
|
|
36
|
+
例如,输入「离线导出」后切换到下一处,查看高亮的正文。
|
|
23
37
|
|
|
24
|
-
|
|
38
|
+

|
|
25
39
|
|
|
26
|
-
|
|
40
|
+
### 搜索选项
|
|
27
41
|
|
|
28
|
-
|
|
42
|
+
点查找栏的 `⋯` 打开菜单:
|
|
29
43
|
|
|
30
|
-
|
|
44
|
+
- 切换「完整会话 / 已加载内容」,或勾选思考、工具等内容。默认搜索用户消息和助手回复。
|
|
45
|
+
- 点「重新读取最新会话历史」,搜索刚收到的新消息。
|
|
46
|
+
- 进入「对话全文搜索」,带上当前关键词寻找其他对话。
|
|
47
|
+
- 点「检查更新」查看新版;有新版时,在 DSH「插件」页卸载后重新安装并重启。
|
|
48
|
+
- 点「复制诊断信息」准备问题反馈,或点「关于」查看作者和项目链接。
|
|
31
49
|
|
|
32
|
-
|
|
50
|
+

|
|
33
51
|
|
|
34
|
-
|
|
52
|
+
## 搜索范围与限制
|
|
35
53
|
|
|
36
|
-
|
|
54
|
+
- **跨对话搜索**只查当前连接的 DSH 服务中、所有工作区的普通对话。默认不含归档;查看归档命中不会自动恢复对话。
|
|
55
|
+
- **正文范围**是已保存的用户消息和助手已完成的正文,包括压缩前仍可阅读的历史。不搜索工具、思考过程、子代理、附件、图片文字或未发送草稿。
|
|
56
|
+
- **匹配方式**是忽略大小写的字面子串,支持中文短词、英文和代码片段。跨对话匹配保存的原始 Markdown 文本,跨格式标记的渲染后短语不保证匹配;打开摘要也不保证直接跳到原句。
|
|
57
|
+
- **历史与结果**:首次跨对话搜索需逐个读取会话,大型历史可能较慢;极大或无法读取的会话会提示未完整搜索。当前对话的「完整会话」搜索已保存消息,无法使用时可改选「已加载内容」;不搜索图片文字或附件内容,最多显示前 5000 个结果,没搜完或无法准确跳转时会提示。
|
|
58
|
+
- **隐私与配置**:搜索不改聊天记录,不把搜索词或正文发送到外部 AI;浏览器只接收匹配片段。无需开启 SQLite 全文索引,也不建立持久正文索引或改变宿主默认配置。宿主缺少跨对话搜索所需接口时会提示服务不可用,原有会话内查找仍可使用。
|
|
37
59
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
在 `⋯` 中点「检查更新」。有新版时,去 DSH「插件」页卸载本插件,再按上面的步骤重新安装并重启 DSH。
|
|
60
|
+
跨对话搜索的详细说明也可在搜索面板的「搜索说明」中查看。
|
|
41
61
|
|
|
42
62
|
## 反馈与交流
|
|
43
63
|
|
|
@@ -45,8 +65,6 @@ DeepSeek Harness(DSH)的对话查找插件。按 **⌘F / Ctrl+F** 查找当
|
|
|
45
65
|
|
|
46
66
|
QQ 交流群:**1129212995**。需要跟进的问题请到 GitHub 反馈。
|
|
47
67
|
|
|
48
|
-
点 `⋯` →「关于」可查看作者、联系方式与项目链接。
|
|
49
|
-
|
|
50
68
|
## 作者与致谢
|
|
51
69
|
|
|
52
70
|
由 [Ryuu-64](https://github.com/Ryuu-64) 维护,基于 [secyborg/dsh-find-bar](https://github.com/secyborg/dsh-find-bar) 开发,感谢 secyborg 的原作。
|
package/lib/client.js
CHANGED
|
@@ -32,9 +32,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
32
32
|
));
|
|
33
33
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
34
34
|
|
|
35
|
-
//
|
|
35
|
+
// node_modules/semver/internal/debug.js
|
|
36
36
|
var require_debug = __commonJS({
|
|
37
|
-
"
|
|
37
|
+
"node_modules/semver/internal/debug.js"(exports, module2) {
|
|
38
38
|
"use strict";
|
|
39
39
|
var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
40
40
|
};
|
|
@@ -42,9 +42,9 @@ var require_debug = __commonJS({
|
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
//
|
|
45
|
+
// node_modules/semver/internal/constants.js
|
|
46
46
|
var require_constants = __commonJS({
|
|
47
|
-
"
|
|
47
|
+
"node_modules/semver/internal/constants.js"(exports, module2) {
|
|
48
48
|
"use strict";
|
|
49
49
|
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
50
50
|
var MAX_LENGTH = 256;
|
|
@@ -74,9 +74,9 @@ var require_constants = __commonJS({
|
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
//
|
|
77
|
+
// node_modules/semver/internal/re.js
|
|
78
78
|
var require_re = __commonJS({
|
|
79
|
-
"
|
|
79
|
+
"node_modules/semver/internal/re.js"(exports, module2) {
|
|
80
80
|
"use strict";
|
|
81
81
|
var {
|
|
82
82
|
MAX_SAFE_COMPONENT_LENGTH,
|
|
@@ -162,9 +162,9 @@ var require_re = __commonJS({
|
|
|
162
162
|
}
|
|
163
163
|
});
|
|
164
164
|
|
|
165
|
-
//
|
|
165
|
+
// node_modules/semver/internal/parse-options.js
|
|
166
166
|
var require_parse_options = __commonJS({
|
|
167
|
-
"
|
|
167
|
+
"node_modules/semver/internal/parse-options.js"(exports, module2) {
|
|
168
168
|
"use strict";
|
|
169
169
|
var looseOption = Object.freeze({ loose: true });
|
|
170
170
|
var emptyOpts = Object.freeze({});
|
|
@@ -181,9 +181,9 @@ var require_parse_options = __commonJS({
|
|
|
181
181
|
}
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
//
|
|
184
|
+
// node_modules/semver/internal/identifiers.js
|
|
185
185
|
var require_identifiers = __commonJS({
|
|
186
|
-
"
|
|
186
|
+
"node_modules/semver/internal/identifiers.js"(exports, module2) {
|
|
187
187
|
"use strict";
|
|
188
188
|
var numeric = /^[0-9]+$/;
|
|
189
189
|
var compareIdentifiers = (a, b) => {
|
|
@@ -206,9 +206,9 @@ var require_identifiers = __commonJS({
|
|
|
206
206
|
}
|
|
207
207
|
});
|
|
208
208
|
|
|
209
|
-
//
|
|
209
|
+
// node_modules/semver/classes/semver.js
|
|
210
210
|
var require_semver = __commonJS({
|
|
211
|
-
"
|
|
211
|
+
"node_modules/semver/classes/semver.js"(exports, module2) {
|
|
212
212
|
"use strict";
|
|
213
213
|
var debug = require_debug();
|
|
214
214
|
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
@@ -498,9 +498,9 @@ var require_semver = __commonJS({
|
|
|
498
498
|
}
|
|
499
499
|
});
|
|
500
500
|
|
|
501
|
-
//
|
|
501
|
+
// node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js
|
|
502
502
|
var require_react_dom_server_legacy_browser_production_min = __commonJS({
|
|
503
|
-
"
|
|
503
|
+
"node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js"(exports) {
|
|
504
504
|
"use strict";
|
|
505
505
|
/**
|
|
506
506
|
* @license React
|
|
@@ -2036,9 +2036,9 @@ var require_react_dom_server_legacy_browser_production_min = __commonJS({
|
|
|
2036
2036
|
}
|
|
2037
2037
|
});
|
|
2038
2038
|
|
|
2039
|
-
//
|
|
2039
|
+
// node_modules/react-dom/cjs/react-dom-server.browser.production.min.js
|
|
2040
2040
|
var require_react_dom_server_browser_production_min = __commonJS({
|
|
2041
|
-
"
|
|
2041
|
+
"node_modules/react-dom/cjs/react-dom-server.browser.production.min.js"(exports) {
|
|
2042
2042
|
"use strict";
|
|
2043
2043
|
/**
|
|
2044
2044
|
* @license React
|
|
@@ -3671,9 +3671,9 @@ var require_react_dom_server_browser_production_min = __commonJS({
|
|
|
3671
3671
|
}
|
|
3672
3672
|
});
|
|
3673
3673
|
|
|
3674
|
-
//
|
|
3674
|
+
// node_modules/react-dom/server.browser.js
|
|
3675
3675
|
var require_server_browser = __commonJS({
|
|
3676
|
-
"
|
|
3676
|
+
"node_modules/react-dom/server.browser.js"(exports) {
|
|
3677
3677
|
"use strict";
|
|
3678
3678
|
var l;
|
|
3679
3679
|
var s;
|
|
@@ -6035,11 +6035,8 @@ var L2 = ZH ? {
|
|
|
6035
6035
|
prev: "\u4E0A\u4E00\u4E2A\u5339\u914D",
|
|
6036
6036
|
next: "\u4E0B\u4E00\u4E2A\u5339\u914D",
|
|
6037
6037
|
close: "\u5173\u95ED\u67E5\u627E",
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
moveRight: "\u5411\u53F3\u79FB\u52A8",
|
|
6041
|
-
moveUp: "\u5411\u4E0A\u79FB\u52A8",
|
|
6042
|
-
moveDown: "\u5411\u4E0B\u79FB\u52A8",
|
|
6038
|
+
findTitle: "\u5F53\u524D\u5BF9\u8BDD\u67E5\u627E",
|
|
6039
|
+
move: "\u62D6\u52A8\u67E5\u627E\u680F\u7A7A\u767D\u5904\u79FB\u52A8\uFF1B\u65B9\u5411\u952E\u79FB\u52A8\uFF1BHome \u6062\u590D\u9ED8\u8BA4\u4F4D\u7F6E",
|
|
6043
6040
|
resetPosition: "\u6062\u590D\u9ED8\u8BA4\u4F4D\u7F6E",
|
|
6044
6041
|
cap: "\u4EC5\u663E\u793A\u524D {n} \u5904\u5339\u914D",
|
|
6045
6042
|
resultCount: "{n} \u4E2A\u7ED3\u679C",
|
|
@@ -6122,11 +6119,8 @@ var L2 = ZH ? {
|
|
|
6122
6119
|
prev: "Previous match",
|
|
6123
6120
|
next: "Next match",
|
|
6124
6121
|
close: "Close find",
|
|
6125
|
-
|
|
6126
|
-
|
|
6127
|
-
moveRight: "Move right",
|
|
6128
|
-
moveUp: "Move up",
|
|
6129
|
-
moveDown: "Move down",
|
|
6122
|
+
findTitle: "Find in conversation",
|
|
6123
|
+
move: "Drag empty space in the find bar to move it; use arrow keys to move and Home to reset",
|
|
6130
6124
|
resetPosition: "Reset position",
|
|
6131
6125
|
cap: "Showing only the first {n} matches",
|
|
6132
6126
|
resultCount: "{n} results",
|
|
@@ -6294,7 +6288,7 @@ async function runPageIn(opts) {
|
|
|
6294
6288
|
}
|
|
6295
6289
|
}
|
|
6296
6290
|
function cssText() {
|
|
6297
|
-
return "#" + BAR_ID + "{--dsh-find-all-max-width:480px;container:dsh-find-all / inline-size;position:fixed;top:var(--dsh-find-all-bar-top);right:var(--dsh-find-all-bar-right);z-index:2147483000;visibility:hidden;isolation:isolate;box-sizing:border-box;align-items:stretch;gap:4px;padding:6px 8px;display:flex;flex-direction:column;width:min(var(--dsh-find-all-max-width),var(--dsh-find-all-panel-width));max-width:calc(100vw - 16px);max-height:var(--dsh-find-all-max-height);overflow:auto;background:transparent;--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);border:0;border-radius:var(--dsw-radius-md,8px);box-shadow:var(--dsw-elevation-panel,var(--dsw-shadow-lv2))}#" + BAR_ID + "[data-positioned]{visibility:visible}#" + BAR_ID + ":before,#" + BAR_ID + '-content-panel:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;background:var(--dsw-menu-surface-fill,var(--dsw-specific-menu,var(--dsw-alias-bg-layer-2)));-webkit-backdrop-filter:var(--dsw-menu-backdrop-filter,blur(40px) saturate(150%));backdrop-filter:var(--dsw-menu-backdrop-filter,blur(40px) saturate(150%))}#' + BAR_ID + " .controls{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0}#" + BAR_ID + " input.query{box-sizing:border-box;flex:1 1 0;min-width:64px;max-width:100%;width:auto;height:28px;color:var(--dsw-alias-label-primary);font:13px/1 var(--dsw-font-family);background:var(--dsw-alias-bg-base);border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-sm,6px);outline:none;padding:0 8px}#" + BAR_ID + " input.query:focus-visible{border-color:var(--dsw-alias-state-business-primary)}#" + BAR_ID + " .count{box-sizing:border-box;flex:0 1 80px;width:80px;min-width:64px;max-width:96px;height:28px;line-height:28px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--dsw-alias-label-tertiary);font:12px/28px var(--dsw-font-family);font-variant-numeric:tabular-nums;text-align:center}#" + BAR_ID + " button.count{width:80px;min-width:64px;padding:0 4px;flex:0 1 80px}#" + BAR_ID + " .count[hidden],#" + BAR_ID + " .count-editor[hidden],#" + BAR_ID + " .count-hint[hidden]{display:none}#" + BAR_ID + " .count-editor{display:flex;align-items:center;gap:2px;flex:none;color:var(--dsw-alias-label-tertiary);font:12px/1 var(--dsw-font-family);font-variant-numeric:tabular-nums}#" + BAR_ID + " input.count-input{box-sizing:border-box;width:5.5ch;min-width:0;height:28px;padding:0 3px;text-align:right;font:inherit;color:var(--dsw-alias-label-primary);background:var(--dsw-alias-bg-base);border:1px solid var(--dsw-alias-border-l4);border-radius:4px}#" + BAR_ID + " input.count-input:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:1px}#" + BAR_ID + " input.count-input[aria-invalid=true]{border-color:var(--dsw-alias-state-error-primary,#c33)}#" + BAR_ID + " .count-hint{padding:2px 8px 0 32px;color:var(--dsw-alias-label-secondary);font:12px/1.5 var(--dsw-font-family);overflow-wrap:anywhere}#" + BAR_ID + " .count-hint[data-error]{color:var(--dsw-alias-state-error-primary,#c33)}#" + BAR_ID + " .status{box-sizing:border-box;width:100%;padding:2px 8px 4px 32px;color:var(--dsw-alias-label-tertiary);font:12px/1.5 var(--dsw-font-family);text-align:left;white-space:normal;overflow-wrap:anywhere}#" + BAR_ID + " .status:empty{display:none}#" + BAR_ID + " .position-controls{display:flex;flex-wrap:wrap;align-items:center;gap:4px}#" + BAR_ID + " .position-controls[hidden]{display:none}#" + BAR_ID + " button.drag-handle{touch-action:none;user-select:none;cursor:grab;flex:none}#" + BAR_ID + "[data-dragging] button.drag-handle{cursor:grabbing}#" + BAR_ID + " .status[data-busy]{cursor:pointer;color:var(--dsw-alias-state-business-primary)}#" + BAR_ID + " .navigation-controls{display:flex;align-items:center;gap:4px;flex:none}#" + BAR_ID + " .content-filter{position:relative;width:28px;padding:0}#" + BAR_ID + " .content-filter[aria-expanded=true]{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-button-ghost-active-fill,var(--dsw-alias-interactive-bg-hover))}#" + BAR_ID + " .content-filter[aria-expanded=true]:hover{background:var(--dsw-alias-button-ghost-active-hover,var(--dsw-alias-interactive-bg-active))}#" + BAR_ID + ' .content-filter[data-filtered]:after{content:"";position:absolute;top:3px;right:3px;width:5px;height:5px;border-radius:50%;background:var(--dsw-alias-state-business-primary)}#' + BAR_ID + "-content-panel{position:fixed;z-index:2147483001;isolation:isolate;box-sizing:border-box;display:flex;flex-direction:column;min-width:0;width:320px;max-width:calc(100vw - 16px);margin:0;padding:0;overflow:hidden;--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);box-shadow:var(--dsw-elevation-prominent,var(--dsw-elevation-panel,var(--dsw-shadow-lv2)));color:var(--dsw-alias-label-primary);font:13px/20px var(--dsw-font-family);border:0;border-radius:var(--dsw-radius-md,8px);background:transparent}#" + BAR_ID + "-content-panel[hidden]{display:none}#" + BAR_ID + "-content-panel .content-viewport{min-height:0;overflow:auto;padding:4px;--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2)}#" + BAR_ID + "-content-panel fieldset{min-width:0;margin:0;padding:0;border:0}#" + BAR_ID + "-content-panel legend{box-sizing:border-box;width:100%;padding:4px 8px;font:500 11px/16px var(--dsw-font-family);color:var(--dsw-alias-label-tertiary)}#" + BAR_ID + "-content-panel .content-options{display:grid;grid-template-columns:minmax(0,1fr)}#" + BAR_ID + "-content-panel .content-option{box-sizing:border-box;min-width:0;min-height:28px;padding:4px 8px;align-items:center;gap:6px;display:flex;border-radius:var(--dsw-radius-sm,6px);cursor:pointer}#" + BAR_ID + "-content-panel .content-option:hover{background:var(--dsw-alias-interactive-bg-hover)}#" + BAR_ID + "-content-panel .content-option span{min-width:0;overflow-wrap:anywhere}#" + BAR_ID + "-content-panel .content-option input{appearance:auto;accent-color:var(--dsw-alias-brand-primary,var(--dsw-alias-state-business-primary));flex:none;width:16px;height:16px;margin:0;cursor:inherit}#" + BAR_ID + "-content-panel .content-reset{margin-top:4px;padding:0 8px;font:12px/18px var(--dsw-font-family)}#" + BAR_ID + "-content-panel .scope-group{padding-bottom:4px;margin-bottom:4px;border-bottom:1px solid var(--dsw-alias-border-l1)}#" + BAR_ID + "-content-panel .history-command{margin-top:4px;padding-top:4px;border-top:1px solid var(--dsw-alias-border-l1)}#" + BAR_ID + "-content-panel .update-version,#" + BAR_ID + "-content-panel .update-status{margin:0;padding:4px 8px;font:12px/18px var(--dsw-font-family);color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}#" + BAR_ID + "-content-panel .update-status:empty{padding:0}#" + BAR_ID + "-content-panel .update-command [hidden]{display:none}#" + BAR_ID + "-content-panel .diagnostic-command{display:flex;flex-wrap:wrap;align-items:center;gap:4px}#" + BAR_ID + "-content-panel .diagnostic-command button{flex:1;width:auto}#" + BAR_ID + "-content-panel .diagnostic-feedback{padding:0 8px;font:12px/18px var(--dsw-font-family);color:var(--dsw-alias-label-secondary)}#" + BAR_ID + "-content-panel .feedback-issue{display:flex;align-items:center;gap:6px;box-sizing:border-box;min-height:28px;width:100%;padding:4px 8px;color:var(--dsw-alias-label-secondary);text-decoration:none;border-radius:var(--dsw-radius-sm,6px)}#" + BAR_ID + "-content-panel .feedback-issue:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}#" + BAR_ID + "-content-panel .feedback-privacy{margin:0;padding:0 8px 4px;font:12px/18px var(--dsw-font-family);color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere}#" + BAR_ID + "-content-panel .history-command button{width:100%;height:auto;min-height:28px;justify-content:flex-start;gap:6px;padding:4px 8px;text-align:left;font:13px/20px var(--dsw-font-family)}#" + BAR_ID + " button,#" + BAR_ID + "-content-panel button{box-sizing:border-box;flex:none;height:28px;min-width:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:var(--dsw-radius-sm,6px);align-items:center;justify-content:center;display:inline-flex}#" + BAR_ID + " button[hidden]{display:none}#" + BAR_ID + " button:hover,#" + BAR_ID + "-content-panel button:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}#" + BAR_ID + " button:focus-visible,#" + BAR_ID + "-content-panel :focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}#" + BAR_ID + " button:disabled,#" + BAR_ID + "-content-panel button:disabled,#" + BAR_ID + "-content-panel button[aria-disabled=true]{opacity:.5;cursor:default}#" + BAR_ID + " [data-find-all-return][hidden]{display:none}#" + BAR_ID + " [data-find-all-return]{gap:4px;padding:0 8px;white-space:nowrap}@container dsh-find-all (max-width:550px){#" + BAR_ID + " .return-label{display:none}#" + BAR_ID + " [data-find-all-return]{padding:0 6px}}@container dsh-find-all (max-width:360px){#" + BAR_ID + " .controls,#" + BAR_ID + " .navigation-controls{gap:2px}#" + BAR_ID + " .count,#" + BAR_ID + " button.count{width:64px;min-width:64px;max-width:64px}#" + BAR_ID + " .status{padding-left:30px}}@container dsh-find-all (max-width:330px){#" + BAR_ID + " .controls{flex-wrap:wrap}#" + BAR_ID + " .navigation-controls{margin-left:auto}}#" + BAR_ID + " svg{pointer-events:none}#" + BAR_ID + "[data-about-open]{z-index:999;pointer-events:none}.dsh-find-all-conversations{width:min(680px,100%);align-self:flex-start;max-height:100%;min-width:0;padding:0;gap:0;font-family:var(--dsw-font-family)}.dsh-find-all-conversations-layout{display:flex;flex-direction:column;min-width:0;min-height:0;flex:1;width:100%;max-width:100%;overflow-y:auto;overflow-x:hidden}.dsh-find-all-conversations-header{display:flex;align-items:center;gap:8px;flex:none;min-width:0;padding:16px 16px 8px}.dsh-find-all-conversations-input{flex:1;min-width:0;box-sizing:border-box}.dsh-find-all-conversations-close{flex:none;width:28px;padding:0;color:var(--dsw-alias-label-secondary)}.dsh-find-all-conversations-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;flex:none;min-width:0;padding:0 16px 10px;border-bottom:.5px solid var(--dsw-alias-border-l1)}.dsh-find-all-conversations-scope{min-width:0;font-size:12px;line-height:18px;color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere}.dsh-find-all-conversations-options{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin-left:auto;min-width:0;max-width:100%}.dsh-find-all-conversations-title-only{flex:none;font-size:12px;line-height:18px;white-space:nowrap}.dsh-find-all-conversations-title-only-fallback{display:inline-flex;align-items:center;gap:6px}.dsh-find-all-conversations-title-only-fallback input{margin:0;accent-color:var(--dsw-alias-brand-primary)}.dsh-find-all-conversations-list{display:flex;flex-direction:column;flex:0 1 auto;min-height:0;min-width:0;max-width:100%;max-height:416px;box-sizing:border-box;padding:4px 8px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}.dsh-find-all-conversations-empty{padding:16px 8px;font-size:13px;line-height:20px;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.dsh-find-all-conversations-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 8px;flex:none;min-height:0;max-height:35%;padding:8px 12px;border-top:.5px solid var(--dsw-alias-border-l1);overflow-y:auto;overflow-x:hidden}.dsh-find-all-conversations-status-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;flex:1;min-width:0}.dsh-find-all-conversations-status{margin:0;min-width:0;font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.dsh-find-all-conversations-status:empty{display:none}.dsh-find-all-conversations-actions{display:flex;gap:4px;flex-wrap:wrap}.dsh-find-all-conversations-help{flex:none;margin-left:auto;color:var(--dsw-alias-label-tertiary)}.dsh-find-all-conversations-help-content{flex:0 1 auto;min-height:0;max-height:160px;padding:0 16px 12px;overflow-y:auto;font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.dsh-find-all-conversations-help-content[hidden]{display:none}.dsh-find-all-conversations-help-content p{margin:6px 0 0}.dsh-find-all-conversations-match{color:inherit;background:var(--dsw-alias-state-business-tertiary);font-weight:600}.dsh-find-all-conversations-row{display:flex;flex-direction:column;align-items:stretch;flex:none;width:100%;min-width:0;max-width:100%;min-height:48px;box-sizing:border-box;border:none;border-radius:var(--dsw-radius-lg);padding:4px 8px;background:transparent;cursor:pointer;text-align:left;color:var(--dsw-alias-label-primary);font-family:inherit}.dsh-find-all-conversations-row:not(.dsh-find-all-conversations-archived-row):hover,.dsh-find-all-conversations-row:not(.dsh-find-all-conversations-archived-row)[aria-current=true]{background:var(--dsw-alias-interactive-bg-hover)}.dsh-find-all-conversations-row:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.dsh-find-all-conversations-archived-row{cursor:default}.dsh-find-all-conversations-row-heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%}.dsh-find-all-conversations-row-heading>.dsh-find-all-conversations-title{flex:1;min-width:0}.dsh-find-all-conversations-archive-label{flex:none;font-size:12px;line-height:17px;color:var(--dsw-alias-label-tertiary)}.dsh-find-all-conversations-restore{flex:none}.dsh-find-all-conversations-row-error{min-width:0;max-width:100%;font-size:12px;line-height:17px;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.dsh-find-all-conversations-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:20px;font-weight:400}.dsh-find-all-conversations-meta{display:flex;align-items:center;gap:6px;min-width:0;min-height:17px}.dsh-find-all-conversations-info,.dsh-find-all-conversations-snippet{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:17px}.dsh-find-all-conversations-info{flex:none;max-width:40%;color:var(--dsw-alias-label-tertiary)}.dsh-find-all-conversations-info:only-child{max-width:100%}.dsh-find-all-conversations-snippet{flex:1;min-width:0;color:var(--dsw-alias-label-secondary)}.dsh-find-all-about{max-height:100%;font-family:var(--dsw-font-family)}.dsh-find-all-about-content{min-height:0;overflow:auto}.dsh-find-all-about-details{display:flex;flex-direction:column;gap:16px;color:var(--dsw-alias-label-primary);font:13px/20px var(--dsw-font-family);overflow-wrap:anywhere}.dsh-find-all-about-details p{margin:0}.dsh-find-all-about-details h3{margin:0 0 6px;font:500 13px/20px var(--dsw-font-family)}.dsh-find-all-about-details a{color:var(--dsw-alias-state-business-primary);text-underline-offset:3px}.dsh-find-all-about-links{display:flex;flex-wrap:wrap;gap:6px 16px}.dsh-find-all-about-group{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}.dsh-find-all-about-status{color:var(--dsw-alias-label-secondary)}.dsh-find-all-about-details :focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}::highlight(" + HL_ALL + "){background-color:rgba(245,197,24,.42)}::highlight(" + HL_CUR + "){background-color:#f5a623;color:#141414}";
|
|
6291
|
+
return "#" + BAR_ID + "{--dsh-find-all-max-width:480px;container:dsh-find-all / inline-size;position:fixed;top:var(--dsh-find-all-bar-top);right:var(--dsh-find-all-bar-right);z-index:2147483000;visibility:hidden;isolation:isolate;box-sizing:border-box;align-items:stretch;gap:4px;padding:6px 8px;display:flex;flex-direction:column;width:min(var(--dsh-find-all-max-width),var(--dsh-find-all-panel-width));max-width:calc(100vw - 16px);max-height:var(--dsh-find-all-max-height);overflow:auto;background:transparent;--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);border:0;border-radius:var(--dsw-radius-md,8px);box-shadow:var(--dsw-elevation-panel,var(--dsw-shadow-lv2))}#" + BAR_ID + "[data-positioned]{visibility:visible}#" + BAR_ID + ":before,#" + BAR_ID + '-content-panel:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;background:var(--dsw-menu-surface-fill,var(--dsw-specific-menu,var(--dsw-alias-bg-layer-2)));-webkit-backdrop-filter:var(--dsw-menu-backdrop-filter,blur(40px) saturate(150%));backdrop-filter:var(--dsw-menu-backdrop-filter,blur(40px) saturate(150%))}#' + BAR_ID + " .move-header{display:flex;align-items:center;gap:4px;min-width:0;min-height:28px;cursor:move}#" + BAR_ID + " .move-header:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px;border-radius:var(--dsw-radius-sm,6px)}#" + BAR_ID + " .move-grip{flex:none;width:8px;align-self:stretch;touch-action:none;user-select:none}#" + BAR_ID + " .move-actions{display:flex;align-items:center;gap:2px;flex:none}#" + BAR_ID + "[data-dragging] .move-header{cursor:grabbing}#" + BAR_ID + " .controls{display:flex;flex:1;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0}#" + BAR_ID + " input.query{box-sizing:border-box;flex:1 1 0;min-width:64px;max-width:100%;width:auto;height:28px;color:var(--dsw-alias-label-primary);font:13px/1 var(--dsw-font-family);background:var(--dsw-alias-bg-base);border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-sm,6px);outline:none;padding:0 8px}#" + BAR_ID + " input.query:focus-visible{border-color:var(--dsw-alias-state-business-primary)}#" + BAR_ID + " .count{box-sizing:border-box;flex:0 1 80px;width:80px;min-width:64px;max-width:96px;height:28px;line-height:28px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--dsw-alias-label-tertiary);font:12px/28px var(--dsw-font-family);font-variant-numeric:tabular-nums;text-align:center}#" + BAR_ID + " button.count{width:80px;min-width:64px;padding:0 4px;flex:0 1 80px}#" + BAR_ID + " .count[hidden],#" + BAR_ID + " .count-editor[hidden],#" + BAR_ID + " .count-hint[hidden]{display:none}#" + BAR_ID + " .count-editor{display:flex;align-items:center;gap:2px;flex:none;color:var(--dsw-alias-label-tertiary);font:12px/1 var(--dsw-font-family);font-variant-numeric:tabular-nums}#" + BAR_ID + " input.count-input{box-sizing:border-box;width:5.5ch;min-width:0;height:28px;padding:0 3px;text-align:right;font:inherit;color:var(--dsw-alias-label-primary);background:var(--dsw-alias-bg-base);border:1px solid var(--dsw-alias-border-l4);border-radius:4px}#" + BAR_ID + " input.count-input:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:1px}#" + BAR_ID + " input.count-input[aria-invalid=true]{border-color:var(--dsw-alias-state-error-primary,#c33)}#" + BAR_ID + " .count-hint{padding:2px 8px 0;color:var(--dsw-alias-label-secondary);font:12px/1.5 var(--dsw-font-family);overflow-wrap:anywhere}#" + BAR_ID + " .count-hint[data-error]{color:var(--dsw-alias-state-error-primary,#c33)}#" + BAR_ID + " .status{box-sizing:border-box;width:100%;padding:2px 8px 4px;color:var(--dsw-alias-label-tertiary);font:12px/1.5 var(--dsw-font-family);text-align:left;white-space:normal;overflow-wrap:anywhere}#" + BAR_ID + " .status:empty{display:none}#" + BAR_ID + " .status[data-busy]{cursor:pointer;color:var(--dsw-alias-state-business-primary)}#" + BAR_ID + " .navigation-controls{display:flex;align-items:center;gap:4px;flex:none}#" + BAR_ID + " .content-filter{position:relative;width:28px;padding:0}#" + BAR_ID + " .content-filter[aria-expanded=true]{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-button-ghost-active-fill,var(--dsw-alias-interactive-bg-hover))}#" + BAR_ID + " .content-filter[aria-expanded=true]:hover{background:var(--dsw-alias-button-ghost-active-hover,var(--dsw-alias-interactive-bg-active))}#" + BAR_ID + ' .content-filter[data-filtered]:after{content:"";position:absolute;top:3px;right:3px;width:5px;height:5px;border-radius:50%;background:var(--dsw-alias-state-business-primary)}#' + BAR_ID + "-content-panel{position:fixed;z-index:2147483001;isolation:isolate;box-sizing:border-box;display:flex;flex-direction:column;min-width:0;width:320px;max-width:calc(100vw - 16px);margin:0;padding:0;overflow:hidden;--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);box-shadow:var(--dsw-elevation-prominent,var(--dsw-elevation-panel,var(--dsw-shadow-lv2)));color:var(--dsw-alias-label-primary);font:13px/20px var(--dsw-font-family);border:0;border-radius:var(--dsw-radius-md,8px);background:transparent}#" + BAR_ID + "-content-panel[hidden]{display:none}#" + BAR_ID + "-content-panel .content-viewport{min-height:0;overflow:auto;padding:4px;--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2)}#" + BAR_ID + "-content-panel fieldset{min-width:0;margin:0;padding:0;border:0}#" + BAR_ID + "-content-panel legend{box-sizing:border-box;width:100%;padding:4px 8px;font:500 11px/16px var(--dsw-font-family);color:var(--dsw-alias-label-tertiary)}#" + BAR_ID + "-content-panel .content-options{display:grid;grid-template-columns:minmax(0,1fr)}#" + BAR_ID + "-content-panel .content-option{box-sizing:border-box;min-width:0;min-height:28px;padding:4px 8px;align-items:center;gap:6px;display:flex;border-radius:var(--dsw-radius-sm,6px);cursor:pointer}#" + BAR_ID + "-content-panel .content-option:hover{background:var(--dsw-alias-interactive-bg-hover)}#" + BAR_ID + "-content-panel .content-option span{min-width:0;overflow-wrap:anywhere}#" + BAR_ID + "-content-panel .content-option input{appearance:auto;accent-color:var(--dsw-alias-brand-primary,var(--dsw-alias-state-business-primary));flex:none;width:16px;height:16px;margin:0;cursor:inherit}#" + BAR_ID + "-content-panel .content-reset{margin-top:4px;padding:0 8px;font:12px/18px var(--dsw-font-family)}#" + BAR_ID + "-content-panel .scope-group{padding-bottom:4px;margin-bottom:4px;border-bottom:1px solid var(--dsw-alias-border-l1)}#" + BAR_ID + "-content-panel .history-command{margin-top:4px;padding-top:4px;border-top:1px solid var(--dsw-alias-border-l1)}#" + BAR_ID + "-content-panel .update-version,#" + BAR_ID + "-content-panel .update-status{margin:0;padding:4px 8px;font:12px/18px var(--dsw-font-family);color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}#" + BAR_ID + "-content-panel .update-status:empty{padding:0}#" + BAR_ID + "-content-panel .update-command [hidden]{display:none}#" + BAR_ID + "-content-panel .diagnostic-command{display:flex;flex-wrap:wrap;align-items:center;gap:4px}#" + BAR_ID + "-content-panel .diagnostic-command button{flex:1;width:auto}#" + BAR_ID + "-content-panel .diagnostic-feedback{padding:0 8px;font:12px/18px var(--dsw-font-family);color:var(--dsw-alias-label-secondary)}#" + BAR_ID + "-content-panel .feedback-issue{display:flex;align-items:center;gap:6px;box-sizing:border-box;min-height:28px;width:100%;padding:4px 8px;color:var(--dsw-alias-label-secondary);text-decoration:none;border-radius:var(--dsw-radius-sm,6px)}#" + BAR_ID + "-content-panel .feedback-issue:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}#" + BAR_ID + "-content-panel .feedback-privacy{margin:0;padding:0 8px 4px;font:12px/18px var(--dsw-font-family);color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere}#" + BAR_ID + "-content-panel .history-command button{width:100%;height:auto;min-height:28px;justify-content:flex-start;gap:6px;padding:4px 8px;text-align:left;font:13px/20px var(--dsw-font-family)}#" + BAR_ID + " button,#" + BAR_ID + "-content-panel button{box-sizing:border-box;flex:none;height:28px;min-width:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:var(--dsw-radius-sm,6px);align-items:center;justify-content:center;display:inline-flex}#" + BAR_ID + " button[hidden]{display:none}#" + BAR_ID + " button:hover,#" + BAR_ID + "-content-panel button:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}#" + BAR_ID + " button:focus-visible,#" + BAR_ID + "-content-panel :focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}#" + BAR_ID + " button:disabled,#" + BAR_ID + "-content-panel button:disabled,#" + BAR_ID + "-content-panel button[aria-disabled=true]{opacity:.5;cursor:default}#" + BAR_ID + " [data-find-all-return][hidden]{display:none}#" + BAR_ID + " [data-find-all-return]{gap:4px;padding:0 8px;white-space:nowrap}@container dsh-find-all (max-width:550px){#" + BAR_ID + " .return-label{display:none}#" + BAR_ID + " [data-find-all-return]{padding:0 6px}}@container dsh-find-all (max-width:360px){#" + BAR_ID + " .controls,#" + BAR_ID + " .navigation-controls{gap:2px}#" + BAR_ID + " .count,#" + BAR_ID + " button.count{width:64px;min-width:64px;max-width:64px}}@container dsh-find-all (max-width:330px){#" + BAR_ID + " .controls{flex-wrap:wrap}#" + BAR_ID + " .navigation-controls{margin-left:auto}}#" + BAR_ID + " svg{pointer-events:none}#" + BAR_ID + "[data-about-open]{z-index:999;pointer-events:none}.dsh-find-all-conversations{width:min(680px,100%);align-self:flex-start;max-height:100%;min-width:0;padding:0;gap:0;font-family:var(--dsw-font-family)}.dsh-find-all-conversations-layout{display:flex;flex-direction:column;min-width:0;min-height:0;flex:1;width:100%;max-width:100%;overflow-y:auto;overflow-x:hidden}.dsh-find-all-conversations-header{display:flex;align-items:center;gap:8px;flex:none;min-width:0;padding:16px 16px 8px}.dsh-find-all-conversations-input{flex:1;min-width:0;box-sizing:border-box}.dsh-find-all-conversations-close{flex:none;width:28px;padding:0;color:var(--dsw-alias-label-secondary)}.dsh-find-all-conversations-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;flex:none;min-width:0;padding:0 16px 10px;border-bottom:.5px solid var(--dsw-alias-border-l1)}.dsh-find-all-conversations-scope{min-width:0;font-size:12px;line-height:18px;color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere}.dsh-find-all-conversations-options{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin-left:auto;min-width:0;max-width:100%}.dsh-find-all-conversations-title-only{flex:none;font-size:12px;line-height:18px;white-space:nowrap}.dsh-find-all-conversations-title-only-fallback{display:inline-flex;align-items:center;gap:6px}.dsh-find-all-conversations-title-only-fallback input{margin:0;accent-color:var(--dsw-alias-brand-primary)}.dsh-find-all-conversations-list{display:flex;flex-direction:column;flex:0 1 auto;min-height:0;min-width:0;max-width:100%;max-height:416px;box-sizing:border-box;padding:4px 8px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}.dsh-find-all-conversations-empty{padding:16px 8px;font-size:13px;line-height:20px;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.dsh-find-all-conversations-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 8px;flex:none;min-height:0;max-height:35%;padding:8px 12px;border-top:.5px solid var(--dsw-alias-border-l1);overflow-y:auto;overflow-x:hidden}.dsh-find-all-conversations-status-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;flex:1;min-width:0}.dsh-find-all-conversations-status{margin:0;min-width:0;font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.dsh-find-all-conversations-status:empty{display:none}.dsh-find-all-conversations-actions{display:flex;gap:4px;flex-wrap:wrap}.dsh-find-all-conversations-help{flex:none;margin-left:auto;color:var(--dsw-alias-label-tertiary)}.dsh-find-all-conversations-help-content{flex:0 1 auto;min-height:0;max-height:160px;padding:0 16px 12px;overflow-y:auto;font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.dsh-find-all-conversations-help-content[hidden]{display:none}.dsh-find-all-conversations-help-content p{margin:6px 0 0}.dsh-find-all-conversations-match{color:inherit;background:var(--dsw-alias-state-business-tertiary);font-weight:600}.dsh-find-all-conversations-row{display:flex;flex-direction:column;align-items:stretch;flex:none;width:100%;min-width:0;max-width:100%;min-height:48px;box-sizing:border-box;border:none;border-radius:var(--dsw-radius-lg);padding:4px 8px;background:transparent;cursor:pointer;text-align:left;color:var(--dsw-alias-label-primary);font-family:inherit}.dsh-find-all-conversations-row:not(.dsh-find-all-conversations-archived-row):hover,.dsh-find-all-conversations-row:not(.dsh-find-all-conversations-archived-row)[aria-current=true]{background:var(--dsw-alias-interactive-bg-hover)}.dsh-find-all-conversations-row:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.dsh-find-all-conversations-archived-row{cursor:default}.dsh-find-all-conversations-row-heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%}.dsh-find-all-conversations-row-heading>.dsh-find-all-conversations-title{flex:1;min-width:0}.dsh-find-all-conversations-archive-label{flex:none;font-size:12px;line-height:17px;color:var(--dsw-alias-label-tertiary)}.dsh-find-all-conversations-restore{flex:none}.dsh-find-all-conversations-row-error{min-width:0;max-width:100%;font-size:12px;line-height:17px;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.dsh-find-all-conversations-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:20px;font-weight:400}.dsh-find-all-conversations-meta{display:flex;align-items:center;gap:6px;min-width:0;min-height:17px}.dsh-find-all-conversations-info,.dsh-find-all-conversations-snippet{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:17px}.dsh-find-all-conversations-info{flex:none;max-width:40%;color:var(--dsw-alias-label-tertiary)}.dsh-find-all-conversations-info:only-child{max-width:100%}.dsh-find-all-conversations-snippet{flex:1;min-width:0;color:var(--dsw-alias-label-secondary)}.dsh-find-all-about{max-height:100%;font-family:var(--dsw-font-family)}.dsh-find-all-about-content{min-height:0;overflow:auto}.dsh-find-all-about-details{display:flex;flex-direction:column;gap:16px;color:var(--dsw-alias-label-primary);font:13px/20px var(--dsw-font-family);overflow-wrap:anywhere}.dsh-find-all-about-details p{margin:0}.dsh-find-all-about-details h3{margin:0 0 6px;font:500 13px/20px var(--dsw-font-family)}.dsh-find-all-about-details a{color:var(--dsw-alias-state-business-primary);text-underline-offset:3px}.dsh-find-all-about-links{display:flex;flex-wrap:wrap;gap:6px 16px}.dsh-find-all-about-group{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}.dsh-find-all-about-status{color:var(--dsw-alias-label-secondary)}.dsh-find-all-about-details :focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}::highlight(" + HL_ALL + "){background-color:rgba(245,197,24,.42)}::highlight(" + HL_CUR + "){background-color:#f5a623;color:#141414}";
|
|
6298
6292
|
}
|
|
6299
6293
|
function injectCss() {
|
|
6300
6294
|
if (typeof document === "undefined") return;
|
|
@@ -7385,10 +7379,7 @@ var state = {
|
|
|
7385
7379
|
positionFrame: null,
|
|
7386
7380
|
positionOwner: null,
|
|
7387
7381
|
manualPosition: null,
|
|
7388
|
-
drag: null
|
|
7389
|
-
dragHandle: null,
|
|
7390
|
-
positionControls: null,
|
|
7391
|
-
suppressMoveClick: false
|
|
7382
|
+
drag: null
|
|
7392
7383
|
};
|
|
7393
7384
|
function diagnosticCode(code) {
|
|
7394
7385
|
switch (code) {
|
|
@@ -7513,7 +7504,7 @@ async function copyDiagnostics() {
|
|
|
7513
7504
|
feedback.textContent = L2.copyingDiagnostics;
|
|
7514
7505
|
var copied = false;
|
|
7515
7506
|
try {
|
|
7516
|
-
var summary = { schemaVersion: 1, pluginVersion: "0.1.
|
|
7507
|
+
var summary = { schemaVersion: 1, pluginVersion: "0.1.13", current: diagnosticState(), lastFailure: state.lastFailure };
|
|
7517
7508
|
copied = typeof state.writeClipboard === "function" && await state.writeClipboard(JSON.stringify(summary, null, 2)) === true;
|
|
7518
7509
|
} catch (error) {
|
|
7519
7510
|
}
|
|
@@ -7605,67 +7596,70 @@ function moveBarBy(x, y) {
|
|
|
7605
7596
|
state.manualPosition = { left: box.left + x, top: box.top + y };
|
|
7606
7597
|
scheduleBarPosition();
|
|
7607
7598
|
}
|
|
7608
|
-
function
|
|
7609
|
-
var
|
|
7610
|
-
|
|
7611
|
-
|
|
7612
|
-
|
|
7613
|
-
|
|
7614
|
-
|
|
7615
|
-
|
|
7616
|
-
|
|
7617
|
-
|
|
7618
|
-
|
|
7619
|
-
|
|
7620
|
-
|
|
7599
|
+
function buildMoveHeader(bar, controls) {
|
|
7600
|
+
var header = document.createElement("div");
|
|
7601
|
+
header.className = "move-header";
|
|
7602
|
+
header.tabIndex = 0;
|
|
7603
|
+
header.setAttribute("role", "group");
|
|
7604
|
+
header.setAttribute("aria-label", L2.move);
|
|
7605
|
+
header.title = L2.move;
|
|
7606
|
+
var actions = document.createElement("div");
|
|
7607
|
+
actions.className = "move-actions";
|
|
7608
|
+
var reset = button(L2.resetPosition, "M3 10a9 9 0 1 1 2 8M3 4v6h6", resetBarPosition);
|
|
7609
|
+
var closeBtn = button(L2.close, "M18 6 6 18M6 6l12 12", close);
|
|
7610
|
+
[reset, closeBtn].forEach(function(action) {
|
|
7611
|
+
action.addEventListener("pointerdown", function(event) {
|
|
7612
|
+
event.stopPropagation();
|
|
7613
|
+
});
|
|
7621
7614
|
});
|
|
7622
|
-
|
|
7623
|
-
|
|
7624
|
-
|
|
7625
|
-
|
|
7615
|
+
actions.append(reset, closeBtn);
|
|
7616
|
+
var grip = document.createElement("span");
|
|
7617
|
+
grip.className = "move-grip";
|
|
7618
|
+
grip.setAttribute("aria-hidden", "true");
|
|
7619
|
+
header.append(grip, controls, actions);
|
|
7620
|
+
header.addEventListener("pointerdown", function(event) {
|
|
7621
|
+
if (event.target.closest("input, button, select, textarea, a, [contenteditable]")) return;
|
|
7626
7622
|
state.avoidMatchRange = null;
|
|
7627
7623
|
if (!event.isPrimary || event.button !== 0 || state.drag || !positionBar()) return;
|
|
7628
|
-
state.suppressMoveClick = false;
|
|
7629
7624
|
try {
|
|
7630
|
-
|
|
7625
|
+
header.setPointerCapture(event.pointerId);
|
|
7631
7626
|
} catch (error) {
|
|
7632
7627
|
return;
|
|
7633
7628
|
}
|
|
7634
7629
|
var box = state.bar.getBoundingClientRect();
|
|
7635
|
-
state.drag = { id: event.pointerId, handle, x: event.clientX, y: event.clientY, left: box.left, top: box.top };
|
|
7630
|
+
state.drag = { id: event.pointerId, handle: header, x: event.clientX, y: event.clientY, left: box.left, top: box.top, moved: false };
|
|
7636
7631
|
event.preventDefault();
|
|
7637
7632
|
});
|
|
7638
|
-
|
|
7633
|
+
header.addEventListener("pointermove", function(event) {
|
|
7639
7634
|
var drag = state.drag;
|
|
7640
7635
|
if (!drag || event.pointerId !== drag.id) return;
|
|
7641
7636
|
var x = event.clientX - drag.x, y = event.clientY - drag.y;
|
|
7642
|
-
if (!
|
|
7643
|
-
|
|
7637
|
+
if (!drag.moved && Math.abs(x) + Math.abs(y) < 4) return;
|
|
7638
|
+
drag.moved = true;
|
|
7644
7639
|
state.bar.setAttribute("data-dragging", "");
|
|
7645
7640
|
state.manualPosition = { left: drag.left + x, top: drag.top + y };
|
|
7646
7641
|
scheduleBarPosition();
|
|
7647
7642
|
});
|
|
7648
7643
|
["pointerup", "pointercancel", "lostpointercapture"].forEach(function(type) {
|
|
7649
|
-
|
|
7644
|
+
header.addEventListener(type, finishBarDrag);
|
|
7650
7645
|
});
|
|
7651
|
-
|
|
7652
|
-
|
|
7653
|
-
|
|
7654
|
-
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
|
|
7667
|
-
|
|
7668
|
-
bar.appendChild(moves);
|
|
7646
|
+
header.addEventListener("keydown", function(event) {
|
|
7647
|
+
if (event.target !== event.currentTarget || event.altKey || event.ctrlKey || event.metaKey || event.isComposing) return;
|
|
7648
|
+
if (event.key === " ") {
|
|
7649
|
+
event.preventDefault();
|
|
7650
|
+
return;
|
|
7651
|
+
}
|
|
7652
|
+
var movement = { ArrowLeft: [-32, 0], ArrowRight: [32, 0], ArrowUp: [0, -32], ArrowDown: [0, 32] }[event.key];
|
|
7653
|
+
if (movement) {
|
|
7654
|
+
event.preventDefault();
|
|
7655
|
+
moveBarBy(movement[0], movement[1]);
|
|
7656
|
+
} else if (event.key === "Home") {
|
|
7657
|
+
event.preventDefault();
|
|
7658
|
+
resetBarPosition();
|
|
7659
|
+
}
|
|
7660
|
+
});
|
|
7661
|
+
bar.appendChild(header);
|
|
7662
|
+
return closeBtn;
|
|
7669
7663
|
}
|
|
7670
7664
|
function scheduleBarPosition() {
|
|
7671
7665
|
if (!isOpen() || state.positionFrame !== null) return;
|
|
@@ -7940,7 +7934,7 @@ async function checkForUpdates() {
|
|
|
7940
7934
|
state.updateResult = null;
|
|
7941
7935
|
renderUpdateCheck();
|
|
7942
7936
|
try {
|
|
7943
|
-
var result = await checkLatestVersion("0.1.
|
|
7937
|
+
var result = await checkLatestVersion("0.1.13", task.signal);
|
|
7944
7938
|
if (state.mounted && state.updateTask === task) state.updateResult = result;
|
|
7945
7939
|
} catch (error) {
|
|
7946
7940
|
if (state.mounted && state.updateTask === task) state.updateResult = { status: "failed" };
|
|
@@ -8542,8 +8536,6 @@ function syncTarget(target, passive) {
|
|
|
8542
8536
|
var owner = state.positionOwner;
|
|
8543
8537
|
if (owner && (owner.id !== selected.id || owner.panel !== selected.panel)) {
|
|
8544
8538
|
resetBarPosition();
|
|
8545
|
-
if (state.positionControls) state.positionControls.hidden = true;
|
|
8546
|
-
if (state.dragHandle) state.dragHandle.setAttribute("aria-expanded", "false");
|
|
8547
8539
|
}
|
|
8548
8540
|
state.positionOwner = { id: selected.id, panel: selected.panel };
|
|
8549
8541
|
}
|
|
@@ -8661,8 +8653,10 @@ function buildBar() {
|
|
|
8661
8653
|
var bar = document.createElement("div");
|
|
8662
8654
|
bar.id = BAR_ID;
|
|
8663
8655
|
bar.setAttribute("role", "search");
|
|
8656
|
+
bar.setAttribute("aria-label", L2.findTitle);
|
|
8664
8657
|
var controls = document.createElement("div");
|
|
8665
8658
|
controls.className = "controls";
|
|
8659
|
+
var closeBtn = buildMoveHeader(bar, controls);
|
|
8666
8660
|
var navigation = document.createElement("div");
|
|
8667
8661
|
navigation.className = "navigation-controls";
|
|
8668
8662
|
var input = document.createElement("input");
|
|
@@ -8817,7 +8811,6 @@ function buildBar() {
|
|
|
8817
8811
|
cancelPageIn();
|
|
8818
8812
|
setStatus(L2.incomplete, false);
|
|
8819
8813
|
});
|
|
8820
|
-
buildPositionControls(controls, bar);
|
|
8821
8814
|
controls.appendChild(input);
|
|
8822
8815
|
controls.appendChild(countState);
|
|
8823
8816
|
controls.appendChild(count);
|
|
@@ -8854,7 +8847,7 @@ function buildBar() {
|
|
|
8854
8847
|
updateCommand.className = "history-command update-command";
|
|
8855
8848
|
var currentVersion = document.createElement("p");
|
|
8856
8849
|
currentVersion.className = "update-version";
|
|
8857
|
-
currentVersion.textContent = L2.currentVersion + " 0.1.
|
|
8850
|
+
currentVersion.textContent = L2.currentVersion + " 0.1.13";
|
|
8858
8851
|
var updateBtn = document.createElement("button");
|
|
8859
8852
|
updateBtn.type = "button";
|
|
8860
8853
|
updateBtn.className = "check-update";
|
|
@@ -8935,8 +8928,6 @@ function buildBar() {
|
|
|
8935
8928
|
state.returnBtn = returnBtn;
|
|
8936
8929
|
navigation.appendChild(returnBtn);
|
|
8937
8930
|
navigation.appendChild(contentBtn);
|
|
8938
|
-
var closeBtn = button(L2.close, "M18 6 6 18M6 6l12 12", close);
|
|
8939
|
-
navigation.appendChild(closeBtn);
|
|
8940
8931
|
contentPanel.addEventListener("keydown", function(event) {
|
|
8941
8932
|
if (event.key !== "Tab") return;
|
|
8942
8933
|
if (event.shiftKey && event.target === scopeInputs[state.scope]) {
|
|
@@ -8949,7 +8940,6 @@ function buildBar() {
|
|
|
8949
8940
|
}
|
|
8950
8941
|
});
|
|
8951
8942
|
controls.appendChild(navigation);
|
|
8952
|
-
bar.insertBefore(controls, bar.firstChild);
|
|
8953
8943
|
bar.appendChild(countHint);
|
|
8954
8944
|
bar.appendChild(status);
|
|
8955
8945
|
bar.appendChild(countLive);
|
|
@@ -9030,9 +9020,6 @@ function close() {
|
|
|
9030
9020
|
stopWatchingSession();
|
|
9031
9021
|
stopBarPositioning();
|
|
9032
9022
|
state.manualPosition = state.positionOwner = null;
|
|
9033
|
-
state.suppressMoveClick = false;
|
|
9034
|
-
if (state.positionControls) state.positionControls.hidden = true;
|
|
9035
|
-
if (state.dragHandle) state.dragHandle.setAttribute("aria-expanded", "false");
|
|
9036
9023
|
if (state.bar) {
|
|
9037
9024
|
state.bar.style.display = "none";
|
|
9038
9025
|
state.bar.removeAttribute("data-positioned");
|
|
@@ -9329,7 +9316,7 @@ function apply(ctx) {
|
|
|
9329
9316
|
if (state.bar) state.bar.remove();
|
|
9330
9317
|
if (state.contentPanel) state.contentPanel.remove();
|
|
9331
9318
|
if (state.announcement) state.announcement.remove();
|
|
9332
|
-
state.announcement = state.returnBtn =
|
|
9319
|
+
state.announcement = state.returnBtn = null;
|
|
9333
9320
|
state.diagnosticBtn = state.diagnosticFeedback = state.writeClipboard = null;
|
|
9334
9321
|
state.updateBtn = state.updateStatus = state.updateGuide = state.updateResult = null;
|
|
9335
9322
|
var style = document.querySelector('style[data-plugin-css="dsh-find-all/bar.css"]');
|
package/package.json
CHANGED