@sparkelf/dsh-knowledge-base 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +675 -557
- package/lib/client.js.map +1 -1
- package/lib/index.js +19 -1
- package/lib/types/client/dropTargetPath.d.ts +33 -0
- package/lib/types/client/locales.d.ts +3 -0
- package/lib/types/client/progressRules.d.ts +17 -17
- package/lib/types/trash.d.ts +14 -0
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -332,32 +332,32 @@ window.__ModuleLoader__.load({
|
|
|
332
332
|
document.head.appendChild(tag);
|
|
333
333
|
}
|
|
334
334
|
var KnowledgeSettingsSection_module_css_default = {
|
|
335
|
-
"pairs": "c269jW_pairs",
|
|
336
|
-
"select": "c269jW_select",
|
|
337
335
|
"step": "c269jW_step",
|
|
338
|
-
"modeRow": "c269jW_modeRow",
|
|
339
|
-
"badgeOk": "c269jW_badgeOk",
|
|
340
|
-
"statusLabel": "c269jW_statusLabel",
|
|
341
|
-
"modeOption": "c269jW_modeOption",
|
|
342
|
-
"error": "c269jW_error",
|
|
343
336
|
"statusRow": "c269jW_statusRow",
|
|
344
|
-
"
|
|
345
|
-
"stepLabel": "c269jW_stepLabel",
|
|
346
|
-
"log": "c269jW_log",
|
|
347
|
-
"detail": "c269jW_detail",
|
|
348
|
-
"steps": "c269jW_steps",
|
|
349
|
-
"body": "c269jW_body",
|
|
350
|
-
"logBox": "c269jW_logBox",
|
|
337
|
+
"select": "c269jW_select",
|
|
351
338
|
"input": "c269jW_input",
|
|
352
|
-
"saveRow": "c269jW_saveRow",
|
|
353
|
-
"fieldLabel": "c269jW_fieldLabel",
|
|
354
|
-
"pair": "c269jW_pair",
|
|
355
339
|
"field": "c269jW_field",
|
|
340
|
+
"fieldLabel": "c269jW_fieldLabel",
|
|
341
|
+
"saveRow": "c269jW_saveRow",
|
|
342
|
+
"pairs": "c269jW_pairs",
|
|
343
|
+
"badgeOk": "c269jW_badgeOk",
|
|
344
|
+
"section": "c269jW_section",
|
|
345
|
+
"body": "c269jW_body",
|
|
346
|
+
"log": "c269jW_log",
|
|
347
|
+
"error": "c269jW_error",
|
|
348
|
+
"title": "c269jW_title",
|
|
349
|
+
"detail": "c269jW_detail",
|
|
350
|
+
"statusLabel": "c269jW_statusLabel",
|
|
356
351
|
"groupTitle": "c269jW_groupTitle",
|
|
357
|
-
"
|
|
352
|
+
"pair": "c269jW_pair",
|
|
358
353
|
"wizard": "c269jW_wizard",
|
|
359
|
-
"
|
|
360
|
-
"
|
|
354
|
+
"badgeWarn": "c269jW_badgeWarn",
|
|
355
|
+
"logBox": "c269jW_logBox",
|
|
356
|
+
"steps": "c269jW_steps",
|
|
357
|
+
"notice": "c269jW_notice",
|
|
358
|
+
"stepLabel": "c269jW_stepLabel",
|
|
359
|
+
"modeRow": "c269jW_modeRow",
|
|
360
|
+
"modeOption": "c269jW_modeOption"
|
|
361
361
|
};
|
|
362
362
|
//#endregion
|
|
363
363
|
//#region src/client/KnowledgeSettingsSection.tsx
|
|
@@ -1490,46 +1490,46 @@ window.__ModuleLoader__.load({
|
|
|
1490
1490
|
document.head.appendChild(tag);
|
|
1491
1491
|
}
|
|
1492
1492
|
var KnowledgePermissions_module_css_default = {
|
|
1493
|
-
"
|
|
1494
|
-
"paths": "W1jiya_paths",
|
|
1493
|
+
"pageHint": "W1jiya_pageHint",
|
|
1495
1494
|
"tabs": "W1jiya_tabs",
|
|
1496
|
-
"
|
|
1497
|
-
"pageTitle": "W1jiya_pageTitle",
|
|
1498
|
-
"principalMeta": "W1jiya_principalMeta",
|
|
1495
|
+
"pager": "W1jiya_pager",
|
|
1499
1496
|
"pathCell": "W1jiya_pathCell",
|
|
1500
|
-
"
|
|
1501
|
-
"
|
|
1502
|
-
"table": "W1jiya_table",
|
|
1497
|
+
"statCard": "W1jiya_statCard",
|
|
1498
|
+
"holderKind": "W1jiya_holderKind",
|
|
1503
1499
|
"sourceHint": "W1jiya_sourceHint",
|
|
1504
|
-
"
|
|
1505
|
-
"
|
|
1506
|
-
"
|
|
1500
|
+
"table": "W1jiya_table",
|
|
1501
|
+
"principalMeta": "W1jiya_principalMeta",
|
|
1502
|
+
"pageTitle": "W1jiya_pageTitle",
|
|
1503
|
+
"holders": "W1jiya_holders",
|
|
1504
|
+
"actions": "W1jiya_actions",
|
|
1505
|
+
"linkButton": "W1jiya_linkButton",
|
|
1507
1506
|
"statRow": "W1jiya_statRow",
|
|
1508
|
-
"
|
|
1509
|
-
"
|
|
1510
|
-
"
|
|
1507
|
+
"pageHead": "W1jiya_pageHead",
|
|
1508
|
+
"partialMark": "W1jiya_partialMark",
|
|
1509
|
+
"rowActions": "W1jiya_rowActions",
|
|
1510
|
+
"placeholder": "W1jiya_placeholder",
|
|
1511
|
+
"pagerStatus": "W1jiya_pagerStatus",
|
|
1511
1512
|
"dialogSelect": "W1jiya_dialogSelect",
|
|
1512
|
-
"holderKind": "W1jiya_holderKind",
|
|
1513
|
-
"actionCell": "W1jiya_actionCell",
|
|
1514
|
-
"emptyRow": "W1jiya_emptyRow",
|
|
1515
1513
|
"dialogForm": "W1jiya_dialogForm",
|
|
1516
|
-
"
|
|
1517
|
-
"partialMark": "W1jiya_partialMark",
|
|
1518
|
-
"pager": "W1jiya_pager",
|
|
1519
|
-
"pageSize": "W1jiya_pageSize",
|
|
1514
|
+
"actionCell": "W1jiya_actionCell",
|
|
1520
1515
|
"sourceCell": "W1jiya_sourceCell",
|
|
1521
|
-
"
|
|
1522
|
-
"pageHead": "W1jiya_pageHead",
|
|
1523
|
-
"pageHint": "W1jiya_pageHint",
|
|
1516
|
+
"pageSize": "W1jiya_pageSize",
|
|
1524
1517
|
"dialogField": "W1jiya_dialogField",
|
|
1525
|
-
"countCell": "W1jiya_countCell",
|
|
1526
|
-
"linkButton": "W1jiya_linkButton",
|
|
1527
|
-
"statCard": "W1jiya_statCard",
|
|
1528
|
-
"pagerStatus": "W1jiya_pagerStatus",
|
|
1529
|
-
"placeholder": "W1jiya_placeholder",
|
|
1530
1518
|
"path": "W1jiya_path",
|
|
1519
|
+
"countCell": "W1jiya_countCell",
|
|
1520
|
+
"dialogNotice": "W1jiya_dialogNotice",
|
|
1521
|
+
"holderName": "W1jiya_holderName",
|
|
1522
|
+
"principalId": "W1jiya_principalId",
|
|
1523
|
+
"emptyNote": "W1jiya_emptyNote",
|
|
1524
|
+
"overviewEmpty": "W1jiya_overviewEmpty",
|
|
1525
|
+
"overview": "W1jiya_overview",
|
|
1526
|
+
"statValue": "W1jiya_statValue",
|
|
1531
1527
|
"chips": "W1jiya_chips",
|
|
1532
|
-
"
|
|
1528
|
+
"paths": "W1jiya_paths",
|
|
1529
|
+
"emptyRow": "W1jiya_emptyRow",
|
|
1530
|
+
"holder": "W1jiya_holder",
|
|
1531
|
+
"statLabel": "W1jiya_statLabel",
|
|
1532
|
+
"principalName": "W1jiya_principalName"
|
|
1533
1533
|
};
|
|
1534
1534
|
//#endregion
|
|
1535
1535
|
//#region src/client/KnowledgePermissionOverview.tsx
|
|
@@ -2062,7 +2062,7 @@ window.__ModuleLoader__.load({
|
|
|
2062
2062
|
}
|
|
2063
2063
|
//#endregion
|
|
2064
2064
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgePanel.module.css.mjs
|
|
2065
|
-
const css$13 = ".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_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;display:flex}.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-direction:column;flex:none;gap:8px;padding:16px 14px 8px 24px;display:flex}.uNOdFq_headerTop{justify-content:space-between;align-items:center;gap:12px;display:flex}.uNOdFq_headerActions{flex:none;align-items:center;gap:8px;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;align-items:flex-end;margin:0;display:flex;overflow:hidden}.uNOdFq_headerFact{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);align-items:center;gap:6px;margin:0;display:flex}.uNOdFq_headerPath{font:var(--dsw-font-xxs-12) var(--ds-font-family-code);overflow-wrap:anywhere}.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_title{font:var(--dsw-font-base-strong-16);margin:0}.uNOdFq_subhead{font:var(--dsw-font-s-strong-14);margin:8px 0 0}.uNOdFq_muted{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);margin:0}.uNOdFq_error{color:var(--dsw-alias-state-error-primary,#c0392b);font:var(--dsw-font-xs-13);margin:0}.uNOdFq_notice{color:var(--dsw-alias-state-success-primary,#1a7f37);font:var(--dsw-font-xs-13);margin:0}.uNOdFq_empty{text-align:center;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-s-14);flex-direction:column;align-items:center;padding:48px 20px;display:flex}.uNOdFq_emptyGlyph{color:var(--dsw-alias-label-caption);margin-bottom:12px}.uNOdFq_emptyTitle{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-s-14);margin:0;line-height:1.6}.uNOdFq_factDot{opacity:.6}.uNOdFq_hits{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.uNOdFq_hit,.uNOdFq_hitActive{box-sizing:border-box;border-radius:var(--dsw-radius-md,8px);width:100%;color:var(--dsw-alias-label-primary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;grid-template-columns:minmax(0,auto) minmax(0,1fr);align-items:baseline;gap:2px 10px;padding:8px 10px;display:grid}.uNOdFq_hit:hover,.uNOdFq_hitActive{background:var(--dsw-alias-interactive-bg-hover)}.uNOdFq_hitName{font:var(--dsw-font-xs-strong-13);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.uNOdFq_hitPath{min-width:0;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.uNOdFq_hitTime{color:var(--dsw-alias-label-tertiary,var(--dsw-alias-label-secondary));font:var(--dsw-font-xxs-12);grid-column:1/-1}.uNOdFq_hitLine{min-width:0;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12) var(--ds-font-family-code);text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;gap:8px;display:flex;overflow:hidden}.uNOdFq_hitLineNo{text-align:right;opacity:.7;flex:none;min-width:2.5em}.uNOdFq_path{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12) var(--ds-font-family-code);overflow-wrap:anywhere;margin:0}.uNOdFq_preview{border:1px solid var(--dsw-alias-border-l1,#0000001f);border-radius:var(--dsw-radius-md,8px);background:var(--dsw-alias-bg-layer-2);font:var(--dsw-font-xs-13) var(--ds-font-family-code);white-space:pre-wrap;overflow-wrap:anywhere;max-height:calc(100vh - 160px);margin:0;padding:12px;line-height:1.55;overflow:auto}.uNOdFq_pairs{flex-direction:column;gap:6px;margin:0;display:flex}.uNOdFq_pair{font:var(--dsw-font-xs-13);gap:12px;display:flex}.uNOdFq_pair dt{min-width:6.5em;color:var(--dsw-alias-label-secondary);flex:none}.uNOdFq_pair dd{overflow-wrap:anywhere;margin:0}.uNOdFq_form{border:.5px solid var(--dsw-alias-border-l1);border-radius:var(--dsw-radius-md);flex-wrap:wrap;align-items:flex-end;gap:10px;padding:12px;display:flex}.uNOdFq_field{flex-direction:column;gap:4px;min-width:0;display:flex}.uNOdFq_field>span{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-strong-12)}.uNOdFq_input{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);min-width:10em;height:32px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-14);padding:0 10px}.uNOdFq_input:focus-visible{border-color:var(--dsw-alias-state-business-primary);outline:none}.uNOdFq_retry{border-radius:var(--dsw-radius-sm);border:1px solid var(--dsw-alias-border-l2);min-height:32px;font:var(--dsw-font-xxs-12);cursor:pointer;color:var(--dsw-alias-label-primary);background:0 0;align-self:flex-start;padding:4px 14px}.uNOdFq_retry:disabled{opacity:.55;cursor:default}.uNOdFq_table{border-collapse:collapse;width:100%;font:var(--dsw-font-xxs-12)}.uNOdFq_table th,.uNOdFq_table td{text-align:left;border-bottom:.5px solid var(--dsw-alias-border-l2);padding:6px 8px}.uNOdFq_table th{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-strong-12)}.uNOdFq_previewLayout{align-items:flex-start;gap:12px;width:100%;min-width:0;display:flex}.uNOdFq_previewColumn{flex-direction:column;flex:auto;align-items:flex-start;gap:12px;min-width:0;max-width:900px;display:flex}.uNOdFq_openedElsewhere{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;min-height:240px;display:flex}.uNOdFq_bodyDocument{grid-template-columns:280px}.uNOdFq_bodyCollapsed.uNOdFq_bodyDocument{grid-template-columns:56px}.uNOdFq_surface+.uNOdFq_surface{border-top:1px solid var(--dsw-alias-border-l1);margin-top:20px;padding-top:24px}.uNOdFq_surface+.uNOdFq_surface>.uNOdFq_subhead{margin-top:0}.uNOdFq_referenceNote{z-index:20;border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);max-width:420px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);box-shadow:var(--dsw-shadow-lv2);align-items:center;gap:8px;margin:0;padding:8px 10px;display:flex;position:fixed;inset-block-end:16px;inset-inline-start:16px}.uNOdFq_referenceNoteDismiss{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xs-13);cursor:pointer;background:0 0;border:0;flex:none;padding:0 2px;line-height:1}.uNOdFq_referenceNoteDismiss:hover{color:var(--dsw-alias-label-primary)}";
|
|
2065
|
+
const css$13 = ".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_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;display:flex}.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-direction:column;flex:none;gap:8px;padding:16px 14px 8px 24px;display:flex}.uNOdFq_headerTop{justify-content:space-between;align-items:center;gap:12px;display:flex}.uNOdFq_headerActions{flex:none;align-items:center;gap:8px;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;align-items:flex-end;margin:0;display:flex;overflow:hidden}.uNOdFq_headerFact{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);align-items:center;gap:6px;margin:0;display:flex}.uNOdFq_headerPath{font:var(--dsw-font-xxs-12) var(--ds-font-family-code);overflow-wrap:anywhere}.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 tr.uNOdFq_emptyRow>td{text-align:center;white-space:normal;padding:24px 16px}.uNOdFq_title{font:var(--dsw-font-base-strong-16);margin:0}.uNOdFq_subhead{font:var(--dsw-font-s-strong-14);margin:8px 0 0}.uNOdFq_muted{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);margin:0}.uNOdFq_error{color:var(--dsw-alias-state-error-primary,#c0392b);font:var(--dsw-font-xs-13);margin:0}.uNOdFq_notice{color:var(--dsw-alias-state-success-primary,#1a7f37);font:var(--dsw-font-xs-13);margin:0}.uNOdFq_empty{text-align:center;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-s-14);flex-direction:column;align-items:center;padding:48px 20px;display:flex}.uNOdFq_emptyGlyph{color:var(--dsw-alias-label-caption);margin-bottom:12px}.uNOdFq_emptyTitle{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-s-14);margin:0;line-height:1.6}.uNOdFq_factDot{opacity:.6}.uNOdFq_hits{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.uNOdFq_hit,.uNOdFq_hitActive{box-sizing:border-box;border-radius:var(--dsw-radius-md,8px);width:100%;color:var(--dsw-alias-label-primary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;grid-template-columns:minmax(0,auto) minmax(0,1fr);align-items:baseline;gap:2px 10px;padding:8px 10px;display:grid}.uNOdFq_hit:hover,.uNOdFq_hitActive{background:var(--dsw-alias-interactive-bg-hover)}.uNOdFq_hitName{font:var(--dsw-font-xs-strong-13);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.uNOdFq_hitPath{min-width:0;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.uNOdFq_hitTime{color:var(--dsw-alias-label-tertiary,var(--dsw-alias-label-secondary));font:var(--dsw-font-xxs-12);grid-column:1/-1}.uNOdFq_hitLine{min-width:0;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12) var(--ds-font-family-code);text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;gap:8px;display:flex;overflow:hidden}.uNOdFq_hitLineNo{text-align:right;opacity:.7;flex:none;min-width:2.5em}.uNOdFq_path{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12) var(--ds-font-family-code);overflow-wrap:anywhere;margin:0}.uNOdFq_preview{border:1px solid var(--dsw-alias-border-l1,#0000001f);border-radius:var(--dsw-radius-md,8px);background:var(--dsw-alias-bg-layer-2);font:var(--dsw-font-xs-13) var(--ds-font-family-code);white-space:pre-wrap;overflow-wrap:anywhere;max-height:calc(100vh - 160px);margin:0;padding:12px;line-height:1.55;overflow:auto}.uNOdFq_pairs{flex-direction:column;gap:6px;margin:0;display:flex}.uNOdFq_pair{font:var(--dsw-font-xs-13);gap:12px;display:flex}.uNOdFq_pair dt{min-width:6.5em;color:var(--dsw-alias-label-secondary);flex:none}.uNOdFq_pair dd{overflow-wrap:anywhere;margin:0}.uNOdFq_form{border:.5px solid var(--dsw-alias-border-l1);border-radius:var(--dsw-radius-md);flex-wrap:wrap;align-items:flex-end;gap:10px;padding:12px;display:flex}.uNOdFq_field{flex-direction:column;gap:4px;min-width:0;display:flex}.uNOdFq_field>span{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-strong-12)}.uNOdFq_input{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);min-width:10em;height:32px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-14);padding:0 10px}.uNOdFq_input:focus-visible{border-color:var(--dsw-alias-state-business-primary);outline:none}.uNOdFq_retry{border-radius:var(--dsw-radius-sm);border:1px solid var(--dsw-alias-border-l2);min-height:32px;font:var(--dsw-font-xxs-12);cursor:pointer;color:var(--dsw-alias-label-primary);background:0 0;align-self:flex-start;padding:4px 14px}.uNOdFq_retry:disabled{opacity:.55;cursor:default}.uNOdFq_table{border-collapse:collapse;width:100%;font:var(--dsw-font-xxs-12)}.uNOdFq_table th,.uNOdFq_table td{text-align:left;border-bottom:.5px solid var(--dsw-alias-border-l2);padding:6px 8px}.uNOdFq_table th{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-strong-12)}.uNOdFq_previewLayout{align-items:flex-start;gap:12px;width:100%;min-width:0;display:flex}.uNOdFq_previewColumn{flex-direction:column;flex:auto;align-items:flex-start;gap:12px;min-width:0;max-width:900px;display:flex}.uNOdFq_openedElsewhere{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;min-height:240px;display:flex}.uNOdFq_bodyDocument{grid-template-columns:280px}.uNOdFq_bodyCollapsed.uNOdFq_bodyDocument{grid-template-columns:56px}.uNOdFq_surface+.uNOdFq_surface{border-top:1px solid var(--dsw-alias-border-l1);margin-top:20px;padding-top:24px}.uNOdFq_surface+.uNOdFq_surface>.uNOdFq_subhead{margin-top:0}.uNOdFq_referenceNote{z-index:20;border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-1);max-width:420px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);box-shadow:var(--dsw-shadow-lv2);align-items:center;gap:8px;margin:0;padding:8px 10px;display:flex;position:fixed;inset-block-end:16px;inset-inline-start:16px}.uNOdFq_referenceNoteDismiss{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xs-13);cursor:pointer;background:0 0;border:0;flex:none;padding:0 2px;line-height:1}.uNOdFq_referenceNoteDismiss:hover{color:var(--dsw-alias-label-primary)}";
|
|
2066
2066
|
const tagId$13 = "@sparkelf/dsh-knowledge-base/KnowledgePanel.module.css";
|
|
2067
2067
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$13) + "]") === null) {
|
|
2068
2068
|
const tag = document.createElement("style");
|
|
@@ -2072,72 +2072,73 @@ window.__ModuleLoader__.load({
|
|
|
2072
2072
|
document.head.appendChild(tag);
|
|
2073
2073
|
}
|
|
2074
2074
|
var KnowledgePanel_module_css_default = {
|
|
2075
|
-
"
|
|
2076
|
-
"headerActions": "uNOdFq_headerActions",
|
|
2077
|
-
"error": "uNOdFq_error",
|
|
2078
|
-
"title": "uNOdFq_title",
|
|
2079
|
-
"openedElsewhere": "uNOdFq_openedElsewhere",
|
|
2080
|
-
"railTop": "uNOdFq_railTop",
|
|
2081
|
-
"empty": "uNOdFq_empty",
|
|
2075
|
+
"sectionHeader": "uNOdFq_sectionHeader",
|
|
2082
2076
|
"headerTitle": "uNOdFq_headerTitle",
|
|
2083
|
-
"
|
|
2084
|
-
"
|
|
2077
|
+
"sectionName": "uNOdFq_sectionName",
|
|
2078
|
+
"factDot": "uNOdFq_factDot",
|
|
2079
|
+
"hitPath": "uNOdFq_hitPath",
|
|
2080
|
+
"header": "uNOdFq_header",
|
|
2081
|
+
"iconButton": "uNOdFq_iconButton",
|
|
2082
|
+
"bodyDocument": "uNOdFq_bodyDocument",
|
|
2083
|
+
"referenceNote": "uNOdFq_referenceNote",
|
|
2084
|
+
"menuRowActive": "uNOdFq_menuRowActive",
|
|
2085
2085
|
"referenceNoteDismiss": "uNOdFq_referenceNoteDismiss",
|
|
2086
|
-
"searchBox": "uNOdFq_searchBox",
|
|
2087
|
-
"retry": "uNOdFq_retry",
|
|
2088
|
-
"treeScroll": "uNOdFq_treeScroll",
|
|
2089
|
-
"subhead": "uNOdFq_subhead",
|
|
2090
2086
|
"railBrand": "uNOdFq_railBrand",
|
|
2091
|
-
"previewLayout": "uNOdFq_previewLayout",
|
|
2092
|
-
"hitActive": "uNOdFq_hitActive",
|
|
2093
|
-
"menuFolded": "uNOdFq_menuFolded",
|
|
2094
2087
|
"railBrandName": "uNOdFq_railBrandName",
|
|
2095
|
-
"
|
|
2096
|
-
"
|
|
2097
|
-
"
|
|
2088
|
+
"railTopSpacer": "uNOdFq_railTopSpacer",
|
|
2089
|
+
"treeBand": "uNOdFq_treeBand",
|
|
2090
|
+
"headerTop": "uNOdFq_headerTop",
|
|
2091
|
+
"pinnedBand": "uNOdFq_pinnedBand",
|
|
2092
|
+
"pairs": "uNOdFq_pairs",
|
|
2098
2093
|
"emptyGlyph": "uNOdFq_emptyGlyph",
|
|
2094
|
+
"headerActions": "uNOdFq_headerActions",
|
|
2095
|
+
"emptyRow": "uNOdFq_emptyRow",
|
|
2096
|
+
"railBody": "uNOdFq_railBody",
|
|
2099
2097
|
"treeFilter": "uNOdFq_treeFilter",
|
|
2100
2098
|
"hits": "uNOdFq_hits",
|
|
2101
|
-
"
|
|
2102
|
-
"
|
|
2103
|
-
"
|
|
2099
|
+
"hitTime": "uNOdFq_hitTime",
|
|
2100
|
+
"rail": "uNOdFq_rail",
|
|
2101
|
+
"page": "uNOdFq_page",
|
|
2102
|
+
"treeScroll": "uNOdFq_treeScroll",
|
|
2103
|
+
"pair": "uNOdFq_pair",
|
|
2104
|
+
"menuFolded": "uNOdFq_menuFolded",
|
|
2105
|
+
"title": "uNOdFq_title",
|
|
2106
|
+
"form": "uNOdFq_form",
|
|
2107
|
+
"table": "uNOdFq_table",
|
|
2104
2108
|
"sectionActions": "uNOdFq_sectionActions",
|
|
2105
|
-
"
|
|
2106
|
-
"
|
|
2109
|
+
"content": "uNOdFq_content",
|
|
2110
|
+
"headerFact": "uNOdFq_headerFact",
|
|
2111
|
+
"tableSurface": "uNOdFq_tableSurface",
|
|
2112
|
+
"retry": "uNOdFq_retry",
|
|
2107
2113
|
"input": "uNOdFq_input",
|
|
2108
|
-
"
|
|
2109
|
-
"menu": "uNOdFq_menu",
|
|
2110
|
-
"hitPath": "uNOdFq_hitPath",
|
|
2111
|
-
"menuLabel": "uNOdFq_menuLabel",
|
|
2114
|
+
"muted": "uNOdFq_muted",
|
|
2112
2115
|
"hitName": "uNOdFq_hitName",
|
|
2113
|
-
"
|
|
2114
|
-
"
|
|
2116
|
+
"subhead": "uNOdFq_subhead",
|
|
2117
|
+
"menuRow": "uNOdFq_menuRow",
|
|
2118
|
+
"preview": "uNOdFq_preview",
|
|
2119
|
+
"openedElsewhere": "uNOdFq_openedElsewhere",
|
|
2120
|
+
"menu": "uNOdFq_menu",
|
|
2121
|
+
"path": "uNOdFq_path",
|
|
2122
|
+
"contentColumn": "uNOdFq_contentColumn",
|
|
2123
|
+
"body": "uNOdFq_body",
|
|
2124
|
+
"field": "uNOdFq_field",
|
|
2115
2125
|
"emptyTitle": "uNOdFq_emptyTitle",
|
|
2116
|
-
"
|
|
2117
|
-
"
|
|
2118
|
-
"
|
|
2119
|
-
"
|
|
2120
|
-
"
|
|
2121
|
-
"
|
|
2122
|
-
"
|
|
2123
|
-
"content": "uNOdFq_content",
|
|
2126
|
+
"headerPath": "uNOdFq_headerPath",
|
|
2127
|
+
"searchBox": "uNOdFq_searchBox",
|
|
2128
|
+
"menuGlyph": "uNOdFq_menuGlyph",
|
|
2129
|
+
"railTop": "uNOdFq_railTop",
|
|
2130
|
+
"menuLabel": "uNOdFq_menuLabel",
|
|
2131
|
+
"empty": "uNOdFq_empty",
|
|
2132
|
+
"error": "uNOdFq_error",
|
|
2124
2133
|
"hitLine": "uNOdFq_hitLine",
|
|
2125
|
-
"
|
|
2126
|
-
"pair": "uNOdFq_pair",
|
|
2127
|
-
"menuRow": "uNOdFq_menuRow",
|
|
2128
|
-
"table": "uNOdFq_table",
|
|
2134
|
+
"bodyCollapsed": "uNOdFq_bodyCollapsed",
|
|
2129
2135
|
"previewColumn": "uNOdFq_previewColumn",
|
|
2130
|
-
"
|
|
2131
|
-
"
|
|
2136
|
+
"hitActive": "uNOdFq_hitActive",
|
|
2137
|
+
"surface": "uNOdFq_surface",
|
|
2132
2138
|
"notice": "uNOdFq_notice",
|
|
2133
|
-
"
|
|
2134
|
-
"
|
|
2135
|
-
"
|
|
2136
|
-
"path": "uNOdFq_path",
|
|
2137
|
-
"bodyCollapsed": "uNOdFq_bodyCollapsed",
|
|
2138
|
-
"referenceNote": "uNOdFq_referenceNote",
|
|
2139
|
-
"pairs": "uNOdFq_pairs",
|
|
2140
|
-
"contentColumn": "uNOdFq_contentColumn"
|
|
2139
|
+
"hit": "uNOdFq_hit",
|
|
2140
|
+
"hitLineNo": "uNOdFq_hitLineNo",
|
|
2141
|
+
"previewLayout": "uNOdFq_previewLayout"
|
|
2141
2142
|
};
|
|
2142
2143
|
//#endregion
|
|
2143
2144
|
//#region src/client/KnowledgePermissions.tsx
|
|
@@ -2835,15 +2836,15 @@ window.__ModuleLoader__.load({
|
|
|
2835
2836
|
document.head.appendChild(tag);
|
|
2836
2837
|
}
|
|
2837
2838
|
var KnowledgeLoading_module_css_default = {
|
|
2838
|
-
"pagesLeft": "HyIQta_pagesLeft",
|
|
2839
|
-
"kb-page-turn": "HyIQta_kb-page-turn",
|
|
2840
|
-
"coverBack": "HyIQta_coverBack",
|
|
2841
|
-
"wrap": "HyIQta_wrap",
|
|
2842
2839
|
"leaf": "HyIQta_leaf",
|
|
2843
|
-
"label": "HyIQta_label",
|
|
2844
2840
|
"book": "HyIQta_book",
|
|
2841
|
+
"wrap": "HyIQta_wrap",
|
|
2842
|
+
"coverBack": "HyIQta_coverBack",
|
|
2845
2843
|
"pagesRight": "HyIQta_pagesRight",
|
|
2846
|
-
"srOnly": "HyIQta_srOnly"
|
|
2844
|
+
"srOnly": "HyIQta_srOnly",
|
|
2845
|
+
"kb-page-turn": "HyIQta_kb-page-turn",
|
|
2846
|
+
"label": "HyIQta_label",
|
|
2847
|
+
"pagesLeft": "HyIQta_pagesLeft"
|
|
2847
2848
|
};
|
|
2848
2849
|
//#endregion
|
|
2849
2850
|
//#region src/client/KnowledgeLoading.tsx
|
|
@@ -3354,31 +3355,31 @@ window.__ModuleLoader__.load({
|
|
|
3354
3355
|
document.head.appendChild(tag);
|
|
3355
3356
|
}
|
|
3356
3357
|
var KnowledgeHome_module_css_default = {
|
|
3357
|
-
"cardTitle": "oNvFBa_cardTitle",
|
|
3358
|
-
"titleCell": "oNvFBa_titleCell",
|
|
3359
|
-
"dropZone": "oNvFBa_dropZone",
|
|
3360
|
-
"cardPlate": "oNvFBa_cardPlate",
|
|
3361
|
-
"cardBody": "oNvFBa_cardBody",
|
|
3362
|
-
"home": "oNvFBa_home",
|
|
3363
3358
|
"cardText": "oNvFBa_cardText",
|
|
3364
|
-
"
|
|
3359
|
+
"cardBody": "oNvFBa_cardBody",
|
|
3360
|
+
"card": "oNvFBa_card",
|
|
3365
3361
|
"shareWrap": "oNvFBa_shareWrap",
|
|
3366
|
-
"shareBlock": "oNvFBa_shareBlock",
|
|
3367
3362
|
"favoriteMark": "oNvFBa_favoriteMark",
|
|
3368
|
-
"
|
|
3369
|
-
"
|
|
3363
|
+
"home": "oNvFBa_home",
|
|
3364
|
+
"cardTitle": "oNvFBa_cardTitle",
|
|
3365
|
+
"cardSlot": "oNvFBa_cardSlot",
|
|
3370
3366
|
"cardMenu": "oNvFBa_cardMenu",
|
|
3371
|
-
"
|
|
3367
|
+
"titleCell": "oNvFBa_titleCell",
|
|
3368
|
+
"shareBlock": "oNvFBa_shareBlock",
|
|
3372
3369
|
"rowLink": "oNvFBa_rowLink",
|
|
3373
|
-
"sharePager": "oNvFBa_sharePager",
|
|
3374
|
-
"card": "oNvFBa_card",
|
|
3375
|
-
"cardChevron": "oNvFBa_cardChevron",
|
|
3376
|
-
"cardMenuItem": "oNvFBa_cardMenuItem",
|
|
3377
|
-
"muted": "oNvFBa_muted",
|
|
3378
3370
|
"cards": "oNvFBa_cards",
|
|
3371
|
+
"cardMenuItem": "oNvFBa_cardMenuItem",
|
|
3372
|
+
"cardChevron": "oNvFBa_cardChevron",
|
|
3379
3373
|
"table": "oNvFBa_table",
|
|
3374
|
+
"hiddenInput": "oNvFBa_hiddenInput",
|
|
3380
3375
|
"shareEmpty": "oNvFBa_shareEmpty",
|
|
3381
|
-
"
|
|
3376
|
+
"muted": "oNvFBa_muted",
|
|
3377
|
+
"cardPlate": "oNvFBa_cardPlate",
|
|
3378
|
+
"dropZone": "oNvFBa_dropZone",
|
|
3379
|
+
"dropZoneActive": "oNvFBa_dropZoneActive",
|
|
3380
|
+
"shareError": "oNvFBa_shareError",
|
|
3381
|
+
"emptyRow": "oNvFBa_emptyRow",
|
|
3382
|
+
"sharePager": "oNvFBa_sharePager"
|
|
3382
3383
|
};
|
|
3383
3384
|
//#endregion
|
|
3384
3385
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeCreateDialog.module.css.mjs
|
|
@@ -3392,28 +3393,28 @@ window.__ModuleLoader__.load({
|
|
|
3392
3393
|
document.head.appendChild(tag);
|
|
3393
3394
|
}
|
|
3394
3395
|
var KnowledgeCreateDialog_module_css_default = {
|
|
3395
|
-
"fileRow": "HX727W_fileRow",
|
|
3396
|
-
"pickerPathValue": "HX727W_pickerPathValue",
|
|
3397
|
-
"crumbSep": "HX727W_crumbSep",
|
|
3398
|
-
"picker": "HX727W_picker",
|
|
3399
|
-
"fieldHint": "HX727W_fieldHint",
|
|
3400
3396
|
"field": "HX727W_field",
|
|
3397
|
+
"summary": "HX727W_summary",
|
|
3401
3398
|
"pickerBar": "HX727W_pickerBar",
|
|
3402
3399
|
"crumb": "HX727W_crumb",
|
|
3400
|
+
"fieldLabel": "HX727W_fieldLabel",
|
|
3403
3401
|
"pickerMuted": "HX727W_pickerMuted",
|
|
3404
|
-
"
|
|
3402
|
+
"fileRow": "HX727W_fileRow",
|
|
3403
|
+
"pickerPathValue": "HX727W_pickerPathValue",
|
|
3404
|
+
"dialog": "HX727W_dialog",
|
|
3405
3405
|
"pickerRow": "HX727W_pickerRow",
|
|
3406
|
-
"
|
|
3406
|
+
"pickerPath": "HX727W_pickerPath",
|
|
3407
|
+
"fileList": "HX727W_fileList",
|
|
3408
|
+
"fileName": "HX727W_fileName",
|
|
3409
|
+
"picker": "HX727W_picker",
|
|
3410
|
+
"crumbSep": "HX727W_crumbSep",
|
|
3407
3411
|
"crumbWrap": "HX727W_crumbWrap",
|
|
3408
3412
|
"fileTarget": "HX727W_fileTarget",
|
|
3409
|
-
"
|
|
3410
|
-
"pickerList": "HX727W_pickerList",
|
|
3411
|
-
"pickerPath": "HX727W_pickerPath",
|
|
3413
|
+
"fieldHint": "HX727W_fieldHint",
|
|
3412
3414
|
"fieldError": "HX727W_fieldError",
|
|
3413
|
-
"
|
|
3414
|
-
"
|
|
3415
|
-
"
|
|
3416
|
-
"fileInput": "HX727W_fileInput"
|
|
3415
|
+
"pickerList": "HX727W_pickerList",
|
|
3416
|
+
"fileInput": "HX727W_fileInput",
|
|
3417
|
+
"pickerPathLabel": "HX727W_pickerPathLabel"
|
|
3417
3418
|
};
|
|
3418
3419
|
//#endregion
|
|
3419
3420
|
//#region src/client/KnowledgeCreateDialog.tsx
|
|
@@ -3929,33 +3930,33 @@ window.__ModuleLoader__.load({
|
|
|
3929
3930
|
document.head.appendChild(tag);
|
|
3930
3931
|
}
|
|
3931
3932
|
var KnowledgeTemplates_module_css_default = {
|
|
3932
|
-
"
|
|
3933
|
-
"fileInput": "Tg9J7q_fileInput",
|
|
3934
|
-
"fieldHint": "Tg9J7q_fieldHint",
|
|
3935
|
-
"toolbar": "Tg9J7q_toolbar",
|
|
3936
|
-
"manageActions": "Tg9J7q_manageActions",
|
|
3937
|
-
"form": "Tg9J7q_form",
|
|
3938
|
-
"manageName": "Tg9J7q_manageName",
|
|
3939
|
-
"card": "Tg9J7q_card",
|
|
3940
|
-
"field": "Tg9J7q_field",
|
|
3941
|
-
"fieldLabel": "Tg9J7q_fieldLabel",
|
|
3942
|
-
"library": "Tg9J7q_library",
|
|
3943
|
-
"dialog": "Tg9J7q_dialog",
|
|
3944
|
-
"cardMeta": "Tg9J7q_cardMeta",
|
|
3933
|
+
"cardTitle": "Tg9J7q_cardTitle",
|
|
3945
3934
|
"manageList": "Tg9J7q_manageList",
|
|
3946
|
-
"
|
|
3935
|
+
"manageName": "Tg9J7q_manageName",
|
|
3947
3936
|
"destination": "Tg9J7q_destination",
|
|
3948
|
-
"manageBar": "Tg9J7q_manageBar",
|
|
3949
|
-
"notice": "Tg9J7q_notice",
|
|
3950
|
-
"cardHead": "Tg9J7q_cardHead",
|
|
3951
|
-
"manage": "Tg9J7q_manage",
|
|
3952
3937
|
"cardTags": "Tg9J7q_cardTags",
|
|
3953
|
-
"
|
|
3954
|
-
"
|
|
3955
|
-
"cardTitle": "Tg9J7q_cardTitle",
|
|
3938
|
+
"manageBar": "Tg9J7q_manageBar",
|
|
3939
|
+
"formActions": "Tg9J7q_formActions",
|
|
3956
3940
|
"grid": "Tg9J7q_grid",
|
|
3941
|
+
"library": "Tg9J7q_library",
|
|
3957
3942
|
"cardFoot": "Tg9J7q_cardFoot",
|
|
3958
|
-
"
|
|
3943
|
+
"form": "Tg9J7q_form",
|
|
3944
|
+
"cardMeta": "Tg9J7q_cardMeta",
|
|
3945
|
+
"field": "Tg9J7q_field",
|
|
3946
|
+
"card": "Tg9J7q_card",
|
|
3947
|
+
"dialog": "Tg9J7q_dialog",
|
|
3948
|
+
"fieldLabel": "Tg9J7q_fieldLabel",
|
|
3949
|
+
"destinationLabel": "Tg9J7q_destinationLabel",
|
|
3950
|
+
"manage": "Tg9J7q_manage",
|
|
3951
|
+
"toolbar": "Tg9J7q_toolbar",
|
|
3952
|
+
"muted": "Tg9J7q_muted",
|
|
3953
|
+
"fileInput": "Tg9J7q_fileInput",
|
|
3954
|
+
"notice": "Tg9J7q_notice",
|
|
3955
|
+
"manageActions": "Tg9J7q_manageActions",
|
|
3956
|
+
"cardHead": "Tg9J7q_cardHead",
|
|
3957
|
+
"manageRow": "Tg9J7q_manageRow",
|
|
3958
|
+
"fieldHint": "Tg9J7q_fieldHint",
|
|
3959
|
+
"cardBody": "Tg9J7q_cardBody"
|
|
3959
3960
|
};
|
|
3960
3961
|
//#endregion
|
|
3961
3962
|
//#region src/client/KnowledgeTemplates.tsx
|
|
@@ -4728,19 +4729,19 @@ window.__ModuleLoader__.load({
|
|
|
4728
4729
|
document.head.appendChild(tag);
|
|
4729
4730
|
}
|
|
4730
4731
|
var KnowledgeShareDialog_module_css_default = {
|
|
4731
|
-
"
|
|
4732
|
-
"
|
|
4733
|
-
"
|
|
4732
|
+
"optionLabel": "nw--rq_optionLabel",
|
|
4733
|
+
"body": "nw--rq_body",
|
|
4734
|
+
"chosen": "nw--rq_chosen",
|
|
4735
|
+
"state": "nw--rq_state",
|
|
4734
4736
|
"field": "nw--rq_field",
|
|
4735
4737
|
"optionDetail": "nw--rq_optionDetail",
|
|
4736
|
-
"state": "nw--rq_state",
|
|
4737
|
-
"chosenLabel": "nw--rq_chosenLabel",
|
|
4738
|
-
"notice": "nw--rq_notice",
|
|
4739
|
-
"chosen": "nw--rq_chosen",
|
|
4740
4738
|
"option": "nw--rq_option",
|
|
4739
|
+
"fieldLabel": "nw--rq_fieldLabel",
|
|
4740
|
+
"intro": "nw--rq_intro",
|
|
4741
|
+
"list": "nw--rq_list",
|
|
4742
|
+
"chosenLabel": "nw--rq_chosenLabel",
|
|
4741
4743
|
"hint": "nw--rq_hint",
|
|
4742
|
-
"
|
|
4743
|
-
"body": "nw--rq_body"
|
|
4744
|
+
"notice": "nw--rq_notice"
|
|
4744
4745
|
};
|
|
4745
4746
|
//#endregion
|
|
4746
4747
|
//#region src/client/KnowledgeShareDialog.tsx
|
|
@@ -6742,14 +6743,14 @@ window.__ModuleLoader__.load({
|
|
|
6742
6743
|
document.head.appendChild(tag);
|
|
6743
6744
|
}
|
|
6744
6745
|
var KnowledgeAudit_module_css_default = {
|
|
6745
|
-
"audit": "_0xqcPG_audit",
|
|
6746
|
-
"tabs": "_0xqcPG_tabs",
|
|
6747
|
-
"pathCell": "_0xqcPG_pathCell",
|
|
6748
|
-
"pagerPosition": "_0xqcPG_pagerPosition",
|
|
6749
6746
|
"pagerSizeLabel": "_0xqcPG_pagerSizeLabel",
|
|
6747
|
+
"pagerTotal": "_0xqcPG_pagerTotal",
|
|
6748
|
+
"pagerPosition": "_0xqcPG_pagerPosition",
|
|
6750
6749
|
"pagerSize": "_0xqcPG_pagerSize",
|
|
6751
|
-
"
|
|
6752
|
-
"
|
|
6750
|
+
"tabs": "_0xqcPG_tabs",
|
|
6751
|
+
"audit": "_0xqcPG_audit",
|
|
6752
|
+
"pathCell": "_0xqcPG_pathCell",
|
|
6753
|
+
"pager": "_0xqcPG_pager"
|
|
6753
6754
|
};
|
|
6754
6755
|
//#endregion
|
|
6755
6756
|
//#region src/client/KnowledgeAudit.tsx
|
|
@@ -7496,30 +7497,30 @@ window.__ModuleLoader__.load({
|
|
|
7496
7497
|
document.head.appendChild(tag);
|
|
7497
7498
|
}
|
|
7498
7499
|
var KnowledgeListing_module_css_default = {
|
|
7499
|
-
"
|
|
7500
|
+
"entryPin": "_95AMVa_entryPin",
|
|
7500
7501
|
"cards": "_95AMVa_cards",
|
|
7501
|
-
"
|
|
7502
|
+
"cardTime": "_95AMVa_cardTime",
|
|
7503
|
+
"emptyAction": "_95AMVa_emptyAction",
|
|
7504
|
+
"card": "_95AMVa_card",
|
|
7502
7505
|
"entryFavorite": "_95AMVa_entryFavorite",
|
|
7503
|
-
"
|
|
7504
|
-
"
|
|
7505
|
-
"kb-row-in": "_95AMVa_kb-row-in",
|
|
7506
|
+
"cardName": "_95AMVa_cardName",
|
|
7507
|
+
"entry": "_95AMVa_entry",
|
|
7506
7508
|
"cardMeta": "_95AMVa_cardMeta",
|
|
7507
|
-
"
|
|
7508
|
-
"cardDir": "_95AMVa_cardDir",
|
|
7509
|
-
"cardGlyph": "_95AMVa_cardGlyph",
|
|
7509
|
+
"kb-row-in": "_95AMVa_kb-row-in",
|
|
7510
7510
|
"entryCheck": "_95AMVa_entryCheck",
|
|
7511
|
+
"cardGlyph": "_95AMVa_cardGlyph",
|
|
7511
7512
|
"emptyTitle": "_95AMVa_emptyTitle",
|
|
7512
|
-
"
|
|
7513
|
-
"
|
|
7514
|
-
"card": "_95AMVa_card",
|
|
7515
|
-
"entry": "_95AMVa_entry",
|
|
7516
|
-
"entryTime": "_95AMVa_entryTime",
|
|
7517
|
-
"emptyAction": "_95AMVa_emptyAction",
|
|
7513
|
+
"cardItem": "_95AMVa_cardItem",
|
|
7514
|
+
"pinDropZone": "_95AMVa_pinDropZone",
|
|
7518
7515
|
"entryGlyph": "_95AMVa_entryGlyph",
|
|
7516
|
+
"entries": "_95AMVa_entries",
|
|
7519
7517
|
"entryName": "_95AMVa_entryName",
|
|
7520
|
-
"
|
|
7521
|
-
"
|
|
7522
|
-
"
|
|
7518
|
+
"entryChildren": "_95AMVa_entryChildren",
|
|
7519
|
+
"entryDir": "_95AMVa_entryDir",
|
|
7520
|
+
"entryTime": "_95AMVa_entryTime",
|
|
7521
|
+
"entryRef": "_95AMVa_entryRef",
|
|
7522
|
+
"cardDir": "_95AMVa_cardDir",
|
|
7523
|
+
"empty": "_95AMVa_empty",
|
|
7523
7524
|
"emptyGlyph": "_95AMVa_emptyGlyph"
|
|
7524
7525
|
};
|
|
7525
7526
|
//#endregion
|
|
@@ -8118,24 +8119,6 @@ window.__ModuleLoader__.load({
|
|
|
8118
8119
|
* @module @sparkelf/dsh-knowledge-base/client
|
|
8119
8120
|
*/
|
|
8120
8121
|
/**
|
|
8121
|
-
* Whether the strip may fold now.
|
|
8122
|
-
*
|
|
8123
|
-
* Folded means "one summary line instead of a list". It folds when every task in both
|
|
8124
|
-
* groups reached a terminal state AND the batch has not been folded before -- the
|
|
8125
|
-
* second half is what stops it re-folding after a reader expanded a finished batch to
|
|
8126
|
-
* read which file failed.
|
|
8127
|
-
* @param uploads - the current batch's rows.
|
|
8128
|
-
* @param extractions - the extraction tasks the Host reports.
|
|
8129
|
-
* @param alreadyFolded - whether a fold already happened for this batch.
|
|
8130
|
-
* @returns Whether to fold.
|
|
8131
|
-
*/
|
|
8132
|
-
function shouldFoldStrip(uploads, extractions, alreadyFolded) {
|
|
8133
|
-
if (alreadyFolded) return false;
|
|
8134
|
-
const uploadSettled = uploads.length === 0 || uploads.every((task) => task.state === "done" || task.state === "failed");
|
|
8135
|
-
const extractSettled = extractions.length === 0 || extractions.every((task) => task.state === "succeeded" || task.state === "failed" || task.state === "unsupported");
|
|
8136
|
-
return uploadSettled && extractSettled;
|
|
8137
|
-
}
|
|
8138
|
-
/**
|
|
8139
8122
|
* Whether a retry button would help for this state.
|
|
8140
8123
|
*
|
|
8141
8124
|
* Only a failure is worth retrying. `unsupported` means no extractor exists for the
|
|
@@ -8168,9 +8151,28 @@ window.__ModuleLoader__.load({
|
|
|
8168
8151
|
if (status >= 500) return "the server failed while writing the file (HTTP " + String(status) + ")";
|
|
8169
8152
|
return "the upload was refused (HTTP " + String(status) + ")";
|
|
8170
8153
|
}
|
|
8154
|
+
/** The share of the panel's height the strip may take, leaving the tree the rest. */
|
|
8155
|
+
const PROGRESS_MAX_SHARE = .6;
|
|
8156
|
+
/**
|
|
8157
|
+
* Clamp a dragged height into the strip's legal range.
|
|
8158
|
+
*
|
|
8159
|
+
* The upper bound is a share of the PANEL, not a constant: the strip must never grow
|
|
8160
|
+
* until the file tree is unreachable, and how much room that is depends on how tall the
|
|
8161
|
+
* panel currently is. A 600px panel and a 1200px panel therefore allow different
|
|
8162
|
+
* maximums, which is what keeps the tree visible on both.
|
|
8163
|
+
* @param desired - the height the pointer asked for.
|
|
8164
|
+
* @param panelHeight - the panel's own height, when known.
|
|
8165
|
+
* @returns The height to use.
|
|
8166
|
+
*/
|
|
8167
|
+
function clampProgressHeight(desired, panelHeight) {
|
|
8168
|
+
const shareMax = panelHeight === void 0 || panelHeight <= 0 ? 360 : Math.floor(panelHeight * PROGRESS_MAX_SHARE);
|
|
8169
|
+
const max = Math.max(44, shareMax);
|
|
8170
|
+
if (!Number.isFinite(desired)) return 180;
|
|
8171
|
+
return Math.min(max, Math.max(44, Math.round(desired)));
|
|
8172
|
+
}
|
|
8171
8173
|
//#endregion
|
|
8172
8174
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeProgressPanel.module.css.mjs
|
|
8173
|
-
const css$5 = ".c3asiG_strip{border-top:.5px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);flex-direction:column;flex:none;display:flex}.
|
|
8175
|
+
const css$5 = ".c3asiG_strip{border-top:.5px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);flex-direction:column;flex:none;min-height:0;display:flex}.c3asiG_handle{cursor:ns-resize;background:linear-gradient(to bottom, transparent 0, transparent 2px, var(--dsw-alias-border-l2) 2px, var(--dsw-alias-border-l2) 3px, transparent 3px, transparent 100%);flex:none;height:6px;margin-top:-.5px}.c3asiG_handle:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-2px}.c3asiG_head{flex:none;align-items:center;gap:8px;padding:2px 8px 4px;display:flex}.c3asiG_summary{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);overflow:hidden}.c3asiG_body{overscroll-behavior:contain;flex-direction:column;flex:auto;gap:6px;min-height:0;padding:0 8px 6px;display:flex;overflow-y:auto}.c3asiG_group{flex-direction:column;gap:2px;display:flex}.c3asiG_groupTitle{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-strong-11);font-variant-numeric:tabular-nums}.c3asiG_list{flex-direction:column;gap:1px;margin:0;padding:0;list-style:none;display:flex}.c3asiG_row{align-items:center;gap:6px;min-width:0;display:flex}.c3asiG_name{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxxs-11);flex:auto;overflow:hidden}.c3asiG_dir{text-overflow:ellipsis;white-space:nowrap;max-width:30%;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);flex:0 auto;overflow:hidden}.c3asiG_state{text-overflow:ellipsis;white-space:nowrap;max-width:42%;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);font-variant-numeric:tabular-nums;flex:0 auto;overflow:hidden}.c3asiG_bar{background:var(--dsw-alias-bg-layer-3);border-radius:999px;flex:0 0 40px;height:3px;overflow:hidden}.c3asiG_barFill{border-radius:inherit;background:var(--dsw-alias-brand-primary);height:100%;transition:width .2s;display:block}";
|
|
8174
8176
|
const tagId$5 = "@sparkelf/dsh-knowledge-base/KnowledgeProgressPanel.module.css";
|
|
8175
8177
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$5) + "]") === null) {
|
|
8176
8178
|
const tag = document.createElement("style");
|
|
@@ -8180,19 +8182,20 @@ window.__ModuleLoader__.load({
|
|
|
8180
8182
|
document.head.appendChild(tag);
|
|
8181
8183
|
}
|
|
8182
8184
|
var KnowledgeProgressPanel_module_css_default = {
|
|
8183
|
-
"
|
|
8185
|
+
"list": "c3asiG_list",
|
|
8184
8186
|
"summary": "c3asiG_summary",
|
|
8187
|
+
"dir": "c3asiG_dir",
|
|
8188
|
+
"bar": "c3asiG_bar",
|
|
8189
|
+
"head": "c3asiG_head",
|
|
8185
8190
|
"row": "c3asiG_row",
|
|
8191
|
+
"barFill": "c3asiG_barFill",
|
|
8186
8192
|
"name": "c3asiG_name",
|
|
8187
8193
|
"state": "c3asiG_state",
|
|
8194
|
+
"handle": "c3asiG_handle",
|
|
8188
8195
|
"group": "c3asiG_group",
|
|
8189
|
-
"groupTitle": "c3asiG_groupTitle",
|
|
8190
|
-
"bar": "c3asiG_bar",
|
|
8191
|
-
"strip": "c3asiG_strip",
|
|
8192
|
-
"list": "c3asiG_list",
|
|
8193
8196
|
"body": "c3asiG_body",
|
|
8194
|
-
"
|
|
8195
|
-
"
|
|
8197
|
+
"groupTitle": "c3asiG_groupTitle",
|
|
8198
|
+
"strip": "c3asiG_strip"
|
|
8196
8199
|
};
|
|
8197
8200
|
//#endregion
|
|
8198
8201
|
//#region src/client/KnowledgeProgressPanel.tsx
|
|
@@ -8255,12 +8258,51 @@ window.__ModuleLoader__.load({
|
|
|
8255
8258
|
function KnowledgeProgressPanel(props) {
|
|
8256
8259
|
const t = props.t;
|
|
8257
8260
|
const [extractions, setExtractions] = (0, react.useState)([]);
|
|
8258
|
-
const [fold, setFold] = (0, react.useState)("open");
|
|
8259
8261
|
/** The task being retried, so only its own row shows the pending state. */
|
|
8260
8262
|
const [retrying, setRetrying] = (0, react.useState)(void 0);
|
|
8261
8263
|
const [retryError, setRetryError] = (0, react.useState)(void 0);
|
|
8262
|
-
/**
|
|
8263
|
-
|
|
8264
|
+
/**
|
|
8265
|
+
* The strip's height, driven by the drag handle.
|
|
8266
|
+
*
|
|
8267
|
+
* Fixed rather than content-sized: a long batch must scroll inside the strip instead
|
|
8268
|
+
* of pushing the file tree off the panel. The drag writes this value through
|
|
8269
|
+
* `clampProgressHeight`, which is what keeps the tree reachable at the top end.
|
|
8270
|
+
*/
|
|
8271
|
+
const [height, setHeight] = (0, react.useState)(180);
|
|
8272
|
+
/** The strip's own element, so a drag can measure the panel it lives in. */
|
|
8273
|
+
const stripRef = (0, react.useRef)(null);
|
|
8274
|
+
/**
|
|
8275
|
+
* Begin a height drag.
|
|
8276
|
+
*
|
|
8277
|
+
* The move/up listeners go on `window`, not on the handle: a pointer drag leaves the
|
|
8278
|
+
* 6px handle immediately, and listeners bound to it would stop firing the moment it did.
|
|
8279
|
+
* `pointerup` removes both, so a drag cannot leak a listener that keeps resizing.
|
|
8280
|
+
* @param event - the pointerdown on the handle.
|
|
8281
|
+
*/
|
|
8282
|
+
const startResize = (0, react.useCallback)((event) => {
|
|
8283
|
+
event.preventDefault();
|
|
8284
|
+
const startY = event.clientY;
|
|
8285
|
+
const startHeight = height;
|
|
8286
|
+
const panelHeight = stripRef.current?.parentElement?.clientHeight;
|
|
8287
|
+
const onMove = (moveEvent) => {
|
|
8288
|
+
const next = startHeight + (startY - moveEvent.clientY);
|
|
8289
|
+
setHeight(clampProgressHeight(next, panelHeight));
|
|
8290
|
+
};
|
|
8291
|
+
const onUp = () => {
|
|
8292
|
+
window.removeEventListener("pointermove", onMove);
|
|
8293
|
+
window.removeEventListener("pointerup", onUp);
|
|
8294
|
+
};
|
|
8295
|
+
window.addEventListener("pointermove", onMove);
|
|
8296
|
+
window.addEventListener("pointerup", onUp);
|
|
8297
|
+
}, [height]);
|
|
8298
|
+
/** Keyboard equivalent, so the handle is usable without a pointer. */
|
|
8299
|
+
const onResizeKeyDown = (0, react.useCallback)((event) => {
|
|
8300
|
+
if (event.key !== "ArrowUp" && event.key !== "ArrowDown") return;
|
|
8301
|
+
event.preventDefault();
|
|
8302
|
+
const panelHeight = stripRef.current?.parentElement?.clientHeight;
|
|
8303
|
+
const delta = event.key === "ArrowUp" ? 16 : -16;
|
|
8304
|
+
setHeight(clampProgressHeight(height + delta, panelHeight));
|
|
8305
|
+
}, [height]);
|
|
8264
8306
|
const readExtractions = (0, react.useCallback)(async () => {
|
|
8265
8307
|
const response = await fetch(kbApiPath(KB_API.extractStatus), {
|
|
8266
8308
|
method: "POST",
|
|
@@ -8315,22 +8357,6 @@ window.__ModuleLoader__.load({
|
|
|
8315
8357
|
settledAll: extractions.length > 0 && active === 0
|
|
8316
8358
|
};
|
|
8317
8359
|
}, [extractions]);
|
|
8318
|
-
(0, react.useEffect)(() => {
|
|
8319
|
-
const everythingSettled = (props.uploads.length === 0 || upload.settledAll) && (extractions.length === 0 || extraction.settledAll);
|
|
8320
|
-
if (shouldFoldStrip(props.uploads, extractions, settled.current)) {
|
|
8321
|
-
settled.current = true;
|
|
8322
|
-
setFold("folded");
|
|
8323
|
-
}
|
|
8324
|
-
if (!everythingSettled) {
|
|
8325
|
-
settled.current = false;
|
|
8326
|
-
setFold("open");
|
|
8327
|
-
}
|
|
8328
|
-
}, [
|
|
8329
|
-
props.uploads.length,
|
|
8330
|
-
upload.settledAll,
|
|
8331
|
-
extractions.length,
|
|
8332
|
-
extraction.settledAll
|
|
8333
|
-
]);
|
|
8334
8360
|
/** Ask the Host to run this extraction again. */
|
|
8335
8361
|
const retry = (0, react.useCallback)(async (relPath) => {
|
|
8336
8362
|
setRetrying(relPath);
|
|
@@ -8369,118 +8395,174 @@ window.__ModuleLoader__.load({
|
|
|
8369
8395
|
return parts.join(" · ");
|
|
8370
8396
|
};
|
|
8371
8397
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
8398
|
+
ref: stripRef,
|
|
8372
8399
|
className: KnowledgeProgressPanel_module_css_default.strip,
|
|
8400
|
+
style: { height: String(height) + "px" },
|
|
8373
8401
|
"aria-label": t("progressTitle"),
|
|
8374
|
-
children: [
|
|
8375
|
-
|
|
8376
|
-
|
|
8377
|
-
|
|
8378
|
-
|
|
8379
|
-
|
|
8380
|
-
|
|
8381
|
-
|
|
8382
|
-
|
|
8383
|
-
|
|
8384
|
-
|
|
8385
|
-
|
|
8386
|
-
})
|
|
8387
|
-
|
|
8388
|
-
|
|
8389
|
-
|
|
8390
|
-
|
|
8391
|
-
|
|
8392
|
-
|
|
8393
|
-
|
|
8394
|
-
|
|
8395
|
-
|
|
8396
|
-
|
|
8397
|
-
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
8401
|
-
className: KnowledgeProgressPanel_module_css_default.list,
|
|
8402
|
-
children: props.uploads.map((task) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
8403
|
-
className: KnowledgeProgressPanel_module_css_default.row,
|
|
8402
|
+
children: [
|
|
8403
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
8404
|
+
className: KnowledgeProgressPanel_module_css_default.handle,
|
|
8405
|
+
role: "separator",
|
|
8406
|
+
"aria-orientation": "horizontal",
|
|
8407
|
+
"aria-label": t("progressResize"),
|
|
8408
|
+
"aria-valuenow": height,
|
|
8409
|
+
"aria-valuemin": 44,
|
|
8410
|
+
"aria-valuemax": clampProgressHeight(Number.MAX_SAFE_INTEGER, stripRef.current?.parentElement?.clientHeight ?? void 0),
|
|
8411
|
+
tabIndex: 0,
|
|
8412
|
+
onPointerDown: startResize,
|
|
8413
|
+
onKeyDown: onResizeKeyDown
|
|
8414
|
+
}),
|
|
8415
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("header", {
|
|
8416
|
+
className: KnowledgeProgressPanel_module_css_default.head,
|
|
8417
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
8418
|
+
className: KnowledgeProgressPanel_module_css_default.summary,
|
|
8419
|
+
children: summary()
|
|
8420
|
+
})
|
|
8421
|
+
}),
|
|
8422
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
8423
|
+
className: KnowledgeProgressPanel_module_css_default.body,
|
|
8424
|
+
children: [props.uploads.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
8425
|
+
className: KnowledgeProgressPanel_module_css_default.group,
|
|
8426
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
8427
|
+
className: KnowledgeProgressPanel_module_css_default.groupTitle,
|
|
8404
8428
|
children: [
|
|
8405
|
-
|
|
8406
|
-
|
|
8407
|
-
|
|
8408
|
-
|
|
8409
|
-
|
|
8410
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
8411
|
-
className: KnowledgeProgressPanel_module_css_default.dir,
|
|
8412
|
-
children: task.dir === "" ? t("progressRoot") : task.dir
|
|
8413
|
-
}),
|
|
8414
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
8415
|
-
className: KnowledgeProgressPanel_module_css_default.state,
|
|
8416
|
-
children: [
|
|
8417
|
-
task.state === "waiting" && t("dropUploading"),
|
|
8418
|
-
task.state === "uploading" && t("dropUploading"),
|
|
8419
|
-
task.state === "done" && t("progressSucceeded"),
|
|
8420
|
-
task.state === "failed" && t("progressFailed").replace("{reason}", task.reason ?? "")
|
|
8421
|
-
]
|
|
8422
|
-
}),
|
|
8423
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
8424
|
-
className: KnowledgeProgressPanel_module_css_default.bar,
|
|
8425
|
-
"aria-hidden": "true",
|
|
8426
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
8427
|
-
className: KnowledgeProgressPanel_module_css_default.barFill,
|
|
8428
|
-
style: { width: task.state === "done" ? "100%" : task.state === "failed" ? "100%" : task.state === "uploading" ? "50%" : "0%" }
|
|
8429
|
-
})
|
|
8430
|
-
})
|
|
8429
|
+
t("progressUploadGroup"),
|
|
8430
|
+
" ",
|
|
8431
|
+
upload.done,
|
|
8432
|
+
"/",
|
|
8433
|
+
props.uploads.length
|
|
8431
8434
|
]
|
|
8432
|
-
},
|
|
8433
|
-
|
|
8434
|
-
|
|
8435
|
-
className: KnowledgeProgressPanel_module_css_default.group,
|
|
8436
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
8437
|
-
className: KnowledgeProgressPanel_module_css_default.groupTitle,
|
|
8438
|
-
children: [
|
|
8439
|
-
t("progressExtractGroup"),
|
|
8440
|
-
" ",
|
|
8441
|
-
extraction.done,
|
|
8442
|
-
"/",
|
|
8443
|
-
extractions.length
|
|
8444
|
-
]
|
|
8445
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
8446
|
-
className: KnowledgeProgressPanel_module_css_default.list,
|
|
8447
|
-
children: extractions.map((task) => {
|
|
8448
|
-
const described = describeExtraction(task, t);
|
|
8449
|
-
const failure = retryError?.relPath === task.relPath ? retryError.reason : void 0;
|
|
8450
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
8435
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
8436
|
+
className: KnowledgeProgressPanel_module_css_default.list,
|
|
8437
|
+
children: props.uploads.map((task) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
8451
8438
|
className: KnowledgeProgressPanel_module_css_default.row,
|
|
8452
8439
|
children: [
|
|
8453
8440
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
8454
8441
|
className: KnowledgeProgressPanel_module_css_default.name,
|
|
8455
|
-
title: task.
|
|
8456
|
-
children: task.
|
|
8442
|
+
title: task.name,
|
|
8443
|
+
children: task.name
|
|
8457
8444
|
}),
|
|
8458
8445
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
8459
8446
|
className: KnowledgeProgressPanel_module_css_default.dir,
|
|
8460
|
-
children: task.
|
|
8447
|
+
children: task.dir === "" ? t("progressRoot") : task.dir
|
|
8461
8448
|
}),
|
|
8462
8449
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
8463
8450
|
className: KnowledgeProgressPanel_module_css_default.state,
|
|
8464
|
-
children: [
|
|
8451
|
+
children: [
|
|
8452
|
+
task.state === "waiting" && t("dropUploading"),
|
|
8453
|
+
task.state === "uploading" && t("dropUploading"),
|
|
8454
|
+
task.state === "done" && t("progressSucceeded"),
|
|
8455
|
+
task.state === "failed" && t("progressFailed").replace("{reason}", task.reason ?? "")
|
|
8456
|
+
]
|
|
8465
8457
|
}),
|
|
8466
|
-
|
|
8467
|
-
|
|
8468
|
-
|
|
8469
|
-
|
|
8470
|
-
|
|
8471
|
-
|
|
8472
|
-
}
|
|
8473
|
-
children: t("progressRetry")
|
|
8458
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
8459
|
+
className: KnowledgeProgressPanel_module_css_default.bar,
|
|
8460
|
+
"aria-hidden": "true",
|
|
8461
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
8462
|
+
className: KnowledgeProgressPanel_module_css_default.barFill,
|
|
8463
|
+
style: { width: task.state === "done" ? "100%" : task.state === "failed" ? "100%" : task.state === "uploading" ? "50%" : "0%" }
|
|
8464
|
+
})
|
|
8474
8465
|
})
|
|
8475
8466
|
]
|
|
8476
|
-
}, task.
|
|
8477
|
-
})
|
|
8467
|
+
}, task.name))
|
|
8468
|
+
})]
|
|
8469
|
+
}), extractions.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
8470
|
+
className: KnowledgeProgressPanel_module_css_default.group,
|
|
8471
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
8472
|
+
className: KnowledgeProgressPanel_module_css_default.groupTitle,
|
|
8473
|
+
children: [
|
|
8474
|
+
t("progressExtractGroup"),
|
|
8475
|
+
" ",
|
|
8476
|
+
extraction.done,
|
|
8477
|
+
"/",
|
|
8478
|
+
extractions.length
|
|
8479
|
+
]
|
|
8480
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
8481
|
+
className: KnowledgeProgressPanel_module_css_default.list,
|
|
8482
|
+
children: extractions.map((task) => {
|
|
8483
|
+
const described = describeExtraction(task, t);
|
|
8484
|
+
const failure = retryError?.relPath === task.relPath ? retryError.reason : void 0;
|
|
8485
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
8486
|
+
className: KnowledgeProgressPanel_module_css_default.row,
|
|
8487
|
+
children: [
|
|
8488
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
8489
|
+
className: KnowledgeProgressPanel_module_css_default.name,
|
|
8490
|
+
title: task.relPath,
|
|
8491
|
+
children: task.relPath.slice(task.relPath.lastIndexOf("/") + 1)
|
|
8492
|
+
}),
|
|
8493
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
8494
|
+
className: KnowledgeProgressPanel_module_css_default.dir,
|
|
8495
|
+
children: task.markdown === void 0 ? "" : task.markdown
|
|
8496
|
+
}),
|
|
8497
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
8498
|
+
className: KnowledgeProgressPanel_module_css_default.state,
|
|
8499
|
+
children: [retrying === task.relPath ? t("progressRetrying") : described.text, failure !== void 0 && " — " + t("progressRetryFailed").replace("{reason}", failure)]
|
|
8500
|
+
}),
|
|
8501
|
+
described.canRetry && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
8502
|
+
variant: "ghost",
|
|
8503
|
+
size: "sm",
|
|
8504
|
+
disabled: retrying !== void 0,
|
|
8505
|
+
onClick: () => {
|
|
8506
|
+
retry(task.relPath);
|
|
8507
|
+
},
|
|
8508
|
+
children: t("progressRetry")
|
|
8509
|
+
})
|
|
8510
|
+
]
|
|
8511
|
+
}, task.relPath);
|
|
8512
|
+
})
|
|
8513
|
+
})]
|
|
8478
8514
|
})]
|
|
8479
|
-
})
|
|
8480
|
-
|
|
8515
|
+
})
|
|
8516
|
+
]
|
|
8481
8517
|
});
|
|
8482
8518
|
}
|
|
8483
8519
|
//#endregion
|
|
8520
|
+
//#region src/client/dropTargetPath.ts
|
|
8521
|
+
/**
|
|
8522
|
+
* Where a dropped file actually lands.
|
|
8523
|
+
*
|
|
8524
|
+
* The tree shows a reader a `personal` folder, but the authoritative tree stores every
|
|
8525
|
+
* caller's documents under their own id (`personal/<owner>/<file>`) -- the owner segment
|
|
8526
|
+
* is hidden from the view on purpose, because it is an implementation detail a reader
|
|
8527
|
+
* never typed. The consequence is that a tree row labelled 「个人」 carries the path
|
|
8528
|
+
* `personal`, and writing straight to it puts the file in `personal/` beside the owner
|
|
8529
|
+
* directories, where no view will ever show it: the reader uploads, the progress row says
|
|
8530
|
+
* "done", and the file is invisible.
|
|
8531
|
+
*
|
|
8532
|
+
* This module owns that translation so every drop entry point (the borrowed explorer, the
|
|
8533
|
+
* plugin's own listing, the Home table) answers the same question the same way.
|
|
8534
|
+
*
|
|
8535
|
+
* @module @sparkelf/dsh-knowledge-base/client
|
|
8536
|
+
*/
|
|
8537
|
+
/** The bucket whose second segment is the caller's own id, hidden from the view. */
|
|
8538
|
+
const PERSONAL = "personal";
|
|
8539
|
+
/**
|
|
8540
|
+
* Resolve a view-relative directory into the authoritative path a write must use.
|
|
8541
|
+
*
|
|
8542
|
+
* A `personal` path gains the caller's id as its second segment, at whatever depth the
|
|
8543
|
+
* drop names: the bucket row (`personal`), a folder inside it (`personal/specs`), or one
|
|
8544
|
+
* nested deeper all resolve to the caller's own subtree. Everything else (`global`,
|
|
8545
|
+
* `department/...`, `''` for the mount root) is already authoritative and passes through.
|
|
8546
|
+
*
|
|
8547
|
+
* A `personal` path with no caller id is REFUSED rather than passed through. Writing to
|
|
8548
|
+
* `personal` without an owner is exactly the defect this function exists to prevent, so
|
|
8549
|
+
* the refusal is explicit: `undefined` means "no safe destination", and the caller reports
|
|
8550
|
+
* it instead of writing somewhere the reader cannot see.
|
|
8551
|
+
* @param viewRelDir - the directory as the VIEW names it (what a tree row carries).
|
|
8552
|
+
* @param callerId - the id the Host reports for the caller, when it is known.
|
|
8553
|
+
* @returns The authoritative relative directory, or undefined when it cannot be resolved.
|
|
8554
|
+
*/
|
|
8555
|
+
function resolveUploadDir(viewRelDir, callerId) {
|
|
8556
|
+
const normalized = viewRelDir.trim().replace(/\\/gu, "/").replace(/^\/+/u, "").replace(/\/+$/u, "");
|
|
8557
|
+
if (normalized === "") return "";
|
|
8558
|
+
if (normalized === PERSONAL) return callerId === void 0 || callerId === "" ? void 0 : "personal/" + callerId;
|
|
8559
|
+
if (normalized.startsWith("personal/")) {
|
|
8560
|
+
if (callerId === void 0 || callerId === "") return void 0;
|
|
8561
|
+
return "personal/" + callerId + "/" + normalized.slice(9);
|
|
8562
|
+
}
|
|
8563
|
+
return normalized;
|
|
8564
|
+
}
|
|
8565
|
+
//#endregion
|
|
8484
8566
|
//#region src/client/KnowledgeSectionHeader.tsx
|
|
8485
8567
|
/**
|
|
8486
8568
|
* Render one section band.
|
|
@@ -11456,27 +11538,27 @@ window.__ModuleLoader__.load({
|
|
|
11456
11538
|
}
|
|
11457
11539
|
var kit_module_css_default = {
|
|
11458
11540
|
"notice": "_4dMUnq_notice",
|
|
11459
|
-
"
|
|
11460
|
-
"iconButtonSm": "_4dMUnq_iconButtonSm",
|
|
11461
|
-
"chip": "_4dMUnq_chip",
|
|
11462
|
-
"noticeHint": "_4dMUnq_noticeHint",
|
|
11463
|
-
"confirmDesc": "_4dMUnq_confirmDesc",
|
|
11464
|
-
"chipActive": "_4dMUnq_chipActive",
|
|
11465
|
-
"sectionHeader": "_4dMUnq_sectionHeader",
|
|
11541
|
+
"iconButton": "_4dMUnq_iconButton",
|
|
11466
11542
|
"sectionCount": "_4dMUnq_sectionCount",
|
|
11467
|
-
"
|
|
11543
|
+
"sectionLabel": "_4dMUnq_sectionLabel",
|
|
11544
|
+
"sectionAction": "_4dMUnq_sectionAction",
|
|
11468
11545
|
"chipLabel": "_4dMUnq_chipLabel",
|
|
11469
|
-
"statusBadge": "_4dMUnq_statusBadge",
|
|
11470
|
-
"noticeWarn": "_4dMUnq_noticeWarn",
|
|
11471
11546
|
"iconButtonActive": "_4dMUnq_iconButtonActive",
|
|
11472
|
-
"iconButton": "_4dMUnq_iconButton",
|
|
11473
|
-
"sectionAction": "_4dMUnq_sectionAction",
|
|
11474
11547
|
"noticeInline": "_4dMUnq_noticeInline",
|
|
11475
|
-
"
|
|
11476
|
-
"
|
|
11548
|
+
"statusBadge": "_4dMUnq_statusBadge",
|
|
11549
|
+
"noticeError": "_4dMUnq_noticeError",
|
|
11550
|
+
"sectionHeader": "_4dMUnq_sectionHeader",
|
|
11551
|
+
"chipActive": "_4dMUnq_chipActive",
|
|
11552
|
+
"iconButtonSm": "_4dMUnq_iconButtonSm",
|
|
11477
11553
|
"noticePage": "_4dMUnq_noticePage",
|
|
11478
11554
|
"iconButtonDanger": "_4dMUnq_iconButtonDanger",
|
|
11479
|
-
"
|
|
11555
|
+
"noticeWell": "_4dMUnq_noticeWell",
|
|
11556
|
+
"chip": "_4dMUnq_chip",
|
|
11557
|
+
"iconButtonMd": "_4dMUnq_iconButtonMd",
|
|
11558
|
+
"chipCount": "_4dMUnq_chipCount",
|
|
11559
|
+
"noticeWarn": "_4dMUnq_noticeWarn",
|
|
11560
|
+
"noticeHint": "_4dMUnq_noticeHint",
|
|
11561
|
+
"confirmDesc": "_4dMUnq_confirmDesc"
|
|
11480
11562
|
};
|
|
11481
11563
|
//#endregion
|
|
11482
11564
|
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.26.0-sparkelf.3_0ed7e9606150ec7c68ce124e175ba749/node_modules/@sparkelf/dsh-better-sidebar/src/client/ui/kit.tsx
|
|
@@ -12205,230 +12287,230 @@ window.__ModuleLoader__.load({
|
|
|
12205
12287
|
document.head.appendChild(tag);
|
|
12206
12288
|
}
|
|
12207
12289
|
var sidebar_module_css_default = {
|
|
12208
|
-
"
|
|
12209
|
-
"
|
|
12210
|
-
"
|
|
12211
|
-
"
|
|
12212
|
-
"uploadOverlayStatus": "gbHnRq_uploadOverlayStatus",
|
|
12213
|
-
"editorHtml": "gbHnRq_editorHtml",
|
|
12214
|
-
"mermaidModalToolbar": "gbHnRq_mermaidModalToolbar",
|
|
12215
|
-
"nativeTabHost": "gbHnRq_nativeTabHost",
|
|
12216
|
-
"gitPlaceholder": "gbHnRq_gitPlaceholder",
|
|
12217
|
-
"openWithLabel": "gbHnRq_openWithLabel",
|
|
12218
|
-
"openWithChevron": "gbHnRq_openWithChevron",
|
|
12219
|
-
"largeFile": "gbHnRq_largeFile",
|
|
12220
|
-
"largeFileRecordNo": "gbHnRq_largeFileRecordNo",
|
|
12221
|
-
"mermaidHeader": "gbHnRq_mermaidHeader",
|
|
12222
|
-
"largeFileRecordBody": "gbHnRq_largeFileRecordBody",
|
|
12223
|
-
"explorerSelectionBar": "gbHnRq_explorerSelectionBar",
|
|
12224
|
-
"uploadDropArtPrimary": "gbHnRq_uploadDropArtPrimary",
|
|
12290
|
+
"editorTreeDock": "gbHnRq_editorTreeDock",
|
|
12291
|
+
"editorPdf": "gbHnRq_editorPdf",
|
|
12292
|
+
"mermaidCode": "gbHnRq_mermaidCode",
|
|
12293
|
+
"largeFileRecordExpanded": "gbHnRq_largeFileRecordExpanded",
|
|
12225
12294
|
"editorPdfFrameBlocked": "gbHnRq_editorPdfFrameBlocked",
|
|
12295
|
+
"dsh-row-in": "gbHnRq_dsh-row-in",
|
|
12296
|
+
"explorerSelectionActions": "gbHnRq_explorerSelectionActions",
|
|
12297
|
+
"editorGitMod": "gbHnRq_editorGitMod",
|
|
12298
|
+
"splitCol": "gbHnRq_splitCol",
|
|
12299
|
+
"browserBar": "gbHnRq_browserBar",
|
|
12300
|
+
"explorerRowRevealed": "gbHnRq_explorerRowRevealed",
|
|
12301
|
+
"uploadDropZonePill": "gbHnRq_uploadDropZonePill",
|
|
12302
|
+
"largeFilePager": "gbHnRq_largeFilePager",
|
|
12303
|
+
"browserBlockedTitle": "gbHnRq_browserBlockedTitle",
|
|
12304
|
+
"openWithName": "gbHnRq_openWithName",
|
|
12226
12305
|
"largeFileRecordRaw": "gbHnRq_largeFileRecordRaw",
|
|
12227
|
-
"
|
|
12228
|
-
"
|
|
12229
|
-
"
|
|
12230
|
-
"
|
|
12306
|
+
"chipIcon": "gbHnRq_chipIcon",
|
|
12307
|
+
"bottomPanel": "gbHnRq_bottomPanel",
|
|
12308
|
+
"editorGitBarAdd": "gbHnRq_editorGitBarAdd",
|
|
12309
|
+
"sandboxDot": "gbHnRq_sandboxDot",
|
|
12310
|
+
"bottomResizeActive": "gbHnRq_bottomResizeActive",
|
|
12311
|
+
"editorMd": "gbHnRq_editorMd",
|
|
12312
|
+
"browserBlocked": "gbHnRq_browserBlocked",
|
|
12313
|
+
"splitChild": "gbHnRq_splitChild",
|
|
12314
|
+
"editor": "gbHnRq_editor",
|
|
12315
|
+
"editorModeActive": "gbHnRq_editorModeActive",
|
|
12316
|
+
"mermaidModalStage": "gbHnRq_mermaidModalStage",
|
|
12317
|
+
"editorError": "gbHnRq_editorError",
|
|
12318
|
+
"tocItem": "gbHnRq_tocItem",
|
|
12319
|
+
"panelBody": "gbHnRq_panelBody",
|
|
12320
|
+
"explorerRowDropTarget": "gbHnRq_explorerRowDropTarget",
|
|
12321
|
+
"editorStatus": "gbHnRq_editorStatus",
|
|
12322
|
+
"largeFileRecord": "gbHnRq_largeFileRecord",
|
|
12231
12323
|
"browserBlockedDesc": "gbHnRq_browserBlockedDesc",
|
|
12232
|
-
"
|
|
12233
|
-
"
|
|
12234
|
-
"
|
|
12324
|
+
"tabActive": "gbHnRq_tabActive",
|
|
12325
|
+
"gitEmpty": "gbHnRq_gitEmpty",
|
|
12326
|
+
"dividerCol": "gbHnRq_dividerCol",
|
|
12327
|
+
"editorHtmlBlock": "gbHnRq_editorHtmlBlock",
|
|
12328
|
+
"uploadOverlayProgress": "gbHnRq_uploadOverlayProgress",
|
|
12329
|
+
"dropUp": "gbHnRq_dropUp",
|
|
12330
|
+
"browserBlockedButton": "gbHnRq_browserBlockedButton",
|
|
12331
|
+
"dropOverlay": "gbHnRq_dropOverlay",
|
|
12332
|
+
"editorPdfDragShieldActive": "gbHnRq_editorPdfDragShieldActive",
|
|
12333
|
+
"explorerDir": "gbHnRq_explorerDir",
|
|
12334
|
+
"browserInput": "gbHnRq_browserInput",
|
|
12335
|
+
"nativeTabHost": "gbHnRq_nativeTabHost",
|
|
12336
|
+
"editorPdfFrame": "gbHnRq_editorPdfFrame",
|
|
12337
|
+
"tabBadge": "gbHnRq_tabBadge",
|
|
12338
|
+
"gitDiffTabTitle": "gbHnRq_gitDiffTabTitle",
|
|
12339
|
+
"tocItemText": "gbHnRq_tocItemText",
|
|
12340
|
+
"editorBlameHead": "gbHnRq_editorBlameHead",
|
|
12341
|
+
"tocPanel": "gbHnRq_tocPanel",
|
|
12342
|
+
"explorerHeader": "gbHnRq_explorerHeader",
|
|
12343
|
+
"explorerDirChanged": "gbHnRq_explorerDirChanged",
|
|
12344
|
+
"editorTreeSearch": "gbHnRq_editorTreeSearch",
|
|
12345
|
+
"mermaidCopy": "gbHnRq_mermaidCopy",
|
|
12346
|
+
"largeFileNotice": "gbHnRq_largeFileNotice",
|
|
12347
|
+
"explorerGitName": "gbHnRq_explorerGitName",
|
|
12348
|
+
"largeFileRecords": "gbHnRq_largeFileRecords",
|
|
12349
|
+
"sandboxStatusOff": "gbHnRq_sandboxStatusOff",
|
|
12350
|
+
"uploadOverlayStatus": "gbHnRq_uploadOverlayStatus",
|
|
12351
|
+
"editorHtml": "gbHnRq_editorHtml",
|
|
12352
|
+
"sandboxStatusOn": "gbHnRq_sandboxStatusOn",
|
|
12353
|
+
"browserBlockedActions": "gbHnRq_browserBlockedActions",
|
|
12354
|
+
"mermaidInfo": "gbHnRq_mermaidInfo",
|
|
12355
|
+
"explorerSelectionText": "gbHnRq_explorerSelectionText",
|
|
12356
|
+
"editorPptxButton": "gbHnRq_editorPptxButton",
|
|
12235
12357
|
"dropRight": "gbHnRq_dropRight",
|
|
12236
|
-
"
|
|
12358
|
+
"paneTabHidden": "gbHnRq_paneTabHidden",
|
|
12359
|
+
"tocFlash": "gbHnRq_tocFlash",
|
|
12360
|
+
"tabUnreadDot": "gbHnRq_tabUnreadDot",
|
|
12361
|
+
"uploadDropArtAccent": "gbHnRq_uploadDropArtAccent",
|
|
12237
12362
|
"uploadDropZoneText": "gbHnRq_uploadDropZoneText",
|
|
12238
|
-
"
|
|
12239
|
-
"
|
|
12240
|
-
"
|
|
12241
|
-
"
|
|
12242
|
-
"
|
|
12243
|
-
"
|
|
12363
|
+
"workbench": "gbHnRq_workbench",
|
|
12364
|
+
"paneEmptyCards": "gbHnRq_paneEmptyCards",
|
|
12365
|
+
"orphanedType": "gbHnRq_orphanedType",
|
|
12366
|
+
"largeFileRecordNo": "gbHnRq_largeFileRecordNo",
|
|
12367
|
+
"explorerEmpty": "gbHnRq_explorerEmpty",
|
|
12368
|
+
"editorTreePanelFull": "gbHnRq_editorTreePanelFull",
|
|
12369
|
+
"paneContent": "gbHnRq_paneContent",
|
|
12370
|
+
"chipUnread": "gbHnRq_chipUnread",
|
|
12371
|
+
"split": "gbHnRq_split",
|
|
12372
|
+
"splitRow": "gbHnRq_splitRow",
|
|
12373
|
+
"dividerRow": "gbHnRq_dividerRow",
|
|
12374
|
+
"explorerHidden": "gbHnRq_explorerHidden",
|
|
12244
12375
|
"explorerName": "gbHnRq_explorerName",
|
|
12245
|
-
"openWithPinActive": "gbHnRq_openWithPinActive",
|
|
12246
|
-
"editorModeToggle": "gbHnRq_editorModeToggle",
|
|
12247
|
-
"tocBar": "gbHnRq_tocBar",
|
|
12248
|
-
"splitChild": "gbHnRq_splitChild",
|
|
12249
|
-
"editorMain": "gbHnRq_editorMain",
|
|
12250
|
-
"bottomClose": "gbHnRq_bottomClose",
|
|
12251
12376
|
"explorerHiddenPane": "gbHnRq_explorerHiddenPane",
|
|
12252
|
-
"
|
|
12377
|
+
"uploadDropHero": "gbHnRq_uploadDropHero",
|
|
12378
|
+
"uploadDropArtCut": "gbHnRq_uploadDropArtCut",
|
|
12253
12379
|
"editorGitBarGutter": "gbHnRq_editorGitBarGutter",
|
|
12254
|
-
"explorerDir": "gbHnRq_explorerDir",
|
|
12255
|
-
"explorerGitName": "gbHnRq_explorerGitName",
|
|
12256
|
-
"browserMessage": "gbHnRq_browserMessage",
|
|
12257
|
-
"editorStatus": "gbHnRq_editorStatus",
|
|
12258
|
-
"tocButton": "gbHnRq_tocButton",
|
|
12259
|
-
"largeFileDownload": "gbHnRq_largeFileDownload",
|
|
12260
|
-
"explorerSelectionActions": "gbHnRq_explorerSelectionActions",
|
|
12261
|
-
"largeFileRecords": "gbHnRq_largeFileRecords",
|
|
12262
|
-
"explorerAppIcon": "gbHnRq_explorerAppIcon",
|
|
12263
|
-
"browserStart": "gbHnRq_browserStart",
|
|
12264
12380
|
"explorerTime": "gbHnRq_explorerTime",
|
|
12381
|
+
"explorerRef": "gbHnRq_explorerRef",
|
|
12382
|
+
"editorSearchResultDir": "gbHnRq_editorSearchResultDir",
|
|
12383
|
+
"editorGitDel": "gbHnRq_editorGitDel",
|
|
12384
|
+
"browserFrame": "gbHnRq_browserFrame",
|
|
12385
|
+
"editorBody": "gbHnRq_editorBody",
|
|
12265
12386
|
"editorCmHidden": "gbHnRq_editorCmHidden",
|
|
12266
|
-
"
|
|
12267
|
-
"
|
|
12268
|
-
"
|
|
12269
|
-
"
|
|
12270
|
-
"
|
|
12271
|
-
"
|
|
12272
|
-
"
|
|
12273
|
-
"
|
|
12274
|
-
"
|
|
12387
|
+
"editorPdfToolbar": "gbHnRq_editorPdfToolbar",
|
|
12388
|
+
"sandboxAction": "gbHnRq_sandboxAction",
|
|
12389
|
+
"editorTreePanel": "gbHnRq_editorTreePanel",
|
|
12390
|
+
"editorGitBarMod": "gbHnRq_editorGitBarMod",
|
|
12391
|
+
"terminalRetry": "gbHnRq_terminalRetry",
|
|
12392
|
+
"browserMessage": "gbHnRq_browserMessage",
|
|
12393
|
+
"paneDrop": "gbHnRq_paneDrop",
|
|
12394
|
+
"gitDiffTabHeader": "gbHnRq_gitDiffTabHeader",
|
|
12395
|
+
"editorBlameSummary": "gbHnRq_editorBlameSummary",
|
|
12396
|
+
"uploadOverlayTitle": "gbHnRq_uploadOverlayTitle",
|
|
12397
|
+
"gitPlaceholder": "gbHnRq_gitPlaceholder",
|
|
12398
|
+
"uploadDropChatCard": "gbHnRq_uploadDropChatCard",
|
|
12275
12399
|
"sandboxStatusText": "gbHnRq_sandboxStatusText",
|
|
12276
|
-
"
|
|
12400
|
+
"editorHeader": "gbHnRq_editorHeader",
|
|
12401
|
+
"editorDocxZoomRange": "gbHnRq_editorDocxZoomRange",
|
|
12402
|
+
"editorSearchHint": "gbHnRq_editorSearchHint",
|
|
12403
|
+
"editorSearchResultLabel": "gbHnRq_editorSearchResultLabel",
|
|
12404
|
+
"editorSearchInput": "gbHnRq_editorSearchInput",
|
|
12405
|
+
"uploadDropArtPrimary": "gbHnRq_uploadDropArtPrimary",
|
|
12406
|
+
"tabBarDrop": "gbHnRq_tabBarDrop",
|
|
12407
|
+
"dirtyDot": "gbHnRq_dirtyDot",
|
|
12277
12408
|
"editorPlaceholder": "gbHnRq_editorPlaceholder",
|
|
12409
|
+
"editorPdfDragShield": "gbHnRq_editorPdfDragShield",
|
|
12410
|
+
"editorTitle": "gbHnRq_editorTitle",
|
|
12411
|
+
"dividerActive": "gbHnRq_dividerActive",
|
|
12412
|
+
"tocButton": "gbHnRq_tocButton",
|
|
12413
|
+
"dockFallback": "gbHnRq_dockFallback",
|
|
12414
|
+
"dsh-toc-flash": "gbHnRq_dsh-toc-flash",
|
|
12415
|
+
"largeFileRecordTree": "gbHnRq_largeFileRecordTree",
|
|
12416
|
+
"largeFileLine": "gbHnRq_largeFileLine",
|
|
12417
|
+
"mermaidModalToolbar": "gbHnRq_mermaidModalToolbar",
|
|
12418
|
+
"boundaryError": "gbHnRq_boundaryError",
|
|
12419
|
+
"dropLeft": "gbHnRq_dropLeft",
|
|
12420
|
+
"tabList": "gbHnRq_tabList",
|
|
12421
|
+
"uploadOverlay": "gbHnRq_uploadOverlay",
|
|
12422
|
+
"mermaidMarkdown": "gbHnRq_mermaidMarkdown",
|
|
12423
|
+
"bottomPanelHidden": "gbHnRq_bottomPanelHidden",
|
|
12424
|
+
"mermaidHeader": "gbHnRq_mermaidHeader",
|
|
12425
|
+
"openWithLabel": "gbHnRq_openWithLabel",
|
|
12426
|
+
"openWithPinActive": "gbHnRq_openWithPinActive",
|
|
12427
|
+
"editorDownloadLink": "gbHnRq_editorDownloadLink",
|
|
12428
|
+
"largeFileList": "gbHnRq_largeFileList",
|
|
12429
|
+
"openWithChevron": "gbHnRq_openWithChevron",
|
|
12278
12430
|
"largeFileRecordSummary": "gbHnRq_largeFileRecordSummary",
|
|
12279
|
-
"
|
|
12431
|
+
"largeFile": "gbHnRq_largeFile",
|
|
12280
12432
|
"mermaidModalHint": "gbHnRq_mermaidModalHint",
|
|
12281
|
-
"editorPdfDragShieldActive": "gbHnRq_editorPdfDragShieldActive",
|
|
12282
|
-
"dividerCol": "gbHnRq_dividerCol",
|
|
12283
|
-
"tabBarDrop": "gbHnRq_tabBarDrop",
|
|
12284
|
-
"uploadOverlayProgress": "gbHnRq_uploadOverlayProgress",
|
|
12285
|
-
"editorBinary": "gbHnRq_editorBinary",
|
|
12286
|
-
"uploadDropMask": "gbHnRq_uploadDropMask",
|
|
12287
|
-
"sandboxStatusOff": "gbHnRq_sandboxStatusOff",
|
|
12288
12433
|
"largeFilePageLabel": "gbHnRq_largeFilePageLabel",
|
|
12289
|
-
"
|
|
12290
|
-
"editorPdfFrame": "gbHnRq_editorPdfFrame",
|
|
12291
|
-
"editorSearchResult": "gbHnRq_editorSearchResult",
|
|
12292
|
-
"largeFileRecordInvalid": "gbHnRq_largeFileRecordInvalid",
|
|
12293
|
-
"uploadDropArtAccent": "gbHnRq_uploadDropArtAccent",
|
|
12294
|
-
"sandboxStatusOn": "gbHnRq_sandboxStatusOn",
|
|
12295
|
-
"explorerBody": "gbHnRq_explorerBody",
|
|
12296
|
-
"mermaidError": "gbHnRq_mermaidError",
|
|
12297
|
-
"largeFileBody": "gbHnRq_largeFileBody",
|
|
12434
|
+
"bottomClose": "gbHnRq_bottomClose",
|
|
12298
12435
|
"explorerRenameInput": "gbHnRq_explorerRenameInput",
|
|
12299
|
-
"
|
|
12300
|
-
"
|
|
12301
|
-
"
|
|
12302
|
-
"
|
|
12303
|
-
"
|
|
12304
|
-
"
|
|
12436
|
+
"uploadDropMask": "gbHnRq_uploadDropMask",
|
|
12437
|
+
"explorerSelectionBar": "gbHnRq_explorerSelectionBar",
|
|
12438
|
+
"largeFileLineNo": "gbHnRq_largeFileLineNo",
|
|
12439
|
+
"iconButton": "gbHnRq_iconButton",
|
|
12440
|
+
"largeFileBody": "gbHnRq_largeFileBody",
|
|
12441
|
+
"editorSearchResult": "gbHnRq_editorSearchResult",
|
|
12442
|
+
"pane": "gbHnRq_pane",
|
|
12443
|
+
"openWithPin": "gbHnRq_openWithPin",
|
|
12444
|
+
"browserStart": "gbHnRq_browserStart",
|
|
12445
|
+
"editorBinary": "gbHnRq_editorBinary",
|
|
12446
|
+
"tabBarRightActions": "gbHnRq_tabBarRightActions",
|
|
12305
12447
|
"largeFileNoticeAction": "gbHnRq_largeFileNoticeAction",
|
|
12448
|
+
"explorerActionErrorText": "gbHnRq_explorerActionErrorText",
|
|
12449
|
+
"browser": "gbHnRq_browser",
|
|
12450
|
+
"tab": "gbHnRq_tab",
|
|
12451
|
+
"largeFileDownload": "gbHnRq_largeFileDownload",
|
|
12452
|
+
"explorerAppIcon": "gbHnRq_explorerAppIcon",
|
|
12453
|
+
"mermaidWrap": "gbHnRq_mermaidWrap",
|
|
12454
|
+
"explorerSymlink": "gbHnRq_explorerSymlink",
|
|
12455
|
+
"explorerBroken": "gbHnRq_explorerBroken",
|
|
12456
|
+
"explorerRow": "gbHnRq_explorerRow",
|
|
12306
12457
|
"gitDiffTab": "gbHnRq_gitDiffTab",
|
|
12458
|
+
"largeFileRecordInvalid": "gbHnRq_largeFileRecordInvalid",
|
|
12459
|
+
"uploadOverlayCancel": "gbHnRq_uploadOverlayCancel",
|
|
12460
|
+
"toggleButton": "gbHnRq_toggleButton",
|
|
12461
|
+
"editorPdfStage": "gbHnRq_editorPdfStage",
|
|
12462
|
+
"gitError": "gbHnRq_gitError",
|
|
12463
|
+
"editorCm": "gbHnRq_editorCm",
|
|
12307
12464
|
"editorGitBar": "gbHnRq_editorGitBar",
|
|
12308
|
-
"
|
|
12309
|
-
"
|
|
12310
|
-
"
|
|
12311
|
-
"
|
|
12312
|
-
"
|
|
12313
|
-
"editorTitle": "gbHnRq_editorTitle",
|
|
12314
|
-
"tab": "gbHnRq_tab",
|
|
12315
|
-
"editorTreePanel": "gbHnRq_editorTreePanel",
|
|
12316
|
-
"paneContent": "gbHnRq_paneContent",
|
|
12465
|
+
"mermaidBody": "gbHnRq_mermaidBody",
|
|
12466
|
+
"editorBinaryNotice": "gbHnRq_editorBinaryNotice",
|
|
12467
|
+
"bottomResize": "gbHnRq_bottomResize",
|
|
12468
|
+
"editorTreeResize": "gbHnRq_editorTreeResize",
|
|
12469
|
+
"editorModeToggle": "gbHnRq_editorModeToggle",
|
|
12317
12470
|
"explorerRenaming": "gbHnRq_explorerRenaming",
|
|
12318
|
-
"
|
|
12319
|
-
"
|
|
12320
|
-
"
|
|
12321
|
-
"
|
|
12322
|
-
"
|
|
12323
|
-
"
|
|
12324
|
-
"
|
|
12471
|
+
"largeFileRecordBody": "gbHnRq_largeFileRecordBody",
|
|
12472
|
+
"tabBar": "gbHnRq_tabBar",
|
|
12473
|
+
"uploadDropChatHint": "gbHnRq_uploadDropChatHint",
|
|
12474
|
+
"uploadOverlayProgressFill": "gbHnRq_uploadOverlayProgressFill",
|
|
12475
|
+
"editorStatusError": "gbHnRq_editorStatusError",
|
|
12476
|
+
"explorerBody": "gbHnRq_explorerBody",
|
|
12477
|
+
"editorMain": "gbHnRq_editorMain",
|
|
12478
|
+
"paneTab": "gbHnRq_paneTab",
|
|
12479
|
+
"tabTitle": "gbHnRq_tabTitle",
|
|
12480
|
+
"tabClose": "gbHnRq_tabClose",
|
|
12481
|
+
"tabBarPlus": "gbHnRq_tabBarPlus",
|
|
12482
|
+
"explorerRoot": "gbHnRq_explorerRoot",
|
|
12483
|
+
"explorerCopied": "gbHnRq_explorerCopied",
|
|
12484
|
+
"explorerError": "gbHnRq_explorerError",
|
|
12485
|
+
"uploadOverlayCard": "gbHnRq_uploadOverlayCard",
|
|
12486
|
+
"editorPathInput": "gbHnRq_editorPathInput",
|
|
12487
|
+
"explorerRowSelected": "gbHnRq_explorerRowSelected",
|
|
12488
|
+
"editorTreeToggleActive": "gbHnRq_editorTreeToggleActive",
|
|
12489
|
+
"editorBanner": "gbHnRq_editorBanner",
|
|
12490
|
+
"dropDown": "gbHnRq_dropDown",
|
|
12491
|
+
"uploadDropZone": "gbHnRq_uploadDropZone",
|
|
12492
|
+
"editorGitAdd": "gbHnRq_editorGitAdd",
|
|
12493
|
+
"mermaidError": "gbHnRq_mermaidError",
|
|
12325
12494
|
"tocItemLevel": "gbHnRq_tocItemLevel",
|
|
12326
|
-
"
|
|
12327
|
-
"
|
|
12328
|
-
"
|
|
12329
|
-
"
|
|
12495
|
+
"largeFileLines": "gbHnRq_largeFileLines",
|
|
12496
|
+
"largeFileLineText": "gbHnRq_largeFileLineText",
|
|
12497
|
+
"tabBoundaryError": "gbHnRq_tabBoundaryError",
|
|
12498
|
+
"paneCard": "gbHnRq_paneCard",
|
|
12499
|
+
"explorerActionError": "gbHnRq_explorerActionError",
|
|
12500
|
+
"mermaidModal": "gbHnRq_mermaidModal",
|
|
12330
12501
|
"explorer": "gbHnRq_explorer",
|
|
12331
|
-
"dsh-toc-flash": "gbHnRq_dsh-toc-flash",
|
|
12332
|
-
"largeFileRecordExpanded": "gbHnRq_largeFileRecordExpanded",
|
|
12333
|
-
"editorSearchResultDir": "gbHnRq_editorSearchResultDir",
|
|
12334
|
-
"editorBanner": "gbHnRq_editorBanner",
|
|
12335
|
-
"browser": "gbHnRq_browser",
|
|
12336
|
-
"tocFlash": "gbHnRq_tocFlash",
|
|
12337
|
-
"editorSearchHint": "gbHnRq_editorSearchHint",
|
|
12338
|
-
"uploadDropHero": "gbHnRq_uploadDropHero",
|
|
12339
|
-
"editorStatusError": "gbHnRq_editorStatusError",
|
|
12340
12502
|
"panel": "gbHnRq_panel",
|
|
12341
|
-
"
|
|
12342
|
-
"dropOverlay": "gbHnRq_dropOverlay",
|
|
12503
|
+
"editorGitBarSpacer": "gbHnRq_editorGitBarSpacer",
|
|
12343
12504
|
"divider": "gbHnRq_divider",
|
|
12344
|
-
"
|
|
12345
|
-
"
|
|
12346
|
-
"
|
|
12347
|
-
"
|
|
12348
|
-
"sandboxAction": "gbHnRq_sandboxAction",
|
|
12349
|
-
"mermaidCopy": "gbHnRq_mermaidCopy",
|
|
12350
|
-
"tabBoundaryError": "gbHnRq_tabBoundaryError",
|
|
12351
|
-
"splitRow": "gbHnRq_splitRow",
|
|
12352
|
-
"mermaidModal": "gbHnRq_mermaidModal",
|
|
12353
|
-
"gitError": "gbHnRq_gitError",
|
|
12354
|
-
"editorPptxButton": "gbHnRq_editorPptxButton",
|
|
12355
|
-
"paneDrop": "gbHnRq_paneDrop",
|
|
12356
|
-
"explorerActionErrorText": "gbHnRq_explorerActionErrorText",
|
|
12357
|
-
"editorPathInput": "gbHnRq_editorPathInput",
|
|
12358
|
-
"browserBar": "gbHnRq_browserBar",
|
|
12359
|
-
"explorerRow": "gbHnRq_explorerRow",
|
|
12505
|
+
"editorGitBarDel": "gbHnRq_editorGitBarDel",
|
|
12506
|
+
"editorBannerAction": "gbHnRq_editorBannerAction",
|
|
12507
|
+
"editorBlame": "gbHnRq_editorBlame",
|
|
12508
|
+
"sandboxStatus": "gbHnRq_sandboxStatus",
|
|
12360
12509
|
"mermaidModalButton": "gbHnRq_mermaidModalButton",
|
|
12361
|
-
"splitCol": "gbHnRq_splitCol",
|
|
12362
|
-
"editorPdfStage": "gbHnRq_editorPdfStage",
|
|
12363
|
-
"terminalRetry": "gbHnRq_terminalRetry",
|
|
12364
|
-
"explorerError": "gbHnRq_explorerError",
|
|
12365
|
-
"gitEmpty": "gbHnRq_gitEmpty",
|
|
12366
12510
|
"editorModeButton": "gbHnRq_editorModeButton",
|
|
12367
|
-
"largeFileLineText": "gbHnRq_largeFileLineText",
|
|
12368
|
-
"dividerRow": "gbHnRq_dividerRow",
|
|
12369
|
-
"editorGitMod": "gbHnRq_editorGitMod",
|
|
12370
|
-
"sandboxStatus": "gbHnRq_sandboxStatus",
|
|
12371
12511
|
"dropCenter": "gbHnRq_dropCenter",
|
|
12372
|
-
"
|
|
12373
|
-
"
|
|
12374
|
-
"tabUnreadDot": "gbHnRq_tabUnreadDot",
|
|
12375
|
-
"split": "gbHnRq_split",
|
|
12376
|
-
"editorBannerAction": "gbHnRq_editorBannerAction",
|
|
12377
|
-
"editorCm": "gbHnRq_editorCm",
|
|
12378
|
-
"uploadOverlayProgressFill": "gbHnRq_uploadOverlayProgressFill",
|
|
12379
|
-
"uploadDropZone": "gbHnRq_uploadDropZone",
|
|
12380
|
-
"largeFileList": "gbHnRq_largeFileList",
|
|
12381
|
-
"pane": "gbHnRq_pane",
|
|
12382
|
-
"editorTreePanelFull": "gbHnRq_editorTreePanelFull",
|
|
12383
|
-
"editorGitAdd": "gbHnRq_editorGitAdd",
|
|
12384
|
-
"editorMd": "gbHnRq_editorMd",
|
|
12385
|
-
"dropDown": "gbHnRq_dropDown",
|
|
12386
|
-
"explorerRowSelected": "gbHnRq_explorerRowSelected",
|
|
12387
|
-
"uploadDropChatCard": "gbHnRq_uploadDropChatCard",
|
|
12388
|
-
"uploadOverlay": "gbHnRq_uploadOverlay",
|
|
12389
|
-
"largeFileNotice": "gbHnRq_largeFileNotice",
|
|
12390
|
-
"editorDocxZoomRange": "gbHnRq_editorDocxZoomRange",
|
|
12391
|
-
"boundaryError": "gbHnRq_boundaryError",
|
|
12392
|
-
"explorerSelectionText": "gbHnRq_explorerSelectionText",
|
|
12393
|
-
"tabBadge": "gbHnRq_tabBadge",
|
|
12394
|
-
"explorerHidden": "gbHnRq_explorerHidden",
|
|
12395
|
-
"orphanedType": "gbHnRq_orphanedType",
|
|
12396
|
-
"editorModeActive": "gbHnRq_editorModeActive",
|
|
12397
|
-
"gitDiffTabTitle": "gbHnRq_gitDiffTabTitle",
|
|
12398
|
-
"dsh-row-in": "gbHnRq_dsh-row-in",
|
|
12399
|
-
"explorerRowRevealed": "gbHnRq_explorerRowRevealed",
|
|
12400
|
-
"largeFileLineNo": "gbHnRq_largeFileLineNo",
|
|
12401
|
-
"paneEmptyCards": "gbHnRq_paneEmptyCards",
|
|
12402
|
-
"editorBody": "gbHnRq_editorBody",
|
|
12403
|
-
"uploadDropArtCut": "gbHnRq_uploadDropArtCut",
|
|
12404
|
-
"tocPanel": "gbHnRq_tocPanel",
|
|
12405
|
-
"largeFileLine": "gbHnRq_largeFileLine",
|
|
12406
|
-
"editorGitBarSpacer": "gbHnRq_editorGitBarSpacer",
|
|
12407
|
-
"browserBlockedButton": "gbHnRq_browserBlockedButton",
|
|
12408
|
-
"mermaidInfo": "gbHnRq_mermaidInfo",
|
|
12409
|
-
"editorPdfToolbar": "gbHnRq_editorPdfToolbar",
|
|
12410
|
-
"openWithPin": "gbHnRq_openWithPin",
|
|
12411
|
-
"dirtyDot": "gbHnRq_dirtyDot",
|
|
12412
|
-
"tocItem": "gbHnRq_tocItem",
|
|
12413
|
-
"tocItemText": "gbHnRq_tocItemText",
|
|
12414
|
-
"sandboxDot": "gbHnRq_sandboxDot",
|
|
12415
|
-
"editorDownloadLink": "gbHnRq_editorDownloadLink",
|
|
12416
|
-
"tabBarPlus": "gbHnRq_tabBarPlus",
|
|
12417
|
-
"explorerRef": "gbHnRq_explorerRef",
|
|
12418
|
-
"editor": "gbHnRq_editor",
|
|
12419
|
-
"editorBlameHead": "gbHnRq_editorBlameHead",
|
|
12420
|
-
"editorGitBarMod": "gbHnRq_editorGitBarMod",
|
|
12421
|
-
"paneCard": "gbHnRq_paneCard",
|
|
12422
|
-
"editorBlameSummary": "gbHnRq_editorBlameSummary",
|
|
12423
|
-
"browserBlocked": "gbHnRq_browserBlocked",
|
|
12424
|
-
"iconButton": "gbHnRq_iconButton",
|
|
12425
|
-
"browserBlockedTitle": "gbHnRq_browserBlockedTitle",
|
|
12426
|
-
"uploadOverlayCard": "gbHnRq_uploadOverlayCard",
|
|
12427
|
-
"dockFallback": "gbHnRq_dockFallback",
|
|
12428
|
-
"tabBar": "gbHnRq_tabBar",
|
|
12429
|
-
"tabTitle": "gbHnRq_tabTitle",
|
|
12430
|
-
"paneTab": "gbHnRq_paneTab",
|
|
12431
|
-
"editorSearchResultLabel": "gbHnRq_editorSearchResultLabel"
|
|
12512
|
+
"selectionPopup": "gbHnRq_selectionPopup",
|
|
12513
|
+
"tocBar": "gbHnRq_tocBar"
|
|
12432
12514
|
};
|
|
12433
12515
|
//#endregion
|
|
12434
12516
|
//#region ../../node_modules/.pnpm/@sparkelf+dsh-better-sidebar@0.26.0-sparkelf.3_0ed7e9606150ec7c68ce124e175ba749/node_modules/@sparkelf/dsh-better-sidebar/src/client/FileTree.tsx
|
|
@@ -15083,6 +15165,9 @@ window.__ModuleLoader__.load({
|
|
|
15083
15165
|
"step.sshfs-mount": "Mount the share over SSHFS",
|
|
15084
15166
|
"step.sshfs-verify": "Verify the SSHFS mount",
|
|
15085
15167
|
deployLocalOnly: "Deployment steps run on a remote host. This workspace stores documents locally, so there is nothing to deploy.",
|
|
15168
|
+
dropRefusedNoCaller: "Cannot place this upload",
|
|
15169
|
+
dropRefusedNoCallerReason: "The host has not reported your account yet, so the personal folder cannot be resolved. Reload and try again.",
|
|
15170
|
+
progressResize: "Drag to resize",
|
|
15086
15171
|
shareEmpty: "Nothing has been shared yet.",
|
|
15087
15172
|
shareGroupReceived: "Inbound",
|
|
15088
15173
|
shareGroupGiven: "Outbound",
|
|
@@ -15578,6 +15663,9 @@ window.__ModuleLoader__.load({
|
|
|
15578
15663
|
"step.sshfs-mount": "通过 SSHFS 挂载共享目录",
|
|
15579
15664
|
"step.sshfs-verify": "验证 SSHFS 挂载",
|
|
15580
15665
|
deployLocalOnly: "部署步骤在远程主机上执行。本工作区把文档保存在本地,没有需要部署的内容。",
|
|
15666
|
+
dropRefusedNoCaller: "无法确定上传位置",
|
|
15667
|
+
dropRefusedNoCallerReason: "宿主还没有返回你的账号信息,无法确定个人目录。请刷新后重试。",
|
|
15668
|
+
progressResize: "拖动调整高度",
|
|
15581
15669
|
shareEmpty: "还没有任何共享内容。",
|
|
15582
15670
|
shareGroupReceived: "共享给我的",
|
|
15583
15671
|
shareGroupGiven: "我分享出去的",
|
|
@@ -16250,13 +16338,13 @@ window.__ModuleLoader__.load({
|
|
|
16250
16338
|
document.head.appendChild(tag);
|
|
16251
16339
|
}
|
|
16252
16340
|
var KnowledgeReferencePicker_module_css_default = {
|
|
16253
|
-
"
|
|
16341
|
+
"body": "uUHBaG_body",
|
|
16342
|
+
"list": "uUHBaG_list",
|
|
16343
|
+
"error": "uUHBaG_error",
|
|
16254
16344
|
"content": "uUHBaG_content",
|
|
16255
|
-
"
|
|
16345
|
+
"footer": "uUHBaG_footer",
|
|
16256
16346
|
"rowName": "uUHBaG_rowName",
|
|
16257
|
-
"
|
|
16258
|
-
"list": "uUHBaG_list",
|
|
16259
|
-
"body": "uUHBaG_body",
|
|
16347
|
+
"rowWhen": "uUHBaG_rowWhen",
|
|
16260
16348
|
"empty": "uUHBaG_empty"
|
|
16261
16349
|
};
|
|
16262
16350
|
//#endregion
|
|
@@ -16728,10 +16816,10 @@ window.__ModuleLoader__.load({
|
|
|
16728
16816
|
document.head.appendChild(tag);
|
|
16729
16817
|
}
|
|
16730
16818
|
var KnowledgeSelectionBar_module_css_default = {
|
|
16731
|
-
"actions": "y8212a_actions",
|
|
16732
16819
|
"bar": "y8212a_bar",
|
|
16733
|
-
"
|
|
16734
|
-
"action": "y8212a_action"
|
|
16820
|
+
"actions": "y8212a_actions",
|
|
16821
|
+
"action": "y8212a_action",
|
|
16822
|
+
"text": "y8212a_text"
|
|
16735
16823
|
};
|
|
16736
16824
|
//#endregion
|
|
16737
16825
|
//#region src/client/KnowledgeSelectionBar.tsx
|
|
@@ -17277,6 +17365,28 @@ window.__ModuleLoader__.load({
|
|
|
17277
17365
|
* prop and an un-upgraded backend — which reports neither array — simply omits it,
|
|
17278
17366
|
* leaving the folders to print their codes exactly as before.
|
|
17279
17367
|
*/
|
|
17368
|
+
/**
|
|
17369
|
+
* Report a drop that had no safe destination.
|
|
17370
|
+
*
|
|
17371
|
+
* Shown as a failed row in the progress strip rather than swallowed: the reader
|
|
17372
|
+
* dragged a file and is watching for it to appear, and "nothing happened" is the one
|
|
17373
|
+
* outcome that gives them nothing to act on. The reason names the missing fact.
|
|
17374
|
+
*/
|
|
17375
|
+
const reportDropRefused = (0, react.useCallback)(() => {
|
|
17376
|
+
setUploadTasks([{
|
|
17377
|
+
name: t("dropRefusedNoCaller"),
|
|
17378
|
+
dir: "",
|
|
17379
|
+
state: "failed",
|
|
17380
|
+
reason: t("dropRefusedNoCallerReason")
|
|
17381
|
+
}]);
|
|
17382
|
+
}, [t]);
|
|
17383
|
+
/**
|
|
17384
|
+
* The id the Host reports for this caller, used to place a drop in `personal`.
|
|
17385
|
+
*
|
|
17386
|
+
* The view hides the owner segment, so a tree row carries `personal`; every write has
|
|
17387
|
+
* to put the id back. Kept as one value so the three drop entry points cannot disagree.
|
|
17388
|
+
*/
|
|
17389
|
+
const callerId = state.kind === "ready" ? state.status.caller?.userId : void 0;
|
|
17280
17390
|
const callerPath = (0, react.useMemo)(() => {
|
|
17281
17391
|
const caller = state.kind === "ready" ? state.status.caller : void 0;
|
|
17282
17392
|
const codes = caller?.departmentPathCodes;
|
|
@@ -17849,7 +17959,12 @@ window.__ModuleLoader__.load({
|
|
|
17849
17959
|
});
|
|
17850
17960
|
},
|
|
17851
17961
|
onUploadRequest: (dir, items) => {
|
|
17852
|
-
|
|
17962
|
+
const target = resolveUploadDir(relativeToRoot(kbRoot, dir), callerId);
|
|
17963
|
+
if (target === void 0) {
|
|
17964
|
+
reportDropRefused();
|
|
17965
|
+
return;
|
|
17966
|
+
}
|
|
17967
|
+
uploadInto(kbRoot, target === "" ? kbRoot : joinPath(kbRoot, target), items);
|
|
17853
17968
|
},
|
|
17854
17969
|
busy: uploadBusy,
|
|
17855
17970
|
refreshTick,
|
|
@@ -17862,7 +17977,12 @@ window.__ModuleLoader__.load({
|
|
|
17862
17977
|
t,
|
|
17863
17978
|
locale: props.locale,
|
|
17864
17979
|
onUpload: (relPath, files) => {
|
|
17865
|
-
|
|
17980
|
+
const target = resolveUploadDir(relPath, callerId);
|
|
17981
|
+
if (target === void 0) {
|
|
17982
|
+
reportDropRefused();
|
|
17983
|
+
return;
|
|
17984
|
+
}
|
|
17985
|
+
uploadInto(kbRoot, target === "" ? kbRoot : joinPath(kbRoot, target), files);
|
|
17866
17986
|
},
|
|
17867
17987
|
refreshTick,
|
|
17868
17988
|
onRenamed: () => {
|
|
@@ -18050,10 +18170,7 @@ window.__ModuleLoader__.load({
|
|
|
18050
18170
|
locale: props.locale,
|
|
18051
18171
|
mountPoint: config.mountPoint,
|
|
18052
18172
|
focusNew,
|
|
18053
|
-
dropDirectory: (
|
|
18054
|
-
const me = state.kind === "ready" ? state.status.caller?.userId : void 0;
|
|
18055
|
-
return me === void 0 || me === "" ? "" : "personal/" + me;
|
|
18056
|
-
})(),
|
|
18173
|
+
dropDirectory: resolveUploadDir("personal", callerId) ?? "",
|
|
18057
18174
|
onUpload: (directory, files) => {
|
|
18058
18175
|
uploadInto(config.mountPoint, directory === "" ? config.mountPoint : joinPath(config.mountPoint, directory), files);
|
|
18059
18176
|
},
|
|
@@ -18249,7 +18366,8 @@ window.__ModuleLoader__.load({
|
|
|
18249
18366
|
"locale",
|
|
18250
18367
|
"uiSession",
|
|
18251
18368
|
"sessions",
|
|
18252
|
-
"workspaces"
|
|
18369
|
+
"workspaces",
|
|
18370
|
+
"uiWorkspace"
|
|
18253
18371
|
];
|
|
18254
18372
|
/**
|
|
18255
18373
|
* Register the knowledge-base navigation entry and Settings section.
|