@genesislcap/web-core 14.157.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.
Files changed (79) hide show
  1. package/README.md +67 -0
  2. package/dist/cjs/FAST/fast-colors.js +7 -0
  3. package/dist/cjs/FAST/fast-components.js +4 -0
  4. package/dist/cjs/FAST/fast-element.js +30 -0
  5. package/dist/cjs/FAST/fast-foundation.js +64 -0
  6. package/dist/cjs/FAST/fast-router.js +11 -0
  7. package/dist/cjs/FAST/fast-web-utilities.js +11 -0
  8. package/dist/cjs/FAST/index.js +9 -0
  9. package/dist/cjs/directives/index.js +5 -0
  10. package/dist/cjs/directives/sync.js +101 -0
  11. package/dist/cjs/directives/when-else.js +18 -0
  12. package/dist/cjs/index.js +6 -0
  13. package/dist/cjs/patterns/define.js +41 -0
  14. package/dist/cjs/patterns/index.js +5 -0
  15. package/dist/cjs/patterns/tag-for.js +24 -0
  16. package/dist/dts/FAST/fast-colors.d.ts +2 -0
  17. package/dist/dts/FAST/fast-colors.d.ts.map +1 -0
  18. package/dist/dts/FAST/fast-components.d.ts +2 -0
  19. package/dist/dts/FAST/fast-components.d.ts.map +1 -0
  20. package/dist/dts/FAST/fast-element.d.ts +2 -0
  21. package/dist/dts/FAST/fast-element.d.ts.map +1 -0
  22. package/dist/dts/FAST/fast-foundation.d.ts +2 -0
  23. package/dist/dts/FAST/fast-foundation.d.ts.map +1 -0
  24. package/dist/dts/FAST/fast-router.d.ts +2 -0
  25. package/dist/dts/FAST/fast-router.d.ts.map +1 -0
  26. package/dist/dts/FAST/fast-web-utilities.d.ts +2 -0
  27. package/dist/dts/FAST/fast-web-utilities.d.ts.map +1 -0
  28. package/dist/dts/FAST/index.d.ts +7 -0
  29. package/dist/dts/FAST/index.d.ts.map +1 -0
  30. package/dist/dts/directives/index.d.ts +3 -0
  31. package/dist/dts/directives/index.d.ts.map +1 -0
  32. package/dist/dts/directives/sync.d.ts +22 -0
  33. package/dist/dts/directives/sync.d.ts.map +1 -0
  34. package/dist/dts/directives/when-else.d.ts +13 -0
  35. package/dist/dts/directives/when-else.d.ts.map +1 -0
  36. package/dist/dts/index.d.ts +4 -0
  37. package/dist/dts/index.d.ts.map +1 -0
  38. package/dist/dts/patterns/define.d.ts +39 -0
  39. package/dist/dts/patterns/define.d.ts.map +1 -0
  40. package/dist/dts/patterns/index.d.ts +3 -0
  41. package/dist/dts/patterns/index.d.ts.map +1 -0
  42. package/dist/dts/patterns/tag-for.d.ts +21 -0
  43. package/dist/dts/patterns/tag-for.d.ts.map +1 -0
  44. package/dist/dts/tsdoc-metadata.json +11 -0
  45. package/dist/esm/FAST/fast-colors.js +1 -0
  46. package/dist/esm/FAST/fast-components.js +1 -0
  47. package/dist/esm/FAST/fast-element.js +1 -0
  48. package/dist/esm/FAST/fast-foundation.js +1 -0
  49. package/dist/esm/FAST/fast-router.js +1 -0
  50. package/dist/esm/FAST/fast-web-utilities.js +1 -0
  51. package/dist/esm/FAST/index.js +6 -0
  52. package/dist/esm/directives/index.js +2 -0
  53. package/dist/esm/directives/sync.js +97 -0
  54. package/dist/esm/directives/when-else.js +14 -0
  55. package/dist/esm/index.js +3 -0
  56. package/dist/esm/patterns/define.js +37 -0
  57. package/dist/esm/patterns/index.js +2 -0
  58. package/dist/esm/patterns/tag-for.js +20 -0
  59. package/dist/web-core.api.json +863 -0
  60. package/dist/web-core.d.ts +526 -0
  61. package/docs/.gitattributes +2 -0
  62. package/docs/api/index.md +12 -0
  63. package/docs/api/web-core.conversiontype.md +13 -0
  64. package/docs/api/web-core.defaulteventmap.md +13 -0
  65. package/docs/api/web-core.definefactory.md +41 -0
  66. package/docs/api/web-core.definefunction.md +15 -0
  67. package/docs/api/web-core.definitionoverrider.md +15 -0
  68. package/docs/api/web-core.eventname.md +13 -0
  69. package/docs/api/web-core.md +32 -0
  70. package/docs/api/web-core.sync.md +27 -0
  71. package/docs/api/web-core.tagfor.md +29 -0
  72. package/docs/api/web-core.templateelementdependency.md +16 -0
  73. package/docs/api/web-core.templateelements.md +20 -0
  74. package/docs/api/web-core.whenelse.md +26 -0
  75. package/docs/api-report.md +473 -0
  76. package/license.txt +46 -0
  77. package/package.json +39 -0
  78. package/tsconfig.cjs.json +10 -0
  79. package/tsdoc.json +20 -0
@@ -0,0 +1,526 @@
1
+ import { AccordionItemOptions } from '@microsoft/fast-foundation';
2
+ import { accordionItemTemplate } from '@microsoft/fast-foundation';
3
+ import { accordionTemplate } from '@microsoft/fast-foundation';
4
+ import { anchoredRegionTemplate } from '@microsoft/fast-foundation';
5
+ import { anchorTemplate } from '@microsoft/fast-foundation';
6
+ import { attr } from '@microsoft/fast-element';
7
+ import { avatarTemplate } from '@microsoft/fast-foundation';
8
+ import { badgeTemplate } from '@microsoft/fast-foundation';
9
+ import { Behavior } from '@microsoft/fast-element';
10
+ import { Binding } from '@microsoft/fast-element';
11
+ import { BindingBehavior } from '@microsoft/fast-element';
12
+ import { BindingObserver } from '@microsoft/fast-element';
13
+ import { BreadcrumbItemOptions } from '@microsoft/fast-foundation';
14
+ import { breadcrumbItemTemplate } from '@microsoft/fast-foundation';
15
+ import { breadcrumbTemplate } from '@microsoft/fast-foundation';
16
+ import { buttonTemplate } from '@microsoft/fast-foundation';
17
+ import { CalendarOptions } from '@microsoft/fast-foundation';
18
+ import { calendarTemplate } from '@microsoft/fast-foundation';
19
+ import { CaptureType } from '@microsoft/fast-element';
20
+ import { cardTemplate } from '@microsoft/fast-foundation';
21
+ import { CheckboxOptions } from '@microsoft/fast-foundation';
22
+ import { checkboxTemplate } from '@microsoft/fast-foundation';
23
+ import { children } from '@microsoft/fast-element';
24
+ import { classNames } from '@microsoft/fast-web-utilities';
25
+ import { ColorRGBA64 } from '@microsoft/fast-colors';
26
+ import { ColumnDefinition } from '@microsoft/fast-foundation';
27
+ import { ComboboxAutocomplete } from '@microsoft/fast-foundation';
28
+ import { ComboboxOptions } from '@microsoft/fast-foundation';
29
+ import { ComponentStateColorPalette } from '@microsoft/fast-colors';
30
+ import { ComposableStyles } from '@microsoft/fast-element';
31
+ import { composedParent } from '@microsoft/fast-foundation';
32
+ import { Constructable } from '@microsoft/fast-element';
33
+ import { Container } from '@microsoft/fast-foundation';
34
+ import { css } from '@microsoft/fast-element';
35
+ import { CSSDesignToken } from '@microsoft/fast-foundation';
36
+ import { CSSDirective } from '@microsoft/fast-element';
37
+ import { cssPartial } from '@microsoft/fast-element';
38
+ import { customElement } from '@microsoft/fast-element';
39
+ import { dataGridCellTemplate } from '@microsoft/fast-foundation';
40
+ import { dataGridRowTemplate } from '@microsoft/fast-foundation';
41
+ import { dataGridTemplate } from '@microsoft/fast-foundation';
42
+ import { defaultExecutionContext } from '@microsoft/fast-element';
43
+ import { DefaultRouteRecognizer } from '@microsoft/fast-router';
44
+ import { DesignSystem } from '@microsoft/fast-foundation';
45
+ import { DesignSystemRegistrationContext } from '@microsoft/fast-foundation';
46
+ import { DesignToken } from '@microsoft/fast-foundation';
47
+ import { DesignTokenValue } from '@microsoft/fast-foundation';
48
+ import { DI } from '@microsoft/fast-foundation';
49
+ import { Direction } from '@microsoft/fast-web-utilities';
50
+ import { disclosureTemplate } from '@microsoft/fast-foundation';
51
+ import { display } from '@microsoft/fast-foundation';
52
+ import { dividerTemplate } from '@microsoft/fast-foundation';
53
+ import { DOM } from '@microsoft/fast-element';
54
+ import { ElementDefinitionContext } from '@microsoft/fast-foundation';
55
+ import { elements } from '@microsoft/fast-element';
56
+ import { ElementStyles } from '@microsoft/fast-element';
57
+ import { endSlotTemplate } from '@microsoft/fast-foundation';
58
+ import { ExecutionContext } from '@microsoft/fast-element';
59
+ import { FASTElement } from '@microsoft/fast-element';
60
+ import { FASTElementDefinition } from '@microsoft/fast-element';
61
+ import { FASTElementLayout } from '@microsoft/fast-router';
62
+ import { FASTRouter } from '@microsoft/fast-router';
63
+ import { FlipperOptions } from '@microsoft/fast-foundation';
64
+ import { flipperTemplate } from '@microsoft/fast-foundation';
65
+ import { forcedColorsStylesheetBehavior } from '@microsoft/fast-foundation';
66
+ import { FormAssociated } from '@microsoft/fast-foundation';
67
+ import { FoundationElement } from '@microsoft/fast-foundation';
68
+ import { FoundationElementDefinition } from '@microsoft/fast-foundation';
69
+ import { FoundationElementRegistry } from '@microsoft/fast-foundation';
70
+ import { FoundationElementTemplate } from '@microsoft/fast-foundation';
71
+ import { HasElement } from '@microsoft/fast-router';
72
+ import { HorizontalScrollOptions } from '@microsoft/fast-foundation';
73
+ import { horizontalScrollTemplate } from '@microsoft/fast-foundation';
74
+ import { html } from '@microsoft/fast-element';
75
+ import { HTMLBindingDirective } from '@microsoft/fast-element';
76
+ import { HTMLView } from '@microsoft/fast-element';
77
+ import { inject } from '@microsoft/fast-foundation';
78
+ import { Key } from '@microsoft/fast-foundation';
79
+ import { limit } from '@microsoft/fast-web-utilities';
80
+ import { listboxOptionTemplate } from '@microsoft/fast-foundation';
81
+ import { listboxTemplate } from '@microsoft/fast-foundation';
82
+ import { MappableRouteDefinition } from '@microsoft/fast-router';
83
+ import { MenuItemOptions } from '@microsoft/fast-foundation';
84
+ import { menuItemTemplate } from '@microsoft/fast-foundation';
85
+ import { menuTemplate } from '@microsoft/fast-foundation';
86
+ import { NavigationPhase } from '@microsoft/fast-router';
87
+ import { nullableNumberConverter } from '@microsoft/fast-element';
88
+ import { NumberFieldOptions } from '@microsoft/fast-foundation';
89
+ import { Observable } from '@microsoft/fast-element';
90
+ import { observable } from '@microsoft/fast-element';
91
+ import { optional } from '@microsoft/fast-foundation';
92
+ import { Orientation } from '@microsoft/fast-web-utilities';
93
+ import { parseColorHexRGB } from '@microsoft/fast-colors';
94
+ import { PartialFASTElementDefinition } from '@microsoft/fast-element';
95
+ import { pascalCase } from '@microsoft/fast-web-utilities';
96
+ import { ProgressOptions } from '@microsoft/fast-foundation';
97
+ import { ProgressRingOptions } from '@microsoft/fast-foundation';
98
+ import { progressRingTemplate } from '@microsoft/fast-foundation';
99
+ import { progressTemplate } from '@microsoft/fast-foundation';
100
+ import { PropertyStyleSheetBehavior } from '@microsoft/fast-foundation';
101
+ import { radioGroupTemplate } from '@microsoft/fast-foundation';
102
+ import { RadioOptions } from '@microsoft/fast-foundation';
103
+ import { radioTemplate } from '@microsoft/fast-foundation';
104
+ import { ref } from '@microsoft/fast-element';
105
+ import { Registration } from '@microsoft/fast-foundation';
106
+ import { repeat } from '@microsoft/fast-element';
107
+ import { RepeatOptions } from '@microsoft/fast-element';
108
+ import { Route } from '@microsoft/fast-router';
109
+ import { RouteCollection } from '@microsoft/fast-router';
110
+ import { Router } from '@microsoft/fast-router';
111
+ import { RouterConfiguration } from '@microsoft/fast-router';
112
+ import { RouterElement } from '@microsoft/fast-router';
113
+ import { SelectOptions } from '@microsoft/fast-foundation';
114
+ import { selectTemplate } from '@microsoft/fast-foundation';
115
+ import { skeletonTemplate } from '@microsoft/fast-foundation';
116
+ import { sliderLabelTemplate } from '@microsoft/fast-foundation';
117
+ import { SliderOptions } from '@microsoft/fast-foundation';
118
+ import { slotted } from '@microsoft/fast-element';
119
+ import { startSlotTemplate } from '@microsoft/fast-foundation';
120
+ import { SwitchOptions } from '@microsoft/fast-foundation';
121
+ import { switchTemplate } from '@microsoft/fast-foundation';
122
+ import { SyntheticViewTemplate } from '@microsoft/fast-element';
123
+ import { SystemColors } from '@microsoft/fast-web-utilities';
124
+ import { tabPanelTemplate } from '@microsoft/fast-foundation';
125
+ import { TabsOrientation } from '@microsoft/fast-foundation';
126
+ import { tabsTemplate } from '@microsoft/fast-foundation';
127
+ import { tabTemplate } from '@microsoft/fast-foundation';
128
+ import { textAreaTemplate } from '@microsoft/fast-foundation';
129
+ import { TextFieldOptions } from '@microsoft/fast-foundation';
130
+ import { toolbarTemplate } from '@microsoft/fast-foundation';
131
+ import { TooltipPosition } from '@microsoft/fast-foundation';
132
+ import { tooltipTemplate } from '@microsoft/fast-foundation';
133
+ import { TreeItemOptions } from '@microsoft/fast-foundation';
134
+ import { treeItemTemplate } from '@microsoft/fast-foundation';
135
+ import { treeViewTemplate } from '@microsoft/fast-foundation';
136
+ import { uniqueId } from '@microsoft/fast-web-utilities';
137
+ import { ValueConverter } from '@microsoft/fast-element';
138
+ import { ViewTemplate } from '@microsoft/fast-element';
139
+ import { volatile } from '@microsoft/fast-element';
140
+ import { when } from '@microsoft/fast-element';
141
+ import { whitespaceFilter } from '@microsoft/fast-foundation';
142
+
143
+ export { AccordionItemOptions }
144
+
145
+ export { accordionItemTemplate }
146
+
147
+ export { accordionTemplate }
148
+
149
+ export { anchoredRegionTemplate }
150
+
151
+ export { anchorTemplate }
152
+
153
+ export { attr }
154
+
155
+ export { avatarTemplate }
156
+
157
+ export { badgeTemplate }
158
+
159
+ export { Behavior }
160
+
161
+ export { Binding }
162
+
163
+ export { BindingBehavior }
164
+
165
+ export { BindingObserver }
166
+
167
+ export { BreadcrumbItemOptions }
168
+
169
+ export { breadcrumbItemTemplate }
170
+
171
+ export { breadcrumbTemplate }
172
+
173
+ export { buttonTemplate }
174
+
175
+ export { CalendarOptions }
176
+
177
+ export { calendarTemplate }
178
+
179
+ export { CaptureType }
180
+
181
+ export { cardTemplate }
182
+
183
+ export { CheckboxOptions }
184
+
185
+ export { checkboxTemplate }
186
+
187
+ export { children }
188
+
189
+ export { classNames }
190
+
191
+ export { ColorRGBA64 }
192
+
193
+ export { ColumnDefinition }
194
+
195
+ export { ComboboxAutocomplete }
196
+
197
+ export { ComboboxOptions }
198
+
199
+ export { ComponentStateColorPalette }
200
+
201
+ export { ComposableStyles }
202
+
203
+ export { composedParent }
204
+
205
+ export { Constructable }
206
+
207
+ export { Container }
208
+
209
+ /**
210
+ * Represents the possible types of value conversion for data synchronization.
211
+ * @public
212
+ */
213
+ export declare type ConversionType = 'string' | 'number' | 'time' | 'boolean';
214
+
215
+ export { css }
216
+
217
+ export { CSSDesignToken }
218
+
219
+ export { CSSDirective }
220
+
221
+ export { cssPartial }
222
+
223
+ export { customElement }
224
+
225
+ export { dataGridCellTemplate }
226
+
227
+ export { dataGridRowTemplate }
228
+
229
+ export { dataGridTemplate }
230
+
231
+ /**
232
+ * A map that associates specific HTML element tags with their corresponding default event names.
233
+ * @public
234
+ */
235
+ export declare const defaultEventMap: Map<string, EventName>;
236
+
237
+ export { defaultExecutionContext }
238
+
239
+ export { DefaultRouteRecognizer }
240
+
241
+ /**
242
+ * Defines a platform custom element based on the provided type and definition.
243
+ *
244
+ * @example
245
+ * An example using custom definition merge logic, useful if you need to impose hard restrictions.
246
+ * ```ts
247
+ * const definitionOverrider = (definition) => ({
248
+ * ...baseDefinition,
249
+ * ...definition,
250
+ * styles: baseDefinition.styles,
251
+ * shadowOptions: {
252
+ * mode: 'closed,
253
+ * },
254
+ * });
255
+ * export const define = defineFactory(LoginForm, definitionOverrider);
256
+ * ```
257
+ *
258
+ * @example
259
+ * You can provide the base definition if you're happy with the default spread operator merge logic.
260
+ * ```ts
261
+ * export const define = defineFactory(LoginForm, baseDefinition);
262
+ * ```
263
+ *
264
+ * @param Type - The custom element Type / Class to define.
265
+ * @param overriderOrBase - A function that merges definitions, or the base definition if custom merging is not needed.
266
+ * @returns The type class.
267
+ * @beta
268
+ */
269
+ export declare const defineFactory: <TType extends Constructable<FASTElement>>(Type: TType, overriderOrBase: DefinitionOverrider | PartialFASTElementDefinition) => DefineFunction<TType>;
270
+
271
+ /**
272
+ * @beta
273
+ */
274
+ export declare type DefineFunction<TType> = (definition: PartialFASTElementDefinition) => TType;
275
+
276
+ /**
277
+ * @beta
278
+ */
279
+ export declare type DefinitionOverrider = (override: PartialFASTElementDefinition) => PartialFASTElementDefinition;
280
+
281
+ export { DesignSystem }
282
+
283
+ export { DesignSystemRegistrationContext }
284
+
285
+ export { DesignToken }
286
+
287
+ export { DesignTokenValue }
288
+
289
+ export { DI }
290
+
291
+ export { Direction }
292
+
293
+ export { disclosureTemplate }
294
+
295
+ export { display }
296
+
297
+ export { dividerTemplate }
298
+
299
+ export { DOM }
300
+
301
+ export { ElementDefinitionContext }
302
+
303
+ export { elements }
304
+
305
+ export { ElementStyles }
306
+
307
+ export { endSlotTemplate }
308
+
309
+ /**
310
+ * Represents the possible event names for data synchronization.
311
+ * @public
312
+ */
313
+ export declare type EventName = 'input' | 'change' | 'default';
314
+
315
+ export { ExecutionContext }
316
+
317
+ export { FASTElement }
318
+
319
+ export { FASTElementDefinition }
320
+
321
+ export { FASTElementLayout }
322
+
323
+ export { FASTRouter }
324
+
325
+ export { FlipperOptions }
326
+
327
+ export { flipperTemplate }
328
+
329
+ export { forcedColorsStylesheetBehavior }
330
+
331
+ export { FormAssociated }
332
+
333
+ export { FoundationElement }
334
+
335
+ export { FoundationElementDefinition }
336
+
337
+ export { FoundationElementRegistry }
338
+
339
+ export { FoundationElementTemplate }
340
+
341
+ export { HasElement }
342
+
343
+ export { HorizontalScrollOptions }
344
+
345
+ export { horizontalScrollTemplate }
346
+
347
+ export { html }
348
+
349
+ export { HTMLBindingDirective }
350
+
351
+ export { HTMLView }
352
+
353
+ export { inject }
354
+
355
+ export { Key }
356
+
357
+ export { limit }
358
+
359
+ export { listboxOptionTemplate }
360
+
361
+ export { listboxTemplate }
362
+
363
+ export { MappableRouteDefinition }
364
+
365
+ export { MenuItemOptions }
366
+
367
+ export { menuItemTemplate }
368
+
369
+ export { menuTemplate }
370
+
371
+ export { NavigationPhase }
372
+
373
+ export { nullableNumberConverter }
374
+
375
+ export { NumberFieldOptions }
376
+
377
+ export { Observable }
378
+
379
+ export { observable }
380
+
381
+ export { optional }
382
+
383
+ export { Orientation }
384
+
385
+ export { parseColorHexRGB }
386
+
387
+ export { PartialFASTElementDefinition }
388
+
389
+ export { pascalCase }
390
+
391
+ export { ProgressOptions }
392
+
393
+ export { ProgressRingOptions }
394
+
395
+ export { progressRingTemplate }
396
+
397
+ export { progressTemplate }
398
+
399
+ export { PropertyStyleSheetBehavior }
400
+
401
+ export { radioGroupTemplate }
402
+
403
+ export { RadioOptions }
404
+
405
+ export { radioTemplate }
406
+
407
+ export { ref }
408
+
409
+ export { Registration }
410
+
411
+ export { repeat }
412
+
413
+ export { RepeatOptions }
414
+
415
+ export { Route }
416
+
417
+ export { RouteCollection }
418
+
419
+ export { Router }
420
+
421
+ export { RouterConfiguration }
422
+
423
+ export { RouterElement }
424
+
425
+ export { SelectOptions }
426
+
427
+ export { selectTemplate }
428
+
429
+ export { skeletonTemplate }
430
+
431
+ export { sliderLabelTemplate }
432
+
433
+ export { SliderOptions }
434
+
435
+ export { slotted }
436
+
437
+ export { startSlotTemplate }
438
+
439
+ export { SwitchOptions }
440
+
441
+ export { switchTemplate }
442
+
443
+ /**
444
+ * Creates a synchronization directive that binds a data source to an HTML element,
445
+ * @public
446
+ */
447
+ export declare function sync<TSource = any, TReturn = any>(binding: Binding<TSource, TReturn>, conversionType?: ConversionType, eventName?: EventName, keyAttr?: string): CaptureType<TSource>;
448
+
449
+ export { SyntheticViewTemplate }
450
+
451
+ export { SystemColors }
452
+
453
+ export { tabPanelTemplate }
454
+
455
+ export { TabsOrientation }
456
+
457
+ export { tabsTemplate }
458
+
459
+ export { tabTemplate }
460
+
461
+ /**
462
+ * Determines what HTML tag name to use for the dependency.
463
+ * @param dependency - The dependency the template is dependent on.
464
+ * @returns The tag name to use in markup.
465
+ * @beta
466
+ */
467
+ export declare function tagFor(dependency: TemplateElementDependency): string;
468
+
469
+ /**
470
+ * Used to designate a template's dependency on another custom element.
471
+ * @beta
472
+ */
473
+ export declare type TemplateElementDependency = string | FASTElementDefinition | Constructable<FASTElement>;
474
+
475
+ /**
476
+ * Used to help map components / elements for tagFor usage
477
+ * @beta
478
+ */
479
+ export declare type TemplateElements = {
480
+ [key: string]: TemplateElementDependency;
481
+ };
482
+
483
+ export { textAreaTemplate }
484
+
485
+ export { TextFieldOptions }
486
+
487
+ export { toolbarTemplate }
488
+
489
+ export { TooltipPosition }
490
+
491
+ export { tooltipTemplate }
492
+
493
+ export { TreeItemOptions }
494
+
495
+ export { treeItemTemplate }
496
+
497
+ export { treeViewTemplate }
498
+
499
+ export { uniqueId }
500
+
501
+ export { ValueConverter }
502
+
503
+ export { ViewTemplate }
504
+
505
+ export { volatile }
506
+
507
+ export { when }
508
+
509
+ /**
510
+ * Directive that allows supplying an "else" template to the traditional {@link https://www.fast.design/docs/api/fast-element.when/#when-function} directive
511
+ *
512
+ * @param binding - The condition to test for rendering.
513
+ * @param trueTemplateOrTemplateBinding - The template or a binding that gets the template to render when the condition is true.
514
+ * @param falseTemplateOrTemplateBinding - The template or a binding that gets the template to render when the condition is false.
515
+ * @public
516
+ */
517
+ export declare function whenElse<TSource = any, TReturn = any>(binding: Binding<TSource, TReturn>, trueTemplateOrTemplateBinding: WhenTemplate<TSource>, falseTemplateOrTemplateBinding: WhenTemplate<TSource>): CaptureType<TSource>;
518
+
519
+ declare type WhenTemplate<TSource> = SyntheticViewTemplate | Binding<TSource, SyntheticViewTemplate>;
520
+
521
+ export { whitespaceFilter }
522
+
523
+
524
+ export * from "@microsoft/fast-components";
525
+
526
+ export { }
@@ -0,0 +1,2 @@
1
+ *.md -diff
2
+ *.md linguist-generated
@@ -0,0 +1,12 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md)
4
+
5
+ ## API Reference
6
+
7
+ ## Packages
8
+
9
+ | Package | Description |
10
+ | --- | --- |
11
+ | [@genesislcap/web-core](./web-core.md) | |
12
+
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/web-core](./web-core.md) &gt; [ConversionType](./web-core.conversiontype.md)
4
+
5
+ ## ConversionType type
6
+
7
+ Represents the possible types of value conversion for data synchronization.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export type ConversionType = 'string' | 'number' | 'time' | 'boolean';
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/web-core](./web-core.md) &gt; [defaultEventMap](./web-core.defaulteventmap.md)
4
+
5
+ ## defaultEventMap variable
6
+
7
+ A map that associates specific HTML element tags with their corresponding default event names.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ defaultEventMap: Map<string, EventName>
13
+ ```
@@ -0,0 +1,41 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/web-core](./web-core.md) &gt; [defineFactory](./web-core.definefactory.md)
4
+
5
+ ## defineFactory variable
6
+
7
+ > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Defines a platform custom element based on the provided type and definition.
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ defineFactory: <TType extends Constructable<FASTElement>>(Type: TType, overriderOrBase: DefinitionOverrider | PartialFASTElementDefinition) => DefineFunction<TType>
16
+ ```
17
+
18
+ ## Example 1
19
+
20
+ An example using custom definition merge logic, useful if you need to impose hard restrictions.
21
+
22
+ ```ts
23
+ const definitionOverrider = (definition) => ({
24
+ ...baseDefinition,
25
+ ...definition,
26
+ styles: baseDefinition.styles,
27
+ shadowOptions: {
28
+ mode: 'closed,
29
+ },
30
+ });
31
+ export const define = defineFactory(LoginForm, definitionOverrider);
32
+ ```
33
+
34
+ ## Example 2
35
+
36
+ You can provide the base definition if you're happy with the default spread operator merge logic.
37
+
38
+ ```ts
39
+ export const define = defineFactory(LoginForm, baseDefinition);
40
+ ```
41
+
@@ -0,0 +1,15 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/web-core](./web-core.md) &gt; [DefineFunction](./web-core.definefunction.md)
4
+
5
+ ## DefineFunction type
6
+
7
+ > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+
11
+ **Signature:**
12
+
13
+ ```typescript
14
+ export type DefineFunction<TType> = (definition: PartialFASTElementDefinition) => TType;
15
+ ```
@@ -0,0 +1,15 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/web-core](./web-core.md) &gt; [DefinitionOverrider](./web-core.definitionoverrider.md)
4
+
5
+ ## DefinitionOverrider type
6
+
7
+ > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+
11
+ **Signature:**
12
+
13
+ ```typescript
14
+ export type DefinitionOverrider = (override: PartialFASTElementDefinition) => PartialFASTElementDefinition;
15
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/web-core](./web-core.md) &gt; [EventName](./web-core.eventname.md)
4
+
5
+ ## EventName type
6
+
7
+ Represents the possible event names for data synchronization.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export type EventName = 'input' | 'change' | 'default';
13
+ ```
@@ -0,0 +1,32 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/web-core](./web-core.md)
4
+
5
+ ## web-core package
6
+
7
+ ## Functions
8
+
9
+ | Function | Description |
10
+ | --- | --- |
11
+ | [sync(binding, conversionType, eventName, keyAttr)](./web-core.sync.md) | Creates a synchronization directive that binds a data source to an HTML element, |
12
+ | [tagFor(dependency)](./web-core.tagfor.md) | **_(BETA)_** Determines what HTML tag name to use for the dependency. |
13
+ | [whenElse(binding, trueTemplateOrTemplateBinding, falseTemplateOrTemplateBinding)](./web-core.whenelse.md) | Directive that allows supplying an "else" template to the traditional [https://www.fast.design/docs/api/fast-element.when/\#when-function](https://www.fast.design/docs/api/fast-element.when/#when-function) directive |
14
+
15
+ ## Variables
16
+
17
+ | Variable | Description |
18
+ | --- | --- |
19
+ | [defaultEventMap](./web-core.defaulteventmap.md) | A map that associates specific HTML element tags with their corresponding default event names. |
20
+ | [defineFactory](./web-core.definefactory.md) | **_(BETA)_** Defines a platform custom element based on the provided type and definition. |
21
+
22
+ ## Type Aliases
23
+
24
+ | Type Alias | Description |
25
+ | --- | --- |
26
+ | [ConversionType](./web-core.conversiontype.md) | Represents the possible types of value conversion for data synchronization. |
27
+ | [DefineFunction](./web-core.definefunction.md) | **_(BETA)_** |
28
+ | [DefinitionOverrider](./web-core.definitionoverrider.md) | **_(BETA)_** |
29
+ | [EventName](./web-core.eventname.md) | Represents the possible event names for data synchronization. |
30
+ | [TemplateElementDependency](./web-core.templateelementdependency.md) | **_(BETA)_** Used to designate a template's dependency on another custom element. |
31
+ | [TemplateElements](./web-core.templateelements.md) | **_(BETA)_** Used to help map components / elements for tagFor usage |
32
+