@konitif/workbench 0.285.1 → 0.285.3

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.
@@ -1,7 +1,7 @@
1
1
  import { createPanel, createStack, createWorkspaceShell, createWorkspaceWindow } from "../../domain/workspace/factories.js";
2
2
  import { openTool } from "./openTool.js";
3
3
  export function createWorkspace(toolCatalog, options = {}) {
4
- const initialPanel = createPanel('Welcome');
4
+ const initialPanel = createPanel();
5
5
  const initialStack = createStack([initialPanel]);
6
6
  const initialWindow = createWorkspaceWindow(initialStack);
7
7
  const workspace = createWorkspaceShell(initialWindow);
@@ -1,10 +1,9 @@
1
1
  import { createWorkspaceSessionState } from "./session.js";
2
2
  import { createWorkspace } from "./createWorkspace.js";
3
- const DEFAULT_WORKSPACE_INITIAL_TOOL_ID = 'example.welcome';
4
3
  export function createWorkspaceFromPreset(toolCatalog, presetId = 'default') {
5
4
  switch (presetId) {
6
5
  case 'default':
7
- return createWorkspace(toolCatalog, { initialToolId: DEFAULT_WORKSPACE_INITIAL_TOOL_ID });
6
+ return createWorkspace(toolCatalog);
8
7
  }
9
8
  }
10
9
  export function createWorkspaceSessionFromPreset(toolCatalog, presetId = 'default') {
@@ -15,7 +15,7 @@ export function unassignTool(workspace, toolId) {
15
15
  ...window,
16
16
  root: updatePanelById(window.root, panel.id, current => ({
17
17
  ...current,
18
- title: 'Welcome',
18
+ title: 'Untitled panel',
19
19
  toolInstanceId: null
20
20
  }))
21
21
  }));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@konitif/workbench",
3
3
  "license": "PolyForm-Noncommercial-1.0.0",
4
- "version": "0.285.1",
4
+ "version": "0.285.3",
5
5
  "description": "Workspace composition, docking, registries and hosting contracts for KONITIF.",
6
6
  "repository": {
7
7
  "type": "git",
@@ -104,6 +104,10 @@
104
104
  "domain/tool/",
105
105
  "domain/widget/",
106
106
  "domain/surface/"
107
+ ],
108
+ "symbolNames": [
109
+ "createWorkbenchWidgetAdapter",
110
+ "WorkbenchWidgetHosting"
107
111
  ]
108
112
  },
109
113
  {