@skyux/avatar 11.15.0 → 11.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/documentation.json +911 -47
- package/esm2022/testing/avatar/avatar-harness-filters.mjs +2 -0
- package/esm2022/testing/avatar/avatar-harness.mjs +118 -0
- package/esm2022/testing/public-api.mjs +2 -1
- package/fesm2022/skyux-avatar-testing.mjs +119 -1
- package/fesm2022/skyux-avatar-testing.mjs.map +1 -1
- package/package.json +8 -7
- package/testing/avatar/avatar-harness-filters.d.ts +6 -0
- package/testing/avatar/avatar-harness.d.ts +46 -0
- package/testing/public-api.d.ts +1 -0
package/documentation.json
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"SkyAvatarModule": "class-skyavatarmodule",
|
|
4
4
|
"SkyAvatarComponent": "class-skyavatarcomponent",
|
|
5
5
|
"SkyAvatarSize": "type-alias-skyavatarsize",
|
|
6
|
-
"SkyAvatarSrc": "type-alias-skyavatarsrc"
|
|
6
|
+
"SkyAvatarSrc": "type-alias-skyavatarsrc",
|
|
7
|
+
"SkyAvatarHarness": "class-skyavatarharness"
|
|
7
8
|
},
|
|
8
9
|
"typedoc": {
|
|
9
10
|
"id": 0,
|
|
@@ -32,7 +33,7 @@
|
|
|
32
33
|
"fileName": "projects/avatar/src/modules/avatar/avatar.module.ts",
|
|
33
34
|
"line": 24,
|
|
34
35
|
"character": 13,
|
|
35
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
36
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.module.ts#L24"
|
|
36
37
|
}
|
|
37
38
|
],
|
|
38
39
|
"decorators": [
|
|
@@ -62,7 +63,7 @@
|
|
|
62
63
|
"fileName": "projects/avatar/src/modules/avatar/avatar.component.ts",
|
|
63
64
|
"line": 109,
|
|
64
65
|
"character": 2,
|
|
65
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
66
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L109"
|
|
66
67
|
}
|
|
67
68
|
],
|
|
68
69
|
"signatures": [
|
|
@@ -74,10 +75,10 @@
|
|
|
74
75
|
"flags": {},
|
|
75
76
|
"sources": [
|
|
76
77
|
{
|
|
77
|
-
"fileName": "src/lib/modules/avatar/avatar.component.ts",
|
|
78
|
+
"fileName": "libs/components/avatar/src/lib/modules/avatar/avatar.component.ts",
|
|
78
79
|
"line": 109,
|
|
79
80
|
"character": 2,
|
|
80
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
81
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L109"
|
|
81
82
|
}
|
|
82
83
|
],
|
|
83
84
|
"parameters": [
|
|
@@ -168,7 +169,7 @@
|
|
|
168
169
|
"fileName": "projects/avatar/src/modules/avatar/avatar.component.ts",
|
|
169
170
|
"line": 93,
|
|
170
171
|
"character": 9,
|
|
171
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
172
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L93"
|
|
172
173
|
}
|
|
173
174
|
],
|
|
174
175
|
"type": {
|
|
@@ -230,7 +231,7 @@
|
|
|
230
231
|
"fileName": "projects/avatar/src/modules/avatar/avatar.component.ts",
|
|
231
232
|
"line": 79,
|
|
232
233
|
"character": 9,
|
|
233
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
234
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L79"
|
|
234
235
|
}
|
|
235
236
|
],
|
|
236
237
|
"type": {
|
|
@@ -300,7 +301,7 @@
|
|
|
300
301
|
"fileName": "projects/avatar/src/modules/avatar/avatar.component.ts",
|
|
301
302
|
"line": 87,
|
|
302
303
|
"character": 9,
|
|
303
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
304
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L87"
|
|
304
305
|
}
|
|
305
306
|
],
|
|
306
307
|
"type": {
|
|
@@ -328,13 +329,13 @@
|
|
|
328
329
|
"fileName": "projects/avatar/src/modules/avatar/avatar.component.ts",
|
|
329
330
|
"line": 36,
|
|
330
331
|
"character": 13,
|
|
331
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
332
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L36"
|
|
332
333
|
},
|
|
333
334
|
{
|
|
334
335
|
"fileName": "projects/avatar/src/modules/avatar/avatar.component.ts",
|
|
335
336
|
"line": 40,
|
|
336
337
|
"character": 13,
|
|
337
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
338
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L40"
|
|
338
339
|
}
|
|
339
340
|
],
|
|
340
341
|
"getSignature": {
|
|
@@ -345,10 +346,10 @@
|
|
|
345
346
|
"flags": {},
|
|
346
347
|
"sources": [
|
|
347
348
|
{
|
|
348
|
-
"fileName": "src/lib/modules/avatar/avatar.component.ts",
|
|
349
|
+
"fileName": "libs/components/avatar/src/lib/modules/avatar/avatar.component.ts",
|
|
349
350
|
"line": 40,
|
|
350
351
|
"character": 13,
|
|
351
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
352
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L40"
|
|
352
353
|
}
|
|
353
354
|
],
|
|
354
355
|
"type": {
|
|
@@ -391,10 +392,10 @@
|
|
|
391
392
|
},
|
|
392
393
|
"sources": [
|
|
393
394
|
{
|
|
394
|
-
"fileName": "src/lib/modules/avatar/avatar.component.ts",
|
|
395
|
+
"fileName": "libs/components/avatar/src/lib/modules/avatar/avatar.component.ts",
|
|
395
396
|
"line": 36,
|
|
396
397
|
"character": 13,
|
|
397
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
398
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L36"
|
|
398
399
|
}
|
|
399
400
|
],
|
|
400
401
|
"parameters": [
|
|
@@ -434,13 +435,13 @@
|
|
|
434
435
|
"fileName": "projects/avatar/src/modules/avatar/avatar.component.ts",
|
|
435
436
|
"line": 53,
|
|
436
437
|
"character": 13,
|
|
437
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
438
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L53"
|
|
438
439
|
},
|
|
439
440
|
{
|
|
440
441
|
"fileName": "projects/avatar/src/modules/avatar/avatar.component.ts",
|
|
441
442
|
"line": 57,
|
|
442
443
|
"character": 13,
|
|
443
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
444
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L57"
|
|
444
445
|
}
|
|
445
446
|
],
|
|
446
447
|
"getSignature": {
|
|
@@ -451,10 +452,10 @@
|
|
|
451
452
|
"flags": {},
|
|
452
453
|
"sources": [
|
|
453
454
|
{
|
|
454
|
-
"fileName": "src/lib/modules/avatar/avatar.component.ts",
|
|
455
|
+
"fileName": "libs/components/avatar/src/lib/modules/avatar/avatar.component.ts",
|
|
455
456
|
"line": 57,
|
|
456
457
|
"character": 13,
|
|
457
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
458
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L57"
|
|
458
459
|
}
|
|
459
460
|
],
|
|
460
461
|
"type": {
|
|
@@ -502,10 +503,10 @@
|
|
|
502
503
|
},
|
|
503
504
|
"sources": [
|
|
504
505
|
{
|
|
505
|
-
"fileName": "src/lib/modules/avatar/avatar.component.ts",
|
|
506
|
+
"fileName": "libs/components/avatar/src/lib/modules/avatar/avatar.component.ts",
|
|
506
507
|
"line": 53,
|
|
507
508
|
"character": 13,
|
|
508
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
509
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L53"
|
|
509
510
|
}
|
|
510
511
|
],
|
|
511
512
|
"parameters": [
|
|
@@ -545,13 +546,13 @@
|
|
|
545
546
|
"fileName": "projects/avatar/src/modules/avatar/avatar.component.ts",
|
|
546
547
|
"line": 66,
|
|
547
548
|
"character": 13,
|
|
548
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
549
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L66"
|
|
549
550
|
},
|
|
550
551
|
{
|
|
551
552
|
"fileName": "projects/avatar/src/modules/avatar/avatar.component.ts",
|
|
552
553
|
"line": 70,
|
|
553
554
|
"character": 13,
|
|
554
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
555
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L70"
|
|
555
556
|
}
|
|
556
557
|
],
|
|
557
558
|
"getSignature": {
|
|
@@ -562,10 +563,10 @@
|
|
|
562
563
|
"flags": {},
|
|
563
564
|
"sources": [
|
|
564
565
|
{
|
|
565
|
-
"fileName": "src/lib/modules/avatar/avatar.component.ts",
|
|
566
|
+
"fileName": "libs/components/avatar/src/lib/modules/avatar/avatar.component.ts",
|
|
566
567
|
"line": 70,
|
|
567
568
|
"character": 13,
|
|
568
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
569
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L70"
|
|
569
570
|
}
|
|
570
571
|
],
|
|
571
572
|
"type": {
|
|
@@ -607,10 +608,10 @@
|
|
|
607
608
|
},
|
|
608
609
|
"sources": [
|
|
609
610
|
{
|
|
610
|
-
"fileName": "src/lib/modules/avatar/avatar.component.ts",
|
|
611
|
+
"fileName": "libs/components/avatar/src/lib/modules/avatar/avatar.component.ts",
|
|
611
612
|
"line": 66,
|
|
612
613
|
"character": 13,
|
|
613
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
614
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L66"
|
|
614
615
|
}
|
|
615
616
|
],
|
|
616
617
|
"parameters": [
|
|
@@ -652,7 +653,7 @@
|
|
|
652
653
|
"fileName": "projects/avatar/src/modules/avatar/avatar.component.ts",
|
|
653
654
|
"line": 124,
|
|
654
655
|
"character": 9,
|
|
655
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
656
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L124"
|
|
656
657
|
}
|
|
657
658
|
],
|
|
658
659
|
"signatures": [
|
|
@@ -664,10 +665,10 @@
|
|
|
664
665
|
"flags": {},
|
|
665
666
|
"sources": [
|
|
666
667
|
{
|
|
667
|
-
"fileName": "src/lib/modules/avatar/avatar.component.ts",
|
|
668
|
+
"fileName": "libs/components/avatar/src/lib/modules/avatar/avatar.component.ts",
|
|
668
669
|
"line": 124,
|
|
669
670
|
"character": 9,
|
|
670
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
671
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L124"
|
|
671
672
|
}
|
|
672
673
|
],
|
|
673
674
|
"parameters": [
|
|
@@ -732,7 +733,7 @@
|
|
|
732
733
|
"fileName": "projects/avatar/src/modules/avatar/avatar.component.ts",
|
|
733
734
|
"line": 27,
|
|
734
735
|
"character": 13,
|
|
735
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
736
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar.component.ts#L27"
|
|
736
737
|
}
|
|
737
738
|
],
|
|
738
739
|
"decorators": [
|
|
@@ -755,7 +756,7 @@
|
|
|
755
756
|
"fileName": "projects/avatar/src/modules/avatar/avatar-size.ts",
|
|
756
757
|
"line": 1,
|
|
757
758
|
"character": 12,
|
|
758
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
759
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar-size.ts#L1"
|
|
759
760
|
}
|
|
760
761
|
],
|
|
761
762
|
"type": {
|
|
@@ -787,7 +788,7 @@
|
|
|
787
788
|
"fileName": "projects/avatar/src/modules/avatar/avatar-src.ts",
|
|
788
789
|
"line": 1,
|
|
789
790
|
"character": 12,
|
|
790
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
791
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/src/lib/modules/avatar/avatar-src.ts#L1"
|
|
791
792
|
}
|
|
792
793
|
],
|
|
793
794
|
"type": {
|
|
@@ -817,6 +818,759 @@
|
|
|
817
818
|
}
|
|
818
819
|
]
|
|
819
820
|
}
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"id": 63,
|
|
824
|
+
"name": "SkyAvatarHarness",
|
|
825
|
+
"variant": "declaration",
|
|
826
|
+
"kind": 128,
|
|
827
|
+
"flags": {},
|
|
828
|
+
"comment": {
|
|
829
|
+
"summary": [
|
|
830
|
+
{
|
|
831
|
+
"kind": "text",
|
|
832
|
+
"text": "Harness for interacting with an avatar component in tests."
|
|
833
|
+
}
|
|
834
|
+
]
|
|
835
|
+
},
|
|
836
|
+
"children": [
|
|
837
|
+
{
|
|
838
|
+
"id": 73,
|
|
839
|
+
"name": "constructor",
|
|
840
|
+
"variant": "declaration",
|
|
841
|
+
"kind": 512,
|
|
842
|
+
"flags": {},
|
|
843
|
+
"sources": [
|
|
844
|
+
{
|
|
845
|
+
"fileName": "node_modules/@angular/cdk/testing/index.d.ts",
|
|
846
|
+
"line": 38,
|
|
847
|
+
"character": 4
|
|
848
|
+
}
|
|
849
|
+
],
|
|
850
|
+
"signatures": [
|
|
851
|
+
{
|
|
852
|
+
"id": 74,
|
|
853
|
+
"name": "new SkyAvatarHarness",
|
|
854
|
+
"variant": "signature",
|
|
855
|
+
"kind": 16384,
|
|
856
|
+
"flags": {},
|
|
857
|
+
"sources": [
|
|
858
|
+
{
|
|
859
|
+
"fileName": "node_modules/@angular/cdk/testing/index.d.ts",
|
|
860
|
+
"line": 38,
|
|
861
|
+
"character": 4
|
|
862
|
+
}
|
|
863
|
+
],
|
|
864
|
+
"parameters": [
|
|
865
|
+
{
|
|
866
|
+
"id": 75,
|
|
867
|
+
"name": "locatorFactory",
|
|
868
|
+
"variant": "param",
|
|
869
|
+
"kind": 32768,
|
|
870
|
+
"flags": {},
|
|
871
|
+
"type": {
|
|
872
|
+
"type": "reference",
|
|
873
|
+
"target": {
|
|
874
|
+
"sourceFileName": "node_modules/@angular/cdk/testing/index.d.ts",
|
|
875
|
+
"qualifiedName": "LocatorFactory"
|
|
876
|
+
},
|
|
877
|
+
"name": "LocatorFactory",
|
|
878
|
+
"package": "@angular/cdk"
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
],
|
|
882
|
+
"type": {
|
|
883
|
+
"type": "reference",
|
|
884
|
+
"target": 63,
|
|
885
|
+
"name": "SkyAvatarHarness",
|
|
886
|
+
"package": "@skyux/avatar"
|
|
887
|
+
},
|
|
888
|
+
"inheritedFrom": {
|
|
889
|
+
"type": "reference",
|
|
890
|
+
"target": -1,
|
|
891
|
+
"name": "SkyComponentHarness.constructor"
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
],
|
|
895
|
+
"inheritedFrom": {
|
|
896
|
+
"type": "reference",
|
|
897
|
+
"target": -1,
|
|
898
|
+
"name": "SkyComponentHarness.constructor"
|
|
899
|
+
}
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"id": 93,
|
|
903
|
+
"name": "closeError",
|
|
904
|
+
"variant": "declaration",
|
|
905
|
+
"kind": 2048,
|
|
906
|
+
"flags": {
|
|
907
|
+
"isPublic": true
|
|
908
|
+
},
|
|
909
|
+
"sources": [
|
|
910
|
+
{
|
|
911
|
+
"fileName": "projects/avatar/src/testing/avatar/avatar-harness.ts",
|
|
912
|
+
"line": 116,
|
|
913
|
+
"character": 15,
|
|
914
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/testing/src/avatar/avatar-harness.ts#L116"
|
|
915
|
+
}
|
|
916
|
+
],
|
|
917
|
+
"signatures": [
|
|
918
|
+
{
|
|
919
|
+
"id": 94,
|
|
920
|
+
"name": "closeError",
|
|
921
|
+
"variant": "signature",
|
|
922
|
+
"kind": 4096,
|
|
923
|
+
"flags": {},
|
|
924
|
+
"comment": {
|
|
925
|
+
"summary": [
|
|
926
|
+
{
|
|
927
|
+
"kind": "text",
|
|
928
|
+
"text": "Closes the currently displayed error."
|
|
929
|
+
}
|
|
930
|
+
]
|
|
931
|
+
},
|
|
932
|
+
"sources": [
|
|
933
|
+
{
|
|
934
|
+
"fileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
935
|
+
"line": 116,
|
|
936
|
+
"character": 15,
|
|
937
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/testing/src/avatar/avatar-harness.ts#L116"
|
|
938
|
+
}
|
|
939
|
+
],
|
|
940
|
+
"type": {
|
|
941
|
+
"type": "reference",
|
|
942
|
+
"target": {
|
|
943
|
+
"sourceFileName": "node_modules/@skyux/dev-infra-private/node_modules/typescript/lib/lib.es5.d.ts",
|
|
944
|
+
"qualifiedName": "Promise"
|
|
945
|
+
},
|
|
946
|
+
"typeArguments": [
|
|
947
|
+
{
|
|
948
|
+
"type": "intrinsic",
|
|
949
|
+
"name": "void"
|
|
950
|
+
}
|
|
951
|
+
],
|
|
952
|
+
"name": "Promise",
|
|
953
|
+
"package": "typescript"
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
],
|
|
957
|
+
"decorators": []
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"id": 85,
|
|
961
|
+
"name": "dropAvatarFile",
|
|
962
|
+
"variant": "declaration",
|
|
963
|
+
"kind": 2048,
|
|
964
|
+
"flags": {
|
|
965
|
+
"isPublic": true
|
|
966
|
+
},
|
|
967
|
+
"sources": [
|
|
968
|
+
{
|
|
969
|
+
"fileName": "projects/avatar/src/testing/avatar/avatar-harness.ts",
|
|
970
|
+
"line": 76,
|
|
971
|
+
"character": 15,
|
|
972
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/testing/src/avatar/avatar-harness.ts#L76"
|
|
973
|
+
}
|
|
974
|
+
],
|
|
975
|
+
"signatures": [
|
|
976
|
+
{
|
|
977
|
+
"id": 86,
|
|
978
|
+
"name": "dropAvatarFile",
|
|
979
|
+
"variant": "signature",
|
|
980
|
+
"kind": 4096,
|
|
981
|
+
"flags": {},
|
|
982
|
+
"comment": {
|
|
983
|
+
"summary": [
|
|
984
|
+
{
|
|
985
|
+
"kind": "text",
|
|
986
|
+
"text": "Simulates the user selecting or dropping an image onto the component."
|
|
987
|
+
}
|
|
988
|
+
]
|
|
989
|
+
},
|
|
990
|
+
"sources": [
|
|
991
|
+
{
|
|
992
|
+
"fileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
993
|
+
"line": 76,
|
|
994
|
+
"character": 15,
|
|
995
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/testing/src/avatar/avatar-harness.ts#L76"
|
|
996
|
+
}
|
|
997
|
+
],
|
|
998
|
+
"parameters": [
|
|
999
|
+
{
|
|
1000
|
+
"id": 87,
|
|
1001
|
+
"name": "file",
|
|
1002
|
+
"variant": "param",
|
|
1003
|
+
"kind": 32768,
|
|
1004
|
+
"flags": {},
|
|
1005
|
+
"type": {
|
|
1006
|
+
"type": "reference",
|
|
1007
|
+
"target": {
|
|
1008
|
+
"sourceFileName": "node_modules/@skyux/dev-infra-private/node_modules/typescript/lib/lib.dom.d.ts",
|
|
1009
|
+
"qualifiedName": "File"
|
|
1010
|
+
},
|
|
1011
|
+
"name": "File",
|
|
1012
|
+
"package": "typescript"
|
|
1013
|
+
}
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
"id": 88,
|
|
1017
|
+
"name": "waitForChange",
|
|
1018
|
+
"variant": "param",
|
|
1019
|
+
"kind": 32768,
|
|
1020
|
+
"flags": {
|
|
1021
|
+
"isOptional": true
|
|
1022
|
+
},
|
|
1023
|
+
"type": {
|
|
1024
|
+
"type": "intrinsic",
|
|
1025
|
+
"name": "boolean"
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
],
|
|
1029
|
+
"type": {
|
|
1030
|
+
"type": "reference",
|
|
1031
|
+
"target": {
|
|
1032
|
+
"sourceFileName": "node_modules/@skyux/dev-infra-private/node_modules/typescript/lib/lib.es5.d.ts",
|
|
1033
|
+
"qualifiedName": "Promise"
|
|
1034
|
+
},
|
|
1035
|
+
"typeArguments": [
|
|
1036
|
+
{
|
|
1037
|
+
"type": "intrinsic",
|
|
1038
|
+
"name": "void"
|
|
1039
|
+
}
|
|
1040
|
+
],
|
|
1041
|
+
"name": "Promise",
|
|
1042
|
+
"package": "typescript"
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
],
|
|
1046
|
+
"decorators": []
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"id": 83,
|
|
1050
|
+
"name": "getCanChange",
|
|
1051
|
+
"variant": "declaration",
|
|
1052
|
+
"kind": 2048,
|
|
1053
|
+
"flags": {
|
|
1054
|
+
"isPublic": true
|
|
1055
|
+
},
|
|
1056
|
+
"sources": [
|
|
1057
|
+
{
|
|
1058
|
+
"fileName": "projects/avatar/src/testing/avatar/avatar-harness.ts",
|
|
1059
|
+
"line": 69,
|
|
1060
|
+
"character": 15,
|
|
1061
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/testing/src/avatar/avatar-harness.ts#L69"
|
|
1062
|
+
}
|
|
1063
|
+
],
|
|
1064
|
+
"signatures": [
|
|
1065
|
+
{
|
|
1066
|
+
"id": 84,
|
|
1067
|
+
"name": "getCanChange",
|
|
1068
|
+
"variant": "signature",
|
|
1069
|
+
"kind": 4096,
|
|
1070
|
+
"flags": {},
|
|
1071
|
+
"comment": {
|
|
1072
|
+
"summary": [
|
|
1073
|
+
{
|
|
1074
|
+
"kind": "text",
|
|
1075
|
+
"text": "Gets whether users can change the image."
|
|
1076
|
+
}
|
|
1077
|
+
]
|
|
1078
|
+
},
|
|
1079
|
+
"sources": [
|
|
1080
|
+
{
|
|
1081
|
+
"fileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1082
|
+
"line": 69,
|
|
1083
|
+
"character": 15,
|
|
1084
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/testing/src/avatar/avatar-harness.ts#L69"
|
|
1085
|
+
}
|
|
1086
|
+
],
|
|
1087
|
+
"type": {
|
|
1088
|
+
"type": "reference",
|
|
1089
|
+
"target": {
|
|
1090
|
+
"sourceFileName": "node_modules/@skyux/dev-infra-private/node_modules/typescript/lib/lib.es5.d.ts",
|
|
1091
|
+
"qualifiedName": "Promise"
|
|
1092
|
+
},
|
|
1093
|
+
"typeArguments": [
|
|
1094
|
+
{
|
|
1095
|
+
"type": "intrinsic",
|
|
1096
|
+
"name": "boolean"
|
|
1097
|
+
}
|
|
1098
|
+
],
|
|
1099
|
+
"name": "Promise",
|
|
1100
|
+
"package": "typescript"
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
],
|
|
1104
|
+
"decorators": []
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"id": 79,
|
|
1108
|
+
"name": "getInitials",
|
|
1109
|
+
"variant": "declaration",
|
|
1110
|
+
"kind": 2048,
|
|
1111
|
+
"flags": {
|
|
1112
|
+
"isPublic": true
|
|
1113
|
+
},
|
|
1114
|
+
"sources": [
|
|
1115
|
+
{
|
|
1116
|
+
"fileName": "projects/avatar/src/testing/avatar/avatar-harness.ts",
|
|
1117
|
+
"line": 43,
|
|
1118
|
+
"character": 15,
|
|
1119
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/testing/src/avatar/avatar-harness.ts#L43"
|
|
1120
|
+
}
|
|
1121
|
+
],
|
|
1122
|
+
"signatures": [
|
|
1123
|
+
{
|
|
1124
|
+
"id": 80,
|
|
1125
|
+
"name": "getInitials",
|
|
1126
|
+
"variant": "signature",
|
|
1127
|
+
"kind": 4096,
|
|
1128
|
+
"flags": {},
|
|
1129
|
+
"comment": {
|
|
1130
|
+
"summary": [
|
|
1131
|
+
{
|
|
1132
|
+
"kind": "text",
|
|
1133
|
+
"text": "Gets the initials displayed when no image URL is specified."
|
|
1134
|
+
}
|
|
1135
|
+
]
|
|
1136
|
+
},
|
|
1137
|
+
"sources": [
|
|
1138
|
+
{
|
|
1139
|
+
"fileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1140
|
+
"line": 43,
|
|
1141
|
+
"character": 15,
|
|
1142
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/testing/src/avatar/avatar-harness.ts#L43"
|
|
1143
|
+
}
|
|
1144
|
+
],
|
|
1145
|
+
"type": {
|
|
1146
|
+
"type": "reference",
|
|
1147
|
+
"target": {
|
|
1148
|
+
"sourceFileName": "node_modules/@skyux/dev-infra-private/node_modules/typescript/lib/lib.es5.d.ts",
|
|
1149
|
+
"qualifiedName": "Promise"
|
|
1150
|
+
},
|
|
1151
|
+
"typeArguments": [
|
|
1152
|
+
{
|
|
1153
|
+
"type": "intrinsic",
|
|
1154
|
+
"name": "string"
|
|
1155
|
+
}
|
|
1156
|
+
],
|
|
1157
|
+
"name": "Promise",
|
|
1158
|
+
"package": "typescript"
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
],
|
|
1162
|
+
"decorators": []
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
"id": 81,
|
|
1166
|
+
"name": "getSrc",
|
|
1167
|
+
"variant": "declaration",
|
|
1168
|
+
"kind": 2048,
|
|
1169
|
+
"flags": {
|
|
1170
|
+
"isPublic": true
|
|
1171
|
+
},
|
|
1172
|
+
"sources": [
|
|
1173
|
+
{
|
|
1174
|
+
"fileName": "projects/avatar/src/testing/avatar/avatar-harness.ts",
|
|
1175
|
+
"line": 56,
|
|
1176
|
+
"character": 15,
|
|
1177
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/testing/src/avatar/avatar-harness.ts#L56"
|
|
1178
|
+
}
|
|
1179
|
+
],
|
|
1180
|
+
"signatures": [
|
|
1181
|
+
{
|
|
1182
|
+
"id": 82,
|
|
1183
|
+
"name": "getSrc",
|
|
1184
|
+
"variant": "signature",
|
|
1185
|
+
"kind": 4096,
|
|
1186
|
+
"flags": {},
|
|
1187
|
+
"comment": {
|
|
1188
|
+
"summary": [
|
|
1189
|
+
{
|
|
1190
|
+
"kind": "text",
|
|
1191
|
+
"text": "Gets the avatar's current image URL or Blob."
|
|
1192
|
+
}
|
|
1193
|
+
]
|
|
1194
|
+
},
|
|
1195
|
+
"sources": [
|
|
1196
|
+
{
|
|
1197
|
+
"fileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1198
|
+
"line": 56,
|
|
1199
|
+
"character": 15,
|
|
1200
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/testing/src/avatar/avatar-harness.ts#L56"
|
|
1201
|
+
}
|
|
1202
|
+
],
|
|
1203
|
+
"type": {
|
|
1204
|
+
"type": "reference",
|
|
1205
|
+
"target": {
|
|
1206
|
+
"sourceFileName": "node_modules/@skyux/dev-infra-private/node_modules/typescript/lib/lib.es5.d.ts",
|
|
1207
|
+
"qualifiedName": "Promise"
|
|
1208
|
+
},
|
|
1209
|
+
"typeArguments": [
|
|
1210
|
+
{
|
|
1211
|
+
"type": "union",
|
|
1212
|
+
"types": [
|
|
1213
|
+
{
|
|
1214
|
+
"type": "intrinsic",
|
|
1215
|
+
"name": "string"
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
"type": "reference",
|
|
1219
|
+
"target": {
|
|
1220
|
+
"sourceFileName": "node_modules/@skyux/dev-infra-private/node_modules/typescript/lib/lib.dom.d.ts",
|
|
1221
|
+
"qualifiedName": "Blob"
|
|
1222
|
+
},
|
|
1223
|
+
"name": "Blob",
|
|
1224
|
+
"package": "typescript"
|
|
1225
|
+
}
|
|
1226
|
+
]
|
|
1227
|
+
}
|
|
1228
|
+
],
|
|
1229
|
+
"name": "Promise",
|
|
1230
|
+
"package": "typescript"
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
],
|
|
1234
|
+
"decorators": []
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
"id": 89,
|
|
1238
|
+
"name": "hasFileTypeError",
|
|
1239
|
+
"variant": "declaration",
|
|
1240
|
+
"kind": 2048,
|
|
1241
|
+
"flags": {
|
|
1242
|
+
"isPublic": true
|
|
1243
|
+
},
|
|
1244
|
+
"sources": [
|
|
1245
|
+
{
|
|
1246
|
+
"fileName": "projects/avatar/src/testing/avatar/avatar-harness.ts",
|
|
1247
|
+
"line": 98,
|
|
1248
|
+
"character": 15,
|
|
1249
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/testing/src/avatar/avatar-harness.ts#L98"
|
|
1250
|
+
}
|
|
1251
|
+
],
|
|
1252
|
+
"signatures": [
|
|
1253
|
+
{
|
|
1254
|
+
"id": 90,
|
|
1255
|
+
"name": "hasFileTypeError",
|
|
1256
|
+
"variant": "signature",
|
|
1257
|
+
"kind": 4096,
|
|
1258
|
+
"flags": {},
|
|
1259
|
+
"comment": {
|
|
1260
|
+
"summary": [
|
|
1261
|
+
{
|
|
1262
|
+
"kind": "text",
|
|
1263
|
+
"text": "Gets whether an error indicating an invalid file type is displayed."
|
|
1264
|
+
}
|
|
1265
|
+
]
|
|
1266
|
+
},
|
|
1267
|
+
"sources": [
|
|
1268
|
+
{
|
|
1269
|
+
"fileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1270
|
+
"line": 98,
|
|
1271
|
+
"character": 15,
|
|
1272
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/testing/src/avatar/avatar-harness.ts#L98"
|
|
1273
|
+
}
|
|
1274
|
+
],
|
|
1275
|
+
"type": {
|
|
1276
|
+
"type": "reference",
|
|
1277
|
+
"target": {
|
|
1278
|
+
"sourceFileName": "node_modules/@skyux/dev-infra-private/node_modules/typescript/lib/lib.es5.d.ts",
|
|
1279
|
+
"qualifiedName": "Promise"
|
|
1280
|
+
},
|
|
1281
|
+
"typeArguments": [
|
|
1282
|
+
{
|
|
1283
|
+
"type": "intrinsic",
|
|
1284
|
+
"name": "boolean"
|
|
1285
|
+
}
|
|
1286
|
+
],
|
|
1287
|
+
"name": "Promise",
|
|
1288
|
+
"package": "typescript"
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
],
|
|
1292
|
+
"decorators": []
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
"id": 91,
|
|
1296
|
+
"name": "hasMaxSizeError",
|
|
1297
|
+
"variant": "declaration",
|
|
1298
|
+
"kind": 2048,
|
|
1299
|
+
"flags": {
|
|
1300
|
+
"isPublic": true
|
|
1301
|
+
},
|
|
1302
|
+
"sources": [
|
|
1303
|
+
{
|
|
1304
|
+
"fileName": "projects/avatar/src/testing/avatar/avatar-harness.ts",
|
|
1305
|
+
"line": 107,
|
|
1306
|
+
"character": 15,
|
|
1307
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/testing/src/avatar/avatar-harness.ts#L107"
|
|
1308
|
+
}
|
|
1309
|
+
],
|
|
1310
|
+
"signatures": [
|
|
1311
|
+
{
|
|
1312
|
+
"id": 92,
|
|
1313
|
+
"name": "hasMaxSizeError",
|
|
1314
|
+
"variant": "signature",
|
|
1315
|
+
"kind": 4096,
|
|
1316
|
+
"flags": {},
|
|
1317
|
+
"comment": {
|
|
1318
|
+
"summary": [
|
|
1319
|
+
{
|
|
1320
|
+
"kind": "text",
|
|
1321
|
+
"text": "Gets whether an error indicating an invalid file size is displayed."
|
|
1322
|
+
}
|
|
1323
|
+
]
|
|
1324
|
+
},
|
|
1325
|
+
"sources": [
|
|
1326
|
+
{
|
|
1327
|
+
"fileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1328
|
+
"line": 107,
|
|
1329
|
+
"character": 15,
|
|
1330
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/testing/src/avatar/avatar-harness.ts#L107"
|
|
1331
|
+
}
|
|
1332
|
+
],
|
|
1333
|
+
"type": {
|
|
1334
|
+
"type": "reference",
|
|
1335
|
+
"target": {
|
|
1336
|
+
"sourceFileName": "node_modules/@skyux/dev-infra-private/node_modules/typescript/lib/lib.es5.d.ts",
|
|
1337
|
+
"qualifiedName": "Promise"
|
|
1338
|
+
},
|
|
1339
|
+
"typeArguments": [
|
|
1340
|
+
{
|
|
1341
|
+
"type": "intrinsic",
|
|
1342
|
+
"name": "boolean"
|
|
1343
|
+
}
|
|
1344
|
+
],
|
|
1345
|
+
"name": "Promise",
|
|
1346
|
+
"package": "typescript"
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
],
|
|
1350
|
+
"decorators": []
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"id": 104,
|
|
1354
|
+
"name": "host",
|
|
1355
|
+
"variant": "declaration",
|
|
1356
|
+
"kind": 2048,
|
|
1357
|
+
"flags": {},
|
|
1358
|
+
"sources": [
|
|
1359
|
+
{
|
|
1360
|
+
"fileName": "node_modules/@angular/cdk/testing/index.d.ts",
|
|
1361
|
+
"line": 40,
|
|
1362
|
+
"character": 4
|
|
1363
|
+
}
|
|
1364
|
+
],
|
|
1365
|
+
"signatures": [
|
|
1366
|
+
{
|
|
1367
|
+
"id": 105,
|
|
1368
|
+
"name": "host",
|
|
1369
|
+
"variant": "signature",
|
|
1370
|
+
"kind": 4096,
|
|
1371
|
+
"flags": {},
|
|
1372
|
+
"comment": {
|
|
1373
|
+
"summary": [
|
|
1374
|
+
{
|
|
1375
|
+
"kind": "text",
|
|
1376
|
+
"text": "Gets a "
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
"kind": "code",
|
|
1380
|
+
"text": "`Promise`"
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
"kind": "text",
|
|
1384
|
+
"text": " for the "
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"kind": "code",
|
|
1388
|
+
"text": "`TestElement`"
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
"kind": "text",
|
|
1392
|
+
"text": " representing the host element of the component."
|
|
1393
|
+
}
|
|
1394
|
+
]
|
|
1395
|
+
},
|
|
1396
|
+
"sources": [
|
|
1397
|
+
{
|
|
1398
|
+
"fileName": "node_modules/@angular/cdk/testing/index.d.ts",
|
|
1399
|
+
"line": 40,
|
|
1400
|
+
"character": 4
|
|
1401
|
+
}
|
|
1402
|
+
],
|
|
1403
|
+
"type": {
|
|
1404
|
+
"type": "reference",
|
|
1405
|
+
"target": {
|
|
1406
|
+
"sourceFileName": "node_modules/@skyux/dev-infra-private/node_modules/typescript/lib/lib.es5.d.ts",
|
|
1407
|
+
"qualifiedName": "Promise"
|
|
1408
|
+
},
|
|
1409
|
+
"typeArguments": [
|
|
1410
|
+
{
|
|
1411
|
+
"type": "reference",
|
|
1412
|
+
"target": {
|
|
1413
|
+
"sourceFileName": "node_modules/@angular/cdk/testing/index.d.ts",
|
|
1414
|
+
"qualifiedName": "TestElement"
|
|
1415
|
+
},
|
|
1416
|
+
"name": "TestElement",
|
|
1417
|
+
"package": "@angular/cdk"
|
|
1418
|
+
}
|
|
1419
|
+
],
|
|
1420
|
+
"name": "Promise",
|
|
1421
|
+
"package": "typescript"
|
|
1422
|
+
},
|
|
1423
|
+
"inheritedFrom": {
|
|
1424
|
+
"type": "reference",
|
|
1425
|
+
"target": -1,
|
|
1426
|
+
"name": "SkyComponentHarness.host"
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
],
|
|
1430
|
+
"inheritedFrom": {
|
|
1431
|
+
"type": "reference",
|
|
1432
|
+
"target": -1,
|
|
1433
|
+
"name": "SkyComponentHarness.host"
|
|
1434
|
+
}
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
"id": 65,
|
|
1438
|
+
"name": "with",
|
|
1439
|
+
"variant": "declaration",
|
|
1440
|
+
"kind": 2048,
|
|
1441
|
+
"flags": {
|
|
1442
|
+
"isPublic": true,
|
|
1443
|
+
"isStatic": true
|
|
1444
|
+
},
|
|
1445
|
+
"sources": [
|
|
1446
|
+
{
|
|
1447
|
+
"fileName": "projects/avatar/src/testing/avatar/avatar-harness.ts",
|
|
1448
|
+
"line": 34,
|
|
1449
|
+
"character": 16,
|
|
1450
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/testing/src/avatar/avatar-harness.ts#L34"
|
|
1451
|
+
}
|
|
1452
|
+
],
|
|
1453
|
+
"signatures": [
|
|
1454
|
+
{
|
|
1455
|
+
"id": 66,
|
|
1456
|
+
"name": "with",
|
|
1457
|
+
"variant": "signature",
|
|
1458
|
+
"kind": 4096,
|
|
1459
|
+
"flags": {},
|
|
1460
|
+
"comment": {
|
|
1461
|
+
"summary": [
|
|
1462
|
+
{
|
|
1463
|
+
"kind": "text",
|
|
1464
|
+
"text": "Gets a "
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"kind": "code",
|
|
1468
|
+
"text": "`HarnessPredicate`"
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
"kind": "text",
|
|
1472
|
+
"text": " that can be used to search for a\n"
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"kind": "code",
|
|
1476
|
+
"text": "`SkyAvatarHarness`"
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"kind": "text",
|
|
1480
|
+
"text": " that meets certain criteria."
|
|
1481
|
+
}
|
|
1482
|
+
]
|
|
1483
|
+
},
|
|
1484
|
+
"sources": [
|
|
1485
|
+
{
|
|
1486
|
+
"fileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1487
|
+
"line": 34,
|
|
1488
|
+
"character": 16,
|
|
1489
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/testing/src/avatar/avatar-harness.ts#L34"
|
|
1490
|
+
}
|
|
1491
|
+
],
|
|
1492
|
+
"parameters": [
|
|
1493
|
+
{
|
|
1494
|
+
"id": 67,
|
|
1495
|
+
"name": "filters",
|
|
1496
|
+
"variant": "param",
|
|
1497
|
+
"kind": 32768,
|
|
1498
|
+
"flags": {},
|
|
1499
|
+
"type": {
|
|
1500
|
+
"type": "reference",
|
|
1501
|
+
"target": {
|
|
1502
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness-filters.ts",
|
|
1503
|
+
"qualifiedName": "SkyAvatarHarnessFilters"
|
|
1504
|
+
},
|
|
1505
|
+
"name": "SkyAvatarHarnessFilters",
|
|
1506
|
+
"package": "@skyux/avatar"
|
|
1507
|
+
}
|
|
1508
|
+
}
|
|
1509
|
+
],
|
|
1510
|
+
"type": {
|
|
1511
|
+
"type": "reference",
|
|
1512
|
+
"target": {
|
|
1513
|
+
"sourceFileName": "node_modules/@angular/cdk/testing/index.d.ts",
|
|
1514
|
+
"qualifiedName": "HarnessPredicate"
|
|
1515
|
+
},
|
|
1516
|
+
"typeArguments": [
|
|
1517
|
+
{
|
|
1518
|
+
"type": "reference",
|
|
1519
|
+
"target": 63,
|
|
1520
|
+
"name": "SkyAvatarHarness",
|
|
1521
|
+
"package": "@skyux/avatar"
|
|
1522
|
+
}
|
|
1523
|
+
],
|
|
1524
|
+
"name": "HarnessPredicate",
|
|
1525
|
+
"package": "@angular/cdk"
|
|
1526
|
+
}
|
|
1527
|
+
}
|
|
1528
|
+
],
|
|
1529
|
+
"decorators": []
|
|
1530
|
+
}
|
|
1531
|
+
],
|
|
1532
|
+
"groups": [
|
|
1533
|
+
{
|
|
1534
|
+
"title": "Constructors",
|
|
1535
|
+
"children": [
|
|
1536
|
+
73
|
|
1537
|
+
]
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
"title": "Methods",
|
|
1541
|
+
"children": [
|
|
1542
|
+
93,
|
|
1543
|
+
85,
|
|
1544
|
+
83,
|
|
1545
|
+
79,
|
|
1546
|
+
81,
|
|
1547
|
+
89,
|
|
1548
|
+
91,
|
|
1549
|
+
104,
|
|
1550
|
+
65
|
|
1551
|
+
]
|
|
1552
|
+
}
|
|
1553
|
+
],
|
|
1554
|
+
"sources": [
|
|
1555
|
+
{
|
|
1556
|
+
"fileName": "projects/avatar/src/testing/avatar/avatar-harness.ts",
|
|
1557
|
+
"line": 18,
|
|
1558
|
+
"character": 13,
|
|
1559
|
+
"url": "https://github.com/blackbaud/skyux/blob/bd134ad/libs/components/avatar/testing/src/avatar/avatar-harness.ts#L18"
|
|
1560
|
+
}
|
|
1561
|
+
],
|
|
1562
|
+
"extendedTypes": [
|
|
1563
|
+
{
|
|
1564
|
+
"type": "reference",
|
|
1565
|
+
"target": {
|
|
1566
|
+
"sourceFileName": "libs/components/core/testing/src/shared/component-harness.ts",
|
|
1567
|
+
"qualifiedName": "SkyComponentHarness"
|
|
1568
|
+
},
|
|
1569
|
+
"name": "SkyComponentHarness",
|
|
1570
|
+
"package": "@skyux/core"
|
|
1571
|
+
}
|
|
1572
|
+
],
|
|
1573
|
+
"decorators": []
|
|
820
1574
|
}
|
|
821
1575
|
],
|
|
822
1576
|
"groups": [
|
|
@@ -959,19 +1713,129 @@
|
|
|
959
1713
|
"39": {
|
|
960
1714
|
"sourceFileName": "libs/components/avatar/src/lib/modules/avatar/avatar.component.ts",
|
|
961
1715
|
"qualifiedName": "result"
|
|
1716
|
+
},
|
|
1717
|
+
"63": {
|
|
1718
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1719
|
+
"qualifiedName": "SkyAvatarHarness"
|
|
1720
|
+
},
|
|
1721
|
+
"65": {
|
|
1722
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1723
|
+
"qualifiedName": "SkyAvatarHarness.with"
|
|
1724
|
+
},
|
|
1725
|
+
"66": {
|
|
1726
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1727
|
+
"qualifiedName": "SkyAvatarHarness.with"
|
|
1728
|
+
},
|
|
1729
|
+
"67": {
|
|
1730
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1731
|
+
"qualifiedName": "filters"
|
|
1732
|
+
},
|
|
1733
|
+
"73": {
|
|
1734
|
+
"sourceFileName": "node_modules/@angular/cdk/testing/index.d.ts",
|
|
1735
|
+
"qualifiedName": "ComponentHarness.__constructor"
|
|
1736
|
+
},
|
|
1737
|
+
"74": {
|
|
1738
|
+
"sourceFileName": "node_modules/@angular/cdk/testing/index.d.ts",
|
|
1739
|
+
"qualifiedName": "SkyAvatarHarness"
|
|
1740
|
+
},
|
|
1741
|
+
"75": {
|
|
1742
|
+
"sourceFileName": "node_modules/@angular/cdk/testing/index.d.ts",
|
|
1743
|
+
"qualifiedName": "locatorFactory"
|
|
1744
|
+
},
|
|
1745
|
+
"79": {
|
|
1746
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1747
|
+
"qualifiedName": "SkyAvatarHarness.getInitials"
|
|
1748
|
+
},
|
|
1749
|
+
"80": {
|
|
1750
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1751
|
+
"qualifiedName": "SkyAvatarHarness.getInitials"
|
|
1752
|
+
},
|
|
1753
|
+
"81": {
|
|
1754
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1755
|
+
"qualifiedName": "SkyAvatarHarness.getSrc"
|
|
1756
|
+
},
|
|
1757
|
+
"82": {
|
|
1758
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1759
|
+
"qualifiedName": "SkyAvatarHarness.getSrc"
|
|
1760
|
+
},
|
|
1761
|
+
"83": {
|
|
1762
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1763
|
+
"qualifiedName": "SkyAvatarHarness.getCanChange"
|
|
1764
|
+
},
|
|
1765
|
+
"84": {
|
|
1766
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1767
|
+
"qualifiedName": "SkyAvatarHarness.getCanChange"
|
|
1768
|
+
},
|
|
1769
|
+
"85": {
|
|
1770
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1771
|
+
"qualifiedName": "SkyAvatarHarness.dropAvatarFile"
|
|
1772
|
+
},
|
|
1773
|
+
"86": {
|
|
1774
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1775
|
+
"qualifiedName": "SkyAvatarHarness.dropAvatarFile"
|
|
1776
|
+
},
|
|
1777
|
+
"87": {
|
|
1778
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1779
|
+
"qualifiedName": "file"
|
|
1780
|
+
},
|
|
1781
|
+
"88": {
|
|
1782
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1783
|
+
"qualifiedName": "waitForChange"
|
|
1784
|
+
},
|
|
1785
|
+
"89": {
|
|
1786
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1787
|
+
"qualifiedName": "SkyAvatarHarness.hasFileTypeError"
|
|
1788
|
+
},
|
|
1789
|
+
"90": {
|
|
1790
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1791
|
+
"qualifiedName": "SkyAvatarHarness.hasFileTypeError"
|
|
1792
|
+
},
|
|
1793
|
+
"91": {
|
|
1794
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1795
|
+
"qualifiedName": "SkyAvatarHarness.hasMaxSizeError"
|
|
1796
|
+
},
|
|
1797
|
+
"92": {
|
|
1798
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1799
|
+
"qualifiedName": "SkyAvatarHarness.hasMaxSizeError"
|
|
1800
|
+
},
|
|
1801
|
+
"93": {
|
|
1802
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1803
|
+
"qualifiedName": "SkyAvatarHarness.closeError"
|
|
1804
|
+
},
|
|
1805
|
+
"94": {
|
|
1806
|
+
"sourceFileName": "libs/components/avatar/testing/src/avatar/avatar-harness.ts",
|
|
1807
|
+
"qualifiedName": "SkyAvatarHarness.closeError"
|
|
1808
|
+
},
|
|
1809
|
+
"104": {
|
|
1810
|
+
"sourceFileName": "node_modules/@angular/cdk/testing/index.d.ts",
|
|
1811
|
+
"qualifiedName": "ComponentHarness.host"
|
|
1812
|
+
},
|
|
1813
|
+
"105": {
|
|
1814
|
+
"sourceFileName": "node_modules/@angular/cdk/testing/index.d.ts",
|
|
1815
|
+
"qualifiedName": "ComponentHarness.host"
|
|
962
1816
|
}
|
|
963
1817
|
}
|
|
964
1818
|
},
|
|
965
1819
|
"codeExamples": [
|
|
1820
|
+
{
|
|
1821
|
+
"fileName": "demo.service.ts",
|
|
1822
|
+
"filePath": "/projects/avatar/documentation/code-examples/avatar/demo.service.ts",
|
|
1823
|
+
"rawContents": "import { Injectable } from '@angular/core';\n\nimport { Observable, delay, of } from 'rxjs';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DemoService {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n public uploadAvatar(_file: File): Observable<void> {\n // Simulate uploading the file to a web service.\n return of(undefined).pipe(delay(500));\n }\n}\n"
|
|
1824
|
+
},
|
|
966
1825
|
{
|
|
967
1826
|
"fileName": "demo.component.ts",
|
|
968
1827
|
"filePath": "/projects/avatar/documentation/code-examples/avatar/demo.component.ts",
|
|
969
|
-
"rawContents": "import { Component } from '@angular/core';\nimport { SkyAvatarModule } from '@skyux/avatar';\nimport { SkyFileItem } from '@skyux/forms';\n\n@Component({\n standalone: true,\n selector: 'app-demo',\n templateUrl: './demo.component.html',\n imports: [SkyAvatarModule],\n})\nexport class DemoComponent {\n protected
|
|
1828
|
+
"rawContents": "import { Component, inject, signal } from '@angular/core';\nimport { SkyAvatarModule } from '@skyux/avatar';\nimport { SkyFileItem } from '@skyux/forms';\n\nimport { DemoService } from './demo.service';\n\n@Component({\n standalone: true,\n selector: 'app-demo',\n templateUrl: './demo.component.html',\n imports: [SkyAvatarModule],\n})\nexport class DemoComponent {\n #demoSvc = inject(DemoService);\n\n protected readonly avatar = signal<string | File>(\n 'https://imgur.com/tBiGElW.png',\n );\n protected readonly name = signal('Robert C. Hernandez');\n\n protected onAvatarChanged(fileItem: SkyFileItem): void {\n /**\n * This is where you might upload the new avatar,\n * but for this demo we'll just update it locally.\n */\n if (fileItem) {\n this.#demoSvc.uploadAvatar(fileItem.file).subscribe(() => {\n this.avatar.set(fileItem.file);\n });\n }\n }\n}\n"
|
|
1829
|
+
},
|
|
1830
|
+
{
|
|
1831
|
+
"fileName": "demo.component.spec.ts",
|
|
1832
|
+
"filePath": "/projects/avatar/documentation/code-examples/avatar/demo.component.spec.ts",
|
|
1833
|
+
"rawContents": "import { TestbedHarnessEnvironment } from '@angular/cdk/testing/testbed';\nimport { ComponentFixture, TestBed } from '@angular/core/testing';\nimport { SkyAvatarHarness } from '@skyux/avatar/testing';\n\nimport { of } from 'rxjs';\n\nimport { DemoComponent } from './demo.component';\nimport { DemoService } from './demo.service';\n\ndescribe('Basic avatar harness', () => {\n let uploadAvatarSpy: jasmine.Spy;\n\n beforeEach(() => {\n uploadAvatarSpy = jasmine\n .createSpy('uploadAvatarSpy')\n .and.returnValue(of(undefined));\n\n TestBed.configureTestingModule({\n providers: [\n {\n provide: DemoService,\n useValue: {\n uploadAvatar: uploadAvatarSpy,\n },\n },\n ],\n });\n });\n\n async function setupTest(): Promise<{\n fixture: ComponentFixture<DemoComponent>;\n harness: SkyAvatarHarness;\n }> {\n const fixture = TestBed.createComponent(DemoComponent);\n const loader = TestbedHarnessEnvironment.loader(fixture);\n const harness: SkyAvatarHarness = await loader.getHarness(\n SkyAvatarHarness.with({ dataSkyId: 'user-profile-avatar' }),\n );\n\n return { fixture, harness };\n }\n\n function createTestFile(fileSize: number): File {\n return new File(['a'.repeat(fileSize)], 'test.png', {\n type: 'image/png',\n });\n }\n\n it('should display the expected avatar image', async () => {\n const { harness } = await setupTest();\n\n await expectAsync(harness.getInitials()).toBeResolvedTo(undefined);\n await expectAsync(harness.getSrc()).toBeResolvedTo(\n 'https://imgur.com/tBiGElW.png',\n );\n });\n\n it('should allow the user to change the avatar', async () => {\n const { harness } = await setupTest();\n\n await expectAsync(harness.getCanChange()).toBeResolvedTo(true);\n });\n\n it('should upload a new avatar and set the avatar src', async () => {\n const { harness } = await setupTest();\n\n const testFile = createTestFile(100);\n\n await harness.dropAvatarFile(testFile, true);\n\n expect(uploadAvatarSpy).toHaveBeenCalledOnceWith(testFile);\n\n await expectAsync(harness.getSrc()).toBeResolvedTo(jasmine.any(Blob));\n });\n\n it('should now allow files larger than 1,000 bytes', async () => {\n const { harness } = await setupTest();\n\n const maxFileSize = 1000;\n\n await harness.dropAvatarFile(createTestFile(maxFileSize));\n await expectAsync(harness.hasMaxSizeError()).toBeResolvedTo(false);\n\n await harness.dropAvatarFile(createTestFile(maxFileSize + 1));\n await expectAsync(harness.hasMaxSizeError()).toBeResolvedTo(true);\n\n await harness.closeError();\n });\n});\n"
|
|
970
1834
|
},
|
|
971
1835
|
{
|
|
972
1836
|
"fileName": "demo.component.html",
|
|
973
1837
|
"filePath": "/projects/avatar/documentation/code-examples/avatar/demo.component.html",
|
|
974
|
-
"rawContents": "<sky-avatar\n [canChange]=\"true\"\n [name]=\"name\"\n [src]=\"
|
|
1838
|
+
"rawContents": "<sky-avatar\n data-sky-id=\"user-profile-avatar\"\n [canChange]=\"true\"\n [maxFileSize]=\"1000\"\n [name]=\"name()\"\n [src]=\"avatar()\"\n (avatarChanged)=\"onAvatarChanged($event)\"\n/>\n"
|
|
975
1839
|
}
|
|
976
1840
|
],
|
|
977
1841
|
"codeExampleDependencies": {
|
|
@@ -988,20 +1852,20 @@
|
|
|
988
1852
|
"@angular/router": "18.2.8",
|
|
989
1853
|
"@blackbaud/skyux-design-tokens": "0.0.40",
|
|
990
1854
|
"@schematics/angular": "18.2.8",
|
|
991
|
-
"@skyux-sdk/testing": "11.
|
|
992
|
-
"@skyux/assets": "11.
|
|
993
|
-
"@skyux/avatar": "11.
|
|
994
|
-
"@skyux/core": "11.
|
|
995
|
-
"@skyux/errors": "11.
|
|
996
|
-
"@skyux/forms": "11.
|
|
997
|
-
"@skyux/help-inline": "11.
|
|
998
|
-
"@skyux/i18n": "11.
|
|
999
|
-
"@skyux/icon": "11.
|
|
1855
|
+
"@skyux-sdk/testing": "11.16.0",
|
|
1856
|
+
"@skyux/assets": "11.16.0",
|
|
1857
|
+
"@skyux/avatar": "11.16.0",
|
|
1858
|
+
"@skyux/core": "11.16.0",
|
|
1859
|
+
"@skyux/errors": "11.16.0",
|
|
1860
|
+
"@skyux/forms": "11.16.0",
|
|
1861
|
+
"@skyux/help-inline": "11.16.0",
|
|
1862
|
+
"@skyux/i18n": "11.16.0",
|
|
1863
|
+
"@skyux/icon": "11.16.0",
|
|
1000
1864
|
"@skyux/icons": "7.8.0",
|
|
1001
|
-
"@skyux/indicators": "11.
|
|
1002
|
-
"@skyux/modals": "11.
|
|
1003
|
-
"@skyux/popovers": "11.
|
|
1004
|
-
"@skyux/theme": "11.
|
|
1865
|
+
"@skyux/indicators": "11.16.0",
|
|
1866
|
+
"@skyux/modals": "11.16.0",
|
|
1867
|
+
"@skyux/popovers": "11.16.0",
|
|
1868
|
+
"@skyux/theme": "11.16.0",
|
|
1005
1869
|
"@types/node": "20.14.12",
|
|
1006
1870
|
"axe-core": "4.10.0",
|
|
1007
1871
|
"fontfaceobserver": "2.3.0",
|