@skyux/indicators 7.0.0-beta.0 → 7.0.0-beta.2
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/documentation.json +258 -155
- package/esm2020/lib/modules/help-inline/help-inline.component.mjs +1 -1
- package/esm2020/lib/modules/key-info/key-info.component.mjs +1 -1
- package/esm2020/lib/modules/text-highlight/text-highlight.directive.mjs +4 -4
- package/esm2020/lib/modules/text-highlight/text-highlight.module.mjs +4 -4
- package/esm2020/lib/modules/tokens/types/token-selected-event-args.mjs +1 -1
- package/esm2020/lib/modules/tokens/types/token.mjs +1 -1
- package/esm2020/testing/tokens/token-harness.mjs +23 -2
- package/fesm2015/skyux-indicators-testing.mjs +28 -1
- package/fesm2015/skyux-indicators-testing.mjs.map +1 -1
- package/fesm2015/skyux-indicators.mjs +5 -5
- package/fesm2015/skyux-indicators.mjs.map +1 -1
- package/fesm2020/skyux-indicators-testing.mjs +22 -1
- package/fesm2020/skyux-indicators-testing.mjs.map +1 -1
- package/fesm2020/skyux-indicators.mjs +5 -5
- package/fesm2020/skyux-indicators.mjs.map +1 -1
- package/lib/modules/help-inline/help-inline.component.d.ts +1 -1
- package/lib/modules/key-info/key-info.component.d.ts +1 -1
- package/lib/modules/text-highlight/text-highlight.directive.d.ts +2 -2
- package/lib/modules/tokens/tokens.component.d.ts +2 -2
- package/lib/modules/tokens/types/token-selected-event-args.d.ts +2 -2
- package/lib/modules/tokens/types/token.d.ts +2 -2
- package/package.json +5 -5
- package/testing/tokens/token-harness.d.ts +12 -0
package/documentation.json
CHANGED
|
@@ -49,14 +49,14 @@
|
|
|
49
49
|
"originalName": "",
|
|
50
50
|
"children": [
|
|
51
51
|
{
|
|
52
|
-
"id":
|
|
52
|
+
"id": 387,
|
|
53
53
|
"name": "SkyTokensMessageType",
|
|
54
54
|
"kind": 8,
|
|
55
55
|
"kindString": "Enumeration",
|
|
56
56
|
"flags": {},
|
|
57
57
|
"children": [
|
|
58
58
|
{
|
|
59
|
-
"id":
|
|
59
|
+
"id": 389,
|
|
60
60
|
"name": "FocusActiveToken",
|
|
61
61
|
"kind": 16,
|
|
62
62
|
"kindString": "Enumeration member",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"defaultValue": "1"
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
|
-
"id":
|
|
77
|
+
"id": 388,
|
|
78
78
|
"name": "FocusLastToken",
|
|
79
79
|
"kind": 16,
|
|
80
80
|
"kindString": "Enumeration member",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"defaultValue": "0"
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
|
-
"id":
|
|
95
|
+
"id": 391,
|
|
96
96
|
"name": "FocusNextToken",
|
|
97
97
|
"kind": 16,
|
|
98
98
|
"kindString": "Enumeration member",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"defaultValue": "3"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
|
-
"id":
|
|
113
|
+
"id": 390,
|
|
114
114
|
"name": "FocusPreviousToken",
|
|
115
115
|
"kind": 16,
|
|
116
116
|
"kindString": "Enumeration member",
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"defaultValue": "2"
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
|
-
"id":
|
|
131
|
+
"id": 392,
|
|
132
132
|
"name": "RemoveActiveToken",
|
|
133
133
|
"kind": 16,
|
|
134
134
|
"kindString": "Enumeration member",
|
|
@@ -151,11 +151,11 @@
|
|
|
151
151
|
"title": "Enumeration members",
|
|
152
152
|
"kind": 16,
|
|
153
153
|
"children": [
|
|
154
|
-
387,
|
|
155
|
-
386,
|
|
156
154
|
389,
|
|
157
155
|
388,
|
|
158
|
-
|
|
156
|
+
391,
|
|
157
|
+
390,
|
|
158
|
+
392
|
|
159
159
|
]
|
|
160
160
|
}
|
|
161
161
|
],
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
"name": "NgModule"
|
|
488
488
|
},
|
|
489
489
|
"arguments": {
|
|
490
|
-
"obj": "{\n declarations: [SkyTextHighlightDirective],\n exports: [SkyTextHighlightDirective],\n providers: [
|
|
490
|
+
"obj": "{\n declarations: [SkyTextHighlightDirective],\n exports: [SkyTextHighlightDirective],\n providers: [SkyMutationObserverService],\n}"
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
493
|
],
|
|
@@ -548,7 +548,7 @@
|
|
|
548
548
|
]
|
|
549
549
|
},
|
|
550
550
|
{
|
|
551
|
-
"id":
|
|
551
|
+
"id": 393,
|
|
552
552
|
"name": "SkyWaitModule",
|
|
553
553
|
"kind": 128,
|
|
554
554
|
"kindString": "Class",
|
|
@@ -573,7 +573,7 @@
|
|
|
573
573
|
"title": "Constructors",
|
|
574
574
|
"kind": 512,
|
|
575
575
|
"children": [
|
|
576
|
-
|
|
576
|
+
394
|
|
577
577
|
]
|
|
578
578
|
}
|
|
579
579
|
],
|
|
@@ -586,7 +586,7 @@
|
|
|
586
586
|
]
|
|
587
587
|
},
|
|
588
588
|
{
|
|
589
|
-
"id":
|
|
589
|
+
"id": 396,
|
|
590
590
|
"name": "SkyWaitService",
|
|
591
591
|
"kind": 128,
|
|
592
592
|
"kindString": "Class",
|
|
@@ -607,7 +607,7 @@
|
|
|
607
607
|
],
|
|
608
608
|
"children": [
|
|
609
609
|
{
|
|
610
|
-
"id":
|
|
610
|
+
"id": 397,
|
|
611
611
|
"name": "constructor",
|
|
612
612
|
"kind": 512,
|
|
613
613
|
"kindString": "Constructor",
|
|
@@ -621,14 +621,14 @@
|
|
|
621
621
|
],
|
|
622
622
|
"signatures": [
|
|
623
623
|
{
|
|
624
|
-
"id":
|
|
624
|
+
"id": 398,
|
|
625
625
|
"name": "new SkyWaitService",
|
|
626
626
|
"kind": 16384,
|
|
627
627
|
"kindString": "Constructor signature",
|
|
628
628
|
"flags": {},
|
|
629
629
|
"parameters": [
|
|
630
630
|
{
|
|
631
|
-
"id":
|
|
631
|
+
"id": 399,
|
|
632
632
|
"name": "resolver",
|
|
633
633
|
"kind": 32768,
|
|
634
634
|
"kindString": "Parameter",
|
|
@@ -641,7 +641,7 @@
|
|
|
641
641
|
}
|
|
642
642
|
},
|
|
643
643
|
{
|
|
644
|
-
"id":
|
|
644
|
+
"id": 400,
|
|
645
645
|
"name": "appRef",
|
|
646
646
|
"kind": 32768,
|
|
647
647
|
"kindString": "Parameter",
|
|
@@ -654,7 +654,7 @@
|
|
|
654
654
|
}
|
|
655
655
|
},
|
|
656
656
|
{
|
|
657
|
-
"id":
|
|
657
|
+
"id": 401,
|
|
658
658
|
"name": "waitAdapter",
|
|
659
659
|
"kind": 32768,
|
|
660
660
|
"kindString": "Parameter",
|
|
@@ -665,7 +665,7 @@
|
|
|
665
665
|
}
|
|
666
666
|
},
|
|
667
667
|
{
|
|
668
|
-
"id":
|
|
668
|
+
"id": 402,
|
|
669
669
|
"name": "windowSvc",
|
|
670
670
|
"kind": 32768,
|
|
671
671
|
"kindString": "Parameter",
|
|
@@ -678,14 +678,14 @@
|
|
|
678
678
|
],
|
|
679
679
|
"type": {
|
|
680
680
|
"type": "reference",
|
|
681
|
-
"id":
|
|
681
|
+
"id": 396,
|
|
682
682
|
"name": "SkyWaitService"
|
|
683
683
|
}
|
|
684
684
|
}
|
|
685
685
|
]
|
|
686
686
|
},
|
|
687
687
|
{
|
|
688
|
-
"id":
|
|
688
|
+
"id": 407,
|
|
689
689
|
"name": "beginBlockingPageWait",
|
|
690
690
|
"kind": 2048,
|
|
691
691
|
"kindString": "Method",
|
|
@@ -701,7 +701,7 @@
|
|
|
701
701
|
],
|
|
702
702
|
"signatures": [
|
|
703
703
|
{
|
|
704
|
-
"id":
|
|
704
|
+
"id": 408,
|
|
705
705
|
"name": "beginBlockingPageWait",
|
|
706
706
|
"kind": 4096,
|
|
707
707
|
"kindString": "Call signature",
|
|
@@ -717,7 +717,7 @@
|
|
|
717
717
|
]
|
|
718
718
|
},
|
|
719
719
|
{
|
|
720
|
-
"id":
|
|
720
|
+
"id": 409,
|
|
721
721
|
"name": "beginNonBlockingPageWait",
|
|
722
722
|
"kind": 2048,
|
|
723
723
|
"kindString": "Method",
|
|
@@ -733,7 +733,7 @@
|
|
|
733
733
|
],
|
|
734
734
|
"signatures": [
|
|
735
735
|
{
|
|
736
|
-
"id":
|
|
736
|
+
"id": 410,
|
|
737
737
|
"name": "beginNonBlockingPageWait",
|
|
738
738
|
"kind": 4096,
|
|
739
739
|
"kindString": "Call signature",
|
|
@@ -749,7 +749,7 @@
|
|
|
749
749
|
]
|
|
750
750
|
},
|
|
751
751
|
{
|
|
752
|
-
"id":
|
|
752
|
+
"id": 419,
|
|
753
753
|
"name": "blockingWrap",
|
|
754
754
|
"kind": 2048,
|
|
755
755
|
"kindString": "Method",
|
|
@@ -765,7 +765,7 @@
|
|
|
765
765
|
],
|
|
766
766
|
"signatures": [
|
|
767
767
|
{
|
|
768
|
-
"id":
|
|
768
|
+
"id": 420,
|
|
769
769
|
"name": "blockingWrap",
|
|
770
770
|
"kind": 4096,
|
|
771
771
|
"kindString": "Call signature",
|
|
@@ -775,7 +775,7 @@
|
|
|
775
775
|
},
|
|
776
776
|
"typeParameter": [
|
|
777
777
|
{
|
|
778
|
-
"id":
|
|
778
|
+
"id": 421,
|
|
779
779
|
"name": "T",
|
|
780
780
|
"kind": 131072,
|
|
781
781
|
"kindString": "Type parameter",
|
|
@@ -784,7 +784,7 @@
|
|
|
784
784
|
],
|
|
785
785
|
"parameters": [
|
|
786
786
|
{
|
|
787
|
-
"id":
|
|
787
|
+
"id": 422,
|
|
788
788
|
"name": "observable",
|
|
789
789
|
"kind": 32768,
|
|
790
790
|
"kindString": "Parameter",
|
|
@@ -794,7 +794,7 @@
|
|
|
794
794
|
"typeArguments": [
|
|
795
795
|
{
|
|
796
796
|
"type": "reference",
|
|
797
|
-
"id":
|
|
797
|
+
"id": 421,
|
|
798
798
|
"name": "T"
|
|
799
799
|
}
|
|
800
800
|
],
|
|
@@ -809,7 +809,7 @@
|
|
|
809
809
|
"typeArguments": [
|
|
810
810
|
{
|
|
811
811
|
"type": "reference",
|
|
812
|
-
"id":
|
|
812
|
+
"id": 421,
|
|
813
813
|
"name": "T"
|
|
814
814
|
}
|
|
815
815
|
],
|
|
@@ -821,7 +821,7 @@
|
|
|
821
821
|
]
|
|
822
822
|
},
|
|
823
823
|
{
|
|
824
|
-
"id":
|
|
824
|
+
"id": 415,
|
|
825
825
|
"name": "clearAllPageWaits",
|
|
826
826
|
"kind": 2048,
|
|
827
827
|
"kindString": "Method",
|
|
@@ -837,7 +837,7 @@
|
|
|
837
837
|
],
|
|
838
838
|
"signatures": [
|
|
839
839
|
{
|
|
840
|
-
"id":
|
|
840
|
+
"id": 416,
|
|
841
841
|
"name": "clearAllPageWaits",
|
|
842
842
|
"kind": 4096,
|
|
843
843
|
"kindString": "Call signature",
|
|
@@ -853,7 +853,7 @@
|
|
|
853
853
|
]
|
|
854
854
|
},
|
|
855
855
|
{
|
|
856
|
-
"id":
|
|
856
|
+
"id": 411,
|
|
857
857
|
"name": "endBlockingPageWait",
|
|
858
858
|
"kind": 2048,
|
|
859
859
|
"kindString": "Method",
|
|
@@ -869,7 +869,7 @@
|
|
|
869
869
|
],
|
|
870
870
|
"signatures": [
|
|
871
871
|
{
|
|
872
|
-
"id":
|
|
872
|
+
"id": 412,
|
|
873
873
|
"name": "endBlockingPageWait",
|
|
874
874
|
"kind": 4096,
|
|
875
875
|
"kindString": "Call signature",
|
|
@@ -885,7 +885,7 @@
|
|
|
885
885
|
]
|
|
886
886
|
},
|
|
887
887
|
{
|
|
888
|
-
"id":
|
|
888
|
+
"id": 413,
|
|
889
889
|
"name": "endNonBlockingPageWait",
|
|
890
890
|
"kind": 2048,
|
|
891
891
|
"kindString": "Method",
|
|
@@ -901,7 +901,7 @@
|
|
|
901
901
|
],
|
|
902
902
|
"signatures": [
|
|
903
903
|
{
|
|
904
|
-
"id":
|
|
904
|
+
"id": 414,
|
|
905
905
|
"name": "endNonBlockingPageWait",
|
|
906
906
|
"kind": 4096,
|
|
907
907
|
"kindString": "Call signature",
|
|
@@ -917,7 +917,7 @@
|
|
|
917
917
|
]
|
|
918
918
|
},
|
|
919
919
|
{
|
|
920
|
-
"id":
|
|
920
|
+
"id": 423,
|
|
921
921
|
"name": "nonBlockingWrap",
|
|
922
922
|
"kind": 2048,
|
|
923
923
|
"kindString": "Method",
|
|
@@ -933,7 +933,7 @@
|
|
|
933
933
|
],
|
|
934
934
|
"signatures": [
|
|
935
935
|
{
|
|
936
|
-
"id":
|
|
936
|
+
"id": 424,
|
|
937
937
|
"name": "nonBlockingWrap",
|
|
938
938
|
"kind": 4096,
|
|
939
939
|
"kindString": "Call signature",
|
|
@@ -943,7 +943,7 @@
|
|
|
943
943
|
},
|
|
944
944
|
"typeParameter": [
|
|
945
945
|
{
|
|
946
|
-
"id":
|
|
946
|
+
"id": 425,
|
|
947
947
|
"name": "T",
|
|
948
948
|
"kind": 131072,
|
|
949
949
|
"kindString": "Type parameter",
|
|
@@ -952,7 +952,7 @@
|
|
|
952
952
|
],
|
|
953
953
|
"parameters": [
|
|
954
954
|
{
|
|
955
|
-
"id":
|
|
955
|
+
"id": 426,
|
|
956
956
|
"name": "observable",
|
|
957
957
|
"kind": 32768,
|
|
958
958
|
"kindString": "Parameter",
|
|
@@ -962,7 +962,7 @@
|
|
|
962
962
|
"typeArguments": [
|
|
963
963
|
{
|
|
964
964
|
"type": "reference",
|
|
965
|
-
"id":
|
|
965
|
+
"id": 425,
|
|
966
966
|
"name": "T"
|
|
967
967
|
}
|
|
968
968
|
],
|
|
@@ -977,7 +977,7 @@
|
|
|
977
977
|
"typeArguments": [
|
|
978
978
|
{
|
|
979
979
|
"type": "reference",
|
|
980
|
-
"id":
|
|
980
|
+
"id": 425,
|
|
981
981
|
"name": "T"
|
|
982
982
|
}
|
|
983
983
|
],
|
|
@@ -994,20 +994,20 @@
|
|
|
994
994
|
"title": "Constructors",
|
|
995
995
|
"kind": 512,
|
|
996
996
|
"children": [
|
|
997
|
-
|
|
997
|
+
397
|
|
998
998
|
]
|
|
999
999
|
},
|
|
1000
1000
|
{
|
|
1001
1001
|
"title": "Methods",
|
|
1002
1002
|
"kind": 2048,
|
|
1003
1003
|
"children": [
|
|
1004
|
-
405,
|
|
1005
1004
|
407,
|
|
1006
|
-
417,
|
|
1007
|
-
413,
|
|
1008
1005
|
409,
|
|
1006
|
+
419,
|
|
1007
|
+
415,
|
|
1009
1008
|
411,
|
|
1010
|
-
|
|
1009
|
+
413,
|
|
1010
|
+
423
|
|
1011
1011
|
]
|
|
1012
1012
|
}
|
|
1013
1013
|
],
|
|
@@ -2199,7 +2199,7 @@
|
|
|
2199
2199
|
"flags": {},
|
|
2200
2200
|
"type": {
|
|
2201
2201
|
"type": "reference",
|
|
2202
|
-
"name": "
|
|
2202
|
+
"name": "SkyMutationObserverService"
|
|
2203
2203
|
}
|
|
2204
2204
|
}
|
|
2205
2205
|
],
|
|
@@ -3449,7 +3449,13 @@
|
|
|
3449
3449
|
"typeArguments": [
|
|
3450
3450
|
{
|
|
3451
3451
|
"type": "reference",
|
|
3452
|
-
"id":
|
|
3452
|
+
"id": 382,
|
|
3453
|
+
"typeArguments": [
|
|
3454
|
+
{
|
|
3455
|
+
"type": "intrinsic",
|
|
3456
|
+
"name": "any"
|
|
3457
|
+
}
|
|
3458
|
+
],
|
|
3453
3459
|
"name": "SkyTokenSelectedEventArgs"
|
|
3454
3460
|
}
|
|
3455
3461
|
],
|
|
@@ -3497,6 +3503,12 @@
|
|
|
3497
3503
|
"elementType": {
|
|
3498
3504
|
"type": "reference",
|
|
3499
3505
|
"id": 379,
|
|
3506
|
+
"typeArguments": [
|
|
3507
|
+
{
|
|
3508
|
+
"type": "intrinsic",
|
|
3509
|
+
"name": "any"
|
|
3510
|
+
}
|
|
3511
|
+
],
|
|
3500
3512
|
"name": "SkyToken"
|
|
3501
3513
|
}
|
|
3502
3514
|
}
|
|
@@ -3528,6 +3540,12 @@
|
|
|
3528
3540
|
{
|
|
3529
3541
|
"type": "reference",
|
|
3530
3542
|
"id": 379,
|
|
3543
|
+
"typeArguments": [
|
|
3544
|
+
{
|
|
3545
|
+
"type": "intrinsic",
|
|
3546
|
+
"name": "any"
|
|
3547
|
+
}
|
|
3548
|
+
],
|
|
3531
3549
|
"name": "SkyToken"
|
|
3532
3550
|
}
|
|
3533
3551
|
],
|
|
@@ -4008,7 +4026,7 @@
|
|
|
4008
4026
|
"typeArguments": [
|
|
4009
4027
|
{
|
|
4010
4028
|
"type": "reference",
|
|
4011
|
-
"id":
|
|
4029
|
+
"id": 385,
|
|
4012
4030
|
"name": "SkyTokensMessage"
|
|
4013
4031
|
}
|
|
4014
4032
|
],
|
|
@@ -4040,7 +4058,7 @@
|
|
|
4040
4058
|
"typeArguments": [
|
|
4041
4059
|
{
|
|
4042
4060
|
"type": "reference",
|
|
4043
|
-
"id":
|
|
4061
|
+
"id": 385,
|
|
4044
4062
|
"name": "SkyTokensMessage"
|
|
4045
4063
|
}
|
|
4046
4064
|
],
|
|
@@ -4099,6 +4117,12 @@
|
|
|
4099
4117
|
"elementType": {
|
|
4100
4118
|
"type": "reference",
|
|
4101
4119
|
"id": 379,
|
|
4120
|
+
"typeArguments": [
|
|
4121
|
+
{
|
|
4122
|
+
"type": "intrinsic",
|
|
4123
|
+
"name": "any"
|
|
4124
|
+
}
|
|
4125
|
+
],
|
|
4102
4126
|
"name": "SkyToken"
|
|
4103
4127
|
}
|
|
4104
4128
|
}
|
|
@@ -4126,6 +4150,12 @@
|
|
|
4126
4150
|
"elementType": {
|
|
4127
4151
|
"type": "reference",
|
|
4128
4152
|
"id": 379,
|
|
4153
|
+
"typeArguments": [
|
|
4154
|
+
{
|
|
4155
|
+
"type": "intrinsic",
|
|
4156
|
+
"name": "any"
|
|
4157
|
+
}
|
|
4158
|
+
],
|
|
4129
4159
|
"name": "SkyToken"
|
|
4130
4160
|
}
|
|
4131
4161
|
}
|
|
@@ -4207,6 +4237,12 @@
|
|
|
4207
4237
|
"type": {
|
|
4208
4238
|
"type": "reference",
|
|
4209
4239
|
"id": 379,
|
|
4240
|
+
"typeArguments": [
|
|
4241
|
+
{
|
|
4242
|
+
"type": "intrinsic",
|
|
4243
|
+
"name": "any"
|
|
4244
|
+
}
|
|
4245
|
+
],
|
|
4210
4246
|
"name": "SkyToken"
|
|
4211
4247
|
}
|
|
4212
4248
|
}
|
|
@@ -4294,6 +4330,12 @@
|
|
|
4294
4330
|
"type": {
|
|
4295
4331
|
"type": "reference",
|
|
4296
4332
|
"id": 379,
|
|
4333
|
+
"typeArguments": [
|
|
4334
|
+
{
|
|
4335
|
+
"type": "intrinsic",
|
|
4336
|
+
"name": "any"
|
|
4337
|
+
}
|
|
4338
|
+
],
|
|
4297
4339
|
"name": "SkyToken"
|
|
4298
4340
|
}
|
|
4299
4341
|
}
|
|
@@ -4337,6 +4379,12 @@
|
|
|
4337
4379
|
"type": {
|
|
4338
4380
|
"type": "reference",
|
|
4339
4381
|
"id": 379,
|
|
4382
|
+
"typeArguments": [
|
|
4383
|
+
{
|
|
4384
|
+
"type": "intrinsic",
|
|
4385
|
+
"name": "any"
|
|
4386
|
+
}
|
|
4387
|
+
],
|
|
4340
4388
|
"name": "SkyToken"
|
|
4341
4389
|
}
|
|
4342
4390
|
}
|
|
@@ -5031,7 +5079,7 @@
|
|
|
5031
5079
|
"typeArguments": [
|
|
5032
5080
|
{
|
|
5033
5081
|
"type": "intrinsic",
|
|
5034
|
-
"name": "
|
|
5082
|
+
"name": "void"
|
|
5035
5083
|
}
|
|
5036
5084
|
],
|
|
5037
5085
|
"qualifiedName": "EventEmitter",
|
|
@@ -5498,8 +5546,9 @@
|
|
|
5498
5546
|
}
|
|
5499
5547
|
],
|
|
5500
5548
|
"type": {
|
|
5501
|
-
"type": "
|
|
5502
|
-
"
|
|
5549
|
+
"type": "reference",
|
|
5550
|
+
"id": 360,
|
|
5551
|
+
"name": "SkyKeyInfoLayoutType"
|
|
5503
5552
|
},
|
|
5504
5553
|
"defaultValue": "'vertical'"
|
|
5505
5554
|
}
|
|
@@ -6042,8 +6091,9 @@
|
|
|
6042
6091
|
}
|
|
6043
6092
|
],
|
|
6044
6093
|
"type": {
|
|
6045
|
-
"type": "
|
|
6046
|
-
"
|
|
6094
|
+
"type": "reference",
|
|
6095
|
+
"id": 381,
|
|
6096
|
+
"name": "T"
|
|
6047
6097
|
}
|
|
6048
6098
|
}
|
|
6049
6099
|
],
|
|
@@ -6059,20 +6109,33 @@
|
|
|
6059
6109
|
"sources": [
|
|
6060
6110
|
{
|
|
6061
6111
|
"fileName": "projects/indicators/src/modules/tokens/types/token.ts",
|
|
6062
|
-
"line":
|
|
6112
|
+
"line": 2,
|
|
6063
6113
|
"character": 17
|
|
6064
6114
|
}
|
|
6115
|
+
],
|
|
6116
|
+
"typeParameter": [
|
|
6117
|
+
{
|
|
6118
|
+
"id": 381,
|
|
6119
|
+
"name": "T",
|
|
6120
|
+
"kind": 131072,
|
|
6121
|
+
"kindString": "Type parameter",
|
|
6122
|
+
"flags": {},
|
|
6123
|
+
"default": {
|
|
6124
|
+
"type": "intrinsic",
|
|
6125
|
+
"name": "any"
|
|
6126
|
+
}
|
|
6127
|
+
}
|
|
6065
6128
|
]
|
|
6066
6129
|
},
|
|
6067
6130
|
{
|
|
6068
|
-
"id":
|
|
6131
|
+
"id": 382,
|
|
6069
6132
|
"name": "SkyTokenSelectedEventArgs",
|
|
6070
6133
|
"kind": 256,
|
|
6071
6134
|
"kindString": "Interface",
|
|
6072
6135
|
"flags": {},
|
|
6073
6136
|
"children": [
|
|
6074
6137
|
{
|
|
6075
|
-
"id":
|
|
6138
|
+
"id": 383,
|
|
6076
6139
|
"name": "token",
|
|
6077
6140
|
"kind": 1024,
|
|
6078
6141
|
"kindString": "Property",
|
|
@@ -6092,6 +6155,13 @@
|
|
|
6092
6155
|
"type": {
|
|
6093
6156
|
"type": "reference",
|
|
6094
6157
|
"id": 379,
|
|
6158
|
+
"typeArguments": [
|
|
6159
|
+
{
|
|
6160
|
+
"type": "reference",
|
|
6161
|
+
"id": 384,
|
|
6162
|
+
"name": "T"
|
|
6163
|
+
}
|
|
6164
|
+
],
|
|
6095
6165
|
"name": "SkyToken"
|
|
6096
6166
|
}
|
|
6097
6167
|
}
|
|
@@ -6101,7 +6171,7 @@
|
|
|
6101
6171
|
"title": "Properties",
|
|
6102
6172
|
"kind": 1024,
|
|
6103
6173
|
"children": [
|
|
6104
|
-
|
|
6174
|
+
383
|
|
6105
6175
|
]
|
|
6106
6176
|
}
|
|
6107
6177
|
],
|
|
@@ -6111,17 +6181,30 @@
|
|
|
6111
6181
|
"line": 3,
|
|
6112
6182
|
"character": 17
|
|
6113
6183
|
}
|
|
6184
|
+
],
|
|
6185
|
+
"typeParameter": [
|
|
6186
|
+
{
|
|
6187
|
+
"id": 384,
|
|
6188
|
+
"name": "T",
|
|
6189
|
+
"kind": 131072,
|
|
6190
|
+
"kindString": "Type parameter",
|
|
6191
|
+
"flags": {},
|
|
6192
|
+
"default": {
|
|
6193
|
+
"type": "intrinsic",
|
|
6194
|
+
"name": "any"
|
|
6195
|
+
}
|
|
6196
|
+
}
|
|
6114
6197
|
]
|
|
6115
6198
|
},
|
|
6116
6199
|
{
|
|
6117
|
-
"id":
|
|
6200
|
+
"id": 385,
|
|
6118
6201
|
"name": "SkyTokensMessage",
|
|
6119
6202
|
"kind": 256,
|
|
6120
6203
|
"kindString": "Interface",
|
|
6121
6204
|
"flags": {},
|
|
6122
6205
|
"children": [
|
|
6123
6206
|
{
|
|
6124
|
-
"id":
|
|
6207
|
+
"id": 386,
|
|
6125
6208
|
"name": "type",
|
|
6126
6209
|
"kind": 1024,
|
|
6127
6210
|
"kindString": "Property",
|
|
@@ -6140,7 +6223,7 @@
|
|
|
6140
6223
|
],
|
|
6141
6224
|
"type": {
|
|
6142
6225
|
"type": "reference",
|
|
6143
|
-
"id":
|
|
6226
|
+
"id": 387,
|
|
6144
6227
|
"name": "SkyTokensMessageType"
|
|
6145
6228
|
}
|
|
6146
6229
|
}
|
|
@@ -6150,7 +6233,7 @@
|
|
|
6150
6233
|
"title": "Properties",
|
|
6151
6234
|
"kind": 1024,
|
|
6152
6235
|
"children": [
|
|
6153
|
-
|
|
6236
|
+
386
|
|
6154
6237
|
]
|
|
6155
6238
|
}
|
|
6156
6239
|
],
|
|
@@ -6377,7 +6460,7 @@
|
|
|
6377
6460
|
}
|
|
6378
6461
|
},
|
|
6379
6462
|
{
|
|
6380
|
-
"id":
|
|
6463
|
+
"id": 439,
|
|
6381
6464
|
"name": "SkyAlertHarness",
|
|
6382
6465
|
"kind": 128,
|
|
6383
6466
|
"kindString": "Class",
|
|
@@ -6387,7 +6470,7 @@
|
|
|
6387
6470
|
},
|
|
6388
6471
|
"children": [
|
|
6389
6472
|
{
|
|
6390
|
-
"id":
|
|
6473
|
+
"id": 460,
|
|
6391
6474
|
"name": "close",
|
|
6392
6475
|
"kind": 2048,
|
|
6393
6476
|
"kindString": "Method",
|
|
@@ -6403,7 +6486,7 @@
|
|
|
6403
6486
|
],
|
|
6404
6487
|
"signatures": [
|
|
6405
6488
|
{
|
|
6406
|
-
"id":
|
|
6489
|
+
"id": 461,
|
|
6407
6490
|
"name": "close",
|
|
6408
6491
|
"kind": 4096,
|
|
6409
6492
|
"kindString": "Call signature",
|
|
@@ -6427,7 +6510,7 @@
|
|
|
6427
6510
|
]
|
|
6428
6511
|
},
|
|
6429
6512
|
{
|
|
6430
|
-
"id":
|
|
6513
|
+
"id": 456,
|
|
6431
6514
|
"name": "getAlertType",
|
|
6432
6515
|
"kind": 2048,
|
|
6433
6516
|
"kindString": "Method",
|
|
@@ -6443,7 +6526,7 @@
|
|
|
6443
6526
|
],
|
|
6444
6527
|
"signatures": [
|
|
6445
6528
|
{
|
|
6446
|
-
"id":
|
|
6529
|
+
"id": 457,
|
|
6447
6530
|
"name": "getAlertType",
|
|
6448
6531
|
"kind": 4096,
|
|
6449
6532
|
"kindString": "Call signature",
|
|
@@ -6468,7 +6551,7 @@
|
|
|
6468
6551
|
]
|
|
6469
6552
|
},
|
|
6470
6553
|
{
|
|
6471
|
-
"id":
|
|
6554
|
+
"id": 468,
|
|
6472
6555
|
"name": "getCustomDescription",
|
|
6473
6556
|
"kind": 2048,
|
|
6474
6557
|
"kindString": "Method",
|
|
@@ -6484,7 +6567,7 @@
|
|
|
6484
6567
|
],
|
|
6485
6568
|
"signatures": [
|
|
6486
6569
|
{
|
|
6487
|
-
"id":
|
|
6570
|
+
"id": 469,
|
|
6488
6571
|
"name": "getCustomDescription",
|
|
6489
6572
|
"kind": 4096,
|
|
6490
6573
|
"kindString": "Call signature",
|
|
@@ -6508,7 +6591,7 @@
|
|
|
6508
6591
|
]
|
|
6509
6592
|
},
|
|
6510
6593
|
{
|
|
6511
|
-
"id":
|
|
6594
|
+
"id": 466,
|
|
6512
6595
|
"name": "getDescriptionType",
|
|
6513
6596
|
"kind": 2048,
|
|
6514
6597
|
"kindString": "Method",
|
|
@@ -6524,7 +6607,7 @@
|
|
|
6524
6607
|
],
|
|
6525
6608
|
"signatures": [
|
|
6526
6609
|
{
|
|
6527
|
-
"id":
|
|
6610
|
+
"id": 467,
|
|
6528
6611
|
"name": "getDescriptionType",
|
|
6529
6612
|
"kind": 4096,
|
|
6530
6613
|
"kindString": "Call signature",
|
|
@@ -6549,7 +6632,7 @@
|
|
|
6549
6632
|
]
|
|
6550
6633
|
},
|
|
6551
6634
|
{
|
|
6552
|
-
"id":
|
|
6635
|
+
"id": 458,
|
|
6553
6636
|
"name": "getText",
|
|
6554
6637
|
"kind": 2048,
|
|
6555
6638
|
"kindString": "Method",
|
|
@@ -6565,7 +6648,7 @@
|
|
|
6565
6648
|
],
|
|
6566
6649
|
"signatures": [
|
|
6567
6650
|
{
|
|
6568
|
-
"id":
|
|
6651
|
+
"id": 459,
|
|
6569
6652
|
"name": "getText",
|
|
6570
6653
|
"kind": 4096,
|
|
6571
6654
|
"kindString": "Call signature",
|
|
@@ -6589,7 +6672,7 @@
|
|
|
6589
6672
|
]
|
|
6590
6673
|
},
|
|
6591
6674
|
{
|
|
6592
|
-
"id":
|
|
6675
|
+
"id": 473,
|
|
6593
6676
|
"name": "host",
|
|
6594
6677
|
"kind": 2048,
|
|
6595
6678
|
"kindString": "Method",
|
|
@@ -6603,7 +6686,7 @@
|
|
|
6603
6686
|
],
|
|
6604
6687
|
"signatures": [
|
|
6605
6688
|
{
|
|
6606
|
-
"id":
|
|
6689
|
+
"id": 474,
|
|
6607
6690
|
"name": "host",
|
|
6608
6691
|
"kind": 4096,
|
|
6609
6692
|
"kindString": "Call signature",
|
|
@@ -6637,7 +6720,7 @@
|
|
|
6637
6720
|
}
|
|
6638
6721
|
},
|
|
6639
6722
|
{
|
|
6640
|
-
"id":
|
|
6723
|
+
"id": 464,
|
|
6641
6724
|
"name": "isCloseable",
|
|
6642
6725
|
"kind": 2048,
|
|
6643
6726
|
"kindString": "Method",
|
|
@@ -6653,7 +6736,7 @@
|
|
|
6653
6736
|
],
|
|
6654
6737
|
"signatures": [
|
|
6655
6738
|
{
|
|
6656
|
-
"id":
|
|
6739
|
+
"id": 465,
|
|
6657
6740
|
"name": "isCloseable",
|
|
6658
6741
|
"kind": 4096,
|
|
6659
6742
|
"kindString": "Call signature",
|
|
@@ -6677,7 +6760,7 @@
|
|
|
6677
6760
|
]
|
|
6678
6761
|
},
|
|
6679
6762
|
{
|
|
6680
|
-
"id":
|
|
6763
|
+
"id": 462,
|
|
6681
6764
|
"name": "isClosed",
|
|
6682
6765
|
"kind": 2048,
|
|
6683
6766
|
"kindString": "Method",
|
|
@@ -6693,7 +6776,7 @@
|
|
|
6693
6776
|
],
|
|
6694
6777
|
"signatures": [
|
|
6695
6778
|
{
|
|
6696
|
-
"id":
|
|
6779
|
+
"id": 463,
|
|
6697
6780
|
"name": "isClosed",
|
|
6698
6781
|
"kind": 4096,
|
|
6699
6782
|
"kindString": "Call signature",
|
|
@@ -6717,7 +6800,7 @@
|
|
|
6717
6800
|
]
|
|
6718
6801
|
},
|
|
6719
6802
|
{
|
|
6720
|
-
"id":
|
|
6803
|
+
"id": 441,
|
|
6721
6804
|
"name": "with",
|
|
6722
6805
|
"kind": 2048,
|
|
6723
6806
|
"kindString": "Method",
|
|
@@ -6734,7 +6817,7 @@
|
|
|
6734
6817
|
],
|
|
6735
6818
|
"signatures": [
|
|
6736
6819
|
{
|
|
6737
|
-
"id":
|
|
6820
|
+
"id": 442,
|
|
6738
6821
|
"name": "with",
|
|
6739
6822
|
"kind": 4096,
|
|
6740
6823
|
"kindString": "Call signature",
|
|
@@ -6744,14 +6827,14 @@
|
|
|
6744
6827
|
},
|
|
6745
6828
|
"parameters": [
|
|
6746
6829
|
{
|
|
6747
|
-
"id":
|
|
6830
|
+
"id": 443,
|
|
6748
6831
|
"name": "filters",
|
|
6749
6832
|
"kind": 32768,
|
|
6750
6833
|
"kindString": "Parameter",
|
|
6751
6834
|
"flags": {},
|
|
6752
6835
|
"type": {
|
|
6753
6836
|
"type": "reference",
|
|
6754
|
-
"id":
|
|
6837
|
+
"id": 493,
|
|
6755
6838
|
"name": "SkyAlertHarnessFilters"
|
|
6756
6839
|
}
|
|
6757
6840
|
}
|
|
@@ -6761,7 +6844,7 @@
|
|
|
6761
6844
|
"typeArguments": [
|
|
6762
6845
|
{
|
|
6763
6846
|
"type": "reference",
|
|
6764
|
-
"id":
|
|
6847
|
+
"id": 439,
|
|
6765
6848
|
"name": "SkyAlertHarness"
|
|
6766
6849
|
}
|
|
6767
6850
|
],
|
|
@@ -6778,22 +6861,22 @@
|
|
|
6778
6861
|
"title": "Constructors",
|
|
6779
6862
|
"kind": 512,
|
|
6780
6863
|
"children": [
|
|
6781
|
-
|
|
6864
|
+
449
|
|
6782
6865
|
]
|
|
6783
6866
|
},
|
|
6784
6867
|
{
|
|
6785
6868
|
"title": "Methods",
|
|
6786
6869
|
"kind": 2048,
|
|
6787
6870
|
"children": [
|
|
6788
|
-
|
|
6789
|
-
|
|
6871
|
+
460,
|
|
6872
|
+
456,
|
|
6873
|
+
468,
|
|
6790
6874
|
466,
|
|
6875
|
+
458,
|
|
6876
|
+
473,
|
|
6791
6877
|
464,
|
|
6792
|
-
456,
|
|
6793
|
-
471,
|
|
6794
6878
|
462,
|
|
6795
|
-
|
|
6796
|
-
439
|
|
6879
|
+
441
|
|
6797
6880
|
]
|
|
6798
6881
|
}
|
|
6799
6882
|
],
|
|
@@ -6812,7 +6895,7 @@
|
|
|
6812
6895
|
]
|
|
6813
6896
|
},
|
|
6814
6897
|
{
|
|
6815
|
-
"id":
|
|
6898
|
+
"id": 497,
|
|
6816
6899
|
"name": "SkyKeyInfoHarness",
|
|
6817
6900
|
"kind": 128,
|
|
6818
6901
|
"kindString": "Class",
|
|
@@ -6822,7 +6905,7 @@
|
|
|
6822
6905
|
},
|
|
6823
6906
|
"children": [
|
|
6824
6907
|
{
|
|
6825
|
-
"id":
|
|
6908
|
+
"id": 515,
|
|
6826
6909
|
"name": "getLabelText",
|
|
6827
6910
|
"kind": 2048,
|
|
6828
6911
|
"kindString": "Method",
|
|
@@ -6838,7 +6921,7 @@
|
|
|
6838
6921
|
],
|
|
6839
6922
|
"signatures": [
|
|
6840
6923
|
{
|
|
6841
|
-
"id":
|
|
6924
|
+
"id": 516,
|
|
6842
6925
|
"name": "getLabelText",
|
|
6843
6926
|
"kind": 4096,
|
|
6844
6927
|
"kindString": "Call signature",
|
|
@@ -6862,7 +6945,7 @@
|
|
|
6862
6945
|
]
|
|
6863
6946
|
},
|
|
6864
6947
|
{
|
|
6865
|
-
"id":
|
|
6948
|
+
"id": 517,
|
|
6866
6949
|
"name": "getLayout",
|
|
6867
6950
|
"kind": 2048,
|
|
6868
6951
|
"kindString": "Method",
|
|
@@ -6878,7 +6961,7 @@
|
|
|
6878
6961
|
],
|
|
6879
6962
|
"signatures": [
|
|
6880
6963
|
{
|
|
6881
|
-
"id":
|
|
6964
|
+
"id": 518,
|
|
6882
6965
|
"name": "getLayout",
|
|
6883
6966
|
"kind": 4096,
|
|
6884
6967
|
"kindString": "Call signature",
|
|
@@ -6903,7 +6986,7 @@
|
|
|
6903
6986
|
]
|
|
6904
6987
|
},
|
|
6905
6988
|
{
|
|
6906
|
-
"id":
|
|
6989
|
+
"id": 513,
|
|
6907
6990
|
"name": "getValueText",
|
|
6908
6991
|
"kind": 2048,
|
|
6909
6992
|
"kindString": "Method",
|
|
@@ -6919,7 +7002,7 @@
|
|
|
6919
7002
|
],
|
|
6920
7003
|
"signatures": [
|
|
6921
7004
|
{
|
|
6922
|
-
"id":
|
|
7005
|
+
"id": 514,
|
|
6923
7006
|
"name": "getValueText",
|
|
6924
7007
|
"kind": 4096,
|
|
6925
7008
|
"kindString": "Call signature",
|
|
@@ -6943,7 +7026,7 @@
|
|
|
6943
7026
|
]
|
|
6944
7027
|
},
|
|
6945
7028
|
{
|
|
6946
|
-
"id":
|
|
7029
|
+
"id": 522,
|
|
6947
7030
|
"name": "host",
|
|
6948
7031
|
"kind": 2048,
|
|
6949
7032
|
"kindString": "Method",
|
|
@@ -6957,7 +7040,7 @@
|
|
|
6957
7040
|
],
|
|
6958
7041
|
"signatures": [
|
|
6959
7042
|
{
|
|
6960
|
-
"id":
|
|
7043
|
+
"id": 523,
|
|
6961
7044
|
"name": "host",
|
|
6962
7045
|
"kind": 4096,
|
|
6963
7046
|
"kindString": "Call signature",
|
|
@@ -6991,7 +7074,7 @@
|
|
|
6991
7074
|
}
|
|
6992
7075
|
},
|
|
6993
7076
|
{
|
|
6994
|
-
"id":
|
|
7077
|
+
"id": 499,
|
|
6995
7078
|
"name": "with",
|
|
6996
7079
|
"kind": 2048,
|
|
6997
7080
|
"kindString": "Method",
|
|
@@ -7008,7 +7091,7 @@
|
|
|
7008
7091
|
],
|
|
7009
7092
|
"signatures": [
|
|
7010
7093
|
{
|
|
7011
|
-
"id":
|
|
7094
|
+
"id": 500,
|
|
7012
7095
|
"name": "with",
|
|
7013
7096
|
"kind": 4096,
|
|
7014
7097
|
"kindString": "Call signature",
|
|
@@ -7018,14 +7101,14 @@
|
|
|
7018
7101
|
},
|
|
7019
7102
|
"parameters": [
|
|
7020
7103
|
{
|
|
7021
|
-
"id":
|
|
7104
|
+
"id": 501,
|
|
7022
7105
|
"name": "filters",
|
|
7023
7106
|
"kind": 32768,
|
|
7024
7107
|
"kindString": "Parameter",
|
|
7025
7108
|
"flags": {},
|
|
7026
7109
|
"type": {
|
|
7027
7110
|
"type": "reference",
|
|
7028
|
-
"id":
|
|
7111
|
+
"id": 542,
|
|
7029
7112
|
"name": "SkyKeyInfoHarnessFilters"
|
|
7030
7113
|
}
|
|
7031
7114
|
}
|
|
@@ -7035,7 +7118,7 @@
|
|
|
7035
7118
|
"typeArguments": [
|
|
7036
7119
|
{
|
|
7037
7120
|
"type": "reference",
|
|
7038
|
-
"id":
|
|
7121
|
+
"id": 497,
|
|
7039
7122
|
"name": "SkyKeyInfoHarness"
|
|
7040
7123
|
}
|
|
7041
7124
|
],
|
|
@@ -7052,18 +7135,18 @@
|
|
|
7052
7135
|
"title": "Constructors",
|
|
7053
7136
|
"kind": 512,
|
|
7054
7137
|
"children": [
|
|
7055
|
-
|
|
7138
|
+
507
|
|
7056
7139
|
]
|
|
7057
7140
|
},
|
|
7058
7141
|
{
|
|
7059
7142
|
"title": "Methods",
|
|
7060
7143
|
"kind": 2048,
|
|
7061
7144
|
"children": [
|
|
7062
|
-
513,
|
|
7063
7145
|
515,
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7146
|
+
517,
|
|
7147
|
+
513,
|
|
7148
|
+
522,
|
|
7149
|
+
499
|
|
7067
7150
|
]
|
|
7068
7151
|
}
|
|
7069
7152
|
],
|
|
@@ -7082,7 +7165,7 @@
|
|
|
7082
7165
|
]
|
|
7083
7166
|
},
|
|
7084
7167
|
{
|
|
7085
|
-
"id":
|
|
7168
|
+
"id": 546,
|
|
7086
7169
|
"name": "SkyLabelHarness",
|
|
7087
7170
|
"kind": 128,
|
|
7088
7171
|
"kindString": "Class",
|
|
@@ -7092,7 +7175,7 @@
|
|
|
7092
7175
|
},
|
|
7093
7176
|
"children": [
|
|
7094
7177
|
{
|
|
7095
|
-
"id":
|
|
7178
|
+
"id": 568,
|
|
7096
7179
|
"name": "getCustomDescription",
|
|
7097
7180
|
"kind": 2048,
|
|
7098
7181
|
"kindString": "Method",
|
|
@@ -7108,7 +7191,7 @@
|
|
|
7108
7191
|
],
|
|
7109
7192
|
"signatures": [
|
|
7110
7193
|
{
|
|
7111
|
-
"id":
|
|
7194
|
+
"id": 569,
|
|
7112
7195
|
"name": "getCustomDescription",
|
|
7113
7196
|
"kind": 4096,
|
|
7114
7197
|
"kindString": "Call signature",
|
|
@@ -7132,7 +7215,7 @@
|
|
|
7132
7215
|
]
|
|
7133
7216
|
},
|
|
7134
7217
|
{
|
|
7135
|
-
"id":
|
|
7218
|
+
"id": 566,
|
|
7136
7219
|
"name": "getDescriptionType",
|
|
7137
7220
|
"kind": 2048,
|
|
7138
7221
|
"kindString": "Method",
|
|
@@ -7148,7 +7231,7 @@
|
|
|
7148
7231
|
],
|
|
7149
7232
|
"signatures": [
|
|
7150
7233
|
{
|
|
7151
|
-
"id":
|
|
7234
|
+
"id": 567,
|
|
7152
7235
|
"name": "getDescriptionType",
|
|
7153
7236
|
"kind": 4096,
|
|
7154
7237
|
"kindString": "Call signature",
|
|
@@ -7173,7 +7256,7 @@
|
|
|
7173
7256
|
]
|
|
7174
7257
|
},
|
|
7175
7258
|
{
|
|
7176
|
-
"id":
|
|
7259
|
+
"id": 562,
|
|
7177
7260
|
"name": "getLabelText",
|
|
7178
7261
|
"kind": 2048,
|
|
7179
7262
|
"kindString": "Method",
|
|
@@ -7189,7 +7272,7 @@
|
|
|
7189
7272
|
],
|
|
7190
7273
|
"signatures": [
|
|
7191
7274
|
{
|
|
7192
|
-
"id":
|
|
7275
|
+
"id": 563,
|
|
7193
7276
|
"name": "getLabelText",
|
|
7194
7277
|
"kind": 4096,
|
|
7195
7278
|
"kindString": "Call signature",
|
|
@@ -7213,7 +7296,7 @@
|
|
|
7213
7296
|
]
|
|
7214
7297
|
},
|
|
7215
7298
|
{
|
|
7216
|
-
"id":
|
|
7299
|
+
"id": 564,
|
|
7217
7300
|
"name": "getLabelType",
|
|
7218
7301
|
"kind": 2048,
|
|
7219
7302
|
"kindString": "Method",
|
|
@@ -7229,7 +7312,7 @@
|
|
|
7229
7312
|
],
|
|
7230
7313
|
"signatures": [
|
|
7231
7314
|
{
|
|
7232
|
-
"id":
|
|
7315
|
+
"id": 565,
|
|
7233
7316
|
"name": "getLabelType",
|
|
7234
7317
|
"kind": 4096,
|
|
7235
7318
|
"kindString": "Call signature",
|
|
@@ -7254,7 +7337,7 @@
|
|
|
7254
7337
|
]
|
|
7255
7338
|
},
|
|
7256
7339
|
{
|
|
7257
|
-
"id":
|
|
7340
|
+
"id": 573,
|
|
7258
7341
|
"name": "host",
|
|
7259
7342
|
"kind": 2048,
|
|
7260
7343
|
"kindString": "Method",
|
|
@@ -7268,7 +7351,7 @@
|
|
|
7268
7351
|
],
|
|
7269
7352
|
"signatures": [
|
|
7270
7353
|
{
|
|
7271
|
-
"id":
|
|
7354
|
+
"id": 574,
|
|
7272
7355
|
"name": "host",
|
|
7273
7356
|
"kind": 4096,
|
|
7274
7357
|
"kindString": "Call signature",
|
|
@@ -7302,7 +7385,7 @@
|
|
|
7302
7385
|
}
|
|
7303
7386
|
},
|
|
7304
7387
|
{
|
|
7305
|
-
"id":
|
|
7388
|
+
"id": 548,
|
|
7306
7389
|
"name": "with",
|
|
7307
7390
|
"kind": 2048,
|
|
7308
7391
|
"kindString": "Method",
|
|
@@ -7319,7 +7402,7 @@
|
|
|
7319
7402
|
],
|
|
7320
7403
|
"signatures": [
|
|
7321
7404
|
{
|
|
7322
|
-
"id":
|
|
7405
|
+
"id": 549,
|
|
7323
7406
|
"name": "with",
|
|
7324
7407
|
"kind": 4096,
|
|
7325
7408
|
"kindString": "Call signature",
|
|
@@ -7329,14 +7412,14 @@
|
|
|
7329
7412
|
},
|
|
7330
7413
|
"parameters": [
|
|
7331
7414
|
{
|
|
7332
|
-
"id":
|
|
7415
|
+
"id": 550,
|
|
7333
7416
|
"name": "filters",
|
|
7334
7417
|
"kind": 32768,
|
|
7335
7418
|
"kindString": "Parameter",
|
|
7336
7419
|
"flags": {},
|
|
7337
7420
|
"type": {
|
|
7338
7421
|
"type": "reference",
|
|
7339
|
-
"id":
|
|
7422
|
+
"id": 593,
|
|
7340
7423
|
"name": "SkyLabelHarnessFilters"
|
|
7341
7424
|
}
|
|
7342
7425
|
}
|
|
@@ -7346,7 +7429,7 @@
|
|
|
7346
7429
|
"typeArguments": [
|
|
7347
7430
|
{
|
|
7348
7431
|
"type": "reference",
|
|
7349
|
-
"id":
|
|
7432
|
+
"id": 546,
|
|
7350
7433
|
"name": "SkyLabelHarness"
|
|
7351
7434
|
}
|
|
7352
7435
|
],
|
|
@@ -7363,19 +7446,19 @@
|
|
|
7363
7446
|
"title": "Constructors",
|
|
7364
7447
|
"kind": 512,
|
|
7365
7448
|
"children": [
|
|
7366
|
-
|
|
7449
|
+
556
|
|
7367
7450
|
]
|
|
7368
7451
|
},
|
|
7369
7452
|
{
|
|
7370
7453
|
"title": "Methods",
|
|
7371
7454
|
"kind": 2048,
|
|
7372
7455
|
"children": [
|
|
7456
|
+
568,
|
|
7373
7457
|
566,
|
|
7374
|
-
564,
|
|
7375
|
-
560,
|
|
7376
7458
|
562,
|
|
7377
|
-
|
|
7378
|
-
|
|
7459
|
+
564,
|
|
7460
|
+
573,
|
|
7461
|
+
548
|
|
7379
7462
|
]
|
|
7380
7463
|
}
|
|
7381
7464
|
],
|
|
@@ -7394,7 +7477,7 @@
|
|
|
7394
7477
|
]
|
|
7395
7478
|
},
|
|
7396
7479
|
{
|
|
7397
|
-
"id":
|
|
7480
|
+
"id": 493,
|
|
7398
7481
|
"name": "SkyAlertHarnessFilters",
|
|
7399
7482
|
"kind": 256,
|
|
7400
7483
|
"kindString": "Interface",
|
|
@@ -7404,7 +7487,7 @@
|
|
|
7404
7487
|
},
|
|
7405
7488
|
"children": [
|
|
7406
7489
|
{
|
|
7407
|
-
"id":
|
|
7490
|
+
"id": 496,
|
|
7408
7491
|
"name": "ancestor",
|
|
7409
7492
|
"kind": 1024,
|
|
7410
7493
|
"kindString": "Property",
|
|
@@ -7431,7 +7514,7 @@
|
|
|
7431
7514
|
}
|
|
7432
7515
|
},
|
|
7433
7516
|
{
|
|
7434
|
-
"id":
|
|
7517
|
+
"id": 494,
|
|
7435
7518
|
"name": "dataSkyId",
|
|
7436
7519
|
"kind": 1024,
|
|
7437
7520
|
"kindString": "Property",
|
|
@@ -7469,7 +7552,7 @@
|
|
|
7469
7552
|
}
|
|
7470
7553
|
},
|
|
7471
7554
|
{
|
|
7472
|
-
"id":
|
|
7555
|
+
"id": 495,
|
|
7473
7556
|
"name": "selector",
|
|
7474
7557
|
"kind": 1024,
|
|
7475
7558
|
"kindString": "Property",
|
|
@@ -7501,9 +7584,9 @@
|
|
|
7501
7584
|
"title": "Properties",
|
|
7502
7585
|
"kind": 1024,
|
|
7503
7586
|
"children": [
|
|
7587
|
+
496,
|
|
7504
7588
|
494,
|
|
7505
|
-
|
|
7506
|
-
493
|
|
7589
|
+
495
|
|
7507
7590
|
]
|
|
7508
7591
|
}
|
|
7509
7592
|
],
|
|
@@ -7522,7 +7605,7 @@
|
|
|
7522
7605
|
]
|
|
7523
7606
|
},
|
|
7524
7607
|
{
|
|
7525
|
-
"id":
|
|
7608
|
+
"id": 542,
|
|
7526
7609
|
"name": "SkyKeyInfoHarnessFilters",
|
|
7527
7610
|
"kind": 256,
|
|
7528
7611
|
"kindString": "Interface",
|
|
@@ -7532,7 +7615,7 @@
|
|
|
7532
7615
|
},
|
|
7533
7616
|
"children": [
|
|
7534
7617
|
{
|
|
7535
|
-
"id":
|
|
7618
|
+
"id": 545,
|
|
7536
7619
|
"name": "ancestor",
|
|
7537
7620
|
"kind": 1024,
|
|
7538
7621
|
"kindString": "Property",
|
|
@@ -7559,7 +7642,7 @@
|
|
|
7559
7642
|
}
|
|
7560
7643
|
},
|
|
7561
7644
|
{
|
|
7562
|
-
"id":
|
|
7645
|
+
"id": 543,
|
|
7563
7646
|
"name": "dataSkyId",
|
|
7564
7647
|
"kind": 1024,
|
|
7565
7648
|
"kindString": "Property",
|
|
@@ -7597,7 +7680,7 @@
|
|
|
7597
7680
|
}
|
|
7598
7681
|
},
|
|
7599
7682
|
{
|
|
7600
|
-
"id":
|
|
7683
|
+
"id": 544,
|
|
7601
7684
|
"name": "selector",
|
|
7602
7685
|
"kind": 1024,
|
|
7603
7686
|
"kindString": "Property",
|
|
@@ -7629,9 +7712,9 @@
|
|
|
7629
7712
|
"title": "Properties",
|
|
7630
7713
|
"kind": 1024,
|
|
7631
7714
|
"children": [
|
|
7715
|
+
545,
|
|
7632
7716
|
543,
|
|
7633
|
-
|
|
7634
|
-
542
|
|
7717
|
+
544
|
|
7635
7718
|
]
|
|
7636
7719
|
}
|
|
7637
7720
|
],
|
|
@@ -7650,7 +7733,7 @@
|
|
|
7650
7733
|
]
|
|
7651
7734
|
},
|
|
7652
7735
|
{
|
|
7653
|
-
"id":
|
|
7736
|
+
"id": 593,
|
|
7654
7737
|
"name": "SkyLabelHarnessFilters",
|
|
7655
7738
|
"kind": 256,
|
|
7656
7739
|
"kindString": "Interface",
|
|
@@ -7660,7 +7743,7 @@
|
|
|
7660
7743
|
},
|
|
7661
7744
|
"children": [
|
|
7662
7745
|
{
|
|
7663
|
-
"id":
|
|
7746
|
+
"id": 596,
|
|
7664
7747
|
"name": "ancestor",
|
|
7665
7748
|
"kind": 1024,
|
|
7666
7749
|
"kindString": "Property",
|
|
@@ -7687,7 +7770,7 @@
|
|
|
7687
7770
|
}
|
|
7688
7771
|
},
|
|
7689
7772
|
{
|
|
7690
|
-
"id":
|
|
7773
|
+
"id": 594,
|
|
7691
7774
|
"name": "dataSkyId",
|
|
7692
7775
|
"kind": 1024,
|
|
7693
7776
|
"kindString": "Property",
|
|
@@ -7725,7 +7808,7 @@
|
|
|
7725
7808
|
}
|
|
7726
7809
|
},
|
|
7727
7810
|
{
|
|
7728
|
-
"id":
|
|
7811
|
+
"id": 595,
|
|
7729
7812
|
"name": "selector",
|
|
7730
7813
|
"kind": 1024,
|
|
7731
7814
|
"kindString": "Property",
|
|
@@ -7757,9 +7840,9 @@
|
|
|
7757
7840
|
"title": "Properties",
|
|
7758
7841
|
"kind": 1024,
|
|
7759
7842
|
"children": [
|
|
7843
|
+
596,
|
|
7760
7844
|
594,
|
|
7761
|
-
|
|
7762
|
-
593
|
|
7845
|
+
595
|
|
7763
7846
|
]
|
|
7764
7847
|
}
|
|
7765
7848
|
],
|
|
@@ -7925,30 +8008,50 @@
|
|
|
7925
8008
|
"filePath": "/projects/indicators/documentation/code-examples/text-highlight/basic/text-highlight-demo.module.ts",
|
|
7926
8009
|
"rawContents": "import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { SkyIdModule } from '@skyux/core';\nimport { SkyCheckboxModule } from '@skyux/forms';\nimport { SkyTextHighlightModule } from '@skyux/indicators';\n\nimport { TextHighlightDemoComponent } from './text-highlight-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n SkyCheckboxModule,\n SkyIdModule,\n SkyTextHighlightModule,\n ],\n exports: [TextHighlightDemoComponent],\n declarations: [TextHighlightDemoComponent],\n})\nexport class TextHighlightDemoModule {}\n"
|
|
7927
8010
|
},
|
|
8011
|
+
{
|
|
8012
|
+
"fileName": "tokens-demo-color.ts",
|
|
8013
|
+
"filePath": "/projects/indicators/documentation/code-examples/tokens/basic/tokens-demo-color.ts",
|
|
8014
|
+
"rawContents": "export interface TokensDemoColor {\n name: string;\n}\n"
|
|
8015
|
+
},
|
|
7928
8016
|
{
|
|
7929
8017
|
"fileName": "tokens-demo.component.html",
|
|
7930
8018
|
"filePath": "/projects/indicators/documentation/code-examples/tokens/basic/tokens-demo.component.html",
|
|
7931
|
-
"rawContents": "<sky-tokens [(tokens)]=\"colors\"
|
|
8019
|
+
"rawContents": "<sky-tokens [(tokens)]=\"colors\" data-sky-id=\"color-tokens\"></sky-tokens>\n"
|
|
8020
|
+
},
|
|
8021
|
+
{
|
|
8022
|
+
"fileName": "tokens-demo.component.spec.ts",
|
|
8023
|
+
"filePath": "/projects/indicators/documentation/code-examples/tokens/basic/tokens-demo.component.spec.ts",
|
|
8024
|
+
"rawContents": "import { TestbedHarnessEnvironment } from '@angular/cdk/testing/testbed';\nimport { TestBed } from '@angular/core/testing';\nimport { NoopAnimationsModule } from '@angular/platform-browser/animations';\nimport { SkyToken } from '@skyux/indicators';\nimport { SkyTokensHarness } from '@skyux/indicators/testing';\n\nimport { TokensDemoColor } from './tokens-demo-color';\nimport { TokensDemoComponent } from './tokens-demo.component';\nimport { TokensDemoModule } from './tokens-demo.module';\n\ndescribe('Tokens basic demo', () => {\n async function setupTest() {\n const fixture = TestBed.createComponent(TokensDemoComponent);\n const loader = TestbedHarnessEnvironment.loader(fixture);\n\n const tokensHarness = await loader.getHarness(\n SkyTokensHarness.with({ dataSkyId: 'color-tokens' })\n );\n\n return { tokensHarness, fixture };\n }\n\n beforeEach(() => {\n TestBed.configureTestingModule({\n imports: [NoopAnimationsModule, TokensDemoModule],\n });\n });\n\n it('should display the expected initial tokens', async () => {\n const { tokensHarness } = await setupTest();\n\n await expectAsync(tokensHarness.getTokensText()).toBeResolvedTo([\n 'Red',\n 'Black',\n 'Blue',\n 'Brown',\n 'Green',\n 'Orange',\n 'Pink',\n 'Purple',\n 'Turquoise',\n 'White',\n 'Yellow',\n ]);\n });\n\n it('should update the tokens array when one is dismissed', async () => {\n const { tokensHarness, fixture } = await setupTest();\n\n const blueToken: SkyToken<TokensDemoColor> = {\n value: { name: 'Blue' },\n };\n\n expect(fixture.componentInstance.colors).toContain(blueToken);\n\n await tokensHarness.dismissTokens({\n text: 'Blue',\n });\n\n expect(fixture.componentInstance.colors).not.toContain(blueToken);\n });\n});\n"
|
|
7932
8025
|
},
|
|
7933
8026
|
{
|
|
7934
8027
|
"fileName": "tokens-demo.component.ts",
|
|
7935
8028
|
"filePath": "/projects/indicators/documentation/code-examples/tokens/basic/tokens-demo.component.ts",
|
|
7936
|
-
"rawContents": "import { Component } from '@angular/core';\nimport { SkyToken } from '@skyux/indicators';\n\n@Component({\n selector: 'app-tokens-demo',\n templateUrl: './tokens-demo.component.html',\n})\nexport class TokensDemoComponent {\n public colors: SkyToken[]
|
|
8029
|
+
"rawContents": "import { Component } from '@angular/core';\nimport { SkyToken } from '@skyux/indicators';\n\nimport { TokensDemoColor } from './tokens-demo-color';\n\n@Component({\n selector: 'app-tokens-demo',\n templateUrl: './tokens-demo.component.html',\n})\nexport class TokensDemoComponent {\n public colors: SkyToken<TokensDemoColor>[] = [\n { value: { name: 'Red' } },\n { value: { name: 'Black' } },\n { value: { name: 'Blue' } },\n { value: { name: 'Brown' } },\n { value: { name: 'Green' } },\n { value: { name: 'Orange' } },\n { value: { name: 'Pink' } },\n { value: { name: 'Purple' } },\n { value: { name: 'Turquoise' } },\n { value: { name: 'White' } },\n { value: { name: 'Yellow' } },\n ];\n}\n"
|
|
7937
8030
|
},
|
|
7938
8031
|
{
|
|
7939
8032
|
"fileName": "tokens-demo.module.ts",
|
|
7940
8033
|
"filePath": "/projects/indicators/documentation/code-examples/tokens/basic/tokens-demo.module.ts",
|
|
7941
8034
|
"rawContents": "import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SkyTokensModule } from '@skyux/indicators';\n\nimport { TokensDemoComponent } from './tokens-demo.component';\n\n@NgModule({\n imports: [CommonModule, SkyTokensModule],\n exports: [TokensDemoComponent],\n declarations: [TokensDemoComponent],\n})\nexport class TokensDemoModule {}\n"
|
|
7942
8035
|
},
|
|
8036
|
+
{
|
|
8037
|
+
"fileName": "tokens-demo-item.ts",
|
|
8038
|
+
"filePath": "/projects/indicators/documentation/code-examples/tokens/custom/tokens-demo-item.ts",
|
|
8039
|
+
"rawContents": "export interface TokensDemoItem {\n label: string;\n}\n"
|
|
8040
|
+
},
|
|
7943
8041
|
{
|
|
7944
8042
|
"fileName": "tokens-demo.component.html",
|
|
7945
8043
|
"filePath": "/projects/indicators/documentation/code-examples/tokens/custom/tokens-demo.component.html",
|
|
7946
|
-
"rawContents": "<p>\n These tokens define a custom property to display their values. When users\n select a token, it emits an event.\n</p>\n\n<div class=\"sky-margin-stacked-xl\">\n <sky-tokens\n displayWith=\"label\"\n [messageStream]=\"tokensController\"\n (focusIndexOverRange)=\"onFocusIndexOverRange()\"\n (focusIndexUnderRange)=\"onFocusIndexUnderRange()\"\n (tokenSelected)=\"onTokenSelected($event)\"\n [(tokens)]=\"myTokens\"\n >\n (You may also include content inside the tokens component.)\n </sky-tokens>\n</div>\n\n<div class=\"sky-margin-stacked-xl\">\n <button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"changeTokens()\"\n >\n Change tokens\n </button>\n\n <button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"resetTokens()\"\n >\n Reset tokens\n </button>\n\n <button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"destroyTokens()\"\n >\n Destroy tokens\n </button>\n\n <button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n (click)=\"focusLastToken()\"\n >\n Focus last token\n </button>\n</div>\n"
|
|
8044
|
+
"rawContents": "<p>\n These tokens define a custom property to display their values. When users\n select a token, it emits an event.\n</p>\n\n<div class=\"sky-margin-stacked-xl\">\n <sky-tokens\n displayWith=\"label\"\n [messageStream]=\"tokensController\"\n (focusIndexOverRange)=\"onFocusIndexOverRange()\"\n (focusIndexUnderRange)=\"onFocusIndexUnderRange()\"\n (tokenSelected)=\"onTokenSelected($event)\"\n [(tokens)]=\"myTokens\"\n data-sky-id=\"demo-tokens\"\n >\n (You may also include content inside the tokens component.)\n </sky-tokens>\n</div>\n\n<div class=\"sky-margin-stacked-xl\">\n <button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm tokens-demo-change-btn\"\n type=\"button\"\n (click)=\"changeTokens()\"\n >\n Change tokens\n </button>\n\n <button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm tokens-demo-reset-btn\"\n type=\"button\"\n (click)=\"resetTokens()\"\n >\n Reset tokens\n </button>\n\n <button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm tokens-demo-destroy-btn\"\n type=\"button\"\n (click)=\"destroyTokens()\"\n >\n Destroy tokens\n </button>\n\n <button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm tokens-demo-focus-last-btn\"\n (click)=\"focusLastToken()\"\n >\n Focus last token\n </button>\n</div>\n\n<div>\n Selected token: <span class=\"tokens-demo-selected\">{{ selectedToken }}</span>\n</div>\n"
|
|
8045
|
+
},
|
|
8046
|
+
{
|
|
8047
|
+
"fileName": "tokens-demo.component.spec.ts",
|
|
8048
|
+
"filePath": "/projects/indicators/documentation/code-examples/tokens/custom/tokens-demo.component.spec.ts",
|
|
8049
|
+
"rawContents": "import { TestbedHarnessEnvironment } from '@angular/cdk/testing/testbed';\nimport { ComponentFixture, TestBed } from '@angular/core/testing';\nimport { NoopAnimationsModule } from '@angular/platform-browser/animations';\nimport { SkyTokensHarness } from '@skyux/indicators/testing';\n\nimport { TokensDemoComponent } from './tokens-demo.component';\nimport { TokensDemoModule } from './tokens-demo.module';\n\ndescribe('Tokens basic demo', () => {\n let initialTokenLabels: string[];\n\n async function setupTest() {\n const fixture = TestBed.createComponent(TokensDemoComponent);\n const loader = TestbedHarnessEnvironment.loader(fixture);\n\n const tokensHarness = await loader.getHarness(\n SkyTokensHarness.with({ dataSkyId: 'demo-tokens' })\n );\n\n return { tokensHarness, fixture };\n }\n\n function clickButton(\n fixture: ComponentFixture<TokensDemoComponent>,\n buttonName: 'change' | 'destroy' | 'focus-last' | 'reset'\n ): void {\n fixture.nativeElement\n .querySelector(`.tokens-demo-${buttonName}-btn`)\n .click();\n }\n\n beforeEach(() => {\n initialTokenLabels = [\n 'Canada',\n 'Older than 55',\n 'Employed',\n 'Added before 2018',\n ];\n\n TestBed.configureTestingModule({\n imports: [NoopAnimationsModule, TokensDemoModule],\n });\n });\n\n it('should display the expected initial tokens', async () => {\n const { tokensHarness } = await setupTest();\n\n await expectAsync(tokensHarness.getTokensText()).toBeResolvedTo(\n initialTokenLabels\n );\n });\n\n it('should display the selected token label when the user selects a token', async () => {\n const { tokensHarness, fixture } = await setupTest();\n\n const employedToken = (await tokensHarness.getTokens())[2];\n await employedToken.select();\n\n expect(\n fixture.nativeElement.querySelector('.tokens-demo-selected').innerText\n ).toBe('Employed');\n });\n\n it('should change tokens when the user clicks the \"Change tokens\" button', async () => {\n const { tokensHarness, fixture } = await setupTest();\n\n clickButton(fixture, 'change');\n\n await expectAsync(tokensHarness.getTokensText()).toBeResolvedTo([\n 'Paid',\n 'Pending',\n 'Past due',\n ]);\n });\n\n it('should reset tokens when the user clicks the \"Reset tokens\" button', async () => {\n const { tokensHarness, fixture } = await setupTest();\n\n clickButton(fixture, 'change');\n\n await expectAsync(tokensHarness.getTokensText()).not.toBeResolvedTo(\n initialTokenLabels\n );\n\n clickButton(fixture, 'reset');\n\n await expectAsync(tokensHarness.getTokensText()).toBeResolvedTo(\n initialTokenLabels\n );\n });\n\n it('should destroy tokens when the user clicks the \"Destroy tokens\" button', async () => {\n const { tokensHarness, fixture } = await setupTest();\n\n clickButton(fixture, 'destroy');\n\n await expectAsync(tokensHarness.getTokens()).toBeResolvedTo([]);\n });\n\n it('should focus the last token when the user clicks the \"Focus last token\" button', async () => {\n const { tokensHarness, fixture } = await setupTest();\n\n const tokens = await tokensHarness.getTokens();\n const lastToken = tokens[tokens.length - 1];\n\n await expectAsync(lastToken.isFocused()).toBeResolvedTo(false);\n\n clickButton(fixture, 'focus-last');\n\n await expectAsync(lastToken.isFocused()).toBeResolvedTo(true);\n });\n});\n"
|
|
7947
8050
|
},
|
|
7948
8051
|
{
|
|
7949
8052
|
"fileName": "tokens-demo.component.ts",
|
|
7950
8053
|
"filePath": "/projects/indicators/documentation/code-examples/tokens/custom/tokens-demo.component.ts",
|
|
7951
|
-
"rawContents": "import { Component, OnDestroy } from '@angular/core';\nimport {\n SkyToken,\n SkyTokenSelectedEventArgs,\n SkyTokensMessage,\n SkyTokensMessageType,\n} from '@skyux/indicators';\n\nimport { Subject } from 'rxjs';\n\n@Component({\n selector: 'app-tokens-demo',\n templateUrl: './tokens-demo.component.html',\n})\nexport class TokensDemoComponent implements OnDestroy {\n public myTokens: SkyToken[];\n\n
|
|
8054
|
+
"rawContents": "import { Component, OnDestroy } from '@angular/core';\nimport {\n SkyToken,\n SkyTokenSelectedEventArgs,\n SkyTokensMessage,\n SkyTokensMessageType,\n} from '@skyux/indicators';\n\nimport { Subject } from 'rxjs';\n\nimport { TokensDemoItem } from './tokens-demo-item';\n\n@Component({\n selector: 'app-tokens-demo',\n templateUrl: './tokens-demo.component.html',\n})\nexport class TokensDemoComponent implements OnDestroy {\n public myTokens: SkyToken<TokensDemoItem>[];\n public tokensController = new Subject<SkyTokensMessage>();\n public selectedToken = '';\n\n #defaultItems: TokensDemoItem[] = [\n { label: 'Canada' },\n { label: 'Older than 55' },\n { label: 'Employed' },\n { label: 'Added before 2018' },\n ];\n\n constructor() {\n this.myTokens = this.#getTokens(this.#defaultItems);\n }\n\n public ngOnDestroy(): void {\n this.tokensController.complete();\n }\n\n public resetTokens(): void {\n this.createTokens();\n }\n\n public changeTokens(): void {\n this.myTokens = this.#getTokens([\n { label: 'Paid' },\n { label: 'Pending' },\n { label: 'Past due' },\n ]);\n }\n\n public destroyTokens(): void {\n this.myTokens = undefined;\n }\n\n public createTokens(): void {\n this.myTokens = this.#getTokens(this.#defaultItems);\n }\n\n public onTokenSelected(\n args: SkyTokenSelectedEventArgs<TokensDemoItem>\n ): void {\n this.selectedToken = args.token.value.label;\n }\n\n public onFocusIndexUnderRange(): void {\n console.log('Focus index was less than zero.');\n }\n\n public onFocusIndexOverRange(): void {\n console.log('Focus index was greater than the number of tokens.');\n }\n\n public focusLastToken(): void {\n this.tokensController.next({\n type: SkyTokensMessageType.FocusLastToken,\n });\n }\n\n #getTokens(data: TokensDemoItem[]): SkyToken<TokensDemoItem>[] {\n return data.map((item) => {\n return {\n value: item,\n };\n });\n }\n}\n"
|
|
7952
8055
|
},
|
|
7953
8056
|
{
|
|
7954
8057
|
"fileName": "tokens-demo.module.ts",
|