@skyux/indicators 6.19.0 → 6.20.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 +942 -90
- package/esm2020/lib/modules/tokens/tokens.component.mjs +2 -2
- package/esm2020/lib/modules/tokens/types/token.mjs +1 -1
- package/esm2020/testing/key-info/key-info-harness-filters.mjs +1 -1
- package/esm2020/testing/key-info/key-info-harness.mjs +1 -2
- package/esm2020/testing/label/label-harness-filters.mjs +1 -1
- package/esm2020/testing/label/label-harness.mjs +1 -3
- package/fesm2015/skyux-indicators-testing.mjs +0 -3
- package/fesm2015/skyux-indicators-testing.mjs.map +1 -1
- package/fesm2015/skyux-indicators.mjs +1 -1
- package/fesm2015/skyux-indicators.mjs.map +1 -1
- package/fesm2020/skyux-indicators-testing.mjs +0 -3
- package/fesm2020/skyux-indicators-testing.mjs.map +1 -1
- package/fesm2020/skyux-indicators.mjs +1 -1
- package/fesm2020/skyux-indicators.mjs.map +1 -1
- package/lib/modules/tokens/tokens.component.d.ts +1 -1
- package/lib/modules/tokens/types/token.d.ts +2 -1
- package/package.json +5 -5
- package/testing/key-info/key-info-harness-filters.d.ts +0 -1
- package/testing/key-info/key-info-harness.d.ts +0 -1
- package/testing/label/label-harness-filters.d.ts +0 -1
- package/testing/label/label-harness.d.ts +0 -1
package/documentation.json
CHANGED
|
@@ -35,7 +35,11 @@
|
|
|
35
35
|
"SkyKeyInfoLayoutType": "type-alias-skykeyinfolayouttype",
|
|
36
36
|
"SkyLabelType": "type-alias-skylabeltype",
|
|
37
37
|
"SkyAlertHarness": "class-skyalertharness",
|
|
38
|
-
"
|
|
38
|
+
"SkyKeyInfoHarness": "class-skykeyinfoharness",
|
|
39
|
+
"SkyLabelHarness": "class-skylabelharness",
|
|
40
|
+
"SkyAlertHarnessFilters": "interface-skyalertharnessfilters",
|
|
41
|
+
"SkyKeyInfoHarnessFilters": "interface-skykeyinfoharnessfilters",
|
|
42
|
+
"SkyLabelHarnessFilters": "interface-skylabelharnessfilters"
|
|
39
43
|
},
|
|
40
44
|
"typedoc": {
|
|
41
45
|
"id": 0,
|
|
@@ -3219,7 +3223,7 @@
|
|
|
3219
3223
|
"kindString": "Class",
|
|
3220
3224
|
"flags": {},
|
|
3221
3225
|
"comment": {
|
|
3222
|
-
"shortText": "Creates a container that enables navigation between tokens using keyboard arrow keys.\nThis is useful when combined with other components where the <kbd>Tab
|
|
3226
|
+
"shortText": "Creates a container that enables navigation between tokens using keyboard arrow keys.\nThis is useful when combined with other components where the <kbd>Tab</kbd> key is\nreserved for other functions, such as the SKY UX Lookup component."
|
|
3223
3227
|
},
|
|
3224
3228
|
"decorators": [
|
|
3225
3229
|
{
|
|
@@ -6028,12 +6032,12 @@
|
|
|
6028
6032
|
"kindString": "Property",
|
|
6029
6033
|
"flags": {},
|
|
6030
6034
|
"comment": {
|
|
6031
|
-
"shortText": "Specifies the token's
|
|
6035
|
+
"shortText": "Specifies the token's value. The `sky-tokens` component will use its `displayWith`\nproperty to determine which of the value's properties to use as the token's label."
|
|
6032
6036
|
},
|
|
6033
6037
|
"sources": [
|
|
6034
6038
|
{
|
|
6035
6039
|
"fileName": "projects/indicators/src/modules/tokens/types/token.ts",
|
|
6036
|
-
"line":
|
|
6040
|
+
"line": 7,
|
|
6037
6041
|
"character": 2
|
|
6038
6042
|
}
|
|
6039
6043
|
],
|
|
@@ -6808,142 +6812,980 @@
|
|
|
6808
6812
|
]
|
|
6809
6813
|
},
|
|
6810
6814
|
{
|
|
6811
|
-
"id":
|
|
6812
|
-
"name": "
|
|
6813
|
-
"kind":
|
|
6814
|
-
"kindString": "
|
|
6815
|
+
"id": 495,
|
|
6816
|
+
"name": "SkyKeyInfoHarness",
|
|
6817
|
+
"kind": 128,
|
|
6818
|
+
"kindString": "Class",
|
|
6815
6819
|
"flags": {},
|
|
6816
6820
|
"comment": {
|
|
6817
|
-
"shortText": "
|
|
6821
|
+
"shortText": "Harness for interacting with a key info component in tests."
|
|
6818
6822
|
},
|
|
6819
6823
|
"children": [
|
|
6820
6824
|
{
|
|
6821
|
-
"id":
|
|
6822
|
-
"name": "
|
|
6823
|
-
"kind":
|
|
6824
|
-
"kindString": "
|
|
6825
|
+
"id": 513,
|
|
6826
|
+
"name": "getLabelText",
|
|
6827
|
+
"kind": 2048,
|
|
6828
|
+
"kindString": "Method",
|
|
6825
6829
|
"flags": {
|
|
6826
|
-
"
|
|
6827
|
-
},
|
|
6828
|
-
"comment": {
|
|
6829
|
-
"shortText": "Only find instances that are nested under an element with the given selector."
|
|
6830
|
+
"isPublic": true
|
|
6830
6831
|
},
|
|
6831
6832
|
"sources": [
|
|
6832
6833
|
{
|
|
6833
|
-
"fileName": "
|
|
6834
|
-
"line":
|
|
6835
|
-
"character":
|
|
6834
|
+
"fileName": "projects/indicators/src/testing/key-info/key-info-harness.ts",
|
|
6835
|
+
"line": 42,
|
|
6836
|
+
"character": 15
|
|
6836
6837
|
}
|
|
6837
6838
|
],
|
|
6838
|
-
"
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
|
|
6842
|
-
|
|
6843
|
-
|
|
6844
|
-
|
|
6845
|
-
|
|
6839
|
+
"signatures": [
|
|
6840
|
+
{
|
|
6841
|
+
"id": 514,
|
|
6842
|
+
"name": "getLabelText",
|
|
6843
|
+
"kind": 4096,
|
|
6844
|
+
"kindString": "Call signature",
|
|
6845
|
+
"flags": {},
|
|
6846
|
+
"comment": {
|
|
6847
|
+
"shortText": "Gets the current label text."
|
|
6848
|
+
},
|
|
6849
|
+
"type": {
|
|
6850
|
+
"type": "reference",
|
|
6851
|
+
"typeArguments": [
|
|
6852
|
+
{
|
|
6853
|
+
"type": "intrinsic",
|
|
6854
|
+
"name": "string"
|
|
6855
|
+
}
|
|
6856
|
+
],
|
|
6857
|
+
"qualifiedName": "Promise",
|
|
6858
|
+
"package": "typescript",
|
|
6859
|
+
"name": "Promise"
|
|
6860
|
+
}
|
|
6861
|
+
}
|
|
6862
|
+
]
|
|
6846
6863
|
},
|
|
6847
6864
|
{
|
|
6848
|
-
"id":
|
|
6849
|
-
"name": "
|
|
6850
|
-
"kind":
|
|
6851
|
-
"kindString": "
|
|
6865
|
+
"id": 515,
|
|
6866
|
+
"name": "getLayout",
|
|
6867
|
+
"kind": 2048,
|
|
6868
|
+
"kindString": "Method",
|
|
6852
6869
|
"flags": {
|
|
6853
|
-
"
|
|
6854
|
-
},
|
|
6855
|
-
"comment": {
|
|
6856
|
-
"shortText": "Only find instances whose `data-sky-id` attribute matches the given value."
|
|
6870
|
+
"isPublic": true
|
|
6857
6871
|
},
|
|
6858
6872
|
"sources": [
|
|
6859
6873
|
{
|
|
6860
|
-
"fileName": "
|
|
6861
|
-
"line":
|
|
6862
|
-
"character":
|
|
6874
|
+
"fileName": "projects/indicators/src/testing/key-info/key-info-harness.ts",
|
|
6875
|
+
"line": 49,
|
|
6876
|
+
"character": 15
|
|
6863
6877
|
}
|
|
6864
6878
|
],
|
|
6865
|
-
"
|
|
6866
|
-
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
6879
|
+
"signatures": [
|
|
6880
|
+
{
|
|
6881
|
+
"id": 516,
|
|
6882
|
+
"name": "getLayout",
|
|
6883
|
+
"kind": 4096,
|
|
6884
|
+
"kindString": "Call signature",
|
|
6885
|
+
"flags": {},
|
|
6886
|
+
"comment": {
|
|
6887
|
+
"shortText": "Gets the current layout type."
|
|
6871
6888
|
},
|
|
6872
|
-
{
|
|
6889
|
+
"type": {
|
|
6873
6890
|
"type": "reference",
|
|
6874
|
-
"
|
|
6891
|
+
"typeArguments": [
|
|
6892
|
+
{
|
|
6893
|
+
"type": "reference",
|
|
6894
|
+
"id": 360,
|
|
6895
|
+
"name": "SkyKeyInfoLayoutType"
|
|
6896
|
+
}
|
|
6897
|
+
],
|
|
6898
|
+
"qualifiedName": "Promise",
|
|
6875
6899
|
"package": "typescript",
|
|
6876
|
-
"name": "
|
|
6900
|
+
"name": "Promise"
|
|
6877
6901
|
}
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
"inheritedFrom": {
|
|
6881
|
-
"type": "reference",
|
|
6882
|
-
"name": "SkyHarnessFilters.dataSkyId"
|
|
6883
|
-
}
|
|
6902
|
+
}
|
|
6903
|
+
]
|
|
6884
6904
|
},
|
|
6885
6905
|
{
|
|
6886
|
-
"id":
|
|
6887
|
-
"name": "
|
|
6888
|
-
"kind":
|
|
6889
|
-
"kindString": "
|
|
6906
|
+
"id": 511,
|
|
6907
|
+
"name": "getValueText",
|
|
6908
|
+
"kind": 2048,
|
|
6909
|
+
"kindString": "Method",
|
|
6890
6910
|
"flags": {
|
|
6891
|
-
"
|
|
6892
|
-
},
|
|
6893
|
-
"comment": {
|
|
6894
|
-
"shortText": "Only find instances whose host element matches the given selector."
|
|
6911
|
+
"isPublic": true
|
|
6895
6912
|
},
|
|
6913
|
+
"sources": [
|
|
6914
|
+
{
|
|
6915
|
+
"fileName": "projects/indicators/src/testing/key-info/key-info-harness.ts",
|
|
6916
|
+
"line": 35,
|
|
6917
|
+
"character": 15
|
|
6918
|
+
}
|
|
6919
|
+
],
|
|
6920
|
+
"signatures": [
|
|
6921
|
+
{
|
|
6922
|
+
"id": 512,
|
|
6923
|
+
"name": "getValueText",
|
|
6924
|
+
"kind": 4096,
|
|
6925
|
+
"kindString": "Call signature",
|
|
6926
|
+
"flags": {},
|
|
6927
|
+
"comment": {
|
|
6928
|
+
"shortText": "Gets the current value text."
|
|
6929
|
+
},
|
|
6930
|
+
"type": {
|
|
6931
|
+
"type": "reference",
|
|
6932
|
+
"typeArguments": [
|
|
6933
|
+
{
|
|
6934
|
+
"type": "intrinsic",
|
|
6935
|
+
"name": "string"
|
|
6936
|
+
}
|
|
6937
|
+
],
|
|
6938
|
+
"qualifiedName": "Promise",
|
|
6939
|
+
"package": "typescript",
|
|
6940
|
+
"name": "Promise"
|
|
6941
|
+
}
|
|
6942
|
+
}
|
|
6943
|
+
]
|
|
6944
|
+
},
|
|
6945
|
+
{
|
|
6946
|
+
"id": 520,
|
|
6947
|
+
"name": "host",
|
|
6948
|
+
"kind": 2048,
|
|
6949
|
+
"kindString": "Method",
|
|
6950
|
+
"flags": {},
|
|
6896
6951
|
"sources": [
|
|
6897
6952
|
{
|
|
6898
6953
|
"fileName": "node_modules/@angular/cdk/testing/component-harness.d.ts",
|
|
6899
|
-
"line":
|
|
6954
|
+
"line": 221,
|
|
6900
6955
|
"character": 4
|
|
6901
6956
|
}
|
|
6902
6957
|
],
|
|
6903
|
-
"
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
|
|
6958
|
+
"signatures": [
|
|
6959
|
+
{
|
|
6960
|
+
"id": 521,
|
|
6961
|
+
"name": "host",
|
|
6962
|
+
"kind": 4096,
|
|
6963
|
+
"kindString": "Call signature",
|
|
6964
|
+
"flags": {},
|
|
6965
|
+
"comment": {
|
|
6966
|
+
"shortText": "Gets a `Promise` for the `TestElement` representing the host element of the component."
|
|
6967
|
+
},
|
|
6968
|
+
"type": {
|
|
6969
|
+
"type": "reference",
|
|
6970
|
+
"typeArguments": [
|
|
6971
|
+
{
|
|
6972
|
+
"type": "reference",
|
|
6973
|
+
"qualifiedName": "TestElement",
|
|
6974
|
+
"package": "@angular/cdk",
|
|
6975
|
+
"name": "TestElement"
|
|
6976
|
+
}
|
|
6977
|
+
],
|
|
6978
|
+
"qualifiedName": "Promise",
|
|
6979
|
+
"package": "typescript",
|
|
6980
|
+
"name": "Promise"
|
|
6981
|
+
},
|
|
6982
|
+
"inheritedFrom": {
|
|
6983
|
+
"type": "reference",
|
|
6984
|
+
"name": "SkyComponentHarness.host"
|
|
6985
|
+
}
|
|
6986
|
+
}
|
|
6987
|
+
],
|
|
6907
6988
|
"inheritedFrom": {
|
|
6908
6989
|
"type": "reference",
|
|
6909
|
-
"name": "
|
|
6990
|
+
"name": "SkyComponentHarness.host"
|
|
6910
6991
|
}
|
|
6992
|
+
},
|
|
6993
|
+
{
|
|
6994
|
+
"id": 497,
|
|
6995
|
+
"name": "with",
|
|
6996
|
+
"kind": 2048,
|
|
6997
|
+
"kindString": "Method",
|
|
6998
|
+
"flags": {
|
|
6999
|
+
"isPublic": true,
|
|
7000
|
+
"isStatic": true
|
|
7001
|
+
},
|
|
7002
|
+
"sources": [
|
|
7003
|
+
{
|
|
7004
|
+
"fileName": "projects/indicators/src/testing/key-info/key-info-harness.ts",
|
|
7005
|
+
"line": 26,
|
|
7006
|
+
"character": 16
|
|
7007
|
+
}
|
|
7008
|
+
],
|
|
7009
|
+
"signatures": [
|
|
7010
|
+
{
|
|
7011
|
+
"id": 498,
|
|
7012
|
+
"name": "with",
|
|
7013
|
+
"kind": 4096,
|
|
7014
|
+
"kindString": "Call signature",
|
|
7015
|
+
"flags": {},
|
|
7016
|
+
"comment": {
|
|
7017
|
+
"shortText": "Gets a `HarnessPredicate` that can be used to search for a\n`SkyKeyInfoHarness` that meets certain criteria."
|
|
7018
|
+
},
|
|
7019
|
+
"parameters": [
|
|
7020
|
+
{
|
|
7021
|
+
"id": 499,
|
|
7022
|
+
"name": "filters",
|
|
7023
|
+
"kind": 32768,
|
|
7024
|
+
"kindString": "Parameter",
|
|
7025
|
+
"flags": {},
|
|
7026
|
+
"type": {
|
|
7027
|
+
"type": "reference",
|
|
7028
|
+
"id": 540,
|
|
7029
|
+
"name": "SkyKeyInfoHarnessFilters"
|
|
7030
|
+
}
|
|
7031
|
+
}
|
|
7032
|
+
],
|
|
7033
|
+
"type": {
|
|
7034
|
+
"type": "reference",
|
|
7035
|
+
"typeArguments": [
|
|
7036
|
+
{
|
|
7037
|
+
"type": "reference",
|
|
7038
|
+
"id": 495,
|
|
7039
|
+
"name": "SkyKeyInfoHarness"
|
|
7040
|
+
}
|
|
7041
|
+
],
|
|
7042
|
+
"qualifiedName": "HarnessPredicate",
|
|
7043
|
+
"package": "@angular/cdk",
|
|
7044
|
+
"name": "HarnessPredicate"
|
|
7045
|
+
}
|
|
7046
|
+
}
|
|
7047
|
+
]
|
|
6911
7048
|
}
|
|
6912
7049
|
],
|
|
6913
7050
|
"groups": [
|
|
6914
7051
|
{
|
|
6915
|
-
"title": "
|
|
6916
|
-
"kind":
|
|
7052
|
+
"title": "Constructors",
|
|
7053
|
+
"kind": 512,
|
|
6917
7054
|
"children": [
|
|
6918
|
-
|
|
6919
|
-
|
|
6920
|
-
|
|
7055
|
+
505
|
|
7056
|
+
]
|
|
7057
|
+
},
|
|
7058
|
+
{
|
|
7059
|
+
"title": "Methods",
|
|
7060
|
+
"kind": 2048,
|
|
7061
|
+
"children": [
|
|
7062
|
+
513,
|
|
7063
|
+
515,
|
|
7064
|
+
511,
|
|
7065
|
+
520,
|
|
7066
|
+
497
|
|
6921
7067
|
]
|
|
6922
7068
|
}
|
|
6923
7069
|
],
|
|
6924
7070
|
"sources": [
|
|
6925
7071
|
{
|
|
6926
|
-
"fileName": "projects/indicators/src/testing/
|
|
6927
|
-
"line":
|
|
6928
|
-
"character":
|
|
7072
|
+
"fileName": "projects/indicators/src/testing/key-info/key-info-harness.ts",
|
|
7073
|
+
"line": 12,
|
|
7074
|
+
"character": 13
|
|
6929
7075
|
}
|
|
6930
7076
|
],
|
|
6931
7077
|
"extendedTypes": [
|
|
6932
7078
|
{
|
|
6933
7079
|
"type": "reference",
|
|
6934
|
-
"name": "
|
|
7080
|
+
"name": "SkyComponentHarness"
|
|
6935
7081
|
}
|
|
6936
7082
|
]
|
|
6937
|
-
}
|
|
6938
|
-
],
|
|
6939
|
-
"groups": [
|
|
7083
|
+
},
|
|
6940
7084
|
{
|
|
6941
|
-
"
|
|
6942
|
-
"
|
|
6943
|
-
"
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
|
|
7085
|
+
"id": 544,
|
|
7086
|
+
"name": "SkyLabelHarness",
|
|
7087
|
+
"kind": 128,
|
|
7088
|
+
"kindString": "Class",
|
|
7089
|
+
"flags": {},
|
|
7090
|
+
"comment": {
|
|
7091
|
+
"shortText": "Harness for interacting with a label component in tests."
|
|
7092
|
+
},
|
|
7093
|
+
"children": [
|
|
7094
|
+
{
|
|
7095
|
+
"id": 566,
|
|
7096
|
+
"name": "getCustomDescription",
|
|
7097
|
+
"kind": 2048,
|
|
7098
|
+
"kindString": "Method",
|
|
7099
|
+
"flags": {
|
|
7100
|
+
"isPublic": true
|
|
7101
|
+
},
|
|
7102
|
+
"sources": [
|
|
7103
|
+
{
|
|
7104
|
+
"fileName": "projects/indicators/src/testing/label/label-harness.ts",
|
|
7105
|
+
"line": 102,
|
|
7106
|
+
"character": 15
|
|
7107
|
+
}
|
|
7108
|
+
],
|
|
7109
|
+
"signatures": [
|
|
7110
|
+
{
|
|
7111
|
+
"id": 567,
|
|
7112
|
+
"name": "getCustomDescription",
|
|
7113
|
+
"kind": 4096,
|
|
7114
|
+
"kindString": "Call signature",
|
|
7115
|
+
"flags": {},
|
|
7116
|
+
"comment": {
|
|
7117
|
+
"shortText": "Gets the custom text used for the screen reader description of the label component icon."
|
|
7118
|
+
},
|
|
7119
|
+
"type": {
|
|
7120
|
+
"type": "reference",
|
|
7121
|
+
"typeArguments": [
|
|
7122
|
+
{
|
|
7123
|
+
"type": "intrinsic",
|
|
7124
|
+
"name": "string"
|
|
7125
|
+
}
|
|
7126
|
+
],
|
|
7127
|
+
"qualifiedName": "Promise",
|
|
7128
|
+
"package": "typescript",
|
|
7129
|
+
"name": "Promise"
|
|
7130
|
+
}
|
|
7131
|
+
}
|
|
7132
|
+
]
|
|
7133
|
+
},
|
|
7134
|
+
{
|
|
7135
|
+
"id": 564,
|
|
7136
|
+
"name": "getDescriptionType",
|
|
7137
|
+
"kind": 2048,
|
|
7138
|
+
"kindString": "Method",
|
|
7139
|
+
"flags": {
|
|
7140
|
+
"isPublic": true
|
|
7141
|
+
},
|
|
7142
|
+
"sources": [
|
|
7143
|
+
{
|
|
7144
|
+
"fileName": "projects/indicators/src/testing/label/label-harness.ts",
|
|
7145
|
+
"line": 66,
|
|
7146
|
+
"character": 15
|
|
7147
|
+
}
|
|
7148
|
+
],
|
|
7149
|
+
"signatures": [
|
|
7150
|
+
{
|
|
7151
|
+
"id": 565,
|
|
7152
|
+
"name": "getDescriptionType",
|
|
7153
|
+
"kind": 4096,
|
|
7154
|
+
"kindString": "Call signature",
|
|
7155
|
+
"flags": {},
|
|
7156
|
+
"comment": {
|
|
7157
|
+
"shortText": "Gets the `descriptionType` of the label component."
|
|
7158
|
+
},
|
|
7159
|
+
"type": {
|
|
7160
|
+
"type": "reference",
|
|
7161
|
+
"typeArguments": [
|
|
7162
|
+
{
|
|
7163
|
+
"type": "reference",
|
|
7164
|
+
"id": 368,
|
|
7165
|
+
"name": "SkyIndicatorDescriptionType"
|
|
7166
|
+
}
|
|
7167
|
+
],
|
|
7168
|
+
"qualifiedName": "Promise",
|
|
7169
|
+
"package": "typescript",
|
|
7170
|
+
"name": "Promise"
|
|
7171
|
+
}
|
|
7172
|
+
}
|
|
7173
|
+
]
|
|
7174
|
+
},
|
|
7175
|
+
{
|
|
7176
|
+
"id": 560,
|
|
7177
|
+
"name": "getLabelText",
|
|
7178
|
+
"kind": 2048,
|
|
7179
|
+
"kindString": "Method",
|
|
7180
|
+
"flags": {
|
|
7181
|
+
"isPublic": true
|
|
7182
|
+
},
|
|
7183
|
+
"sources": [
|
|
7184
|
+
{
|
|
7185
|
+
"fileName": "projects/indicators/src/testing/label/label-harness.ts",
|
|
7186
|
+
"line": 36,
|
|
7187
|
+
"character": 15
|
|
7188
|
+
}
|
|
7189
|
+
],
|
|
7190
|
+
"signatures": [
|
|
7191
|
+
{
|
|
7192
|
+
"id": 561,
|
|
7193
|
+
"name": "getLabelText",
|
|
7194
|
+
"kind": 4096,
|
|
7195
|
+
"kindString": "Call signature",
|
|
7196
|
+
"flags": {},
|
|
7197
|
+
"comment": {
|
|
7198
|
+
"shortText": "Gets the text of the label component."
|
|
7199
|
+
},
|
|
7200
|
+
"type": {
|
|
7201
|
+
"type": "reference",
|
|
7202
|
+
"typeArguments": [
|
|
7203
|
+
{
|
|
7204
|
+
"type": "intrinsic",
|
|
7205
|
+
"name": "string"
|
|
7206
|
+
}
|
|
7207
|
+
],
|
|
7208
|
+
"qualifiedName": "Promise",
|
|
7209
|
+
"package": "typescript",
|
|
7210
|
+
"name": "Promise"
|
|
7211
|
+
}
|
|
7212
|
+
}
|
|
7213
|
+
]
|
|
7214
|
+
},
|
|
7215
|
+
{
|
|
7216
|
+
"id": 562,
|
|
7217
|
+
"name": "getLabelType",
|
|
7218
|
+
"kind": 2048,
|
|
7219
|
+
"kindString": "Method",
|
|
7220
|
+
"flags": {
|
|
7221
|
+
"isPublic": true
|
|
7222
|
+
},
|
|
7223
|
+
"sources": [
|
|
7224
|
+
{
|
|
7225
|
+
"fileName": "projects/indicators/src/testing/label/label-harness.ts",
|
|
7226
|
+
"line": 43,
|
|
7227
|
+
"character": 15
|
|
7228
|
+
}
|
|
7229
|
+
],
|
|
7230
|
+
"signatures": [
|
|
7231
|
+
{
|
|
7232
|
+
"id": 563,
|
|
7233
|
+
"name": "getLabelType",
|
|
7234
|
+
"kind": 4096,
|
|
7235
|
+
"kindString": "Call signature",
|
|
7236
|
+
"flags": {},
|
|
7237
|
+
"comment": {
|
|
7238
|
+
"shortText": "Gets the `labelType` of the label component."
|
|
7239
|
+
},
|
|
7240
|
+
"type": {
|
|
7241
|
+
"type": "reference",
|
|
7242
|
+
"typeArguments": [
|
|
7243
|
+
{
|
|
7244
|
+
"type": "reference",
|
|
7245
|
+
"id": 364,
|
|
7246
|
+
"name": "SkyLabelType"
|
|
7247
|
+
}
|
|
7248
|
+
],
|
|
7249
|
+
"qualifiedName": "Promise",
|
|
7250
|
+
"package": "typescript",
|
|
7251
|
+
"name": "Promise"
|
|
7252
|
+
}
|
|
7253
|
+
}
|
|
7254
|
+
]
|
|
7255
|
+
},
|
|
7256
|
+
{
|
|
7257
|
+
"id": 571,
|
|
7258
|
+
"name": "host",
|
|
7259
|
+
"kind": 2048,
|
|
7260
|
+
"kindString": "Method",
|
|
7261
|
+
"flags": {},
|
|
7262
|
+
"sources": [
|
|
7263
|
+
{
|
|
7264
|
+
"fileName": "node_modules/@angular/cdk/testing/component-harness.d.ts",
|
|
7265
|
+
"line": 221,
|
|
7266
|
+
"character": 4
|
|
7267
|
+
}
|
|
7268
|
+
],
|
|
7269
|
+
"signatures": [
|
|
7270
|
+
{
|
|
7271
|
+
"id": 572,
|
|
7272
|
+
"name": "host",
|
|
7273
|
+
"kind": 4096,
|
|
7274
|
+
"kindString": "Call signature",
|
|
7275
|
+
"flags": {},
|
|
7276
|
+
"comment": {
|
|
7277
|
+
"shortText": "Gets a `Promise` for the `TestElement` representing the host element of the component."
|
|
7278
|
+
},
|
|
7279
|
+
"type": {
|
|
7280
|
+
"type": "reference",
|
|
7281
|
+
"typeArguments": [
|
|
7282
|
+
{
|
|
7283
|
+
"type": "reference",
|
|
7284
|
+
"qualifiedName": "TestElement",
|
|
7285
|
+
"package": "@angular/cdk",
|
|
7286
|
+
"name": "TestElement"
|
|
7287
|
+
}
|
|
7288
|
+
],
|
|
7289
|
+
"qualifiedName": "Promise",
|
|
7290
|
+
"package": "typescript",
|
|
7291
|
+
"name": "Promise"
|
|
7292
|
+
},
|
|
7293
|
+
"inheritedFrom": {
|
|
7294
|
+
"type": "reference",
|
|
7295
|
+
"name": "SkyComponentHarness.host"
|
|
7296
|
+
}
|
|
7297
|
+
}
|
|
7298
|
+
],
|
|
7299
|
+
"inheritedFrom": {
|
|
7300
|
+
"type": "reference",
|
|
7301
|
+
"name": "SkyComponentHarness.host"
|
|
7302
|
+
}
|
|
7303
|
+
},
|
|
7304
|
+
{
|
|
7305
|
+
"id": 546,
|
|
7306
|
+
"name": "with",
|
|
7307
|
+
"kind": 2048,
|
|
7308
|
+
"kindString": "Method",
|
|
7309
|
+
"flags": {
|
|
7310
|
+
"isPublic": true,
|
|
7311
|
+
"isStatic": true
|
|
7312
|
+
},
|
|
7313
|
+
"sources": [
|
|
7314
|
+
{
|
|
7315
|
+
"fileName": "projects/indicators/src/testing/label/label-harness.ts",
|
|
7316
|
+
"line": 27,
|
|
7317
|
+
"character": 16
|
|
7318
|
+
}
|
|
7319
|
+
],
|
|
7320
|
+
"signatures": [
|
|
7321
|
+
{
|
|
7322
|
+
"id": 547,
|
|
7323
|
+
"name": "with",
|
|
7324
|
+
"kind": 4096,
|
|
7325
|
+
"kindString": "Call signature",
|
|
7326
|
+
"flags": {},
|
|
7327
|
+
"comment": {
|
|
7328
|
+
"shortText": "Gets a `HarnessPredicate` that can be used to search for a\n`SkyLookupHarness` that meets certain criteria."
|
|
7329
|
+
},
|
|
7330
|
+
"parameters": [
|
|
7331
|
+
{
|
|
7332
|
+
"id": 548,
|
|
7333
|
+
"name": "filters",
|
|
7334
|
+
"kind": 32768,
|
|
7335
|
+
"kindString": "Parameter",
|
|
7336
|
+
"flags": {},
|
|
7337
|
+
"type": {
|
|
7338
|
+
"type": "reference",
|
|
7339
|
+
"id": 591,
|
|
7340
|
+
"name": "SkyLabelHarnessFilters"
|
|
7341
|
+
}
|
|
7342
|
+
}
|
|
7343
|
+
],
|
|
7344
|
+
"type": {
|
|
7345
|
+
"type": "reference",
|
|
7346
|
+
"typeArguments": [
|
|
7347
|
+
{
|
|
7348
|
+
"type": "reference",
|
|
7349
|
+
"id": 544,
|
|
7350
|
+
"name": "SkyLabelHarness"
|
|
7351
|
+
}
|
|
7352
|
+
],
|
|
7353
|
+
"qualifiedName": "HarnessPredicate",
|
|
7354
|
+
"package": "@angular/cdk",
|
|
7355
|
+
"name": "HarnessPredicate"
|
|
7356
|
+
}
|
|
7357
|
+
}
|
|
7358
|
+
]
|
|
7359
|
+
}
|
|
7360
|
+
],
|
|
7361
|
+
"groups": [
|
|
7362
|
+
{
|
|
7363
|
+
"title": "Constructors",
|
|
7364
|
+
"kind": 512,
|
|
7365
|
+
"children": [
|
|
7366
|
+
554
|
|
7367
|
+
]
|
|
7368
|
+
},
|
|
7369
|
+
{
|
|
7370
|
+
"title": "Methods",
|
|
7371
|
+
"kind": 2048,
|
|
7372
|
+
"children": [
|
|
7373
|
+
566,
|
|
7374
|
+
564,
|
|
7375
|
+
560,
|
|
7376
|
+
562,
|
|
7377
|
+
571,
|
|
7378
|
+
546
|
|
7379
|
+
]
|
|
7380
|
+
}
|
|
7381
|
+
],
|
|
7382
|
+
"sources": [
|
|
7383
|
+
{
|
|
7384
|
+
"fileName": "projects/indicators/src/testing/label/label-harness.ts",
|
|
7385
|
+
"line": 13,
|
|
7386
|
+
"character": 13
|
|
7387
|
+
}
|
|
7388
|
+
],
|
|
7389
|
+
"extendedTypes": [
|
|
7390
|
+
{
|
|
7391
|
+
"type": "reference",
|
|
7392
|
+
"name": "SkyComponentHarness"
|
|
7393
|
+
}
|
|
7394
|
+
]
|
|
7395
|
+
},
|
|
7396
|
+
{
|
|
7397
|
+
"id": 491,
|
|
7398
|
+
"name": "SkyAlertHarnessFilters",
|
|
7399
|
+
"kind": 256,
|
|
7400
|
+
"kindString": "Interface",
|
|
7401
|
+
"flags": {},
|
|
7402
|
+
"comment": {
|
|
7403
|
+
"shortText": "A set of criteria that can be used to filter a list of SkyAlertHarness instances."
|
|
7404
|
+
},
|
|
7405
|
+
"children": [
|
|
7406
|
+
{
|
|
7407
|
+
"id": 494,
|
|
7408
|
+
"name": "ancestor",
|
|
7409
|
+
"kind": 1024,
|
|
7410
|
+
"kindString": "Property",
|
|
7411
|
+
"flags": {
|
|
7412
|
+
"isOptional": true
|
|
7413
|
+
},
|
|
7414
|
+
"comment": {
|
|
7415
|
+
"shortText": "Only find instances that are nested under an element with the given selector."
|
|
7416
|
+
},
|
|
7417
|
+
"sources": [
|
|
7418
|
+
{
|
|
7419
|
+
"fileName": "node_modules/@angular/cdk/testing/component-harness.d.ts",
|
|
7420
|
+
"line": 351,
|
|
7421
|
+
"character": 4
|
|
7422
|
+
}
|
|
7423
|
+
],
|
|
7424
|
+
"type": {
|
|
7425
|
+
"type": "intrinsic",
|
|
7426
|
+
"name": "string"
|
|
7427
|
+
},
|
|
7428
|
+
"inheritedFrom": {
|
|
7429
|
+
"type": "reference",
|
|
7430
|
+
"name": "SkyHarnessFilters.ancestor"
|
|
7431
|
+
}
|
|
7432
|
+
},
|
|
7433
|
+
{
|
|
7434
|
+
"id": 492,
|
|
7435
|
+
"name": "dataSkyId",
|
|
7436
|
+
"kind": 1024,
|
|
7437
|
+
"kindString": "Property",
|
|
7438
|
+
"flags": {
|
|
7439
|
+
"isOptional": true
|
|
7440
|
+
},
|
|
7441
|
+
"comment": {
|
|
7442
|
+
"shortText": "Only find instances whose `data-sky-id` attribute matches the given value."
|
|
7443
|
+
},
|
|
7444
|
+
"sources": [
|
|
7445
|
+
{
|
|
7446
|
+
"fileName": "libs/components/core/testing/src/shared/harness-filters.ts",
|
|
7447
|
+
"line": 11,
|
|
7448
|
+
"character": 2
|
|
7449
|
+
}
|
|
7450
|
+
],
|
|
7451
|
+
"type": {
|
|
7452
|
+
"type": "union",
|
|
7453
|
+
"types": [
|
|
7454
|
+
{
|
|
7455
|
+
"type": "intrinsic",
|
|
7456
|
+
"name": "string"
|
|
7457
|
+
},
|
|
7458
|
+
{
|
|
7459
|
+
"type": "reference",
|
|
7460
|
+
"qualifiedName": "RegExp",
|
|
7461
|
+
"package": "typescript",
|
|
7462
|
+
"name": "RegExp"
|
|
7463
|
+
}
|
|
7464
|
+
]
|
|
7465
|
+
},
|
|
7466
|
+
"inheritedFrom": {
|
|
7467
|
+
"type": "reference",
|
|
7468
|
+
"name": "SkyHarnessFilters.dataSkyId"
|
|
7469
|
+
}
|
|
7470
|
+
},
|
|
7471
|
+
{
|
|
7472
|
+
"id": 493,
|
|
7473
|
+
"name": "selector",
|
|
7474
|
+
"kind": 1024,
|
|
7475
|
+
"kindString": "Property",
|
|
7476
|
+
"flags": {
|
|
7477
|
+
"isOptional": true
|
|
7478
|
+
},
|
|
7479
|
+
"comment": {
|
|
7480
|
+
"shortText": "Only find instances whose host element matches the given selector."
|
|
7481
|
+
},
|
|
7482
|
+
"sources": [
|
|
7483
|
+
{
|
|
7484
|
+
"fileName": "node_modules/@angular/cdk/testing/component-harness.d.ts",
|
|
7485
|
+
"line": 349,
|
|
7486
|
+
"character": 4
|
|
7487
|
+
}
|
|
7488
|
+
],
|
|
7489
|
+
"type": {
|
|
7490
|
+
"type": "intrinsic",
|
|
7491
|
+
"name": "string"
|
|
7492
|
+
},
|
|
7493
|
+
"inheritedFrom": {
|
|
7494
|
+
"type": "reference",
|
|
7495
|
+
"name": "SkyHarnessFilters.selector"
|
|
7496
|
+
}
|
|
7497
|
+
}
|
|
7498
|
+
],
|
|
7499
|
+
"groups": [
|
|
7500
|
+
{
|
|
7501
|
+
"title": "Properties",
|
|
7502
|
+
"kind": 1024,
|
|
7503
|
+
"children": [
|
|
7504
|
+
494,
|
|
7505
|
+
492,
|
|
7506
|
+
493
|
|
7507
|
+
]
|
|
7508
|
+
}
|
|
7509
|
+
],
|
|
7510
|
+
"sources": [
|
|
7511
|
+
{
|
|
7512
|
+
"fileName": "projects/indicators/src/testing/alert/alert-harness-filters.ts",
|
|
7513
|
+
"line": 7,
|
|
7514
|
+
"character": 17
|
|
7515
|
+
}
|
|
7516
|
+
],
|
|
7517
|
+
"extendedTypes": [
|
|
7518
|
+
{
|
|
7519
|
+
"type": "reference",
|
|
7520
|
+
"name": "SkyHarnessFilters"
|
|
7521
|
+
}
|
|
7522
|
+
]
|
|
7523
|
+
},
|
|
7524
|
+
{
|
|
7525
|
+
"id": 540,
|
|
7526
|
+
"name": "SkyKeyInfoHarnessFilters",
|
|
7527
|
+
"kind": 256,
|
|
7528
|
+
"kindString": "Interface",
|
|
7529
|
+
"flags": {},
|
|
7530
|
+
"comment": {
|
|
7531
|
+
"shortText": "A set of criteria that can be used to filter a list of SkyKeyInfoHarness instances."
|
|
7532
|
+
},
|
|
7533
|
+
"children": [
|
|
7534
|
+
{
|
|
7535
|
+
"id": 543,
|
|
7536
|
+
"name": "ancestor",
|
|
7537
|
+
"kind": 1024,
|
|
7538
|
+
"kindString": "Property",
|
|
7539
|
+
"flags": {
|
|
7540
|
+
"isOptional": true
|
|
7541
|
+
},
|
|
7542
|
+
"comment": {
|
|
7543
|
+
"shortText": "Only find instances that are nested under an element with the given selector."
|
|
7544
|
+
},
|
|
7545
|
+
"sources": [
|
|
7546
|
+
{
|
|
7547
|
+
"fileName": "node_modules/@angular/cdk/testing/component-harness.d.ts",
|
|
7548
|
+
"line": 351,
|
|
7549
|
+
"character": 4
|
|
7550
|
+
}
|
|
7551
|
+
],
|
|
7552
|
+
"type": {
|
|
7553
|
+
"type": "intrinsic",
|
|
7554
|
+
"name": "string"
|
|
7555
|
+
},
|
|
7556
|
+
"inheritedFrom": {
|
|
7557
|
+
"type": "reference",
|
|
7558
|
+
"name": "SkyHarnessFilters.ancestor"
|
|
7559
|
+
}
|
|
7560
|
+
},
|
|
7561
|
+
{
|
|
7562
|
+
"id": 541,
|
|
7563
|
+
"name": "dataSkyId",
|
|
7564
|
+
"kind": 1024,
|
|
7565
|
+
"kindString": "Property",
|
|
7566
|
+
"flags": {
|
|
7567
|
+
"isOptional": true
|
|
7568
|
+
},
|
|
7569
|
+
"comment": {
|
|
7570
|
+
"shortText": "Only find instances whose `data-sky-id` attribute matches the given value."
|
|
7571
|
+
},
|
|
7572
|
+
"sources": [
|
|
7573
|
+
{
|
|
7574
|
+
"fileName": "libs/components/core/testing/src/shared/harness-filters.ts",
|
|
7575
|
+
"line": 11,
|
|
7576
|
+
"character": 2
|
|
7577
|
+
}
|
|
7578
|
+
],
|
|
7579
|
+
"type": {
|
|
7580
|
+
"type": "union",
|
|
7581
|
+
"types": [
|
|
7582
|
+
{
|
|
7583
|
+
"type": "intrinsic",
|
|
7584
|
+
"name": "string"
|
|
7585
|
+
},
|
|
7586
|
+
{
|
|
7587
|
+
"type": "reference",
|
|
7588
|
+
"qualifiedName": "RegExp",
|
|
7589
|
+
"package": "typescript",
|
|
7590
|
+
"name": "RegExp"
|
|
7591
|
+
}
|
|
7592
|
+
]
|
|
7593
|
+
},
|
|
7594
|
+
"inheritedFrom": {
|
|
7595
|
+
"type": "reference",
|
|
7596
|
+
"name": "SkyHarnessFilters.dataSkyId"
|
|
7597
|
+
}
|
|
7598
|
+
},
|
|
7599
|
+
{
|
|
7600
|
+
"id": 542,
|
|
7601
|
+
"name": "selector",
|
|
7602
|
+
"kind": 1024,
|
|
7603
|
+
"kindString": "Property",
|
|
7604
|
+
"flags": {
|
|
7605
|
+
"isOptional": true
|
|
7606
|
+
},
|
|
7607
|
+
"comment": {
|
|
7608
|
+
"shortText": "Only find instances whose host element matches the given selector."
|
|
7609
|
+
},
|
|
7610
|
+
"sources": [
|
|
7611
|
+
{
|
|
7612
|
+
"fileName": "node_modules/@angular/cdk/testing/component-harness.d.ts",
|
|
7613
|
+
"line": 349,
|
|
7614
|
+
"character": 4
|
|
7615
|
+
}
|
|
7616
|
+
],
|
|
7617
|
+
"type": {
|
|
7618
|
+
"type": "intrinsic",
|
|
7619
|
+
"name": "string"
|
|
7620
|
+
},
|
|
7621
|
+
"inheritedFrom": {
|
|
7622
|
+
"type": "reference",
|
|
7623
|
+
"name": "SkyHarnessFilters.selector"
|
|
7624
|
+
}
|
|
7625
|
+
}
|
|
7626
|
+
],
|
|
7627
|
+
"groups": [
|
|
7628
|
+
{
|
|
7629
|
+
"title": "Properties",
|
|
7630
|
+
"kind": 1024,
|
|
7631
|
+
"children": [
|
|
7632
|
+
543,
|
|
7633
|
+
541,
|
|
7634
|
+
542
|
|
7635
|
+
]
|
|
7636
|
+
}
|
|
7637
|
+
],
|
|
7638
|
+
"sources": [
|
|
7639
|
+
{
|
|
7640
|
+
"fileName": "projects/indicators/src/testing/key-info/key-info-harness-filters.ts",
|
|
7641
|
+
"line": 7,
|
|
7642
|
+
"character": 17
|
|
7643
|
+
}
|
|
7644
|
+
],
|
|
7645
|
+
"extendedTypes": [
|
|
7646
|
+
{
|
|
7647
|
+
"type": "reference",
|
|
7648
|
+
"name": "SkyHarnessFilters"
|
|
7649
|
+
}
|
|
7650
|
+
]
|
|
7651
|
+
},
|
|
7652
|
+
{
|
|
7653
|
+
"id": 591,
|
|
7654
|
+
"name": "SkyLabelHarnessFilters",
|
|
7655
|
+
"kind": 256,
|
|
7656
|
+
"kindString": "Interface",
|
|
7657
|
+
"flags": {},
|
|
7658
|
+
"comment": {
|
|
7659
|
+
"shortText": "A set of criteria that can be used to filter a list of `SkyLabelHarness` instances."
|
|
7660
|
+
},
|
|
7661
|
+
"children": [
|
|
7662
|
+
{
|
|
7663
|
+
"id": 594,
|
|
7664
|
+
"name": "ancestor",
|
|
7665
|
+
"kind": 1024,
|
|
7666
|
+
"kindString": "Property",
|
|
7667
|
+
"flags": {
|
|
7668
|
+
"isOptional": true
|
|
7669
|
+
},
|
|
7670
|
+
"comment": {
|
|
7671
|
+
"shortText": "Only find instances that are nested under an element with the given selector."
|
|
7672
|
+
},
|
|
7673
|
+
"sources": [
|
|
7674
|
+
{
|
|
7675
|
+
"fileName": "node_modules/@angular/cdk/testing/component-harness.d.ts",
|
|
7676
|
+
"line": 351,
|
|
7677
|
+
"character": 4
|
|
7678
|
+
}
|
|
7679
|
+
],
|
|
7680
|
+
"type": {
|
|
7681
|
+
"type": "intrinsic",
|
|
7682
|
+
"name": "string"
|
|
7683
|
+
},
|
|
7684
|
+
"inheritedFrom": {
|
|
7685
|
+
"type": "reference",
|
|
7686
|
+
"name": "SkyHarnessFilters.ancestor"
|
|
7687
|
+
}
|
|
7688
|
+
},
|
|
7689
|
+
{
|
|
7690
|
+
"id": 592,
|
|
7691
|
+
"name": "dataSkyId",
|
|
7692
|
+
"kind": 1024,
|
|
7693
|
+
"kindString": "Property",
|
|
7694
|
+
"flags": {
|
|
7695
|
+
"isOptional": true
|
|
7696
|
+
},
|
|
7697
|
+
"comment": {
|
|
7698
|
+
"shortText": "Only find instances whose `data-sky-id` attribute matches the given value."
|
|
7699
|
+
},
|
|
7700
|
+
"sources": [
|
|
7701
|
+
{
|
|
7702
|
+
"fileName": "libs/components/core/testing/src/shared/harness-filters.ts",
|
|
7703
|
+
"line": 11,
|
|
7704
|
+
"character": 2
|
|
7705
|
+
}
|
|
7706
|
+
],
|
|
7707
|
+
"type": {
|
|
7708
|
+
"type": "union",
|
|
7709
|
+
"types": [
|
|
7710
|
+
{
|
|
7711
|
+
"type": "intrinsic",
|
|
7712
|
+
"name": "string"
|
|
7713
|
+
},
|
|
7714
|
+
{
|
|
7715
|
+
"type": "reference",
|
|
7716
|
+
"qualifiedName": "RegExp",
|
|
7717
|
+
"package": "typescript",
|
|
7718
|
+
"name": "RegExp"
|
|
7719
|
+
}
|
|
7720
|
+
]
|
|
7721
|
+
},
|
|
7722
|
+
"inheritedFrom": {
|
|
7723
|
+
"type": "reference",
|
|
7724
|
+
"name": "SkyHarnessFilters.dataSkyId"
|
|
7725
|
+
}
|
|
7726
|
+
},
|
|
7727
|
+
{
|
|
7728
|
+
"id": 593,
|
|
7729
|
+
"name": "selector",
|
|
7730
|
+
"kind": 1024,
|
|
7731
|
+
"kindString": "Property",
|
|
7732
|
+
"flags": {
|
|
7733
|
+
"isOptional": true
|
|
7734
|
+
},
|
|
7735
|
+
"comment": {
|
|
7736
|
+
"shortText": "Only find instances whose host element matches the given selector."
|
|
7737
|
+
},
|
|
7738
|
+
"sources": [
|
|
7739
|
+
{
|
|
7740
|
+
"fileName": "node_modules/@angular/cdk/testing/component-harness.d.ts",
|
|
7741
|
+
"line": 349,
|
|
7742
|
+
"character": 4
|
|
7743
|
+
}
|
|
7744
|
+
],
|
|
7745
|
+
"type": {
|
|
7746
|
+
"type": "intrinsic",
|
|
7747
|
+
"name": "string"
|
|
7748
|
+
},
|
|
7749
|
+
"inheritedFrom": {
|
|
7750
|
+
"type": "reference",
|
|
7751
|
+
"name": "SkyHarnessFilters.selector"
|
|
7752
|
+
}
|
|
7753
|
+
}
|
|
7754
|
+
],
|
|
7755
|
+
"groups": [
|
|
7756
|
+
{
|
|
7757
|
+
"title": "Properties",
|
|
7758
|
+
"kind": 1024,
|
|
7759
|
+
"children": [
|
|
7760
|
+
594,
|
|
7761
|
+
592,
|
|
7762
|
+
593
|
|
7763
|
+
]
|
|
7764
|
+
}
|
|
7765
|
+
],
|
|
7766
|
+
"sources": [
|
|
7767
|
+
{
|
|
7768
|
+
"fileName": "projects/indicators/src/testing/label/label-harness-filters.ts",
|
|
7769
|
+
"line": 7,
|
|
7770
|
+
"character": 17
|
|
7771
|
+
}
|
|
7772
|
+
],
|
|
7773
|
+
"extendedTypes": [
|
|
7774
|
+
{
|
|
7775
|
+
"type": "reference",
|
|
7776
|
+
"name": "SkyHarnessFilters"
|
|
7777
|
+
}
|
|
7778
|
+
]
|
|
7779
|
+
}
|
|
7780
|
+
],
|
|
7781
|
+
"groups": [
|
|
7782
|
+
{
|
|
7783
|
+
"title": "Modules",
|
|
7784
|
+
"kind": 2,
|
|
7785
|
+
"children": [
|
|
7786
|
+
1,
|
|
7787
|
+
2
|
|
7788
|
+
]
|
|
6947
7789
|
}
|
|
6948
7790
|
]
|
|
6949
7791
|
},
|
|
@@ -7001,12 +7843,17 @@
|
|
|
7001
7843
|
{
|
|
7002
7844
|
"fileName": "key-info-demo.component.html",
|
|
7003
7845
|
"filePath": "/projects/indicators/documentation/code-examples/key-info/basic/key-info-demo.component.html",
|
|
7004
|
-
"rawContents": "<sky-key-info [layout]=\"layout\">\n <sky-key-info-value>
|
|
7846
|
+
"rawContents": "<sky-key-info [layout]=\"layout\" data-sky-id=\"key-info-demo\">\n <sky-key-info-value>{{ value }}</sky-key-info-value>\n <sky-key-info-label> New members </sky-key-info-label>\n</sky-key-info>\n"
|
|
7847
|
+
},
|
|
7848
|
+
{
|
|
7849
|
+
"fileName": "key-info-demo.component.spec.ts",
|
|
7850
|
+
"filePath": "/projects/indicators/documentation/code-examples/key-info/basic/key-info-demo.component.spec.ts",
|
|
7851
|
+
"rawContents": "import { TestbedHarnessEnvironment } from '@angular/cdk/testing/testbed';\nimport { TestBed } from '@angular/core/testing';\nimport { SkyKeyInfoHarness } from '@skyux/indicators/testing';\n\nimport { KeyInfoDemoComponent } from './key-info-demo.component';\nimport { KeyInfoDemoModule } from './key-info-demo.module';\n\ndescribe('Basic key info', () => {\n async function setupTest(options?: { value?: number }) {\n const fixture = TestBed.createComponent(KeyInfoDemoComponent);\n\n if (options?.value !== undefined) {\n fixture.componentInstance.value = options.value;\n }\n\n const loader = TestbedHarnessEnvironment.loader(fixture);\n\n const keyInfoHarness = await loader.getHarness(\n SkyKeyInfoHarness.with({ dataSkyId: 'key-info-demo' })\n );\n\n return { keyInfoHarness, fixture };\n }\n\n beforeEach(() => {\n TestBed.configureTestingModule({\n imports: [KeyInfoDemoModule],\n });\n });\n\n it('should display a vertical key info', async () => {\n const { keyInfoHarness } = await setupTest({ value: 101 });\n\n await expectAsync(keyInfoHarness.getLayout()).toBeResolvedTo('vertical');\n await expectAsync(keyInfoHarness.getValueText()).toBeResolvedTo('101');\n await expectAsync(keyInfoHarness.getLabelText()).toBeResolvedTo(\n 'New members'\n );\n });\n\n it('should display a horizontal key info', async () => {\n const { keyInfoHarness } = await setupTest({ value: 50 });\n\n await expectAsync(keyInfoHarness.getLayout()).toBeResolvedTo('horizontal');\n await expectAsync(keyInfoHarness.getValueText()).toBeResolvedTo('50');\n await expectAsync(keyInfoHarness.getLabelText()).toBeResolvedTo(\n 'New members'\n );\n });\n});\n"
|
|
7005
7852
|
},
|
|
7006
7853
|
{
|
|
7007
7854
|
"fileName": "key-info-demo.component.ts",
|
|
7008
7855
|
"filePath": "/projects/indicators/documentation/code-examples/key-info/basic/key-info-demo.component.ts",
|
|
7009
|
-
"rawContents": "import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-key-info-demo',\n templateUrl: './key-info-demo.component.html',\n})\nexport class KeyInfoDemoComponent {\n public layout = 'vertical';\n}\n"
|
|
7856
|
+
"rawContents": "import { Component, Input } from '@angular/core';\nimport { SkyKeyInfoLayoutType } from '@skyux/indicators';\n\n@Component({\n selector: 'app-key-info-demo',\n templateUrl: './key-info-demo.component.html',\n})\nexport class KeyInfoDemoComponent {\n @Input()\n public set value(value: number) {\n this.#_value = value;\n this.layout = this.#_value >= 100 ? 'vertical' : 'horizontal';\n }\n\n public get value(): number {\n return this.#_value;\n }\n\n public layout: SkyKeyInfoLayoutType = 'vertical';\n\n #_value: number | undefined;\n}\n"
|
|
7010
7857
|
},
|
|
7011
7858
|
{
|
|
7012
7859
|
"fileName": "key-info-demo.module.ts",
|
|
@@ -7031,12 +7878,17 @@
|
|
|
7031
7878
|
{
|
|
7032
7879
|
"fileName": "label-demo.component.html",
|
|
7033
7880
|
"filePath": "/projects/indicators/documentation/code-examples/label/basic/label-demo.component.html",
|
|
7034
|
-
"rawContents": "<sky-label\n
|
|
7881
|
+
"rawContents": "<sky-label\n data-sky-id=\"label-demo\"\n [labelType]=\"labelType\"\n [descriptionType]=\"descriptionType\"\n>\n {{ labelText }}\n</sky-label>\n"
|
|
7882
|
+
},
|
|
7883
|
+
{
|
|
7884
|
+
"fileName": "label-demo.component.spec.ts",
|
|
7885
|
+
"filePath": "/projects/indicators/documentation/code-examples/label/basic/label-demo.component.spec.ts",
|
|
7886
|
+
"rawContents": "import { TestbedHarnessEnvironment } from '@angular/cdk/testing/testbed';\nimport { TestBed } from '@angular/core/testing';\nimport { SkyLabelHarness } from '@skyux/indicators/testing';\n\nimport { LabelDemoComponent } from './label-demo.component';\nimport { LabelDemoModule } from './label-demo.module';\n\ndescribe('Basic label', () => {\n async function setupTest(options?: {\n daysUntilDue?: number;\n submitted?: boolean;\n }) {\n const fixture = TestBed.createComponent(LabelDemoComponent);\n\n if (options?.daysUntilDue !== undefined) {\n fixture.componentInstance.daysUntilDue = options.daysUntilDue;\n }\n\n if (options?.submitted !== undefined) {\n fixture.componentInstance.submitted = options.submitted;\n }\n\n const loader = TestbedHarnessEnvironment.loader(fixture);\n\n const labelHarness = await loader.getHarness(\n SkyLabelHarness.with({ dataSkyId: 'label-demo' })\n );\n\n return { labelHarness, fixture };\n }\n\n beforeEach(() => {\n TestBed.configureTestingModule({\n imports: [LabelDemoModule],\n });\n });\n\n it('should show an info label when submitted is false and there is more than a week until due', async () => {\n const { labelHarness, fixture } = await setupTest({ daysUntilDue: 8 });\n fixture.detectChanges();\n\n await expectAsync(labelHarness.getLabelType()).toBeResolvedTo('info');\n await expectAsync(labelHarness.getDescriptionType()).toBeResolvedTo(\n 'attention'\n );\n await expectAsync(labelHarness.getLabelText()).toBeResolvedTo('Incomplete');\n });\n\n it('should show a warning label when submitted is false and there is less than a week until due', async () => {\n const { labelHarness, fixture } = await setupTest({ daysUntilDue: 6 });\n fixture.detectChanges();\n\n await expectAsync(labelHarness.getLabelType()).toBeResolvedTo('warning');\n await expectAsync(labelHarness.getDescriptionType()).toBeResolvedTo(\n 'important-warning'\n );\n await expectAsync(labelHarness.getLabelText()).toBeResolvedTo('Due soon');\n });\n\n it('should show a danger label when submitted is false and it is past due', async () => {\n const { labelHarness, fixture } = await setupTest({ daysUntilDue: -1 });\n fixture.detectChanges();\n\n await expectAsync(labelHarness.getLabelType()).toBeResolvedTo('danger');\n await expectAsync(labelHarness.getDescriptionType()).toBeResolvedTo(\n 'danger'\n );\n await expectAsync(labelHarness.getLabelText()).toBeResolvedTo('Overdue');\n });\n\n it('should show a success label when submitted is true', async () => {\n const { labelHarness, fixture } = await setupTest({ submitted: true });\n fixture.detectChanges();\n\n await expectAsync(labelHarness.getLabelType()).toBeResolvedTo('success');\n await expectAsync(labelHarness.getDescriptionType()).toBeResolvedTo(\n 'completed'\n );\n await expectAsync(labelHarness.getLabelText()).toBeResolvedTo('Submitted');\n });\n});\n"
|
|
7035
7887
|
},
|
|
7036
7888
|
{
|
|
7037
7889
|
"fileName": "label-demo.component.ts",
|
|
7038
7890
|
"filePath": "/projects/indicators/documentation/code-examples/label/basic/label-demo.component.ts",
|
|
7039
|
-
"rawContents": "import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-label-demo',\n templateUrl: './label-demo.component.html',\n})\nexport class LabelDemoComponent {}\n"
|
|
7891
|
+
"rawContents": "import { Component, Input } from '@angular/core';\nimport { SkyIndicatorDescriptionType, SkyLabelType } from '@skyux/indicators';\n\n@Component({\n selector: 'app-label-demo',\n templateUrl: './label-demo.component.html',\n})\nexport class LabelDemoComponent {\n @Input()\n public get daysUntilDue(): number {\n return this.#_daysUntilDue;\n }\n\n public set daysUntilDue(days: number) {\n this.#_daysUntilDue = days;\n this.updateLabelProperties(this.submitted, days);\n }\n\n @Input()\n public get submitted(): boolean {\n return this.#_submitted;\n }\n\n public set submitted(submitted: boolean) {\n this.#_submitted = submitted;\n this.updateLabelProperties(submitted, this.daysUntilDue);\n }\n\n public labelType: SkyLabelType = 'info';\n public descriptionType: SkyIndicatorDescriptionType = 'attention';\n public labelText = 'Incomplete';\n public todaysDate = new Date('9/14/22');\n #_daysUntilDue = 14;\n #_submitted = false;\n\n private updateLabelProperties(submitted: boolean, days: number) {\n if (submitted) {\n this.labelType = 'success';\n this.descriptionType = 'completed';\n this.labelText = 'Submitted';\n } else if (days <= 0) {\n this.labelType = 'danger';\n this.descriptionType = 'danger';\n this.labelText = 'Overdue';\n } else if (days <= 7) {\n this.labelType = 'warning';\n this.descriptionType = 'important-warning';\n this.labelText = 'Due soon';\n } else {\n this.labelType = 'info';\n this.descriptionType = 'attention';\n this.labelText = 'Incomplete';\n }\n }\n}\n"
|
|
7040
7892
|
},
|
|
7041
7893
|
{
|
|
7042
7894
|
"fileName": "label-demo.module.ts",
|