@genesislcap/foundation-layout 14.106.0 → 14.107.0-auth-mf.27
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.
@@ -824,6 +824,24 @@
|
|
824
824
|
}
|
825
825
|
}
|
826
826
|
],
|
827
|
+
"events": [
|
828
|
+
{
|
829
|
+
"description": "emitted when the layout has finished loading the first time",
|
830
|
+
"name": "first-loaded"
|
831
|
+
},
|
832
|
+
{
|
833
|
+
"description": "emitted when an item is added to the layout",
|
834
|
+
"name": "item-added"
|
835
|
+
},
|
836
|
+
{
|
837
|
+
"description": "emitted when an item is removed from the layout",
|
838
|
+
"name": "item-removed"
|
839
|
+
},
|
840
|
+
{
|
841
|
+
"description": "emitted when the user drags the divider to resize elements",
|
842
|
+
"name": "item-resized"
|
843
|
+
}
|
844
|
+
],
|
827
845
|
"attributes": [
|
828
846
|
{
|
829
847
|
"name": "reload-buffer",
|
@@ -8,6 +8,11 @@ export { layoutStyles } from '../styles';
|
|
8
8
|
* @remarks
|
9
9
|
* Can be used in a composition to customise the styles of the layout.
|
10
10
|
* @tagname %%prefix%%-layout
|
11
|
+
*
|
12
|
+
* @fires first-loaded - emitted when the layout has finished loading the first time
|
13
|
+
* @fires item-added - emitted when an item is added to the layout
|
14
|
+
* @fires item-removed - emitted when an item is removed from the layout
|
15
|
+
* @fires item-resized - emitted when the user drags the divider to resize elements
|
11
16
|
*/
|
12
17
|
export declare class FoundationLayout extends FoundationElement implements LayoutComponent {
|
13
18
|
#private;
|
@@ -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,E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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;IAsEtE;;;OAGG;IACH,OAAO,CAAC,wBAAwB;IAehC;;;;SAIK;IACL,OAAO,CAAC,kBAAkB;IAY1B;;;;;;;;OAQG;IACH,OAAO,CAAC,kCAAkC;IA4B1C;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,oBAAoB;IAW5B;;;;;;;;OAQG;IACH,OAAO,CAAC,mBAAmB;IAU3B;;;OAGG;IACH,OAAO,CAAC,kBAAkB;IAc1B;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAM3B;;OAEG;IACH,OAAO,CAAC,4BAA4B;CAUrC;AAMD;;;;;GAKG;AACH,eAAO,MAAM,cAAc,uEAK1B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;2BAI3B,CAAC"}
|
@@ -30,6 +30,11 @@ const defaultAddItemPlacement = {
|
|
30
30
|
* @remarks
|
31
31
|
* Can be used in a composition to customise the styles of the layout.
|
32
32
|
* @tagname %%prefix%%-layout
|
33
|
+
*
|
34
|
+
* @fires first-loaded - emitted when the layout has finished loading the first time
|
35
|
+
* @fires item-added - emitted when an item is added to the layout
|
36
|
+
* @fires item-removed - emitted when an item is removed from the layout
|
37
|
+
* @fires item-resized - emitted when the user drags the divider to resize elements
|
33
38
|
*/
|
34
39
|
export class FoundationLayout extends FoundationElement {
|
35
40
|
/** @internal */
|
@@ -414,12 +419,12 @@ export class FoundationLayout extends FoundationElement {
|
|
414
419
|
setTimeout(() => {
|
415
420
|
this.reloadPending = false;
|
416
421
|
if (!this.hasFirstLoaded) {
|
417
|
-
this.$emit(LayoutEmitEvents.firstLoaded);
|
418
422
|
this.hasFirstLoaded = true;
|
419
423
|
const res = this.tryLoadLayoutFromLocalStorage();
|
420
424
|
if (!res) {
|
421
425
|
this.loadGLConfigAndSetup(this.layoutConfig);
|
422
426
|
}
|
427
|
+
this.$emit(LayoutEmitEvents.firstLoaded);
|
423
428
|
}
|
424
429
|
else {
|
425
430
|
this.loadGLConfigAndSetup(this.layoutConfig);
|
@@ -258,7 +258,7 @@
|
|
258
258
|
{
|
259
259
|
"kind": "Class",
|
260
260
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout:class",
|
261
|
-
"docComment": "/**\n * Top level web component which is used to initialise a custom layout\n *\n * @remarks\n *\n * Can be used in a composition to customise the styles of the layout.\n *\n * The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `FoundationLayout` class.\n *\n * @tagname\n *\n * %%prefix%%-layout\n *\n * @public\n */\n",
|
261
|
+
"docComment": "/**\n * Top level web component which is used to initialise a custom layout\n *\n * @remarks\n *\n * Can be used in a composition to customise the styles of the layout.\n *\n * The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `FoundationLayout` class.\n *\n * @tagname\n *\n * %%prefix%%-layout\n *\n * @fires\n *\n * first-loaded - emitted when the layout has finished loading the first time\n *\n * @fires\n *\n * item-added - emitted when an item is added to the layout\n *\n * @fires\n *\n * item-removed - emitted when an item is removed from the layout\n *\n * @fires\n *\n * item-resized - emitted when the user drags the divider to resize elements\n *\n * @public\n */\n",
|
262
262
|
"excerptTokens": [
|
263
263
|
{
|
264
264
|
"kind": "Content",
|
@@ -44,6 +44,11 @@ export declare const DEFAULT_RELOAD_BUFFER = 500;
|
|
44
44
|
* @remarks
|
45
45
|
* Can be used in a composition to customise the styles of the layout.
|
46
46
|
* @tagname %%prefix%%-layout
|
47
|
+
*
|
48
|
+
* @fires first-loaded - emitted when the layout has finished loading the first time
|
49
|
+
* @fires item-added - emitted when an item is added to the layout
|
50
|
+
* @fires item-removed - emitted when an item is removed from the layout
|
51
|
+
* @fires item-resized - emitted when the user drags the divider to resize elements
|
47
52
|
*/
|
48
53
|
export declare class FoundationLayout extends FoundationElement implements LayoutComponent {
|
49
54
|
#private;
|
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.
|
4
|
+
"version": "14.107.0-auth-mf.27",
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
6
6
|
"main": "dist/esm/index.js",
|
7
7
|
"types": "dist/foundation-layout.d.ts",
|
@@ -27,15 +27,15 @@
|
|
27
27
|
"test:debug": "genx test --debug"
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
30
|
-
"@genesislcap/foundation-testing": "14.
|
31
|
-
"@genesislcap/genx": "14.
|
30
|
+
"@genesislcap/foundation-testing": "14.107.0-auth-mf.27",
|
31
|
+
"@genesislcap/genx": "14.107.0-auth-mf.27",
|
32
32
|
"rimraf": "^3.0.2"
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
35
|
"@genesis-community/golden-layout": "^2.11.0",
|
36
|
-
"@genesislcap/foundation-comms": "14.
|
37
|
-
"@genesislcap/foundation-logger": "14.
|
38
|
-
"@genesislcap/foundation-utils": "14.
|
36
|
+
"@genesislcap/foundation-comms": "14.107.0-auth-mf.27",
|
37
|
+
"@genesislcap/foundation-logger": "14.107.0-auth-mf.27",
|
38
|
+
"@genesislcap/foundation-utils": "14.107.0-auth-mf.27",
|
39
39
|
"@microsoft/fast-components": "^2.21.3",
|
40
40
|
"@microsoft/fast-element": "^1.7.0",
|
41
41
|
"@microsoft/fast-foundation": "^2.33.2",
|
@@ -50,5 +50,5 @@
|
|
50
50
|
"access": "public"
|
51
51
|
},
|
52
52
|
"customElements": "dist/custom-elements.json",
|
53
|
-
"gitHead": "
|
53
|
+
"gitHead": "21df39671e95013d3a3822cd087e7bd5aa3a228a"
|
54
54
|
}
|