scu-web-components 0.0.38 → 0.0.40
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/dist/custom-elements.json +1747 -1747
- package/dist/custom-elements.json.gz +0 -0
- package/dist/docs/components/manifest.json +49 -49
- package/dist/docs/config.json +1 -1
- package/dist/tokens/css.html +2 -2
- package/dist/tokens/css.html.gz +0 -0
- package/dist/tokens/source/cssPropertiesApi.css +247 -215
- package/dist/tokens/source/cssPropertiesApi.css.gz +0 -0
- package/dist/tokens/source/cssPropertiesApi.ts +7 -2
- package/dist/tokens/source/cssPropertiesApiTypedStyles.ts +15 -5
- package/dist/tokens/source/cssPropertiesApiTypedStylesCssType.ts +12 -4
- package/dist/tokens/source/jsCss.js +1 -1
- package/dist/tokens/source/jsCss.js.gz +0 -0
- package/dist/tokens/source/jsCssGenerator.js +1 -1
- package/dist/tokens/source/jsCssGenerator.js.gz +0 -0
- package/dist/tokens/source/jsCssGeneratorSansAssets.js +1 -1
- package/dist/tokens/source/jsCssGeneratorSansAssets.js.gz +0 -0
- package/dist/tokens/tokens.html +2 -2
- package/dist/tokens/tokens.html.gz +0 -0
- package/package.json +2 -2
|
@@ -404,182 +404,122 @@
|
|
|
404
404
|
},
|
|
405
405
|
{
|
|
406
406
|
"kind": "javascript-module",
|
|
407
|
-
"path": "src/scw-
|
|
407
|
+
"path": "src/scw-button/ScwButton.ts",
|
|
408
408
|
"declarations": [
|
|
409
409
|
{
|
|
410
410
|
"kind": "class",
|
|
411
|
-
"description": "
|
|
412
|
-
"name": "
|
|
411
|
+
"description": "ScwButton",
|
|
412
|
+
"name": "ScwButton",
|
|
413
413
|
"slots": [
|
|
414
414
|
{
|
|
415
|
-
"description": "
|
|
416
|
-
"name": "default",
|
|
417
|
-
"default": "\"<img src alt /><h1, h2, h3 /><sup /><p />\""
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
"description": "Adding an anchor will show a link.",
|
|
415
|
+
"description": "(OPTIONAL) anchor (for SEO) will determine the label, href, and target.",
|
|
421
416
|
"name": "default",
|
|
422
|
-
"default": "\"<
|
|
417
|
+
"default": "\"<a href target />\""
|
|
423
418
|
},
|
|
424
419
|
{
|
|
425
|
-
"description": "
|
|
420
|
+
"description": "(OPTIONAL) random content (paired with design=\"plain\") will wrap that content with a link.",
|
|
426
421
|
"name": "default",
|
|
427
|
-
"default": "\"
|
|
422
|
+
"default": "\"<... />\""
|
|
428
423
|
}
|
|
429
424
|
],
|
|
430
425
|
"members": [
|
|
431
426
|
{
|
|
432
427
|
"kind": "field",
|
|
433
|
-
"name": "
|
|
434
|
-
"type": {
|
|
435
|
-
"text": "string | undefined"
|
|
436
|
-
},
|
|
437
|
-
"description": "(ScwCard) The src of the image within the card",
|
|
438
|
-
"attribute": "src"
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
"kind": "field",
|
|
442
|
-
"name": "srcset",
|
|
443
|
-
"type": {
|
|
444
|
-
"text": "string | undefined"
|
|
445
|
-
},
|
|
446
|
-
"description": "(ScwCard) The srcset of the image within the card",
|
|
447
|
-
"attribute": "srcset"
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
"kind": "field",
|
|
451
|
-
"name": "alt",
|
|
452
|
-
"type": {
|
|
453
|
-
"text": "string | undefined"
|
|
454
|
-
},
|
|
455
|
-
"description": "(ScwCard) Alternative description of the image.",
|
|
456
|
-
"attribute": "alt"
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
"kind": "field",
|
|
460
|
-
"name": "heading",
|
|
461
|
-
"type": {
|
|
462
|
-
"text": "string | undefined"
|
|
463
|
-
},
|
|
464
|
-
"description": "(ScwCard) Main title or header of the card (determined by\n<h1, h2, h3> content)",
|
|
465
|
-
"attribute": "heading"
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"kind": "field",
|
|
469
|
-
"name": "superHeading",
|
|
428
|
+
"name": "submitType",
|
|
470
429
|
"type": {
|
|
471
|
-
"text": "
|
|
430
|
+
"text": "ScwFormComponentSubmitTypes"
|
|
472
431
|
},
|
|
473
|
-
"description": "
|
|
474
|
-
"attribute": "
|
|
432
|
+
"description": "<ScwFormComponent> the usage in a form (& scw-form a query target)",
|
|
433
|
+
"attribute": "submit-type",
|
|
434
|
+
"reflects": true
|
|
475
435
|
},
|
|
476
436
|
{
|
|
477
437
|
"kind": "field",
|
|
478
|
-
"name": "
|
|
438
|
+
"name": "element",
|
|
479
439
|
"type": {
|
|
480
|
-
"text": "string
|
|
440
|
+
"text": "string"
|
|
481
441
|
},
|
|
482
|
-
"description": "(
|
|
483
|
-
"attribute": "
|
|
442
|
+
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
443
|
+
"attribute": "element",
|
|
444
|
+
"reflects": true,
|
|
445
|
+
"inheritedFrom": {
|
|
446
|
+
"name": "ScwComponent",
|
|
447
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
448
|
+
}
|
|
484
449
|
},
|
|
485
450
|
{
|
|
486
451
|
"kind": "field",
|
|
487
|
-
"name": "
|
|
452
|
+
"name": "href",
|
|
488
453
|
"type": {
|
|
489
454
|
"text": "string | undefined"
|
|
490
455
|
},
|
|
491
|
-
"description": "(
|
|
492
|
-
"attribute": "
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
"
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
},
|
|
500
|
-
"default": "false",
|
|
501
|
-
"description": "(ScwCard) whether to preload image or not",
|
|
502
|
-
"attribute": "preload"
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
"kind": "field",
|
|
506
|
-
"name": "size",
|
|
507
|
-
"type": {
|
|
508
|
-
"text": "ScwCardSizes"
|
|
509
|
-
},
|
|
510
|
-
"description": "(ScwCard) Readonly - Size of the card. This\nis determined by the nested html content (h1 = large,\nh2 = medium, h3 = small).",
|
|
511
|
-
"attribute": "size",
|
|
512
|
-
"reflects": true
|
|
456
|
+
"description": "(ScwLinkBase) link location - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
457
|
+
"attribute": "href",
|
|
458
|
+
"reflects": true,
|
|
459
|
+
"default": "'javascript:'",
|
|
460
|
+
"inheritedFrom": {
|
|
461
|
+
"name": "ScwLinkBase",
|
|
462
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
463
|
+
}
|
|
513
464
|
},
|
|
514
465
|
{
|
|
515
466
|
"kind": "field",
|
|
516
|
-
"name": "
|
|
467
|
+
"name": "icon",
|
|
517
468
|
"type": {
|
|
518
|
-
"text": "
|
|
469
|
+
"text": "string"
|
|
519
470
|
},
|
|
520
|
-
"description": "(
|
|
521
|
-
"attribute": "
|
|
522
|
-
"reflects": true
|
|
471
|
+
"description": "(ScwLink) Determines the icon to use with the text",
|
|
472
|
+
"attribute": "icon",
|
|
473
|
+
"reflects": true,
|
|
474
|
+
"inheritedFrom": {
|
|
475
|
+
"name": "ScwLink",
|
|
476
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
477
|
+
}
|
|
523
478
|
},
|
|
524
479
|
{
|
|
525
480
|
"kind": "field",
|
|
526
|
-
"name": "
|
|
481
|
+
"name": "iconSide",
|
|
527
482
|
"type": {
|
|
528
|
-
"text": "
|
|
483
|
+
"text": "string"
|
|
529
484
|
},
|
|
530
|
-
"description": "
|
|
485
|
+
"description": "(ScwLink) Determines which side the icon should show up on",
|
|
486
|
+
"attribute": "icon-side",
|
|
487
|
+
"reflects": true,
|
|
488
|
+
"inheritedFrom": {
|
|
489
|
+
"name": "ScwLink",
|
|
490
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
491
|
+
}
|
|
531
492
|
},
|
|
532
493
|
{
|
|
533
494
|
"kind": "field",
|
|
534
|
-
"name": "
|
|
495
|
+
"name": "design",
|
|
535
496
|
"type": {
|
|
536
|
-
"text": "
|
|
497
|
+
"text": "string"
|
|
537
498
|
},
|
|
538
|
-
"description": "
|
|
499
|
+
"description": "(ScwLink) The design style of the link.",
|
|
500
|
+
"attribute": "design",
|
|
501
|
+
"reflects": true,
|
|
502
|
+
"inheritedFrom": {
|
|
503
|
+
"name": "ScwLink",
|
|
504
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
505
|
+
}
|
|
539
506
|
},
|
|
540
507
|
{
|
|
541
508
|
"kind": "field",
|
|
542
|
-
"name": "
|
|
509
|
+
"name": "_svgInfo",
|
|
543
510
|
"type": {
|
|
544
|
-
"text": "
|
|
511
|
+
"text": "string"
|
|
545
512
|
},
|
|
546
|
-
"
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
"kind": "method",
|
|
550
|
-
"name": "parseAndValidateLightDom",
|
|
551
|
-
"description": "parseAndValidateLightDom, just adding local parsing and validation",
|
|
513
|
+
"default": "''",
|
|
552
514
|
"inheritedFrom": {
|
|
553
|
-
"name": "
|
|
554
|
-
"module": "src/scw-
|
|
515
|
+
"name": "ScwLink",
|
|
516
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
555
517
|
}
|
|
556
518
|
},
|
|
557
519
|
{
|
|
558
520
|
"kind": "method",
|
|
559
|
-
"name": "
|
|
560
|
-
"
|
|
561
|
-
{
|
|
562
|
-
"name": "evt",
|
|
563
|
-
"type": {
|
|
564
|
-
"text": "Event"
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
],
|
|
568
|
-
"description": "Handle click event from link so it doesn't trigger twice"
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
"kind": "method",
|
|
572
|
-
"name": "warn",
|
|
573
|
-
"parameters": [
|
|
574
|
-
{
|
|
575
|
-
"name": "message",
|
|
576
|
-
"type": {
|
|
577
|
-
"text": "string"
|
|
578
|
-
},
|
|
579
|
-
"description": "describing warning"
|
|
580
|
-
}
|
|
581
|
-
],
|
|
582
|
-
"description": "change the main heading to be the error.",
|
|
521
|
+
"name": "parseAndValidateLightDom",
|
|
522
|
+
"description": "parseAndValidateLightDom, just adding local parsing and validation",
|
|
583
523
|
"inheritedFrom": {
|
|
584
524
|
"name": "ScwComponent",
|
|
585
525
|
"module": "src/scw-component/ScwComponent.ts"
|
|
@@ -587,70 +527,58 @@
|
|
|
587
527
|
},
|
|
588
528
|
{
|
|
589
529
|
"kind": "method",
|
|
590
|
-
"name": "
|
|
591
|
-
"description": "Render image area",
|
|
530
|
+
"name": "validDesigns",
|
|
592
531
|
"return": {
|
|
593
532
|
"type": {
|
|
594
533
|
"text": "object"
|
|
595
534
|
}
|
|
535
|
+
},
|
|
536
|
+
"description": "Way to extend valid design types...",
|
|
537
|
+
"inheritedFrom": {
|
|
538
|
+
"name": "ScwLink",
|
|
539
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
596
540
|
}
|
|
597
541
|
},
|
|
598
542
|
{
|
|
599
543
|
"kind": "method",
|
|
600
|
-
"name": "
|
|
601
|
-
"description": "Render link area",
|
|
544
|
+
"name": "doShowIcon",
|
|
602
545
|
"return": {
|
|
603
546
|
"type": {
|
|
604
|
-
"text": "
|
|
547
|
+
"text": "boolean"
|
|
605
548
|
}
|
|
549
|
+
},
|
|
550
|
+
"description": "Way to extend valid design icon types...",
|
|
551
|
+
"inheritedFrom": {
|
|
552
|
+
"name": "ScwLink",
|
|
553
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
606
554
|
}
|
|
607
555
|
},
|
|
608
556
|
{
|
|
609
557
|
"kind": "method",
|
|
610
|
-
"name": "
|
|
611
|
-
"description": "get string to use in the size attribute of scw-header",
|
|
558
|
+
"name": "renderContent",
|
|
612
559
|
"return": {
|
|
613
560
|
"type": {
|
|
614
|
-
"text": "
|
|
561
|
+
"text": "object"
|
|
615
562
|
}
|
|
563
|
+
},
|
|
564
|
+
"description": "renderContent",
|
|
565
|
+
"inheritedFrom": {
|
|
566
|
+
"name": "ScwLink",
|
|
567
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
616
568
|
}
|
|
617
569
|
},
|
|
618
570
|
{
|
|
619
571
|
"kind": "method",
|
|
620
|
-
"name": "
|
|
572
|
+
"name": "findStyle",
|
|
573
|
+
"description": "find the style per design",
|
|
621
574
|
"return": {
|
|
622
575
|
"type": {
|
|
623
576
|
"text": "object"
|
|
624
577
|
}
|
|
625
578
|
},
|
|
626
|
-
"description": "render body"
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
"kind": "field",
|
|
630
|
-
"name": "element",
|
|
631
|
-
"type": {
|
|
632
|
-
"text": "string"
|
|
633
|
-
},
|
|
634
|
-
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
635
|
-
"attribute": "element",
|
|
636
|
-
"reflects": true,
|
|
637
|
-
"inheritedFrom": {
|
|
638
|
-
"name": "ScwComponent",
|
|
639
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
640
|
-
}
|
|
641
|
-
},
|
|
642
|
-
{
|
|
643
|
-
"kind": "field",
|
|
644
|
-
"name": "href",
|
|
645
|
-
"type": {
|
|
646
|
-
"text": "string | undefined"
|
|
647
|
-
},
|
|
648
|
-
"description": "(ScwLinkBase) link location - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
649
|
-
"attribute": "href",
|
|
650
|
-
"reflects": true,
|
|
651
579
|
"inheritedFrom": {
|
|
652
|
-
"name": "
|
|
653
|
-
"module": "src/scw-link
|
|
580
|
+
"name": "ScwLink",
|
|
581
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
654
582
|
}
|
|
655
583
|
},
|
|
656
584
|
{
|
|
@@ -834,99 +762,80 @@
|
|
|
834
762
|
}
|
|
835
763
|
},
|
|
836
764
|
{
|
|
837
|
-
"kind": "
|
|
838
|
-
"name": "
|
|
839
|
-
"
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
765
|
+
"kind": "method",
|
|
766
|
+
"name": "warn",
|
|
767
|
+
"parameters": [
|
|
768
|
+
{
|
|
769
|
+
"name": "message",
|
|
770
|
+
"type": {
|
|
771
|
+
"text": "string"
|
|
772
|
+
},
|
|
773
|
+
"description": "describing warning"
|
|
774
|
+
}
|
|
775
|
+
],
|
|
776
|
+
"description": "handles warnings...things wrong with formatting, ADA, etc...",
|
|
777
|
+
"inheritedFrom": {
|
|
778
|
+
"name": "ScwComponent",
|
|
845
779
|
"module": "src/scw-component/ScwComponent.ts"
|
|
846
780
|
}
|
|
847
|
-
}
|
|
848
|
-
],
|
|
849
|
-
"attributes": [
|
|
850
|
-
{
|
|
851
|
-
"name": "src",
|
|
852
|
-
"type": {
|
|
853
|
-
"text": "string | undefined"
|
|
854
|
-
},
|
|
855
|
-
"description": "(ScwCard) The src of the image within the card",
|
|
856
|
-
"fieldName": "src"
|
|
857
|
-
},
|
|
858
|
-
{
|
|
859
|
-
"name": "srcset",
|
|
860
|
-
"type": {
|
|
861
|
-
"text": "string | undefined"
|
|
862
|
-
},
|
|
863
|
-
"description": "(ScwCard) The srcset of the image within the card",
|
|
864
|
-
"fieldName": "srcset"
|
|
865
781
|
},
|
|
866
782
|
{
|
|
867
|
-
"
|
|
868
|
-
"
|
|
869
|
-
"text": "string | undefined"
|
|
870
|
-
},
|
|
871
|
-
"description": "(ScwCard) Alternative description of the image.",
|
|
872
|
-
"fieldName": "alt"
|
|
873
|
-
},
|
|
874
|
-
{
|
|
875
|
-
"name": "heading",
|
|
876
|
-
"type": {
|
|
877
|
-
"text": "string | undefined"
|
|
878
|
-
},
|
|
879
|
-
"description": "(ScwCard) Main title or header of the card (determined by\n<h1, h2, h3> content)",
|
|
880
|
-
"fieldName": "heading"
|
|
881
|
-
},
|
|
882
|
-
{
|
|
883
|
-
"name": "superHeading",
|
|
884
|
-
"type": {
|
|
885
|
-
"text": "string | undefined"
|
|
886
|
-
},
|
|
887
|
-
"description": "(ScwCard) Super title, describing a category or area pertaining to title\n(determined by <sup> content)",
|
|
888
|
-
"fieldName": "superHeading"
|
|
889
|
-
},
|
|
890
|
-
{
|
|
891
|
-
"name": "description",
|
|
783
|
+
"kind": "field",
|
|
784
|
+
"name": "_lastWarning",
|
|
892
785
|
"type": {
|
|
893
786
|
"text": "string | undefined"
|
|
894
787
|
},
|
|
895
|
-
"description": "
|
|
896
|
-
"
|
|
897
|
-
|
|
788
|
+
"description": "retain the last warning sent...good for testing.",
|
|
789
|
+
"inheritedFrom": {
|
|
790
|
+
"name": "ScwComponent",
|
|
791
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
],
|
|
795
|
+
"attributes": [
|
|
898
796
|
{
|
|
899
|
-
"name": "
|
|
797
|
+
"name": "submit-type",
|
|
900
798
|
"type": {
|
|
901
|
-
"text": "
|
|
799
|
+
"text": "ScwFormComponentSubmitTypes"
|
|
902
800
|
},
|
|
903
|
-
"description": "(
|
|
904
|
-
"fieldName": "
|
|
801
|
+
"description": "<ScwFormComponent> the usage in a form (& scw-form a query target)",
|
|
802
|
+
"fieldName": "submitType"
|
|
905
803
|
},
|
|
906
804
|
{
|
|
907
|
-
"name": "
|
|
805
|
+
"name": "icon",
|
|
908
806
|
"type": {
|
|
909
|
-
"text": "
|
|
807
|
+
"text": "string"
|
|
910
808
|
},
|
|
911
|
-
"
|
|
912
|
-
"
|
|
913
|
-
"
|
|
809
|
+
"description": "(ScwLink) Determines the icon to use with the text",
|
|
810
|
+
"fieldName": "icon",
|
|
811
|
+
"inheritedFrom": {
|
|
812
|
+
"name": "ScwLink",
|
|
813
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
814
|
+
}
|
|
914
815
|
},
|
|
915
816
|
{
|
|
916
|
-
"name": "
|
|
817
|
+
"name": "icon-side",
|
|
917
818
|
"type": {
|
|
918
|
-
"text": "
|
|
819
|
+
"text": "string"
|
|
919
820
|
},
|
|
920
|
-
"description": "(
|
|
921
|
-
"fieldName": "
|
|
821
|
+
"description": "(ScwLink) Determines which side the icon should show up on",
|
|
822
|
+
"fieldName": "iconSide",
|
|
823
|
+
"inheritedFrom": {
|
|
824
|
+
"name": "ScwLink",
|
|
825
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
826
|
+
}
|
|
922
827
|
},
|
|
923
828
|
{
|
|
924
|
-
"name": "
|
|
829
|
+
"name": "design",
|
|
925
830
|
"type": {
|
|
926
|
-
"text": "
|
|
831
|
+
"text": "string"
|
|
927
832
|
},
|
|
928
|
-
"description": "(
|
|
929
|
-
"fieldName": "
|
|
833
|
+
"description": "(ScwLink) The design style of the link.",
|
|
834
|
+
"fieldName": "design",
|
|
835
|
+
"inheritedFrom": {
|
|
836
|
+
"name": "ScwLink",
|
|
837
|
+
"module": "src/scw-link/ScwLink.ts"
|
|
838
|
+
}
|
|
930
839
|
},
|
|
931
840
|
{
|
|
932
841
|
"name": "href",
|
|
@@ -1018,10 +927,10 @@
|
|
|
1018
927
|
}
|
|
1019
928
|
],
|
|
1020
929
|
"superclass": {
|
|
1021
|
-
"name": "
|
|
1022
|
-
"module": "/src/scw-link
|
|
930
|
+
"name": "ScwLink",
|
|
931
|
+
"module": "/src/scw-link/ScwLink"
|
|
1023
932
|
},
|
|
1024
|
-
"tagName": "scw-
|
|
933
|
+
"tagName": "scw-button",
|
|
1025
934
|
"customElement": true
|
|
1026
935
|
}
|
|
1027
936
|
],
|
|
@@ -1030,175 +939,169 @@
|
|
|
1030
939
|
"kind": "js",
|
|
1031
940
|
"name": "default",
|
|
1032
941
|
"declaration": {
|
|
1033
|
-
"name": "
|
|
1034
|
-
"module": "src/scw-
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
1037
|
-
]
|
|
1038
|
-
},
|
|
1039
|
-
{
|
|
1040
|
-
"kind": "javascript-module",
|
|
1041
|
-
"path": "src/scw-card/scw-card-enums.ts",
|
|
1042
|
-
"declarations": [],
|
|
1043
|
-
"exports": []
|
|
1044
|
-
},
|
|
1045
|
-
{
|
|
1046
|
-
"kind": "javascript-module",
|
|
1047
|
-
"path": "src/scw-card/scw-card-light-dom.ts",
|
|
1048
|
-
"declarations": [
|
|
1049
|
-
{
|
|
1050
|
-
"kind": "function",
|
|
1051
|
-
"name": "parseLightDomCard",
|
|
1052
|
-
"parameters": [
|
|
1053
|
-
{
|
|
1054
|
-
"name": "scwCard",
|
|
1055
|
-
"type": {
|
|
1056
|
-
"text": "ScwCard"
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
],
|
|
1060
|
-
"description": "Parses light dom into variables to be used for rendering"
|
|
1061
|
-
}
|
|
1062
|
-
],
|
|
1063
|
-
"exports": [
|
|
1064
|
-
{
|
|
1065
|
-
"kind": "js",
|
|
1066
|
-
"name": "default",
|
|
1067
|
-
"declaration": {
|
|
1068
|
-
"name": "parseLightDomCard",
|
|
1069
|
-
"module": "src/scw-card/scw-card-light-dom.ts"
|
|
942
|
+
"name": "ScwButton",
|
|
943
|
+
"module": "src/scw-button/ScwButton.ts"
|
|
1070
944
|
}
|
|
1071
945
|
}
|
|
1072
946
|
]
|
|
1073
947
|
},
|
|
1074
948
|
{
|
|
1075
949
|
"kind": "javascript-module",
|
|
1076
|
-
"path": "src/scw-
|
|
950
|
+
"path": "src/scw-button/scw-button.ts",
|
|
1077
951
|
"declarations": [],
|
|
1078
952
|
"exports": [
|
|
1079
953
|
{
|
|
1080
954
|
"kind": "custom-element-definition",
|
|
1081
|
-
"name": "scw-
|
|
955
|
+
"name": "scw-button",
|
|
1082
956
|
"declaration": {
|
|
1083
|
-
"name": "
|
|
1084
|
-
"module": "/src/scw-
|
|
957
|
+
"name": "ScwButton",
|
|
958
|
+
"module": "/src/scw-button/ScwButton.js"
|
|
1085
959
|
}
|
|
1086
960
|
}
|
|
1087
961
|
]
|
|
1088
962
|
},
|
|
1089
963
|
{
|
|
1090
964
|
"kind": "javascript-module",
|
|
1091
|
-
"path": "src/scw-
|
|
965
|
+
"path": "src/scw-card/ScwCard.ts",
|
|
1092
966
|
"declarations": [
|
|
1093
967
|
{
|
|
1094
968
|
"kind": "class",
|
|
1095
|
-
"description": "
|
|
1096
|
-
"name": "
|
|
969
|
+
"description": "ScwCard a first LitElement web component",
|
|
970
|
+
"name": "ScwCard",
|
|
1097
971
|
"slots": [
|
|
1098
972
|
{
|
|
1099
|
-
"description": "
|
|
973
|
+
"description": "The parts of scw-card are configured via nested html elements. img defines the image, heading the main heading, sup the category heading, and p the descriptive text. Only headings is required (with src, srcset, and alt attributes).",
|
|
1100
974
|
"name": "default",
|
|
1101
|
-
"default": "\"<
|
|
975
|
+
"default": "\"<img src alt /><h1, h2, h3 /><sup /><p />\""
|
|
1102
976
|
},
|
|
1103
977
|
{
|
|
1104
|
-
"description": "
|
|
978
|
+
"description": "Adding an anchor will show a link.",
|
|
1105
979
|
"name": "default",
|
|
1106
|
-
"default": "\"
|
|
980
|
+
"default": "\"<img src alt /><h1, h2, h3 /><sup /><p /><a />\""
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"description": "Wrapping the entire content in an anchor will make it interactive",
|
|
984
|
+
"name": "default",
|
|
985
|
+
"default": "\"<a><img src alt /><h1, h2, h3 /><sup /><p /></a>\""
|
|
1107
986
|
}
|
|
1108
987
|
],
|
|
1109
988
|
"members": [
|
|
1110
989
|
{
|
|
1111
990
|
"kind": "field",
|
|
1112
|
-
"name": "
|
|
991
|
+
"name": "src",
|
|
1113
992
|
"type": {
|
|
1114
|
-
"text": "
|
|
993
|
+
"text": "string | undefined"
|
|
1115
994
|
},
|
|
1116
|
-
"description": "
|
|
1117
|
-
"attribute": "
|
|
1118
|
-
"reflects": true
|
|
995
|
+
"description": "(ScwCard) The src of the image within the card",
|
|
996
|
+
"attribute": "src"
|
|
1119
997
|
},
|
|
1120
998
|
{
|
|
1121
999
|
"kind": "field",
|
|
1122
|
-
"name": "
|
|
1000
|
+
"name": "srcset",
|
|
1123
1001
|
"type": {
|
|
1124
|
-
"text": "string"
|
|
1002
|
+
"text": "string | undefined"
|
|
1125
1003
|
},
|
|
1126
|
-
"description": "(
|
|
1127
|
-
"attribute": "
|
|
1128
|
-
"reflects": true,
|
|
1129
|
-
"inheritedFrom": {
|
|
1130
|
-
"name": "ScwComponent",
|
|
1131
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
1132
|
-
}
|
|
1004
|
+
"description": "(ScwCard) The srcset of the image within the card",
|
|
1005
|
+
"attribute": "srcset"
|
|
1133
1006
|
},
|
|
1134
1007
|
{
|
|
1135
1008
|
"kind": "field",
|
|
1136
|
-
"name": "
|
|
1009
|
+
"name": "alt",
|
|
1137
1010
|
"type": {
|
|
1138
1011
|
"text": "string | undefined"
|
|
1139
1012
|
},
|
|
1140
|
-
"description": "(
|
|
1141
|
-
"attribute": "
|
|
1142
|
-
"reflects": true,
|
|
1143
|
-
"default": "'javascript:'",
|
|
1144
|
-
"inheritedFrom": {
|
|
1145
|
-
"name": "ScwLinkBase",
|
|
1146
|
-
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
1147
|
-
}
|
|
1013
|
+
"description": "(ScwCard) Alternative description of the image.",
|
|
1014
|
+
"attribute": "alt"
|
|
1148
1015
|
},
|
|
1149
1016
|
{
|
|
1150
1017
|
"kind": "field",
|
|
1151
|
-
"name": "
|
|
1018
|
+
"name": "heading",
|
|
1152
1019
|
"type": {
|
|
1153
|
-
"text": "string"
|
|
1020
|
+
"text": "string | undefined"
|
|
1154
1021
|
},
|
|
1155
|
-
"description": "(
|
|
1156
|
-
"attribute": "
|
|
1157
|
-
"reflects": true,
|
|
1158
|
-
"inheritedFrom": {
|
|
1159
|
-
"name": "ScwLink",
|
|
1160
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
1161
|
-
}
|
|
1022
|
+
"description": "(ScwCard) Main title or header of the card (determined by\n<h1, h2, h3> content)",
|
|
1023
|
+
"attribute": "heading"
|
|
1162
1024
|
},
|
|
1163
1025
|
{
|
|
1164
1026
|
"kind": "field",
|
|
1165
|
-
"name": "
|
|
1027
|
+
"name": "superHeading",
|
|
1166
1028
|
"type": {
|
|
1167
|
-
"text": "string"
|
|
1029
|
+
"text": "string | undefined"
|
|
1168
1030
|
},
|
|
1169
|
-
"description": "(
|
|
1170
|
-
"attribute": "
|
|
1171
|
-
"reflects": true,
|
|
1172
|
-
"inheritedFrom": {
|
|
1173
|
-
"name": "ScwLink",
|
|
1174
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
1175
|
-
}
|
|
1031
|
+
"description": "(ScwCard) Super title, describing a category or area pertaining to title\n(determined by <sup> content)",
|
|
1032
|
+
"attribute": "superHeading"
|
|
1176
1033
|
},
|
|
1177
1034
|
{
|
|
1178
1035
|
"kind": "field",
|
|
1179
|
-
"name": "
|
|
1036
|
+
"name": "description",
|
|
1180
1037
|
"type": {
|
|
1181
|
-
"text": "string"
|
|
1038
|
+
"text": "string | undefined"
|
|
1182
1039
|
},
|
|
1183
|
-
"description": "(
|
|
1184
|
-
"attribute": "
|
|
1185
|
-
"reflects": true,
|
|
1186
|
-
"inheritedFrom": {
|
|
1187
|
-
"name": "ScwLink",
|
|
1188
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
1189
|
-
}
|
|
1040
|
+
"description": "(ScwCard) Fuller description of what the card is about (determined by\n<p> content)",
|
|
1041
|
+
"attribute": "description"
|
|
1190
1042
|
},
|
|
1191
1043
|
{
|
|
1192
1044
|
"kind": "field",
|
|
1193
|
-
"name": "
|
|
1045
|
+
"name": "linkLabel",
|
|
1194
1046
|
"type": {
|
|
1195
|
-
"text": "string"
|
|
1047
|
+
"text": "string | undefined"
|
|
1196
1048
|
},
|
|
1197
|
-
"
|
|
1198
|
-
"
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1049
|
+
"description": "(ScwCard) Label on the link",
|
|
1050
|
+
"attribute": "linkLabel"
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"kind": "field",
|
|
1054
|
+
"name": "preload",
|
|
1055
|
+
"type": {
|
|
1056
|
+
"text": "boolean"
|
|
1057
|
+
},
|
|
1058
|
+
"default": "false",
|
|
1059
|
+
"description": "(ScwCard) whether to preload image or not",
|
|
1060
|
+
"attribute": "preload"
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"kind": "field",
|
|
1064
|
+
"name": "size",
|
|
1065
|
+
"type": {
|
|
1066
|
+
"text": "ScwCardSizes"
|
|
1067
|
+
},
|
|
1068
|
+
"description": "(ScwCard) Readonly - Size of the card. This\nis determined by the nested html content (h1 = large,\nh2 = medium, h3 = small).",
|
|
1069
|
+
"attribute": "size",
|
|
1070
|
+
"reflects": true
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"kind": "field",
|
|
1074
|
+
"name": "action",
|
|
1075
|
+
"type": {
|
|
1076
|
+
"text": "ScwCardActions"
|
|
1077
|
+
},
|
|
1078
|
+
"description": "(ScwCard) Readonly - The type of action (whole card, link, or none).\nThis is determined by the use of an anchor tag.",
|
|
1079
|
+
"attribute": "action",
|
|
1080
|
+
"reflects": true
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
"kind": "field",
|
|
1084
|
+
"name": "headerNodeName",
|
|
1085
|
+
"type": {
|
|
1086
|
+
"text": "any"
|
|
1087
|
+
},
|
|
1088
|
+
"description": "scw-header with versioning suffix"
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"kind": "field",
|
|
1092
|
+
"name": "imageNodeName",
|
|
1093
|
+
"type": {
|
|
1094
|
+
"text": "any"
|
|
1095
|
+
},
|
|
1096
|
+
"description": "scw-image with versioning suffix"
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
"kind": "field",
|
|
1100
|
+
"name": "linkNodeName",
|
|
1101
|
+
"type": {
|
|
1102
|
+
"text": "any"
|
|
1103
|
+
},
|
|
1104
|
+
"description": "scw-link with versioning suffix"
|
|
1202
1105
|
},
|
|
1203
1106
|
{
|
|
1204
1107
|
"kind": "method",
|
|
@@ -1211,58 +1114,101 @@
|
|
|
1211
1114
|
},
|
|
1212
1115
|
{
|
|
1213
1116
|
"kind": "method",
|
|
1214
|
-
"name": "
|
|
1117
|
+
"name": "clickHandler",
|
|
1118
|
+
"parameters": [
|
|
1119
|
+
{
|
|
1120
|
+
"name": "evt",
|
|
1121
|
+
"type": {
|
|
1122
|
+
"text": "Event"
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
],
|
|
1126
|
+
"description": "Handle click event from link so it doesn't trigger twice"
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"kind": "method",
|
|
1130
|
+
"name": "warn",
|
|
1131
|
+
"parameters": [
|
|
1132
|
+
{
|
|
1133
|
+
"name": "message",
|
|
1134
|
+
"type": {
|
|
1135
|
+
"text": "string"
|
|
1136
|
+
},
|
|
1137
|
+
"description": "describing warning"
|
|
1138
|
+
}
|
|
1139
|
+
],
|
|
1140
|
+
"description": "change the main heading to be the error.",
|
|
1141
|
+
"inheritedFrom": {
|
|
1142
|
+
"name": "ScwComponent",
|
|
1143
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1144
|
+
}
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"kind": "method",
|
|
1148
|
+
"name": "renderImage",
|
|
1149
|
+
"description": "Render image area",
|
|
1215
1150
|
"return": {
|
|
1216
1151
|
"type": {
|
|
1217
1152
|
"text": "object"
|
|
1218
1153
|
}
|
|
1219
|
-
},
|
|
1220
|
-
"description": "Way to extend valid design types...",
|
|
1221
|
-
"inheritedFrom": {
|
|
1222
|
-
"name": "ScwLink",
|
|
1223
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
1224
1154
|
}
|
|
1225
1155
|
},
|
|
1226
1156
|
{
|
|
1227
1157
|
"kind": "method",
|
|
1228
|
-
"name": "
|
|
1158
|
+
"name": "renderButton",
|
|
1159
|
+
"description": "Render link area",
|
|
1229
1160
|
"return": {
|
|
1230
1161
|
"type": {
|
|
1231
|
-
"text": "
|
|
1162
|
+
"text": "object"
|
|
1232
1163
|
}
|
|
1233
|
-
},
|
|
1234
|
-
"description": "Way to extend valid design icon types...",
|
|
1235
|
-
"inheritedFrom": {
|
|
1236
|
-
"name": "ScwLink",
|
|
1237
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
1238
1164
|
}
|
|
1239
1165
|
},
|
|
1240
1166
|
{
|
|
1241
1167
|
"kind": "method",
|
|
1242
|
-
"name": "
|
|
1168
|
+
"name": "getSizeStringForHeader",
|
|
1169
|
+
"description": "get string to use in the size attribute of scw-header",
|
|
1243
1170
|
"return": {
|
|
1244
1171
|
"type": {
|
|
1245
|
-
"text": "
|
|
1172
|
+
"text": "string"
|
|
1246
1173
|
}
|
|
1247
|
-
},
|
|
1248
|
-
"description": "renderContent",
|
|
1249
|
-
"inheritedFrom": {
|
|
1250
|
-
"name": "ScwLink",
|
|
1251
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
1252
1174
|
}
|
|
1253
1175
|
},
|
|
1254
1176
|
{
|
|
1255
1177
|
"kind": "method",
|
|
1256
|
-
"name": "
|
|
1257
|
-
"description": "find the style per design",
|
|
1178
|
+
"name": "renderBody",
|
|
1258
1179
|
"return": {
|
|
1259
1180
|
"type": {
|
|
1260
1181
|
"text": "object"
|
|
1261
1182
|
}
|
|
1262
1183
|
},
|
|
1184
|
+
"description": "render body"
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"kind": "field",
|
|
1188
|
+
"name": "element",
|
|
1189
|
+
"type": {
|
|
1190
|
+
"text": "string"
|
|
1191
|
+
},
|
|
1192
|
+
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
1193
|
+
"attribute": "element",
|
|
1194
|
+
"reflects": true,
|
|
1263
1195
|
"inheritedFrom": {
|
|
1264
|
-
"name": "
|
|
1265
|
-
"module": "src/scw-
|
|
1196
|
+
"name": "ScwComponent",
|
|
1197
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"kind": "field",
|
|
1202
|
+
"name": "href",
|
|
1203
|
+
"type": {
|
|
1204
|
+
"text": "string | undefined"
|
|
1205
|
+
},
|
|
1206
|
+
"description": "(ScwLinkBase) link location - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
1207
|
+
"attribute": "href",
|
|
1208
|
+
"reflects": true,
|
|
1209
|
+
"inheritedFrom": {
|
|
1210
|
+
"name": "ScwLinkBase",
|
|
1211
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
1266
1212
|
}
|
|
1267
1213
|
},
|
|
1268
1214
|
{
|
|
@@ -1445,24 +1391,6 @@
|
|
|
1445
1391
|
"module": "src/scw-component/ScwComponent.ts"
|
|
1446
1392
|
}
|
|
1447
1393
|
},
|
|
1448
|
-
{
|
|
1449
|
-
"kind": "method",
|
|
1450
|
-
"name": "warn",
|
|
1451
|
-
"parameters": [
|
|
1452
|
-
{
|
|
1453
|
-
"name": "message",
|
|
1454
|
-
"type": {
|
|
1455
|
-
"text": "string"
|
|
1456
|
-
},
|
|
1457
|
-
"description": "describing warning"
|
|
1458
|
-
}
|
|
1459
|
-
],
|
|
1460
|
-
"description": "handles warnings...things wrong with formatting, ADA, etc...",
|
|
1461
|
-
"inheritedFrom": {
|
|
1462
|
-
"name": "ScwComponent",
|
|
1463
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
1464
|
-
}
|
|
1465
|
-
},
|
|
1466
1394
|
{
|
|
1467
1395
|
"kind": "field",
|
|
1468
1396
|
"name": "_lastWarning",
|
|
@@ -1478,86 +1406,123 @@
|
|
|
1478
1406
|
],
|
|
1479
1407
|
"attributes": [
|
|
1480
1408
|
{
|
|
1481
|
-
"name": "
|
|
1409
|
+
"name": "src",
|
|
1482
1410
|
"type": {
|
|
1483
|
-
"text": "
|
|
1411
|
+
"text": "string | undefined"
|
|
1484
1412
|
},
|
|
1485
|
-
"description": "
|
|
1486
|
-
"fieldName": "
|
|
1413
|
+
"description": "(ScwCard) The src of the image within the card",
|
|
1414
|
+
"fieldName": "src"
|
|
1487
1415
|
},
|
|
1488
1416
|
{
|
|
1489
|
-
"name": "
|
|
1417
|
+
"name": "srcset",
|
|
1490
1418
|
"type": {
|
|
1491
|
-
"text": "string"
|
|
1419
|
+
"text": "string | undefined"
|
|
1492
1420
|
},
|
|
1493
|
-
"description": "(
|
|
1494
|
-
"fieldName": "
|
|
1495
|
-
"inheritedFrom": {
|
|
1496
|
-
"name": "ScwLink",
|
|
1497
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
1498
|
-
}
|
|
1421
|
+
"description": "(ScwCard) The srcset of the image within the card",
|
|
1422
|
+
"fieldName": "srcset"
|
|
1499
1423
|
},
|
|
1500
1424
|
{
|
|
1501
|
-
"name": "
|
|
1425
|
+
"name": "alt",
|
|
1502
1426
|
"type": {
|
|
1503
|
-
"text": "string"
|
|
1427
|
+
"text": "string | undefined"
|
|
1504
1428
|
},
|
|
1505
|
-
"description": "(
|
|
1506
|
-
"fieldName": "
|
|
1507
|
-
"inheritedFrom": {
|
|
1508
|
-
"name": "ScwLink",
|
|
1509
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
1510
|
-
}
|
|
1429
|
+
"description": "(ScwCard) Alternative description of the image.",
|
|
1430
|
+
"fieldName": "alt"
|
|
1511
1431
|
},
|
|
1512
1432
|
{
|
|
1513
|
-
"name": "
|
|
1433
|
+
"name": "heading",
|
|
1514
1434
|
"type": {
|
|
1515
|
-
"text": "string"
|
|
1435
|
+
"text": "string | undefined"
|
|
1516
1436
|
},
|
|
1517
|
-
"description": "(
|
|
1518
|
-
"fieldName": "
|
|
1519
|
-
"inheritedFrom": {
|
|
1520
|
-
"name": "ScwLink",
|
|
1521
|
-
"module": "src/scw-link/ScwLink.ts"
|
|
1522
|
-
}
|
|
1437
|
+
"description": "(ScwCard) Main title or header of the card (determined by\n<h1, h2, h3> content)",
|
|
1438
|
+
"fieldName": "heading"
|
|
1523
1439
|
},
|
|
1524
1440
|
{
|
|
1525
|
-
"name": "
|
|
1441
|
+
"name": "superHeading",
|
|
1526
1442
|
"type": {
|
|
1527
1443
|
"text": "string | undefined"
|
|
1528
1444
|
},
|
|
1529
|
-
"description": "(
|
|
1530
|
-
"fieldName": "
|
|
1531
|
-
"inheritedFrom": {
|
|
1532
|
-
"name": "ScwLinkBase",
|
|
1533
|
-
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
1534
|
-
}
|
|
1445
|
+
"description": "(ScwCard) Super title, describing a category or area pertaining to title\n(determined by <sup> content)",
|
|
1446
|
+
"fieldName": "superHeading"
|
|
1535
1447
|
},
|
|
1536
1448
|
{
|
|
1537
|
-
"name": "
|
|
1449
|
+
"name": "description",
|
|
1538
1450
|
"type": {
|
|
1539
|
-
"text": "
|
|
1451
|
+
"text": "string | undefined"
|
|
1540
1452
|
},
|
|
1541
|
-
"description": "(
|
|
1542
|
-
"fieldName": "
|
|
1543
|
-
"inheritedFrom": {
|
|
1544
|
-
"name": "ScwLinkBase",
|
|
1545
|
-
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
1546
|
-
}
|
|
1453
|
+
"description": "(ScwCard) Fuller description of what the card is about (determined by\n<p> content)",
|
|
1454
|
+
"fieldName": "description"
|
|
1547
1455
|
},
|
|
1548
1456
|
{
|
|
1549
|
-
"name": "
|
|
1457
|
+
"name": "linkLabel",
|
|
1550
1458
|
"type": {
|
|
1551
|
-
"text": "string"
|
|
1459
|
+
"text": "string | undefined"
|
|
1552
1460
|
},
|
|
1553
|
-
"
|
|
1554
|
-
"
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1461
|
+
"description": "(ScwCard) Label on the link",
|
|
1462
|
+
"fieldName": "linkLabel"
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"name": "preload",
|
|
1466
|
+
"type": {
|
|
1467
|
+
"text": "boolean"
|
|
1468
|
+
},
|
|
1469
|
+
"default": "false",
|
|
1470
|
+
"description": "(ScwCard) whether to preload image or not",
|
|
1471
|
+
"fieldName": "preload"
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
"name": "size",
|
|
1475
|
+
"type": {
|
|
1476
|
+
"text": "ScwCardSizes"
|
|
1477
|
+
},
|
|
1478
|
+
"description": "(ScwCard) Readonly - Size of the card. This\nis determined by the nested html content (h1 = large,\nh2 = medium, h3 = small).",
|
|
1479
|
+
"fieldName": "size"
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"name": "action",
|
|
1483
|
+
"type": {
|
|
1484
|
+
"text": "ScwCardActions"
|
|
1485
|
+
},
|
|
1486
|
+
"description": "(ScwCard) Readonly - The type of action (whole card, link, or none).\nThis is determined by the use of an anchor tag.",
|
|
1487
|
+
"fieldName": "action"
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
"name": "href",
|
|
1491
|
+
"type": {
|
|
1492
|
+
"text": "string | undefined"
|
|
1493
|
+
},
|
|
1494
|
+
"description": "(ScwLinkBase) link location - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
1495
|
+
"fieldName": "href",
|
|
1496
|
+
"inheritedFrom": {
|
|
1497
|
+
"name": "ScwLinkBase",
|
|
1498
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
1499
|
+
}
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"name": "target",
|
|
1503
|
+
"type": {
|
|
1504
|
+
"text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
1505
|
+
},
|
|
1506
|
+
"description": "(ScwLinkBase) link target - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
1507
|
+
"fieldName": "target",
|
|
1508
|
+
"inheritedFrom": {
|
|
1509
|
+
"name": "ScwLinkBase",
|
|
1510
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
1511
|
+
}
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"name": "aria-label",
|
|
1515
|
+
"type": {
|
|
1516
|
+
"text": "string"
|
|
1517
|
+
},
|
|
1518
|
+
"default": "''",
|
|
1519
|
+
"description": "(ScwComponent) Main text within component",
|
|
1520
|
+
"fieldName": "ariaLabel",
|
|
1521
|
+
"inheritedFrom": {
|
|
1522
|
+
"name": "ScwComponent",
|
|
1523
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1524
|
+
}
|
|
1525
|
+
},
|
|
1561
1526
|
{
|
|
1562
1527
|
"name": "aria-disabled",
|
|
1563
1528
|
"type": {
|
|
@@ -1611,10 +1576,10 @@
|
|
|
1611
1576
|
}
|
|
1612
1577
|
],
|
|
1613
1578
|
"superclass": {
|
|
1614
|
-
"name": "
|
|
1615
|
-
"module": "/src/scw-link/
|
|
1579
|
+
"name": "ScwLinkBase",
|
|
1580
|
+
"module": "/src/scw-link-base/ScwLinkBase"
|
|
1616
1581
|
},
|
|
1617
|
-
"tagName": "scw-
|
|
1582
|
+
"tagName": "scw-card",
|
|
1618
1583
|
"customElement": true
|
|
1619
1584
|
}
|
|
1620
1585
|
],
|
|
@@ -1623,64 +1588,71 @@
|
|
|
1623
1588
|
"kind": "js",
|
|
1624
1589
|
"name": "default",
|
|
1625
1590
|
"declaration": {
|
|
1626
|
-
"name": "
|
|
1627
|
-
"module": "src/scw-
|
|
1591
|
+
"name": "ScwCard",
|
|
1592
|
+
"module": "src/scw-card/ScwCard.ts"
|
|
1628
1593
|
}
|
|
1629
1594
|
}
|
|
1630
1595
|
]
|
|
1631
1596
|
},
|
|
1632
1597
|
{
|
|
1633
1598
|
"kind": "javascript-module",
|
|
1634
|
-
"path": "src/scw-
|
|
1599
|
+
"path": "src/scw-card/scw-card-enums.ts",
|
|
1600
|
+
"declarations": [],
|
|
1601
|
+
"exports": []
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"kind": "javascript-module",
|
|
1605
|
+
"path": "src/scw-card/scw-card-light-dom.ts",
|
|
1606
|
+
"declarations": [
|
|
1607
|
+
{
|
|
1608
|
+
"kind": "function",
|
|
1609
|
+
"name": "parseLightDomCard",
|
|
1610
|
+
"parameters": [
|
|
1611
|
+
{
|
|
1612
|
+
"name": "scwCard",
|
|
1613
|
+
"type": {
|
|
1614
|
+
"text": "ScwCard"
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
],
|
|
1618
|
+
"description": "Parses light dom into variables to be used for rendering"
|
|
1619
|
+
}
|
|
1620
|
+
],
|
|
1621
|
+
"exports": [
|
|
1622
|
+
{
|
|
1623
|
+
"kind": "js",
|
|
1624
|
+
"name": "default",
|
|
1625
|
+
"declaration": {
|
|
1626
|
+
"name": "parseLightDomCard",
|
|
1627
|
+
"module": "src/scw-card/scw-card-light-dom.ts"
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
]
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
"kind": "javascript-module",
|
|
1634
|
+
"path": "src/scw-card/scw-card.ts",
|
|
1635
1635
|
"declarations": [],
|
|
1636
1636
|
"exports": [
|
|
1637
1637
|
{
|
|
1638
1638
|
"kind": "custom-element-definition",
|
|
1639
|
-
"name": "scw-
|
|
1639
|
+
"name": "scw-card",
|
|
1640
1640
|
"declaration": {
|
|
1641
|
-
"name": "
|
|
1642
|
-
"module": "/src/scw-
|
|
1641
|
+
"name": "ScwCard",
|
|
1642
|
+
"module": "/src/scw-card/ScwCard"
|
|
1643
1643
|
}
|
|
1644
1644
|
}
|
|
1645
1645
|
]
|
|
1646
1646
|
},
|
|
1647
1647
|
{
|
|
1648
1648
|
"kind": "javascript-module",
|
|
1649
|
-
"path": "src/scw-
|
|
1649
|
+
"path": "src/scw-component/ScwComponent.ts",
|
|
1650
1650
|
"declarations": [
|
|
1651
1651
|
{
|
|
1652
1652
|
"kind": "class",
|
|
1653
|
-
"description": "
|
|
1654
|
-
"name": "
|
|
1653
|
+
"description": "ScwComponent",
|
|
1654
|
+
"name": "ScwComponent",
|
|
1655
1655
|
"members": [
|
|
1656
|
-
{
|
|
1657
|
-
"kind": "field",
|
|
1658
|
-
"name": "element",
|
|
1659
|
-
"type": {
|
|
1660
|
-
"text": "string"
|
|
1661
|
-
},
|
|
1662
|
-
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
1663
|
-
"attribute": "element",
|
|
1664
|
-
"reflects": true,
|
|
1665
|
-
"inheritedFrom": {
|
|
1666
|
-
"name": "ScwComponent",
|
|
1667
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
1668
|
-
}
|
|
1669
|
-
},
|
|
1670
|
-
{
|
|
1671
|
-
"kind": "field",
|
|
1672
|
-
"name": "responsive",
|
|
1673
|
-
"type": {
|
|
1674
|
-
"text": "string"
|
|
1675
|
-
},
|
|
1676
|
-
"default": "true",
|
|
1677
|
-
"description": "(ScwComponent) whether or not to look to attributes for responsive sizing\nviewport | element | none",
|
|
1678
|
-
"attribute": "responsive",
|
|
1679
|
-
"inheritedFrom": {
|
|
1680
|
-
"name": "ScwComponent",
|
|
1681
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
1682
|
-
}
|
|
1683
|
-
},
|
|
1684
1656
|
{
|
|
1685
1657
|
"kind": "field",
|
|
1686
1658
|
"name": "ariaLabel",
|
|
@@ -1690,11 +1662,7 @@
|
|
|
1690
1662
|
"default": "''",
|
|
1691
1663
|
"description": "(ScwComponent) Main text within component",
|
|
1692
1664
|
"attribute": "aria-label",
|
|
1693
|
-
"reflects": true
|
|
1694
|
-
"inheritedFrom": {
|
|
1695
|
-
"name": "ScwComponent",
|
|
1696
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
1697
|
-
}
|
|
1665
|
+
"reflects": true
|
|
1698
1666
|
},
|
|
1699
1667
|
{
|
|
1700
1668
|
"kind": "field",
|
|
@@ -1704,11 +1672,17 @@
|
|
|
1704
1672
|
},
|
|
1705
1673
|
"default": "'false'",
|
|
1706
1674
|
"description": "(ScwComponent) Disables the component however it disables",
|
|
1707
|
-
"attribute": "aria-disabled"
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1675
|
+
"attribute": "aria-disabled"
|
|
1676
|
+
},
|
|
1677
|
+
{
|
|
1678
|
+
"kind": "field",
|
|
1679
|
+
"name": "responsive",
|
|
1680
|
+
"type": {
|
|
1681
|
+
"text": "string"
|
|
1682
|
+
},
|
|
1683
|
+
"default": "false",
|
|
1684
|
+
"description": "(ScwComponent) whether or not to look to attributes for responsive sizing\nviewport | element | none",
|
|
1685
|
+
"attribute": "responsive"
|
|
1712
1686
|
},
|
|
1713
1687
|
{
|
|
1714
1688
|
"kind": "field",
|
|
@@ -1716,11 +1690,7 @@
|
|
|
1716
1690
|
"type": {
|
|
1717
1691
|
"text": "ResponsiveElement | undefined"
|
|
1718
1692
|
},
|
|
1719
|
-
"description": "responsive element"
|
|
1720
|
-
"inheritedFrom": {
|
|
1721
|
-
"name": "ScwComponent",
|
|
1722
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
1723
|
-
}
|
|
1693
|
+
"description": "responsive element"
|
|
1724
1694
|
},
|
|
1725
1695
|
{
|
|
1726
1696
|
"kind": "field",
|
|
@@ -1728,11 +1698,7 @@
|
|
|
1728
1698
|
"type": {
|
|
1729
1699
|
"text": "LightDomMutationObserver | undefined"
|
|
1730
1700
|
},
|
|
1731
|
-
"description": "(ScwComponent) Light Dom Mutation Observer"
|
|
1732
|
-
"inheritedFrom": {
|
|
1733
|
-
"name": "ScwComponent",
|
|
1734
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
1735
|
-
}
|
|
1701
|
+
"description": "(ScwComponent) Light Dom Mutation Observer"
|
|
1736
1702
|
},
|
|
1737
1703
|
{
|
|
1738
1704
|
"kind": "field",
|
|
@@ -1742,20 +1708,22 @@
|
|
|
1742
1708
|
},
|
|
1743
1709
|
"default": "false",
|
|
1744
1710
|
"description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM for inputs)",
|
|
1745
|
-
"attribute": "dynamic"
|
|
1746
|
-
"inheritedFrom": {
|
|
1747
|
-
"name": "ScwComponent",
|
|
1748
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
1749
|
-
}
|
|
1711
|
+
"attribute": "dynamic"
|
|
1750
1712
|
},
|
|
1751
1713
|
{
|
|
1752
1714
|
"kind": "method",
|
|
1753
1715
|
"name": "parseAndValidateLightDom",
|
|
1754
|
-
"description": "parseLightDom is a hook for classes extending this one to add\nother parsers and validations"
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1716
|
+
"description": "parseLightDom is a hook for classes extending this one to add\nother parsers and validations"
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
"kind": "field",
|
|
1720
|
+
"name": "element",
|
|
1721
|
+
"type": {
|
|
1722
|
+
"text": "string"
|
|
1723
|
+
},
|
|
1724
|
+
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
1725
|
+
"attribute": "element",
|
|
1726
|
+
"reflects": true
|
|
1759
1727
|
},
|
|
1760
1728
|
{
|
|
1761
1729
|
"kind": "method",
|
|
@@ -1769,11 +1737,7 @@
|
|
|
1769
1737
|
"description": "describing warning"
|
|
1770
1738
|
}
|
|
1771
1739
|
],
|
|
1772
|
-
"description": "handles warnings...things wrong with formatting, ADA, etc..."
|
|
1773
|
-
"inheritedFrom": {
|
|
1774
|
-
"name": "ScwComponent",
|
|
1775
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
1776
|
-
}
|
|
1740
|
+
"description": "handles warnings...things wrong with formatting, ADA, etc..."
|
|
1777
1741
|
},
|
|
1778
1742
|
{
|
|
1779
1743
|
"kind": "field",
|
|
@@ -1781,19 +1745,9 @@
|
|
|
1781
1745
|
"type": {
|
|
1782
1746
|
"text": "string | undefined"
|
|
1783
1747
|
},
|
|
1784
|
-
"description": "retain the last warning sent...good for testing."
|
|
1785
|
-
"inheritedFrom": {
|
|
1786
|
-
"name": "ScwComponent",
|
|
1787
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
1788
|
-
}
|
|
1748
|
+
"description": "retain the last warning sent...good for testing."
|
|
1789
1749
|
}
|
|
1790
1750
|
],
|
|
1791
|
-
"superclass": {
|
|
1792
|
-
"name": "ScwComponent",
|
|
1793
|
-
"module": "/src/scw-component/ScwComponent"
|
|
1794
|
-
},
|
|
1795
|
-
"tagName": "scw-center-component",
|
|
1796
|
-
"customElement": true,
|
|
1797
1751
|
"attributes": [
|
|
1798
1752
|
{
|
|
1799
1753
|
"name": "aria-label",
|
|
@@ -1802,11 +1756,7 @@
|
|
|
1802
1756
|
},
|
|
1803
1757
|
"default": "''",
|
|
1804
1758
|
"description": "(ScwComponent) Main text within component",
|
|
1805
|
-
"fieldName": "ariaLabel"
|
|
1806
|
-
"inheritedFrom": {
|
|
1807
|
-
"name": "ScwComponent",
|
|
1808
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
1809
|
-
}
|
|
1759
|
+
"fieldName": "ariaLabel"
|
|
1810
1760
|
},
|
|
1811
1761
|
{
|
|
1812
1762
|
"name": "aria-disabled",
|
|
@@ -1815,11 +1765,7 @@
|
|
|
1815
1765
|
},
|
|
1816
1766
|
"default": "'false'",
|
|
1817
1767
|
"description": "(ScwComponent) Disables the component however it disables",
|
|
1818
|
-
"fieldName": "ariaDisabled"
|
|
1819
|
-
"inheritedFrom": {
|
|
1820
|
-
"name": "ScwComponent",
|
|
1821
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
1822
|
-
}
|
|
1768
|
+
"fieldName": "ariaDisabled"
|
|
1823
1769
|
},
|
|
1824
1770
|
{
|
|
1825
1771
|
"name": "responsive",
|
|
@@ -1828,11 +1774,7 @@
|
|
|
1828
1774
|
},
|
|
1829
1775
|
"default": "false",
|
|
1830
1776
|
"description": "(ScwComponent) whether or not to look to attributes for responsive sizing\nviewport | element | none",
|
|
1831
|
-
"fieldName": "responsive"
|
|
1832
|
-
"inheritedFrom": {
|
|
1833
|
-
"name": "ScwComponent",
|
|
1834
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
1835
|
-
}
|
|
1777
|
+
"fieldName": "responsive"
|
|
1836
1778
|
},
|
|
1837
1779
|
{
|
|
1838
1780
|
"name": "dynamic",
|
|
@@ -1841,11 +1783,7 @@
|
|
|
1841
1783
|
},
|
|
1842
1784
|
"default": "false",
|
|
1843
1785
|
"description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM for inputs)",
|
|
1844
|
-
"fieldName": "dynamic"
|
|
1845
|
-
"inheritedFrom": {
|
|
1846
|
-
"name": "ScwComponent",
|
|
1847
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
1848
|
-
}
|
|
1786
|
+
"fieldName": "dynamic"
|
|
1849
1787
|
},
|
|
1850
1788
|
{
|
|
1851
1789
|
"name": "element",
|
|
@@ -1853,13 +1791,15 @@
|
|
|
1853
1791
|
"text": "string"
|
|
1854
1792
|
},
|
|
1855
1793
|
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
1856
|
-
"fieldName": "element"
|
|
1857
|
-
"inheritedFrom": {
|
|
1858
|
-
"name": "ScwComponent",
|
|
1859
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
1860
|
-
}
|
|
1794
|
+
"fieldName": "element"
|
|
1861
1795
|
}
|
|
1862
|
-
]
|
|
1796
|
+
],
|
|
1797
|
+
"superclass": {
|
|
1798
|
+
"name": "LitElement",
|
|
1799
|
+
"package": "lit"
|
|
1800
|
+
},
|
|
1801
|
+
"tagName": "scw-component",
|
|
1802
|
+
"customElement": true
|
|
1863
1803
|
}
|
|
1864
1804
|
],
|
|
1865
1805
|
"exports": [
|
|
@@ -1867,36 +1807,79 @@
|
|
|
1867
1807
|
"kind": "js",
|
|
1868
1808
|
"name": "default",
|
|
1869
1809
|
"declaration": {
|
|
1870
|
-
"name": "
|
|
1871
|
-
"module": "src/scw-
|
|
1810
|
+
"name": "ScwComponent",
|
|
1811
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1872
1812
|
}
|
|
1873
1813
|
}
|
|
1874
1814
|
]
|
|
1875
1815
|
},
|
|
1876
1816
|
{
|
|
1877
1817
|
"kind": "javascript-module",
|
|
1878
|
-
"path": "src/scw-
|
|
1818
|
+
"path": "src/scw-component/scw-component-interface.ts",
|
|
1819
|
+
"declarations": [],
|
|
1820
|
+
"exports": [
|
|
1821
|
+
{
|
|
1822
|
+
"kind": "js",
|
|
1823
|
+
"name": "default",
|
|
1824
|
+
"declaration": {
|
|
1825
|
+
"name": "ScwComponentInterface",
|
|
1826
|
+
"module": "src/scw-component/scw-component-interface.ts"
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
]
|
|
1830
|
+
},
|
|
1831
|
+
{
|
|
1832
|
+
"kind": "javascript-module",
|
|
1833
|
+
"path": "src/scw-component/scw-component.ts",
|
|
1879
1834
|
"declarations": [],
|
|
1880
1835
|
"exports": [
|
|
1881
1836
|
{
|
|
1882
1837
|
"kind": "custom-element-definition",
|
|
1883
|
-
"name": "scw-
|
|
1838
|
+
"name": "scw-component",
|
|
1884
1839
|
"declaration": {
|
|
1885
|
-
"name": "
|
|
1886
|
-
"module": "/src/scw-
|
|
1840
|
+
"name": "ScwComponent",
|
|
1841
|
+
"module": "/src/scw-component/ScwComponent"
|
|
1887
1842
|
}
|
|
1888
1843
|
}
|
|
1889
1844
|
]
|
|
1890
1845
|
},
|
|
1891
1846
|
{
|
|
1892
1847
|
"kind": "javascript-module",
|
|
1893
|
-
"path": "src/scw-component/
|
|
1848
|
+
"path": "src/scw-center-component/ScwCenterComponent.ts",
|
|
1894
1849
|
"declarations": [
|
|
1895
1850
|
{
|
|
1896
1851
|
"kind": "class",
|
|
1897
|
-
"description": "
|
|
1898
|
-
"name": "
|
|
1852
|
+
"description": "ScwCenterComponent",
|
|
1853
|
+
"name": "ScwCenterComponent",
|
|
1899
1854
|
"members": [
|
|
1855
|
+
{
|
|
1856
|
+
"kind": "field",
|
|
1857
|
+
"name": "element",
|
|
1858
|
+
"type": {
|
|
1859
|
+
"text": "string"
|
|
1860
|
+
},
|
|
1861
|
+
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
1862
|
+
"attribute": "element",
|
|
1863
|
+
"reflects": true,
|
|
1864
|
+
"inheritedFrom": {
|
|
1865
|
+
"name": "ScwComponent",
|
|
1866
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1867
|
+
}
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
"kind": "field",
|
|
1871
|
+
"name": "responsive",
|
|
1872
|
+
"type": {
|
|
1873
|
+
"text": "string"
|
|
1874
|
+
},
|
|
1875
|
+
"default": "true",
|
|
1876
|
+
"description": "(ScwComponent) whether or not to look to attributes for responsive sizing\nviewport | element | none",
|
|
1877
|
+
"attribute": "responsive",
|
|
1878
|
+
"inheritedFrom": {
|
|
1879
|
+
"name": "ScwComponent",
|
|
1880
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1881
|
+
}
|
|
1882
|
+
},
|
|
1900
1883
|
{
|
|
1901
1884
|
"kind": "field",
|
|
1902
1885
|
"name": "ariaLabel",
|
|
@@ -1906,7 +1889,11 @@
|
|
|
1906
1889
|
"default": "''",
|
|
1907
1890
|
"description": "(ScwComponent) Main text within component",
|
|
1908
1891
|
"attribute": "aria-label",
|
|
1909
|
-
"reflects": true
|
|
1892
|
+
"reflects": true,
|
|
1893
|
+
"inheritedFrom": {
|
|
1894
|
+
"name": "ScwComponent",
|
|
1895
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1896
|
+
}
|
|
1910
1897
|
},
|
|
1911
1898
|
{
|
|
1912
1899
|
"kind": "field",
|
|
@@ -1916,17 +1903,11 @@
|
|
|
1916
1903
|
},
|
|
1917
1904
|
"default": "'false'",
|
|
1918
1905
|
"description": "(ScwComponent) Disables the component however it disables",
|
|
1919
|
-
"attribute": "aria-disabled"
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
"type": {
|
|
1925
|
-
"text": "string"
|
|
1926
|
-
},
|
|
1927
|
-
"default": "false",
|
|
1928
|
-
"description": "(ScwComponent) whether or not to look to attributes for responsive sizing\nviewport | element | none",
|
|
1929
|
-
"attribute": "responsive"
|
|
1906
|
+
"attribute": "aria-disabled",
|
|
1907
|
+
"inheritedFrom": {
|
|
1908
|
+
"name": "ScwComponent",
|
|
1909
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1910
|
+
}
|
|
1930
1911
|
},
|
|
1931
1912
|
{
|
|
1932
1913
|
"kind": "field",
|
|
@@ -1934,7 +1915,11 @@
|
|
|
1934
1915
|
"type": {
|
|
1935
1916
|
"text": "ResponsiveElement | undefined"
|
|
1936
1917
|
},
|
|
1937
|
-
"description": "responsive element"
|
|
1918
|
+
"description": "responsive element",
|
|
1919
|
+
"inheritedFrom": {
|
|
1920
|
+
"name": "ScwComponent",
|
|
1921
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1922
|
+
}
|
|
1938
1923
|
},
|
|
1939
1924
|
{
|
|
1940
1925
|
"kind": "field",
|
|
@@ -1942,7 +1927,11 @@
|
|
|
1942
1927
|
"type": {
|
|
1943
1928
|
"text": "LightDomMutationObserver | undefined"
|
|
1944
1929
|
},
|
|
1945
|
-
"description": "(ScwComponent) Light Dom Mutation Observer"
|
|
1930
|
+
"description": "(ScwComponent) Light Dom Mutation Observer",
|
|
1931
|
+
"inheritedFrom": {
|
|
1932
|
+
"name": "ScwComponent",
|
|
1933
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1934
|
+
}
|
|
1946
1935
|
},
|
|
1947
1936
|
{
|
|
1948
1937
|
"kind": "field",
|
|
@@ -1952,22 +1941,20 @@
|
|
|
1952
1941
|
},
|
|
1953
1942
|
"default": "false",
|
|
1954
1943
|
"description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM for inputs)",
|
|
1955
|
-
"attribute": "dynamic"
|
|
1944
|
+
"attribute": "dynamic",
|
|
1945
|
+
"inheritedFrom": {
|
|
1946
|
+
"name": "ScwComponent",
|
|
1947
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1948
|
+
}
|
|
1956
1949
|
},
|
|
1957
1950
|
{
|
|
1958
1951
|
"kind": "method",
|
|
1959
1952
|
"name": "parseAndValidateLightDom",
|
|
1960
|
-
"description": "parseLightDom is a hook for classes extending this one to add\nother parsers and validations"
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
"type": {
|
|
1966
|
-
"text": "string"
|
|
1967
|
-
},
|
|
1968
|
-
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
1969
|
-
"attribute": "element",
|
|
1970
|
-
"reflects": true
|
|
1953
|
+
"description": "parseLightDom is a hook for classes extending this one to add\nother parsers and validations",
|
|
1954
|
+
"inheritedFrom": {
|
|
1955
|
+
"name": "ScwComponent",
|
|
1956
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1957
|
+
}
|
|
1971
1958
|
},
|
|
1972
1959
|
{
|
|
1973
1960
|
"kind": "method",
|
|
@@ -1981,7 +1968,11 @@
|
|
|
1981
1968
|
"description": "describing warning"
|
|
1982
1969
|
}
|
|
1983
1970
|
],
|
|
1984
|
-
"description": "handles warnings...things wrong with formatting, ADA, etc..."
|
|
1971
|
+
"description": "handles warnings...things wrong with formatting, ADA, etc...",
|
|
1972
|
+
"inheritedFrom": {
|
|
1973
|
+
"name": "ScwComponent",
|
|
1974
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1975
|
+
}
|
|
1985
1976
|
},
|
|
1986
1977
|
{
|
|
1987
1978
|
"kind": "field",
|
|
@@ -1989,9 +1980,19 @@
|
|
|
1989
1980
|
"type": {
|
|
1990
1981
|
"text": "string | undefined"
|
|
1991
1982
|
},
|
|
1992
|
-
"description": "retain the last warning sent...good for testing."
|
|
1983
|
+
"description": "retain the last warning sent...good for testing.",
|
|
1984
|
+
"inheritedFrom": {
|
|
1985
|
+
"name": "ScwComponent",
|
|
1986
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
1987
|
+
}
|
|
1993
1988
|
}
|
|
1994
1989
|
],
|
|
1990
|
+
"superclass": {
|
|
1991
|
+
"name": "ScwComponent",
|
|
1992
|
+
"module": "/src/scw-component/ScwComponent"
|
|
1993
|
+
},
|
|
1994
|
+
"tagName": "scw-center-component",
|
|
1995
|
+
"customElement": true,
|
|
1995
1996
|
"attributes": [
|
|
1996
1997
|
{
|
|
1997
1998
|
"name": "aria-label",
|
|
@@ -2000,7 +2001,11 @@
|
|
|
2000
2001
|
},
|
|
2001
2002
|
"default": "''",
|
|
2002
2003
|
"description": "(ScwComponent) Main text within component",
|
|
2003
|
-
"fieldName": "ariaLabel"
|
|
2004
|
+
"fieldName": "ariaLabel",
|
|
2005
|
+
"inheritedFrom": {
|
|
2006
|
+
"name": "ScwComponent",
|
|
2007
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
2008
|
+
}
|
|
2004
2009
|
},
|
|
2005
2010
|
{
|
|
2006
2011
|
"name": "aria-disabled",
|
|
@@ -2009,7 +2014,11 @@
|
|
|
2009
2014
|
},
|
|
2010
2015
|
"default": "'false'",
|
|
2011
2016
|
"description": "(ScwComponent) Disables the component however it disables",
|
|
2012
|
-
"fieldName": "ariaDisabled"
|
|
2017
|
+
"fieldName": "ariaDisabled",
|
|
2018
|
+
"inheritedFrom": {
|
|
2019
|
+
"name": "ScwComponent",
|
|
2020
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
2021
|
+
}
|
|
2013
2022
|
},
|
|
2014
2023
|
{
|
|
2015
2024
|
"name": "responsive",
|
|
@@ -2018,7 +2027,11 @@
|
|
|
2018
2027
|
},
|
|
2019
2028
|
"default": "false",
|
|
2020
2029
|
"description": "(ScwComponent) whether or not to look to attributes for responsive sizing\nviewport | element | none",
|
|
2021
|
-
"fieldName": "responsive"
|
|
2030
|
+
"fieldName": "responsive",
|
|
2031
|
+
"inheritedFrom": {
|
|
2032
|
+
"name": "ScwComponent",
|
|
2033
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
2034
|
+
}
|
|
2022
2035
|
},
|
|
2023
2036
|
{
|
|
2024
2037
|
"name": "dynamic",
|
|
@@ -2027,7 +2040,11 @@
|
|
|
2027
2040
|
},
|
|
2028
2041
|
"default": "false",
|
|
2029
2042
|
"description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM for inputs)",
|
|
2030
|
-
"fieldName": "dynamic"
|
|
2043
|
+
"fieldName": "dynamic",
|
|
2044
|
+
"inheritedFrom": {
|
|
2045
|
+
"name": "ScwComponent",
|
|
2046
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
2047
|
+
}
|
|
2031
2048
|
},
|
|
2032
2049
|
{
|
|
2033
2050
|
"name": "element",
|
|
@@ -2035,15 +2052,13 @@
|
|
|
2035
2052
|
"text": "string"
|
|
2036
2053
|
},
|
|
2037
2054
|
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
2038
|
-
"fieldName": "element"
|
|
2055
|
+
"fieldName": "element",
|
|
2056
|
+
"inheritedFrom": {
|
|
2057
|
+
"name": "ScwComponent",
|
|
2058
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
2059
|
+
}
|
|
2039
2060
|
}
|
|
2040
|
-
]
|
|
2041
|
-
"superclass": {
|
|
2042
|
-
"name": "LitElement",
|
|
2043
|
-
"package": "lit"
|
|
2044
|
-
},
|
|
2045
|
-
"tagName": "scw-component",
|
|
2046
|
-
"customElement": true
|
|
2061
|
+
]
|
|
2047
2062
|
}
|
|
2048
2063
|
],
|
|
2049
2064
|
"exports": [
|
|
@@ -2051,38 +2066,23 @@
|
|
|
2051
2066
|
"kind": "js",
|
|
2052
2067
|
"name": "default",
|
|
2053
2068
|
"declaration": {
|
|
2054
|
-
"name": "
|
|
2055
|
-
"module": "src/scw-component/
|
|
2056
|
-
}
|
|
2057
|
-
}
|
|
2058
|
-
]
|
|
2059
|
-
},
|
|
2060
|
-
{
|
|
2061
|
-
"kind": "javascript-module",
|
|
2062
|
-
"path": "src/scw-component/scw-component-interface.ts",
|
|
2063
|
-
"declarations": [],
|
|
2064
|
-
"exports": [
|
|
2065
|
-
{
|
|
2066
|
-
"kind": "js",
|
|
2067
|
-
"name": "default",
|
|
2068
|
-
"declaration": {
|
|
2069
|
-
"name": "ScwComponentInterface",
|
|
2070
|
-
"module": "src/scw-component/scw-component-interface.ts"
|
|
2069
|
+
"name": "ScwCenterComponent",
|
|
2070
|
+
"module": "src/scw-center-component/ScwCenterComponent.ts"
|
|
2071
2071
|
}
|
|
2072
2072
|
}
|
|
2073
2073
|
]
|
|
2074
2074
|
},
|
|
2075
2075
|
{
|
|
2076
2076
|
"kind": "javascript-module",
|
|
2077
|
-
"path": "src/scw-component/scw-component.ts",
|
|
2077
|
+
"path": "src/scw-center-component/scw-center-component.ts",
|
|
2078
2078
|
"declarations": [],
|
|
2079
2079
|
"exports": [
|
|
2080
2080
|
{
|
|
2081
2081
|
"kind": "custom-element-definition",
|
|
2082
|
-
"name": "scw-component",
|
|
2082
|
+
"name": "scw-center-component",
|
|
2083
2083
|
"declaration": {
|
|
2084
|
-
"name": "
|
|
2085
|
-
"module": "/src/scw-component/
|
|
2084
|
+
"name": "ScwCenterComponent",
|
|
2085
|
+
"module": "/src/scw-center-component/ScwCenterComponent.js"
|
|
2086
2086
|
}
|
|
2087
2087
|
}
|
|
2088
2088
|
]
|
|
@@ -4793,120 +4793,217 @@
|
|
|
4793
4793
|
},
|
|
4794
4794
|
{
|
|
4795
4795
|
"kind": "javascript-module",
|
|
4796
|
-
"path": "src/scw-
|
|
4796
|
+
"path": "src/scw-image/ScwImage.ts",
|
|
4797
4797
|
"declarations": [
|
|
4798
4798
|
{
|
|
4799
4799
|
"kind": "class",
|
|
4800
|
-
"description": "
|
|
4801
|
-
"name": "
|
|
4802
|
-
"
|
|
4800
|
+
"description": "ScwImage",
|
|
4801
|
+
"name": "ScwImage",
|
|
4802
|
+
"slots": [
|
|
4803
4803
|
{
|
|
4804
|
-
"description": "
|
|
4805
|
-
"name": "
|
|
4804
|
+
"description": "Base image to display. This is generally a LQIP (Low Quality Image Placeholder)",
|
|
4805
|
+
"name": "default",
|
|
4806
|
+
"default": "\"<img src alt />\""
|
|
4806
4807
|
},
|
|
4807
4808
|
{
|
|
4808
|
-
"description": "
|
|
4809
|
-
"name": "
|
|
4809
|
+
"description": "(OPTIONAL) anchor (for SEO) will determine the label, href, and target in addition to size and label.",
|
|
4810
|
+
"name": "default",
|
|
4811
|
+
"default": "\"<a href target><source /><img src alt /></a>\""
|
|
4810
4812
|
}
|
|
4811
4813
|
],
|
|
4812
4814
|
"members": [
|
|
4813
4815
|
{
|
|
4814
4816
|
"kind": "field",
|
|
4815
|
-
"name": "
|
|
4817
|
+
"name": "aspectRatio",
|
|
4816
4818
|
"type": {
|
|
4817
|
-
"text": "
|
|
4819
|
+
"text": "string | undefined"
|
|
4818
4820
|
},
|
|
4819
|
-
"description": "
|
|
4821
|
+
"description": "(ScwImage) Width:Height ratio",
|
|
4822
|
+
"attribute": "aspect-ratio"
|
|
4820
4823
|
},
|
|
4821
4824
|
{
|
|
4822
4825
|
"kind": "field",
|
|
4823
|
-
"name": "
|
|
4826
|
+
"name": "objectFit",
|
|
4824
4827
|
"type": {
|
|
4825
|
-
"text": "
|
|
4828
|
+
"text": "string | undefined"
|
|
4826
4829
|
},
|
|
4827
|
-
"description": "
|
|
4830
|
+
"description": "(ScwImage) Object Fit CSS",
|
|
4831
|
+
"attribute": "object-fit"
|
|
4828
4832
|
},
|
|
4829
4833
|
{
|
|
4830
4834
|
"kind": "field",
|
|
4831
|
-
"name": "
|
|
4835
|
+
"name": "objectPosition",
|
|
4832
4836
|
"type": {
|
|
4833
|
-
"text": "
|
|
4837
|
+
"text": "string | undefined"
|
|
4834
4838
|
},
|
|
4835
|
-
"description": "(
|
|
4836
|
-
"attribute": "
|
|
4839
|
+
"description": "(ScwImage) Object Position CSS",
|
|
4840
|
+
"attribute": "object-position"
|
|
4837
4841
|
},
|
|
4838
4842
|
{
|
|
4839
4843
|
"kind": "field",
|
|
4840
|
-
"name": "
|
|
4844
|
+
"name": "srcset",
|
|
4841
4845
|
"type": {
|
|
4842
|
-
"text": "
|
|
4846
|
+
"text": "string | undefined"
|
|
4843
4847
|
},
|
|
4844
|
-
"description": "(
|
|
4845
|
-
"attribute": "
|
|
4848
|
+
"description": "(ScwImage) srcset of image",
|
|
4849
|
+
"attribute": "srcset"
|
|
4846
4850
|
},
|
|
4847
4851
|
{
|
|
4848
4852
|
"kind": "field",
|
|
4849
|
-
"name": "
|
|
4853
|
+
"name": "src",
|
|
4850
4854
|
"type": {
|
|
4851
|
-
"text": "
|
|
4855
|
+
"text": "string | undefined"
|
|
4852
4856
|
},
|
|
4853
|
-
"description": "(
|
|
4854
|
-
"attribute": "
|
|
4857
|
+
"description": "(ScwImage) src of image",
|
|
4858
|
+
"attribute": "src"
|
|
4855
4859
|
},
|
|
4856
4860
|
{
|
|
4857
4861
|
"kind": "field",
|
|
4858
|
-
"name": "
|
|
4862
|
+
"name": "alt",
|
|
4859
4863
|
"type": {
|
|
4860
|
-
"text": "
|
|
4864
|
+
"text": "string | undefined"
|
|
4861
4865
|
},
|
|
4862
|
-
"description": "(
|
|
4863
|
-
"attribute": "
|
|
4866
|
+
"description": "(ScwImage) alt of image",
|
|
4867
|
+
"attribute": "alt"
|
|
4864
4868
|
},
|
|
4865
4869
|
{
|
|
4866
4870
|
"kind": "field",
|
|
4867
|
-
"name": "
|
|
4871
|
+
"name": "preload",
|
|
4868
4872
|
"type": {
|
|
4869
4873
|
"text": "boolean"
|
|
4870
4874
|
},
|
|
4871
4875
|
"default": "false",
|
|
4872
|
-
"description": "(
|
|
4873
|
-
"attribute": "
|
|
4876
|
+
"description": "(ScwImage) whether to preload image or not",
|
|
4877
|
+
"attribute": "preload"
|
|
4878
|
+
},
|
|
4879
|
+
{
|
|
4880
|
+
"kind": "field",
|
|
4881
|
+
"name": "noLazyLoading",
|
|
4882
|
+
"type": {
|
|
4883
|
+
"text": "boolean"
|
|
4884
|
+
},
|
|
4885
|
+
"default": "false",
|
|
4886
|
+
"description": "(ScwImage) turn off lazy loading",
|
|
4887
|
+
"attribute": "no-lazy-loading"
|
|
4888
|
+
},
|
|
4889
|
+
{
|
|
4890
|
+
"kind": "field",
|
|
4891
|
+
"name": "resizeBreakpoints",
|
|
4892
|
+
"default": "`${\n BreakpointNames.breakpointSM}, ${\n BreakpointNames.breakpointMD}, ${\n BreakpointNames.breakpointLG}`",
|
|
4893
|
+
"description": "(ScwImage) establishes when (via the name of the breakpoint)\nthe image figures out it's sizing for srcset",
|
|
4894
|
+
"attribute": "resize-breakpoints"
|
|
4895
|
+
},
|
|
4896
|
+
{
|
|
4897
|
+
"kind": "field",
|
|
4898
|
+
"name": "_imageSize",
|
|
4899
|
+
"type": {
|
|
4900
|
+
"text": "number | undefined"
|
|
4901
|
+
},
|
|
4902
|
+
"description": "(ScwImage) the image size derived from resize observer"
|
|
4903
|
+
},
|
|
4904
|
+
{
|
|
4905
|
+
"kind": "field",
|
|
4906
|
+
"name": "_isIntersecting",
|
|
4907
|
+
"type": {
|
|
4908
|
+
"text": "boolean"
|
|
4909
|
+
},
|
|
4910
|
+
"default": "false",
|
|
4911
|
+
"description": "(ScwImage) determines whether element is intersecting"
|
|
4912
|
+
},
|
|
4913
|
+
{
|
|
4914
|
+
"kind": "field",
|
|
4915
|
+
"name": "_hasIntersected",
|
|
4916
|
+
"type": {
|
|
4917
|
+
"text": "boolean"
|
|
4918
|
+
},
|
|
4919
|
+
"default": "false",
|
|
4920
|
+
"description": "(ScwImage) determines whether element has intersected once"
|
|
4921
|
+
},
|
|
4922
|
+
{
|
|
4923
|
+
"kind": "field",
|
|
4924
|
+
"name": "_resizeBreakpoints",
|
|
4925
|
+
"type": {
|
|
4926
|
+
"text": "Breakpoint[]"
|
|
4927
|
+
},
|
|
4928
|
+
"default": "[]"
|
|
4874
4929
|
},
|
|
4875
4930
|
{
|
|
4876
4931
|
"kind": "method",
|
|
4877
|
-
"name": "
|
|
4878
|
-
"description": "
|
|
4932
|
+
"name": "parseAndValidateLightDom",
|
|
4933
|
+
"description": "parseAndValidateLightDom, just adding local parsing and validation",
|
|
4934
|
+
"inheritedFrom": {
|
|
4935
|
+
"name": "ScwComponent",
|
|
4936
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
4937
|
+
}
|
|
4879
4938
|
},
|
|
4880
4939
|
{
|
|
4881
4940
|
"kind": "method",
|
|
4882
|
-
"name": "
|
|
4883
|
-
"description": "
|
|
4941
|
+
"name": "establishResizeBreakpoints",
|
|
4942
|
+
"description": "Establish Resize Breakpoints"
|
|
4884
4943
|
},
|
|
4885
4944
|
{
|
|
4886
4945
|
"kind": "method",
|
|
4887
|
-
"name": "
|
|
4946
|
+
"name": "_resizeHandler",
|
|
4947
|
+
"description": "handle resize events"
|
|
4948
|
+
},
|
|
4949
|
+
{
|
|
4950
|
+
"kind": "method",
|
|
4951
|
+
"name": "_intersectionHandler",
|
|
4888
4952
|
"parameters": [
|
|
4889
4953
|
{
|
|
4890
|
-
"name": "
|
|
4954
|
+
"name": "intersecting",
|
|
4891
4955
|
"type": {
|
|
4892
|
-
"text": "
|
|
4956
|
+
"text": "boolean"
|
|
4957
|
+
}
|
|
4958
|
+
},
|
|
4959
|
+
{
|
|
4960
|
+
"name": "ratio",
|
|
4961
|
+
"type": {
|
|
4962
|
+
"text": "number"
|
|
4893
4963
|
}
|
|
4894
4964
|
}
|
|
4895
4965
|
],
|
|
4896
|
-
"description": "handle
|
|
4966
|
+
"description": "handle resize events"
|
|
4897
4967
|
},
|
|
4898
4968
|
{
|
|
4899
4969
|
"kind": "method",
|
|
4900
|
-
"name": "
|
|
4901
|
-
"
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
"
|
|
4905
|
-
"text": "KeyboardEvent"
|
|
4906
|
-
}
|
|
4970
|
+
"name": "renderContainerCss",
|
|
4971
|
+
"description": "Translate aspect ration string to a number (percent)",
|
|
4972
|
+
"return": {
|
|
4973
|
+
"type": {
|
|
4974
|
+
"text": "string"
|
|
4907
4975
|
}
|
|
4908
|
-
|
|
4909
|
-
|
|
4976
|
+
}
|
|
4977
|
+
},
|
|
4978
|
+
{
|
|
4979
|
+
"kind": "method",
|
|
4980
|
+
"name": "renderImgCss",
|
|
4981
|
+
"return": {
|
|
4982
|
+
"type": {
|
|
4983
|
+
"text": "string"
|
|
4984
|
+
}
|
|
4985
|
+
},
|
|
4986
|
+
"description": "Css for image"
|
|
4987
|
+
},
|
|
4988
|
+
{
|
|
4989
|
+
"kind": "method",
|
|
4990
|
+
"name": "renderPreload",
|
|
4991
|
+
"return": {
|
|
4992
|
+
"type": {
|
|
4993
|
+
"text": "object"
|
|
4994
|
+
}
|
|
4995
|
+
},
|
|
4996
|
+
"description": "render preload link"
|
|
4997
|
+
},
|
|
4998
|
+
{
|
|
4999
|
+
"kind": "method",
|
|
5000
|
+
"name": "renderContent",
|
|
5001
|
+
"return": {
|
|
5002
|
+
"type": {
|
|
5003
|
+
"text": "object"
|
|
5004
|
+
}
|
|
5005
|
+
},
|
|
5006
|
+
"description": "render"
|
|
4910
5007
|
},
|
|
4911
5008
|
{
|
|
4912
5009
|
"kind": "field",
|
|
@@ -4924,307 +5021,115 @@
|
|
|
4924
5021
|
},
|
|
4925
5022
|
{
|
|
4926
5023
|
"kind": "field",
|
|
4927
|
-
"name": "
|
|
5024
|
+
"name": "href",
|
|
4928
5025
|
"type": {
|
|
4929
|
-
"text": "
|
|
5026
|
+
"text": "string | undefined"
|
|
4930
5027
|
},
|
|
4931
|
-
"description": "(
|
|
4932
|
-
"attribute": "
|
|
5028
|
+
"description": "(ScwLinkBase) link location - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
5029
|
+
"attribute": "href",
|
|
4933
5030
|
"reflects": true,
|
|
4934
5031
|
"inheritedFrom": {
|
|
4935
|
-
"name": "
|
|
4936
|
-
"module": "src/scw-
|
|
5032
|
+
"name": "ScwLinkBase",
|
|
5033
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
4937
5034
|
}
|
|
4938
5035
|
},
|
|
4939
5036
|
{
|
|
4940
5037
|
"kind": "field",
|
|
4941
|
-
"name": "
|
|
5038
|
+
"name": "target",
|
|
4942
5039
|
"type": {
|
|
4943
|
-
"text": "
|
|
5040
|
+
"text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
4944
5041
|
},
|
|
4945
|
-
"description": "(
|
|
4946
|
-
"attribute": "
|
|
5042
|
+
"description": "(ScwLinkBase) link target - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
5043
|
+
"attribute": "target",
|
|
5044
|
+
"reflects": true,
|
|
4947
5045
|
"inheritedFrom": {
|
|
4948
|
-
"name": "
|
|
4949
|
-
"module": "src/scw-
|
|
5046
|
+
"name": "ScwLinkBase",
|
|
5047
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
4950
5048
|
}
|
|
4951
5049
|
},
|
|
4952
5050
|
{
|
|
4953
5051
|
"kind": "field",
|
|
4954
|
-
"name": "
|
|
5052
|
+
"name": "linkAnchor",
|
|
4955
5053
|
"type": {
|
|
4956
|
-
"text": "
|
|
5054
|
+
"text": "HTMLAnchorElement | undefined"
|
|
4957
5055
|
},
|
|
4958
|
-
"default": "''",
|
|
4959
|
-
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
4960
|
-
"attribute": "value",
|
|
4961
5056
|
"inheritedFrom": {
|
|
4962
|
-
"name": "
|
|
4963
|
-
"module": "src/scw-
|
|
5057
|
+
"name": "ScwLinkBase",
|
|
5058
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
4964
5059
|
}
|
|
4965
5060
|
},
|
|
4966
5061
|
{
|
|
4967
|
-
"kind": "
|
|
4968
|
-
"name": "
|
|
4969
|
-
"
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
5062
|
+
"kind": "method",
|
|
5063
|
+
"name": "cancelEvent",
|
|
5064
|
+
"parameters": [
|
|
5065
|
+
{
|
|
5066
|
+
"name": "evt",
|
|
5067
|
+
"type": {
|
|
5068
|
+
"text": "Event"
|
|
5069
|
+
}
|
|
5070
|
+
}
|
|
5071
|
+
],
|
|
5072
|
+
"description": "cancel event",
|
|
4975
5073
|
"inheritedFrom": {
|
|
4976
|
-
"name": "
|
|
4977
|
-
"module": "src/scw-
|
|
5074
|
+
"name": "ScwLinkBase",
|
|
5075
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
4978
5076
|
}
|
|
4979
5077
|
},
|
|
4980
5078
|
{
|
|
4981
|
-
"kind": "
|
|
4982
|
-
"name": "
|
|
4983
|
-
"
|
|
4984
|
-
|
|
5079
|
+
"kind": "method",
|
|
5080
|
+
"name": "isLink",
|
|
5081
|
+
"description": "Should this element be rendered as a link...",
|
|
5082
|
+
"return": {
|
|
5083
|
+
"type": {
|
|
5084
|
+
"text": "boolean"
|
|
5085
|
+
}
|
|
4985
5086
|
},
|
|
4986
|
-
"default": "false",
|
|
4987
|
-
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
4988
|
-
"attribute": "selected",
|
|
4989
5087
|
"inheritedFrom": {
|
|
4990
|
-
"name": "
|
|
4991
|
-
"module": "src/scw-
|
|
5088
|
+
"name": "ScwLinkBase",
|
|
5089
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
4992
5090
|
}
|
|
4993
5091
|
},
|
|
4994
5092
|
{
|
|
4995
|
-
"kind": "
|
|
4996
|
-
"name": "
|
|
4997
|
-
"
|
|
4998
|
-
"
|
|
5093
|
+
"kind": "method",
|
|
5094
|
+
"name": "renderLink",
|
|
5095
|
+
"return": {
|
|
5096
|
+
"type": {
|
|
5097
|
+
"text": "object"
|
|
5098
|
+
}
|
|
4999
5099
|
},
|
|
5000
|
-
"
|
|
5001
|
-
|
|
5002
|
-
|
|
5100
|
+
"parameters": [
|
|
5101
|
+
{
|
|
5102
|
+
"name": "children",
|
|
5103
|
+
"type": {
|
|
5104
|
+
"text": "object"
|
|
5105
|
+
}
|
|
5106
|
+
},
|
|
5107
|
+
{
|
|
5108
|
+
"name": "styles",
|
|
5109
|
+
"optional": true,
|
|
5110
|
+
"type": {
|
|
5111
|
+
"text": "string"
|
|
5112
|
+
}
|
|
5113
|
+
}
|
|
5114
|
+
],
|
|
5115
|
+
"description": "renderLink",
|
|
5003
5116
|
"inheritedFrom": {
|
|
5004
|
-
"name": "
|
|
5005
|
-
"module": "src/scw-
|
|
5006
|
-
}
|
|
5007
|
-
},
|
|
5008
|
-
{
|
|
5009
|
-
"kind": "field",
|
|
5010
|
-
"name": "required",
|
|
5011
|
-
"type": {
|
|
5012
|
-
"text": "boolean"
|
|
5013
|
-
},
|
|
5014
|
-
"default": "false",
|
|
5015
|
-
"description": "(ScwFormComponent) required state management",
|
|
5016
|
-
"attribute": "required",
|
|
5017
|
-
"inheritedFrom": {
|
|
5018
|
-
"name": "ScwFormComponent",
|
|
5019
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5020
|
-
}
|
|
5021
|
-
},
|
|
5022
|
-
{
|
|
5023
|
-
"kind": "field",
|
|
5024
|
-
"name": "requiredLabel",
|
|
5025
|
-
"type": {
|
|
5026
|
-
"text": "string"
|
|
5027
|
-
},
|
|
5028
|
-
"default": "' *'",
|
|
5029
|
-
"description": "(ScwFormComponent) label indicator for required",
|
|
5030
|
-
"attribute": "required-label",
|
|
5031
|
-
"inheritedFrom": {
|
|
5032
|
-
"name": "ScwFormComponent",
|
|
5033
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5034
|
-
}
|
|
5035
|
-
},
|
|
5036
|
-
{
|
|
5037
|
-
"kind": "field",
|
|
5038
|
-
"name": "requiredFeedback",
|
|
5039
|
-
"type": {
|
|
5040
|
-
"text": "string | undefined"
|
|
5041
|
-
},
|
|
5042
|
-
"description": "(ScwFormComponent) label indicator for required",
|
|
5043
|
-
"attribute": "required-feedback",
|
|
5044
|
-
"inheritedFrom": {
|
|
5045
|
-
"name": "ScwFormComponent",
|
|
5046
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5047
|
-
}
|
|
5048
|
-
},
|
|
5049
|
-
{
|
|
5050
|
-
"kind": "field",
|
|
5051
|
-
"name": "feedback",
|
|
5052
|
-
"type": {
|
|
5053
|
-
"text": "string | undefined"
|
|
5054
|
-
},
|
|
5055
|
-
"description": "the text to use for feedback",
|
|
5056
|
-
"inheritedFrom": {
|
|
5057
|
-
"name": "ScwFormComponent",
|
|
5058
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5059
|
-
}
|
|
5060
|
-
},
|
|
5061
|
-
{
|
|
5062
|
-
"kind": "field",
|
|
5063
|
-
"name": "focused",
|
|
5064
|
-
"type": {
|
|
5065
|
-
"text": "boolean"
|
|
5066
|
-
},
|
|
5067
|
-
"default": "false",
|
|
5068
|
-
"description": "determines whether the input is focused or not",
|
|
5069
|
-
"inheritedFrom": {
|
|
5070
|
-
"name": "ScwFormComponent",
|
|
5071
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5072
|
-
}
|
|
5073
|
-
},
|
|
5074
|
-
{
|
|
5075
|
-
"kind": "field",
|
|
5076
|
-
"name": "invalid",
|
|
5077
|
-
"type": {
|
|
5078
|
-
"text": "boolean"
|
|
5079
|
-
},
|
|
5080
|
-
"default": "false",
|
|
5081
|
-
"description": "whether this form element is valid, passed validation",
|
|
5082
|
-
"inheritedFrom": {
|
|
5083
|
-
"name": "ScwFormComponent",
|
|
5084
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5117
|
+
"name": "ScwLinkBase",
|
|
5118
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
5085
5119
|
}
|
|
5086
5120
|
},
|
|
5087
5121
|
{
|
|
5088
5122
|
"kind": "method",
|
|
5089
|
-
"name": "
|
|
5123
|
+
"name": "focus",
|
|
5090
5124
|
"return": {
|
|
5091
5125
|
"type": {
|
|
5092
5126
|
"text": "void"
|
|
5093
5127
|
}
|
|
5094
5128
|
},
|
|
5095
|
-
"
|
|
5096
|
-
{
|
|
5097
|
-
"name": "formData",
|
|
5098
|
-
"type": {
|
|
5099
|
-
"text": "Object"
|
|
5100
|
-
}
|
|
5101
|
-
}
|
|
5102
|
-
],
|
|
5103
|
-
"description": "(ScwFormComponent) each form element to decorates the final data object",
|
|
5104
|
-
"inheritedFrom": {
|
|
5105
|
-
"name": "ScwFormComponent",
|
|
5106
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5107
|
-
}
|
|
5108
|
-
},
|
|
5109
|
-
{
|
|
5110
|
-
"kind": "method",
|
|
5111
|
-
"name": "findIfRequired",
|
|
5112
|
-
"return": {
|
|
5113
|
-
"type": {
|
|
5114
|
-
"text": "boolean"
|
|
5115
|
-
}
|
|
5116
|
-
},
|
|
5117
|
-
"description": "Check to see if form element is required w/o knowing if there is validation",
|
|
5118
|
-
"inheritedFrom": {
|
|
5119
|
-
"name": "ScwFormComponent",
|
|
5120
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5121
|
-
}
|
|
5122
|
-
},
|
|
5123
|
-
{
|
|
5124
|
-
"kind": "method",
|
|
5125
|
-
"name": "findValidationRules",
|
|
5126
|
-
"return": {
|
|
5127
|
-
"type": {
|
|
5128
|
-
"text": "ScwValidation | undefined"
|
|
5129
|
-
}
|
|
5130
|
-
},
|
|
5131
|
-
"description": "Find validation child if there...",
|
|
5132
|
-
"inheritedFrom": {
|
|
5133
|
-
"name": "ScwFormComponent",
|
|
5134
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5135
|
-
}
|
|
5136
|
-
},
|
|
5137
|
-
{
|
|
5138
|
-
"kind": "method",
|
|
5139
|
-
"name": "validate",
|
|
5140
|
-
"return": {
|
|
5141
|
-
"type": {
|
|
5142
|
-
"text": "ValidationResult[]"
|
|
5143
|
-
}
|
|
5144
|
-
},
|
|
5145
|
-
"description": "run the validation rules if there...",
|
|
5146
|
-
"parameters": [
|
|
5147
|
-
{
|
|
5148
|
-
"name": "value",
|
|
5149
|
-
"type": {
|
|
5150
|
-
"text": "string"
|
|
5151
|
-
}
|
|
5152
|
-
}
|
|
5153
|
-
],
|
|
5154
|
-
"inheritedFrom": {
|
|
5155
|
-
"name": "ScwFormComponent",
|
|
5156
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5157
|
-
}
|
|
5158
|
-
},
|
|
5159
|
-
{
|
|
5160
|
-
"kind": "method",
|
|
5161
|
-
"name": "createValidateRule",
|
|
5162
|
-
"return": {
|
|
5163
|
-
"type": {
|
|
5164
|
-
"text": "ScwValidate"
|
|
5165
|
-
}
|
|
5166
|
-
},
|
|
5167
|
-
"description": "create a validation rule from scratch",
|
|
5168
|
-
"inheritedFrom": {
|
|
5169
|
-
"name": "ScwFormComponent",
|
|
5170
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5171
|
-
}
|
|
5172
|
-
},
|
|
5173
|
-
{
|
|
5174
|
-
"kind": "method",
|
|
5175
|
-
"name": "addValidationRule",
|
|
5176
|
-
"parameters": [
|
|
5177
|
-
{
|
|
5178
|
-
"name": "rule",
|
|
5179
|
-
"type": {
|
|
5180
|
-
"text": "ScwValidate"
|
|
5181
|
-
}
|
|
5182
|
-
}
|
|
5183
|
-
],
|
|
5184
|
-
"description": "add validation to to child validation (create if not there)",
|
|
5185
|
-
"inheritedFrom": {
|
|
5186
|
-
"name": "ScwFormComponent",
|
|
5187
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5188
|
-
}
|
|
5189
|
-
},
|
|
5190
|
-
{
|
|
5191
|
-
"kind": "method",
|
|
5192
|
-
"name": "createAndAddValidationRule",
|
|
5193
|
-
"parameters": [
|
|
5194
|
-
{
|
|
5195
|
-
"name": "type",
|
|
5196
|
-
"type": {
|
|
5197
|
-
"text": "ValidationTypes"
|
|
5198
|
-
}
|
|
5199
|
-
},
|
|
5200
|
-
{
|
|
5201
|
-
"name": "feedbackOverride",
|
|
5202
|
-
"optional": true,
|
|
5203
|
-
"type": {
|
|
5204
|
-
"text": "string"
|
|
5205
|
-
}
|
|
5206
|
-
}
|
|
5207
|
-
],
|
|
5208
|
-
"description": "create a validation of a certain type...",
|
|
5209
|
-
"inheritedFrom": {
|
|
5210
|
-
"name": "ScwFormComponent",
|
|
5211
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5212
|
-
}
|
|
5213
|
-
},
|
|
5214
|
-
{
|
|
5215
|
-
"kind": "method",
|
|
5216
|
-
"name": "removeValidationRule",
|
|
5217
|
-
"parameters": [
|
|
5218
|
-
{
|
|
5219
|
-
"name": "type",
|
|
5220
|
-
"type": {
|
|
5221
|
-
"text": "ValidationTypes"
|
|
5222
|
-
}
|
|
5223
|
-
}
|
|
5224
|
-
],
|
|
5129
|
+
"description": "focus",
|
|
5225
5130
|
"inheritedFrom": {
|
|
5226
|
-
"name": "
|
|
5227
|
-
"module": "src/scw-
|
|
5131
|
+
"name": "ScwLinkBase",
|
|
5132
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
5228
5133
|
}
|
|
5229
5134
|
},
|
|
5230
5135
|
{
|
|
@@ -5308,15 +5213,6 @@
|
|
|
5308
5213
|
"module": "src/scw-component/ScwComponent.ts"
|
|
5309
5214
|
}
|
|
5310
5215
|
},
|
|
5311
|
-
{
|
|
5312
|
-
"kind": "method",
|
|
5313
|
-
"name": "parseAndValidateLightDom",
|
|
5314
|
-
"description": "parseLightDom is a hook for classes extending this one to add\nother parsers and validations",
|
|
5315
|
-
"inheritedFrom": {
|
|
5316
|
-
"name": "ScwComponent",
|
|
5317
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
5318
|
-
}
|
|
5319
|
-
},
|
|
5320
5216
|
{
|
|
5321
5217
|
"kind": "method",
|
|
5322
5218
|
"name": "warn",
|
|
@@ -5348,174 +5244,101 @@
|
|
|
5348
5244
|
}
|
|
5349
5245
|
}
|
|
5350
5246
|
],
|
|
5351
|
-
"events": [
|
|
5352
|
-
{
|
|
5353
|
-
"description": "input recieved focus",
|
|
5354
|
-
"name": "scw-focus"
|
|
5355
|
-
},
|
|
5356
|
-
{
|
|
5357
|
-
"description": "input lost focus",
|
|
5358
|
-
"name": "scw-blur"
|
|
5359
|
-
},
|
|
5360
|
-
{
|
|
5361
|
-
"description": "value has changed (not necessarily value displayed)",
|
|
5362
|
-
"name": "scw-value-change"
|
|
5363
|
-
}
|
|
5364
|
-
],
|
|
5365
5247
|
"attributes": [
|
|
5366
5248
|
{
|
|
5367
|
-
"name": "
|
|
5249
|
+
"name": "aspect-ratio",
|
|
5368
5250
|
"type": {
|
|
5369
|
-
"text": "
|
|
5251
|
+
"text": "string | undefined"
|
|
5370
5252
|
},
|
|
5371
|
-
"description": "(
|
|
5372
|
-
"fieldName": "
|
|
5253
|
+
"description": "(ScwImage) Width:Height ratio",
|
|
5254
|
+
"fieldName": "aspectRatio"
|
|
5373
5255
|
},
|
|
5374
5256
|
{
|
|
5375
|
-
"name": "
|
|
5257
|
+
"name": "object-fit",
|
|
5376
5258
|
"type": {
|
|
5377
|
-
"text": "
|
|
5259
|
+
"text": "string | undefined"
|
|
5378
5260
|
},
|
|
5379
|
-
"description": "(
|
|
5380
|
-
"fieldName": "
|
|
5381
|
-
},
|
|
5382
|
-
{
|
|
5383
|
-
"name": "autocomplete",
|
|
5384
|
-
"type": {
|
|
5385
|
-
"text": "AutoCompleteValues"
|
|
5386
|
-
},
|
|
5387
|
-
"description": "(ScwInput) automatically completes input",
|
|
5388
|
-
"fieldName": "autoComplete"
|
|
5389
|
-
},
|
|
5390
|
-
{
|
|
5391
|
-
"name": "autocorrect",
|
|
5392
|
-
"type": {
|
|
5393
|
-
"text": "AutoCorrectValues"
|
|
5394
|
-
},
|
|
5395
|
-
"description": "(ScwInput) automatically correct input",
|
|
5396
|
-
"fieldName": "autoCorrect"
|
|
5397
|
-
},
|
|
5398
|
-
{
|
|
5399
|
-
"name": "autofocus",
|
|
5400
|
-
"type": {
|
|
5401
|
-
"text": "boolean"
|
|
5402
|
-
},
|
|
5403
|
-
"default": "false",
|
|
5404
|
-
"description": "(ScwInput) automatically focus input",
|
|
5405
|
-
"fieldName": "autoFocus"
|
|
5261
|
+
"description": "(ScwImage) Object Fit CSS",
|
|
5262
|
+
"fieldName": "objectFit"
|
|
5406
5263
|
},
|
|
5407
5264
|
{
|
|
5408
|
-
"name": "
|
|
5265
|
+
"name": "object-position",
|
|
5409
5266
|
"type": {
|
|
5410
|
-
"text": "
|
|
5267
|
+
"text": "string | undefined"
|
|
5411
5268
|
},
|
|
5412
|
-
"description": "(
|
|
5413
|
-
"fieldName": "
|
|
5414
|
-
"inheritedFrom": {
|
|
5415
|
-
"name": "ScwFormComponent",
|
|
5416
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5417
|
-
}
|
|
5269
|
+
"description": "(ScwImage) Object Position CSS",
|
|
5270
|
+
"fieldName": "objectPosition"
|
|
5418
5271
|
},
|
|
5419
5272
|
{
|
|
5420
|
-
"name": "
|
|
5273
|
+
"name": "srcset",
|
|
5421
5274
|
"type": {
|
|
5422
5275
|
"text": "string | undefined"
|
|
5423
5276
|
},
|
|
5424
|
-
"description": "(
|
|
5425
|
-
"fieldName": "
|
|
5426
|
-
"inheritedFrom": {
|
|
5427
|
-
"name": "ScwFormComponent",
|
|
5428
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5429
|
-
}
|
|
5277
|
+
"description": "(ScwImage) srcset of image",
|
|
5278
|
+
"fieldName": "srcset"
|
|
5430
5279
|
},
|
|
5431
5280
|
{
|
|
5432
|
-
"name": "
|
|
5281
|
+
"name": "src",
|
|
5433
5282
|
"type": {
|
|
5434
|
-
"text": "string"
|
|
5283
|
+
"text": "string | undefined"
|
|
5435
5284
|
},
|
|
5436
|
-
"
|
|
5437
|
-
"
|
|
5438
|
-
"fieldName": "value",
|
|
5439
|
-
"inheritedFrom": {
|
|
5440
|
-
"name": "ScwFormComponent",
|
|
5441
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5442
|
-
}
|
|
5285
|
+
"description": "(ScwImage) src of image",
|
|
5286
|
+
"fieldName": "src"
|
|
5443
5287
|
},
|
|
5444
5288
|
{
|
|
5445
|
-
"name": "
|
|
5289
|
+
"name": "alt",
|
|
5446
5290
|
"type": {
|
|
5447
|
-
"text": "string"
|
|
5291
|
+
"text": "string | undefined"
|
|
5448
5292
|
},
|
|
5449
|
-
"
|
|
5450
|
-
"
|
|
5451
|
-
"fieldName": "placeholder",
|
|
5452
|
-
"inheritedFrom": {
|
|
5453
|
-
"name": "ScwFormComponent",
|
|
5454
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5455
|
-
}
|
|
5293
|
+
"description": "(ScwImage) alt of image",
|
|
5294
|
+
"fieldName": "alt"
|
|
5456
5295
|
},
|
|
5457
5296
|
{
|
|
5458
|
-
"name": "
|
|
5297
|
+
"name": "preload",
|
|
5459
5298
|
"type": {
|
|
5460
5299
|
"text": "boolean"
|
|
5461
5300
|
},
|
|
5462
5301
|
"default": "false",
|
|
5463
|
-
"description": "(
|
|
5464
|
-
"fieldName": "
|
|
5465
|
-
"inheritedFrom": {
|
|
5466
|
-
"name": "ScwFormComponent",
|
|
5467
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5468
|
-
}
|
|
5302
|
+
"description": "(ScwImage) whether to preload image or not",
|
|
5303
|
+
"fieldName": "preload"
|
|
5469
5304
|
},
|
|
5470
5305
|
{
|
|
5471
|
-
"name": "
|
|
5306
|
+
"name": "no-lazy-loading",
|
|
5472
5307
|
"type": {
|
|
5473
5308
|
"text": "boolean"
|
|
5474
5309
|
},
|
|
5475
5310
|
"default": "false",
|
|
5476
|
-
"description": "(
|
|
5477
|
-
"fieldName": "
|
|
5478
|
-
"inheritedFrom": {
|
|
5479
|
-
"name": "ScwFormComponent",
|
|
5480
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5481
|
-
}
|
|
5311
|
+
"description": "(ScwImage) turn off lazy loading",
|
|
5312
|
+
"fieldName": "noLazyLoading"
|
|
5482
5313
|
},
|
|
5483
5314
|
{
|
|
5484
|
-
"name": "
|
|
5485
|
-
"
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
"default": "false",
|
|
5489
|
-
"description": "(ScwFormComponent) required state management",
|
|
5490
|
-
"fieldName": "required",
|
|
5491
|
-
"inheritedFrom": {
|
|
5492
|
-
"name": "ScwFormComponent",
|
|
5493
|
-
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5494
|
-
}
|
|
5315
|
+
"name": "resize-breakpoints",
|
|
5316
|
+
"default": "`${\n BreakpointNames.breakpointSM}, ${\n BreakpointNames.breakpointMD}, ${\n BreakpointNames.breakpointLG}`",
|
|
5317
|
+
"description": "(ScwImage) establishes when (via the name of the breakpoint)\nthe image figures out it's sizing for srcset",
|
|
5318
|
+
"fieldName": "resizeBreakpoints"
|
|
5495
5319
|
},
|
|
5496
5320
|
{
|
|
5497
|
-
"name": "
|
|
5321
|
+
"name": "href",
|
|
5498
5322
|
"type": {
|
|
5499
|
-
"text": "string"
|
|
5323
|
+
"text": "string | undefined"
|
|
5500
5324
|
},
|
|
5501
|
-
"
|
|
5502
|
-
"
|
|
5503
|
-
"fieldName": "requiredLabel",
|
|
5325
|
+
"description": "(ScwLinkBase) link location - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
5326
|
+
"fieldName": "href",
|
|
5504
5327
|
"inheritedFrom": {
|
|
5505
|
-
"name": "
|
|
5506
|
-
"module": "src/scw-
|
|
5328
|
+
"name": "ScwLinkBase",
|
|
5329
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
5507
5330
|
}
|
|
5508
5331
|
},
|
|
5509
5332
|
{
|
|
5510
|
-
"name": "
|
|
5333
|
+
"name": "target",
|
|
5511
5334
|
"type": {
|
|
5512
|
-
"text": "
|
|
5335
|
+
"text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
5513
5336
|
},
|
|
5514
|
-
"description": "(
|
|
5515
|
-
"fieldName": "
|
|
5337
|
+
"description": "(ScwLinkBase) link target - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
5338
|
+
"fieldName": "target",
|
|
5516
5339
|
"inheritedFrom": {
|
|
5517
|
-
"name": "
|
|
5518
|
-
"module": "src/scw-
|
|
5340
|
+
"name": "ScwLinkBase",
|
|
5341
|
+
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
5519
5342
|
}
|
|
5520
5343
|
},
|
|
5521
5344
|
{
|
|
@@ -5584,10 +5407,10 @@
|
|
|
5584
5407
|
}
|
|
5585
5408
|
],
|
|
5586
5409
|
"superclass": {
|
|
5587
|
-
"name": "
|
|
5588
|
-
"module": "/src/scw-
|
|
5410
|
+
"name": "ScwLinkBase",
|
|
5411
|
+
"module": "/src/scw-link-base/ScwLinkBase"
|
|
5589
5412
|
},
|
|
5590
|
-
"tagName": "scw-
|
|
5413
|
+
"tagName": "scw-image",
|
|
5591
5414
|
"customElement": true
|
|
5592
5415
|
}
|
|
5593
5416
|
],
|
|
@@ -5596,351 +5419,524 @@
|
|
|
5596
5419
|
"kind": "js",
|
|
5597
5420
|
"name": "default",
|
|
5598
5421
|
"declaration": {
|
|
5599
|
-
"name": "
|
|
5600
|
-
"module": "src/scw-
|
|
5422
|
+
"name": "ScwImage",
|
|
5423
|
+
"module": "src/scw-image/ScwImage.ts"
|
|
5601
5424
|
}
|
|
5602
5425
|
}
|
|
5603
5426
|
]
|
|
5604
5427
|
},
|
|
5605
5428
|
{
|
|
5606
5429
|
"kind": "javascript-module",
|
|
5607
|
-
"path": "src/scw-image/
|
|
5430
|
+
"path": "src/scw-image/scw-image-src-parser.ts",
|
|
5431
|
+
"declarations": [
|
|
5432
|
+
{
|
|
5433
|
+
"kind": "function",
|
|
5434
|
+
"name": "parseSrcAttributes",
|
|
5435
|
+
"return": {
|
|
5436
|
+
"type": {
|
|
5437
|
+
"text": "string"
|
|
5438
|
+
}
|
|
5439
|
+
},
|
|
5440
|
+
"parameters": [
|
|
5441
|
+
{
|
|
5442
|
+
"name": "scwPicture",
|
|
5443
|
+
"type": {
|
|
5444
|
+
"text": "ScwPicture"
|
|
5445
|
+
}
|
|
5446
|
+
}
|
|
5447
|
+
],
|
|
5448
|
+
"description": "parse attributes into an srcset"
|
|
5449
|
+
}
|
|
5450
|
+
],
|
|
5451
|
+
"exports": [
|
|
5452
|
+
{
|
|
5453
|
+
"kind": "js",
|
|
5454
|
+
"name": "default",
|
|
5455
|
+
"declaration": {
|
|
5456
|
+
"name": "parseSrcAttributes",
|
|
5457
|
+
"module": "src/scw-image/scw-image-src-parser.ts"
|
|
5458
|
+
}
|
|
5459
|
+
}
|
|
5460
|
+
]
|
|
5461
|
+
},
|
|
5462
|
+
{
|
|
5463
|
+
"kind": "javascript-module",
|
|
5464
|
+
"path": "src/scw-image/scw-image-validate.ts",
|
|
5465
|
+
"declarations": [
|
|
5466
|
+
{
|
|
5467
|
+
"kind": "function",
|
|
5468
|
+
"name": "validate",
|
|
5469
|
+
"parameters": [
|
|
5470
|
+
{
|
|
5471
|
+
"name": "image",
|
|
5472
|
+
"type": {
|
|
5473
|
+
"text": "ScwImage"
|
|
5474
|
+
}
|
|
5475
|
+
}
|
|
5476
|
+
],
|
|
5477
|
+
"description": "Validates properties for correct colors, design, and side"
|
|
5478
|
+
}
|
|
5479
|
+
],
|
|
5480
|
+
"exports": [
|
|
5481
|
+
{
|
|
5482
|
+
"kind": "js",
|
|
5483
|
+
"name": "default",
|
|
5484
|
+
"declaration": {
|
|
5485
|
+
"name": "validate",
|
|
5486
|
+
"module": "src/scw-image/scw-image-validate.ts"
|
|
5487
|
+
}
|
|
5488
|
+
}
|
|
5489
|
+
]
|
|
5490
|
+
},
|
|
5491
|
+
{
|
|
5492
|
+
"kind": "javascript-module",
|
|
5493
|
+
"path": "src/scw-image/scw-image.ts",
|
|
5494
|
+
"declarations": [],
|
|
5495
|
+
"exports": [
|
|
5496
|
+
{
|
|
5497
|
+
"kind": "custom-element-definition",
|
|
5498
|
+
"name": "scw-image",
|
|
5499
|
+
"declaration": {
|
|
5500
|
+
"name": "ScwImage",
|
|
5501
|
+
"module": "/src/scw-image/ScwImage.js"
|
|
5502
|
+
}
|
|
5503
|
+
}
|
|
5504
|
+
]
|
|
5505
|
+
},
|
|
5506
|
+
{
|
|
5507
|
+
"kind": "javascript-module",
|
|
5508
|
+
"path": "src/scw-input/scw-input.ts",
|
|
5608
5509
|
"declarations": [
|
|
5609
5510
|
{
|
|
5610
5511
|
"kind": "class",
|
|
5611
|
-
"description": "
|
|
5612
|
-
"name": "
|
|
5613
|
-
"
|
|
5512
|
+
"description": "ScwInput",
|
|
5513
|
+
"name": "ScwInput",
|
|
5514
|
+
"cssProperties": [
|
|
5614
5515
|
{
|
|
5615
|
-
"description": "
|
|
5616
|
-
"name": "
|
|
5617
|
-
"default": "\"<img src alt />\""
|
|
5516
|
+
"description": "controls the padding around text input",
|
|
5517
|
+
"name": "--scw-input-padding"
|
|
5618
5518
|
},
|
|
5619
5519
|
{
|
|
5620
|
-
"description": "
|
|
5621
|
-
"name": "
|
|
5622
|
-
"default": "\"<a href target><source /><img src alt /></a>\""
|
|
5520
|
+
"description": "minimum height of the textarea",
|
|
5521
|
+
"name": "--scw-min-height"
|
|
5623
5522
|
}
|
|
5624
5523
|
],
|
|
5625
5524
|
"members": [
|
|
5626
5525
|
{
|
|
5627
5526
|
"kind": "field",
|
|
5628
|
-
"name": "
|
|
5527
|
+
"name": "scwInputField",
|
|
5629
5528
|
"type": {
|
|
5630
|
-
"text": "
|
|
5529
|
+
"text": "any"
|
|
5631
5530
|
},
|
|
5632
|
-
"description": "
|
|
5633
|
-
"attribute": "aspect-ratio"
|
|
5531
|
+
"description": "scw-input-field with versioning suffix"
|
|
5634
5532
|
},
|
|
5635
5533
|
{
|
|
5636
5534
|
"kind": "field",
|
|
5637
|
-
"name": "
|
|
5535
|
+
"name": "scwInputLayout",
|
|
5638
5536
|
"type": {
|
|
5639
|
-
"text": "
|
|
5537
|
+
"text": "any"
|
|
5640
5538
|
},
|
|
5641
|
-
"description": "
|
|
5642
|
-
"attribute": "object-fit"
|
|
5539
|
+
"description": "scw-single-input-layout with versioning suffix"
|
|
5643
5540
|
},
|
|
5644
5541
|
{
|
|
5645
5542
|
"kind": "field",
|
|
5646
|
-
"name": "
|
|
5543
|
+
"name": "type",
|
|
5647
5544
|
"type": {
|
|
5648
|
-
"text": "
|
|
5545
|
+
"text": "InputTypes"
|
|
5649
5546
|
},
|
|
5650
|
-
"description": "(
|
|
5651
|
-
"attribute": "
|
|
5547
|
+
"description": "(ScwInputField) type of input field",
|
|
5548
|
+
"attribute": "type"
|
|
5652
5549
|
},
|
|
5653
5550
|
{
|
|
5654
5551
|
"kind": "field",
|
|
5655
|
-
"name": "
|
|
5552
|
+
"name": "autoCapitalize",
|
|
5656
5553
|
"type": {
|
|
5657
|
-
"text": "
|
|
5554
|
+
"text": "AutoCaptializeValues"
|
|
5658
5555
|
},
|
|
5659
|
-
"description": "(
|
|
5660
|
-
"attribute": "
|
|
5556
|
+
"description": "(ScwInput) automatically capitalize input",
|
|
5557
|
+
"attribute": "autocapitalize"
|
|
5661
5558
|
},
|
|
5662
5559
|
{
|
|
5663
5560
|
"kind": "field",
|
|
5664
|
-
"name": "
|
|
5561
|
+
"name": "autoComplete",
|
|
5665
5562
|
"type": {
|
|
5666
|
-
"text": "
|
|
5563
|
+
"text": "AutoCompleteValues"
|
|
5667
5564
|
},
|
|
5668
|
-
"description": "(
|
|
5669
|
-
"attribute": "
|
|
5565
|
+
"description": "(ScwInput) automatically completes input",
|
|
5566
|
+
"attribute": "autocomplete"
|
|
5670
5567
|
},
|
|
5671
5568
|
{
|
|
5672
5569
|
"kind": "field",
|
|
5673
|
-
"name": "
|
|
5570
|
+
"name": "autoCorrect",
|
|
5571
|
+
"type": {
|
|
5572
|
+
"text": "AutoCorrectValues"
|
|
5573
|
+
},
|
|
5574
|
+
"description": "(ScwInput) automatically correct input",
|
|
5575
|
+
"attribute": "autocorrect"
|
|
5576
|
+
},
|
|
5577
|
+
{
|
|
5578
|
+
"kind": "field",
|
|
5579
|
+
"name": "autoFocus",
|
|
5580
|
+
"type": {
|
|
5581
|
+
"text": "boolean"
|
|
5582
|
+
},
|
|
5583
|
+
"default": "false",
|
|
5584
|
+
"description": "(ScwInput) automatically focus input",
|
|
5585
|
+
"attribute": "autofocus"
|
|
5586
|
+
},
|
|
5587
|
+
{
|
|
5588
|
+
"kind": "method",
|
|
5589
|
+
"name": "_focusHandler",
|
|
5590
|
+
"description": "handle focus into input"
|
|
5591
|
+
},
|
|
5592
|
+
{
|
|
5593
|
+
"kind": "method",
|
|
5594
|
+
"name": "_blurHandler",
|
|
5595
|
+
"description": "handle blurs from input"
|
|
5596
|
+
},
|
|
5597
|
+
{
|
|
5598
|
+
"kind": "method",
|
|
5599
|
+
"name": "_valueChangeHandler",
|
|
5600
|
+
"parameters": [
|
|
5601
|
+
{
|
|
5602
|
+
"name": "evt",
|
|
5603
|
+
"type": {
|
|
5604
|
+
"text": "CustomEvent"
|
|
5605
|
+
}
|
|
5606
|
+
}
|
|
5607
|
+
],
|
|
5608
|
+
"description": "handle changes from input"
|
|
5609
|
+
},
|
|
5610
|
+
{
|
|
5611
|
+
"kind": "method",
|
|
5612
|
+
"name": "checkForSubmit",
|
|
5613
|
+
"parameters": [
|
|
5614
|
+
{
|
|
5615
|
+
"name": "evt",
|
|
5616
|
+
"type": {
|
|
5617
|
+
"text": "KeyboardEvent"
|
|
5618
|
+
}
|
|
5619
|
+
}
|
|
5620
|
+
],
|
|
5621
|
+
"description": "checkForSubmit"
|
|
5622
|
+
},
|
|
5623
|
+
{
|
|
5624
|
+
"kind": "field",
|
|
5625
|
+
"name": "element",
|
|
5626
|
+
"type": {
|
|
5627
|
+
"text": "string"
|
|
5628
|
+
},
|
|
5629
|
+
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
5630
|
+
"attribute": "element",
|
|
5631
|
+
"reflects": true,
|
|
5632
|
+
"inheritedFrom": {
|
|
5633
|
+
"name": "ScwComponent",
|
|
5634
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
5635
|
+
}
|
|
5636
|
+
},
|
|
5637
|
+
{
|
|
5638
|
+
"kind": "field",
|
|
5639
|
+
"name": "formType",
|
|
5640
|
+
"type": {
|
|
5641
|
+
"text": "ScwFormComponentTypes"
|
|
5642
|
+
},
|
|
5643
|
+
"description": "(ScwFormComponent) the usage in a form (& scw-form a query target)",
|
|
5644
|
+
"attribute": "form-type",
|
|
5645
|
+
"reflects": true,
|
|
5646
|
+
"inheritedFrom": {
|
|
5647
|
+
"name": "ScwFormComponent",
|
|
5648
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5649
|
+
}
|
|
5650
|
+
},
|
|
5651
|
+
{
|
|
5652
|
+
"kind": "field",
|
|
5653
|
+
"name": "name",
|
|
5674
5654
|
"type": {
|
|
5675
5655
|
"text": "string | undefined"
|
|
5676
5656
|
},
|
|
5677
|
-
"description": "(
|
|
5678
|
-
"attribute": "
|
|
5657
|
+
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
5658
|
+
"attribute": "name",
|
|
5659
|
+
"inheritedFrom": {
|
|
5660
|
+
"name": "ScwFormComponent",
|
|
5661
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5662
|
+
}
|
|
5679
5663
|
},
|
|
5680
5664
|
{
|
|
5681
5665
|
"kind": "field",
|
|
5682
|
-
"name": "
|
|
5666
|
+
"name": "value",
|
|
5667
|
+
"type": {
|
|
5668
|
+
"text": "string"
|
|
5669
|
+
},
|
|
5670
|
+
"default": "''",
|
|
5671
|
+
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
5672
|
+
"attribute": "value",
|
|
5673
|
+
"inheritedFrom": {
|
|
5674
|
+
"name": "ScwFormComponent",
|
|
5675
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5676
|
+
}
|
|
5677
|
+
},
|
|
5678
|
+
{
|
|
5679
|
+
"kind": "field",
|
|
5680
|
+
"name": "placeholder",
|
|
5681
|
+
"type": {
|
|
5682
|
+
"text": "string"
|
|
5683
|
+
},
|
|
5684
|
+
"default": "''",
|
|
5685
|
+
"description": "(ScwFormComponent) text showing when there is no value",
|
|
5686
|
+
"attribute": "placeholder",
|
|
5687
|
+
"inheritedFrom": {
|
|
5688
|
+
"name": "ScwFormComponent",
|
|
5689
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5690
|
+
}
|
|
5691
|
+
},
|
|
5692
|
+
{
|
|
5693
|
+
"kind": "field",
|
|
5694
|
+
"name": "selected",
|
|
5683
5695
|
"type": {
|
|
5684
5696
|
"text": "boolean"
|
|
5685
5697
|
},
|
|
5686
5698
|
"default": "false",
|
|
5687
|
-
"description": "(
|
|
5688
|
-
"attribute": "
|
|
5699
|
+
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
5700
|
+
"attribute": "selected",
|
|
5701
|
+
"inheritedFrom": {
|
|
5702
|
+
"name": "ScwFormComponent",
|
|
5703
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5704
|
+
}
|
|
5705
|
+
},
|
|
5706
|
+
{
|
|
5707
|
+
"kind": "field",
|
|
5708
|
+
"name": "readOnly",
|
|
5709
|
+
"type": {
|
|
5710
|
+
"text": "boolean"
|
|
5711
|
+
},
|
|
5712
|
+
"default": "false",
|
|
5713
|
+
"description": "(ScwFormComponent) read-only state management",
|
|
5714
|
+
"attribute": "read-only",
|
|
5715
|
+
"inheritedFrom": {
|
|
5716
|
+
"name": "ScwFormComponent",
|
|
5717
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5718
|
+
}
|
|
5689
5719
|
},
|
|
5690
5720
|
{
|
|
5691
5721
|
"kind": "field",
|
|
5692
|
-
"name": "
|
|
5722
|
+
"name": "required",
|
|
5693
5723
|
"type": {
|
|
5694
5724
|
"text": "boolean"
|
|
5695
5725
|
},
|
|
5696
5726
|
"default": "false",
|
|
5697
|
-
"description": "(
|
|
5698
|
-
"attribute": "
|
|
5727
|
+
"description": "(ScwFormComponent) required state management",
|
|
5728
|
+
"attribute": "required",
|
|
5729
|
+
"inheritedFrom": {
|
|
5730
|
+
"name": "ScwFormComponent",
|
|
5731
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5732
|
+
}
|
|
5699
5733
|
},
|
|
5700
5734
|
{
|
|
5701
5735
|
"kind": "field",
|
|
5702
|
-
"name": "
|
|
5703
|
-
"
|
|
5704
|
-
|
|
5705
|
-
|
|
5736
|
+
"name": "requiredLabel",
|
|
5737
|
+
"type": {
|
|
5738
|
+
"text": "string"
|
|
5739
|
+
},
|
|
5740
|
+
"default": "' *'",
|
|
5741
|
+
"description": "(ScwFormComponent) label indicator for required",
|
|
5742
|
+
"attribute": "required-label",
|
|
5743
|
+
"inheritedFrom": {
|
|
5744
|
+
"name": "ScwFormComponent",
|
|
5745
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5746
|
+
}
|
|
5706
5747
|
},
|
|
5707
5748
|
{
|
|
5708
5749
|
"kind": "field",
|
|
5709
|
-
"name": "
|
|
5750
|
+
"name": "requiredFeedback",
|
|
5710
5751
|
"type": {
|
|
5711
|
-
"text": "
|
|
5752
|
+
"text": "string | undefined"
|
|
5712
5753
|
},
|
|
5713
|
-
"description": "(
|
|
5754
|
+
"description": "(ScwFormComponent) label indicator for required",
|
|
5755
|
+
"attribute": "required-feedback",
|
|
5756
|
+
"inheritedFrom": {
|
|
5757
|
+
"name": "ScwFormComponent",
|
|
5758
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5759
|
+
}
|
|
5714
5760
|
},
|
|
5715
5761
|
{
|
|
5716
5762
|
"kind": "field",
|
|
5717
|
-
"name": "
|
|
5763
|
+
"name": "feedback",
|
|
5718
5764
|
"type": {
|
|
5719
|
-
"text": "
|
|
5765
|
+
"text": "string | undefined"
|
|
5720
5766
|
},
|
|
5721
|
-
"
|
|
5722
|
-
"
|
|
5767
|
+
"description": "the text to use for feedback",
|
|
5768
|
+
"inheritedFrom": {
|
|
5769
|
+
"name": "ScwFormComponent",
|
|
5770
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5771
|
+
}
|
|
5723
5772
|
},
|
|
5724
5773
|
{
|
|
5725
5774
|
"kind": "field",
|
|
5726
|
-
"name": "
|
|
5775
|
+
"name": "focused",
|
|
5727
5776
|
"type": {
|
|
5728
5777
|
"text": "boolean"
|
|
5729
5778
|
},
|
|
5730
5779
|
"default": "false",
|
|
5731
|
-
"description": "
|
|
5780
|
+
"description": "determines whether the input is focused or not",
|
|
5781
|
+
"inheritedFrom": {
|
|
5782
|
+
"name": "ScwFormComponent",
|
|
5783
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5784
|
+
}
|
|
5732
5785
|
},
|
|
5733
5786
|
{
|
|
5734
5787
|
"kind": "field",
|
|
5735
|
-
"name": "
|
|
5788
|
+
"name": "invalid",
|
|
5736
5789
|
"type": {
|
|
5737
|
-
"text": "
|
|
5790
|
+
"text": "boolean"
|
|
5738
5791
|
},
|
|
5739
|
-
"default": "
|
|
5740
|
-
|
|
5741
|
-
{
|
|
5742
|
-
"kind": "method",
|
|
5743
|
-
"name": "parseAndValidateLightDom",
|
|
5744
|
-
"description": "parseAndValidateLightDom, just adding local parsing and validation",
|
|
5792
|
+
"default": "false",
|
|
5793
|
+
"description": "whether this form element is valid, passed validation",
|
|
5745
5794
|
"inheritedFrom": {
|
|
5746
|
-
"name": "
|
|
5747
|
-
"module": "src/scw-component/
|
|
5795
|
+
"name": "ScwFormComponent",
|
|
5796
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5748
5797
|
}
|
|
5749
5798
|
},
|
|
5750
5799
|
{
|
|
5751
5800
|
"kind": "method",
|
|
5752
|
-
"name": "
|
|
5753
|
-
"
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
"description": "handle resize events"
|
|
5759
|
-
},
|
|
5760
|
-
{
|
|
5761
|
-
"kind": "method",
|
|
5762
|
-
"name": "_intersectionHandler",
|
|
5801
|
+
"name": "decorateValues",
|
|
5802
|
+
"return": {
|
|
5803
|
+
"type": {
|
|
5804
|
+
"text": "void"
|
|
5805
|
+
}
|
|
5806
|
+
},
|
|
5763
5807
|
"parameters": [
|
|
5764
5808
|
{
|
|
5765
|
-
"name": "
|
|
5766
|
-
"type": {
|
|
5767
|
-
"text": "boolean"
|
|
5768
|
-
}
|
|
5769
|
-
},
|
|
5770
|
-
{
|
|
5771
|
-
"name": "ratio",
|
|
5809
|
+
"name": "formData",
|
|
5772
5810
|
"type": {
|
|
5773
|
-
"text": "
|
|
5811
|
+
"text": "Object"
|
|
5774
5812
|
}
|
|
5775
5813
|
}
|
|
5776
5814
|
],
|
|
5777
|
-
"description": "
|
|
5815
|
+
"description": "(ScwFormComponent) each form element to decorates the final data object",
|
|
5816
|
+
"inheritedFrom": {
|
|
5817
|
+
"name": "ScwFormComponent",
|
|
5818
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5819
|
+
}
|
|
5778
5820
|
},
|
|
5779
5821
|
{
|
|
5780
5822
|
"kind": "method",
|
|
5781
|
-
"name": "
|
|
5782
|
-
"description": "Translate aspect ration string to a number (percent)",
|
|
5823
|
+
"name": "findIfRequired",
|
|
5783
5824
|
"return": {
|
|
5784
5825
|
"type": {
|
|
5785
|
-
"text": "
|
|
5826
|
+
"text": "boolean"
|
|
5786
5827
|
}
|
|
5828
|
+
},
|
|
5829
|
+
"description": "Check to see if form element is required w/o knowing if there is validation",
|
|
5830
|
+
"inheritedFrom": {
|
|
5831
|
+
"name": "ScwFormComponent",
|
|
5832
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5787
5833
|
}
|
|
5788
5834
|
},
|
|
5789
5835
|
{
|
|
5790
5836
|
"kind": "method",
|
|
5791
|
-
"name": "
|
|
5837
|
+
"name": "findValidationRules",
|
|
5792
5838
|
"return": {
|
|
5793
5839
|
"type": {
|
|
5794
|
-
"text": "
|
|
5840
|
+
"text": "ScwValidation | undefined"
|
|
5795
5841
|
}
|
|
5796
5842
|
},
|
|
5797
|
-
"description": "
|
|
5843
|
+
"description": "Find validation child if there...",
|
|
5844
|
+
"inheritedFrom": {
|
|
5845
|
+
"name": "ScwFormComponent",
|
|
5846
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5847
|
+
}
|
|
5798
5848
|
},
|
|
5799
5849
|
{
|
|
5800
5850
|
"kind": "method",
|
|
5801
|
-
"name": "
|
|
5851
|
+
"name": "validate",
|
|
5802
5852
|
"return": {
|
|
5803
5853
|
"type": {
|
|
5804
|
-
"text": "
|
|
5854
|
+
"text": "ValidationResult[]"
|
|
5805
5855
|
}
|
|
5806
5856
|
},
|
|
5807
|
-
"description": "
|
|
5857
|
+
"description": "run the validation rules if there...",
|
|
5858
|
+
"parameters": [
|
|
5859
|
+
{
|
|
5860
|
+
"name": "value",
|
|
5861
|
+
"type": {
|
|
5862
|
+
"text": "string"
|
|
5863
|
+
}
|
|
5864
|
+
}
|
|
5865
|
+
],
|
|
5866
|
+
"inheritedFrom": {
|
|
5867
|
+
"name": "ScwFormComponent",
|
|
5868
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5869
|
+
}
|
|
5808
5870
|
},
|
|
5809
5871
|
{
|
|
5810
5872
|
"kind": "method",
|
|
5811
|
-
"name": "
|
|
5873
|
+
"name": "createValidateRule",
|
|
5812
5874
|
"return": {
|
|
5813
5875
|
"type": {
|
|
5814
|
-
"text": "
|
|
5876
|
+
"text": "ScwValidate"
|
|
5815
5877
|
}
|
|
5816
5878
|
},
|
|
5817
|
-
"description": "
|
|
5818
|
-
},
|
|
5819
|
-
{
|
|
5820
|
-
"kind": "field",
|
|
5821
|
-
"name": "element",
|
|
5822
|
-
"type": {
|
|
5823
|
-
"text": "string"
|
|
5824
|
-
},
|
|
5825
|
-
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
5826
|
-
"attribute": "element",
|
|
5827
|
-
"reflects": true,
|
|
5828
|
-
"inheritedFrom": {
|
|
5829
|
-
"name": "ScwComponent",
|
|
5830
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
5831
|
-
}
|
|
5832
|
-
},
|
|
5833
|
-
{
|
|
5834
|
-
"kind": "field",
|
|
5835
|
-
"name": "href",
|
|
5836
|
-
"type": {
|
|
5837
|
-
"text": "string | undefined"
|
|
5838
|
-
},
|
|
5839
|
-
"description": "(ScwLinkBase) link location - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
5840
|
-
"attribute": "href",
|
|
5841
|
-
"reflects": true,
|
|
5842
|
-
"inheritedFrom": {
|
|
5843
|
-
"name": "ScwLinkBase",
|
|
5844
|
-
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
5845
|
-
}
|
|
5846
|
-
},
|
|
5847
|
-
{
|
|
5848
|
-
"kind": "field",
|
|
5849
|
-
"name": "target",
|
|
5850
|
-
"type": {
|
|
5851
|
-
"text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
5852
|
-
},
|
|
5853
|
-
"description": "(ScwLinkBase) link target - private\n...should not be able to be set directly b/c scu-link should use this",
|
|
5854
|
-
"attribute": "target",
|
|
5855
|
-
"reflects": true,
|
|
5856
|
-
"inheritedFrom": {
|
|
5857
|
-
"name": "ScwLinkBase",
|
|
5858
|
-
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
5859
|
-
}
|
|
5860
|
-
},
|
|
5861
|
-
{
|
|
5862
|
-
"kind": "field",
|
|
5863
|
-
"name": "linkAnchor",
|
|
5864
|
-
"type": {
|
|
5865
|
-
"text": "HTMLAnchorElement | undefined"
|
|
5866
|
-
},
|
|
5879
|
+
"description": "create a validation rule from scratch",
|
|
5867
5880
|
"inheritedFrom": {
|
|
5868
|
-
"name": "
|
|
5869
|
-
"module": "src/scw-
|
|
5881
|
+
"name": "ScwFormComponent",
|
|
5882
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5870
5883
|
}
|
|
5871
5884
|
},
|
|
5872
5885
|
{
|
|
5873
5886
|
"kind": "method",
|
|
5874
|
-
"name": "
|
|
5887
|
+
"name": "addValidationRule",
|
|
5875
5888
|
"parameters": [
|
|
5876
5889
|
{
|
|
5877
|
-
"name": "
|
|
5890
|
+
"name": "rule",
|
|
5878
5891
|
"type": {
|
|
5879
|
-
"text": "
|
|
5892
|
+
"text": "ScwValidate"
|
|
5880
5893
|
}
|
|
5881
5894
|
}
|
|
5882
5895
|
],
|
|
5883
|
-
"description": "
|
|
5884
|
-
"inheritedFrom": {
|
|
5885
|
-
"name": "ScwLinkBase",
|
|
5886
|
-
"module": "src/scw-link-base/ScwLinkBase.ts"
|
|
5887
|
-
}
|
|
5888
|
-
},
|
|
5889
|
-
{
|
|
5890
|
-
"kind": "method",
|
|
5891
|
-
"name": "isLink",
|
|
5892
|
-
"description": "Should this element be rendered as a link...",
|
|
5893
|
-
"return": {
|
|
5894
|
-
"type": {
|
|
5895
|
-
"text": "boolean"
|
|
5896
|
-
}
|
|
5897
|
-
},
|
|
5896
|
+
"description": "add validation to to child validation (create if not there)",
|
|
5898
5897
|
"inheritedFrom": {
|
|
5899
|
-
"name": "
|
|
5900
|
-
"module": "src/scw-
|
|
5898
|
+
"name": "ScwFormComponent",
|
|
5899
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5901
5900
|
}
|
|
5902
5901
|
},
|
|
5903
5902
|
{
|
|
5904
5903
|
"kind": "method",
|
|
5905
|
-
"name": "
|
|
5906
|
-
"return": {
|
|
5907
|
-
"type": {
|
|
5908
|
-
"text": "object"
|
|
5909
|
-
}
|
|
5910
|
-
},
|
|
5904
|
+
"name": "createAndAddValidationRule",
|
|
5911
5905
|
"parameters": [
|
|
5912
5906
|
{
|
|
5913
|
-
"name": "
|
|
5907
|
+
"name": "type",
|
|
5914
5908
|
"type": {
|
|
5915
|
-
"text": "
|
|
5909
|
+
"text": "ValidationTypes"
|
|
5916
5910
|
}
|
|
5917
5911
|
},
|
|
5918
5912
|
{
|
|
5919
|
-
"name": "
|
|
5913
|
+
"name": "feedbackOverride",
|
|
5920
5914
|
"optional": true,
|
|
5921
5915
|
"type": {
|
|
5922
5916
|
"text": "string"
|
|
5923
5917
|
}
|
|
5924
5918
|
}
|
|
5925
5919
|
],
|
|
5926
|
-
"description": "
|
|
5920
|
+
"description": "create a validation of a certain type...",
|
|
5927
5921
|
"inheritedFrom": {
|
|
5928
|
-
"name": "
|
|
5929
|
-
"module": "src/scw-
|
|
5922
|
+
"name": "ScwFormComponent",
|
|
5923
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5930
5924
|
}
|
|
5931
5925
|
},
|
|
5932
5926
|
{
|
|
5933
5927
|
"kind": "method",
|
|
5934
|
-
"name": "
|
|
5935
|
-
"
|
|
5936
|
-
|
|
5937
|
-
"
|
|
5928
|
+
"name": "removeValidationRule",
|
|
5929
|
+
"parameters": [
|
|
5930
|
+
{
|
|
5931
|
+
"name": "type",
|
|
5932
|
+
"type": {
|
|
5933
|
+
"text": "ValidationTypes"
|
|
5934
|
+
}
|
|
5938
5935
|
}
|
|
5939
|
-
|
|
5940
|
-
"description": "focus",
|
|
5936
|
+
],
|
|
5941
5937
|
"inheritedFrom": {
|
|
5942
|
-
"name": "
|
|
5943
|
-
"module": "src/scw-
|
|
5938
|
+
"name": "ScwFormComponent",
|
|
5939
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
5944
5940
|
}
|
|
5945
5941
|
},
|
|
5946
5942
|
{
|
|
@@ -6024,6 +6020,15 @@
|
|
|
6024
6020
|
"module": "src/scw-component/ScwComponent.ts"
|
|
6025
6021
|
}
|
|
6026
6022
|
},
|
|
6023
|
+
{
|
|
6024
|
+
"kind": "method",
|
|
6025
|
+
"name": "parseAndValidateLightDom",
|
|
6026
|
+
"description": "parseLightDom is a hook for classes extending this one to add\nother parsers and validations",
|
|
6027
|
+
"inheritedFrom": {
|
|
6028
|
+
"name": "ScwComponent",
|
|
6029
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
6030
|
+
}
|
|
6031
|
+
},
|
|
6027
6032
|
{
|
|
6028
6033
|
"kind": "method",
|
|
6029
6034
|
"name": "warn",
|
|
@@ -6055,101 +6060,174 @@
|
|
|
6055
6060
|
}
|
|
6056
6061
|
}
|
|
6057
6062
|
],
|
|
6063
|
+
"events": [
|
|
6064
|
+
{
|
|
6065
|
+
"description": "input recieved focus",
|
|
6066
|
+
"name": "scw-focus"
|
|
6067
|
+
},
|
|
6068
|
+
{
|
|
6069
|
+
"description": "input lost focus",
|
|
6070
|
+
"name": "scw-blur"
|
|
6071
|
+
},
|
|
6072
|
+
{
|
|
6073
|
+
"description": "value has changed (not necessarily value displayed)",
|
|
6074
|
+
"name": "scw-value-change"
|
|
6075
|
+
}
|
|
6076
|
+
],
|
|
6058
6077
|
"attributes": [
|
|
6059
6078
|
{
|
|
6060
|
-
"name": "
|
|
6079
|
+
"name": "type",
|
|
6061
6080
|
"type": {
|
|
6062
|
-
"text": "
|
|
6081
|
+
"text": "InputTypes"
|
|
6063
6082
|
},
|
|
6064
|
-
"description": "(
|
|
6065
|
-
"fieldName": "
|
|
6083
|
+
"description": "(ScwInputField) type of input field",
|
|
6084
|
+
"fieldName": "type"
|
|
6066
6085
|
},
|
|
6067
6086
|
{
|
|
6068
|
-
"name": "
|
|
6087
|
+
"name": "autocapitalize",
|
|
6069
6088
|
"type": {
|
|
6070
|
-
"text": "
|
|
6089
|
+
"text": "AutoCaptializeValues"
|
|
6071
6090
|
},
|
|
6072
|
-
"description": "(
|
|
6073
|
-
"fieldName": "
|
|
6091
|
+
"description": "(ScwInput) automatically capitalize input",
|
|
6092
|
+
"fieldName": "autoCapitalize"
|
|
6074
6093
|
},
|
|
6075
6094
|
{
|
|
6076
|
-
"name": "
|
|
6095
|
+
"name": "autocomplete",
|
|
6077
6096
|
"type": {
|
|
6078
|
-
"text": "
|
|
6097
|
+
"text": "AutoCompleteValues"
|
|
6079
6098
|
},
|
|
6080
|
-
"description": "(
|
|
6081
|
-
"fieldName": "
|
|
6099
|
+
"description": "(ScwInput) automatically completes input",
|
|
6100
|
+
"fieldName": "autoComplete"
|
|
6082
6101
|
},
|
|
6083
6102
|
{
|
|
6084
|
-
"name": "
|
|
6103
|
+
"name": "autocorrect",
|
|
6085
6104
|
"type": {
|
|
6086
|
-
"text": "
|
|
6105
|
+
"text": "AutoCorrectValues"
|
|
6087
6106
|
},
|
|
6088
|
-
"description": "(
|
|
6089
|
-
"fieldName": "
|
|
6107
|
+
"description": "(ScwInput) automatically correct input",
|
|
6108
|
+
"fieldName": "autoCorrect"
|
|
6090
6109
|
},
|
|
6091
6110
|
{
|
|
6092
|
-
"name": "
|
|
6111
|
+
"name": "autofocus",
|
|
6093
6112
|
"type": {
|
|
6094
|
-
"text": "
|
|
6113
|
+
"text": "boolean"
|
|
6095
6114
|
},
|
|
6096
|
-
"
|
|
6097
|
-
"
|
|
6115
|
+
"default": "false",
|
|
6116
|
+
"description": "(ScwInput) automatically focus input",
|
|
6117
|
+
"fieldName": "autoFocus"
|
|
6098
6118
|
},
|
|
6099
6119
|
{
|
|
6100
|
-
"name": "
|
|
6120
|
+
"name": "form-type",
|
|
6121
|
+
"type": {
|
|
6122
|
+
"text": "ScwFormComponentTypes"
|
|
6123
|
+
},
|
|
6124
|
+
"description": "(ScwFormComponent) the usage in a form (& scw-form a query target)",
|
|
6125
|
+
"fieldName": "formType",
|
|
6126
|
+
"inheritedFrom": {
|
|
6127
|
+
"name": "ScwFormComponent",
|
|
6128
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
6129
|
+
}
|
|
6130
|
+
},
|
|
6131
|
+
{
|
|
6132
|
+
"name": "name",
|
|
6101
6133
|
"type": {
|
|
6102
6134
|
"text": "string | undefined"
|
|
6103
6135
|
},
|
|
6104
|
-
"description": "(
|
|
6105
|
-
"fieldName": "
|
|
6136
|
+
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
6137
|
+
"fieldName": "name",
|
|
6138
|
+
"inheritedFrom": {
|
|
6139
|
+
"name": "ScwFormComponent",
|
|
6140
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
6141
|
+
}
|
|
6106
6142
|
},
|
|
6107
6143
|
{
|
|
6108
|
-
"name": "
|
|
6144
|
+
"name": "value",
|
|
6145
|
+
"type": {
|
|
6146
|
+
"text": "string"
|
|
6147
|
+
},
|
|
6148
|
+
"default": "''",
|
|
6149
|
+
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
6150
|
+
"fieldName": "value",
|
|
6151
|
+
"inheritedFrom": {
|
|
6152
|
+
"name": "ScwFormComponent",
|
|
6153
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
6154
|
+
}
|
|
6155
|
+
},
|
|
6156
|
+
{
|
|
6157
|
+
"name": "placeholder",
|
|
6158
|
+
"type": {
|
|
6159
|
+
"text": "string"
|
|
6160
|
+
},
|
|
6161
|
+
"default": "''",
|
|
6162
|
+
"description": "(ScwFormComponent) text showing when there is no value",
|
|
6163
|
+
"fieldName": "placeholder",
|
|
6164
|
+
"inheritedFrom": {
|
|
6165
|
+
"name": "ScwFormComponent",
|
|
6166
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
6167
|
+
}
|
|
6168
|
+
},
|
|
6169
|
+
{
|
|
6170
|
+
"name": "selected",
|
|
6109
6171
|
"type": {
|
|
6110
6172
|
"text": "boolean"
|
|
6111
6173
|
},
|
|
6112
6174
|
"default": "false",
|
|
6113
|
-
"description": "(
|
|
6114
|
-
"fieldName": "
|
|
6175
|
+
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
6176
|
+
"fieldName": "selected",
|
|
6177
|
+
"inheritedFrom": {
|
|
6178
|
+
"name": "ScwFormComponent",
|
|
6179
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
6180
|
+
}
|
|
6115
6181
|
},
|
|
6116
6182
|
{
|
|
6117
|
-
"name": "
|
|
6183
|
+
"name": "read-only",
|
|
6118
6184
|
"type": {
|
|
6119
6185
|
"text": "boolean"
|
|
6120
6186
|
},
|
|
6121
6187
|
"default": "false",
|
|
6122
|
-
"description": "(
|
|
6123
|
-
"fieldName": "
|
|
6188
|
+
"description": "(ScwFormComponent) read-only state management",
|
|
6189
|
+
"fieldName": "readOnly",
|
|
6190
|
+
"inheritedFrom": {
|
|
6191
|
+
"name": "ScwFormComponent",
|
|
6192
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
6193
|
+
}
|
|
6124
6194
|
},
|
|
6125
6195
|
{
|
|
6126
|
-
"name": "
|
|
6127
|
-
"
|
|
6128
|
-
|
|
6129
|
-
|
|
6196
|
+
"name": "required",
|
|
6197
|
+
"type": {
|
|
6198
|
+
"text": "boolean"
|
|
6199
|
+
},
|
|
6200
|
+
"default": "false",
|
|
6201
|
+
"description": "(ScwFormComponent) required state management",
|
|
6202
|
+
"fieldName": "required",
|
|
6203
|
+
"inheritedFrom": {
|
|
6204
|
+
"name": "ScwFormComponent",
|
|
6205
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
6206
|
+
}
|
|
6130
6207
|
},
|
|
6131
6208
|
{
|
|
6132
|
-
"name": "
|
|
6209
|
+
"name": "required-label",
|
|
6133
6210
|
"type": {
|
|
6134
|
-
"text": "string
|
|
6211
|
+
"text": "string"
|
|
6135
6212
|
},
|
|
6136
|
-
"
|
|
6137
|
-
"
|
|
6213
|
+
"default": "' *'",
|
|
6214
|
+
"description": "(ScwFormComponent) label indicator for required",
|
|
6215
|
+
"fieldName": "requiredLabel",
|
|
6138
6216
|
"inheritedFrom": {
|
|
6139
|
-
"name": "
|
|
6140
|
-
"module": "src/scw-
|
|
6217
|
+
"name": "ScwFormComponent",
|
|
6218
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
6141
6219
|
}
|
|
6142
6220
|
},
|
|
6143
6221
|
{
|
|
6144
|
-
"name": "
|
|
6222
|
+
"name": "required-feedback",
|
|
6145
6223
|
"type": {
|
|
6146
|
-
"text": "
|
|
6224
|
+
"text": "string | undefined"
|
|
6147
6225
|
},
|
|
6148
|
-
"description": "(
|
|
6149
|
-
"fieldName": "
|
|
6226
|
+
"description": "(ScwFormComponent) label indicator for required",
|
|
6227
|
+
"fieldName": "requiredFeedback",
|
|
6150
6228
|
"inheritedFrom": {
|
|
6151
|
-
"name": "
|
|
6152
|
-
"module": "src/scw-
|
|
6229
|
+
"name": "ScwFormComponent",
|
|
6230
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
6153
6231
|
}
|
|
6154
6232
|
},
|
|
6155
6233
|
{
|
|
@@ -6205,87 +6283,24 @@
|
|
|
6205
6283
|
}
|
|
6206
6284
|
},
|
|
6207
6285
|
{
|
|
6208
|
-
"name": "element",
|
|
6209
|
-
"type": {
|
|
6210
|
-
"text": "string"
|
|
6211
|
-
},
|
|
6212
|
-
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
6213
|
-
"fieldName": "element",
|
|
6214
|
-
"inheritedFrom": {
|
|
6215
|
-
"name": "ScwComponent",
|
|
6216
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
6217
|
-
}
|
|
6218
|
-
}
|
|
6219
|
-
],
|
|
6220
|
-
"superclass": {
|
|
6221
|
-
"name": "ScwLinkBase",
|
|
6222
|
-
"module": "/src/scw-link-base/ScwLinkBase"
|
|
6223
|
-
},
|
|
6224
|
-
"tagName": "scw-image",
|
|
6225
|
-
"customElement": true
|
|
6226
|
-
}
|
|
6227
|
-
],
|
|
6228
|
-
"exports": [
|
|
6229
|
-
{
|
|
6230
|
-
"kind": "js",
|
|
6231
|
-
"name": "default",
|
|
6232
|
-
"declaration": {
|
|
6233
|
-
"name": "ScwImage",
|
|
6234
|
-
"module": "src/scw-image/ScwImage.ts"
|
|
6235
|
-
}
|
|
6236
|
-
}
|
|
6237
|
-
]
|
|
6238
|
-
},
|
|
6239
|
-
{
|
|
6240
|
-
"kind": "javascript-module",
|
|
6241
|
-
"path": "src/scw-image/scw-image-src-parser.ts",
|
|
6242
|
-
"declarations": [
|
|
6243
|
-
{
|
|
6244
|
-
"kind": "function",
|
|
6245
|
-
"name": "parseSrcAttributes",
|
|
6246
|
-
"return": {
|
|
6247
|
-
"type": {
|
|
6248
|
-
"text": "string"
|
|
6249
|
-
}
|
|
6250
|
-
},
|
|
6251
|
-
"parameters": [
|
|
6252
|
-
{
|
|
6253
|
-
"name": "scwPicture",
|
|
6254
|
-
"type": {
|
|
6255
|
-
"text": "ScwPicture"
|
|
6256
|
-
}
|
|
6257
|
-
}
|
|
6258
|
-
],
|
|
6259
|
-
"description": "parse attributes into an srcset"
|
|
6260
|
-
}
|
|
6261
|
-
],
|
|
6262
|
-
"exports": [
|
|
6263
|
-
{
|
|
6264
|
-
"kind": "js",
|
|
6265
|
-
"name": "default",
|
|
6266
|
-
"declaration": {
|
|
6267
|
-
"name": "parseSrcAttributes",
|
|
6268
|
-
"module": "src/scw-image/scw-image-src-parser.ts"
|
|
6269
|
-
}
|
|
6270
|
-
}
|
|
6271
|
-
]
|
|
6272
|
-
},
|
|
6273
|
-
{
|
|
6274
|
-
"kind": "javascript-module",
|
|
6275
|
-
"path": "src/scw-image/scw-image-validate.ts",
|
|
6276
|
-
"declarations": [
|
|
6277
|
-
{
|
|
6278
|
-
"kind": "function",
|
|
6279
|
-
"name": "validate",
|
|
6280
|
-
"parameters": [
|
|
6281
|
-
{
|
|
6282
|
-
"name": "image",
|
|
6286
|
+
"name": "element",
|
|
6283
6287
|
"type": {
|
|
6284
|
-
"text": "
|
|
6288
|
+
"text": "string"
|
|
6289
|
+
},
|
|
6290
|
+
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
6291
|
+
"fieldName": "element",
|
|
6292
|
+
"inheritedFrom": {
|
|
6293
|
+
"name": "ScwComponent",
|
|
6294
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
6285
6295
|
}
|
|
6286
6296
|
}
|
|
6287
6297
|
],
|
|
6288
|
-
"
|
|
6298
|
+
"superclass": {
|
|
6299
|
+
"name": "ScwFormComponent",
|
|
6300
|
+
"module": "/src/scw-form-component/scw-form-component"
|
|
6301
|
+
},
|
|
6302
|
+
"tagName": "scw-input",
|
|
6303
|
+
"customElement": true
|
|
6289
6304
|
}
|
|
6290
6305
|
],
|
|
6291
6306
|
"exports": [
|
|
@@ -6293,23 +6308,8 @@
|
|
|
6293
6308
|
"kind": "js",
|
|
6294
6309
|
"name": "default",
|
|
6295
6310
|
"declaration": {
|
|
6296
|
-
"name": "
|
|
6297
|
-
"module": "src/scw-
|
|
6298
|
-
}
|
|
6299
|
-
}
|
|
6300
|
-
]
|
|
6301
|
-
},
|
|
6302
|
-
{
|
|
6303
|
-
"kind": "javascript-module",
|
|
6304
|
-
"path": "src/scw-image/scw-image.ts",
|
|
6305
|
-
"declarations": [],
|
|
6306
|
-
"exports": [
|
|
6307
|
-
{
|
|
6308
|
-
"kind": "custom-element-definition",
|
|
6309
|
-
"name": "scw-image",
|
|
6310
|
-
"declaration": {
|
|
6311
|
-
"name": "ScwImage",
|
|
6312
|
-
"module": "/src/scw-image/ScwImage.js"
|
|
6311
|
+
"name": "ScwInput",
|
|
6312
|
+
"module": "src/scw-input/scw-input.ts"
|
|
6313
6313
|
}
|
|
6314
6314
|
}
|
|
6315
6315
|
]
|
|
@@ -13435,118 +13435,41 @@
|
|
|
13435
13435
|
},
|
|
13436
13436
|
{
|
|
13437
13437
|
"kind": "javascript-module",
|
|
13438
|
-
"path": "src/scw-
|
|
13438
|
+
"path": "src/scw-validation/scw-validation.ts",
|
|
13439
13439
|
"declarations": [
|
|
13440
13440
|
{
|
|
13441
13441
|
"kind": "class",
|
|
13442
|
-
"description": "
|
|
13443
|
-
"name": "
|
|
13442
|
+
"description": "ScwValidation",
|
|
13443
|
+
"name": "ScwValidation",
|
|
13444
13444
|
"members": [
|
|
13445
13445
|
{
|
|
13446
13446
|
"kind": "field",
|
|
13447
|
-
"name": "
|
|
13448
|
-
"type": {
|
|
13449
|
-
"text": "string"
|
|
13450
|
-
},
|
|
13451
|
-
"description": "(ScwValidate) the type of validation this component executes",
|
|
13452
|
-
"attribute": "type"
|
|
13453
|
-
},
|
|
13454
|
-
{
|
|
13455
|
-
"kind": "field",
|
|
13456
|
-
"name": "feedback",
|
|
13457
|
-
"type": {
|
|
13458
|
-
"text": "string"
|
|
13459
|
-
},
|
|
13460
|
-
"description": "(ScwValidate) contains the root element name for each component",
|
|
13461
|
-
"attribute": "feedback"
|
|
13462
|
-
},
|
|
13463
|
-
{
|
|
13464
|
-
"kind": "field",
|
|
13465
|
-
"name": "min",
|
|
13466
|
-
"type": {
|
|
13467
|
-
"text": "number"
|
|
13468
|
-
},
|
|
13469
|
-
"default": "0",
|
|
13470
|
-
"description": "minimum number range",
|
|
13471
|
-
"attribute": "min"
|
|
13472
|
-
},
|
|
13473
|
-
{
|
|
13474
|
-
"kind": "field",
|
|
13475
|
-
"name": "max",
|
|
13476
|
-
"type": {
|
|
13477
|
-
"text": "number"
|
|
13478
|
-
},
|
|
13479
|
-
"default": "0",
|
|
13480
|
-
"description": "maximum number range",
|
|
13481
|
-
"attribute": "max"
|
|
13482
|
-
},
|
|
13483
|
-
{
|
|
13484
|
-
"kind": "field",
|
|
13485
|
-
"name": "step",
|
|
13486
|
-
"type": {
|
|
13487
|
-
"text": "string"
|
|
13488
|
-
},
|
|
13489
|
-
"default": "''",
|
|
13490
|
-
"description": "step mismatch",
|
|
13491
|
-
"attribute": "step"
|
|
13492
|
-
},
|
|
13493
|
-
{
|
|
13494
|
-
"kind": "field",
|
|
13495
|
-
"name": "pattern",
|
|
13496
|
-
"type": {
|
|
13497
|
-
"text": "string"
|
|
13498
|
-
},
|
|
13499
|
-
"default": "''",
|
|
13500
|
-
"description": "regex pattern to match",
|
|
13501
|
-
"attribute": "pattern"
|
|
13502
|
-
},
|
|
13503
|
-
{
|
|
13504
|
-
"kind": "field",
|
|
13505
|
-
"name": "include",
|
|
13506
|
-
"type": {
|
|
13507
|
-
"text": "string"
|
|
13508
|
-
},
|
|
13509
|
-
"default": "''",
|
|
13510
|
-
"attribute": "include"
|
|
13511
|
-
},
|
|
13512
|
-
{
|
|
13513
|
-
"kind": "field",
|
|
13514
|
-
"name": "exclude",
|
|
13447
|
+
"name": "value",
|
|
13515
13448
|
"type": {
|
|
13516
13449
|
"text": "string"
|
|
13517
13450
|
},
|
|
13518
13451
|
"default": "''",
|
|
13519
|
-
"
|
|
13520
|
-
|
|
13521
|
-
{
|
|
13522
|
-
"kind": "field",
|
|
13523
|
-
"name": "decimalLimit",
|
|
13524
|
-
"type": {
|
|
13525
|
-
"text": "number"
|
|
13526
|
-
},
|
|
13527
|
-
"default": "0",
|
|
13528
|
-
"attribute": "decimail-limit"
|
|
13529
|
-
},
|
|
13530
|
-
{
|
|
13531
|
-
"kind": "field",
|
|
13532
|
-
"name": "results",
|
|
13533
|
-
"type": {
|
|
13534
|
-
"text": "ValidationResult[]"
|
|
13535
|
-
},
|
|
13536
|
-
"default": "[]"
|
|
13452
|
+
"description": "(ScwValidation) what validation operates upon...",
|
|
13453
|
+
"attribute": "value"
|
|
13537
13454
|
},
|
|
13538
13455
|
{
|
|
13539
13456
|
"kind": "method",
|
|
13540
|
-
"name": "
|
|
13457
|
+
"name": "valueHandler",
|
|
13458
|
+
"description": "watch value",
|
|
13541
13459
|
"parameters": [
|
|
13542
13460
|
{
|
|
13543
|
-
"name": "
|
|
13461
|
+
"name": "oldValue",
|
|
13544
13462
|
"type": {
|
|
13545
|
-
"text": "
|
|
13463
|
+
"text": "string"
|
|
13464
|
+
}
|
|
13465
|
+
},
|
|
13466
|
+
{
|
|
13467
|
+
"name": "newValue",
|
|
13468
|
+
"type": {
|
|
13469
|
+
"text": "string"
|
|
13546
13470
|
}
|
|
13547
13471
|
}
|
|
13548
|
-
]
|
|
13549
|
-
"description": "pushes result into results array if there"
|
|
13472
|
+
]
|
|
13550
13473
|
},
|
|
13551
13474
|
{
|
|
13552
13475
|
"kind": "method",
|
|
@@ -13562,16 +13485,29 @@
|
|
|
13562
13485
|
"type": {
|
|
13563
13486
|
"text": "string"
|
|
13564
13487
|
}
|
|
13565
|
-
},
|
|
13566
|
-
{
|
|
13567
|
-
"name": "overallResults",
|
|
13568
|
-
"default": "[]",
|
|
13569
|
-
"type": {
|
|
13570
|
-
"text": "ValidationResult[]"
|
|
13571
|
-
}
|
|
13572
13488
|
}
|
|
13573
13489
|
],
|
|
13574
|
-
"description": "executes the
|
|
13490
|
+
"description": "executes the full stack of validates"
|
|
13491
|
+
},
|
|
13492
|
+
{
|
|
13493
|
+
"kind": "method",
|
|
13494
|
+
"name": "isRequired",
|
|
13495
|
+
"return": {
|
|
13496
|
+
"type": {
|
|
13497
|
+
"text": "boolean"
|
|
13498
|
+
}
|
|
13499
|
+
},
|
|
13500
|
+
"description": "figures out if there is a required validation"
|
|
13501
|
+
},
|
|
13502
|
+
{
|
|
13503
|
+
"kind": "method",
|
|
13504
|
+
"name": "getValidationRules",
|
|
13505
|
+
"return": {
|
|
13506
|
+
"type": {
|
|
13507
|
+
"text": "ScwValidate[]"
|
|
13508
|
+
}
|
|
13509
|
+
},
|
|
13510
|
+
"description": "Gathers child validate components"
|
|
13575
13511
|
},
|
|
13576
13512
|
{
|
|
13577
13513
|
"kind": "field",
|
|
@@ -13680,110 +13616,43 @@
|
|
|
13680
13616
|
{
|
|
13681
13617
|
"kind": "method",
|
|
13682
13618
|
"name": "warn",
|
|
13683
|
-
"parameters": [
|
|
13684
|
-
{
|
|
13685
|
-
"name": "message",
|
|
13686
|
-
"type": {
|
|
13687
|
-
"text": "string"
|
|
13688
|
-
},
|
|
13689
|
-
"description": "describing warning"
|
|
13690
|
-
}
|
|
13691
|
-
],
|
|
13692
|
-
"description": "handles warnings...things wrong with formatting, ADA, etc...",
|
|
13693
|
-
"inheritedFrom": {
|
|
13694
|
-
"name": "ScwComponent",
|
|
13695
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
13696
|
-
}
|
|
13697
|
-
},
|
|
13698
|
-
{
|
|
13699
|
-
"kind": "field",
|
|
13700
|
-
"name": "_lastWarning",
|
|
13701
|
-
"type": {
|
|
13702
|
-
"text": "string | undefined"
|
|
13703
|
-
},
|
|
13704
|
-
"description": "retain the last warning sent...good for testing.",
|
|
13705
|
-
"inheritedFrom": {
|
|
13706
|
-
"name": "ScwComponent",
|
|
13707
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
13708
|
-
}
|
|
13709
|
-
}
|
|
13710
|
-
],
|
|
13711
|
-
"attributes": [
|
|
13712
|
-
{
|
|
13713
|
-
"name": "type",
|
|
13714
|
-
"type": {
|
|
13715
|
-
"text": "string"
|
|
13716
|
-
},
|
|
13717
|
-
"description": "(ScwValidate) the type of validation this component executes",
|
|
13718
|
-
"fieldName": "type"
|
|
13719
|
-
},
|
|
13720
|
-
{
|
|
13721
|
-
"name": "feedback",
|
|
13722
|
-
"type": {
|
|
13723
|
-
"text": "string"
|
|
13724
|
-
},
|
|
13725
|
-
"description": "(ScwValidate) contains the root element name for each component",
|
|
13726
|
-
"fieldName": "feedback"
|
|
13727
|
-
},
|
|
13728
|
-
{
|
|
13729
|
-
"name": "min",
|
|
13730
|
-
"type": {
|
|
13731
|
-
"text": "number"
|
|
13732
|
-
},
|
|
13733
|
-
"default": "0",
|
|
13734
|
-
"description": "minimum number range",
|
|
13735
|
-
"fieldName": "min"
|
|
13736
|
-
},
|
|
13737
|
-
{
|
|
13738
|
-
"name": "max",
|
|
13739
|
-
"type": {
|
|
13740
|
-
"text": "number"
|
|
13741
|
-
},
|
|
13742
|
-
"default": "0",
|
|
13743
|
-
"description": "maximum number range",
|
|
13744
|
-
"fieldName": "max"
|
|
13745
|
-
},
|
|
13746
|
-
{
|
|
13747
|
-
"name": "step",
|
|
13748
|
-
"type": {
|
|
13749
|
-
"text": "string"
|
|
13750
|
-
},
|
|
13751
|
-
"default": "''",
|
|
13752
|
-
"description": "step mismatch",
|
|
13753
|
-
"fieldName": "step"
|
|
13754
|
-
},
|
|
13755
|
-
{
|
|
13756
|
-
"name": "pattern",
|
|
13757
|
-
"type": {
|
|
13758
|
-
"text": "string"
|
|
13759
|
-
},
|
|
13760
|
-
"default": "''",
|
|
13761
|
-
"description": "regex pattern to match",
|
|
13762
|
-
"fieldName": "pattern"
|
|
13619
|
+
"parameters": [
|
|
13620
|
+
{
|
|
13621
|
+
"name": "message",
|
|
13622
|
+
"type": {
|
|
13623
|
+
"text": "string"
|
|
13624
|
+
},
|
|
13625
|
+
"description": "describing warning"
|
|
13626
|
+
}
|
|
13627
|
+
],
|
|
13628
|
+
"description": "handles warnings...things wrong with formatting, ADA, etc...",
|
|
13629
|
+
"inheritedFrom": {
|
|
13630
|
+
"name": "ScwComponent",
|
|
13631
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
13632
|
+
}
|
|
13763
13633
|
},
|
|
13764
13634
|
{
|
|
13765
|
-
"
|
|
13635
|
+
"kind": "field",
|
|
13636
|
+
"name": "_lastWarning",
|
|
13766
13637
|
"type": {
|
|
13767
|
-
"text": "string"
|
|
13638
|
+
"text": "string | undefined"
|
|
13768
13639
|
},
|
|
13769
|
-
"
|
|
13770
|
-
"
|
|
13771
|
-
|
|
13640
|
+
"description": "retain the last warning sent...good for testing.",
|
|
13641
|
+
"inheritedFrom": {
|
|
13642
|
+
"name": "ScwComponent",
|
|
13643
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
13644
|
+
}
|
|
13645
|
+
}
|
|
13646
|
+
],
|
|
13647
|
+
"attributes": [
|
|
13772
13648
|
{
|
|
13773
|
-
"name": "
|
|
13649
|
+
"name": "value",
|
|
13774
13650
|
"type": {
|
|
13775
13651
|
"text": "string"
|
|
13776
13652
|
},
|
|
13777
13653
|
"default": "''",
|
|
13778
|
-
"
|
|
13779
|
-
|
|
13780
|
-
{
|
|
13781
|
-
"name": "decimail-limit",
|
|
13782
|
-
"type": {
|
|
13783
|
-
"text": "number"
|
|
13784
|
-
},
|
|
13785
|
-
"default": "0",
|
|
13786
|
-
"fieldName": "decimalLimit"
|
|
13654
|
+
"description": "(ScwValidation) what validation operates upon...",
|
|
13655
|
+
"fieldName": "value"
|
|
13787
13656
|
},
|
|
13788
13657
|
{
|
|
13789
13658
|
"name": "aria-label",
|
|
@@ -13854,7 +13723,7 @@
|
|
|
13854
13723
|
"name": "ScwComponent",
|
|
13855
13724
|
"module": "/src/scw-component/ScwComponent"
|
|
13856
13725
|
},
|
|
13857
|
-
"tagName": "scw-
|
|
13726
|
+
"tagName": "scw-validation",
|
|
13858
13727
|
"customElement": true
|
|
13859
13728
|
}
|
|
13860
13729
|
],
|
|
@@ -13863,55 +13732,126 @@
|
|
|
13863
13732
|
"kind": "js",
|
|
13864
13733
|
"name": "default",
|
|
13865
13734
|
"declaration": {
|
|
13866
|
-
"name": "
|
|
13867
|
-
"module": "src/scw-
|
|
13735
|
+
"name": "ScwValidation",
|
|
13736
|
+
"module": "src/scw-validation/scw-validation.ts"
|
|
13868
13737
|
}
|
|
13869
13738
|
}
|
|
13870
13739
|
]
|
|
13871
13740
|
},
|
|
13872
13741
|
{
|
|
13873
13742
|
"kind": "javascript-module",
|
|
13874
|
-
"path": "src/scw-validate/
|
|
13875
|
-
"declarations": [],
|
|
13876
|
-
"exports": []
|
|
13877
|
-
},
|
|
13878
|
-
{
|
|
13879
|
-
"kind": "javascript-module",
|
|
13880
|
-
"path": "src/scw-validation/scw-validation.ts",
|
|
13743
|
+
"path": "src/scw-validate/scw-validate.ts",
|
|
13881
13744
|
"declarations": [
|
|
13882
13745
|
{
|
|
13883
13746
|
"kind": "class",
|
|
13884
|
-
"description": "
|
|
13885
|
-
"name": "
|
|
13747
|
+
"description": "ScwValidate",
|
|
13748
|
+
"name": "ScwValidate",
|
|
13886
13749
|
"members": [
|
|
13887
13750
|
{
|
|
13888
13751
|
"kind": "field",
|
|
13889
|
-
"name": "
|
|
13752
|
+
"name": "type",
|
|
13753
|
+
"type": {
|
|
13754
|
+
"text": "string"
|
|
13755
|
+
},
|
|
13756
|
+
"description": "(ScwValidate) the type of validation this component executes",
|
|
13757
|
+
"attribute": "type"
|
|
13758
|
+
},
|
|
13759
|
+
{
|
|
13760
|
+
"kind": "field",
|
|
13761
|
+
"name": "feedback",
|
|
13762
|
+
"type": {
|
|
13763
|
+
"text": "string"
|
|
13764
|
+
},
|
|
13765
|
+
"description": "(ScwValidate) contains the root element name for each component",
|
|
13766
|
+
"attribute": "feedback"
|
|
13767
|
+
},
|
|
13768
|
+
{
|
|
13769
|
+
"kind": "field",
|
|
13770
|
+
"name": "min",
|
|
13771
|
+
"type": {
|
|
13772
|
+
"text": "number"
|
|
13773
|
+
},
|
|
13774
|
+
"default": "0",
|
|
13775
|
+
"description": "minimum number range",
|
|
13776
|
+
"attribute": "min"
|
|
13777
|
+
},
|
|
13778
|
+
{
|
|
13779
|
+
"kind": "field",
|
|
13780
|
+
"name": "max",
|
|
13781
|
+
"type": {
|
|
13782
|
+
"text": "number"
|
|
13783
|
+
},
|
|
13784
|
+
"default": "0",
|
|
13785
|
+
"description": "maximum number range",
|
|
13786
|
+
"attribute": "max"
|
|
13787
|
+
},
|
|
13788
|
+
{
|
|
13789
|
+
"kind": "field",
|
|
13790
|
+
"name": "step",
|
|
13890
13791
|
"type": {
|
|
13891
13792
|
"text": "string"
|
|
13892
13793
|
},
|
|
13893
13794
|
"default": "''",
|
|
13894
|
-
"description": "
|
|
13895
|
-
"attribute": "
|
|
13795
|
+
"description": "step mismatch",
|
|
13796
|
+
"attribute": "step"
|
|
13797
|
+
},
|
|
13798
|
+
{
|
|
13799
|
+
"kind": "field",
|
|
13800
|
+
"name": "pattern",
|
|
13801
|
+
"type": {
|
|
13802
|
+
"text": "string"
|
|
13803
|
+
},
|
|
13804
|
+
"default": "''",
|
|
13805
|
+
"description": "regex pattern to match",
|
|
13806
|
+
"attribute": "pattern"
|
|
13807
|
+
},
|
|
13808
|
+
{
|
|
13809
|
+
"kind": "field",
|
|
13810
|
+
"name": "include",
|
|
13811
|
+
"type": {
|
|
13812
|
+
"text": "string"
|
|
13813
|
+
},
|
|
13814
|
+
"default": "''",
|
|
13815
|
+
"attribute": "include"
|
|
13816
|
+
},
|
|
13817
|
+
{
|
|
13818
|
+
"kind": "field",
|
|
13819
|
+
"name": "exclude",
|
|
13820
|
+
"type": {
|
|
13821
|
+
"text": "string"
|
|
13822
|
+
},
|
|
13823
|
+
"default": "''",
|
|
13824
|
+
"attribute": "exclude"
|
|
13825
|
+
},
|
|
13826
|
+
{
|
|
13827
|
+
"kind": "field",
|
|
13828
|
+
"name": "decimalLimit",
|
|
13829
|
+
"type": {
|
|
13830
|
+
"text": "number"
|
|
13831
|
+
},
|
|
13832
|
+
"default": "0",
|
|
13833
|
+
"attribute": "decimail-limit"
|
|
13834
|
+
},
|
|
13835
|
+
{
|
|
13836
|
+
"kind": "field",
|
|
13837
|
+
"name": "results",
|
|
13838
|
+
"type": {
|
|
13839
|
+
"text": "ValidationResult[]"
|
|
13840
|
+
},
|
|
13841
|
+
"default": "[]"
|
|
13896
13842
|
},
|
|
13897
13843
|
{
|
|
13898
13844
|
"kind": "method",
|
|
13899
|
-
"name": "
|
|
13900
|
-
"description": "watch value",
|
|
13845
|
+
"name": "addResult",
|
|
13901
13846
|
"parameters": [
|
|
13902
13847
|
{
|
|
13903
|
-
"name": "
|
|
13904
|
-
"type": {
|
|
13905
|
-
"text": "string"
|
|
13906
|
-
}
|
|
13907
|
-
},
|
|
13908
|
-
{
|
|
13909
|
-
"name": "newValue",
|
|
13848
|
+
"name": "item",
|
|
13910
13849
|
"type": {
|
|
13911
|
-
"text": "
|
|
13850
|
+
"text": "ValidationResult | false"
|
|
13912
13851
|
}
|
|
13913
13852
|
}
|
|
13914
|
-
]
|
|
13853
|
+
],
|
|
13854
|
+
"description": "pushes result into results array if there"
|
|
13915
13855
|
},
|
|
13916
13856
|
{
|
|
13917
13857
|
"kind": "method",
|
|
@@ -13927,29 +13867,16 @@
|
|
|
13927
13867
|
"type": {
|
|
13928
13868
|
"text": "string"
|
|
13929
13869
|
}
|
|
13870
|
+
},
|
|
13871
|
+
{
|
|
13872
|
+
"name": "overallResults",
|
|
13873
|
+
"default": "[]",
|
|
13874
|
+
"type": {
|
|
13875
|
+
"text": "ValidationResult[]"
|
|
13876
|
+
}
|
|
13930
13877
|
}
|
|
13931
13878
|
],
|
|
13932
|
-
"description": "executes the
|
|
13933
|
-
},
|
|
13934
|
-
{
|
|
13935
|
-
"kind": "method",
|
|
13936
|
-
"name": "isRequired",
|
|
13937
|
-
"return": {
|
|
13938
|
-
"type": {
|
|
13939
|
-
"text": "boolean"
|
|
13940
|
-
}
|
|
13941
|
-
},
|
|
13942
|
-
"description": "figures out if there is a required validation"
|
|
13943
|
-
},
|
|
13944
|
-
{
|
|
13945
|
-
"kind": "method",
|
|
13946
|
-
"name": "getValidationRules",
|
|
13947
|
-
"return": {
|
|
13948
|
-
"type": {
|
|
13949
|
-
"text": "ScwValidate[]"
|
|
13950
|
-
}
|
|
13951
|
-
},
|
|
13952
|
-
"description": "Gathers child validate components"
|
|
13879
|
+
"description": "executes the validation..."
|
|
13953
13880
|
},
|
|
13954
13881
|
{
|
|
13955
13882
|
"kind": "field",
|
|
@@ -14088,13 +14015,80 @@
|
|
|
14088
14015
|
],
|
|
14089
14016
|
"attributes": [
|
|
14090
14017
|
{
|
|
14091
|
-
"name": "
|
|
14018
|
+
"name": "type",
|
|
14019
|
+
"type": {
|
|
14020
|
+
"text": "string"
|
|
14021
|
+
},
|
|
14022
|
+
"description": "(ScwValidate) the type of validation this component executes",
|
|
14023
|
+
"fieldName": "type"
|
|
14024
|
+
},
|
|
14025
|
+
{
|
|
14026
|
+
"name": "feedback",
|
|
14027
|
+
"type": {
|
|
14028
|
+
"text": "string"
|
|
14029
|
+
},
|
|
14030
|
+
"description": "(ScwValidate) contains the root element name for each component",
|
|
14031
|
+
"fieldName": "feedback"
|
|
14032
|
+
},
|
|
14033
|
+
{
|
|
14034
|
+
"name": "min",
|
|
14035
|
+
"type": {
|
|
14036
|
+
"text": "number"
|
|
14037
|
+
},
|
|
14038
|
+
"default": "0",
|
|
14039
|
+
"description": "minimum number range",
|
|
14040
|
+
"fieldName": "min"
|
|
14041
|
+
},
|
|
14042
|
+
{
|
|
14043
|
+
"name": "max",
|
|
14044
|
+
"type": {
|
|
14045
|
+
"text": "number"
|
|
14046
|
+
},
|
|
14047
|
+
"default": "0",
|
|
14048
|
+
"description": "maximum number range",
|
|
14049
|
+
"fieldName": "max"
|
|
14050
|
+
},
|
|
14051
|
+
{
|
|
14052
|
+
"name": "step",
|
|
14053
|
+
"type": {
|
|
14054
|
+
"text": "string"
|
|
14055
|
+
},
|
|
14056
|
+
"default": "''",
|
|
14057
|
+
"description": "step mismatch",
|
|
14058
|
+
"fieldName": "step"
|
|
14059
|
+
},
|
|
14060
|
+
{
|
|
14061
|
+
"name": "pattern",
|
|
14062
|
+
"type": {
|
|
14063
|
+
"text": "string"
|
|
14064
|
+
},
|
|
14065
|
+
"default": "''",
|
|
14066
|
+
"description": "regex pattern to match",
|
|
14067
|
+
"fieldName": "pattern"
|
|
14068
|
+
},
|
|
14069
|
+
{
|
|
14070
|
+
"name": "include",
|
|
14071
|
+
"type": {
|
|
14072
|
+
"text": "string"
|
|
14073
|
+
},
|
|
14074
|
+
"default": "''",
|
|
14075
|
+
"fieldName": "include"
|
|
14076
|
+
},
|
|
14077
|
+
{
|
|
14078
|
+
"name": "exclude",
|
|
14092
14079
|
"type": {
|
|
14093
14080
|
"text": "string"
|
|
14094
14081
|
},
|
|
14095
14082
|
"default": "''",
|
|
14096
|
-
"
|
|
14097
|
-
|
|
14083
|
+
"fieldName": "exclude"
|
|
14084
|
+
},
|
|
14085
|
+
{
|
|
14086
|
+
"name": "decimail-limit",
|
|
14087
|
+
"type": {
|
|
14088
|
+
"text": "number"
|
|
14089
|
+
},
|
|
14090
|
+
"default": "0",
|
|
14091
|
+
"fieldName": "decimalLimit"
|
|
14098
14092
|
},
|
|
14099
14093
|
{
|
|
14100
14094
|
"name": "aria-label",
|
|
@@ -14165,7 +14159,7 @@
|
|
|
14165
14159
|
"name": "ScwComponent",
|
|
14166
14160
|
"module": "/src/scw-component/ScwComponent"
|
|
14167
14161
|
},
|
|
14168
|
-
"tagName": "scw-
|
|
14162
|
+
"tagName": "scw-validate",
|
|
14169
14163
|
"customElement": true
|
|
14170
14164
|
}
|
|
14171
14165
|
],
|
|
@@ -14174,12 +14168,18 @@
|
|
|
14174
14168
|
"kind": "js",
|
|
14175
14169
|
"name": "default",
|
|
14176
14170
|
"declaration": {
|
|
14177
|
-
"name": "
|
|
14178
|
-
"module": "src/scw-
|
|
14171
|
+
"name": "ScwValidate",
|
|
14172
|
+
"module": "src/scw-validate/scw-validate.ts"
|
|
14179
14173
|
}
|
|
14180
14174
|
}
|
|
14181
14175
|
]
|
|
14182
14176
|
},
|
|
14177
|
+
{
|
|
14178
|
+
"kind": "javascript-module",
|
|
14179
|
+
"path": "src/scw-validate/validationTypes.ts",
|
|
14180
|
+
"declarations": [],
|
|
14181
|
+
"exports": []
|
|
14182
|
+
},
|
|
14183
14183
|
{
|
|
14184
14184
|
"kind": "javascript-module",
|
|
14185
14185
|
"path": "src/utils/findJsCss.ts",
|
|
@@ -14552,6 +14552,62 @@
|
|
|
14552
14552
|
}
|
|
14553
14553
|
]
|
|
14554
14554
|
},
|
|
14555
|
+
{
|
|
14556
|
+
"kind": "javascript-module",
|
|
14557
|
+
"path": "src/scw-image/tests/imageExamples.ts",
|
|
14558
|
+
"declarations": [
|
|
14559
|
+
{
|
|
14560
|
+
"kind": "variable",
|
|
14561
|
+
"name": "square",
|
|
14562
|
+
"type": {
|
|
14563
|
+
"text": "string"
|
|
14564
|
+
},
|
|
14565
|
+
"default": "'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNSAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjI1IiBoZWlnaHQ9IjI1IiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIGZpbGw9IiNDNEM0QzQiLz4KPC9zdmc+Cg=='"
|
|
14566
|
+
},
|
|
14567
|
+
{
|
|
14568
|
+
"kind": "variable",
|
|
14569
|
+
"name": "triangle",
|
|
14570
|
+
"type": {
|
|
14571
|
+
"text": "string"
|
|
14572
|
+
},
|
|
14573
|
+
"default": "'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNSAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjI1IiBoZWlnaHQ9IjI1IiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMTIuNSAwTDI1IDI1SDBMMTIuNSAwWiIgZmlsbD0iI0M0QzRDNCIvPgo8L3N2Zz4K'"
|
|
14574
|
+
},
|
|
14575
|
+
{
|
|
14576
|
+
"kind": "variable",
|
|
14577
|
+
"name": "circle",
|
|
14578
|
+
"type": {
|
|
14579
|
+
"text": "string"
|
|
14580
|
+
},
|
|
14581
|
+
"default": "'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iMjYiIHZpZXdCb3g9IjAgMCAyNiAyNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjI2IiBoZWlnaHQ9IjI2IiBmaWxsPSJ3aGl0ZSIvPgo8Y2lyY2xlIGN4PSIxMyIgY3k9IjEzIiByPSIxMyIgZmlsbD0iI0M0QzRDNCIvPgo8L3N2Zz4K'"
|
|
14582
|
+
}
|
|
14583
|
+
],
|
|
14584
|
+
"exports": [
|
|
14585
|
+
{
|
|
14586
|
+
"kind": "js",
|
|
14587
|
+
"name": "square",
|
|
14588
|
+
"declaration": {
|
|
14589
|
+
"name": "square",
|
|
14590
|
+
"module": "src/scw-image/tests/imageExamples.ts"
|
|
14591
|
+
}
|
|
14592
|
+
},
|
|
14593
|
+
{
|
|
14594
|
+
"kind": "js",
|
|
14595
|
+
"name": "triangle",
|
|
14596
|
+
"declaration": {
|
|
14597
|
+
"name": "triangle",
|
|
14598
|
+
"module": "src/scw-image/tests/imageExamples.ts"
|
|
14599
|
+
}
|
|
14600
|
+
},
|
|
14601
|
+
{
|
|
14602
|
+
"kind": "js",
|
|
14603
|
+
"name": "circle",
|
|
14604
|
+
"declaration": {
|
|
14605
|
+
"name": "circle",
|
|
14606
|
+
"module": "src/scw-image/tests/imageExamples.ts"
|
|
14607
|
+
}
|
|
14608
|
+
}
|
|
14609
|
+
]
|
|
14610
|
+
},
|
|
14555
14611
|
{
|
|
14556
14612
|
"kind": "javascript-module",
|
|
14557
14613
|
"path": "src/scw-input-field/autoformatters/autoFormat.ts",
|
|
@@ -14994,62 +15050,6 @@
|
|
|
14994
15050
|
}
|
|
14995
15051
|
]
|
|
14996
15052
|
},
|
|
14997
|
-
{
|
|
14998
|
-
"kind": "javascript-module",
|
|
14999
|
-
"path": "src/scw-image/tests/imageExamples.ts",
|
|
15000
|
-
"declarations": [
|
|
15001
|
-
{
|
|
15002
|
-
"kind": "variable",
|
|
15003
|
-
"name": "square",
|
|
15004
|
-
"type": {
|
|
15005
|
-
"text": "string"
|
|
15006
|
-
},
|
|
15007
|
-
"default": "'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNSAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjI1IiBoZWlnaHQ9IjI1IiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIGZpbGw9IiNDNEM0QzQiLz4KPC9zdmc+Cg=='"
|
|
15008
|
-
},
|
|
15009
|
-
{
|
|
15010
|
-
"kind": "variable",
|
|
15011
|
-
"name": "triangle",
|
|
15012
|
-
"type": {
|
|
15013
|
-
"text": "string"
|
|
15014
|
-
},
|
|
15015
|
-
"default": "'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNSAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjI1IiBoZWlnaHQ9IjI1IiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMTIuNSAwTDI1IDI1SDBMMTIuNSAwWiIgZmlsbD0iI0M0QzRDNCIvPgo8L3N2Zz4K'"
|
|
15016
|
-
},
|
|
15017
|
-
{
|
|
15018
|
-
"kind": "variable",
|
|
15019
|
-
"name": "circle",
|
|
15020
|
-
"type": {
|
|
15021
|
-
"text": "string"
|
|
15022
|
-
},
|
|
15023
|
-
"default": "'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iMjYiIHZpZXdCb3g9IjAgMCAyNiAyNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjI2IiBoZWlnaHQ9IjI2IiBmaWxsPSJ3aGl0ZSIvPgo8Y2lyY2xlIGN4PSIxMyIgY3k9IjEzIiByPSIxMyIgZmlsbD0iI0M0QzRDNCIvPgo8L3N2Zz4K'"
|
|
15024
|
-
}
|
|
15025
|
-
],
|
|
15026
|
-
"exports": [
|
|
15027
|
-
{
|
|
15028
|
-
"kind": "js",
|
|
15029
|
-
"name": "square",
|
|
15030
|
-
"declaration": {
|
|
15031
|
-
"name": "square",
|
|
15032
|
-
"module": "src/scw-image/tests/imageExamples.ts"
|
|
15033
|
-
}
|
|
15034
|
-
},
|
|
15035
|
-
{
|
|
15036
|
-
"kind": "js",
|
|
15037
|
-
"name": "triangle",
|
|
15038
|
-
"declaration": {
|
|
15039
|
-
"name": "triangle",
|
|
15040
|
-
"module": "src/scw-image/tests/imageExamples.ts"
|
|
15041
|
-
}
|
|
15042
|
-
},
|
|
15043
|
-
{
|
|
15044
|
-
"kind": "js",
|
|
15045
|
-
"name": "circle",
|
|
15046
|
-
"declaration": {
|
|
15047
|
-
"name": "circle",
|
|
15048
|
-
"module": "src/scw-image/tests/imageExamples.ts"
|
|
15049
|
-
}
|
|
15050
|
-
}
|
|
15051
|
-
]
|
|
15052
|
-
},
|
|
15053
15053
|
{
|
|
15054
15054
|
"kind": "javascript-module",
|
|
15055
15055
|
"path": "src/scw-menu/keyboard/keyboardElements.ts",
|
|
@@ -15423,6 +15423,60 @@
|
|
|
15423
15423
|
"declarations": [],
|
|
15424
15424
|
"exports": []
|
|
15425
15425
|
},
|
|
15426
|
+
{
|
|
15427
|
+
"kind": "javascript-module",
|
|
15428
|
+
"path": "src/utils/events/event.ts",
|
|
15429
|
+
"declarations": [
|
|
15430
|
+
{
|
|
15431
|
+
"kind": "function",
|
|
15432
|
+
"name": "emit",
|
|
15433
|
+
"parameters": [
|
|
15434
|
+
{
|
|
15435
|
+
"name": "name",
|
|
15436
|
+
"type": {
|
|
15437
|
+
"text": "string"
|
|
15438
|
+
}
|
|
15439
|
+
},
|
|
15440
|
+
{
|
|
15441
|
+
"name": "target",
|
|
15442
|
+
"type": {
|
|
15443
|
+
"text": "HTMLElement"
|
|
15444
|
+
}
|
|
15445
|
+
},
|
|
15446
|
+
{
|
|
15447
|
+
"name": "detail",
|
|
15448
|
+
"default": "{}",
|
|
15449
|
+
"type": {
|
|
15450
|
+
"text": "object"
|
|
15451
|
+
}
|
|
15452
|
+
},
|
|
15453
|
+
{
|
|
15454
|
+
"name": "options",
|
|
15455
|
+
"optional": true,
|
|
15456
|
+
"type": {
|
|
15457
|
+
"text": "CustomEventInit"
|
|
15458
|
+
}
|
|
15459
|
+
}
|
|
15460
|
+
],
|
|
15461
|
+
"description": "Emits a custom event with web component friendly defaults.",
|
|
15462
|
+
"return": {
|
|
15463
|
+
"type": {
|
|
15464
|
+
"text": "object"
|
|
15465
|
+
}
|
|
15466
|
+
}
|
|
15467
|
+
}
|
|
15468
|
+
],
|
|
15469
|
+
"exports": [
|
|
15470
|
+
{
|
|
15471
|
+
"kind": "js",
|
|
15472
|
+
"name": "emit",
|
|
15473
|
+
"declaration": {
|
|
15474
|
+
"name": "emit",
|
|
15475
|
+
"module": "src/utils/events/event.ts"
|
|
15476
|
+
}
|
|
15477
|
+
}
|
|
15478
|
+
]
|
|
15479
|
+
},
|
|
15426
15480
|
{
|
|
15427
15481
|
"kind": "javascript-module",
|
|
15428
15482
|
"path": "src/scw-validate/rules/alphanumeric.ts",
|
|
@@ -15971,60 +16025,6 @@
|
|
|
15971
16025
|
}
|
|
15972
16026
|
]
|
|
15973
16027
|
},
|
|
15974
|
-
{
|
|
15975
|
-
"kind": "javascript-module",
|
|
15976
|
-
"path": "src/utils/events/event.ts",
|
|
15977
|
-
"declarations": [
|
|
15978
|
-
{
|
|
15979
|
-
"kind": "function",
|
|
15980
|
-
"name": "emit",
|
|
15981
|
-
"parameters": [
|
|
15982
|
-
{
|
|
15983
|
-
"name": "name",
|
|
15984
|
-
"type": {
|
|
15985
|
-
"text": "string"
|
|
15986
|
-
}
|
|
15987
|
-
},
|
|
15988
|
-
{
|
|
15989
|
-
"name": "target",
|
|
15990
|
-
"type": {
|
|
15991
|
-
"text": "HTMLElement"
|
|
15992
|
-
}
|
|
15993
|
-
},
|
|
15994
|
-
{
|
|
15995
|
-
"name": "detail",
|
|
15996
|
-
"default": "{}",
|
|
15997
|
-
"type": {
|
|
15998
|
-
"text": "object"
|
|
15999
|
-
}
|
|
16000
|
-
},
|
|
16001
|
-
{
|
|
16002
|
-
"name": "options",
|
|
16003
|
-
"optional": true,
|
|
16004
|
-
"type": {
|
|
16005
|
-
"text": "CustomEventInit"
|
|
16006
|
-
}
|
|
16007
|
-
}
|
|
16008
|
-
],
|
|
16009
|
-
"description": "Emits a custom event with web component friendly defaults.",
|
|
16010
|
-
"return": {
|
|
16011
|
-
"type": {
|
|
16012
|
-
"text": "object"
|
|
16013
|
-
}
|
|
16014
|
-
}
|
|
16015
|
-
}
|
|
16016
|
-
],
|
|
16017
|
-
"exports": [
|
|
16018
|
-
{
|
|
16019
|
-
"kind": "js",
|
|
16020
|
-
"name": "emit",
|
|
16021
|
-
"declaration": {
|
|
16022
|
-
"name": "emit",
|
|
16023
|
-
"module": "src/utils/events/event.ts"
|
|
16024
|
-
}
|
|
16025
|
-
}
|
|
16026
|
-
]
|
|
16027
|
-
},
|
|
16028
16028
|
{
|
|
16029
16029
|
"kind": "javascript-module",
|
|
16030
16030
|
"path": "src/utils/observers/intersectionObserverSingleton.ts",
|
|
@@ -16382,12 +16382,6 @@
|
|
|
16382
16382
|
}
|
|
16383
16383
|
]
|
|
16384
16384
|
},
|
|
16385
|
-
{
|
|
16386
|
-
"kind": "javascript-module",
|
|
16387
|
-
"path": "src/utils/themes/enums.ts",
|
|
16388
|
-
"declarations": [],
|
|
16389
|
-
"exports": []
|
|
16390
|
-
},
|
|
16391
16385
|
{
|
|
16392
16386
|
"kind": "javascript-module",
|
|
16393
16387
|
"path": "src/utils/testing/colorContrast.ts",
|
|
@@ -16621,6 +16615,12 @@
|
|
|
16621
16615
|
}
|
|
16622
16616
|
}
|
|
16623
16617
|
]
|
|
16618
|
+
},
|
|
16619
|
+
{
|
|
16620
|
+
"kind": "javascript-module",
|
|
16621
|
+
"path": "src/utils/themes/enums.ts",
|
|
16622
|
+
"declarations": [],
|
|
16623
|
+
"exports": []
|
|
16624
16624
|
}
|
|
16625
16625
|
]
|
|
16626
16626
|
}
|