@nasa-terra/components 0.0.28 → 0.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/chunks/chunk.W6BJQIXK.js → cdn/chunks/chunk.2NNEVPUU.js} +1 -1
- package/{dist/chunks/chunk.3XWMFIDR.js → cdn/chunks/chunk.34HTZ3BS.js} +1 -1
- package/cdn/chunks/{chunk.XDSEOAHX.js → chunk.3BDUSUJJ.js} +1 -1
- package/{dist/chunks/chunk.45IIE366.js → cdn/chunks/chunk.3T5XKTPL.js} +1 -1
- package/cdn/chunks/{chunk.RFBPASU3.js → chunk.3YMOUEX5.js} +1 -1
- package/cdn/chunks/{chunk.LUOLRKWX.js → chunk.44NIPIWB.js} +4 -4
- package/{dist/chunks/chunk.QKNJPUV2.js → cdn/chunks/chunk.4JSCLX3L.js} +1 -1
- package/cdn/chunks/{chunk.XOS5IDL7.js → chunk.4XCAK3VQ.js} +1 -1
- package/cdn/chunks/{chunk.BXU5Y5OZ.js → chunk.4XVD3JO6.js} +1 -1
- package/cdn/chunks/{chunk.OZGXZ6SJ.js → chunk.7MXUXHLV.js} +1 -1
- package/cdn/chunks/{chunk.EFB7PCTH.js → chunk.BH3A72JP.js} +2 -2
- package/cdn/chunks/{chunk.7HMPNDZ7.js → chunk.BJIWBGKZ.js} +9 -9
- package/cdn/chunks/{chunk.X6AXQLXY.js → chunk.CGMA5YPP.js} +1 -1
- package/cdn/chunks/{chunk.BJPGEPX5.js → chunk.CMTARP4Z.js} +9 -9
- package/{dist/chunks/chunk.RMRXPLYU.js → cdn/chunks/chunk.DELCDBUW.js} +1 -1
- package/cdn/chunks/{chunk.7KRDHUCY.js → chunk.DSBAUO4Q.js} +1 -1
- package/cdn/chunks/{chunk.J5Z627YC.js → chunk.EK2WNRX7.js} +1 -1
- package/{dist/chunks/chunk.UOEEUBBI.js → cdn/chunks/chunk.FQ3DGJP3.js} +1 -1
- package/cdn/chunks/{chunk.VVLMKALV.js → chunk.GF7FCO7U.js} +15 -15
- package/cdn/chunks/{chunk.GZJAGA5O.js → chunk.GQLH2MRB.js} +1 -1
- package/cdn/chunks/{chunk.TZXF56RJ.js → chunk.H4QA5UXQ.js} +1 -1
- package/cdn/chunks/{chunk.UY7CYM6H.js → chunk.HC2QXV76.js} +1 -1
- package/cdn/chunks/{chunk.HLB5FXXP.js → chunk.HLLY7QKL.js} +4 -4
- package/cdn/chunks/{chunk.JU3ZZBBB.js → chunk.HSHJMWBR.js} +1 -1
- package/cdn/chunks/{chunk.QLA6P3MD.js → chunk.JPORUQZG.js} +1 -1
- package/cdn/chunks/{chunk.BV73CHWI.js → chunk.KJJ66WSH.js} +1 -1
- package/cdn/chunks/{chunk.U4OTGK5Z.js → chunk.LBQPBXCY.js} +1 -1
- package/cdn/chunks/{chunk.VBURDFNR.js → chunk.MOLJLF6T.js} +1 -1
- package/cdn/chunks/{chunk.UC5RYUJR.js → chunk.MOQDQMCK.js} +1 -1
- package/{dist/chunks/chunk.RXW75JRD.js → cdn/chunks/chunk.NXRLD6HP.js} +1 -1
- package/cdn/chunks/{chunk.XFGEL6QK.js → chunk.O2FDJRVL.js} +1 -1
- package/{dist/chunks/chunk.LNNN6HUD.js → cdn/chunks/chunk.OHPQWGRL.js} +1 -1
- package/cdn/chunks/{chunk.FHRITYAX.js → chunk.OMGRHNEB.js} +6 -6
- package/{dist/chunks/chunk.KSPUBDVK.js → cdn/chunks/chunk.PLFKPXGA.js} +1 -1
- package/cdn/chunks/{chunk.NRZDN5FZ.js → chunk.Q6JDB7UF.js} +1 -1
- package/cdn/chunks/{chunk.RYLLQ2FS.js → chunk.QUCOTU2W.js} +1 -1
- package/cdn/chunks/{chunk.FTKIGK4N.js → chunk.R4PWO4RV.js} +1 -1
- package/{dist/chunks/chunk.ZS6I6OXY.js → cdn/chunks/chunk.UDRESO3S.js} +1 -1
- package/cdn/chunks/{chunk.YMXQL4JQ.js → chunk.VJY3BVCV.js} +1 -1
- package/cdn/chunks/{chunk.ZVDBX7MJ.js → chunk.VO4QBWR6.js} +15 -15
- package/{dist/chunks/chunk.PYASQ3KP.js → cdn/chunks/chunk.WPRM2AN2.js} +1 -1
- package/cdn/chunks/{chunk.WSIWHQE2.js → chunk.XIE55A7V.js} +1 -1
- package/cdn/chunks/{chunk.NDS73VML.js → chunk.XRQFG5L5.js} +1 -1
- package/cdn/chunks/{chunk.QYO3IJOM.js → chunk.XUJ6GG3I.js} +2 -2
- package/cdn/chunks/{chunk.GNUHUURH.js → chunk.XZLBSMUJ.js} +1 -1
- package/cdn/chunks/{chunk.3HD7UWOY.js → chunk.Y742TAGH.js} +1 -1
- package/cdn/chunks/{chunk.L7N5QVXS.js → chunk.Z2TYLEAP.js} +1 -1
- package/cdn/chunks/{chunk.KUXDAFVJ.js → chunk.Z4FQAFSZ.js} +1 -1
- package/cdn/chunks/{chunk.WS4QAZPT.js → chunk.ZM74J5O7.js} +1 -1
- package/cdn/components/browse-variables/browse-variables.component.js +18 -18
- package/cdn/components/browse-variables/browse-variables.js +19 -19
- package/cdn/components/browse-variables/browse-variables.types.d.ts +1 -0
- package/cdn/components/button/button.component.js +3 -3
- package/cdn/components/button/button.js +4 -4
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +3 -3
- package/cdn/components/combobox/combobox.js +4 -4
- package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
- package/cdn/components/date-range-slider/date-range-slider.js +3 -3
- package/cdn/components/dialog/dialog.component.js +2 -2
- package/cdn/components/dialog/dialog.js +3 -3
- package/cdn/components/giovanni-search/giovanni-search.component.js +12 -12
- package/cdn/components/giovanni-search/giovanni-search.js +13 -13
- package/cdn/components/icon/icon.component.js +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +13 -13
- package/cdn/components/login/login.js +14 -14
- 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/skeleton/skeleton.component.js +5 -5
- package/cdn/components/skeleton/skeleton.js +6 -6
- package/cdn/components/spatial-picker/spatial-picker.component.js +3 -3
- package/cdn/components/spatial-picker/spatial-picker.js +4 -4
- package/cdn/components/time-series/time-series.component.js +23 -23
- package/cdn/components/time-series/time-series.js +24 -24
- package/cdn/components/variable-combobox/variable-combobox.component.js +13 -13
- package/cdn/components/variable-combobox/variable-combobox.controller.js +1 -1
- package/cdn/components/variable-combobox/variable-combobox.js +14 -14
- package/cdn/custom-elements.json +1647 -1647
- package/cdn/react/browse-variables/index.js +19 -19
- package/cdn/react/button/index.js +4 -4
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +4 -4
- package/cdn/react/date-range-slider/index.js +3 -3
- package/cdn/react/dialog/index.js +3 -3
- package/cdn/react/giovanni-search/index.js +13 -13
- package/cdn/react/icon/index.js +4 -4
- package/cdn/react/index.d.ts +6 -6
- package/cdn/react/index.js +60 -60
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +14 -14
- package/cdn/react/map/index.js +3 -3
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/skeleton/index.js +6 -6
- package/cdn/react/spatial-picker/index.js +4 -4
- package/cdn/react/time-series/index.js +24 -24
- package/cdn/react/variable-combobox/index.js +14 -14
- package/cdn/terra-ui-components.js +55 -55
- package/cdn/types/vue/index.d.ts +108 -108
- package/cdn/utilities/animation.js +3 -3
- package/cdn/vscode.html-custom-data.json +207 -207
- package/cdn/web-types.json +188 -188
- package/dist/chunks/{chunk.LRQHWB6Z.js → chunk.2OY33DUQ.js} +1 -1
- package/dist/chunks/{chunk.ZFBPPPQJ.js → chunk.2VI37SGK.js} +1 -1
- package/{cdn/chunks/chunk.62GBI6QT.js → dist/chunks/chunk.3R7FYOEC.js} +1 -1
- package/dist/chunks/{chunk.6CNTOUYU.js → chunk.4KUKUFDS.js} +1 -1
- package/{cdn/chunks/chunk.IHMMIQUE.js → dist/chunks/chunk.4RD7BI5G.js} +1 -1
- package/{cdn/chunks/chunk.Z7X6Y5A2.js → dist/chunks/chunk.5VZI3AW6.js} +1 -1
- package/dist/chunks/{chunk.OTJZTTGR.js → chunk.6MWZMGHC.js} +1 -1
- package/{cdn/chunks/chunk.HJ7JKW2H.js → dist/chunks/chunk.6NV24MHZ.js} +1 -1
- package/dist/chunks/{chunk.57CKTAKD.js → chunk.6SN6X5JU.js} +1 -1
- package/{cdn/chunks/chunk.BBIKP4JR.js → dist/chunks/chunk.A5MHK2RE.js} +1 -1
- package/dist/chunks/{chunk.RN4JYU64.js → chunk.AFNAKALA.js} +1 -1
- package/dist/chunks/{chunk.ODML5V7N.js → chunk.AKIZ4D6W.js} +1 -1
- package/dist/chunks/{chunk.GGDI4FYM.js → chunk.AZFDLGZH.js} +1 -1
- package/dist/chunks/{chunk.OVNPXBMH.js → chunk.BOJX33N7.js} +1 -1
- package/dist/chunks/{chunk.3JTY44U5.js → chunk.CXHYT4QV.js} +1 -1
- package/{cdn/chunks/chunk.J6WSHQ5Q.js → dist/chunks/chunk.FHPEQ6H6.js} +1 -1
- package/dist/chunks/{chunk.2YTUB26Y.js → chunk.G7L4LFF2.js} +6 -6
- package/dist/chunks/{chunk.C55HOKOF.js → chunk.GRG5Z2VH.js} +1 -1
- package/dist/chunks/{chunk.ZCE7WDGF.js → chunk.HC2GJY4W.js} +1 -1
- package/dist/chunks/{chunk.CMRBFBGC.js → chunk.ICYAVVW4.js} +1 -1
- package/{cdn/chunks/chunk.3UV7J4NS.js → dist/chunks/chunk.IXA4S7MC.js} +1 -1
- package/dist/chunks/{chunk.XNA5WILN.js → chunk.IYY536HH.js} +1 -1
- package/dist/chunks/{chunk.JBYILTM5.js → chunk.JXNFBM4G.js} +12 -12
- package/{cdn/chunks/chunk.H2D77WCA.js → dist/chunks/chunk.KLX4FSH3.js} +1 -1
- package/dist/chunks/{chunk.2DR7AOXV.js → chunk.LIBBEBVE.js} +12 -12
- package/dist/chunks/{chunk.MWWHP5QZ.js → chunk.LSCC4BWP.js} +1 -1
- package/dist/chunks/{chunk.OWKK3WI5.js → chunk.LVFOF3IN.js} +1 -1
- package/dist/chunks/{chunk.HW7XMY7Q.js → chunk.MERZEEOA.js} +1 -1
- package/dist/chunks/{chunk.AHXY2G3S.js → chunk.NW3BG32V.js} +6 -6
- package/{cdn/chunks/chunk.G27NYAJE.js → dist/chunks/chunk.OIO4HWK3.js} +1 -1
- package/dist/chunks/{chunk.ZW7MRBHK.js → chunk.OVSUMCZT.js} +1 -1
- package/dist/chunks/{chunk.ZE6TVUI6.js → chunk.QJGNTLKC.js} +2 -2
- package/dist/chunks/{chunk.BAW62HAI.js → chunk.QND3EL2M.js} +1 -1
- package/dist/chunks/{chunk.YITM63NC.js → chunk.SBA3WOAN.js} +1 -1
- package/dist/chunks/{chunk.WTIVIDST.js → chunk.TGFRBJQ2.js} +1 -1
- package/dist/chunks/{chunk.H3GFAQRD.js → chunk.TPLUT5FB.js} +1 -1
- package/dist/chunks/{chunk.BBBBXFP7.js → chunk.TRYPXGEF.js} +1 -1
- package/dist/chunks/{chunk.KKVE6GYM.js → chunk.TVP7YR6X.js} +1 -1
- package/{cdn/chunks/chunk.PV2DGFKE.js → dist/chunks/chunk.UCLNYZP4.js} +1 -1
- package/dist/chunks/{chunk.AKUZJAAB.js → chunk.V73GDG7A.js} +1 -1
- package/dist/chunks/{chunk.ZYTY3FFF.js → chunk.VTKHAV5B.js} +3 -3
- package/dist/chunks/{chunk.Z453VB2M.js → chunk.WXWUMSQ6.js} +1 -1
- package/dist/chunks/{chunk.X46ZFGC5.js → chunk.WZRVDBUQ.js} +1 -1
- package/dist/chunks/{chunk.UDQPMSMV.js → chunk.X2NOCGLF.js} +1 -1
- package/{cdn/chunks/chunk.UT24LBP4.js → dist/chunks/chunk.XWVIOQSF.js} +1 -1
- package/dist/chunks/{chunk.B354HQX3.js → chunk.YQCBR4B6.js} +1 -1
- package/dist/chunks/{chunk.N2G44XSE.js → chunk.Z3BPGAEC.js} +1 -1
- package/dist/chunks/{chunk.SJ2EYIT4.js → chunk.ZCPWIACO.js} +1 -1
- package/dist/chunks/{chunk.M7X6L73X.js → chunk.ZJX62EXO.js} +1 -1
- package/dist/components/browse-variables/browse-variables.component.js +12 -12
- package/dist/components/browse-variables/browse-variables.js +13 -13
- package/dist/components/browse-variables/browse-variables.types.d.ts +1 -0
- 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 +2 -2
- package/dist/components/combobox/combobox.js +3 -3
- package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
- package/dist/components/date-range-slider/date-range-slider.js +3 -3
- package/dist/components/dialog/dialog.component.js +2 -2
- package/dist/components/dialog/dialog.js +3 -3
- package/dist/components/giovanni-search/giovanni-search.component.js +7 -7
- package/dist/components/giovanni-search/giovanni-search.js +8 -8
- package/dist/components/icon/icon.component.js +3 -3
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/login/login.component.js +9 -9
- package/dist/components/login/login.js +10 -10
- 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/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.component.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.js +4 -4
- package/dist/components/time-series/time-series.component.js +18 -18
- package/dist/components/time-series/time-series.js +19 -19
- package/dist/components/variable-combobox/variable-combobox.component.js +8 -8
- package/dist/components/variable-combobox/variable-combobox.js +9 -9
- package/dist/custom-elements.json +1647 -1647
- package/dist/react/browse-variables/index.js +13 -13
- package/dist/react/button/index.js +3 -3
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +3 -3
- package/dist/react/date-range-slider/index.js +3 -3
- package/dist/react/dialog/index.js +3 -3
- package/dist/react/giovanni-search/index.js +8 -8
- package/dist/react/icon/index.js +4 -4
- package/dist/react/index.d.ts +6 -6
- package/dist/react/index.js +54 -54
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +10 -10
- package/dist/react/map/index.js +3 -3
- package/dist/react/plot/index.js +3 -3
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +4 -4
- package/dist/react/time-series/index.js +19 -19
- package/dist/react/variable-combobox/index.js +9 -9
- package/dist/terra-ui-components.js +49 -49
- package/dist/{terra_ui_components-0.0.28-py3-none-any.whl → terra_ui_components-0.0.29-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.28.tar.gz → terra_ui_components-0.0.29.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +108 -108
- package/dist/vscode.html-custom-data.json +207 -207
- package/dist/web-types.json +188 -188
- package/package.json +1 -1
- package/cdn/chunks/{chunk.GT24H4QB.js → chunk.OBHNA5IZ.js} +8 -8
package/cdn/custom-elements.json
CHANGED
|
@@ -4,493 +4,695 @@
|
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "javascript-module",
|
|
7
|
-
"path": "components/
|
|
7
|
+
"path": "components/button/button.js",
|
|
8
8
|
"declarations": [
|
|
9
9
|
{
|
|
10
10
|
"kind": "class",
|
|
11
11
|
"description": "",
|
|
12
|
-
"name": "
|
|
12
|
+
"name": "TerraButton",
|
|
13
|
+
"cssParts": [
|
|
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
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"description": "The container that wraps the suffix.",
|
|
28
|
+
"name": "suffix"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"description": "The button's caret icon, an `<sl-icon>` element.",
|
|
32
|
+
"name": "caret"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"description": "The spinner that shows when the button is in the loading state.",
|
|
36
|
+
"name": "spinner"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
13
39
|
"slots": [
|
|
14
40
|
{
|
|
15
|
-
"description": "The
|
|
41
|
+
"description": "The button's label.",
|
|
16
42
|
"name": ""
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"description": "A presentational prefix icon or similar element.",
|
|
46
|
+
"name": "prefix"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"description": "A presentational suffix icon or similar element.",
|
|
50
|
+
"name": "suffix"
|
|
17
51
|
}
|
|
18
52
|
],
|
|
19
53
|
"members": [
|
|
20
54
|
{
|
|
21
55
|
"kind": "field",
|
|
22
|
-
"name": "
|
|
56
|
+
"name": "formControlController",
|
|
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",
|
|
23
71
|
"type": {
|
|
24
|
-
"text": "
|
|
72
|
+
"text": "HTMLButtonElement | HTMLLinkElement"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"kind": "field",
|
|
77
|
+
"name": "hasFocus",
|
|
78
|
+
"type": {
|
|
79
|
+
"text": "boolean"
|
|
25
80
|
},
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"reflects": true
|
|
81
|
+
"privacy": "private",
|
|
82
|
+
"default": "false"
|
|
29
83
|
},
|
|
30
84
|
{
|
|
31
85
|
"kind": "field",
|
|
32
|
-
"name": "
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
86
|
+
"name": "invalid",
|
|
87
|
+
"type": {
|
|
88
|
+
"text": "boolean"
|
|
89
|
+
},
|
|
90
|
+
"default": "false"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"kind": "field",
|
|
94
|
+
"name": "title",
|
|
95
|
+
"type": {
|
|
96
|
+
"text": "string"
|
|
97
|
+
},
|
|
98
|
+
"default": "''",
|
|
99
|
+
"attribute": "title"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"kind": "field",
|
|
103
|
+
"name": "variant",
|
|
104
|
+
"type": {
|
|
105
|
+
"text": "| 'default'\n | 'primary'\n | 'success'\n | 'warning'\n | 'danger'\n | 'text'\n | 'pagelink'"
|
|
106
|
+
},
|
|
107
|
+
"default": "'primary'",
|
|
108
|
+
"description": "The button's theme variant.",
|
|
109
|
+
"attribute": "variant",
|
|
110
|
+
"reflects": true
|
|
111
|
+
},
|
|
37
112
|
{
|
|
113
|
+
"kind": "field",
|
|
38
114
|
"name": "size",
|
|
39
115
|
"type": {
|
|
40
116
|
"text": "'small' | 'medium' | 'large'"
|
|
41
117
|
},
|
|
42
118
|
"default": "'medium'",
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"name": "TerraElement",
|
|
48
|
-
"module": "/src/internal/terra-element.js"
|
|
49
|
-
},
|
|
50
|
-
"summary": "Used for contacts and tags",
|
|
51
|
-
"tagNameWithoutPrefix": "chip",
|
|
52
|
-
"tagName": "terra-chip",
|
|
53
|
-
"customElement": true,
|
|
54
|
-
"jsDoc": "/**\n * @summary Used for contacts and tags\n * @documentation https://disc.gsfc.nasa.gov/components/chip\n * @status stable\n * @since 1.0\n *\n * @slot - The chip's label.\n */",
|
|
55
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/chip",
|
|
56
|
-
"status": "stable",
|
|
57
|
-
"since": "1.0"
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"exports": [
|
|
61
|
-
{
|
|
62
|
-
"kind": "js",
|
|
63
|
-
"name": "default",
|
|
64
|
-
"declaration": {
|
|
65
|
-
"name": "TerraChip",
|
|
66
|
-
"module": "components/chip/chip.js"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"kind": "javascript-module",
|
|
73
|
-
"path": "components/browse-variables/browse-variables.js",
|
|
74
|
-
"declarations": [
|
|
75
|
-
{
|
|
76
|
-
"kind": "class",
|
|
77
|
-
"description": "",
|
|
78
|
-
"name": "TerraBrowseVariables",
|
|
79
|
-
"members": [
|
|
119
|
+
"description": "The button's size.",
|
|
120
|
+
"attribute": "size",
|
|
121
|
+
"reflects": true
|
|
122
|
+
},
|
|
80
123
|
{
|
|
81
124
|
"kind": "field",
|
|
82
|
-
"name": "
|
|
125
|
+
"name": "caret",
|
|
83
126
|
"type": {
|
|
84
|
-
"text": "
|
|
127
|
+
"text": "boolean"
|
|
85
128
|
},
|
|
86
|
-
"
|
|
87
|
-
"
|
|
129
|
+
"default": "false",
|
|
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
|
|
88
133
|
},
|
|
89
134
|
{
|
|
90
135
|
"kind": "field",
|
|
91
|
-
"name": "
|
|
136
|
+
"name": "shape",
|
|
92
137
|
"type": {
|
|
93
|
-
"text": "'
|
|
138
|
+
"text": "'square' | 'square-left' | 'square-right'"
|
|
94
139
|
},
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
140
|
+
"description": "The button's shape. Used to control the radius edge shape when button is not in a terra-button-group.",
|
|
141
|
+
"attribute": "shape",
|
|
142
|
+
"reflects": true
|
|
98
143
|
},
|
|
99
144
|
{
|
|
100
145
|
"kind": "field",
|
|
101
|
-
"name": "
|
|
146
|
+
"name": "disabled",
|
|
102
147
|
"type": {
|
|
103
|
-
"text": "
|
|
104
|
-
}
|
|
148
|
+
"text": "boolean"
|
|
149
|
+
},
|
|
150
|
+
"default": "false",
|
|
151
|
+
"description": "Disables the button.",
|
|
152
|
+
"attribute": "disabled",
|
|
153
|
+
"reflects": true
|
|
105
154
|
},
|
|
106
155
|
{
|
|
107
156
|
"kind": "field",
|
|
108
|
-
"name": "
|
|
157
|
+
"name": "loading",
|
|
109
158
|
"type": {
|
|
110
|
-
"text": "
|
|
159
|
+
"text": "boolean"
|
|
111
160
|
},
|
|
112
|
-
"default": "
|
|
161
|
+
"default": "false",
|
|
162
|
+
"description": "Draws the button in a loading state.",
|
|
163
|
+
"attribute": "loading",
|
|
164
|
+
"reflects": true
|
|
113
165
|
},
|
|
114
166
|
{
|
|
115
167
|
"kind": "field",
|
|
116
|
-
"name": "
|
|
168
|
+
"name": "outline",
|
|
117
169
|
"type": {
|
|
118
|
-
"text": "
|
|
170
|
+
"text": "boolean"
|
|
119
171
|
},
|
|
120
|
-
"default": "
|
|
172
|
+
"default": "false",
|
|
173
|
+
"description": "Draws an outlined button.",
|
|
174
|
+
"attribute": "outline",
|
|
175
|
+
"reflects": true
|
|
121
176
|
},
|
|
122
177
|
{
|
|
123
178
|
"kind": "field",
|
|
124
|
-
"name": "
|
|
179
|
+
"name": "circle",
|
|
125
180
|
"type": {
|
|
126
181
|
"text": "boolean"
|
|
127
182
|
},
|
|
128
|
-
"default": "false"
|
|
183
|
+
"default": "false",
|
|
184
|
+
"description": "Draws a circular icon button. When this attribute is present, the button expects a single `<terra-icon>` in the\ndefault slot.",
|
|
185
|
+
"attribute": "circle",
|
|
186
|
+
"reflects": true
|
|
129
187
|
},
|
|
130
188
|
{
|
|
131
189
|
"kind": "field",
|
|
132
|
-
"name": "
|
|
133
|
-
"
|
|
134
|
-
|
|
190
|
+
"name": "type",
|
|
191
|
+
"type": {
|
|
192
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
193
|
+
},
|
|
194
|
+
"default": "'button'",
|
|
195
|
+
"description": "The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native\n`<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.",
|
|
196
|
+
"attribute": "type"
|
|
135
197
|
},
|
|
136
198
|
{
|
|
137
|
-
"kind": "
|
|
138
|
-
"name": "
|
|
199
|
+
"kind": "field",
|
|
200
|
+
"name": "name",
|
|
201
|
+
"type": {
|
|
202
|
+
"text": "string"
|
|
203
|
+
},
|
|
204
|
+
"default": "''",
|
|
205
|
+
"description": "The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.\nThis attribute is ignored when `href` is present.",
|
|
206
|
+
"attribute": "name"
|
|
139
207
|
},
|
|
140
208
|
{
|
|
141
|
-
"kind": "
|
|
142
|
-
"name": "
|
|
209
|
+
"kind": "field",
|
|
210
|
+
"name": "value",
|
|
211
|
+
"type": {
|
|
212
|
+
"text": "string"
|
|
213
|
+
},
|
|
214
|
+
"default": "''",
|
|
215
|
+
"description": "The value of the button, submitted as a pair with the button's name as part of the form data, but only when this\nbutton is the submitter. This attribute is ignored when `href` is present.",
|
|
216
|
+
"attribute": "value"
|
|
143
217
|
},
|
|
144
218
|
{
|
|
145
|
-
"kind": "
|
|
146
|
-
"name": "
|
|
219
|
+
"kind": "field",
|
|
220
|
+
"name": "href",
|
|
221
|
+
"type": {
|
|
222
|
+
"text": "string"
|
|
223
|
+
},
|
|
224
|
+
"default": "''",
|
|
225
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
226
|
+
"attribute": "href"
|
|
147
227
|
},
|
|
148
228
|
{
|
|
149
|
-
"kind": "
|
|
150
|
-
"name": "
|
|
151
|
-
"
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
]
|
|
229
|
+
"kind": "field",
|
|
230
|
+
"name": "target",
|
|
231
|
+
"type": {
|
|
232
|
+
"text": "'_blank' | '_parent' | '_self' | '_top'"
|
|
233
|
+
},
|
|
234
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
235
|
+
"attribute": "target"
|
|
159
236
|
},
|
|
160
237
|
{
|
|
161
|
-
"kind": "
|
|
162
|
-
"name": "
|
|
238
|
+
"kind": "field",
|
|
239
|
+
"name": "rel",
|
|
240
|
+
"type": {
|
|
241
|
+
"text": "string"
|
|
242
|
+
},
|
|
243
|
+
"default": "'noreferrer noopener'",
|
|
244
|
+
"description": "When using `href`, this attribute will map to the underlying link's `rel` attribute. Unlike regular links, the\ndefault is `noreferrer noopener` to prevent security exploits. However, if you're using `target` to point to a\nspecific tab/window, this will prevent that from working correctly. You can remove or change the default value by\nsetting the attribute to an empty string or a value of your choice, respectively.",
|
|
245
|
+
"attribute": "rel"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"kind": "field",
|
|
249
|
+
"name": "download",
|
|
250
|
+
"type": {
|
|
251
|
+
"text": "string | undefined"
|
|
252
|
+
},
|
|
253
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
254
|
+
"attribute": "download"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"kind": "field",
|
|
258
|
+
"name": "form",
|
|
259
|
+
"type": {
|
|
260
|
+
"text": "string"
|
|
261
|
+
},
|
|
262
|
+
"description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
|
|
263
|
+
"attribute": "form"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"kind": "field",
|
|
267
|
+
"name": "formAction",
|
|
268
|
+
"type": {
|
|
269
|
+
"text": "string"
|
|
270
|
+
},
|
|
271
|
+
"description": "Used to override the form owner's `action` attribute.",
|
|
272
|
+
"attribute": "formaction"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"kind": "field",
|
|
276
|
+
"name": "formEnctype",
|
|
277
|
+
"type": {
|
|
278
|
+
"text": "| 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'"
|
|
279
|
+
},
|
|
280
|
+
"description": "Used to override the form owner's `enctype` attribute.",
|
|
281
|
+
"attribute": "formenctype"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"kind": "field",
|
|
285
|
+
"name": "formMethod",
|
|
286
|
+
"type": {
|
|
287
|
+
"text": "'post' | 'get'"
|
|
288
|
+
},
|
|
289
|
+
"description": "Used to override the form owner's `method` attribute.",
|
|
290
|
+
"attribute": "formmethod"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"kind": "field",
|
|
294
|
+
"name": "formNoValidate",
|
|
295
|
+
"type": {
|
|
296
|
+
"text": "boolean"
|
|
297
|
+
},
|
|
298
|
+
"description": "Used to override the form owner's `novalidate` attribute.",
|
|
299
|
+
"attribute": "formnovalidate"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"kind": "field",
|
|
303
|
+
"name": "formTarget",
|
|
304
|
+
"type": {
|
|
305
|
+
"text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
|
|
306
|
+
},
|
|
307
|
+
"description": "Used to override the form owner's `target` attribute.",
|
|
308
|
+
"attribute": "formtarget"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"kind": "field",
|
|
312
|
+
"name": "forDialog",
|
|
313
|
+
"type": {
|
|
314
|
+
"text": "string | undefined"
|
|
315
|
+
},
|
|
316
|
+
"description": "Used to connect this button to a dqialog on the page. Clicking the button will toggle the dialog's visiblity",
|
|
317
|
+
"attribute": "for-dialog"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"kind": "field",
|
|
321
|
+
"name": "expanded",
|
|
322
|
+
"type": {
|
|
323
|
+
"text": "boolean"
|
|
324
|
+
},
|
|
325
|
+
"default": "false",
|
|
326
|
+
"description": "if button is used to control another element on the page, such as an accordion or dialog, this state communicates whether the controlled element is expanded"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"kind": "field",
|
|
330
|
+
"name": "validity",
|
|
331
|
+
"description": "Gets the validity state object",
|
|
332
|
+
"readonly": true
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"kind": "field",
|
|
336
|
+
"name": "validationMessage",
|
|
337
|
+
"description": "Gets the validation message",
|
|
338
|
+
"readonly": true
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"kind": "method",
|
|
342
|
+
"name": "#handleDialogStateChange",
|
|
163
343
|
"parameters": [
|
|
164
344
|
{
|
|
165
345
|
"name": "e",
|
|
166
346
|
"type": {
|
|
167
|
-
"text": "
|
|
347
|
+
"text": "TerraDialogShowEvent | TerraDialogHideEvent"
|
|
168
348
|
}
|
|
169
349
|
}
|
|
170
350
|
]
|
|
171
351
|
},
|
|
172
352
|
{
|
|
173
353
|
"kind": "method",
|
|
174
|
-
"name": "
|
|
175
|
-
"
|
|
176
|
-
{
|
|
177
|
-
"name": "facet",
|
|
178
|
-
"type": {
|
|
179
|
-
"text": "string"
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"name": "field",
|
|
184
|
-
"type": {
|
|
185
|
-
"text": "string"
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"name": "selectOneFieldAtATime",
|
|
190
|
-
"default": "false",
|
|
191
|
-
"type": {
|
|
192
|
-
"text": "boolean"
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
],
|
|
196
|
-
"description": "given a field, ex: \"observations\": \"Model\", will add the field to any existing selected facets\nif \"selectedOneFieldAtATime\" is true, then we will only select that one field"
|
|
354
|
+
"name": "handleBlur",
|
|
355
|
+
"privacy": "private"
|
|
197
356
|
},
|
|
198
357
|
{
|
|
199
358
|
"kind": "method",
|
|
200
|
-
"name": "
|
|
359
|
+
"name": "handleFocus",
|
|
360
|
+
"privacy": "private"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"kind": "method",
|
|
364
|
+
"name": "handleClick",
|
|
365
|
+
"privacy": "private"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"kind": "method",
|
|
369
|
+
"name": "handleInvalid",
|
|
370
|
+
"privacy": "private",
|
|
201
371
|
"parameters": [
|
|
202
372
|
{
|
|
203
|
-
"name": "
|
|
373
|
+
"name": "event",
|
|
204
374
|
"type": {
|
|
205
|
-
"text": "
|
|
375
|
+
"text": "Event"
|
|
206
376
|
}
|
|
207
377
|
}
|
|
208
378
|
]
|
|
209
379
|
},
|
|
210
380
|
{
|
|
211
381
|
"kind": "method",
|
|
212
|
-
"name": "
|
|
382
|
+
"name": "isButton",
|
|
383
|
+
"privacy": "private"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"kind": "method",
|
|
387
|
+
"name": "isLink",
|
|
388
|
+
"privacy": "private"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"kind": "method",
|
|
392
|
+
"name": "handleDisabledChange"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"kind": "method",
|
|
396
|
+
"name": "click",
|
|
397
|
+
"description": "Simulates a click on the button."
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"kind": "method",
|
|
401
|
+
"name": "focus",
|
|
213
402
|
"parameters": [
|
|
214
403
|
{
|
|
215
|
-
"name": "
|
|
216
|
-
"
|
|
217
|
-
"text": "string"
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"name": "field",
|
|
404
|
+
"name": "options",
|
|
405
|
+
"optional": true,
|
|
222
406
|
"type": {
|
|
223
|
-
"text": "
|
|
407
|
+
"text": "FocusOptions"
|
|
224
408
|
}
|
|
225
409
|
}
|
|
226
|
-
]
|
|
410
|
+
],
|
|
411
|
+
"description": "Sets focus on the button."
|
|
227
412
|
},
|
|
228
413
|
{
|
|
229
414
|
"kind": "method",
|
|
230
|
-
"name": "
|
|
231
|
-
"
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
415
|
+
"name": "blur",
|
|
416
|
+
"description": "Removes focus from the button."
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"kind": "method",
|
|
420
|
+
"name": "checkValidity",
|
|
421
|
+
"description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"kind": "method",
|
|
425
|
+
"name": "getForm",
|
|
426
|
+
"return": {
|
|
427
|
+
"type": {
|
|
428
|
+
"text": "HTMLFormElement | null"
|
|
243
429
|
}
|
|
244
|
-
|
|
430
|
+
},
|
|
431
|
+
"description": "Gets the associated form, if one exists."
|
|
245
432
|
},
|
|
246
433
|
{
|
|
247
434
|
"kind": "method",
|
|
248
|
-
"name": "
|
|
435
|
+
"name": "reportValidity",
|
|
436
|
+
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
249
437
|
},
|
|
250
438
|
{
|
|
251
439
|
"kind": "method",
|
|
252
|
-
"name": "
|
|
440
|
+
"name": "setCustomValidity",
|
|
253
441
|
"parameters": [
|
|
254
442
|
{
|
|
255
|
-
"name": "
|
|
443
|
+
"name": "message",
|
|
256
444
|
"type": {
|
|
257
445
|
"text": "string"
|
|
258
446
|
}
|
|
259
|
-
}
|
|
447
|
+
}
|
|
448
|
+
],
|
|
449
|
+
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"kind": "method",
|
|
453
|
+
"name": "setPageLinkIcon",
|
|
454
|
+
"return": {
|
|
455
|
+
"type": {
|
|
456
|
+
"text": "string"
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
"parameters": [
|
|
260
460
|
{
|
|
261
|
-
"name": "
|
|
461
|
+
"name": "href",
|
|
262
462
|
"type": {
|
|
263
463
|
"text": "string"
|
|
264
464
|
}
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"name": "fields",
|
|
268
|
-
"optional": true,
|
|
269
|
-
"type": {
|
|
270
|
-
"text": "FacetField[]"
|
|
271
|
-
}
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"name": "open",
|
|
275
|
-
"optional": true,
|
|
276
|
-
"type": {
|
|
277
|
-
"text": "boolean"
|
|
278
|
-
}
|
|
279
465
|
}
|
|
280
466
|
]
|
|
281
467
|
},
|
|
282
468
|
{
|
|
283
469
|
"kind": "method",
|
|
284
|
-
"name": "
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
"name": "catalog",
|
|
290
|
-
"type": {
|
|
291
|
-
"text": "'giovanni'"
|
|
470
|
+
"name": "setFontSize",
|
|
471
|
+
"return": {
|
|
472
|
+
"type": {
|
|
473
|
+
"text": "string"
|
|
474
|
+
}
|
|
292
475
|
},
|
|
293
|
-
"
|
|
294
|
-
|
|
295
|
-
|
|
476
|
+
"parameters": [
|
|
477
|
+
{
|
|
478
|
+
"name": "size",
|
|
479
|
+
"type": {
|
|
480
|
+
"text": "string"
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
]
|
|
296
484
|
}
|
|
297
485
|
],
|
|
298
|
-
"
|
|
299
|
-
"name": "TerraElement",
|
|
300
|
-
"module": "/src/internal/terra-element.js"
|
|
301
|
-
},
|
|
302
|
-
"summary": "Browse through the NASA CMR or Giovanni catalogs.",
|
|
303
|
-
"tagNameWithoutPrefix": "browse-variables",
|
|
304
|
-
"tagName": "terra-browse-variables",
|
|
305
|
-
"customElement": true,
|
|
306
|
-
"jsDoc": "/**\n * @summary Browse through the NASA CMR or Giovanni catalogs.\n * @documentation https://disc.gsfc.nasa.gov/components/browse-variables\n * @status MVP\n * @since 1.0\n *\n * @emits terra-variables-change - emitted when the user selects or unselects variables\n *\n * @dependency terra-giovanni-search\n * @dependency terra-button\n * @dependency terra-skeleton\n * @dependency terra-icon\n * @dependency terra-loader\n */",
|
|
307
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/browse-variables",
|
|
308
|
-
"status": "MVP",
|
|
309
|
-
"since": "1.0",
|
|
310
|
-
"dependencies": [
|
|
311
|
-
"terra-giovanni-search",
|
|
312
|
-
"terra-button",
|
|
313
|
-
"terra-skeleton",
|
|
314
|
-
"terra-icon",
|
|
315
|
-
"terra-loader"
|
|
316
|
-
]
|
|
317
|
-
}
|
|
318
|
-
],
|
|
319
|
-
"exports": [
|
|
320
|
-
{
|
|
321
|
-
"kind": "js",
|
|
322
|
-
"name": "default",
|
|
323
|
-
"declaration": {
|
|
324
|
-
"name": "TerraBrowseVariables",
|
|
325
|
-
"module": "components/browse-variables/browse-variables.js"
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
]
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"kind": "javascript-module",
|
|
332
|
-
"path": "components/dialog/dialog.js",
|
|
333
|
-
"declarations": [
|
|
334
|
-
{
|
|
335
|
-
"kind": "class",
|
|
336
|
-
"description": "",
|
|
337
|
-
"name": "TerraDialog",
|
|
338
|
-
"slots": [
|
|
486
|
+
"attributes": [
|
|
339
487
|
{
|
|
340
|
-
"
|
|
341
|
-
"
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
488
|
+
"name": "title",
|
|
489
|
+
"type": {
|
|
490
|
+
"text": "string"
|
|
491
|
+
},
|
|
492
|
+
"default": "''",
|
|
493
|
+
"fieldName": "title"
|
|
494
|
+
},
|
|
345
495
|
{
|
|
346
|
-
"
|
|
347
|
-
"name": "dialogEl",
|
|
496
|
+
"name": "variant",
|
|
348
497
|
"type": {
|
|
349
|
-
"text": "
|
|
350
|
-
}
|
|
498
|
+
"text": "| 'default'\n | 'primary'\n | 'success'\n | 'warning'\n | 'danger'\n | 'text'\n | 'pagelink'"
|
|
499
|
+
},
|
|
500
|
+
"default": "'primary'",
|
|
501
|
+
"description": "The button's theme variant.",
|
|
502
|
+
"fieldName": "variant"
|
|
351
503
|
},
|
|
352
504
|
{
|
|
353
|
-
"
|
|
354
|
-
"name": "id",
|
|
505
|
+
"name": "size",
|
|
355
506
|
"type": {
|
|
356
|
-
"text": "
|
|
507
|
+
"text": "'small' | 'medium' | 'large'"
|
|
357
508
|
},
|
|
358
|
-
"
|
|
359
|
-
"
|
|
509
|
+
"default": "'medium'",
|
|
510
|
+
"description": "The button's size.",
|
|
511
|
+
"fieldName": "size"
|
|
360
512
|
},
|
|
361
513
|
{
|
|
362
|
-
"
|
|
363
|
-
"name": "width",
|
|
514
|
+
"name": "caret",
|
|
364
515
|
"type": {
|
|
365
|
-
"text": "
|
|
516
|
+
"text": "boolean"
|
|
366
517
|
},
|
|
367
|
-
"default": "
|
|
368
|
-
"description": "the
|
|
369
|
-
"
|
|
370
|
-
"reflects": true
|
|
518
|
+
"default": "false",
|
|
519
|
+
"description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
|
|
520
|
+
"fieldName": "caret"
|
|
371
521
|
},
|
|
372
522
|
{
|
|
373
|
-
"
|
|
374
|
-
"
|
|
523
|
+
"name": "shape",
|
|
524
|
+
"type": {
|
|
525
|
+
"text": "'square' | 'square-left' | 'square-right'"
|
|
526
|
+
},
|
|
527
|
+
"description": "The button's shape. Used to control the radius edge shape when button is not in a terra-button-group.",
|
|
528
|
+
"fieldName": "shape"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "disabled",
|
|
375
532
|
"type": {
|
|
376
533
|
"text": "boolean"
|
|
377
534
|
},
|
|
378
535
|
"default": "false",
|
|
379
|
-
"description": "
|
|
380
|
-
"
|
|
381
|
-
"reflects": true
|
|
536
|
+
"description": "Disables the button.",
|
|
537
|
+
"fieldName": "disabled"
|
|
382
538
|
},
|
|
383
539
|
{
|
|
384
|
-
"
|
|
385
|
-
"name": "clickOutsideToClose",
|
|
540
|
+
"name": "loading",
|
|
386
541
|
"type": {
|
|
387
542
|
"text": "boolean"
|
|
388
543
|
},
|
|
389
|
-
"default": "
|
|
390
|
-
"description": "
|
|
391
|
-
"
|
|
392
|
-
"reflects": true
|
|
544
|
+
"default": "false",
|
|
545
|
+
"description": "Draws the button in a loading state.",
|
|
546
|
+
"fieldName": "loading"
|
|
393
547
|
},
|
|
394
548
|
{
|
|
395
|
-
"
|
|
396
|
-
"name": "showBackdrop",
|
|
549
|
+
"name": "outline",
|
|
397
550
|
"type": {
|
|
398
551
|
"text": "boolean"
|
|
399
552
|
},
|
|
400
|
-
"default": "
|
|
401
|
-
"description": "
|
|
402
|
-
"
|
|
403
|
-
"reflects": true
|
|
553
|
+
"default": "false",
|
|
554
|
+
"description": "Draws an outlined button.",
|
|
555
|
+
"fieldName": "outline"
|
|
404
556
|
},
|
|
405
557
|
{
|
|
406
|
-
"
|
|
407
|
-
"
|
|
558
|
+
"name": "circle",
|
|
559
|
+
"type": {
|
|
560
|
+
"text": "boolean"
|
|
561
|
+
},
|
|
562
|
+
"default": "false",
|
|
563
|
+
"description": "Draws a circular icon button. When this attribute is present, the button expects a single `<terra-icon>` in the\ndefault slot.",
|
|
564
|
+
"fieldName": "circle"
|
|
408
565
|
},
|
|
409
566
|
{
|
|
410
|
-
"
|
|
411
|
-
"
|
|
567
|
+
"name": "type",
|
|
568
|
+
"type": {
|
|
569
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
570
|
+
},
|
|
571
|
+
"default": "'button'",
|
|
572
|
+
"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.",
|
|
573
|
+
"fieldName": "type"
|
|
412
574
|
},
|
|
413
575
|
{
|
|
414
|
-
"
|
|
415
|
-
"
|
|
576
|
+
"name": "name",
|
|
577
|
+
"type": {
|
|
578
|
+
"text": "string"
|
|
579
|
+
},
|
|
580
|
+
"default": "''",
|
|
581
|
+
"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.",
|
|
582
|
+
"fieldName": "name"
|
|
416
583
|
},
|
|
417
584
|
{
|
|
418
|
-
"
|
|
419
|
-
"
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
585
|
+
"name": "value",
|
|
586
|
+
"type": {
|
|
587
|
+
"text": "string"
|
|
588
|
+
},
|
|
589
|
+
"default": "''",
|
|
590
|
+
"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.",
|
|
591
|
+
"fieldName": "value"
|
|
592
|
+
},
|
|
423
593
|
{
|
|
424
|
-
"
|
|
425
|
-
"
|
|
426
|
-
|
|
427
|
-
|
|
594
|
+
"name": "href",
|
|
595
|
+
"type": {
|
|
596
|
+
"text": "string"
|
|
597
|
+
},
|
|
598
|
+
"default": "''",
|
|
599
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
600
|
+
"fieldName": "href"
|
|
428
601
|
},
|
|
429
602
|
{
|
|
430
|
-
"
|
|
431
|
-
"
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
603
|
+
"name": "target",
|
|
604
|
+
"type": {
|
|
605
|
+
"text": "'_blank' | '_parent' | '_self' | '_top'"
|
|
606
|
+
},
|
|
607
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
608
|
+
"fieldName": "target"
|
|
609
|
+
},
|
|
437
610
|
{
|
|
438
|
-
"name": "
|
|
611
|
+
"name": "rel",
|
|
439
612
|
"type": {
|
|
440
613
|
"text": "string"
|
|
441
614
|
},
|
|
442
|
-
"
|
|
443
|
-
"
|
|
615
|
+
"default": "'noreferrer noopener'",
|
|
616
|
+
"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.",
|
|
617
|
+
"fieldName": "rel"
|
|
444
618
|
},
|
|
445
619
|
{
|
|
446
|
-
"name": "
|
|
620
|
+
"name": "download",
|
|
621
|
+
"type": {
|
|
622
|
+
"text": "string | undefined"
|
|
623
|
+
},
|
|
624
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
625
|
+
"fieldName": "download"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"name": "form",
|
|
447
629
|
"type": {
|
|
448
630
|
"text": "string"
|
|
449
631
|
},
|
|
450
|
-
"
|
|
451
|
-
"
|
|
452
|
-
"fieldName": "width"
|
|
632
|
+
"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.",
|
|
633
|
+
"fieldName": "form"
|
|
453
634
|
},
|
|
454
635
|
{
|
|
455
|
-
"name": "
|
|
636
|
+
"name": "formaction",
|
|
456
637
|
"type": {
|
|
457
|
-
"text": "
|
|
638
|
+
"text": "string"
|
|
458
639
|
},
|
|
459
|
-
"
|
|
460
|
-
"
|
|
461
|
-
"fieldName": "open"
|
|
640
|
+
"description": "Used to override the form owner's `action` attribute.",
|
|
641
|
+
"fieldName": "formAction"
|
|
462
642
|
},
|
|
463
643
|
{
|
|
464
|
-
"name": "
|
|
644
|
+
"name": "formenctype",
|
|
465
645
|
"type": {
|
|
466
|
-
"text": "
|
|
646
|
+
"text": "| 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'"
|
|
467
647
|
},
|
|
468
|
-
"
|
|
469
|
-
"
|
|
470
|
-
"fieldName": "clickOutsideToClose"
|
|
648
|
+
"description": "Used to override the form owner's `enctype` attribute.",
|
|
649
|
+
"fieldName": "formEnctype"
|
|
471
650
|
},
|
|
472
651
|
{
|
|
473
|
-
"name": "
|
|
652
|
+
"name": "formmethod",
|
|
474
653
|
"type": {
|
|
475
|
-
"text": "
|
|
654
|
+
"text": "'post' | 'get'"
|
|
476
655
|
},
|
|
477
|
-
"
|
|
478
|
-
"
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
656
|
+
"description": "Used to override the form owner's `method` attribute.",
|
|
657
|
+
"fieldName": "formMethod"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"name": "formnovalidate",
|
|
661
|
+
"type": {
|
|
662
|
+
"text": "boolean"
|
|
663
|
+
},
|
|
664
|
+
"description": "Used to override the form owner's `novalidate` attribute.",
|
|
665
|
+
"fieldName": "formNoValidate"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"name": "formtarget",
|
|
669
|
+
"type": {
|
|
670
|
+
"text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
|
|
671
|
+
},
|
|
672
|
+
"description": "Used to override the form owner's `target` attribute.",
|
|
673
|
+
"fieldName": "formTarget"
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"name": "for-dialog",
|
|
677
|
+
"type": {
|
|
678
|
+
"text": "string | undefined"
|
|
679
|
+
},
|
|
680
|
+
"description": "Used to connect this button to a dqialog on the page. Clicking the button will toggle the dialog's visiblity",
|
|
681
|
+
"fieldName": "forDialog"
|
|
682
|
+
}
|
|
683
|
+
],
|
|
482
684
|
"superclass": {
|
|
483
685
|
"name": "TerraElement",
|
|
484
686
|
"module": "/src/internal/terra-element.js"
|
|
485
687
|
},
|
|
486
|
-
"summary": "
|
|
487
|
-
"tagNameWithoutPrefix": "
|
|
488
|
-
"tagName": "terra-
|
|
688
|
+
"summary": "Buttons represent actions that are available to the user.",
|
|
689
|
+
"tagNameWithoutPrefix": "button",
|
|
690
|
+
"tagName": "terra-button",
|
|
489
691
|
"customElement": true,
|
|
490
|
-
"jsDoc": "/**\n * @summary
|
|
491
|
-
"documentation": "https://
|
|
692
|
+
"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 */",
|
|
693
|
+
"documentation": "https://shoelace.style/components/button",
|
|
492
694
|
"status": "stable",
|
|
493
|
-
"since": "
|
|
695
|
+
"since": "2.0"
|
|
494
696
|
}
|
|
495
697
|
],
|
|
496
698
|
"exports": [
|
|
@@ -498,223 +700,64 @@
|
|
|
498
700
|
"kind": "js",
|
|
499
701
|
"name": "default",
|
|
500
702
|
"declaration": {
|
|
501
|
-
"name": "
|
|
502
|
-
"module": "components/
|
|
703
|
+
"name": "TerraButton",
|
|
704
|
+
"module": "components/button/button.js"
|
|
503
705
|
}
|
|
504
706
|
}
|
|
505
707
|
]
|
|
506
708
|
},
|
|
507
709
|
{
|
|
508
710
|
"kind": "javascript-module",
|
|
509
|
-
"path": "components/
|
|
711
|
+
"path": "components/chip/chip.js",
|
|
510
712
|
"declarations": [
|
|
511
713
|
{
|
|
512
714
|
"kind": "class",
|
|
513
715
|
"description": "",
|
|
514
|
-
"name": "
|
|
515
|
-
"cssProperties": [
|
|
516
|
-
{
|
|
517
|
-
"description": "An example CSS custom property.",
|
|
518
|
-
"name": "--example"
|
|
519
|
-
}
|
|
520
|
-
],
|
|
521
|
-
"cssParts": [
|
|
522
|
-
{
|
|
523
|
-
"description": "The component's base wrapper.",
|
|
524
|
-
"name": "base"
|
|
525
|
-
}
|
|
526
|
-
],
|
|
716
|
+
"name": "TerraChip",
|
|
527
717
|
"slots": [
|
|
528
718
|
{
|
|
529
|
-
"description": "The
|
|
719
|
+
"description": "The chip's label.",
|
|
530
720
|
"name": ""
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
"description": "An example slot.",
|
|
534
|
-
"name": "example"
|
|
535
721
|
}
|
|
536
722
|
],
|
|
537
723
|
"members": [
|
|
538
724
|
{
|
|
539
725
|
"kind": "field",
|
|
540
|
-
"name": "
|
|
541
|
-
"type": {
|
|
542
|
-
"text": "HTMLElement & { noUiSlider: API }"
|
|
543
|
-
}
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
"kind": "field",
|
|
547
|
-
"name": "timeScale",
|
|
548
|
-
"type": {
|
|
549
|
-
"text": "TimeScale"
|
|
550
|
-
},
|
|
551
|
-
"default": "'daily'",
|
|
552
|
-
"attribute": "time-scale"
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
"kind": "field",
|
|
556
|
-
"name": "minDate",
|
|
557
|
-
"type": {
|
|
558
|
-
"text": "string"
|
|
559
|
-
},
|
|
560
|
-
"attribute": "min-date"
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
"kind": "field",
|
|
564
|
-
"name": "maxDate",
|
|
565
|
-
"type": {
|
|
566
|
-
"text": "string"
|
|
567
|
-
},
|
|
568
|
-
"attribute": "max-date"
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
"kind": "field",
|
|
572
|
-
"name": "startDate",
|
|
573
|
-
"type": {
|
|
574
|
-
"text": "string"
|
|
575
|
-
},
|
|
576
|
-
"description": "The start date for the time series plot.",
|
|
577
|
-
"attribute": "start-date"
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
"kind": "field",
|
|
581
|
-
"name": "endDate",
|
|
582
|
-
"type": {
|
|
583
|
-
"text": "string"
|
|
584
|
-
},
|
|
585
|
-
"attribute": "end-date"
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
"kind": "field",
|
|
589
|
-
"name": "disabled",
|
|
726
|
+
"name": "size",
|
|
590
727
|
"type": {
|
|
591
|
-
"text": "
|
|
728
|
+
"text": "'small' | 'medium' | 'large'"
|
|
592
729
|
},
|
|
593
|
-
"default": "
|
|
594
|
-
"attribute": "
|
|
730
|
+
"default": "'medium'",
|
|
731
|
+
"attribute": "size",
|
|
595
732
|
"reflects": true
|
|
596
733
|
},
|
|
597
734
|
{
|
|
598
735
|
"kind": "field",
|
|
599
|
-
"name": "
|
|
600
|
-
"type": {
|
|
601
|
-
"text": "boolean"
|
|
602
|
-
},
|
|
603
|
-
"default": "true",
|
|
604
|
-
"attribute": "has-pips",
|
|
605
|
-
"reflects": true
|
|
606
|
-
},
|
|
607
|
-
{
|
|
608
|
-
"kind": "method",
|
|
609
|
-
"name": "updateSlider"
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
"kind": "method",
|
|
613
|
-
"name": "disabledChanged"
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
"kind": "method",
|
|
617
|
-
"name": "renderSlider"
|
|
618
|
-
},
|
|
619
|
-
{
|
|
620
|
-
"kind": "method",
|
|
621
|
-
"name": "renderEmptySlider"
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
"kind": "method",
|
|
625
|
-
"name": "_getStep",
|
|
736
|
+
"name": "#handleRemoveClick",
|
|
626
737
|
"privacy": "private"
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
"kind": "method",
|
|
630
|
-
"name": "_getSliderFormatter",
|
|
631
|
-
"privacy": "private",
|
|
632
|
-
"return": {
|
|
633
|
-
"type": {
|
|
634
|
-
"text": "Formatter"
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
},
|
|
638
|
-
{
|
|
639
|
-
"kind": "method",
|
|
640
|
-
"name": "_formatDate",
|
|
641
|
-
"privacy": "private",
|
|
642
|
-
"parameters": [
|
|
643
|
-
{
|
|
644
|
-
"name": "date",
|
|
645
|
-
"type": {
|
|
646
|
-
"text": "string | number | Date"
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
]
|
|
650
738
|
}
|
|
651
739
|
],
|
|
652
740
|
"attributes": [
|
|
653
741
|
{
|
|
654
|
-
"name": "
|
|
655
|
-
"type": {
|
|
656
|
-
"text": "TimeScale"
|
|
657
|
-
},
|
|
658
|
-
"default": "'daily'",
|
|
659
|
-
"fieldName": "timeScale"
|
|
660
|
-
},
|
|
661
|
-
{
|
|
662
|
-
"name": "min-date",
|
|
663
|
-
"type": {
|
|
664
|
-
"text": "string"
|
|
665
|
-
},
|
|
666
|
-
"fieldName": "minDate"
|
|
667
|
-
},
|
|
668
|
-
{
|
|
669
|
-
"name": "max-date",
|
|
670
|
-
"type": {
|
|
671
|
-
"text": "string"
|
|
672
|
-
},
|
|
673
|
-
"fieldName": "maxDate"
|
|
674
|
-
},
|
|
675
|
-
{
|
|
676
|
-
"name": "start-date",
|
|
677
|
-
"type": {
|
|
678
|
-
"text": "string"
|
|
679
|
-
},
|
|
680
|
-
"description": "The start date for the time series plot.",
|
|
681
|
-
"fieldName": "startDate"
|
|
682
|
-
},
|
|
683
|
-
{
|
|
684
|
-
"name": "end-date",
|
|
685
|
-
"type": {
|
|
686
|
-
"text": "string"
|
|
687
|
-
},
|
|
688
|
-
"fieldName": "endDate"
|
|
689
|
-
},
|
|
690
|
-
{
|
|
691
|
-
"name": "disabled",
|
|
692
|
-
"type": {
|
|
693
|
-
"text": "boolean"
|
|
694
|
-
},
|
|
695
|
-
"default": "false",
|
|
696
|
-
"fieldName": "disabled"
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
"name": "has-pips",
|
|
742
|
+
"name": "size",
|
|
700
743
|
"type": {
|
|
701
|
-
"text": "
|
|
744
|
+
"text": "'small' | 'medium' | 'large'"
|
|
702
745
|
},
|
|
703
|
-
"default": "
|
|
704
|
-
"fieldName": "
|
|
746
|
+
"default": "'medium'",
|
|
747
|
+
"fieldName": "size"
|
|
705
748
|
}
|
|
706
749
|
],
|
|
707
750
|
"superclass": {
|
|
708
751
|
"name": "TerraElement",
|
|
709
752
|
"module": "/src/internal/terra-element.js"
|
|
710
753
|
},
|
|
711
|
-
"summary": "
|
|
712
|
-
"tagNameWithoutPrefix": "
|
|
713
|
-
"tagName": "terra-
|
|
754
|
+
"summary": "Used for contacts and tags",
|
|
755
|
+
"tagNameWithoutPrefix": "chip",
|
|
756
|
+
"tagName": "terra-chip",
|
|
714
757
|
"customElement": true,
|
|
715
|
-
"jsDoc": "/**\n * @summary
|
|
716
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
717
|
-
"status": "
|
|
758
|
+
"jsDoc": "/**\n * @summary Used for contacts and tags\n * @documentation https://disc.gsfc.nasa.gov/components/chip\n * @status stable\n * @since 1.0\n *\n * @slot - The chip's label.\n */",
|
|
759
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/chip",
|
|
760
|
+
"status": "stable",
|
|
718
761
|
"since": "1.0"
|
|
719
762
|
}
|
|
720
763
|
],
|
|
@@ -723,25 +766,29 @@
|
|
|
723
766
|
"kind": "js",
|
|
724
767
|
"name": "default",
|
|
725
768
|
"declaration": {
|
|
726
|
-
"name": "
|
|
727
|
-
"module": "components/
|
|
769
|
+
"name": "TerraChip",
|
|
770
|
+
"module": "components/chip/chip.js"
|
|
728
771
|
}
|
|
729
772
|
}
|
|
730
773
|
]
|
|
731
774
|
},
|
|
732
775
|
{
|
|
733
776
|
"kind": "javascript-module",
|
|
734
|
-
"path": "components/
|
|
777
|
+
"path": "components/combobox/combobox.js",
|
|
735
778
|
"declarations": [
|
|
736
779
|
{
|
|
737
780
|
"kind": "class",
|
|
738
781
|
"description": "",
|
|
739
|
-
"name": "
|
|
782
|
+
"name": "TerraCombobox",
|
|
740
783
|
"cssProperties": [
|
|
741
784
|
{
|
|
742
785
|
"description": "The height of the host element.",
|
|
743
786
|
"name": "--host-height"
|
|
744
787
|
},
|
|
788
|
+
{
|
|
789
|
+
"description": "The height of the search help element.",
|
|
790
|
+
"name": "--help-height"
|
|
791
|
+
},
|
|
745
792
|
{
|
|
746
793
|
"description": "The height of the input's label element.",
|
|
747
794
|
"name": "--label-height"
|
|
@@ -768,21 +815,12 @@
|
|
|
768
815
|
"members": [
|
|
769
816
|
{
|
|
770
817
|
"kind": "field",
|
|
771
|
-
"name": "
|
|
818
|
+
"name": "shadowRootOptions",
|
|
772
819
|
"type": {
|
|
773
820
|
"text": "object"
|
|
774
821
|
},
|
|
775
822
|
"static": true,
|
|
776
|
-
"default": "{\n
|
|
777
|
-
},
|
|
778
|
-
{
|
|
779
|
-
"kind": "field",
|
|
780
|
-
"name": "shadowRootOptions",
|
|
781
|
-
"type": {
|
|
782
|
-
"text": "object"
|
|
783
|
-
},
|
|
784
|
-
"static": true,
|
|
785
|
-
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
823
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
786
824
|
},
|
|
787
825
|
{
|
|
788
826
|
"kind": "field",
|
|
@@ -791,7 +829,7 @@
|
|
|
791
829
|
"text": "string"
|
|
792
830
|
},
|
|
793
831
|
"static": true,
|
|
794
|
-
"default": "'terra-
|
|
832
|
+
"default": "'terra-combobox'"
|
|
795
833
|
},
|
|
796
834
|
{
|
|
797
835
|
"kind": "field",
|
|
@@ -811,12 +849,6 @@
|
|
|
811
849
|
},
|
|
812
850
|
"default": "null"
|
|
813
851
|
},
|
|
814
|
-
{
|
|
815
|
-
"kind": "field",
|
|
816
|
-
"name": "#fetchController",
|
|
817
|
-
"privacy": "private",
|
|
818
|
-
"default": "new FetchController(this)"
|
|
819
|
-
},
|
|
820
852
|
{
|
|
821
853
|
"kind": "field",
|
|
822
854
|
"name": "#listbox",
|
|
@@ -831,7 +863,7 @@
|
|
|
831
863
|
"name": "#searchEngine",
|
|
832
864
|
"privacy": "private",
|
|
833
865
|
"type": {
|
|
834
|
-
"text": "Fuse<ListItem> | null"
|
|
866
|
+
"text": "Fuse<GroupedListItem | ListItem> | null"
|
|
835
867
|
},
|
|
836
868
|
"default": "null"
|
|
837
869
|
},
|
|
@@ -850,10 +882,20 @@
|
|
|
850
882
|
"type": {
|
|
851
883
|
"text": "string"
|
|
852
884
|
},
|
|
853
|
-
"default": "'
|
|
885
|
+
"default": "'Search for Items'",
|
|
854
886
|
"description": "Label the combobox with this.",
|
|
855
887
|
"attribute": "label"
|
|
856
888
|
},
|
|
889
|
+
{
|
|
890
|
+
"kind": "field",
|
|
891
|
+
"name": "name",
|
|
892
|
+
"type": {
|
|
893
|
+
"text": "string"
|
|
894
|
+
},
|
|
895
|
+
"default": "'Item'",
|
|
896
|
+
"description": "name the combobox with this.",
|
|
897
|
+
"attribute": "name"
|
|
898
|
+
},
|
|
857
899
|
{
|
|
858
900
|
"kind": "field",
|
|
859
901
|
"name": "placeholder",
|
|
@@ -863,33 +905,45 @@
|
|
|
863
905
|
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
864
906
|
"attribute": "placeholder"
|
|
865
907
|
},
|
|
908
|
+
{
|
|
909
|
+
"kind": "field",
|
|
910
|
+
"name": "hideHelp",
|
|
911
|
+
"type": {
|
|
912
|
+
"text": "boolean"
|
|
913
|
+
},
|
|
914
|
+
"default": "false",
|
|
915
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
916
|
+
"attribute": "hide-help"
|
|
917
|
+
},
|
|
866
918
|
{
|
|
867
919
|
"kind": "field",
|
|
868
920
|
"name": "hideLabel",
|
|
869
921
|
"type": {
|
|
870
922
|
"text": "boolean"
|
|
871
923
|
},
|
|
872
|
-
"default": "
|
|
924
|
+
"default": "false",
|
|
873
925
|
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
874
926
|
"attribute": "hide-label"
|
|
875
927
|
},
|
|
876
928
|
{
|
|
877
929
|
"kind": "field",
|
|
878
|
-
"name": "
|
|
930
|
+
"name": "status",
|
|
879
931
|
"type": {
|
|
880
|
-
"text": "
|
|
932
|
+
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
881
933
|
},
|
|
882
|
-
"default": "
|
|
883
|
-
"description": "
|
|
884
|
-
"attribute": "
|
|
934
|
+
"default": "'INITIAL'",
|
|
935
|
+
"description": "status of the content",
|
|
936
|
+
"attribute": "status"
|
|
885
937
|
},
|
|
886
938
|
{
|
|
887
939
|
"kind": "field",
|
|
888
|
-
"name": "
|
|
940
|
+
"name": "content",
|
|
889
941
|
"type": {
|
|
890
|
-
"text": "
|
|
942
|
+
"text": "Content"
|
|
891
943
|
},
|
|
892
|
-
"
|
|
944
|
+
"default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
|
|
945
|
+
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
946
|
+
"attribute": "content"
|
|
893
947
|
},
|
|
894
948
|
{
|
|
895
949
|
"kind": "field",
|
|
@@ -907,94 +961,82 @@
|
|
|
907
961
|
"kind": "field",
|
|
908
962
|
"name": "searchResults",
|
|
909
963
|
"type": {
|
|
910
|
-
"text": "ListItem[]"
|
|
964
|
+
"text": "GroupedListItem[] | ListItem[]"
|
|
911
965
|
},
|
|
912
966
|
"default": "[]"
|
|
913
967
|
},
|
|
914
968
|
{
|
|
915
969
|
"kind": "method",
|
|
916
|
-
"name": "
|
|
970
|
+
"name": "contentChanged",
|
|
917
971
|
"parameters": [
|
|
918
972
|
{
|
|
919
973
|
"name": "_oldValue",
|
|
920
974
|
"type": {
|
|
921
|
-
"text": "
|
|
975
|
+
"text": "any"
|
|
922
976
|
}
|
|
923
977
|
},
|
|
924
978
|
{
|
|
925
979
|
"name": "newValue",
|
|
926
980
|
"type": {
|
|
927
|
-
"text": "
|
|
981
|
+
"text": "any"
|
|
928
982
|
}
|
|
929
983
|
}
|
|
930
984
|
]
|
|
931
985
|
},
|
|
932
986
|
{
|
|
933
|
-
"kind": "
|
|
934
|
-
"name": "
|
|
987
|
+
"kind": "field",
|
|
988
|
+
"name": "#renderListItem",
|
|
989
|
+
"privacy": "private"
|
|
935
990
|
},
|
|
936
991
|
{
|
|
937
|
-
"kind": "
|
|
938
|
-
"name": "
|
|
992
|
+
"kind": "field",
|
|
993
|
+
"name": "#renderGroupListItem",
|
|
994
|
+
"privacy": "private"
|
|
939
995
|
},
|
|
940
996
|
{
|
|
941
|
-
"kind": "
|
|
942
|
-
"name": "
|
|
997
|
+
"kind": "field",
|
|
998
|
+
"name": "#renderError",
|
|
999
|
+
"privacy": "private"
|
|
943
1000
|
},
|
|
944
1001
|
{
|
|
945
1002
|
"kind": "field",
|
|
946
|
-
"name": "#
|
|
1003
|
+
"name": "#renderLoading",
|
|
947
1004
|
"privacy": "private"
|
|
948
1005
|
},
|
|
949
1006
|
{
|
|
950
1007
|
"kind": "field",
|
|
951
|
-
"name": "#
|
|
1008
|
+
"name": "#dispatchChange",
|
|
952
1009
|
"privacy": "private"
|
|
953
1010
|
},
|
|
954
1011
|
{
|
|
955
1012
|
"kind": "field",
|
|
956
|
-
"name": "#
|
|
1013
|
+
"name": "#handleButtonClick",
|
|
957
1014
|
"privacy": "private"
|
|
958
1015
|
},
|
|
959
1016
|
{
|
|
960
1017
|
"kind": "field",
|
|
961
|
-
"name": "#
|
|
1018
|
+
"name": "#handleComboboxChange",
|
|
962
1019
|
"privacy": "private"
|
|
963
1020
|
},
|
|
964
1021
|
{
|
|
965
1022
|
"kind": "field",
|
|
966
|
-
"name": "#
|
|
1023
|
+
"name": "#handleOptionClick",
|
|
967
1024
|
"privacy": "private"
|
|
968
1025
|
},
|
|
969
1026
|
{
|
|
970
|
-
"kind": "
|
|
971
|
-
"name": "#
|
|
972
|
-
"
|
|
973
|
-
{
|
|
974
|
-
"name": "query",
|
|
975
|
-
"type": {
|
|
976
|
-
"text": "string"
|
|
977
|
-
}
|
|
978
|
-
}
|
|
979
|
-
]
|
|
1027
|
+
"kind": "field",
|
|
1028
|
+
"name": "#handleKeydown",
|
|
1029
|
+
"privacy": "private"
|
|
980
1030
|
},
|
|
981
1031
|
{
|
|
982
|
-
"kind": "
|
|
983
|
-
"name": "#
|
|
984
|
-
|
|
985
|
-
],
|
|
986
|
-
"events": [
|
|
987
|
-
{
|
|
988
|
-
"description": "Emitted when an option is selected.",
|
|
989
|
-
"name": "terra-giovanni-search-change",
|
|
990
|
-
"reactName": "onTerraGiovanniSearchChange",
|
|
991
|
-
"eventName": "TerraGiovanniSearchChangeEvent"
|
|
1032
|
+
"kind": "field",
|
|
1033
|
+
"name": "#manageListboxVisibility",
|
|
1034
|
+
"privacy": "private"
|
|
992
1035
|
},
|
|
993
1036
|
{
|
|
994
|
-
"
|
|
995
|
-
"name": "
|
|
996
|
-
"
|
|
997
|
-
"eventName": "TerraSearchEvent"
|
|
1037
|
+
"kind": "field",
|
|
1038
|
+
"name": "#selectOption",
|
|
1039
|
+
"privacy": "private"
|
|
998
1040
|
}
|
|
999
1041
|
],
|
|
1000
1042
|
"attributes": [
|
|
@@ -1003,10 +1045,19 @@
|
|
|
1003
1045
|
"type": {
|
|
1004
1046
|
"text": "string"
|
|
1005
1047
|
},
|
|
1006
|
-
"default": "'
|
|
1048
|
+
"default": "'Search for Items'",
|
|
1007
1049
|
"description": "Label the combobox with this.",
|
|
1008
1050
|
"fieldName": "label"
|
|
1009
1051
|
},
|
|
1052
|
+
{
|
|
1053
|
+
"name": "name",
|
|
1054
|
+
"type": {
|
|
1055
|
+
"text": "string"
|
|
1056
|
+
},
|
|
1057
|
+
"default": "'Item'",
|
|
1058
|
+
"description": "name the combobox with this.",
|
|
1059
|
+
"fieldName": "name"
|
|
1060
|
+
},
|
|
1010
1061
|
{
|
|
1011
1062
|
"name": "placeholder",
|
|
1012
1063
|
"type": {
|
|
@@ -1015,43 +1066,54 @@
|
|
|
1015
1066
|
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1016
1067
|
"fieldName": "placeholder"
|
|
1017
1068
|
},
|
|
1069
|
+
{
|
|
1070
|
+
"name": "hide-help",
|
|
1071
|
+
"type": {
|
|
1072
|
+
"text": "boolean"
|
|
1073
|
+
},
|
|
1074
|
+
"default": "false",
|
|
1075
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
1076
|
+
"fieldName": "hideHelp"
|
|
1077
|
+
},
|
|
1018
1078
|
{
|
|
1019
1079
|
"name": "hide-label",
|
|
1020
1080
|
"type": {
|
|
1021
1081
|
"text": "boolean"
|
|
1022
1082
|
},
|
|
1023
|
-
"default": "
|
|
1083
|
+
"default": "false",
|
|
1024
1084
|
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1025
1085
|
"fieldName": "hideLabel"
|
|
1026
1086
|
},
|
|
1027
1087
|
{
|
|
1028
|
-
"name": "
|
|
1088
|
+
"name": "status",
|
|
1029
1089
|
"type": {
|
|
1030
|
-
"text": "
|
|
1090
|
+
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
1031
1091
|
},
|
|
1032
|
-
"default": "
|
|
1033
|
-
"description": "
|
|
1034
|
-
"fieldName": "
|
|
1092
|
+
"default": "'INITIAL'",
|
|
1093
|
+
"description": "status of the content",
|
|
1094
|
+
"fieldName": "status"
|
|
1035
1095
|
},
|
|
1036
1096
|
{
|
|
1037
|
-
"name": "
|
|
1097
|
+
"name": "content",
|
|
1038
1098
|
"type": {
|
|
1039
|
-
"text": "
|
|
1099
|
+
"text": "Content"
|
|
1040
1100
|
},
|
|
1041
|
-
"
|
|
1101
|
+
"default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
|
|
1102
|
+
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
1103
|
+
"fieldName": "content"
|
|
1042
1104
|
}
|
|
1043
1105
|
],
|
|
1044
1106
|
"superclass": {
|
|
1045
1107
|
"name": "TerraElement",
|
|
1046
1108
|
"module": "/src/internal/terra-element.js"
|
|
1047
1109
|
},
|
|
1048
|
-
"summary": "Fuzzy-search for
|
|
1049
|
-
"tagNameWithoutPrefix": "
|
|
1050
|
-
"tagName": "terra-
|
|
1110
|
+
"summary": "Fuzzy-search for combobox with list autocomplete.",
|
|
1111
|
+
"tagNameWithoutPrefix": "combobox",
|
|
1112
|
+
"tagName": "terra-combobox",
|
|
1051
1113
|
"customElement": true,
|
|
1052
|
-
"jsDoc": "/**\n * @summary Fuzzy-search for
|
|
1053
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
1054
|
-
"status": "
|
|
1114
|
+
"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 */",
|
|
1115
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/combobox",
|
|
1116
|
+
"status": "experimental",
|
|
1055
1117
|
"since": "1.0"
|
|
1056
1118
|
}
|
|
1057
1119
|
],
|
|
@@ -1060,352 +1122,258 @@
|
|
|
1060
1122
|
"kind": "js",
|
|
1061
1123
|
"name": "default",
|
|
1062
1124
|
"declaration": {
|
|
1063
|
-
"name": "
|
|
1064
|
-
"module": "components/
|
|
1125
|
+
"name": "TerraCombobox",
|
|
1126
|
+
"module": "components/combobox/combobox.js"
|
|
1065
1127
|
}
|
|
1066
1128
|
}
|
|
1067
1129
|
]
|
|
1068
1130
|
},
|
|
1069
1131
|
{
|
|
1070
1132
|
"kind": "javascript-module",
|
|
1071
|
-
"path": "components/
|
|
1133
|
+
"path": "components/browse-variables/browse-variables.js",
|
|
1072
1134
|
"declarations": [
|
|
1073
1135
|
{
|
|
1074
1136
|
"kind": "class",
|
|
1075
1137
|
"description": "",
|
|
1076
|
-
"name": "
|
|
1077
|
-
"cssParts": [
|
|
1078
|
-
{
|
|
1079
|
-
"description": "The internal SVG element.",
|
|
1080
|
-
"name": "svg"
|
|
1081
|
-
}
|
|
1082
|
-
],
|
|
1138
|
+
"name": "TerraBrowseVariables",
|
|
1083
1139
|
"members": [
|
|
1084
1140
|
{
|
|
1085
1141
|
"kind": "field",
|
|
1086
|
-
"name": "
|
|
1087
|
-
"privacy": "private",
|
|
1142
|
+
"name": "dependencies",
|
|
1088
1143
|
"type": {
|
|
1089
|
-
"text": "
|
|
1144
|
+
"text": "object"
|
|
1090
1145
|
},
|
|
1091
|
-
"
|
|
1146
|
+
"static": true,
|
|
1147
|
+
"default": "{\n 'terra-giovanni-search': TerraGiovanniSearch,\n 'terra-button': TerraButton,\n 'terra-skeleton': TerraSkeleton,\n 'terra-icon': TerraIcon,\n 'terra-loader': TerraLoader,\n }"
|
|
1092
1148
|
},
|
|
1093
1149
|
{
|
|
1094
1150
|
"kind": "field",
|
|
1095
|
-
"name": "
|
|
1151
|
+
"name": "catalog",
|
|
1096
1152
|
"type": {
|
|
1097
|
-
"text": "
|
|
1153
|
+
"text": "'giovanni'"
|
|
1098
1154
|
},
|
|
1099
|
-
"default": "
|
|
1155
|
+
"default": "'giovanni'",
|
|
1156
|
+
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
1157
|
+
"attribute": "catalog"
|
|
1100
1158
|
},
|
|
1101
1159
|
{
|
|
1102
1160
|
"kind": "field",
|
|
1103
|
-
"name": "
|
|
1161
|
+
"name": "searchQuery",
|
|
1104
1162
|
"type": {
|
|
1105
|
-
"text": "string
|
|
1106
|
-
}
|
|
1107
|
-
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
1108
|
-
"attribute": "name",
|
|
1109
|
-
"reflects": true
|
|
1163
|
+
"text": "string"
|
|
1164
|
+
}
|
|
1110
1165
|
},
|
|
1111
1166
|
{
|
|
1112
1167
|
"kind": "field",
|
|
1113
|
-
"name": "
|
|
1168
|
+
"name": "selectedFacets",
|
|
1114
1169
|
"type": {
|
|
1115
|
-
"text": "
|
|
1170
|
+
"text": "SelectedFacets"
|
|
1116
1171
|
},
|
|
1117
|
-
"
|
|
1118
|
-
"attribute": "src"
|
|
1172
|
+
"default": "{}"
|
|
1119
1173
|
},
|
|
1120
1174
|
{
|
|
1121
1175
|
"kind": "field",
|
|
1122
|
-
"name": "
|
|
1176
|
+
"name": "selectedVariables",
|
|
1123
1177
|
"type": {
|
|
1124
|
-
"text": "
|
|
1178
|
+
"text": "Variable[]"
|
|
1125
1179
|
},
|
|
1126
|
-
"default": "
|
|
1127
|
-
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
1128
|
-
"attribute": "label"
|
|
1180
|
+
"default": "[]"
|
|
1129
1181
|
},
|
|
1130
1182
|
{
|
|
1131
1183
|
"kind": "field",
|
|
1132
|
-
"name": "
|
|
1184
|
+
"name": "showVariablesBrowse",
|
|
1133
1185
|
"type": {
|
|
1134
|
-
"text": "
|
|
1186
|
+
"text": "boolean"
|
|
1135
1187
|
},
|
|
1136
|
-
"default": "
|
|
1137
|
-
"description": "The name of a registered custom icon library.",
|
|
1138
|
-
"attribute": "library",
|
|
1139
|
-
"reflects": true
|
|
1188
|
+
"default": "false"
|
|
1140
1189
|
},
|
|
1141
1190
|
{
|
|
1142
1191
|
"kind": "field",
|
|
1143
|
-
"name": "
|
|
1144
|
-
"
|
|
1145
|
-
|
|
1146
|
-
},
|
|
1147
|
-
"default": "null",
|
|
1148
|
-
"description": "The CSS color to assign to the SVG.",
|
|
1149
|
-
"attribute": "color"
|
|
1192
|
+
"name": "#controller",
|
|
1193
|
+
"privacy": "private",
|
|
1194
|
+
"default": "new BrowseVariablesController(this)"
|
|
1150
1195
|
},
|
|
1151
1196
|
{
|
|
1152
|
-
"kind": "
|
|
1153
|
-
"name": "
|
|
1154
|
-
"type": {
|
|
1155
|
-
"text": "string | null"
|
|
1156
|
-
},
|
|
1157
|
-
"default": "null",
|
|
1158
|
-
"description": "The CSS font-size to assign to the SVG.",
|
|
1159
|
-
"attribute": "font-size"
|
|
1197
|
+
"kind": "method",
|
|
1198
|
+
"name": "handleSelectedVariablesChange"
|
|
1160
1199
|
},
|
|
1161
1200
|
{
|
|
1162
1201
|
"kind": "method",
|
|
1163
|
-
"name": "
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1202
|
+
"name": "reset"
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
"kind": "method",
|
|
1206
|
+
"name": "handleObservationChange"
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"kind": "method",
|
|
1210
|
+
"name": "toggleFacetSelect",
|
|
1169
1211
|
"parameters": [
|
|
1170
1212
|
{
|
|
1171
|
-
"name": "
|
|
1213
|
+
"name": "event",
|
|
1172
1214
|
"type": {
|
|
1173
|
-
"text": "
|
|
1215
|
+
"text": "Event"
|
|
1174
1216
|
}
|
|
1175
1217
|
}
|
|
1176
|
-
]
|
|
1177
|
-
"description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
|
|
1218
|
+
]
|
|
1178
1219
|
},
|
|
1179
1220
|
{
|
|
1180
1221
|
"kind": "method",
|
|
1181
|
-
"name": "
|
|
1182
|
-
"
|
|
1183
|
-
|
|
1184
|
-
"
|
|
1222
|
+
"name": "handleSearch",
|
|
1223
|
+
"parameters": [
|
|
1224
|
+
{
|
|
1225
|
+
"name": "e",
|
|
1226
|
+
"type": {
|
|
1227
|
+
"text": "TerraGiovanniSearchChangeEvent"
|
|
1228
|
+
}
|
|
1185
1229
|
}
|
|
1186
|
-
|
|
1230
|
+
]
|
|
1187
1231
|
},
|
|
1188
1232
|
{
|
|
1189
1233
|
"kind": "method",
|
|
1190
|
-
"name": "#
|
|
1191
|
-
"
|
|
1234
|
+
"name": "#selectFacetField",
|
|
1235
|
+
"parameters": [
|
|
1236
|
+
{
|
|
1237
|
+
"name": "facet",
|
|
1238
|
+
"type": {
|
|
1239
|
+
"text": "string"
|
|
1240
|
+
}
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
"name": "field",
|
|
1244
|
+
"type": {
|
|
1245
|
+
"text": "string"
|
|
1246
|
+
}
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
"name": "selectOneFieldAtATime",
|
|
1250
|
+
"default": "false",
|
|
1251
|
+
"type": {
|
|
1252
|
+
"text": "boolean"
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
],
|
|
1256
|
+
"description": "given a field, ex: \"observations\": \"Model\", will add the field to any existing selected facets\nif \"selectedOneFieldAtATime\" is true, then we will only select that one field"
|
|
1192
1257
|
},
|
|
1193
1258
|
{
|
|
1194
1259
|
"kind": "method",
|
|
1195
|
-
"name": "
|
|
1260
|
+
"name": "#clearFacet",
|
|
1261
|
+
"parameters": [
|
|
1262
|
+
{
|
|
1263
|
+
"name": "facet",
|
|
1264
|
+
"type": {
|
|
1265
|
+
"text": "string"
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
]
|
|
1196
1269
|
},
|
|
1197
1270
|
{
|
|
1198
1271
|
"kind": "method",
|
|
1199
|
-
"name": "
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
}
|
|
1215
|
-
],
|
|
1216
|
-
"attributes": [
|
|
1217
|
-
{
|
|
1218
|
-
"name": "name",
|
|
1219
|
-
"type": {
|
|
1220
|
-
"text": "string | undefined"
|
|
1221
|
-
},
|
|
1222
|
-
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
1223
|
-
"fieldName": "name"
|
|
1224
|
-
},
|
|
1225
|
-
{
|
|
1226
|
-
"name": "src",
|
|
1227
|
-
"type": {
|
|
1228
|
-
"text": "string | undefined"
|
|
1229
|
-
},
|
|
1230
|
-
"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.",
|
|
1231
|
-
"fieldName": "src"
|
|
1232
|
-
},
|
|
1233
|
-
{
|
|
1234
|
-
"name": "label",
|
|
1235
|
-
"type": {
|
|
1236
|
-
"text": "string"
|
|
1237
|
-
},
|
|
1238
|
-
"default": "''",
|
|
1239
|
-
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
1240
|
-
"fieldName": "label"
|
|
1241
|
-
},
|
|
1242
|
-
{
|
|
1243
|
-
"name": "library",
|
|
1244
|
-
"type": {
|
|
1245
|
-
"text": "'default' | 'heroicons' | string"
|
|
1246
|
-
},
|
|
1247
|
-
"default": "'default'",
|
|
1248
|
-
"description": "The name of a registered custom icon library.",
|
|
1249
|
-
"fieldName": "library"
|
|
1250
|
-
},
|
|
1251
|
-
{
|
|
1252
|
-
"name": "color",
|
|
1253
|
-
"type": {
|
|
1254
|
-
"text": "string | null"
|
|
1255
|
-
},
|
|
1256
|
-
"default": "null",
|
|
1257
|
-
"description": "The CSS color to assign to the SVG.",
|
|
1258
|
-
"fieldName": "color"
|
|
1259
|
-
},
|
|
1260
|
-
{
|
|
1261
|
-
"name": "font-size",
|
|
1262
|
-
"type": {
|
|
1263
|
-
"text": "string | null"
|
|
1264
|
-
},
|
|
1265
|
-
"default": "null",
|
|
1266
|
-
"description": "The CSS font-size to assign to the SVG.",
|
|
1267
|
-
"fieldName": "fontSize"
|
|
1268
|
-
}
|
|
1269
|
-
],
|
|
1270
|
-
"superclass": {
|
|
1271
|
-
"name": "TerraElement",
|
|
1272
|
-
"module": "/src/internal/terra-element.js"
|
|
1273
|
-
},
|
|
1274
|
-
"summary": "Icons are symbols that can be used to represent various options within an application.",
|
|
1275
|
-
"tagNameWithoutPrefix": "icon",
|
|
1276
|
-
"tagName": "terra-icon",
|
|
1277
|
-
"customElement": true,
|
|
1278
|
-
"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 */",
|
|
1279
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/icon",
|
|
1280
|
-
"status": "experimental",
|
|
1281
|
-
"since": "1.0"
|
|
1282
|
-
}
|
|
1283
|
-
],
|
|
1284
|
-
"exports": [
|
|
1285
|
-
{
|
|
1286
|
-
"kind": "js",
|
|
1287
|
-
"name": "default",
|
|
1288
|
-
"declaration": {
|
|
1289
|
-
"name": "TerraIcon",
|
|
1290
|
-
"module": "components/icon/icon.js"
|
|
1291
|
-
}
|
|
1292
|
-
}
|
|
1293
|
-
]
|
|
1294
|
-
},
|
|
1295
|
-
{
|
|
1296
|
-
"kind": "javascript-module",
|
|
1297
|
-
"path": "components/loader/loader.js",
|
|
1298
|
-
"declarations": [
|
|
1299
|
-
{
|
|
1300
|
-
"kind": "class",
|
|
1301
|
-
"description": "",
|
|
1302
|
-
"name": "TerraLoader",
|
|
1303
|
-
"cssProperties": [
|
|
1304
|
-
{
|
|
1305
|
-
"description": "An example CSS custom property.",
|
|
1306
|
-
"name": "--example"
|
|
1307
|
-
}
|
|
1308
|
-
],
|
|
1309
|
-
"cssParts": [
|
|
1310
|
-
{
|
|
1311
|
-
"description": "The component's base wrapper.",
|
|
1312
|
-
"name": "base"
|
|
1313
|
-
}
|
|
1314
|
-
],
|
|
1315
|
-
"members": [
|
|
1316
|
-
{
|
|
1317
|
-
"kind": "field",
|
|
1318
|
-
"name": "variant",
|
|
1319
|
-
"type": {
|
|
1320
|
-
"text": "'small' | 'large' | 'orbit'"
|
|
1321
|
-
},
|
|
1322
|
-
"default": "'large'",
|
|
1323
|
-
"description": "The loader's variant",
|
|
1324
|
-
"attribute": "variant",
|
|
1325
|
-
"reflects": true
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
"kind": "field",
|
|
1329
|
-
"name": "percent",
|
|
1330
|
-
"type": {
|
|
1331
|
-
"text": "string"
|
|
1332
|
-
},
|
|
1333
|
-
"default": "'0'",
|
|
1334
|
-
"description": "The percent complete for the loader to display",
|
|
1335
|
-
"attribute": "percent"
|
|
1272
|
+
"name": "#unselectFacetField",
|
|
1273
|
+
"parameters": [
|
|
1274
|
+
{
|
|
1275
|
+
"name": "facet",
|
|
1276
|
+
"type": {
|
|
1277
|
+
"text": "string"
|
|
1278
|
+
}
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"name": "field",
|
|
1282
|
+
"type": {
|
|
1283
|
+
"text": "string"
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
]
|
|
1336
1287
|
},
|
|
1337
1288
|
{
|
|
1338
|
-
"kind": "
|
|
1339
|
-
"name": "
|
|
1340
|
-
"
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1289
|
+
"kind": "method",
|
|
1290
|
+
"name": "#handleVariableSelection",
|
|
1291
|
+
"parameters": [
|
|
1292
|
+
{
|
|
1293
|
+
"name": "variable",
|
|
1294
|
+
"type": {
|
|
1295
|
+
"text": "Variable"
|
|
1296
|
+
}
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
"name": "checked",
|
|
1300
|
+
"type": {
|
|
1301
|
+
"text": "Boolean"
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
]
|
|
1346
1305
|
},
|
|
1347
1306
|
{
|
|
1348
|
-
"kind": "
|
|
1349
|
-
"name": "
|
|
1350
|
-
"type": {
|
|
1351
|
-
"text": "number"
|
|
1352
|
-
},
|
|
1353
|
-
"default": "0"
|
|
1307
|
+
"kind": "method",
|
|
1308
|
+
"name": "#renderCategorySelect"
|
|
1354
1309
|
},
|
|
1355
1310
|
{
|
|
1356
1311
|
"kind": "method",
|
|
1357
|
-
"name": "
|
|
1312
|
+
"name": "#renderFacet",
|
|
1358
1313
|
"parameters": [
|
|
1359
1314
|
{
|
|
1360
|
-
"name": "
|
|
1315
|
+
"name": "facetKey",
|
|
1316
|
+
"type": {
|
|
1317
|
+
"text": "string"
|
|
1318
|
+
}
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"name": "title",
|
|
1361
1322
|
"type": {
|
|
1362
1323
|
"text": "string"
|
|
1363
1324
|
}
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"name": "fields",
|
|
1328
|
+
"optional": true,
|
|
1329
|
+
"type": {
|
|
1330
|
+
"text": "FacetField[]"
|
|
1331
|
+
}
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
"name": "open",
|
|
1335
|
+
"optional": true,
|
|
1336
|
+
"type": {
|
|
1337
|
+
"text": "boolean"
|
|
1338
|
+
}
|
|
1364
1339
|
}
|
|
1365
1340
|
]
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
"kind": "method",
|
|
1344
|
+
"name": "#renderVariablesBrowse"
|
|
1366
1345
|
}
|
|
1367
1346
|
],
|
|
1368
1347
|
"attributes": [
|
|
1369
1348
|
{
|
|
1370
|
-
"name": "
|
|
1371
|
-
"type": {
|
|
1372
|
-
"text": "'small' | 'large' | 'orbit'"
|
|
1373
|
-
},
|
|
1374
|
-
"default": "'large'",
|
|
1375
|
-
"description": "The loader's variant",
|
|
1376
|
-
"fieldName": "variant"
|
|
1377
|
-
},
|
|
1378
|
-
{
|
|
1379
|
-
"name": "percent",
|
|
1380
|
-
"type": {
|
|
1381
|
-
"text": "string"
|
|
1382
|
-
},
|
|
1383
|
-
"default": "'0'",
|
|
1384
|
-
"description": "The percent complete for the loader to display",
|
|
1385
|
-
"fieldName": "percent"
|
|
1386
|
-
},
|
|
1387
|
-
{
|
|
1388
|
-
"name": "indeterminate",
|
|
1349
|
+
"name": "catalog",
|
|
1389
1350
|
"type": {
|
|
1390
|
-
"text": "
|
|
1351
|
+
"text": "'giovanni'"
|
|
1391
1352
|
},
|
|
1392
|
-
"default": "
|
|
1393
|
-
"description": "
|
|
1394
|
-
"fieldName": "
|
|
1353
|
+
"default": "'giovanni'",
|
|
1354
|
+
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
1355
|
+
"fieldName": "catalog"
|
|
1395
1356
|
}
|
|
1396
1357
|
],
|
|
1397
1358
|
"superclass": {
|
|
1398
1359
|
"name": "TerraElement",
|
|
1399
1360
|
"module": "/src/internal/terra-element.js"
|
|
1400
1361
|
},
|
|
1401
|
-
"summary": "
|
|
1402
|
-
"tagNameWithoutPrefix": "
|
|
1403
|
-
"tagName": "terra-
|
|
1362
|
+
"summary": "Browse through the NASA CMR or Giovanni catalogs.",
|
|
1363
|
+
"tagNameWithoutPrefix": "browse-variables",
|
|
1364
|
+
"tagName": "terra-browse-variables",
|
|
1404
1365
|
"customElement": true,
|
|
1405
|
-
"jsDoc": "/**\n * @summary
|
|
1406
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
1407
|
-
"status": "
|
|
1408
|
-
"since": "1.0"
|
|
1366
|
+
"jsDoc": "/**\n * @summary Browse through the NASA CMR or Giovanni catalogs.\n * @documentation https://disc.gsfc.nasa.gov/components/browse-variables\n * @status MVP\n * @since 1.0\n *\n * @emits terra-variables-change - emitted when the user selects or unselects variables\n *\n * @dependency terra-giovanni-search\n * @dependency terra-button\n * @dependency terra-skeleton\n * @dependency terra-icon\n * @dependency terra-loader\n */",
|
|
1367
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/browse-variables",
|
|
1368
|
+
"status": "MVP",
|
|
1369
|
+
"since": "1.0",
|
|
1370
|
+
"dependencies": [
|
|
1371
|
+
"terra-giovanni-search",
|
|
1372
|
+
"terra-button",
|
|
1373
|
+
"terra-skeleton",
|
|
1374
|
+
"terra-icon",
|
|
1375
|
+
"terra-loader"
|
|
1376
|
+
]
|
|
1409
1377
|
}
|
|
1410
1378
|
],
|
|
1411
1379
|
"exports": [
|
|
@@ -1413,469 +1381,255 @@
|
|
|
1413
1381
|
"kind": "js",
|
|
1414
1382
|
"name": "default",
|
|
1415
1383
|
"declaration": {
|
|
1416
|
-
"name": "
|
|
1417
|
-
"module": "components/
|
|
1384
|
+
"name": "TerraBrowseVariables",
|
|
1385
|
+
"module": "components/browse-variables/browse-variables.js"
|
|
1418
1386
|
}
|
|
1419
1387
|
}
|
|
1420
1388
|
]
|
|
1421
1389
|
},
|
|
1422
1390
|
{
|
|
1423
1391
|
"kind": "javascript-module",
|
|
1424
|
-
"path": "components/
|
|
1392
|
+
"path": "components/giovanni-search/giovanni-search.js",
|
|
1425
1393
|
"declarations": [
|
|
1426
1394
|
{
|
|
1427
1395
|
"kind": "class",
|
|
1428
1396
|
"description": "",
|
|
1429
|
-
"name": "
|
|
1430
|
-
"
|
|
1431
|
-
{
|
|
1432
|
-
"description": "The component's base wrapper.",
|
|
1433
|
-
"name": "base"
|
|
1434
|
-
},
|
|
1435
|
-
{
|
|
1436
|
-
"description": "The container that wraps the prefix.",
|
|
1437
|
-
"name": "prefix"
|
|
1438
|
-
},
|
|
1439
|
-
{
|
|
1440
|
-
"description": "The button's label.",
|
|
1441
|
-
"name": "label"
|
|
1442
|
-
},
|
|
1443
|
-
{
|
|
1444
|
-
"description": "The container that wraps the suffix.",
|
|
1445
|
-
"name": "suffix"
|
|
1446
|
-
},
|
|
1447
|
-
{
|
|
1448
|
-
"description": "The button's caret icon, an `<sl-icon>` element.",
|
|
1449
|
-
"name": "caret"
|
|
1450
|
-
},
|
|
1451
|
-
{
|
|
1452
|
-
"description": "The spinner that shows when the button is in the loading state.",
|
|
1453
|
-
"name": "spinner"
|
|
1454
|
-
}
|
|
1455
|
-
],
|
|
1456
|
-
"slots": [
|
|
1457
|
-
{
|
|
1458
|
-
"description": "The button's label.",
|
|
1459
|
-
"name": ""
|
|
1460
|
-
},
|
|
1461
|
-
{
|
|
1462
|
-
"description": "A presentational prefix icon or similar element.",
|
|
1463
|
-
"name": "prefix"
|
|
1464
|
-
},
|
|
1465
|
-
{
|
|
1466
|
-
"description": "A presentational suffix icon or similar element.",
|
|
1467
|
-
"name": "suffix"
|
|
1468
|
-
}
|
|
1469
|
-
],
|
|
1470
|
-
"members": [
|
|
1471
|
-
{
|
|
1472
|
-
"kind": "field",
|
|
1473
|
-
"name": "formControlController",
|
|
1474
|
-
"privacy": "private",
|
|
1475
|
-
"readonly": true,
|
|
1476
|
-
"default": "new FormControlController(this, {\n assumeInteractionOn: ['click'],\n })"
|
|
1477
|
-
},
|
|
1478
|
-
{
|
|
1479
|
-
"kind": "field",
|
|
1480
|
-
"name": "hasSlotController",
|
|
1481
|
-
"privacy": "private",
|
|
1482
|
-
"readonly": true,
|
|
1483
|
-
"default": "new HasSlotController(\n this,\n '[default]',\n 'prefix',\n 'suffix'\n )"
|
|
1484
|
-
},
|
|
1485
|
-
{
|
|
1486
|
-
"kind": "field",
|
|
1487
|
-
"name": "button",
|
|
1488
|
-
"type": {
|
|
1489
|
-
"text": "HTMLButtonElement | HTMLLinkElement"
|
|
1490
|
-
}
|
|
1491
|
-
},
|
|
1492
|
-
{
|
|
1493
|
-
"kind": "field",
|
|
1494
|
-
"name": "hasFocus",
|
|
1495
|
-
"type": {
|
|
1496
|
-
"text": "boolean"
|
|
1497
|
-
},
|
|
1498
|
-
"privacy": "private",
|
|
1499
|
-
"default": "false"
|
|
1500
|
-
},
|
|
1501
|
-
{
|
|
1502
|
-
"kind": "field",
|
|
1503
|
-
"name": "invalid",
|
|
1504
|
-
"type": {
|
|
1505
|
-
"text": "boolean"
|
|
1506
|
-
},
|
|
1507
|
-
"default": "false"
|
|
1508
|
-
},
|
|
1509
|
-
{
|
|
1510
|
-
"kind": "field",
|
|
1511
|
-
"name": "title",
|
|
1512
|
-
"type": {
|
|
1513
|
-
"text": "string"
|
|
1514
|
-
},
|
|
1515
|
-
"default": "''",
|
|
1516
|
-
"attribute": "title"
|
|
1517
|
-
},
|
|
1518
|
-
{
|
|
1519
|
-
"kind": "field",
|
|
1520
|
-
"name": "variant",
|
|
1521
|
-
"type": {
|
|
1522
|
-
"text": "| 'default'\n | 'primary'\n | 'success'\n | 'warning'\n | 'danger'\n | 'text'\n | 'pagelink'"
|
|
1523
|
-
},
|
|
1524
|
-
"default": "'primary'",
|
|
1525
|
-
"description": "The button's theme variant.",
|
|
1526
|
-
"attribute": "variant",
|
|
1527
|
-
"reflects": true
|
|
1528
|
-
},
|
|
1529
|
-
{
|
|
1530
|
-
"kind": "field",
|
|
1531
|
-
"name": "size",
|
|
1532
|
-
"type": {
|
|
1533
|
-
"text": "'small' | 'medium' | 'large'"
|
|
1534
|
-
},
|
|
1535
|
-
"default": "'medium'",
|
|
1536
|
-
"description": "The button's size.",
|
|
1537
|
-
"attribute": "size",
|
|
1538
|
-
"reflects": true
|
|
1539
|
-
},
|
|
1540
|
-
{
|
|
1541
|
-
"kind": "field",
|
|
1542
|
-
"name": "caret",
|
|
1543
|
-
"type": {
|
|
1544
|
-
"text": "boolean"
|
|
1545
|
-
},
|
|
1546
|
-
"default": "false",
|
|
1547
|
-
"description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
|
|
1548
|
-
"attribute": "caret",
|
|
1549
|
-
"reflects": true
|
|
1550
|
-
},
|
|
1397
|
+
"name": "TerraGiovanniSearch",
|
|
1398
|
+
"cssProperties": [
|
|
1551
1399
|
{
|
|
1552
|
-
"
|
|
1553
|
-
"name": "
|
|
1554
|
-
"type": {
|
|
1555
|
-
"text": "'square' | 'square-left' | 'square-right'"
|
|
1556
|
-
},
|
|
1557
|
-
"description": "The button's shape. Used to control the radius edge shape when button is not in a terra-button-group.",
|
|
1558
|
-
"attribute": "shape",
|
|
1559
|
-
"reflects": true
|
|
1400
|
+
"description": "The height of the host element.",
|
|
1401
|
+
"name": "--host-height"
|
|
1560
1402
|
},
|
|
1561
1403
|
{
|
|
1562
|
-
"
|
|
1563
|
-
"name": "
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
"default": "false",
|
|
1568
|
-
"description": "Disables the button.",
|
|
1569
|
-
"attribute": "disabled",
|
|
1570
|
-
"reflects": true
|
|
1571
|
-
},
|
|
1404
|
+
"description": "The height of the input's label element.",
|
|
1405
|
+
"name": "--label-height"
|
|
1406
|
+
}
|
|
1407
|
+
],
|
|
1408
|
+
"cssParts": [
|
|
1572
1409
|
{
|
|
1573
|
-
"
|
|
1574
|
-
"name": "
|
|
1575
|
-
"type": {
|
|
1576
|
-
"text": "boolean"
|
|
1577
|
-
},
|
|
1578
|
-
"default": "false",
|
|
1579
|
-
"description": "Draws the button in a loading state.",
|
|
1580
|
-
"attribute": "loading",
|
|
1581
|
-
"reflects": true
|
|
1410
|
+
"description": "A `search` element, the component's base.",
|
|
1411
|
+
"name": "base"
|
|
1582
1412
|
},
|
|
1583
1413
|
{
|
|
1584
|
-
"
|
|
1585
|
-
"name": "
|
|
1586
|
-
"type": {
|
|
1587
|
-
"text": "boolean"
|
|
1588
|
-
},
|
|
1589
|
-
"default": "false",
|
|
1590
|
-
"description": "Draws an outlined button.",
|
|
1591
|
-
"attribute": "outline",
|
|
1592
|
-
"reflects": true
|
|
1414
|
+
"description": "An `input` element used for searching.",
|
|
1415
|
+
"name": "combobox"
|
|
1593
1416
|
},
|
|
1594
1417
|
{
|
|
1595
|
-
"
|
|
1596
|
-
"name": "
|
|
1597
|
-
"type": {
|
|
1598
|
-
"text": "boolean"
|
|
1599
|
-
},
|
|
1600
|
-
"default": "false",
|
|
1601
|
-
"description": "Draws a circular icon button. When this attribute is present, the button expects a single `<terra-icon>` in the\ndefault slot.",
|
|
1602
|
-
"attribute": "circle",
|
|
1603
|
-
"reflects": true
|
|
1418
|
+
"description": "A `button` used for toggling the listbox's visibility.",
|
|
1419
|
+
"name": "button"
|
|
1604
1420
|
},
|
|
1421
|
+
{
|
|
1422
|
+
"description": "A `ul` that holds the clickable options.",
|
|
1423
|
+
"name": "listbox"
|
|
1424
|
+
}
|
|
1425
|
+
],
|
|
1426
|
+
"members": [
|
|
1605
1427
|
{
|
|
1606
1428
|
"kind": "field",
|
|
1607
|
-
"name": "
|
|
1429
|
+
"name": "dependencies",
|
|
1608
1430
|
"type": {
|
|
1609
|
-
"text": "
|
|
1431
|
+
"text": "object"
|
|
1610
1432
|
},
|
|
1611
|
-
"
|
|
1612
|
-
"
|
|
1613
|
-
"attribute": "type"
|
|
1433
|
+
"static": true,
|
|
1434
|
+
"default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n }"
|
|
1614
1435
|
},
|
|
1615
1436
|
{
|
|
1616
1437
|
"kind": "field",
|
|
1617
|
-
"name": "
|
|
1438
|
+
"name": "shadowRootOptions",
|
|
1618
1439
|
"type": {
|
|
1619
|
-
"text": "
|
|
1440
|
+
"text": "object"
|
|
1620
1441
|
},
|
|
1621
|
-
"
|
|
1622
|
-
"
|
|
1623
|
-
"attribute": "name"
|
|
1442
|
+
"static": true,
|
|
1443
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
1624
1444
|
},
|
|
1625
1445
|
{
|
|
1626
1446
|
"kind": "field",
|
|
1627
|
-
"name": "
|
|
1447
|
+
"name": "tagName",
|
|
1628
1448
|
"type": {
|
|
1629
1449
|
"text": "string"
|
|
1630
1450
|
},
|
|
1631
|
-
"
|
|
1632
|
-
"
|
|
1633
|
-
"attribute": "value"
|
|
1451
|
+
"static": true,
|
|
1452
|
+
"default": "'terra-giovanni-search'"
|
|
1634
1453
|
},
|
|
1635
1454
|
{
|
|
1636
1455
|
"kind": "field",
|
|
1637
|
-
"name": "
|
|
1456
|
+
"name": "initialQuery",
|
|
1638
1457
|
"type": {
|
|
1639
1458
|
"text": "string"
|
|
1640
1459
|
},
|
|
1641
|
-
"
|
|
1642
|
-
"
|
|
1643
|
-
"attribute": "href"
|
|
1460
|
+
"static": true,
|
|
1461
|
+
"default": "''"
|
|
1644
1462
|
},
|
|
1645
1463
|
{
|
|
1646
1464
|
"kind": "field",
|
|
1647
|
-
"name": "
|
|
1465
|
+
"name": "#combobox",
|
|
1466
|
+
"privacy": "private",
|
|
1648
1467
|
"type": {
|
|
1649
|
-
"text": "
|
|
1468
|
+
"text": "HTMLInputElement | null"
|
|
1650
1469
|
},
|
|
1651
|
-
"
|
|
1652
|
-
"attribute": "target"
|
|
1470
|
+
"default": "null"
|
|
1653
1471
|
},
|
|
1654
1472
|
{
|
|
1655
1473
|
"kind": "field",
|
|
1656
|
-
"name": "
|
|
1657
|
-
"
|
|
1658
|
-
|
|
1659
|
-
},
|
|
1660
|
-
"default": "'noreferrer noopener'",
|
|
1661
|
-
"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.",
|
|
1662
|
-
"attribute": "rel"
|
|
1474
|
+
"name": "#fetchController",
|
|
1475
|
+
"privacy": "private",
|
|
1476
|
+
"default": "new FetchController(this)"
|
|
1663
1477
|
},
|
|
1664
1478
|
{
|
|
1665
1479
|
"kind": "field",
|
|
1666
|
-
"name": "
|
|
1480
|
+
"name": "#listbox",
|
|
1481
|
+
"privacy": "private",
|
|
1667
1482
|
"type": {
|
|
1668
|
-
"text": "
|
|
1483
|
+
"text": "HTMLUListElement | null"
|
|
1669
1484
|
},
|
|
1670
|
-
"
|
|
1671
|
-
"attribute": "download"
|
|
1485
|
+
"default": "null"
|
|
1672
1486
|
},
|
|
1673
1487
|
{
|
|
1674
1488
|
"kind": "field",
|
|
1675
|
-
"name": "
|
|
1489
|
+
"name": "#searchEngine",
|
|
1490
|
+
"privacy": "private",
|
|
1676
1491
|
"type": {
|
|
1677
|
-
"text": "
|
|
1492
|
+
"text": "Fuse<ListItem> | null"
|
|
1678
1493
|
},
|
|
1679
|
-
"
|
|
1680
|
-
"attribute": "form"
|
|
1494
|
+
"default": "null"
|
|
1681
1495
|
},
|
|
1682
1496
|
{
|
|
1683
1497
|
"kind": "field",
|
|
1684
|
-
"name": "
|
|
1498
|
+
"name": "#walker",
|
|
1499
|
+
"privacy": "private",
|
|
1685
1500
|
"type": {
|
|
1686
|
-
"text": "
|
|
1501
|
+
"text": "TreeWalker | null"
|
|
1687
1502
|
},
|
|
1688
|
-
"
|
|
1689
|
-
"attribute": "formaction"
|
|
1503
|
+
"default": "null"
|
|
1690
1504
|
},
|
|
1691
1505
|
{
|
|
1692
1506
|
"kind": "field",
|
|
1693
|
-
"name": "
|
|
1507
|
+
"name": "label",
|
|
1694
1508
|
"type": {
|
|
1695
|
-
"text": "
|
|
1509
|
+
"text": "string"
|
|
1696
1510
|
},
|
|
1697
|
-
"
|
|
1698
|
-
"
|
|
1511
|
+
"default": "'Enter search terms (e.g., precipitation, AOD)'",
|
|
1512
|
+
"description": "Label the combobox with this.",
|
|
1513
|
+
"attribute": "label"
|
|
1699
1514
|
},
|
|
1700
1515
|
{
|
|
1701
1516
|
"kind": "field",
|
|
1702
|
-
"name": "
|
|
1517
|
+
"name": "placeholder",
|
|
1703
1518
|
"type": {
|
|
1704
|
-
"text": "
|
|
1519
|
+
"text": "string"
|
|
1705
1520
|
},
|
|
1706
|
-
"description": "
|
|
1707
|
-
"attribute": "
|
|
1521
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1522
|
+
"attribute": "placeholder"
|
|
1708
1523
|
},
|
|
1709
1524
|
{
|
|
1710
1525
|
"kind": "field",
|
|
1711
|
-
"name": "
|
|
1526
|
+
"name": "hideLabel",
|
|
1712
1527
|
"type": {
|
|
1713
1528
|
"text": "boolean"
|
|
1714
1529
|
},
|
|
1715
|
-
"
|
|
1716
|
-
"
|
|
1530
|
+
"default": "true",
|
|
1531
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1532
|
+
"attribute": "hide-label"
|
|
1717
1533
|
},
|
|
1718
1534
|
{
|
|
1719
1535
|
"kind": "field",
|
|
1720
|
-
"name": "
|
|
1536
|
+
"name": "searchConfig",
|
|
1721
1537
|
"type": {
|
|
1722
|
-
"text": "
|
|
1538
|
+
"text": "object"
|
|
1723
1539
|
},
|
|
1724
|
-
"
|
|
1725
|
-
"
|
|
1540
|
+
"default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
|
|
1541
|
+
"description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
|
|
1542
|
+
"attribute": "searchConfig"
|
|
1726
1543
|
},
|
|
1727
1544
|
{
|
|
1728
1545
|
"kind": "field",
|
|
1729
|
-
"name": "
|
|
1546
|
+
"name": "value",
|
|
1730
1547
|
"type": {
|
|
1731
|
-
"text": "string
|
|
1548
|
+
"text": "string"
|
|
1732
1549
|
},
|
|
1733
|
-
"
|
|
1734
|
-
"attribute": "for-dialog"
|
|
1550
|
+
"attribute": "value"
|
|
1735
1551
|
},
|
|
1736
1552
|
{
|
|
1737
1553
|
"kind": "field",
|
|
1738
|
-
"name": "
|
|
1554
|
+
"name": "isExpanded",
|
|
1739
1555
|
"type": {
|
|
1740
1556
|
"text": "boolean"
|
|
1741
1557
|
},
|
|
1742
|
-
"default": "false"
|
|
1743
|
-
"description": "if button is used to control another element on the page, such as an accordion or dialog, this state communicates whether the controlled element is expanded"
|
|
1558
|
+
"default": "false"
|
|
1744
1559
|
},
|
|
1745
1560
|
{
|
|
1746
1561
|
"kind": "field",
|
|
1747
|
-
"name": "
|
|
1748
|
-
"description": "Gets the validity state object",
|
|
1749
|
-
"readonly": true
|
|
1562
|
+
"name": "query"
|
|
1750
1563
|
},
|
|
1751
1564
|
{
|
|
1752
1565
|
"kind": "field",
|
|
1753
|
-
"name": "
|
|
1754
|
-
"
|
|
1755
|
-
|
|
1566
|
+
"name": "searchResults",
|
|
1567
|
+
"type": {
|
|
1568
|
+
"text": "ListItem[]"
|
|
1569
|
+
},
|
|
1570
|
+
"default": "[]"
|
|
1756
1571
|
},
|
|
1757
1572
|
{
|
|
1758
1573
|
"kind": "method",
|
|
1759
|
-
"name": "
|
|
1574
|
+
"name": "valueChanged",
|
|
1760
1575
|
"parameters": [
|
|
1761
1576
|
{
|
|
1762
|
-
"name": "
|
|
1577
|
+
"name": "_oldValue",
|
|
1763
1578
|
"type": {
|
|
1764
|
-
"text": "
|
|
1579
|
+
"text": "string"
|
|
1765
1580
|
}
|
|
1766
|
-
}
|
|
1767
|
-
]
|
|
1768
|
-
},
|
|
1769
|
-
{
|
|
1770
|
-
"kind": "method",
|
|
1771
|
-
"name": "handleBlur",
|
|
1772
|
-
"privacy": "private"
|
|
1773
|
-
},
|
|
1774
|
-
{
|
|
1775
|
-
"kind": "method",
|
|
1776
|
-
"name": "handleFocus",
|
|
1777
|
-
"privacy": "private"
|
|
1778
|
-
},
|
|
1779
|
-
{
|
|
1780
|
-
"kind": "method",
|
|
1781
|
-
"name": "handleClick",
|
|
1782
|
-
"privacy": "private"
|
|
1783
|
-
},
|
|
1784
|
-
{
|
|
1785
|
-
"kind": "method",
|
|
1786
|
-
"name": "handleInvalid",
|
|
1787
|
-
"privacy": "private",
|
|
1788
|
-
"parameters": [
|
|
1581
|
+
},
|
|
1789
1582
|
{
|
|
1790
|
-
"name": "
|
|
1583
|
+
"name": "newValue",
|
|
1791
1584
|
"type": {
|
|
1792
|
-
"text": "
|
|
1585
|
+
"text": "string"
|
|
1793
1586
|
}
|
|
1794
1587
|
}
|
|
1795
1588
|
]
|
|
1796
1589
|
},
|
|
1797
1590
|
{
|
|
1798
1591
|
"kind": "method",
|
|
1799
|
-
"name": "
|
|
1800
|
-
"privacy": "private"
|
|
1801
|
-
},
|
|
1802
|
-
{
|
|
1803
|
-
"kind": "method",
|
|
1804
|
-
"name": "isLink",
|
|
1805
|
-
"privacy": "private"
|
|
1806
|
-
},
|
|
1807
|
-
{
|
|
1808
|
-
"kind": "method",
|
|
1809
|
-
"name": "handleDisabledChange"
|
|
1592
|
+
"name": "clear"
|
|
1810
1593
|
},
|
|
1811
1594
|
{
|
|
1812
1595
|
"kind": "method",
|
|
1813
|
-
"name": "
|
|
1814
|
-
"description": "Simulates a click on the button."
|
|
1596
|
+
"name": "close"
|
|
1815
1597
|
},
|
|
1816
1598
|
{
|
|
1817
1599
|
"kind": "method",
|
|
1818
|
-
"name": "
|
|
1819
|
-
"parameters": [
|
|
1820
|
-
{
|
|
1821
|
-
"name": "options",
|
|
1822
|
-
"optional": true,
|
|
1823
|
-
"type": {
|
|
1824
|
-
"text": "FocusOptions"
|
|
1825
|
-
}
|
|
1826
|
-
}
|
|
1827
|
-
],
|
|
1828
|
-
"description": "Sets focus on the button."
|
|
1600
|
+
"name": "toggle"
|
|
1829
1601
|
},
|
|
1830
1602
|
{
|
|
1831
|
-
"kind": "
|
|
1832
|
-
"name": "
|
|
1833
|
-
"
|
|
1603
|
+
"kind": "field",
|
|
1604
|
+
"name": "#handleComboboxChange",
|
|
1605
|
+
"privacy": "private"
|
|
1834
1606
|
},
|
|
1835
1607
|
{
|
|
1836
|
-
"kind": "
|
|
1837
|
-
"name": "
|
|
1838
|
-
"
|
|
1608
|
+
"kind": "field",
|
|
1609
|
+
"name": "#handleOptionClick",
|
|
1610
|
+
"privacy": "private"
|
|
1839
1611
|
},
|
|
1840
1612
|
{
|
|
1841
|
-
"kind": "
|
|
1842
|
-
"name": "
|
|
1843
|
-
"
|
|
1844
|
-
"type": {
|
|
1845
|
-
"text": "HTMLFormElement | null"
|
|
1846
|
-
}
|
|
1847
|
-
},
|
|
1848
|
-
"description": "Gets the associated form, if one exists."
|
|
1613
|
+
"kind": "field",
|
|
1614
|
+
"name": "#handleKeydown",
|
|
1615
|
+
"privacy": "private"
|
|
1849
1616
|
},
|
|
1850
1617
|
{
|
|
1851
|
-
"kind": "
|
|
1852
|
-
"name": "
|
|
1853
|
-
"
|
|
1618
|
+
"kind": "field",
|
|
1619
|
+
"name": "#manageListboxVisibility",
|
|
1620
|
+
"privacy": "private"
|
|
1854
1621
|
},
|
|
1855
1622
|
{
|
|
1856
|
-
"kind": "
|
|
1857
|
-
"name": "
|
|
1858
|
-
"
|
|
1859
|
-
{
|
|
1860
|
-
"name": "message",
|
|
1861
|
-
"type": {
|
|
1862
|
-
"text": "string"
|
|
1863
|
-
}
|
|
1864
|
-
}
|
|
1865
|
-
],
|
|
1866
|
-
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
1623
|
+
"kind": "field",
|
|
1624
|
+
"name": "#selectOption",
|
|
1625
|
+
"privacy": "private"
|
|
1867
1626
|
},
|
|
1868
1627
|
{
|
|
1869
1628
|
"kind": "method",
|
|
1870
|
-
"name": "
|
|
1871
|
-
"return": {
|
|
1872
|
-
"type": {
|
|
1873
|
-
"text": "string"
|
|
1874
|
-
}
|
|
1875
|
-
},
|
|
1629
|
+
"name": "#handleSearch",
|
|
1876
1630
|
"parameters": [
|
|
1877
1631
|
{
|
|
1878
|
-
"name": "
|
|
1632
|
+
"name": "query",
|
|
1879
1633
|
"type": {
|
|
1880
1634
|
"text": "string"
|
|
1881
1635
|
}
|
|
@@ -1884,232 +1638,305 @@
|
|
|
1884
1638
|
},
|
|
1885
1639
|
{
|
|
1886
1640
|
"kind": "method",
|
|
1887
|
-
"name": "
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
"
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1641
|
+
"name": "#clearSearch"
|
|
1642
|
+
}
|
|
1643
|
+
],
|
|
1644
|
+
"events": [
|
|
1645
|
+
{
|
|
1646
|
+
"description": "Emitted when an option is selected.",
|
|
1647
|
+
"name": "terra-giovanni-search-change",
|
|
1648
|
+
"reactName": "onTerraGiovanniSearchChange",
|
|
1649
|
+
"eventName": "TerraGiovanniSearchChangeEvent"
|
|
1650
|
+
},
|
|
1651
|
+
{
|
|
1652
|
+
"description": "Emitted when the component is triggering a search (like a form triggering submit).",
|
|
1653
|
+
"name": "terra-search",
|
|
1654
|
+
"reactName": "onTerraSearch",
|
|
1655
|
+
"eventName": "TerraSearchEvent"
|
|
1901
1656
|
}
|
|
1902
1657
|
],
|
|
1903
1658
|
"attributes": [
|
|
1904
1659
|
{
|
|
1905
|
-
"name": "
|
|
1660
|
+
"name": "label",
|
|
1906
1661
|
"type": {
|
|
1907
1662
|
"text": "string"
|
|
1908
1663
|
},
|
|
1909
|
-
"default": "''",
|
|
1910
|
-
"
|
|
1664
|
+
"default": "'Enter search terms (e.g., precipitation, AOD)'",
|
|
1665
|
+
"description": "Label the combobox with this.",
|
|
1666
|
+
"fieldName": "label"
|
|
1911
1667
|
},
|
|
1912
1668
|
{
|
|
1913
|
-
"name": "
|
|
1669
|
+
"name": "placeholder",
|
|
1914
1670
|
"type": {
|
|
1915
|
-
"text": "
|
|
1671
|
+
"text": "string"
|
|
1916
1672
|
},
|
|
1917
|
-
"
|
|
1918
|
-
"
|
|
1919
|
-
"fieldName": "variant"
|
|
1673
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1674
|
+
"fieldName": "placeholder"
|
|
1920
1675
|
},
|
|
1921
1676
|
{
|
|
1922
|
-
"name": "
|
|
1677
|
+
"name": "hide-label",
|
|
1923
1678
|
"type": {
|
|
1924
|
-
"text": "
|
|
1679
|
+
"text": "boolean"
|
|
1925
1680
|
},
|
|
1926
|
-
"default": "
|
|
1927
|
-
"description": "
|
|
1928
|
-
"fieldName": "
|
|
1681
|
+
"default": "true",
|
|
1682
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1683
|
+
"fieldName": "hideLabel"
|
|
1929
1684
|
},
|
|
1930
1685
|
{
|
|
1931
|
-
"name": "
|
|
1686
|
+
"name": "searchConfig",
|
|
1932
1687
|
"type": {
|
|
1933
|
-
"text": "
|
|
1688
|
+
"text": "object"
|
|
1934
1689
|
},
|
|
1935
|
-
"default": "
|
|
1936
|
-
"description": "
|
|
1937
|
-
"fieldName": "
|
|
1690
|
+
"default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
|
|
1691
|
+
"description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
|
|
1692
|
+
"fieldName": "searchConfig"
|
|
1938
1693
|
},
|
|
1939
1694
|
{
|
|
1940
|
-
"name": "
|
|
1695
|
+
"name": "value",
|
|
1941
1696
|
"type": {
|
|
1942
|
-
"text": "
|
|
1697
|
+
"text": "string"
|
|
1943
1698
|
},
|
|
1944
|
-
"
|
|
1945
|
-
|
|
1946
|
-
|
|
1699
|
+
"fieldName": "value"
|
|
1700
|
+
}
|
|
1701
|
+
],
|
|
1702
|
+
"superclass": {
|
|
1703
|
+
"name": "TerraElement",
|
|
1704
|
+
"module": "/src/internal/terra-element.js"
|
|
1705
|
+
},
|
|
1706
|
+
"summary": "Fuzzy-search for dataset keywords in combobox with list autocomplete.",
|
|
1707
|
+
"tagNameWithoutPrefix": "giovanni-search",
|
|
1708
|
+
"tagName": "terra-giovanni-search",
|
|
1709
|
+
"customElement": true,
|
|
1710
|
+
"jsDoc": "/**\n * @summary Fuzzy-search for dataset keywords in combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/giovanni-serch\n * @see https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list/\n * @status MVP\n * @since 1.0\n *\n * @csspart base - A `search` element, the component's base.\n * @csspart combobox - An `input` element used for searching.\n * @csspart button - A `button` used for toggling the listbox's visibility.\n * @csspart listbox - A `ul` that holds the clickable options.\n *\n * @cssproperty --host-height - The height of the host element.\n * @cssproperty --label-height - The height of the input's label element.\n *\n * @event terra-giovanni-search-change - Emitted when an option is selected.\n * @event terra-search - Emitted when the component is triggering a search (like a form triggering submit).\n */",
|
|
1711
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/giovanni-serch",
|
|
1712
|
+
"status": "MVP",
|
|
1713
|
+
"since": "1.0"
|
|
1714
|
+
}
|
|
1715
|
+
],
|
|
1716
|
+
"exports": [
|
|
1717
|
+
{
|
|
1718
|
+
"kind": "js",
|
|
1719
|
+
"name": "default",
|
|
1720
|
+
"declaration": {
|
|
1721
|
+
"name": "TerraGiovanniSearch",
|
|
1722
|
+
"module": "components/giovanni-search/giovanni-search.js"
|
|
1723
|
+
}
|
|
1724
|
+
}
|
|
1725
|
+
]
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"kind": "javascript-module",
|
|
1729
|
+
"path": "components/icon/icon.js",
|
|
1730
|
+
"declarations": [
|
|
1731
|
+
{
|
|
1732
|
+
"kind": "class",
|
|
1733
|
+
"description": "",
|
|
1734
|
+
"name": "TerraIcon",
|
|
1735
|
+
"cssParts": [
|
|
1947
1736
|
{
|
|
1948
|
-
"
|
|
1737
|
+
"description": "The internal SVG element.",
|
|
1738
|
+
"name": "svg"
|
|
1739
|
+
}
|
|
1740
|
+
],
|
|
1741
|
+
"members": [
|
|
1742
|
+
{
|
|
1743
|
+
"kind": "field",
|
|
1744
|
+
"name": "#initialRender",
|
|
1745
|
+
"privacy": "private",
|
|
1949
1746
|
"type": {
|
|
1950
1747
|
"text": "boolean"
|
|
1951
1748
|
},
|
|
1952
|
-
"default": "false"
|
|
1953
|
-
"description": "Disables the button.",
|
|
1954
|
-
"fieldName": "disabled"
|
|
1749
|
+
"default": "false"
|
|
1955
1750
|
},
|
|
1956
1751
|
{
|
|
1957
|
-
"
|
|
1752
|
+
"kind": "field",
|
|
1753
|
+
"name": "svg",
|
|
1958
1754
|
"type": {
|
|
1959
|
-
"text": "
|
|
1755
|
+
"text": "SVGElement | HTMLTemplateResult | null"
|
|
1960
1756
|
},
|
|
1961
|
-
"default": "
|
|
1962
|
-
"description": "Draws the button in a loading state.",
|
|
1963
|
-
"fieldName": "loading"
|
|
1757
|
+
"default": "null"
|
|
1964
1758
|
},
|
|
1965
1759
|
{
|
|
1966
|
-
"
|
|
1760
|
+
"kind": "field",
|
|
1761
|
+
"name": "name",
|
|
1967
1762
|
"type": {
|
|
1968
|
-
"text": "
|
|
1763
|
+
"text": "string | undefined"
|
|
1969
1764
|
},
|
|
1970
|
-
"
|
|
1971
|
-
"
|
|
1972
|
-
"
|
|
1765
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
1766
|
+
"attribute": "name",
|
|
1767
|
+
"reflects": true
|
|
1973
1768
|
},
|
|
1974
1769
|
{
|
|
1975
|
-
"
|
|
1770
|
+
"kind": "field",
|
|
1771
|
+
"name": "src",
|
|
1976
1772
|
"type": {
|
|
1977
|
-
"text": "
|
|
1773
|
+
"text": "string | undefined"
|
|
1978
1774
|
},
|
|
1979
|
-
"
|
|
1980
|
-
"
|
|
1981
|
-
"fieldName": "circle"
|
|
1775
|
+
"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.",
|
|
1776
|
+
"attribute": "src"
|
|
1982
1777
|
},
|
|
1983
1778
|
{
|
|
1984
|
-
"
|
|
1779
|
+
"kind": "field",
|
|
1780
|
+
"name": "label",
|
|
1985
1781
|
"type": {
|
|
1986
|
-
"text": "
|
|
1782
|
+
"text": "string"
|
|
1987
1783
|
},
|
|
1988
|
-
"default": "'
|
|
1989
|
-
"description": "
|
|
1990
|
-
"
|
|
1784
|
+
"default": "''",
|
|
1785
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
1786
|
+
"attribute": "label"
|
|
1991
1787
|
},
|
|
1992
1788
|
{
|
|
1993
|
-
"
|
|
1789
|
+
"kind": "field",
|
|
1790
|
+
"name": "library",
|
|
1994
1791
|
"type": {
|
|
1995
|
-
"text": "string"
|
|
1792
|
+
"text": "'default' | 'heroicons' | string"
|
|
1996
1793
|
},
|
|
1997
|
-
"default": "''",
|
|
1998
|
-
"description": "The name of
|
|
1999
|
-
"
|
|
1794
|
+
"default": "'default'",
|
|
1795
|
+
"description": "The name of a registered custom icon library.",
|
|
1796
|
+
"attribute": "library",
|
|
1797
|
+
"reflects": true
|
|
2000
1798
|
},
|
|
2001
1799
|
{
|
|
2002
|
-
"
|
|
1800
|
+
"kind": "field",
|
|
1801
|
+
"name": "color",
|
|
2003
1802
|
"type": {
|
|
2004
|
-
"text": "string"
|
|
1803
|
+
"text": "string | null"
|
|
2005
1804
|
},
|
|
2006
|
-
"default": "
|
|
2007
|
-
"description": "The
|
|
2008
|
-
"
|
|
1805
|
+
"default": "null",
|
|
1806
|
+
"description": "The CSS color to assign to the SVG.",
|
|
1807
|
+
"attribute": "color"
|
|
1808
|
+
},
|
|
1809
|
+
{
|
|
1810
|
+
"kind": "field",
|
|
1811
|
+
"name": "fontSize",
|
|
1812
|
+
"type": {
|
|
1813
|
+
"text": "string | null"
|
|
1814
|
+
},
|
|
1815
|
+
"default": "null",
|
|
1816
|
+
"description": "The CSS font-size to assign to the SVG.",
|
|
1817
|
+
"attribute": "font-size"
|
|
1818
|
+
},
|
|
1819
|
+
{
|
|
1820
|
+
"kind": "method",
|
|
1821
|
+
"name": "#resolveIcon",
|
|
1822
|
+
"return": {
|
|
1823
|
+
"type": {
|
|
1824
|
+
"text": "Promise<SVGResult>"
|
|
1825
|
+
}
|
|
1826
|
+
},
|
|
1827
|
+
"parameters": [
|
|
1828
|
+
{
|
|
1829
|
+
"name": "url",
|
|
1830
|
+
"type": {
|
|
1831
|
+
"text": "string"
|
|
1832
|
+
}
|
|
1833
|
+
}
|
|
1834
|
+
],
|
|
1835
|
+
"description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
|
|
2009
1836
|
},
|
|
2010
1837
|
{
|
|
2011
|
-
"
|
|
2012
|
-
"
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
1838
|
+
"kind": "method",
|
|
1839
|
+
"name": "#getIconSource",
|
|
1840
|
+
"return": {
|
|
1841
|
+
"type": {
|
|
1842
|
+
"text": "IconSource"
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
2018
1845
|
},
|
|
2019
1846
|
{
|
|
2020
|
-
"
|
|
2021
|
-
"
|
|
2022
|
-
|
|
2023
|
-
},
|
|
2024
|
-
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
2025
|
-
"fieldName": "target"
|
|
1847
|
+
"kind": "method",
|
|
1848
|
+
"name": "#styleFromAttributes",
|
|
1849
|
+
"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."
|
|
2026
1850
|
},
|
|
2027
1851
|
{
|
|
2028
|
-
"
|
|
2029
|
-
"
|
|
2030
|
-
"text": "string"
|
|
2031
|
-
},
|
|
2032
|
-
"default": "'noreferrer noopener'",
|
|
2033
|
-
"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.",
|
|
2034
|
-
"fieldName": "rel"
|
|
1852
|
+
"kind": "method",
|
|
1853
|
+
"name": "handleLabelChange"
|
|
2035
1854
|
},
|
|
2036
1855
|
{
|
|
2037
|
-
"
|
|
2038
|
-
"
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
"fieldName": "download"
|
|
2043
|
-
},
|
|
1856
|
+
"kind": "method",
|
|
1857
|
+
"name": "setIcon"
|
|
1858
|
+
}
|
|
1859
|
+
],
|
|
1860
|
+
"events": [
|
|
2044
1861
|
{
|
|
2045
|
-
"
|
|
2046
|
-
"
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
"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.",
|
|
2050
|
-
"fieldName": "form"
|
|
1862
|
+
"description": "Emitted when the icon has loaded.",
|
|
1863
|
+
"name": "terra-load",
|
|
1864
|
+
"reactName": "onTerraLoad",
|
|
1865
|
+
"eventName": "TerraLoadEvent"
|
|
2051
1866
|
},
|
|
2052
1867
|
{
|
|
2053
|
-
"
|
|
1868
|
+
"description": "Emitted when the icon fails to load due to an error.",
|
|
1869
|
+
"name": "terra-error",
|
|
1870
|
+
"reactName": "onTerraError",
|
|
1871
|
+
"eventName": "TerraErrorEvent"
|
|
1872
|
+
}
|
|
1873
|
+
],
|
|
1874
|
+
"attributes": [
|
|
1875
|
+
{
|
|
1876
|
+
"name": "name",
|
|
2054
1877
|
"type": {
|
|
2055
|
-
"text": "string"
|
|
1878
|
+
"text": "string | undefined"
|
|
2056
1879
|
},
|
|
2057
|
-
"description": "
|
|
2058
|
-
"fieldName": "
|
|
1880
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
1881
|
+
"fieldName": "name"
|
|
2059
1882
|
},
|
|
2060
1883
|
{
|
|
2061
|
-
"name": "
|
|
1884
|
+
"name": "src",
|
|
2062
1885
|
"type": {
|
|
2063
|
-
"text": "
|
|
1886
|
+
"text": "string | undefined"
|
|
2064
1887
|
},
|
|
2065
|
-
"description": "
|
|
2066
|
-
"fieldName": "
|
|
1888
|
+
"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.",
|
|
1889
|
+
"fieldName": "src"
|
|
2067
1890
|
},
|
|
2068
1891
|
{
|
|
2069
|
-
"name": "
|
|
1892
|
+
"name": "label",
|
|
2070
1893
|
"type": {
|
|
2071
|
-
"text": "
|
|
1894
|
+
"text": "string"
|
|
2072
1895
|
},
|
|
2073
|
-
"
|
|
2074
|
-
"
|
|
1896
|
+
"default": "''",
|
|
1897
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
1898
|
+
"fieldName": "label"
|
|
2075
1899
|
},
|
|
2076
1900
|
{
|
|
2077
|
-
"name": "
|
|
1901
|
+
"name": "library",
|
|
2078
1902
|
"type": {
|
|
2079
|
-
"text": "
|
|
1903
|
+
"text": "'default' | 'heroicons' | string"
|
|
2080
1904
|
},
|
|
2081
|
-
"
|
|
2082
|
-
"
|
|
1905
|
+
"default": "'default'",
|
|
1906
|
+
"description": "The name of a registered custom icon library.",
|
|
1907
|
+
"fieldName": "library"
|
|
2083
1908
|
},
|
|
2084
1909
|
{
|
|
2085
|
-
"name": "
|
|
1910
|
+
"name": "color",
|
|
2086
1911
|
"type": {
|
|
2087
|
-
"text": "
|
|
1912
|
+
"text": "string | null"
|
|
2088
1913
|
},
|
|
2089
|
-
"
|
|
2090
|
-
"
|
|
1914
|
+
"default": "null",
|
|
1915
|
+
"description": "The CSS color to assign to the SVG.",
|
|
1916
|
+
"fieldName": "color"
|
|
2091
1917
|
},
|
|
2092
1918
|
{
|
|
2093
|
-
"name": "
|
|
1919
|
+
"name": "font-size",
|
|
2094
1920
|
"type": {
|
|
2095
|
-
"text": "string |
|
|
1921
|
+
"text": "string | null"
|
|
2096
1922
|
},
|
|
2097
|
-
"
|
|
2098
|
-
"
|
|
1923
|
+
"default": "null",
|
|
1924
|
+
"description": "The CSS font-size to assign to the SVG.",
|
|
1925
|
+
"fieldName": "fontSize"
|
|
2099
1926
|
}
|
|
2100
1927
|
],
|
|
2101
1928
|
"superclass": {
|
|
2102
1929
|
"name": "TerraElement",
|
|
2103
1930
|
"module": "/src/internal/terra-element.js"
|
|
2104
1931
|
},
|
|
2105
|
-
"summary": "
|
|
2106
|
-
"tagNameWithoutPrefix": "
|
|
2107
|
-
"tagName": "terra-
|
|
1932
|
+
"summary": "Icons are symbols that can be used to represent various options within an application.",
|
|
1933
|
+
"tagNameWithoutPrefix": "icon",
|
|
1934
|
+
"tagName": "terra-icon",
|
|
2108
1935
|
"customElement": true,
|
|
2109
|
-
"jsDoc": "/**\n * @summary
|
|
2110
|
-
"documentation": "https://
|
|
2111
|
-
"status": "
|
|
2112
|
-
"since": "
|
|
1936
|
+
"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 */",
|
|
1937
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/icon",
|
|
1938
|
+
"status": "experimental",
|
|
1939
|
+
"since": "1.0"
|
|
2113
1940
|
}
|
|
2114
1941
|
],
|
|
2115
1942
|
"exports": [
|
|
@@ -2117,353 +1944,222 @@
|
|
|
2117
1944
|
"kind": "js",
|
|
2118
1945
|
"name": "default",
|
|
2119
1946
|
"declaration": {
|
|
2120
|
-
"name": "
|
|
2121
|
-
"module": "components/
|
|
1947
|
+
"name": "TerraIcon",
|
|
1948
|
+
"module": "components/icon/icon.js"
|
|
2122
1949
|
}
|
|
2123
1950
|
}
|
|
2124
1951
|
]
|
|
2125
1952
|
},
|
|
2126
1953
|
{
|
|
2127
1954
|
"kind": "javascript-module",
|
|
2128
|
-
"path": "components/
|
|
1955
|
+
"path": "components/date-range-slider/date-range-slider.js",
|
|
2129
1956
|
"declarations": [
|
|
2130
1957
|
{
|
|
2131
1958
|
"kind": "class",
|
|
2132
1959
|
"description": "",
|
|
2133
|
-
"name": "
|
|
1960
|
+
"name": "TerraDateRangeSlider",
|
|
2134
1961
|
"cssProperties": [
|
|
2135
1962
|
{
|
|
2136
|
-
"description": "
|
|
2137
|
-
"name": "--
|
|
2138
|
-
},
|
|
2139
|
-
{
|
|
2140
|
-
"description": "The height of the search help element.",
|
|
2141
|
-
"name": "--help-height"
|
|
2142
|
-
},
|
|
2143
|
-
{
|
|
2144
|
-
"description": "The height of the input's label element.",
|
|
2145
|
-
"name": "--label-height"
|
|
1963
|
+
"description": "An example CSS custom property.",
|
|
1964
|
+
"name": "--example"
|
|
2146
1965
|
}
|
|
2147
1966
|
],
|
|
2148
1967
|
"cssParts": [
|
|
2149
1968
|
{
|
|
2150
|
-
"description": "
|
|
1969
|
+
"description": "The component's base wrapper.",
|
|
2151
1970
|
"name": "base"
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
"name": "combobox"
|
|
2156
|
-
},
|
|
1971
|
+
}
|
|
1972
|
+
],
|
|
1973
|
+
"slots": [
|
|
2157
1974
|
{
|
|
2158
|
-
"description": "
|
|
2159
|
-
"name": "
|
|
1975
|
+
"description": "The default slot.",
|
|
1976
|
+
"name": ""
|
|
2160
1977
|
},
|
|
2161
1978
|
{
|
|
2162
|
-
"description": "
|
|
2163
|
-
"name": "
|
|
1979
|
+
"description": "An example slot.",
|
|
1980
|
+
"name": "example"
|
|
2164
1981
|
}
|
|
2165
1982
|
],
|
|
2166
1983
|
"members": [
|
|
2167
1984
|
{
|
|
2168
1985
|
"kind": "field",
|
|
2169
|
-
"name": "
|
|
2170
|
-
"type": {
|
|
2171
|
-
"text": "object"
|
|
2172
|
-
},
|
|
2173
|
-
"static": true,
|
|
2174
|
-
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
2175
|
-
},
|
|
2176
|
-
{
|
|
2177
|
-
"kind": "field",
|
|
2178
|
-
"name": "tagName",
|
|
2179
|
-
"type": {
|
|
2180
|
-
"text": "string"
|
|
2181
|
-
},
|
|
2182
|
-
"static": true,
|
|
2183
|
-
"default": "'terra-combobox'"
|
|
2184
|
-
},
|
|
2185
|
-
{
|
|
2186
|
-
"kind": "field",
|
|
2187
|
-
"name": "initialQuery",
|
|
2188
|
-
"type": {
|
|
2189
|
-
"text": "string"
|
|
2190
|
-
},
|
|
2191
|
-
"static": true,
|
|
2192
|
-
"default": "''"
|
|
2193
|
-
},
|
|
2194
|
-
{
|
|
2195
|
-
"kind": "field",
|
|
2196
|
-
"name": "#combobox",
|
|
2197
|
-
"privacy": "private",
|
|
2198
|
-
"type": {
|
|
2199
|
-
"text": "HTMLInputElement | null"
|
|
2200
|
-
},
|
|
2201
|
-
"default": "null"
|
|
2202
|
-
},
|
|
2203
|
-
{
|
|
2204
|
-
"kind": "field",
|
|
2205
|
-
"name": "#listbox",
|
|
2206
|
-
"privacy": "private",
|
|
2207
|
-
"type": {
|
|
2208
|
-
"text": "HTMLUListElement | null"
|
|
2209
|
-
},
|
|
2210
|
-
"default": "null"
|
|
2211
|
-
},
|
|
2212
|
-
{
|
|
2213
|
-
"kind": "field",
|
|
2214
|
-
"name": "#searchEngine",
|
|
2215
|
-
"privacy": "private",
|
|
2216
|
-
"type": {
|
|
2217
|
-
"text": "Fuse<GroupedListItem | ListItem> | null"
|
|
2218
|
-
},
|
|
2219
|
-
"default": "null"
|
|
2220
|
-
},
|
|
2221
|
-
{
|
|
2222
|
-
"kind": "field",
|
|
2223
|
-
"name": "#walker",
|
|
2224
|
-
"privacy": "private",
|
|
2225
|
-
"type": {
|
|
2226
|
-
"text": "TreeWalker | null"
|
|
2227
|
-
},
|
|
2228
|
-
"default": "null"
|
|
2229
|
-
},
|
|
2230
|
-
{
|
|
2231
|
-
"kind": "field",
|
|
2232
|
-
"name": "label",
|
|
2233
|
-
"type": {
|
|
2234
|
-
"text": "string"
|
|
2235
|
-
},
|
|
2236
|
-
"default": "'Search for Items'",
|
|
2237
|
-
"description": "Label the combobox with this.",
|
|
2238
|
-
"attribute": "label"
|
|
2239
|
-
},
|
|
2240
|
-
{
|
|
2241
|
-
"kind": "field",
|
|
2242
|
-
"name": "name",
|
|
2243
|
-
"type": {
|
|
2244
|
-
"text": "string"
|
|
2245
|
-
},
|
|
2246
|
-
"default": "'Item'",
|
|
2247
|
-
"description": "name the combobox with this.",
|
|
2248
|
-
"attribute": "name"
|
|
2249
|
-
},
|
|
2250
|
-
{
|
|
2251
|
-
"kind": "field",
|
|
2252
|
-
"name": "placeholder",
|
|
1986
|
+
"name": "slider",
|
|
2253
1987
|
"type": {
|
|
2254
|
-
"text": "
|
|
2255
|
-
}
|
|
2256
|
-
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
2257
|
-
"attribute": "placeholder"
|
|
1988
|
+
"text": "HTMLElement & { noUiSlider: API }"
|
|
1989
|
+
}
|
|
2258
1990
|
},
|
|
2259
1991
|
{
|
|
2260
1992
|
"kind": "field",
|
|
2261
|
-
"name": "
|
|
1993
|
+
"name": "timeScale",
|
|
2262
1994
|
"type": {
|
|
2263
|
-
"text": "
|
|
1995
|
+
"text": "TimeScale"
|
|
2264
1996
|
},
|
|
2265
|
-
"default": "
|
|
2266
|
-
"
|
|
2267
|
-
"attribute": "hide-help"
|
|
1997
|
+
"default": "'daily'",
|
|
1998
|
+
"attribute": "time-scale"
|
|
2268
1999
|
},
|
|
2269
2000
|
{
|
|
2270
2001
|
"kind": "field",
|
|
2271
|
-
"name": "
|
|
2002
|
+
"name": "minDate",
|
|
2272
2003
|
"type": {
|
|
2273
|
-
"text": "
|
|
2004
|
+
"text": "string"
|
|
2274
2005
|
},
|
|
2275
|
-
"
|
|
2276
|
-
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
2277
|
-
"attribute": "hide-label"
|
|
2006
|
+
"attribute": "min-date"
|
|
2278
2007
|
},
|
|
2279
2008
|
{
|
|
2280
2009
|
"kind": "field",
|
|
2281
|
-
"name": "
|
|
2010
|
+
"name": "maxDate",
|
|
2282
2011
|
"type": {
|
|
2283
|
-
"text": "
|
|
2012
|
+
"text": "string"
|
|
2284
2013
|
},
|
|
2285
|
-
"
|
|
2286
|
-
"description": "status of the content",
|
|
2287
|
-
"attribute": "status"
|
|
2014
|
+
"attribute": "max-date"
|
|
2288
2015
|
},
|
|
2289
2016
|
{
|
|
2290
2017
|
"kind": "field",
|
|
2291
|
-
"name": "
|
|
2018
|
+
"name": "startDate",
|
|
2292
2019
|
"type": {
|
|
2293
|
-
"text": "
|
|
2020
|
+
"text": "string"
|
|
2294
2021
|
},
|
|
2295
|
-
"
|
|
2296
|
-
"
|
|
2297
|
-
"attribute": "content"
|
|
2022
|
+
"description": "The start date for the time series plot.",
|
|
2023
|
+
"attribute": "start-date"
|
|
2298
2024
|
},
|
|
2299
2025
|
{
|
|
2300
2026
|
"kind": "field",
|
|
2301
|
-
"name": "
|
|
2027
|
+
"name": "endDate",
|
|
2302
2028
|
"type": {
|
|
2303
|
-
"text": "
|
|
2029
|
+
"text": "string"
|
|
2304
2030
|
},
|
|
2305
|
-
"
|
|
2031
|
+
"attribute": "end-date"
|
|
2306
2032
|
},
|
|
2307
2033
|
{
|
|
2308
2034
|
"kind": "field",
|
|
2309
|
-
"name": "
|
|
2035
|
+
"name": "disabled",
|
|
2036
|
+
"type": {
|
|
2037
|
+
"text": "boolean"
|
|
2038
|
+
},
|
|
2039
|
+
"default": "false",
|
|
2040
|
+
"attribute": "disabled",
|
|
2041
|
+
"reflects": true
|
|
2310
2042
|
},
|
|
2311
2043
|
{
|
|
2312
2044
|
"kind": "field",
|
|
2313
|
-
"name": "
|
|
2045
|
+
"name": "hasPips",
|
|
2314
2046
|
"type": {
|
|
2315
|
-
"text": "
|
|
2047
|
+
"text": "boolean"
|
|
2316
2048
|
},
|
|
2317
|
-
"default": "
|
|
2049
|
+
"default": "true",
|
|
2050
|
+
"attribute": "has-pips",
|
|
2051
|
+
"reflects": true
|
|
2318
2052
|
},
|
|
2319
2053
|
{
|
|
2320
2054
|
"kind": "method",
|
|
2321
|
-
"name": "
|
|
2322
|
-
"parameters": [
|
|
2323
|
-
{
|
|
2324
|
-
"name": "_oldValue",
|
|
2325
|
-
"type": {
|
|
2326
|
-
"text": "any"
|
|
2327
|
-
}
|
|
2328
|
-
},
|
|
2329
|
-
{
|
|
2330
|
-
"name": "newValue",
|
|
2331
|
-
"type": {
|
|
2332
|
-
"text": "any"
|
|
2333
|
-
}
|
|
2334
|
-
}
|
|
2335
|
-
]
|
|
2336
|
-
},
|
|
2337
|
-
{
|
|
2338
|
-
"kind": "field",
|
|
2339
|
-
"name": "#renderListItem",
|
|
2340
|
-
"privacy": "private"
|
|
2341
|
-
},
|
|
2342
|
-
{
|
|
2343
|
-
"kind": "field",
|
|
2344
|
-
"name": "#renderGroupListItem",
|
|
2345
|
-
"privacy": "private"
|
|
2346
|
-
},
|
|
2347
|
-
{
|
|
2348
|
-
"kind": "field",
|
|
2349
|
-
"name": "#renderError",
|
|
2350
|
-
"privacy": "private"
|
|
2351
|
-
},
|
|
2352
|
-
{
|
|
2353
|
-
"kind": "field",
|
|
2354
|
-
"name": "#renderLoading",
|
|
2355
|
-
"privacy": "private"
|
|
2356
|
-
},
|
|
2357
|
-
{
|
|
2358
|
-
"kind": "field",
|
|
2359
|
-
"name": "#dispatchChange",
|
|
2360
|
-
"privacy": "private"
|
|
2055
|
+
"name": "updateSlider"
|
|
2361
2056
|
},
|
|
2362
2057
|
{
|
|
2363
|
-
"kind": "
|
|
2364
|
-
"name": "
|
|
2365
|
-
"privacy": "private"
|
|
2058
|
+
"kind": "method",
|
|
2059
|
+
"name": "disabledChanged"
|
|
2366
2060
|
},
|
|
2367
2061
|
{
|
|
2368
|
-
"kind": "
|
|
2369
|
-
"name": "
|
|
2370
|
-
"privacy": "private"
|
|
2062
|
+
"kind": "method",
|
|
2063
|
+
"name": "renderSlider"
|
|
2371
2064
|
},
|
|
2372
2065
|
{
|
|
2373
|
-
"kind": "
|
|
2374
|
-
"name": "
|
|
2375
|
-
"privacy": "private"
|
|
2066
|
+
"kind": "method",
|
|
2067
|
+
"name": "renderEmptySlider"
|
|
2376
2068
|
},
|
|
2377
2069
|
{
|
|
2378
|
-
"kind": "
|
|
2379
|
-
"name": "
|
|
2070
|
+
"kind": "method",
|
|
2071
|
+
"name": "_getStep",
|
|
2380
2072
|
"privacy": "private"
|
|
2381
2073
|
},
|
|
2382
2074
|
{
|
|
2383
|
-
"kind": "
|
|
2384
|
-
"name": "
|
|
2385
|
-
"privacy": "private"
|
|
2075
|
+
"kind": "method",
|
|
2076
|
+
"name": "_getSliderFormatter",
|
|
2077
|
+
"privacy": "private",
|
|
2078
|
+
"return": {
|
|
2079
|
+
"type": {
|
|
2080
|
+
"text": "Formatter"
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2386
2083
|
},
|
|
2387
2084
|
{
|
|
2388
|
-
"kind": "
|
|
2389
|
-
"name": "
|
|
2390
|
-
"privacy": "private"
|
|
2085
|
+
"kind": "method",
|
|
2086
|
+
"name": "_formatDate",
|
|
2087
|
+
"privacy": "private",
|
|
2088
|
+
"parameters": [
|
|
2089
|
+
{
|
|
2090
|
+
"name": "date",
|
|
2091
|
+
"type": {
|
|
2092
|
+
"text": "string | number | Date"
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2095
|
+
]
|
|
2391
2096
|
}
|
|
2392
2097
|
],
|
|
2393
2098
|
"attributes": [
|
|
2394
2099
|
{
|
|
2395
|
-
"name": "
|
|
2100
|
+
"name": "time-scale",
|
|
2396
2101
|
"type": {
|
|
2397
|
-
"text": "
|
|
2102
|
+
"text": "TimeScale"
|
|
2398
2103
|
},
|
|
2399
|
-
"default": "'
|
|
2400
|
-
"
|
|
2401
|
-
"fieldName": "label"
|
|
2104
|
+
"default": "'daily'",
|
|
2105
|
+
"fieldName": "timeScale"
|
|
2402
2106
|
},
|
|
2403
2107
|
{
|
|
2404
|
-
"name": "
|
|
2108
|
+
"name": "min-date",
|
|
2405
2109
|
"type": {
|
|
2406
2110
|
"text": "string"
|
|
2407
2111
|
},
|
|
2408
|
-
"
|
|
2409
|
-
"description": "name the combobox with this.",
|
|
2410
|
-
"fieldName": "name"
|
|
2112
|
+
"fieldName": "minDate"
|
|
2411
2113
|
},
|
|
2412
2114
|
{
|
|
2413
|
-
"name": "
|
|
2115
|
+
"name": "max-date",
|
|
2414
2116
|
"type": {
|
|
2415
2117
|
"text": "string"
|
|
2416
2118
|
},
|
|
2417
|
-
"
|
|
2418
|
-
"fieldName": "placeholder"
|
|
2119
|
+
"fieldName": "maxDate"
|
|
2419
2120
|
},
|
|
2420
2121
|
{
|
|
2421
|
-
"name": "
|
|
2122
|
+
"name": "start-date",
|
|
2422
2123
|
"type": {
|
|
2423
|
-
"text": "
|
|
2124
|
+
"text": "string"
|
|
2424
2125
|
},
|
|
2425
|
-
"
|
|
2426
|
-
"
|
|
2427
|
-
"fieldName": "hideHelp"
|
|
2126
|
+
"description": "The start date for the time series plot.",
|
|
2127
|
+
"fieldName": "startDate"
|
|
2428
2128
|
},
|
|
2429
2129
|
{
|
|
2430
|
-
"name": "
|
|
2130
|
+
"name": "end-date",
|
|
2431
2131
|
"type": {
|
|
2432
|
-
"text": "
|
|
2132
|
+
"text": "string"
|
|
2433
2133
|
},
|
|
2434
|
-
"
|
|
2435
|
-
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
2436
|
-
"fieldName": "hideLabel"
|
|
2134
|
+
"fieldName": "endDate"
|
|
2437
2135
|
},
|
|
2438
2136
|
{
|
|
2439
|
-
"name": "
|
|
2137
|
+
"name": "disabled",
|
|
2440
2138
|
"type": {
|
|
2441
|
-
"text": "
|
|
2139
|
+
"text": "boolean"
|
|
2442
2140
|
},
|
|
2443
|
-
"default": "
|
|
2444
|
-
"
|
|
2445
|
-
"fieldName": "status"
|
|
2141
|
+
"default": "false",
|
|
2142
|
+
"fieldName": "disabled"
|
|
2446
2143
|
},
|
|
2447
2144
|
{
|
|
2448
|
-
"name": "
|
|
2145
|
+
"name": "has-pips",
|
|
2449
2146
|
"type": {
|
|
2450
|
-
"text": "
|
|
2147
|
+
"text": "boolean"
|
|
2451
2148
|
},
|
|
2452
|
-
"default": "
|
|
2453
|
-
"
|
|
2454
|
-
"fieldName": "content"
|
|
2149
|
+
"default": "true",
|
|
2150
|
+
"fieldName": "hasPips"
|
|
2455
2151
|
}
|
|
2456
2152
|
],
|
|
2457
2153
|
"superclass": {
|
|
2458
2154
|
"name": "TerraElement",
|
|
2459
2155
|
"module": "/src/internal/terra-element.js"
|
|
2460
2156
|
},
|
|
2461
|
-
"summary": "
|
|
2462
|
-
"tagNameWithoutPrefix": "
|
|
2463
|
-
"tagName": "terra-
|
|
2157
|
+
"summary": "Short summary of the component's intended use.",
|
|
2158
|
+
"tagNameWithoutPrefix": "date-range-slider",
|
|
2159
|
+
"tagName": "terra-date-range-slider",
|
|
2464
2160
|
"customElement": true,
|
|
2465
|
-
"jsDoc": "/**\n * @summary
|
|
2466
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
2161
|
+
"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 */",
|
|
2162
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/date-range-slider",
|
|
2467
2163
|
"status": "experimental",
|
|
2468
2164
|
"since": "1.0"
|
|
2469
2165
|
}
|
|
@@ -2473,137 +2169,174 @@
|
|
|
2473
2169
|
"kind": "js",
|
|
2474
2170
|
"name": "default",
|
|
2475
2171
|
"declaration": {
|
|
2476
|
-
"name": "
|
|
2477
|
-
"module": "components/
|
|
2172
|
+
"name": "TerraDateRangeSlider",
|
|
2173
|
+
"module": "components/date-range-slider/date-range-slider.js"
|
|
2478
2174
|
}
|
|
2479
2175
|
}
|
|
2480
2176
|
]
|
|
2481
2177
|
},
|
|
2482
2178
|
{
|
|
2483
2179
|
"kind": "javascript-module",
|
|
2484
|
-
"path": "components/
|
|
2180
|
+
"path": "components/dialog/dialog.js",
|
|
2485
2181
|
"declarations": [
|
|
2486
2182
|
{
|
|
2487
2183
|
"kind": "class",
|
|
2488
2184
|
"description": "",
|
|
2489
|
-
"name": "
|
|
2185
|
+
"name": "TerraDialog",
|
|
2186
|
+
"slots": [
|
|
2187
|
+
{
|
|
2188
|
+
"description": "The dialog's main content",
|
|
2189
|
+
"name": ""
|
|
2190
|
+
}
|
|
2191
|
+
],
|
|
2490
2192
|
"members": [
|
|
2491
2193
|
{
|
|
2492
2194
|
"kind": "field",
|
|
2493
|
-
"name": "
|
|
2494
|
-
"
|
|
2195
|
+
"name": "dialogEl",
|
|
2196
|
+
"type": {
|
|
2197
|
+
"text": "HTMLDialogElement"
|
|
2198
|
+
}
|
|
2495
2199
|
},
|
|
2496
2200
|
{
|
|
2497
2201
|
"kind": "field",
|
|
2498
|
-
"name": "
|
|
2499
|
-
"
|
|
2202
|
+
"name": "id",
|
|
2203
|
+
"type": {
|
|
2204
|
+
"text": "string"
|
|
2205
|
+
},
|
|
2206
|
+
"description": "the ID to be used for accessibility associations",
|
|
2207
|
+
"attribute": "id"
|
|
2500
2208
|
},
|
|
2501
2209
|
{
|
|
2502
2210
|
"kind": "field",
|
|
2503
|
-
"name": "
|
|
2504
|
-
"
|
|
2211
|
+
"name": "width",
|
|
2212
|
+
"type": {
|
|
2213
|
+
"text": "string"
|
|
2214
|
+
},
|
|
2215
|
+
"default": "'500px'",
|
|
2216
|
+
"description": "the width of the dialog",
|
|
2217
|
+
"attribute": "width",
|
|
2218
|
+
"reflects": true
|
|
2219
|
+
},
|
|
2220
|
+
{
|
|
2221
|
+
"kind": "field",
|
|
2222
|
+
"name": "open",
|
|
2223
|
+
"type": {
|
|
2224
|
+
"text": "boolean"
|
|
2225
|
+
},
|
|
2226
|
+
"default": "false",
|
|
2227
|
+
"description": "used to set the dialog's open state",
|
|
2228
|
+
"attribute": "open",
|
|
2229
|
+
"reflects": true
|
|
2505
2230
|
},
|
|
2506
2231
|
{
|
|
2507
2232
|
"kind": "field",
|
|
2508
|
-
"name": "
|
|
2509
|
-
"
|
|
2510
|
-
|
|
2233
|
+
"name": "clickOutsideToClose",
|
|
2234
|
+
"type": {
|
|
2235
|
+
"text": "boolean"
|
|
2236
|
+
},
|
|
2237
|
+
"default": "true",
|
|
2238
|
+
"description": "allow closing the dialog when clicking outside of it",
|
|
2239
|
+
"attribute": "click-outside-to-close",
|
|
2240
|
+
"reflects": true
|
|
2511
2241
|
},
|
|
2512
2242
|
{
|
|
2513
2243
|
"kind": "field",
|
|
2514
|
-
"name": "
|
|
2244
|
+
"name": "showBackdrop",
|
|
2515
2245
|
"type": {
|
|
2516
|
-
"text": "
|
|
2246
|
+
"text": "boolean"
|
|
2517
2247
|
},
|
|
2518
|
-
"
|
|
2519
|
-
"
|
|
2248
|
+
"default": "true",
|
|
2249
|
+
"description": "Show a backdrop behind the dialog",
|
|
2250
|
+
"attribute": "show-backdrop",
|
|
2251
|
+
"reflects": true
|
|
2520
2252
|
},
|
|
2521
2253
|
{
|
|
2522
2254
|
"kind": "method",
|
|
2523
|
-
"name": "
|
|
2524
|
-
"return": {
|
|
2525
|
-
"type": {
|
|
2526
|
-
"text": "Promise<string>"
|
|
2527
|
-
}
|
|
2528
|
-
},
|
|
2529
|
-
"parameters": [
|
|
2530
|
-
{
|
|
2531
|
-
"name": "signal",
|
|
2532
|
-
"type": {
|
|
2533
|
-
"text": "AbortSignal"
|
|
2534
|
-
}
|
|
2535
|
-
}
|
|
2536
|
-
],
|
|
2537
|
-
"description": "Using a fetch that contains our credentials, get a code from EDL that we can use to exchange for an JWT."
|
|
2255
|
+
"name": "toggle"
|
|
2538
2256
|
},
|
|
2539
2257
|
{
|
|
2540
2258
|
"kind": "method",
|
|
2541
|
-
"name": "
|
|
2542
|
-
"parameters": [
|
|
2543
|
-
{
|
|
2544
|
-
"name": "code",
|
|
2545
|
-
"type": {
|
|
2546
|
-
"text": "string"
|
|
2547
|
-
}
|
|
2548
|
-
},
|
|
2549
|
-
{
|
|
2550
|
-
"name": "signal",
|
|
2551
|
-
"type": {
|
|
2552
|
-
"text": "AbortSignal"
|
|
2553
|
-
}
|
|
2554
|
-
}
|
|
2555
|
-
],
|
|
2556
|
-
"description": "Check for a code and attempt to exchange it for a JWT, accessing only the access_token."
|
|
2259
|
+
"name": "show"
|
|
2557
2260
|
},
|
|
2558
2261
|
{
|
|
2559
2262
|
"kind": "method",
|
|
2560
|
-
"name": "
|
|
2561
|
-
"parameters": [
|
|
2562
|
-
{
|
|
2563
|
-
"name": "event",
|
|
2564
|
-
"type": {
|
|
2565
|
-
"text": "SubmitEvent"
|
|
2566
|
-
}
|
|
2567
|
-
}
|
|
2568
|
-
],
|
|
2569
|
-
"description": "If the user submits our form to log in to EDL, use a fetch request to get an authorization code, then exchange it for an access token."
|
|
2263
|
+
"name": "hide"
|
|
2570
2264
|
},
|
|
2571
2265
|
{
|
|
2572
2266
|
"kind": "method",
|
|
2573
|
-
"name": "#
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2267
|
+
"name": "#handleBackdropClick"
|
|
2268
|
+
}
|
|
2269
|
+
],
|
|
2270
|
+
"events": [
|
|
2271
|
+
{
|
|
2272
|
+
"description": "Emitted when the dialog opens.",
|
|
2273
|
+
"name": "terra-dialog-show",
|
|
2274
|
+
"reactName": "onTerraDialogShow",
|
|
2275
|
+
"eventName": "TerraDialogShowEvent"
|
|
2582
2276
|
},
|
|
2583
2277
|
{
|
|
2584
|
-
"
|
|
2585
|
-
"name": "
|
|
2586
|
-
"
|
|
2278
|
+
"description": "Emitted when the dialog closes.",
|
|
2279
|
+
"name": "terra-dialog-hide",
|
|
2280
|
+
"reactName": "onTerraDialogHide",
|
|
2281
|
+
"eventName": "TerraDialogHideEvent"
|
|
2587
2282
|
}
|
|
2588
2283
|
],
|
|
2589
|
-
"
|
|
2284
|
+
"attributes": [
|
|
2590
2285
|
{
|
|
2591
|
-
"
|
|
2592
|
-
"
|
|
2593
|
-
|
|
2594
|
-
|
|
2286
|
+
"name": "id",
|
|
2287
|
+
"type": {
|
|
2288
|
+
"text": "string"
|
|
2289
|
+
},
|
|
2290
|
+
"description": "the ID to be used for accessibility associations",
|
|
2291
|
+
"fieldName": "id"
|
|
2292
|
+
},
|
|
2293
|
+
{
|
|
2294
|
+
"name": "width",
|
|
2295
|
+
"type": {
|
|
2296
|
+
"text": "string"
|
|
2297
|
+
},
|
|
2298
|
+
"default": "'500px'",
|
|
2299
|
+
"description": "the width of the dialog",
|
|
2300
|
+
"fieldName": "width"
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
"name": "open",
|
|
2304
|
+
"type": {
|
|
2305
|
+
"text": "boolean"
|
|
2306
|
+
},
|
|
2307
|
+
"default": "false",
|
|
2308
|
+
"description": "used to set the dialog's open state",
|
|
2309
|
+
"fieldName": "open"
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
"name": "click-outside-to-close",
|
|
2313
|
+
"type": {
|
|
2314
|
+
"text": "boolean"
|
|
2315
|
+
},
|
|
2316
|
+
"default": "true",
|
|
2317
|
+
"description": "allow closing the dialog when clicking outside of it",
|
|
2318
|
+
"fieldName": "clickOutsideToClose"
|
|
2319
|
+
},
|
|
2320
|
+
{
|
|
2321
|
+
"name": "show-backdrop",
|
|
2322
|
+
"type": {
|
|
2323
|
+
"text": "boolean"
|
|
2324
|
+
},
|
|
2325
|
+
"default": "true",
|
|
2326
|
+
"description": "Show a backdrop behind the dialog",
|
|
2327
|
+
"fieldName": "showBackdrop"
|
|
2595
2328
|
}
|
|
2596
2329
|
],
|
|
2597
2330
|
"superclass": {
|
|
2598
2331
|
"name": "TerraElement",
|
|
2599
2332
|
"module": "/src/internal/terra-element.js"
|
|
2600
2333
|
},
|
|
2601
|
-
"summary": "
|
|
2602
|
-
"tagNameWithoutPrefix": "
|
|
2603
|
-
"tagName": "terra-
|
|
2334
|
+
"summary": "Used to create both modal and non-modal dialog boxes.",
|
|
2335
|
+
"tagNameWithoutPrefix": "dialog",
|
|
2336
|
+
"tagName": "terra-dialog",
|
|
2604
2337
|
"customElement": true,
|
|
2605
|
-
"jsDoc": "/**\n * @summary
|
|
2606
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
2338
|
+
"jsDoc": "/**\n * @summary Used to create both modal and non-modal dialog boxes.\n * @documentation https://disc.gsfc.nasa.gov/components/dialog\n * @status stable\n * @since 1.0\n *\n * @slot - The dialog's main content\n *\n * @event terra-dialog-show - Emitted when the dialog opens.\n * @event terra-dialog-hide - Emitted when the dialog closes.\n */",
|
|
2339
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/dialog",
|
|
2607
2340
|
"status": "stable",
|
|
2608
2341
|
"since": "1.0"
|
|
2609
2342
|
}
|
|
@@ -2613,8 +2346,8 @@
|
|
|
2613
2346
|
"kind": "js",
|
|
2614
2347
|
"name": "default",
|
|
2615
2348
|
"declaration": {
|
|
2616
|
-
"name": "
|
|
2617
|
-
"module": "components/
|
|
2349
|
+
"name": "TerraDialog",
|
|
2350
|
+
"module": "components/dialog/dialog.js"
|
|
2618
2351
|
}
|
|
2619
2352
|
}
|
|
2620
2353
|
]
|
|
@@ -2766,70 +2499,210 @@
|
|
|
2766
2499
|
"fieldName": "minZoom"
|
|
2767
2500
|
},
|
|
2768
2501
|
{
|
|
2769
|
-
"name": "max-zoom",
|
|
2770
|
-
"type": {
|
|
2771
|
-
"text": "number"
|
|
2772
|
-
},
|
|
2773
|
-
"default": "23",
|
|
2774
|
-
"description": "Maximum zoom level of the map.",
|
|
2775
|
-
"fieldName": "maxZoom"
|
|
2502
|
+
"name": "max-zoom",
|
|
2503
|
+
"type": {
|
|
2504
|
+
"text": "number"
|
|
2505
|
+
},
|
|
2506
|
+
"default": "23",
|
|
2507
|
+
"description": "Maximum zoom level of the map.",
|
|
2508
|
+
"fieldName": "maxZoom"
|
|
2509
|
+
},
|
|
2510
|
+
{
|
|
2511
|
+
"name": "zoom",
|
|
2512
|
+
"type": {
|
|
2513
|
+
"text": "number"
|
|
2514
|
+
},
|
|
2515
|
+
"default": "1",
|
|
2516
|
+
"description": "Initial map zoom level",
|
|
2517
|
+
"fieldName": "zoom"
|
|
2518
|
+
},
|
|
2519
|
+
{
|
|
2520
|
+
"name": "has-navigation",
|
|
2521
|
+
"type": {
|
|
2522
|
+
"text": "boolean"
|
|
2523
|
+
},
|
|
2524
|
+
"default": "false",
|
|
2525
|
+
"description": "has map navigation toolbar",
|
|
2526
|
+
"fieldName": "hasNavigation"
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
"name": "has-coord-tracker",
|
|
2530
|
+
"type": {
|
|
2531
|
+
"text": "boolean"
|
|
2532
|
+
},
|
|
2533
|
+
"default": "false",
|
|
2534
|
+
"description": "has coordinate tracker",
|
|
2535
|
+
"fieldName": "hasCoordTracker"
|
|
2536
|
+
},
|
|
2537
|
+
{
|
|
2538
|
+
"name": "has-shape-selector",
|
|
2539
|
+
"type": {
|
|
2540
|
+
"text": "boolean"
|
|
2541
|
+
},
|
|
2542
|
+
"default": "false",
|
|
2543
|
+
"description": "has shape selector",
|
|
2544
|
+
"fieldName": "hasShapeSelector"
|
|
2545
|
+
},
|
|
2546
|
+
{
|
|
2547
|
+
"name": "value",
|
|
2548
|
+
"type": {
|
|
2549
|
+
"text": "any"
|
|
2550
|
+
},
|
|
2551
|
+
"default": "[]",
|
|
2552
|
+
"fieldName": "value"
|
|
2553
|
+
}
|
|
2554
|
+
],
|
|
2555
|
+
"superclass": {
|
|
2556
|
+
"name": "TerraElement",
|
|
2557
|
+
"module": "/src/internal/terra-element.js"
|
|
2558
|
+
},
|
|
2559
|
+
"summary": "A map component for visualizing and selecting coordinates.",
|
|
2560
|
+
"tagNameWithoutPrefix": "map",
|
|
2561
|
+
"tagName": "terra-map",
|
|
2562
|
+
"customElement": true,
|
|
2563
|
+
"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 */",
|
|
2564
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/map",
|
|
2565
|
+
"status": "mvp",
|
|
2566
|
+
"since": "1.0"
|
|
2567
|
+
}
|
|
2568
|
+
],
|
|
2569
|
+
"exports": [
|
|
2570
|
+
{
|
|
2571
|
+
"kind": "js",
|
|
2572
|
+
"name": "default",
|
|
2573
|
+
"declaration": {
|
|
2574
|
+
"name": "TerraMap",
|
|
2575
|
+
"module": "components/map/map.js"
|
|
2576
|
+
}
|
|
2577
|
+
}
|
|
2578
|
+
]
|
|
2579
|
+
},
|
|
2580
|
+
{
|
|
2581
|
+
"kind": "javascript-module",
|
|
2582
|
+
"path": "components/login/login.js",
|
|
2583
|
+
"declarations": [
|
|
2584
|
+
{
|
|
2585
|
+
"kind": "class",
|
|
2586
|
+
"description": "",
|
|
2587
|
+
"name": "TerraLogin",
|
|
2588
|
+
"members": [
|
|
2589
|
+
{
|
|
2590
|
+
"kind": "field",
|
|
2591
|
+
"name": "#clientID",
|
|
2592
|
+
"privacy": "private"
|
|
2593
|
+
},
|
|
2594
|
+
{
|
|
2595
|
+
"kind": "field",
|
|
2596
|
+
"name": "#formRef",
|
|
2597
|
+
"privacy": "private"
|
|
2598
|
+
},
|
|
2599
|
+
{
|
|
2600
|
+
"kind": "field",
|
|
2601
|
+
"name": "#serverURL",
|
|
2602
|
+
"privacy": "private"
|
|
2603
|
+
},
|
|
2604
|
+
{
|
|
2605
|
+
"kind": "field",
|
|
2606
|
+
"name": "#loginTask",
|
|
2607
|
+
"privacy": "private",
|
|
2608
|
+
"default": "new Task(this, {\n task: async ([], { signal }) => {\n const code = await this.#getAccessCode(signal)\n const accessToken = await this.#exchangeCodeForAccessToken(code, signal)\n\n this.emit('terra-login', { detail: accessToken })\n this.#clearForm()\n },\n })"
|
|
2776
2609
|
},
|
|
2777
2610
|
{
|
|
2778
|
-
"
|
|
2611
|
+
"kind": "field",
|
|
2612
|
+
"name": "dependencies",
|
|
2779
2613
|
"type": {
|
|
2780
|
-
"text": "
|
|
2614
|
+
"text": "object"
|
|
2781
2615
|
},
|
|
2782
|
-
"
|
|
2783
|
-
"
|
|
2784
|
-
"fieldName": "zoom"
|
|
2616
|
+
"static": true,
|
|
2617
|
+
"default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n 'terra-loader': TerraLoader,\n }"
|
|
2785
2618
|
},
|
|
2786
2619
|
{
|
|
2787
|
-
"
|
|
2788
|
-
"
|
|
2789
|
-
|
|
2620
|
+
"kind": "method",
|
|
2621
|
+
"name": "#getAccessCode",
|
|
2622
|
+
"return": {
|
|
2623
|
+
"type": {
|
|
2624
|
+
"text": "Promise<string>"
|
|
2625
|
+
}
|
|
2790
2626
|
},
|
|
2791
|
-
"
|
|
2792
|
-
|
|
2793
|
-
|
|
2627
|
+
"parameters": [
|
|
2628
|
+
{
|
|
2629
|
+
"name": "signal",
|
|
2630
|
+
"type": {
|
|
2631
|
+
"text": "AbortSignal"
|
|
2632
|
+
}
|
|
2633
|
+
}
|
|
2634
|
+
],
|
|
2635
|
+
"description": "Using a fetch that contains our credentials, get a code from EDL that we can use to exchange for an JWT."
|
|
2794
2636
|
},
|
|
2795
2637
|
{
|
|
2796
|
-
"
|
|
2797
|
-
"
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2638
|
+
"kind": "method",
|
|
2639
|
+
"name": "#exchangeCodeForAccessToken",
|
|
2640
|
+
"parameters": [
|
|
2641
|
+
{
|
|
2642
|
+
"name": "code",
|
|
2643
|
+
"type": {
|
|
2644
|
+
"text": "string"
|
|
2645
|
+
}
|
|
2646
|
+
},
|
|
2647
|
+
{
|
|
2648
|
+
"name": "signal",
|
|
2649
|
+
"type": {
|
|
2650
|
+
"text": "AbortSignal"
|
|
2651
|
+
}
|
|
2652
|
+
}
|
|
2653
|
+
],
|
|
2654
|
+
"description": "Check for a code and attempt to exchange it for a JWT, accessing only the access_token."
|
|
2803
2655
|
},
|
|
2804
2656
|
{
|
|
2805
|
-
"
|
|
2806
|
-
"
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2657
|
+
"kind": "method",
|
|
2658
|
+
"name": "#handleSubmit",
|
|
2659
|
+
"parameters": [
|
|
2660
|
+
{
|
|
2661
|
+
"name": "event",
|
|
2662
|
+
"type": {
|
|
2663
|
+
"text": "SubmitEvent"
|
|
2664
|
+
}
|
|
2665
|
+
}
|
|
2666
|
+
],
|
|
2667
|
+
"description": "If the user submits our form to log in to EDL, use a fetch request to get an authorization code, then exchange it for an access token."
|
|
2812
2668
|
},
|
|
2813
2669
|
{
|
|
2814
|
-
"
|
|
2815
|
-
"
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2670
|
+
"kind": "method",
|
|
2671
|
+
"name": "#handleKeypress",
|
|
2672
|
+
"parameters": [
|
|
2673
|
+
{
|
|
2674
|
+
"name": "event",
|
|
2675
|
+
"type": {
|
|
2676
|
+
"text": "KeyboardEvent"
|
|
2677
|
+
}
|
|
2678
|
+
}
|
|
2679
|
+
]
|
|
2680
|
+
},
|
|
2681
|
+
{
|
|
2682
|
+
"kind": "method",
|
|
2683
|
+
"name": "#clearForm",
|
|
2684
|
+
"description": "Clear the given form of all entries."
|
|
2685
|
+
}
|
|
2686
|
+
],
|
|
2687
|
+
"events": [
|
|
2688
|
+
{
|
|
2689
|
+
"description": "Emitted when a bearer token has been received from EDL.",
|
|
2690
|
+
"name": "terra-login",
|
|
2691
|
+
"reactName": "onTerraLogin",
|
|
2692
|
+
"eventName": "TerraLoginEvent"
|
|
2820
2693
|
}
|
|
2821
2694
|
],
|
|
2822
2695
|
"superclass": {
|
|
2823
2696
|
"name": "TerraElement",
|
|
2824
2697
|
"module": "/src/internal/terra-element.js"
|
|
2825
2698
|
},
|
|
2826
|
-
"summary": "A
|
|
2827
|
-
"tagNameWithoutPrefix": "
|
|
2828
|
-
"tagName": "terra-
|
|
2699
|
+
"summary": "A form that logs in to Earthdata Login (EDL) and returns a bearer token.",
|
|
2700
|
+
"tagNameWithoutPrefix": "login",
|
|
2701
|
+
"tagName": "terra-login",
|
|
2829
2702
|
"customElement": true,
|
|
2830
|
-
"jsDoc": "/**\n * @summary A
|
|
2831
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
2832
|
-
"status": "
|
|
2703
|
+
"jsDoc": "/**\n * @summary A form that logs in to Earthdata Login (EDL) and returns a bearer token.\n * @documentation https://disc.gsfc.nasa.gov/components/login\n * @status stable\n * @since 1.0\n *\n * @event terra-login - Emitted when a bearer token has been received from EDL.\n */",
|
|
2704
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/login",
|
|
2705
|
+
"status": "stable",
|
|
2833
2706
|
"since": "1.0"
|
|
2834
2707
|
}
|
|
2835
2708
|
],
|
|
@@ -2838,8 +2711,8 @@
|
|
|
2838
2711
|
"kind": "js",
|
|
2839
2712
|
"name": "default",
|
|
2840
2713
|
"declaration": {
|
|
2841
|
-
"name": "
|
|
2842
|
-
"module": "components/
|
|
2714
|
+
"name": "TerraLogin",
|
|
2715
|
+
"module": "components/login/login.js"
|
|
2843
2716
|
}
|
|
2844
2717
|
}
|
|
2845
2718
|
]
|
|
@@ -3388,6 +3261,133 @@
|
|
|
3388
3261
|
}
|
|
3389
3262
|
]
|
|
3390
3263
|
},
|
|
3264
|
+
{
|
|
3265
|
+
"kind": "javascript-module",
|
|
3266
|
+
"path": "components/loader/loader.js",
|
|
3267
|
+
"declarations": [
|
|
3268
|
+
{
|
|
3269
|
+
"kind": "class",
|
|
3270
|
+
"description": "",
|
|
3271
|
+
"name": "TerraLoader",
|
|
3272
|
+
"cssProperties": [
|
|
3273
|
+
{
|
|
3274
|
+
"description": "An example CSS custom property.",
|
|
3275
|
+
"name": "--example"
|
|
3276
|
+
}
|
|
3277
|
+
],
|
|
3278
|
+
"cssParts": [
|
|
3279
|
+
{
|
|
3280
|
+
"description": "The component's base wrapper.",
|
|
3281
|
+
"name": "base"
|
|
3282
|
+
}
|
|
3283
|
+
],
|
|
3284
|
+
"members": [
|
|
3285
|
+
{
|
|
3286
|
+
"kind": "field",
|
|
3287
|
+
"name": "variant",
|
|
3288
|
+
"type": {
|
|
3289
|
+
"text": "'small' | 'large' | 'orbit'"
|
|
3290
|
+
},
|
|
3291
|
+
"default": "'large'",
|
|
3292
|
+
"description": "The loader's variant",
|
|
3293
|
+
"attribute": "variant",
|
|
3294
|
+
"reflects": true
|
|
3295
|
+
},
|
|
3296
|
+
{
|
|
3297
|
+
"kind": "field",
|
|
3298
|
+
"name": "percent",
|
|
3299
|
+
"type": {
|
|
3300
|
+
"text": "string"
|
|
3301
|
+
},
|
|
3302
|
+
"default": "'0'",
|
|
3303
|
+
"description": "The percent complete for the loader to display",
|
|
3304
|
+
"attribute": "percent"
|
|
3305
|
+
},
|
|
3306
|
+
{
|
|
3307
|
+
"kind": "field",
|
|
3308
|
+
"name": "indeterminate",
|
|
3309
|
+
"type": {
|
|
3310
|
+
"text": "boolean"
|
|
3311
|
+
},
|
|
3312
|
+
"default": "false",
|
|
3313
|
+
"description": "an indeterminate loader has an unknown progress and will show a spinner",
|
|
3314
|
+
"attribute": "indeterminate"
|
|
3315
|
+
},
|
|
3316
|
+
{
|
|
3317
|
+
"kind": "field",
|
|
3318
|
+
"name": "_currentPercent",
|
|
3319
|
+
"type": {
|
|
3320
|
+
"text": "number"
|
|
3321
|
+
},
|
|
3322
|
+
"default": "0"
|
|
3323
|
+
},
|
|
3324
|
+
{
|
|
3325
|
+
"kind": "method",
|
|
3326
|
+
"name": "formatPercent",
|
|
3327
|
+
"parameters": [
|
|
3328
|
+
{
|
|
3329
|
+
"name": "percent",
|
|
3330
|
+
"type": {
|
|
3331
|
+
"text": "string"
|
|
3332
|
+
}
|
|
3333
|
+
}
|
|
3334
|
+
]
|
|
3335
|
+
}
|
|
3336
|
+
],
|
|
3337
|
+
"attributes": [
|
|
3338
|
+
{
|
|
3339
|
+
"name": "variant",
|
|
3340
|
+
"type": {
|
|
3341
|
+
"text": "'small' | 'large' | 'orbit'"
|
|
3342
|
+
},
|
|
3343
|
+
"default": "'large'",
|
|
3344
|
+
"description": "The loader's variant",
|
|
3345
|
+
"fieldName": "variant"
|
|
3346
|
+
},
|
|
3347
|
+
{
|
|
3348
|
+
"name": "percent",
|
|
3349
|
+
"type": {
|
|
3350
|
+
"text": "string"
|
|
3351
|
+
},
|
|
3352
|
+
"default": "'0'",
|
|
3353
|
+
"description": "The percent complete for the loader to display",
|
|
3354
|
+
"fieldName": "percent"
|
|
3355
|
+
},
|
|
3356
|
+
{
|
|
3357
|
+
"name": "indeterminate",
|
|
3358
|
+
"type": {
|
|
3359
|
+
"text": "boolean"
|
|
3360
|
+
},
|
|
3361
|
+
"default": "false",
|
|
3362
|
+
"description": "an indeterminate loader has an unknown progress and will show a spinner",
|
|
3363
|
+
"fieldName": "indeterminate"
|
|
3364
|
+
}
|
|
3365
|
+
],
|
|
3366
|
+
"superclass": {
|
|
3367
|
+
"name": "TerraElement",
|
|
3368
|
+
"module": "/src/internal/terra-element.js"
|
|
3369
|
+
},
|
|
3370
|
+
"summary": "Loaders are used to indicate there is content that is loading.",
|
|
3371
|
+
"tagNameWithoutPrefix": "loader",
|
|
3372
|
+
"tagName": "terra-loader",
|
|
3373
|
+
"customElement": true,
|
|
3374
|
+
"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 */",
|
|
3375
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/loader",
|
|
3376
|
+
"status": "experimental",
|
|
3377
|
+
"since": "1.0"
|
|
3378
|
+
}
|
|
3379
|
+
],
|
|
3380
|
+
"exports": [
|
|
3381
|
+
{
|
|
3382
|
+
"kind": "js",
|
|
3383
|
+
"name": "default",
|
|
3384
|
+
"declaration": {
|
|
3385
|
+
"name": "TerraLoader",
|
|
3386
|
+
"module": "components/loader/loader.js"
|
|
3387
|
+
}
|
|
3388
|
+
}
|
|
3389
|
+
]
|
|
3390
|
+
},
|
|
3391
3391
|
{
|
|
3392
3392
|
"kind": "javascript-module",
|
|
3393
3393
|
"path": "components/time-series/time-series.js",
|
|
@@ -4267,7 +4267,7 @@
|
|
|
4267
4267
|
"package": {
|
|
4268
4268
|
"name": "@nasa-terra/components",
|
|
4269
4269
|
"description": "A collection of NASA Earthdata components",
|
|
4270
|
-
"version": "0.0.
|
|
4270
|
+
"version": "0.0.29",
|
|
4271
4271
|
"author": "NASA GES DISC <https://disc.gsfc.nasa.gov>",
|
|
4272
4272
|
"homepage": "https://github.com/gesdisc/components",
|
|
4273
4273
|
"license": "MIT"
|