@sparkelf/dsh-knowledge-base 0.5.3 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/client.js
CHANGED
|
@@ -338,32 +338,32 @@ window.__ModuleLoader__.load({
|
|
|
338
338
|
document.head.appendChild(tag);
|
|
339
339
|
}
|
|
340
340
|
var KnowledgeSettingsSection_module_css_default = {
|
|
341
|
-
"
|
|
341
|
+
"section": "c269jW_section",
|
|
342
|
+
"detail": "c269jW_detail",
|
|
343
|
+
"field": "c269jW_field",
|
|
342
344
|
"badgeWarn": "c269jW_badgeWarn",
|
|
343
|
-
"error": "c269jW_error",
|
|
344
|
-
"step": "c269jW_step",
|
|
345
|
-
"saveRow": "c269jW_saveRow",
|
|
346
|
-
"body": "c269jW_body",
|
|
347
345
|
"pair": "c269jW_pair",
|
|
346
|
+
"body": "c269jW_body",
|
|
347
|
+
"step": "c269jW_step",
|
|
348
348
|
"log": "c269jW_log",
|
|
349
|
-
"
|
|
350
|
-
"
|
|
349
|
+
"badgeOk": "c269jW_badgeOk",
|
|
350
|
+
"error": "c269jW_error",
|
|
351
|
+
"steps": "c269jW_steps",
|
|
352
|
+
"notice": "c269jW_notice",
|
|
351
353
|
"pairs": "c269jW_pairs",
|
|
352
|
-
"
|
|
353
|
-
"detail": "c269jW_detail",
|
|
354
|
-
"modeOption": "c269jW_modeOption",
|
|
355
|
-
"groupTitle": "c269jW_groupTitle",
|
|
354
|
+
"select": "c269jW_select",
|
|
356
355
|
"statusRow": "c269jW_statusRow",
|
|
357
|
-
"
|
|
358
|
-
"field": "c269jW_field",
|
|
359
|
-
"steps": "c269jW_steps",
|
|
356
|
+
"wizard": "c269jW_wizard",
|
|
360
357
|
"stepLabel": "c269jW_stepLabel",
|
|
361
|
-
"
|
|
358
|
+
"logBox": "c269jW_logBox",
|
|
362
359
|
"modeRow": "c269jW_modeRow",
|
|
360
|
+
"groupTitle": "c269jW_groupTitle",
|
|
361
|
+
"statusLabel": "c269jW_statusLabel",
|
|
362
|
+
"title": "c269jW_title",
|
|
363
363
|
"fieldLabel": "c269jW_fieldLabel",
|
|
364
|
-
"
|
|
365
|
-
"
|
|
366
|
-
"
|
|
364
|
+
"modeOption": "c269jW_modeOption",
|
|
365
|
+
"input": "c269jW_input",
|
|
366
|
+
"saveRow": "c269jW_saveRow"
|
|
367
367
|
};
|
|
368
368
|
//#endregion
|
|
369
369
|
//#region src/client/VectorSettingsGroup.tsx
|
|
@@ -1535,15 +1535,15 @@ window.__ModuleLoader__.load({
|
|
|
1535
1535
|
document.head.appendChild(tag);
|
|
1536
1536
|
}
|
|
1537
1537
|
var KnowledgeLoading_module_css_default = {
|
|
1538
|
-
"
|
|
1538
|
+
"book": "HyIQta_book",
|
|
1539
1539
|
"pagesRight": "HyIQta_pagesRight",
|
|
1540
|
-
"wrap": "HyIQta_wrap",
|
|
1541
1540
|
"coverBack": "HyIQta_coverBack",
|
|
1542
|
-
"
|
|
1543
|
-
"srOnly": "HyIQta_srOnly",
|
|
1541
|
+
"kb-page-turn": "HyIQta_kb-page-turn",
|
|
1544
1542
|
"pagesLeft": "HyIQta_pagesLeft",
|
|
1545
|
-
"
|
|
1546
|
-
"
|
|
1543
|
+
"srOnly": "HyIQta_srOnly",
|
|
1544
|
+
"leaf": "HyIQta_leaf",
|
|
1545
|
+
"wrap": "HyIQta_wrap",
|
|
1546
|
+
"label": "HyIQta_label"
|
|
1547
1547
|
};
|
|
1548
1548
|
//#endregion
|
|
1549
1549
|
//#region src/client/KnowledgeLoading.tsx
|
|
@@ -2131,46 +2131,46 @@ window.__ModuleLoader__.load({
|
|
|
2131
2131
|
document.head.appendChild(tag);
|
|
2132
2132
|
}
|
|
2133
2133
|
var KnowledgeHome_module_css_default = {
|
|
2134
|
-
"
|
|
2135
|
-
"
|
|
2136
|
-
"
|
|
2137
|
-
"
|
|
2138
|
-
"cardText": "oNvFBa_cardText",
|
|
2139
|
-
"rowLink": "oNvFBa_rowLink",
|
|
2140
|
-
"docRow": "oNvFBa_docRow",
|
|
2141
|
-
"dropZoneActive": "oNvFBa_dropZoneActive",
|
|
2142
|
-
"sharePager": "oNvFBa_sharePager",
|
|
2134
|
+
"cardBody": "oNvFBa_cardBody",
|
|
2135
|
+
"shareWrap": "oNvFBa_shareWrap",
|
|
2136
|
+
"cards": "oNvFBa_cards",
|
|
2137
|
+
"home": "oNvFBa_home",
|
|
2143
2138
|
"colOwner": "oNvFBa_colOwner",
|
|
2144
|
-
"
|
|
2145
|
-
"cardMenu": "oNvFBa_cardMenu",
|
|
2139
|
+
"cardTitle": "oNvFBa_cardTitle",
|
|
2146
2140
|
"cardChevron": "oNvFBa_cardChevron",
|
|
2141
|
+
"sharePager": "oNvFBa_sharePager",
|
|
2142
|
+
"table": "oNvFBa_table",
|
|
2143
|
+
"emptyRow": "oNvFBa_emptyRow",
|
|
2144
|
+
"favoriteMark": "oNvFBa_favoriteMark",
|
|
2145
|
+
"dropZoneActive": "oNvFBa_dropZoneActive",
|
|
2147
2146
|
"statusButton": "oNvFBa_statusButton",
|
|
2148
|
-
"
|
|
2149
|
-
"shareEmpty": "oNvFBa_shareEmpty",
|
|
2150
|
-
"cardTitle": "oNvFBa_cardTitle",
|
|
2147
|
+
"cardMenu": "oNvFBa_cardMenu",
|
|
2151
2148
|
"card": "oNvFBa_card",
|
|
2152
|
-
"
|
|
2153
|
-
"
|
|
2154
|
-
"
|
|
2155
|
-
"
|
|
2156
|
-
"
|
|
2149
|
+
"dropZone": "oNvFBa_dropZone",
|
|
2150
|
+
"actionsCell": "oNvFBa_actionsCell",
|
|
2151
|
+
"hiddenInput": "oNvFBa_hiddenInput",
|
|
2152
|
+
"iconButton": "oNvFBa_iconButton",
|
|
2153
|
+
"docPager": "oNvFBa_docPager",
|
|
2154
|
+
"iconButtonOn": "oNvFBa_iconButtonOn",
|
|
2155
|
+
"cardText": "oNvFBa_cardText",
|
|
2156
|
+
"shareError": "oNvFBa_shareError",
|
|
2157
|
+
"docRow": "oNvFBa_docRow",
|
|
2157
2158
|
"cardPlate": "oNvFBa_cardPlate",
|
|
2159
|
+
"shareEmpty": "oNvFBa_shareEmpty",
|
|
2160
|
+
"rowActions": "oNvFBa_rowActions",
|
|
2158
2161
|
"iconButtonDanger": "oNvFBa_iconButtonDanger",
|
|
2159
2162
|
"colTime": "oNvFBa_colTime",
|
|
2160
|
-
"
|
|
2161
|
-
"docPager": "oNvFBa_docPager",
|
|
2162
|
-
"cardBody": "oNvFBa_cardBody",
|
|
2163
|
-
"colTitle": "oNvFBa_colTitle",
|
|
2164
|
-
"colActions": "oNvFBa_colActions",
|
|
2165
|
-
"hiddenInput": "oNvFBa_hiddenInput",
|
|
2163
|
+
"muted": "oNvFBa_muted",
|
|
2166
2164
|
"colStatus": "oNvFBa_colStatus",
|
|
2167
|
-
"
|
|
2168
|
-
"
|
|
2169
|
-
"
|
|
2170
|
-
"
|
|
2171
|
-
"table": "oNvFBa_table",
|
|
2165
|
+
"colLocation": "oNvFBa_colLocation",
|
|
2166
|
+
"statusDetail": "oNvFBa_statusDetail",
|
|
2167
|
+
"rowLink": "oNvFBa_rowLink",
|
|
2168
|
+
"colActions": "oNvFBa_colActions",
|
|
2172
2169
|
"cardSlot": "oNvFBa_cardSlot",
|
|
2173
|
-
"
|
|
2170
|
+
"colTitle": "oNvFBa_colTitle",
|
|
2171
|
+
"shareBlock": "oNvFBa_shareBlock",
|
|
2172
|
+
"cardMenuItem": "oNvFBa_cardMenuItem",
|
|
2173
|
+
"titleCell": "oNvFBa_titleCell"
|
|
2174
2174
|
};
|
|
2175
2175
|
//#endregion
|
|
2176
2176
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgePanel.module.css.mjs
|
|
@@ -2184,79 +2184,79 @@ window.__ModuleLoader__.load({
|
|
|
2184
2184
|
document.head.appendChild(tag);
|
|
2185
2185
|
}
|
|
2186
2186
|
var KnowledgePanel_module_css_default = {
|
|
2187
|
-
"
|
|
2188
|
-
"
|
|
2187
|
+
"body": "uNOdFq_body",
|
|
2188
|
+
"surface": "uNOdFq_surface",
|
|
2189
|
+
"treeFilter": "uNOdFq_treeFilter",
|
|
2189
2190
|
"railBrandName": "uNOdFq_railBrandName",
|
|
2190
|
-
"
|
|
2191
|
-
"
|
|
2192
|
-
"
|
|
2191
|
+
"treeBand": "uNOdFq_treeBand",
|
|
2192
|
+
"sectionName": "uNOdFq_sectionName",
|
|
2193
|
+
"hit": "uNOdFq_hit",
|
|
2194
|
+
"emptyGlyph": "uNOdFq_emptyGlyph",
|
|
2195
|
+
"pairs": "uNOdFq_pairs",
|
|
2196
|
+
"form": "uNOdFq_form",
|
|
2197
|
+
"rail": "uNOdFq_rail",
|
|
2193
2198
|
"hits": "uNOdFq_hits",
|
|
2194
|
-
"
|
|
2199
|
+
"field": "uNOdFq_field",
|
|
2195
2200
|
"subhead": "uNOdFq_subhead",
|
|
2196
|
-
"searchBox": "uNOdFq_searchBox",
|
|
2197
|
-
"hitLine": "uNOdFq_hitLine",
|
|
2198
|
-
"bodyDocument": "uNOdFq_bodyDocument",
|
|
2199
|
-
"tableSurface": "uNOdFq_tableSurface",
|
|
2200
|
-
"menuGlyph": "uNOdFq_menuGlyph",
|
|
2201
|
-
"surface": "uNOdFq_surface",
|
|
2202
|
-
"headerTitle": "uNOdFq_headerTitle",
|
|
2203
|
-
"hitTime": "uNOdFq_hitTime",
|
|
2204
2201
|
"menu": "uNOdFq_menu",
|
|
2205
|
-
"
|
|
2206
|
-
"
|
|
2202
|
+
"emptyTitle": "uNOdFq_emptyTitle",
|
|
2203
|
+
"content": "uNOdFq_content",
|
|
2204
|
+
"railBrand": "uNOdFq_railBrand",
|
|
2205
|
+
"factDot": "uNOdFq_factDot",
|
|
2206
|
+
"bodyDocument": "uNOdFq_bodyDocument",
|
|
2207
|
+
"previewLayout": "uNOdFq_previewLayout",
|
|
2207
2208
|
"headerHint": "uNOdFq_headerHint",
|
|
2208
|
-
"
|
|
2209
|
+
"headerPath": "uNOdFq_headerPath",
|
|
2210
|
+
"header": "uNOdFq_header",
|
|
2211
|
+
"menuRow": "uNOdFq_menuRow",
|
|
2212
|
+
"menuGroupLabel": "uNOdFq_menuGroupLabel",
|
|
2209
2213
|
"input": "uNOdFq_input",
|
|
2210
|
-
"
|
|
2211
|
-
"
|
|
2212
|
-
"
|
|
2213
|
-
"errorGlyph": "uNOdFq_errorGlyph",
|
|
2214
|
+
"errorDetail": "uNOdFq_errorDetail",
|
|
2215
|
+
"railTop": "uNOdFq_railTop",
|
|
2216
|
+
"menuFolded": "uNOdFq_menuFolded",
|
|
2214
2217
|
"page": "uNOdFq_page",
|
|
2215
|
-
"
|
|
2216
|
-
"
|
|
2218
|
+
"iconButton": "uNOdFq_iconButton",
|
|
2219
|
+
"menuRowActive": "uNOdFq_menuRowActive",
|
|
2217
2220
|
"hitPath": "uNOdFq_hitPath",
|
|
2218
|
-
"
|
|
2221
|
+
"hitActive": "uNOdFq_hitActive",
|
|
2222
|
+
"sectionHeader": "uNOdFq_sectionHeader",
|
|
2223
|
+
"muted": "uNOdFq_muted",
|
|
2224
|
+
"referenceNoteDismiss": "uNOdFq_referenceNoteDismiss",
|
|
2225
|
+
"sectionActions": "uNOdFq_sectionActions",
|
|
2226
|
+
"bodyCollapsed": "uNOdFq_bodyCollapsed",
|
|
2227
|
+
"pinnedBand": "uNOdFq_pinnedBand",
|
|
2219
2228
|
"pair": "uNOdFq_pair",
|
|
2220
|
-
"railTop": "uNOdFq_railTop",
|
|
2221
|
-
"rail": "uNOdFq_rail",
|
|
2222
|
-
"table": "uNOdFq_table",
|
|
2223
|
-
"emptyGlyph": "uNOdFq_emptyGlyph",
|
|
2224
|
-
"railTopSpacer": "uNOdFq_railTopSpacer",
|
|
2225
|
-
"iconButton": "uNOdFq_iconButton",
|
|
2226
|
-
"emptyTitle": "uNOdFq_emptyTitle",
|
|
2227
|
-
"openedElsewhere": "uNOdFq_openedElsewhere",
|
|
2228
|
-
"contentColumn": "uNOdFq_contentColumn",
|
|
2229
|
-
"menuRow": "uNOdFq_menuRow",
|
|
2230
|
-
"treeScroll": "uNOdFq_treeScroll",
|
|
2231
|
-
"menuFolded": "uNOdFq_menuFolded",
|
|
2232
|
-
"railBody": "uNOdFq_railBody",
|
|
2233
|
-
"title": "uNOdFq_title",
|
|
2234
|
-
"body": "uNOdFq_body",
|
|
2235
2229
|
"empty": "uNOdFq_empty",
|
|
2230
|
+
"headerActions": "uNOdFq_headerActions",
|
|
2231
|
+
"contentColumn": "uNOdFq_contentColumn",
|
|
2232
|
+
"error": "uNOdFq_error",
|
|
2233
|
+
"hitTime": "uNOdFq_hitTime",
|
|
2236
2234
|
"hitLineNo": "uNOdFq_hitLineNo",
|
|
2237
|
-
"
|
|
2235
|
+
"previewColumn": "uNOdFq_previewColumn",
|
|
2236
|
+
"menuSeparator": "uNOdFq_menuSeparator",
|
|
2237
|
+
"headerFact": "uNOdFq_headerFact",
|
|
2238
|
+
"openFailure": "uNOdFq_openFailure",
|
|
2239
|
+
"tableSurface": "uNOdFq_tableSurface",
|
|
2240
|
+
"menuLabel": "uNOdFq_menuLabel",
|
|
2241
|
+
"retry": "uNOdFq_retry",
|
|
2242
|
+
"headerTitle": "uNOdFq_headerTitle",
|
|
2243
|
+
"searchBox": "uNOdFq_searchBox",
|
|
2244
|
+
"menuGlyph": "uNOdFq_menuGlyph",
|
|
2245
|
+
"notice": "uNOdFq_notice",
|
|
2246
|
+
"openedElsewhere": "uNOdFq_openedElsewhere",
|
|
2247
|
+
"table": "uNOdFq_table",
|
|
2248
|
+
"errorGlyph": "uNOdFq_errorGlyph",
|
|
2249
|
+
"railBody": "uNOdFq_railBody",
|
|
2238
2250
|
"errorTitle": "uNOdFq_errorTitle",
|
|
2239
|
-
"
|
|
2240
|
-
"
|
|
2251
|
+
"railTopSpacer": "uNOdFq_railTopSpacer",
|
|
2252
|
+
"hitLine": "uNOdFq_hitLine",
|
|
2253
|
+
"preview": "uNOdFq_preview",
|
|
2254
|
+
"title": "uNOdFq_title",
|
|
2255
|
+
"path": "uNOdFq_path",
|
|
2241
2256
|
"errorPanel": "uNOdFq_errorPanel",
|
|
2242
|
-
"
|
|
2243
|
-
"openFailure": "uNOdFq_openFailure",
|
|
2244
|
-
"hit": "uNOdFq_hit",
|
|
2245
|
-
"form": "uNOdFq_form",
|
|
2246
|
-
"field": "uNOdFq_field",
|
|
2247
|
-
"headerFact": "uNOdFq_headerFact",
|
|
2257
|
+
"treeScroll": "uNOdFq_treeScroll",
|
|
2248
2258
|
"referenceNote": "uNOdFq_referenceNote",
|
|
2249
|
-
"
|
|
2250
|
-
"menuSeparator": "uNOdFq_menuSeparator",
|
|
2251
|
-
"retry": "uNOdFq_retry",
|
|
2252
|
-
"menuLabel": "uNOdFq_menuLabel",
|
|
2253
|
-
"content": "uNOdFq_content",
|
|
2254
|
-
"muted": "uNOdFq_muted",
|
|
2255
|
-
"headerActions": "uNOdFq_headerActions",
|
|
2256
|
-
"treeBand": "uNOdFq_treeBand",
|
|
2257
|
-
"menuRowActive": "uNOdFq_menuRowActive",
|
|
2258
|
-
"hitName": "uNOdFq_hitName",
|
|
2259
|
-
"railBrand": "uNOdFq_railBrand"
|
|
2259
|
+
"hitName": "uNOdFq_hitName"
|
|
2260
2260
|
};
|
|
2261
2261
|
//#endregion
|
|
2262
2262
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeTemplates.module.css.mjs
|
|
@@ -2270,54 +2270,54 @@ window.__ModuleLoader__.load({
|
|
|
2270
2270
|
document.head.appendChild(tag);
|
|
2271
2271
|
}
|
|
2272
2272
|
var KnowledgeTemplates_module_css_default = {
|
|
2273
|
-
"manage": "Tg9J7q_manage",
|
|
2274
|
-
"quickFilter": "Tg9J7q_quickFilter",
|
|
2275
|
-
"cardFoot": "Tg9J7q_cardFoot",
|
|
2276
|
-
"manageList": "Tg9J7q_manageList",
|
|
2277
|
-
"toolbar": "Tg9J7q_toolbar",
|
|
2278
2273
|
"grid": "Tg9J7q_grid",
|
|
2274
|
+
"muted": "Tg9J7q_muted",
|
|
2279
2275
|
"manageBar": "Tg9J7q_manageBar",
|
|
2280
2276
|
"dialog": "Tg9J7q_dialog",
|
|
2281
|
-
"
|
|
2277
|
+
"documentPage": "Tg9J7q_documentPage",
|
|
2278
|
+
"quickFilter": "Tg9J7q_quickFilter",
|
|
2279
|
+
"categoryFilters": "Tg9J7q_categoryFilters",
|
|
2280
|
+
"destinationLabel": "Tg9J7q_destinationLabel",
|
|
2281
|
+
"cardMain": "Tg9J7q_cardMain",
|
|
2282
|
+
"cover": "Tg9J7q_cover",
|
|
2283
|
+
"cardBody": "Tg9J7q_cardBody",
|
|
2284
|
+
"manageRow": "Tg9J7q_manageRow",
|
|
2282
2285
|
"fieldLabel": "Tg9J7q_fieldLabel",
|
|
2283
|
-
"
|
|
2284
|
-
"
|
|
2286
|
+
"modal": "Tg9J7q_modal",
|
|
2287
|
+
"footer": "Tg9J7q_footer",
|
|
2285
2288
|
"cardIcon": "Tg9J7q_cardIcon",
|
|
2286
|
-
"
|
|
2287
|
-
"
|
|
2289
|
+
"filterDivider": "Tg9J7q_filterDivider",
|
|
2290
|
+
"quickFilters": "Tg9J7q_quickFilters",
|
|
2291
|
+
"fieldHint": "Tg9J7q_fieldHint",
|
|
2292
|
+
"destination": "Tg9J7q_destination",
|
|
2293
|
+
"sheetGrid": "Tg9J7q_sheetGrid",
|
|
2294
|
+
"manageList": "Tg9J7q_manageList",
|
|
2288
2295
|
"slidePage": "Tg9J7q_slidePage",
|
|
2289
|
-
"
|
|
2290
|
-
"cardBody": "Tg9J7q_cardBody",
|
|
2291
|
-
"cardTitle": "Tg9J7q_cardTitle",
|
|
2292
|
-
"cardMeta": "Tg9J7q_cardMeta",
|
|
2293
|
-
"form": "Tg9J7q_form",
|
|
2294
|
-
"previewContent": "Tg9J7q_previewContent",
|
|
2295
|
-
"notice": "Tg9J7q_notice",
|
|
2296
|
+
"manage": "Tg9J7q_manage",
|
|
2296
2297
|
"library": "Tg9J7q_library",
|
|
2297
|
-
"filterRow": "Tg9J7q_filterRow",
|
|
2298
|
-
"lineShort": "Tg9J7q_lineShort",
|
|
2299
|
-
"cardMain": "Tg9J7q_cardMain",
|
|
2300
|
-
"cover": "Tg9J7q_cover",
|
|
2301
2298
|
"cardActions": "Tg9J7q_cardActions",
|
|
2302
|
-
"
|
|
2303
|
-
"manageName": "Tg9J7q_manageName",
|
|
2304
|
-
"previewModal": "Tg9J7q_previewModal",
|
|
2305
|
-
"categoryFilters": "Tg9J7q_categoryFilters",
|
|
2306
|
-
"sheetGrid": "Tg9J7q_sheetGrid",
|
|
2307
|
-
"modal": "Tg9J7q_modal",
|
|
2299
|
+
"cardFoot": "Tg9J7q_cardFoot",
|
|
2308
2300
|
"favorite": "Tg9J7q_favorite",
|
|
2309
|
-
"
|
|
2301
|
+
"toolbar": "Tg9J7q_toolbar",
|
|
2310
2302
|
"card": "Tg9J7q_card",
|
|
2311
|
-
"destination": "Tg9J7q_destination",
|
|
2312
2303
|
"field": "Tg9J7q_field",
|
|
2313
|
-
"
|
|
2314
|
-
"formActions": "Tg9J7q_formActions",
|
|
2304
|
+
"cardTitle": "Tg9J7q_cardTitle",
|
|
2315
2305
|
"cardHead": "Tg9J7q_cardHead",
|
|
2316
|
-
"
|
|
2317
|
-
"
|
|
2306
|
+
"notice": "Tg9J7q_notice",
|
|
2307
|
+
"cardMeta": "Tg9J7q_cardMeta",
|
|
2308
|
+
"manageName": "Tg9J7q_manageName",
|
|
2309
|
+
"manageActions": "Tg9J7q_manageActions",
|
|
2310
|
+
"form": "Tg9J7q_form",
|
|
2311
|
+
"formActions": "Tg9J7q_formActions",
|
|
2312
|
+
"previewModal": "Tg9J7q_previewModal",
|
|
2313
|
+
"lineWide": "Tg9J7q_lineWide",
|
|
2314
|
+
"filterRow": "Tg9J7q_filterRow",
|
|
2318
2315
|
"categoryChip": "Tg9J7q_categoryChip",
|
|
2316
|
+
"coverPage": "Tg9J7q_coverPage",
|
|
2319
2317
|
"cardTags": "Tg9J7q_cardTags",
|
|
2320
|
-
"
|
|
2318
|
+
"fileInput": "Tg9J7q_fileInput",
|
|
2319
|
+
"previewContent": "Tg9J7q_previewContent",
|
|
2320
|
+
"lineShort": "Tg9J7q_lineShort"
|
|
2321
2321
|
};
|
|
2322
2322
|
//#endregion
|
|
2323
2323
|
//#region src/client/KnowledgeTemplates.tsx
|
|
@@ -3303,13 +3303,13 @@ window.__ModuleLoader__.load({
|
|
|
3303
3303
|
document.head.appendChild(tag);
|
|
3304
3304
|
}
|
|
3305
3305
|
var KnowledgeNewDocumentDialog_module_css_default = {
|
|
3306
|
-
"cardTitle": "hXsYha_cardTitle",
|
|
3307
|
-
"iconPlate": "hXsYha_iconPlate",
|
|
3308
|
-
"cards": "hXsYha_cards",
|
|
3309
|
-
"card": "hXsYha_card",
|
|
3310
3306
|
"modal": "hXsYha_modal",
|
|
3307
|
+
"iconPlate": "hXsYha_iconPlate",
|
|
3311
3308
|
"dialog": "hXsYha_dialog",
|
|
3309
|
+
"cardTitle": "hXsYha_cardTitle",
|
|
3310
|
+
"card": "hXsYha_card",
|
|
3312
3311
|
"cardText": "hXsYha_cardText",
|
|
3312
|
+
"cards": "hXsYha_cards",
|
|
3313
3313
|
"footer": "hXsYha_footer"
|
|
3314
3314
|
};
|
|
3315
3315
|
//#endregion
|
|
@@ -3401,52 +3401,52 @@ window.__ModuleLoader__.load({
|
|
|
3401
3401
|
document.head.appendChild(tag);
|
|
3402
3402
|
}
|
|
3403
3403
|
var KnowledgeCreateDialog_module_css_default = {
|
|
3404
|
-
"
|
|
3405
|
-
"
|
|
3406
|
-
"treeChildren": "HX727W_treeChildren",
|
|
3407
|
-
"fieldHint": "HX727W_fieldHint",
|
|
3408
|
-
"fieldError": "HX727W_fieldError",
|
|
3409
|
-
"treeName": "HX727W_treeName",
|
|
3410
|
-
"treeNotice": "HX727W_treeNotice",
|
|
3411
|
-
"stepLine": "HX727W_stepLine",
|
|
3412
|
-
"removeFile": "HX727W_removeFile",
|
|
3413
|
-
"uploadName": "HX727W_uploadName",
|
|
3414
|
-
"field": "HX727W_field",
|
|
3415
|
-
"steps": "HX727W_steps",
|
|
3416
|
-
"step": "HX727W_step",
|
|
3417
|
-
"dropzoneTitle": "HX727W_dropzoneTitle",
|
|
3404
|
+
"dialog": "HX727W_dialog",
|
|
3405
|
+
"pickerRow": "HX727W_pickerRow",
|
|
3418
3406
|
"dropzoneHint": "HX727W_dropzoneHint",
|
|
3407
|
+
"uploadName": "HX727W_uploadName",
|
|
3408
|
+
"fieldLabel": "HX727W_fieldLabel",
|
|
3419
3409
|
"crumb": "HX727W_crumb",
|
|
3420
|
-
"
|
|
3421
|
-
"
|
|
3422
|
-
"pickerPathValue": "HX727W_pickerPathValue",
|
|
3423
|
-
"uploadRow": "HX727W_uploadRow",
|
|
3424
|
-
"tree": "HX727W_tree",
|
|
3425
|
-
"treeRow": "HX727W_treeRow",
|
|
3426
|
-
"treeMuted": "HX727W_treeMuted",
|
|
3410
|
+
"field": "HX727W_field",
|
|
3411
|
+
"pickerPathLabel": "HX727W_pickerPathLabel",
|
|
3427
3412
|
"crumbWrap": "HX727W_crumbWrap",
|
|
3428
|
-
"fileRow": "HX727W_fileRow",
|
|
3429
|
-
"footer": "HX727W_footer",
|
|
3430
3413
|
"fileInput": "HX727W_fileInput",
|
|
3414
|
+
"footer": "HX727W_footer",
|
|
3415
|
+
"dropzone": "HX727W_dropzone",
|
|
3431
3416
|
"fileTarget": "HX727W_fileTarget",
|
|
3432
|
-
"
|
|
3433
|
-
"
|
|
3434
|
-
"
|
|
3435
|
-
"
|
|
3417
|
+
"summary": "HX727W_summary",
|
|
3418
|
+
"dropzoneTitle": "HX727W_dropzoneTitle",
|
|
3419
|
+
"step": "HX727W_step",
|
|
3420
|
+
"treeRow": "HX727W_treeRow",
|
|
3436
3421
|
"treeToggle": "HX727W_treeToggle",
|
|
3437
|
-
"picker": "HX727W_picker",
|
|
3438
3422
|
"pickerList": "HX727W_pickerList",
|
|
3423
|
+
"treeMuted": "HX727W_treeMuted",
|
|
3424
|
+
"fileName": "HX727W_fileName",
|
|
3425
|
+
"picker": "HX727W_picker",
|
|
3426
|
+
"pickerPathValue": "HX727W_pickerPathValue",
|
|
3427
|
+
"uploadList": "HX727W_uploadList",
|
|
3428
|
+
"crumbSep": "HX727W_crumbSep",
|
|
3439
3429
|
"modal": "HX727W_modal",
|
|
3440
|
-
"dropzone": "HX727W_dropzone",
|
|
3441
3430
|
"uploadSize": "HX727W_uploadSize",
|
|
3442
|
-
"
|
|
3443
|
-
"
|
|
3444
|
-
"
|
|
3445
|
-
"
|
|
3446
|
-
"
|
|
3431
|
+
"removeFile": "HX727W_removeFile",
|
|
3432
|
+
"treeChildren": "HX727W_treeChildren",
|
|
3433
|
+
"treeName": "HX727W_treeName",
|
|
3434
|
+
"treeNotice": "HX727W_treeNotice",
|
|
3435
|
+
"pickerMuted": "HX727W_pickerMuted",
|
|
3436
|
+
"pickerBar": "HX727W_pickerBar",
|
|
3437
|
+
"pickerPath": "HX727W_pickerPath",
|
|
3438
|
+
"fieldError": "HX727W_fieldError",
|
|
3447
3439
|
"fileList": "HX727W_fileList",
|
|
3440
|
+
"uploadSummary": "HX727W_uploadSummary",
|
|
3448
3441
|
"uploadLayout": "HX727W_uploadLayout",
|
|
3449
|
-
"
|
|
3442
|
+
"tree": "HX727W_tree",
|
|
3443
|
+
"fieldHint": "HX727W_fieldHint",
|
|
3444
|
+
"uploadRow": "HX727W_uploadRow",
|
|
3445
|
+
"visuallyHiddenInput": "HX727W_visuallyHiddenInput",
|
|
3446
|
+
"steps": "HX727W_steps",
|
|
3447
|
+
"fileRow": "HX727W_fileRow",
|
|
3448
|
+
"stepLine": "HX727W_stepLine",
|
|
3449
|
+
"uploadQueue": "HX727W_uploadQueue"
|
|
3450
3450
|
};
|
|
3451
3451
|
//#endregion
|
|
3452
3452
|
//#region ../../../DSH-better-sidebar/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
@@ -6056,28 +6056,28 @@ window.__ModuleLoader__.load({
|
|
|
6056
6056
|
document.head.appendChild(tag);
|
|
6057
6057
|
}
|
|
6058
6058
|
var kit_module_css_default = {
|
|
6059
|
-
"
|
|
6059
|
+
"statusBadge": "lvzz-W_statusBadge",
|
|
6060
6060
|
"iconButtonDanger": "lvzz-W_iconButtonDanger",
|
|
6061
|
-
"sectionHeader": "lvzz-W_sectionHeader",
|
|
6062
6061
|
"chip": "lvzz-W_chip",
|
|
6063
|
-
"
|
|
6064
|
-
"
|
|
6065
|
-
"noticeInline": "lvzz-W_noticeInline",
|
|
6062
|
+
"chipActive": "lvzz-W_chipActive",
|
|
6063
|
+
"iconButton": "lvzz-W_iconButton",
|
|
6066
6064
|
"sectionLabel": "lvzz-W_sectionLabel",
|
|
6065
|
+
"noticeError": "lvzz-W_noticeError",
|
|
6066
|
+
"confirmDesc": "lvzz-W_confirmDesc",
|
|
6067
6067
|
"notice": "lvzz-W_notice",
|
|
6068
|
-
"
|
|
6068
|
+
"sectionHeader": "lvzz-W_sectionHeader",
|
|
6069
|
+
"sectionCount": "lvzz-W_sectionCount",
|
|
6070
|
+
"noticeHint": "lvzz-W_noticeHint",
|
|
6071
|
+
"chipCount": "lvzz-W_chipCount",
|
|
6072
|
+
"iconButtonSm": "lvzz-W_iconButtonSm",
|
|
6073
|
+
"chipLabel": "lvzz-W_chipLabel",
|
|
6069
6074
|
"iconButtonActive": "lvzz-W_iconButtonActive",
|
|
6070
|
-
"
|
|
6071
|
-
"
|
|
6075
|
+
"noticePage": "lvzz-W_noticePage",
|
|
6076
|
+
"noticeInline": "lvzz-W_noticeInline",
|
|
6077
|
+
"noticeWarn": "lvzz-W_noticeWarn",
|
|
6072
6078
|
"iconButtonMd": "lvzz-W_iconButtonMd",
|
|
6073
|
-
"chipLabel": "lvzz-W_chipLabel",
|
|
6074
|
-
"chipCount": "lvzz-W_chipCount",
|
|
6075
6079
|
"sectionAction": "lvzz-W_sectionAction",
|
|
6076
|
-
"
|
|
6077
|
-
"sectionCount": "lvzz-W_sectionCount",
|
|
6078
|
-
"noticeHint": "lvzz-W_noticeHint",
|
|
6079
|
-
"confirmDesc": "lvzz-W_confirmDesc",
|
|
6080
|
-
"chipActive": "lvzz-W_chipActive"
|
|
6080
|
+
"noticeWell": "lvzz-W_noticeWell"
|
|
6081
6081
|
};
|
|
6082
6082
|
//#endregion
|
|
6083
6083
|
//#region ../../../DSH-better-sidebar/src/client/ui/kit.tsx
|
|
@@ -6890,237 +6890,237 @@ window.__ModuleLoader__.load({
|
|
|
6890
6890
|
document.head.appendChild(tag);
|
|
6891
6891
|
}
|
|
6892
6892
|
var sidebar_module_css_default = {
|
|
6893
|
-
"
|
|
6894
|
-
"
|
|
6895
|
-
"
|
|
6896
|
-
"
|
|
6897
|
-
"
|
|
6893
|
+
"editorHeader": "s56VVa_editorHeader",
|
|
6894
|
+
"bottomPanel": "s56VVa_bottomPanel",
|
|
6895
|
+
"gitDiffTabHeader": "s56VVa_gitDiffTabHeader",
|
|
6896
|
+
"editorTreeToggleActive": "s56VVa_editorTreeToggleActive",
|
|
6897
|
+
"editorGitBar": "s56VVa_editorGitBar",
|
|
6898
|
+
"dropLeft": "s56VVa_dropLeft",
|
|
6899
|
+
"gitDiffTabTitle": "s56VVa_gitDiffTabTitle",
|
|
6898
6900
|
"editorMain": "s56VVa_editorMain",
|
|
6899
6901
|
"largeFileLineText": "s56VVa_largeFileLineText",
|
|
6900
6902
|
"editorGitBarSpacer": "s56VVa_editorGitBarSpacer",
|
|
6901
|
-
"
|
|
6903
|
+
"paneEmptyCards": "s56VVa_paneEmptyCards",
|
|
6904
|
+
"editorSearchResult": "s56VVa_editorSearchResult",
|
|
6905
|
+
"tabActive": "s56VVa_tabActive",
|
|
6906
|
+
"mermaidModalHint": "s56VVa_mermaidModalHint",
|
|
6907
|
+
"explorerMuted": "s56VVa_explorerMuted",
|
|
6908
|
+
"mermaidInfo": "s56VVa_mermaidInfo",
|
|
6909
|
+
"editorCm": "s56VVa_editorCm",
|
|
6910
|
+
"editorGitBarDel": "s56VVa_editorGitBarDel",
|
|
6911
|
+
"editorSearchInput": "s56VVa_editorSearchInput",
|
|
6912
|
+
"dockFallback": "s56VVa_dockFallback",
|
|
6913
|
+
"explorerSelectionBar": "s56VVa_explorerSelectionBar",
|
|
6914
|
+
"largeFileRecords": "s56VVa_largeFileRecords",
|
|
6915
|
+
"editorGitBarMod": "s56VVa_editorGitBarMod",
|
|
6916
|
+
"editorStatus": "s56VVa_editorStatus",
|
|
6902
6917
|
"mermaidWrap": "s56VVa_mermaidWrap",
|
|
6903
|
-
"
|
|
6918
|
+
"editorPdfStage": "s56VVa_editorPdfStage",
|
|
6919
|
+
"explorerRowSelected": "s56VVa_explorerRowSelected",
|
|
6920
|
+
"editorDocxZoomRange": "s56VVa_editorDocxZoomRange",
|
|
6904
6921
|
"editorBlameSummary": "s56VVa_editorBlameSummary",
|
|
6905
|
-
"
|
|
6906
|
-
"
|
|
6907
|
-
"
|
|
6908
|
-
"
|
|
6909
|
-
"
|
|
6910
|
-
"
|
|
6911
|
-
"mermaidCopy": "s56VVa_mermaidCopy",
|
|
6912
|
-
"explorerRenaming": "s56VVa_explorerRenaming",
|
|
6913
|
-
"largeFileRecordNo": "s56VVa_largeFileRecordNo",
|
|
6914
|
-
"editorGitBar": "s56VVa_editorGitBar",
|
|
6915
|
-
"mermaidModalToolbar": "s56VVa_mermaidModalToolbar",
|
|
6922
|
+
"dropOverlay": "s56VVa_dropOverlay",
|
|
6923
|
+
"uploadOverlay": "s56VVa_uploadOverlay",
|
|
6924
|
+
"editorBanner": "s56VVa_editorBanner",
|
|
6925
|
+
"pane": "s56VVa_pane",
|
|
6926
|
+
"panelBody": "s56VVa_panelBody",
|
|
6927
|
+
"uploadDropHero": "s56VVa_uploadDropHero",
|
|
6916
6928
|
"editorDownloadLink": "s56VVa_editorDownloadLink",
|
|
6917
|
-
"
|
|
6929
|
+
"tabTitle": "s56VVa_tabTitle",
|
|
6930
|
+
"dividerCol": "s56VVa_dividerCol",
|
|
6918
6931
|
"browserBlockedTitle": "s56VVa_browserBlockedTitle",
|
|
6919
|
-
"
|
|
6920
|
-
"
|
|
6921
|
-
"
|
|
6922
|
-
"
|
|
6923
|
-
"
|
|
6924
|
-
"uploadOverlayCancel": "s56VVa_uploadOverlayCancel",
|
|
6925
|
-
"mermaidModalStage": "s56VVa_mermaidModalStage",
|
|
6926
|
-
"editorBannerAction": "s56VVa_editorBannerAction",
|
|
6932
|
+
"browserInput": "s56VVa_browserInput",
|
|
6933
|
+
"editorHtmlBlock": "s56VVa_editorHtmlBlock",
|
|
6934
|
+
"largeFileRecord": "s56VVa_largeFileRecord",
|
|
6935
|
+
"mermaidModalButton": "s56VVa_mermaidModalButton",
|
|
6936
|
+
"explorerBody": "s56VVa_explorerBody",
|
|
6927
6937
|
"editorModeActive": "s56VVa_editorModeActive",
|
|
6928
|
-
"
|
|
6929
|
-
"
|
|
6938
|
+
"explorerAppIcon": "s56VVa_explorerAppIcon",
|
|
6939
|
+
"editorTreeDock": "s56VVa_editorTreeDock",
|
|
6940
|
+
"largeFileLine": "s56VVa_largeFileLine",
|
|
6941
|
+
"largeFileLineNo": "s56VVa_largeFileLineNo",
|
|
6942
|
+
"paneDrop": "s56VVa_paneDrop",
|
|
6943
|
+
"explorerSelectionText": "s56VVa_explorerSelectionText",
|
|
6944
|
+
"editorPdfFrame": "s56VVa_editorPdfFrame",
|
|
6945
|
+
"editorPdfDragShield": "s56VVa_editorPdfDragShield",
|
|
6946
|
+
"editorBody": "s56VVa_editorBody",
|
|
6947
|
+
"uploadDropChatCard": "s56VVa_uploadDropChatCard",
|
|
6948
|
+
"explorerRowDropTarget": "s56VVa_explorerRowDropTarget",
|
|
6949
|
+
"mermaidCopy": "s56VVa_mermaidCopy",
|
|
6950
|
+
"explorerRowRevealed": "s56VVa_explorerRowRevealed",
|
|
6930
6951
|
"dsh-toc-flash": "s56VVa_dsh-toc-flash",
|
|
6931
|
-
"
|
|
6932
|
-
"
|
|
6933
|
-
"gitEmpty": "s56VVa_gitEmpty",
|
|
6934
|
-
"bottomPanel": "s56VVa_bottomPanel",
|
|
6935
|
-
"editorTitle": "s56VVa_editorTitle",
|
|
6936
|
-
"splitRow": "s56VVa_splitRow",
|
|
6937
|
-
"editorGitBarMod": "s56VVa_editorGitBarMod",
|
|
6938
|
-
"paneTabHidden": "s56VVa_paneTabHidden",
|
|
6939
|
-
"browser": "s56VVa_browser",
|
|
6940
|
-
"bottomPanelHidden": "s56VVa_bottomPanelHidden",
|
|
6941
|
-
"paneContent": "s56VVa_paneContent",
|
|
6942
|
-
"editorHtml": "s56VVa_editorHtml",
|
|
6943
|
-
"nativeTabMenuItem": "s56VVa_nativeTabMenuItem",
|
|
6944
|
-
"sandboxStatusText": "s56VVa_sandboxStatusText",
|
|
6945
|
-
"explorerRenameInput": "s56VVa_explorerRenameInput",
|
|
6946
|
-
"uploadDropZonePill": "s56VVa_uploadDropZonePill",
|
|
6947
|
-
"explorerActionErrorText": "s56VVa_explorerActionErrorText",
|
|
6948
|
-
"paneCard": "s56VVa_paneCard",
|
|
6949
|
-
"largeFileRecordTree": "s56VVa_largeFileRecordTree",
|
|
6950
|
-
"explorerHeader": "s56VVa_explorerHeader",
|
|
6951
|
-
"mermaidModalButton": "s56VVa_mermaidModalButton",
|
|
6952
|
-
"largeFileBody": "s56VVa_largeFileBody",
|
|
6953
|
-
"split": "s56VVa_split",
|
|
6954
|
-
"openWithPin": "s56VVa_openWithPin",
|
|
6955
|
-
"largeFileRecord": "s56VVa_largeFileRecord",
|
|
6952
|
+
"explorerCopied": "s56VVa_explorerCopied",
|
|
6953
|
+
"mermaidPending": "s56VVa_mermaidPending",
|
|
6956
6954
|
"tocFlash": "s56VVa_tocFlash",
|
|
6957
|
-
"
|
|
6958
|
-
"
|
|
6959
|
-
"
|
|
6960
|
-
"
|
|
6961
|
-
"
|
|
6962
|
-
"
|
|
6963
|
-
"
|
|
6955
|
+
"explorerHeader": "s56VVa_explorerHeader",
|
|
6956
|
+
"uploadOverlayProgressFill": "s56VVa_uploadOverlayProgressFill",
|
|
6957
|
+
"orphanedType": "s56VVa_orphanedType",
|
|
6958
|
+
"splitRow": "s56VVa_splitRow",
|
|
6959
|
+
"tabBarPlus": "s56VVa_tabBarPlus",
|
|
6960
|
+
"dividerActive": "s56VVa_dividerActive",
|
|
6961
|
+
"editorPathInput": "s56VVa_editorPathInput",
|
|
6962
|
+
"mermaidModalToolbar": "s56VVa_mermaidModalToolbar",
|
|
6963
|
+
"sandboxStatusOn": "s56VVa_sandboxStatusOn",
|
|
6964
|
+
"sandboxAction": "s56VVa_sandboxAction",
|
|
6964
6965
|
"tabUnreadDot": "s56VVa_tabUnreadDot",
|
|
6965
|
-
"
|
|
6966
|
-
"dropLeft": "s56VVa_dropLeft",
|
|
6967
|
-
"mermaidPending": "s56VVa_mermaidPending",
|
|
6968
|
-
"gitDiffTabHeader": "s56VVa_gitDiffTabHeader",
|
|
6966
|
+
"tabBadge": "s56VVa_tabBadge",
|
|
6969
6967
|
"browserBlockedDesc": "s56VVa_browserBlockedDesc",
|
|
6970
|
-
"uploadDropZoneText": "s56VVa_uploadDropZoneText",
|
|
6971
|
-
"uploadDropArtAccent": "s56VVa_uploadDropArtAccent",
|
|
6972
|
-
"editorGitAdd": "s56VVa_editorGitAdd",
|
|
6973
|
-
"bottomClose": "s56VVa_bottomClose",
|
|
6974
|
-
"browserFrame": "s56VVa_browserFrame",
|
|
6975
|
-
"mermaidError": "s56VVa_mermaidError",
|
|
6976
|
-
"editorDocxZoomRange": "s56VVa_editorDocxZoomRange",
|
|
6977
|
-
"largeFileRecordExpanded": "s56VVa_largeFileRecordExpanded",
|
|
6978
|
-
"dirtyDot": "s56VVa_dirtyDot",
|
|
6979
|
-
"dropUp": "s56VVa_dropUp",
|
|
6980
|
-
"largeFileLine": "s56VVa_largeFileLine",
|
|
6981
|
-
"dropDown": "s56VVa_dropDown",
|
|
6982
|
-
"editorCmHidden": "s56VVa_editorCmHidden",
|
|
6983
|
-
"toggleButton": "s56VVa_toggleButton",
|
|
6984
|
-
"uploadOverlay": "s56VVa_uploadOverlay",
|
|
6985
|
-
"explorerDirChanged": "s56VVa_explorerDirChanged",
|
|
6986
|
-
"editorStatusError": "s56VVa_editorStatusError",
|
|
6987
|
-
"pane": "s56VVa_pane",
|
|
6988
|
-
"explorerName": "s56VVa_explorerName",
|
|
6989
6968
|
"mermaidErrorDetail": "s56VVa_mermaidErrorDetail",
|
|
6990
|
-
"
|
|
6969
|
+
"uploadDropArtPrimary": "s56VVa_uploadDropArtPrimary",
|
|
6970
|
+
"dropCenter": "s56VVa_dropCenter",
|
|
6991
6971
|
"explorerSelectionActions": "s56VVa_explorerSelectionActions",
|
|
6992
|
-
"
|
|
6993
|
-
"
|
|
6994
|
-
"
|
|
6972
|
+
"editorBlame": "s56VVa_editorBlame",
|
|
6973
|
+
"editorGitBarGutter": "s56VVa_editorGitBarGutter",
|
|
6974
|
+
"splitChild": "s56VVa_splitChild",
|
|
6975
|
+
"largeFilePageLabel": "s56VVa_largeFilePageLabel",
|
|
6976
|
+
"iconButton": "s56VVa_iconButton",
|
|
6977
|
+
"chipUnread": "s56VVa_chipUnread",
|
|
6978
|
+
"sandboxStatus": "s56VVa_sandboxStatus",
|
|
6979
|
+
"selectionPopup": "s56VVa_selectionPopup",
|
|
6980
|
+
"toggleButton": "s56VVa_toggleButton",
|
|
6981
|
+
"explorerRenaming": "s56VVa_explorerRenaming",
|
|
6982
|
+
"terminalRetry": "s56VVa_terminalRetry",
|
|
6983
|
+
"editorTreeResize": "s56VVa_editorTreeResize",
|
|
6984
|
+
"uploadDropChatHint": "s56VVa_uploadDropChatHint",
|
|
6985
|
+
"largeFileBody": "s56VVa_largeFileBody",
|
|
6986
|
+
"explorerGitName": "s56VVa_explorerGitName",
|
|
6987
|
+
"largeFileList": "s56VVa_largeFileList",
|
|
6988
|
+
"dropRight": "s56VVa_dropRight",
|
|
6989
|
+
"uploadDropArtAccent": "s56VVa_uploadDropArtAccent",
|
|
6990
|
+
"largeFileNoticeAction": "s56VVa_largeFileNoticeAction",
|
|
6991
|
+
"editorCmHidden": "s56VVa_editorCmHidden",
|
|
6992
|
+
"explorerError": "s56VVa_explorerError",
|
|
6993
|
+
"largeFileRecordInvalid": "s56VVa_largeFileRecordInvalid",
|
|
6994
|
+
"explorerRef": "s56VVa_explorerRef",
|
|
6995
6995
|
"tocBar": "s56VVa_tocBar",
|
|
6996
|
-
"mermaidPendingPulse": "s56VVa_mermaidPendingPulse",
|
|
6997
|
-
"sandboxStatusOff": "s56VVa_sandboxStatusOff",
|
|
6998
|
-
"editorBody": "s56VVa_editorBody",
|
|
6999
6996
|
"browserStart": "s56VVa_browserStart",
|
|
7000
|
-
"
|
|
7001
|
-
"
|
|
7002
|
-
"
|
|
7003
|
-
"
|
|
7004
|
-
"
|
|
7005
|
-
"
|
|
6997
|
+
"nativeTabMenuSeparator": "s56VVa_nativeTabMenuSeparator",
|
|
6998
|
+
"browserBlockedActions": "s56VVa_browserBlockedActions",
|
|
6999
|
+
"tocItem": "s56VVa_tocItem",
|
|
7000
|
+
"dropUp": "s56VVa_dropUp",
|
|
7001
|
+
"sandboxStatusOff": "s56VVa_sandboxStatusOff",
|
|
7002
|
+
"panel": "s56VVa_panel",
|
|
7003
|
+
"explorerName": "s56VVa_explorerName",
|
|
7004
|
+
"uploadDropArtCut": "s56VVa_uploadDropArtCut",
|
|
7005
|
+
"editorGitAdd": "s56VVa_editorGitAdd",
|
|
7006
|
+
"mermaidMarkdown": "s56VVa_mermaidMarkdown",
|
|
7007
|
+
"editorPdfToolbar": "s56VVa_editorPdfToolbar",
|
|
7008
|
+
"editorPdfDragShieldActive": "s56VVa_editorPdfDragShieldActive",
|
|
7009
|
+
"uploadOverlayStatus": "s56VVa_uploadOverlayStatus",
|
|
7010
|
+
"tab": "s56VVa_tab",
|
|
7011
|
+
"bottomPanelHidden": "s56VVa_bottomPanelHidden",
|
|
7012
|
+
"paneTab": "s56VVa_paneTab",
|
|
7013
|
+
"explorerDirChanged": "s56VVa_explorerDirChanged",
|
|
7014
|
+
"editorGitBarAdd": "s56VVa_editorGitBarAdd",
|
|
7015
|
+
"browserMessage": "s56VVa_browserMessage",
|
|
7016
|
+
"mermaidModalStage": "s56VVa_mermaidModalStage",
|
|
7017
|
+
"openWithPin": "s56VVa_openWithPin",
|
|
7018
|
+
"editorError": "s56VVa_editorError",
|
|
7019
|
+
"editorSearchResultDir": "s56VVa_editorSearchResultDir",
|
|
7020
|
+
"editorTreeSearch": "s56VVa_editorTreeSearch",
|
|
7021
|
+
"uploadDropZonePill": "s56VVa_uploadDropZonePill",
|
|
7022
|
+
"tocPanel": "s56VVa_tocPanel",
|
|
7023
|
+
"tocItemLevel": "s56VVa_tocItemLevel",
|
|
7024
|
+
"tocItemText": "s56VVa_tocItemText",
|
|
7025
|
+
"splitCol": "s56VVa_splitCol",
|
|
7026
|
+
"explorer": "s56VVa_explorer",
|
|
7027
|
+
"editorTitle": "s56VVa_editorTitle",
|
|
7028
|
+
"editorPdf": "s56VVa_editorPdf",
|
|
7029
|
+
"dsh-row-in": "s56VVa_dsh-row-in",
|
|
7030
|
+
"nativeTabMenuItem": "s56VVa_nativeTabMenuItem",
|
|
7031
|
+
"paneTabHidden": "s56VVa_paneTabHidden",
|
|
7032
|
+
"tabBarDrop": "s56VVa_tabBarDrop",
|
|
7033
|
+
"editorGitDel": "s56VVa_editorGitDel",
|
|
7034
|
+
"tocButton": "s56VVa_tocButton",
|
|
7035
|
+
"gitDiffTab": "s56VVa_gitDiffTab",
|
|
7036
|
+
"explorerTime": "s56VVa_explorerTime",
|
|
7037
|
+
"paneContent": "s56VVa_paneContent",
|
|
7038
|
+
"uploadOverlayCard": "s56VVa_uploadOverlayCard",
|
|
7006
7039
|
"editorModeToggle": "s56VVa_editorModeToggle",
|
|
7007
|
-
"
|
|
7008
|
-
"
|
|
7009
|
-
"
|
|
7010
|
-
"
|
|
7040
|
+
"sandboxStatusText": "s56VVa_sandboxStatusText",
|
|
7041
|
+
"editorPptxButton": "s56VVa_editorPptxButton",
|
|
7042
|
+
"largeFile": "s56VVa_largeFile",
|
|
7043
|
+
"largeFileLines": "s56VVa_largeFileLines",
|
|
7011
7044
|
"uploadDropMask": "s56VVa_uploadDropMask",
|
|
7012
|
-
"
|
|
7013
|
-
"
|
|
7014
|
-
"browserBar": "s56VVa_browserBar",
|
|
7015
|
-
"tocItem": "s56VVa_tocItem",
|
|
7016
|
-
"editorSearchResultDir": "s56VVa_editorSearchResultDir",
|
|
7017
|
-
"orphanedType": "s56VVa_orphanedType",
|
|
7045
|
+
"dropDown": "s56VVa_dropDown",
|
|
7046
|
+
"editorTreePanelFull": "s56VVa_editorTreePanelFull",
|
|
7018
7047
|
"editorGitMod": "s56VVa_editorGitMod",
|
|
7019
|
-
"
|
|
7020
|
-
"
|
|
7021
|
-
"
|
|
7022
|
-
"
|
|
7023
|
-
"
|
|
7024
|
-
"
|
|
7025
|
-
"
|
|
7026
|
-
"
|
|
7027
|
-
"
|
|
7028
|
-
"
|
|
7029
|
-
"
|
|
7030
|
-
"
|
|
7031
|
-
"
|
|
7032
|
-
"editorPdfFrameBlocked": "s56VVa_editorPdfFrameBlocked",
|
|
7048
|
+
"openWithPinActive": "s56VVa_openWithPinActive",
|
|
7049
|
+
"bottomResize": "s56VVa_bottomResize",
|
|
7050
|
+
"explorerRenameInput": "s56VVa_explorerRenameInput",
|
|
7051
|
+
"editorSearchResultLabel": "s56VVa_editorSearchResultLabel",
|
|
7052
|
+
"browserBar": "s56VVa_browserBar",
|
|
7053
|
+
"editorStatusError": "s56VVa_editorStatusError",
|
|
7054
|
+
"explorerEmpty": "s56VVa_explorerEmpty",
|
|
7055
|
+
"explorerRow": "s56VVa_explorerRow",
|
|
7056
|
+
"uploadOverlayTitle": "s56VVa_uploadOverlayTitle",
|
|
7057
|
+
"mermaidHeader": "s56VVa_mermaidHeader",
|
|
7058
|
+
"uploadOverlayProgress": "s56VVa_uploadOverlayProgress",
|
|
7059
|
+
"editorBinary": "s56VVa_editorBinary",
|
|
7060
|
+
"largeFileDownload": "s56VVa_largeFileDownload",
|
|
7033
7061
|
"nativeTabHost": "s56VVa_nativeTabHost",
|
|
7034
|
-
"
|
|
7035
|
-
"gitError": "s56VVa_gitError",
|
|
7036
|
-
"explorerHidden": "s56VVa_explorerHidden",
|
|
7037
|
-
"tabBarDrop": "s56VVa_tabBarDrop",
|
|
7038
|
-
"largeFileLineNo": "s56VVa_largeFileLineNo",
|
|
7039
|
-
"selectionPopup": "s56VVa_selectionPopup",
|
|
7040
|
-
"explorerGitName": "s56VVa_explorerGitName",
|
|
7041
|
-
"editorBanner": "s56VVa_editorBanner",
|
|
7042
|
-
"sandboxDot": "s56VVa_sandboxDot",
|
|
7043
|
-
"gitPlaceholder": "s56VVa_gitPlaceholder",
|
|
7044
|
-
"explorerMuted": "s56VVa_explorerMuted",
|
|
7045
|
-
"editorStatus": "s56VVa_editorStatus",
|
|
7046
|
-
"tabBarRightActions": "s56VVa_tabBarRightActions",
|
|
7047
|
-
"explorerHiddenPane": "s56VVa_explorerHiddenPane",
|
|
7048
|
-
"uploadDropChatHint": "s56VVa_uploadDropChatHint",
|
|
7049
|
-
"explorerRowDropTarget": "s56VVa_explorerRowDropTarget",
|
|
7062
|
+
"editorHtml": "s56VVa_editorHtml",
|
|
7050
7063
|
"largeFileRecordSummary": "s56VVa_largeFileRecordSummary",
|
|
7051
|
-
"
|
|
7052
|
-
"browserInput": "s56VVa_browserInput",
|
|
7053
|
-
"explorerBody": "s56VVa_explorerBody",
|
|
7054
|
-
"sandboxStatusOn": "s56VVa_sandboxStatusOn",
|
|
7055
|
-
"boundaryError": "s56VVa_boundaryError",
|
|
7056
|
-
"explorerEmpty": "s56VVa_explorerEmpty",
|
|
7057
|
-
"dividerRow": "s56VVa_dividerRow",
|
|
7058
|
-
"largeFileRecords": "s56VVa_largeFileRecords",
|
|
7059
|
-
"dockFallback": "s56VVa_dockFallback",
|
|
7060
|
-
"dsh-row-in": "s56VVa_dsh-row-in",
|
|
7061
|
-
"largeFileList": "s56VVa_largeFileList",
|
|
7062
|
-
"editorPathInput": "s56VVa_editorPathInput",
|
|
7063
|
-
"mermaidCode": "s56VVa_mermaidCode",
|
|
7064
|
-
"uploadDropZone": "s56VVa_uploadDropZone",
|
|
7064
|
+
"editorModeButton": "s56VVa_editorModeButton",
|
|
7065
7065
|
"mermaidBody": "s56VVa_mermaidBody",
|
|
7066
|
-
"
|
|
7066
|
+
"openWithLabel": "s56VVa_openWithLabel",
|
|
7067
|
+
"editorBannerAction": "s56VVa_editorBannerAction",
|
|
7068
|
+
"mermaidError": "s56VVa_mermaidError",
|
|
7069
|
+
"gitError": "s56VVa_gitError",
|
|
7070
|
+
"mermaidModal": "s56VVa_mermaidModal",
|
|
7071
|
+
"uploadDropZone": "s56VVa_uploadDropZone",
|
|
7072
|
+
"largeFileRecordNo": "s56VVa_largeFileRecordNo",
|
|
7073
|
+
"tabClose": "s56VVa_tabClose",
|
|
7074
|
+
"explorerActionErrorText": "s56VVa_explorerActionErrorText",
|
|
7075
|
+
"uploadDropZoneText": "s56VVa_uploadDropZoneText",
|
|
7076
|
+
"explorerBroken": "s56VVa_explorerBroken",
|
|
7067
7077
|
"editorSearchHint": "s56VVa_editorSearchHint",
|
|
7068
|
-
"
|
|
7078
|
+
"tabBar": "s56VVa_tabBar",
|
|
7079
|
+
"divider": "s56VVa_divider",
|
|
7080
|
+
"dividerRow": "s56VVa_dividerRow",
|
|
7081
|
+
"split": "s56VVa_split",
|
|
7082
|
+
"mermaidCode": "s56VVa_mermaidCode",
|
|
7083
|
+
"bottomResizeActive": "s56VVa_bottomResizeActive",
|
|
7084
|
+
"gitEmpty": "s56VVa_gitEmpty",
|
|
7085
|
+
"explorerDir": "s56VVa_explorerDir",
|
|
7086
|
+
"gitPlaceholder": "s56VVa_gitPlaceholder",
|
|
7069
7087
|
"largeFileNotice": "s56VVa_largeFileNotice",
|
|
7070
|
-
"
|
|
7071
|
-
"largeFile": "s56VVa_largeFile",
|
|
7072
|
-
"explorerSelectionText": "s56VVa_explorerSelectionText",
|
|
7073
|
-
"uploadOverlayProgressFill": "s56VVa_uploadOverlayProgressFill",
|
|
7088
|
+
"chipIcon": "s56VVa_chipIcon",
|
|
7074
7089
|
"explorerActionError": "s56VVa_explorerActionError",
|
|
7075
|
-
"
|
|
7076
|
-
"
|
|
7077
|
-
"
|
|
7078
|
-
"
|
|
7079
|
-
"
|
|
7080
|
-
"
|
|
7081
|
-
"
|
|
7082
|
-
"
|
|
7083
|
-
"
|
|
7090
|
+
"browserFrame": "s56VVa_browserFrame",
|
|
7091
|
+
"editorPdfFrameBlocked": "s56VVa_editorPdfFrameBlocked",
|
|
7092
|
+
"workbench": "s56VVa_workbench",
|
|
7093
|
+
"openWithName": "s56VVa_openWithName",
|
|
7094
|
+
"tabBarRightActions": "s56VVa_tabBarRightActions",
|
|
7095
|
+
"boundaryError": "s56VVa_boundaryError",
|
|
7096
|
+
"tabBoundaryError": "s56VVa_tabBoundaryError",
|
|
7097
|
+
"openWithChevron": "s56VVa_openWithChevron",
|
|
7098
|
+
"explorerHiddenPane": "s56VVa_explorerHiddenPane",
|
|
7099
|
+
"explorerRoot": "s56VVa_explorerRoot",
|
|
7084
7100
|
"largeFileRecordBody": "s56VVa_largeFileRecordBody",
|
|
7085
|
-
"
|
|
7086
|
-
"
|
|
7087
|
-
"
|
|
7088
|
-
"sandboxStatus": "s56VVa_sandboxStatus",
|
|
7089
|
-
"editorMd": "s56VVa_editorMd",
|
|
7090
|
-
"uploadOverlayStatus": "s56VVa_uploadOverlayStatus",
|
|
7091
|
-
"mermaidModalHint": "s56VVa_mermaidModalHint",
|
|
7092
|
-
"largeFileNoticeAction": "s56VVa_largeFileNoticeAction",
|
|
7093
|
-
"editorGitBarGutter": "s56VVa_editorGitBarGutter",
|
|
7094
|
-
"tabTitle": "s56VVa_tabTitle",
|
|
7095
|
-
"gitDiffTab": "s56VVa_gitDiffTab",
|
|
7096
|
-
"dropOverlay": "s56VVa_dropOverlay",
|
|
7097
|
-
"tabActive": "s56VVa_tabActive",
|
|
7098
|
-
"editorSearchResult": "s56VVa_editorSearchResult",
|
|
7099
|
-
"editorModeButton": "s56VVa_editorModeButton",
|
|
7100
|
-
"editorGitBarDel": "s56VVa_editorGitBarDel",
|
|
7101
|
-
"editorPdf": "s56VVa_editorPdf",
|
|
7101
|
+
"largeFilePager": "s56VVa_largeFilePager",
|
|
7102
|
+
"paneCard": "s56VVa_paneCard",
|
|
7103
|
+
"browser": "s56VVa_browser",
|
|
7102
7104
|
"explorerSymlink": "s56VVa_explorerSymlink",
|
|
7103
|
-
"
|
|
7104
|
-
"
|
|
7105
|
-
"
|
|
7106
|
-
"
|
|
7107
|
-
"
|
|
7108
|
-
"
|
|
7109
|
-
"
|
|
7110
|
-
"
|
|
7111
|
-
"
|
|
7105
|
+
"uploadOverlayCancel": "s56VVa_uploadOverlayCancel",
|
|
7106
|
+
"sandboxDot": "s56VVa_sandboxDot",
|
|
7107
|
+
"editor": "s56VVa_editor",
|
|
7108
|
+
"largeFileRecordExpanded": "s56VVa_largeFileRecordExpanded",
|
|
7109
|
+
"mermaidPendingBar": "s56VVa_mermaidPendingBar",
|
|
7110
|
+
"editorTreePanel": "s56VVa_editorTreePanel",
|
|
7111
|
+
"largeFileRecordTree": "s56VVa_largeFileRecordTree",
|
|
7112
|
+
"editorBlameHead": "s56VVa_editorBlameHead",
|
|
7113
|
+
"bottomClose": "s56VVa_bottomClose",
|
|
7114
|
+
"editorBinaryNotice": "s56VVa_editorBinaryNotice",
|
|
7115
|
+
"largeFileRecordRaw": "s56VVa_largeFileRecordRaw",
|
|
7116
|
+
"browserBlocked": "s56VVa_browserBlocked",
|
|
7112
7117
|
"editorPlaceholder": "s56VVa_editorPlaceholder",
|
|
7113
|
-
"
|
|
7114
|
-
"
|
|
7115
|
-
"
|
|
7116
|
-
"
|
|
7117
|
-
"
|
|
7118
|
-
"
|
|
7119
|
-
"tocButton": "s56VVa_tocButton",
|
|
7120
|
-
"largeFileRecordInvalid": "s56VVa_largeFileRecordInvalid",
|
|
7121
|
-
"explorerCopied": "s56VVa_explorerCopied",
|
|
7122
|
-
"editorTreePanelFull": "s56VVa_editorTreePanelFull",
|
|
7123
|
-
"splitChild": "s56VVa_splitChild"
|
|
7118
|
+
"explorerHidden": "s56VVa_explorerHidden",
|
|
7119
|
+
"tabList": "s56VVa_tabList",
|
|
7120
|
+
"browserBlockedButton": "s56VVa_browserBlockedButton",
|
|
7121
|
+
"mermaidPendingPulse": "s56VVa_mermaidPendingPulse",
|
|
7122
|
+
"dirtyDot": "s56VVa_dirtyDot",
|
|
7123
|
+
"editorMd": "s56VVa_editorMd"
|
|
7124
7124
|
};
|
|
7125
7125
|
//#endregion
|
|
7126
7126
|
//#region ../../../DSH-better-sidebar/src/client/reveal-bus.ts
|
|
@@ -9384,7 +9384,11 @@ window.__ModuleLoader__.load({
|
|
|
9384
9384
|
compact: true,
|
|
9385
9385
|
align: "start",
|
|
9386
9386
|
getAnchorRect: () => rowMenu === null ? null : new DOMRect(rowMenu.x, rowMenu.y, 0, 0),
|
|
9387
|
-
anchor: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {})
|
|
9387
|
+
anchor: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {}),
|
|
9388
|
+
...rowMenu === null ? {} : { anchorPoint: {
|
|
9389
|
+
x: rowMenu.x,
|
|
9390
|
+
y: rowMenu.y
|
|
9391
|
+
} }
|
|
9388
9392
|
}),
|
|
9389
9393
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(ConfirmDialog, {
|
|
9390
9394
|
open: confirmDelete !== null,
|
|
@@ -9512,6 +9516,55 @@ window.__ModuleLoader__.load({
|
|
|
9512
9516
|
}
|
|
9513
9517
|
var KnowledgeFileTree_module_css_default = { "treeFrame": "_2iOZpG_treeFrame" };
|
|
9514
9518
|
//#endregion
|
|
9519
|
+
//#region src/client/referenceTargets.ts
|
|
9520
|
+
/**
|
|
9521
|
+
* The entries a picker opened on `relPath` should insert.
|
|
9522
|
+
*
|
|
9523
|
+
* A multi-row selection wins when it contains the clicked row, because that is the set
|
|
9524
|
+
* the reader could see highlighted. Otherwise the click is a single-row action on the row
|
|
9525
|
+
* under the pointer -- which is also what happens when the clicked row sits outside the
|
|
9526
|
+
* selection, since acting on a batch the reader did not point at would be a surprise.
|
|
9527
|
+
* @param relPath - the row the `@` button was pressed on.
|
|
9528
|
+
* @param selection - the rows the explorer reports as selected, if any.
|
|
9529
|
+
* @returns One target, or every selected row when the click was inside the selection.
|
|
9530
|
+
*/
|
|
9531
|
+
function referenceTargetsFor(relPath, selection) {
|
|
9532
|
+
if (!(selection !== void 0 && selection.length > 1 && selection.some((row) => row.relPath === relPath))) return [{
|
|
9533
|
+
path: relPath,
|
|
9534
|
+
isDir: false
|
|
9535
|
+
}];
|
|
9536
|
+
return selection.map((row) => ({
|
|
9537
|
+
path: row.relPath,
|
|
9538
|
+
isDir: row.isDir
|
|
9539
|
+
}));
|
|
9540
|
+
}
|
|
9541
|
+
/**
|
|
9542
|
+
* The rows a menu opened on one row should act on.
|
|
9543
|
+
*
|
|
9544
|
+
* Mirrors {@link referenceTargetsFor}: a right-click inside a multi-selection acts on the
|
|
9545
|
+
* whole selection, and anywhere else acts on the one row. The menu and the picker must
|
|
9546
|
+
* agree, or a "delete 3 items" dialog would reference four.
|
|
9547
|
+
* @param target - the row under the pointer.
|
|
9548
|
+
* @param selection - the rows marked selected, if any.
|
|
9549
|
+
* @returns The rows the batch entries cover, or an empty list for a single-row menu.
|
|
9550
|
+
*/
|
|
9551
|
+
function batchRowsFor(target, selection) {
|
|
9552
|
+
if (selection === void 0 || selection.length < 2) return [];
|
|
9553
|
+
return selection.some((row) => row.relPath === target.relPath) ? [...selection] : [];
|
|
9554
|
+
}
|
|
9555
|
+
/**
|
|
9556
|
+
* Fill a batch label's `{n}` placeholder.
|
|
9557
|
+
*
|
|
9558
|
+
* A separate function so the count is formatted in one place: a label that prints the
|
|
9559
|
+
* rows it will touch must never print a different number from the rows it does touch.
|
|
9560
|
+
* @param template - the locale string, containing `{n}`.
|
|
9561
|
+
* @param count - how many rows.
|
|
9562
|
+
* @returns The label with the count substituted.
|
|
9563
|
+
*/
|
|
9564
|
+
function batchLabel(template, count) {
|
|
9565
|
+
return template.replace("{n}", String(count));
|
|
9566
|
+
}
|
|
9567
|
+
//#endregion
|
|
9515
9568
|
//#region src/client/progressRules.ts
|
|
9516
9569
|
/**
|
|
9517
9570
|
* A failure reason that survives a response which is not JSON.
|
|
@@ -9687,6 +9740,7 @@ window.__ModuleLoader__.load({
|
|
|
9687
9740
|
grantsManaged: "Authorization is managed in DataOps.",
|
|
9688
9741
|
menu: "Sections",
|
|
9689
9742
|
"menu.search": "Search",
|
|
9743
|
+
actionOpen: "Open preview",
|
|
9690
9744
|
actionDownload: "Download",
|
|
9691
9745
|
actionRename: "Rename…",
|
|
9692
9746
|
actionPin: "Pin",
|
|
@@ -10419,6 +10473,7 @@ window.__ModuleLoader__.load({
|
|
|
10419
10473
|
grantsManaged: "授权由 DataOps 管理",
|
|
10420
10474
|
menu: "分区",
|
|
10421
10475
|
"menu.search": "搜索",
|
|
10476
|
+
actionOpen: "打开预览",
|
|
10422
10477
|
actionDownload: "下载",
|
|
10423
10478
|
actionRename: "重命名…",
|
|
10424
10479
|
actionPin: "置顶",
|
|
@@ -11214,20 +11269,39 @@ window.__ModuleLoader__.load({
|
|
|
11214
11269
|
return title.split(" — ")[0];
|
|
11215
11270
|
}
|
|
11216
11271
|
/**
|
|
11272
|
+
* The row element containing one node.
|
|
11273
|
+
*
|
|
11274
|
+
* The explorer marks rows with a class from its CSS module, whose generated name is not
|
|
11275
|
+
* importable here; the role and the row shape are. Walking up to the nearest element with
|
|
11276
|
+
* `role="button"` reaches the row without depending on the module's hash.
|
|
11277
|
+
* @param node - any node inside a row.
|
|
11278
|
+
* @returns The row element, or null when the node is not inside one.
|
|
11279
|
+
*/
|
|
11280
|
+
function rowOf(node) {
|
|
11281
|
+
return node.closest("[role=\"button\"]");
|
|
11282
|
+
}
|
|
11283
|
+
/**
|
|
11284
|
+
* Whether one explorer row is a directory.
|
|
11285
|
+
*
|
|
11286
|
+
* The explorer marks directory rows with a class from its CSS module, whose generated
|
|
11287
|
+
* name cannot be imported here. CSS modules keep the original name inside the generated
|
|
11288
|
+
* one, so matching the fragment finds the marker without depending on the hash.
|
|
11289
|
+
* @param row - one explorer row.
|
|
11290
|
+
* @returns True for a directory row.
|
|
11291
|
+
*/
|
|
11292
|
+
function isDirRow(row) {
|
|
11293
|
+
return /(^|\s)[A-Za-z0-9_-]*explorerDir(\s|$)/u.test(row.getAttribute("class") ?? "");
|
|
11294
|
+
}
|
|
11295
|
+
/**
|
|
11217
11296
|
* Keep the borrowed explorer's rows in step with the caller's favourites.
|
|
11218
11297
|
*
|
|
11219
|
-
* The explorer has no row-decoration hook
|
|
11220
|
-
*
|
|
11221
|
-
*
|
|
11298
|
+
* The explorer has no row-decoration hook, so the star is applied by observing the rows
|
|
11299
|
+
* after they render. It is inserted before the row's timestamp (the placement the reader
|
|
11300
|
+
* asked for), once and then toggled, so a re-render does not stack a second star.
|
|
11222
11301
|
*
|
|
11223
|
-
*
|
|
11224
|
-
*
|
|
11225
|
-
*
|
|
11226
|
-
* - The context menu is NOT touched. The explorer builds its own menu and offers no way
|
|
11227
|
-
* to append to it, so the only possible interference was replacement -- and replacing
|
|
11228
|
-
* it removed the six actions a reader already relies on. The star is all this hook
|
|
11229
|
-
* does; the plugin's own actions live in the selection bar, which appears on selection
|
|
11230
|
-
* and competes with nothing.
|
|
11302
|
+
* The row menu is handled by {@link useRowContextMenu}, not here: decoration and the
|
|
11303
|
+
* gesture are separate decisions, and the upload destination picker needs the star (it
|
|
11304
|
+
* marks the chosen folder) while it must keep the explorer's own menu.
|
|
11231
11305
|
*
|
|
11232
11306
|
* A MutationObserver drives it, because every expansion re-renders rows and a one-shot
|
|
11233
11307
|
* pass on mount would decorate only the top level.
|
|
@@ -11437,8 +11511,67 @@ window.__ModuleLoader__.load({
|
|
|
11437
11511
|
return () => {
|
|
11438
11512
|
observer.disconnect();
|
|
11439
11513
|
};
|
|
11440
|
-
}, [actions]);
|
|
11441
|
-
return onContextMenu;
|
|
11514
|
+
}, [actions]);
|
|
11515
|
+
return onContextMenu;
|
|
11516
|
+
}
|
|
11517
|
+
/**
|
|
11518
|
+
* Hand a row's right-click to the page's knowledge menu.
|
|
11519
|
+
*
|
|
11520
|
+
* The listener is a normal bubble-phase React capture handler: it runs before the
|
|
11521
|
+
* explorer's own row handler, which is why it can suppress that handler and open one
|
|
11522
|
+
* menu instead of two. The row, its directory flag and the selected set are read from
|
|
11523
|
+
* the DOM the explorer already rendered -- `data-dsh-selected` is the only selection
|
|
11524
|
+
* state it publishes -- so the menu acts on exactly the rows the reader saw highlighted.
|
|
11525
|
+
*
|
|
11526
|
+
* Omitted `onRowContextMenu` leaves the gesture untouched; that is what keeps the upload
|
|
11527
|
+
* destination picker's explorer menu working.
|
|
11528
|
+
* @param options - the wrapping element, the root, and the caller's menu opener.
|
|
11529
|
+
* @returns The capture handler for the wrapping element.
|
|
11530
|
+
*/
|
|
11531
|
+
function useRowContextMenu(options) {
|
|
11532
|
+
const { container, root, onRowContextMenu } = options;
|
|
11533
|
+
const relPathOf = (0, react.useCallback)((absolute) => {
|
|
11534
|
+
const base = root.endsWith("/") ? root.slice(0, -1) : root;
|
|
11535
|
+
if (absolute === base) return "";
|
|
11536
|
+
return absolute.startsWith(base + "/") ? absolute.slice(base.length + 1) : void 0;
|
|
11537
|
+
}, [root]);
|
|
11538
|
+
return (0, react.useCallback)((event) => {
|
|
11539
|
+
if (onRowContextMenu === void 0) return;
|
|
11540
|
+
const node = event.target instanceof Element ? event.target : null;
|
|
11541
|
+
const row = node === null ? null : rowOf(node);
|
|
11542
|
+
if (row === null) return;
|
|
11543
|
+
const absolute = rowPathOf(row);
|
|
11544
|
+
if (absolute === void 0) return;
|
|
11545
|
+
const relPath = relPathOf(absolute);
|
|
11546
|
+
if (relPath === void 0 || relPath === "") return;
|
|
11547
|
+
event.preventDefault();
|
|
11548
|
+
event.stopPropagation();
|
|
11549
|
+
const target = {
|
|
11550
|
+
relPath,
|
|
11551
|
+
name: relPath.split("/").pop() ?? relPath,
|
|
11552
|
+
isDir: isDirRow(row)
|
|
11553
|
+
};
|
|
11554
|
+
const host = container.current;
|
|
11555
|
+
const covered = batchRowsFor(target, host === null ? [] : [...host.querySelectorAll("[data-dsh-selected=\"true\"]")].flatMap((candidate) => {
|
|
11556
|
+
const candidateAbsolute = rowPathOf(candidate);
|
|
11557
|
+
if (candidateAbsolute === void 0) return [];
|
|
11558
|
+
const candidateRel = relPathOf(candidateAbsolute);
|
|
11559
|
+
if (candidateRel === void 0 || candidateRel === "") return [];
|
|
11560
|
+
return [{
|
|
11561
|
+
relPath: candidateRel,
|
|
11562
|
+
name: candidateRel.split("/").pop() ?? candidateRel,
|
|
11563
|
+
isDir: isDirRow(candidate)
|
|
11564
|
+
}];
|
|
11565
|
+
}));
|
|
11566
|
+
onRowContextMenu(target, {
|
|
11567
|
+
x: event.clientX,
|
|
11568
|
+
y: event.clientY
|
|
11569
|
+
}, covered.length > 0 ? covered : void 0);
|
|
11570
|
+
}, [
|
|
11571
|
+
container,
|
|
11572
|
+
onRowContextMenu,
|
|
11573
|
+
relPathOf
|
|
11574
|
+
]);
|
|
11442
11575
|
}
|
|
11443
11576
|
/**
|
|
11444
11577
|
* The knowledge tree, rendered by the product's file explorer.
|
|
@@ -11479,9 +11612,9 @@ window.__ModuleLoader__.load({
|
|
|
11479
11612
|
/**
|
|
11480
11613
|
* The element wrapping the explorer, which the row decoration observes.
|
|
11481
11614
|
*
|
|
11482
|
-
* The explorer renders its own rows, so
|
|
11483
|
-
*
|
|
11484
|
-
* `
|
|
11615
|
+
* The explorer renders its own rows, so the star and the row gesture are applied from
|
|
11616
|
+
* outside through this element. See `useRowDecoration` for the star and
|
|
11617
|
+
* `useRowContextMenu` for the knowledge menu.
|
|
11485
11618
|
*/
|
|
11486
11619
|
const container = (0, react.useRef)(null);
|
|
11487
11620
|
const mtimes = useRowTimes({
|
|
@@ -11573,6 +11706,11 @@ window.__ModuleLoader__.load({
|
|
|
11573
11706
|
props
|
|
11574
11707
|
])
|
|
11575
11708
|
});
|
|
11709
|
+
const onRowContextMenu = useRowContextMenu({
|
|
11710
|
+
container,
|
|
11711
|
+
root,
|
|
11712
|
+
onRowContextMenu: props.onRowContextMenu
|
|
11713
|
+
});
|
|
11576
11714
|
/** Every exclusion pattern at once, in the one array identity the explorer keys on. */
|
|
11577
11715
|
const exclude = (0, react.useMemo)(() => [...METADATA_NAMES.map((name) => `**/${name}`), "**/知识图谱"], []);
|
|
11578
11716
|
/**
|
|
@@ -11608,7 +11746,7 @@ window.__ModuleLoader__.load({
|
|
|
11608
11746
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
11609
11747
|
ref: container,
|
|
11610
11748
|
className: KnowledgeFileTree_module_css_default.treeFrame,
|
|
11611
|
-
onContextMenuCapture: onTreeContextMenu,
|
|
11749
|
+
onContextMenuCapture: props.onRowContextMenu === void 0 ? onTreeContextMenu : onRowContextMenu,
|
|
11612
11750
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FileTree, {
|
|
11613
11751
|
sessionId,
|
|
11614
11752
|
cwd: root,
|
|
@@ -12608,21 +12746,21 @@ window.__ModuleLoader__.load({
|
|
|
12608
12746
|
document.head.appendChild(tag);
|
|
12609
12747
|
}
|
|
12610
12748
|
var KnowledgeShareDialog_module_css_default = {
|
|
12611
|
-
"chosenLabel": "nw--rq_chosenLabel",
|
|
12612
|
-
"notice": "nw--rq_notice",
|
|
12613
12749
|
"intro": "nw--rq_intro",
|
|
12614
|
-
"
|
|
12750
|
+
"list": "nw--rq_list",
|
|
12751
|
+
"chosen": "nw--rq_chosen",
|
|
12752
|
+
"fieldLabel": "nw--rq_fieldLabel",
|
|
12753
|
+
"notice": "nw--rq_notice",
|
|
12615
12754
|
"option": "nw--rq_option",
|
|
12755
|
+
"content": "nw--rq_content",
|
|
12616
12756
|
"hint": "nw--rq_hint",
|
|
12617
|
-
"
|
|
12757
|
+
"optionLabel": "nw--rq_optionLabel",
|
|
12618
12758
|
"optionDetail": "nw--rq_optionDetail",
|
|
12619
12759
|
"dialog": "nw--rq_dialog",
|
|
12620
|
-
"body": "nw--rq_body",
|
|
12621
|
-
"fieldLabel": "nw--rq_fieldLabel",
|
|
12622
|
-
"optionLabel": "nw--rq_optionLabel",
|
|
12623
|
-
"content": "nw--rq_content",
|
|
12624
12760
|
"state": "nw--rq_state",
|
|
12625
|
-
"
|
|
12761
|
+
"field": "nw--rq_field",
|
|
12762
|
+
"body": "nw--rq_body",
|
|
12763
|
+
"chosenLabel": "nw--rq_chosenLabel"
|
|
12626
12764
|
};
|
|
12627
12765
|
//#endregion
|
|
12628
12766
|
//#region src/client/KnowledgeShareDialog.tsx
|
|
@@ -12990,55 +13128,6 @@ window.__ModuleLoader__.load({
|
|
|
12990
13128
|
});
|
|
12991
13129
|
}
|
|
12992
13130
|
//#endregion
|
|
12993
|
-
//#region src/client/referenceTargets.ts
|
|
12994
|
-
/**
|
|
12995
|
-
* The entries a picker opened on `relPath` should insert.
|
|
12996
|
-
*
|
|
12997
|
-
* A multi-row selection wins when it contains the clicked row, because that is the set
|
|
12998
|
-
* the reader could see highlighted. Otherwise the click is a single-row action on the row
|
|
12999
|
-
* under the pointer -- which is also what happens when the clicked row sits outside the
|
|
13000
|
-
* selection, since acting on a batch the reader did not point at would be a surprise.
|
|
13001
|
-
* @param relPath - the row the `@` button was pressed on.
|
|
13002
|
-
* @param selection - the rows the explorer reports as selected, if any.
|
|
13003
|
-
* @returns One target, or every selected row when the click was inside the selection.
|
|
13004
|
-
*/
|
|
13005
|
-
function referenceTargetsFor(relPath, selection) {
|
|
13006
|
-
if (!(selection !== void 0 && selection.length > 1 && selection.some((row) => row.relPath === relPath))) return [{
|
|
13007
|
-
path: relPath,
|
|
13008
|
-
isDir: false
|
|
13009
|
-
}];
|
|
13010
|
-
return selection.map((row) => ({
|
|
13011
|
-
path: row.relPath,
|
|
13012
|
-
isDir: row.isDir
|
|
13013
|
-
}));
|
|
13014
|
-
}
|
|
13015
|
-
/**
|
|
13016
|
-
* The rows a menu opened on one row should act on.
|
|
13017
|
-
*
|
|
13018
|
-
* Mirrors {@link referenceTargetsFor}: a right-click inside a multi-selection acts on the
|
|
13019
|
-
* whole selection, and anywhere else acts on the one row. The menu and the picker must
|
|
13020
|
-
* agree, or a "delete 3 items" dialog would reference four.
|
|
13021
|
-
* @param target - the row under the pointer.
|
|
13022
|
-
* @param selection - the rows marked selected, if any.
|
|
13023
|
-
* @returns The rows the batch entries cover, or an empty list for a single-row menu.
|
|
13024
|
-
*/
|
|
13025
|
-
function batchRowsFor(target, selection) {
|
|
13026
|
-
if (selection === void 0 || selection.length < 2) return [];
|
|
13027
|
-
return selection.some((row) => row.relPath === target.relPath) ? [...selection] : [];
|
|
13028
|
-
}
|
|
13029
|
-
/**
|
|
13030
|
-
* Fill a batch label's `{n}` placeholder.
|
|
13031
|
-
*
|
|
13032
|
-
* A separate function so the count is formatted in one place: a label that prints the
|
|
13033
|
-
* rows it will touch must never print a different number from the rows it does touch.
|
|
13034
|
-
* @param template - the locale string, containing `{n}`.
|
|
13035
|
-
* @param count - how many rows.
|
|
13036
|
-
* @returns The label with the count substituted.
|
|
13037
|
-
*/
|
|
13038
|
-
function batchLabel(template, count) {
|
|
13039
|
-
return template.replace("{n}", String(count));
|
|
13040
|
-
}
|
|
13041
|
-
//#endregion
|
|
13042
13131
|
//#region src/client/KnowledgeContextMenu.tsx
|
|
13043
13132
|
/**
|
|
13044
13133
|
* The row context menu for the knowledge tree.
|
|
@@ -13172,6 +13261,42 @@ window.__ModuleLoader__.load({
|
|
|
13172
13261
|
setBusy(false);
|
|
13173
13262
|
}
|
|
13174
13263
|
};
|
|
13264
|
+
/**
|
|
13265
|
+
* Move one row into a typed destination directory.
|
|
13266
|
+
*
|
|
13267
|
+
* The prompt is the same gesture the batch bar uses, and the page resolves both ends
|
|
13268
|
+
* through the caller's authoritative path -- a view path for `personal` omits the
|
|
13269
|
+
* owner segment, so sending the view path unchanged would move a path the Host does
|
|
13270
|
+
* not know. The caller's handler owns that resolution and reports its own refusal;
|
|
13271
|
+
* this component only closes and refreshes on success.
|
|
13272
|
+
*/
|
|
13273
|
+
const move = async (row) => {
|
|
13274
|
+
if (props.onMove === void 0) {
|
|
13275
|
+
onClose();
|
|
13276
|
+
return;
|
|
13277
|
+
}
|
|
13278
|
+
const answer = window.prompt(t("moveSelected"), "");
|
|
13279
|
+
if (answer === null) {
|
|
13280
|
+
onClose();
|
|
13281
|
+
return;
|
|
13282
|
+
}
|
|
13283
|
+
const destination = answer.trim();
|
|
13284
|
+
if (destination === "") {
|
|
13285
|
+
onClose();
|
|
13286
|
+
return;
|
|
13287
|
+
}
|
|
13288
|
+
setBusy(true);
|
|
13289
|
+
setNotice(void 0);
|
|
13290
|
+
try {
|
|
13291
|
+
await props.onMove(row, destination);
|
|
13292
|
+
onClose();
|
|
13293
|
+
props.onMoved();
|
|
13294
|
+
} catch (error) {
|
|
13295
|
+
setNotice(t("moveFailed").replace("{reason}", error instanceof Error ? error.message : String(error)));
|
|
13296
|
+
} finally {
|
|
13297
|
+
setBusy(false);
|
|
13298
|
+
}
|
|
13299
|
+
};
|
|
13175
13300
|
/** Remove the row into the caller's own trash. */
|
|
13176
13301
|
/**
|
|
13177
13302
|
* Run one request per row and report how many failed.
|
|
@@ -13337,6 +13462,11 @@ window.__ModuleLoader__.load({
|
|
|
13337
13462
|
*/
|
|
13338
13463
|
const favoriteAll = many > 0 && batch.every((entry) => props.favorite);
|
|
13339
13464
|
const items = row !== null ? [
|
|
13465
|
+
...many === 0 && !row.isDir && props.onOpen !== void 0 ? [{
|
|
13466
|
+
id: "open",
|
|
13467
|
+
label: t("actionOpen"),
|
|
13468
|
+
disabled: busy
|
|
13469
|
+
}] : [],
|
|
13340
13470
|
...many === 0 && !row.isDir ? [{
|
|
13341
13471
|
id: "download",
|
|
13342
13472
|
label: t("actionDownload"),
|
|
@@ -13387,10 +13517,15 @@ window.__ModuleLoader__.load({
|
|
|
13387
13517
|
type: "separator",
|
|
13388
13518
|
id: "sep-3"
|
|
13389
13519
|
},
|
|
13390
|
-
{
|
|
13520
|
+
...many === 0 && props.onMove !== void 0 ? [{
|
|
13521
|
+
id: "move",
|
|
13522
|
+
label: t("moveSelected"),
|
|
13523
|
+
disabled: busy
|
|
13524
|
+
}] : [],
|
|
13525
|
+
...many === 0 && props.canManageGrants === true && props.onGrant !== void 0 ? [{
|
|
13391
13526
|
id: "grant",
|
|
13392
13527
|
label: t("actionPermissions")
|
|
13393
|
-
},
|
|
13528
|
+
}] : [],
|
|
13394
13529
|
{
|
|
13395
13530
|
id: "delete",
|
|
13396
13531
|
label: many > 0 ? count("actionDeleteMany") : t("actionDelete"),
|
|
@@ -13405,6 +13540,11 @@ window.__ModuleLoader__.load({
|
|
|
13405
13540
|
items,
|
|
13406
13541
|
onSelect: (id) => {
|
|
13407
13542
|
if (row === null) return;
|
|
13543
|
+
if (id === "open") {
|
|
13544
|
+
props.onOpen?.(row.relPath);
|
|
13545
|
+
onClose();
|
|
13546
|
+
return;
|
|
13547
|
+
}
|
|
13408
13548
|
if (id === "download") {
|
|
13409
13549
|
download(row);
|
|
13410
13550
|
return;
|
|
@@ -13450,8 +13590,12 @@ window.__ModuleLoader__.load({
|
|
|
13450
13590
|
onClose();
|
|
13451
13591
|
return;
|
|
13452
13592
|
}
|
|
13593
|
+
if (id === "move") {
|
|
13594
|
+
move(row);
|
|
13595
|
+
return;
|
|
13596
|
+
}
|
|
13453
13597
|
if (id === "grant") {
|
|
13454
|
-
props.onGrant(row.relPath);
|
|
13598
|
+
props.onGrant?.(row.relPath);
|
|
13455
13599
|
onClose();
|
|
13456
13600
|
}
|
|
13457
13601
|
if (id === "delete") {
|
|
@@ -13465,6 +13609,10 @@ window.__ModuleLoader__.load({
|
|
|
13465
13609
|
onClose,
|
|
13466
13610
|
portal: true,
|
|
13467
13611
|
getAnchorRect,
|
|
13612
|
+
...at === null ? {} : { anchorPoint: {
|
|
13613
|
+
x: at.x,
|
|
13614
|
+
y: at.y
|
|
13615
|
+
} },
|
|
13468
13616
|
side: "bottom",
|
|
13469
13617
|
align: "start",
|
|
13470
13618
|
autoFocus: true
|
|
@@ -14901,9 +15049,13 @@ window.__ModuleLoader__.load({
|
|
|
14901
15049
|
favorite: menu === null ? false : props.isFavorite?.(menu.target.relPath) === true,
|
|
14902
15050
|
clipboard,
|
|
14903
15051
|
pasteInto: menu === null ? null : menu.target.relPath.includes("/") ? menu.target.relPath.slice(0, menu.target.relPath.lastIndexOf("/")) : "",
|
|
15052
|
+
onOpen: (path) => {
|
|
15053
|
+
props.onOpen(path);
|
|
15054
|
+
},
|
|
14904
15055
|
onClose: () => {
|
|
14905
15056
|
setMenu(null);
|
|
14906
15057
|
},
|
|
15058
|
+
canManageGrants: props.canManageGrants === true,
|
|
14907
15059
|
onGrant: (path) => {
|
|
14908
15060
|
props.onGrant?.(path);
|
|
14909
15061
|
},
|
|
@@ -14990,46 +15142,46 @@ window.__ModuleLoader__.load({
|
|
|
14990
15142
|
document.head.appendChild(tag);
|
|
14991
15143
|
}
|
|
14992
15144
|
var KnowledgePermissions_module_css_default = {
|
|
14993
|
-
"
|
|
14994
|
-
"
|
|
14995
|
-
"
|
|
14996
|
-
"
|
|
14997
|
-
"
|
|
14998
|
-
"overviewEmpty": "W1jiya_overviewEmpty",
|
|
14999
|
-
"dialogForm": "W1jiya_dialogForm",
|
|
15000
|
-
"linkButton": "W1jiya_linkButton",
|
|
15001
|
-
"tabs": "W1jiya_tabs",
|
|
15002
|
-
"holderKind": "W1jiya_holderKind",
|
|
15003
|
-
"placeholder": "W1jiya_placeholder",
|
|
15004
|
-
"principalId": "W1jiya_principalId",
|
|
15005
|
-
"statValue": "W1jiya_statValue",
|
|
15006
|
-
"path": "W1jiya_path",
|
|
15145
|
+
"pageHint": "W1jiya_pageHint",
|
|
15146
|
+
"pagerStatus": "W1jiya_pagerStatus",
|
|
15147
|
+
"sourceCell": "W1jiya_sourceCell",
|
|
15148
|
+
"pageTitle": "W1jiya_pageTitle",
|
|
15149
|
+
"paths": "W1jiya_paths",
|
|
15007
15150
|
"dialogSelect": "W1jiya_dialogSelect",
|
|
15008
|
-
"partialMark": "W1jiya_partialMark",
|
|
15009
|
-
"actions": "W1jiya_actions",
|
|
15010
|
-
"pageHead": "W1jiya_pageHead",
|
|
15011
|
-
"dialogNotice": "W1jiya_dialogNotice",
|
|
15012
|
-
"pageSize": "W1jiya_pageSize",
|
|
15013
|
-
"sourceHint": "W1jiya_sourceHint",
|
|
15014
|
-
"actionCell": "W1jiya_actionCell",
|
|
15015
|
-
"overview": "W1jiya_overview",
|
|
15016
15151
|
"rowActions": "W1jiya_rowActions",
|
|
15017
|
-
"pageTitle": "W1jiya_pageTitle",
|
|
15018
|
-
"pageHint": "W1jiya_pageHint",
|
|
15019
15152
|
"statRow": "W1jiya_statRow",
|
|
15020
|
-
"paths": "W1jiya_paths",
|
|
15021
|
-
"table": "W1jiya_table",
|
|
15022
|
-
"holders": "W1jiya_holders",
|
|
15023
|
-
"emptyNote": "W1jiya_emptyNote",
|
|
15024
|
-
"pathCell": "W1jiya_pathCell",
|
|
15025
15153
|
"emptyRow": "W1jiya_emptyRow",
|
|
15026
|
-
"
|
|
15154
|
+
"dialogNotice": "W1jiya_dialogNotice",
|
|
15027
15155
|
"principalName": "W1jiya_principalName",
|
|
15156
|
+
"statValue": "W1jiya_statValue",
|
|
15157
|
+
"statLabel": "W1jiya_statLabel",
|
|
15158
|
+
"overview": "W1jiya_overview",
|
|
15159
|
+
"actionCell": "W1jiya_actionCell",
|
|
15160
|
+
"placeholder": "W1jiya_placeholder",
|
|
15161
|
+
"dialogField": "W1jiya_dialogField",
|
|
15028
15162
|
"countCell": "W1jiya_countCell",
|
|
15163
|
+
"table": "W1jiya_table",
|
|
15164
|
+
"principalId": "W1jiya_principalId",
|
|
15165
|
+
"pager": "W1jiya_pager",
|
|
15166
|
+
"pageSize": "W1jiya_pageSize",
|
|
15167
|
+
"chips": "W1jiya_chips",
|
|
15168
|
+
"actions": "W1jiya_actions",
|
|
15169
|
+
"pathCell": "W1jiya_pathCell",
|
|
15170
|
+
"holders": "W1jiya_holders",
|
|
15171
|
+
"overviewEmpty": "W1jiya_overviewEmpty",
|
|
15172
|
+
"emptyNote": "W1jiya_emptyNote",
|
|
15173
|
+
"tabs": "W1jiya_tabs",
|
|
15174
|
+
"statCard": "W1jiya_statCard",
|
|
15175
|
+
"linkButton": "W1jiya_linkButton",
|
|
15176
|
+
"holder": "W1jiya_holder",
|
|
15177
|
+
"holderKind": "W1jiya_holderKind",
|
|
15029
15178
|
"holderName": "W1jiya_holderName",
|
|
15030
|
-
"
|
|
15031
|
-
"
|
|
15032
|
-
"
|
|
15179
|
+
"pageHead": "W1jiya_pageHead",
|
|
15180
|
+
"sourceHint": "W1jiya_sourceHint",
|
|
15181
|
+
"partialMark": "W1jiya_partialMark",
|
|
15182
|
+
"principalMeta": "W1jiya_principalMeta",
|
|
15183
|
+
"path": "W1jiya_path",
|
|
15184
|
+
"dialogForm": "W1jiya_dialogForm"
|
|
15033
15185
|
};
|
|
15034
15186
|
//#endregion
|
|
15035
15187
|
//#region src/client/KnowledgeTrash.tsx
|
|
@@ -15349,14 +15501,14 @@ window.__ModuleLoader__.load({
|
|
|
15349
15501
|
document.head.appendChild(tag);
|
|
15350
15502
|
}
|
|
15351
15503
|
var KnowledgeAudit_module_css_default = {
|
|
15504
|
+
"pagerSize": "_0xqcPG_pagerSize",
|
|
15505
|
+
"pathCell": "_0xqcPG_pathCell",
|
|
15352
15506
|
"tabs": "_0xqcPG_tabs",
|
|
15507
|
+
"pagerPosition": "_0xqcPG_pagerPosition",
|
|
15353
15508
|
"pagerSizeLabel": "_0xqcPG_pagerSizeLabel",
|
|
15354
|
-
"pagerSize": "_0xqcPG_pagerSize",
|
|
15355
|
-
"pager": "_0xqcPG_pager",
|
|
15356
15509
|
"audit": "_0xqcPG_audit",
|
|
15357
|
-
"pathCell": "_0xqcPG_pathCell",
|
|
15358
15510
|
"pagerTotal": "_0xqcPG_pagerTotal",
|
|
15359
|
-
"
|
|
15511
|
+
"pager": "_0xqcPG_pager"
|
|
15360
15512
|
};
|
|
15361
15513
|
//#endregion
|
|
15362
15514
|
//#region src/client/KnowledgeAudit.tsx
|
|
@@ -15924,46 +16076,46 @@ window.__ModuleLoader__.load({
|
|
|
15924
16076
|
document.head.appendChild(tag);
|
|
15925
16077
|
}
|
|
15926
16078
|
var KnowledgeMemory_module_css_default = {
|
|
15927
|
-
"
|
|
15928
|
-
"select": "_2H9JWq_select",
|
|
15929
|
-
"switchGroup": "_2H9JWq_switchGroup",
|
|
15930
|
-
"textarea": "_2H9JWq_textarea",
|
|
15931
|
-
"table": "_2H9JWq_table",
|
|
16079
|
+
"header": "_2H9JWq_header",
|
|
15932
16080
|
"title": "_2H9JWq_title",
|
|
16081
|
+
"noticeRow": "_2H9JWq_noticeRow",
|
|
16082
|
+
"switchGroup": "_2H9JWq_switchGroup",
|
|
16083
|
+
"privacyChip": "_2H9JWq_privacyChip",
|
|
15933
16084
|
"heading": "_2H9JWq_heading",
|
|
15934
|
-
"
|
|
16085
|
+
"page": "_2H9JWq_page",
|
|
16086
|
+
"memoryCell": "_2H9JWq_memoryCell",
|
|
16087
|
+
"sourceTime": "_2H9JWq_sourceTime",
|
|
16088
|
+
"memoryTitle": "_2H9JWq_memoryTitle",
|
|
16089
|
+
"pausedNotice": "_2H9JWq_pausedNotice",
|
|
15935
16090
|
"detailLabel": "_2H9JWq_detailLabel",
|
|
15936
|
-
"rowActions": "_2H9JWq_rowActions",
|
|
15937
|
-
"emptyBody": "_2H9JWq_emptyBody",
|
|
15938
|
-
"sourceLabel": "_2H9JWq_sourceLabel",
|
|
15939
|
-
"timeCell": "_2H9JWq_timeCell",
|
|
15940
16091
|
"actionsHead": "_2H9JWq_actionsHead",
|
|
15941
|
-
"switchState": "_2H9JWq_switchState",
|
|
15942
|
-
"toolbar": "_2H9JWq_toolbar",
|
|
15943
|
-
"state": "_2H9JWq_state",
|
|
15944
|
-
"pausedNotice": "_2H9JWq_pausedNotice",
|
|
15945
|
-
"page": "_2H9JWq_page",
|
|
15946
|
-
"noticeRow": "_2H9JWq_noticeRow",
|
|
15947
|
-
"privacyChip": "_2H9JWq_privacyChip",
|
|
15948
|
-
"detailBody": "_2H9JWq_detailBody",
|
|
15949
|
-
"emptyTitle": "_2H9JWq_emptyTitle",
|
|
15950
|
-
"empty": "_2H9JWq_empty",
|
|
15951
16092
|
"error": "_2H9JWq_error",
|
|
15952
|
-
"
|
|
15953
|
-
"search": "_2H9JWq_search",
|
|
16093
|
+
"sourceLabel": "_2H9JWq_sourceLabel",
|
|
15954
16094
|
"sourceMore": "_2H9JWq_sourceMore",
|
|
16095
|
+
"hint": "_2H9JWq_hint",
|
|
15955
16096
|
"detailMeta": "_2H9JWq_detailMeta",
|
|
15956
|
-
"
|
|
16097
|
+
"textarea": "_2H9JWq_textarea",
|
|
16098
|
+
"search": "_2H9JWq_search",
|
|
15957
16099
|
"detailContent": "_2H9JWq_detailContent",
|
|
15958
|
-
"sourceList": "_2H9JWq_sourceList",
|
|
15959
|
-
"evidence": "_2H9JWq_evidence",
|
|
15960
|
-
"tableWrap": "_2H9JWq_tableWrap",
|
|
15961
16100
|
"typeChip": "_2H9JWq_typeChip",
|
|
15962
|
-
"memoryTitle": "_2H9JWq_memoryTitle",
|
|
15963
|
-
"memoryCell": "_2H9JWq_memoryCell",
|
|
15964
|
-
"errorDetail": "_2H9JWq_errorDetail",
|
|
15965
16101
|
"footer": "_2H9JWq_footer",
|
|
15966
|
-
"
|
|
16102
|
+
"errorDetail": "_2H9JWq_errorDetail",
|
|
16103
|
+
"state": "_2H9JWq_state",
|
|
16104
|
+
"evidence": "_2H9JWq_evidence",
|
|
16105
|
+
"select": "_2H9JWq_select",
|
|
16106
|
+
"table": "_2H9JWq_table",
|
|
16107
|
+
"rowActions": "_2H9JWq_rowActions",
|
|
16108
|
+
"emptyTitle": "_2H9JWq_emptyTitle",
|
|
16109
|
+
"detailBody": "_2H9JWq_detailBody",
|
|
16110
|
+
"sourceList": "_2H9JWq_sourceList",
|
|
16111
|
+
"emptyBody": "_2H9JWq_emptyBody",
|
|
16112
|
+
"timeCell": "_2H9JWq_timeCell",
|
|
16113
|
+
"toolbar": "_2H9JWq_toolbar",
|
|
16114
|
+
"tableWrap": "_2H9JWq_tableWrap",
|
|
16115
|
+
"empty": "_2H9JWq_empty",
|
|
16116
|
+
"notice": "_2H9JWq_notice",
|
|
16117
|
+
"actionsCell": "_2H9JWq_actionsCell",
|
|
16118
|
+
"switchState": "_2H9JWq_switchState"
|
|
15967
16119
|
};
|
|
15968
16120
|
//#endregion
|
|
15969
16121
|
//#region src/client/KnowledgeMemory.tsx
|
|
@@ -16923,31 +17075,31 @@ window.__ModuleLoader__.load({
|
|
|
16923
17075
|
document.head.appendChild(tag);
|
|
16924
17076
|
}
|
|
16925
17077
|
var KnowledgeListing_module_css_default = {
|
|
16926
|
-
"
|
|
16927
|
-
"
|
|
16928
|
-
"emptyGlyph": "_95AMVa_emptyGlyph",
|
|
16929
|
-
"entryDir": "_95AMVa_entryDir",
|
|
16930
|
-
"entryTime": "_95AMVa_entryTime",
|
|
16931
|
-
"entryName": "_95AMVa_entryName",
|
|
16932
|
-
"cardGlyph": "_95AMVa_cardGlyph",
|
|
16933
|
-
"cardTime": "_95AMVa_cardTime",
|
|
17078
|
+
"emptyAction": "_95AMVa_emptyAction",
|
|
17079
|
+
"emptyTitle": "_95AMVa_emptyTitle",
|
|
16934
17080
|
"entry": "_95AMVa_entry",
|
|
16935
|
-
"
|
|
16936
|
-
"entryRef": "_95AMVa_entryRef",
|
|
17081
|
+
"entryChildren": "_95AMVa_entryChildren",
|
|
16937
17082
|
"cardName": "_95AMVa_cardName",
|
|
16938
|
-
"
|
|
16939
|
-
"
|
|
16940
|
-
"
|
|
16941
|
-
"
|
|
17083
|
+
"cardDir": "_95AMVa_cardDir",
|
|
17084
|
+
"emptyGlyph": "_95AMVa_emptyGlyph",
|
|
17085
|
+
"kb-row-in": "_95AMVa_kb-row-in",
|
|
17086
|
+
"entryGlyph": "_95AMVa_entryGlyph",
|
|
17087
|
+
"card": "_95AMVa_card",
|
|
17088
|
+
"cardItem": "_95AMVa_cardItem",
|
|
17089
|
+
"cardTime": "_95AMVa_cardTime",
|
|
16942
17090
|
"empty": "_95AMVa_empty",
|
|
17091
|
+
"entryFavorite": "_95AMVa_entryFavorite",
|
|
17092
|
+
"entryTime": "_95AMVa_entryTime",
|
|
17093
|
+
"cardGlyph": "_95AMVa_cardGlyph",
|
|
17094
|
+
"entryDir": "_95AMVa_entryDir",
|
|
16943
17095
|
"cards": "_95AMVa_cards",
|
|
16944
|
-
"
|
|
16945
|
-
"entryGlyph": "_95AMVa_entryGlyph",
|
|
17096
|
+
"pinDropZone": "_95AMVa_pinDropZone",
|
|
16946
17097
|
"entryCheck": "_95AMVa_entryCheck",
|
|
16947
|
-
"
|
|
16948
|
-
"
|
|
16949
|
-
"
|
|
16950
|
-
"
|
|
17098
|
+
"entries": "_95AMVa_entries",
|
|
17099
|
+
"entryName": "_95AMVa_entryName",
|
|
17100
|
+
"entryRef": "_95AMVa_entryRef",
|
|
17101
|
+
"entryPin": "_95AMVa_entryPin",
|
|
17102
|
+
"cardMeta": "_95AMVa_cardMeta"
|
|
16951
17103
|
};
|
|
16952
17104
|
//#endregion
|
|
16953
17105
|
//#region src/client/listingFilter.ts
|
|
@@ -17546,9 +17698,13 @@ window.__ModuleLoader__.load({
|
|
|
17546
17698
|
favorite: menu === null ? false : props.isFavorite?.(menu.target.relPath) === true,
|
|
17547
17699
|
clipboard,
|
|
17548
17700
|
pasteInto: menu === null ? null : props.pasteTargetFor?.(menu.target.relPath, menu.target.isDir) ?? null,
|
|
17701
|
+
onOpen: (path) => {
|
|
17702
|
+
props.onOpen(path);
|
|
17703
|
+
},
|
|
17549
17704
|
onClose: () => {
|
|
17550
17705
|
setMenu(null);
|
|
17551
17706
|
},
|
|
17707
|
+
canManageGrants: props.onGrant !== void 0,
|
|
17552
17708
|
onGrant: (path) => {
|
|
17553
17709
|
props.onGrant?.(path);
|
|
17554
17710
|
},
|
|
@@ -17588,42 +17744,42 @@ window.__ModuleLoader__.load({
|
|
|
17588
17744
|
document.head.appendChild(tag);
|
|
17589
17745
|
}
|
|
17590
17746
|
var KnowledgeProgressPopover_module_css_default = {
|
|
17591
|
-
"dialogShell": "x_PPca_dialogShell",
|
|
17592
|
-
"progressFillIndeterminate": "x_PPca_progressFillIndeterminate",
|
|
17593
|
-
"summary": "x_PPca_summary",
|
|
17594
|
-
"badgeBusy": "x_PPca_badgeBusy",
|
|
17595
|
-
"progressFill": "x_PPca_progressFill",
|
|
17596
17747
|
"dialogContent": "x_PPca_dialogContent",
|
|
17597
|
-
"cardTime": "x_PPca_cardTime",
|
|
17598
|
-
"cardReason": "x_PPca_cardReason",
|
|
17599
|
-
"dialogHead": "x_PPca_dialogHead",
|
|
17600
|
-
"bell": "x_PPca_bell",
|
|
17601
|
-
"summaryItem": "x_PPca_summaryItem",
|
|
17602
|
-
"dialogTitle": "x_PPca_dialogTitle",
|
|
17603
|
-
"cardActions": "x_PPca_cardActions",
|
|
17604
|
-
"progressPercent": "x_PPca_progressPercent",
|
|
17605
|
-
"progressRow": "x_PPca_progressRow",
|
|
17606
|
-
"cardRawReason": "x_PPca_cardRawReason",
|
|
17607
17748
|
"cardPath": "x_PPca_cardPath",
|
|
17608
|
-
"
|
|
17609
|
-
"
|
|
17610
|
-
"badge": "x_PPca_badge",
|
|
17611
|
-
"summaryLabel": "x_PPca_summaryLabel",
|
|
17749
|
+
"progressFill": "x_PPca_progressFill",
|
|
17750
|
+
"dialog": "x_PPca_dialog",
|
|
17612
17751
|
"progressTrack": "x_PPca_progressTrack",
|
|
17752
|
+
"footer": "x_PPca_footer",
|
|
17753
|
+
"summaryValue": "x_PPca_summaryValue",
|
|
17613
17754
|
"list": "x_PPca_list",
|
|
17614
|
-
"progressFillFailed": "x_PPca_progressFillFailed",
|
|
17615
|
-
"badgeFailed": "x_PPca_badgeFailed",
|
|
17616
17755
|
"titleRatio": "x_PPca_titleRatio",
|
|
17756
|
+
"card": "x_PPca_card",
|
|
17757
|
+
"progressPercent": "x_PPca_progressPercent",
|
|
17758
|
+
"progressRow": "x_PPca_progressRow",
|
|
17759
|
+
"progressFillIndeterminate": "x_PPca_progressFillIndeterminate",
|
|
17760
|
+
"cardRow": "x_PPca_cardRow",
|
|
17761
|
+
"summaryItem": "x_PPca_summaryItem",
|
|
17617
17762
|
"group": "x_PPca_group",
|
|
17763
|
+
"cardActions": "x_PPca_cardActions",
|
|
17764
|
+
"badgeFailed": "x_PPca_badgeFailed",
|
|
17765
|
+
"badgeBusy": "x_PPca_badgeBusy",
|
|
17766
|
+
"dialogShell": "x_PPca_dialogShell",
|
|
17767
|
+
"dialogTitleRow": "x_PPca_dialogTitleRow",
|
|
17768
|
+
"dialogHead": "x_PPca_dialogHead",
|
|
17769
|
+
"dialogTitle": "x_PPca_dialogTitle",
|
|
17618
17770
|
"cardProgress": "x_PPca_cardProgress",
|
|
17771
|
+
"cardRawReason": "x_PPca_cardRawReason",
|
|
17772
|
+
"empty": "x_PPca_empty",
|
|
17773
|
+
"progressFillFailed": "x_PPca_progressFillFailed",
|
|
17774
|
+
"summary": "x_PPca_summary",
|
|
17775
|
+
"cardReason": "x_PPca_cardReason",
|
|
17776
|
+
"badgeDone": "x_PPca_badgeDone",
|
|
17777
|
+
"badge": "x_PPca_badge",
|
|
17778
|
+
"cardTime": "x_PPca_cardTime",
|
|
17779
|
+
"bell": "x_PPca_bell",
|
|
17619
17780
|
"dialogClose": "x_PPca_dialogClose",
|
|
17620
|
-
"summaryValue": "x_PPca_summaryValue",
|
|
17621
|
-
"dialog": "x_PPca_dialog",
|
|
17622
17781
|
"cardName": "x_PPca_cardName",
|
|
17623
|
-
"
|
|
17624
|
-
"card": "x_PPca_card",
|
|
17625
|
-
"empty": "x_PPca_empty",
|
|
17626
|
-
"footer": "x_PPca_footer"
|
|
17782
|
+
"summaryLabel": "x_PPca_summaryLabel"
|
|
17627
17783
|
};
|
|
17628
17784
|
//#endregion
|
|
17629
17785
|
//#region src/client/taskQueueStore.ts
|
|
@@ -18475,8 +18631,8 @@ window.__ModuleLoader__.load({
|
|
|
18475
18631
|
}
|
|
18476
18632
|
var KnowledgeScopeTabs_module_css_default = {
|
|
18477
18633
|
"tabs": "UvtP4W_tabs",
|
|
18478
|
-
"
|
|
18479
|
-
"
|
|
18634
|
+
"tabSelected": "UvtP4W_tabSelected",
|
|
18635
|
+
"tab": "UvtP4W_tab"
|
|
18480
18636
|
};
|
|
18481
18637
|
//#endregion
|
|
18482
18638
|
//#region src/client/graph/KnowledgeScopeTabs.tsx
|
|
@@ -18585,12 +18741,12 @@ window.__ModuleLoader__.load({
|
|
|
18585
18741
|
document.head.appendChild(tag);
|
|
18586
18742
|
}
|
|
18587
18743
|
var OriginBadges_module_css_default = {
|
|
18588
|
-
"authority": "iQ1oAG_authority",
|
|
18589
|
-
"badge": "iQ1oAG_badge",
|
|
18590
|
-
"compact": "iQ1oAG_compact",
|
|
18591
18744
|
"badges": "iQ1oAG_badges",
|
|
18745
|
+
"compact": "iQ1oAG_compact",
|
|
18592
18746
|
"origin": "iQ1oAG_origin",
|
|
18593
|
-
"
|
|
18747
|
+
"badge": "iQ1oAG_badge",
|
|
18748
|
+
"reviewStatus": "iQ1oAG_reviewStatus",
|
|
18749
|
+
"authority": "iQ1oAG_authority"
|
|
18594
18750
|
};
|
|
18595
18751
|
//#endregion
|
|
18596
18752
|
//#region src/client/graph/OriginBadges.tsx
|
|
@@ -18675,32 +18831,32 @@ window.__ModuleLoader__.load({
|
|
|
18675
18831
|
document.head.appendChild(tag);
|
|
18676
18832
|
}
|
|
18677
18833
|
var KnowledgeGraphTree_module_css_default = {
|
|
18678
|
-
"
|
|
18679
|
-
"
|
|
18680
|
-
"explorerRow": "JLttwq_explorerRow",
|
|
18681
|
-
"error": "JLttwq_error",
|
|
18682
|
-
"topicGlyph": "JLttwq_topicGlyph",
|
|
18683
|
-
"graphGlyph": "JLttwq_graphGlyph",
|
|
18684
|
-
"explorerDir": "JLttwq_explorerDir",
|
|
18685
|
-
"scope": "JLttwq_scope",
|
|
18686
|
-
"tree": "JLttwq_tree",
|
|
18834
|
+
"topicName": "JLttwq_topicName",
|
|
18835
|
+
"kg-row-in": "JLttwq_kg-row-in",
|
|
18687
18836
|
"computedBadges": "JLttwq_computedBadges",
|
|
18688
|
-
"
|
|
18837
|
+
"topicRow": "JLttwq_topicRow",
|
|
18689
18838
|
"state": "JLttwq_state",
|
|
18690
|
-
"
|
|
18839
|
+
"detail": "JLttwq_detail",
|
|
18840
|
+
"topicActive": "JLttwq_topicActive",
|
|
18841
|
+
"emptyTitle": "JLttwq_emptyTitle",
|
|
18691
18842
|
"retry": "JLttwq_retry",
|
|
18692
|
-
"
|
|
18843
|
+
"rowActive": "JLttwq_rowActive",
|
|
18844
|
+
"explorerRowSelected": "JLttwq_explorerRowSelected",
|
|
18845
|
+
"explorerDir": "JLttwq_explorerDir",
|
|
18693
18846
|
"explorerName": "JLttwq_explorerName",
|
|
18847
|
+
"chevron": "JLttwq_chevron",
|
|
18694
18848
|
"rowBadges": "JLttwq_rowBadges",
|
|
18849
|
+
"tree": "JLttwq_tree",
|
|
18850
|
+
"chevronPlaceholder": "JLttwq_chevronPlaceholder",
|
|
18851
|
+
"graphGlyph": "JLttwq_graphGlyph",
|
|
18695
18852
|
"emptyRow": "JLttwq_emptyRow",
|
|
18696
|
-
"emptyTitle": "JLttwq_emptyTitle",
|
|
18697
|
-
"detail": "JLttwq_detail",
|
|
18698
|
-
"kg-row-in": "JLttwq_kg-row-in",
|
|
18699
18853
|
"explorerTime": "JLttwq_explorerTime",
|
|
18700
|
-
"
|
|
18701
|
-
"
|
|
18702
|
-
"
|
|
18703
|
-
"readOnlyBadge": "JLttwq_readOnlyBadge"
|
|
18854
|
+
"error": "JLttwq_error",
|
|
18855
|
+
"computedBadge": "JLttwq_computedBadge",
|
|
18856
|
+
"scope": "JLttwq_scope",
|
|
18857
|
+
"readOnlyBadge": "JLttwq_readOnlyBadge",
|
|
18858
|
+
"topicGlyph": "JLttwq_topicGlyph",
|
|
18859
|
+
"explorerRow": "JLttwq_explorerRow"
|
|
18704
18860
|
};
|
|
18705
18861
|
//#endregion
|
|
18706
18862
|
//#region src/client/graph/KnowledgeGraphTree.tsx
|
|
@@ -19090,18 +19246,18 @@ window.__ModuleLoader__.load({
|
|
|
19090
19246
|
}
|
|
19091
19247
|
var KnowledgeGraphView_module_css_default = {
|
|
19092
19248
|
"retry": "Dk9FoG_retry",
|
|
19249
|
+
"frame": "Dk9FoG_frame",
|
|
19250
|
+
"overviewBar": "Dk9FoG_overviewBar",
|
|
19251
|
+
"overviewLabel": "Dk9FoG_overviewLabel",
|
|
19093
19252
|
"emptyTitle": "Dk9FoG_emptyTitle",
|
|
19094
19253
|
"host": "Dk9FoG_host",
|
|
19095
|
-
"
|
|
19096
|
-
"
|
|
19254
|
+
"state": "Dk9FoG_state",
|
|
19255
|
+
"error": "Dk9FoG_error",
|
|
19097
19256
|
"badgeBarLabel": "Dk9FoG_badgeBarLabel",
|
|
19098
19257
|
"detail": "Dk9FoG_detail",
|
|
19099
|
-
"filterSelect": "Dk9FoG_filterSelect",
|
|
19100
|
-
"frame": "Dk9FoG_frame",
|
|
19101
|
-
"state": "Dk9FoG_state",
|
|
19102
|
-
"overviewLabel": "Dk9FoG_overviewLabel",
|
|
19103
19258
|
"filterField": "Dk9FoG_filterField",
|
|
19104
|
-
"
|
|
19259
|
+
"badgeBar": "Dk9FoG_badgeBar",
|
|
19260
|
+
"filterSelect": "Dk9FoG_filterSelect"
|
|
19105
19261
|
};
|
|
19106
19262
|
//#endregion
|
|
19107
19263
|
//#region src/client/graph/KnowledgeGraphView.tsx
|
|
@@ -20168,22 +20324,22 @@ window.__ModuleLoader__.load({
|
|
|
20168
20324
|
document.head.appendChild(tag);
|
|
20169
20325
|
}
|
|
20170
20326
|
var KnowledgeFilePreview_module_css_default = {
|
|
20171
|
-
"
|
|
20327
|
+
"head": "_7KbGuq_head",
|
|
20328
|
+
"path": "_7KbGuq_path",
|
|
20172
20329
|
"binaryAction": "_7KbGuq_binaryAction",
|
|
20330
|
+
"notice": "_7KbGuq_notice",
|
|
20331
|
+
"binaryName": "_7KbGuq_binaryName",
|
|
20332
|
+
"binaryIcon": "_7KbGuq_binaryIcon",
|
|
20333
|
+
"close": "_7KbGuq_close",
|
|
20334
|
+
"binarySize": "_7KbGuq_binarySize",
|
|
20335
|
+
"title": "_7KbGuq_title",
|
|
20173
20336
|
"root": "_7KbGuq_root",
|
|
20337
|
+
"error": "_7KbGuq_error",
|
|
20338
|
+
"binaryMeta": "_7KbGuq_binaryMeta",
|
|
20174
20339
|
"heading": "_7KbGuq_heading",
|
|
20175
|
-
"binarySize": "_7KbGuq_binarySize",
|
|
20176
|
-
"path": "_7KbGuq_path",
|
|
20177
20340
|
"body": "_7KbGuq_body",
|
|
20178
|
-
"binaryMeta": "_7KbGuq_binaryMeta",
|
|
20179
|
-
"binaryName": "_7KbGuq_binaryName",
|
|
20180
|
-
"pre": "_7KbGuq_pre",
|
|
20181
20341
|
"binaryCard": "_7KbGuq_binaryCard",
|
|
20182
|
-
"
|
|
20183
|
-
"close": "_7KbGuq_close",
|
|
20184
|
-
"binaryIcon": "_7KbGuq_binaryIcon",
|
|
20185
|
-
"title": "_7KbGuq_title",
|
|
20186
|
-
"error": "_7KbGuq_error"
|
|
20342
|
+
"pre": "_7KbGuq_pre"
|
|
20187
20343
|
};
|
|
20188
20344
|
//#endregion
|
|
20189
20345
|
//#region src/client/KnowledgeFilePreview.tsx
|
|
@@ -20665,14 +20821,14 @@ window.__ModuleLoader__.load({
|
|
|
20665
20821
|
document.head.appendChild(tag);
|
|
20666
20822
|
}
|
|
20667
20823
|
var KnowledgeReferencePicker_module_css_default = {
|
|
20668
|
-
"body": "uUHBaG_body",
|
|
20669
|
-
"rowName": "uUHBaG_rowName",
|
|
20670
|
-
"empty": "uUHBaG_empty",
|
|
20671
|
-
"content": "uUHBaG_content",
|
|
20672
20824
|
"error": "uUHBaG_error",
|
|
20673
|
-
"rowWhen": "uUHBaG_rowWhen",
|
|
20674
20825
|
"footer": "uUHBaG_footer",
|
|
20675
|
-
"
|
|
20826
|
+
"rowName": "uUHBaG_rowName",
|
|
20827
|
+
"list": "uUHBaG_list",
|
|
20828
|
+
"rowWhen": "uUHBaG_rowWhen",
|
|
20829
|
+
"content": "uUHBaG_content",
|
|
20830
|
+
"empty": "uUHBaG_empty",
|
|
20831
|
+
"body": "uUHBaG_body"
|
|
20676
20832
|
};
|
|
20677
20833
|
//#endregion
|
|
20678
20834
|
//#region src/client/insertReadiness.ts
|
|
@@ -21234,10 +21390,10 @@ window.__ModuleLoader__.load({
|
|
|
21234
21390
|
document.head.appendChild(tag);
|
|
21235
21391
|
}
|
|
21236
21392
|
var KnowledgeSelectionBar_module_css_default = {
|
|
21237
|
-
"action": "y8212a_action",
|
|
21238
|
-
"actions": "y8212a_actions",
|
|
21239
21393
|
"text": "y8212a_text",
|
|
21240
|
-
"bar": "y8212a_bar"
|
|
21394
|
+
"bar": "y8212a_bar",
|
|
21395
|
+
"action": "y8212a_action",
|
|
21396
|
+
"actions": "y8212a_actions"
|
|
21241
21397
|
};
|
|
21242
21398
|
//#endregion
|
|
21243
21399
|
//#region src/client/KnowledgeSelectionBar.tsx
|
|
@@ -21942,6 +22098,16 @@ window.__ModuleLoader__.load({
|
|
|
21942
22098
|
/** The cut/copied entry, shared by both surfaces so a copy on one pastes on the other. */
|
|
21943
22099
|
const [clipboard, setClipboard] = (0, react.useState)(null);
|
|
21944
22100
|
/**
|
|
22101
|
+
* The knowledge tree's own row menu.
|
|
22102
|
+
*
|
|
22103
|
+
* Held here rather than inside `KnowledgeFileTree` because the menu outlives the row
|
|
22104
|
+
* that opened it: the explorer re-renders rows on every refresh, and a menu owned by a
|
|
22105
|
+
* row would unmount mid-interaction. `selection` is present only when the right-click
|
|
22106
|
+
* landed inside a multi-selection; the menu decides whether each entry is a batch one
|
|
22107
|
+
* from that list.
|
|
22108
|
+
*/
|
|
22109
|
+
const [treeMenu, setTreeMenu] = (0, react.useState)(null);
|
|
22110
|
+
/**
|
|
21945
22111
|
* Remember that the reader asked to extract one document.
|
|
21946
22112
|
* @param relPath - the document, tree-relative.
|
|
21947
22113
|
*/
|
|
@@ -21975,9 +22141,9 @@ window.__ModuleLoader__.load({
|
|
|
21975
22141
|
/**
|
|
21976
22142
|
* Paste the clipboard into one directory.
|
|
21977
22143
|
*
|
|
21978
|
-
* The
|
|
21979
|
-
*
|
|
21980
|
-
*
|
|
22144
|
+
* The batch bar and the shared row menu both call this, so there is one implementation
|
|
22145
|
+
* of what "paste" means: a cut moves, a copy duplicates, and a cut clears the clipboard
|
|
22146
|
+
* once everything landed.
|
|
21981
22147
|
* @param into - the tree-relative directory to paste into.
|
|
21982
22148
|
*/
|
|
21983
22149
|
const pasteInto = (0, react.useCallback)(async (into) => {
|
|
@@ -22029,7 +22195,37 @@ window.__ModuleLoader__.load({
|
|
|
22029
22195
|
*
|
|
22030
22196
|
* A folder pastes into itself; a file pastes beside itself. `''` is the tree root,
|
|
22031
22197
|
* which is a real destination rather than "unknown".
|
|
22198
|
+
* @param relPath - the row the menu was opened on.
|
|
22199
|
+
* @param isDir - whether that row is a folder.
|
|
22200
|
+
* @returns The tree-relative destination directory.
|
|
22201
|
+
*/
|
|
22202
|
+
const pasteTargetFor = (relPath, isDir) => isDir ? relPath : relPath.includes("/") ? relPath.slice(0, relPath.lastIndexOf("/")) : "";
|
|
22203
|
+
/**
|
|
22204
|
+
* Move one tree row into a typed destination directory.
|
|
22205
|
+
*
|
|
22206
|
+
* Both ends are resolved through `resolveUploadDir`: the view hides the owner segment
|
|
22207
|
+
* of `personal`, and a move that sent the view path unchanged would address a path the
|
|
22208
|
+
* Host does not know. The menu owns the prompt and the close; this handler owns only
|
|
22209
|
+
* the request and its refusal.
|
|
22210
|
+
* @param row - the row the reader right-clicked.
|
|
22211
|
+
* @param destination - the tree-relative directory the reader typed.
|
|
22032
22212
|
*/
|
|
22213
|
+
const moveTreeRow = (0, react.useCallback)(async (row, destination) => {
|
|
22214
|
+
const from = resolveUploadDir(row.relPath, callerId);
|
|
22215
|
+
const to = resolveUploadDir(destination, callerId);
|
|
22216
|
+
if (from === void 0 || to === void 0) throw new Error(t("dropRefusedNoCaller"));
|
|
22217
|
+
const response = await fetch(kbApiPath(KB_API.move), {
|
|
22218
|
+
method: "POST",
|
|
22219
|
+
headers: { "content-type": "application/json" },
|
|
22220
|
+
body: JSON.stringify({
|
|
22221
|
+
from,
|
|
22222
|
+
to
|
|
22223
|
+
}),
|
|
22224
|
+
cache: "no-store"
|
|
22225
|
+
});
|
|
22226
|
+
const body = await readKnowledgeJson(response);
|
|
22227
|
+
if (!response.ok || body.error !== void 0) throw new Error(body.error ?? "HTTP " + String(response.status));
|
|
22228
|
+
}, [callerId, t]);
|
|
22033
22229
|
/**
|
|
22034
22230
|
* The rows the batch bar acts on.
|
|
22035
22231
|
*
|
|
@@ -22641,6 +22837,13 @@ window.__ModuleLoader__.load({
|
|
|
22641
22837
|
onToggleFavorite: (relPath, next) => {
|
|
22642
22838
|
favorites.setFavorite(relPath, next);
|
|
22643
22839
|
},
|
|
22840
|
+
onRowContextMenu: (target, at, selection) => {
|
|
22841
|
+
setTreeMenu({
|
|
22842
|
+
target,
|
|
22843
|
+
at,
|
|
22844
|
+
...selection === void 0 ? {} : { selection }
|
|
22845
|
+
});
|
|
22846
|
+
},
|
|
22644
22847
|
onShare: (relPath) => {
|
|
22645
22848
|
setShareTarget(relPath);
|
|
22646
22849
|
},
|
|
@@ -22950,6 +23153,47 @@ window.__ModuleLoader__.load({
|
|
|
22950
23153
|
})]
|
|
22951
23154
|
})]
|
|
22952
23155
|
}),
|
|
23156
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeContextMenu, {
|
|
23157
|
+
target: treeMenu?.target ?? null,
|
|
23158
|
+
at: treeMenu?.at ?? null,
|
|
23159
|
+
...treeMenu?.selection === void 0 ? {} : { selection: treeMenu.selection },
|
|
23160
|
+
t,
|
|
23161
|
+
shareCopy: shareCopyFor(props.locale),
|
|
23162
|
+
pinned: treeMenu === null ? false : pins.has(treeMenu.target.relPath),
|
|
23163
|
+
favorite: treeMenu === null ? false : favorites.has(treeMenu.target.relPath),
|
|
23164
|
+
clipboard,
|
|
23165
|
+
pasteInto: treeMenu === null ? null : pasteTargetFor(treeMenu.target.relPath, treeMenu.target.isDir),
|
|
23166
|
+
canManageGrants: false,
|
|
23167
|
+
onOpen: (path) => {
|
|
23168
|
+
openDocument(path);
|
|
23169
|
+
},
|
|
23170
|
+
onClose: () => {
|
|
23171
|
+
setTreeMenu(null);
|
|
23172
|
+
},
|
|
23173
|
+
onPin: (path, pinned) => {
|
|
23174
|
+
pins.setPinned(path, pinned);
|
|
23175
|
+
},
|
|
23176
|
+
onFavorite: (path, favorite) => {
|
|
23177
|
+
favorites.setFavorite(path, favorite);
|
|
23178
|
+
},
|
|
23179
|
+
onReference: (path, isDir) => {
|
|
23180
|
+
askReferenceTarget(path, isDir);
|
|
23181
|
+
},
|
|
23182
|
+
onClipboard: (entry) => {
|
|
23183
|
+
setClipboard(entry);
|
|
23184
|
+
},
|
|
23185
|
+
onMove: moveTreeRow,
|
|
23186
|
+
onRenamed: () => {
|
|
23187
|
+
setRefreshTick((t) => t + 1);
|
|
23188
|
+
},
|
|
23189
|
+
onDeleted: () => {
|
|
23190
|
+
setRefreshTick((t) => t + 1);
|
|
23191
|
+
},
|
|
23192
|
+
onMoved: () => {
|
|
23193
|
+
setClipboard((current) => current?.cut === true ? null : current);
|
|
23194
|
+
setRefreshTick((t) => t + 1);
|
|
23195
|
+
}
|
|
23196
|
+
}),
|
|
22953
23197
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeShareDialog, {
|
|
22954
23198
|
relPath: shareTarget,
|
|
22955
23199
|
isDir: false,
|
|
@@ -23807,58 +24051,58 @@ window.__ModuleLoader__.load({
|
|
|
23807
24051
|
document.head.appendChild(tag);
|
|
23808
24052
|
}
|
|
23809
24053
|
var WorkflowPlaza_module_css_default = {
|
|
23810
|
-
"
|
|
23811
|
-
"
|
|
23812
|
-
"
|
|
24054
|
+
"cardTop": "lYC_0W_cardTop",
|
|
24055
|
+
"pageTitle": "lYC_0W_pageTitle",
|
|
24056
|
+
"cardFoot": "lYC_0W_cardFoot",
|
|
24057
|
+
"frequency": "lYC_0W_frequency",
|
|
24058
|
+
"reviewList": "lYC_0W_reviewList",
|
|
24059
|
+
"reviewMeta": "lYC_0W_reviewMeta",
|
|
23813
24060
|
"reviewNote": "lYC_0W_reviewNote",
|
|
23814
|
-
"
|
|
23815
|
-
"actions": "lYC_0W_actions",
|
|
24061
|
+
"mineScope": "lYC_0W_mineScope",
|
|
23816
24062
|
"cronValid": "lYC_0W_cronValid",
|
|
23817
|
-
"reviewDescription": "lYC_0W_reviewDescription",
|
|
23818
|
-
"frequencies": "lYC_0W_frequencies",
|
|
23819
24063
|
"mineFooter": "lYC_0W_mineFooter",
|
|
23820
|
-
"
|
|
23821
|
-
"frequencyOn": "lYC_0W_frequencyOn",
|
|
23822
|
-
"cardCron": "lYC_0W_cardCron",
|
|
23823
|
-
"dialogFoot": "lYC_0W_dialogFoot",
|
|
23824
|
-
"mark": "lYC_0W_mark",
|
|
23825
|
-
"reviewHead": "lYC_0W_reviewHead",
|
|
23826
|
-
"fieldLabel": "lYC_0W_fieldLabel",
|
|
23827
|
-
"cards": "lYC_0W_cards",
|
|
23828
|
-
"cardTop": "lYC_0W_cardTop",
|
|
24064
|
+
"detailFacts": "lYC_0W_detailFacts",
|
|
23829
24065
|
"cardDesc": "lYC_0W_cardDesc",
|
|
24066
|
+
"cronInvalid": "lYC_0W_cronInvalid",
|
|
24067
|
+
"fieldLabel": "lYC_0W_fieldLabel",
|
|
24068
|
+
"dialogIntro": "lYC_0W_dialogIntro",
|
|
24069
|
+
"tabCount": "lYC_0W_tabCount",
|
|
24070
|
+
"failure": "lYC_0W_failure",
|
|
24071
|
+
"tab": "lYC_0W_tab",
|
|
23830
24072
|
"cardTitle": "lYC_0W_cardTitle",
|
|
23831
|
-
"
|
|
24073
|
+
"frequencies": "lYC_0W_frequencies",
|
|
24074
|
+
"reviewActions": "lYC_0W_reviewActions",
|
|
24075
|
+
"mineTags": "lYC_0W_mineTags",
|
|
23832
24076
|
"body": "lYC_0W_body",
|
|
23833
|
-
"
|
|
23834
|
-
"
|
|
23835
|
-
"
|
|
24077
|
+
"headerRow": "lYC_0W_headerRow",
|
|
24078
|
+
"reviewDescription": "lYC_0W_reviewDescription",
|
|
24079
|
+
"reviewEmpty": "lYC_0W_reviewEmpty",
|
|
23836
24080
|
"tabs": "lYC_0W_tabs",
|
|
23837
|
-
"
|
|
24081
|
+
"actions": "lYC_0W_actions",
|
|
24082
|
+
"cronInput": "lYC_0W_cronInput",
|
|
24083
|
+
"frequencyOn": "lYC_0W_frequencyOn",
|
|
24084
|
+
"state": "lYC_0W_state",
|
|
24085
|
+
"reviewCard": "lYC_0W_reviewCard",
|
|
24086
|
+
"field": "lYC_0W_field",
|
|
23838
24087
|
"mineStatus": "lYC_0W_mineStatus",
|
|
23839
|
-
"tabActive": "lYC_0W_tabActive",
|
|
23840
|
-
"pageTitle": "lYC_0W_pageTitle",
|
|
23841
24088
|
"card": "lYC_0W_card",
|
|
23842
|
-
"cardFoot": "lYC_0W_cardFoot",
|
|
23843
|
-
"reviewActions": "lYC_0W_reviewActions",
|
|
23844
|
-
"tabCount": "lYC_0W_tabCount",
|
|
23845
24089
|
"page": "lYC_0W_page",
|
|
23846
|
-
"
|
|
23847
|
-
"cronInput": "lYC_0W_cronInput",
|
|
23848
|
-
"tab": "lYC_0W_tab",
|
|
23849
|
-
"state": "lYC_0W_state",
|
|
23850
|
-
"review": "lYC_0W_review",
|
|
24090
|
+
"mark": "lYC_0W_mark",
|
|
23851
24091
|
"reviewTitle": "lYC_0W_reviewTitle",
|
|
23852
|
-
"
|
|
24092
|
+
"review": "lYC_0W_review",
|
|
24093
|
+
"reviewHead": "lYC_0W_reviewHead",
|
|
24094
|
+
"mineTime": "lYC_0W_mineTime",
|
|
23853
24095
|
"cardIcon": "lYC_0W_cardIcon",
|
|
24096
|
+
"cards": "lYC_0W_cards",
|
|
24097
|
+
"cardCron": "lYC_0W_cardCron",
|
|
23854
24098
|
"dialogBody": "lYC_0W_dialogBody",
|
|
23855
|
-
"
|
|
23856
|
-
"
|
|
23857
|
-
"field": "lYC_0W_field",
|
|
23858
|
-
"detailDialogBody": "lYC_0W_detailDialogBody",
|
|
23859
|
-
"mineTags": "lYC_0W_mineTags",
|
|
24099
|
+
"failureRow": "lYC_0W_failureRow",
|
|
24100
|
+
"detailDescription": "lYC_0W_detailDescription",
|
|
23860
24101
|
"detailInstruction": "lYC_0W_detailInstruction",
|
|
23861
|
-
"
|
|
24102
|
+
"detailDialogBody": "lYC_0W_detailDialogBody",
|
|
24103
|
+
"reviewPrompt": "lYC_0W_reviewPrompt",
|
|
24104
|
+
"dialogFoot": "lYC_0W_dialogFoot",
|
|
24105
|
+
"tabActive": "lYC_0W_tabActive"
|
|
23862
24106
|
};
|
|
23863
24107
|
//#endregion
|
|
23864
24108
|
//#region src/client/workflows/WorkflowPlaza.tsx
|