@nasa-terra/components 0.0.45 → 0.0.46
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.ZX2ZNCYX.js → chunk.2DBIPOEM.js} +1 -1
- package/cdn/chunks/{chunk.YHH2QGV3.js → chunk.3QAGRH7Q.js} +1 -1
- package/cdn/chunks/{chunk.LW4FDJZV.js → chunk.422546SY.js} +1 -1
- package/cdn/chunks/{chunk.2JVFCPZQ.js → chunk.4FMBCKEI.js} +2 -2
- package/{dist/chunks/chunk.EDRHDXR5.js → cdn/chunks/chunk.5DEGEBQN.js} +1 -1
- package/cdn/chunks/{chunk.NZQLJJWI.js → chunk.5KNTYZ5E.js} +1 -1
- package/cdn/chunks/{chunk.ZROILKPX.js → chunk.5XQ67TFD.js} +1 -1
- package/cdn/chunks/{chunk.SVB6CWAO.js → chunk.62QKRINB.js} +7 -7
- package/cdn/chunks/{chunk.ZPUZYX2F.js → chunk.642VKDWV.js} +1 -1
- package/cdn/chunks/{chunk.KP4VCTRF.js → chunk.644NS3KY.js} +1 -1
- package/cdn/chunks/{chunk.UOAXJTR4.js → chunk.6ZVPVLY4.js} +1 -1
- package/{dist/chunks/chunk.YNJTPABM.js → cdn/chunks/chunk.7DIP77ML.js} +1 -1
- package/cdn/chunks/{chunk.YDTFMWV3.js → chunk.AAZ2AF5E.js} +1 -1
- package/cdn/chunks/{chunk.DWZFUOHR.js → chunk.AQW3C6CP.js} +1 -1
- package/cdn/chunks/{chunk.VV7CXX5L.js → chunk.B2SMSYRK.js} +3 -3
- package/cdn/chunks/{chunk.4Z4SJPRM.js → chunk.BQGSDEGM.js} +1 -1
- package/cdn/chunks/{chunk.HSD63J4K.js → chunk.BRO7BDQP.js} +1 -1
- package/{dist/chunks/chunk.LO5DQW6B.js → cdn/chunks/chunk.C45EJLEL.js} +1 -1
- package/cdn/chunks/{chunk.YZXMJRFT.js → chunk.DEARFWNY.js} +1 -1
- package/cdn/chunks/{chunk.TWMOVOPK.js → chunk.DQLSJIH3.js} +1 -1
- package/cdn/chunks/{chunk.2BBYUVXZ.js → chunk.DQMHYLGP.js} +1 -1
- package/cdn/chunks/{chunk.TEWFW2B2.js → chunk.FEO3VYN2.js} +1 -1
- package/cdn/chunks/{chunk.FKZEIUI7.js → chunk.I7FFGUIK.js} +1 -1
- package/cdn/chunks/{chunk.Y7P4LXE6.js → chunk.IFURUNMI.js} +3 -3
- package/{dist/chunks/chunk.7ZPJWNP3.js → cdn/chunks/chunk.JD4S2E5S.js} +1 -1
- package/cdn/chunks/{chunk.CZILWG23.js → chunk.JQD6INON.js} +1 -1
- package/cdn/chunks/{chunk.BIBODSR4.js → chunk.JZ6CU3Q5.js} +1 -1
- package/{dist/chunks/chunk.MLOEWNPV.js → cdn/chunks/chunk.KR4EW5DQ.js} +1 -1
- package/{dist/chunks/chunk.3CTBJXJY.js → cdn/chunks/chunk.N2DGVFEP.js} +1 -1
- package/cdn/chunks/{chunk.2XTKUKIB.js → chunk.NGIBJUPG.js} +4 -4
- package/{dist/chunks/chunk.TY6D5XAZ.js → cdn/chunks/chunk.NIVOQCZH.js} +1 -1
- package/{dist/chunks/chunk.GIJRARNO.js → cdn/chunks/chunk.OL3BWCQ4.js} +1 -1
- package/{dist/chunks/chunk.WAHH4JE5.js → cdn/chunks/chunk.PA4D7FEM.js} +1 -1
- package/cdn/chunks/{chunk.RN6XJ3EC.js → chunk.QPHDI5Q3.js} +4 -4
- package/cdn/chunks/{chunk.RCPEY33L.js → chunk.QW3WP6JI.js} +8 -8
- package/cdn/chunks/{chunk.DDY3FGPF.js → chunk.RHKRNJ27.js} +1 -1
- package/cdn/chunks/{chunk.LSHZ2GJS.js → chunk.RRC6TB2Z.js} +1 -1
- package/cdn/chunks/{chunk.QWNJZLAC.js → chunk.T65BKKKS.js} +1 -1
- package/cdn/chunks/{chunk.U5KI6JRO.js → chunk.TCK6EHKB.js} +1 -1
- package/{dist/chunks/chunk.NWOLKB4W.js → cdn/chunks/chunk.THNNY7UR.js} +1 -1
- package/cdn/chunks/{chunk.REGE7WJB.js → chunk.THQGZDJ7.js} +1 -1
- package/{dist/chunks/chunk.K4PW2RMT.js → cdn/chunks/chunk.TXUFBKSF.js} +1 -1
- package/cdn/chunks/{chunk.XGF2P4YV.js → chunk.UOAEKV6N.js} +1 -1
- package/cdn/chunks/{chunk.HEVFNGHQ.js → chunk.VDYKBH2F.js} +1 -1
- package/cdn/chunks/{chunk.VD37HWZF.js → chunk.VNMT6RE2.js} +4 -4
- package/cdn/chunks/{chunk.KDZX6267.js → chunk.WDOY7NYN.js} +1 -1
- package/{dist/chunks/chunk.HHQCCB7G.js → cdn/chunks/chunk.WPZAFDSV.js} +1 -1
- package/cdn/chunks/{chunk.4IAWGN7F.js → chunk.WRKCXDAU.js} +1 -1
- package/cdn/chunks/{chunk.HFCQI2MX.js → chunk.WRO5SGZH.js} +1 -1
- package/cdn/chunks/{chunk.J53H64HP.js → chunk.X7MQSVPB.js} +1 -1
- package/cdn/chunks/{chunk.EBWKHD35.js → chunk.XJRBTAD7.js} +1 -1
- package/{dist/chunks/chunk.KB7LV3EL.js → cdn/chunks/chunk.XMOWUYI3.js} +1 -1
- package/cdn/chunks/{chunk.FM3UWDOB.js → chunk.XRL56VNM.js} +1 -1
- package/cdn/chunks/{chunk.UQYGB6XL.js → chunk.YESDIIBQ.js} +7 -7
- package/cdn/chunks/{chunk.SLY7YUFC.js → chunk.ZFIGPLN6.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 +2 -2
- package/cdn/components/button/button.js +3 -3
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +2 -2
- package/cdn/components/combobox/combobox.js +3 -3
- package/cdn/components/data-rods/data-rods.component.js +18 -18
- package/cdn/components/data-rods/data-rods.js +19 -19
- 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 +3 -3
- package/cdn/components/date-range-slider/date-range-slider.js +4 -4
- 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 +4 -4
- package/cdn/components/map/map.js +5 -5
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spatial-picker/spatial-picker.component.js +5 -5
- package/cdn/components/spatial-picker/spatial-picker.js +6 -6
- package/cdn/components/time-series/time-series.component.js +7 -7
- package/cdn/components/time-series/time-series.js +8 -8
- package/cdn/components/variable-combobox/variable-combobox.component.js +6 -6
- package/cdn/components/variable-combobox/variable-combobox.js +7 -7
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +6 -6
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +7 -7
- package/cdn/custom-elements.json +1508 -1508
- package/cdn/react/browse-variables/index.js +11 -11
- package/cdn/react/button/index.js +3 -3
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +3 -3
- package/cdn/react/data-rods/index.js +19 -19
- package/cdn/react/date-picker/index.js +3 -3
- package/cdn/react/date-range-slider/index.js +4 -4
- package/cdn/react/dialog/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/index.d.ts +5 -5
- package/cdn/react/index.js +57 -57
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +10 -10
- package/cdn/react/map/index.js +5 -5
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spatial-picker/index.js +6 -6
- package/cdn/react/time-series/index.js +8 -8
- package/cdn/react/variable-combobox/index.js +7 -7
- package/cdn/react/variable-keyword-search/index.js +7 -7
- package/cdn/terra-ui-components.js +52 -52
- package/cdn/types/vue/index.d.ts +118 -118
- package/cdn/vscode.html-custom-data.json +143 -143
- package/cdn/web-types.json +318 -318
- package/dist/chunks/{chunk.CBPNOBYV.js → chunk.23HOJEIM.js} +1 -1
- package/dist/chunks/{chunk.MS6UNHXS.js → chunk.2J3ZWAWB.js} +1 -1
- package/dist/chunks/{chunk.BMR2MSLS.js → chunk.3AHIV3CV.js} +1 -1
- package/{cdn/chunks/chunk.Y6FGE5IT.js → dist/chunks/chunk.3QXC746H.js} +1 -1
- package/{cdn/chunks/chunk.DF3GGEJ5.js → dist/chunks/chunk.44EOGEP5.js} +1 -1
- package/dist/chunks/{chunk.75SJTCIV.js → chunk.4A4NPFIS.js} +1 -1
- package/{cdn/chunks/chunk.6EHV6K3S.js → dist/chunks/chunk.5PY3W7CM.js} +1 -1
- package/dist/chunks/{chunk.HO7IFKH7.js → chunk.64B3Z3QR.js} +1 -1
- package/dist/chunks/{chunk.NHJ3EBNG.js → chunk.6JXWUGBE.js} +1 -1
- package/dist/chunks/{chunk.NHW27P5N.js → chunk.6QZ6ONKA.js} +1 -1
- package/{cdn/chunks/chunk.O73IBY6C.js → dist/chunks/chunk.757RWPLI.js} +1 -1
- package/dist/chunks/{chunk.RMHKCYA6.js → chunk.7SCKOVIE.js} +1 -1
- package/dist/chunks/{chunk.EQN4RFGU.js → chunk.AJ4P7TEH.js} +1 -1
- package/dist/chunks/{chunk.MEPZIAGL.js → chunk.BCOUURZC.js} +1 -1
- package/dist/chunks/{chunk.Q6DRT4JH.js → chunk.BOLNHWSF.js} +1 -1
- package/{cdn/chunks/chunk.VWQZIINL.js → dist/chunks/chunk.CG4GPXRQ.js} +1 -1
- package/dist/chunks/{chunk.DUGMF3IG.js → chunk.CRVQVMS3.js} +4 -4
- package/dist/chunks/{chunk.2R2CMZU5.js → chunk.CVE4BERZ.js} +1 -1
- package/dist/chunks/{chunk.44QP2ERH.js → chunk.E6EKM5FS.js} +1 -1
- package/dist/chunks/{chunk.V3AQ3G4R.js → chunk.FICPOQPL.js} +1 -1
- package/{cdn/chunks/chunk.AIVF2LYW.js → dist/chunks/chunk.GJ26NRSW.js} +1 -1
- package/dist/chunks/{chunk.QW3YB4FP.js → chunk.GLCEOQ5F.js} +7 -7
- package/dist/chunks/{chunk.BA5UHVQA.js → chunk.GLI4PH44.js} +1 -1
- package/{cdn/chunks/chunk.FE7PKR4T.js → dist/chunks/chunk.H6BZMDPB.js} +1 -1
- package/dist/chunks/{chunk.VQIZ36B7.js → chunk.HJUAFQ6A.js} +8 -8
- package/dist/chunks/{chunk.VFU2O56V.js → chunk.HJZNAGAD.js} +7 -7
- package/dist/chunks/{chunk.I2NF2HZM.js → chunk.JDBHCFU4.js} +1 -1
- package/dist/chunks/{chunk.NZCOLBOI.js → chunk.JN4SO72M.js} +1 -1
- package/dist/chunks/{chunk.6DOKSRWY.js → chunk.K7YCK2EF.js} +1 -1
- package/{cdn/chunks/chunk.QI4CW6SZ.js → dist/chunks/chunk.KEGTZTAX.js} +1 -1
- package/{cdn/chunks/chunk.BSPUHX7G.js → dist/chunks/chunk.KFHWLK2O.js} +1 -1
- package/{cdn/chunks/chunk.3S6YU4GV.js → dist/chunks/chunk.KW4WQXAQ.js} +1 -1
- package/dist/chunks/{chunk.NY5ELIGL.js → chunk.LCBIWITZ.js} +1 -1
- package/dist/chunks/{chunk.7ZF43BLB.js → chunk.M34UACXO.js} +1 -1
- package/dist/chunks/{chunk.S2YNNRAG.js → chunk.MHIQR7C2.js} +1 -1
- package/dist/chunks/{chunk.A7QBYP2G.js → chunk.N44KGPJX.js} +1 -1
- package/{cdn/chunks/chunk.XSXK5XPO.js → dist/chunks/chunk.NWZQXVHC.js} +1 -1
- package/dist/chunks/{chunk.4AMT22AE.js → chunk.ONRGTZQ5.js} +1 -1
- package/dist/chunks/{chunk.XMJAGELF.js → chunk.PAFL2XMY.js} +1 -1
- package/dist/chunks/{chunk.47RYAEL6.js → chunk.PC5E6BZF.js} +1 -1
- package/dist/chunks/{chunk.6XHLGITH.js → chunk.PFAM6IHC.js} +1 -1
- package/dist/chunks/{chunk.Z7YYSHP5.js → chunk.R25UKGRM.js} +3 -3
- package/dist/chunks/{chunk.WW7KBC2J.js → chunk.R35I2HML.js} +1 -1
- package/dist/chunks/{chunk.MUOIGLIS.js → chunk.R7FU2IQE.js} +2 -2
- package/dist/chunks/{chunk.3C5R6F2R.js → chunk.RNDM62L7.js} +1 -1
- package/dist/chunks/{chunk.DKAE3S5I.js → chunk.SHY4DNQ5.js} +1 -1
- package/dist/chunks/{chunk.O4UZCLJJ.js → chunk.TR5R46AD.js} +1 -1
- package/{cdn/chunks/chunk.EDZIBUTU.js → dist/chunks/chunk.TWZXTOJ4.js} +1 -1
- package/dist/chunks/{chunk.LE33GS2U.js → chunk.TYHUW6TH.js} +3 -3
- package/dist/chunks/{chunk.H4HQMP7O.js → chunk.UI5RALEX.js} +1 -1
- package/dist/chunks/{chunk.CBBRYITQ.js → chunk.X5VY4SHF.js} +4 -4
- package/dist/chunks/{chunk.ZMMA3LHG.js → chunk.XHUNNVRF.js} +4 -4
- package/dist/chunks/{chunk.RT2CYLEI.js → chunk.XNZICOBA.js} +1 -1
- package/dist/chunks/{chunk.LYNMSIPM.js → chunk.XX22TGES.js} +1 -1
- package/{cdn/chunks/chunk.T6GXXTCR.js → dist/chunks/chunk.YYHSMXQ5.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 +2 -2
- package/dist/components/button/button.js +3 -3
- package/dist/components/chip/chip.component.js +2 -2
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/combobox/combobox.component.js +2 -2
- package/dist/components/combobox/combobox.js +3 -3
- package/dist/components/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 +3 -3
- package/dist/components/date-range-slider/date-range-slider.js +4 -4
- 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 +4 -4
- package/dist/components/map/map.js +5 -5
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.component.js +5 -5
- package/dist/components/spatial-picker/spatial-picker.js +6 -6
- package/dist/components/time-series/time-series.component.js +7 -7
- package/dist/components/time-series/time-series.js +8 -8
- package/dist/components/variable-combobox/variable-combobox.component.js +6 -6
- package/dist/components/variable-combobox/variable-combobox.js +7 -7
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +6 -6
- package/dist/components/variable-keyword-search/variable-keyword-search.js +7 -7
- package/dist/custom-elements.json +1508 -1508
- package/dist/react/browse-variables/index.js +11 -11
- package/dist/react/button/index.js +3 -3
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +3 -3
- package/dist/react/data-rods/index.js +19 -19
- package/dist/react/date-picker/index.js +3 -3
- package/dist/react/date-range-slider/index.js +4 -4
- package/dist/react/dialog/index.js +3 -3
- package/dist/react/icon/index.js +3 -3
- package/dist/react/index.d.ts +5 -5
- package/dist/react/index.js +57 -57
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +10 -10
- package/dist/react/map/index.js +5 -5
- package/dist/react/plot/index.js +3 -3
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +6 -6
- package/dist/react/time-series/index.js +8 -8
- package/dist/react/variable-combobox/index.js +7 -7
- package/dist/react/variable-keyword-search/index.js +7 -7
- package/dist/terra-ui-components.js +52 -52
- package/dist/{terra_ui_components-0.0.45-py3-none-any.whl → terra_ui_components-0.0.46-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.45.tar.gz → terra_ui_components-0.0.46.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +118 -118
- package/dist/vscode.html-custom-data.json +143 -143
- package/dist/web-types.json +318 -318
- package/package.json +1 -1
|
@@ -708,413 +708,250 @@
|
|
|
708
708
|
},
|
|
709
709
|
{
|
|
710
710
|
"kind": "javascript-module",
|
|
711
|
-
"path": "components/
|
|
711
|
+
"path": "components/browse-variables/browse-variables.js",
|
|
712
712
|
"declarations": [
|
|
713
713
|
{
|
|
714
714
|
"kind": "class",
|
|
715
715
|
"description": "",
|
|
716
|
-
"name": "
|
|
717
|
-
"cssProperties": [
|
|
718
|
-
{
|
|
719
|
-
"description": "The height of the host element.",
|
|
720
|
-
"name": "--host-height"
|
|
721
|
-
},
|
|
722
|
-
{
|
|
723
|
-
"description": "The height of the search help element.",
|
|
724
|
-
"name": "--help-height"
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
"description": "The height of the input's label element.",
|
|
728
|
-
"name": "--label-height"
|
|
729
|
-
}
|
|
730
|
-
],
|
|
731
|
-
"cssParts": [
|
|
732
|
-
{
|
|
733
|
-
"description": "A `search` element, the component's base.",
|
|
734
|
-
"name": "base"
|
|
735
|
-
},
|
|
736
|
-
{
|
|
737
|
-
"description": "An `input` element used for searching.",
|
|
738
|
-
"name": "combobox"
|
|
739
|
-
},
|
|
740
|
-
{
|
|
741
|
-
"description": "A `button` used for toggling the listbox's visibility.",
|
|
742
|
-
"name": "button"
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
"description": "A `ul` that holds the clickable options.",
|
|
746
|
-
"name": "listbox"
|
|
747
|
-
}
|
|
748
|
-
],
|
|
716
|
+
"name": "TerraBrowseVariables",
|
|
749
717
|
"members": [
|
|
750
718
|
{
|
|
751
719
|
"kind": "field",
|
|
752
|
-
"name": "
|
|
720
|
+
"name": "dependencies",
|
|
753
721
|
"type": {
|
|
754
722
|
"text": "object"
|
|
755
723
|
},
|
|
756
724
|
"static": true,
|
|
757
|
-
"default": "{\n
|
|
725
|
+
"default": "{\n 'terra-variable-keyword-search': TerraVariableKeywordSearch,\n 'terra-button': TerraButton,\n 'terra-skeleton': TerraSkeleton,\n 'terra-icon': TerraIcon,\n 'terra-loader': TerraLoader,\n }"
|
|
758
726
|
},
|
|
759
727
|
{
|
|
760
728
|
"kind": "field",
|
|
761
|
-
"name": "
|
|
729
|
+
"name": "catalog",
|
|
762
730
|
"type": {
|
|
763
|
-
"text": "
|
|
731
|
+
"text": "'giovanni'"
|
|
764
732
|
},
|
|
765
|
-
"
|
|
766
|
-
"
|
|
733
|
+
"default": "'giovanni'",
|
|
734
|
+
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
735
|
+
"attribute": "catalog"
|
|
767
736
|
},
|
|
768
737
|
{
|
|
769
738
|
"kind": "field",
|
|
770
|
-
"name": "
|
|
739
|
+
"name": "searchQuery",
|
|
771
740
|
"type": {
|
|
772
741
|
"text": "string"
|
|
773
|
-
}
|
|
774
|
-
"static": true,
|
|
775
|
-
"default": "''"
|
|
742
|
+
}
|
|
776
743
|
},
|
|
777
744
|
{
|
|
778
745
|
"kind": "field",
|
|
779
|
-
"name": "
|
|
780
|
-
"privacy": "private",
|
|
746
|
+
"name": "selectedFacets",
|
|
781
747
|
"type": {
|
|
782
|
-
"text": "
|
|
748
|
+
"text": "SelectedFacets"
|
|
783
749
|
},
|
|
784
|
-
"default": "
|
|
750
|
+
"default": "{}"
|
|
785
751
|
},
|
|
786
752
|
{
|
|
787
753
|
"kind": "field",
|
|
788
|
-
"name": "
|
|
789
|
-
"privacy": "private",
|
|
754
|
+
"name": "selectedVariables",
|
|
790
755
|
"type": {
|
|
791
|
-
"text": "
|
|
756
|
+
"text": "Variable[]"
|
|
792
757
|
},
|
|
793
|
-
"default": "
|
|
758
|
+
"default": "[]"
|
|
794
759
|
},
|
|
795
760
|
{
|
|
796
761
|
"kind": "field",
|
|
797
|
-
"name": "
|
|
798
|
-
"privacy": "private",
|
|
762
|
+
"name": "showVariablesBrowse",
|
|
799
763
|
"type": {
|
|
800
|
-
"text": "
|
|
764
|
+
"text": "boolean"
|
|
801
765
|
},
|
|
802
|
-
"default": "
|
|
766
|
+
"default": "false"
|
|
803
767
|
},
|
|
804
768
|
{
|
|
805
769
|
"kind": "field",
|
|
806
|
-
"name": "#
|
|
770
|
+
"name": "#controller",
|
|
807
771
|
"privacy": "private",
|
|
808
|
-
"
|
|
809
|
-
"text": "TreeWalker | null"
|
|
810
|
-
},
|
|
811
|
-
"default": "null"
|
|
812
|
-
},
|
|
813
|
-
{
|
|
814
|
-
"kind": "field",
|
|
815
|
-
"name": "label",
|
|
816
|
-
"type": {
|
|
817
|
-
"text": "string"
|
|
818
|
-
},
|
|
819
|
-
"default": "'Search for Items'",
|
|
820
|
-
"description": "Label the combobox with this.",
|
|
821
|
-
"attribute": "label"
|
|
822
|
-
},
|
|
823
|
-
{
|
|
824
|
-
"kind": "field",
|
|
825
|
-
"name": "name",
|
|
826
|
-
"type": {
|
|
827
|
-
"text": "string"
|
|
828
|
-
},
|
|
829
|
-
"default": "'Item'",
|
|
830
|
-
"description": "name the combobox with this.",
|
|
831
|
-
"attribute": "name"
|
|
832
|
-
},
|
|
833
|
-
{
|
|
834
|
-
"kind": "field",
|
|
835
|
-
"name": "placeholder",
|
|
836
|
-
"type": {
|
|
837
|
-
"text": "string"
|
|
838
|
-
},
|
|
839
|
-
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
840
|
-
"attribute": "placeholder"
|
|
772
|
+
"default": "new BrowseVariablesController(this)"
|
|
841
773
|
},
|
|
842
774
|
{
|
|
843
|
-
"kind": "
|
|
844
|
-
"name": "
|
|
845
|
-
"type": {
|
|
846
|
-
"text": "boolean"
|
|
847
|
-
},
|
|
848
|
-
"default": "false",
|
|
849
|
-
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
850
|
-
"attribute": "hide-help"
|
|
775
|
+
"kind": "method",
|
|
776
|
+
"name": "handleSelectedVariablesChange"
|
|
851
777
|
},
|
|
852
778
|
{
|
|
853
|
-
"kind": "
|
|
854
|
-
"name": "
|
|
855
|
-
"type": {
|
|
856
|
-
"text": "boolean"
|
|
857
|
-
},
|
|
858
|
-
"default": "false",
|
|
859
|
-
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
860
|
-
"attribute": "hide-label"
|
|
779
|
+
"kind": "method",
|
|
780
|
+
"name": "reset"
|
|
861
781
|
},
|
|
862
782
|
{
|
|
863
|
-
"kind": "
|
|
864
|
-
"name": "
|
|
865
|
-
"type": {
|
|
866
|
-
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
867
|
-
},
|
|
868
|
-
"default": "'INITIAL'",
|
|
869
|
-
"description": "status of the content",
|
|
870
|
-
"attribute": "status"
|
|
783
|
+
"kind": "method",
|
|
784
|
+
"name": "handleObservationChange"
|
|
871
785
|
},
|
|
872
786
|
{
|
|
873
|
-
"kind": "
|
|
874
|
-
"name": "
|
|
875
|
-
"
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
787
|
+
"kind": "method",
|
|
788
|
+
"name": "toggleFacetSelect",
|
|
789
|
+
"parameters": [
|
|
790
|
+
{
|
|
791
|
+
"name": "event",
|
|
792
|
+
"type": {
|
|
793
|
+
"text": "Event"
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
]
|
|
881
797
|
},
|
|
882
798
|
{
|
|
883
|
-
"kind": "
|
|
884
|
-
"name": "
|
|
885
|
-
"
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
799
|
+
"kind": "method",
|
|
800
|
+
"name": "handleSearch",
|
|
801
|
+
"parameters": [
|
|
802
|
+
{
|
|
803
|
+
"name": "e",
|
|
804
|
+
"type": {
|
|
805
|
+
"text": "TerraVariableKeywordSearchChangeEvent"
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
]
|
|
889
809
|
},
|
|
890
810
|
{
|
|
891
|
-
"kind": "
|
|
892
|
-
"name": "
|
|
811
|
+
"kind": "method",
|
|
812
|
+
"name": "#selectFacetField",
|
|
813
|
+
"parameters": [
|
|
814
|
+
{
|
|
815
|
+
"name": "facet",
|
|
816
|
+
"type": {
|
|
817
|
+
"text": "string"
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"name": "field",
|
|
822
|
+
"type": {
|
|
823
|
+
"text": "string"
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"name": "selectOneFieldAtATime",
|
|
828
|
+
"default": "false",
|
|
829
|
+
"type": {
|
|
830
|
+
"text": "boolean"
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
],
|
|
834
|
+
"description": "given a field, ex: \"observations\": \"Model\", will add the field to any existing selected facets\nif \"selectedOneFieldAtATime\" is true, then we will only select that one field"
|
|
893
835
|
},
|
|
894
836
|
{
|
|
895
|
-
"kind": "
|
|
896
|
-
"name": "
|
|
897
|
-
"
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
837
|
+
"kind": "method",
|
|
838
|
+
"name": "#clearFacet",
|
|
839
|
+
"parameters": [
|
|
840
|
+
{
|
|
841
|
+
"name": "facet",
|
|
842
|
+
"type": {
|
|
843
|
+
"text": "string"
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
]
|
|
901
847
|
},
|
|
902
848
|
{
|
|
903
849
|
"kind": "method",
|
|
904
|
-
"name": "
|
|
850
|
+
"name": "#unselectFacetField",
|
|
905
851
|
"parameters": [
|
|
906
852
|
{
|
|
907
|
-
"name": "
|
|
853
|
+
"name": "facet",
|
|
908
854
|
"type": {
|
|
909
|
-
"text": "
|
|
855
|
+
"text": "string"
|
|
910
856
|
}
|
|
911
857
|
},
|
|
912
858
|
{
|
|
913
|
-
"name": "
|
|
859
|
+
"name": "field",
|
|
914
860
|
"type": {
|
|
915
|
-
"text": "
|
|
861
|
+
"text": "string"
|
|
916
862
|
}
|
|
917
863
|
}
|
|
918
864
|
]
|
|
919
865
|
},
|
|
920
866
|
{
|
|
921
|
-
"kind": "
|
|
922
|
-
"name": "#
|
|
923
|
-
"
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
"name": "#renderLoading",
|
|
938
|
-
"privacy": "private"
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
"kind": "field",
|
|
942
|
-
"name": "#dispatchChange",
|
|
943
|
-
"privacy": "private"
|
|
944
|
-
},
|
|
945
|
-
{
|
|
946
|
-
"kind": "field",
|
|
947
|
-
"name": "#handleButtonClick",
|
|
948
|
-
"privacy": "private"
|
|
949
|
-
},
|
|
950
|
-
{
|
|
951
|
-
"kind": "field",
|
|
952
|
-
"name": "#handleComboboxChange",
|
|
953
|
-
"privacy": "private"
|
|
954
|
-
},
|
|
955
|
-
{
|
|
956
|
-
"kind": "field",
|
|
957
|
-
"name": "#handleOptionClick",
|
|
958
|
-
"privacy": "private"
|
|
959
|
-
},
|
|
960
|
-
{
|
|
961
|
-
"kind": "field",
|
|
962
|
-
"name": "#handleKeydown",
|
|
963
|
-
"privacy": "private"
|
|
964
|
-
},
|
|
965
|
-
{
|
|
966
|
-
"kind": "field",
|
|
967
|
-
"name": "#manageListboxVisibility",
|
|
968
|
-
"privacy": "private"
|
|
969
|
-
},
|
|
970
|
-
{
|
|
971
|
-
"kind": "field",
|
|
972
|
-
"name": "#selectOption",
|
|
973
|
-
"privacy": "private"
|
|
974
|
-
}
|
|
975
|
-
],
|
|
976
|
-
"attributes": [
|
|
977
|
-
{
|
|
978
|
-
"name": "label",
|
|
979
|
-
"type": {
|
|
980
|
-
"text": "string"
|
|
981
|
-
},
|
|
982
|
-
"default": "'Search for Items'",
|
|
983
|
-
"description": "Label the combobox with this.",
|
|
984
|
-
"fieldName": "label"
|
|
985
|
-
},
|
|
986
|
-
{
|
|
987
|
-
"name": "name",
|
|
988
|
-
"type": {
|
|
989
|
-
"text": "string"
|
|
990
|
-
},
|
|
991
|
-
"default": "'Item'",
|
|
992
|
-
"description": "name the combobox with this.",
|
|
993
|
-
"fieldName": "name"
|
|
994
|
-
},
|
|
995
|
-
{
|
|
996
|
-
"name": "placeholder",
|
|
997
|
-
"type": {
|
|
998
|
-
"text": "string"
|
|
999
|
-
},
|
|
1000
|
-
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1001
|
-
"fieldName": "placeholder"
|
|
1002
|
-
},
|
|
1003
|
-
{
|
|
1004
|
-
"name": "hide-help",
|
|
1005
|
-
"type": {
|
|
1006
|
-
"text": "boolean"
|
|
1007
|
-
},
|
|
1008
|
-
"default": "false",
|
|
1009
|
-
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
1010
|
-
"fieldName": "hideHelp"
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
"name": "hide-label",
|
|
1014
|
-
"type": {
|
|
1015
|
-
"text": "boolean"
|
|
1016
|
-
},
|
|
1017
|
-
"default": "false",
|
|
1018
|
-
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1019
|
-
"fieldName": "hideLabel"
|
|
867
|
+
"kind": "method",
|
|
868
|
+
"name": "#handleVariableSelection",
|
|
869
|
+
"parameters": [
|
|
870
|
+
{
|
|
871
|
+
"name": "variable",
|
|
872
|
+
"type": {
|
|
873
|
+
"text": "Variable"
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
"name": "checked",
|
|
878
|
+
"type": {
|
|
879
|
+
"text": "Boolean"
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
]
|
|
1020
883
|
},
|
|
1021
884
|
{
|
|
1022
|
-
"
|
|
1023
|
-
"
|
|
1024
|
-
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
1025
|
-
},
|
|
1026
|
-
"default": "'INITIAL'",
|
|
1027
|
-
"description": "status of the content",
|
|
1028
|
-
"fieldName": "status"
|
|
885
|
+
"kind": "method",
|
|
886
|
+
"name": "#renderCategorySelect"
|
|
1029
887
|
},
|
|
1030
888
|
{
|
|
1031
|
-
"
|
|
1032
|
-
"
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
]
|
|
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
|
|
889
|
+
"kind": "method",
|
|
890
|
+
"name": "#renderFacet",
|
|
891
|
+
"parameters": [
|
|
892
|
+
{
|
|
893
|
+
"name": "facetKey",
|
|
894
|
+
"type": {
|
|
895
|
+
"text": "string"
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"name": "title",
|
|
900
|
+
"type": {
|
|
901
|
+
"text": "string"
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"name": "fields",
|
|
906
|
+
"optional": true,
|
|
907
|
+
"type": {
|
|
908
|
+
"text": "FacetField[]"
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"name": "open",
|
|
913
|
+
"optional": true,
|
|
914
|
+
"type": {
|
|
915
|
+
"text": "boolean"
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
]
|
|
1089
919
|
},
|
|
1090
920
|
{
|
|
1091
|
-
"kind": "
|
|
1092
|
-
"name": "#
|
|
1093
|
-
"privacy": "private"
|
|
921
|
+
"kind": "method",
|
|
922
|
+
"name": "#renderVariablesBrowse"
|
|
1094
923
|
}
|
|
1095
924
|
],
|
|
1096
925
|
"attributes": [
|
|
1097
926
|
{
|
|
1098
|
-
"name": "
|
|
927
|
+
"name": "catalog",
|
|
1099
928
|
"type": {
|
|
1100
|
-
"text": "'
|
|
929
|
+
"text": "'giovanni'"
|
|
1101
930
|
},
|
|
1102
|
-
"default": "'
|
|
1103
|
-
"
|
|
931
|
+
"default": "'giovanni'",
|
|
932
|
+
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
933
|
+
"fieldName": "catalog"
|
|
1104
934
|
}
|
|
1105
935
|
],
|
|
1106
936
|
"superclass": {
|
|
1107
937
|
"name": "TerraElement",
|
|
1108
938
|
"module": "/src/internal/terra-element.js"
|
|
1109
939
|
},
|
|
1110
|
-
"summary": "
|
|
1111
|
-
"tagNameWithoutPrefix": "
|
|
1112
|
-
"tagName": "terra-
|
|
940
|
+
"summary": "Browse through the NASA CMR or Giovanni catalogs.",
|
|
941
|
+
"tagNameWithoutPrefix": "browse-variables",
|
|
942
|
+
"tagName": "terra-browse-variables",
|
|
1113
943
|
"customElement": true,
|
|
1114
|
-
"jsDoc": "/**\n * @summary
|
|
1115
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
1116
|
-
"status": "
|
|
1117
|
-
"since": "1.0"
|
|
944
|
+
"jsDoc": "/**\n * @summary Browse through the NASA CMR or Giovanni catalogs.\n * @documentation https://disc.gsfc.nasa.gov/components/browse-variables\n * @status MVP\n * @since 1.0\n *\n * @emits terra-variables-change - emitted when the user selects or unselects variables\n *\n * @dependency terra-variable-keyword-search\n * @dependency terra-button\n * @dependency terra-skeleton\n * @dependency terra-icon\n * @dependency terra-loader\n */",
|
|
945
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/browse-variables",
|
|
946
|
+
"status": "MVP",
|
|
947
|
+
"since": "1.0",
|
|
948
|
+
"dependencies": [
|
|
949
|
+
"terra-variable-keyword-search",
|
|
950
|
+
"terra-button",
|
|
951
|
+
"terra-skeleton",
|
|
952
|
+
"terra-icon",
|
|
953
|
+
"terra-loader"
|
|
954
|
+
]
|
|
1118
955
|
}
|
|
1119
956
|
],
|
|
1120
957
|
"exports": [
|
|
@@ -1122,258 +959,355 @@
|
|
|
1122
959
|
"kind": "js",
|
|
1123
960
|
"name": "default",
|
|
1124
961
|
"declaration": {
|
|
1125
|
-
"name": "
|
|
1126
|
-
"module": "components/
|
|
962
|
+
"name": "TerraBrowseVariables",
|
|
963
|
+
"module": "components/browse-variables/browse-variables.js"
|
|
1127
964
|
}
|
|
1128
965
|
}
|
|
1129
966
|
]
|
|
1130
967
|
},
|
|
1131
968
|
{
|
|
1132
969
|
"kind": "javascript-module",
|
|
1133
|
-
"path": "components/
|
|
970
|
+
"path": "components/combobox/combobox.js",
|
|
1134
971
|
"declarations": [
|
|
1135
972
|
{
|
|
1136
973
|
"kind": "class",
|
|
1137
974
|
"description": "",
|
|
1138
|
-
"name": "
|
|
975
|
+
"name": "TerraCombobox",
|
|
976
|
+
"cssProperties": [
|
|
977
|
+
{
|
|
978
|
+
"description": "The height of the host element.",
|
|
979
|
+
"name": "--host-height"
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"description": "The height of the search help element.",
|
|
983
|
+
"name": "--help-height"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"description": "The height of the input's label element.",
|
|
987
|
+
"name": "--label-height"
|
|
988
|
+
}
|
|
989
|
+
],
|
|
990
|
+
"cssParts": [
|
|
991
|
+
{
|
|
992
|
+
"description": "A `search` element, the component's base.",
|
|
993
|
+
"name": "base"
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"description": "An `input` element used for searching.",
|
|
997
|
+
"name": "combobox"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"description": "A `button` used for toggling the listbox's visibility.",
|
|
1001
|
+
"name": "button"
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"description": "A `ul` that holds the clickable options.",
|
|
1005
|
+
"name": "listbox"
|
|
1006
|
+
}
|
|
1007
|
+
],
|
|
1139
1008
|
"members": [
|
|
1140
1009
|
{
|
|
1141
1010
|
"kind": "field",
|
|
1142
|
-
"name": "
|
|
1011
|
+
"name": "shadowRootOptions",
|
|
1143
1012
|
"type": {
|
|
1144
1013
|
"text": "object"
|
|
1145
1014
|
},
|
|
1146
1015
|
"static": true,
|
|
1147
|
-
"default": "{\n
|
|
1016
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
1148
1017
|
},
|
|
1149
1018
|
{
|
|
1150
1019
|
"kind": "field",
|
|
1151
|
-
"name": "
|
|
1020
|
+
"name": "tagName",
|
|
1152
1021
|
"type": {
|
|
1153
|
-
"text": "
|
|
1022
|
+
"text": "string"
|
|
1154
1023
|
},
|
|
1155
|
-
"
|
|
1156
|
-
"
|
|
1157
|
-
"attribute": "catalog"
|
|
1024
|
+
"static": true,
|
|
1025
|
+
"default": "'terra-combobox'"
|
|
1158
1026
|
},
|
|
1159
1027
|
{
|
|
1160
1028
|
"kind": "field",
|
|
1161
|
-
"name": "
|
|
1029
|
+
"name": "initialQuery",
|
|
1162
1030
|
"type": {
|
|
1163
1031
|
"text": "string"
|
|
1164
|
-
}
|
|
1032
|
+
},
|
|
1033
|
+
"static": true,
|
|
1034
|
+
"default": "''"
|
|
1165
1035
|
},
|
|
1166
1036
|
{
|
|
1167
1037
|
"kind": "field",
|
|
1168
|
-
"name": "
|
|
1038
|
+
"name": "#combobox",
|
|
1039
|
+
"privacy": "private",
|
|
1169
1040
|
"type": {
|
|
1170
|
-
"text": "
|
|
1041
|
+
"text": "HTMLInputElement | null"
|
|
1171
1042
|
},
|
|
1172
|
-
"default": "
|
|
1043
|
+
"default": "null"
|
|
1173
1044
|
},
|
|
1174
1045
|
{
|
|
1175
1046
|
"kind": "field",
|
|
1176
|
-
"name": "
|
|
1047
|
+
"name": "#listbox",
|
|
1048
|
+
"privacy": "private",
|
|
1177
1049
|
"type": {
|
|
1178
|
-
"text": "
|
|
1050
|
+
"text": "HTMLUListElement | null"
|
|
1179
1051
|
},
|
|
1180
|
-
"default": "
|
|
1052
|
+
"default": "null"
|
|
1181
1053
|
},
|
|
1182
1054
|
{
|
|
1183
1055
|
"kind": "field",
|
|
1184
|
-
"name": "
|
|
1056
|
+
"name": "#searchEngine",
|
|
1057
|
+
"privacy": "private",
|
|
1185
1058
|
"type": {
|
|
1186
|
-
"text": "
|
|
1059
|
+
"text": "Fuse<GroupedListItem | ListItem> | null"
|
|
1187
1060
|
},
|
|
1188
|
-
"default": "
|
|
1061
|
+
"default": "null"
|
|
1189
1062
|
},
|
|
1190
1063
|
{
|
|
1191
1064
|
"kind": "field",
|
|
1192
|
-
"name": "#
|
|
1065
|
+
"name": "#walker",
|
|
1193
1066
|
"privacy": "private",
|
|
1194
|
-
"
|
|
1067
|
+
"type": {
|
|
1068
|
+
"text": "TreeWalker | null"
|
|
1069
|
+
},
|
|
1070
|
+
"default": "null"
|
|
1195
1071
|
},
|
|
1196
1072
|
{
|
|
1197
|
-
"kind": "
|
|
1198
|
-
"name": "
|
|
1073
|
+
"kind": "field",
|
|
1074
|
+
"name": "label",
|
|
1075
|
+
"type": {
|
|
1076
|
+
"text": "string"
|
|
1077
|
+
},
|
|
1078
|
+
"default": "'Search for Items'",
|
|
1079
|
+
"description": "Label the combobox with this.",
|
|
1080
|
+
"attribute": "label"
|
|
1199
1081
|
},
|
|
1200
1082
|
{
|
|
1201
|
-
"kind": "
|
|
1202
|
-
"name": "
|
|
1083
|
+
"kind": "field",
|
|
1084
|
+
"name": "name",
|
|
1085
|
+
"type": {
|
|
1086
|
+
"text": "string"
|
|
1087
|
+
},
|
|
1088
|
+
"default": "'Item'",
|
|
1089
|
+
"description": "name the combobox with this.",
|
|
1090
|
+
"attribute": "name"
|
|
1203
1091
|
},
|
|
1204
1092
|
{
|
|
1205
|
-
"kind": "
|
|
1206
|
-
"name": "
|
|
1093
|
+
"kind": "field",
|
|
1094
|
+
"name": "placeholder",
|
|
1095
|
+
"type": {
|
|
1096
|
+
"text": "string"
|
|
1097
|
+
},
|
|
1098
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1099
|
+
"attribute": "placeholder"
|
|
1207
1100
|
},
|
|
1208
1101
|
{
|
|
1209
|
-
"kind": "
|
|
1210
|
-
"name": "
|
|
1211
|
-
"
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
}
|
|
1218
|
-
]
|
|
1102
|
+
"kind": "field",
|
|
1103
|
+
"name": "hideHelp",
|
|
1104
|
+
"type": {
|
|
1105
|
+
"text": "boolean"
|
|
1106
|
+
},
|
|
1107
|
+
"default": "false",
|
|
1108
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
1109
|
+
"attribute": "hide-help"
|
|
1219
1110
|
},
|
|
1220
1111
|
{
|
|
1221
|
-
"kind": "
|
|
1222
|
-
"name": "
|
|
1223
|
-
"
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
}
|
|
1230
|
-
]
|
|
1112
|
+
"kind": "field",
|
|
1113
|
+
"name": "hideLabel",
|
|
1114
|
+
"type": {
|
|
1115
|
+
"text": "boolean"
|
|
1116
|
+
},
|
|
1117
|
+
"default": "false",
|
|
1118
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1119
|
+
"attribute": "hide-label"
|
|
1231
1120
|
},
|
|
1232
1121
|
{
|
|
1233
|
-
"kind": "
|
|
1234
|
-
"name": "
|
|
1235
|
-
"
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
},
|
|
1242
|
-
{
|
|
1243
|
-
"name": "field",
|
|
1244
|
-
"type": {
|
|
1245
|
-
"text": "string"
|
|
1246
|
-
}
|
|
1247
|
-
},
|
|
1248
|
-
{
|
|
1249
|
-
"name": "selectOneFieldAtATime",
|
|
1250
|
-
"default": "false",
|
|
1251
|
-
"type": {
|
|
1252
|
-
"text": "boolean"
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
],
|
|
1256
|
-
"description": "given a field, ex: \"observations\": \"Model\", will add the field to any existing selected facets\nif \"selectedOneFieldAtATime\" is true, then we will only select that one field"
|
|
1122
|
+
"kind": "field",
|
|
1123
|
+
"name": "status",
|
|
1124
|
+
"type": {
|
|
1125
|
+
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
1126
|
+
},
|
|
1127
|
+
"default": "'INITIAL'",
|
|
1128
|
+
"description": "status of the content",
|
|
1129
|
+
"attribute": "status"
|
|
1257
1130
|
},
|
|
1258
1131
|
{
|
|
1259
|
-
"kind": "
|
|
1260
|
-
"name": "
|
|
1261
|
-
"
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
}
|
|
1268
|
-
]
|
|
1132
|
+
"kind": "field",
|
|
1133
|
+
"name": "content",
|
|
1134
|
+
"type": {
|
|
1135
|
+
"text": "Content"
|
|
1136
|
+
},
|
|
1137
|
+
"default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
|
|
1138
|
+
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
1139
|
+
"attribute": "content"
|
|
1269
1140
|
},
|
|
1270
1141
|
{
|
|
1271
|
-
"kind": "
|
|
1272
|
-
"name": "
|
|
1273
|
-
"
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1142
|
+
"kind": "field",
|
|
1143
|
+
"name": "isExpanded",
|
|
1144
|
+
"type": {
|
|
1145
|
+
"text": "boolean"
|
|
1146
|
+
},
|
|
1147
|
+
"default": "false"
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"kind": "field",
|
|
1151
|
+
"name": "query"
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
"kind": "field",
|
|
1155
|
+
"name": "searchResults",
|
|
1156
|
+
"type": {
|
|
1157
|
+
"text": "GroupedListItem[] | ListItem[]"
|
|
1158
|
+
},
|
|
1159
|
+
"default": "[]"
|
|
1287
1160
|
},
|
|
1288
1161
|
{
|
|
1289
1162
|
"kind": "method",
|
|
1290
|
-
"name": "
|
|
1163
|
+
"name": "contentChanged",
|
|
1291
1164
|
"parameters": [
|
|
1292
1165
|
{
|
|
1293
|
-
"name": "
|
|
1166
|
+
"name": "_oldValue",
|
|
1294
1167
|
"type": {
|
|
1295
|
-
"text": "
|
|
1168
|
+
"text": "any"
|
|
1296
1169
|
}
|
|
1297
1170
|
},
|
|
1298
1171
|
{
|
|
1299
|
-
"name": "
|
|
1172
|
+
"name": "newValue",
|
|
1300
1173
|
"type": {
|
|
1301
|
-
"text": "
|
|
1174
|
+
"text": "any"
|
|
1302
1175
|
}
|
|
1303
1176
|
}
|
|
1304
1177
|
]
|
|
1305
1178
|
},
|
|
1306
1179
|
{
|
|
1307
|
-
"kind": "
|
|
1308
|
-
"name": "#
|
|
1180
|
+
"kind": "field",
|
|
1181
|
+
"name": "#renderListItem",
|
|
1182
|
+
"privacy": "private"
|
|
1309
1183
|
},
|
|
1310
1184
|
{
|
|
1311
|
-
"kind": "
|
|
1312
|
-
"name": "#
|
|
1313
|
-
"
|
|
1314
|
-
{
|
|
1315
|
-
"name": "facetKey",
|
|
1316
|
-
"type": {
|
|
1317
|
-
"text": "string"
|
|
1318
|
-
}
|
|
1319
|
-
},
|
|
1320
|
-
{
|
|
1321
|
-
"name": "title",
|
|
1322
|
-
"type": {
|
|
1323
|
-
"text": "string"
|
|
1324
|
-
}
|
|
1325
|
-
},
|
|
1326
|
-
{
|
|
1327
|
-
"name": "fields",
|
|
1328
|
-
"optional": true,
|
|
1329
|
-
"type": {
|
|
1330
|
-
"text": "FacetField[]"
|
|
1331
|
-
}
|
|
1332
|
-
},
|
|
1333
|
-
{
|
|
1334
|
-
"name": "open",
|
|
1335
|
-
"optional": true,
|
|
1336
|
-
"type": {
|
|
1337
|
-
"text": "boolean"
|
|
1338
|
-
}
|
|
1339
|
-
}
|
|
1340
|
-
]
|
|
1185
|
+
"kind": "field",
|
|
1186
|
+
"name": "#renderGroupListItem",
|
|
1187
|
+
"privacy": "private"
|
|
1341
1188
|
},
|
|
1342
1189
|
{
|
|
1343
|
-
"kind": "
|
|
1344
|
-
"name": "#
|
|
1190
|
+
"kind": "field",
|
|
1191
|
+
"name": "#renderError",
|
|
1192
|
+
"privacy": "private"
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
"kind": "field",
|
|
1196
|
+
"name": "#renderLoading",
|
|
1197
|
+
"privacy": "private"
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
"kind": "field",
|
|
1201
|
+
"name": "#dispatchChange",
|
|
1202
|
+
"privacy": "private"
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
"kind": "field",
|
|
1206
|
+
"name": "#handleButtonClick",
|
|
1207
|
+
"privacy": "private"
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"kind": "field",
|
|
1211
|
+
"name": "#handleComboboxChange",
|
|
1212
|
+
"privacy": "private"
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
"kind": "field",
|
|
1216
|
+
"name": "#handleOptionClick",
|
|
1217
|
+
"privacy": "private"
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
"kind": "field",
|
|
1221
|
+
"name": "#handleKeydown",
|
|
1222
|
+
"privacy": "private"
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
"kind": "field",
|
|
1226
|
+
"name": "#manageListboxVisibility",
|
|
1227
|
+
"privacy": "private"
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
"kind": "field",
|
|
1231
|
+
"name": "#selectOption",
|
|
1232
|
+
"privacy": "private"
|
|
1345
1233
|
}
|
|
1346
1234
|
],
|
|
1347
1235
|
"attributes": [
|
|
1348
1236
|
{
|
|
1349
|
-
"name": "
|
|
1237
|
+
"name": "label",
|
|
1350
1238
|
"type": {
|
|
1351
|
-
"text": "
|
|
1239
|
+
"text": "string"
|
|
1352
1240
|
},
|
|
1353
|
-
"default": "'
|
|
1354
|
-
"description": "
|
|
1355
|
-
"fieldName": "
|
|
1241
|
+
"default": "'Search for Items'",
|
|
1242
|
+
"description": "Label the combobox with this.",
|
|
1243
|
+
"fieldName": "label"
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"name": "name",
|
|
1247
|
+
"type": {
|
|
1248
|
+
"text": "string"
|
|
1249
|
+
},
|
|
1250
|
+
"default": "'Item'",
|
|
1251
|
+
"description": "name the combobox with this.",
|
|
1252
|
+
"fieldName": "name"
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
"name": "placeholder",
|
|
1256
|
+
"type": {
|
|
1257
|
+
"text": "string"
|
|
1258
|
+
},
|
|
1259
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1260
|
+
"fieldName": "placeholder"
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"name": "hide-help",
|
|
1264
|
+
"type": {
|
|
1265
|
+
"text": "boolean"
|
|
1266
|
+
},
|
|
1267
|
+
"default": "false",
|
|
1268
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
1269
|
+
"fieldName": "hideHelp"
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
"name": "hide-label",
|
|
1273
|
+
"type": {
|
|
1274
|
+
"text": "boolean"
|
|
1275
|
+
},
|
|
1276
|
+
"default": "false",
|
|
1277
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1278
|
+
"fieldName": "hideLabel"
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"name": "status",
|
|
1282
|
+
"type": {
|
|
1283
|
+
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
1284
|
+
},
|
|
1285
|
+
"default": "'INITIAL'",
|
|
1286
|
+
"description": "status of the content",
|
|
1287
|
+
"fieldName": "status"
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
"name": "content",
|
|
1291
|
+
"type": {
|
|
1292
|
+
"text": "Content"
|
|
1293
|
+
},
|
|
1294
|
+
"default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
|
|
1295
|
+
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
1296
|
+
"fieldName": "content"
|
|
1356
1297
|
}
|
|
1357
1298
|
],
|
|
1358
1299
|
"superclass": {
|
|
1359
1300
|
"name": "TerraElement",
|
|
1360
1301
|
"module": "/src/internal/terra-element.js"
|
|
1361
1302
|
},
|
|
1362
|
-
"summary": "
|
|
1363
|
-
"tagNameWithoutPrefix": "
|
|
1364
|
-
"tagName": "terra-
|
|
1303
|
+
"summary": "Fuzzy-search for combobox with list autocomplete.",
|
|
1304
|
+
"tagNameWithoutPrefix": "combobox",
|
|
1305
|
+
"tagName": "terra-combobox",
|
|
1365
1306
|
"customElement": true,
|
|
1366
|
-
"jsDoc": "/**\n * @summary
|
|
1367
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
1368
|
-
"status": "
|
|
1369
|
-
"since": "1.0"
|
|
1370
|
-
"dependencies": [
|
|
1371
|
-
"terra-variable-keyword-search",
|
|
1372
|
-
"terra-button",
|
|
1373
|
-
"terra-skeleton",
|
|
1374
|
-
"terra-icon",
|
|
1375
|
-
"terra-loader"
|
|
1376
|
-
]
|
|
1307
|
+
"jsDoc": "/**\n * @summary Fuzzy-search for combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/combobox\n * @status experimental\n * @since 1.0\n *\n * @csspart base - A `search` element, the component's base.\n * @csspart combobox - An `input` element used for searching.\n * @csspart button - A `button` used for toggling the listbox's visibility.\n * @csspart listbox - A `ul` that holds the clickable options.\n *\n * @cssproperty --host-height - The height of the host element.\n * @cssproperty --help-height - The height of the search help element.\n * @cssproperty --label-height - The height of the input's label element.\n */",
|
|
1308
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/combobox",
|
|
1309
|
+
"status": "experimental",
|
|
1310
|
+
"since": "1.0"
|
|
1377
1311
|
}
|
|
1378
1312
|
],
|
|
1379
1313
|
"exports": [
|
|
@@ -1381,152 +1315,155 @@
|
|
|
1381
1315
|
"kind": "js",
|
|
1382
1316
|
"name": "default",
|
|
1383
1317
|
"declaration": {
|
|
1384
|
-
"name": "
|
|
1385
|
-
"module": "components/
|
|
1318
|
+
"name": "TerraCombobox",
|
|
1319
|
+
"module": "components/combobox/combobox.js"
|
|
1386
1320
|
}
|
|
1387
1321
|
}
|
|
1388
1322
|
]
|
|
1389
1323
|
},
|
|
1390
1324
|
{
|
|
1391
1325
|
"kind": "javascript-module",
|
|
1392
|
-
"path": "components/
|
|
1326
|
+
"path": "components/data-rods/data-rods.js",
|
|
1393
1327
|
"declarations": [
|
|
1394
1328
|
{
|
|
1395
1329
|
"kind": "class",
|
|
1396
1330
|
"description": "",
|
|
1397
|
-
"name": "
|
|
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
|
-
],
|
|
1331
|
+
"name": "TerraDataRods",
|
|
1420
1332
|
"members": [
|
|
1421
1333
|
{
|
|
1422
1334
|
"kind": "field",
|
|
1423
|
-
"name": "
|
|
1335
|
+
"name": "dependencies",
|
|
1424
1336
|
"type": {
|
|
1425
|
-
"text": "
|
|
1426
|
-
}
|
|
1337
|
+
"text": "object"
|
|
1338
|
+
},
|
|
1339
|
+
"static": true,
|
|
1340
|
+
"default": "{\n 'terra-time-series': TerraTimeSeries,\n 'terra-date-range-slider': TerraDateRangeSlider,\n 'terra-spatial-picker': TerraSpatialPicker,\n 'terra-variable-combobox': TerraVariableCombobox,\n }"
|
|
1427
1341
|
},
|
|
1428
1342
|
{
|
|
1429
1343
|
"kind": "field",
|
|
1430
|
-
"name": "
|
|
1344
|
+
"name": "variableEntryId",
|
|
1431
1345
|
"type": {
|
|
1432
|
-
"text": "
|
|
1346
|
+
"text": "string | undefined"
|
|
1433
1347
|
},
|
|
1434
|
-
"
|
|
1435
|
-
"attribute": "
|
|
1348
|
+
"description": "a variable entry ID (ex: GPM_3IMERGHH_06_precipitationCal)",
|
|
1349
|
+
"attribute": "variable-entry-id",
|
|
1350
|
+
"reflects": true
|
|
1436
1351
|
},
|
|
1437
1352
|
{
|
|
1438
1353
|
"kind": "field",
|
|
1439
|
-
"name": "
|
|
1354
|
+
"name": "collection",
|
|
1440
1355
|
"type": {
|
|
1441
|
-
"text": "string"
|
|
1356
|
+
"text": "string | undefined"
|
|
1442
1357
|
},
|
|
1443
|
-
"
|
|
1358
|
+
"description": "a collection entry id (ex: GPM_3IMERGHH_06)\nonly required if you don't include a variableEntryId",
|
|
1359
|
+
"attribute": "collection",
|
|
1360
|
+
"reflects": true
|
|
1444
1361
|
},
|
|
1445
1362
|
{
|
|
1446
1363
|
"kind": "field",
|
|
1447
|
-
"name": "
|
|
1364
|
+
"name": "variable",
|
|
1448
1365
|
"type": {
|
|
1449
|
-
"text": "string"
|
|
1366
|
+
"text": "string | undefined"
|
|
1450
1367
|
},
|
|
1451
|
-
"
|
|
1368
|
+
"description": "a variable short name to plot (ex: precipitationCal)\nonly required if you don't include a variableEntryId",
|
|
1369
|
+
"attribute": "variable",
|
|
1370
|
+
"reflects": true
|
|
1452
1371
|
},
|
|
1453
1372
|
{
|
|
1454
1373
|
"kind": "field",
|
|
1455
1374
|
"name": "startDate",
|
|
1456
1375
|
"type": {
|
|
1457
|
-
"text": "string"
|
|
1376
|
+
"text": "string | undefined"
|
|
1458
1377
|
},
|
|
1459
|
-
"description": "The start date for the time series plot.",
|
|
1460
|
-
"attribute": "start-date"
|
|
1378
|
+
"description": "The start date for the time series plot. (ex: 2021-01-01)",
|
|
1379
|
+
"attribute": "start-date",
|
|
1380
|
+
"reflects": true
|
|
1461
1381
|
},
|
|
1462
1382
|
{
|
|
1463
1383
|
"kind": "field",
|
|
1464
1384
|
"name": "endDate",
|
|
1465
1385
|
"type": {
|
|
1466
|
-
"text": "string"
|
|
1386
|
+
"text": "string | undefined"
|
|
1467
1387
|
},
|
|
1468
|
-
"
|
|
1388
|
+
"description": "The end date for the time series plot. (ex: 2021-01-01)",
|
|
1389
|
+
"attribute": "end-date",
|
|
1390
|
+
"reflects": true
|
|
1469
1391
|
},
|
|
1470
1392
|
{
|
|
1471
1393
|
"kind": "field",
|
|
1472
|
-
"name": "
|
|
1394
|
+
"name": "location",
|
|
1473
1395
|
"type": {
|
|
1474
|
-
"text": "
|
|
1396
|
+
"text": "string | undefined"
|
|
1475
1397
|
},
|
|
1476
|
-
"
|
|
1477
|
-
"attribute": "
|
|
1398
|
+
"description": "The point location in \"lat,lon\" format.",
|
|
1399
|
+
"attribute": "location",
|
|
1478
1400
|
"reflects": true
|
|
1479
1401
|
},
|
|
1480
1402
|
{
|
|
1481
1403
|
"kind": "field",
|
|
1482
|
-
"name": "
|
|
1404
|
+
"name": "bearerToken",
|
|
1483
1405
|
"type": {
|
|
1484
|
-
"text": "
|
|
1406
|
+
"text": "string"
|
|
1485
1407
|
},
|
|
1486
|
-
"
|
|
1487
|
-
"attribute": "
|
|
1488
|
-
"reflects": true
|
|
1408
|
+
"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).",
|
|
1409
|
+
"attribute": "bearer-token"
|
|
1489
1410
|
},
|
|
1490
1411
|
{
|
|
1491
|
-
"kind": "
|
|
1492
|
-
"name": "
|
|
1412
|
+
"kind": "field",
|
|
1413
|
+
"name": "catalogVariable",
|
|
1414
|
+
"type": {
|
|
1415
|
+
"text": "Variable"
|
|
1416
|
+
}
|
|
1493
1417
|
},
|
|
1494
1418
|
{
|
|
1495
|
-
"kind": "
|
|
1496
|
-
"name": "
|
|
1419
|
+
"kind": "field",
|
|
1420
|
+
"name": "#catalog",
|
|
1421
|
+
"privacy": "private",
|
|
1422
|
+
"default": "new GiovanniVariableCatalog()"
|
|
1497
1423
|
},
|
|
1498
1424
|
{
|
|
1499
|
-
"kind": "
|
|
1500
|
-
"name": "
|
|
1425
|
+
"kind": "field",
|
|
1426
|
+
"name": "#fetchVariableTask",
|
|
1427
|
+
"privacy": "private",
|
|
1428
|
+
"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 })"
|
|
1501
1429
|
},
|
|
1502
1430
|
{
|
|
1503
1431
|
"kind": "method",
|
|
1504
|
-
"name": "
|
|
1432
|
+
"name": "#getVariableEntryId"
|
|
1505
1433
|
},
|
|
1506
1434
|
{
|
|
1507
1435
|
"kind": "method",
|
|
1508
|
-
"name": "
|
|
1509
|
-
"
|
|
1436
|
+
"name": "#handleDateRangeSliderChangeEvent",
|
|
1437
|
+
"parameters": [
|
|
1438
|
+
{
|
|
1439
|
+
"name": "event",
|
|
1440
|
+
"type": {
|
|
1441
|
+
"text": "TerraDateRangeChangeEvent"
|
|
1442
|
+
}
|
|
1443
|
+
}
|
|
1444
|
+
],
|
|
1445
|
+
"description": "anytime the date range slider changes, update the start and end date"
|
|
1510
1446
|
},
|
|
1511
1447
|
{
|
|
1512
1448
|
"kind": "method",
|
|
1513
|
-
"name": "
|
|
1514
|
-
"
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
"
|
|
1449
|
+
"name": "#handleVariableChange",
|
|
1450
|
+
"parameters": [
|
|
1451
|
+
{
|
|
1452
|
+
"name": "event",
|
|
1453
|
+
"type": {
|
|
1454
|
+
"text": "TerraComboboxChangeEvent"
|
|
1455
|
+
}
|
|
1518
1456
|
}
|
|
1519
|
-
|
|
1457
|
+
]
|
|
1520
1458
|
},
|
|
1521
1459
|
{
|
|
1522
1460
|
"kind": "method",
|
|
1523
|
-
"name": "
|
|
1524
|
-
"privacy": "private",
|
|
1461
|
+
"name": "#handleMapChange",
|
|
1525
1462
|
"parameters": [
|
|
1526
1463
|
{
|
|
1527
|
-
"name": "
|
|
1464
|
+
"name": "event",
|
|
1528
1465
|
"type": {
|
|
1529
|
-
"text": "
|
|
1466
|
+
"text": "CustomEvent"
|
|
1530
1467
|
}
|
|
1531
1468
|
}
|
|
1532
1469
|
]
|
|
@@ -1534,70 +1471,73 @@
|
|
|
1534
1471
|
],
|
|
1535
1472
|
"attributes": [
|
|
1536
1473
|
{
|
|
1537
|
-
"name": "
|
|
1474
|
+
"name": "variable-entry-id",
|
|
1538
1475
|
"type": {
|
|
1539
|
-
"text": "
|
|
1476
|
+
"text": "string | undefined"
|
|
1540
1477
|
},
|
|
1541
|
-
"
|
|
1542
|
-
"fieldName": "
|
|
1478
|
+
"description": "a variable entry ID (ex: GPM_3IMERGHH_06_precipitationCal)",
|
|
1479
|
+
"fieldName": "variableEntryId"
|
|
1543
1480
|
},
|
|
1544
1481
|
{
|
|
1545
|
-
"name": "
|
|
1482
|
+
"name": "collection",
|
|
1546
1483
|
"type": {
|
|
1547
|
-
"text": "string"
|
|
1484
|
+
"text": "string | undefined"
|
|
1548
1485
|
},
|
|
1549
|
-
"
|
|
1486
|
+
"description": "a collection entry id (ex: GPM_3IMERGHH_06)\nonly required if you don't include a variableEntryId",
|
|
1487
|
+
"fieldName": "collection"
|
|
1550
1488
|
},
|
|
1551
1489
|
{
|
|
1552
|
-
"name": "
|
|
1490
|
+
"name": "variable",
|
|
1553
1491
|
"type": {
|
|
1554
|
-
"text": "string"
|
|
1492
|
+
"text": "string | undefined"
|
|
1555
1493
|
},
|
|
1556
|
-
"
|
|
1494
|
+
"description": "a variable short name to plot (ex: precipitationCal)\nonly required if you don't include a variableEntryId",
|
|
1495
|
+
"fieldName": "variable"
|
|
1557
1496
|
},
|
|
1558
1497
|
{
|
|
1559
1498
|
"name": "start-date",
|
|
1560
1499
|
"type": {
|
|
1561
|
-
"text": "string"
|
|
1500
|
+
"text": "string | undefined"
|
|
1562
1501
|
},
|
|
1563
|
-
"description": "The start date for the time series plot.",
|
|
1502
|
+
"description": "The start date for the time series plot. (ex: 2021-01-01)",
|
|
1564
1503
|
"fieldName": "startDate"
|
|
1565
1504
|
},
|
|
1566
1505
|
{
|
|
1567
1506
|
"name": "end-date",
|
|
1568
1507
|
"type": {
|
|
1569
|
-
"text": "string"
|
|
1508
|
+
"text": "string | undefined"
|
|
1570
1509
|
},
|
|
1510
|
+
"description": "The end date for the time series plot. (ex: 2021-01-01)",
|
|
1571
1511
|
"fieldName": "endDate"
|
|
1572
1512
|
},
|
|
1573
1513
|
{
|
|
1574
|
-
"name": "
|
|
1514
|
+
"name": "location",
|
|
1575
1515
|
"type": {
|
|
1576
|
-
"text": "
|
|
1516
|
+
"text": "string | undefined"
|
|
1577
1517
|
},
|
|
1578
|
-
"
|
|
1579
|
-
"fieldName": "
|
|
1518
|
+
"description": "The point location in \"lat,lon\" format.",
|
|
1519
|
+
"fieldName": "location"
|
|
1580
1520
|
},
|
|
1581
1521
|
{
|
|
1582
|
-
"name": "
|
|
1522
|
+
"name": "bearer-token",
|
|
1583
1523
|
"type": {
|
|
1584
|
-
"text": "
|
|
1524
|
+
"text": "string"
|
|
1585
1525
|
},
|
|
1586
|
-
"
|
|
1587
|
-
"fieldName": "
|
|
1526
|
+
"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).",
|
|
1527
|
+
"fieldName": "bearerToken"
|
|
1588
1528
|
}
|
|
1589
1529
|
],
|
|
1590
1530
|
"superclass": {
|
|
1591
1531
|
"name": "TerraElement",
|
|
1592
1532
|
"module": "/src/internal/terra-element.js"
|
|
1593
1533
|
},
|
|
1594
|
-
"summary": "
|
|
1595
|
-
"tagNameWithoutPrefix": "
|
|
1596
|
-
"tagName": "terra-
|
|
1534
|
+
"summary": "A component for visualizing Hydrology Data Rods time series using the GES DISC Giovanni API",
|
|
1535
|
+
"tagNameWithoutPrefix": "data-rods",
|
|
1536
|
+
"tagName": "terra-data-rods",
|
|
1597
1537
|
"customElement": true,
|
|
1598
|
-
"jsDoc": "/**\n * @summary
|
|
1599
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
1600
|
-
"status": "
|
|
1538
|
+
"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 */",
|
|
1539
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/data-rods",
|
|
1540
|
+
"status": "mvp",
|
|
1601
1541
|
"since": "1.0"
|
|
1602
1542
|
}
|
|
1603
1543
|
],
|
|
@@ -1606,227 +1546,152 @@
|
|
|
1606
1546
|
"kind": "js",
|
|
1607
1547
|
"name": "default",
|
|
1608
1548
|
"declaration": {
|
|
1609
|
-
"name": "
|
|
1610
|
-
"module": "components/
|
|
1549
|
+
"name": "TerraDataRods",
|
|
1550
|
+
"module": "components/data-rods/data-rods.js"
|
|
1611
1551
|
}
|
|
1612
1552
|
}
|
|
1613
1553
|
]
|
|
1614
1554
|
},
|
|
1615
1555
|
{
|
|
1616
1556
|
"kind": "javascript-module",
|
|
1617
|
-
"path": "components/date-
|
|
1557
|
+
"path": "components/date-range-slider/date-range-slider.js",
|
|
1618
1558
|
"declarations": [
|
|
1619
1559
|
{
|
|
1620
1560
|
"kind": "class",
|
|
1621
1561
|
"description": "",
|
|
1622
|
-
"name": "
|
|
1562
|
+
"name": "TerraDateRangeSlider",
|
|
1563
|
+
"cssProperties": [
|
|
1564
|
+
{
|
|
1565
|
+
"description": "An example CSS custom property.",
|
|
1566
|
+
"name": "--example"
|
|
1567
|
+
}
|
|
1568
|
+
],
|
|
1623
1569
|
"cssParts": [
|
|
1624
1570
|
{
|
|
1625
1571
|
"description": "The component's base wrapper.",
|
|
1626
1572
|
"name": "base"
|
|
1627
|
-
},
|
|
1628
|
-
{
|
|
1629
|
-
"description": "The date input element.",
|
|
1630
|
-
"name": "input"
|
|
1631
1573
|
}
|
|
1632
1574
|
],
|
|
1633
1575
|
"slots": [
|
|
1634
1576
|
{
|
|
1635
1577
|
"description": "The default slot.",
|
|
1636
1578
|
"name": ""
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"description": "An example slot.",
|
|
1582
|
+
"name": "example"
|
|
1637
1583
|
}
|
|
1638
1584
|
],
|
|
1639
1585
|
"members": [
|
|
1640
1586
|
{
|
|
1641
1587
|
"kind": "field",
|
|
1642
|
-
"name": "
|
|
1588
|
+
"name": "slider",
|
|
1643
1589
|
"type": {
|
|
1644
|
-
"text": "
|
|
1590
|
+
"text": "HTMLElement & { noUiSlider: API }"
|
|
1645
1591
|
}
|
|
1646
1592
|
},
|
|
1647
1593
|
{
|
|
1648
1594
|
"kind": "field",
|
|
1649
|
-
"name": "
|
|
1650
|
-
"type": {
|
|
1651
|
-
"text": "string"
|
|
1652
|
-
},
|
|
1653
|
-
"attribute": "id"
|
|
1654
|
-
},
|
|
1655
|
-
{
|
|
1656
|
-
"kind": "field",
|
|
1657
|
-
"name": "range",
|
|
1658
|
-
"type": {
|
|
1659
|
-
"text": "boolean"
|
|
1660
|
-
},
|
|
1661
|
-
"default": "false",
|
|
1662
|
-
"attribute": "range"
|
|
1663
|
-
},
|
|
1664
|
-
{
|
|
1665
|
-
"kind": "field",
|
|
1666
|
-
"name": "minDate",
|
|
1667
|
-
"type": {
|
|
1668
|
-
"text": "string | undefined"
|
|
1669
|
-
},
|
|
1670
|
-
"attribute": "min-date"
|
|
1671
|
-
},
|
|
1672
|
-
{
|
|
1673
|
-
"kind": "field",
|
|
1674
|
-
"name": "maxDate",
|
|
1675
|
-
"type": {
|
|
1676
|
-
"text": "string | undefined"
|
|
1677
|
-
},
|
|
1678
|
-
"attribute": "max-date"
|
|
1679
|
-
},
|
|
1680
|
-
{
|
|
1681
|
-
"kind": "field",
|
|
1682
|
-
"name": "startDate",
|
|
1683
|
-
"type": {
|
|
1684
|
-
"text": "string | undefined"
|
|
1685
|
-
},
|
|
1686
|
-
"attribute": "start-date"
|
|
1687
|
-
},
|
|
1688
|
-
{
|
|
1689
|
-
"kind": "field",
|
|
1690
|
-
"name": "endDate",
|
|
1691
|
-
"type": {
|
|
1692
|
-
"text": "string | undefined"
|
|
1693
|
-
},
|
|
1694
|
-
"attribute": "end-date"
|
|
1695
|
-
},
|
|
1696
|
-
{
|
|
1697
|
-
"kind": "field",
|
|
1698
|
-
"name": "allowInput",
|
|
1699
|
-
"type": {
|
|
1700
|
-
"text": "boolean"
|
|
1701
|
-
},
|
|
1702
|
-
"default": "false",
|
|
1703
|
-
"attribute": "allow-input"
|
|
1704
|
-
},
|
|
1705
|
-
{
|
|
1706
|
-
"kind": "field",
|
|
1707
|
-
"name": "altFormat",
|
|
1708
|
-
"type": {
|
|
1709
|
-
"text": "string"
|
|
1710
|
-
},
|
|
1711
|
-
"default": "'F j, Y'",
|
|
1712
|
-
"attribute": "alt-format"
|
|
1713
|
-
},
|
|
1714
|
-
{
|
|
1715
|
-
"kind": "field",
|
|
1716
|
-
"name": "altInput",
|
|
1717
|
-
"type": {
|
|
1718
|
-
"text": "boolean"
|
|
1719
|
-
},
|
|
1720
|
-
"default": "false",
|
|
1721
|
-
"attribute": "alt-input"
|
|
1722
|
-
},
|
|
1723
|
-
{
|
|
1724
|
-
"kind": "field",
|
|
1725
|
-
"name": "altInputClass",
|
|
1726
|
-
"type": {
|
|
1727
|
-
"text": "string"
|
|
1728
|
-
},
|
|
1729
|
-
"default": "''",
|
|
1730
|
-
"attribute": "alt-input-class"
|
|
1731
|
-
},
|
|
1732
|
-
{
|
|
1733
|
-
"kind": "field",
|
|
1734
|
-
"name": "dateFormat",
|
|
1735
|
-
"type": {
|
|
1736
|
-
"text": "string"
|
|
1737
|
-
},
|
|
1738
|
-
"default": "'Y-m-d'",
|
|
1739
|
-
"attribute": "date-format"
|
|
1740
|
-
},
|
|
1741
|
-
{
|
|
1742
|
-
"kind": "field",
|
|
1743
|
-
"name": "enableTime",
|
|
1744
|
-
"type": {
|
|
1745
|
-
"text": "boolean"
|
|
1746
|
-
},
|
|
1747
|
-
"default": "false",
|
|
1748
|
-
"attribute": "enable-time"
|
|
1749
|
-
},
|
|
1750
|
-
{
|
|
1751
|
-
"kind": "field",
|
|
1752
|
-
"name": "time24hr",
|
|
1595
|
+
"name": "timeScale",
|
|
1753
1596
|
"type": {
|
|
1754
|
-
"text": "
|
|
1597
|
+
"text": "TimeScale"
|
|
1755
1598
|
},
|
|
1756
|
-
"default": "
|
|
1757
|
-
"attribute": "time-
|
|
1599
|
+
"default": "'daily'",
|
|
1600
|
+
"attribute": "time-scale"
|
|
1758
1601
|
},
|
|
1759
1602
|
{
|
|
1760
1603
|
"kind": "field",
|
|
1761
|
-
"name": "
|
|
1604
|
+
"name": "minDate",
|
|
1762
1605
|
"type": {
|
|
1763
|
-
"text": "
|
|
1606
|
+
"text": "string"
|
|
1764
1607
|
},
|
|
1765
|
-
"
|
|
1766
|
-
"attribute": "week-numbers"
|
|
1608
|
+
"attribute": "min-date"
|
|
1767
1609
|
},
|
|
1768
1610
|
{
|
|
1769
1611
|
"kind": "field",
|
|
1770
|
-
"name": "
|
|
1612
|
+
"name": "maxDate",
|
|
1771
1613
|
"type": {
|
|
1772
|
-
"text": "
|
|
1614
|
+
"text": "string"
|
|
1773
1615
|
},
|
|
1774
|
-
"
|
|
1775
|
-
"attribute": "static"
|
|
1616
|
+
"attribute": "max-date"
|
|
1776
1617
|
},
|
|
1777
1618
|
{
|
|
1778
1619
|
"kind": "field",
|
|
1779
|
-
"name": "
|
|
1620
|
+
"name": "startDate",
|
|
1780
1621
|
"type": {
|
|
1781
|
-
"text": "
|
|
1622
|
+
"text": "string"
|
|
1782
1623
|
},
|
|
1783
|
-
"
|
|
1784
|
-
"attribute": "
|
|
1624
|
+
"description": "The start date for the time series plot.",
|
|
1625
|
+
"attribute": "start-date"
|
|
1785
1626
|
},
|
|
1786
1627
|
{
|
|
1787
1628
|
"kind": "field",
|
|
1788
|
-
"name": "
|
|
1629
|
+
"name": "endDate",
|
|
1789
1630
|
"type": {
|
|
1790
|
-
"text": "
|
|
1631
|
+
"text": "string"
|
|
1791
1632
|
},
|
|
1792
|
-
"
|
|
1793
|
-
"attribute": "show-months"
|
|
1633
|
+
"attribute": "end-date"
|
|
1794
1634
|
},
|
|
1795
1635
|
{
|
|
1796
1636
|
"kind": "field",
|
|
1797
|
-
"name": "
|
|
1637
|
+
"name": "disabled",
|
|
1798
1638
|
"type": {
|
|
1799
1639
|
"text": "boolean"
|
|
1800
1640
|
},
|
|
1801
1641
|
"default": "false",
|
|
1802
|
-
"attribute": "
|
|
1642
|
+
"attribute": "disabled",
|
|
1643
|
+
"reflects": true
|
|
1803
1644
|
},
|
|
1804
1645
|
{
|
|
1805
1646
|
"kind": "field",
|
|
1806
|
-
"name": "
|
|
1647
|
+
"name": "hasPips",
|
|
1807
1648
|
"type": {
|
|
1808
|
-
"text": "
|
|
1649
|
+
"text": "boolean"
|
|
1809
1650
|
},
|
|
1810
|
-
"default": "
|
|
1811
|
-
"attribute": "
|
|
1651
|
+
"default": "true",
|
|
1652
|
+
"attribute": "has-pips",
|
|
1653
|
+
"reflects": true
|
|
1812
1654
|
},
|
|
1813
1655
|
{
|
|
1814
|
-
"kind": "
|
|
1815
|
-
"name": "
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1656
|
+
"kind": "method",
|
|
1657
|
+
"name": "updateSlider"
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"kind": "method",
|
|
1661
|
+
"name": "disabledChanged"
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
"kind": "method",
|
|
1665
|
+
"name": "renderSlider"
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
"kind": "method",
|
|
1669
|
+
"name": "renderEmptySlider"
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
"kind": "method",
|
|
1673
|
+
"name": "_getStep",
|
|
1819
1674
|
"privacy": "private"
|
|
1820
1675
|
},
|
|
1821
1676
|
{
|
|
1822
1677
|
"kind": "method",
|
|
1823
|
-
"name": "
|
|
1678
|
+
"name": "_getSliderFormatter",
|
|
1679
|
+
"privacy": "private",
|
|
1680
|
+
"return": {
|
|
1681
|
+
"type": {
|
|
1682
|
+
"text": "Formatter"
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
"kind": "method",
|
|
1688
|
+
"name": "_formatDate",
|
|
1824
1689
|
"privacy": "private",
|
|
1825
1690
|
"parameters": [
|
|
1826
1691
|
{
|
|
1827
|
-
"name": "
|
|
1692
|
+
"name": "date",
|
|
1828
1693
|
"type": {
|
|
1829
|
-
"text": "Date
|
|
1694
|
+
"text": "string | number | Date"
|
|
1830
1695
|
}
|
|
1831
1696
|
}
|
|
1832
1697
|
]
|
|
@@ -1834,164 +1699,310 @@
|
|
|
1834
1699
|
],
|
|
1835
1700
|
"attributes": [
|
|
1836
1701
|
{
|
|
1837
|
-
"name": "
|
|
1838
|
-
"type": {
|
|
1839
|
-
"text": "string"
|
|
1840
|
-
},
|
|
1841
|
-
"fieldName": "id"
|
|
1842
|
-
},
|
|
1843
|
-
{
|
|
1844
|
-
"name": "range",
|
|
1702
|
+
"name": "time-scale",
|
|
1845
1703
|
"type": {
|
|
1846
|
-
"text": "
|
|
1704
|
+
"text": "TimeScale"
|
|
1847
1705
|
},
|
|
1848
|
-
"default": "
|
|
1849
|
-
"fieldName": "
|
|
1706
|
+
"default": "'daily'",
|
|
1707
|
+
"fieldName": "timeScale"
|
|
1850
1708
|
},
|
|
1851
1709
|
{
|
|
1852
1710
|
"name": "min-date",
|
|
1853
1711
|
"type": {
|
|
1854
|
-
"text": "string
|
|
1712
|
+
"text": "string"
|
|
1855
1713
|
},
|
|
1856
1714
|
"fieldName": "minDate"
|
|
1857
1715
|
},
|
|
1858
1716
|
{
|
|
1859
1717
|
"name": "max-date",
|
|
1860
1718
|
"type": {
|
|
1861
|
-
"text": "string
|
|
1719
|
+
"text": "string"
|
|
1862
1720
|
},
|
|
1863
1721
|
"fieldName": "maxDate"
|
|
1864
1722
|
},
|
|
1865
1723
|
{
|
|
1866
1724
|
"name": "start-date",
|
|
1867
1725
|
"type": {
|
|
1868
|
-
"text": "string
|
|
1726
|
+
"text": "string"
|
|
1869
1727
|
},
|
|
1728
|
+
"description": "The start date for the time series plot.",
|
|
1870
1729
|
"fieldName": "startDate"
|
|
1871
1730
|
},
|
|
1872
1731
|
{
|
|
1873
1732
|
"name": "end-date",
|
|
1874
1733
|
"type": {
|
|
1875
|
-
"text": "string
|
|
1734
|
+
"text": "string"
|
|
1876
1735
|
},
|
|
1877
1736
|
"fieldName": "endDate"
|
|
1878
1737
|
},
|
|
1879
1738
|
{
|
|
1880
|
-
"name": "
|
|
1739
|
+
"name": "disabled",
|
|
1881
1740
|
"type": {
|
|
1882
1741
|
"text": "boolean"
|
|
1883
1742
|
},
|
|
1884
1743
|
"default": "false",
|
|
1885
|
-
"fieldName": "
|
|
1744
|
+
"fieldName": "disabled"
|
|
1886
1745
|
},
|
|
1887
1746
|
{
|
|
1888
|
-
"name": "
|
|
1747
|
+
"name": "has-pips",
|
|
1889
1748
|
"type": {
|
|
1890
|
-
"text": "
|
|
1749
|
+
"text": "boolean"
|
|
1891
1750
|
},
|
|
1892
|
-
"default": "
|
|
1893
|
-
"fieldName": "
|
|
1894
|
-
}
|
|
1751
|
+
"default": "true",
|
|
1752
|
+
"fieldName": "hasPips"
|
|
1753
|
+
}
|
|
1754
|
+
],
|
|
1755
|
+
"superclass": {
|
|
1756
|
+
"name": "TerraElement",
|
|
1757
|
+
"module": "/src/internal/terra-element.js"
|
|
1758
|
+
},
|
|
1759
|
+
"summary": "Short summary of the component's intended use.",
|
|
1760
|
+
"tagNameWithoutPrefix": "date-range-slider",
|
|
1761
|
+
"tagName": "terra-date-range-slider",
|
|
1762
|
+
"customElement": true,
|
|
1763
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://disc.gsfc.nasa.gov/components/date-range-slider\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
1764
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/date-range-slider",
|
|
1765
|
+
"status": "experimental",
|
|
1766
|
+
"since": "1.0"
|
|
1767
|
+
}
|
|
1768
|
+
],
|
|
1769
|
+
"exports": [
|
|
1770
|
+
{
|
|
1771
|
+
"kind": "js",
|
|
1772
|
+
"name": "default",
|
|
1773
|
+
"declaration": {
|
|
1774
|
+
"name": "TerraDateRangeSlider",
|
|
1775
|
+
"module": "components/date-range-slider/date-range-slider.js"
|
|
1776
|
+
}
|
|
1777
|
+
}
|
|
1778
|
+
]
|
|
1779
|
+
},
|
|
1780
|
+
{
|
|
1781
|
+
"kind": "javascript-module",
|
|
1782
|
+
"path": "components/chip/chip.js",
|
|
1783
|
+
"declarations": [
|
|
1784
|
+
{
|
|
1785
|
+
"kind": "class",
|
|
1786
|
+
"description": "",
|
|
1787
|
+
"name": "TerraChip",
|
|
1788
|
+
"slots": [
|
|
1895
1789
|
{
|
|
1896
|
-
"
|
|
1790
|
+
"description": "The chip's label.",
|
|
1791
|
+
"name": ""
|
|
1792
|
+
}
|
|
1793
|
+
],
|
|
1794
|
+
"members": [
|
|
1795
|
+
{
|
|
1796
|
+
"kind": "field",
|
|
1797
|
+
"name": "size",
|
|
1897
1798
|
"type": {
|
|
1898
|
-
"text": "
|
|
1799
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1899
1800
|
},
|
|
1900
|
-
"default": "
|
|
1901
|
-
"
|
|
1801
|
+
"default": "'medium'",
|
|
1802
|
+
"attribute": "size",
|
|
1803
|
+
"reflects": true
|
|
1902
1804
|
},
|
|
1903
1805
|
{
|
|
1904
|
-
"
|
|
1806
|
+
"kind": "field",
|
|
1807
|
+
"name": "#handleRemoveClick",
|
|
1808
|
+
"privacy": "private"
|
|
1809
|
+
}
|
|
1810
|
+
],
|
|
1811
|
+
"attributes": [
|
|
1812
|
+
{
|
|
1813
|
+
"name": "size",
|
|
1905
1814
|
"type": {
|
|
1906
|
-
"text": "
|
|
1815
|
+
"text": "'small' | 'medium' | 'large'"
|
|
1907
1816
|
},
|
|
1908
|
-
"default": "''",
|
|
1909
|
-
"fieldName": "
|
|
1817
|
+
"default": "'medium'",
|
|
1818
|
+
"fieldName": "size"
|
|
1819
|
+
}
|
|
1820
|
+
],
|
|
1821
|
+
"superclass": {
|
|
1822
|
+
"name": "TerraElement",
|
|
1823
|
+
"module": "/src/internal/terra-element.js"
|
|
1824
|
+
},
|
|
1825
|
+
"summary": "Used for contacts and tags",
|
|
1826
|
+
"tagNameWithoutPrefix": "chip",
|
|
1827
|
+
"tagName": "terra-chip",
|
|
1828
|
+
"customElement": true,
|
|
1829
|
+
"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 */",
|
|
1830
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/chip",
|
|
1831
|
+
"status": "stable",
|
|
1832
|
+
"since": "1.0"
|
|
1833
|
+
}
|
|
1834
|
+
],
|
|
1835
|
+
"exports": [
|
|
1836
|
+
{
|
|
1837
|
+
"kind": "js",
|
|
1838
|
+
"name": "default",
|
|
1839
|
+
"declaration": {
|
|
1840
|
+
"name": "TerraChip",
|
|
1841
|
+
"module": "components/chip/chip.js"
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
]
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"kind": "javascript-module",
|
|
1848
|
+
"path": "components/dialog/dialog.js",
|
|
1849
|
+
"declarations": [
|
|
1850
|
+
{
|
|
1851
|
+
"kind": "class",
|
|
1852
|
+
"description": "",
|
|
1853
|
+
"name": "TerraDialog",
|
|
1854
|
+
"slots": [
|
|
1855
|
+
{
|
|
1856
|
+
"description": "The dialog's main content",
|
|
1857
|
+
"name": ""
|
|
1858
|
+
}
|
|
1859
|
+
],
|
|
1860
|
+
"members": [
|
|
1861
|
+
{
|
|
1862
|
+
"kind": "field",
|
|
1863
|
+
"name": "dialogEl",
|
|
1864
|
+
"type": {
|
|
1865
|
+
"text": "HTMLDialogElement"
|
|
1866
|
+
}
|
|
1910
1867
|
},
|
|
1911
1868
|
{
|
|
1912
|
-
"
|
|
1869
|
+
"kind": "field",
|
|
1870
|
+
"name": "id",
|
|
1913
1871
|
"type": {
|
|
1914
1872
|
"text": "string"
|
|
1915
1873
|
},
|
|
1916
|
-
"
|
|
1917
|
-
"
|
|
1874
|
+
"description": "the ID to be used for accessibility associations",
|
|
1875
|
+
"attribute": "id"
|
|
1918
1876
|
},
|
|
1919
1877
|
{
|
|
1920
|
-
"
|
|
1878
|
+
"kind": "field",
|
|
1879
|
+
"name": "width",
|
|
1921
1880
|
"type": {
|
|
1922
|
-
"text": "
|
|
1881
|
+
"text": "string"
|
|
1923
1882
|
},
|
|
1924
|
-
"default": "
|
|
1925
|
-
"
|
|
1883
|
+
"default": "'fit-content'",
|
|
1884
|
+
"description": "the width of the dialog",
|
|
1885
|
+
"attribute": "width",
|
|
1886
|
+
"reflects": true
|
|
1926
1887
|
},
|
|
1927
1888
|
{
|
|
1928
|
-
"
|
|
1889
|
+
"kind": "field",
|
|
1890
|
+
"name": "clickOutsideToClose",
|
|
1929
1891
|
"type": {
|
|
1930
1892
|
"text": "boolean"
|
|
1931
1893
|
},
|
|
1932
|
-
"default": "
|
|
1933
|
-
"
|
|
1894
|
+
"default": "true",
|
|
1895
|
+
"description": "allow closing the dialog when clicking outside of it",
|
|
1896
|
+
"attribute": "click-outside-to-close",
|
|
1897
|
+
"reflects": true
|
|
1934
1898
|
},
|
|
1935
1899
|
{
|
|
1936
|
-
"
|
|
1900
|
+
"kind": "field",
|
|
1901
|
+
"name": "showBackdrop",
|
|
1937
1902
|
"type": {
|
|
1938
1903
|
"text": "boolean"
|
|
1939
1904
|
},
|
|
1940
|
-
"default": "
|
|
1941
|
-
"
|
|
1905
|
+
"default": "true",
|
|
1906
|
+
"description": "Show a backdrop behind the dialog",
|
|
1907
|
+
"attribute": "show-backdrop",
|
|
1908
|
+
"reflects": true
|
|
1942
1909
|
},
|
|
1943
1910
|
{
|
|
1944
|
-
"
|
|
1945
|
-
"
|
|
1946
|
-
"text": "boolean"
|
|
1947
|
-
},
|
|
1948
|
-
"default": "false",
|
|
1949
|
-
"fieldName": "static"
|
|
1911
|
+
"kind": "method",
|
|
1912
|
+
"name": "toggle"
|
|
1950
1913
|
},
|
|
1951
1914
|
{
|
|
1952
|
-
"
|
|
1915
|
+
"kind": "method",
|
|
1916
|
+
"name": "show"
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
"kind": "method",
|
|
1920
|
+
"name": "hide",
|
|
1921
|
+
"parameters": [
|
|
1922
|
+
{
|
|
1923
|
+
"name": "reason",
|
|
1924
|
+
"optional": true,
|
|
1925
|
+
"type": {
|
|
1926
|
+
"text": "string"
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
]
|
|
1930
|
+
},
|
|
1931
|
+
{
|
|
1932
|
+
"kind": "method",
|
|
1933
|
+
"name": "#handleBackdropClick",
|
|
1934
|
+
"parameters": [
|
|
1935
|
+
{
|
|
1936
|
+
"name": "event",
|
|
1937
|
+
"type": {
|
|
1938
|
+
"text": "Event"
|
|
1939
|
+
}
|
|
1940
|
+
}
|
|
1941
|
+
]
|
|
1942
|
+
}
|
|
1943
|
+
],
|
|
1944
|
+
"events": [
|
|
1945
|
+
{
|
|
1946
|
+
"description": "Emitted when the dialog opens.",
|
|
1947
|
+
"name": "terra-dialog-show",
|
|
1948
|
+
"reactName": "onTerraDialogShow",
|
|
1949
|
+
"eventName": "TerraDialogShowEvent"
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
"description": "Emitted when the dialog closes.",
|
|
1953
|
+
"name": "terra-dialog-hide",
|
|
1954
|
+
"reactName": "onTerraDialogHide",
|
|
1955
|
+
"eventName": "TerraDialogHideEvent"
|
|
1956
|
+
}
|
|
1957
|
+
],
|
|
1958
|
+
"attributes": [
|
|
1959
|
+
{
|
|
1960
|
+
"name": "id",
|
|
1953
1961
|
"type": {
|
|
1954
|
-
"text": "
|
|
1962
|
+
"text": "string"
|
|
1955
1963
|
},
|
|
1956
|
-
"
|
|
1957
|
-
"fieldName": "
|
|
1964
|
+
"description": "the ID to be used for accessibility associations",
|
|
1965
|
+
"fieldName": "id"
|
|
1958
1966
|
},
|
|
1959
1967
|
{
|
|
1960
|
-
"name": "
|
|
1968
|
+
"name": "width",
|
|
1961
1969
|
"type": {
|
|
1962
|
-
"text": "
|
|
1970
|
+
"text": "string"
|
|
1963
1971
|
},
|
|
1964
|
-
"default": "
|
|
1965
|
-
"
|
|
1972
|
+
"default": "'fit-content'",
|
|
1973
|
+
"description": "the width of the dialog",
|
|
1974
|
+
"fieldName": "width"
|
|
1966
1975
|
},
|
|
1967
1976
|
{
|
|
1968
|
-
"name": "
|
|
1977
|
+
"name": "click-outside-to-close",
|
|
1969
1978
|
"type": {
|
|
1970
1979
|
"text": "boolean"
|
|
1971
1980
|
},
|
|
1972
|
-
"default": "
|
|
1973
|
-
"
|
|
1981
|
+
"default": "true",
|
|
1982
|
+
"description": "allow closing the dialog when clicking outside of it",
|
|
1983
|
+
"fieldName": "clickOutsideToClose"
|
|
1974
1984
|
},
|
|
1975
1985
|
{
|
|
1976
|
-
"name": "
|
|
1986
|
+
"name": "show-backdrop",
|
|
1977
1987
|
"type": {
|
|
1978
|
-
"text": "
|
|
1988
|
+
"text": "boolean"
|
|
1979
1989
|
},
|
|
1980
|
-
"default": "
|
|
1981
|
-
"
|
|
1990
|
+
"default": "true",
|
|
1991
|
+
"description": "Show a backdrop behind the dialog",
|
|
1992
|
+
"fieldName": "showBackdrop"
|
|
1982
1993
|
}
|
|
1983
1994
|
],
|
|
1984
1995
|
"superclass": {
|
|
1985
1996
|
"name": "TerraElement",
|
|
1986
1997
|
"module": "/src/internal/terra-element.js"
|
|
1987
1998
|
},
|
|
1988
|
-
"summary": "
|
|
1989
|
-
"tagNameWithoutPrefix": "
|
|
1990
|
-
"tagName": "terra-
|
|
1999
|
+
"summary": "Used to create both modal and non-modal dialog boxes.",
|
|
2000
|
+
"tagNameWithoutPrefix": "dialog",
|
|
2001
|
+
"tagName": "terra-dialog",
|
|
1991
2002
|
"customElement": true,
|
|
1992
|
-
"jsDoc": "/**\n * @summary
|
|
1993
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
1994
|
-
"status": "
|
|
2003
|
+
"jsDoc": "/**\n * @summary Used to create both modal and non-modal dialog boxes.\n * @documentation https://disc.gsfc.nasa.gov/components/dialog\n * @status stable\n * @since 1.0\n *\n * @slot - The dialog's main content\n *\n * @event terra-dialog-show - Emitted when the dialog opens.\n * @event terra-dialog-hide - Emitted when the dialog closes.\n */",
|
|
2004
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/dialog",
|
|
2005
|
+
"status": "stable",
|
|
1995
2006
|
"since": "1.0"
|
|
1996
2007
|
}
|
|
1997
2008
|
],
|
|
@@ -2000,59 +2011,76 @@
|
|
|
2000
2011
|
"kind": "js",
|
|
2001
2012
|
"name": "default",
|
|
2002
2013
|
"declaration": {
|
|
2003
|
-
"name": "
|
|
2004
|
-
"module": "components/
|
|
2014
|
+
"name": "TerraDialog",
|
|
2015
|
+
"module": "components/dialog/dialog.js"
|
|
2005
2016
|
}
|
|
2006
2017
|
}
|
|
2007
2018
|
]
|
|
2008
2019
|
},
|
|
2009
2020
|
{
|
|
2010
2021
|
"kind": "javascript-module",
|
|
2011
|
-
"path": "components/
|
|
2022
|
+
"path": "components/date-picker/date-picker.js",
|
|
2012
2023
|
"declarations": [
|
|
2013
2024
|
{
|
|
2014
2025
|
"kind": "class",
|
|
2015
2026
|
"description": "",
|
|
2016
|
-
"name": "
|
|
2027
|
+
"name": "TerraDatePicker",
|
|
2028
|
+
"cssParts": [
|
|
2029
|
+
{
|
|
2030
|
+
"description": "The component's base wrapper.",
|
|
2031
|
+
"name": "base"
|
|
2032
|
+
},
|
|
2033
|
+
{
|
|
2034
|
+
"description": "The date input element.",
|
|
2035
|
+
"name": "input"
|
|
2036
|
+
}
|
|
2037
|
+
],
|
|
2038
|
+
"slots": [
|
|
2039
|
+
{
|
|
2040
|
+
"description": "The default slot.",
|
|
2041
|
+
"name": ""
|
|
2042
|
+
}
|
|
2043
|
+
],
|
|
2017
2044
|
"members": [
|
|
2018
2045
|
{
|
|
2019
2046
|
"kind": "field",
|
|
2020
|
-
"name": "
|
|
2047
|
+
"name": "selectedDates",
|
|
2021
2048
|
"type": {
|
|
2022
|
-
"text": "
|
|
2049
|
+
"text": "{\n startDate: string | null\n endDate: string | null\n }"
|
|
2050
|
+
}
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
"kind": "field",
|
|
2054
|
+
"name": "id",
|
|
2055
|
+
"type": {
|
|
2056
|
+
"text": "string"
|
|
2023
2057
|
},
|
|
2024
|
-
"
|
|
2025
|
-
"default": "{\n 'terra-time-series': TerraTimeSeries,\n 'terra-date-range-slider': TerraDateRangeSlider,\n 'terra-spatial-picker': TerraSpatialPicker,\n 'terra-variable-combobox': TerraVariableCombobox,\n }"
|
|
2058
|
+
"attribute": "id"
|
|
2026
2059
|
},
|
|
2027
2060
|
{
|
|
2028
2061
|
"kind": "field",
|
|
2029
|
-
"name": "
|
|
2062
|
+
"name": "range",
|
|
2030
2063
|
"type": {
|
|
2031
|
-
"text": "
|
|
2064
|
+
"text": "boolean"
|
|
2032
2065
|
},
|
|
2033
|
-
"
|
|
2034
|
-
"attribute": "
|
|
2035
|
-
"reflects": true
|
|
2066
|
+
"default": "false",
|
|
2067
|
+
"attribute": "range"
|
|
2036
2068
|
},
|
|
2037
2069
|
{
|
|
2038
2070
|
"kind": "field",
|
|
2039
|
-
"name": "
|
|
2071
|
+
"name": "minDate",
|
|
2040
2072
|
"type": {
|
|
2041
2073
|
"text": "string | undefined"
|
|
2042
2074
|
},
|
|
2043
|
-
"
|
|
2044
|
-
"attribute": "collection",
|
|
2045
|
-
"reflects": true
|
|
2075
|
+
"attribute": "min-date"
|
|
2046
2076
|
},
|
|
2047
2077
|
{
|
|
2048
2078
|
"kind": "field",
|
|
2049
|
-
"name": "
|
|
2079
|
+
"name": "maxDate",
|
|
2050
2080
|
"type": {
|
|
2051
2081
|
"text": "string | undefined"
|
|
2052
2082
|
},
|
|
2053
|
-
"
|
|
2054
|
-
"attribute": "variable",
|
|
2055
|
-
"reflects": true
|
|
2083
|
+
"attribute": "max-date"
|
|
2056
2084
|
},
|
|
2057
2085
|
{
|
|
2058
2086
|
"kind": "field",
|
|
@@ -2060,9 +2088,7 @@
|
|
|
2060
2088
|
"type": {
|
|
2061
2089
|
"text": "string | undefined"
|
|
2062
2090
|
},
|
|
2063
|
-
"
|
|
2064
|
-
"attribute": "start-date",
|
|
2065
|
-
"reflects": true
|
|
2091
|
+
"attribute": "start-date"
|
|
2066
2092
|
},
|
|
2067
2093
|
{
|
|
2068
2094
|
"kind": "field",
|
|
@@ -2070,85 +2096,142 @@
|
|
|
2070
2096
|
"type": {
|
|
2071
2097
|
"text": "string | undefined"
|
|
2072
2098
|
},
|
|
2073
|
-
"
|
|
2074
|
-
|
|
2075
|
-
|
|
2099
|
+
"attribute": "end-date"
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
"kind": "field",
|
|
2103
|
+
"name": "allowInput",
|
|
2104
|
+
"type": {
|
|
2105
|
+
"text": "boolean"
|
|
2106
|
+
},
|
|
2107
|
+
"default": "false",
|
|
2108
|
+
"attribute": "allow-input"
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
"kind": "field",
|
|
2112
|
+
"name": "altFormat",
|
|
2113
|
+
"type": {
|
|
2114
|
+
"text": "string"
|
|
2115
|
+
},
|
|
2116
|
+
"default": "'F j, Y'",
|
|
2117
|
+
"attribute": "alt-format"
|
|
2118
|
+
},
|
|
2119
|
+
{
|
|
2120
|
+
"kind": "field",
|
|
2121
|
+
"name": "altInput",
|
|
2122
|
+
"type": {
|
|
2123
|
+
"text": "boolean"
|
|
2124
|
+
},
|
|
2125
|
+
"default": "false",
|
|
2126
|
+
"attribute": "alt-input"
|
|
2127
|
+
},
|
|
2128
|
+
{
|
|
2129
|
+
"kind": "field",
|
|
2130
|
+
"name": "altInputClass",
|
|
2131
|
+
"type": {
|
|
2132
|
+
"text": "string"
|
|
2133
|
+
},
|
|
2134
|
+
"default": "''",
|
|
2135
|
+
"attribute": "alt-input-class"
|
|
2136
|
+
},
|
|
2137
|
+
{
|
|
2138
|
+
"kind": "field",
|
|
2139
|
+
"name": "dateFormat",
|
|
2140
|
+
"type": {
|
|
2141
|
+
"text": "string"
|
|
2142
|
+
},
|
|
2143
|
+
"default": "'Y-m-d'",
|
|
2144
|
+
"attribute": "date-format"
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
"kind": "field",
|
|
2148
|
+
"name": "enableTime",
|
|
2149
|
+
"type": {
|
|
2150
|
+
"text": "boolean"
|
|
2151
|
+
},
|
|
2152
|
+
"default": "false",
|
|
2153
|
+
"attribute": "enable-time"
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
"kind": "field",
|
|
2157
|
+
"name": "time24hr",
|
|
2158
|
+
"type": {
|
|
2159
|
+
"text": "boolean"
|
|
2160
|
+
},
|
|
2161
|
+
"default": "false",
|
|
2162
|
+
"attribute": "time-24hr"
|
|
2163
|
+
},
|
|
2164
|
+
{
|
|
2165
|
+
"kind": "field",
|
|
2166
|
+
"name": "weekNumbers",
|
|
2167
|
+
"type": {
|
|
2168
|
+
"text": "boolean"
|
|
2169
|
+
},
|
|
2170
|
+
"default": "false",
|
|
2171
|
+
"attribute": "week-numbers"
|
|
2076
2172
|
},
|
|
2077
2173
|
{
|
|
2078
2174
|
"kind": "field",
|
|
2079
|
-
"name": "
|
|
2175
|
+
"name": "static",
|
|
2080
2176
|
"type": {
|
|
2081
|
-
"text": "
|
|
2177
|
+
"text": "boolean"
|
|
2082
2178
|
},
|
|
2083
|
-
"
|
|
2084
|
-
"attribute": "
|
|
2085
|
-
"reflects": true
|
|
2179
|
+
"default": "false",
|
|
2180
|
+
"attribute": "static"
|
|
2086
2181
|
},
|
|
2087
2182
|
{
|
|
2088
2183
|
"kind": "field",
|
|
2089
|
-
"name": "
|
|
2184
|
+
"name": "position",
|
|
2090
2185
|
"type": {
|
|
2091
|
-
"text": "
|
|
2186
|
+
"text": "'auto' | 'above' | 'below'"
|
|
2092
2187
|
},
|
|
2093
|
-
"
|
|
2094
|
-
"attribute": "
|
|
2188
|
+
"default": "'auto'",
|
|
2189
|
+
"attribute": "position"
|
|
2095
2190
|
},
|
|
2096
2191
|
{
|
|
2097
2192
|
"kind": "field",
|
|
2098
|
-
"name": "
|
|
2193
|
+
"name": "showMonths",
|
|
2099
2194
|
"type": {
|
|
2100
|
-
"text": "
|
|
2101
|
-
}
|
|
2195
|
+
"text": "number"
|
|
2196
|
+
},
|
|
2197
|
+
"default": "1",
|
|
2198
|
+
"attribute": "show-months"
|
|
2102
2199
|
},
|
|
2103
2200
|
{
|
|
2104
2201
|
"kind": "field",
|
|
2105
|
-
"name": "
|
|
2106
|
-
"
|
|
2107
|
-
|
|
2202
|
+
"name": "hideLabel",
|
|
2203
|
+
"type": {
|
|
2204
|
+
"text": "boolean"
|
|
2205
|
+
},
|
|
2206
|
+
"default": "false",
|
|
2207
|
+
"attribute": "hide-label"
|
|
2108
2208
|
},
|
|
2109
2209
|
{
|
|
2110
2210
|
"kind": "field",
|
|
2111
|
-
"name": "
|
|
2112
|
-
"
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
"
|
|
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"
|
|
2211
|
+
"name": "label",
|
|
2212
|
+
"type": {
|
|
2213
|
+
"text": "string"
|
|
2214
|
+
},
|
|
2215
|
+
"default": "'Select Date'",
|
|
2216
|
+
"attribute": "label"
|
|
2131
2217
|
},
|
|
2132
2218
|
{
|
|
2133
|
-
"kind": "
|
|
2134
|
-
"name": "
|
|
2135
|
-
"
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
"text": "TerraComboboxChangeEvent"
|
|
2140
|
-
}
|
|
2141
|
-
}
|
|
2142
|
-
]
|
|
2219
|
+
"kind": "field",
|
|
2220
|
+
"name": "flatpickrElement",
|
|
2221
|
+
"type": {
|
|
2222
|
+
"text": "any"
|
|
2223
|
+
},
|
|
2224
|
+
"privacy": "private"
|
|
2143
2225
|
},
|
|
2144
2226
|
{
|
|
2145
2227
|
"kind": "method",
|
|
2146
|
-
"name": "
|
|
2228
|
+
"name": "handleChange",
|
|
2229
|
+
"privacy": "private",
|
|
2147
2230
|
"parameters": [
|
|
2148
2231
|
{
|
|
2149
|
-
"name": "
|
|
2232
|
+
"name": "selectedDates",
|
|
2150
2233
|
"type": {
|
|
2151
|
-
"text": "
|
|
2234
|
+
"text": "Date[]"
|
|
2152
2235
|
}
|
|
2153
2236
|
}
|
|
2154
2237
|
]
|
|
@@ -2156,35 +2239,39 @@
|
|
|
2156
2239
|
],
|
|
2157
2240
|
"attributes": [
|
|
2158
2241
|
{
|
|
2159
|
-
"name": "
|
|
2242
|
+
"name": "id",
|
|
2160
2243
|
"type": {
|
|
2161
|
-
"text": "string
|
|
2244
|
+
"text": "string"
|
|
2162
2245
|
},
|
|
2163
|
-
"
|
|
2164
|
-
"fieldName": "variableEntryId"
|
|
2246
|
+
"fieldName": "id"
|
|
2165
2247
|
},
|
|
2166
2248
|
{
|
|
2167
|
-
"name": "
|
|
2249
|
+
"name": "range",
|
|
2250
|
+
"type": {
|
|
2251
|
+
"text": "boolean"
|
|
2252
|
+
},
|
|
2253
|
+
"default": "false",
|
|
2254
|
+
"fieldName": "range"
|
|
2255
|
+
},
|
|
2256
|
+
{
|
|
2257
|
+
"name": "min-date",
|
|
2168
2258
|
"type": {
|
|
2169
2259
|
"text": "string | undefined"
|
|
2170
2260
|
},
|
|
2171
|
-
"
|
|
2172
|
-
"fieldName": "collection"
|
|
2261
|
+
"fieldName": "minDate"
|
|
2173
2262
|
},
|
|
2174
2263
|
{
|
|
2175
|
-
"name": "
|
|
2264
|
+
"name": "max-date",
|
|
2176
2265
|
"type": {
|
|
2177
2266
|
"text": "string | undefined"
|
|
2178
2267
|
},
|
|
2179
|
-
"
|
|
2180
|
-
"fieldName": "variable"
|
|
2268
|
+
"fieldName": "maxDate"
|
|
2181
2269
|
},
|
|
2182
2270
|
{
|
|
2183
2271
|
"name": "start-date",
|
|
2184
2272
|
"type": {
|
|
2185
2273
|
"text": "string | undefined"
|
|
2186
2274
|
},
|
|
2187
|
-
"description": "The start date for the time series plot. (ex: 2021-01-01)",
|
|
2188
2275
|
"fieldName": "startDate"
|
|
2189
2276
|
},
|
|
2190
2277
|
{
|
|
@@ -2192,211 +2279,124 @@
|
|
|
2192
2279
|
"type": {
|
|
2193
2280
|
"text": "string | undefined"
|
|
2194
2281
|
},
|
|
2195
|
-
"description": "The end date for the time series plot. (ex: 2021-01-01)",
|
|
2196
2282
|
"fieldName": "endDate"
|
|
2197
2283
|
},
|
|
2198
2284
|
{
|
|
2199
|
-
"name": "
|
|
2285
|
+
"name": "allow-input",
|
|
2200
2286
|
"type": {
|
|
2201
|
-
"text": "
|
|
2287
|
+
"text": "boolean"
|
|
2202
2288
|
},
|
|
2203
|
-
"
|
|
2204
|
-
"fieldName": "
|
|
2289
|
+
"default": "false",
|
|
2290
|
+
"fieldName": "allowInput"
|
|
2205
2291
|
},
|
|
2206
2292
|
{
|
|
2207
|
-
"name": "
|
|
2293
|
+
"name": "alt-format",
|
|
2208
2294
|
"type": {
|
|
2209
2295
|
"text": "string"
|
|
2210
2296
|
},
|
|
2211
|
-
"
|
|
2212
|
-
"fieldName": "
|
|
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": [
|
|
2297
|
+
"default": "'F j, Y'",
|
|
2298
|
+
"fieldName": "altFormat"
|
|
2299
|
+
},
|
|
2255
2300
|
{
|
|
2256
|
-
"
|
|
2257
|
-
"name": "dialogEl",
|
|
2301
|
+
"name": "alt-input",
|
|
2258
2302
|
"type": {
|
|
2259
|
-
"text": "
|
|
2260
|
-
}
|
|
2303
|
+
"text": "boolean"
|
|
2304
|
+
},
|
|
2305
|
+
"default": "false",
|
|
2306
|
+
"fieldName": "altInput"
|
|
2261
2307
|
},
|
|
2262
2308
|
{
|
|
2263
|
-
"
|
|
2264
|
-
"name": "id",
|
|
2309
|
+
"name": "alt-input-class",
|
|
2265
2310
|
"type": {
|
|
2266
2311
|
"text": "string"
|
|
2267
2312
|
},
|
|
2268
|
-
"
|
|
2269
|
-
"
|
|
2313
|
+
"default": "''",
|
|
2314
|
+
"fieldName": "altInputClass"
|
|
2270
2315
|
},
|
|
2271
2316
|
{
|
|
2272
|
-
"
|
|
2273
|
-
"name": "width",
|
|
2317
|
+
"name": "date-format",
|
|
2274
2318
|
"type": {
|
|
2275
2319
|
"text": "string"
|
|
2276
2320
|
},
|
|
2277
|
-
"default": "'
|
|
2278
|
-
"
|
|
2279
|
-
"attribute": "width",
|
|
2280
|
-
"reflects": true
|
|
2321
|
+
"default": "'Y-m-d'",
|
|
2322
|
+
"fieldName": "dateFormat"
|
|
2281
2323
|
},
|
|
2282
2324
|
{
|
|
2283
|
-
"
|
|
2284
|
-
"name": "clickOutsideToClose",
|
|
2325
|
+
"name": "enable-time",
|
|
2285
2326
|
"type": {
|
|
2286
2327
|
"text": "boolean"
|
|
2287
2328
|
},
|
|
2288
|
-
"default": "
|
|
2289
|
-
"
|
|
2290
|
-
"attribute": "click-outside-to-close",
|
|
2291
|
-
"reflects": true
|
|
2329
|
+
"default": "false",
|
|
2330
|
+
"fieldName": "enableTime"
|
|
2292
2331
|
},
|
|
2293
2332
|
{
|
|
2294
|
-
"
|
|
2295
|
-
"name": "showBackdrop",
|
|
2333
|
+
"name": "time-24hr",
|
|
2296
2334
|
"type": {
|
|
2297
2335
|
"text": "boolean"
|
|
2298
2336
|
},
|
|
2299
|
-
"default": "
|
|
2300
|
-
"
|
|
2301
|
-
"attribute": "show-backdrop",
|
|
2302
|
-
"reflects": true
|
|
2303
|
-
},
|
|
2304
|
-
{
|
|
2305
|
-
"kind": "method",
|
|
2306
|
-
"name": "toggle"
|
|
2307
|
-
},
|
|
2308
|
-
{
|
|
2309
|
-
"kind": "method",
|
|
2310
|
-
"name": "show"
|
|
2337
|
+
"default": "false",
|
|
2338
|
+
"fieldName": "time24hr"
|
|
2311
2339
|
},
|
|
2312
2340
|
{
|
|
2313
|
-
"
|
|
2314
|
-
"
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
"type": {
|
|
2320
|
-
"text": "string"
|
|
2321
|
-
}
|
|
2322
|
-
}
|
|
2323
|
-
]
|
|
2341
|
+
"name": "week-numbers",
|
|
2342
|
+
"type": {
|
|
2343
|
+
"text": "boolean"
|
|
2344
|
+
},
|
|
2345
|
+
"default": "false",
|
|
2346
|
+
"fieldName": "weekNumbers"
|
|
2324
2347
|
},
|
|
2325
2348
|
{
|
|
2326
|
-
"
|
|
2327
|
-
"
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
"text": "Event"
|
|
2333
|
-
}
|
|
2334
|
-
}
|
|
2335
|
-
]
|
|
2336
|
-
}
|
|
2337
|
-
],
|
|
2338
|
-
"events": [
|
|
2339
|
-
{
|
|
2340
|
-
"description": "Emitted when the dialog opens.",
|
|
2341
|
-
"name": "terra-dialog-show",
|
|
2342
|
-
"reactName": "onTerraDialogShow",
|
|
2343
|
-
"eventName": "TerraDialogShowEvent"
|
|
2349
|
+
"name": "static",
|
|
2350
|
+
"type": {
|
|
2351
|
+
"text": "boolean"
|
|
2352
|
+
},
|
|
2353
|
+
"default": "false",
|
|
2354
|
+
"fieldName": "static"
|
|
2344
2355
|
},
|
|
2345
2356
|
{
|
|
2346
|
-
"
|
|
2347
|
-
"name": "terra-dialog-hide",
|
|
2348
|
-
"reactName": "onTerraDialogHide",
|
|
2349
|
-
"eventName": "TerraDialogHideEvent"
|
|
2350
|
-
}
|
|
2351
|
-
],
|
|
2352
|
-
"attributes": [
|
|
2353
|
-
{
|
|
2354
|
-
"name": "id",
|
|
2357
|
+
"name": "position",
|
|
2355
2358
|
"type": {
|
|
2356
|
-
"text": "
|
|
2359
|
+
"text": "'auto' | 'above' | 'below'"
|
|
2357
2360
|
},
|
|
2358
|
-
"
|
|
2359
|
-
"fieldName": "
|
|
2361
|
+
"default": "'auto'",
|
|
2362
|
+
"fieldName": "position"
|
|
2360
2363
|
},
|
|
2361
2364
|
{
|
|
2362
|
-
"name": "
|
|
2365
|
+
"name": "show-months",
|
|
2363
2366
|
"type": {
|
|
2364
|
-
"text": "
|
|
2367
|
+
"text": "number"
|
|
2365
2368
|
},
|
|
2366
|
-
"default": "
|
|
2367
|
-
"
|
|
2368
|
-
"fieldName": "width"
|
|
2369
|
+
"default": "1",
|
|
2370
|
+
"fieldName": "showMonths"
|
|
2369
2371
|
},
|
|
2370
2372
|
{
|
|
2371
|
-
"name": "
|
|
2373
|
+
"name": "hide-label",
|
|
2372
2374
|
"type": {
|
|
2373
2375
|
"text": "boolean"
|
|
2374
2376
|
},
|
|
2375
|
-
"default": "
|
|
2376
|
-
"
|
|
2377
|
-
"fieldName": "clickOutsideToClose"
|
|
2377
|
+
"default": "false",
|
|
2378
|
+
"fieldName": "hideLabel"
|
|
2378
2379
|
},
|
|
2379
2380
|
{
|
|
2380
|
-
"name": "
|
|
2381
|
+
"name": "label",
|
|
2381
2382
|
"type": {
|
|
2382
|
-
"text": "
|
|
2383
|
+
"text": "string"
|
|
2383
2384
|
},
|
|
2384
|
-
"default": "
|
|
2385
|
-
"
|
|
2386
|
-
"fieldName": "showBackdrop"
|
|
2385
|
+
"default": "'Select Date'",
|
|
2386
|
+
"fieldName": "label"
|
|
2387
2387
|
}
|
|
2388
2388
|
],
|
|
2389
2389
|
"superclass": {
|
|
2390
2390
|
"name": "TerraElement",
|
|
2391
2391
|
"module": "/src/internal/terra-element.js"
|
|
2392
2392
|
},
|
|
2393
|
-
"summary": "
|
|
2394
|
-
"tagNameWithoutPrefix": "
|
|
2395
|
-
"tagName": "terra-
|
|
2393
|
+
"summary": "A date picker component that supports single date selection or date range selection.",
|
|
2394
|
+
"tagNameWithoutPrefix": "date-picker",
|
|
2395
|
+
"tagName": "terra-date-picker",
|
|
2396
2396
|
"customElement": true,
|
|
2397
|
-
"jsDoc": "/**\n * @summary
|
|
2398
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
2399
|
-
"status": "
|
|
2397
|
+
"jsDoc": "/**\n * @summary A date picker component that supports single date selection or date range selection.\n * @documentation https://disc.gsfc.nasa.gov/components/date-picker\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot.\n *\n * @csspart base - The component's base wrapper.\n * @csspart input - The date input element.\n */",
|
|
2398
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/date-picker",
|
|
2399
|
+
"status": "experimental",
|
|
2400
2400
|
"since": "1.0"
|
|
2401
2401
|
}
|
|
2402
2402
|
],
|
|
@@ -2405,8 +2405,8 @@
|
|
|
2405
2405
|
"kind": "js",
|
|
2406
2406
|
"name": "default",
|
|
2407
2407
|
"declaration": {
|
|
2408
|
-
"name": "
|
|
2409
|
-
"module": "components/
|
|
2408
|
+
"name": "TerraDatePicker",
|
|
2409
|
+
"module": "components/date-picker/date-picker.js"
|
|
2410
2410
|
}
|
|
2411
2411
|
}
|
|
2412
2412
|
]
|
|
@@ -3718,44 +3718,12 @@
|
|
|
3718
3718
|
},
|
|
3719
3719
|
{
|
|
3720
3720
|
"kind": "javascript-module",
|
|
3721
|
-
"path": "components/
|
|
3721
|
+
"path": "components/time-series/time-series.js",
|
|
3722
3722
|
"declarations": [
|
|
3723
3723
|
{
|
|
3724
3724
|
"kind": "class",
|
|
3725
3725
|
"description": "",
|
|
3726
|
-
"name": "
|
|
3727
|
-
"cssProperties": [
|
|
3728
|
-
{
|
|
3729
|
-
"description": "The height of the host element.",
|
|
3730
|
-
"name": "--host-height"
|
|
3731
|
-
},
|
|
3732
|
-
{
|
|
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
|
-
],
|
|
3726
|
+
"name": "TerraTimeSeries",
|
|
3759
3727
|
"members": [
|
|
3760
3728
|
{
|
|
3761
3729
|
"kind": "field",
|
|
@@ -3764,348 +3732,317 @@
|
|
|
3764
3732
|
"text": "object"
|
|
3765
3733
|
},
|
|
3766
3734
|
"static": true,
|
|
3767
|
-
"default": "{\n 'terra-
|
|
3768
|
-
},
|
|
3769
|
-
{
|
|
3770
|
-
"kind": "field",
|
|
3771
|
-
"name": "shadowRootOptions",
|
|
3772
|
-
"type": {
|
|
3773
|
-
"text": "object"
|
|
3774
|
-
},
|
|
3775
|
-
"static": true,
|
|
3776
|
-
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
3777
|
-
},
|
|
3778
|
-
{
|
|
3779
|
-
"kind": "field",
|
|
3780
|
-
"name": "tagName",
|
|
3781
|
-
"type": {
|
|
3782
|
-
"text": "string"
|
|
3783
|
-
},
|
|
3784
|
-
"static": true,
|
|
3785
|
-
"default": "'terra-variable-combobox'"
|
|
3786
|
-
},
|
|
3787
|
-
{
|
|
3788
|
-
"kind": "field",
|
|
3789
|
-
"name": "initialQuery",
|
|
3790
|
-
"type": {
|
|
3791
|
-
"text": "string"
|
|
3792
|
-
},
|
|
3793
|
-
"static": true,
|
|
3794
|
-
"default": "''"
|
|
3795
|
-
},
|
|
3796
|
-
{
|
|
3797
|
-
"kind": "field",
|
|
3798
|
-
"name": "#combobox",
|
|
3799
|
-
"privacy": "private",
|
|
3800
|
-
"type": {
|
|
3801
|
-
"text": "HTMLInputElement | null"
|
|
3802
|
-
},
|
|
3803
|
-
"default": "null"
|
|
3735
|
+
"default": "{\n 'terra-plot': TerraPlot,\n 'terra-loader': TerraLoader,\n 'terra-icon': TerraIcon,\n 'terra-button': TerraButton,\n }"
|
|
3804
3736
|
},
|
|
3805
3737
|
{
|
|
3806
3738
|
"kind": "field",
|
|
3807
|
-
"name": "#
|
|
3739
|
+
"name": "#timeSeriesController",
|
|
3808
3740
|
"privacy": "private",
|
|
3809
3741
|
"type": {
|
|
3810
|
-
"text": "
|
|
3742
|
+
"text": "TimeSeriesController"
|
|
3811
3743
|
}
|
|
3812
3744
|
},
|
|
3813
3745
|
{
|
|
3814
3746
|
"kind": "field",
|
|
3815
|
-
"name": "
|
|
3816
|
-
"privacy": "private",
|
|
3817
|
-
"type": {
|
|
3818
|
-
"text": "ListItem[]"
|
|
3819
|
-
},
|
|
3820
|
-
"default": "[]"
|
|
3821
|
-
},
|
|
3822
|
-
{
|
|
3823
|
-
"kind": "field",
|
|
3824
|
-
"name": "#listbox",
|
|
3825
|
-
"privacy": "private",
|
|
3826
|
-
"type": {
|
|
3827
|
-
"text": "HTMLUListElement | null"
|
|
3828
|
-
},
|
|
3829
|
-
"default": "null"
|
|
3830
|
-
},
|
|
3831
|
-
{
|
|
3832
|
-
"kind": "field",
|
|
3833
|
-
"name": "#searchEngine",
|
|
3834
|
-
"privacy": "private",
|
|
3835
|
-
"type": {
|
|
3836
|
-
"text": "Fuse<ListItem> | null"
|
|
3837
|
-
},
|
|
3838
|
-
"default": "null"
|
|
3839
|
-
},
|
|
3840
|
-
{
|
|
3841
|
-
"kind": "field",
|
|
3842
|
-
"name": "#walker",
|
|
3843
|
-
"privacy": "private",
|
|
3844
|
-
"type": {
|
|
3845
|
-
"text": "TreeWalker | null"
|
|
3846
|
-
},
|
|
3847
|
-
"default": "null"
|
|
3848
|
-
},
|
|
3849
|
-
{
|
|
3850
|
-
"kind": "field",
|
|
3851
|
-
"name": "#tagContainer",
|
|
3852
|
-
"privacy": "private",
|
|
3747
|
+
"name": "variableEntryId",
|
|
3853
3748
|
"type": {
|
|
3854
|
-
"text": "
|
|
3749
|
+
"text": "string | undefined"
|
|
3855
3750
|
},
|
|
3856
|
-
"
|
|
3751
|
+
"description": "a variable entry ID (ex: GPM_3IMERGHH_06_precipitationCal)",
|
|
3752
|
+
"attribute": "variable-entry-id",
|
|
3753
|
+
"reflects": true
|
|
3857
3754
|
},
|
|
3858
3755
|
{
|
|
3859
3756
|
"kind": "field",
|
|
3860
|
-
"name": "
|
|
3757
|
+
"name": "collection",
|
|
3861
3758
|
"type": {
|
|
3862
|
-
"text": "string"
|
|
3759
|
+
"text": "string | undefined"
|
|
3863
3760
|
},
|
|
3864
|
-
"
|
|
3865
|
-
"
|
|
3866
|
-
"
|
|
3761
|
+
"description": "a collection entry id (ex: GPM_3IMERGHH_06)\nonly required if you don't include a variableEntryId",
|
|
3762
|
+
"attribute": "collection",
|
|
3763
|
+
"reflects": true
|
|
3867
3764
|
},
|
|
3868
3765
|
{
|
|
3869
3766
|
"kind": "field",
|
|
3870
|
-
"name": "
|
|
3767
|
+
"name": "variable",
|
|
3871
3768
|
"type": {
|
|
3872
|
-
"text": "string"
|
|
3769
|
+
"text": "string | undefined"
|
|
3873
3770
|
},
|
|
3874
|
-
"description": "
|
|
3875
|
-
"attribute": "
|
|
3771
|
+
"description": "a variable short name to plot (ex: precipitationCal)\nonly required if you don't include a variableEntryId",
|
|
3772
|
+
"attribute": "variable",
|
|
3773
|
+
"reflects": true
|
|
3876
3774
|
},
|
|
3877
3775
|
{
|
|
3878
3776
|
"kind": "field",
|
|
3879
|
-
"name": "
|
|
3777
|
+
"name": "startDate",
|
|
3880
3778
|
"type": {
|
|
3881
|
-
"text": "
|
|
3779
|
+
"text": "string | undefined"
|
|
3882
3780
|
},
|
|
3883
|
-
"
|
|
3884
|
-
"
|
|
3885
|
-
"attribute": "hide-help",
|
|
3781
|
+
"description": "The start date for the time series plot. (ex: 2021-01-01)",
|
|
3782
|
+
"attribute": "start-date",
|
|
3886
3783
|
"reflects": true
|
|
3887
3784
|
},
|
|
3888
3785
|
{
|
|
3889
3786
|
"kind": "field",
|
|
3890
|
-
"name": "
|
|
3787
|
+
"name": "endDate",
|
|
3891
3788
|
"type": {
|
|
3892
|
-
"text": "
|
|
3789
|
+
"text": "string | undefined"
|
|
3893
3790
|
},
|
|
3894
|
-
"
|
|
3895
|
-
"
|
|
3896
|
-
"attribute": "hide-label",
|
|
3791
|
+
"description": "The end date for the time series plot. (ex: 2021-01-01)",
|
|
3792
|
+
"attribute": "end-date",
|
|
3897
3793
|
"reflects": true
|
|
3898
3794
|
},
|
|
3899
3795
|
{
|
|
3900
3796
|
"kind": "field",
|
|
3901
|
-
"name": "
|
|
3797
|
+
"name": "location",
|
|
3902
3798
|
"type": {
|
|
3903
|
-
"text": "
|
|
3799
|
+
"text": "string | undefined"
|
|
3904
3800
|
},
|
|
3905
|
-
"
|
|
3906
|
-
"
|
|
3907
|
-
"attribute": "use-tags",
|
|
3801
|
+
"description": "The point location in \"lat,lon\" format.",
|
|
3802
|
+
"attribute": "location",
|
|
3908
3803
|
"reflects": true
|
|
3909
3804
|
},
|
|
3910
3805
|
{
|
|
3911
3806
|
"kind": "field",
|
|
3912
|
-
"name": "
|
|
3807
|
+
"name": "bearerToken",
|
|
3913
3808
|
"type": {
|
|
3914
3809
|
"text": "string"
|
|
3915
3810
|
},
|
|
3916
|
-
"description": "
|
|
3917
|
-
"attribute": "
|
|
3811
|
+
"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).",
|
|
3812
|
+
"attribute": "bearer-token"
|
|
3918
3813
|
},
|
|
3919
3814
|
{
|
|
3920
3815
|
"kind": "field",
|
|
3921
|
-
"name": "
|
|
3816
|
+
"name": "plot",
|
|
3922
3817
|
"type": {
|
|
3923
|
-
"text": "
|
|
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"
|
|
3818
|
+
"text": "TerraPlot"
|
|
3819
|
+
}
|
|
3927
3820
|
},
|
|
3928
3821
|
{
|
|
3929
3822
|
"kind": "field",
|
|
3930
|
-
"name": "
|
|
3823
|
+
"name": "menu",
|
|
3931
3824
|
"type": {
|
|
3932
|
-
"text": "
|
|
3933
|
-
}
|
|
3934
|
-
"default": "false"
|
|
3825
|
+
"text": "HTMLMenuElement"
|
|
3826
|
+
}
|
|
3935
3827
|
},
|
|
3936
3828
|
{
|
|
3937
3829
|
"kind": "field",
|
|
3938
|
-
"name": "
|
|
3830
|
+
"name": "catalogVariable",
|
|
3831
|
+
"type": {
|
|
3832
|
+
"text": "Variable"
|
|
3833
|
+
}
|
|
3939
3834
|
},
|
|
3940
3835
|
{
|
|
3941
3836
|
"kind": "field",
|
|
3942
|
-
"name": "
|
|
3837
|
+
"name": "showDataPointWarning",
|
|
3943
3838
|
"type": {
|
|
3944
|
-
"text": "
|
|
3839
|
+
"text": "boolean"
|
|
3945
3840
|
},
|
|
3946
|
-
"default": "
|
|
3841
|
+
"default": "false",
|
|
3842
|
+
"description": "if true, we'll show a warning to the user about them requesting a large number of data points"
|
|
3947
3843
|
},
|
|
3948
3844
|
{
|
|
3949
3845
|
"kind": "field",
|
|
3950
|
-
"name": "
|
|
3846
|
+
"name": "estimatedDataPoints",
|
|
3951
3847
|
"type": {
|
|
3952
|
-
"text": "
|
|
3848
|
+
"text": "number"
|
|
3953
3849
|
},
|
|
3954
|
-
"default": "
|
|
3850
|
+
"default": "0",
|
|
3851
|
+
"description": "stores the estimated"
|
|
3955
3852
|
},
|
|
3956
3853
|
{
|
|
3957
3854
|
"kind": "field",
|
|
3958
|
-
"name": "
|
|
3855
|
+
"name": "activeMenuItem",
|
|
3959
3856
|
"type": {
|
|
3960
|
-
"text": "
|
|
3857
|
+
"text": "MenuNames"
|
|
3961
3858
|
},
|
|
3962
|
-
"default": "
|
|
3859
|
+
"default": "null"
|
|
3963
3860
|
},
|
|
3964
3861
|
{
|
|
3965
3862
|
"kind": "method",
|
|
3966
|
-
"name": "
|
|
3863
|
+
"name": "handleFocus",
|
|
3967
3864
|
"parameters": [
|
|
3968
3865
|
{
|
|
3969
|
-
"name": "
|
|
3866
|
+
"name": "_oldValue",
|
|
3970
3867
|
"type": {
|
|
3971
|
-
"text": "
|
|
3868
|
+
"text": "MenuNames"
|
|
3972
3869
|
}
|
|
3973
3870
|
},
|
|
3974
3871
|
{
|
|
3975
3872
|
"name": "newValue",
|
|
3976
3873
|
"type": {
|
|
3977
|
-
"text": "
|
|
3874
|
+
"text": "MenuNames"
|
|
3978
3875
|
}
|
|
3979
3876
|
}
|
|
3980
|
-
]
|
|
3981
|
-
"description": "This component's value is read by other components.\nInternally, the variable metdata has slight differences that require adapting."
|
|
3982
|
-
},
|
|
3983
|
-
{
|
|
3984
|
-
"kind": "method",
|
|
3985
|
-
"name": "clear"
|
|
3986
|
-
},
|
|
3987
|
-
{
|
|
3988
|
-
"kind": "method",
|
|
3989
|
-
"name": "close"
|
|
3990
|
-
},
|
|
3991
|
-
{
|
|
3992
|
-
"kind": "method",
|
|
3993
|
-
"name": "toggle"
|
|
3877
|
+
]
|
|
3994
3878
|
},
|
|
3995
3879
|
{
|
|
3996
3880
|
"kind": "field",
|
|
3997
|
-
"name": "#
|
|
3998
|
-
"privacy": "private"
|
|
3881
|
+
"name": "#catalog",
|
|
3882
|
+
"privacy": "private",
|
|
3883
|
+
"default": "new GiovanniVariableCatalog()"
|
|
3999
3884
|
},
|
|
4000
3885
|
{
|
|
4001
3886
|
"kind": "field",
|
|
4002
|
-
"name": "#
|
|
4003
|
-
"privacy": "private"
|
|
3887
|
+
"name": "#fetchVariableTask",
|
|
3888
|
+
"privacy": "private",
|
|
3889
|
+
"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 })"
|
|
4004
3890
|
},
|
|
4005
3891
|
{
|
|
4006
|
-
"kind": "
|
|
4007
|
-
"name": "#
|
|
4008
|
-
"privacy": "private"
|
|
3892
|
+
"kind": "method",
|
|
3893
|
+
"name": "#confirmDataPointWarning"
|
|
4009
3894
|
},
|
|
4010
3895
|
{
|
|
4011
|
-
"kind": "
|
|
4012
|
-
"name": "#
|
|
4013
|
-
"privacy": "private"
|
|
3896
|
+
"kind": "method",
|
|
3897
|
+
"name": "#cancelDataPointWarning"
|
|
4014
3898
|
},
|
|
4015
3899
|
{
|
|
4016
|
-
"kind": "
|
|
4017
|
-
"name": "#
|
|
4018
|
-
"
|
|
3900
|
+
"kind": "method",
|
|
3901
|
+
"name": "#abortDataLoad",
|
|
3902
|
+
"description": "aborts the underlying data loading task, which cancels the network request"
|
|
4019
3903
|
},
|
|
4020
3904
|
{
|
|
4021
|
-
"kind": "
|
|
4022
|
-
"name": "#
|
|
4023
|
-
"
|
|
3905
|
+
"kind": "method",
|
|
3906
|
+
"name": "#downloadCSV",
|
|
3907
|
+
"parameters": [
|
|
3908
|
+
{
|
|
3909
|
+
"name": "_event",
|
|
3910
|
+
"type": {
|
|
3911
|
+
"text": "Event"
|
|
3912
|
+
}
|
|
3913
|
+
}
|
|
3914
|
+
]
|
|
4024
3915
|
},
|
|
4025
3916
|
{
|
|
4026
|
-
"kind": "
|
|
4027
|
-
"name": "#
|
|
4028
|
-
"
|
|
3917
|
+
"kind": "method",
|
|
3918
|
+
"name": "#convertToCSV",
|
|
3919
|
+
"return": {
|
|
3920
|
+
"type": {
|
|
3921
|
+
"text": "string"
|
|
3922
|
+
}
|
|
3923
|
+
},
|
|
3924
|
+
"parameters": [
|
|
3925
|
+
{
|
|
3926
|
+
"name": "data",
|
|
3927
|
+
"type": {
|
|
3928
|
+
"text": "any[]"
|
|
3929
|
+
}
|
|
3930
|
+
}
|
|
3931
|
+
]
|
|
4029
3932
|
},
|
|
4030
3933
|
{
|
|
4031
3934
|
"kind": "method",
|
|
4032
|
-
"name": "#
|
|
3935
|
+
"name": "#downloadPNG",
|
|
4033
3936
|
"parameters": [
|
|
4034
3937
|
{
|
|
4035
|
-
"name": "
|
|
3938
|
+
"name": "_event",
|
|
4036
3939
|
"type": {
|
|
4037
|
-
"text": "
|
|
3940
|
+
"text": "Event"
|
|
4038
3941
|
}
|
|
4039
|
-
}
|
|
3942
|
+
}
|
|
3943
|
+
]
|
|
3944
|
+
},
|
|
3945
|
+
{
|
|
3946
|
+
"kind": "method",
|
|
3947
|
+
"name": "#handleActiveMenuItem",
|
|
3948
|
+
"parameters": [
|
|
4040
3949
|
{
|
|
4041
|
-
"name": "
|
|
3950
|
+
"name": "event",
|
|
4042
3951
|
"type": {
|
|
4043
|
-
"text": "
|
|
3952
|
+
"text": "Event"
|
|
4044
3953
|
}
|
|
4045
3954
|
}
|
|
4046
3955
|
]
|
|
3956
|
+
},
|
|
3957
|
+
{
|
|
3958
|
+
"kind": "method",
|
|
3959
|
+
"name": "#handleMenuLeave"
|
|
3960
|
+
},
|
|
3961
|
+
{
|
|
3962
|
+
"kind": "method",
|
|
3963
|
+
"name": "#getVariableEntryId"
|
|
3964
|
+
},
|
|
3965
|
+
{
|
|
3966
|
+
"kind": "method",
|
|
3967
|
+
"name": "#getYAxisLabel"
|
|
3968
|
+
},
|
|
3969
|
+
{
|
|
3970
|
+
"kind": "method",
|
|
3971
|
+
"name": "#renderInfoPanel"
|
|
3972
|
+
},
|
|
3973
|
+
{
|
|
3974
|
+
"kind": "method",
|
|
3975
|
+
"name": "#renderDownloadPanel"
|
|
3976
|
+
},
|
|
3977
|
+
{
|
|
3978
|
+
"kind": "method",
|
|
3979
|
+
"name": "#renderHelpPanel"
|
|
3980
|
+
},
|
|
3981
|
+
{
|
|
3982
|
+
"kind": "method",
|
|
3983
|
+
"name": "#renderJupyterNotebookPanel"
|
|
3984
|
+
},
|
|
3985
|
+
{
|
|
3986
|
+
"kind": "method",
|
|
3987
|
+
"name": "#handleJupyterNotebookClick"
|
|
4047
3988
|
}
|
|
4048
3989
|
],
|
|
4049
3990
|
"events": [
|
|
4050
3991
|
{
|
|
4051
|
-
"description": "Emitted
|
|
4052
|
-
"name": "terra-
|
|
4053
|
-
"reactName": "
|
|
4054
|
-
"eventName": "
|
|
3992
|
+
"description": "Emitted whenever time series data has been fetched from Giovanni",
|
|
3993
|
+
"name": "terra-time-series-data-change",
|
|
3994
|
+
"reactName": "onTerraTimeSeriesDataChange",
|
|
3995
|
+
"eventName": "TerraTimeSeriesDataChangeEvent"
|
|
4055
3996
|
}
|
|
4056
3997
|
],
|
|
4057
3998
|
"attributes": [
|
|
4058
3999
|
{
|
|
4059
|
-
"name": "
|
|
4000
|
+
"name": "variable-entry-id",
|
|
4060
4001
|
"type": {
|
|
4061
|
-
"text": "string"
|
|
4002
|
+
"text": "string | undefined"
|
|
4062
4003
|
},
|
|
4063
|
-
"
|
|
4064
|
-
"
|
|
4065
|
-
"fieldName": "label"
|
|
4004
|
+
"description": "a variable entry ID (ex: GPM_3IMERGHH_06_precipitationCal)",
|
|
4005
|
+
"fieldName": "variableEntryId"
|
|
4066
4006
|
},
|
|
4067
4007
|
{
|
|
4068
|
-
"name": "
|
|
4008
|
+
"name": "collection",
|
|
4069
4009
|
"type": {
|
|
4070
|
-
"text": "string"
|
|
4010
|
+
"text": "string | undefined"
|
|
4071
4011
|
},
|
|
4072
|
-
"description": "
|
|
4073
|
-
"fieldName": "
|
|
4012
|
+
"description": "a collection entry id (ex: GPM_3IMERGHH_06)\nonly required if you don't include a variableEntryId",
|
|
4013
|
+
"fieldName": "collection"
|
|
4074
4014
|
},
|
|
4075
4015
|
{
|
|
4076
|
-
"name": "
|
|
4016
|
+
"name": "variable",
|
|
4077
4017
|
"type": {
|
|
4078
|
-
"text": "
|
|
4018
|
+
"text": "string | undefined"
|
|
4079
4019
|
},
|
|
4080
|
-
"
|
|
4081
|
-
"
|
|
4082
|
-
"fieldName": "hideHelp"
|
|
4020
|
+
"description": "a variable short name to plot (ex: precipitationCal)\nonly required if you don't include a variableEntryId",
|
|
4021
|
+
"fieldName": "variable"
|
|
4083
4022
|
},
|
|
4084
4023
|
{
|
|
4085
|
-
"name": "
|
|
4024
|
+
"name": "start-date",
|
|
4086
4025
|
"type": {
|
|
4087
|
-
"text": "
|
|
4026
|
+
"text": "string | undefined"
|
|
4088
4027
|
},
|
|
4089
|
-
"
|
|
4090
|
-
"
|
|
4091
|
-
"fieldName": "hideLabel"
|
|
4028
|
+
"description": "The start date for the time series plot. (ex: 2021-01-01)",
|
|
4029
|
+
"fieldName": "startDate"
|
|
4092
4030
|
},
|
|
4093
4031
|
{
|
|
4094
|
-
"name": "
|
|
4032
|
+
"name": "end-date",
|
|
4095
4033
|
"type": {
|
|
4096
|
-
"text": "
|
|
4034
|
+
"text": "string | undefined"
|
|
4097
4035
|
},
|
|
4098
|
-
"
|
|
4099
|
-
"
|
|
4100
|
-
"fieldName": "useTags"
|
|
4036
|
+
"description": "The end date for the time series plot. (ex: 2021-01-01)",
|
|
4037
|
+
"fieldName": "endDate"
|
|
4101
4038
|
},
|
|
4102
4039
|
{
|
|
4103
|
-
"name": "
|
|
4040
|
+
"name": "location",
|
|
4104
4041
|
"type": {
|
|
4105
|
-
"text": "string"
|
|
4042
|
+
"text": "string | undefined"
|
|
4106
4043
|
},
|
|
4107
|
-
"description": "
|
|
4108
|
-
"fieldName": "
|
|
4044
|
+
"description": "The point location in \"lat,lon\" format.",
|
|
4045
|
+
"fieldName": "location"
|
|
4109
4046
|
},
|
|
4110
4047
|
{
|
|
4111
4048
|
"name": "bearer-token",
|
|
@@ -4120,14 +4057,17 @@
|
|
|
4120
4057
|
"name": "TerraElement",
|
|
4121
4058
|
"module": "/src/internal/terra-element.js"
|
|
4122
4059
|
},
|
|
4123
|
-
"summary": "
|
|
4124
|
-
"tagNameWithoutPrefix": "
|
|
4125
|
-
"tagName": "terra-
|
|
4060
|
+
"summary": "A component for visualizing time series data using the GES DISC Giovanni API.",
|
|
4061
|
+
"tagNameWithoutPrefix": "time-series",
|
|
4062
|
+
"tagName": "terra-time-series",
|
|
4126
4063
|
"customElement": true,
|
|
4127
|
-
"jsDoc": "/**\n * @summary
|
|
4128
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
4129
|
-
"status": "
|
|
4130
|
-
"since": "1.0"
|
|
4064
|
+
"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 */",
|
|
4065
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/time-series",
|
|
4066
|
+
"status": "mvp",
|
|
4067
|
+
"since": "1.0",
|
|
4068
|
+
"dependencies": [
|
|
4069
|
+
"terra-plot"
|
|
4070
|
+
]
|
|
4131
4071
|
}
|
|
4132
4072
|
],
|
|
4133
4073
|
"exports": [
|
|
@@ -4135,20 +4075,48 @@
|
|
|
4135
4075
|
"kind": "js",
|
|
4136
4076
|
"name": "default",
|
|
4137
4077
|
"declaration": {
|
|
4138
|
-
"name": "
|
|
4139
|
-
"module": "components/
|
|
4078
|
+
"name": "TerraTimeSeries",
|
|
4079
|
+
"module": "components/time-series/time-series.js"
|
|
4140
4080
|
}
|
|
4141
4081
|
}
|
|
4142
4082
|
]
|
|
4143
4083
|
},
|
|
4144
4084
|
{
|
|
4145
4085
|
"kind": "javascript-module",
|
|
4146
|
-
"path": "components/
|
|
4086
|
+
"path": "components/variable-keyword-search/variable-keyword-search.js",
|
|
4147
4087
|
"declarations": [
|
|
4148
4088
|
{
|
|
4149
4089
|
"kind": "class",
|
|
4150
4090
|
"description": "",
|
|
4151
|
-
"name": "
|
|
4091
|
+
"name": "TerraVariableKeywordSearch",
|
|
4092
|
+
"cssProperties": [
|
|
4093
|
+
{
|
|
4094
|
+
"description": "The height of the host element.",
|
|
4095
|
+
"name": "--host-height"
|
|
4096
|
+
},
|
|
4097
|
+
{
|
|
4098
|
+
"description": "The height of the input's label element.",
|
|
4099
|
+
"name": "--label-height"
|
|
4100
|
+
}
|
|
4101
|
+
],
|
|
4102
|
+
"cssParts": [
|
|
4103
|
+
{
|
|
4104
|
+
"description": "A `search` element, the component's base.",
|
|
4105
|
+
"name": "base"
|
|
4106
|
+
},
|
|
4107
|
+
{
|
|
4108
|
+
"description": "An `input` element used for searching.",
|
|
4109
|
+
"name": "combobox"
|
|
4110
|
+
},
|
|
4111
|
+
{
|
|
4112
|
+
"description": "A `button` used for toggling the listbox's visibility.",
|
|
4113
|
+
"name": "button"
|
|
4114
|
+
},
|
|
4115
|
+
{
|
|
4116
|
+
"description": "A `ul` that holds the clickable options.",
|
|
4117
|
+
"name": "listbox"
|
|
4118
|
+
}
|
|
4119
|
+
],
|
|
4152
4120
|
"members": [
|
|
4153
4121
|
{
|
|
4154
4122
|
"kind": "field",
|
|
@@ -4157,342 +4125,286 @@
|
|
|
4157
4125
|
"text": "object"
|
|
4158
4126
|
},
|
|
4159
4127
|
"static": true,
|
|
4160
|
-
"default": "{\n 'terra-
|
|
4128
|
+
"default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n }"
|
|
4161
4129
|
},
|
|
4162
4130
|
{
|
|
4163
4131
|
"kind": "field",
|
|
4164
|
-
"name": "
|
|
4165
|
-
"privacy": "private",
|
|
4132
|
+
"name": "shadowRootOptions",
|
|
4166
4133
|
"type": {
|
|
4167
|
-
"text": "
|
|
4168
|
-
}
|
|
4134
|
+
"text": "object"
|
|
4135
|
+
},
|
|
4136
|
+
"static": true,
|
|
4137
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
4169
4138
|
},
|
|
4170
4139
|
{
|
|
4171
4140
|
"kind": "field",
|
|
4172
|
-
"name": "
|
|
4141
|
+
"name": "tagName",
|
|
4173
4142
|
"type": {
|
|
4174
|
-
"text": "string
|
|
4143
|
+
"text": "string"
|
|
4175
4144
|
},
|
|
4176
|
-
"
|
|
4177
|
-
"
|
|
4178
|
-
"reflects": true
|
|
4145
|
+
"static": true,
|
|
4146
|
+
"default": "'terra-variable-keyword-search'"
|
|
4179
4147
|
},
|
|
4180
4148
|
{
|
|
4181
4149
|
"kind": "field",
|
|
4182
|
-
"name": "
|
|
4150
|
+
"name": "initialQuery",
|
|
4183
4151
|
"type": {
|
|
4184
|
-
"text": "string
|
|
4152
|
+
"text": "string"
|
|
4185
4153
|
},
|
|
4186
|
-
"
|
|
4187
|
-
"
|
|
4188
|
-
"reflects": true
|
|
4154
|
+
"static": true,
|
|
4155
|
+
"default": "''"
|
|
4189
4156
|
},
|
|
4190
4157
|
{
|
|
4191
4158
|
"kind": "field",
|
|
4192
|
-
"name": "
|
|
4159
|
+
"name": "#combobox",
|
|
4160
|
+
"privacy": "private",
|
|
4193
4161
|
"type": {
|
|
4194
|
-
"text": "
|
|
4162
|
+
"text": "HTMLInputElement | null"
|
|
4195
4163
|
},
|
|
4196
|
-
"
|
|
4197
|
-
"attribute": "variable",
|
|
4198
|
-
"reflects": true
|
|
4164
|
+
"default": "null"
|
|
4199
4165
|
},
|
|
4200
4166
|
{
|
|
4201
4167
|
"kind": "field",
|
|
4202
|
-
"name": "
|
|
4168
|
+
"name": "#fetchController",
|
|
4169
|
+
"privacy": "private",
|
|
4170
|
+
"default": "new FetchController(this)"
|
|
4171
|
+
},
|
|
4172
|
+
{
|
|
4173
|
+
"kind": "field",
|
|
4174
|
+
"name": "#listbox",
|
|
4175
|
+
"privacy": "private",
|
|
4203
4176
|
"type": {
|
|
4204
|
-
"text": "
|
|
4177
|
+
"text": "HTMLUListElement | null"
|
|
4205
4178
|
},
|
|
4206
|
-
"
|
|
4207
|
-
"attribute": "start-date",
|
|
4208
|
-
"reflects": true
|
|
4179
|
+
"default": "null"
|
|
4209
4180
|
},
|
|
4210
4181
|
{
|
|
4211
4182
|
"kind": "field",
|
|
4212
|
-
"name": "
|
|
4183
|
+
"name": "#searchEngine",
|
|
4184
|
+
"privacy": "private",
|
|
4213
4185
|
"type": {
|
|
4214
|
-
"text": "
|
|
4186
|
+
"text": "Fuse<ListItem> | null"
|
|
4215
4187
|
},
|
|
4216
|
-
"
|
|
4217
|
-
"attribute": "end-date",
|
|
4218
|
-
"reflects": true
|
|
4188
|
+
"default": "null"
|
|
4219
4189
|
},
|
|
4220
4190
|
{
|
|
4221
4191
|
"kind": "field",
|
|
4222
|
-
"name": "
|
|
4192
|
+
"name": "#walker",
|
|
4193
|
+
"privacy": "private",
|
|
4223
4194
|
"type": {
|
|
4224
|
-
"text": "
|
|
4195
|
+
"text": "TreeWalker | null"
|
|
4225
4196
|
},
|
|
4226
|
-
"
|
|
4227
|
-
"attribute": "location",
|
|
4228
|
-
"reflects": true
|
|
4197
|
+
"default": "null"
|
|
4229
4198
|
},
|
|
4230
4199
|
{
|
|
4231
4200
|
"kind": "field",
|
|
4232
|
-
"name": "
|
|
4201
|
+
"name": "label",
|
|
4233
4202
|
"type": {
|
|
4234
4203
|
"text": "string"
|
|
4235
4204
|
},
|
|
4236
|
-
"
|
|
4237
|
-
"
|
|
4205
|
+
"default": "'Enter search terms (e.g., precipitation, AOD)'",
|
|
4206
|
+
"description": "Label the combobox with this.",
|
|
4207
|
+
"attribute": "label"
|
|
4238
4208
|
},
|
|
4239
4209
|
{
|
|
4240
4210
|
"kind": "field",
|
|
4241
|
-
"name": "
|
|
4211
|
+
"name": "placeholder",
|
|
4242
4212
|
"type": {
|
|
4243
|
-
"text": "
|
|
4244
|
-
}
|
|
4213
|
+
"text": "string"
|
|
4214
|
+
},
|
|
4215
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
4216
|
+
"attribute": "placeholder"
|
|
4245
4217
|
},
|
|
4246
4218
|
{
|
|
4247
4219
|
"kind": "field",
|
|
4248
|
-
"name": "
|
|
4220
|
+
"name": "hideLabel",
|
|
4249
4221
|
"type": {
|
|
4250
|
-
"text": "
|
|
4251
|
-
}
|
|
4222
|
+
"text": "boolean"
|
|
4223
|
+
},
|
|
4224
|
+
"default": "true",
|
|
4225
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
4226
|
+
"attribute": "hide-label"
|
|
4252
4227
|
},
|
|
4253
4228
|
{
|
|
4254
4229
|
"kind": "field",
|
|
4255
|
-
"name": "
|
|
4230
|
+
"name": "searchConfig",
|
|
4256
4231
|
"type": {
|
|
4257
|
-
"text": "
|
|
4258
|
-
}
|
|
4232
|
+
"text": "object"
|
|
4233
|
+
},
|
|
4234
|
+
"default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
|
|
4235
|
+
"description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
|
|
4236
|
+
"attribute": "searchConfig"
|
|
4259
4237
|
},
|
|
4260
4238
|
{
|
|
4261
4239
|
"kind": "field",
|
|
4262
|
-
"name": "
|
|
4240
|
+
"name": "value",
|
|
4263
4241
|
"type": {
|
|
4264
|
-
"text": "
|
|
4242
|
+
"text": "string"
|
|
4265
4243
|
},
|
|
4266
|
-
"
|
|
4267
|
-
"description": "if true, we'll show a warning to the user about them requesting a large number of data points"
|
|
4244
|
+
"attribute": "value"
|
|
4268
4245
|
},
|
|
4269
4246
|
{
|
|
4270
4247
|
"kind": "field",
|
|
4271
|
-
"name": "
|
|
4248
|
+
"name": "isExpanded",
|
|
4272
4249
|
"type": {
|
|
4273
|
-
"text": "
|
|
4250
|
+
"text": "boolean"
|
|
4274
4251
|
},
|
|
4275
|
-
"default": "
|
|
4276
|
-
"description": "stores the estimated"
|
|
4252
|
+
"default": "false"
|
|
4277
4253
|
},
|
|
4278
4254
|
{
|
|
4279
4255
|
"kind": "field",
|
|
4280
|
-
"name": "
|
|
4256
|
+
"name": "query"
|
|
4257
|
+
},
|
|
4258
|
+
{
|
|
4259
|
+
"kind": "field",
|
|
4260
|
+
"name": "searchResults",
|
|
4281
4261
|
"type": {
|
|
4282
|
-
"text": "
|
|
4262
|
+
"text": "ListItem[]"
|
|
4283
4263
|
},
|
|
4284
|
-
"default": "
|
|
4264
|
+
"default": "[]"
|
|
4285
4265
|
},
|
|
4286
4266
|
{
|
|
4287
4267
|
"kind": "method",
|
|
4288
|
-
"name": "
|
|
4268
|
+
"name": "valueChanged",
|
|
4289
4269
|
"parameters": [
|
|
4290
4270
|
{
|
|
4291
4271
|
"name": "_oldValue",
|
|
4292
4272
|
"type": {
|
|
4293
|
-
"text": "
|
|
4273
|
+
"text": "string"
|
|
4294
4274
|
}
|
|
4295
4275
|
},
|
|
4296
4276
|
{
|
|
4297
4277
|
"name": "newValue",
|
|
4298
4278
|
"type": {
|
|
4299
|
-
"text": "
|
|
4279
|
+
"text": "string"
|
|
4300
4280
|
}
|
|
4301
4281
|
}
|
|
4302
4282
|
]
|
|
4303
4283
|
},
|
|
4304
4284
|
{
|
|
4305
|
-
"kind": "
|
|
4306
|
-
"name": "
|
|
4307
|
-
"privacy": "private",
|
|
4308
|
-
"default": "new GiovanniVariableCatalog()"
|
|
4285
|
+
"kind": "method",
|
|
4286
|
+
"name": "clear"
|
|
4309
4287
|
},
|
|
4310
4288
|
{
|
|
4311
|
-
"kind": "
|
|
4312
|
-
"name": "
|
|
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 })"
|
|
4289
|
+
"kind": "method",
|
|
4290
|
+
"name": "close"
|
|
4315
4291
|
},
|
|
4316
4292
|
{
|
|
4317
4293
|
"kind": "method",
|
|
4318
|
-
"name": "
|
|
4294
|
+
"name": "toggle"
|
|
4319
4295
|
},
|
|
4320
4296
|
{
|
|
4321
|
-
"kind": "
|
|
4322
|
-
"name": "#
|
|
4297
|
+
"kind": "field",
|
|
4298
|
+
"name": "#handleComboboxChange",
|
|
4299
|
+
"privacy": "private"
|
|
4323
4300
|
},
|
|
4324
4301
|
{
|
|
4325
|
-
"kind": "
|
|
4326
|
-
"name": "#
|
|
4327
|
-
"
|
|
4302
|
+
"kind": "field",
|
|
4303
|
+
"name": "#handleOptionClick",
|
|
4304
|
+
"privacy": "private"
|
|
4328
4305
|
},
|
|
4329
4306
|
{
|
|
4330
|
-
"kind": "
|
|
4331
|
-
"name": "#
|
|
4332
|
-
"
|
|
4333
|
-
{
|
|
4334
|
-
"name": "_event",
|
|
4335
|
-
"type": {
|
|
4336
|
-
"text": "Event"
|
|
4337
|
-
}
|
|
4338
|
-
}
|
|
4339
|
-
]
|
|
4307
|
+
"kind": "field",
|
|
4308
|
+
"name": "#handleKeydown",
|
|
4309
|
+
"privacy": "private"
|
|
4340
4310
|
},
|
|
4341
4311
|
{
|
|
4342
|
-
"kind": "
|
|
4343
|
-
"name": "#
|
|
4344
|
-
"
|
|
4345
|
-
"type": {
|
|
4346
|
-
"text": "string"
|
|
4347
|
-
}
|
|
4348
|
-
},
|
|
4349
|
-
"parameters": [
|
|
4350
|
-
{
|
|
4351
|
-
"name": "data",
|
|
4352
|
-
"type": {
|
|
4353
|
-
"text": "any[]"
|
|
4354
|
-
}
|
|
4355
|
-
}
|
|
4356
|
-
]
|
|
4312
|
+
"kind": "field",
|
|
4313
|
+
"name": "#manageListboxVisibility",
|
|
4314
|
+
"privacy": "private"
|
|
4357
4315
|
},
|
|
4358
4316
|
{
|
|
4359
|
-
"kind": "
|
|
4360
|
-
"name": "#
|
|
4361
|
-
"
|
|
4362
|
-
{
|
|
4363
|
-
"name": "_event",
|
|
4364
|
-
"type": {
|
|
4365
|
-
"text": "Event"
|
|
4366
|
-
}
|
|
4367
|
-
}
|
|
4368
|
-
]
|
|
4317
|
+
"kind": "field",
|
|
4318
|
+
"name": "#selectOption",
|
|
4319
|
+
"privacy": "private"
|
|
4369
4320
|
},
|
|
4370
4321
|
{
|
|
4371
4322
|
"kind": "method",
|
|
4372
|
-
"name": "#
|
|
4323
|
+
"name": "#handleSearch",
|
|
4373
4324
|
"parameters": [
|
|
4374
4325
|
{
|
|
4375
|
-
"name": "
|
|
4326
|
+
"name": "query",
|
|
4376
4327
|
"type": {
|
|
4377
|
-
"text": "
|
|
4328
|
+
"text": "string"
|
|
4378
4329
|
}
|
|
4379
4330
|
}
|
|
4380
4331
|
]
|
|
4381
4332
|
},
|
|
4382
4333
|
{
|
|
4383
4334
|
"kind": "method",
|
|
4384
|
-
"name": "#
|
|
4385
|
-
},
|
|
4386
|
-
{
|
|
4387
|
-
"kind": "method",
|
|
4388
|
-
"name": "#getVariableEntryId"
|
|
4389
|
-
},
|
|
4390
|
-
{
|
|
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"
|
|
4335
|
+
"name": "#clearSearch"
|
|
4413
4336
|
}
|
|
4414
4337
|
],
|
|
4415
4338
|
"events": [
|
|
4416
4339
|
{
|
|
4417
|
-
"description": "Emitted
|
|
4418
|
-
"name": "terra-
|
|
4419
|
-
"reactName": "
|
|
4420
|
-
"eventName": "
|
|
4340
|
+
"description": "Emitted when an option is selected.",
|
|
4341
|
+
"name": "terra-variable-keyword-search-change",
|
|
4342
|
+
"reactName": "onTerraVariableKeywordSearchChange",
|
|
4343
|
+
"eventName": "TerraVariableKeywordSearchChangeEvent"
|
|
4344
|
+
},
|
|
4345
|
+
{
|
|
4346
|
+
"description": "Emitted when the component is triggering a search (like a form triggering submit).",
|
|
4347
|
+
"name": "terra-search",
|
|
4348
|
+
"reactName": "onTerraSearch",
|
|
4349
|
+
"eventName": "TerraSearchEvent"
|
|
4421
4350
|
}
|
|
4422
4351
|
],
|
|
4423
4352
|
"attributes": [
|
|
4424
4353
|
{
|
|
4425
|
-
"name": "
|
|
4426
|
-
"type": {
|
|
4427
|
-
"text": "string | undefined"
|
|
4428
|
-
},
|
|
4429
|
-
"description": "a variable entry ID (ex: GPM_3IMERGHH_06_precipitationCal)",
|
|
4430
|
-
"fieldName": "variableEntryId"
|
|
4431
|
-
},
|
|
4432
|
-
{
|
|
4433
|
-
"name": "collection",
|
|
4434
|
-
"type": {
|
|
4435
|
-
"text": "string | undefined"
|
|
4436
|
-
},
|
|
4437
|
-
"description": "a collection entry id (ex: GPM_3IMERGHH_06)\nonly required if you don't include a variableEntryId",
|
|
4438
|
-
"fieldName": "collection"
|
|
4439
|
-
},
|
|
4440
|
-
{
|
|
4441
|
-
"name": "variable",
|
|
4354
|
+
"name": "label",
|
|
4442
4355
|
"type": {
|
|
4443
|
-
"text": "string
|
|
4356
|
+
"text": "string"
|
|
4444
4357
|
},
|
|
4445
|
-
"
|
|
4446
|
-
"
|
|
4358
|
+
"default": "'Enter search terms (e.g., precipitation, AOD)'",
|
|
4359
|
+
"description": "Label the combobox with this.",
|
|
4360
|
+
"fieldName": "label"
|
|
4447
4361
|
},
|
|
4448
4362
|
{
|
|
4449
|
-
"name": "
|
|
4363
|
+
"name": "placeholder",
|
|
4450
4364
|
"type": {
|
|
4451
|
-
"text": "string
|
|
4365
|
+
"text": "string"
|
|
4452
4366
|
},
|
|
4453
|
-
"description": "
|
|
4454
|
-
"fieldName": "
|
|
4367
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
4368
|
+
"fieldName": "placeholder"
|
|
4455
4369
|
},
|
|
4456
4370
|
{
|
|
4457
|
-
"name": "
|
|
4371
|
+
"name": "hide-label",
|
|
4458
4372
|
"type": {
|
|
4459
|
-
"text": "
|
|
4373
|
+
"text": "boolean"
|
|
4460
4374
|
},
|
|
4461
|
-
"
|
|
4462
|
-
"
|
|
4375
|
+
"default": "true",
|
|
4376
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
4377
|
+
"fieldName": "hideLabel"
|
|
4463
4378
|
},
|
|
4464
4379
|
{
|
|
4465
|
-
"name": "
|
|
4380
|
+
"name": "searchConfig",
|
|
4466
4381
|
"type": {
|
|
4467
|
-
"text": "
|
|
4382
|
+
"text": "object"
|
|
4468
4383
|
},
|
|
4469
|
-
"
|
|
4470
|
-
"
|
|
4384
|
+
"default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
|
|
4385
|
+
"description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
|
|
4386
|
+
"fieldName": "searchConfig"
|
|
4471
4387
|
},
|
|
4472
4388
|
{
|
|
4473
|
-
"name": "
|
|
4389
|
+
"name": "value",
|
|
4474
4390
|
"type": {
|
|
4475
4391
|
"text": "string"
|
|
4476
4392
|
},
|
|
4477
|
-
"
|
|
4478
|
-
"fieldName": "bearerToken"
|
|
4393
|
+
"fieldName": "value"
|
|
4479
4394
|
}
|
|
4480
4395
|
],
|
|
4481
4396
|
"superclass": {
|
|
4482
4397
|
"name": "TerraElement",
|
|
4483
4398
|
"module": "/src/internal/terra-element.js"
|
|
4484
4399
|
},
|
|
4485
|
-
"summary": "
|
|
4486
|
-
"tagNameWithoutPrefix": "
|
|
4487
|
-
"tagName": "terra-
|
|
4400
|
+
"summary": "Fuzzy-search for dataset keywords in combobox with list autocomplete.",
|
|
4401
|
+
"tagNameWithoutPrefix": "variable-keyword-search",
|
|
4402
|
+
"tagName": "terra-variable-keyword-search",
|
|
4488
4403
|
"customElement": true,
|
|
4489
|
-
"jsDoc": "/**\n * @summary
|
|
4490
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
4491
|
-
"status": "
|
|
4492
|
-
"since": "1.0"
|
|
4493
|
-
"dependencies": [
|
|
4494
|
-
"terra-plot"
|
|
4495
|
-
]
|
|
4404
|
+
"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 */",
|
|
4405
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/giovanni-serch",
|
|
4406
|
+
"status": "MVP",
|
|
4407
|
+
"since": "1.0"
|
|
4496
4408
|
}
|
|
4497
4409
|
],
|
|
4498
4410
|
"exports": [
|
|
@@ -4500,25 +4412,29 @@
|
|
|
4500
4412
|
"kind": "js",
|
|
4501
4413
|
"name": "default",
|
|
4502
4414
|
"declaration": {
|
|
4503
|
-
"name": "
|
|
4504
|
-
"module": "components/
|
|
4415
|
+
"name": "TerraVariableKeywordSearch",
|
|
4416
|
+
"module": "components/variable-keyword-search/variable-keyword-search.js"
|
|
4505
4417
|
}
|
|
4506
4418
|
}
|
|
4507
4419
|
]
|
|
4508
4420
|
},
|
|
4509
4421
|
{
|
|
4510
4422
|
"kind": "javascript-module",
|
|
4511
|
-
"path": "components/variable-
|
|
4423
|
+
"path": "components/variable-combobox/variable-combobox.js",
|
|
4512
4424
|
"declarations": [
|
|
4513
4425
|
{
|
|
4514
4426
|
"kind": "class",
|
|
4515
4427
|
"description": "",
|
|
4516
|
-
"name": "
|
|
4428
|
+
"name": "TerraVariableCombobox",
|
|
4517
4429
|
"cssProperties": [
|
|
4518
4430
|
{
|
|
4519
4431
|
"description": "The height of the host element.",
|
|
4520
4432
|
"name": "--host-height"
|
|
4521
4433
|
},
|
|
4434
|
+
{
|
|
4435
|
+
"description": "The height of the search help element.",
|
|
4436
|
+
"name": "--help-height"
|
|
4437
|
+
},
|
|
4522
4438
|
{
|
|
4523
4439
|
"description": "The height of the input's label element.",
|
|
4524
4440
|
"name": "--label-height"
|
|
@@ -4568,7 +4484,7 @@
|
|
|
4568
4484
|
"text": "string"
|
|
4569
4485
|
},
|
|
4570
4486
|
"static": true,
|
|
4571
|
-
"default": "'terra-variable-
|
|
4487
|
+
"default": "'terra-variable-combobox'"
|
|
4572
4488
|
},
|
|
4573
4489
|
{
|
|
4574
4490
|
"kind": "field",
|
|
@@ -4592,7 +4508,18 @@
|
|
|
4592
4508
|
"kind": "field",
|
|
4593
4509
|
"name": "#fetchController",
|
|
4594
4510
|
"privacy": "private",
|
|
4595
|
-
"
|
|
4511
|
+
"type": {
|
|
4512
|
+
"text": "FetchController"
|
|
4513
|
+
}
|
|
4514
|
+
},
|
|
4515
|
+
{
|
|
4516
|
+
"kind": "field",
|
|
4517
|
+
"name": "#searchableList",
|
|
4518
|
+
"privacy": "private",
|
|
4519
|
+
"type": {
|
|
4520
|
+
"text": "ListItem[]"
|
|
4521
|
+
},
|
|
4522
|
+
"default": "[]"
|
|
4596
4523
|
},
|
|
4597
4524
|
{
|
|
4598
4525
|
"kind": "field",
|
|
@@ -4621,13 +4548,22 @@
|
|
|
4621
4548
|
},
|
|
4622
4549
|
"default": "null"
|
|
4623
4550
|
},
|
|
4551
|
+
{
|
|
4552
|
+
"kind": "field",
|
|
4553
|
+
"name": "#tagContainer",
|
|
4554
|
+
"privacy": "private",
|
|
4555
|
+
"type": {
|
|
4556
|
+
"text": "HTMLDivElement | null"
|
|
4557
|
+
},
|
|
4558
|
+
"default": "null"
|
|
4559
|
+
},
|
|
4624
4560
|
{
|
|
4625
4561
|
"kind": "field",
|
|
4626
4562
|
"name": "label",
|
|
4627
4563
|
"type": {
|
|
4628
4564
|
"text": "string"
|
|
4629
4565
|
},
|
|
4630
|
-
"default": "'
|
|
4566
|
+
"default": "'Search for Variables'",
|
|
4631
4567
|
"description": "Label the combobox with this.",
|
|
4632
4568
|
"attribute": "label"
|
|
4633
4569
|
},
|
|
@@ -4640,25 +4576,38 @@
|
|
|
4640
4576
|
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
4641
4577
|
"attribute": "placeholder"
|
|
4642
4578
|
},
|
|
4579
|
+
{
|
|
4580
|
+
"kind": "field",
|
|
4581
|
+
"name": "hideHelp",
|
|
4582
|
+
"type": {
|
|
4583
|
+
"text": "boolean"
|
|
4584
|
+
},
|
|
4585
|
+
"default": "false",
|
|
4586
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
4587
|
+
"attribute": "hide-help",
|
|
4588
|
+
"reflects": true
|
|
4589
|
+
},
|
|
4643
4590
|
{
|
|
4644
4591
|
"kind": "field",
|
|
4645
4592
|
"name": "hideLabel",
|
|
4646
4593
|
"type": {
|
|
4647
4594
|
"text": "boolean"
|
|
4648
4595
|
},
|
|
4649
|
-
"default": "
|
|
4596
|
+
"default": "false",
|
|
4650
4597
|
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
4651
|
-
"attribute": "hide-label"
|
|
4598
|
+
"attribute": "hide-label",
|
|
4599
|
+
"reflects": true
|
|
4652
4600
|
},
|
|
4653
4601
|
{
|
|
4654
4602
|
"kind": "field",
|
|
4655
|
-
"name": "
|
|
4603
|
+
"name": "useTags",
|
|
4656
4604
|
"type": {
|
|
4657
|
-
"text": "
|
|
4605
|
+
"text": "boolean"
|
|
4658
4606
|
},
|
|
4659
|
-
"default": "
|
|
4660
|
-
"description": "
|
|
4661
|
-
"attribute": "
|
|
4607
|
+
"default": "false",
|
|
4608
|
+
"description": "Determines if the variable combobox uses tags or plain text to display the query.",
|
|
4609
|
+
"attribute": "use-tags",
|
|
4610
|
+
"reflects": true
|
|
4662
4611
|
},
|
|
4663
4612
|
{
|
|
4664
4613
|
"kind": "field",
|
|
@@ -4666,8 +4615,18 @@
|
|
|
4666
4615
|
"type": {
|
|
4667
4616
|
"text": "string"
|
|
4668
4617
|
},
|
|
4618
|
+
"description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
|
|
4669
4619
|
"attribute": "value"
|
|
4670
4620
|
},
|
|
4621
|
+
{
|
|
4622
|
+
"kind": "field",
|
|
4623
|
+
"name": "bearerToken",
|
|
4624
|
+
"type": {
|
|
4625
|
+
"text": "string"
|
|
4626
|
+
},
|
|
4627
|
+
"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).",
|
|
4628
|
+
"attribute": "bearer-token"
|
|
4629
|
+
},
|
|
4671
4630
|
{
|
|
4672
4631
|
"kind": "field",
|
|
4673
4632
|
"name": "isExpanded",
|
|
@@ -4688,12 +4647,28 @@
|
|
|
4688
4647
|
},
|
|
4689
4648
|
"default": "[]"
|
|
4690
4649
|
},
|
|
4650
|
+
{
|
|
4651
|
+
"kind": "field",
|
|
4652
|
+
"name": "tags",
|
|
4653
|
+
"type": {
|
|
4654
|
+
"text": "string[]"
|
|
4655
|
+
},
|
|
4656
|
+
"default": "[]"
|
|
4657
|
+
},
|
|
4658
|
+
{
|
|
4659
|
+
"kind": "field",
|
|
4660
|
+
"name": "tagContainerWidth",
|
|
4661
|
+
"type": {
|
|
4662
|
+
"text": "number"
|
|
4663
|
+
},
|
|
4664
|
+
"default": "0"
|
|
4665
|
+
},
|
|
4691
4666
|
{
|
|
4692
4667
|
"kind": "method",
|
|
4693
4668
|
"name": "valueChanged",
|
|
4694
4669
|
"parameters": [
|
|
4695
4670
|
{
|
|
4696
|
-
"name": "
|
|
4671
|
+
"name": "oldValue",
|
|
4697
4672
|
"type": {
|
|
4698
4673
|
"text": "string"
|
|
4699
4674
|
}
|
|
@@ -4704,7 +4679,8 @@
|
|
|
4704
4679
|
"text": "string"
|
|
4705
4680
|
}
|
|
4706
4681
|
}
|
|
4707
|
-
]
|
|
4682
|
+
],
|
|
4683
|
+
"description": "This component's value is read by other components.\nInternally, the variable metdata has slight differences that require adapting."
|
|
4708
4684
|
},
|
|
4709
4685
|
{
|
|
4710
4686
|
"kind": "method",
|
|
@@ -4718,6 +4694,16 @@
|
|
|
4718
4694
|
"kind": "method",
|
|
4719
4695
|
"name": "toggle"
|
|
4720
4696
|
},
|
|
4697
|
+
{
|
|
4698
|
+
"kind": "field",
|
|
4699
|
+
"name": "#dispatchChange",
|
|
4700
|
+
"privacy": "private"
|
|
4701
|
+
},
|
|
4702
|
+
{
|
|
4703
|
+
"kind": "field",
|
|
4704
|
+
"name": "#handleButtonClick",
|
|
4705
|
+
"privacy": "private"
|
|
4706
|
+
},
|
|
4721
4707
|
{
|
|
4722
4708
|
"kind": "field",
|
|
4723
4709
|
"name": "#handleComboboxChange",
|
|
@@ -4745,33 +4731,29 @@
|
|
|
4745
4731
|
},
|
|
4746
4732
|
{
|
|
4747
4733
|
"kind": "method",
|
|
4748
|
-
"name": "#
|
|
4734
|
+
"name": "#renderTags",
|
|
4749
4735
|
"parameters": [
|
|
4750
4736
|
{
|
|
4751
|
-
"name": "
|
|
4737
|
+
"name": "tag",
|
|
4752
4738
|
"type": {
|
|
4753
4739
|
"text": "string"
|
|
4754
4740
|
}
|
|
4741
|
+
},
|
|
4742
|
+
{
|
|
4743
|
+
"name": "_index",
|
|
4744
|
+
"type": {
|
|
4745
|
+
"text": "number"
|
|
4746
|
+
}
|
|
4755
4747
|
}
|
|
4756
4748
|
]
|
|
4757
|
-
},
|
|
4758
|
-
{
|
|
4759
|
-
"kind": "method",
|
|
4760
|
-
"name": "#clearSearch"
|
|
4761
4749
|
}
|
|
4762
4750
|
],
|
|
4763
4751
|
"events": [
|
|
4764
4752
|
{
|
|
4765
4753
|
"description": "Emitted when an option is selected.",
|
|
4766
|
-
"name": "terra-
|
|
4767
|
-
"reactName": "
|
|
4768
|
-
"eventName": "
|
|
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"
|
|
4754
|
+
"name": "terra-combobox-change",
|
|
4755
|
+
"reactName": "onTerraComboboxChange",
|
|
4756
|
+
"eventName": "TerraComboboxChangeEvent"
|
|
4775
4757
|
}
|
|
4776
4758
|
],
|
|
4777
4759
|
"attributes": [
|
|
@@ -4780,7 +4762,7 @@
|
|
|
4780
4762
|
"type": {
|
|
4781
4763
|
"text": "string"
|
|
4782
4764
|
},
|
|
4783
|
-
"default": "'
|
|
4765
|
+
"default": "'Search for Variables'",
|
|
4784
4766
|
"description": "Label the combobox with this.",
|
|
4785
4767
|
"fieldName": "label"
|
|
4786
4768
|
},
|
|
@@ -4792,42 +4774,60 @@
|
|
|
4792
4774
|
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
4793
4775
|
"fieldName": "placeholder"
|
|
4794
4776
|
},
|
|
4777
|
+
{
|
|
4778
|
+
"name": "hide-help",
|
|
4779
|
+
"type": {
|
|
4780
|
+
"text": "boolean"
|
|
4781
|
+
},
|
|
4782
|
+
"default": "false",
|
|
4783
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
4784
|
+
"fieldName": "hideHelp"
|
|
4785
|
+
},
|
|
4795
4786
|
{
|
|
4796
4787
|
"name": "hide-label",
|
|
4797
4788
|
"type": {
|
|
4798
4789
|
"text": "boolean"
|
|
4799
4790
|
},
|
|
4800
|
-
"default": "
|
|
4791
|
+
"default": "false",
|
|
4801
4792
|
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
4802
4793
|
"fieldName": "hideLabel"
|
|
4803
4794
|
},
|
|
4804
4795
|
{
|
|
4805
|
-
"name": "
|
|
4796
|
+
"name": "use-tags",
|
|
4806
4797
|
"type": {
|
|
4807
|
-
"text": "
|
|
4798
|
+
"text": "boolean"
|
|
4808
4799
|
},
|
|
4809
|
-
"default": "
|
|
4810
|
-
"description": "
|
|
4811
|
-
"fieldName": "
|
|
4800
|
+
"default": "false",
|
|
4801
|
+
"description": "Determines if the variable combobox uses tags or plain text to display the query.",
|
|
4802
|
+
"fieldName": "useTags"
|
|
4812
4803
|
},
|
|
4813
4804
|
{
|
|
4814
4805
|
"name": "value",
|
|
4815
4806
|
"type": {
|
|
4816
4807
|
"text": "string"
|
|
4817
4808
|
},
|
|
4809
|
+
"description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
|
|
4818
4810
|
"fieldName": "value"
|
|
4811
|
+
},
|
|
4812
|
+
{
|
|
4813
|
+
"name": "bearer-token",
|
|
4814
|
+
"type": {
|
|
4815
|
+
"text": "string"
|
|
4816
|
+
},
|
|
4817
|
+
"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).",
|
|
4818
|
+
"fieldName": "bearerToken"
|
|
4819
4819
|
}
|
|
4820
4820
|
],
|
|
4821
4821
|
"superclass": {
|
|
4822
4822
|
"name": "TerraElement",
|
|
4823
4823
|
"module": "/src/internal/terra-element.js"
|
|
4824
4824
|
},
|
|
4825
|
-
"summary": "Fuzzy-search for dataset
|
|
4826
|
-
"tagNameWithoutPrefix": "variable-
|
|
4827
|
-
"tagName": "terra-variable-
|
|
4825
|
+
"summary": "Fuzzy-search for dataset variables in combobox with list autocomplete.",
|
|
4826
|
+
"tagNameWithoutPrefix": "variable-combobox",
|
|
4827
|
+
"tagName": "terra-variable-combobox",
|
|
4828
4828
|
"customElement": true,
|
|
4829
|
-
"jsDoc": "/**\n * @summary Fuzzy-search for dataset
|
|
4830
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
4829
|
+
"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 */",
|
|
4830
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/variable-combobox",
|
|
4831
4831
|
"status": "MVP",
|
|
4832
4832
|
"since": "1.0"
|
|
4833
4833
|
}
|
|
@@ -4837,8 +4837,8 @@
|
|
|
4837
4837
|
"kind": "js",
|
|
4838
4838
|
"name": "default",
|
|
4839
4839
|
"declaration": {
|
|
4840
|
-
"name": "
|
|
4841
|
-
"module": "components/variable-
|
|
4840
|
+
"name": "TerraVariableCombobox",
|
|
4841
|
+
"module": "components/variable-combobox/variable-combobox.js"
|
|
4842
4842
|
}
|
|
4843
4843
|
}
|
|
4844
4844
|
]
|
|
@@ -4847,7 +4847,7 @@
|
|
|
4847
4847
|
"package": {
|
|
4848
4848
|
"name": "@nasa-terra/components",
|
|
4849
4849
|
"description": "A collection of NASA Earthdata components",
|
|
4850
|
-
"version": "0.0.
|
|
4850
|
+
"version": "0.0.46",
|
|
4851
4851
|
"author": "NASA GES DISC <https://disc.gsfc.nasa.gov>",
|
|
4852
4852
|
"homepage": "https://github.com/gesdisc/components",
|
|
4853
4853
|
"license": "MIT"
|