@sparkelf/dsh-knowledge-base 0.1.36 → 0.4.2
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/README.md +34 -0
- package/lib/client.js +1915 -837
- package/lib/client.js.map +1 -1
- package/lib/index.js +17341 -7679
- package/lib/types/client/KnowledgeMemory.d.ts +127 -0
- package/lib/types/client/graph/OriginBadges.d.ts +55 -0
- package/lib/types/client/locales.d.ts +64 -0
- package/lib/types/graphCanvas.d.ts +1 -1
- package/lib/types/graphJsonProjection.d.ts +71 -0
- package/lib/types/graphMigration.d.ts +118 -0
- package/lib/types/graphModel.d.ts +194 -0
- package/lib/types/graphPolicy.d.ts +68 -0
- package/lib/types/graphTools.d.ts +23 -4
- package/lib/types/graphTypes.d.ts +24 -0
- package/lib/types/guardianSession.d.ts +135 -0
- package/lib/types/index.d.ts +88 -14
- package/lib/types/knowledgeTools.d.ts +17 -1
- package/lib/types/memoryBindings.d.ts +119 -0
- package/lib/types/memoryContext.d.ts +83 -0
- package/lib/types/memoryGraphBootstrap.d.ts +62 -0
- package/lib/types/memoryGraphWriter.d.ts +101 -0
- package/lib/types/memoryGuardian.d.ts +123 -0
- package/lib/types/memoryGuardianTool.d.ts +56 -0
- package/lib/types/memoryPolicy.d.ts +106 -0
- package/lib/types/memoryRecordTool.d.ts +39 -0
- package/lib/types/memoryRoutes.d.ts +85 -0
- package/lib/types/memorySettings.d.ts +40 -0
- package/lib/types/memorySkillPromotion.d.ts +62 -0
- package/lib/types/memoryStore.d.ts +297 -0
- package/lib/types/memoryTools.d.ts +71 -0
- package/lib/types/memoryTriggers.d.ts +65 -0
- package/lib/types/memoryTypes.d.ts +241 -0
- package/lib/types/summaryIndex.d.ts +112 -0
- package/lib/types/summaryWriteback.d.ts +87 -0
- package/package.json +1 -1
- package/skills/memory-extract/SKILL.md +43 -0
- package/skills/memory-guardian/SKILL.md +97 -0
- package/skills/memory-sop-evaluate/SKILL.md +43 -0
package/lib/client.js
CHANGED
|
@@ -328,42 +328,42 @@ window.__ModuleLoader__.load({
|
|
|
328
328
|
}
|
|
329
329
|
//#endregion
|
|
330
330
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeSettingsSection.module.css.mjs
|
|
331
|
-
const css$
|
|
332
|
-
const tagId$
|
|
333
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
331
|
+
const css$23 = ".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}";
|
|
332
|
+
const tagId$23 = "@sparkelf/dsh-knowledge-base/KnowledgeSettingsSection.module.css";
|
|
333
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$23) + "]") === null) {
|
|
334
334
|
const tag = document.createElement("style");
|
|
335
335
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
336
|
-
tag.dataset.pluginCss = tagId$
|
|
337
|
-
tag.textContent = css$
|
|
336
|
+
tag.dataset.pluginCss = tagId$23;
|
|
337
|
+
tag.textContent = css$23;
|
|
338
338
|
document.head.appendChild(tag);
|
|
339
339
|
}
|
|
340
340
|
var KnowledgeSettingsSection_module_css_default = {
|
|
341
|
-
"
|
|
341
|
+
"pair": "c269jW_pair",
|
|
342
|
+
"steps": "c269jW_steps",
|
|
343
|
+
"notice": "c269jW_notice",
|
|
344
|
+
"logBox": "c269jW_logBox",
|
|
342
345
|
"modeRow": "c269jW_modeRow",
|
|
346
|
+
"badgeWarn": "c269jW_badgeWarn",
|
|
343
347
|
"wizard": "c269jW_wizard",
|
|
344
|
-
"logBox": "c269jW_logBox",
|
|
345
|
-
"input": "c269jW_input",
|
|
346
|
-
"groupTitle": "c269jW_groupTitle",
|
|
347
348
|
"field": "c269jW_field",
|
|
349
|
+
"input": "c269jW_input",
|
|
348
350
|
"select": "c269jW_select",
|
|
349
|
-
"
|
|
350
|
-
"
|
|
351
|
-
"pairs": "c269jW_pairs",
|
|
352
|
-
"badgeWarn": "c269jW_badgeWarn",
|
|
353
|
-
"body": "c269jW_body",
|
|
354
|
-
"error": "c269jW_error",
|
|
351
|
+
"title": "c269jW_title",
|
|
352
|
+
"fieldLabel": "c269jW_fieldLabel",
|
|
355
353
|
"log": "c269jW_log",
|
|
356
354
|
"badgeOk": "c269jW_badgeOk",
|
|
357
|
-
"
|
|
358
|
-
"
|
|
359
|
-
"
|
|
355
|
+
"detail": "c269jW_detail",
|
|
356
|
+
"pairs": "c269jW_pairs",
|
|
357
|
+
"saveRow": "c269jW_saveRow",
|
|
358
|
+
"groupTitle": "c269jW_groupTitle",
|
|
359
|
+
"modeOption": "c269jW_modeOption",
|
|
360
360
|
"step": "c269jW_step",
|
|
361
|
-
"
|
|
361
|
+
"error": "c269jW_error",
|
|
362
|
+
"section": "c269jW_section",
|
|
362
363
|
"statusLabel": "c269jW_statusLabel",
|
|
363
|
-
"
|
|
364
|
-
"detail": "c269jW_detail",
|
|
364
|
+
"stepLabel": "c269jW_stepLabel",
|
|
365
365
|
"statusRow": "c269jW_statusRow",
|
|
366
|
-
"
|
|
366
|
+
"body": "c269jW_body"
|
|
367
367
|
};
|
|
368
368
|
//#endregion
|
|
369
369
|
//#region src/client/VectorSettingsGroup.tsx
|
|
@@ -1525,25 +1525,25 @@ window.__ModuleLoader__.load({
|
|
|
1525
1525
|
}
|
|
1526
1526
|
//#endregion
|
|
1527
1527
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeLoading.module.css.mjs
|
|
1528
|
-
const css$
|
|
1529
|
-
const tagId$
|
|
1530
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
1528
|
+
const css$22 = ".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)}}";
|
|
1529
|
+
const tagId$22 = "@sparkelf/dsh-knowledge-base/KnowledgeLoading.module.css";
|
|
1530
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$22) + "]") === null) {
|
|
1531
1531
|
const tag = document.createElement("style");
|
|
1532
1532
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
1533
|
-
tag.dataset.pluginCss = tagId$
|
|
1534
|
-
tag.textContent = css$
|
|
1533
|
+
tag.dataset.pluginCss = tagId$22;
|
|
1534
|
+
tag.textContent = css$22;
|
|
1535
1535
|
document.head.appendChild(tag);
|
|
1536
1536
|
}
|
|
1537
1537
|
var KnowledgeLoading_module_css_default = {
|
|
1538
|
-
"pagesLeft": "HyIQta_pagesLeft",
|
|
1539
|
-
"pagesRight": "HyIQta_pagesRight",
|
|
1540
1538
|
"kb-page-turn": "HyIQta_kb-page-turn",
|
|
1541
|
-
"leaf": "HyIQta_leaf",
|
|
1542
1539
|
"label": "HyIQta_label",
|
|
1543
|
-
"
|
|
1540
|
+
"pagesLeft": "HyIQta_pagesLeft",
|
|
1544
1541
|
"wrap": "HyIQta_wrap",
|
|
1542
|
+
"pagesRight": "HyIQta_pagesRight",
|
|
1543
|
+
"book": "HyIQta_book",
|
|
1545
1544
|
"coverBack": "HyIQta_coverBack",
|
|
1546
|
-
"
|
|
1545
|
+
"leaf": "HyIQta_leaf",
|
|
1546
|
+
"srOnly": "HyIQta_srOnly"
|
|
1547
1547
|
};
|
|
1548
1548
|
//#endregion
|
|
1549
1549
|
//#region src/client/KnowledgeLoading.tsx
|
|
@@ -2121,203 +2121,203 @@ window.__ModuleLoader__.load({
|
|
|
2121
2121
|
}
|
|
2122
2122
|
//#endregion
|
|
2123
2123
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeHome.module.css.mjs
|
|
2124
|
-
const css$
|
|
2125
|
-
const tagId$
|
|
2126
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
2124
|
+
const css$21 = ".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_docRow{cursor:pointer}.oNvFBa_docRow:hover td{background:var(--dsw-alias-bg-layer-1)}.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_colStatus{width:10%}.oNvFBa_colActions{width:96px}.oNvFBa_statusButton{cursor:pointer;background:0 0;border:0;padding:0;display:inline-flex}.oNvFBa_statusDetail{grid-template-columns:96px 1fr;gap:6px 12px;margin:0;font-size:12px;display:grid}.oNvFBa_statusDetail dt{color:var(--dsw-alias-label-tertiary)}.oNvFBa_statusDetail dd{color:var(--dsw-alias-label-primary);word-break:break-all;margin:0}.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}";
|
|
2125
|
+
const tagId$21 = "@sparkelf/dsh-knowledge-base/KnowledgeHome.module.css";
|
|
2126
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$21) + "]") === null) {
|
|
2127
2127
|
const tag = document.createElement("style");
|
|
2128
2128
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
2129
|
-
tag.dataset.pluginCss = tagId$
|
|
2130
|
-
tag.textContent = css$
|
|
2129
|
+
tag.dataset.pluginCss = tagId$21;
|
|
2130
|
+
tag.textContent = css$21;
|
|
2131
2131
|
document.head.appendChild(tag);
|
|
2132
2132
|
}
|
|
2133
2133
|
var KnowledgeHome_module_css_default = {
|
|
2134
|
-
"cardTitle": "oNvFBa_cardTitle",
|
|
2135
|
-
"cardText": "oNvFBa_cardText",
|
|
2136
|
-
"card": "oNvFBa_card",
|
|
2137
|
-
"emptyRow": "oNvFBa_emptyRow",
|
|
2138
|
-
"shareWrap": "oNvFBa_shareWrap",
|
|
2139
|
-
"iconButton": "oNvFBa_iconButton",
|
|
2140
2134
|
"actionsCell": "oNvFBa_actionsCell",
|
|
2141
|
-
"
|
|
2135
|
+
"shareEmpty": "oNvFBa_shareEmpty",
|
|
2136
|
+
"docRow": "oNvFBa_docRow",
|
|
2137
|
+
"cardPlate": "oNvFBa_cardPlate",
|
|
2138
|
+
"statusDetail": "oNvFBa_statusDetail",
|
|
2139
|
+
"shareWrap": "oNvFBa_shareWrap",
|
|
2140
|
+
"colLocation": "oNvFBa_colLocation",
|
|
2141
|
+
"favoriteMark": "oNvFBa_favoriteMark",
|
|
2142
|
+
"colTitle": "oNvFBa_colTitle",
|
|
2142
2143
|
"rowActions": "oNvFBa_rowActions",
|
|
2144
|
+
"iconButtonDanger": "oNvFBa_iconButtonDanger",
|
|
2143
2145
|
"docPager": "oNvFBa_docPager",
|
|
2144
|
-
"colTime": "oNvFBa_colTime",
|
|
2145
|
-
"cards": "oNvFBa_cards",
|
|
2146
|
-
"rowLink": "oNvFBa_rowLink",
|
|
2147
|
-
"favoriteMark": "oNvFBa_favoriteMark",
|
|
2148
|
-
"cardMenu": "oNvFBa_cardMenu",
|
|
2149
|
-
"table": "oNvFBa_table",
|
|
2150
|
-
"shareEmpty": "oNvFBa_shareEmpty",
|
|
2151
2146
|
"iconButtonOn": "oNvFBa_iconButtonOn",
|
|
2152
|
-
"
|
|
2153
|
-
"colStatus": "oNvFBa_colStatus",
|
|
2154
|
-
"statusButton": "oNvFBa_statusButton",
|
|
2155
|
-
"colActions": "oNvFBa_colActions",
|
|
2156
|
-
"dropZoneActive": "oNvFBa_dropZoneActive",
|
|
2157
|
-
"colOwner": "oNvFBa_colOwner",
|
|
2158
|
-
"cardMenuItem": "oNvFBa_cardMenuItem",
|
|
2159
|
-
"statusDetail": "oNvFBa_statusDetail",
|
|
2160
|
-
"cardBody": "oNvFBa_cardBody",
|
|
2147
|
+
"cardTitle": "oNvFBa_cardTitle",
|
|
2161
2148
|
"shareBlock": "oNvFBa_shareBlock",
|
|
2162
|
-
"
|
|
2163
|
-
"
|
|
2149
|
+
"table": "oNvFBa_table",
|
|
2150
|
+
"colActions": "oNvFBa_colActions",
|
|
2164
2151
|
"home": "oNvFBa_home",
|
|
2165
|
-
"
|
|
2166
|
-
"
|
|
2167
|
-
"
|
|
2152
|
+
"colTime": "oNvFBa_colTime",
|
|
2153
|
+
"iconButton": "oNvFBa_iconButton",
|
|
2154
|
+
"statusButton": "oNvFBa_statusButton",
|
|
2155
|
+
"cardBody": "oNvFBa_cardBody",
|
|
2168
2156
|
"cardChevron": "oNvFBa_cardChevron",
|
|
2169
|
-
"
|
|
2157
|
+
"hiddenInput": "oNvFBa_hiddenInput",
|
|
2158
|
+
"colOwner": "oNvFBa_colOwner",
|
|
2170
2159
|
"sharePager": "oNvFBa_sharePager",
|
|
2171
|
-
"
|
|
2160
|
+
"cardText": "oNvFBa_cardText",
|
|
2161
|
+
"cardMenuItem": "oNvFBa_cardMenuItem",
|
|
2162
|
+
"card": "oNvFBa_card",
|
|
2163
|
+
"emptyRow": "oNvFBa_emptyRow",
|
|
2164
|
+
"cardSlot": "oNvFBa_cardSlot",
|
|
2165
|
+
"cards": "oNvFBa_cards",
|
|
2166
|
+
"dropZone": "oNvFBa_dropZone",
|
|
2167
|
+
"colStatus": "oNvFBa_colStatus",
|
|
2168
|
+
"muted": "oNvFBa_muted",
|
|
2169
|
+
"shareError": "oNvFBa_shareError",
|
|
2170
|
+
"cardMenu": "oNvFBa_cardMenu",
|
|
2172
2171
|
"titleCell": "oNvFBa_titleCell",
|
|
2173
|
-
"
|
|
2172
|
+
"dropZoneActive": "oNvFBa_dropZoneActive",
|
|
2173
|
+
"rowLink": "oNvFBa_rowLink"
|
|
2174
2174
|
};
|
|
2175
2175
|
//#endregion
|
|
2176
2176
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgePanel.module.css.mjs
|
|
2177
|
-
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_openFailure{border:1px solid var(--dsw-alias-state-warn-primary,#b26a00);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);border-radius:8px;flex-direction:column;gap:2px;margin:12px 18px 0;padding:9px 12px;display:flex}.uNOdFq_openFailure strong{color:var(--dsw-alias-state-warn-primary,#b26a00);font-weight:600}.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}";
|
|
2178
|
-
const tagId$
|
|
2179
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
2177
|
+
const css$20 = ".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_openFailure{border:1px solid var(--dsw-alias-state-warn-primary,#b26a00);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);border-radius:8px;flex-direction:column;gap:2px;margin:12px 18px 0;padding:9px 12px;display:flex}.uNOdFq_openFailure strong{color:var(--dsw-alias-state-warn-primary,#b26a00);font-weight:600}.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}";
|
|
2178
|
+
const tagId$20 = "@sparkelf/dsh-knowledge-base/KnowledgePanel.module.css";
|
|
2179
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$20) + "]") === null) {
|
|
2180
2180
|
const tag = document.createElement("style");
|
|
2181
2181
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
2182
|
-
tag.dataset.pluginCss = tagId$
|
|
2183
|
-
tag.textContent = css$
|
|
2182
|
+
tag.dataset.pluginCss = tagId$20;
|
|
2183
|
+
tag.textContent = css$20;
|
|
2184
2184
|
document.head.appendChild(tag);
|
|
2185
2185
|
}
|
|
2186
2186
|
var KnowledgePanel_module_css_default = {
|
|
2187
|
-
"
|
|
2187
|
+
"error": "uNOdFq_error",
|
|
2188
|
+
"field": "uNOdFq_field",
|
|
2189
|
+
"sectionHeader": "uNOdFq_sectionHeader",
|
|
2188
2190
|
"treeBand": "uNOdFq_treeBand",
|
|
2189
|
-
"
|
|
2190
|
-
"
|
|
2191
|
-
"
|
|
2191
|
+
"page": "uNOdFq_page",
|
|
2192
|
+
"railTopSpacer": "uNOdFq_railTopSpacer",
|
|
2193
|
+
"treeScroll": "uNOdFq_treeScroll",
|
|
2194
|
+
"emptyTitle": "uNOdFq_emptyTitle",
|
|
2195
|
+
"headerPath": "uNOdFq_headerPath",
|
|
2196
|
+
"hitPath": "uNOdFq_hitPath",
|
|
2197
|
+
"hitTime": "uNOdFq_hitTime",
|
|
2198
|
+
"openedElsewhere": "uNOdFq_openedElsewhere",
|
|
2199
|
+
"factDot": "uNOdFq_factDot",
|
|
2200
|
+
"pair": "uNOdFq_pair",
|
|
2201
|
+
"menu": "uNOdFq_menu",
|
|
2202
|
+
"railBody": "uNOdFq_railBody",
|
|
2192
2203
|
"headerHint": "uNOdFq_headerHint",
|
|
2193
|
-
"
|
|
2194
|
-
"
|
|
2195
|
-
"
|
|
2196
|
-
"
|
|
2204
|
+
"hit": "uNOdFq_hit",
|
|
2205
|
+
"previewColumn": "uNOdFq_previewColumn",
|
|
2206
|
+
"errorPanel": "uNOdFq_errorPanel",
|
|
2207
|
+
"errorTitle": "uNOdFq_errorTitle",
|
|
2208
|
+
"referenceNoteDismiss": "uNOdFq_referenceNoteDismiss",
|
|
2209
|
+
"referenceNote": "uNOdFq_referenceNote",
|
|
2210
|
+
"table": "uNOdFq_table",
|
|
2211
|
+
"hitActive": "uNOdFq_hitActive",
|
|
2212
|
+
"errorDetail": "uNOdFq_errorDetail",
|
|
2213
|
+
"body": "uNOdFq_body",
|
|
2214
|
+
"title": "uNOdFq_title",
|
|
2215
|
+
"openFailure": "uNOdFq_openFailure",
|
|
2216
|
+
"railBrandName": "uNOdFq_railBrandName",
|
|
2197
2217
|
"sectionActions": "uNOdFq_sectionActions",
|
|
2198
|
-
"
|
|
2199
|
-
"
|
|
2200
|
-
"
|
|
2201
|
-
"
|
|
2202
|
-
"headerPath": "uNOdFq_headerPath",
|
|
2203
|
-
"hitLine": "uNOdFq_hitLine",
|
|
2218
|
+
"railTop": "uNOdFq_railTop",
|
|
2219
|
+
"headerTitle": "uNOdFq_headerTitle",
|
|
2220
|
+
"errorGlyph": "uNOdFq_errorGlyph",
|
|
2221
|
+
"pinnedBand": "uNOdFq_pinnedBand",
|
|
2204
2222
|
"treeFilter": "uNOdFq_treeFilter",
|
|
2205
|
-
"rail": "uNOdFq_rail",
|
|
2206
|
-
"treeScroll": "uNOdFq_treeScroll",
|
|
2207
|
-
"bodyDocument": "uNOdFq_bodyDocument",
|
|
2208
|
-
"railBody": "uNOdFq_railBody",
|
|
2209
2223
|
"form": "uNOdFq_form",
|
|
2224
|
+
"hitLineNo": "uNOdFq_hitLineNo",
|
|
2225
|
+
"menuGroupLabel": "uNOdFq_menuGroupLabel",
|
|
2226
|
+
"bodyDocument": "uNOdFq_bodyDocument",
|
|
2227
|
+
"bodyCollapsed": "uNOdFq_bodyCollapsed",
|
|
2210
2228
|
"menuRow": "uNOdFq_menuRow",
|
|
2211
2229
|
"emptyGlyph": "uNOdFq_emptyGlyph",
|
|
2212
|
-
"menuSeparator": "uNOdFq_menuSeparator",
|
|
2213
|
-
"headerActions": "uNOdFq_headerActions",
|
|
2214
|
-
"title": "uNOdFq_title",
|
|
2215
|
-
"empty": "uNOdFq_empty",
|
|
2216
|
-
"tableSurface": "uNOdFq_tableSurface",
|
|
2217
|
-
"openedElsewhere": "uNOdFq_openedElsewhere",
|
|
2218
|
-
"referenceNote": "uNOdFq_referenceNote",
|
|
2219
|
-
"referenceNoteDismiss": "uNOdFq_referenceNoteDismiss",
|
|
2220
|
-
"retry": "uNOdFq_retry",
|
|
2221
|
-
"header": "uNOdFq_header",
|
|
2222
|
-
"railBrand": "uNOdFq_railBrand",
|
|
2223
|
-
"emptyTitle": "uNOdFq_emptyTitle",
|
|
2224
2230
|
"searchBox": "uNOdFq_searchBox",
|
|
2225
|
-
"
|
|
2226
|
-
"
|
|
2227
|
-
"
|
|
2228
|
-
"
|
|
2229
|
-
"
|
|
2230
|
-
"
|
|
2231
|
-
"
|
|
2231
|
+
"menuFolded": "uNOdFq_menuFolded",
|
|
2232
|
+
"subhead": "uNOdFq_subhead",
|
|
2233
|
+
"previewLayout": "uNOdFq_previewLayout",
|
|
2234
|
+
"muted": "uNOdFq_muted",
|
|
2235
|
+
"header": "uNOdFq_header",
|
|
2236
|
+
"retry": "uNOdFq_retry",
|
|
2237
|
+
"headerFact": "uNOdFq_headerFact",
|
|
2232
2238
|
"notice": "uNOdFq_notice",
|
|
2233
|
-
"
|
|
2234
|
-
"hit": "uNOdFq_hit",
|
|
2235
|
-
"bodyCollapsed": "uNOdFq_bodyCollapsed",
|
|
2236
|
-
"body": "uNOdFq_body",
|
|
2237
|
-
"menuRowActive": "uNOdFq_menuRowActive",
|
|
2239
|
+
"iconButton": "uNOdFq_iconButton",
|
|
2238
2240
|
"preview": "uNOdFq_preview",
|
|
2241
|
+
"menuRowActive": "uNOdFq_menuRowActive",
|
|
2239
2242
|
"input": "uNOdFq_input",
|
|
2240
|
-
"
|
|
2241
|
-
"
|
|
2242
|
-
"
|
|
2243
|
-
"
|
|
2244
|
-
"contentColumn": "uNOdFq_contentColumn",
|
|
2245
|
-
"openFailure": "uNOdFq_openFailure",
|
|
2246
|
-
"field": "uNOdFq_field",
|
|
2247
|
-
"errorTitle": "uNOdFq_errorTitle",
|
|
2248
|
-
"errorGlyph": "uNOdFq_errorGlyph",
|
|
2249
|
-
"hitLineNo": "uNOdFq_hitLineNo",
|
|
2250
|
-
"pair": "uNOdFq_pair",
|
|
2251
|
-
"railBrandName": "uNOdFq_railBrandName",
|
|
2252
|
-
"errorDetail": "uNOdFq_errorDetail",
|
|
2253
|
-
"headerTitle": "uNOdFq_headerTitle",
|
|
2243
|
+
"tableSurface": "uNOdFq_tableSurface",
|
|
2244
|
+
"rail": "uNOdFq_rail",
|
|
2245
|
+
"headerActions": "uNOdFq_headerActions",
|
|
2246
|
+
"menuLabel": "uNOdFq_menuLabel",
|
|
2254
2247
|
"hits": "uNOdFq_hits",
|
|
2248
|
+
"content": "uNOdFq_content",
|
|
2249
|
+
"hitLine": "uNOdFq_hitLine",
|
|
2250
|
+
"menuSeparator": "uNOdFq_menuSeparator",
|
|
2251
|
+
"surface": "uNOdFq_surface",
|
|
2255
2252
|
"pairs": "uNOdFq_pairs",
|
|
2256
|
-
"
|
|
2253
|
+
"contentColumn": "uNOdFq_contentColumn",
|
|
2254
|
+
"empty": "uNOdFq_empty",
|
|
2255
|
+
"menuGlyph": "uNOdFq_menuGlyph",
|
|
2256
|
+
"railBrand": "uNOdFq_railBrand",
|
|
2257
2257
|
"sectionName": "uNOdFq_sectionName",
|
|
2258
|
-
"
|
|
2259
|
-
"
|
|
2258
|
+
"hitName": "uNOdFq_hitName",
|
|
2259
|
+
"path": "uNOdFq_path"
|
|
2260
2260
|
};
|
|
2261
2261
|
//#endregion
|
|
2262
2262
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeTemplates.module.css.mjs
|
|
2263
|
-
const css$
|
|
2264
|
-
const tagId$
|
|
2265
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
2263
|
+
const css$19 = ".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)}";
|
|
2264
|
+
const tagId$19 = "@sparkelf/dsh-knowledge-base/KnowledgeTemplates.module.css";
|
|
2265
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$19) + "]") === null) {
|
|
2266
2266
|
const tag = document.createElement("style");
|
|
2267
2267
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
2268
|
-
tag.dataset.pluginCss = tagId$
|
|
2269
|
-
tag.textContent = css$
|
|
2268
|
+
tag.dataset.pluginCss = tagId$19;
|
|
2269
|
+
tag.textContent = css$19;
|
|
2270
2270
|
document.head.appendChild(tag);
|
|
2271
2271
|
}
|
|
2272
2272
|
var KnowledgeTemplates_module_css_default = {
|
|
2273
|
-
"fieldHint": "Tg9J7q_fieldHint",
|
|
2274
|
-
"categoryChip": "Tg9J7q_categoryChip",
|
|
2275
|
-
"quickFilters": "Tg9J7q_quickFilters",
|
|
2276
|
-
"quickFilter": "Tg9J7q_quickFilter",
|
|
2277
|
-
"destination": "Tg9J7q_destination",
|
|
2278
|
-
"notice": "Tg9J7q_notice",
|
|
2279
|
-
"cardTags": "Tg9J7q_cardTags",
|
|
2280
|
-
"cardTitle": "Tg9J7q_cardTitle",
|
|
2281
|
-
"cardHead": "Tg9J7q_cardHead",
|
|
2282
|
-
"field": "Tg9J7q_field",
|
|
2283
2273
|
"formActions": "Tg9J7q_formActions",
|
|
2284
|
-
"footer": "Tg9J7q_footer",
|
|
2285
|
-
"documentPage": "Tg9J7q_documentPage",
|
|
2286
|
-
"cardIcon": "Tg9J7q_cardIcon",
|
|
2287
|
-
"fileInput": "Tg9J7q_fileInput",
|
|
2288
|
-
"lineWide": "Tg9J7q_lineWide",
|
|
2289
|
-
"sheetGrid": "Tg9J7q_sheetGrid",
|
|
2290
|
-
"previewContent": "Tg9J7q_previewContent",
|
|
2291
2274
|
"grid": "Tg9J7q_grid",
|
|
2275
|
+
"cardTags": "Tg9J7q_cardTags",
|
|
2276
|
+
"destination": "Tg9J7q_destination",
|
|
2277
|
+
"cardFoot": "Tg9J7q_cardFoot",
|
|
2278
|
+
"modal": "Tg9J7q_modal",
|
|
2279
|
+
"footer": "Tg9J7q_footer",
|
|
2292
2280
|
"categoryFilters": "Tg9J7q_categoryFilters",
|
|
2293
|
-
"
|
|
2294
|
-
"
|
|
2295
|
-
"
|
|
2296
|
-
"
|
|
2297
|
-
"dialog": "Tg9J7q_dialog",
|
|
2298
|
-
"modal": "Tg9J7q_modal",
|
|
2299
|
-
"cover": "Tg9J7q_cover",
|
|
2300
|
-
"manageRow": "Tg9J7q_manageRow",
|
|
2301
|
-
"cardActions": "Tg9J7q_cardActions",
|
|
2302
|
-
"manageBar": "Tg9J7q_manageBar",
|
|
2303
|
-
"cardMeta": "Tg9J7q_cardMeta",
|
|
2304
|
-
"fieldLabel": "Tg9J7q_fieldLabel",
|
|
2281
|
+
"lineShort": "Tg9J7q_lineShort",
|
|
2282
|
+
"field": "Tg9J7q_field",
|
|
2283
|
+
"sheetGrid": "Tg9J7q_sheetGrid",
|
|
2284
|
+
"previewModal": "Tg9J7q_previewModal",
|
|
2305
2285
|
"toolbar": "Tg9J7q_toolbar",
|
|
2286
|
+
"cardActions": "Tg9J7q_cardActions",
|
|
2287
|
+
"cardHead": "Tg9J7q_cardHead",
|
|
2306
2288
|
"manageName": "Tg9J7q_manageName",
|
|
2307
|
-
"
|
|
2308
|
-
"
|
|
2309
|
-
"
|
|
2310
|
-
"
|
|
2311
|
-
"
|
|
2289
|
+
"quickFilter": "Tg9J7q_quickFilter",
|
|
2290
|
+
"documentPage": "Tg9J7q_documentPage",
|
|
2291
|
+
"form": "Tg9J7q_form",
|
|
2292
|
+
"fieldHint": "Tg9J7q_fieldHint",
|
|
2293
|
+
"categoryChip": "Tg9J7q_categoryChip",
|
|
2294
|
+
"cardMain": "Tg9J7q_cardMain",
|
|
2295
|
+
"fileInput": "Tg9J7q_fileInput",
|
|
2296
|
+
"manageBar": "Tg9J7q_manageBar",
|
|
2312
2297
|
"manageList": "Tg9J7q_manageList",
|
|
2298
|
+
"quickFilters": "Tg9J7q_quickFilters",
|
|
2313
2299
|
"destinationLabel": "Tg9J7q_destinationLabel",
|
|
2314
|
-
"
|
|
2300
|
+
"manageRow": "Tg9J7q_manageRow",
|
|
2301
|
+
"manageActions": "Tg9J7q_manageActions",
|
|
2302
|
+
"previewContent": "Tg9J7q_previewContent",
|
|
2303
|
+
"coverPage": "Tg9J7q_coverPage",
|
|
2304
|
+
"cardTitle": "Tg9J7q_cardTitle",
|
|
2305
|
+
"lineWide": "Tg9J7q_lineWide",
|
|
2306
|
+
"card": "Tg9J7q_card",
|
|
2315
2307
|
"filterRow": "Tg9J7q_filterRow",
|
|
2316
|
-
"lineShort": "Tg9J7q_lineShort",
|
|
2317
2308
|
"slidePage": "Tg9J7q_slidePage",
|
|
2318
|
-
"
|
|
2309
|
+
"cover": "Tg9J7q_cover",
|
|
2319
2310
|
"muted": "Tg9J7q_muted",
|
|
2320
|
-
"
|
|
2311
|
+
"cardIcon": "Tg9J7q_cardIcon",
|
|
2312
|
+
"filterDivider": "Tg9J7q_filterDivider",
|
|
2313
|
+
"dialog": "Tg9J7q_dialog",
|
|
2314
|
+
"cardMeta": "Tg9J7q_cardMeta",
|
|
2315
|
+
"favorite": "Tg9J7q_favorite",
|
|
2316
|
+
"fieldLabel": "Tg9J7q_fieldLabel",
|
|
2317
|
+
"manage": "Tg9J7q_manage",
|
|
2318
|
+
"notice": "Tg9J7q_notice",
|
|
2319
|
+
"cardBody": "Tg9J7q_cardBody",
|
|
2320
|
+
"library": "Tg9J7q_library"
|
|
2321
2321
|
};
|
|
2322
2322
|
//#endregion
|
|
2323
2323
|
//#region src/client/KnowledgeTemplates.tsx
|
|
@@ -3293,24 +3293,24 @@ window.__ModuleLoader__.load({
|
|
|
3293
3293
|
}
|
|
3294
3294
|
//#endregion
|
|
3295
3295
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeNewDocumentDialog.module.css.mjs
|
|
3296
|
-
const css$
|
|
3297
|
-
const tagId$
|
|
3298
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
3296
|
+
const css$18 = ".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}";
|
|
3297
|
+
const tagId$18 = "@sparkelf/dsh-knowledge-base/KnowledgeNewDocumentDialog.module.css";
|
|
3298
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$18) + "]") === null) {
|
|
3299
3299
|
const tag = document.createElement("style");
|
|
3300
3300
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
3301
|
-
tag.dataset.pluginCss = tagId$
|
|
3302
|
-
tag.textContent = css$
|
|
3301
|
+
tag.dataset.pluginCss = tagId$18;
|
|
3302
|
+
tag.textContent = css$18;
|
|
3303
3303
|
document.head.appendChild(tag);
|
|
3304
3304
|
}
|
|
3305
3305
|
var KnowledgeNewDocumentDialog_module_css_default = {
|
|
3306
3306
|
"footer": "hXsYha_footer",
|
|
3307
|
+
"cardText": "hXsYha_cardText",
|
|
3308
|
+
"card": "hXsYha_card",
|
|
3307
3309
|
"dialog": "hXsYha_dialog",
|
|
3308
|
-
"cards": "hXsYha_cards",
|
|
3309
3310
|
"modal": "hXsYha_modal",
|
|
3311
|
+
"cards": "hXsYha_cards",
|
|
3310
3312
|
"cardTitle": "hXsYha_cardTitle",
|
|
3311
|
-
"iconPlate": "hXsYha_iconPlate"
|
|
3312
|
-
"card": "hXsYha_card",
|
|
3313
|
-
"cardText": "hXsYha_cardText"
|
|
3313
|
+
"iconPlate": "hXsYha_iconPlate"
|
|
3314
3314
|
};
|
|
3315
3315
|
//#endregion
|
|
3316
3316
|
//#region src/client/KnowledgeNewDocumentDialog.tsx
|
|
@@ -3391,62 +3391,62 @@ window.__ModuleLoader__.load({
|
|
|
3391
3391
|
}
|
|
3392
3392
|
//#endregion
|
|
3393
3393
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeCreateDialog.module.css.mjs
|
|
3394
|
-
const css$
|
|
3395
|
-
const tagId$
|
|
3396
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
3394
|
+
const css$17 = ".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}";
|
|
3395
|
+
const tagId$17 = "@sparkelf/dsh-knowledge-base/KnowledgeCreateDialog.module.css";
|
|
3396
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$17) + "]") === null) {
|
|
3397
3397
|
const tag = document.createElement("style");
|
|
3398
3398
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
3399
|
-
tag.dataset.pluginCss = tagId$
|
|
3400
|
-
tag.textContent = css$
|
|
3399
|
+
tag.dataset.pluginCss = tagId$17;
|
|
3400
|
+
tag.textContent = css$17;
|
|
3401
3401
|
document.head.appendChild(tag);
|
|
3402
3402
|
}
|
|
3403
3403
|
var KnowledgeCreateDialog_module_css_default = {
|
|
3404
|
-
"pickerPathLabel": "HX727W_pickerPathLabel",
|
|
3405
|
-
"modal": "HX727W_modal",
|
|
3406
|
-
"crumb": "HX727W_crumb",
|
|
3407
|
-
"fileInput": "HX727W_fileInput",
|
|
3408
|
-
"fileList": "HX727W_fileList",
|
|
3409
|
-
"fieldHint": "HX727W_fieldHint",
|
|
3410
|
-
"pickerMuted": "HX727W_pickerMuted",
|
|
3411
3404
|
"fileRow": "HX727W_fileRow",
|
|
3412
|
-
"uploadRow": "HX727W_uploadRow",
|
|
3413
|
-
"removeFile": "HX727W_removeFile",
|
|
3414
3405
|
"fileName": "HX727W_fileName",
|
|
3415
|
-
"steps": "HX727W_steps",
|
|
3416
|
-
"step": "HX727W_step",
|
|
3417
|
-
"stepLine": "HX727W_stepLine",
|
|
3418
3406
|
"treeChildren": "HX727W_treeChildren",
|
|
3419
|
-
"
|
|
3407
|
+
"fileList": "HX727W_fileList",
|
|
3420
3408
|
"crumbSep": "HX727W_crumbSep",
|
|
3421
3409
|
"pickerPath": "HX727W_pickerPath",
|
|
3422
|
-
"
|
|
3410
|
+
"removeFile": "HX727W_removeFile",
|
|
3423
3411
|
"dropzoneTitle": "HX727W_dropzoneTitle",
|
|
3424
|
-
"uploadSummary": "HX727W_uploadSummary",
|
|
3425
|
-
"treeRow": "HX727W_treeRow",
|
|
3426
|
-
"uploadList": "HX727W_uploadList",
|
|
3427
|
-
"dialog": "HX727W_dialog",
|
|
3428
|
-
"picker": "HX727W_picker",
|
|
3429
|
-
"crumbWrap": "HX727W_crumbWrap",
|
|
3430
|
-
"tree": "HX727W_tree",
|
|
3431
|
-
"visuallyHiddenInput": "HX727W_visuallyHiddenInput",
|
|
3432
|
-
"pickerBar": "HX727W_pickerBar",
|
|
3433
3412
|
"treeToggle": "HX727W_treeToggle",
|
|
3434
|
-
"
|
|
3435
|
-
"
|
|
3436
|
-
"
|
|
3437
|
-
"
|
|
3438
|
-
"dropzone": "HX727W_dropzone",
|
|
3439
|
-
"uploadLayout": "HX727W_uploadLayout",
|
|
3440
|
-
"dropzoneHint": "HX727W_dropzoneHint",
|
|
3413
|
+
"modal": "HX727W_modal",
|
|
3414
|
+
"treeName": "HX727W_treeName",
|
|
3415
|
+
"crumbWrap": "HX727W_crumbWrap",
|
|
3416
|
+
"summary": "HX727W_summary",
|
|
3441
3417
|
"field": "HX727W_field",
|
|
3418
|
+
"pickerMuted": "HX727W_pickerMuted",
|
|
3419
|
+
"visuallyHiddenInput": "HX727W_visuallyHiddenInput",
|
|
3420
|
+
"pickerPathValue": "HX727W_pickerPathValue",
|
|
3442
3421
|
"uploadQueue": "HX727W_uploadQueue",
|
|
3422
|
+
"fileInput": "HX727W_fileInput",
|
|
3423
|
+
"pickerPathLabel": "HX727W_pickerPathLabel",
|
|
3424
|
+
"uploadLayout": "HX727W_uploadLayout",
|
|
3425
|
+
"treeMuted": "HX727W_treeMuted",
|
|
3426
|
+
"treeNotice": "HX727W_treeNotice",
|
|
3427
|
+
"pickerBar": "HX727W_pickerBar",
|
|
3428
|
+
"uploadSummary": "HX727W_uploadSummary",
|
|
3429
|
+
"tree": "HX727W_tree",
|
|
3430
|
+
"step": "HX727W_step",
|
|
3443
3431
|
"footer": "HX727W_footer",
|
|
3444
|
-
"
|
|
3432
|
+
"uploadSize": "HX727W_uploadSize",
|
|
3433
|
+
"uploadList": "HX727W_uploadList",
|
|
3434
|
+
"stepLine": "HX727W_stepLine",
|
|
3435
|
+
"pickerRow": "HX727W_pickerRow",
|
|
3436
|
+
"crumb": "HX727W_crumb",
|
|
3437
|
+
"pickerList": "HX727W_pickerList",
|
|
3445
3438
|
"fieldError": "HX727W_fieldError",
|
|
3446
|
-
"
|
|
3439
|
+
"uploadRow": "HX727W_uploadRow",
|
|
3440
|
+
"dialog": "HX727W_dialog",
|
|
3441
|
+
"fieldHint": "HX727W_fieldHint",
|
|
3442
|
+
"uploadName": "HX727W_uploadName",
|
|
3447
3443
|
"fileTarget": "HX727W_fileTarget",
|
|
3448
|
-
"
|
|
3449
|
-
"
|
|
3444
|
+
"steps": "HX727W_steps",
|
|
3445
|
+
"dropzone": "HX727W_dropzone",
|
|
3446
|
+
"fieldLabel": "HX727W_fieldLabel",
|
|
3447
|
+
"dropzoneHint": "HX727W_dropzoneHint",
|
|
3448
|
+
"treeRow": "HX727W_treeRow",
|
|
3449
|
+
"picker": "HX727W_picker"
|
|
3450
3450
|
};
|
|
3451
3451
|
//#endregion
|
|
3452
3452
|
//#region ../../../DSH-better-sidebar/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
@@ -6046,38 +6046,38 @@ window.__ModuleLoader__.load({
|
|
|
6046
6046
|
}
|
|
6047
6047
|
//#endregion
|
|
6048
6048
|
//#region \0dsh-css:/root/projects/DSH-better-sidebar/src/client/ui/kit.module.css.mjs
|
|
6049
|
-
const css$
|
|
6050
|
-
const tagId$
|
|
6051
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
6049
|
+
const css$16 = ".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)}";
|
|
6050
|
+
const tagId$16 = "@sparkelf/dsh-knowledge-base/kit.module.css";
|
|
6051
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$16) + "]") === null) {
|
|
6052
6052
|
const tag = document.createElement("style");
|
|
6053
6053
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
6054
|
-
tag.dataset.pluginCss = tagId$
|
|
6055
|
-
tag.textContent = css$
|
|
6054
|
+
tag.dataset.pluginCss = tagId$16;
|
|
6055
|
+
tag.textContent = css$16;
|
|
6056
6056
|
document.head.appendChild(tag);
|
|
6057
6057
|
}
|
|
6058
6058
|
var kit_module_css_default = {
|
|
6059
|
-
"
|
|
6060
|
-
"
|
|
6061
|
-
"chipActive": "lvzz-W_chipActive",
|
|
6062
|
-
"iconButtonSm": "lvzz-W_iconButtonSm",
|
|
6063
|
-
"iconButtonActive": "lvzz-W_iconButtonActive",
|
|
6064
|
-
"sectionCount": "lvzz-W_sectionCount",
|
|
6065
|
-
"noticeWell": "lvzz-W_noticeWell",
|
|
6059
|
+
"iconButtonDanger": "lvzz-W_iconButtonDanger",
|
|
6060
|
+
"chip": "lvzz-W_chip",
|
|
6066
6061
|
"noticePage": "lvzz-W_noticePage",
|
|
6067
|
-
"
|
|
6062
|
+
"noticeWell": "lvzz-W_noticeWell",
|
|
6068
6063
|
"noticeWarn": "lvzz-W_noticeWarn",
|
|
6069
|
-
"chip": "lvzz-W_chip",
|
|
6070
|
-
"sectionAction": "lvzz-W_sectionAction",
|
|
6071
6064
|
"sectionLabel": "lvzz-W_sectionLabel",
|
|
6065
|
+
"noticeError": "lvzz-W_noticeError",
|
|
6066
|
+
"noticeInline": "lvzz-W_noticeInline",
|
|
6067
|
+
"sectionHeader": "lvzz-W_sectionHeader",
|
|
6068
|
+
"chipCount": "lvzz-W_chipCount",
|
|
6069
|
+
"confirmDesc": "lvzz-W_confirmDesc",
|
|
6070
|
+
"iconButtonActive": "lvzz-W_iconButtonActive",
|
|
6071
|
+
"sectionAction": "lvzz-W_sectionAction",
|
|
6072
6072
|
"noticeHint": "lvzz-W_noticeHint",
|
|
6073
|
+
"chipActive": "lvzz-W_chipActive",
|
|
6073
6074
|
"iconButtonMd": "lvzz-W_iconButtonMd",
|
|
6074
|
-
"
|
|
6075
|
+
"iconButtonSm": "lvzz-W_iconButtonSm",
|
|
6076
|
+
"sectionCount": "lvzz-W_sectionCount",
|
|
6077
|
+
"notice": "lvzz-W_notice",
|
|
6075
6078
|
"statusBadge": "lvzz-W_statusBadge",
|
|
6076
|
-
"
|
|
6077
|
-
"
|
|
6078
|
-
"noticeError": "lvzz-W_noticeError",
|
|
6079
|
-
"noticeInline": "lvzz-W_noticeInline",
|
|
6080
|
-
"iconButtonDanger": "lvzz-W_iconButtonDanger"
|
|
6079
|
+
"chipLabel": "lvzz-W_chipLabel",
|
|
6080
|
+
"iconButton": "lvzz-W_iconButton"
|
|
6081
6081
|
};
|
|
6082
6082
|
//#endregion
|
|
6083
6083
|
//#region ../../../DSH-better-sidebar/src/client/ui/kit.tsx
|
|
@@ -6880,247 +6880,247 @@ window.__ModuleLoader__.load({
|
|
|
6880
6880
|
}
|
|
6881
6881
|
//#endregion
|
|
6882
6882
|
//#region \0dsh-css:/root/projects/DSH-better-sidebar/src/client/sidebar.module.css.mjs
|
|
6883
|
-
const css$13 = "[data-dsh-panel-host]{z-index:25;pointer-events:none;height:100dvh;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);content-visibility:auto;contain-intrinsic-size:auto 240px;contain:layout paint style;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_mermaidPending{flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:18px 24px;display:flex}.s56VVa_mermaidPendingBar{background:var(--dsw-alias-bg-layer-2);border-radius:5px;width:min(320px,70%);height:10px;animation:1.4s ease-in-out infinite s56VVa_mermaidPendingPulse;display:block}.s56VVa_mermaidPendingBar:nth-child(2){width:min(240px,55%);animation-delay:.15s}.s56VVa_mermaidPendingBar:nth-child(3){width:min(160px,40%);animation-delay:.3s}@keyframes s56VVa_mermaidPendingPulse{0%,to{opacity:.45}50%{opacity:1}}@media (prefers-reduced-motion:reduce){.s56VVa_mermaidPendingBar{animation:none}}.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_mermaidErrorDetail{color:var(--dsw-alias-label-tertiary);white-space:pre-wrap;word-break:break-word;margin-top:2px;display:block}.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}";
|
|
6884
|
-
const tagId$
|
|
6885
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
6883
|
+
const css$15 = "[data-dsh-panel-host]{z-index:25;pointer-events:none;height:100dvh;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);content-visibility:auto;contain-intrinsic-size:auto 240px;contain:layout paint style;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_mermaidPending{flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:18px 24px;display:flex}.s56VVa_mermaidPendingBar{background:var(--dsw-alias-bg-layer-2);border-radius:5px;width:min(320px,70%);height:10px;animation:1.4s ease-in-out infinite s56VVa_mermaidPendingPulse;display:block}.s56VVa_mermaidPendingBar:nth-child(2){width:min(240px,55%);animation-delay:.15s}.s56VVa_mermaidPendingBar:nth-child(3){width:min(160px,40%);animation-delay:.3s}@keyframes s56VVa_mermaidPendingPulse{0%,to{opacity:.45}50%{opacity:1}}@media (prefers-reduced-motion:reduce){.s56VVa_mermaidPendingBar{animation:none}}.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_mermaidErrorDetail{color:var(--dsw-alias-label-tertiary);white-space:pre-wrap;word-break:break-word;margin-top:2px;display:block}.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}";
|
|
6884
|
+
const tagId$15 = "@sparkelf/dsh-knowledge-base/sidebar.module.css";
|
|
6885
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$15) + "]") === null) {
|
|
6886
6886
|
const tag = document.createElement("style");
|
|
6887
6887
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
6888
|
-
tag.dataset.pluginCss = tagId$
|
|
6889
|
-
tag.textContent = css$
|
|
6888
|
+
tag.dataset.pluginCss = tagId$15;
|
|
6889
|
+
tag.textContent = css$15;
|
|
6890
6890
|
document.head.appendChild(tag);
|
|
6891
6891
|
}
|
|
6892
6892
|
var sidebar_module_css_default = {
|
|
6893
|
-
"
|
|
6894
|
-
"panelBody": "s56VVa_panelBody",
|
|
6893
|
+
"paneContent": "s56VVa_paneContent",
|
|
6895
6894
|
"largeFileLines": "s56VVa_largeFileLines",
|
|
6896
|
-
"openWithPin": "s56VVa_openWithPin",
|
|
6897
6895
|
"bottomClose": "s56VVa_bottomClose",
|
|
6898
|
-
"
|
|
6899
|
-
"
|
|
6900
|
-
"
|
|
6901
|
-
"
|
|
6902
|
-
"editorBinaryNotice": "s56VVa_editorBinaryNotice",
|
|
6903
|
-
"selectionPopup": "s56VVa_selectionPopup",
|
|
6896
|
+
"mermaidError": "s56VVa_mermaidError",
|
|
6897
|
+
"dropCenter": "s56VVa_dropCenter",
|
|
6898
|
+
"editorModeButton": "s56VVa_editorModeButton",
|
|
6899
|
+
"nativeTabMenuItem": "s56VVa_nativeTabMenuItem",
|
|
6904
6900
|
"explorerName": "s56VVa_explorerName",
|
|
6905
|
-
"
|
|
6906
|
-
"explorerHiddenPane": "s56VVa_explorerHiddenPane",
|
|
6907
|
-
"uploadOverlayCancel": "s56VVa_uploadOverlayCancel",
|
|
6908
|
-
"editorSearchHint": "s56VVa_editorSearchHint",
|
|
6909
|
-
"tabList": "s56VVa_tabList",
|
|
6910
|
-
"largeFileRecordSummary": "s56VVa_largeFileRecordSummary",
|
|
6911
|
-
"tabActive": "s56VVa_tabActive",
|
|
6912
|
-
"editorGitBarMod": "s56VVa_editorGitBarMod",
|
|
6913
|
-
"browserBlocked": "s56VVa_browserBlocked",
|
|
6914
|
-
"editorTreeDock": "s56VVa_editorTreeDock",
|
|
6915
|
-
"editorBanner": "s56VVa_editorBanner",
|
|
6916
|
-
"tabUnreadDot": "s56VVa_tabUnreadDot",
|
|
6917
|
-
"paneEmptyCards": "s56VVa_paneEmptyCards",
|
|
6918
|
-
"orphanedType": "s56VVa_orphanedType",
|
|
6919
|
-
"sandboxDot": "s56VVa_sandboxDot",
|
|
6920
|
-
"explorerBroken": "s56VVa_explorerBroken",
|
|
6921
|
-
"explorerActionErrorText": "s56VVa_explorerActionErrorText",
|
|
6922
|
-
"explorerError": "s56VVa_explorerError",
|
|
6923
|
-
"sandboxStatusOff": "s56VVa_sandboxStatusOff",
|
|
6924
|
-
"bottomResize": "s56VVa_bottomResize",
|
|
6925
|
-
"browserBlockedButton": "s56VVa_browserBlockedButton",
|
|
6926
|
-
"dropRight": "s56VVa_dropRight",
|
|
6927
|
-
"paneContent": "s56VVa_paneContent",
|
|
6928
|
-
"gitPlaceholder": "s56VVa_gitPlaceholder",
|
|
6929
|
-
"mermaidPendingBar": "s56VVa_mermaidPendingBar",
|
|
6930
|
-
"dropLeft": "s56VVa_dropLeft",
|
|
6931
|
-
"explorerRow": "s56VVa_explorerRow",
|
|
6901
|
+
"explorerSelectionActions": "s56VVa_explorerSelectionActions",
|
|
6932
6902
|
"tabBarDrop": "s56VVa_tabBarDrop",
|
|
6933
|
-
"
|
|
6934
|
-
"
|
|
6935
|
-
"
|
|
6936
|
-
"
|
|
6937
|
-
"editorGitBar": "s56VVa_editorGitBar",
|
|
6938
|
-
"editor": "s56VVa_editor",
|
|
6939
|
-
"largeFileLine": "s56VVa_largeFileLine",
|
|
6940
|
-
"paneCard": "s56VVa_paneCard",
|
|
6941
|
-
"editorTitle": "s56VVa_editorTitle",
|
|
6942
|
-
"editorGitBarDel": "s56VVa_editorGitBarDel",
|
|
6903
|
+
"tabTitle": "s56VVa_tabTitle",
|
|
6904
|
+
"pane": "s56VVa_pane",
|
|
6905
|
+
"largeFileRecordExpanded": "s56VVa_largeFileRecordExpanded",
|
|
6906
|
+
"sandboxDot": "s56VVa_sandboxDot",
|
|
6943
6907
|
"bottomPanelHidden": "s56VVa_bottomPanelHidden",
|
|
6944
|
-
"
|
|
6945
|
-
"editorStatus": "s56VVa_editorStatus",
|
|
6908
|
+
"explorerSelectionBar": "s56VVa_explorerSelectionBar",
|
|
6946
6909
|
"explorerDir": "s56VVa_explorerDir",
|
|
6947
|
-
"
|
|
6948
|
-
"
|
|
6949
|
-
"sandboxStatusOn": "s56VVa_sandboxStatusOn",
|
|
6950
|
-
"mermaidInfo": "s56VVa_mermaidInfo",
|
|
6951
|
-
"dividerCol": "s56VVa_dividerCol",
|
|
6952
|
-
"explorerRenaming": "s56VVa_explorerRenaming",
|
|
6910
|
+
"explorerRowDropTarget": "s56VVa_explorerRowDropTarget",
|
|
6911
|
+
"orphanedType": "s56VVa_orphanedType",
|
|
6953
6912
|
"editorModeToggle": "s56VVa_editorModeToggle",
|
|
6954
|
-
"
|
|
6955
|
-
"
|
|
6956
|
-
"
|
|
6957
|
-
"
|
|
6958
|
-
"
|
|
6959
|
-
"
|
|
6960
|
-
"
|
|
6961
|
-
"
|
|
6962
|
-
"workbench": "s56VVa_workbench",
|
|
6963
|
-
"dirtyDot": "s56VVa_dirtyDot",
|
|
6964
|
-
"tocFlash": "s56VVa_tocFlash",
|
|
6965
|
-
"mermaidModalStage": "s56VVa_mermaidModalStage",
|
|
6966
|
-
"explorerHeader": "s56VVa_explorerHeader",
|
|
6967
|
-
"explorerGitName": "s56VVa_explorerGitName",
|
|
6968
|
-
"bottomPanel": "s56VVa_bottomPanel",
|
|
6969
|
-
"editorHeader": "s56VVa_editorHeader",
|
|
6970
|
-
"editorSearchResultDir": "s56VVa_editorSearchResultDir",
|
|
6971
|
-
"largeFileLineNo": "s56VVa_largeFileLineNo",
|
|
6972
|
-
"editorBannerAction": "s56VVa_editorBannerAction",
|
|
6973
|
-
"explorerHidden": "s56VVa_explorerHidden",
|
|
6974
|
-
"mermaidErrorDetail": "s56VVa_mermaidErrorDetail",
|
|
6975
|
-
"tocItemText": "s56VVa_tocItemText",
|
|
6976
|
-
"explorerDirChanged": "s56VVa_explorerDirChanged",
|
|
6977
|
-
"iconButton": "s56VVa_iconButton",
|
|
6978
|
-
"editorGitDel": "s56VVa_editorGitDel",
|
|
6979
|
-
"editorPdfDragShieldActive": "s56VVa_editorPdfDragShieldActive",
|
|
6980
|
-
"explorerRowSelected": "s56VVa_explorerRowSelected",
|
|
6913
|
+
"tabUnreadDot": "s56VVa_tabUnreadDot",
|
|
6914
|
+
"uploadOverlayTitle": "s56VVa_uploadOverlayTitle",
|
|
6915
|
+
"uploadOverlayProgressFill": "s56VVa_uploadOverlayProgressFill",
|
|
6916
|
+
"largeFileRecordBody": "s56VVa_largeFileRecordBody",
|
|
6917
|
+
"editorGitBarDel": "s56VVa_editorGitBarDel",
|
|
6918
|
+
"explorerRowRevealed": "s56VVa_explorerRowRevealed",
|
|
6919
|
+
"browserBlockedActions": "s56VVa_browserBlockedActions",
|
|
6920
|
+
"sandboxStatusOn": "s56VVa_sandboxStatusOn",
|
|
6981
6921
|
"explorer": "s56VVa_explorer",
|
|
6982
|
-
"
|
|
6922
|
+
"uploadOverlay": "s56VVa_uploadOverlay",
|
|
6923
|
+
"tabBarRightActions": "s56VVa_tabBarRightActions",
|
|
6924
|
+
"largeFilePager": "s56VVa_largeFilePager",
|
|
6925
|
+
"uploadOverlayProgress": "s56VVa_uploadOverlayProgress",
|
|
6926
|
+
"mermaidCode": "s56VVa_mermaidCode",
|
|
6927
|
+
"tocButton": "s56VVa_tocButton",
|
|
6928
|
+
"splitRow": "s56VVa_splitRow",
|
|
6929
|
+
"dividerRow": "s56VVa_dividerRow",
|
|
6930
|
+
"editorPdfStage": "s56VVa_editorPdfStage",
|
|
6931
|
+
"largeFileLineText": "s56VVa_largeFileLineText",
|
|
6932
|
+
"dirtyDot": "s56VVa_dirtyDot",
|
|
6933
|
+
"browserFrame": "s56VVa_browserFrame",
|
|
6934
|
+
"explorerBody": "s56VVa_explorerBody",
|
|
6935
|
+
"tabBoundaryError": "s56VVa_tabBoundaryError",
|
|
6936
|
+
"tocFlash": "s56VVa_tocFlash",
|
|
6937
|
+
"split": "s56VVa_split",
|
|
6938
|
+
"largeFileList": "s56VVa_largeFileList",
|
|
6939
|
+
"explorerMuted": "s56VVa_explorerMuted",
|
|
6940
|
+
"explorerRenameInput": "s56VVa_explorerRenameInput",
|
|
6941
|
+
"editorBannerAction": "s56VVa_editorBannerAction",
|
|
6942
|
+
"uploadDropZonePill": "s56VVa_uploadDropZonePill",
|
|
6943
|
+
"uploadDropArtAccent": "s56VVa_uploadDropArtAccent",
|
|
6944
|
+
"editorGitBarAdd": "s56VVa_editorGitBarAdd",
|
|
6945
|
+
"mermaidWrap": "s56VVa_mermaidWrap",
|
|
6946
|
+
"largeFileRecordSummary": "s56VVa_largeFileRecordSummary",
|
|
6947
|
+
"uploadOverlayStatus": "s56VVa_uploadOverlayStatus",
|
|
6948
|
+
"editorGitMod": "s56VVa_editorGitMod",
|
|
6949
|
+
"editorDocxZoomRange": "s56VVa_editorDocxZoomRange",
|
|
6950
|
+
"explorerActionError": "s56VVa_explorerActionError",
|
|
6951
|
+
"dropOverlay": "s56VVa_dropOverlay",
|
|
6952
|
+
"explorerError": "s56VVa_explorerError",
|
|
6953
|
+
"sandboxStatus": "s56VVa_sandboxStatus",
|
|
6954
|
+
"browserMessage": "s56VVa_browserMessage",
|
|
6955
|
+
"editorBody": "s56VVa_editorBody",
|
|
6956
|
+
"panelBody": "s56VVa_panelBody",
|
|
6957
|
+
"mermaidCopy": "s56VVa_mermaidCopy",
|
|
6958
|
+
"nativeTabHost": "s56VVa_nativeTabHost",
|
|
6959
|
+
"editorBlame": "s56VVa_editorBlame",
|
|
6960
|
+
"uploadDropChatHint": "s56VVa_uploadDropChatHint",
|
|
6961
|
+
"terminalRetry": "s56VVa_terminalRetry",
|
|
6962
|
+
"bottomResizeActive": "s56VVa_bottomResizeActive",
|
|
6963
|
+
"dropDown": "s56VVa_dropDown",
|
|
6964
|
+
"explorerHidden": "s56VVa_explorerHidden",
|
|
6965
|
+
"editorSearchResultDir": "s56VVa_editorSearchResultDir",
|
|
6966
|
+
"editorHtml": "s56VVa_editorHtml",
|
|
6967
|
+
"browserStart": "s56VVa_browserStart",
|
|
6968
|
+
"panel": "s56VVa_panel",
|
|
6969
|
+
"largeFilePageLabel": "s56VVa_largeFilePageLabel",
|
|
6970
|
+
"editorTreePanelFull": "s56VVa_editorTreePanelFull",
|
|
6983
6971
|
"gitDiffTabHeader": "s56VVa_gitDiffTabHeader",
|
|
6972
|
+
"editorHtmlBlock": "s56VVa_editorHtmlBlock",
|
|
6973
|
+
"editorSearchResultLabel": "s56VVa_editorSearchResultLabel",
|
|
6974
|
+
"workbench": "s56VVa_workbench",
|
|
6975
|
+
"editorGitBarGutter": "s56VVa_editorGitBarGutter",
|
|
6976
|
+
"mermaidPendingBar": "s56VVa_mermaidPendingBar",
|
|
6977
|
+
"explorerRoot": "s56VVa_explorerRoot",
|
|
6978
|
+
"dsh-row-in": "s56VVa_dsh-row-in",
|
|
6979
|
+
"explorerDirChanged": "s56VVa_explorerDirChanged",
|
|
6980
|
+
"sandboxAction": "s56VVa_sandboxAction",
|
|
6981
|
+
"uploadDropArtPrimary": "s56VVa_uploadDropArtPrimary",
|
|
6982
|
+
"editorTreeResize": "s56VVa_editorTreeResize",
|
|
6983
|
+
"openWithLabel": "s56VVa_openWithLabel",
|
|
6984
6984
|
"openWithPinActive": "s56VVa_openWithPinActive",
|
|
6985
|
-
"
|
|
6986
|
-
"
|
|
6987
|
-
"
|
|
6985
|
+
"tocItemLevel": "s56VVa_tocItemLevel",
|
|
6986
|
+
"divider": "s56VVa_divider",
|
|
6987
|
+
"editorPdf": "s56VVa_editorPdf",
|
|
6988
6988
|
"tabBarPlus": "s56VVa_tabBarPlus",
|
|
6989
|
-
"
|
|
6989
|
+
"largeFileRecords": "s56VVa_largeFileRecords",
|
|
6990
|
+
"browserBlocked": "s56VVa_browserBlocked",
|
|
6991
|
+
"explorerActionErrorText": "s56VVa_explorerActionErrorText",
|
|
6992
|
+
"largeFileDownload": "s56VVa_largeFileDownload",
|
|
6993
|
+
"tabClose": "s56VVa_tabClose",
|
|
6994
|
+
"mermaidInfo": "s56VVa_mermaidInfo",
|
|
6995
|
+
"editorGitBar": "s56VVa_editorGitBar",
|
|
6996
|
+
"explorerRow": "s56VVa_explorerRow",
|
|
6997
|
+
"gitDiffTab": "s56VVa_gitDiffTab",
|
|
6998
|
+
"boundaryError": "s56VVa_boundaryError",
|
|
6999
|
+
"editorTreeToggleActive": "s56VVa_editorTreeToggleActive",
|
|
7000
|
+
"sandboxStatusText": "s56VVa_sandboxStatusText",
|
|
7001
|
+
"mermaidErrorDetail": "s56VVa_mermaidErrorDetail",
|
|
7002
|
+
"mermaidMarkdown": "s56VVa_mermaidMarkdown",
|
|
7003
|
+
"tocItem": "s56VVa_tocItem",
|
|
6990
7004
|
"paneTab": "s56VVa_paneTab",
|
|
6991
|
-
"
|
|
7005
|
+
"chipIcon": "s56VVa_chipIcon",
|
|
7006
|
+
"editorPdfFrame": "s56VVa_editorPdfFrame",
|
|
7007
|
+
"editorModeActive": "s56VVa_editorModeActive",
|
|
6992
7008
|
"editorGitBarSpacer": "s56VVa_editorGitBarSpacer",
|
|
6993
|
-
"
|
|
6994
|
-
"
|
|
6995
|
-
"sandboxAction": "s56VVa_sandboxAction",
|
|
6996
|
-
"editorHtmlBlock": "s56VVa_editorHtmlBlock",
|
|
6997
|
-
"tocItem": "s56VVa_tocItem",
|
|
6998
|
-
"editorTreeToggleActive": "s56VVa_editorTreeToggleActive",
|
|
6999
|
-
"split": "s56VVa_split",
|
|
7000
|
-
"uploadOverlayTitle": "s56VVa_uploadOverlayTitle",
|
|
7001
|
-
"browserFrame": "s56VVa_browserFrame",
|
|
7002
|
-
"uploadDropChatHint": "s56VVa_uploadDropChatHint",
|
|
7003
|
-
"mermaidCode": "s56VVa_mermaidCode",
|
|
7004
|
-
"largeFileRecordTree": "s56VVa_largeFileRecordTree",
|
|
7005
|
-
"splitChild": "s56VVa_splitChild",
|
|
7009
|
+
"browserBlockedButton": "s56VVa_browserBlockedButton",
|
|
7010
|
+
"editorPdfDragShieldActive": "s56VVa_editorPdfDragShieldActive",
|
|
7006
7011
|
"tocBar": "s56VVa_tocBar",
|
|
7007
|
-
"
|
|
7008
|
-
"dsh-row-in": "s56VVa_dsh-row-in",
|
|
7009
|
-
"browserBlockedActions": "s56VVa_browserBlockedActions",
|
|
7010
|
-
"largeFile": "s56VVa_largeFile",
|
|
7011
|
-
"largeFilePager": "s56VVa_largeFilePager",
|
|
7012
|
-
"tocPanel": "s56VVa_tocPanel",
|
|
7013
|
-
"editorBlameSummary": "s56VVa_editorBlameSummary",
|
|
7014
|
-
"dsh-toc-flash": "s56VVa_dsh-toc-flash",
|
|
7015
|
-
"mermaidPendingPulse": "s56VVa_mermaidPendingPulse",
|
|
7016
|
-
"largeFileRecord": "s56VVa_largeFileRecord",
|
|
7017
|
-
"largeFileRecordExpanded": "s56VVa_largeFileRecordExpanded",
|
|
7018
|
-
"editorDocxZoomRange": "s56VVa_editorDocxZoomRange",
|
|
7019
|
-
"chipIcon": "s56VVa_chipIcon",
|
|
7020
|
-
"dropUp": "s56VVa_dropUp",
|
|
7021
|
-
"gitError": "s56VVa_gitError",
|
|
7022
|
-
"largeFileRecordBody": "s56VVa_largeFileRecordBody",
|
|
7023
|
-
"editorTreeSearch": "s56VVa_editorTreeSearch",
|
|
7012
|
+
"editorStatus": "s56VVa_editorStatus",
|
|
7024
7013
|
"gitDiffTabTitle": "s56VVa_gitDiffTabTitle",
|
|
7025
|
-
"
|
|
7026
|
-
"tabBarRightActions": "s56VVa_tabBarRightActions",
|
|
7027
|
-
"uploadOverlayStatus": "s56VVa_uploadOverlayStatus",
|
|
7014
|
+
"tab": "s56VVa_tab",
|
|
7028
7015
|
"tabBar": "s56VVa_tabBar",
|
|
7029
|
-
"
|
|
7030
|
-
"
|
|
7031
|
-
"
|
|
7032
|
-
"
|
|
7033
|
-
"
|
|
7034
|
-
"
|
|
7035
|
-
"
|
|
7036
|
-
"
|
|
7037
|
-
"dropDown": "s56VVa_dropDown",
|
|
7038
|
-
"uploadDropArtCut": "s56VVa_uploadDropArtCut",
|
|
7039
|
-
"uploadDropZonePill": "s56VVa_uploadDropZonePill",
|
|
7040
|
-
"sandboxStatus": "s56VVa_sandboxStatus",
|
|
7016
|
+
"explorerGitName": "s56VVa_explorerGitName",
|
|
7017
|
+
"paneCard": "s56VVa_paneCard",
|
|
7018
|
+
"explorerHiddenPane": "s56VVa_explorerHiddenPane",
|
|
7019
|
+
"editorMd": "s56VVa_editorMd",
|
|
7020
|
+
"editorPdfFrameBlocked": "s56VVa_editorPdfFrameBlocked",
|
|
7021
|
+
"largeFileRecord": "s56VVa_largeFileRecord",
|
|
7022
|
+
"openWithChevron": "s56VVa_openWithChevron",
|
|
7023
|
+
"splitChild": "s56VVa_splitChild",
|
|
7041
7024
|
"largeFileRecordRaw": "s56VVa_largeFileRecordRaw",
|
|
7042
|
-
"
|
|
7043
|
-
"
|
|
7025
|
+
"browserBar": "s56VVa_browserBar",
|
|
7026
|
+
"selectionPopup": "s56VVa_selectionPopup",
|
|
7027
|
+
"largeFileLine": "s56VVa_largeFileLine",
|
|
7028
|
+
"mermaidPending": "s56VVa_mermaidPending",
|
|
7029
|
+
"explorerEmpty": "s56VVa_explorerEmpty",
|
|
7030
|
+
"bottomResize": "s56VVa_bottomResize",
|
|
7031
|
+
"tocPanel": "s56VVa_tocPanel",
|
|
7032
|
+
"uploadDropChatCard": "s56VVa_uploadDropChatCard",
|
|
7033
|
+
"uploadDropMask": "s56VVa_uploadDropMask",
|
|
7034
|
+
"paneDrop": "s56VVa_paneDrop",
|
|
7035
|
+
"largeFileLineNo": "s56VVa_largeFileLineNo",
|
|
7036
|
+
"gitEmpty": "s56VVa_gitEmpty",
|
|
7037
|
+
"explorerAppIcon": "s56VVa_explorerAppIcon",
|
|
7038
|
+
"editorTreeSearch": "s56VVa_editorTreeSearch",
|
|
7039
|
+
"dsh-toc-flash": "s56VVa_dsh-toc-flash",
|
|
7044
7040
|
"largeFileNotice": "s56VVa_largeFileNotice",
|
|
7045
|
-
"
|
|
7041
|
+
"explorerBroken": "s56VVa_explorerBroken",
|
|
7042
|
+
"explorerCopied": "s56VVa_explorerCopied",
|
|
7043
|
+
"uploadOverlayCard": "s56VVa_uploadOverlayCard",
|
|
7046
7044
|
"explorerTime": "s56VVa_explorerTime",
|
|
7047
|
-
"
|
|
7048
|
-
"
|
|
7049
|
-
"
|
|
7050
|
-
"
|
|
7051
|
-
"
|
|
7045
|
+
"editorCm": "s56VVa_editorCm",
|
|
7046
|
+
"explorerSelectionText": "s56VVa_explorerSelectionText",
|
|
7047
|
+
"openWithPin": "s56VVa_openWithPin",
|
|
7048
|
+
"dropLeft": "s56VVa_dropLeft",
|
|
7049
|
+
"explorerRef": "s56VVa_explorerRef",
|
|
7050
|
+
"editorSearchResult": "s56VVa_editorSearchResult",
|
|
7052
7051
|
"editorBinary": "s56VVa_editorBinary",
|
|
7053
|
-
"
|
|
7054
|
-
"
|
|
7055
|
-
"
|
|
7056
|
-
"
|
|
7057
|
-
"
|
|
7058
|
-
"
|
|
7059
|
-
"
|
|
7060
|
-
"
|
|
7061
|
-
"
|
|
7062
|
-
"
|
|
7052
|
+
"editorDownloadLink": "s56VVa_editorDownloadLink",
|
|
7053
|
+
"explorerRenaming": "s56VVa_explorerRenaming",
|
|
7054
|
+
"tabActive": "s56VVa_tabActive",
|
|
7055
|
+
"editorTreePanel": "s56VVa_editorTreePanel",
|
|
7056
|
+
"explorerHeader": "s56VVa_explorerHeader",
|
|
7057
|
+
"mermaidBody": "s56VVa_mermaidBody",
|
|
7058
|
+
"paneTabHidden": "s56VVa_paneTabHidden",
|
|
7059
|
+
"mermaidModalButton": "s56VVa_mermaidModalButton",
|
|
7060
|
+
"gitPlaceholder": "s56VVa_gitPlaceholder",
|
|
7061
|
+
"editorGitAdd": "s56VVa_editorGitAdd",
|
|
7063
7062
|
"dockFallback": "s56VVa_dockFallback",
|
|
7064
|
-
"
|
|
7065
|
-
"
|
|
7066
|
-
"editorSearchResultLabel": "s56VVa_editorSearchResultLabel",
|
|
7067
|
-
"mermaidError": "s56VVa_mermaidError",
|
|
7068
|
-
"explorerAppIcon": "s56VVa_explorerAppIcon",
|
|
7063
|
+
"paneEmptyCards": "s56VVa_paneEmptyCards",
|
|
7064
|
+
"dividerCol": "s56VVa_dividerCol",
|
|
7069
7065
|
"largeFileRecordInvalid": "s56VVa_largeFileRecordInvalid",
|
|
7070
|
-
"
|
|
7071
|
-
"mermaidModalButton": "s56VVa_mermaidModalButton",
|
|
7072
|
-
"paneTabHidden": "s56VVa_paneTabHidden",
|
|
7073
|
-
"explorerRowRevealed": "s56VVa_explorerRowRevealed",
|
|
7074
|
-
"uploadDropHero": "s56VVa_uploadDropHero",
|
|
7075
|
-
"editorMd": "s56VVa_editorMd",
|
|
7076
|
-
"mermaidMarkdown": "s56VVa_mermaidMarkdown",
|
|
7066
|
+
"explorerRowSelected": "s56VVa_explorerRowSelected",
|
|
7077
7067
|
"editorBlameHead": "s56VVa_editorBlameHead",
|
|
7078
|
-
"
|
|
7068
|
+
"tocItemText": "s56VVa_tocItemText",
|
|
7069
|
+
"uploadOverlayCancel": "s56VVa_uploadOverlayCancel",
|
|
7070
|
+
"openWithName": "s56VVa_openWithName",
|
|
7071
|
+
"sandboxStatusOff": "s56VVa_sandboxStatusOff",
|
|
7072
|
+
"editorPdfDragShield": "s56VVa_editorPdfDragShield",
|
|
7073
|
+
"editorSearchHint": "s56VVa_editorSearchHint",
|
|
7079
7074
|
"browserInput": "s56VVa_browserInput",
|
|
7080
|
-
"
|
|
7081
|
-
"
|
|
7082
|
-
"
|
|
7075
|
+
"mermaidModalHint": "s56VVa_mermaidModalHint",
|
|
7076
|
+
"largeFileRecordTree": "s56VVa_largeFileRecordTree",
|
|
7077
|
+
"uploadDropZone": "s56VVa_uploadDropZone",
|
|
7078
|
+
"mermaidHeader": "s56VVa_mermaidHeader",
|
|
7083
7079
|
"splitCol": "s56VVa_splitCol",
|
|
7080
|
+
"uploadDropArtCut": "s56VVa_uploadDropArtCut",
|
|
7081
|
+
"chipUnread": "s56VVa_chipUnread",
|
|
7082
|
+
"iconButton": "s56VVa_iconButton",
|
|
7084
7083
|
"largeFileNoticeAction": "s56VVa_largeFileNoticeAction",
|
|
7085
|
-
"
|
|
7086
|
-
"
|
|
7087
|
-
"
|
|
7088
|
-
"
|
|
7089
|
-
"
|
|
7090
|
-
"
|
|
7091
|
-
"
|
|
7092
|
-
"
|
|
7093
|
-
"
|
|
7094
|
-
"
|
|
7095
|
-
"
|
|
7096
|
-
"
|
|
7097
|
-
"
|
|
7098
|
-
"
|
|
7099
|
-
"
|
|
7100
|
-
"editorGitBarAdd": "s56VVa_editorGitBarAdd",
|
|
7101
|
-
"mermaidBody": "s56VVa_mermaidBody",
|
|
7102
|
-
"mermaidHeader": "s56VVa_mermaidHeader",
|
|
7103
|
-
"editorModeActive": "s56VVa_editorModeActive",
|
|
7104
|
-
"openWithChevron": "s56VVa_openWithChevron",
|
|
7105
|
-
"editorCmHidden": "s56VVa_editorCmHidden",
|
|
7106
|
-
"terminalRetry": "s56VVa_terminalRetry",
|
|
7107
|
-
"tocItemLevel": "s56VVa_tocItemLevel",
|
|
7108
|
-
"explorerActionError": "s56VVa_explorerActionError",
|
|
7109
|
-
"uploadDropMask": "s56VVa_uploadDropMask",
|
|
7110
|
-
"editorHtml": "s56VVa_editorHtml",
|
|
7111
|
-
"gitEmpty": "s56VVa_gitEmpty",
|
|
7112
|
-
"editorTreePanelFull": "s56VVa_editorTreePanelFull",
|
|
7084
|
+
"uploadDropZoneText": "s56VVa_uploadDropZoneText",
|
|
7085
|
+
"dividerActive": "s56VVa_dividerActive",
|
|
7086
|
+
"editorPlaceholder": "s56VVa_editorPlaceholder",
|
|
7087
|
+
"editorTitle": "s56VVa_editorTitle",
|
|
7088
|
+
"editorBinaryNotice": "s56VVa_editorBinaryNotice",
|
|
7089
|
+
"largeFileBody": "s56VVa_largeFileBody",
|
|
7090
|
+
"mermaidModalStage": "s56VVa_mermaidModalStage",
|
|
7091
|
+
"editor": "s56VVa_editor",
|
|
7092
|
+
"dropRight": "s56VVa_dropRight",
|
|
7093
|
+
"mermaidModalToolbar": "s56VVa_mermaidModalToolbar",
|
|
7094
|
+
"tabList": "s56VVa_tabList",
|
|
7095
|
+
"editorPdfToolbar": "s56VVa_editorPdfToolbar",
|
|
7096
|
+
"gitError": "s56VVa_gitError",
|
|
7097
|
+
"editorBlameSummary": "s56VVa_editorBlameSummary",
|
|
7098
|
+
"browserBlockedDesc": "s56VVa_browserBlockedDesc",
|
|
7113
7099
|
"editorPptxButton": "s56VVa_editorPptxButton",
|
|
7114
|
-
"explorerRowDropTarget": "s56VVa_explorerRowDropTarget",
|
|
7115
|
-
"explorerCopied": "s56VVa_explorerCopied",
|
|
7116
|
-
"browserBar": "s56VVa_browserBar",
|
|
7117
7100
|
"largeFileRecordNo": "s56VVa_largeFileRecordNo",
|
|
7118
|
-
"
|
|
7119
|
-
"
|
|
7120
|
-
"
|
|
7121
|
-
"
|
|
7122
|
-
"
|
|
7123
|
-
"
|
|
7101
|
+
"editorSearchInput": "s56VVa_editorSearchInput",
|
|
7102
|
+
"tabBadge": "s56VVa_tabBadge",
|
|
7103
|
+
"nativeTabMenuSeparator": "s56VVa_nativeTabMenuSeparator",
|
|
7104
|
+
"browserBlockedTitle": "s56VVa_browserBlockedTitle",
|
|
7105
|
+
"editorStatusError": "s56VVa_editorStatusError",
|
|
7106
|
+
"bottomPanel": "s56VVa_bottomPanel",
|
|
7107
|
+
"explorerSymlink": "s56VVa_explorerSymlink",
|
|
7108
|
+
"editorTreeDock": "s56VVa_editorTreeDock",
|
|
7109
|
+
"uploadDropHero": "s56VVa_uploadDropHero",
|
|
7110
|
+
"editorBanner": "s56VVa_editorBanner",
|
|
7111
|
+
"editorPathInput": "s56VVa_editorPathInput",
|
|
7112
|
+
"editorMain": "s56VVa_editorMain",
|
|
7113
|
+
"editorError": "s56VVa_editorError",
|
|
7114
|
+
"editorGitBarMod": "s56VVa_editorGitBarMod",
|
|
7115
|
+
"mermaidPendingPulse": "s56VVa_mermaidPendingPulse",
|
|
7116
|
+
"mermaidModal": "s56VVa_mermaidModal",
|
|
7117
|
+
"dropUp": "s56VVa_dropUp",
|
|
7118
|
+
"editorHeader": "s56VVa_editorHeader",
|
|
7119
|
+
"browser": "s56VVa_browser",
|
|
7120
|
+
"toggleButton": "s56VVa_toggleButton",
|
|
7121
|
+
"editorGitDel": "s56VVa_editorGitDel",
|
|
7122
|
+
"editorCmHidden": "s56VVa_editorCmHidden",
|
|
7123
|
+
"largeFile": "s56VVa_largeFile"
|
|
7124
7124
|
};
|
|
7125
7125
|
//#endregion
|
|
7126
7126
|
//#region ../../../DSH-better-sidebar/src/client/reveal-bus.ts
|
|
@@ -9501,13 +9501,13 @@ window.__ModuleLoader__.load({
|
|
|
9501
9501
|
];
|
|
9502
9502
|
//#endregion
|
|
9503
9503
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeFileTree.module.css.mjs
|
|
9504
|
-
const css$
|
|
9505
|
-
const tagId$
|
|
9506
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
9504
|
+
const css$14 = "._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}";
|
|
9505
|
+
const tagId$14 = "@sparkelf/dsh-knowledge-base/KnowledgeFileTree.module.css";
|
|
9506
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$14) + "]") === null) {
|
|
9507
9507
|
const tag = document.createElement("style");
|
|
9508
9508
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
9509
|
-
tag.dataset.pluginCss = tagId$
|
|
9510
|
-
tag.textContent = css$
|
|
9509
|
+
tag.dataset.pluginCss = tagId$14;
|
|
9510
|
+
tag.textContent = css$14;
|
|
9511
9511
|
document.head.appendChild(tag);
|
|
9512
9512
|
}
|
|
9513
9513
|
var KnowledgeFileTree_module_css_default = { "treeFrame": "_2iOZpG_treeFrame" };
|
|
@@ -10313,7 +10313,71 @@ window.__ModuleLoader__.load({
|
|
|
10313
10313
|
createNameSeparator: "A name cannot contain / or \\",
|
|
10314
10314
|
createNameTraversal: "A name cannot be . or ..",
|
|
10315
10315
|
deployAboutRemote: "What remote deployment does",
|
|
10316
|
-
deployAboutRemoteBody: "A remote deployment syncs documents from a shared NFS or SSHFS export. Its wizard prepares that host, installs the parsing service, and verifies the mount."
|
|
10316
|
+
deployAboutRemoteBody: "A remote deployment syncs documents from a shared NFS or SSHFS export. Its wizard prepares that host, installs the parsing service, and verifies the mount.",
|
|
10317
|
+
"menu.memory": "Memory",
|
|
10318
|
+
memoryHint: "Preferences, facts, pitfalls and methods learned from your conversations.",
|
|
10319
|
+
memorySwitchLabel: "Memory",
|
|
10320
|
+
memoryEnabled: "On",
|
|
10321
|
+
memoryPaused: "Paused",
|
|
10322
|
+
memoryPausedNotice: "Memory is paused. No new memories are learned; existing memories stay visible and can still be forgotten.",
|
|
10323
|
+
memorySettingsFailed: "Could not read the memory setting.",
|
|
10324
|
+
memoryEnableTitle: "Turn on memory",
|
|
10325
|
+
memoryEnableBody: "When memory is on, the assistant learns preferences, facts, pitfalls and methods from your conversations, and they may affect later answers and actions. Existing memories are kept, and you can pause or forget any single memory at any time.",
|
|
10326
|
+
memoryPauseTitle: "Pause memory",
|
|
10327
|
+
memoryPauseBody: "When memory is paused, no new memories are learned. Existing memories are kept but no longer affect later answers.",
|
|
10328
|
+
memoryConfirmEnable: "Turn on",
|
|
10329
|
+
memoryConfirmPause: "Pause",
|
|
10330
|
+
memorySearchPlaceholder: "Search memories",
|
|
10331
|
+
memoryFilterLabel: "Filter by type",
|
|
10332
|
+
memoryFilterAll: "All types",
|
|
10333
|
+
memoryTypePreference: "Preference",
|
|
10334
|
+
memoryTypePitfall: "Pitfall",
|
|
10335
|
+
memoryTypeFact: "Fact",
|
|
10336
|
+
memoryTypeSop: "Method",
|
|
10337
|
+
memoryTypeEpisodic: "Episode",
|
|
10338
|
+
memoryTypeOther: "Other",
|
|
10339
|
+
memoryColumnMemory: "Memory",
|
|
10340
|
+
memoryColumnType: "Type",
|
|
10341
|
+
memoryColumnSource: "Source",
|
|
10342
|
+
memoryColumnUpdated: "Updated",
|
|
10343
|
+
memoryColumnPrivacy: "Privacy",
|
|
10344
|
+
memoryColumnActions: "Actions",
|
|
10345
|
+
memoryActionView: "View",
|
|
10346
|
+
memoryActionCorrect: "Correct",
|
|
10347
|
+
memoryActionForget: "Forget",
|
|
10348
|
+
memorySourceUnknown: "Earlier conversation",
|
|
10349
|
+
memoryMoreSources: "{n} more sources",
|
|
10350
|
+
memoryTimeJustNow: "Just now",
|
|
10351
|
+
memoryTimeMinutes: "{n} min ago",
|
|
10352
|
+
memoryTimeHours: "{n} h ago",
|
|
10353
|
+
memoryTimeDays: "{n} d ago",
|
|
10354
|
+
memoryPrivacyNormal: "Normal",
|
|
10355
|
+
memoryPrivacyPrivate: "Only me",
|
|
10356
|
+
memoryPrivacySensitive: "Sensitive",
|
|
10357
|
+
memoryPrivacySecret: "Credential reference",
|
|
10358
|
+
memoryPrivacyOther: "—",
|
|
10359
|
+
memoryListLoading: "Reading memories…",
|
|
10360
|
+
memoryListFailed: "Could not read memories.",
|
|
10361
|
+
memoryRetry: "Retry",
|
|
10362
|
+
memoryEmptyTitle: "No memories yet",
|
|
10363
|
+
memoryEmptyBody: "When memory is on, durable preferences, facts, pitfalls and methods from your conversations appear here.",
|
|
10364
|
+
memoryNoMatches: "No memories match this search.",
|
|
10365
|
+
memoryDetailTitle: "Memory details",
|
|
10366
|
+
memoryDetailContent: "Content",
|
|
10367
|
+
memoryDetailSource: "Source",
|
|
10368
|
+
memoryDetailEvidence: "Evidence",
|
|
10369
|
+
memoryDetailLoading: "Reading the full memory…",
|
|
10370
|
+
memoryNoContent: "No content recorded.",
|
|
10371
|
+
memoryViewSource: "View original",
|
|
10372
|
+
memoryClose: "Close",
|
|
10373
|
+
memoryEditTitle: "Correct memory",
|
|
10374
|
+
memoryEditContentLabel: "Content",
|
|
10375
|
+
memorySave: "Save",
|
|
10376
|
+
memorySaveFailed: "Could not save this correction.",
|
|
10377
|
+
memoryForgetTitle: "Forget this memory?",
|
|
10378
|
+
memoryForgetBody: "The memory will no longer appear or affect later answers. It cannot be undone from this page.",
|
|
10379
|
+
memoryForgetConfirm: "Forget",
|
|
10380
|
+
memoryForgetFailed: "Could not forget this memory."
|
|
10317
10381
|
};
|
|
10318
10382
|
/** Chinese knowledge-base copy. */
|
|
10319
10383
|
const zh = {
|
|
@@ -10981,7 +11045,71 @@ window.__ModuleLoader__.load({
|
|
|
10981
11045
|
createNameSeparator: "名称不能包含 / 或 \\",
|
|
10982
11046
|
createNameTraversal: "名称不能是 . 或 ..",
|
|
10983
11047
|
deployAboutRemote: "远程部署会做什么",
|
|
10984
|
-
deployAboutRemoteBody: "远程部署会从共享的 NFS 或 SSHFS 导出同步文档。它的部署向导弹会准备该主机、安装解析服务并验证挂载。"
|
|
11048
|
+
deployAboutRemoteBody: "远程部署会从共享的 NFS 或 SSHFS 导出同步文档。它的部署向导弹会准备该主机、安装解析服务并验证挂载。",
|
|
11049
|
+
"menu.memory": "记忆",
|
|
11050
|
+
memoryHint: "从会话里学到的偏好、事实、踩坑和方法。",
|
|
11051
|
+
memorySwitchLabel: "记忆",
|
|
11052
|
+
memoryEnabled: "开启",
|
|
11053
|
+
memoryPaused: "暂停",
|
|
11054
|
+
memoryPausedNotice: "记忆已暂停:不再学习新记忆;已有记忆保留,可查看或忘记。",
|
|
11055
|
+
memorySettingsFailed: "无法读取记忆设置。",
|
|
11056
|
+
memoryEnableTitle: "开启记忆",
|
|
11057
|
+
memoryEnableBody: "开启后,会从会话中学习偏好、事实、踩坑和方法,并可能影响后续回答与操作;已有记忆保留,可随时暂停或忘记单条。",
|
|
11058
|
+
memoryPauseTitle: "暂停记忆",
|
|
11059
|
+
memoryPauseBody: "暂停后不再学习新记忆,已有记忆保留,但不再影响后续回答。",
|
|
11060
|
+
memoryConfirmEnable: "确认开启",
|
|
11061
|
+
memoryConfirmPause: "确认暂停",
|
|
11062
|
+
memorySearchPlaceholder: "搜索记忆",
|
|
11063
|
+
memoryFilterLabel: "按类型筛选",
|
|
11064
|
+
memoryFilterAll: "全部类型",
|
|
11065
|
+
memoryTypePreference: "偏好",
|
|
11066
|
+
memoryTypePitfall: "踩坑",
|
|
11067
|
+
memoryTypeFact: "事实",
|
|
11068
|
+
memoryTypeSop: "方法",
|
|
11069
|
+
memoryTypeEpisodic: "情景",
|
|
11070
|
+
memoryTypeOther: "其他",
|
|
11071
|
+
memoryColumnMemory: "记忆",
|
|
11072
|
+
memoryColumnType: "类型",
|
|
11073
|
+
memoryColumnSource: "来源",
|
|
11074
|
+
memoryColumnUpdated: "更新时间",
|
|
11075
|
+
memoryColumnPrivacy: "隐私",
|
|
11076
|
+
memoryColumnActions: "操作",
|
|
11077
|
+
memoryActionView: "查看",
|
|
11078
|
+
memoryActionCorrect: "纠正",
|
|
11079
|
+
memoryActionForget: "忘记",
|
|
11080
|
+
memorySourceUnknown: "历史会话",
|
|
11081
|
+
memoryMoreSources: "另有 {n} 条来源",
|
|
11082
|
+
memoryTimeJustNow: "刚刚",
|
|
11083
|
+
memoryTimeMinutes: "{n} 分钟前",
|
|
11084
|
+
memoryTimeHours: "{n} 小时前",
|
|
11085
|
+
memoryTimeDays: "{n} 天前",
|
|
11086
|
+
memoryPrivacyNormal: "普通",
|
|
11087
|
+
memoryPrivacyPrivate: "仅自己",
|
|
11088
|
+
memoryPrivacySensitive: "敏感",
|
|
11089
|
+
memoryPrivacySecret: "凭据引用",
|
|
11090
|
+
memoryPrivacyOther: "—",
|
|
11091
|
+
memoryListLoading: "正在读取记忆…",
|
|
11092
|
+
memoryListFailed: "记忆读取失败。",
|
|
11093
|
+
memoryRetry: "重试",
|
|
11094
|
+
memoryEmptyTitle: "还没有记忆",
|
|
11095
|
+
memoryEmptyBody: "开启记忆后,会话里值得长期保留的偏好、事实、踩坑和方法会出现在这里。",
|
|
11096
|
+
memoryNoMatches: "没有匹配的记忆。",
|
|
11097
|
+
memoryDetailTitle: "记忆详情",
|
|
11098
|
+
memoryDetailContent: "内容",
|
|
11099
|
+
memoryDetailSource: "来源",
|
|
11100
|
+
memoryDetailEvidence: "证据",
|
|
11101
|
+
memoryDetailLoading: "正在读取完整记忆…",
|
|
11102
|
+
memoryNoContent: "没有记录内容。",
|
|
11103
|
+
memoryViewSource: "查看原文",
|
|
11104
|
+
memoryClose: "关闭",
|
|
11105
|
+
memoryEditTitle: "纠正记忆",
|
|
11106
|
+
memoryEditContentLabel: "内容",
|
|
11107
|
+
memorySave: "保存",
|
|
11108
|
+
memorySaveFailed: "保存纠正失败。",
|
|
11109
|
+
memoryForgetTitle: "忘记这条记忆?",
|
|
11110
|
+
memoryForgetBody: "忘记后这条记忆不再出现,也不再影响后续回答;本页无法撤销。",
|
|
11111
|
+
memoryForgetConfirm: "确认忘记",
|
|
11112
|
+
memoryForgetFailed: "忘记失败。"
|
|
10985
11113
|
};
|
|
10986
11114
|
//#endregion
|
|
10987
11115
|
//#region src/client/KnowledgeFileTree.tsx
|
|
@@ -12470,31 +12598,31 @@ window.__ModuleLoader__.load({
|
|
|
12470
12598
|
}
|
|
12471
12599
|
//#endregion
|
|
12472
12600
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeShareDialog.module.css.mjs
|
|
12473
|
-
const css$
|
|
12474
|
-
const tagId$
|
|
12475
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
12601
|
+
const css$13 = ".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}";
|
|
12602
|
+
const tagId$13 = "@sparkelf/dsh-knowledge-base/KnowledgeShareDialog.module.css";
|
|
12603
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$13) + "]") === null) {
|
|
12476
12604
|
const tag = document.createElement("style");
|
|
12477
12605
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
12478
|
-
tag.dataset.pluginCss = tagId$
|
|
12479
|
-
tag.textContent = css$
|
|
12606
|
+
tag.dataset.pluginCss = tagId$13;
|
|
12607
|
+
tag.textContent = css$13;
|
|
12480
12608
|
document.head.appendChild(tag);
|
|
12481
12609
|
}
|
|
12482
12610
|
var KnowledgeShareDialog_module_css_default = {
|
|
12483
|
-
"
|
|
12484
|
-
"option": "nw--rq_option",
|
|
12485
|
-
"state": "nw--rq_state",
|
|
12486
|
-
"optionLabel": "nw--rq_optionLabel",
|
|
12487
|
-
"notice": "nw--rq_notice",
|
|
12488
|
-
"list": "nw--rq_list",
|
|
12611
|
+
"hint": "nw--rq_hint",
|
|
12489
12612
|
"fieldLabel": "nw--rq_fieldLabel",
|
|
12490
|
-
"
|
|
12613
|
+
"chosenLabel": "nw--rq_chosenLabel",
|
|
12491
12614
|
"dialog": "nw--rq_dialog",
|
|
12615
|
+
"option": "nw--rq_option",
|
|
12616
|
+
"body": "nw--rq_body",
|
|
12492
12617
|
"content": "nw--rq_content",
|
|
12493
12618
|
"intro": "nw--rq_intro",
|
|
12494
|
-
"hint": "nw--rq_hint",
|
|
12495
|
-
"optionDetail": "nw--rq_optionDetail",
|
|
12496
12619
|
"chosen": "nw--rq_chosen",
|
|
12497
|
-
"
|
|
12620
|
+
"optionLabel": "nw--rq_optionLabel",
|
|
12621
|
+
"state": "nw--rq_state",
|
|
12622
|
+
"field": "nw--rq_field",
|
|
12623
|
+
"notice": "nw--rq_notice",
|
|
12624
|
+
"optionDetail": "nw--rq_optionDetail",
|
|
12625
|
+
"list": "nw--rq_list"
|
|
12498
12626
|
};
|
|
12499
12627
|
//#endregion
|
|
12500
12628
|
//#region src/client/KnowledgeShareDialog.tsx
|
|
@@ -14852,56 +14980,56 @@ window.__ModuleLoader__.load({
|
|
|
14852
14980
|
}
|
|
14853
14981
|
//#endregion
|
|
14854
14982
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgePermissions.module.css.mjs
|
|
14855
|
-
const css$
|
|
14856
|
-
const tagId$
|
|
14857
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
14983
|
+
const css$12 = ".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%}";
|
|
14984
|
+
const tagId$12 = "@sparkelf/dsh-knowledge-base/KnowledgePermissions.module.css";
|
|
14985
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$12) + "]") === null) {
|
|
14858
14986
|
const tag = document.createElement("style");
|
|
14859
14987
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
14860
|
-
tag.dataset.pluginCss = tagId$
|
|
14861
|
-
tag.textContent = css$
|
|
14988
|
+
tag.dataset.pluginCss = tagId$12;
|
|
14989
|
+
tag.textContent = css$12;
|
|
14862
14990
|
document.head.appendChild(tag);
|
|
14863
14991
|
}
|
|
14864
14992
|
var KnowledgePermissions_module_css_default = {
|
|
14865
|
-
"
|
|
14866
|
-
"
|
|
14867
|
-
"
|
|
14868
|
-
"
|
|
14869
|
-
"
|
|
14870
|
-
"holderName": "W1jiya_holderName",
|
|
14871
|
-
"countCell": "W1jiya_countCell",
|
|
14872
|
-
"pathCell": "W1jiya_pathCell",
|
|
14993
|
+
"overview": "W1jiya_overview",
|
|
14994
|
+
"principalMeta": "W1jiya_principalMeta",
|
|
14995
|
+
"holder": "W1jiya_holder",
|
|
14996
|
+
"principalName": "W1jiya_principalName",
|
|
14997
|
+
"dialogForm": "W1jiya_dialogForm",
|
|
14873
14998
|
"chips": "W1jiya_chips",
|
|
14874
|
-
"principalId": "W1jiya_principalId",
|
|
14875
|
-
"pageTitle": "W1jiya_pageTitle",
|
|
14876
|
-
"pagerStatus": "W1jiya_pagerStatus",
|
|
14877
|
-
"sourceCell": "W1jiya_sourceCell",
|
|
14878
|
-
"pageSize": "W1jiya_pageSize",
|
|
14879
|
-
"emptyNote": "W1jiya_emptyNote",
|
|
14880
|
-
"statLabel": "W1jiya_statLabel",
|
|
14881
|
-
"statCard": "W1jiya_statCard",
|
|
14882
14999
|
"pageHint": "W1jiya_pageHint",
|
|
14883
|
-
"
|
|
15000
|
+
"pager": "W1jiya_pager",
|
|
15001
|
+
"countCell": "W1jiya_countCell",
|
|
15002
|
+
"holderName": "W1jiya_holderName",
|
|
15003
|
+
"dialogSelect": "W1jiya_dialogSelect",
|
|
15004
|
+
"pageSize": "W1jiya_pageSize",
|
|
14884
15005
|
"actionCell": "W1jiya_actionCell",
|
|
15006
|
+
"linkButton": "W1jiya_linkButton",
|
|
15007
|
+
"statRow": "W1jiya_statRow",
|
|
15008
|
+
"pageTitle": "W1jiya_pageTitle",
|
|
15009
|
+
"principalId": "W1jiya_principalId",
|
|
15010
|
+
"sourceCell": "W1jiya_sourceCell",
|
|
15011
|
+
"statValue": "W1jiya_statValue",
|
|
15012
|
+
"sourceHint": "W1jiya_sourceHint",
|
|
15013
|
+
"placeholder": "W1jiya_placeholder",
|
|
15014
|
+
"path": "W1jiya_path",
|
|
15015
|
+
"dialogNotice": "W1jiya_dialogNotice",
|
|
15016
|
+
"pathCell": "W1jiya_pathCell",
|
|
14885
15017
|
"dialogField": "W1jiya_dialogField",
|
|
14886
|
-
"
|
|
14887
|
-
"
|
|
14888
|
-
"
|
|
14889
|
-
"pager": "W1jiya_pager",
|
|
15018
|
+
"pageHead": "W1jiya_pageHead",
|
|
15019
|
+
"pagerStatus": "W1jiya_pagerStatus",
|
|
15020
|
+
"statCard": "W1jiya_statCard",
|
|
14890
15021
|
"table": "W1jiya_table",
|
|
14891
|
-
"
|
|
15022
|
+
"emptyNote": "W1jiya_emptyNote",
|
|
14892
15023
|
"paths": "W1jiya_paths",
|
|
14893
|
-
"
|
|
15024
|
+
"holderKind": "W1jiya_holderKind",
|
|
15025
|
+
"tabs": "W1jiya_tabs",
|
|
15026
|
+
"rowActions": "W1jiya_rowActions",
|
|
15027
|
+
"statLabel": "W1jiya_statLabel",
|
|
14894
15028
|
"holders": "W1jiya_holders",
|
|
14895
|
-
"
|
|
14896
|
-
"actions": "W1jiya_actions",
|
|
14897
|
-
"emptyRow": "W1jiya_emptyRow",
|
|
14898
|
-
"sourceHint": "W1jiya_sourceHint",
|
|
14899
|
-
"statRow": "W1jiya_statRow",
|
|
14900
|
-
"dialogForm": "W1jiya_dialogForm",
|
|
15029
|
+
"partialMark": "W1jiya_partialMark",
|
|
14901
15030
|
"overviewEmpty": "W1jiya_overviewEmpty",
|
|
14902
|
-
"
|
|
14903
|
-
"
|
|
14904
|
-
"principalMeta": "W1jiya_principalMeta"
|
|
15031
|
+
"actions": "W1jiya_actions",
|
|
15032
|
+
"emptyRow": "W1jiya_emptyRow"
|
|
14905
15033
|
};
|
|
14906
15034
|
//#endregion
|
|
14907
15035
|
//#region src/client/KnowledgeTrash.tsx
|
|
@@ -15211,23 +15339,23 @@ window.__ModuleLoader__.load({
|
|
|
15211
15339
|
}
|
|
15212
15340
|
//#endregion
|
|
15213
15341
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeAudit.module.css.mjs
|
|
15214
|
-
const css$
|
|
15215
|
-
const tagId$
|
|
15216
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
15342
|
+
const css$11 = "._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}";
|
|
15343
|
+
const tagId$11 = "@sparkelf/dsh-knowledge-base/KnowledgeAudit.module.css";
|
|
15344
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$11) + "]") === null) {
|
|
15217
15345
|
const tag = document.createElement("style");
|
|
15218
15346
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
15219
|
-
tag.dataset.pluginCss = tagId$
|
|
15220
|
-
tag.textContent = css$
|
|
15347
|
+
tag.dataset.pluginCss = tagId$11;
|
|
15348
|
+
tag.textContent = css$11;
|
|
15221
15349
|
document.head.appendChild(tag);
|
|
15222
15350
|
}
|
|
15223
15351
|
var KnowledgeAudit_module_css_default = {
|
|
15224
|
-
"tabs": "_0xqcPG_tabs",
|
|
15225
15352
|
"audit": "_0xqcPG_audit",
|
|
15226
|
-
"
|
|
15227
|
-
"pagerPosition": "_0xqcPG_pagerPosition",
|
|
15228
|
-
"pager": "_0xqcPG_pager",
|
|
15353
|
+
"tabs": "_0xqcPG_tabs",
|
|
15229
15354
|
"pathCell": "_0xqcPG_pathCell",
|
|
15230
15355
|
"pagerTotal": "_0xqcPG_pagerTotal",
|
|
15356
|
+
"pagerPosition": "_0xqcPG_pagerPosition",
|
|
15357
|
+
"pagerSize": "_0xqcPG_pagerSize",
|
|
15358
|
+
"pager": "_0xqcPG_pager",
|
|
15231
15359
|
"pagerSizeLabel": "_0xqcPG_pagerSizeLabel"
|
|
15232
15360
|
};
|
|
15233
15361
|
//#endregion
|
|
@@ -15597,191 +15725,992 @@ window.__ModuleLoader__.load({
|
|
|
15597
15725
|
})
|
|
15598
15726
|
]
|
|
15599
15727
|
})
|
|
15600
|
-
] });
|
|
15601
|
-
}
|
|
15602
|
-
}
|
|
15603
|
-
/**
|
|
15604
|
-
* The localized word for one recorded action.
|
|
15605
|
-
*
|
|
15606
|
-
* Falls back to the raw value: an action a newer Host writes would otherwise render
|
|
15607
|
-
* as an empty cell, and a blank is worse than an untranslated word.
|
|
15608
|
-
* @param action - the action as the Host records it.
|
|
15609
|
-
* @param c - copy resolver.
|
|
15610
|
-
* @returns The localized action name.
|
|
15611
|
-
*/
|
|
15612
|
-
function actionLabel(action, c) {
|
|
15613
|
-
const normalized = action.replace(/[-_]([a-z])/gu, (_match, letter) => letter.toUpperCase());
|
|
15614
|
-
const key = "auditAction" + normalized.charAt(0).toUpperCase() + normalized.slice(1);
|
|
15615
|
-
const label = c(key);
|
|
15616
|
-
return label === key ? action : label;
|
|
15617
|
-
}
|
|
15618
|
-
/**
|
|
15619
|
-
* The localized name for a recorded actor.
|
|
15620
|
-
*
|
|
15621
|
-
* `external-change` is the file watcher's actor id; older entries were written before
|
|
15622
|
-
* the Host recorded a display label, so the raw id would otherwise reach the table.
|
|
15623
|
-
* @param actor - the actor id as the Host records it.
|
|
15624
|
-
* @param c - copy resolver.
|
|
15625
|
-
* @returns The localized name, or the id when it is not a known actor.
|
|
15626
|
-
*/
|
|
15627
|
-
function actorLabel(actor, c) {
|
|
15628
|
-
if (actor === "external-change" || actor === "externalChange") return c("auditActorExternalChange");
|
|
15629
|
-
if (actor === "system") return c("auditActorSystem");
|
|
15630
|
-
return actor;
|
|
15728
|
+
] });
|
|
15729
|
+
}
|
|
15730
|
+
}
|
|
15731
|
+
/**
|
|
15732
|
+
* The localized word for one recorded action.
|
|
15733
|
+
*
|
|
15734
|
+
* Falls back to the raw value: an action a newer Host writes would otherwise render
|
|
15735
|
+
* as an empty cell, and a blank is worse than an untranslated word.
|
|
15736
|
+
* @param action - the action as the Host records it.
|
|
15737
|
+
* @param c - copy resolver.
|
|
15738
|
+
* @returns The localized action name.
|
|
15739
|
+
*/
|
|
15740
|
+
function actionLabel(action, c) {
|
|
15741
|
+
const normalized = action.replace(/[-_]([a-z])/gu, (_match, letter) => letter.toUpperCase());
|
|
15742
|
+
const key = "auditAction" + normalized.charAt(0).toUpperCase() + normalized.slice(1);
|
|
15743
|
+
const label = c(key);
|
|
15744
|
+
return label === key ? action : label;
|
|
15745
|
+
}
|
|
15746
|
+
/**
|
|
15747
|
+
* The localized name for a recorded actor.
|
|
15748
|
+
*
|
|
15749
|
+
* `external-change` is the file watcher's actor id; older entries were written before
|
|
15750
|
+
* the Host recorded a display label, so the raw id would otherwise reach the table.
|
|
15751
|
+
* @param actor - the actor id as the Host records it.
|
|
15752
|
+
* @param c - copy resolver.
|
|
15753
|
+
* @returns The localized name, or the id when it is not a known actor.
|
|
15754
|
+
*/
|
|
15755
|
+
function actorLabel(actor, c) {
|
|
15756
|
+
if (actor === "external-change" || actor === "externalChange") return c("auditActorExternalChange");
|
|
15757
|
+
if (actor === "system") return c("auditActorSystem");
|
|
15758
|
+
return actor;
|
|
15759
|
+
}
|
|
15760
|
+
//#endregion
|
|
15761
|
+
//#region src/client/KnowledgeSettings.tsx
|
|
15762
|
+
/**
|
|
15763
|
+
* TODO: this page is unreachable from the real entry, and needs a decision.
|
|
15764
|
+
*
|
|
15765
|
+
* Verified by driving the deployed product on 2026-10-21, not by reading the code:
|
|
15766
|
+
* entering 知识库 and clicking 「设置」 in its own rail opens the DSH GLOBAL settings
|
|
15767
|
+
* dialog (left nav: 通用设置/模型/内置插件/Agent 预设/DataOps/备份/知识库/插件市场/
|
|
15768
|
+
* 侧边卡片), never this component. The rail row sets `selection.kind = 'settings'`,
|
|
15769
|
+
* which `KnowledgePanel.tsx` renders as this surface, but the click that a reader can
|
|
15770
|
+
* actually reach is the shell's own settings entry, so nothing in the real UI leads
|
|
15771
|
+
* here. The review switch below therefore has no user-facing effect today.
|
|
15772
|
+
*
|
|
15773
|
+
* Deliberately NOT deleted: removing this file, the `rendered.kind === 'settings'`
|
|
15774
|
+
* branch in `KnowledgePanel.tsx` and the `menu.settings` rail row is a cross-file
|
|
15775
|
+
* structural change, and the choice between "delete the page" and "give it a real
|
|
15776
|
+
* entry point" is a product decision rather than a cleanup. Left as-is with this note
|
|
15777
|
+
* so the next change starts from the measured fact instead of re-deriving it.
|
|
15778
|
+
*
|
|
15779
|
+
* What WAS moved: the MinerU service address. It lived here for one round and was
|
|
15780
|
+
* invisible to readers for exactly this reason; it now renders in
|
|
15781
|
+
* `KnowledgeSettingsSection.tsx` (DSH global settings → 知识库), which is reachable.
|
|
15782
|
+
*/
|
|
15783
|
+
/**
|
|
15784
|
+
* The settings surface of the management page.
|
|
15785
|
+
*
|
|
15786
|
+
* This page carries the review switch and the shared vector-retrieval group: the
|
|
15787
|
+
* switch is a DECISION about whether other people's contributions take effect
|
|
15788
|
+
* immediately, so it needs write access; the vector group is the same component the
|
|
15789
|
+
* DSH settings section renders, which keeps a profile without that slot usable. The queue that decision governs and the trail of what it settled both
|
|
15790
|
+
* moved to the Audit page, which is the surface an operator opens to get through
|
|
15791
|
+
* work; parking a worklist under a configuration switch made them scroll past the
|
|
15792
|
+
* setting to reach today's arrivals, and left two duplicate entry points pointing
|
|
15793
|
+
* at the same two tables.
|
|
15794
|
+
*
|
|
15795
|
+
* The switch ships OFF. That is the product decision, not a default that drifted: an
|
|
15796
|
+
* operator who never opens this page keeps the behaviour they had, and turning review
|
|
15797
|
+
* on is a deliberate act with a visible consequence.
|
|
15798
|
+
*
|
|
15799
|
+
* @module @sparkelf/dsh-knowledge-base/client
|
|
15800
|
+
*/
|
|
15801
|
+
/**
|
|
15802
|
+
* Render the review switch and the audit trail.
|
|
15803
|
+
* @param props - copy resolver.
|
|
15804
|
+
* @returns The settings surface.
|
|
15805
|
+
*/
|
|
15806
|
+
function KnowledgeSettings(props) {
|
|
15807
|
+
/** Copy resolver, bound from the page so this surface writes no literals. */
|
|
15808
|
+
const c = props.t;
|
|
15809
|
+
const [state, setState] = (0, react.useState)({ kind: "loading" });
|
|
15810
|
+
const [busy, setBusy] = (0, react.useState)(false);
|
|
15811
|
+
const [notice, setNotice] = (0, react.useState)(void 0);
|
|
15812
|
+
const load = (0, react.useCallback)(async () => {
|
|
15813
|
+
try {
|
|
15814
|
+
const response = await fetch(kbApiPath(KB_API.settingsGet), {
|
|
15815
|
+
method: "POST",
|
|
15816
|
+
headers: { "content-type": "application/json" },
|
|
15817
|
+
body: "{}",
|
|
15818
|
+
cache: "no-store"
|
|
15819
|
+
});
|
|
15820
|
+
if (!response.ok) throw new Error("HTTP " + String(response.status));
|
|
15821
|
+
const body = await response.json();
|
|
15822
|
+
setState({
|
|
15823
|
+
kind: "ready",
|
|
15824
|
+
settings: {
|
|
15825
|
+
reviewRequired: body.settings?.reviewRequired === true,
|
|
15826
|
+
mineruBaseUrl: typeof body.settings?.mineruBaseUrl === "string" ? body.settings.mineruBaseUrl : ""
|
|
15827
|
+
},
|
|
15828
|
+
canEdit: body.canEdit === true
|
|
15829
|
+
});
|
|
15830
|
+
} catch (error) {
|
|
15831
|
+
setState({
|
|
15832
|
+
kind: "error",
|
|
15833
|
+
message: error instanceof Error ? error.message : String(error)
|
|
15834
|
+
});
|
|
15835
|
+
}
|
|
15836
|
+
}, []);
|
|
15837
|
+
(0, react.useEffect)(() => {
|
|
15838
|
+
load();
|
|
15839
|
+
}, [load]);
|
|
15840
|
+
/**
|
|
15841
|
+
* Flip the review switch, then re-read so the shown value is the stored one.
|
|
15842
|
+
* @param next - the requested value.
|
|
15843
|
+
*/
|
|
15844
|
+
const setReview = async (next) => {
|
|
15845
|
+
setBusy(true);
|
|
15846
|
+
setNotice(void 0);
|
|
15847
|
+
try {
|
|
15848
|
+
const response = await fetch(kbApiPath(KB_API.settingsSet), {
|
|
15849
|
+
method: "POST",
|
|
15850
|
+
headers: { "content-type": "application/json" },
|
|
15851
|
+
body: JSON.stringify({ reviewRequired: next }),
|
|
15852
|
+
cache: "no-store"
|
|
15853
|
+
});
|
|
15854
|
+
const body = await response.json();
|
|
15855
|
+
if (!response.ok) throw new Error(body.error ?? "HTTP " + String(response.status));
|
|
15856
|
+
setNotice(c("settingsSaved"));
|
|
15857
|
+
await load();
|
|
15858
|
+
} catch (error) {
|
|
15859
|
+
setNotice(error instanceof Error ? error.message : c("settingsSaveFailed"));
|
|
15860
|
+
} finally {
|
|
15861
|
+
setBusy(false);
|
|
15862
|
+
}
|
|
15863
|
+
};
|
|
15864
|
+
if (state.kind === "loading") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
15865
|
+
className: KnowledgePanel_module_css_default.notice,
|
|
15866
|
+
children: c("settingsLoading")
|
|
15867
|
+
});
|
|
15868
|
+
if (state.kind === "error") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
15869
|
+
className: KnowledgePanel_module_css_default.notice,
|
|
15870
|
+
children: c("settingsLoadFailed")
|
|
15871
|
+
});
|
|
15872
|
+
const { settings, canEdit } = state;
|
|
15873
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
15874
|
+
className: KnowledgePanel_module_css_default.contentColumn,
|
|
15875
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
15876
|
+
className: KnowledgePanel_module_css_default.surface,
|
|
15877
|
+
children: [
|
|
15878
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", {
|
|
15879
|
+
className: KnowledgePanel_module_css_default.subhead,
|
|
15880
|
+
children: c("settingsReviewHeading")
|
|
15881
|
+
}),
|
|
15882
|
+
c("settingsReviewHint") === "" ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
15883
|
+
className: KnowledgePermissions_module_css_default.pageHint,
|
|
15884
|
+
children: c("settingsReviewHint")
|
|
15885
|
+
}),
|
|
15886
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
15887
|
+
className: KnowledgePanel_module_css_default.pair,
|
|
15888
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Switch, {
|
|
15889
|
+
checked: settings.reviewRequired,
|
|
15890
|
+
disabled: !canEdit || busy,
|
|
15891
|
+
onChange: (next) => {
|
|
15892
|
+
setReview(next);
|
|
15893
|
+
},
|
|
15894
|
+
label: c("settingsReviewLabel")
|
|
15895
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
15896
|
+
className: KnowledgePermissions_module_css_default.pageHint,
|
|
15897
|
+
children: settings.reviewRequired ? c("settingsReviewOn") : c("settingsReviewOff")
|
|
15898
|
+
})]
|
|
15899
|
+
}),
|
|
15900
|
+
!canEdit && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
15901
|
+
className: KnowledgePermissions_module_css_default.pageHint,
|
|
15902
|
+
children: c("settingsReadOnly")
|
|
15903
|
+
}),
|
|
15904
|
+
notice !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
15905
|
+
className: KnowledgePermissions_module_css_default.pageHint,
|
|
15906
|
+
children: notice
|
|
15907
|
+
})
|
|
15908
|
+
]
|
|
15909
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("section", {
|
|
15910
|
+
className: KnowledgePanel_module_css_default.surface,
|
|
15911
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(VectorSettingsGroup, { t: c })
|
|
15912
|
+
})]
|
|
15913
|
+
});
|
|
15914
|
+
}
|
|
15915
|
+
//#endregion
|
|
15916
|
+
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeMemory.module.css.mjs
|
|
15917
|
+
const css$10 = "._2H9JWq_page{flex-direction:column;gap:14px;min-height:0;display:flex}._2H9JWq_header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}._2H9JWq_heading{min-width:0}._2H9JWq_title{color:var(--dsw-alias-label-primary);font:var(--dsw-font-base-strong-16);margin:0}._2H9JWq_hint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:4px 0 0}._2H9JWq_switchGroup{flex:none;align-items:center;gap:8px;display:flex}._2H9JWq_switchState{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-strong-12)}._2H9JWq_pausedNotice{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);margin:0;padding:8px 10px}._2H9JWq_noticeRow{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;display:flex}._2H9JWq_toolbar{align-items:center;gap:8px;display:flex}._2H9JWq_search{flex:auto;max-width:360px}._2H9JWq_select{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-2);height:30px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);padding:0 8px}._2H9JWq_tableWrap{overflow-x:auto}._2H9JWq_table{border-collapse:collapse;width:100%}._2H9JWq_table th{border-bottom:.5px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-strong-11);text-align:left;white-space:nowrap;padding:6px 10px}._2H9JWq_table td{border-bottom:.5px solid var(--dsw-alias-border-l1);font:var(--dsw-font-xxs-12);vertical-align:middle;padding:9px 10px}._2H9JWq_table tbody tr:last-child td{border-bottom:none}._2H9JWq_table tbody tr:hover td{background:var(--dsw-alias-bg-layer-1)}._2H9JWq_memoryCell{max-width:280px}._2H9JWq_memoryTitle{max-width:100%;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;padding:0;overflow:hidden}._2H9JWq_memoryTitle:hover{color:var(--dsw-alias-link)}._2H9JWq_memoryTitle:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}._2H9JWq_typeChip,._2H9JWq_privacyChip{border:.5px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);height:18px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);white-space:nowrap;border-radius:999px;align-items:center;padding:0 6px;display:inline-flex}._2H9JWq_sourceLabel{color:var(--dsw-alias-label-secondary);display:block}._2H9JWq_sourceTime{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);display:block}._2H9JWq_sourceMore{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);margin-left:4px}._2H9JWq_timeCell{color:var(--dsw-alias-label-secondary);white-space:nowrap}._2H9JWq_actionsHead{text-align:right!important}._2H9JWq_actionsCell{text-align:right}._2H9JWq_rowActions{white-space:nowrap;justify-content:flex-end;align-items:center;gap:2px;display:inline-flex}._2H9JWq_notice{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:0}._2H9JWq_state{flex-direction:column;align-items:flex-start;gap:6px;padding:18px 0;display:flex}._2H9JWq_error{color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxs-12);margin:0}._2H9JWq_errorDetail{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);overflow-wrap:anywhere;margin:0}._2H9JWq_empty{border:.5px dashed var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:36px 16px;display:flex}._2H9JWq_emptyTitle{color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-strong-14);margin:0}._2H9JWq_emptyBody{max-width:520px;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);text-align:center;margin:0}._2H9JWq_footer{justify-content:flex-end;gap:8px;display:flex}._2H9JWq_detailBody{flex-direction:column;gap:16px;display:flex}._2H9JWq_detailMeta{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:0}._2H9JWq_detailLabel{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-strong-11);margin:0 0 4px}._2H9JWq_detailContent{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-13);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.7}._2H9JWq_sourceList{margin:0;padding:0;list-style:none}._2H9JWq_sourceList li{border-bottom:.5px solid var(--dsw-alias-border-l1);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);justify-content:space-between;align-items:baseline;gap:10px;padding:4px 0;display:flex}._2H9JWq_sourceList li:last-child{border-bottom:none}._2H9JWq_evidence{align-items:center;gap:8px;margin-top:6px;display:flex}._2H9JWq_evidence ._2H9JWq_detailLabel{margin:0}._2H9JWq_textarea{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-2);width:100%;min-height:160px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);resize:vertical;padding:8px 10px;line-height:1.6}";
|
|
15918
|
+
const tagId$10 = "@sparkelf/dsh-knowledge-base/KnowledgeMemory.module.css";
|
|
15919
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$10) + "]") === null) {
|
|
15920
|
+
const tag = document.createElement("style");
|
|
15921
|
+
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
15922
|
+
tag.dataset.pluginCss = tagId$10;
|
|
15923
|
+
tag.textContent = css$10;
|
|
15924
|
+
document.head.appendChild(tag);
|
|
15925
|
+
}
|
|
15926
|
+
var KnowledgeMemory_module_css_default = {
|
|
15927
|
+
"detailContent": "_2H9JWq_detailContent",
|
|
15928
|
+
"notice": "_2H9JWq_notice",
|
|
15929
|
+
"table": "_2H9JWq_table",
|
|
15930
|
+
"emptyBody": "_2H9JWq_emptyBody",
|
|
15931
|
+
"detailLabel": "_2H9JWq_detailLabel",
|
|
15932
|
+
"search": "_2H9JWq_search",
|
|
15933
|
+
"actionsCell": "_2H9JWq_actionsCell",
|
|
15934
|
+
"error": "_2H9JWq_error",
|
|
15935
|
+
"switchState": "_2H9JWq_switchState",
|
|
15936
|
+
"empty": "_2H9JWq_empty",
|
|
15937
|
+
"pausedNotice": "_2H9JWq_pausedNotice",
|
|
15938
|
+
"rowActions": "_2H9JWq_rowActions",
|
|
15939
|
+
"title": "_2H9JWq_title",
|
|
15940
|
+
"hint": "_2H9JWq_hint",
|
|
15941
|
+
"heading": "_2H9JWq_heading",
|
|
15942
|
+
"sourceTime": "_2H9JWq_sourceTime",
|
|
15943
|
+
"privacyChip": "_2H9JWq_privacyChip",
|
|
15944
|
+
"sourceLabel": "_2H9JWq_sourceLabel",
|
|
15945
|
+
"toolbar": "_2H9JWq_toolbar",
|
|
15946
|
+
"memoryTitle": "_2H9JWq_memoryTitle",
|
|
15947
|
+
"select": "_2H9JWq_select",
|
|
15948
|
+
"evidence": "_2H9JWq_evidence",
|
|
15949
|
+
"sourceList": "_2H9JWq_sourceList",
|
|
15950
|
+
"detailMeta": "_2H9JWq_detailMeta",
|
|
15951
|
+
"noticeRow": "_2H9JWq_noticeRow",
|
|
15952
|
+
"actionsHead": "_2H9JWq_actionsHead",
|
|
15953
|
+
"tableWrap": "_2H9JWq_tableWrap",
|
|
15954
|
+
"emptyTitle": "_2H9JWq_emptyTitle",
|
|
15955
|
+
"detailBody": "_2H9JWq_detailBody",
|
|
15956
|
+
"textarea": "_2H9JWq_textarea",
|
|
15957
|
+
"memoryCell": "_2H9JWq_memoryCell",
|
|
15958
|
+
"typeChip": "_2H9JWq_typeChip",
|
|
15959
|
+
"state": "_2H9JWq_state",
|
|
15960
|
+
"footer": "_2H9JWq_footer",
|
|
15961
|
+
"switchGroup": "_2H9JWq_switchGroup",
|
|
15962
|
+
"timeCell": "_2H9JWq_timeCell",
|
|
15963
|
+
"page": "_2H9JWq_page",
|
|
15964
|
+
"sourceMore": "_2H9JWq_sourceMore",
|
|
15965
|
+
"errorDetail": "_2H9JWq_errorDetail",
|
|
15966
|
+
"header": "_2H9JWq_header"
|
|
15967
|
+
};
|
|
15968
|
+
//#endregion
|
|
15969
|
+
//#region src/client/KnowledgeMemory.tsx
|
|
15970
|
+
/**
|
|
15971
|
+
* The 记忆 page: the user-facing view over their personal memory.
|
|
15972
|
+
*
|
|
15973
|
+
* The page is deliberately small and quiet. It answers four questions — is memory
|
|
15974
|
+
* on, what has been remembered, where did it come from, and how do I correct or
|
|
15975
|
+
* forget it — and it never exposes the machinery behind those answers. Rows show a
|
|
15976
|
+
* short title, a type, a human source label and a relative time; session ids,
|
|
15977
|
+
* tool names, paths, SOP lifecycle and JSON stay out of the surface. The switch
|
|
15978
|
+
* never flips on click: both directions open a confirmation, and only the
|
|
15979
|
+
* confirmation calls the Host.
|
|
15980
|
+
*
|
|
15981
|
+
* `KnowledgeMemory` owns the API state; `KnowledgeMemoryView` is the pure render
|
|
15982
|
+
* used by tests. Keeping the split means the table, the confirmation copy and the
|
|
15983
|
+
* empty state can be asserted without mounting a fetch lifecycle.
|
|
15984
|
+
*
|
|
15985
|
+
* @module @sparkelf/dsh-knowledge-base/client/KnowledgeMemory
|
|
15986
|
+
*/
|
|
15987
|
+
/** POST one memory route and parse the answer without trusting it to be JSON. */
|
|
15988
|
+
async function memoryRequest(route, body = {}) {
|
|
15989
|
+
return readKnowledgeJson(await fetch(KB_API_PREFIX + "/" + route, {
|
|
15990
|
+
method: "POST",
|
|
15991
|
+
headers: { "content-type": "application/json" },
|
|
15992
|
+
body: JSON.stringify(body),
|
|
15993
|
+
cache: "no-store"
|
|
15994
|
+
}));
|
|
15995
|
+
}
|
|
15996
|
+
/** Turn an unknown failure into the one sentence the page can show. */
|
|
15997
|
+
function failureText(error) {
|
|
15998
|
+
return error instanceof Error ? error.message : String(error);
|
|
15999
|
+
}
|
|
16000
|
+
/** The type label key for one stored type. */
|
|
16001
|
+
function typeKey(type) {
|
|
16002
|
+
if (type === "preference") return "memoryTypePreference";
|
|
16003
|
+
if (type === "pitfall") return "memoryTypePitfall";
|
|
16004
|
+
if (type === "fact") return "memoryTypeFact";
|
|
16005
|
+
if (type === "sop") return "memoryTypeSop";
|
|
16006
|
+
if (type === "episodic") return "memoryTypeEpisodic";
|
|
16007
|
+
return "memoryTypeOther";
|
|
16008
|
+
}
|
|
16009
|
+
/** The privacy label key for one stored privacy value. */
|
|
16010
|
+
function privacyKey(privacy) {
|
|
16011
|
+
if (privacy === "normal") return "memoryPrivacyNormal";
|
|
16012
|
+
if (privacy === "private") return "memoryPrivacyPrivate";
|
|
16013
|
+
if (privacy === "sensitive") return "memoryPrivacySensitive";
|
|
16014
|
+
if (privacy === "secret") return "memoryPrivacySecret";
|
|
16015
|
+
return "memoryPrivacyOther";
|
|
16016
|
+
}
|
|
16017
|
+
/** Copy for a relative instant, falling back to the raw date beyond a week. */
|
|
16018
|
+
function relativeTime(t, value, locale) {
|
|
16019
|
+
if (value === void 0 || value === "") return "—";
|
|
16020
|
+
const instant = new Date(value);
|
|
16021
|
+
if (Number.isNaN(instant.getTime())) return "—";
|
|
16022
|
+
const delta = Date.now() - instant.getTime();
|
|
16023
|
+
if (delta < 6e4) return t("memoryTimeJustNow");
|
|
16024
|
+
if (delta < 36e5) return t("memoryTimeMinutes").replace("{n}", String(Math.floor(delta / 6e4)));
|
|
16025
|
+
if (delta < 864e5) return t("memoryTimeHours").replace("{n}", String(Math.floor(delta / 36e5)));
|
|
16026
|
+
if (delta < 6048e5) return t("memoryTimeDays").replace("{n}", String(Math.floor(delta / 864e5)));
|
|
16027
|
+
try {
|
|
16028
|
+
return instant.toLocaleDateString(locale);
|
|
16029
|
+
} catch {
|
|
16030
|
+
return instant.toLocaleDateString();
|
|
16031
|
+
}
|
|
16032
|
+
}
|
|
16033
|
+
/** All source pointers for one memory, primary first. */
|
|
16034
|
+
function sourcesOf(entry) {
|
|
16035
|
+
if (entry.sourceRefs !== void 0 && entry.sourceRefs.length > 0) return entry.sourceRefs;
|
|
16036
|
+
if (entry.source !== void 0) return [entry.source];
|
|
16037
|
+
if (entry.sourceLabel !== void 0 || entry.sourceAt !== void 0 || entry.sourceTime !== void 0) return [{
|
|
16038
|
+
label: entry.sourceLabel,
|
|
16039
|
+
at: entry.sourceAt ?? entry.sourceTime
|
|
16040
|
+
}];
|
|
16041
|
+
return [];
|
|
16042
|
+
}
|
|
16043
|
+
/** Whether 查看原文 can be offered for this entry. */
|
|
16044
|
+
function sourceResolvable(entry, hasHandler) {
|
|
16045
|
+
if (!hasHandler) return false;
|
|
16046
|
+
if (entry.sourceResolvable !== void 0) return entry.sourceResolvable;
|
|
16047
|
+
const source = sourcesOf(entry)[0];
|
|
16048
|
+
if (source?.resolvable !== void 0) return source.resolvable;
|
|
16049
|
+
return typeof source?.sessionId === "string" && source.sessionId !== "";
|
|
16050
|
+
}
|
|
16051
|
+
/** The source label the list shows, never a session id. */
|
|
16052
|
+
function sourceLabel(t, entry) {
|
|
16053
|
+
return sourcesOf(entry)[0]?.label ?? t("memorySourceUnknown");
|
|
16054
|
+
}
|
|
16055
|
+
/** The source instant the list shows. */
|
|
16056
|
+
function sourceAt(entry) {
|
|
16057
|
+
return sourcesOf(entry)[0]?.at ?? entry.sourceAt ?? entry.sourceTime;
|
|
16058
|
+
}
|
|
16059
|
+
/**
|
|
16060
|
+
* Merge the detail/update payload into the row the page already holds.
|
|
16061
|
+
*
|
|
16062
|
+
* `memory.get` and `memory.update` answer with `{ entry, title, content, source }`,
|
|
16063
|
+
* while a list row carries `sourceLabel/sourceTime` and no body. Only the display
|
|
16064
|
+
* fields are copied across, so the route's internal entry (including `path`) never
|
|
16065
|
+
* becomes renderable by accident.
|
|
16066
|
+
*/
|
|
16067
|
+
function detailFromPayload(body, fallback) {
|
|
16068
|
+
const entry = typeof body.entry === "object" && body.entry !== null ? body.entry : {};
|
|
16069
|
+
const source = typeof body.source === "object" && body.source !== null ? body.source : fallback.source;
|
|
16070
|
+
return {
|
|
16071
|
+
...fallback,
|
|
16072
|
+
...typeof body.title === "string" ? { title: body.title } : {},
|
|
16073
|
+
...typeof body.content === "string" ? { content: body.content } : {},
|
|
16074
|
+
...typeof entry.type === "string" ? { type: entry.type } : {},
|
|
16075
|
+
...typeof entry.privacy === "string" ? { privacy: entry.privacy } : {},
|
|
16076
|
+
...typeof entry.updatedAt === "string" ? { updatedAt: entry.updatedAt } : {},
|
|
16077
|
+
...typeof entry.sourceLabel === "string" || typeof entry.sourceTime === "string" ? {
|
|
16078
|
+
sourceLabel: typeof entry.sourceLabel === "string" ? entry.sourceLabel : fallback.sourceLabel,
|
|
16079
|
+
sourceTime: typeof entry.sourceTime === "string" ? entry.sourceTime : fallback.sourceTime
|
|
16080
|
+
} : {},
|
|
16081
|
+
...source === void 0 ? {} : {
|
|
16082
|
+
source,
|
|
16083
|
+
sourceResolvable: typeof source.sessionId === "string" && source.sessionId !== ""
|
|
16084
|
+
}
|
|
16085
|
+
};
|
|
16086
|
+
}
|
|
16087
|
+
/** One type option in the filter. */
|
|
16088
|
+
const TYPE_OPTIONS = [
|
|
16089
|
+
"preference",
|
|
16090
|
+
"pitfall",
|
|
16091
|
+
"fact",
|
|
16092
|
+
"sop"
|
|
16093
|
+
];
|
|
16094
|
+
/** Match one entry against the search term and type filter. */
|
|
16095
|
+
function matches(entry, query, typeFilter) {
|
|
16096
|
+
if (typeFilter !== "" && entry.type !== typeFilter) return false;
|
|
16097
|
+
const needle = query.trim().toLowerCase();
|
|
16098
|
+
if (needle === "") return true;
|
|
16099
|
+
return (entry.title ?? "").toLowerCase().includes(needle) || (entry.content ?? "").toLowerCase().includes(needle);
|
|
16100
|
+
}
|
|
16101
|
+
/** Row actions shared by the table and the detail footer. */
|
|
16102
|
+
function rowActions(t, entry, props) {
|
|
16103
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
16104
|
+
className: KnowledgeMemory_module_css_default.rowActions,
|
|
16105
|
+
children: [
|
|
16106
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16107
|
+
variant: "ghost",
|
|
16108
|
+
size: "sm",
|
|
16109
|
+
onClick: () => {
|
|
16110
|
+
props.onOpenDetail(entry);
|
|
16111
|
+
},
|
|
16112
|
+
children: t("memoryActionView")
|
|
16113
|
+
}),
|
|
16114
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16115
|
+
variant: "ghost",
|
|
16116
|
+
size: "sm",
|
|
16117
|
+
onClick: () => {
|
|
16118
|
+
props.onStartEdit(entry);
|
|
16119
|
+
},
|
|
16120
|
+
children: t("memoryActionCorrect")
|
|
16121
|
+
}),
|
|
16122
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16123
|
+
variant: "ghost",
|
|
16124
|
+
size: "sm",
|
|
16125
|
+
onClick: () => {
|
|
16126
|
+
props.onStartForget(entry);
|
|
16127
|
+
},
|
|
16128
|
+
children: t("memoryActionForget")
|
|
16129
|
+
})
|
|
16130
|
+
]
|
|
16131
|
+
});
|
|
16132
|
+
}
|
|
16133
|
+
/**
|
|
16134
|
+
* Render the memory page from an explicit snapshot.
|
|
16135
|
+
*
|
|
16136
|
+
* @param props - locale copy, page state and the callbacks the container owns.
|
|
16137
|
+
* @returns The header, filters, table and dialogs.
|
|
16138
|
+
*/
|
|
16139
|
+
function KnowledgeMemoryView(props) {
|
|
16140
|
+
const { t } = props;
|
|
16141
|
+
const visible = props.list.status === "ready" ? props.list.entries.filter((entry) => matches(entry, props.query, props.typeFilter)) : [];
|
|
16142
|
+
const detail = props.detail;
|
|
16143
|
+
const editing = props.editing;
|
|
16144
|
+
const forgetTarget = props.forgetTarget;
|
|
16145
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16146
|
+
className: KnowledgeMemory_module_css_default.page,
|
|
16147
|
+
"data-testid": "memory-page",
|
|
16148
|
+
children: [
|
|
16149
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("header", {
|
|
16150
|
+
className: KnowledgeMemory_module_css_default.header,
|
|
16151
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16152
|
+
className: KnowledgeMemory_module_css_default.heading,
|
|
16153
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", {
|
|
16154
|
+
className: KnowledgeMemory_module_css_default.title,
|
|
16155
|
+
children: t("menu.memory")
|
|
16156
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16157
|
+
className: KnowledgeMemory_module_css_default.hint,
|
|
16158
|
+
children: t("memoryHint")
|
|
16159
|
+
})]
|
|
16160
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16161
|
+
className: KnowledgeMemory_module_css_default.switchGroup,
|
|
16162
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16163
|
+
className: KnowledgeMemory_module_css_default.switchState,
|
|
16164
|
+
children: props.enabled ? t("memoryEnabled") : t("memoryPaused")
|
|
16165
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Switch, {
|
|
16166
|
+
checked: props.enabled,
|
|
16167
|
+
disabled: props.settingsLoading || props.toggleBusy,
|
|
16168
|
+
onChange: (next) => {
|
|
16169
|
+
props.onToggleRequest(next);
|
|
16170
|
+
},
|
|
16171
|
+
label: t("memorySwitchLabel")
|
|
16172
|
+
})]
|
|
16173
|
+
})]
|
|
16174
|
+
}),
|
|
16175
|
+
props.settingsError !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16176
|
+
className: KnowledgeMemory_module_css_default.noticeRow,
|
|
16177
|
+
role: "alert",
|
|
16178
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("memorySettingsFailed") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16179
|
+
variant: "ghost",
|
|
16180
|
+
size: "sm",
|
|
16181
|
+
onClick: props.onRetrySettings,
|
|
16182
|
+
children: t("memoryRetry")
|
|
16183
|
+
})]
|
|
16184
|
+
}),
|
|
16185
|
+
!props.enabled && props.settingsError === void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16186
|
+
className: KnowledgeMemory_module_css_default.pausedNotice,
|
|
16187
|
+
children: t("memoryPausedNotice")
|
|
16188
|
+
}),
|
|
16189
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16190
|
+
className: KnowledgeMemory_module_css_default.toolbar,
|
|
16191
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Input, {
|
|
16192
|
+
type: "search",
|
|
16193
|
+
className: KnowledgeMemory_module_css_default.search,
|
|
16194
|
+
value: props.query,
|
|
16195
|
+
placeholder: t("memorySearchPlaceholder"),
|
|
16196
|
+
"aria-label": t("memorySearchPlaceholder"),
|
|
16197
|
+
onChange: (event) => {
|
|
16198
|
+
props.onQueryChange(event.target.value);
|
|
16199
|
+
}
|
|
16200
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
|
|
16201
|
+
className: KnowledgeMemory_module_css_default.select,
|
|
16202
|
+
value: props.typeFilter,
|
|
16203
|
+
"aria-label": t("memoryFilterLabel"),
|
|
16204
|
+
onChange: (event) => {
|
|
16205
|
+
props.onTypeFilterChange(event.target.value);
|
|
16206
|
+
},
|
|
16207
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
16208
|
+
value: "",
|
|
16209
|
+
children: t("memoryFilterAll")
|
|
16210
|
+
}), TYPE_OPTIONS.map((type) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
16211
|
+
value: type,
|
|
16212
|
+
children: t(typeKey(type))
|
|
16213
|
+
}, type))]
|
|
16214
|
+
})]
|
|
16215
|
+
}),
|
|
16216
|
+
props.list.status === "loading" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16217
|
+
className: KnowledgeMemory_module_css_default.notice,
|
|
16218
|
+
"data-testid": "memory-loading",
|
|
16219
|
+
children: t("memoryListLoading")
|
|
16220
|
+
}),
|
|
16221
|
+
props.list.status === "error" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16222
|
+
className: KnowledgeMemory_module_css_default.state,
|
|
16223
|
+
role: "alert",
|
|
16224
|
+
"data-testid": "memory-error",
|
|
16225
|
+
children: [
|
|
16226
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16227
|
+
className: KnowledgeMemory_module_css_default.error,
|
|
16228
|
+
children: t("memoryListFailed")
|
|
16229
|
+
}),
|
|
16230
|
+
props.list.error !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16231
|
+
className: KnowledgeMemory_module_css_default.errorDetail,
|
|
16232
|
+
children: props.list.error
|
|
16233
|
+
}),
|
|
16234
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16235
|
+
variant: "ghost",
|
|
16236
|
+
size: "sm",
|
|
16237
|
+
onClick: props.onRetryList,
|
|
16238
|
+
children: t("memoryRetry")
|
|
16239
|
+
})
|
|
16240
|
+
]
|
|
16241
|
+
}),
|
|
16242
|
+
props.list.status === "ready" && props.list.entries.length === 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16243
|
+
className: KnowledgeMemory_module_css_default.empty,
|
|
16244
|
+
"data-testid": "memory-empty",
|
|
16245
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16246
|
+
className: KnowledgeMemory_module_css_default.emptyTitle,
|
|
16247
|
+
children: t("memoryEmptyTitle")
|
|
16248
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16249
|
+
className: KnowledgeMemory_module_css_default.emptyBody,
|
|
16250
|
+
children: t("memoryEmptyBody")
|
|
16251
|
+
})]
|
|
16252
|
+
}),
|
|
16253
|
+
props.list.status === "ready" && props.list.entries.length > 0 && visible.length === 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16254
|
+
className: KnowledgeMemory_module_css_default.notice,
|
|
16255
|
+
"data-testid": "memory-no-matches",
|
|
16256
|
+
children: t("memoryNoMatches")
|
|
16257
|
+
}),
|
|
16258
|
+
props.list.status === "ready" && visible.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
16259
|
+
className: KnowledgeMemory_module_css_default.tableWrap,
|
|
16260
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("table", {
|
|
16261
|
+
className: KnowledgeMemory_module_css_default.table,
|
|
16262
|
+
"aria-label": t("menu.memory"),
|
|
16263
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("thead", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("tr", { children: [
|
|
16264
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", { children: t("memoryColumnMemory") }),
|
|
16265
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", { children: t("memoryColumnType") }),
|
|
16266
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", { children: t("memoryColumnSource") }),
|
|
16267
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", { children: t("memoryColumnUpdated") }),
|
|
16268
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", { children: t("memoryColumnPrivacy") }),
|
|
16269
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
|
|
16270
|
+
className: KnowledgeMemory_module_css_default.actionsHead,
|
|
16271
|
+
children: t("memoryColumnActions")
|
|
16272
|
+
})
|
|
16273
|
+
] }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tbody", { children: visible.map((entry) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("tr", {
|
|
16274
|
+
"data-testid": "memory-row",
|
|
16275
|
+
children: [
|
|
16276
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
|
|
16277
|
+
className: KnowledgeMemory_module_css_default.memoryCell,
|
|
16278
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
16279
|
+
type: "button",
|
|
16280
|
+
className: KnowledgeMemory_module_css_default.memoryTitle,
|
|
16281
|
+
onClick: () => {
|
|
16282
|
+
props.onOpenDetail(entry);
|
|
16283
|
+
},
|
|
16284
|
+
children: entry.title
|
|
16285
|
+
})
|
|
16286
|
+
}),
|
|
16287
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16288
|
+
className: KnowledgeMemory_module_css_default.typeChip,
|
|
16289
|
+
children: t(typeKey(entry.type))
|
|
16290
|
+
}) }),
|
|
16291
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("td", { children: [
|
|
16292
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16293
|
+
className: KnowledgeMemory_module_css_default.sourceLabel,
|
|
16294
|
+
children: sourceLabel(t, entry)
|
|
16295
|
+
}),
|
|
16296
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16297
|
+
className: KnowledgeMemory_module_css_default.sourceTime,
|
|
16298
|
+
children: relativeTime(t, sourceAt(entry), props.locale)
|
|
16299
|
+
}),
|
|
16300
|
+
sourcesOf(entry).length > 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
16301
|
+
className: KnowledgeMemory_module_css_default.sourceMore,
|
|
16302
|
+
title: t("memoryMoreSources").replace("{n}", String(sourcesOf(entry).length - 1)),
|
|
16303
|
+
children: ["+", sourcesOf(entry).length - 1]
|
|
16304
|
+
})
|
|
16305
|
+
] }),
|
|
16306
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
|
|
16307
|
+
className: KnowledgeMemory_module_css_default.timeCell,
|
|
16308
|
+
children: relativeTime(t, entry.updatedAt, props.locale)
|
|
16309
|
+
}),
|
|
16310
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16311
|
+
className: KnowledgeMemory_module_css_default.privacyChip,
|
|
16312
|
+
children: t(privacyKey(entry.privacy))
|
|
16313
|
+
}) }),
|
|
16314
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
|
|
16315
|
+
className: KnowledgeMemory_module_css_default.actionsCell,
|
|
16316
|
+
children: rowActions(t, entry, props)
|
|
16317
|
+
})
|
|
16318
|
+
]
|
|
16319
|
+
}, entry.id)) })]
|
|
16320
|
+
})
|
|
16321
|
+
}),
|
|
16322
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
16323
|
+
open: props.pendingEnabled !== void 0,
|
|
16324
|
+
onClose: props.onCancelToggle,
|
|
16325
|
+
title: props.pendingEnabled === true ? t("memoryEnableTitle") : t("memoryPauseTitle"),
|
|
16326
|
+
closeLabel: t("memoryClose"),
|
|
16327
|
+
footer: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16328
|
+
className: KnowledgeMemory_module_css_default.footer,
|
|
16329
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16330
|
+
variant: "ghost",
|
|
16331
|
+
disabled: props.toggleBusy,
|
|
16332
|
+
onClick: props.onCancelToggle,
|
|
16333
|
+
children: t("cancel")
|
|
16334
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16335
|
+
variant: "primary",
|
|
16336
|
+
disabled: props.toggleBusy,
|
|
16337
|
+
onClick: props.onConfirmToggle,
|
|
16338
|
+
children: props.pendingEnabled === true ? t("memoryConfirmEnable") : t("memoryConfirmPause")
|
|
16339
|
+
})]
|
|
16340
|
+
}),
|
|
16341
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", { children: props.pendingEnabled === true ? t("memoryEnableBody") : t("memoryPauseBody") }), props.toggleError !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16342
|
+
className: KnowledgeMemory_module_css_default.error,
|
|
16343
|
+
role: "alert",
|
|
16344
|
+
children: props.toggleError
|
|
16345
|
+
})]
|
|
16346
|
+
}),
|
|
16347
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
16348
|
+
open: detail !== void 0,
|
|
16349
|
+
onClose: props.onCloseDetail,
|
|
16350
|
+
title: detail?.title ?? t("memoryDetailTitle"),
|
|
16351
|
+
closeLabel: t("memoryClose"),
|
|
16352
|
+
footer: detail === void 0 ? void 0 : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16353
|
+
className: KnowledgeMemory_module_css_default.footer,
|
|
16354
|
+
children: [
|
|
16355
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16356
|
+
variant: "ghost",
|
|
16357
|
+
onClick: props.onCloseDetail,
|
|
16358
|
+
children: t("memoryClose")
|
|
16359
|
+
}),
|
|
16360
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16361
|
+
variant: "ghost",
|
|
16362
|
+
onClick: () => {
|
|
16363
|
+
props.onStartEdit(detail);
|
|
16364
|
+
},
|
|
16365
|
+
children: t("memoryActionCorrect")
|
|
16366
|
+
}),
|
|
16367
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16368
|
+
variant: "primary",
|
|
16369
|
+
onClick: () => {
|
|
16370
|
+
props.onStartForget(detail);
|
|
16371
|
+
},
|
|
16372
|
+
children: t("memoryActionForget")
|
|
16373
|
+
})
|
|
16374
|
+
]
|
|
16375
|
+
}),
|
|
16376
|
+
children: detail !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16377
|
+
className: KnowledgeMemory_module_css_default.detailBody,
|
|
16378
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
|
|
16379
|
+
className: KnowledgeMemory_module_css_default.detailMeta,
|
|
16380
|
+
children: [
|
|
16381
|
+
t(typeKey(detail.type)),
|
|
16382
|
+
" · ",
|
|
16383
|
+
t(privacyKey(detail.privacy)),
|
|
16384
|
+
" · ",
|
|
16385
|
+
relativeTime(t, detail.updatedAt, props.locale)
|
|
16386
|
+
]
|
|
16387
|
+
}), props.detailLoading ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16388
|
+
className: KnowledgeMemory_module_css_default.notice,
|
|
16389
|
+
children: t("memoryDetailLoading")
|
|
16390
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
|
|
16391
|
+
className: KnowledgeMemory_module_css_default.detailLabel,
|
|
16392
|
+
children: t("memoryDetailContent")
|
|
16393
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16394
|
+
className: KnowledgeMemory_module_css_default.detailContent,
|
|
16395
|
+
children: detail.content ?? t("memoryNoContent")
|
|
16396
|
+
})] }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", { children: [
|
|
16397
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
|
|
16398
|
+
className: KnowledgeMemory_module_css_default.detailLabel,
|
|
16399
|
+
children: t("memoryDetailSource")
|
|
16400
|
+
}),
|
|
16401
|
+
sourcesOf(detail).length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16402
|
+
className: KnowledgeMemory_module_css_default.detailContent,
|
|
16403
|
+
children: t("memorySourceUnknown")
|
|
16404
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
16405
|
+
className: KnowledgeMemory_module_css_default.sourceList,
|
|
16406
|
+
children: sourcesOf(detail).map((source, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: source.label ?? t("memorySourceUnknown") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16407
|
+
className: KnowledgeMemory_module_css_default.sourceTime,
|
|
16408
|
+
children: relativeTime(t, source.at, props.locale)
|
|
16409
|
+
})] }, index))
|
|
16410
|
+
}),
|
|
16411
|
+
sourceResolvable(detail, props.onOpenSource !== void 0) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16412
|
+
className: KnowledgeMemory_module_css_default.evidence,
|
|
16413
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16414
|
+
className: KnowledgeMemory_module_css_default.detailLabel,
|
|
16415
|
+
children: t("memoryDetailEvidence")
|
|
16416
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16417
|
+
variant: "ghost",
|
|
16418
|
+
size: "sm",
|
|
16419
|
+
onClick: () => {
|
|
16420
|
+
props.onOpenSource?.(detail);
|
|
16421
|
+
},
|
|
16422
|
+
children: t("memoryViewSource")
|
|
16423
|
+
})]
|
|
16424
|
+
})
|
|
16425
|
+
] })] })]
|
|
16426
|
+
})
|
|
16427
|
+
}),
|
|
16428
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
16429
|
+
open: editing !== void 0,
|
|
16430
|
+
onClose: props.onCancelEdit,
|
|
16431
|
+
title: t("memoryEditTitle"),
|
|
16432
|
+
closeLabel: t("memoryClose"),
|
|
16433
|
+
footer: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16434
|
+
className: KnowledgeMemory_module_css_default.footer,
|
|
16435
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16436
|
+
variant: "ghost",
|
|
16437
|
+
disabled: props.editBusy,
|
|
16438
|
+
onClick: props.onCancelEdit,
|
|
16439
|
+
children: t("cancel")
|
|
16440
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16441
|
+
variant: "primary",
|
|
16442
|
+
disabled: props.editBusy,
|
|
16443
|
+
onClick: props.onSaveEdit,
|
|
16444
|
+
children: t("memorySave")
|
|
16445
|
+
})]
|
|
16446
|
+
}),
|
|
16447
|
+
children: [
|
|
16448
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
|
|
16449
|
+
className: KnowledgeMemory_module_css_default.detailLabel,
|
|
16450
|
+
htmlFor: "memory-edit-content",
|
|
16451
|
+
children: t("memoryEditContentLabel")
|
|
16452
|
+
}),
|
|
16453
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("textarea", {
|
|
16454
|
+
id: "memory-edit-content",
|
|
16455
|
+
className: KnowledgeMemory_module_css_default.textarea,
|
|
16456
|
+
value: editing?.content ?? "",
|
|
16457
|
+
onChange: (event) => {
|
|
16458
|
+
props.onEditContent(event.target.value);
|
|
16459
|
+
}
|
|
16460
|
+
}),
|
|
16461
|
+
props.editError !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16462
|
+
className: KnowledgeMemory_module_css_default.error,
|
|
16463
|
+
role: "alert",
|
|
16464
|
+
children: props.editError
|
|
16465
|
+
})
|
|
16466
|
+
]
|
|
16467
|
+
}),
|
|
16468
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
16469
|
+
open: forgetTarget !== void 0,
|
|
16470
|
+
onClose: props.onCancelForget,
|
|
16471
|
+
title: t("memoryForgetTitle"),
|
|
16472
|
+
closeLabel: t("memoryClose"),
|
|
16473
|
+
footer: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16474
|
+
className: KnowledgeMemory_module_css_default.footer,
|
|
16475
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16476
|
+
variant: "ghost",
|
|
16477
|
+
disabled: props.forgetBusy,
|
|
16478
|
+
onClick: props.onCancelForget,
|
|
16479
|
+
children: t("cancel")
|
|
16480
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16481
|
+
variant: "primary",
|
|
16482
|
+
disabled: props.forgetBusy,
|
|
16483
|
+
onClick: props.onConfirmForget,
|
|
16484
|
+
children: t("memoryForgetConfirm")
|
|
16485
|
+
})]
|
|
16486
|
+
}),
|
|
16487
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", { children: t("memoryForgetBody") }), props.forgetError !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16488
|
+
className: KnowledgeMemory_module_css_default.error,
|
|
16489
|
+
role: "alert",
|
|
16490
|
+
children: props.forgetError
|
|
16491
|
+
})]
|
|
16492
|
+
})
|
|
16493
|
+
]
|
|
16494
|
+
});
|
|
15631
16495
|
}
|
|
15632
|
-
//#endregion
|
|
15633
|
-
//#region src/client/KnowledgeSettings.tsx
|
|
15634
|
-
/**
|
|
15635
|
-
* TODO: this page is unreachable from the real entry, and needs a decision.
|
|
15636
|
-
*
|
|
15637
|
-
* Verified by driving the deployed product on 2026-10-21, not by reading the code:
|
|
15638
|
-
* entering 知识库 and clicking 「设置」 in its own rail opens the DSH GLOBAL settings
|
|
15639
|
-
* dialog (left nav: 通用设置/模型/内置插件/Agent 预设/DataOps/备份/知识库/插件市场/
|
|
15640
|
-
* 侧边卡片), never this component. The rail row sets `selection.kind = 'settings'`,
|
|
15641
|
-
* which `KnowledgePanel.tsx` renders as this surface, but the click that a reader can
|
|
15642
|
-
* actually reach is the shell's own settings entry, so nothing in the real UI leads
|
|
15643
|
-
* here. The review switch below therefore has no user-facing effect today.
|
|
15644
|
-
*
|
|
15645
|
-
* Deliberately NOT deleted: removing this file, the `rendered.kind === 'settings'`
|
|
15646
|
-
* branch in `KnowledgePanel.tsx` and the `menu.settings` rail row is a cross-file
|
|
15647
|
-
* structural change, and the choice between "delete the page" and "give it a real
|
|
15648
|
-
* entry point" is a product decision rather than a cleanup. Left as-is with this note
|
|
15649
|
-
* so the next change starts from the measured fact instead of re-deriving it.
|
|
15650
|
-
*
|
|
15651
|
-
* What WAS moved: the MinerU service address. It lived here for one round and was
|
|
15652
|
-
* invisible to readers for exactly this reason; it now renders in
|
|
15653
|
-
* `KnowledgeSettingsSection.tsx` (DSH global settings → 知识库), which is reachable.
|
|
15654
|
-
*/
|
|
15655
16496
|
/**
|
|
15656
|
-
* The settings
|
|
15657
|
-
*
|
|
15658
|
-
* This page carries the review switch and the shared vector-retrieval group: the
|
|
15659
|
-
* switch is a DECISION about whether other people's contributions take effect
|
|
15660
|
-
* immediately, so it needs write access; the vector group is the same component the
|
|
15661
|
-
* DSH settings section renders, which keeps a profile without that slot usable. The queue that decision governs and the trail of what it settled both
|
|
15662
|
-
* moved to the Audit page, which is the surface an operator opens to get through
|
|
15663
|
-
* work; parking a worklist under a configuration switch made them scroll past the
|
|
15664
|
-
* setting to reach today's arrivals, and left two duplicate entry points pointing
|
|
15665
|
-
* at the same two tables.
|
|
15666
|
-
*
|
|
15667
|
-
* The switch ships OFF. That is the product decision, not a default that drifted: an
|
|
15668
|
-
* operator who never opens this page keeps the behaviour they had, and turning review
|
|
15669
|
-
* on is a deliberate act with a visible consequence.
|
|
16497
|
+
* The stateful memory page: read settings and the list, then run the confirmed
|
|
16498
|
+
* write actions against the Host.
|
|
15670
16499
|
*
|
|
15671
|
-
* @
|
|
16500
|
+
* @param props - locale copy and the optional source opener.
|
|
16501
|
+
* @returns The page with its live state.
|
|
15672
16502
|
*/
|
|
15673
|
-
|
|
15674
|
-
|
|
15675
|
-
|
|
15676
|
-
|
|
15677
|
-
|
|
15678
|
-
|
|
15679
|
-
|
|
15680
|
-
|
|
15681
|
-
|
|
15682
|
-
const [
|
|
15683
|
-
const [
|
|
15684
|
-
const
|
|
16503
|
+
function KnowledgeMemory(props) {
|
|
16504
|
+
const { t, locale, onOpenSource } = props;
|
|
16505
|
+
const [enabled, setEnabled] = (0, react.useState)(false);
|
|
16506
|
+
const [settingsLoading, setSettingsLoading] = (0, react.useState)(true);
|
|
16507
|
+
const [settingsError, setSettingsError] = (0, react.useState)();
|
|
16508
|
+
const [list, setList] = (0, react.useState)({
|
|
16509
|
+
status: "loading",
|
|
16510
|
+
entries: []
|
|
16511
|
+
});
|
|
16512
|
+
const [query, setQuery] = (0, react.useState)("");
|
|
16513
|
+
const [typeFilter, setTypeFilter] = (0, react.useState)("");
|
|
16514
|
+
const [pendingEnabled, setPendingEnabled] = (0, react.useState)();
|
|
16515
|
+
const [toggleBusy, setToggleBusy] = (0, react.useState)(false);
|
|
16516
|
+
const [toggleError, setToggleError] = (0, react.useState)();
|
|
16517
|
+
const [detail, setDetail] = (0, react.useState)();
|
|
16518
|
+
const [detailLoading, setDetailLoading] = (0, react.useState)(false);
|
|
16519
|
+
const [editing, setEditing] = (0, react.useState)();
|
|
16520
|
+
const [editBusy, setEditBusy] = (0, react.useState)(false);
|
|
16521
|
+
const [editError, setEditError] = (0, react.useState)();
|
|
16522
|
+
const [forgetTarget, setForgetTarget] = (0, react.useState)();
|
|
16523
|
+
const [forgetBusy, setForgetBusy] = (0, react.useState)(false);
|
|
16524
|
+
const [forgetError, setForgetError] = (0, react.useState)();
|
|
16525
|
+
const detailRequest = (0, react.useRef)(0);
|
|
16526
|
+
const loadSettings = (0, react.useCallback)(async () => {
|
|
16527
|
+
setSettingsLoading(true);
|
|
16528
|
+
setSettingsError(void 0);
|
|
15685
16529
|
try {
|
|
15686
|
-
const
|
|
15687
|
-
|
|
15688
|
-
|
|
15689
|
-
|
|
15690
|
-
|
|
15691
|
-
|
|
15692
|
-
|
|
15693
|
-
|
|
15694
|
-
|
|
15695
|
-
|
|
15696
|
-
|
|
15697
|
-
|
|
15698
|
-
|
|
15699
|
-
|
|
15700
|
-
|
|
16530
|
+
const body = await memoryRequest("memory.settings");
|
|
16531
|
+
if (body.error !== void 0) throw new Error(body.error);
|
|
16532
|
+
setEnabled(body.enabled === true);
|
|
16533
|
+
} catch (error) {
|
|
16534
|
+
setSettingsError(failureText(error));
|
|
16535
|
+
} finally {
|
|
16536
|
+
setSettingsLoading(false);
|
|
16537
|
+
}
|
|
16538
|
+
}, []);
|
|
16539
|
+
const loadList = (0, react.useCallback)(async () => {
|
|
16540
|
+
setList((current) => ({
|
|
16541
|
+
status: "loading",
|
|
16542
|
+
entries: current.entries
|
|
16543
|
+
}));
|
|
16544
|
+
try {
|
|
16545
|
+
const body = await memoryRequest("memory.list");
|
|
16546
|
+
if (body.error !== void 0) throw new Error(body.error);
|
|
16547
|
+
const entries = Array.isArray(body.entries) ? body.entries.filter((entry) => typeof entry?.id === "string" && typeof entry.title === "string") : [];
|
|
16548
|
+
setList({
|
|
16549
|
+
status: "ready",
|
|
16550
|
+
entries
|
|
15701
16551
|
});
|
|
15702
16552
|
} catch (error) {
|
|
15703
|
-
|
|
15704
|
-
|
|
15705
|
-
|
|
16553
|
+
setList({
|
|
16554
|
+
status: "error",
|
|
16555
|
+
entries: [],
|
|
16556
|
+
error: failureText(error)
|
|
15706
16557
|
});
|
|
15707
16558
|
}
|
|
15708
16559
|
}, []);
|
|
15709
16560
|
(0, react.useEffect)(() => {
|
|
15710
|
-
|
|
15711
|
-
|
|
15712
|
-
|
|
15713
|
-
|
|
15714
|
-
|
|
15715
|
-
|
|
15716
|
-
|
|
15717
|
-
|
|
15718
|
-
|
|
16561
|
+
loadSettings();
|
|
16562
|
+
loadList();
|
|
16563
|
+
}, [loadList, loadSettings]);
|
|
16564
|
+
const openDetail = (0, react.useCallback)((entry) => {
|
|
16565
|
+
const request = detailRequest.current + 1;
|
|
16566
|
+
detailRequest.current = request;
|
|
16567
|
+
setDetail(entry);
|
|
16568
|
+
setDetailLoading(true);
|
|
16569
|
+
memoryRequest("memory.get", { id: entry.id }).then((body) => {
|
|
16570
|
+
if (request !== detailRequest.current) return;
|
|
16571
|
+
if (body.error === void 0) setDetail((current) => current === void 0 ? current : detailFromPayload(body, current));
|
|
16572
|
+
}).catch(() => void 0).finally(() => {
|
|
16573
|
+
if (request === detailRequest.current) setDetailLoading(false);
|
|
16574
|
+
});
|
|
16575
|
+
}, []);
|
|
16576
|
+
const closeDetail = (0, react.useCallback)(() => {
|
|
16577
|
+
detailRequest.current += 1;
|
|
16578
|
+
setDetail(void 0);
|
|
16579
|
+
setDetailLoading(false);
|
|
16580
|
+
}, []);
|
|
16581
|
+
const requestToggle = (0, react.useCallback)((next) => {
|
|
16582
|
+
setToggleError(void 0);
|
|
16583
|
+
setPendingEnabled(next);
|
|
16584
|
+
}, []);
|
|
16585
|
+
const confirmToggle = (0, react.useCallback)(async () => {
|
|
16586
|
+
const target = pendingEnabled;
|
|
16587
|
+
if (target === void 0) return;
|
|
16588
|
+
setToggleBusy(true);
|
|
16589
|
+
setToggleError(void 0);
|
|
15719
16590
|
try {
|
|
15720
|
-
const
|
|
15721
|
-
|
|
15722
|
-
|
|
15723
|
-
|
|
15724
|
-
|
|
16591
|
+
const body = await memoryRequest("memory.set-enabled", { enabled: target });
|
|
16592
|
+
if (body.error !== void 0) throw new Error(body.error);
|
|
16593
|
+
setEnabled(typeof body.enabled === "boolean" ? body.enabled : target);
|
|
16594
|
+
setPendingEnabled(void 0);
|
|
16595
|
+
} catch (error) {
|
|
16596
|
+
setToggleError(failureText(error));
|
|
16597
|
+
} finally {
|
|
16598
|
+
setToggleBusy(false);
|
|
16599
|
+
}
|
|
16600
|
+
}, [pendingEnabled]);
|
|
16601
|
+
const startEdit = (0, react.useCallback)((entry) => {
|
|
16602
|
+
setDetail(void 0);
|
|
16603
|
+
setEditError(void 0);
|
|
16604
|
+
setEditing({
|
|
16605
|
+
id: entry.id,
|
|
16606
|
+
content: entry.content ?? ""
|
|
16607
|
+
});
|
|
16608
|
+
}, []);
|
|
16609
|
+
const saveEdit = (0, react.useCallback)(async () => {
|
|
16610
|
+
if (editing === void 0) return;
|
|
16611
|
+
setEditBusy(true);
|
|
16612
|
+
setEditError(void 0);
|
|
16613
|
+
try {
|
|
16614
|
+
const body = await memoryRequest("memory.update", {
|
|
16615
|
+
id: editing.id,
|
|
16616
|
+
content: editing.content
|
|
15725
16617
|
});
|
|
15726
|
-
|
|
15727
|
-
|
|
15728
|
-
|
|
15729
|
-
|
|
16618
|
+
if (body.error !== void 0) throw new Error(body.error);
|
|
16619
|
+
setList((current) => current.status !== "ready" ? current : {
|
|
16620
|
+
status: "ready",
|
|
16621
|
+
entries: current.entries.map((entry) => entry.id === editing.id ? detailFromPayload(body, {
|
|
16622
|
+
...entry,
|
|
16623
|
+
content: editing.content
|
|
16624
|
+
}) : entry)
|
|
16625
|
+
});
|
|
16626
|
+
setEditing(void 0);
|
|
15730
16627
|
} catch (error) {
|
|
15731
|
-
|
|
16628
|
+
setEditError(failureText(error));
|
|
15732
16629
|
} finally {
|
|
15733
|
-
|
|
16630
|
+
setEditBusy(false);
|
|
15734
16631
|
}
|
|
15735
|
-
};
|
|
15736
|
-
|
|
15737
|
-
|
|
15738
|
-
|
|
15739
|
-
|
|
15740
|
-
|
|
15741
|
-
|
|
15742
|
-
|
|
15743
|
-
|
|
15744
|
-
|
|
15745
|
-
|
|
15746
|
-
|
|
15747
|
-
|
|
15748
|
-
|
|
15749
|
-
|
|
15750
|
-
|
|
15751
|
-
|
|
15752
|
-
|
|
15753
|
-
|
|
15754
|
-
|
|
15755
|
-
|
|
15756
|
-
|
|
15757
|
-
|
|
15758
|
-
|
|
15759
|
-
|
|
15760
|
-
|
|
15761
|
-
|
|
15762
|
-
|
|
15763
|
-
|
|
15764
|
-
|
|
15765
|
-
|
|
15766
|
-
|
|
15767
|
-
|
|
15768
|
-
|
|
15769
|
-
|
|
15770
|
-
|
|
15771
|
-
|
|
15772
|
-
|
|
15773
|
-
|
|
15774
|
-
|
|
15775
|
-
|
|
15776
|
-
|
|
15777
|
-
|
|
15778
|
-
|
|
15779
|
-
|
|
15780
|
-
|
|
15781
|
-
|
|
15782
|
-
|
|
15783
|
-
|
|
15784
|
-
}
|
|
16632
|
+
}, [editing]);
|
|
16633
|
+
const startForget = (0, react.useCallback)((entry) => {
|
|
16634
|
+
setDetail(void 0);
|
|
16635
|
+
setForgetError(void 0);
|
|
16636
|
+
setForgetTarget(entry);
|
|
16637
|
+
}, []);
|
|
16638
|
+
const confirmForget = (0, react.useCallback)(async () => {
|
|
16639
|
+
if (forgetTarget === void 0) return;
|
|
16640
|
+
setForgetBusy(true);
|
|
16641
|
+
setForgetError(void 0);
|
|
16642
|
+
try {
|
|
16643
|
+
const body = await memoryRequest("memory.forget", { id: forgetTarget.id });
|
|
16644
|
+
if (body.error !== void 0) throw new Error(body.error);
|
|
16645
|
+
setList((current) => current.status !== "ready" ? current : {
|
|
16646
|
+
status: "ready",
|
|
16647
|
+
entries: current.entries.filter((entry) => entry.id !== forgetTarget.id)
|
|
16648
|
+
});
|
|
16649
|
+
setForgetTarget(void 0);
|
|
16650
|
+
} catch (error) {
|
|
16651
|
+
setForgetError(failureText(error));
|
|
16652
|
+
} finally {
|
|
16653
|
+
setForgetBusy(false);
|
|
16654
|
+
}
|
|
16655
|
+
}, [forgetTarget]);
|
|
16656
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeMemoryView, {
|
|
16657
|
+
t,
|
|
16658
|
+
...locale === void 0 ? {} : { locale },
|
|
16659
|
+
enabled,
|
|
16660
|
+
settingsLoading,
|
|
16661
|
+
...settingsError === void 0 ? {} : { settingsError },
|
|
16662
|
+
list,
|
|
16663
|
+
query,
|
|
16664
|
+
typeFilter,
|
|
16665
|
+
onQueryChange: setQuery,
|
|
16666
|
+
onTypeFilterChange: setTypeFilter,
|
|
16667
|
+
onToggleRequest: requestToggle,
|
|
16668
|
+
...pendingEnabled === void 0 ? {} : { pendingEnabled },
|
|
16669
|
+
toggleBusy,
|
|
16670
|
+
...toggleError === void 0 ? {} : { toggleError },
|
|
16671
|
+
onCancelToggle: () => {
|
|
16672
|
+
setPendingEnabled(void 0);
|
|
16673
|
+
},
|
|
16674
|
+
onConfirmToggle: () => {
|
|
16675
|
+
confirmToggle();
|
|
16676
|
+
},
|
|
16677
|
+
...detail === void 0 ? {} : { detail },
|
|
16678
|
+
detailLoading,
|
|
16679
|
+
onOpenDetail: openDetail,
|
|
16680
|
+
onCloseDetail: closeDetail,
|
|
16681
|
+
...editing === void 0 ? {} : { editing },
|
|
16682
|
+
editBusy,
|
|
16683
|
+
...editError === void 0 ? {} : { editError },
|
|
16684
|
+
onEditContent: (content) => {
|
|
16685
|
+
setEditing((current) => current === void 0 ? current : {
|
|
16686
|
+
...current,
|
|
16687
|
+
content
|
|
16688
|
+
});
|
|
16689
|
+
},
|
|
16690
|
+
onStartEdit: startEdit,
|
|
16691
|
+
onCancelEdit: () => {
|
|
16692
|
+
setEditing(void 0);
|
|
16693
|
+
},
|
|
16694
|
+
onSaveEdit: () => {
|
|
16695
|
+
saveEdit();
|
|
16696
|
+
},
|
|
16697
|
+
...forgetTarget === void 0 ? {} : { forgetTarget },
|
|
16698
|
+
forgetBusy,
|
|
16699
|
+
...forgetError === void 0 ? {} : { forgetError },
|
|
16700
|
+
onStartForget: startForget,
|
|
16701
|
+
onCancelForget: () => {
|
|
16702
|
+
setForgetTarget(void 0);
|
|
16703
|
+
},
|
|
16704
|
+
onConfirmForget: () => {
|
|
16705
|
+
confirmForget();
|
|
16706
|
+
},
|
|
16707
|
+
onRetrySettings: () => {
|
|
16708
|
+
loadSettings();
|
|
16709
|
+
},
|
|
16710
|
+
onRetryList: () => {
|
|
16711
|
+
loadList();
|
|
16712
|
+
},
|
|
16713
|
+
...onOpenSource === void 0 ? {} : { onOpenSource }
|
|
15785
16714
|
});
|
|
15786
16715
|
}
|
|
15787
16716
|
//#endregion
|
|
@@ -15984,41 +16913,41 @@ window.__ModuleLoader__.load({
|
|
|
15984
16913
|
}
|
|
15985
16914
|
//#endregion
|
|
15986
16915
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeListing.module.css.mjs
|
|
15987
|
-
const css$
|
|
15988
|
-
const tagId$
|
|
15989
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
16916
|
+
const css$9 = "._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}";
|
|
16917
|
+
const tagId$9 = "@sparkelf/dsh-knowledge-base/KnowledgeListing.module.css";
|
|
16918
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$9) + "]") === null) {
|
|
15990
16919
|
const tag = document.createElement("style");
|
|
15991
16920
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
15992
|
-
tag.dataset.pluginCss = tagId$
|
|
15993
|
-
tag.textContent = css$
|
|
16921
|
+
tag.dataset.pluginCss = tagId$9;
|
|
16922
|
+
tag.textContent = css$9;
|
|
15994
16923
|
document.head.appendChild(tag);
|
|
15995
16924
|
}
|
|
15996
16925
|
var KnowledgeListing_module_css_default = {
|
|
15997
|
-
"
|
|
15998
|
-
"cardItem": "_95AMVa_cardItem",
|
|
15999
|
-
"cardDir": "_95AMVa_cardDir",
|
|
16000
|
-
"entryGlyph": "_95AMVa_entryGlyph",
|
|
16001
|
-
"entry": "_95AMVa_entry",
|
|
16002
|
-
"entryCheck": "_95AMVa_entryCheck",
|
|
16003
|
-
"emptyAction": "_95AMVa_emptyAction",
|
|
16004
|
-
"cardGlyph": "_95AMVa_cardGlyph",
|
|
16005
|
-
"cardTime": "_95AMVa_cardTime",
|
|
16006
|
-
"empty": "_95AMVa_empty",
|
|
16007
|
-
"emptyGlyph": "_95AMVa_emptyGlyph",
|
|
16008
|
-
"emptyTitle": "_95AMVa_emptyTitle",
|
|
16009
|
-
"entryTime": "_95AMVa_entryTime",
|
|
16010
|
-
"cardName": "_95AMVa_cardName",
|
|
16011
|
-
"cardMeta": "_95AMVa_cardMeta",
|
|
16926
|
+
"cards": "_95AMVa_cards",
|
|
16012
16927
|
"pinDropZone": "_95AMVa_pinDropZone",
|
|
16013
16928
|
"entryFavorite": "_95AMVa_entryFavorite",
|
|
16014
|
-
"
|
|
16929
|
+
"empty": "_95AMVa_empty",
|
|
16015
16930
|
"kb-row-in": "_95AMVa_kb-row-in",
|
|
16016
|
-
"
|
|
16017
|
-
"
|
|
16931
|
+
"entryName": "_95AMVa_entryName",
|
|
16932
|
+
"cardGlyph": "_95AMVa_cardGlyph",
|
|
16933
|
+
"emptyTitle": "_95AMVa_emptyTitle",
|
|
16934
|
+
"entryPin": "_95AMVa_entryPin",
|
|
16018
16935
|
"entryRef": "_95AMVa_entryRef",
|
|
16936
|
+
"emptyAction": "_95AMVa_emptyAction",
|
|
16019
16937
|
"entries": "_95AMVa_entries",
|
|
16020
|
-
"
|
|
16021
|
-
"
|
|
16938
|
+
"cardName": "_95AMVa_cardName",
|
|
16939
|
+
"entryGlyph": "_95AMVa_entryGlyph",
|
|
16940
|
+
"entryTime": "_95AMVa_entryTime",
|
|
16941
|
+
"emptyGlyph": "_95AMVa_emptyGlyph",
|
|
16942
|
+
"cardTime": "_95AMVa_cardTime",
|
|
16943
|
+
"cardDir": "_95AMVa_cardDir",
|
|
16944
|
+
"entryDir": "_95AMVa_entryDir",
|
|
16945
|
+
"entryChildren": "_95AMVa_entryChildren",
|
|
16946
|
+
"entry": "_95AMVa_entry",
|
|
16947
|
+
"card": "_95AMVa_card",
|
|
16948
|
+
"cardMeta": "_95AMVa_cardMeta",
|
|
16949
|
+
"entryCheck": "_95AMVa_entryCheck",
|
|
16950
|
+
"cardItem": "_95AMVa_cardItem"
|
|
16022
16951
|
};
|
|
16023
16952
|
//#endregion
|
|
16024
16953
|
//#region src/client/listingFilter.ts
|
|
@@ -16649,52 +17578,52 @@ window.__ModuleLoader__.load({
|
|
|
16649
17578
|
}
|
|
16650
17579
|
//#endregion
|
|
16651
17580
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeProgressPopover.module.css.mjs
|
|
16652
|
-
const css$
|
|
16653
|
-
const tagId$
|
|
16654
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
17581
|
+
const css$8 = ".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_cardTime{color:var(--dsw-alias-label-caption);font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;flex:none}.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;width:100%;margin-top:2px;display:flex}.x_PPca_progressTrack{background:#ffffff14;border-radius:999px;flex:auto;height:6px;position:relative;overflow:hidden}.x_PPca_progressFill{border-radius:inherit;background:linear-gradient(90deg, var(--dsw-alias-brand-primary), var(--dsw-alias-state-business-primary));height:100%;box-shadow:0 0 8px color-mix(in srgb, var(--dsw-alias-brand-primary) 45%, transparent);transition:width .12s linear;display:block}.x_PPca_progressRow[data-stage=done] .x_PPca_progressFill{background:var(--dsw-alias-state-success-primary);box-shadow:none}.x_PPca_progressFillFailed{background:var(--dsw-alias-state-error-primary);box-shadow:none}.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:38px;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}.x_PPca_footer{justify-content:space-between;align-items:center;width:100%;display:flex}.x_PPca_dialogShell{flex-direction:column;gap:10px;padding:18px 20px;display:flex}.x_PPca_dialogHead{justify-content:space-between;align-items:center;gap:12px;display:flex}.x_PPca_dialogTitleRow{align-items:baseline;gap:8px;min-width:0;display:flex}.x_PPca_dialogTitle{color:var(--dsw-alias-label-primary);font:var(--dsw-font-base-strong-16);margin:0}.x_PPca_titleRatio{color:#8ea6c6;font-variant-numeric:tabular-nums;font-size:12px;line-height:16px}.x_PPca_dialogClose{width:24px;height:24px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0;font-size:18px;line-height:1}.x_PPca_dialogClose:hover{color:var(--dsw-alias-label-primary);background:#ffffff0f}";
|
|
17582
|
+
const tagId$8 = "@sparkelf/dsh-knowledge-base/KnowledgeProgressPopover.module.css";
|
|
17583
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$8) + "]") === null) {
|
|
16655
17584
|
const tag = document.createElement("style");
|
|
16656
17585
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
16657
|
-
tag.dataset.pluginCss = tagId$
|
|
16658
|
-
tag.textContent = css$
|
|
17586
|
+
tag.dataset.pluginCss = tagId$8;
|
|
17587
|
+
tag.textContent = css$8;
|
|
16659
17588
|
document.head.appendChild(tag);
|
|
16660
17589
|
}
|
|
16661
17590
|
var KnowledgeProgressPopover_module_css_default = {
|
|
16662
|
-
"
|
|
16663
|
-
"summaryLabel": "x_PPca_summaryLabel",
|
|
16664
|
-
"list": "x_PPca_list",
|
|
17591
|
+
"progressPercent": "x_PPca_progressPercent",
|
|
16665
17592
|
"dialogTitleRow": "x_PPca_dialogTitleRow",
|
|
16666
|
-
"
|
|
17593
|
+
"cardPath": "x_PPca_cardPath",
|
|
16667
17594
|
"cardReason": "x_PPca_cardReason",
|
|
16668
|
-
"
|
|
17595
|
+
"progressFillFailed": "x_PPca_progressFillFailed",
|
|
17596
|
+
"summary": "x_PPca_summary",
|
|
17597
|
+
"footer": "x_PPca_footer",
|
|
16669
17598
|
"cardName": "x_PPca_cardName",
|
|
17599
|
+
"badgeFailed": "x_PPca_badgeFailed",
|
|
17600
|
+
"dialogClose": "x_PPca_dialogClose",
|
|
17601
|
+
"bell": "x_PPca_bell",
|
|
17602
|
+
"progressFill": "x_PPca_progressFill",
|
|
17603
|
+
"dialogContent": "x_PPca_dialogContent",
|
|
17604
|
+
"cardProgress": "x_PPca_cardProgress",
|
|
17605
|
+
"dialogShell": "x_PPca_dialogShell",
|
|
17606
|
+
"group": "x_PPca_group",
|
|
17607
|
+
"summaryValue": "x_PPca_summaryValue",
|
|
17608
|
+
"empty": "x_PPca_empty",
|
|
17609
|
+
"cardActions": "x_PPca_cardActions",
|
|
17610
|
+
"titleRatio": "x_PPca_titleRatio",
|
|
17611
|
+
"list": "x_PPca_list",
|
|
16670
17612
|
"cardRow": "x_PPca_cardRow",
|
|
16671
|
-
"cardRawReason": "x_PPca_cardRawReason",
|
|
16672
17613
|
"dialogHead": "x_PPca_dialogHead",
|
|
16673
|
-
"dialogTitle": "x_PPca_dialogTitle",
|
|
16674
|
-
"progressTrack": "x_PPca_progressTrack",
|
|
16675
|
-
"summaryValue": "x_PPca_summaryValue",
|
|
16676
|
-
"progressRow": "x_PPca_progressRow",
|
|
16677
|
-
"badge": "x_PPca_badge",
|
|
16678
17614
|
"card": "x_PPca_card",
|
|
17615
|
+
"dialog": "x_PPca_dialog",
|
|
17616
|
+
"summaryLabel": "x_PPca_summaryLabel",
|
|
17617
|
+
"progressTrack": "x_PPca_progressTrack",
|
|
17618
|
+
"cardRawReason": "x_PPca_cardRawReason",
|
|
17619
|
+
"badgeBusy": "x_PPca_badgeBusy",
|
|
16679
17620
|
"summaryItem": "x_PPca_summaryItem",
|
|
16680
|
-
"
|
|
17621
|
+
"cardTime": "x_PPca_cardTime",
|
|
16681
17622
|
"progressFillIndeterminate": "x_PPca_progressFillIndeterminate",
|
|
16682
|
-
"
|
|
16683
|
-
"
|
|
16684
|
-
"dialogContent": "x_PPca_dialogContent",
|
|
16685
|
-
"titleRatio": "x_PPca_titleRatio",
|
|
16686
|
-
"empty": "x_PPca_empty",
|
|
16687
|
-
"progressFill": "x_PPca_progressFill",
|
|
16688
|
-
"bell": "x_PPca_bell",
|
|
16689
|
-
"badgeBusy": "x_PPca_badgeBusy",
|
|
16690
|
-
"cardActions": "x_PPca_cardActions",
|
|
16691
|
-
"group": "x_PPca_group",
|
|
17623
|
+
"dialogTitle": "x_PPca_dialogTitle",
|
|
17624
|
+
"progressRow": "x_PPca_progressRow",
|
|
16692
17625
|
"badgeDone": "x_PPca_badgeDone",
|
|
16693
|
-
"
|
|
16694
|
-
"progressPercent": "x_PPca_progressPercent",
|
|
16695
|
-
"cardTime": "x_PPca_cardTime",
|
|
16696
|
-
"cardPath": "x_PPca_cardPath",
|
|
16697
|
-
"dialogClose": "x_PPca_dialogClose"
|
|
17626
|
+
"badge": "x_PPca_badge"
|
|
16698
17627
|
};
|
|
16699
17628
|
//#endregion
|
|
16700
17629
|
//#region src/client/taskQueueStore.ts
|
|
@@ -17535,19 +18464,19 @@ window.__ModuleLoader__.load({
|
|
|
17535
18464
|
}
|
|
17536
18465
|
//#endregion
|
|
17537
18466
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/graph/KnowledgeScopeTabs.module.css.mjs
|
|
17538
|
-
const css$
|
|
17539
|
-
const tagId$
|
|
17540
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
18467
|
+
const css$7 = ".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)}";
|
|
18468
|
+
const tagId$7 = "@sparkelf/dsh-knowledge-base/KnowledgeScopeTabs.module.css";
|
|
18469
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$7) + "]") === null) {
|
|
17541
18470
|
const tag = document.createElement("style");
|
|
17542
18471
|
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
17543
|
-
tag.dataset.pluginCss = tagId$
|
|
17544
|
-
tag.textContent = css$
|
|
18472
|
+
tag.dataset.pluginCss = tagId$7;
|
|
18473
|
+
tag.textContent = css$7;
|
|
17545
18474
|
document.head.appendChild(tag);
|
|
17546
18475
|
}
|
|
17547
18476
|
var KnowledgeScopeTabs_module_css_default = {
|
|
17548
|
-
"tab": "UvtP4W_tab",
|
|
17549
18477
|
"tabs": "UvtP4W_tabs",
|
|
17550
|
-
"tabSelected": "UvtP4W_tabSelected"
|
|
18478
|
+
"tabSelected": "UvtP4W_tabSelected",
|
|
18479
|
+
"tab": "UvtP4W_tab"
|
|
17551
18480
|
};
|
|
17552
18481
|
//#endregion
|
|
17553
18482
|
//#region src/client/graph/KnowledgeScopeTabs.tsx
|
|
@@ -17645,8 +18574,98 @@ window.__ModuleLoader__.load({
|
|
|
17645
18574
|
return graph.name.toLowerCase().includes(needle) || graph.topics.some((topic) => topic.title.toLowerCase().includes(needle));
|
|
17646
18575
|
}
|
|
17647
18576
|
//#endregion
|
|
18577
|
+
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/graph/OriginBadges.module.css.mjs
|
|
18578
|
+
const css$6 = ".iQ1oAG_badges{vertical-align:middle;flex:none;align-items:center;gap:3px;min-width:0;display:inline-flex}.iQ1oAG_badge{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);height:16px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);white-space:nowrap;cursor:default;border-radius:4px;flex:none;align-items:center;padding:0 5px;line-height:1;display:inline-flex}.iQ1oAG_origin{border-color:color-mix(in srgb, var(--dsw-alias-state-business-primary) 35%, transparent);background:color-mix(in srgb, var(--dsw-alias-state-business-primary) 10%, transparent);color:color-mix(in srgb, var(--dsw-alias-state-business-primary) 80%, var(--dsw-alias-label-primary))}.iQ1oAG_reviewStatus{border-color:color-mix(in srgb, var(--dsw-alias-state-success-primary) 35%, transparent);background:color-mix(in srgb, var(--dsw-alias-state-success-primary) 10%, transparent);color:color-mix(in srgb, var(--dsw-alias-state-success-primary) 80%, var(--dsw-alias-label-primary))}.iQ1oAG_authority{border-color:color-mix(in srgb, var(--dsw-alias-state-error-primary) 40%, transparent);background:color-mix(in srgb, var(--dsw-alias-state-error-primary) 10%, transparent);color:color-mix(in srgb, var(--dsw-alias-state-error-primary) 85%, var(--dsw-alias-label-primary))}.iQ1oAG_compact .iQ1oAG_badge{letter-spacing:-.01em;border-radius:3px;height:14px;padding:0 4px}";
|
|
18579
|
+
const tagId$6 = "@sparkelf/dsh-knowledge-base/OriginBadges.module.css";
|
|
18580
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$6) + "]") === null) {
|
|
18581
|
+
const tag = document.createElement("style");
|
|
18582
|
+
tag.dataset.plugin = "@sparkelf/dsh-knowledge-base";
|
|
18583
|
+
tag.dataset.pluginCss = tagId$6;
|
|
18584
|
+
tag.textContent = css$6;
|
|
18585
|
+
document.head.appendChild(tag);
|
|
18586
|
+
}
|
|
18587
|
+
var OriginBadges_module_css_default = {
|
|
18588
|
+
"origin": "iQ1oAG_origin",
|
|
18589
|
+
"badges": "iQ1oAG_badges",
|
|
18590
|
+
"compact": "iQ1oAG_compact",
|
|
18591
|
+
"badge": "iQ1oAG_badge",
|
|
18592
|
+
"reviewStatus": "iQ1oAG_reviewStatus",
|
|
18593
|
+
"authority": "iQ1oAG_authority"
|
|
18594
|
+
};
|
|
18595
|
+
//#endregion
|
|
18596
|
+
//#region src/client/graph/OriginBadges.tsx
|
|
18597
|
+
/**
|
|
18598
|
+
* Resolve the badge list for one set of optional fields.
|
|
18599
|
+
*
|
|
18600
|
+
* Exported so a host surface can test "does this row have anything to show?"
|
|
18601
|
+
* without rendering, and so the rules stay testable without a DOM.
|
|
18602
|
+
*
|
|
18603
|
+
* @param props - the optional provenance fields.
|
|
18604
|
+
* @returns Badges in reading order: origin, review, authority.
|
|
18605
|
+
*/
|
|
18606
|
+
function originBadgeItems(props) {
|
|
18607
|
+
const items = [];
|
|
18608
|
+
if (props.origin === "ai") items.push({
|
|
18609
|
+
key: "origin",
|
|
18610
|
+
label: "AI 生成",
|
|
18611
|
+
title: "AI 生成内容;发布时必须保留来源标签"
|
|
18612
|
+
});
|
|
18613
|
+
else if (props.origin === "mixed") items.push({
|
|
18614
|
+
key: "origin",
|
|
18615
|
+
label: "AI 生成",
|
|
18616
|
+
title: "人工与 AI 混合生成的内容"
|
|
18617
|
+
});
|
|
18618
|
+
if (props.reviewStatus === "reviewed") items.push({
|
|
18619
|
+
key: "reviewStatus",
|
|
18620
|
+
label: "已审核",
|
|
18621
|
+
title: "已审核"
|
|
18622
|
+
});
|
|
18623
|
+
else if (props.reviewStatus === "approved") items.push({
|
|
18624
|
+
key: "reviewStatus",
|
|
18625
|
+
label: "已审核",
|
|
18626
|
+
title: "已审核并批准"
|
|
18627
|
+
});
|
|
18628
|
+
if (props.authority === "redline") items.push({
|
|
18629
|
+
key: "authority",
|
|
18630
|
+
label: "红线",
|
|
18631
|
+
title: "红线:只能订阅,不可内化或覆盖"
|
|
18632
|
+
});
|
|
18633
|
+
return items;
|
|
18634
|
+
}
|
|
18635
|
+
/**
|
|
18636
|
+
* Render the badges for one row, or nothing when the row has no provenance.
|
|
18637
|
+
*
|
|
18638
|
+
* @param props - optional origin/review/authority fields.
|
|
18639
|
+
* @returns A small inline group of badges, or `null`.
|
|
18640
|
+
*/
|
|
18641
|
+
function OriginBadges(props) {
|
|
18642
|
+
const items = originBadgeItems(props);
|
|
18643
|
+
if (items.length === 0) return null;
|
|
18644
|
+
const className = [
|
|
18645
|
+
OriginBadges_module_css_default.badges,
|
|
18646
|
+
props.compact === true ? OriginBadges_module_css_default.compact : "",
|
|
18647
|
+
props.className
|
|
18648
|
+
].filter((name) => typeof name === "string" && name !== "").join(" ");
|
|
18649
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18650
|
+
className,
|
|
18651
|
+
role: "group",
|
|
18652
|
+
"aria-label": "内容标签",
|
|
18653
|
+
children: items.map((item) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
18654
|
+
className: [OriginBadges_module_css_default.badge, OriginBadges_module_css_default[item.key]].filter((name) => typeof name === "string" && name !== "").join(" "),
|
|
18655
|
+
"data-badge": item.key,
|
|
18656
|
+
title: item.title,
|
|
18657
|
+
"aria-label": item.label,
|
|
18658
|
+
children: [
|
|
18659
|
+
"[",
|
|
18660
|
+
item.label,
|
|
18661
|
+
"]"
|
|
18662
|
+
]
|
|
18663
|
+
}, item.key))
|
|
18664
|
+
});
|
|
18665
|
+
}
|
|
18666
|
+
//#endregion
|
|
17648
18667
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/graph/KnowledgeGraphTree.module.css.mjs
|
|
17649
|
-
const css$5 = ".JLttwq_tree,.JLttwq_scope{flex-direction:column;gap:1px;min-width:0;display:flex}.JLttwq_chevron,.JLttwq_chevronPlaceholder{width:14px;height:14px;color:var(--dsw-alias-label-tertiary);flex:none;justify-content:center;align-items:center;display:inline-flex}.JLttwq_chevron>svg{width:12px;height:12px}.JLttwq_rowActive,.JLttwq_rowActive:hover{background:var(--dsw-alias-interactive-bg-hover-accent);color:var(--dsw-alias-label-primary)}.JLttwq_graphGlyph{width:14px;height:14px;color:var(--dsw-alias-label-secondary);justify-content:center;align-items:center;display:inline-flex}.JLttwq_rowActive .JLttwq_graphGlyph{color:var(--dsw-alias-state-business-primary)}.JLttwq_topicRow{box-sizing:border-box;width:100%;max-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;cursor:pointer;background:0 0;border:0;border-radius:4px;align-items:center;gap:6px;padding:3px 8px;display:flex}.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_topicGlyph{opacity:.7;background:currentColor;border-radius:50%;flex:none;width:4px;height:4px;margin:0 5px}.JLttwq_topicName{text-overflow:ellipsis;min-width:0;overflow:hidden}.JLttwq_emptyRow{color:color-mix(in srgb, var(--dsw-alias-label-tertiary) 80%, var(--dsw-alias-label-primary));font:var(--dsw-font-xxxs-11);margin:2px 0 4px}.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)}.JLttwq_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:JLttwq_kg-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}.JLttwq_explorerRow>svg{flex:none;width:14px;height:14px}.JLttwq_explorerRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.JLttwq_explorerRowSelected{background:var(--dsw-alias-interactive-bg-active)}.JLttwq_explorerRowSelected:before{content:\"\";background:var(--dsw-alias-state-business-primary);border-radius:1px;width:2px;position:absolute;top:4px;bottom:4px;left:0}.JLttwq_explorerDir{font:var(--dsw-font-xxs-strong-12)}.JLttwq_explorerName{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.JLttwq_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}.JLttwq_explorerRow:hover .JLttwq_explorerTime,.JLttwq_explorerRow:focus-within .JLttwq_explorerTime{margin-left:0}@keyframes JLttwq_kg-row-in{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:none}}";
|
|
18668
|
+
const css$5 = ".JLttwq_tree,.JLttwq_scope{flex-direction:column;gap:1px;min-width:0;display:flex}.JLttwq_chevron,.JLttwq_chevronPlaceholder{width:14px;height:14px;color:var(--dsw-alias-label-tertiary);flex:none;justify-content:center;align-items:center;display:inline-flex}.JLttwq_chevron>svg{width:12px;height:12px}.JLttwq_rowActive,.JLttwq_rowActive:hover{background:var(--dsw-alias-interactive-bg-hover-accent);color:var(--dsw-alias-label-primary)}.JLttwq_graphGlyph{width:14px;height:14px;color:var(--dsw-alias-label-secondary);justify-content:center;align-items:center;display:inline-flex}.JLttwq_rowActive .JLttwq_graphGlyph{color:var(--dsw-alias-state-business-primary)}.JLttwq_topicRow{box-sizing:border-box;width:100%;max-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;cursor:pointer;background:0 0;border:0;border-radius:4px;align-items:center;gap:6px;padding:3px 8px;display:flex}.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_topicGlyph{opacity:.7;background:currentColor;border-radius:50%;flex:none;width:4px;height:4px;margin:0 5px}.JLttwq_topicName{text-overflow:ellipsis;min-width:0;overflow:hidden}.JLttwq_emptyRow{color:color-mix(in srgb, var(--dsw-alias-label-tertiary) 80%, var(--dsw-alias-label-primary));font:var(--dsw-font-xxxs-11);margin:2px 0 4px}.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)}.JLttwq_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:JLttwq_kg-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}.JLttwq_explorerRow>svg{flex:none;width:14px;height:14px}.JLttwq_explorerRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.JLttwq_explorerRowSelected{background:var(--dsw-alias-interactive-bg-active)}.JLttwq_explorerRowSelected:before{content:\"\";background:var(--dsw-alias-state-business-primary);border-radius:1px;width:2px;position:absolute;top:4px;bottom:4px;left:0}.JLttwq_explorerDir{font:var(--dsw-font-xxs-strong-12)}.JLttwq_explorerName{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.JLttwq_rowBadges{flex:none;align-items:center;min-width:0;display:inline-flex}.JLttwq_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}.JLttwq_explorerRow:hover .JLttwq_explorerTime,.JLttwq_explorerRow:focus-within .JLttwq_explorerTime{margin-left:0}@keyframes JLttwq_kg-row-in{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:none}}";
|
|
17650
18669
|
const tagId$5 = "@sparkelf/dsh-knowledge-base/KnowledgeGraphTree.module.css";
|
|
17651
18670
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$5) + "]") === null) {
|
|
17652
18671
|
const tag = document.createElement("style");
|
|
@@ -17657,26 +18676,27 @@ window.__ModuleLoader__.load({
|
|
|
17657
18676
|
}
|
|
17658
18677
|
var KnowledgeGraphTree_module_css_default = {
|
|
17659
18678
|
"topicActive": "JLttwq_topicActive",
|
|
17660
|
-
"explorerTime": "JLttwq_explorerTime",
|
|
17661
|
-
"chevronPlaceholder": "JLttwq_chevronPlaceholder",
|
|
17662
|
-
"state": "JLttwq_state",
|
|
17663
|
-
"explorerDir": "JLttwq_explorerDir",
|
|
17664
|
-
"graphGlyph": "JLttwq_graphGlyph",
|
|
17665
|
-
"explorerRow": "JLttwq_explorerRow",
|
|
17666
18679
|
"kg-row-in": "JLttwq_kg-row-in",
|
|
17667
|
-
"
|
|
17668
|
-
"explorerName": "JLttwq_explorerName",
|
|
17669
|
-
"chevron": "JLttwq_chevron",
|
|
17670
|
-
"detail": "JLttwq_detail",
|
|
17671
|
-
"explorerRowSelected": "JLttwq_explorerRowSelected",
|
|
18680
|
+
"state": "JLttwq_state",
|
|
17672
18681
|
"topicGlyph": "JLttwq_topicGlyph",
|
|
17673
|
-
"
|
|
17674
|
-
"topicName": "JLttwq_topicName",
|
|
17675
|
-
"scope": "JLttwq_scope",
|
|
17676
|
-
"emptyTitle": "JLttwq_emptyTitle",
|
|
18682
|
+
"rowBadges": "JLttwq_rowBadges",
|
|
17677
18683
|
"rowActive": "JLttwq_rowActive",
|
|
17678
18684
|
"tree": "JLttwq_tree",
|
|
18685
|
+
"chevron": "JLttwq_chevron",
|
|
17679
18686
|
"retry": "JLttwq_retry",
|
|
18687
|
+
"topicName": "JLttwq_topicName",
|
|
18688
|
+
"explorerTime": "JLttwq_explorerTime",
|
|
18689
|
+
"topicRow": "JLttwq_topicRow",
|
|
18690
|
+
"explorerDir": "JLttwq_explorerDir",
|
|
18691
|
+
"emptyTitle": "JLttwq_emptyTitle",
|
|
18692
|
+
"emptyRow": "JLttwq_emptyRow",
|
|
18693
|
+
"detail": "JLttwq_detail",
|
|
18694
|
+
"explorerRow": "JLttwq_explorerRow",
|
|
18695
|
+
"scope": "JLttwq_scope",
|
|
18696
|
+
"chevronPlaceholder": "JLttwq_chevronPlaceholder",
|
|
18697
|
+
"explorerRowSelected": "JLttwq_explorerRowSelected",
|
|
18698
|
+
"explorerName": "JLttwq_explorerName",
|
|
18699
|
+
"graphGlyph": "JLttwq_graphGlyph",
|
|
17680
18700
|
"error": "JLttwq_error"
|
|
17681
18701
|
};
|
|
17682
18702
|
//#endregion
|
|
@@ -17830,6 +18850,10 @@ window.__ModuleLoader__.load({
|
|
|
17830
18850
|
className: KnowledgeGraphTree_module_css_default.explorerName,
|
|
17831
18851
|
children: props.label
|
|
17832
18852
|
}),
|
|
18853
|
+
props.badges === void 0 ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18854
|
+
className: KnowledgeGraphTree_module_css_default.rowBadges,
|
|
18855
|
+
children: props.badges
|
|
18856
|
+
}),
|
|
17833
18857
|
props.trailing === void 0 ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
17834
18858
|
className: KnowledgeGraphTree_module_css_default.explorerTime,
|
|
17835
18859
|
children: props.trailing
|
|
@@ -17906,6 +18930,12 @@ window.__ModuleLoader__.load({
|
|
|
17906
18930
|
open,
|
|
17907
18931
|
active,
|
|
17908
18932
|
trailing: graph.counts.topics + " · " + graph.counts.links,
|
|
18933
|
+
badges: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(OriginBadges, {
|
|
18934
|
+
compact: true,
|
|
18935
|
+
origin: graph.origin,
|
|
18936
|
+
reviewStatus: graph.reviewStatus,
|
|
18937
|
+
authority: graph.authority
|
|
18938
|
+
}),
|
|
17909
18939
|
glyph: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(GraphFileGlyph, {}),
|
|
17910
18940
|
onClick: () => {
|
|
17911
18941
|
if (active && graph.topics.length > 0 && open) {
|
|
@@ -17921,6 +18951,12 @@ window.__ModuleLoader__.load({
|
|
|
17921
18951
|
testId: "kg-topic",
|
|
17922
18952
|
attrs: { "data-topic-id": topic.id },
|
|
17923
18953
|
active: topic.id === props.activeTopicId,
|
|
18954
|
+
badges: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(OriginBadges, {
|
|
18955
|
+
compact: true,
|
|
18956
|
+
origin: topic.origin,
|
|
18957
|
+
reviewStatus: topic.reviewStatus,
|
|
18958
|
+
authority: topic.authority
|
|
18959
|
+
}),
|
|
17924
18960
|
glyph: builtinFileIcon("index.md", 14),
|
|
17925
18961
|
onClick: () => {
|
|
17926
18962
|
props.onSelectTopic(graph.id, topic.id);
|
|
@@ -18026,7 +19062,7 @@ window.__ModuleLoader__.load({
|
|
|
18026
19062
|
}
|
|
18027
19063
|
//#endregion
|
|
18028
19064
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/graph/KnowledgeGraphView.module.css.mjs
|
|
18029
|
-
const css$4 = ".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%;
|
|
19065
|
+
const css$4 = ".Dk9FoG_host{background:var(--dsw-alias-bg-base);flex-direction:column;flex:auto;min-width:0;height:100%;min-height:0;display:flex;position:relative;overflow:hidden}.Dk9FoG_badgeBar{box-sizing:border-box;border-bottom:.5px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);flex:none;align-items:center;gap:6px;min-height:30px;padding:0 12px;display:flex}.Dk9FoG_badgeBarLabel{min-width:0;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.Dk9FoG_frame{background:var(--dsw-alias-bg-base);border:0;flex:auto;width: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)}";
|
|
18030
19066
|
const tagId$4 = "@sparkelf/dsh-knowledge-base/KnowledgeGraphView.module.css";
|
|
18031
19067
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
|
|
18032
19068
|
const tag = document.createElement("style");
|
|
@@ -18036,13 +19072,15 @@ window.__ModuleLoader__.load({
|
|
|
18036
19072
|
document.head.appendChild(tag);
|
|
18037
19073
|
}
|
|
18038
19074
|
var KnowledgeGraphView_module_css_default = {
|
|
18039
|
-
"
|
|
19075
|
+
"detail": "Dk9FoG_detail",
|
|
18040
19076
|
"retry": "Dk9FoG_retry",
|
|
18041
19077
|
"host": "Dk9FoG_host",
|
|
18042
|
-
"frame": "Dk9FoG_frame",
|
|
18043
19078
|
"emptyTitle": "Dk9FoG_emptyTitle",
|
|
18044
|
-
"
|
|
18045
|
-
"state": "Dk9FoG_state"
|
|
19079
|
+
"error": "Dk9FoG_error",
|
|
19080
|
+
"state": "Dk9FoG_state",
|
|
19081
|
+
"badgeBarLabel": "Dk9FoG_badgeBarLabel",
|
|
19082
|
+
"badgeBar": "Dk9FoG_badgeBar",
|
|
19083
|
+
"frame": "Dk9FoG_frame"
|
|
18046
19084
|
};
|
|
18047
19085
|
//#endregion
|
|
18048
19086
|
//#region src/client/graph/KnowledgeGraphView.tsx
|
|
@@ -18099,6 +19137,12 @@ window.__ModuleLoader__.load({
|
|
|
18099
19137
|
const loadedTopicRef = (0, react.useRef)(void 0);
|
|
18100
19138
|
const graphs = (0, react.useMemo)(() => knowledgeGraphsOf(props.state.tree), [props.state.tree]);
|
|
18101
19139
|
const activeGraph = graphs.find((graph) => graph.id === props.activeGraphId) ?? graphs[0];
|
|
19140
|
+
const activeTopic = activeGraph?.topics.find((topic) => topic.id === props.activeTopicId);
|
|
19141
|
+
const graphBadges = activeGraph === void 0 ? [] : originBadgeItems(activeGraph);
|
|
19142
|
+
const topicBadges = activeTopic === void 0 ? [] : originBadgeItems(activeTopic);
|
|
19143
|
+
const topicHasBadges = activeTopic !== void 0 && topicBadges.length > 0;
|
|
19144
|
+
const badgeSubject = topicHasBadges ? activeTopic : activeGraph;
|
|
19145
|
+
const badgeLabel = topicHasBadges && activeTopic !== void 0 ? activeTopic.title : activeGraph?.name;
|
|
18102
19146
|
const canvasUrl = (0, react.useMemo)(() => {
|
|
18103
19147
|
const path = kbApiPath(KB_API.graphCanvas);
|
|
18104
19148
|
if (typeof window === "undefined") return path;
|
|
@@ -18287,9 +19331,20 @@ window.__ModuleLoader__.load({
|
|
|
18287
19331
|
})
|
|
18288
19332
|
]
|
|
18289
19333
|
});
|
|
18290
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.
|
|
19334
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18291
19335
|
className: KnowledgeGraphView_module_css_default.host,
|
|
18292
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.
|
|
19336
|
+
children: [graphBadges.length + topicBadges.length > 0 && badgeSubject !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19337
|
+
className: KnowledgeGraphView_module_css_default.badgeBar,
|
|
19338
|
+
"data-testid": "kg-view-badges",
|
|
19339
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19340
|
+
className: KnowledgeGraphView_module_css_default.badgeBarLabel,
|
|
19341
|
+
children: badgeLabel
|
|
19342
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(OriginBadges, {
|
|
19343
|
+
origin: badgeSubject.origin,
|
|
19344
|
+
reviewStatus: badgeSubject.reviewStatus,
|
|
19345
|
+
authority: badgeSubject.authority
|
|
19346
|
+
})]
|
|
19347
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("iframe", {
|
|
18293
19348
|
ref: frameRef,
|
|
18294
19349
|
className: KnowledgeGraphView_module_css_default.frame,
|
|
18295
19350
|
title: "知识图谱画布",
|
|
@@ -18297,7 +19352,7 @@ window.__ModuleLoader__.load({
|
|
|
18297
19352
|
src: canvasUrl,
|
|
18298
19353
|
"data-canvas-src": canvasUrl,
|
|
18299
19354
|
onLoad: onFrameLoad
|
|
18300
|
-
})
|
|
19355
|
+
})]
|
|
18301
19356
|
});
|
|
18302
19357
|
}
|
|
18303
19358
|
//#endregion
|
|
@@ -18938,22 +19993,22 @@ window.__ModuleLoader__.load({
|
|
|
18938
19993
|
document.head.appendChild(tag);
|
|
18939
19994
|
}
|
|
18940
19995
|
var KnowledgeFilePreview_module_css_default = {
|
|
18941
|
-
"
|
|
18942
|
-
"
|
|
18943
|
-
"
|
|
19996
|
+
"body": "_7KbGuq_body",
|
|
19997
|
+
"path": "_7KbGuq_path",
|
|
19998
|
+
"binarySize": "_7KbGuq_binarySize",
|
|
18944
19999
|
"root": "_7KbGuq_root",
|
|
18945
|
-
"
|
|
20000
|
+
"close": "_7KbGuq_close",
|
|
20001
|
+
"binaryName": "_7KbGuq_binaryName",
|
|
18946
20002
|
"binaryAction": "_7KbGuq_binaryAction",
|
|
18947
|
-
"notice": "_7KbGuq_notice",
|
|
18948
|
-
"binaryMeta": "_7KbGuq_binaryMeta",
|
|
18949
|
-
"binaryCard": "_7KbGuq_binaryCard",
|
|
18950
|
-
"binarySize": "_7KbGuq_binarySize",
|
|
18951
|
-
"head": "_7KbGuq_head",
|
|
18952
|
-
"body": "_7KbGuq_body",
|
|
18953
|
-
"title": "_7KbGuq_title",
|
|
18954
20003
|
"pre": "_7KbGuq_pre",
|
|
20004
|
+
"binaryIcon": "_7KbGuq_binaryIcon",
|
|
18955
20005
|
"error": "_7KbGuq_error",
|
|
18956
|
-
"
|
|
20006
|
+
"head": "_7KbGuq_head",
|
|
20007
|
+
"title": "_7KbGuq_title",
|
|
20008
|
+
"binaryMeta": "_7KbGuq_binaryMeta",
|
|
20009
|
+
"heading": "_7KbGuq_heading",
|
|
20010
|
+
"binaryCard": "_7KbGuq_binaryCard",
|
|
20011
|
+
"notice": "_7KbGuq_notice"
|
|
18957
20012
|
};
|
|
18958
20013
|
//#endregion
|
|
18959
20014
|
//#region src/client/KnowledgeFilePreview.tsx
|
|
@@ -19435,14 +20490,14 @@ window.__ModuleLoader__.load({
|
|
|
19435
20490
|
document.head.appendChild(tag);
|
|
19436
20491
|
}
|
|
19437
20492
|
var KnowledgeReferencePicker_module_css_default = {
|
|
19438
|
-
"
|
|
20493
|
+
"footer": "uUHBaG_footer",
|
|
20494
|
+
"rowWhen": "uUHBaG_rowWhen",
|
|
20495
|
+
"list": "uUHBaG_list",
|
|
19439
20496
|
"empty": "uUHBaG_empty",
|
|
19440
20497
|
"error": "uUHBaG_error",
|
|
19441
20498
|
"content": "uUHBaG_content",
|
|
19442
20499
|
"body": "uUHBaG_body",
|
|
19443
|
-
"
|
|
19444
|
-
"list": "uUHBaG_list",
|
|
19445
|
-
"rowWhen": "uUHBaG_rowWhen"
|
|
20500
|
+
"rowName": "uUHBaG_rowName"
|
|
19446
20501
|
};
|
|
19447
20502
|
//#endregion
|
|
19448
20503
|
//#region src/client/insertReadiness.ts
|
|
@@ -20004,10 +21059,10 @@ window.__ModuleLoader__.load({
|
|
|
20004
21059
|
document.head.appendChild(tag);
|
|
20005
21060
|
}
|
|
20006
21061
|
var KnowledgeSelectionBar_module_css_default = {
|
|
20007
|
-
"
|
|
21062
|
+
"actions": "y8212a_actions",
|
|
20008
21063
|
"bar": "y8212a_bar",
|
|
20009
|
-
"
|
|
20010
|
-
"
|
|
21064
|
+
"text": "y8212a_text",
|
|
21065
|
+
"action": "y8212a_action"
|
|
20011
21066
|
};
|
|
20012
21067
|
//#endregion
|
|
20013
21068
|
//#region src/client/KnowledgeSelectionBar.tsx
|
|
@@ -20252,6 +21307,7 @@ window.__ModuleLoader__.load({
|
|
|
20252
21307
|
*/
|
|
20253
21308
|
function sectionTitle(t, selection) {
|
|
20254
21309
|
if (selection.kind === "home") return t("menu.home");
|
|
21310
|
+
if (selection.kind === "memory") return t("menu.memory");
|
|
20255
21311
|
if (selection.kind === "trash") return t("menu.trash");
|
|
20256
21312
|
if (selection.kind === "audit") return t("menu.audit");
|
|
20257
21313
|
if (selection.kind === "settings") return t("menu.settings");
|
|
@@ -20636,6 +21692,7 @@ window.__ModuleLoader__.load({
|
|
|
20636
21692
|
const permissionKeys = state.kind === "ready" ? state.status.permissions : void 0;
|
|
20637
21693
|
const hasPermission = (key) => permissionKeys === void 0 ? true : permissionKeys.includes(key);
|
|
20638
21694
|
const canSeeHome = permissionKeys === void 0 || hasPermission("kb:file:read");
|
|
21695
|
+
const canSeeMemory = permissionKeys === void 0 || hasPermission("kb:file:read");
|
|
20639
21696
|
const canSeeTrash = permissionKeys === void 0 || hasPermission("kb:file:delete");
|
|
20640
21697
|
const canSeeAudit = permissionKeys === void 0 || hasPermission("kb:audit:read");
|
|
20641
21698
|
const canSeeSettings = permissionKeys === void 0 || hasPermission("kb:config:manage") && (permissionKeys === void 0 || hasPermission("kb:grant:manage"));
|
|
@@ -20905,8 +21962,9 @@ window.__ModuleLoader__.load({
|
|
|
20905
21962
|
}
|
|
20906
21963
|
};
|
|
20907
21964
|
(0, react.useEffect)(() => {
|
|
20908
|
-
if (canSeeTrash && canSeeAudit && canSeeSettings && canSeeHome) return;
|
|
21965
|
+
if (canSeeTrash && canSeeAudit && canSeeSettings && canSeeHome && canSeeMemory) return;
|
|
20909
21966
|
setSelection((current) => {
|
|
21967
|
+
if (current.kind === "memory" && !canSeeMemory) return { kind: "search" };
|
|
20910
21968
|
if (current.kind === "trash" && !canSeeTrash) return { kind: "search" };
|
|
20911
21969
|
if (current.kind === "audit" && !canSeeAudit) return { kind: "search" };
|
|
20912
21970
|
if (current.kind === "settings" && !canSeeSettings) return { kind: "search" };
|
|
@@ -20916,6 +21974,7 @@ window.__ModuleLoader__.load({
|
|
|
20916
21974
|
}, [
|
|
20917
21975
|
canSeeAudit,
|
|
20918
21976
|
canSeeHome,
|
|
21977
|
+
canSeeMemory,
|
|
20919
21978
|
canSeeSettings,
|
|
20920
21979
|
canSeeTrash
|
|
20921
21980
|
]);
|
|
@@ -21077,6 +22136,10 @@ window.__ModuleLoader__.load({
|
|
|
21077
22136
|
kind: "home",
|
|
21078
22137
|
key: "menu.home"
|
|
21079
22138
|
}] : [],
|
|
22139
|
+
...canSeeMemory ? [{
|
|
22140
|
+
kind: "memory",
|
|
22141
|
+
key: "menu.memory"
|
|
22142
|
+
}] : [],
|
|
21080
22143
|
...canSeeTrash ? [{
|
|
21081
22144
|
kind: "trash",
|
|
21082
22145
|
key: "menu.trash"
|
|
@@ -21169,7 +22232,7 @@ window.__ModuleLoader__.load({
|
|
|
21169
22232
|
},
|
|
21170
22233
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
21171
22234
|
className: KnowledgePanel_module_css_default.menuGlyph,
|
|
21172
|
-
children: sectionGlyph(section.kind)
|
|
22235
|
+
children: section.kind === "memory" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconLightOutlineRegular, { size: 16 }) : sectionGlyph(section.kind)
|
|
21173
22236
|
}), !folded && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
21174
22237
|
className: KnowledgePanel_module_css_default.menuLabel,
|
|
21175
22238
|
children: t(section.key)
|
|
@@ -21659,6 +22722,21 @@ window.__ModuleLoader__.load({
|
|
|
21659
22722
|
departmentName: state.kind === "ready" ? state.status.caller?.departmentName : void 0,
|
|
21660
22723
|
canManageGrants: false
|
|
21661
22724
|
}),
|
|
22725
|
+
scope !== "graph" && rendered.kind === "memory" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeMemory, {
|
|
22726
|
+
t,
|
|
22727
|
+
...props.locale === void 0 ? {} : { locale: props.locale },
|
|
22728
|
+
onOpenSource: (entry) => {
|
|
22729
|
+
const sessionId = entry.source?.sessionId ?? entry.sourceRefs?.[0]?.sessionId;
|
|
22730
|
+
if (sessionId === void 0 || sessionId === "") return;
|
|
22731
|
+
try {
|
|
22732
|
+
const navigator = props.ctx?.get;
|
|
22733
|
+
(typeof navigator === "function" ? navigator.call(props.ctx, "uiWorkspace") : void 0)?.openSession?.({
|
|
22734
|
+
kind: "known",
|
|
22735
|
+
sessionId
|
|
22736
|
+
});
|
|
22737
|
+
} catch {}
|
|
22738
|
+
}
|
|
22739
|
+
}),
|
|
21662
22740
|
scope !== "graph" && rendered.kind === "trash" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeTrash, { t }),
|
|
21663
22741
|
scope !== "graph" && rendered.kind === "audit" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeAudit, { t }),
|
|
21664
22742
|
scope !== "graph" && rendered.kind === "settings" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeSettings, { t }),
|
|
@@ -22553,58 +23631,58 @@ window.__ModuleLoader__.load({
|
|
|
22553
23631
|
document.head.appendChild(tag);
|
|
22554
23632
|
}
|
|
22555
23633
|
var WorkflowPlaza_module_css_default = {
|
|
22556
|
-
"
|
|
22557
|
-
"
|
|
22558
|
-
"
|
|
22559
|
-
"
|
|
22560
|
-
"
|
|
22561
|
-
"
|
|
22562
|
-
"
|
|
22563
|
-
"
|
|
23634
|
+
"review": "lYC_0W_review",
|
|
23635
|
+
"reviewEmpty": "lYC_0W_reviewEmpty",
|
|
23636
|
+
"pageTitle": "lYC_0W_pageTitle",
|
|
23637
|
+
"reviewDescription": "lYC_0W_reviewDescription",
|
|
23638
|
+
"mineScope": "lYC_0W_mineScope",
|
|
23639
|
+
"detailFacts": "lYC_0W_detailFacts",
|
|
23640
|
+
"reviewPrompt": "lYC_0W_reviewPrompt",
|
|
23641
|
+
"cardDesc": "lYC_0W_cardDesc",
|
|
22564
23642
|
"cronInput": "lYC_0W_cronInput",
|
|
23643
|
+
"cardTop": "lYC_0W_cardTop",
|
|
22565
23644
|
"cronInvalid": "lYC_0W_cronInvalid",
|
|
22566
|
-
"failure": "lYC_0W_failure",
|
|
22567
|
-
"frequencyOn": "lYC_0W_frequencyOn",
|
|
22568
23645
|
"cronValid": "lYC_0W_cronValid",
|
|
22569
23646
|
"dialogFoot": "lYC_0W_dialogFoot",
|
|
23647
|
+
"fieldLabel": "lYC_0W_fieldLabel",
|
|
23648
|
+
"reviewMeta": "lYC_0W_reviewMeta",
|
|
23649
|
+
"actions": "lYC_0W_actions",
|
|
23650
|
+
"detailDescription": "lYC_0W_detailDescription",
|
|
23651
|
+
"frequencies": "lYC_0W_frequencies",
|
|
23652
|
+
"mineTags": "lYC_0W_mineTags",
|
|
22570
23653
|
"tabs": "lYC_0W_tabs",
|
|
22571
|
-
"
|
|
22572
|
-
"
|
|
22573
|
-
"reviewTitle": "lYC_0W_reviewTitle",
|
|
22574
|
-
"detailDialogBody": "lYC_0W_detailDialogBody",
|
|
22575
|
-
"detailFacts": "lYC_0W_detailFacts",
|
|
23654
|
+
"card": "lYC_0W_card",
|
|
23655
|
+
"reviewList": "lYC_0W_reviewList",
|
|
22576
23656
|
"reviewCard": "lYC_0W_reviewCard",
|
|
22577
|
-
"
|
|
23657
|
+
"reviewActions": "lYC_0W_reviewActions",
|
|
23658
|
+
"dialogIntro": "lYC_0W_dialogIntro",
|
|
23659
|
+
"page": "lYC_0W_page",
|
|
23660
|
+
"tab": "lYC_0W_tab",
|
|
23661
|
+
"tabActive": "lYC_0W_tabActive",
|
|
23662
|
+
"headerRow": "lYC_0W_headerRow",
|
|
23663
|
+
"reviewTitle": "lYC_0W_reviewTitle",
|
|
22578
23664
|
"body": "lYC_0W_body",
|
|
22579
23665
|
"cardCron": "lYC_0W_cardCron",
|
|
22580
|
-
"
|
|
22581
|
-
"reviewEmpty": "lYC_0W_reviewEmpty",
|
|
22582
|
-
"mineScope": "lYC_0W_mineScope",
|
|
22583
|
-
"dialogIntro": "lYC_0W_dialogIntro",
|
|
23666
|
+
"detailDialogBody": "lYC_0W_detailDialogBody",
|
|
22584
23667
|
"detailInstruction": "lYC_0W_detailInstruction",
|
|
23668
|
+
"frequency": "lYC_0W_frequency",
|
|
23669
|
+
"mark": "lYC_0W_mark",
|
|
23670
|
+
"frequencyOn": "lYC_0W_frequencyOn",
|
|
23671
|
+
"reviewHead": "lYC_0W_reviewHead",
|
|
23672
|
+
"reviewNote": "lYC_0W_reviewNote",
|
|
23673
|
+
"state": "lYC_0W_state",
|
|
22585
23674
|
"tabCount": "lYC_0W_tabCount",
|
|
22586
|
-
"cardFoot": "lYC_0W_cardFoot",
|
|
22587
23675
|
"mineStatus": "lYC_0W_mineStatus",
|
|
22588
|
-
"
|
|
22589
|
-
"dialogBody": "lYC_0W_dialogBody",
|
|
22590
|
-
"mark": "lYC_0W_mark",
|
|
22591
|
-
"reviewList": "lYC_0W_reviewList",
|
|
22592
|
-
"detailDescription": "lYC_0W_detailDescription",
|
|
23676
|
+
"mineFooter": "lYC_0W_mineFooter",
|
|
22593
23677
|
"mineTime": "lYC_0W_mineTime",
|
|
22594
|
-
"
|
|
22595
|
-
"
|
|
22596
|
-
"
|
|
22597
|
-
"
|
|
23678
|
+
"field": "lYC_0W_field",
|
|
23679
|
+
"dialogBody": "lYC_0W_dialogBody",
|
|
23680
|
+
"failure": "lYC_0W_failure",
|
|
23681
|
+
"cardTitle": "lYC_0W_cardTitle",
|
|
23682
|
+
"cardFoot": "lYC_0W_cardFoot",
|
|
23683
|
+
"cards": "lYC_0W_cards",
|
|
22598
23684
|
"cardIcon": "lYC_0W_cardIcon",
|
|
22599
|
-
"
|
|
22600
|
-
"reviewMeta": "lYC_0W_reviewMeta",
|
|
22601
|
-
"cardDesc": "lYC_0W_cardDesc",
|
|
22602
|
-
"failureRow": "lYC_0W_failureRow",
|
|
22603
|
-
"reviewNote": "lYC_0W_reviewNote",
|
|
22604
|
-
"actions": "lYC_0W_actions",
|
|
22605
|
-
"page": "lYC_0W_page",
|
|
22606
|
-
"cardTop": "lYC_0W_cardTop",
|
|
22607
|
-
"reviewPrompt": "lYC_0W_reviewPrompt"
|
|
23685
|
+
"failureRow": "lYC_0W_failureRow"
|
|
22608
23686
|
};
|
|
22609
23687
|
//#endregion
|
|
22610
23688
|
//#region src/client/workflows/WorkflowPlaza.tsx
|