@perspective-dev/workspace 4.0.1 → 4.1.1
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/cdn/perspective-workspace.js +7 -7
- package/dist/cdn/perspective-workspace.js.map +4 -4
- package/dist/css/pro-dark.css +1 -1
- package/dist/css/pro.css +1 -1
- package/dist/esm/extensions.d.ts +23 -0
- package/dist/esm/perspective-workspace.d.ts +10 -63
- package/dist/esm/perspective-workspace.js +3 -3
- package/dist/esm/perspective-workspace.js.map +4 -4
- package/dist/esm/workspace/dockpanel.d.ts +3 -2
- package/dist/esm/workspace/tabbarrenderer.d.ts +0 -2
- package/dist/esm/workspace/widget.d.ts +11 -6
- package/dist/esm/workspace/workspace.d.ts +43 -36
- package/package.json +2 -2
- package/src/less/dockpanel.less +11 -1
- package/src/less/tabbar.less +40 -17
- package/src/less/viewer.less +26 -1
- package/src/less/widget.less +3 -1
- package/src/less/workspace.less +1 -1
- package/src/svg/bookmark-icon.svg +2 -2
- package/src/themes/pro-dark.less +3 -2
- package/src/themes/pro.less +11 -2
- package/src/ts/extensions.ts +51 -0
- package/src/ts/external.js +3 -0
- package/src/ts/perspective-workspace.ts +62 -102
- package/src/ts/workspace/commands.ts +23 -21
- package/src/ts/workspace/dockpanel.ts +23 -12
- package/src/ts/workspace/tabbar.ts +7 -1
- package/src/ts/workspace/tabbarrenderer.ts +8 -25
- package/src/ts/workspace/widget.ts +38 -29
- package/src/ts/workspace/workspace.ts +477 -238
package/dist/css/pro-dark.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
perspective-workspace,perspective-workspace[theme="Pro Dark"],perspective-indicator[theme="Pro Dark"]{--theme-name:"Pro Dark";}perspective-workspace perspective-viewer{--status-bar--height:39px;}perspective-workspace perspective-viewer
|
|
1
|
+
perspective-workspace,perspective-workspace[theme="Pro Dark"],perspective-indicator[theme="Pro Dark"]{--theme-name:"Pro Dark";}perspective-workspace perspective-viewer{--status-bar--height:39px;--plugin-selector--height:47px;}perspective-workspace perspective-viewer.widget-maximize{--modal-panel--margin:-4px 0 -4px 0;--status-bar--border-radius:6px 0 0 0;--main-column--margin:3px 0 3px 3px;--main-column--border:1px solid var(--inactive--color);--main-column--border-width:1px 0px 1px 1px;--main-column--border-radius:6px 0 0 6px;--settings-button--margin:10px 0 0 0;}perspective-workspace{font-family:"ui-monospace","SFMono-Regular","SF Mono","Menlo","Consolas","Liberation Mono",monospace;--open-settings-button--content:"expand_more";--close-settings-button--content:"expand_less";--close-button--content:"\2715";--master-divider--background-color:#243136;--menu-maximize--content:"fullscreen";--menu-minimize--content:"fullscreen_exit";--menu-duplicate--content:"call_split";--menu-master--content:"cast";--menu-detail--content:"notes";--menu-export--content:"file_download";--menu-copy--content:"file_copy";--menu-reset--content:"autorenew";--menu-link--content:"link";--menu-unlink--content:"link_off";--menu-newmenu--content:"add";--menu-close--content:"close";--menu-new--content:"description";--menu-newview--content:"file_copy";--workspace-tabbar--border:1px solid var(--inactive--color);--workspace-tabbar--border-width:0px 1px 1px 1px;--workspace-tabbar--border-radius:6px;--workspace-tabbar--border-color:var(--inactive--color);--workspace-tabbar-tab--border-width:1px 1px 0px 1px;--column-drag-handle--mask-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDUgMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxjaXJjbGUgY3g9IjMuNDk5OTYiIGN5PSIxMS4wMDAxIiByPSIwLjgzMzMzMyIgZmlsbD0iIzZFNkU2RSIvPgo8Y2lyY2xlIGN4PSIwLjgzMzMzMyIgY3k9IjExLjAwMDEiIHI9IjAuODMzMzMzIiBmaWxsPSIjNkU2RTZFIi8+CjxjaXJjbGUgY3g9IjMuNDk5OTYiIGN5PSI3LjY2NjgzIiByPSIwLjgzMzMzMyIgZmlsbD0iIzZFNkU2RSIvPgo8Y2lyY2xlIGN4PSIwLjgzMzMzMyIgY3k9IjcuNjY2ODMiIHI9IjAuODMzMzMzIiBmaWxsPSIjNkU2RTZFIi8+CjxjaXJjbGUgY3g9IjMuNDk5OTYiIGN5PSI0LjMzMzMzIiByPSIwLjgzMzMzMyIgZmlsbD0iIzZFNkU2RSIvPgo8Y2lyY2xlIGN4PSIwLjgzMzMzMyIgY3k9IjQuMzMzMzMiIHI9IjAuODMzMzMzIiBmaWxsPSIjNkU2RTZFIi8+CjxjaXJjbGUgY3g9IjMuNDk5OTYiIGN5PSIxLjAwMDA4IiByPSIwLjgzMzMzMyIgZmlsbD0iIzZFNkU2RSIvPgo8Y2lyY2xlIGN4PSIwLjgzMzMzMyIgY3k9IjEuMDAwMDgiIHI9IjAuODMzMzMzIiBmaWxsPSIjNkU2RTZFIi8+Cjwvc3ZnPgo=");--bookmarks--mask-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAyMCAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0zLjY2MjE0IDYuOTY0NzZMMC41IDkuODYzMzhWMC41SDcuNVY5Ljg2MzM4TDQuMzM3ODYgNi45NjQ3Nkw0IDYuNjU1MDVMMy42NjIxNCA2Ljk2NDc2WiIgc3Ryb2tlPSIjMDQyMTIxIi8+CiAgICA8cGF0aCBkPSJNMTUgNEwxNyA2TDE5IDQiIHN0cm9rZT0iIzA0MjEyMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+Cjwvc3ZnPgo=");background-color:#242526;--workspace-split-panel-handle--background-color:#242526;color:white;--icon--color:white;--active--color:#2770a9;--error--color:#ff9485;--inactive--color:#61656e;--inactive--border-color:#4c505b;--plugin--background:#242526;--modal-target--background:rgba(255,255,255,0.05);--active--background:rgba(39,113,170,0.5);--expression--operator-color:#c5c9d0;--expression--function-color:#22a0ce;--expression--error-color:rgb(255,136,136);--calendar--filter:invert(1);--warning--color:#242526;--warning--background:var(--icon--color);--select-arrow--background-image:var(--select-arrow-light--background-image);--select-arrow--hover--background-image:var(--select-arrow-dark--background-image);--code-editor-symbol--color:white;--code-editor-literal--color:#7dc3f0;--code-editor-operator--color:rgb(23,166,123);--code-editor-comment--color:rgb(204,120,48);--code-editor-column--color:#e18ee1;background-color:#000202;color:white;--workspace-tabbar--background-color:#242526;--workspace-secondary--color:#c5c9d0;--workspace-tabbar--border:1px solid var(--inactive--color);--workspace-tabbar--border-width:1px 1px 1px 1px;--workspace-tabbar--border-radius:6px;--workspace-tabbar--border-color:var(--inactive--color);--workspace-tabbar-tab--border-width:1px 1px 0 1px;}perspective-viewer.workspace-master-widget[theme="Pro Dark"]{--plugin--background:#242526;}perspective-workspace-menu{font-family:"ui-monospace","SFMono-Regular","SF Mono","Menlo","Consolas","Liberation Mono",monospace;font-weight:300;background:#2a2c2f!important;color:white!important;border:1px solid#3b3f46!important;}
|
package/dist/css/pro.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
perspective-workspace,perspective-workspace[theme="Pro Light"],perspective-indicator[theme="Pro Light"]{--theme-name:"Pro Light";}perspective-workspace{font-family:"ui-monospace","SFMono-Regular","SF Mono","Menlo","Consolas","Liberation Mono",monospace;--open-settings-button--content:"expand_more";--close-settings-button--content:"expand_less";--close-button--content:"\2715";--master-divider--background-color:#243136;--menu-maximize--content:"fullscreen";--menu-minimize--content:"fullscreen_exit";--menu-duplicate--content:"call_split";--menu-master--content:"cast";--menu-detail--content:"notes";--menu-export--content:"file_download";--menu-copy--content:"file_copy";--menu-reset--content:"autorenew";--menu-link--content:"link";--menu-unlink--content:"link_off";--menu-newmenu--content:"add";--menu-close--content:"close";--menu-new--content:"description";--menu-newview--content:"file_copy";--workspace-split-panel-handle--background-color:#f2f4f6;--workspace-tabbar--border:1px solid var(--inactive--color);--workspace-tabbar--border-width:
|
|
1
|
+
.lm-cursor-backdrop{display:none;}perspective-workspace,perspective-workspace[theme="Pro Light"],perspective-indicator[theme="Pro Light"]{--theme-name:"Pro Light";}perspective-workspace{font-family:"ui-monospace","SFMono-Regular","SF Mono","Menlo","Consolas","Liberation Mono",monospace;--open-settings-button--content:"expand_more";--close-settings-button--content:"expand_less";--close-button--content:"\2715";--master-divider--background-color:#243136;--menu-maximize--content:"fullscreen";--menu-minimize--content:"fullscreen_exit";--menu-duplicate--content:"call_split";--menu-master--content:"cast";--menu-detail--content:"notes";--menu-export--content:"file_download";--menu-copy--content:"file_copy";--menu-reset--content:"autorenew";--menu-link--content:"link";--menu-unlink--content:"link_off";--menu-newmenu--content:"add";--menu-close--content:"close";--menu-new--content:"description";--menu-newview--content:"file_copy";--workspace-split-panel-handle--background-color:#f2f4f6;--workspace-tabbar--border:1px solid var(--inactive--color);--workspace-tabbar--border-width:1px 1px 1px 1px;--workspace-tabbar--border-radius:6px;--workspace-tabbar--border-color:var(--inactive--color);--workspace-tabbar-tab--border-width:1px 1px 0px 1px;--column-drag-handle--mask-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDUgMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxjaXJjbGUgY3g9IjMuNDk5OTYiIGN5PSIxMS4wMDAxIiByPSIwLjgzMzMzMyIgZmlsbD0iIzZFNkU2RSIvPgo8Y2lyY2xlIGN4PSIwLjgzMzMzMyIgY3k9IjExLjAwMDEiIHI9IjAuODMzMzMzIiBmaWxsPSIjNkU2RTZFIi8+CjxjaXJjbGUgY3g9IjMuNDk5OTYiIGN5PSI3LjY2NjgzIiByPSIwLjgzMzMzMyIgZmlsbD0iIzZFNkU2RSIvPgo8Y2lyY2xlIGN4PSIwLjgzMzMzMyIgY3k9IjcuNjY2ODMiIHI9IjAuODMzMzMzIiBmaWxsPSIjNkU2RTZFIi8+CjxjaXJjbGUgY3g9IjMuNDk5OTYiIGN5PSI0LjMzMzMzIiByPSIwLjgzMzMzMyIgZmlsbD0iIzZFNkU2RSIvPgo8Y2lyY2xlIGN4PSIwLjgzMzMzMyIgY3k9IjQuMzMzMzMiIHI9IjAuODMzMzMzIiBmaWxsPSIjNkU2RTZFIi8+CjxjaXJjbGUgY3g9IjMuNDk5OTYiIGN5PSIxLjAwMDA4IiByPSIwLjgzMzMzMyIgZmlsbD0iIzZFNkU2RSIvPgo8Y2lyY2xlIGN4PSIwLjgzMzMzMyIgY3k9IjEuMDAwMDgiIHI9IjAuODMzMzMzIiBmaWxsPSIjNkU2RTZFIi8+Cjwvc3ZnPgo=");--bookmarks--mask-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAyMCAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0zLjY2MjE0IDYuOTY0NzZMMC41IDkuODYzMzhWMC41SDcuNVY5Ljg2MzM4TDQuMzM3ODYgNi45NjQ3Nkw0IDYuNjU1MDVMMy42NjIxNCA2Ljk2NDc2WiIgc3Ryb2tlPSIjMDQyMTIxIi8+CiAgICA8cGF0aCBkPSJNMTUgNEwxNyA2TDE5IDQiIHN0cm9rZT0iIzA0MjEyMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+Cjwvc3ZnPgo=");color:#161616;background-color:transparent;--icon--color:#161616;--inactive--color:#ababab;--inactive--border-color:#dadada;--root--background:#ffffff;--active--color:#2670a9;--error--color:#ff471e;--plugin--background:#ffffff;--overflow-hint-icon--color:rgba(0,0,0,0.2);--select--background-color:none;--column-drop-container--background:none;--warning--background:#042121;--warning--color:#fdfffd;--select-arrow--background-image:var(--select-arrow-dark--background-image);--select-arrow--hover--background-image:var(--select-arrow-light--background-image);--overflow-hint-icon--color:#fdfffd;background-color:#dadada;}perspective-workspace perspective-viewer.widget-maximize{--modal-panel--margin:-4px 0 -4px 0;--status-bar--border-radius:6px 0 0 0;--main-column--margin:3px 0 3px 3px;--main-column--border:1px solid var(--inactive--color);--main-column--border-width:1px 0px 1px 1px;--main-column--border-radius:6px 0 0 6px;--settings-button--margin:10px 0 0 0;}perspective-workspace perspective-viewer{--status-bar--height:39px;--plugin-selector--height:47px;}perspective-viewer.workspace-master-widget[theme="Pro Light"]{background-color:#f2f4f6;--plugin--background:#f2f4f6;}perspective-viewer.workspace-master-widget[theme="Pro Light"] regular-table td,perspective-viewer.workspace-master-widget[theme="Pro Light"] regular-table th{border-color:#e0e4e9;}perspective-viewer{--bookmarks--mask-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAyMCAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0zLjY2MjE0IDYuOTY0NzZMMC41IDkuODYzMzhWMC41SDcuNVY5Ljg2MzM4TDQuMzM3ODYgNi45NjQ3Nkw0IDYuNjU1MDVMMy42NjIxNCA2Ljk2NDc2WiIgc3Ryb2tlPSIjMDQyMTIxIi8+CiAgICA8cGF0aCBkPSJNMTUgNEwxNyA2TDE5IDQiIHN0cm9rZT0iIzA0MjEyMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+Cjwvc3ZnPgo=");}perspective-workspace-menu{font-family:"ui-monospace","SFMono-Regular","SF Mono","Menlo","Consolas","Liberation Mono",monospace;font-weight:300;color:#161616;}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HTMLPerspectiveWorkspaceElement } from "./perspective-workspace";
|
|
2
|
+
type ReactPerspectiveWorkspaceAttributes<T> = React.HTMLAttributes<T>;
|
|
3
|
+
type JsxPerspectiveWorkspaceElement = {
|
|
4
|
+
class?: string;
|
|
5
|
+
} & React.DetailedHTMLProps<ReactPerspectiveWorkspaceAttributes<HTMLPerspectiveWorkspaceElement>, HTMLPerspectiveWorkspaceElement>;
|
|
6
|
+
declare global {
|
|
7
|
+
namespace JSX {
|
|
8
|
+
interface IntrinsicElements {
|
|
9
|
+
"perspective-workspace": JsxPerspectiveWorkspaceElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
declare global {
|
|
14
|
+
interface Document {
|
|
15
|
+
createElement(tagName: "perspective-workspace", options?: ElementCreationOptions): HTMLPerspectiveWorkspaceElement;
|
|
16
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
17
|
+
querySelector(selectors: "perspective-workspace"): HTMLPerspectiveWorkspaceElement | null;
|
|
18
|
+
}
|
|
19
|
+
interface CustomElementRegistry {
|
|
20
|
+
get(tagName: "perspective-workspace"): HTMLPerspectiveWorkspaceElement & typeof HTMLElement;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type * as psp from "@perspective-dev/client";
|
|
2
|
-
|
|
2
|
+
import type * as psp_viewer from "@perspective-dev/viewer";
|
|
3
|
+
export { PerspectiveWorkspace, addViewer, genId } from "./workspace";
|
|
3
4
|
export { PerspectiveViewerWidget } from "./workspace/widget";
|
|
4
|
-
|
|
5
|
-
import { PerspectiveWorkspaceConfig
|
|
5
|
+
export * from "./extensions";
|
|
6
|
+
import { PerspectiveWorkspaceConfig } from "./workspace";
|
|
7
|
+
export { PerspectiveWorkspaceConfig };
|
|
6
8
|
/**
|
|
7
9
|
* A Custom Element for coordinating a set of `<perspective-viewer>` light DOM
|
|
8
10
|
* children. `<perspective-workspace>` is built on Lumino.js to allow a more
|
|
@@ -21,24 +23,13 @@ import { PerspectiveWorkspaceConfig, ViewerConfigUpdateExt } from "./workspace";
|
|
|
21
23
|
* express your initial view simply:
|
|
22
24
|
*
|
|
23
25
|
* ```html
|
|
24
|
-
* <perspective-workspace>
|
|
25
|
-
* <perspective-viewer
|
|
26
|
-
* name="View One"
|
|
27
|
-
* table="superstore">
|
|
28
|
-
* </perspective-viewer>
|
|
29
|
-
* <perspective-viewer
|
|
30
|
-
* name="View Two"
|
|
31
|
-
* table="superstore">
|
|
32
|
-
* </perspective-viewer>
|
|
33
|
-
* </perspective-workspace>
|
|
26
|
+
* <perspective-workspace></perspective-workspace>
|
|
34
27
|
* ```
|
|
35
28
|
*
|
|
36
29
|
* You can also use the DOM API in Javascript:
|
|
37
30
|
*
|
|
38
31
|
* ```javascript
|
|
39
32
|
* const workspace = document.createElement("perspective-workspace");
|
|
40
|
-
* const viewer = document.createElement("perspective-viewer");
|
|
41
|
-
* workspace.appendChild(viewer);
|
|
42
33
|
* document.body.appendChild(workspace);
|
|
43
34
|
* ```
|
|
44
35
|
*
|
|
@@ -82,15 +73,7 @@ export declare class HTMLPerspectiveWorkspaceElement extends HTMLElement {
|
|
|
82
73
|
* const workspace = document.querySelector("perspective-workspace");
|
|
83
74
|
* localStorage.set("CONFIG", JSON.stringify(workspace.save()));
|
|
84
75
|
*/
|
|
85
|
-
save(): Promise<
|
|
86
|
-
viewers: Record<string, import("@perspective-dev/viewer").ViewerConfigUpdate>;
|
|
87
|
-
sizes: number[];
|
|
88
|
-
detail: import("@lumino/widgets").DockLayout.ILayoutConfig | undefined;
|
|
89
|
-
master: {
|
|
90
|
-
widgets: string[];
|
|
91
|
-
sizes: number[];
|
|
92
|
-
} | undefined;
|
|
93
|
-
}>;
|
|
76
|
+
save(): Promise<PerspectiveWorkspaceConfig>;
|
|
94
77
|
/**
|
|
95
78
|
* Restore this `<perspective-workspace>` to a previous state captured by
|
|
96
79
|
* `save()`. Calling this method will completely rewrite this element's
|
|
@@ -111,7 +94,7 @@ export declare class HTMLPerspectiveWorkspaceElement extends HTMLElement {
|
|
|
111
94
|
* // Add `Table` separately.
|
|
112
95
|
* workspace.tables.set("superstore", await worker.table(data));
|
|
113
96
|
*/
|
|
114
|
-
restore(layout: PerspectiveWorkspaceConfig
|
|
97
|
+
restore(layout: PerspectiveWorkspaceConfig): Promise<void>;
|
|
115
98
|
clear(): Promise<void>;
|
|
116
99
|
/**
|
|
117
100
|
* Await all asynchronous tasks for all viewers in this workspace. This is
|
|
@@ -123,44 +106,8 @@ export declare class HTMLPerspectiveWorkspaceElement extends HTMLElement {
|
|
|
123
106
|
* Add a new viewer to the workspace for a given `ViewerConfigUpdateExt`.
|
|
124
107
|
* @param config
|
|
125
108
|
*/
|
|
126
|
-
addViewer(config:
|
|
127
|
-
|
|
128
|
-
* Add a new `Table` to the workspace, so that it can be bound by viewers.
|
|
129
|
-
* Each `Table` is identified by a unique `name`.
|
|
130
|
-
*/
|
|
131
|
-
addTable(name: string, table: Promise<psp.Table>): Promise<void>;
|
|
132
|
-
/**
|
|
133
|
-
* Deleta a table by name from this workspace
|
|
134
|
-
* @param name
|
|
135
|
-
* @returns
|
|
136
|
-
*/
|
|
137
|
-
getTable(name: string): psp.Table | Promise<psp.Table>;
|
|
138
|
-
/**
|
|
139
|
-
* Replace a `Table` by name. As `Table` doe snot guarantee the same
|
|
140
|
-
* structure, this will wipe the viewer's state.
|
|
141
|
-
* @param name
|
|
142
|
-
* @param table
|
|
143
|
-
*/
|
|
144
|
-
replaceTable(name: string, table: Promise<psp.Table>): Promise<void>;
|
|
145
|
-
/**
|
|
146
|
-
* Remove a `Table` by name.
|
|
147
|
-
* @param name
|
|
148
|
-
* @returns
|
|
149
|
-
*/
|
|
150
|
-
removeTable(name: string): boolean;
|
|
151
|
-
/**
|
|
152
|
-
* A `Map()` of `perspective.Table()` by name. The names set here will auto
|
|
153
|
-
* wire any child `perspective-viewer` elements in this Workspace's subtree,
|
|
154
|
-
* by looking up their respective `table` attribute.
|
|
155
|
-
*
|
|
156
|
-
* Calling methods on this `Map()` may have side-effects, as
|
|
157
|
-
* `PerspectiveViewerHTMLElement.load()` is called when a new `Table()` is
|
|
158
|
-
* set with a name matching an existing child `perspective-viewer`.
|
|
159
|
-
*
|
|
160
|
-
* @readonly
|
|
161
|
-
* @memberof HTMLPerspectiveWorkspaceElement
|
|
162
|
-
*/
|
|
163
|
-
get tables(): import("./utils/observable_map").ObservableMap<string, psp.Table | Promise<psp.Table>>;
|
|
109
|
+
addViewer(config: psp_viewer.ViewerConfigUpdate): Promise<void>;
|
|
110
|
+
load(client: psp.Client | Promise<psp.Client>): Promise<void>;
|
|
164
111
|
/**
|
|
165
112
|
* Invalidate this component's dimensions and recalculate.
|
|
166
113
|
*/
|