@genesislcap/foundation-layout 14.231.1-alpha-41de57b.0 → 14.231.1-alpha-9df9116.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/dist/custom-elements.json +879 -911
- package/dist/dts/main/layout-main.d.ts +0 -2
- package/dist/dts/main/layout-main.d.ts.map +1 -1
- package/dist/esm/main/layout-main.js +0 -13
- package/dist/foundation-layout.api.json +0 -60
- package/dist/foundation-layout.d.ts +0 -2
- package/docs/api/foundation-layout.foundationlayout.md +0 -2
- package/docs/api-report.md +0 -4
- package/package.json +12 -12
- package/docs/api/foundation-layout.foundationlayout.showcloseicons.md +0 -11
- package/docs/api/foundation-layout.foundationlayout.showmaximiseicons.md +0 -11
@@ -101,8 +101,6 @@ export declare class FoundationLayout extends FoundationElement implements Layou
|
|
101
101
|
*/
|
102
102
|
popoutConfig: string | undefined;
|
103
103
|
private popupMode;
|
104
|
-
showCloseIcons: boolean;
|
105
|
-
showMaximiseIcons: boolean;
|
106
104
|
/** @internal */
|
107
105
|
constructor();
|
108
106
|
/** @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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AwB;IAehC;;;;;;;;SAQK;IACL,OAAO,CAAC,kBAAkB;IAY1B;;;;;;;;OAQG;IACH,OAAO,CAAC,kCAAkC;IA4B1C;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;;;;;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"}
|
@@ -106,8 +106,6 @@ export class FoundationLayout extends FoundationElement {
|
|
106
106
|
*/
|
107
107
|
this.popoutConfig = undefined;
|
108
108
|
this.popupMode = false;
|
109
|
-
this.showCloseIcons = false;
|
110
|
-
this.showMaximiseIcons = false;
|
111
109
|
/** @internal */
|
112
110
|
_FoundationLayout__boundDragListener.set(this, undefined);
|
113
111
|
this.onDragStart = this.onDragStart.bind(this);
|
@@ -360,8 +358,6 @@ export class FoundationLayout extends FoundationElement {
|
|
360
358
|
if (missingRegisteredItems.length !== 0 && handleMissingItem === 'placeholder') {
|
361
359
|
this.registerPlaceholdersAndSetClosable(layoutConfig, missingRegisteredItems);
|
362
360
|
}
|
363
|
-
layoutConfig.settings.showCloseIcon = this.showCloseIcons;
|
364
|
-
layoutConfig.settings.showMaximiseIcon = this.showMaximiseIcons;
|
365
361
|
this.loadGLConfigAndSetup(layoutConfig);
|
366
362
|
// Try and restore any serialised state that is stored in the SerialisedLayout
|
367
363
|
const componentCollection = this.getLayoutComponents();
|
@@ -715,9 +711,6 @@ export class FoundationLayout extends FoundationElement {
|
|
715
711
|
*/
|
716
712
|
loadGLConfigAndSetup(config) {
|
717
713
|
this.hasFirstLoaded = true;
|
718
|
-
if (config.settings) {
|
719
|
-
config.settings = Object.assign(Object.assign({}, config.settings), { showCloseIcon: this.showCloseIcons, showMaximiseIcon: this.showMaximiseIcons });
|
720
|
-
}
|
721
714
|
this.layout.loadLayout(Object.assign(Object.assign(Object.assign({}, config), glVisualConfig), { dimensions: Object.assign(Object.assign({}, glVisualConfig.dimensions), this.dimensionsConfig) }));
|
722
715
|
this.attatchResizeEvents();
|
723
716
|
}
|
@@ -839,12 +832,6 @@ __decorate([
|
|
839
832
|
__decorate([
|
840
833
|
attr({ attribute: 'popout-config' })
|
841
834
|
], FoundationLayout.prototype, "popoutConfig", void 0);
|
842
|
-
__decorate([
|
843
|
-
attr({ attribute: 'hideCloseIcons' })
|
844
|
-
], FoundationLayout.prototype, "showCloseIcons", void 0);
|
845
|
-
__decorate([
|
846
|
-
attr({ attribute: 'showMaximiseIcons' })
|
847
|
-
], FoundationLayout.prototype, "showMaximiseIcons", void 0);
|
848
835
|
const loadingTemplate = html `
|
849
836
|
<div class="html-spinner"></div>
|
850
837
|
`;
|
@@ -1000,66 +1000,6 @@
|
|
1000
1000
|
"isAbstract": false,
|
1001
1001
|
"name": "removeItems"
|
1002
1002
|
},
|
1003
|
-
{
|
1004
|
-
"kind": "Property",
|
1005
|
-
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#showCloseIcons:member",
|
1006
|
-
"docComment": "",
|
1007
|
-
"excerptTokens": [
|
1008
|
-
{
|
1009
|
-
"kind": "Content",
|
1010
|
-
"text": "showCloseIcons: "
|
1011
|
-
},
|
1012
|
-
{
|
1013
|
-
"kind": "Content",
|
1014
|
-
"text": "boolean"
|
1015
|
-
},
|
1016
|
-
{
|
1017
|
-
"kind": "Content",
|
1018
|
-
"text": ";"
|
1019
|
-
}
|
1020
|
-
],
|
1021
|
-
"isReadonly": false,
|
1022
|
-
"isOptional": false,
|
1023
|
-
"releaseTag": "Public",
|
1024
|
-
"name": "showCloseIcons",
|
1025
|
-
"propertyTypeTokenRange": {
|
1026
|
-
"startIndex": 1,
|
1027
|
-
"endIndex": 2
|
1028
|
-
},
|
1029
|
-
"isStatic": false,
|
1030
|
-
"isProtected": false,
|
1031
|
-
"isAbstract": false
|
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
|
-
},
|
1063
1003
|
{
|
1064
1004
|
"kind": "Method",
|
1065
1005
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#tryActivatePopoutMode:member(1)",
|
@@ -137,8 +137,6 @@ export declare class FoundationLayout extends FoundationElement implements Layou
|
|
137
137
|
*/
|
138
138
|
popoutConfig: string | undefined;
|
139
139
|
private popupMode;
|
140
|
-
showCloseIcons: boolean;
|
141
|
-
showMaximiseIcons: boolean;
|
142
140
|
/** @internal */
|
143
141
|
constructor();
|
144
142
|
/** @internal */
|
@@ -35,8 +35,6 @@ The constructor for this class is marked as internal. Third-party code should no
|
|
35
35
|
| [missingItemPlaceholder](./foundation-layout.foundationlayout.missingitemplaceholder.md) | | (missingItem: string) => string | Function which is used to generate the placeholder text when a layout is loaded with a missing item. |
|
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
|
-
| [showCloseIcons](./foundation-layout.foundationlayout.showcloseicons.md) | | boolean | |
|
39
|
-
| [showMaximiseIcons](./foundation-layout.foundationlayout.showmaximiseicons.md) | | boolean | |
|
40
38
|
|
41
39
|
## Methods
|
42
40
|
|
package/docs/api-report.md
CHANGED
@@ -61,10 +61,6 @@ export class FoundationLayout extends FoundationElement implements LayoutCompone
|
|
61
61
|
removeItems(registration: string, force?: boolean): number;
|
62
62
|
// @internal
|
63
63
|
requestLayoutReload(): void;
|
64
|
-
// (undocumented)
|
65
|
-
showCloseIcons: boolean;
|
66
|
-
// (undocumented)
|
67
|
-
showMaximiseIcons: boolean;
|
68
64
|
// @beta
|
69
65
|
tryActivatePopoutMode(): boolean;
|
70
66
|
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-
|
4
|
+
"version": "14.231.1-alpha-9df9116.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-
|
40
|
-
"@genesislcap/genx": "14.231.1-alpha-
|
41
|
-
"@genesislcap/rollup-builder": "14.231.1-alpha-
|
42
|
-
"@genesislcap/ts-builder": "14.231.1-alpha-
|
43
|
-
"@genesislcap/uvu-playwright-builder": "14.231.1-alpha-
|
44
|
-
"@genesislcap/vite-builder": "14.231.1-alpha-
|
45
|
-
"@genesislcap/webpack-builder": "14.231.1-alpha-
|
39
|
+
"@genesislcap/foundation-testing": "14.231.1-alpha-9df9116.0",
|
40
|
+
"@genesislcap/genx": "14.231.1-alpha-9df9116.0",
|
41
|
+
"@genesislcap/rollup-builder": "14.231.1-alpha-9df9116.0",
|
42
|
+
"@genesislcap/ts-builder": "14.231.1-alpha-9df9116.0",
|
43
|
+
"@genesislcap/uvu-playwright-builder": "14.231.1-alpha-9df9116.0",
|
44
|
+
"@genesislcap/vite-builder": "14.231.1-alpha-9df9116.0",
|
45
|
+
"@genesislcap/webpack-builder": "14.231.1-alpha-9df9116.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-
|
51
|
-
"@genesislcap/foundation-logger": "14.231.1-alpha-
|
52
|
-
"@genesislcap/foundation-utils": "14.231.1-alpha-
|
50
|
+
"@genesislcap/foundation-comms": "14.231.1-alpha-9df9116.0",
|
51
|
+
"@genesislcap/foundation-logger": "14.231.1-alpha-9df9116.0",
|
52
|
+
"@genesislcap/foundation-utils": "14.231.1-alpha-9df9116.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": "
|
67
|
+
"gitHead": "51336dce3a5038201f496e37e6936f0cd5d12fd7"
|
68
68
|
}
|
@@ -1,11 +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) > [FoundationLayout](./foundation-layout.foundationlayout.md) > [showCloseIcons](./foundation-layout.foundationlayout.showcloseicons.md)
|
4
|
-
|
5
|
-
## FoundationLayout.showCloseIcons property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
showCloseIcons: boolean;
|
11
|
-
```
|
@@ -1,11 +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) > [FoundationLayout](./foundation-layout.foundationlayout.md) > [showMaximiseIcons](./foundation-layout.foundationlayout.showmaximiseicons.md)
|
4
|
-
|
5
|
-
## FoundationLayout.showMaximiseIcons property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
showMaximiseIcons: boolean;
|
11
|
-
```
|