@genesislcap/foundation-layout 14.244.3 → 14.245.1-alpha-180cb89.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.
@@ -255,236 +255,6 @@
255
255
  }
256
256
  ]
257
257
  },
258
- {
259
- "kind": "javascript-module",
260
- "path": "src/utils/constants.ts",
261
- "declarations": [
262
- {
263
- "kind": "variable",
264
- "name": "DEFAULT_RELOAD_BUFFER",
265
- "type": {
266
- "text": "number"
267
- },
268
- "default": "500",
269
- "description": "Default time in milliseconds for the layout to buffer calls to reloading\nthe layout while the declarative API is loading.\n\nDuring the first load of the layout, a loading spinner will be shown.",
270
- "privacy": "public"
271
- },
272
- {
273
- "kind": "variable",
274
- "name": "LAYOUT_POPOUT_CONTAINER_CLASS",
275
- "type": {
276
- "text": "string"
277
- },
278
- "default": "'f-layout-popout'",
279
- "description": "Put this classname on an element which is a DOM parent of the layout, and\nif the layout goes into popout mode then it will place itself as the only child\nfor the popout container you set."
280
- }
281
- ],
282
- "exports": [
283
- {
284
- "kind": "js",
285
- "name": "DEFAULT_RELOAD_BUFFER",
286
- "declaration": {
287
- "name": "DEFAULT_RELOAD_BUFFER",
288
- "module": "src/utils/constants.ts"
289
- }
290
- },
291
- {
292
- "kind": "js",
293
- "name": "LAYOUT_POPOUT_CONTAINER_CLASS",
294
- "declaration": {
295
- "name": "LAYOUT_POPOUT_CONTAINER_CLASS",
296
- "module": "src/utils/constants.ts"
297
- }
298
- }
299
- ]
300
- },
301
- {
302
- "kind": "javascript-module",
303
- "path": "src/utils/error.ts",
304
- "declarations": [
305
- {
306
- "kind": "class",
307
- "description": "",
308
- "name": "LayoutUsageError",
309
- "superclass": {
310
- "name": "Error",
311
- "module": "src/utils/error.ts"
312
- }
313
- },
314
- {
315
- "kind": "class",
316
- "description": "",
317
- "name": "LayoutRegistrationError",
318
- "superclass": {
319
- "name": "Error",
320
- "module": "src/utils/error.ts"
321
- }
322
- }
323
- ],
324
- "exports": [
325
- {
326
- "kind": "js",
327
- "name": "LayoutUsageError",
328
- "declaration": {
329
- "name": "LayoutUsageError",
330
- "module": "src/utils/error.ts"
331
- }
332
- },
333
- {
334
- "kind": "js",
335
- "name": "LayoutRegistrationError",
336
- "declaration": {
337
- "name": "LayoutRegistrationError",
338
- "module": "src/utils/error.ts"
339
- }
340
- }
341
- ]
342
- },
343
- {
344
- "kind": "javascript-module",
345
- "path": "src/utils/events.ts",
346
- "declarations": [
347
- {
348
- "kind": "variable",
349
- "name": "LayoutEmitEvents",
350
- "type": {
351
- "text": "{\n firstLoaded: 'first-loaded',\n itemAdded: 'item-added',\n itemRemoved: 'item-removed',\n itemResized: 'item-resized',\n}"
352
- },
353
- "default": "{\n firstLoaded: 'first-loaded',\n itemAdded: 'item-added',\n itemRemoved: 'item-removed',\n itemResized: 'item-resized',\n}",
354
- "description": "Defines events that the layout system emits\n\n'firstLoaded' - emitted when the layout has finished loading the first time\nusing the declarative API after DEFAULT_RELOAD_BUFFER ms.\n<br/>\n'itemAdded' - emitted when an item is added to the layout'\n<br/>\n'itemRemoved' - emitted when an item is removed from the layout'\n<br/>\n'itemResized' - emitted when the user drags the divider to resize elements",
355
- "privacy": "public"
356
- },
357
- {
358
- "kind": "variable",
359
- "name": "LayoutReceiveEvents",
360
- "type": {
361
- "text": "{\n changeTitle: 'change-title',\n autosave: 'autosave',\n}"
362
- },
363
- "default": "{\n changeTitle: 'change-title',\n autosave: 'autosave',\n}",
364
- "description": "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'autosave' - emit this from a contained item to hint to the layout system that it should autosave the layout. A contained item should do this if it has just changed some state it would like to persist. See LayoutComponentWithState.",
365
- "privacy": "public"
366
- }
367
- ],
368
- "exports": [
369
- {
370
- "kind": "js",
371
- "name": "LayoutEmitEvents",
372
- "declaration": {
373
- "name": "LayoutEmitEvents",
374
- "module": "src/utils/events.ts"
375
- }
376
- },
377
- {
378
- "kind": "js",
379
- "name": "LayoutReceiveEvents",
380
- "declaration": {
381
- "name": "LayoutReceiveEvents",
382
- "module": "src/utils/events.ts"
383
- }
384
- }
385
- ]
386
- },
387
- {
388
- "kind": "javascript-module",
389
- "path": "src/utils/index.ts",
390
- "declarations": [],
391
- "exports": [
392
- {
393
- "kind": "js",
394
- "name": "*",
395
- "declaration": {
396
- "name": "*",
397
- "package": "./constants"
398
- }
399
- },
400
- {
401
- "kind": "js",
402
- "name": "*",
403
- "declaration": {
404
- "name": "*",
405
- "package": "./error"
406
- }
407
- },
408
- {
409
- "kind": "js",
410
- "name": "*",
411
- "declaration": {
412
- "name": "*",
413
- "package": "./events"
414
- }
415
- },
416
- {
417
- "kind": "js",
418
- "name": "*",
419
- "declaration": {
420
- "name": "*",
421
- "package": "./misc"
422
- }
423
- },
424
- {
425
- "kind": "js",
426
- "name": "*",
427
- "declaration": {
428
- "name": "*",
429
- "package": "./templates"
430
- }
431
- },
432
- {
433
- "kind": "js",
434
- "name": "*",
435
- "declaration": {
436
- "name": "*",
437
- "package": "./types"
438
- }
439
- },
440
- {
441
- "kind": "js",
442
- "name": "*",
443
- "declaration": {
444
- "name": "*",
445
- "package": "./error"
446
- }
447
- }
448
- ]
449
- },
450
- {
451
- "kind": "javascript-module",
452
- "path": "src/utils/logger.ts",
453
- "declarations": [
454
- {
455
- "kind": "variable",
456
- "name": "logger"
457
- }
458
- ],
459
- "exports": [
460
- {
461
- "kind": "js",
462
- "name": "logger",
463
- "declaration": {
464
- "name": "logger",
465
- "module": "src/utils/logger.ts"
466
- }
467
- }
468
- ]
469
- },
470
- {
471
- "kind": "javascript-module",
472
- "path": "src/utils/misc.ts",
473
- "declarations": [],
474
- "exports": []
475
- },
476
- {
477
- "kind": "javascript-module",
478
- "path": "src/utils/templates.ts",
479
- "declarations": [],
480
- "exports": []
481
- },
482
- {
483
- "kind": "javascript-module",
484
- "path": "src/utils/types.ts",
485
- "declarations": [],
486
- "exports": []
487
- },
488
258
  {
489
259
  "kind": "javascript-module",
490
260
  "path": "src/main/index.ts",
@@ -1485,6 +1255,236 @@
1485
1255
  }
1486
1256
  }
1487
1257
  ]
1258
+ },
1259
+ {
1260
+ "kind": "javascript-module",
1261
+ "path": "src/utils/constants.ts",
1262
+ "declarations": [
1263
+ {
1264
+ "kind": "variable",
1265
+ "name": "DEFAULT_RELOAD_BUFFER",
1266
+ "type": {
1267
+ "text": "number"
1268
+ },
1269
+ "default": "500",
1270
+ "description": "Default time in milliseconds for the layout to buffer calls to reloading\nthe layout while the declarative API is loading.\n\nDuring the first load of the layout, a loading spinner will be shown.",
1271
+ "privacy": "public"
1272
+ },
1273
+ {
1274
+ "kind": "variable",
1275
+ "name": "LAYOUT_POPOUT_CONTAINER_CLASS",
1276
+ "type": {
1277
+ "text": "string"
1278
+ },
1279
+ "default": "'f-layout-popout'",
1280
+ "description": "Put this classname on an element which is a DOM parent of the layout, and\nif the layout goes into popout mode then it will place itself as the only child\nfor the popout container you set."
1281
+ }
1282
+ ],
1283
+ "exports": [
1284
+ {
1285
+ "kind": "js",
1286
+ "name": "DEFAULT_RELOAD_BUFFER",
1287
+ "declaration": {
1288
+ "name": "DEFAULT_RELOAD_BUFFER",
1289
+ "module": "src/utils/constants.ts"
1290
+ }
1291
+ },
1292
+ {
1293
+ "kind": "js",
1294
+ "name": "LAYOUT_POPOUT_CONTAINER_CLASS",
1295
+ "declaration": {
1296
+ "name": "LAYOUT_POPOUT_CONTAINER_CLASS",
1297
+ "module": "src/utils/constants.ts"
1298
+ }
1299
+ }
1300
+ ]
1301
+ },
1302
+ {
1303
+ "kind": "javascript-module",
1304
+ "path": "src/utils/error.ts",
1305
+ "declarations": [
1306
+ {
1307
+ "kind": "class",
1308
+ "description": "",
1309
+ "name": "LayoutUsageError",
1310
+ "superclass": {
1311
+ "name": "Error",
1312
+ "module": "src/utils/error.ts"
1313
+ }
1314
+ },
1315
+ {
1316
+ "kind": "class",
1317
+ "description": "",
1318
+ "name": "LayoutRegistrationError",
1319
+ "superclass": {
1320
+ "name": "Error",
1321
+ "module": "src/utils/error.ts"
1322
+ }
1323
+ }
1324
+ ],
1325
+ "exports": [
1326
+ {
1327
+ "kind": "js",
1328
+ "name": "LayoutUsageError",
1329
+ "declaration": {
1330
+ "name": "LayoutUsageError",
1331
+ "module": "src/utils/error.ts"
1332
+ }
1333
+ },
1334
+ {
1335
+ "kind": "js",
1336
+ "name": "LayoutRegistrationError",
1337
+ "declaration": {
1338
+ "name": "LayoutRegistrationError",
1339
+ "module": "src/utils/error.ts"
1340
+ }
1341
+ }
1342
+ ]
1343
+ },
1344
+ {
1345
+ "kind": "javascript-module",
1346
+ "path": "src/utils/events.ts",
1347
+ "declarations": [
1348
+ {
1349
+ "kind": "variable",
1350
+ "name": "LayoutEmitEvents",
1351
+ "type": {
1352
+ "text": "{\n firstLoaded: 'first-loaded',\n itemAdded: 'item-added',\n itemRemoved: 'item-removed',\n itemResized: 'item-resized',\n}"
1353
+ },
1354
+ "default": "{\n firstLoaded: 'first-loaded',\n itemAdded: 'item-added',\n itemRemoved: 'item-removed',\n itemResized: 'item-resized',\n}",
1355
+ "description": "Defines events that the layout system emits\n\n'firstLoaded' - emitted when the layout has finished loading the first time\nusing the declarative API after DEFAULT_RELOAD_BUFFER ms.\n<br/>\n'itemAdded' - emitted when an item is added to the layout'\n<br/>\n'itemRemoved' - emitted when an item is removed from the layout'\n<br/>\n'itemResized' - emitted when the user drags the divider to resize elements",
1356
+ "privacy": "public"
1357
+ },
1358
+ {
1359
+ "kind": "variable",
1360
+ "name": "LayoutReceiveEvents",
1361
+ "type": {
1362
+ "text": "{\n changeTitle: 'change-title',\n autosave: 'autosave',\n}"
1363
+ },
1364
+ "default": "{\n changeTitle: 'change-title',\n autosave: 'autosave',\n}",
1365
+ "description": "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'autosave' - emit this from a contained item to hint to the layout system that it should autosave the layout. A contained item should do this if it has just changed some state it would like to persist. See LayoutComponentWithState.",
1366
+ "privacy": "public"
1367
+ }
1368
+ ],
1369
+ "exports": [
1370
+ {
1371
+ "kind": "js",
1372
+ "name": "LayoutEmitEvents",
1373
+ "declaration": {
1374
+ "name": "LayoutEmitEvents",
1375
+ "module": "src/utils/events.ts"
1376
+ }
1377
+ },
1378
+ {
1379
+ "kind": "js",
1380
+ "name": "LayoutReceiveEvents",
1381
+ "declaration": {
1382
+ "name": "LayoutReceiveEvents",
1383
+ "module": "src/utils/events.ts"
1384
+ }
1385
+ }
1386
+ ]
1387
+ },
1388
+ {
1389
+ "kind": "javascript-module",
1390
+ "path": "src/utils/index.ts",
1391
+ "declarations": [],
1392
+ "exports": [
1393
+ {
1394
+ "kind": "js",
1395
+ "name": "*",
1396
+ "declaration": {
1397
+ "name": "*",
1398
+ "package": "./constants"
1399
+ }
1400
+ },
1401
+ {
1402
+ "kind": "js",
1403
+ "name": "*",
1404
+ "declaration": {
1405
+ "name": "*",
1406
+ "package": "./error"
1407
+ }
1408
+ },
1409
+ {
1410
+ "kind": "js",
1411
+ "name": "*",
1412
+ "declaration": {
1413
+ "name": "*",
1414
+ "package": "./events"
1415
+ }
1416
+ },
1417
+ {
1418
+ "kind": "js",
1419
+ "name": "*",
1420
+ "declaration": {
1421
+ "name": "*",
1422
+ "package": "./misc"
1423
+ }
1424
+ },
1425
+ {
1426
+ "kind": "js",
1427
+ "name": "*",
1428
+ "declaration": {
1429
+ "name": "*",
1430
+ "package": "./templates"
1431
+ }
1432
+ },
1433
+ {
1434
+ "kind": "js",
1435
+ "name": "*",
1436
+ "declaration": {
1437
+ "name": "*",
1438
+ "package": "./types"
1439
+ }
1440
+ },
1441
+ {
1442
+ "kind": "js",
1443
+ "name": "*",
1444
+ "declaration": {
1445
+ "name": "*",
1446
+ "package": "./error"
1447
+ }
1448
+ }
1449
+ ]
1450
+ },
1451
+ {
1452
+ "kind": "javascript-module",
1453
+ "path": "src/utils/logger.ts",
1454
+ "declarations": [
1455
+ {
1456
+ "kind": "variable",
1457
+ "name": "logger"
1458
+ }
1459
+ ],
1460
+ "exports": [
1461
+ {
1462
+ "kind": "js",
1463
+ "name": "logger",
1464
+ "declaration": {
1465
+ "name": "logger",
1466
+ "module": "src/utils/logger.ts"
1467
+ }
1468
+ }
1469
+ ]
1470
+ },
1471
+ {
1472
+ "kind": "javascript-module",
1473
+ "path": "src/utils/misc.ts",
1474
+ "declarations": [],
1475
+ "exports": []
1476
+ },
1477
+ {
1478
+ "kind": "javascript-module",
1479
+ "path": "src/utils/templates.ts",
1480
+ "declarations": [],
1481
+ "exports": []
1482
+ },
1483
+ {
1484
+ "kind": "javascript-module",
1485
+ "path": "src/utils/types.ts",
1486
+ "declarations": [],
1487
+ "exports": []
1488
1488
  }
1489
1489
  ]
1490
1490
  }
@@ -1,6 +1,6 @@
1
1
  import { LayoutConfig, RootItemConfig } from '@genesis-community/golden-layout';
2
2
  import { FoundationElement } from '@microsoft/fast-foundation';
3
- import { LayoutComponent, Placement, RegisteredElementConfig, RegistrationConfig, SerialisedLayout, componentType, CustomButton } from '../utils/';
3
+ import { componentType, CustomButton, LayoutComponent, Placement, RegisteredElementConfig, RegistrationConfig, SerialisedLayout } from '../utils/';
4
4
  export { layoutStyles } from '../styles';
5
5
  /**
6
6
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"layout-main.d.ts","sourceRoot":"","sources":["../../../src/main/layout-main.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,YAAY,EAEZ,cAAc,EAGf,MAAM,kCAAkC,CAAC;AAI1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EAEL,eAAe,EAGf,SAAS,EACT,uBAAuB,EACvB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EAKb,YAAY,EAQb,MAAM,WAAW,CAAC;AAKnB,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAiBzC;;;;;;;;;;;GAWG;AACH,qBAAa,gBAAiB,SAAQ,iBAAkB,YAAW,eAAe;;IAChF,OAAO,CAAC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GAKG;AACH,eAAO,MAAM,cAAc,uEAK1B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;2BAI3B,CAAC"}
@@ -105,6 +105,7 @@ export interface RegisteredElementConfig {
105
105
  title?: string;
106
106
  closable?: boolean;
107
107
  size?: string;
108
+ showMaximiseButton?: boolean;
108
109
  }
109
110
  /**
110
111
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/utils/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAC5F,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAE/D;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;CAC9D,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,CAAC,EAAE,GAAG,CAAC;IACP,CAAC,EAAE,oBAAoB,CAAC;CACzB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAoDK;AACL,MAAM,WAAW,wBAAwB,CAAC,CAAC;IACzC;;OAEG;IACH,eAAe,IAAI,CAAC,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC;CACnC;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,S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,CAAC;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,mBAAmB,CAAC,CAAC,IAAI,OAAO,GAC1C,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC,GAAG;IACrC,CAAC,iBAAiB,CAAC,CAAC,EAAE,iBAAiB,CAAC;CACzC,CAAC;AAEJ,gBAAgB;AAChB,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,gBAAgB;AAChB,eAAO,MAAM,iBAAiB,6CAA8C,CAAC;AAC7E;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAClE,gBAAgB;AAChB,MAAM,MAAM,cAAc,GAAG,gBAAgB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEhE,gBAAgB;AAChB,MAAM,WAAW,eAAe;IAC9B,CAAC,aAAa,CAAC,EAAE,cAAc,CAAC;IAChC,wBAAwB,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM,CAAC;IAC7D,mBAAmB,IAAI,IAAI,CAAC;CAC7B;AAED,gBAAgB;AAChB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACrB,CAAC"}
@@ -3,11 +3,10 @@ import { __classPrivateFieldGet, __classPrivateFieldSet, __decorate } from "tsli
3
3
  import { GoldenLayout, LayoutConfig, ResolvedLayoutConfig, } from '@genesis-community/golden-layout';
4
4
  import { Session } from '@genesislcap/foundation-comms';
5
5
  import { layoutCacheDocument, UUID } from '@genesislcap/foundation-utils';
6
- import { html, attr, observable, when, ref } from '@microsoft/fast-element';
6
+ import { attr, html, observable, ref, when } from '@microsoft/fast-element';
7
7
  import { FoundationElement } from '@microsoft/fast-foundation';
8
- import { globalDraggingStyles, glVisualConfig, layoutStyles, LAYOUT_ICONS } from '../styles';
9
- import { DEFAULT_RELOAD_BUFFER, LayoutEmitEvents, LayoutReceiveEvents, componentType, AUTOSAVE_KEY, regionConveter, instanceContainer, LAYOUT_POPOUT_CONTROL_KEY, LAYOUT_POPOUT_CONTAINER_CLASS, } from '../utils/';
10
- import { getMissingArrayItems } from '../utils/';
8
+ import { globalDraggingStyles, glVisualConfig, LAYOUT_ICONS, layoutStyles } from '../styles';
9
+ import { AUTOSAVE_KEY, componentType, DEFAULT_RELOAD_BUFFER, getMissingArrayItems, instanceContainer, LAYOUT_POPOUT_CONTAINER_CLASS, LAYOUT_POPOUT_CONTROL_KEY, LayoutEmitEvents, LayoutReceiveEvents, regionConveter, } from '../utils/';
11
10
  import { LayoutRegistrationError, LayoutUsageError } from '../utils/error';
12
11
  import { logger } from '../utils/logger';
13
12
  export { layoutStyles } from '../styles';
@@ -391,7 +390,7 @@ export class FoundationLayout extends FoundationElement {
391
390
  const configArray = Array.isArray(config) ? config : [config];
392
391
  const isSingleItem = configArray.length === 1;
393
392
  const childItems = configArray.map((regConfig) => {
394
- const { registration, title, size, closable } = regConfig;
393
+ const { registration, title, size, closable, showMaximiseButton } = regConfig;
395
394
  if (!this.layout.getRegisteredComponentTypeNames().includes(registration)) {
396
395
  throw new LayoutRegistrationError(`Cannot add item '${registration}' which is not registered with the layout system.`);
397
396
  }
@@ -402,6 +401,9 @@ export class FoundationLayout extends FoundationElement {
402
401
  reorderEnabled: true,
403
402
  isClosable: closable || false,
404
403
  size: !isSingleItem ? size : undefined,
404
+ header: {
405
+ maximise: showMaximiseButton === false ? false : 'maximise',
406
+ },
405
407
  };
406
408
  });
407
409
  const itemConfig = {
@@ -2112,6 +2112,33 @@
2112
2112
  "endIndex": 2
2113
2113
  }
2114
2114
  },
2115
+ {
2116
+ "kind": "PropertySignature",
2117
+ "canonicalReference": "@genesislcap/foundation-layout!RegisteredElementConfig#showMaximiseButton:member",
2118
+ "docComment": "",
2119
+ "excerptTokens": [
2120
+ {
2121
+ "kind": "Content",
2122
+ "text": "showMaximiseButton?: "
2123
+ },
2124
+ {
2125
+ "kind": "Content",
2126
+ "text": "boolean"
2127
+ },
2128
+ {
2129
+ "kind": "Content",
2130
+ "text": ";"
2131
+ }
2132
+ ],
2133
+ "isReadonly": false,
2134
+ "isOptional": true,
2135
+ "releaseTag": "Public",
2136
+ "name": "showMaximiseButton",
2137
+ "propertyTypeTokenRange": {
2138
+ "startIndex": 1,
2139
+ "endIndex": 2
2140
+ }
2141
+ },
2115
2142
  {
2116
2143
  "kind": "PropertySignature",
2117
2144
  "canonicalReference": "@genesislcap/foundation-layout!RegisteredElementConfig#size:member",
@@ -746,6 +746,7 @@ export declare interface RegisteredElementConfig {
746
746
  title?: string;
747
747
  closable?: boolean;
748
748
  size?: string;
749
+ showMaximiseButton?: boolean;
749
750
  }
750
751
 
751
752
  /** @internal */
@@ -22,6 +22,7 @@ export interface RegisteredElementConfig
22
22
  | --- | --- | --- | --- |
23
23
  | [closable?](./foundation-layout.registeredelementconfig.closable.md) | | boolean | _(Optional)_ |
24
24
  | [registration](./foundation-layout.registeredelementconfig.registration.md) | | string | |
25
+ | [showMaximiseButton?](./foundation-layout.registeredelementconfig.showmaximisebutton.md) | | boolean | _(Optional)_ |
25
26
  | [size?](./foundation-layout.registeredelementconfig.size.md) | | string | _(Optional)_ |
26
27
  | [title?](./foundation-layout.registeredelementconfig.title.md) | | string | _(Optional)_ |
27
28
 
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [RegisteredElementConfig](./foundation-layout.registeredelementconfig.md) &gt; [showMaximiseButton](./foundation-layout.registeredelementconfig.showmaximisebutton.md)
4
+
5
+ ## RegisteredElementConfig.showMaximiseButton property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ showMaximiseButton?: boolean;
11
+ ```
@@ -207,6 +207,8 @@ export interface RegisteredElementConfig {
207
207
  // (undocumented)
208
208
  registration: string;
209
209
  // (undocumented)
210
+ showMaximiseButton?: boolean;
211
+ // (undocumented)
210
212
  size?: string;
211
213
  // (undocumented)
212
214
  title?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-layout",
3
3
  "description": "Genesis Foundation UI App Layout",
4
- "version": "14.244.3",
4
+ "version": "14.245.1-alpha-180cb89.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/foundation-layout.d.ts",
@@ -36,20 +36,20 @@
36
36
  }
37
37
  },
38
38
  "devDependencies": {
39
- "@genesislcap/foundation-testing": "14.244.3",
40
- "@genesislcap/genx": "14.244.3",
41
- "@genesislcap/rollup-builder": "14.244.3",
42
- "@genesislcap/ts-builder": "14.244.3",
43
- "@genesislcap/uvu-playwright-builder": "14.244.3",
44
- "@genesislcap/vite-builder": "14.244.3",
45
- "@genesislcap/webpack-builder": "14.244.3",
39
+ "@genesislcap/foundation-testing": "14.245.1-alpha-180cb89.0",
40
+ "@genesislcap/genx": "14.245.1-alpha-180cb89.0",
41
+ "@genesislcap/rollup-builder": "14.245.1-alpha-180cb89.0",
42
+ "@genesislcap/ts-builder": "14.245.1-alpha-180cb89.0",
43
+ "@genesislcap/uvu-playwright-builder": "14.245.1-alpha-180cb89.0",
44
+ "@genesislcap/vite-builder": "14.245.1-alpha-180cb89.0",
45
+ "@genesislcap/webpack-builder": "14.245.1-alpha-180cb89.0",
46
46
  "rimraf": "^5.0.0"
47
47
  },
48
48
  "dependencies": {
49
49
  "@genesis-community/golden-layout": "^2.11.0",
50
- "@genesislcap/foundation-comms": "14.244.3",
51
- "@genesislcap/foundation-logger": "14.244.3",
52
- "@genesislcap/foundation-utils": "14.244.3",
50
+ "@genesislcap/foundation-comms": "14.245.1-alpha-180cb89.0",
51
+ "@genesislcap/foundation-logger": "14.245.1-alpha-180cb89.0",
52
+ "@genesislcap/foundation-utils": "14.245.1-alpha-180cb89.0",
53
53
  "@microsoft/fast-components": "2.30.6",
54
54
  "@microsoft/fast-element": "1.14.0",
55
55
  "@microsoft/fast-foundation": "2.49.6",
@@ -64,5 +64,5 @@
64
64
  "access": "public"
65
65
  },
66
66
  "customElements": "dist/custom-elements.json",
67
- "gitHead": "c4f2b114e38e7e3aedaa8f72a6643770a8d8652b"
67
+ "gitHead": "232d03523e5c3e8c6e3c9b68866896588791671a"
68
68
  }