@sparkelf/dsh-knowledge-base 0.1.24 → 0.1.25
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 +1489 -693
- package/lib/client.js.map +1 -1
- package/lib/index.js +481 -1
- package/lib/types/api.d.ts +15 -0
- package/lib/types/client/graph/KnowledgeGraphTree.d.ts +41 -0
- package/lib/types/client/graph/KnowledgeGraphView.d.ts +37 -0
- package/lib/types/client/graph/KnowledgeScopeTabs.d.ts +35 -0
- package/lib/types/client/graph/useKnowledgeGraph.d.ts +41 -0
- package/lib/types/client/locales.d.ts +13 -0
- package/lib/types/graph.d.ts +114 -0
- package/lib/types/graphCanvas.d.ts +16 -0
- package/lib/types/graphTypes.d.ts +161 -0
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -61,6 +61,21 @@ window.__ModuleLoader__.load({
|
|
|
61
61
|
trashRestore: "trash.restore",
|
|
62
62
|
/** Search the mounted tree by file name and text. */
|
|
63
63
|
search: "search",
|
|
64
|
+
/**
|
|
65
|
+
* Read the permission-filtered knowledge-graph tree.
|
|
66
|
+
*
|
|
67
|
+
* The graph tab's only data route and strictly read-only: it scans
|
|
68
|
+
* `知识图谱/*` under the caller's scopes, asks `canReadPath` once per graph, and
|
|
69
|
+
* returns the domain tree. No graph, topic or relation is created here.
|
|
70
|
+
*/
|
|
71
|
+
graph: "graph",
|
|
72
|
+
/**
|
|
73
|
+
* The canvas-only page the graph tab embeds.
|
|
74
|
+
*
|
|
75
|
+
* A page rather than a JSON route: the first version reuses the prototype's
|
|
76
|
+
* mind-map canvas as-is, and the panel feeds it through `postMessage`.
|
|
77
|
+
*/
|
|
78
|
+
graphCanvas: "graph.canvas",
|
|
64
79
|
/** List one directory level, with each entry's modification time. */
|
|
65
80
|
list: "list",
|
|
66
81
|
/** Read one file for the preview, without needing a conversation session. */
|
|
@@ -312,42 +327,42 @@ window.__ModuleLoader__.load({
|
|
|
312
327
|
}
|
|
313
328
|
//#endregion
|
|
314
329
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeSettingsSection.module.css.mjs
|
|
315
|
-
const css$
|
|
316
|
-
const tagId$
|
|
317
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
330
|
+
const css$20 = ".c269jW_section{max-width:720px;color:var(--dsw-alias-label-primary);flex-direction:column;gap:12px;display:flex}.c269jW_title{font:var(--dsw-font-base-strong-16);margin:0}.c269jW_body{flex-direction:column;gap:10px;display:flex}.c269jW_groupTitle{color:var(--dsw-alias-label-secondary);margin:16px 0 0;font-size:12px;font-weight:500;line-height:18px}.c269jW_statusRow{align-items:center;gap:8px;display:flex}.c269jW_statusLabel{font:var(--dsw-font-xxs-strong-12)}.c269jW_pairs{gap:6px;margin:0;display:grid}.c269jW_pair{grid-template-columns:minmax(120px,34%) 1fr;align-items:baseline;gap:12px;display:grid}.c269jW_pair dt{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12)}.c269jW_pair dd{overflow-wrap:anywhere;font:var(--dsw-font-xxs-12);margin:0}.c269jW_pair code{font:var(--dsw-font-xxs-12) var(--ds-font-family-code)}.c269jW_detail{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);margin:0}.c269jW_notice{font:var(--dsw-font-xxs-12);margin:0}.c269jW_wizard{flex-direction:column;gap:10px;margin-top:4px;display:flex}.c269jW_field{flex-direction:column;gap:6px;display:flex}.c269jW_fieldLabel{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-secondary)}.c269jW_select{box-sizing:border-box;border-radius:var(--dsw-radius-md);border:.5px solid var(--dsw-alias-border-l4);background:var(--dsw-alias-bg-layer-1);height:32px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-14);max-width:420px;padding:0 10px}.c269jW_select:focus-visible{border-color:var(--dsw-alias-state-business-primary);outline:none}.c269jW_steps{gap:6px;margin:0;padding:0;list-style:none;display:grid}.c269jW_step{border:1px solid var(--dsw-alias-border-l1);border-radius:var(--dsw-radius-sm);justify-content:space-between;align-items:center;gap:12px;padding:6px 10px;display:flex}.c269jW_stepLabel{font:var(--dsw-font-xxs-12)}.c269jW_logBox{flex-direction:column;gap:6px;display:flex}.c269jW_log{border-radius:var(--dsw-radius-sm);border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);max-height:320px;font:var(--dsw-font-xxs-12) var(--ds-font-family-code);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:10px;line-height:1.5;overflow:auto}.c269jW_modeRow{flex-wrap:wrap;gap:8px;margin:2px 0 6px;display:flex}.c269jW_modeOption{border:1px solid var(--dsw-alias-border-l1);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);cursor:pointer;align-items:center;gap:6px;padding:6px 12px;display:inline-flex}.c269jW_modeOption:hover{background:var(--dsw-alias-interactive-bg-hover)}.c269jW_modeOption input{accent-color:var(--dsw-alias-state-business-primary);margin:0}.c269jW_modeOption:has(input:checked){border-color:var(--dsw-alias-state-business-primary);background:var(--dsw-alias-bg-layer-1)}.c269jW_input{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);width:100%;min-width:0;height:32px;color:var(--dsw-alias-label-primary);font:inherit;padding:0 10px;font-size:14px;line-height:22px}.c269jW_input::placeholder{color:var(--dsw-alias-label-dimmed)}.c269jW_input:focus-visible{border-color:var(--dsw-alias-state-business-primary);outline:none}.c269jW_input:disabled{opacity:.6;cursor:default}.c269jW_saveRow{align-items:center;gap:8px;padding-top:16px;display:flex}.c269jW_saveRow .c269jW_notice{margin:0}.c269jW_badgeOk,.c269jW_badgeWarn{font:var(--dsw-font-xxxs-11);white-space:nowrap;border-radius:4px;padding:1px 6px}.c269jW_badgeOk{color:var(--dsw-alias-state-success-primary);background:var(--dsw-alias-state-success-bg)}.c269jW_badgeWarn{color:var(--dsw-alias-state-warning-primary);background:var(--dsw-alias-state-warning-bg)}.c269jW_error{color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxs-12);margin:0}";
|
|
331
|
+
const tagId$20 = "@sparkelf/dsh-knowledge-base/KnowledgeSettingsSection.module.css";
|
|
332
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$20) + "]") === null) {
|
|
318
333
|
const tag = document.createElement("style");
|
|
319
334
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
320
|
-
tag.dataset.pluginCss = tagId$
|
|
321
|
-
tag.textContent = css$
|
|
335
|
+
tag.dataset.pluginCss = tagId$20;
|
|
336
|
+
tag.textContent = css$20;
|
|
322
337
|
document.head.appendChild(tag);
|
|
323
338
|
}
|
|
324
339
|
var KnowledgeSettingsSection_module_css_default = {
|
|
325
|
-
"
|
|
340
|
+
"section": "c269jW_section",
|
|
341
|
+
"pairs": "c269jW_pairs",
|
|
342
|
+
"step": "c269jW_step",
|
|
326
343
|
"modeRow": "c269jW_modeRow",
|
|
327
|
-
"
|
|
344
|
+
"title": "c269jW_title",
|
|
345
|
+
"input": "c269jW_input",
|
|
328
346
|
"wizard": "c269jW_wizard",
|
|
347
|
+
"statusRow": "c269jW_statusRow",
|
|
329
348
|
"fieldLabel": "c269jW_fieldLabel",
|
|
330
|
-
"pairs": "c269jW_pairs",
|
|
331
|
-
"section": "c269jW_section",
|
|
332
|
-
"notice": "c269jW_notice",
|
|
333
|
-
"pair": "c269jW_pair",
|
|
334
|
-
"step": "c269jW_step",
|
|
335
|
-
"stepLabel": "c269jW_stepLabel",
|
|
336
|
-
"logBox": "c269jW_logBox",
|
|
337
349
|
"field": "c269jW_field",
|
|
338
|
-
"select": "c269jW_select",
|
|
339
350
|
"log": "c269jW_log",
|
|
340
|
-
"input": "c269jW_input",
|
|
341
|
-
"saveRow": "c269jW_saveRow",
|
|
342
|
-
"body": "c269jW_body",
|
|
343
351
|
"detail": "c269jW_detail",
|
|
344
|
-
"
|
|
352
|
+
"saveRow": "c269jW_saveRow",
|
|
353
|
+
"logBox": "c269jW_logBox",
|
|
354
|
+
"stepLabel": "c269jW_stepLabel",
|
|
345
355
|
"statusLabel": "c269jW_statusLabel",
|
|
356
|
+
"pair": "c269jW_pair",
|
|
357
|
+
"notice": "c269jW_notice",
|
|
358
|
+
"select": "c269jW_select",
|
|
359
|
+
"groupTitle": "c269jW_groupTitle",
|
|
346
360
|
"steps": "c269jW_steps",
|
|
347
|
-
"title": "c269jW_title",
|
|
348
361
|
"modeOption": "c269jW_modeOption",
|
|
349
362
|
"badgeOk": "c269jW_badgeOk",
|
|
350
|
-
"
|
|
363
|
+
"badgeWarn": "c269jW_badgeWarn",
|
|
364
|
+
"error": "c269jW_error",
|
|
365
|
+
"body": "c269jW_body"
|
|
351
366
|
};
|
|
352
367
|
//#endregion
|
|
353
368
|
//#region src/client/VectorSettingsGroup.tsx
|
|
@@ -1884,56 +1899,56 @@ window.__ModuleLoader__.load({
|
|
|
1884
1899
|
}
|
|
1885
1900
|
//#endregion
|
|
1886
1901
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgePermissions.module.css.mjs
|
|
1887
|
-
const css$
|
|
1888
|
-
const tagId$
|
|
1889
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
1902
|
+
const css$19 = ".W1jiya_overview{flex-direction:column;gap:14px;display:flex}.W1jiya_statRow{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.W1jiya_statCard{border:.5px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);border-radius:10px;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.W1jiya_statValue{font:var(--dsw-font-base-strong-16);color:var(--dsw-alias-label-primary);line-height:1.2}.W1jiya_statLabel{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary)}.W1jiya_tabs{align-self:flex-start}.W1jiya_overviewEmpty{text-align:center;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:0;padding:20px 10px}.W1jiya_table{border-collapse:collapse;table-layout:auto;width:100%}.W1jiya_table th{text-align:left;font:var(--dsw-font-xxxs-strong-11);color:var(--dsw-alias-label-tertiary);border-bottom:.5px solid var(--dsw-alias-border-l2);white-space:nowrap;padding:6px 10px}.W1jiya_table td{border-bottom:.5px solid var(--dsw-alias-border-l1);font:var(--dsw-font-xxs-12);vertical-align:top;padding:7px 10px}.W1jiya_table tr:last-child td{border-bottom:none}.W1jiya_principalName{font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-primary)}.W1jiya_principalMeta{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);margin-top:2px}.W1jiya_principalId{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11) var(--ds-font-family-code);overflow-wrap:anywhere;margin-top:2px}.W1jiya_chips{flex-wrap:wrap;gap:4px;display:flex}.W1jiya_paths{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-secondary);flex-direction:column;gap:2px;margin:0;padding:0;line-height:1.65;list-style:none;display:flex}.W1jiya_path{font-family:var(--ds-font-family-code);overflow-wrap:anywhere}.W1jiya_holders{flex-direction:column;gap:3px;margin:0;padding:0;list-style:none;display:flex}.W1jiya_holder{align-items:baseline;gap:6px;display:flex}.W1jiya_holderName{font:var(--dsw-font-xxxs-strong-11);color:var(--dsw-alias-label-primary)}.W1jiya_holderKind{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary)}.W1jiya_placeholder{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11)}.W1jiya_actionCell{white-space:nowrap}.W1jiya_dialogForm{flex-direction:column;gap:12px;display:flex}.W1jiya_dialogField{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-secondary);flex-direction:column;gap:5px;display:flex}.W1jiya_dialogSelect{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l3);background:var(--dsw-alias-bg-layer-2);width:100%;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);border-radius:8px;padding:7px 9px}.W1jiya_dialogNotice{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-secondary);margin:0}.W1jiya_emptyRow td{text-align:center;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);padding:18px}.W1jiya_emptyNote{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary);margin-top:4px}.W1jiya_rowActions{white-space:nowrap;align-items:center;gap:6px;display:flex}.W1jiya_pageHead{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.W1jiya_pageTitle{font:var(--dsw-font-xs-strong-13);color:var(--dsw-alias-label-primary);margin:0}.W1jiya_pageHint{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary);margin:2px 0 0}.W1jiya_pathCell{font:var(--dsw-font-xxxs-11) var(--ds-font-family-code);color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.W1jiya_countCell{text-align:right;font-variant-numeric:tabular-nums}.W1jiya_partialMark{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);cursor:help;margin-left:2px}.W1jiya_actions{flex-wrap:wrap;gap:4px;display:flex}.W1jiya_linkButton{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-business-primary);cursor:pointer;background:0 0;border:0;padding:0}.W1jiya_linkButton:hover:not(:disabled){text-decoration:underline}.W1jiya_linkButton:disabled{color:var(--dsw-alias-label-tertiary);cursor:default}.W1jiya_pager{justify-content:flex-start;align-items:center;gap:8px;margin-top:8px;display:flex}.W1jiya_pagerStatus{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);font-variant-numeric:tabular-nums;white-space:nowrap}.W1jiya_pageSize{align-items:center;gap:6px;margin-left:auto;display:flex}.W1jiya_sourceCell{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.W1jiya_sourceHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);flex-basis:100%}";
|
|
1903
|
+
const tagId$19 = "@sparkelf/dsh-knowledge-base/KnowledgePermissions.module.css";
|
|
1904
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$19) + "]") === null) {
|
|
1890
1905
|
const tag = document.createElement("style");
|
|
1891
1906
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
1892
|
-
tag.dataset.pluginCss = tagId$
|
|
1893
|
-
tag.textContent = css$
|
|
1907
|
+
tag.dataset.pluginCss = tagId$19;
|
|
1908
|
+
tag.textContent = css$19;
|
|
1894
1909
|
document.head.appendChild(tag);
|
|
1895
1910
|
}
|
|
1896
1911
|
var KnowledgePermissions_module_css_default = {
|
|
1897
|
-
"
|
|
1898
|
-
"
|
|
1912
|
+
"principalId": "W1jiya_principalId",
|
|
1913
|
+
"dialogNotice": "W1jiya_dialogNotice",
|
|
1914
|
+
"dialogSelect": "W1jiya_dialogSelect",
|
|
1915
|
+
"emptyNote": "W1jiya_emptyNote",
|
|
1899
1916
|
"dialogField": "W1jiya_dialogField",
|
|
1900
|
-
"
|
|
1917
|
+
"chips": "W1jiya_chips",
|
|
1901
1918
|
"dialogForm": "W1jiya_dialogForm",
|
|
1902
|
-
"
|
|
1903
|
-
"
|
|
1904
|
-
"
|
|
1919
|
+
"pageSize": "W1jiya_pageSize",
|
|
1920
|
+
"principalName": "W1jiya_principalName",
|
|
1921
|
+
"countCell": "W1jiya_countCell",
|
|
1922
|
+
"sourceHint": "W1jiya_sourceHint",
|
|
1923
|
+
"paths": "W1jiya_paths",
|
|
1905
1924
|
"principalMeta": "W1jiya_principalMeta",
|
|
1906
|
-
"
|
|
1925
|
+
"statRow": "W1jiya_statRow",
|
|
1926
|
+
"holders": "W1jiya_holders",
|
|
1927
|
+
"path": "W1jiya_path",
|
|
1928
|
+
"pageTitle": "W1jiya_pageTitle",
|
|
1907
1929
|
"rowActions": "W1jiya_rowActions",
|
|
1908
|
-
"
|
|
1909
|
-
"
|
|
1930
|
+
"holderKind": "W1jiya_holderKind",
|
|
1931
|
+
"actions": "W1jiya_actions",
|
|
1910
1932
|
"linkButton": "W1jiya_linkButton",
|
|
1911
|
-
"statLabel": "W1jiya_statLabel",
|
|
1912
|
-
"paths": "W1jiya_paths",
|
|
1913
1933
|
"sourceCell": "W1jiya_sourceCell",
|
|
1914
|
-
"
|
|
1915
|
-
"dialogSelect": "W1jiya_dialogSelect",
|
|
1916
|
-
"path": "W1jiya_path",
|
|
1917
|
-
"pageSize": "W1jiya_pageSize",
|
|
1918
|
-
"statCard": "W1jiya_statCard",
|
|
1919
|
-
"dialogNotice": "W1jiya_dialogNotice",
|
|
1920
|
-
"holderName": "W1jiya_holderName",
|
|
1921
|
-
"pager": "W1jiya_pager",
|
|
1922
|
-
"placeholder": "W1jiya_placeholder",
|
|
1923
|
-
"holder": "W1jiya_holder",
|
|
1934
|
+
"overview": "W1jiya_overview",
|
|
1924
1935
|
"tabs": "W1jiya_tabs",
|
|
1925
|
-
"
|
|
1936
|
+
"pathCell": "W1jiya_pathCell",
|
|
1937
|
+
"table": "W1jiya_table",
|
|
1938
|
+
"statLabel": "W1jiya_statLabel",
|
|
1939
|
+
"placeholder": "W1jiya_placeholder",
|
|
1926
1940
|
"pagerStatus": "W1jiya_pagerStatus",
|
|
1927
|
-
"
|
|
1928
|
-
"overview": "W1jiya_overview",
|
|
1929
|
-
"chips": "W1jiya_chips",
|
|
1930
|
-
"holderKind": "W1jiya_holderKind",
|
|
1941
|
+
"partialMark": "W1jiya_partialMark",
|
|
1931
1942
|
"pageHint": "W1jiya_pageHint",
|
|
1932
|
-
"
|
|
1933
|
-
"
|
|
1943
|
+
"overviewEmpty": "W1jiya_overviewEmpty",
|
|
1944
|
+
"holder": "W1jiya_holder",
|
|
1934
1945
|
"actionCell": "W1jiya_actionCell",
|
|
1935
|
-
"
|
|
1936
|
-
"
|
|
1946
|
+
"statCard": "W1jiya_statCard",
|
|
1947
|
+
"holderName": "W1jiya_holderName",
|
|
1948
|
+
"emptyRow": "W1jiya_emptyRow",
|
|
1949
|
+
"pager": "W1jiya_pager",
|
|
1950
|
+
"statValue": "W1jiya_statValue",
|
|
1951
|
+
"pageHead": "W1jiya_pageHead"
|
|
1937
1952
|
};
|
|
1938
1953
|
//#endregion
|
|
1939
1954
|
//#region src/client/KnowledgePermissionOverview.tsx
|
|
@@ -2466,88 +2481,88 @@ window.__ModuleLoader__.load({
|
|
|
2466
2481
|
}
|
|
2467
2482
|
//#endregion
|
|
2468
2483
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgePanel.module.css.mjs
|
|
2469
|
-
const css$15 = ".uNOdFq_page{height:100%;min-height:0;font:var(--dsw-font-s-14);flex-direction:column;display:flex}.uNOdFq_body{flex:auto;grid-template-columns:280px minmax(0,1fr);min-height:0;display:grid}.uNOdFq_bodyCollapsed{grid-template-columns:56px minmax(0,1fr)}.uNOdFq_rail{border-right:.5px solid var(--dsw-alias-border-l3);flex-direction:column;min-height:0;display:flex;overflow:hidden}.uNOdFq_railTop{box-sizing:border-box;flex:none;align-items:center;gap:4px;height:36px;padding:0 6px 0 12px;display:flex}.uNOdFq_railBrand{align-items:center;gap:8px;min-width:0;display:flex}.uNOdFq_railBrandName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font:var(--dsw-font-s-strong-14);color:var(--dsw-alias-label-primary);overflow:hidden}.uNOdFq_railTopSpacer{margin-left:auto}.uNOdFq_bodyCollapsed .uNOdFq_railTop{justify-content:center;padding:0 14px}.uNOdFq_bodyCollapsed .uNOdFq_railBrand,.uNOdFq_bodyCollapsed .uNOdFq_railTopSpacer{display:none}.uNOdFq_sectionHeader{box-sizing:border-box;height:36px;color:var(--dsw-alias-label-tertiary);flex:none;align-items:center;gap:4px;padding:0 0 0 4px;display:flex}.uNOdFq_sectionName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font:var(--dsw-font-s-14);color:var(--dsw-alias-label-tertiary);line-height:20px;overflow:hidden}.uNOdFq_sectionActions{align-items:center;gap:4px;margin-left:auto;padding-right:8px;display:flex}.uNOdFq_iconButton{border-radius:var(--dsw-radius-sm);width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.uNOdFq_iconButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.uNOdFq_iconButton:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.uNOdFq_iconButton:disabled{opacity:.4;cursor:default}.uNOdFq_treeScroll{flex:auto;min-height:0;padding:0 8px 12px;overflow:auto}.uNOdFq_searchBox{flex:none;margin:0 0 8px;padding:10px 12px 0}.uNOdFq_searchBox>span{box-sizing:border-box;width:100%;margin:0 2px;display:flex}.uNOdFq_menu{flex-direction:column;flex:none;gap:4px;margin:0 0 8px;padding:0 12px;display:flex}.uNOdFq_menuFolded{flex-direction:column;flex:none;gap:4px;margin:0 0 8px;padding:0 8px;display:flex}.uNOdFq_menuFolded .uNOdFq_menuRow,.uNOdFq_menuFolded .uNOdFq_menuRowActive{justify-content:center;padding:7px 0}.uNOdFq_menuRow,.uNOdFq_menuRowActive{box-sizing:border-box;border-radius:var(--dsw-radius-md);min-height:36px;color:var(--dsw-alias-label-primary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;margin:0 2px;padding:7px 8px;line-height:22px;display:flex}.uNOdFq_menuRow:hover,.uNOdFq_menuRowActive:hover{background:var(--dsw-alias-interactive-bg-hover)}.uNOdFq_menuRowActive{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.uNOdFq_menuRow:focus-visible,.uNOdFq_menuRowActive:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.uNOdFq_menuGlyph{flex:none;justify-content:center;align-items:center;display:inline-flex}.uNOdFq_menuLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.uNOdFq_railBody{flex-direction:column;flex:auto;min-height:0;padding:0 8px 12px;display:flex;overflow:auto}.uNOdFq_pinnedBand{flex-direction:column;flex:none;max-height:180px;display:flex;overflow-y:auto}.uNOdFq_treeBand{flex-direction:column;flex:auto;min-height:0;display:flex}.uNOdFq_treeFilter{flex:none;padding:0 0 8px}.uNOdFq_treeFilter>span{box-sizing:border-box;width:100%;display:flex}.uNOdFq_contentColumn{flex-direction:column;min-width:0;min-height:0;display:flex}.uNOdFq_content{flex:auto;min-width:0;min-height:0;padding:16px 24px 20px;overflow:auto}.uNOdFq_header{border-bottom:.5px solid var(--dsw-alias-border-l3);flex-flow:wrap;flex:none;align-items:center;gap:8px 12px;padding:16px 14px 8px 24px;display:flex}.uNOdFq_headerActions{flex:none;align-items:center;gap:8px;margin-left:auto;display:flex}.uNOdFq_headerTitle{min-width:0;min-height:28px;font:var(--dsw-font-base-strong-16);color:var(--dsw-alias-label-primary);text-overflow:ellipsis;white-space:nowrap;flex:none;align-items:flex-end;margin:0;display:flex;overflow:hidden}.uNOdFq_headerFact{min-width:0;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);white-space:nowrap;align-items:center;gap:6px;margin:0;display:flex;overflow:hidden}.uNOdFq_headerPath{font:var(--dsw-font-xxs-12) var(--ds-font-family-code);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.uNOdFq_headerHint{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);flex-basis:100%;margin:0}.uNOdFq_surface{flex-direction:column;align-items:flex-start;gap:12px;max-width:900px;display:flex}.uNOdFq_tableSurface{align-items:stretch;width:100%;min-width:0;max-width:none}.uNOdFq_tableSurface table{width:100%}.uNOdFq_tableSurface th:last-child,.uNOdFq_tableSurface td:last-child{text-align:right;white-space:nowrap}.uNOdFq_tableSurface td[colspan]{text-align:center;white-space:normal;padding:24px 16px}.uNOdFq_title{font:var(--dsw-font-base-strong-16);margin:0}.uNOdFq_subhead{font:var(--dsw-font-s-strong-14);margin:8px 0 0}.uNOdFq_muted{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);margin:0}.uNOdFq_error{color:var(--dsw-alias-state-error-primary,#c0392b);font:var(--dsw-font-xs-13);margin:0}.uNOdFq_notice{color:var(--dsw-alias-state-success-primary,#1a7f37);font:var(--dsw-font-xs-13);margin:0}.uNOdFq_empty{text-align:center;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-s-14);flex-direction:column;align-items:center;padding:48px 20px;display:flex}.uNOdFq_emptyGlyph{color:var(--dsw-alias-label-caption);margin-bottom:12px}.uNOdFq_emptyTitle{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-s-14);margin:0;line-height:1.6}.uNOdFq_factDot{opacity:.6}.uNOdFq_hits{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.uNOdFq_hit,.uNOdFq_hitActive{box-sizing:border-box;border-radius:var(--dsw-radius-md,8px);width:100%;color:var(--dsw-alias-label-primary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;grid-template-columns:minmax(0,auto) minmax(0,1fr);align-items:baseline;gap:2px 10px;padding:8px 10px;display:grid}.uNOdFq_hit:hover,.uNOdFq_hitActive{background:var(--dsw-alias-interactive-bg-hover)}.uNOdFq_hitName{font:var(--dsw-font-xs-strong-13);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.uNOdFq_hitPath{min-width:0;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.uNOdFq_hitTime{color:var(--dsw-alias-label-tertiary,var(--dsw-alias-label-secondary));font:var(--dsw-font-xxs-12);grid-column:1/-1}.uNOdFq_hitLine{min-width:0;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12) var(--ds-font-family-code);text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;gap:8px;display:flex;overflow:hidden}.uNOdFq_hitLineNo{text-align:right;opacity:.7;flex:none;min-width:2.5em}.uNOdFq_path{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12) var(--ds-font-family-code);overflow-wrap:anywhere;margin:0}.uNOdFq_preview{border:1px solid var(--dsw-alias-border-l1,#0000001f);border-radius:var(--dsw-radius-md,8px);background:var(--dsw-alias-bg-layer-2);font:var(--dsw-font-xs-13) var(--ds-font-family-code);white-space:pre-wrap;overflow-wrap:anywhere;max-height:calc(100vh - 160px);margin:0;padding:12px;line-height:1.55;overflow:auto}.uNOdFq_pairs{flex-direction:column;gap:6px;margin:0;display:flex}.uNOdFq_pair{font:var(--dsw-font-xs-13);gap:12px;display:flex}.uNOdFq_pair dt{min-width:6.5em;color:var(--dsw-alias-label-secondary);flex:none}.uNOdFq_pair dd{overflow-wrap:anywhere;margin:0}.uNOdFq_form{border:.5px solid var(--dsw-alias-border-l1);border-radius:var(--dsw-radius-md);flex-wrap:wrap;align-items:flex-end;gap:10px;padding:12px;display:flex}.uNOdFq_field{flex-direction:column;gap:4px;min-width:0;display:flex}.uNOdFq_field>span{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-strong-12)}.uNOdFq_input{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);min-width:10em;height:32px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-14);padding:0 10px}.uNOdFq_input:focus-visible{border-color:var(--dsw-alias-state-business-primary);outline:none}.uNOdFq_retry{border-radius:var(--dsw-radius-sm);border:1px solid var(--dsw-alias-border-l2);min-height:32px;font:var(--dsw-font-xxs-12);cursor:pointer;color:var(--dsw-alias-label-primary);background:0 0;align-self:flex-start;padding:4px 14px}.uNOdFq_retry:disabled{opacity:.55;cursor:default}.uNOdFq_table{border-collapse:collapse;width:100%;font:var(--dsw-font-xxs-12)}.uNOdFq_table th,.uNOdFq_table td{text-align:left;border-bottom:.5px solid var(--dsw-alias-border-l2);padding:6px 8px}.uNOdFq_table th{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-strong-12)}.uNOdFq_previewLayout{align-items:flex-start;gap:12px;width:100%;min-width:0;display:flex}.uNOdFq_previewColumn{flex-direction:column;flex:auto;align-items:flex-start;gap:12px;min-width:0;max-width:900px;display:flex}.uNOdFq_openedElsewhere{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;min-height:240px;display:flex}.uNOdFq_bodyDocument{grid-template-columns:280px}.uNOdFq_bodyCollapsed.uNOdFq_bodyDocument{grid-template-columns:56px}.uNOdFq_surface+.uNOdFq_surface{border-top:1px solid var(--dsw-alias-border-l1);margin-top:20px;padding-top:24px}.uNOdFq_surface+.uNOdFq_surface>.uNOdFq_subhead{margin-top:0}.uNOdFq_referenceNote{z-index:20;border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);max-width:420px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);box-shadow:var(--dsw-shadow-lv2);align-items:center;gap:8px;margin:0;padding:8px 10px;display:flex;position:fixed;inset-block-end:16px;inset-inline-start:16px}.uNOdFq_referenceNoteDismiss{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xs-13);cursor:pointer;background:0 0;border:0;flex:none;padding:0 2px;line-height:1}.uNOdFq_referenceNoteDismiss:hover{color:var(--dsw-alias-label-primary)}.uNOdFq_menuGroupLabel{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-strong-11);padding:6px 10px 2px;display:block}.uNOdFq_menuSeparator{border-top:.5px solid var(--dsw-alias-border-l2);height:0;margin:4px 6px;display:block}.uNOdFq_errorPanel{text-align:center;flex-direction:column;flex:auto;justify-content:center;align-items:center;gap:10px;min-height:0;padding:48px 24px;display:flex}.uNOdFq_errorGlyph{background:var(--dsw-alias-fill-l2,#f2f3f5);width:40px;height:40px;color:var(--dsw-alias-state-error-primary,#c0392b);border-radius:50%;place-items:center;display:grid}.uNOdFq_errorTitle{color:var(--dsw-alias-label-primary);font:var(--dsw-font-m-16,600 16px/24px);margin:0}.uNOdFq_errorDetail{max-width:420px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);margin:0}.uNOdFq_errorPanel .uNOdFq_retry{align-self:center;margin-top:6px}";
|
|
2470
|
-
const tagId$
|
|
2471
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
2484
|
+
const css$18 = ".uNOdFq_page{height:100%;min-height:0;font:var(--dsw-font-s-14);flex-direction:column;display:flex}.uNOdFq_body{flex:auto;grid-template-columns:280px minmax(0,1fr);min-height:0;display:grid}.uNOdFq_bodyCollapsed{grid-template-columns:56px minmax(0,1fr)}.uNOdFq_rail{border-right:.5px solid var(--dsw-alias-border-l3);flex-direction:column;min-height:0;display:flex;overflow:hidden}.uNOdFq_railTop{box-sizing:border-box;flex:none;align-items:center;gap:4px;height:36px;padding:0 6px 0 12px;display:flex}.uNOdFq_railBrand{align-items:center;gap:8px;min-width:0;display:flex}.uNOdFq_railBrandName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font:var(--dsw-font-s-strong-14);color:var(--dsw-alias-label-primary);overflow:hidden}.uNOdFq_railTopSpacer{margin-left:auto}.uNOdFq_bodyCollapsed .uNOdFq_railTop{justify-content:center;padding:0 14px}.uNOdFq_bodyCollapsed .uNOdFq_railBrand,.uNOdFq_bodyCollapsed .uNOdFq_railTopSpacer{display:none}.uNOdFq_sectionHeader{box-sizing:border-box;height:36px;color:var(--dsw-alias-label-tertiary);flex:none;align-items:center;gap:4px;padding:0 0 0 4px;display:flex}.uNOdFq_sectionName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font:var(--dsw-font-s-14);color:var(--dsw-alias-label-tertiary);line-height:20px;overflow:hidden}.uNOdFq_sectionActions{align-items:center;gap:4px;margin-left:auto;padding-right:8px;display:flex}.uNOdFq_iconButton{border-radius:var(--dsw-radius-sm);width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.uNOdFq_iconButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.uNOdFq_iconButton:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.uNOdFq_iconButton:disabled{opacity:.4;cursor:default}.uNOdFq_treeScroll{flex:auto;min-height:0;padding:0 8px 12px;overflow:auto}.uNOdFq_searchBox{flex:none;margin:0 0 8px;padding:10px 12px 0}.uNOdFq_searchBox>span{box-sizing:border-box;width:100%;margin:0 2px;display:flex}.uNOdFq_menu{flex-direction:column;flex:none;gap:4px;margin:0 0 8px;padding:0 12px;display:flex}.uNOdFq_menuFolded{flex-direction:column;flex:none;gap:4px;margin:0 0 8px;padding:0 8px;display:flex}.uNOdFq_menuFolded .uNOdFq_menuRow,.uNOdFq_menuFolded .uNOdFq_menuRowActive{justify-content:center;padding:7px 0}.uNOdFq_menuRow,.uNOdFq_menuRowActive{box-sizing:border-box;border-radius:var(--dsw-radius-md);min-height:36px;color:var(--dsw-alias-label-primary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;margin:0 2px;padding:7px 8px;line-height:22px;display:flex}.uNOdFq_menuRow:hover,.uNOdFq_menuRowActive:hover{background:var(--dsw-alias-interactive-bg-hover)}.uNOdFq_menuRowActive{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.uNOdFq_menuRow:focus-visible,.uNOdFq_menuRowActive:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.uNOdFq_menuGlyph{flex:none;justify-content:center;align-items:center;display:inline-flex}.uNOdFq_menuLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.uNOdFq_railBody{flex-direction:column;flex:auto;min-height:0;padding:0 8px 12px;display:flex;overflow:auto}.uNOdFq_pinnedBand{flex-direction:column;flex:none;max-height:180px;display:flex;overflow-y:auto}.uNOdFq_treeBand{flex-direction:column;flex:auto;min-height:0;display:flex}.uNOdFq_treeFilter{flex:none;padding:0 0 8px}.uNOdFq_treeFilter>span{box-sizing:border-box;width:100%;display:flex}.uNOdFq_contentColumn{flex-direction:column;min-width:0;min-height:0;display:flex}.uNOdFq_content{flex:auto;min-width:0;min-height:0;padding:16px 24px 20px;overflow:auto}.uNOdFq_header{border-bottom:.5px solid var(--dsw-alias-border-l3);flex-flow:wrap;flex:none;align-items:center;gap:8px 12px;padding:16px 14px 8px 24px;display:flex}.uNOdFq_headerActions{flex:none;align-items:center;gap:8px;margin-left:auto;display:flex}.uNOdFq_headerTitle{min-width:0;min-height:28px;font:var(--dsw-font-base-strong-16);color:var(--dsw-alias-label-primary);text-overflow:ellipsis;white-space:nowrap;flex:none;align-items:flex-end;margin:0;display:flex;overflow:hidden}.uNOdFq_headerFact{min-width:0;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);white-space:nowrap;align-items:center;gap:6px;margin:0;display:flex;overflow:hidden}.uNOdFq_headerPath{font:var(--dsw-font-xxs-12) var(--ds-font-family-code);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.uNOdFq_headerHint{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);flex-basis:100%;margin:0}.uNOdFq_surface{flex-direction:column;align-items:flex-start;gap:12px;max-width:900px;display:flex}.uNOdFq_tableSurface{align-items:stretch;width:100%;min-width:0;max-width:none}.uNOdFq_tableSurface table{width:100%}.uNOdFq_tableSurface th:last-child,.uNOdFq_tableSurface td:last-child{text-align:right;white-space:nowrap}.uNOdFq_tableSurface td[colspan]{text-align:center;white-space:normal;padding:24px 16px}.uNOdFq_title{font:var(--dsw-font-base-strong-16);margin:0}.uNOdFq_subhead{font:var(--dsw-font-s-strong-14);margin:8px 0 0}.uNOdFq_muted{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);margin:0}.uNOdFq_error{color:var(--dsw-alias-state-error-primary,#c0392b);font:var(--dsw-font-xs-13);margin:0}.uNOdFq_notice{color:var(--dsw-alias-state-success-primary,#1a7f37);font:var(--dsw-font-xs-13);margin:0}.uNOdFq_empty{text-align:center;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-s-14);flex-direction:column;align-items:center;padding:48px 20px;display:flex}.uNOdFq_emptyGlyph{color:var(--dsw-alias-label-caption);margin-bottom:12px}.uNOdFq_emptyTitle{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-s-14);margin:0;line-height:1.6}.uNOdFq_factDot{opacity:.6}.uNOdFq_hits{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.uNOdFq_hit,.uNOdFq_hitActive{box-sizing:border-box;border-radius:var(--dsw-radius-md,8px);width:100%;color:var(--dsw-alias-label-primary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;grid-template-columns:minmax(0,auto) minmax(0,1fr);align-items:baseline;gap:2px 10px;padding:8px 10px;display:grid}.uNOdFq_hit:hover,.uNOdFq_hitActive{background:var(--dsw-alias-interactive-bg-hover)}.uNOdFq_hitName{font:var(--dsw-font-xs-strong-13);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.uNOdFq_hitPath{min-width:0;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.uNOdFq_hitTime{color:var(--dsw-alias-label-tertiary,var(--dsw-alias-label-secondary));font:var(--dsw-font-xxs-12);grid-column:1/-1}.uNOdFq_hitLine{min-width:0;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12) var(--ds-font-family-code);text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;gap:8px;display:flex;overflow:hidden}.uNOdFq_hitLineNo{text-align:right;opacity:.7;flex:none;min-width:2.5em}.uNOdFq_path{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12) var(--ds-font-family-code);overflow-wrap:anywhere;margin:0}.uNOdFq_preview{border:1px solid var(--dsw-alias-border-l1,#0000001f);border-radius:var(--dsw-radius-md,8px);background:var(--dsw-alias-bg-layer-2);font:var(--dsw-font-xs-13) var(--ds-font-family-code);white-space:pre-wrap;overflow-wrap:anywhere;max-height:calc(100vh - 160px);margin:0;padding:12px;line-height:1.55;overflow:auto}.uNOdFq_pairs{flex-direction:column;gap:6px;margin:0;display:flex}.uNOdFq_pair{font:var(--dsw-font-xs-13);gap:12px;display:flex}.uNOdFq_pair dt{min-width:6.5em;color:var(--dsw-alias-label-secondary);flex:none}.uNOdFq_pair dd{overflow-wrap:anywhere;margin:0}.uNOdFq_form{border:.5px solid var(--dsw-alias-border-l1);border-radius:var(--dsw-radius-md);flex-wrap:wrap;align-items:flex-end;gap:10px;padding:12px;display:flex}.uNOdFq_field{flex-direction:column;gap:4px;min-width:0;display:flex}.uNOdFq_field>span{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-strong-12)}.uNOdFq_input{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);min-width:10em;height:32px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-14);padding:0 10px}.uNOdFq_input:focus-visible{border-color:var(--dsw-alias-state-business-primary);outline:none}.uNOdFq_retry{border-radius:var(--dsw-radius-sm);border:1px solid var(--dsw-alias-border-l2);min-height:32px;font:var(--dsw-font-xxs-12);cursor:pointer;color:var(--dsw-alias-label-primary);background:0 0;align-self:flex-start;padding:4px 14px}.uNOdFq_retry:disabled{opacity:.55;cursor:default}.uNOdFq_table{border-collapse:collapse;width:100%;font:var(--dsw-font-xxs-12)}.uNOdFq_table th,.uNOdFq_table td{text-align:left;border-bottom:.5px solid var(--dsw-alias-border-l2);padding:6px 8px}.uNOdFq_table th{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-strong-12)}.uNOdFq_previewLayout{align-items:flex-start;gap:12px;width:100%;min-width:0;display:flex}.uNOdFq_previewColumn{flex-direction:column;flex:auto;align-items:flex-start;gap:12px;min-width:0;max-width:900px;display:flex}.uNOdFq_openedElsewhere{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;min-height:240px;display:flex}.uNOdFq_bodyDocument{grid-template-columns:280px}.uNOdFq_bodyCollapsed.uNOdFq_bodyDocument{grid-template-columns:56px}.uNOdFq_surface+.uNOdFq_surface{border-top:1px solid var(--dsw-alias-border-l1);margin-top:20px;padding-top:24px}.uNOdFq_surface+.uNOdFq_surface>.uNOdFq_subhead{margin-top:0}.uNOdFq_referenceNote{z-index:20;border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);max-width:420px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);box-shadow:var(--dsw-shadow-lv2);align-items:center;gap:8px;margin:0;padding:8px 10px;display:flex;position:fixed;inset-block-end:16px;inset-inline-start:16px}.uNOdFq_referenceNoteDismiss{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xs-13);cursor:pointer;background:0 0;border:0;flex:none;padding:0 2px;line-height:1}.uNOdFq_referenceNoteDismiss:hover{color:var(--dsw-alias-label-primary)}.uNOdFq_menuGroupLabel{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-strong-11);padding:6px 10px 2px;display:block}.uNOdFq_menuSeparator{border-top:.5px solid var(--dsw-alias-border-l2);height:0;margin:4px 6px;display:block}.uNOdFq_errorPanel{text-align:center;flex-direction:column;flex:auto;justify-content:center;align-items:center;gap:10px;min-height:0;padding:48px 24px;display:flex}.uNOdFq_errorGlyph{background:var(--dsw-alias-fill-l2,#f2f3f5);width:40px;height:40px;color:var(--dsw-alias-state-error-primary,#c0392b);border-radius:50%;place-items:center;display:grid}.uNOdFq_errorTitle{color:var(--dsw-alias-label-primary);font:var(--dsw-font-m-16,600 16px/24px);margin:0}.uNOdFq_errorDetail{max-width:420px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);margin:0}.uNOdFq_errorPanel .uNOdFq_retry{align-self:center;margin-top:6px}";
|
|
2485
|
+
const tagId$18 = "@sparkelf/dsh-knowledge-base/KnowledgePanel.module.css";
|
|
2486
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$18) + "]") === null) {
|
|
2472
2487
|
const tag = document.createElement("style");
|
|
2473
2488
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
2474
|
-
tag.dataset.pluginCss = tagId$
|
|
2475
|
-
tag.textContent = css$
|
|
2489
|
+
tag.dataset.pluginCss = tagId$18;
|
|
2490
|
+
tag.textContent = css$18;
|
|
2476
2491
|
document.head.appendChild(tag);
|
|
2477
2492
|
}
|
|
2478
2493
|
var KnowledgePanel_module_css_default = {
|
|
2479
|
-
"
|
|
2480
|
-
"railBody": "uNOdFq_railBody",
|
|
2494
|
+
"contentColumn": "uNOdFq_contentColumn",
|
|
2481
2495
|
"headerActions": "uNOdFq_headerActions",
|
|
2482
|
-
"openedElsewhere": "uNOdFq_openedElsewhere",
|
|
2483
|
-
"body": "uNOdFq_body",
|
|
2484
|
-
"iconButton": "uNOdFq_iconButton",
|
|
2485
|
-
"pinnedBand": "uNOdFq_pinnedBand",
|
|
2486
|
-
"emptyGlyph": "uNOdFq_emptyGlyph",
|
|
2487
|
-
"muted": "uNOdFq_muted",
|
|
2488
|
-
"notice": "uNOdFq_notice",
|
|
2489
|
-
"menuRowActive": "uNOdFq_menuRowActive",
|
|
2490
|
-
"errorDetail": "uNOdFq_errorDetail",
|
|
2491
|
-
"sectionActions": "uNOdFq_sectionActions",
|
|
2492
|
-
"hitActive": "uNOdFq_hitActive",
|
|
2493
|
-
"factDot": "uNOdFq_factDot",
|
|
2494
|
-
"pairs": "uNOdFq_pairs",
|
|
2495
2496
|
"previewColumn": "uNOdFq_previewColumn",
|
|
2496
|
-
"
|
|
2497
|
-
"
|
|
2497
|
+
"errorPanel": "uNOdFq_errorPanel",
|
|
2498
|
+
"retry": "uNOdFq_retry",
|
|
2499
|
+
"emptyTitle": "uNOdFq_emptyTitle",
|
|
2500
|
+
"empty": "uNOdFq_empty",
|
|
2501
|
+
"pairs": "uNOdFq_pairs",
|
|
2502
|
+
"header": "uNOdFq_header",
|
|
2498
2503
|
"headerPath": "uNOdFq_headerPath",
|
|
2504
|
+
"title": "uNOdFq_title",
|
|
2505
|
+
"iconButton": "uNOdFq_iconButton",
|
|
2506
|
+
"menuFolded": "uNOdFq_menuFolded",
|
|
2507
|
+
"errorGlyph": "uNOdFq_errorGlyph",
|
|
2508
|
+
"page": "uNOdFq_page",
|
|
2509
|
+
"body": "uNOdFq_body",
|
|
2499
2510
|
"menuGroupLabel": "uNOdFq_menuGroupLabel",
|
|
2500
|
-
"errorTitle": "uNOdFq_errorTitle",
|
|
2501
|
-
"header": "uNOdFq_header",
|
|
2502
|
-
"railBrandName": "uNOdFq_railBrandName",
|
|
2503
|
-
"treeScroll": "uNOdFq_treeScroll",
|
|
2504
2511
|
"searchBox": "uNOdFq_searchBox",
|
|
2505
|
-
"
|
|
2506
|
-
"
|
|
2507
|
-
"
|
|
2508
|
-
"
|
|
2509
|
-
"
|
|
2510
|
-
"
|
|
2511
|
-
"
|
|
2512
|
+
"errorDetail": "uNOdFq_errorDetail",
|
|
2513
|
+
"rail": "uNOdFq_rail",
|
|
2514
|
+
"hits": "uNOdFq_hits",
|
|
2515
|
+
"emptyGlyph": "uNOdFq_emptyGlyph",
|
|
2516
|
+
"menuLabel": "uNOdFq_menuLabel",
|
|
2517
|
+
"openedElsewhere": "uNOdFq_openedElsewhere",
|
|
2518
|
+
"referenceNoteDismiss": "uNOdFq_referenceNoteDismiss",
|
|
2512
2519
|
"railTopSpacer": "uNOdFq_railTopSpacer",
|
|
2513
|
-
"
|
|
2514
|
-
"
|
|
2520
|
+
"sectionActions": "uNOdFq_sectionActions",
|
|
2521
|
+
"treeFilter": "uNOdFq_treeFilter",
|
|
2522
|
+
"treeScroll": "uNOdFq_treeScroll",
|
|
2523
|
+
"railBrandName": "uNOdFq_railBrandName",
|
|
2524
|
+
"errorTitle": "uNOdFq_errorTitle",
|
|
2525
|
+
"menuSeparator": "uNOdFq_menuSeparator",
|
|
2526
|
+
"headerFact": "uNOdFq_headerFact",
|
|
2515
2527
|
"bodyCollapsed": "uNOdFq_bodyCollapsed",
|
|
2516
|
-
"
|
|
2528
|
+
"subhead": "uNOdFq_subhead",
|
|
2529
|
+
"tableSurface": "uNOdFq_tableSurface",
|
|
2530
|
+
"field": "uNOdFq_field",
|
|
2531
|
+
"content": "uNOdFq_content",
|
|
2532
|
+
"railBrand": "uNOdFq_railBrand",
|
|
2533
|
+
"muted": "uNOdFq_muted",
|
|
2534
|
+
"preview": "uNOdFq_preview",
|
|
2535
|
+
"sectionName": "uNOdFq_sectionName",
|
|
2536
|
+
"treeBand": "uNOdFq_treeBand",
|
|
2537
|
+
"surface": "uNOdFq_surface",
|
|
2517
2538
|
"menuGlyph": "uNOdFq_menuGlyph",
|
|
2539
|
+
"headerHint": "uNOdFq_headerHint",
|
|
2540
|
+
"menuRow": "uNOdFq_menuRow",
|
|
2541
|
+
"pair": "uNOdFq_pair",
|
|
2518
2542
|
"hitPath": "uNOdFq_hitPath",
|
|
2519
|
-
"
|
|
2520
|
-
"
|
|
2543
|
+
"hitActive": "uNOdFq_hitActive",
|
|
2544
|
+
"hitLineNo": "uNOdFq_hitLineNo",
|
|
2521
2545
|
"previewLayout": "uNOdFq_previewLayout",
|
|
2522
|
-
"pair": "uNOdFq_pair",
|
|
2523
|
-
"referenceNoteDismiss": "uNOdFq_referenceNoteDismiss",
|
|
2524
|
-
"treeFilter": "uNOdFq_treeFilter",
|
|
2525
|
-
"contentColumn": "uNOdFq_contentColumn",
|
|
2526
|
-
"menuRow": "uNOdFq_menuRow",
|
|
2527
|
-
"headerFact": "uNOdFq_headerFact",
|
|
2528
|
-
"empty": "uNOdFq_empty",
|
|
2529
|
-
"treeBand": "uNOdFq_treeBand",
|
|
2530
|
-
"tableSurface": "uNOdFq_tableSurface",
|
|
2531
2546
|
"bodyDocument": "uNOdFq_bodyDocument",
|
|
2532
|
-
"
|
|
2533
|
-
"surface": "uNOdFq_surface",
|
|
2534
|
-
"error": "uNOdFq_error",
|
|
2535
|
-
"path": "uNOdFq_path",
|
|
2536
|
-
"menuLabel": "uNOdFq_menuLabel",
|
|
2537
|
-
"errorGlyph": "uNOdFq_errorGlyph",
|
|
2547
|
+
"form": "uNOdFq_form",
|
|
2538
2548
|
"sectionHeader": "uNOdFq_sectionHeader",
|
|
2539
|
-
"
|
|
2540
|
-
"hit": "uNOdFq_hit",
|
|
2541
|
-
"rail": "uNOdFq_rail",
|
|
2542
|
-
"hitLineNo": "uNOdFq_hitLineNo",
|
|
2549
|
+
"pinnedBand": "uNOdFq_pinnedBand",
|
|
2543
2550
|
"hitTime": "uNOdFq_hitTime",
|
|
2544
|
-
"
|
|
2545
|
-
"
|
|
2546
|
-
"
|
|
2547
|
-
"
|
|
2548
|
-
"
|
|
2549
|
-
"
|
|
2550
|
-
"
|
|
2551
|
+
"path": "uNOdFq_path",
|
|
2552
|
+
"menu": "uNOdFq_menu",
|
|
2553
|
+
"headerTitle": "uNOdFq_headerTitle",
|
|
2554
|
+
"railTop": "uNOdFq_railTop",
|
|
2555
|
+
"referenceNote": "uNOdFq_referenceNote",
|
|
2556
|
+
"error": "uNOdFq_error",
|
|
2557
|
+
"menuRowActive": "uNOdFq_menuRowActive",
|
|
2558
|
+
"table": "uNOdFq_table",
|
|
2559
|
+
"factDot": "uNOdFq_factDot",
|
|
2560
|
+
"hitName": "uNOdFq_hitName",
|
|
2561
|
+
"notice": "uNOdFq_notice",
|
|
2562
|
+
"hitLine": "uNOdFq_hitLine",
|
|
2563
|
+
"railBody": "uNOdFq_railBody",
|
|
2564
|
+
"hit": "uNOdFq_hit",
|
|
2565
|
+
"input": "uNOdFq_input"
|
|
2551
2566
|
};
|
|
2552
2567
|
//#endregion
|
|
2553
2568
|
//#region src/client/KnowledgePermissions.tsx
|
|
@@ -3052,25 +3067,25 @@ window.__ModuleLoader__.load({
|
|
|
3052
3067
|
}
|
|
3053
3068
|
//#endregion
|
|
3054
3069
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeLoading.module.css.mjs
|
|
3055
|
-
const css$
|
|
3056
|
-
const tagId$
|
|
3057
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
3070
|
+
const css$17 = ".HyIQta_wrap{box-sizing:border-box;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;width:100%;height:100%;min-height:120px;padding:16px;display:flex}.HyIQta_book{perspective:320px;perspective-origin:50%;display:block;overflow:visible}.HyIQta_coverBack{fill:var(--dsw-alias-bg-layer-1);stroke:var(--dsw-alias-border-l3);stroke-width:1px}.HyIQta_pagesLeft,.HyIQta_pagesRight{fill:var(--dsw-alias-label-secondary);opacity:.22}.HyIQta_pagesLeft,.HyIQta_pagesRight,.HyIQta_leaf{stroke:var(--dsw-alias-border-l3);stroke-width:.75px}.HyIQta_leaf{fill:var(--dsw-alias-label-secondary);opacity:.42;transform-origin:32px 24px;transform-box:view-box;animation:HyIQta_kb-page-turn 1.6s var(--ds-ease-in-out) infinite;backface-visibility:hidden}@keyframes HyIQta_kb-page-turn{0%,12%{opacity:.42;transform:rotateY(0)}46%{opacity:.24;transform:rotateY(-168deg)}58%,to{opacity:0;transform:rotateY(-180deg)}}.HyIQta_label{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xs-13);text-align:center;margin:0}.HyIQta_srOnly{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){.HyIQta_leaf{opacity:.42;animation:none;transform:rotateY(-28deg)}}";
|
|
3071
|
+
const tagId$17 = "@sparkelf/dsh-knowledge-base/KnowledgeLoading.module.css";
|
|
3072
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$17) + "]") === null) {
|
|
3058
3073
|
const tag = document.createElement("style");
|
|
3059
3074
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
3060
|
-
tag.dataset.pluginCss = tagId$
|
|
3061
|
-
tag.textContent = css$
|
|
3075
|
+
tag.dataset.pluginCss = tagId$17;
|
|
3076
|
+
tag.textContent = css$17;
|
|
3062
3077
|
document.head.appendChild(tag);
|
|
3063
3078
|
}
|
|
3064
3079
|
var KnowledgeLoading_module_css_default = {
|
|
3065
|
-
"leaf": "HyIQta_leaf",
|
|
3066
|
-
"pagesRight": "HyIQta_pagesRight",
|
|
3067
3080
|
"book": "HyIQta_book",
|
|
3068
|
-
"wrap": "HyIQta_wrap",
|
|
3069
|
-
"pagesLeft": "HyIQta_pagesLeft",
|
|
3070
3081
|
"label": "HyIQta_label",
|
|
3071
|
-
"
|
|
3082
|
+
"pagesRight": "HyIQta_pagesRight",
|
|
3072
3083
|
"kb-page-turn": "HyIQta_kb-page-turn",
|
|
3073
|
-
"
|
|
3084
|
+
"leaf": "HyIQta_leaf",
|
|
3085
|
+
"coverBack": "HyIQta_coverBack",
|
|
3086
|
+
"pagesLeft": "HyIQta_pagesLeft",
|
|
3087
|
+
"srOnly": "HyIQta_srOnly",
|
|
3088
|
+
"wrap": "HyIQta_wrap"
|
|
3074
3089
|
};
|
|
3075
3090
|
//#endregion
|
|
3076
3091
|
//#region src/client/KnowledgeLoading.tsx
|
|
@@ -3652,113 +3667,113 @@ window.__ModuleLoader__.load({
|
|
|
3652
3667
|
}
|
|
3653
3668
|
//#endregion
|
|
3654
3669
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeHome.module.css.mjs
|
|
3655
|
-
const css$
|
|
3656
|
-
const tagId$
|
|
3657
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
3670
|
+
const css$16 = ".oNvFBa_home{flex-direction:column;gap:16px;min-width:0;display:flex}.oNvFBa_cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:13.5px;display:grid}.oNvFBa_cardSlot{min-width:0;position:relative}.oNvFBa_card{box-sizing:border-box;text-align:left;border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);width:100%;height:63px;color:var(--dsw-alias-label-primary);cursor:pointer;flex-direction:row;align-items:center;gap:14px;padding:0 9px 0 13px;display:flex}.oNvFBa_card:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}.oNvFBa_card[data-open=true]{background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l3)}.oNvFBa_card:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.oNvFBa_card:disabled{opacity:.4;cursor:default}.oNvFBa_cardPlate{border-radius:var(--dsw-radius-sm);width:24px;height:24px;color:var(--dsw-alias-label-primary-foreground);flex:none;justify-content:center;align-items:center;display:inline-flex}.oNvFBa_cardPlate[data-tone=blue]{background:var(--dsw-static-blue-500)}.oNvFBa_cardPlate[data-tone=amber]{background:var(--dsw-static-amber-500)}.oNvFBa_cardPlate[data-tone=deepseek]{background:var(--dsw-static-deepseek-500)}.oNvFBa_cardText{flex-direction:column;flex:auto;gap:3px;min-width:0;display:flex}.oNvFBa_cardTitle{font:var(--dsw-font-s-14);color:var(--dsw-alias-label-primary);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.oNvFBa_cardBody{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);text-overflow:ellipsis;white-space:nowrap;line-height:1.5;overflow:hidden}.oNvFBa_cardChevron{color:var(--dsw-alias-label-tertiary);flex:none;align-items:center;display:inline-flex}.oNvFBa_cardMenu{z-index:2;border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-2);margin:0;padding:4px;list-style:none;position:absolute;top:calc(100% + 4px);left:0;right:0}.oNvFBa_cardMenuItem{box-sizing:border-box;border-radius:var(--dsw-radius-sm);width:100%;min-height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;padding:4px 8px;display:flex}.oNvFBa_cardMenuItem:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}.oNvFBa_cardMenuItem:disabled{color:var(--dsw-alias-label-tertiary);cursor:default}.oNvFBa_table{border-collapse:collapse;width:100%}.oNvFBa_table th{text-align:left;font:var(--dsw-font-xxxs-strong-11);color:var(--dsw-alias-label-tertiary);border-bottom:.5px solid var(--dsw-alias-border-l2);white-space:nowrap;padding:6px 10px}.oNvFBa_table td{border-bottom:.5px solid var(--dsw-alias-border-l1);font:var(--dsw-font-xxs-12);vertical-align:middle;padding:7px 10px}.oNvFBa_table tr:last-child td{border-bottom:none}.oNvFBa_rowLink{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);text-align:left;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:none;min-width:0;padding:0;overflow:hidden}.oNvFBa_rowLink:hover{color:var(--dsw-alias-link)}.oNvFBa_rowLink:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.oNvFBa_muted{color:var(--dsw-alias-label-tertiary)}.oNvFBa_emptyRow td{text-align:center;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);padding:18px}.oNvFBa_hiddenInput{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.oNvFBa_titleCell{align-items:center;gap:4px;min-width:0;display:flex}.oNvFBa_favoriteMark{color:var(--dsw-static-amber-500);font:var(--dsw-font-xxs-12);flex:none}.oNvFBa_dropZone{border-radius:var(--dsw-radius-md);border:1px dashed #0000;transition:border-color .12s,background-color .12s}.oNvFBa_dropZoneActive{border-color:var(--dsw-alias-brand-primary);background:var(--dsw-alias-bg-layer-2)}.oNvFBa_shareWrap{flex-direction:column;gap:12px;display:flex}.oNvFBa_shareBlock{flex-direction:column;gap:8px;display:flex}.oNvFBa_shareEmpty{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-sm-13);margin:0;padding:12px 0}.oNvFBa_shareError{color:var(--dsw-alias-label-error);font:var(--dsw-font-sm-13);margin:0;padding:8px 0}.oNvFBa_sharePager{justify-content:flex-end;align-items:center;gap:8px;display:flex}.oNvFBa_table{table-layout:fixed}.oNvFBa_colTitle{width:42%}.oNvFBa_colLocation{width:18%}.oNvFBa_colOwner{width:10%}.oNvFBa_colTime{width:11%}.oNvFBa_colActions{width:96px}.oNvFBa_actionsCell{padding:0 6px}.oNvFBa_rowActions{justify-content:flex-end;align-items:center;gap:2px;display:flex}.oNvFBa_iconButton,.oNvFBa_iconButtonOn,.oNvFBa_iconButtonDanger{border-radius:var(--dsw-radius-sm);width:24px;height:24px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.oNvFBa_iconButton:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.oNvFBa_iconButtonOn{color:var(--dsw-alias-state-warn-primary)}.oNvFBa_iconButtonOn:hover{background:var(--dsw-alias-interactive-bg-hover)}.oNvFBa_iconButtonDanger{color:var(--dsw-alias-label-tertiary)}.oNvFBa_iconButtonDanger:hover{background:var(--dsw-alias-interactive-bg-hover-danger);color:var(--dsw-alias-state-error-primary)}.oNvFBa_iconButton:focus-visible,.oNvFBa_iconButtonOn:focus-visible,.oNvFBa_iconButtonDanger:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-2px}.oNvFBa_iconButtonDanger:disabled,.oNvFBa_iconButton:disabled{opacity:.5;cursor:default}.oNvFBa_docPager{justify-content:flex-end;align-items:center;gap:8px;padding-top:8px;display:flex}";
|
|
3671
|
+
const tagId$16 = "@sparkelf/dsh-knowledge-base/KnowledgeHome.module.css";
|
|
3672
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$16) + "]") === null) {
|
|
3658
3673
|
const tag = document.createElement("style");
|
|
3659
3674
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
3660
|
-
tag.dataset.pluginCss = tagId$
|
|
3661
|
-
tag.textContent = css$
|
|
3675
|
+
tag.dataset.pluginCss = tagId$16;
|
|
3676
|
+
tag.textContent = css$16;
|
|
3662
3677
|
document.head.appendChild(tag);
|
|
3663
3678
|
}
|
|
3664
3679
|
var KnowledgeHome_module_css_default = {
|
|
3680
|
+
"hiddenInput": "oNvFBa_hiddenInput",
|
|
3681
|
+
"shareEmpty": "oNvFBa_shareEmpty",
|
|
3682
|
+
"emptyRow": "oNvFBa_emptyRow",
|
|
3683
|
+
"cardMenu": "oNvFBa_cardMenu",
|
|
3665
3684
|
"dropZoneActive": "oNvFBa_dropZoneActive",
|
|
3685
|
+
"iconButton": "oNvFBa_iconButton",
|
|
3686
|
+
"colTitle": "oNvFBa_colTitle",
|
|
3687
|
+
"shareBlock": "oNvFBa_shareBlock",
|
|
3688
|
+
"cardText": "oNvFBa_cardText",
|
|
3689
|
+
"favoriteMark": "oNvFBa_favoriteMark",
|
|
3690
|
+
"cardMenuItem": "oNvFBa_cardMenuItem",
|
|
3666
3691
|
"docPager": "oNvFBa_docPager",
|
|
3667
|
-
"
|
|
3692
|
+
"cards": "oNvFBa_cards",
|
|
3693
|
+
"rowLink": "oNvFBa_rowLink",
|
|
3694
|
+
"card": "oNvFBa_card",
|
|
3695
|
+
"shareError": "oNvFBa_shareError",
|
|
3696
|
+
"sharePager": "oNvFBa_sharePager",
|
|
3668
3697
|
"cardSlot": "oNvFBa_cardSlot",
|
|
3669
|
-
"
|
|
3670
|
-
"
|
|
3698
|
+
"cardPlate": "oNvFBa_cardPlate",
|
|
3699
|
+
"shareWrap": "oNvFBa_shareWrap",
|
|
3700
|
+
"dropZone": "oNvFBa_dropZone",
|
|
3701
|
+
"titleCell": "oNvFBa_titleCell",
|
|
3671
3702
|
"actionsCell": "oNvFBa_actionsCell",
|
|
3672
|
-
"
|
|
3673
|
-
"
|
|
3674
|
-
"
|
|
3675
|
-
"
|
|
3676
|
-
"dropZone": "oNvFBa_dropZone",
|
|
3677
|
-
"shareError": "oNvFBa_shareError",
|
|
3678
|
-
"cardMenuItem": "oNvFBa_cardMenuItem",
|
|
3679
|
-
"iconButtonOn": "oNvFBa_iconButtonOn",
|
|
3680
|
-
"home": "oNvFBa_home",
|
|
3681
|
-
"shareBlock": "oNvFBa_shareBlock",
|
|
3682
|
-
"titleCell": "oNvFBa_titleCell",
|
|
3703
|
+
"rowActions": "oNvFBa_rowActions",
|
|
3704
|
+
"cardTitle": "oNvFBa_cardTitle",
|
|
3705
|
+
"cardBody": "oNvFBa_cardBody",
|
|
3706
|
+
"cardChevron": "oNvFBa_cardChevron",
|
|
3683
3707
|
"colActions": "oNvFBa_colActions",
|
|
3684
3708
|
"colTime": "oNvFBa_colTime",
|
|
3685
|
-
"
|
|
3686
|
-
"
|
|
3687
|
-
"
|
|
3688
|
-
"
|
|
3689
|
-
"muted": "oNvFBa_muted",
|
|
3690
|
-
"iconButton": "oNvFBa_iconButton",
|
|
3691
|
-
"hiddenInput": "oNvFBa_hiddenInput",
|
|
3692
|
-
"card": "oNvFBa_card",
|
|
3693
|
-
"emptyRow": "oNvFBa_emptyRow",
|
|
3694
|
-
"cardBody": "oNvFBa_cardBody",
|
|
3709
|
+
"iconButtonOn": "oNvFBa_iconButtonOn",
|
|
3710
|
+
"iconButtonDanger": "oNvFBa_iconButtonDanger",
|
|
3711
|
+
"home": "oNvFBa_home",
|
|
3712
|
+
"colLocation": "oNvFBa_colLocation",
|
|
3695
3713
|
"colOwner": "oNvFBa_colOwner",
|
|
3696
|
-
"
|
|
3697
|
-
"table": "oNvFBa_table"
|
|
3698
|
-
"cardTitle": "oNvFBa_cardTitle",
|
|
3699
|
-
"rowLink": "oNvFBa_rowLink",
|
|
3700
|
-
"cardText": "oNvFBa_cardText"
|
|
3714
|
+
"muted": "oNvFBa_muted",
|
|
3715
|
+
"table": "oNvFBa_table"
|
|
3701
3716
|
};
|
|
3702
3717
|
//#endregion
|
|
3703
3718
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeTemplates.module.css.mjs
|
|
3704
|
-
const css$
|
|
3705
|
-
const tagId$
|
|
3706
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
3719
|
+
const css$15 = ".Tg9J7q_dialog{flex-direction:column;gap:12px;min-width:0;min-height:600px;display:flex}.Tg9J7q_toolbar{align-items:center;gap:8px;display:flex}.Tg9J7q_toolbar>:last-child{flex:auto;min-width:0}.Tg9J7q_notice{border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);margin:0;padding:6px 8px}.Tg9J7q_muted{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:0;padding:12px 0}.Tg9J7q_library{flex-direction:column;gap:12px;min-height:0;display:flex}.Tg9J7q_destination{flex-direction:column;gap:6px;display:flex}.Tg9J7q_destinationLabel{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12)}.Tg9J7q_grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:min(58vh,600px);margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.Tg9J7q_card{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-2);align-items:center;gap:14px;min-height:104px;padding:10px;display:flex;position:relative}.Tg9J7q_cover{border-radius:var(--dsw-radius-sm);background:linear-gradient(135deg, var(--dsw-alias-bg-layer-1), var(--dsw-alias-bg-layer-2));border:1px solid var(--dsw-alias-border-l1);flex:0 0 108px;justify-content:center;align-items:center;width:108px;height:82px;display:flex}.Tg9J7q_cardMain{flex:auto;min-width:0}.Tg9J7q_cardActions{border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);opacity:0;gap:4px;padding:4px;transition:opacity .12s,transform .12s;display:flex;position:absolute;bottom:10px;right:10px;transform:translateY(3px)}.Tg9J7q_card:hover .Tg9J7q_cardActions,.Tg9J7q_card:focus-within .Tg9J7q_cardActions{opacity:1;transform:translateY(0)}@media (hover:none){.Tg9J7q_cardActions{opacity:1;transform:none}}@media (width<=760px){.Tg9J7q_grid{grid-template-columns:minmax(0,1fr)}}.Tg9J7q_cardHead{justify-content:space-between;align-items:flex-start;gap:8px;min-width:0;display:flex}.Tg9J7q_cardTitle{text-overflow:ellipsis;white-space:nowrap;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-13);font-weight:600;display:block;overflow:hidden}.Tg9J7q_cardBody{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;display:-webkit-box;overflow:hidden}.Tg9J7q_cardTags{flex-wrap:wrap;gap:4px;display:flex}.Tg9J7q_cardFoot{justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:6px;display:flex}.Tg9J7q_cardMeta{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;overflow:hidden}.Tg9J7q_manage{flex-direction:column;gap:10px;max-height:52vh;display:flex;overflow-y:auto}.Tg9J7q_manageBar{justify-content:flex-end;display:flex}.Tg9J7q_manageList{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.Tg9J7q_manageRow{border-radius:var(--dsw-radius-sm);align-items:center;gap:10px;padding:6px 8px;display:flex}.Tg9J7q_manageRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.Tg9J7q_manageName{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);flex:auto;overflow:hidden}.Tg9J7q_manageActions{flex:none;gap:4px;display:inline-flex}.Tg9J7q_form{flex-direction:column;gap:10px;display:flex}.Tg9J7q_field{flex-direction:column;gap:4px;min-width:0;display:flex}.Tg9J7q_fieldLabel{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12)}.Tg9J7q_fieldHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11)}.Tg9J7q_fileInput{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12)}.Tg9J7q_formActions{justify-content:flex-end;gap:8px;padding-top:4px;display:flex}.Tg9J7q_modal{width:min(1180px,100vw - 32px);min-height:min(720px,86vh);max-height:min(860px,90vh)}.Tg9J7q_footer{justify-content:flex-end;gap:8px;width:100%;display:flex}.Tg9J7q_quickFilters{align-items:center;gap:4px;display:flex}.Tg9J7q_quickFilter{border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);height:28px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);cursor:pointer;background:0 0;padding:0 10px}.Tg9J7q_quickFilter:hover,.Tg9J7q_quickFilter[data-active=true]{border-color:var(--dsw-alias-state-business-primary);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary)}.Tg9J7q_grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));max-height:min(52vh,560px)}.Tg9J7q_card{min-height:174px;padding:12px}.Tg9J7q_cardHead{align-items:center}.Tg9J7q_cardIcon{border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);flex:none;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.Tg9J7q_cardTitle{flex:auto}.Tg9J7q_favorite{border-radius:var(--dsw-radius-sm);width:24px;height:24px;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-base-strong-16);cursor:pointer;background:0 0;border:0;flex:none;padding:0;line-height:1}.Tg9J7q_favorite:hover,.Tg9J7q_favorite[aria-pressed=true]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-state-business-primary)}.Tg9J7q_formActions{justify-content:flex-end}.Tg9J7q_categoryFilters{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.Tg9J7q_categoryChip{border-radius:var(--dsw-radius-sm);height:24px;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);cursor:pointer;background:0 0;border:0;padding:0 8px}.Tg9J7q_categoryChip:hover,.Tg9J7q_categoryChip[data-active=true]{background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary)}.Tg9J7q_previewModal{width:min(760px,100vw - 32px)}.Tg9J7q_previewContent{border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-2);max-height:min(62vh,560px);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);font-family:var(--dsw-font-markdown-code);white-space:pre-wrap;word-break:break-word;margin:0;padding:12px;overflow:auto}.Tg9J7q_filterRow{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.Tg9J7q_filterDivider{background:var(--dsw-alias-border-l2);width:1px;height:16px}.Tg9J7q_grid{grid-template-columns:repeat(auto-fill,minmax(238px,1fr));gap:12px;max-height:min(58vh,620px)}.Tg9J7q_card{isolation:isolate;flex-direction:column;align-items:stretch;gap:8px;min-height:248px;padding:0;display:flex;position:relative;overflow:hidden}.Tg9J7q_cardHead{z-index:4;box-sizing:border-box;align-items:center;gap:6px;width:100%;min-width:0;padding:12px 12px 0;display:flex;position:relative}.Tg9J7q_cardHead .Tg9J7q_cardTitle{min-width:0;font:var(--dsw-font-xxs-strong-12);flex:auto;font-weight:600}.Tg9J7q_cover{z-index:0;background:linear-gradient(145deg, var(--dsw-alias-bg-layer-1), var(--dsw-alias-bg-layer-2));border:0;border-radius:0;flex:none;width:100%;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.Tg9J7q_cover[data-template-kind=表格]{background:linear-gradient(145deg,#10b9812e,#10b9810d)}.Tg9J7q_cover[data-template-kind=PPT]{background:linear-gradient(145deg,#f59e0b33,#f59e0b0d)}.Tg9J7q_coverPage{background:#fffffff5;border-radius:3px 3px 0 0;padding:10px;position:absolute;inset:20% 14% 24%;overflow:hidden;box-shadow:0 8px 24px #0f172a2e}.Tg9J7q_documentPage{flex-direction:column;gap:5px;height:100%;display:flex}.Tg9J7q_documentPage b,.Tg9J7q_documentPage i{background:#d8dee9;border-radius:2px;height:5px;display:block}.Tg9J7q_documentPage b{background:#9aa8bd;width:54%;height:8px;margin-bottom:3px}.Tg9J7q_documentPage .Tg9J7q_lineWide{width:100%}.Tg9J7q_documentPage .Tg9J7q_lineShort{width:42%}.Tg9J7q_documentPage i:nth-child(2){width:88%}.Tg9J7q_documentPage i:nth-child(4){width:72%}.Tg9J7q_sheetGrid{grid-template-columns:repeat(3,1fr);gap:3px;height:100%;display:grid}.Tg9J7q_sheetGrid i{background:#f2faf6;border:1px solid #d8e9df;min-height:12px;display:block}.Tg9J7q_slidePage{background:linear-gradient(135deg,#fffaf0,#fff);flex-direction:column;justify-content:center;gap:8px;height:100%;padding:8px;display:flex}.Tg9J7q_slidePage b{background:#d9a441;border-radius:2px;width:68%;height:9px;display:block}.Tg9J7q_slidePage i{background:#e7d6b8;border-radius:2px;width:90%;height:5px;display:block}.Tg9J7q_cardFoot{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;z-index:3;justify-content:space-between;align-items:center;gap:8px;max-width:calc(100% - 134px);margin:0;padding:0;display:flex;position:absolute;bottom:10px;left:12px;right:auto}.Tg9J7q_cardActions{z-index:5;background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);justify-content:flex-end;position:absolute;bottom:10px;left:auto;right:12px;box-shadow:0 6px 18px #00000040}.Tg9J7q_card:hover .Tg9J7q_coverPage,.Tg9J7q_card:focus-within .Tg9J7q_coverPage{transition:transform .15s;transform:translateY(-2px)}";
|
|
3720
|
+
const tagId$15 = "@sparkelf/dsh-knowledge-base/KnowledgeTemplates.module.css";
|
|
3721
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$15) + "]") === null) {
|
|
3707
3722
|
const tag = document.createElement("style");
|
|
3708
3723
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
3709
|
-
tag.dataset.pluginCss = tagId$
|
|
3710
|
-
tag.textContent = css$
|
|
3724
|
+
tag.dataset.pluginCss = tagId$15;
|
|
3725
|
+
tag.textContent = css$15;
|
|
3711
3726
|
document.head.appendChild(tag);
|
|
3712
3727
|
}
|
|
3713
3728
|
var KnowledgeTemplates_module_css_default = {
|
|
3714
|
-
"
|
|
3715
|
-
"
|
|
3716
|
-
"
|
|
3729
|
+
"cardHead": "Tg9J7q_cardHead",
|
|
3730
|
+
"manage": "Tg9J7q_manage",
|
|
3731
|
+
"favorite": "Tg9J7q_favorite",
|
|
3732
|
+
"previewModal": "Tg9J7q_previewModal",
|
|
3717
3733
|
"toolbar": "Tg9J7q_toolbar",
|
|
3718
|
-
"cardMain": "Tg9J7q_cardMain",
|
|
3719
|
-
"cardTags": "Tg9J7q_cardTags",
|
|
3720
|
-
"library": "Tg9J7q_library",
|
|
3721
|
-
"manageName": "Tg9J7q_manageName",
|
|
3722
|
-
"filterRow": "Tg9J7q_filterRow",
|
|
3723
|
-
"grid": "Tg9J7q_grid",
|
|
3724
|
-
"documentPage": "Tg9J7q_documentPage",
|
|
3725
3734
|
"previewContent": "Tg9J7q_previewContent",
|
|
3735
|
+
"coverPage": "Tg9J7q_coverPage",
|
|
3736
|
+
"lineShort": "Tg9J7q_lineShort",
|
|
3726
3737
|
"sheetGrid": "Tg9J7q_sheetGrid",
|
|
3727
|
-
"cardBody": "Tg9J7q_cardBody",
|
|
3728
|
-
"manage": "Tg9J7q_manage",
|
|
3729
|
-
"formActions": "Tg9J7q_formActions",
|
|
3730
|
-
"quickFilter": "Tg9J7q_quickFilter",
|
|
3731
3738
|
"slidePage": "Tg9J7q_slidePage",
|
|
3732
|
-
"
|
|
3733
|
-
"notice": "Tg9J7q_notice",
|
|
3734
|
-
"manageRow": "Tg9J7q_manageRow",
|
|
3735
|
-
"manageActions": "Tg9J7q_manageActions",
|
|
3736
|
-
"cardHead": "Tg9J7q_cardHead",
|
|
3737
|
-
"favorite": "Tg9J7q_favorite",
|
|
3738
|
-
"categoryFilters": "Tg9J7q_categoryFilters",
|
|
3739
|
-
"filterDivider": "Tg9J7q_filterDivider",
|
|
3739
|
+
"cardActions": "Tg9J7q_cardActions",
|
|
3740
3740
|
"destinationLabel": "Tg9J7q_destinationLabel",
|
|
3741
|
+
"quickFilters": "Tg9J7q_quickFilters",
|
|
3742
|
+
"quickFilter": "Tg9J7q_quickFilter",
|
|
3743
|
+
"filterRow": "Tg9J7q_filterRow",
|
|
3744
|
+
"filterDivider": "Tg9J7q_filterDivider",
|
|
3745
|
+
"formActions": "Tg9J7q_formActions",
|
|
3746
|
+
"lineWide": "Tg9J7q_lineWide",
|
|
3747
|
+
"manageList": "Tg9J7q_manageList",
|
|
3748
|
+
"documentPage": "Tg9J7q_documentPage",
|
|
3749
|
+
"grid": "Tg9J7q_grid",
|
|
3750
|
+
"card": "Tg9J7q_card",
|
|
3741
3751
|
"manageBar": "Tg9J7q_manageBar",
|
|
3742
|
-
"
|
|
3752
|
+
"cardBody": "Tg9J7q_cardBody",
|
|
3753
|
+
"library": "Tg9J7q_library",
|
|
3754
|
+
"manageName": "Tg9J7q_manageName",
|
|
3743
3755
|
"fileInput": "Tg9J7q_fileInput",
|
|
3744
|
-
"
|
|
3745
|
-
"
|
|
3746
|
-
"
|
|
3747
|
-
"
|
|
3748
|
-
"destination": "Tg9J7q_destination",
|
|
3749
|
-
"manageList": "Tg9J7q_manageList",
|
|
3756
|
+
"cover": "Tg9J7q_cover",
|
|
3757
|
+
"categoryChip": "Tg9J7q_categoryChip",
|
|
3758
|
+
"fieldHint": "Tg9J7q_fieldHint",
|
|
3759
|
+
"cardIcon": "Tg9J7q_cardIcon",
|
|
3750
3760
|
"cardFoot": "Tg9J7q_cardFoot",
|
|
3751
|
-
"
|
|
3752
|
-
"
|
|
3761
|
+
"fieldLabel": "Tg9J7q_fieldLabel",
|
|
3762
|
+
"notice": "Tg9J7q_notice",
|
|
3763
|
+
"form": "Tg9J7q_form",
|
|
3764
|
+
"manageActions": "Tg9J7q_manageActions",
|
|
3753
3765
|
"cardTitle": "Tg9J7q_cardTitle",
|
|
3754
|
-
"
|
|
3755
|
-
"
|
|
3756
|
-
"
|
|
3766
|
+
"cardTags": "Tg9J7q_cardTags",
|
|
3767
|
+
"cardMeta": "Tg9J7q_cardMeta",
|
|
3768
|
+
"cardMain": "Tg9J7q_cardMain",
|
|
3769
|
+
"manageRow": "Tg9J7q_manageRow",
|
|
3757
3770
|
"field": "Tg9J7q_field",
|
|
3758
|
-
"
|
|
3759
|
-
"
|
|
3760
|
-
"
|
|
3761
|
-
"
|
|
3771
|
+
"destination": "Tg9J7q_destination",
|
|
3772
|
+
"dialog": "Tg9J7q_dialog",
|
|
3773
|
+
"muted": "Tg9J7q_muted",
|
|
3774
|
+
"modal": "Tg9J7q_modal",
|
|
3775
|
+
"categoryFilters": "Tg9J7q_categoryFilters",
|
|
3776
|
+
"footer": "Tg9J7q_footer"
|
|
3762
3777
|
};
|
|
3763
3778
|
//#endregion
|
|
3764
3779
|
//#region src/client/KnowledgeTemplates.tsx
|
|
@@ -4734,23 +4749,23 @@ window.__ModuleLoader__.load({
|
|
|
4734
4749
|
}
|
|
4735
4750
|
//#endregion
|
|
4736
4751
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeNewDocumentDialog.module.css.mjs
|
|
4737
|
-
const css$
|
|
4738
|
-
const tagId$
|
|
4739
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
4752
|
+
const css$14 = ".hXsYha_modal{width:min(760px,100vw - 32px)}.hXsYha_dialog{flex-direction:column;gap:16px;min-width:0;display:flex}.hXsYha_cards{align-items:stretch;gap:10px;display:flex}.hXsYha_card{border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-lg);background:var(--dsw-alias-bg-layer-1);min-height:92px;color:var(--dsw-alias-label-primary);text-align:left;cursor:pointer;flex:1 1 0;align-items:center;gap:12px;padding:16px;transition:border-color .15s,background .15s,transform .15s;display:flex}.hXsYha_card:hover,.hXsYha_card:focus-visible{border-color:var(--dsw-alias-state-business-primary);background:var(--dsw-alias-bg-layer-2);outline:none;transform:translateY(-1px)}.hXsYha_iconPlate{border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-2);flex:none;justify-content:center;align-items:center;width:46px;height:46px;display:inline-flex}.hXsYha_cardText{align-items:center;min-width:0;display:flex}.hXsYha_cardTitle{font:var(--dsw-font-xs-13);font-weight:600}.hXsYha_footer{justify-content:flex-end;gap:8px;width:100%;display:flex}";
|
|
4753
|
+
const tagId$14 = "@sparkelf/dsh-knowledge-base/KnowledgeNewDocumentDialog.module.css";
|
|
4754
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$14) + "]") === null) {
|
|
4740
4755
|
const tag = document.createElement("style");
|
|
4741
4756
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
4742
|
-
tag.dataset.pluginCss = tagId$
|
|
4743
|
-
tag.textContent = css$
|
|
4757
|
+
tag.dataset.pluginCss = tagId$14;
|
|
4758
|
+
tag.textContent = css$14;
|
|
4744
4759
|
document.head.appendChild(tag);
|
|
4745
4760
|
}
|
|
4746
4761
|
var KnowledgeNewDocumentDialog_module_css_default = {
|
|
4747
|
-
"cardTitle": "hXsYha_cardTitle",
|
|
4748
|
-
"footer": "hXsYha_footer",
|
|
4749
|
-
"cardText": "hXsYha_cardText",
|
|
4750
|
-
"iconPlate": "hXsYha_iconPlate",
|
|
4751
|
-
"cards": "hXsYha_cards",
|
|
4752
4762
|
"modal": "hXsYha_modal",
|
|
4763
|
+
"cards": "hXsYha_cards",
|
|
4764
|
+
"footer": "hXsYha_footer",
|
|
4753
4765
|
"card": "hXsYha_card",
|
|
4766
|
+
"iconPlate": "hXsYha_iconPlate",
|
|
4767
|
+
"cardTitle": "hXsYha_cardTitle",
|
|
4768
|
+
"cardText": "hXsYha_cardText",
|
|
4754
4769
|
"dialog": "hXsYha_dialog"
|
|
4755
4770
|
};
|
|
4756
4771
|
//#endregion
|
|
@@ -4832,62 +4847,62 @@ window.__ModuleLoader__.load({
|
|
|
4832
4847
|
}
|
|
4833
4848
|
//#endregion
|
|
4834
4849
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeCreateDialog.module.css.mjs
|
|
4835
|
-
const css$
|
|
4836
|
-
const tagId$
|
|
4837
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
4850
|
+
const css$13 = ".HX727W_dialog{flex-direction:column;gap:16px;min-width:0;display:flex}.HX727W_field{flex-direction:column;gap:6px;min-width:0;display:flex}.HX727W_fieldLabel{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12)}.HX727W_fieldHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11)}.HX727W_fieldError{color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxxs-11)}.HX727W_summary{border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);word-break:break-all;margin:0;padding:8px 10px}.HX727W_picker{border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-2);flex-direction:column;gap:8px;padding:8px;display:flex}.HX727W_pickerBar{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.HX727W_crumbWrap{align-items:center;gap:4px;display:inline-flex}.HX727W_crumbSep{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12)}.HX727W_crumb{border-radius:var(--dsw-radius-sm);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);cursor:pointer;background:0 0;border:0;padding:2px 4px}.HX727W_crumb:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.HX727W_crumb:disabled{color:var(--dsw-alias-label-primary);cursor:default}.HX727W_pickerPath{align-items:baseline;gap:6px;min-width:0;margin:0;display:flex}.HX727W_pickerPathLabel{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);flex:none}.HX727W_pickerPathValue{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);font-family:var(--dsw-font-markdown-code);overflow:hidden}.HX727W_pickerList{flex-direction:column;gap:2px;max-height:132px;display:flex;overflow-y:auto}.HX727W_pickerMuted{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);margin:0;padding:6px 4px}.HX727W_pickerRow{border-radius:var(--dsw-radius-sm);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);text-align:start;cursor:pointer;background:0 0;border:0;padding:4px 8px}.HX727W_pickerRow:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.HX727W_fileInput{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12)}.HX727W_fileList{flex-direction:column;gap:2px;max-height:132px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.HX727W_fileRow{align-items:baseline;gap:8px;min-width:0;display:flex}.HX727W_fileName{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);flex:0 auto;overflow:hidden}.HX727W_fileTarget{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);font-family:var(--dsw-font-markdown-code);flex:auto;overflow:hidden}.HX727W_modal{width:min(640px,100vw - 32px)}.HX727W_footer{justify-content:flex-end;gap:8px;width:100%;display:flex}.HX727W_visuallyHiddenInput{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.HX727W_dropzone{border:1px dashed var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-2);min-height:152px;color:var(--dsw-alias-label-secondary);text-align:center;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:18px;transition:border-color .15s,background .15s;display:flex}.HX727W_dropzone:hover,.HX727W_dropzone:focus-visible,.HX727W_dropzone[data-active=true]{border-color:var(--dsw-alias-state-business-primary);background:var(--dsw-alias-bg-layer-1);outline:none}.HX727W_dropzoneTitle{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12)}.HX727W_dropzoneHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11)}.HX727W_uploadSummary{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);justify-content:space-between;align-items:center;display:flex}.HX727W_uploadList{flex-direction:column;gap:2px;max-height:220px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.HX727W_uploadRow{border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-2);align-items:center;gap:8px;min-width:0;padding:7px 8px;display:flex}.HX727W_uploadName{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);flex:auto;overflow:hidden}.HX727W_uploadSize{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;flex:none}.HX727W_removeFile{border-radius:var(--dsw-radius-sm);width:22px;height:22px;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-base-strong-16);cursor:pointer;background:0 0;border:0;flex:none;padding:0;line-height:1}.HX727W_removeFile:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.HX727W_steps{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);align-items:center;gap:10px;display:flex}.HX727W_step[data-active=true]{color:var(--dsw-alias-label-primary);font-weight:600}.HX727W_stepLine{background:var(--dsw-alias-border-l2);flex:0 0 42px;height:1px}.HX727W_uploadLayout{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:stretch;gap:12px;display:grid}.HX727W_uploadLayout[data-empty=true]{grid-template-columns:minmax(0,1fr)}.HX727W_uploadLayout[data-empty=true] .HX727W_uploadQueue{display:none}.HX727W_uploadQueue{border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-2);flex-direction:column;gap:6px;min-width:0;min-height:152px;padding:8px;display:flex}.HX727W_uploadQueue .HX727W_uploadList{max-height:220px}.HX727W_tree{border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-2);max-height:300px;padding:4px;overflow:auto}.HX727W_treeChildren{margin:0;padding:0;list-style:none}.HX727W_treeRow{border-radius:var(--dsw-radius-sm);min-height:30px;color:var(--dsw-alias-label-secondary);align-items:center;gap:2px;display:flex}.HX727W_treeRow:hover,.HX727W_treeRow[data-selected=true]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.HX727W_treeToggle{width:20px;height:24px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.HX727W_treeName{border-radius:var(--dsw-radius-sm);min-width:0;height:26px;color:inherit;font:var(--dsw-font-xxs-12);text-align:left;cursor:pointer;background:0 0;border:0;flex:auto;align-items:center;gap:6px;padding:0 6px;display:inline-flex}.HX727W_treeName:hover,.HX727W_treeName:focus-visible{background:var(--dsw-alias-interactive-bg-hover);outline:none}.HX727W_treeMuted{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);margin:0;padding:4px 8px}.HX727W_tree{max-height:320px;overflow:auto}.HX727W_treeNotice{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);margin:4px 0 0;padding:4px 8px}";
|
|
4851
|
+
const tagId$13 = "@sparkelf/dsh-knowledge-base/KnowledgeCreateDialog.module.css";
|
|
4852
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$13) + "]") === null) {
|
|
4838
4853
|
const tag = document.createElement("style");
|
|
4839
4854
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
4840
|
-
tag.dataset.pluginCss = tagId$
|
|
4841
|
-
tag.textContent = css$
|
|
4855
|
+
tag.dataset.pluginCss = tagId$13;
|
|
4856
|
+
tag.textContent = css$13;
|
|
4842
4857
|
document.head.appendChild(tag);
|
|
4843
4858
|
}
|
|
4844
4859
|
var KnowledgeCreateDialog_module_css_default = {
|
|
4845
|
-
"fileList": "HX727W_fileList",
|
|
4846
4860
|
"removeFile": "HX727W_removeFile",
|
|
4847
|
-
"steps": "HX727W_steps",
|
|
4848
|
-
"pickerBar": "HX727W_pickerBar",
|
|
4849
|
-
"uploadList": "HX727W_uploadList",
|
|
4850
4861
|
"treeName": "HX727W_treeName",
|
|
4851
|
-
"
|
|
4852
|
-
"
|
|
4853
|
-
"treeChildren": "HX727W_treeChildren",
|
|
4854
|
-
"treeMuted": "HX727W_treeMuted",
|
|
4862
|
+
"treeNotice": "HX727W_treeNotice",
|
|
4863
|
+
"crumbWrap": "HX727W_crumbWrap",
|
|
4855
4864
|
"pickerList": "HX727W_pickerList",
|
|
4856
|
-
"
|
|
4865
|
+
"treeRow": "HX727W_treeRow",
|
|
4866
|
+
"fieldHint": "HX727W_fieldHint",
|
|
4867
|
+
"pickerRow": "HX727W_pickerRow",
|
|
4857
4868
|
"uploadQueue": "HX727W_uploadQueue",
|
|
4869
|
+
"uploadSummary": "HX727W_uploadSummary",
|
|
4870
|
+
"steps": "HX727W_steps",
|
|
4871
|
+
"dropzoneTitle": "HX727W_dropzoneTitle",
|
|
4872
|
+
"step": "HX727W_step",
|
|
4858
4873
|
"fieldError": "HX727W_fieldError",
|
|
4859
|
-
"crumbWrap": "HX727W_crumbWrap",
|
|
4860
|
-
"summary": "HX727W_summary",
|
|
4861
4874
|
"fileInput": "HX727W_fileInput",
|
|
4862
|
-
"
|
|
4863
|
-
"crumb": "HX727W_crumb",
|
|
4864
|
-
"treeToggle": "HX727W_treeToggle",
|
|
4865
|
-
"fileName": "HX727W_fileName",
|
|
4875
|
+
"modal": "HX727W_modal",
|
|
4866
4876
|
"pickerPath": "HX727W_pickerPath",
|
|
4867
|
-
"
|
|
4868
|
-
"
|
|
4877
|
+
"uploadList": "HX727W_uploadList",
|
|
4878
|
+
"uploadName": "HX727W_uploadName",
|
|
4879
|
+
"treeChildren": "HX727W_treeChildren",
|
|
4869
4880
|
"fileRow": "HX727W_fileRow",
|
|
4870
|
-
"dropzoneTitle": "HX727W_dropzoneTitle",
|
|
4871
|
-
"treeRow": "HX727W_treeRow",
|
|
4872
|
-
"step": "HX727W_step",
|
|
4873
|
-
"picker": "HX727W_picker",
|
|
4874
|
-
"tree": "HX727W_tree",
|
|
4875
4881
|
"pickerPathValue": "HX727W_pickerPathValue",
|
|
4876
|
-
"
|
|
4877
|
-
"
|
|
4878
|
-
"
|
|
4882
|
+
"uploadRow": "HX727W_uploadRow",
|
|
4883
|
+
"treeToggle": "HX727W_treeToggle",
|
|
4884
|
+
"treeMuted": "HX727W_treeMuted",
|
|
4885
|
+
"crumb": "HX727W_crumb",
|
|
4886
|
+
"footer": "HX727W_footer",
|
|
4887
|
+
"summary": "HX727W_summary",
|
|
4888
|
+
"fileTarget": "HX727W_fileTarget",
|
|
4879
4889
|
"dropzoneHint": "HX727W_dropzoneHint",
|
|
4890
|
+
"fileName": "HX727W_fileName",
|
|
4891
|
+
"crumbSep": "HX727W_crumbSep",
|
|
4892
|
+
"stepLine": "HX727W_stepLine",
|
|
4893
|
+
"uploadLayout": "HX727W_uploadLayout",
|
|
4894
|
+
"visuallyHiddenInput": "HX727W_visuallyHiddenInput",
|
|
4895
|
+
"pickerBar": "HX727W_pickerBar",
|
|
4880
4896
|
"dialog": "HX727W_dialog",
|
|
4881
|
-
"footer": "HX727W_footer",
|
|
4882
4897
|
"dropzone": "HX727W_dropzone",
|
|
4883
|
-
"
|
|
4884
|
-
"
|
|
4885
|
-
"pickerRow": "HX727W_pickerRow",
|
|
4898
|
+
"pickerPathLabel": "HX727W_pickerPathLabel",
|
|
4899
|
+
"fieldLabel": "HX727W_fieldLabel",
|
|
4886
4900
|
"uploadSize": "HX727W_uploadSize",
|
|
4887
|
-
"
|
|
4888
|
-
"
|
|
4889
|
-
"
|
|
4890
|
-
"pickerMuted": "HX727W_pickerMuted"
|
|
4901
|
+
"field": "HX727W_field",
|
|
4902
|
+
"fileList": "HX727W_fileList",
|
|
4903
|
+
"tree": "HX727W_tree",
|
|
4904
|
+
"pickerMuted": "HX727W_pickerMuted",
|
|
4905
|
+
"picker": "HX727W_picker"
|
|
4891
4906
|
};
|
|
4892
4907
|
//#endregion
|
|
4893
4908
|
//#region ../../../DSH-better-sidebar/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
@@ -6221,6 +6236,7 @@ window.__ModuleLoader__.load({
|
|
|
6221
6236
|
openInAppFailed: "无法打开:{path}",
|
|
6222
6237
|
revealInFileManager: "在文件管理器中显示",
|
|
6223
6238
|
openContainingFolder: "打开所在文件夹",
|
|
6239
|
+
openInFileManager: "打开所在位置",
|
|
6224
6240
|
filesSelected: "已选择 {count} 项",
|
|
6225
6241
|
clearSelection: "取消选择",
|
|
6226
6242
|
copyPaths: "复制路径",
|
|
@@ -6864,6 +6880,7 @@ window.__ModuleLoader__.load({
|
|
|
6864
6880
|
openInAppFailed: "Could not open: {path}",
|
|
6865
6881
|
revealInFileManager: "Reveal in File Manager",
|
|
6866
6882
|
openContainingFolder: "Open Containing Folder",
|
|
6883
|
+
openInFileManager: "Open Containing Location",
|
|
6867
6884
|
filesSelected: "{count} selected",
|
|
6868
6885
|
clearSelection: "Clear selection",
|
|
6869
6886
|
copyPaths: "Copy paths",
|
|
@@ -7442,38 +7459,38 @@ window.__ModuleLoader__.load({
|
|
|
7442
7459
|
}
|
|
7443
7460
|
//#endregion
|
|
7444
7461
|
//#region \0dsh-css:/root/projects/DSH-better-sidebar/src/client/ui/kit.module.css.mjs
|
|
7445
|
-
const css$
|
|
7446
|
-
const tagId$
|
|
7447
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
7462
|
+
const css$12 = ".lvzz-W_iconButton{box-sizing:border-box;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:3px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.lvzz-W_iconButtonMd{width:28px;height:28px}.lvzz-W_iconButtonSm{border-radius:3px;width:24px;height:24px}.lvzz-W_iconButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.lvzz-W_iconButton:focus-visible{outline:2px solid var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-1px}.lvzz-W_iconButton:disabled{opacity:.4;cursor:default}.lvzz-W_iconButtonActive{color:var(--dsw-alias-state-business-primary)}.lvzz-W_iconButtonDanger{color:var(--dsw-alias-state-error-primary)}.lvzz-W_chip{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2);height:22px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);white-space:nowrap;cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:4px;padding:0 8px;display:inline-flex}.lvzz-W_chip:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.lvzz-W_chip:disabled{opacity:.4;cursor:default}.lvzz-W_chipActive,.lvzz-W_chipActive:hover{background:var(--dsw-alias-interactive-bg-hover-accent);border-color:var(--dsw-alias-state-business-primary);color:var(--dsw-alias-label-primary)}.lvzz-W_chipLabel{text-overflow:ellipsis;min-width:0;overflow:hidden}.lvzz-W_chipCount{color:var(--dsw-alias-label-tertiary);font-variant-numeric:tabular-nums}.lvzz-W_chipActive .lvzz-W_chipCount{color:var(--dsw-alias-label-secondary)}.lvzz-W_sectionHeader{box-sizing:border-box;border-bottom:1px solid var(--dsw-alias-border-l1);width:100%;height:28px;font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-secondary);align-items:center;gap:6px;padding:0 12px;display:flex}.lvzz-W_sectionLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.lvzz-W_sectionCount{font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-tertiary);flex:none}.lvzz-W_sectionAction{flex:none;align-items:center;margin-left:auto;display:inline-flex}.lvzz-W_notice{box-sizing:border-box;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);white-space:pre-wrap}.lvzz-W_noticeWell{padding:4px 12px 8px}.lvzz-W_noticePage{text-align:center;padding:16px}.lvzz-W_noticeInline{padding:0;font-size:10px;line-height:1.45}.lvzz-W_noticeError{color:var(--dsw-alias-state-error-primary)}.lvzz-W_noticeWarn{color:var(--dsw-alias-state-warn-primary)}.lvzz-W_noticeHint{color:var(--dsw-alias-label-tertiary)}.lvzz-W_confirmDesc{font:var(--dsw-font-s-14);color:var(--dsw-alias-label-primary);margin:0}.lvzz-W_confirmDesc[data-danger=true]{color:var(--dsw-alias-label-primary)}.lvzz-W_statusBadge{font:var(--dsw-font-xxxs-strong-11);font-family:var(--ds-font-family-code,monospace);color:var(--dsw-alias-label-secondary);border-radius:2px;flex:none;padding:0 4px}.lvzz-W_statusBadge[data-tone=modified]{color:var(--dsw-alias-state-warn-primary)}.lvzz-W_statusBadge[data-tone=added],.lvzz-W_statusBadge[data-tone=untracked]{color:var(--dsw-alias-state-success-primary)}.lvzz-W_statusBadge[data-tone=deleted]{color:var(--dsw-alias-state-error-primary)}.lvzz-W_statusBadge[data-tone=renamed]{color:var(--dsw-alias-state-business-primary)}.lvzz-W_statusBadge[data-tone=conflict]{color:var(--dsw-alias-state-error-primary)}.lvzz-W_statusBadge[data-tone=read]{color:var(--dsw-alias-state-success-primary)}.lvzz-W_statusBadge[data-tone=write]{color:var(--dsw-alias-state-business-primary)}.lvzz-W_statusBadge[data-tone=edit]{color:var(--dsw-alias-state-warn-primary)}.lvzz-W_statusBadge[data-tone=neutral]{color:var(--dsw-alias-label-tertiary)}";
|
|
7463
|
+
const tagId$12 = "@sparkelf/dsh-knowledge-base/kit.module.css";
|
|
7464
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$12) + "]") === null) {
|
|
7448
7465
|
const tag = document.createElement("style");
|
|
7449
7466
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
7450
|
-
tag.dataset.pluginCss = tagId$
|
|
7451
|
-
tag.textContent = css$
|
|
7467
|
+
tag.dataset.pluginCss = tagId$12;
|
|
7468
|
+
tag.textContent = css$12;
|
|
7452
7469
|
document.head.appendChild(tag);
|
|
7453
7470
|
}
|
|
7454
7471
|
var kit_module_css_default = {
|
|
7455
|
-
"iconButtonActive": "lvzz-W_iconButtonActive",
|
|
7456
|
-
"iconButtonSm": "lvzz-W_iconButtonSm",
|
|
7457
|
-
"noticeWarn": "lvzz-W_noticeWarn",
|
|
7458
|
-
"noticeError": "lvzz-W_noticeError",
|
|
7459
|
-
"noticePage": "lvzz-W_noticePage",
|
|
7460
|
-
"noticeWell": "lvzz-W_noticeWell",
|
|
7461
|
-
"confirmDesc": "lvzz-W_confirmDesc",
|
|
7462
|
-
"sectionLabel": "lvzz-W_sectionLabel",
|
|
7463
7472
|
"noticeHint": "lvzz-W_noticeHint",
|
|
7464
|
-
"sectionAction": "lvzz-W_sectionAction",
|
|
7465
|
-
"chipActive": "lvzz-W_chipActive",
|
|
7466
|
-
"iconButton": "lvzz-W_iconButton",
|
|
7467
|
-
"iconButtonDanger": "lvzz-W_iconButtonDanger",
|
|
7468
|
-
"chipCount": "lvzz-W_chipCount",
|
|
7469
7473
|
"iconButtonMd": "lvzz-W_iconButtonMd",
|
|
7474
|
+
"confirmDesc": "lvzz-W_confirmDesc",
|
|
7475
|
+
"statusBadge": "lvzz-W_statusBadge",
|
|
7470
7476
|
"notice": "lvzz-W_notice",
|
|
7477
|
+
"noticeWell": "lvzz-W_noticeWell",
|
|
7471
7478
|
"chip": "lvzz-W_chip",
|
|
7479
|
+
"noticePage": "lvzz-W_noticePage",
|
|
7480
|
+
"iconButton": "lvzz-W_iconButton",
|
|
7472
7481
|
"chipLabel": "lvzz-W_chipLabel",
|
|
7473
|
-
"
|
|
7482
|
+
"iconButtonSm": "lvzz-W_iconButtonSm",
|
|
7483
|
+
"sectionAction": "lvzz-W_sectionAction",
|
|
7474
7484
|
"noticeInline": "lvzz-W_noticeInline",
|
|
7475
|
-
"
|
|
7476
|
-
"
|
|
7485
|
+
"iconButtonDanger": "lvzz-W_iconButtonDanger",
|
|
7486
|
+
"noticeWarn": "lvzz-W_noticeWarn",
|
|
7487
|
+
"iconButtonActive": "lvzz-W_iconButtonActive",
|
|
7488
|
+
"sectionLabel": "lvzz-W_sectionLabel",
|
|
7489
|
+
"sectionCount": "lvzz-W_sectionCount",
|
|
7490
|
+
"chipActive": "lvzz-W_chipActive",
|
|
7491
|
+
"sectionHeader": "lvzz-W_sectionHeader",
|
|
7492
|
+
"chipCount": "lvzz-W_chipCount",
|
|
7493
|
+
"noticeError": "lvzz-W_noticeError"
|
|
7477
7494
|
};
|
|
7478
7495
|
//#endregion
|
|
7479
7496
|
//#region ../../../DSH-better-sidebar/src/client/ui/kit.tsx
|
|
@@ -8276,241 +8293,257 @@ window.__ModuleLoader__.load({
|
|
|
8276
8293
|
}
|
|
8277
8294
|
//#endregion
|
|
8278
8295
|
//#region \0dsh-css:/root/projects/DSH-better-sidebar/src/client/sidebar.module.css.mjs
|
|
8279
|
-
const css$8 = "[data-dsh-panel-host]{z-index:25;pointer-events:none;height:100vh;position:fixed;inset:0;overflow:clip}html[data-platform] body>[data-dsh-better-sidebar],[data-dsh-panel-host]{-webkit-app-region:initial!important}[data-dsh-panel-host]>*{-webkit-app-region:no-drag}[data-dockkit-float-resize]{z-index:2}[data-dsh-panel-host][data-dsh-panel-host-degraded]{position:absolute;top:0;left:0}.s56VVa_dockFallback{z-index:40;align-items:center;gap:2px;display:inline-flex;position:fixed}.s56VVa_toggleButton{width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;transition:background var(--ds-transition-duration-slow) var(--ds-ease-in-out), color var(--ds-transition-duration-slow) var(--ds-ease-in-out);background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;display:flex}.s56VVa_toggleButton:hover:not(:disabled):not([aria-disabled=true]){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_toggleButton:disabled,.s56VVa_toggleButton[aria-disabled=true]{opacity:.4;cursor:default}.s56VVa_panelBody{flex:1;min-width:0;min-height:0;display:flex}.s56VVa_bottomPanel{z-index:40;background:var(--dsw-alias-bg-layer-1);border-top:1px solid var(--dsw-alias-border-l2);pointer-events:auto;padding-bottom:env(safe-area-inset-bottom);transition:transform var(--ds-transition-duration-slow) var(--ds-ease-in-out), height var(--ds-transition-duration-slow) var(--ds-ease-in-out);flex-direction:column;display:flex;position:absolute;bottom:0}.s56VVa_bottomPanelHidden{pointer-events:none;visibility:hidden;transition:transform var(--ds-transition-duration-slow) var(--ds-ease-in-out), height var(--ds-transition-duration-slow) var(--ds-ease-in-out), visibility 0s linear var(--ds-transition-duration-slow);transform:translateY(102%)}.s56VVa_bottomPanel[data-dragging]{transition:none}.s56VVa_bottomPanel{contain:layout style}body[data-dsh-sidebar-dragging] .s56VVa_panel,body[data-dsh-sidebar-dragging] .s56VVa_bottomPanel{will-change:transform}.s56VVa_bottomResize{cursor:row-resize;z-index:2;touch-action:none;height:8px;position:absolute;top:-4px;left:0;right:0}.s56VVa_bottomResizeActive{background:var(--dsw-alias-interactive-bg-hover-accent)}.s56VVa_bottomClose{z-index:4;width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:3px;right:6px}.s56VVa_bottomClose:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_bottomPanel .s56VVa_tabBar{padding-right:40px}.s56VVa_toggleButton,.s56VVa_tabBar{-webkit-app-region:no-drag}.s56VVa_iconButton{width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.s56VVa_iconButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_iconButton:disabled{opacity:.4;cursor:default}.s56VVa_workbench,.s56VVa_split{flex:1;min-width:0;min-height:0;display:flex}.s56VVa_splitRow{flex-direction:row}.s56VVa_splitCol{flex-direction:column}.s56VVa_splitChild{display:flex;position:relative;overflow:hidden}.s56VVa_divider{z-index:3;touch-action:none;flex:none;position:relative}.s56VVa_dividerRow:after,.s56VVa_dividerCol:after{content:\"\";background:var(--dsw-alias-border-l2);transition:background var(--ds-transition-duration-slow) var(--ds-ease-in-out);position:absolute}.s56VVa_dividerRow{cursor:col-resize;width:7px;margin:0 -2px}.s56VVa_dividerRow:after{width:1px;top:0;bottom:0;left:50%;transform:translate(-50%)}.s56VVa_dividerCol{cursor:row-resize;height:7px;margin:-2px 0}.s56VVa_dividerCol:after{height:1px;top:50%;left:0;right:0;transform:translateY(-50%)}.s56VVa_divider:hover:after,.s56VVa_dividerActive:after{background:var(--dsw-alias-interactive-bg-hover-accent)}.s56VVa_pane{background:var(--dsw-alias-bg-base);flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative}.s56VVa_paneDrop{outline:1px solid var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-1px}.s56VVa_dropOverlay{z-index:6;pointer-events:none;background:var(--dsw-alias-interactive-bg-hover-accent);opacity:.5;position:absolute}.s56VVa_dropLeft{width:25%;top:0;bottom:0;left:0}.s56VVa_dropRight{width:25%;top:0;bottom:0;right:0}.s56VVa_dropUp{height:25%;top:0;left:0;right:0}.s56VVa_dropDown{height:25%;bottom:0;left:0;right:0}.s56VVa_dropCenter{outline:2px dashed var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-2px;background:0 0;inset:25%}.s56VVa_paneContent{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.s56VVa_chipIcon{flex:none;align-items:center;margin-right:6px;display:inline-flex}.s56VVa_chipUnread{background:var(--dsw-alias-danger);vertical-align:middle;border-radius:50%;width:6px;height:6px;margin-left:6px;display:inline-block}.s56VVa_tabUnreadDot{background:var(--dsw-alias-danger);border-radius:50%;flex:none;width:7px;height:7px}.s56VVa_paneTab{flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_paneTabHidden{display:none}.s56VVa_paneEmptyCards{flex:1;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));align-content:start;justify-items:stretch;gap:12px;width:100%;min-height:0;padding:12px;display:grid;overflow:hidden}.s56VVa_paneCard{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);background:var(--dsw-alias-bg-layer-1);min-width:0;min-height:56px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-strong-14);cursor:pointer;text-align:left;border-radius:24px;flex-direction:row;justify-content:flex-start;align-items:center;gap:14px;padding:14px 20px;display:flex}.s56VVa_paneCard>svg{color:var(--dsw-alias-label-secondary);flex:none}.s56VVa_paneCard:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l4)}.s56VVa_paneCard:disabled{opacity:.45;cursor:default}.s56VVa_tabBar{border-bottom:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);flex:none;align-items:stretch;height:34px;display:flex}.s56VVa_tabBarDrop{outline:1px dashed var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-1px}.s56VVa_tabList{scrollbar-width:none;flex:1;min-width:0;display:flex;overflow-x:auto}.s56VVa_tabList::-webkit-scrollbar{display:none}.s56VVa_tab{min-width:96px;max-width:160px;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-secondary);border-right:1px solid var(--dsw-alias-border-l1);cursor:pointer;user-select:none;background:0 0;flex:none;align-items:center;gap:4px;padding:0 4px 0 10px;display:flex}.s56VVa_tab:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_tabActive{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-active)}.s56VVa_tabTitle{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;display:block;overflow:hidden}.s56VVa_tabBadge{min-width:16px;height:15px;font:var(--dsw-font-xxxs-strong-11);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-brand-primary);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 4px;display:inline-flex}.s56VVa_tabClose{width:18px;height:18px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:4px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.s56VVa_tabClose:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_tabBarPlus{background:var(--dsw-alias-bg-layer-1);width:22px;height:22px;color:var(--dsw-alias-label-tertiary);cursor:pointer;border:none;border-radius:5px;flex:none;justify-content:center;align-self:center;align-items:center;margin:0 6px;padding:0;display:inline-flex;position:sticky;right:0}.s56VVa_tabBarPlus:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_tabBarRightActions{flex:0 auto;justify-content:flex-end;align-items:center;gap:2px;min-width:0;padding-right:4px;display:flex;overflow:hidden}.s56VVa_explorer{flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_explorerHeader{flex:none;justify-content:space-between;align-items:center;gap:8px;height:36px;padding:0 8px 0 12px;display:flex}.s56VVa_explorerRoot{font:var(--dsw-font-s-14);color:var(--dsw-alias-label-secondary);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.s56VVa_explorerBody{flex:1;min-height:0;padding:4px 8px 8px;overflow:hidden auto}.s56VVa_explorerRow{box-sizing:border-box;width:100%;max-width:100%;height:28px;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-primary);text-align:left;cursor:pointer;white-space:nowrap;animation:s56VVa_dsh-row-in .15s var(--ds-ease-in-out);background:0 0;border:none;border-radius:4px;align-items:center;gap:6px;padding:0 8px;display:flex;position:relative}.s56VVa_explorerRow>svg{flex:none;width:14px;height:14px}.s56VVa_explorerRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_explorerRowSelected{background:var(--dsw-alias-interactive-bg-active)}.s56VVa_explorerRowSelected:before{content:\"\";background:var(--dsw-alias-state-business-primary);border-radius:1px;width:2px;position:absolute;top:4px;bottom:4px;left:0}.s56VVa_explorerGitName[data-git-tone=modified]{color:var(--dsw-alias-state-warn-primary)}.s56VVa_explorerGitName[data-git-tone=added],.s56VVa_explorerGitName[data-git-tone=untracked]{color:var(--dsw-alias-state-success-primary)}.s56VVa_explorerGitName[data-git-tone=deleted]{color:var(--dsw-alias-state-error-primary)}.s56VVa_explorerGitName[data-git-tone=renamed]{color:var(--dsw-alias-state-business-primary)}.s56VVa_explorerGitName[data-git-tone=copied]{color:var(--dsw-alias-state-success-primary)}.s56VVa_explorerGitName[data-git-tone=conflict]{color:var(--dsw-alias-state-error-primary)}.s56VVa_explorerDirChanged{color:var(--dsw-alias-state-business-primary)}.s56VVa_explorerRowRevealed{background:var(--dsw-alias-state-business-tertiary)}.s56VVa_explorerRowRevealed+.s56VVa_explorerRowRevealed{border-top-left-radius:0;border-top-right-radius:0}.s56VVa_explorerRowRevealed:has(+.s56VVa_explorerRowRevealed){border-bottom-right-radius:0;border-bottom-left-radius:0}.s56VVa_explorerDir{font:var(--dsw-font-xxs-strong-12)}.s56VVa_explorerHidden{opacity:.45}.s56VVa_explorerSymlink{color:var(--dsw-alias-label-tertiary);flex:none}.s56VVa_explorerBroken .s56VVa_explorerName{color:var(--dsw-alias-state-error-primary)}.s56VVa_explorerName{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.s56VVa_explorerRenaming{cursor:text}.s56VVa_explorerRenameInput{box-sizing:border-box;border:1px solid var(--dsw-alias-state-business-primary);background:var(--dsw-alias-bg-layer-1);min-width:0;height:22px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);border-radius:3px;flex:auto;padding:0 6px}.s56VVa_explorerRenameInput:focus{border-color:var(--dsw-alias-state-business-primary);outline:none}.s56VVa_explorerActionError{box-sizing:border-box;border:1px solid var(--dsw-alias-state-error-primary);background:var(--dsw-alias-bg-layer-1);border-radius:8px;align-items:flex-start;gap:6px;width:100%;margin-bottom:4px;padding:6px 8px;display:flex}.s56VVa_explorerActionErrorText{overflow-wrap:anywhere;min-width:0;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);flex:auto}.s56VVa_explorerSelectionBar{z-index:1;box-sizing:border-box;background:var(--dsw-alias-bg-layer-2);border-radius:4px;align-items:center;gap:6px;width:100%;min-height:28px;margin-top:4px;padding:2px 8px;display:flex;position:sticky;bottom:0}.s56VVa_explorerSelectionText{text-overflow:ellipsis;white-space:nowrap;min-width:0;font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-secondary);flex:auto;overflow:hidden}.s56VVa_explorerSelectionActions{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:4px;max-width:72%;display:flex}.s56VVa_explorerAppIcon{object-fit:contain;width:14px;height:14px;display:block}.s56VVa_explorerHiddenPane{display:none}.s56VVa_explorerTime{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;margin-left:auto;padding-left:8px}.s56VVa_explorerRow:hover .s56VVa_explorerTime,.s56VVa_explorerRow:focus-within .s56VVa_explorerTime{margin-left:0}.s56VVa_explorerRef,.s56VVa_explorerCopied{margin-left:auto}.s56VVa_explorerRef{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);height:20px;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-strong-11);cursor:pointer;border-radius:999px;flex:none;align-items:center;padding:0 8px;display:none}.s56VVa_explorerRef:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_explorerRow:hover .s56VVa_explorerRef,.s56VVa_explorerRow:focus-within .s56VVa_explorerRef{display:inline-flex}.s56VVa_explorerCopied{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary);flex:none}.s56VVa_explorerError{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);cursor:default}@keyframes s56VVa_dsh-row-in{0%{opacity:0}}.s56VVa_explorerEmpty{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);text-align:center;padding:16px}.s56VVa_explorerRowDropTarget{background:var(--dsw-alias-interactive-bg-hover-accent);outline:1px dashed var(--dsw-alias-state-business-primary);outline-offset:-1px}.s56VVa_uploadDropMask{z-index:1001;pointer-events:none;background:color-mix(in srgb, var(--dsw-alias-bg-base) 62%, transparent);animation:s56VVa_dsh-row-in .15s var(--ds-ease-in-out);position:fixed;inset:0}.s56VVa_uploadDropZone{z-index:1002;pointer-events:none;border:2px dashed var(--dsw-alias-border-l2);background:color-mix(in srgb, var(--dsw-alias-state-business-primary) 4%, transparent);animation:s56VVa_dsh-row-in .15s var(--ds-ease-in-out);border-radius:8px;justify-content:center;align-items:flex-start;padding:12px;display:flex;position:fixed}.s56VVa_uploadDropHero{flex-direction:column;align-items:center;gap:8px;max-width:100%;padding-top:8px;display:flex}.s56VVa_uploadDropArtPrimary{color:var(--dsw-alias-state-business-primary)}.s56VVa_uploadDropArtAccent{color:var(--dsw-alias-state-business-tertiary)}.s56VVa_uploadDropArtCut{color:var(--dsw-alias-bg-layer-1)}.s56VVa_uploadDropZonePill{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);max-width:100%;height:28px;box-shadow:var(--dsw-shadow-lv2);color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxxs-11);border-radius:999px;align-items:center;gap:6px;padding:0 12px;display:flex}.s56VVa_uploadDropZoneText{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.s56VVa_uploadDropChatHint{z-index:1003;pointer-events:none;animation:s56VVa_dsh-row-in .15s var(--ds-ease-in-out);justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;top:0;bottom:0;left:0}.s56VVa_uploadDropChatCard{text-align:center;max-width:100%;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);flex-direction:column;align-items:center;gap:10px;display:flex}.s56VVa_uploadOverlay{z-index:30;background:var(--dsw-alias-bg-mask-1);backdrop-filter:var(--dsw-mask-blur);animation:s56VVa_dsh-row-in .15s var(--ds-ease-in-out);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.s56VVa_uploadOverlayCard{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);min-width:240px;max-width:min(420px,100% - 48px);box-shadow:var(--dsw-shadow-lv3);border-radius:8px;flex-direction:column;gap:10px;padding:16px;display:flex}.s56VVa_uploadOverlayTitle{font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-primary);align-items:center;gap:6px;display:flex}.s56VVa_uploadOverlayTitle>svg{flex:none}.s56VVa_uploadOverlayTitle>span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.s56VVa_uploadOverlayProgress{background:var(--dsw-alias-border-l2);border-radius:3px;height:6px;overflow:hidden}.s56VVa_uploadOverlayProgressFill{background:var(--dsw-alias-interactive-bg-hover-accent);height:100%;transition:width .15s var(--ds-ease-in-out);border-radius:3px}.s56VVa_uploadOverlayStatus{min-height:1em;font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-tertiary);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.s56VVa_uploadOverlayCancel{border:1px solid var(--dsw-alias-border-l2);height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);cursor:pointer;background:0 0;border-radius:4px;align-self:flex-end;padding:0 12px}.s56VVa_uploadOverlayCancel:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l2)}.s56VVa_uploadOverlayCancel:disabled{opacity:.4;cursor:default}.s56VVa_editor{flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_editorHeader{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;align-items:center;gap:6px;padding:6px 8px;display:flex}.s56VVa_editorTitle{min-width:0;font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-secondary);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.s56VVa_editorPathInput{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);min-width:0;height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);border-radius:6px;flex:1;padding:0 10px}.s56VVa_editorPathInput:focus{border-color:var(--dsw-alias-border-l2);outline:none}.s56VVa_editorTreeToggleActive{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-active)}.s56VVa_editorBody{flex:1;min-height:0;display:flex}.s56VVa_editorMain{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.s56VVa_editorTreeDock{border-left:1px solid var(--dsw-alias-border-l1);flex:none;min-height:0;display:flex;position:relative}.s56VVa_editorTreeResize{cursor:col-resize;touch-action:none;z-index:3;width:6px;position:absolute;top:0;bottom:0;left:0}.s56VVa_editorTreeResize:hover{background:var(--dsw-alias-border-l2)}.s56VVa_editorTreePanel{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative}.s56VVa_editorTreePanelFull{flex:1}.s56VVa_editorTreeSearch{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;align-items:center;gap:6px;padding:6px 8px;display:flex}.s56VVa_editorSearchInput{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);min-width:0;height:26px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);border-radius:6px;flex:1;padding:0 10px}.s56VVa_editorSearchInput:focus{border-color:var(--dsw-alias-border-l2);outline:none}.s56VVa_editorSearchHint{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);padding:8px 12px}.s56VVa_editorSearchResult{box-sizing:border-box;width:100%;height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;gap:6px;padding:0 8px;line-height:28px;display:flex;overflow:hidden}.s56VVa_editorSearchResultDir{color:var(--dsw-alias-label-secondary)}.s56VVa_editorSearchResultLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.s56VVa_editorSearchResult:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_editorStatus{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary)}.s56VVa_editorStatusError{color:var(--dsw-alias-state-error-primary)}.s56VVa_dirtyDot{background:var(--dsw-alias-state-warn-primary);border-radius:50%;flex:none;width:7px;height:7px}.s56VVa_editorPlaceholder{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);text-align:center;flex:1;justify-content:center;align-items:center;padding:16px;display:flex}.s56VVa_orphanedType{opacity:.7;overflow-wrap:anywhere;margin-top:8px;font-size:12px;display:block}.s56VVa_editorBinary{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;padding:24px 16px;display:flex}.s56VVa_editorBinaryNotice{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary)}.s56VVa_editorDownloadLink{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);cursor:pointer;transition:background var(--ds-transition-duration-slow) var(--ds-ease-in-out), border-color var(--ds-transition-duration-slow) var(--ds-ease-in-out);border-radius:6px;align-items:center;gap:6px;padding:6px 14px;text-decoration:none;display:inline-flex}.s56VVa_editorDownloadLink:hover{background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l2)}.s56VVa_editorError{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);padding:12px 16px}.s56VVa_editorBanner{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-state-warn-label);background:var(--dsw-alias-state-warn-tertiary);flex:none;padding:4px 8px}.s56VVa_editorBannerAction{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;margin-left:8px;padding:0;text-decoration:underline}.s56VVa_editorGitAdd{color:var(--dsw-alias-state-success-primary)}.s56VVa_editorGitMod{color:var(--dsw-alias-state-warn-primary)}.s56VVa_editorGitDel{color:var(--dsw-alias-state-error-primary)}.s56VVa_editorGitBarGutter{width:2px;min-width:2px}.s56VVa_editorGitBar,.s56VVa_editorGitBarSpacer{width:2px;height:100%}.s56VVa_editorGitBarAdd{background:var(--dsw-alias-state-success-primary)}.s56VVa_editorGitBarMod{background:var(--dsw-alias-state-warn-primary)}.s56VVa_editorGitBarDel{background:var(--dsw-alias-state-error-primary)}.s56VVa_editorBlame{max-width:420px;font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-primary);padding:4px 8px}.s56VVa_editorBlameHead{color:var(--dsw-alias-label-secondary)}.s56VVa_editorBlameSummary{color:var(--dsw-alias-label-primary);white-space:pre-wrap;overflow-wrap:anywhere;margin-top:2px}.s56VVa_sandboxStatus{font:var(--dsw-font-xxxs-11);flex:none;align-items:center;gap:8px;padding:4px 10px;display:flex}.s56VVa_sandboxStatusOn{color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-bg-layer-1);border-bottom:1px solid var(--dsw-alias-border-l1)}.s56VVa_sandboxStatusOff{color:var(--dsw-alias-state-error-primary);background:color-mix(in srgb, var(--dsw-alias-state-error-primary) 10%, transparent);border-bottom:1px solid color-mix(in srgb, var(--dsw-alias-state-error-primary) 45%, transparent)}.s56VVa_sandboxDot{background:var(--dsw-alias-state-success-primary);border-radius:50%;flex:none;width:6px;height:6px}.s56VVa_sandboxStatusOff .s56VVa_sandboxDot{background:var(--dsw-alias-state-error-primary)}.s56VVa_sandboxStatusText{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.s56VVa_sandboxAction{border:1px solid var(--dsw-alias-border-l2);font:inherit;color:inherit;cursor:pointer;background:0 0;border-radius:6px;flex:none;padding:2px 8px}.s56VVa_sandboxAction:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_editorHtml{background:var(--dsw-alias-bg-base);border:none;flex:1;width:100%;min-height:0}.s56VVa_browser{flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_browserBar{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;align-items:center;gap:4px;padding:6px 8px;display:flex}.s56VVa_browserInput{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);min-width:0;height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);border-radius:6px;flex:1;padding:0 10px}.s56VVa_browserInput:focus{border-color:var(--dsw-alias-border-l2);outline:none}.s56VVa_browserMessage{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-state-warn-label);background:var(--dsw-alias-state-warn-tertiary);flex:none;padding:4px 12px}.s56VVa_browserFrame{background:var(--dsw-alias-bg-base);border:none;flex:1;width:100%;min-height:0}.s56VVa_browserStart{text-align:center;min-height:0;font:var(--dsw-font-xs-13);color:var(--dsw-alias-label-tertiary);flex:1;justify-content:center;align-items:center;padding:20px;display:flex}.s56VVa_browserBlocked{text-align:center;min-height:0;color:var(--dsw-alias-state-warn-primary);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:6px;padding:24px;display:flex}.s56VVa_browserBlockedTitle{font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-primary)}.s56VVa_browserBlockedDesc{max-width:280px;font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-secondary)}.s56VVa_browserBlockedActions{gap:8px;margin-top:6px;display:flex}.s56VVa_browserBlockedButton{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxxs-11);cursor:pointer;border-radius:6px;padding:4px 12px}.s56VVa_browserBlockedButton:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_editorCm{background:0 0;flex:1;min-height:0;overflow:hidden}.s56VVa_editorCmHidden{display:none}.s56VVa_editorCm .cm-editor{height:100%}.s56VVa_editorCm .cm-scroller{padding:12px 16px}.s56VVa_editorCm .cm-editor.cm-focused{outline:none}.s56VVa_editorModeToggle{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:6px;flex:none;align-items:center;gap:2px;padding:2px;display:inline-flex}.s56VVa_editorModeButton{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px 8px}.s56VVa_editorModeButton:hover{color:var(--dsw-alias-label-primary)}.s56VVa_editorModeActive{background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-primary)}.s56VVa_editorMd{min-height:0;font:var(--dsw-font-xs-13);flex:1;padding:12px 16px;overflow-y:auto}.s56VVa_editorMd .md-code-block:not([data-mermaid-processed])>div:first-child{z-index:auto;position:static}.s56VVa_mermaidWrap{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:6px;margin:6px 0;overflow:hidden}.s56VVa_mermaidHeader{border-bottom:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);justify-content:space-between;align-items:center;gap:6px;padding:4px 8px;display:flex}.s56VVa_mermaidInfo{font:var(--dsw-font-xxxs-strong-11);color:var(--dsw-alias-label-tertiary)}.s56VVa_mermaidCopy{height:20px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;gap:4px;padding:0 6px;display:inline-flex}.s56VVa_mermaidCopy:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_mermaidBody{cursor:zoom-in;justify-content:center;padding:10px;display:flex;overflow:auto}.s56VVa_mermaidBody svg{max-width:100%;height:auto}.s56VVa_mermaidError{border-bottom:1px solid var(--dsw-alias-border-l1);color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxxs-11);padding:6px 10px}.s56VVa_mermaidCode{font:var(--dsw-font-xxxs-11);margin:0;padding:8px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.s56VVa_mermaidMarkdown .md-code-block[data-mermaid-processed]{display:contents}.s56VVa_mermaidModal{z-index:1000;background:var(--dsw-alias-bg-mask-1);backdrop-filter:blur(2px);flex-direction:column;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;-webkit-app-region:initial!important}.s56VVa_mermaidModalToolbar{z-index:10;gap:8px;display:flex;position:absolute;top:16px;right:16px}.s56VVa_mermaidModalButton{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);width:36px;height:36px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-strong-13);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.s56VVa_mermaidModalButton:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_mermaidModalStage{justify-content:center;align-items:center;width:90vw;height:80vh;display:flex;position:relative;overflow:hidden}.s56VVa_mermaidModalStage svg{cursor:grab;transform-origin:50%;user-select:none;-webkit-user-drag:none;background:var(--dsw-alias-bg-layer-1);border-radius:12px;max-width:none;max-height:none;padding:16px}.s56VVa_mermaidModalStage svg:active{cursor:grabbing}.s56VVa_mermaidModalHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);pointer-events:none;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.s56VVa_selectionPopup{z-index:60;border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-specific-menu);height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxxs-strong-11);white-space:nowrap;cursor:pointer;border-radius:6px;align-items:center;padding:0 10px;display:inline-flex;position:fixed;transform:translate(-50%,calc(-100% - 8px))}.s56VVa_selectionPopup:hover{background:var(--dsw-alias-interactive-bg-hover-solid)}.s56VVa_editorPdf{background:var(--dsw-alias-bg-base);flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_editorPdfToolbar{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;justify-content:flex-end;padding:6px 8px;display:flex}.s56VVa_editorPdfStage{flex:1;min-height:0;display:flex;position:relative}.s56VVa_editorPdfFrame{background:var(--dsw-alias-bg-base);border:none;flex:1;width:100%;min-height:0}.s56VVa_editorPdfFrameBlocked{pointer-events:none}.s56VVa_editorPdfDragShield{z-index:4;pointer-events:none;background:0 0;position:absolute;inset:0}.s56VVa_editorPdfDragShieldActive{pointer-events:auto}body[data-dsh-tab-dragging] .s56VVa_editorPdfFrame{pointer-events:none!important}body[data-dsh-tab-dragging] .s56VVa_editorPdfDragShield{pointer-events:auto!important}.s56VVa_boundaryError{z-index:50;background:var(--dsw-alias-bg-layer-1);border-left:1px solid var(--dsw-alias-border-l2);font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);flex-direction:column;align-items:flex-start;gap:8px;padding:16px;display:flex;position:fixed;top:0;bottom:0;right:0;overflow:auto}.s56VVa_terminalRetry{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-strong-11);cursor:pointer;border-radius:999px;flex:none;padding:1px 8px}.s56VVa_terminalRetry:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_tabBoundaryError{min-height:0;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);flex-direction:column;flex:1;align-items:flex-start;gap:8px;padding:12px 16px;display:flex;overflow:auto}.s56VVa_nativeTabHost{flex-direction:column;height:100%;min-height:0;display:flex}.s56VVa_gitEmpty{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);padding:4px 12px 8px}.s56VVa_gitPlaceholder{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);text-align:center;padding:16px}.s56VVa_gitError{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);white-space:pre-wrap;padding:8px 12px}.s56VVa_gitDiffTab{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden auto}.s56VVa_gitDiffTabHeader{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;align-items:center;gap:8px;height:36px;padding:0 8px 0 12px;display:flex}.s56VVa_gitDiffTabTitle{text-overflow:ellipsis;white-space:nowrap;min-width:0;font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-primary);flex:1;overflow:hidden}.s56VVa_toggleButton:focus-visible,.s56VVa_bottomClose:focus-visible,.s56VVa_iconButton:focus-visible,.s56VVa_tab:focus-visible,.s56VVa_tabClose:focus-visible,.s56VVa_tabBarPlus:focus-visible,.s56VVa_paneCard:focus-visible,.s56VVa_explorerRow:focus-visible,.s56VVa_explorerRef:focus-visible,.s56VVa_terminalRetry:focus-visible,.s56VVa_editorModeButton:focus-visible,.s56VVa_editorDownloadLink:focus-visible,.s56VVa_editorPptxButton:focus-visible,.s56VVa_editorDocxZoomRange:focus-visible{outline:2px solid var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-1px}@media (prefers-reduced-motion:reduce){.s56VVa_bottomPanel,.s56VVa_bottomPanelHidden,.s56VVa_toggleButton,.s56VVa_tab,.s56VVa_tabBarPlus,.s56VVa_paneCard,.s56VVa_explorerRow,.s56VVa_divider,.s56VVa_dividerRow:after,.s56VVa_dividerCol:after{transition:none;animation:none}}@media (width<=767px){.s56VVa_tab{min-width:48px;max-width:128px}}.s56VVa_openWithLabel{align-items:center;gap:8px;width:100%;min-width:0;display:flex}.s56VVa_openWithName{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.s56VVa_openWithChevron{color:var(--dsw-alias-label-tertiary);flex:none}.s56VVa_openWithPin{width:16px;height:16px;color:var(--dsw-alias-label-tertiary);cursor:pointer;border-radius:5px;flex:none;justify-content:center;align-items:center;display:inline-flex}.s56VVa_openWithPin:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_openWithPinActive{color:var(--dsw-alias-state-business-primary)}.s56VVa_editorHtmlBlock{margin:8px 0}.s56VVa_editorHtmlBlock img,.s56VVa_editorHtmlBlock video{max-width:100%}.s56VVa_editorHtmlBlock details{margin:4px 0;padding:4px 0}.s56VVa_editorHtmlBlock summary,.s56VVa_editorMd details>summary{cursor:pointer}.s56VVa_tocBar{z-index:7;pointer-events:none;justify-content:flex-end;height:0;display:flex;position:sticky;top:0}.s56VVa_tocButton{pointer-events:auto;border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);width:26px;height:26px;color:var(--dsw-alias-label-secondary);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;margin:4px 2px 0 0;padding:0;display:inline-flex}.s56VVa_tocButton:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_tocPanel{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);width:min(300px,82%);max-height:60vh;box-shadow:var(--dsw-shadow-lv2);pointer-events:auto;border-radius:8px;flex-direction:column;padding:4px;display:flex;position:absolute;top:32px;right:2px;overflow-y:auto}.s56VVa_tocItem{min-width:0;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:baseline;gap:8px;padding:4px 8px;display:flex}.s56VVa_tocItem:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_tocItem[data-level=\"2\"]{padding-left:18px}.s56VVa_tocItem[data-level=\"3\"]{padding-left:28px}.s56VVa_tocItem[data-level=\"4\"]{padding-left:38px}.s56VVa_tocItem[data-level=\"5\"]{padding-left:48px}.s56VVa_tocItem[data-level=\"6\"]{padding-left:58px}.s56VVa_tocItemLevel{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary);flex:none}.s56VVa_tocItemText{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}@keyframes s56VVa_dsh-toc-flash{0%,60%{background:var(--dsw-alias-interactive-bg-hover)}to{background:0 0}}.s56VVa_tocFlash{border-radius:4px;animation:1.2s ease-out s56VVa_dsh-toc-flash}.s56VVa_largeFile{flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_largeFileNotice{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-state-warn-label);background:var(--dsw-alias-state-warn-tertiary);flex:none;align-items:baseline;gap:8px;padding:4px 8px;display:flex}.s56VVa_largeFileDownload{color:inherit;text-decoration:underline}.s56VVa_largeFileNoticeAction{font:inherit;color:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:4px;margin-left:auto;padding:0 6px}.s56VVa_largeFileNoticeAction:disabled{opacity:.5;cursor:default}.s56VVa_largeFileBody{flex:1;min-height:0;overflow:auto}.s56VVa_largeFileRecords{padding:4px 0}.s56VVa_largeFileList{margin:0;padding:0;list-style:none}.s56VVa_largeFileRecord{gap:8px;padding:2px 8px;display:flex}.s56VVa_largeFileRecordExpanded{background:var(--dsw-alias-bg-layer-1)}.s56VVa_largeFileRecordInvalid{color:var(--dsw-alias-state-error-primary)}.s56VVa_largeFileRecordNo{text-align:right;min-width:4ch;font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary);user-select:none;flex:none}.s56VVa_largeFileRecordBody{flex:1;min-width:0}.s56VVa_largeFileRecordSummary{text-align:left;width:100%;font:var(--ds-font-family-code);color:var(--dsw-alias-label-primary);white-space:pre;text-overflow:ellipsis;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px;display:block;overflow:hidden}.s56VVa_largeFileRecordSummary:disabled{cursor:default}.s56VVa_largeFileRecordRaw{font:var(--ds-font-family-code);white-space:pre-wrap;word-break:break-all;overflow-wrap:anywhere;margin:2px 0 0;font-size:12px}.s56VVa_largeFileRecordTree{font:var(--ds-font-family-code);margin-top:2px;font-size:12px}.s56VVa_largeFileLines{font:var(--ds-font-family-code);white-space:pre;padding:4px 0;font-size:12px}.s56VVa_largeFileLine{gap:8px;padding:0 8px;display:flex}.s56VVa_largeFileLineNo{text-align:right;min-width:5ch;color:var(--dsw-alias-label-tertiary);user-select:none;flex:none}.s56VVa_largeFileLineText{color:var(--dsw-alias-label-primary);flex:none}.s56VVa_largeFilePager{border-top:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);flex:none;align-items:center;gap:4px;padding:2px 8px;display:flex}.s56VVa_largeFilePageLabel{text-align:center;min-width:0;font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-secondary);white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.s56VVa_explorerMuted{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);cursor:default}[data-sidebar-right-guide]{grid-template-columns:repeat(auto-fill,minmax(96px,120px))!important;place-content:center!important;place-items:stretch stretch!important;gap:12px!important;padding:16px!important;display:grid!important;overflow:auto!important}[data-sidebar-right-guide]>div{aspect-ratio:1!important;flex:none!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:0!important;display:flex!important}[data-sidebar-right-guide]>div [data-sidebar-right-guide-entry]{box-sizing:border-box!important;text-align:center!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:8px!important;width:100%!important;height:100%!important;padding:12px!important}[data-sidebar-right-guide] kbd,[data-sidebar-right-guide] span:has(>kbd){display:none!important}[data-sidebar-right-guide]>div [data-sidebar-right-guide-entry]>span:last-child{flex:0 auto!important;align-items:center!important;width:100%!important;height:auto!important;min-height:0!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal]{position:relative!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] [class*=titleRow]{flex-flow:row!important;justify-content:center!important;align-items:center!important;gap:2px!important;height:20px!important;min-height:0!important;display:flex!important;position:static!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] [class*=menu],[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] [class*=trigger],[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] button:not([class*=main]){z-index:1!important;flex:0 0 20px!important;width:20px!important;height:20px!important;min-height:0!important;padding:0!important;position:static!important;top:auto!important;bottom:auto!important;right:auto!important;transform:none!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] [class*=title]{white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important}[data-sidebar-right-guide]>div [data-sidebar-right-guide-entry] span{white-space:normal!important;text-overflow:clip!important;min-width:0!important;max-width:100%!important;overflow:visible!important}[data-sidebar-right-guide]>span:first-child{grid-column:1/-1;justify-self:center;margin:4px 0 8px}@media (width<=640px){[data-sidebar-right-guide]{grid-template-columns:repeat(auto-fill,minmax(88px,108px))!important;padding:12px!important}}[data-sidebar-right-guide-entry=terminal]{box-sizing:border-box!important;flex-direction:row!important;justify-content:center!important;align-self:stretch!important;align-items:center!important;gap:6px!important;width:100%!important;height:100%!important;min-height:0!important;padding:8px!important;display:flex!important;overflow:hidden!important}[data-sidebar-right-guide-entry=terminal]>span{flex:0 auto!important}[data-sidebar-right-guide-entry=terminal] [class*=text]{flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:1px!important;min-width:0!important;display:flex!important}[data-sidebar-right-guide-entry=terminal] [class*=titleRow]{box-sizing:border-box!important;flex-flow:row!important;justify-content:center!important;align-items:center!important;gap:0!important;width:100%!important;height:18px!important;min-height:0!important;max-height:18px!important;padding:0 20px!important;display:flex!important;position:relative!important}[data-sidebar-right-guide-entry=terminal] [class*=title]{text-overflow:clip!important;white-space:nowrap!important;flex:none!important;max-width:none!important;font-size:12px!important;line-height:1.2!important;overflow:visible!important}[data-sidebar-right-guide-entry=terminal] [class*=trigger]{z-index:1!important;flex:0 0 16px!important;width:16px!important;min-width:16px!important;height:16px!important;min-height:16px!important;padding:0!important;position:absolute!important;top:50%!important;right:0!important;transform:translateY(-50%)!important}[data-sidebar-right-guide-entry=terminal] [class*=trigger] svg{width:12px!important;height:12px!important}[data-sidebar-right-guide-entry=terminal] [class*=description]{text-overflow:ellipsis!important;white-space:nowrap!important;max-width:100%!important;overflow:hidden!important}[data-sidebar-right-guide-entry]:not([data-sidebar-right-guide-entry=terminal]){justify-content:center!important;align-items:center!important}[data-sidebar-right-guide-entry]:not([data-sidebar-right-guide-entry=terminal])>span:last-child{flex-direction:column!important;justify-content:center!important;align-self:center!important;align-items:center!important;display:flex!important}[data-sidebar-right-guide-entry]:not([data-sidebar-right-guide-entry=terminal]){box-sizing:border-box!important;flex-direction:column!important;justify-content:center!important;align-self:stretch!important;align-items:center!important;width:100%!important;height:100%!important;display:flex!important}";
|
|
8280
|
-
const tagId$
|
|
8281
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
8296
|
+
const css$11 = "[data-dsh-panel-host]{z-index:25;pointer-events:none;height:100vh;position:fixed;inset:0;overflow:clip}html[data-platform] body>[data-dsh-better-sidebar],[data-dsh-panel-host]{-webkit-app-region:initial!important}[data-dsh-panel-host]>*{-webkit-app-region:no-drag}[data-dockkit-float-resize]{z-index:2}[data-dsh-panel-host][data-dsh-panel-host-degraded]{position:absolute;top:0;left:0}.s56VVa_dockFallback{z-index:40;align-items:center;gap:2px;display:inline-flex;position:fixed}.s56VVa_toggleButton{width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;transition:background var(--ds-transition-duration-slow) var(--ds-ease-in-out), color var(--ds-transition-duration-slow) var(--ds-ease-in-out);background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;display:flex}.s56VVa_toggleButton:hover:not(:disabled):not([aria-disabled=true]){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_toggleButton:disabled,.s56VVa_toggleButton[aria-disabled=true]{opacity:.4;cursor:default}.s56VVa_panelBody{flex:1;min-width:0;min-height:0;display:flex}.s56VVa_bottomPanel{z-index:40;background:var(--dsw-alias-bg-layer-1);border-top:1px solid var(--dsw-alias-border-l2);pointer-events:auto;padding-bottom:env(safe-area-inset-bottom);transition:transform var(--ds-transition-duration-slow) var(--ds-ease-in-out), height var(--ds-transition-duration-slow) var(--ds-ease-in-out);flex-direction:column;display:flex;position:absolute;bottom:0}.s56VVa_bottomPanelHidden{pointer-events:none;visibility:hidden;transition:transform var(--ds-transition-duration-slow) var(--ds-ease-in-out), height var(--ds-transition-duration-slow) var(--ds-ease-in-out), visibility 0s linear var(--ds-transition-duration-slow);transform:translateY(102%)}.s56VVa_bottomPanel[data-dragging]{transition:none}.s56VVa_bottomPanel{contain:layout style}body[data-dsh-sidebar-dragging] .s56VVa_panel,body[data-dsh-sidebar-dragging] .s56VVa_bottomPanel{will-change:transform}.s56VVa_bottomResize{cursor:row-resize;z-index:2;touch-action:none;height:8px;position:absolute;top:-4px;left:0;right:0}.s56VVa_bottomResizeActive{background:var(--dsw-alias-interactive-bg-hover-accent)}.s56VVa_bottomClose{z-index:4;width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:3px;right:6px}.s56VVa_bottomClose:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_bottomPanel .s56VVa_tabBar{padding-right:40px}.s56VVa_toggleButton,.s56VVa_tabBar{-webkit-app-region:no-drag}.s56VVa_iconButton{width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.s56VVa_iconButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_iconButton:disabled{opacity:.4;cursor:default}.s56VVa_workbench,.s56VVa_split{flex:1;min-width:0;min-height:0;display:flex}.s56VVa_splitRow{flex-direction:row}.s56VVa_splitCol{flex-direction:column}.s56VVa_splitChild{display:flex;position:relative;overflow:hidden}.s56VVa_divider{z-index:3;touch-action:none;flex:none;position:relative}.s56VVa_dividerRow:after,.s56VVa_dividerCol:after{content:\"\";background:var(--dsw-alias-border-l2);transition:background var(--ds-transition-duration-slow) var(--ds-ease-in-out);position:absolute}.s56VVa_dividerRow{cursor:col-resize;width:7px;margin:0 -2px}.s56VVa_dividerRow:after{width:1px;top:0;bottom:0;left:50%;transform:translate(-50%)}.s56VVa_dividerCol{cursor:row-resize;height:7px;margin:-2px 0}.s56VVa_dividerCol:after{height:1px;top:50%;left:0;right:0;transform:translateY(-50%)}.s56VVa_divider:hover:after,.s56VVa_dividerActive:after{background:var(--dsw-alias-interactive-bg-hover-accent)}.s56VVa_pane{background:var(--dsw-alias-bg-base);flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative}.s56VVa_paneDrop{outline:1px solid var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-1px}.s56VVa_dropOverlay{z-index:6;pointer-events:none;background:var(--dsw-alias-interactive-bg-hover-accent);opacity:.5;position:absolute}.s56VVa_dropLeft{width:25%;top:0;bottom:0;left:0}.s56VVa_dropRight{width:25%;top:0;bottom:0;right:0}.s56VVa_dropUp{height:25%;top:0;left:0;right:0}.s56VVa_dropDown{height:25%;bottom:0;left:0;right:0}.s56VVa_dropCenter{outline:2px dashed var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-2px;background:0 0;inset:25%}.s56VVa_paneContent{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.s56VVa_chipIcon{flex:none;align-items:center;margin-right:6px;display:inline-flex}.s56VVa_chipUnread{background:var(--dsw-alias-danger);vertical-align:middle;border-radius:50%;width:6px;height:6px;margin-left:6px;display:inline-block}.s56VVa_tabUnreadDot{background:var(--dsw-alias-danger);border-radius:50%;flex:none;width:7px;height:7px}.s56VVa_paneTab{flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_paneTabHidden{display:none}.s56VVa_paneEmptyCards{flex:1;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));align-content:start;justify-items:stretch;gap:12px;width:100%;min-height:0;padding:12px;display:grid;overflow:hidden}.s56VVa_paneCard{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);background:var(--dsw-alias-bg-layer-1);min-width:0;min-height:56px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-strong-14);cursor:pointer;text-align:left;border-radius:24px;flex-direction:row;justify-content:flex-start;align-items:center;gap:14px;padding:14px 20px;display:flex}.s56VVa_paneCard>svg{color:var(--dsw-alias-label-secondary);flex:none}.s56VVa_paneCard:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l4)}.s56VVa_paneCard:disabled{opacity:.45;cursor:default}.s56VVa_tabBar{border-bottom:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);flex:none;align-items:stretch;height:34px;display:flex}.s56VVa_tabBarDrop{outline:1px dashed var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-1px}.s56VVa_tabList{scrollbar-width:none;flex:1;min-width:0;display:flex;overflow-x:auto}.s56VVa_tabList::-webkit-scrollbar{display:none}.s56VVa_tab{min-width:96px;max-width:160px;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-secondary);border-right:1px solid var(--dsw-alias-border-l1);cursor:pointer;user-select:none;background:0 0;flex:none;align-items:center;gap:4px;padding:0 4px 0 10px;display:flex}.s56VVa_tab:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_tabActive{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-active)}.s56VVa_tabTitle{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;display:block;overflow:hidden}.s56VVa_tabBadge{min-width:16px;height:15px;font:var(--dsw-font-xxxs-strong-11);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-brand-primary);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 4px;display:inline-flex}.s56VVa_tabClose{width:18px;height:18px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:4px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.s56VVa_tabClose:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_tabBarPlus{background:var(--dsw-alias-bg-layer-1);width:22px;height:22px;color:var(--dsw-alias-label-tertiary);cursor:pointer;border:none;border-radius:5px;flex:none;justify-content:center;align-self:center;align-items:center;margin:0 6px;padding:0;display:inline-flex;position:sticky;right:0}.s56VVa_tabBarPlus:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_tabBarRightActions{flex:0 auto;justify-content:flex-end;align-items:center;gap:2px;min-width:0;padding-right:4px;display:flex;overflow:hidden}.s56VVa_explorer{flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_explorerHeader{flex:none;justify-content:space-between;align-items:center;gap:8px;height:36px;padding:0 8px 0 12px;display:flex}.s56VVa_explorerRoot{font:var(--dsw-font-s-14);color:var(--dsw-alias-label-secondary);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.s56VVa_explorerBody{flex:1;min-height:0;padding:4px 8px 8px;overflow:hidden auto}.s56VVa_explorerRow{box-sizing:border-box;width:100%;max-width:100%;height:28px;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-primary);text-align:left;cursor:pointer;white-space:nowrap;animation:s56VVa_dsh-row-in .15s var(--ds-ease-in-out);background:0 0;border:none;border-radius:4px;align-items:center;gap:6px;padding:0 8px;display:flex;position:relative}.s56VVa_explorerRow>svg{flex:none;width:14px;height:14px}.s56VVa_explorerRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_explorerRowSelected{background:var(--dsw-alias-interactive-bg-active)}.s56VVa_explorerRowSelected:before{content:\"\";background:var(--dsw-alias-state-business-primary);border-radius:1px;width:2px;position:absolute;top:4px;bottom:4px;left:0}.s56VVa_explorerGitName[data-git-tone=modified]{color:var(--dsw-alias-state-warn-primary)}.s56VVa_explorerGitName[data-git-tone=added],.s56VVa_explorerGitName[data-git-tone=untracked]{color:var(--dsw-alias-state-success-primary)}.s56VVa_explorerGitName[data-git-tone=deleted]{color:var(--dsw-alias-state-error-primary)}.s56VVa_explorerGitName[data-git-tone=renamed]{color:var(--dsw-alias-state-business-primary)}.s56VVa_explorerGitName[data-git-tone=copied]{color:var(--dsw-alias-state-success-primary)}.s56VVa_explorerGitName[data-git-tone=conflict]{color:var(--dsw-alias-state-error-primary)}.s56VVa_explorerDirChanged{color:var(--dsw-alias-state-business-primary)}.s56VVa_explorerRowRevealed{background:var(--dsw-alias-state-business-tertiary)}.s56VVa_explorerRowRevealed+.s56VVa_explorerRowRevealed{border-top-left-radius:0;border-top-right-radius:0}.s56VVa_explorerRowRevealed:has(+.s56VVa_explorerRowRevealed){border-bottom-right-radius:0;border-bottom-left-radius:0}.s56VVa_explorerDir{font:var(--dsw-font-xxs-strong-12)}.s56VVa_explorerHidden{opacity:.45}.s56VVa_explorerSymlink{color:var(--dsw-alias-label-tertiary);flex:none}.s56VVa_explorerBroken .s56VVa_explorerName{color:var(--dsw-alias-state-error-primary)}.s56VVa_explorerName{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.s56VVa_explorerRenaming{cursor:text}.s56VVa_explorerRenameInput{box-sizing:border-box;border:1px solid var(--dsw-alias-state-business-primary);background:var(--dsw-alias-bg-layer-1);min-width:0;height:22px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);border-radius:3px;flex:auto;padding:0 6px}.s56VVa_explorerRenameInput:focus{border-color:var(--dsw-alias-state-business-primary);outline:none}.s56VVa_explorerActionError{box-sizing:border-box;border:1px solid var(--dsw-alias-state-error-primary);background:var(--dsw-alias-bg-layer-1);border-radius:8px;align-items:flex-start;gap:6px;width:100%;margin-bottom:4px;padding:6px 8px;display:flex}.s56VVa_explorerActionErrorText{overflow-wrap:anywhere;min-width:0;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);flex:auto}.s56VVa_explorerSelectionBar{z-index:1;box-sizing:border-box;background:var(--dsw-alias-bg-layer-2);border-radius:4px;align-items:center;gap:6px;width:100%;min-height:28px;margin-top:4px;padding:2px 8px;display:flex;position:sticky;bottom:0}.s56VVa_explorerSelectionText{text-overflow:ellipsis;white-space:nowrap;min-width:0;font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-secondary);flex:auto;overflow:hidden}.s56VVa_explorerSelectionActions{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:4px;max-width:72%;display:flex}.s56VVa_explorerAppIcon{object-fit:contain;width:14px;height:14px;display:block}.s56VVa_explorerHiddenPane{display:none}.s56VVa_explorerTime{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;margin-left:auto;padding-left:8px}.s56VVa_explorerRow:hover .s56VVa_explorerTime,.s56VVa_explorerRow:focus-within .s56VVa_explorerTime{margin-left:0}.s56VVa_explorerRef,.s56VVa_explorerCopied{margin-left:auto}.s56VVa_explorerRef{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);height:20px;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-strong-11);cursor:pointer;border-radius:999px;flex:none;align-items:center;padding:0 8px;display:none}.s56VVa_explorerRef:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_explorerRow:hover .s56VVa_explorerRef,.s56VVa_explorerRow:focus-within .s56VVa_explorerRef{display:inline-flex}.s56VVa_explorerCopied{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary);flex:none}.s56VVa_explorerError{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);cursor:default}@keyframes s56VVa_dsh-row-in{0%{opacity:0}}.s56VVa_explorerEmpty{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);text-align:center;padding:16px}.s56VVa_explorerRowDropTarget{background:var(--dsw-alias-interactive-bg-hover-accent);outline:1px dashed var(--dsw-alias-state-business-primary);outline-offset:-1px}.s56VVa_uploadDropMask{z-index:1001;pointer-events:none;background:color-mix(in srgb, var(--dsw-alias-bg-base) 62%, transparent);animation:s56VVa_dsh-row-in .15s var(--ds-ease-in-out);position:fixed;inset:0}.s56VVa_uploadDropZone{z-index:1002;pointer-events:none;border:2px dashed var(--dsw-alias-border-l2);background:color-mix(in srgb, var(--dsw-alias-state-business-primary) 4%, transparent);animation:s56VVa_dsh-row-in .15s var(--ds-ease-in-out);border-radius:8px;justify-content:center;align-items:flex-start;padding:12px;display:flex;position:fixed}.s56VVa_uploadDropHero{flex-direction:column;align-items:center;gap:8px;max-width:100%;padding-top:8px;display:flex}.s56VVa_uploadDropArtPrimary{color:var(--dsw-alias-state-business-primary)}.s56VVa_uploadDropArtAccent{color:var(--dsw-alias-state-business-tertiary)}.s56VVa_uploadDropArtCut{color:var(--dsw-alias-bg-layer-1)}.s56VVa_uploadDropZonePill{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);max-width:100%;height:28px;box-shadow:var(--dsw-shadow-lv2);color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxxs-11);border-radius:999px;align-items:center;gap:6px;padding:0 12px;display:flex}.s56VVa_uploadDropZoneText{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.s56VVa_uploadDropChatHint{z-index:1003;pointer-events:none;animation:s56VVa_dsh-row-in .15s var(--ds-ease-in-out);justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;top:0;bottom:0;left:0}.s56VVa_uploadDropChatCard{text-align:center;max-width:100%;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);flex-direction:column;align-items:center;gap:10px;display:flex}.s56VVa_uploadOverlay{z-index:30;background:var(--dsw-alias-bg-mask-1);backdrop-filter:var(--dsw-mask-blur);animation:s56VVa_dsh-row-in .15s var(--ds-ease-in-out);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.s56VVa_uploadOverlayCard{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);min-width:240px;max-width:min(420px,100% - 48px);box-shadow:var(--dsw-shadow-lv3);border-radius:8px;flex-direction:column;gap:10px;padding:16px;display:flex}.s56VVa_uploadOverlayTitle{font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-primary);align-items:center;gap:6px;display:flex}.s56VVa_uploadOverlayTitle>svg{flex:none}.s56VVa_uploadOverlayTitle>span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.s56VVa_uploadOverlayProgress{background:var(--dsw-alias-border-l2);border-radius:3px;height:6px;overflow:hidden}.s56VVa_uploadOverlayProgressFill{background:var(--dsw-alias-interactive-bg-hover-accent);height:100%;transition:width .15s var(--ds-ease-in-out);border-radius:3px}.s56VVa_uploadOverlayStatus{min-height:1em;font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-tertiary);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.s56VVa_uploadOverlayCancel{border:1px solid var(--dsw-alias-border-l2);height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);cursor:pointer;background:0 0;border-radius:4px;align-self:flex-end;padding:0 12px}.s56VVa_uploadOverlayCancel:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l2)}.s56VVa_uploadOverlayCancel:disabled{opacity:.4;cursor:default}.s56VVa_editor{flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_editorHeader{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;align-items:center;gap:6px;padding:6px 8px;display:flex}.s56VVa_editorTitle{min-width:0;font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-secondary);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.s56VVa_editorPathInput{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);min-width:0;height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);border-radius:6px;flex:1;padding:0 10px}.s56VVa_editorPathInput:focus{border-color:var(--dsw-alias-border-l2);outline:none}.s56VVa_editorTreeToggleActive{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-active)}.s56VVa_editorBody{flex:1;min-height:0;display:flex}.s56VVa_editorMain{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.s56VVa_editorTreeDock{border-left:1px solid var(--dsw-alias-border-l1);flex:none;min-height:0;display:flex;position:relative}.s56VVa_editorTreeResize{cursor:col-resize;touch-action:none;z-index:3;width:6px;position:absolute;top:0;bottom:0;left:0}.s56VVa_editorTreeResize:hover{background:var(--dsw-alias-border-l2)}.s56VVa_editorTreePanel{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative}.s56VVa_editorTreePanelFull{flex:1}.s56VVa_editorTreeSearch{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;align-items:center;gap:6px;padding:6px 8px;display:flex}.s56VVa_editorSearchInput{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);min-width:0;height:26px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);border-radius:6px;flex:1;padding:0 10px}.s56VVa_editorSearchInput:focus{border-color:var(--dsw-alias-border-l2);outline:none}.s56VVa_editorSearchHint{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);padding:8px 12px}.s56VVa_editorSearchResult{box-sizing:border-box;width:100%;height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;gap:6px;padding:0 8px;line-height:28px;display:flex;overflow:hidden}.s56VVa_editorSearchResultDir{color:var(--dsw-alias-label-secondary)}.s56VVa_editorSearchResultLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.s56VVa_editorSearchResult:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_editorStatus{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary)}.s56VVa_editorStatusError{color:var(--dsw-alias-state-error-primary)}.s56VVa_dirtyDot{background:var(--dsw-alias-state-warn-primary);border-radius:50%;flex:none;width:7px;height:7px}.s56VVa_editorPlaceholder{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);text-align:center;flex:1;justify-content:center;align-items:center;padding:16px;display:flex}.s56VVa_orphanedType{opacity:.7;overflow-wrap:anywhere;margin-top:8px;font-size:12px;display:block}.s56VVa_editorBinary{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;padding:24px 16px;display:flex}.s56VVa_editorBinaryNotice{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary)}.s56VVa_editorDownloadLink{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);cursor:pointer;transition:background var(--ds-transition-duration-slow) var(--ds-ease-in-out), border-color var(--ds-transition-duration-slow) var(--ds-ease-in-out);border-radius:6px;align-items:center;gap:6px;padding:6px 14px;text-decoration:none;display:inline-flex}.s56VVa_editorDownloadLink:hover{background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l2)}.s56VVa_editorError{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);padding:12px 16px}.s56VVa_editorBanner{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-state-warn-label);background:var(--dsw-alias-state-warn-tertiary);flex:none;padding:4px 8px}.s56VVa_editorBannerAction{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;margin-left:8px;padding:0;text-decoration:underline}.s56VVa_editorGitAdd{color:var(--dsw-alias-state-success-primary)}.s56VVa_editorGitMod{color:var(--dsw-alias-state-warn-primary)}.s56VVa_editorGitDel{color:var(--dsw-alias-state-error-primary)}.s56VVa_editorGitBarGutter{width:2px;min-width:2px}.s56VVa_editorGitBar,.s56VVa_editorGitBarSpacer{width:2px;height:100%}.s56VVa_editorGitBarAdd{background:var(--dsw-alias-state-success-primary)}.s56VVa_editorGitBarMod{background:var(--dsw-alias-state-warn-primary)}.s56VVa_editorGitBarDel{background:var(--dsw-alias-state-error-primary)}.s56VVa_editorBlame{max-width:420px;font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-primary);padding:4px 8px}.s56VVa_editorBlameHead{color:var(--dsw-alias-label-secondary)}.s56VVa_editorBlameSummary{color:var(--dsw-alias-label-primary);white-space:pre-wrap;overflow-wrap:anywhere;margin-top:2px}.s56VVa_sandboxStatus{font:var(--dsw-font-xxxs-11);flex:none;align-items:center;gap:8px;padding:4px 10px;display:flex}.s56VVa_sandboxStatusOn{color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-bg-layer-1);border-bottom:1px solid var(--dsw-alias-border-l1)}.s56VVa_sandboxStatusOff{color:var(--dsw-alias-state-error-primary);background:color-mix(in srgb, var(--dsw-alias-state-error-primary) 10%, transparent);border-bottom:1px solid color-mix(in srgb, var(--dsw-alias-state-error-primary) 45%, transparent)}.s56VVa_sandboxDot{background:var(--dsw-alias-state-success-primary);border-radius:50%;flex:none;width:6px;height:6px}.s56VVa_sandboxStatusOff .s56VVa_sandboxDot{background:var(--dsw-alias-state-error-primary)}.s56VVa_sandboxStatusText{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.s56VVa_sandboxAction{border:1px solid var(--dsw-alias-border-l2);font:inherit;color:inherit;cursor:pointer;background:0 0;border-radius:6px;flex:none;padding:2px 8px}.s56VVa_sandboxAction:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_editorHtml{background:var(--dsw-alias-bg-base);border:none;flex:1;width:100%;min-height:0}.s56VVa_browser{flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_browserBar{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;align-items:center;gap:4px;padding:6px 8px;display:flex}.s56VVa_browserInput{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);min-width:0;height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);border-radius:6px;flex:1;padding:0 10px}.s56VVa_browserInput:focus{border-color:var(--dsw-alias-border-l2);outline:none}.s56VVa_browserMessage{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-state-warn-label);background:var(--dsw-alias-state-warn-tertiary);flex:none;padding:4px 12px}.s56VVa_browserFrame{background:var(--dsw-alias-bg-base);border:none;flex:1;width:100%;min-height:0}.s56VVa_browserStart{text-align:center;min-height:0;font:var(--dsw-font-xs-13);color:var(--dsw-alias-label-tertiary);flex:1;justify-content:center;align-items:center;padding:20px;display:flex}.s56VVa_browserBlocked{text-align:center;min-height:0;color:var(--dsw-alias-state-warn-primary);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:6px;padding:24px;display:flex}.s56VVa_browserBlockedTitle{font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-primary)}.s56VVa_browserBlockedDesc{max-width:280px;font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-secondary)}.s56VVa_browserBlockedActions{gap:8px;margin-top:6px;display:flex}.s56VVa_browserBlockedButton{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxxs-11);cursor:pointer;border-radius:6px;padding:4px 12px}.s56VVa_browserBlockedButton:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_editorCm{background:0 0;flex:1;min-height:0;overflow:hidden}.s56VVa_editorCmHidden{display:none}.s56VVa_editorCm .cm-editor{height:100%}.s56VVa_editorCm .cm-scroller{padding:12px 16px}.s56VVa_editorCm .cm-editor.cm-focused{outline:none}.s56VVa_editorModeToggle{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:6px;flex:none;align-items:center;gap:2px;padding:2px;display:inline-flex}.s56VVa_editorModeButton{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px 8px}.s56VVa_editorModeButton:hover{color:var(--dsw-alias-label-primary)}.s56VVa_editorModeActive{background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-primary)}.s56VVa_editorMd{min-height:0;font:var(--dsw-font-xs-13);flex:1;padding:12px 16px;overflow-y:auto}.s56VVa_editorMd .md-code-block:not([data-mermaid-processed])>div:first-child{z-index:auto;position:static}.s56VVa_mermaidWrap{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:6px;margin:6px 0;overflow:hidden}.s56VVa_mermaidHeader{border-bottom:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);justify-content:space-between;align-items:center;gap:6px;padding:4px 8px;display:flex}.s56VVa_mermaidInfo{font:var(--dsw-font-xxxs-strong-11);color:var(--dsw-alias-label-tertiary)}.s56VVa_mermaidCopy{height:20px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;gap:4px;padding:0 6px;display:inline-flex}.s56VVa_mermaidCopy:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_mermaidBody{cursor:zoom-in;justify-content:center;padding:10px;display:flex;overflow:auto}.s56VVa_mermaidBody svg{max-width:100%;height:auto}.s56VVa_mermaidError{border-bottom:1px solid var(--dsw-alias-border-l1);color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxxs-11);padding:6px 10px}.s56VVa_mermaidCode{font:var(--dsw-font-xxxs-11);margin:0;padding:8px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.s56VVa_mermaidMarkdown .md-code-block[data-mermaid-processed]{display:contents}.s56VVa_mermaidModal{z-index:1000;background:var(--dsw-alias-bg-mask-1);backdrop-filter:blur(2px);flex-direction:column;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;-webkit-app-region:initial!important}.s56VVa_mermaidModalToolbar{z-index:10;gap:8px;display:flex;position:absolute;top:16px;right:16px}.s56VVa_mermaidModalButton{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);width:36px;height:36px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-strong-13);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.s56VVa_mermaidModalButton:hover{background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_mermaidModalStage{justify-content:center;align-items:center;width:90vw;height:80vh;display:flex;position:relative;overflow:hidden}.s56VVa_mermaidModalStage svg{cursor:grab;transform-origin:50%;user-select:none;-webkit-user-drag:none;background:var(--dsw-alias-bg-layer-1);border-radius:12px;max-width:none;max-height:none;padding:16px}.s56VVa_mermaidModalStage svg:active{cursor:grabbing}.s56VVa_mermaidModalHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);pointer-events:none;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.s56VVa_selectionPopup{z-index:60;border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-specific-menu);height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxxs-strong-11);white-space:nowrap;cursor:pointer;border-radius:6px;align-items:center;padding:0 10px;display:inline-flex;position:fixed;transform:translate(-50%,calc(-100% - 8px))}.s56VVa_selectionPopup:hover{background:var(--dsw-alias-interactive-bg-hover-solid)}.s56VVa_editorPdf{background:var(--dsw-alias-bg-base);flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_editorPdfToolbar{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;justify-content:flex-end;padding:6px 8px;display:flex}.s56VVa_editorPdfStage{flex:1;min-height:0;display:flex;position:relative}.s56VVa_editorPdfFrame{background:var(--dsw-alias-bg-base);border:none;flex:1;width:100%;min-height:0}.s56VVa_editorPdfFrameBlocked{pointer-events:none}.s56VVa_editorPdfDragShield{z-index:4;pointer-events:none;background:0 0;position:absolute;inset:0}.s56VVa_editorPdfDragShieldActive{pointer-events:auto}body[data-dsh-tab-dragging] .s56VVa_editorPdfFrame{pointer-events:none!important}body[data-dsh-tab-dragging] .s56VVa_editorPdfDragShield{pointer-events:auto!important}.s56VVa_boundaryError{z-index:50;background:var(--dsw-alias-bg-layer-1);border-left:1px solid var(--dsw-alias-border-l2);font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);flex-direction:column;align-items:flex-start;gap:8px;padding:16px;display:flex;position:fixed;top:0;bottom:0;right:0;overflow:auto}.s56VVa_terminalRetry{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-strong-11);cursor:pointer;border-radius:999px;flex:none;padding:1px 8px}.s56VVa_terminalRetry:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_tabBoundaryError{min-height:0;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);flex-direction:column;flex:1;align-items:flex-start;gap:8px;padding:12px 16px;display:flex;overflow:auto}.s56VVa_nativeTabHost{flex-direction:column;height:100%;min-height:0;display:flex}.s56VVa_gitEmpty{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);padding:4px 12px 8px}.s56VVa_gitPlaceholder{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-tertiary);text-align:center;padding:16px}.s56VVa_gitError{font:var(--dsw-font-xxs-12);color:var(--dsw-alias-state-error-primary);white-space:pre-wrap;padding:8px 12px}.s56VVa_gitDiffTab{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden auto}.s56VVa_gitDiffTabHeader{border-bottom:1px solid var(--dsw-alias-border-l1);flex:none;align-items:center;gap:8px;height:36px;padding:0 8px 0 12px;display:flex}.s56VVa_gitDiffTabTitle{text-overflow:ellipsis;white-space:nowrap;min-width:0;font:var(--dsw-font-xxs-strong-12);color:var(--dsw-alias-label-primary);flex:1;overflow:hidden}.s56VVa_toggleButton:focus-visible,.s56VVa_bottomClose:focus-visible,.s56VVa_iconButton:focus-visible,.s56VVa_tab:focus-visible,.s56VVa_tabClose:focus-visible,.s56VVa_tabBarPlus:focus-visible,.s56VVa_paneCard:focus-visible,.s56VVa_explorerRow:focus-visible,.s56VVa_explorerRef:focus-visible,.s56VVa_terminalRetry:focus-visible,.s56VVa_editorModeButton:focus-visible,.s56VVa_editorDownloadLink:focus-visible,.s56VVa_editorPptxButton:focus-visible,.s56VVa_editorDocxZoomRange:focus-visible{outline:2px solid var(--dsw-alias-interactive-bg-hover-accent);outline-offset:-1px}@media (prefers-reduced-motion:reduce){.s56VVa_bottomPanel,.s56VVa_bottomPanelHidden,.s56VVa_toggleButton,.s56VVa_tab,.s56VVa_tabBarPlus,.s56VVa_paneCard,.s56VVa_explorerRow,.s56VVa_divider,.s56VVa_dividerRow:after,.s56VVa_dividerCol:after{transition:none;animation:none}}@media (width<=767px){.s56VVa_tab{min-width:48px;max-width:128px}}.s56VVa_openWithLabel{align-items:center;gap:8px;width:100%;min-width:0;display:flex}.s56VVa_openWithName{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.s56VVa_openWithChevron{color:var(--dsw-alias-label-tertiary);flex:none}.s56VVa_openWithPin{width:16px;height:16px;color:var(--dsw-alias-label-tertiary);cursor:pointer;border-radius:5px;flex:none;justify-content:center;align-items:center;display:inline-flex}.s56VVa_openWithPin:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_openWithPinActive{color:var(--dsw-alias-state-business-primary)}.s56VVa_editorHtmlBlock{margin:8px 0}.s56VVa_editorHtmlBlock img,.s56VVa_editorHtmlBlock video{max-width:100%}.s56VVa_editorHtmlBlock details{margin:4px 0;padding:4px 0}.s56VVa_editorHtmlBlock summary,.s56VVa_editorMd details>summary{cursor:pointer}.s56VVa_tocBar{z-index:7;pointer-events:none;justify-content:flex-end;height:0;display:flex;position:sticky;top:0}.s56VVa_tocButton{pointer-events:auto;border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);width:26px;height:26px;color:var(--dsw-alias-label-secondary);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;margin:4px 2px 0 0;padding:0;display:inline-flex}.s56VVa_tocButton:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_tocPanel{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);width:min(300px,82%);max-height:60vh;box-shadow:var(--dsw-shadow-lv2);pointer-events:auto;border-radius:8px;flex-direction:column;padding:4px;display:flex;position:absolute;top:32px;right:2px;overflow-y:auto}.s56VVa_tocItem{min-width:0;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:baseline;gap:8px;padding:4px 8px;display:flex}.s56VVa_tocItem:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.s56VVa_tocItem[data-level=\"2\"]{padding-left:18px}.s56VVa_tocItem[data-level=\"3\"]{padding-left:28px}.s56VVa_tocItem[data-level=\"4\"]{padding-left:38px}.s56VVa_tocItem[data-level=\"5\"]{padding-left:48px}.s56VVa_tocItem[data-level=\"6\"]{padding-left:58px}.s56VVa_tocItemLevel{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary);flex:none}.s56VVa_tocItemText{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}@keyframes s56VVa_dsh-toc-flash{0%,60%{background:var(--dsw-alias-interactive-bg-hover)}to{background:0 0}}.s56VVa_tocFlash{border-radius:4px;animation:1.2s ease-out s56VVa_dsh-toc-flash}.s56VVa_largeFile{flex-direction:column;flex:1;min-height:0;display:flex}.s56VVa_largeFileNotice{font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-state-warn-label);background:var(--dsw-alias-state-warn-tertiary);flex:none;align-items:baseline;gap:8px;padding:4px 8px;display:flex}.s56VVa_largeFileDownload{color:inherit;text-decoration:underline}.s56VVa_largeFileNoticeAction{font:inherit;color:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:4px;margin-left:auto;padding:0 6px}.s56VVa_largeFileNoticeAction:disabled{opacity:.5;cursor:default}.s56VVa_largeFileBody{flex:1;min-height:0;overflow:auto}.s56VVa_largeFileRecords{padding:4px 0}.s56VVa_largeFileList{margin:0;padding:0;list-style:none}.s56VVa_largeFileRecord{gap:8px;padding:2px 8px;display:flex}.s56VVa_largeFileRecordExpanded{background:var(--dsw-alias-bg-layer-1)}.s56VVa_largeFileRecordInvalid{color:var(--dsw-alias-state-error-primary)}.s56VVa_largeFileRecordNo{text-align:right;min-width:4ch;font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-tertiary);user-select:none;flex:none}.s56VVa_largeFileRecordBody{flex:1;min-width:0}.s56VVa_largeFileRecordSummary{text-align:left;width:100%;font:var(--ds-font-family-code);color:var(--dsw-alias-label-primary);white-space:pre;text-overflow:ellipsis;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px;display:block;overflow:hidden}.s56VVa_largeFileRecordSummary:disabled{cursor:default}.s56VVa_largeFileRecordRaw{font:var(--ds-font-family-code);white-space:pre-wrap;word-break:break-all;overflow-wrap:anywhere;margin:2px 0 0;font-size:12px}.s56VVa_largeFileRecordTree{font:var(--ds-font-family-code);margin-top:2px;font-size:12px}.s56VVa_largeFileLines{font:var(--ds-font-family-code);white-space:pre;padding:4px 0;font-size:12px}.s56VVa_largeFileLine{gap:8px;padding:0 8px;display:flex}.s56VVa_largeFileLineNo{text-align:right;min-width:5ch;color:var(--dsw-alias-label-tertiary);user-select:none;flex:none}.s56VVa_largeFileLineText{color:var(--dsw-alias-label-primary);flex:none}.s56VVa_largeFilePager{border-top:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);flex:none;align-items:center;gap:4px;padding:2px 8px;display:flex}.s56VVa_largeFilePageLabel{text-align:center;min-width:0;font:var(--dsw-font-xxxs-11);color:var(--dsw-alias-label-secondary);white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.s56VVa_explorerMuted{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);cursor:default}[data-sidebar-right-guide]{grid-template-columns:repeat(auto-fill,minmax(96px,120px))!important;place-content:center!important;place-items:stretch stretch!important;gap:12px!important;padding:16px!important;display:grid!important;overflow:auto!important}[data-sidebar-right-guide]>div{aspect-ratio:1!important;flex:none!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:0!important;display:flex!important}[data-sidebar-right-guide]>div [data-sidebar-right-guide-entry]{box-sizing:border-box!important;text-align:center!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:8px!important;width:100%!important;height:100%!important;padding:12px!important}[data-sidebar-right-guide] kbd,[data-sidebar-right-guide] span:has(>kbd){display:none!important}[data-sidebar-right-guide]>div [data-sidebar-right-guide-entry]>span:last-child{flex:0 auto!important;align-items:center!important;width:100%!important;height:auto!important;min-height:0!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal]{position:relative!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] [class*=titleRow]{flex-flow:row!important;justify-content:center!important;align-items:center!important;gap:2px!important;height:20px!important;min-height:0!important;display:flex!important;position:static!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] [class*=menu],[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] [class*=trigger],[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] button:not([class*=main]){z-index:1!important;flex:0 0 20px!important;width:20px!important;height:20px!important;min-height:0!important;padding:0!important;position:static!important;top:auto!important;bottom:auto!important;right:auto!important;transform:none!important}[data-sidebar-right-guide] [data-sidebar-right-guide-entry=terminal] [class*=title]{white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important}[data-sidebar-right-guide]>div [data-sidebar-right-guide-entry] span{white-space:normal!important;text-overflow:clip!important;min-width:0!important;max-width:100%!important;overflow:visible!important}[data-sidebar-right-guide]>span:first-child{grid-column:1/-1;justify-self:center;margin:4px 0 8px}@media (width<=640px){[data-sidebar-right-guide]{grid-template-columns:repeat(auto-fill,minmax(88px,108px))!important;padding:12px!important}}[data-sidebar-right-guide-entry=terminal]{box-sizing:border-box!important;flex-direction:row!important;justify-content:center!important;align-self:stretch!important;align-items:center!important;gap:6px!important;width:100%!important;height:100%!important;min-height:0!important;padding:8px!important;display:flex!important;overflow:hidden!important}[data-sidebar-right-guide-entry=terminal]>span{flex:0 auto!important}[data-sidebar-right-guide-entry=terminal] [class*=text]{flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:1px!important;min-width:0!important;display:flex!important}[data-sidebar-right-guide-entry=terminal] [class*=titleRow]{box-sizing:border-box!important;flex-flow:row!important;justify-content:center!important;align-items:center!important;gap:0!important;width:100%!important;height:18px!important;min-height:0!important;max-height:18px!important;padding:0 20px!important;display:flex!important;position:relative!important}[data-sidebar-right-guide-entry=terminal] [class*=title]{text-overflow:clip!important;white-space:nowrap!important;flex:none!important;max-width:none!important;font-size:12px!important;line-height:1.2!important;overflow:visible!important}[data-sidebar-right-guide-entry=terminal] [class*=trigger]{z-index:1!important;flex:0 0 16px!important;width:16px!important;min-width:16px!important;height:16px!important;min-height:16px!important;padding:0!important;position:absolute!important;top:50%!important;right:0!important;transform:translateY(-50%)!important}[data-sidebar-right-guide-entry=terminal] [class*=trigger] svg{width:12px!important;height:12px!important}[data-sidebar-right-guide-entry=terminal] [class*=description]{text-overflow:ellipsis!important;white-space:nowrap!important;max-width:100%!important;overflow:hidden!important}[data-sidebar-right-guide-entry]:not([data-sidebar-right-guide-entry=terminal]){justify-content:center!important;align-items:center!important}[data-sidebar-right-guide-entry]:not([data-sidebar-right-guide-entry=terminal])>span:last-child{flex-direction:column!important;justify-content:center!important;align-self:center!important;align-items:center!important;display:flex!important}[data-sidebar-right-guide-entry]:not([data-sidebar-right-guide-entry=terminal]){box-sizing:border-box!important;flex-direction:column!important;justify-content:center!important;align-self:stretch!important;align-items:center!important;width:100%!important;height:100%!important;display:flex!important}.s56VVa_nativeTabMenuItem{color:var(--dsw-alias-label-primary);font-size:var(--dsh-content-font-size-secondary,13px);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:5px 8px}.s56VVa_nativeTabMenuItem:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}.s56VVa_nativeTabMenuItem:disabled{opacity:.4;cursor:not-allowed}.s56VVa_nativeTabMenuSeparator{border-top:.5px solid var(--dsw-alias-border-l2);height:0;margin:3px 2px}";
|
|
8297
|
+
const tagId$11 = "@sparkelf/dsh-knowledge-base/sidebar.module.css";
|
|
8298
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$11) + "]") === null) {
|
|
8282
8299
|
const tag = document.createElement("style");
|
|
8283
8300
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
8284
|
-
tag.dataset.pluginCss = tagId$
|
|
8285
|
-
tag.textContent = css$
|
|
8301
|
+
tag.dataset.pluginCss = tagId$11;
|
|
8302
|
+
tag.textContent = css$11;
|
|
8286
8303
|
document.head.appendChild(tag);
|
|
8287
8304
|
}
|
|
8288
8305
|
var sidebar_module_css_default = {
|
|
8289
|
-
"
|
|
8306
|
+
"mermaidWrap": "s56VVa_mermaidWrap",
|
|
8307
|
+
"editorGitBarMod": "s56VVa_editorGitBarMod",
|
|
8308
|
+
"uploadDropHero": "s56VVa_uploadDropHero",
|
|
8309
|
+
"chipIcon": "s56VVa_chipIcon",
|
|
8310
|
+
"browserMessage": "s56VVa_browserMessage",
|
|
8290
8311
|
"mermaidHeader": "s56VVa_mermaidHeader",
|
|
8291
|
-
"
|
|
8292
|
-
"
|
|
8293
|
-
"
|
|
8294
|
-
"
|
|
8312
|
+
"editorCmHidden": "s56VVa_editorCmHidden",
|
|
8313
|
+
"tocBar": "s56VVa_tocBar",
|
|
8314
|
+
"editorError": "s56VVa_editorError",
|
|
8315
|
+
"editorPlaceholder": "s56VVa_editorPlaceholder",
|
|
8316
|
+
"largeFileRecordInvalid": "s56VVa_largeFileRecordInvalid",
|
|
8317
|
+
"explorerRowDropTarget": "s56VVa_explorerRowDropTarget",
|
|
8295
8318
|
"editor": "s56VVa_editor",
|
|
8296
|
-
"
|
|
8297
|
-
"
|
|
8298
|
-
"
|
|
8299
|
-
"
|
|
8300
|
-
"
|
|
8301
|
-
"
|
|
8302
|
-
"
|
|
8303
|
-
"
|
|
8304
|
-
"
|
|
8305
|
-
"
|
|
8306
|
-
"explorerBroken": "s56VVa_explorerBroken",
|
|
8307
|
-
"openWithPinActive": "s56VVa_openWithPinActive",
|
|
8308
|
-
"splitChild": "s56VVa_splitChild",
|
|
8309
|
-
"editorModeButton": "s56VVa_editorModeButton",
|
|
8310
|
-
"orphanedType": "s56VVa_orphanedType",
|
|
8311
|
-
"tabTitle": "s56VVa_tabTitle",
|
|
8312
|
-
"paneContent": "s56VVa_paneContent",
|
|
8313
|
-
"gitDiffTabTitle": "s56VVa_gitDiffTabTitle",
|
|
8314
|
-
"editorGitBar": "s56VVa_editorGitBar",
|
|
8315
|
-
"uploadDropArtPrimary": "s56VVa_uploadDropArtPrimary",
|
|
8316
|
-
"mermaidError": "s56VVa_mermaidError",
|
|
8317
|
-
"editorModeToggle": "s56VVa_editorModeToggle",
|
|
8319
|
+
"explorerSymlink": "s56VVa_explorerSymlink",
|
|
8320
|
+
"explorerGitName": "s56VVa_explorerGitName",
|
|
8321
|
+
"bottomResizeActive": "s56VVa_bottomResizeActive",
|
|
8322
|
+
"largeFileLines": "s56VVa_largeFileLines",
|
|
8323
|
+
"editorTreePanel": "s56VVa_editorTreePanel",
|
|
8324
|
+
"editorModeActive": "s56VVa_editorModeActive",
|
|
8325
|
+
"largeFileRecordExpanded": "s56VVa_largeFileRecordExpanded",
|
|
8326
|
+
"uploadDropZoneText": "s56VVa_uploadDropZoneText",
|
|
8327
|
+
"dropRight": "s56VVa_dropRight",
|
|
8328
|
+
"selectionPopup": "s56VVa_selectionPopup",
|
|
8318
8329
|
"largeFileLineText": "s56VVa_largeFileLineText",
|
|
8319
|
-
"editorPdfFrameBlocked": "s56VVa_editorPdfFrameBlocked",
|
|
8320
|
-
"mermaidCopy": "s56VVa_mermaidCopy",
|
|
8321
|
-
"bottomPanel": "s56VVa_bottomPanel",
|
|
8322
|
-
"gitPlaceholder": "s56VVa_gitPlaceholder",
|
|
8323
|
-
"largeFilePager": "s56VVa_largeFilePager",
|
|
8324
|
-
"explorer": "s56VVa_explorer",
|
|
8325
|
-
"bottomPanelHidden": "s56VVa_bottomPanelHidden",
|
|
8326
|
-
"uploadDropChatCard": "s56VVa_uploadDropChatCard",
|
|
8327
|
-
"mermaidMarkdown": "s56VVa_mermaidMarkdown",
|
|
8328
8330
|
"editorPdfDragShieldActive": "s56VVa_editorPdfDragShieldActive",
|
|
8329
|
-
"
|
|
8330
|
-
"
|
|
8331
|
-
"
|
|
8331
|
+
"editorBannerAction": "s56VVa_editorBannerAction",
|
|
8332
|
+
"uploadDropZonePill": "s56VVa_uploadDropZonePill",
|
|
8333
|
+
"mermaidModalStage": "s56VVa_mermaidModalStage",
|
|
8334
|
+
"explorerHeader": "s56VVa_explorerHeader",
|
|
8335
|
+
"bottomPanelHidden": "s56VVa_bottomPanelHidden",
|
|
8336
|
+
"dsh-toc-flash": "s56VVa_dsh-toc-flash",
|
|
8337
|
+
"tocFlash": "s56VVa_tocFlash",
|
|
8338
|
+
"editorHeader": "s56VVa_editorHeader",
|
|
8339
|
+
"largeFileRecordTree": "s56VVa_largeFileRecordTree",
|
|
8340
|
+
"openWithPinActive": "s56VVa_openWithPinActive",
|
|
8341
|
+
"nativeTabHost": "s56VVa_nativeTabHost",
|
|
8342
|
+
"terminalRetry": "s56VVa_terminalRetry",
|
|
8332
8343
|
"tabList": "s56VVa_tabList",
|
|
8333
8344
|
"paneDrop": "s56VVa_paneDrop",
|
|
8334
|
-
"
|
|
8335
|
-
"
|
|
8336
|
-
"uploadOverlayTitle": "s56VVa_uploadOverlayTitle",
|
|
8337
|
-
"browserInput": "s56VVa_browserInput",
|
|
8338
|
-
"editorGitBarSpacer": "s56VVa_editorGitBarSpacer",
|
|
8339
|
-
"largeFileRecordTree": "s56VVa_largeFileRecordTree",
|
|
8340
|
-
"editorCmHidden": "s56VVa_editorCmHidden",
|
|
8341
|
-
"explorerSelectionActions": "s56VVa_explorerSelectionActions",
|
|
8342
|
-
"dsh-row-in": "s56VVa_dsh-row-in",
|
|
8343
|
-
"openWithChevron": "s56VVa_openWithChevron",
|
|
8345
|
+
"editorDocxZoomRange": "s56VVa_editorDocxZoomRange",
|
|
8346
|
+
"sandboxAction": "s56VVa_sandboxAction",
|
|
8344
8347
|
"editorGitBarDel": "s56VVa_editorGitBarDel",
|
|
8345
|
-
"
|
|
8346
|
-
"explorerActionError": "s56VVa_explorerActionError",
|
|
8347
|
-
"editorGitAdd": "s56VVa_editorGitAdd",
|
|
8348
|
-
"chipIcon": "s56VVa_chipIcon",
|
|
8349
|
-
"tocItemLevel": "s56VVa_tocItemLevel",
|
|
8350
|
-
"panelBody": "s56VVa_panelBody",
|
|
8351
|
-
"explorerSelectionBar": "s56VVa_explorerSelectionBar",
|
|
8352
|
-
"explorerSymlink": "s56VVa_explorerSymlink",
|
|
8353
|
-
"sandboxStatusText": "s56VVa_sandboxStatusText",
|
|
8354
|
-
"editorPdfStage": "s56VVa_editorPdfStage",
|
|
8355
|
-
"editorPlaceholder": "s56VVa_editorPlaceholder",
|
|
8348
|
+
"boundaryError": "s56VVa_boundaryError",
|
|
8356
8349
|
"mermaidInfo": "s56VVa_mermaidInfo",
|
|
8357
|
-
"
|
|
8358
|
-
"explorerError": "s56VVa_explorerError",
|
|
8359
|
-
"editorBinaryNotice": "s56VVa_editorBinaryNotice",
|
|
8360
|
-
"uploadDropZoneText": "s56VVa_uploadDropZoneText",
|
|
8361
|
-
"editorTreePanel": "s56VVa_editorTreePanel",
|
|
8362
|
-
"editorSearchHint": "s56VVa_editorSearchHint",
|
|
8363
|
-
"explorerGitName": "s56VVa_explorerGitName",
|
|
8364
|
-
"largeFileDownload": "s56VVa_largeFileDownload",
|
|
8365
|
-
"editorGitDel": "s56VVa_editorGitDel",
|
|
8366
|
-
"dropDown": "s56VVa_dropDown",
|
|
8367
|
-
"editorTreeResize": "s56VVa_editorTreeResize",
|
|
8368
|
-
"gitEmpty": "s56VVa_gitEmpty",
|
|
8369
|
-
"tabClose": "s56VVa_tabClose",
|
|
8370
|
-
"tocItem": "s56VVa_tocItem",
|
|
8371
|
-
"explorerHiddenPane": "s56VVa_explorerHiddenPane",
|
|
8372
|
-
"editorHeader": "s56VVa_editorHeader",
|
|
8373
|
-
"explorerTime": "s56VVa_explorerTime",
|
|
8374
|
-
"chipUnread": "s56VVa_chipUnread",
|
|
8375
|
-
"largeFileBody": "s56VVa_largeFileBody",
|
|
8376
|
-
"editorDownloadLink": "s56VVa_editorDownloadLink",
|
|
8377
|
-
"editorSearchInput": "s56VVa_editorSearchInput",
|
|
8378
|
-
"explorerDir": "s56VVa_explorerDir",
|
|
8379
|
-
"editorPdfDragShield": "s56VVa_editorPdfDragShield",
|
|
8380
|
-
"largeFileLines": "s56VVa_largeFileLines",
|
|
8350
|
+
"dividerActive": "s56VVa_dividerActive",
|
|
8381
8351
|
"sandboxStatusOn": "s56VVa_sandboxStatusOn",
|
|
8382
|
-
"dividerRow": "s56VVa_dividerRow",
|
|
8383
|
-
"tocFlash": "s56VVa_tocFlash",
|
|
8384
8352
|
"mermaidModalToolbar": "s56VVa_mermaidModalToolbar",
|
|
8353
|
+
"uploadOverlayStatus": "s56VVa_uploadOverlayStatus",
|
|
8354
|
+
"editorTitle": "s56VVa_editorTitle",
|
|
8355
|
+
"editorTreeSearch": "s56VVa_editorTreeSearch",
|
|
8356
|
+
"openWithPin": "s56VVa_openWithPin",
|
|
8357
|
+
"largeFileBody": "s56VVa_largeFileBody",
|
|
8358
|
+
"explorerActionErrorText": "s56VVa_explorerActionErrorText",
|
|
8359
|
+
"paneContent": "s56VVa_paneContent",
|
|
8360
|
+
"mermaidModal": "s56VVa_mermaidModal",
|
|
8361
|
+
"uploadDropZone": "s56VVa_uploadDropZone",
|
|
8362
|
+
"sandboxStatus": "s56VVa_sandboxStatus",
|
|
8363
|
+
"dividerRow": "s56VVa_dividerRow",
|
|
8364
|
+
"tabBarPlus": "s56VVa_tabBarPlus",
|
|
8365
|
+
"explorerSelectionText": "s56VVa_explorerSelectionText",
|
|
8366
|
+
"explorerBroken": "s56VVa_explorerBroken",
|
|
8367
|
+
"tocButton": "s56VVa_tocButton",
|
|
8368
|
+
"panel": "s56VVa_panel",
|
|
8369
|
+
"uploadDropArtAccent": "s56VVa_uploadDropArtAccent",
|
|
8370
|
+
"tabBar": "s56VVa_tabBar",
|
|
8371
|
+
"editorBanner": "s56VVa_editorBanner",
|
|
8385
8372
|
"dropUp": "s56VVa_dropUp",
|
|
8386
|
-
"
|
|
8387
|
-
"
|
|
8388
|
-
"
|
|
8389
|
-
"
|
|
8390
|
-
"
|
|
8391
|
-
"
|
|
8373
|
+
"editorBlameHead": "s56VVa_editorBlameHead",
|
|
8374
|
+
"largeFilePager": "s56VVa_largeFilePager",
|
|
8375
|
+
"explorerError": "s56VVa_explorerError",
|
|
8376
|
+
"browser": "s56VVa_browser",
|
|
8377
|
+
"editorPathInput": "s56VVa_editorPathInput",
|
|
8378
|
+
"editorPdfFrameBlocked": "s56VVa_editorPdfFrameBlocked",
|
|
8379
|
+
"split": "s56VVa_split",
|
|
8380
|
+
"explorerRef": "s56VVa_explorerRef",
|
|
8381
|
+
"sandboxStatusText": "s56VVa_sandboxStatusText",
|
|
8382
|
+
"explorerRenaming": "s56VVa_explorerRenaming",
|
|
8383
|
+
"explorerRow": "s56VVa_explorerRow",
|
|
8384
|
+
"editorTreeToggleActive": "s56VVa_editorTreeToggleActive",
|
|
8385
|
+
"uploadDropArtPrimary": "s56VVa_uploadDropArtPrimary",
|
|
8386
|
+
"mermaidModalHint": "s56VVa_mermaidModalHint",
|
|
8387
|
+
"nativeTabMenuSeparator": "s56VVa_nativeTabMenuSeparator",
|
|
8388
|
+
"editorMain": "s56VVa_editorMain",
|
|
8389
|
+
"tabBoundaryError": "s56VVa_tabBoundaryError",
|
|
8390
|
+
"browserFrame": "s56VVa_browserFrame",
|
|
8391
|
+
"panelBody": "s56VVa_panelBody",
|
|
8392
|
+
"explorerMuted": "s56VVa_explorerMuted",
|
|
8393
|
+
"largeFileRecords": "s56VVa_largeFileRecords",
|
|
8392
8394
|
"tabUnreadDot": "s56VVa_tabUnreadDot",
|
|
8393
|
-
"
|
|
8394
|
-
"
|
|
8395
|
+
"openWithLabel": "s56VVa_openWithLabel",
|
|
8396
|
+
"uploadDropMask": "s56VVa_uploadDropMask",
|
|
8397
|
+
"explorerSelectionBar": "s56VVa_explorerSelectionBar",
|
|
8398
|
+
"editorTreeResize": "s56VVa_editorTreeResize",
|
|
8399
|
+
"uploadOverlayTitle": "s56VVa_uploadOverlayTitle",
|
|
8400
|
+
"editorGitBarGutter": "s56VVa_editorGitBarGutter",
|
|
8401
|
+
"uploadOverlayProgressFill": "s56VVa_uploadOverlayProgressFill",
|
|
8402
|
+
"pane": "s56VVa_pane",
|
|
8403
|
+
"explorerBody": "s56VVa_explorerBody",
|
|
8404
|
+
"splitCol": "s56VVa_splitCol",
|
|
8405
|
+
"tabBadge": "s56VVa_tabBadge",
|
|
8406
|
+
"mermaidMarkdown": "s56VVa_mermaidMarkdown",
|
|
8407
|
+
"editorPdfFrame": "s56VVa_editorPdfFrame",
|
|
8408
|
+
"tocPanel": "s56VVa_tocPanel",
|
|
8409
|
+
"uploadDropChatCard": "s56VVa_uploadDropChatCard",
|
|
8410
|
+
"largeFileRecordRaw": "s56VVa_largeFileRecordRaw",
|
|
8411
|
+
"explorerRowRevealed": "s56VVa_explorerRowRevealed",
|
|
8412
|
+
"mermaidModalButton": "s56VVa_mermaidModalButton",
|
|
8395
8413
|
"explorerCopied": "s56VVa_explorerCopied",
|
|
8396
|
-
"
|
|
8397
|
-
"
|
|
8398
|
-
"browserBlockedTitle": "s56VVa_browserBlockedTitle",
|
|
8399
|
-
"iconButton": "s56VVa_iconButton",
|
|
8414
|
+
"nativeTabMenuItem": "s56VVa_nativeTabMenuItem",
|
|
8415
|
+
"largeFileLine": "s56VVa_largeFileLine",
|
|
8400
8416
|
"explorerDirChanged": "s56VVa_explorerDirChanged",
|
|
8401
|
-
"
|
|
8402
|
-
"
|
|
8417
|
+
"gitDiffTabHeader": "s56VVa_gitDiffTabHeader",
|
|
8418
|
+
"editorMd": "s56VVa_editorMd",
|
|
8419
|
+
"editorStatusError": "s56VVa_editorStatusError",
|
|
8420
|
+
"openWithChevron": "s56VVa_openWithChevron",
|
|
8421
|
+
"editorPptxButton": "s56VVa_editorPptxButton",
|
|
8422
|
+
"gitEmpty": "s56VVa_gitEmpty",
|
|
8423
|
+
"largeFile": "s56VVa_largeFile",
|
|
8424
|
+
"explorerAppIcon": "s56VVa_explorerAppIcon",
|
|
8425
|
+
"dropDown": "s56VVa_dropDown",
|
|
8426
|
+
"sandboxDot": "s56VVa_sandboxDot",
|
|
8427
|
+
"gitPlaceholder": "s56VVa_gitPlaceholder",
|
|
8428
|
+
"tab": "s56VVa_tab",
|
|
8429
|
+
"editorSearchHint": "s56VVa_editorSearchHint",
|
|
8430
|
+
"browserBlockedButton": "s56VVa_browserBlockedButton",
|
|
8431
|
+
"mermaidBody": "s56VVa_mermaidBody",
|
|
8432
|
+
"editorGitBar": "s56VVa_editorGitBar",
|
|
8433
|
+
"gitDiffTabTitle": "s56VVa_gitDiffTabTitle",
|
|
8434
|
+
"explorerTime": "s56VVa_explorerTime",
|
|
8435
|
+
"editorModeToggle": "s56VVa_editorModeToggle",
|
|
8436
|
+
"splitChild": "s56VVa_splitChild",
|
|
8437
|
+
"dsh-row-in": "s56VVa_dsh-row-in",
|
|
8403
8438
|
"bottomResize": "s56VVa_bottomResize",
|
|
8439
|
+
"editorSearchResultLabel": "s56VVa_editorSearchResultLabel",
|
|
8440
|
+
"editorBody": "s56VVa_editorBody",
|
|
8441
|
+
"editorBinary": "s56VVa_editorBinary",
|
|
8442
|
+
"editorGitBarSpacer": "s56VVa_editorGitBarSpacer",
|
|
8443
|
+
"iconButton": "s56VVa_iconButton",
|
|
8444
|
+
"tabBarDrop": "s56VVa_tabBarDrop",
|
|
8445
|
+
"editorGitBarAdd": "s56VVa_editorGitBarAdd",
|
|
8446
|
+
"mermaidError": "s56VVa_mermaidError",
|
|
8447
|
+
"paneCard": "s56VVa_paneCard",
|
|
8448
|
+
"largeFileRecordSummary": "s56VVa_largeFileRecordSummary",
|
|
8449
|
+
"tabActive": "s56VVa_tabActive",
|
|
8450
|
+
"editorBlameSummary": "s56VVa_editorBlameSummary",
|
|
8404
8451
|
"explorerRowSelected": "s56VVa_explorerRowSelected",
|
|
8452
|
+
"editorPdfStage": "s56VVa_editorPdfStage",
|
|
8453
|
+
"explorerRenameInput": "s56VVa_explorerRenameInput",
|
|
8454
|
+
"explorerSelectionActions": "s56VVa_explorerSelectionActions",
|
|
8455
|
+
"editorSearchInput": "s56VVa_editorSearchInput",
|
|
8456
|
+
"editorPdfDragShield": "s56VVa_editorPdfDragShield",
|
|
8405
8457
|
"uploadDropChatHint": "s56VVa_uploadDropChatHint",
|
|
8406
|
-
"
|
|
8407
|
-
"
|
|
8408
|
-
"
|
|
8409
|
-
"
|
|
8410
|
-
"
|
|
8411
|
-
"
|
|
8412
|
-
"
|
|
8413
|
-
"
|
|
8414
|
-
"
|
|
8415
|
-
"
|
|
8416
|
-
"
|
|
8417
|
-
"
|
|
8418
|
-
"
|
|
8419
|
-
"
|
|
8420
|
-
"mermaidModalButton": "s56VVa_mermaidModalButton",
|
|
8421
|
-
"editorDocxZoomRange": "s56VVa_editorDocxZoomRange",
|
|
8458
|
+
"editorTreeDock": "s56VVa_editorTreeDock",
|
|
8459
|
+
"gitError": "s56VVa_gitError",
|
|
8460
|
+
"tocItem": "s56VVa_tocItem",
|
|
8461
|
+
"tabTitle": "s56VVa_tabTitle",
|
|
8462
|
+
"mermaidCopy": "s56VVa_mermaidCopy",
|
|
8463
|
+
"paneTabHidden": "s56VVa_paneTabHidden",
|
|
8464
|
+
"explorerRoot": "s56VVa_explorerRoot",
|
|
8465
|
+
"dockFallback": "s56VVa_dockFallback",
|
|
8466
|
+
"largeFileRecordNo": "s56VVa_largeFileRecordNo",
|
|
8467
|
+
"uploadOverlayCancel": "s56VVa_uploadOverlayCancel",
|
|
8468
|
+
"editorPdf": "s56VVa_editorPdf",
|
|
8469
|
+
"editorSearchResultDir": "s56VVa_editorSearchResultDir",
|
|
8470
|
+
"bottomClose": "s56VVa_bottomClose",
|
|
8471
|
+
"largeFileRecord": "s56VVa_largeFileRecord",
|
|
8422
8472
|
"dropCenter": "s56VVa_dropCenter",
|
|
8423
|
-
"
|
|
8424
|
-
"paneEmptyCards": "s56VVa_paneEmptyCards",
|
|
8425
|
-
"dirtyDot": "s56VVa_dirtyDot",
|
|
8426
|
-
"uploadDropZone": "s56VVa_uploadDropZone",
|
|
8427
|
-
"mermaidBody": "s56VVa_mermaidBody",
|
|
8428
|
-
"editorGitBarAdd": "s56VVa_editorGitBarAdd",
|
|
8473
|
+
"editorBinaryNotice": "s56VVa_editorBinaryNotice",
|
|
8429
8474
|
"splitRow": "s56VVa_splitRow",
|
|
8430
|
-
"
|
|
8431
|
-
"
|
|
8432
|
-
"
|
|
8433
|
-
"
|
|
8434
|
-
"
|
|
8435
|
-
"
|
|
8436
|
-
"
|
|
8437
|
-
"
|
|
8475
|
+
"browserBlockedTitle": "s56VVa_browserBlockedTitle",
|
|
8476
|
+
"tocItemLevel": "s56VVa_tocItemLevel",
|
|
8477
|
+
"workbench": "s56VVa_workbench",
|
|
8478
|
+
"editorGitDel": "s56VVa_editorGitDel",
|
|
8479
|
+
"browserStart": "s56VVa_browserStart",
|
|
8480
|
+
"browserBlockedActions": "s56VVa_browserBlockedActions",
|
|
8481
|
+
"explorerHiddenPane": "s56VVa_explorerHiddenPane",
|
|
8482
|
+
"editorStatus": "s56VVa_editorStatus",
|
|
8483
|
+
"toggleButton": "s56VVa_toggleButton",
|
|
8484
|
+
"editorModeButton": "s56VVa_editorModeButton",
|
|
8485
|
+
"largeFileRecordBody": "s56VVa_largeFileRecordBody",
|
|
8486
|
+
"editorGitMod": "s56VVa_editorGitMod",
|
|
8487
|
+
"browserBlockedDesc": "s56VVa_browserBlockedDesc",
|
|
8488
|
+
"gitDiffTab": "s56VVa_gitDiffTab",
|
|
8489
|
+
"explorerEmpty": "s56VVa_explorerEmpty",
|
|
8490
|
+
"sandboxStatusOff": "s56VVa_sandboxStatusOff",
|
|
8491
|
+
"uploadDropArtCut": "s56VVa_uploadDropArtCut",
|
|
8438
8492
|
"editorHtml": "s56VVa_editorHtml",
|
|
8493
|
+
"editorHtmlBlock": "s56VVa_editorHtmlBlock",
|
|
8494
|
+
"explorerActionError": "s56VVa_explorerActionError",
|
|
8495
|
+
"editorCm": "s56VVa_editorCm",
|
|
8496
|
+
"explorer": "s56VVa_explorer",
|
|
8497
|
+
"editorGitAdd": "s56VVa_editorGitAdd",
|
|
8498
|
+
"uploadOverlayProgress": "s56VVa_uploadOverlayProgress",
|
|
8499
|
+
"dropOverlay": "s56VVa_dropOverlay",
|
|
8500
|
+
"paneTab": "s56VVa_paneTab",
|
|
8439
8501
|
"tabBarRightActions": "s56VVa_tabBarRightActions",
|
|
8440
|
-
"
|
|
8441
|
-
"
|
|
8442
|
-
"
|
|
8443
|
-
"
|
|
8444
|
-
"
|
|
8502
|
+
"dividerCol": "s56VVa_dividerCol",
|
|
8503
|
+
"mermaidCode": "s56VVa_mermaidCode",
|
|
8504
|
+
"uploadOverlay": "s56VVa_uploadOverlay",
|
|
8505
|
+
"openWithName": "s56VVa_openWithName",
|
|
8506
|
+
"browserBar": "s56VVa_browserBar",
|
|
8445
8507
|
"editorSearchResult": "s56VVa_editorSearchResult",
|
|
8446
|
-
"dropLeft": "s56VVa_dropLeft",
|
|
8447
|
-
"browserBlockedActions": "s56VVa_browserBlockedActions",
|
|
8448
|
-
"tocPanel": "s56VVa_tocPanel",
|
|
8449
8508
|
"largeFileNotice": "s56VVa_largeFileNotice",
|
|
8450
|
-
"
|
|
8451
|
-
"
|
|
8452
|
-
"selectionPopup": "s56VVa_selectionPopup",
|
|
8453
|
-
"explorerRoot": "s56VVa_explorerRoot",
|
|
8454
|
-
"uploadDropHero": "s56VVa_uploadDropHero",
|
|
8455
|
-
"mermaidModal": "s56VVa_mermaidModal",
|
|
8456
|
-
"paneCard": "s56VVa_paneCard",
|
|
8457
|
-
"tab": "s56VVa_tab",
|
|
8458
|
-
"tabBoundaryError": "s56VVa_tabBoundaryError",
|
|
8459
|
-
"openWithLabel": "s56VVa_openWithLabel",
|
|
8460
|
-
"explorerRowRevealed": "s56VVa_explorerRowRevealed",
|
|
8461
|
-
"paneTab": "s56VVa_paneTab",
|
|
8462
|
-
"editorSearchResultDir": "s56VVa_editorSearchResultDir",
|
|
8509
|
+
"largeFileList": "s56VVa_largeFileList",
|
|
8510
|
+
"explorerHidden": "s56VVa_explorerHidden",
|
|
8463
8511
|
"browserBlocked": "s56VVa_browserBlocked",
|
|
8464
|
-
"tabBarDrop": "s56VVa_tabBarDrop",
|
|
8465
|
-
"gitDiffTabHeader": "s56VVa_gitDiffTabHeader",
|
|
8466
|
-
"largeFileNoticeAction": "s56VVa_largeFileNoticeAction",
|
|
8467
|
-
"editorMd": "s56VVa_editorMd",
|
|
8468
|
-
"editorPdf": "s56VVa_editorPdf",
|
|
8469
|
-
"editorSearchResultLabel": "s56VVa_editorSearchResultLabel",
|
|
8470
|
-
"paneTabHidden": "s56VVa_paneTabHidden",
|
|
8471
|
-
"dropRight": "s56VVa_dropRight",
|
|
8472
|
-
"explorerRenameInput": "s56VVa_explorerRenameInput",
|
|
8473
|
-
"editorStatusError": "s56VVa_editorStatusError",
|
|
8474
|
-
"editorPptxButton": "s56VVa_editorPptxButton",
|
|
8475
|
-
"explorerHeader": "s56VVa_explorerHeader",
|
|
8476
|
-
"editorTreePanelFull": "s56VVa_editorTreePanelFull",
|
|
8477
|
-
"uploadDropArtAccent": "s56VVa_uploadDropArtAccent",
|
|
8478
|
-
"explorerRowDropTarget": "s56VVa_explorerRowDropTarget",
|
|
8479
|
-
"uploadOverlayProgressFill": "s56VVa_uploadOverlayProgressFill",
|
|
8480
|
-
"uploadOverlayStatus": "s56VVa_uploadOverlayStatus",
|
|
8481
|
-
"editorTreeSearch": "s56VVa_editorTreeSearch",
|
|
8482
|
-
"editorMain": "s56VVa_editorMain",
|
|
8483
|
-
"explorerMuted": "s56VVa_explorerMuted",
|
|
8484
8512
|
"largeFilePageLabel": "s56VVa_largeFilePageLabel",
|
|
8485
|
-
"
|
|
8486
|
-
"
|
|
8487
|
-
"
|
|
8488
|
-
"
|
|
8489
|
-
"
|
|
8490
|
-
"
|
|
8491
|
-
"
|
|
8492
|
-
"
|
|
8493
|
-
"
|
|
8513
|
+
"tabClose": "s56VVa_tabClose",
|
|
8514
|
+
"browserInput": "s56VVa_browserInput",
|
|
8515
|
+
"largeFileDownload": "s56VVa_largeFileDownload",
|
|
8516
|
+
"explorerDir": "s56VVa_explorerDir",
|
|
8517
|
+
"editorTreePanelFull": "s56VVa_editorTreePanelFull",
|
|
8518
|
+
"paneEmptyCards": "s56VVa_paneEmptyCards",
|
|
8519
|
+
"largeFileLineNo": "s56VVa_largeFileLineNo",
|
|
8520
|
+
"largeFileNoticeAction": "s56VVa_largeFileNoticeAction",
|
|
8521
|
+
"divider": "s56VVa_divider",
|
|
8522
|
+
"bottomPanel": "s56VVa_bottomPanel",
|
|
8523
|
+
"explorerName": "s56VVa_explorerName",
|
|
8524
|
+
"orphanedType": "s56VVa_orphanedType",
|
|
8525
|
+
"tocItemText": "s56VVa_tocItemText",
|
|
8526
|
+
"dirtyDot": "s56VVa_dirtyDot",
|
|
8527
|
+
"dropLeft": "s56VVa_dropLeft",
|
|
8494
8528
|
"uploadOverlayCard": "s56VVa_uploadOverlayCard",
|
|
8495
|
-
"
|
|
8496
|
-
"
|
|
8497
|
-
"
|
|
8498
|
-
"
|
|
8499
|
-
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8504
|
-
|
|
8505
|
-
|
|
8506
|
-
|
|
8507
|
-
|
|
8508
|
-
|
|
8509
|
-
|
|
8510
|
-
|
|
8511
|
-
|
|
8512
|
-
|
|
8513
|
-
"editorModeActive": "s56VVa_editorModeActive"
|
|
8529
|
+
"chipUnread": "s56VVa_chipUnread",
|
|
8530
|
+
"editorPdfToolbar": "s56VVa_editorPdfToolbar",
|
|
8531
|
+
"editorDownloadLink": "s56VVa_editorDownloadLink",
|
|
8532
|
+
"editorBlame": "s56VVa_editorBlame"
|
|
8533
|
+
};
|
|
8534
|
+
//#endregion
|
|
8535
|
+
//#region ../../../DSH-better-sidebar/src/client/reveal-bus.ts
|
|
8536
|
+
const listeners = /* @__PURE__ */ new Set();
|
|
8537
|
+
const revealBus = {
|
|
8538
|
+
emit(path) {
|
|
8539
|
+
for (const listener of listeners) listener(path);
|
|
8540
|
+
},
|
|
8541
|
+
subscribe(listener) {
|
|
8542
|
+
listeners.add(listener);
|
|
8543
|
+
return () => {
|
|
8544
|
+
listeners.delete(listener);
|
|
8545
|
+
};
|
|
8546
|
+
}
|
|
8514
8547
|
};
|
|
8515
8548
|
//#endregion
|
|
8516
8549
|
//#region ../../../DSH-better-sidebar/src/client/FileTree.tsx
|
|
@@ -9372,20 +9405,32 @@ window.__ModuleLoader__.load({
|
|
|
9372
9405
|
visible: visible !== false,
|
|
9373
9406
|
onStale: retryDirs
|
|
9374
9407
|
});
|
|
9408
|
+
(0, react.useEffect)(() => {
|
|
9409
|
+
if (revealed.length === 0) return;
|
|
9410
|
+
setSelected(new Set(revealed));
|
|
9411
|
+
}, [revealed]);
|
|
9375
9412
|
(0, react.useEffect)(() => {
|
|
9376
9413
|
if (revealed.length === 0 || propsRef.current.hidden === true) return;
|
|
9377
9414
|
const body = bodyRef.current;
|
|
9378
9415
|
if (body === null) return;
|
|
9379
|
-
|
|
9380
|
-
|
|
9381
|
-
|
|
9382
|
-
|
|
9383
|
-
|
|
9384
|
-
|
|
9385
|
-
|
|
9386
|
-
|
|
9387
|
-
|
|
9388
|
-
|
|
9416
|
+
let frame = 0;
|
|
9417
|
+
const run = () => {
|
|
9418
|
+
const row = body.querySelector("[data-dsh-revealed]");
|
|
9419
|
+
if (row === null) {
|
|
9420
|
+
frame = window.requestAnimationFrame(run);
|
|
9421
|
+
return;
|
|
9422
|
+
}
|
|
9423
|
+
const bodyTop = body.getBoundingClientRect().top;
|
|
9424
|
+
const rowRect = row.getBoundingClientRect();
|
|
9425
|
+
const target = body.scrollTop + (rowRect.top + rowRect.height / 2) - (bodyTop + body.clientHeight / 2);
|
|
9426
|
+
const max = Math.max(body.scrollHeight - body.clientHeight, 0);
|
|
9427
|
+
body.scrollTo({
|
|
9428
|
+
top: Math.min(Math.max(target, 0), max),
|
|
9429
|
+
behavior: "auto"
|
|
9430
|
+
});
|
|
9431
|
+
};
|
|
9432
|
+
run();
|
|
9433
|
+
return () => window.cancelAnimationFrame(frame);
|
|
9389
9434
|
}, [revealed, data]);
|
|
9390
9435
|
/** Copy `text`; on success flip the row's copied label for a moment. */
|
|
9391
9436
|
const copyPath = (0, react.useCallback)((text, path) => {
|
|
@@ -9806,14 +9851,23 @@ window.__ModuleLoader__.load({
|
|
|
9806
9851
|
});
|
|
9807
9852
|
}, [reportOpenFailure]);
|
|
9808
9853
|
const revealPath = (0, react.useCallback)((path) => {
|
|
9809
|
-
|
|
9810
|
-
|
|
9811
|
-
|
|
9812
|
-
if (
|
|
9813
|
-
|
|
9814
|
-
|
|
9854
|
+
setSelected(/* @__PURE__ */ new Set([path]));
|
|
9855
|
+
window.requestAnimationFrame(() => {
|
|
9856
|
+
const body = bodyRef.current;
|
|
9857
|
+
if (body === null) return;
|
|
9858
|
+
const row = body.querySelector("[data-dsh-selected]");
|
|
9859
|
+
if (row === null) return;
|
|
9860
|
+
const bodyTop = body.getBoundingClientRect().top;
|
|
9861
|
+
const rowRect = row.getBoundingClientRect();
|
|
9862
|
+
const target = body.scrollTop + (rowRect.top + rowRect.height / 2) - (bodyTop + body.clientHeight / 2);
|
|
9863
|
+
const max = Math.max(body.scrollHeight - body.clientHeight, 0);
|
|
9864
|
+
body.scrollTo({
|
|
9865
|
+
top: Math.min(Math.max(target, 0), max),
|
|
9866
|
+
behavior: "auto"
|
|
9867
|
+
});
|
|
9815
9868
|
});
|
|
9816
|
-
}, [
|
|
9869
|
+
}, []);
|
|
9870
|
+
(0, react.useEffect)(() => revealBus.subscribe(revealPath), [revealPath]);
|
|
9817
9871
|
/** The menu label of one plugin open target: a locale key for the built-ins,
|
|
9818
9872
|
* the user's own name for custom editors, plus the SSH hint in remote mode. */
|
|
9819
9873
|
const openWithLabelOf = (target) => {
|
|
@@ -10856,13 +10910,13 @@ window.__ModuleLoader__.load({
|
|
|
10856
10910
|
];
|
|
10857
10911
|
//#endregion
|
|
10858
10912
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeFileTree.module.css.mjs
|
|
10859
|
-
const css$
|
|
10860
|
-
const tagId$
|
|
10861
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
10913
|
+
const css$10 = "._2iOZpG_treeFrame{min-width:0;display:block}._2iOZpG_treeFrame [data-kb-selected=true]{background:var(--dsw-alias-interactive-bg-active)}._2iOZpG_treeFrame [data-kb-mtime]{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;margin-left:auto;padding-left:8px}";
|
|
10914
|
+
const tagId$10 = "@sparkelf/dsh-knowledge-base/KnowledgeFileTree.module.css";
|
|
10915
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$10) + "]") === null) {
|
|
10862
10916
|
const tag = document.createElement("style");
|
|
10863
10917
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
10864
|
-
tag.dataset.pluginCss = tagId$
|
|
10865
|
-
tag.textContent = css$
|
|
10918
|
+
tag.dataset.pluginCss = tagId$10;
|
|
10919
|
+
tag.textContent = css$10;
|
|
10866
10920
|
document.head.appendChild(tag);
|
|
10867
10921
|
}
|
|
10868
10922
|
var KnowledgeFileTree_module_css_default = { "treeFrame": "_2iOZpG_treeFrame" };
|
|
@@ -11154,6 +11208,19 @@ window.__ModuleLoader__.load({
|
|
|
11154
11208
|
collapseRail: "Collapse the sidebar",
|
|
11155
11209
|
expandRail: "Expand the sidebar",
|
|
11156
11210
|
sectionKnowledge: "Knowledge base",
|
|
11211
|
+
scopeKnowledge: "Knowledge base",
|
|
11212
|
+
scopeGraph: "Graph",
|
|
11213
|
+
graphLoading: "Reading the graph tree…",
|
|
11214
|
+
graphFailed: "Could not read the graph tree.",
|
|
11215
|
+
graphRetry: "Retry",
|
|
11216
|
+
graphEmptyTitle: "No readable graph yet",
|
|
11217
|
+
graphEmptyBody: "Create a topic under a scope’s graph folder and the canvas will appear here.",
|
|
11218
|
+
graphNoAccess: "Some graphs are not visible to you.",
|
|
11219
|
+
graphUnitGraphs: "graphs",
|
|
11220
|
+
graphUnitLines: "topics",
|
|
11221
|
+
graphUnitRelations: "relations",
|
|
11222
|
+
graphUnitDocuments: "documents",
|
|
11223
|
+
graphSelectHint: "Pick a graph in the tree, then pick a topic to open its card.",
|
|
11157
11224
|
sectionPinned: "Pinned",
|
|
11158
11225
|
actionFilter: "Filter this tree",
|
|
11159
11226
|
actionNew: "New knowledge document",
|
|
@@ -11775,6 +11842,19 @@ window.__ModuleLoader__.load({
|
|
|
11775
11842
|
collapseRail: "收起侧边栏",
|
|
11776
11843
|
expandRail: "展开侧边栏",
|
|
11777
11844
|
sectionKnowledge: "知识库",
|
|
11845
|
+
scopeKnowledge: "知识库",
|
|
11846
|
+
scopeGraph: "图谱",
|
|
11847
|
+
graphLoading: "正在读取图谱…",
|
|
11848
|
+
graphFailed: "图谱读取失败。",
|
|
11849
|
+
graphRetry: "重试",
|
|
11850
|
+
graphEmptyTitle: "还没有可读的图谱",
|
|
11851
|
+
graphEmptyBody: "在作用域的「知识图谱」文件夹里建好主题后,画布会出现在这里。",
|
|
11852
|
+
graphNoAccess: "部分图谱因权限不可见。",
|
|
11853
|
+
graphUnitGraphs: "个图谱",
|
|
11854
|
+
graphUnitLines: "条线",
|
|
11855
|
+
graphUnitRelations: "篇关系",
|
|
11856
|
+
graphUnitDocuments: "篇文档",
|
|
11857
|
+
graphSelectHint: "在左侧选择图谱,再点主题查看卡片。",
|
|
11778
11858
|
sectionPinned: "置顶",
|
|
11779
11859
|
actionFilter: "筛选当前目录",
|
|
11780
11860
|
actionNew: "新建知识文档",
|
|
@@ -13826,29 +13906,31 @@ window.__ModuleLoader__.load({
|
|
|
13826
13906
|
}
|
|
13827
13907
|
//#endregion
|
|
13828
13908
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeShareDialog.module.css.mjs
|
|
13829
|
-
const css$
|
|
13830
|
-
const tagId$
|
|
13831
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
13909
|
+
const css$9 = ".nw--rq_body{flex-direction:column;gap:6px;min-width:0;display:flex}.nw--rq_intro{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-s-14);margin:0}.nw--rq_field{flex-direction:column;gap:4px;min-width:0;display:flex}.nw--rq_fieldLabel{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12)}.nw--rq_list{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-2);flex-direction:column;max-height:min(240px,40vh);margin:6px 0 0;padding:0;list-style:none;display:flex;overflow-y:auto}.nw--rq_option{width:100%;color:inherit;text-align:start;cursor:pointer;background:0 0;border:none;align-items:baseline;gap:6px;padding:8px 10px;display:flex}.nw--rq_option:hover,.nw--rq_option[data-active=true]{background:var(--dsw-alias-interactive-bg-hover)}.nw--rq_option[aria-selected=true]{background:var(--dsw-alias-interactive-bg-hover-accent)}.nw--rq_optionLabel{color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-14);text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.nw--rq_optionDetail{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.nw--rq_state{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);padding:8px 10px}.nw--rq_chosen{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.nw--rq_chosenLabel{color:var(--dsw-alias-label-caption);font:var(--dsw-font-xxs-12)}.nw--rq_notice{color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxs-12);margin:0}.nw--rq_hint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);margin:0}.nw--rq_dialog{width:min(520px,100%);min-height:min(680px,80vh);max-height:min(78vh,720px)}.nw--rq_content{flex:auto;min-height:0}.nw--rq_content>div:last-child{flex-direction:column;flex:auto;min-height:0;display:flex}.nw--rq_body{flex:auto;min-height:0}.nw--rq_list{overscroll-behavior:contain;flex:auto;min-height:180px;max-height:none;overflow-y:auto}";
|
|
13910
|
+
const tagId$9 = "@sparkelf/dsh-knowledge-base/KnowledgeShareDialog.module.css";
|
|
13911
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$9) + "]") === null) {
|
|
13832
13912
|
const tag = document.createElement("style");
|
|
13833
13913
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
13834
|
-
tag.dataset.pluginCss = tagId$
|
|
13835
|
-
tag.textContent = css$
|
|
13914
|
+
tag.dataset.pluginCss = tagId$9;
|
|
13915
|
+
tag.textContent = css$9;
|
|
13836
13916
|
document.head.appendChild(tag);
|
|
13837
13917
|
}
|
|
13838
13918
|
var KnowledgeShareDialog_module_css_default = {
|
|
13839
|
-
"
|
|
13919
|
+
"chosen": "nw--rq_chosen",
|
|
13840
13920
|
"intro": "nw--rq_intro",
|
|
13921
|
+
"hint": "nw--rq_hint",
|
|
13922
|
+
"fieldLabel": "nw--rq_fieldLabel",
|
|
13923
|
+
"optionLabel": "nw--rq_optionLabel",
|
|
13841
13924
|
"list": "nw--rq_list",
|
|
13842
13925
|
"body": "nw--rq_body",
|
|
13843
|
-
"fieldLabel": "nw--rq_fieldLabel",
|
|
13844
13926
|
"optionDetail": "nw--rq_optionDetail",
|
|
13845
13927
|
"state": "nw--rq_state",
|
|
13846
|
-
"chosenLabel": "nw--rq_chosenLabel",
|
|
13847
|
-
"chosen": "nw--rq_chosen",
|
|
13848
13928
|
"notice": "nw--rq_notice",
|
|
13929
|
+
"chosenLabel": "nw--rq_chosenLabel",
|
|
13930
|
+
"content": "nw--rq_content",
|
|
13849
13931
|
"option": "nw--rq_option",
|
|
13850
|
-
"
|
|
13851
|
-
"
|
|
13932
|
+
"field": "nw--rq_field",
|
|
13933
|
+
"dialog": "nw--rq_dialog"
|
|
13852
13934
|
};
|
|
13853
13935
|
//#endregion
|
|
13854
13936
|
//#region src/client/KnowledgeShareDialog.tsx
|
|
@@ -14066,6 +14148,8 @@ window.__ModuleLoader__.load({
|
|
|
14066
14148
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
14067
14149
|
open: true,
|
|
14068
14150
|
title: copy.title,
|
|
14151
|
+
className: KnowledgeShareDialog_module_css_default.dialog,
|
|
14152
|
+
contentClassName: KnowledgeShareDialog_module_css_default.content,
|
|
14069
14153
|
description: relPath === null ? void 0 : relPath.slice(relPath.lastIndexOf("/") + 1),
|
|
14070
14154
|
closeLabel: copy.cancel,
|
|
14071
14155
|
onClose,
|
|
@@ -14084,6 +14168,7 @@ window.__ModuleLoader__.load({
|
|
|
14084
14168
|
})] }),
|
|
14085
14169
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
14086
14170
|
className: KnowledgeShareDialog_module_css_default.body,
|
|
14171
|
+
"data-testid": "share-body",
|
|
14087
14172
|
children: [
|
|
14088
14173
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
14089
14174
|
className: KnowledgeShareDialog_module_css_default.field,
|
|
@@ -14167,6 +14252,7 @@ window.__ModuleLoader__.load({
|
|
|
14167
14252
|
ref: listRef,
|
|
14168
14253
|
role: "listbox",
|
|
14169
14254
|
"aria-label": copy.search,
|
|
14255
|
+
"data-testid": "share-list",
|
|
14170
14256
|
children: [
|
|
14171
14257
|
loading && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
|
|
14172
14258
|
className: KnowledgeShareDialog_module_css_default.state,
|
|
@@ -16269,23 +16355,23 @@ window.__ModuleLoader__.load({
|
|
|
16269
16355
|
}
|
|
16270
16356
|
//#endregion
|
|
16271
16357
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeAudit.module.css.mjs
|
|
16272
|
-
const css$
|
|
16273
|
-
const tagId$
|
|
16274
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
16358
|
+
const css$8 = "._0xqcPG_audit{flex-direction:column;gap:12px;display:flex}._0xqcPG_tabs{align-self:flex-start}._0xqcPG_pathCell{font:var(--dsw-font-xxxs-11) var(--ds-font-family-code);color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}._0xqcPG_pager{justify-content:flex-start;align-items:center;gap:8px;margin-top:8px;display:flex}._0xqcPG_pagerTotal,._0xqcPG_pagerPosition{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);font-variant-numeric:tabular-nums;white-space:nowrap}._0xqcPG_pagerPosition{text-align:center;min-width:4em}._0xqcPG_pagerSize{align-items:center;gap:6px;margin-left:auto;display:flex}._0xqcPG_pagerSizeLabel{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);white-space:nowrap}";
|
|
16359
|
+
const tagId$8 = "@sparkelf/dsh-knowledge-base/KnowledgeAudit.module.css";
|
|
16360
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$8) + "]") === null) {
|
|
16275
16361
|
const tag = document.createElement("style");
|
|
16276
16362
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
16277
|
-
tag.dataset.pluginCss = tagId$
|
|
16278
|
-
tag.textContent = css$
|
|
16363
|
+
tag.dataset.pluginCss = tagId$8;
|
|
16364
|
+
tag.textContent = css$8;
|
|
16279
16365
|
document.head.appendChild(tag);
|
|
16280
16366
|
}
|
|
16281
16367
|
var KnowledgeAudit_module_css_default = {
|
|
16282
16368
|
"audit": "_0xqcPG_audit",
|
|
16283
|
-
"
|
|
16284
|
-
"pager": "_0xqcPG_pager",
|
|
16369
|
+
"pagerSizeLabel": "_0xqcPG_pagerSizeLabel",
|
|
16285
16370
|
"pagerTotal": "_0xqcPG_pagerTotal",
|
|
16286
|
-
"tabs": "_0xqcPG_tabs",
|
|
16287
16371
|
"pagerPosition": "_0xqcPG_pagerPosition",
|
|
16288
|
-
"
|
|
16372
|
+
"tabs": "_0xqcPG_tabs",
|
|
16373
|
+
"pathCell": "_0xqcPG_pathCell",
|
|
16374
|
+
"pager": "_0xqcPG_pager",
|
|
16289
16375
|
"pagerSize": "_0xqcPG_pagerSize"
|
|
16290
16376
|
};
|
|
16291
16377
|
//#endregion
|
|
@@ -17027,41 +17113,41 @@ window.__ModuleLoader__.load({
|
|
|
17027
17113
|
}
|
|
17028
17114
|
//#endregion
|
|
17029
17115
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeListing.module.css.mjs
|
|
17030
|
-
const css$
|
|
17031
|
-
const tagId$
|
|
17032
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
17116
|
+
const css$7 = "._95AMVa_entries,._95AMVa_entryChildren{margin:0;padding:0;list-style:none}._95AMVa_entry{box-sizing:border-box;width:100%;max-width:100%;height:28px;font:var(--dsw-font-xxs-12);color:var(--dsw-alias-label-primary);text-align:left;cursor:pointer;white-space:nowrap;animation:_95AMVa_kb-row-in .15s var(--ds-ease-in-out);background:0 0;border:none;border-radius:4px;align-items:center;gap:6px;padding:0 8px;display:flex;position:relative}._95AMVa_entry:hover{background:var(--dsw-alias-interactive-bg-hover)}._95AMVa_entry:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}._95AMVa_entryDir{font:var(--dsw-font-xxs-strong-12)}._95AMVa_entryName{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}._95AMVa_entryGlyph{flex:none;justify-content:center;align-items:center;width:14px;height:14px;display:inline-flex}._95AMVa_entryGlyph>svg{flex:none;width:14px;height:14px}._95AMVa_entryTime{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;margin-left:auto;padding-left:8px}._95AMVa_entry:hover ._95AMVa_entryTime,._95AMVa_entry:focus-within ._95AMVa_entryTime{margin-left:0}._95AMVa_entryFavorite{color:var(--dsw-static-amber-500);font:var(--dsw-font-xxs-12);flex:none;margin-left:auto;padding-left:8px;line-height:1}._95AMVa_entryFavorite+._95AMVa_entryTime{margin-left:0;padding-left:4px}._95AMVa_entry:hover ._95AMVa_entryFavorite,._95AMVa_entry:focus-within ._95AMVa_entryFavorite{margin-left:0}._95AMVa_entryRef{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);height:20px;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-strong-11);cursor:pointer;border-radius:999px;flex:none;align-items:center;margin-left:auto;padding:0 8px;display:none}._95AMVa_entryRef:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}._95AMVa_entry:hover ._95AMVa_entryRef,._95AMVa_entry:focus-within ._95AMVa_entryRef{display:inline-flex}._95AMVa_entryPin{width:20px;height:20px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:4px;flex:none;justify-content:center;align-items:center;padding:0;display:none}._95AMVa_entryPin:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}._95AMVa_entry:hover ._95AMVa_entryPin,._95AMVa_entry:focus-within ._95AMVa_entryPin,._95AMVa_entryPin[data-pinned=true]{display:inline-flex}._95AMVa_entryPin[data-pinned=true]{color:var(--dsw-alias-state-business-primary)}._95AMVa_cards{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}._95AMVa_cardItem{min-width:0}._95AMVa_card{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);width:100%;min-height:96px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);cursor:pointer;text-align:left;flex-direction:column;align-items:flex-start;gap:6px;padding:12px;display:flex}._95AMVa_card:hover{background:var(--dsw-alias-interactive-bg-hover)}._95AMVa_card:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}._95AMVa_cardDir{font:var(--dsw-font-xxs-strong-12)}._95AMVa_cardGlyph{color:var(--dsw-alias-label-secondary);align-items:center;display:inline-flex}._95AMVa_cardName{-webkit-line-clamp:2;word-break:break-all;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}._95AMVa_cardMeta{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);overflow:hidden}._95AMVa_cardTime{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;margin-top:auto}._95AMVa_entry[data-drop-target=true],._95AMVa_card[data-drop-target=true]{background:var(--dsw-alias-interactive-bg-hover-accent);outline:1px dashed var(--dsw-alias-state-business-primary);outline-offset:-1px}._95AMVa_entryCheck{width:14px;height:14px;accent-color:var(--dsw-alias-state-business-primary);cursor:pointer;flex:none;margin:0}._95AMVa_pinDropZone{box-sizing:border-box;background:var(--dsw-alias-interactive-bg-hover-accent);outline:1px dashed var(--dsw-alias-state-business-primary);outline-offset:-1px;width:100%;min-height:28px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-strong-12);border-radius:4px;justify-content:center;align-items:center;margin-bottom:4px;padding:2px 8px;display:flex}._95AMVa_emptyAction{margin-top:16px}@keyframes _95AMVa_kb-row-in{0%{opacity:0}}._95AMVa_empty{text-align:center;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-s-14);flex-direction:column;align-items:center;padding:48px 20px;display:flex}._95AMVa_emptyGlyph{color:var(--dsw-alias-label-caption);margin-bottom:12px}._95AMVa_emptyTitle{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-s-14);margin:0;line-height:1.6}";
|
|
17117
|
+
const tagId$7 = "@sparkelf/dsh-knowledge-base/KnowledgeListing.module.css";
|
|
17118
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$7) + "]") === null) {
|
|
17033
17119
|
const tag = document.createElement("style");
|
|
17034
17120
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
17035
|
-
tag.dataset.pluginCss = tagId$
|
|
17036
|
-
tag.textContent = css$
|
|
17121
|
+
tag.dataset.pluginCss = tagId$7;
|
|
17122
|
+
tag.textContent = css$7;
|
|
17037
17123
|
document.head.appendChild(tag);
|
|
17038
17124
|
}
|
|
17039
17125
|
var KnowledgeListing_module_css_default = {
|
|
17040
|
-
"
|
|
17041
|
-
"
|
|
17126
|
+
"cardTime": "_95AMVa_cardTime",
|
|
17127
|
+
"emptyAction": "_95AMVa_emptyAction",
|
|
17042
17128
|
"emptyGlyph": "_95AMVa_emptyGlyph",
|
|
17043
|
-
"cardDir": "_95AMVa_cardDir",
|
|
17044
|
-
"empty": "_95AMVa_empty",
|
|
17045
17129
|
"entryChildren": "_95AMVa_entryChildren",
|
|
17046
|
-
"
|
|
17130
|
+
"cardItem": "_95AMVa_cardItem",
|
|
17131
|
+
"cardDir": "_95AMVa_cardDir",
|
|
17047
17132
|
"entryGlyph": "_95AMVa_entryGlyph",
|
|
17048
|
-
"
|
|
17049
|
-
"card": "_95AMVa_card",
|
|
17050
|
-
"entries": "_95AMVa_entries",
|
|
17133
|
+
"entryPin": "_95AMVa_entryPin",
|
|
17051
17134
|
"entryDir": "_95AMVa_entryDir",
|
|
17135
|
+
"cardName": "_95AMVa_cardName",
|
|
17052
17136
|
"cardMeta": "_95AMVa_cardMeta",
|
|
17053
|
-
"cardTime": "_95AMVa_cardTime",
|
|
17054
17137
|
"emptyTitle": "_95AMVa_emptyTitle",
|
|
17055
|
-
"
|
|
17056
|
-
"entryTime": "_95AMVa_entryTime",
|
|
17138
|
+
"card": "_95AMVa_card",
|
|
17057
17139
|
"entry": "_95AMVa_entry",
|
|
17058
|
-
"
|
|
17059
|
-
"
|
|
17060
|
-
"cardItem": "_95AMVa_cardItem",
|
|
17140
|
+
"entries": "_95AMVa_entries",
|
|
17141
|
+
"entryTime": "_95AMVa_entryTime",
|
|
17061
17142
|
"entryName": "_95AMVa_entryName",
|
|
17062
|
-
"
|
|
17143
|
+
"entryRef": "_95AMVa_entryRef",
|
|
17144
|
+
"entryFavorite": "_95AMVa_entryFavorite",
|
|
17145
|
+
"cards": "_95AMVa_cards",
|
|
17063
17146
|
"entryCheck": "_95AMVa_entryCheck",
|
|
17064
|
-
"
|
|
17147
|
+
"empty": "_95AMVa_empty",
|
|
17148
|
+
"pinDropZone": "_95AMVa_pinDropZone",
|
|
17149
|
+
"cardGlyph": "_95AMVa_cardGlyph",
|
|
17150
|
+
"kb-row-in": "_95AMVa_kb-row-in"
|
|
17065
17151
|
};
|
|
17066
17152
|
//#endregion
|
|
17067
17153
|
//#region src/client/listingFilter.ts
|
|
@@ -17692,43 +17778,43 @@ window.__ModuleLoader__.load({
|
|
|
17692
17778
|
}
|
|
17693
17779
|
//#endregion
|
|
17694
17780
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeProgressPopover.module.css.mjs
|
|
17695
|
-
const css$
|
|
17696
|
-
const tagId$
|
|
17697
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
17781
|
+
const css$6 = ".x_PPca_bell{border-radius:var(--dsw-radius-sm);width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.x_PPca_bell:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.x_PPca_bell:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-2px}.x_PPca_badge{background:var(--dsw-alias-state-error-primary);min-width:14px;height:14px;color:var(--dsw-alias-bg-layer-1);font:var(--dsw-font-xxxs-strong-11);font-variant-numeric:tabular-nums;text-align:center;box-shadow:0 0 0 1.5px var(--dsw-alias-bg-layer-1);pointer-events:none;border-radius:999px;padding:0 3px;line-height:14px;position:absolute;bottom:-3px;right:-3px}.x_PPca_dialog{width:640px;max-width:calc(100vw - 48px)}.x_PPca_dialogContent{overscroll-behavior:contain;flex-direction:column;gap:14px;max-height:min(60vh,520px);display:flex;overflow-y:auto}.x_PPca_summary{border-bottom:.5px solid var(--dsw-alias-border-l2);align-items:center;gap:16px;padding-bottom:10px;display:flex}.x_PPca_summaryItem{align-items:baseline;gap:6px;display:flex}.x_PPca_summaryLabel{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11)}.x_PPca_summaryValue{color:var(--dsw-alias-label-primary);font:var(--dsw-font-base-strong-16);font-variant-numeric:tabular-nums}.x_PPca_group{flex-direction:column;gap:6px;display:flex}.x_PPca_list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.x_PPca_card{border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-2);border:.5px solid var(--dsw-alias-border-l2);flex-direction:column;gap:2px;padding:8px 11px;display:flex}.x_PPca_cardRow{align-items:center;gap:7px;min-width:0;display:flex}.x_PPca_cardName{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);flex:auto;overflow:hidden}.x_PPca_cardPath{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);padding-left:23px;overflow:hidden}.x_PPca_cardActions{justify-content:flex-end;padding-top:2px;display:flex}.x_PPca_badgeDone,.x_PPca_badgeFailed,.x_PPca_badgeBusy{font:var(--dsw-font-xxxs-strong-11);white-space:nowrap;border-radius:999px;flex:none;padding:1px 7px}.x_PPca_badgeDone{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-state-success-primary)}.x_PPca_badgeFailed{background:var(--dsw-alias-interactive-bg-hover-danger);color:var(--dsw-alias-state-error-primary)}.x_PPca_badgeBusy{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}.x_PPca_progressRow{align-items:center;gap:8px;padding-left:23px;display:flex}.x_PPca_progressTrack{background:var(--dsw-alias-border-l2);border-radius:999px;flex:auto;height:4px;position:relative;overflow:hidden}.x_PPca_progressFill{border-radius:inherit;background:var(--dsw-alias-brand-primary);height:100%;transition:width .12s linear;display:block}.x_PPca_progressFillIndeterminate{border-radius:inherit;background:var(--dsw-alias-brand-primary);width:40%;animation:1.1s ease-in-out infinite x_PPca_cardProgress;position:absolute;inset-block:0}@keyframes x_PPca_cardProgress{0%{left:-40%}to{left:100%}}.x_PPca_progressPercent{text-align:right;min-width:34px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;flex:none}@media (prefers-reduced-motion:reduce){.x_PPca_progressFillIndeterminate{animation:none;left:30%}}.x_PPca_cardReason{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);overflow-wrap:anywhere}.x_PPca_cardRawReason{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);overflow-wrap:anywhere}.x_PPca_empty{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:0;padding:12px 0}";
|
|
17782
|
+
const tagId$6 = "@sparkelf/dsh-knowledge-base/KnowledgeProgressPopover.module.css";
|
|
17783
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$6) + "]") === null) {
|
|
17698
17784
|
const tag = document.createElement("style");
|
|
17699
17785
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
17700
|
-
tag.dataset.pluginCss = tagId$
|
|
17701
|
-
tag.textContent = css$
|
|
17786
|
+
tag.dataset.pluginCss = tagId$6;
|
|
17787
|
+
tag.textContent = css$6;
|
|
17702
17788
|
document.head.appendChild(tag);
|
|
17703
17789
|
}
|
|
17704
17790
|
var KnowledgeProgressPopover_module_css_default = {
|
|
17705
|
-
"
|
|
17791
|
+
"badge": "x_PPca_badge",
|
|
17792
|
+
"summaryLabel": "x_PPca_summaryLabel",
|
|
17706
17793
|
"group": "x_PPca_group",
|
|
17707
|
-
"
|
|
17708
|
-
"
|
|
17794
|
+
"dialogContent": "x_PPca_dialogContent",
|
|
17795
|
+
"cardRawReason": "x_PPca_cardRawReason",
|
|
17709
17796
|
"bell": "x_PPca_bell",
|
|
17797
|
+
"cardActions": "x_PPca_cardActions",
|
|
17798
|
+
"badgeFailed": "x_PPca_badgeFailed",
|
|
17799
|
+
"summaryItem": "x_PPca_summaryItem",
|
|
17800
|
+
"progressRow": "x_PPca_progressRow",
|
|
17801
|
+
"card": "x_PPca_card",
|
|
17710
17802
|
"cardReason": "x_PPca_cardReason",
|
|
17711
|
-
"
|
|
17712
|
-
"
|
|
17803
|
+
"summaryValue": "x_PPca_summaryValue",
|
|
17804
|
+
"badgeDone": "x_PPca_badgeDone",
|
|
17805
|
+
"cardRow": "x_PPca_cardRow",
|
|
17806
|
+
"summary": "x_PPca_summary",
|
|
17807
|
+
"cardPath": "x_PPca_cardPath",
|
|
17808
|
+
"progressFill": "x_PPca_progressFill",
|
|
17713
17809
|
"progressPercent": "x_PPca_progressPercent",
|
|
17714
17810
|
"empty": "x_PPca_empty",
|
|
17715
|
-
"
|
|
17716
|
-
"cardRow": "x_PPca_cardRow",
|
|
17717
|
-
"badgeDone": "x_PPca_badgeDone",
|
|
17718
|
-
"summaryItem": "x_PPca_summaryItem",
|
|
17719
|
-
"summaryValue": "x_PPca_summaryValue",
|
|
17720
|
-
"card": "x_PPca_card",
|
|
17721
|
-
"progressFillIndeterminate": "x_PPca_progressFillIndeterminate",
|
|
17722
|
-
"summaryLabel": "x_PPca_summaryLabel",
|
|
17723
|
-
"badgeFailed": "x_PPca_badgeFailed",
|
|
17724
|
-
"badge": "x_PPca_badge",
|
|
17725
|
-
"dialog": "x_PPca_dialog",
|
|
17811
|
+
"cardName": "x_PPca_cardName",
|
|
17726
17812
|
"list": "x_PPca_list",
|
|
17727
|
-
"
|
|
17813
|
+
"dialog": "x_PPca_dialog",
|
|
17728
17814
|
"progressTrack": "x_PPca_progressTrack",
|
|
17729
|
-
"
|
|
17730
|
-
"
|
|
17731
|
-
"
|
|
17815
|
+
"badgeBusy": "x_PPca_badgeBusy",
|
|
17816
|
+
"progressFillIndeterminate": "x_PPca_progressFillIndeterminate",
|
|
17817
|
+
"cardProgress": "x_PPca_cardProgress"
|
|
17732
17818
|
};
|
|
17733
17819
|
//#endregion
|
|
17734
17820
|
//#region src/client/KnowledgeProgressPopover.tsx
|
|
@@ -18349,77 +18435,695 @@ window.__ModuleLoader__.load({
|
|
|
18349
18435
|
body
|
|
18350
18436
|
});
|
|
18351
18437
|
};
|
|
18352
|
-
request.onerror = () => {
|
|
18353
|
-
finish({
|
|
18354
|
-
status: 0,
|
|
18355
|
-
body: void 0,
|
|
18356
|
-
transportError: "the network request failed"
|
|
18357
|
-
});
|
|
18438
|
+
request.onerror = () => {
|
|
18439
|
+
finish({
|
|
18440
|
+
status: 0,
|
|
18441
|
+
body: void 0,
|
|
18442
|
+
transportError: "the network request failed"
|
|
18443
|
+
});
|
|
18444
|
+
};
|
|
18445
|
+
request.onabort = () => {
|
|
18446
|
+
finish({
|
|
18447
|
+
status: 0,
|
|
18448
|
+
body: void 0,
|
|
18449
|
+
transportError: "the upload was cancelled"
|
|
18450
|
+
});
|
|
18451
|
+
};
|
|
18452
|
+
request.ontimeout = () => {
|
|
18453
|
+
finish({
|
|
18454
|
+
status: 0,
|
|
18455
|
+
body: void 0,
|
|
18456
|
+
transportError: "the upload timed out"
|
|
18457
|
+
});
|
|
18458
|
+
};
|
|
18459
|
+
try {
|
|
18460
|
+
request.send(JSON.stringify(payload));
|
|
18461
|
+
} catch (error) {
|
|
18462
|
+
finish({
|
|
18463
|
+
status: 0,
|
|
18464
|
+
body: void 0,
|
|
18465
|
+
transportError: error instanceof Error ? error.message : "the upload could not be started"
|
|
18466
|
+
});
|
|
18467
|
+
}
|
|
18468
|
+
});
|
|
18469
|
+
}
|
|
18470
|
+
//#endregion
|
|
18471
|
+
//#region src/client/KnowledgeSectionHeader.tsx
|
|
18472
|
+
/**
|
|
18473
|
+
* Render one section band.
|
|
18474
|
+
* @param props - the name, its trailing controls, and optional placement.
|
|
18475
|
+
* @returns The band.
|
|
18476
|
+
*/
|
|
18477
|
+
function KnowledgeSectionHeader(props) {
|
|
18478
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18479
|
+
className: props.className === void 0 ? KnowledgePanel_module_css_default.sectionHeader : KnowledgePanel_module_css_default.sectionHeader + " " + props.className,
|
|
18480
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18481
|
+
className: KnowledgePanel_module_css_default.sectionName,
|
|
18482
|
+
children: props.name
|
|
18483
|
+
}), props.actions !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18484
|
+
className: KnowledgePanel_module_css_default.sectionActions,
|
|
18485
|
+
children: props.actions
|
|
18486
|
+
})]
|
|
18487
|
+
});
|
|
18488
|
+
}
|
|
18489
|
+
/**
|
|
18490
|
+
* Render one glyph button.
|
|
18491
|
+
*
|
|
18492
|
+
* A native button with the band's own class rather than the `Button` primitive:
|
|
18493
|
+
* that primitive is the product's labelled action at a 36px control height, while
|
|
18494
|
+
* this is the 28x28 icon control the band is specified around.
|
|
18495
|
+
* @param props - the accessible name, glyph, and activation handler.
|
|
18496
|
+
* @returns The button.
|
|
18497
|
+
*/
|
|
18498
|
+
function KnowledgeIconButton(props) {
|
|
18499
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
18500
|
+
type: "button",
|
|
18501
|
+
className: KnowledgePanel_module_css_default.iconButton,
|
|
18502
|
+
"aria-label": props.label,
|
|
18503
|
+
title: props.label,
|
|
18504
|
+
...props.pressed === void 0 ? {} : { "aria-pressed": props.pressed },
|
|
18505
|
+
...props.disabled === true ? { disabled: true } : {},
|
|
18506
|
+
onClick: props.onClick,
|
|
18507
|
+
children: props.children
|
|
18508
|
+
});
|
|
18509
|
+
}
|
|
18510
|
+
//#endregion
|
|
18511
|
+
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/graph/KnowledgeScopeTabs.module.css.mjs
|
|
18512
|
+
const css$5 = ".UvtP4W_tabs{align-items:center;gap:2px;min-width:0;display:inline-flex}.UvtP4W_tab{box-sizing:border-box;height:26px;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xs-13);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0 10px;line-height:26px}.UvtP4W_tab:hover{color:var(--dsw-alias-label-secondary)}.UvtP4W_tab:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-1px}.UvtP4W_tabSelected,.UvtP4W_tabSelected:hover{background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary)}";
|
|
18513
|
+
const tagId$5 = "@sparkelf/dsh-knowledge-base/KnowledgeScopeTabs.module.css";
|
|
18514
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$5) + "]") === null) {
|
|
18515
|
+
const tag = document.createElement("style");
|
|
18516
|
+
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
18517
|
+
tag.dataset.pluginCss = tagId$5;
|
|
18518
|
+
tag.textContent = css$5;
|
|
18519
|
+
document.head.appendChild(tag);
|
|
18520
|
+
}
|
|
18521
|
+
var KnowledgeScopeTabs_module_css_default = {
|
|
18522
|
+
"tab": "UvtP4W_tab",
|
|
18523
|
+
"tabs": "UvtP4W_tabs",
|
|
18524
|
+
"tabSelected": "UvtP4W_tabSelected"
|
|
18525
|
+
};
|
|
18526
|
+
//#endregion
|
|
18527
|
+
//#region src/client/graph/KnowledgeScopeTabs.tsx
|
|
18528
|
+
/**
|
|
18529
|
+
* The two scope pills that replace the tree band's plain title.
|
|
18530
|
+
*
|
|
18531
|
+
* They switch the navigation tree's DATA SOURCE (knowledge folders or graph
|
|
18532
|
+
* scopes), not the list/grid presentation; that is why they sit where the band's
|
|
18533
|
+
* name used to be rather than in the view-mode control.
|
|
18534
|
+
*
|
|
18535
|
+
* The selected pill takes `bg-layer-2` and `label-primary`; the unselected one
|
|
18536
|
+
* keeps the band's `label-tertiary`. Metrics are the brief's: a 26px control, 13px
|
|
18537
|
+
* type, 6px radius.
|
|
18538
|
+
*
|
|
18539
|
+
* @module @sparkelf/dsh-knowledge-base/client/graph/KnowledgeScopeTabs
|
|
18540
|
+
*/
|
|
18541
|
+
/**
|
|
18542
|
+
* Render the scope tablist.
|
|
18543
|
+
*
|
|
18544
|
+
* @param props - the current scope, its setter, and both labels.
|
|
18545
|
+
* @returns The two pills.
|
|
18546
|
+
*/
|
|
18547
|
+
function KnowledgeScopeTabs(props) {
|
|
18548
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18549
|
+
className: KnowledgeScopeTabs_module_css_default.tabs,
|
|
18550
|
+
role: "tablist",
|
|
18551
|
+
"aria-label": props.label,
|
|
18552
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
18553
|
+
type: "button",
|
|
18554
|
+
role: "tab",
|
|
18555
|
+
"aria-selected": props.value === "kb",
|
|
18556
|
+
className: KnowledgeScopeTabs_module_css_default.tab + (props.value === "kb" ? " " + KnowledgeScopeTabs_module_css_default.tabSelected : ""),
|
|
18557
|
+
onClick: () => {
|
|
18558
|
+
props.onChange("kb");
|
|
18559
|
+
},
|
|
18560
|
+
children: props.knowledgeLabel
|
|
18561
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
18562
|
+
type: "button",
|
|
18563
|
+
role: "tab",
|
|
18564
|
+
"aria-selected": props.value === "graph",
|
|
18565
|
+
className: KnowledgeScopeTabs_module_css_default.tab + (props.value === "graph" ? " " + KnowledgeScopeTabs_module_css_default.tabSelected : ""),
|
|
18566
|
+
onClick: () => {
|
|
18567
|
+
props.onChange("graph");
|
|
18568
|
+
},
|
|
18569
|
+
children: props.graphLabel
|
|
18570
|
+
})]
|
|
18571
|
+
});
|
|
18572
|
+
}
|
|
18573
|
+
//#endregion
|
|
18574
|
+
//#region src/graphTypes.ts
|
|
18575
|
+
/** An empty tree, for the loading and failure states. */
|
|
18576
|
+
function emptyKnowledgeGraphTree() {
|
|
18577
|
+
return {
|
|
18578
|
+
scopes: [
|
|
18579
|
+
{
|
|
18580
|
+
key: "global",
|
|
18581
|
+
groups: []
|
|
18582
|
+
},
|
|
18583
|
+
{
|
|
18584
|
+
key: "department",
|
|
18585
|
+
groups: []
|
|
18586
|
+
},
|
|
18587
|
+
{
|
|
18588
|
+
key: "personal",
|
|
18589
|
+
groups: []
|
|
18590
|
+
}
|
|
18591
|
+
],
|
|
18592
|
+
caller: {
|
|
18593
|
+
userId: "",
|
|
18594
|
+
label: ""
|
|
18595
|
+
},
|
|
18596
|
+
actualRoot: "",
|
|
18597
|
+
scanned: 0,
|
|
18598
|
+
visible: 0,
|
|
18599
|
+
denied: 0
|
|
18600
|
+
};
|
|
18601
|
+
}
|
|
18602
|
+
/** Flatten the tree into the list the canvas page consumes. */
|
|
18603
|
+
function knowledgeGraphsOf(tree) {
|
|
18604
|
+
return tree.scopes.flatMap((scope) => scope.groups.flatMap((group) => group.graphs));
|
|
18605
|
+
}
|
|
18606
|
+
/**
|
|
18607
|
+
* Whether a graph or one of its topics matches the tree's in-place filter.
|
|
18608
|
+
*
|
|
18609
|
+
* This narrows what the Host already returned; it is not a permission filter and
|
|
18610
|
+
* must never be used as one. Exported so the rule can be tested without rendering
|
|
18611
|
+
* the tree.
|
|
18612
|
+
*
|
|
18613
|
+
* @param graph - one permission-filtered graph.
|
|
18614
|
+
* @param needle - already lower-cased filter term.
|
|
18615
|
+
* @returns true when the graph name or a topic title contains the term.
|
|
18616
|
+
*/
|
|
18617
|
+
function knowledgeGraphMatches(graph, needle) {
|
|
18618
|
+
if (needle === "") return true;
|
|
18619
|
+
return graph.name.toLowerCase().includes(needle) || graph.topics.some((topic) => topic.title.toLowerCase().includes(needle));
|
|
18620
|
+
}
|
|
18621
|
+
//#endregion
|
|
18622
|
+
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/graph/KnowledgeGraphTree.module.css.mjs
|
|
18623
|
+
const css$4 = ".JLttwq_tree{flex-direction:column;gap:2px;min-width:0;display:flex}.JLttwq_scope{flex-direction:column;gap:1px;display:flex}.JLttwq_scopeLabel{color:color-mix(in srgb, var(--dsw-alias-label-tertiary) 80%, var(--dsw-alias-label-primary));font:var(--dsw-font-xxxs-11);letter-spacing:.08em;text-transform:uppercase;margin:8px 0 2px;padding:0 10px;font-weight:500}.JLttwq_group{flex-direction:column;gap:1px;display:flex}.JLttwq_groupLabel{color:color-mix(in srgb, var(--dsw-alias-label-tertiary) 80%, var(--dsw-alias-label-primary));font:var(--dsw-font-xxs-12);margin:4px 0 1px;padding:0 10px}.JLttwq_graphRow{border-radius:var(--dsw-radius-sm);width:100%;height:28px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);text-align:start;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 10px;display:flex}.JLttwq_graphRow:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.JLttwq_graphActive,.JLttwq_graphActive:hover{background:var(--dsw-alias-interactive-bg-hover-accent);color:var(--dsw-alias-label-primary)}.JLttwq_graphName{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.JLttwq_counts{color:color-mix(in srgb, var(--dsw-alias-label-tertiary) 80%, var(--dsw-alias-label-primary));font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;margin-inline-start:auto}.JLttwq_topics{flex-direction:column;gap:1px;display:flex}.JLttwq_topicRow{border-radius:var(--dsw-radius-sm);width:100%;min-height:26px;color:color-mix(in srgb, var(--dsw-alias-label-tertiary) 80%, var(--dsw-alias-label-primary));font:var(--dsw-font-xxs-12);text-align:start;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;background:0 0;border:0;padding:3px 10px 3px 24px;display:block;overflow:hidden}.JLttwq_topicRow:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.JLttwq_topicActive,.JLttwq_topicActive:hover{background:var(--dsw-alias-interactive-bg-hover-accent);color:var(--dsw-alias-label-primary)}.JLttwq_state{color:color-mix(in srgb, var(--dsw-alias-label-tertiary) 80%, var(--dsw-alias-label-primary));font:var(--dsw-font-xxs-12);flex-direction:column;gap:6px;margin:0;padding:10px;display:flex}.JLttwq_emptyTitle{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-strong-12);margin:0}.JLttwq_error{color:var(--dsw-alias-state-error-primary);margin:0}.JLttwq_detail{font:var(--dsw-font-xxxs-11);overflow-wrap:anywhere;margin:0}.JLttwq_retry{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-2);height:26px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);cursor:pointer;align-self:flex-start;padding:0 10px}.JLttwq_retry:hover{background:var(--dsw-alias-interactive-bg-hover)}";
|
|
18624
|
+
const tagId$4 = "@sparkelf/dsh-knowledge-base/KnowledgeGraphTree.module.css";
|
|
18625
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
|
|
18626
|
+
const tag = document.createElement("style");
|
|
18627
|
+
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
18628
|
+
tag.dataset.pluginCss = tagId$4;
|
|
18629
|
+
tag.textContent = css$4;
|
|
18630
|
+
document.head.appendChild(tag);
|
|
18631
|
+
}
|
|
18632
|
+
var KnowledgeGraphTree_module_css_default = {
|
|
18633
|
+
"retry": "JLttwq_retry",
|
|
18634
|
+
"topicActive": "JLttwq_topicActive",
|
|
18635
|
+
"error": "JLttwq_error",
|
|
18636
|
+
"groupLabel": "JLttwq_groupLabel",
|
|
18637
|
+
"state": "JLttwq_state",
|
|
18638
|
+
"scope": "JLttwq_scope",
|
|
18639
|
+
"graphRow": "JLttwq_graphRow",
|
|
18640
|
+
"group": "JLttwq_group",
|
|
18641
|
+
"tree": "JLttwq_tree",
|
|
18642
|
+
"topicRow": "JLttwq_topicRow",
|
|
18643
|
+
"counts": "JLttwq_counts",
|
|
18644
|
+
"emptyTitle": "JLttwq_emptyTitle",
|
|
18645
|
+
"detail": "JLttwq_detail",
|
|
18646
|
+
"topics": "JLttwq_topics",
|
|
18647
|
+
"graphActive": "JLttwq_graphActive",
|
|
18648
|
+
"graphName": "JLttwq_graphName",
|
|
18649
|
+
"scopeLabel": "JLttwq_scopeLabel"
|
|
18650
|
+
};
|
|
18651
|
+
//#endregion
|
|
18652
|
+
//#region src/client/graph/KnowledgeGraphTree.tsx
|
|
18653
|
+
/**
|
|
18654
|
+
* The graph tab's rail tree: scope → graph → topic.
|
|
18655
|
+
*
|
|
18656
|
+
* It is a DOMAIN tree, not a file tree. The Host has already dropped every graph
|
|
18657
|
+
* DataOps did not resolve, so this component only narrows what it was given by the
|
|
18658
|
+
* in-place filter; it never decides who may see a graph.
|
|
18659
|
+
*
|
|
18660
|
+
* A graph row carries the same two counts the canvas header states (topics and
|
|
18661
|
+
* relations), and only the active graph expands its topics. That keeps a tree with
|
|
18662
|
+
* several graphs scannable instead of turning it into a long list of every topic in
|
|
18663
|
+
* every scope.
|
|
18664
|
+
*
|
|
18665
|
+
* @module @sparkelf/dsh-knowledge-base/client/graph/KnowledgeGraphTree
|
|
18666
|
+
*/
|
|
18667
|
+
/** The scope labels, in the order the design names them. */
|
|
18668
|
+
const SCOPE_KEYS = [
|
|
18669
|
+
{
|
|
18670
|
+
key: "global",
|
|
18671
|
+
copy: "bucketGlobal"
|
|
18672
|
+
},
|
|
18673
|
+
{
|
|
18674
|
+
key: "department",
|
|
18675
|
+
copy: "bucketDepartment"
|
|
18676
|
+
},
|
|
18677
|
+
{
|
|
18678
|
+
key: "personal",
|
|
18679
|
+
copy: "bucketPersonal"
|
|
18680
|
+
}
|
|
18681
|
+
];
|
|
18682
|
+
/**
|
|
18683
|
+
* Render the graph tree.
|
|
18684
|
+
*
|
|
18685
|
+
* @param props - load state, selection, filter, and the two selectors.
|
|
18686
|
+
* @returns The tree, or the loading/failed/empty state.
|
|
18687
|
+
*/
|
|
18688
|
+
function KnowledgeGraphTree(props) {
|
|
18689
|
+
const needle = props.filter.trim().toLowerCase();
|
|
18690
|
+
const visibleScopes = (0, react.useMemo)(() => props.state.tree.scopes.filter((scope) => scope.groups.length > 0).map((scope) => ({
|
|
18691
|
+
...scope,
|
|
18692
|
+
groups: scope.groups.map((group) => ({
|
|
18693
|
+
...group,
|
|
18694
|
+
graphs: group.graphs.filter((graph) => knowledgeGraphMatches(graph, needle))
|
|
18695
|
+
})).filter((group) => group.graphs.length > 0)
|
|
18696
|
+
})).filter((scope) => scope.groups.length > 0), [props.state.tree, needle]);
|
|
18697
|
+
if (props.state.kind === "loading" && props.state.tree.visible === 0) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
18698
|
+
className: KnowledgeGraphTree_module_css_default.state,
|
|
18699
|
+
"data-testid": "kg-tree-loading",
|
|
18700
|
+
children: props.t("graphLoading")
|
|
18701
|
+
});
|
|
18702
|
+
if (props.state.kind === "failed") return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18703
|
+
className: KnowledgeGraphTree_module_css_default.state,
|
|
18704
|
+
"data-testid": "kg-tree-failed",
|
|
18705
|
+
children: [
|
|
18706
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
18707
|
+
className: KnowledgeGraphTree_module_css_default.error,
|
|
18708
|
+
children: props.t("graphFailed")
|
|
18709
|
+
}),
|
|
18710
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
18711
|
+
className: KnowledgeGraphTree_module_css_default.detail,
|
|
18712
|
+
children: props.state.error
|
|
18713
|
+
}),
|
|
18714
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
18715
|
+
type: "button",
|
|
18716
|
+
className: KnowledgeGraphTree_module_css_default.retry,
|
|
18717
|
+
onClick: props.onRetry,
|
|
18718
|
+
children: props.t("graphRetry")
|
|
18719
|
+
})
|
|
18720
|
+
]
|
|
18721
|
+
});
|
|
18722
|
+
if (visibleScopes.length === 0) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18723
|
+
className: KnowledgeGraphTree_module_css_default.state,
|
|
18724
|
+
"data-testid": "kg-tree-empty",
|
|
18725
|
+
children: [
|
|
18726
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
18727
|
+
className: KnowledgeGraphTree_module_css_default.emptyTitle,
|
|
18728
|
+
children: props.t("graphEmptyTitle")
|
|
18729
|
+
}),
|
|
18730
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
18731
|
+
className: KnowledgeGraphTree_module_css_default.detail,
|
|
18732
|
+
children: props.t("graphEmptyBody")
|
|
18733
|
+
}),
|
|
18734
|
+
props.state.tree.denied > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
18735
|
+
className: KnowledgeGraphTree_module_css_default.detail,
|
|
18736
|
+
children: props.t("graphNoAccess")
|
|
18737
|
+
})
|
|
18738
|
+
]
|
|
18739
|
+
});
|
|
18740
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18741
|
+
className: KnowledgeGraphTree_module_css_default.tree,
|
|
18742
|
+
"data-testid": "kg-tree",
|
|
18743
|
+
children: SCOPE_KEYS.map((scopeKey) => {
|
|
18744
|
+
const scope = visibleScopes.find((candidate) => candidate.key === scopeKey.key);
|
|
18745
|
+
if (scope === void 0) return null;
|
|
18746
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
18747
|
+
className: KnowledgeGraphTree_module_css_default.scope,
|
|
18748
|
+
"data-testid": "kg-scope",
|
|
18749
|
+
"data-scope": scope.key,
|
|
18750
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
|
|
18751
|
+
className: KnowledgeGraphTree_module_css_default.scopeLabel,
|
|
18752
|
+
children: props.t(scopeKey.copy)
|
|
18753
|
+
}), scope.groups.map((group) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18754
|
+
className: KnowledgeGraphTree_module_css_default.group,
|
|
18755
|
+
children: [group.label === "" ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
18756
|
+
className: KnowledgeGraphTree_module_css_default.groupLabel,
|
|
18757
|
+
children: group.label
|
|
18758
|
+
}), group.graphs.map((graph) => {
|
|
18759
|
+
const active = graph.id === props.activeGraphId;
|
|
18760
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
18761
|
+
type: "button",
|
|
18762
|
+
className: KnowledgeGraphTree_module_css_default.graphRow + (active ? " " + KnowledgeGraphTree_module_css_default.graphActive : ""),
|
|
18763
|
+
title: graph.path,
|
|
18764
|
+
"data-testid": "kg-graph",
|
|
18765
|
+
"data-graph-id": graph.id,
|
|
18766
|
+
onClick: () => {
|
|
18767
|
+
props.onSelectGraph(graph.id);
|
|
18768
|
+
},
|
|
18769
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18770
|
+
className: KnowledgeGraphTree_module_css_default.graphName,
|
|
18771
|
+
children: graph.name
|
|
18772
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18773
|
+
className: KnowledgeGraphTree_module_css_default.counts,
|
|
18774
|
+
children: graph.counts.topics + " · " + graph.counts.links
|
|
18775
|
+
})]
|
|
18776
|
+
}), active && graph.topics.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18777
|
+
className: KnowledgeGraphTree_module_css_default.topics,
|
|
18778
|
+
children: graph.topics.map((topic) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
18779
|
+
type: "button",
|
|
18780
|
+
className: KnowledgeGraphTree_module_css_default.topicRow + (topic.id === props.activeTopicId ? " " + KnowledgeGraphTree_module_css_default.topicActive : ""),
|
|
18781
|
+
"data-testid": "kg-topic",
|
|
18782
|
+
"data-topic-id": topic.id,
|
|
18783
|
+
onClick: () => {
|
|
18784
|
+
props.onSelectTopic(graph.id, topic.id);
|
|
18785
|
+
},
|
|
18786
|
+
children: topic.title
|
|
18787
|
+
}, topic.id))
|
|
18788
|
+
})] }, graph.id);
|
|
18789
|
+
})]
|
|
18790
|
+
}, group.key))]
|
|
18791
|
+
}, scope.key);
|
|
18792
|
+
})
|
|
18793
|
+
});
|
|
18794
|
+
}
|
|
18795
|
+
//#endregion
|
|
18796
|
+
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/graph/KnowledgeGraphView.module.css.mjs
|
|
18797
|
+
const css$3 = ".Dk9FoG_host{background:var(--dsw-alias-bg-base);flex:auto;min-width:0;height:100%;min-height:0;display:flex;position:relative;overflow:hidden}.Dk9FoG_frame{background:var(--dsw-alias-bg-base);border:0;width:100%;height:100%;min-height:0;display:block}.Dk9FoG_state{min-height:240px;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);text-align:center;flex-direction:column;flex:auto;justify-content:center;align-items:center;gap:6px;padding:24px;display:flex}.Dk9FoG_emptyTitle{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-sm-strong-14);margin:0}.Dk9FoG_error{color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-sm-strong-14);margin:0}.Dk9FoG_detail{overflow-wrap:anywhere;max-width:560px;margin:0}.Dk9FoG_retry{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-2);height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);cursor:pointer;margin-top:4px;padding:0 12px}.Dk9FoG_retry:hover{background:var(--dsw-alias-interactive-bg-hover)}";
|
|
18798
|
+
const tagId$3 = "@sparkelf/dsh-knowledge-base/KnowledgeGraphView.module.css";
|
|
18799
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$3) + "]") === null) {
|
|
18800
|
+
const tag = document.createElement("style");
|
|
18801
|
+
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
18802
|
+
tag.dataset.pluginCss = tagId$3;
|
|
18803
|
+
tag.textContent = css$3;
|
|
18804
|
+
document.head.appendChild(tag);
|
|
18805
|
+
}
|
|
18806
|
+
var KnowledgeGraphView_module_css_default = {
|
|
18807
|
+
"error": "Dk9FoG_error",
|
|
18808
|
+
"state": "Dk9FoG_state",
|
|
18809
|
+
"emptyTitle": "Dk9FoG_emptyTitle",
|
|
18810
|
+
"frame": "Dk9FoG_frame",
|
|
18811
|
+
"detail": "Dk9FoG_detail",
|
|
18812
|
+
"retry": "Dk9FoG_retry",
|
|
18813
|
+
"host": "Dk9FoG_host"
|
|
18814
|
+
};
|
|
18815
|
+
//#endregion
|
|
18816
|
+
//#region src/client/graph/KnowledgeGraphView.tsx
|
|
18817
|
+
/**
|
|
18818
|
+
* The graph tab's canvas surface.
|
|
18819
|
+
*
|
|
18820
|
+
* The first version embeds the proven prototype canvas as a same-origin page. The
|
|
18821
|
+
* page owns layout, pan/zoom and the topic detail panel; this component owns the
|
|
18822
|
+
* permission-filtered data and the small message protocol:
|
|
18823
|
+
*
|
|
18824
|
+
* - host → page: `kg:set-graphs`, `kg:select-graph`, `kg:select-topic`
|
|
18825
|
+
* - page → host: `kg:ready` (the panel then (re)sends the payload), `kg:selection`
|
|
18826
|
+
* (acknowledgement only; the rail keeps its own selection state)
|
|
18827
|
+
*
|
|
18828
|
+
* Splitting the data from the rendering is what makes the later native component
|
|
18829
|
+
* a replacement of one file rather than a rewrite of the tab.
|
|
18830
|
+
*
|
|
18831
|
+
* @module @sparkelf/dsh-knowledge-base/client/graph/KnowledgeGraphView
|
|
18832
|
+
*/
|
|
18833
|
+
/**
|
|
18834
|
+
* The host tokens the embedded page consumes.
|
|
18835
|
+
*
|
|
18836
|
+
* A dedicated list rather than a blanket copy of every custom property: the page
|
|
18837
|
+
* owns its own layout variables, and only the alias colors are the host's to
|
|
18838
|
+
* decide. Missing values are omitted, so the page keeps its first-paint fallback
|
|
18839
|
+
* instead of receiving an empty string that would clear a CSS rule.
|
|
18840
|
+
*/
|
|
18841
|
+
const THEME_TOKENS = [
|
|
18842
|
+
"--dsw-alias-bg-base",
|
|
18843
|
+
"--dsw-alias-bg-layer-1",
|
|
18844
|
+
"--dsw-alias-bg-layer-2",
|
|
18845
|
+
"--dsw-alias-label-primary",
|
|
18846
|
+
"--dsw-alias-label-secondary",
|
|
18847
|
+
"--dsw-alias-label-tertiary",
|
|
18848
|
+
"--dsw-alias-border-l1",
|
|
18849
|
+
"--dsw-alias-border-l2",
|
|
18850
|
+
"--dsw-alias-state-business-primary",
|
|
18851
|
+
"--dsw-alias-link",
|
|
18852
|
+
"--dsw-alias-state-success-primary",
|
|
18853
|
+
"--dsw-alias-state-warn-primary",
|
|
18854
|
+
"--dsw-elevation-panel"
|
|
18855
|
+
];
|
|
18856
|
+
/**
|
|
18857
|
+
* Render the canvas, or the state that explains why there is none.
|
|
18858
|
+
*
|
|
18859
|
+
* @param props - the permission-filtered tree and the current selection.
|
|
18860
|
+
* @returns The canvas surface.
|
|
18861
|
+
*/
|
|
18862
|
+
function KnowledgeGraphView(props) {
|
|
18863
|
+
const frameRef = (0, react.useRef)(null);
|
|
18864
|
+
const [frameReady, setFrameReady] = (0, react.useState)(false);
|
|
18865
|
+
const sentDataRef = (0, react.useRef)(false);
|
|
18866
|
+
const loadedGraphRef = (0, react.useRef)(void 0);
|
|
18867
|
+
const loadedTopicRef = (0, react.useRef)(void 0);
|
|
18868
|
+
const graphs = (0, react.useMemo)(() => knowledgeGraphsOf(props.state.tree), [props.state.tree]);
|
|
18869
|
+
const activeGraph = graphs.find((graph) => graph.id === props.activeGraphId) ?? graphs[0];
|
|
18870
|
+
/** Post one message into the embedded page. */
|
|
18871
|
+
const post = (0, react.useCallback)((message) => {
|
|
18872
|
+
const frame = frameRef.current;
|
|
18873
|
+
if (frame === null || frame.contentWindow === null) return;
|
|
18874
|
+
frame.contentWindow.postMessage(message, "*");
|
|
18875
|
+
}, []);
|
|
18876
|
+
/**
|
|
18877
|
+
* Send the host's live color tokens into the embedded page.
|
|
18878
|
+
*
|
|
18879
|
+
* The iframe is a separate document, so `var(--dsw-*)` cannot cross the boundary
|
|
18880
|
+
* by inheritance. Reading the computed values from this document and posting them
|
|
18881
|
+
* is what keeps the canvas on the same light/dark palette as the panel instead of
|
|
18882
|
+
* carrying the prototype's fixed one.
|
|
18883
|
+
*/
|
|
18884
|
+
const sendTheme = (0, react.useCallback)(() => {
|
|
18885
|
+
const style = getComputedStyle(document.body);
|
|
18886
|
+
const tokens = {};
|
|
18887
|
+
for (const name of THEME_TOKENS) {
|
|
18888
|
+
const value = style.getPropertyValue(name).trim();
|
|
18889
|
+
if (value !== "") tokens[name] = value;
|
|
18890
|
+
}
|
|
18891
|
+
post({
|
|
18892
|
+
type: "kg:theme",
|
|
18893
|
+
tokens,
|
|
18894
|
+
dark: document.body.hasAttribute("data-ds-dark-theme")
|
|
18895
|
+
});
|
|
18896
|
+
}, [post]);
|
|
18897
|
+
/** Send the whole payload, which makes the page rebuild its canvas. */
|
|
18898
|
+
const sendAll = (0, react.useCallback)(() => {
|
|
18899
|
+
post({
|
|
18900
|
+
type: "kg:set-graphs",
|
|
18901
|
+
graphs,
|
|
18902
|
+
activeGraphId: activeGraph?.id ?? null,
|
|
18903
|
+
selectedTopicId: props.activeTopicId ?? null
|
|
18904
|
+
});
|
|
18905
|
+
loadedGraphRef.current = activeGraph?.id;
|
|
18906
|
+
loadedTopicRef.current = props.activeTopicId;
|
|
18907
|
+
sentDataRef.current = true;
|
|
18908
|
+
}, [
|
|
18909
|
+
post,
|
|
18910
|
+
graphs,
|
|
18911
|
+
activeGraph,
|
|
18912
|
+
props.activeTopicId
|
|
18913
|
+
]);
|
|
18914
|
+
const sendAllRef = (0, react.useRef)(sendAll);
|
|
18915
|
+
(0, react.useEffect)(() => {
|
|
18916
|
+
sendAllRef.current = sendAll;
|
|
18917
|
+
}, [sendAll]);
|
|
18918
|
+
const onFrameLoad = (0, react.useCallback)(() => {
|
|
18919
|
+
sentDataRef.current = false;
|
|
18920
|
+
setFrameReady(true);
|
|
18921
|
+
}, []);
|
|
18922
|
+
(0, react.useEffect)(() => {
|
|
18923
|
+
if (!frameReady) return;
|
|
18924
|
+
sendTheme();
|
|
18925
|
+
let frame = 0;
|
|
18926
|
+
const schedule = () => {
|
|
18927
|
+
cancelAnimationFrame(frame);
|
|
18928
|
+
frame = requestAnimationFrame(sendTheme);
|
|
18929
|
+
};
|
|
18930
|
+
const observer = new MutationObserver(schedule);
|
|
18931
|
+
observer.observe(document.body, {
|
|
18932
|
+
attributes: true,
|
|
18933
|
+
attributeFilter: [
|
|
18934
|
+
"data-ds-dark-theme",
|
|
18935
|
+
"class",
|
|
18936
|
+
"style"
|
|
18937
|
+
]
|
|
18938
|
+
});
|
|
18939
|
+
observer.observe(document.documentElement, {
|
|
18940
|
+
attributes: true,
|
|
18941
|
+
attributeFilter: ["class", "style"]
|
|
18942
|
+
});
|
|
18943
|
+
return () => {
|
|
18944
|
+
cancelAnimationFrame(frame);
|
|
18945
|
+
observer.disconnect();
|
|
18358
18946
|
};
|
|
18359
|
-
|
|
18360
|
-
|
|
18361
|
-
|
|
18362
|
-
|
|
18363
|
-
|
|
18364
|
-
|
|
18947
|
+
}, [frameReady, sendTheme]);
|
|
18948
|
+
(0, react.useEffect)(() => {
|
|
18949
|
+
sentDataRef.current = false;
|
|
18950
|
+
}, [props.state.tree]);
|
|
18951
|
+
(0, react.useEffect)(() => {
|
|
18952
|
+
if (!frameReady || props.state.kind !== "ready") return;
|
|
18953
|
+
if (graphs.length === 0 || sentDataRef.current) return;
|
|
18954
|
+
sendAllRef.current();
|
|
18955
|
+
}, [
|
|
18956
|
+
frameReady,
|
|
18957
|
+
props.state.kind,
|
|
18958
|
+
props.state.tree,
|
|
18959
|
+
graphs.length
|
|
18960
|
+
]);
|
|
18961
|
+
(0, react.useEffect)(() => {
|
|
18962
|
+
if (!frameReady || activeGraph === void 0) return;
|
|
18963
|
+
if (loadedGraphRef.current === activeGraph.id) return;
|
|
18964
|
+
post({
|
|
18965
|
+
type: "kg:select-graph",
|
|
18966
|
+
graphId: activeGraph.id
|
|
18967
|
+
});
|
|
18968
|
+
loadedGraphRef.current = activeGraph.id;
|
|
18969
|
+
loadedTopicRef.current = void 0;
|
|
18970
|
+
}, [
|
|
18971
|
+
activeGraph,
|
|
18972
|
+
frameReady,
|
|
18973
|
+
post
|
|
18974
|
+
]);
|
|
18975
|
+
(0, react.useEffect)(() => {
|
|
18976
|
+
if (!frameReady || props.activeTopicId === void 0) return;
|
|
18977
|
+
if (loadedTopicRef.current === props.activeTopicId) return;
|
|
18978
|
+
post({
|
|
18979
|
+
type: "kg:select-topic",
|
|
18980
|
+
topicId: props.activeTopicId
|
|
18981
|
+
});
|
|
18982
|
+
loadedTopicRef.current = props.activeTopicId;
|
|
18983
|
+
}, [
|
|
18984
|
+
props.activeTopicId,
|
|
18985
|
+
frameReady,
|
|
18986
|
+
post
|
|
18987
|
+
]);
|
|
18988
|
+
(0, react.useEffect)(() => {
|
|
18989
|
+
const onMessage = (event) => {
|
|
18990
|
+
const message = event.data;
|
|
18991
|
+
if (message === null || typeof message !== "object") return;
|
|
18992
|
+
if (message.type === "kg:ready") {
|
|
18993
|
+
sendTheme();
|
|
18994
|
+
if (!sentDataRef.current && graphs.length > 0) sendAllRef.current();
|
|
18995
|
+
}
|
|
18365
18996
|
};
|
|
18366
|
-
|
|
18367
|
-
|
|
18368
|
-
|
|
18369
|
-
body: void 0,
|
|
18370
|
-
transportError: "the upload timed out"
|
|
18371
|
-
});
|
|
18997
|
+
window.addEventListener("message", onMessage);
|
|
18998
|
+
return () => {
|
|
18999
|
+
window.removeEventListener("message", onMessage);
|
|
18372
19000
|
};
|
|
18373
|
-
|
|
18374
|
-
|
|
18375
|
-
|
|
18376
|
-
|
|
18377
|
-
|
|
18378
|
-
|
|
18379
|
-
|
|
18380
|
-
|
|
18381
|
-
|
|
19001
|
+
}, [graphs.length, sendTheme]);
|
|
19002
|
+
if (props.state.kind === "failed") return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19003
|
+
className: KnowledgeGraphView_module_css_default.state,
|
|
19004
|
+
"data-testid": "kg-view-failed",
|
|
19005
|
+
children: [
|
|
19006
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
19007
|
+
className: KnowledgeGraphView_module_css_default.error,
|
|
19008
|
+
children: props.t("graphFailed")
|
|
19009
|
+
}),
|
|
19010
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
19011
|
+
className: KnowledgeGraphView_module_css_default.detail,
|
|
19012
|
+
children: props.state.error
|
|
19013
|
+
}),
|
|
19014
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
19015
|
+
type: "button",
|
|
19016
|
+
className: KnowledgeGraphView_module_css_default.retry,
|
|
19017
|
+
onClick: props.onRetry,
|
|
19018
|
+
children: props.t("graphRetry")
|
|
19019
|
+
})
|
|
19020
|
+
]
|
|
19021
|
+
});
|
|
19022
|
+
if (props.state.kind === "loading" && graphs.length === 0) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
19023
|
+
className: KnowledgeGraphView_module_css_default.state,
|
|
19024
|
+
"data-testid": "kg-view-loading",
|
|
19025
|
+
children: props.t("graphLoading")
|
|
19026
|
+
});
|
|
19027
|
+
if (graphs.length === 0) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19028
|
+
className: KnowledgeGraphView_module_css_default.state,
|
|
19029
|
+
"data-testid": "kg-view-empty",
|
|
19030
|
+
children: [
|
|
19031
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
19032
|
+
className: KnowledgeGraphView_module_css_default.emptyTitle,
|
|
19033
|
+
children: props.t("graphEmptyTitle")
|
|
19034
|
+
}),
|
|
19035
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
19036
|
+
className: KnowledgeGraphView_module_css_default.detail,
|
|
19037
|
+
children: props.t("graphEmptyBody")
|
|
19038
|
+
}),
|
|
19039
|
+
props.state.tree.denied > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
19040
|
+
className: KnowledgeGraphView_module_css_default.detail,
|
|
19041
|
+
children: props.t("graphNoAccess")
|
|
19042
|
+
})
|
|
19043
|
+
]
|
|
19044
|
+
});
|
|
19045
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
19046
|
+
className: KnowledgeGraphView_module_css_default.host,
|
|
19047
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("iframe", {
|
|
19048
|
+
ref: frameRef,
|
|
19049
|
+
className: KnowledgeGraphView_module_css_default.frame,
|
|
19050
|
+
title: "知识图谱画布",
|
|
19051
|
+
"data-testid": "kg-canvas-frame",
|
|
19052
|
+
src: kbApiPath(KB_API.graphCanvas),
|
|
19053
|
+
onLoad: onFrameLoad
|
|
19054
|
+
})
|
|
18382
19055
|
});
|
|
18383
19056
|
}
|
|
18384
19057
|
//#endregion
|
|
18385
|
-
//#region src/client/
|
|
19058
|
+
//#region src/client/graph/useKnowledgeGraph.ts
|
|
18386
19059
|
/**
|
|
18387
|
-
*
|
|
18388
|
-
*
|
|
18389
|
-
*
|
|
19060
|
+
* The graph tab's data hook.
|
|
19061
|
+
*
|
|
19062
|
+
* The tree is loaded once per activation and kept across tab switches: moving back
|
|
19063
|
+
* to 「知识库」 and forward to 「图谱」 must not refetch or remount into a blank
|
|
19064
|
+
* canvas, because the tab is the same navigation surface with a different data
|
|
19065
|
+
* source. A caller that changes permissions reloads through {@link reload}.
|
|
19066
|
+
*
|
|
19067
|
+
* The Host's answer is already permission-filtered; this hook never filters by
|
|
19068
|
+
* itself and never receives a raw scope to trim.
|
|
19069
|
+
*
|
|
19070
|
+
* @module @sparkelf/dsh-knowledge-base/client/graph/useKnowledgeGraph
|
|
18390
19071
|
*/
|
|
18391
|
-
function KnowledgeSectionHeader(props) {
|
|
18392
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18393
|
-
className: props.className === void 0 ? KnowledgePanel_module_css_default.sectionHeader : KnowledgePanel_module_css_default.sectionHeader + " " + props.className,
|
|
18394
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18395
|
-
className: KnowledgePanel_module_css_default.sectionName,
|
|
18396
|
-
children: props.name
|
|
18397
|
-
}), props.actions !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18398
|
-
className: KnowledgePanel_module_css_default.sectionActions,
|
|
18399
|
-
children: props.actions
|
|
18400
|
-
})]
|
|
18401
|
-
});
|
|
18402
|
-
}
|
|
18403
19072
|
/**
|
|
18404
|
-
*
|
|
19073
|
+
* Load the permission-filtered graph tree when the graph tab is first shown.
|
|
18405
19074
|
*
|
|
18406
|
-
*
|
|
18407
|
-
*
|
|
18408
|
-
* this is the 28x28 icon control the band is specified around.
|
|
18409
|
-
* @param props - the accessible name, glyph, and activation handler.
|
|
18410
|
-
* @returns The button.
|
|
19075
|
+
* @param active - whether the graph tab is the current scope.
|
|
19076
|
+
* @returns The load state and a reload function.
|
|
18411
19077
|
*/
|
|
18412
|
-
function
|
|
18413
|
-
|
|
18414
|
-
|
|
18415
|
-
|
|
18416
|
-
"aria-label": props.label,
|
|
18417
|
-
title: props.label,
|
|
18418
|
-
...props.pressed === void 0 ? {} : { "aria-pressed": props.pressed },
|
|
18419
|
-
...props.disabled === true ? { disabled: true } : {},
|
|
18420
|
-
onClick: props.onClick,
|
|
18421
|
-
children: props.children
|
|
19078
|
+
function useKnowledgeGraph(active) {
|
|
19079
|
+
const [state, setState] = (0, react.useState)({
|
|
19080
|
+
kind: "idle",
|
|
19081
|
+
tree: emptyKnowledgeGraphTree()
|
|
18422
19082
|
});
|
|
19083
|
+
const mounted = (0, react.useRef)(true);
|
|
19084
|
+
(0, react.useEffect)(() => () => {
|
|
19085
|
+
mounted.current = false;
|
|
19086
|
+
}, []);
|
|
19087
|
+
const reload = (0, react.useCallback)(async () => {
|
|
19088
|
+
setState((previous) => ({
|
|
19089
|
+
kind: "loading",
|
|
19090
|
+
tree: previous.tree
|
|
19091
|
+
}));
|
|
19092
|
+
try {
|
|
19093
|
+
const response = await fetch(kbApiPath(KB_API.graph), {
|
|
19094
|
+
method: "POST",
|
|
19095
|
+
headers: { "content-type": "application/json" },
|
|
19096
|
+
body: "{}",
|
|
19097
|
+
cache: "no-store"
|
|
19098
|
+
});
|
|
19099
|
+
const body = await readKnowledgeJson(response);
|
|
19100
|
+
if (!response.ok || typeof body.error === "string") throw new Error(typeof body.error === "string" ? body.error : "HTTP " + String(response.status));
|
|
19101
|
+
const tree = body;
|
|
19102
|
+
if (!mounted.current) return;
|
|
19103
|
+
setState({
|
|
19104
|
+
kind: "ready",
|
|
19105
|
+
tree
|
|
19106
|
+
});
|
|
19107
|
+
} catch (error) {
|
|
19108
|
+
if (!mounted.current) return;
|
|
19109
|
+
setState((previous) => ({
|
|
19110
|
+
kind: "failed",
|
|
19111
|
+
tree: previous.tree,
|
|
19112
|
+
error: error instanceof Error ? error.message : String(error)
|
|
19113
|
+
}));
|
|
19114
|
+
}
|
|
19115
|
+
}, []);
|
|
19116
|
+
(0, react.useEffect)(() => {
|
|
19117
|
+
if (active && state.kind === "idle") reload();
|
|
19118
|
+
}, [
|
|
19119
|
+
active,
|
|
19120
|
+
state.kind,
|
|
19121
|
+
reload
|
|
19122
|
+
]);
|
|
19123
|
+
return {
|
|
19124
|
+
...state,
|
|
19125
|
+
reload
|
|
19126
|
+
};
|
|
18423
19127
|
}
|
|
18424
19128
|
//#endregion
|
|
18425
19129
|
//#region src/client/useFavorites.ts
|
|
@@ -19275,14 +19979,14 @@ window.__ModuleLoader__.load({
|
|
|
19275
19979
|
document.head.appendChild(tag);
|
|
19276
19980
|
}
|
|
19277
19981
|
var KnowledgeReferencePicker_module_css_default = {
|
|
19278
|
-
"body": "uUHBaG_body",
|
|
19279
|
-
"list": "uUHBaG_list",
|
|
19280
|
-
"empty": "uUHBaG_empty",
|
|
19281
19982
|
"rowWhen": "uUHBaG_rowWhen",
|
|
19282
|
-
"error": "uUHBaG_error",
|
|
19283
19983
|
"content": "uUHBaG_content",
|
|
19984
|
+
"body": "uUHBaG_body",
|
|
19985
|
+
"rowName": "uUHBaG_rowName",
|
|
19986
|
+
"list": "uUHBaG_list",
|
|
19284
19987
|
"footer": "uUHBaG_footer",
|
|
19285
|
-
"
|
|
19988
|
+
"error": "uUHBaG_error",
|
|
19989
|
+
"empty": "uUHBaG_empty"
|
|
19286
19990
|
};
|
|
19287
19991
|
//#endregion
|
|
19288
19992
|
//#region src/client/insertReadiness.ts
|
|
@@ -20163,6 +20867,37 @@ window.__ModuleLoader__.load({
|
|
|
20163
20867
|
const [state, setState] = (0, react.useState)({ kind: "loading" });
|
|
20164
20868
|
const [selection, setSelection] = (0, react.useState)({ kind: "home" });
|
|
20165
20869
|
/**
|
|
20870
|
+
* Which data source the rail tree and the content region show.
|
|
20871
|
+
*
|
|
20872
|
+
* The two pills replace the band's title; this state is the only thing they
|
|
20873
|
+
* switch. `selection` (the KB page) is deliberately left untouched while the
|
|
20874
|
+
* graph tab is open, so moving back restores the same page instead of resetting
|
|
20875
|
+
* to Home.
|
|
20876
|
+
*/
|
|
20877
|
+
const [scope, setScope] = (0, react.useState)("kb");
|
|
20878
|
+
/** The permission-filtered graph tree, loaded lazily on first activation. */
|
|
20879
|
+
const graph = useKnowledgeGraph(scope === "graph");
|
|
20880
|
+
const graphNodes = (0, react.useMemo)(() => knowledgeGraphsOf(graph.tree), [graph.tree]);
|
|
20881
|
+
const [activeGraphId, setActiveGraphId] = (0, react.useState)(void 0);
|
|
20882
|
+
const [activeTopicId, setActiveTopicId] = (0, react.useState)(void 0);
|
|
20883
|
+
const activeGraph = graphNodes.find((node) => node.id === activeGraphId);
|
|
20884
|
+
(0, react.useEffect)(() => {
|
|
20885
|
+
if (scope !== "graph" || graph.kind !== "ready" || graphNodes.length === 0) return;
|
|
20886
|
+
setActiveGraphId((current) => current !== void 0 && graphNodes.some((node) => node.id === current) ? current : graphNodes[0]?.id);
|
|
20887
|
+
}, [
|
|
20888
|
+
scope,
|
|
20889
|
+
graph.kind,
|
|
20890
|
+
graphNodes
|
|
20891
|
+
]);
|
|
20892
|
+
const selectGraph = (0, react.useCallback)((graphId) => {
|
|
20893
|
+
setActiveGraphId(graphId);
|
|
20894
|
+
setActiveTopicId(void 0);
|
|
20895
|
+
}, []);
|
|
20896
|
+
const selectTopic = (0, react.useCallback)((graphId, topicId) => {
|
|
20897
|
+
setActiveGraphId(graphId);
|
|
20898
|
+
setActiveTopicId(topicId);
|
|
20899
|
+
}, []);
|
|
20900
|
+
/**
|
|
20166
20901
|
* The open document's modification instant, reported by the preview.
|
|
20167
20902
|
*
|
|
20168
20903
|
* Held here rather than in the preview because the header draws it: the header is
|
|
@@ -20331,7 +21066,13 @@ window.__ModuleLoader__.load({
|
|
|
20331
21066
|
const [grantPath, setGrantPath] = (0, react.useState)(void 0);
|
|
20332
21067
|
const [folded, setFolded] = (0, react.useState)(readFolded);
|
|
20333
21068
|
const [treeFilter, setTreeFilter] = (0, react.useState)("");
|
|
21069
|
+
const [graphFilter, setGraphFilter] = (0, react.useState)("");
|
|
20334
21070
|
const [filterOpen, setFilterOpen] = (0, react.useState)(false);
|
|
21071
|
+
const activeFilter = scope === "graph" ? graphFilter : treeFilter;
|
|
21072
|
+
const setActiveFilter = (value) => {
|
|
21073
|
+
if (scope === "graph") setGraphFilter(value);
|
|
21074
|
+
else setTreeFilter(value);
|
|
21075
|
+
};
|
|
20335
21076
|
const [pinnedOpen, setPinnedOpen] = (0, react.useState)(true);
|
|
20336
21077
|
const [focusNew, setFocusNew] = (0, react.useState)(false);
|
|
20337
21078
|
const t = props.t ?? ((key) => key);
|
|
@@ -21078,17 +21819,23 @@ window.__ModuleLoader__.load({
|
|
|
21078
21819
|
}),
|
|
21079
21820
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
21080
21821
|
className: KnowledgePanel_module_css_default.treeBand,
|
|
21081
|
-
"aria-label": t("sectionKnowledge"),
|
|
21822
|
+
"aria-label": scope === "graph" ? t("scopeGraph") : t("sectionKnowledge"),
|
|
21082
21823
|
children: [
|
|
21083
21824
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeSectionHeader, {
|
|
21084
|
-
name:
|
|
21825
|
+
name: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeScopeTabs, {
|
|
21826
|
+
value: scope,
|
|
21827
|
+
onChange: setScope,
|
|
21828
|
+
label: t("sectionKnowledge"),
|
|
21829
|
+
knowledgeLabel: t("scopeKnowledge"),
|
|
21830
|
+
graphLabel: t("scopeGraph")
|
|
21831
|
+
}),
|
|
21085
21832
|
actions: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
21086
21833
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeIconButton, {
|
|
21087
21834
|
label: t("actionFilter"),
|
|
21088
21835
|
pressed: filterOpen,
|
|
21089
21836
|
onClick: () => {
|
|
21090
21837
|
setFilterOpen((current) => {
|
|
21091
|
-
if (current)
|
|
21838
|
+
if (current) setActiveFilter("");
|
|
21092
21839
|
return !current;
|
|
21093
21840
|
});
|
|
21094
21841
|
},
|
|
@@ -21130,7 +21877,7 @@ window.__ModuleLoader__.load({
|
|
|
21130
21877
|
children: t("filterHeading")
|
|
21131
21878
|
}),
|
|
21132
21879
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.MenuItemButton, {
|
|
21133
|
-
icon: filterOpen ||
|
|
21880
|
+
icon: filterOpen || activeFilter !== "" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconCheckOutlineRegular, { size: 16 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {}),
|
|
21134
21881
|
onSelect: () => {
|
|
21135
21882
|
setFilterOpen(true);
|
|
21136
21883
|
setSortMenuOpen(false);
|
|
@@ -21152,20 +21899,32 @@ window.__ModuleLoader__.load({
|
|
|
21152
21899
|
className: KnowledgePanel_module_css_default.treeFilter,
|
|
21153
21900
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Input, {
|
|
21154
21901
|
type: "search",
|
|
21155
|
-
value:
|
|
21902
|
+
value: activeFilter,
|
|
21156
21903
|
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconSearchOutlineRegular, { size: 16 }),
|
|
21157
21904
|
placeholder: t("filterPlaceholder"),
|
|
21158
21905
|
"aria-label": t("filterPlaceholder"),
|
|
21159
21906
|
autoFocus: true,
|
|
21160
21907
|
onChange: (event) => {
|
|
21161
|
-
|
|
21908
|
+
setActiveFilter(event.target.value);
|
|
21162
21909
|
}
|
|
21163
21910
|
})
|
|
21164
21911
|
}),
|
|
21165
21912
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
21166
21913
|
className: KnowledgePanel_module_css_default.treeScroll,
|
|
21167
21914
|
children: [
|
|
21168
|
-
|
|
21915
|
+
scope === "graph" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeGraphTree, {
|
|
21916
|
+
state: graph,
|
|
21917
|
+
t,
|
|
21918
|
+
...activeGraphId === void 0 ? {} : { activeGraphId },
|
|
21919
|
+
...activeTopicId === void 0 ? {} : { activeTopicId },
|
|
21920
|
+
filter: graphFilter,
|
|
21921
|
+
onSelectGraph: selectGraph,
|
|
21922
|
+
onSelectTopic: selectTopic,
|
|
21923
|
+
onRetry: () => {
|
|
21924
|
+
graph.reload();
|
|
21925
|
+
}
|
|
21926
|
+
}),
|
|
21927
|
+
scope !== "graph" && (config.mountPoint === "" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
21169
21928
|
className: KnowledgePanel_module_css_default.muted,
|
|
21170
21929
|
children: t("mountPointMissing")
|
|
21171
21930
|
}) : viewMode.mode === "explorer" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeFileTree, {
|
|
@@ -21274,7 +22033,7 @@ window.__ModuleLoader__.load({
|
|
|
21274
22033
|
},
|
|
21275
22034
|
children: t("actionNew")
|
|
21276
22035
|
})
|
|
21277
|
-
}),
|
|
22036
|
+
})),
|
|
21278
22037
|
selectedPaths.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeSelectionBar, {
|
|
21279
22038
|
t,
|
|
21280
22039
|
count: selectedPaths.length,
|
|
@@ -21380,11 +22139,33 @@ window.__ModuleLoader__.load({
|
|
|
21380
22139
|
children: [
|
|
21381
22140
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", {
|
|
21382
22141
|
className: KnowledgePanel_module_css_default.headerTitle,
|
|
21383
|
-
children: sectionTitle(t, rendered)
|
|
22142
|
+
children: scope === "graph" ? t("scopeGraph") + (activeGraph === void 0 ? "" : " / " + (activeGraph.group === "" ? t(activeGraph.scope === "global" ? "bucketGlobal" : activeGraph.scope === "department" ? "bucketDepartment" : "bucketPersonal") : activeGraph.group) + " / " + activeGraph.name) : sectionTitle(t, rendered)
|
|
21384
22143
|
}),
|
|
21385
22144
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
21386
22145
|
className: KnowledgePanel_module_css_default.headerFact,
|
|
21387
|
-
children:
|
|
22146
|
+
children: scope === "graph" ? activeGraph === void 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
22147
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: String(graphNodes.length) + " " + t("graphUnitGraphs") }),
|
|
22148
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
22149
|
+
className: KnowledgePanel_module_css_default.factDot,
|
|
22150
|
+
"aria-hidden": "true",
|
|
22151
|
+
children: "·"
|
|
22152
|
+
}),
|
|
22153
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("graphSelectHint") })
|
|
22154
|
+
] }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
22155
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: String(activeGraph.counts.topics) + " " + t("graphUnitLines") }),
|
|
22156
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
22157
|
+
className: KnowledgePanel_module_css_default.factDot,
|
|
22158
|
+
"aria-hidden": "true",
|
|
22159
|
+
children: "·"
|
|
22160
|
+
}),
|
|
22161
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: String(activeGraph.counts.links) + " " + t("graphUnitRelations") }),
|
|
22162
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
22163
|
+
className: KnowledgePanel_module_css_default.factDot,
|
|
22164
|
+
"aria-hidden": "true",
|
|
22165
|
+
children: "·"
|
|
22166
|
+
}),
|
|
22167
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: String(activeGraph.counts.documents) + " " + t("graphUnitDocuments") })
|
|
22168
|
+
] }) : rendered.kind === "file" ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
21388
22169
|
fileMtimeMs === void 0 ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("modifiedAt") + " " + new Date(fileMtimeMs).toLocaleString() }),
|
|
21389
22170
|
fileMtimeMs === void 0 ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
21390
22171
|
className: KnowledgePanel_module_css_default.factDot,
|
|
@@ -21423,7 +22204,7 @@ window.__ModuleLoader__.load({
|
|
|
21423
22204
|
setRefreshTick((t) => t + 1);
|
|
21424
22205
|
setProgressRefresh((n) => n + 1);
|
|
21425
22206
|
}
|
|
21426
|
-
}), pageAction]
|
|
22207
|
+
}), scope === "graph" ? null : pageAction]
|
|
21427
22208
|
}),
|
|
21428
22209
|
status.mountState === "pointer-missing" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
21429
22210
|
className: KnowledgePanel_module_css_default.headerHint,
|
|
@@ -21432,8 +22213,23 @@ window.__ModuleLoader__.load({
|
|
|
21432
22213
|
]
|
|
21433
22214
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
21434
22215
|
className: KnowledgePanel_module_css_default.content,
|
|
22216
|
+
style: scope === "graph" ? {
|
|
22217
|
+
padding: 0,
|
|
22218
|
+
overflow: "hidden",
|
|
22219
|
+
display: "flex",
|
|
22220
|
+
flexDirection: "column"
|
|
22221
|
+
} : void 0,
|
|
21435
22222
|
children: [
|
|
21436
|
-
|
|
22223
|
+
scope === "graph" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeGraphView, {
|
|
22224
|
+
state: graph,
|
|
22225
|
+
t,
|
|
22226
|
+
...activeGraphId === void 0 ? {} : { activeGraphId },
|
|
22227
|
+
...activeTopicId === void 0 ? {} : { activeTopicId },
|
|
22228
|
+
onRetry: () => {
|
|
22229
|
+
graph.reload();
|
|
22230
|
+
}
|
|
22231
|
+
}),
|
|
22232
|
+
scope !== "graph" && rendered.kind === "home" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeHome, {
|
|
21437
22233
|
t,
|
|
21438
22234
|
locale: props.locale,
|
|
21439
22235
|
sessionId: explorerSessionId,
|
|
@@ -21484,10 +22280,10 @@ window.__ModuleLoader__.load({
|
|
|
21484
22280
|
departmentName: state.kind === "ready" ? state.status.caller?.departmentName : void 0,
|
|
21485
22281
|
canManageGrants: state.kind === "ready" ? state.status.canManageGrants === true : false
|
|
21486
22282
|
}),
|
|
21487
|
-
rendered.kind === "trash" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeTrash, { t }),
|
|
21488
|
-
rendered.kind === "audit" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeAudit, { t }),
|
|
21489
|
-
rendered.kind === "settings" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeSettings, { t }),
|
|
21490
|
-
rendered.kind === "search" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeSearch, {
|
|
22283
|
+
scope !== "graph" && rendered.kind === "trash" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeTrash, { t }),
|
|
22284
|
+
scope !== "graph" && rendered.kind === "audit" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeAudit, { t }),
|
|
22285
|
+
scope !== "graph" && rendered.kind === "settings" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeSettings, { t }),
|
|
22286
|
+
scope !== "graph" && rendered.kind === "search" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeSearch, {
|
|
21491
22287
|
t,
|
|
21492
22288
|
search,
|
|
21493
22289
|
locale: props.locale,
|
|
@@ -21512,14 +22308,14 @@ window.__ModuleLoader__.load({
|
|
|
21512
22308
|
}
|
|
21513
22309
|
})
|
|
21514
22310
|
}),
|
|
21515
|
-
rendered.kind === "permissions" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgePermissions, {
|
|
22311
|
+
scope !== "graph" && rendered.kind === "permissions" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgePermissions, {
|
|
21516
22312
|
t,
|
|
21517
22313
|
mountPoint: config.mountPoint,
|
|
21518
22314
|
reloadToken: refreshTick,
|
|
21519
22315
|
initialPath: grantPath,
|
|
21520
22316
|
onAction: setPageAction
|
|
21521
22317
|
}),
|
|
21522
|
-
rendered.kind === "file" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
22318
|
+
scope !== "graph" && rendered.kind === "file" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
21523
22319
|
className: KnowledgePanel_module_css_default.openedElsewhere,
|
|
21524
22320
|
children: [
|
|
21525
22321
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconDeliverDocRegular, {
|
|
@@ -22397,58 +23193,58 @@ window.__ModuleLoader__.load({
|
|
|
22397
23193
|
document.head.appendChild(tag);
|
|
22398
23194
|
}
|
|
22399
23195
|
var WorkflowPlaza_module_css_default = {
|
|
22400
|
-
"
|
|
22401
|
-
"
|
|
22402
|
-
"cards": "lYC_0W_cards",
|
|
22403
|
-
"detailInstruction": "lYC_0W_detailInstruction",
|
|
22404
|
-
"cardTop": "lYC_0W_cardTop",
|
|
22405
|
-
"frequencies": "lYC_0W_frequencies",
|
|
22406
|
-
"body": "lYC_0W_body",
|
|
23196
|
+
"cardFoot": "lYC_0W_cardFoot",
|
|
23197
|
+
"dialogBody": "lYC_0W_dialogBody",
|
|
22407
23198
|
"cardDesc": "lYC_0W_cardDesc",
|
|
23199
|
+
"cardCron": "lYC_0W_cardCron",
|
|
23200
|
+
"page": "lYC_0W_page",
|
|
22408
23201
|
"frequencyOn": "lYC_0W_frequencyOn",
|
|
22409
|
-
"
|
|
22410
|
-
"
|
|
22411
|
-
"failure": "lYC_0W_failure",
|
|
22412
|
-
"reviewMeta": "lYC_0W_reviewMeta",
|
|
22413
|
-
"tabs": "lYC_0W_tabs",
|
|
23202
|
+
"detailFacts": "lYC_0W_detailFacts",
|
|
23203
|
+
"dialogFoot": "lYC_0W_dialogFoot",
|
|
22414
23204
|
"pageTitle": "lYC_0W_pageTitle",
|
|
22415
|
-
"
|
|
22416
|
-
"
|
|
22417
|
-
"
|
|
22418
|
-
"
|
|
22419
|
-
"
|
|
22420
|
-
"
|
|
22421
|
-
"
|
|
22422
|
-
"reviewList": "lYC_0W_reviewList",
|
|
22423
|
-
"field": "lYC_0W_field",
|
|
22424
|
-
"tabActive": "lYC_0W_tabActive",
|
|
22425
|
-
"reviewDescription": "lYC_0W_reviewDescription",
|
|
22426
|
-
"detailDescription": "lYC_0W_detailDescription",
|
|
23205
|
+
"reviewTitle": "lYC_0W_reviewTitle",
|
|
23206
|
+
"reviewNote": "lYC_0W_reviewNote",
|
|
23207
|
+
"card": "lYC_0W_card",
|
|
23208
|
+
"reviewActions": "lYC_0W_reviewActions",
|
|
23209
|
+
"cronValid": "lYC_0W_cronValid",
|
|
23210
|
+
"frequencies": "lYC_0W_frequencies",
|
|
23211
|
+
"tab": "lYC_0W_tab",
|
|
22427
23212
|
"mineStatus": "lYC_0W_mineStatus",
|
|
23213
|
+
"cardTop": "lYC_0W_cardTop",
|
|
22428
23214
|
"mineScope": "lYC_0W_mineScope",
|
|
22429
|
-
"
|
|
22430
|
-
"
|
|
22431
|
-
"
|
|
23215
|
+
"mineTags": "lYC_0W_mineTags",
|
|
23216
|
+
"cardIcon": "lYC_0W_cardIcon",
|
|
23217
|
+
"fieldLabel": "lYC_0W_fieldLabel",
|
|
22432
23218
|
"cronInput": "lYC_0W_cronInput",
|
|
22433
|
-
"cardFoot": "lYC_0W_cardFoot",
|
|
22434
|
-
"mineTime": "lYC_0W_mineTime",
|
|
22435
|
-
"dialogFoot": "lYC_0W_dialogFoot",
|
|
22436
|
-
"frequency": "lYC_0W_frequency",
|
|
22437
|
-
"failureRow": "lYC_0W_failureRow",
|
|
22438
23219
|
"state": "lYC_0W_state",
|
|
22439
|
-
"cronInvalid": "lYC_0W_cronInvalid",
|
|
22440
|
-
"headerRow": "lYC_0W_headerRow",
|
|
22441
|
-
"cardIcon": "lYC_0W_cardIcon",
|
|
22442
|
-
"cardCron": "lYC_0W_cardCron",
|
|
22443
|
-
"tab": "lYC_0W_tab",
|
|
22444
|
-
"card": "lYC_0W_card",
|
|
22445
23220
|
"review": "lYC_0W_review",
|
|
23221
|
+
"tabActive": "lYC_0W_tabActive",
|
|
23222
|
+
"field": "lYC_0W_field",
|
|
23223
|
+
"dialogIntro": "lYC_0W_dialogIntro",
|
|
23224
|
+
"reviewList": "lYC_0W_reviewList",
|
|
23225
|
+
"reviewCard": "lYC_0W_reviewCard",
|
|
23226
|
+
"reviewMeta": "lYC_0W_reviewMeta",
|
|
22446
23227
|
"cardTitle": "lYC_0W_cardTitle",
|
|
23228
|
+
"cronInvalid": "lYC_0W_cronInvalid",
|
|
23229
|
+
"reviewEmpty": "lYC_0W_reviewEmpty",
|
|
23230
|
+
"reviewDescription": "lYC_0W_reviewDescription",
|
|
22447
23231
|
"tabCount": "lYC_0W_tabCount",
|
|
22448
|
-
"
|
|
22449
|
-
"
|
|
22450
|
-
"
|
|
22451
|
-
"
|
|
23232
|
+
"mark": "lYC_0W_mark",
|
|
23233
|
+
"tabs": "lYC_0W_tabs",
|
|
23234
|
+
"detailDialogBody": "lYC_0W_detailDialogBody",
|
|
23235
|
+
"mineTime": "lYC_0W_mineTime",
|
|
23236
|
+
"cards": "lYC_0W_cards",
|
|
23237
|
+
"failureRow": "lYC_0W_failureRow",
|
|
23238
|
+
"reviewPrompt": "lYC_0W_reviewPrompt",
|
|
23239
|
+
"actions": "lYC_0W_actions",
|
|
23240
|
+
"body": "lYC_0W_body",
|
|
23241
|
+
"mineFooter": "lYC_0W_mineFooter",
|
|
23242
|
+
"detailInstruction": "lYC_0W_detailInstruction",
|
|
23243
|
+
"reviewHead": "lYC_0W_reviewHead",
|
|
23244
|
+
"detailDescription": "lYC_0W_detailDescription",
|
|
23245
|
+
"headerRow": "lYC_0W_headerRow",
|
|
23246
|
+
"frequency": "lYC_0W_frequency",
|
|
23247
|
+
"failure": "lYC_0W_failure"
|
|
22452
23248
|
};
|
|
22453
23249
|
//#endregion
|
|
22454
23250
|
//#region src/client/workflows/WorkflowPlaza.tsx
|