@genesislcap/foundation-layout 14.276.2-FUI-2341.1 → 14.276.2
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 +0 -19
- package/dist/dts/main/layout-main.d.ts +0 -11
- package/dist/dts/main/layout-main.d.ts.map +1 -1
- package/dist/esm/main/layout-main.js +1 -15
- package/dist/foundation-layout.api.json +0 -30
- package/dist/foundation-layout.d.ts +0 -11
- package/docs/api/foundation-layout.foundationlayout.md +0 -1
- package/docs/api-report.md +0 -1
- package/package.json +12 -12
- package/docs/api/foundation-layout.foundationlayout.disableclonenode.md +0 -18
@@ -455,16 +455,6 @@
|
|
455
455
|
"privacy": "private",
|
456
456
|
"default": "{ root: undefined }"
|
457
457
|
},
|
458
|
-
{
|
459
|
-
"kind": "field",
|
460
|
-
"name": "disableCloneNode",
|
461
|
-
"type": {
|
462
|
-
"text": "boolean"
|
463
|
-
},
|
464
|
-
"default": "false",
|
465
|
-
"description": "Disables the ability to add multiple copies of the same registration to the layout, but gain\nbetter behaviours with your elements",
|
466
|
-
"privacy": "public"
|
467
|
-
},
|
468
458
|
{
|
469
459
|
"kind": "field",
|
470
460
|
"name": "reloadBuffer",
|
@@ -892,15 +882,6 @@
|
|
892
882
|
}
|
893
883
|
],
|
894
884
|
"attributes": [
|
895
|
-
{
|
896
|
-
"name": "disable-clone-node",
|
897
|
-
"type": {
|
898
|
-
"text": "boolean"
|
899
|
-
},
|
900
|
-
"default": "false",
|
901
|
-
"description": "Disables the ability to add multiple copies of the same registration to the layout, but gain\nbetter behaviours with your elements",
|
902
|
-
"fieldName": "disableCloneNode"
|
903
|
-
},
|
904
885
|
{
|
905
886
|
"name": "reload-buffer",
|
906
887
|
"type": {
|
@@ -22,17 +22,6 @@ export declare class FoundationLayout extends FoundationElement implements Layou
|
|
22
22
|
private layoutConfig;
|
23
23
|
/** @internal */
|
24
24
|
[componentType]: "root";
|
25
|
-
/**
|
26
|
-
* Disables the ability to add multiple copies of the same registration to the layout, but gain
|
27
|
-
* better behaviours with your elements
|
28
|
-
* @remarks
|
29
|
-
* The standard behaviour of the layout is to use `.cloneNode()` on an element to register it with the
|
30
|
-
* layout system, allowing you to add multiple copies of the same element. If you just want to use
|
31
|
-
* the layout declaratively without multiple copies then you can disable this, which bypasses the
|
32
|
-
* behaviours from using `.cloneNode()` (e.g. losing event listeners and bindings)
|
33
|
-
* @public
|
34
|
-
*/
|
35
|
-
disableCloneNode: boolean;
|
36
25
|
/**
|
37
26
|
* Number describing how long to wait in ms before reloading the config when adding items
|
38
27
|
* declaratively by the html API. Default 500 (ms).
|
@@ -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,EAGL,aAAa,EACb,YAAY,EAOZ,eAAe,EAKf,SAAS,EAET,uBAAuB,EACvB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,WAAW,CAAC;AAInB,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
|
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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OG;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"}
|
@@ -42,17 +42,6 @@ export class FoundationLayout extends FoundationElement {
|
|
42
42
|
this.layoutConfig = { root: undefined };
|
43
43
|
/** @internal */
|
44
44
|
this[_a] = 'root';
|
45
|
-
/**
|
46
|
-
* Disables the ability to add multiple copies of the same registration to the layout, but gain
|
47
|
-
* better behaviours with your elements
|
48
|
-
* @remarks
|
49
|
-
* The standard behaviour of the layout is to use `.cloneNode()` on an element to register it with the
|
50
|
-
* layout system, allowing you to add multiple copies of the same element. If you just want to use
|
51
|
-
* the layout declaratively without multiple copies then you can disable this, which bypasses the
|
52
|
-
* behaviours from using `.cloneNode()` (e.g. losing event listeners and bindings)
|
53
|
-
* @public
|
54
|
-
*/
|
55
|
-
this.disableCloneNode = false;
|
56
45
|
/**
|
57
46
|
* Number describing how long to wait in ms before reloading the config when adding items
|
58
47
|
* declaratively by the html API. Default 500 (ms).
|
@@ -629,7 +618,7 @@ export class FoundationLayout extends FoundationElement {
|
|
629
618
|
if (!instances.has(state === null || state === void 0 ? void 0 : state['instance'])) {
|
630
619
|
const instanceCopy = document.createDocumentFragment();
|
631
620
|
Array.from(masterCopy.children).forEach((e) => {
|
632
|
-
instanceCopy.appendChild(
|
621
|
+
instanceCopy.appendChild(e.cloneNode(true));
|
633
622
|
});
|
634
623
|
instances.set(state['instance'], [...instanceCopy.children]);
|
635
624
|
}
|
@@ -818,9 +807,6 @@ export class FoundationLayout extends FoundationElement {
|
|
818
807
|
}
|
819
808
|
}
|
820
809
|
_FoundationLayout__boundDragListener = new WeakMap(), _a = componentType;
|
821
|
-
__decorate([
|
822
|
-
attr({ mode: 'boolean', attribute: 'disable-clone-node' })
|
823
|
-
], FoundationLayout.prototype, "disableCloneNode", void 0);
|
824
810
|
__decorate([
|
825
811
|
attr({ attribute: 'reload-buffer' })
|
826
812
|
], FoundationLayout.prototype, "reloadBuffer", void 0);
|
@@ -494,36 +494,6 @@
|
|
494
494
|
"isProtected": false,
|
495
495
|
"isAbstract": false
|
496
496
|
},
|
497
|
-
{
|
498
|
-
"kind": "Property",
|
499
|
-
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#disableCloneNode:member",
|
500
|
-
"docComment": "/**\n * Disables the ability to add multiple copies of the same registration to the layout, but gain better behaviours with your elements\n *\n * @remarks\n *\n * The standard behaviour of the layout is to use `.cloneNode()` on an element to register it with the layout system, allowing you to add multiple copies of the same element. If you just want to use the layout declaratively without multiple copies then you can disable this, which bypasses the behaviours from using `.cloneNode()` (e.g. losing event listeners and bindings)\n *\n * @public\n */\n",
|
501
|
-
"excerptTokens": [
|
502
|
-
{
|
503
|
-
"kind": "Content",
|
504
|
-
"text": "disableCloneNode: "
|
505
|
-
},
|
506
|
-
{
|
507
|
-
"kind": "Content",
|
508
|
-
"text": "boolean"
|
509
|
-
},
|
510
|
-
{
|
511
|
-
"kind": "Content",
|
512
|
-
"text": ";"
|
513
|
-
}
|
514
|
-
],
|
515
|
-
"isReadonly": false,
|
516
|
-
"isOptional": false,
|
517
|
-
"releaseTag": "Public",
|
518
|
-
"name": "disableCloneNode",
|
519
|
-
"propertyTypeTokenRange": {
|
520
|
-
"startIndex": 1,
|
521
|
-
"endIndex": 2
|
522
|
-
},
|
523
|
-
"isStatic": false,
|
524
|
-
"isProtected": false,
|
525
|
-
"isAbstract": false
|
526
|
-
},
|
527
497
|
{
|
528
498
|
"kind": "Property",
|
529
499
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#dragging:member",
|
@@ -58,17 +58,6 @@ export declare class FoundationLayout extends FoundationElement implements Layou
|
|
58
58
|
private layoutConfig;
|
59
59
|
/** @internal */
|
60
60
|
[componentType]: "root";
|
61
|
-
/**
|
62
|
-
* Disables the ability to add multiple copies of the same registration to the layout, but gain
|
63
|
-
* better behaviours with your elements
|
64
|
-
* @remarks
|
65
|
-
* The standard behaviour of the layout is to use `.cloneNode()` on an element to register it with the
|
66
|
-
* layout system, allowing you to add multiple copies of the same element. If you just want to use
|
67
|
-
* the layout declaratively without multiple copies then you can disable this, which bypasses the
|
68
|
-
* behaviours from using `.cloneNode()` (e.g. losing event listeners and bindings)
|
69
|
-
* @public
|
70
|
-
*/
|
71
|
-
disableCloneNode: boolean;
|
72
61
|
/**
|
73
62
|
* Number describing how long to wait in ms before reloading the config when adding items
|
74
63
|
* declaratively by the html API. Default 500 (ms).
|
@@ -29,7 +29,6 @@ The constructor for this class is marked as internal. Third-party code should no
|
|
29
29
|
| [class](./foundation-layout.foundationlayout.class.md) | | "FoundationLayoutMain" | Identifier constant token. |
|
30
30
|
| [customButtons](./foundation-layout.foundationlayout.custombuttons.md) | | [CustomButton](./foundation-layout.custombutton.md)<!-- -->\[\] | Set custom button definition on this property to add them to the layout header controls |
|
31
31
|
| [dimensionsConfig?](./foundation-layout.foundationlayout.dimensionsconfig.md) | | LayoutConfig.Dimensions | _(Optional)_ Apply dimensions config to the layout, such as setting the size of the drag handles. |
|
32
|
-
| [disableCloneNode](./foundation-layout.foundationlayout.disableclonenode.md) | | boolean | Disables the ability to add multiple copies of the same registration to the layout, but gain better behaviours with your elements |
|
33
32
|
| [dragging](./foundation-layout.foundationlayout.dragging.md) | | boolean | Set to true when the user is currently dragging the panes inside of the layout |
|
34
33
|
| [hasFirstLoaded](./foundation-layout.foundationlayout.hasfirstloaded.md) | | boolean | Boolean signifies whether the layout has loaded for the first time or not. |
|
35
34
|
| [lifecycleUpdateToken](./foundation-layout.foundationlayout.lifecycleupdatetoken.md) | | string \| undefined | Used to calculate whether a layout item should run its lifecycle methods or not |
|
package/docs/api-report.md
CHANGED
@@ -42,7 +42,6 @@ export class FoundationLayout extends FoundationElement implements LayoutCompone
|
|
42
42
|
connectedCallback(): void;
|
43
43
|
customButtons: CustomButton[];
|
44
44
|
dimensionsConfig?: LayoutConfig.Dimensions;
|
45
|
-
disableCloneNode: boolean;
|
46
45
|
// @internal (undocumented)
|
47
46
|
disconnectedCallback(): void;
|
48
47
|
dragging: 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.276.2
|
4
|
+
"version": "14.276.2",
|
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.276.2
|
40
|
-
"@genesislcap/genx": "14.276.2
|
41
|
-
"@genesislcap/rollup-builder": "14.276.2
|
42
|
-
"@genesislcap/ts-builder": "14.276.2
|
43
|
-
"@genesislcap/uvu-playwright-builder": "14.276.2
|
44
|
-
"@genesislcap/vite-builder": "14.276.2
|
45
|
-
"@genesislcap/webpack-builder": "14.276.2
|
39
|
+
"@genesislcap/foundation-testing": "14.276.2",
|
40
|
+
"@genesislcap/genx": "14.276.2",
|
41
|
+
"@genesislcap/rollup-builder": "14.276.2",
|
42
|
+
"@genesislcap/ts-builder": "14.276.2",
|
43
|
+
"@genesislcap/uvu-playwright-builder": "14.276.2",
|
44
|
+
"@genesislcap/vite-builder": "14.276.2",
|
45
|
+
"@genesislcap/webpack-builder": "14.276.2",
|
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.276.2
|
51
|
-
"@genesislcap/foundation-logger": "14.276.2
|
52
|
-
"@genesislcap/foundation-utils": "14.276.2
|
50
|
+
"@genesislcap/foundation-comms": "14.276.2",
|
51
|
+
"@genesislcap/foundation-logger": "14.276.2",
|
52
|
+
"@genesislcap/foundation-utils": "14.276.2",
|
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": "1a5e61af368b280d2219453375baf70a05b4eec6"
|
68
68
|
}
|
@@ -1,18 +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) > [disableCloneNode](./foundation-layout.foundationlayout.disableclonenode.md)
|
4
|
-
|
5
|
-
## FoundationLayout.disableCloneNode property
|
6
|
-
|
7
|
-
Disables the ability to add multiple copies of the same registration to the layout, but gain better behaviours with your elements
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
disableCloneNode: boolean;
|
13
|
-
```
|
14
|
-
|
15
|
-
## Remarks
|
16
|
-
|
17
|
-
The standard behaviour of the layout is to use `.cloneNode()` on an element to register it with the layout system, allowing you to add multiple copies of the same element. If you just want to use the layout declaratively without multiple copies then you can disable this, which bypasses the behaviours from using `.cloneNode()` (e.g. losing event listeners and bindings)
|
18
|
-
|