@sparkelf/dsh-knowledge-base 0.5.3 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -0
- package/lib/client.js +1128 -739
- package/lib/client.js.map +1 -1
- package/lib/index.js +219 -34
- package/lib/types/client/KnowledgeContextMenu.d.ts +19 -1
- package/lib/types/client/KnowledgeFileTree.d.ts +23 -0
- package/lib/types/client/KnowledgeMemory.d.ts +13 -0
- package/lib/types/client/locales.d.ts +7 -0
- package/lib/types/guardianSession.d.ts +23 -0
- package/lib/types/index.d.ts +21 -0
- package/lib/types/memoryRoutes.d.ts +7 -1
- package/lib/types/memorySettings.d.ts +83 -12
- package/package.json +1 -1
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
|
+
"groupTitle": "c269jW_groupTitle",
|
|
341
342
|
"badgeOk": "c269jW_badgeOk",
|
|
342
|
-
"badgeWarn": "c269jW_badgeWarn",
|
|
343
|
-
"error": "c269jW_error",
|
|
344
|
-
"step": "c269jW_step",
|
|
345
|
-
"saveRow": "c269jW_saveRow",
|
|
346
343
|
"body": "c269jW_body",
|
|
347
|
-
"
|
|
344
|
+
"steps": "c269jW_steps",
|
|
345
|
+
"stepLabel": "c269jW_stepLabel",
|
|
346
|
+
"statusRow": "c269jW_statusRow",
|
|
347
|
+
"logBox": "c269jW_logBox",
|
|
348
348
|
"log": "c269jW_log",
|
|
349
|
+
"fieldLabel": "c269jW_fieldLabel",
|
|
350
|
+
"modeOption": "c269jW_modeOption",
|
|
349
351
|
"wizard": "c269jW_wizard",
|
|
352
|
+
"saveRow": "c269jW_saveRow",
|
|
353
|
+
"modeRow": "c269jW_modeRow",
|
|
354
|
+
"error": "c269jW_error",
|
|
355
|
+
"statusLabel": "c269jW_statusLabel",
|
|
350
356
|
"select": "c269jW_select",
|
|
357
|
+
"pair": "c269jW_pair",
|
|
351
358
|
"pairs": "c269jW_pairs",
|
|
352
|
-
"logBox": "c269jW_logBox",
|
|
353
359
|
"detail": "c269jW_detail",
|
|
354
|
-
"
|
|
355
|
-
"groupTitle": "c269jW_groupTitle",
|
|
356
|
-
"statusRow": "c269jW_statusRow",
|
|
357
|
-
"title": "c269jW_title",
|
|
360
|
+
"section": "c269jW_section",
|
|
358
361
|
"field": "c269jW_field",
|
|
359
|
-
"
|
|
360
|
-
"stepLabel": "c269jW_stepLabel",
|
|
362
|
+
"title": "c269jW_title",
|
|
361
363
|
"input": "c269jW_input",
|
|
362
|
-
"modeRow": "c269jW_modeRow",
|
|
363
|
-
"fieldLabel": "c269jW_fieldLabel",
|
|
364
364
|
"notice": "c269jW_notice",
|
|
365
|
-
"
|
|
366
|
-
"
|
|
365
|
+
"step": "c269jW_step",
|
|
366
|
+
"badgeWarn": "c269jW_badgeWarn"
|
|
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
|
-
"leaf": "HyIQta_leaf",
|
|
1539
|
-
"pagesRight": "HyIQta_pagesRight",
|
|
1540
1538
|
"wrap": "HyIQta_wrap",
|
|
1539
|
+
"pagesRight": "HyIQta_pagesRight",
|
|
1540
|
+
"leaf": "HyIQta_leaf",
|
|
1541
1541
|
"coverBack": "HyIQta_coverBack",
|
|
1542
|
-
"label": "HyIQta_label",
|
|
1543
|
-
"srOnly": "HyIQta_srOnly",
|
|
1544
1542
|
"pagesLeft": "HyIQta_pagesLeft",
|
|
1543
|
+
"label": "HyIQta_label",
|
|
1544
|
+
"kb-page-turn": "HyIQta_kb-page-turn",
|
|
1545
1545
|
"book": "HyIQta_book",
|
|
1546
|
-
"
|
|
1546
|
+
"srOnly": "HyIQta_srOnly"
|
|
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
|
-
"rowActions": "oNvFBa_rowActions",
|
|
2136
|
-
"colLocation": "oNvFBa_colLocation",
|
|
2137
|
-
"iconButtonOn": "oNvFBa_iconButtonOn",
|
|
2134
|
+
"dropZone": "oNvFBa_dropZone",
|
|
2138
2135
|
"cardText": "oNvFBa_cardText",
|
|
2139
|
-
"
|
|
2140
|
-
"docRow": "oNvFBa_docRow",
|
|
2141
|
-
"dropZoneActive": "oNvFBa_dropZoneActive",
|
|
2142
|
-
"sharePager": "oNvFBa_sharePager",
|
|
2136
|
+
"favoriteMark": "oNvFBa_favoriteMark",
|
|
2143
2137
|
"colOwner": "oNvFBa_colOwner",
|
|
2144
|
-
"
|
|
2145
|
-
"
|
|
2146
|
-
"cardChevron": "oNvFBa_cardChevron",
|
|
2138
|
+
"dropZoneActive": "oNvFBa_dropZoneActive",
|
|
2139
|
+
"colStatus": "oNvFBa_colStatus",
|
|
2147
2140
|
"statusButton": "oNvFBa_statusButton",
|
|
2148
|
-
"
|
|
2149
|
-
"shareEmpty": "oNvFBa_shareEmpty",
|
|
2150
|
-
"cardTitle": "oNvFBa_cardTitle",
|
|
2151
|
-
"card": "oNvFBa_card",
|
|
2152
|
-
"statusDetail": "oNvFBa_statusDetail",
|
|
2153
|
-
"cardMenuItem": "oNvFBa_cardMenuItem",
|
|
2141
|
+
"docPager": "oNvFBa_docPager",
|
|
2154
2142
|
"cards": "oNvFBa_cards",
|
|
2155
|
-
"
|
|
2156
|
-
"
|
|
2143
|
+
"emptyRow": "oNvFBa_emptyRow",
|
|
2144
|
+
"cardChevron": "oNvFBa_cardChevron",
|
|
2145
|
+
"cardMenu": "oNvFBa_cardMenu",
|
|
2157
2146
|
"cardPlate": "oNvFBa_cardPlate",
|
|
2147
|
+
"shareWrap": "oNvFBa_shareWrap",
|
|
2148
|
+
"statusDetail": "oNvFBa_statusDetail",
|
|
2149
|
+
"shareBlock": "oNvFBa_shareBlock",
|
|
2150
|
+
"cardSlot": "oNvFBa_cardSlot",
|
|
2151
|
+
"actionsCell": "oNvFBa_actionsCell",
|
|
2158
2152
|
"iconButtonDanger": "oNvFBa_iconButtonDanger",
|
|
2159
|
-
"
|
|
2160
|
-
"
|
|
2161
|
-
"
|
|
2162
|
-
"
|
|
2163
|
-
"colTitle": "oNvFBa_colTitle",
|
|
2153
|
+
"colLocation": "oNvFBa_colLocation",
|
|
2154
|
+
"card": "oNvFBa_card",
|
|
2155
|
+
"iconButtonOn": "oNvFBa_iconButtonOn",
|
|
2156
|
+
"cardTitle": "oNvFBa_cardTitle",
|
|
2164
2157
|
"colActions": "oNvFBa_colActions",
|
|
2165
|
-
"
|
|
2166
|
-
"
|
|
2158
|
+
"cardMenuItem": "oNvFBa_cardMenuItem",
|
|
2159
|
+
"cardBody": "oNvFBa_cardBody",
|
|
2160
|
+
"table": "oNvFBa_table",
|
|
2161
|
+
"docRow": "oNvFBa_docRow",
|
|
2162
|
+
"titleCell": "oNvFBa_titleCell",
|
|
2163
|
+
"sharePager": "oNvFBa_sharePager",
|
|
2167
2164
|
"iconButton": "oNvFBa_iconButton",
|
|
2168
|
-
"emptyRow": "oNvFBa_emptyRow",
|
|
2169
|
-
"favoriteMark": "oNvFBa_favoriteMark",
|
|
2170
2165
|
"home": "oNvFBa_home",
|
|
2171
|
-
"
|
|
2172
|
-
"
|
|
2173
|
-
"
|
|
2166
|
+
"colTime": "oNvFBa_colTime",
|
|
2167
|
+
"rowActions": "oNvFBa_rowActions",
|
|
2168
|
+
"rowLink": "oNvFBa_rowLink",
|
|
2169
|
+
"shareEmpty": "oNvFBa_shareEmpty",
|
|
2170
|
+
"shareError": "oNvFBa_shareError",
|
|
2171
|
+
"muted": "oNvFBa_muted",
|
|
2172
|
+
"colTitle": "oNvFBa_colTitle",
|
|
2173
|
+
"hiddenInput": "oNvFBa_hiddenInput"
|
|
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
|
-
"sectionActions": "uNOdFq_sectionActions",
|
|
2188
|
-
"errorDetail": "uNOdFq_errorDetail",
|
|
2189
|
-
"railBrandName": "uNOdFq_railBrandName",
|
|
2190
|
-
"factDot": "uNOdFq_factDot",
|
|
2191
|
-
"preview": "uNOdFq_preview",
|
|
2192
|
-
"previewColumn": "uNOdFq_previewColumn",
|
|
2193
|
-
"hits": "uNOdFq_hits",
|
|
2194
|
-
"referenceNoteDismiss": "uNOdFq_referenceNoteDismiss",
|
|
2195
2187
|
"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
|
-
"menu": "uNOdFq_menu",
|
|
2205
|
-
"pairs": "uNOdFq_pairs",
|
|
2206
|
-
"bodyCollapsed": "uNOdFq_bodyCollapsed",
|
|
2207
|
-
"headerHint": "uNOdFq_headerHint",
|
|
2208
|
-
"error": "uNOdFq_error",
|
|
2209
|
-
"input": "uNOdFq_input",
|
|
2210
|
-
"pinnedBand": "uNOdFq_pinnedBand",
|
|
2211
2188
|
"hitActive": "uNOdFq_hitActive",
|
|
2212
|
-
"path": "uNOdFq_path",
|
|
2213
2189
|
"errorGlyph": "uNOdFq_errorGlyph",
|
|
2214
|
-
"
|
|
2215
|
-
"
|
|
2190
|
+
"headerHint": "uNOdFq_headerHint",
|
|
2191
|
+
"railBody": "uNOdFq_railBody",
|
|
2216
2192
|
"treeFilter": "uNOdFq_treeFilter",
|
|
2217
|
-
"
|
|
2218
|
-
"
|
|
2219
|
-
"
|
|
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",
|
|
2193
|
+
"input": "uNOdFq_input",
|
|
2194
|
+
"path": "uNOdFq_path",
|
|
2195
|
+
"referenceNote": "uNOdFq_referenceNote",
|
|
2227
2196
|
"openedElsewhere": "uNOdFq_openedElsewhere",
|
|
2197
|
+
"muted": "uNOdFq_muted",
|
|
2198
|
+
"menuRowActive": "uNOdFq_menuRowActive",
|
|
2199
|
+
"sectionName": "uNOdFq_sectionName",
|
|
2200
|
+
"emptyGlyph": "uNOdFq_emptyGlyph",
|
|
2201
|
+
"bodyDocument": "uNOdFq_bodyDocument",
|
|
2202
|
+
"bodyCollapsed": "uNOdFq_bodyCollapsed",
|
|
2228
2203
|
"contentColumn": "uNOdFq_contentColumn",
|
|
2229
|
-
"
|
|
2204
|
+
"searchBox": "uNOdFq_searchBox",
|
|
2205
|
+
"pairs": "uNOdFq_pairs",
|
|
2206
|
+
"pair": "uNOdFq_pair",
|
|
2207
|
+
"page": "uNOdFq_page",
|
|
2208
|
+
"sectionActions": "uNOdFq_sectionActions",
|
|
2209
|
+
"pinnedBand": "uNOdFq_pinnedBand",
|
|
2210
|
+
"hitName": "uNOdFq_hitName",
|
|
2211
|
+
"emptyTitle": "uNOdFq_emptyTitle",
|
|
2230
2212
|
"treeScroll": "uNOdFq_treeScroll",
|
|
2231
2213
|
"menuFolded": "uNOdFq_menuFolded",
|
|
2232
|
-
"
|
|
2233
|
-
"title": "uNOdFq_title",
|
|
2234
|
-
"body": "uNOdFq_body",
|
|
2235
|
-
"empty": "uNOdFq_empty",
|
|
2236
|
-
"hitLineNo": "uNOdFq_hitLineNo",
|
|
2214
|
+
"headerActions": "uNOdFq_headerActions",
|
|
2237
2215
|
"previewLayout": "uNOdFq_previewLayout",
|
|
2238
|
-
"errorTitle": "uNOdFq_errorTitle",
|
|
2239
2216
|
"menuGroupLabel": "uNOdFq_menuGroupLabel",
|
|
2240
|
-
"
|
|
2241
|
-
"
|
|
2217
|
+
"referenceNoteDismiss": "uNOdFq_referenceNoteDismiss",
|
|
2218
|
+
"railTopSpacer": "uNOdFq_railTopSpacer",
|
|
2219
|
+
"headerFact": "uNOdFq_headerFact",
|
|
2220
|
+
"menuGlyph": "uNOdFq_menuGlyph",
|
|
2221
|
+
"errorDetail": "uNOdFq_errorDetail",
|
|
2222
|
+
"body": "uNOdFq_body",
|
|
2223
|
+
"rail": "uNOdFq_rail",
|
|
2224
|
+
"headerTitle": "uNOdFq_headerTitle",
|
|
2225
|
+
"factDot": "uNOdFq_factDot",
|
|
2226
|
+
"hitLineNo": "uNOdFq_hitLineNo",
|
|
2227
|
+
"form": "uNOdFq_form",
|
|
2228
|
+
"empty": "uNOdFq_empty",
|
|
2229
|
+
"tableSurface": "uNOdFq_tableSurface",
|
|
2230
|
+
"iconButton": "uNOdFq_iconButton",
|
|
2242
2231
|
"headerPath": "uNOdFq_headerPath",
|
|
2243
|
-
"
|
|
2232
|
+
"error": "uNOdFq_error",
|
|
2233
|
+
"railTop": "uNOdFq_railTop",
|
|
2234
|
+
"railBrandName": "uNOdFq_railBrandName",
|
|
2235
|
+
"hitLine": "uNOdFq_hitLine",
|
|
2244
2236
|
"hit": "uNOdFq_hit",
|
|
2245
|
-
"form": "uNOdFq_form",
|
|
2246
|
-
"field": "uNOdFq_field",
|
|
2247
|
-
"headerFact": "uNOdFq_headerFact",
|
|
2248
|
-
"referenceNote": "uNOdFq_referenceNote",
|
|
2249
|
-
"sectionName": "uNOdFq_sectionName",
|
|
2250
|
-
"menuSeparator": "uNOdFq_menuSeparator",
|
|
2251
2237
|
"retry": "uNOdFq_retry",
|
|
2238
|
+
"hitPath": "uNOdFq_hitPath",
|
|
2239
|
+
"header": "uNOdFq_header",
|
|
2240
|
+
"railBrand": "uNOdFq_railBrand",
|
|
2241
|
+
"sectionHeader": "uNOdFq_sectionHeader",
|
|
2242
|
+
"field": "uNOdFq_field",
|
|
2243
|
+
"previewColumn": "uNOdFq_previewColumn",
|
|
2244
|
+
"menuRow": "uNOdFq_menuRow",
|
|
2245
|
+
"hitTime": "uNOdFq_hitTime",
|
|
2246
|
+
"treeBand": "uNOdFq_treeBand",
|
|
2247
|
+
"surface": "uNOdFq_surface",
|
|
2248
|
+
"hits": "uNOdFq_hits",
|
|
2252
2249
|
"menuLabel": "uNOdFq_menuLabel",
|
|
2250
|
+
"menu": "uNOdFq_menu",
|
|
2251
|
+
"title": "uNOdFq_title",
|
|
2252
|
+
"openFailure": "uNOdFq_openFailure",
|
|
2253
|
+
"menuSeparator": "uNOdFq_menuSeparator",
|
|
2254
|
+
"table": "uNOdFq_table",
|
|
2255
|
+
"errorPanel": "uNOdFq_errorPanel",
|
|
2253
2256
|
"content": "uNOdFq_content",
|
|
2254
|
-
"
|
|
2255
|
-
"
|
|
2256
|
-
"
|
|
2257
|
-
"menuRowActive": "uNOdFq_menuRowActive",
|
|
2258
|
-
"hitName": "uNOdFq_hitName",
|
|
2259
|
-
"railBrand": "uNOdFq_railBrand"
|
|
2257
|
+
"errorTitle": "uNOdFq_errorTitle",
|
|
2258
|
+
"preview": "uNOdFq_preview",
|
|
2259
|
+
"notice": "uNOdFq_notice"
|
|
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,58 +2270,58 @@ 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
2273
|
"toolbar": "Tg9J7q_toolbar",
|
|
2278
|
-
"
|
|
2279
|
-
"
|
|
2280
|
-
"
|
|
2281
|
-
"
|
|
2282
|
-
"fieldLabel": "Tg9J7q_fieldLabel",
|
|
2283
|
-
"fieldHint": "Tg9J7q_fieldHint",
|
|
2284
|
-
"quickFilters": "Tg9J7q_quickFilters",
|
|
2285
|
-
"cardIcon": "Tg9J7q_cardIcon",
|
|
2286
|
-
"lineWide": "Tg9J7q_lineWide",
|
|
2287
|
-
"destinationLabel": "Tg9J7q_destinationLabel",
|
|
2288
|
-
"slidePage": "Tg9J7q_slidePage",
|
|
2289
|
-
"footer": "Tg9J7q_footer",
|
|
2290
|
-
"cardBody": "Tg9J7q_cardBody",
|
|
2291
|
-
"cardTitle": "Tg9J7q_cardTitle",
|
|
2274
|
+
"muted": "Tg9J7q_muted",
|
|
2275
|
+
"cardActions": "Tg9J7q_cardActions",
|
|
2276
|
+
"manage": "Tg9J7q_manage",
|
|
2277
|
+
"manageName": "Tg9J7q_manageName",
|
|
2292
2278
|
"cardMeta": "Tg9J7q_cardMeta",
|
|
2293
|
-
"
|
|
2294
|
-
"previewContent": "Tg9J7q_previewContent",
|
|
2279
|
+
"field": "Tg9J7q_field",
|
|
2295
2280
|
"notice": "Tg9J7q_notice",
|
|
2296
2281
|
"library": "Tg9J7q_library",
|
|
2297
|
-
"
|
|
2298
|
-
"
|
|
2299
|
-
"
|
|
2300
|
-
"cover": "Tg9J7q_cover",
|
|
2301
|
-
"cardActions": "Tg9J7q_cardActions",
|
|
2302
|
-
"muted": "Tg9J7q_muted",
|
|
2303
|
-
"manageName": "Tg9J7q_manageName",
|
|
2304
|
-
"previewModal": "Tg9J7q_previewModal",
|
|
2305
|
-
"categoryFilters": "Tg9J7q_categoryFilters",
|
|
2306
|
-
"sheetGrid": "Tg9J7q_sheetGrid",
|
|
2307
|
-
"modal": "Tg9J7q_modal",
|
|
2282
|
+
"card": "Tg9J7q_card",
|
|
2283
|
+
"destinationLabel": "Tg9J7q_destinationLabel",
|
|
2284
|
+
"manageBar": "Tg9J7q_manageBar",
|
|
2308
2285
|
"favorite": "Tg9J7q_favorite",
|
|
2286
|
+
"categoryChip": "Tg9J7q_categoryChip",
|
|
2309
2287
|
"filterDivider": "Tg9J7q_filterDivider",
|
|
2310
|
-
"card": "Tg9J7q_card",
|
|
2311
|
-
"destination": "Tg9J7q_destination",
|
|
2312
|
-
"field": "Tg9J7q_field",
|
|
2313
|
-
"fileInput": "Tg9J7q_fileInput",
|
|
2314
|
-
"formActions": "Tg9J7q_formActions",
|
|
2315
|
-
"cardHead": "Tg9J7q_cardHead",
|
|
2316
|
-
"coverPage": "Tg9J7q_coverPage",
|
|
2317
2288
|
"documentPage": "Tg9J7q_documentPage",
|
|
2318
|
-
"
|
|
2319
|
-
"
|
|
2320
|
-
"
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2289
|
+
"grid": "Tg9J7q_grid",
|
|
2290
|
+
"fieldHint": "Tg9J7q_fieldHint",
|
|
2291
|
+
"cardMain": "Tg9J7q_cardMain",
|
|
2292
|
+
"lineShort": "Tg9J7q_lineShort",
|
|
2293
|
+
"cardFoot": "Tg9J7q_cardFoot",
|
|
2294
|
+
"categoryFilters": "Tg9J7q_categoryFilters",
|
|
2295
|
+
"coverPage": "Tg9J7q_coverPage",
|
|
2296
|
+
"footer": "Tg9J7q_footer",
|
|
2297
|
+
"cardBody": "Tg9J7q_cardBody",
|
|
2298
|
+
"lineWide": "Tg9J7q_lineWide",
|
|
2299
|
+
"filterRow": "Tg9J7q_filterRow",
|
|
2300
|
+
"quickFilter": "Tg9J7q_quickFilter",
|
|
2301
|
+
"modal": "Tg9J7q_modal",
|
|
2302
|
+
"fileInput": "Tg9J7q_fileInput",
|
|
2303
|
+
"sheetGrid": "Tg9J7q_sheetGrid",
|
|
2304
|
+
"previewContent": "Tg9J7q_previewContent",
|
|
2305
|
+
"cover": "Tg9J7q_cover",
|
|
2306
|
+
"dialog": "Tg9J7q_dialog",
|
|
2307
|
+
"cardTags": "Tg9J7q_cardTags",
|
|
2308
|
+
"quickFilters": "Tg9J7q_quickFilters",
|
|
2309
|
+
"cardIcon": "Tg9J7q_cardIcon",
|
|
2310
|
+
"formActions": "Tg9J7q_formActions",
|
|
2311
|
+
"destination": "Tg9J7q_destination",
|
|
2312
|
+
"previewModal": "Tg9J7q_previewModal",
|
|
2313
|
+
"cardHead": "Tg9J7q_cardHead",
|
|
2314
|
+
"slidePage": "Tg9J7q_slidePage",
|
|
2315
|
+
"fieldLabel": "Tg9J7q_fieldLabel",
|
|
2316
|
+
"manageActions": "Tg9J7q_manageActions",
|
|
2317
|
+
"form": "Tg9J7q_form",
|
|
2318
|
+
"manageRow": "Tg9J7q_manageRow",
|
|
2319
|
+
"cardTitle": "Tg9J7q_cardTitle",
|
|
2320
|
+
"manageList": "Tg9J7q_manageList"
|
|
2321
|
+
};
|
|
2322
|
+
//#endregion
|
|
2323
|
+
//#region src/client/KnowledgeTemplates.tsx
|
|
2324
|
+
/**
|
|
2325
2325
|
* The template library: a card grid in an official dialog, with a maintenance side.
|
|
2326
2326
|
*
|
|
2327
2327
|
* A template is a document plus the few facts that describe it -- name, one-line
|
|
@@ -3303,14 +3303,14 @@ 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
|
+
"cardTitle": "hXsYha_cardTitle",
|
|
3311
3308
|
"dialog": "hXsYha_dialog",
|
|
3309
|
+
"footer": "hXsYha_footer",
|
|
3312
3310
|
"cardText": "hXsYha_cardText",
|
|
3313
|
-
"
|
|
3311
|
+
"card": "hXsYha_card",
|
|
3312
|
+
"iconPlate": "hXsYha_iconPlate",
|
|
3313
|
+
"cards": "hXsYha_cards"
|
|
3314
3314
|
};
|
|
3315
3315
|
//#endregion
|
|
3316
3316
|
//#region src/client/KnowledgeNewDocumentDialog.tsx
|
|
@@ -3401,52 +3401,52 @@ window.__ModuleLoader__.load({
|
|
|
3401
3401
|
document.head.appendChild(tag);
|
|
3402
3402
|
}
|
|
3403
3403
|
var KnowledgeCreateDialog_module_css_default = {
|
|
3404
|
-
"
|
|
3405
|
-
"
|
|
3404
|
+
"crumb": "HX727W_crumb",
|
|
3405
|
+
"summary": "HX727W_summary",
|
|
3406
|
+
"pickerList": "HX727W_pickerList",
|
|
3407
|
+
"uploadLayout": "HX727W_uploadLayout",
|
|
3408
|
+
"steps": "HX727W_steps",
|
|
3409
|
+
"fileInput": "HX727W_fileInput",
|
|
3410
|
+
"modal": "HX727W_modal",
|
|
3411
|
+
"pickerBar": "HX727W_pickerBar",
|
|
3412
|
+
"dropzone": "HX727W_dropzone",
|
|
3406
3413
|
"treeChildren": "HX727W_treeChildren",
|
|
3407
|
-
"
|
|
3408
|
-
"
|
|
3409
|
-
"
|
|
3410
|
-
"treeNotice": "HX727W_treeNotice",
|
|
3411
|
-
"stepLine": "HX727W_stepLine",
|
|
3412
|
-
"removeFile": "HX727W_removeFile",
|
|
3414
|
+
"pickerPathLabel": "HX727W_pickerPathLabel",
|
|
3415
|
+
"uploadRow": "HX727W_uploadRow",
|
|
3416
|
+
"pickerMuted": "HX727W_pickerMuted",
|
|
3413
3417
|
"uploadName": "HX727W_uploadName",
|
|
3414
|
-
"field": "HX727W_field",
|
|
3415
|
-
"steps": "HX727W_steps",
|
|
3416
3418
|
"step": "HX727W_step",
|
|
3417
|
-
"
|
|
3418
|
-
"
|
|
3419
|
-
"
|
|
3420
|
-
"pickerRow": "HX727W_pickerRow",
|
|
3421
|
-
"fileName": "HX727W_fileName",
|
|
3422
|
-
"pickerPathValue": "HX727W_pickerPathValue",
|
|
3423
|
-
"uploadRow": "HX727W_uploadRow",
|
|
3424
|
-
"tree": "HX727W_tree",
|
|
3425
|
-
"treeRow": "HX727W_treeRow",
|
|
3419
|
+
"treeName": "HX727W_treeName",
|
|
3420
|
+
"fieldHint": "HX727W_fieldHint",
|
|
3421
|
+
"fileTarget": "HX727W_fileTarget",
|
|
3426
3422
|
"treeMuted": "HX727W_treeMuted",
|
|
3423
|
+
"treeNotice": "HX727W_treeNotice",
|
|
3427
3424
|
"crumbWrap": "HX727W_crumbWrap",
|
|
3428
|
-
"
|
|
3429
|
-
"footer": "HX727W_footer",
|
|
3430
|
-
"fileInput": "HX727W_fileInput",
|
|
3431
|
-
"fileTarget": "HX727W_fileTarget",
|
|
3432
|
-
"pickerPathLabel": "HX727W_pickerPathLabel",
|
|
3433
|
-
"visuallyHiddenInput": "HX727W_visuallyHiddenInput",
|
|
3434
|
-
"fieldLabel": "HX727W_fieldLabel",
|
|
3435
|
-
"uploadList": "HX727W_uploadList",
|
|
3425
|
+
"fileList": "HX727W_fileList",
|
|
3436
3426
|
"treeToggle": "HX727W_treeToggle",
|
|
3437
|
-
"
|
|
3438
|
-
"
|
|
3439
|
-
"
|
|
3440
|
-
"
|
|
3427
|
+
"fileName": "HX727W_fileName",
|
|
3428
|
+
"field": "HX727W_field",
|
|
3429
|
+
"dialog": "HX727W_dialog",
|
|
3430
|
+
"tree": "HX727W_tree",
|
|
3431
|
+
"pickerPath": "HX727W_pickerPath",
|
|
3432
|
+
"pickerRow": "HX727W_pickerRow",
|
|
3433
|
+
"visuallyHiddenInput": "HX727W_visuallyHiddenInput",
|
|
3434
|
+
"removeFile": "HX727W_removeFile",
|
|
3435
|
+
"uploadSummary": "HX727W_uploadSummary",
|
|
3436
|
+
"dropzoneHint": "HX727W_dropzoneHint",
|
|
3441
3437
|
"uploadSize": "HX727W_uploadSize",
|
|
3442
|
-
"
|
|
3443
|
-
"
|
|
3438
|
+
"stepLine": "HX727W_stepLine",
|
|
3439
|
+
"picker": "HX727W_picker",
|
|
3440
|
+
"fieldError": "HX727W_fieldError",
|
|
3441
|
+
"uploadQueue": "HX727W_uploadQueue",
|
|
3442
|
+
"fieldLabel": "HX727W_fieldLabel",
|
|
3443
|
+
"pickerPathValue": "HX727W_pickerPathValue",
|
|
3444
|
+
"fileRow": "HX727W_fileRow",
|
|
3445
|
+
"treeRow": "HX727W_treeRow",
|
|
3446
|
+
"dropzoneTitle": "HX727W_dropzoneTitle",
|
|
3444
3447
|
"crumbSep": "HX727W_crumbSep",
|
|
3445
|
-
"
|
|
3446
|
-
"
|
|
3447
|
-
"fileList": "HX727W_fileList",
|
|
3448
|
-
"uploadLayout": "HX727W_uploadLayout",
|
|
3449
|
-
"pickerPath": "HX727W_pickerPath"
|
|
3448
|
+
"footer": "HX727W_footer",
|
|
3449
|
+
"uploadList": "HX727W_uploadList"
|
|
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
|
-
"iconButtonSm": "lvzz-W_iconButtonSm",
|
|
6060
|
-
"iconButtonDanger": "lvzz-W_iconButtonDanger",
|
|
6061
6059
|
"sectionHeader": "lvzz-W_sectionHeader",
|
|
6062
|
-
"chip": "lvzz-W_chip",
|
|
6063
|
-
"noticeWell": "lvzz-W_noticeWell",
|
|
6064
|
-
"noticePage": "lvzz-W_noticePage",
|
|
6065
|
-
"noticeInline": "lvzz-W_noticeInline",
|
|
6066
|
-
"sectionLabel": "lvzz-W_sectionLabel",
|
|
6067
|
-
"notice": "lvzz-W_notice",
|
|
6068
6060
|
"noticeWarn": "lvzz-W_noticeWarn",
|
|
6069
|
-
"iconButtonActive": "lvzz-W_iconButtonActive",
|
|
6070
|
-
"iconButton": "lvzz-W_iconButton",
|
|
6071
|
-
"statusBadge": "lvzz-W_statusBadge",
|
|
6072
|
-
"iconButtonMd": "lvzz-W_iconButtonMd",
|
|
6073
|
-
"chipLabel": "lvzz-W_chipLabel",
|
|
6074
6061
|
"chipCount": "lvzz-W_chipCount",
|
|
6075
|
-
"sectionAction": "lvzz-W_sectionAction",
|
|
6076
6062
|
"noticeError": "lvzz-W_noticeError",
|
|
6063
|
+
"chipLabel": "lvzz-W_chipLabel",
|
|
6064
|
+
"noticeInline": "lvzz-W_noticeInline",
|
|
6065
|
+
"chip": "lvzz-W_chip",
|
|
6077
6066
|
"sectionCount": "lvzz-W_sectionCount",
|
|
6078
6067
|
"noticeHint": "lvzz-W_noticeHint",
|
|
6068
|
+
"notice": "lvzz-W_notice",
|
|
6069
|
+
"noticePage": "lvzz-W_noticePage",
|
|
6070
|
+
"statusBadge": "lvzz-W_statusBadge",
|
|
6071
|
+
"iconButton": "lvzz-W_iconButton",
|
|
6072
|
+
"iconButtonSm": "lvzz-W_iconButtonSm",
|
|
6073
|
+
"iconButtonDanger": "lvzz-W_iconButtonDanger",
|
|
6074
|
+
"noticeWell": "lvzz-W_noticeWell",
|
|
6079
6075
|
"confirmDesc": "lvzz-W_confirmDesc",
|
|
6080
|
-
"
|
|
6076
|
+
"sectionLabel": "lvzz-W_sectionLabel",
|
|
6077
|
+
"sectionAction": "lvzz-W_sectionAction",
|
|
6078
|
+
"iconButtonActive": "lvzz-W_iconButtonActive",
|
|
6079
|
+
"chipActive": "lvzz-W_chipActive",
|
|
6080
|
+
"iconButtonMd": "lvzz-W_iconButtonMd"
|
|
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
|
-
"
|
|
6893
|
+
"explorerActionErrorText": "s56VVa_explorerActionErrorText",
|
|
6894
|
+
"editorMd": "s56VVa_editorMd",
|
|
6895
|
+
"explorerActionError": "s56VVa_explorerActionError",
|
|
6894
6896
|
"explorerRef": "s56VVa_explorerRef",
|
|
6895
|
-
"
|
|
6896
|
-
"
|
|
6897
|
-
"
|
|
6898
|
-
"
|
|
6897
|
+
"mermaidHeader": "s56VVa_mermaidHeader",
|
|
6898
|
+
"editorTitle": "s56VVa_editorTitle",
|
|
6899
|
+
"dsh-row-in": "s56VVa_dsh-row-in",
|
|
6900
|
+
"editorError": "s56VVa_editorError",
|
|
6901
|
+
"paneCard": "s56VVa_paneCard",
|
|
6902
|
+
"explorerSymlink": "s56VVa_explorerSymlink",
|
|
6903
|
+
"editorModeToggle": "s56VVa_editorModeToggle",
|
|
6904
|
+
"tabTitle": "s56VVa_tabTitle",
|
|
6905
|
+
"browserBlockedActions": "s56VVa_browserBlockedActions",
|
|
6906
|
+
"largeFileNotice": "s56VVa_largeFileNotice",
|
|
6907
|
+
"editorStatusError": "s56VVa_editorStatusError",
|
|
6908
|
+
"editorGitBarAdd": "s56VVa_editorGitBarAdd",
|
|
6909
|
+
"gitError": "s56VVa_gitError",
|
|
6910
|
+
"chipUnread": "s56VVa_chipUnread",
|
|
6911
|
+
"editorPdfDragShield": "s56VVa_editorPdfDragShield",
|
|
6912
|
+
"editorGitDel": "s56VVa_editorGitDel",
|
|
6913
|
+
"mermaidPendingBar": "s56VVa_mermaidPendingBar",
|
|
6914
|
+
"tabBarRightActions": "s56VVa_tabBarRightActions",
|
|
6915
|
+
"mermaidModalButton": "s56VVa_mermaidModalButton",
|
|
6916
|
+
"editorBinaryNotice": "s56VVa_editorBinaryNotice",
|
|
6899
6917
|
"largeFileLineText": "s56VVa_largeFileLineText",
|
|
6900
|
-
"
|
|
6901
|
-
"
|
|
6902
|
-
"
|
|
6903
|
-
"
|
|
6904
|
-
"
|
|
6918
|
+
"iconButton": "s56VVa_iconButton",
|
|
6919
|
+
"divider": "s56VVa_divider",
|
|
6920
|
+
"mermaidError": "s56VVa_mermaidError",
|
|
6921
|
+
"paneEmptyCards": "s56VVa_paneEmptyCards",
|
|
6922
|
+
"editorCmHidden": "s56VVa_editorCmHidden",
|
|
6923
|
+
"uploadOverlayStatus": "s56VVa_uploadOverlayStatus",
|
|
6924
|
+
"orphanedType": "s56VVa_orphanedType",
|
|
6925
|
+
"largeFilePageLabel": "s56VVa_largeFilePageLabel",
|
|
6926
|
+
"browserInput": "s56VVa_browserInput",
|
|
6927
|
+
"editorStatus": "s56VVa_editorStatus",
|
|
6928
|
+
"browserBar": "s56VVa_browserBar",
|
|
6929
|
+
"dropUp": "s56VVa_dropUp",
|
|
6930
|
+
"largeFile": "s56VVa_largeFile",
|
|
6931
|
+
"split": "s56VVa_split",
|
|
6932
|
+
"gitEmpty": "s56VVa_gitEmpty",
|
|
6933
|
+
"gitPlaceholder": "s56VVa_gitPlaceholder",
|
|
6934
|
+
"largeFileDownload": "s56VVa_largeFileDownload",
|
|
6935
|
+
"tocBar": "s56VVa_tocBar",
|
|
6936
|
+
"largeFileRecords": "s56VVa_largeFileRecords",
|
|
6937
|
+
"uploadOverlay": "s56VVa_uploadOverlay",
|
|
6905
6938
|
"explorerRow": "s56VVa_explorerRow",
|
|
6906
|
-
"
|
|
6939
|
+
"openWithChevron": "s56VVa_openWithChevron",
|
|
6940
|
+
"tocPanel": "s56VVa_tocPanel",
|
|
6941
|
+
"editorModeActive": "s56VVa_editorModeActive",
|
|
6942
|
+
"uploadDropChatHint": "s56VVa_uploadDropChatHint",
|
|
6943
|
+
"editorSearchHint": "s56VVa_editorSearchHint",
|
|
6944
|
+
"browser": "s56VVa_browser",
|
|
6907
6945
|
"editor": "s56VVa_editor",
|
|
6908
|
-
"
|
|
6909
|
-
"editorTreeSearch": "s56VVa_editorTreeSearch",
|
|
6910
|
-
"editorBinary": "s56VVa_editorBinary",
|
|
6946
|
+
"explorerRowDropTarget": "s56VVa_explorerRowDropTarget",
|
|
6911
6947
|
"mermaidCopy": "s56VVa_mermaidCopy",
|
|
6912
|
-
"explorerRenaming": "s56VVa_explorerRenaming",
|
|
6913
|
-
"largeFileRecordNo": "s56VVa_largeFileRecordNo",
|
|
6914
|
-
"editorGitBar": "s56VVa_editorGitBar",
|
|
6915
|
-
"mermaidModalToolbar": "s56VVa_mermaidModalToolbar",
|
|
6916
|
-
"editorDownloadLink": "s56VVa_editorDownloadLink",
|
|
6917
|
-
"bottomResize": "s56VVa_bottomResize",
|
|
6918
6948
|
"browserBlockedTitle": "s56VVa_browserBlockedTitle",
|
|
6919
|
-
"
|
|
6949
|
+
"editorCm": "s56VVa_editorCm",
|
|
6920
6950
|
"nativeTabMenuSeparator": "s56VVa_nativeTabMenuSeparator",
|
|
6921
|
-
"
|
|
6922
|
-
"
|
|
6923
|
-
"
|
|
6924
|
-
"
|
|
6925
|
-
"mermaidModalStage": "s56VVa_mermaidModalStage",
|
|
6926
|
-
"editorBannerAction": "s56VVa_editorBannerAction",
|
|
6927
|
-
"editorModeActive": "s56VVa_editorModeActive",
|
|
6928
|
-
"iconButton": "s56VVa_iconButton",
|
|
6929
|
-
"divider": "s56VVa_divider",
|
|
6951
|
+
"uploadDropChatCard": "s56VVa_uploadDropChatCard",
|
|
6952
|
+
"uploadOverlayProgress": "s56VVa_uploadOverlayProgress",
|
|
6953
|
+
"largeFileRecordExpanded": "s56VVa_largeFileRecordExpanded",
|
|
6954
|
+
"tabUnreadDot": "s56VVa_tabUnreadDot",
|
|
6930
6955
|
"dsh-toc-flash": "s56VVa_dsh-toc-flash",
|
|
6931
|
-
"
|
|
6932
|
-
"
|
|
6933
|
-
"
|
|
6934
|
-
"
|
|
6935
|
-
"
|
|
6956
|
+
"largeFileBody": "s56VVa_largeFileBody",
|
|
6957
|
+
"gitDiffTabHeader": "s56VVa_gitDiffTabHeader",
|
|
6958
|
+
"largeFilePager": "s56VVa_largeFilePager",
|
|
6959
|
+
"splitCol": "s56VVa_splitCol",
|
|
6960
|
+
"gitDiffTabTitle": "s56VVa_gitDiffTabTitle",
|
|
6961
|
+
"dropDown": "s56VVa_dropDown",
|
|
6962
|
+
"explorerRowRevealed": "s56VVa_explorerRowRevealed",
|
|
6963
|
+
"terminalRetry": "s56VVa_terminalRetry",
|
|
6964
|
+
"mermaidModal": "s56VVa_mermaidModal",
|
|
6965
|
+
"explorerMuted": "s56VVa_explorerMuted",
|
|
6966
|
+
"dropOverlay": "s56VVa_dropOverlay",
|
|
6967
|
+
"editorTreePanel": "s56VVa_editorTreePanel",
|
|
6968
|
+
"explorerRowSelected": "s56VVa_explorerRowSelected",
|
|
6969
|
+
"editorGitAdd": "s56VVa_editorGitAdd",
|
|
6936
6970
|
"splitRow": "s56VVa_splitRow",
|
|
6937
|
-
"
|
|
6938
|
-
"
|
|
6939
|
-
"browser": "s56VVa_browser",
|
|
6940
|
-
"bottomPanelHidden": "s56VVa_bottomPanelHidden",
|
|
6941
|
-
"paneContent": "s56VVa_paneContent",
|
|
6971
|
+
"editorSearchResult": "s56VVa_editorSearchResult",
|
|
6972
|
+
"tabBoundaryError": "s56VVa_tabBoundaryError",
|
|
6942
6973
|
"editorHtml": "s56VVa_editorHtml",
|
|
6943
|
-
"
|
|
6974
|
+
"tocItem": "s56VVa_tocItem",
|
|
6975
|
+
"sandboxAction": "s56VVa_sandboxAction",
|
|
6976
|
+
"openWithLabel": "s56VVa_openWithLabel",
|
|
6977
|
+
"explorerSelectionActions": "s56VVa_explorerSelectionActions",
|
|
6978
|
+
"uploadDropZone": "s56VVa_uploadDropZone",
|
|
6979
|
+
"editorGitBarGutter": "s56VVa_editorGitBarGutter",
|
|
6980
|
+
"mermaidModalToolbar": "s56VVa_mermaidModalToolbar",
|
|
6981
|
+
"explorerBody": "s56VVa_explorerBody",
|
|
6982
|
+
"explorerAppIcon": "s56VVa_explorerAppIcon",
|
|
6983
|
+
"editorBlame": "s56VVa_editorBlame",
|
|
6984
|
+
"largeFileList": "s56VVa_largeFileList",
|
|
6985
|
+
"editorBlameSummary": "s56VVa_editorBlameSummary",
|
|
6986
|
+
"editorPlaceholder": "s56VVa_editorPlaceholder",
|
|
6987
|
+
"boundaryError": "s56VVa_boundaryError",
|
|
6988
|
+
"explorerGitName": "s56VVa_explorerGitName",
|
|
6989
|
+
"bottomPanelHidden": "s56VVa_bottomPanelHidden",
|
|
6990
|
+
"dropCenter": "s56VVa_dropCenter",
|
|
6991
|
+
"tabBarDrop": "s56VVa_tabBarDrop",
|
|
6992
|
+
"uploadDropArtCut": "s56VVa_uploadDropArtCut",
|
|
6944
6993
|
"sandboxStatusText": "s56VVa_sandboxStatusText",
|
|
6945
|
-
"
|
|
6946
|
-
"
|
|
6947
|
-
"
|
|
6948
|
-
"
|
|
6949
|
-
"
|
|
6950
|
-
"
|
|
6951
|
-
"
|
|
6952
|
-
"
|
|
6953
|
-
"
|
|
6954
|
-
"openWithPin": "s56VVa_openWithPin",
|
|
6955
|
-
"largeFileRecord": "s56VVa_largeFileRecord",
|
|
6956
|
-
"tocFlash": "s56VVa_tocFlash",
|
|
6957
|
-
"editorPdfStage": "s56VVa_editorPdfStage",
|
|
6958
|
-
"mermaidPendingBar": "s56VVa_mermaidPendingBar",
|
|
6959
|
-
"tabClose": "s56VVa_tabClose",
|
|
6960
|
-
"dividerCol": "s56VVa_dividerCol",
|
|
6961
|
-
"editorPdfDragShieldActive": "s56VVa_editorPdfDragShieldActive",
|
|
6962
|
-
"explorerRoot": "s56VVa_explorerRoot",
|
|
6963
|
-
"uploadOverlayProgress": "s56VVa_uploadOverlayProgress",
|
|
6964
|
-
"tabUnreadDot": "s56VVa_tabUnreadDot",
|
|
6965
|
-
"editorError": "s56VVa_editorError",
|
|
6966
|
-
"dropLeft": "s56VVa_dropLeft",
|
|
6967
|
-
"mermaidPending": "s56VVa_mermaidPending",
|
|
6968
|
-
"gitDiffTabHeader": "s56VVa_gitDiffTabHeader",
|
|
6969
|
-
"browserBlockedDesc": "s56VVa_browserBlockedDesc",
|
|
6994
|
+
"editorPptxButton": "s56VVa_editorPptxButton",
|
|
6995
|
+
"tocItemText": "s56VVa_tocItemText",
|
|
6996
|
+
"uploadOverlayTitle": "s56VVa_uploadOverlayTitle",
|
|
6997
|
+
"dividerActive": "s56VVa_dividerActive",
|
|
6998
|
+
"explorerHiddenPane": "s56VVa_explorerHiddenPane",
|
|
6999
|
+
"explorerError": "s56VVa_explorerError",
|
|
7000
|
+
"browserBlocked": "s56VVa_browserBlocked",
|
|
7001
|
+
"mermaidWrap": "s56VVa_mermaidWrap",
|
|
7002
|
+
"largeFileLines": "s56VVa_largeFileLines",
|
|
6970
7003
|
"uploadDropZoneText": "s56VVa_uploadDropZoneText",
|
|
6971
|
-
"
|
|
6972
|
-
"
|
|
6973
|
-
"
|
|
7004
|
+
"mermaidModalStage": "s56VVa_mermaidModalStage",
|
|
7005
|
+
"mermaidPendingPulse": "s56VVa_mermaidPendingPulse",
|
|
7006
|
+
"tocItemLevel": "s56VVa_tocItemLevel",
|
|
6974
7007
|
"browserFrame": "s56VVa_browserFrame",
|
|
6975
|
-
"
|
|
6976
|
-
"
|
|
6977
|
-
"
|
|
6978
|
-
"
|
|
6979
|
-
"
|
|
7008
|
+
"tabClose": "s56VVa_tabClose",
|
|
7009
|
+
"explorerRoot": "s56VVa_explorerRoot",
|
|
7010
|
+
"editorTreeDock": "s56VVa_editorTreeDock",
|
|
7011
|
+
"uploadOverlayProgressFill": "s56VVa_uploadOverlayProgressFill",
|
|
7012
|
+
"splitChild": "s56VVa_splitChild",
|
|
7013
|
+
"paneDrop": "s56VVa_paneDrop",
|
|
7014
|
+
"editorBanner": "s56VVa_editorBanner",
|
|
7015
|
+
"tabBarPlus": "s56VVa_tabBarPlus",
|
|
7016
|
+
"editorPdfDragShieldActive": "s56VVa_editorPdfDragShieldActive",
|
|
7017
|
+
"editorMain": "s56VVa_editorMain",
|
|
7018
|
+
"editorDownloadLink": "s56VVa_editorDownloadLink",
|
|
7019
|
+
"explorerEmpty": "s56VVa_explorerEmpty",
|
|
6980
7020
|
"largeFileLine": "s56VVa_largeFileLine",
|
|
6981
|
-
"
|
|
6982
|
-
"
|
|
6983
|
-
"toggleButton": "s56VVa_toggleButton",
|
|
6984
|
-
"uploadOverlay": "s56VVa_uploadOverlay",
|
|
7021
|
+
"tabActive": "s56VVa_tabActive",
|
|
7022
|
+
"uploadDropZonePill": "s56VVa_uploadDropZonePill",
|
|
6985
7023
|
"explorerDirChanged": "s56VVa_explorerDirChanged",
|
|
6986
|
-
"
|
|
6987
|
-
"
|
|
6988
|
-
"
|
|
7024
|
+
"nativeTabHost": "s56VVa_nativeTabHost",
|
|
7025
|
+
"largeFileNoticeAction": "s56VVa_largeFileNoticeAction",
|
|
7026
|
+
"selectionPopup": "s56VVa_selectionPopup",
|
|
7027
|
+
"editorTreeSearch": "s56VVa_editorTreeSearch",
|
|
7028
|
+
"largeFileRecordInvalid": "s56VVa_largeFileRecordInvalid",
|
|
6989
7029
|
"mermaidErrorDetail": "s56VVa_mermaidErrorDetail",
|
|
7030
|
+
"largeFileRecordTree": "s56VVa_largeFileRecordTree",
|
|
7031
|
+
"openWithName": "s56VVa_openWithName",
|
|
7032
|
+
"explorer": "s56VVa_explorer",
|
|
7033
|
+
"sandboxStatusOn": "s56VVa_sandboxStatusOn",
|
|
7034
|
+
"explorerName": "s56VVa_explorerName",
|
|
7035
|
+
"browserMessage": "s56VVa_browserMessage",
|
|
7036
|
+
"mermaidInfo": "s56VVa_mermaidInfo",
|
|
7037
|
+
"largeFileRecordSummary": "s56VVa_largeFileRecordSummary",
|
|
6990
7038
|
"tabList": "s56VVa_tabList",
|
|
6991
|
-
"
|
|
6992
|
-
"
|
|
6993
|
-
"
|
|
7039
|
+
"uploadOverlayCard": "s56VVa_uploadOverlayCard",
|
|
7040
|
+
"paneTabHidden": "s56VVa_paneTabHidden",
|
|
7041
|
+
"sandboxStatus": "s56VVa_sandboxStatus",
|
|
7042
|
+
"openWithPin": "s56VVa_openWithPin",
|
|
7043
|
+
"panel": "s56VVa_panel",
|
|
7044
|
+
"tabBar": "s56VVa_tabBar",
|
|
7045
|
+
"bottomResize": "s56VVa_bottomResize",
|
|
6994
7046
|
"explorerDir": "s56VVa_explorerDir",
|
|
6995
|
-
"
|
|
6996
|
-
"mermaidPendingPulse": "s56VVa_mermaidPendingPulse",
|
|
6997
|
-
"sandboxStatusOff": "s56VVa_sandboxStatusOff",
|
|
6998
|
-
"editorBody": "s56VVa_editorBody",
|
|
6999
|
-
"browserStart": "s56VVa_browserStart",
|
|
7000
|
-
"largeFileDownload": "s56VVa_largeFileDownload",
|
|
7001
|
-
"largeFileLines": "s56VVa_largeFileLines",
|
|
7002
|
-
"editorHeader": "s56VVa_editorHeader",
|
|
7003
|
-
"editorBinaryNotice": "s56VVa_editorBinaryNotice",
|
|
7004
|
-
"workbench": "s56VVa_workbench",
|
|
7005
|
-
"browserBlockedButton": "s56VVa_browserBlockedButton",
|
|
7006
|
-
"editorModeToggle": "s56VVa_editorModeToggle",
|
|
7007
|
-
"mermaidHeader": "s56VVa_mermaidHeader",
|
|
7008
|
-
"mermaidInfo": "s56VVa_mermaidInfo",
|
|
7009
|
-
"paneDrop": "s56VVa_paneDrop",
|
|
7010
|
-
"uploadDropArtCut": "s56VVa_uploadDropArtCut",
|
|
7011
|
-
"uploadDropMask": "s56VVa_uploadDropMask",
|
|
7012
|
-
"uploadDropArtPrimary": "s56VVa_uploadDropArtPrimary",
|
|
7013
|
-
"panelBody": "s56VVa_panelBody",
|
|
7014
|
-
"browserBar": "s56VVa_browserBar",
|
|
7015
|
-
"tocItem": "s56VVa_tocItem",
|
|
7016
|
-
"editorSearchResultDir": "s56VVa_editorSearchResultDir",
|
|
7017
|
-
"orphanedType": "s56VVa_orphanedType",
|
|
7018
|
-
"editorGitMod": "s56VVa_editorGitMod",
|
|
7019
|
-
"browserMessage": "s56VVa_browserMessage",
|
|
7020
|
-
"tocItemText": "s56VVa_tocItemText",
|
|
7021
|
-
"editorBlame": "s56VVa_editorBlame",
|
|
7022
|
-
"largeFilePageLabel": "s56VVa_largeFilePageLabel",
|
|
7023
|
-
"terminalRetry": "s56VVa_terminalRetry",
|
|
7024
|
-
"openWithChevron": "s56VVa_openWithChevron",
|
|
7025
|
-
"editorPdfToolbar": "s56VVa_editorPdfToolbar",
|
|
7026
|
-
"editorTreeResize": "s56VVa_editorTreeResize",
|
|
7027
|
-
"browserBlocked": "s56VVa_browserBlocked",
|
|
7028
|
-
"editorTreePanel": "s56VVa_editorTreePanel",
|
|
7029
|
-
"explorer": "s56VVa_explorer",
|
|
7030
|
-
"bottomResizeActive": "s56VVa_bottomResizeActive",
|
|
7031
|
-
"mermaidMarkdown": "s56VVa_mermaidMarkdown",
|
|
7047
|
+
"dockFallback": "s56VVa_dockFallback",
|
|
7032
7048
|
"editorPdfFrameBlocked": "s56VVa_editorPdfFrameBlocked",
|
|
7033
|
-
"
|
|
7034
|
-
"splitCol": "s56VVa_splitCol",
|
|
7035
|
-
"gitError": "s56VVa_gitError",
|
|
7036
|
-
"explorerHidden": "s56VVa_explorerHidden",
|
|
7037
|
-
"tabBarDrop": "s56VVa_tabBarDrop",
|
|
7049
|
+
"bottomClose": "s56VVa_bottomClose",
|
|
7038
7050
|
"largeFileLineNo": "s56VVa_largeFileLineNo",
|
|
7039
|
-
"
|
|
7040
|
-
"
|
|
7041
|
-
"
|
|
7042
|
-
"
|
|
7043
|
-
"
|
|
7044
|
-
"
|
|
7045
|
-
"
|
|
7046
|
-
"
|
|
7047
|
-
"
|
|
7048
|
-
"uploadDropChatHint": "s56VVa_uploadDropChatHint",
|
|
7049
|
-
"explorerRowDropTarget": "s56VVa_explorerRowDropTarget",
|
|
7050
|
-
"largeFileRecordSummary": "s56VVa_largeFileRecordSummary",
|
|
7051
|
-
"editorPdfFrame": "s56VVa_editorPdfFrame",
|
|
7052
|
-
"browserInput": "s56VVa_browserInput",
|
|
7053
|
-
"explorerBody": "s56VVa_explorerBody",
|
|
7054
|
-
"sandboxStatusOn": "s56VVa_sandboxStatusOn",
|
|
7055
|
-
"boundaryError": "s56VVa_boundaryError",
|
|
7056
|
-
"explorerEmpty": "s56VVa_explorerEmpty",
|
|
7051
|
+
"uploadOverlayCancel": "s56VVa_uploadOverlayCancel",
|
|
7052
|
+
"editorBinary": "s56VVa_editorBinary",
|
|
7053
|
+
"browserBlockedDesc": "s56VVa_browserBlockedDesc",
|
|
7054
|
+
"editorDocxZoomRange": "s56VVa_editorDocxZoomRange",
|
|
7055
|
+
"browserStart": "s56VVa_browserStart",
|
|
7056
|
+
"editorModeButton": "s56VVa_editorModeButton",
|
|
7057
|
+
"largeFileRecordNo": "s56VVa_largeFileRecordNo",
|
|
7058
|
+
"uploadDropHero": "s56VVa_uploadDropHero",
|
|
7059
|
+
"nativeTabMenuItem": "s56VVa_nativeTabMenuItem",
|
|
7057
7060
|
"dividerRow": "s56VVa_dividerRow",
|
|
7058
|
-
"
|
|
7059
|
-
"
|
|
7060
|
-
"
|
|
7061
|
-
"
|
|
7062
|
-
"
|
|
7063
|
-
"mermaidCode": "s56VVa_mermaidCode",
|
|
7064
|
-
"uploadDropZone": "s56VVa_uploadDropZone",
|
|
7065
|
-
"mermaidBody": "s56VVa_mermaidBody",
|
|
7066
|
-
"editorGitDel": "s56VVa_editorGitDel",
|
|
7067
|
-
"editorSearchHint": "s56VVa_editorSearchHint",
|
|
7068
|
-
"tocPanel": "s56VVa_tocPanel",
|
|
7069
|
-
"largeFileNotice": "s56VVa_largeFileNotice",
|
|
7061
|
+
"sandboxDot": "s56VVa_sandboxDot",
|
|
7062
|
+
"mermaidModalHint": "s56VVa_mermaidModalHint",
|
|
7063
|
+
"editorHtmlBlock": "s56VVa_editorHtmlBlock",
|
|
7064
|
+
"editorGitBar": "s56VVa_editorGitBar",
|
|
7065
|
+
"largeFileRecordBody": "s56VVa_largeFileRecordBody",
|
|
7070
7066
|
"editorSearchResultLabel": "s56VVa_editorSearchResultLabel",
|
|
7071
|
-
"
|
|
7067
|
+
"dropLeft": "s56VVa_dropLeft",
|
|
7072
7068
|
"explorerSelectionText": "s56VVa_explorerSelectionText",
|
|
7073
|
-
"
|
|
7074
|
-
"
|
|
7075
|
-
"
|
|
7076
|
-
"
|
|
7077
|
-
"
|
|
7078
|
-
"
|
|
7079
|
-
"
|
|
7080
|
-
"
|
|
7081
|
-
"
|
|
7082
|
-
"
|
|
7083
|
-
"
|
|
7084
|
-
"
|
|
7069
|
+
"editorTreePanelFull": "s56VVa_editorTreePanelFull",
|
|
7070
|
+
"uploadDropArtPrimary": "s56VVa_uploadDropArtPrimary",
|
|
7071
|
+
"editorGitBarMod": "s56VVa_editorGitBarMod",
|
|
7072
|
+
"explorerHidden": "s56VVa_explorerHidden",
|
|
7073
|
+
"explorerTime": "s56VVa_explorerTime",
|
|
7074
|
+
"largeFileRecord": "s56VVa_largeFileRecord",
|
|
7075
|
+
"editorPdfStage": "s56VVa_editorPdfStage",
|
|
7076
|
+
"editorBannerAction": "s56VVa_editorBannerAction",
|
|
7077
|
+
"sandboxStatusOff": "s56VVa_sandboxStatusOff",
|
|
7078
|
+
"tabBadge": "s56VVa_tabBadge",
|
|
7079
|
+
"dirtyDot": "s56VVa_dirtyDot",
|
|
7080
|
+
"uploadDropArtAccent": "s56VVa_uploadDropArtAccent",
|
|
7081
|
+
"bottomPanel": "s56VVa_bottomPanel",
|
|
7082
|
+
"dividerCol": "s56VVa_dividerCol",
|
|
7083
|
+
"explorerSelectionBar": "s56VVa_explorerSelectionBar",
|
|
7084
|
+
"chipIcon": "s56VVa_chipIcon",
|
|
7085
|
+
"editorTreeResize": "s56VVa_editorTreeResize",
|
|
7085
7086
|
"editorBlameHead": "s56VVa_editorBlameHead",
|
|
7086
|
-
"
|
|
7087
|
-
"
|
|
7088
|
-
"
|
|
7089
|
-
"
|
|
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",
|
|
7087
|
+
"openWithPinActive": "s56VVa_openWithPinActive",
|
|
7088
|
+
"dropRight": "s56VVa_dropRight",
|
|
7089
|
+
"editorGitBarSpacer": "s56VVa_editorGitBarSpacer",
|
|
7090
|
+
"mermaidMarkdown": "s56VVa_mermaidMarkdown",
|
|
7101
7091
|
"editorPdf": "s56VVa_editorPdf",
|
|
7102
|
-
"
|
|
7103
|
-
"
|
|
7104
|
-
"openWithName": "s56VVa_openWithName",
|
|
7105
|
-
"uploadDropHero": "s56VVa_uploadDropHero",
|
|
7106
|
-
"editorTreeToggleActive": "s56VVa_editorTreeToggleActive",
|
|
7092
|
+
"explorerRenaming": "s56VVa_explorerRenaming",
|
|
7093
|
+
"editorGitMod": "s56VVa_editorGitMod",
|
|
7107
7094
|
"paneTab": "s56VVa_paneTab",
|
|
7108
|
-
"
|
|
7109
|
-
"
|
|
7110
|
-
"
|
|
7111
|
-
"
|
|
7112
|
-
"
|
|
7113
|
-
"
|
|
7114
|
-
"
|
|
7095
|
+
"explorerHeader": "s56VVa_explorerHeader",
|
|
7096
|
+
"mermaidBody": "s56VVa_mermaidBody",
|
|
7097
|
+
"browserBlockedButton": "s56VVa_browserBlockedButton",
|
|
7098
|
+
"workbench": "s56VVa_workbench",
|
|
7099
|
+
"uploadDropMask": "s56VVa_uploadDropMask",
|
|
7100
|
+
"gitDiffTab": "s56VVa_gitDiffTab",
|
|
7101
|
+
"bottomResizeActive": "s56VVa_bottomResizeActive",
|
|
7102
|
+
"mermaidCode": "s56VVa_mermaidCode",
|
|
7103
|
+
"paneContent": "s56VVa_paneContent",
|
|
7104
|
+
"panelBody": "s56VVa_panelBody",
|
|
7105
|
+
"editorTreeToggleActive": "s56VVa_editorTreeToggleActive",
|
|
7115
7106
|
"editorSearchInput": "s56VVa_editorSearchInput",
|
|
7116
|
-
"
|
|
7117
|
-
"
|
|
7118
|
-
"
|
|
7119
|
-
"
|
|
7120
|
-
"
|
|
7107
|
+
"editorPdfFrame": "s56VVa_editorPdfFrame",
|
|
7108
|
+
"editorSearchResultDir": "s56VVa_editorSearchResultDir",
|
|
7109
|
+
"explorerRenameInput": "s56VVa_explorerRenameInput",
|
|
7110
|
+
"toggleButton": "s56VVa_toggleButton",
|
|
7111
|
+
"pane": "s56VVa_pane",
|
|
7112
|
+
"tocFlash": "s56VVa_tocFlash",
|
|
7121
7113
|
"explorerCopied": "s56VVa_explorerCopied",
|
|
7122
|
-
"
|
|
7123
|
-
"
|
|
7114
|
+
"editorPathInput": "s56VVa_editorPathInput",
|
|
7115
|
+
"editorGitBarDel": "s56VVa_editorGitBarDel",
|
|
7116
|
+
"editorHeader": "s56VVa_editorHeader",
|
|
7117
|
+
"tab": "s56VVa_tab",
|
|
7118
|
+
"mermaidPending": "s56VVa_mermaidPending",
|
|
7119
|
+
"editorBody": "s56VVa_editorBody",
|
|
7120
|
+
"largeFileRecordRaw": "s56VVa_largeFileRecordRaw",
|
|
7121
|
+
"editorPdfToolbar": "s56VVa_editorPdfToolbar",
|
|
7122
|
+
"tocButton": "s56VVa_tocButton",
|
|
7123
|
+
"explorerBroken": "s56VVa_explorerBroken"
|
|
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",
|
|
@@ -10320,6 +10374,12 @@ window.__ModuleLoader__.load({
|
|
|
10320
10374
|
memoryEnabled: "On",
|
|
10321
10375
|
memoryPaused: "Paused",
|
|
10322
10376
|
memoryPausedNotice: "Memory is paused. No new memories are learned; existing memories stay visible and can still be forgotten.",
|
|
10377
|
+
memoryIntervalLabel: "Consolidation interval",
|
|
10378
|
+
memoryIntervalHint: "15–1440 minutes. When the interval elapses, the guardian consolidates memory.",
|
|
10379
|
+
memoryIntervalMinutes: "min",
|
|
10380
|
+
memorySaveInterval: "Save",
|
|
10381
|
+
memoryIntervalSaved: "Saved",
|
|
10382
|
+
memoryIntervalInvalid: "Enter a whole number between 15 and 1440 minutes.",
|
|
10323
10383
|
memorySettingsFailed: "Could not read the memory setting.",
|
|
10324
10384
|
memoryEnableTitle: "Turn on memory",
|
|
10325
10385
|
memoryEnableBody: "When memory is on, the assistant learns preferences, facts, pitfalls and methods from your conversations, and they may affect later answers and actions. Existing memories are kept, and you can pause or forget any single memory at any time.",
|
|
@@ -10419,6 +10479,7 @@ window.__ModuleLoader__.load({
|
|
|
10419
10479
|
grantsManaged: "授权由 DataOps 管理",
|
|
10420
10480
|
menu: "分区",
|
|
10421
10481
|
"menu.search": "搜索",
|
|
10482
|
+
actionOpen: "打开预览",
|
|
10422
10483
|
actionDownload: "下载",
|
|
10423
10484
|
actionRename: "重命名…",
|
|
10424
10485
|
actionPin: "置顶",
|
|
@@ -11052,6 +11113,12 @@ window.__ModuleLoader__.load({
|
|
|
11052
11113
|
memoryEnabled: "开启",
|
|
11053
11114
|
memoryPaused: "暂停",
|
|
11054
11115
|
memoryPausedNotice: "记忆已暂停:不再学习新记忆;已有记忆保留,可查看或忘记。",
|
|
11116
|
+
memoryIntervalLabel: "整理间隔",
|
|
11117
|
+
memoryIntervalHint: "15–1440 分钟;到点后由守护会话整理记忆。",
|
|
11118
|
+
memoryIntervalMinutes: "分钟",
|
|
11119
|
+
memorySaveInterval: "保存",
|
|
11120
|
+
memoryIntervalSaved: "已保存",
|
|
11121
|
+
memoryIntervalInvalid: "请输入 15–1440 之间的整数分钟。",
|
|
11055
11122
|
memorySettingsFailed: "无法读取记忆设置。",
|
|
11056
11123
|
memoryEnableTitle: "开启记忆",
|
|
11057
11124
|
memoryEnableBody: "开启后,会从会话中学习偏好、事实、踩坑和方法,并可能影响后续回答与操作;已有记忆保留,可随时暂停或忘记单条。",
|
|
@@ -11214,20 +11281,39 @@ window.__ModuleLoader__.load({
|
|
|
11214
11281
|
return title.split(" — ")[0];
|
|
11215
11282
|
}
|
|
11216
11283
|
/**
|
|
11284
|
+
* The row element containing one node.
|
|
11285
|
+
*
|
|
11286
|
+
* The explorer marks rows with a class from its CSS module, whose generated name is not
|
|
11287
|
+
* importable here; the role and the row shape are. Walking up to the nearest element with
|
|
11288
|
+
* `role="button"` reaches the row without depending on the module's hash.
|
|
11289
|
+
* @param node - any node inside a row.
|
|
11290
|
+
* @returns The row element, or null when the node is not inside one.
|
|
11291
|
+
*/
|
|
11292
|
+
function rowOf(node) {
|
|
11293
|
+
return node.closest("[role=\"button\"]");
|
|
11294
|
+
}
|
|
11295
|
+
/**
|
|
11296
|
+
* Whether one explorer row is a directory.
|
|
11297
|
+
*
|
|
11298
|
+
* The explorer marks directory rows with a class from its CSS module, whose generated
|
|
11299
|
+
* name cannot be imported here. CSS modules keep the original name inside the generated
|
|
11300
|
+
* one, so matching the fragment finds the marker without depending on the hash.
|
|
11301
|
+
* @param row - one explorer row.
|
|
11302
|
+
* @returns True for a directory row.
|
|
11303
|
+
*/
|
|
11304
|
+
function isDirRow(row) {
|
|
11305
|
+
return /(^|\s)[A-Za-z0-9_-]*explorerDir(\s|$)/u.test(row.getAttribute("class") ?? "");
|
|
11306
|
+
}
|
|
11307
|
+
/**
|
|
11217
11308
|
* Keep the borrowed explorer's rows in step with the caller's favourites.
|
|
11218
11309
|
*
|
|
11219
|
-
* The explorer has no row-decoration hook
|
|
11220
|
-
*
|
|
11221
|
-
*
|
|
11310
|
+
* The explorer has no row-decoration hook, so the star is applied by observing the rows
|
|
11311
|
+
* after they render. It is inserted before the row's timestamp (the placement the reader
|
|
11312
|
+
* asked for), once and then toggled, so a re-render does not stack a second star.
|
|
11222
11313
|
*
|
|
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.
|
|
11314
|
+
* The row menu is handled by {@link useRowContextMenu}, not here: decoration and the
|
|
11315
|
+
* gesture are separate decisions, and the upload destination picker needs the star (it
|
|
11316
|
+
* marks the chosen folder) while it must keep the explorer's own menu.
|
|
11231
11317
|
*
|
|
11232
11318
|
* A MutationObserver drives it, because every expansion re-renders rows and a one-shot
|
|
11233
11319
|
* pass on mount would decorate only the top level.
|
|
@@ -11441,6 +11527,65 @@ window.__ModuleLoader__.load({
|
|
|
11441
11527
|
return onContextMenu;
|
|
11442
11528
|
}
|
|
11443
11529
|
/**
|
|
11530
|
+
* Hand a row's right-click to the page's knowledge menu.
|
|
11531
|
+
*
|
|
11532
|
+
* The listener is a normal bubble-phase React capture handler: it runs before the
|
|
11533
|
+
* explorer's own row handler, which is why it can suppress that handler and open one
|
|
11534
|
+
* menu instead of two. The row, its directory flag and the selected set are read from
|
|
11535
|
+
* the DOM the explorer already rendered -- `data-dsh-selected` is the only selection
|
|
11536
|
+
* state it publishes -- so the menu acts on exactly the rows the reader saw highlighted.
|
|
11537
|
+
*
|
|
11538
|
+
* Omitted `onRowContextMenu` leaves the gesture untouched; that is what keeps the upload
|
|
11539
|
+
* destination picker's explorer menu working.
|
|
11540
|
+
* @param options - the wrapping element, the root, and the caller's menu opener.
|
|
11541
|
+
* @returns The capture handler for the wrapping element.
|
|
11542
|
+
*/
|
|
11543
|
+
function useRowContextMenu(options) {
|
|
11544
|
+
const { container, root, onRowContextMenu } = options;
|
|
11545
|
+
const relPathOf = (0, react.useCallback)((absolute) => {
|
|
11546
|
+
const base = root.endsWith("/") ? root.slice(0, -1) : root;
|
|
11547
|
+
if (absolute === base) return "";
|
|
11548
|
+
return absolute.startsWith(base + "/") ? absolute.slice(base.length + 1) : void 0;
|
|
11549
|
+
}, [root]);
|
|
11550
|
+
return (0, react.useCallback)((event) => {
|
|
11551
|
+
if (onRowContextMenu === void 0) return;
|
|
11552
|
+
const node = event.target instanceof Element ? event.target : null;
|
|
11553
|
+
const row = node === null ? null : rowOf(node);
|
|
11554
|
+
if (row === null) return;
|
|
11555
|
+
const absolute = rowPathOf(row);
|
|
11556
|
+
if (absolute === void 0) return;
|
|
11557
|
+
const relPath = relPathOf(absolute);
|
|
11558
|
+
if (relPath === void 0 || relPath === "") return;
|
|
11559
|
+
event.preventDefault();
|
|
11560
|
+
event.stopPropagation();
|
|
11561
|
+
const target = {
|
|
11562
|
+
relPath,
|
|
11563
|
+
name: relPath.split("/").pop() ?? relPath,
|
|
11564
|
+
isDir: isDirRow(row)
|
|
11565
|
+
};
|
|
11566
|
+
const host = container.current;
|
|
11567
|
+
const covered = batchRowsFor(target, host === null ? [] : [...host.querySelectorAll("[data-dsh-selected=\"true\"]")].flatMap((candidate) => {
|
|
11568
|
+
const candidateAbsolute = rowPathOf(candidate);
|
|
11569
|
+
if (candidateAbsolute === void 0) return [];
|
|
11570
|
+
const candidateRel = relPathOf(candidateAbsolute);
|
|
11571
|
+
if (candidateRel === void 0 || candidateRel === "") return [];
|
|
11572
|
+
return [{
|
|
11573
|
+
relPath: candidateRel,
|
|
11574
|
+
name: candidateRel.split("/").pop() ?? candidateRel,
|
|
11575
|
+
isDir: isDirRow(candidate)
|
|
11576
|
+
}];
|
|
11577
|
+
}));
|
|
11578
|
+
onRowContextMenu(target, {
|
|
11579
|
+
x: event.clientX,
|
|
11580
|
+
y: event.clientY
|
|
11581
|
+
}, covered.length > 0 ? covered : void 0);
|
|
11582
|
+
}, [
|
|
11583
|
+
container,
|
|
11584
|
+
onRowContextMenu,
|
|
11585
|
+
relPathOf
|
|
11586
|
+
]);
|
|
11587
|
+
}
|
|
11588
|
+
/**
|
|
11444
11589
|
* The knowledge tree, rendered by the product's file explorer.
|
|
11445
11590
|
* @param props - the root, the reader's expansion state, and the actions.
|
|
11446
11591
|
* @returns The explorer's tree, rooted at the knowledge directory.
|
|
@@ -11479,9 +11624,9 @@ window.__ModuleLoader__.load({
|
|
|
11479
11624
|
/**
|
|
11480
11625
|
* The element wrapping the explorer, which the row decoration observes.
|
|
11481
11626
|
*
|
|
11482
|
-
* The explorer renders its own rows, so
|
|
11483
|
-
*
|
|
11484
|
-
* `
|
|
11627
|
+
* The explorer renders its own rows, so the star and the row gesture are applied from
|
|
11628
|
+
* outside through this element. See `useRowDecoration` for the star and
|
|
11629
|
+
* `useRowContextMenu` for the knowledge menu.
|
|
11485
11630
|
*/
|
|
11486
11631
|
const container = (0, react.useRef)(null);
|
|
11487
11632
|
const mtimes = useRowTimes({
|
|
@@ -11573,6 +11718,11 @@ window.__ModuleLoader__.load({
|
|
|
11573
11718
|
props
|
|
11574
11719
|
])
|
|
11575
11720
|
});
|
|
11721
|
+
const onRowContextMenu = useRowContextMenu({
|
|
11722
|
+
container,
|
|
11723
|
+
root,
|
|
11724
|
+
onRowContextMenu: props.onRowContextMenu
|
|
11725
|
+
});
|
|
11576
11726
|
/** Every exclusion pattern at once, in the one array identity the explorer keys on. */
|
|
11577
11727
|
const exclude = (0, react.useMemo)(() => [...METADATA_NAMES.map((name) => `**/${name}`), "**/知识图谱"], []);
|
|
11578
11728
|
/**
|
|
@@ -11608,7 +11758,7 @@ window.__ModuleLoader__.load({
|
|
|
11608
11758
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
11609
11759
|
ref: container,
|
|
11610
11760
|
className: KnowledgeFileTree_module_css_default.treeFrame,
|
|
11611
|
-
onContextMenuCapture: onTreeContextMenu,
|
|
11761
|
+
onContextMenuCapture: props.onRowContextMenu === void 0 ? onTreeContextMenu : onRowContextMenu,
|
|
11612
11762
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FileTree, {
|
|
11613
11763
|
sessionId,
|
|
11614
11764
|
cwd: root,
|
|
@@ -12608,21 +12758,21 @@ window.__ModuleLoader__.load({
|
|
|
12608
12758
|
document.head.appendChild(tag);
|
|
12609
12759
|
}
|
|
12610
12760
|
var KnowledgeShareDialog_module_css_default = {
|
|
12761
|
+
"field": "nw--rq_field",
|
|
12611
12762
|
"chosenLabel": "nw--rq_chosenLabel",
|
|
12763
|
+
"dialog": "nw--rq_dialog",
|
|
12612
12764
|
"notice": "nw--rq_notice",
|
|
12613
|
-
"
|
|
12614
|
-
"
|
|
12615
|
-
"option": "nw--rq_option",
|
|
12765
|
+
"list": "nw--rq_list",
|
|
12766
|
+
"optionLabel": "nw--rq_optionLabel",
|
|
12616
12767
|
"hint": "nw--rq_hint",
|
|
12617
|
-
"chosen": "nw--rq_chosen",
|
|
12618
12768
|
"optionDetail": "nw--rq_optionDetail",
|
|
12619
|
-
"
|
|
12769
|
+
"chosen": "nw--rq_chosen",
|
|
12770
|
+
"option": "nw--rq_option",
|
|
12771
|
+
"state": "nw--rq_state",
|
|
12772
|
+
"intro": "nw--rq_intro",
|
|
12620
12773
|
"body": "nw--rq_body",
|
|
12621
12774
|
"fieldLabel": "nw--rq_fieldLabel",
|
|
12622
|
-
"
|
|
12623
|
-
"content": "nw--rq_content",
|
|
12624
|
-
"state": "nw--rq_state",
|
|
12625
|
-
"list": "nw--rq_list"
|
|
12775
|
+
"content": "nw--rq_content"
|
|
12626
12776
|
};
|
|
12627
12777
|
//#endregion
|
|
12628
12778
|
//#region src/client/KnowledgeShareDialog.tsx
|
|
@@ -12942,101 +13092,52 @@ window.__ModuleLoader__.load({
|
|
|
12942
13092
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("ul", {
|
|
12943
13093
|
className: KnowledgeShareDialog_module_css_default.list,
|
|
12944
13094
|
ref: listRef,
|
|
12945
|
-
role: "listbox",
|
|
12946
|
-
"aria-label": copy.search,
|
|
12947
|
-
"data-testid": "share-list",
|
|
12948
|
-
children: [
|
|
12949
|
-
loading && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
|
|
12950
|
-
className: KnowledgeShareDialog_module_css_default.state,
|
|
12951
|
-
children: copy.loading
|
|
12952
|
-
}),
|
|
12953
|
-
!loading && filtered.length === 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
|
|
12954
|
-
className: KnowledgeShareDialog_module_css_default.state,
|
|
12955
|
-
children: options.length === 0 ? copy.empty : copy.noMatch
|
|
12956
|
-
}),
|
|
12957
|
-
!loading && filtered.map((option, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
12958
|
-
type: "button",
|
|
12959
|
-
role: "option",
|
|
12960
|
-
"aria-selected": chosen?.id === option.id,
|
|
12961
|
-
"data-active": index === active ? "true" : "false",
|
|
12962
|
-
className: KnowledgeShareDialog_module_css_default.option,
|
|
12963
|
-
onMouseEnter: () => {
|
|
12964
|
-
setActive(index);
|
|
12965
|
-
},
|
|
12966
|
-
onClick: () => {
|
|
12967
|
-
setChosen(option);
|
|
12968
|
-
},
|
|
12969
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
12970
|
-
className: KnowledgeShareDialog_module_css_default.optionLabel,
|
|
12971
|
-
children: option.label
|
|
12972
|
-
}), option.detail !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
12973
|
-
className: KnowledgeShareDialog_module_css_default.optionDetail,
|
|
12974
|
-
children: option.detail
|
|
12975
|
-
})]
|
|
12976
|
-
}) }, option.id))
|
|
12977
|
-
]
|
|
12978
|
-
}),
|
|
12979
|
-
notice !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
12980
|
-
className: KnowledgeShareDialog_module_css_default.notice,
|
|
12981
|
-
role: "alert",
|
|
12982
|
-
children: notice
|
|
12983
|
-
}),
|
|
12984
|
-
isDir && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
12985
|
-
className: KnowledgeShareDialog_module_css_default.hint,
|
|
12986
|
-
children: copy.intro
|
|
12987
|
-
})
|
|
12988
|
-
]
|
|
12989
|
-
})
|
|
12990
|
-
});
|
|
12991
|
-
}
|
|
12992
|
-
//#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));
|
|
13095
|
+
role: "listbox",
|
|
13096
|
+
"aria-label": copy.search,
|
|
13097
|
+
"data-testid": "share-list",
|
|
13098
|
+
children: [
|
|
13099
|
+
loading && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
|
|
13100
|
+
className: KnowledgeShareDialog_module_css_default.state,
|
|
13101
|
+
children: copy.loading
|
|
13102
|
+
}),
|
|
13103
|
+
!loading && filtered.length === 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
|
|
13104
|
+
className: KnowledgeShareDialog_module_css_default.state,
|
|
13105
|
+
children: options.length === 0 ? copy.empty : copy.noMatch
|
|
13106
|
+
}),
|
|
13107
|
+
!loading && filtered.map((option, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
13108
|
+
type: "button",
|
|
13109
|
+
role: "option",
|
|
13110
|
+
"aria-selected": chosen?.id === option.id,
|
|
13111
|
+
"data-active": index === active ? "true" : "false",
|
|
13112
|
+
className: KnowledgeShareDialog_module_css_default.option,
|
|
13113
|
+
onMouseEnter: () => {
|
|
13114
|
+
setActive(index);
|
|
13115
|
+
},
|
|
13116
|
+
onClick: () => {
|
|
13117
|
+
setChosen(option);
|
|
13118
|
+
},
|
|
13119
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
13120
|
+
className: KnowledgeShareDialog_module_css_default.optionLabel,
|
|
13121
|
+
children: option.label
|
|
13122
|
+
}), option.detail !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
13123
|
+
className: KnowledgeShareDialog_module_css_default.optionDetail,
|
|
13124
|
+
children: option.detail
|
|
13125
|
+
})]
|
|
13126
|
+
}) }, option.id))
|
|
13127
|
+
]
|
|
13128
|
+
}),
|
|
13129
|
+
notice !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
13130
|
+
className: KnowledgeShareDialog_module_css_default.notice,
|
|
13131
|
+
role: "alert",
|
|
13132
|
+
children: notice
|
|
13133
|
+
}),
|
|
13134
|
+
isDir && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
13135
|
+
className: KnowledgeShareDialog_module_css_default.hint,
|
|
13136
|
+
children: copy.intro
|
|
13137
|
+
})
|
|
13138
|
+
]
|
|
13139
|
+
})
|
|
13140
|
+
});
|
|
13040
13141
|
}
|
|
13041
13142
|
//#endregion
|
|
13042
13143
|
//#region src/client/KnowledgeContextMenu.tsx
|
|
@@ -13172,6 +13273,42 @@ window.__ModuleLoader__.load({
|
|
|
13172
13273
|
setBusy(false);
|
|
13173
13274
|
}
|
|
13174
13275
|
};
|
|
13276
|
+
/**
|
|
13277
|
+
* Move one row into a typed destination directory.
|
|
13278
|
+
*
|
|
13279
|
+
* The prompt is the same gesture the batch bar uses, and the page resolves both ends
|
|
13280
|
+
* through the caller's authoritative path -- a view path for `personal` omits the
|
|
13281
|
+
* owner segment, so sending the view path unchanged would move a path the Host does
|
|
13282
|
+
* not know. The caller's handler owns that resolution and reports its own refusal;
|
|
13283
|
+
* this component only closes and refreshes on success.
|
|
13284
|
+
*/
|
|
13285
|
+
const move = async (row) => {
|
|
13286
|
+
if (props.onMove === void 0) {
|
|
13287
|
+
onClose();
|
|
13288
|
+
return;
|
|
13289
|
+
}
|
|
13290
|
+
const answer = window.prompt(t("moveSelected"), "");
|
|
13291
|
+
if (answer === null) {
|
|
13292
|
+
onClose();
|
|
13293
|
+
return;
|
|
13294
|
+
}
|
|
13295
|
+
const destination = answer.trim();
|
|
13296
|
+
if (destination === "") {
|
|
13297
|
+
onClose();
|
|
13298
|
+
return;
|
|
13299
|
+
}
|
|
13300
|
+
setBusy(true);
|
|
13301
|
+
setNotice(void 0);
|
|
13302
|
+
try {
|
|
13303
|
+
await props.onMove(row, destination);
|
|
13304
|
+
onClose();
|
|
13305
|
+
props.onMoved();
|
|
13306
|
+
} catch (error) {
|
|
13307
|
+
setNotice(t("moveFailed").replace("{reason}", error instanceof Error ? error.message : String(error)));
|
|
13308
|
+
} finally {
|
|
13309
|
+
setBusy(false);
|
|
13310
|
+
}
|
|
13311
|
+
};
|
|
13175
13312
|
/** Remove the row into the caller's own trash. */
|
|
13176
13313
|
/**
|
|
13177
13314
|
* Run one request per row and report how many failed.
|
|
@@ -13337,6 +13474,11 @@ window.__ModuleLoader__.load({
|
|
|
13337
13474
|
*/
|
|
13338
13475
|
const favoriteAll = many > 0 && batch.every((entry) => props.favorite);
|
|
13339
13476
|
const items = row !== null ? [
|
|
13477
|
+
...many === 0 && !row.isDir && props.onOpen !== void 0 ? [{
|
|
13478
|
+
id: "open",
|
|
13479
|
+
label: t("actionOpen"),
|
|
13480
|
+
disabled: busy
|
|
13481
|
+
}] : [],
|
|
13340
13482
|
...many === 0 && !row.isDir ? [{
|
|
13341
13483
|
id: "download",
|
|
13342
13484
|
label: t("actionDownload"),
|
|
@@ -13387,10 +13529,15 @@ window.__ModuleLoader__.load({
|
|
|
13387
13529
|
type: "separator",
|
|
13388
13530
|
id: "sep-3"
|
|
13389
13531
|
},
|
|
13390
|
-
{
|
|
13532
|
+
...many === 0 && props.onMove !== void 0 ? [{
|
|
13533
|
+
id: "move",
|
|
13534
|
+
label: t("moveSelected"),
|
|
13535
|
+
disabled: busy
|
|
13536
|
+
}] : [],
|
|
13537
|
+
...many === 0 && props.canManageGrants === true && props.onGrant !== void 0 ? [{
|
|
13391
13538
|
id: "grant",
|
|
13392
13539
|
label: t("actionPermissions")
|
|
13393
|
-
},
|
|
13540
|
+
}] : [],
|
|
13394
13541
|
{
|
|
13395
13542
|
id: "delete",
|
|
13396
13543
|
label: many > 0 ? count("actionDeleteMany") : t("actionDelete"),
|
|
@@ -13405,6 +13552,11 @@ window.__ModuleLoader__.load({
|
|
|
13405
13552
|
items,
|
|
13406
13553
|
onSelect: (id) => {
|
|
13407
13554
|
if (row === null) return;
|
|
13555
|
+
if (id === "open") {
|
|
13556
|
+
props.onOpen?.(row.relPath);
|
|
13557
|
+
onClose();
|
|
13558
|
+
return;
|
|
13559
|
+
}
|
|
13408
13560
|
if (id === "download") {
|
|
13409
13561
|
download(row);
|
|
13410
13562
|
return;
|
|
@@ -13450,8 +13602,12 @@ window.__ModuleLoader__.load({
|
|
|
13450
13602
|
onClose();
|
|
13451
13603
|
return;
|
|
13452
13604
|
}
|
|
13605
|
+
if (id === "move") {
|
|
13606
|
+
move(row);
|
|
13607
|
+
return;
|
|
13608
|
+
}
|
|
13453
13609
|
if (id === "grant") {
|
|
13454
|
-
props.onGrant(row.relPath);
|
|
13610
|
+
props.onGrant?.(row.relPath);
|
|
13455
13611
|
onClose();
|
|
13456
13612
|
}
|
|
13457
13613
|
if (id === "delete") {
|
|
@@ -13465,6 +13621,10 @@ window.__ModuleLoader__.load({
|
|
|
13465
13621
|
onClose,
|
|
13466
13622
|
portal: true,
|
|
13467
13623
|
getAnchorRect,
|
|
13624
|
+
...at === null ? {} : { anchorPoint: {
|
|
13625
|
+
x: at.x,
|
|
13626
|
+
y: at.y
|
|
13627
|
+
} },
|
|
13468
13628
|
side: "bottom",
|
|
13469
13629
|
align: "start",
|
|
13470
13630
|
autoFocus: true
|
|
@@ -14901,9 +15061,13 @@ window.__ModuleLoader__.load({
|
|
|
14901
15061
|
favorite: menu === null ? false : props.isFavorite?.(menu.target.relPath) === true,
|
|
14902
15062
|
clipboard,
|
|
14903
15063
|
pasteInto: menu === null ? null : menu.target.relPath.includes("/") ? menu.target.relPath.slice(0, menu.target.relPath.lastIndexOf("/")) : "",
|
|
15064
|
+
onOpen: (path) => {
|
|
15065
|
+
props.onOpen(path);
|
|
15066
|
+
},
|
|
14904
15067
|
onClose: () => {
|
|
14905
15068
|
setMenu(null);
|
|
14906
15069
|
},
|
|
15070
|
+
canManageGrants: props.canManageGrants === true,
|
|
14907
15071
|
onGrant: (path) => {
|
|
14908
15072
|
props.onGrant?.(path);
|
|
14909
15073
|
},
|
|
@@ -14990,46 +15154,46 @@ window.__ModuleLoader__.load({
|
|
|
14990
15154
|
document.head.appendChild(tag);
|
|
14991
15155
|
}
|
|
14992
15156
|
var KnowledgePermissions_module_css_default = {
|
|
14993
|
-
"
|
|
14994
|
-
"
|
|
14995
|
-
"
|
|
14996
|
-
"statLabel": "W1jiya_statLabel",
|
|
14997
|
-
"pager": "W1jiya_pager",
|
|
14998
|
-
"overviewEmpty": "W1jiya_overviewEmpty",
|
|
14999
|
-
"dialogForm": "W1jiya_dialogForm",
|
|
15157
|
+
"holderName": "W1jiya_holderName",
|
|
15158
|
+
"pageHint": "W1jiya_pageHint",
|
|
15159
|
+
"rowActions": "W1jiya_rowActions",
|
|
15000
15160
|
"linkButton": "W1jiya_linkButton",
|
|
15001
|
-
"
|
|
15002
|
-
"
|
|
15003
|
-
"
|
|
15161
|
+
"overviewEmpty": "W1jiya_overviewEmpty",
|
|
15162
|
+
"overview": "W1jiya_overview",
|
|
15163
|
+
"pagerStatus": "W1jiya_pagerStatus",
|
|
15164
|
+
"actionCell": "W1jiya_actionCell",
|
|
15165
|
+
"pager": "W1jiya_pager",
|
|
15004
15166
|
"principalId": "W1jiya_principalId",
|
|
15005
|
-
"
|
|
15006
|
-
"
|
|
15007
|
-
"
|
|
15167
|
+
"paths": "W1jiya_paths",
|
|
15168
|
+
"holder": "W1jiya_holder",
|
|
15169
|
+
"dialogField": "W1jiya_dialogField",
|
|
15170
|
+
"sourceCell": "W1jiya_sourceCell",
|
|
15171
|
+
"emptyRow": "W1jiya_emptyRow",
|
|
15008
15172
|
"partialMark": "W1jiya_partialMark",
|
|
15009
|
-
"
|
|
15173
|
+
"principalName": "W1jiya_principalName",
|
|
15174
|
+
"countCell": "W1jiya_countCell",
|
|
15175
|
+
"table": "W1jiya_table",
|
|
15176
|
+
"pathCell": "W1jiya_pathCell",
|
|
15177
|
+
"pageSize": "W1jiya_pageSize",
|
|
15010
15178
|
"pageHead": "W1jiya_pageHead",
|
|
15011
15179
|
"dialogNotice": "W1jiya_dialogNotice",
|
|
15012
|
-
"
|
|
15013
|
-
"
|
|
15014
|
-
"actionCell": "W1jiya_actionCell",
|
|
15015
|
-
"overview": "W1jiya_overview",
|
|
15016
|
-
"rowActions": "W1jiya_rowActions",
|
|
15017
|
-
"pageTitle": "W1jiya_pageTitle",
|
|
15018
|
-
"pageHint": "W1jiya_pageHint",
|
|
15019
|
-
"statRow": "W1jiya_statRow",
|
|
15020
|
-
"paths": "W1jiya_paths",
|
|
15021
|
-
"table": "W1jiya_table",
|
|
15180
|
+
"path": "W1jiya_path",
|
|
15181
|
+
"principalMeta": "W1jiya_principalMeta",
|
|
15022
15182
|
"holders": "W1jiya_holders",
|
|
15023
|
-
"
|
|
15024
|
-
"pathCell": "W1jiya_pathCell",
|
|
15025
|
-
"emptyRow": "W1jiya_emptyRow",
|
|
15183
|
+
"placeholder": "W1jiya_placeholder",
|
|
15026
15184
|
"chips": "W1jiya_chips",
|
|
15027
|
-
"
|
|
15028
|
-
"
|
|
15029
|
-
"
|
|
15030
|
-
"
|
|
15031
|
-
"
|
|
15032
|
-
"
|
|
15185
|
+
"holderKind": "W1jiya_holderKind",
|
|
15186
|
+
"dialogForm": "W1jiya_dialogForm",
|
|
15187
|
+
"emptyNote": "W1jiya_emptyNote",
|
|
15188
|
+
"statLabel": "W1jiya_statLabel",
|
|
15189
|
+
"statRow": "W1jiya_statRow",
|
|
15190
|
+
"tabs": "W1jiya_tabs",
|
|
15191
|
+
"dialogSelect": "W1jiya_dialogSelect",
|
|
15192
|
+
"sourceHint": "W1jiya_sourceHint",
|
|
15193
|
+
"actions": "W1jiya_actions",
|
|
15194
|
+
"pageTitle": "W1jiya_pageTitle",
|
|
15195
|
+
"statCard": "W1jiya_statCard",
|
|
15196
|
+
"statValue": "W1jiya_statValue"
|
|
15033
15197
|
};
|
|
15034
15198
|
//#endregion
|
|
15035
15199
|
//#region src/client/KnowledgeTrash.tsx
|
|
@@ -15349,14 +15513,14 @@ window.__ModuleLoader__.load({
|
|
|
15349
15513
|
document.head.appendChild(tag);
|
|
15350
15514
|
}
|
|
15351
15515
|
var KnowledgeAudit_module_css_default = {
|
|
15352
|
-
"tabs": "_0xqcPG_tabs",
|
|
15353
|
-
"pagerSizeLabel": "_0xqcPG_pagerSizeLabel",
|
|
15354
15516
|
"pagerSize": "_0xqcPG_pagerSize",
|
|
15355
|
-
"
|
|
15517
|
+
"pagerPosition": "_0xqcPG_pagerPosition",
|
|
15356
15518
|
"audit": "_0xqcPG_audit",
|
|
15357
|
-
"
|
|
15519
|
+
"pager": "_0xqcPG_pager",
|
|
15520
|
+
"tabs": "_0xqcPG_tabs",
|
|
15521
|
+
"pagerSizeLabel": "_0xqcPG_pagerSizeLabel",
|
|
15358
15522
|
"pagerTotal": "_0xqcPG_pagerTotal",
|
|
15359
|
-
"
|
|
15523
|
+
"pathCell": "_0xqcPG_pathCell"
|
|
15360
15524
|
};
|
|
15361
15525
|
//#endregion
|
|
15362
15526
|
//#region src/client/KnowledgeAudit.tsx
|
|
@@ -15914,7 +16078,7 @@ window.__ModuleLoader__.load({
|
|
|
15914
16078
|
}
|
|
15915
16079
|
//#endregion
|
|
15916
16080
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/knowledge-base/src/client/KnowledgeMemory.module.css.mjs
|
|
15917
|
-
const css$10 = "._2H9JWq_page{flex-direction:column;gap:14px;min-height:0;display:flex}._2H9JWq_header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}._2H9JWq_heading{min-width:0}._2H9JWq_title{color:var(--dsw-alias-label-primary);font:var(--dsw-font-base-strong-16);margin:0}._2H9JWq_hint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:4px 0 0}._2H9JWq_switchGroup{flex:none;align-items:center;gap:8px;display:flex}._2H9JWq_switchState{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-strong-12)}._2H9JWq_pausedNotice{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);margin:0;padding:8px 10px}._2H9JWq_noticeRow{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;display:flex}._2H9JWq_toolbar{align-items:center;gap:8px;display:flex}._2H9JWq_search{flex:auto;max-width:360px}._2H9JWq_select{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-2);height:30px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);padding:0 8px}._2H9JWq_tableWrap{overflow-x:auto}._2H9JWq_table{border-collapse:collapse;width:100%}._2H9JWq_table th{border-bottom:.5px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-strong-11);text-align:left;white-space:nowrap;padding:6px 10px}._2H9JWq_table td{border-bottom:.5px solid var(--dsw-alias-border-l1);font:var(--dsw-font-xxs-12);vertical-align:middle;padding:9px 10px}._2H9JWq_table tbody tr:last-child td{border-bottom:none}._2H9JWq_table tbody tr:hover td{background:var(--dsw-alias-bg-layer-1)}._2H9JWq_memoryCell{max-width:280px}._2H9JWq_memoryTitle{max-width:100%;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;padding:0;overflow:hidden}._2H9JWq_memoryTitle:hover{color:var(--dsw-alias-link)}._2H9JWq_memoryTitle:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}._2H9JWq_typeChip,._2H9JWq_privacyChip{border:.5px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);height:18px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);white-space:nowrap;border-radius:999px;align-items:center;padding:0 6px;display:inline-flex}._2H9JWq_sourceLabel{color:var(--dsw-alias-label-secondary);display:block}._2H9JWq_sourceTime{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);display:block}._2H9JWq_sourceMore{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);margin-left:4px}._2H9JWq_timeCell{color:var(--dsw-alias-label-secondary);white-space:nowrap}._2H9JWq_actionsHead{text-align:right!important}._2H9JWq_actionsCell{text-align:right}._2H9JWq_rowActions{white-space:nowrap;justify-content:flex-end;align-items:center;gap:2px;display:inline-flex}._2H9JWq_notice{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:0}._2H9JWq_state{flex-direction:column;align-items:flex-start;gap:6px;padding:18px 0;display:flex}._2H9JWq_error{color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxs-12);margin:0}._2H9JWq_errorDetail{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);overflow-wrap:anywhere;margin:0}._2H9JWq_empty{border:.5px dashed var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:36px 16px;display:flex}._2H9JWq_emptyTitle{color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-strong-14);margin:0}._2H9JWq_emptyBody{max-width:520px;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);text-align:center;margin:0}._2H9JWq_footer{justify-content:flex-end;gap:8px;display:flex}._2H9JWq_detailBody{flex-direction:column;gap:16px;display:flex}._2H9JWq_detailMeta{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:0}._2H9JWq_detailLabel{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-strong-11);margin:0 0 4px}._2H9JWq_detailContent{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-13);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.7}._2H9JWq_sourceList{margin:0;padding:0;list-style:none}._2H9JWq_sourceList li{border-bottom:.5px solid var(--dsw-alias-border-l1);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);justify-content:space-between;align-items:baseline;gap:10px;padding:4px 0;display:flex}._2H9JWq_sourceList li:last-child{border-bottom:none}._2H9JWq_evidence{align-items:center;gap:8px;margin-top:6px;display:flex}._2H9JWq_evidence ._2H9JWq_detailLabel{margin:0}._2H9JWq_textarea{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-2);width:100%;min-height:160px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);resize:vertical;padding:8px 10px;line-height:1.6}";
|
|
16081
|
+
const css$10 = "._2H9JWq_page{flex-direction:column;gap:14px;min-height:0;display:flex}._2H9JWq_header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}._2H9JWq_heading{min-width:0}._2H9JWq_title{color:var(--dsw-alias-label-primary);font:var(--dsw-font-base-strong-16);margin:0}._2H9JWq_hint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:4px 0 0}._2H9JWq_switchGroup{flex:none;align-items:center;gap:8px;display:flex}._2H9JWq_switchState{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-strong-12)}._2H9JWq_intervalRow{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 16px;padding:10px 12px;display:grid}._2H9JWq_intervalCopy{flex-direction:column;gap:2px;min-width:0;display:flex}._2H9JWq_intervalLabel{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12)}._2H9JWq_intervalHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11)}._2H9JWq_intervalControls{align-items:center;gap:6px;display:flex}._2H9JWq_intervalInput{width:88px}._2H9JWq_intervalUnit{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12)}._2H9JWq_intervalSaved{color:var(--dsw-alias-state-success-primary,#1a7f37);font:var(--dsw-font-xxxs-11)}._2H9JWq_intervalError{color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxs-12);grid-column:1/-1;margin:0}._2H9JWq_pausedNotice{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);margin:0;padding:8px 10px}._2H9JWq_noticeRow{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;display:flex}._2H9JWq_toolbar{align-items:center;gap:8px;display:flex}._2H9JWq_search{flex:auto;max-width:360px}._2H9JWq_select{border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-2);height:30px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);padding:0 8px}._2H9JWq_tableWrap{overflow-x:auto}._2H9JWq_table{border-collapse:collapse;width:100%}._2H9JWq_table th{border-bottom:.5px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-strong-11);text-align:left;white-space:nowrap;padding:6px 10px}._2H9JWq_table td{border-bottom:.5px solid var(--dsw-alias-border-l1);font:var(--dsw-font-xxs-12);vertical-align:middle;padding:9px 10px}._2H9JWq_table tbody tr:last-child td{border-bottom:none}._2H9JWq_table tbody tr:hover td{background:var(--dsw-alias-bg-layer-1)}._2H9JWq_memoryCell{max-width:280px}._2H9JWq_memoryTitle{max-width:100%;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-strong-12);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;padding:0;overflow:hidden}._2H9JWq_memoryTitle:hover{color:var(--dsw-alias-link)}._2H9JWq_memoryTitle:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}._2H9JWq_typeChip,._2H9JWq_privacyChip{border:.5px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);height:18px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);white-space:nowrap;border-radius:999px;align-items:center;padding:0 6px;display:inline-flex}._2H9JWq_sourceLabel{color:var(--dsw-alias-label-secondary);display:block}._2H9JWq_sourceTime{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);display:block}._2H9JWq_sourceMore{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);margin-left:4px}._2H9JWq_timeCell{color:var(--dsw-alias-label-secondary);white-space:nowrap}._2H9JWq_actionsHead{text-align:right!important}._2H9JWq_actionsCell{text-align:right}._2H9JWq_rowActions{white-space:nowrap;justify-content:flex-end;align-items:center;gap:2px;display:inline-flex}._2H9JWq_notice{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:0}._2H9JWq_state{flex-direction:column;align-items:flex-start;gap:6px;padding:18px 0;display:flex}._2H9JWq_error{color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxs-12);margin:0}._2H9JWq_errorDetail{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);overflow-wrap:anywhere;margin:0}._2H9JWq_empty{border:.5px dashed var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md);flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:36px 16px;display:flex}._2H9JWq_emptyTitle{color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-strong-14);margin:0}._2H9JWq_emptyBody{max-width:520px;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);text-align:center;margin:0}._2H9JWq_footer{justify-content:flex-end;gap:8px;display:flex}._2H9JWq_detailBody{flex-direction:column;gap:16px;display:flex}._2H9JWq_detailMeta{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:0}._2H9JWq_detailLabel{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-strong-11);margin:0 0 4px}._2H9JWq_detailContent{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-13);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.7}._2H9JWq_sourceList{margin:0;padding:0;list-style:none}._2H9JWq_sourceList li{border-bottom:.5px solid var(--dsw-alias-border-l1);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);justify-content:space-between;align-items:baseline;gap:10px;padding:4px 0;display:flex}._2H9JWq_sourceList li:last-child{border-bottom:none}._2H9JWq_evidence{align-items:center;gap:8px;margin-top:6px;display:flex}._2H9JWq_evidence ._2H9JWq_detailLabel{margin:0}._2H9JWq_textarea{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-2);width:100%;min-height:160px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);resize:vertical;padding:8px 10px;line-height:1.6}";
|
|
15918
16082
|
const tagId$10 = "@sparkelf/dsh-knowledge-base/KnowledgeMemory.module.css";
|
|
15919
16083
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$10) + "]") === null) {
|
|
15920
16084
|
const tag = document.createElement("style");
|
|
@@ -15924,46 +16088,55 @@ window.__ModuleLoader__.load({
|
|
|
15924
16088
|
document.head.appendChild(tag);
|
|
15925
16089
|
}
|
|
15926
16090
|
var KnowledgeMemory_module_css_default = {
|
|
15927
|
-
"
|
|
15928
|
-
"select": "_2H9JWq_select",
|
|
16091
|
+
"actionsHead": "_2H9JWq_actionsHead",
|
|
15929
16092
|
"switchGroup": "_2H9JWq_switchGroup",
|
|
15930
|
-
"
|
|
15931
|
-
"
|
|
16093
|
+
"intervalHint": "_2H9JWq_intervalHint",
|
|
16094
|
+
"tableWrap": "_2H9JWq_tableWrap",
|
|
16095
|
+
"actionsCell": "_2H9JWq_actionsCell",
|
|
16096
|
+
"select": "_2H9JWq_select",
|
|
15932
16097
|
"title": "_2H9JWq_title",
|
|
16098
|
+
"intervalLabel": "_2H9JWq_intervalLabel",
|
|
16099
|
+
"timeCell": "_2H9JWq_timeCell",
|
|
16100
|
+
"rowActions": "_2H9JWq_rowActions",
|
|
16101
|
+
"empty": "_2H9JWq_empty",
|
|
16102
|
+
"toolbar": "_2H9JWq_toolbar",
|
|
16103
|
+
"emptyTitle": "_2H9JWq_emptyTitle",
|
|
16104
|
+
"intervalCopy": "_2H9JWq_intervalCopy",
|
|
16105
|
+
"intervalControls": "_2H9JWq_intervalControls",
|
|
16106
|
+
"sourceList": "_2H9JWq_sourceList",
|
|
16107
|
+
"error": "_2H9JWq_error",
|
|
16108
|
+
"textarea": "_2H9JWq_textarea",
|
|
15933
16109
|
"heading": "_2H9JWq_heading",
|
|
15934
16110
|
"notice": "_2H9JWq_notice",
|
|
16111
|
+
"noticeRow": "_2H9JWq_noticeRow",
|
|
16112
|
+
"typeChip": "_2H9JWq_typeChip",
|
|
16113
|
+
"detailBody": "_2H9JWq_detailBody",
|
|
15935
16114
|
"detailLabel": "_2H9JWq_detailLabel",
|
|
15936
|
-
"
|
|
16115
|
+
"evidence": "_2H9JWq_evidence",
|
|
15937
16116
|
"emptyBody": "_2H9JWq_emptyBody",
|
|
15938
|
-
"
|
|
15939
|
-
"timeCell": "_2H9JWq_timeCell",
|
|
15940
|
-
"actionsHead": "_2H9JWq_actionsHead",
|
|
15941
|
-
"switchState": "_2H9JWq_switchState",
|
|
15942
|
-
"toolbar": "_2H9JWq_toolbar",
|
|
15943
|
-
"state": "_2H9JWq_state",
|
|
16117
|
+
"memoryTitle": "_2H9JWq_memoryTitle",
|
|
15944
16118
|
"pausedNotice": "_2H9JWq_pausedNotice",
|
|
16119
|
+
"intervalError": "_2H9JWq_intervalError",
|
|
16120
|
+
"intervalInput": "_2H9JWq_intervalInput",
|
|
16121
|
+
"detailContent": "_2H9JWq_detailContent",
|
|
16122
|
+
"hint": "_2H9JWq_hint",
|
|
16123
|
+
"errorDetail": "_2H9JWq_errorDetail",
|
|
16124
|
+
"intervalRow": "_2H9JWq_intervalRow",
|
|
16125
|
+
"header": "_2H9JWq_header",
|
|
15945
16126
|
"page": "_2H9JWq_page",
|
|
15946
|
-
"
|
|
16127
|
+
"intervalUnit": "_2H9JWq_intervalUnit",
|
|
16128
|
+
"memoryCell": "_2H9JWq_memoryCell",
|
|
16129
|
+
"intervalSaved": "_2H9JWq_intervalSaved",
|
|
16130
|
+
"switchState": "_2H9JWq_switchState",
|
|
16131
|
+
"table": "_2H9JWq_table",
|
|
15947
16132
|
"privacyChip": "_2H9JWq_privacyChip",
|
|
15948
|
-
"
|
|
15949
|
-
"emptyTitle": "_2H9JWq_emptyTitle",
|
|
15950
|
-
"empty": "_2H9JWq_empty",
|
|
15951
|
-
"error": "_2H9JWq_error",
|
|
15952
|
-
"header": "_2H9JWq_header",
|
|
15953
|
-
"search": "_2H9JWq_search",
|
|
16133
|
+
"sourceTime": "_2H9JWq_sourceTime",
|
|
15954
16134
|
"sourceMore": "_2H9JWq_sourceMore",
|
|
16135
|
+
"state": "_2H9JWq_state",
|
|
16136
|
+
"sourceLabel": "_2H9JWq_sourceLabel",
|
|
15955
16137
|
"detailMeta": "_2H9JWq_detailMeta",
|
|
15956
|
-
"sourceTime": "_2H9JWq_sourceTime",
|
|
15957
|
-
"detailContent": "_2H9JWq_detailContent",
|
|
15958
|
-
"sourceList": "_2H9JWq_sourceList",
|
|
15959
|
-
"evidence": "_2H9JWq_evidence",
|
|
15960
|
-
"tableWrap": "_2H9JWq_tableWrap",
|
|
15961
|
-
"typeChip": "_2H9JWq_typeChip",
|
|
15962
|
-
"memoryTitle": "_2H9JWq_memoryTitle",
|
|
15963
|
-
"memoryCell": "_2H9JWq_memoryCell",
|
|
15964
|
-
"errorDetail": "_2H9JWq_errorDetail",
|
|
15965
16138
|
"footer": "_2H9JWq_footer",
|
|
15966
|
-
"
|
|
16139
|
+
"search": "_2H9JWq_search"
|
|
15967
16140
|
};
|
|
15968
16141
|
//#endregion
|
|
15969
16142
|
//#region src/client/KnowledgeMemory.tsx
|
|
@@ -15997,6 +16170,10 @@ window.__ModuleLoader__.load({
|
|
|
15997
16170
|
function failureText(error) {
|
|
15998
16171
|
return error instanceof Error ? error.message : String(error);
|
|
15999
16172
|
}
|
|
16173
|
+
/** Read one numeric setting without trusting the response shape. */
|
|
16174
|
+
function numberField(value, fallback) {
|
|
16175
|
+
return typeof value === "number" && Number.isFinite(value) ? value : fallback;
|
|
16176
|
+
}
|
|
16000
16177
|
/** The type label key for one stored type. */
|
|
16001
16178
|
function typeKey(type) {
|
|
16002
16179
|
if (type === "preference") return "memoryTypePreference";
|
|
@@ -16172,6 +16349,62 @@ window.__ModuleLoader__.load({
|
|
|
16172
16349
|
})]
|
|
16173
16350
|
})]
|
|
16174
16351
|
}),
|
|
16352
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
16353
|
+
className: KnowledgeMemory_module_css_default.intervalRow,
|
|
16354
|
+
"data-testid": "memory-interval",
|
|
16355
|
+
"data-saved-minutes": props.consolidationIntervalMinutes,
|
|
16356
|
+
children: [
|
|
16357
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16358
|
+
className: KnowledgeMemory_module_css_default.intervalCopy,
|
|
16359
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16360
|
+
className: KnowledgeMemory_module_css_default.intervalLabel,
|
|
16361
|
+
children: t("memoryIntervalLabel")
|
|
16362
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16363
|
+
className: KnowledgeMemory_module_css_default.intervalHint,
|
|
16364
|
+
children: t("memoryIntervalHint")
|
|
16365
|
+
})]
|
|
16366
|
+
}),
|
|
16367
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16368
|
+
className: KnowledgeMemory_module_css_default.intervalControls,
|
|
16369
|
+
children: [
|
|
16370
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Input, {
|
|
16371
|
+
type: "number",
|
|
16372
|
+
className: KnowledgeMemory_module_css_default.intervalInput,
|
|
16373
|
+
min: props.intervalMin,
|
|
16374
|
+
max: props.intervalMax,
|
|
16375
|
+
step: 1,
|
|
16376
|
+
value: props.intervalDraft,
|
|
16377
|
+
disabled: props.intervalBusy || props.settingsLoading,
|
|
16378
|
+
"aria-label": t("memoryIntervalLabel"),
|
|
16379
|
+
onChange: (event) => {
|
|
16380
|
+
props.onIntervalDraftChange(event.target.value);
|
|
16381
|
+
}
|
|
16382
|
+
}),
|
|
16383
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16384
|
+
className: KnowledgeMemory_module_css_default.intervalUnit,
|
|
16385
|
+
children: t("memoryIntervalMinutes")
|
|
16386
|
+
}),
|
|
16387
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16388
|
+
variant: "ghost",
|
|
16389
|
+
size: "sm",
|
|
16390
|
+
disabled: props.intervalBusy || props.settingsLoading,
|
|
16391
|
+
onClick: props.onSaveInterval,
|
|
16392
|
+
children: t("memorySaveInterval")
|
|
16393
|
+
}),
|
|
16394
|
+
props.intervalSaved && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16395
|
+
className: KnowledgeMemory_module_css_default.intervalSaved,
|
|
16396
|
+
role: "status",
|
|
16397
|
+
children: t("memoryIntervalSaved")
|
|
16398
|
+
})
|
|
16399
|
+
]
|
|
16400
|
+
}),
|
|
16401
|
+
props.intervalError !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
16402
|
+
className: KnowledgeMemory_module_css_default.intervalError,
|
|
16403
|
+
role: "alert",
|
|
16404
|
+
children: props.intervalError
|
|
16405
|
+
})
|
|
16406
|
+
]
|
|
16407
|
+
}),
|
|
16175
16408
|
props.settingsError !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16176
16409
|
className: KnowledgeMemory_module_css_default.noticeRow,
|
|
16177
16410
|
role: "alert",
|
|
@@ -16505,6 +16738,13 @@ window.__ModuleLoader__.load({
|
|
|
16505
16738
|
const [enabled, setEnabled] = (0, react.useState)(false);
|
|
16506
16739
|
const [settingsLoading, setSettingsLoading] = (0, react.useState)(true);
|
|
16507
16740
|
const [settingsError, setSettingsError] = (0, react.useState)();
|
|
16741
|
+
const [consolidationIntervalMinutes, setConsolidationIntervalMinutes] = (0, react.useState)(60);
|
|
16742
|
+
const [intervalMin, setIntervalMin] = (0, react.useState)(15);
|
|
16743
|
+
const [intervalMax, setIntervalMax] = (0, react.useState)(1440);
|
|
16744
|
+
const [intervalDraft, setIntervalDraft] = (0, react.useState)("60");
|
|
16745
|
+
const [intervalBusy, setIntervalBusy] = (0, react.useState)(false);
|
|
16746
|
+
const [intervalError, setIntervalError] = (0, react.useState)();
|
|
16747
|
+
const [intervalSaved, setIntervalSaved] = (0, react.useState)(false);
|
|
16508
16748
|
const [list, setList] = (0, react.useState)({
|
|
16509
16749
|
status: "loading",
|
|
16510
16750
|
entries: []
|
|
@@ -16530,6 +16770,15 @@ window.__ModuleLoader__.load({
|
|
|
16530
16770
|
const body = await memoryRequest("memory.settings");
|
|
16531
16771
|
if (body.error !== void 0) throw new Error(body.error);
|
|
16532
16772
|
setEnabled(body.enabled === true);
|
|
16773
|
+
const minutes = numberField(body.consolidationIntervalMinutes, 60);
|
|
16774
|
+
const min = numberField(body.intervalMin, 15);
|
|
16775
|
+
const max = numberField(body.intervalMax, 1440);
|
|
16776
|
+
setConsolidationIntervalMinutes(minutes);
|
|
16777
|
+
setIntervalMin(min);
|
|
16778
|
+
setIntervalMax(max);
|
|
16779
|
+
setIntervalDraft(String(minutes));
|
|
16780
|
+
setIntervalError(void 0);
|
|
16781
|
+
setIntervalSaved(false);
|
|
16533
16782
|
} catch (error) {
|
|
16534
16783
|
setSettingsError(failureText(error));
|
|
16535
16784
|
} finally {
|
|
@@ -16591,6 +16840,10 @@ window.__ModuleLoader__.load({
|
|
|
16591
16840
|
const body = await memoryRequest("memory.set-enabled", { enabled: target });
|
|
16592
16841
|
if (body.error !== void 0) throw new Error(body.error);
|
|
16593
16842
|
setEnabled(typeof body.enabled === "boolean" ? body.enabled : target);
|
|
16843
|
+
if (typeof body.consolidationIntervalMinutes === "number") {
|
|
16844
|
+
setConsolidationIntervalMinutes(body.consolidationIntervalMinutes);
|
|
16845
|
+
setIntervalDraft(String(body.consolidationIntervalMinutes));
|
|
16846
|
+
}
|
|
16594
16847
|
setPendingEnabled(void 0);
|
|
16595
16848
|
} catch (error) {
|
|
16596
16849
|
setToggleError(failureText(error));
|
|
@@ -16598,6 +16851,35 @@ window.__ModuleLoader__.load({
|
|
|
16598
16851
|
setToggleBusy(false);
|
|
16599
16852
|
}
|
|
16600
16853
|
}, [pendingEnabled]);
|
|
16854
|
+
const saveInterval = (0, react.useCallback)(async () => {
|
|
16855
|
+
const parsed = Number(intervalDraft);
|
|
16856
|
+
if (!Number.isInteger(parsed) || parsed < intervalMin || parsed > intervalMax) {
|
|
16857
|
+
setIntervalError(t("memoryIntervalInvalid"));
|
|
16858
|
+
setIntervalSaved(false);
|
|
16859
|
+
return;
|
|
16860
|
+
}
|
|
16861
|
+
setIntervalBusy(true);
|
|
16862
|
+
setIntervalError(void 0);
|
|
16863
|
+
setIntervalSaved(false);
|
|
16864
|
+
try {
|
|
16865
|
+
const body = await memoryRequest("memory.save-settings", { consolidationIntervalMinutes: parsed });
|
|
16866
|
+
if (body.error !== void 0) throw new Error(body.error);
|
|
16867
|
+
if (typeof body.enabled === "boolean") setEnabled(body.enabled);
|
|
16868
|
+
const saved = numberField(body.consolidationIntervalMinutes, parsed);
|
|
16869
|
+
setConsolidationIntervalMinutes(saved);
|
|
16870
|
+
setIntervalDraft(String(saved));
|
|
16871
|
+
setIntervalSaved(true);
|
|
16872
|
+
} catch (error) {
|
|
16873
|
+
setIntervalError(failureText(error));
|
|
16874
|
+
} finally {
|
|
16875
|
+
setIntervalBusy(false);
|
|
16876
|
+
}
|
|
16877
|
+
}, [
|
|
16878
|
+
intervalDraft,
|
|
16879
|
+
intervalMin,
|
|
16880
|
+
intervalMax,
|
|
16881
|
+
t
|
|
16882
|
+
]);
|
|
16601
16883
|
const startEdit = (0, react.useCallback)((entry) => {
|
|
16602
16884
|
setDetail(void 0);
|
|
16603
16885
|
setEditError(void 0);
|
|
@@ -16659,6 +16941,21 @@ window.__ModuleLoader__.load({
|
|
|
16659
16941
|
enabled,
|
|
16660
16942
|
settingsLoading,
|
|
16661
16943
|
...settingsError === void 0 ? {} : { settingsError },
|
|
16944
|
+
consolidationIntervalMinutes,
|
|
16945
|
+
intervalMin,
|
|
16946
|
+
intervalMax,
|
|
16947
|
+
intervalDraft,
|
|
16948
|
+
intervalBusy,
|
|
16949
|
+
...intervalError === void 0 ? {} : { intervalError },
|
|
16950
|
+
intervalSaved,
|
|
16951
|
+
onIntervalDraftChange: (value) => {
|
|
16952
|
+
setIntervalDraft(value);
|
|
16953
|
+
setIntervalError(void 0);
|
|
16954
|
+
setIntervalSaved(false);
|
|
16955
|
+
},
|
|
16956
|
+
onSaveInterval: () => {
|
|
16957
|
+
saveInterval();
|
|
16958
|
+
},
|
|
16662
16959
|
list,
|
|
16663
16960
|
query,
|
|
16664
16961
|
typeFilter,
|
|
@@ -16923,31 +17220,31 @@ window.__ModuleLoader__.load({
|
|
|
16923
17220
|
document.head.appendChild(tag);
|
|
16924
17221
|
}
|
|
16925
17222
|
var KnowledgeListing_module_css_default = {
|
|
16926
|
-
"
|
|
16927
|
-
"
|
|
16928
|
-
"emptyGlyph": "_95AMVa_emptyGlyph",
|
|
17223
|
+
"card": "_95AMVa_card",
|
|
17224
|
+
"pinDropZone": "_95AMVa_pinDropZone",
|
|
16929
17225
|
"entryDir": "_95AMVa_entryDir",
|
|
17226
|
+
"cardGlyph": "_95AMVa_cardGlyph",
|
|
17227
|
+
"kb-row-in": "_95AMVa_kb-row-in",
|
|
17228
|
+
"entryGlyph": "_95AMVa_entryGlyph",
|
|
16930
17229
|
"entryTime": "_95AMVa_entryTime",
|
|
16931
17230
|
"entryName": "_95AMVa_entryName",
|
|
16932
|
-
"cardGlyph": "_95AMVa_cardGlyph",
|
|
16933
|
-
"cardTime": "_95AMVa_cardTime",
|
|
16934
|
-
"entry": "_95AMVa_entry",
|
|
16935
|
-
"entries": "_95AMVa_entries",
|
|
16936
17231
|
"entryRef": "_95AMVa_entryRef",
|
|
16937
17232
|
"cardName": "_95AMVa_cardName",
|
|
16938
|
-
"cardMeta": "_95AMVa_cardMeta",
|
|
16939
|
-
"entryFavorite": "_95AMVa_entryFavorite",
|
|
16940
|
-
"entryPin": "_95AMVa_entryPin",
|
|
16941
17233
|
"emptyAction": "_95AMVa_emptyAction",
|
|
16942
|
-
"
|
|
17234
|
+
"entryFavorite": "_95AMVa_entryFavorite",
|
|
16943
17235
|
"cards": "_95AMVa_cards",
|
|
17236
|
+
"cardDir": "_95AMVa_cardDir",
|
|
17237
|
+
"cardMeta": "_95AMVa_cardMeta",
|
|
17238
|
+
"cardItem": "_95AMVa_cardItem",
|
|
17239
|
+
"cardTime": "_95AMVa_cardTime",
|
|
16944
17240
|
"entryChildren": "_95AMVa_entryChildren",
|
|
16945
|
-
"
|
|
17241
|
+
"entries": "_95AMVa_entries",
|
|
16946
17242
|
"entryCheck": "_95AMVa_entryCheck",
|
|
16947
|
-
"
|
|
16948
|
-
"
|
|
17243
|
+
"entry": "_95AMVa_entry",
|
|
17244
|
+
"empty": "_95AMVa_empty",
|
|
17245
|
+
"emptyGlyph": "_95AMVa_emptyGlyph",
|
|
16949
17246
|
"emptyTitle": "_95AMVa_emptyTitle",
|
|
16950
|
-
"
|
|
17247
|
+
"entryPin": "_95AMVa_entryPin"
|
|
16951
17248
|
};
|
|
16952
17249
|
//#endregion
|
|
16953
17250
|
//#region src/client/listingFilter.ts
|
|
@@ -17546,9 +17843,13 @@ window.__ModuleLoader__.load({
|
|
|
17546
17843
|
favorite: menu === null ? false : props.isFavorite?.(menu.target.relPath) === true,
|
|
17547
17844
|
clipboard,
|
|
17548
17845
|
pasteInto: menu === null ? null : props.pasteTargetFor?.(menu.target.relPath, menu.target.isDir) ?? null,
|
|
17846
|
+
onOpen: (path) => {
|
|
17847
|
+
props.onOpen(path);
|
|
17848
|
+
},
|
|
17549
17849
|
onClose: () => {
|
|
17550
17850
|
setMenu(null);
|
|
17551
17851
|
},
|
|
17852
|
+
canManageGrants: props.onGrant !== void 0,
|
|
17552
17853
|
onGrant: (path) => {
|
|
17553
17854
|
props.onGrant?.(path);
|
|
17554
17855
|
},
|
|
@@ -17588,42 +17889,42 @@ window.__ModuleLoader__.load({
|
|
|
17588
17889
|
document.head.appendChild(tag);
|
|
17589
17890
|
}
|
|
17590
17891
|
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
|
-
"dialogContent": "x_PPca_dialogContent",
|
|
17597
|
-
"cardTime": "x_PPca_cardTime",
|
|
17598
|
-
"cardReason": "x_PPca_cardReason",
|
|
17599
17892
|
"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
17893
|
"progressPercent": "x_PPca_progressPercent",
|
|
17605
|
-
"
|
|
17606
|
-
"cardRawReason": "x_PPca_cardRawReason",
|
|
17607
|
-
"cardPath": "x_PPca_cardPath",
|
|
17608
|
-
"badgeDone": "x_PPca_badgeDone",
|
|
17894
|
+
"titleRatio": "x_PPca_titleRatio",
|
|
17609
17895
|
"cardRow": "x_PPca_cardRow",
|
|
17610
|
-
"
|
|
17896
|
+
"summaryItem": "x_PPca_summaryItem",
|
|
17897
|
+
"dialogTitleRow": "x_PPca_dialogTitleRow",
|
|
17898
|
+
"cardActions": "x_PPca_cardActions",
|
|
17899
|
+
"list": "x_PPca_list",
|
|
17900
|
+
"dialog": "x_PPca_dialog",
|
|
17611
17901
|
"summaryLabel": "x_PPca_summaryLabel",
|
|
17612
17902
|
"progressTrack": "x_PPca_progressTrack",
|
|
17613
|
-
"
|
|
17614
|
-
"
|
|
17903
|
+
"progressRow": "x_PPca_progressRow",
|
|
17904
|
+
"summary": "x_PPca_summary",
|
|
17905
|
+
"progressFillIndeterminate": "x_PPca_progressFillIndeterminate",
|
|
17906
|
+
"cardName": "x_PPca_cardName",
|
|
17615
17907
|
"badgeFailed": "x_PPca_badgeFailed",
|
|
17616
|
-
"
|
|
17617
|
-
"
|
|
17908
|
+
"progressFillFailed": "x_PPca_progressFillFailed",
|
|
17909
|
+
"dialogContent": "x_PPca_dialogContent",
|
|
17910
|
+
"empty": "x_PPca_empty",
|
|
17911
|
+
"badgeDone": "x_PPca_badgeDone",
|
|
17618
17912
|
"cardProgress": "x_PPca_cardProgress",
|
|
17913
|
+
"cardTime": "x_PPca_cardTime",
|
|
17619
17914
|
"dialogClose": "x_PPca_dialogClose",
|
|
17620
|
-
"
|
|
17621
|
-
"
|
|
17622
|
-
"
|
|
17623
|
-
"
|
|
17915
|
+
"progressFill": "x_PPca_progressFill",
|
|
17916
|
+
"footer": "x_PPca_footer",
|
|
17917
|
+
"bell": "x_PPca_bell",
|
|
17918
|
+
"cardRawReason": "x_PPca_cardRawReason",
|
|
17919
|
+
"group": "x_PPca_group",
|
|
17920
|
+
"cardPath": "x_PPca_cardPath",
|
|
17921
|
+
"badgeBusy": "x_PPca_badgeBusy",
|
|
17922
|
+
"dialogShell": "x_PPca_dialogShell",
|
|
17624
17923
|
"card": "x_PPca_card",
|
|
17625
|
-
"
|
|
17626
|
-
"
|
|
17924
|
+
"dialogTitle": "x_PPca_dialogTitle",
|
|
17925
|
+
"badge": "x_PPca_badge",
|
|
17926
|
+
"summaryValue": "x_PPca_summaryValue",
|
|
17927
|
+
"cardReason": "x_PPca_cardReason"
|
|
17627
17928
|
};
|
|
17628
17929
|
//#endregion
|
|
17629
17930
|
//#region src/client/taskQueueStore.ts
|
|
@@ -18474,9 +18775,9 @@ window.__ModuleLoader__.load({
|
|
|
18474
18775
|
document.head.appendChild(tag);
|
|
18475
18776
|
}
|
|
18476
18777
|
var KnowledgeScopeTabs_module_css_default = {
|
|
18477
|
-
"tabs": "UvtP4W_tabs",
|
|
18478
18778
|
"tab": "UvtP4W_tab",
|
|
18479
|
-
"tabSelected": "UvtP4W_tabSelected"
|
|
18779
|
+
"tabSelected": "UvtP4W_tabSelected",
|
|
18780
|
+
"tabs": "UvtP4W_tabs"
|
|
18480
18781
|
};
|
|
18481
18782
|
//#endregion
|
|
18482
18783
|
//#region src/client/graph/KnowledgeScopeTabs.tsx
|
|
@@ -18585,12 +18886,12 @@ window.__ModuleLoader__.load({
|
|
|
18585
18886
|
document.head.appendChild(tag);
|
|
18586
18887
|
}
|
|
18587
18888
|
var OriginBadges_module_css_default = {
|
|
18588
|
-
"authority": "iQ1oAG_authority",
|
|
18589
18889
|
"badge": "iQ1oAG_badge",
|
|
18890
|
+
"authority": "iQ1oAG_authority",
|
|
18891
|
+
"reviewStatus": "iQ1oAG_reviewStatus",
|
|
18590
18892
|
"compact": "iQ1oAG_compact",
|
|
18591
|
-
"badges": "iQ1oAG_badges",
|
|
18592
18893
|
"origin": "iQ1oAG_origin",
|
|
18593
|
-
"
|
|
18894
|
+
"badges": "iQ1oAG_badges"
|
|
18594
18895
|
};
|
|
18595
18896
|
//#endregion
|
|
18596
18897
|
//#region src/client/graph/OriginBadges.tsx
|
|
@@ -18675,32 +18976,32 @@ window.__ModuleLoader__.load({
|
|
|
18675
18976
|
document.head.appendChild(tag);
|
|
18676
18977
|
}
|
|
18677
18978
|
var KnowledgeGraphTree_module_css_default = {
|
|
18678
|
-
"
|
|
18679
|
-
"
|
|
18680
|
-
"explorerRow": "JLttwq_explorerRow",
|
|
18681
|
-
"error": "JLttwq_error",
|
|
18979
|
+
"chevronPlaceholder": "JLttwq_chevronPlaceholder",
|
|
18980
|
+
"readOnlyBadge": "JLttwq_readOnlyBadge",
|
|
18682
18981
|
"topicGlyph": "JLttwq_topicGlyph",
|
|
18982
|
+
"rowActive": "JLttwq_rowActive",
|
|
18983
|
+
"emptyTitle": "JLttwq_emptyTitle",
|
|
18984
|
+
"error": "JLttwq_error",
|
|
18683
18985
|
"graphGlyph": "JLttwq_graphGlyph",
|
|
18684
|
-
"
|
|
18986
|
+
"retry": "JLttwq_retry",
|
|
18987
|
+
"explorerRow": "JLttwq_explorerRow",
|
|
18988
|
+
"chevron": "JLttwq_chevron",
|
|
18989
|
+
"topicRow": "JLttwq_topicRow",
|
|
18990
|
+
"computedBadge": "JLttwq_computedBadge",
|
|
18685
18991
|
"scope": "JLttwq_scope",
|
|
18686
18992
|
"tree": "JLttwq_tree",
|
|
18687
18993
|
"computedBadges": "JLttwq_computedBadges",
|
|
18688
|
-
"
|
|
18689
|
-
"state": "JLttwq_state",
|
|
18690
|
-
"chevron": "JLttwq_chevron",
|
|
18691
|
-
"retry": "JLttwq_retry",
|
|
18692
|
-
"topicRow": "JLttwq_topicRow",
|
|
18693
|
-
"explorerName": "JLttwq_explorerName",
|
|
18994
|
+
"explorerDir": "JLttwq_explorerDir",
|
|
18694
18995
|
"rowBadges": "JLttwq_rowBadges",
|
|
18695
|
-
"emptyRow": "JLttwq_emptyRow",
|
|
18696
|
-
"emptyTitle": "JLttwq_emptyTitle",
|
|
18697
|
-
"detail": "JLttwq_detail",
|
|
18698
18996
|
"kg-row-in": "JLttwq_kg-row-in",
|
|
18699
18997
|
"explorerTime": "JLttwq_explorerTime",
|
|
18998
|
+
"topicActive": "JLttwq_topicActive",
|
|
18700
18999
|
"topicName": "JLttwq_topicName",
|
|
18701
|
-
"
|
|
18702
|
-
"
|
|
18703
|
-
"
|
|
19000
|
+
"state": "JLttwq_state",
|
|
19001
|
+
"detail": "JLttwq_detail",
|
|
19002
|
+
"explorerRowSelected": "JLttwq_explorerRowSelected",
|
|
19003
|
+
"emptyRow": "JLttwq_emptyRow",
|
|
19004
|
+
"explorerName": "JLttwq_explorerName"
|
|
18704
19005
|
};
|
|
18705
19006
|
//#endregion
|
|
18706
19007
|
//#region src/client/graph/KnowledgeGraphTree.tsx
|
|
@@ -19089,19 +19390,19 @@ window.__ModuleLoader__.load({
|
|
|
19089
19390
|
document.head.appendChild(tag);
|
|
19090
19391
|
}
|
|
19091
19392
|
var KnowledgeGraphView_module_css_default = {
|
|
19393
|
+
"overviewLabel": "Dk9FoG_overviewLabel",
|
|
19394
|
+
"error": "Dk9FoG_error",
|
|
19395
|
+
"badgeBarLabel": "Dk9FoG_badgeBarLabel",
|
|
19396
|
+
"badgeBar": "Dk9FoG_badgeBar",
|
|
19397
|
+
"detail": "Dk9FoG_detail",
|
|
19092
19398
|
"retry": "Dk9FoG_retry",
|
|
19093
|
-
"emptyTitle": "Dk9FoG_emptyTitle",
|
|
19094
19399
|
"host": "Dk9FoG_host",
|
|
19095
|
-
"
|
|
19400
|
+
"filterField": "Dk9FoG_filterField",
|
|
19096
19401
|
"overviewBar": "Dk9FoG_overviewBar",
|
|
19097
|
-
"badgeBarLabel": "Dk9FoG_badgeBarLabel",
|
|
19098
|
-
"detail": "Dk9FoG_detail",
|
|
19099
19402
|
"filterSelect": "Dk9FoG_filterSelect",
|
|
19100
|
-
"frame": "Dk9FoG_frame",
|
|
19101
19403
|
"state": "Dk9FoG_state",
|
|
19102
|
-
"
|
|
19103
|
-
"
|
|
19104
|
-
"error": "Dk9FoG_error"
|
|
19404
|
+
"frame": "Dk9FoG_frame",
|
|
19405
|
+
"emptyTitle": "Dk9FoG_emptyTitle"
|
|
19105
19406
|
};
|
|
19106
19407
|
//#endregion
|
|
19107
19408
|
//#region src/client/graph/KnowledgeGraphView.tsx
|
|
@@ -20168,21 +20469,21 @@ window.__ModuleLoader__.load({
|
|
|
20168
20469
|
document.head.appendChild(tag);
|
|
20169
20470
|
}
|
|
20170
20471
|
var KnowledgeFilePreview_module_css_default = {
|
|
20171
|
-
"notice": "_7KbGuq_notice",
|
|
20172
|
-
"binaryAction": "_7KbGuq_binaryAction",
|
|
20173
20472
|
"root": "_7KbGuq_root",
|
|
20174
|
-
"
|
|
20175
|
-
"binarySize": "_7KbGuq_binarySize",
|
|
20176
|
-
"path": "_7KbGuq_path",
|
|
20177
|
-
"body": "_7KbGuq_body",
|
|
20473
|
+
"head": "_7KbGuq_head",
|
|
20178
20474
|
"binaryMeta": "_7KbGuq_binaryMeta",
|
|
20179
|
-
"
|
|
20180
|
-
"pre": "_7KbGuq_pre",
|
|
20475
|
+
"body": "_7KbGuq_body",
|
|
20181
20476
|
"binaryCard": "_7KbGuq_binaryCard",
|
|
20182
|
-
"
|
|
20477
|
+
"pre": "_7KbGuq_pre",
|
|
20478
|
+
"binaryName": "_7KbGuq_binaryName",
|
|
20479
|
+
"path": "_7KbGuq_path",
|
|
20480
|
+
"binaryAction": "_7KbGuq_binaryAction",
|
|
20481
|
+
"heading": "_7KbGuq_heading",
|
|
20183
20482
|
"close": "_7KbGuq_close",
|
|
20184
|
-
"binaryIcon": "_7KbGuq_binaryIcon",
|
|
20185
20483
|
"title": "_7KbGuq_title",
|
|
20484
|
+
"notice": "_7KbGuq_notice",
|
|
20485
|
+
"binaryIcon": "_7KbGuq_binaryIcon",
|
|
20486
|
+
"binarySize": "_7KbGuq_binarySize",
|
|
20186
20487
|
"error": "_7KbGuq_error"
|
|
20187
20488
|
};
|
|
20188
20489
|
//#endregion
|
|
@@ -20665,14 +20966,14 @@ window.__ModuleLoader__.load({
|
|
|
20665
20966
|
document.head.appendChild(tag);
|
|
20666
20967
|
}
|
|
20667
20968
|
var KnowledgeReferencePicker_module_css_default = {
|
|
20668
|
-
"body": "uUHBaG_body",
|
|
20669
|
-
"rowName": "uUHBaG_rowName",
|
|
20670
|
-
"empty": "uUHBaG_empty",
|
|
20671
|
-
"content": "uUHBaG_content",
|
|
20672
20969
|
"error": "uUHBaG_error",
|
|
20673
|
-
"rowWhen": "uUHBaG_rowWhen",
|
|
20674
20970
|
"footer": "uUHBaG_footer",
|
|
20675
|
-
"
|
|
20971
|
+
"content": "uUHBaG_content",
|
|
20972
|
+
"rowWhen": "uUHBaG_rowWhen",
|
|
20973
|
+
"empty": "uUHBaG_empty",
|
|
20974
|
+
"list": "uUHBaG_list",
|
|
20975
|
+
"body": "uUHBaG_body",
|
|
20976
|
+
"rowName": "uUHBaG_rowName"
|
|
20676
20977
|
};
|
|
20677
20978
|
//#endregion
|
|
20678
20979
|
//#region src/client/insertReadiness.ts
|
|
@@ -21942,6 +22243,16 @@ window.__ModuleLoader__.load({
|
|
|
21942
22243
|
/** The cut/copied entry, shared by both surfaces so a copy on one pastes on the other. */
|
|
21943
22244
|
const [clipboard, setClipboard] = (0, react.useState)(null);
|
|
21944
22245
|
/**
|
|
22246
|
+
* The knowledge tree's own row menu.
|
|
22247
|
+
*
|
|
22248
|
+
* Held here rather than inside `KnowledgeFileTree` because the menu outlives the row
|
|
22249
|
+
* that opened it: the explorer re-renders rows on every refresh, and a menu owned by a
|
|
22250
|
+
* row would unmount mid-interaction. `selection` is present only when the right-click
|
|
22251
|
+
* landed inside a multi-selection; the menu decides whether each entry is a batch one
|
|
22252
|
+
* from that list.
|
|
22253
|
+
*/
|
|
22254
|
+
const [treeMenu, setTreeMenu] = (0, react.useState)(null);
|
|
22255
|
+
/**
|
|
21945
22256
|
* Remember that the reader asked to extract one document.
|
|
21946
22257
|
* @param relPath - the document, tree-relative.
|
|
21947
22258
|
*/
|
|
@@ -21975,9 +22286,9 @@ window.__ModuleLoader__.load({
|
|
|
21975
22286
|
/**
|
|
21976
22287
|
* Paste the clipboard into one directory.
|
|
21977
22288
|
*
|
|
21978
|
-
* The
|
|
21979
|
-
*
|
|
21980
|
-
*
|
|
22289
|
+
* The batch bar and the shared row menu both call this, so there is one implementation
|
|
22290
|
+
* of what "paste" means: a cut moves, a copy duplicates, and a cut clears the clipboard
|
|
22291
|
+
* once everything landed.
|
|
21981
22292
|
* @param into - the tree-relative directory to paste into.
|
|
21982
22293
|
*/
|
|
21983
22294
|
const pasteInto = (0, react.useCallback)(async (into) => {
|
|
@@ -22029,7 +22340,37 @@ window.__ModuleLoader__.load({
|
|
|
22029
22340
|
*
|
|
22030
22341
|
* A folder pastes into itself; a file pastes beside itself. `''` is the tree root,
|
|
22031
22342
|
* which is a real destination rather than "unknown".
|
|
22343
|
+
* @param relPath - the row the menu was opened on.
|
|
22344
|
+
* @param isDir - whether that row is a folder.
|
|
22345
|
+
* @returns The tree-relative destination directory.
|
|
22346
|
+
*/
|
|
22347
|
+
const pasteTargetFor = (relPath, isDir) => isDir ? relPath : relPath.includes("/") ? relPath.slice(0, relPath.lastIndexOf("/")) : "";
|
|
22348
|
+
/**
|
|
22349
|
+
* Move one tree row into a typed destination directory.
|
|
22350
|
+
*
|
|
22351
|
+
* Both ends are resolved through `resolveUploadDir`: the view hides the owner segment
|
|
22352
|
+
* of `personal`, and a move that sent the view path unchanged would address a path the
|
|
22353
|
+
* Host does not know. The menu owns the prompt and the close; this handler owns only
|
|
22354
|
+
* the request and its refusal.
|
|
22355
|
+
* @param row - the row the reader right-clicked.
|
|
22356
|
+
* @param destination - the tree-relative directory the reader typed.
|
|
22032
22357
|
*/
|
|
22358
|
+
const moveTreeRow = (0, react.useCallback)(async (row, destination) => {
|
|
22359
|
+
const from = resolveUploadDir(row.relPath, callerId);
|
|
22360
|
+
const to = resolveUploadDir(destination, callerId);
|
|
22361
|
+
if (from === void 0 || to === void 0) throw new Error(t("dropRefusedNoCaller"));
|
|
22362
|
+
const response = await fetch(kbApiPath(KB_API.move), {
|
|
22363
|
+
method: "POST",
|
|
22364
|
+
headers: { "content-type": "application/json" },
|
|
22365
|
+
body: JSON.stringify({
|
|
22366
|
+
from,
|
|
22367
|
+
to
|
|
22368
|
+
}),
|
|
22369
|
+
cache: "no-store"
|
|
22370
|
+
});
|
|
22371
|
+
const body = await readKnowledgeJson(response);
|
|
22372
|
+
if (!response.ok || body.error !== void 0) throw new Error(body.error ?? "HTTP " + String(response.status));
|
|
22373
|
+
}, [callerId, t]);
|
|
22033
22374
|
/**
|
|
22034
22375
|
* The rows the batch bar acts on.
|
|
22035
22376
|
*
|
|
@@ -22641,6 +22982,13 @@ window.__ModuleLoader__.load({
|
|
|
22641
22982
|
onToggleFavorite: (relPath, next) => {
|
|
22642
22983
|
favorites.setFavorite(relPath, next);
|
|
22643
22984
|
},
|
|
22985
|
+
onRowContextMenu: (target, at, selection) => {
|
|
22986
|
+
setTreeMenu({
|
|
22987
|
+
target,
|
|
22988
|
+
at,
|
|
22989
|
+
...selection === void 0 ? {} : { selection }
|
|
22990
|
+
});
|
|
22991
|
+
},
|
|
22644
22992
|
onShare: (relPath) => {
|
|
22645
22993
|
setShareTarget(relPath);
|
|
22646
22994
|
},
|
|
@@ -22950,6 +23298,47 @@ window.__ModuleLoader__.load({
|
|
|
22950
23298
|
})]
|
|
22951
23299
|
})]
|
|
22952
23300
|
}),
|
|
23301
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeContextMenu, {
|
|
23302
|
+
target: treeMenu?.target ?? null,
|
|
23303
|
+
at: treeMenu?.at ?? null,
|
|
23304
|
+
...treeMenu?.selection === void 0 ? {} : { selection: treeMenu.selection },
|
|
23305
|
+
t,
|
|
23306
|
+
shareCopy: shareCopyFor(props.locale),
|
|
23307
|
+
pinned: treeMenu === null ? false : pins.has(treeMenu.target.relPath),
|
|
23308
|
+
favorite: treeMenu === null ? false : favorites.has(treeMenu.target.relPath),
|
|
23309
|
+
clipboard,
|
|
23310
|
+
pasteInto: treeMenu === null ? null : pasteTargetFor(treeMenu.target.relPath, treeMenu.target.isDir),
|
|
23311
|
+
canManageGrants: false,
|
|
23312
|
+
onOpen: (path) => {
|
|
23313
|
+
openDocument(path);
|
|
23314
|
+
},
|
|
23315
|
+
onClose: () => {
|
|
23316
|
+
setTreeMenu(null);
|
|
23317
|
+
},
|
|
23318
|
+
onPin: (path, pinned) => {
|
|
23319
|
+
pins.setPinned(path, pinned);
|
|
23320
|
+
},
|
|
23321
|
+
onFavorite: (path, favorite) => {
|
|
23322
|
+
favorites.setFavorite(path, favorite);
|
|
23323
|
+
},
|
|
23324
|
+
onReference: (path, isDir) => {
|
|
23325
|
+
askReferenceTarget(path, isDir);
|
|
23326
|
+
},
|
|
23327
|
+
onClipboard: (entry) => {
|
|
23328
|
+
setClipboard(entry);
|
|
23329
|
+
},
|
|
23330
|
+
onMove: moveTreeRow,
|
|
23331
|
+
onRenamed: () => {
|
|
23332
|
+
setRefreshTick((t) => t + 1);
|
|
23333
|
+
},
|
|
23334
|
+
onDeleted: () => {
|
|
23335
|
+
setRefreshTick((t) => t + 1);
|
|
23336
|
+
},
|
|
23337
|
+
onMoved: () => {
|
|
23338
|
+
setClipboard((current) => current?.cut === true ? null : current);
|
|
23339
|
+
setRefreshTick((t) => t + 1);
|
|
23340
|
+
}
|
|
23341
|
+
}),
|
|
22953
23342
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(KnowledgeShareDialog, {
|
|
22954
23343
|
relPath: shareTarget,
|
|
22955
23344
|
isDir: false,
|
|
@@ -23807,58 +24196,58 @@ window.__ModuleLoader__.load({
|
|
|
23807
24196
|
document.head.appendChild(tag);
|
|
23808
24197
|
}
|
|
23809
24198
|
var WorkflowPlaza_module_css_default = {
|
|
23810
|
-
"
|
|
23811
|
-
"
|
|
23812
|
-
"
|
|
24199
|
+
"fieldLabel": "lYC_0W_fieldLabel",
|
|
24200
|
+
"reviewHead": "lYC_0W_reviewHead",
|
|
24201
|
+
"tabCount": "lYC_0W_tabCount",
|
|
24202
|
+
"reviewList": "lYC_0W_reviewList",
|
|
24203
|
+
"card": "lYC_0W_card",
|
|
24204
|
+
"cardTop": "lYC_0W_cardTop",
|
|
24205
|
+
"page": "lYC_0W_page",
|
|
24206
|
+
"frequencyOn": "lYC_0W_frequencyOn",
|
|
24207
|
+
"reviewEmpty": "lYC_0W_reviewEmpty",
|
|
24208
|
+
"detailFacts": "lYC_0W_detailFacts",
|
|
24209
|
+
"dialogFoot": "lYC_0W_dialogFoot",
|
|
23813
24210
|
"reviewNote": "lYC_0W_reviewNote",
|
|
23814
|
-
"
|
|
23815
|
-
"
|
|
23816
|
-
"
|
|
23817
|
-
"
|
|
24211
|
+
"reviewActions": "lYC_0W_reviewActions",
|
|
24212
|
+
"tab": "lYC_0W_tab",
|
|
24213
|
+
"tabActive": "lYC_0W_tabActive",
|
|
24214
|
+
"body": "lYC_0W_body",
|
|
24215
|
+
"cardDesc": "lYC_0W_cardDesc",
|
|
24216
|
+
"failureRow": "lYC_0W_failureRow",
|
|
24217
|
+
"headerRow": "lYC_0W_headerRow",
|
|
23818
24218
|
"frequencies": "lYC_0W_frequencies",
|
|
23819
|
-
"
|
|
24219
|
+
"field": "lYC_0W_field",
|
|
24220
|
+
"reviewCard": "lYC_0W_reviewCard",
|
|
24221
|
+
"reviewMeta": "lYC_0W_reviewMeta",
|
|
24222
|
+
"reviewPrompt": "lYC_0W_reviewPrompt",
|
|
24223
|
+
"mineTags": "lYC_0W_mineTags",
|
|
24224
|
+
"detailDialogBody": "lYC_0W_detailDialogBody",
|
|
24225
|
+
"tabs": "lYC_0W_tabs",
|
|
24226
|
+
"actions": "lYC_0W_actions",
|
|
23820
24227
|
"mineTime": "lYC_0W_mineTime",
|
|
23821
|
-
"
|
|
24228
|
+
"pageTitle": "lYC_0W_pageTitle",
|
|
23822
24229
|
"cardCron": "lYC_0W_cardCron",
|
|
23823
|
-
"
|
|
24230
|
+
"state": "lYC_0W_state",
|
|
23824
24231
|
"mark": "lYC_0W_mark",
|
|
23825
|
-
"
|
|
23826
|
-
"fieldLabel": "lYC_0W_fieldLabel",
|
|
23827
|
-
"cards": "lYC_0W_cards",
|
|
23828
|
-
"cardTop": "lYC_0W_cardTop",
|
|
23829
|
-
"cardDesc": "lYC_0W_cardDesc",
|
|
23830
|
-
"cardTitle": "lYC_0W_cardTitle",
|
|
23831
|
-
"reviewList": "lYC_0W_reviewList",
|
|
23832
|
-
"body": "lYC_0W_body",
|
|
23833
|
-
"cronInvalid": "lYC_0W_cronInvalid",
|
|
23834
|
-
"detailFacts": "lYC_0W_detailFacts",
|
|
24232
|
+
"dialogIntro": "lYC_0W_dialogIntro",
|
|
23835
24233
|
"frequency": "lYC_0W_frequency",
|
|
23836
|
-
"
|
|
23837
|
-
"
|
|
23838
|
-
"mineStatus": "lYC_0W_mineStatus",
|
|
23839
|
-
"tabActive": "lYC_0W_tabActive",
|
|
23840
|
-
"pageTitle": "lYC_0W_pageTitle",
|
|
23841
|
-
"card": "lYC_0W_card",
|
|
24234
|
+
"cronInvalid": "lYC_0W_cronInvalid",
|
|
24235
|
+
"detailDescription": "lYC_0W_detailDescription",
|
|
23842
24236
|
"cardFoot": "lYC_0W_cardFoot",
|
|
23843
|
-
"reviewActions": "lYC_0W_reviewActions",
|
|
23844
|
-
"tabCount": "lYC_0W_tabCount",
|
|
23845
|
-
"page": "lYC_0W_page",
|
|
23846
|
-
"headerRow": "lYC_0W_headerRow",
|
|
23847
|
-
"cronInput": "lYC_0W_cronInput",
|
|
23848
|
-
"tab": "lYC_0W_tab",
|
|
23849
|
-
"state": "lYC_0W_state",
|
|
23850
|
-
"review": "lYC_0W_review",
|
|
23851
24237
|
"reviewTitle": "lYC_0W_reviewTitle",
|
|
23852
|
-
"
|
|
23853
|
-
"
|
|
24238
|
+
"mineStatus": "lYC_0W_mineStatus",
|
|
24239
|
+
"cards": "lYC_0W_cards",
|
|
23854
24240
|
"dialogBody": "lYC_0W_dialogBody",
|
|
23855
|
-
"
|
|
23856
|
-
"
|
|
23857
|
-
"field": "lYC_0W_field",
|
|
23858
|
-
"detailDialogBody": "lYC_0W_detailDialogBody",
|
|
23859
|
-
"mineTags": "lYC_0W_mineTags",
|
|
24241
|
+
"mineScope": "lYC_0W_mineScope",
|
|
24242
|
+
"cronValid": "lYC_0W_cronValid",
|
|
23860
24243
|
"detailInstruction": "lYC_0W_detailInstruction",
|
|
23861
|
-
"
|
|
24244
|
+
"mineFooter": "lYC_0W_mineFooter",
|
|
24245
|
+
"reviewDescription": "lYC_0W_reviewDescription",
|
|
24246
|
+
"failure": "lYC_0W_failure",
|
|
24247
|
+
"review": "lYC_0W_review",
|
|
24248
|
+
"cardTitle": "lYC_0W_cardTitle",
|
|
24249
|
+
"cronInput": "lYC_0W_cronInput",
|
|
24250
|
+
"cardIcon": "lYC_0W_cardIcon"
|
|
23862
24251
|
};
|
|
23863
24252
|
//#endregion
|
|
23864
24253
|
//#region src/client/workflows/WorkflowPlaza.tsx
|