@genesislcap/foundation-layout 14.231.0 → 14.231.1-alpha-e01af29.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 +16 -0
- package/dist/dts/main/layout-main.d.ts +1 -0
- package/dist/dts/main/layout-main.d.ts.map +1 -1
- package/dist/esm/main/layout-main.js +5 -0
- package/dist/foundation-layout.api.json +30 -0
- package/dist/foundation-layout.d.ts +1 -0
- package/docs/api/foundation-layout.foundationlayout.md +1 -0
- package/docs/api/foundation-layout.foundationlayout.showcloseicons.md +11 -0
- package/docs/api-report.md +2 -0
- package/package.json +12 -12
@@ -573,6 +573,14 @@
|
|
573
573
|
"privacy": "private",
|
574
574
|
"default": "false"
|
575
575
|
},
|
576
|
+
{
|
577
|
+
"kind": "field",
|
578
|
+
"name": "showCloseIcons",
|
579
|
+
"type": {
|
580
|
+
"text": "boolean"
|
581
|
+
},
|
582
|
+
"default": "false"
|
583
|
+
},
|
576
584
|
{
|
577
585
|
"kind": "method",
|
578
586
|
"name": "layoutRequiredRegistrations",
|
@@ -913,6 +921,14 @@
|
|
913
921
|
"module": "src/main/layout-main.ts"
|
914
922
|
},
|
915
923
|
"fieldName": "popoutConfig"
|
924
|
+
},
|
925
|
+
{
|
926
|
+
"name": "hideCloseIcons",
|
927
|
+
"type": {
|
928
|
+
"text": "boolean"
|
929
|
+
},
|
930
|
+
"default": "false",
|
931
|
+
"fieldName": "showCloseIcons"
|
916
932
|
}
|
917
933
|
],
|
918
934
|
"superclass": {
|
@@ -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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;;;;;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;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,6 +106,7 @@ export class FoundationLayout extends FoundationElement {
|
|
106
106
|
*/
|
107
107
|
this.popoutConfig = undefined;
|
108
108
|
this.popupMode = false;
|
109
|
+
this.showCloseIcons = false;
|
109
110
|
/** @internal */
|
110
111
|
_FoundationLayout__boundDragListener.set(this, undefined);
|
111
112
|
this.onDragStart = this.onDragStart.bind(this);
|
@@ -358,6 +359,7 @@ export class FoundationLayout extends FoundationElement {
|
|
358
359
|
if (missingRegisteredItems.length !== 0 && handleMissingItem === 'placeholder') {
|
359
360
|
this.registerPlaceholdersAndSetClosable(layoutConfig, missingRegisteredItems);
|
360
361
|
}
|
362
|
+
layoutConfig.settings.showCloseIcon = this.showCloseIcons;
|
361
363
|
this.loadGLConfigAndSetup(layoutConfig);
|
362
364
|
// Try and restore any serialised state that is stored in the SerialisedLayout
|
363
365
|
const componentCollection = this.getLayoutComponents();
|
@@ -832,6 +834,9 @@ __decorate([
|
|
832
834
|
__decorate([
|
833
835
|
attr({ attribute: 'popout-config' })
|
834
836
|
], FoundationLayout.prototype, "popoutConfig", void 0);
|
837
|
+
__decorate([
|
838
|
+
attr({ attribute: 'hideCloseIcons' })
|
839
|
+
], FoundationLayout.prototype, "showCloseIcons", void 0);
|
835
840
|
const loadingTemplate = html `
|
836
841
|
<div class="html-spinner"></div>
|
837
842
|
`;
|
@@ -1000,6 +1000,36 @@
|
|
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
|
+
},
|
1003
1033
|
{
|
1004
1034
|
"kind": "Method",
|
1005
1035
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#tryActivatePopoutMode:member(1)",
|
@@ -35,6 +35,7 @@ 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 | |
|
38
39
|
|
39
40
|
## Methods
|
40
41
|
|
@@ -0,0 +1,11 @@
|
|
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
|
+
```
|
package/docs/api-report.md
CHANGED
@@ -61,6 +61,8 @@ 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;
|
64
66
|
// @beta
|
65
67
|
tryActivatePopoutMode(): boolean;
|
66
68
|
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.0",
|
4
|
+
"version": "14.231.1-alpha-e01af29.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.0",
|
40
|
-
"@genesislcap/genx": "14.231.0",
|
41
|
-
"@genesislcap/rollup-builder": "14.231.0",
|
42
|
-
"@genesislcap/ts-builder": "14.231.0",
|
43
|
-
"@genesislcap/uvu-playwright-builder": "14.231.0",
|
44
|
-
"@genesislcap/vite-builder": "14.231.0",
|
45
|
-
"@genesislcap/webpack-builder": "14.231.0",
|
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",
|
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.0",
|
51
|
-
"@genesislcap/foundation-logger": "14.231.0",
|
52
|
-
"@genesislcap/foundation-utils": "14.231.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",
|
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": "d75f782a59bda0495e2ac4a320a8422122296294"
|
68
68
|
}
|