@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.
Files changed (149) hide show
  1. package/dist/dts/workspace/grid-register/grid-register.d.ts +5 -3
  2. package/dist/dts/workspace/grid-register/grid-register.d.ts.map +1 -1
  3. package/dist/dts/workspace/grid-register/grid-register.template.d.ts +1 -1
  4. package/dist/dts/workspace/grid-register/grid-register.template.d.ts.map +1 -1
  5. package/dist/dts/workspace/grid-registry.d.ts +11 -11
  6. package/dist/dts/workspace/grid-registry.d.ts.map +1 -1
  7. package/dist/dts/workspace/layout-registry.d.ts +2 -1
  8. package/dist/dts/workspace/layout-registry.d.ts.map +1 -1
  9. package/dist/dts/workspace/layout-wrapper/layout-wrapper.d.ts +4 -2
  10. package/dist/dts/workspace/layout-wrapper/layout-wrapper.d.ts.map +1 -1
  11. package/dist/dts/workspace/layout-wrapper/layout-wrapper.template.d.ts +1 -1
  12. package/dist/dts/workspace/layout-wrapper/layout-wrapper.template.d.ts.map +1 -1
  13. package/dist/dts/workspace/workspace.types.d.ts +2 -1
  14. package/dist/dts/workspace/workspace.types.d.ts.map +1 -1
  15. package/dist/dts/workspace-components.d.ts +1 -1
  16. package/dist/dts/workspace-components.d.ts.map +1 -1
  17. package/dist/dts/workspace-manager/workspace-manager.d.ts +2 -1
  18. package/dist/dts/workspace-manager/workspace-manager.d.ts.map +1 -1
  19. package/dist/dts/workspace-manager/workspace-manager.styles.d.ts.map +1 -1
  20. package/dist/dts/workspace-manager/workspace-manager.template.d.ts +5 -1
  21. package/dist/dts/workspace-manager/workspace-manager.template.d.ts.map +1 -1
  22. package/dist/esm/workspace/filter-registry.js +1 -1
  23. package/dist/esm/workspace/grid-register/grid-register.js +20 -16
  24. package/dist/esm/workspace/grid-register/grid-register.template.js +1 -1
  25. package/dist/esm/workspace/grid-registry.js +21 -10
  26. package/dist/esm/workspace/layout-registry.js +5 -2
  27. package/dist/esm/workspace/layout-wrapper/layout-wrapper.js +13 -6
  28. package/dist/esm/workspace/layout-wrapper/layout-wrapper.template.js +1 -1
  29. package/dist/esm/workspace/workspace-state.js +1 -1
  30. package/dist/esm/workspace-manager/workspace-manager.js +38 -5
  31. package/dist/esm/workspace-manager/workspace-manager.styles.js +2 -25
  32. package/dist/esm/workspace-manager/workspace-manager.template.js +26 -14
  33. package/dist/foundation-workspace.api.json +74 -8
  34. package/dist/foundation-workspace.d.ts +14 -10
  35. package/package.json +16 -17
  36. package/src/workspace/filter-registry.ts +1 -1
  37. package/src/workspace/grid-register/grid-register.template.ts +1 -2
  38. package/src/workspace/grid-register/grid-register.ts +20 -18
  39. package/src/workspace/grid-registry.ts +35 -21
  40. package/src/workspace/layout-registry.ts +11 -6
  41. package/src/workspace/layout-wrapper/layout-wrapper.template.ts +1 -2
  42. package/src/workspace/layout-wrapper/layout-wrapper.ts +15 -10
  43. package/src/workspace/workspace-state.ts +1 -1
  44. package/src/workspace/workspace.types.ts +3 -1
  45. package/src/workspace-components.ts +1 -1
  46. package/src/workspace-manager/workspace-manager.styles.ts +2 -25
  47. package/src/workspace-manager/workspace-manager.template.ts +32 -14
  48. package/src/workspace-manager/workspace-manager.ts +38 -5
  49. package/docs/.gitkeep +0 -1
  50. package/docs/api/foundation-workspace.defaultfilterregistry.md +0 -17
  51. package/docs/api/foundation-workspace.defaultgridregistry.md +0 -17
  52. package/docs/api/foundation-workspace.defaultlayoutregistry.md +0 -18
  53. package/docs/api/foundation-workspace.defaultworkspacestate._constructor_.md +0 -65
  54. package/docs/api/foundation-workspace.defaultworkspacestate.auth.md +0 -14
  55. package/docs/api/foundation-workspace.defaultworkspacestate.kvstorage.md +0 -14
  56. package/docs/api/foundation-workspace.defaultworkspacestate.md +0 -115
  57. package/docs/api/foundation-workspace.filterregistration.filterkey.md +0 -14
  58. package/docs/api/foundation-workspace.filterregistration.getfiltervalue.md +0 -14
  59. package/docs/api/foundation-workspace.filterregistration.md +0 -98
  60. package/docs/api/foundation-workspace.filterregistration.setfiltervalue.md +0 -14
  61. package/docs/api/foundation-workspace.filterregistry.applyfiltersvalues.md +0 -53
  62. package/docs/api/foundation-workspace.filterregistry.getallfiltersvalues.md +0 -18
  63. package/docs/api/foundation-workspace.filterregistry.md +0 -16
  64. package/docs/api/foundation-workspace.filterregistry.registerfilter.md +0 -81
  65. package/docs/api/foundation-workspace.filterregistry.unregisterfilter.md +0 -53
  66. package/docs/api/foundation-workspace.gridregister.gridkey.md +0 -14
  67. package/docs/api/foundation-workspace.gridregister.gridregistry.md +0 -14
  68. package/docs/api/foundation-workspace.gridregister.md +0 -100
  69. package/docs/api/foundation-workspace.gridregister.workspacestate.md +0 -14
  70. package/docs/api/foundation-workspace.gridregistration.columnapi.md +0 -14
  71. package/docs/api/foundation-workspace.gridregistration.gridapi.md +0 -14
  72. package/docs/api/foundation-workspace.gridregistration.gridkey.md +0 -14
  73. package/docs/api/foundation-workspace.gridregistration.md +0 -98
  74. package/docs/api/foundation-workspace.gridregistry.applyallgridssettings.md +0 -53
  75. package/docs/api/foundation-workspace.gridregistry.applygridsettings.md +0 -72
  76. package/docs/api/foundation-workspace.gridregistry.getallgridssettings.md +0 -18
  77. package/docs/api/foundation-workspace.gridregistry.getgrid.md +0 -53
  78. package/docs/api/foundation-workspace.gridregistry.md +0 -16
  79. package/docs/api/foundation-workspace.gridregistry.registergrid.md +0 -81
  80. package/docs/api/foundation-workspace.gridregistry.unregistergrid.md +0 -53
  81. package/docs/api/foundation-workspace.layoutregistry.applysavedlayouts.md +0 -53
  82. package/docs/api/foundation-workspace.layoutregistry.getlayoutsconfigs.md +0 -18
  83. package/docs/api/foundation-workspace.layoutregistry.md +0 -16
  84. package/docs/api/foundation-workspace.layoutregistry.registerlayout.md +0 -67
  85. package/docs/api/foundation-workspace.layoutregistry.unregisterlayout.md +0 -53
  86. package/docs/api/foundation-workspace.layoutwrapper.layoutkey.md +0 -14
  87. package/docs/api/foundation-workspace.layoutwrapper.layoutregistry.md +0 -14
  88. package/docs/api/foundation-workspace.layoutwrapper.md +0 -81
  89. package/docs/api/foundation-workspace.loadmode.md +0 -16
  90. package/docs/api/foundation-workspace.md +0 -332
  91. package/docs/api/foundation-workspace.savedfiltervalue.filterkey.md +0 -14
  92. package/docs/api/foundation-workspace.savedfiltervalue.md +0 -79
  93. package/docs/api/foundation-workspace.savedfiltervalue.value.md +0 -14
  94. package/docs/api/foundation-workspace.savedgridsettings.columnstate.md +0 -14
  95. package/docs/api/foundation-workspace.savedgridsettings.gridkey.md +0 -14
  96. package/docs/api/foundation-workspace.savedgridsettings.md +0 -99
  97. package/docs/api/foundation-workspace.savedgridsettings.savedat.md +0 -14
  98. package/docs/api/foundation-workspace.savedlayout.layout.md +0 -14
  99. package/docs/api/foundation-workspace.savedlayout.layoutkey.md +0 -14
  100. package/docs/api/foundation-workspace.savedlayout.md +0 -79
  101. package/docs/api/foundation-workspace.savedworkspace.description.md +0 -14
  102. package/docs/api/foundation-workspace.savedworkspace.filters.md +0 -14
  103. package/docs/api/foundation-workspace.savedworkspace.grids.md +0 -14
  104. package/docs/api/foundation-workspace.savedworkspace.layouts.md +0 -14
  105. package/docs/api/foundation-workspace.savedworkspace.md +0 -174
  106. package/docs/api/foundation-workspace.savedworkspace.name.md +0 -14
  107. package/docs/api/foundation-workspace.savedworkspace.savedat.md +0 -14
  108. package/docs/api/foundation-workspace.savedworkspace.username.md +0 -14
  109. package/docs/api/foundation-workspace.sharedworkspace.createdon.md +0 -14
  110. package/docs/api/foundation-workspace.sharedworkspace.data.md +0 -14
  111. package/docs/api/foundation-workspace.sharedworkspace.description.md +0 -14
  112. package/docs/api/foundation-workspace.sharedworkspace.id.md +0 -14
  113. package/docs/api/foundation-workspace.sharedworkspace.md +0 -174
  114. package/docs/api/foundation-workspace.sharedworkspace.modifiedon.md +0 -14
  115. package/docs/api/foundation-workspace.sharedworkspace.name.md +0 -14
  116. package/docs/api/foundation-workspace.sharedworkspace.username.md +0 -14
  117. package/docs/api/foundation-workspace.workspacecomponents.md +0 -29
  118. package/docs/api/foundation-workspace.workspacemanager.applyingworkspace.md +0 -14
  119. package/docs/api/foundation-workspace.workspacemanager.auth.md +0 -14
  120. package/docs/api/foundation-workspace.workspacemanager.canshareworkspace.md +0 -14
  121. package/docs/api/foundation-workspace.workspacemanager.connect.md +0 -14
  122. package/docs/api/foundation-workspace.workspacemanager.dialogboundary.md +0 -14
  123. package/docs/api/foundation-workspace.workspacemanager.filterregistry.md +0 -14
  124. package/docs/api/foundation-workspace.workspacemanager.gridregistry.md +0 -14
  125. package/docs/api/foundation-workspace.workspacemanager.isloading.md +0 -14
  126. package/docs/api/foundation-workspace.workspacemanager.layoutregistry.md +0 -14
  127. package/docs/api/foundation-workspace.workspacemanager.loadmodal.md +0 -14
  128. package/docs/api/foundation-workspace.workspacemanager.loadmode.md +0 -14
  129. package/docs/api/foundation-workspace.workspacemanager.md +0 -442
  130. package/docs/api/foundation-workspace.workspacemanager.savedworkspaces.md +0 -14
  131. package/docs/api/foundation-workspace.workspacemanager.savemodal.md +0 -14
  132. package/docs/api/foundation-workspace.workspacemanager.savemode.md +0 -14
  133. package/docs/api/foundation-workspace.workspacemanager.selectedworkspacetooverwrite.md +0 -14
  134. package/docs/api/foundation-workspace.workspacemanager.sharedworkspacedialogboundary.md +0 -14
  135. package/docs/api/foundation-workspace.workspacemanager.sharedworkspaces.md +0 -14
  136. package/docs/api/foundation-workspace.workspacemanager.workspacedescription.md +0 -14
  137. package/docs/api/foundation-workspace.workspacemanager.workspacename.md +0 -14
  138. package/docs/api/foundation-workspace.workspacemanager.workspacestate.md +0 -14
  139. package/docs/api/foundation-workspace.workspacemanager.workspacetoshare.md +0 -14
  140. package/docs/api/foundation-workspace.workspacestate.deleteworkspace.md +0 -53
  141. package/docs/api/foundation-workspace.workspacestate.getcurrentworkspace.md +0 -18
  142. package/docs/api/foundation-workspace.workspacestate.getsavedworkspaces.md +0 -18
  143. package/docs/api/foundation-workspace.workspacestate.loadworkspace.md +0 -53
  144. package/docs/api/foundation-workspace.workspacestate.md +0 -16
  145. package/docs/api/foundation-workspace.workspacestate.saveworkspace.md +0 -111
  146. package/docs/api/foundation-workspace.workspacestate.setcurrentworkspace.md +0 -53
  147. package/docs/api/index.md +0 -30
  148. package/docs/api-report.md.api.md +0 -372
  149. package/temp/api-report.md.api.md +0 -372
@@ -1,53 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-workspace](./foundation-workspace.md) &gt; [WorkspaceState](./foundation-workspace.workspacestate.md) &gt; [loadWorkspace](./foundation-workspace.workspacestate.loadworkspace.md)
4
-
5
- ## WorkspaceState.loadWorkspace() method
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- loadWorkspace(workspaceName: string): Promise<SavedWorkspace | null>;
14
- ```
15
-
16
- ## Parameters
17
-
18
- <table><thead><tr><th>
19
-
20
- Parameter
21
-
22
-
23
- </th><th>
24
-
25
- Type
26
-
27
-
28
- </th><th>
29
-
30
- Description
31
-
32
-
33
- </th></tr></thead>
34
- <tbody><tr><td>
35
-
36
- workspaceName
37
-
38
-
39
- </td><td>
40
-
41
- string
42
-
43
-
44
- </td><td>
45
-
46
-
47
- </td></tr>
48
- </tbody></table>
49
-
50
- **Returns:**
51
-
52
- Promise&lt;[SavedWorkspace](./foundation-workspace.savedworkspace.md) \| null&gt;
53
-
@@ -1,16 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-workspace](./foundation-workspace.md) &gt; [WorkspaceState](./foundation-workspace.workspacestate.md)
4
-
5
- ## WorkspaceState variable
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- DI token for workspace state.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- WorkspaceState: import("@microsoft/fast-foundation").InterfaceSymbol<WorkspaceState>
16
- ```
@@ -1,111 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-workspace](./foundation-workspace.md) &gt; [WorkspaceState](./foundation-workspace.workspacestate.md) &gt; [saveWorkspace](./foundation-workspace.workspacestate.saveworkspace.md)
4
-
5
- ## WorkspaceState.saveWorkspace() method
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- saveWorkspace(workspaceName: string, layouts: SavedLayout[], grids: SavedGridSettings[], filters: SavedFilterValue[], description?: string): Promise<void>;
14
- ```
15
-
16
- ## Parameters
17
-
18
- <table><thead><tr><th>
19
-
20
- Parameter
21
-
22
-
23
- </th><th>
24
-
25
- Type
26
-
27
-
28
- </th><th>
29
-
30
- Description
31
-
32
-
33
- </th></tr></thead>
34
- <tbody><tr><td>
35
-
36
- workspaceName
37
-
38
-
39
- </td><td>
40
-
41
- string
42
-
43
-
44
- </td><td>
45
-
46
-
47
- </td></tr>
48
- <tr><td>
49
-
50
- layouts
51
-
52
-
53
- </td><td>
54
-
55
- [SavedLayout](./foundation-workspace.savedlayout.md)<!-- -->\[\]
56
-
57
-
58
- </td><td>
59
-
60
-
61
- </td></tr>
62
- <tr><td>
63
-
64
- grids
65
-
66
-
67
- </td><td>
68
-
69
- [SavedGridSettings](./foundation-workspace.savedgridsettings.md)<!-- -->\[\]
70
-
71
-
72
- </td><td>
73
-
74
-
75
- </td></tr>
76
- <tr><td>
77
-
78
- filters
79
-
80
-
81
- </td><td>
82
-
83
- [SavedFilterValue](./foundation-workspace.savedfiltervalue.md)<!-- -->\[\]
84
-
85
-
86
- </td><td>
87
-
88
-
89
- </td></tr>
90
- <tr><td>
91
-
92
- description
93
-
94
-
95
- </td><td>
96
-
97
- string
98
-
99
-
100
- </td><td>
101
-
102
- _(Optional)_
103
-
104
-
105
- </td></tr>
106
- </tbody></table>
107
-
108
- **Returns:**
109
-
110
- Promise&lt;void&gt;
111
-
@@ -1,53 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-workspace](./foundation-workspace.md) &gt; [WorkspaceState](./foundation-workspace.workspacestate.md) &gt; [setCurrentWorkspace](./foundation-workspace.workspacestate.setcurrentworkspace.md)
4
-
5
- ## WorkspaceState.setCurrentWorkspace() method
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- setCurrentWorkspace(workspace: SavedWorkspace | null): void;
14
- ```
15
-
16
- ## Parameters
17
-
18
- <table><thead><tr><th>
19
-
20
- Parameter
21
-
22
-
23
- </th><th>
24
-
25
- Type
26
-
27
-
28
- </th><th>
29
-
30
- Description
31
-
32
-
33
- </th></tr></thead>
34
- <tbody><tr><td>
35
-
36
- workspace
37
-
38
-
39
- </td><td>
40
-
41
- [SavedWorkspace](./foundation-workspace.savedworkspace.md) \| null
42
-
43
-
44
- </td><td>
45
-
46
-
47
- </td></tr>
48
- </tbody></table>
49
-
50
- **Returns:**
51
-
52
- void
53
-
package/docs/api/index.md DELETED
@@ -1,30 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md)
4
-
5
- ## API Reference
6
-
7
- ## Packages
8
-
9
- <table><thead><tr><th>
10
-
11
- Package
12
-
13
-
14
- </th><th>
15
-
16
- Description
17
-
18
-
19
- </th></tr></thead>
20
- <tbody><tr><td>
21
-
22
- [@genesislcap/foundation-workspace](./foundation-workspace.md)
23
-
24
-
25
- </td><td>
26
-
27
-
28
- </td></tr>
29
- </tbody></table>
30
-
@@ -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
- ```