@genesislcap/foundation-layout 14.231.1-alpha-e01af29.0 → 14.231.1-alpha-e92fa0b.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.
@@ -102,6 +102,7 @@ export declare class FoundationLayout extends FoundationElement implements Layou
102
102
  popoutConfig: string | undefined;
103
103
  private popupMode;
104
104
  showCloseIcons: boolean;
105
+ showMaximiseIcons: boolean;
105
106
  /** @internal */
106
107
  constructor();
107
108
  /** @internal */
@@ -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,MAAM,CAAe;IAC7B,gBAAgB;IAChB,aAAa,EAAE,WAAW,CAAC;IAC3B,OAAO,CAAC,YAAY,CAAqC;IAEzD,gBAAgB;IAChB,CAAC,aAAa,CAAC,SAAmB;IAElC;;;;OAIG;IACmC,YAAY,EAAE,MAAM,CAAyB;IACnF,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,oBAAoB,CAAK;IAEjC,gBAAgB;IACV,OAAO,CAAC,IAAI,CAAO;IAEzB,gBAAgB;IACP,OAAO,CAAC,OAAO,CAAU;IAClC;;;;;OAKG;IACmC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC3D;;;;OAIG;IACS,sBAAsB,gBAAiB,MAAM,Y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ASG;IACH,WAAW,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,GAAE,OAAe,GAAG,MAAM;IAgDjE;;;;;;;;;;;;;;;OAeG;IACH,YAAY,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,MAAM;IAW/D;;OAEG;IAEH;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;IAI5B;;;;OAIG;IACH,mBAAmB,IAAI,IAAI;IAmB3B;;;;;;;OAOG;IACH,gBAAgB,CAAC,CAAC,SAAS,cAAc,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC;IAetD;;;;;;;OAOG;IACH,wBAAwB,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,EAAE,kBAAkB,GAAG,MAAM;IAuEtE;;;OAGG;IACH,OAAO,CAAC,wBAAwB;IAehC;;;;;;;;SAQK;IACL,OAAO,CAAC,kBAAkB;IAY1B;;;;;;;;OAQG;IACH,OAAO,CAAC,kCAAkC;IA4B1C;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,oBAAoB;IAc5B;;;;;;;;OAQG;IACH,OAAO,CAAC,mBAAmB;IAU3B;;;OAGG;IACH,OAAO,CAAC,kBAAkB;IAc1B;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAM3B;;;OAGG;IACH,OAAO,CAAC,4BAA4B;IAWpC;;;OAGG;IACH,OAAO,CAAC,uBAAuB;CAyBhC;AAMD;;;;;GAKG;AACH,eAAO,MAAM,cAAc,uEAK1B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;2BAI3B,CAAC"}
@@ -107,6 +107,7 @@ export class FoundationLayout extends FoundationElement {
107
107
  this.popoutConfig = undefined;
108
108
  this.popupMode = false;
109
109
  this.showCloseIcons = false;
110
+ this.showMaximiseIcons = false;
110
111
  /** @internal */
111
112
  _FoundationLayout__boundDragListener.set(this, undefined);
112
113
  this.onDragStart = this.onDragStart.bind(this);
@@ -360,6 +361,7 @@ export class FoundationLayout extends FoundationElement {
360
361
  this.registerPlaceholdersAndSetClosable(layoutConfig, missingRegisteredItems);
361
362
  }
362
363
  layoutConfig.settings.showCloseIcon = this.showCloseIcons;
364
+ layoutConfig.settings.showMaximiseIcon = this.showMaximiseIcons;
363
365
  this.loadGLConfigAndSetup(layoutConfig);
364
366
  // Try and restore any serialised state that is stored in the SerialisedLayout
365
367
  const componentCollection = this.getLayoutComponents();
@@ -713,6 +715,8 @@ export class FoundationLayout extends FoundationElement {
713
715
  */
714
716
  loadGLConfigAndSetup(config) {
715
717
  this.hasFirstLoaded = true;
718
+ config.settings.showCloseIcon = this.showCloseIcons;
719
+ config.settings.showMaximiseIcon = this.showMaximiseIcons;
716
720
  this.layout.loadLayout(Object.assign(Object.assign(Object.assign({}, config), glVisualConfig), { dimensions: Object.assign(Object.assign({}, glVisualConfig.dimensions), this.dimensionsConfig) }));
717
721
  this.attatchResizeEvents();
718
722
  }
@@ -837,6 +841,9 @@ __decorate([
837
841
  __decorate([
838
842
  attr({ attribute: 'hideCloseIcons' })
839
843
  ], FoundationLayout.prototype, "showCloseIcons", void 0);
844
+ __decorate([
845
+ attr({ attribute: 'showMaximiseIcons' })
846
+ ], FoundationLayout.prototype, "showMaximiseIcons", void 0);
840
847
  const loadingTemplate = html `
841
848
  <div class="html-spinner"></div>
842
849
  `;
@@ -1030,6 +1030,36 @@
1030
1030
  "isProtected": false,
1031
1031
  "isAbstract": false
1032
1032
  },
1033
+ {
1034
+ "kind": "Property",
1035
+ "canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#showMaximiseIcons:member",
1036
+ "docComment": "",
1037
+ "excerptTokens": [
1038
+ {
1039
+ "kind": "Content",
1040
+ "text": "showMaximiseIcons: "
1041
+ },
1042
+ {
1043
+ "kind": "Content",
1044
+ "text": "boolean"
1045
+ },
1046
+ {
1047
+ "kind": "Content",
1048
+ "text": ";"
1049
+ }
1050
+ ],
1051
+ "isReadonly": false,
1052
+ "isOptional": false,
1053
+ "releaseTag": "Public",
1054
+ "name": "showMaximiseIcons",
1055
+ "propertyTypeTokenRange": {
1056
+ "startIndex": 1,
1057
+ "endIndex": 2
1058
+ },
1059
+ "isStatic": false,
1060
+ "isProtected": false,
1061
+ "isAbstract": false
1062
+ },
1033
1063
  {
1034
1064
  "kind": "Method",
1035
1065
  "canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#tryActivatePopoutMode:member(1)",
@@ -138,6 +138,7 @@ export declare class FoundationLayout extends FoundationElement implements Layou
138
138
  popoutConfig: string | undefined;
139
139
  private popupMode;
140
140
  showCloseIcons: boolean;
141
+ showMaximiseIcons: boolean;
141
142
  /** @internal */
142
143
  constructor();
143
144
  /** @internal */
@@ -36,6 +36,7 @@ The constructor for this class is marked as internal. Third-party code should no
36
36
  | [popoutConfig](./foundation-layout.foundationlayout.popoutconfig.md) | | string \| undefined | **_(BETA)_** Controls whether popout functionality is enabled on the layout. Defaults to disabled. Set this attribute to any string to enable popout functionality. If this string is of format <code>number;number</code> then this will be interpreted as the width and height of the popout window. |
37
37
  | [reloadBuffer](./foundation-layout.foundationlayout.reloadbuffer.md) | | number | Number describing how long to wait in ms before reloading the config when adding items declaratively by the html API. Default 500 (ms). |
38
38
  | [showCloseIcons](./foundation-layout.foundationlayout.showcloseicons.md) | | boolean | |
39
+ | [showMaximiseIcons](./foundation-layout.foundationlayout.showmaximiseicons.md) | | boolean | |
39
40
 
40
41
  ## Methods
41
42
 
@@ -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; [FoundationLayout](./foundation-layout.foundationlayout.md) &gt; [showMaximiseIcons](./foundation-layout.foundationlayout.showmaximiseicons.md)
4
+
5
+ ## FoundationLayout.showMaximiseIcons property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ showMaximiseIcons: boolean;
11
+ ```
@@ -63,6 +63,8 @@ export class FoundationLayout extends FoundationElement implements LayoutCompone
63
63
  requestLayoutReload(): void;
64
64
  // (undocumented)
65
65
  showCloseIcons: boolean;
66
+ // (undocumented)
67
+ showMaximiseIcons: boolean;
66
68
  // @beta
67
69
  tryActivatePopoutMode(): boolean;
68
70
  tryLoadLayoutFromLocalStorage(): boolean;
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.231.1-alpha-e01af29.0",
4
+ "version": "14.231.1-alpha-e92fa0b.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.231.1-alpha-e01af29.0",
40
- "@genesislcap/genx": "14.231.1-alpha-e01af29.0",
41
- "@genesislcap/rollup-builder": "14.231.1-alpha-e01af29.0",
42
- "@genesislcap/ts-builder": "14.231.1-alpha-e01af29.0",
43
- "@genesislcap/uvu-playwright-builder": "14.231.1-alpha-e01af29.0",
44
- "@genesislcap/vite-builder": "14.231.1-alpha-e01af29.0",
45
- "@genesislcap/webpack-builder": "14.231.1-alpha-e01af29.0",
39
+ "@genesislcap/foundation-testing": "14.231.1-alpha-e92fa0b.0",
40
+ "@genesislcap/genx": "14.231.1-alpha-e92fa0b.0",
41
+ "@genesislcap/rollup-builder": "14.231.1-alpha-e92fa0b.0",
42
+ "@genesislcap/ts-builder": "14.231.1-alpha-e92fa0b.0",
43
+ "@genesislcap/uvu-playwright-builder": "14.231.1-alpha-e92fa0b.0",
44
+ "@genesislcap/vite-builder": "14.231.1-alpha-e92fa0b.0",
45
+ "@genesislcap/webpack-builder": "14.231.1-alpha-e92fa0b.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.231.1-alpha-e01af29.0",
51
- "@genesislcap/foundation-logger": "14.231.1-alpha-e01af29.0",
52
- "@genesislcap/foundation-utils": "14.231.1-alpha-e01af29.0",
50
+ "@genesislcap/foundation-comms": "14.231.1-alpha-e92fa0b.0",
51
+ "@genesislcap/foundation-logger": "14.231.1-alpha-e92fa0b.0",
52
+ "@genesislcap/foundation-utils": "14.231.1-alpha-e92fa0b.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": "d75f782a59bda0495e2ac4a320a8422122296294"
67
+ "gitHead": "8228442d72ad2ae2f60616f749e43452db8530c7"
68
68
  }