@genesislcap/foundation-layout 14.408.0 → 14.409.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/README.md +12 -135
- package/package.json +15 -15
- package/docs/api/foundation-layout.componentfactory.md +0 -46
- package/docs/api/foundation-layout.custombutton.md +0 -21
- package/docs/api/foundation-layout.default_reload_buffer.md +0 -15
- package/docs/api/foundation-layout.foundationlayout.additem.md +0 -80
- package/docs/api/foundation-layout.foundationlayout.autosavekey.md +0 -13
- package/docs/api/foundation-layout.foundationlayout.class.md +0 -18
- package/docs/api/foundation-layout.foundationlayout.clearautosaveandreverttodefault.md +0 -25
- package/docs/api/foundation-layout.foundationlayout.custombuttons.md +0 -18
- package/docs/api/foundation-layout.foundationlayout.dimensionsconfig.md +0 -13
- package/docs/api/foundation-layout.foundationlayout.dragging.md +0 -13
- package/docs/api/foundation-layout.foundationlayout.getlayout.md +0 -23
- package/docs/api/foundation-layout.foundationlayout.hasfirstloaded.md +0 -20
- package/docs/api/foundation-layout.foundationlayout.layoutrequiredregistrations.md +0 -64
- package/docs/api/foundation-layout.foundationlayout.lifecycleupdatetoken.md +0 -18
- package/docs/api/foundation-layout.foundationlayout.loadlayout.md +0 -96
- package/docs/api/foundation-layout.foundationlayout.md +0 -400
- package/docs/api/foundation-layout.foundationlayout.missingitemplaceholder.md +0 -13
- package/docs/api/foundation-layout.foundationlayout.popoutconfig.md +0 -16
- package/docs/api/foundation-layout.foundationlayout.registereditems.md +0 -23
- package/docs/api/foundation-layout.foundationlayout.registeritem.md +0 -108
- package/docs/api/foundation-layout.foundationlayout.reloadbuffer.md +0 -13
- package/docs/api/foundation-layout.foundationlayout.removeitems.md +0 -76
- package/docs/api/foundation-layout.foundationlayout.tryactivatepopoutmode.md +0 -26
- package/docs/api/foundation-layout.foundationlayout.tryloadlayoutfromlocalstorage.md +0 -27
- package/docs/api/foundation-layout.foundationlayoutcomponents.md +0 -47
- package/docs/api/foundation-layout.foundationlayoutitem.closable.md +0 -13
- package/docs/api/foundation-layout.foundationlayoutitem.md +0 -126
- package/docs/api/foundation-layout.foundationlayoutitem.registration.md +0 -36
- package/docs/api/foundation-layout.foundationlayoutitem.size.md +0 -13
- package/docs/api/foundation-layout.foundationlayoutitem.title.md +0 -18
- package/docs/api/foundation-layout.foundationlayoutregion.md +0 -86
- package/docs/api/foundation-layout.foundationlayoutregion.size.md +0 -13
- package/docs/api/foundation-layout.foundationlayoutregion.type.md +0 -13
- package/docs/api/foundation-layout.getfactory.md +0 -56
- package/docs/api/foundation-layout.layout_icons.md +0 -34
- package/docs/api/foundation-layout.layout_popout_container_class.md +0 -16
- package/docs/api/foundation-layout.layout_popout_control_key.md +0 -16
- package/docs/api/foundation-layout.layoutcomponentwithstate.applystate.md +0 -52
- package/docs/api/foundation-layout.layoutcomponentwithstate.getcurrentstate.md +0 -17
- package/docs/api/foundation-layout.layoutcomponentwithstate.md +0 -105
- package/docs/api/foundation-layout.layoutemitevents.md +0 -20
- package/docs/api/foundation-layout.layoutpopoutconfig.md +0 -22
- package/docs/api/foundation-layout.layoutreceiveevents.md +0 -18
- package/docs/api/foundation-layout.layoutreceiveeventsdetail.md +0 -21
- package/docs/api/foundation-layout.layoutregiontype.md +0 -13
- package/docs/api/foundation-layout.layoutregistrationerror._constructor_.md +0 -48
- package/docs/api/foundation-layout.layoutregistrationerror.md +0 -48
- package/docs/api/foundation-layout.layoutstyles.md +0 -18
- package/docs/api/foundation-layout.layouttemplate.md +0 -18
- package/docs/api/foundation-layout.layoutusageerror._constructor_.md +0 -48
- package/docs/api/foundation-layout.layoutusageerror.md +0 -48
- package/docs/api/foundation-layout.md +0 -373
- package/docs/api/foundation-layout.placement.md +0 -25
- package/docs/api/foundation-layout.registeredelementconfig.closable.md +0 -11
- package/docs/api/foundation-layout.registeredelementconfig.md +0 -136
- package/docs/api/foundation-layout.registeredelementconfig.registration.md +0 -11
- package/docs/api/foundation-layout.registeredelementconfig.showmaximisebutton.md +0 -11
- package/docs/api/foundation-layout.registeredelementconfig.size.md +0 -11
- package/docs/api/foundation-layout.registeredelementconfig.title.md +0 -11
- package/docs/api/foundation-layout.registerfactory.md +0 -94
- package/docs/api/foundation-layout.serialisedlayout.md +0 -26
- package/docs/api/foundation-layout.unregisterfactory.md +0 -63
- package/docs/api/index.md +0 -30
- package/docs/api-report.md.api.md +0 -278
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [SerialisedLayout](./foundation-layout.serialisedlayout.md)
|
|
4
|
-
|
|
5
|
-
## SerialisedLayout type
|
|
6
|
-
|
|
7
|
-
Versioned layout config objects. `v` is the version and `c` contains the layout config.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type SerialisedLayout = {
|
|
13
|
-
v: '1';
|
|
14
|
-
c: ResolvedLayoutConfig;
|
|
15
|
-
popouts?: {
|
|
16
|
-
[layoutKey: string]: PopoutState;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Remarks
|
|
22
|
-
|
|
23
|
-
Versioning the layout config in this way allows changes to the config schema while remaining backwards compatible with any existing client/user configurations. When loading an older version of the configurations the version can be used to lookup and apply transformer functions to get the newest version of the config from it.
|
|
24
|
-
|
|
25
|
-
As more versions of configurations are added this type will have extra union types as part of SerialisedLayout.
|
|
26
|
-
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [unregisterFactory](./foundation-layout.unregisterfactory.md)
|
|
4
|
-
|
|
5
|
-
## unregisterFactory() function
|
|
6
|
-
|
|
7
|
-
Removes a factory from the registry. This is useful for cleanup when a component is unmounted or no longer needed.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare function unregisterFactory(key: string): boolean;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
key
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
string
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The unique identifier for the factory to remove.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
boolean
|
|
54
|
-
|
|
55
|
-
True if the factory was found and removed, false otherwise.
|
|
56
|
-
|
|
57
|
-
## Example
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
```typescript
|
|
61
|
-
unregisterFactory('my-component');
|
|
62
|
-
```
|
|
63
|
-
|
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-layout](./foundation-layout.md)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
</td><td>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</td></tr>
|
|
29
|
-
</tbody></table>
|
|
30
|
-
|
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
## API Report File for "@genesislcap/foundation-layout"
|
|
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 type { Container } from '@microsoft/fast-foundation';
|
|
8
|
-
import { ElementStyles } from '@microsoft/fast-element';
|
|
9
|
-
import { FASTElement } from '@microsoft/fast-element';
|
|
10
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
11
|
-
import { FoundationElementRegistry } from '@microsoft/fast-foundation';
|
|
12
|
-
import { LayoutConfig } from '@genesis-community/golden-layout';
|
|
13
|
-
import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
14
|
-
import { ResolvedLayoutConfig } from '@genesis-community/golden-layout';
|
|
15
|
-
import { RootItemConfig } from '@genesis-community/golden-layout';
|
|
16
|
-
import { ViewTemplate } from '@microsoft/fast-element';
|
|
17
|
-
|
|
18
|
-
// @public
|
|
19
|
-
export type ComponentFactory = (container: HTMLElement) => void | (() => void);
|
|
20
|
-
|
|
21
|
-
// @public
|
|
22
|
-
export type CustomButton = {
|
|
23
|
-
svg: string;
|
|
24
|
-
onClick: (button: HTMLElement, element: HTMLElement) => void;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
// @public
|
|
28
|
-
export const DEFAULT_RELOAD_BUFFER = 500;
|
|
29
|
-
|
|
30
|
-
// Warning: (ae-forgotten-export) The symbol "LayoutComponent" needs to be exported by the entry point index.d.ts
|
|
31
|
-
//
|
|
32
|
-
// @public
|
|
33
|
-
export class FoundationLayout extends FoundationElement implements LayoutComponent {
|
|
34
|
-
// @internal (undocumented)
|
|
35
|
-
[componentType]: "root";
|
|
36
|
-
// @internal
|
|
37
|
-
constructor();
|
|
38
|
-
addItem(config: RegisteredElementConfig | RegisteredElementConfig[], placement?: Placement): void;
|
|
39
|
-
// @internal
|
|
40
|
-
addItemFromChild<T extends RootItemConfig>(item: T): T;
|
|
41
|
-
autoSaveKey?: string;
|
|
42
|
-
// @internal
|
|
43
|
-
cacheElementsAndRegister(config: RegistrationConfig): string;
|
|
44
|
-
class: "FoundationLayoutMain";
|
|
45
|
-
clearAutosaveAndRevertToDefault(): boolean;
|
|
46
|
-
// @internal (undocumented)
|
|
47
|
-
connectedCallback(): void;
|
|
48
|
-
customButtons: CustomButton[];
|
|
49
|
-
// @internal (undocumented)
|
|
50
|
-
customTokensMapChanged(): void;
|
|
51
|
-
dimensionsConfig?: LayoutConfig.Dimensions;
|
|
52
|
-
// @internal (undocumented)
|
|
53
|
-
disconnectedCallback(): void;
|
|
54
|
-
dragging: boolean;
|
|
55
|
-
getLayout(): SerialisedLayout;
|
|
56
|
-
hasFirstLoaded: boolean;
|
|
57
|
-
// @internal (undocumented)
|
|
58
|
-
layoutElement: HTMLElement;
|
|
59
|
-
static layoutRequiredRegistrations(layout: SerialisedLayout): string[];
|
|
60
|
-
lifecycleUpdateToken: string | undefined;
|
|
61
|
-
loadLayout(layout: SerialisedLayout, handleMissingItem?: 'placeholder' | 'error', disableCache?: boolean): void;
|
|
62
|
-
missingItemPlaceholder: (missingItem: string) => string;
|
|
63
|
-
// @beta
|
|
64
|
-
popoutConfig: LayoutPopoutConfig | undefined;
|
|
65
|
-
// Warning: (ae-forgotten-export) The symbol "FoundationLayoutPopoutController" needs to be exported by the entry point index.d.ts
|
|
66
|
-
//
|
|
67
|
-
// @internal (undocumented)
|
|
68
|
-
popoutController: FoundationLayoutPopoutController;
|
|
69
|
-
// @internal (undocumented)
|
|
70
|
-
popupMode: boolean;
|
|
71
|
-
registeredItems(): string[];
|
|
72
|
-
registerItem(registration: string, elementsOrFactory: Element[] | ComponentFactory): string;
|
|
73
|
-
reloadBuffer: number;
|
|
74
|
-
removeItems(registration: string, force?: boolean): number;
|
|
75
|
-
// @internal
|
|
76
|
-
requestLayoutReload(): void;
|
|
77
|
-
// @beta
|
|
78
|
-
tryActivatePopoutMode(): boolean;
|
|
79
|
-
tryLoadLayoutFromLocalStorage(): boolean;
|
|
80
|
-
// @internal (undocumented)
|
|
81
|
-
usingDeclerativeAPI: boolean;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// @public
|
|
85
|
-
export const foundationLayoutComponents: {
|
|
86
|
-
foundationLayout: (overrideDefinition?: OverrideFoundationElementDefinition< {
|
|
87
|
-
baseName: string;
|
|
88
|
-
styles: ElementStyles;
|
|
89
|
-
template: ViewTemplate<FoundationLayout, any>;
|
|
90
|
-
}>) => FoundationElementRegistry< {
|
|
91
|
-
baseName: string;
|
|
92
|
-
styles: ElementStyles;
|
|
93
|
-
template: ViewTemplate<FoundationLayout, any>;
|
|
94
|
-
}, FoundationLayout>;
|
|
95
|
-
foundationLayoutRegion: (overrideDefinition?: OverrideFoundationElementDefinition< {
|
|
96
|
-
baseName: string;
|
|
97
|
-
template: ViewTemplate<any, any>;
|
|
98
|
-
}>) => FoundationElementRegistry< {
|
|
99
|
-
baseName: string;
|
|
100
|
-
template: ViewTemplate<any, any>;
|
|
101
|
-
}, FoundationLayoutRegion>;
|
|
102
|
-
foundationLayoutItem: (overrideDefinition?: OverrideFoundationElementDefinition< {
|
|
103
|
-
baseName: string;
|
|
104
|
-
template: ViewTemplate<any, any>;
|
|
105
|
-
}>) => FoundationElementRegistry< {
|
|
106
|
-
baseName: string;
|
|
107
|
-
template: ViewTemplate<any, any>;
|
|
108
|
-
}, FoundationLayoutItem>;
|
|
109
|
-
register(container?: Container, ...rest: any[]): void;
|
|
110
|
-
};
|
|
111
|
-
|
|
112
|
-
// @public
|
|
113
|
-
export class FoundationLayoutItem extends FoundationElement implements LayoutComponent {
|
|
114
|
-
// @internal (undocumented)
|
|
115
|
-
[componentType]: "item";
|
|
116
|
-
// @internal (undocumented)
|
|
117
|
-
cacheElementsAndRegister(config: RegistrationConfig): string;
|
|
118
|
-
closable: boolean;
|
|
119
|
-
// @internal (undocumented)
|
|
120
|
-
connectedCallback(): void;
|
|
121
|
-
registration: string;
|
|
122
|
-
// @internal (undocumented)
|
|
123
|
-
requestLayoutReload(): void;
|
|
124
|
-
size: string;
|
|
125
|
-
title: string;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
// @public
|
|
129
|
-
export class FoundationLayoutRegion extends FoundationElement implements LayoutComponent {
|
|
130
|
-
// @internal (undocumented)
|
|
131
|
-
[componentType]: LayoutRegionType;
|
|
132
|
-
// @internal (undocumented)
|
|
133
|
-
addItemFromChild<T extends RootItemConfig>(item: T): T;
|
|
134
|
-
// @internal (undocumented)
|
|
135
|
-
cacheElementsAndRegister(config: RegistrationConfig): string;
|
|
136
|
-
// @internal (undocumented)
|
|
137
|
-
connectedCallback(): void;
|
|
138
|
-
// @internal (undocumented)
|
|
139
|
-
requestLayoutReload(): void;
|
|
140
|
-
size: string;
|
|
141
|
-
type: LayoutRegionType;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
// @public
|
|
145
|
-
export function getFactory(key: string): ComponentFactory | undefined;
|
|
146
|
-
|
|
147
|
-
// @public
|
|
148
|
-
export const LAYOUT_ICONS: {
|
|
149
|
-
readonly renameSVG: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIHdpZHRoPSI0NTAiIGhlaWdodD0iNDUwIiB2aWV3Qm94PSIwIDAgNDUwIDQ1MCIgeG1sOnNwYWNlPSJw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DogYnV0dDsgc3Ryb2tlLWRhc2hvZmZzZXQ6IDA7IHN0cm9rZS1saW5lam9pbjogbWl0ZXI7IHN0cm9rZS1taXRlcmxpbWl0OiA0OyBpcy1jdXN0b20tZm9udDogbm9uZTsgZm9udC1maWxlLXVybDogbm9uZTsgZmlsbDogcmdiKDAsMCwwKTsgZmlsbC1vcGFjaXR5OiAwOyBmaWxsLXJ1bGU6IG5vbnplcm87IG9wYWNpdHk6IDE7IiB4PSItMTgiIHk9Ii0xOCIgcng9IjAiIHJ5PSIwIiB3aWR0aD0iMzYiIGhlaWdodD0iMzYiLz4gPC9nPiA8L2c+IDwvZz4gPC9zdmc+Cg==";
|
|
155
|
-
};
|
|
156
|
-
|
|
157
|
-
// @beta
|
|
158
|
-
export const LAYOUT_POPOUT_CONTAINER_CLASS = "f-layout-popout";
|
|
159
|
-
|
|
160
|
-
// @beta
|
|
161
|
-
export const LAYOUT_POPOUT_CONTROL_KEY = "f-layout-key";
|
|
162
|
-
|
|
163
|
-
// @public
|
|
164
|
-
export interface LayoutComponentWithState<T> {
|
|
165
|
-
applyState(state: T | null): void;
|
|
166
|
-
getCurrentState(): T;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
// @public
|
|
170
|
-
export const LayoutEmitEvents: {
|
|
171
|
-
readonly firstLoaded: "first-loaded";
|
|
172
|
-
readonly itemAdded: "item-added";
|
|
173
|
-
readonly itemRemoved: "item-removed";
|
|
174
|
-
readonly itemResized: "item-resized";
|
|
175
|
-
};
|
|
176
|
-
|
|
177
|
-
// @beta (undocumented)
|
|
178
|
-
export type LayoutPopoutConfig = {
|
|
179
|
-
channelName?: string;
|
|
180
|
-
loadAutomatically?: boolean;
|
|
181
|
-
popoutDimension?: {
|
|
182
|
-
width: number;
|
|
183
|
-
height: number;
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
// @public
|
|
188
|
-
export const LayoutReceiveEvents: {
|
|
189
|
-
readonly changeTitle: "change-title";
|
|
190
|
-
readonly autosave: "autosave";
|
|
191
|
-
};
|
|
192
|
-
|
|
193
|
-
// @public
|
|
194
|
-
export type LayoutReceiveEventsDetail = {
|
|
195
|
-
changeTitle: {
|
|
196
|
-
title: string;
|
|
197
|
-
mode: 'replace' | 'suffix';
|
|
198
|
-
};
|
|
199
|
-
autosave: void;
|
|
200
|
-
};
|
|
201
|
-
|
|
202
|
-
// Warning: (ae-forgotten-export) The symbol "layoutRegionValue" needs to be exported by the entry point index.d.ts
|
|
203
|
-
//
|
|
204
|
-
// @public
|
|
205
|
-
export type LayoutRegionType = (typeof layoutRegionValue)[number];
|
|
206
|
-
|
|
207
|
-
// @public (undocumented)
|
|
208
|
-
export class LayoutRegistrationError extends Error {
|
|
209
|
-
constructor(message: string);
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
// @public
|
|
213
|
-
export const layoutStyles: ElementStyles;
|
|
214
|
-
|
|
215
|
-
// @public
|
|
216
|
-
export const layoutTemplate: ViewTemplate<FoundationLayout, any>;
|
|
217
|
-
|
|
218
|
-
// @public (undocumented)
|
|
219
|
-
export class LayoutUsageError extends Error {
|
|
220
|
-
constructor(message: string);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
// @public
|
|
224
|
-
export type Placement = {
|
|
225
|
-
area: 'top' | 'left' | 'bottom' | 'right';
|
|
226
|
-
multiple?: {
|
|
227
|
-
type: LayoutRegionType;
|
|
228
|
-
size?: string;
|
|
229
|
-
};
|
|
230
|
-
};
|
|
231
|
-
|
|
232
|
-
// @public
|
|
233
|
-
export interface RegisteredElementConfig {
|
|
234
|
-
// (undocumented)
|
|
235
|
-
closable?: boolean;
|
|
236
|
-
// (undocumented)
|
|
237
|
-
registration: string;
|
|
238
|
-
// (undocumented)
|
|
239
|
-
showMaximiseButton?: boolean;
|
|
240
|
-
// (undocumented)
|
|
241
|
-
size?: string;
|
|
242
|
-
// (undocumented)
|
|
243
|
-
title?: string;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
// @public
|
|
247
|
-
export function registerFactory(key: string, factory: ComponentFactory): void;
|
|
248
|
-
|
|
249
|
-
// Warning: (ae-internal-missing-underscore) The name "RegistrationConfig" should be prefixed with an underscore because the declaration is marked as @internal
|
|
250
|
-
//
|
|
251
|
-
// @internal (undocumented)
|
|
252
|
-
export type RegistrationConfig = {
|
|
253
|
-
id?: string;
|
|
254
|
-
} & ({
|
|
255
|
-
elements: Element[];
|
|
256
|
-
} | {
|
|
257
|
-
factory: ComponentFactory;
|
|
258
|
-
});
|
|
259
|
-
|
|
260
|
-
// @public
|
|
261
|
-
export type SerialisedLayout = {
|
|
262
|
-
v: '1';
|
|
263
|
-
c: ResolvedLayoutConfig;
|
|
264
|
-
popouts?: {
|
|
265
|
-
[layoutKey: string]: PopoutState;
|
|
266
|
-
};
|
|
267
|
-
};
|
|
268
|
-
|
|
269
|
-
// @public
|
|
270
|
-
export function unregisterFactory(key: string): boolean;
|
|
271
|
-
|
|
272
|
-
// Warnings were encountered during analysis:
|
|
273
|
-
//
|
|
274
|
-
// src/utils/types.ts:56:5 - (ae-forgotten-export) The symbol "PopoutState" needs to be exported by the entry point index.d.ts
|
|
275
|
-
|
|
276
|
-
// (No @packageDocumentation comment for this package)
|
|
277
|
-
|
|
278
|
-
```
|