@nasa-terra/components 0.0.5 → 0.0.7
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/cdn/chunks/{chunk.MDTWC6VG.js → chunk.2BF5ZHP6.js} +10 -5
- package/cdn/chunks/{chunk.SMM67YLK.js → chunk.2MYFC7LM.js} +1 -1
- package/cdn/chunks/{chunk.KVT3GJNT.js → chunk.4OMMI4NC.js} +1 -1
- package/cdn/chunks/{chunk.VIRBEDXY.js → chunk.5EDEDCDT.js} +12 -12
- package/{dist/chunks/chunk.5U5H2J7Y.js → cdn/chunks/chunk.5M6EGBKK.js} +1 -1
- package/cdn/chunks/{chunk.A4RRFU35.js → chunk.6TG7HJRE.js} +7 -7
- package/cdn/chunks/{chunk.U4DCLZUF.js → chunk.6TP5NQZR.js} +4 -4
- package/cdn/chunks/{chunk.O5NKXUCH.js → chunk.7R2BPQLY.js} +6 -2
- package/cdn/chunks/{chunk.Y5M6RAV6.js → chunk.7VBMSUOT.js} +1 -1
- package/{dist/chunks/chunk.F5ZXR42S.js → cdn/chunks/chunk.AG72D4AT.js} +1 -1
- package/{dist/chunks/chunk.5TSS4VKC.js → cdn/chunks/chunk.BX66TSQY.js} +1 -1
- package/{dist/chunks/chunk.GWYOGK4V.js → cdn/chunks/chunk.CDPMV7DB.js} +1 -1
- package/cdn/chunks/{chunk.JZA7H75D.js → chunk.CGUXXQTT.js} +1 -1
- package/cdn/chunks/{chunk.QRXIDO56.js → chunk.CLFLLHS3.js} +1 -1
- package/cdn/chunks/{chunk.CMUAOMW7.js → chunk.CPNLKTGF.js} +1 -1
- package/cdn/chunks/{chunk.Z3POO2ZW.js → chunk.DSTVDF3E.js} +1 -1
- package/cdn/chunks/{chunk.F546PZRM.js → chunk.FDOXEWGR.js} +1 -1
- package/cdn/chunks/{chunk.5II2NZIY.js → chunk.GCC4YOMG.js} +1 -1
- package/cdn/chunks/{chunk.R2SK5EHC.js → chunk.GMWFNQ7Q.js} +4 -4
- package/{dist/chunks/chunk.Q3HXKXEY.js → cdn/chunks/chunk.IKYLG6LM.js} +1 -1
- package/cdn/chunks/{chunk.CQZVOZEP.js → chunk.L4ODCAGX.js} +1 -1
- package/cdn/chunks/{chunk.3ONVTNFU.js → chunk.LNNGJCX4.js} +1 -1
- package/cdn/chunks/{chunk.HSFDDGOA.js → chunk.LO2CROCV.js} +1 -1
- package/cdn/chunks/{chunk.S6DRZRXW.js → chunk.MCDYUBW2.js} +1 -1
- package/{dist/chunks/chunk.HFWJWTKM.js → cdn/chunks/chunk.NFSGAK6D.js} +1 -1
- package/cdn/chunks/{chunk.3REGFZQ2.js → chunk.P3N5PW3F.js} +4 -4
- package/{dist/chunks/chunk.NC4CH6WA.js → cdn/chunks/chunk.RZV7PTZZ.js} +1 -1
- package/{dist/chunks/chunk.WK4PES2C.js → cdn/chunks/chunk.SVBGCTUY.js} +1 -1
- package/cdn/chunks/{chunk.XBVYVWHA.js → chunk.THBBULDA.js} +1 -1
- package/cdn/chunks/{chunk.BR4NOX5U.js → chunk.UBYAPUL3.js} +5 -5
- package/cdn/chunks/{chunk.KYJHDSP4.js → chunk.URIOYHEA.js} +1 -1
- package/cdn/chunks/{chunk.PBOWCL4D.js → chunk.UUZHIWQZ.js} +1 -1
- package/cdn/chunks/{chunk.QURT33XU.js → chunk.WY4A6BXW.js} +1 -1
- package/cdn/chunks/{chunk.SAHOLFVH.js → chunk.XAVEBGFY.js} +1 -1
- package/{dist/chunks/chunk.6DPQZ5Q7.js → cdn/chunks/chunk.ZMTQ4YE2.js} +1 -1
- package/cdn/components/button/button.component.js +3 -3
- package/cdn/components/button/button.js +4 -4
- 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 +3 -3
- package/cdn/components/date-range-slider/date-range-slider.js +4 -4
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/map/map.component.js +2 -2
- package/cdn/components/map/map.js +3 -3
- 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 +4 -4
- package/cdn/components/spatial-picker/spatial-picker.js +5 -5
- package/cdn/components/time-series/time-series.component.js +29 -29
- package/cdn/components/time-series/time-series.controller.js +1 -1
- package/cdn/components/time-series/time-series.js +30 -30
- package/cdn/components/variable-combobox/variable-combobox.component.js +9 -9
- package/cdn/components/variable-combobox/variable-combobox.controller.js +2 -2
- package/cdn/components/variable-combobox/variable-combobox.js +10 -10
- package/cdn/custom-elements.json +1216 -1216
- package/cdn/react/button/index.js +4 -4
- package/cdn/react/chip/index.js +4 -4
- package/cdn/react/combobox/index.js +5 -5
- package/cdn/react/date-range-slider/index.js +4 -4
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/index.d.ts +3 -3
- package/cdn/react/index.js +51 -51
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/map/index.js +3 -3
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/spatial-picker/index.js +5 -5
- package/cdn/react/time-series/index.js +30 -30
- package/cdn/react/variable-combobox/index.js +10 -10
- package/cdn/terra-ui-components.js +53 -53
- package/cdn/types/vue/index.d.ts +96 -96
- package/cdn/utilities/animation.js +2 -2
- package/cdn/vscode.html-custom-data.json +95 -95
- package/cdn/web-types.json +167 -167
- package/dist/chunks/{chunk.SVIHKELP.js → chunk.33I7MBZO.js} +1 -1
- package/{cdn/chunks/chunk.5UURFA4D.js → dist/chunks/chunk.4EEBFDHS.js} +1 -1
- package/dist/chunks/{chunk.YCC37YOJ.js → chunk.52JSYSOV.js} +6 -2
- package/{cdn/chunks/chunk.5PS7X72G.js → dist/chunks/chunk.6EFMX2ZD.js} +1 -1
- package/dist/chunks/{chunk.D3DARZ4I.js → chunk.7C4FMTCE.js} +1 -1
- package/dist/chunks/{chunk.RHZUPW3C.js → chunk.7I7C7JJF.js} +1 -1
- package/dist/chunks/{chunk.XKEJCYFO.js → chunk.7LODXAV5.js} +1 -1
- package/dist/chunks/{chunk.7FMILJBA.js → chunk.C5OZDL3F.js} +7 -7
- package/dist/chunks/{chunk.5NORITET.js → chunk.CM3WMTBC.js} +1 -1
- package/dist/chunks/{chunk.TNHBDZUN.js → chunk.CNBF6GCR.js} +1 -1
- package/dist/chunks/{chunk.DSI42TTL.js → chunk.EYUPYDT4.js} +1 -1
- package/dist/chunks/{chunk.ER6MVDQ4.js → chunk.FFZEV52Q.js} +5 -5
- package/dist/chunks/{chunk.VERKN6UN.js → chunk.FYST4D4G.js} +1 -1
- package/dist/chunks/{chunk.4HSZ6UUB.js → chunk.GBVXVADE.js} +4 -4
- package/dist/chunks/{chunk.AXZYCENM.js → chunk.IEHDLSGA.js} +1 -1
- package/{cdn/chunks/chunk.JQOPI2LL.js → dist/chunks/chunk.MMDLLVXS.js} +1 -1
- package/{cdn/chunks/chunk.4IAEDA55.js → dist/chunks/chunk.N6PKYR5K.js} +1 -1
- package/dist/chunks/{chunk.5PU55V3S.js → chunk.N7ULTEAO.js} +1 -1
- package/{cdn/chunks/chunk.GFQVBIUJ.js → dist/chunks/chunk.OUOWGBKV.js} +1 -1
- package/{cdn/chunks/chunk.BJWUZISS.js → dist/chunks/chunk.PFSWFOXD.js} +1 -1
- package/dist/chunks/{chunk.TX4OK7ER.js → chunk.QJIYDTLQ.js} +1 -1
- package/dist/chunks/{chunk.7YDHTY4H.js → chunk.RFKXBNLY.js} +1 -1
- package/dist/chunks/{chunk.JB3XBTLS.js → chunk.RP6DCD5M.js} +1 -1
- package/dist/chunks/{chunk.4GDIGEDX.js → chunk.S3WKONT5.js} +11 -11
- package/{cdn/chunks/chunk.SDWDOAW3.js → dist/chunks/chunk.SDJHA4XN.js} +1 -1
- package/dist/chunks/{chunk.IEVDBCJ6.js → chunk.TNACYALO.js} +1 -1
- package/dist/chunks/{chunk.R2DUJIID.js → chunk.TWKECPWO.js} +1 -1
- package/dist/chunks/{chunk.VKJOGCTL.js → chunk.UNE3VYFP.js} +1 -1
- package/{cdn/chunks/chunk.CES5RJIG.js → dist/chunks/chunk.VEURJQW5.js} +1 -1
- package/dist/chunks/{chunk.XUHHWUCV.js → chunk.WVHQFXLD.js} +1 -1
- package/{cdn/chunks/chunk.66IBLRKQ.js → dist/chunks/chunk.XB7LBTTU.js} +1 -1
- package/dist/chunks/{chunk.HQZDLUK7.js → chunk.XIRKMIAU.js} +1 -1
- package/dist/chunks/{chunk.TXYWM53V.js → chunk.XW5YT7AB.js} +1 -1
- package/dist/chunks/{chunk.LKJO5ZKO.js → chunk.Y72ZRL5L.js} +9 -4
- package/dist/chunks/{chunk.HN5FQMVY.js → chunk.YNMQZYQL.js} +1 -1
- package/dist/components/button/button.component.js +2 -2
- package/dist/components/button/button.js +3 -3
- package/dist/components/chip/chip.component.js +2 -2
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/combobox/combobox.component.js +4 -4
- package/dist/components/combobox/combobox.js +5 -5
- package/dist/components/date-range-slider/date-range-slider.component.js +3 -3
- package/dist/components/date-range-slider/date-range-slider.js +4 -4
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/map/map.component.js +2 -2
- package/dist/components/map/map.js +3 -3
- 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 +4 -4
- package/dist/components/spatial-picker/spatial-picker.js +5 -5
- package/dist/components/time-series/time-series.component.js +25 -25
- package/dist/components/time-series/time-series.controller.js +1 -1
- package/dist/components/time-series/time-series.js +26 -26
- package/dist/components/variable-combobox/variable-combobox.component.js +6 -6
- package/dist/components/variable-combobox/variable-combobox.js +7 -7
- package/dist/custom-elements.json +1216 -1216
- package/dist/react/button/index.js +3 -3
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +5 -5
- package/dist/react/date-range-slider/index.js +4 -4
- package/dist/react/icon/index.js +3 -3
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +47 -47
- package/dist/react/loader/index.js +3 -3
- package/dist/react/map/index.js +3 -3
- package/dist/react/plot/index.js +3 -3
- package/dist/react/spatial-picker/index.js +5 -5
- package/dist/react/time-series/index.js +26 -26
- package/dist/react/variable-combobox/index.js +7 -7
- package/dist/terra-ui-components.js +48 -48
- package/dist/types/vue/index.d.ts +96 -96
- package/dist/vscode.html-custom-data.json +95 -95
- package/dist/web-types.json +167 -167
- package/package.json +1 -1
- package/cdn/chunks/{chunk.SBAGQQ5L.js → chunk.LQCRC4E2.js} +3 -3
- package/cdn/chunks/{chunk.42JFVPPT.js → chunk.R2AQMZE4.js} +3 -3
|
@@ -4,625 +4,572 @@
|
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "javascript-module",
|
|
7
|
-
"path": "components/
|
|
7
|
+
"path": "components/combobox/combobox.js",
|
|
8
8
|
"declarations": [
|
|
9
9
|
{
|
|
10
10
|
"kind": "class",
|
|
11
11
|
"description": "",
|
|
12
|
-
"name": "
|
|
13
|
-
"
|
|
14
|
-
{
|
|
15
|
-
"description": "The component's base wrapper.",
|
|
16
|
-
"name": "base"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"description": "The container that wraps the prefix.",
|
|
20
|
-
"name": "prefix"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"description": "The button's label.",
|
|
24
|
-
"name": "label"
|
|
25
|
-
},
|
|
12
|
+
"name": "TerraCombobox",
|
|
13
|
+
"cssProperties": [
|
|
26
14
|
{
|
|
27
|
-
"description": "The
|
|
28
|
-
"name": "
|
|
15
|
+
"description": "The height of the host element.",
|
|
16
|
+
"name": "--host-height"
|
|
29
17
|
},
|
|
30
18
|
{
|
|
31
|
-
"description": "The
|
|
32
|
-
"name": "
|
|
19
|
+
"description": "The height of the search help element.",
|
|
20
|
+
"name": "--help-height"
|
|
33
21
|
},
|
|
34
22
|
{
|
|
35
|
-
"description": "The
|
|
36
|
-
"name": "
|
|
23
|
+
"description": "The height of the input's label element.",
|
|
24
|
+
"name": "--label-height"
|
|
37
25
|
}
|
|
38
26
|
],
|
|
39
|
-
"
|
|
27
|
+
"cssParts": [
|
|
40
28
|
{
|
|
41
|
-
"description": "
|
|
42
|
-
"name": ""
|
|
29
|
+
"description": "A `search` element, the component's base.",
|
|
30
|
+
"name": "base"
|
|
43
31
|
},
|
|
44
32
|
{
|
|
45
|
-
"description": "
|
|
46
|
-
"name": "
|
|
33
|
+
"description": "An `input` element used for searching.",
|
|
34
|
+
"name": "combobox"
|
|
47
35
|
},
|
|
48
36
|
{
|
|
49
|
-
"description": "A
|
|
50
|
-
"name": "
|
|
37
|
+
"description": "A `button` used for toggling the listbox's visibility.",
|
|
38
|
+
"name": "button"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"description": "A `ul` that holds the clickable options.",
|
|
42
|
+
"name": "listbox"
|
|
51
43
|
}
|
|
52
44
|
],
|
|
53
45
|
"members": [
|
|
54
46
|
{
|
|
55
47
|
"kind": "field",
|
|
56
|
-
"name": "
|
|
57
|
-
"privacy": "private",
|
|
58
|
-
"readonly": true,
|
|
59
|
-
"default": "new FormControlController(this, {\n assumeInteractionOn: ['click'],\n })"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"kind": "field",
|
|
63
|
-
"name": "hasSlotController",
|
|
64
|
-
"privacy": "private",
|
|
65
|
-
"readonly": true,
|
|
66
|
-
"default": "new HasSlotController(\n this,\n '[default]',\n 'prefix',\n 'suffix'\n )"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"kind": "field",
|
|
70
|
-
"name": "button",
|
|
48
|
+
"name": "shadowRootOptions",
|
|
71
49
|
"type": {
|
|
72
|
-
"text": "
|
|
73
|
-
}
|
|
50
|
+
"text": "object"
|
|
51
|
+
},
|
|
52
|
+
"static": true,
|
|
53
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
74
54
|
},
|
|
75
55
|
{
|
|
76
56
|
"kind": "field",
|
|
77
|
-
"name": "
|
|
57
|
+
"name": "tagName",
|
|
78
58
|
"type": {
|
|
79
|
-
"text": "
|
|
59
|
+
"text": "string"
|
|
80
60
|
},
|
|
81
|
-
"
|
|
82
|
-
"default": "
|
|
61
|
+
"static": true,
|
|
62
|
+
"default": "'terra-combobox'"
|
|
83
63
|
},
|
|
84
64
|
{
|
|
85
65
|
"kind": "field",
|
|
86
|
-
"name": "
|
|
66
|
+
"name": "initialQuery",
|
|
87
67
|
"type": {
|
|
88
|
-
"text": "
|
|
68
|
+
"text": "string"
|
|
89
69
|
},
|
|
90
|
-
"
|
|
70
|
+
"static": true,
|
|
71
|
+
"default": "''"
|
|
91
72
|
},
|
|
92
73
|
{
|
|
93
74
|
"kind": "field",
|
|
94
|
-
"name": "
|
|
75
|
+
"name": "#combobox",
|
|
76
|
+
"privacy": "private",
|
|
95
77
|
"type": {
|
|
96
|
-
"text": "
|
|
78
|
+
"text": "HTMLInputElement | null"
|
|
97
79
|
},
|
|
98
|
-
"default": "
|
|
99
|
-
"attribute": "title"
|
|
80
|
+
"default": "null"
|
|
100
81
|
},
|
|
101
82
|
{
|
|
102
83
|
"kind": "field",
|
|
103
|
-
"name": "
|
|
84
|
+
"name": "#listbox",
|
|
85
|
+
"privacy": "private",
|
|
104
86
|
"type": {
|
|
105
|
-
"text": "
|
|
87
|
+
"text": "HTMLUListElement | null"
|
|
106
88
|
},
|
|
107
|
-
"default": "
|
|
108
|
-
"description": "The button's theme variant.",
|
|
109
|
-
"attribute": "variant",
|
|
110
|
-
"reflects": true
|
|
89
|
+
"default": "null"
|
|
111
90
|
},
|
|
112
91
|
{
|
|
113
92
|
"kind": "field",
|
|
114
|
-
"name": "
|
|
93
|
+
"name": "#searchEngine",
|
|
94
|
+
"privacy": "private",
|
|
115
95
|
"type": {
|
|
116
|
-
"text": "
|
|
96
|
+
"text": "Fuse<GroupedListItem | ListItem> | null"
|
|
117
97
|
},
|
|
118
|
-
"default": "
|
|
119
|
-
"description": "The button's size.",
|
|
120
|
-
"attribute": "size",
|
|
121
|
-
"reflects": true
|
|
98
|
+
"default": "null"
|
|
122
99
|
},
|
|
123
100
|
{
|
|
124
101
|
"kind": "field",
|
|
125
|
-
"name": "
|
|
102
|
+
"name": "#walker",
|
|
103
|
+
"privacy": "private",
|
|
126
104
|
"type": {
|
|
127
|
-
"text": "
|
|
105
|
+
"text": "TreeWalker | null"
|
|
128
106
|
},
|
|
129
|
-
"default": "
|
|
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
|
|
107
|
+
"default": "null"
|
|
133
108
|
},
|
|
134
109
|
{
|
|
135
110
|
"kind": "field",
|
|
136
|
-
"name": "
|
|
111
|
+
"name": "label",
|
|
137
112
|
"type": {
|
|
138
|
-
"text": "
|
|
113
|
+
"text": "string"
|
|
139
114
|
},
|
|
140
|
-
"default": "
|
|
141
|
-
"description": "
|
|
142
|
-
"attribute": "
|
|
143
|
-
"reflects": true
|
|
115
|
+
"default": "'Search for Items'",
|
|
116
|
+
"description": "Label the combobox with this.",
|
|
117
|
+
"attribute": "label"
|
|
144
118
|
},
|
|
145
119
|
{
|
|
146
120
|
"kind": "field",
|
|
147
|
-
"name": "
|
|
121
|
+
"name": "name",
|
|
148
122
|
"type": {
|
|
149
|
-
"text": "
|
|
123
|
+
"text": "string"
|
|
150
124
|
},
|
|
151
|
-
"default": "
|
|
152
|
-
"description": "
|
|
153
|
-
"attribute": "
|
|
154
|
-
"reflects": true
|
|
125
|
+
"default": "'Item'",
|
|
126
|
+
"description": "name the combobox with this.",
|
|
127
|
+
"attribute": "name"
|
|
155
128
|
},
|
|
156
129
|
{
|
|
157
130
|
"kind": "field",
|
|
158
|
-
"name": "
|
|
131
|
+
"name": "placeholder",
|
|
159
132
|
"type": {
|
|
160
|
-
"text": "
|
|
133
|
+
"text": "string"
|
|
161
134
|
},
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"attribute": "outline",
|
|
165
|
-
"reflects": true
|
|
135
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
136
|
+
"attribute": "placeholder"
|
|
166
137
|
},
|
|
167
138
|
{
|
|
168
139
|
"kind": "field",
|
|
169
|
-
"name": "
|
|
140
|
+
"name": "hideHelp",
|
|
170
141
|
"type": {
|
|
171
142
|
"text": "boolean"
|
|
172
143
|
},
|
|
173
144
|
"default": "false",
|
|
174
|
-
"description": "
|
|
175
|
-
"attribute": "
|
|
176
|
-
"reflects": true
|
|
145
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
146
|
+
"attribute": "hide-help"
|
|
177
147
|
},
|
|
178
148
|
{
|
|
179
149
|
"kind": "field",
|
|
180
|
-
"name": "
|
|
150
|
+
"name": "hideLabel",
|
|
181
151
|
"type": {
|
|
182
152
|
"text": "boolean"
|
|
183
153
|
},
|
|
184
154
|
"default": "false",
|
|
185
|
-
"description": "
|
|
186
|
-
"attribute": "
|
|
187
|
-
"reflects": true
|
|
155
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
156
|
+
"attribute": "hide-label"
|
|
188
157
|
},
|
|
189
158
|
{
|
|
190
159
|
"kind": "field",
|
|
191
|
-
"name": "
|
|
160
|
+
"name": "status",
|
|
192
161
|
"type": {
|
|
193
|
-
"text": "'
|
|
162
|
+
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
194
163
|
},
|
|
195
|
-
"default": "'
|
|
196
|
-
"description": "
|
|
197
|
-
"attribute": "
|
|
164
|
+
"default": "'INITIAL'",
|
|
165
|
+
"description": "status of the content",
|
|
166
|
+
"attribute": "status"
|
|
198
167
|
},
|
|
199
168
|
{
|
|
200
169
|
"kind": "field",
|
|
201
|
-
"name": "
|
|
170
|
+
"name": "content",
|
|
202
171
|
"type": {
|
|
203
|
-
"text": "
|
|
172
|
+
"text": "Content"
|
|
204
173
|
},
|
|
205
|
-
"default": "
|
|
206
|
-
"description": "
|
|
207
|
-
"attribute": "
|
|
174
|
+
"default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
|
|
175
|
+
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
176
|
+
"attribute": "content"
|
|
208
177
|
},
|
|
209
178
|
{
|
|
210
179
|
"kind": "field",
|
|
211
|
-
"name": "
|
|
180
|
+
"name": "isExpanded",
|
|
212
181
|
"type": {
|
|
213
|
-
"text": "
|
|
182
|
+
"text": "boolean"
|
|
214
183
|
},
|
|
215
|
-
"default": "
|
|
216
|
-
"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.",
|
|
217
|
-
"attribute": "value"
|
|
184
|
+
"default": "false"
|
|
218
185
|
},
|
|
219
186
|
{
|
|
220
187
|
"kind": "field",
|
|
221
|
-
"name": "
|
|
222
|
-
"type": {
|
|
223
|
-
"text": "string"
|
|
224
|
-
},
|
|
225
|
-
"default": "''",
|
|
226
|
-
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
227
|
-
"attribute": "href"
|
|
188
|
+
"name": "query"
|
|
228
189
|
},
|
|
229
190
|
{
|
|
230
191
|
"kind": "field",
|
|
231
|
-
"name": "
|
|
192
|
+
"name": "searchResults",
|
|
232
193
|
"type": {
|
|
233
|
-
"text": "
|
|
194
|
+
"text": "GroupedListItem[] | ListItem[]"
|
|
234
195
|
},
|
|
235
|
-
"
|
|
236
|
-
|
|
196
|
+
"default": "[]"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"kind": "method",
|
|
200
|
+
"name": "contentChanged",
|
|
201
|
+
"parameters": [
|
|
202
|
+
{
|
|
203
|
+
"name": "_oldValue",
|
|
204
|
+
"type": {
|
|
205
|
+
"text": "any"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "newValue",
|
|
210
|
+
"type": {
|
|
211
|
+
"text": "any"
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
]
|
|
237
215
|
},
|
|
238
216
|
{
|
|
239
217
|
"kind": "field",
|
|
240
|
-
"name": "
|
|
241
|
-
"
|
|
242
|
-
"text": "string"
|
|
243
|
-
},
|
|
244
|
-
"default": "'noreferrer noopener'",
|
|
245
|
-
"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.",
|
|
246
|
-
"attribute": "rel"
|
|
218
|
+
"name": "#renderListItem",
|
|
219
|
+
"privacy": "private"
|
|
247
220
|
},
|
|
248
221
|
{
|
|
249
222
|
"kind": "field",
|
|
250
|
-
"name": "
|
|
251
|
-
"
|
|
252
|
-
"text": "string | undefined"
|
|
253
|
-
},
|
|
254
|
-
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
255
|
-
"attribute": "download"
|
|
223
|
+
"name": "#renderGroupListItem",
|
|
224
|
+
"privacy": "private"
|
|
256
225
|
},
|
|
257
226
|
{
|
|
258
227
|
"kind": "field",
|
|
259
|
-
"name": "
|
|
260
|
-
"
|
|
261
|
-
"text": "string"
|
|
262
|
-
},
|
|
263
|
-
"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.",
|
|
264
|
-
"attribute": "form"
|
|
228
|
+
"name": "#renderError",
|
|
229
|
+
"privacy": "private"
|
|
265
230
|
},
|
|
266
231
|
{
|
|
267
232
|
"kind": "field",
|
|
268
|
-
"name": "
|
|
269
|
-
"
|
|
270
|
-
"text": "string"
|
|
271
|
-
},
|
|
272
|
-
"description": "Used to override the form owner's `action` attribute.",
|
|
273
|
-
"attribute": "formaction"
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
"kind": "field",
|
|
277
|
-
"name": "formEnctype",
|
|
278
|
-
"type": {
|
|
279
|
-
"text": "| 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'"
|
|
280
|
-
},
|
|
281
|
-
"description": "Used to override the form owner's `enctype` attribute.",
|
|
282
|
-
"attribute": "formenctype"
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
"kind": "field",
|
|
286
|
-
"name": "formMethod",
|
|
287
|
-
"type": {
|
|
288
|
-
"text": "'post' | 'get'"
|
|
289
|
-
},
|
|
290
|
-
"description": "Used to override the form owner's `method` attribute.",
|
|
291
|
-
"attribute": "formmethod"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"kind": "field",
|
|
295
|
-
"name": "formNoValidate",
|
|
296
|
-
"type": {
|
|
297
|
-
"text": "boolean"
|
|
298
|
-
},
|
|
299
|
-
"description": "Used to override the form owner's `novalidate` attribute.",
|
|
300
|
-
"attribute": "formnovalidate"
|
|
233
|
+
"name": "#renderLoading",
|
|
234
|
+
"privacy": "private"
|
|
301
235
|
},
|
|
302
236
|
{
|
|
303
237
|
"kind": "field",
|
|
304
|
-
"name": "
|
|
305
|
-
"
|
|
306
|
-
"text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
|
|
307
|
-
},
|
|
308
|
-
"description": "Used to override the form owner's `target` attribute.",
|
|
309
|
-
"attribute": "formtarget"
|
|
238
|
+
"name": "#dispatchChange",
|
|
239
|
+
"privacy": "private"
|
|
310
240
|
},
|
|
311
241
|
{
|
|
312
242
|
"kind": "field",
|
|
313
|
-
"name": "
|
|
314
|
-
"
|
|
315
|
-
"readonly": true
|
|
243
|
+
"name": "#handleButtonClick",
|
|
244
|
+
"privacy": "private"
|
|
316
245
|
},
|
|
317
246
|
{
|
|
318
247
|
"kind": "field",
|
|
319
|
-
"name": "
|
|
320
|
-
"description": "Gets the validation message",
|
|
321
|
-
"readonly": true
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"kind": "method",
|
|
325
|
-
"name": "handleBlur",
|
|
248
|
+
"name": "#handleComboboxChange",
|
|
326
249
|
"privacy": "private"
|
|
327
250
|
},
|
|
328
251
|
{
|
|
329
|
-
"kind": "
|
|
330
|
-
"name": "
|
|
252
|
+
"kind": "field",
|
|
253
|
+
"name": "#handleOptionClick",
|
|
331
254
|
"privacy": "private"
|
|
332
255
|
},
|
|
333
256
|
{
|
|
334
|
-
"kind": "
|
|
335
|
-
"name": "
|
|
257
|
+
"kind": "field",
|
|
258
|
+
"name": "#handleKeydown",
|
|
336
259
|
"privacy": "private"
|
|
337
260
|
},
|
|
338
261
|
{
|
|
339
|
-
"kind": "
|
|
340
|
-
"name": "
|
|
341
|
-
"privacy": "private",
|
|
342
|
-
"parameters": [
|
|
343
|
-
{
|
|
344
|
-
"name": "event",
|
|
345
|
-
"type": {
|
|
346
|
-
"text": "Event"
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
]
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"kind": "method",
|
|
353
|
-
"name": "isButton",
|
|
262
|
+
"kind": "field",
|
|
263
|
+
"name": "#manageListboxVisibility",
|
|
354
264
|
"privacy": "private"
|
|
355
265
|
},
|
|
356
266
|
{
|
|
357
|
-
"kind": "
|
|
358
|
-
"name": "
|
|
267
|
+
"kind": "field",
|
|
268
|
+
"name": "#selectOption",
|
|
359
269
|
"privacy": "private"
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
"kind": "method",
|
|
363
|
-
"name": "handleDisabledChange"
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
"kind": "method",
|
|
367
|
-
"name": "click",
|
|
368
|
-
"description": "Simulates a click on the button."
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
"kind": "method",
|
|
372
|
-
"name": "focus",
|
|
373
|
-
"parameters": [
|
|
374
|
-
{
|
|
375
|
-
"name": "options",
|
|
376
|
-
"optional": true,
|
|
377
|
-
"type": {
|
|
378
|
-
"text": "FocusOptions"
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
],
|
|
382
|
-
"description": "Sets focus on the button."
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
"kind": "method",
|
|
386
|
-
"name": "blur",
|
|
387
|
-
"description": "Removes focus from the button."
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
"kind": "method",
|
|
391
|
-
"name": "checkValidity",
|
|
392
|
-
"description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
"kind": "method",
|
|
396
|
-
"name": "getForm",
|
|
397
|
-
"return": {
|
|
398
|
-
"type": {
|
|
399
|
-
"text": "HTMLFormElement | null"
|
|
400
|
-
}
|
|
401
|
-
},
|
|
402
|
-
"description": "Gets the associated form, if one exists."
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
"kind": "method",
|
|
406
|
-
"name": "reportValidity",
|
|
407
|
-
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
"kind": "method",
|
|
411
|
-
"name": "setCustomValidity",
|
|
412
|
-
"parameters": [
|
|
413
|
-
{
|
|
414
|
-
"name": "message",
|
|
415
|
-
"type": {
|
|
416
|
-
"text": "string"
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
],
|
|
420
|
-
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
421
270
|
}
|
|
422
271
|
],
|
|
423
272
|
"attributes": [
|
|
424
273
|
{
|
|
425
|
-
"name": "
|
|
274
|
+
"name": "label",
|
|
426
275
|
"type": {
|
|
427
276
|
"text": "string"
|
|
428
277
|
},
|
|
429
|
-
"default": "''",
|
|
430
|
-
"
|
|
278
|
+
"default": "'Search for Items'",
|
|
279
|
+
"description": "Label the combobox with this.",
|
|
280
|
+
"fieldName": "label"
|
|
431
281
|
},
|
|
432
282
|
{
|
|
433
|
-
"name": "
|
|
283
|
+
"name": "name",
|
|
434
284
|
"type": {
|
|
435
|
-
"text": "
|
|
285
|
+
"text": "string"
|
|
436
286
|
},
|
|
437
|
-
"default": "'
|
|
438
|
-
"description": "
|
|
439
|
-
"fieldName": "
|
|
287
|
+
"default": "'Item'",
|
|
288
|
+
"description": "name the combobox with this.",
|
|
289
|
+
"fieldName": "name"
|
|
440
290
|
},
|
|
441
291
|
{
|
|
442
|
-
"name": "
|
|
292
|
+
"name": "placeholder",
|
|
443
293
|
"type": {
|
|
444
|
-
"text": "
|
|
294
|
+
"text": "string"
|
|
445
295
|
},
|
|
446
|
-
"
|
|
447
|
-
"
|
|
448
|
-
"fieldName": "size"
|
|
296
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
297
|
+
"fieldName": "placeholder"
|
|
449
298
|
},
|
|
450
299
|
{
|
|
451
|
-
"name": "
|
|
300
|
+
"name": "hide-help",
|
|
452
301
|
"type": {
|
|
453
302
|
"text": "boolean"
|
|
454
303
|
},
|
|
455
304
|
"default": "false",
|
|
456
|
-
"description": "
|
|
457
|
-
"fieldName": "
|
|
305
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
306
|
+
"fieldName": "hideHelp"
|
|
458
307
|
},
|
|
459
308
|
{
|
|
460
|
-
"name": "
|
|
309
|
+
"name": "hide-label",
|
|
461
310
|
"type": {
|
|
462
311
|
"text": "boolean"
|
|
463
312
|
},
|
|
464
313
|
"default": "false",
|
|
465
|
-
"description": "
|
|
466
|
-
"fieldName": "
|
|
314
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
315
|
+
"fieldName": "hideLabel"
|
|
467
316
|
},
|
|
468
317
|
{
|
|
469
|
-
"name": "
|
|
318
|
+
"name": "status",
|
|
470
319
|
"type": {
|
|
471
|
-
"text": "
|
|
320
|
+
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
472
321
|
},
|
|
473
|
-
"default": "
|
|
474
|
-
"description": "
|
|
475
|
-
"fieldName": "
|
|
322
|
+
"default": "'INITIAL'",
|
|
323
|
+
"description": "status of the content",
|
|
324
|
+
"fieldName": "status"
|
|
476
325
|
},
|
|
477
326
|
{
|
|
478
|
-
"name": "
|
|
327
|
+
"name": "content",
|
|
479
328
|
"type": {
|
|
480
|
-
"text": "
|
|
329
|
+
"text": "Content"
|
|
481
330
|
},
|
|
482
|
-
"default": "
|
|
483
|
-
"description": "
|
|
484
|
-
"fieldName": "
|
|
331
|
+
"default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
|
|
332
|
+
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
333
|
+
"fieldName": "content"
|
|
334
|
+
}
|
|
335
|
+
],
|
|
336
|
+
"superclass": {
|
|
337
|
+
"name": "TerraElement",
|
|
338
|
+
"module": "/src/internal/terra-element.js"
|
|
339
|
+
},
|
|
340
|
+
"summary": "Fuzzy-search for combobox with list autocomplete.",
|
|
341
|
+
"tagNameWithoutPrefix": "combobox",
|
|
342
|
+
"tagName": "terra-combobox",
|
|
343
|
+
"customElement": true,
|
|
344
|
+
"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 */",
|
|
345
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/combobox",
|
|
346
|
+
"status": "experimental",
|
|
347
|
+
"since": "1.0"
|
|
348
|
+
}
|
|
349
|
+
],
|
|
350
|
+
"exports": [
|
|
351
|
+
{
|
|
352
|
+
"kind": "js",
|
|
353
|
+
"name": "default",
|
|
354
|
+
"declaration": {
|
|
355
|
+
"name": "TerraCombobox",
|
|
356
|
+
"module": "components/combobox/combobox.js"
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
]
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"kind": "javascript-module",
|
|
363
|
+
"path": "components/date-range-slider/date-range-slider.js",
|
|
364
|
+
"declarations": [
|
|
365
|
+
{
|
|
366
|
+
"kind": "class",
|
|
367
|
+
"description": "",
|
|
368
|
+
"name": "TerraDateRangeSlider",
|
|
369
|
+
"cssProperties": [
|
|
370
|
+
{
|
|
371
|
+
"description": "An example CSS custom property.",
|
|
372
|
+
"name": "--example"
|
|
373
|
+
}
|
|
374
|
+
],
|
|
375
|
+
"cssParts": [
|
|
376
|
+
{
|
|
377
|
+
"description": "The component's base wrapper.",
|
|
378
|
+
"name": "base"
|
|
379
|
+
}
|
|
380
|
+
],
|
|
381
|
+
"slots": [
|
|
382
|
+
{
|
|
383
|
+
"description": "The default slot.",
|
|
384
|
+
"name": ""
|
|
485
385
|
},
|
|
486
386
|
{
|
|
487
|
-
"
|
|
387
|
+
"description": "An example slot.",
|
|
388
|
+
"name": "example"
|
|
389
|
+
}
|
|
390
|
+
],
|
|
391
|
+
"members": [
|
|
392
|
+
{
|
|
393
|
+
"kind": "field",
|
|
394
|
+
"name": "slider",
|
|
488
395
|
"type": {
|
|
489
|
-
"text": "
|
|
490
|
-
}
|
|
491
|
-
"default": "false",
|
|
492
|
-
"description": "Draws a pill-style button with rounded edges.",
|
|
493
|
-
"fieldName": "pill"
|
|
396
|
+
"text": "HTMLElement & { noUiSlider: API }"
|
|
397
|
+
}
|
|
494
398
|
},
|
|
495
399
|
{
|
|
496
|
-
"
|
|
400
|
+
"kind": "field",
|
|
401
|
+
"name": "timeScale",
|
|
497
402
|
"type": {
|
|
498
|
-
"text": "
|
|
403
|
+
"text": "TimeScale"
|
|
499
404
|
},
|
|
500
|
-
"default": "
|
|
501
|
-
"
|
|
502
|
-
"fieldName": "circle"
|
|
405
|
+
"default": "'daily'",
|
|
406
|
+
"attribute": "time-scale"
|
|
503
407
|
},
|
|
504
408
|
{
|
|
505
|
-
"
|
|
409
|
+
"kind": "field",
|
|
410
|
+
"name": "minDate",
|
|
506
411
|
"type": {
|
|
507
|
-
"text": "
|
|
412
|
+
"text": "string"
|
|
508
413
|
},
|
|
509
|
-
"
|
|
510
|
-
"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.",
|
|
511
|
-
"fieldName": "type"
|
|
414
|
+
"attribute": "min-date"
|
|
512
415
|
},
|
|
513
416
|
{
|
|
514
|
-
"
|
|
417
|
+
"kind": "field",
|
|
418
|
+
"name": "maxDate",
|
|
515
419
|
"type": {
|
|
516
420
|
"text": "string"
|
|
517
421
|
},
|
|
518
|
-
"
|
|
519
|
-
"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.",
|
|
520
|
-
"fieldName": "name"
|
|
422
|
+
"attribute": "max-date"
|
|
521
423
|
},
|
|
522
424
|
{
|
|
523
|
-
"
|
|
425
|
+
"kind": "field",
|
|
426
|
+
"name": "startDate",
|
|
524
427
|
"type": {
|
|
525
428
|
"text": "string"
|
|
526
429
|
},
|
|
527
|
-
"
|
|
528
|
-
"
|
|
529
|
-
"fieldName": "value"
|
|
430
|
+
"description": "The start date for the time series plot.",
|
|
431
|
+
"attribute": "start-date"
|
|
530
432
|
},
|
|
531
433
|
{
|
|
532
|
-
"
|
|
434
|
+
"kind": "field",
|
|
435
|
+
"name": "endDate",
|
|
533
436
|
"type": {
|
|
534
437
|
"text": "string"
|
|
535
438
|
},
|
|
536
|
-
"
|
|
537
|
-
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
538
|
-
"fieldName": "href"
|
|
439
|
+
"attribute": "end-date"
|
|
539
440
|
},
|
|
540
441
|
{
|
|
541
|
-
"
|
|
442
|
+
"kind": "field",
|
|
443
|
+
"name": "disabled",
|
|
542
444
|
"type": {
|
|
543
|
-
"text": "
|
|
445
|
+
"text": "boolean"
|
|
544
446
|
},
|
|
545
|
-
"
|
|
546
|
-
"
|
|
447
|
+
"default": "false",
|
|
448
|
+
"attribute": "disabled",
|
|
449
|
+
"reflects": true
|
|
547
450
|
},
|
|
548
451
|
{
|
|
549
|
-
"
|
|
452
|
+
"kind": "field",
|
|
453
|
+
"name": "hasPips",
|
|
550
454
|
"type": {
|
|
551
|
-
"text": "
|
|
455
|
+
"text": "boolean"
|
|
552
456
|
},
|
|
553
|
-
"default": "
|
|
554
|
-
"
|
|
555
|
-
"
|
|
457
|
+
"default": "true",
|
|
458
|
+
"attribute": "has-pips",
|
|
459
|
+
"reflects": true
|
|
556
460
|
},
|
|
557
461
|
{
|
|
558
|
-
"
|
|
462
|
+
"kind": "method",
|
|
463
|
+
"name": "updateSlider"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"kind": "method",
|
|
467
|
+
"name": "disabledChanged"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"kind": "method",
|
|
471
|
+
"name": "renderSlider"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"kind": "method",
|
|
475
|
+
"name": "renderEmptySlider"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"kind": "method",
|
|
479
|
+
"name": "_getStep",
|
|
480
|
+
"privacy": "private"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"kind": "method",
|
|
484
|
+
"name": "_getSliderFormatter",
|
|
485
|
+
"privacy": "private",
|
|
486
|
+
"return": {
|
|
487
|
+
"type": {
|
|
488
|
+
"text": "Formatter"
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"kind": "method",
|
|
494
|
+
"name": "_formatDate",
|
|
495
|
+
"privacy": "private",
|
|
496
|
+
"parameters": [
|
|
497
|
+
{
|
|
498
|
+
"name": "date",
|
|
499
|
+
"type": {
|
|
500
|
+
"text": "string | number | Date"
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
]
|
|
504
|
+
}
|
|
505
|
+
],
|
|
506
|
+
"attributes": [
|
|
507
|
+
{
|
|
508
|
+
"name": "time-scale",
|
|
559
509
|
"type": {
|
|
560
|
-
"text": "
|
|
510
|
+
"text": "TimeScale"
|
|
561
511
|
},
|
|
562
|
-
"
|
|
563
|
-
"fieldName": "
|
|
512
|
+
"default": "'daily'",
|
|
513
|
+
"fieldName": "timeScale"
|
|
564
514
|
},
|
|
565
515
|
{
|
|
566
|
-
"name": "
|
|
516
|
+
"name": "min-date",
|
|
567
517
|
"type": {
|
|
568
518
|
"text": "string"
|
|
569
519
|
},
|
|
570
|
-
"
|
|
571
|
-
"fieldName": "form"
|
|
520
|
+
"fieldName": "minDate"
|
|
572
521
|
},
|
|
573
522
|
{
|
|
574
|
-
"name": "
|
|
523
|
+
"name": "max-date",
|
|
575
524
|
"type": {
|
|
576
525
|
"text": "string"
|
|
577
526
|
},
|
|
578
|
-
"
|
|
579
|
-
"fieldName": "formAction"
|
|
527
|
+
"fieldName": "maxDate"
|
|
580
528
|
},
|
|
581
529
|
{
|
|
582
|
-
"name": "
|
|
530
|
+
"name": "start-date",
|
|
583
531
|
"type": {
|
|
584
|
-
"text": "
|
|
532
|
+
"text": "string"
|
|
585
533
|
},
|
|
586
|
-
"description": "
|
|
587
|
-
"fieldName": "
|
|
534
|
+
"description": "The start date for the time series plot.",
|
|
535
|
+
"fieldName": "startDate"
|
|
588
536
|
},
|
|
589
537
|
{
|
|
590
|
-
"name": "
|
|
538
|
+
"name": "end-date",
|
|
591
539
|
"type": {
|
|
592
|
-
"text": "
|
|
540
|
+
"text": "string"
|
|
593
541
|
},
|
|
594
|
-
"
|
|
595
|
-
"fieldName": "formMethod"
|
|
542
|
+
"fieldName": "endDate"
|
|
596
543
|
},
|
|
597
544
|
{
|
|
598
|
-
"name": "
|
|
545
|
+
"name": "disabled",
|
|
599
546
|
"type": {
|
|
600
547
|
"text": "boolean"
|
|
601
548
|
},
|
|
602
|
-
"
|
|
603
|
-
"fieldName": "
|
|
549
|
+
"default": "false",
|
|
550
|
+
"fieldName": "disabled"
|
|
604
551
|
},
|
|
605
552
|
{
|
|
606
|
-
"name": "
|
|
553
|
+
"name": "has-pips",
|
|
607
554
|
"type": {
|
|
608
|
-
"text": "
|
|
555
|
+
"text": "boolean"
|
|
609
556
|
},
|
|
610
|
-
"
|
|
611
|
-
"fieldName": "
|
|
557
|
+
"default": "true",
|
|
558
|
+
"fieldName": "hasPips"
|
|
612
559
|
}
|
|
613
560
|
],
|
|
614
561
|
"superclass": {
|
|
615
562
|
"name": "TerraElement",
|
|
616
563
|
"module": "/src/internal/terra-element.js"
|
|
617
564
|
},
|
|
618
|
-
"summary": "
|
|
619
|
-
"tagNameWithoutPrefix": "
|
|
620
|
-
"tagName": "terra-
|
|
565
|
+
"summary": "Short summary of the component's intended use.",
|
|
566
|
+
"tagNameWithoutPrefix": "date-range-slider",
|
|
567
|
+
"tagName": "terra-date-range-slider",
|
|
621
568
|
"customElement": true,
|
|
622
|
-
"jsDoc": "/**\n * @summary
|
|
623
|
-
"documentation": "https://
|
|
624
|
-
"status": "
|
|
625
|
-
"since": "
|
|
569
|
+
"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 */",
|
|
570
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/date-range-slider",
|
|
571
|
+
"status": "experimental",
|
|
572
|
+
"since": "1.0"
|
|
626
573
|
}
|
|
627
574
|
],
|
|
628
575
|
"exports": [
|
|
@@ -630,8 +577,8 @@
|
|
|
630
577
|
"kind": "js",
|
|
631
578
|
"name": "default",
|
|
632
579
|
"declaration": {
|
|
633
|
-
"name": "
|
|
634
|
-
"module": "components/
|
|
580
|
+
"name": "TerraDateRangeSlider",
|
|
581
|
+
"module": "components/date-range-slider/date-range-slider.js"
|
|
635
582
|
}
|
|
636
583
|
}
|
|
637
584
|
]
|
|
@@ -704,617 +651,625 @@
|
|
|
704
651
|
},
|
|
705
652
|
{
|
|
706
653
|
"kind": "javascript-module",
|
|
707
|
-
"path": "components/
|
|
654
|
+
"path": "components/button/button.js",
|
|
708
655
|
"declarations": [
|
|
709
656
|
{
|
|
710
657
|
"kind": "class",
|
|
711
658
|
"description": "",
|
|
712
|
-
"name": "
|
|
713
|
-
"cssProperties": [
|
|
714
|
-
{
|
|
715
|
-
"description": "An example CSS custom property.",
|
|
716
|
-
"name": "--example"
|
|
717
|
-
}
|
|
718
|
-
],
|
|
659
|
+
"name": "TerraButton",
|
|
719
660
|
"cssParts": [
|
|
720
661
|
{
|
|
721
662
|
"description": "The component's base wrapper.",
|
|
722
663
|
"name": "base"
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"description": "The container that wraps the prefix.",
|
|
667
|
+
"name": "prefix"
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"description": "The button's label.",
|
|
671
|
+
"name": "label"
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"description": "The container that wraps the suffix.",
|
|
675
|
+
"name": "suffix"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"description": "The button's caret icon, an `<sl-icon>` element.",
|
|
679
|
+
"name": "caret"
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"description": "The spinner that shows when the button is in the loading state.",
|
|
683
|
+
"name": "spinner"
|
|
723
684
|
}
|
|
724
685
|
],
|
|
725
686
|
"slots": [
|
|
726
687
|
{
|
|
727
|
-
"description": "The
|
|
688
|
+
"description": "The button's label.",
|
|
728
689
|
"name": ""
|
|
729
690
|
},
|
|
730
691
|
{
|
|
731
|
-
"description": "
|
|
732
|
-
"name": "
|
|
692
|
+
"description": "A presentational prefix icon or similar element.",
|
|
693
|
+
"name": "prefix"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"description": "A presentational suffix icon or similar element.",
|
|
697
|
+
"name": "suffix"
|
|
733
698
|
}
|
|
734
699
|
],
|
|
735
700
|
"members": [
|
|
736
701
|
{
|
|
737
702
|
"kind": "field",
|
|
738
|
-
"name": "
|
|
703
|
+
"name": "formControlController",
|
|
704
|
+
"privacy": "private",
|
|
705
|
+
"readonly": true,
|
|
706
|
+
"default": "new FormControlController(this, {\n assumeInteractionOn: ['click'],\n })"
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"kind": "field",
|
|
710
|
+
"name": "hasSlotController",
|
|
711
|
+
"privacy": "private",
|
|
712
|
+
"readonly": true,
|
|
713
|
+
"default": "new HasSlotController(\n this,\n '[default]',\n 'prefix',\n 'suffix'\n )"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"kind": "field",
|
|
717
|
+
"name": "button",
|
|
739
718
|
"type": {
|
|
740
|
-
"text": "
|
|
719
|
+
"text": "HTMLButtonElement | HTMLLinkElement"
|
|
741
720
|
}
|
|
742
721
|
},
|
|
743
722
|
{
|
|
744
723
|
"kind": "field",
|
|
745
|
-
"name": "
|
|
724
|
+
"name": "hasFocus",
|
|
746
725
|
"type": {
|
|
747
|
-
"text": "
|
|
726
|
+
"text": "boolean"
|
|
748
727
|
},
|
|
749
|
-
"
|
|
750
|
-
"
|
|
728
|
+
"privacy": "private",
|
|
729
|
+
"default": "false"
|
|
751
730
|
},
|
|
752
731
|
{
|
|
753
732
|
"kind": "field",
|
|
754
|
-
"name": "
|
|
733
|
+
"name": "invalid",
|
|
755
734
|
"type": {
|
|
756
|
-
"text": "
|
|
735
|
+
"text": "boolean"
|
|
757
736
|
},
|
|
758
|
-
"
|
|
737
|
+
"default": "false"
|
|
759
738
|
},
|
|
760
739
|
{
|
|
761
740
|
"kind": "field",
|
|
762
|
-
"name": "
|
|
741
|
+
"name": "title",
|
|
763
742
|
"type": {
|
|
764
743
|
"text": "string"
|
|
765
744
|
},
|
|
766
|
-
"
|
|
745
|
+
"default": "''",
|
|
746
|
+
"attribute": "title"
|
|
767
747
|
},
|
|
768
748
|
{
|
|
769
749
|
"kind": "field",
|
|
770
|
-
"name": "
|
|
750
|
+
"name": "variant",
|
|
771
751
|
"type": {
|
|
772
|
-
"text": "
|
|
752
|
+
"text": "| 'default'\n | 'primary'\n | 'success'\n | 'neutral'\n | 'warning'\n | 'danger'\n | 'text'"
|
|
773
753
|
},
|
|
774
|
-
"
|
|
775
|
-
"
|
|
754
|
+
"default": "'default'",
|
|
755
|
+
"description": "The button's theme variant.",
|
|
756
|
+
"attribute": "variant",
|
|
757
|
+
"reflects": true
|
|
776
758
|
},
|
|
777
759
|
{
|
|
778
760
|
"kind": "field",
|
|
779
|
-
"name": "
|
|
761
|
+
"name": "size",
|
|
780
762
|
"type": {
|
|
781
|
-
"text": "
|
|
763
|
+
"text": "'small' | 'medium' | 'large'"
|
|
782
764
|
},
|
|
783
|
-
"
|
|
765
|
+
"default": "'medium'",
|
|
766
|
+
"description": "The button's size.",
|
|
767
|
+
"attribute": "size",
|
|
768
|
+
"reflects": true
|
|
784
769
|
},
|
|
785
770
|
{
|
|
786
771
|
"kind": "field",
|
|
787
|
-
"name": "
|
|
772
|
+
"name": "caret",
|
|
788
773
|
"type": {
|
|
789
774
|
"text": "boolean"
|
|
790
775
|
},
|
|
791
776
|
"default": "false",
|
|
792
|
-
"
|
|
777
|
+
"description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
|
|
778
|
+
"attribute": "caret",
|
|
793
779
|
"reflects": true
|
|
794
780
|
},
|
|
795
781
|
{
|
|
796
782
|
"kind": "field",
|
|
797
|
-
"name": "
|
|
783
|
+
"name": "disabled",
|
|
798
784
|
"type": {
|
|
799
785
|
"text": "boolean"
|
|
800
786
|
},
|
|
801
|
-
"default": "
|
|
802
|
-
"
|
|
787
|
+
"default": "false",
|
|
788
|
+
"description": "Disables the button.",
|
|
789
|
+
"attribute": "disabled",
|
|
803
790
|
"reflects": true
|
|
804
791
|
},
|
|
805
792
|
{
|
|
806
|
-
"kind": "
|
|
807
|
-
"name": "
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
"
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
"
|
|
815
|
-
"name": "renderSlider"
|
|
816
|
-
},
|
|
817
|
-
{
|
|
818
|
-
"kind": "method",
|
|
819
|
-
"name": "renderEmptySlider"
|
|
793
|
+
"kind": "field",
|
|
794
|
+
"name": "loading",
|
|
795
|
+
"type": {
|
|
796
|
+
"text": "boolean"
|
|
797
|
+
},
|
|
798
|
+
"default": "false",
|
|
799
|
+
"description": "Draws the button in a loading state.",
|
|
800
|
+
"attribute": "loading",
|
|
801
|
+
"reflects": true
|
|
820
802
|
},
|
|
821
803
|
{
|
|
822
|
-
"kind": "
|
|
823
|
-
"name": "
|
|
824
|
-
"
|
|
804
|
+
"kind": "field",
|
|
805
|
+
"name": "outline",
|
|
806
|
+
"type": {
|
|
807
|
+
"text": "boolean"
|
|
808
|
+
},
|
|
809
|
+
"default": "false",
|
|
810
|
+
"description": "Draws an outlined button.",
|
|
811
|
+
"attribute": "outline",
|
|
812
|
+
"reflects": true
|
|
825
813
|
},
|
|
826
814
|
{
|
|
827
|
-
"kind": "
|
|
828
|
-
"name": "
|
|
829
|
-
"
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
815
|
+
"kind": "field",
|
|
816
|
+
"name": "pill",
|
|
817
|
+
"type": {
|
|
818
|
+
"text": "boolean"
|
|
819
|
+
},
|
|
820
|
+
"default": "false",
|
|
821
|
+
"description": "Draws a pill-style button with rounded edges.",
|
|
822
|
+
"attribute": "pill",
|
|
823
|
+
"reflects": true
|
|
835
824
|
},
|
|
836
825
|
{
|
|
837
|
-
"kind": "
|
|
838
|
-
"name": "
|
|
839
|
-
"privacy": "private",
|
|
840
|
-
"parameters": [
|
|
841
|
-
{
|
|
842
|
-
"name": "date",
|
|
843
|
-
"type": {
|
|
844
|
-
"text": "string | number | Date"
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
]
|
|
848
|
-
}
|
|
849
|
-
],
|
|
850
|
-
"attributes": [
|
|
851
|
-
{
|
|
852
|
-
"name": "time-scale",
|
|
826
|
+
"kind": "field",
|
|
827
|
+
"name": "circle",
|
|
853
828
|
"type": {
|
|
854
|
-
"text": "
|
|
829
|
+
"text": "boolean"
|
|
855
830
|
},
|
|
856
|
-
"default": "
|
|
857
|
-
"
|
|
831
|
+
"default": "false",
|
|
832
|
+
"description": "Draws a circular icon button. When this attribute is present, the button expects a single `<sl-icon>` in the\ndefault slot.",
|
|
833
|
+
"attribute": "circle",
|
|
834
|
+
"reflects": true
|
|
858
835
|
},
|
|
859
836
|
{
|
|
860
|
-
"
|
|
837
|
+
"kind": "field",
|
|
838
|
+
"name": "type",
|
|
861
839
|
"type": {
|
|
862
|
-
"text": "
|
|
840
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
863
841
|
},
|
|
864
|
-
"
|
|
842
|
+
"default": "'button'",
|
|
843
|
+
"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.",
|
|
844
|
+
"attribute": "type"
|
|
865
845
|
},
|
|
866
846
|
{
|
|
867
|
-
"
|
|
847
|
+
"kind": "field",
|
|
848
|
+
"name": "name",
|
|
868
849
|
"type": {
|
|
869
850
|
"text": "string"
|
|
870
851
|
},
|
|
871
|
-
"
|
|
852
|
+
"default": "''",
|
|
853
|
+
"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.",
|
|
854
|
+
"attribute": "name"
|
|
872
855
|
},
|
|
873
856
|
{
|
|
874
|
-
"
|
|
857
|
+
"kind": "field",
|
|
858
|
+
"name": "value",
|
|
875
859
|
"type": {
|
|
876
860
|
"text": "string"
|
|
877
861
|
},
|
|
878
|
-
"
|
|
879
|
-
"
|
|
862
|
+
"default": "''",
|
|
863
|
+
"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.",
|
|
864
|
+
"attribute": "value"
|
|
880
865
|
},
|
|
881
866
|
{
|
|
882
|
-
"
|
|
867
|
+
"kind": "field",
|
|
868
|
+
"name": "href",
|
|
883
869
|
"type": {
|
|
884
870
|
"text": "string"
|
|
885
871
|
},
|
|
886
|
-
"
|
|
872
|
+
"default": "''",
|
|
873
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
874
|
+
"attribute": "href"
|
|
887
875
|
},
|
|
888
876
|
{
|
|
889
|
-
"
|
|
877
|
+
"kind": "field",
|
|
878
|
+
"name": "target",
|
|
890
879
|
"type": {
|
|
891
|
-
"text": "
|
|
880
|
+
"text": "'_blank' | '_parent' | '_self' | '_top'"
|
|
892
881
|
},
|
|
893
|
-
"
|
|
894
|
-
"
|
|
882
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
883
|
+
"attribute": "target"
|
|
895
884
|
},
|
|
896
885
|
{
|
|
897
|
-
"
|
|
886
|
+
"kind": "field",
|
|
887
|
+
"name": "rel",
|
|
898
888
|
"type": {
|
|
899
|
-
"text": "
|
|
889
|
+
"text": "string"
|
|
900
890
|
},
|
|
901
|
-
"default": "
|
|
902
|
-
"
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
"superclass": {
|
|
906
|
-
"name": "TerraElement",
|
|
907
|
-
"module": "/src/internal/terra-element.js"
|
|
908
|
-
},
|
|
909
|
-
"summary": "Short summary of the component's intended use.",
|
|
910
|
-
"tagNameWithoutPrefix": "date-range-slider",
|
|
911
|
-
"tagName": "terra-date-range-slider",
|
|
912
|
-
"customElement": true,
|
|
913
|
-
"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 */",
|
|
914
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/date-range-slider",
|
|
915
|
-
"status": "experimental",
|
|
916
|
-
"since": "1.0"
|
|
917
|
-
}
|
|
918
|
-
],
|
|
919
|
-
"exports": [
|
|
920
|
-
{
|
|
921
|
-
"kind": "js",
|
|
922
|
-
"name": "default",
|
|
923
|
-
"declaration": {
|
|
924
|
-
"name": "TerraDateRangeSlider",
|
|
925
|
-
"module": "components/date-range-slider/date-range-slider.js"
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
]
|
|
929
|
-
},
|
|
930
|
-
{
|
|
931
|
-
"kind": "javascript-module",
|
|
932
|
-
"path": "components/icon/icon.js",
|
|
933
|
-
"declarations": [
|
|
934
|
-
{
|
|
935
|
-
"kind": "class",
|
|
936
|
-
"description": "",
|
|
937
|
-
"name": "TerraIcon",
|
|
938
|
-
"cssParts": [
|
|
939
|
-
{
|
|
940
|
-
"description": "The internal SVG element.",
|
|
941
|
-
"name": "svg"
|
|
942
|
-
}
|
|
943
|
-
],
|
|
944
|
-
"members": [
|
|
891
|
+
"default": "'noreferrer noopener'",
|
|
892
|
+
"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.",
|
|
893
|
+
"attribute": "rel"
|
|
894
|
+
},
|
|
945
895
|
{
|
|
946
896
|
"kind": "field",
|
|
947
|
-
"name": "
|
|
948
|
-
"privacy": "private",
|
|
897
|
+
"name": "download",
|
|
949
898
|
"type": {
|
|
950
|
-
"text": "
|
|
899
|
+
"text": "string | undefined"
|
|
951
900
|
},
|
|
952
|
-
"
|
|
901
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
902
|
+
"attribute": "download"
|
|
953
903
|
},
|
|
954
904
|
{
|
|
955
905
|
"kind": "field",
|
|
956
|
-
"name": "
|
|
906
|
+
"name": "form",
|
|
957
907
|
"type": {
|
|
958
|
-
"text": "
|
|
908
|
+
"text": "string"
|
|
959
909
|
},
|
|
960
|
-
"
|
|
910
|
+
"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.",
|
|
911
|
+
"attribute": "form"
|
|
961
912
|
},
|
|
962
913
|
{
|
|
963
914
|
"kind": "field",
|
|
964
|
-
"name": "
|
|
915
|
+
"name": "formAction",
|
|
965
916
|
"type": {
|
|
966
|
-
"text": "string
|
|
917
|
+
"text": "string"
|
|
967
918
|
},
|
|
968
|
-
"description": "
|
|
969
|
-
"attribute": "
|
|
970
|
-
"reflects": true
|
|
919
|
+
"description": "Used to override the form owner's `action` attribute.",
|
|
920
|
+
"attribute": "formaction"
|
|
971
921
|
},
|
|
972
922
|
{
|
|
973
923
|
"kind": "field",
|
|
974
|
-
"name": "
|
|
924
|
+
"name": "formEnctype",
|
|
975
925
|
"type": {
|
|
976
|
-
"text": "
|
|
926
|
+
"text": "| 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'"
|
|
977
927
|
},
|
|
978
|
-
"description": "
|
|
979
|
-
"attribute": "
|
|
928
|
+
"description": "Used to override the form owner's `enctype` attribute.",
|
|
929
|
+
"attribute": "formenctype"
|
|
980
930
|
},
|
|
981
931
|
{
|
|
982
932
|
"kind": "field",
|
|
983
|
-
"name": "
|
|
933
|
+
"name": "formMethod",
|
|
984
934
|
"type": {
|
|
985
|
-
"text": "
|
|
935
|
+
"text": "'post' | 'get'"
|
|
986
936
|
},
|
|
987
|
-
"
|
|
988
|
-
"
|
|
989
|
-
"attribute": "label"
|
|
937
|
+
"description": "Used to override the form owner's `method` attribute.",
|
|
938
|
+
"attribute": "formmethod"
|
|
990
939
|
},
|
|
991
940
|
{
|
|
992
941
|
"kind": "field",
|
|
993
|
-
"name": "
|
|
942
|
+
"name": "formNoValidate",
|
|
994
943
|
"type": {
|
|
995
|
-
"text": "
|
|
944
|
+
"text": "boolean"
|
|
996
945
|
},
|
|
997
|
-
"
|
|
998
|
-
"
|
|
999
|
-
"attribute": "library",
|
|
1000
|
-
"reflects": true
|
|
946
|
+
"description": "Used to override the form owner's `novalidate` attribute.",
|
|
947
|
+
"attribute": "formnovalidate"
|
|
1001
948
|
},
|
|
1002
949
|
{
|
|
1003
950
|
"kind": "field",
|
|
1004
|
-
"name": "
|
|
951
|
+
"name": "formTarget",
|
|
1005
952
|
"type": {
|
|
1006
|
-
"text": "
|
|
953
|
+
"text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
|
|
1007
954
|
},
|
|
1008
|
-
"
|
|
1009
|
-
"
|
|
1010
|
-
"attribute": "color"
|
|
955
|
+
"description": "Used to override the form owner's `target` attribute.",
|
|
956
|
+
"attribute": "formtarget"
|
|
1011
957
|
},
|
|
1012
958
|
{
|
|
1013
959
|
"kind": "field",
|
|
1014
|
-
"name": "
|
|
1015
|
-
"
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
"
|
|
1020
|
-
"
|
|
960
|
+
"name": "validity",
|
|
961
|
+
"description": "Gets the validity state object",
|
|
962
|
+
"readonly": true
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"kind": "field",
|
|
966
|
+
"name": "validationMessage",
|
|
967
|
+
"description": "Gets the validation message",
|
|
968
|
+
"readonly": true
|
|
1021
969
|
},
|
|
1022
970
|
{
|
|
1023
971
|
"kind": "method",
|
|
1024
|
-
"name": "
|
|
1025
|
-
"
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
972
|
+
"name": "handleBlur",
|
|
973
|
+
"privacy": "private"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"kind": "method",
|
|
977
|
+
"name": "handleFocus",
|
|
978
|
+
"privacy": "private"
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"kind": "method",
|
|
982
|
+
"name": "handleClick",
|
|
983
|
+
"privacy": "private"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"kind": "method",
|
|
987
|
+
"name": "handleInvalid",
|
|
988
|
+
"privacy": "private",
|
|
1030
989
|
"parameters": [
|
|
1031
990
|
{
|
|
1032
|
-
"name": "
|
|
991
|
+
"name": "event",
|
|
1033
992
|
"type": {
|
|
1034
|
-
"text": "
|
|
993
|
+
"text": "Event"
|
|
1035
994
|
}
|
|
1036
995
|
}
|
|
1037
|
-
]
|
|
1038
|
-
"description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
|
|
996
|
+
]
|
|
1039
997
|
},
|
|
1040
998
|
{
|
|
1041
999
|
"kind": "method",
|
|
1042
|
-
"name": "
|
|
1043
|
-
"
|
|
1044
|
-
|
|
1045
|
-
|
|
1000
|
+
"name": "isButton",
|
|
1001
|
+
"privacy": "private"
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"kind": "method",
|
|
1005
|
+
"name": "isLink",
|
|
1006
|
+
"privacy": "private"
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"kind": "method",
|
|
1010
|
+
"name": "handleDisabledChange"
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"kind": "method",
|
|
1014
|
+
"name": "click",
|
|
1015
|
+
"description": "Simulates a click on the button."
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"kind": "method",
|
|
1019
|
+
"name": "focus",
|
|
1020
|
+
"parameters": [
|
|
1021
|
+
{
|
|
1022
|
+
"name": "options",
|
|
1023
|
+
"optional": true,
|
|
1024
|
+
"type": {
|
|
1025
|
+
"text": "FocusOptions"
|
|
1026
|
+
}
|
|
1046
1027
|
}
|
|
1047
|
-
|
|
1028
|
+
],
|
|
1029
|
+
"description": "Sets focus on the button."
|
|
1048
1030
|
},
|
|
1049
1031
|
{
|
|
1050
1032
|
"kind": "method",
|
|
1051
|
-
"name": "
|
|
1052
|
-
"description": "
|
|
1033
|
+
"name": "blur",
|
|
1034
|
+
"description": "Removes focus from the button."
|
|
1053
1035
|
},
|
|
1054
1036
|
{
|
|
1055
1037
|
"kind": "method",
|
|
1056
|
-
"name": "
|
|
1038
|
+
"name": "checkValidity",
|
|
1039
|
+
"description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
1057
1040
|
},
|
|
1058
1041
|
{
|
|
1059
1042
|
"kind": "method",
|
|
1060
|
-
"name": "
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1043
|
+
"name": "getForm",
|
|
1044
|
+
"return": {
|
|
1045
|
+
"type": {
|
|
1046
|
+
"text": "HTMLFormElement | null"
|
|
1047
|
+
}
|
|
1048
|
+
},
|
|
1049
|
+
"description": "Gets the associated form, if one exists."
|
|
1050
|
+
},
|
|
1064
1051
|
{
|
|
1065
|
-
"
|
|
1066
|
-
"name": "
|
|
1067
|
-
"
|
|
1068
|
-
"eventName": "TerraLoadEvent"
|
|
1052
|
+
"kind": "method",
|
|
1053
|
+
"name": "reportValidity",
|
|
1054
|
+
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
1069
1055
|
},
|
|
1070
1056
|
{
|
|
1071
|
-
"
|
|
1072
|
-
"name": "
|
|
1073
|
-
"
|
|
1074
|
-
|
|
1057
|
+
"kind": "method",
|
|
1058
|
+
"name": "setCustomValidity",
|
|
1059
|
+
"parameters": [
|
|
1060
|
+
{
|
|
1061
|
+
"name": "message",
|
|
1062
|
+
"type": {
|
|
1063
|
+
"text": "string"
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
],
|
|
1067
|
+
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
1075
1068
|
}
|
|
1076
1069
|
],
|
|
1077
1070
|
"attributes": [
|
|
1078
1071
|
{
|
|
1079
|
-
"name": "
|
|
1072
|
+
"name": "title",
|
|
1080
1073
|
"type": {
|
|
1081
|
-
"text": "string
|
|
1074
|
+
"text": "string"
|
|
1082
1075
|
},
|
|
1083
|
-
"
|
|
1084
|
-
"fieldName": "
|
|
1076
|
+
"default": "''",
|
|
1077
|
+
"fieldName": "title"
|
|
1085
1078
|
},
|
|
1086
1079
|
{
|
|
1087
|
-
"name": "
|
|
1080
|
+
"name": "variant",
|
|
1088
1081
|
"type": {
|
|
1089
|
-
"text": "
|
|
1082
|
+
"text": "| 'default'\n | 'primary'\n | 'success'\n | 'neutral'\n | 'warning'\n | 'danger'\n | 'text'"
|
|
1090
1083
|
},
|
|
1091
|
-
"
|
|
1092
|
-
"
|
|
1084
|
+
"default": "'default'",
|
|
1085
|
+
"description": "The button's theme variant.",
|
|
1086
|
+
"fieldName": "variant"
|
|
1093
1087
|
},
|
|
1094
1088
|
{
|
|
1095
|
-
"name": "
|
|
1089
|
+
"name": "size",
|
|
1096
1090
|
"type": {
|
|
1097
|
-
"text": "
|
|
1091
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1098
1092
|
},
|
|
1099
|
-
"default": "''",
|
|
1100
|
-
"description": "
|
|
1101
|
-
"fieldName": "
|
|
1093
|
+
"default": "'medium'",
|
|
1094
|
+
"description": "The button's size.",
|
|
1095
|
+
"fieldName": "size"
|
|
1102
1096
|
},
|
|
1103
1097
|
{
|
|
1104
|
-
"name": "
|
|
1098
|
+
"name": "caret",
|
|
1105
1099
|
"type": {
|
|
1106
|
-
"text": "
|
|
1100
|
+
"text": "boolean"
|
|
1107
1101
|
},
|
|
1108
|
-
"default": "
|
|
1109
|
-
"description": "
|
|
1110
|
-
"fieldName": "
|
|
1102
|
+
"default": "false",
|
|
1103
|
+
"description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
|
|
1104
|
+
"fieldName": "caret"
|
|
1111
1105
|
},
|
|
1112
1106
|
{
|
|
1113
|
-
"name": "
|
|
1107
|
+
"name": "disabled",
|
|
1114
1108
|
"type": {
|
|
1115
|
-
"text": "
|
|
1109
|
+
"text": "boolean"
|
|
1116
1110
|
},
|
|
1117
|
-
"default": "
|
|
1118
|
-
"description": "
|
|
1119
|
-
"fieldName": "
|
|
1111
|
+
"default": "false",
|
|
1112
|
+
"description": "Disables the button.",
|
|
1113
|
+
"fieldName": "disabled"
|
|
1120
1114
|
},
|
|
1121
1115
|
{
|
|
1122
|
-
"name": "
|
|
1116
|
+
"name": "loading",
|
|
1123
1117
|
"type": {
|
|
1124
|
-
"text": "
|
|
1118
|
+
"text": "boolean"
|
|
1125
1119
|
},
|
|
1126
|
-
"default": "
|
|
1127
|
-
"description": "
|
|
1128
|
-
"fieldName": "
|
|
1129
|
-
}
|
|
1130
|
-
],
|
|
1131
|
-
"superclass": {
|
|
1132
|
-
"name": "TerraElement",
|
|
1133
|
-
"module": "/src/internal/terra-element.js"
|
|
1134
|
-
},
|
|
1135
|
-
"summary": "Icons are symbols that can be used to represent various options within an application.",
|
|
1136
|
-
"tagNameWithoutPrefix": "icon",
|
|
1137
|
-
"tagName": "terra-icon",
|
|
1138
|
-
"customElement": true,
|
|
1139
|
-
"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 */",
|
|
1140
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/icon",
|
|
1141
|
-
"status": "experimental",
|
|
1142
|
-
"since": "1.0"
|
|
1143
|
-
}
|
|
1144
|
-
],
|
|
1145
|
-
"exports": [
|
|
1146
|
-
{
|
|
1147
|
-
"kind": "js",
|
|
1148
|
-
"name": "default",
|
|
1149
|
-
"declaration": {
|
|
1150
|
-
"name": "TerraIcon",
|
|
1151
|
-
"module": "components/icon/icon.js"
|
|
1152
|
-
}
|
|
1153
|
-
}
|
|
1154
|
-
]
|
|
1155
|
-
},
|
|
1156
|
-
{
|
|
1157
|
-
"kind": "javascript-module",
|
|
1158
|
-
"path": "components/loader/loader.js",
|
|
1159
|
-
"declarations": [
|
|
1160
|
-
{
|
|
1161
|
-
"kind": "class",
|
|
1162
|
-
"description": "",
|
|
1163
|
-
"name": "TerraLoader",
|
|
1164
|
-
"cssProperties": [
|
|
1165
|
-
{
|
|
1166
|
-
"description": "An example CSS custom property.",
|
|
1167
|
-
"name": "--example"
|
|
1168
|
-
}
|
|
1169
|
-
],
|
|
1170
|
-
"cssParts": [
|
|
1120
|
+
"default": "false",
|
|
1121
|
+
"description": "Draws the button in a loading state.",
|
|
1122
|
+
"fieldName": "loading"
|
|
1123
|
+
},
|
|
1171
1124
|
{
|
|
1172
|
-
"
|
|
1173
|
-
"
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1125
|
+
"name": "outline",
|
|
1126
|
+
"type": {
|
|
1127
|
+
"text": "boolean"
|
|
1128
|
+
},
|
|
1129
|
+
"default": "false",
|
|
1130
|
+
"description": "Draws an outlined button.",
|
|
1131
|
+
"fieldName": "outline"
|
|
1132
|
+
},
|
|
1177
1133
|
{
|
|
1178
|
-
"
|
|
1179
|
-
"name": "size",
|
|
1134
|
+
"name": "pill",
|
|
1180
1135
|
"type": {
|
|
1181
|
-
"text": "
|
|
1136
|
+
"text": "boolean"
|
|
1182
1137
|
},
|
|
1183
|
-
"default": "
|
|
1184
|
-
"description": "
|
|
1185
|
-
"
|
|
1186
|
-
"reflects": true
|
|
1138
|
+
"default": "false",
|
|
1139
|
+
"description": "Draws a pill-style button with rounded edges.",
|
|
1140
|
+
"fieldName": "pill"
|
|
1187
1141
|
},
|
|
1188
1142
|
{
|
|
1189
|
-
"
|
|
1190
|
-
"name": "theme",
|
|
1143
|
+
"name": "circle",
|
|
1191
1144
|
"type": {
|
|
1192
|
-
"text": "
|
|
1145
|
+
"text": "boolean"
|
|
1193
1146
|
},
|
|
1194
|
-
"
|
|
1195
|
-
"
|
|
1196
|
-
"
|
|
1147
|
+
"default": "false",
|
|
1148
|
+
"description": "Draws a circular icon button. When this attribute is present, the button expects a single `<sl-icon>` in the\ndefault slot.",
|
|
1149
|
+
"fieldName": "circle"
|
|
1197
1150
|
},
|
|
1198
1151
|
{
|
|
1199
|
-
"
|
|
1200
|
-
"name": "percent",
|
|
1152
|
+
"name": "type",
|
|
1201
1153
|
"type": {
|
|
1202
|
-
"text": "
|
|
1154
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
1203
1155
|
},
|
|
1204
|
-
"default": "
|
|
1205
|
-
"description": "The
|
|
1206
|
-
"
|
|
1156
|
+
"default": "'button'",
|
|
1157
|
+
"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.",
|
|
1158
|
+
"fieldName": "type"
|
|
1207
1159
|
},
|
|
1208
1160
|
{
|
|
1209
|
-
"
|
|
1210
|
-
"name": "indeterminate",
|
|
1161
|
+
"name": "name",
|
|
1211
1162
|
"type": {
|
|
1212
|
-
"text": "
|
|
1163
|
+
"text": "string"
|
|
1213
1164
|
},
|
|
1214
|
-
"default": "
|
|
1215
|
-
"description": "
|
|
1216
|
-
"
|
|
1165
|
+
"default": "''",
|
|
1166
|
+
"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.",
|
|
1167
|
+
"fieldName": "name"
|
|
1217
1168
|
},
|
|
1218
1169
|
{
|
|
1219
|
-
"
|
|
1220
|
-
"name": "label",
|
|
1170
|
+
"name": "value",
|
|
1221
1171
|
"type": {
|
|
1222
1172
|
"text": "string"
|
|
1223
1173
|
},
|
|
1224
|
-
"default": "'
|
|
1225
|
-
"description": "
|
|
1226
|
-
"
|
|
1174
|
+
"default": "''",
|
|
1175
|
+
"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.",
|
|
1176
|
+
"fieldName": "value"
|
|
1227
1177
|
},
|
|
1228
1178
|
{
|
|
1229
|
-
"
|
|
1230
|
-
"name": "message",
|
|
1179
|
+
"name": "href",
|
|
1231
1180
|
"type": {
|
|
1232
1181
|
"text": "string"
|
|
1233
1182
|
},
|
|
1234
1183
|
"default": "''",
|
|
1235
|
-
"description": "
|
|
1236
|
-
"
|
|
1184
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
1185
|
+
"fieldName": "href"
|
|
1237
1186
|
},
|
|
1238
1187
|
{
|
|
1239
|
-
"
|
|
1240
|
-
"
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
}
|
|
1247
|
-
}
|
|
1248
|
-
]
|
|
1249
|
-
}
|
|
1250
|
-
],
|
|
1251
|
-
"attributes": [
|
|
1188
|
+
"name": "target",
|
|
1189
|
+
"type": {
|
|
1190
|
+
"text": "'_blank' | '_parent' | '_self' | '_top'"
|
|
1191
|
+
},
|
|
1192
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
1193
|
+
"fieldName": "target"
|
|
1194
|
+
},
|
|
1252
1195
|
{
|
|
1253
|
-
"name": "
|
|
1196
|
+
"name": "rel",
|
|
1254
1197
|
"type": {
|
|
1255
|
-
"text": "
|
|
1198
|
+
"text": "string"
|
|
1256
1199
|
},
|
|
1257
|
-
"default": "'
|
|
1258
|
-
"description": "
|
|
1259
|
-
"fieldName": "
|
|
1200
|
+
"default": "'noreferrer noopener'",
|
|
1201
|
+
"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.",
|
|
1202
|
+
"fieldName": "rel"
|
|
1260
1203
|
},
|
|
1261
1204
|
{
|
|
1262
|
-
"name": "
|
|
1205
|
+
"name": "download",
|
|
1263
1206
|
"type": {
|
|
1264
|
-
"text": "
|
|
1207
|
+
"text": "string | undefined"
|
|
1265
1208
|
},
|
|
1266
|
-
"description": "
|
|
1267
|
-
"fieldName": "
|
|
1209
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
1210
|
+
"fieldName": "download"
|
|
1268
1211
|
},
|
|
1269
1212
|
{
|
|
1270
|
-
"name": "
|
|
1213
|
+
"name": "form",
|
|
1271
1214
|
"type": {
|
|
1272
|
-
"text": "
|
|
1215
|
+
"text": "string"
|
|
1273
1216
|
},
|
|
1274
|
-
"
|
|
1275
|
-
"
|
|
1276
|
-
"fieldName": "percent"
|
|
1217
|
+
"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.",
|
|
1218
|
+
"fieldName": "form"
|
|
1277
1219
|
},
|
|
1278
1220
|
{
|
|
1279
|
-
"name": "
|
|
1221
|
+
"name": "formaction",
|
|
1280
1222
|
"type": {
|
|
1281
|
-
"text": "
|
|
1223
|
+
"text": "string"
|
|
1282
1224
|
},
|
|
1283
|
-
"
|
|
1284
|
-
"
|
|
1285
|
-
"fieldName": "indeterminate"
|
|
1225
|
+
"description": "Used to override the form owner's `action` attribute.",
|
|
1226
|
+
"fieldName": "formAction"
|
|
1286
1227
|
},
|
|
1287
1228
|
{
|
|
1288
|
-
"name": "
|
|
1229
|
+
"name": "formenctype",
|
|
1230
|
+
"type": {
|
|
1231
|
+
"text": "| 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'"
|
|
1232
|
+
},
|
|
1233
|
+
"description": "Used to override the form owner's `enctype` attribute.",
|
|
1234
|
+
"fieldName": "formEnctype"
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
"name": "formmethod",
|
|
1238
|
+
"type": {
|
|
1239
|
+
"text": "'post' | 'get'"
|
|
1240
|
+
},
|
|
1241
|
+
"description": "Used to override the form owner's `method` attribute.",
|
|
1242
|
+
"fieldName": "formMethod"
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
"name": "formnovalidate",
|
|
1289
1246
|
"type": {
|
|
1290
|
-
"text": "
|
|
1247
|
+
"text": "boolean"
|
|
1291
1248
|
},
|
|
1292
|
-
"
|
|
1293
|
-
"
|
|
1294
|
-
"fieldName": "label"
|
|
1249
|
+
"description": "Used to override the form owner's `novalidate` attribute.",
|
|
1250
|
+
"fieldName": "formNoValidate"
|
|
1295
1251
|
},
|
|
1296
1252
|
{
|
|
1297
|
-
"name": "
|
|
1253
|
+
"name": "formtarget",
|
|
1298
1254
|
"type": {
|
|
1299
|
-
"text": "string"
|
|
1255
|
+
"text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
|
|
1300
1256
|
},
|
|
1301
|
-
"
|
|
1302
|
-
"
|
|
1303
|
-
"fieldName": "message"
|
|
1257
|
+
"description": "Used to override the form owner's `target` attribute.",
|
|
1258
|
+
"fieldName": "formTarget"
|
|
1304
1259
|
}
|
|
1305
1260
|
],
|
|
1306
1261
|
"superclass": {
|
|
1307
1262
|
"name": "TerraElement",
|
|
1308
1263
|
"module": "/src/internal/terra-element.js"
|
|
1309
1264
|
},
|
|
1310
|
-
"summary": "
|
|
1311
|
-
"tagNameWithoutPrefix": "
|
|
1312
|
-
"tagName": "terra-
|
|
1265
|
+
"summary": "Buttons represent actions that are available to the user.",
|
|
1266
|
+
"tagNameWithoutPrefix": "button",
|
|
1267
|
+
"tagName": "terra-button",
|
|
1313
1268
|
"customElement": true,
|
|
1314
|
-
"jsDoc": "/**\n * @summary
|
|
1315
|
-
"documentation": "https://
|
|
1316
|
-
"status": "
|
|
1317
|
-
"since": "
|
|
1269
|
+
"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 */",
|
|
1270
|
+
"documentation": "https://shoelace.style/components/button",
|
|
1271
|
+
"status": "stable",
|
|
1272
|
+
"since": "2.0"
|
|
1318
1273
|
}
|
|
1319
1274
|
],
|
|
1320
1275
|
"exports": [
|
|
@@ -1322,223 +1277,224 @@
|
|
|
1322
1277
|
"kind": "js",
|
|
1323
1278
|
"name": "default",
|
|
1324
1279
|
"declaration": {
|
|
1325
|
-
"name": "
|
|
1326
|
-
"module": "components/
|
|
1280
|
+
"name": "TerraButton",
|
|
1281
|
+
"module": "components/button/button.js"
|
|
1327
1282
|
}
|
|
1328
1283
|
}
|
|
1329
1284
|
]
|
|
1330
1285
|
},
|
|
1331
1286
|
{
|
|
1332
1287
|
"kind": "javascript-module",
|
|
1333
|
-
"path": "components/
|
|
1288
|
+
"path": "components/icon/icon.js",
|
|
1334
1289
|
"declarations": [
|
|
1335
1290
|
{
|
|
1336
1291
|
"kind": "class",
|
|
1337
1292
|
"description": "",
|
|
1338
|
-
"name": "
|
|
1293
|
+
"name": "TerraIcon",
|
|
1294
|
+
"cssParts": [
|
|
1295
|
+
{
|
|
1296
|
+
"description": "The internal SVG element.",
|
|
1297
|
+
"name": "svg"
|
|
1298
|
+
}
|
|
1299
|
+
],
|
|
1339
1300
|
"members": [
|
|
1340
1301
|
{
|
|
1341
1302
|
"kind": "field",
|
|
1342
|
-
"name": "
|
|
1303
|
+
"name": "#initialRender",
|
|
1304
|
+
"privacy": "private",
|
|
1343
1305
|
"type": {
|
|
1344
|
-
"text": "
|
|
1306
|
+
"text": "boolean"
|
|
1345
1307
|
},
|
|
1346
|
-
"default": "
|
|
1347
|
-
"description": "Minimum zoom level of the map.",
|
|
1348
|
-
"attribute": "min-zoom"
|
|
1308
|
+
"default": "false"
|
|
1349
1309
|
},
|
|
1350
1310
|
{
|
|
1351
1311
|
"kind": "field",
|
|
1352
|
-
"name": "
|
|
1312
|
+
"name": "svg",
|
|
1353
1313
|
"type": {
|
|
1354
|
-
"text": "
|
|
1314
|
+
"text": "SVGElement | HTMLTemplateResult | null"
|
|
1355
1315
|
},
|
|
1356
|
-
"default": "
|
|
1357
|
-
"description": "Maximum zoom level of the map.",
|
|
1358
|
-
"attribute": "max-zoom"
|
|
1316
|
+
"default": "null"
|
|
1359
1317
|
},
|
|
1360
1318
|
{
|
|
1361
1319
|
"kind": "field",
|
|
1362
|
-
"name": "
|
|
1320
|
+
"name": "name",
|
|
1363
1321
|
"type": {
|
|
1364
|
-
"text": "
|
|
1322
|
+
"text": "string | undefined"
|
|
1365
1323
|
},
|
|
1366
|
-
"
|
|
1367
|
-
"
|
|
1368
|
-
"
|
|
1324
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
1325
|
+
"attribute": "name",
|
|
1326
|
+
"reflects": true
|
|
1369
1327
|
},
|
|
1370
1328
|
{
|
|
1371
1329
|
"kind": "field",
|
|
1372
|
-
"name": "
|
|
1330
|
+
"name": "src",
|
|
1373
1331
|
"type": {
|
|
1374
|
-
"text": "
|
|
1332
|
+
"text": "string | undefined"
|
|
1375
1333
|
},
|
|
1376
|
-
"
|
|
1377
|
-
"
|
|
1378
|
-
"attribute": "has-navigation"
|
|
1334
|
+
"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.",
|
|
1335
|
+
"attribute": "src"
|
|
1379
1336
|
},
|
|
1380
1337
|
{
|
|
1381
1338
|
"kind": "field",
|
|
1382
|
-
"name": "
|
|
1339
|
+
"name": "label",
|
|
1383
1340
|
"type": {
|
|
1384
|
-
"text": "
|
|
1341
|
+
"text": "string"
|
|
1385
1342
|
},
|
|
1386
|
-
"default": "
|
|
1387
|
-
"description": "
|
|
1388
|
-
"attribute": "
|
|
1343
|
+
"default": "''",
|
|
1344
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
1345
|
+
"attribute": "label"
|
|
1389
1346
|
},
|
|
1390
1347
|
{
|
|
1391
1348
|
"kind": "field",
|
|
1392
|
-
"name": "
|
|
1349
|
+
"name": "library",
|
|
1393
1350
|
"type": {
|
|
1394
|
-
"text": "
|
|
1351
|
+
"text": "'default' | 'heroicons' | string"
|
|
1395
1352
|
},
|
|
1396
|
-
"default": "
|
|
1397
|
-
"description": "
|
|
1398
|
-
"attribute": "
|
|
1353
|
+
"default": "'default'",
|
|
1354
|
+
"description": "The name of a registered custom icon library.",
|
|
1355
|
+
"attribute": "library",
|
|
1356
|
+
"reflects": true
|
|
1399
1357
|
},
|
|
1400
1358
|
{
|
|
1401
1359
|
"kind": "field",
|
|
1402
|
-
"name": "
|
|
1360
|
+
"name": "color",
|
|
1403
1361
|
"type": {
|
|
1404
|
-
"text": "
|
|
1362
|
+
"text": "string | null"
|
|
1405
1363
|
},
|
|
1406
|
-
"default": "
|
|
1407
|
-
"
|
|
1364
|
+
"default": "null",
|
|
1365
|
+
"description": "The CSS color to assign to the SVG.",
|
|
1366
|
+
"attribute": "color"
|
|
1408
1367
|
},
|
|
1409
1368
|
{
|
|
1410
1369
|
"kind": "field",
|
|
1411
|
-
"name": "
|
|
1370
|
+
"name": "fontSize",
|
|
1412
1371
|
"type": {
|
|
1413
|
-
"text": "
|
|
1414
|
-
}
|
|
1372
|
+
"text": "string | null"
|
|
1373
|
+
},
|
|
1374
|
+
"default": "null",
|
|
1375
|
+
"description": "The CSS font-size to assign to the SVG.",
|
|
1376
|
+
"attribute": "font-size"
|
|
1415
1377
|
},
|
|
1416
1378
|
{
|
|
1417
1379
|
"kind": "method",
|
|
1418
|
-
"name": "
|
|
1380
|
+
"name": "#resolveIcon",
|
|
1381
|
+
"return": {
|
|
1382
|
+
"type": {
|
|
1383
|
+
"text": "Promise<SVGResult>"
|
|
1384
|
+
}
|
|
1385
|
+
},
|
|
1419
1386
|
"parameters": [
|
|
1420
1387
|
{
|
|
1421
|
-
"name": "
|
|
1422
|
-
"type": {
|
|
1423
|
-
"text": "any"
|
|
1424
|
-
}
|
|
1425
|
-
},
|
|
1426
|
-
{
|
|
1427
|
-
"name": "newValue",
|
|
1388
|
+
"name": "url",
|
|
1428
1389
|
"type": {
|
|
1429
|
-
"text": "
|
|
1390
|
+
"text": "string"
|
|
1430
1391
|
}
|
|
1431
1392
|
}
|
|
1432
|
-
]
|
|
1433
|
-
|
|
1434
|
-
{
|
|
1435
|
-
"kind": "field",
|
|
1436
|
-
"name": "map",
|
|
1437
|
-
"type": {
|
|
1438
|
-
"text": "any"
|
|
1439
|
-
},
|
|
1440
|
-
"default": "new Leaflet()"
|
|
1393
|
+
],
|
|
1394
|
+
"description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
|
|
1441
1395
|
},
|
|
1442
1396
|
{
|
|
1443
|
-
"kind": "
|
|
1444
|
-
"name": "
|
|
1445
|
-
"
|
|
1446
|
-
"
|
|
1447
|
-
|
|
1448
|
-
|
|
1397
|
+
"kind": "method",
|
|
1398
|
+
"name": "#getIconSource",
|
|
1399
|
+
"return": {
|
|
1400
|
+
"type": {
|
|
1401
|
+
"text": "IconSource"
|
|
1402
|
+
}
|
|
1403
|
+
}
|
|
1449
1404
|
},
|
|
1450
1405
|
{
|
|
1451
|
-
"kind": "
|
|
1452
|
-
"name": "
|
|
1453
|
-
"
|
|
1454
|
-
"text": "MapController"
|
|
1455
|
-
},
|
|
1456
|
-
"default": "new MapController(this)"
|
|
1406
|
+
"kind": "method",
|
|
1407
|
+
"name": "#styleFromAttributes",
|
|
1408
|
+
"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."
|
|
1457
1409
|
},
|
|
1458
1410
|
{
|
|
1459
1411
|
"kind": "method",
|
|
1460
|
-
"name": "
|
|
1412
|
+
"name": "handleLabelChange"
|
|
1461
1413
|
},
|
|
1462
1414
|
{
|
|
1463
1415
|
"kind": "method",
|
|
1464
|
-
"name": "
|
|
1416
|
+
"name": "setIcon"
|
|
1465
1417
|
}
|
|
1466
1418
|
],
|
|
1467
|
-
"
|
|
1419
|
+
"events": [
|
|
1468
1420
|
{
|
|
1469
|
-
"
|
|
1470
|
-
"
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
"default": "0",
|
|
1474
|
-
"description": "Minimum zoom level of the map.",
|
|
1475
|
-
"fieldName": "minZoom"
|
|
1421
|
+
"description": "Emitted when the icon has loaded.",
|
|
1422
|
+
"name": "terra-load",
|
|
1423
|
+
"reactName": "onTerraLoad",
|
|
1424
|
+
"eventName": "TerraLoadEvent"
|
|
1476
1425
|
},
|
|
1477
1426
|
{
|
|
1478
|
-
"
|
|
1427
|
+
"description": "Emitted when the icon fails to load due to an error.",
|
|
1428
|
+
"name": "terra-error",
|
|
1429
|
+
"reactName": "onTerraError",
|
|
1430
|
+
"eventName": "TerraErrorEvent"
|
|
1431
|
+
}
|
|
1432
|
+
],
|
|
1433
|
+
"attributes": [
|
|
1434
|
+
{
|
|
1435
|
+
"name": "name",
|
|
1479
1436
|
"type": {
|
|
1480
|
-
"text": "
|
|
1437
|
+
"text": "string | undefined"
|
|
1481
1438
|
},
|
|
1482
|
-
"
|
|
1483
|
-
"
|
|
1484
|
-
"fieldName": "maxZoom"
|
|
1439
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
1440
|
+
"fieldName": "name"
|
|
1485
1441
|
},
|
|
1486
1442
|
{
|
|
1487
|
-
"name": "
|
|
1443
|
+
"name": "src",
|
|
1488
1444
|
"type": {
|
|
1489
|
-
"text": "
|
|
1445
|
+
"text": "string | undefined"
|
|
1490
1446
|
},
|
|
1491
|
-
"
|
|
1492
|
-
"
|
|
1493
|
-
"fieldName": "zoom"
|
|
1447
|
+
"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.",
|
|
1448
|
+
"fieldName": "src"
|
|
1494
1449
|
},
|
|
1495
1450
|
{
|
|
1496
|
-
"name": "
|
|
1451
|
+
"name": "label",
|
|
1497
1452
|
"type": {
|
|
1498
|
-
"text": "
|
|
1453
|
+
"text": "string"
|
|
1499
1454
|
},
|
|
1500
|
-
"default": "
|
|
1501
|
-
"description": "
|
|
1502
|
-
"fieldName": "
|
|
1455
|
+
"default": "''",
|
|
1456
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
1457
|
+
"fieldName": "label"
|
|
1503
1458
|
},
|
|
1504
1459
|
{
|
|
1505
|
-
"name": "
|
|
1460
|
+
"name": "library",
|
|
1506
1461
|
"type": {
|
|
1507
|
-
"text": "
|
|
1462
|
+
"text": "'default' | 'heroicons' | string"
|
|
1508
1463
|
},
|
|
1509
|
-
"default": "
|
|
1510
|
-
"description": "
|
|
1511
|
-
"fieldName": "
|
|
1464
|
+
"default": "'default'",
|
|
1465
|
+
"description": "The name of a registered custom icon library.",
|
|
1466
|
+
"fieldName": "library"
|
|
1512
1467
|
},
|
|
1513
1468
|
{
|
|
1514
|
-
"name": "
|
|
1469
|
+
"name": "color",
|
|
1515
1470
|
"type": {
|
|
1516
|
-
"text": "
|
|
1471
|
+
"text": "string | null"
|
|
1517
1472
|
},
|
|
1518
|
-
"default": "
|
|
1519
|
-
"description": "
|
|
1520
|
-
"fieldName": "
|
|
1473
|
+
"default": "null",
|
|
1474
|
+
"description": "The CSS color to assign to the SVG.",
|
|
1475
|
+
"fieldName": "color"
|
|
1521
1476
|
},
|
|
1522
1477
|
{
|
|
1523
|
-
"name": "
|
|
1478
|
+
"name": "font-size",
|
|
1524
1479
|
"type": {
|
|
1525
|
-
"text": "
|
|
1480
|
+
"text": "string | null"
|
|
1526
1481
|
},
|
|
1527
|
-
"default": "
|
|
1528
|
-
"
|
|
1482
|
+
"default": "null",
|
|
1483
|
+
"description": "The CSS font-size to assign to the SVG.",
|
|
1484
|
+
"fieldName": "fontSize"
|
|
1529
1485
|
}
|
|
1530
1486
|
],
|
|
1531
1487
|
"superclass": {
|
|
1532
1488
|
"name": "TerraElement",
|
|
1533
1489
|
"module": "/src/internal/terra-element.js"
|
|
1534
1490
|
},
|
|
1535
|
-
"summary": "
|
|
1536
|
-
"tagNameWithoutPrefix": "
|
|
1537
|
-
"tagName": "terra-
|
|
1491
|
+
"summary": "Icons are symbols that can be used to represent various options within an application.",
|
|
1492
|
+
"tagNameWithoutPrefix": "icon",
|
|
1493
|
+
"tagName": "terra-icon",
|
|
1538
1494
|
"customElement": true,
|
|
1539
|
-
"jsDoc": "/**\n * @summary
|
|
1540
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
1541
|
-
"status": "
|
|
1495
|
+
"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 */",
|
|
1496
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/icon",
|
|
1497
|
+
"status": "experimental",
|
|
1542
1498
|
"since": "1.0"
|
|
1543
1499
|
}
|
|
1544
1500
|
],
|
|
@@ -1547,20 +1503,26 @@
|
|
|
1547
1503
|
"kind": "js",
|
|
1548
1504
|
"name": "default",
|
|
1549
1505
|
"declaration": {
|
|
1550
|
-
"name": "
|
|
1551
|
-
"module": "components/
|
|
1506
|
+
"name": "TerraIcon",
|
|
1507
|
+
"module": "components/icon/icon.js"
|
|
1552
1508
|
}
|
|
1553
1509
|
}
|
|
1554
1510
|
]
|
|
1555
1511
|
},
|
|
1556
1512
|
{
|
|
1557
1513
|
"kind": "javascript-module",
|
|
1558
|
-
"path": "components/
|
|
1514
|
+
"path": "components/loader/loader.js",
|
|
1559
1515
|
"declarations": [
|
|
1560
1516
|
{
|
|
1561
1517
|
"kind": "class",
|
|
1562
1518
|
"description": "",
|
|
1563
|
-
"name": "
|
|
1519
|
+
"name": "TerraLoader",
|
|
1520
|
+
"cssProperties": [
|
|
1521
|
+
{
|
|
1522
|
+
"description": "An example CSS custom property.",
|
|
1523
|
+
"name": "--example"
|
|
1524
|
+
}
|
|
1525
|
+
],
|
|
1564
1526
|
"cssParts": [
|
|
1565
1527
|
{
|
|
1566
1528
|
"description": "The component's base wrapper.",
|
|
@@ -1570,79 +1532,73 @@
|
|
|
1570
1532
|
"members": [
|
|
1571
1533
|
{
|
|
1572
1534
|
"kind": "field",
|
|
1573
|
-
"name": "
|
|
1535
|
+
"name": "size",
|
|
1574
1536
|
"type": {
|
|
1575
|
-
"text": "
|
|
1537
|
+
"text": "'small' | 'large'"
|
|
1576
1538
|
},
|
|
1577
|
-
"default": "
|
|
1539
|
+
"default": "'large'",
|
|
1540
|
+
"description": "The loader's size",
|
|
1541
|
+
"attribute": "size",
|
|
1542
|
+
"reflects": true
|
|
1578
1543
|
},
|
|
1579
1544
|
{
|
|
1580
1545
|
"kind": "field",
|
|
1581
|
-
"name": "
|
|
1546
|
+
"name": "theme",
|
|
1582
1547
|
"type": {
|
|
1583
|
-
"text": "
|
|
1584
|
-
}
|
|
1548
|
+
"text": "'light' | 'dark'"
|
|
1549
|
+
},
|
|
1550
|
+
"description": "The loader's theme, light or dark mode",
|
|
1551
|
+
"attribute": "theme",
|
|
1552
|
+
"reflects": true
|
|
1585
1553
|
},
|
|
1586
1554
|
{
|
|
1587
1555
|
"kind": "field",
|
|
1588
|
-
"name": "
|
|
1556
|
+
"name": "percent",
|
|
1589
1557
|
"type": {
|
|
1590
|
-
"text": "
|
|
1558
|
+
"text": "number"
|
|
1591
1559
|
},
|
|
1592
|
-
"
|
|
1560
|
+
"default": "0",
|
|
1561
|
+
"description": "The percent complete for the loader to display",
|
|
1562
|
+
"attribute": "percent"
|
|
1593
1563
|
},
|
|
1594
1564
|
{
|
|
1595
1565
|
"kind": "field",
|
|
1596
|
-
"name": "
|
|
1566
|
+
"name": "indeterminate",
|
|
1597
1567
|
"type": {
|
|
1598
|
-
"text": "
|
|
1568
|
+
"text": "boolean"
|
|
1599
1569
|
},
|
|
1600
|
-
"default": "
|
|
1601
|
-
"
|
|
1570
|
+
"default": "false",
|
|
1571
|
+
"description": "an indeterminate loader has an unknown progress and will show a spinner",
|
|
1572
|
+
"attribute": "indeterminate"
|
|
1602
1573
|
},
|
|
1603
1574
|
{
|
|
1604
1575
|
"kind": "field",
|
|
1605
|
-
"name": "
|
|
1576
|
+
"name": "label",
|
|
1606
1577
|
"type": {
|
|
1607
|
-
"text": "
|
|
1578
|
+
"text": "string"
|
|
1608
1579
|
},
|
|
1609
|
-
"default": "
|
|
1610
|
-
"
|
|
1580
|
+
"default": "'Loading request'",
|
|
1581
|
+
"description": "A label used by a screen reader which describes the loader element (e.g., \"Loading video of Tropical Storm Nepartak\")",
|
|
1582
|
+
"attribute": "label"
|
|
1611
1583
|
},
|
|
1612
1584
|
{
|
|
1613
1585
|
"kind": "field",
|
|
1614
|
-
"name": "
|
|
1586
|
+
"name": "message",
|
|
1615
1587
|
"type": {
|
|
1616
|
-
"text": "
|
|
1588
|
+
"text": "string"
|
|
1617
1589
|
},
|
|
1618
|
-
"default": "
|
|
1619
|
-
"
|
|
1620
|
-
|
|
1621
|
-
{
|
|
1622
|
-
"kind": "method",
|
|
1623
|
-
"name": "handleDataChange"
|
|
1624
|
-
},
|
|
1625
|
-
{
|
|
1626
|
-
"kind": "method",
|
|
1627
|
-
"name": "updatePlotWithData"
|
|
1628
|
-
},
|
|
1629
|
-
{
|
|
1630
|
-
"kind": "method",
|
|
1631
|
-
"name": "downloadCSV"
|
|
1590
|
+
"default": "''",
|
|
1591
|
+
"description": "A message used by a screen reader to describe current value of loader element in a more human-understandable way (e.g, \"12% of 45MB\")",
|
|
1592
|
+
"attribute": "message"
|
|
1632
1593
|
},
|
|
1633
1594
|
{
|
|
1634
1595
|
"kind": "method",
|
|
1635
|
-
"name": "
|
|
1636
|
-
"return": {
|
|
1637
|
-
"type": {
|
|
1638
|
-
"text": "string"
|
|
1639
|
-
}
|
|
1640
|
-
},
|
|
1596
|
+
"name": "formatPercent",
|
|
1641
1597
|
"parameters": [
|
|
1642
1598
|
{
|
|
1643
|
-
"name": "
|
|
1599
|
+
"name": "percent",
|
|
1644
1600
|
"type": {
|
|
1645
|
-
"text": "
|
|
1601
|
+
"text": "number"
|
|
1646
1602
|
}
|
|
1647
1603
|
}
|
|
1648
1604
|
]
|
|
@@ -1650,47 +1606,69 @@
|
|
|
1650
1606
|
],
|
|
1651
1607
|
"attributes": [
|
|
1652
1608
|
{
|
|
1653
|
-
"name": "
|
|
1609
|
+
"name": "size",
|
|
1654
1610
|
"type": {
|
|
1655
|
-
"text": "
|
|
1611
|
+
"text": "'small' | 'large'"
|
|
1656
1612
|
},
|
|
1657
|
-
"
|
|
1613
|
+
"default": "'large'",
|
|
1614
|
+
"description": "The loader's size",
|
|
1615
|
+
"fieldName": "size"
|
|
1658
1616
|
},
|
|
1659
1617
|
{
|
|
1660
|
-
"name": "
|
|
1618
|
+
"name": "theme",
|
|
1661
1619
|
"type": {
|
|
1662
|
-
"text": "
|
|
1620
|
+
"text": "'light' | 'dark'"
|
|
1663
1621
|
},
|
|
1664
|
-
"
|
|
1665
|
-
"fieldName": "
|
|
1622
|
+
"description": "The loader's theme, light or dark mode",
|
|
1623
|
+
"fieldName": "theme"
|
|
1666
1624
|
},
|
|
1667
1625
|
{
|
|
1668
|
-
"name": "
|
|
1626
|
+
"name": "percent",
|
|
1669
1627
|
"type": {
|
|
1670
|
-
"text": "
|
|
1628
|
+
"text": "number"
|
|
1671
1629
|
},
|
|
1672
|
-
"default": "
|
|
1673
|
-
"
|
|
1630
|
+
"default": "0",
|
|
1631
|
+
"description": "The percent complete for the loader to display",
|
|
1632
|
+
"fieldName": "percent"
|
|
1674
1633
|
},
|
|
1675
1634
|
{
|
|
1676
|
-
"name": "
|
|
1635
|
+
"name": "indeterminate",
|
|
1677
1636
|
"type": {
|
|
1678
|
-
"text": "
|
|
1637
|
+
"text": "boolean"
|
|
1679
1638
|
},
|
|
1680
|
-
"default": "
|
|
1681
|
-
"
|
|
1639
|
+
"default": "false",
|
|
1640
|
+
"description": "an indeterminate loader has an unknown progress and will show a spinner",
|
|
1641
|
+
"fieldName": "indeterminate"
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"name": "label",
|
|
1645
|
+
"type": {
|
|
1646
|
+
"text": "string"
|
|
1647
|
+
},
|
|
1648
|
+
"default": "'Loading request'",
|
|
1649
|
+
"description": "A label used by a screen reader which describes the loader element (e.g., \"Loading video of Tropical Storm Nepartak\")",
|
|
1650
|
+
"fieldName": "label"
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
"name": "message",
|
|
1654
|
+
"type": {
|
|
1655
|
+
"text": "string"
|
|
1656
|
+
},
|
|
1657
|
+
"default": "''",
|
|
1658
|
+
"description": "A message used by a screen reader to describe current value of loader element in a more human-understandable way (e.g, \"12% of 45MB\")",
|
|
1659
|
+
"fieldName": "message"
|
|
1682
1660
|
}
|
|
1683
1661
|
],
|
|
1684
1662
|
"superclass": {
|
|
1685
1663
|
"name": "TerraElement",
|
|
1686
1664
|
"module": "/src/internal/terra-element.js"
|
|
1687
1665
|
},
|
|
1688
|
-
"summary": "
|
|
1689
|
-
"tagNameWithoutPrefix": "
|
|
1690
|
-
"tagName": "terra-
|
|
1666
|
+
"summary": "Loaders are used to indicate there is content that is loading.",
|
|
1667
|
+
"tagNameWithoutPrefix": "loader",
|
|
1668
|
+
"tagName": "terra-loader",
|
|
1691
1669
|
"customElement": true,
|
|
1692
|
-
"jsDoc": "/**\n * @summary
|
|
1693
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
1670
|
+
"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 */",
|
|
1671
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/loader",
|
|
1694
1672
|
"status": "experimental",
|
|
1695
1673
|
"since": "1.0"
|
|
1696
1674
|
}
|
|
@@ -1700,30 +1678,21 @@
|
|
|
1700
1678
|
"kind": "js",
|
|
1701
1679
|
"name": "default",
|
|
1702
1680
|
"declaration": {
|
|
1703
|
-
"name": "
|
|
1704
|
-
"module": "components/
|
|
1681
|
+
"name": "TerraLoader",
|
|
1682
|
+
"module": "components/loader/loader.js"
|
|
1705
1683
|
}
|
|
1706
1684
|
}
|
|
1707
1685
|
]
|
|
1708
1686
|
},
|
|
1709
1687
|
{
|
|
1710
1688
|
"kind": "javascript-module",
|
|
1711
|
-
"path": "components/
|
|
1689
|
+
"path": "components/map/map.js",
|
|
1712
1690
|
"declarations": [
|
|
1713
1691
|
{
|
|
1714
1692
|
"kind": "class",
|
|
1715
1693
|
"description": "",
|
|
1716
|
-
"name": "
|
|
1694
|
+
"name": "TerraMap",
|
|
1717
1695
|
"members": [
|
|
1718
|
-
{
|
|
1719
|
-
"kind": "field",
|
|
1720
|
-
"name": "dependencies",
|
|
1721
|
-
"type": {
|
|
1722
|
-
"text": "object"
|
|
1723
|
-
},
|
|
1724
|
-
"static": true,
|
|
1725
|
-
"default": "{\n 'terra-map': TerraMap,\n }"
|
|
1726
|
-
},
|
|
1727
1696
|
{
|
|
1728
1697
|
"kind": "field",
|
|
1729
1698
|
"name": "minZoom",
|
|
@@ -1760,7 +1729,7 @@
|
|
|
1760
1729
|
"type": {
|
|
1761
1730
|
"text": "boolean"
|
|
1762
1731
|
},
|
|
1763
|
-
"default": "
|
|
1732
|
+
"default": "false",
|
|
1764
1733
|
"description": "has map navigation toolbar",
|
|
1765
1734
|
"attribute": "has-navigation"
|
|
1766
1735
|
},
|
|
@@ -1770,7 +1739,7 @@
|
|
|
1770
1739
|
"type": {
|
|
1771
1740
|
"text": "boolean"
|
|
1772
1741
|
},
|
|
1773
|
-
"default": "
|
|
1742
|
+
"default": "false",
|
|
1774
1743
|
"description": "has coordinate tracker",
|
|
1775
1744
|
"attribute": "has-coord-tracker"
|
|
1776
1745
|
},
|
|
@@ -1786,98 +1755,69 @@
|
|
|
1786
1755
|
},
|
|
1787
1756
|
{
|
|
1788
1757
|
"kind": "field",
|
|
1789
|
-
"name": "
|
|
1790
|
-
"type": {
|
|
1791
|
-
"text": "string"
|
|
1792
|
-
},
|
|
1793
|
-
"default": "''",
|
|
1794
|
-
"description": "initialValue of spatial picker",
|
|
1795
|
-
"attribute": "initial-value"
|
|
1796
|
-
},
|
|
1797
|
-
{
|
|
1798
|
-
"kind": "field",
|
|
1799
|
-
"name": "hideLabel",
|
|
1800
|
-
"type": {
|
|
1801
|
-
"text": "boolean"
|
|
1802
|
-
},
|
|
1803
|
-
"default": "false",
|
|
1804
|
-
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1805
|
-
"attribute": "hide-label"
|
|
1806
|
-
},
|
|
1807
|
-
{
|
|
1808
|
-
"kind": "field",
|
|
1809
|
-
"name": "label",
|
|
1810
|
-
"type": {
|
|
1811
|
-
"text": "string"
|
|
1812
|
-
},
|
|
1813
|
-
"default": "'Select Region'",
|
|
1814
|
-
"description": "spatial picker label",
|
|
1815
|
-
"attribute": "label"
|
|
1816
|
-
},
|
|
1817
|
-
{
|
|
1818
|
-
"kind": "field",
|
|
1819
|
-
"name": "isExpanded",
|
|
1820
|
-
"type": {
|
|
1821
|
-
"text": "boolean"
|
|
1822
|
-
},
|
|
1823
|
-
"default": "false"
|
|
1824
|
-
},
|
|
1825
|
-
{
|
|
1826
|
-
"kind": "field",
|
|
1827
|
-
"name": "mapValue",
|
|
1758
|
+
"name": "value",
|
|
1828
1759
|
"type": {
|
|
1829
1760
|
"text": "any"
|
|
1830
|
-
}
|
|
1761
|
+
},
|
|
1762
|
+
"default": "[]",
|
|
1763
|
+
"attribute": "value"
|
|
1831
1764
|
},
|
|
1832
1765
|
{
|
|
1833
1766
|
"kind": "field",
|
|
1834
|
-
"name": "
|
|
1767
|
+
"name": "mapElement",
|
|
1835
1768
|
"type": {
|
|
1836
|
-
"text": "
|
|
1769
|
+
"text": "HTMLDivElement"
|
|
1837
1770
|
}
|
|
1838
1771
|
},
|
|
1839
1772
|
{
|
|
1840
1773
|
"kind": "method",
|
|
1841
|
-
"name": "
|
|
1842
|
-
"privacy": "private",
|
|
1774
|
+
"name": "valueChanged",
|
|
1843
1775
|
"parameters": [
|
|
1844
1776
|
{
|
|
1845
|
-
"name": "
|
|
1777
|
+
"name": "_oldValue",
|
|
1846
1778
|
"type": {
|
|
1847
|
-
"text": "
|
|
1779
|
+
"text": "any"
|
|
1780
|
+
}
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
"name": "newValue",
|
|
1784
|
+
"type": {
|
|
1785
|
+
"text": "any"
|
|
1848
1786
|
}
|
|
1849
1787
|
}
|
|
1850
1788
|
]
|
|
1851
1789
|
},
|
|
1852
1790
|
{
|
|
1853
|
-
"kind": "
|
|
1854
|
-
"name": "
|
|
1855
|
-
"
|
|
1791
|
+
"kind": "field",
|
|
1792
|
+
"name": "map",
|
|
1793
|
+
"type": {
|
|
1794
|
+
"text": "any"
|
|
1795
|
+
},
|
|
1796
|
+
"default": "new Leaflet()"
|
|
1856
1797
|
},
|
|
1857
1798
|
{
|
|
1858
|
-
"kind": "
|
|
1859
|
-
"name": "
|
|
1799
|
+
"kind": "field",
|
|
1800
|
+
"name": "shapes",
|
|
1801
|
+
"type": {
|
|
1802
|
+
"text": "any"
|
|
1803
|
+
},
|
|
1804
|
+
"description": "List of geojson shapes"
|
|
1860
1805
|
},
|
|
1861
1806
|
{
|
|
1862
|
-
"kind": "
|
|
1863
|
-
"name": "
|
|
1807
|
+
"kind": "field",
|
|
1808
|
+
"name": "_mapController",
|
|
1809
|
+
"type": {
|
|
1810
|
+
"text": "MapController"
|
|
1811
|
+
},
|
|
1812
|
+
"default": "new MapController(this)"
|
|
1864
1813
|
},
|
|
1865
1814
|
{
|
|
1866
1815
|
"kind": "method",
|
|
1867
|
-
"name": "
|
|
1868
|
-
"privacy": "private",
|
|
1869
|
-
"parameters": [
|
|
1870
|
-
{
|
|
1871
|
-
"name": "event",
|
|
1872
|
-
"type": {
|
|
1873
|
-
"text": "CustomEvent"
|
|
1874
|
-
}
|
|
1875
|
-
}
|
|
1876
|
-
]
|
|
1816
|
+
"name": "#markDynamicLeafletContent"
|
|
1877
1817
|
},
|
|
1878
1818
|
{
|
|
1879
1819
|
"kind": "method",
|
|
1880
|
-
"name": "
|
|
1820
|
+
"name": "selectTemplate"
|
|
1881
1821
|
}
|
|
1882
1822
|
],
|
|
1883
1823
|
"attributes": [
|
|
@@ -1913,7 +1853,7 @@
|
|
|
1913
1853
|
"type": {
|
|
1914
1854
|
"text": "boolean"
|
|
1915
1855
|
},
|
|
1916
|
-
"default": "
|
|
1856
|
+
"default": "false",
|
|
1917
1857
|
"description": "has map navigation toolbar",
|
|
1918
1858
|
"fieldName": "hasNavigation"
|
|
1919
1859
|
},
|
|
@@ -1922,7 +1862,7 @@
|
|
|
1922
1862
|
"type": {
|
|
1923
1863
|
"text": "boolean"
|
|
1924
1864
|
},
|
|
1925
|
-
"default": "
|
|
1865
|
+
"default": "false",
|
|
1926
1866
|
"description": "has coordinate tracker",
|
|
1927
1867
|
"fieldName": "hasCoordTracker"
|
|
1928
1868
|
},
|
|
@@ -1936,44 +1876,25 @@
|
|
|
1936
1876
|
"fieldName": "hasShapeSelector"
|
|
1937
1877
|
},
|
|
1938
1878
|
{
|
|
1939
|
-
"name": "
|
|
1940
|
-
"type": {
|
|
1941
|
-
"text": "string"
|
|
1942
|
-
},
|
|
1943
|
-
"default": "''",
|
|
1944
|
-
"description": "initialValue of spatial picker",
|
|
1945
|
-
"fieldName": "initialValue"
|
|
1946
|
-
},
|
|
1947
|
-
{
|
|
1948
|
-
"name": "hide-label",
|
|
1949
|
-
"type": {
|
|
1950
|
-
"text": "boolean"
|
|
1951
|
-
},
|
|
1952
|
-
"default": "false",
|
|
1953
|
-
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1954
|
-
"fieldName": "hideLabel"
|
|
1955
|
-
},
|
|
1956
|
-
{
|
|
1957
|
-
"name": "label",
|
|
1879
|
+
"name": "value",
|
|
1958
1880
|
"type": {
|
|
1959
|
-
"text": "
|
|
1881
|
+
"text": "any"
|
|
1960
1882
|
},
|
|
1961
|
-
"default": "
|
|
1962
|
-
"
|
|
1963
|
-
"fieldName": "label"
|
|
1883
|
+
"default": "[]",
|
|
1884
|
+
"fieldName": "value"
|
|
1964
1885
|
}
|
|
1965
1886
|
],
|
|
1966
1887
|
"superclass": {
|
|
1967
1888
|
"name": "TerraElement",
|
|
1968
1889
|
"module": "/src/internal/terra-element.js"
|
|
1969
1890
|
},
|
|
1970
|
-
"summary": "A component
|
|
1971
|
-
"tagNameWithoutPrefix": "
|
|
1972
|
-
"tagName": "terra-
|
|
1891
|
+
"summary": "A map component for visualizing and selecting coordinates.",
|
|
1892
|
+
"tagNameWithoutPrefix": "map",
|
|
1893
|
+
"tagName": "terra-map",
|
|
1973
1894
|
"customElement": true,
|
|
1974
|
-
"jsDoc": "/**\n * @summary A component
|
|
1975
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
1976
|
-
"status": "
|
|
1895
|
+
"jsDoc": "/**\n * @summary A map component for visualizing and selecting coordinates.\n * @documentation https://disc.gsfc.nasa.gov/components/map\n * @status mvp\n * @since 1.0\n *\n */",
|
|
1896
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/map",
|
|
1897
|
+
"status": "mvp",
|
|
1977
1898
|
"since": "1.0"
|
|
1978
1899
|
}
|
|
1979
1900
|
],
|
|
@@ -1982,184 +1903,272 @@
|
|
|
1982
1903
|
"kind": "js",
|
|
1983
1904
|
"name": "default",
|
|
1984
1905
|
"declaration": {
|
|
1985
|
-
"name": "
|
|
1986
|
-
"module": "components/
|
|
1906
|
+
"name": "TerraMap",
|
|
1907
|
+
"module": "components/map/map.js"
|
|
1987
1908
|
}
|
|
1988
1909
|
}
|
|
1989
1910
|
]
|
|
1990
1911
|
},
|
|
1991
1912
|
{
|
|
1992
1913
|
"kind": "javascript-module",
|
|
1993
|
-
"path": "components/
|
|
1914
|
+
"path": "components/plot/plot.js",
|
|
1994
1915
|
"declarations": [
|
|
1995
1916
|
{
|
|
1996
1917
|
"kind": "class",
|
|
1997
1918
|
"description": "",
|
|
1998
|
-
"name": "
|
|
1999
|
-
"
|
|
1919
|
+
"name": "TerraPlot",
|
|
1920
|
+
"cssParts": [
|
|
2000
1921
|
{
|
|
2001
|
-
"description": "The
|
|
2002
|
-
"name": "
|
|
1922
|
+
"description": "The component's base wrapper.",
|
|
1923
|
+
"name": "base"
|
|
1924
|
+
}
|
|
1925
|
+
],
|
|
1926
|
+
"members": [
|
|
1927
|
+
{
|
|
1928
|
+
"kind": "field",
|
|
1929
|
+
"name": "plotData",
|
|
1930
|
+
"type": {
|
|
1931
|
+
"text": "Array<Plot>"
|
|
1932
|
+
},
|
|
1933
|
+
"default": "[]"
|
|
2003
1934
|
},
|
|
2004
1935
|
{
|
|
2005
|
-
"
|
|
2006
|
-
"name": "
|
|
1936
|
+
"kind": "field",
|
|
1937
|
+
"name": "base",
|
|
1938
|
+
"type": {
|
|
1939
|
+
"text": "HTMLElement"
|
|
1940
|
+
}
|
|
2007
1941
|
},
|
|
2008
1942
|
{
|
|
2009
|
-
"
|
|
2010
|
-
"name": "
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
1943
|
+
"kind": "field",
|
|
1944
|
+
"name": "plotTitle",
|
|
1945
|
+
"type": {
|
|
1946
|
+
"text": "string | undefined"
|
|
1947
|
+
},
|
|
1948
|
+
"attribute": "plotTitle"
|
|
1949
|
+
},
|
|
2014
1950
|
{
|
|
2015
|
-
"
|
|
2016
|
-
"name": "
|
|
1951
|
+
"kind": "field",
|
|
1952
|
+
"name": "layout",
|
|
1953
|
+
"type": {
|
|
1954
|
+
"text": "Partial<Layout> | undefined"
|
|
1955
|
+
},
|
|
1956
|
+
"default": "{}",
|
|
1957
|
+
"attribute": "layout"
|
|
2017
1958
|
},
|
|
2018
1959
|
{
|
|
2019
|
-
"
|
|
2020
|
-
"name": "
|
|
1960
|
+
"kind": "field",
|
|
1961
|
+
"name": "config",
|
|
1962
|
+
"type": {
|
|
1963
|
+
"text": "Partial<Config> | undefined"
|
|
1964
|
+
},
|
|
1965
|
+
"default": "{\n modeBarButtonsToAdd: [\n {\n name: 'Download Data',\n title: 'Download plot data as a CSV file',\n icon: Icons.disk,\n click: () => {\n this.downloadCSV()\n },\n },\n ],\n }",
|
|
1966
|
+
"attribute": "config"
|
|
2021
1967
|
},
|
|
2022
1968
|
{
|
|
2023
|
-
"
|
|
2024
|
-
"name": "
|
|
1969
|
+
"kind": "field",
|
|
1970
|
+
"name": "data",
|
|
1971
|
+
"type": {
|
|
1972
|
+
"text": "Array<Partial<Data>>"
|
|
1973
|
+
},
|
|
1974
|
+
"default": "[]",
|
|
1975
|
+
"attribute": "data"
|
|
2025
1976
|
},
|
|
2026
1977
|
{
|
|
2027
|
-
"
|
|
2028
|
-
"name": "
|
|
1978
|
+
"kind": "method",
|
|
1979
|
+
"name": "handleDataChange"
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
"kind": "method",
|
|
1983
|
+
"name": "updatePlotWithData"
|
|
1984
|
+
},
|
|
1985
|
+
{
|
|
1986
|
+
"kind": "method",
|
|
1987
|
+
"name": "downloadCSV"
|
|
1988
|
+
},
|
|
1989
|
+
{
|
|
1990
|
+
"kind": "method",
|
|
1991
|
+
"name": "convertToCSV",
|
|
1992
|
+
"return": {
|
|
1993
|
+
"type": {
|
|
1994
|
+
"text": "string"
|
|
1995
|
+
}
|
|
1996
|
+
},
|
|
1997
|
+
"parameters": [
|
|
1998
|
+
{
|
|
1999
|
+
"name": "data",
|
|
2000
|
+
"type": {
|
|
2001
|
+
"text": "any[]"
|
|
2002
|
+
}
|
|
2003
|
+
}
|
|
2004
|
+
]
|
|
2029
2005
|
}
|
|
2030
2006
|
],
|
|
2031
|
-
"
|
|
2007
|
+
"attributes": [
|
|
2032
2008
|
{
|
|
2033
|
-
"
|
|
2034
|
-
"name": "shadowRootOptions",
|
|
2009
|
+
"name": "plotTitle",
|
|
2035
2010
|
"type": {
|
|
2036
|
-
"text": "
|
|
2011
|
+
"text": "string | undefined"
|
|
2037
2012
|
},
|
|
2038
|
-
"
|
|
2039
|
-
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
2013
|
+
"fieldName": "plotTitle"
|
|
2040
2014
|
},
|
|
2041
2015
|
{
|
|
2042
|
-
"
|
|
2043
|
-
"name": "tagName",
|
|
2016
|
+
"name": "layout",
|
|
2044
2017
|
"type": {
|
|
2045
|
-
"text": "
|
|
2018
|
+
"text": "Partial<Layout> | undefined"
|
|
2046
2019
|
},
|
|
2047
|
-
"
|
|
2048
|
-
"
|
|
2020
|
+
"default": "{}",
|
|
2021
|
+
"fieldName": "layout"
|
|
2049
2022
|
},
|
|
2050
2023
|
{
|
|
2051
|
-
"
|
|
2052
|
-
"name": "initialQuery",
|
|
2024
|
+
"name": "config",
|
|
2053
2025
|
"type": {
|
|
2054
|
-
"text": "
|
|
2026
|
+
"text": "Partial<Config> | undefined"
|
|
2055
2027
|
},
|
|
2056
|
-
"
|
|
2057
|
-
"
|
|
2028
|
+
"default": "{\n modeBarButtonsToAdd: [\n {\n name: 'Download Data',\n title: 'Download plot data as a CSV file',\n icon: Icons.disk,\n click: () => {\n this.downloadCSV()\n },\n },\n ],\n }",
|
|
2029
|
+
"fieldName": "config"
|
|
2058
2030
|
},
|
|
2059
2031
|
{
|
|
2060
|
-
"
|
|
2061
|
-
"name": "#combobox",
|
|
2062
|
-
"privacy": "private",
|
|
2032
|
+
"name": "data",
|
|
2063
2033
|
"type": {
|
|
2064
|
-
"text": "
|
|
2034
|
+
"text": "Array<Partial<Data>>"
|
|
2065
2035
|
},
|
|
2066
|
-
"default": "
|
|
2067
|
-
|
|
2036
|
+
"default": "[]",
|
|
2037
|
+
"fieldName": "data"
|
|
2038
|
+
}
|
|
2039
|
+
],
|
|
2040
|
+
"superclass": {
|
|
2041
|
+
"name": "TerraElement",
|
|
2042
|
+
"module": "/src/internal/terra-element.js"
|
|
2043
|
+
},
|
|
2044
|
+
"summary": "A web component for interactive graphs using Plotly.js.",
|
|
2045
|
+
"tagNameWithoutPrefix": "plot",
|
|
2046
|
+
"tagName": "terra-plot",
|
|
2047
|
+
"customElement": true,
|
|
2048
|
+
"jsDoc": "/**\n * @summary A web component for interactive graphs using Plotly.js.\n * @documentation https://disc.gsfc.nasa.gov/components/plot\n * @status experimental\n * @since 1.0\n *\n * @csspart base - The component's base wrapper.\n */",
|
|
2049
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/plot",
|
|
2050
|
+
"status": "experimental",
|
|
2051
|
+
"since": "1.0"
|
|
2052
|
+
}
|
|
2053
|
+
],
|
|
2054
|
+
"exports": [
|
|
2055
|
+
{
|
|
2056
|
+
"kind": "js",
|
|
2057
|
+
"name": "default",
|
|
2058
|
+
"declaration": {
|
|
2059
|
+
"name": "TerraPlot",
|
|
2060
|
+
"module": "components/plot/plot.js"
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
]
|
|
2064
|
+
},
|
|
2065
|
+
{
|
|
2066
|
+
"kind": "javascript-module",
|
|
2067
|
+
"path": "components/spatial-picker/spatial-picker.js",
|
|
2068
|
+
"declarations": [
|
|
2069
|
+
{
|
|
2070
|
+
"kind": "class",
|
|
2071
|
+
"description": "",
|
|
2072
|
+
"name": "TerraSpatialPicker",
|
|
2073
|
+
"members": [
|
|
2068
2074
|
{
|
|
2069
2075
|
"kind": "field",
|
|
2070
|
-
"name": "
|
|
2071
|
-
"privacy": "private",
|
|
2076
|
+
"name": "dependencies",
|
|
2072
2077
|
"type": {
|
|
2073
|
-
"text": "
|
|
2078
|
+
"text": "object"
|
|
2074
2079
|
},
|
|
2075
|
-
"
|
|
2080
|
+
"static": true,
|
|
2081
|
+
"default": "{\n 'terra-map': TerraMap,\n }"
|
|
2076
2082
|
},
|
|
2077
2083
|
{
|
|
2078
2084
|
"kind": "field",
|
|
2079
|
-
"name": "
|
|
2080
|
-
"privacy": "private",
|
|
2085
|
+
"name": "minZoom",
|
|
2081
2086
|
"type": {
|
|
2082
|
-
"text": "
|
|
2087
|
+
"text": "number"
|
|
2083
2088
|
},
|
|
2084
|
-
"default": "
|
|
2089
|
+
"default": "0",
|
|
2090
|
+
"description": "Minimum zoom level of the map.",
|
|
2091
|
+
"attribute": "min-zoom"
|
|
2085
2092
|
},
|
|
2086
2093
|
{
|
|
2087
2094
|
"kind": "field",
|
|
2088
|
-
"name": "
|
|
2089
|
-
"privacy": "private",
|
|
2095
|
+
"name": "maxZoom",
|
|
2090
2096
|
"type": {
|
|
2091
|
-
"text": "
|
|
2097
|
+
"text": "number"
|
|
2092
2098
|
},
|
|
2093
|
-
"default": "
|
|
2099
|
+
"default": "23",
|
|
2100
|
+
"description": "Maximum zoom level of the map.",
|
|
2101
|
+
"attribute": "max-zoom"
|
|
2094
2102
|
},
|
|
2095
2103
|
{
|
|
2096
2104
|
"kind": "field",
|
|
2097
|
-
"name": "
|
|
2105
|
+
"name": "zoom",
|
|
2098
2106
|
"type": {
|
|
2099
|
-
"text": "
|
|
2107
|
+
"text": "number"
|
|
2100
2108
|
},
|
|
2101
|
-
"default": "
|
|
2102
|
-
"description": "
|
|
2103
|
-
"attribute": "
|
|
2109
|
+
"default": "1",
|
|
2110
|
+
"description": "Initial map zoom level",
|
|
2111
|
+
"attribute": "zoom"
|
|
2104
2112
|
},
|
|
2105
2113
|
{
|
|
2106
2114
|
"kind": "field",
|
|
2107
|
-
"name": "
|
|
2115
|
+
"name": "hasNavigation",
|
|
2108
2116
|
"type": {
|
|
2109
|
-
"text": "
|
|
2117
|
+
"text": "boolean"
|
|
2110
2118
|
},
|
|
2111
|
-
"default": "
|
|
2112
|
-
"description": "
|
|
2113
|
-
"attribute": "
|
|
2119
|
+
"default": "true",
|
|
2120
|
+
"description": "has map navigation toolbar",
|
|
2121
|
+
"attribute": "has-navigation"
|
|
2114
2122
|
},
|
|
2115
2123
|
{
|
|
2116
2124
|
"kind": "field",
|
|
2117
|
-
"name": "
|
|
2125
|
+
"name": "hasCoordTracker",
|
|
2118
2126
|
"type": {
|
|
2119
|
-
"text": "
|
|
2127
|
+
"text": "boolean"
|
|
2120
2128
|
},
|
|
2121
|
-
"
|
|
2122
|
-
"
|
|
2129
|
+
"default": "true",
|
|
2130
|
+
"description": "has coordinate tracker",
|
|
2131
|
+
"attribute": "has-coord-tracker"
|
|
2123
2132
|
},
|
|
2124
2133
|
{
|
|
2125
2134
|
"kind": "field",
|
|
2126
|
-
"name": "
|
|
2135
|
+
"name": "hasShapeSelector",
|
|
2127
2136
|
"type": {
|
|
2128
2137
|
"text": "boolean"
|
|
2129
2138
|
},
|
|
2130
2139
|
"default": "false",
|
|
2131
|
-
"description": "
|
|
2132
|
-
"attribute": "
|
|
2140
|
+
"description": "has shape selector",
|
|
2141
|
+
"attribute": "has-shape-selector"
|
|
2133
2142
|
},
|
|
2134
2143
|
{
|
|
2135
2144
|
"kind": "field",
|
|
2136
|
-
"name": "
|
|
2145
|
+
"name": "initialValue",
|
|
2137
2146
|
"type": {
|
|
2138
|
-
"text": "
|
|
2147
|
+
"text": "string"
|
|
2139
2148
|
},
|
|
2140
|
-
"default": "
|
|
2141
|
-
"description": "
|
|
2142
|
-
"attribute": "
|
|
2149
|
+
"default": "''",
|
|
2150
|
+
"description": "initialValue of spatial picker",
|
|
2151
|
+
"attribute": "initial-value"
|
|
2143
2152
|
},
|
|
2144
2153
|
{
|
|
2145
2154
|
"kind": "field",
|
|
2146
|
-
"name": "
|
|
2155
|
+
"name": "hideLabel",
|
|
2147
2156
|
"type": {
|
|
2148
|
-
"text": "
|
|
2157
|
+
"text": "boolean"
|
|
2149
2158
|
},
|
|
2150
|
-
"default": "
|
|
2151
|
-
"description": "
|
|
2152
|
-
"attribute": "
|
|
2159
|
+
"default": "false",
|
|
2160
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
2161
|
+
"attribute": "hide-label"
|
|
2153
2162
|
},
|
|
2154
2163
|
{
|
|
2155
2164
|
"kind": "field",
|
|
2156
|
-
"name": "
|
|
2165
|
+
"name": "label",
|
|
2157
2166
|
"type": {
|
|
2158
|
-
"text": "
|
|
2167
|
+
"text": "string"
|
|
2159
2168
|
},
|
|
2160
|
-
"default": "
|
|
2161
|
-
"description": "
|
|
2162
|
-
"attribute": "
|
|
2169
|
+
"default": "'Select Region'",
|
|
2170
|
+
"description": "spatial picker label",
|
|
2171
|
+
"attribute": "label"
|
|
2163
2172
|
},
|
|
2164
2173
|
{
|
|
2165
2174
|
"kind": "field",
|
|
@@ -2171,125 +2180,125 @@
|
|
|
2171
2180
|
},
|
|
2172
2181
|
{
|
|
2173
2182
|
"kind": "field",
|
|
2174
|
-
"name": "
|
|
2183
|
+
"name": "mapValue",
|
|
2184
|
+
"type": {
|
|
2185
|
+
"text": "any"
|
|
2186
|
+
}
|
|
2175
2187
|
},
|
|
2176
2188
|
{
|
|
2177
2189
|
"kind": "field",
|
|
2178
|
-
"name": "
|
|
2190
|
+
"name": "spatialInput",
|
|
2179
2191
|
"type": {
|
|
2180
|
-
"text": "
|
|
2181
|
-
}
|
|
2182
|
-
"default": "[]"
|
|
2192
|
+
"text": "HTMLInputElement"
|
|
2193
|
+
}
|
|
2183
2194
|
},
|
|
2184
2195
|
{
|
|
2185
2196
|
"kind": "method",
|
|
2186
|
-
"name": "
|
|
2197
|
+
"name": "_blur",
|
|
2198
|
+
"privacy": "private",
|
|
2187
2199
|
"parameters": [
|
|
2188
2200
|
{
|
|
2189
|
-
"name": "
|
|
2190
|
-
"type": {
|
|
2191
|
-
"text": "any"
|
|
2192
|
-
}
|
|
2193
|
-
},
|
|
2194
|
-
{
|
|
2195
|
-
"name": "newValue",
|
|
2201
|
+
"name": "e",
|
|
2196
2202
|
"type": {
|
|
2197
|
-
"text": "
|
|
2203
|
+
"text": "Event"
|
|
2198
2204
|
}
|
|
2199
2205
|
}
|
|
2200
2206
|
]
|
|
2201
2207
|
},
|
|
2202
2208
|
{
|
|
2203
|
-
"kind": "
|
|
2204
|
-
"name": "
|
|
2205
|
-
"privacy": "private"
|
|
2206
|
-
},
|
|
2207
|
-
{
|
|
2208
|
-
"kind": "field",
|
|
2209
|
-
"name": "#renderGroupListItem",
|
|
2210
|
-
"privacy": "private"
|
|
2211
|
-
},
|
|
2212
|
-
{
|
|
2213
|
-
"kind": "field",
|
|
2214
|
-
"name": "#renderError",
|
|
2215
|
-
"privacy": "private"
|
|
2216
|
-
},
|
|
2217
|
-
{
|
|
2218
|
-
"kind": "field",
|
|
2219
|
-
"name": "#renderLoading",
|
|
2209
|
+
"kind": "method",
|
|
2210
|
+
"name": "_click",
|
|
2220
2211
|
"privacy": "private"
|
|
2221
2212
|
},
|
|
2222
2213
|
{
|
|
2223
|
-
"kind": "
|
|
2224
|
-
"name": "
|
|
2225
|
-
"privacy": "private"
|
|
2214
|
+
"kind": "method",
|
|
2215
|
+
"name": "open"
|
|
2226
2216
|
},
|
|
2227
2217
|
{
|
|
2228
|
-
"kind": "
|
|
2229
|
-
"name": "
|
|
2230
|
-
"privacy": "private"
|
|
2218
|
+
"kind": "method",
|
|
2219
|
+
"name": "close"
|
|
2231
2220
|
},
|
|
2232
2221
|
{
|
|
2233
|
-
"kind": "
|
|
2234
|
-
"name": "
|
|
2235
|
-
"privacy": "private"
|
|
2222
|
+
"kind": "method",
|
|
2223
|
+
"name": "_handleMapChange",
|
|
2224
|
+
"privacy": "private",
|
|
2225
|
+
"parameters": [
|
|
2226
|
+
{
|
|
2227
|
+
"name": "event",
|
|
2228
|
+
"type": {
|
|
2229
|
+
"text": "CustomEvent"
|
|
2230
|
+
}
|
|
2231
|
+
}
|
|
2232
|
+
]
|
|
2236
2233
|
},
|
|
2237
2234
|
{
|
|
2238
|
-
"kind": "
|
|
2239
|
-
"name": "
|
|
2240
|
-
|
|
2241
|
-
|
|
2235
|
+
"kind": "method",
|
|
2236
|
+
"name": "renderMap"
|
|
2237
|
+
}
|
|
2238
|
+
],
|
|
2239
|
+
"attributes": [
|
|
2242
2240
|
{
|
|
2243
|
-
"
|
|
2244
|
-
"
|
|
2245
|
-
|
|
2241
|
+
"name": "min-zoom",
|
|
2242
|
+
"type": {
|
|
2243
|
+
"text": "number"
|
|
2244
|
+
},
|
|
2245
|
+
"default": "0",
|
|
2246
|
+
"description": "Minimum zoom level of the map.",
|
|
2247
|
+
"fieldName": "minZoom"
|
|
2246
2248
|
},
|
|
2247
2249
|
{
|
|
2248
|
-
"
|
|
2249
|
-
"
|
|
2250
|
-
|
|
2250
|
+
"name": "max-zoom",
|
|
2251
|
+
"type": {
|
|
2252
|
+
"text": "number"
|
|
2253
|
+
},
|
|
2254
|
+
"default": "23",
|
|
2255
|
+
"description": "Maximum zoom level of the map.",
|
|
2256
|
+
"fieldName": "maxZoom"
|
|
2251
2257
|
},
|
|
2252
2258
|
{
|
|
2253
|
-
"
|
|
2254
|
-
"name": "#selectOption",
|
|
2255
|
-
"privacy": "private"
|
|
2256
|
-
}
|
|
2257
|
-
],
|
|
2258
|
-
"attributes": [
|
|
2259
|
-
{
|
|
2260
|
-
"name": "label",
|
|
2259
|
+
"name": "zoom",
|
|
2261
2260
|
"type": {
|
|
2262
|
-
"text": "
|
|
2261
|
+
"text": "number"
|
|
2263
2262
|
},
|
|
2264
|
-
"default": "
|
|
2265
|
-
"description": "
|
|
2266
|
-
"fieldName": "
|
|
2263
|
+
"default": "1",
|
|
2264
|
+
"description": "Initial map zoom level",
|
|
2265
|
+
"fieldName": "zoom"
|
|
2267
2266
|
},
|
|
2268
2267
|
{
|
|
2269
|
-
"name": "
|
|
2268
|
+
"name": "has-navigation",
|
|
2270
2269
|
"type": {
|
|
2271
|
-
"text": "
|
|
2270
|
+
"text": "boolean"
|
|
2272
2271
|
},
|
|
2273
|
-
"default": "
|
|
2274
|
-
"description": "
|
|
2275
|
-
"fieldName": "
|
|
2272
|
+
"default": "true",
|
|
2273
|
+
"description": "has map navigation toolbar",
|
|
2274
|
+
"fieldName": "hasNavigation"
|
|
2276
2275
|
},
|
|
2277
2276
|
{
|
|
2278
|
-
"name": "
|
|
2277
|
+
"name": "has-coord-tracker",
|
|
2279
2278
|
"type": {
|
|
2280
|
-
"text": "
|
|
2279
|
+
"text": "boolean"
|
|
2281
2280
|
},
|
|
2282
|
-
"
|
|
2283
|
-
"
|
|
2281
|
+
"default": "true",
|
|
2282
|
+
"description": "has coordinate tracker",
|
|
2283
|
+
"fieldName": "hasCoordTracker"
|
|
2284
2284
|
},
|
|
2285
2285
|
{
|
|
2286
|
-
"name": "
|
|
2286
|
+
"name": "has-shape-selector",
|
|
2287
2287
|
"type": {
|
|
2288
2288
|
"text": "boolean"
|
|
2289
2289
|
},
|
|
2290
2290
|
"default": "false",
|
|
2291
|
-
"description": "
|
|
2292
|
-
"fieldName": "
|
|
2291
|
+
"description": "has shape selector",
|
|
2292
|
+
"fieldName": "hasShapeSelector"
|
|
2293
|
+
},
|
|
2294
|
+
{
|
|
2295
|
+
"name": "initial-value",
|
|
2296
|
+
"type": {
|
|
2297
|
+
"text": "string"
|
|
2298
|
+
},
|
|
2299
|
+
"default": "''",
|
|
2300
|
+
"description": "initialValue of spatial picker",
|
|
2301
|
+
"fieldName": "initialValue"
|
|
2293
2302
|
},
|
|
2294
2303
|
{
|
|
2295
2304
|
"name": "hide-label",
|
|
@@ -2301,34 +2310,25 @@
|
|
|
2301
2310
|
"fieldName": "hideLabel"
|
|
2302
2311
|
},
|
|
2303
2312
|
{
|
|
2304
|
-
"name": "
|
|
2305
|
-
"type": {
|
|
2306
|
-
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
2307
|
-
},
|
|
2308
|
-
"default": "'INITIAL'",
|
|
2309
|
-
"description": "status of the content",
|
|
2310
|
-
"fieldName": "status"
|
|
2311
|
-
},
|
|
2312
|
-
{
|
|
2313
|
-
"name": "content",
|
|
2313
|
+
"name": "label",
|
|
2314
2314
|
"type": {
|
|
2315
|
-
"text": "
|
|
2315
|
+
"text": "string"
|
|
2316
2316
|
},
|
|
2317
|
-
"default": "
|
|
2318
|
-
"description": "
|
|
2319
|
-
"fieldName": "
|
|
2317
|
+
"default": "'Select Region'",
|
|
2318
|
+
"description": "spatial picker label",
|
|
2319
|
+
"fieldName": "label"
|
|
2320
2320
|
}
|
|
2321
2321
|
],
|
|
2322
2322
|
"superclass": {
|
|
2323
2323
|
"name": "TerraElement",
|
|
2324
2324
|
"module": "/src/internal/terra-element.js"
|
|
2325
2325
|
},
|
|
2326
|
-
"summary": "
|
|
2327
|
-
"tagNameWithoutPrefix": "
|
|
2328
|
-
"tagName": "terra-
|
|
2326
|
+
"summary": "A component that allows input of coordinates and rendering of map.",
|
|
2327
|
+
"tagNameWithoutPrefix": "spatial-picker",
|
|
2328
|
+
"tagName": "terra-spatial-picker",
|
|
2329
2329
|
"customElement": true,
|
|
2330
|
-
"jsDoc": "/**\n * @summary
|
|
2331
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
2330
|
+
"jsDoc": "/**\n * @summary A component that allows input of coordinates and rendering of map.\n * @documentation https://disc.gsfc.nasa.gov/components/spatial-picker\n * @status experimental\n * @since 1.0\n *\n */",
|
|
2331
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/spatial-picker",
|
|
2332
2332
|
"status": "experimental",
|
|
2333
2333
|
"since": "1.0"
|
|
2334
2334
|
}
|
|
@@ -2338,8 +2338,8 @@
|
|
|
2338
2338
|
"kind": "js",
|
|
2339
2339
|
"name": "default",
|
|
2340
2340
|
"declaration": {
|
|
2341
|
-
"name": "
|
|
2342
|
-
"module": "components/
|
|
2341
|
+
"name": "TerraSpatialPicker",
|
|
2342
|
+
"module": "components/spatial-picker/spatial-picker.js"
|
|
2343
2343
|
}
|
|
2344
2344
|
}
|
|
2345
2345
|
]
|
|
@@ -3036,7 +3036,7 @@
|
|
|
3036
3036
|
"package": {
|
|
3037
3037
|
"name": "@nasa-terra/components",
|
|
3038
3038
|
"description": "A collection of NASA Earthdata components",
|
|
3039
|
-
"version": "0.0.
|
|
3039
|
+
"version": "0.0.7",
|
|
3040
3040
|
"author": "NASA GES DISC <https://disc.gsfc.nasa.gov>",
|
|
3041
3041
|
"homepage": "https://github.com/gesdisc/components",
|
|
3042
3042
|
"license": "MIT"
|