@genesislcap/foundation-layout 14.30.3 → 14.31.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +0 -333
- package/package.json +13 -27
- package/playwright.config.ts +3 -21
- package/jsdom.setup.ts +0 -1
- package/tsm.js +0 -3
@@ -237,117 +237,6 @@
|
|
237
237
|
},
|
238
238
|
"description": "Sets the registration name for the item, which can be used later to add the item via the JavaScript API using FoundationLayout.addItem.",
|
239
239
|
"privacy": "public"
|
240
|
-
},
|
241
|
-
{
|
242
|
-
"kind": "field",
|
243
|
-
"name": "_presentation",
|
244
|
-
"type": {
|
245
|
-
"text": "ComponentPresentation | null | undefined"
|
246
|
-
},
|
247
|
-
"privacy": "private",
|
248
|
-
"default": "void 0",
|
249
|
-
"inheritedFrom": {
|
250
|
-
"name": "FoundationElement",
|
251
|
-
"module": "src/foundation-element/foundation-element.ts"
|
252
|
-
}
|
253
|
-
},
|
254
|
-
{
|
255
|
-
"kind": "field",
|
256
|
-
"name": "$presentation",
|
257
|
-
"type": {
|
258
|
-
"text": "ComponentPresentation | null"
|
259
|
-
},
|
260
|
-
"privacy": "public",
|
261
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
262
|
-
"inheritedFrom": {
|
263
|
-
"name": "FoundationElement",
|
264
|
-
"module": "src/foundation-element/foundation-element.ts"
|
265
|
-
}
|
266
|
-
},
|
267
|
-
{
|
268
|
-
"kind": "field",
|
269
|
-
"name": "template",
|
270
|
-
"type": {
|
271
|
-
"text": "ElementViewTemplate | void | null"
|
272
|
-
},
|
273
|
-
"privacy": "public",
|
274
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
275
|
-
"inheritedFrom": {
|
276
|
-
"name": "FoundationElement",
|
277
|
-
"module": "src/foundation-element/foundation-element.ts"
|
278
|
-
}
|
279
|
-
},
|
280
|
-
{
|
281
|
-
"kind": "method",
|
282
|
-
"name": "templateChanged",
|
283
|
-
"privacy": "protected",
|
284
|
-
"return": {
|
285
|
-
"type": {
|
286
|
-
"text": "void"
|
287
|
-
}
|
288
|
-
},
|
289
|
-
"inheritedFrom": {
|
290
|
-
"name": "FoundationElement",
|
291
|
-
"module": "src/foundation-element/foundation-element.ts"
|
292
|
-
}
|
293
|
-
},
|
294
|
-
{
|
295
|
-
"kind": "field",
|
296
|
-
"name": "styles",
|
297
|
-
"type": {
|
298
|
-
"text": "ElementStyles | void | null"
|
299
|
-
},
|
300
|
-
"privacy": "public",
|
301
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
302
|
-
"inheritedFrom": {
|
303
|
-
"name": "FoundationElement",
|
304
|
-
"module": "src/foundation-element/foundation-element.ts"
|
305
|
-
}
|
306
|
-
},
|
307
|
-
{
|
308
|
-
"kind": "method",
|
309
|
-
"name": "stylesChanged",
|
310
|
-
"privacy": "protected",
|
311
|
-
"return": {
|
312
|
-
"type": {
|
313
|
-
"text": "void"
|
314
|
-
}
|
315
|
-
},
|
316
|
-
"inheritedFrom": {
|
317
|
-
"name": "FoundationElement",
|
318
|
-
"module": "src/foundation-element/foundation-element.ts"
|
319
|
-
}
|
320
|
-
},
|
321
|
-
{
|
322
|
-
"kind": "method",
|
323
|
-
"name": "compose",
|
324
|
-
"privacy": "public",
|
325
|
-
"static": true,
|
326
|
-
"return": {
|
327
|
-
"type": {
|
328
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
329
|
-
}
|
330
|
-
},
|
331
|
-
"parameters": [
|
332
|
-
{
|
333
|
-
"name": "this",
|
334
|
-
"type": {
|
335
|
-
"text": "K"
|
336
|
-
}
|
337
|
-
},
|
338
|
-
{
|
339
|
-
"name": "elementDefinition",
|
340
|
-
"type": {
|
341
|
-
"text": "T"
|
342
|
-
},
|
343
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
344
|
-
}
|
345
|
-
],
|
346
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
347
|
-
"inheritedFrom": {
|
348
|
-
"name": "FoundationElement",
|
349
|
-
"module": "src/foundation-element/foundation-element.ts"
|
350
|
-
}
|
351
240
|
}
|
352
241
|
],
|
353
242
|
"attributes": [
|
@@ -612,117 +501,6 @@
|
|
612
501
|
}
|
613
502
|
],
|
614
503
|
"privacy": "public"
|
615
|
-
},
|
616
|
-
{
|
617
|
-
"kind": "field",
|
618
|
-
"name": "_presentation",
|
619
|
-
"type": {
|
620
|
-
"text": "ComponentPresentation | null | undefined"
|
621
|
-
},
|
622
|
-
"privacy": "private",
|
623
|
-
"default": "void 0",
|
624
|
-
"inheritedFrom": {
|
625
|
-
"name": "FoundationElement",
|
626
|
-
"module": "src/foundation-element/foundation-element.ts"
|
627
|
-
}
|
628
|
-
},
|
629
|
-
{
|
630
|
-
"kind": "field",
|
631
|
-
"name": "$presentation",
|
632
|
-
"type": {
|
633
|
-
"text": "ComponentPresentation | null"
|
634
|
-
},
|
635
|
-
"privacy": "public",
|
636
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
637
|
-
"inheritedFrom": {
|
638
|
-
"name": "FoundationElement",
|
639
|
-
"module": "src/foundation-element/foundation-element.ts"
|
640
|
-
}
|
641
|
-
},
|
642
|
-
{
|
643
|
-
"kind": "field",
|
644
|
-
"name": "template",
|
645
|
-
"type": {
|
646
|
-
"text": "ElementViewTemplate | void | null"
|
647
|
-
},
|
648
|
-
"privacy": "public",
|
649
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
650
|
-
"inheritedFrom": {
|
651
|
-
"name": "FoundationElement",
|
652
|
-
"module": "src/foundation-element/foundation-element.ts"
|
653
|
-
}
|
654
|
-
},
|
655
|
-
{
|
656
|
-
"kind": "method",
|
657
|
-
"name": "templateChanged",
|
658
|
-
"privacy": "protected",
|
659
|
-
"return": {
|
660
|
-
"type": {
|
661
|
-
"text": "void"
|
662
|
-
}
|
663
|
-
},
|
664
|
-
"inheritedFrom": {
|
665
|
-
"name": "FoundationElement",
|
666
|
-
"module": "src/foundation-element/foundation-element.ts"
|
667
|
-
}
|
668
|
-
},
|
669
|
-
{
|
670
|
-
"kind": "field",
|
671
|
-
"name": "styles",
|
672
|
-
"type": {
|
673
|
-
"text": "ElementStyles | void | null"
|
674
|
-
},
|
675
|
-
"privacy": "public",
|
676
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
677
|
-
"inheritedFrom": {
|
678
|
-
"name": "FoundationElement",
|
679
|
-
"module": "src/foundation-element/foundation-element.ts"
|
680
|
-
}
|
681
|
-
},
|
682
|
-
{
|
683
|
-
"kind": "method",
|
684
|
-
"name": "stylesChanged",
|
685
|
-
"privacy": "protected",
|
686
|
-
"return": {
|
687
|
-
"type": {
|
688
|
-
"text": "void"
|
689
|
-
}
|
690
|
-
},
|
691
|
-
"inheritedFrom": {
|
692
|
-
"name": "FoundationElement",
|
693
|
-
"module": "src/foundation-element/foundation-element.ts"
|
694
|
-
}
|
695
|
-
},
|
696
|
-
{
|
697
|
-
"kind": "method",
|
698
|
-
"name": "compose",
|
699
|
-
"privacy": "public",
|
700
|
-
"static": true,
|
701
|
-
"return": {
|
702
|
-
"type": {
|
703
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
704
|
-
}
|
705
|
-
},
|
706
|
-
"parameters": [
|
707
|
-
{
|
708
|
-
"name": "this",
|
709
|
-
"type": {
|
710
|
-
"text": "K"
|
711
|
-
}
|
712
|
-
},
|
713
|
-
{
|
714
|
-
"name": "elementDefinition",
|
715
|
-
"type": {
|
716
|
-
"text": "T"
|
717
|
-
},
|
718
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
719
|
-
}
|
720
|
-
],
|
721
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
722
|
-
"inheritedFrom": {
|
723
|
-
"name": "FoundationElement",
|
724
|
-
"module": "src/foundation-element/foundation-element.ts"
|
725
|
-
}
|
726
504
|
}
|
727
505
|
],
|
728
506
|
"attributes": [
|
@@ -815,117 +593,6 @@
|
|
815
593
|
},
|
816
594
|
"description": "Defines the LayoutRegionType| type of the region.\nDefaults to `horizontal`.",
|
817
595
|
"privacy": "public"
|
818
|
-
},
|
819
|
-
{
|
820
|
-
"kind": "field",
|
821
|
-
"name": "_presentation",
|
822
|
-
"type": {
|
823
|
-
"text": "ComponentPresentation | null | undefined"
|
824
|
-
},
|
825
|
-
"privacy": "private",
|
826
|
-
"default": "void 0",
|
827
|
-
"inheritedFrom": {
|
828
|
-
"name": "FoundationElement",
|
829
|
-
"module": "src/foundation-element/foundation-element.ts"
|
830
|
-
}
|
831
|
-
},
|
832
|
-
{
|
833
|
-
"kind": "field",
|
834
|
-
"name": "$presentation",
|
835
|
-
"type": {
|
836
|
-
"text": "ComponentPresentation | null"
|
837
|
-
},
|
838
|
-
"privacy": "public",
|
839
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
840
|
-
"inheritedFrom": {
|
841
|
-
"name": "FoundationElement",
|
842
|
-
"module": "src/foundation-element/foundation-element.ts"
|
843
|
-
}
|
844
|
-
},
|
845
|
-
{
|
846
|
-
"kind": "field",
|
847
|
-
"name": "template",
|
848
|
-
"type": {
|
849
|
-
"text": "ElementViewTemplate | void | null"
|
850
|
-
},
|
851
|
-
"privacy": "public",
|
852
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
853
|
-
"inheritedFrom": {
|
854
|
-
"name": "FoundationElement",
|
855
|
-
"module": "src/foundation-element/foundation-element.ts"
|
856
|
-
}
|
857
|
-
},
|
858
|
-
{
|
859
|
-
"kind": "method",
|
860
|
-
"name": "templateChanged",
|
861
|
-
"privacy": "protected",
|
862
|
-
"return": {
|
863
|
-
"type": {
|
864
|
-
"text": "void"
|
865
|
-
}
|
866
|
-
},
|
867
|
-
"inheritedFrom": {
|
868
|
-
"name": "FoundationElement",
|
869
|
-
"module": "src/foundation-element/foundation-element.ts"
|
870
|
-
}
|
871
|
-
},
|
872
|
-
{
|
873
|
-
"kind": "field",
|
874
|
-
"name": "styles",
|
875
|
-
"type": {
|
876
|
-
"text": "ElementStyles | void | null"
|
877
|
-
},
|
878
|
-
"privacy": "public",
|
879
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
880
|
-
"inheritedFrom": {
|
881
|
-
"name": "FoundationElement",
|
882
|
-
"module": "src/foundation-element/foundation-element.ts"
|
883
|
-
}
|
884
|
-
},
|
885
|
-
{
|
886
|
-
"kind": "method",
|
887
|
-
"name": "stylesChanged",
|
888
|
-
"privacy": "protected",
|
889
|
-
"return": {
|
890
|
-
"type": {
|
891
|
-
"text": "void"
|
892
|
-
}
|
893
|
-
},
|
894
|
-
"inheritedFrom": {
|
895
|
-
"name": "FoundationElement",
|
896
|
-
"module": "src/foundation-element/foundation-element.ts"
|
897
|
-
}
|
898
|
-
},
|
899
|
-
{
|
900
|
-
"kind": "method",
|
901
|
-
"name": "compose",
|
902
|
-
"privacy": "public",
|
903
|
-
"static": true,
|
904
|
-
"return": {
|
905
|
-
"type": {
|
906
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
907
|
-
}
|
908
|
-
},
|
909
|
-
"parameters": [
|
910
|
-
{
|
911
|
-
"name": "this",
|
912
|
-
"type": {
|
913
|
-
"text": "K"
|
914
|
-
}
|
915
|
-
},
|
916
|
-
{
|
917
|
-
"name": "elementDefinition",
|
918
|
-
"type": {
|
919
|
-
"text": "T"
|
920
|
-
},
|
921
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
922
|
-
}
|
923
|
-
],
|
924
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
925
|
-
"inheritedFrom": {
|
926
|
-
"name": "FoundationElement",
|
927
|
-
"module": "src/foundation-element/foundation-element.ts"
|
928
|
-
}
|
929
596
|
}
|
930
597
|
],
|
931
598
|
"attributes": [
|
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.31.0",
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
6
6
|
"main": "dist/esm/index.js",
|
7
7
|
"types": "dist/foundation-layout.d.ts",
|
@@ -16,36 +16,22 @@
|
|
16
16
|
"dev": "npm run dev:webpack",
|
17
17
|
"dev:webpack": "genx dev -b webpack",
|
18
18
|
"serve": "genx serve",
|
19
|
-
"test": "
|
20
|
-
"test:coverage": "
|
21
|
-
"test:coverage:
|
22
|
-
"test:
|
23
|
-
"test:
|
24
|
-
"test:unit": "
|
25
|
-
"test:
|
26
|
-
"test:unit:browser:watch": "npm run test:unit:browser -- -w -d",
|
27
|
-
"test:unit:node": "npm run test:unit:node:src && npm run test:unit:node:test",
|
28
|
-
"test:unit:node:src": "uvu -r tsm -r esm -r ./jsdom.setup.ts ./src \".*.test.ts\"",
|
29
|
-
"test:unit:node:test": "uvu -r tsm -r esm -r ./jsdom.setup.ts ./test/unit \".*.test.ts\"",
|
30
|
-
"test:unit:watch": "watchlist src test -- npm run test:unit"
|
19
|
+
"test": "genx test",
|
20
|
+
"test:coverage": "genx test --coverage",
|
21
|
+
"test:coverage:browser": "genx test --coverage --browser",
|
22
|
+
"test:unit:browser": "genx test --browser",
|
23
|
+
"test:unit:browser:watch": "genx test --browser --watch",
|
24
|
+
"test:unit:watch": "genx test --watch",
|
25
|
+
"test:debug": "genx test --debug"
|
31
26
|
},
|
32
27
|
"devDependencies": {
|
33
|
-
"@genesislcap/foundation-testing": "^14.
|
34
|
-
"@genesislcap/genx": "^14.
|
35
|
-
"@playwright/test": "^1.18.1",
|
36
|
-
"c8": "^7.11.0",
|
37
|
-
"esm": "^3.2.25",
|
38
|
-
"jsdom": "^19.0.0",
|
39
|
-
"playwright-test": "^8.4.0",
|
40
|
-
"tsm": "^2.2.1",
|
41
|
-
"typescript": "^4.5.5",
|
42
|
-
"uvu": "0.5.4",
|
43
|
-
"watchlist": "^0.3.1"
|
28
|
+
"@genesislcap/foundation-testing": "^14.31.0",
|
29
|
+
"@genesislcap/genx": "^14.31.0"
|
44
30
|
},
|
45
31
|
"dependencies": {
|
46
32
|
"@genesis-community/golden-layout": "^2.9.3",
|
47
|
-
"@genesislcap/foundation-comms": "^14.
|
48
|
-
"@genesislcap/foundation-utils": "^14.
|
33
|
+
"@genesislcap/foundation-comms": "^14.31.0",
|
34
|
+
"@genesislcap/foundation-utils": "^14.31.0",
|
49
35
|
"@microsoft/fast-components": "^2.21.3",
|
50
36
|
"@microsoft/fast-element": "^1.7.0",
|
51
37
|
"@microsoft/fast-foundation": "^2.33.2",
|
@@ -60,5 +46,5 @@
|
|
60
46
|
"access": "public"
|
61
47
|
},
|
62
48
|
"customElements": "dist/custom-elements.json",
|
63
|
-
"gitHead": "
|
49
|
+
"gitHead": "2eac7177426f939beb5bcd3b78baf98f25f0e630"
|
64
50
|
}
|
package/playwright.config.ts
CHANGED
@@ -1,23 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { configDefaults } from '@genesislcap/foundation-testing/e2e';
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
globalSetup: '@genesislcap/foundation-testing/playwright', // returns teardown
|
6
|
-
projects: [
|
7
|
-
{
|
8
|
-
name: 'Chrome Stable',
|
9
|
-
use: {
|
10
|
-
browserName: 'chromium',
|
11
|
-
channel: 'chrome', // < Test against Chrome Stable channel.
|
12
|
-
},
|
13
|
-
},
|
14
|
-
/**
|
15
|
-
* // Test against mobile viewports.
|
16
|
-
* {
|
17
|
-
* name: 'Mobile Chrome',
|
18
|
-
* use: devices['Pixel 5'],
|
19
|
-
* },
|
20
|
-
*/
|
21
|
-
],
|
3
|
+
export default {
|
4
|
+
...configDefaults,
|
22
5
|
};
|
23
|
-
export default config;
|
package/jsdom.setup.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from '@genesislcap/foundation-testing/jsdom';
|
package/tsm.js
DELETED