@viasat/beam-web-components 2.28.0 → 2.29.1
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/custom-elements.json +824 -824
- package/package.json +6 -6
- package/vscode.html-custom-data.json +150 -150
package/custom-elements.json
CHANGED
|
@@ -294,15 +294,19 @@
|
|
|
294
294
|
},
|
|
295
295
|
{
|
|
296
296
|
"kind": "javascript-module",
|
|
297
|
-
"path": "libs/web-components/src/lib/
|
|
297
|
+
"path": "libs/web-components/src/lib/Badge/Badge.ts",
|
|
298
298
|
"declarations": [
|
|
299
299
|
{
|
|
300
300
|
"kind": "class",
|
|
301
|
-
"description": "`bm-
|
|
302
|
-
"name": "
|
|
301
|
+
"description": "`bm-badge`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Badge\n- **theme** - Theme of the Badge\n- **size** - Specify the size of the Badge\n- **emphasis** - Specify the emphasis of the Badge\n- **hideIcon** - Hides Badge icon",
|
|
302
|
+
"name": "BmBadge",
|
|
303
303
|
"slots": [
|
|
304
304
|
{
|
|
305
|
-
"description": "
|
|
305
|
+
"description": "Provide text for the Badge",
|
|
306
|
+
"name": "default"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"description": "Specify a different icon for the Badge",
|
|
306
310
|
"name": "icon"
|
|
307
311
|
}
|
|
308
312
|
],
|
|
@@ -311,359 +315,258 @@
|
|
|
311
315
|
"kind": "field",
|
|
312
316
|
"name": "appearance",
|
|
313
317
|
"type": {
|
|
314
|
-
"text": "'
|
|
318
|
+
"text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
|
|
315
319
|
},
|
|
316
|
-
"default": "'
|
|
317
|
-
"description": "Specify the appearance of the
|
|
320
|
+
"default": "'infoPrimary'",
|
|
321
|
+
"description": "Specify the appearance of the Badge",
|
|
318
322
|
"attribute": "appearance"
|
|
319
323
|
},
|
|
320
324
|
{
|
|
321
325
|
"kind": "field",
|
|
322
|
-
"name": "
|
|
323
|
-
"type": {
|
|
324
|
-
"text": "string | undefined"
|
|
325
|
-
},
|
|
326
|
-
"description": "Specify a name to display initials in the Avatar",
|
|
327
|
-
"attribute": "name"
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
"kind": "field",
|
|
331
|
-
"name": "src",
|
|
332
|
-
"type": {
|
|
333
|
-
"text": "string | undefined"
|
|
334
|
-
},
|
|
335
|
-
"description": "Pass an image to the Avatar",
|
|
336
|
-
"attribute": "src"
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"kind": "field",
|
|
340
|
-
"name": "alt",
|
|
326
|
+
"name": "theme",
|
|
341
327
|
"type": {
|
|
342
|
-
"text": "
|
|
328
|
+
"text": "'light' | 'dark' | undefined"
|
|
343
329
|
},
|
|
344
|
-
"description": "
|
|
345
|
-
"attribute": "
|
|
330
|
+
"description": "Theme of the Badge",
|
|
331
|
+
"attribute": "theme"
|
|
346
332
|
},
|
|
347
333
|
{
|
|
348
334
|
"kind": "field",
|
|
349
335
|
"name": "size",
|
|
350
336
|
"type": {
|
|
351
|
-
"text": "'
|
|
337
|
+
"text": "'sm' | 'md' | undefined"
|
|
352
338
|
},
|
|
353
|
-
"default": "'
|
|
354
|
-
"description": "Specify the size of the
|
|
339
|
+
"default": "'sm'",
|
|
340
|
+
"description": "Specify the size of the Badge",
|
|
355
341
|
"attribute": "size"
|
|
356
342
|
},
|
|
357
343
|
{
|
|
358
344
|
"kind": "field",
|
|
359
|
-
"name": "
|
|
360
|
-
"type": {
|
|
361
|
-
"text": "boolean | undefined"
|
|
362
|
-
},
|
|
363
|
-
"default": "false",
|
|
364
|
-
"description": "Specify if the Avatar is disabled",
|
|
365
|
-
"attribute": "disabled"
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"kind": "field",
|
|
369
|
-
"name": "shape",
|
|
370
|
-
"type": {
|
|
371
|
-
"text": "'circle' | 'square' | undefined"
|
|
372
|
-
},
|
|
373
|
-
"default": "'circle'",
|
|
374
|
-
"description": "Specify the shape of the Avatar",
|
|
375
|
-
"attribute": "shape"
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"kind": "field",
|
|
379
|
-
"name": "isInteractive",
|
|
380
|
-
"type": {
|
|
381
|
-
"text": "boolean"
|
|
382
|
-
},
|
|
383
|
-
"default": "false",
|
|
384
|
-
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
385
|
-
"attribute": "isInteractive"
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
"kind": "field",
|
|
389
|
-
"name": "isFocusable",
|
|
345
|
+
"name": "emphasis",
|
|
390
346
|
"type": {
|
|
391
|
-
"text": "
|
|
347
|
+
"text": "'strong' | 'medium' | 'subtle'"
|
|
392
348
|
},
|
|
393
|
-
"default": "
|
|
394
|
-
"description": "
|
|
395
|
-
"attribute": "
|
|
349
|
+
"default": "'strong'",
|
|
350
|
+
"description": "Specify the emphasis of the Badge",
|
|
351
|
+
"attribute": "emphasis"
|
|
396
352
|
},
|
|
397
353
|
{
|
|
398
354
|
"kind": "field",
|
|
399
|
-
"name": "
|
|
355
|
+
"name": "hideIcon",
|
|
400
356
|
"type": {
|
|
401
|
-
"text": "boolean"
|
|
357
|
+
"text": "boolean | undefined"
|
|
402
358
|
},
|
|
403
|
-
"
|
|
404
|
-
"attribute": "
|
|
359
|
+
"description": "Hides Badge icon",
|
|
360
|
+
"attribute": "hideIcon"
|
|
405
361
|
}
|
|
406
362
|
],
|
|
407
363
|
"attributes": [
|
|
408
364
|
{
|
|
409
365
|
"name": "appearance",
|
|
410
366
|
"type": {
|
|
411
|
-
"text": "'
|
|
367
|
+
"text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
|
|
412
368
|
},
|
|
413
|
-
"default": "'
|
|
414
|
-
"description": "Specify the appearance of the
|
|
369
|
+
"default": "'infoPrimary'",
|
|
370
|
+
"description": "Specify the appearance of the Badge",
|
|
415
371
|
"fieldName": "appearance"
|
|
416
372
|
},
|
|
417
373
|
{
|
|
418
|
-
"name": "
|
|
419
|
-
"type": {
|
|
420
|
-
"text": "string | undefined"
|
|
421
|
-
},
|
|
422
|
-
"description": "Specify a name to display initials in the Avatar",
|
|
423
|
-
"fieldName": "name"
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
"name": "src",
|
|
427
|
-
"type": {
|
|
428
|
-
"text": "string | undefined"
|
|
429
|
-
},
|
|
430
|
-
"description": "Pass an image to the Avatar",
|
|
431
|
-
"fieldName": "src"
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
"name": "alt",
|
|
374
|
+
"name": "theme",
|
|
435
375
|
"type": {
|
|
436
|
-
"text": "
|
|
376
|
+
"text": "'light' | 'dark' | undefined"
|
|
437
377
|
},
|
|
438
|
-
"description": "
|
|
439
|
-
"fieldName": "
|
|
378
|
+
"description": "Theme of the Badge",
|
|
379
|
+
"fieldName": "theme"
|
|
440
380
|
},
|
|
441
381
|
{
|
|
442
382
|
"name": "size",
|
|
443
383
|
"type": {
|
|
444
|
-
"text": "'
|
|
384
|
+
"text": "'sm' | 'md' | undefined"
|
|
445
385
|
},
|
|
446
|
-
"default": "'
|
|
447
|
-
"description": "Specify the size of the
|
|
386
|
+
"default": "'sm'",
|
|
387
|
+
"description": "Specify the size of the Badge",
|
|
448
388
|
"fieldName": "size"
|
|
449
389
|
},
|
|
450
390
|
{
|
|
451
|
-
"name": "
|
|
452
|
-
"type": {
|
|
453
|
-
"text": "boolean | undefined"
|
|
454
|
-
},
|
|
455
|
-
"default": "false",
|
|
456
|
-
"description": "Specify if the Avatar is disabled",
|
|
457
|
-
"fieldName": "disabled"
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
"name": "shape",
|
|
461
|
-
"type": {
|
|
462
|
-
"text": "'circle' | 'square' | undefined"
|
|
463
|
-
},
|
|
464
|
-
"default": "'circle'",
|
|
465
|
-
"description": "Specify the shape of the Avatar",
|
|
466
|
-
"fieldName": "shape"
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
"name": "isInteractive",
|
|
470
|
-
"type": {
|
|
471
|
-
"text": "boolean"
|
|
472
|
-
},
|
|
473
|
-
"default": "false",
|
|
474
|
-
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
475
|
-
"fieldName": "isInteractive"
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
"name": "isFocusable",
|
|
391
|
+
"name": "emphasis",
|
|
479
392
|
"type": {
|
|
480
|
-
"text": "
|
|
393
|
+
"text": "'strong' | 'medium' | 'subtle'"
|
|
481
394
|
},
|
|
482
|
-
"default": "
|
|
483
|
-
"description": "
|
|
484
|
-
"fieldName": "
|
|
395
|
+
"default": "'strong'",
|
|
396
|
+
"description": "Specify the emphasis of the Badge",
|
|
397
|
+
"fieldName": "emphasis"
|
|
485
398
|
},
|
|
486
399
|
{
|
|
487
|
-
"name": "
|
|
400
|
+
"name": "hideIcon",
|
|
488
401
|
"type": {
|
|
489
|
-
"text": "boolean"
|
|
402
|
+
"text": "boolean | undefined"
|
|
490
403
|
},
|
|
491
|
-
"
|
|
492
|
-
"fieldName": "
|
|
404
|
+
"description": "Hides Badge icon",
|
|
405
|
+
"fieldName": "hideIcon"
|
|
493
406
|
}
|
|
494
407
|
],
|
|
495
408
|
"superclass": {
|
|
496
409
|
"name": "LitElement",
|
|
497
410
|
"package": "lit"
|
|
498
411
|
},
|
|
499
|
-
"tagName": "bm-
|
|
412
|
+
"tagName": "bm-badge",
|
|
500
413
|
"customElement": true
|
|
501
414
|
}
|
|
502
415
|
],
|
|
503
416
|
"exports": [
|
|
504
417
|
{
|
|
505
418
|
"kind": "js",
|
|
506
|
-
"name": "
|
|
419
|
+
"name": "BmBadge",
|
|
507
420
|
"declaration": {
|
|
508
|
-
"name": "
|
|
509
|
-
"module": "libs/web-components/src/lib/
|
|
421
|
+
"name": "BmBadge",
|
|
422
|
+
"module": "libs/web-components/src/lib/Badge/Badge.ts"
|
|
510
423
|
}
|
|
511
424
|
},
|
|
512
425
|
{
|
|
513
426
|
"kind": "custom-element-definition",
|
|
514
|
-
"name": "bm-
|
|
427
|
+
"name": "bm-badge",
|
|
515
428
|
"declaration": {
|
|
516
|
-
"name": "
|
|
517
|
-
"module": "libs/web-components/src/lib/
|
|
429
|
+
"name": "BmBadge",
|
|
430
|
+
"module": "libs/web-components/src/lib/Badge/Badge.ts"
|
|
518
431
|
}
|
|
519
432
|
}
|
|
520
433
|
]
|
|
521
434
|
},
|
|
522
435
|
{
|
|
523
436
|
"kind": "javascript-module",
|
|
524
|
-
"path": "libs/web-components/src/lib/
|
|
525
|
-
"declarations": [
|
|
526
|
-
{
|
|
527
|
-
"kind": "variable",
|
|
528
|
-
"name": "AvatarGroupCtx"
|
|
529
|
-
}
|
|
530
|
-
],
|
|
437
|
+
"path": "libs/web-components/src/lib/Badge/index.ts",
|
|
438
|
+
"declarations": [],
|
|
531
439
|
"exports": [
|
|
532
440
|
{
|
|
533
441
|
"kind": "js",
|
|
534
|
-
"name": "
|
|
442
|
+
"name": "*",
|
|
535
443
|
"declaration": {
|
|
536
|
-
"name": "
|
|
537
|
-
"
|
|
444
|
+
"name": "*",
|
|
445
|
+
"package": "./Badge"
|
|
538
446
|
}
|
|
539
447
|
}
|
|
540
448
|
]
|
|
541
449
|
},
|
|
542
450
|
{
|
|
543
451
|
"kind": "javascript-module",
|
|
544
|
-
"path": "libs/web-components/src/lib/
|
|
452
|
+
"path": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts",
|
|
545
453
|
"declarations": [
|
|
546
454
|
{
|
|
547
455
|
"kind": "class",
|
|
548
|
-
"description": "`bm-
|
|
549
|
-
"name": "
|
|
456
|
+
"description": "`bm-badge-dot`\n\n### Attributes:\n- **theme** - Specify the theme of the BadgeDot. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the BadgeDot\n- **emphasis** - Specify the emphasis of the BadgeDot\n- **overrideDotColor** - Overrides default dot color",
|
|
457
|
+
"name": "BmBadgeDot",
|
|
550
458
|
"slots": [
|
|
551
459
|
{
|
|
552
|
-
"description": "
|
|
460
|
+
"description": "Provide text for the BadgeDot",
|
|
553
461
|
"name": "default"
|
|
554
462
|
}
|
|
555
463
|
],
|
|
556
464
|
"members": [
|
|
557
465
|
{
|
|
558
466
|
"kind": "field",
|
|
559
|
-
"name": "
|
|
467
|
+
"name": "theme",
|
|
560
468
|
"type": {
|
|
561
|
-
"text": "
|
|
469
|
+
"text": "'light' | 'dark' | undefined"
|
|
562
470
|
},
|
|
563
|
-
"
|
|
564
|
-
"
|
|
565
|
-
"attribute": "wrapping"
|
|
471
|
+
"description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
|
|
472
|
+
"attribute": "theme"
|
|
566
473
|
},
|
|
567
474
|
{
|
|
568
475
|
"kind": "field",
|
|
569
|
-
"name": "
|
|
476
|
+
"name": "appearance",
|
|
570
477
|
"type": {
|
|
571
|
-
"text": "
|
|
478
|
+
"text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
|
|
572
479
|
},
|
|
573
|
-
"default": "
|
|
574
|
-
"description": "Specify the
|
|
575
|
-
"attribute": "
|
|
576
|
-
"reflects": true
|
|
480
|
+
"default": "'infoPrimary'",
|
|
481
|
+
"description": "Specify the appearance of the BadgeDot",
|
|
482
|
+
"attribute": "appearance"
|
|
577
483
|
},
|
|
578
484
|
{
|
|
579
485
|
"kind": "field",
|
|
580
|
-
"name": "
|
|
486
|
+
"name": "emphasis",
|
|
581
487
|
"type": {
|
|
582
|
-
"text": "'
|
|
488
|
+
"text": "'strong' | 'subtle'"
|
|
583
489
|
},
|
|
584
|
-
"default": "'
|
|
585
|
-
"description": "Specify the
|
|
586
|
-
"attribute": "
|
|
490
|
+
"default": "'strong'",
|
|
491
|
+
"description": "Specify the emphasis of the BadgeDot",
|
|
492
|
+
"attribute": "emphasis"
|
|
587
493
|
},
|
|
588
494
|
{
|
|
589
495
|
"kind": "field",
|
|
590
|
-
"name": "
|
|
496
|
+
"name": "overrideDotColor",
|
|
591
497
|
"type": {
|
|
592
|
-
"text": "
|
|
498
|
+
"text": "string | undefined"
|
|
593
499
|
},
|
|
594
|
-
"
|
|
595
|
-
"
|
|
596
|
-
"attribute": "layout"
|
|
500
|
+
"description": "Overrides default dot color",
|
|
501
|
+
"attribute": "overrideDotColor"
|
|
597
502
|
}
|
|
598
503
|
],
|
|
599
504
|
"attributes": [
|
|
600
505
|
{
|
|
601
|
-
"name": "
|
|
506
|
+
"name": "theme",
|
|
602
507
|
"type": {
|
|
603
|
-
"text": "
|
|
508
|
+
"text": "'light' | 'dark' | undefined"
|
|
604
509
|
},
|
|
605
|
-
"
|
|
606
|
-
"
|
|
607
|
-
"fieldName": "wrapping"
|
|
510
|
+
"description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
|
|
511
|
+
"fieldName": "theme"
|
|
608
512
|
},
|
|
609
513
|
{
|
|
610
|
-
"name": "
|
|
514
|
+
"name": "appearance",
|
|
611
515
|
"type": {
|
|
612
|
-
"text": "
|
|
516
|
+
"text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
|
|
613
517
|
},
|
|
614
|
-
"default": "
|
|
615
|
-
"description": "Specify the
|
|
616
|
-
"fieldName": "
|
|
518
|
+
"default": "'infoPrimary'",
|
|
519
|
+
"description": "Specify the appearance of the BadgeDot",
|
|
520
|
+
"fieldName": "appearance"
|
|
617
521
|
},
|
|
618
522
|
{
|
|
619
|
-
"name": "
|
|
523
|
+
"name": "emphasis",
|
|
620
524
|
"type": {
|
|
621
|
-
"text": "'
|
|
525
|
+
"text": "'strong' | 'subtle'"
|
|
622
526
|
},
|
|
623
|
-
"default": "'
|
|
624
|
-
"description": "Specify the
|
|
625
|
-
"fieldName": "
|
|
527
|
+
"default": "'strong'",
|
|
528
|
+
"description": "Specify the emphasis of the BadgeDot",
|
|
529
|
+
"fieldName": "emphasis"
|
|
626
530
|
},
|
|
627
531
|
{
|
|
628
|
-
"name": "
|
|
532
|
+
"name": "overrideDotColor",
|
|
629
533
|
"type": {
|
|
630
|
-
"text": "
|
|
534
|
+
"text": "string | undefined"
|
|
631
535
|
},
|
|
632
|
-
"
|
|
633
|
-
"
|
|
634
|
-
"fieldName": "layout"
|
|
536
|
+
"description": "Overrides default dot color",
|
|
537
|
+
"fieldName": "overrideDotColor"
|
|
635
538
|
}
|
|
636
539
|
],
|
|
637
540
|
"superclass": {
|
|
638
541
|
"name": "LitElement",
|
|
639
542
|
"package": "lit"
|
|
640
543
|
},
|
|
641
|
-
"tagName": "bm-
|
|
544
|
+
"tagName": "bm-badge-dot",
|
|
642
545
|
"customElement": true
|
|
643
546
|
}
|
|
644
547
|
],
|
|
645
548
|
"exports": [
|
|
646
549
|
{
|
|
647
550
|
"kind": "js",
|
|
648
|
-
"name": "
|
|
551
|
+
"name": "BmBadgeDot",
|
|
649
552
|
"declaration": {
|
|
650
|
-
"name": "
|
|
651
|
-
"module": "libs/web-components/src/lib/
|
|
553
|
+
"name": "BmBadgeDot",
|
|
554
|
+
"module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
|
|
652
555
|
}
|
|
653
556
|
},
|
|
654
557
|
{
|
|
655
558
|
"kind": "custom-element-definition",
|
|
656
|
-
"name": "bm-
|
|
559
|
+
"name": "bm-badge-dot",
|
|
657
560
|
"declaration": {
|
|
658
|
-
"name": "
|
|
659
|
-
"module": "libs/web-components/src/lib/
|
|
561
|
+
"name": "BmBadgeDot",
|
|
562
|
+
"module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
|
|
660
563
|
}
|
|
661
564
|
}
|
|
662
565
|
]
|
|
663
566
|
},
|
|
664
567
|
{
|
|
665
568
|
"kind": "javascript-module",
|
|
666
|
-
"path": "libs/web-components/src/lib/
|
|
569
|
+
"path": "libs/web-components/src/lib/BadgeDot/index.ts",
|
|
667
570
|
"declarations": [],
|
|
668
571
|
"exports": [
|
|
669
572
|
{
|
|
@@ -671,15 +574,7 @@
|
|
|
671
574
|
"name": "*",
|
|
672
575
|
"declaration": {
|
|
673
576
|
"name": "*",
|
|
674
|
-
"package": "./
|
|
675
|
-
}
|
|
676
|
-
},
|
|
677
|
-
{
|
|
678
|
-
"kind": "js",
|
|
679
|
-
"name": "*",
|
|
680
|
-
"declaration": {
|
|
681
|
-
"name": "*",
|
|
682
|
-
"package": "./AvatarGroup"
|
|
577
|
+
"package": "./BadgeDot"
|
|
683
578
|
}
|
|
684
579
|
}
|
|
685
580
|
]
|
|
@@ -967,19 +862,15 @@
|
|
|
967
862
|
},
|
|
968
863
|
{
|
|
969
864
|
"kind": "javascript-module",
|
|
970
|
-
"path": "libs/web-components/src/lib/
|
|
865
|
+
"path": "libs/web-components/src/lib/Avatar/Avatar.ts",
|
|
971
866
|
"declarations": [
|
|
972
867
|
{
|
|
973
868
|
"kind": "class",
|
|
974
|
-
"description": "`bm-
|
|
975
|
-
"name": "
|
|
869
|
+
"description": "`bm-avatar`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Avatar\n- **name** - Specify a name to display initials in the Avatar\n- **src** - Pass an image to the Avatar\n- **alt** - Specify alt for image\n- **size** - Specify the size of the Avatar\n- **disabled** - Specify if the Avatar is disabled\n- **shape** - Specify the shape of the Avatar\n- **isInteractive** - If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer\n- **isFocusable** - If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable\n- **withBorder** ",
|
|
870
|
+
"name": "BmAvatar",
|
|
976
871
|
"slots": [
|
|
977
872
|
{
|
|
978
|
-
"description": "
|
|
979
|
-
"name": "default"
|
|
980
|
-
},
|
|
981
|
-
{
|
|
982
|
-
"description": "Specify a different icon for the Badge",
|
|
873
|
+
"description": "Customize the default icon",
|
|
983
874
|
"name": "icon"
|
|
984
875
|
}
|
|
985
876
|
],
|
|
@@ -988,258 +879,359 @@
|
|
|
988
879
|
"kind": "field",
|
|
989
880
|
"name": "appearance",
|
|
990
881
|
"type": {
|
|
991
|
-
"text": "'
|
|
882
|
+
"text": "'accent' | 'neutral' | undefined"
|
|
992
883
|
},
|
|
993
|
-
"default": "'
|
|
994
|
-
"description": "Specify the appearance of the
|
|
884
|
+
"default": "'neutral'",
|
|
885
|
+
"description": "Specify the appearance of the Avatar",
|
|
995
886
|
"attribute": "appearance"
|
|
996
887
|
},
|
|
997
888
|
{
|
|
998
889
|
"kind": "field",
|
|
999
|
-
"name": "
|
|
890
|
+
"name": "name",
|
|
1000
891
|
"type": {
|
|
1001
|
-
"text": "
|
|
892
|
+
"text": "string | undefined"
|
|
1002
893
|
},
|
|
1003
|
-
"description": "
|
|
1004
|
-
"attribute": "
|
|
894
|
+
"description": "Specify a name to display initials in the Avatar",
|
|
895
|
+
"attribute": "name"
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"kind": "field",
|
|
899
|
+
"name": "src",
|
|
900
|
+
"type": {
|
|
901
|
+
"text": "string | undefined"
|
|
902
|
+
},
|
|
903
|
+
"description": "Pass an image to the Avatar",
|
|
904
|
+
"attribute": "src"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"kind": "field",
|
|
908
|
+
"name": "alt",
|
|
909
|
+
"type": {
|
|
910
|
+
"text": "string | undefined"
|
|
911
|
+
},
|
|
912
|
+
"description": "Specify alt for image",
|
|
913
|
+
"attribute": "alt"
|
|
1005
914
|
},
|
|
1006
915
|
{
|
|
1007
916
|
"kind": "field",
|
|
1008
917
|
"name": "size",
|
|
1009
918
|
"type": {
|
|
1010
|
-
"text": "'sm' | 'md' | undefined"
|
|
919
|
+
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined"
|
|
1011
920
|
},
|
|
1012
|
-
"default": "'
|
|
1013
|
-
"description": "Specify the size of the
|
|
921
|
+
"default": "'md'",
|
|
922
|
+
"description": "Specify the size of the Avatar",
|
|
1014
923
|
"attribute": "size"
|
|
1015
924
|
},
|
|
1016
925
|
{
|
|
1017
926
|
"kind": "field",
|
|
1018
|
-
"name": "
|
|
927
|
+
"name": "disabled",
|
|
1019
928
|
"type": {
|
|
1020
|
-
"text": "
|
|
929
|
+
"text": "boolean | undefined"
|
|
1021
930
|
},
|
|
1022
|
-
"default": "
|
|
1023
|
-
"description": "Specify the
|
|
1024
|
-
"attribute": "
|
|
931
|
+
"default": "false",
|
|
932
|
+
"description": "Specify if the Avatar is disabled",
|
|
933
|
+
"attribute": "disabled"
|
|
1025
934
|
},
|
|
1026
935
|
{
|
|
1027
936
|
"kind": "field",
|
|
1028
|
-
"name": "
|
|
937
|
+
"name": "shape",
|
|
1029
938
|
"type": {
|
|
1030
|
-
"text": "
|
|
939
|
+
"text": "'circle' | 'square' | undefined"
|
|
1031
940
|
},
|
|
1032
|
-
"
|
|
1033
|
-
"
|
|
941
|
+
"default": "'circle'",
|
|
942
|
+
"description": "Specify the shape of the Avatar",
|
|
943
|
+
"attribute": "shape"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"kind": "field",
|
|
947
|
+
"name": "isInteractive",
|
|
948
|
+
"type": {
|
|
949
|
+
"text": "boolean"
|
|
950
|
+
},
|
|
951
|
+
"default": "false",
|
|
952
|
+
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
953
|
+
"attribute": "isInteractive"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"kind": "field",
|
|
957
|
+
"name": "isFocusable",
|
|
958
|
+
"type": {
|
|
959
|
+
"text": "boolean"
|
|
960
|
+
},
|
|
961
|
+
"default": "false",
|
|
962
|
+
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
963
|
+
"attribute": "isFocusable"
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"kind": "field",
|
|
967
|
+
"name": "withBorder",
|
|
968
|
+
"type": {
|
|
969
|
+
"text": "boolean"
|
|
970
|
+
},
|
|
971
|
+
"default": "false",
|
|
972
|
+
"attribute": "withBorder"
|
|
1034
973
|
}
|
|
1035
974
|
],
|
|
1036
975
|
"attributes": [
|
|
1037
976
|
{
|
|
1038
977
|
"name": "appearance",
|
|
1039
978
|
"type": {
|
|
1040
|
-
"text": "'
|
|
979
|
+
"text": "'accent' | 'neutral' | undefined"
|
|
1041
980
|
},
|
|
1042
|
-
"default": "'
|
|
1043
|
-
"description": "Specify the appearance of the
|
|
981
|
+
"default": "'neutral'",
|
|
982
|
+
"description": "Specify the appearance of the Avatar",
|
|
1044
983
|
"fieldName": "appearance"
|
|
1045
984
|
},
|
|
1046
985
|
{
|
|
1047
|
-
"name": "
|
|
986
|
+
"name": "name",
|
|
1048
987
|
"type": {
|
|
1049
|
-
"text": "
|
|
988
|
+
"text": "string | undefined"
|
|
1050
989
|
},
|
|
1051
|
-
"description": "
|
|
1052
|
-
"fieldName": "
|
|
990
|
+
"description": "Specify a name to display initials in the Avatar",
|
|
991
|
+
"fieldName": "name"
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
"name": "src",
|
|
995
|
+
"type": {
|
|
996
|
+
"text": "string | undefined"
|
|
997
|
+
},
|
|
998
|
+
"description": "Pass an image to the Avatar",
|
|
999
|
+
"fieldName": "src"
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"name": "alt",
|
|
1003
|
+
"type": {
|
|
1004
|
+
"text": "string | undefined"
|
|
1005
|
+
},
|
|
1006
|
+
"description": "Specify alt for image",
|
|
1007
|
+
"fieldName": "alt"
|
|
1053
1008
|
},
|
|
1054
1009
|
{
|
|
1055
1010
|
"name": "size",
|
|
1056
1011
|
"type": {
|
|
1057
|
-
"text": "'sm' | 'md' | undefined"
|
|
1012
|
+
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined"
|
|
1058
1013
|
},
|
|
1059
|
-
"default": "'
|
|
1060
|
-
"description": "Specify the size of the
|
|
1014
|
+
"default": "'md'",
|
|
1015
|
+
"description": "Specify the size of the Avatar",
|
|
1061
1016
|
"fieldName": "size"
|
|
1062
1017
|
},
|
|
1063
1018
|
{
|
|
1064
|
-
"name": "
|
|
1019
|
+
"name": "disabled",
|
|
1065
1020
|
"type": {
|
|
1066
|
-
"text": "
|
|
1021
|
+
"text": "boolean | undefined"
|
|
1067
1022
|
},
|
|
1068
|
-
"default": "
|
|
1069
|
-
"description": "Specify the
|
|
1070
|
-
"fieldName": "
|
|
1023
|
+
"default": "false",
|
|
1024
|
+
"description": "Specify if the Avatar is disabled",
|
|
1025
|
+
"fieldName": "disabled"
|
|
1071
1026
|
},
|
|
1072
1027
|
{
|
|
1073
|
-
"name": "
|
|
1028
|
+
"name": "shape",
|
|
1074
1029
|
"type": {
|
|
1075
|
-
"text": "
|
|
1030
|
+
"text": "'circle' | 'square' | undefined"
|
|
1076
1031
|
},
|
|
1077
|
-
"
|
|
1078
|
-
"
|
|
1032
|
+
"default": "'circle'",
|
|
1033
|
+
"description": "Specify the shape of the Avatar",
|
|
1034
|
+
"fieldName": "shape"
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"name": "isInteractive",
|
|
1038
|
+
"type": {
|
|
1039
|
+
"text": "boolean"
|
|
1040
|
+
},
|
|
1041
|
+
"default": "false",
|
|
1042
|
+
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
1043
|
+
"fieldName": "isInteractive"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"name": "isFocusable",
|
|
1047
|
+
"type": {
|
|
1048
|
+
"text": "boolean"
|
|
1049
|
+
},
|
|
1050
|
+
"default": "false",
|
|
1051
|
+
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
1052
|
+
"fieldName": "isFocusable"
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"name": "withBorder",
|
|
1056
|
+
"type": {
|
|
1057
|
+
"text": "boolean"
|
|
1058
|
+
},
|
|
1059
|
+
"default": "false",
|
|
1060
|
+
"fieldName": "withBorder"
|
|
1079
1061
|
}
|
|
1080
1062
|
],
|
|
1081
1063
|
"superclass": {
|
|
1082
1064
|
"name": "LitElement",
|
|
1083
1065
|
"package": "lit"
|
|
1084
1066
|
},
|
|
1085
|
-
"tagName": "bm-
|
|
1067
|
+
"tagName": "bm-avatar",
|
|
1086
1068
|
"customElement": true
|
|
1087
1069
|
}
|
|
1088
1070
|
],
|
|
1089
1071
|
"exports": [
|
|
1090
1072
|
{
|
|
1091
1073
|
"kind": "js",
|
|
1092
|
-
"name": "
|
|
1074
|
+
"name": "BmAvatar",
|
|
1093
1075
|
"declaration": {
|
|
1094
|
-
"name": "
|
|
1095
|
-
"module": "libs/web-components/src/lib/
|
|
1076
|
+
"name": "BmAvatar",
|
|
1077
|
+
"module": "libs/web-components/src/lib/Avatar/Avatar.ts"
|
|
1096
1078
|
}
|
|
1097
1079
|
},
|
|
1098
1080
|
{
|
|
1099
1081
|
"kind": "custom-element-definition",
|
|
1100
|
-
"name": "bm-
|
|
1082
|
+
"name": "bm-avatar",
|
|
1101
1083
|
"declaration": {
|
|
1102
|
-
"name": "
|
|
1103
|
-
"module": "libs/web-components/src/lib/
|
|
1084
|
+
"name": "BmAvatar",
|
|
1085
|
+
"module": "libs/web-components/src/lib/Avatar/Avatar.ts"
|
|
1104
1086
|
}
|
|
1105
1087
|
}
|
|
1106
1088
|
]
|
|
1107
1089
|
},
|
|
1108
1090
|
{
|
|
1109
1091
|
"kind": "javascript-module",
|
|
1110
|
-
"path": "libs/web-components/src/lib/
|
|
1111
|
-
"declarations": [
|
|
1092
|
+
"path": "libs/web-components/src/lib/Avatar/AvatarGroup.context.ts",
|
|
1093
|
+
"declarations": [
|
|
1094
|
+
{
|
|
1095
|
+
"kind": "variable",
|
|
1096
|
+
"name": "AvatarGroupCtx"
|
|
1097
|
+
}
|
|
1098
|
+
],
|
|
1112
1099
|
"exports": [
|
|
1113
1100
|
{
|
|
1114
1101
|
"kind": "js",
|
|
1115
|
-
"name": "
|
|
1102
|
+
"name": "AvatarGroupCtx",
|
|
1116
1103
|
"declaration": {
|
|
1117
|
-
"name": "
|
|
1118
|
-
"
|
|
1104
|
+
"name": "AvatarGroupCtx",
|
|
1105
|
+
"module": "libs/web-components/src/lib/Avatar/AvatarGroup.context.ts"
|
|
1119
1106
|
}
|
|
1120
1107
|
}
|
|
1121
1108
|
]
|
|
1122
1109
|
},
|
|
1123
1110
|
{
|
|
1124
1111
|
"kind": "javascript-module",
|
|
1125
|
-
"path": "libs/web-components/src/lib/
|
|
1112
|
+
"path": "libs/web-components/src/lib/Avatar/AvatarGroup.ts",
|
|
1126
1113
|
"declarations": [
|
|
1127
1114
|
{
|
|
1128
1115
|
"kind": "class",
|
|
1129
|
-
"description": "`bm-
|
|
1130
|
-
"name": "
|
|
1116
|
+
"description": "`bm-avatar-group`\n\n### Attributes:\n- **wrapping** - Specify if the AvatarGroup wraps\n- **maxCount** - Specify the max number of avatars displayed in the group.\n- **size** - Specify the size of all Avatars\n- **layout** - Specify the kind of the group.",
|
|
1117
|
+
"name": "BmAvatarGroup",
|
|
1131
1118
|
"slots": [
|
|
1132
1119
|
{
|
|
1133
|
-
"description": "
|
|
1120
|
+
"description": "Add Avatars to create a group",
|
|
1134
1121
|
"name": "default"
|
|
1135
1122
|
}
|
|
1136
1123
|
],
|
|
1137
1124
|
"members": [
|
|
1138
1125
|
{
|
|
1139
1126
|
"kind": "field",
|
|
1140
|
-
"name": "
|
|
1127
|
+
"name": "wrapping",
|
|
1141
1128
|
"type": {
|
|
1142
|
-
"text": "
|
|
1129
|
+
"text": "boolean"
|
|
1143
1130
|
},
|
|
1144
|
-
"
|
|
1145
|
-
"
|
|
1131
|
+
"default": "false",
|
|
1132
|
+
"description": "Specify if the AvatarGroup wraps",
|
|
1133
|
+
"attribute": "wrapping"
|
|
1146
1134
|
},
|
|
1147
1135
|
{
|
|
1148
1136
|
"kind": "field",
|
|
1149
|
-
"name": "
|
|
1137
|
+
"name": "maxCount",
|
|
1150
1138
|
"type": {
|
|
1151
|
-
"text": "
|
|
1139
|
+
"text": "number"
|
|
1152
1140
|
},
|
|
1153
|
-
"default": "
|
|
1154
|
-
"description": "Specify the
|
|
1155
|
-
"attribute": "
|
|
1141
|
+
"default": "5",
|
|
1142
|
+
"description": "Specify the max number of avatars displayed in the group.",
|
|
1143
|
+
"attribute": "maxCount",
|
|
1144
|
+
"reflects": true
|
|
1156
1145
|
},
|
|
1157
1146
|
{
|
|
1158
1147
|
"kind": "field",
|
|
1159
|
-
"name": "
|
|
1148
|
+
"name": "size",
|
|
1160
1149
|
"type": {
|
|
1161
|
-
"text": "'
|
|
1150
|
+
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
1162
1151
|
},
|
|
1163
|
-
"default": "'
|
|
1164
|
-
"description": "Specify the
|
|
1165
|
-
"attribute": "
|
|
1152
|
+
"default": "'md'",
|
|
1153
|
+
"description": "Specify the size of all Avatars",
|
|
1154
|
+
"attribute": "size"
|
|
1166
1155
|
},
|
|
1167
1156
|
{
|
|
1168
1157
|
"kind": "field",
|
|
1169
|
-
"name": "
|
|
1158
|
+
"name": "layout",
|
|
1170
1159
|
"type": {
|
|
1171
|
-
"text": "
|
|
1160
|
+
"text": "'stacked' | 'spaced' | undefined"
|
|
1172
1161
|
},
|
|
1173
|
-
"
|
|
1174
|
-
"
|
|
1162
|
+
"default": "'stacked'",
|
|
1163
|
+
"description": "Specify the kind of the group.",
|
|
1164
|
+
"attribute": "layout"
|
|
1175
1165
|
}
|
|
1176
1166
|
],
|
|
1177
1167
|
"attributes": [
|
|
1178
1168
|
{
|
|
1179
|
-
"name": "
|
|
1169
|
+
"name": "wrapping",
|
|
1180
1170
|
"type": {
|
|
1181
|
-
"text": "
|
|
1171
|
+
"text": "boolean"
|
|
1182
1172
|
},
|
|
1183
|
-
"
|
|
1184
|
-
"
|
|
1173
|
+
"default": "false",
|
|
1174
|
+
"description": "Specify if the AvatarGroup wraps",
|
|
1175
|
+
"fieldName": "wrapping"
|
|
1185
1176
|
},
|
|
1186
1177
|
{
|
|
1187
|
-
"name": "
|
|
1178
|
+
"name": "maxCount",
|
|
1188
1179
|
"type": {
|
|
1189
|
-
"text": "
|
|
1180
|
+
"text": "number"
|
|
1190
1181
|
},
|
|
1191
|
-
"default": "
|
|
1192
|
-
"description": "Specify the
|
|
1193
|
-
"fieldName": "
|
|
1182
|
+
"default": "5",
|
|
1183
|
+
"description": "Specify the max number of avatars displayed in the group.",
|
|
1184
|
+
"fieldName": "maxCount"
|
|
1194
1185
|
},
|
|
1195
1186
|
{
|
|
1196
|
-
"name": "
|
|
1187
|
+
"name": "size",
|
|
1197
1188
|
"type": {
|
|
1198
|
-
"text": "'
|
|
1189
|
+
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
1199
1190
|
},
|
|
1200
|
-
"default": "'
|
|
1201
|
-
"description": "Specify the
|
|
1202
|
-
"fieldName": "
|
|
1191
|
+
"default": "'md'",
|
|
1192
|
+
"description": "Specify the size of all Avatars",
|
|
1193
|
+
"fieldName": "size"
|
|
1203
1194
|
},
|
|
1204
1195
|
{
|
|
1205
|
-
"name": "
|
|
1196
|
+
"name": "layout",
|
|
1206
1197
|
"type": {
|
|
1207
|
-
"text": "
|
|
1198
|
+
"text": "'stacked' | 'spaced' | undefined"
|
|
1208
1199
|
},
|
|
1209
|
-
"
|
|
1210
|
-
"
|
|
1200
|
+
"default": "'stacked'",
|
|
1201
|
+
"description": "Specify the kind of the group.",
|
|
1202
|
+
"fieldName": "layout"
|
|
1211
1203
|
}
|
|
1212
1204
|
],
|
|
1213
1205
|
"superclass": {
|
|
1214
1206
|
"name": "LitElement",
|
|
1215
1207
|
"package": "lit"
|
|
1216
1208
|
},
|
|
1217
|
-
"tagName": "bm-
|
|
1209
|
+
"tagName": "bm-avatar-group",
|
|
1218
1210
|
"customElement": true
|
|
1219
1211
|
}
|
|
1220
1212
|
],
|
|
1221
1213
|
"exports": [
|
|
1222
1214
|
{
|
|
1223
1215
|
"kind": "js",
|
|
1224
|
-
"name": "
|
|
1216
|
+
"name": "BmAvatarGroup",
|
|
1225
1217
|
"declaration": {
|
|
1226
|
-
"name": "
|
|
1227
|
-
"module": "libs/web-components/src/lib/
|
|
1218
|
+
"name": "BmAvatarGroup",
|
|
1219
|
+
"module": "libs/web-components/src/lib/Avatar/AvatarGroup.ts"
|
|
1228
1220
|
}
|
|
1229
1221
|
},
|
|
1230
1222
|
{
|
|
1231
1223
|
"kind": "custom-element-definition",
|
|
1232
|
-
"name": "bm-
|
|
1224
|
+
"name": "bm-avatar-group",
|
|
1233
1225
|
"declaration": {
|
|
1234
|
-
"name": "
|
|
1235
|
-
"module": "libs/web-components/src/lib/
|
|
1226
|
+
"name": "BmAvatarGroup",
|
|
1227
|
+
"module": "libs/web-components/src/lib/Avatar/AvatarGroup.ts"
|
|
1236
1228
|
}
|
|
1237
1229
|
}
|
|
1238
1230
|
]
|
|
1239
1231
|
},
|
|
1240
1232
|
{
|
|
1241
1233
|
"kind": "javascript-module",
|
|
1242
|
-
"path": "libs/web-components/src/lib/
|
|
1234
|
+
"path": "libs/web-components/src/lib/Avatar/index.ts",
|
|
1243
1235
|
"declarations": [],
|
|
1244
1236
|
"exports": [
|
|
1245
1237
|
{
|
|
@@ -1247,7 +1239,15 @@
|
|
|
1247
1239
|
"name": "*",
|
|
1248
1240
|
"declaration": {
|
|
1249
1241
|
"name": "*",
|
|
1250
|
-
"package": "./
|
|
1242
|
+
"package": "./Avatar"
|
|
1243
|
+
}
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"kind": "js",
|
|
1247
|
+
"name": "*",
|
|
1248
|
+
"declaration": {
|
|
1249
|
+
"name": "*",
|
|
1250
|
+
"package": "./AvatarGroup"
|
|
1251
1251
|
}
|
|
1252
1252
|
}
|
|
1253
1253
|
]
|
|
@@ -7879,126 +7879,113 @@
|
|
|
7879
7879
|
},
|
|
7880
7880
|
{
|
|
7881
7881
|
"kind": "javascript-module",
|
|
7882
|
-
"path": "libs/web-components/src/lib/wip/
|
|
7883
|
-
"declarations": [
|
|
7884
|
-
{
|
|
7885
|
-
"kind": "variable",
|
|
7886
|
-
"name": "bmFormInitials",
|
|
7887
|
-
"type": {
|
|
7888
|
-
"text": "BmFormContext"
|
|
7889
|
-
},
|
|
7890
|
-
"default": "{ required: false, disabled: false, readOnly: false, initialValues: {}, registerField: () => undefined, formBlurHandler: () => undefined, formChangeHandler: () => undefined, }"
|
|
7891
|
-
},
|
|
7892
|
-
{
|
|
7893
|
-
"kind": "variable",
|
|
7894
|
-
"name": "bmFormContext"
|
|
7895
|
-
}
|
|
7896
|
-
],
|
|
7897
|
-
"exports": [
|
|
7898
|
-
{
|
|
7899
|
-
"kind": "js",
|
|
7900
|
-
"name": "bmFormInitials",
|
|
7901
|
-
"declaration": {
|
|
7902
|
-
"name": "bmFormInitials",
|
|
7903
|
-
"module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
|
|
7904
|
-
}
|
|
7905
|
-
},
|
|
7906
|
-
{
|
|
7907
|
-
"kind": "js",
|
|
7908
|
-
"name": "bmFormContext",
|
|
7909
|
-
"declaration": {
|
|
7910
|
-
"name": "bmFormContext",
|
|
7911
|
-
"module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
|
|
7912
|
-
}
|
|
7913
|
-
}
|
|
7914
|
-
]
|
|
7915
|
-
},
|
|
7916
|
-
{
|
|
7917
|
-
"kind": "javascript-module",
|
|
7918
|
-
"path": "libs/web-components/src/lib/wip/Form/Form.decorator.ts",
|
|
7882
|
+
"path": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts",
|
|
7919
7883
|
"declarations": [
|
|
7920
7884
|
{
|
|
7921
7885
|
"kind": "class",
|
|
7922
|
-
"description": "### Attributes:\n- **
|
|
7923
|
-
"name": "
|
|
7886
|
+
"description": "### Attributes:\n- **required** - Specify if NativeSelect is a required input\n- **readOnly** - Specify if NativeSelect displays in a read-only state\n- **disabled** - Specify if NativeSelect displays in a disabled state\n- **error** - Specify error text and display error state of a NativeSelect\n- **fluid** - Specify if NativeSelect is fluid\n- **width** - Specify the width of NativeSelect\n- **ellipse** - Specify if overflow displays ellipsis\n- **hideRequiredMarker** - Specify if the NativeSelect displays with an asterisk\n- **theme** - Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
|
|
7887
|
+
"name": "BmNativeSelect",
|
|
7888
|
+
"slots": [
|
|
7889
|
+
{
|
|
7890
|
+
"description": "Specify Options for NativeSelect",
|
|
7891
|
+
"name": "slot"
|
|
7892
|
+
},
|
|
7893
|
+
{
|
|
7894
|
+
"description": "Specify Label for NativeSelect",
|
|
7895
|
+
"name": "label"
|
|
7896
|
+
},
|
|
7897
|
+
{
|
|
7898
|
+
"description": "Specify HelperText for NativeSelect",
|
|
7899
|
+
"name": "helper-text"
|
|
7900
|
+
}
|
|
7901
|
+
],
|
|
7924
7902
|
"members": [
|
|
7925
7903
|
{
|
|
7926
7904
|
"kind": "field",
|
|
7927
|
-
"name": "
|
|
7905
|
+
"name": "required",
|
|
7928
7906
|
"type": {
|
|
7929
7907
|
"text": "boolean"
|
|
7930
7908
|
},
|
|
7931
|
-
"
|
|
7932
|
-
"
|
|
7909
|
+
"default": "false",
|
|
7910
|
+
"description": "Specify if NativeSelect is a required input",
|
|
7911
|
+
"attribute": "required"
|
|
7933
7912
|
},
|
|
7934
7913
|
{
|
|
7935
7914
|
"kind": "field",
|
|
7936
|
-
"name": "
|
|
7915
|
+
"name": "readOnly",
|
|
7937
7916
|
"type": {
|
|
7938
|
-
"text": "
|
|
7917
|
+
"text": "boolean"
|
|
7939
7918
|
},
|
|
7940
|
-
"default": "
|
|
7941
|
-
"
|
|
7919
|
+
"default": "false",
|
|
7920
|
+
"description": "Specify if NativeSelect displays in a read-only state",
|
|
7921
|
+
"attribute": "readOnly"
|
|
7942
7922
|
},
|
|
7943
7923
|
{
|
|
7944
7924
|
"kind": "field",
|
|
7945
|
-
"name": "
|
|
7925
|
+
"name": "disabled",
|
|
7946
7926
|
"type": {
|
|
7947
|
-
"text": "
|
|
7927
|
+
"text": "boolean"
|
|
7948
7928
|
},
|
|
7949
|
-
"default": "
|
|
7950
|
-
"
|
|
7929
|
+
"default": "false",
|
|
7930
|
+
"description": "Specify if NativeSelect displays in a disabled state",
|
|
7931
|
+
"attribute": "disabled"
|
|
7951
7932
|
},
|
|
7952
7933
|
{
|
|
7953
7934
|
"kind": "field",
|
|
7954
|
-
"name": "
|
|
7935
|
+
"name": "error",
|
|
7955
7936
|
"type": {
|
|
7956
|
-
"text": "string"
|
|
7937
|
+
"text": "string | undefined"
|
|
7957
7938
|
},
|
|
7958
|
-
"
|
|
7959
|
-
"attribute": "
|
|
7939
|
+
"description": "Specify error text and display error state of a NativeSelect",
|
|
7940
|
+
"attribute": "error"
|
|
7960
7941
|
},
|
|
7961
7942
|
{
|
|
7962
7943
|
"kind": "field",
|
|
7963
|
-
"name": "
|
|
7944
|
+
"name": "fluid",
|
|
7964
7945
|
"type": {
|
|
7965
|
-
"text": "
|
|
7946
|
+
"text": "boolean"
|
|
7966
7947
|
},
|
|
7967
|
-
"default": "
|
|
7968
|
-
"
|
|
7948
|
+
"default": "false",
|
|
7949
|
+
"description": "Specify if NativeSelect is fluid",
|
|
7950
|
+
"attribute": "fluid"
|
|
7969
7951
|
},
|
|
7970
7952
|
{
|
|
7971
7953
|
"kind": "field",
|
|
7972
|
-
"name": "
|
|
7954
|
+
"name": "width",
|
|
7973
7955
|
"type": {
|
|
7974
7956
|
"text": "string | undefined"
|
|
7975
7957
|
},
|
|
7976
|
-
"
|
|
7958
|
+
"description": "Specify the width of NativeSelect",
|
|
7959
|
+
"attribute": "width"
|
|
7977
7960
|
},
|
|
7978
7961
|
{
|
|
7979
7962
|
"kind": "field",
|
|
7980
|
-
"name": "
|
|
7963
|
+
"name": "ellipse",
|
|
7981
7964
|
"type": {
|
|
7982
|
-
"text": "
|
|
7983
|
-
}
|
|
7965
|
+
"text": "boolean"
|
|
7966
|
+
},
|
|
7967
|
+
"default": "true",
|
|
7968
|
+
"description": "Specify if overflow displays ellipsis",
|
|
7969
|
+
"attribute": "ellipse"
|
|
7984
7970
|
},
|
|
7985
7971
|
{
|
|
7986
|
-
"kind": "
|
|
7987
|
-
"name": "
|
|
7988
|
-
"
|
|
7989
|
-
"
|
|
7990
|
-
|
|
7991
|
-
|
|
7992
|
-
|
|
7972
|
+
"kind": "field",
|
|
7973
|
+
"name": "hideRequiredMarker",
|
|
7974
|
+
"type": {
|
|
7975
|
+
"text": "boolean"
|
|
7976
|
+
},
|
|
7977
|
+
"default": "false",
|
|
7978
|
+
"description": "Specify if the NativeSelect displays with an asterisk",
|
|
7979
|
+
"attribute": "hideRequiredMarker"
|
|
7993
7980
|
},
|
|
7994
7981
|
{
|
|
7995
|
-
"kind": "
|
|
7996
|
-
"name": "
|
|
7997
|
-
"
|
|
7998
|
-
"
|
|
7999
|
-
|
|
8000
|
-
|
|
8001
|
-
|
|
7982
|
+
"kind": "field",
|
|
7983
|
+
"name": "theme",
|
|
7984
|
+
"type": {
|
|
7985
|
+
"text": "'light' | 'dark' | undefined"
|
|
7986
|
+
},
|
|
7987
|
+
"description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
|
|
7988
|
+
"attribute": "theme"
|
|
8002
7989
|
},
|
|
8003
7990
|
{
|
|
8004
7991
|
"kind": "method",
|
|
@@ -8010,466 +7997,436 @@
|
|
|
8010
7997
|
},
|
|
8011
7998
|
"parameters": [
|
|
8012
7999
|
{
|
|
8013
|
-
"name": "
|
|
8000
|
+
"name": "value",
|
|
8014
8001
|
"type": {
|
|
8015
8002
|
"text": "string"
|
|
8016
8003
|
}
|
|
8017
8004
|
}
|
|
8018
|
-
]
|
|
8019
|
-
|
|
8020
|
-
|
|
8021
|
-
|
|
8005
|
+
],
|
|
8006
|
+
"inheritedFrom": {
|
|
8007
|
+
"name": "FormField",
|
|
8008
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8009
|
+
}
|
|
8010
|
+
},
|
|
8011
|
+
{
|
|
8012
|
+
"kind": "field",
|
|
8013
|
+
"name": "formAssociated",
|
|
8014
|
+
"type": {
|
|
8015
|
+
"text": "boolean"
|
|
8016
|
+
},
|
|
8017
|
+
"static": true,
|
|
8018
|
+
"default": "true",
|
|
8019
|
+
"inheritedFrom": {
|
|
8020
|
+
"name": "FormField",
|
|
8021
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8022
|
+
}
|
|
8023
|
+
},
|
|
8022
8024
|
{
|
|
8025
|
+
"kind": "field",
|
|
8023
8026
|
"name": "id",
|
|
8024
8027
|
"type": {
|
|
8025
8028
|
"text": "string"
|
|
8026
8029
|
},
|
|
8027
8030
|
"default": "''",
|
|
8028
|
-
"
|
|
8031
|
+
"attribute": "id",
|
|
8032
|
+
"inheritedFrom": {
|
|
8033
|
+
"name": "FormField",
|
|
8034
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8035
|
+
}
|
|
8029
8036
|
},
|
|
8030
8037
|
{
|
|
8038
|
+
"kind": "field",
|
|
8031
8039
|
"name": "name",
|
|
8032
8040
|
"type": {
|
|
8033
8041
|
"text": "string"
|
|
8034
8042
|
},
|
|
8035
8043
|
"default": "''",
|
|
8036
|
-
"
|
|
8044
|
+
"attribute": "name",
|
|
8045
|
+
"inheritedFrom": {
|
|
8046
|
+
"name": "FormField",
|
|
8047
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8048
|
+
}
|
|
8037
8049
|
},
|
|
8038
8050
|
{
|
|
8051
|
+
"kind": "field",
|
|
8039
8052
|
"name": "value",
|
|
8040
8053
|
"type": {
|
|
8041
8054
|
"text": "string"
|
|
8042
8055
|
},
|
|
8043
8056
|
"default": "''",
|
|
8044
|
-
"
|
|
8057
|
+
"attribute": "value",
|
|
8058
|
+
"inheritedFrom": {
|
|
8059
|
+
"name": "FormField",
|
|
8060
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8061
|
+
}
|
|
8045
8062
|
},
|
|
8046
8063
|
{
|
|
8064
|
+
"kind": "field",
|
|
8047
8065
|
"name": "validationRules",
|
|
8048
8066
|
"type": {
|
|
8049
8067
|
"text": "Array<FormValidator>"
|
|
8050
8068
|
},
|
|
8051
8069
|
"default": "[]",
|
|
8052
|
-
"
|
|
8070
|
+
"attribute": "validationRules",
|
|
8071
|
+
"inheritedFrom": {
|
|
8072
|
+
"name": "FormField",
|
|
8073
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8074
|
+
}
|
|
8053
8075
|
},
|
|
8054
8076
|
{
|
|
8055
|
-
"
|
|
8077
|
+
"kind": "field",
|
|
8078
|
+
"name": "inputAriaLabel",
|
|
8056
8079
|
"type": {
|
|
8057
8080
|
"text": "string | undefined"
|
|
8058
8081
|
},
|
|
8059
|
-
"
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
},
|
|
8066
|
-
"customElement": true
|
|
8067
|
-
}
|
|
8068
|
-
],
|
|
8069
|
-
"exports": [
|
|
8070
|
-
{
|
|
8071
|
-
"kind": "js",
|
|
8072
|
-
"name": "FormField",
|
|
8073
|
-
"declaration": {
|
|
8074
|
-
"name": "FormField",
|
|
8075
|
-
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8076
|
-
}
|
|
8077
|
-
}
|
|
8078
|
-
]
|
|
8079
|
-
},
|
|
8080
|
-
{
|
|
8081
|
-
"kind": "javascript-module",
|
|
8082
|
-
"path": "libs/web-components/src/lib/wip/Form/Form.ts",
|
|
8083
|
-
"declarations": [
|
|
8084
|
-
{
|
|
8085
|
-
"kind": "class",
|
|
8086
|
-
"description": "### Attributes:\n- **validationMode** - Specify if validation runs on change or when loosing focus\n- **initialValues** - Specify initial values on Form controls based on their names\n- **required** - Specify if input is a required\n- **disabled** - Specify if input is a disabled\n- **readOnly** - Specify if input is a read only\n- **action** \n- **method** \n- **target** \n- **enctype** ",
|
|
8087
|
-
"name": "BmForm",
|
|
8088
|
-
"slots": [
|
|
8089
|
-
{
|
|
8090
|
-
"description": "Add controls to the Form",
|
|
8091
|
-
"name": "slot"
|
|
8092
|
-
}
|
|
8093
|
-
],
|
|
8094
|
-
"members": [
|
|
8082
|
+
"attribute": "input-aria-label",
|
|
8083
|
+
"inheritedFrom": {
|
|
8084
|
+
"name": "FormField",
|
|
8085
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8086
|
+
}
|
|
8087
|
+
},
|
|
8095
8088
|
{
|
|
8096
8089
|
"kind": "field",
|
|
8097
|
-
"name": "
|
|
8090
|
+
"name": "formContext",
|
|
8098
8091
|
"type": {
|
|
8099
|
-
"text": "
|
|
8092
|
+
"text": "BmFormContext"
|
|
8100
8093
|
},
|
|
8101
|
-
"
|
|
8102
|
-
|
|
8103
|
-
|
|
8094
|
+
"inheritedFrom": {
|
|
8095
|
+
"name": "FormField",
|
|
8096
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8097
|
+
}
|
|
8104
8098
|
},
|
|
8105
8099
|
{
|
|
8106
|
-
"kind": "
|
|
8107
|
-
"name": "
|
|
8108
|
-
"
|
|
8109
|
-
"
|
|
8100
|
+
"kind": "method",
|
|
8101
|
+
"name": "formAssociatedCallback",
|
|
8102
|
+
"return": {
|
|
8103
|
+
"type": {
|
|
8104
|
+
"text": "void"
|
|
8105
|
+
}
|
|
8110
8106
|
},
|
|
8111
|
-
"
|
|
8112
|
-
|
|
8113
|
-
|
|
8107
|
+
"inheritedFrom": {
|
|
8108
|
+
"name": "FormField",
|
|
8109
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8110
|
+
}
|
|
8114
8111
|
},
|
|
8115
8112
|
{
|
|
8116
|
-
"kind": "
|
|
8113
|
+
"kind": "method",
|
|
8114
|
+
"name": "formResetCallback",
|
|
8115
|
+
"return": {
|
|
8116
|
+
"type": {
|
|
8117
|
+
"text": "void"
|
|
8118
|
+
}
|
|
8119
|
+
},
|
|
8120
|
+
"inheritedFrom": {
|
|
8121
|
+
"name": "FormField",
|
|
8122
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8123
|
+
}
|
|
8124
|
+
}
|
|
8125
|
+
],
|
|
8126
|
+
"attributes": [
|
|
8127
|
+
{
|
|
8117
8128
|
"name": "required",
|
|
8118
8129
|
"type": {
|
|
8119
8130
|
"text": "boolean"
|
|
8120
8131
|
},
|
|
8121
8132
|
"default": "false",
|
|
8122
|
-
"description": "Specify if
|
|
8123
|
-
"
|
|
8133
|
+
"description": "Specify if NativeSelect is a required input",
|
|
8134
|
+
"fieldName": "required"
|
|
8124
8135
|
},
|
|
8125
8136
|
{
|
|
8126
|
-
"
|
|
8127
|
-
"name": "disabled",
|
|
8137
|
+
"name": "readOnly",
|
|
8128
8138
|
"type": {
|
|
8129
8139
|
"text": "boolean"
|
|
8130
8140
|
},
|
|
8131
8141
|
"default": "false",
|
|
8132
|
-
"description": "Specify if
|
|
8133
|
-
"
|
|
8142
|
+
"description": "Specify if NativeSelect displays in a read-only state",
|
|
8143
|
+
"fieldName": "readOnly"
|
|
8134
8144
|
},
|
|
8135
8145
|
{
|
|
8136
|
-
"
|
|
8137
|
-
"name": "readOnly",
|
|
8146
|
+
"name": "disabled",
|
|
8138
8147
|
"type": {
|
|
8139
8148
|
"text": "boolean"
|
|
8140
8149
|
},
|
|
8141
8150
|
"default": "false",
|
|
8142
|
-
"description": "Specify if
|
|
8143
|
-
"
|
|
8151
|
+
"description": "Specify if NativeSelect displays in a disabled state",
|
|
8152
|
+
"fieldName": "disabled"
|
|
8144
8153
|
},
|
|
8145
8154
|
{
|
|
8146
|
-
"
|
|
8147
|
-
"name": "action",
|
|
8155
|
+
"name": "error",
|
|
8148
8156
|
"type": {
|
|
8149
8157
|
"text": "string | undefined"
|
|
8150
8158
|
},
|
|
8151
|
-
"
|
|
8159
|
+
"description": "Specify error text and display error state of a NativeSelect",
|
|
8160
|
+
"fieldName": "error"
|
|
8152
8161
|
},
|
|
8153
8162
|
{
|
|
8154
|
-
"
|
|
8155
|
-
"name": "method",
|
|
8163
|
+
"name": "fluid",
|
|
8156
8164
|
"type": {
|
|
8157
|
-
"text": "
|
|
8165
|
+
"text": "boolean"
|
|
8158
8166
|
},
|
|
8159
|
-
"
|
|
8167
|
+
"default": "false",
|
|
8168
|
+
"description": "Specify if NativeSelect is fluid",
|
|
8169
|
+
"fieldName": "fluid"
|
|
8160
8170
|
},
|
|
8161
8171
|
{
|
|
8162
|
-
"
|
|
8163
|
-
"name": "target",
|
|
8172
|
+
"name": "width",
|
|
8164
8173
|
"type": {
|
|
8165
8174
|
"text": "string | undefined"
|
|
8166
8175
|
},
|
|
8167
|
-
"
|
|
8176
|
+
"description": "Specify the width of NativeSelect",
|
|
8177
|
+
"fieldName": "width"
|
|
8168
8178
|
},
|
|
8169
8179
|
{
|
|
8170
|
-
"
|
|
8171
|
-
"name": "enctype",
|
|
8180
|
+
"name": "ellipse",
|
|
8172
8181
|
"type": {
|
|
8173
|
-
"text": "
|
|
8182
|
+
"text": "boolean"
|
|
8174
8183
|
},
|
|
8175
|
-
"
|
|
8184
|
+
"default": "true",
|
|
8185
|
+
"description": "Specify if overflow displays ellipsis",
|
|
8186
|
+
"fieldName": "ellipse"
|
|
8176
8187
|
},
|
|
8177
8188
|
{
|
|
8178
|
-
"
|
|
8179
|
-
"name": "formMeta",
|
|
8189
|
+
"name": "hideRequiredMarker",
|
|
8180
8190
|
"type": {
|
|
8181
|
-
"text": "
|
|
8191
|
+
"text": "boolean"
|
|
8182
8192
|
},
|
|
8183
|
-
"default": "
|
|
8193
|
+
"default": "false",
|
|
8194
|
+
"description": "Specify if the NativeSelect displays with an asterisk",
|
|
8195
|
+
"fieldName": "hideRequiredMarker"
|
|
8184
8196
|
},
|
|
8185
8197
|
{
|
|
8186
|
-
"
|
|
8187
|
-
"
|
|
8198
|
+
"name": "theme",
|
|
8199
|
+
"type": {
|
|
8200
|
+
"text": "'light' | 'dark' | undefined"
|
|
8201
|
+
},
|
|
8202
|
+
"description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
|
|
8203
|
+
"fieldName": "theme"
|
|
8188
8204
|
},
|
|
8189
8205
|
{
|
|
8190
|
-
"
|
|
8191
|
-
"name": "formContext",
|
|
8206
|
+
"name": "id",
|
|
8192
8207
|
"type": {
|
|
8193
|
-
"text": "
|
|
8208
|
+
"text": "string"
|
|
8194
8209
|
},
|
|
8195
|
-
"
|
|
8196
|
-
"
|
|
8197
|
-
|
|
8198
|
-
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
-
"name": "submit"
|
|
8203
|
-
}
|
|
8204
|
-
],
|
|
8205
|
-
"attributes": [
|
|
8210
|
+
"default": "''",
|
|
8211
|
+
"fieldName": "id",
|
|
8212
|
+
"inheritedFrom": {
|
|
8213
|
+
"name": "FormField",
|
|
8214
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8215
|
+
}
|
|
8216
|
+
},
|
|
8206
8217
|
{
|
|
8207
|
-
"name": "
|
|
8218
|
+
"name": "name",
|
|
8208
8219
|
"type": {
|
|
8209
|
-
"text": "
|
|
8220
|
+
"text": "string"
|
|
8210
8221
|
},
|
|
8211
|
-
"default": "'
|
|
8212
|
-
"
|
|
8213
|
-
"
|
|
8222
|
+
"default": "''",
|
|
8223
|
+
"fieldName": "name",
|
|
8224
|
+
"inheritedFrom": {
|
|
8225
|
+
"name": "FormField",
|
|
8226
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8227
|
+
}
|
|
8214
8228
|
},
|
|
8215
8229
|
{
|
|
8216
|
-
"name": "
|
|
8230
|
+
"name": "value",
|
|
8217
8231
|
"type": {
|
|
8218
|
-
"text": "
|
|
8219
|
-
},
|
|
8220
|
-
"default": "{}",
|
|
8221
|
-
"description": "Specify initial values on Form controls based on their names",
|
|
8222
|
-
"fieldName": "initialValues"
|
|
8223
|
-
},
|
|
8224
|
-
{
|
|
8225
|
-
"name": "required",
|
|
8226
|
-
"type": {
|
|
8227
|
-
"text": "boolean"
|
|
8228
|
-
},
|
|
8229
|
-
"default": "false",
|
|
8230
|
-
"description": "Specify if input is a required",
|
|
8231
|
-
"fieldName": "required"
|
|
8232
|
-
},
|
|
8233
|
-
{
|
|
8234
|
-
"name": "disabled",
|
|
8235
|
-
"type": {
|
|
8236
|
-
"text": "boolean"
|
|
8237
|
-
},
|
|
8238
|
-
"default": "false",
|
|
8239
|
-
"description": "Specify if input is a disabled",
|
|
8240
|
-
"fieldName": "disabled"
|
|
8241
|
-
},
|
|
8242
|
-
{
|
|
8243
|
-
"name": "readOnly",
|
|
8244
|
-
"type": {
|
|
8245
|
-
"text": "boolean"
|
|
8246
|
-
},
|
|
8247
|
-
"default": "false",
|
|
8248
|
-
"description": "Specify if input is a read only",
|
|
8249
|
-
"fieldName": "readOnly"
|
|
8250
|
-
},
|
|
8251
|
-
{
|
|
8252
|
-
"name": "action",
|
|
8253
|
-
"type": {
|
|
8254
|
-
"text": "string | undefined"
|
|
8255
|
-
},
|
|
8256
|
-
"fieldName": "action"
|
|
8257
|
-
},
|
|
8258
|
-
{
|
|
8259
|
-
"name": "method",
|
|
8260
|
-
"type": {
|
|
8261
|
-
"text": "string | undefined"
|
|
8232
|
+
"text": "string"
|
|
8262
8233
|
},
|
|
8263
|
-
"
|
|
8234
|
+
"default": "''",
|
|
8235
|
+
"fieldName": "value",
|
|
8236
|
+
"inheritedFrom": {
|
|
8237
|
+
"name": "FormField",
|
|
8238
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8239
|
+
}
|
|
8264
8240
|
},
|
|
8265
8241
|
{
|
|
8266
|
-
"name": "
|
|
8242
|
+
"name": "validationRules",
|
|
8267
8243
|
"type": {
|
|
8268
|
-
"text": "
|
|
8244
|
+
"text": "Array<FormValidator>"
|
|
8269
8245
|
},
|
|
8270
|
-
"
|
|
8246
|
+
"default": "[]",
|
|
8247
|
+
"fieldName": "validationRules",
|
|
8248
|
+
"inheritedFrom": {
|
|
8249
|
+
"name": "FormField",
|
|
8250
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8251
|
+
}
|
|
8271
8252
|
},
|
|
8272
8253
|
{
|
|
8273
|
-
"name": "
|
|
8254
|
+
"name": "input-aria-label",
|
|
8274
8255
|
"type": {
|
|
8275
8256
|
"text": "string | undefined"
|
|
8276
8257
|
},
|
|
8277
|
-
"fieldName": "
|
|
8258
|
+
"fieldName": "inputAriaLabel",
|
|
8259
|
+
"inheritedFrom": {
|
|
8260
|
+
"name": "FormField",
|
|
8261
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8262
|
+
}
|
|
8278
8263
|
}
|
|
8279
8264
|
],
|
|
8280
8265
|
"superclass": {
|
|
8281
|
-
"name": "
|
|
8282
|
-
"
|
|
8266
|
+
"name": "FormField",
|
|
8267
|
+
"module": "/libs/web-components/src/lib/wip/Form/Form.decorator"
|
|
8283
8268
|
},
|
|
8284
|
-
"summary": "`bm-
|
|
8285
|
-
"tagName": "bm-
|
|
8269
|
+
"summary": "`bm-native-select`",
|
|
8270
|
+
"tagName": "bm-native-select",
|
|
8286
8271
|
"customElement": true
|
|
8287
8272
|
}
|
|
8288
8273
|
],
|
|
8289
8274
|
"exports": [
|
|
8290
8275
|
{
|
|
8291
8276
|
"kind": "js",
|
|
8292
|
-
"name": "
|
|
8293
|
-
"declaration": {
|
|
8294
|
-
"name": "validators",
|
|
8295
|
-
"package": "@viasat/beam-shared/components/form"
|
|
8296
|
-
}
|
|
8297
|
-
},
|
|
8298
|
-
{
|
|
8299
|
-
"kind": "js",
|
|
8300
|
-
"name": "BmForm",
|
|
8277
|
+
"name": "BmNativeSelect",
|
|
8301
8278
|
"declaration": {
|
|
8302
|
-
"name": "
|
|
8303
|
-
"module": "libs/web-components/src/lib/wip/
|
|
8279
|
+
"name": "BmNativeSelect",
|
|
8280
|
+
"module": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts"
|
|
8304
8281
|
}
|
|
8305
8282
|
},
|
|
8306
8283
|
{
|
|
8307
8284
|
"kind": "custom-element-definition",
|
|
8308
|
-
"name": "bm-
|
|
8285
|
+
"name": "bm-native-select",
|
|
8309
8286
|
"declaration": {
|
|
8310
|
-
"name": "
|
|
8311
|
-
"module": "libs/web-components/src/lib/wip/
|
|
8287
|
+
"name": "BmNativeSelect",
|
|
8288
|
+
"module": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts"
|
|
8312
8289
|
}
|
|
8313
8290
|
}
|
|
8314
8291
|
]
|
|
8315
8292
|
},
|
|
8316
8293
|
{
|
|
8317
8294
|
"kind": "javascript-module",
|
|
8318
|
-
"path": "libs/web-components/src/lib/wip/
|
|
8319
|
-
"declarations": [
|
|
8320
|
-
{
|
|
8321
|
-
"kind": "function",
|
|
8322
|
-
"name": "createId",
|
|
8323
|
-
"return": {
|
|
8324
|
-
"type": {
|
|
8325
|
-
"text": "string"
|
|
8326
|
-
}
|
|
8327
|
-
}
|
|
8328
|
-
}
|
|
8329
|
-
],
|
|
8295
|
+
"path": "libs/web-components/src/lib/wip/NativeSelect/index.ts",
|
|
8296
|
+
"declarations": [],
|
|
8330
8297
|
"exports": [
|
|
8331
8298
|
{
|
|
8332
8299
|
"kind": "js",
|
|
8333
|
-
"name": "
|
|
8300
|
+
"name": "*",
|
|
8334
8301
|
"declaration": {
|
|
8335
|
-
"name": "
|
|
8336
|
-
"
|
|
8302
|
+
"name": "*",
|
|
8303
|
+
"package": "./NativeSelect"
|
|
8337
8304
|
}
|
|
8338
8305
|
}
|
|
8339
8306
|
]
|
|
8340
8307
|
},
|
|
8341
8308
|
{
|
|
8342
8309
|
"kind": "javascript-module",
|
|
8343
|
-
"path": "libs/web-components/src/lib/wip/Form/
|
|
8344
|
-
"declarations": [
|
|
8310
|
+
"path": "libs/web-components/src/lib/wip/Form/Form.context.ts",
|
|
8311
|
+
"declarations": [
|
|
8312
|
+
{
|
|
8313
|
+
"kind": "variable",
|
|
8314
|
+
"name": "bmFormInitials",
|
|
8315
|
+
"type": {
|
|
8316
|
+
"text": "BmFormContext"
|
|
8317
|
+
},
|
|
8318
|
+
"default": "{ required: false, disabled: false, readOnly: false, initialValues: {}, registerField: () => undefined, formBlurHandler: () => undefined, formChangeHandler: () => undefined, }"
|
|
8319
|
+
},
|
|
8320
|
+
{
|
|
8321
|
+
"kind": "variable",
|
|
8322
|
+
"name": "bmFormContext"
|
|
8323
|
+
}
|
|
8324
|
+
],
|
|
8345
8325
|
"exports": [
|
|
8346
8326
|
{
|
|
8347
8327
|
"kind": "js",
|
|
8348
|
-
"name": "
|
|
8328
|
+
"name": "bmFormInitials",
|
|
8349
8329
|
"declaration": {
|
|
8350
|
-
"name": "
|
|
8351
|
-
"
|
|
8330
|
+
"name": "bmFormInitials",
|
|
8331
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
|
|
8352
8332
|
}
|
|
8353
8333
|
},
|
|
8354
8334
|
{
|
|
8355
8335
|
"kind": "js",
|
|
8356
|
-
"name": "
|
|
8336
|
+
"name": "bmFormContext",
|
|
8357
8337
|
"declaration": {
|
|
8358
|
-
"name": "
|
|
8359
|
-
"
|
|
8338
|
+
"name": "bmFormContext",
|
|
8339
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
|
|
8360
8340
|
}
|
|
8361
8341
|
}
|
|
8362
8342
|
]
|
|
8363
8343
|
},
|
|
8364
8344
|
{
|
|
8365
8345
|
"kind": "javascript-module",
|
|
8366
|
-
"path": "libs/web-components/src/lib/wip/
|
|
8346
|
+
"path": "libs/web-components/src/lib/wip/Form/Form.decorator.ts",
|
|
8367
8347
|
"declarations": [
|
|
8368
8348
|
{
|
|
8369
8349
|
"kind": "class",
|
|
8370
|
-
"description": "### Attributes:\n- **
|
|
8371
|
-
"name": "
|
|
8372
|
-
"slots": [
|
|
8373
|
-
{
|
|
8374
|
-
"description": "Specify Options for NativeSelect",
|
|
8375
|
-
"name": "slot"
|
|
8376
|
-
},
|
|
8377
|
-
{
|
|
8378
|
-
"description": "Specify Label for NativeSelect",
|
|
8379
|
-
"name": "label"
|
|
8380
|
-
},
|
|
8381
|
-
{
|
|
8382
|
-
"description": "Specify HelperText for NativeSelect",
|
|
8383
|
-
"name": "helper-text"
|
|
8384
|
-
}
|
|
8385
|
-
],
|
|
8350
|
+
"description": "### Attributes:\n- **id** \n- **name** \n- **value** \n- **validationRules** \n- **input-aria-label** ",
|
|
8351
|
+
"name": "FormField",
|
|
8386
8352
|
"members": [
|
|
8387
8353
|
{
|
|
8388
8354
|
"kind": "field",
|
|
8389
|
-
"name": "
|
|
8355
|
+
"name": "formAssociated",
|
|
8390
8356
|
"type": {
|
|
8391
8357
|
"text": "boolean"
|
|
8392
8358
|
},
|
|
8393
|
-
"
|
|
8394
|
-
"
|
|
8395
|
-
"attribute": "required"
|
|
8359
|
+
"static": true,
|
|
8360
|
+
"default": "true"
|
|
8396
8361
|
},
|
|
8397
8362
|
{
|
|
8398
8363
|
"kind": "field",
|
|
8399
|
-
"name": "
|
|
8364
|
+
"name": "id",
|
|
8400
8365
|
"type": {
|
|
8401
|
-
"text": "
|
|
8366
|
+
"text": "string"
|
|
8402
8367
|
},
|
|
8403
|
-
"default": "
|
|
8404
|
-
"
|
|
8405
|
-
"attribute": "readOnly"
|
|
8368
|
+
"default": "''",
|
|
8369
|
+
"attribute": "id"
|
|
8406
8370
|
},
|
|
8407
8371
|
{
|
|
8408
8372
|
"kind": "field",
|
|
8409
|
-
"name": "
|
|
8373
|
+
"name": "name",
|
|
8410
8374
|
"type": {
|
|
8411
|
-
"text": "
|
|
8375
|
+
"text": "string"
|
|
8412
8376
|
},
|
|
8413
|
-
"default": "
|
|
8414
|
-
"
|
|
8415
|
-
"attribute": "disabled"
|
|
8377
|
+
"default": "''",
|
|
8378
|
+
"attribute": "name"
|
|
8416
8379
|
},
|
|
8417
8380
|
{
|
|
8418
8381
|
"kind": "field",
|
|
8419
|
-
"name": "
|
|
8382
|
+
"name": "value",
|
|
8420
8383
|
"type": {
|
|
8421
|
-
"text": "string
|
|
8384
|
+
"text": "string"
|
|
8422
8385
|
},
|
|
8423
|
-
"
|
|
8424
|
-
"attribute": "
|
|
8386
|
+
"default": "''",
|
|
8387
|
+
"attribute": "value"
|
|
8425
8388
|
},
|
|
8426
8389
|
{
|
|
8427
8390
|
"kind": "field",
|
|
8428
|
-
"name": "
|
|
8391
|
+
"name": "validationRules",
|
|
8429
8392
|
"type": {
|
|
8430
|
-
"text": "
|
|
8393
|
+
"text": "Array<FormValidator>"
|
|
8431
8394
|
},
|
|
8432
|
-
"default": "
|
|
8433
|
-
"
|
|
8434
|
-
"attribute": "fluid"
|
|
8395
|
+
"default": "[]",
|
|
8396
|
+
"attribute": "validationRules"
|
|
8435
8397
|
},
|
|
8436
8398
|
{
|
|
8437
8399
|
"kind": "field",
|
|
8438
|
-
"name": "
|
|
8400
|
+
"name": "inputAriaLabel",
|
|
8439
8401
|
"type": {
|
|
8440
8402
|
"text": "string | undefined"
|
|
8441
8403
|
},
|
|
8442
|
-
"
|
|
8443
|
-
"attribute": "width"
|
|
8404
|
+
"attribute": "input-aria-label"
|
|
8444
8405
|
},
|
|
8445
8406
|
{
|
|
8446
8407
|
"kind": "field",
|
|
8447
|
-
"name": "
|
|
8408
|
+
"name": "formContext",
|
|
8448
8409
|
"type": {
|
|
8449
|
-
"text": "
|
|
8450
|
-
}
|
|
8451
|
-
"default": "true",
|
|
8452
|
-
"description": "Specify if overflow displays ellipsis",
|
|
8453
|
-
"attribute": "ellipse"
|
|
8410
|
+
"text": "BmFormContext"
|
|
8411
|
+
}
|
|
8454
8412
|
},
|
|
8455
8413
|
{
|
|
8456
|
-
"kind": "
|
|
8457
|
-
"name": "
|
|
8458
|
-
"
|
|
8459
|
-
"
|
|
8460
|
-
|
|
8461
|
-
|
|
8462
|
-
|
|
8463
|
-
"attribute": "hideRequiredMarker"
|
|
8414
|
+
"kind": "method",
|
|
8415
|
+
"name": "formAssociatedCallback",
|
|
8416
|
+
"return": {
|
|
8417
|
+
"type": {
|
|
8418
|
+
"text": "void"
|
|
8419
|
+
}
|
|
8420
|
+
}
|
|
8464
8421
|
},
|
|
8465
8422
|
{
|
|
8466
|
-
"kind": "
|
|
8467
|
-
"name": "
|
|
8468
|
-
"
|
|
8469
|
-
"
|
|
8470
|
-
|
|
8471
|
-
|
|
8472
|
-
|
|
8423
|
+
"kind": "method",
|
|
8424
|
+
"name": "formResetCallback",
|
|
8425
|
+
"return": {
|
|
8426
|
+
"type": {
|
|
8427
|
+
"text": "void"
|
|
8428
|
+
}
|
|
8429
|
+
}
|
|
8473
8430
|
},
|
|
8474
8431
|
{
|
|
8475
8432
|
"kind": "method",
|
|
@@ -8481,302 +8438,337 @@
|
|
|
8481
8438
|
},
|
|
8482
8439
|
"parameters": [
|
|
8483
8440
|
{
|
|
8484
|
-
"name": "
|
|
8441
|
+
"name": "ctxValue",
|
|
8485
8442
|
"type": {
|
|
8486
8443
|
"text": "string"
|
|
8487
8444
|
}
|
|
8488
8445
|
}
|
|
8489
|
-
]
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
}
|
|
8494
|
-
},
|
|
8495
|
-
{
|
|
8496
|
-
"kind": "field",
|
|
8497
|
-
"name": "formAssociated",
|
|
8498
|
-
"type": {
|
|
8499
|
-
"text": "boolean"
|
|
8500
|
-
},
|
|
8501
|
-
"static": true,
|
|
8502
|
-
"default": "true",
|
|
8503
|
-
"inheritedFrom": {
|
|
8504
|
-
"name": "FormField",
|
|
8505
|
-
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8506
|
-
}
|
|
8507
|
-
},
|
|
8446
|
+
]
|
|
8447
|
+
}
|
|
8448
|
+
],
|
|
8449
|
+
"attributes": [
|
|
8508
8450
|
{
|
|
8509
|
-
"kind": "field",
|
|
8510
8451
|
"name": "id",
|
|
8511
8452
|
"type": {
|
|
8512
8453
|
"text": "string"
|
|
8513
8454
|
},
|
|
8514
8455
|
"default": "''",
|
|
8515
|
-
"
|
|
8516
|
-
"inheritedFrom": {
|
|
8517
|
-
"name": "FormField",
|
|
8518
|
-
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8519
|
-
}
|
|
8456
|
+
"fieldName": "id"
|
|
8520
8457
|
},
|
|
8521
8458
|
{
|
|
8522
|
-
"kind": "field",
|
|
8523
8459
|
"name": "name",
|
|
8524
8460
|
"type": {
|
|
8525
8461
|
"text": "string"
|
|
8526
8462
|
},
|
|
8527
8463
|
"default": "''",
|
|
8528
|
-
"
|
|
8529
|
-
"inheritedFrom": {
|
|
8530
|
-
"name": "FormField",
|
|
8531
|
-
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8532
|
-
}
|
|
8464
|
+
"fieldName": "name"
|
|
8533
8465
|
},
|
|
8534
8466
|
{
|
|
8535
|
-
"kind": "field",
|
|
8536
8467
|
"name": "value",
|
|
8537
8468
|
"type": {
|
|
8538
8469
|
"text": "string"
|
|
8539
8470
|
},
|
|
8540
8471
|
"default": "''",
|
|
8541
|
-
"
|
|
8542
|
-
"inheritedFrom": {
|
|
8543
|
-
"name": "FormField",
|
|
8544
|
-
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8545
|
-
}
|
|
8472
|
+
"fieldName": "value"
|
|
8546
8473
|
},
|
|
8547
8474
|
{
|
|
8548
|
-
"kind": "field",
|
|
8549
8475
|
"name": "validationRules",
|
|
8550
8476
|
"type": {
|
|
8551
8477
|
"text": "Array<FormValidator>"
|
|
8552
8478
|
},
|
|
8553
8479
|
"default": "[]",
|
|
8554
|
-
"
|
|
8555
|
-
"inheritedFrom": {
|
|
8556
|
-
"name": "FormField",
|
|
8557
|
-
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8558
|
-
}
|
|
8480
|
+
"fieldName": "validationRules"
|
|
8559
8481
|
},
|
|
8560
8482
|
{
|
|
8561
|
-
"
|
|
8562
|
-
"name": "inputAriaLabel",
|
|
8483
|
+
"name": "input-aria-label",
|
|
8563
8484
|
"type": {
|
|
8564
8485
|
"text": "string | undefined"
|
|
8565
8486
|
},
|
|
8566
|
-
"
|
|
8567
|
-
|
|
8568
|
-
|
|
8569
|
-
|
|
8570
|
-
|
|
8571
|
-
|
|
8487
|
+
"fieldName": "inputAriaLabel"
|
|
8488
|
+
}
|
|
8489
|
+
],
|
|
8490
|
+
"superclass": {
|
|
8491
|
+
"name": "LitElement",
|
|
8492
|
+
"package": "lit"
|
|
8493
|
+
},
|
|
8494
|
+
"customElement": true
|
|
8495
|
+
}
|
|
8496
|
+
],
|
|
8497
|
+
"exports": [
|
|
8498
|
+
{
|
|
8499
|
+
"kind": "js",
|
|
8500
|
+
"name": "FormField",
|
|
8501
|
+
"declaration": {
|
|
8502
|
+
"name": "FormField",
|
|
8503
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8504
|
+
}
|
|
8505
|
+
}
|
|
8506
|
+
]
|
|
8507
|
+
},
|
|
8508
|
+
{
|
|
8509
|
+
"kind": "javascript-module",
|
|
8510
|
+
"path": "libs/web-components/src/lib/wip/Form/Form.ts",
|
|
8511
|
+
"declarations": [
|
|
8512
|
+
{
|
|
8513
|
+
"kind": "class",
|
|
8514
|
+
"description": "### Attributes:\n- **validationMode** - Specify if validation runs on change or when loosing focus\n- **initialValues** - Specify initial values on Form controls based on their names\n- **required** - Specify if input is a required\n- **disabled** - Specify if input is a disabled\n- **readOnly** - Specify if input is a read only\n- **action** \n- **method** \n- **target** \n- **enctype** ",
|
|
8515
|
+
"name": "BmForm",
|
|
8516
|
+
"slots": [
|
|
8517
|
+
{
|
|
8518
|
+
"description": "Add controls to the Form",
|
|
8519
|
+
"name": "slot"
|
|
8520
|
+
}
|
|
8521
|
+
],
|
|
8522
|
+
"members": [
|
|
8572
8523
|
{
|
|
8573
8524
|
"kind": "field",
|
|
8574
|
-
"name": "
|
|
8525
|
+
"name": "validationMode",
|
|
8575
8526
|
"type": {
|
|
8576
|
-
"text": "
|
|
8527
|
+
"text": "'onChange' | 'onBlur' | 'onSubmit'"
|
|
8577
8528
|
},
|
|
8578
|
-
"
|
|
8579
|
-
|
|
8580
|
-
|
|
8581
|
-
}
|
|
8529
|
+
"default": "'onBlur'",
|
|
8530
|
+
"description": "Specify if validation runs on change or when loosing focus",
|
|
8531
|
+
"attribute": "validationMode"
|
|
8582
8532
|
},
|
|
8583
8533
|
{
|
|
8584
|
-
"kind": "
|
|
8585
|
-
"name": "
|
|
8586
|
-
"
|
|
8587
|
-
"
|
|
8588
|
-
"text": "void"
|
|
8589
|
-
}
|
|
8534
|
+
"kind": "field",
|
|
8535
|
+
"name": "initialValues",
|
|
8536
|
+
"type": {
|
|
8537
|
+
"text": "Record<string, FormValue>"
|
|
8590
8538
|
},
|
|
8591
|
-
"
|
|
8592
|
-
|
|
8593
|
-
|
|
8594
|
-
}
|
|
8539
|
+
"default": "{}",
|
|
8540
|
+
"description": "Specify initial values on Form controls based on their names",
|
|
8541
|
+
"attribute": "initialValues"
|
|
8595
8542
|
},
|
|
8596
8543
|
{
|
|
8597
|
-
"kind": "
|
|
8598
|
-
"name": "formResetCallback",
|
|
8599
|
-
"return": {
|
|
8600
|
-
"type": {
|
|
8601
|
-
"text": "void"
|
|
8602
|
-
}
|
|
8603
|
-
},
|
|
8604
|
-
"inheritedFrom": {
|
|
8605
|
-
"name": "FormField",
|
|
8606
|
-
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8607
|
-
}
|
|
8608
|
-
}
|
|
8609
|
-
],
|
|
8610
|
-
"attributes": [
|
|
8611
|
-
{
|
|
8544
|
+
"kind": "field",
|
|
8612
8545
|
"name": "required",
|
|
8613
8546
|
"type": {
|
|
8614
8547
|
"text": "boolean"
|
|
8615
8548
|
},
|
|
8616
8549
|
"default": "false",
|
|
8617
|
-
"description": "Specify if
|
|
8618
|
-
"
|
|
8550
|
+
"description": "Specify if input is a required",
|
|
8551
|
+
"attribute": "required"
|
|
8619
8552
|
},
|
|
8620
8553
|
{
|
|
8621
|
-
"
|
|
8554
|
+
"kind": "field",
|
|
8555
|
+
"name": "disabled",
|
|
8622
8556
|
"type": {
|
|
8623
8557
|
"text": "boolean"
|
|
8624
8558
|
},
|
|
8625
8559
|
"default": "false",
|
|
8626
|
-
"description": "Specify if
|
|
8627
|
-
"
|
|
8560
|
+
"description": "Specify if input is a disabled",
|
|
8561
|
+
"attribute": "disabled"
|
|
8628
8562
|
},
|
|
8629
8563
|
{
|
|
8630
|
-
"
|
|
8564
|
+
"kind": "field",
|
|
8565
|
+
"name": "readOnly",
|
|
8631
8566
|
"type": {
|
|
8632
8567
|
"text": "boolean"
|
|
8633
8568
|
},
|
|
8634
8569
|
"default": "false",
|
|
8635
|
-
"description": "Specify if
|
|
8636
|
-
"
|
|
8570
|
+
"description": "Specify if input is a read only",
|
|
8571
|
+
"attribute": "readOnly"
|
|
8637
8572
|
},
|
|
8638
8573
|
{
|
|
8639
|
-
"
|
|
8574
|
+
"kind": "field",
|
|
8575
|
+
"name": "action",
|
|
8640
8576
|
"type": {
|
|
8641
8577
|
"text": "string | undefined"
|
|
8642
8578
|
},
|
|
8643
|
-
"
|
|
8644
|
-
"fieldName": "error"
|
|
8579
|
+
"attribute": "action"
|
|
8645
8580
|
},
|
|
8646
8581
|
{
|
|
8647
|
-
"
|
|
8582
|
+
"kind": "field",
|
|
8583
|
+
"name": "method",
|
|
8648
8584
|
"type": {
|
|
8649
|
-
"text": "
|
|
8585
|
+
"text": "string | undefined"
|
|
8650
8586
|
},
|
|
8651
|
-
"
|
|
8652
|
-
"description": "Specify if NativeSelect is fluid",
|
|
8653
|
-
"fieldName": "fluid"
|
|
8587
|
+
"attribute": "method"
|
|
8654
8588
|
},
|
|
8655
8589
|
{
|
|
8656
|
-
"
|
|
8590
|
+
"kind": "field",
|
|
8591
|
+
"name": "target",
|
|
8657
8592
|
"type": {
|
|
8658
8593
|
"text": "string | undefined"
|
|
8659
8594
|
},
|
|
8660
|
-
"
|
|
8661
|
-
"fieldName": "width"
|
|
8595
|
+
"attribute": "target"
|
|
8662
8596
|
},
|
|
8663
8597
|
{
|
|
8664
|
-
"
|
|
8598
|
+
"kind": "field",
|
|
8599
|
+
"name": "enctype",
|
|
8665
8600
|
"type": {
|
|
8666
|
-
"text": "
|
|
8601
|
+
"text": "string | undefined"
|
|
8667
8602
|
},
|
|
8668
|
-
"
|
|
8669
|
-
"description": "Specify if overflow displays ellipsis",
|
|
8670
|
-
"fieldName": "ellipse"
|
|
8603
|
+
"attribute": "enctype"
|
|
8671
8604
|
},
|
|
8672
8605
|
{
|
|
8673
|
-
"
|
|
8606
|
+
"kind": "field",
|
|
8607
|
+
"name": "formMeta",
|
|
8608
|
+
"type": {
|
|
8609
|
+
"text": "Record<string, FieldMeta>"
|
|
8610
|
+
},
|
|
8611
|
+
"default": "{}"
|
|
8612
|
+
},
|
|
8613
|
+
{
|
|
8614
|
+
"kind": "field",
|
|
8615
|
+
"name": "formRef"
|
|
8616
|
+
},
|
|
8617
|
+
{
|
|
8618
|
+
"kind": "field",
|
|
8619
|
+
"name": "formContext",
|
|
8620
|
+
"type": {
|
|
8621
|
+
"text": "BmFormContext"
|
|
8622
|
+
},
|
|
8623
|
+
"privacy": "public",
|
|
8624
|
+
"default": "bmFormInitials"
|
|
8625
|
+
}
|
|
8626
|
+
],
|
|
8627
|
+
"events": [
|
|
8628
|
+
{
|
|
8629
|
+
"description": "Validates the inputs and submits the form",
|
|
8630
|
+
"name": "submit"
|
|
8631
|
+
}
|
|
8632
|
+
],
|
|
8633
|
+
"attributes": [
|
|
8634
|
+
{
|
|
8635
|
+
"name": "validationMode",
|
|
8636
|
+
"type": {
|
|
8637
|
+
"text": "'onChange' | 'onBlur' | 'onSubmit'"
|
|
8638
|
+
},
|
|
8639
|
+
"default": "'onBlur'",
|
|
8640
|
+
"description": "Specify if validation runs on change or when loosing focus",
|
|
8641
|
+
"fieldName": "validationMode"
|
|
8642
|
+
},
|
|
8643
|
+
{
|
|
8644
|
+
"name": "initialValues",
|
|
8645
|
+
"type": {
|
|
8646
|
+
"text": "Record<string, FormValue>"
|
|
8647
|
+
},
|
|
8648
|
+
"default": "{}",
|
|
8649
|
+
"description": "Specify initial values on Form controls based on their names",
|
|
8650
|
+
"fieldName": "initialValues"
|
|
8651
|
+
},
|
|
8652
|
+
{
|
|
8653
|
+
"name": "required",
|
|
8674
8654
|
"type": {
|
|
8675
8655
|
"text": "boolean"
|
|
8676
8656
|
},
|
|
8677
8657
|
"default": "false",
|
|
8678
|
-
"description": "Specify if
|
|
8679
|
-
"fieldName": "
|
|
8658
|
+
"description": "Specify if input is a required",
|
|
8659
|
+
"fieldName": "required"
|
|
8680
8660
|
},
|
|
8681
8661
|
{
|
|
8682
|
-
"name": "
|
|
8662
|
+
"name": "disabled",
|
|
8683
8663
|
"type": {
|
|
8684
|
-
"text": "
|
|
8664
|
+
"text": "boolean"
|
|
8685
8665
|
},
|
|
8686
|
-
"
|
|
8687
|
-
"
|
|
8666
|
+
"default": "false",
|
|
8667
|
+
"description": "Specify if input is a disabled",
|
|
8668
|
+
"fieldName": "disabled"
|
|
8688
8669
|
},
|
|
8689
8670
|
{
|
|
8690
|
-
"name": "
|
|
8671
|
+
"name": "readOnly",
|
|
8691
8672
|
"type": {
|
|
8692
|
-
"text": "
|
|
8673
|
+
"text": "boolean"
|
|
8693
8674
|
},
|
|
8694
|
-
"default": "
|
|
8695
|
-
"
|
|
8696
|
-
"
|
|
8697
|
-
"name": "FormField",
|
|
8698
|
-
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8699
|
-
}
|
|
8675
|
+
"default": "false",
|
|
8676
|
+
"description": "Specify if input is a read only",
|
|
8677
|
+
"fieldName": "readOnly"
|
|
8700
8678
|
},
|
|
8701
8679
|
{
|
|
8702
|
-
"name": "
|
|
8680
|
+
"name": "action",
|
|
8703
8681
|
"type": {
|
|
8704
|
-
"text": "string"
|
|
8682
|
+
"text": "string | undefined"
|
|
8705
8683
|
},
|
|
8706
|
-
"
|
|
8707
|
-
"fieldName": "name",
|
|
8708
|
-
"inheritedFrom": {
|
|
8709
|
-
"name": "FormField",
|
|
8710
|
-
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8711
|
-
}
|
|
8684
|
+
"fieldName": "action"
|
|
8712
8685
|
},
|
|
8713
8686
|
{
|
|
8714
|
-
"name": "
|
|
8687
|
+
"name": "method",
|
|
8715
8688
|
"type": {
|
|
8716
|
-
"text": "string"
|
|
8689
|
+
"text": "string | undefined"
|
|
8717
8690
|
},
|
|
8718
|
-
"
|
|
8719
|
-
"fieldName": "value",
|
|
8720
|
-
"inheritedFrom": {
|
|
8721
|
-
"name": "FormField",
|
|
8722
|
-
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8723
|
-
}
|
|
8691
|
+
"fieldName": "method"
|
|
8724
8692
|
},
|
|
8725
8693
|
{
|
|
8726
|
-
"name": "
|
|
8694
|
+
"name": "target",
|
|
8727
8695
|
"type": {
|
|
8728
|
-
"text": "
|
|
8696
|
+
"text": "string | undefined"
|
|
8729
8697
|
},
|
|
8730
|
-
"
|
|
8731
|
-
"fieldName": "validationRules",
|
|
8732
|
-
"inheritedFrom": {
|
|
8733
|
-
"name": "FormField",
|
|
8734
|
-
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8735
|
-
}
|
|
8698
|
+
"fieldName": "target"
|
|
8736
8699
|
},
|
|
8737
8700
|
{
|
|
8738
|
-
"name": "
|
|
8701
|
+
"name": "enctype",
|
|
8739
8702
|
"type": {
|
|
8740
8703
|
"text": "string | undefined"
|
|
8741
8704
|
},
|
|
8742
|
-
"fieldName": "
|
|
8743
|
-
"inheritedFrom": {
|
|
8744
|
-
"name": "FormField",
|
|
8745
|
-
"module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
|
|
8746
|
-
}
|
|
8705
|
+
"fieldName": "enctype"
|
|
8747
8706
|
}
|
|
8748
8707
|
],
|
|
8749
8708
|
"superclass": {
|
|
8750
|
-
"name": "
|
|
8751
|
-
"
|
|
8709
|
+
"name": "LitElement",
|
|
8710
|
+
"package": "lit"
|
|
8752
8711
|
},
|
|
8753
|
-
"summary": "`bm-
|
|
8754
|
-
"tagName": "bm-
|
|
8712
|
+
"summary": "`bm-form`",
|
|
8713
|
+
"tagName": "bm-form",
|
|
8755
8714
|
"customElement": true
|
|
8756
8715
|
}
|
|
8757
8716
|
],
|
|
8758
8717
|
"exports": [
|
|
8759
8718
|
{
|
|
8760
8719
|
"kind": "js",
|
|
8761
|
-
"name": "
|
|
8720
|
+
"name": "validators",
|
|
8762
8721
|
"declaration": {
|
|
8763
|
-
"name": "
|
|
8764
|
-
"
|
|
8722
|
+
"name": "validators",
|
|
8723
|
+
"package": "@viasat/beam-shared/components/form"
|
|
8724
|
+
}
|
|
8725
|
+
},
|
|
8726
|
+
{
|
|
8727
|
+
"kind": "js",
|
|
8728
|
+
"name": "BmForm",
|
|
8729
|
+
"declaration": {
|
|
8730
|
+
"name": "BmForm",
|
|
8731
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.ts"
|
|
8765
8732
|
}
|
|
8766
8733
|
},
|
|
8767
8734
|
{
|
|
8768
8735
|
"kind": "custom-element-definition",
|
|
8769
|
-
"name": "bm-
|
|
8736
|
+
"name": "bm-form",
|
|
8770
8737
|
"declaration": {
|
|
8771
|
-
"name": "
|
|
8772
|
-
"module": "libs/web-components/src/lib/wip/
|
|
8738
|
+
"name": "BmForm",
|
|
8739
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.ts"
|
|
8773
8740
|
}
|
|
8774
8741
|
}
|
|
8775
8742
|
]
|
|
8776
8743
|
},
|
|
8777
8744
|
{
|
|
8778
8745
|
"kind": "javascript-module",
|
|
8779
|
-
"path": "libs/web-components/src/lib/wip/
|
|
8746
|
+
"path": "libs/web-components/src/lib/wip/Form/Form.utils.ts",
|
|
8747
|
+
"declarations": [
|
|
8748
|
+
{
|
|
8749
|
+
"kind": "function",
|
|
8750
|
+
"name": "createId",
|
|
8751
|
+
"return": {
|
|
8752
|
+
"type": {
|
|
8753
|
+
"text": "string"
|
|
8754
|
+
}
|
|
8755
|
+
}
|
|
8756
|
+
}
|
|
8757
|
+
],
|
|
8758
|
+
"exports": [
|
|
8759
|
+
{
|
|
8760
|
+
"kind": "js",
|
|
8761
|
+
"name": "createId",
|
|
8762
|
+
"declaration": {
|
|
8763
|
+
"name": "createId",
|
|
8764
|
+
"module": "libs/web-components/src/lib/wip/Form/Form.utils.ts"
|
|
8765
|
+
}
|
|
8766
|
+
}
|
|
8767
|
+
]
|
|
8768
|
+
},
|
|
8769
|
+
{
|
|
8770
|
+
"kind": "javascript-module",
|
|
8771
|
+
"path": "libs/web-components/src/lib/wip/Form/index.ts",
|
|
8780
8772
|
"declarations": [],
|
|
8781
8773
|
"exports": [
|
|
8782
8774
|
{
|
|
@@ -8784,7 +8776,15 @@
|
|
|
8784
8776
|
"name": "*",
|
|
8785
8777
|
"declaration": {
|
|
8786
8778
|
"name": "*",
|
|
8787
|
-
"package": "./
|
|
8779
|
+
"package": "./Form"
|
|
8780
|
+
}
|
|
8781
|
+
},
|
|
8782
|
+
{
|
|
8783
|
+
"kind": "js",
|
|
8784
|
+
"name": "*",
|
|
8785
|
+
"declaration": {
|
|
8786
|
+
"name": "*",
|
|
8787
|
+
"package": "./Form.decorator"
|
|
8788
8788
|
}
|
|
8789
8789
|
}
|
|
8790
8790
|
]
|