@genesislcap/foundation-layout 10.3.1 → 11.3.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 +98 -30
- package/dist/dts/index.d.ts +1 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/main/index.d.ts +0 -1
- package/dist/dts/main/index.d.ts.map +1 -1
- package/dist/dts/main/layout-components.d.ts +1 -1
- package/dist/dts/main/layout-item.d.ts +7 -7
- package/dist/dts/main/layout-item.d.ts.map +1 -1
- package/dist/dts/main/layout-main.d.ts +71 -16
- package/dist/dts/main/layout-main.d.ts.map +1 -1
- package/dist/dts/main/layout-region.d.ts +4 -4
- package/dist/dts/main/layout-region.d.ts.map +1 -1
- package/dist/dts/styles/layout.styles.d.ts +1 -1
- package/dist/dts/utils/constants.d.ts +6 -1
- package/dist/dts/utils/constants.d.ts.map +1 -1
- package/dist/dts/utils/error.d.ts +2 -2
- package/dist/dts/utils/events.d.ts +6 -3
- package/dist/dts/utils/events.d.ts.map +1 -1
- package/dist/dts/utils/index.d.ts +1 -0
- package/dist/dts/utils/index.d.ts.map +1 -1
- package/dist/dts/utils/logger.d.ts.map +1 -1
- package/dist/dts/utils/types.d.ts +8 -4
- package/dist/dts/utils/types.d.ts.map +1 -1
- package/dist/esm/index.federated.js +0 -1
- package/dist/esm/index.js +1 -2
- package/dist/esm/main/index.js +0 -2
- package/dist/esm/main/layout-components.js +2 -3
- package/dist/esm/main/layout-item.js +3 -4
- package/dist/esm/main/layout-main.js +148 -39
- package/dist/esm/main/layout-region.js +3 -4
- package/dist/esm/styles/constants.js +0 -1
- package/dist/esm/styles/dragging.styles.js +0 -1
- package/dist/esm/styles/index.js +0 -1
- package/dist/esm/styles/layout.styles.js +1 -2
- package/dist/esm/utils/constants.js +6 -2
- package/dist/esm/utils/error.js +2 -3
- package/dist/esm/utils/events.js +5 -3
- package/dist/esm/utils/index.js +1 -1
- package/dist/esm/utils/logger.js +0 -1
- package/dist/esm/utils/misc.js +0 -1
- package/dist/esm/utils/templates.js +0 -1
- package/dist/esm/utils/types.js +0 -1
- package/dist/foundation-layout.api.json +180 -73
- package/dist/foundation-layout.d.ts +98 -56
- package/docs/api/foundation-layout.default_reload_buffer.md +0 -3
- package/docs/api/foundation-layout.foundationlayout.additem.md +0 -3
- package/docs/api/foundation-layout.foundationlayout.autosavekey.md +13 -0
- package/docs/api/foundation-layout.foundationlayout.dragging.md +0 -3
- package/docs/api/foundation-layout.foundationlayout.getlayout.md +0 -3
- package/docs/api/foundation-layout.foundationlayout.layoutrequiredregistrations.md +0 -3
- package/docs/api/foundation-layout.foundationlayout.loadlayout.md +4 -6
- package/docs/api/foundation-layout.foundationlayout.md +11 -11
- package/docs/api/foundation-layout.foundationlayout.missingitemplaceholder.md +13 -0
- package/docs/api/foundation-layout.foundationlayout.registereditems.md +0 -3
- package/docs/api/foundation-layout.foundationlayout.registeritem.md +0 -3
- package/docs/api/foundation-layout.foundationlayout.reloadbuffer.md +0 -3
- package/docs/api/foundation-layout.foundationlayout.tryloadlayoutfromlocalstorage.md +27 -0
- package/docs/api/foundation-layout.foundationlayoutcomponents.md +0 -3
- package/docs/api/foundation-layout.foundationlayoutitem.closable.md +0 -3
- package/docs/api/foundation-layout.foundationlayoutitem.md +4 -7
- package/docs/api/foundation-layout.foundationlayoutitem.registration.md +1 -4
- package/docs/api/foundation-layout.foundationlayoutitem.size.md +0 -3
- package/docs/api/foundation-layout.foundationlayoutitem.title.md +0 -3
- package/docs/api/foundation-layout.foundationlayoutregion.md +2 -5
- package/docs/api/foundation-layout.foundationlayoutregion.size.md +0 -3
- package/docs/api/foundation-layout.foundationlayoutregion.type.md +0 -3
- package/docs/api/foundation-layout.layoutemitevents.md +2 -4
- package/docs/api/foundation-layout.layoutreceiveevents.md +0 -3
- package/docs/api/foundation-layout.layoutreceiveeventsdetail.md +0 -3
- package/docs/api/foundation-layout.layoutregiontype.md +0 -3
- package/docs/api/foundation-layout.layoutregistrationerror._constructor_.md +0 -3
- package/docs/api/foundation-layout.layoutregistrationerror.md +1 -4
- package/docs/api/foundation-layout.layoutstyles.md +0 -3
- package/docs/api/foundation-layout.layouttemplate.md +0 -3
- package/docs/api/foundation-layout.layoutusageerror._constructor_.md +0 -3
- package/docs/api/foundation-layout.layoutusageerror.md +1 -4
- package/docs/api/foundation-layout.md +16 -16
- package/docs/api/foundation-layout.placement.md +0 -3
- package/docs/api/foundation-layout.registeredelementconfig.closable.md +0 -3
- package/docs/api/foundation-layout.registeredelementconfig.md +4 -7
- package/docs/api/foundation-layout.registeredelementconfig.registration.md +0 -3
- package/docs/api/foundation-layout.registeredelementconfig.size.md +0 -3
- package/docs/api/foundation-layout.registeredelementconfig.title.md +0 -3
- package/docs/api/foundation-layout.serialisedlayout.md +0 -3
- package/docs/api-report.md +23 -65
- package/docs/img/foundation-layout-example.png +0 -0
- package/jsdom.setup.ts +1 -0
- package/package.json +22 -8
- package/playwright.config.ts +23 -0
- package/test/unit/setupRegisterForTests.ts +30 -0
- package/test/unit/test.ts +1 -0
- package/dist/1.0.0.remoteEntry.js +0 -1
- package/dist/191.191.106ece7a41ded6731029.js +0 -2
- package/dist/191.9a61143c2afb6057ad1bae886d5d1a6e.js.map +0 -1
- package/dist/259.09c601e5288d875caab4df1e2354c0ea.js.map +0 -1
- package/dist/259.259.216fcad43e9a38888e08.js +0 -2
- package/dist/415.415.094780a1a1162c7e5f1c.js +0 -3
- package/dist/415.415.094780a1a1162c7e5f1c.js.LICENSE.txt +0 -4
- package/dist/415.fcfb4f02eaecbfa31fc322639f244245.js.map +0 -1
- package/dist/459.459.6afc33f49546607f9227.js +0 -515
- package/dist/459.57760bcb7fc239af5b5953687ad192ff.js.map +0 -1
- package/dist/623.623.0e7e8f23454ee96ed9c8.js +0 -3
- package/dist/623.623.0e7e8f23454ee96ed9c8.js.LICENSE.txt +0 -4
- package/dist/623.e8f211473f9034c4157d362efb017821.js.map +0 -1
- package/dist/755.718e14af7194fb741f98580b24b2bb8f.js.map +0 -1
- package/dist/755.755.f93ee58c2b836a669ec4.js +0 -2
- package/dist/dashboard.json +0 -1
- package/dist/esm/index.federated.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/main/index.js.map +0 -1
- package/dist/esm/main/layout-components.js.map +0 -1
- package/dist/esm/main/layout-item.js.map +0 -1
- package/dist/esm/main/layout-main.js.map +0 -1
- package/dist/esm/main/layout-region.js.map +0 -1
- package/dist/esm/styles/constants.js.map +0 -1
- package/dist/esm/styles/dragging.styles.js.map +0 -1
- package/dist/esm/styles/index.js.map +0 -1
- package/dist/esm/styles/layout.styles.js.map +0 -1
- package/dist/esm/utils/constants.js.map +0 -1
- package/dist/esm/utils/error.js.map +0 -1
- package/dist/esm/utils/events.js.map +0 -1
- package/dist/esm/utils/index.js.map +0 -1
- package/dist/esm/utils/logger.js.map +0 -1
- package/dist/esm/utils/misc.js.map +0 -1
- package/dist/esm/utils/templates.js.map +0 -1
- package/dist/esm/utils/types.js.map +0 -1
- package/dist/favicon.ico +0 -0
- package/dist/foundationLayout.3cfa4a65fd1f4b6b3ab7671e3356db59.js.map +0 -1
- package/dist/index.ejs +0 -23
- package/dist/index.html +0 -15
- package/dist/info.ejs +0 -13
- package/dist/main.b0ddbf415137dc7a9e92.js +0 -2
- package/dist/main.f141788ee57f3820f1f4f0fc27368847.js.map +0 -1
- package/dist/npm.consola.713.b1e4073e73c71572987a.js +0 -2
- package/dist/npm.consola.a0d3324d3e61dcc430c3029da5f4dcc7.js.map +0 -1
- package/dist/npm.genesis-community.248.9c9900001dbc5ba9c3ed.js +0 -2
- package/dist/npm.genesis-community.2e0cc159dabe113d6fb29bb505c1a0d4.js.map +0 -1
- package/dist/npm.microsoft.127.00f16f24d8da8fd89263.js +0 -1469
- package/dist/npm.microsoft.127.00f16f24d8da8fd89263.js.LICENSE.txt +0 -14
- package/dist/npm.microsoft.be43958facd28231e770c1307660f64d.js.map +0 -1
- package/dist/remoteEntry.js +0 -2
- package/dist/serve.json +0 -3
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
{
|
|
176
176
|
"kind": "Variable",
|
|
177
177
|
"canonicalReference": "@genesislcap/foundation-layout!DEFAULT_RELOAD_BUFFER:var",
|
|
178
|
-
"docComment": "/**\n * Default time in milliseconds for the layout to buffer calls to reloading the layout while the declarative API is loading.\n *\n * During the first load of the layout, a loading spinner will be shown.\n *\n * @
|
|
178
|
+
"docComment": "/**\n * Default time in milliseconds for the layout to buffer calls to reloading the layout while the declarative API is loading.\n *\n * During the first load of the layout, a loading spinner will be shown.\n *\n * @public\n */\n",
|
|
179
179
|
"excerptTokens": [
|
|
180
180
|
{
|
|
181
181
|
"kind": "Content",
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"endIndex": 2
|
|
193
193
|
},
|
|
194
194
|
"isReadonly": true,
|
|
195
|
-
"releaseTag": "
|
|
195
|
+
"releaseTag": "Public",
|
|
196
196
|
"name": "DEFAULT_RELOAD_BUFFER",
|
|
197
197
|
"variableTypeTokenRange": {
|
|
198
198
|
"startIndex": 0,
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
{
|
|
203
203
|
"kind": "Class",
|
|
204
204
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout:class",
|
|
205
|
-
"docComment": "/**\n * Top level web component which is used to initialise a custom layout\n *\n * @remarks\n *\n * Can be used in a composition to customise the styles of the layout.\n *\n * The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `FoundationLayout` class.\n *\n * @
|
|
205
|
+
"docComment": "/**\n * Top level web component which is used to initialise a custom layout\n *\n * @remarks\n *\n * Can be used in a composition to customise the styles of the layout.\n *\n * The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `FoundationLayout` class.\n *\n * @public\n */\n",
|
|
206
206
|
"excerptTokens": [
|
|
207
207
|
{
|
|
208
208
|
"kind": "Content",
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
{
|
|
221
221
|
"kind": "Reference",
|
|
222
222
|
"text": "LayoutComponent",
|
|
223
|
-
"canonicalReference": "@genesislcap/foundation-layout
|
|
223
|
+
"canonicalReference": "@genesislcap/foundation-layout!~LayoutComponent:interface"
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
"kind": "Content",
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
}
|
|
229
229
|
],
|
|
230
230
|
"fileUrlPath": "src/main/layout-main.ts",
|
|
231
|
-
"releaseTag": "
|
|
231
|
+
"releaseTag": "Public",
|
|
232
232
|
"isAbstract": false,
|
|
233
233
|
"name": "FoundationLayout",
|
|
234
234
|
"preserveMemberOrder": false,
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
{
|
|
237
237
|
"kind": "Method",
|
|
238
238
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#addItem:member(1)",
|
|
239
|
-
"docComment": "/**\n * Dynamically add a new item to the layout. The user can move the new plane to whenever they want once it has been added.\n *\n * @remarks\n *\n * Adding a new item invokes the registration previously made explicitly via {@link FoundationLayout.registerItem | registerItem()} or implicitly via the html declerative API.\n *\n * The elements added onto the new pane are copies using `element.cloneNode()` of the original element references used during registration.\n *\n * @param config - {@link RegisteredElementConfig} configuration items for the new pane\n *\n * @param placement - where to add the new pane on the layout (defaults to the right hand side)\n *\n * @throws\n *\n * {@link LayoutRegistrationError} if you attempt to add an item before it has been registered\n *\n * @
|
|
239
|
+
"docComment": "/**\n * Dynamically add a new item to the layout. The user can move the new plane to whenever they want once it has been added.\n *\n * @remarks\n *\n * Adding a new item invokes the registration previously made explicitly via {@link FoundationLayout.registerItem | registerItem()} or implicitly via the html declerative API.\n *\n * The elements added onto the new pane are copies using `element.cloneNode()` of the original element references used during registration.\n *\n * @param config - {@link RegisteredElementConfig} configuration items for the new pane\n *\n * @param placement - where to add the new pane on the layout (defaults to the right hand side)\n *\n * @throws\n *\n * {@link LayoutRegistrationError} if you attempt to add an item before it has been registered\n *\n * @public\n */\n",
|
|
240
240
|
"excerptTokens": [
|
|
241
241
|
{
|
|
242
242
|
"kind": "Content",
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
"startIndex": 5,
|
|
275
275
|
"endIndex": 6
|
|
276
276
|
},
|
|
277
|
-
"releaseTag": "
|
|
277
|
+
"releaseTag": "Public",
|
|
278
278
|
"isProtected": false,
|
|
279
279
|
"overloadIndex": 1,
|
|
280
280
|
"parameters": [
|
|
@@ -299,10 +299,40 @@
|
|
|
299
299
|
"isAbstract": false,
|
|
300
300
|
"name": "addItem"
|
|
301
301
|
},
|
|
302
|
+
{
|
|
303
|
+
"kind": "Property",
|
|
304
|
+
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#autoSaveKey:member",
|
|
305
|
+
"docComment": "/**\n * Attribute which if set will auto save and load the layout as the user changes it. Omit this attribute to disable this feature. Set attribute using `auto-save-key`.\n *\n * @public\n */\n",
|
|
306
|
+
"excerptTokens": [
|
|
307
|
+
{
|
|
308
|
+
"kind": "Content",
|
|
309
|
+
"text": "autoSaveKey?: "
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"kind": "Content",
|
|
313
|
+
"text": "string"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"kind": "Content",
|
|
317
|
+
"text": ";"
|
|
318
|
+
}
|
|
319
|
+
],
|
|
320
|
+
"isReadonly": false,
|
|
321
|
+
"isOptional": true,
|
|
322
|
+
"releaseTag": "Public",
|
|
323
|
+
"name": "autoSaveKey",
|
|
324
|
+
"propertyTypeTokenRange": {
|
|
325
|
+
"startIndex": 1,
|
|
326
|
+
"endIndex": 2
|
|
327
|
+
},
|
|
328
|
+
"isStatic": false,
|
|
329
|
+
"isProtected": false,
|
|
330
|
+
"isAbstract": false
|
|
331
|
+
},
|
|
302
332
|
{
|
|
303
333
|
"kind": "Property",
|
|
304
334
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#dragging:member",
|
|
305
|
-
"docComment": "/**\n * Set to true when the user is currently dragging the panes inside of the layout\n *\n * @
|
|
335
|
+
"docComment": "/**\n * Set to true when the user is currently dragging the panes inside of the layout\n *\n * @public\n */\n",
|
|
306
336
|
"excerptTokens": [
|
|
307
337
|
{
|
|
308
338
|
"kind": "Content",
|
|
@@ -319,7 +349,7 @@
|
|
|
319
349
|
],
|
|
320
350
|
"isReadonly": false,
|
|
321
351
|
"isOptional": false,
|
|
322
|
-
"releaseTag": "
|
|
352
|
+
"releaseTag": "Public",
|
|
323
353
|
"name": "dragging",
|
|
324
354
|
"propertyTypeTokenRange": {
|
|
325
355
|
"startIndex": 1,
|
|
@@ -332,7 +362,7 @@
|
|
|
332
362
|
{
|
|
333
363
|
"kind": "Method",
|
|
334
364
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#getLayout:member(1)",
|
|
335
|
-
"docComment": "/**\n * Gets a minified string containing the config describing the current layout of the layout object to later restore in {@link FoundationLayout.loadLayout | function}\n *\n * @returns - latest version of {@link SerialisedLayout} describing the layout\n *\n * @
|
|
365
|
+
"docComment": "/**\n * Gets a minified string containing the config describing the current layout of the layout object to later restore in {@link FoundationLayout.loadLayout | function}\n *\n * @returns - latest version of {@link SerialisedLayout} describing the layout\n *\n * @public\n */\n",
|
|
336
366
|
"excerptTokens": [
|
|
337
367
|
{
|
|
338
368
|
"kind": "Content",
|
|
@@ -353,7 +383,7 @@
|
|
|
353
383
|
"startIndex": 1,
|
|
354
384
|
"endIndex": 2
|
|
355
385
|
},
|
|
356
|
-
"releaseTag": "
|
|
386
|
+
"releaseTag": "Public",
|
|
357
387
|
"isProtected": false,
|
|
358
388
|
"overloadIndex": 1,
|
|
359
389
|
"parameters": [],
|
|
@@ -364,7 +394,7 @@
|
|
|
364
394
|
{
|
|
365
395
|
"kind": "Method",
|
|
366
396
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout.layoutRequiredRegistrations:member(1)",
|
|
367
|
-
"docComment": "/**\n * Gets all of the required registration function names for a set of config\n *\n * @remarks\n *\n * You can use this with {@link FoundationLayout.registeredItems | registeredItems} to work out what items you need to register with {@link FoundationLayout.registerItem | registerItem()} before loading the layout with {@link FoundationLayout.loadLayout | loadLayout()}\n *\n * @param layout - any version of {@link SerialisedLayout} object describing the layout\n *\n * @returns string[] - an item for each registered element in the config. These must all be added before {@link FoundationLayout.loadLayout | function}\n *\n * @throws\n *\n * - various errors if the layout parameter cannot be parsed\n *\n * @
|
|
397
|
+
"docComment": "/**\n * Gets all of the required registration function names for a set of config\n *\n * @remarks\n *\n * You can use this with {@link FoundationLayout.registeredItems | registeredItems} to work out what items you need to register with {@link FoundationLayout.registerItem | registerItem()} before loading the layout with {@link FoundationLayout.loadLayout | loadLayout()}\n *\n * @param layout - any version of {@link SerialisedLayout} object describing the layout\n *\n * @returns string[] - an item for each registered element in the config. These must all be added before {@link FoundationLayout.loadLayout | function}\n *\n * @throws\n *\n * - various errors if the layout parameter cannot be parsed\n *\n * @public\n */\n",
|
|
368
398
|
"excerptTokens": [
|
|
369
399
|
{
|
|
370
400
|
"kind": "Content",
|
|
@@ -393,7 +423,7 @@
|
|
|
393
423
|
"startIndex": 3,
|
|
394
424
|
"endIndex": 4
|
|
395
425
|
},
|
|
396
|
-
"releaseTag": "
|
|
426
|
+
"releaseTag": "Public",
|
|
397
427
|
"isProtected": false,
|
|
398
428
|
"overloadIndex": 1,
|
|
399
429
|
"parameters": [
|
|
@@ -413,7 +443,7 @@
|
|
|
413
443
|
{
|
|
414
444
|
"kind": "Method",
|
|
415
445
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#loadLayout:member(1)",
|
|
416
|
-
"docComment": "/**\n * Restores a layout described in the config from {@link FoundationLayout.getLayout | getLayout()}\n *\n * @remarks\n *\n * In order to restore a layout you must have registered all of the required panes with the layout system before restoring it. If you are just setting the layout using the declarative API then all of the same components will be registered.
|
|
446
|
+
"docComment": "/**\n * Restores a layout described in the config from {@link FoundationLayout.getLayout | getLayout()}\n *\n * @remarks\n *\n * In order to restore a layout you must have registered all of the required panes with the layout system before restoring it. If you are just setting the layout using the declarative API then all of the same components will be registered. If you have added any elements using {@link FoundationLayout.registerItem} then you must ensure all of the same items have been added again. To make tracking what items are registered easier it is recommended in this case you explicitly name your registrations using the `id` parameter available on the {@link RegisteredElementConfig} and `foundation-layout-item` APIs. You can use {@link FoundationLayout.layoutRequiredRegistrations} to check which items are registered in a current layout in order to dynamically add any missing items before you can restore the layout\n *\n * @param layout - any version of {@link SerialisedLayout} object describing the layout\n *\n * @param handleMissingItem - what to do if the layout contains items that are not currently registered with the layout system. Defaults to 'error' which will throw an error. If set to 'placeholder' then any missing items will be replaced with a placeholder element. You can control the text of the placeholder element with {@link FoundationLayout.missingItemPlaceholder}.\n *\n * @throws\n *\n * {@link LayoutUsageError} if you attempt to load a layout with registered items that are not currently registered with the layout system, and handleMissingItem is set to 'error' (default).\n *\n * @throws\n *\n * various errors if the layout string is malformed and cannot be parsed\n *\n * @public\n */\n",
|
|
417
447
|
"excerptTokens": [
|
|
418
448
|
{
|
|
419
449
|
"kind": "Content",
|
|
@@ -424,6 +454,14 @@
|
|
|
424
454
|
"text": "SerialisedLayout",
|
|
425
455
|
"canonicalReference": "@genesislcap/foundation-layout!SerialisedLayout:type"
|
|
426
456
|
},
|
|
457
|
+
{
|
|
458
|
+
"kind": "Content",
|
|
459
|
+
"text": ", handleMissingItem?: "
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"kind": "Content",
|
|
463
|
+
"text": "'placeholder' | 'error'"
|
|
464
|
+
},
|
|
427
465
|
{
|
|
428
466
|
"kind": "Content",
|
|
429
467
|
"text": "): "
|
|
@@ -439,10 +477,10 @@
|
|
|
439
477
|
],
|
|
440
478
|
"isStatic": false,
|
|
441
479
|
"returnTypeTokenRange": {
|
|
442
|
-
"startIndex":
|
|
443
|
-
"endIndex":
|
|
480
|
+
"startIndex": 5,
|
|
481
|
+
"endIndex": 6
|
|
444
482
|
},
|
|
445
|
-
"releaseTag": "
|
|
483
|
+
"releaseTag": "Public",
|
|
446
484
|
"isProtected": false,
|
|
447
485
|
"overloadIndex": 1,
|
|
448
486
|
"parameters": [
|
|
@@ -453,16 +491,54 @@
|
|
|
453
491
|
"endIndex": 2
|
|
454
492
|
},
|
|
455
493
|
"isOptional": false
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"parameterName": "handleMissingItem",
|
|
497
|
+
"parameterTypeTokenRange": {
|
|
498
|
+
"startIndex": 3,
|
|
499
|
+
"endIndex": 4
|
|
500
|
+
},
|
|
501
|
+
"isOptional": true
|
|
456
502
|
}
|
|
457
503
|
],
|
|
458
504
|
"isOptional": false,
|
|
459
505
|
"isAbstract": false,
|
|
460
506
|
"name": "loadLayout"
|
|
461
507
|
},
|
|
508
|
+
{
|
|
509
|
+
"kind": "Property",
|
|
510
|
+
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#missingItemPlaceholder:member",
|
|
511
|
+
"docComment": "/**\n * Function which is used to generate the placeholder text when a layout is loaded with a missing item.\n *\n * @public\n */\n",
|
|
512
|
+
"excerptTokens": [
|
|
513
|
+
{
|
|
514
|
+
"kind": "Content",
|
|
515
|
+
"text": "missingItemPlaceholder: "
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"kind": "Content",
|
|
519
|
+
"text": "(missingItem: string) => string"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"kind": "Content",
|
|
523
|
+
"text": ";"
|
|
524
|
+
}
|
|
525
|
+
],
|
|
526
|
+
"isReadonly": false,
|
|
527
|
+
"isOptional": false,
|
|
528
|
+
"releaseTag": "Public",
|
|
529
|
+
"name": "missingItemPlaceholder",
|
|
530
|
+
"propertyTypeTokenRange": {
|
|
531
|
+
"startIndex": 1,
|
|
532
|
+
"endIndex": 2
|
|
533
|
+
},
|
|
534
|
+
"isStatic": false,
|
|
535
|
+
"isProtected": false,
|
|
536
|
+
"isAbstract": false
|
|
537
|
+
},
|
|
462
538
|
{
|
|
463
539
|
"kind": "Method",
|
|
464
540
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#registeredItems:member(1)",
|
|
465
|
-
"docComment": "/**\n * Gets all of the currently registered names\n *\n * @remarks\n *\n * You can use this with {@link FoundationLayout.layoutRequiredRegistrations | layoutRequiredRegistrations} to work out what items you need to register with {@link FoundationLayout.registerItem | registerItem()} before loading the layout with {@link FoundationLayout.loadLayout | loadLayout()}\n *\n * @returns string[] - an item for each registered element currently registered with the layout system\n *\n * @
|
|
541
|
+
"docComment": "/**\n * Gets all of the currently registered names\n *\n * @remarks\n *\n * You can use this with {@link FoundationLayout.layoutRequiredRegistrations | layoutRequiredRegistrations} to work out what items you need to register with {@link FoundationLayout.registerItem | registerItem()} before loading the layout with {@link FoundationLayout.loadLayout | loadLayout()}\n *\n * @returns string[] - an item for each registered element currently registered with the layout system\n *\n * @public\n */\n",
|
|
466
542
|
"excerptTokens": [
|
|
467
543
|
{
|
|
468
544
|
"kind": "Content",
|
|
@@ -482,7 +558,7 @@
|
|
|
482
558
|
"startIndex": 1,
|
|
483
559
|
"endIndex": 2
|
|
484
560
|
},
|
|
485
|
-
"releaseTag": "
|
|
561
|
+
"releaseTag": "Public",
|
|
486
562
|
"isProtected": false,
|
|
487
563
|
"overloadIndex": 1,
|
|
488
564
|
"parameters": [],
|
|
@@ -493,7 +569,7 @@
|
|
|
493
569
|
{
|
|
494
570
|
"kind": "Method",
|
|
495
571
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#registerItem:member(1)",
|
|
496
|
-
"docComment": "/**\n * Register a collection of `Element` and associate them with an `ID` with the layout system for later use.\n *\n * @remarks\n *\n * You would use this to register elements that you later want to load when using {@link FoundationLayout.loadLayout}. Use {@link FoundationLayout.layoutRequiredRegistrations} to see what components need to be registered for a certain config and then register them using this function before calling {@link FoundationLayout.loadLayout}.\n *\n * When registering an element it is moved by reference into the internals of the layout, so if you pass elements already in the DOM then they will disappear. If you want to avoid this you can pass copies using `element.cloneNode(true)`.\n *\n * @param registration - string of the registration ID\n *\n * @param elements - Elements[] containing the reference to the elements to register for later usage\n *\n * @returns - string defining the name of the registered item with the layout system (config.id if set).\n *\n * @throws\n *\n * {@link LayoutUsageError} if you attempt to add an item before the layout has been initialised.\n *\n * @throws\n *\n * {@link LayoutRegistrationError} if you attempt to use a `registration` name which is already in use (declarative html API and JavaScript API registrations use the same \"pool\" of registration names).\n *\n * @
|
|
572
|
+
"docComment": "/**\n * Register a collection of `Element` and associate them with an `ID` with the layout system for later use.\n *\n * @remarks\n *\n * You would use this to register elements that you later want to load when using {@link FoundationLayout.loadLayout}. Use {@link FoundationLayout.layoutRequiredRegistrations} to see what components need to be registered for a certain config and then register them using this function before calling {@link FoundationLayout.loadLayout}.\n *\n * When registering an element it is moved by reference into the internals of the layout, so if you pass elements already in the DOM then they will disappear. If you want to avoid this you can pass copies using `element.cloneNode(true)`.\n *\n * @param registration - string of the registration ID\n *\n * @param elements - Elements[] containing the reference to the elements to register for later usage\n *\n * @returns - string defining the name of the registered item with the layout system (config.id if set).\n *\n * @throws\n *\n * {@link LayoutUsageError} if you attempt to add an item before the layout has been initialised.\n *\n * @throws\n *\n * {@link LayoutRegistrationError} if you attempt to use a `registration` name which is already in use (declarative html API and JavaScript API registrations use the same \"pool\" of registration names).\n *\n * @public\n */\n",
|
|
497
573
|
"excerptTokens": [
|
|
498
574
|
{
|
|
499
575
|
"kind": "Content",
|
|
@@ -534,7 +610,7 @@
|
|
|
534
610
|
"startIndex": 6,
|
|
535
611
|
"endIndex": 7
|
|
536
612
|
},
|
|
537
|
-
"releaseTag": "
|
|
613
|
+
"releaseTag": "Public",
|
|
538
614
|
"isProtected": false,
|
|
539
615
|
"overloadIndex": 1,
|
|
540
616
|
"parameters": [
|
|
@@ -562,7 +638,7 @@
|
|
|
562
638
|
{
|
|
563
639
|
"kind": "Property",
|
|
564
640
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#reloadBuffer:member",
|
|
565
|
-
"docComment": "/**\n * Number describing how long to wait in ms before reloading the config when adding items declaratively by the html API. Default 500 (ms).\n *\n * @
|
|
641
|
+
"docComment": "/**\n * Number describing how long to wait in ms before reloading the config when adding items declaratively by the html API. Default 500 (ms).\n *\n * @public\n */\n",
|
|
566
642
|
"excerptTokens": [
|
|
567
643
|
{
|
|
568
644
|
"kind": "Content",
|
|
@@ -579,7 +655,7 @@
|
|
|
579
655
|
],
|
|
580
656
|
"isReadonly": false,
|
|
581
657
|
"isOptional": false,
|
|
582
|
-
"releaseTag": "
|
|
658
|
+
"releaseTag": "Public",
|
|
583
659
|
"name": "reloadBuffer",
|
|
584
660
|
"propertyTypeTokenRange": {
|
|
585
661
|
"startIndex": 1,
|
|
@@ -588,6 +664,37 @@
|
|
|
588
664
|
"isStatic": false,
|
|
589
665
|
"isProtected": false,
|
|
590
666
|
"isAbstract": false
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"kind": "Method",
|
|
670
|
+
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#tryLoadLayoutFromLocalStorage:member(1)",
|
|
671
|
+
"docComment": "/**\n * Try to load a layout from local storage, or return false. Only required if manually calling {@link FoundationLayout.registerItem}\n *\n * @remarks\n *\n * Attempt to load an autosaved layout from local storage, keyed on the `auto-save-key` attribute. If `auto-save-key` attribute is not set or there is no autosaved layout yet, this will return false. Else, true.\n *\n * This function is automatically called when loading the layout via the declarative API so if you're not registering components via the JavaScript API then you don't need to call this function. If you *are* calling {@link FoundationLayout.registerItem} then you should call this function immediately afterwards.\n *\n * Will load the layout with `handleMissingItem = 'placeholder` so placeholder text will be shown for any missing items.\n *\n * @returns boolean - true if a layout was loaded, false if not\n *\n * @public\n */\n",
|
|
672
|
+
"excerptTokens": [
|
|
673
|
+
{
|
|
674
|
+
"kind": "Content",
|
|
675
|
+
"text": "tryLoadLayoutFromLocalStorage(): "
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"kind": "Content",
|
|
679
|
+
"text": "boolean"
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"kind": "Content",
|
|
683
|
+
"text": ";"
|
|
684
|
+
}
|
|
685
|
+
],
|
|
686
|
+
"isStatic": false,
|
|
687
|
+
"returnTypeTokenRange": {
|
|
688
|
+
"startIndex": 1,
|
|
689
|
+
"endIndex": 2
|
|
690
|
+
},
|
|
691
|
+
"releaseTag": "Public",
|
|
692
|
+
"isProtected": false,
|
|
693
|
+
"overloadIndex": 1,
|
|
694
|
+
"parameters": [],
|
|
695
|
+
"isOptional": false,
|
|
696
|
+
"isAbstract": false,
|
|
697
|
+
"name": "tryLoadLayoutFromLocalStorage"
|
|
591
698
|
}
|
|
592
699
|
],
|
|
593
700
|
"extendsTokenRange": {
|
|
@@ -604,7 +711,7 @@
|
|
|
604
711
|
{
|
|
605
712
|
"kind": "Variable",
|
|
606
713
|
"canonicalReference": "@genesislcap/foundation-layout!foundationLayoutComponents:var",
|
|
607
|
-
"docComment": "/**\n * Registration object to register the layout with your design system.\n *\n * @remarks\n *\n * Registers the three layout component types with the design system. You require to use the prefix of the design system with each tag. If you wish to alternate the styles of the layout you only need to compose your own custom version of {@link FoundationLayout} as this contains the styles for the entire layout.\n *\n * @example\n *\n * `<zero-layout></zero-layout>` if you are using the layout with the `zero` design-system.\n *\n * @
|
|
714
|
+
"docComment": "/**\n * Registration object to register the layout with your design system.\n *\n * @remarks\n *\n * Registers the three layout component types with the design system. You require to use the prefix of the design system with each tag. If you wish to alternate the styles of the layout you only need to compose your own custom version of {@link FoundationLayout} as this contains the styles for the entire layout.\n *\n * @example\n *\n * `<zero-layout></zero-layout>` if you are using the layout with the `zero` design-system.\n *\n * @public\n */\n",
|
|
608
715
|
"excerptTokens": [
|
|
609
716
|
{
|
|
610
717
|
"kind": "Content",
|
|
@@ -797,7 +904,7 @@
|
|
|
797
904
|
],
|
|
798
905
|
"fileUrlPath": "src/main/layout-components.ts",
|
|
799
906
|
"isReadonly": true,
|
|
800
|
-
"releaseTag": "
|
|
907
|
+
"releaseTag": "Public",
|
|
801
908
|
"name": "foundationLayoutComponents",
|
|
802
909
|
"variableTypeTokenRange": {
|
|
803
910
|
"startIndex": 1,
|
|
@@ -807,7 +914,7 @@
|
|
|
807
914
|
{
|
|
808
915
|
"kind": "Class",
|
|
809
916
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayoutItem:class",
|
|
810
|
-
"docComment": "/**\n * `FoundationLayoutItem` is a custom element that represents an item in the layout.\n *\n * @remarks\n *\n * This element is used to wrap html elements and configure their layout settings as part of the layout system.\n *\n * This is a simple component which is only used to define the layout splits; any JavaScript API interactions or custom styling is used via {@link FoundationLayout}.\n *\n * @
|
|
917
|
+
"docComment": "/**\n * `FoundationLayoutItem` is a custom element that represents an item in the layout.\n *\n * @remarks\n *\n * This element is used to wrap html elements and configure their layout settings as part of the layout system.\n *\n * This is a simple component which is only used to define the layout splits; any JavaScript API interactions or custom styling is used via {@link FoundationLayout}.\n *\n * @public\n */\n",
|
|
811
918
|
"excerptTokens": [
|
|
812
919
|
{
|
|
813
920
|
"kind": "Content",
|
|
@@ -825,7 +932,7 @@
|
|
|
825
932
|
{
|
|
826
933
|
"kind": "Reference",
|
|
827
934
|
"text": "LayoutComponent",
|
|
828
|
-
"canonicalReference": "@genesislcap/foundation-layout
|
|
935
|
+
"canonicalReference": "@genesislcap/foundation-layout!~LayoutComponent:interface"
|
|
829
936
|
},
|
|
830
937
|
{
|
|
831
938
|
"kind": "Content",
|
|
@@ -833,7 +940,7 @@
|
|
|
833
940
|
}
|
|
834
941
|
],
|
|
835
942
|
"fileUrlPath": "src/main/layout-item.ts",
|
|
836
|
-
"releaseTag": "
|
|
943
|
+
"releaseTag": "Public",
|
|
837
944
|
"isAbstract": false,
|
|
838
945
|
"name": "FoundationLayoutItem",
|
|
839
946
|
"preserveMemberOrder": false,
|
|
@@ -841,7 +948,7 @@
|
|
|
841
948
|
{
|
|
842
949
|
"kind": "Property",
|
|
843
950
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayoutItem#closable:member",
|
|
844
|
-
"docComment": "/**\n * Boolean attribute controls whether the window can be closed in the GUI. Defaults to `false`.\n *\n * @
|
|
951
|
+
"docComment": "/**\n * Boolean attribute controls whether the window can be closed in the GUI. Defaults to `false`.\n *\n * @public\n */\n",
|
|
845
952
|
"excerptTokens": [
|
|
846
953
|
{
|
|
847
954
|
"kind": "Content",
|
|
@@ -858,7 +965,7 @@
|
|
|
858
965
|
],
|
|
859
966
|
"isReadonly": false,
|
|
860
967
|
"isOptional": false,
|
|
861
|
-
"releaseTag": "
|
|
968
|
+
"releaseTag": "Public",
|
|
862
969
|
"name": "closable",
|
|
863
970
|
"propertyTypeTokenRange": {
|
|
864
971
|
"startIndex": 1,
|
|
@@ -871,7 +978,7 @@
|
|
|
871
978
|
{
|
|
872
979
|
"kind": "Property",
|
|
873
980
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayoutItem#registration:member",
|
|
874
|
-
"docComment": "/**\n * Sets the registration name for the item, which can be used later to add the item via the JavaScript API using {@link FoundationLayout.addItem
|
|
981
|
+
"docComment": "/**\n * Sets the registration name for the item, which can be used later to add the item via the JavaScript API using {@link FoundationLayout.addItem}.\n *\n * @remarks\n *\n * Items added via the JavaScript API and HTML API share the same pool of registration names. Using a duplicate registration name is a runtime error. This registration name defaults to the number of the window it is. It is highly recommended if you are using the JavaScript API that you set a registration name here manually.\n *\n * @public\n */\n",
|
|
875
982
|
"excerptTokens": [
|
|
876
983
|
{
|
|
877
984
|
"kind": "Content",
|
|
@@ -888,7 +995,7 @@
|
|
|
888
995
|
],
|
|
889
996
|
"isReadonly": false,
|
|
890
997
|
"isOptional": false,
|
|
891
|
-
"releaseTag": "
|
|
998
|
+
"releaseTag": "Public",
|
|
892
999
|
"name": "registration",
|
|
893
1000
|
"propertyTypeTokenRange": {
|
|
894
1001
|
"startIndex": 1,
|
|
@@ -901,7 +1008,7 @@
|
|
|
901
1008
|
{
|
|
902
1009
|
"kind": "Property",
|
|
903
1010
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayoutItem#size:member",
|
|
904
|
-
"docComment": "/**\n * optional string describing the size of the new item (see the written documentation for more info)\n *\n * @
|
|
1011
|
+
"docComment": "/**\n * optional string describing the size of the new item (see the written documentation for more info)\n *\n * @public\n */\n",
|
|
905
1012
|
"excerptTokens": [
|
|
906
1013
|
{
|
|
907
1014
|
"kind": "Content",
|
|
@@ -918,7 +1025,7 @@
|
|
|
918
1025
|
],
|
|
919
1026
|
"isReadonly": false,
|
|
920
1027
|
"isOptional": false,
|
|
921
|
-
"releaseTag": "
|
|
1028
|
+
"releaseTag": "Public",
|
|
922
1029
|
"name": "size",
|
|
923
1030
|
"propertyTypeTokenRange": {
|
|
924
1031
|
"startIndex": 1,
|
|
@@ -931,7 +1038,7 @@
|
|
|
931
1038
|
{
|
|
932
1039
|
"kind": "Property",
|
|
933
1040
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayoutItem#title:member",
|
|
934
|
-
"docComment": "/**\n * Sets the title of the item which is displayed on the tab.\n *\n * @remarks\n *\n * Defaults to `Item ` + {@link FoundationLayoutItem.registration}\n *\n * @
|
|
1041
|
+
"docComment": "/**\n * Sets the title of the item which is displayed on the tab.\n *\n * @remarks\n *\n * Defaults to `Item ` + {@link FoundationLayoutItem.registration}\n *\n * @public\n */\n",
|
|
935
1042
|
"excerptTokens": [
|
|
936
1043
|
{
|
|
937
1044
|
"kind": "Content",
|
|
@@ -948,7 +1055,7 @@
|
|
|
948
1055
|
],
|
|
949
1056
|
"isReadonly": false,
|
|
950
1057
|
"isOptional": false,
|
|
951
|
-
"releaseTag": "
|
|
1058
|
+
"releaseTag": "Public",
|
|
952
1059
|
"name": "title",
|
|
953
1060
|
"propertyTypeTokenRange": {
|
|
954
1061
|
"startIndex": 1,
|
|
@@ -973,7 +1080,7 @@
|
|
|
973
1080
|
{
|
|
974
1081
|
"kind": "Class",
|
|
975
1082
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayoutRegion:class",
|
|
976
|
-
"docComment": "/**\n * `FoundationLayoutRegion` is a custom element that represents a region in the layout.\n *\n * @remarks\n *\n * This element is used to create a region in the layout. It can be used to create a horizontal or vertical split, or a tabbed region.\n *\n * This is a simple component which is only used to define the layout splits; any JavaScript API interactions or custom styling is used via {@link FoundationLayout}.\n *\n * @
|
|
1083
|
+
"docComment": "/**\n * `FoundationLayoutRegion` is a custom element that represents a region in the layout.\n *\n * @remarks\n *\n * This element is used to create a region in the layout. It can be used to create a horizontal or vertical split, or a tabbed region.\n *\n * This is a simple component which is only used to define the layout splits; any JavaScript API interactions or custom styling is used via {@link FoundationLayout}.\n *\n * @public\n */\n",
|
|
977
1084
|
"excerptTokens": [
|
|
978
1085
|
{
|
|
979
1086
|
"kind": "Content",
|
|
@@ -991,7 +1098,7 @@
|
|
|
991
1098
|
{
|
|
992
1099
|
"kind": "Reference",
|
|
993
1100
|
"text": "LayoutComponent",
|
|
994
|
-
"canonicalReference": "@genesislcap/foundation-layout
|
|
1101
|
+
"canonicalReference": "@genesislcap/foundation-layout!~LayoutComponent:interface"
|
|
995
1102
|
},
|
|
996
1103
|
{
|
|
997
1104
|
"kind": "Content",
|
|
@@ -999,7 +1106,7 @@
|
|
|
999
1106
|
}
|
|
1000
1107
|
],
|
|
1001
1108
|
"fileUrlPath": "src/main/layout-region.ts",
|
|
1002
|
-
"releaseTag": "
|
|
1109
|
+
"releaseTag": "Public",
|
|
1003
1110
|
"isAbstract": false,
|
|
1004
1111
|
"name": "FoundationLayoutRegion",
|
|
1005
1112
|
"preserveMemberOrder": false,
|
|
@@ -1007,7 +1114,7 @@
|
|
|
1007
1114
|
{
|
|
1008
1115
|
"kind": "Property",
|
|
1009
1116
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayoutRegion#size:member",
|
|
1010
|
-
"docComment": "/**\n * optional string describing the size of the new item (see the written documentation for more info)\n *\n * @
|
|
1117
|
+
"docComment": "/**\n * optional string describing the size of the new item (see the written documentation for more info)\n *\n * @public\n */\n",
|
|
1011
1118
|
"excerptTokens": [
|
|
1012
1119
|
{
|
|
1013
1120
|
"kind": "Content",
|
|
@@ -1024,7 +1131,7 @@
|
|
|
1024
1131
|
],
|
|
1025
1132
|
"isReadonly": false,
|
|
1026
1133
|
"isOptional": false,
|
|
1027
|
-
"releaseTag": "
|
|
1134
|
+
"releaseTag": "Public",
|
|
1028
1135
|
"name": "size",
|
|
1029
1136
|
"propertyTypeTokenRange": {
|
|
1030
1137
|
"startIndex": 1,
|
|
@@ -1037,7 +1144,7 @@
|
|
|
1037
1144
|
{
|
|
1038
1145
|
"kind": "Property",
|
|
1039
1146
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayoutRegion#type:member",
|
|
1040
|
-
"docComment": "/**\n * Defines the {@link LayoutRegionType | type} of the region. Defaults to `horizontal`.\n *\n * @
|
|
1147
|
+
"docComment": "/**\n * Defines the {@link LayoutRegionType | type} of the region. Defaults to `horizontal`.\n *\n * @public\n */\n",
|
|
1041
1148
|
"excerptTokens": [
|
|
1042
1149
|
{
|
|
1043
1150
|
"kind": "Content",
|
|
@@ -1055,7 +1162,7 @@
|
|
|
1055
1162
|
],
|
|
1056
1163
|
"isReadonly": false,
|
|
1057
1164
|
"isOptional": false,
|
|
1058
|
-
"releaseTag": "
|
|
1165
|
+
"releaseTag": "Public",
|
|
1059
1166
|
"name": "type",
|
|
1060
1167
|
"propertyTypeTokenRange": {
|
|
1061
1168
|
"startIndex": 1,
|
|
@@ -1080,7 +1187,7 @@
|
|
|
1080
1187
|
{
|
|
1081
1188
|
"kind": "Variable",
|
|
1082
1189
|
"canonicalReference": "@genesislcap/foundation-layout!LayoutEmitEvents:var",
|
|
1083
|
-
"docComment": "/**\n * Defines events that the layout system emits\n *\n * 'firstLoaded' - emitted when the layout has finished loading the first time using the declarative API after {@link DEFAULT_RELOAD_BUFFER} ms. <br/> 'itemAdded' - emitted when an item is added to the layout' <br/> 'itemRemoved' - emitted when an item is removed from the layout'\n *\n * @
|
|
1190
|
+
"docComment": "/**\n * Defines events that the layout system emits\n *\n * 'firstLoaded' - emitted when the layout has finished loading the first time using the declarative API after {@link DEFAULT_RELOAD_BUFFER} ms. <br/> 'itemAdded' - emitted when an item is added to the layout' <br/> 'itemRemoved' - emitted when an item is removed from the layout' <br/> 'itemResized' - emitted when the user drags the divider to resize elements\n *\n * @public\n */\n",
|
|
1084
1191
|
"excerptTokens": [
|
|
1085
1192
|
{
|
|
1086
1193
|
"kind": "Content",
|
|
@@ -1088,12 +1195,12 @@
|
|
|
1088
1195
|
},
|
|
1089
1196
|
{
|
|
1090
1197
|
"kind": "Content",
|
|
1091
|
-
"text": "{\n readonly firstLoaded: \"first-loaded\";\n readonly itemAdded: \"item-added\";\n readonly itemRemoved: \"item-removed\";\n}"
|
|
1198
|
+
"text": "{\n readonly firstLoaded: \"first-loaded\";\n readonly itemAdded: \"item-added\";\n readonly itemRemoved: \"item-removed\";\n readonly itemResized: \"item-resized\";\n}"
|
|
1092
1199
|
}
|
|
1093
1200
|
],
|
|
1094
1201
|
"fileUrlPath": "src/utils/events.ts",
|
|
1095
1202
|
"isReadonly": true,
|
|
1096
|
-
"releaseTag": "
|
|
1203
|
+
"releaseTag": "Public",
|
|
1097
1204
|
"name": "LayoutEmitEvents",
|
|
1098
1205
|
"variableTypeTokenRange": {
|
|
1099
1206
|
"startIndex": 1,
|
|
@@ -1103,7 +1210,7 @@
|
|
|
1103
1210
|
{
|
|
1104
1211
|
"kind": "Variable",
|
|
1105
1212
|
"canonicalReference": "@genesislcap/foundation-layout!LayoutReceiveEvents:var",
|
|
1106
|
-
"docComment": "/**\n * Defines events that the layout system listens for\n *\n * 'changeTitle' - emit this from a contained item to update the title of the window that contains it.\n *\n * @
|
|
1213
|
+
"docComment": "/**\n * Defines events that the layout system listens for\n *\n * 'changeTitle' - emit this from a contained item to update the title of the window that contains it.\n *\n * @public\n */\n",
|
|
1107
1214
|
"excerptTokens": [
|
|
1108
1215
|
{
|
|
1109
1216
|
"kind": "Content",
|
|
@@ -1116,7 +1223,7 @@
|
|
|
1116
1223
|
],
|
|
1117
1224
|
"fileUrlPath": "src/utils/events.ts",
|
|
1118
1225
|
"isReadonly": true,
|
|
1119
|
-
"releaseTag": "
|
|
1226
|
+
"releaseTag": "Public",
|
|
1120
1227
|
"name": "LayoutReceiveEvents",
|
|
1121
1228
|
"variableTypeTokenRange": {
|
|
1122
1229
|
"startIndex": 1,
|
|
@@ -1126,7 +1233,7 @@
|
|
|
1126
1233
|
{
|
|
1127
1234
|
"kind": "TypeAlias",
|
|
1128
1235
|
"canonicalReference": "@genesislcap/foundation-layout!LayoutReceiveEventsDetail:type",
|
|
1129
|
-
"docComment": "/**\n * Defines the shape of the detail that the layout listens works with for events it listens on\n *\n * 'changeTitle' - `title` is the string you want to set. For `mode`: `replace` will set the title to be `title`, `suffix` will append `title` to the end of the existing title.\n *\n * @
|
|
1236
|
+
"docComment": "/**\n * Defines the shape of the detail that the layout listens works with for events it listens on\n *\n * 'changeTitle' - `title` is the string you want to set. For `mode`: `replace` will set the title to be `title`, `suffix` will append `title` to the end of the existing title.\n *\n * @public\n */\n",
|
|
1130
1237
|
"excerptTokens": [
|
|
1131
1238
|
{
|
|
1132
1239
|
"kind": "Content",
|
|
@@ -1142,7 +1249,7 @@
|
|
|
1142
1249
|
}
|
|
1143
1250
|
],
|
|
1144
1251
|
"fileUrlPath": "src/utils/events.ts",
|
|
1145
|
-
"releaseTag": "
|
|
1252
|
+
"releaseTag": "Public",
|
|
1146
1253
|
"name": "LayoutReceiveEventsDetail",
|
|
1147
1254
|
"typeTokenRange": {
|
|
1148
1255
|
"startIndex": 1,
|
|
@@ -1152,7 +1259,7 @@
|
|
|
1152
1259
|
{
|
|
1153
1260
|
"kind": "TypeAlias",
|
|
1154
1261
|
"canonicalReference": "@genesislcap/foundation-layout!LayoutRegionType:type",
|
|
1155
|
-
"docComment": "/**\n * Union type describing the three different types of region splits. Set on the `type` attribute on {@link FoundationLayoutRegion}.\n *\n * @
|
|
1262
|
+
"docComment": "/**\n * Union type describing the three different types of region splits. Set on the `type` attribute on {@link FoundationLayoutRegion}.\n *\n * @public\n */\n",
|
|
1156
1263
|
"excerptTokens": [
|
|
1157
1264
|
{
|
|
1158
1265
|
"kind": "Content",
|
|
@@ -1165,7 +1272,7 @@
|
|
|
1165
1272
|
{
|
|
1166
1273
|
"kind": "Reference",
|
|
1167
1274
|
"text": "layoutRegionValue",
|
|
1168
|
-
"canonicalReference": "@genesislcap/foundation-layout
|
|
1275
|
+
"canonicalReference": "@genesislcap/foundation-layout!~layoutRegionValue:var"
|
|
1169
1276
|
},
|
|
1170
1277
|
{
|
|
1171
1278
|
"kind": "Content",
|
|
@@ -1177,7 +1284,7 @@
|
|
|
1177
1284
|
}
|
|
1178
1285
|
],
|
|
1179
1286
|
"fileUrlPath": "src/utils/types.ts",
|
|
1180
|
-
"releaseTag": "
|
|
1287
|
+
"releaseTag": "Public",
|
|
1181
1288
|
"name": "LayoutRegionType",
|
|
1182
1289
|
"typeTokenRange": {
|
|
1183
1290
|
"startIndex": 1,
|
|
@@ -1187,7 +1294,7 @@
|
|
|
1187
1294
|
{
|
|
1188
1295
|
"kind": "Class",
|
|
1189
1296
|
"canonicalReference": "@genesislcap/foundation-layout!LayoutRegistrationError:class",
|
|
1190
|
-
"docComment": "/**\n * @
|
|
1297
|
+
"docComment": "/**\n * @public\n */\n",
|
|
1191
1298
|
"excerptTokens": [
|
|
1192
1299
|
{
|
|
1193
1300
|
"kind": "Content",
|
|
@@ -1204,7 +1311,7 @@
|
|
|
1204
1311
|
}
|
|
1205
1312
|
],
|
|
1206
1313
|
"fileUrlPath": "src/utils/error.ts",
|
|
1207
|
-
"releaseTag": "
|
|
1314
|
+
"releaseTag": "Public",
|
|
1208
1315
|
"isAbstract": false,
|
|
1209
1316
|
"name": "LayoutRegistrationError",
|
|
1210
1317
|
"preserveMemberOrder": false,
|
|
@@ -1227,7 +1334,7 @@
|
|
|
1227
1334
|
"text": ");"
|
|
1228
1335
|
}
|
|
1229
1336
|
],
|
|
1230
|
-
"releaseTag": "
|
|
1337
|
+
"releaseTag": "Public",
|
|
1231
1338
|
"isProtected": false,
|
|
1232
1339
|
"overloadIndex": 1,
|
|
1233
1340
|
"parameters": [
|
|
@@ -1251,7 +1358,7 @@
|
|
|
1251
1358
|
{
|
|
1252
1359
|
"kind": "Variable",
|
|
1253
1360
|
"canonicalReference": "@genesislcap/foundation-layout!layoutStyles:var",
|
|
1254
|
-
"docComment": "/**\n * `ElementStyles` which defines the css for {@link FoundationLayout}.\n *\n * @remarks\n *\n * Can be used in a composition to customise the styles of the layout.\n *\n * @
|
|
1361
|
+
"docComment": "/**\n * `ElementStyles` which defines the css for {@link FoundationLayout}.\n *\n * @remarks\n *\n * Can be used in a composition to customise the styles of the layout.\n *\n * @public\n */\n",
|
|
1255
1362
|
"excerptTokens": [
|
|
1256
1363
|
{
|
|
1257
1364
|
"kind": "Content",
|
|
@@ -1269,7 +1376,7 @@
|
|
|
1269
1376
|
],
|
|
1270
1377
|
"fileUrlPath": "src/styles/layout.styles.ts",
|
|
1271
1378
|
"isReadonly": true,
|
|
1272
|
-
"releaseTag": "
|
|
1379
|
+
"releaseTag": "Public",
|
|
1273
1380
|
"name": "layoutStyles",
|
|
1274
1381
|
"variableTypeTokenRange": {
|
|
1275
1382
|
"startIndex": 1,
|
|
@@ -1279,7 +1386,7 @@
|
|
|
1279
1386
|
{
|
|
1280
1387
|
"kind": "Variable",
|
|
1281
1388
|
"canonicalReference": "@genesislcap/foundation-layout!layoutTemplate:var",
|
|
1282
|
-
"docComment": "/**\n * `ViewTemplate` which defines the html for {@link FoundationLayout}.\n *\n * @remarks\n *\n * Can be used in a composition to customise the styles of the layout.\n *\n * @
|
|
1389
|
+
"docComment": "/**\n * `ViewTemplate` which defines the html for {@link FoundationLayout}.\n *\n * @remarks\n *\n * Can be used in a composition to customise the styles of the layout.\n *\n * @public\n */\n",
|
|
1283
1390
|
"excerptTokens": [
|
|
1284
1391
|
{
|
|
1285
1392
|
"kind": "Content",
|
|
@@ -1310,7 +1417,7 @@
|
|
|
1310
1417
|
],
|
|
1311
1418
|
"fileUrlPath": "src/main/layout-main.ts",
|
|
1312
1419
|
"isReadonly": true,
|
|
1313
|
-
"releaseTag": "
|
|
1420
|
+
"releaseTag": "Public",
|
|
1314
1421
|
"name": "layoutTemplate",
|
|
1315
1422
|
"variableTypeTokenRange": {
|
|
1316
1423
|
"startIndex": 1,
|
|
@@ -1320,7 +1427,7 @@
|
|
|
1320
1427
|
{
|
|
1321
1428
|
"kind": "Class",
|
|
1322
1429
|
"canonicalReference": "@genesislcap/foundation-layout!LayoutUsageError:class",
|
|
1323
|
-
"docComment": "/**\n * @
|
|
1430
|
+
"docComment": "/**\n * @public\n */\n",
|
|
1324
1431
|
"excerptTokens": [
|
|
1325
1432
|
{
|
|
1326
1433
|
"kind": "Content",
|
|
@@ -1337,7 +1444,7 @@
|
|
|
1337
1444
|
}
|
|
1338
1445
|
],
|
|
1339
1446
|
"fileUrlPath": "src/utils/error.ts",
|
|
1340
|
-
"releaseTag": "
|
|
1447
|
+
"releaseTag": "Public",
|
|
1341
1448
|
"isAbstract": false,
|
|
1342
1449
|
"name": "LayoutUsageError",
|
|
1343
1450
|
"preserveMemberOrder": false,
|
|
@@ -1360,7 +1467,7 @@
|
|
|
1360
1467
|
"text": ");"
|
|
1361
1468
|
}
|
|
1362
1469
|
],
|
|
1363
|
-
"releaseTag": "
|
|
1470
|
+
"releaseTag": "Public",
|
|
1364
1471
|
"isProtected": false,
|
|
1365
1472
|
"overloadIndex": 1,
|
|
1366
1473
|
"parameters": [
|
|
@@ -1384,7 +1491,7 @@
|
|
|
1384
1491
|
{
|
|
1385
1492
|
"kind": "TypeAlias",
|
|
1386
1493
|
"canonicalReference": "@genesislcap/foundation-layout!Placement:type",
|
|
1387
|
-
"docComment": "/**\n * Where to add the new item into the layout when using the {@link FoundationLayout.addItem} API\n *\n * @
|
|
1494
|
+
"docComment": "/**\n * Where to add the new item into the layout when using the {@link FoundationLayout.addItem} API\n *\n * @public\n */\n",
|
|
1388
1495
|
"excerptTokens": [
|
|
1389
1496
|
{
|
|
1390
1497
|
"kind": "Content",
|
|
@@ -1400,7 +1507,7 @@
|
|
|
1400
1507
|
}
|
|
1401
1508
|
],
|
|
1402
1509
|
"fileUrlPath": "src/utils/types.ts",
|
|
1403
|
-
"releaseTag": "
|
|
1510
|
+
"releaseTag": "Public",
|
|
1404
1511
|
"name": "Placement",
|
|
1405
1512
|
"typeTokenRange": {
|
|
1406
1513
|
"startIndex": 1,
|
|
@@ -1410,7 +1517,7 @@
|
|
|
1410
1517
|
{
|
|
1411
1518
|
"kind": "Interface",
|
|
1412
1519
|
"canonicalReference": "@genesislcap/foundation-layout!RegisteredElementConfig:interface",
|
|
1413
|
-
"docComment": "/**\n * The parameters that can be set on a new item when being added by the {@link FoundationLayout.addItem} API\n *\n * @remarks\n *\n * `elements` - array of Elements that are the content of the new item `title` - optional string which is used as the new title of the tab (defaults to be the registered name) `closable` - optional boolean which allows the item to be closed with the X button if set and true `size` - optional string describing the size of the new item (see the written documentation for more info) `registration` - optional string configuring the registration ID of the new item (defaults to sequential IDs)\n *\n * @
|
|
1520
|
+
"docComment": "/**\n * The parameters that can be set on a new item when being added by the {@link FoundationLayout.addItem} API\n *\n * @remarks\n *\n * `elements` - array of Elements that are the content of the new item `title` - optional string which is used as the new title of the tab (defaults to be the registered name) `closable` - optional boolean which allows the item to be closed with the X button if set and true `size` - optional string describing the size of the new item (see the written documentation for more info) `registration` - optional string configuring the registration ID of the new item (defaults to sequential IDs)\n *\n * @public\n */\n",
|
|
1414
1521
|
"excerptTokens": [
|
|
1415
1522
|
{
|
|
1416
1523
|
"kind": "Content",
|
|
@@ -1418,7 +1525,7 @@
|
|
|
1418
1525
|
}
|
|
1419
1526
|
],
|
|
1420
1527
|
"fileUrlPath": "src/utils/types.ts",
|
|
1421
|
-
"releaseTag": "
|
|
1528
|
+
"releaseTag": "Public",
|
|
1422
1529
|
"name": "RegisteredElementConfig",
|
|
1423
1530
|
"preserveMemberOrder": false,
|
|
1424
1531
|
"members": [
|
|
@@ -1442,7 +1549,7 @@
|
|
|
1442
1549
|
],
|
|
1443
1550
|
"isReadonly": false,
|
|
1444
1551
|
"isOptional": true,
|
|
1445
|
-
"releaseTag": "
|
|
1552
|
+
"releaseTag": "Public",
|
|
1446
1553
|
"name": "closable",
|
|
1447
1554
|
"propertyTypeTokenRange": {
|
|
1448
1555
|
"startIndex": 1,
|
|
@@ -1469,7 +1576,7 @@
|
|
|
1469
1576
|
],
|
|
1470
1577
|
"isReadonly": false,
|
|
1471
1578
|
"isOptional": false,
|
|
1472
|
-
"releaseTag": "
|
|
1579
|
+
"releaseTag": "Public",
|
|
1473
1580
|
"name": "registration",
|
|
1474
1581
|
"propertyTypeTokenRange": {
|
|
1475
1582
|
"startIndex": 1,
|
|
@@ -1496,7 +1603,7 @@
|
|
|
1496
1603
|
],
|
|
1497
1604
|
"isReadonly": false,
|
|
1498
1605
|
"isOptional": true,
|
|
1499
|
-
"releaseTag": "
|
|
1606
|
+
"releaseTag": "Public",
|
|
1500
1607
|
"name": "size",
|
|
1501
1608
|
"propertyTypeTokenRange": {
|
|
1502
1609
|
"startIndex": 1,
|
|
@@ -1523,7 +1630,7 @@
|
|
|
1523
1630
|
],
|
|
1524
1631
|
"isReadonly": false,
|
|
1525
1632
|
"isOptional": true,
|
|
1526
|
-
"releaseTag": "
|
|
1633
|
+
"releaseTag": "Public",
|
|
1527
1634
|
"name": "title",
|
|
1528
1635
|
"propertyTypeTokenRange": {
|
|
1529
1636
|
"startIndex": 1,
|
|
@@ -1536,7 +1643,7 @@
|
|
|
1536
1643
|
{
|
|
1537
1644
|
"kind": "TypeAlias",
|
|
1538
1645
|
"canonicalReference": "@genesislcap/foundation-layout!SerialisedLayout:type",
|
|
1539
|
-
"docComment": "/**\n * Versioned layout config objects. `v` is the version and `c` contains the layout config.\n *\n * @remarks\n *\n * 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.\n *\n * As more versions of configurations are added this type will have extra union types as part of SerialisedLayout.\n *\n * @
|
|
1646
|
+
"docComment": "/**\n * Versioned layout config objects. `v` is the version and `c` contains the layout config.\n *\n * @remarks\n *\n * 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.\n *\n * As more versions of configurations are added this type will have extra union types as part of SerialisedLayout.\n *\n * @public\n */\n",
|
|
1540
1647
|
"excerptTokens": [
|
|
1541
1648
|
{
|
|
1542
1649
|
"kind": "Content",
|
|
@@ -1561,7 +1668,7 @@
|
|
|
1561
1668
|
}
|
|
1562
1669
|
],
|
|
1563
1670
|
"fileUrlPath": "src/utils/types.ts",
|
|
1564
|
-
"releaseTag": "
|
|
1671
|
+
"releaseTag": "Public",
|
|
1565
1672
|
"name": "SerialisedLayout",
|
|
1566
1673
|
"typeTokenRange": {
|
|
1567
1674
|
"startIndex": 1,
|