@genesislcap/foundation-layout 14.30.3 → 14.32.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +225 -558
- package/package.json +17 -32
- package/playwright.config.ts +3 -21
- package/jsdom.setup.ts +0 -1
- package/tsm.js +0 -3
@@ -111,6 +111,219 @@
|
|
111
111
|
}
|
112
112
|
]
|
113
113
|
},
|
114
|
+
{
|
115
|
+
"kind": "javascript-module",
|
116
|
+
"path": "src/utils/constants.ts",
|
117
|
+
"declarations": [
|
118
|
+
{
|
119
|
+
"kind": "variable",
|
120
|
+
"name": "DEFAULT_RELOAD_BUFFER",
|
121
|
+
"type": {
|
122
|
+
"text": "number"
|
123
|
+
},
|
124
|
+
"default": "500",
|
125
|
+
"description": "Default time in milliseconds for the layout to buffer calls to reloading\nthe layout while the declarative API is loading.\n\nDuring the first load of the layout, a loading spinner will be shown.",
|
126
|
+
"privacy": "public"
|
127
|
+
}
|
128
|
+
],
|
129
|
+
"exports": [
|
130
|
+
{
|
131
|
+
"kind": "js",
|
132
|
+
"name": "DEFAULT_RELOAD_BUFFER",
|
133
|
+
"declaration": {
|
134
|
+
"name": "DEFAULT_RELOAD_BUFFER",
|
135
|
+
"module": "src/utils/constants.ts"
|
136
|
+
}
|
137
|
+
}
|
138
|
+
]
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"kind": "javascript-module",
|
142
|
+
"path": "src/utils/error.ts",
|
143
|
+
"declarations": [
|
144
|
+
{
|
145
|
+
"kind": "class",
|
146
|
+
"description": "",
|
147
|
+
"name": "LayoutUsageError",
|
148
|
+
"superclass": {
|
149
|
+
"name": "Error",
|
150
|
+
"module": "src/utils/error.ts"
|
151
|
+
}
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"kind": "class",
|
155
|
+
"description": "",
|
156
|
+
"name": "LayoutRegistrationError",
|
157
|
+
"superclass": {
|
158
|
+
"name": "Error",
|
159
|
+
"module": "src/utils/error.ts"
|
160
|
+
}
|
161
|
+
}
|
162
|
+
],
|
163
|
+
"exports": [
|
164
|
+
{
|
165
|
+
"kind": "js",
|
166
|
+
"name": "LayoutUsageError",
|
167
|
+
"declaration": {
|
168
|
+
"name": "LayoutUsageError",
|
169
|
+
"module": "src/utils/error.ts"
|
170
|
+
}
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"kind": "js",
|
174
|
+
"name": "LayoutRegistrationError",
|
175
|
+
"declaration": {
|
176
|
+
"name": "LayoutRegistrationError",
|
177
|
+
"module": "src/utils/error.ts"
|
178
|
+
}
|
179
|
+
}
|
180
|
+
]
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"kind": "javascript-module",
|
184
|
+
"path": "src/utils/events.ts",
|
185
|
+
"declarations": [
|
186
|
+
{
|
187
|
+
"kind": "variable",
|
188
|
+
"name": "LayoutEmitEvents",
|
189
|
+
"type": {
|
190
|
+
"text": "{\n firstLoaded: 'first-loaded',\n itemAdded: 'item-added',\n itemRemoved: 'item-removed',\n itemResized: 'item-resized',\n}"
|
191
|
+
},
|
192
|
+
"default": "{\n firstLoaded: 'first-loaded',\n itemAdded: 'item-added',\n itemRemoved: 'item-removed',\n itemResized: 'item-resized',\n}",
|
193
|
+
"description": "Defines events that the layout system emits\n\n'firstLoaded' - emitted when the layout has finished loading the first time\nusing the declarative API after DEFAULT_RELOAD_BUFFER ms.\n<br/>\n'itemAdded' - emitted when an item is added to the layout'\n<br/>\n'itemRemoved' - emitted when an item is removed from the layout'\n<br/>\n'itemResized' - emitted when the user drags the divider to resize elements",
|
194
|
+
"privacy": "public"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"kind": "variable",
|
198
|
+
"name": "LayoutReceiveEvents",
|
199
|
+
"type": {
|
200
|
+
"text": "{\n changeTitle: 'change-title',\n}"
|
201
|
+
},
|
202
|
+
"default": "{\n changeTitle: 'change-title',\n}",
|
203
|
+
"description": "Defines events that the layout system listens for\n\n'changeTitle' - emit this from a contained item to update the title of the window that contains it.",
|
204
|
+
"privacy": "public"
|
205
|
+
}
|
206
|
+
],
|
207
|
+
"exports": [
|
208
|
+
{
|
209
|
+
"kind": "js",
|
210
|
+
"name": "LayoutEmitEvents",
|
211
|
+
"declaration": {
|
212
|
+
"name": "LayoutEmitEvents",
|
213
|
+
"module": "src/utils/events.ts"
|
214
|
+
}
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"kind": "js",
|
218
|
+
"name": "LayoutReceiveEvents",
|
219
|
+
"declaration": {
|
220
|
+
"name": "LayoutReceiveEvents",
|
221
|
+
"module": "src/utils/events.ts"
|
222
|
+
}
|
223
|
+
}
|
224
|
+
]
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"kind": "javascript-module",
|
228
|
+
"path": "src/utils/index.ts",
|
229
|
+
"declarations": [],
|
230
|
+
"exports": [
|
231
|
+
{
|
232
|
+
"kind": "js",
|
233
|
+
"name": "*",
|
234
|
+
"declaration": {
|
235
|
+
"name": "*",
|
236
|
+
"package": "./constants"
|
237
|
+
}
|
238
|
+
},
|
239
|
+
{
|
240
|
+
"kind": "js",
|
241
|
+
"name": "*",
|
242
|
+
"declaration": {
|
243
|
+
"name": "*",
|
244
|
+
"package": "./error"
|
245
|
+
}
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"kind": "js",
|
249
|
+
"name": "*",
|
250
|
+
"declaration": {
|
251
|
+
"name": "*",
|
252
|
+
"package": "./events"
|
253
|
+
}
|
254
|
+
},
|
255
|
+
{
|
256
|
+
"kind": "js",
|
257
|
+
"name": "*",
|
258
|
+
"declaration": {
|
259
|
+
"name": "*",
|
260
|
+
"package": "./misc"
|
261
|
+
}
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"kind": "js",
|
265
|
+
"name": "*",
|
266
|
+
"declaration": {
|
267
|
+
"name": "*",
|
268
|
+
"package": "./templates"
|
269
|
+
}
|
270
|
+
},
|
271
|
+
{
|
272
|
+
"kind": "js",
|
273
|
+
"name": "*",
|
274
|
+
"declaration": {
|
275
|
+
"name": "*",
|
276
|
+
"package": "./types"
|
277
|
+
}
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"kind": "js",
|
281
|
+
"name": "*",
|
282
|
+
"declaration": {
|
283
|
+
"name": "*",
|
284
|
+
"package": "./error"
|
285
|
+
}
|
286
|
+
}
|
287
|
+
]
|
288
|
+
},
|
289
|
+
{
|
290
|
+
"kind": "javascript-module",
|
291
|
+
"path": "src/utils/logger.ts",
|
292
|
+
"declarations": [
|
293
|
+
{
|
294
|
+
"kind": "variable",
|
295
|
+
"name": "logger"
|
296
|
+
}
|
297
|
+
],
|
298
|
+
"exports": [
|
299
|
+
{
|
300
|
+
"kind": "js",
|
301
|
+
"name": "logger",
|
302
|
+
"declaration": {
|
303
|
+
"name": "logger",
|
304
|
+
"module": "src/utils/logger.ts"
|
305
|
+
}
|
306
|
+
}
|
307
|
+
]
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"kind": "javascript-module",
|
311
|
+
"path": "src/utils/misc.ts",
|
312
|
+
"declarations": [],
|
313
|
+
"exports": []
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"kind": "javascript-module",
|
317
|
+
"path": "src/utils/templates.ts",
|
318
|
+
"declarations": [],
|
319
|
+
"exports": []
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"kind": "javascript-module",
|
323
|
+
"path": "src/utils/types.ts",
|
324
|
+
"declarations": [],
|
325
|
+
"exports": []
|
326
|
+
},
|
114
327
|
{
|
115
328
|
"kind": "javascript-module",
|
116
329
|
"path": "src/main/index.ts",
|
@@ -237,117 +450,6 @@
|
|
237
450
|
},
|
238
451
|
"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
452
|
"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
453
|
}
|
352
454
|
],
|
353
455
|
"attributes": [
|
@@ -612,117 +714,6 @@
|
|
612
714
|
}
|
613
715
|
],
|
614
716
|
"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
717
|
}
|
727
718
|
],
|
728
719
|
"attributes": [
|
@@ -794,138 +785,27 @@
|
|
794
785
|
"path": "src/main/layout-region.ts",
|
795
786
|
"declarations": [
|
796
787
|
{
|
797
|
-
"kind": "class",
|
798
|
-
"description": "",
|
799
|
-
"name": "FoundationLayoutRegion",
|
800
|
-
"members": [
|
801
|
-
{
|
802
|
-
"kind": "field",
|
803
|
-
"name": "size",
|
804
|
-
"type": {
|
805
|
-
"text": "string"
|
806
|
-
},
|
807
|
-
"description": "optional string describing the size of the new item (see the written documentation for more info)",
|
808
|
-
"privacy": "public"
|
809
|
-
},
|
810
|
-
{
|
811
|
-
"kind": "field",
|
812
|
-
"name": "type",
|
813
|
-
"type": {
|
814
|
-
"text": "LayoutRegionType"
|
815
|
-
},
|
816
|
-
"description": "Defines the LayoutRegionType| type of the region.\nDefaults to `horizontal`.",
|
817
|
-
"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
|
-
},
|
788
|
+
"kind": "class",
|
789
|
+
"description": "",
|
790
|
+
"name": "FoundationLayoutRegion",
|
791
|
+
"members": [
|
845
792
|
{
|
846
793
|
"kind": "field",
|
847
|
-
"name": "
|
794
|
+
"name": "size",
|
848
795
|
"type": {
|
849
|
-
"text": "
|
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
|
-
}
|
796
|
+
"text": "string"
|
866
797
|
},
|
867
|
-
"
|
868
|
-
|
869
|
-
"module": "src/foundation-element/foundation-element.ts"
|
870
|
-
}
|
798
|
+
"description": "optional string describing the size of the new item (see the written documentation for more info)",
|
799
|
+
"privacy": "public"
|
871
800
|
},
|
872
801
|
{
|
873
802
|
"kind": "field",
|
874
|
-
"name": "
|
803
|
+
"name": "type",
|
875
804
|
"type": {
|
876
|
-
"text": "
|
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
|
-
}
|
805
|
+
"text": "LayoutRegionType"
|
908
806
|
},
|
909
|
-
"
|
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
|
-
}
|
807
|
+
"description": "Defines the LayoutRegionType| type of the region.\nDefaults to `horizontal`.",
|
808
|
+
"privacy": "public"
|
929
809
|
}
|
930
810
|
],
|
931
811
|
"attributes": [
|
@@ -1128,219 +1008,6 @@
|
|
1128
1008
|
}
|
1129
1009
|
}
|
1130
1010
|
]
|
1131
|
-
},
|
1132
|
-
{
|
1133
|
-
"kind": "javascript-module",
|
1134
|
-
"path": "src/utils/constants.ts",
|
1135
|
-
"declarations": [
|
1136
|
-
{
|
1137
|
-
"kind": "variable",
|
1138
|
-
"name": "DEFAULT_RELOAD_BUFFER",
|
1139
|
-
"type": {
|
1140
|
-
"text": "number"
|
1141
|
-
},
|
1142
|
-
"default": "500",
|
1143
|
-
"description": "Default time in milliseconds for the layout to buffer calls to reloading\nthe layout while the declarative API is loading.\n\nDuring the first load of the layout, a loading spinner will be shown.",
|
1144
|
-
"privacy": "public"
|
1145
|
-
}
|
1146
|
-
],
|
1147
|
-
"exports": [
|
1148
|
-
{
|
1149
|
-
"kind": "js",
|
1150
|
-
"name": "DEFAULT_RELOAD_BUFFER",
|
1151
|
-
"declaration": {
|
1152
|
-
"name": "DEFAULT_RELOAD_BUFFER",
|
1153
|
-
"module": "src/utils/constants.ts"
|
1154
|
-
}
|
1155
|
-
}
|
1156
|
-
]
|
1157
|
-
},
|
1158
|
-
{
|
1159
|
-
"kind": "javascript-module",
|
1160
|
-
"path": "src/utils/error.ts",
|
1161
|
-
"declarations": [
|
1162
|
-
{
|
1163
|
-
"kind": "class",
|
1164
|
-
"description": "",
|
1165
|
-
"name": "LayoutUsageError",
|
1166
|
-
"superclass": {
|
1167
|
-
"name": "Error",
|
1168
|
-
"module": "src/utils/error.ts"
|
1169
|
-
}
|
1170
|
-
},
|
1171
|
-
{
|
1172
|
-
"kind": "class",
|
1173
|
-
"description": "",
|
1174
|
-
"name": "LayoutRegistrationError",
|
1175
|
-
"superclass": {
|
1176
|
-
"name": "Error",
|
1177
|
-
"module": "src/utils/error.ts"
|
1178
|
-
}
|
1179
|
-
}
|
1180
|
-
],
|
1181
|
-
"exports": [
|
1182
|
-
{
|
1183
|
-
"kind": "js",
|
1184
|
-
"name": "LayoutUsageError",
|
1185
|
-
"declaration": {
|
1186
|
-
"name": "LayoutUsageError",
|
1187
|
-
"module": "src/utils/error.ts"
|
1188
|
-
}
|
1189
|
-
},
|
1190
|
-
{
|
1191
|
-
"kind": "js",
|
1192
|
-
"name": "LayoutRegistrationError",
|
1193
|
-
"declaration": {
|
1194
|
-
"name": "LayoutRegistrationError",
|
1195
|
-
"module": "src/utils/error.ts"
|
1196
|
-
}
|
1197
|
-
}
|
1198
|
-
]
|
1199
|
-
},
|
1200
|
-
{
|
1201
|
-
"kind": "javascript-module",
|
1202
|
-
"path": "src/utils/events.ts",
|
1203
|
-
"declarations": [
|
1204
|
-
{
|
1205
|
-
"kind": "variable",
|
1206
|
-
"name": "LayoutEmitEvents",
|
1207
|
-
"type": {
|
1208
|
-
"text": "{\n firstLoaded: 'first-loaded',\n itemAdded: 'item-added',\n itemRemoved: 'item-removed',\n itemResized: 'item-resized',\n}"
|
1209
|
-
},
|
1210
|
-
"default": "{\n firstLoaded: 'first-loaded',\n itemAdded: 'item-added',\n itemRemoved: 'item-removed',\n itemResized: 'item-resized',\n}",
|
1211
|
-
"description": "Defines events that the layout system emits\n\n'firstLoaded' - emitted when the layout has finished loading the first time\nusing the declarative API after DEFAULT_RELOAD_BUFFER ms.\n<br/>\n'itemAdded' - emitted when an item is added to the layout'\n<br/>\n'itemRemoved' - emitted when an item is removed from the layout'\n<br/>\n'itemResized' - emitted when the user drags the divider to resize elements",
|
1212
|
-
"privacy": "public"
|
1213
|
-
},
|
1214
|
-
{
|
1215
|
-
"kind": "variable",
|
1216
|
-
"name": "LayoutReceiveEvents",
|
1217
|
-
"type": {
|
1218
|
-
"text": "{\n changeTitle: 'change-title',\n}"
|
1219
|
-
},
|
1220
|
-
"default": "{\n changeTitle: 'change-title',\n}",
|
1221
|
-
"description": "Defines events that the layout system listens for\n\n'changeTitle' - emit this from a contained item to update the title of the window that contains it.",
|
1222
|
-
"privacy": "public"
|
1223
|
-
}
|
1224
|
-
],
|
1225
|
-
"exports": [
|
1226
|
-
{
|
1227
|
-
"kind": "js",
|
1228
|
-
"name": "LayoutEmitEvents",
|
1229
|
-
"declaration": {
|
1230
|
-
"name": "LayoutEmitEvents",
|
1231
|
-
"module": "src/utils/events.ts"
|
1232
|
-
}
|
1233
|
-
},
|
1234
|
-
{
|
1235
|
-
"kind": "js",
|
1236
|
-
"name": "LayoutReceiveEvents",
|
1237
|
-
"declaration": {
|
1238
|
-
"name": "LayoutReceiveEvents",
|
1239
|
-
"module": "src/utils/events.ts"
|
1240
|
-
}
|
1241
|
-
}
|
1242
|
-
]
|
1243
|
-
},
|
1244
|
-
{
|
1245
|
-
"kind": "javascript-module",
|
1246
|
-
"path": "src/utils/index.ts",
|
1247
|
-
"declarations": [],
|
1248
|
-
"exports": [
|
1249
|
-
{
|
1250
|
-
"kind": "js",
|
1251
|
-
"name": "*",
|
1252
|
-
"declaration": {
|
1253
|
-
"name": "*",
|
1254
|
-
"package": "./constants"
|
1255
|
-
}
|
1256
|
-
},
|
1257
|
-
{
|
1258
|
-
"kind": "js",
|
1259
|
-
"name": "*",
|
1260
|
-
"declaration": {
|
1261
|
-
"name": "*",
|
1262
|
-
"package": "./error"
|
1263
|
-
}
|
1264
|
-
},
|
1265
|
-
{
|
1266
|
-
"kind": "js",
|
1267
|
-
"name": "*",
|
1268
|
-
"declaration": {
|
1269
|
-
"name": "*",
|
1270
|
-
"package": "./events"
|
1271
|
-
}
|
1272
|
-
},
|
1273
|
-
{
|
1274
|
-
"kind": "js",
|
1275
|
-
"name": "*",
|
1276
|
-
"declaration": {
|
1277
|
-
"name": "*",
|
1278
|
-
"package": "./misc"
|
1279
|
-
}
|
1280
|
-
},
|
1281
|
-
{
|
1282
|
-
"kind": "js",
|
1283
|
-
"name": "*",
|
1284
|
-
"declaration": {
|
1285
|
-
"name": "*",
|
1286
|
-
"package": "./templates"
|
1287
|
-
}
|
1288
|
-
},
|
1289
|
-
{
|
1290
|
-
"kind": "js",
|
1291
|
-
"name": "*",
|
1292
|
-
"declaration": {
|
1293
|
-
"name": "*",
|
1294
|
-
"package": "./types"
|
1295
|
-
}
|
1296
|
-
},
|
1297
|
-
{
|
1298
|
-
"kind": "js",
|
1299
|
-
"name": "*",
|
1300
|
-
"declaration": {
|
1301
|
-
"name": "*",
|
1302
|
-
"package": "./error"
|
1303
|
-
}
|
1304
|
-
}
|
1305
|
-
]
|
1306
|
-
},
|
1307
|
-
{
|
1308
|
-
"kind": "javascript-module",
|
1309
|
-
"path": "src/utils/logger.ts",
|
1310
|
-
"declarations": [
|
1311
|
-
{
|
1312
|
-
"kind": "variable",
|
1313
|
-
"name": "logger"
|
1314
|
-
}
|
1315
|
-
],
|
1316
|
-
"exports": [
|
1317
|
-
{
|
1318
|
-
"kind": "js",
|
1319
|
-
"name": "logger",
|
1320
|
-
"declaration": {
|
1321
|
-
"name": "logger",
|
1322
|
-
"module": "src/utils/logger.ts"
|
1323
|
-
}
|
1324
|
-
}
|
1325
|
-
]
|
1326
|
-
},
|
1327
|
-
{
|
1328
|
-
"kind": "javascript-module",
|
1329
|
-
"path": "src/utils/misc.ts",
|
1330
|
-
"declarations": [],
|
1331
|
-
"exports": []
|
1332
|
-
},
|
1333
|
-
{
|
1334
|
-
"kind": "javascript-module",
|
1335
|
-
"path": "src/utils/templates.ts",
|
1336
|
-
"declarations": [],
|
1337
|
-
"exports": []
|
1338
|
-
},
|
1339
|
-
{
|
1340
|
-
"kind": "javascript-module",
|
1341
|
-
"path": "src/utils/types.ts",
|
1342
|
-
"declarations": [],
|
1343
|
-
"exports": []
|
1344
1011
|
}
|
1345
1012
|
]
|
1346
1013
|
}
|
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.32.0",
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
6
6
|
"main": "dist/esm/index.js",
|
7
7
|
"types": "dist/foundation-layout.d.ts",
|
@@ -9,43 +9,28 @@
|
|
9
9
|
"PORT": 3020
|
10
10
|
},
|
11
11
|
"scripts": {
|
12
|
-
"build": "genx build",
|
13
|
-
"build:webpack": "genx build
|
14
|
-
"build:webpack:stats": "genx analyze
|
12
|
+
"build": "genx build -b ts",
|
13
|
+
"build:webpack": "genx build",
|
14
|
+
"build:webpack:stats": "genx analyze",
|
15
15
|
"clean": "genx clean",
|
16
|
-
"dev": "
|
17
|
-
"dev:webpack": "genx dev -b webpack",
|
16
|
+
"dev": "genx dev",
|
18
17
|
"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"
|
18
|
+
"test": "genx test",
|
19
|
+
"test:coverage": "genx test --coverage",
|
20
|
+
"test:coverage:browser": "genx test --coverage --browser",
|
21
|
+
"test:unit:browser": "genx test --browser",
|
22
|
+
"test:unit:browser:watch": "genx test --browser --watch",
|
23
|
+
"test:unit:watch": "genx test --watch",
|
24
|
+
"test:debug": "genx test --debug"
|
31
25
|
},
|
32
26
|
"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"
|
27
|
+
"@genesislcap/foundation-testing": "^14.32.0",
|
28
|
+
"@genesislcap/genx": "^14.32.0"
|
44
29
|
},
|
45
30
|
"dependencies": {
|
46
31
|
"@genesis-community/golden-layout": "^2.9.3",
|
47
|
-
"@genesislcap/foundation-comms": "^14.
|
48
|
-
"@genesislcap/foundation-utils": "^14.
|
32
|
+
"@genesislcap/foundation-comms": "^14.32.0",
|
33
|
+
"@genesislcap/foundation-utils": "^14.32.0",
|
49
34
|
"@microsoft/fast-components": "^2.21.3",
|
50
35
|
"@microsoft/fast-element": "^1.7.0",
|
51
36
|
"@microsoft/fast-foundation": "^2.33.2",
|
@@ -60,5 +45,5 @@
|
|
60
45
|
"access": "public"
|
61
46
|
},
|
62
47
|
"customElements": "dist/custom-elements.json",
|
63
|
-
"gitHead": "
|
48
|
+
"gitHead": "aeadb3c8e86295e7d192418df500983c7b48aa4a"
|
64
49
|
}
|
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