@nasa-terra/components 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/chunks/chunk.3TJ2JKU3.js → cdn/chunks/chunk.3IJDKBGJ.js} +1 -1
- package/cdn/chunks/{chunk.YOTNXUDL.js → chunk.3W4F6TQ2.js} +1 -1
- package/cdn/chunks/{chunk.5SINCXSM.js → chunk.4AB3LJPJ.js} +5 -5
- package/cdn/chunks/{chunk.5BNGCWLY.js → chunk.5NV6P6GX.js} +1 -1
- package/cdn/chunks/{chunk.SIGRYKYI.js → chunk.5VDHK5K4.js} +5 -5
- package/cdn/chunks/{chunk.BZAX3KPT.js → chunk.765C5WRO.js} +1 -1
- package/cdn/chunks/{chunk.4X3H4SXF.js → chunk.7PMR7OPB.js} +1 -1
- package/{dist/chunks/chunk.X4VUM377.js → cdn/chunks/chunk.7UW6DDQF.js} +1 -1
- package/cdn/chunks/{chunk.ETRGUHQA.js → chunk.AC5MB5SX.js} +1 -1
- package/{dist/chunks/chunk.ST5FT6V7.js → cdn/chunks/chunk.AMMVA664.js} +1 -1
- package/cdn/chunks/{chunk.2463X3BU.js → chunk.CBQITJPW.js} +1 -1
- package/cdn/chunks/{chunk.PB3BAC36.js → chunk.CCSPQ6IM.js} +2 -2
- package/{dist/chunks/chunk.RJAFAHJE.js → cdn/chunks/chunk.E7365JGL.js} +1 -1
- package/cdn/chunks/{chunk.BE55UMQU.js → chunk.FCJIZOLN.js} +1 -1
- package/cdn/chunks/{chunk.CRDWIXR6.js → chunk.HSQGU4NR.js} +1 -1
- package/cdn/chunks/{chunk.EH7QANZL.js → chunk.HZX5FZ7S.js} +1 -1
- package/{dist/chunks/chunk.GJ5PF473.js → cdn/chunks/chunk.IOAVHFTX.js} +1 -1
- package/{dist/chunks/chunk.C7CKLN54.js → cdn/chunks/chunk.K6SRYMW6.js} +1 -1
- package/{dist/chunks/chunk.CSSXWHIU.js → cdn/chunks/chunk.KNCEBCFL.js} +1 -1
- package/{dist/chunks/chunk.XIGYW3GW.js → cdn/chunks/chunk.L577HM7J.js} +1 -1
- package/cdn/chunks/{chunk.XTN2KUNR.js → chunk.LVWJBUI5.js} +1 -1
- package/cdn/chunks/{chunk.2B3T647S.js → chunk.M2O4PUUH.js} +7 -7
- package/{dist/chunks/chunk.6XPXG2HQ.js → cdn/chunks/chunk.MVSG72ZT.js} +1 -1
- package/cdn/chunks/{chunk.UEC2PU53.js → chunk.ODMCICTE.js} +1 -1
- package/cdn/chunks/{chunk.2AR3YFY6.js → chunk.OEXEZBPR.js} +5 -5
- package/cdn/chunks/{chunk.7O6PG7SC.js → chunk.OHLHIF2S.js} +1 -1
- package/{dist/chunks/chunk.ZWMQIAGV.js → cdn/chunks/chunk.OYIXDSOR.js} +1 -1
- package/{dist/chunks/chunk.ZCSTHC33.js → cdn/chunks/chunk.OZ7XA7RU.js} +1 -1
- package/cdn/chunks/{chunk.XF7RXUXV.js → chunk.PROUWLVJ.js} +1 -1
- package/cdn/chunks/{chunk.3WUZMCON.js → chunk.PS4NQOAX.js} +7 -7
- package/cdn/chunks/{chunk.W7ZPVNG5.js → chunk.Q4J4A5QN.js} +1 -1
- package/cdn/chunks/{chunk.5UDVR4WP.js → chunk.TSJ2SKIK.js} +1 -1
- package/cdn/chunks/{chunk.Z3LHAJIV.js → chunk.UTSV66LS.js} +5 -5
- package/{dist/chunks/chunk.Y2NINNMK.js → cdn/chunks/chunk.V56TFUPC.js} +1 -1
- package/{dist/chunks/chunk.QBDPXIJN.js → cdn/chunks/chunk.VAGPCL2W.js} +1 -1
- package/cdn/chunks/{chunk.HPHAKMYE.js → chunk.VV4LJOBN.js} +4 -4
- package/cdn/chunks/{chunk.TUT6F7WE.js → chunk.W56IQXUC.js} +15 -15
- package/cdn/chunks/{chunk.VMNE6YSR.js → chunk.XF5FTC6G.js} +1 -1
- package/{dist/chunks/chunk.VA2ZXIYQ.js → cdn/chunks/chunk.XYVCCSE4.js} +1 -1
- package/cdn/chunks/{chunk.P7Q72NIS.js → chunk.YPSUCRGF.js} +1 -1
- package/cdn/components/browse-variables/browse-variables.component.js +3 -3
- package/cdn/components/browse-variables/browse-variables.js +4 -4
- package/cdn/components/button/button.component.js +4 -4
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/chip/chip.component.js +3 -3
- package/cdn/components/chip/chip.js +4 -4
- package/cdn/components/combobox/combobox.component.js +4 -4
- package/cdn/components/combobox/combobox.js +5 -5
- package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
- package/cdn/components/date-range-slider/date-range-slider.js +3 -3
- package/cdn/components/giovanni-search/giovanni-search.component.js +11 -11
- package/cdn/components/giovanni-search/giovanni-search.js +12 -12
- package/cdn/components/icon/icon.component.js +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/map/map.component.js +4 -4
- package/cdn/components/map/map.js +5 -5
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/spatial-picker/spatial-picker.component.js +5 -5
- package/cdn/components/spatial-picker/spatial-picker.js +6 -6
- package/cdn/components/time-series/time-series.component.js +27 -27
- package/cdn/components/time-series/time-series.js +28 -28
- package/cdn/components/variable-combobox/variable-combobox.component.js +11 -11
- package/cdn/components/variable-combobox/variable-combobox.controller.js +1 -1
- package/cdn/components/variable-combobox/variable-combobox.js +12 -12
- package/cdn/custom-elements.json +1892 -1892
- package/cdn/react/browse-variables/index.js +4 -4
- package/cdn/react/button/index.js +5 -5
- package/cdn/react/chip/index.js +4 -4
- package/cdn/react/combobox/index.js +5 -5
- package/cdn/react/date-range-slider/index.js +3 -3
- package/cdn/react/giovanni-search/index.js +12 -12
- package/cdn/react/icon/index.js +4 -4
- package/cdn/react/index.d.ts +2 -2
- package/cdn/react/index.js +53 -53
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/map/index.js +5 -5
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/spatial-picker/index.js +6 -6
- package/cdn/react/time-series/index.js +28 -28
- package/cdn/react/variable-combobox/index.js +12 -12
- package/cdn/terra-ui-components.js +52 -52
- package/cdn/types/vue/index.d.ts +125 -125
- package/cdn/utilities/animation.js +2 -2
- package/cdn/vscode.html-custom-data.json +188 -188
- package/cdn/web-types.json +551 -551
- package/{cdn/chunks/chunk.KURQ25QR.js → dist/chunks/chunk.2AH2DRFK.js} +1 -1
- package/dist/chunks/{chunk.LYOSHT4H.js → chunk.3WWANPMA.js} +5 -5
- package/dist/chunks/{chunk.YOP35UJX.js → chunk.45IL4VM3.js} +1 -1
- package/{cdn/chunks/chunk.WSUKDH6C.js → dist/chunks/chunk.4QQE24PP.js} +1 -1
- package/dist/chunks/{chunk.6EMZGACJ.js → chunk.4VZN3W62.js} +1 -1
- package/{cdn/chunks/chunk.YSRQIHTV.js → dist/chunks/chunk.63K6ZAUR.js} +1 -1
- package/dist/chunks/{chunk.HMNI5WGJ.js → chunk.6HZV77W5.js} +2 -2
- package/{cdn/chunks/chunk.KOO6JUIP.js → dist/chunks/chunk.6IQY5DUY.js} +1 -1
- package/dist/chunks/{chunk.TBPEGRZ2.js → chunk.76XK3OGD.js} +3 -3
- package/{cdn/chunks/chunk.CST5GL5A.js → dist/chunks/chunk.7EIEDJ2L.js} +1 -1
- package/dist/chunks/{chunk.3UYUL4SF.js → chunk.A2E2GJZC.js} +1 -1
- package/dist/chunks/{chunk.7BDQ3OGI.js → chunk.A3YWS6R6.js} +1 -1
- package/dist/chunks/{chunk.WJ67GDOF.js → chunk.BMQ6OBQO.js} +1 -1
- package/dist/chunks/{chunk.HWAZFJOD.js → chunk.CETYO6UP.js} +1 -1
- package/dist/chunks/{chunk.BB72QYRU.js → chunk.CT5MMA3G.js} +1 -1
- package/{cdn/chunks/chunk.B35TWPB3.js → dist/chunks/chunk.D36ZJXGZ.js} +1 -1
- package/dist/chunks/{chunk.4QQMSQRA.js → chunk.DHBVKEBZ.js} +7 -7
- package/{cdn/chunks/chunk.W6FS5GIY.js → dist/chunks/chunk.DS3DCGZJ.js} +1 -1
- package/dist/chunks/{chunk.JW7QUN3C.js → chunk.EQN5HVOY.js} +4 -4
- package/dist/chunks/{chunk.247RXZFH.js → chunk.FNGOLJO3.js} +11 -11
- package/dist/chunks/{chunk.WR5RPQHG.js → chunk.G6IVJK35.js} +1 -1
- package/{cdn/chunks/chunk.A5ZHUUQE.js → dist/chunks/chunk.GUX23M43.js} +1 -1
- package/{cdn/chunks/chunk.R4AGAL4B.js → dist/chunks/chunk.IKXIOXNP.js} +1 -1
- package/dist/chunks/{chunk.JTUSKCXM.js → chunk.J5H3VO4T.js} +1 -1
- package/dist/chunks/{chunk.GZ7EVLUK.js → chunk.KU2GHEQC.js} +4 -4
- package/{cdn/chunks/chunk.7ADLGY5T.js → dist/chunks/chunk.MBUQ6RGQ.js} +1 -1
- package/dist/chunks/{chunk.CRKPWBJQ.js → chunk.NAR6P3PM.js} +1 -1
- package/dist/chunks/{chunk.WBSIQEC5.js → chunk.NBTXGDYY.js} +1 -1
- package/dist/chunks/{chunk.OI5D3LE4.js → chunk.NU7T7O37.js} +1 -1
- package/dist/chunks/{chunk.NLVXQ4XY.js → chunk.NYK5LTIB.js} +1 -1
- package/dist/chunks/{chunk.F7HR6Y7D.js → chunk.PBEAZMSE.js} +4 -4
- package/dist/chunks/{chunk.IO22JTMO.js → chunk.QFDWDOGH.js} +1 -1
- package/{cdn/chunks/chunk.EVWEXJVX.js → dist/chunks/chunk.R2NW6QOY.js} +1 -1
- package/{cdn/chunks/chunk.QPAB2A53.js → dist/chunks/chunk.UPYPNGJF.js} +1 -1
- package/dist/chunks/{chunk.KXP54RWR.js → chunk.VDU7JJBS.js} +1 -1
- package/dist/chunks/{chunk.ZMCKUA77.js → chunk.VUIXHR4Y.js} +1 -1
- package/dist/chunks/{chunk.I5WKMWQE.js → chunk.YIQPXMOR.js} +1 -1
- package/dist/chunks/{chunk.OEP3CFIS.js → chunk.YOWSDNNI.js} +1 -1
- package/{cdn/chunks/chunk.5IYEJYZC.js → dist/chunks/chunk.ZKAF7B56.js} +1 -1
- package/{cdn/chunks/chunk.WOIMKTUH.js → dist/chunks/chunk.ZLX3YIA5.js} +1 -1
- package/dist/components/browse-variables/browse-variables.component.js +2 -2
- package/dist/components/browse-variables/browse-variables.js +3 -3
- package/dist/components/button/button.component.js +3 -3
- package/dist/components/button/button.js +4 -4
- package/dist/components/chip/chip.component.js +2 -2
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/combobox/combobox.component.js +3 -3
- package/dist/components/combobox/combobox.js +4 -4
- package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
- package/dist/components/date-range-slider/date-range-slider.js +3 -3
- package/dist/components/giovanni-search/giovanni-search.component.js +9 -9
- package/dist/components/giovanni-search/giovanni-search.js +10 -10
- package/dist/components/icon/icon.component.js +3 -3
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/map/map.component.js +4 -4
- package/dist/components/map/map.js +5 -5
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.component.js +5 -5
- package/dist/components/spatial-picker/spatial-picker.js +6 -6
- package/dist/components/time-series/time-series.component.js +22 -22
- package/dist/components/time-series/time-series.js +23 -23
- package/dist/components/variable-combobox/variable-combobox.component.js +8 -8
- package/dist/components/variable-combobox/variable-combobox.js +9 -9
- package/dist/custom-elements.json +1892 -1892
- package/dist/react/browse-variables/index.js +3 -3
- package/dist/react/button/index.js +4 -4
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +4 -4
- package/dist/react/date-range-slider/index.js +3 -3
- package/dist/react/giovanni-search/index.js +10 -10
- package/dist/react/icon/index.js +4 -4
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +46 -46
- package/dist/react/loader/index.js +3 -3
- package/dist/react/map/index.js +5 -5
- package/dist/react/plot/index.js +3 -3
- package/dist/react/spatial-picker/index.js +6 -6
- package/dist/react/time-series/index.js +23 -23
- package/dist/react/variable-combobox/index.js +9 -9
- package/dist/terra-ui-components.js +44 -44
- package/dist/types/vue/index.d.ts +125 -125
- package/dist/vscode.html-custom-data.json +188 -188
- package/dist/web-types.json +551 -551
- package/package.json +1 -1
- package/cdn/chunks/{chunk.XR56EMXH.js → chunk.SBAGQQ5L.js} +5 -5
package/cdn/custom-elements.json
CHANGED
|
@@ -4,697 +4,450 @@
|
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "javascript-module",
|
|
7
|
-
"path": "components/
|
|
7
|
+
"path": "components/button/button.js",
|
|
8
8
|
"declarations": [
|
|
9
9
|
{
|
|
10
10
|
"kind": "class",
|
|
11
11
|
"description": "",
|
|
12
|
-
"name": "
|
|
12
|
+
"name": "TerraButton",
|
|
13
13
|
"cssParts": [
|
|
14
14
|
{
|
|
15
15
|
"description": "The component's base wrapper.",
|
|
16
16
|
"name": "base"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"members": [
|
|
20
|
-
{
|
|
21
|
-
"kind": "field",
|
|
22
|
-
"name": "searchQuery",
|
|
23
|
-
"type": {
|
|
24
|
-
"text": "string"
|
|
25
|
-
},
|
|
26
|
-
"description": "Filters the catalog categories and facets by the given searchQuery\nIf not provided, all categories and facets will be available to browse",
|
|
27
|
-
"attribute": "searchQuery"
|
|
28
17
|
},
|
|
29
18
|
{
|
|
30
|
-
"
|
|
31
|
-
"name": "
|
|
32
|
-
"type": {
|
|
33
|
-
"text": "'giovanni'"
|
|
34
|
-
},
|
|
35
|
-
"default": "'giovanni'",
|
|
36
|
-
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
37
|
-
"attribute": "catalog"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"kind": "field",
|
|
41
|
-
"name": "selectedFacetFields",
|
|
42
|
-
"type": {
|
|
43
|
-
"text": "SelectedFacetField[]"
|
|
44
|
-
},
|
|
45
|
-
"default": "[]"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"kind": "field",
|
|
49
|
-
"name": "#controller",
|
|
50
|
-
"privacy": "private",
|
|
51
|
-
"default": "new BrowseVariablesController(this)"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"kind": "field",
|
|
55
|
-
"name": "handleFacetSelect"
|
|
19
|
+
"description": "The container that wraps the prefix.",
|
|
20
|
+
"name": "prefix"
|
|
56
21
|
},
|
|
57
22
|
{
|
|
58
|
-
"
|
|
59
|
-
"name": "
|
|
23
|
+
"description": "The button's label.",
|
|
24
|
+
"name": "label"
|
|
60
25
|
},
|
|
61
26
|
{
|
|
62
|
-
"
|
|
63
|
-
"name": "
|
|
64
|
-
"parameters": [
|
|
65
|
-
{
|
|
66
|
-
"name": "title",
|
|
67
|
-
"type": {
|
|
68
|
-
"text": "string"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"name": "fields",
|
|
73
|
-
"optional": true,
|
|
74
|
-
"type": {
|
|
75
|
-
"text": "FacetField[]"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"name": "open",
|
|
80
|
-
"optional": true,
|
|
81
|
-
"type": {
|
|
82
|
-
"text": "boolean"
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
]
|
|
27
|
+
"description": "The container that wraps the suffix.",
|
|
28
|
+
"name": "suffix"
|
|
86
29
|
},
|
|
87
30
|
{
|
|
88
|
-
"
|
|
89
|
-
"name": "
|
|
90
|
-
}
|
|
91
|
-
],
|
|
92
|
-
"attributes": [
|
|
93
|
-
{
|
|
94
|
-
"name": "searchQuery",
|
|
95
|
-
"type": {
|
|
96
|
-
"text": "string"
|
|
97
|
-
},
|
|
98
|
-
"description": "Filters the catalog categories and facets by the given searchQuery\nIf not provided, all categories and facets will be available to browse",
|
|
99
|
-
"fieldName": "searchQuery"
|
|
31
|
+
"description": "The button's caret icon, an `<sl-icon>` element.",
|
|
32
|
+
"name": "caret"
|
|
100
33
|
},
|
|
101
34
|
{
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"text": "'giovanni'"
|
|
105
|
-
},
|
|
106
|
-
"default": "'giovanni'",
|
|
107
|
-
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
108
|
-
"fieldName": "catalog"
|
|
35
|
+
"description": "The spinner that shows when the button is in the loading state.",
|
|
36
|
+
"name": "spinner"
|
|
109
37
|
}
|
|
110
38
|
],
|
|
111
|
-
"superclass": {
|
|
112
|
-
"name": "TerraElement",
|
|
113
|
-
"module": "/src/internal/terra-element.js"
|
|
114
|
-
},
|
|
115
|
-
"summary": "Browse through the Giovanni catalog.",
|
|
116
|
-
"tagNameWithoutPrefix": "browse-variables",
|
|
117
|
-
"tagName": "terra-browse-variables",
|
|
118
|
-
"customElement": true,
|
|
119
|
-
"jsDoc": "/**\n * @summary Browse through the Giovanni catalog.\n * @documentation https://disc.gsfc.nasa.gov/components/browse-variables\n * @status MVP\n * @since 1.0\n *\n * @csspart base - The component's base wrapper.\n */",
|
|
120
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/browse-variables",
|
|
121
|
-
"status": "MVP",
|
|
122
|
-
"since": "1.0"
|
|
123
|
-
}
|
|
124
|
-
],
|
|
125
|
-
"exports": [
|
|
126
|
-
{
|
|
127
|
-
"kind": "js",
|
|
128
|
-
"name": "default",
|
|
129
|
-
"declaration": {
|
|
130
|
-
"name": "TerraBrowseVariables",
|
|
131
|
-
"module": "components/browse-variables/browse-variables.js"
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
]
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"kind": "javascript-module",
|
|
138
|
-
"path": "components/chip/chip.js",
|
|
139
|
-
"declarations": [
|
|
140
|
-
{
|
|
141
|
-
"kind": "class",
|
|
142
|
-
"description": "",
|
|
143
|
-
"name": "TerraChip",
|
|
144
39
|
"slots": [
|
|
145
40
|
{
|
|
146
|
-
"description": "The
|
|
41
|
+
"description": "The button's label.",
|
|
147
42
|
"name": ""
|
|
148
|
-
}
|
|
149
|
-
],
|
|
150
|
-
"members": [
|
|
151
|
-
{
|
|
152
|
-
"kind": "field",
|
|
153
|
-
"name": "size",
|
|
154
|
-
"type": {
|
|
155
|
-
"text": "'small' | 'medium' | 'large'"
|
|
156
|
-
},
|
|
157
|
-
"default": "'medium'",
|
|
158
|
-
"attribute": "size",
|
|
159
|
-
"reflects": true
|
|
160
43
|
},
|
|
161
44
|
{
|
|
162
|
-
"
|
|
163
|
-
"name": "
|
|
164
|
-
"privacy": "private"
|
|
165
|
-
}
|
|
166
|
-
],
|
|
167
|
-
"attributes": [
|
|
168
|
-
{
|
|
169
|
-
"name": "size",
|
|
170
|
-
"type": {
|
|
171
|
-
"text": "'small' | 'medium' | 'large'"
|
|
172
|
-
},
|
|
173
|
-
"default": "'medium'",
|
|
174
|
-
"fieldName": "size"
|
|
175
|
-
}
|
|
176
|
-
],
|
|
177
|
-
"superclass": {
|
|
178
|
-
"name": "TerraElement",
|
|
179
|
-
"module": "/src/internal/terra-element.js"
|
|
180
|
-
},
|
|
181
|
-
"summary": "Used for contacts and tags",
|
|
182
|
-
"tagNameWithoutPrefix": "chip",
|
|
183
|
-
"tagName": "terra-chip",
|
|
184
|
-
"customElement": true,
|
|
185
|
-
"jsDoc": "/**\n * @summary Used for contacts and tags\n * @documentation https://disc.gsfc.nasa.gov/components/chip\n * @status stable\n * @since 1.0\n *\n * @slot - The chip's label.\n */",
|
|
186
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/chip",
|
|
187
|
-
"status": "stable",
|
|
188
|
-
"since": "1.0"
|
|
189
|
-
}
|
|
190
|
-
],
|
|
191
|
-
"exports": [
|
|
192
|
-
{
|
|
193
|
-
"kind": "js",
|
|
194
|
-
"name": "default",
|
|
195
|
-
"declaration": {
|
|
196
|
-
"name": "TerraChip",
|
|
197
|
-
"module": "components/chip/chip.js"
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
]
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"kind": "javascript-module",
|
|
204
|
-
"path": "components/combobox/combobox.js",
|
|
205
|
-
"declarations": [
|
|
206
|
-
{
|
|
207
|
-
"kind": "class",
|
|
208
|
-
"description": "",
|
|
209
|
-
"name": "TerraCombobox",
|
|
210
|
-
"cssProperties": [
|
|
211
|
-
{
|
|
212
|
-
"description": "The height of the host element.",
|
|
213
|
-
"name": "--host-height"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"description": "The height of the search help element.",
|
|
217
|
-
"name": "--help-height"
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
"description": "The height of the input's label element.",
|
|
221
|
-
"name": "--label-height"
|
|
222
|
-
}
|
|
223
|
-
],
|
|
224
|
-
"cssParts": [
|
|
225
|
-
{
|
|
226
|
-
"description": "A `search` element, the component's base.",
|
|
227
|
-
"name": "base"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"description": "An `input` element used for searching.",
|
|
231
|
-
"name": "combobox"
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"description": "A `button` used for toggling the listbox's visibility.",
|
|
235
|
-
"name": "button"
|
|
45
|
+
"description": "A presentational prefix icon or similar element.",
|
|
46
|
+
"name": "prefix"
|
|
236
47
|
},
|
|
237
48
|
{
|
|
238
|
-
"description": "A
|
|
239
|
-
"name": "
|
|
49
|
+
"description": "A presentational suffix icon or similar element.",
|
|
50
|
+
"name": "suffix"
|
|
240
51
|
}
|
|
241
52
|
],
|
|
242
53
|
"members": [
|
|
243
54
|
{
|
|
244
55
|
"kind": "field",
|
|
245
|
-
"name": "
|
|
246
|
-
"type": {
|
|
247
|
-
"text": "object"
|
|
248
|
-
},
|
|
249
|
-
"static": true,
|
|
250
|
-
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"kind": "field",
|
|
254
|
-
"name": "tagName",
|
|
255
|
-
"type": {
|
|
256
|
-
"text": "string"
|
|
257
|
-
},
|
|
258
|
-
"static": true,
|
|
259
|
-
"default": "'terra-combobox'"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"kind": "field",
|
|
263
|
-
"name": "initialQuery",
|
|
264
|
-
"type": {
|
|
265
|
-
"text": "string"
|
|
266
|
-
},
|
|
267
|
-
"static": true,
|
|
268
|
-
"default": "''"
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
"kind": "field",
|
|
272
|
-
"name": "#combobox",
|
|
56
|
+
"name": "formControlController",
|
|
273
57
|
"privacy": "private",
|
|
274
|
-
"
|
|
275
|
-
|
|
276
|
-
},
|
|
277
|
-
"default": "null"
|
|
58
|
+
"readonly": true,
|
|
59
|
+
"default": "new FormControlController(this, {\n assumeInteractionOn: ['click'],\n })"
|
|
278
60
|
},
|
|
279
61
|
{
|
|
280
62
|
"kind": "field",
|
|
281
|
-
"name": "
|
|
63
|
+
"name": "hasSlotController",
|
|
282
64
|
"privacy": "private",
|
|
283
|
-
"
|
|
284
|
-
|
|
285
|
-
},
|
|
286
|
-
"default": "null"
|
|
65
|
+
"readonly": true,
|
|
66
|
+
"default": "new HasSlotController(\n this,\n '[default]',\n 'prefix',\n 'suffix'\n )"
|
|
287
67
|
},
|
|
288
68
|
{
|
|
289
69
|
"kind": "field",
|
|
290
|
-
"name": "
|
|
291
|
-
"privacy": "private",
|
|
70
|
+
"name": "button",
|
|
292
71
|
"type": {
|
|
293
|
-
"text": "
|
|
294
|
-
}
|
|
295
|
-
"default": "null"
|
|
72
|
+
"text": "HTMLButtonElement | HTMLLinkElement"
|
|
73
|
+
}
|
|
296
74
|
},
|
|
297
75
|
{
|
|
298
76
|
"kind": "field",
|
|
299
|
-
"name": "
|
|
300
|
-
"privacy": "private",
|
|
77
|
+
"name": "hasFocus",
|
|
301
78
|
"type": {
|
|
302
|
-
"text": "
|
|
79
|
+
"text": "boolean"
|
|
303
80
|
},
|
|
304
|
-
"
|
|
81
|
+
"privacy": "private",
|
|
82
|
+
"default": "false"
|
|
305
83
|
},
|
|
306
84
|
{
|
|
307
85
|
"kind": "field",
|
|
308
|
-
"name": "
|
|
86
|
+
"name": "invalid",
|
|
309
87
|
"type": {
|
|
310
|
-
"text": "
|
|
88
|
+
"text": "boolean"
|
|
311
89
|
},
|
|
312
|
-
"default": "
|
|
313
|
-
"description": "Label the combobox with this.",
|
|
314
|
-
"attribute": "label"
|
|
90
|
+
"default": "false"
|
|
315
91
|
},
|
|
316
92
|
{
|
|
317
93
|
"kind": "field",
|
|
318
|
-
"name": "
|
|
94
|
+
"name": "title",
|
|
319
95
|
"type": {
|
|
320
96
|
"text": "string"
|
|
321
97
|
},
|
|
322
|
-
"default": "'
|
|
323
|
-
"
|
|
324
|
-
"attribute": "name"
|
|
98
|
+
"default": "''",
|
|
99
|
+
"attribute": "title"
|
|
325
100
|
},
|
|
326
101
|
{
|
|
327
102
|
"kind": "field",
|
|
328
|
-
"name": "
|
|
103
|
+
"name": "variant",
|
|
329
104
|
"type": {
|
|
330
|
-
"text": "
|
|
105
|
+
"text": "| 'default'\n | 'primary'\n | 'success'\n | 'warning'\n | 'danger'\n | 'text'\n | 'pagelink'"
|
|
331
106
|
},
|
|
332
|
-
"
|
|
333
|
-
"
|
|
107
|
+
"default": "'primary'",
|
|
108
|
+
"description": "The button's theme variant.",
|
|
109
|
+
"attribute": "variant",
|
|
110
|
+
"reflects": true
|
|
334
111
|
},
|
|
335
112
|
{
|
|
336
113
|
"kind": "field",
|
|
337
|
-
"name": "
|
|
114
|
+
"name": "size",
|
|
338
115
|
"type": {
|
|
339
|
-
"text": "
|
|
116
|
+
"text": "'small' | 'medium' | 'large'"
|
|
340
117
|
},
|
|
341
|
-
"default": "
|
|
342
|
-
"description": "
|
|
343
|
-
"attribute": "
|
|
118
|
+
"default": "'medium'",
|
|
119
|
+
"description": "The button's size.",
|
|
120
|
+
"attribute": "size",
|
|
121
|
+
"reflects": true
|
|
344
122
|
},
|
|
345
123
|
{
|
|
346
124
|
"kind": "field",
|
|
347
|
-
"name": "
|
|
125
|
+
"name": "caret",
|
|
348
126
|
"type": {
|
|
349
127
|
"text": "boolean"
|
|
350
128
|
},
|
|
351
129
|
"default": "false",
|
|
352
|
-
"description": "
|
|
353
|
-
"attribute": "
|
|
354
|
-
|
|
355
|
-
{
|
|
356
|
-
"kind": "field",
|
|
357
|
-
"name": "status",
|
|
358
|
-
"type": {
|
|
359
|
-
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
360
|
-
},
|
|
361
|
-
"default": "'INITIAL'",
|
|
362
|
-
"description": "status of the content",
|
|
363
|
-
"attribute": "status"
|
|
130
|
+
"description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
|
|
131
|
+
"attribute": "caret",
|
|
132
|
+
"reflects": true
|
|
364
133
|
},
|
|
365
134
|
{
|
|
366
135
|
"kind": "field",
|
|
367
|
-
"name": "
|
|
136
|
+
"name": "shape",
|
|
368
137
|
"type": {
|
|
369
|
-
"text": "
|
|
138
|
+
"text": "'square' | 'square-left' | 'square-right'"
|
|
370
139
|
},
|
|
371
|
-
"
|
|
372
|
-
"
|
|
373
|
-
"
|
|
140
|
+
"description": "The button's shape. Used to control the radius edge shape when button is not in a terra-button-group.",
|
|
141
|
+
"attribute": "shape",
|
|
142
|
+
"reflects": true
|
|
374
143
|
},
|
|
375
144
|
{
|
|
376
145
|
"kind": "field",
|
|
377
|
-
"name": "
|
|
146
|
+
"name": "disabled",
|
|
378
147
|
"type": {
|
|
379
148
|
"text": "boolean"
|
|
380
|
-
},
|
|
381
|
-
"default": "false"
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
"
|
|
385
|
-
"name": "query"
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
"kind": "field",
|
|
389
|
-
"name": "searchResults",
|
|
390
|
-
"type": {
|
|
391
|
-
"text": "GroupedListItem[] | ListItem[]"
|
|
392
|
-
},
|
|
393
|
-
"default": "[]"
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
"kind": "method",
|
|
397
|
-
"name": "contentChanged",
|
|
398
|
-
"parameters": [
|
|
399
|
-
{
|
|
400
|
-
"name": "_oldValue",
|
|
401
|
-
"type": {
|
|
402
|
-
"text": "any"
|
|
403
|
-
}
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
"name": "newValue",
|
|
407
|
-
"type": {
|
|
408
|
-
"text": "any"
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
]
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
"kind": "field",
|
|
415
|
-
"name": "#renderListItem",
|
|
416
|
-
"privacy": "private"
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
"kind": "field",
|
|
420
|
-
"name": "#renderGroupListItem",
|
|
421
|
-
"privacy": "private"
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
"kind": "field",
|
|
425
|
-
"name": "#renderError",
|
|
426
|
-
"privacy": "private"
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
"kind": "field",
|
|
430
|
-
"name": "#renderLoading",
|
|
431
|
-
"privacy": "private"
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
"kind": "field",
|
|
435
|
-
"name": "#dispatchChange",
|
|
436
|
-
"privacy": "private"
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
"kind": "field",
|
|
440
|
-
"name": "#handleButtonClick",
|
|
441
|
-
"privacy": "private"
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
"kind": "field",
|
|
445
|
-
"name": "#handleComboboxChange",
|
|
446
|
-
"privacy": "private"
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
"kind": "field",
|
|
450
|
-
"name": "#handleOptionClick",
|
|
451
|
-
"privacy": "private"
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
"kind": "field",
|
|
455
|
-
"name": "#handleKeydown",
|
|
456
|
-
"privacy": "private"
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
"kind": "field",
|
|
460
|
-
"name": "#manageListboxVisibility",
|
|
461
|
-
"privacy": "private"
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
"kind": "field",
|
|
465
|
-
"name": "#selectOption",
|
|
466
|
-
"privacy": "private"
|
|
467
|
-
}
|
|
468
|
-
],
|
|
469
|
-
"attributes": [
|
|
470
|
-
{
|
|
471
|
-
"name": "label",
|
|
472
|
-
"type": {
|
|
473
|
-
"text": "string"
|
|
474
|
-
},
|
|
475
|
-
"default": "'Search for Items'",
|
|
476
|
-
"description": "Label the combobox with this.",
|
|
477
|
-
"fieldName": "label"
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
"name": "name",
|
|
481
|
-
"type": {
|
|
482
|
-
"text": "string"
|
|
483
|
-
},
|
|
484
|
-
"default": "'Item'",
|
|
485
|
-
"description": "name the combobox with this.",
|
|
486
|
-
"fieldName": "name"
|
|
149
|
+
},
|
|
150
|
+
"default": "false",
|
|
151
|
+
"description": "Disables the button.",
|
|
152
|
+
"attribute": "disabled",
|
|
153
|
+
"reflects": true
|
|
487
154
|
},
|
|
488
155
|
{
|
|
489
|
-
"
|
|
156
|
+
"kind": "field",
|
|
157
|
+
"name": "loading",
|
|
490
158
|
"type": {
|
|
491
|
-
"text": "
|
|
159
|
+
"text": "boolean"
|
|
492
160
|
},
|
|
493
|
-
"
|
|
494
|
-
"
|
|
161
|
+
"default": "false",
|
|
162
|
+
"description": "Draws the button in a loading state.",
|
|
163
|
+
"attribute": "loading",
|
|
164
|
+
"reflects": true
|
|
495
165
|
},
|
|
496
166
|
{
|
|
497
|
-
"
|
|
167
|
+
"kind": "field",
|
|
168
|
+
"name": "outline",
|
|
498
169
|
"type": {
|
|
499
170
|
"text": "boolean"
|
|
500
171
|
},
|
|
501
172
|
"default": "false",
|
|
502
|
-
"description": "
|
|
503
|
-
"
|
|
173
|
+
"description": "Draws an outlined button.",
|
|
174
|
+
"attribute": "outline",
|
|
175
|
+
"reflects": true
|
|
504
176
|
},
|
|
505
177
|
{
|
|
506
|
-
"
|
|
178
|
+
"kind": "field",
|
|
179
|
+
"name": "circle",
|
|
507
180
|
"type": {
|
|
508
181
|
"text": "boolean"
|
|
509
182
|
},
|
|
510
183
|
"default": "false",
|
|
511
|
-
"description": "
|
|
512
|
-
"
|
|
184
|
+
"description": "Draws a circular icon button. When this attribute is present, the button expects a single `<terra-icon>` in the\ndefault slot.",
|
|
185
|
+
"attribute": "circle",
|
|
186
|
+
"reflects": true
|
|
513
187
|
},
|
|
514
188
|
{
|
|
515
|
-
"
|
|
189
|
+
"kind": "field",
|
|
190
|
+
"name": "type",
|
|
516
191
|
"type": {
|
|
517
|
-
"text": "'
|
|
192
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
518
193
|
},
|
|
519
|
-
"default": "'
|
|
520
|
-
"description": "
|
|
521
|
-
"
|
|
194
|
+
"default": "'button'",
|
|
195
|
+
"description": "The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native\n`<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.",
|
|
196
|
+
"attribute": "type"
|
|
522
197
|
},
|
|
523
198
|
{
|
|
524
|
-
"
|
|
199
|
+
"kind": "field",
|
|
200
|
+
"name": "name",
|
|
525
201
|
"type": {
|
|
526
|
-
"text": "
|
|
202
|
+
"text": "string"
|
|
527
203
|
},
|
|
528
|
-
"default": "
|
|
529
|
-
"description": "
|
|
530
|
-
"
|
|
531
|
-
}
|
|
532
|
-
],
|
|
533
|
-
"superclass": {
|
|
534
|
-
"name": "TerraElement",
|
|
535
|
-
"module": "/src/internal/terra-element.js"
|
|
536
|
-
},
|
|
537
|
-
"summary": "Fuzzy-search for combobox with list autocomplete.",
|
|
538
|
-
"tagNameWithoutPrefix": "combobox",
|
|
539
|
-
"tagName": "terra-combobox",
|
|
540
|
-
"customElement": true,
|
|
541
|
-
"jsDoc": "/**\n * @summary Fuzzy-search for combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/combobox\n * @status experimental\n * @since 1.0\n *\n * @csspart base - A `search` element, the component's base.\n * @csspart combobox - An `input` element used for searching.\n * @csspart button - A `button` used for toggling the listbox's visibility.\n * @csspart listbox - A `ul` that holds the clickable options.\n *\n * @cssproperty --host-height - The height of the host element.\n * @cssproperty --help-height - The height of the search help element.\n * @cssproperty --label-height - The height of the input's label element.\n */",
|
|
542
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/combobox",
|
|
543
|
-
"status": "experimental",
|
|
544
|
-
"since": "1.0"
|
|
545
|
-
}
|
|
546
|
-
],
|
|
547
|
-
"exports": [
|
|
548
|
-
{
|
|
549
|
-
"kind": "js",
|
|
550
|
-
"name": "default",
|
|
551
|
-
"declaration": {
|
|
552
|
-
"name": "TerraCombobox",
|
|
553
|
-
"module": "components/combobox/combobox.js"
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
]
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
"kind": "javascript-module",
|
|
560
|
-
"path": "components/date-range-slider/date-range-slider.js",
|
|
561
|
-
"declarations": [
|
|
562
|
-
{
|
|
563
|
-
"kind": "class",
|
|
564
|
-
"description": "",
|
|
565
|
-
"name": "TerraDateRangeSlider",
|
|
566
|
-
"cssProperties": [
|
|
567
|
-
{
|
|
568
|
-
"description": "An example CSS custom property.",
|
|
569
|
-
"name": "--example"
|
|
570
|
-
}
|
|
571
|
-
],
|
|
572
|
-
"cssParts": [
|
|
204
|
+
"default": "''",
|
|
205
|
+
"description": "The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.\nThis attribute is ignored when `href` is present.",
|
|
206
|
+
"attribute": "name"
|
|
207
|
+
},
|
|
573
208
|
{
|
|
574
|
-
"
|
|
575
|
-
"name": "
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
209
|
+
"kind": "field",
|
|
210
|
+
"name": "value",
|
|
211
|
+
"type": {
|
|
212
|
+
"text": "string"
|
|
213
|
+
},
|
|
214
|
+
"default": "''",
|
|
215
|
+
"description": "The value of the button, submitted as a pair with the button's name as part of the form data, but only when this\nbutton is the submitter. This attribute is ignored when `href` is present.",
|
|
216
|
+
"attribute": "value"
|
|
217
|
+
},
|
|
579
218
|
{
|
|
580
|
-
"
|
|
581
|
-
"name": ""
|
|
219
|
+
"kind": "field",
|
|
220
|
+
"name": "href",
|
|
221
|
+
"type": {
|
|
222
|
+
"text": "string"
|
|
223
|
+
},
|
|
224
|
+
"default": "''",
|
|
225
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
226
|
+
"attribute": "href"
|
|
582
227
|
},
|
|
583
228
|
{
|
|
584
|
-
"
|
|
585
|
-
"name": "
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
229
|
+
"kind": "field",
|
|
230
|
+
"name": "target",
|
|
231
|
+
"type": {
|
|
232
|
+
"text": "'_blank' | '_parent' | '_self' | '_top'"
|
|
233
|
+
},
|
|
234
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
235
|
+
"attribute": "target"
|
|
236
|
+
},
|
|
589
237
|
{
|
|
590
238
|
"kind": "field",
|
|
591
|
-
"name": "
|
|
239
|
+
"name": "rel",
|
|
592
240
|
"type": {
|
|
593
|
-
"text": "
|
|
594
|
-
}
|
|
241
|
+
"text": "string"
|
|
242
|
+
},
|
|
243
|
+
"default": "'noreferrer noopener'",
|
|
244
|
+
"description": "When using `href`, this attribute will map to the underlying link's `rel` attribute. Unlike regular links, the\ndefault is `noreferrer noopener` to prevent security exploits. However, if you're using `target` to point to a\nspecific tab/window, this will prevent that from working correctly. You can remove or change the default value by\nsetting the attribute to an empty string or a value of your choice, respectively.",
|
|
245
|
+
"attribute": "rel"
|
|
595
246
|
},
|
|
596
247
|
{
|
|
597
248
|
"kind": "field",
|
|
598
|
-
"name": "
|
|
249
|
+
"name": "download",
|
|
599
250
|
"type": {
|
|
600
|
-
"text": "
|
|
251
|
+
"text": "string | undefined"
|
|
601
252
|
},
|
|
602
|
-
"
|
|
603
|
-
"attribute": "
|
|
253
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
254
|
+
"attribute": "download"
|
|
604
255
|
},
|
|
605
256
|
{
|
|
606
257
|
"kind": "field",
|
|
607
|
-
"name": "
|
|
258
|
+
"name": "form",
|
|
608
259
|
"type": {
|
|
609
260
|
"text": "string"
|
|
610
261
|
},
|
|
611
|
-
"
|
|
262
|
+
"description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
|
|
263
|
+
"attribute": "form"
|
|
612
264
|
},
|
|
613
265
|
{
|
|
614
266
|
"kind": "field",
|
|
615
|
-
"name": "
|
|
267
|
+
"name": "formAction",
|
|
616
268
|
"type": {
|
|
617
269
|
"text": "string"
|
|
618
270
|
},
|
|
619
|
-
"
|
|
271
|
+
"description": "Used to override the form owner's `action` attribute.",
|
|
272
|
+
"attribute": "formaction"
|
|
620
273
|
},
|
|
621
274
|
{
|
|
622
275
|
"kind": "field",
|
|
623
|
-
"name": "
|
|
276
|
+
"name": "formEnctype",
|
|
624
277
|
"type": {
|
|
625
|
-
"text": "
|
|
278
|
+
"text": "| 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'"
|
|
626
279
|
},
|
|
627
|
-
"description": "
|
|
628
|
-
"attribute": "
|
|
280
|
+
"description": "Used to override the form owner's `enctype` attribute.",
|
|
281
|
+
"attribute": "formenctype"
|
|
629
282
|
},
|
|
630
283
|
{
|
|
631
284
|
"kind": "field",
|
|
632
|
-
"name": "
|
|
285
|
+
"name": "formMethod",
|
|
633
286
|
"type": {
|
|
634
|
-
"text": "
|
|
287
|
+
"text": "'post' | 'get'"
|
|
635
288
|
},
|
|
636
|
-
"
|
|
289
|
+
"description": "Used to override the form owner's `method` attribute.",
|
|
290
|
+
"attribute": "formmethod"
|
|
637
291
|
},
|
|
638
292
|
{
|
|
639
293
|
"kind": "field",
|
|
640
|
-
"name": "
|
|
294
|
+
"name": "formNoValidate",
|
|
641
295
|
"type": {
|
|
642
296
|
"text": "boolean"
|
|
643
297
|
},
|
|
644
|
-
"
|
|
645
|
-
"attribute": "
|
|
646
|
-
"reflects": true
|
|
298
|
+
"description": "Used to override the form owner's `novalidate` attribute.",
|
|
299
|
+
"attribute": "formnovalidate"
|
|
647
300
|
},
|
|
648
301
|
{
|
|
649
302
|
"kind": "field",
|
|
650
|
-
"name": "
|
|
303
|
+
"name": "formTarget",
|
|
651
304
|
"type": {
|
|
652
|
-
"text": "
|
|
305
|
+
"text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
|
|
653
306
|
},
|
|
654
|
-
"
|
|
655
|
-
"attribute": "
|
|
656
|
-
|
|
307
|
+
"description": "Used to override the form owner's `target` attribute.",
|
|
308
|
+
"attribute": "formtarget"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"kind": "field",
|
|
312
|
+
"name": "validity",
|
|
313
|
+
"description": "Gets the validity state object",
|
|
314
|
+
"readonly": true
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"kind": "field",
|
|
318
|
+
"name": "validationMessage",
|
|
319
|
+
"description": "Gets the validation message",
|
|
320
|
+
"readonly": true
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"kind": "method",
|
|
324
|
+
"name": "handleBlur",
|
|
325
|
+
"privacy": "private"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"kind": "method",
|
|
329
|
+
"name": "handleFocus",
|
|
330
|
+
"privacy": "private"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"kind": "method",
|
|
334
|
+
"name": "handleClick",
|
|
335
|
+
"privacy": "private"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"kind": "method",
|
|
339
|
+
"name": "handleInvalid",
|
|
340
|
+
"privacy": "private",
|
|
341
|
+
"parameters": [
|
|
342
|
+
{
|
|
343
|
+
"name": "event",
|
|
344
|
+
"type": {
|
|
345
|
+
"text": "Event"
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
]
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"kind": "method",
|
|
352
|
+
"name": "isButton",
|
|
353
|
+
"privacy": "private"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"kind": "method",
|
|
357
|
+
"name": "isLink",
|
|
358
|
+
"privacy": "private"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"kind": "method",
|
|
362
|
+
"name": "handleDisabledChange"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"kind": "method",
|
|
366
|
+
"name": "click",
|
|
367
|
+
"description": "Simulates a click on the button."
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"kind": "method",
|
|
371
|
+
"name": "focus",
|
|
372
|
+
"parameters": [
|
|
373
|
+
{
|
|
374
|
+
"name": "options",
|
|
375
|
+
"optional": true,
|
|
376
|
+
"type": {
|
|
377
|
+
"text": "FocusOptions"
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
],
|
|
381
|
+
"description": "Sets focus on the button."
|
|
657
382
|
},
|
|
658
383
|
{
|
|
659
384
|
"kind": "method",
|
|
660
|
-
"name": "
|
|
385
|
+
"name": "blur",
|
|
386
|
+
"description": "Removes focus from the button."
|
|
661
387
|
},
|
|
662
388
|
{
|
|
663
389
|
"kind": "method",
|
|
664
|
-
"name": "
|
|
390
|
+
"name": "checkValidity",
|
|
391
|
+
"description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
665
392
|
},
|
|
666
393
|
{
|
|
667
394
|
"kind": "method",
|
|
668
|
-
"name": "
|
|
395
|
+
"name": "getForm",
|
|
396
|
+
"return": {
|
|
397
|
+
"type": {
|
|
398
|
+
"text": "HTMLFormElement | null"
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"description": "Gets the associated form, if one exists."
|
|
669
402
|
},
|
|
670
403
|
{
|
|
671
404
|
"kind": "method",
|
|
672
|
-
"name": "
|
|
405
|
+
"name": "reportValidity",
|
|
406
|
+
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
673
407
|
},
|
|
674
408
|
{
|
|
675
409
|
"kind": "method",
|
|
676
|
-
"name": "
|
|
677
|
-
"
|
|
410
|
+
"name": "setCustomValidity",
|
|
411
|
+
"parameters": [
|
|
412
|
+
{
|
|
413
|
+
"name": "message",
|
|
414
|
+
"type": {
|
|
415
|
+
"text": "string"
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
678
420
|
},
|
|
679
421
|
{
|
|
680
422
|
"kind": "method",
|
|
681
|
-
"name": "
|
|
682
|
-
"privacy": "private",
|
|
423
|
+
"name": "setPageLinkIcon",
|
|
683
424
|
"return": {
|
|
684
425
|
"type": {
|
|
685
|
-
"text": "
|
|
426
|
+
"text": "string"
|
|
686
427
|
}
|
|
687
|
-
}
|
|
428
|
+
},
|
|
429
|
+
"parameters": [
|
|
430
|
+
{
|
|
431
|
+
"name": "href",
|
|
432
|
+
"type": {
|
|
433
|
+
"text": "string"
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
]
|
|
688
437
|
},
|
|
689
438
|
{
|
|
690
439
|
"kind": "method",
|
|
691
|
-
"name": "
|
|
692
|
-
"
|
|
440
|
+
"name": "setFontSize",
|
|
441
|
+
"return": {
|
|
442
|
+
"type": {
|
|
443
|
+
"text": "string"
|
|
444
|
+
}
|
|
445
|
+
},
|
|
693
446
|
"parameters": [
|
|
694
447
|
{
|
|
695
|
-
"name": "
|
|
448
|
+
"name": "size",
|
|
696
449
|
"type": {
|
|
697
|
-
"text": "string
|
|
450
|
+
"text": "string"
|
|
698
451
|
}
|
|
699
452
|
}
|
|
700
453
|
]
|
|
@@ -702,41 +455,47 @@
|
|
|
702
455
|
],
|
|
703
456
|
"attributes": [
|
|
704
457
|
{
|
|
705
|
-
"name": "
|
|
458
|
+
"name": "title",
|
|
706
459
|
"type": {
|
|
707
|
-
"text": "
|
|
460
|
+
"text": "string"
|
|
708
461
|
},
|
|
709
|
-
"default": "'
|
|
710
|
-
"fieldName": "
|
|
462
|
+
"default": "''",
|
|
463
|
+
"fieldName": "title"
|
|
711
464
|
},
|
|
712
465
|
{
|
|
713
|
-
"name": "
|
|
466
|
+
"name": "variant",
|
|
714
467
|
"type": {
|
|
715
|
-
"text": "
|
|
468
|
+
"text": "| 'default'\n | 'primary'\n | 'success'\n | 'warning'\n | 'danger'\n | 'text'\n | 'pagelink'"
|
|
716
469
|
},
|
|
717
|
-
"
|
|
470
|
+
"default": "'primary'",
|
|
471
|
+
"description": "The button's theme variant.",
|
|
472
|
+
"fieldName": "variant"
|
|
718
473
|
},
|
|
719
474
|
{
|
|
720
|
-
"name": "
|
|
475
|
+
"name": "size",
|
|
721
476
|
"type": {
|
|
722
|
-
"text": "
|
|
477
|
+
"text": "'small' | 'medium' | 'large'"
|
|
723
478
|
},
|
|
724
|
-
"
|
|
479
|
+
"default": "'medium'",
|
|
480
|
+
"description": "The button's size.",
|
|
481
|
+
"fieldName": "size"
|
|
725
482
|
},
|
|
726
483
|
{
|
|
727
|
-
"name": "
|
|
484
|
+
"name": "caret",
|
|
728
485
|
"type": {
|
|
729
|
-
"text": "
|
|
486
|
+
"text": "boolean"
|
|
730
487
|
},
|
|
731
|
-
"
|
|
732
|
-
"
|
|
488
|
+
"default": "false",
|
|
489
|
+
"description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
|
|
490
|
+
"fieldName": "caret"
|
|
733
491
|
},
|
|
734
492
|
{
|
|
735
|
-
"name": "
|
|
493
|
+
"name": "shape",
|
|
736
494
|
"type": {
|
|
737
|
-
"text": "
|
|
495
|
+
"text": "'square' | 'square-left' | 'square-right'"
|
|
738
496
|
},
|
|
739
|
-
"
|
|
497
|
+
"description": "The button's shape. Used to control the radius edge shape when button is not in a terra-button-group.",
|
|
498
|
+
"fieldName": "shape"
|
|
740
499
|
},
|
|
741
500
|
{
|
|
742
501
|
"name": "disabled",
|
|
@@ -744,365 +503,287 @@
|
|
|
744
503
|
"text": "boolean"
|
|
745
504
|
},
|
|
746
505
|
"default": "false",
|
|
506
|
+
"description": "Disables the button.",
|
|
747
507
|
"fieldName": "disabled"
|
|
748
508
|
},
|
|
749
509
|
{
|
|
750
|
-
"name": "
|
|
510
|
+
"name": "loading",
|
|
751
511
|
"type": {
|
|
752
512
|
"text": "boolean"
|
|
753
513
|
},
|
|
754
|
-
"default": "
|
|
755
|
-
"
|
|
756
|
-
|
|
757
|
-
],
|
|
758
|
-
"superclass": {
|
|
759
|
-
"name": "TerraElement",
|
|
760
|
-
"module": "/src/internal/terra-element.js"
|
|
761
|
-
},
|
|
762
|
-
"summary": "Short summary of the component's intended use.",
|
|
763
|
-
"tagNameWithoutPrefix": "date-range-slider",
|
|
764
|
-
"tagName": "terra-date-range-slider",
|
|
765
|
-
"customElement": true,
|
|
766
|
-
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://disc.gsfc.nasa.gov/components/date-range-slider\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
767
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/date-range-slider",
|
|
768
|
-
"status": "experimental",
|
|
769
|
-
"since": "1.0"
|
|
770
|
-
}
|
|
771
|
-
],
|
|
772
|
-
"exports": [
|
|
773
|
-
{
|
|
774
|
-
"kind": "js",
|
|
775
|
-
"name": "default",
|
|
776
|
-
"declaration": {
|
|
777
|
-
"name": "TerraDateRangeSlider",
|
|
778
|
-
"module": "components/date-range-slider/date-range-slider.js"
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
]
|
|
782
|
-
},
|
|
783
|
-
{
|
|
784
|
-
"kind": "javascript-module",
|
|
785
|
-
"path": "components/giovanni-search/giovanni-search.js",
|
|
786
|
-
"declarations": [
|
|
787
|
-
{
|
|
788
|
-
"kind": "class",
|
|
789
|
-
"description": "",
|
|
790
|
-
"name": "TerraGiovanniSearch",
|
|
791
|
-
"cssProperties": [
|
|
792
|
-
{
|
|
793
|
-
"description": "The height of the host element.",
|
|
794
|
-
"name": "--host-height"
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
"description": "The height of the input's label element.",
|
|
798
|
-
"name": "--label-height"
|
|
799
|
-
}
|
|
800
|
-
],
|
|
801
|
-
"cssParts": [
|
|
802
|
-
{
|
|
803
|
-
"description": "A `search` element, the component's base.",
|
|
804
|
-
"name": "base"
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
"description": "An `input` element used for searching.",
|
|
808
|
-
"name": "combobox"
|
|
809
|
-
},
|
|
810
|
-
{
|
|
811
|
-
"description": "A `button` used for toggling the listbox's visibility.",
|
|
812
|
-
"name": "button"
|
|
813
|
-
},
|
|
814
|
-
{
|
|
815
|
-
"description": "A `ul` that holds the clickable options.",
|
|
816
|
-
"name": "listbox"
|
|
817
|
-
}
|
|
818
|
-
],
|
|
819
|
-
"members": [
|
|
820
|
-
{
|
|
821
|
-
"kind": "field",
|
|
822
|
-
"name": "dependencies",
|
|
823
|
-
"type": {
|
|
824
|
-
"text": "object"
|
|
825
|
-
},
|
|
826
|
-
"static": true,
|
|
827
|
-
"default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n }"
|
|
828
|
-
},
|
|
829
|
-
{
|
|
830
|
-
"kind": "field",
|
|
831
|
-
"name": "shadowRootOptions",
|
|
832
|
-
"type": {
|
|
833
|
-
"text": "object"
|
|
834
|
-
},
|
|
835
|
-
"static": true,
|
|
836
|
-
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
"kind": "field",
|
|
840
|
-
"name": "tagName",
|
|
841
|
-
"type": {
|
|
842
|
-
"text": "string"
|
|
843
|
-
},
|
|
844
|
-
"static": true,
|
|
845
|
-
"default": "'terra-giovanni-search'"
|
|
846
|
-
},
|
|
847
|
-
{
|
|
848
|
-
"kind": "field",
|
|
849
|
-
"name": "initialQuery",
|
|
850
|
-
"type": {
|
|
851
|
-
"text": "string"
|
|
852
|
-
},
|
|
853
|
-
"static": true,
|
|
854
|
-
"default": "''"
|
|
855
|
-
},
|
|
856
|
-
{
|
|
857
|
-
"kind": "field",
|
|
858
|
-
"name": "#combobox",
|
|
859
|
-
"privacy": "private",
|
|
860
|
-
"type": {
|
|
861
|
-
"text": "HTMLInputElement | null"
|
|
862
|
-
},
|
|
863
|
-
"default": "null"
|
|
864
|
-
},
|
|
865
|
-
{
|
|
866
|
-
"kind": "field",
|
|
867
|
-
"name": "#fetchController",
|
|
868
|
-
"privacy": "private",
|
|
869
|
-
"default": "new FetchController(this)"
|
|
514
|
+
"default": "false",
|
|
515
|
+
"description": "Draws the button in a loading state.",
|
|
516
|
+
"fieldName": "loading"
|
|
870
517
|
},
|
|
871
518
|
{
|
|
872
|
-
"
|
|
873
|
-
"name": "#listbox",
|
|
874
|
-
"privacy": "private",
|
|
519
|
+
"name": "outline",
|
|
875
520
|
"type": {
|
|
876
|
-
"text": "
|
|
521
|
+
"text": "boolean"
|
|
877
522
|
},
|
|
878
|
-
"default": "
|
|
523
|
+
"default": "false",
|
|
524
|
+
"description": "Draws an outlined button.",
|
|
525
|
+
"fieldName": "outline"
|
|
879
526
|
},
|
|
880
527
|
{
|
|
881
|
-
"
|
|
882
|
-
"name": "#searchEngine",
|
|
883
|
-
"privacy": "private",
|
|
528
|
+
"name": "circle",
|
|
884
529
|
"type": {
|
|
885
|
-
"text": "
|
|
530
|
+
"text": "boolean"
|
|
886
531
|
},
|
|
887
|
-
"default": "
|
|
532
|
+
"default": "false",
|
|
533
|
+
"description": "Draws a circular icon button. When this attribute is present, the button expects a single `<terra-icon>` in the\ndefault slot.",
|
|
534
|
+
"fieldName": "circle"
|
|
888
535
|
},
|
|
889
536
|
{
|
|
890
|
-
"
|
|
891
|
-
"name": "#walker",
|
|
892
|
-
"privacy": "private",
|
|
537
|
+
"name": "type",
|
|
893
538
|
"type": {
|
|
894
|
-
"text": "
|
|
539
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
895
540
|
},
|
|
896
|
-
"default": "
|
|
541
|
+
"default": "'button'",
|
|
542
|
+
"description": "The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native\n`<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.",
|
|
543
|
+
"fieldName": "type"
|
|
897
544
|
},
|
|
898
545
|
{
|
|
899
|
-
"
|
|
900
|
-
"name": "label",
|
|
546
|
+
"name": "name",
|
|
901
547
|
"type": {
|
|
902
548
|
"text": "string"
|
|
903
549
|
},
|
|
904
|
-
"default": "'
|
|
905
|
-
"description": "
|
|
906
|
-
"
|
|
550
|
+
"default": "''",
|
|
551
|
+
"description": "The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.\nThis attribute is ignored when `href` is present.",
|
|
552
|
+
"fieldName": "name"
|
|
907
553
|
},
|
|
908
554
|
{
|
|
909
|
-
"
|
|
910
|
-
"name": "placeholder",
|
|
555
|
+
"name": "value",
|
|
911
556
|
"type": {
|
|
912
557
|
"text": "string"
|
|
913
558
|
},
|
|
914
|
-
"
|
|
915
|
-
"
|
|
559
|
+
"default": "''",
|
|
560
|
+
"description": "The value of the button, submitted as a pair with the button's name as part of the form data, but only when this\nbutton is the submitter. This attribute is ignored when `href` is present.",
|
|
561
|
+
"fieldName": "value"
|
|
916
562
|
},
|
|
917
563
|
{
|
|
918
|
-
"
|
|
919
|
-
"name": "hideLabel",
|
|
564
|
+
"name": "href",
|
|
920
565
|
"type": {
|
|
921
|
-
"text": "
|
|
566
|
+
"text": "string"
|
|
922
567
|
},
|
|
923
|
-
"default": "
|
|
924
|
-
"description": "
|
|
925
|
-
"
|
|
568
|
+
"default": "''",
|
|
569
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
570
|
+
"fieldName": "href"
|
|
926
571
|
},
|
|
927
572
|
{
|
|
928
|
-
"
|
|
929
|
-
"name": "searchConfig",
|
|
573
|
+
"name": "target",
|
|
930
574
|
"type": {
|
|
931
|
-
"text": "
|
|
575
|
+
"text": "'_blank' | '_parent' | '_self' | '_top'"
|
|
932
576
|
},
|
|
933
|
-
"
|
|
934
|
-
"
|
|
935
|
-
"attribute": "searchConfig"
|
|
577
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
578
|
+
"fieldName": "target"
|
|
936
579
|
},
|
|
937
580
|
{
|
|
938
|
-
"
|
|
939
|
-
"name": "value",
|
|
581
|
+
"name": "rel",
|
|
940
582
|
"type": {
|
|
941
583
|
"text": "string"
|
|
942
584
|
},
|
|
943
|
-
"
|
|
585
|
+
"default": "'noreferrer noopener'",
|
|
586
|
+
"description": "When using `href`, this attribute will map to the underlying link's `rel` attribute. Unlike regular links, the\ndefault is `noreferrer noopener` to prevent security exploits. However, if you're using `target` to point to a\nspecific tab/window, this will prevent that from working correctly. You can remove or change the default value by\nsetting the attribute to an empty string or a value of your choice, respectively.",
|
|
587
|
+
"fieldName": "rel"
|
|
944
588
|
},
|
|
945
589
|
{
|
|
946
|
-
"
|
|
947
|
-
"name": "isExpanded",
|
|
590
|
+
"name": "download",
|
|
948
591
|
"type": {
|
|
949
|
-
"text": "
|
|
592
|
+
"text": "string | undefined"
|
|
950
593
|
},
|
|
951
|
-
"
|
|
594
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
595
|
+
"fieldName": "download"
|
|
952
596
|
},
|
|
953
597
|
{
|
|
954
|
-
"
|
|
955
|
-
"
|
|
598
|
+
"name": "form",
|
|
599
|
+
"type": {
|
|
600
|
+
"text": "string"
|
|
601
|
+
},
|
|
602
|
+
"description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
|
|
603
|
+
"fieldName": "form"
|
|
956
604
|
},
|
|
957
605
|
{
|
|
958
|
-
"
|
|
959
|
-
"name": "searchResults",
|
|
606
|
+
"name": "formaction",
|
|
960
607
|
"type": {
|
|
961
|
-
"text": "
|
|
608
|
+
"text": "string"
|
|
962
609
|
},
|
|
963
|
-
"
|
|
610
|
+
"description": "Used to override the form owner's `action` attribute.",
|
|
611
|
+
"fieldName": "formAction"
|
|
964
612
|
},
|
|
965
613
|
{
|
|
966
|
-
"
|
|
967
|
-
"
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
"text": "string"
|
|
973
|
-
}
|
|
974
|
-
},
|
|
975
|
-
{
|
|
976
|
-
"name": "newValue",
|
|
977
|
-
"type": {
|
|
978
|
-
"text": "string"
|
|
979
|
-
}
|
|
980
|
-
}
|
|
981
|
-
]
|
|
614
|
+
"name": "formenctype",
|
|
615
|
+
"type": {
|
|
616
|
+
"text": "| 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'"
|
|
617
|
+
},
|
|
618
|
+
"description": "Used to override the form owner's `enctype` attribute.",
|
|
619
|
+
"fieldName": "formEnctype"
|
|
982
620
|
},
|
|
983
621
|
{
|
|
984
|
-
"
|
|
985
|
-
"
|
|
622
|
+
"name": "formmethod",
|
|
623
|
+
"type": {
|
|
624
|
+
"text": "'post' | 'get'"
|
|
625
|
+
},
|
|
626
|
+
"description": "Used to override the form owner's `method` attribute.",
|
|
627
|
+
"fieldName": "formMethod"
|
|
986
628
|
},
|
|
987
629
|
{
|
|
988
|
-
"
|
|
989
|
-
"
|
|
630
|
+
"name": "formnovalidate",
|
|
631
|
+
"type": {
|
|
632
|
+
"text": "boolean"
|
|
633
|
+
},
|
|
634
|
+
"description": "Used to override the form owner's `novalidate` attribute.",
|
|
635
|
+
"fieldName": "formNoValidate"
|
|
990
636
|
},
|
|
991
637
|
{
|
|
992
|
-
"
|
|
993
|
-
"
|
|
994
|
-
|
|
638
|
+
"name": "formtarget",
|
|
639
|
+
"type": {
|
|
640
|
+
"text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
|
|
641
|
+
},
|
|
642
|
+
"description": "Used to override the form owner's `target` attribute.",
|
|
643
|
+
"fieldName": "formTarget"
|
|
644
|
+
}
|
|
645
|
+
],
|
|
646
|
+
"superclass": {
|
|
647
|
+
"name": "TerraElement",
|
|
648
|
+
"module": "/src/internal/terra-element.js"
|
|
649
|
+
},
|
|
650
|
+
"summary": "Buttons represent actions that are available to the user.",
|
|
651
|
+
"tagNameWithoutPrefix": "button",
|
|
652
|
+
"tagName": "terra-button",
|
|
653
|
+
"customElement": true,
|
|
654
|
+
"jsDoc": "/**\n * @summary Buttons represent actions that are available to the user.\n * @documentation https://shoelace.style/components/button\n * @status stable\n * @since 2.0\n *\n * @slot - The button's label.\n * @slot prefix - A presentational prefix icon or similar element.\n * @slot suffix - A presentational suffix icon or similar element.\n *\n * @csspart base - The component's base wrapper.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart label - The button's label.\n * @csspart suffix - The container that wraps the suffix.\n * @csspart caret - The button's caret icon, an `<sl-icon>` element.\n * @csspart spinner - The spinner that shows when the button is in the loading state.\n */",
|
|
655
|
+
"documentation": "https://shoelace.style/components/button",
|
|
656
|
+
"status": "stable",
|
|
657
|
+
"since": "2.0"
|
|
658
|
+
}
|
|
659
|
+
],
|
|
660
|
+
"exports": [
|
|
661
|
+
{
|
|
662
|
+
"kind": "js",
|
|
663
|
+
"name": "default",
|
|
664
|
+
"declaration": {
|
|
665
|
+
"name": "TerraButton",
|
|
666
|
+
"module": "components/button/button.js"
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
]
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"kind": "javascript-module",
|
|
673
|
+
"path": "components/browse-variables/browse-variables.js",
|
|
674
|
+
"declarations": [
|
|
675
|
+
{
|
|
676
|
+
"kind": "class",
|
|
677
|
+
"description": "",
|
|
678
|
+
"name": "TerraBrowseVariables",
|
|
679
|
+
"cssParts": [
|
|
680
|
+
{
|
|
681
|
+
"description": "The component's base wrapper.",
|
|
682
|
+
"name": "base"
|
|
683
|
+
}
|
|
684
|
+
],
|
|
685
|
+
"members": [
|
|
995
686
|
{
|
|
996
687
|
"kind": "field",
|
|
997
|
-
"name": "
|
|
998
|
-
"
|
|
688
|
+
"name": "searchQuery",
|
|
689
|
+
"type": {
|
|
690
|
+
"text": "string"
|
|
691
|
+
},
|
|
692
|
+
"description": "Filters the catalog categories and facets by the given searchQuery\nIf not provided, all categories and facets will be available to browse",
|
|
693
|
+
"attribute": "searchQuery"
|
|
999
694
|
},
|
|
1000
695
|
{
|
|
1001
696
|
"kind": "field",
|
|
1002
|
-
"name": "
|
|
1003
|
-
"
|
|
697
|
+
"name": "catalog",
|
|
698
|
+
"type": {
|
|
699
|
+
"text": "'giovanni'"
|
|
700
|
+
},
|
|
701
|
+
"default": "'giovanni'",
|
|
702
|
+
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
703
|
+
"attribute": "catalog"
|
|
1004
704
|
},
|
|
1005
705
|
{
|
|
1006
706
|
"kind": "field",
|
|
1007
|
-
"name": "
|
|
1008
|
-
"
|
|
707
|
+
"name": "selectedFacetFields",
|
|
708
|
+
"type": {
|
|
709
|
+
"text": "SelectedFacetField[]"
|
|
710
|
+
},
|
|
711
|
+
"default": "[]"
|
|
1009
712
|
},
|
|
1010
713
|
{
|
|
1011
714
|
"kind": "field",
|
|
1012
|
-
"name": "#
|
|
1013
|
-
"privacy": "private"
|
|
715
|
+
"name": "#controller",
|
|
716
|
+
"privacy": "private",
|
|
717
|
+
"default": "new BrowseVariablesController(this)"
|
|
1014
718
|
},
|
|
1015
719
|
{
|
|
1016
720
|
"kind": "field",
|
|
1017
|
-
"name": "
|
|
1018
|
-
"privacy": "private"
|
|
721
|
+
"name": "handleFacetSelect"
|
|
1019
722
|
},
|
|
1020
723
|
{
|
|
1021
|
-
"kind": "
|
|
1022
|
-
"name": "#
|
|
1023
|
-
"privacy": "private"
|
|
724
|
+
"kind": "method",
|
|
725
|
+
"name": "#renderCategorySelect"
|
|
1024
726
|
},
|
|
1025
727
|
{
|
|
1026
728
|
"kind": "method",
|
|
1027
|
-
"name": "#
|
|
729
|
+
"name": "#renderFacet",
|
|
1028
730
|
"parameters": [
|
|
1029
731
|
{
|
|
1030
|
-
"name": "
|
|
732
|
+
"name": "title",
|
|
1031
733
|
"type": {
|
|
1032
734
|
"text": "string"
|
|
1033
735
|
}
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"name": "fields",
|
|
739
|
+
"optional": true,
|
|
740
|
+
"type": {
|
|
741
|
+
"text": "FacetField[]"
|
|
742
|
+
}
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"name": "open",
|
|
746
|
+
"optional": true,
|
|
747
|
+
"type": {
|
|
748
|
+
"text": "boolean"
|
|
749
|
+
}
|
|
1034
750
|
}
|
|
1035
751
|
]
|
|
1036
|
-
}
|
|
1037
|
-
],
|
|
1038
|
-
"events": [
|
|
1039
|
-
{
|
|
1040
|
-
"description": "Emitted when an option is selected.",
|
|
1041
|
-
"name": "terra-giovanni-search-change",
|
|
1042
|
-
"reactName": "onTerraGiovanniSearchChange",
|
|
1043
|
-
"eventName": "TerraGiovanniSearchChangeEvent"
|
|
1044
752
|
},
|
|
1045
753
|
{
|
|
1046
|
-
"
|
|
1047
|
-
"name": "
|
|
1048
|
-
"reactName": "onTerraSearch",
|
|
1049
|
-
"eventName": "TerraSearchEvent"
|
|
754
|
+
"kind": "method",
|
|
755
|
+
"name": "#renderVariablesBrowse"
|
|
1050
756
|
}
|
|
1051
757
|
],
|
|
1052
758
|
"attributes": [
|
|
1053
759
|
{
|
|
1054
|
-
"name": "
|
|
1055
|
-
"type": {
|
|
1056
|
-
"text": "string"
|
|
1057
|
-
},
|
|
1058
|
-
"default": "'Enter search terms (e.g., precipitation, AOD)'",
|
|
1059
|
-
"description": "Label the combobox with this.",
|
|
1060
|
-
"fieldName": "label"
|
|
1061
|
-
},
|
|
1062
|
-
{
|
|
1063
|
-
"name": "placeholder",
|
|
760
|
+
"name": "searchQuery",
|
|
1064
761
|
"type": {
|
|
1065
762
|
"text": "string"
|
|
1066
763
|
},
|
|
1067
|
-
"description": "
|
|
1068
|
-
"fieldName": "
|
|
1069
|
-
},
|
|
1070
|
-
{
|
|
1071
|
-
"name": "hide-label",
|
|
1072
|
-
"type": {
|
|
1073
|
-
"text": "boolean"
|
|
1074
|
-
},
|
|
1075
|
-
"default": "true",
|
|
1076
|
-
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1077
|
-
"fieldName": "hideLabel"
|
|
1078
|
-
},
|
|
1079
|
-
{
|
|
1080
|
-
"name": "searchConfig",
|
|
1081
|
-
"type": {
|
|
1082
|
-
"text": "object"
|
|
1083
|
-
},
|
|
1084
|
-
"default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
|
|
1085
|
-
"description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
|
|
1086
|
-
"fieldName": "searchConfig"
|
|
764
|
+
"description": "Filters the catalog categories and facets by the given searchQuery\nIf not provided, all categories and facets will be available to browse",
|
|
765
|
+
"fieldName": "searchQuery"
|
|
1087
766
|
},
|
|
1088
767
|
{
|
|
1089
|
-
"name": "
|
|
768
|
+
"name": "catalog",
|
|
1090
769
|
"type": {
|
|
1091
|
-
"text": "
|
|
770
|
+
"text": "'giovanni'"
|
|
1092
771
|
},
|
|
1093
|
-
"
|
|
772
|
+
"default": "'giovanni'",
|
|
773
|
+
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
774
|
+
"fieldName": "catalog"
|
|
1094
775
|
}
|
|
1095
776
|
],
|
|
1096
777
|
"superclass": {
|
|
1097
778
|
"name": "TerraElement",
|
|
1098
779
|
"module": "/src/internal/terra-element.js"
|
|
1099
780
|
},
|
|
1100
|
-
"summary": "
|
|
1101
|
-
"tagNameWithoutPrefix": "
|
|
1102
|
-
"tagName": "terra-
|
|
781
|
+
"summary": "Browse through the Giovanni catalog.",
|
|
782
|
+
"tagNameWithoutPrefix": "browse-variables",
|
|
783
|
+
"tagName": "terra-browse-variables",
|
|
1103
784
|
"customElement": true,
|
|
1104
|
-
"jsDoc": "/**\n * @summary
|
|
1105
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
785
|
+
"jsDoc": "/**\n * @summary Browse through the Giovanni catalog.\n * @documentation https://disc.gsfc.nasa.gov/components/browse-variables\n * @status MVP\n * @since 1.0\n *\n * @csspart base - The component's base wrapper.\n */",
|
|
786
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/browse-variables",
|
|
1106
787
|
"status": "MVP",
|
|
1107
788
|
"since": "1.0"
|
|
1108
789
|
}
|
|
@@ -1112,350 +793,419 @@
|
|
|
1112
793
|
"kind": "js",
|
|
1113
794
|
"name": "default",
|
|
1114
795
|
"declaration": {
|
|
1115
|
-
"name": "
|
|
1116
|
-
"module": "components/
|
|
796
|
+
"name": "TerraBrowseVariables",
|
|
797
|
+
"module": "components/browse-variables/browse-variables.js"
|
|
1117
798
|
}
|
|
1118
799
|
}
|
|
1119
800
|
]
|
|
1120
801
|
},
|
|
1121
802
|
{
|
|
1122
803
|
"kind": "javascript-module",
|
|
1123
|
-
"path": "components/
|
|
804
|
+
"path": "components/chip/chip.js",
|
|
1124
805
|
"declarations": [
|
|
1125
806
|
{
|
|
1126
807
|
"kind": "class",
|
|
1127
808
|
"description": "",
|
|
1128
|
-
"name": "
|
|
1129
|
-
"
|
|
809
|
+
"name": "TerraChip",
|
|
810
|
+
"slots": [
|
|
1130
811
|
{
|
|
1131
|
-
"description": "The
|
|
1132
|
-
"name": "
|
|
812
|
+
"description": "The chip's label.",
|
|
813
|
+
"name": ""
|
|
1133
814
|
}
|
|
1134
815
|
],
|
|
1135
816
|
"members": [
|
|
1136
817
|
{
|
|
1137
818
|
"kind": "field",
|
|
1138
|
-
"name": "
|
|
1139
|
-
"privacy": "private",
|
|
819
|
+
"name": "size",
|
|
1140
820
|
"type": {
|
|
1141
|
-
"text": "
|
|
821
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1142
822
|
},
|
|
1143
|
-
"default": "
|
|
823
|
+
"default": "'medium'",
|
|
824
|
+
"attribute": "size",
|
|
825
|
+
"reflects": true
|
|
1144
826
|
},
|
|
1145
827
|
{
|
|
1146
828
|
"kind": "field",
|
|
1147
|
-
"name": "
|
|
829
|
+
"name": "#handleRemoveClick",
|
|
830
|
+
"privacy": "private"
|
|
831
|
+
}
|
|
832
|
+
],
|
|
833
|
+
"attributes": [
|
|
834
|
+
{
|
|
835
|
+
"name": "size",
|
|
1148
836
|
"type": {
|
|
1149
|
-
"text": "
|
|
837
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1150
838
|
},
|
|
1151
|
-
"default": "
|
|
839
|
+
"default": "'medium'",
|
|
840
|
+
"fieldName": "size"
|
|
841
|
+
}
|
|
842
|
+
],
|
|
843
|
+
"superclass": {
|
|
844
|
+
"name": "TerraElement",
|
|
845
|
+
"module": "/src/internal/terra-element.js"
|
|
846
|
+
},
|
|
847
|
+
"summary": "Used for contacts and tags",
|
|
848
|
+
"tagNameWithoutPrefix": "chip",
|
|
849
|
+
"tagName": "terra-chip",
|
|
850
|
+
"customElement": true,
|
|
851
|
+
"jsDoc": "/**\n * @summary Used for contacts and tags\n * @documentation https://disc.gsfc.nasa.gov/components/chip\n * @status stable\n * @since 1.0\n *\n * @slot - The chip's label.\n */",
|
|
852
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/chip",
|
|
853
|
+
"status": "stable",
|
|
854
|
+
"since": "1.0"
|
|
855
|
+
}
|
|
856
|
+
],
|
|
857
|
+
"exports": [
|
|
858
|
+
{
|
|
859
|
+
"kind": "js",
|
|
860
|
+
"name": "default",
|
|
861
|
+
"declaration": {
|
|
862
|
+
"name": "TerraChip",
|
|
863
|
+
"module": "components/chip/chip.js"
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
]
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"kind": "javascript-module",
|
|
870
|
+
"path": "components/combobox/combobox.js",
|
|
871
|
+
"declarations": [
|
|
872
|
+
{
|
|
873
|
+
"kind": "class",
|
|
874
|
+
"description": "",
|
|
875
|
+
"name": "TerraCombobox",
|
|
876
|
+
"cssProperties": [
|
|
877
|
+
{
|
|
878
|
+
"description": "The height of the host element.",
|
|
879
|
+
"name": "--host-height"
|
|
1152
880
|
},
|
|
1153
881
|
{
|
|
1154
|
-
"
|
|
1155
|
-
"name": "
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
"
|
|
1160
|
-
|
|
1161
|
-
|
|
882
|
+
"description": "The height of the search help element.",
|
|
883
|
+
"name": "--help-height"
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"description": "The height of the input's label element.",
|
|
887
|
+
"name": "--label-height"
|
|
888
|
+
}
|
|
889
|
+
],
|
|
890
|
+
"cssParts": [
|
|
891
|
+
{
|
|
892
|
+
"description": "A `search` element, the component's base.",
|
|
893
|
+
"name": "base"
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"description": "An `input` element used for searching.",
|
|
897
|
+
"name": "combobox"
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
"description": "A `button` used for toggling the listbox's visibility.",
|
|
901
|
+
"name": "button"
|
|
1162
902
|
},
|
|
903
|
+
{
|
|
904
|
+
"description": "A `ul` that holds the clickable options.",
|
|
905
|
+
"name": "listbox"
|
|
906
|
+
}
|
|
907
|
+
],
|
|
908
|
+
"members": [
|
|
1163
909
|
{
|
|
1164
910
|
"kind": "field",
|
|
1165
|
-
"name": "
|
|
911
|
+
"name": "shadowRootOptions",
|
|
1166
912
|
"type": {
|
|
1167
|
-
"text": "
|
|
913
|
+
"text": "object"
|
|
1168
914
|
},
|
|
1169
|
-
"
|
|
1170
|
-
"
|
|
915
|
+
"static": true,
|
|
916
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
1171
917
|
},
|
|
1172
918
|
{
|
|
1173
919
|
"kind": "field",
|
|
1174
|
-
"name": "
|
|
920
|
+
"name": "tagName",
|
|
1175
921
|
"type": {
|
|
1176
922
|
"text": "string"
|
|
1177
923
|
},
|
|
1178
|
-
"
|
|
1179
|
-
"
|
|
1180
|
-
"attribute": "label"
|
|
924
|
+
"static": true,
|
|
925
|
+
"default": "'terra-combobox'"
|
|
1181
926
|
},
|
|
1182
927
|
{
|
|
1183
928
|
"kind": "field",
|
|
1184
|
-
"name": "
|
|
929
|
+
"name": "initialQuery",
|
|
1185
930
|
"type": {
|
|
1186
|
-
"text": "
|
|
931
|
+
"text": "string"
|
|
1187
932
|
},
|
|
1188
|
-
"
|
|
1189
|
-
"
|
|
1190
|
-
"attribute": "library",
|
|
1191
|
-
"reflects": true
|
|
933
|
+
"static": true,
|
|
934
|
+
"default": "''"
|
|
1192
935
|
},
|
|
1193
936
|
{
|
|
1194
937
|
"kind": "field",
|
|
1195
|
-
"name": "
|
|
938
|
+
"name": "#combobox",
|
|
939
|
+
"privacy": "private",
|
|
1196
940
|
"type": {
|
|
1197
|
-
"text": "
|
|
941
|
+
"text": "HTMLInputElement | null"
|
|
1198
942
|
},
|
|
1199
|
-
"default": "null"
|
|
1200
|
-
"description": "The CSS color to assign to the SVG.",
|
|
1201
|
-
"attribute": "color"
|
|
943
|
+
"default": "null"
|
|
1202
944
|
},
|
|
1203
945
|
{
|
|
1204
946
|
"kind": "field",
|
|
1205
|
-
"name": "
|
|
947
|
+
"name": "#listbox",
|
|
948
|
+
"privacy": "private",
|
|
1206
949
|
"type": {
|
|
1207
|
-
"text": "
|
|
950
|
+
"text": "HTMLUListElement | null"
|
|
1208
951
|
},
|
|
1209
|
-
"default": "null"
|
|
1210
|
-
"description": "The CSS font-size to assign to the SVG.",
|
|
1211
|
-
"attribute": "font-size"
|
|
952
|
+
"default": "null"
|
|
1212
953
|
},
|
|
1213
954
|
{
|
|
1214
|
-
"kind": "
|
|
1215
|
-
"name": "#
|
|
1216
|
-
"
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
}
|
|
955
|
+
"kind": "field",
|
|
956
|
+
"name": "#searchEngine",
|
|
957
|
+
"privacy": "private",
|
|
958
|
+
"type": {
|
|
959
|
+
"text": "Fuse<GroupedListItem | ListItem> | null"
|
|
1220
960
|
},
|
|
1221
|
-
"
|
|
1222
|
-
{
|
|
1223
|
-
"name": "url",
|
|
1224
|
-
"type": {
|
|
1225
|
-
"text": "string"
|
|
1226
|
-
}
|
|
1227
|
-
}
|
|
1228
|
-
],
|
|
1229
|
-
"description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
|
|
1230
|
-
},
|
|
1231
|
-
{
|
|
1232
|
-
"kind": "method",
|
|
1233
|
-
"name": "#getIconSource",
|
|
1234
|
-
"return": {
|
|
1235
|
-
"type": {
|
|
1236
|
-
"text": "IconSource"
|
|
1237
|
-
}
|
|
1238
|
-
}
|
|
1239
|
-
},
|
|
1240
|
-
{
|
|
1241
|
-
"kind": "method",
|
|
1242
|
-
"name": "#styleFromAttributes",
|
|
1243
|
-
"description": "SVG takes a few presentation attributes. Since we're using a template for SVG and our host element isn't an SVG, we can pass those presentational attributes into a style attribute to affect the underlying SVG.\nMerge select attributes with existing inline style attribute to forward values to underlying SVG."
|
|
1244
|
-
},
|
|
1245
|
-
{
|
|
1246
|
-
"kind": "method",
|
|
1247
|
-
"name": "handleLabelChange"
|
|
1248
|
-
},
|
|
1249
|
-
{
|
|
1250
|
-
"kind": "method",
|
|
1251
|
-
"name": "setIcon"
|
|
1252
|
-
}
|
|
1253
|
-
],
|
|
1254
|
-
"events": [
|
|
1255
|
-
{
|
|
1256
|
-
"description": "Emitted when the icon has loaded.",
|
|
1257
|
-
"name": "terra-load",
|
|
1258
|
-
"reactName": "onTerraLoad",
|
|
1259
|
-
"eventName": "TerraLoadEvent"
|
|
961
|
+
"default": "null"
|
|
1260
962
|
},
|
|
1261
963
|
{
|
|
1262
|
-
"
|
|
1263
|
-
"name": "
|
|
1264
|
-
"
|
|
1265
|
-
"eventName": "TerraErrorEvent"
|
|
1266
|
-
}
|
|
1267
|
-
],
|
|
1268
|
-
"attributes": [
|
|
1269
|
-
{
|
|
1270
|
-
"name": "name",
|
|
964
|
+
"kind": "field",
|
|
965
|
+
"name": "#walker",
|
|
966
|
+
"privacy": "private",
|
|
1271
967
|
"type": {
|
|
1272
|
-
"text": "
|
|
968
|
+
"text": "TreeWalker | null"
|
|
1273
969
|
},
|
|
1274
|
-
"
|
|
1275
|
-
"fieldName": "name"
|
|
970
|
+
"default": "null"
|
|
1276
971
|
},
|
|
1277
972
|
{
|
|
1278
|
-
"
|
|
973
|
+
"kind": "field",
|
|
974
|
+
"name": "label",
|
|
1279
975
|
"type": {
|
|
1280
|
-
"text": "string
|
|
976
|
+
"text": "string"
|
|
1281
977
|
},
|
|
1282
|
-
"
|
|
1283
|
-
"
|
|
978
|
+
"default": "'Search for Items'",
|
|
979
|
+
"description": "Label the combobox with this.",
|
|
980
|
+
"attribute": "label"
|
|
1284
981
|
},
|
|
1285
982
|
{
|
|
1286
|
-
"
|
|
983
|
+
"kind": "field",
|
|
984
|
+
"name": "name",
|
|
1287
985
|
"type": {
|
|
1288
986
|
"text": "string"
|
|
1289
987
|
},
|
|
1290
|
-
"default": "''",
|
|
1291
|
-
"description": "
|
|
1292
|
-
"
|
|
988
|
+
"default": "'Item'",
|
|
989
|
+
"description": "name the combobox with this.",
|
|
990
|
+
"attribute": "name"
|
|
1293
991
|
},
|
|
1294
992
|
{
|
|
1295
|
-
"
|
|
993
|
+
"kind": "field",
|
|
994
|
+
"name": "placeholder",
|
|
1296
995
|
"type": {
|
|
1297
|
-
"text": "
|
|
996
|
+
"text": "string"
|
|
1298
997
|
},
|
|
1299
|
-
"
|
|
1300
|
-
"
|
|
1301
|
-
"fieldName": "library"
|
|
998
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
999
|
+
"attribute": "placeholder"
|
|
1302
1000
|
},
|
|
1303
1001
|
{
|
|
1304
|
-
"
|
|
1002
|
+
"kind": "field",
|
|
1003
|
+
"name": "hideHelp",
|
|
1305
1004
|
"type": {
|
|
1306
|
-
"text": "
|
|
1005
|
+
"text": "boolean"
|
|
1307
1006
|
},
|
|
1308
|
-
"default": "
|
|
1309
|
-
"description": "
|
|
1310
|
-
"
|
|
1007
|
+
"default": "false",
|
|
1008
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
1009
|
+
"attribute": "hide-help"
|
|
1311
1010
|
},
|
|
1312
1011
|
{
|
|
1313
|
-
"
|
|
1012
|
+
"kind": "field",
|
|
1013
|
+
"name": "hideLabel",
|
|
1314
1014
|
"type": {
|
|
1315
|
-
"text": "
|
|
1015
|
+
"text": "boolean"
|
|
1316
1016
|
},
|
|
1317
|
-
"default": "
|
|
1318
|
-
"description": "
|
|
1319
|
-
"
|
|
1320
|
-
}
|
|
1321
|
-
],
|
|
1322
|
-
"superclass": {
|
|
1323
|
-
"name": "TerraElement",
|
|
1324
|
-
"module": "/src/internal/terra-element.js"
|
|
1325
|
-
},
|
|
1326
|
-
"summary": "Icons are symbols that can be used to represent various options within an application.",
|
|
1327
|
-
"tagNameWithoutPrefix": "icon",
|
|
1328
|
-
"tagName": "terra-icon",
|
|
1329
|
-
"customElement": true,
|
|
1330
|
-
"jsDoc": "/**\n * @summary Icons are symbols that can be used to represent various options within an application.\n * @documentation https://disc.gsfc.nasa.gov/components/icon\n * @status experimental\n * @since 1.0\n *\n * @event terra-load - Emitted when the icon has loaded.\n * @event terra-error - Emitted when the icon fails to load due to an error.\n *\n * @csspart svg - The internal SVG element.\n */",
|
|
1331
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/icon",
|
|
1332
|
-
"status": "experimental",
|
|
1333
|
-
"since": "1.0"
|
|
1334
|
-
}
|
|
1335
|
-
],
|
|
1336
|
-
"exports": [
|
|
1337
|
-
{
|
|
1338
|
-
"kind": "js",
|
|
1339
|
-
"name": "default",
|
|
1340
|
-
"declaration": {
|
|
1341
|
-
"name": "TerraIcon",
|
|
1342
|
-
"module": "components/icon/icon.js"
|
|
1343
|
-
}
|
|
1344
|
-
}
|
|
1345
|
-
]
|
|
1346
|
-
},
|
|
1347
|
-
{
|
|
1348
|
-
"kind": "javascript-module",
|
|
1349
|
-
"path": "components/loader/loader.js",
|
|
1350
|
-
"declarations": [
|
|
1351
|
-
{
|
|
1352
|
-
"kind": "class",
|
|
1353
|
-
"description": "",
|
|
1354
|
-
"name": "TerraLoader",
|
|
1355
|
-
"cssProperties": [
|
|
1356
|
-
{
|
|
1357
|
-
"description": "An example CSS custom property.",
|
|
1358
|
-
"name": "--example"
|
|
1359
|
-
}
|
|
1360
|
-
],
|
|
1361
|
-
"cssParts": [
|
|
1362
|
-
{
|
|
1363
|
-
"description": "The component's base wrapper.",
|
|
1364
|
-
"name": "base"
|
|
1365
|
-
}
|
|
1366
|
-
],
|
|
1367
|
-
"members": [
|
|
1017
|
+
"default": "false",
|
|
1018
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1019
|
+
"attribute": "hide-label"
|
|
1020
|
+
},
|
|
1368
1021
|
{
|
|
1369
1022
|
"kind": "field",
|
|
1370
|
-
"name": "
|
|
1023
|
+
"name": "status",
|
|
1371
1024
|
"type": {
|
|
1372
|
-
"text": "'
|
|
1025
|
+
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
1373
1026
|
},
|
|
1374
|
-
"default": "'
|
|
1375
|
-
"description": "
|
|
1376
|
-
"attribute": "
|
|
1377
|
-
"reflects": true
|
|
1027
|
+
"default": "'INITIAL'",
|
|
1028
|
+
"description": "status of the content",
|
|
1029
|
+
"attribute": "status"
|
|
1378
1030
|
},
|
|
1379
1031
|
{
|
|
1380
1032
|
"kind": "field",
|
|
1381
|
-
"name": "
|
|
1033
|
+
"name": "content",
|
|
1382
1034
|
"type": {
|
|
1383
|
-
"text": "
|
|
1035
|
+
"text": "Content"
|
|
1384
1036
|
},
|
|
1385
|
-
"default": "
|
|
1386
|
-
"description": "
|
|
1387
|
-
"attribute": "
|
|
1037
|
+
"default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
|
|
1038
|
+
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
1039
|
+
"attribute": "content"
|
|
1388
1040
|
},
|
|
1389
1041
|
{
|
|
1390
1042
|
"kind": "field",
|
|
1391
|
-
"name": "
|
|
1043
|
+
"name": "isExpanded",
|
|
1392
1044
|
"type": {
|
|
1393
1045
|
"text": "boolean"
|
|
1394
1046
|
},
|
|
1395
|
-
"default": "false"
|
|
1396
|
-
"description": "an indeterminate loader has an unknown progress and will show a spinner",
|
|
1397
|
-
"attribute": "indeterminate"
|
|
1047
|
+
"default": "false"
|
|
1398
1048
|
},
|
|
1399
1049
|
{
|
|
1400
1050
|
"kind": "field",
|
|
1401
|
-
"name": "
|
|
1051
|
+
"name": "query"
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
"kind": "field",
|
|
1055
|
+
"name": "searchResults",
|
|
1402
1056
|
"type": {
|
|
1403
|
-
"text": "
|
|
1057
|
+
"text": "GroupedListItem[] | ListItem[]"
|
|
1404
1058
|
},
|
|
1405
|
-
"default": "
|
|
1059
|
+
"default": "[]"
|
|
1406
1060
|
},
|
|
1407
1061
|
{
|
|
1408
1062
|
"kind": "method",
|
|
1409
|
-
"name": "
|
|
1063
|
+
"name": "contentChanged",
|
|
1410
1064
|
"parameters": [
|
|
1411
1065
|
{
|
|
1412
|
-
"name": "
|
|
1066
|
+
"name": "_oldValue",
|
|
1413
1067
|
"type": {
|
|
1414
|
-
"text": "
|
|
1068
|
+
"text": "any"
|
|
1069
|
+
}
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"name": "newValue",
|
|
1073
|
+
"type": {
|
|
1074
|
+
"text": "any"
|
|
1415
1075
|
}
|
|
1416
1076
|
}
|
|
1417
1077
|
]
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"kind": "field",
|
|
1081
|
+
"name": "#renderListItem",
|
|
1082
|
+
"privacy": "private"
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"kind": "field",
|
|
1086
|
+
"name": "#renderGroupListItem",
|
|
1087
|
+
"privacy": "private"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"kind": "field",
|
|
1091
|
+
"name": "#renderError",
|
|
1092
|
+
"privacy": "private"
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
"kind": "field",
|
|
1096
|
+
"name": "#renderLoading",
|
|
1097
|
+
"privacy": "private"
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
"kind": "field",
|
|
1101
|
+
"name": "#dispatchChange",
|
|
1102
|
+
"privacy": "private"
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
"kind": "field",
|
|
1106
|
+
"name": "#handleButtonClick",
|
|
1107
|
+
"privacy": "private"
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"kind": "field",
|
|
1111
|
+
"name": "#handleComboboxChange",
|
|
1112
|
+
"privacy": "private"
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
"kind": "field",
|
|
1116
|
+
"name": "#handleOptionClick",
|
|
1117
|
+
"privacy": "private"
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"kind": "field",
|
|
1121
|
+
"name": "#handleKeydown",
|
|
1122
|
+
"privacy": "private"
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
"kind": "field",
|
|
1126
|
+
"name": "#manageListboxVisibility",
|
|
1127
|
+
"privacy": "private"
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
"kind": "field",
|
|
1131
|
+
"name": "#selectOption",
|
|
1132
|
+
"privacy": "private"
|
|
1418
1133
|
}
|
|
1419
1134
|
],
|
|
1420
1135
|
"attributes": [
|
|
1421
1136
|
{
|
|
1422
|
-
"name": "
|
|
1137
|
+
"name": "label",
|
|
1423
1138
|
"type": {
|
|
1424
|
-
"text": "
|
|
1139
|
+
"text": "string"
|
|
1425
1140
|
},
|
|
1426
|
-
"default": "'
|
|
1427
|
-
"description": "
|
|
1428
|
-
"fieldName": "
|
|
1141
|
+
"default": "'Search for Items'",
|
|
1142
|
+
"description": "Label the combobox with this.",
|
|
1143
|
+
"fieldName": "label"
|
|
1429
1144
|
},
|
|
1430
1145
|
{
|
|
1431
|
-
"name": "
|
|
1146
|
+
"name": "name",
|
|
1432
1147
|
"type": {
|
|
1433
1148
|
"text": "string"
|
|
1434
1149
|
},
|
|
1435
|
-
"default": "'
|
|
1436
|
-
"description": "
|
|
1437
|
-
"fieldName": "
|
|
1150
|
+
"default": "'Item'",
|
|
1151
|
+
"description": "name the combobox with this.",
|
|
1152
|
+
"fieldName": "name"
|
|
1438
1153
|
},
|
|
1439
1154
|
{
|
|
1440
|
-
"name": "
|
|
1155
|
+
"name": "placeholder",
|
|
1156
|
+
"type": {
|
|
1157
|
+
"text": "string"
|
|
1158
|
+
},
|
|
1159
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1160
|
+
"fieldName": "placeholder"
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
"name": "hide-help",
|
|
1441
1164
|
"type": {
|
|
1442
1165
|
"text": "boolean"
|
|
1443
1166
|
},
|
|
1444
1167
|
"default": "false",
|
|
1445
|
-
"description": "
|
|
1446
|
-
"fieldName": "
|
|
1168
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
1169
|
+
"fieldName": "hideHelp"
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
"name": "hide-label",
|
|
1173
|
+
"type": {
|
|
1174
|
+
"text": "boolean"
|
|
1175
|
+
},
|
|
1176
|
+
"default": "false",
|
|
1177
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1178
|
+
"fieldName": "hideLabel"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"name": "status",
|
|
1182
|
+
"type": {
|
|
1183
|
+
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
1184
|
+
},
|
|
1185
|
+
"default": "'INITIAL'",
|
|
1186
|
+
"description": "status of the content",
|
|
1187
|
+
"fieldName": "status"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"name": "content",
|
|
1191
|
+
"type": {
|
|
1192
|
+
"text": "Content"
|
|
1193
|
+
},
|
|
1194
|
+
"default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
|
|
1195
|
+
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
1196
|
+
"fieldName": "content"
|
|
1447
1197
|
}
|
|
1448
1198
|
],
|
|
1449
1199
|
"superclass": {
|
|
1450
1200
|
"name": "TerraElement",
|
|
1451
1201
|
"module": "/src/internal/terra-element.js"
|
|
1452
1202
|
},
|
|
1453
|
-
"summary": "
|
|
1454
|
-
"tagNameWithoutPrefix": "
|
|
1455
|
-
"tagName": "terra-
|
|
1203
|
+
"summary": "Fuzzy-search for combobox with list autocomplete.",
|
|
1204
|
+
"tagNameWithoutPrefix": "combobox",
|
|
1205
|
+
"tagName": "terra-combobox",
|
|
1456
1206
|
"customElement": true,
|
|
1457
|
-
"jsDoc": "/**\n * @summary
|
|
1458
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
1207
|
+
"jsDoc": "/**\n * @summary Fuzzy-search for combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/combobox\n * @status experimental\n * @since 1.0\n *\n * @csspart base - A `search` element, the component's base.\n * @csspart combobox - An `input` element used for searching.\n * @csspart button - A `button` used for toggling the listbox's visibility.\n * @csspart listbox - A `ul` that holds the clickable options.\n *\n * @cssproperty --host-height - The height of the host element.\n * @cssproperty --help-height - The height of the search help element.\n * @cssproperty --label-height - The height of the input's label element.\n */",
|
|
1208
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/combobox",
|
|
1459
1209
|
"status": "experimental",
|
|
1460
1210
|
"since": "1.0"
|
|
1461
1211
|
}
|
|
@@ -1465,456 +1215,485 @@
|
|
|
1465
1215
|
"kind": "js",
|
|
1466
1216
|
"name": "default",
|
|
1467
1217
|
"declaration": {
|
|
1468
|
-
"name": "
|
|
1469
|
-
"module": "components/
|
|
1218
|
+
"name": "TerraCombobox",
|
|
1219
|
+
"module": "components/combobox/combobox.js"
|
|
1470
1220
|
}
|
|
1471
1221
|
}
|
|
1472
1222
|
]
|
|
1473
1223
|
},
|
|
1474
1224
|
{
|
|
1475
1225
|
"kind": "javascript-module",
|
|
1476
|
-
"path": "components/
|
|
1226
|
+
"path": "components/date-range-slider/date-range-slider.js",
|
|
1477
1227
|
"declarations": [
|
|
1478
1228
|
{
|
|
1479
1229
|
"kind": "class",
|
|
1480
1230
|
"description": "",
|
|
1481
|
-
"name": "
|
|
1231
|
+
"name": "TerraDateRangeSlider",
|
|
1232
|
+
"cssProperties": [
|
|
1233
|
+
{
|
|
1234
|
+
"description": "An example CSS custom property.",
|
|
1235
|
+
"name": "--example"
|
|
1236
|
+
}
|
|
1237
|
+
],
|
|
1482
1238
|
"cssParts": [
|
|
1483
1239
|
{
|
|
1484
1240
|
"description": "The component's base wrapper.",
|
|
1485
1241
|
"name": "base"
|
|
1486
|
-
},
|
|
1487
|
-
{
|
|
1488
|
-
"description": "The container that wraps the prefix.",
|
|
1489
|
-
"name": "prefix"
|
|
1490
|
-
},
|
|
1491
|
-
{
|
|
1492
|
-
"description": "The button's label.",
|
|
1493
|
-
"name": "label"
|
|
1494
|
-
},
|
|
1495
|
-
{
|
|
1496
|
-
"description": "The container that wraps the suffix.",
|
|
1497
|
-
"name": "suffix"
|
|
1498
|
-
},
|
|
1499
|
-
{
|
|
1500
|
-
"description": "The button's caret icon, an `<sl-icon>` element.",
|
|
1501
|
-
"name": "caret"
|
|
1502
|
-
},
|
|
1503
|
-
{
|
|
1504
|
-
"description": "The spinner that shows when the button is in the loading state.",
|
|
1505
|
-
"name": "spinner"
|
|
1506
1242
|
}
|
|
1507
1243
|
],
|
|
1508
1244
|
"slots": [
|
|
1509
1245
|
{
|
|
1510
|
-
"description": "The
|
|
1246
|
+
"description": "The default slot.",
|
|
1511
1247
|
"name": ""
|
|
1512
1248
|
},
|
|
1513
1249
|
{
|
|
1514
|
-
"description": "
|
|
1515
|
-
"name": "
|
|
1516
|
-
},
|
|
1517
|
-
{
|
|
1518
|
-
"description": "A presentational suffix icon or similar element.",
|
|
1519
|
-
"name": "suffix"
|
|
1250
|
+
"description": "An example slot.",
|
|
1251
|
+
"name": "example"
|
|
1520
1252
|
}
|
|
1521
1253
|
],
|
|
1522
1254
|
"members": [
|
|
1523
1255
|
{
|
|
1524
1256
|
"kind": "field",
|
|
1525
|
-
"name": "
|
|
1526
|
-
"
|
|
1527
|
-
|
|
1528
|
-
|
|
1257
|
+
"name": "slider",
|
|
1258
|
+
"type": {
|
|
1259
|
+
"text": "HTMLElement & { noUiSlider: API }"
|
|
1260
|
+
}
|
|
1529
1261
|
},
|
|
1530
1262
|
{
|
|
1531
1263
|
"kind": "field",
|
|
1532
|
-
"name": "
|
|
1533
|
-
"
|
|
1534
|
-
|
|
1535
|
-
|
|
1264
|
+
"name": "timeScale",
|
|
1265
|
+
"type": {
|
|
1266
|
+
"text": "TimeScale"
|
|
1267
|
+
},
|
|
1268
|
+
"default": "'daily'",
|
|
1269
|
+
"attribute": "time-scale"
|
|
1536
1270
|
},
|
|
1537
1271
|
{
|
|
1538
1272
|
"kind": "field",
|
|
1539
|
-
"name": "
|
|
1273
|
+
"name": "minDate",
|
|
1540
1274
|
"type": {
|
|
1541
|
-
"text": "
|
|
1542
|
-
}
|
|
1275
|
+
"text": "string"
|
|
1276
|
+
},
|
|
1277
|
+
"attribute": "min-date"
|
|
1543
1278
|
},
|
|
1544
1279
|
{
|
|
1545
1280
|
"kind": "field",
|
|
1546
|
-
"name": "
|
|
1281
|
+
"name": "maxDate",
|
|
1547
1282
|
"type": {
|
|
1548
|
-
"text": "
|
|
1283
|
+
"text": "string"
|
|
1549
1284
|
},
|
|
1550
|
-
"
|
|
1551
|
-
"default": "false"
|
|
1285
|
+
"attribute": "max-date"
|
|
1552
1286
|
},
|
|
1553
1287
|
{
|
|
1554
1288
|
"kind": "field",
|
|
1555
|
-
"name": "
|
|
1289
|
+
"name": "startDate",
|
|
1556
1290
|
"type": {
|
|
1557
|
-
"text": "
|
|
1291
|
+
"text": "string"
|
|
1558
1292
|
},
|
|
1559
|
-
"
|
|
1293
|
+
"description": "The start date for the time series plot.",
|
|
1294
|
+
"attribute": "start-date"
|
|
1560
1295
|
},
|
|
1561
1296
|
{
|
|
1562
1297
|
"kind": "field",
|
|
1563
|
-
"name": "
|
|
1298
|
+
"name": "endDate",
|
|
1564
1299
|
"type": {
|
|
1565
1300
|
"text": "string"
|
|
1566
1301
|
},
|
|
1567
|
-
"
|
|
1568
|
-
"attribute": "title"
|
|
1302
|
+
"attribute": "end-date"
|
|
1569
1303
|
},
|
|
1570
1304
|
{
|
|
1571
1305
|
"kind": "field",
|
|
1572
|
-
"name": "
|
|
1306
|
+
"name": "disabled",
|
|
1573
1307
|
"type": {
|
|
1574
|
-
"text": "
|
|
1308
|
+
"text": "boolean"
|
|
1575
1309
|
},
|
|
1576
|
-
"default": "
|
|
1577
|
-
"
|
|
1578
|
-
"attribute": "variant",
|
|
1310
|
+
"default": "false",
|
|
1311
|
+
"attribute": "disabled",
|
|
1579
1312
|
"reflects": true
|
|
1580
1313
|
},
|
|
1581
1314
|
{
|
|
1582
1315
|
"kind": "field",
|
|
1583
|
-
"name": "
|
|
1316
|
+
"name": "hasPips",
|
|
1584
1317
|
"type": {
|
|
1585
|
-
"text": "
|
|
1318
|
+
"text": "boolean"
|
|
1586
1319
|
},
|
|
1587
|
-
"default": "
|
|
1588
|
-
"
|
|
1589
|
-
"attribute": "size",
|
|
1320
|
+
"default": "true",
|
|
1321
|
+
"attribute": "has-pips",
|
|
1590
1322
|
"reflects": true
|
|
1591
1323
|
},
|
|
1592
1324
|
{
|
|
1593
|
-
"kind": "
|
|
1594
|
-
"name": "
|
|
1325
|
+
"kind": "method",
|
|
1326
|
+
"name": "updateSlider"
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
"kind": "method",
|
|
1330
|
+
"name": "disabledChanged"
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"kind": "method",
|
|
1334
|
+
"name": "renderSlider"
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
"kind": "method",
|
|
1338
|
+
"name": "renderEmptySlider"
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
"kind": "method",
|
|
1342
|
+
"name": "_getStep",
|
|
1343
|
+
"privacy": "private"
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
"kind": "method",
|
|
1347
|
+
"name": "_getSliderFormatter",
|
|
1348
|
+
"privacy": "private",
|
|
1349
|
+
"return": {
|
|
1350
|
+
"type": {
|
|
1351
|
+
"text": "Formatter"
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
"kind": "method",
|
|
1357
|
+
"name": "_formatDate",
|
|
1358
|
+
"privacy": "private",
|
|
1359
|
+
"parameters": [
|
|
1360
|
+
{
|
|
1361
|
+
"name": "date",
|
|
1362
|
+
"type": {
|
|
1363
|
+
"text": "string | number | Date"
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
]
|
|
1367
|
+
}
|
|
1368
|
+
],
|
|
1369
|
+
"attributes": [
|
|
1370
|
+
{
|
|
1371
|
+
"name": "time-scale",
|
|
1595
1372
|
"type": {
|
|
1596
|
-
"text": "
|
|
1373
|
+
"text": "TimeScale"
|
|
1597
1374
|
},
|
|
1598
|
-
"default": "
|
|
1599
|
-
"
|
|
1600
|
-
"attribute": "caret",
|
|
1601
|
-
"reflects": true
|
|
1375
|
+
"default": "'daily'",
|
|
1376
|
+
"fieldName": "timeScale"
|
|
1602
1377
|
},
|
|
1603
1378
|
{
|
|
1604
|
-
"
|
|
1605
|
-
"name": "shape",
|
|
1379
|
+
"name": "min-date",
|
|
1606
1380
|
"type": {
|
|
1607
|
-
"text": "
|
|
1381
|
+
"text": "string"
|
|
1608
1382
|
},
|
|
1609
|
-
"
|
|
1610
|
-
|
|
1611
|
-
|
|
1383
|
+
"fieldName": "minDate"
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
"name": "max-date",
|
|
1387
|
+
"type": {
|
|
1388
|
+
"text": "string"
|
|
1389
|
+
},
|
|
1390
|
+
"fieldName": "maxDate"
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
"name": "start-date",
|
|
1394
|
+
"type": {
|
|
1395
|
+
"text": "string"
|
|
1396
|
+
},
|
|
1397
|
+
"description": "The start date for the time series plot.",
|
|
1398
|
+
"fieldName": "startDate"
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
"name": "end-date",
|
|
1402
|
+
"type": {
|
|
1403
|
+
"text": "string"
|
|
1404
|
+
},
|
|
1405
|
+
"fieldName": "endDate"
|
|
1612
1406
|
},
|
|
1613
1407
|
{
|
|
1614
|
-
"kind": "field",
|
|
1615
1408
|
"name": "disabled",
|
|
1616
1409
|
"type": {
|
|
1617
1410
|
"text": "boolean"
|
|
1618
1411
|
},
|
|
1619
1412
|
"default": "false",
|
|
1620
|
-
"
|
|
1621
|
-
|
|
1622
|
-
|
|
1413
|
+
"fieldName": "disabled"
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
"name": "has-pips",
|
|
1417
|
+
"type": {
|
|
1418
|
+
"text": "boolean"
|
|
1419
|
+
},
|
|
1420
|
+
"default": "true",
|
|
1421
|
+
"fieldName": "hasPips"
|
|
1422
|
+
}
|
|
1423
|
+
],
|
|
1424
|
+
"superclass": {
|
|
1425
|
+
"name": "TerraElement",
|
|
1426
|
+
"module": "/src/internal/terra-element.js"
|
|
1427
|
+
},
|
|
1428
|
+
"summary": "Short summary of the component's intended use.",
|
|
1429
|
+
"tagNameWithoutPrefix": "date-range-slider",
|
|
1430
|
+
"tagName": "terra-date-range-slider",
|
|
1431
|
+
"customElement": true,
|
|
1432
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://disc.gsfc.nasa.gov/components/date-range-slider\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
1433
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/date-range-slider",
|
|
1434
|
+
"status": "experimental",
|
|
1435
|
+
"since": "1.0"
|
|
1436
|
+
}
|
|
1437
|
+
],
|
|
1438
|
+
"exports": [
|
|
1439
|
+
{
|
|
1440
|
+
"kind": "js",
|
|
1441
|
+
"name": "default",
|
|
1442
|
+
"declaration": {
|
|
1443
|
+
"name": "TerraDateRangeSlider",
|
|
1444
|
+
"module": "components/date-range-slider/date-range-slider.js"
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
]
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
"kind": "javascript-module",
|
|
1451
|
+
"path": "components/giovanni-search/giovanni-search.js",
|
|
1452
|
+
"declarations": [
|
|
1453
|
+
{
|
|
1454
|
+
"kind": "class",
|
|
1455
|
+
"description": "",
|
|
1456
|
+
"name": "TerraGiovanniSearch",
|
|
1457
|
+
"cssProperties": [
|
|
1458
|
+
{
|
|
1459
|
+
"description": "The height of the host element.",
|
|
1460
|
+
"name": "--host-height"
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
"description": "The height of the input's label element.",
|
|
1464
|
+
"name": "--label-height"
|
|
1465
|
+
}
|
|
1466
|
+
],
|
|
1467
|
+
"cssParts": [
|
|
1468
|
+
{
|
|
1469
|
+
"description": "A `search` element, the component's base.",
|
|
1470
|
+
"name": "base"
|
|
1623
1471
|
},
|
|
1624
1472
|
{
|
|
1625
|
-
"
|
|
1626
|
-
"name": "
|
|
1627
|
-
"type": {
|
|
1628
|
-
"text": "boolean"
|
|
1629
|
-
},
|
|
1630
|
-
"default": "false",
|
|
1631
|
-
"description": "Draws the button in a loading state.",
|
|
1632
|
-
"attribute": "loading",
|
|
1633
|
-
"reflects": true
|
|
1473
|
+
"description": "An `input` element used for searching.",
|
|
1474
|
+
"name": "combobox"
|
|
1634
1475
|
},
|
|
1635
1476
|
{
|
|
1636
|
-
"
|
|
1637
|
-
"name": "
|
|
1638
|
-
"type": {
|
|
1639
|
-
"text": "boolean"
|
|
1640
|
-
},
|
|
1641
|
-
"default": "false",
|
|
1642
|
-
"description": "Draws an outlined button.",
|
|
1643
|
-
"attribute": "outline",
|
|
1644
|
-
"reflects": true
|
|
1477
|
+
"description": "A `button` used for toggling the listbox's visibility.",
|
|
1478
|
+
"name": "button"
|
|
1645
1479
|
},
|
|
1480
|
+
{
|
|
1481
|
+
"description": "A `ul` that holds the clickable options.",
|
|
1482
|
+
"name": "listbox"
|
|
1483
|
+
}
|
|
1484
|
+
],
|
|
1485
|
+
"members": [
|
|
1646
1486
|
{
|
|
1647
1487
|
"kind": "field",
|
|
1648
|
-
"name": "
|
|
1488
|
+
"name": "dependencies",
|
|
1649
1489
|
"type": {
|
|
1650
|
-
"text": "
|
|
1490
|
+
"text": "object"
|
|
1651
1491
|
},
|
|
1652
|
-
"
|
|
1653
|
-
"
|
|
1654
|
-
"attribute": "circle",
|
|
1655
|
-
"reflects": true
|
|
1492
|
+
"static": true,
|
|
1493
|
+
"default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n }"
|
|
1656
1494
|
},
|
|
1657
1495
|
{
|
|
1658
1496
|
"kind": "field",
|
|
1659
|
-
"name": "
|
|
1497
|
+
"name": "shadowRootOptions",
|
|
1660
1498
|
"type": {
|
|
1661
|
-
"text": "
|
|
1499
|
+
"text": "object"
|
|
1662
1500
|
},
|
|
1663
|
-
"
|
|
1664
|
-
"
|
|
1665
|
-
"attribute": "type"
|
|
1501
|
+
"static": true,
|
|
1502
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
1666
1503
|
},
|
|
1667
1504
|
{
|
|
1668
1505
|
"kind": "field",
|
|
1669
|
-
"name": "
|
|
1506
|
+
"name": "tagName",
|
|
1670
1507
|
"type": {
|
|
1671
1508
|
"text": "string"
|
|
1672
1509
|
},
|
|
1673
|
-
"
|
|
1674
|
-
"
|
|
1675
|
-
"attribute": "name"
|
|
1510
|
+
"static": true,
|
|
1511
|
+
"default": "'terra-giovanni-search'"
|
|
1676
1512
|
},
|
|
1677
1513
|
{
|
|
1678
1514
|
"kind": "field",
|
|
1679
|
-
"name": "
|
|
1515
|
+
"name": "initialQuery",
|
|
1680
1516
|
"type": {
|
|
1681
1517
|
"text": "string"
|
|
1682
1518
|
},
|
|
1683
|
-
"
|
|
1684
|
-
"
|
|
1685
|
-
"attribute": "value"
|
|
1519
|
+
"static": true,
|
|
1520
|
+
"default": "''"
|
|
1686
1521
|
},
|
|
1687
1522
|
{
|
|
1688
1523
|
"kind": "field",
|
|
1689
|
-
"name": "
|
|
1524
|
+
"name": "#combobox",
|
|
1525
|
+
"privacy": "private",
|
|
1690
1526
|
"type": {
|
|
1691
|
-
"text": "
|
|
1527
|
+
"text": "HTMLInputElement | null"
|
|
1692
1528
|
},
|
|
1693
|
-
"default": "
|
|
1694
|
-
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
1695
|
-
"attribute": "href"
|
|
1529
|
+
"default": "null"
|
|
1696
1530
|
},
|
|
1697
1531
|
{
|
|
1698
1532
|
"kind": "field",
|
|
1699
|
-
"name": "
|
|
1533
|
+
"name": "#fetchController",
|
|
1534
|
+
"privacy": "private",
|
|
1535
|
+
"default": "new FetchController(this)"
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
"kind": "field",
|
|
1539
|
+
"name": "#listbox",
|
|
1540
|
+
"privacy": "private",
|
|
1700
1541
|
"type": {
|
|
1701
|
-
"text": "
|
|
1542
|
+
"text": "HTMLUListElement | null"
|
|
1702
1543
|
},
|
|
1703
|
-
"
|
|
1704
|
-
"attribute": "target"
|
|
1544
|
+
"default": "null"
|
|
1705
1545
|
},
|
|
1706
1546
|
{
|
|
1707
1547
|
"kind": "field",
|
|
1708
|
-
"name": "
|
|
1548
|
+
"name": "#searchEngine",
|
|
1549
|
+
"privacy": "private",
|
|
1709
1550
|
"type": {
|
|
1710
|
-
"text": "
|
|
1551
|
+
"text": "Fuse<ListItem> | null"
|
|
1711
1552
|
},
|
|
1712
|
-
"default": "
|
|
1713
|
-
"description": "When using `href`, this attribute will map to the underlying link's `rel` attribute. Unlike regular links, the\ndefault is `noreferrer noopener` to prevent security exploits. However, if you're using `target` to point to a\nspecific tab/window, this will prevent that from working correctly. You can remove or change the default value by\nsetting the attribute to an empty string or a value of your choice, respectively.",
|
|
1714
|
-
"attribute": "rel"
|
|
1553
|
+
"default": "null"
|
|
1715
1554
|
},
|
|
1716
1555
|
{
|
|
1717
1556
|
"kind": "field",
|
|
1718
|
-
"name": "
|
|
1557
|
+
"name": "#walker",
|
|
1558
|
+
"privacy": "private",
|
|
1719
1559
|
"type": {
|
|
1720
|
-
"text": "
|
|
1560
|
+
"text": "TreeWalker | null"
|
|
1721
1561
|
},
|
|
1722
|
-
"
|
|
1723
|
-
"attribute": "download"
|
|
1562
|
+
"default": "null"
|
|
1724
1563
|
},
|
|
1725
1564
|
{
|
|
1726
1565
|
"kind": "field",
|
|
1727
|
-
"name": "
|
|
1566
|
+
"name": "label",
|
|
1728
1567
|
"type": {
|
|
1729
1568
|
"text": "string"
|
|
1730
1569
|
},
|
|
1731
|
-
"
|
|
1732
|
-
"
|
|
1570
|
+
"default": "'Enter search terms (e.g., precipitation, AOD)'",
|
|
1571
|
+
"description": "Label the combobox with this.",
|
|
1572
|
+
"attribute": "label"
|
|
1733
1573
|
},
|
|
1734
1574
|
{
|
|
1735
1575
|
"kind": "field",
|
|
1736
|
-
"name": "
|
|
1576
|
+
"name": "placeholder",
|
|
1737
1577
|
"type": {
|
|
1738
1578
|
"text": "string"
|
|
1739
1579
|
},
|
|
1740
|
-
"description": "
|
|
1741
|
-
"attribute": "
|
|
1580
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1581
|
+
"attribute": "placeholder"
|
|
1742
1582
|
},
|
|
1743
1583
|
{
|
|
1744
1584
|
"kind": "field",
|
|
1745
|
-
"name": "
|
|
1585
|
+
"name": "hideLabel",
|
|
1746
1586
|
"type": {
|
|
1747
|
-
"text": "
|
|
1587
|
+
"text": "boolean"
|
|
1748
1588
|
},
|
|
1749
|
-
"
|
|
1750
|
-
"
|
|
1589
|
+
"default": "true",
|
|
1590
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1591
|
+
"attribute": "hide-label"
|
|
1751
1592
|
},
|
|
1752
1593
|
{
|
|
1753
1594
|
"kind": "field",
|
|
1754
|
-
"name": "
|
|
1595
|
+
"name": "searchConfig",
|
|
1755
1596
|
"type": {
|
|
1756
|
-
"text": "
|
|
1597
|
+
"text": "object"
|
|
1757
1598
|
},
|
|
1758
|
-
"
|
|
1759
|
-
"
|
|
1599
|
+
"default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
|
|
1600
|
+
"description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
|
|
1601
|
+
"attribute": "searchConfig"
|
|
1760
1602
|
},
|
|
1761
1603
|
{
|
|
1762
1604
|
"kind": "field",
|
|
1763
|
-
"name": "
|
|
1605
|
+
"name": "value",
|
|
1764
1606
|
"type": {
|
|
1765
|
-
"text": "
|
|
1607
|
+
"text": "string"
|
|
1766
1608
|
},
|
|
1767
|
-
"
|
|
1768
|
-
"attribute": "formnovalidate"
|
|
1609
|
+
"attribute": "value"
|
|
1769
1610
|
},
|
|
1770
1611
|
{
|
|
1771
1612
|
"kind": "field",
|
|
1772
|
-
"name": "
|
|
1613
|
+
"name": "isExpanded",
|
|
1773
1614
|
"type": {
|
|
1774
|
-
"text": "
|
|
1615
|
+
"text": "boolean"
|
|
1775
1616
|
},
|
|
1776
|
-
"
|
|
1777
|
-
"attribute": "formtarget"
|
|
1617
|
+
"default": "false"
|
|
1778
1618
|
},
|
|
1779
1619
|
{
|
|
1780
1620
|
"kind": "field",
|
|
1781
|
-
"name": "
|
|
1782
|
-
"description": "Gets the validity state object",
|
|
1783
|
-
"readonly": true
|
|
1621
|
+
"name": "query"
|
|
1784
1622
|
},
|
|
1785
1623
|
{
|
|
1786
1624
|
"kind": "field",
|
|
1787
|
-
"name": "
|
|
1788
|
-
"
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
"kind": "method",
|
|
1793
|
-
"name": "handleBlur",
|
|
1794
|
-
"privacy": "private"
|
|
1795
|
-
},
|
|
1796
|
-
{
|
|
1797
|
-
"kind": "method",
|
|
1798
|
-
"name": "handleFocus",
|
|
1799
|
-
"privacy": "private"
|
|
1800
|
-
},
|
|
1801
|
-
{
|
|
1802
|
-
"kind": "method",
|
|
1803
|
-
"name": "handleClick",
|
|
1804
|
-
"privacy": "private"
|
|
1625
|
+
"name": "searchResults",
|
|
1626
|
+
"type": {
|
|
1627
|
+
"text": "ListItem[]"
|
|
1628
|
+
},
|
|
1629
|
+
"default": "[]"
|
|
1805
1630
|
},
|
|
1806
1631
|
{
|
|
1807
1632
|
"kind": "method",
|
|
1808
|
-
"name": "
|
|
1809
|
-
"privacy": "private",
|
|
1633
|
+
"name": "valueChanged",
|
|
1810
1634
|
"parameters": [
|
|
1811
1635
|
{
|
|
1812
|
-
"name": "
|
|
1636
|
+
"name": "_oldValue",
|
|
1813
1637
|
"type": {
|
|
1814
|
-
"text": "
|
|
1638
|
+
"text": "string"
|
|
1639
|
+
}
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
"name": "newValue",
|
|
1643
|
+
"type": {
|
|
1644
|
+
"text": "string"
|
|
1815
1645
|
}
|
|
1816
1646
|
}
|
|
1817
1647
|
]
|
|
1818
1648
|
},
|
|
1819
1649
|
{
|
|
1820
1650
|
"kind": "method",
|
|
1821
|
-
"name": "
|
|
1822
|
-
"privacy": "private"
|
|
1823
|
-
},
|
|
1824
|
-
{
|
|
1825
|
-
"kind": "method",
|
|
1826
|
-
"name": "isLink",
|
|
1827
|
-
"privacy": "private"
|
|
1828
|
-
},
|
|
1829
|
-
{
|
|
1830
|
-
"kind": "method",
|
|
1831
|
-
"name": "handleDisabledChange"
|
|
1832
|
-
},
|
|
1833
|
-
{
|
|
1834
|
-
"kind": "method",
|
|
1835
|
-
"name": "click",
|
|
1836
|
-
"description": "Simulates a click on the button."
|
|
1651
|
+
"name": "clear"
|
|
1837
1652
|
},
|
|
1838
1653
|
{
|
|
1839
1654
|
"kind": "method",
|
|
1840
|
-
"name": "
|
|
1841
|
-
"parameters": [
|
|
1842
|
-
{
|
|
1843
|
-
"name": "options",
|
|
1844
|
-
"optional": true,
|
|
1845
|
-
"type": {
|
|
1846
|
-
"text": "FocusOptions"
|
|
1847
|
-
}
|
|
1848
|
-
}
|
|
1849
|
-
],
|
|
1850
|
-
"description": "Sets focus on the button."
|
|
1655
|
+
"name": "close"
|
|
1851
1656
|
},
|
|
1852
1657
|
{
|
|
1853
1658
|
"kind": "method",
|
|
1854
|
-
"name": "
|
|
1855
|
-
"description": "Removes focus from the button."
|
|
1659
|
+
"name": "toggle"
|
|
1856
1660
|
},
|
|
1857
1661
|
{
|
|
1858
|
-
"kind": "
|
|
1859
|
-
"name": "
|
|
1860
|
-
"
|
|
1662
|
+
"kind": "field",
|
|
1663
|
+
"name": "#dispatchChange",
|
|
1664
|
+
"privacy": "private"
|
|
1861
1665
|
},
|
|
1862
1666
|
{
|
|
1863
|
-
"kind": "
|
|
1864
|
-
"name": "
|
|
1865
|
-
"
|
|
1866
|
-
"type": {
|
|
1867
|
-
"text": "HTMLFormElement | null"
|
|
1868
|
-
}
|
|
1869
|
-
},
|
|
1870
|
-
"description": "Gets the associated form, if one exists."
|
|
1667
|
+
"kind": "field",
|
|
1668
|
+
"name": "#handleComboboxChange",
|
|
1669
|
+
"privacy": "private"
|
|
1871
1670
|
},
|
|
1872
1671
|
{
|
|
1873
|
-
"kind": "
|
|
1874
|
-
"name": "
|
|
1875
|
-
"
|
|
1672
|
+
"kind": "field",
|
|
1673
|
+
"name": "#handleOptionClick",
|
|
1674
|
+
"privacy": "private"
|
|
1876
1675
|
},
|
|
1877
1676
|
{
|
|
1878
|
-
"kind": "
|
|
1879
|
-
"name": "
|
|
1880
|
-
"
|
|
1881
|
-
{
|
|
1882
|
-
"name": "message",
|
|
1883
|
-
"type": {
|
|
1884
|
-
"text": "string"
|
|
1885
|
-
}
|
|
1886
|
-
}
|
|
1887
|
-
],
|
|
1888
|
-
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
1677
|
+
"kind": "field",
|
|
1678
|
+
"name": "#handleKeydown",
|
|
1679
|
+
"privacy": "private"
|
|
1889
1680
|
},
|
|
1890
1681
|
{
|
|
1891
|
-
"kind": "
|
|
1892
|
-
"name": "
|
|
1893
|
-
"
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
"
|
|
1899
|
-
{
|
|
1900
|
-
"name": "href",
|
|
1901
|
-
"type": {
|
|
1902
|
-
"text": "string"
|
|
1903
|
-
}
|
|
1904
|
-
}
|
|
1905
|
-
]
|
|
1682
|
+
"kind": "field",
|
|
1683
|
+
"name": "#manageListboxVisibility",
|
|
1684
|
+
"privacy": "private"
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
"kind": "field",
|
|
1688
|
+
"name": "#selectOption",
|
|
1689
|
+
"privacy": "private"
|
|
1906
1690
|
},
|
|
1907
1691
|
{
|
|
1908
1692
|
"kind": "method",
|
|
1909
|
-
"name": "
|
|
1910
|
-
"return": {
|
|
1911
|
-
"type": {
|
|
1912
|
-
"text": "string"
|
|
1913
|
-
}
|
|
1914
|
-
},
|
|
1693
|
+
"name": "#handleSearch",
|
|
1915
1694
|
"parameters": [
|
|
1916
1695
|
{
|
|
1917
|
-
"name": "
|
|
1696
|
+
"name": "query",
|
|
1918
1697
|
"type": {
|
|
1919
1698
|
"text": "string"
|
|
1920
1699
|
}
|
|
@@ -1922,208 +1701,429 @@
|
|
|
1922
1701
|
]
|
|
1923
1702
|
}
|
|
1924
1703
|
],
|
|
1704
|
+
"events": [
|
|
1705
|
+
{
|
|
1706
|
+
"description": "Emitted when an option is selected.",
|
|
1707
|
+
"name": "terra-giovanni-search-change",
|
|
1708
|
+
"reactName": "onTerraGiovanniSearchChange",
|
|
1709
|
+
"eventName": "TerraGiovanniSearchChangeEvent"
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"description": "Emitted when the component is triggering a search (like a form triggering submit).",
|
|
1713
|
+
"name": "terra-search",
|
|
1714
|
+
"reactName": "onTerraSearch",
|
|
1715
|
+
"eventName": "TerraSearchEvent"
|
|
1716
|
+
}
|
|
1717
|
+
],
|
|
1925
1718
|
"attributes": [
|
|
1926
1719
|
{
|
|
1927
|
-
"name": "
|
|
1720
|
+
"name": "label",
|
|
1928
1721
|
"type": {
|
|
1929
1722
|
"text": "string"
|
|
1930
1723
|
},
|
|
1931
|
-
"default": "''",
|
|
1932
|
-
"
|
|
1724
|
+
"default": "'Enter search terms (e.g., precipitation, AOD)'",
|
|
1725
|
+
"description": "Label the combobox with this.",
|
|
1726
|
+
"fieldName": "label"
|
|
1933
1727
|
},
|
|
1934
1728
|
{
|
|
1935
|
-
"name": "
|
|
1729
|
+
"name": "placeholder",
|
|
1936
1730
|
"type": {
|
|
1937
|
-
"text": "
|
|
1731
|
+
"text": "string"
|
|
1938
1732
|
},
|
|
1939
|
-
"
|
|
1940
|
-
"
|
|
1941
|
-
"fieldName": "variant"
|
|
1733
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1734
|
+
"fieldName": "placeholder"
|
|
1942
1735
|
},
|
|
1943
1736
|
{
|
|
1944
|
-
"name": "
|
|
1737
|
+
"name": "hide-label",
|
|
1945
1738
|
"type": {
|
|
1946
|
-
"text": "
|
|
1739
|
+
"text": "boolean"
|
|
1947
1740
|
},
|
|
1948
|
-
"default": "
|
|
1949
|
-
"description": "
|
|
1950
|
-
"fieldName": "
|
|
1741
|
+
"default": "true",
|
|
1742
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1743
|
+
"fieldName": "hideLabel"
|
|
1951
1744
|
},
|
|
1952
1745
|
{
|
|
1953
|
-
"name": "
|
|
1746
|
+
"name": "searchConfig",
|
|
1747
|
+
"type": {
|
|
1748
|
+
"text": "object"
|
|
1749
|
+
},
|
|
1750
|
+
"default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
|
|
1751
|
+
"description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
|
|
1752
|
+
"fieldName": "searchConfig"
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"name": "value",
|
|
1756
|
+
"type": {
|
|
1757
|
+
"text": "string"
|
|
1758
|
+
},
|
|
1759
|
+
"fieldName": "value"
|
|
1760
|
+
}
|
|
1761
|
+
],
|
|
1762
|
+
"superclass": {
|
|
1763
|
+
"name": "TerraElement",
|
|
1764
|
+
"module": "/src/internal/terra-element.js"
|
|
1765
|
+
},
|
|
1766
|
+
"summary": "Fuzzy-search for dataset keywords in combobox with list autocomplete.",
|
|
1767
|
+
"tagNameWithoutPrefix": "giovanni-search",
|
|
1768
|
+
"tagName": "terra-giovanni-search",
|
|
1769
|
+
"customElement": true,
|
|
1770
|
+
"jsDoc": "/**\n * @summary Fuzzy-search for dataset keywords in combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/giovanni-serch\n * @see https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list/\n * @status MVP\n * @since 1.0\n *\n * @csspart base - A `search` element, the component's base.\n * @csspart combobox - An `input` element used for searching.\n * @csspart button - A `button` used for toggling the listbox's visibility.\n * @csspart listbox - A `ul` that holds the clickable options.\n *\n * @cssproperty --host-height - The height of the host element.\n * @cssproperty --label-height - The height of the input's label element.\n *\n * @event terra-giovanni-search-change - Emitted when an option is selected.\n * @event terra-search - Emitted when the component is triggering a search (like a form triggering submit).\n */",
|
|
1771
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/giovanni-serch",
|
|
1772
|
+
"status": "MVP",
|
|
1773
|
+
"since": "1.0"
|
|
1774
|
+
}
|
|
1775
|
+
],
|
|
1776
|
+
"exports": [
|
|
1777
|
+
{
|
|
1778
|
+
"kind": "js",
|
|
1779
|
+
"name": "default",
|
|
1780
|
+
"declaration": {
|
|
1781
|
+
"name": "TerraGiovanniSearch",
|
|
1782
|
+
"module": "components/giovanni-search/giovanni-search.js"
|
|
1783
|
+
}
|
|
1784
|
+
}
|
|
1785
|
+
]
|
|
1786
|
+
},
|
|
1787
|
+
{
|
|
1788
|
+
"kind": "javascript-module",
|
|
1789
|
+
"path": "components/icon/icon.js",
|
|
1790
|
+
"declarations": [
|
|
1791
|
+
{
|
|
1792
|
+
"kind": "class",
|
|
1793
|
+
"description": "",
|
|
1794
|
+
"name": "TerraIcon",
|
|
1795
|
+
"cssParts": [
|
|
1796
|
+
{
|
|
1797
|
+
"description": "The internal SVG element.",
|
|
1798
|
+
"name": "svg"
|
|
1799
|
+
}
|
|
1800
|
+
],
|
|
1801
|
+
"members": [
|
|
1802
|
+
{
|
|
1803
|
+
"kind": "field",
|
|
1804
|
+
"name": "#initialRender",
|
|
1805
|
+
"privacy": "private",
|
|
1954
1806
|
"type": {
|
|
1955
1807
|
"text": "boolean"
|
|
1956
1808
|
},
|
|
1957
|
-
"default": "false"
|
|
1958
|
-
"description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
|
|
1959
|
-
"fieldName": "caret"
|
|
1809
|
+
"default": "false"
|
|
1960
1810
|
},
|
|
1961
1811
|
{
|
|
1962
|
-
"
|
|
1812
|
+
"kind": "field",
|
|
1813
|
+
"name": "svg",
|
|
1963
1814
|
"type": {
|
|
1964
|
-
"text": "
|
|
1815
|
+
"text": "SVGElement | HTMLTemplateResult | null"
|
|
1965
1816
|
},
|
|
1966
|
-
"
|
|
1967
|
-
"fieldName": "shape"
|
|
1817
|
+
"default": "null"
|
|
1968
1818
|
},
|
|
1969
1819
|
{
|
|
1970
|
-
"
|
|
1820
|
+
"kind": "field",
|
|
1821
|
+
"name": "name",
|
|
1971
1822
|
"type": {
|
|
1972
|
-
"text": "
|
|
1823
|
+
"text": "string | undefined"
|
|
1973
1824
|
},
|
|
1974
|
-
"
|
|
1975
|
-
"
|
|
1976
|
-
"
|
|
1825
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
1826
|
+
"attribute": "name",
|
|
1827
|
+
"reflects": true
|
|
1977
1828
|
},
|
|
1978
1829
|
{
|
|
1979
|
-
"
|
|
1830
|
+
"kind": "field",
|
|
1831
|
+
"name": "src",
|
|
1980
1832
|
"type": {
|
|
1981
|
-
"text": "
|
|
1833
|
+
"text": "string | undefined"
|
|
1982
1834
|
},
|
|
1983
|
-
"
|
|
1984
|
-
"
|
|
1985
|
-
"fieldName": "loading"
|
|
1835
|
+
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
1836
|
+
"attribute": "src"
|
|
1986
1837
|
},
|
|
1987
1838
|
{
|
|
1988
|
-
"
|
|
1839
|
+
"kind": "field",
|
|
1840
|
+
"name": "label",
|
|
1989
1841
|
"type": {
|
|
1990
|
-
"text": "
|
|
1842
|
+
"text": "string"
|
|
1991
1843
|
},
|
|
1992
|
-
"default": "
|
|
1993
|
-
"description": "
|
|
1994
|
-
"
|
|
1844
|
+
"default": "''",
|
|
1845
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
1846
|
+
"attribute": "label"
|
|
1995
1847
|
},
|
|
1996
1848
|
{
|
|
1997
|
-
"
|
|
1849
|
+
"kind": "field",
|
|
1850
|
+
"name": "library",
|
|
1998
1851
|
"type": {
|
|
1999
|
-
"text": "
|
|
1852
|
+
"text": "'default' | 'heroicons' | string"
|
|
2000
1853
|
},
|
|
2001
|
-
"default": "
|
|
2002
|
-
"description": "
|
|
2003
|
-
"
|
|
1854
|
+
"default": "'default'",
|
|
1855
|
+
"description": "The name of a registered custom icon library.",
|
|
1856
|
+
"attribute": "library",
|
|
1857
|
+
"reflects": true
|
|
2004
1858
|
},
|
|
2005
1859
|
{
|
|
2006
|
-
"
|
|
1860
|
+
"kind": "field",
|
|
1861
|
+
"name": "color",
|
|
2007
1862
|
"type": {
|
|
2008
|
-
"text": "
|
|
1863
|
+
"text": "string | null"
|
|
2009
1864
|
},
|
|
2010
|
-
"default": "
|
|
2011
|
-
"description": "The
|
|
2012
|
-
"
|
|
1865
|
+
"default": "null",
|
|
1866
|
+
"description": "The CSS color to assign to the SVG.",
|
|
1867
|
+
"attribute": "color"
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
"kind": "field",
|
|
1871
|
+
"name": "fontSize",
|
|
1872
|
+
"type": {
|
|
1873
|
+
"text": "string | null"
|
|
1874
|
+
},
|
|
1875
|
+
"default": "null",
|
|
1876
|
+
"description": "The CSS font-size to assign to the SVG.",
|
|
1877
|
+
"attribute": "font-size"
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"kind": "method",
|
|
1881
|
+
"name": "#resolveIcon",
|
|
1882
|
+
"return": {
|
|
1883
|
+
"type": {
|
|
1884
|
+
"text": "Promise<SVGResult>"
|
|
1885
|
+
}
|
|
1886
|
+
},
|
|
1887
|
+
"parameters": [
|
|
1888
|
+
{
|
|
1889
|
+
"name": "url",
|
|
1890
|
+
"type": {
|
|
1891
|
+
"text": "string"
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
],
|
|
1895
|
+
"description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
"kind": "method",
|
|
1899
|
+
"name": "#getIconSource",
|
|
1900
|
+
"return": {
|
|
1901
|
+
"type": {
|
|
1902
|
+
"text": "IconSource"
|
|
1903
|
+
}
|
|
1904
|
+
}
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
"kind": "method",
|
|
1908
|
+
"name": "#styleFromAttributes",
|
|
1909
|
+
"description": "SVG takes a few presentation attributes. Since we're using a template for SVG and our host element isn't an SVG, we can pass those presentational attributes into a style attribute to affect the underlying SVG.\nMerge select attributes with existing inline style attribute to forward values to underlying SVG."
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
"kind": "method",
|
|
1913
|
+
"name": "handleLabelChange"
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
"kind": "method",
|
|
1917
|
+
"name": "setIcon"
|
|
1918
|
+
}
|
|
1919
|
+
],
|
|
1920
|
+
"events": [
|
|
1921
|
+
{
|
|
1922
|
+
"description": "Emitted when the icon has loaded.",
|
|
1923
|
+
"name": "terra-load",
|
|
1924
|
+
"reactName": "onTerraLoad",
|
|
1925
|
+
"eventName": "TerraLoadEvent"
|
|
2013
1926
|
},
|
|
1927
|
+
{
|
|
1928
|
+
"description": "Emitted when the icon fails to load due to an error.",
|
|
1929
|
+
"name": "terra-error",
|
|
1930
|
+
"reactName": "onTerraError",
|
|
1931
|
+
"eventName": "TerraErrorEvent"
|
|
1932
|
+
}
|
|
1933
|
+
],
|
|
1934
|
+
"attributes": [
|
|
2014
1935
|
{
|
|
2015
1936
|
"name": "name",
|
|
2016
1937
|
"type": {
|
|
2017
|
-
"text": "string"
|
|
1938
|
+
"text": "string | undefined"
|
|
2018
1939
|
},
|
|
2019
|
-
"
|
|
2020
|
-
"description": "The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.\nThis attribute is ignored when `href` is present.",
|
|
1940
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
2021
1941
|
"fieldName": "name"
|
|
2022
1942
|
},
|
|
2023
1943
|
{
|
|
2024
|
-
"name": "
|
|
1944
|
+
"name": "src",
|
|
2025
1945
|
"type": {
|
|
2026
|
-
"text": "string"
|
|
1946
|
+
"text": "string | undefined"
|
|
2027
1947
|
},
|
|
2028
|
-
"
|
|
2029
|
-
"
|
|
2030
|
-
"fieldName": "value"
|
|
1948
|
+
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
1949
|
+
"fieldName": "src"
|
|
2031
1950
|
},
|
|
2032
1951
|
{
|
|
2033
|
-
"name": "
|
|
1952
|
+
"name": "label",
|
|
2034
1953
|
"type": {
|
|
2035
1954
|
"text": "string"
|
|
2036
1955
|
},
|
|
2037
1956
|
"default": "''",
|
|
2038
|
-
"description": "
|
|
2039
|
-
"fieldName": "
|
|
1957
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
1958
|
+
"fieldName": "label"
|
|
2040
1959
|
},
|
|
2041
1960
|
{
|
|
2042
|
-
"name": "
|
|
1961
|
+
"name": "library",
|
|
2043
1962
|
"type": {
|
|
2044
|
-
"text": "'
|
|
1963
|
+
"text": "'default' | 'heroicons' | string"
|
|
2045
1964
|
},
|
|
2046
|
-
"
|
|
2047
|
-
"
|
|
1965
|
+
"default": "'default'",
|
|
1966
|
+
"description": "The name of a registered custom icon library.",
|
|
1967
|
+
"fieldName": "library"
|
|
2048
1968
|
},
|
|
2049
1969
|
{
|
|
2050
|
-
"name": "
|
|
1970
|
+
"name": "color",
|
|
2051
1971
|
"type": {
|
|
2052
|
-
"text": "string"
|
|
1972
|
+
"text": "string | null"
|
|
2053
1973
|
},
|
|
2054
|
-
"default": "
|
|
2055
|
-
"description": "
|
|
2056
|
-
"fieldName": "
|
|
1974
|
+
"default": "null",
|
|
1975
|
+
"description": "The CSS color to assign to the SVG.",
|
|
1976
|
+
"fieldName": "color"
|
|
2057
1977
|
},
|
|
2058
1978
|
{
|
|
2059
|
-
"name": "
|
|
1979
|
+
"name": "font-size",
|
|
2060
1980
|
"type": {
|
|
2061
|
-
"text": "string |
|
|
1981
|
+
"text": "string | null"
|
|
2062
1982
|
},
|
|
2063
|
-
"
|
|
2064
|
-
"
|
|
1983
|
+
"default": "null",
|
|
1984
|
+
"description": "The CSS font-size to assign to the SVG.",
|
|
1985
|
+
"fieldName": "fontSize"
|
|
1986
|
+
}
|
|
1987
|
+
],
|
|
1988
|
+
"superclass": {
|
|
1989
|
+
"name": "TerraElement",
|
|
1990
|
+
"module": "/src/internal/terra-element.js"
|
|
1991
|
+
},
|
|
1992
|
+
"summary": "Icons are symbols that can be used to represent various options within an application.",
|
|
1993
|
+
"tagNameWithoutPrefix": "icon",
|
|
1994
|
+
"tagName": "terra-icon",
|
|
1995
|
+
"customElement": true,
|
|
1996
|
+
"jsDoc": "/**\n * @summary Icons are symbols that can be used to represent various options within an application.\n * @documentation https://disc.gsfc.nasa.gov/components/icon\n * @status experimental\n * @since 1.0\n *\n * @event terra-load - Emitted when the icon has loaded.\n * @event terra-error - Emitted when the icon fails to load due to an error.\n *\n * @csspart svg - The internal SVG element.\n */",
|
|
1997
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/icon",
|
|
1998
|
+
"status": "experimental",
|
|
1999
|
+
"since": "1.0"
|
|
2000
|
+
}
|
|
2001
|
+
],
|
|
2002
|
+
"exports": [
|
|
2003
|
+
{
|
|
2004
|
+
"kind": "js",
|
|
2005
|
+
"name": "default",
|
|
2006
|
+
"declaration": {
|
|
2007
|
+
"name": "TerraIcon",
|
|
2008
|
+
"module": "components/icon/icon.js"
|
|
2009
|
+
}
|
|
2010
|
+
}
|
|
2011
|
+
]
|
|
2012
|
+
},
|
|
2013
|
+
{
|
|
2014
|
+
"kind": "javascript-module",
|
|
2015
|
+
"path": "components/loader/loader.js",
|
|
2016
|
+
"declarations": [
|
|
2017
|
+
{
|
|
2018
|
+
"kind": "class",
|
|
2019
|
+
"description": "",
|
|
2020
|
+
"name": "TerraLoader",
|
|
2021
|
+
"cssProperties": [
|
|
2022
|
+
{
|
|
2023
|
+
"description": "An example CSS custom property.",
|
|
2024
|
+
"name": "--example"
|
|
2025
|
+
}
|
|
2026
|
+
],
|
|
2027
|
+
"cssParts": [
|
|
2028
|
+
{
|
|
2029
|
+
"description": "The component's base wrapper.",
|
|
2030
|
+
"name": "base"
|
|
2031
|
+
}
|
|
2032
|
+
],
|
|
2033
|
+
"members": [
|
|
2034
|
+
{
|
|
2035
|
+
"kind": "field",
|
|
2036
|
+
"name": "variant",
|
|
2037
|
+
"type": {
|
|
2038
|
+
"text": "'small' | 'large' | 'orbit'"
|
|
2039
|
+
},
|
|
2040
|
+
"default": "'large'",
|
|
2041
|
+
"description": "The loader's variant",
|
|
2042
|
+
"attribute": "variant",
|
|
2043
|
+
"reflects": true
|
|
2065
2044
|
},
|
|
2066
2045
|
{
|
|
2067
|
-
"
|
|
2046
|
+
"kind": "field",
|
|
2047
|
+
"name": "percent",
|
|
2068
2048
|
"type": {
|
|
2069
2049
|
"text": "string"
|
|
2070
2050
|
},
|
|
2071
|
-
"
|
|
2072
|
-
"
|
|
2051
|
+
"default": "'0'",
|
|
2052
|
+
"description": "The percent complete for the loader to display",
|
|
2053
|
+
"attribute": "percent"
|
|
2073
2054
|
},
|
|
2074
2055
|
{
|
|
2075
|
-
"
|
|
2056
|
+
"kind": "field",
|
|
2057
|
+
"name": "indeterminate",
|
|
2076
2058
|
"type": {
|
|
2077
|
-
"text": "
|
|
2059
|
+
"text": "boolean"
|
|
2078
2060
|
},
|
|
2079
|
-
"
|
|
2080
|
-
"
|
|
2061
|
+
"default": "false",
|
|
2062
|
+
"description": "an indeterminate loader has an unknown progress and will show a spinner",
|
|
2063
|
+
"attribute": "indeterminate"
|
|
2081
2064
|
},
|
|
2082
2065
|
{
|
|
2083
|
-
"
|
|
2066
|
+
"kind": "field",
|
|
2067
|
+
"name": "_currentPercent",
|
|
2084
2068
|
"type": {
|
|
2085
|
-
"text": "
|
|
2069
|
+
"text": "number"
|
|
2086
2070
|
},
|
|
2087
|
-
"
|
|
2088
|
-
"fieldName": "formEnctype"
|
|
2071
|
+
"default": "0"
|
|
2089
2072
|
},
|
|
2090
2073
|
{
|
|
2091
|
-
"
|
|
2074
|
+
"kind": "method",
|
|
2075
|
+
"name": "formatPercent",
|
|
2076
|
+
"parameters": [
|
|
2077
|
+
{
|
|
2078
|
+
"name": "percent",
|
|
2079
|
+
"type": {
|
|
2080
|
+
"text": "string"
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
]
|
|
2084
|
+
}
|
|
2085
|
+
],
|
|
2086
|
+
"attributes": [
|
|
2087
|
+
{
|
|
2088
|
+
"name": "variant",
|
|
2092
2089
|
"type": {
|
|
2093
|
-
"text": "'
|
|
2090
|
+
"text": "'small' | 'large' | 'orbit'"
|
|
2094
2091
|
},
|
|
2095
|
-
"
|
|
2096
|
-
"
|
|
2092
|
+
"default": "'large'",
|
|
2093
|
+
"description": "The loader's variant",
|
|
2094
|
+
"fieldName": "variant"
|
|
2097
2095
|
},
|
|
2098
2096
|
{
|
|
2099
|
-
"name": "
|
|
2097
|
+
"name": "percent",
|
|
2100
2098
|
"type": {
|
|
2101
|
-
"text": "
|
|
2099
|
+
"text": "string"
|
|
2102
2100
|
},
|
|
2103
|
-
"
|
|
2104
|
-
"
|
|
2101
|
+
"default": "'0'",
|
|
2102
|
+
"description": "The percent complete for the loader to display",
|
|
2103
|
+
"fieldName": "percent"
|
|
2105
2104
|
},
|
|
2106
2105
|
{
|
|
2107
|
-
"name": "
|
|
2106
|
+
"name": "indeterminate",
|
|
2108
2107
|
"type": {
|
|
2109
|
-
"text": "
|
|
2108
|
+
"text": "boolean"
|
|
2110
2109
|
},
|
|
2111
|
-
"
|
|
2112
|
-
"
|
|
2110
|
+
"default": "false",
|
|
2111
|
+
"description": "an indeterminate loader has an unknown progress and will show a spinner",
|
|
2112
|
+
"fieldName": "indeterminate"
|
|
2113
2113
|
}
|
|
2114
2114
|
],
|
|
2115
2115
|
"superclass": {
|
|
2116
2116
|
"name": "TerraElement",
|
|
2117
2117
|
"module": "/src/internal/terra-element.js"
|
|
2118
2118
|
},
|
|
2119
|
-
"summary": "
|
|
2120
|
-
"tagNameWithoutPrefix": "
|
|
2121
|
-
"tagName": "terra-
|
|
2119
|
+
"summary": "Loaders are used to indicate there is content that is loading.",
|
|
2120
|
+
"tagNameWithoutPrefix": "loader",
|
|
2121
|
+
"tagName": "terra-loader",
|
|
2122
2122
|
"customElement": true,
|
|
2123
|
-
"jsDoc": "/**\n * @summary
|
|
2124
|
-
"documentation": "https://
|
|
2125
|
-
"status": "
|
|
2126
|
-
"since": "
|
|
2123
|
+
"jsDoc": "/**\n * @summary Loaders are used to indicate there is content that is loading.\n * @documentation https://disc.gsfc.nasa.gov/components/loader\n * @status experimental\n * @since 1.0\n *\n *\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
2124
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/loader",
|
|
2125
|
+
"status": "experimental",
|
|
2126
|
+
"since": "1.0"
|
|
2127
2127
|
}
|
|
2128
2128
|
],
|
|
2129
2129
|
"exports": [
|
|
@@ -2131,8 +2131,8 @@
|
|
|
2131
2131
|
"kind": "js",
|
|
2132
2132
|
"name": "default",
|
|
2133
2133
|
"declaration": {
|
|
2134
|
-
"name": "
|
|
2135
|
-
"module": "components/
|
|
2134
|
+
"name": "TerraLoader",
|
|
2135
|
+
"module": "components/loader/loader.js"
|
|
2136
2136
|
}
|
|
2137
2137
|
}
|
|
2138
2138
|
]
|
|
@@ -2778,315 +2778,496 @@
|
|
|
2778
2778
|
},
|
|
2779
2779
|
{
|
|
2780
2780
|
"kind": "javascript-module",
|
|
2781
|
-
"path": "components/
|
|
2781
|
+
"path": "components/time-series/time-series.js",
|
|
2782
2782
|
"declarations": [
|
|
2783
2783
|
{
|
|
2784
2784
|
"kind": "class",
|
|
2785
2785
|
"description": "",
|
|
2786
|
-
"name": "
|
|
2787
|
-
"
|
|
2788
|
-
{
|
|
2789
|
-
"description": "The height of the host element.",
|
|
2790
|
-
"name": "--host-height"
|
|
2791
|
-
},
|
|
2792
|
-
{
|
|
2793
|
-
"description": "The height of the search help element.",
|
|
2794
|
-
"name": "--help-height"
|
|
2795
|
-
},
|
|
2796
|
-
{
|
|
2797
|
-
"description": "The height of the input's label element.",
|
|
2798
|
-
"name": "--label-height"
|
|
2799
|
-
}
|
|
2800
|
-
],
|
|
2801
|
-
"cssParts": [
|
|
2786
|
+
"name": "TerraTimeSeries",
|
|
2787
|
+
"members": [
|
|
2802
2788
|
{
|
|
2803
|
-
"
|
|
2804
|
-
"name": "
|
|
2789
|
+
"kind": "field",
|
|
2790
|
+
"name": "dependencies",
|
|
2791
|
+
"type": {
|
|
2792
|
+
"text": "object"
|
|
2793
|
+
},
|
|
2794
|
+
"static": true,
|
|
2795
|
+
"default": "{\n 'terra-plot': TerraPlot,\n 'terra-date-range-slider': TerraDateRangeSlider,\n 'terra-spatial-picker': TerraSpatialPicker,\n 'terra-variable-combobox': TerraVariableCombobox,\n 'terra-loader': TerraLoader,\n 'terra-icon': TerraIcon,\n 'terra-button': TerraButton,\n }"
|
|
2805
2796
|
},
|
|
2806
2797
|
{
|
|
2807
|
-
"
|
|
2808
|
-
"name": "
|
|
2798
|
+
"kind": "field",
|
|
2799
|
+
"name": "#timeSeriesController",
|
|
2800
|
+
"privacy": "private",
|
|
2801
|
+
"default": "new TimeSeriesController(this)"
|
|
2809
2802
|
},
|
|
2810
2803
|
{
|
|
2811
|
-
"
|
|
2812
|
-
"name": "
|
|
2804
|
+
"kind": "field",
|
|
2805
|
+
"name": "collection",
|
|
2806
|
+
"type": {
|
|
2807
|
+
"text": "string | undefined"
|
|
2808
|
+
},
|
|
2809
|
+
"description": "a collection entry id (ex: GPM_3IMERGHH_06)",
|
|
2810
|
+
"attribute": "collection",
|
|
2811
|
+
"reflects": true
|
|
2813
2812
|
},
|
|
2814
|
-
{
|
|
2815
|
-
"description": "A `ul` that holds the clickable options.",
|
|
2816
|
-
"name": "listbox"
|
|
2817
|
-
}
|
|
2818
|
-
],
|
|
2819
|
-
"members": [
|
|
2820
2813
|
{
|
|
2821
2814
|
"kind": "field",
|
|
2822
|
-
"name": "
|
|
2815
|
+
"name": "datasetLandingPage",
|
|
2823
2816
|
"type": {
|
|
2824
|
-
"text": "
|
|
2817
|
+
"text": "string | undefined"
|
|
2825
2818
|
},
|
|
2826
|
-
"
|
|
2827
|
-
"
|
|
2819
|
+
"description": "the dataset landing page for the collection",
|
|
2820
|
+
"attribute": "datasetLandingPage",
|
|
2821
|
+
"reflects": true
|
|
2828
2822
|
},
|
|
2829
2823
|
{
|
|
2830
2824
|
"kind": "field",
|
|
2831
|
-
"name": "
|
|
2825
|
+
"name": "variable",
|
|
2832
2826
|
"type": {
|
|
2833
|
-
"text": "
|
|
2827
|
+
"text": "string | undefined"
|
|
2834
2828
|
},
|
|
2835
|
-
"
|
|
2836
|
-
"
|
|
2829
|
+
"description": "a variable short name to plot (ex: precipitationCal)",
|
|
2830
|
+
"attribute": "variable",
|
|
2831
|
+
"reflects": true
|
|
2837
2832
|
},
|
|
2838
2833
|
{
|
|
2839
2834
|
"kind": "field",
|
|
2840
|
-
"name": "
|
|
2835
|
+
"name": "variableLandingPage",
|
|
2841
2836
|
"type": {
|
|
2842
|
-
"text": "string"
|
|
2837
|
+
"text": "string | undefined"
|
|
2843
2838
|
},
|
|
2844
|
-
"
|
|
2845
|
-
"
|
|
2839
|
+
"description": "the variable landing page",
|
|
2840
|
+
"attribute": "variableLandingPage",
|
|
2841
|
+
"reflects": true
|
|
2846
2842
|
},
|
|
2847
2843
|
{
|
|
2848
2844
|
"kind": "field",
|
|
2849
|
-
"name": "
|
|
2845
|
+
"name": "variableLongName",
|
|
2850
2846
|
"type": {
|
|
2851
|
-
"text": "string"
|
|
2847
|
+
"text": "string | undefined"
|
|
2852
2848
|
},
|
|
2853
|
-
"
|
|
2854
|
-
"
|
|
2849
|
+
"description": "a variable long name to plot (e.g., \"Longwave radiation flux downwards (surface)\")",
|
|
2850
|
+
"attribute": "variableLongName",
|
|
2851
|
+
"reflects": true
|
|
2855
2852
|
},
|
|
2856
2853
|
{
|
|
2857
2854
|
"kind": "field",
|
|
2858
|
-
"name": "
|
|
2859
|
-
"privacy": "private",
|
|
2855
|
+
"name": "startDate",
|
|
2860
2856
|
"type": {
|
|
2861
|
-
"text": "
|
|
2857
|
+
"text": "string | undefined"
|
|
2862
2858
|
},
|
|
2863
|
-
"
|
|
2859
|
+
"description": "The start date for the time series plot. (ex: 2021-01-01)",
|
|
2860
|
+
"attribute": "start-date",
|
|
2861
|
+
"reflects": true
|
|
2864
2862
|
},
|
|
2865
2863
|
{
|
|
2866
2864
|
"kind": "field",
|
|
2867
|
-
"name": "
|
|
2868
|
-
"
|
|
2869
|
-
|
|
2865
|
+
"name": "endDate",
|
|
2866
|
+
"type": {
|
|
2867
|
+
"text": "string | undefined"
|
|
2868
|
+
},
|
|
2869
|
+
"description": "The end date for the time series plot. (ex: 2021-01-01)",
|
|
2870
|
+
"attribute": "end-date",
|
|
2871
|
+
"reflects": true
|
|
2870
2872
|
},
|
|
2871
2873
|
{
|
|
2872
2874
|
"kind": "field",
|
|
2873
|
-
"name": "
|
|
2874
|
-
"privacy": "private",
|
|
2875
|
+
"name": "location",
|
|
2875
2876
|
"type": {
|
|
2876
|
-
"text": "
|
|
2877
|
+
"text": "string | undefined"
|
|
2877
2878
|
},
|
|
2878
|
-
"
|
|
2879
|
+
"description": "The point location in \"lat,lon\" format.",
|
|
2880
|
+
"attribute": "location",
|
|
2881
|
+
"reflects": true
|
|
2879
2882
|
},
|
|
2880
2883
|
{
|
|
2881
2884
|
"kind": "field",
|
|
2882
|
-
"name": "
|
|
2883
|
-
"privacy": "private",
|
|
2885
|
+
"name": "units",
|
|
2884
2886
|
"type": {
|
|
2885
|
-
"text": "
|
|
2887
|
+
"text": "string | undefined"
|
|
2886
2888
|
},
|
|
2887
|
-
"
|
|
2889
|
+
"description": "Units",
|
|
2890
|
+
"attribute": "units",
|
|
2891
|
+
"reflects": true
|
|
2888
2892
|
},
|
|
2889
2893
|
{
|
|
2890
2894
|
"kind": "field",
|
|
2891
|
-
"name": "
|
|
2892
|
-
"privacy": "private",
|
|
2895
|
+
"name": "dateRangeSlider",
|
|
2893
2896
|
"type": {
|
|
2894
|
-
"text": "
|
|
2895
|
-
}
|
|
2896
|
-
"default": "null"
|
|
2897
|
+
"text": "TerraDateRangeSlider"
|
|
2898
|
+
}
|
|
2897
2899
|
},
|
|
2898
2900
|
{
|
|
2899
2901
|
"kind": "field",
|
|
2900
|
-
"name": "
|
|
2901
|
-
"privacy": "private",
|
|
2902
|
+
"name": "plot",
|
|
2902
2903
|
"type": {
|
|
2903
|
-
"text": "
|
|
2904
|
-
}
|
|
2905
|
-
"default": "null"
|
|
2904
|
+
"text": "TerraPlot"
|
|
2905
|
+
}
|
|
2906
2906
|
},
|
|
2907
2907
|
{
|
|
2908
2908
|
"kind": "field",
|
|
2909
|
-
"name": "
|
|
2909
|
+
"name": "spatialPicker",
|
|
2910
2910
|
"type": {
|
|
2911
|
-
"text": "
|
|
2912
|
-
}
|
|
2913
|
-
"default": "'Search for Variables'",
|
|
2914
|
-
"description": "Label the combobox with this.",
|
|
2915
|
-
"attribute": "label"
|
|
2911
|
+
"text": "TerraSpatialPicker"
|
|
2912
|
+
}
|
|
2916
2913
|
},
|
|
2917
2914
|
{
|
|
2918
2915
|
"kind": "field",
|
|
2919
|
-
"name": "
|
|
2916
|
+
"name": "variableCombobox",
|
|
2920
2917
|
"type": {
|
|
2921
|
-
"text": "
|
|
2922
|
-
}
|
|
2923
|
-
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
2924
|
-
"attribute": "placeholder"
|
|
2918
|
+
"text": "TerraVariableCombobox"
|
|
2919
|
+
}
|
|
2925
2920
|
},
|
|
2926
2921
|
{
|
|
2927
2922
|
"kind": "field",
|
|
2928
|
-
"name": "
|
|
2923
|
+
"name": "menu",
|
|
2929
2924
|
"type": {
|
|
2930
|
-
"text": "
|
|
2931
|
-
}
|
|
2932
|
-
"default": "false",
|
|
2933
|
-
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
2934
|
-
"attribute": "hide-help"
|
|
2925
|
+
"text": "HTMLMenuElement"
|
|
2926
|
+
}
|
|
2935
2927
|
},
|
|
2936
2928
|
{
|
|
2937
2929
|
"kind": "field",
|
|
2938
|
-
"name": "
|
|
2930
|
+
"name": "collectionBeginningDateTime",
|
|
2939
2931
|
"type": {
|
|
2940
|
-
"text": "
|
|
2932
|
+
"text": "string | undefined"
|
|
2941
2933
|
},
|
|
2942
|
-
"
|
|
2943
|
-
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
2944
|
-
"attribute": "hide-label"
|
|
2934
|
+
"description": "holds the start date for the earliest available data for the collection"
|
|
2945
2935
|
},
|
|
2946
2936
|
{
|
|
2947
2937
|
"kind": "field",
|
|
2948
|
-
"name": "
|
|
2938
|
+
"name": "collectionEndingDateTime",
|
|
2949
2939
|
"type": {
|
|
2950
|
-
"text": "string"
|
|
2940
|
+
"text": "string | undefined"
|
|
2951
2941
|
},
|
|
2952
|
-
"
|
|
2942
|
+
"description": "holds the end date for the latest available data for the collection"
|
|
2953
2943
|
},
|
|
2954
2944
|
{
|
|
2955
2945
|
"kind": "field",
|
|
2956
|
-
"name": "
|
|
2946
|
+
"name": "activeMenuItem",
|
|
2957
2947
|
"type": {
|
|
2958
|
-
"text": "
|
|
2948
|
+
"text": "MenuNames"
|
|
2959
2949
|
},
|
|
2960
|
-
"default": "
|
|
2950
|
+
"default": "null"
|
|
2951
|
+
},
|
|
2952
|
+
{
|
|
2953
|
+
"kind": "method",
|
|
2954
|
+
"name": "handleCollectionUpdate",
|
|
2955
|
+
"parameters": [
|
|
2956
|
+
{
|
|
2957
|
+
"name": "_oldValue",
|
|
2958
|
+
"type": {
|
|
2959
|
+
"text": "string"
|
|
2960
|
+
}
|
|
2961
|
+
},
|
|
2962
|
+
{
|
|
2963
|
+
"name": "newValue",
|
|
2964
|
+
"type": {
|
|
2965
|
+
"text": "string"
|
|
2966
|
+
}
|
|
2967
|
+
}
|
|
2968
|
+
]
|
|
2969
|
+
},
|
|
2970
|
+
{
|
|
2971
|
+
"kind": "method",
|
|
2972
|
+
"name": "handlevariableUpdate",
|
|
2973
|
+
"parameters": [
|
|
2974
|
+
{
|
|
2975
|
+
"name": "_oldValue",
|
|
2976
|
+
"type": {
|
|
2977
|
+
"text": "string"
|
|
2978
|
+
}
|
|
2979
|
+
},
|
|
2980
|
+
{
|
|
2981
|
+
"name": "newValue",
|
|
2982
|
+
"type": {
|
|
2983
|
+
"text": "string"
|
|
2984
|
+
}
|
|
2985
|
+
}
|
|
2986
|
+
]
|
|
2987
|
+
},
|
|
2988
|
+
{
|
|
2989
|
+
"kind": "method",
|
|
2990
|
+
"name": "handleStartDateUpdate",
|
|
2991
|
+
"parameters": [
|
|
2992
|
+
{
|
|
2993
|
+
"name": "_oldValue",
|
|
2994
|
+
"type": {
|
|
2995
|
+
"text": "string"
|
|
2996
|
+
}
|
|
2997
|
+
},
|
|
2998
|
+
{
|
|
2999
|
+
"name": "newValue",
|
|
3000
|
+
"type": {
|
|
3001
|
+
"text": "string"
|
|
3002
|
+
}
|
|
3003
|
+
}
|
|
3004
|
+
]
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
"kind": "method",
|
|
3008
|
+
"name": "handleEndDateUpdate",
|
|
3009
|
+
"parameters": [
|
|
3010
|
+
{
|
|
3011
|
+
"name": "_oldValue",
|
|
3012
|
+
"type": {
|
|
3013
|
+
"text": "string"
|
|
3014
|
+
}
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
"name": "newValue",
|
|
3018
|
+
"type": {
|
|
3019
|
+
"text": "string"
|
|
3020
|
+
}
|
|
3021
|
+
}
|
|
3022
|
+
]
|
|
3023
|
+
},
|
|
3024
|
+
{
|
|
3025
|
+
"kind": "method",
|
|
3026
|
+
"name": "handleLocationUpdate",
|
|
3027
|
+
"parameters": [
|
|
3028
|
+
{
|
|
3029
|
+
"name": "_oldValue",
|
|
3030
|
+
"type": {
|
|
3031
|
+
"text": "string"
|
|
3032
|
+
}
|
|
3033
|
+
},
|
|
3034
|
+
{
|
|
3035
|
+
"name": "newValue",
|
|
3036
|
+
"type": {
|
|
3037
|
+
"text": "string"
|
|
3038
|
+
}
|
|
3039
|
+
}
|
|
3040
|
+
]
|
|
3041
|
+
},
|
|
3042
|
+
{
|
|
3043
|
+
"kind": "method",
|
|
3044
|
+
"name": "handleFocus",
|
|
3045
|
+
"parameters": [
|
|
3046
|
+
{
|
|
3047
|
+
"name": "_oldValue",
|
|
3048
|
+
"type": {
|
|
3049
|
+
"text": "MenuNames"
|
|
3050
|
+
}
|
|
3051
|
+
},
|
|
3052
|
+
{
|
|
3053
|
+
"name": "newValue",
|
|
3054
|
+
"type": {
|
|
3055
|
+
"text": "MenuNames"
|
|
3056
|
+
}
|
|
3057
|
+
}
|
|
3058
|
+
]
|
|
3059
|
+
},
|
|
3060
|
+
{
|
|
3061
|
+
"kind": "method",
|
|
3062
|
+
"name": "#adaptPropertyToController",
|
|
3063
|
+
"parameters": [
|
|
3064
|
+
{
|
|
3065
|
+
"name": "property",
|
|
3066
|
+
"type": {
|
|
3067
|
+
"text": "'collection' | 'variable' | 'startDate' | 'endDate' | 'location'"
|
|
3068
|
+
}
|
|
3069
|
+
},
|
|
3070
|
+
{
|
|
3071
|
+
"name": "value",
|
|
3072
|
+
"type": {
|
|
3073
|
+
"text": "any"
|
|
3074
|
+
}
|
|
3075
|
+
}
|
|
3076
|
+
]
|
|
2961
3077
|
},
|
|
2962
3078
|
{
|
|
2963
|
-
"kind": "
|
|
2964
|
-
"name": "
|
|
3079
|
+
"kind": "method",
|
|
3080
|
+
"name": "#maybeSliceTimeForStartEnd",
|
|
3081
|
+
"description": "The Collection Beginning DateTime changes when a new collection is selected.\nWe want to auto-select a reasonable slice of time and send a request to the data API, the\nsame as if the user moved the time slider.\nHowever, if the component has the startDate or endDate set externally, don't override that;\nthis is an init-only action."
|
|
2965
3082
|
},
|
|
2966
3083
|
{
|
|
2967
|
-
"kind": "
|
|
2968
|
-
"name": "
|
|
2969
|
-
"
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
3084
|
+
"kind": "method",
|
|
3085
|
+
"name": "#handleVariableChange",
|
|
3086
|
+
"parameters": [
|
|
3087
|
+
{
|
|
3088
|
+
"name": "event",
|
|
3089
|
+
"type": {
|
|
3090
|
+
"text": "TerraComboboxChangeEvent"
|
|
3091
|
+
}
|
|
3092
|
+
}
|
|
3093
|
+
]
|
|
2973
3094
|
},
|
|
2974
3095
|
{
|
|
2975
3096
|
"kind": "method",
|
|
2976
|
-
"name": "
|
|
3097
|
+
"name": "#handleMapChange",
|
|
3098
|
+
"parameters": [
|
|
3099
|
+
{
|
|
3100
|
+
"name": "event",
|
|
3101
|
+
"type": {
|
|
3102
|
+
"text": "CustomEvent"
|
|
3103
|
+
}
|
|
3104
|
+
}
|
|
3105
|
+
]
|
|
2977
3106
|
},
|
|
2978
3107
|
{
|
|
2979
3108
|
"kind": "method",
|
|
2980
|
-
"name": "
|
|
3109
|
+
"name": "#handleDateRangeSliderChangeEvent",
|
|
3110
|
+
"parameters": [
|
|
3111
|
+
{
|
|
3112
|
+
"name": "event",
|
|
3113
|
+
"type": {
|
|
3114
|
+
"text": "TerraDateRangeChangeEvent"
|
|
3115
|
+
}
|
|
3116
|
+
}
|
|
3117
|
+
],
|
|
3118
|
+
"description": "anytime the date range slider changes, update the start and end date"
|
|
2981
3119
|
},
|
|
2982
3120
|
{
|
|
2983
3121
|
"kind": "method",
|
|
2984
|
-
"name": "
|
|
3122
|
+
"name": "#abortDataLoad",
|
|
3123
|
+
"description": "aborts the underlying data loading task, which cancels the network request"
|
|
2985
3124
|
},
|
|
2986
3125
|
{
|
|
2987
3126
|
"kind": "method",
|
|
2988
|
-
"name": "
|
|
3127
|
+
"name": "#downloadCSV",
|
|
3128
|
+
"parameters": [
|
|
3129
|
+
{
|
|
3130
|
+
"name": "_event",
|
|
3131
|
+
"type": {
|
|
3132
|
+
"text": "Event"
|
|
3133
|
+
}
|
|
3134
|
+
}
|
|
3135
|
+
],
|
|
3136
|
+
"description": "TODO:\n[x] re-enable downloads here\n[x] get live data from Giovanni\n[x] display required information in information menuitem\n[x] ask about adding help links\n[ ] see what can be simplified from downloadCSV"
|
|
2989
3137
|
},
|
|
2990
3138
|
{
|
|
2991
|
-
"kind": "
|
|
2992
|
-
"name": "#
|
|
2993
|
-
"
|
|
3139
|
+
"kind": "method",
|
|
3140
|
+
"name": "#convertToCSV",
|
|
3141
|
+
"return": {
|
|
3142
|
+
"type": {
|
|
3143
|
+
"text": "string"
|
|
3144
|
+
}
|
|
3145
|
+
},
|
|
3146
|
+
"parameters": [
|
|
3147
|
+
{
|
|
3148
|
+
"name": "data",
|
|
3149
|
+
"type": {
|
|
3150
|
+
"text": "any[]"
|
|
3151
|
+
}
|
|
3152
|
+
}
|
|
3153
|
+
]
|
|
2994
3154
|
},
|
|
2995
3155
|
{
|
|
2996
|
-
"kind": "
|
|
2997
|
-
"name": "#
|
|
2998
|
-
"
|
|
3156
|
+
"kind": "method",
|
|
3157
|
+
"name": "#downloadPNG",
|
|
3158
|
+
"parameters": [
|
|
3159
|
+
{
|
|
3160
|
+
"name": "_event",
|
|
3161
|
+
"type": {
|
|
3162
|
+
"text": "Event"
|
|
3163
|
+
}
|
|
3164
|
+
}
|
|
3165
|
+
]
|
|
2999
3166
|
},
|
|
3000
3167
|
{
|
|
3001
|
-
"kind": "
|
|
3002
|
-
"name": "#
|
|
3003
|
-
"
|
|
3004
|
-
|
|
3168
|
+
"kind": "method",
|
|
3169
|
+
"name": "#handleActiveMenuItem",
|
|
3170
|
+
"parameters": [
|
|
3171
|
+
{
|
|
3172
|
+
"name": "event",
|
|
3173
|
+
"type": {
|
|
3174
|
+
"text": "Event"
|
|
3175
|
+
}
|
|
3176
|
+
}
|
|
3177
|
+
]
|
|
3178
|
+
}
|
|
3179
|
+
],
|
|
3180
|
+
"attributes": [
|
|
3005
3181
|
{
|
|
3006
|
-
"
|
|
3007
|
-
"
|
|
3008
|
-
|
|
3182
|
+
"name": "collection",
|
|
3183
|
+
"type": {
|
|
3184
|
+
"text": "string | undefined"
|
|
3185
|
+
},
|
|
3186
|
+
"description": "a collection entry id (ex: GPM_3IMERGHH_06)",
|
|
3187
|
+
"fieldName": "collection"
|
|
3009
3188
|
},
|
|
3010
3189
|
{
|
|
3011
|
-
"
|
|
3012
|
-
"
|
|
3013
|
-
|
|
3190
|
+
"name": "datasetLandingPage",
|
|
3191
|
+
"type": {
|
|
3192
|
+
"text": "string | undefined"
|
|
3193
|
+
},
|
|
3194
|
+
"description": "the dataset landing page for the collection",
|
|
3195
|
+
"fieldName": "datasetLandingPage"
|
|
3014
3196
|
},
|
|
3015
3197
|
{
|
|
3016
|
-
"
|
|
3017
|
-
"
|
|
3018
|
-
|
|
3198
|
+
"name": "variable",
|
|
3199
|
+
"type": {
|
|
3200
|
+
"text": "string | undefined"
|
|
3201
|
+
},
|
|
3202
|
+
"description": "a variable short name to plot (ex: precipitationCal)",
|
|
3203
|
+
"fieldName": "variable"
|
|
3019
3204
|
},
|
|
3020
3205
|
{
|
|
3021
|
-
"
|
|
3022
|
-
"
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
"description": "Emitted when an option is selected.",
|
|
3029
|
-
"name": "terra-combobox-change",
|
|
3030
|
-
"reactName": "onTerraComboboxChange",
|
|
3031
|
-
"eventName": "TerraComboboxChangeEvent"
|
|
3032
|
-
}
|
|
3033
|
-
],
|
|
3034
|
-
"attributes": [
|
|
3206
|
+
"name": "variableLandingPage",
|
|
3207
|
+
"type": {
|
|
3208
|
+
"text": "string | undefined"
|
|
3209
|
+
},
|
|
3210
|
+
"description": "the variable landing page",
|
|
3211
|
+
"fieldName": "variableLandingPage"
|
|
3212
|
+
},
|
|
3035
3213
|
{
|
|
3036
|
-
"name": "
|
|
3214
|
+
"name": "variableLongName",
|
|
3037
3215
|
"type": {
|
|
3038
|
-
"text": "string"
|
|
3216
|
+
"text": "string | undefined"
|
|
3039
3217
|
},
|
|
3040
|
-
"
|
|
3041
|
-
"
|
|
3042
|
-
"fieldName": "label"
|
|
3218
|
+
"description": "a variable long name to plot (e.g., \"Longwave radiation flux downwards (surface)\")",
|
|
3219
|
+
"fieldName": "variableLongName"
|
|
3043
3220
|
},
|
|
3044
3221
|
{
|
|
3045
|
-
"name": "
|
|
3222
|
+
"name": "start-date",
|
|
3046
3223
|
"type": {
|
|
3047
|
-
"text": "string"
|
|
3224
|
+
"text": "string | undefined"
|
|
3048
3225
|
},
|
|
3049
|
-
"description": "
|
|
3050
|
-
"fieldName": "
|
|
3226
|
+
"description": "The start date for the time series plot. (ex: 2021-01-01)",
|
|
3227
|
+
"fieldName": "startDate"
|
|
3051
3228
|
},
|
|
3052
3229
|
{
|
|
3053
|
-
"name": "
|
|
3230
|
+
"name": "end-date",
|
|
3054
3231
|
"type": {
|
|
3055
|
-
"text": "
|
|
3232
|
+
"text": "string | undefined"
|
|
3056
3233
|
},
|
|
3057
|
-
"
|
|
3058
|
-
"
|
|
3059
|
-
"fieldName": "hideHelp"
|
|
3234
|
+
"description": "The end date for the time series plot. (ex: 2021-01-01)",
|
|
3235
|
+
"fieldName": "endDate"
|
|
3060
3236
|
},
|
|
3061
3237
|
{
|
|
3062
|
-
"name": "
|
|
3238
|
+
"name": "location",
|
|
3063
3239
|
"type": {
|
|
3064
|
-
"text": "
|
|
3240
|
+
"text": "string | undefined"
|
|
3065
3241
|
},
|
|
3066
|
-
"
|
|
3067
|
-
"
|
|
3068
|
-
"fieldName": "hideLabel"
|
|
3242
|
+
"description": "The point location in \"lat,lon\" format.",
|
|
3243
|
+
"fieldName": "location"
|
|
3069
3244
|
},
|
|
3070
3245
|
{
|
|
3071
|
-
"name": "
|
|
3246
|
+
"name": "units",
|
|
3072
3247
|
"type": {
|
|
3073
|
-
"text": "string"
|
|
3248
|
+
"text": "string | undefined"
|
|
3074
3249
|
},
|
|
3075
|
-
"
|
|
3250
|
+
"description": "Units",
|
|
3251
|
+
"fieldName": "units"
|
|
3076
3252
|
}
|
|
3077
3253
|
],
|
|
3078
3254
|
"superclass": {
|
|
3079
3255
|
"name": "TerraElement",
|
|
3080
3256
|
"module": "/src/internal/terra-element.js"
|
|
3081
3257
|
},
|
|
3082
|
-
"summary": "
|
|
3083
|
-
"tagNameWithoutPrefix": "
|
|
3084
|
-
"tagName": "terra-
|
|
3258
|
+
"summary": "A component for visualizing time series data using the GES DISC Giovanni API.",
|
|
3259
|
+
"tagNameWithoutPrefix": "time-series",
|
|
3260
|
+
"tagName": "terra-time-series",
|
|
3085
3261
|
"customElement": true,
|
|
3086
|
-
"jsDoc": "/**\n * @summary
|
|
3087
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
3088
|
-
"status": "
|
|
3089
|
-
"since": "1.0"
|
|
3262
|
+
"jsDoc": "/**\n * @summary A component for visualizing time series data using the GES DISC Giovanni API.\n * @documentation https://disc.gsfc.nasa.gov/components/time-series\n * @status mvp\n * @since 1.0\n *\n * @dependency terra-plot\n * @dependency terra-date-range-slider\n * @dependency terra-variable-combobox\n */",
|
|
3263
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/time-series",
|
|
3264
|
+
"status": "mvp",
|
|
3265
|
+
"since": "1.0",
|
|
3266
|
+
"dependencies": [
|
|
3267
|
+
"terra-plot",
|
|
3268
|
+
"terra-date-range-slider",
|
|
3269
|
+
"terra-variable-combobox"
|
|
3270
|
+
]
|
|
3090
3271
|
}
|
|
3091
3272
|
],
|
|
3092
3273
|
"exports": [
|
|
@@ -3094,20 +3275,52 @@
|
|
|
3094
3275
|
"kind": "js",
|
|
3095
3276
|
"name": "default",
|
|
3096
3277
|
"declaration": {
|
|
3097
|
-
"name": "
|
|
3098
|
-
"module": "components/
|
|
3278
|
+
"name": "TerraTimeSeries",
|
|
3279
|
+
"module": "components/time-series/time-series.js"
|
|
3099
3280
|
}
|
|
3100
3281
|
}
|
|
3101
3282
|
]
|
|
3102
3283
|
},
|
|
3103
3284
|
{
|
|
3104
3285
|
"kind": "javascript-module",
|
|
3105
|
-
"path": "components/
|
|
3286
|
+
"path": "components/variable-combobox/variable-combobox.js",
|
|
3106
3287
|
"declarations": [
|
|
3107
3288
|
{
|
|
3108
3289
|
"kind": "class",
|
|
3109
3290
|
"description": "",
|
|
3110
|
-
"name": "
|
|
3291
|
+
"name": "TerraVariableCombobox",
|
|
3292
|
+
"cssProperties": [
|
|
3293
|
+
{
|
|
3294
|
+
"description": "The height of the host element.",
|
|
3295
|
+
"name": "--host-height"
|
|
3296
|
+
},
|
|
3297
|
+
{
|
|
3298
|
+
"description": "The height of the search help element.",
|
|
3299
|
+
"name": "--help-height"
|
|
3300
|
+
},
|
|
3301
|
+
{
|
|
3302
|
+
"description": "The height of the input's label element.",
|
|
3303
|
+
"name": "--label-height"
|
|
3304
|
+
}
|
|
3305
|
+
],
|
|
3306
|
+
"cssParts": [
|
|
3307
|
+
{
|
|
3308
|
+
"description": "A `search` element, the component's base.",
|
|
3309
|
+
"name": "base"
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
"description": "An `input` element used for searching.",
|
|
3313
|
+
"name": "combobox"
|
|
3314
|
+
},
|
|
3315
|
+
{
|
|
3316
|
+
"description": "A `button` used for toggling the listbox's visibility.",
|
|
3317
|
+
"name": "button"
|
|
3318
|
+
},
|
|
3319
|
+
{
|
|
3320
|
+
"description": "A `ul` that holds the clickable options.",
|
|
3321
|
+
"name": "listbox"
|
|
3322
|
+
}
|
|
3323
|
+
],
|
|
3111
3324
|
"members": [
|
|
3112
3325
|
{
|
|
3113
3326
|
"kind": "field",
|
|
@@ -3116,482 +3329,269 @@
|
|
|
3116
3329
|
"text": "object"
|
|
3117
3330
|
},
|
|
3118
3331
|
"static": true,
|
|
3119
|
-
"default": "{\n 'terra-
|
|
3120
|
-
},
|
|
3121
|
-
{
|
|
3122
|
-
"kind": "field",
|
|
3123
|
-
"name": "#timeSeriesController",
|
|
3124
|
-
"privacy": "private",
|
|
3125
|
-
"default": "new TimeSeriesController(this)"
|
|
3332
|
+
"default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n }"
|
|
3126
3333
|
},
|
|
3127
3334
|
{
|
|
3128
3335
|
"kind": "field",
|
|
3129
|
-
"name": "
|
|
3336
|
+
"name": "shadowRootOptions",
|
|
3130
3337
|
"type": {
|
|
3131
|
-
"text": "
|
|
3338
|
+
"text": "object"
|
|
3132
3339
|
},
|
|
3133
|
-
"
|
|
3134
|
-
"
|
|
3135
|
-
"reflects": true
|
|
3340
|
+
"static": true,
|
|
3341
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
3136
3342
|
},
|
|
3137
3343
|
{
|
|
3138
3344
|
"kind": "field",
|
|
3139
|
-
"name": "
|
|
3345
|
+
"name": "tagName",
|
|
3140
3346
|
"type": {
|
|
3141
|
-
"text": "string
|
|
3347
|
+
"text": "string"
|
|
3142
3348
|
},
|
|
3143
|
-
"
|
|
3144
|
-
"
|
|
3145
|
-
"reflects": true
|
|
3349
|
+
"static": true,
|
|
3350
|
+
"default": "'terra-variable-combobox'"
|
|
3146
3351
|
},
|
|
3147
3352
|
{
|
|
3148
3353
|
"kind": "field",
|
|
3149
|
-
"name": "
|
|
3354
|
+
"name": "initialQuery",
|
|
3150
3355
|
"type": {
|
|
3151
|
-
"text": "string
|
|
3356
|
+
"text": "string"
|
|
3152
3357
|
},
|
|
3153
|
-
"
|
|
3154
|
-
"
|
|
3155
|
-
"reflects": true
|
|
3358
|
+
"static": true,
|
|
3359
|
+
"default": "''"
|
|
3156
3360
|
},
|
|
3157
3361
|
{
|
|
3158
3362
|
"kind": "field",
|
|
3159
|
-
"name": "
|
|
3363
|
+
"name": "#combobox",
|
|
3364
|
+
"privacy": "private",
|
|
3160
3365
|
"type": {
|
|
3161
|
-
"text": "
|
|
3366
|
+
"text": "HTMLInputElement | null"
|
|
3162
3367
|
},
|
|
3163
|
-
"
|
|
3164
|
-
"attribute": "variableLandingPage",
|
|
3165
|
-
"reflects": true
|
|
3368
|
+
"default": "null"
|
|
3166
3369
|
},
|
|
3167
3370
|
{
|
|
3168
3371
|
"kind": "field",
|
|
3169
|
-
"name": "
|
|
3170
|
-
"
|
|
3171
|
-
|
|
3172
|
-
},
|
|
3173
|
-
"description": "a variable long name to plot (e.g., \"Longwave radiation flux downwards (surface)\")",
|
|
3174
|
-
"attribute": "variableLongName",
|
|
3175
|
-
"reflects": true
|
|
3372
|
+
"name": "#fetchController",
|
|
3373
|
+
"privacy": "private",
|
|
3374
|
+
"default": "new FetchController(this)"
|
|
3176
3375
|
},
|
|
3177
3376
|
{
|
|
3178
3377
|
"kind": "field",
|
|
3179
|
-
"name": "
|
|
3378
|
+
"name": "#searchableList",
|
|
3379
|
+
"privacy": "private",
|
|
3180
3380
|
"type": {
|
|
3181
|
-
"text": "
|
|
3381
|
+
"text": "ListItem[]"
|
|
3182
3382
|
},
|
|
3183
|
-
"
|
|
3184
|
-
"attribute": "start-date",
|
|
3185
|
-
"reflects": true
|
|
3383
|
+
"default": "[]"
|
|
3186
3384
|
},
|
|
3187
3385
|
{
|
|
3188
3386
|
"kind": "field",
|
|
3189
|
-
"name": "
|
|
3387
|
+
"name": "#listbox",
|
|
3388
|
+
"privacy": "private",
|
|
3190
3389
|
"type": {
|
|
3191
|
-
"text": "
|
|
3390
|
+
"text": "HTMLUListElement | null"
|
|
3192
3391
|
},
|
|
3193
|
-
"
|
|
3194
|
-
"attribute": "end-date",
|
|
3195
|
-
"reflects": true
|
|
3392
|
+
"default": "null"
|
|
3196
3393
|
},
|
|
3197
3394
|
{
|
|
3198
3395
|
"kind": "field",
|
|
3199
|
-
"name": "
|
|
3396
|
+
"name": "#searchEngine",
|
|
3397
|
+
"privacy": "private",
|
|
3200
3398
|
"type": {
|
|
3201
|
-
"text": "
|
|
3399
|
+
"text": "Fuse<ListItem> | null"
|
|
3202
3400
|
},
|
|
3203
|
-
"
|
|
3204
|
-
"attribute": "location",
|
|
3205
|
-
"reflects": true
|
|
3401
|
+
"default": "null"
|
|
3206
3402
|
},
|
|
3207
3403
|
{
|
|
3208
3404
|
"kind": "field",
|
|
3209
|
-
"name": "
|
|
3405
|
+
"name": "#walker",
|
|
3406
|
+
"privacy": "private",
|
|
3210
3407
|
"type": {
|
|
3211
|
-
"text": "
|
|
3408
|
+
"text": "TreeWalker | null"
|
|
3212
3409
|
},
|
|
3213
|
-
"
|
|
3214
|
-
"attribute": "units",
|
|
3215
|
-
"reflects": true
|
|
3216
|
-
},
|
|
3217
|
-
{
|
|
3218
|
-
"kind": "field",
|
|
3219
|
-
"name": "dateRangeSlider",
|
|
3220
|
-
"type": {
|
|
3221
|
-
"text": "TerraDateRangeSlider"
|
|
3222
|
-
}
|
|
3223
|
-
},
|
|
3224
|
-
{
|
|
3225
|
-
"kind": "field",
|
|
3226
|
-
"name": "plot",
|
|
3227
|
-
"type": {
|
|
3228
|
-
"text": "TerraPlot"
|
|
3229
|
-
}
|
|
3230
|
-
},
|
|
3231
|
-
{
|
|
3232
|
-
"kind": "field",
|
|
3233
|
-
"name": "spatialPicker",
|
|
3234
|
-
"type": {
|
|
3235
|
-
"text": "TerraSpatialPicker"
|
|
3236
|
-
}
|
|
3237
|
-
},
|
|
3238
|
-
{
|
|
3239
|
-
"kind": "field",
|
|
3240
|
-
"name": "variableCombobox",
|
|
3241
|
-
"type": {
|
|
3242
|
-
"text": "TerraVariableCombobox"
|
|
3243
|
-
}
|
|
3244
|
-
},
|
|
3245
|
-
{
|
|
3246
|
-
"kind": "field",
|
|
3247
|
-
"name": "menu",
|
|
3248
|
-
"type": {
|
|
3249
|
-
"text": "HTMLMenuElement"
|
|
3250
|
-
}
|
|
3410
|
+
"default": "null"
|
|
3251
3411
|
},
|
|
3252
3412
|
{
|
|
3253
3413
|
"kind": "field",
|
|
3254
|
-
"name": "
|
|
3414
|
+
"name": "label",
|
|
3255
3415
|
"type": {
|
|
3256
|
-
"text": "string
|
|
3416
|
+
"text": "string"
|
|
3257
3417
|
},
|
|
3258
|
-
"
|
|
3418
|
+
"default": "'Search for Variables'",
|
|
3419
|
+
"description": "Label the combobox with this.",
|
|
3420
|
+
"attribute": "label"
|
|
3259
3421
|
},
|
|
3260
3422
|
{
|
|
3261
3423
|
"kind": "field",
|
|
3262
|
-
"name": "
|
|
3424
|
+
"name": "placeholder",
|
|
3263
3425
|
"type": {
|
|
3264
|
-
"text": "string
|
|
3426
|
+
"text": "string"
|
|
3265
3427
|
},
|
|
3266
|
-
"description": "
|
|
3428
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
3429
|
+
"attribute": "placeholder"
|
|
3267
3430
|
},
|
|
3268
3431
|
{
|
|
3269
3432
|
"kind": "field",
|
|
3270
|
-
"name": "
|
|
3433
|
+
"name": "hideHelp",
|
|
3271
3434
|
"type": {
|
|
3272
|
-
"text": "
|
|
3435
|
+
"text": "boolean"
|
|
3273
3436
|
},
|
|
3274
|
-
"default": "
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
"kind": "method",
|
|
3278
|
-
"name": "handleCollectionUpdate",
|
|
3279
|
-
"parameters": [
|
|
3280
|
-
{
|
|
3281
|
-
"name": "_oldValue",
|
|
3282
|
-
"type": {
|
|
3283
|
-
"text": "string"
|
|
3284
|
-
}
|
|
3285
|
-
},
|
|
3286
|
-
{
|
|
3287
|
-
"name": "newValue",
|
|
3288
|
-
"type": {
|
|
3289
|
-
"text": "string"
|
|
3290
|
-
}
|
|
3291
|
-
}
|
|
3292
|
-
]
|
|
3293
|
-
},
|
|
3294
|
-
{
|
|
3295
|
-
"kind": "method",
|
|
3296
|
-
"name": "handlevariableUpdate",
|
|
3297
|
-
"parameters": [
|
|
3298
|
-
{
|
|
3299
|
-
"name": "_oldValue",
|
|
3300
|
-
"type": {
|
|
3301
|
-
"text": "string"
|
|
3302
|
-
}
|
|
3303
|
-
},
|
|
3304
|
-
{
|
|
3305
|
-
"name": "newValue",
|
|
3306
|
-
"type": {
|
|
3307
|
-
"text": "string"
|
|
3308
|
-
}
|
|
3309
|
-
}
|
|
3310
|
-
]
|
|
3311
|
-
},
|
|
3312
|
-
{
|
|
3313
|
-
"kind": "method",
|
|
3314
|
-
"name": "handleStartDateUpdate",
|
|
3315
|
-
"parameters": [
|
|
3316
|
-
{
|
|
3317
|
-
"name": "_oldValue",
|
|
3318
|
-
"type": {
|
|
3319
|
-
"text": "string"
|
|
3320
|
-
}
|
|
3321
|
-
},
|
|
3322
|
-
{
|
|
3323
|
-
"name": "newValue",
|
|
3324
|
-
"type": {
|
|
3325
|
-
"text": "string"
|
|
3326
|
-
}
|
|
3327
|
-
}
|
|
3328
|
-
]
|
|
3329
|
-
},
|
|
3330
|
-
{
|
|
3331
|
-
"kind": "method",
|
|
3332
|
-
"name": "handleEndDateUpdate",
|
|
3333
|
-
"parameters": [
|
|
3334
|
-
{
|
|
3335
|
-
"name": "_oldValue",
|
|
3336
|
-
"type": {
|
|
3337
|
-
"text": "string"
|
|
3338
|
-
}
|
|
3339
|
-
},
|
|
3340
|
-
{
|
|
3341
|
-
"name": "newValue",
|
|
3342
|
-
"type": {
|
|
3343
|
-
"text": "string"
|
|
3344
|
-
}
|
|
3345
|
-
}
|
|
3346
|
-
]
|
|
3347
|
-
},
|
|
3348
|
-
{
|
|
3349
|
-
"kind": "method",
|
|
3350
|
-
"name": "handleLocationUpdate",
|
|
3351
|
-
"parameters": [
|
|
3352
|
-
{
|
|
3353
|
-
"name": "_oldValue",
|
|
3354
|
-
"type": {
|
|
3355
|
-
"text": "string"
|
|
3356
|
-
}
|
|
3357
|
-
},
|
|
3358
|
-
{
|
|
3359
|
-
"name": "newValue",
|
|
3360
|
-
"type": {
|
|
3361
|
-
"text": "string"
|
|
3362
|
-
}
|
|
3363
|
-
}
|
|
3364
|
-
]
|
|
3365
|
-
},
|
|
3366
|
-
{
|
|
3367
|
-
"kind": "method",
|
|
3368
|
-
"name": "handleFocus",
|
|
3369
|
-
"parameters": [
|
|
3370
|
-
{
|
|
3371
|
-
"name": "_oldValue",
|
|
3372
|
-
"type": {
|
|
3373
|
-
"text": "MenuNames"
|
|
3374
|
-
}
|
|
3375
|
-
},
|
|
3376
|
-
{
|
|
3377
|
-
"name": "newValue",
|
|
3378
|
-
"type": {
|
|
3379
|
-
"text": "MenuNames"
|
|
3380
|
-
}
|
|
3381
|
-
}
|
|
3382
|
-
]
|
|
3437
|
+
"default": "false",
|
|
3438
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
3439
|
+
"attribute": "hide-help"
|
|
3383
3440
|
},
|
|
3384
3441
|
{
|
|
3385
|
-
"kind": "
|
|
3386
|
-
"name": "
|
|
3387
|
-
"
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
},
|
|
3394
|
-
{
|
|
3395
|
-
"name": "value",
|
|
3396
|
-
"type": {
|
|
3397
|
-
"text": "any"
|
|
3398
|
-
}
|
|
3399
|
-
}
|
|
3400
|
-
]
|
|
3442
|
+
"kind": "field",
|
|
3443
|
+
"name": "hideLabel",
|
|
3444
|
+
"type": {
|
|
3445
|
+
"text": "boolean"
|
|
3446
|
+
},
|
|
3447
|
+
"default": "false",
|
|
3448
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
3449
|
+
"attribute": "hide-label"
|
|
3401
3450
|
},
|
|
3402
3451
|
{
|
|
3403
|
-
"kind": "
|
|
3404
|
-
"name": "
|
|
3405
|
-
"
|
|
3452
|
+
"kind": "field",
|
|
3453
|
+
"name": "value",
|
|
3454
|
+
"type": {
|
|
3455
|
+
"text": "string"
|
|
3456
|
+
},
|
|
3457
|
+
"attribute": "value"
|
|
3406
3458
|
},
|
|
3407
3459
|
{
|
|
3408
|
-
"kind": "
|
|
3409
|
-
"name": "
|
|
3410
|
-
"
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
"text": "TerraComboboxChangeEvent"
|
|
3415
|
-
}
|
|
3416
|
-
}
|
|
3417
|
-
]
|
|
3460
|
+
"kind": "field",
|
|
3461
|
+
"name": "isExpanded",
|
|
3462
|
+
"type": {
|
|
3463
|
+
"text": "boolean"
|
|
3464
|
+
},
|
|
3465
|
+
"default": "false"
|
|
3418
3466
|
},
|
|
3419
3467
|
{
|
|
3420
|
-
"kind": "
|
|
3421
|
-
"name": "
|
|
3422
|
-
"parameters": [
|
|
3423
|
-
{
|
|
3424
|
-
"name": "event",
|
|
3425
|
-
"type": {
|
|
3426
|
-
"text": "CustomEvent"
|
|
3427
|
-
}
|
|
3428
|
-
}
|
|
3429
|
-
]
|
|
3468
|
+
"kind": "field",
|
|
3469
|
+
"name": "query"
|
|
3430
3470
|
},
|
|
3431
3471
|
{
|
|
3432
|
-
"kind": "
|
|
3433
|
-
"name": "
|
|
3434
|
-
"
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
"text": "TerraDateRangeChangeEvent"
|
|
3439
|
-
}
|
|
3440
|
-
}
|
|
3441
|
-
],
|
|
3442
|
-
"description": "anytime the date range slider changes, update the start and end date"
|
|
3472
|
+
"kind": "field",
|
|
3473
|
+
"name": "searchResults",
|
|
3474
|
+
"type": {
|
|
3475
|
+
"text": "ListItem[]"
|
|
3476
|
+
},
|
|
3477
|
+
"default": "[]"
|
|
3443
3478
|
},
|
|
3444
3479
|
{
|
|
3445
3480
|
"kind": "method",
|
|
3446
|
-
"name": "
|
|
3447
|
-
"description": "aborts the underlying data loading task, which cancels the network request"
|
|
3481
|
+
"name": "valueChanged"
|
|
3448
3482
|
},
|
|
3449
3483
|
{
|
|
3450
3484
|
"kind": "method",
|
|
3451
|
-
"name": "
|
|
3452
|
-
"parameters": [
|
|
3453
|
-
{
|
|
3454
|
-
"name": "_event",
|
|
3455
|
-
"type": {
|
|
3456
|
-
"text": "Event"
|
|
3457
|
-
}
|
|
3458
|
-
}
|
|
3459
|
-
],
|
|
3460
|
-
"description": "TODO:\n[x] re-enable downloads here\n[x] get live data from Giovanni\n[x] display required information in information menuitem\n[x] ask about adding help links\n[ ] see what can be simplified from downloadCSV"
|
|
3485
|
+
"name": "clear"
|
|
3461
3486
|
},
|
|
3462
3487
|
{
|
|
3463
3488
|
"kind": "method",
|
|
3464
|
-
"name": "
|
|
3465
|
-
"return": {
|
|
3466
|
-
"type": {
|
|
3467
|
-
"text": "string"
|
|
3468
|
-
}
|
|
3469
|
-
},
|
|
3470
|
-
"parameters": [
|
|
3471
|
-
{
|
|
3472
|
-
"name": "data",
|
|
3473
|
-
"type": {
|
|
3474
|
-
"text": "any[]"
|
|
3475
|
-
}
|
|
3476
|
-
}
|
|
3477
|
-
]
|
|
3489
|
+
"name": "close"
|
|
3478
3490
|
},
|
|
3479
3491
|
{
|
|
3480
3492
|
"kind": "method",
|
|
3481
|
-
"name": "
|
|
3482
|
-
"parameters": [
|
|
3483
|
-
{
|
|
3484
|
-
"name": "_event",
|
|
3485
|
-
"type": {
|
|
3486
|
-
"text": "Event"
|
|
3487
|
-
}
|
|
3488
|
-
}
|
|
3489
|
-
]
|
|
3493
|
+
"name": "toggle"
|
|
3490
3494
|
},
|
|
3491
3495
|
{
|
|
3492
|
-
"kind": "
|
|
3493
|
-
"name": "#
|
|
3494
|
-
"
|
|
3495
|
-
|
|
3496
|
-
"name": "event",
|
|
3497
|
-
"type": {
|
|
3498
|
-
"text": "Event"
|
|
3499
|
-
}
|
|
3500
|
-
}
|
|
3501
|
-
]
|
|
3502
|
-
}
|
|
3503
|
-
],
|
|
3504
|
-
"attributes": [
|
|
3496
|
+
"kind": "field",
|
|
3497
|
+
"name": "#dispatchChange",
|
|
3498
|
+
"privacy": "private"
|
|
3499
|
+
},
|
|
3505
3500
|
{
|
|
3506
|
-
"
|
|
3507
|
-
"
|
|
3508
|
-
|
|
3509
|
-
},
|
|
3510
|
-
"description": "a collection entry id (ex: GPM_3IMERGHH_06)",
|
|
3511
|
-
"fieldName": "collection"
|
|
3501
|
+
"kind": "field",
|
|
3502
|
+
"name": "#handleButtonClick",
|
|
3503
|
+
"privacy": "private"
|
|
3512
3504
|
},
|
|
3513
3505
|
{
|
|
3514
|
-
"
|
|
3515
|
-
"
|
|
3516
|
-
|
|
3517
|
-
},
|
|
3518
|
-
"description": "the dataset landing page for the collection",
|
|
3519
|
-
"fieldName": "datasetLandingPage"
|
|
3506
|
+
"kind": "field",
|
|
3507
|
+
"name": "#handleComboboxChange",
|
|
3508
|
+
"privacy": "private"
|
|
3520
3509
|
},
|
|
3521
3510
|
{
|
|
3522
|
-
"
|
|
3523
|
-
"
|
|
3524
|
-
|
|
3525
|
-
},
|
|
3526
|
-
"description": "a variable short name to plot (ex: precipitationCal)",
|
|
3527
|
-
"fieldName": "variable"
|
|
3511
|
+
"kind": "field",
|
|
3512
|
+
"name": "#handleOptionClick",
|
|
3513
|
+
"privacy": "private"
|
|
3528
3514
|
},
|
|
3529
3515
|
{
|
|
3530
|
-
"
|
|
3531
|
-
"
|
|
3532
|
-
|
|
3533
|
-
},
|
|
3534
|
-
"description": "the variable landing page",
|
|
3535
|
-
"fieldName": "variableLandingPage"
|
|
3516
|
+
"kind": "field",
|
|
3517
|
+
"name": "#handleKeydown",
|
|
3518
|
+
"privacy": "private"
|
|
3536
3519
|
},
|
|
3537
3520
|
{
|
|
3538
|
-
"
|
|
3521
|
+
"kind": "field",
|
|
3522
|
+
"name": "#manageListboxVisibility",
|
|
3523
|
+
"privacy": "private"
|
|
3524
|
+
},
|
|
3525
|
+
{
|
|
3526
|
+
"kind": "field",
|
|
3527
|
+
"name": "#selectOption",
|
|
3528
|
+
"privacy": "private"
|
|
3529
|
+
}
|
|
3530
|
+
],
|
|
3531
|
+
"events": [
|
|
3532
|
+
{
|
|
3533
|
+
"description": "Emitted when an option is selected.",
|
|
3534
|
+
"name": "terra-combobox-change",
|
|
3535
|
+
"reactName": "onTerraComboboxChange",
|
|
3536
|
+
"eventName": "TerraComboboxChangeEvent"
|
|
3537
|
+
}
|
|
3538
|
+
],
|
|
3539
|
+
"attributes": [
|
|
3540
|
+
{
|
|
3541
|
+
"name": "label",
|
|
3539
3542
|
"type": {
|
|
3540
|
-
"text": "string
|
|
3543
|
+
"text": "string"
|
|
3541
3544
|
},
|
|
3542
|
-
"
|
|
3543
|
-
"
|
|
3545
|
+
"default": "'Search for Variables'",
|
|
3546
|
+
"description": "Label the combobox with this.",
|
|
3547
|
+
"fieldName": "label"
|
|
3544
3548
|
},
|
|
3545
3549
|
{
|
|
3546
|
-
"name": "
|
|
3550
|
+
"name": "placeholder",
|
|
3547
3551
|
"type": {
|
|
3548
|
-
"text": "string
|
|
3552
|
+
"text": "string"
|
|
3549
3553
|
},
|
|
3550
|
-
"description": "
|
|
3551
|
-
"fieldName": "
|
|
3554
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
3555
|
+
"fieldName": "placeholder"
|
|
3552
3556
|
},
|
|
3553
3557
|
{
|
|
3554
|
-
"name": "
|
|
3558
|
+
"name": "hide-help",
|
|
3555
3559
|
"type": {
|
|
3556
|
-
"text": "
|
|
3560
|
+
"text": "boolean"
|
|
3557
3561
|
},
|
|
3558
|
-
"
|
|
3559
|
-
"
|
|
3562
|
+
"default": "false",
|
|
3563
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
3564
|
+
"fieldName": "hideHelp"
|
|
3560
3565
|
},
|
|
3561
3566
|
{
|
|
3562
|
-
"name": "
|
|
3567
|
+
"name": "hide-label",
|
|
3563
3568
|
"type": {
|
|
3564
|
-
"text": "
|
|
3569
|
+
"text": "boolean"
|
|
3565
3570
|
},
|
|
3566
|
-
"
|
|
3567
|
-
"
|
|
3571
|
+
"default": "false",
|
|
3572
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
3573
|
+
"fieldName": "hideLabel"
|
|
3568
3574
|
},
|
|
3569
3575
|
{
|
|
3570
|
-
"name": "
|
|
3576
|
+
"name": "value",
|
|
3571
3577
|
"type": {
|
|
3572
|
-
"text": "string
|
|
3578
|
+
"text": "string"
|
|
3573
3579
|
},
|
|
3574
|
-
"
|
|
3575
|
-
"fieldName": "units"
|
|
3580
|
+
"fieldName": "value"
|
|
3576
3581
|
}
|
|
3577
3582
|
],
|
|
3578
3583
|
"superclass": {
|
|
3579
3584
|
"name": "TerraElement",
|
|
3580
3585
|
"module": "/src/internal/terra-element.js"
|
|
3581
3586
|
},
|
|
3582
|
-
"summary": "
|
|
3583
|
-
"tagNameWithoutPrefix": "
|
|
3584
|
-
"tagName": "terra-
|
|
3587
|
+
"summary": "Fuzzy-search for dataset variables in combobox with list autocomplete.",
|
|
3588
|
+
"tagNameWithoutPrefix": "variable-combobox",
|
|
3589
|
+
"tagName": "terra-variable-combobox",
|
|
3585
3590
|
"customElement": true,
|
|
3586
|
-
"jsDoc": "/**\n * @summary
|
|
3587
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
3588
|
-
"status": "
|
|
3589
|
-
"since": "1.0"
|
|
3590
|
-
"dependencies": [
|
|
3591
|
-
"terra-plot",
|
|
3592
|
-
"terra-date-range-slider",
|
|
3593
|
-
"terra-variable-combobox"
|
|
3594
|
-
]
|
|
3591
|
+
"jsDoc": "/**\n * @summary Fuzzy-search for dataset variables in combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/variable-combobox\n * @see https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list/\n * @status MVP\n * @since 1.0\n *\n * @csspart base - A `search` element, the component's base.\n * @csspart combobox - An `input` element used for searching.\n * @csspart button - A `button` used for toggling the listbox's visibility.\n * @csspart listbox - A `ul` that holds the clickable options.\n *\n * @cssproperty --host-height - The height of the host element.\n * @cssproperty --help-height - The height of the search help element.\n * @cssproperty --label-height - The height of the input's label element.\n *\n * @event terra-combobox-change - Emitted when an option is selected.\n */",
|
|
3592
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/variable-combobox",
|
|
3593
|
+
"status": "MVP",
|
|
3594
|
+
"since": "1.0"
|
|
3595
3595
|
}
|
|
3596
3596
|
],
|
|
3597
3597
|
"exports": [
|
|
@@ -3599,8 +3599,8 @@
|
|
|
3599
3599
|
"kind": "js",
|
|
3600
3600
|
"name": "default",
|
|
3601
3601
|
"declaration": {
|
|
3602
|
-
"name": "
|
|
3603
|
-
"module": "components/
|
|
3602
|
+
"name": "TerraVariableCombobox",
|
|
3603
|
+
"module": "components/variable-combobox/variable-combobox.js"
|
|
3604
3604
|
}
|
|
3605
3605
|
}
|
|
3606
3606
|
]
|
|
@@ -3609,7 +3609,7 @@
|
|
|
3609
3609
|
"package": {
|
|
3610
3610
|
"name": "@nasa-terra/components",
|
|
3611
3611
|
"description": "A collection of NASA Earthdata components",
|
|
3612
|
-
"version": "0.0.
|
|
3612
|
+
"version": "0.0.10",
|
|
3613
3613
|
"author": "NASA GES DISC <https://disc.gsfc.nasa.gov>",
|
|
3614
3614
|
"homepage": "https://github.com/gesdisc/components",
|
|
3615
3615
|
"license": "MIT"
|