@pstdio/workbench 0.45.0-nightly.20261021143541 → 0.45.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/react.d.ts CHANGED
@@ -1,18 +1,15 @@
1
- import { Et as PreferenceValue, F as WorkbenchModuleContribution, G as ThemePreferenceOption$1, Hi as RegisteredPlaceholderContribution, Jr as RegisteredMenuItem, Ki as WorkbenchPanelInstance, Kr as MenuPath, Li as NavigationTarget$1, M as WorkbenchCoreContributionContext, Nr as TreeAction, Qn as RegisteredDataTableRendererContribution, St as PreferenceRegistry, Ui as RegisteredWidgetContribution, Ut as KeybindingSequence, Wr as WorkbenchPanelRenderInput, X as WorkbenchStatusRegistry, Xr as WorkbenchFocusRegionId, Xt as WorkbenchTerminalController, ca as WorkbenchRegion$1, da as WorkbenchStore, ei as Command, fa as Disposable, ii as CommandParamSchema, j as WorkbenchCore, mi as ResourceRef$1, ni as CommandParamDescriptor, oi as WorkbenchCommandExecutionContext, ra as WorkbenchWidgetPlacement, ri as CommandParamOption, sa as WorkbenchPanelRegion, sn as WorkbenchShellOpenRegion, wt as PreferenceScope, xt as PreferencePropertySchema } from "./index-D5tFB3t0.js";
2
- import { a as ReactResourceContextAction, i as ReactKanbanRendererContribution, n as ReactAttributesSource, r as ReactBoardColumnConfig, t as ReactAttributeDescriptor } from "./kanban-presentation-BfYisHaU.js";
1
+ import { Et as PreferenceValue, F as WorkbenchModuleContribution, G as ThemePreferenceOption$1, Hi as RegisteredPlaceholderContribution, Jr as RegisteredMenuItem, Ki as WorkbenchPanelInstance, Kr as MenuPath, Li as NavigationTarget$1, M as WorkbenchCoreContributionContext, Nr as TreeAction, Qn as RegisteredDataTableRendererContribution, St as PreferenceRegistry, Ui as RegisteredWidgetContribution, Ut as KeybindingSequence, Wr as WorkbenchPanelRenderInput, X as WorkbenchStatusRegistry, Xr as WorkbenchFocusRegionId, Xt as WorkbenchTerminalController, ca as WorkbenchRegion$1, da as WorkbenchStore, ei as Command, fa as Disposable, ii as CommandParamSchema, j as WorkbenchCore, mi as ResourceRef$1, ni as CommandParamDescriptor, oi as WorkbenchCommandExecutionContext, ra as WorkbenchWidgetPlacement, ri as CommandParamOption, sa as WorkbenchPanelRegion, sn as WorkbenchShellOpenRegion, wt as PreferenceScope, xt as PreferencePropertySchema } from "./index-DL-0XKr0.js";
2
+ import { a as ReactResourceContextAction, i as ReactKanbanRendererContribution, n as ReactAttributesSource, r as ReactBoardColumnConfig, t as ReactAttributeDescriptor } from "./kanban-presentation-CdHu43iH.js";
3
3
  import { ResourceAnchor, ResourceAnchorPage, ResourceAnchorQuery, ResourceRef } from "@pstdio/sdk/extensions";
4
4
  import { ReactNode } from "react";
5
5
  import { FileIconThemePreferenceOption, ResourceContextAction, ThemePreference, ThemePreferenceOption, ThemePreferenceStorage } from "@pstdio/ui";
6
6
  import { FileUploadValue, ParamEditorProps, ParamValue } from "@pstdio/ui/param-editor";
7
7
  import { BoxProps, IconProps } from "@chakra-ui/react";
8
8
  import { TerminalBridge } from "@pstdio/ui/terminal";
9
- //#region src/react/breadcrumb/breadcrumb-view.d.ts
10
9
  interface WorkbenchBreadcrumbViewProps {
11
10
  workbench: WorkbenchCore;
12
11
  }
13
12
  export declare const WorkbenchBreadcrumbView: (props: WorkbenchBreadcrumbViewProps) => import("react/jsx-runtime").JSX.Element | null;
14
- //#endregion
15
- //#region src/react/command-palette/command-palette-params.d.ts
16
13
  interface CommandFilesParamValue {
17
14
  refs: string[];
18
15
  uploads: FileUploadValue[];
@@ -27,8 +24,6 @@ export declare const createCommandFilesParamValue: (input?: Partial<CommandFiles
27
24
  export declare const listCommandParamEntries: (params: CommandParamSchema | undefined) => CommandParamEntry[];
28
25
  export declare const buildCommandParamInitialValues: (params: CommandParamSchema | undefined, baseArgs?: unknown, context?: WorkbenchCommandExecutionContext, mutation?: Command["resourceMutation"]) => Record<string, CommandParamValue>;
29
26
  export declare const normalizeCommandParamValues: (params: CommandParamSchema | undefined, values: Record<string, CommandParamValue>) => Record<string, unknown>;
30
- //#endregion
31
- //#region src/react/command-palette/command-option-resolver.d.ts
32
27
  interface CommandOptionState {
33
28
  key: string;
34
29
  status: "loading" | "ready" | "error";
@@ -36,15 +31,11 @@ interface CommandOptionState {
36
31
  error?: string;
37
32
  }
38
33
  type ExecuteOptionCommand = (commandId: string, args: Record<string, unknown>, signal?: AbortSignal) => Promise<unknown>;
39
- //#endregion
40
- //#region src/react/command-palette/command-option-status.d.ts
41
34
  interface CommandOptionStatusProps {
42
35
  state?: CommandOptionState;
43
36
  onRetry: () => void;
44
37
  }
45
38
  export declare const CommandOptionStatus: (props: CommandOptionStatusProps) => import("react/jsx-runtime").JSX.Element | null;
46
- //#endregion
47
- //#region src/react/command-palette/command-param-field.d.ts
48
39
  interface CommandParamFieldProps {
49
40
  entry: CommandParamEntry;
50
41
  value: CommandParamValue;
@@ -58,8 +49,6 @@ interface CommandParamFieldProps {
58
49
  }
59
50
  type CommandParamFieldRenderer = (props: CommandParamFieldProps) => ReactNode;
60
51
  export declare const CommandParamField: (props: Omit<CommandParamFieldProps, "context">) => import("react/jsx-runtime").JSX.Element;
61
- //#endregion
62
- //#region src/react/command-palette/command-params-dialog.d.ts
63
52
  interface CommandParamsRequest {
64
53
  record: {
65
54
  command: Pick<Command, "id" | "label" | "description" | "params" | "resourceMutation">;
@@ -70,8 +59,6 @@ interface CommandParamsRequest {
70
59
  args?: unknown;
71
60
  context?: WorkbenchCommandExecutionContext;
72
61
  }
73
- //#endregion
74
- //#region src/react/command-palette/command-palette.d.ts
75
62
  interface WorkbenchCommandPaletteProps {
76
63
  workbench: WorkbenchCore;
77
64
  open: boolean;
@@ -81,13 +68,9 @@ interface WorkbenchCommandPaletteProps {
81
68
  onClose: () => void;
82
69
  }
83
70
  export declare const WorkbenchCommandPalette: (props: WorkbenchCommandPaletteProps) => import("react/jsx-runtime").JSX.Element;
84
- //#endregion
85
- //#region src/react/command-palette/command-param-descriptors.d.ts
86
71
  export declare const commandParamName: (entry: CommandParamEntry) => string;
87
72
  /** Narrows an editor value back to what a command param can carry. */
88
73
  export declare const readCommandParamValue: (value: ParamValue, entry?: CommandParamEntry) => CommandParamValue;
89
- //#endregion
90
- //#region src/react/command-palette/use-command-options.d.ts
91
74
  export declare const useCommandOptions: (schema: CommandParamSchema, values: Record<string, CommandParamValue>, execute: ExecuteOptionCommand | undefined, onChange: (key: string, value: CommandParamValue) => void, resolved?: Record<string, unknown>) => {
92
75
  states: Record<string, CommandOptionState>;
93
76
  validate: (next: {
@@ -95,24 +78,18 @@ export declare const useCommandOptions: (schema: CommandParamSchema, values: Rec
95
78
  }) => Record<string, string>;
96
79
  retry: (key: string) => void;
97
80
  };
98
- //#endregion
99
- //#region src/react/focus/focus-region.d.ts
100
81
  interface WorkbenchFocusRegionProps extends BoxProps {
101
82
  workbench: WorkbenchCore;
102
83
  region: WorkbenchFocusRegionId;
103
84
  children: ReactNode;
104
85
  }
105
86
  export declare const WorkbenchFocusRegion: (props: WorkbenchFocusRegionProps) => import("react/jsx-runtime").JSX.Element;
106
- //#endregion
107
- //#region src/react/header/header-actions.d.ts
108
87
  interface WorkbenchHeaderActionsProps {
109
88
  workbench: WorkbenchCore;
110
89
  menuPath: MenuPath;
111
90
  controlSize?: "2xs" | "xs";
112
91
  }
113
92
  export declare const WorkbenchHeaderActions: (props: WorkbenchHeaderActionsProps) => import("react/jsx-runtime").JSX.Element | null;
114
- //#endregion
115
- //#region src/react/keybindings/workbench-keybinding-dispatcher.d.ts
116
93
  interface WorkbenchHotkeyRegistration {
117
94
  id: string;
118
95
  hotkey: KeybindingSequence;
@@ -139,8 +116,6 @@ export declare const createWorkbenchHotkeyRegistrations: (input: CreateWorkbench
139
116
  execute: () => Promise<void>;
140
117
  }[];
141
118
  export declare const WorkbenchKeybindingDispatcher: (props: WorkbenchKeybindingDispatcherProps) => null;
142
- //#endregion
143
- //#region src/react/menus/menu-items.d.ts
144
119
  interface WorkbenchMenuItem {
145
120
  id: string;
146
121
  commandId: string;
@@ -159,8 +134,6 @@ interface WorkbenchMenuItemContext {
159
134
  resource?: ResourceRef$1 | undefined;
160
135
  }
161
136
  export declare const listWorkbenchMenuItems: (workbench: WorkbenchCore, menuPath: MenuPath, context?: WorkbenchMenuItemContext) => WorkbenchMenuItem[];
162
- //#endregion
163
- //#region src/react/renderers/tree/tree-actions.d.ts
164
137
  interface TreeActionParamsRequest {
165
138
  request: CommandParamsRequest;
166
139
  run: (args: unknown) => Promise<void>;
@@ -174,21 +147,15 @@ interface CreateTreeContextMenuItemsInput {
174
147
  onRequestParams?: (request: TreeActionParamsRequest) => void;
175
148
  }
176
149
  export declare const createTreeContextMenuItems: (input: CreateTreeContextMenuItemsInput) => import("@pstdio/ui").ListRowActionMenuItem[];
177
- //#endregion
178
- //#region src/react/menus/menu-entries.d.ts
179
150
  interface ResolveMenuEntriesInput {
180
151
  workbench: WorkbenchCoreContributionContext;
181
152
  menuPath: MenuPath;
182
153
  context?: WorkbenchCommandExecutionContext;
183
154
  onRequestParams?: (request: TreeActionParamsRequest) => void;
184
155
  }
185
- //#endregion
186
- //#region src/react/menus/command-menu-items.d.ts
187
156
  interface CreateMenuItemsInput extends ResolveMenuEntriesInput {
188
157
  onCommandError?: (error: unknown) => void;
189
158
  }
190
- //#endregion
191
- //#region src/react/menus/resource-actions.d.ts
192
159
  export declare const createWorkbenchResourceActions: (workbench: WorkbenchCoreContributionContext, subject: ResourceRef$1, options?: Pick<CreateMenuItemsInput, "onRequestParams" | "onCommandError">) => {
193
160
  group: {
194
161
  id: string;
@@ -223,14 +190,10 @@ export declare const useWorkbenchResourceActionResolver: (workbench: WorkbenchCo
223
190
  separatorBefore?: boolean;
224
191
  closeOnSelect?: boolean;
225
192
  }[];
226
- //#endregion
227
- //#region src/react/notifications/notification-host.d.ts
228
193
  interface WorkbenchNotificationHostProps {
229
194
  workbench: WorkbenchCore;
230
195
  }
231
196
  export declare const WorkbenchNotificationHost: (props: WorkbenchNotificationHostProps) => null;
232
- //#endregion
233
- //#region src/react/region/region.d.ts
234
197
  interface WorkbenchRegionProps {
235
198
  workbench: WorkbenchCore;
236
199
  region: WorkbenchRegion$1;
@@ -239,16 +202,12 @@ interface WorkbenchRegionProps {
239
202
  transparent?: boolean;
240
203
  }
241
204
  export declare const WorkbenchRegion: (props: WorkbenchRegionProps) => import("react/jsx-runtime").JSX.Element;
242
- //#endregion
243
- //#region src/react/region/region-tabs.d.ts
244
205
  interface WorkbenchRegionTabsProps {
245
206
  workbench: WorkbenchCore;
246
207
  region: WorkbenchRegion$1;
247
208
  visibilityStorageKey?: string;
248
209
  }
249
210
  export declare const WorkbenchRegionTabs: (props: WorkbenchRegionTabsProps) => import("react/jsx-runtime").JSX.Element;
250
- //#endregion
251
- //#region src/react/region/widget-host.d.ts
252
211
  interface WorkbenchWidgetHostProps {
253
212
  workbench: WorkbenchCore;
254
213
  placement: WorkbenchWidgetPlacement;
@@ -256,8 +215,6 @@ interface WorkbenchWidgetHostProps {
256
215
  region?: WorkbenchRegion$1;
257
216
  }
258
217
  export declare const WorkbenchWidgetHost: (props: WorkbenchWidgetHostProps) => import("react/jsx-runtime").JSX.Element;
259
- //#endregion
260
- //#region src/react/renderers/data-table/data-table-view.d.ts
261
218
  interface WorkbenchDataTableViewProps {
262
219
  workbench: WorkbenchCore;
263
220
  renderParamField?: CommandParamFieldRenderer;
@@ -265,8 +222,6 @@ interface WorkbenchDataTableViewProps {
265
222
  placement: WorkbenchPanelInstance;
266
223
  }
267
224
  export declare const WorkbenchDataTableView: (props: WorkbenchDataTableViewProps) => import("react/jsx-runtime").JSX.Element;
268
- //#endregion
269
- //#region src/react/renderers/settings/preference-schema-to-params.d.ts
270
225
  type ParamValue$1 = Parameters<NonNullable<ParamEditorProps["onChange"]>>[1];
271
226
  interface PreferenceParamEntry {
272
227
  name: string;
@@ -277,8 +232,6 @@ interface PreferenceParamEntry {
277
232
  }
278
233
  export declare const preferenceSchemaToParams: (entries: PreferenceParamEntry[]) => import("@pstdio/ui/param-editor").Param[];
279
234
  export declare const paramValueToPreference: (schema: PreferencePropertySchema, value: ParamValue$1) => PreferenceValue;
280
- //#endregion
281
- //#region src/react/renderers/settings/preferences-form.d.ts
282
235
  interface WorkbenchPreferencesFormProps {
283
236
  preferences: PreferenceRegistry;
284
237
  /** Preference names to edit; an object form overrides the displayed label. */
@@ -292,8 +245,6 @@ interface WorkbenchPreferencesFormProps {
292
245
  mode?: "live" | "apply";
293
246
  }
294
247
  export declare const WorkbenchPreferencesForm: (props: WorkbenchPreferencesFormProps) => import("react/jsx-runtime").JSX.Element;
295
- //#endregion
296
- //#region src/react/renderers/tree/tree-view.d.ts
297
248
  interface WorkbenchTreeViewProps {
298
249
  readOwnerKey?: string;
299
250
  placement?: WorkbenchPanelInstance;
@@ -307,15 +258,11 @@ interface WorkbenchTreeViewProps {
307
258
  onSidenavContextActionsChange?: (actions: ResourceContextAction[]) => void;
308
259
  }
309
260
  export declare const WorkbenchTreeView: (props: WorkbenchTreeViewProps) => import("react/jsx-runtime").JSX.Element;
310
- //#endregion
311
- //#region src/react/renderers/workbench-connection-provider.d.ts
312
261
  interface WorkbenchConnectionProviderProps {
313
262
  connected: boolean;
314
263
  children: ReactNode;
315
264
  }
316
265
  export declare const WorkbenchConnectionProvider: (props: WorkbenchConnectionProviderProps) => import("react/jsx-runtime").JSX.Element;
317
- //#endregion
318
- //#region src/react/resource-links/resource-links-types.d.ts
319
266
  interface ResourceLinkCandidate {
320
267
  resource: ResourceRef;
321
268
  target?: NavigationTarget$1;
@@ -330,8 +277,6 @@ interface ResourceLinksService {
330
277
  resolve(resources: ResourceRef[], signal?: AbortSignal): Promise<ResourceLinkCandidate[]>;
331
278
  subscribe(listener: () => void): () => void;
332
279
  }
333
- //#endregion
334
- //#region src/react/resource-links/resource-links-module.d.ts
335
280
  interface WorkbenchResourceLinksOptions {
336
281
  canonicalize(resource: ResourceRef): ResourceRef | undefined;
337
282
  createService(resource: ResourceRef): ResourceLinksService;
@@ -343,22 +288,14 @@ export declare const createWorkbenchResourceLinksModule: (options: WorkbenchReso
343
288
  dispose: () => void;
344
289
  }[];
345
290
  };
346
- //#endregion
347
- //#region src/react/resource-links/related-resource-previews.d.ts
348
291
  export declare const openRelatedResourcesPreference = "workbench.openRelatedResources";
349
- //#endregion
350
- //#region src/react/resource-links/related-resources.d.ts
351
292
  interface RelatedResourcesProps {
352
293
  resource: ResourceRef;
353
294
  service: ResourceLinksService;
354
295
  onClose(): void;
355
296
  }
356
297
  export declare const RelatedResources: (props: RelatedResourcesProps) => import("react/jsx-runtime").JSX.Element;
357
- //#endregion
358
- //#region src/react/settings/settings-resources.d.ts
359
298
  export declare const WORKBENCH_SETTINGS_OPEN_COMMAND_ID = "workbench.settings.open";
360
- //#endregion
361
- //#region src/react/settings/settings-module.d.ts
362
299
  interface WorkbenchSettingsModuleOptions {
363
300
  /** Maps a preference scope (e.g. "project") to its scope id; project entries hide until this resolves. */
364
301
  resolveScopeId?: (scope: PreferenceScope) => string | undefined;
@@ -369,18 +306,12 @@ export declare const WORKBENCH_SETTINGS_WIDGET_ID = "workbench.settings";
369
306
  export declare const WORKBENCH_SETTINGS_NAV_WIDGET_ID = "workbench.settings.nav";
370
307
  export declare const WORKBENCH_SETTINGS_PANEL_WIDGET_ID = "workbench.settings.panel";
371
308
  export declare const createWorkbenchSettingsModule: (options?: WorkbenchSettingsModuleOptions) => WorkbenchModuleContribution;
372
- //#endregion
373
- //#region src/react/shared/icon.d.ts
374
309
  interface WorkbenchIconProps extends Omit<IconProps, "as" | "size"> {
375
310
  name?: string;
376
311
  size?: number | string;
377
312
  }
378
313
  export declare const WorkbenchIcon: (props: WorkbenchIconProps) => import("react/jsx-runtime").JSX.Element | null;
379
- //#endregion
380
- //#region src/react/shared/use-workbench-store.d.ts
381
314
  export declare const useWorkbenchStore: <TState, TSlice>(store: WorkbenchStore<TState>, selector: (state: TState) => TSlice) => TSlice;
382
- //#endregion
383
- //#region src/react/side-panel/side-panel.d.ts
384
315
  interface WorkbenchSidePanelProps {
385
316
  workbench: WorkbenchCore;
386
317
  contentSlotRef: (node: HTMLDivElement | null) => void;
@@ -394,16 +325,12 @@ interface WorkbenchFloatingSidePanelProps extends WorkbenchSidePanelProps {
394
325
  available?: boolean;
395
326
  }
396
327
  export declare const WorkbenchFloatingSidePanel: (props: WorkbenchFloatingSidePanelProps) => import("react/jsx-runtime").JSX.Element;
397
- //#endregion
398
- //#region src/react/statuses/workflow-status-settings.d.ts
399
328
  interface WorkflowStatusSettingsProps {
400
329
  workbench: {
401
330
  statuses: WorkbenchStatusRegistry;
402
331
  };
403
332
  }
404
333
  export declare const WorkflowStatusSettings: (props: WorkflowStatusSettingsProps) => import("react/jsx-runtime").JSX.Element;
405
- //#endregion
406
- //#region src/react/terminal/terminal-module.d.ts
407
334
  export declare const WORKBENCH_TERMINAL_WIDGET_ID = "workbench.terminal";
408
335
  export declare const WORKBENCH_TERMINAL_OPEN_COMMAND_ID = "workbench.terminal.open";
409
336
  /** Suggested secondary-region size for hosts that mount the terminal (createWorkbench regionSettings). */
@@ -426,8 +353,6 @@ export declare const openWorkbenchTerminal: (ctx: WorkbenchCoreContributionConte
426
353
  * disposing the controller kills every live session.
427
354
  */
428
355
  export declare const createWorkbenchTerminalModule: () => WorkbenchModuleContribution;
429
- //#endregion
430
- //#region src/react/terminal/workbench-terminal-panel.d.ts
431
356
  interface ControllerTerminalBridgeOptions {
432
357
  getBindingId?: () => string | undefined;
433
358
  getResource?: () => ResourceRef$1 | undefined;
@@ -446,8 +371,6 @@ interface WorkbenchTerminalPanelProps {
446
371
  * module ends it when its tab is explicitly closed.
447
372
  */
448
373
  export declare const WorkbenchTerminalPanel: (props: WorkbenchTerminalPanelProps) => import("react/jsx-runtime").JSX.Element;
449
- //#endregion
450
- //#region src/react/theme/use-workbench-theme-preferences.d.ts
451
374
  export declare const useWorkbenchThemePreferences: (workbench: WorkbenchCore) => ({
452
375
  id: string;
453
376
  mode: "light";
@@ -455,8 +378,6 @@ export declare const useWorkbenchThemePreferences: (workbench: WorkbenchCore) =>
455
378
  id: string;
456
379
  mode: "dark";
457
380
  } | ThemePreferenceOption$1)[];
458
- //#endregion
459
- //#region src/react/theme/workbench-theme-provider.d.ts
460
381
  interface WorkbenchThemeProviderProps {
461
382
  children: ReactNode;
462
383
  initialThemePreference?: ThemePreference;
@@ -468,14 +389,13 @@ interface WorkbenchThemeProviderProps {
468
389
  fileIconThemePreferences?: readonly FileIconThemePreferenceOption[];
469
390
  }
470
391
  export declare const WorkbenchThemeProvider: (props: WorkbenchThemeProviderProps) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
471
- //#endregion
472
- //#region src/react/theme/workbench-theme-scope.d.ts
473
392
  interface WorkbenchThemeScopeProps extends Omit<BoxProps, "children"> {
474
393
  children: ReactNode;
475
394
  }
476
395
  export declare const WorkbenchThemeScope: (props: WorkbenchThemeScopeProps) => import("react/jsx-runtime").JSX.Element;
477
- //#endregion
478
- //#region src/react/workbench/overlay-layer.d.ts
396
+ declare const FullscreenControls: (props: {
397
+ workbench: WorkbenchCore;
398
+ }) => import("react/jsx-runtime").JSX.Element;
479
399
  interface WorkbenchOverlayWidgetConfig {
480
400
  size?: "xs" | "sm" | "md" | "lg" | "xl" | "cover" | "full";
481
401
  placement?: "center" | "top" | "bottom";
@@ -498,10 +418,8 @@ interface WorkbenchOverlayLayerProps {
498
418
  workbench: WorkbenchCore;
499
419
  }
500
420
  export declare const WorkbenchOverlayLayer: (props: WorkbenchOverlayLayerProps) => import("react/jsx-runtime").JSX.Element | null;
501
- //#endregion
502
- //#region src/react/workbench/workbench.d.ts
503
421
  interface WorkbenchProps {
504
- /** The host renders WorkbenchPanelToggles outside the navigation header. */
422
+ /** The host renders WorkbenchPanelToggles and WorkbenchFullscreenToggle outside the navigation header. */
505
423
  panelControlsPlacement?: "nav" | "host";
506
424
  workbench: WorkbenchCore;
507
425
  /** Host chrome above all workbench regions, inside the current theme. */
@@ -515,8 +433,6 @@ interface WorkbenchProps {
515
433
  themeStorage?: ThemePreferenceStorage;
516
434
  }
517
435
  export declare const Workbench: (props: WorkbenchProps) => import("react/jsx-runtime").JSX.Element;
518
- //#endregion
519
- //#region src/react/workbench/workbench-module-host.d.ts
520
436
  interface WorkbenchModuleHostRegistration {
521
437
  disposable: Disposable;
522
438
  }
@@ -527,13 +443,10 @@ interface WorkbenchModuleHostProps {
527
443
  export declare const disposeWorkbenchModuleHostRegistrations: (registrations: Map<string, WorkbenchModuleHostRegistration>) => void;
528
444
  export declare const syncWorkbenchModuleHostRegistrations: (workbench: WorkbenchCore, registrations: Map<string, WorkbenchModuleHostRegistration>, modules: readonly WorkbenchModuleContribution[]) => void;
529
445
  export declare const WorkbenchModuleHost: (props: WorkbenchModuleHostProps) => null;
530
- //#endregion
531
- //#region src/react/workbench/workbench-panel-toggles.d.ts
532
446
  /** Shared host controls. Desktop hosts mount these beside their project tabs. */
533
447
  export declare const WorkbenchPanelToggles: (props: {
534
448
  workbench: WorkbenchCore;
535
449
  regions?: readonly WorkbenchShellOpenRegion[];
536
450
  }) => import("react/jsx-runtime").JSX.Element | null;
537
- //#endregion
538
- export type { CommandFilesParamValue, CommandOptionState, CommandParamEntry, CommandParamFieldProps, CommandParamFieldRenderer, CommandParamValue, ExecuteOptionCommand, PreferenceParamEntry, ReactAttributeDescriptor, ReactAttributesSource, ReactBoardColumnConfig, ReactKanbanRendererContribution, ReactResourceContextAction, ResourceLinkCandidate, ResourceLinksService, TreeActionParamsRequest, WorkbenchHotkeyRegistration, WorkbenchMenuItem, WorkbenchModuleHostProps, WorkbenchModuleHostRegistration, WorkbenchOverlayWidgetConfig, WorkbenchPanelRenderInput, WorkbenchPreferencesFormProps, WorkbenchResourceLinksOptions, WorkbenchSettingsModuleOptions };
451
+ export { type CommandFilesParamValue, type CommandOptionState, type CommandParamEntry, type CommandParamFieldProps, type CommandParamFieldRenderer, type CommandParamValue, type ExecuteOptionCommand, type PreferenceParamEntry, type ReactAttributeDescriptor, type ReactAttributesSource, type ReactBoardColumnConfig, type ReactKanbanRendererContribution, type ReactResourceContextAction, type ResourceLinkCandidate, type ResourceLinksService, type TreeActionParamsRequest, FullscreenControls as WorkbenchFullscreenToggle, type WorkbenchHotkeyRegistration, type WorkbenchMenuItem, type WorkbenchModuleHostProps, type WorkbenchModuleHostRegistration, type WorkbenchOverlayWidgetConfig, type WorkbenchPanelRenderInput, type WorkbenchPreferencesFormProps, type WorkbenchResourceLinksOptions, type WorkbenchSettingsModuleOptions };
539
452
  export {};
package/dist/react.js CHANGED
@@ -1,2 +1 @@
1
- import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as w, Y as T, Z as E, _ as D, b as O, c as k, ct as A, d as j, dt as M, et as N, f as P, g as F, h as I, i as L, j as R, k as z, l as B, lt as V, m as H, mt as U, n as W, nt as G, p as K, pt as q, q as J, r as Y, s as X, st as Z, t as Q, tt as $, u as ee, ut as te, v as ne, w as re, x as ie, y as ae, z as oe } from "./react-CsoNLmR0.js";
2
- export { e as CommandOptionStatus, w as CommandParamField, z as RelatedResources, y as WORKBENCH_SETTINGS_NAV_WIDGET_ID, a as WORKBENCH_SETTINGS_OPEN_COMMAND_ID, r as WORKBENCH_SETTINGS_PANEL_WIDGET_ID, re as WORKBENCH_SETTINGS_WIDGET_ID, P as WORKBENCH_TERMINAL_OPEN_COMMAND_ID, K as WORKBENCH_TERMINAL_PANEL_SIZE, H as WORKBENCH_TERMINAL_WIDGET_ID, L as Workbench, O as WorkbenchAttachedSidePanel, N as WorkbenchBreadcrumbView, u as WorkbenchCommandPalette, f as WorkbenchConnectionProvider, o as WorkbenchDataTableView, ie as WorkbenchFloatingSidePanel, J as WorkbenchFocusRegion, s as WorkbenchHeaderActions, q as WorkbenchIcon, c as WorkbenchKeybindingDispatcher, Q as WorkbenchModuleHost, S as WorkbenchNotificationHost, k as WorkbenchOverlayLayer, X as WorkbenchPanelToggles, p as WorkbenchPreferencesForm, oe as WorkbenchRegion, v as WorkbenchRegionTabs, D as WorkbenchTerminalPanel, ee as WorkbenchThemeProvider, B as WorkbenchThemeScope, R as WorkbenchTreeView, n as WorkbenchWidgetHost, ae as WorkflowStatusSettings, Z as buildCommandParamInitialValues, E as commandParamName, A as createCommandFilesParamValue, ne as createControllerTerminalBridge, l as createTreeContextMenuItems, x as createWorkbenchHotkeyRegistrations, $ as createWorkbenchResourceActions, i as createWorkbenchResourceLinksModule, b as createWorkbenchSettingsModule, I as createWorkbenchTerminalModule, W as disposeWorkbenchModuleHostRegistrations, V as isCommandFilesParamValue, te as listCommandParamEntries, d as listWorkbenchMenuItems, M as normalizeCommandParamValues, C as normalizeWorkbenchKeybinding, t as openRelatedResourcesPreference, F as openWorkbenchTerminal, m as paramValueToPreference, g as preferenceSchemaToParams, _ as readCommandParamValue, h as resourceLinksCommandId, Y as syncWorkbenchModuleHostRegistrations, T as useCommandOptions, G as useWorkbenchResourceActionResolver, U as useWorkbenchStore, j as useWorkbenchThemePreferences };
1
+ export { et as CommandOptionStatus, Z as CommandParamField, A as RelatedResources, C as WORKBENCH_SETTINGS_NAV_WIDGET_ID, D as WORKBENCH_SETTINGS_OPEN_COMMAND_ID, w as WORKBENCH_SETTINGS_PANEL_WIDGET_ID, T as WORKBENCH_SETTINGS_WIDGET_ID, p as WORKBENCH_TERMINAL_OPEN_COMMAND_ID, m as WORKBENCH_TERMINAL_PANEL_SIZE, h as WORKBENCH_TERMINAL_WIDGET_ID, i as Workbench, x as WorkbenchAttachedSidePanel, tt as WorkbenchBreadcrumbView, Y as WorkbenchCommandPalette, R as WorkbenchConnectionProvider, I as WorkbenchDataTableView, S as WorkbenchFloatingSidePanel, J as WorkbenchFocusRegion, l as WorkbenchFullscreenToggle, K as WorkbenchHeaderActions, mt as WorkbenchIcon, U as WorkbenchKeybindingDispatcher, t as WorkbenchModuleHost, H as WorkbenchNotificationHost, c as WorkbenchOverlayLayer, s as WorkbenchPanelToggles, N as WorkbenchPreferencesForm, B as WorkbenchRegion, z as WorkbenchRegionTabs, v as WorkbenchTerminalPanel, d as WorkbenchThemeProvider, u as WorkbenchThemeScope, M as WorkbenchTreeView, V as WorkbenchWidgetHost, b as WorkflowStatusSettings, ct as buildCommandParamInitialValues, Q as commandParamName, lt as createCommandFilesParamValue, y as createControllerTerminalBridge, L as createTreeContextMenuItems, W as createWorkbenchHotkeyRegistrations, nt as createWorkbenchResourceActions, O as createWorkbenchResourceLinksModule, E as createWorkbenchSettingsModule, g as createWorkbenchTerminalModule, n as disposeWorkbenchModuleHostRegistrations, ut as isCommandFilesParamValue, dt as listCommandParamEntries, q as listWorkbenchMenuItems, ft as normalizeCommandParamValues, G as normalizeWorkbenchKeybinding, j as openRelatedResourcesPreference, _ as openWorkbenchTerminal, P as paramValueToPreference, F as preferenceSchemaToParams, $ as readCommandParamValue, k as resourceLinksCommandId, r as syncWorkbenchModuleHostRegistrations, X as useCommandOptions, rt as useWorkbenchResourceActionResolver, ht as useWorkbenchStore, f as useWorkbenchThemePreferences } from "./react-7X-EBlBD.js";
package/dist/storage.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import { Vr as TreeRendererPersistenceAdapter, Zr as LayoutPersistenceAdapter, bt as PreferencePersistenceAdapter, gn as WorkbenchPageLocationPersistence, rt as WorkbenchStatusBarPersistenceAdapter, un as WorkbenchPanelMenuStatePersistenceAdapter, z as WorkbenchPersistenceAdapter } from "./index-D5tFB3t0.js";
2
- //#region src/storage/local-storage-persistence-helpers.d.ts
1
+ import { Vr as TreeRendererPersistenceAdapter, Zr as LayoutPersistenceAdapter, bt as PreferencePersistenceAdapter, gn as WorkbenchPageLocationPersistence, rt as WorkbenchStatusBarPersistenceAdapter, un as WorkbenchPanelMenuStatePersistenceAdapter, z as WorkbenchPersistenceAdapter } from "./index-DL-0XKr0.js";
3
2
  interface WorkbenchStorageLike {
4
3
  readonly length?: number;
5
4
  getItem(key: string): string | null;
@@ -18,11 +17,7 @@ interface CreateWorkbenchStoragePersistenceInput {
18
17
  storage?: WorkbenchStorageLike;
19
18
  }
20
19
  export declare const workbenchStoragePersistenceKey: (namespace: string, kind: WorkbenchStoragePersistenceKind, scope: string | undefined) => string;
21
- //#endregion
22
- //#region src/storage/local-storage-layout-persistence.d.ts
23
20
  export declare const createLocalStorageLayoutPersistence: (input: CreateWorkbenchStoragePersistenceInput) => LayoutPersistenceAdapter;
24
- //#endregion
25
- //#region src/storage/local-storage-persistence.d.ts
26
21
  interface CreateLocalStoragePanelMenuStatePersistenceInput extends CreateWorkbenchStoragePersistenceInput {
27
22
  scope: string;
28
23
  }
@@ -44,6 +39,5 @@ export declare const createLocalStorageWorkbenchPersistence: (input: CreateLocal
44
39
  pageLocationPersistence: WorkbenchPageLocationPersistence;
45
40
  treePersistence: TreeRendererPersistenceAdapter;
46
41
  };
47
- //#endregion
48
42
  export type { CreateLocalStoragePanelMenuStatePersistenceInput, CreateLocalStorageTreePersistenceInput, CreateLocalStorageWorkbenchPersistenceInput, WorkbenchStorageLike, WorkbenchStoragePersistenceKind };
49
43
  export {};