@pstdio/workbench 0.38.0 → 0.39.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/dist/extensions.d.ts +43 -2
- package/dist/extensions.js +284 -255
- package/dist/extensions.js.map +1 -1
- package/dist/{file-renderer-view-B1tNSzpa.js → file-renderer-view-Cf3pcX_K.js} +3 -3
- package/dist/{file-renderer-view-B1tNSzpa.js.map → file-renderer-view-Cf3pcX_K.js.map} +1 -1
- package/dist/{index-Cl3NI1pb.d.ts → index-Bzx1gf5-.d.ts} +266 -204
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1255 -1182
- package/dist/index.js.map +1 -1
- package/dist/{kanban-presentation-Mb9rbE48.d.ts → kanban-presentation-yKUdZyuY.d.ts} +1 -1
- package/dist/navigation-tree-registry-DazyPivr.js +106 -0
- package/dist/navigation-tree-registry-DazyPivr.js.map +1 -0
- package/dist/{react-Dnt2zZRw.js → react-CgOb52iV.js} +2805 -2444
- package/dist/react-CgOb52iV.js.map +1 -0
- package/dist/react.d.ts +3 -2
- package/dist/react.js +1 -1
- package/dist/storage.d.ts +1 -1
- package/dist/webview-runtime.js +1 -1
- package/dist/{workbench-renderers-RPeMVtTc.js → workbench-renderers-DNXWpDWd.js} +151 -144
- package/dist/workbench-renderers-DNXWpDWd.js.map +1 -0
- package/package.json +3 -3
- package/dist/navigation-tree-registry-CKB9qsW1.js +0 -102
- package/dist/navigation-tree-registry-CKB9qsW1.js.map +0 -1
- package/dist/react-Dnt2zZRw.js.map +0 -1
- package/dist/workbench-renderers-RPeMVtTc.js.map +0 -1
package/dist/extensions.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as ReactKanbanRendererContribution, t as ReactAttributeDescriptor } from "./kanban-presentation-
|
|
1
|
+
import { At as RegisteredWorkbenchNotification, Er as TreeContext, Hi as ResourceRef$1, Ht as WorkbenchOwnedPlacementItem, Ir as MenuItem, Kr as WorkbenchPanelRenderInput, Lr as MenuPath, M as WorkbenchModuleContext, Oi as Command, Pi as WorkbenchCommandExecutionContext, Qn as KanbanRendererCreateSubmission, Qt as WorkbenchTerminalController, Si as NavigationTargetCommand, Sn as WorkbenchPlacementPresentation, St as PreferenceValue, ei as WorkbenchPanelInstance, k as WorkbenchCore, kr as TreeNode, rr as KanbanRendererViewsProvider, ua as Disposable, ur as FileRendererRefreshEnvelope, xi as NavigationTarget$1, xn as WorkbenchPageContribution } from "./index-Bzx1gf5-.js";
|
|
2
|
+
import { i as ReactKanbanRendererContribution, t as ReactAttributeDescriptor } from "./kanban-presentation-yKUdZyuY.js";
|
|
3
3
|
import { Localizable, NavigationTarget, ResourceRef, WebviewHostCapability } from "@pstdio/sdk/extensions";
|
|
4
4
|
import { CommandExecuteRequest, CommandExecuteResponse, ExtensionCommandPaletteContribution, ExtensionMenuContribution, WorkbenchExtensionCommandPaletteResourceRecord, WorkbenchExtensionMetadata, WorkbenchExtensionMetadata as WorkbenchExtensionMetadata$1 } from "@pstdio/sdk/api";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -265,6 +265,26 @@ declare const extensionDataTableRendererRecordSchema: z.ZodObject<{
|
|
|
265
265
|
$l10n: z.ZodString;
|
|
266
266
|
default: z.ZodOptional<z.ZodString>;
|
|
267
267
|
}, z.core.$strip>]>>;
|
|
268
|
+
toolbarActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
269
|
+
id: z.ZodString;
|
|
270
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
271
|
+
$l10n: z.ZodString;
|
|
272
|
+
default: z.ZodOptional<z.ZodString>;
|
|
273
|
+
}, z.core.$strip>]>;
|
|
274
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
275
|
+
presentation: z.ZodOptional<z.ZodEnum<{
|
|
276
|
+
secondary: "secondary";
|
|
277
|
+
primary: "primary";
|
|
278
|
+
}>>;
|
|
279
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
280
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
281
|
+
type: z.ZodString;
|
|
282
|
+
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
283
|
+
submitLabel: z.ZodOptional<z.ZodString>;
|
|
284
|
+
when: z.ZodOptional<z.ZodString>;
|
|
285
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
286
|
+
commandId: z.ZodString;
|
|
287
|
+
}, z.core.$strip>>>;
|
|
268
288
|
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
269
289
|
id: z.ZodString;
|
|
270
290
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -367,6 +387,26 @@ declare const extensionKanbanRendererRecordSchema: z.ZodObject<{
|
|
|
367
387
|
$l10n: z.ZodString;
|
|
368
388
|
default: z.ZodOptional<z.ZodString>;
|
|
369
389
|
}, z.core.$strip>]>>;
|
|
390
|
+
toolbarActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
391
|
+
id: z.ZodString;
|
|
392
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
393
|
+
$l10n: z.ZodString;
|
|
394
|
+
default: z.ZodOptional<z.ZodString>;
|
|
395
|
+
}, z.core.$strip>]>;
|
|
396
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
397
|
+
presentation: z.ZodOptional<z.ZodEnum<{
|
|
398
|
+
secondary: "secondary";
|
|
399
|
+
primary: "primary";
|
|
400
|
+
}>>;
|
|
401
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
402
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
403
|
+
type: z.ZodString;
|
|
404
|
+
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
405
|
+
submitLabel: z.ZodOptional<z.ZodString>;
|
|
406
|
+
when: z.ZodOptional<z.ZodString>;
|
|
407
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
408
|
+
commandId: z.ZodString;
|
|
409
|
+
}, z.core.$strip>>>;
|
|
370
410
|
extensionInstanceId: z.ZodOptional<z.ZodString>;
|
|
371
411
|
attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
372
412
|
id: z.ZodString;
|
|
@@ -957,6 +997,7 @@ type Localizer = (value: unknown, fallback?: string) => string;
|
|
|
957
997
|
//#endregion
|
|
958
998
|
//#region src/extensions/contributions/kanban-renderer-contributions.d.ts
|
|
959
999
|
interface WorkbenchExtensionKanbanRendererAdapter {
|
|
1000
|
+
createViewsProvider?: (record: WorkbenchExtensionKanbanRendererRecord) => KanbanRendererViewsProvider;
|
|
960
1001
|
/** Override label resolution. Defaults to workbench's `text(value, fallback)`. */
|
|
961
1002
|
resolveLabel?: Localizer;
|
|
962
1003
|
/** Post-process an attribute descriptor (after localization). Defaults to identity. */
|