@nasa-terra/components 0.0.44 → 0.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.CN4PWRCO.js → chunk.2BBYUVXZ.js} +1 -1
- package/cdn/chunks/{chunk.KIR56MAA.js → chunk.2JVFCPZQ.js} +2 -2
- package/cdn/chunks/{chunk.HD45UIMB.js → chunk.2XTKUKIB.js} +1 -1
- package/{dist/chunks/chunk.52RLSCIQ.js → cdn/chunks/chunk.3S6YU4GV.js} +1 -1
- package/cdn/chunks/{chunk.USSYORDO.js → chunk.4IAWGN7F.js} +1 -1
- package/{dist/chunks/chunk.EDJCUWA4.js → cdn/chunks/chunk.4Z4SJPRM.js} +1 -1
- package/cdn/chunks/{chunk.GZHR4GPY.js → chunk.6EHV6K3S.js} +1 -1
- package/cdn/chunks/{chunk.MV5I3VKS.js → chunk.AIVF2LYW.js} +1 -1
- package/{dist/chunks/chunk.RC5E6NBB.js → cdn/chunks/chunk.BIBODSR4.js} +1 -1
- package/{dist/chunks/chunk.ULVN2SXP.js → cdn/chunks/chunk.BSPUHX7G.js} +1 -1
- package/cdn/chunks/{chunk.KXV2VFRZ.js → chunk.CZILWG23.js} +1 -1
- package/cdn/chunks/{chunk.PKYRPEMV.js → chunk.DDY3FGPF.js} +1 -1
- package/cdn/chunks/{chunk.ZHZZPGPK.js → chunk.DF3GGEJ5.js} +1 -1
- package/cdn/chunks/{chunk.KK22KVB3.js → chunk.DWZFUOHR.js} +1 -1
- package/{dist/chunks/chunk.WRORP5RY.js → cdn/chunks/chunk.EBWKHD35.js} +1 -1
- package/cdn/chunks/{chunk.UZCXIGUR.js → chunk.EDZIBUTU.js} +1 -1
- package/cdn/chunks/{chunk.OW6RZGKY.js → chunk.FE7PKR4T.js} +1 -1
- package/cdn/chunks/{chunk.K23IQJ74.js → chunk.FKZEIUI7.js} +1 -1
- package/cdn/chunks/{chunk.EWAYMWRC.js → chunk.FM3UWDOB.js} +1 -1
- package/cdn/chunks/{chunk.6EHGJWBN.js → chunk.HEVFNGHQ.js} +4 -4
- package/{dist/chunks/chunk.SL3QWNRH.js → cdn/chunks/chunk.HFCQI2MX.js} +1 -1
- package/{dist/chunks/chunk.UOP2MA5G.js → cdn/chunks/chunk.HSD63J4K.js} +1 -1
- package/cdn/chunks/{chunk.6UN7FSXA.js → chunk.J53H64HP.js} +4 -4
- package/{dist/chunks/chunk.CTKWZYCZ.js → cdn/chunks/chunk.KDZX6267.js} +1 -1
- package/cdn/chunks/{chunk.ZY5TXYJA.js → chunk.KP4VCTRF.js} +1 -1
- package/cdn/chunks/{chunk.GYLB33OZ.js → chunk.LSHZ2GJS.js} +1 -1
- package/{dist/chunks/chunk.FJY7NGMR.js → cdn/chunks/chunk.LW4FDJZV.js} +1 -1
- package/cdn/chunks/{chunk.GL6JG3XV.js → chunk.NZQLJJWI.js} +1 -1
- package/{dist/chunks/chunk.A47KLFGG.js → cdn/chunks/chunk.O73IBY6C.js} +1 -1
- package/{dist/chunks/chunk.QK4DTBQI.js → cdn/chunks/chunk.QI4CW6SZ.js} +1 -1
- package/cdn/chunks/{chunk.VSQYJO47.js → chunk.QWNJZLAC.js} +1 -1
- package/cdn/chunks/{chunk.G3KUAHGF.js → chunk.RCPEY33L.js} +6 -6
- package/cdn/chunks/{chunk.UKALN6V5.js → chunk.REGE7WJB.js} +1 -1
- package/cdn/chunks/{chunk.H23L4QKO.js → chunk.RN6XJ3EC.js} +1 -1
- package/cdn/chunks/{chunk.SUGFD7E6.js → chunk.SLY7YUFC.js} +1 -1
- package/cdn/chunks/{chunk.E32UNFUD.js → chunk.SVB6CWAO.js} +7 -7
- package/{dist/chunks/chunk.6MJHY2LT.js → cdn/chunks/chunk.T6GXXTCR.js} +1 -1
- package/cdn/chunks/{chunk.2BFX62WX.js → chunk.TEWFW2B2.js} +1 -1
- package/cdn/chunks/{chunk.QY4XLR3T.js → chunk.TWMOVOPK.js} +1 -1
- package/{dist/chunks/chunk.ZWQU3GYF.js → cdn/chunks/chunk.U5KI6JRO.js} +1 -1
- package/cdn/chunks/{chunk.RMO3MGXB.js → chunk.UOAXJTR4.js} +1 -1
- package/cdn/chunks/{chunk.TIU73DG7.js → chunk.UQYGB6XL.js} +80 -21
- package/cdn/chunks/{chunk.EDHE5LYN.js → chunk.VD37HWZF.js} +6 -6
- package/cdn/chunks/{chunk.WMCV5DKE.js → chunk.VV7CXX5L.js} +8 -8
- package/cdn/chunks/{chunk.SRPUN5BY.js → chunk.VWQZIINL.js} +1 -1
- package/cdn/chunks/{chunk.4VENQJPO.js → chunk.XGF2P4YV.js} +1 -1
- package/cdn/chunks/{chunk.OEZDKHKJ.js → chunk.XSXK5XPO.js} +1 -1
- package/{dist/chunks/chunk.5DABND4A.js → cdn/chunks/chunk.Y6FGE5IT.js} +1 -1
- package/cdn/chunks/{chunk.5BHGM65J.js → chunk.Y7P4LXE6.js} +5 -5
- package/cdn/chunks/{chunk.LJJH36WV.js → chunk.YDTFMWV3.js} +1 -1
- package/cdn/chunks/{chunk.3I2TF7C4.js → chunk.YHH2QGV3.js} +1 -1
- package/cdn/chunks/{chunk.BW6HVRN4.js → chunk.YZXMJRFT.js} +1 -1
- package/cdn/chunks/{chunk.ZXAVHSML.js → chunk.ZPUZYX2F.js} +1 -1
- package/cdn/chunks/{chunk.KTWUFC2X.js → chunk.ZROILKPX.js} +1 -1
- package/{dist/chunks/chunk.M7XZCYLE.js → cdn/chunks/chunk.ZX2ZNCYX.js} +1 -1
- package/cdn/components/browse-variables/browse-variables.component.js +10 -10
- package/cdn/components/browse-variables/browse-variables.js +11 -11
- 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/data-rods/data-rods.component.js +19 -19
- package/cdn/components/data-rods/data-rods.js +20 -20
- package/cdn/components/date-picker/date-picker.component.js +2 -2
- package/cdn/components/date-picker/date-picker.js +3 -3
- 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/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +9 -9
- package/cdn/components/login/login.js +10 -10
- 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 +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- 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 +7 -7
- package/cdn/components/time-series/time-series.js +8 -8
- package/cdn/components/variable-combobox/variable-combobox.component.js +8 -8
- package/cdn/components/variable-combobox/variable-combobox.js +9 -9
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +7 -7
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +8 -8
- package/cdn/custom-elements.json +868 -864
- package/cdn/react/browse-variables/index.js +11 -11
- 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/data-rods/index.js +20 -20
- package/cdn/react/date-picker/index.js +3 -3
- package/cdn/react/date-range-slider/index.js +3 -3
- package/cdn/react/dialog/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/index.d.ts +3 -3
- package/cdn/react/index.js +63 -63
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +10 -10
- package/cdn/react/map/index.js +3 -3
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spatial-picker/index.js +4 -4
- package/cdn/react/time-series/index.js +8 -8
- package/cdn/react/variable-combobox/index.js +9 -9
- package/cdn/react/variable-keyword-search/index.js +8 -8
- package/cdn/terra-ui-components.js +55 -55
- package/cdn/types/vue/index.d.ts +67 -67
- package/cdn/vscode.html-custom-data.json +109 -109
- package/cdn/web-types.json +204 -204
- package/dist/chunks/{chunk.KGKLK3DV.js → chunk.2R2CMZU5.js} +1 -1
- package/{cdn/chunks/chunk.EMBXVUIE.js → dist/chunks/chunk.3C5R6F2R.js} +1 -1
- package/{cdn/chunks/chunk.HWTTKAUR.js → dist/chunks/chunk.3CTBJXJY.js} +1 -1
- package/dist/chunks/{chunk.CKS4QWQE.js → chunk.44QP2ERH.js} +1 -1
- package/dist/chunks/{chunk.HKMS63V6.js → chunk.47RYAEL6.js} +1 -1
- package/{cdn/chunks/chunk.CXMIJOGY.js → dist/chunks/chunk.4AMT22AE.js} +1 -1
- package/{cdn/chunks/chunk.LIQO4PBF.js → dist/chunks/chunk.6DOKSRWY.js} +1 -1
- package/dist/chunks/{chunk.CHZXTZZ6.js → chunk.6XHLGITH.js} +1 -1
- package/{cdn/chunks/chunk.2ZL3QN2E.js → dist/chunks/chunk.75SJTCIV.js} +1 -1
- package/dist/chunks/{chunk.QKGUST2I.js → chunk.7ZF43BLB.js} +1 -1
- package/dist/chunks/{chunk.UHD5HEEK.js → chunk.7ZPJWNP3.js} +1 -1
- package/{cdn/chunks/chunk.4DO5RUBU.js → dist/chunks/chunk.A7QBYP2G.js} +1 -1
- package/{cdn/chunks/chunk.QRIUCU7O.js → dist/chunks/chunk.BA5UHVQA.js} +1 -1
- package/dist/chunks/{chunk.NJ5NIZJK.js → chunk.BMR2MSLS.js} +1 -1
- package/dist/chunks/{chunk.DCR4GMG7.js → chunk.CBBRYITQ.js} +4 -4
- package/{cdn/chunks/chunk.BXSJFGGP.js → dist/chunks/chunk.CBPNOBYV.js} +1 -1
- package/dist/chunks/{chunk.IQ2JFSLH.js → chunk.DKAE3S5I.js} +4 -4
- package/dist/chunks/{chunk.VHF2RWLV.js → chunk.DUGMF3IG.js} +1 -1
- package/{cdn/chunks/chunk.JQETEJPO.js → dist/chunks/chunk.EDRHDXR5.js} +1 -1
- package/dist/chunks/{chunk.LFVSYBJ6.js → chunk.EQN4RFGU.js} +1 -1
- package/dist/chunks/{chunk.MHW3M233.js → chunk.GIJRARNO.js} +1 -1
- package/dist/chunks/{chunk.7MYJSSR2.js → chunk.H4HQMP7O.js} +1 -1
- package/{cdn/chunks/chunk.7MU72IVZ.js → dist/chunks/chunk.HHQCCB7G.js} +1 -1
- package/dist/chunks/{chunk.NR52OX3V.js → chunk.HO7IFKH7.js} +1 -1
- package/dist/chunks/{chunk.XU3O2MRF.js → chunk.I2NF2HZM.js} +1 -1
- package/dist/chunks/{chunk.ESECO74J.js → chunk.K4PW2RMT.js} +1 -1
- package/{cdn/chunks/chunk.EABPJM4K.js → dist/chunks/chunk.KB7LV3EL.js} +1 -1
- package/dist/chunks/{chunk.YELLRFJE.js → chunk.LE33GS2U.js} +3 -3
- package/dist/chunks/{chunk.32RDASOD.js → chunk.LO5DQW6B.js} +1 -1
- package/dist/chunks/{chunk.MXH5Q7I5.js → chunk.LYNMSIPM.js} +1 -1
- package/dist/chunks/{chunk.V626KHDN.js → chunk.MEPZIAGL.js} +1 -1
- package/{cdn/chunks/chunk.JACHBLN5.js → dist/chunks/chunk.MLOEWNPV.js} +1 -1
- package/dist/chunks/{chunk.LF3ESETA.js → chunk.MS6UNHXS.js} +1 -1
- package/dist/chunks/{chunk.DIKJ5W4E.js → chunk.MUOIGLIS.js} +2 -2
- package/{cdn/chunks/chunk.5BZ4EDIL.js → dist/chunks/chunk.NHJ3EBNG.js} +1 -1
- package/dist/chunks/{chunk.VYB75K7O.js → chunk.NHW27P5N.js} +1 -1
- package/{cdn/chunks/chunk.GCAMRTXJ.js → dist/chunks/chunk.NWOLKB4W.js} +1 -1
- package/dist/chunks/{chunk.A7Q6OO46.js → chunk.NY5ELIGL.js} +1 -1
- package/dist/chunks/{chunk.IEQVLL66.js → chunk.NZCOLBOI.js} +1 -1
- package/dist/chunks/{chunk.5BT6LJZ6.js → chunk.O4UZCLJJ.js} +1 -1
- package/dist/chunks/{chunk.352OXOVF.js → chunk.Q6DRT4JH.js} +1 -1
- package/dist/chunks/{chunk.LCOAWJU6.js → chunk.QW3YB4FP.js} +80 -21
- package/dist/chunks/{chunk.PGUBFDZW.js → chunk.RMHKCYA6.js} +1 -1
- package/dist/chunks/{chunk.OYJLDWJF.js → chunk.RT2CYLEI.js} +1 -1
- package/{cdn/chunks/chunk.4YMYCX75.js → dist/chunks/chunk.S2YNNRAG.js} +1 -1
- package/dist/chunks/{chunk.56MFLZCU.js → chunk.TY6D5XAZ.js} +1 -1
- package/dist/chunks/{chunk.ROVNWARW.js → chunk.V3AQ3G4R.js} +1 -1
- package/dist/chunks/{chunk.UDS7BHM7.js → chunk.VFU2O56V.js} +7 -7
- package/dist/chunks/{chunk.M4PEGCWF.js → chunk.VQIZ36B7.js} +6 -6
- package/dist/chunks/{chunk.EBTGXENT.js → chunk.WAHH4JE5.js} +1 -1
- package/dist/chunks/{chunk.E2DOVBIM.js → chunk.WW7KBC2J.js} +4 -4
- package/dist/chunks/{chunk.KKSEBQNV.js → chunk.XMJAGELF.js} +1 -1
- package/dist/chunks/{chunk.C6ZJJG4V.js → chunk.YNJTPABM.js} +1 -1
- package/dist/chunks/{chunk.LJOF4Z47.js → chunk.Z7YYSHP5.js} +6 -6
- package/dist/chunks/{chunk.ABNZX7AU.js → chunk.ZMMA3LHG.js} +1 -1
- package/dist/components/browse-variables/browse-variables.component.js +10 -10
- package/dist/components/browse-variables/browse-variables.js +11 -11
- package/dist/components/button/button.component.js +3 -3
- package/dist/components/button/button.js +4 -4
- package/dist/components/chip/chip.component.js +2 -2
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/combobox/combobox.component.js +3 -3
- package/dist/components/combobox/combobox.js +4 -4
- package/dist/components/data-rods/data-rods.component.js +18 -18
- package/dist/components/data-rods/data-rods.js +19 -19
- package/dist/components/date-picker/date-picker.component.js +2 -2
- package/dist/components/date-picker/date-picker.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/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/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 +7 -7
- package/dist/components/time-series/time-series.js +8 -8
- package/dist/components/variable-combobox/variable-combobox.component.js +8 -8
- package/dist/components/variable-combobox/variable-combobox.js +9 -9
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +7 -7
- package/dist/components/variable-keyword-search/variable-keyword-search.js +8 -8
- package/dist/custom-elements.json +868 -864
- package/dist/react/browse-variables/index.js +11 -11
- package/dist/react/button/index.js +4 -4
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +4 -4
- package/dist/react/data-rods/index.js +19 -19
- package/dist/react/date-picker/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/icon/index.js +3 -3
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +62 -62
- 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 +8 -8
- package/dist/react/variable-combobox/index.js +9 -9
- package/dist/react/variable-keyword-search/index.js +8 -8
- package/dist/terra-ui-components.js +52 -52
- package/dist/terra_ui_components-0.0.45-py3-none-any.whl +0 -0
- package/dist/{terra_ui_components-0.0.44.tar.gz → terra_ui_components-0.0.45.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +67 -67
- package/dist/vscode.html-custom-data.json +109 -109
- package/dist/web-types.json +204 -204
- package/package.json +1 -1
- package/dist/terra_ui_components-0.0.44-py3-none-any.whl +0 -0
package/cdn/custom-elements.json
CHANGED
|
@@ -706,72 +706,6 @@
|
|
|
706
706
|
}
|
|
707
707
|
]
|
|
708
708
|
},
|
|
709
|
-
{
|
|
710
|
-
"kind": "javascript-module",
|
|
711
|
-
"path": "components/chip/chip.js",
|
|
712
|
-
"declarations": [
|
|
713
|
-
{
|
|
714
|
-
"kind": "class",
|
|
715
|
-
"description": "",
|
|
716
|
-
"name": "TerraChip",
|
|
717
|
-
"slots": [
|
|
718
|
-
{
|
|
719
|
-
"description": "The chip's label.",
|
|
720
|
-
"name": ""
|
|
721
|
-
}
|
|
722
|
-
],
|
|
723
|
-
"members": [
|
|
724
|
-
{
|
|
725
|
-
"kind": "field",
|
|
726
|
-
"name": "size",
|
|
727
|
-
"type": {
|
|
728
|
-
"text": "'small' | 'medium' | 'large'"
|
|
729
|
-
},
|
|
730
|
-
"default": "'medium'",
|
|
731
|
-
"attribute": "size",
|
|
732
|
-
"reflects": true
|
|
733
|
-
},
|
|
734
|
-
{
|
|
735
|
-
"kind": "field",
|
|
736
|
-
"name": "#handleRemoveClick",
|
|
737
|
-
"privacy": "private"
|
|
738
|
-
}
|
|
739
|
-
],
|
|
740
|
-
"attributes": [
|
|
741
|
-
{
|
|
742
|
-
"name": "size",
|
|
743
|
-
"type": {
|
|
744
|
-
"text": "'small' | 'medium' | 'large'"
|
|
745
|
-
},
|
|
746
|
-
"default": "'medium'",
|
|
747
|
-
"fieldName": "size"
|
|
748
|
-
}
|
|
749
|
-
],
|
|
750
|
-
"superclass": {
|
|
751
|
-
"name": "TerraElement",
|
|
752
|
-
"module": "/src/internal/terra-element.js"
|
|
753
|
-
},
|
|
754
|
-
"summary": "Used for contacts and tags",
|
|
755
|
-
"tagNameWithoutPrefix": "chip",
|
|
756
|
-
"tagName": "terra-chip",
|
|
757
|
-
"customElement": true,
|
|
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",
|
|
761
|
-
"since": "1.0"
|
|
762
|
-
}
|
|
763
|
-
],
|
|
764
|
-
"exports": [
|
|
765
|
-
{
|
|
766
|
-
"kind": "js",
|
|
767
|
-
"name": "default",
|
|
768
|
-
"declaration": {
|
|
769
|
-
"name": "TerraChip",
|
|
770
|
-
"module": "components/chip/chip.js"
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
]
|
|
774
|
-
},
|
|
775
709
|
{
|
|
776
710
|
"kind": "javascript-module",
|
|
777
711
|
"path": "components/combobox/combobox.js",
|
|
@@ -1128,6 +1062,72 @@
|
|
|
1128
1062
|
}
|
|
1129
1063
|
]
|
|
1130
1064
|
},
|
|
1065
|
+
{
|
|
1066
|
+
"kind": "javascript-module",
|
|
1067
|
+
"path": "components/chip/chip.js",
|
|
1068
|
+
"declarations": [
|
|
1069
|
+
{
|
|
1070
|
+
"kind": "class",
|
|
1071
|
+
"description": "",
|
|
1072
|
+
"name": "TerraChip",
|
|
1073
|
+
"slots": [
|
|
1074
|
+
{
|
|
1075
|
+
"description": "The chip's label.",
|
|
1076
|
+
"name": ""
|
|
1077
|
+
}
|
|
1078
|
+
],
|
|
1079
|
+
"members": [
|
|
1080
|
+
{
|
|
1081
|
+
"kind": "field",
|
|
1082
|
+
"name": "size",
|
|
1083
|
+
"type": {
|
|
1084
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1085
|
+
},
|
|
1086
|
+
"default": "'medium'",
|
|
1087
|
+
"attribute": "size",
|
|
1088
|
+
"reflects": true
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"kind": "field",
|
|
1092
|
+
"name": "#handleRemoveClick",
|
|
1093
|
+
"privacy": "private"
|
|
1094
|
+
}
|
|
1095
|
+
],
|
|
1096
|
+
"attributes": [
|
|
1097
|
+
{
|
|
1098
|
+
"name": "size",
|
|
1099
|
+
"type": {
|
|
1100
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1101
|
+
},
|
|
1102
|
+
"default": "'medium'",
|
|
1103
|
+
"fieldName": "size"
|
|
1104
|
+
}
|
|
1105
|
+
],
|
|
1106
|
+
"superclass": {
|
|
1107
|
+
"name": "TerraElement",
|
|
1108
|
+
"module": "/src/internal/terra-element.js"
|
|
1109
|
+
},
|
|
1110
|
+
"summary": "Used for contacts and tags",
|
|
1111
|
+
"tagNameWithoutPrefix": "chip",
|
|
1112
|
+
"tagName": "terra-chip",
|
|
1113
|
+
"customElement": true,
|
|
1114
|
+
"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 */",
|
|
1115
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/chip",
|
|
1116
|
+
"status": "stable",
|
|
1117
|
+
"since": "1.0"
|
|
1118
|
+
}
|
|
1119
|
+
],
|
|
1120
|
+
"exports": [
|
|
1121
|
+
{
|
|
1122
|
+
"kind": "js",
|
|
1123
|
+
"name": "default",
|
|
1124
|
+
"declaration": {
|
|
1125
|
+
"name": "TerraChip",
|
|
1126
|
+
"module": "components/chip/chip.js"
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
]
|
|
1130
|
+
},
|
|
1131
1131
|
{
|
|
1132
1132
|
"kind": "javascript-module",
|
|
1133
1133
|
"path": "components/browse-variables/browse-variables.js",
|
|
@@ -1389,355 +1389,124 @@
|
|
|
1389
1389
|
},
|
|
1390
1390
|
{
|
|
1391
1391
|
"kind": "javascript-module",
|
|
1392
|
-
"path": "components/
|
|
1392
|
+
"path": "components/date-range-slider/date-range-slider.js",
|
|
1393
1393
|
"declarations": [
|
|
1394
1394
|
{
|
|
1395
1395
|
"kind": "class",
|
|
1396
1396
|
"description": "",
|
|
1397
|
-
"name": "
|
|
1397
|
+
"name": "TerraDateRangeSlider",
|
|
1398
|
+
"cssProperties": [
|
|
1399
|
+
{
|
|
1400
|
+
"description": "An example CSS custom property.",
|
|
1401
|
+
"name": "--example"
|
|
1402
|
+
}
|
|
1403
|
+
],
|
|
1404
|
+
"cssParts": [
|
|
1405
|
+
{
|
|
1406
|
+
"description": "The component's base wrapper.",
|
|
1407
|
+
"name": "base"
|
|
1408
|
+
}
|
|
1409
|
+
],
|
|
1410
|
+
"slots": [
|
|
1411
|
+
{
|
|
1412
|
+
"description": "The default slot.",
|
|
1413
|
+
"name": ""
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
"description": "An example slot.",
|
|
1417
|
+
"name": "example"
|
|
1418
|
+
}
|
|
1419
|
+
],
|
|
1398
1420
|
"members": [
|
|
1399
1421
|
{
|
|
1400
1422
|
"kind": "field",
|
|
1401
|
-
"name": "
|
|
1423
|
+
"name": "slider",
|
|
1402
1424
|
"type": {
|
|
1403
|
-
"text": "
|
|
1404
|
-
}
|
|
1405
|
-
"static": true,
|
|
1406
|
-
"default": "{\n 'terra-time-series': TerraTimeSeries,\n 'terra-date-range-slider': TerraDateRangeSlider,\n 'terra-spatial-picker': TerraSpatialPicker,\n 'terra-variable-combobox': TerraVariableCombobox,\n }"
|
|
1425
|
+
"text": "HTMLElement & { noUiSlider: API }"
|
|
1426
|
+
}
|
|
1407
1427
|
},
|
|
1408
1428
|
{
|
|
1409
1429
|
"kind": "field",
|
|
1410
|
-
"name": "
|
|
1430
|
+
"name": "timeScale",
|
|
1411
1431
|
"type": {
|
|
1412
|
-
"text": "
|
|
1432
|
+
"text": "TimeScale"
|
|
1413
1433
|
},
|
|
1414
|
-
"
|
|
1415
|
-
"attribute": "
|
|
1416
|
-
"reflects": true
|
|
1434
|
+
"default": "'daily'",
|
|
1435
|
+
"attribute": "time-scale"
|
|
1417
1436
|
},
|
|
1418
1437
|
{
|
|
1419
1438
|
"kind": "field",
|
|
1420
|
-
"name": "
|
|
1439
|
+
"name": "minDate",
|
|
1421
1440
|
"type": {
|
|
1422
|
-
"text": "string
|
|
1441
|
+
"text": "string"
|
|
1423
1442
|
},
|
|
1424
|
-
"
|
|
1425
|
-
"attribute": "collection",
|
|
1426
|
-
"reflects": true
|
|
1443
|
+
"attribute": "min-date"
|
|
1427
1444
|
},
|
|
1428
1445
|
{
|
|
1429
1446
|
"kind": "field",
|
|
1430
|
-
"name": "
|
|
1447
|
+
"name": "maxDate",
|
|
1431
1448
|
"type": {
|
|
1432
|
-
"text": "string
|
|
1449
|
+
"text": "string"
|
|
1433
1450
|
},
|
|
1434
|
-
"
|
|
1435
|
-
"attribute": "variable",
|
|
1436
|
-
"reflects": true
|
|
1451
|
+
"attribute": "max-date"
|
|
1437
1452
|
},
|
|
1438
1453
|
{
|
|
1439
1454
|
"kind": "field",
|
|
1440
1455
|
"name": "startDate",
|
|
1441
1456
|
"type": {
|
|
1442
|
-
"text": "string
|
|
1457
|
+
"text": "string"
|
|
1443
1458
|
},
|
|
1444
|
-
"description": "The start date for the time series plot.
|
|
1445
|
-
"attribute": "start-date"
|
|
1446
|
-
"reflects": true
|
|
1459
|
+
"description": "The start date for the time series plot.",
|
|
1460
|
+
"attribute": "start-date"
|
|
1447
1461
|
},
|
|
1448
1462
|
{
|
|
1449
1463
|
"kind": "field",
|
|
1450
1464
|
"name": "endDate",
|
|
1451
1465
|
"type": {
|
|
1452
|
-
"text": "string
|
|
1466
|
+
"text": "string"
|
|
1453
1467
|
},
|
|
1454
|
-
"
|
|
1455
|
-
"attribute": "end-date",
|
|
1456
|
-
"reflects": true
|
|
1468
|
+
"attribute": "end-date"
|
|
1457
1469
|
},
|
|
1458
1470
|
{
|
|
1459
1471
|
"kind": "field",
|
|
1460
|
-
"name": "
|
|
1472
|
+
"name": "disabled",
|
|
1461
1473
|
"type": {
|
|
1462
|
-
"text": "
|
|
1474
|
+
"text": "boolean"
|
|
1463
1475
|
},
|
|
1464
|
-
"
|
|
1465
|
-
"attribute": "
|
|
1476
|
+
"default": "false",
|
|
1477
|
+
"attribute": "disabled",
|
|
1466
1478
|
"reflects": true
|
|
1467
1479
|
},
|
|
1468
1480
|
{
|
|
1469
1481
|
"kind": "field",
|
|
1470
|
-
"name": "
|
|
1482
|
+
"name": "hasPips",
|
|
1471
1483
|
"type": {
|
|
1472
|
-
"text": "
|
|
1484
|
+
"text": "boolean"
|
|
1473
1485
|
},
|
|
1474
|
-
"
|
|
1475
|
-
"attribute": "
|
|
1486
|
+
"default": "true",
|
|
1487
|
+
"attribute": "has-pips",
|
|
1488
|
+
"reflects": true
|
|
1476
1489
|
},
|
|
1477
1490
|
{
|
|
1478
|
-
"kind": "
|
|
1479
|
-
"name": "
|
|
1480
|
-
"type": {
|
|
1481
|
-
"text": "Variable"
|
|
1482
|
-
}
|
|
1491
|
+
"kind": "method",
|
|
1492
|
+
"name": "updateSlider"
|
|
1483
1493
|
},
|
|
1484
1494
|
{
|
|
1485
|
-
"kind": "
|
|
1486
|
-
"name": "
|
|
1487
|
-
"privacy": "private",
|
|
1488
|
-
"default": "new GiovanniVariableCatalog()"
|
|
1495
|
+
"kind": "method",
|
|
1496
|
+
"name": "disabledChanged"
|
|
1489
1497
|
},
|
|
1490
1498
|
{
|
|
1491
|
-
"kind": "
|
|
1492
|
-
"name": "
|
|
1493
|
-
"privacy": "private",
|
|
1494
|
-
"default": "new Task(this, {\n task: async (_args, { signal }) => {\n const variableEntryId = this.#getVariableEntryId()\n\n console.debug('fetch variable ', variableEntryId)\n\n if (!variableEntryId) {\n return\n }\n\n const variable = await this.#catalog.getVariable(variableEntryId, {\n signal,\n })\n\n console.debug('found variable ', variable)\n\n if (!variable) {\n return\n }\n\n this.startDate =\n this.startDate ?? variable.exampleInitialStartDate?.toISOString()\n this.endDate =\n this.endDate ?? variable.exampleInitialEndDate?.toISOString()\n this.catalogVariable = variable\n },\n args: () => [this.variableEntryId, this.collection, this.variable],\n })"
|
|
1499
|
+
"kind": "method",
|
|
1500
|
+
"name": "renderSlider"
|
|
1495
1501
|
},
|
|
1496
1502
|
{
|
|
1497
1503
|
"kind": "method",
|
|
1498
|
-
"name": "
|
|
1504
|
+
"name": "renderEmptySlider"
|
|
1499
1505
|
},
|
|
1500
1506
|
{
|
|
1501
1507
|
"kind": "method",
|
|
1502
|
-
"name": "
|
|
1503
|
-
"
|
|
1504
|
-
{
|
|
1505
|
-
"name": "event",
|
|
1506
|
-
"type": {
|
|
1507
|
-
"text": "TerraDateRangeChangeEvent"
|
|
1508
|
-
}
|
|
1509
|
-
}
|
|
1510
|
-
],
|
|
1511
|
-
"description": "anytime the date range slider changes, update the start and end date"
|
|
1512
|
-
},
|
|
1513
|
-
{
|
|
1514
|
-
"kind": "method",
|
|
1515
|
-
"name": "#handleVariableChange",
|
|
1516
|
-
"parameters": [
|
|
1517
|
-
{
|
|
1518
|
-
"name": "event",
|
|
1519
|
-
"type": {
|
|
1520
|
-
"text": "TerraComboboxChangeEvent"
|
|
1521
|
-
}
|
|
1522
|
-
}
|
|
1523
|
-
]
|
|
1524
|
-
},
|
|
1525
|
-
{
|
|
1526
|
-
"kind": "method",
|
|
1527
|
-
"name": "#handleMapChange",
|
|
1528
|
-
"parameters": [
|
|
1529
|
-
{
|
|
1530
|
-
"name": "event",
|
|
1531
|
-
"type": {
|
|
1532
|
-
"text": "CustomEvent"
|
|
1533
|
-
}
|
|
1534
|
-
}
|
|
1535
|
-
]
|
|
1536
|
-
}
|
|
1537
|
-
],
|
|
1538
|
-
"attributes": [
|
|
1539
|
-
{
|
|
1540
|
-
"name": "variable-entry-id",
|
|
1541
|
-
"type": {
|
|
1542
|
-
"text": "string | undefined"
|
|
1543
|
-
},
|
|
1544
|
-
"description": "a variable entry ID (ex: GPM_3IMERGHH_06_precipitationCal)",
|
|
1545
|
-
"fieldName": "variableEntryId"
|
|
1546
|
-
},
|
|
1547
|
-
{
|
|
1548
|
-
"name": "collection",
|
|
1549
|
-
"type": {
|
|
1550
|
-
"text": "string | undefined"
|
|
1551
|
-
},
|
|
1552
|
-
"description": "a collection entry id (ex: GPM_3IMERGHH_06)\nonly required if you don't include a variableEntryId",
|
|
1553
|
-
"fieldName": "collection"
|
|
1554
|
-
},
|
|
1555
|
-
{
|
|
1556
|
-
"name": "variable",
|
|
1557
|
-
"type": {
|
|
1558
|
-
"text": "string | undefined"
|
|
1559
|
-
},
|
|
1560
|
-
"description": "a variable short name to plot (ex: precipitationCal)\nonly required if you don't include a variableEntryId",
|
|
1561
|
-
"fieldName": "variable"
|
|
1562
|
-
},
|
|
1563
|
-
{
|
|
1564
|
-
"name": "start-date",
|
|
1565
|
-
"type": {
|
|
1566
|
-
"text": "string | undefined"
|
|
1567
|
-
},
|
|
1568
|
-
"description": "The start date for the time series plot. (ex: 2021-01-01)",
|
|
1569
|
-
"fieldName": "startDate"
|
|
1570
|
-
},
|
|
1571
|
-
{
|
|
1572
|
-
"name": "end-date",
|
|
1573
|
-
"type": {
|
|
1574
|
-
"text": "string | undefined"
|
|
1575
|
-
},
|
|
1576
|
-
"description": "The end date for the time series plot. (ex: 2021-01-01)",
|
|
1577
|
-
"fieldName": "endDate"
|
|
1578
|
-
},
|
|
1579
|
-
{
|
|
1580
|
-
"name": "location",
|
|
1581
|
-
"type": {
|
|
1582
|
-
"text": "string | undefined"
|
|
1583
|
-
},
|
|
1584
|
-
"description": "The point location in \"lat,lon\" format.",
|
|
1585
|
-
"fieldName": "location"
|
|
1586
|
-
},
|
|
1587
|
-
{
|
|
1588
|
-
"name": "bearer-token",
|
|
1589
|
-
"type": {
|
|
1590
|
-
"text": "string"
|
|
1591
|
-
},
|
|
1592
|
-
"description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
|
|
1593
|
-
"fieldName": "bearerToken"
|
|
1594
|
-
}
|
|
1595
|
-
],
|
|
1596
|
-
"superclass": {
|
|
1597
|
-
"name": "TerraElement",
|
|
1598
|
-
"module": "/src/internal/terra-element.js"
|
|
1599
|
-
},
|
|
1600
|
-
"summary": "A component for visualizing Hydrology Data Rods time series using the GES DISC Giovanni API",
|
|
1601
|
-
"tagNameWithoutPrefix": "data-rods",
|
|
1602
|
-
"tagName": "terra-data-rods",
|
|
1603
|
-
"customElement": true,
|
|
1604
|
-
"jsDoc": "/**\n * @summary A component for visualizing Hydrology Data Rods time series using the GES DISC Giovanni API\n * @documentation https://disc.gsfc.nasa.gov/components/data-rods\n * @status mvp\n * @since 1.0\n */",
|
|
1605
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/data-rods",
|
|
1606
|
-
"status": "mvp",
|
|
1607
|
-
"since": "1.0"
|
|
1608
|
-
}
|
|
1609
|
-
],
|
|
1610
|
-
"exports": [
|
|
1611
|
-
{
|
|
1612
|
-
"kind": "js",
|
|
1613
|
-
"name": "default",
|
|
1614
|
-
"declaration": {
|
|
1615
|
-
"name": "TerraDataRods",
|
|
1616
|
-
"module": "components/data-rods/data-rods.js"
|
|
1617
|
-
}
|
|
1618
|
-
}
|
|
1619
|
-
]
|
|
1620
|
-
},
|
|
1621
|
-
{
|
|
1622
|
-
"kind": "javascript-module",
|
|
1623
|
-
"path": "components/date-range-slider/date-range-slider.js",
|
|
1624
|
-
"declarations": [
|
|
1625
|
-
{
|
|
1626
|
-
"kind": "class",
|
|
1627
|
-
"description": "",
|
|
1628
|
-
"name": "TerraDateRangeSlider",
|
|
1629
|
-
"cssProperties": [
|
|
1630
|
-
{
|
|
1631
|
-
"description": "An example CSS custom property.",
|
|
1632
|
-
"name": "--example"
|
|
1633
|
-
}
|
|
1634
|
-
],
|
|
1635
|
-
"cssParts": [
|
|
1636
|
-
{
|
|
1637
|
-
"description": "The component's base wrapper.",
|
|
1638
|
-
"name": "base"
|
|
1639
|
-
}
|
|
1640
|
-
],
|
|
1641
|
-
"slots": [
|
|
1642
|
-
{
|
|
1643
|
-
"description": "The default slot.",
|
|
1644
|
-
"name": ""
|
|
1645
|
-
},
|
|
1646
|
-
{
|
|
1647
|
-
"description": "An example slot.",
|
|
1648
|
-
"name": "example"
|
|
1649
|
-
}
|
|
1650
|
-
],
|
|
1651
|
-
"members": [
|
|
1652
|
-
{
|
|
1653
|
-
"kind": "field",
|
|
1654
|
-
"name": "slider",
|
|
1655
|
-
"type": {
|
|
1656
|
-
"text": "HTMLElement & { noUiSlider: API }"
|
|
1657
|
-
}
|
|
1658
|
-
},
|
|
1659
|
-
{
|
|
1660
|
-
"kind": "field",
|
|
1661
|
-
"name": "timeScale",
|
|
1662
|
-
"type": {
|
|
1663
|
-
"text": "TimeScale"
|
|
1664
|
-
},
|
|
1665
|
-
"default": "'daily'",
|
|
1666
|
-
"attribute": "time-scale"
|
|
1667
|
-
},
|
|
1668
|
-
{
|
|
1669
|
-
"kind": "field",
|
|
1670
|
-
"name": "minDate",
|
|
1671
|
-
"type": {
|
|
1672
|
-
"text": "string"
|
|
1673
|
-
},
|
|
1674
|
-
"attribute": "min-date"
|
|
1675
|
-
},
|
|
1676
|
-
{
|
|
1677
|
-
"kind": "field",
|
|
1678
|
-
"name": "maxDate",
|
|
1679
|
-
"type": {
|
|
1680
|
-
"text": "string"
|
|
1681
|
-
},
|
|
1682
|
-
"attribute": "max-date"
|
|
1683
|
-
},
|
|
1684
|
-
{
|
|
1685
|
-
"kind": "field",
|
|
1686
|
-
"name": "startDate",
|
|
1687
|
-
"type": {
|
|
1688
|
-
"text": "string"
|
|
1689
|
-
},
|
|
1690
|
-
"description": "The start date for the time series plot.",
|
|
1691
|
-
"attribute": "start-date"
|
|
1692
|
-
},
|
|
1693
|
-
{
|
|
1694
|
-
"kind": "field",
|
|
1695
|
-
"name": "endDate",
|
|
1696
|
-
"type": {
|
|
1697
|
-
"text": "string"
|
|
1698
|
-
},
|
|
1699
|
-
"attribute": "end-date"
|
|
1700
|
-
},
|
|
1701
|
-
{
|
|
1702
|
-
"kind": "field",
|
|
1703
|
-
"name": "disabled",
|
|
1704
|
-
"type": {
|
|
1705
|
-
"text": "boolean"
|
|
1706
|
-
},
|
|
1707
|
-
"default": "false",
|
|
1708
|
-
"attribute": "disabled",
|
|
1709
|
-
"reflects": true
|
|
1710
|
-
},
|
|
1711
|
-
{
|
|
1712
|
-
"kind": "field",
|
|
1713
|
-
"name": "hasPips",
|
|
1714
|
-
"type": {
|
|
1715
|
-
"text": "boolean"
|
|
1716
|
-
},
|
|
1717
|
-
"default": "true",
|
|
1718
|
-
"attribute": "has-pips",
|
|
1719
|
-
"reflects": true
|
|
1720
|
-
},
|
|
1721
|
-
{
|
|
1722
|
-
"kind": "method",
|
|
1723
|
-
"name": "updateSlider"
|
|
1724
|
-
},
|
|
1725
|
-
{
|
|
1726
|
-
"kind": "method",
|
|
1727
|
-
"name": "disabledChanged"
|
|
1728
|
-
},
|
|
1729
|
-
{
|
|
1730
|
-
"kind": "method",
|
|
1731
|
-
"name": "renderSlider"
|
|
1732
|
-
},
|
|
1733
|
-
{
|
|
1734
|
-
"kind": "method",
|
|
1735
|
-
"name": "renderEmptySlider"
|
|
1736
|
-
},
|
|
1737
|
-
{
|
|
1738
|
-
"kind": "method",
|
|
1739
|
-
"name": "_getStep",
|
|
1740
|
-
"privacy": "private"
|
|
1508
|
+
"name": "_getStep",
|
|
1509
|
+
"privacy": "private"
|
|
1741
1510
|
},
|
|
1742
1511
|
{
|
|
1743
1512
|
"kind": "method",
|
|
@@ -2239,38 +2008,269 @@
|
|
|
2239
2008
|
},
|
|
2240
2009
|
{
|
|
2241
2010
|
"kind": "javascript-module",
|
|
2242
|
-
"path": "components/
|
|
2011
|
+
"path": "components/data-rods/data-rods.js",
|
|
2243
2012
|
"declarations": [
|
|
2244
2013
|
{
|
|
2245
2014
|
"kind": "class",
|
|
2246
2015
|
"description": "",
|
|
2247
|
-
"name": "
|
|
2248
|
-
"slots": [
|
|
2249
|
-
{
|
|
2250
|
-
"description": "The dialog's main content",
|
|
2251
|
-
"name": ""
|
|
2252
|
-
}
|
|
2253
|
-
],
|
|
2016
|
+
"name": "TerraDataRods",
|
|
2254
2017
|
"members": [
|
|
2255
2018
|
{
|
|
2256
2019
|
"kind": "field",
|
|
2257
|
-
"name": "
|
|
2020
|
+
"name": "dependencies",
|
|
2258
2021
|
"type": {
|
|
2259
|
-
"text": "
|
|
2260
|
-
}
|
|
2022
|
+
"text": "object"
|
|
2023
|
+
},
|
|
2024
|
+
"static": true,
|
|
2025
|
+
"default": "{\n 'terra-time-series': TerraTimeSeries,\n 'terra-date-range-slider': TerraDateRangeSlider,\n 'terra-spatial-picker': TerraSpatialPicker,\n 'terra-variable-combobox': TerraVariableCombobox,\n }"
|
|
2261
2026
|
},
|
|
2262
2027
|
{
|
|
2263
2028
|
"kind": "field",
|
|
2264
|
-
"name": "
|
|
2029
|
+
"name": "variableEntryId",
|
|
2265
2030
|
"type": {
|
|
2266
|
-
"text": "string"
|
|
2031
|
+
"text": "string | undefined"
|
|
2267
2032
|
},
|
|
2268
|
-
"description": "
|
|
2269
|
-
"attribute": "id"
|
|
2033
|
+
"description": "a variable entry ID (ex: GPM_3IMERGHH_06_precipitationCal)",
|
|
2034
|
+
"attribute": "variable-entry-id",
|
|
2035
|
+
"reflects": true
|
|
2270
2036
|
},
|
|
2271
2037
|
{
|
|
2272
2038
|
"kind": "field",
|
|
2273
|
-
"name": "
|
|
2039
|
+
"name": "collection",
|
|
2040
|
+
"type": {
|
|
2041
|
+
"text": "string | undefined"
|
|
2042
|
+
},
|
|
2043
|
+
"description": "a collection entry id (ex: GPM_3IMERGHH_06)\nonly required if you don't include a variableEntryId",
|
|
2044
|
+
"attribute": "collection",
|
|
2045
|
+
"reflects": true
|
|
2046
|
+
},
|
|
2047
|
+
{
|
|
2048
|
+
"kind": "field",
|
|
2049
|
+
"name": "variable",
|
|
2050
|
+
"type": {
|
|
2051
|
+
"text": "string | undefined"
|
|
2052
|
+
},
|
|
2053
|
+
"description": "a variable short name to plot (ex: precipitationCal)\nonly required if you don't include a variableEntryId",
|
|
2054
|
+
"attribute": "variable",
|
|
2055
|
+
"reflects": true
|
|
2056
|
+
},
|
|
2057
|
+
{
|
|
2058
|
+
"kind": "field",
|
|
2059
|
+
"name": "startDate",
|
|
2060
|
+
"type": {
|
|
2061
|
+
"text": "string | undefined"
|
|
2062
|
+
},
|
|
2063
|
+
"description": "The start date for the time series plot. (ex: 2021-01-01)",
|
|
2064
|
+
"attribute": "start-date",
|
|
2065
|
+
"reflects": true
|
|
2066
|
+
},
|
|
2067
|
+
{
|
|
2068
|
+
"kind": "field",
|
|
2069
|
+
"name": "endDate",
|
|
2070
|
+
"type": {
|
|
2071
|
+
"text": "string | undefined"
|
|
2072
|
+
},
|
|
2073
|
+
"description": "The end date for the time series plot. (ex: 2021-01-01)",
|
|
2074
|
+
"attribute": "end-date",
|
|
2075
|
+
"reflects": true
|
|
2076
|
+
},
|
|
2077
|
+
{
|
|
2078
|
+
"kind": "field",
|
|
2079
|
+
"name": "location",
|
|
2080
|
+
"type": {
|
|
2081
|
+
"text": "string | undefined"
|
|
2082
|
+
},
|
|
2083
|
+
"description": "The point location in \"lat,lon\" format.",
|
|
2084
|
+
"attribute": "location",
|
|
2085
|
+
"reflects": true
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
"kind": "field",
|
|
2089
|
+
"name": "bearerToken",
|
|
2090
|
+
"type": {
|
|
2091
|
+
"text": "string"
|
|
2092
|
+
},
|
|
2093
|
+
"description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
|
|
2094
|
+
"attribute": "bearer-token"
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
"kind": "field",
|
|
2098
|
+
"name": "catalogVariable",
|
|
2099
|
+
"type": {
|
|
2100
|
+
"text": "Variable"
|
|
2101
|
+
}
|
|
2102
|
+
},
|
|
2103
|
+
{
|
|
2104
|
+
"kind": "field",
|
|
2105
|
+
"name": "#catalog",
|
|
2106
|
+
"privacy": "private",
|
|
2107
|
+
"default": "new GiovanniVariableCatalog()"
|
|
2108
|
+
},
|
|
2109
|
+
{
|
|
2110
|
+
"kind": "field",
|
|
2111
|
+
"name": "#fetchVariableTask",
|
|
2112
|
+
"privacy": "private",
|
|
2113
|
+
"default": "new Task(this, {\n task: async (_args, { signal }) => {\n const variableEntryId = this.#getVariableEntryId()\n\n console.debug('fetch variable ', variableEntryId)\n\n if (!variableEntryId) {\n return\n }\n\n const variable = await this.#catalog.getVariable(variableEntryId, {\n signal,\n })\n\n console.debug('found variable ', variable)\n\n if (!variable) {\n return\n }\n\n this.startDate =\n this.startDate ?? variable.exampleInitialStartDate?.toISOString()\n this.endDate =\n this.endDate ?? variable.exampleInitialEndDate?.toISOString()\n this.catalogVariable = variable\n },\n args: () => [this.variableEntryId, this.collection, this.variable],\n })"
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
"kind": "method",
|
|
2117
|
+
"name": "#getVariableEntryId"
|
|
2118
|
+
},
|
|
2119
|
+
{
|
|
2120
|
+
"kind": "method",
|
|
2121
|
+
"name": "#handleDateRangeSliderChangeEvent",
|
|
2122
|
+
"parameters": [
|
|
2123
|
+
{
|
|
2124
|
+
"name": "event",
|
|
2125
|
+
"type": {
|
|
2126
|
+
"text": "TerraDateRangeChangeEvent"
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
],
|
|
2130
|
+
"description": "anytime the date range slider changes, update the start and end date"
|
|
2131
|
+
},
|
|
2132
|
+
{
|
|
2133
|
+
"kind": "method",
|
|
2134
|
+
"name": "#handleVariableChange",
|
|
2135
|
+
"parameters": [
|
|
2136
|
+
{
|
|
2137
|
+
"name": "event",
|
|
2138
|
+
"type": {
|
|
2139
|
+
"text": "TerraComboboxChangeEvent"
|
|
2140
|
+
}
|
|
2141
|
+
}
|
|
2142
|
+
]
|
|
2143
|
+
},
|
|
2144
|
+
{
|
|
2145
|
+
"kind": "method",
|
|
2146
|
+
"name": "#handleMapChange",
|
|
2147
|
+
"parameters": [
|
|
2148
|
+
{
|
|
2149
|
+
"name": "event",
|
|
2150
|
+
"type": {
|
|
2151
|
+
"text": "CustomEvent"
|
|
2152
|
+
}
|
|
2153
|
+
}
|
|
2154
|
+
]
|
|
2155
|
+
}
|
|
2156
|
+
],
|
|
2157
|
+
"attributes": [
|
|
2158
|
+
{
|
|
2159
|
+
"name": "variable-entry-id",
|
|
2160
|
+
"type": {
|
|
2161
|
+
"text": "string | undefined"
|
|
2162
|
+
},
|
|
2163
|
+
"description": "a variable entry ID (ex: GPM_3IMERGHH_06_precipitationCal)",
|
|
2164
|
+
"fieldName": "variableEntryId"
|
|
2165
|
+
},
|
|
2166
|
+
{
|
|
2167
|
+
"name": "collection",
|
|
2168
|
+
"type": {
|
|
2169
|
+
"text": "string | undefined"
|
|
2170
|
+
},
|
|
2171
|
+
"description": "a collection entry id (ex: GPM_3IMERGHH_06)\nonly required if you don't include a variableEntryId",
|
|
2172
|
+
"fieldName": "collection"
|
|
2173
|
+
},
|
|
2174
|
+
{
|
|
2175
|
+
"name": "variable",
|
|
2176
|
+
"type": {
|
|
2177
|
+
"text": "string | undefined"
|
|
2178
|
+
},
|
|
2179
|
+
"description": "a variable short name to plot (ex: precipitationCal)\nonly required if you don't include a variableEntryId",
|
|
2180
|
+
"fieldName": "variable"
|
|
2181
|
+
},
|
|
2182
|
+
{
|
|
2183
|
+
"name": "start-date",
|
|
2184
|
+
"type": {
|
|
2185
|
+
"text": "string | undefined"
|
|
2186
|
+
},
|
|
2187
|
+
"description": "The start date for the time series plot. (ex: 2021-01-01)",
|
|
2188
|
+
"fieldName": "startDate"
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
"name": "end-date",
|
|
2192
|
+
"type": {
|
|
2193
|
+
"text": "string | undefined"
|
|
2194
|
+
},
|
|
2195
|
+
"description": "The end date for the time series plot. (ex: 2021-01-01)",
|
|
2196
|
+
"fieldName": "endDate"
|
|
2197
|
+
},
|
|
2198
|
+
{
|
|
2199
|
+
"name": "location",
|
|
2200
|
+
"type": {
|
|
2201
|
+
"text": "string | undefined"
|
|
2202
|
+
},
|
|
2203
|
+
"description": "The point location in \"lat,lon\" format.",
|
|
2204
|
+
"fieldName": "location"
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
"name": "bearer-token",
|
|
2208
|
+
"type": {
|
|
2209
|
+
"text": "string"
|
|
2210
|
+
},
|
|
2211
|
+
"description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
|
|
2212
|
+
"fieldName": "bearerToken"
|
|
2213
|
+
}
|
|
2214
|
+
],
|
|
2215
|
+
"superclass": {
|
|
2216
|
+
"name": "TerraElement",
|
|
2217
|
+
"module": "/src/internal/terra-element.js"
|
|
2218
|
+
},
|
|
2219
|
+
"summary": "A component for visualizing Hydrology Data Rods time series using the GES DISC Giovanni API",
|
|
2220
|
+
"tagNameWithoutPrefix": "data-rods",
|
|
2221
|
+
"tagName": "terra-data-rods",
|
|
2222
|
+
"customElement": true,
|
|
2223
|
+
"jsDoc": "/**\n * @summary A component for visualizing Hydrology Data Rods time series using the GES DISC Giovanni API\n * @documentation https://disc.gsfc.nasa.gov/components/data-rods\n * @status mvp\n * @since 1.0\n */",
|
|
2224
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/data-rods",
|
|
2225
|
+
"status": "mvp",
|
|
2226
|
+
"since": "1.0"
|
|
2227
|
+
}
|
|
2228
|
+
],
|
|
2229
|
+
"exports": [
|
|
2230
|
+
{
|
|
2231
|
+
"kind": "js",
|
|
2232
|
+
"name": "default",
|
|
2233
|
+
"declaration": {
|
|
2234
|
+
"name": "TerraDataRods",
|
|
2235
|
+
"module": "components/data-rods/data-rods.js"
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
]
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
"kind": "javascript-module",
|
|
2242
|
+
"path": "components/dialog/dialog.js",
|
|
2243
|
+
"declarations": [
|
|
2244
|
+
{
|
|
2245
|
+
"kind": "class",
|
|
2246
|
+
"description": "",
|
|
2247
|
+
"name": "TerraDialog",
|
|
2248
|
+
"slots": [
|
|
2249
|
+
{
|
|
2250
|
+
"description": "The dialog's main content",
|
|
2251
|
+
"name": ""
|
|
2252
|
+
}
|
|
2253
|
+
],
|
|
2254
|
+
"members": [
|
|
2255
|
+
{
|
|
2256
|
+
"kind": "field",
|
|
2257
|
+
"name": "dialogEl",
|
|
2258
|
+
"type": {
|
|
2259
|
+
"text": "HTMLDialogElement"
|
|
2260
|
+
}
|
|
2261
|
+
},
|
|
2262
|
+
{
|
|
2263
|
+
"kind": "field",
|
|
2264
|
+
"name": "id",
|
|
2265
|
+
"type": {
|
|
2266
|
+
"text": "string"
|
|
2267
|
+
},
|
|
2268
|
+
"description": "the ID to be used for accessibility associations",
|
|
2269
|
+
"attribute": "id"
|
|
2270
|
+
},
|
|
2271
|
+
{
|
|
2272
|
+
"kind": "field",
|
|
2273
|
+
"name": "width",
|
|
2274
2274
|
"type": {
|
|
2275
2275
|
"text": "string"
|
|
2276
2276
|
},
|
|
@@ -3718,327 +3718,394 @@
|
|
|
3718
3718
|
},
|
|
3719
3719
|
{
|
|
3720
3720
|
"kind": "javascript-module",
|
|
3721
|
-
"path": "components/
|
|
3721
|
+
"path": "components/variable-combobox/variable-combobox.js",
|
|
3722
3722
|
"declarations": [
|
|
3723
3723
|
{
|
|
3724
3724
|
"kind": "class",
|
|
3725
3725
|
"description": "",
|
|
3726
|
-
"name": "
|
|
3727
|
-
"
|
|
3726
|
+
"name": "TerraVariableCombobox",
|
|
3727
|
+
"cssProperties": [
|
|
3728
3728
|
{
|
|
3729
|
-
"
|
|
3730
|
-
"name": "
|
|
3731
|
-
"type": {
|
|
3732
|
-
"text": "object"
|
|
3733
|
-
},
|
|
3734
|
-
"static": true,
|
|
3735
|
-
"default": "{\n 'terra-plot': TerraPlot,\n 'terra-loader': TerraLoader,\n 'terra-icon': TerraIcon,\n 'terra-button': TerraButton,\n }"
|
|
3729
|
+
"description": "The height of the host element.",
|
|
3730
|
+
"name": "--host-height"
|
|
3736
3731
|
},
|
|
3737
3732
|
{
|
|
3738
|
-
"
|
|
3739
|
-
"name": "
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
}
|
|
3733
|
+
"description": "The height of the search help element.",
|
|
3734
|
+
"name": "--help-height"
|
|
3735
|
+
},
|
|
3736
|
+
{
|
|
3737
|
+
"description": "The height of the input's label element.",
|
|
3738
|
+
"name": "--label-height"
|
|
3739
|
+
}
|
|
3740
|
+
],
|
|
3741
|
+
"cssParts": [
|
|
3742
|
+
{
|
|
3743
|
+
"description": "A `search` element, the component's base.",
|
|
3744
|
+
"name": "base"
|
|
3745
|
+
},
|
|
3746
|
+
{
|
|
3747
|
+
"description": "An `input` element used for searching.",
|
|
3748
|
+
"name": "combobox"
|
|
3749
|
+
},
|
|
3750
|
+
{
|
|
3751
|
+
"description": "A `button` used for toggling the listbox's visibility.",
|
|
3752
|
+
"name": "button"
|
|
3753
|
+
},
|
|
3754
|
+
{
|
|
3755
|
+
"description": "A `ul` that holds the clickable options.",
|
|
3756
|
+
"name": "listbox"
|
|
3757
|
+
}
|
|
3758
|
+
],
|
|
3759
|
+
"members": [
|
|
3745
3760
|
{
|
|
3746
3761
|
"kind": "field",
|
|
3747
|
-
"name": "
|
|
3762
|
+
"name": "dependencies",
|
|
3748
3763
|
"type": {
|
|
3749
|
-
"text": "
|
|
3764
|
+
"text": "object"
|
|
3750
3765
|
},
|
|
3751
|
-
"
|
|
3752
|
-
"
|
|
3753
|
-
"reflects": true
|
|
3766
|
+
"static": true,
|
|
3767
|
+
"default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n }"
|
|
3754
3768
|
},
|
|
3755
3769
|
{
|
|
3756
3770
|
"kind": "field",
|
|
3757
|
-
"name": "
|
|
3771
|
+
"name": "shadowRootOptions",
|
|
3758
3772
|
"type": {
|
|
3759
|
-
"text": "
|
|
3773
|
+
"text": "object"
|
|
3760
3774
|
},
|
|
3761
|
-
"
|
|
3762
|
-
"
|
|
3763
|
-
"reflects": true
|
|
3775
|
+
"static": true,
|
|
3776
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
3764
3777
|
},
|
|
3765
3778
|
{
|
|
3766
3779
|
"kind": "field",
|
|
3767
|
-
"name": "
|
|
3780
|
+
"name": "tagName",
|
|
3768
3781
|
"type": {
|
|
3769
|
-
"text": "string
|
|
3782
|
+
"text": "string"
|
|
3770
3783
|
},
|
|
3771
|
-
"
|
|
3772
|
-
"
|
|
3773
|
-
"reflects": true
|
|
3784
|
+
"static": true,
|
|
3785
|
+
"default": "'terra-variable-combobox'"
|
|
3774
3786
|
},
|
|
3775
3787
|
{
|
|
3776
3788
|
"kind": "field",
|
|
3777
|
-
"name": "
|
|
3789
|
+
"name": "initialQuery",
|
|
3778
3790
|
"type": {
|
|
3779
|
-
"text": "string
|
|
3791
|
+
"text": "string"
|
|
3780
3792
|
},
|
|
3781
|
-
"
|
|
3782
|
-
"
|
|
3783
|
-
"reflects": true
|
|
3793
|
+
"static": true,
|
|
3794
|
+
"default": "''"
|
|
3784
3795
|
},
|
|
3785
3796
|
{
|
|
3786
3797
|
"kind": "field",
|
|
3787
|
-
"name": "
|
|
3798
|
+
"name": "#combobox",
|
|
3799
|
+
"privacy": "private",
|
|
3788
3800
|
"type": {
|
|
3789
|
-
"text": "
|
|
3801
|
+
"text": "HTMLInputElement | null"
|
|
3790
3802
|
},
|
|
3791
|
-
"
|
|
3792
|
-
"attribute": "end-date",
|
|
3793
|
-
"reflects": true
|
|
3803
|
+
"default": "null"
|
|
3794
3804
|
},
|
|
3795
3805
|
{
|
|
3796
3806
|
"kind": "field",
|
|
3797
|
-
"name": "
|
|
3807
|
+
"name": "#fetchController",
|
|
3808
|
+
"privacy": "private",
|
|
3798
3809
|
"type": {
|
|
3799
|
-
"text": "
|
|
3810
|
+
"text": "FetchController"
|
|
3811
|
+
}
|
|
3812
|
+
},
|
|
3813
|
+
{
|
|
3814
|
+
"kind": "field",
|
|
3815
|
+
"name": "#searchableList",
|
|
3816
|
+
"privacy": "private",
|
|
3817
|
+
"type": {
|
|
3818
|
+
"text": "ListItem[]"
|
|
3800
3819
|
},
|
|
3801
|
-
"
|
|
3802
|
-
"attribute": "location",
|
|
3803
|
-
"reflects": true
|
|
3820
|
+
"default": "[]"
|
|
3804
3821
|
},
|
|
3805
3822
|
{
|
|
3806
3823
|
"kind": "field",
|
|
3807
|
-
"name": "
|
|
3824
|
+
"name": "#listbox",
|
|
3825
|
+
"privacy": "private",
|
|
3808
3826
|
"type": {
|
|
3809
|
-
"text": "
|
|
3827
|
+
"text": "HTMLUListElement | null"
|
|
3810
3828
|
},
|
|
3811
|
-
"
|
|
3812
|
-
"attribute": "bearer-token"
|
|
3829
|
+
"default": "null"
|
|
3813
3830
|
},
|
|
3814
3831
|
{
|
|
3815
3832
|
"kind": "field",
|
|
3816
|
-
"name": "
|
|
3833
|
+
"name": "#searchEngine",
|
|
3834
|
+
"privacy": "private",
|
|
3817
3835
|
"type": {
|
|
3818
|
-
"text": "
|
|
3819
|
-
}
|
|
3836
|
+
"text": "Fuse<ListItem> | null"
|
|
3837
|
+
},
|
|
3838
|
+
"default": "null"
|
|
3820
3839
|
},
|
|
3821
3840
|
{
|
|
3822
3841
|
"kind": "field",
|
|
3823
|
-
"name": "
|
|
3842
|
+
"name": "#walker",
|
|
3843
|
+
"privacy": "private",
|
|
3824
3844
|
"type": {
|
|
3825
|
-
"text": "
|
|
3826
|
-
}
|
|
3845
|
+
"text": "TreeWalker | null"
|
|
3846
|
+
},
|
|
3847
|
+
"default": "null"
|
|
3827
3848
|
},
|
|
3828
3849
|
{
|
|
3829
3850
|
"kind": "field",
|
|
3830
|
-
"name": "
|
|
3851
|
+
"name": "#tagContainer",
|
|
3852
|
+
"privacy": "private",
|
|
3831
3853
|
"type": {
|
|
3832
|
-
"text": "
|
|
3833
|
-
}
|
|
3854
|
+
"text": "HTMLDivElement | null"
|
|
3855
|
+
},
|
|
3856
|
+
"default": "null"
|
|
3834
3857
|
},
|
|
3835
3858
|
{
|
|
3836
3859
|
"kind": "field",
|
|
3837
|
-
"name": "
|
|
3860
|
+
"name": "label",
|
|
3861
|
+
"type": {
|
|
3862
|
+
"text": "string"
|
|
3863
|
+
},
|
|
3864
|
+
"default": "'Search for Variables'",
|
|
3865
|
+
"description": "Label the combobox with this.",
|
|
3866
|
+
"attribute": "label"
|
|
3867
|
+
},
|
|
3868
|
+
{
|
|
3869
|
+
"kind": "field",
|
|
3870
|
+
"name": "placeholder",
|
|
3871
|
+
"type": {
|
|
3872
|
+
"text": "string"
|
|
3873
|
+
},
|
|
3874
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
3875
|
+
"attribute": "placeholder"
|
|
3876
|
+
},
|
|
3877
|
+
{
|
|
3878
|
+
"kind": "field",
|
|
3879
|
+
"name": "hideHelp",
|
|
3838
3880
|
"type": {
|
|
3839
3881
|
"text": "boolean"
|
|
3840
3882
|
},
|
|
3841
3883
|
"default": "false",
|
|
3842
|
-
"description": "
|
|
3884
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
3885
|
+
"attribute": "hide-help",
|
|
3886
|
+
"reflects": true
|
|
3843
3887
|
},
|
|
3844
3888
|
{
|
|
3845
3889
|
"kind": "field",
|
|
3846
|
-
"name": "
|
|
3890
|
+
"name": "hideLabel",
|
|
3847
3891
|
"type": {
|
|
3848
|
-
"text": "
|
|
3892
|
+
"text": "boolean"
|
|
3849
3893
|
},
|
|
3850
|
-
"default": "
|
|
3851
|
-
"description": "
|
|
3894
|
+
"default": "false",
|
|
3895
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
3896
|
+
"attribute": "hide-label",
|
|
3897
|
+
"reflects": true
|
|
3852
3898
|
},
|
|
3853
3899
|
{
|
|
3854
3900
|
"kind": "field",
|
|
3855
|
-
"name": "
|
|
3901
|
+
"name": "useTags",
|
|
3856
3902
|
"type": {
|
|
3857
|
-
"text": "
|
|
3903
|
+
"text": "boolean"
|
|
3858
3904
|
},
|
|
3859
|
-
"default": "
|
|
3905
|
+
"default": "false",
|
|
3906
|
+
"description": "Determines if the variable combobox uses tags or plain text to display the query.",
|
|
3907
|
+
"attribute": "use-tags",
|
|
3908
|
+
"reflects": true
|
|
3860
3909
|
},
|
|
3861
3910
|
{
|
|
3862
|
-
"kind": "
|
|
3863
|
-
"name": "
|
|
3864
|
-
"
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
}
|
|
3870
|
-
},
|
|
3871
|
-
{
|
|
3872
|
-
"name": "newValue",
|
|
3873
|
-
"type": {
|
|
3874
|
-
"text": "MenuNames"
|
|
3875
|
-
}
|
|
3876
|
-
}
|
|
3877
|
-
]
|
|
3911
|
+
"kind": "field",
|
|
3912
|
+
"name": "value",
|
|
3913
|
+
"type": {
|
|
3914
|
+
"text": "string"
|
|
3915
|
+
},
|
|
3916
|
+
"description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
|
|
3917
|
+
"attribute": "value"
|
|
3878
3918
|
},
|
|
3879
3919
|
{
|
|
3880
3920
|
"kind": "field",
|
|
3881
|
-
"name": "
|
|
3882
|
-
"
|
|
3883
|
-
|
|
3921
|
+
"name": "bearerToken",
|
|
3922
|
+
"type": {
|
|
3923
|
+
"text": "string"
|
|
3924
|
+
},
|
|
3925
|
+
"description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
|
|
3926
|
+
"attribute": "bearer-token"
|
|
3884
3927
|
},
|
|
3885
3928
|
{
|
|
3886
3929
|
"kind": "field",
|
|
3887
|
-
"name": "
|
|
3888
|
-
"
|
|
3889
|
-
|
|
3930
|
+
"name": "isExpanded",
|
|
3931
|
+
"type": {
|
|
3932
|
+
"text": "boolean"
|
|
3933
|
+
},
|
|
3934
|
+
"default": "false"
|
|
3890
3935
|
},
|
|
3891
3936
|
{
|
|
3892
|
-
"kind": "
|
|
3893
|
-
"name": "
|
|
3937
|
+
"kind": "field",
|
|
3938
|
+
"name": "query"
|
|
3894
3939
|
},
|
|
3895
3940
|
{
|
|
3896
|
-
"kind": "
|
|
3897
|
-
"name": "
|
|
3941
|
+
"kind": "field",
|
|
3942
|
+
"name": "searchResults",
|
|
3943
|
+
"type": {
|
|
3944
|
+
"text": "ListItem[]"
|
|
3945
|
+
},
|
|
3946
|
+
"default": "[]"
|
|
3898
3947
|
},
|
|
3899
3948
|
{
|
|
3900
|
-
"kind": "
|
|
3901
|
-
"name": "
|
|
3902
|
-
"
|
|
3949
|
+
"kind": "field",
|
|
3950
|
+
"name": "tags",
|
|
3951
|
+
"type": {
|
|
3952
|
+
"text": "string[]"
|
|
3953
|
+
},
|
|
3954
|
+
"default": "[]"
|
|
3903
3955
|
},
|
|
3904
3956
|
{
|
|
3905
|
-
"kind": "
|
|
3906
|
-
"name": "
|
|
3907
|
-
"
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
"text": "Event"
|
|
3912
|
-
}
|
|
3913
|
-
}
|
|
3914
|
-
]
|
|
3957
|
+
"kind": "field",
|
|
3958
|
+
"name": "tagContainerWidth",
|
|
3959
|
+
"type": {
|
|
3960
|
+
"text": "number"
|
|
3961
|
+
},
|
|
3962
|
+
"default": "0"
|
|
3915
3963
|
},
|
|
3916
3964
|
{
|
|
3917
3965
|
"kind": "method",
|
|
3918
|
-
"name": "
|
|
3919
|
-
"return": {
|
|
3920
|
-
"type": {
|
|
3921
|
-
"text": "string"
|
|
3922
|
-
}
|
|
3923
|
-
},
|
|
3966
|
+
"name": "valueChanged",
|
|
3924
3967
|
"parameters": [
|
|
3925
3968
|
{
|
|
3926
|
-
"name": "
|
|
3969
|
+
"name": "oldValue",
|
|
3927
3970
|
"type": {
|
|
3928
|
-
"text": "
|
|
3971
|
+
"text": "string"
|
|
3929
3972
|
}
|
|
3930
|
-
}
|
|
3931
|
-
]
|
|
3932
|
-
},
|
|
3933
|
-
{
|
|
3934
|
-
"kind": "method",
|
|
3935
|
-
"name": "#downloadPNG",
|
|
3936
|
-
"parameters": [
|
|
3973
|
+
},
|
|
3937
3974
|
{
|
|
3938
|
-
"name": "
|
|
3975
|
+
"name": "newValue",
|
|
3939
3976
|
"type": {
|
|
3940
|
-
"text": "
|
|
3977
|
+
"text": "string"
|
|
3941
3978
|
}
|
|
3942
3979
|
}
|
|
3943
|
-
]
|
|
3980
|
+
],
|
|
3981
|
+
"description": "This component's value is read by other components.\nInternally, the variable metdata has slight differences that require adapting."
|
|
3944
3982
|
},
|
|
3945
3983
|
{
|
|
3946
3984
|
"kind": "method",
|
|
3947
|
-
"name": "
|
|
3948
|
-
"parameters": [
|
|
3949
|
-
{
|
|
3950
|
-
"name": "event",
|
|
3951
|
-
"type": {
|
|
3952
|
-
"text": "Event"
|
|
3953
|
-
}
|
|
3954
|
-
}
|
|
3955
|
-
]
|
|
3985
|
+
"name": "clear"
|
|
3956
3986
|
},
|
|
3957
3987
|
{
|
|
3958
3988
|
"kind": "method",
|
|
3959
|
-
"name": "
|
|
3989
|
+
"name": "close"
|
|
3960
3990
|
},
|
|
3961
3991
|
{
|
|
3962
3992
|
"kind": "method",
|
|
3963
|
-
"name": "
|
|
3993
|
+
"name": "toggle"
|
|
3964
3994
|
},
|
|
3965
3995
|
{
|
|
3966
|
-
"kind": "
|
|
3967
|
-
"name": "#
|
|
3996
|
+
"kind": "field",
|
|
3997
|
+
"name": "#dispatchChange",
|
|
3998
|
+
"privacy": "private"
|
|
3968
3999
|
},
|
|
3969
4000
|
{
|
|
3970
|
-
"kind": "
|
|
3971
|
-
"name": "#
|
|
4001
|
+
"kind": "field",
|
|
4002
|
+
"name": "#handleButtonClick",
|
|
4003
|
+
"privacy": "private"
|
|
3972
4004
|
},
|
|
3973
4005
|
{
|
|
3974
|
-
"kind": "
|
|
3975
|
-
"name": "#
|
|
4006
|
+
"kind": "field",
|
|
4007
|
+
"name": "#handleComboboxChange",
|
|
4008
|
+
"privacy": "private"
|
|
3976
4009
|
},
|
|
3977
4010
|
{
|
|
3978
|
-
"kind": "
|
|
3979
|
-
"name": "#
|
|
4011
|
+
"kind": "field",
|
|
4012
|
+
"name": "#handleOptionClick",
|
|
4013
|
+
"privacy": "private"
|
|
4014
|
+
},
|
|
4015
|
+
{
|
|
4016
|
+
"kind": "field",
|
|
4017
|
+
"name": "#handleKeydown",
|
|
4018
|
+
"privacy": "private"
|
|
4019
|
+
},
|
|
4020
|
+
{
|
|
4021
|
+
"kind": "field",
|
|
4022
|
+
"name": "#manageListboxVisibility",
|
|
4023
|
+
"privacy": "private"
|
|
4024
|
+
},
|
|
4025
|
+
{
|
|
4026
|
+
"kind": "field",
|
|
4027
|
+
"name": "#selectOption",
|
|
4028
|
+
"privacy": "private"
|
|
3980
4029
|
},
|
|
3981
4030
|
{
|
|
3982
4031
|
"kind": "method",
|
|
3983
|
-
"name": "#
|
|
4032
|
+
"name": "#renderTags",
|
|
4033
|
+
"parameters": [
|
|
4034
|
+
{
|
|
4035
|
+
"name": "tag",
|
|
4036
|
+
"type": {
|
|
4037
|
+
"text": "string"
|
|
4038
|
+
}
|
|
4039
|
+
},
|
|
4040
|
+
{
|
|
4041
|
+
"name": "_index",
|
|
4042
|
+
"type": {
|
|
4043
|
+
"text": "number"
|
|
4044
|
+
}
|
|
4045
|
+
}
|
|
4046
|
+
]
|
|
3984
4047
|
}
|
|
3985
4048
|
],
|
|
3986
4049
|
"events": [
|
|
3987
4050
|
{
|
|
3988
|
-
"description": "Emitted
|
|
3989
|
-
"name": "terra-
|
|
3990
|
-
"reactName": "
|
|
3991
|
-
"eventName": "
|
|
4051
|
+
"description": "Emitted when an option is selected.",
|
|
4052
|
+
"name": "terra-combobox-change",
|
|
4053
|
+
"reactName": "onTerraComboboxChange",
|
|
4054
|
+
"eventName": "TerraComboboxChangeEvent"
|
|
3992
4055
|
}
|
|
3993
4056
|
],
|
|
3994
4057
|
"attributes": [
|
|
3995
4058
|
{
|
|
3996
|
-
"name": "
|
|
4059
|
+
"name": "label",
|
|
3997
4060
|
"type": {
|
|
3998
|
-
"text": "string
|
|
4061
|
+
"text": "string"
|
|
3999
4062
|
},
|
|
4000
|
-
"
|
|
4001
|
-
"
|
|
4063
|
+
"default": "'Search for Variables'",
|
|
4064
|
+
"description": "Label the combobox with this.",
|
|
4065
|
+
"fieldName": "label"
|
|
4002
4066
|
},
|
|
4003
4067
|
{
|
|
4004
|
-
"name": "
|
|
4068
|
+
"name": "placeholder",
|
|
4005
4069
|
"type": {
|
|
4006
|
-
"text": "string
|
|
4070
|
+
"text": "string"
|
|
4007
4071
|
},
|
|
4008
|
-
"description": "a
|
|
4009
|
-
"fieldName": "
|
|
4072
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
4073
|
+
"fieldName": "placeholder"
|
|
4010
4074
|
},
|
|
4011
4075
|
{
|
|
4012
|
-
"name": "
|
|
4076
|
+
"name": "hide-help",
|
|
4013
4077
|
"type": {
|
|
4014
|
-
"text": "
|
|
4078
|
+
"text": "boolean"
|
|
4015
4079
|
},
|
|
4016
|
-
"
|
|
4017
|
-
"
|
|
4080
|
+
"default": "false",
|
|
4081
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
4082
|
+
"fieldName": "hideHelp"
|
|
4018
4083
|
},
|
|
4019
4084
|
{
|
|
4020
|
-
"name": "
|
|
4085
|
+
"name": "hide-label",
|
|
4021
4086
|
"type": {
|
|
4022
|
-
"text": "
|
|
4087
|
+
"text": "boolean"
|
|
4023
4088
|
},
|
|
4024
|
-
"
|
|
4025
|
-
"
|
|
4089
|
+
"default": "false",
|
|
4090
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
4091
|
+
"fieldName": "hideLabel"
|
|
4026
4092
|
},
|
|
4027
4093
|
{
|
|
4028
|
-
"name": "
|
|
4094
|
+
"name": "use-tags",
|
|
4029
4095
|
"type": {
|
|
4030
|
-
"text": "
|
|
4096
|
+
"text": "boolean"
|
|
4031
4097
|
},
|
|
4032
|
-
"
|
|
4033
|
-
"
|
|
4098
|
+
"default": "false",
|
|
4099
|
+
"description": "Determines if the variable combobox uses tags or plain text to display the query.",
|
|
4100
|
+
"fieldName": "useTags"
|
|
4034
4101
|
},
|
|
4035
4102
|
{
|
|
4036
|
-
"name": "
|
|
4103
|
+
"name": "value",
|
|
4037
4104
|
"type": {
|
|
4038
|
-
"text": "string
|
|
4105
|
+
"text": "string"
|
|
4039
4106
|
},
|
|
4040
|
-
"description": "
|
|
4041
|
-
"fieldName": "
|
|
4107
|
+
"description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
|
|
4108
|
+
"fieldName": "value"
|
|
4042
4109
|
},
|
|
4043
4110
|
{
|
|
4044
4111
|
"name": "bearer-token",
|
|
@@ -4053,17 +4120,14 @@
|
|
|
4053
4120
|
"name": "TerraElement",
|
|
4054
4121
|
"module": "/src/internal/terra-element.js"
|
|
4055
4122
|
},
|
|
4056
|
-
"summary": "
|
|
4057
|
-
"tagNameWithoutPrefix": "
|
|
4058
|
-
"tagName": "terra-
|
|
4123
|
+
"summary": "Fuzzy-search for dataset variables in combobox with list autocomplete.",
|
|
4124
|
+
"tagNameWithoutPrefix": "variable-combobox",
|
|
4125
|
+
"tagName": "terra-variable-combobox",
|
|
4059
4126
|
"customElement": true,
|
|
4060
|
-
"jsDoc": "/**\n * @summary
|
|
4061
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
4062
|
-
"status": "
|
|
4063
|
-
"since": "1.0"
|
|
4064
|
-
"dependencies": [
|
|
4065
|
-
"terra-plot"
|
|
4066
|
-
]
|
|
4127
|
+
"jsDoc": "/**\n * @summary Fuzzy-search for dataset variables in combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/variable-combobox\n * @see https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list/\n * @status MVP\n * @since 1.0\n *\n * @csspart base - A `search` element, the component's base.\n * @csspart combobox - An `input` element used for searching.\n * @csspart button - A `button` used for toggling the listbox's visibility.\n * @csspart listbox - A `ul` that holds the clickable options.\n *\n * @cssproperty --host-height - The height of the host element.\n * @cssproperty --help-height - The height of the search help element.\n * @cssproperty --label-height - The height of the input's label element.\n *\n * @event terra-combobox-change - Emitted when an option is selected.\n */",
|
|
4128
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/variable-combobox",
|
|
4129
|
+
"status": "MVP",
|
|
4130
|
+
"since": "1.0"
|
|
4067
4131
|
}
|
|
4068
4132
|
],
|
|
4069
4133
|
"exports": [
|
|
@@ -4071,48 +4135,20 @@
|
|
|
4071
4135
|
"kind": "js",
|
|
4072
4136
|
"name": "default",
|
|
4073
4137
|
"declaration": {
|
|
4074
|
-
"name": "
|
|
4075
|
-
"module": "components/
|
|
4138
|
+
"name": "TerraVariableCombobox",
|
|
4139
|
+
"module": "components/variable-combobox/variable-combobox.js"
|
|
4076
4140
|
}
|
|
4077
4141
|
}
|
|
4078
4142
|
]
|
|
4079
4143
|
},
|
|
4080
4144
|
{
|
|
4081
|
-
"kind": "javascript-module",
|
|
4082
|
-
"path": "components/
|
|
4083
|
-
"declarations": [
|
|
4084
|
-
{
|
|
4085
|
-
"kind": "class",
|
|
4086
|
-
"description": "",
|
|
4087
|
-
"name": "
|
|
4088
|
-
"cssProperties": [
|
|
4089
|
-
{
|
|
4090
|
-
"description": "The height of the host element.",
|
|
4091
|
-
"name": "--host-height"
|
|
4092
|
-
},
|
|
4093
|
-
{
|
|
4094
|
-
"description": "The height of the input's label element.",
|
|
4095
|
-
"name": "--label-height"
|
|
4096
|
-
}
|
|
4097
|
-
],
|
|
4098
|
-
"cssParts": [
|
|
4099
|
-
{
|
|
4100
|
-
"description": "A `search` element, the component's base.",
|
|
4101
|
-
"name": "base"
|
|
4102
|
-
},
|
|
4103
|
-
{
|
|
4104
|
-
"description": "An `input` element used for searching.",
|
|
4105
|
-
"name": "combobox"
|
|
4106
|
-
},
|
|
4107
|
-
{
|
|
4108
|
-
"description": "A `button` used for toggling the listbox's visibility.",
|
|
4109
|
-
"name": "button"
|
|
4110
|
-
},
|
|
4111
|
-
{
|
|
4112
|
-
"description": "A `ul` that holds the clickable options.",
|
|
4113
|
-
"name": "listbox"
|
|
4114
|
-
}
|
|
4115
|
-
],
|
|
4145
|
+
"kind": "javascript-module",
|
|
4146
|
+
"path": "components/time-series/time-series.js",
|
|
4147
|
+
"declarations": [
|
|
4148
|
+
{
|
|
4149
|
+
"kind": "class",
|
|
4150
|
+
"description": "",
|
|
4151
|
+
"name": "TerraTimeSeries",
|
|
4116
4152
|
"members": [
|
|
4117
4153
|
{
|
|
4118
4154
|
"kind": "field",
|
|
@@ -4121,286 +4157,342 @@
|
|
|
4121
4157
|
"text": "object"
|
|
4122
4158
|
},
|
|
4123
4159
|
"static": true,
|
|
4124
|
-
"default": "{\n 'terra-
|
|
4160
|
+
"default": "{\n 'terra-plot': TerraPlot,\n 'terra-loader': TerraLoader,\n 'terra-icon': TerraIcon,\n 'terra-button': TerraButton,\n }"
|
|
4125
4161
|
},
|
|
4126
4162
|
{
|
|
4127
4163
|
"kind": "field",
|
|
4128
|
-
"name": "
|
|
4164
|
+
"name": "#timeSeriesController",
|
|
4165
|
+
"privacy": "private",
|
|
4129
4166
|
"type": {
|
|
4130
|
-
"text": "
|
|
4131
|
-
}
|
|
4132
|
-
"static": true,
|
|
4133
|
-
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
4167
|
+
"text": "TimeSeriesController"
|
|
4168
|
+
}
|
|
4134
4169
|
},
|
|
4135
4170
|
{
|
|
4136
4171
|
"kind": "field",
|
|
4137
|
-
"name": "
|
|
4172
|
+
"name": "variableEntryId",
|
|
4138
4173
|
"type": {
|
|
4139
|
-
"text": "string"
|
|
4174
|
+
"text": "string | undefined"
|
|
4140
4175
|
},
|
|
4141
|
-
"
|
|
4142
|
-
"
|
|
4176
|
+
"description": "a variable entry ID (ex: GPM_3IMERGHH_06_precipitationCal)",
|
|
4177
|
+
"attribute": "variable-entry-id",
|
|
4178
|
+
"reflects": true
|
|
4143
4179
|
},
|
|
4144
4180
|
{
|
|
4145
4181
|
"kind": "field",
|
|
4146
|
-
"name": "
|
|
4182
|
+
"name": "collection",
|
|
4147
4183
|
"type": {
|
|
4148
|
-
"text": "string"
|
|
4184
|
+
"text": "string | undefined"
|
|
4149
4185
|
},
|
|
4150
|
-
"
|
|
4151
|
-
"
|
|
4186
|
+
"description": "a collection entry id (ex: GPM_3IMERGHH_06)\nonly required if you don't include a variableEntryId",
|
|
4187
|
+
"attribute": "collection",
|
|
4188
|
+
"reflects": true
|
|
4152
4189
|
},
|
|
4153
4190
|
{
|
|
4154
4191
|
"kind": "field",
|
|
4155
|
-
"name": "
|
|
4156
|
-
"privacy": "private",
|
|
4192
|
+
"name": "variable",
|
|
4157
4193
|
"type": {
|
|
4158
|
-
"text": "
|
|
4194
|
+
"text": "string | undefined"
|
|
4159
4195
|
},
|
|
4160
|
-
"
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
"kind": "field",
|
|
4164
|
-
"name": "#fetchController",
|
|
4165
|
-
"privacy": "private",
|
|
4166
|
-
"default": "new FetchController(this)"
|
|
4196
|
+
"description": "a variable short name to plot (ex: precipitationCal)\nonly required if you don't include a variableEntryId",
|
|
4197
|
+
"attribute": "variable",
|
|
4198
|
+
"reflects": true
|
|
4167
4199
|
},
|
|
4168
4200
|
{
|
|
4169
4201
|
"kind": "field",
|
|
4170
|
-
"name": "
|
|
4171
|
-
"privacy": "private",
|
|
4202
|
+
"name": "startDate",
|
|
4172
4203
|
"type": {
|
|
4173
|
-
"text": "
|
|
4204
|
+
"text": "string | undefined"
|
|
4174
4205
|
},
|
|
4175
|
-
"
|
|
4206
|
+
"description": "The start date for the time series plot. (ex: 2021-01-01)",
|
|
4207
|
+
"attribute": "start-date",
|
|
4208
|
+
"reflects": true
|
|
4176
4209
|
},
|
|
4177
4210
|
{
|
|
4178
4211
|
"kind": "field",
|
|
4179
|
-
"name": "
|
|
4180
|
-
"privacy": "private",
|
|
4212
|
+
"name": "endDate",
|
|
4181
4213
|
"type": {
|
|
4182
|
-
"text": "
|
|
4214
|
+
"text": "string | undefined"
|
|
4183
4215
|
},
|
|
4184
|
-
"
|
|
4216
|
+
"description": "The end date for the time series plot. (ex: 2021-01-01)",
|
|
4217
|
+
"attribute": "end-date",
|
|
4218
|
+
"reflects": true
|
|
4185
4219
|
},
|
|
4186
4220
|
{
|
|
4187
4221
|
"kind": "field",
|
|
4188
|
-
"name": "
|
|
4189
|
-
"privacy": "private",
|
|
4222
|
+
"name": "location",
|
|
4190
4223
|
"type": {
|
|
4191
|
-
"text": "
|
|
4224
|
+
"text": "string | undefined"
|
|
4192
4225
|
},
|
|
4193
|
-
"
|
|
4226
|
+
"description": "The point location in \"lat,lon\" format.",
|
|
4227
|
+
"attribute": "location",
|
|
4228
|
+
"reflects": true
|
|
4194
4229
|
},
|
|
4195
4230
|
{
|
|
4196
4231
|
"kind": "field",
|
|
4197
|
-
"name": "
|
|
4232
|
+
"name": "bearerToken",
|
|
4198
4233
|
"type": {
|
|
4199
4234
|
"text": "string"
|
|
4200
4235
|
},
|
|
4201
|
-
"
|
|
4202
|
-
"
|
|
4203
|
-
"attribute": "label"
|
|
4236
|
+
"description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
|
|
4237
|
+
"attribute": "bearer-token"
|
|
4204
4238
|
},
|
|
4205
4239
|
{
|
|
4206
4240
|
"kind": "field",
|
|
4207
|
-
"name": "
|
|
4241
|
+
"name": "plot",
|
|
4208
4242
|
"type": {
|
|
4209
|
-
"text": "
|
|
4210
|
-
}
|
|
4211
|
-
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
4212
|
-
"attribute": "placeholder"
|
|
4243
|
+
"text": "TerraPlot"
|
|
4244
|
+
}
|
|
4213
4245
|
},
|
|
4214
4246
|
{
|
|
4215
4247
|
"kind": "field",
|
|
4216
|
-
"name": "
|
|
4248
|
+
"name": "menu",
|
|
4217
4249
|
"type": {
|
|
4218
|
-
"text": "
|
|
4219
|
-
}
|
|
4220
|
-
"default": "true",
|
|
4221
|
-
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
4222
|
-
"attribute": "hide-label"
|
|
4250
|
+
"text": "HTMLMenuElement"
|
|
4251
|
+
}
|
|
4223
4252
|
},
|
|
4224
4253
|
{
|
|
4225
4254
|
"kind": "field",
|
|
4226
|
-
"name": "
|
|
4255
|
+
"name": "catalogVariable",
|
|
4227
4256
|
"type": {
|
|
4228
|
-
"text": "
|
|
4229
|
-
}
|
|
4230
|
-
"default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
|
|
4231
|
-
"description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
|
|
4232
|
-
"attribute": "searchConfig"
|
|
4257
|
+
"text": "Variable"
|
|
4258
|
+
}
|
|
4233
4259
|
},
|
|
4234
4260
|
{
|
|
4235
4261
|
"kind": "field",
|
|
4236
|
-
"name": "
|
|
4262
|
+
"name": "showDataPointWarning",
|
|
4237
4263
|
"type": {
|
|
4238
|
-
"text": "
|
|
4264
|
+
"text": "boolean"
|
|
4239
4265
|
},
|
|
4240
|
-
"
|
|
4266
|
+
"default": "false",
|
|
4267
|
+
"description": "if true, we'll show a warning to the user about them requesting a large number of data points"
|
|
4241
4268
|
},
|
|
4242
4269
|
{
|
|
4243
4270
|
"kind": "field",
|
|
4244
|
-
"name": "
|
|
4271
|
+
"name": "estimatedDataPoints",
|
|
4245
4272
|
"type": {
|
|
4246
|
-
"text": "
|
|
4273
|
+
"text": "number"
|
|
4247
4274
|
},
|
|
4248
|
-
"default": "
|
|
4249
|
-
|
|
4250
|
-
{
|
|
4251
|
-
"kind": "field",
|
|
4252
|
-
"name": "query"
|
|
4275
|
+
"default": "0",
|
|
4276
|
+
"description": "stores the estimated"
|
|
4253
4277
|
},
|
|
4254
4278
|
{
|
|
4255
4279
|
"kind": "field",
|
|
4256
|
-
"name": "
|
|
4280
|
+
"name": "activeMenuItem",
|
|
4257
4281
|
"type": {
|
|
4258
|
-
"text": "
|
|
4282
|
+
"text": "MenuNames"
|
|
4259
4283
|
},
|
|
4260
|
-
"default": "
|
|
4284
|
+
"default": "null"
|
|
4261
4285
|
},
|
|
4262
4286
|
{
|
|
4263
4287
|
"kind": "method",
|
|
4264
|
-
"name": "
|
|
4288
|
+
"name": "handleFocus",
|
|
4265
4289
|
"parameters": [
|
|
4266
4290
|
{
|
|
4267
4291
|
"name": "_oldValue",
|
|
4268
4292
|
"type": {
|
|
4269
|
-
"text": "
|
|
4293
|
+
"text": "MenuNames"
|
|
4270
4294
|
}
|
|
4271
4295
|
},
|
|
4272
4296
|
{
|
|
4273
4297
|
"name": "newValue",
|
|
4274
4298
|
"type": {
|
|
4275
|
-
"text": "
|
|
4299
|
+
"text": "MenuNames"
|
|
4276
4300
|
}
|
|
4277
4301
|
}
|
|
4278
4302
|
]
|
|
4279
4303
|
},
|
|
4280
4304
|
{
|
|
4281
|
-
"kind": "
|
|
4282
|
-
"name": "
|
|
4305
|
+
"kind": "field",
|
|
4306
|
+
"name": "#catalog",
|
|
4307
|
+
"privacy": "private",
|
|
4308
|
+
"default": "new GiovanniVariableCatalog()"
|
|
4283
4309
|
},
|
|
4284
4310
|
{
|
|
4285
|
-
"kind": "
|
|
4286
|
-
"name": "
|
|
4311
|
+
"kind": "field",
|
|
4312
|
+
"name": "#fetchVariableTask",
|
|
4313
|
+
"privacy": "private",
|
|
4314
|
+
"default": "new Task(this, {\n task: async (_args, { signal }) => {\n const variableEntryId = this.#getVariableEntryId()\n\n console.debug('fetch variable ', variableEntryId)\n\n if (!variableEntryId) {\n return\n }\n\n const variable = await this.#catalog.getVariable(variableEntryId, {\n signal,\n })\n\n console.debug('found variable ', variable)\n\n if (!variable) {\n return\n }\n\n this.startDate =\n this.startDate ?? variable.exampleInitialStartDate?.toISOString()\n this.endDate =\n this.endDate ?? variable.exampleInitialEndDate?.toISOString()\n this.catalogVariable = variable\n },\n args: () => [this.variableEntryId, this.collection, this.variable],\n })"
|
|
4287
4315
|
},
|
|
4288
4316
|
{
|
|
4289
4317
|
"kind": "method",
|
|
4290
|
-
"name": "
|
|
4318
|
+
"name": "#confirmDataPointWarning"
|
|
4291
4319
|
},
|
|
4292
4320
|
{
|
|
4293
|
-
"kind": "
|
|
4294
|
-
"name": "#
|
|
4295
|
-
"privacy": "private"
|
|
4321
|
+
"kind": "method",
|
|
4322
|
+
"name": "#cancelDataPointWarning"
|
|
4296
4323
|
},
|
|
4297
4324
|
{
|
|
4298
|
-
"kind": "
|
|
4299
|
-
"name": "#
|
|
4300
|
-
"
|
|
4325
|
+
"kind": "method",
|
|
4326
|
+
"name": "#abortDataLoad",
|
|
4327
|
+
"description": "aborts the underlying data loading task, which cancels the network request"
|
|
4301
4328
|
},
|
|
4302
4329
|
{
|
|
4303
|
-
"kind": "
|
|
4304
|
-
"name": "#
|
|
4305
|
-
"
|
|
4330
|
+
"kind": "method",
|
|
4331
|
+
"name": "#downloadCSV",
|
|
4332
|
+
"parameters": [
|
|
4333
|
+
{
|
|
4334
|
+
"name": "_event",
|
|
4335
|
+
"type": {
|
|
4336
|
+
"text": "Event"
|
|
4337
|
+
}
|
|
4338
|
+
}
|
|
4339
|
+
]
|
|
4306
4340
|
},
|
|
4307
4341
|
{
|
|
4308
|
-
"kind": "
|
|
4309
|
-
"name": "#
|
|
4310
|
-
"
|
|
4342
|
+
"kind": "method",
|
|
4343
|
+
"name": "#convertToCSV",
|
|
4344
|
+
"return": {
|
|
4345
|
+
"type": {
|
|
4346
|
+
"text": "string"
|
|
4347
|
+
}
|
|
4348
|
+
},
|
|
4349
|
+
"parameters": [
|
|
4350
|
+
{
|
|
4351
|
+
"name": "data",
|
|
4352
|
+
"type": {
|
|
4353
|
+
"text": "any[]"
|
|
4354
|
+
}
|
|
4355
|
+
}
|
|
4356
|
+
]
|
|
4311
4357
|
},
|
|
4312
4358
|
{
|
|
4313
|
-
"kind": "
|
|
4314
|
-
"name": "#
|
|
4315
|
-
"
|
|
4359
|
+
"kind": "method",
|
|
4360
|
+
"name": "#downloadPNG",
|
|
4361
|
+
"parameters": [
|
|
4362
|
+
{
|
|
4363
|
+
"name": "_event",
|
|
4364
|
+
"type": {
|
|
4365
|
+
"text": "Event"
|
|
4366
|
+
}
|
|
4367
|
+
}
|
|
4368
|
+
]
|
|
4316
4369
|
},
|
|
4317
4370
|
{
|
|
4318
4371
|
"kind": "method",
|
|
4319
|
-
"name": "#
|
|
4372
|
+
"name": "#handleActiveMenuItem",
|
|
4320
4373
|
"parameters": [
|
|
4321
4374
|
{
|
|
4322
|
-
"name": "
|
|
4375
|
+
"name": "event",
|
|
4323
4376
|
"type": {
|
|
4324
|
-
"text": "
|
|
4377
|
+
"text": "Event"
|
|
4325
4378
|
}
|
|
4326
4379
|
}
|
|
4327
4380
|
]
|
|
4328
4381
|
},
|
|
4329
4382
|
{
|
|
4330
4383
|
"kind": "method",
|
|
4331
|
-
"name": "#
|
|
4332
|
-
}
|
|
4333
|
-
],
|
|
4334
|
-
"events": [
|
|
4384
|
+
"name": "#handleMenuLeave"
|
|
4385
|
+
},
|
|
4335
4386
|
{
|
|
4336
|
-
"
|
|
4337
|
-
"name": "
|
|
4338
|
-
"reactName": "onTerraVariableKeywordSearchChange",
|
|
4339
|
-
"eventName": "TerraVariableKeywordSearchChangeEvent"
|
|
4387
|
+
"kind": "method",
|
|
4388
|
+
"name": "#getVariableEntryId"
|
|
4340
4389
|
},
|
|
4341
4390
|
{
|
|
4342
|
-
"
|
|
4343
|
-
"name": "
|
|
4344
|
-
|
|
4345
|
-
|
|
4391
|
+
"kind": "method",
|
|
4392
|
+
"name": "#getYAxisLabel"
|
|
4393
|
+
},
|
|
4394
|
+
{
|
|
4395
|
+
"kind": "method",
|
|
4396
|
+
"name": "#renderInfoPanel"
|
|
4397
|
+
},
|
|
4398
|
+
{
|
|
4399
|
+
"kind": "method",
|
|
4400
|
+
"name": "#renderDownloadPanel"
|
|
4401
|
+
},
|
|
4402
|
+
{
|
|
4403
|
+
"kind": "method",
|
|
4404
|
+
"name": "#renderHelpPanel"
|
|
4405
|
+
},
|
|
4406
|
+
{
|
|
4407
|
+
"kind": "method",
|
|
4408
|
+
"name": "#renderJupyterNotebookPanel"
|
|
4409
|
+
},
|
|
4410
|
+
{
|
|
4411
|
+
"kind": "method",
|
|
4412
|
+
"name": "#handleJupyterNotebookClick"
|
|
4413
|
+
}
|
|
4414
|
+
],
|
|
4415
|
+
"events": [
|
|
4416
|
+
{
|
|
4417
|
+
"description": "Emitted whenever time series data has been fetched from Giovanni",
|
|
4418
|
+
"name": "terra-time-series-data-change",
|
|
4419
|
+
"reactName": "onTerraTimeSeriesDataChange",
|
|
4420
|
+
"eventName": "TerraTimeSeriesDataChangeEvent"
|
|
4346
4421
|
}
|
|
4347
4422
|
],
|
|
4348
4423
|
"attributes": [
|
|
4349
4424
|
{
|
|
4350
|
-
"name": "
|
|
4425
|
+
"name": "variable-entry-id",
|
|
4351
4426
|
"type": {
|
|
4352
|
-
"text": "string"
|
|
4427
|
+
"text": "string | undefined"
|
|
4353
4428
|
},
|
|
4354
|
-
"
|
|
4355
|
-
"
|
|
4356
|
-
"fieldName": "label"
|
|
4429
|
+
"description": "a variable entry ID (ex: GPM_3IMERGHH_06_precipitationCal)",
|
|
4430
|
+
"fieldName": "variableEntryId"
|
|
4357
4431
|
},
|
|
4358
4432
|
{
|
|
4359
|
-
"name": "
|
|
4433
|
+
"name": "collection",
|
|
4360
4434
|
"type": {
|
|
4361
|
-
"text": "string"
|
|
4435
|
+
"text": "string | undefined"
|
|
4362
4436
|
},
|
|
4363
|
-
"description": "
|
|
4364
|
-
"fieldName": "
|
|
4437
|
+
"description": "a collection entry id (ex: GPM_3IMERGHH_06)\nonly required if you don't include a variableEntryId",
|
|
4438
|
+
"fieldName": "collection"
|
|
4365
4439
|
},
|
|
4366
4440
|
{
|
|
4367
|
-
"name": "
|
|
4441
|
+
"name": "variable",
|
|
4368
4442
|
"type": {
|
|
4369
|
-
"text": "
|
|
4443
|
+
"text": "string | undefined"
|
|
4370
4444
|
},
|
|
4371
|
-
"
|
|
4372
|
-
"
|
|
4373
|
-
"fieldName": "hideLabel"
|
|
4445
|
+
"description": "a variable short name to plot (ex: precipitationCal)\nonly required if you don't include a variableEntryId",
|
|
4446
|
+
"fieldName": "variable"
|
|
4374
4447
|
},
|
|
4375
4448
|
{
|
|
4376
|
-
"name": "
|
|
4449
|
+
"name": "start-date",
|
|
4377
4450
|
"type": {
|
|
4378
|
-
"text": "
|
|
4451
|
+
"text": "string | undefined"
|
|
4379
4452
|
},
|
|
4380
|
-
"
|
|
4381
|
-
"
|
|
4382
|
-
"fieldName": "searchConfig"
|
|
4453
|
+
"description": "The start date for the time series plot. (ex: 2021-01-01)",
|
|
4454
|
+
"fieldName": "startDate"
|
|
4383
4455
|
},
|
|
4384
4456
|
{
|
|
4385
|
-
"name": "
|
|
4457
|
+
"name": "end-date",
|
|
4458
|
+
"type": {
|
|
4459
|
+
"text": "string | undefined"
|
|
4460
|
+
},
|
|
4461
|
+
"description": "The end date for the time series plot. (ex: 2021-01-01)",
|
|
4462
|
+
"fieldName": "endDate"
|
|
4463
|
+
},
|
|
4464
|
+
{
|
|
4465
|
+
"name": "location",
|
|
4466
|
+
"type": {
|
|
4467
|
+
"text": "string | undefined"
|
|
4468
|
+
},
|
|
4469
|
+
"description": "The point location in \"lat,lon\" format.",
|
|
4470
|
+
"fieldName": "location"
|
|
4471
|
+
},
|
|
4472
|
+
{
|
|
4473
|
+
"name": "bearer-token",
|
|
4386
4474
|
"type": {
|
|
4387
4475
|
"text": "string"
|
|
4388
4476
|
},
|
|
4389
|
-
"
|
|
4477
|
+
"description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
|
|
4478
|
+
"fieldName": "bearerToken"
|
|
4390
4479
|
}
|
|
4391
4480
|
],
|
|
4392
4481
|
"superclass": {
|
|
4393
4482
|
"name": "TerraElement",
|
|
4394
4483
|
"module": "/src/internal/terra-element.js"
|
|
4395
4484
|
},
|
|
4396
|
-
"summary": "
|
|
4397
|
-
"tagNameWithoutPrefix": "
|
|
4398
|
-
"tagName": "terra-
|
|
4485
|
+
"summary": "A component for visualizing time series data using the GES DISC Giovanni API.",
|
|
4486
|
+
"tagNameWithoutPrefix": "time-series",
|
|
4487
|
+
"tagName": "terra-time-series",
|
|
4399
4488
|
"customElement": true,
|
|
4400
|
-
"jsDoc": "/**\n * @summary
|
|
4401
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
4402
|
-
"status": "
|
|
4403
|
-
"since": "1.0"
|
|
4489
|
+
"jsDoc": "/**\n * @summary A component for visualizing time series data using the GES DISC Giovanni API.\n * @documentation https://disc.gsfc.nasa.gov/components/time-series\n * @status mvp\n * @since 1.0\n *\n * @dependency terra-plot\n *\n * @event terra-time-series-data-change - Emitted whenever time series data has been fetched from Giovanni\n */",
|
|
4490
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/time-series",
|
|
4491
|
+
"status": "mvp",
|
|
4492
|
+
"since": "1.0",
|
|
4493
|
+
"dependencies": [
|
|
4494
|
+
"terra-plot"
|
|
4495
|
+
]
|
|
4404
4496
|
}
|
|
4405
4497
|
],
|
|
4406
4498
|
"exports": [
|
|
@@ -4408,29 +4500,25 @@
|
|
|
4408
4500
|
"kind": "js",
|
|
4409
4501
|
"name": "default",
|
|
4410
4502
|
"declaration": {
|
|
4411
|
-
"name": "
|
|
4412
|
-
"module": "components/
|
|
4503
|
+
"name": "TerraTimeSeries",
|
|
4504
|
+
"module": "components/time-series/time-series.js"
|
|
4413
4505
|
}
|
|
4414
4506
|
}
|
|
4415
4507
|
]
|
|
4416
4508
|
},
|
|
4417
4509
|
{
|
|
4418
4510
|
"kind": "javascript-module",
|
|
4419
|
-
"path": "components/variable-
|
|
4511
|
+
"path": "components/variable-keyword-search/variable-keyword-search.js",
|
|
4420
4512
|
"declarations": [
|
|
4421
4513
|
{
|
|
4422
4514
|
"kind": "class",
|
|
4423
4515
|
"description": "",
|
|
4424
|
-
"name": "
|
|
4516
|
+
"name": "TerraVariableKeywordSearch",
|
|
4425
4517
|
"cssProperties": [
|
|
4426
4518
|
{
|
|
4427
4519
|
"description": "The height of the host element.",
|
|
4428
4520
|
"name": "--host-height"
|
|
4429
4521
|
},
|
|
4430
|
-
{
|
|
4431
|
-
"description": "The height of the search help element.",
|
|
4432
|
-
"name": "--help-height"
|
|
4433
|
-
},
|
|
4434
4522
|
{
|
|
4435
4523
|
"description": "The height of the input's label element.",
|
|
4436
4524
|
"name": "--label-height"
|
|
@@ -4480,7 +4568,7 @@
|
|
|
4480
4568
|
"text": "string"
|
|
4481
4569
|
},
|
|
4482
4570
|
"static": true,
|
|
4483
|
-
"default": "'terra-variable-
|
|
4571
|
+
"default": "'terra-variable-keyword-search'"
|
|
4484
4572
|
},
|
|
4485
4573
|
{
|
|
4486
4574
|
"kind": "field",
|
|
@@ -4504,18 +4592,7 @@
|
|
|
4504
4592
|
"kind": "field",
|
|
4505
4593
|
"name": "#fetchController",
|
|
4506
4594
|
"privacy": "private",
|
|
4507
|
-
"
|
|
4508
|
-
"text": "FetchController"
|
|
4509
|
-
}
|
|
4510
|
-
},
|
|
4511
|
-
{
|
|
4512
|
-
"kind": "field",
|
|
4513
|
-
"name": "#searchableList",
|
|
4514
|
-
"privacy": "private",
|
|
4515
|
-
"type": {
|
|
4516
|
-
"text": "ListItem[]"
|
|
4517
|
-
},
|
|
4518
|
-
"default": "[]"
|
|
4595
|
+
"default": "new FetchController(this)"
|
|
4519
4596
|
},
|
|
4520
4597
|
{
|
|
4521
4598
|
"kind": "field",
|
|
@@ -4544,22 +4621,13 @@
|
|
|
4544
4621
|
},
|
|
4545
4622
|
"default": "null"
|
|
4546
4623
|
},
|
|
4547
|
-
{
|
|
4548
|
-
"kind": "field",
|
|
4549
|
-
"name": "#tagContainer",
|
|
4550
|
-
"privacy": "private",
|
|
4551
|
-
"type": {
|
|
4552
|
-
"text": "HTMLDivElement | null"
|
|
4553
|
-
},
|
|
4554
|
-
"default": "null"
|
|
4555
|
-
},
|
|
4556
4624
|
{
|
|
4557
4625
|
"kind": "field",
|
|
4558
4626
|
"name": "label",
|
|
4559
4627
|
"type": {
|
|
4560
4628
|
"text": "string"
|
|
4561
4629
|
},
|
|
4562
|
-
"default": "'
|
|
4630
|
+
"default": "'Enter search terms (e.g., precipitation, AOD)'",
|
|
4563
4631
|
"description": "Label the combobox with this.",
|
|
4564
4632
|
"attribute": "label"
|
|
4565
4633
|
},
|
|
@@ -4572,38 +4640,25 @@
|
|
|
4572
4640
|
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
4573
4641
|
"attribute": "placeholder"
|
|
4574
4642
|
},
|
|
4575
|
-
{
|
|
4576
|
-
"kind": "field",
|
|
4577
|
-
"name": "hideHelp",
|
|
4578
|
-
"type": {
|
|
4579
|
-
"text": "boolean"
|
|
4580
|
-
},
|
|
4581
|
-
"default": "false",
|
|
4582
|
-
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
4583
|
-
"attribute": "hide-help",
|
|
4584
|
-
"reflects": true
|
|
4585
|
-
},
|
|
4586
4643
|
{
|
|
4587
4644
|
"kind": "field",
|
|
4588
4645
|
"name": "hideLabel",
|
|
4589
4646
|
"type": {
|
|
4590
4647
|
"text": "boolean"
|
|
4591
4648
|
},
|
|
4592
|
-
"default": "
|
|
4649
|
+
"default": "true",
|
|
4593
4650
|
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
4594
|
-
"attribute": "hide-label"
|
|
4595
|
-
"reflects": true
|
|
4651
|
+
"attribute": "hide-label"
|
|
4596
4652
|
},
|
|
4597
4653
|
{
|
|
4598
4654
|
"kind": "field",
|
|
4599
|
-
"name": "
|
|
4655
|
+
"name": "searchConfig",
|
|
4600
4656
|
"type": {
|
|
4601
|
-
"text": "
|
|
4657
|
+
"text": "object"
|
|
4602
4658
|
},
|
|
4603
|
-
"default": "
|
|
4604
|
-
"description": "
|
|
4605
|
-
"attribute": "
|
|
4606
|
-
"reflects": true
|
|
4659
|
+
"default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
|
|
4660
|
+
"description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
|
|
4661
|
+
"attribute": "searchConfig"
|
|
4607
4662
|
},
|
|
4608
4663
|
{
|
|
4609
4664
|
"kind": "field",
|
|
@@ -4611,18 +4666,8 @@
|
|
|
4611
4666
|
"type": {
|
|
4612
4667
|
"text": "string"
|
|
4613
4668
|
},
|
|
4614
|
-
"description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
|
|
4615
4669
|
"attribute": "value"
|
|
4616
4670
|
},
|
|
4617
|
-
{
|
|
4618
|
-
"kind": "field",
|
|
4619
|
-
"name": "bearerToken",
|
|
4620
|
-
"type": {
|
|
4621
|
-
"text": "string"
|
|
4622
|
-
},
|
|
4623
|
-
"description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
|
|
4624
|
-
"attribute": "bearer-token"
|
|
4625
|
-
},
|
|
4626
4671
|
{
|
|
4627
4672
|
"kind": "field",
|
|
4628
4673
|
"name": "isExpanded",
|
|
@@ -4643,28 +4688,12 @@
|
|
|
4643
4688
|
},
|
|
4644
4689
|
"default": "[]"
|
|
4645
4690
|
},
|
|
4646
|
-
{
|
|
4647
|
-
"kind": "field",
|
|
4648
|
-
"name": "tags",
|
|
4649
|
-
"type": {
|
|
4650
|
-
"text": "string[]"
|
|
4651
|
-
},
|
|
4652
|
-
"default": "[]"
|
|
4653
|
-
},
|
|
4654
|
-
{
|
|
4655
|
-
"kind": "field",
|
|
4656
|
-
"name": "tagContainerWidth",
|
|
4657
|
-
"type": {
|
|
4658
|
-
"text": "number"
|
|
4659
|
-
},
|
|
4660
|
-
"default": "0"
|
|
4661
|
-
},
|
|
4662
4691
|
{
|
|
4663
4692
|
"kind": "method",
|
|
4664
4693
|
"name": "valueChanged",
|
|
4665
4694
|
"parameters": [
|
|
4666
4695
|
{
|
|
4667
|
-
"name": "
|
|
4696
|
+
"name": "_oldValue",
|
|
4668
4697
|
"type": {
|
|
4669
4698
|
"text": "string"
|
|
4670
4699
|
}
|
|
@@ -4675,8 +4704,7 @@
|
|
|
4675
4704
|
"text": "string"
|
|
4676
4705
|
}
|
|
4677
4706
|
}
|
|
4678
|
-
]
|
|
4679
|
-
"description": "This component's value is read by other components.\nInternally, the variable metdata has slight differences that require adapting."
|
|
4707
|
+
]
|
|
4680
4708
|
},
|
|
4681
4709
|
{
|
|
4682
4710
|
"kind": "method",
|
|
@@ -4690,16 +4718,6 @@
|
|
|
4690
4718
|
"kind": "method",
|
|
4691
4719
|
"name": "toggle"
|
|
4692
4720
|
},
|
|
4693
|
-
{
|
|
4694
|
-
"kind": "field",
|
|
4695
|
-
"name": "#dispatchChange",
|
|
4696
|
-
"privacy": "private"
|
|
4697
|
-
},
|
|
4698
|
-
{
|
|
4699
|
-
"kind": "field",
|
|
4700
|
-
"name": "#handleButtonClick",
|
|
4701
|
-
"privacy": "private"
|
|
4702
|
-
},
|
|
4703
4721
|
{
|
|
4704
4722
|
"kind": "field",
|
|
4705
4723
|
"name": "#handleComboboxChange",
|
|
@@ -4727,29 +4745,33 @@
|
|
|
4727
4745
|
},
|
|
4728
4746
|
{
|
|
4729
4747
|
"kind": "method",
|
|
4730
|
-
"name": "#
|
|
4748
|
+
"name": "#handleSearch",
|
|
4731
4749
|
"parameters": [
|
|
4732
4750
|
{
|
|
4733
|
-
"name": "
|
|
4751
|
+
"name": "query",
|
|
4734
4752
|
"type": {
|
|
4735
4753
|
"text": "string"
|
|
4736
4754
|
}
|
|
4737
|
-
},
|
|
4738
|
-
{
|
|
4739
|
-
"name": "_index",
|
|
4740
|
-
"type": {
|
|
4741
|
-
"text": "number"
|
|
4742
|
-
}
|
|
4743
4755
|
}
|
|
4744
4756
|
]
|
|
4757
|
+
},
|
|
4758
|
+
{
|
|
4759
|
+
"kind": "method",
|
|
4760
|
+
"name": "#clearSearch"
|
|
4745
4761
|
}
|
|
4746
4762
|
],
|
|
4747
4763
|
"events": [
|
|
4748
4764
|
{
|
|
4749
4765
|
"description": "Emitted when an option is selected.",
|
|
4750
|
-
"name": "terra-
|
|
4751
|
-
"reactName": "
|
|
4752
|
-
"eventName": "
|
|
4766
|
+
"name": "terra-variable-keyword-search-change",
|
|
4767
|
+
"reactName": "onTerraVariableKeywordSearchChange",
|
|
4768
|
+
"eventName": "TerraVariableKeywordSearchChangeEvent"
|
|
4769
|
+
},
|
|
4770
|
+
{
|
|
4771
|
+
"description": "Emitted when the component is triggering a search (like a form triggering submit).",
|
|
4772
|
+
"name": "terra-search",
|
|
4773
|
+
"reactName": "onTerraSearch",
|
|
4774
|
+
"eventName": "TerraSearchEvent"
|
|
4753
4775
|
}
|
|
4754
4776
|
],
|
|
4755
4777
|
"attributes": [
|
|
@@ -4758,7 +4780,7 @@
|
|
|
4758
4780
|
"type": {
|
|
4759
4781
|
"text": "string"
|
|
4760
4782
|
},
|
|
4761
|
-
"default": "'
|
|
4783
|
+
"default": "'Enter search terms (e.g., precipitation, AOD)'",
|
|
4762
4784
|
"description": "Label the combobox with this.",
|
|
4763
4785
|
"fieldName": "label"
|
|
4764
4786
|
},
|
|
@@ -4770,60 +4792,42 @@
|
|
|
4770
4792
|
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
4771
4793
|
"fieldName": "placeholder"
|
|
4772
4794
|
},
|
|
4773
|
-
{
|
|
4774
|
-
"name": "hide-help",
|
|
4775
|
-
"type": {
|
|
4776
|
-
"text": "boolean"
|
|
4777
|
-
},
|
|
4778
|
-
"default": "false",
|
|
4779
|
-
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
4780
|
-
"fieldName": "hideHelp"
|
|
4781
|
-
},
|
|
4782
4795
|
{
|
|
4783
4796
|
"name": "hide-label",
|
|
4784
4797
|
"type": {
|
|
4785
4798
|
"text": "boolean"
|
|
4786
4799
|
},
|
|
4787
|
-
"default": "
|
|
4800
|
+
"default": "true",
|
|
4788
4801
|
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
4789
4802
|
"fieldName": "hideLabel"
|
|
4790
4803
|
},
|
|
4791
4804
|
{
|
|
4792
|
-
"name": "
|
|
4805
|
+
"name": "searchConfig",
|
|
4793
4806
|
"type": {
|
|
4794
|
-
"text": "
|
|
4807
|
+
"text": "object"
|
|
4795
4808
|
},
|
|
4796
|
-
"default": "
|
|
4797
|
-
"description": "
|
|
4798
|
-
"fieldName": "
|
|
4809
|
+
"default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
|
|
4810
|
+
"description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
|
|
4811
|
+
"fieldName": "searchConfig"
|
|
4799
4812
|
},
|
|
4800
4813
|
{
|
|
4801
4814
|
"name": "value",
|
|
4802
4815
|
"type": {
|
|
4803
4816
|
"text": "string"
|
|
4804
4817
|
},
|
|
4805
|
-
"description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
|
|
4806
4818
|
"fieldName": "value"
|
|
4807
|
-
},
|
|
4808
|
-
{
|
|
4809
|
-
"name": "bearer-token",
|
|
4810
|
-
"type": {
|
|
4811
|
-
"text": "string"
|
|
4812
|
-
},
|
|
4813
|
-
"description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
|
|
4814
|
-
"fieldName": "bearerToken"
|
|
4815
4819
|
}
|
|
4816
4820
|
],
|
|
4817
4821
|
"superclass": {
|
|
4818
4822
|
"name": "TerraElement",
|
|
4819
4823
|
"module": "/src/internal/terra-element.js"
|
|
4820
4824
|
},
|
|
4821
|
-
"summary": "Fuzzy-search for dataset
|
|
4822
|
-
"tagNameWithoutPrefix": "variable-
|
|
4823
|
-
"tagName": "terra-variable-
|
|
4825
|
+
"summary": "Fuzzy-search for dataset keywords in combobox with list autocomplete.",
|
|
4826
|
+
"tagNameWithoutPrefix": "variable-keyword-search",
|
|
4827
|
+
"tagName": "terra-variable-keyword-search",
|
|
4824
4828
|
"customElement": true,
|
|
4825
|
-
"jsDoc": "/**\n * @summary Fuzzy-search for dataset
|
|
4826
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
4829
|
+
"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-variable-keyword-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 */",
|
|
4830
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/giovanni-serch",
|
|
4827
4831
|
"status": "MVP",
|
|
4828
4832
|
"since": "1.0"
|
|
4829
4833
|
}
|
|
@@ -4833,8 +4837,8 @@
|
|
|
4833
4837
|
"kind": "js",
|
|
4834
4838
|
"name": "default",
|
|
4835
4839
|
"declaration": {
|
|
4836
|
-
"name": "
|
|
4837
|
-
"module": "components/variable-
|
|
4840
|
+
"name": "TerraVariableKeywordSearch",
|
|
4841
|
+
"module": "components/variable-keyword-search/variable-keyword-search.js"
|
|
4838
4842
|
}
|
|
4839
4843
|
}
|
|
4840
4844
|
]
|
|
@@ -4843,7 +4847,7 @@
|
|
|
4843
4847
|
"package": {
|
|
4844
4848
|
"name": "@nasa-terra/components",
|
|
4845
4849
|
"description": "A collection of NASA Earthdata components",
|
|
4846
|
-
"version": "0.0.
|
|
4850
|
+
"version": "0.0.45",
|
|
4847
4851
|
"author": "NASA GES DISC <https://disc.gsfc.nasa.gov>",
|
|
4848
4852
|
"homepage": "https://github.com/gesdisc/components",
|
|
4849
4853
|
"license": "MIT"
|