@perspective-dev/workspace 4.1.0 → 4.2.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/cdn/perspective-workspace.js +1 -1
- package/dist/cdn/perspective-workspace.js.map +3 -3
- package/dist/esm/perspective-workspace.js +1 -1
- package/dist/esm/perspective-workspace.js.map +3 -3
- package/package.json +2 -2
- package/src/ts/workspace/commands.ts +1 -1
- package/src/ts/workspace/workspace.ts +5 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@perspective-dev/workspace",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Perspective Workspace",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/**/*",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@perspective-dev/viewer": "",
|
|
44
|
-
"@prospective.co/procss": "0.1.
|
|
44
|
+
"@prospective.co/procss": "0.1.18",
|
|
45
45
|
"@perspective-dev/esbuild-plugin": "",
|
|
46
46
|
"@perspective-dev/test": "",
|
|
47
47
|
"@types/lodash": "^4.17.20",
|
|
@@ -115,7 +115,7 @@ export const createCommands = (
|
|
|
115
115
|
execute: async (args) => {
|
|
116
116
|
const widget = await workspace._createWidgetAndNode({
|
|
117
117
|
config: {
|
|
118
|
-
table:
|
|
118
|
+
table: args.table as string,
|
|
119
119
|
},
|
|
120
120
|
slot: undefined,
|
|
121
121
|
});
|
|
@@ -815,13 +815,11 @@ export class PerspectiveWorkspace extends SplitPanel {
|
|
|
815
815
|
);
|
|
816
816
|
|
|
817
817
|
(async () => {
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
)
|
|
824
|
-
).map((x) => x.flatMap((x: any) => x))) {
|
|
818
|
+
const names = await Promise.all(
|
|
819
|
+
this.client.map((c) => c.get_hosted_table_names()),
|
|
820
|
+
).then((x) => x.flat());
|
|
821
|
+
|
|
822
|
+
for (const table of names) {
|
|
825
823
|
let args;
|
|
826
824
|
if (widget !== null) {
|
|
827
825
|
args = {
|