@genesislcap/foundation-workspace 14.406.0-workspaces.7 → 14.411.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/dts/workspace/grid-register/grid-register.d.ts +5 -3
- package/dist/dts/workspace/grid-register/grid-register.d.ts.map +1 -1
- package/dist/dts/workspace/grid-register/grid-register.template.d.ts +1 -1
- package/dist/dts/workspace/grid-register/grid-register.template.d.ts.map +1 -1
- package/dist/dts/workspace/grid-registry.d.ts +11 -11
- package/dist/dts/workspace/grid-registry.d.ts.map +1 -1
- package/dist/dts/workspace/layout-registry.d.ts +2 -1
- package/dist/dts/workspace/layout-registry.d.ts.map +1 -1
- package/dist/dts/workspace/layout-wrapper/layout-wrapper.d.ts +4 -2
- package/dist/dts/workspace/layout-wrapper/layout-wrapper.d.ts.map +1 -1
- package/dist/dts/workspace/layout-wrapper/layout-wrapper.template.d.ts +1 -1
- package/dist/dts/workspace/layout-wrapper/layout-wrapper.template.d.ts.map +1 -1
- package/dist/dts/workspace/workspace.types.d.ts +2 -1
- package/dist/dts/workspace/workspace.types.d.ts.map +1 -1
- package/dist/dts/workspace-components.d.ts +1 -1
- package/dist/dts/workspace-components.d.ts.map +1 -1
- package/dist/dts/workspace-manager/workspace-manager.d.ts +2 -1
- package/dist/dts/workspace-manager/workspace-manager.d.ts.map +1 -1
- package/dist/dts/workspace-manager/workspace-manager.styles.d.ts.map +1 -1
- package/dist/dts/workspace-manager/workspace-manager.template.d.ts +5 -1
- package/dist/dts/workspace-manager/workspace-manager.template.d.ts.map +1 -1
- package/dist/esm/workspace/filter-registry.js +1 -1
- package/dist/esm/workspace/grid-register/grid-register.js +20 -16
- package/dist/esm/workspace/grid-register/grid-register.template.js +1 -1
- package/dist/esm/workspace/grid-registry.js +21 -10
- package/dist/esm/workspace/layout-registry.js +5 -2
- package/dist/esm/workspace/layout-wrapper/layout-wrapper.js +13 -6
- package/dist/esm/workspace/layout-wrapper/layout-wrapper.template.js +1 -1
- package/dist/esm/workspace/workspace-state.js +1 -1
- package/dist/esm/workspace-manager/workspace-manager.js +38 -5
- package/dist/esm/workspace-manager/workspace-manager.styles.js +2 -25
- package/dist/esm/workspace-manager/workspace-manager.template.js +26 -14
- package/dist/foundation-workspace.api.json +74 -8
- package/dist/foundation-workspace.d.ts +14 -10
- package/package.json +16 -17
- package/src/workspace/filter-registry.ts +1 -1
- package/src/workspace/grid-register/grid-register.template.ts +1 -2
- package/src/workspace/grid-register/grid-register.ts +20 -18
- package/src/workspace/grid-registry.ts +35 -21
- package/src/workspace/layout-registry.ts +11 -6
- package/src/workspace/layout-wrapper/layout-wrapper.template.ts +1 -2
- package/src/workspace/layout-wrapper/layout-wrapper.ts +15 -10
- package/src/workspace/workspace-state.ts +1 -1
- package/src/workspace/workspace.types.ts +3 -1
- package/src/workspace-components.ts +1 -1
- package/src/workspace-manager/workspace-manager.styles.ts +2 -25
- package/src/workspace-manager/workspace-manager.template.ts +32 -14
- package/src/workspace-manager/workspace-manager.ts +38 -5
- package/docs/.gitkeep +0 -1
- package/docs/api/foundation-workspace.defaultfilterregistry.md +0 -17
- package/docs/api/foundation-workspace.defaultgridregistry.md +0 -17
- package/docs/api/foundation-workspace.defaultlayoutregistry.md +0 -18
- package/docs/api/foundation-workspace.defaultworkspacestate._constructor_.md +0 -65
- package/docs/api/foundation-workspace.defaultworkspacestate.auth.md +0 -14
- package/docs/api/foundation-workspace.defaultworkspacestate.kvstorage.md +0 -14
- package/docs/api/foundation-workspace.defaultworkspacestate.md +0 -115
- package/docs/api/foundation-workspace.filterregistration.filterkey.md +0 -14
- package/docs/api/foundation-workspace.filterregistration.getfiltervalue.md +0 -14
- package/docs/api/foundation-workspace.filterregistration.md +0 -98
- package/docs/api/foundation-workspace.filterregistration.setfiltervalue.md +0 -14
- package/docs/api/foundation-workspace.filterregistry.applyfiltersvalues.md +0 -53
- package/docs/api/foundation-workspace.filterregistry.getallfiltersvalues.md +0 -18
- package/docs/api/foundation-workspace.filterregistry.md +0 -16
- package/docs/api/foundation-workspace.filterregistry.registerfilter.md +0 -81
- package/docs/api/foundation-workspace.filterregistry.unregisterfilter.md +0 -53
- package/docs/api/foundation-workspace.gridregister.gridkey.md +0 -14
- package/docs/api/foundation-workspace.gridregister.gridregistry.md +0 -14
- package/docs/api/foundation-workspace.gridregister.md +0 -100
- package/docs/api/foundation-workspace.gridregister.workspacestate.md +0 -14
- package/docs/api/foundation-workspace.gridregistration.columnapi.md +0 -14
- package/docs/api/foundation-workspace.gridregistration.gridapi.md +0 -14
- package/docs/api/foundation-workspace.gridregistration.gridkey.md +0 -14
- package/docs/api/foundation-workspace.gridregistration.md +0 -98
- package/docs/api/foundation-workspace.gridregistry.applyallgridssettings.md +0 -53
- package/docs/api/foundation-workspace.gridregistry.applygridsettings.md +0 -72
- package/docs/api/foundation-workspace.gridregistry.getallgridssettings.md +0 -18
- package/docs/api/foundation-workspace.gridregistry.getgrid.md +0 -53
- package/docs/api/foundation-workspace.gridregistry.md +0 -16
- package/docs/api/foundation-workspace.gridregistry.registergrid.md +0 -81
- package/docs/api/foundation-workspace.gridregistry.unregistergrid.md +0 -53
- package/docs/api/foundation-workspace.layoutregistry.applysavedlayouts.md +0 -53
- package/docs/api/foundation-workspace.layoutregistry.getlayoutsconfigs.md +0 -18
- package/docs/api/foundation-workspace.layoutregistry.md +0 -16
- package/docs/api/foundation-workspace.layoutregistry.registerlayout.md +0 -67
- package/docs/api/foundation-workspace.layoutregistry.unregisterlayout.md +0 -53
- package/docs/api/foundation-workspace.layoutwrapper.layoutkey.md +0 -14
- package/docs/api/foundation-workspace.layoutwrapper.layoutregistry.md +0 -14
- package/docs/api/foundation-workspace.layoutwrapper.md +0 -81
- package/docs/api/foundation-workspace.loadmode.md +0 -16
- package/docs/api/foundation-workspace.md +0 -332
- package/docs/api/foundation-workspace.savedfiltervalue.filterkey.md +0 -14
- package/docs/api/foundation-workspace.savedfiltervalue.md +0 -79
- package/docs/api/foundation-workspace.savedfiltervalue.value.md +0 -14
- package/docs/api/foundation-workspace.savedgridsettings.columnstate.md +0 -14
- package/docs/api/foundation-workspace.savedgridsettings.gridkey.md +0 -14
- package/docs/api/foundation-workspace.savedgridsettings.md +0 -99
- package/docs/api/foundation-workspace.savedgridsettings.savedat.md +0 -14
- package/docs/api/foundation-workspace.savedlayout.layout.md +0 -14
- package/docs/api/foundation-workspace.savedlayout.layoutkey.md +0 -14
- package/docs/api/foundation-workspace.savedlayout.md +0 -79
- package/docs/api/foundation-workspace.savedworkspace.description.md +0 -14
- package/docs/api/foundation-workspace.savedworkspace.filters.md +0 -14
- package/docs/api/foundation-workspace.savedworkspace.grids.md +0 -14
- package/docs/api/foundation-workspace.savedworkspace.layouts.md +0 -14
- package/docs/api/foundation-workspace.savedworkspace.md +0 -174
- package/docs/api/foundation-workspace.savedworkspace.name.md +0 -14
- package/docs/api/foundation-workspace.savedworkspace.savedat.md +0 -14
- package/docs/api/foundation-workspace.savedworkspace.username.md +0 -14
- package/docs/api/foundation-workspace.sharedworkspace.createdon.md +0 -14
- package/docs/api/foundation-workspace.sharedworkspace.data.md +0 -14
- package/docs/api/foundation-workspace.sharedworkspace.description.md +0 -14
- package/docs/api/foundation-workspace.sharedworkspace.id.md +0 -14
- package/docs/api/foundation-workspace.sharedworkspace.md +0 -174
- package/docs/api/foundation-workspace.sharedworkspace.modifiedon.md +0 -14
- package/docs/api/foundation-workspace.sharedworkspace.name.md +0 -14
- package/docs/api/foundation-workspace.sharedworkspace.username.md +0 -14
- package/docs/api/foundation-workspace.workspacecomponents.md +0 -29
- package/docs/api/foundation-workspace.workspacemanager.applyingworkspace.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.auth.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.canshareworkspace.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.connect.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.dialogboundary.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.filterregistry.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.gridregistry.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.isloading.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.layoutregistry.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.loadmodal.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.loadmode.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.md +0 -442
- package/docs/api/foundation-workspace.workspacemanager.savedworkspaces.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.savemodal.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.savemode.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.selectedworkspacetooverwrite.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.sharedworkspacedialogboundary.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.sharedworkspaces.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.workspacedescription.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.workspacename.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.workspacestate.md +0 -14
- package/docs/api/foundation-workspace.workspacemanager.workspacetoshare.md +0 -14
- package/docs/api/foundation-workspace.workspacestate.deleteworkspace.md +0 -53
- package/docs/api/foundation-workspace.workspacestate.getcurrentworkspace.md +0 -18
- package/docs/api/foundation-workspace.workspacestate.getsavedworkspaces.md +0 -18
- package/docs/api/foundation-workspace.workspacestate.loadworkspace.md +0 -53
- package/docs/api/foundation-workspace.workspacestate.md +0 -16
- package/docs/api/foundation-workspace.workspacestate.saveworkspace.md +0 -111
- package/docs/api/foundation-workspace.workspacestate.setcurrentworkspace.md +0 -53
- package/docs/api/index.md +0 -30
- package/docs/api-report.md.api.md +0 -372
- package/temp/api-report.md.api.md +0 -372
|
@@ -1,372 +0,0 @@
|
|
|
1
|
-
## API Report File for "@genesislcap/foundation-workspace"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import { Auth } from '@genesislcap/foundation-comms';
|
|
8
|
-
import type { ColumnApi } from '@ag-grid-community/core';
|
|
9
|
-
import { Connect } from '@genesislcap/foundation-comms';
|
|
10
|
-
import type { Container } from '@microsoft/fast-foundation';
|
|
11
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
12
|
-
import type { GridApi } from '@ag-grid-community/core';
|
|
13
|
-
import { InterfaceSymbol } from '@microsoft/fast-foundation';
|
|
14
|
-
import { KVStorage } from '@genesislcap/foundation-comms';
|
|
15
|
-
import { Modal } from '@genesislcap/foundation-ui';
|
|
16
|
-
|
|
17
|
-
// @alpha (undocumented)
|
|
18
|
-
export class DefaultFilterRegistry implements FilterRegistry {
|
|
19
|
-
// (undocumented)
|
|
20
|
-
applyFiltersValues(filtersValues: SavedFilterValue[]): void;
|
|
21
|
-
// (undocumented)
|
|
22
|
-
getAllFiltersValues(): SavedFilterValue[];
|
|
23
|
-
// (undocumented)
|
|
24
|
-
registerFilter(filterKey: string, getFilterValue: () => SavedFilterValue | null, setFilterValue: (value: string) => void): void;
|
|
25
|
-
// (undocumented)
|
|
26
|
-
unregisterFilter(filterKey: string): void;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// @alpha (undocumented)
|
|
30
|
-
export class DefaultGridRegistry implements GridRegistry {
|
|
31
|
-
// (undocumented)
|
|
32
|
-
applyAllGridsSettings(gridsSettings: SavedGridSettings[], maxRetries?: number, delayMs?: number): Promise<void>;
|
|
33
|
-
// (undocumented)
|
|
34
|
-
applyGridSettings(gridSetting: SavedGridSettings, options?: {
|
|
35
|
-
applyColumns?: boolean;
|
|
36
|
-
applyFilters?: boolean;
|
|
37
|
-
}): Promise<boolean>;
|
|
38
|
-
// (undocumented)
|
|
39
|
-
getAllGridsSettings(): SavedGridSettings[];
|
|
40
|
-
// (undocumented)
|
|
41
|
-
getGrid(gridKey: string): unknown;
|
|
42
|
-
// (undocumented)
|
|
43
|
-
registerGrid(gridKey: string, gridApi: unknown, columnApi: unknown): void;
|
|
44
|
-
// (undocumented)
|
|
45
|
-
unregisterGrid(gridKey: string): void;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// @alpha
|
|
49
|
-
export class DefaultLayoutRegistry implements LayoutRegistry {
|
|
50
|
-
// (undocumented)
|
|
51
|
-
applySavedLayouts(savedLayouts: SavedLayout[]): Promise<void>;
|
|
52
|
-
// (undocumented)
|
|
53
|
-
getLayoutsConfigs(): SavedLayout[];
|
|
54
|
-
// (undocumented)
|
|
55
|
-
registerLayout(layoutKey: string, layout: any): void;
|
|
56
|
-
// (undocumented)
|
|
57
|
-
unregisterLayout(layoutKey: string): void;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// @alpha
|
|
61
|
-
export class DefaultWorkspaceState implements WorkspaceState {
|
|
62
|
-
constructor(kvStorage: KVStorage, auth: Auth);
|
|
63
|
-
// (undocumented)
|
|
64
|
-
auth: Auth;
|
|
65
|
-
// (undocumented)
|
|
66
|
-
deleteWorkspace(workspaceName: string): Promise<void>;
|
|
67
|
-
// (undocumented)
|
|
68
|
-
getCurrentWorkspace(): SavedWorkspace | null;
|
|
69
|
-
// (undocumented)
|
|
70
|
-
getSavedWorkspaces(): Promise<SavedWorkspace[]>;
|
|
71
|
-
// (undocumented)
|
|
72
|
-
kvStorage: KVStorage;
|
|
73
|
-
// (undocumented)
|
|
74
|
-
loadWorkspace(workspaceName: string): Promise<SavedWorkspace | null>;
|
|
75
|
-
// (undocumented)
|
|
76
|
-
saveWorkspace(workspaceName: string, layouts: SavedLayout[], grids: SavedGridSettings[], filters: SavedFilterValue[], description?: string): Promise<void>;
|
|
77
|
-
// (undocumented)
|
|
78
|
-
setCurrentWorkspace(workspace: SavedWorkspace | null): void;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
// @alpha (undocumented)
|
|
82
|
-
export interface FilterRegistration {
|
|
83
|
-
// (undocumented)
|
|
84
|
-
filterKey: string;
|
|
85
|
-
// (undocumented)
|
|
86
|
-
getFilterValue: () => SavedFilterValue | null;
|
|
87
|
-
// (undocumented)
|
|
88
|
-
setFilterValue: (value: string) => void;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
// @alpha (undocumented)
|
|
92
|
-
export interface FilterRegistry {
|
|
93
|
-
// (undocumented)
|
|
94
|
-
applyFiltersValues(savedFilters: SavedFilterValue[]): void;
|
|
95
|
-
// (undocumented)
|
|
96
|
-
getAllFiltersValues(): SavedFilterValue[];
|
|
97
|
-
// (undocumented)
|
|
98
|
-
registerFilter(filterKey: string, getFilterValue: () => SavedFilterValue | null, setFilterValue: (value: string) => void): void;
|
|
99
|
-
// (undocumented)
|
|
100
|
-
unregisterFilter(filterKey: string): void;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// @alpha
|
|
104
|
-
export const FilterRegistry: InterfaceSymbol<FilterRegistry>;
|
|
105
|
-
|
|
106
|
-
// @alpha
|
|
107
|
-
export class GridRegister extends HTMLElement {
|
|
108
|
-
// (undocumented)
|
|
109
|
-
connectedCallback(): void;
|
|
110
|
-
// (undocumented)
|
|
111
|
-
disconnectedCallback(): void;
|
|
112
|
-
// (undocumented)
|
|
113
|
-
gridKey: string;
|
|
114
|
-
// (undocumented)
|
|
115
|
-
gridRegistry: GridRegistry;
|
|
116
|
-
// (undocumented)
|
|
117
|
-
workspaceState: WorkspaceState;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
// @alpha (undocumented)
|
|
121
|
-
export interface GridRegistration {
|
|
122
|
-
// (undocumented)
|
|
123
|
-
columnApi: ColumnApi;
|
|
124
|
-
// (undocumented)
|
|
125
|
-
gridApi: GridApi;
|
|
126
|
-
// (undocumented)
|
|
127
|
-
gridKey: string;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
// @alpha (undocumented)
|
|
131
|
-
export interface GridRegistry {
|
|
132
|
-
// (undocumented)
|
|
133
|
-
applyAllGridsSettings(gridsSettings: SavedGridSettings[]): Promise<void>;
|
|
134
|
-
// (undocumented)
|
|
135
|
-
applyGridSettings(gridSetting: SavedGridSettings, options?: {
|
|
136
|
-
applyColumns?: boolean;
|
|
137
|
-
applyFilters?: boolean;
|
|
138
|
-
}): Promise<boolean>;
|
|
139
|
-
// (undocumented)
|
|
140
|
-
getAllGridsSettings(): SavedGridSettings[];
|
|
141
|
-
// (undocumented)
|
|
142
|
-
getGrid(gridKey: string): unknown;
|
|
143
|
-
// (undocumented)
|
|
144
|
-
registerGrid(gridKey: string, gridApi: unknown, columnApi: unknown): void;
|
|
145
|
-
// (undocumented)
|
|
146
|
-
unregisterGrid(gridKey: string): void;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
// @alpha
|
|
150
|
-
export const GridRegistry: InterfaceSymbol<GridRegistry>;
|
|
151
|
-
|
|
152
|
-
// @alpha (undocumented)
|
|
153
|
-
export interface LayoutRegistry {
|
|
154
|
-
// (undocumented)
|
|
155
|
-
applySavedLayouts(savedLayouts: SavedLayout[]): Promise<void>;
|
|
156
|
-
// (undocumented)
|
|
157
|
-
getLayoutsConfigs(): SavedLayout[];
|
|
158
|
-
// (undocumented)
|
|
159
|
-
registerLayout(layoutKey: string, layout: unknown): void;
|
|
160
|
-
// (undocumented)
|
|
161
|
-
unregisterLayout(layoutKey: string): void;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
// @alpha
|
|
165
|
-
export const LayoutRegistry: InterfaceSymbol<LayoutRegistry>;
|
|
166
|
-
|
|
167
|
-
// @alpha
|
|
168
|
-
export class LayoutWrapper extends HTMLElement {
|
|
169
|
-
// (undocumented)
|
|
170
|
-
connectedCallback(): void;
|
|
171
|
-
// (undocumented)
|
|
172
|
-
disconnectedCallback(): void;
|
|
173
|
-
// (undocumented)
|
|
174
|
-
layoutKey: string;
|
|
175
|
-
// (undocumented)
|
|
176
|
-
layoutRegistry: LayoutRegistry;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
// @alpha
|
|
180
|
-
export type LoadMode = 'MY' | 'SHARED';
|
|
181
|
-
|
|
182
|
-
// @alpha (undocumented)
|
|
183
|
-
export interface SavedFilterValue {
|
|
184
|
-
// (undocumented)
|
|
185
|
-
filterKey: string;
|
|
186
|
-
// (undocumented)
|
|
187
|
-
value: string;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
// @alpha
|
|
191
|
-
export interface SavedGridSettings {
|
|
192
|
-
// (undocumented)
|
|
193
|
-
columnState: any[];
|
|
194
|
-
// (undocumented)
|
|
195
|
-
gridKey: string;
|
|
196
|
-
// (undocumented)
|
|
197
|
-
savedAt: string;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
// @alpha (undocumented)
|
|
201
|
-
export interface SavedLayout {
|
|
202
|
-
// (undocumented)
|
|
203
|
-
layout: unknown;
|
|
204
|
-
// (undocumented)
|
|
205
|
-
layoutKey: string;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
// @alpha (undocumented)
|
|
209
|
-
export interface SavedWorkspace {
|
|
210
|
-
// (undocumented)
|
|
211
|
-
description?: string;
|
|
212
|
-
// (undocumented)
|
|
213
|
-
filters: SavedFilterValue[];
|
|
214
|
-
// (undocumented)
|
|
215
|
-
grids: SavedGridSettings[];
|
|
216
|
-
// (undocumented)
|
|
217
|
-
layouts: SavedLayout[];
|
|
218
|
-
// (undocumented)
|
|
219
|
-
name: string;
|
|
220
|
-
// (undocumented)
|
|
221
|
-
savedAt: string;
|
|
222
|
-
// (undocumented)
|
|
223
|
-
username: string;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
// @alpha (undocumented)
|
|
227
|
-
export interface SharedWorkspace {
|
|
228
|
-
// (undocumented)
|
|
229
|
-
createdOn?: string | number;
|
|
230
|
-
// (undocumented)
|
|
231
|
-
data: string;
|
|
232
|
-
// (undocumented)
|
|
233
|
-
description?: string;
|
|
234
|
-
// (undocumented)
|
|
235
|
-
id: string;
|
|
236
|
-
// (undocumented)
|
|
237
|
-
modifiedOn?: string | number;
|
|
238
|
-
// (undocumented)
|
|
239
|
-
name: string;
|
|
240
|
-
// (undocumented)
|
|
241
|
-
userName: string;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
// @alpha
|
|
245
|
-
export const workspaceComponents: {
|
|
246
|
-
workspaceManager: () => {
|
|
247
|
-
register(_container?: Container, ..._rest: any[]): void;
|
|
248
|
-
};
|
|
249
|
-
layoutWrapper: () => {
|
|
250
|
-
register(_container?: Container, ..._rest: any[]): void;
|
|
251
|
-
};
|
|
252
|
-
gridRegister: () => {
|
|
253
|
-
register(_container?: Container, ..._rest: any[]): void;
|
|
254
|
-
};
|
|
255
|
-
register(container?: Container, ...rest: any[]): void;
|
|
256
|
-
};
|
|
257
|
-
|
|
258
|
-
// @alpha
|
|
259
|
-
export class WorkspaceManager extends FoundationElement {
|
|
260
|
-
// (undocumented)
|
|
261
|
-
applyingWorkspace: boolean;
|
|
262
|
-
// (undocumented)
|
|
263
|
-
auth: Auth;
|
|
264
|
-
// (undocumented)
|
|
265
|
-
canShareWorkspace: boolean;
|
|
266
|
-
// (undocumented)
|
|
267
|
-
closeLoadDialog(): void;
|
|
268
|
-
// (undocumented)
|
|
269
|
-
closeSaveDialog(): void;
|
|
270
|
-
// (undocumented)
|
|
271
|
-
confirmDeleteSharedWorkspace(sharedWorkspace: SharedWorkspace): void;
|
|
272
|
-
// (undocumented)
|
|
273
|
-
confirmDeleteWorkspace(workspaceName: string): void;
|
|
274
|
-
// (undocumented)
|
|
275
|
-
connect: Connect;
|
|
276
|
-
// (undocumented)
|
|
277
|
-
connectedCallback(): Promise<void>;
|
|
278
|
-
// (undocumented)
|
|
279
|
-
deleteSharedWorkspace(sharedWorkspace: SharedWorkspace): Promise<void>;
|
|
280
|
-
// (undocumented)
|
|
281
|
-
deleteWorkspace(workspaceName: string): Promise<void>;
|
|
282
|
-
// (undocumented)
|
|
283
|
-
dialogBoundary: HTMLElement;
|
|
284
|
-
// (undocumented)
|
|
285
|
-
filterRegistry: FilterRegistry;
|
|
286
|
-
// (undocumented)
|
|
287
|
-
gridRegistry: GridRegistry;
|
|
288
|
-
// (undocumented)
|
|
289
|
-
isLoading: boolean;
|
|
290
|
-
// (undocumented)
|
|
291
|
-
isWorkspaceExisting(workspaceName: string): boolean;
|
|
292
|
-
// (undocumented)
|
|
293
|
-
layoutRegistry: LayoutRegistry;
|
|
294
|
-
// (undocumented)
|
|
295
|
-
loadModal: Modal;
|
|
296
|
-
// (undocumented)
|
|
297
|
-
loadMode: LoadMode;
|
|
298
|
-
// (undocumented)
|
|
299
|
-
loadSharedWorkspace(shared: {
|
|
300
|
-
id: string;
|
|
301
|
-
name: string;
|
|
302
|
-
userName: string;
|
|
303
|
-
createdOn?: string | number;
|
|
304
|
-
modifiedOn?: string | number;
|
|
305
|
-
data: string;
|
|
306
|
-
}): Promise<void>;
|
|
307
|
-
// (undocumented)
|
|
308
|
-
loadWorkspace(workspaceName: string): Promise<void>;
|
|
309
|
-
// (undocumented)
|
|
310
|
-
modifySharedWorkspace(sharedWorkspace: SharedWorkspace): Promise<void>;
|
|
311
|
-
// (undocumented)
|
|
312
|
-
openLoadDialog(): void;
|
|
313
|
-
// (undocumented)
|
|
314
|
-
openSaveDialog(): Promise<void>;
|
|
315
|
-
// (undocumented)
|
|
316
|
-
refreshSavedWorkspaces(): Promise<void>;
|
|
317
|
-
// (undocumented)
|
|
318
|
-
refreshSharedWorkspaces(): Promise<void>;
|
|
319
|
-
// (undocumented)
|
|
320
|
-
savedWorkspaces: SavedWorkspace[];
|
|
321
|
-
// (undocumented)
|
|
322
|
-
saveModal: Modal;
|
|
323
|
-
// (undocumented)
|
|
324
|
-
saveMode: 'create' | 'overwrite' | 'shared';
|
|
325
|
-
// (undocumented)
|
|
326
|
-
saveModeChanged(oldValue: string, newValue: string): void;
|
|
327
|
-
// (undocumented)
|
|
328
|
-
saveWorkspace(): Promise<void>;
|
|
329
|
-
// (undocumented)
|
|
330
|
-
selectedWorkspaceToOverwrite: string;
|
|
331
|
-
// (undocumented)
|
|
332
|
-
selectedWorkspaceToOverwriteChanged(oldValue: string, newValue: string): void;
|
|
333
|
-
// (undocumented)
|
|
334
|
-
sharedWorkspaceDialogBoundary: HTMLElement;
|
|
335
|
-
// (undocumented)
|
|
336
|
-
sharedWorkspaces: SharedWorkspace[];
|
|
337
|
-
// (undocumented)
|
|
338
|
-
shareExistingWorkspace(workspaceName: string): Promise<void>;
|
|
339
|
-
// (undocumented)
|
|
340
|
-
updateWorkspaceDescription(raw: string): void;
|
|
341
|
-
// (undocumented)
|
|
342
|
-
workspaceDescription: string;
|
|
343
|
-
// (undocumented)
|
|
344
|
-
workspaceName: string;
|
|
345
|
-
// (undocumented)
|
|
346
|
-
workspaceState: WorkspaceState;
|
|
347
|
-
// (undocumented)
|
|
348
|
-
workspaceToShare: string;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
// @alpha (undocumented)
|
|
352
|
-
export interface WorkspaceState {
|
|
353
|
-
// (undocumented)
|
|
354
|
-
deleteWorkspace(workspaceName: string): Promise<void>;
|
|
355
|
-
// (undocumented)
|
|
356
|
-
getCurrentWorkspace(): SavedWorkspace | null;
|
|
357
|
-
// (undocumented)
|
|
358
|
-
getSavedWorkspaces(): Promise<SavedWorkspace[]>;
|
|
359
|
-
// (undocumented)
|
|
360
|
-
loadWorkspace(workspaceName: string): Promise<SavedWorkspace | null>;
|
|
361
|
-
// (undocumented)
|
|
362
|
-
saveWorkspace(workspaceName: string, layouts: SavedLayout[], grids: SavedGridSettings[], filters: SavedFilterValue[], description?: string): Promise<void>;
|
|
363
|
-
// (undocumented)
|
|
364
|
-
setCurrentWorkspace(workspace: SavedWorkspace | null): void;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
// @alpha
|
|
368
|
-
export const WorkspaceState: InterfaceSymbol<WorkspaceState>;
|
|
369
|
-
|
|
370
|
-
// (No @packageDocumentation comment for this package)
|
|
371
|
-
|
|
372
|
-
```
|