@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,16 +1,18 @@
1
- import { GridRegistry, WorkspaceState } from '..';
1
+ import { FoundationElement } from '@genesislcap/web-core';
2
+ import { GridRegistry } from '../grid-registry';
3
+ import { WorkspaceState } from '../workspace-state';
2
4
  /**
3
5
  * Registers an AG Grid instance so workspace state can apply/load it.
4
6
  * @alpha
5
7
  */
6
- export declare class GridRegister extends HTMLElement {
8
+ export declare class GridRegister extends FoundationElement {
7
9
  gridKey: string;
10
+ designSystemPrefix: string;
8
11
  gridRegistry: GridRegistry;
9
12
  workspaceState: WorkspaceState;
10
13
  private gridElement;
11
14
  private gridApi;
12
15
  private columnApi;
13
- private workspaceSettingsApplied;
14
16
  connectedCallback(): void;
15
17
  disconnectedCallback(): void;
16
18
  private findAndRegisterGrid;
@@ -1 +1 @@
1
- {"version":3,"file":"grid-register.d.ts","sourceRoot":"","sources":["../../../../src/workspace/grid-register/grid-register.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AAKlD;;;GAGG;AACH,qBAIa,YAAa,SAAQ,WAAW;IACV,OAAO,EAAE,MAAM,CAAC;IAEnC,YAAY,EAAE,YAAY,CAAC;IACzB,cAAc,EAAE,cAAc,CAAC;IAE/C,OAAO,CAAC,WAAW,CAA4B;IAC/C,OAAO,CAAC,OAAO,CAAwB;IACvC,OAAO,CAAC,SAAS,CAA0B;IAC3C,OAAO,CAAC,wBAAwB,CAAkB;IAElD,iBAAiB,IAAI,IAAI;IAIzB,oBAAoB,IAAI,IAAI;IAQ5B,OAAO,CAAC,mBAAmB;IAoB3B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAE9B;IAEF,OAAO,CAAC,gBAAgB;IA+BxB,OAAO,CAAC,kBAAkB;YAUZ,qBAAqB;YAmCrB,wBAAwB;CAGvC"}
1
+ {"version":3,"file":"grid-register.d.ts","sourceRoot":"","sources":["../../../../src/workspace/grid-register/grid-register.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAuB,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAKpD;;;GAGG;AACH,qBAIa,YAAa,SAAQ,iBAAiB;IAChB,OAAO,EAAE,MAAM,CAAC;IACJ,kBAAkB,EAAE,MAAM,CAAW;IAEpE,YAAY,EAAE,YAAY,CAAC;IACzB,cAAc,EAAE,cAAc,CAAC;IAE/C,OAAO,CAAC,WAAW,CAAwB;IAC3C,OAAO,CAAC,OAAO,CAAwB;IACvC,OAAO,CAAC,SAAS,CAA0B;IAE3C,iBAAiB,IAAI,IAAI;IAKzB,oBAAoB,IAAI,IAAI;IAS5B,OAAO,CAAC,mBAAmB;IAqB3B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAE9B;IAEF,OAAO,CAAC,gBAAgB;IA4BxB,OAAO,CAAC,kBAAkB;YAUZ,qBAAqB;YAmCrB,wBAAwB;CAGvC"}
@@ -1,4 +1,4 @@
1
- import type { ViewTemplate } from '@microsoft/fast-element';
1
+ import { ViewTemplate } from '@genesislcap/web-core';
2
2
  import type { GridRegister } from './grid-register';
3
3
  export declare const GridRegisterTemplate: ViewTemplate<GridRegister>;
4
4
  //# sourceMappingURL=grid-register.template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"grid-register.template.d.ts","sourceRoot":"","sources":["../../../../src/workspace/grid-register/grid-register.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,YAAY,CAE3D,CAAC"}
1
+ {"version":3,"file":"grid-register.template.d.ts","sourceRoot":"","sources":["../../../../src/workspace/grid-register/grid-register.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,YAAY,CAE3D,CAAC"}
@@ -1,11 +1,19 @@
1
1
  import type { ColumnApi, GridApi } from '@ag-grid-community/core';
2
2
  import type { SavedGridSettings } from './workspace.types';
3
+ /**
4
+ * @alpha
5
+ */
6
+ export interface GridRegistration {
7
+ gridKey: string;
8
+ gridApi: GridApi;
9
+ columnApi: ColumnApi;
10
+ }
3
11
  /**
4
12
  * @alpha
5
13
  */
6
14
  export interface GridRegistry {
7
15
  registerGrid(gridKey: string, gridApi: unknown, columnApi: unknown): void;
8
- getGrid(gridKey: string): unknown;
16
+ getGrid(gridKey: string): GridRegistration | null;
9
17
  unregisterGrid(gridKey: string): void;
10
18
  getAllGridsSettings(): SavedGridSettings[];
11
19
  applyGridSettings(gridSetting: SavedGridSettings, options?: {
@@ -14,14 +22,6 @@ export interface GridRegistry {
14
22
  }): Promise<boolean>;
15
23
  applyAllGridsSettings(gridsSettings: SavedGridSettings[]): Promise<void>;
16
24
  }
17
- /**
18
- * @alpha
19
- */
20
- export interface GridRegistration {
21
- gridKey: string;
22
- gridApi: GridApi;
23
- columnApi: ColumnApi;
24
- }
25
25
  /**
26
26
  * @alpha
27
27
  */
@@ -29,14 +29,14 @@ export declare class DefaultGridRegistry implements GridRegistry {
29
29
  private grids;
30
30
  private cachedSettings;
31
31
  registerGrid(gridKey: string, gridApi: unknown, columnApi: unknown): void;
32
- getGrid(gridKey: string): unknown;
32
+ getGrid(gridKey: string): GridRegistration | null;
33
33
  unregisterGrid(gridKey: string): void;
34
34
  getAllGridsSettings(): SavedGridSettings[];
35
35
  applyGridSettings(gridSetting: SavedGridSettings, options?: {
36
36
  applyColumns?: boolean;
37
37
  applyFilters?: boolean;
38
38
  }): Promise<boolean>;
39
- applyAllGridsSettings(gridsSettings: SavedGridSettings[], maxRetries?: number, delayMs?: number): Promise<void>;
39
+ applyAllGridsSettings(gridsSettings: SavedGridSettings[], maxRetries?: number): Promise<void>;
40
40
  private getGridSettings;
41
41
  }
42
42
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"grid-registry.d.ts","sourceRoot":"","sources":["../../../src/workspace/grid-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1E,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;IAClC,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,mBAAmB,IAAI,iBAAiB,EAAE,CAAC;IAC3C,iBAAiB,CACf,WAAW,EAAE,iBAAiB,EAC9B,OAAO,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,OAAO,CAAC;QAAC,YAAY,CAAC,EAAE,OAAO,CAAA;KAAE,GAC3D,OAAO,CAAC,OAAO,CAAC,CAAC;IACpB,qBAAqB,CAAC,aAAa,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1E;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,SAA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space.types';
2
3
  /**
3
4
  * @alpha
@@ -14,7 +15,7 @@ export interface LayoutRegistry {
14
15
  */
15
16
  export declare class DefaultLayoutRegistry implements LayoutRegistry {
16
17
  private layouts;
17
- registerLayout(layoutKey: string, layout: any): void;
18
+ registerLayout(layoutKey: string, layout: FoundationLayout): void;
18
19
  unregisterLayout(layoutKey: string): void;
19
20
  getLayoutsConfigs(): SavedLayout[];
20
21
  applySavedLayouts(savedLayouts: SavedLayout[]): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"layout-registry.d.ts","sourceRoot":"","sources":["../../../src/workspace/layout-registry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IACzD,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,iBAAiB,IAAI,WAAW,EAAE,CAAC;IACnC,iBAAiB,CAAC,YAAY,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/D;AAED;;;GAGG;AACH,qBAAa,qBAAsB,YAAW,cAAc;IAC1D,OAAO,CAAC,OAAO,CAA+B;IAE9C,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,GAAG,IAAI;IAOpD,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAIzC,iBAAiB,IAAI,WAAW,EAAE;IAO5B,iBAAiB,CAAC,YAAY,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAWpE;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,sEAE1B,CAAC"}
1
+ {"version":3,"file":"layout-registry.d.ts","sourceRoot":"","sources":["../../../src/workspace/layout-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAEvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAIrD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IACzD,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,iBAAiB,IAAI,WAAW,EAAE,CAAC;IACnC,iBAAiB,CAAC,YAAY,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/D;AAED;;;GAGG;AACH,qBAAa,qBAAsB,YAAW,cAAc;IAC1D,OAAO,CAAC,OAAO,CAA4C;IAE3D,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,GAAG,IAAI;IAOjE,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAIzC,iBAAiB,IAAI,WAAW,EAAE;IAO5B,iBAAiB,CAAC,YAAY,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAapE;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,sEAE1B,CAAC"}
@@ -1,10 +1,12 @@
1
- import { LayoutRegistry } from '..';
1
+ import { FoundationElement } from '@genesislcap/web-core';
2
+ import { LayoutRegistry } from '../layout-registry';
2
3
  /**
3
4
  * Registers a layout instance so workspace state can apply/load it.
4
5
  * @alpha
5
6
  */
6
- export declare class LayoutWrapper extends HTMLElement {
7
+ export declare class LayoutWrapper extends FoundationElement {
7
8
  layoutKey: string;
9
+ designSystemPrefix: string;
8
10
  layoutRegistry: LayoutRegistry;
9
11
  private layoutElement;
10
12
  connectedCallback(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"layout-wrapper.d.ts","sourceRoot":"","sources":["../../../../src/workspace/layout-wrapper/layout-wrapper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AAKpC;;;GAGG;AACH,qBAIa,aAAc,SAAQ,WAAW;IACT,SAAS,EAAE,MAAM,CAAC;IAErC,cAAc,EAAE,cAAc,CAAC;IAE/C,OAAO,CAAC,aAAa,CAAoB;IAEzC,iBAAiB,IAAI,IAAI;IAIzB,oBAAoB,IAAI,IAAI;IAW5B,OAAO,CAAC,qBAAqB;CA6B9B"}
1
+ {"version":3,"file":"layout-wrapper.d.ts","sourceRoot":"","sources":["../../../../src/workspace/layout-wrapper/layout-wrapper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAuB,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAKpD;;;GAGG;AACH,qBAIa,aAAc,SAAQ,iBAAiB;IACf,SAAS,EAAE,MAAM,CAAC;IACR,kBAAkB,EAAE,MAAM,CAAW;IAElE,cAAc,EAAE,cAAc,CAAC;IAE/C,OAAO,CAAC,aAAa,CAAiC;IAEtD,iBAAiB,IAAI,IAAI;IAKzB,oBAAoB,IAAI,IAAI;IAY5B,OAAO,CAAC,qBAAqB;CA8B9B"}
@@ -1,4 +1,4 @@
1
- import type { ViewTemplate } from '@microsoft/fast-element';
1
+ import { ViewTemplate } from '@genesislcap/web-core';
2
2
  import type { LayoutWrapper } from './layout-wrapper';
3
3
  export declare const LayoutWrapperTemplate: ViewTemplate<LayoutWrapper>;
4
4
  //# sourceMappingURL=layout-wrapper.template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"layout-wrapper.template.d.ts","sourceRoot":"","sources":["../../../../src/workspace/layout-wrapper/layout-wrapper.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,eAAO,MAAM,qBAAqB,EAAE,YAAY,CAAC,aAAa,CAE7D,CAAC"}
1
+ {"version":3,"file":"layout-wrapper.template.d.ts","sourceRoot":"","sources":["../../../../src/workspace/layout-wrapper/layout-wrapper.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,eAAO,MAAM,qBAAqB,EAAE,YAAY,CAAC,aAAa,CAE7D,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { SerialisedLayout } from '@genesislcap/foundation-layout';
1
2
  /**
2
3
  * Workspace persistence types.
3
4
  * Layout and column state use generic shapes so consumers can use foundation-layout and ag-grid types.
@@ -20,6 +21,6 @@ export interface SavedFilterValue {
20
21
  */
21
22
  export interface SavedLayout {
22
23
  layoutKey: string;
23
- layout: unknown;
24
+ layout: SerialisedLayout;
24
25
  }
25
26
  //# sourceMappingURL=workspace.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"workspace.types.d.ts","sourceRoot":"","sources":["../../../src/workspace/workspace.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,GAAG,EAAE,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;CACjB"}
1
+ {"version":3,"file":"workspace.types.d.ts","sourceRoot":"","sources":["../../../src/workspace/workspace.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAEvE;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,GAAG,EAAE,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,gBAAgB,CAAC;CAC1B"}
@@ -1,4 +1,4 @@
1
- import type { Container } from '@microsoft/fast-foundation';
1
+ import type { Container } from '@genesislcap/web-core';
2
2
  /**
3
3
  * Registration object for workspace-related components.
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"workspace-components.d.ts","sourceRoot":"","sources":["../../src/workspace-components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAM5D;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB;;8BAEN,SAAS,YAAY,GAAG,EAAE;;;8BAO1B,SAAS,YAAY,GAAG,EAAE;;;8BAM1B,SAAS,YAAY,GAAG,EAAE;;yBAK7B,SAAS,WAAW,GAAG,EAAE;CAgB/C,CAAC"}
1
+ {"version":3,"file":"workspace-components.d.ts","sourceRoot":"","sources":["../../src/workspace-components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAMvD;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB;;8BAEN,SAAS,YAAY,GAAG,EAAE;;;8BAO1B,SAAS,YAAY,GAAG,EAAE;;;8BAM1B,SAAS,YAAY,GAAG,EAAE;;yBAK7B,SAAS,WAAW,GAAG,EAAE;CAgB/C,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { Auth, Connect } from '@genesislcap/foundation-comms';
2
2
  import { Modal } from '@genesislcap/foundation-ui';
3
- import { FoundationElement } from '@microsoft/fast-foundation';
3
+ import { FoundationElement } from '@genesislcap/web-core';
4
4
  import { LayoutRegistry, GridRegistry, FilterRegistry, WorkspaceState, type SavedWorkspace, type SharedWorkspace } from '../workspace';
5
5
  /**
6
6
  * Workspace load mode.
@@ -33,6 +33,7 @@ export declare class WorkspaceManager extends FoundationElement {
33
33
  connect: Connect;
34
34
  auth: Auth;
35
35
  canShareWorkspace: boolean;
36
+ private readonly sharedWorkspacesEnabled;
36
37
  private sanitizeDescription;
37
38
  updateWorkspaceDescription(raw: string): void;
38
39
  private setDescriptionFromSelectedWorkspace;
@@ -1 +1 @@
1
- {"version":3,"file":"workspace-manager.d.ts","sourceRoot":"","sources":["../../../src/workspace-manager/workspace-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAK9D,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAEnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EACL,cAAc,EACd,YAAY,EACZ,cAAc,EACd,cAAc,EACd,KAAK,cAAc,EACnB,KAAK,eAAe,EAErB,MAAM,cAAc,CAAC;AAOtB;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,QAAQ,CAAC;AAEvC;;;GAGG;AACH,qBAKa,gBAAiB,SAAQ,iBAAiB;IACzC,aAAa,EAAE,MAAM,CAAM;IAC3B,oBAAoB,EAAE,MAAM,CAAM;IAClC,eAAe,EAAE,cAAc,EAAE,CAAM;IACvC,gBAAgB,EAAE,eAAe,EAAE,CAAM;IACzC,SAAS,EAAE,OAAO,CAAS;IAC3B,iBAAiB,EAAE,OAAO,CAAS;IACnC,QAAQ,EAAE,QAAQ,CAAQ;IAC1B,SAAS,EAAE,KAAK,CAAC;IACjB,SAAS,EAAE,KAAK,CAAC;IACjB,QAAQ,EAAE,QAAQ,GAAG,WAAW,GAAG,QAAQ,CAAY;IACvD,4BAA4B,EAAE,MAAM,CAAM;IAC1C,gBAAgB,EAAE,MAAM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EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAU3D,OAAO,CAAC,sBAAsB;IAoB9B,sBAAsB,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI;IAW7C,qBAAqB,CAAC,eAAe,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IA0CtE,qBAAqB,CAAC,eAAe,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAmB5E,4BAA4B,CAAC,eAAe,EAAE,eAAe,GAAG,IAAI;IAa9D,sBAAsB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAiC5D,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAUrC,mBAAmB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO;IAInD,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI;IAczD,mCAAmC,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI;IAM7E,cAAc,IAAI,IAAI;IAOtB,eAAe,IAAI,IAAI;IAMvB,eAAe,IAAI,IAAI;CAGxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"workspace-manager.styles.d.ts","sourceRoot":"","sources":["../../../src/workspace-manager/workspace-manager.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,iDAwIlC,CAAC"}
1
+ {"version":3,"file":"workspace-manager.styles.d.ts","sourceRoot":"","sources":["../../../src/workspace-manager/workspace-manager.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,iDAiHlC,CAAC"}
@@ -1,4 +1,8 @@
1
+ import { ViewTemplate } from '@genesislcap/web-core';
1
2
  import type { WorkspaceManager } from './workspace-manager';
2
3
  export declare const WORKSPACE_DESCRIPTION_MAX = 200;
3
- export declare const WorkspaceManagerTemplate: import("@microsoft/fast-element").ViewTemplate<WorkspaceManager, any>;
4
+ export declare const workspaceHeaderPartial: ViewTemplate<WorkspaceManager>;
5
+ export declare const workspaceSaveModalPartial: ViewTemplate<WorkspaceManager>;
6
+ export declare const workspaceLoadModalPartial: ViewTemplate<WorkspaceManager>;
7
+ export declare const WorkspaceManagerTemplate: ViewTemplate<WorkspaceManager, any>;
4
8
  //# sourceMappingURL=workspace-manager.template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"workspace-manager.template.d.ts","sourceRoot":"","sources":["../../../src/workspace-manager/workspace-manager.template.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,yBAAyB,MAAM,CAAC;AAE7C,eAAO,MAAM,wBAAwB,uEAwVpC,CAAC"}
1
+ {"version":3,"file":"workspace-manager.template.d.ts","sourceRoot":"","sources":["../../../src/workspace-manager/workspace-manager.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAuC,YAAY,EAAQ,MAAM,uBAAuB,CAAC;AAEhG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,yBAAyB,MAAM,CAAC;AAE7C,eAAO,MAAM,sBAAsB,EAAE,YAAY,CAAC,gBAAgB,CAWjE,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,YAAY,CAAC,gBAAgB,CAyNpE,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,YAAY,CAAC,gBAAgB,CA8HpE,CAAC;AAEF,eAAO,MAAM,wBAAwB,qCAEpC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { DI } from '@microsoft/fast-foundation';
1
+ import { DI } from '@genesislcap/web-core';
2
2
  /**
3
3
  * @alpha
4
4
  */
@@ -1,47 +1,51 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
- import { attr, customElement } from '@microsoft/fast-element';
3
- import { GridRegistry, WorkspaceState } from '..';
2
+ import { FoundationElement, attr, customElement } from '@genesislcap/web-core';
3
+ import { GridRegistry } from '../grid-registry';
4
+ import { WorkspaceState } from '../workspace-state';
4
5
  import { GridRegisterTemplate as template } from './grid-register.template';
5
6
  const name = 'grid-register';
6
7
  /**
7
8
  * Registers an AG Grid instance so workspace state can apply/load it.
8
9
  * @alpha
9
10
  */
10
- let GridRegister = class GridRegister extends HTMLElement {
11
+ let GridRegister = class GridRegister extends FoundationElement {
11
12
  constructor() {
12
13
  super(...arguments);
14
+ this.designSystemPrefix = 'rapid';
13
15
  this.gridElement = null;
14
16
  this.gridApi = null;
15
17
  this.columnApi = null;
16
- this.workspaceSettingsApplied = false;
17
18
  this.handleGridReady = () => {
18
19
  this.attachToGridApis();
19
20
  };
20
21
  }
21
22
  connectedCallback() {
23
+ super.connectedCallback();
22
24
  this.findAndRegisterGrid();
23
25
  }
24
26
  disconnectedCallback() {
27
+ super.disconnectedCallback();
25
28
  if (this.gridKey) {
26
29
  this.gridRegistry.unregisterGrid(this.gridKey);
27
30
  }
28
31
  this.detachFromGridApis();
29
32
  }
30
33
  findAndRegisterGrid() {
31
- this.gridElement = this.querySelector('rapid-grid-pro');
34
+ const gridTag = `${this.designSystemPrefix}-grid-pro`;
35
+ this.gridElement = this.querySelector(gridTag);
32
36
  if (this.gridElement) {
33
37
  this.gridElement.addEventListener('gridReady', this.handleGridReady);
34
38
  this.attachToGridApis();
35
39
  }
36
40
  else {
37
41
  setTimeout(() => {
38
- this.gridElement = this.querySelector('rapid-grid-pro');
42
+ this.gridElement = this.querySelector(gridTag);
39
43
  if (this.gridElement) {
40
44
  this.gridElement.addEventListener('gridReady', this.handleGridReady);
41
45
  this.attachToGridApis();
42
46
  }
43
47
  else {
44
- console.warn(`grid-register: rapid-grid-pro element not found`);
48
+ console.warn(`grid-register: ${gridTag} element not found`);
45
49
  }
46
50
  }, 100);
47
51
  }
@@ -60,19 +64,16 @@ let GridRegister = class GridRegister extends HTMLElement {
60
64
  }
61
65
  this.gridApi = gridApi;
62
66
  this.columnApi = columnApi;
63
- const effectiveGridKey = persistKey;
64
- if (!effectiveGridKey) {
67
+ if (!persistKey) {
65
68
  console.warn('grid-register: missing persist-column-state-key; grid state will not be saved');
66
69
  }
67
70
  else {
68
- this.gridRegistry.registerGrid(effectiveGridKey, gridApi, columnApi);
69
- this.gridKey = effectiveGridKey;
70
- }
71
- if (!this.workspaceSettingsApplied && this.gridApi) {
72
- this.loadWorkspaceColumnState().catch((error) => {
73
- console.warn(`Failed to apply column state for ${this.gridKey} on gridReady:`, error);
74
- });
71
+ this.gridRegistry.registerGrid(persistKey, gridApi, columnApi);
72
+ this.gridKey = persistKey;
75
73
  }
74
+ this.loadWorkspaceColumnState().catch((error) => {
75
+ console.warn(`Failed to apply column state for ${this.gridKey} on gridReady:`, error);
76
+ });
76
77
  }
77
78
  detachFromGridApis() {
78
79
  if (this.gridElement && this.handleGridReady) {
@@ -121,6 +122,9 @@ let GridRegister = class GridRegister extends HTMLElement {
121
122
  __decorate([
122
123
  attr({ attribute: 'grid-key' })
123
124
  ], GridRegister.prototype, "gridKey", void 0);
125
+ __decorate([
126
+ attr({ attribute: 'design-system-prefix' })
127
+ ], GridRegister.prototype, "designSystemPrefix", void 0);
124
128
  __decorate([
125
129
  GridRegistry
126
130
  ], GridRegister.prototype, "gridRegistry", void 0);
@@ -1,4 +1,4 @@
1
- import { html } from '@microsoft/fast-element';
1
+ import { html } from '@genesislcap/web-core';
2
2
  export const GridRegisterTemplate = html `
3
3
  <slot></slot>
4
4
  `;
@@ -1,5 +1,5 @@
1
1
  import { __awaiter } from "tslib";
2
- import { DI } from '@microsoft/fast-foundation';
2
+ import { DI } from '@genesislcap/web-core';
3
3
  /**
4
4
  * @alpha
5
5
  */
@@ -40,8 +40,9 @@ export class DefaultGridRegistry {
40
40
  }
41
41
  applyGridSettings(gridSetting, options) {
42
42
  return __awaiter(this, void 0, void 0, function* () {
43
+ var _a, _b, _c, _d, _e;
43
44
  const gridRegistration = this.grids.get(gridSetting.gridKey);
44
- if (!gridRegistration || !gridRegistration.columnApi || !gridRegistration.gridApi) {
45
+ if (!gridRegistration || (!gridRegistration.columnApi && !gridRegistration.gridApi)) {
45
46
  return false;
46
47
  }
47
48
  const hasColumnState = gridSetting.columnState && gridSetting.columnState.length > 0;
@@ -53,10 +54,19 @@ export class DefaultGridRegistry {
53
54
  }
54
55
  try {
55
56
  if (shouldApplyColumns) {
56
- gridRegistration.columnApi.applyColumnState({
57
- state: gridSetting.columnState,
58
- applyOrder: true,
59
- });
57
+ // Prefer Grid API if available, otherwise fall back to Column API.
58
+ // (AG Grid's Column API definitely supports applyColumnState; this is defensive.)
59
+ const applyColumnStateFn = (_c = (_b = (_a = gridRegistration.gridApi) === null || _a === void 0 ? void 0 : _a.applyColumnState) === null || _b === void 0 ? void 0 : _b.bind(gridRegistration.gridApi)) !== null && _c !== void 0 ? _c : (_e = (_d = gridRegistration.columnApi) === null || _d === void 0 ? void 0 : _d.applyColumnState) === null || _e === void 0 ? void 0 : _e.bind(gridRegistration.columnApi);
60
+ if (applyColumnStateFn) {
61
+ applyColumnStateFn({
62
+ state: gridSetting.columnState,
63
+ applyOrder: true,
64
+ });
65
+ }
66
+ else {
67
+ console.warn(`GridRegistry: applyColumnState not found for ${gridSetting.gridKey} (gridApi/columnApi)`);
68
+ return false;
69
+ }
60
70
  }
61
71
  return true;
62
72
  }
@@ -67,7 +77,7 @@ export class DefaultGridRegistry {
67
77
  });
68
78
  }
69
79
  applyAllGridsSettings(gridsSettings_1) {
70
- return __awaiter(this, arguments, void 0, function* (gridsSettings, maxRetries = 3, delayMs = 200) {
80
+ return __awaiter(this, arguments, void 0, function* (gridsSettings, maxRetries = 3) {
71
81
  // eslint-disable-next-line no-plusplus
72
82
  for (let attempt = 0; attempt < maxRetries; attempt++) {
73
83
  const remainingSettings = [];
@@ -81,15 +91,16 @@ export class DefaultGridRegistry {
81
91
  if (remainingSettings.length === 0 || attempt >= maxRetries - 1) {
82
92
  break;
83
93
  }
84
- // await new Promise((resolve) => setTimeout(resolve, delayMs));
85
94
  gridsSettings = remainingSettings;
86
95
  }
87
96
  });
88
97
  }
89
98
  getGridSettings(gridKey, grid) {
90
- var _a;
99
+ var _a, _b, _c, _d;
91
100
  if (grid) {
92
- const columnState = (_a = grid.columnApi) === null || _a === void 0 ? void 0 : _a.getColumnState();
101
+ // Prefer Grid API if available, otherwise fall back to Column API.
102
+ // (AG Grid's Column state is typically on ColumnApi; this is defensive.)
103
+ const columnState = (_c = (_b = (_a = grid.gridApi) === null || _a === void 0 ? void 0 : _a.getColumnState) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : (_d = grid.columnApi) === null || _d === void 0 ? void 0 : _d.getColumnState();
93
104
  const columnCount = (columnState === null || columnState === void 0 ? void 0 : columnState.length) || 0;
94
105
  console.log(`Saved grid settings for ${gridKey}: ${columnCount} columns`);
95
106
  return {
@@ -1,5 +1,6 @@
1
1
  import { __awaiter } from "tslib";
2
- import { DI } from '@microsoft/fast-foundation';
2
+ import { DI } from '@genesislcap/web-core';
3
+ const LAYOUT_DELAY = 300;
3
4
  /**
4
5
  * Default layout registry implementation.
5
6
  * @alpha
@@ -34,7 +35,9 @@ export class DefaultLayoutRegistry {
34
35
  console.warn(`layout for ${s.layoutKey} not found`);
35
36
  }
36
37
  });
37
- // await new Promise((resolve) => setTimeout(resolve, 300));
38
+ yield new Promise((resolve) => {
39
+ setTimeout(resolve, LAYOUT_DELAY);
40
+ });
38
41
  });
39
42
  }
40
43
  }
@@ -1,33 +1,37 @@
1
1
  import { __decorate } from "tslib";
2
- import { attr, customElement } from '@microsoft/fast-element';
3
- import { LayoutRegistry } from '..';
2
+ import { FoundationElement, attr, customElement } from '@genesislcap/web-core';
3
+ import { LayoutRegistry } from '../layout-registry';
4
4
  import { LayoutWrapperTemplate as template } from './layout-wrapper.template';
5
5
  const name = 'layout-register';
6
6
  /**
7
7
  * Registers a layout instance so workspace state can apply/load it.
8
8
  * @alpha
9
9
  */
10
- let LayoutWrapper = class LayoutWrapper extends HTMLElement {
10
+ let LayoutWrapper = class LayoutWrapper extends FoundationElement {
11
11
  constructor() {
12
12
  super(...arguments);
13
+ this.designSystemPrefix = 'rapid';
13
14
  this.layoutElement = null;
14
15
  }
15
16
  connectedCallback() {
17
+ super.connectedCallback();
16
18
  this.findAndRegisterLayout();
17
19
  }
18
20
  disconnectedCallback() {
19
21
  var _a, _b, _c, _d, _e;
22
+ super.disconnectedCallback();
20
23
  const layoutKey = (_e = (_b = (_a = this.layoutElement) === null || _a === void 0 ? void 0 : _a.autoSaveKey) !== null && _b !== void 0 ? _b : (_d = (_c = this.layoutElement) === null || _c === void 0 ? void 0 : _c.getAttribute) === null || _d === void 0 ? void 0 : _d.call(_c, 'auto-save-key')) !== null && _e !== void 0 ? _e : this.layoutKey;
21
24
  if (layoutKey) {
22
25
  this.layoutRegistry.unregisterLayout(layoutKey);
23
26
  }
24
27
  }
25
28
  findAndRegisterLayout() {
26
- let layoutElement = this.querySelector('rapid-layout');
29
+ const layoutTag = `${this.designSystemPrefix}-layout`;
30
+ let layoutElement = this.querySelector(layoutTag);
27
31
  const registerLayout = (layout) => {
28
32
  var _a, _b, _c;
29
33
  if (!layout) {
30
- console.warn(`layout-register: rapid-layout element not found`);
34
+ console.warn(`layout-register: ${layoutTag} element not found`);
31
35
  return;
32
36
  }
33
37
  this.layoutElement = layout;
@@ -43,7 +47,7 @@ let LayoutWrapper = class LayoutWrapper extends HTMLElement {
43
47
  }
44
48
  else {
45
49
  setTimeout(() => {
46
- layoutElement = this.querySelector('rapid-layout');
50
+ layoutElement = this.querySelector(layoutTag);
47
51
  registerLayout(layoutElement);
48
52
  }, 100);
49
53
  }
@@ -52,6 +56,9 @@ let LayoutWrapper = class LayoutWrapper extends HTMLElement {
52
56
  __decorate([
53
57
  attr({ attribute: 'layout-key' })
54
58
  ], LayoutWrapper.prototype, "layoutKey", void 0);
59
+ __decorate([
60
+ attr({ attribute: 'design-system-prefix' })
61
+ ], LayoutWrapper.prototype, "designSystemPrefix", void 0);
55
62
  __decorate([
56
63
  LayoutRegistry
57
64
  ], LayoutWrapper.prototype, "layoutRegistry", void 0);
@@ -1,4 +1,4 @@
1
- import { html } from '@microsoft/fast-element';
1
+ import { html } from '@genesislcap/web-core';
2
2
  export const LayoutWrapperTemplate = html `
3
3
  <slot></slot>
4
4
  `;
@@ -1,6 +1,6 @@
1
1
  import { __awaiter, __decorate, __param } from "tslib";
2
2
  import { Auth, KVStorage, } from '@genesislcap/foundation-comms';
3
- import { DI } from '@microsoft/fast-foundation';
3
+ import { DI } from '@genesislcap/web-core';
4
4
  /**
5
5
  * Default workspace persistence implementation backed by KVStorage.
6
6
  *