@nasa-terra/components 0.0.63 → 0.0.65
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.EMWMMMAM.js → chunk.23GAIRRD.js} +1 -1
- package/cdn/chunks/{chunk.E3U5WMEC.js → chunk.23YT7VH3.js} +1 -1
- package/cdn/chunks/{chunk.C37EOONU.js → chunk.2ERB2FZJ.js} +1 -1
- package/cdn/chunks/{chunk.XBUKV4PL.js → chunk.2UIKXGCO.js} +13 -1
- package/cdn/chunks/{chunk.MLQTKEOU.js → chunk.3FVCBUU5.js} +1 -1
- package/cdn/chunks/{chunk.LZSKCTIU.js → chunk.3SQ33WJL.js} +6 -6
- package/cdn/chunks/{chunk.QTXUVEZ6.js → chunk.3SRLYD5E.js} +1 -1
- package/cdn/chunks/{chunk.BVUV4BRD.js → chunk.3XSRI7D6.js} +1 -1
- package/cdn/chunks/{chunk.KSSMNIXU.js → chunk.4H5D5LNS.js} +1 -1
- package/cdn/chunks/{chunk.LPP5UYKA.js → chunk.4VLRV7TA.js} +3 -3
- package/cdn/chunks/{chunk.2OSE5USS.js → chunk.4ZEPFSRR.js} +1 -1
- package/cdn/chunks/{chunk.RZAYZ5CG.js → chunk.5JLTH2LZ.js} +27 -2
- package/cdn/chunks/{chunk.YJV2CB6J.js → chunk.5TJGINB5.js} +1 -1
- package/cdn/chunks/{chunk.VPJ3RWMH.js → chunk.6EEM6UIO.js} +1 -1
- package/cdn/chunks/{chunk.4JAK7DMV.js → chunk.77W4E4VM.js} +7 -4
- package/cdn/chunks/{chunk.5SYTJEQ5.js → chunk.7BCZRW6T.js} +1 -1
- package/cdn/chunks/{chunk.MH5JS2GP.js → chunk.7KPRKFPH.js} +1 -1
- package/cdn/chunks/{chunk.DM3VIPQI.js → chunk.7TF5BL2A.js} +7 -7
- package/cdn/chunks/{chunk.O3OTPJW5.js → chunk.AOREFFRM.js} +1 -1
- package/cdn/chunks/{chunk.4IW2ACWY.js → chunk.C7NEKS3B.js} +2 -2
- package/cdn/chunks/{chunk.IA4OVO6W.js → chunk.DS2TUYJH.js} +1 -1
- package/cdn/chunks/{chunk.SSB3SIB4.js → chunk.E357X2E5.js} +1 -1
- package/cdn/chunks/{chunk.22DVIRSW.js → chunk.E4Y3ZGGY.js} +1 -1
- package/cdn/chunks/{chunk.MFRZUWBM.js → chunk.E7F2QQDE.js} +1 -1
- package/cdn/chunks/{chunk.DCTD747F.js → chunk.EGIKXAEJ.js} +2 -2
- package/cdn/chunks/{chunk.H66DHE62.js → chunk.ETEUHDG4.js} +1 -1
- package/cdn/chunks/{chunk.HTYIBTM5.js → chunk.EY3Y2MKZ.js} +1 -1
- package/cdn/chunks/{chunk.WX2VNPHQ.js → chunk.FK35YOPT.js} +2 -2
- package/cdn/chunks/{chunk.4K5J5VBI.js → chunk.FYLYLIDU.js} +8 -8
- package/cdn/chunks/{chunk.R7GZ7X6A.js → chunk.G24V5TLW.js} +1 -1
- package/cdn/chunks/{chunk.NPSNSHLT.js → chunk.HMLTTIBQ.js} +1 -1
- package/cdn/chunks/{chunk.7GBQEWVK.js → chunk.IPSMZA3Y.js} +4 -4
- package/cdn/chunks/{chunk.5QIMPBOI.js → chunk.JCQIEOOL.js} +1 -1
- package/cdn/chunks/{chunk.CNKZ46WT.js → chunk.JY5D7TM7.js} +1 -1
- package/cdn/chunks/{chunk.PEYTSPUQ.js → chunk.LLPDZTE6.js} +1 -1
- package/cdn/chunks/{chunk.QDG4POCM.js → chunk.LXQL7H3Z.js} +1 -1
- package/cdn/chunks/{chunk.M26YYT7Q.js → chunk.MHNGCUSQ.js} +1 -1
- package/cdn/chunks/{chunk.RROXLGRY.js → chunk.MUDFTA3K.js} +10 -10
- package/cdn/chunks/{chunk.HMS35ZFE.js → chunk.MUYS3VLW.js} +1 -1
- package/cdn/chunks/{chunk.GZDS5VE4.js → chunk.NM4KGKQG.js} +9 -9
- package/cdn/chunks/{chunk.L6A3MX6M.js → chunk.NOHN7ZHK.js} +1 -1
- package/cdn/chunks/{chunk.RY4ZS3E5.js → chunk.OMLDFSTP.js} +8 -8
- package/cdn/chunks/{chunk.ASDVG6ZI.js → chunk.P6Z62GLD.js} +2 -2
- package/cdn/chunks/{chunk.Y6ERTCCJ.js → chunk.PDR3XIUD.js} +6 -0
- package/cdn/chunks/{chunk.IAVIA55D.js → chunk.PI4LM4FQ.js} +1 -1
- package/cdn/chunks/{chunk.L3GGJBV6.js → chunk.QECLAEDS.js} +7 -7
- package/cdn/chunks/{chunk.SNX22ZUB.js → chunk.QOZ4FUY6.js} +1 -1
- package/cdn/chunks/{chunk.DHVLQGDF.js → chunk.SDNJ6Y7P.js} +1 -1
- package/cdn/chunks/{chunk.UPPN2BJD.js → chunk.SHPI4DBO.js} +1 -1
- package/cdn/chunks/{chunk.VA2DJOCU.js → chunk.T6ZRPLEM.js} +20 -5
- package/cdn/chunks/{chunk.V732TK5F.js → chunk.TCPWXBQQ.js} +5 -5
- package/cdn/chunks/{chunk.FEPS7FE6.js → chunk.VJD6555T.js} +14 -9
- package/cdn/chunks/{chunk.TZ27CWAV.js → chunk.VYOUAAH7.js} +41 -3
- package/cdn/chunks/{chunk.EJTR4SHJ.js → chunk.WABCYOTD.js} +1 -1
- package/cdn/chunks/{chunk.MQXVUS5F.js → chunk.WBIDCSOL.js} +1 -1
- package/cdn/chunks/{chunk.KVZYCETT.js → chunk.X3VZXLR7.js} +1 -1
- package/cdn/chunks/{chunk.T2JGMK2I.js → chunk.X5N7C225.js} +1 -1
- package/cdn/chunks/{chunk.TU7POBNP.js → chunk.XR5EZIHP.js} +1 -1
- package/cdn/chunks/{chunk.LHZZXITG.js → chunk.XULBJSSM.js} +1 -1
- package/cdn/chunks/{chunk.ZLMXPZHX.js → chunk.YDWFGZNL.js} +5 -5
- package/cdn/chunks/{chunk.OI3IKRHO.js → chunk.YMUOWBFO.js} +19 -14
- package/cdn/chunks/{chunk.BYKT2EGD.js → chunk.YPQISKX3.js} +14 -14
- package/cdn/chunks/{chunk.SQJ2KJ53.js → chunk.ZBCDTERI.js} +12 -12
- package/cdn/components/accordion/accordion.component.js +4 -4
- package/cdn/components/accordion/accordion.js +5 -5
- package/cdn/components/alert/alert.component.js +3 -3
- package/cdn/components/alert/alert.js +4 -4
- package/cdn/components/browse-variables/browse-variables.component.d.ts +1 -0
- package/cdn/components/browse-variables/browse-variables.component.js +19 -20
- package/cdn/components/browse-variables/browse-variables.controller.js +3 -4
- package/cdn/components/browse-variables/browse-variables.js +20 -21
- 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 +6 -6
- package/cdn/components/combobox/combobox.js +7 -7
- package/cdn/components/data-rods/data-rods.component.js +35 -36
- package/cdn/components/data-rods/data-rods.js +36 -37
- package/cdn/components/data-subsetter/data-subsetter.component.js +27 -28
- package/cdn/components/data-subsetter/data-subsetter.controller.js +2 -3
- package/cdn/components/data-subsetter/data-subsetter.js +28 -29
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +29 -30
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +30 -31
- package/cdn/components/date-picker/date-picker.component.js +3 -3
- package/cdn/components/date-picker/date-picker.js +4 -4
- package/cdn/components/date-range-slider/date-range-slider.component.js +4 -5
- package/cdn/components/date-range-slider/date-range-slider.js +5 -6
- 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 +12 -12
- package/cdn/components/login/login.js +13 -13
- package/cdn/components/map/leaflet-utils.js +1 -1
- package/cdn/components/map/map.component.js +8 -7
- package/cdn/components/map/map.js +9 -8
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +1 -0
- package/cdn/components/plot-toolbar/plot-toolbar.component.js +8 -8
- package/cdn/components/plot-toolbar/plot-toolbar.js +9 -9
- package/cdn/components/skeleton/skeleton.component.js +6 -6
- package/cdn/components/skeleton/skeleton.js +7 -7
- package/cdn/components/spatial-picker/spatial-picker.component.d.ts +1 -0
- package/cdn/components/spatial-picker/spatial-picker.component.js +10 -10
- package/cdn/components/spatial-picker/spatial-picker.js +11 -11
- package/cdn/components/spatial-picker/spatial-picker.styles.js +1 -1
- package/cdn/components/time-average-map/time-average-map.component.js +14 -15
- package/cdn/components/time-average-map/time-average-map.controller.js +3 -3
- package/cdn/components/time-average-map/time-average-map.js +15 -16
- package/cdn/components/time-series/time-series.component.d.ts +1 -0
- package/cdn/components/time-series/time-series.component.js +18 -19
- package/cdn/components/time-series/time-series.controller.js +3 -4
- package/cdn/components/time-series/time-series.js +19 -20
- package/cdn/components/variable-combobox/lib.js +3 -3
- package/cdn/components/variable-combobox/variable-combobox.component.js +14 -14
- package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
- package/cdn/components/variable-combobox/variable-combobox.js +15 -15
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +14 -15
- package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +3 -4
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +15 -16
- package/cdn/custom-elements.json +1342 -1307
- package/cdn/events/events.d.ts +1 -0
- package/cdn/events/terra-time-average-map-data-change.d.ts +15 -0
- package/cdn/react/index.d.ts +6 -6
- package/cdn/terra-ui-components.js +102 -103
- package/cdn/types/vue/index.d.ts +192 -186
- package/cdn/utilities/animation.js +4 -4
- package/cdn/utilities/date.js +1 -2
- package/cdn/vscode.html-custom-data.json +147 -146
- package/cdn/web-types.json +206 -196
- package/dist/chunks/{chunk.XS6RC2OD.js → chunk.2YWLPWOH.js} +20 -5
- package/dist/chunks/{chunk.NRHBJXFN.js → chunk.3C6XAHHX.js} +3 -3
- package/dist/chunks/{chunk.NAA57UPM.js → chunk.3JF5C2G5.js} +1 -1
- package/dist/chunks/{chunk.UK6REENS.js → chunk.3M5MSIZB.js} +1 -1
- package/dist/chunks/{chunk.7SC4FDZN.js → chunk.3SFIQYFQ.js} +1 -1
- package/dist/chunks/{chunk.SQVBCWKL.js → chunk.3XTTMUZJ.js} +1 -1
- package/dist/chunks/{chunk.7VB66VZ7.js → chunk.3ZWIYMDC.js} +8 -8
- package/dist/chunks/{chunk.KBQJ4D62.js → chunk.4AZAH4LW.js} +6 -3
- package/dist/chunks/{chunk.CQ6QANEC.js → chunk.4NF2KOIM.js} +1 -1
- package/dist/chunks/{chunk.2NH3CZZZ.js → chunk.6HUNVCKY.js} +26 -1
- package/dist/chunks/{chunk.GHLTJYR4.js → chunk.6K4POAM7.js} +1 -1
- package/dist/chunks/{chunk.AQOGDZ4T.js → chunk.7RT5CEB6.js} +6 -0
- package/dist/chunks/{chunk.PMFGHKD2.js → chunk.BEZFGWIZ.js} +6 -6
- package/dist/chunks/{chunk.VKDQZEQL.js → chunk.CZJTVJPC.js} +4 -4
- package/dist/chunks/{chunk.SIDRHQTB.js → chunk.DZWV4IM5.js} +7 -7
- package/dist/chunks/{chunk.EBJMNY5T.js → chunk.F5LAVH73.js} +1 -1
- package/dist/chunks/{chunk.GWQS2AWR.js → chunk.FMYA7ZPR.js} +1 -1
- package/dist/chunks/{chunk.F2OKKGLF.js → chunk.G6WOMVTJ.js} +2 -2
- package/dist/chunks/{chunk.U2R5JB5O.js → chunk.G7J4TFTU.js} +1 -1
- package/dist/chunks/{chunk.GCYVF6CT.js → chunk.HFYTJDZ2.js} +7 -7
- package/dist/chunks/{chunk.SMJTK25M.js → chunk.HM25M7E4.js} +14 -9
- package/dist/chunks/{chunk.6JCZMTUS.js → chunk.I432IVWZ.js} +1 -1
- package/dist/chunks/{chunk.7ZMNC2EP.js → chunk.IDHJPLBH.js} +1 -1
- package/dist/chunks/{chunk.GJVQB4BQ.js → chunk.IED6LPIF.js} +1 -1
- package/dist/chunks/{chunk.4JBTWS4S.js → chunk.JEC6LGA6.js} +1 -1
- package/dist/chunks/{chunk.7TIXKERN.js → chunk.JKS7PEVF.js} +1 -1
- package/dist/chunks/{chunk.QKCMDBKR.js → chunk.JLLXYZ5M.js} +1 -1
- package/dist/chunks/{chunk.4Y3U4UUC.js → chunk.K36FUM7O.js} +12 -0
- package/dist/chunks/{chunk.33A7COJE.js → chunk.K4ETWAVK.js} +1 -1
- package/dist/chunks/{chunk.US6MRVQM.js → chunk.ME7XUVJJ.js} +1 -1
- package/dist/chunks/{chunk.UWIX5KQU.js → chunk.MYYMNVQO.js} +11 -11
- package/dist/chunks/{chunk.RUGT5ALL.js → chunk.NAOMBLUK.js} +1 -1
- package/dist/chunks/{chunk.USQFNMWY.js → chunk.NI3XJVYH.js} +1 -1
- package/dist/chunks/{chunk.C4BEFLFC.js → chunk.O4AP7N2Q.js} +1 -1
- package/dist/chunks/{chunk.DG3AKJA5.js → chunk.OCUMFXRD.js} +1 -1
- package/dist/chunks/{chunk.7DZ3HM3P.js → chunk.POAU27Y4.js} +1 -1
- package/dist/chunks/{chunk.FIBIMNRL.js → chunk.POFUNMXD.js} +1 -1
- package/dist/chunks/{chunk.5ZJEHBPS.js → chunk.PSYZ5FUZ.js} +1 -1
- package/dist/chunks/{chunk.33K563J6.js → chunk.PZRTGUNT.js} +1 -1
- package/dist/chunks/{chunk.YKP2DA36.js → chunk.QU2MMH2N.js} +1 -1
- package/dist/chunks/{chunk.XGEV5XZS.js → chunk.QXJXYDCV.js} +1 -1
- package/dist/chunks/{chunk.JI5K6CEP.js → chunk.RXK4P7V6.js} +5 -5
- package/dist/chunks/{chunk.B4D2PPM4.js → chunk.SDRHJGKR.js} +1 -1
- package/dist/chunks/{chunk.O2C2SVB7.js → chunk.SSFUEPYG.js} +1 -1
- package/dist/chunks/{chunk.ZY3XITMC.js → chunk.STGG57OG.js} +1 -1
- package/dist/chunks/{chunk.4PNLU545.js → chunk.TKGFOROJ.js} +1 -1
- package/dist/chunks/{chunk.AOSD27P6.js → chunk.TVHRM3IC.js} +1 -1
- package/dist/chunks/{chunk.5DSWC3KO.js → chunk.UHK7ATZH.js} +1 -1
- package/dist/chunks/{chunk.DLWC7HMO.js → chunk.WFF7SRV6.js} +1 -1
- package/dist/chunks/{chunk.QOTILAAM.js → chunk.WWMUBDIA.js} +13 -13
- package/dist/chunks/{chunk.3I3EQO4P.js → chunk.XFYOJIAC.js} +1 -1
- package/dist/chunks/{chunk.IAA33R4X.js → chunk.XPEGNLOR.js} +2 -2
- package/dist/chunks/{chunk.JG4TFF7B.js → chunk.YNFVFK4N.js} +15 -10
- package/dist/chunks/{chunk.JL6YLQX2.js → chunk.ZLHUO2CY.js} +5 -5
- package/dist/components/accordion/accordion.component.js +4 -4
- package/dist/components/accordion/accordion.js +5 -5
- package/dist/components/alert/alert.component.js +3 -3
- package/dist/components/alert/alert.js +4 -4
- package/dist/components/browse-variables/browse-variables.component.d.ts +1 -0
- package/dist/components/browse-variables/browse-variables.component.js +12 -12
- package/dist/components/browse-variables/browse-variables.controller.js +1 -1
- package/dist/components/browse-variables/browse-variables.js +13 -13
- 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 +24 -24
- package/dist/components/data-rods/data-rods.js +25 -25
- package/dist/components/data-subsetter/data-subsetter.component.js +23 -23
- package/dist/components/data-subsetter/data-subsetter.js +24 -24
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +25 -25
- package/dist/components/data-subsetter-history/data-subsetter-history.js +26 -26
- package/dist/components/date-picker/date-picker.component.js +3 -3
- package/dist/components/date-picker/date-picker.js +4 -4
- package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
- package/dist/components/date-range-slider/date-range-slider.js +3 -3
- package/dist/components/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 +10 -10
- package/dist/components/login/login.js +11 -11
- package/dist/components/map/leaflet-utils.js +1 -1
- package/dist/components/map/map.component.js +6 -5
- package/dist/components/map/map.js +7 -6
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +1 -0
- package/dist/components/plot-toolbar/plot-toolbar.component.js +5 -5
- package/dist/components/plot-toolbar/plot-toolbar.js +6 -6
- 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.d.ts +1 -0
- package/dist/components/spatial-picker/spatial-picker.component.js +8 -8
- package/dist/components/spatial-picker/spatial-picker.js +9 -9
- package/dist/components/spatial-picker/spatial-picker.styles.js +1 -1
- package/dist/components/time-average-map/time-average-map.component.js +8 -8
- package/dist/components/time-average-map/time-average-map.controller.js +2 -1
- package/dist/components/time-average-map/time-average-map.js +9 -9
- package/dist/components/time-series/time-series.component.d.ts +1 -0
- package/dist/components/time-series/time-series.component.js +11 -11
- package/dist/components/time-series/time-series.js +12 -12
- package/dist/components/variable-combobox/variable-combobox.component.js +7 -7
- package/dist/components/variable-combobox/variable-combobox.js +8 -8
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +8 -8
- package/dist/components/variable-keyword-search/variable-keyword-search.js +9 -9
- package/dist/custom-elements.json +1342 -1307
- package/dist/events/events.d.ts +1 -0
- package/dist/events/terra-time-average-map-data-change.d.ts +15 -0
- package/dist/react/index.d.ts +6 -6
- package/dist/terra-ui-components.js +90 -90
- package/dist/{terra_ui_components-0.0.63-py3-none-any.whl → terra_ui_components-0.0.65-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.63.tar.gz → terra_ui_components-0.0.65.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +192 -186
- package/dist/vscode.html-custom-data.json +147 -146
- package/dist/web-types.json +206 -196
- package/package.json +1 -1
- package/cdn/chunks/chunk.GL52MTKN.js +0 -47
- package/cdn/chunks/{chunk.EMLDT66I.js → chunk.EDY6YM3Y.js} +4 -4
- package/cdn/chunks/{chunk.SU2EH44I.js → chunk.NFS2RDEX.js} +5 -5
- package/cdn/chunks/{chunk.VPW32Q52.js → chunk.QFJLPXXJ.js} +3 -3
package/cdn/web-types.json
CHANGED
|
@@ -1,34 +1,189 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@nasa-terra/components",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.65",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
|
-
"name": "terra-
|
|
11
|
-
"description": "
|
|
10
|
+
"name": "terra-accordion",
|
|
11
|
+
"description": "A collapsible content panel for showing and hiding content.\n---\n\n\n### **Events:**\n - **terra-accordion-toggle** - emitted when the accordion opens or closes\n\n### **Slots:**\n - _default_ - The default slot for accordion content.\n- **summary** - The summary/header for the accordion (optional, overrides summary property)",
|
|
12
12
|
"doc-url": "",
|
|
13
13
|
"attributes": [
|
|
14
14
|
{
|
|
15
|
-
"name": "
|
|
16
|
-
"description": "
|
|
17
|
-
"value": { "type": "
|
|
15
|
+
"name": "summary",
|
|
16
|
+
"description": "The summary/header for the accordion. Use the property for simple text, or the slot for custom content.",
|
|
17
|
+
"value": { "type": "string" }
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "open",
|
|
21
|
+
"description": "Whether the accordion is open or not. This property is reflected as an attribute and can be controlled programmatically or by user interaction.",
|
|
22
|
+
"value": { "type": "boolean", "default": "false" }
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "showArrow",
|
|
26
|
+
"value": { "type": "boolean", "default": "true" }
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"slots": [
|
|
30
|
+
{
|
|
31
|
+
"name": "",
|
|
32
|
+
"description": "The default slot for accordion content."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "summary",
|
|
36
|
+
"description": "The summary/header for the accordion (optional, overrides summary property)"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"events": [
|
|
40
|
+
{
|
|
41
|
+
"name": "terra-accordion-toggle",
|
|
42
|
+
"description": "emitted when the accordion opens or closes"
|
|
18
43
|
}
|
|
19
44
|
],
|
|
20
|
-
"events": [],
|
|
21
45
|
"js": {
|
|
22
46
|
"properties": [
|
|
23
47
|
{
|
|
24
|
-
"name": "
|
|
25
|
-
"description": "
|
|
26
|
-
"type": "
|
|
48
|
+
"name": "summary",
|
|
49
|
+
"description": "The summary/header for the accordion. Use the property for simple text, or the slot for custom content.",
|
|
50
|
+
"type": "string"
|
|
27
51
|
},
|
|
28
|
-
{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
52
|
+
{
|
|
53
|
+
"name": "open",
|
|
54
|
+
"description": "Whether the accordion is open or not. This property is reflected as an attribute and can be controlled programmatically or by user interaction.",
|
|
55
|
+
"type": "boolean"
|
|
56
|
+
},
|
|
57
|
+
{ "name": "showArrow", "type": "boolean" }
|
|
58
|
+
],
|
|
59
|
+
"events": [
|
|
60
|
+
{
|
|
61
|
+
"name": "terra-accordion-toggle",
|
|
62
|
+
"description": "emitted when the accordion opens or closes"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "terra-alert",
|
|
69
|
+
"description": "Alerts are used to display important messages inline or as toast notifications.\n---\n\n\n### **Events:**\n - **terra-show** - Emitted when the alert opens.\n- **terra-after-show** - Emitted after the alert opens and all animations are complete.\n- **terra-hide** - Emitted when the alert closes.\n- **terra-after-hide** - Emitted after the alert closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the alert.\n- **hide()** - Hides the alert\n- **toast()** - Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\ncalling this method again. The returned promise will resolve after the alert is hidden.\n\n### **Slots:**\n - _default_ - The alert's main content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the optional icon.\n- **message** - The container that wraps the alert's main content.",
|
|
70
|
+
"doc-url": "",
|
|
71
|
+
"attributes": [
|
|
72
|
+
{
|
|
73
|
+
"name": "open",
|
|
74
|
+
"description": "Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the alert's open state.",
|
|
75
|
+
"value": { "type": "boolean", "default": "false" }
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "closable",
|
|
79
|
+
"description": "Enables a close button that allows the user to dismiss the alert.",
|
|
80
|
+
"value": { "type": "boolean", "default": "false" }
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "variant",
|
|
84
|
+
"description": "The alert's theme variant.",
|
|
85
|
+
"value": {
|
|
86
|
+
"type": "| 'primary'\n | 'success'\n | 'neutral'\n | 'warning'\n | 'danger'",
|
|
87
|
+
"default": "'primary'"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "duration",
|
|
92
|
+
"description": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with\nthe alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe alert will not close on its own.",
|
|
93
|
+
"value": { "type": "string", "default": "Infinity" }
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "countdown",
|
|
97
|
+
"description": "Enables a countdown that indicates the remaining time the alert will be displayed.\nTypically used to indicate the remaining time before a whole app refresh.",
|
|
98
|
+
"value": { "type": "'rtl' | 'ltr' | undefined" }
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"slots": [{ "name": "", "description": "The alert's main content." }],
|
|
102
|
+
"events": [
|
|
103
|
+
{
|
|
104
|
+
"name": "terra-show",
|
|
105
|
+
"description": "Emitted when the alert opens."
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "terra-after-show",
|
|
109
|
+
"description": "Emitted after the alert opens and all animations are complete."
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "terra-hide",
|
|
113
|
+
"description": "Emitted when the alert closes."
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "terra-after-hide",
|
|
117
|
+
"description": "Emitted after the alert closes and all animations are complete."
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"js": {
|
|
121
|
+
"properties": [
|
|
122
|
+
{ "name": "base", "type": "HTMLElement" },
|
|
123
|
+
{ "name": "countdownElement", "type": "HTMLElement" },
|
|
124
|
+
{
|
|
125
|
+
"name": "open",
|
|
126
|
+
"description": "Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the alert's open state.",
|
|
127
|
+
"type": "boolean"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "closable",
|
|
131
|
+
"description": "Enables a close button that allows the user to dismiss the alert.",
|
|
132
|
+
"type": "boolean"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "variant",
|
|
136
|
+
"description": "The alert's theme variant.",
|
|
137
|
+
"type": "| 'primary'\n | 'success'\n | 'neutral'\n | 'warning'\n | 'danger'"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "duration",
|
|
141
|
+
"description": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with\nthe alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe alert will not close on its own."
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "countdown",
|
|
145
|
+
"description": "Enables a countdown that indicates the remaining time the alert will be displayed.\nTypically used to indicate the remaining time before a whole app refresh.",
|
|
146
|
+
"type": "'rtl' | 'ltr' | undefined"
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"events": [
|
|
150
|
+
{
|
|
151
|
+
"name": "terra-show",
|
|
152
|
+
"description": "Emitted when the alert opens."
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "terra-after-show",
|
|
156
|
+
"description": "Emitted after the alert opens and all animations are complete."
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "terra-hide",
|
|
160
|
+
"description": "Emitted when the alert closes."
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "terra-after-hide",
|
|
164
|
+
"description": "Emitted after the alert closes and all animations are complete."
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "terra-chip",
|
|
171
|
+
"description": "Used for contacts and tags\n---\n\n\n### **Slots:**\n - _default_ - The chip's label.",
|
|
172
|
+
"doc-url": "",
|
|
173
|
+
"attributes": [
|
|
174
|
+
{
|
|
175
|
+
"name": "size",
|
|
176
|
+
"value": {
|
|
177
|
+
"type": "'small' | 'medium' | 'large'",
|
|
178
|
+
"default": "'medium'"
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"slots": [{ "name": "", "description": "The chip's label." }],
|
|
183
|
+
"events": [],
|
|
184
|
+
"js": {
|
|
185
|
+
"properties": [
|
|
186
|
+
{ "name": "size", "type": "'small' | 'medium' | 'large'" }
|
|
32
187
|
],
|
|
33
188
|
"events": []
|
|
34
189
|
}
|
|
@@ -310,28 +465,6 @@
|
|
|
310
465
|
"events": []
|
|
311
466
|
}
|
|
312
467
|
},
|
|
313
|
-
{
|
|
314
|
-
"name": "terra-chip",
|
|
315
|
-
"description": "Used for contacts and tags\n---\n\n\n### **Slots:**\n - _default_ - The chip's label.",
|
|
316
|
-
"doc-url": "",
|
|
317
|
-
"attributes": [
|
|
318
|
-
{
|
|
319
|
-
"name": "size",
|
|
320
|
-
"value": {
|
|
321
|
-
"type": "'small' | 'medium' | 'large'",
|
|
322
|
-
"default": "'medium'"
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
],
|
|
326
|
-
"slots": [{ "name": "", "description": "The chip's label." }],
|
|
327
|
-
"events": [],
|
|
328
|
-
"js": {
|
|
329
|
-
"properties": [
|
|
330
|
-
{ "name": "size", "type": "'small' | 'medium' | 'large'" }
|
|
331
|
-
],
|
|
332
|
-
"events": []
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
468
|
{
|
|
336
469
|
"name": "terra-combobox",
|
|
337
470
|
"description": "Fuzzy-search for combobox with list autocomplete.\n---\n\n\n### **CSS Properties:**\n - **--host-height** - The height of the host element. _(default: undefined)_\n- **--help-height** - The height of the search help element. _(default: undefined)_\n- **--label-height** - The height of the input's label element. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - A `search` element, the component's base.\n- **combobox** - An `input` element used for searching.\n- **button** - A `button` used for toggling the listbox's visibility.\n- **listbox** - A `ul` that holds the clickable options.",
|
|
@@ -521,108 +654,6 @@
|
|
|
521
654
|
]
|
|
522
655
|
}
|
|
523
656
|
},
|
|
524
|
-
{
|
|
525
|
-
"name": "terra-alert",
|
|
526
|
-
"description": "Alerts are used to display important messages inline or as toast notifications.\n---\n\n\n### **Events:**\n - **terra-show** - Emitted when the alert opens.\n- **terra-after-show** - Emitted after the alert opens and all animations are complete.\n- **terra-hide** - Emitted when the alert closes.\n- **terra-after-hide** - Emitted after the alert closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the alert.\n- **hide()** - Hides the alert\n- **toast()** - Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\ncalling this method again. The returned promise will resolve after the alert is hidden.\n\n### **Slots:**\n - _default_ - The alert's main content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the optional icon.\n- **message** - The container that wraps the alert's main content.",
|
|
527
|
-
"doc-url": "",
|
|
528
|
-
"attributes": [
|
|
529
|
-
{
|
|
530
|
-
"name": "open",
|
|
531
|
-
"description": "Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the alert's open state.",
|
|
532
|
-
"value": { "type": "boolean", "default": "false" }
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
"name": "closable",
|
|
536
|
-
"description": "Enables a close button that allows the user to dismiss the alert.",
|
|
537
|
-
"value": { "type": "boolean", "default": "false" }
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
"name": "variant",
|
|
541
|
-
"description": "The alert's theme variant.",
|
|
542
|
-
"value": {
|
|
543
|
-
"type": "| 'primary'\n | 'success'\n | 'neutral'\n | 'warning'\n | 'danger'",
|
|
544
|
-
"default": "'primary'"
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"name": "duration",
|
|
549
|
-
"description": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with\nthe alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe alert will not close on its own.",
|
|
550
|
-
"value": { "type": "string", "default": "Infinity" }
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"name": "countdown",
|
|
554
|
-
"description": "Enables a countdown that indicates the remaining time the alert will be displayed.\nTypically used to indicate the remaining time before a whole app refresh.",
|
|
555
|
-
"value": { "type": "'rtl' | 'ltr' | undefined" }
|
|
556
|
-
}
|
|
557
|
-
],
|
|
558
|
-
"slots": [{ "name": "", "description": "The alert's main content." }],
|
|
559
|
-
"events": [
|
|
560
|
-
{
|
|
561
|
-
"name": "terra-show",
|
|
562
|
-
"description": "Emitted when the alert opens."
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
"name": "terra-after-show",
|
|
566
|
-
"description": "Emitted after the alert opens and all animations are complete."
|
|
567
|
-
},
|
|
568
|
-
{
|
|
569
|
-
"name": "terra-hide",
|
|
570
|
-
"description": "Emitted when the alert closes."
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
"name": "terra-after-hide",
|
|
574
|
-
"description": "Emitted after the alert closes and all animations are complete."
|
|
575
|
-
}
|
|
576
|
-
],
|
|
577
|
-
"js": {
|
|
578
|
-
"properties": [
|
|
579
|
-
{ "name": "base", "type": "HTMLElement" },
|
|
580
|
-
{ "name": "countdownElement", "type": "HTMLElement" },
|
|
581
|
-
{
|
|
582
|
-
"name": "open",
|
|
583
|
-
"description": "Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the alert's open state.",
|
|
584
|
-
"type": "boolean"
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
"name": "closable",
|
|
588
|
-
"description": "Enables a close button that allows the user to dismiss the alert.",
|
|
589
|
-
"type": "boolean"
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
"name": "variant",
|
|
593
|
-
"description": "The alert's theme variant.",
|
|
594
|
-
"type": "| 'primary'\n | 'success'\n | 'neutral'\n | 'warning'\n | 'danger'"
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
"name": "duration",
|
|
598
|
-
"description": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with\nthe alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe alert will not close on its own."
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
"name": "countdown",
|
|
602
|
-
"description": "Enables a countdown that indicates the remaining time the alert will be displayed.\nTypically used to indicate the remaining time before a whole app refresh.",
|
|
603
|
-
"type": "'rtl' | 'ltr' | undefined"
|
|
604
|
-
}
|
|
605
|
-
],
|
|
606
|
-
"events": [
|
|
607
|
-
{
|
|
608
|
-
"name": "terra-show",
|
|
609
|
-
"description": "Emitted when the alert opens."
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
"name": "terra-after-show",
|
|
613
|
-
"description": "Emitted after the alert opens and all animations are complete."
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
"name": "terra-hide",
|
|
617
|
-
"description": "Emitted when the alert closes."
|
|
618
|
-
},
|
|
619
|
-
{
|
|
620
|
-
"name": "terra-after-hide",
|
|
621
|
-
"description": "Emitted after the alert closes and all animations are complete."
|
|
622
|
-
}
|
|
623
|
-
]
|
|
624
|
-
}
|
|
625
|
-
},
|
|
626
657
|
{
|
|
627
658
|
"name": "terra-data-subsetter",
|
|
628
659
|
"description": "Easily allow users to select, subset, and download NASA Earth science data collections with spatial, temporal, and variable filters.\n---\n\n\n### **Events:**\n - **terra-subset-job-complete** - called when a subset job enters a final state (e.g. successful, failed, completed_with_errors)",
|
|
@@ -841,6 +872,41 @@
|
|
|
841
872
|
"events": []
|
|
842
873
|
}
|
|
843
874
|
},
|
|
875
|
+
{
|
|
876
|
+
"name": "terra-browse-variables",
|
|
877
|
+
"description": "Browse through the NASA CMR or Giovanni catalogs.\n---\n",
|
|
878
|
+
"doc-url": "",
|
|
879
|
+
"attributes": [
|
|
880
|
+
{
|
|
881
|
+
"name": "catalog",
|
|
882
|
+
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
883
|
+
"value": { "type": "'giovanni'", "default": "'giovanni'" }
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"name": "selected-variable-entry-ids",
|
|
887
|
+
"value": { "type": "string | undefined" }
|
|
888
|
+
}
|
|
889
|
+
],
|
|
890
|
+
"events": [],
|
|
891
|
+
"js": {
|
|
892
|
+
"properties": [
|
|
893
|
+
{
|
|
894
|
+
"name": "catalog",
|
|
895
|
+
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
896
|
+
"type": "'giovanni'"
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"name": "selectedVariableEntryIds",
|
|
900
|
+
"type": "string | undefined"
|
|
901
|
+
},
|
|
902
|
+
{ "name": "searchQuery", "type": "string" },
|
|
903
|
+
{ "name": "selectedFacets", "type": "SelectedFacets" },
|
|
904
|
+
{ "name": "selectedVariables", "type": "Variable[]" },
|
|
905
|
+
{ "name": "showVariablesBrowse", "type": "boolean" }
|
|
906
|
+
],
|
|
907
|
+
"events": []
|
|
908
|
+
}
|
|
909
|
+
},
|
|
844
910
|
{
|
|
845
911
|
"name": "terra-date-range-slider",
|
|
846
912
|
"description": "Short summary of the component's intended use.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -890,64 +956,6 @@
|
|
|
890
956
|
"events": []
|
|
891
957
|
}
|
|
892
958
|
},
|
|
893
|
-
{
|
|
894
|
-
"name": "terra-accordion",
|
|
895
|
-
"description": "A collapsible content panel for showing and hiding content.\n---\n\n\n### **Events:**\n - **terra-accordion-toggle** - emitted when the accordion opens or closes\n\n### **Slots:**\n - _default_ - The default slot for accordion content.\n- **summary** - The summary/header for the accordion (optional, overrides summary property)",
|
|
896
|
-
"doc-url": "",
|
|
897
|
-
"attributes": [
|
|
898
|
-
{
|
|
899
|
-
"name": "summary",
|
|
900
|
-
"description": "The summary/header for the accordion. Use the property for simple text, or the slot for custom content.",
|
|
901
|
-
"value": { "type": "string" }
|
|
902
|
-
},
|
|
903
|
-
{
|
|
904
|
-
"name": "open",
|
|
905
|
-
"description": "Whether the accordion is open or not. This property is reflected as an attribute and can be controlled programmatically or by user interaction.",
|
|
906
|
-
"value": { "type": "boolean", "default": "false" }
|
|
907
|
-
},
|
|
908
|
-
{
|
|
909
|
-
"name": "showArrow",
|
|
910
|
-
"value": { "type": "boolean", "default": "true" }
|
|
911
|
-
}
|
|
912
|
-
],
|
|
913
|
-
"slots": [
|
|
914
|
-
{
|
|
915
|
-
"name": "",
|
|
916
|
-
"description": "The default slot for accordion content."
|
|
917
|
-
},
|
|
918
|
-
{
|
|
919
|
-
"name": "summary",
|
|
920
|
-
"description": "The summary/header for the accordion (optional, overrides summary property)"
|
|
921
|
-
}
|
|
922
|
-
],
|
|
923
|
-
"events": [
|
|
924
|
-
{
|
|
925
|
-
"name": "terra-accordion-toggle",
|
|
926
|
-
"description": "emitted when the accordion opens or closes"
|
|
927
|
-
}
|
|
928
|
-
],
|
|
929
|
-
"js": {
|
|
930
|
-
"properties": [
|
|
931
|
-
{
|
|
932
|
-
"name": "summary",
|
|
933
|
-
"description": "The summary/header for the accordion. Use the property for simple text, or the slot for custom content.",
|
|
934
|
-
"type": "string"
|
|
935
|
-
},
|
|
936
|
-
{
|
|
937
|
-
"name": "open",
|
|
938
|
-
"description": "Whether the accordion is open or not. This property is reflected as an attribute and can be controlled programmatically or by user interaction.",
|
|
939
|
-
"type": "boolean"
|
|
940
|
-
},
|
|
941
|
-
{ "name": "showArrow", "type": "boolean" }
|
|
942
|
-
],
|
|
943
|
-
"events": [
|
|
944
|
-
{
|
|
945
|
-
"name": "terra-accordion-toggle",
|
|
946
|
-
"description": "emitted when the accordion opens or closes"
|
|
947
|
-
}
|
|
948
|
-
]
|
|
949
|
-
}
|
|
950
|
-
},
|
|
951
959
|
{
|
|
952
960
|
"name": "terra-dialog",
|
|
953
961
|
"description": "Used to create both modal and non-modal dialog boxes.\n---\n\n\n### **Events:**\n - **terra-dialog-show** - Emitted when the dialog opens.\n- **terra-dialog-hide** - Emitted when the dialog closes.\n\n### **Slots:**\n - _default_ - The dialog's main content",
|
|
@@ -1544,6 +1552,7 @@
|
|
|
1544
1552
|
"type": "boolean"
|
|
1545
1553
|
},
|
|
1546
1554
|
{ "name": "mapValue", "type": "any" },
|
|
1555
|
+
{ "name": "error", "type": "string" },
|
|
1547
1556
|
{ "name": "spatialInput", "type": "HTMLInputElement" },
|
|
1548
1557
|
{ "name": "map", "type": "TerraMap" }
|
|
1549
1558
|
],
|
|
@@ -1702,6 +1711,7 @@
|
|
|
1702
1711
|
"type": "string | undefined"
|
|
1703
1712
|
},
|
|
1704
1713
|
{ "name": "plot", "type": "TerraPlot" },
|
|
1714
|
+
{ "name": "plotToolbar", "type": "TerraPlotToolbar" },
|
|
1705
1715
|
{ "name": "catalogVariable", "type": "Variable" },
|
|
1706
1716
|
{
|
|
1707
1717
|
"name": "showDataPointWarning",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spatial_picker_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.7RT5CEB6.js";
|
|
4
4
|
import {
|
|
5
5
|
TerraMap
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.WWMUBDIA.js";
|
|
7
7
|
import {
|
|
8
8
|
StringifyBoundingBox,
|
|
9
9
|
parseBoundingBox
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.XPEGNLOR.js";
|
|
11
11
|
import {
|
|
12
12
|
TerraElement,
|
|
13
13
|
component_styles_default
|
|
14
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.XFYOJIAC.js";
|
|
15
15
|
import {
|
|
16
16
|
__decorateClass
|
|
17
17
|
} from "./chunk.TVFCHGU3.js";
|
|
@@ -35,8 +35,15 @@ var TerraSpatialPicker = class extends TerraElement {
|
|
|
35
35
|
this.isExpanded = false;
|
|
36
36
|
this.inline = false;
|
|
37
37
|
this.showMapOnFocus = false;
|
|
38
|
+
this.error = "";
|
|
38
39
|
}
|
|
39
40
|
_blur(e) {
|
|
41
|
+
try {
|
|
42
|
+
this.mapValue = this.spatialInput.value ? parseBoundingBox(this.spatialInput.value) : [];
|
|
43
|
+
this.error = "";
|
|
44
|
+
} catch (error) {
|
|
45
|
+
this.error = error instanceof Error ? error.message : "Invalid spatial area (format: LAT, LNG or LAT, LNG, LAT, LNG)";
|
|
46
|
+
}
|
|
40
47
|
this._emitMapChange();
|
|
41
48
|
const relatedTarget = e.relatedTarget;
|
|
42
49
|
if (!(relatedTarget == null ? void 0 : relatedTarget.closest("terra-map"))) {
|
|
@@ -52,7 +59,11 @@ var TerraSpatialPicker = class extends TerraElement {
|
|
|
52
59
|
this.isExpanded = !this.isExpanded;
|
|
53
60
|
}
|
|
54
61
|
_emitMapChange() {
|
|
55
|
-
|
|
62
|
+
var _a;
|
|
63
|
+
const layer = (_a = this.map) == null ? void 0 : _a.getDrawLayer();
|
|
64
|
+
if (!layer) {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
56
67
|
if ("getLatLng" in layer) {
|
|
57
68
|
this.mapValue = layer.getLatLng();
|
|
58
69
|
this.emit("terra-map-change", {
|
|
@@ -172,6 +183,7 @@ var TerraSpatialPicker = class extends TerraElement {
|
|
|
172
183
|
</svg>
|
|
173
184
|
</terra-button>
|
|
174
185
|
</div>
|
|
186
|
+
${this.error ? html`<div class="spatial-picker__error">${this.error}</div>` : nothing}
|
|
175
187
|
${expanded ? html`<div
|
|
176
188
|
style="${this.inline ? "position: static; width: 100%;" : ""}"
|
|
177
189
|
>
|
|
@@ -237,6 +249,9 @@ __decorateClass([
|
|
|
237
249
|
__decorateClass([
|
|
238
250
|
state()
|
|
239
251
|
], TerraSpatialPicker.prototype, "mapValue", 2);
|
|
252
|
+
__decorateClass([
|
|
253
|
+
state()
|
|
254
|
+
], TerraSpatialPicker.prototype, "error", 2);
|
|
240
255
|
__decorateClass([
|
|
241
256
|
query(".spatial-picker__input")
|
|
242
257
|
], TerraSpatialPicker.prototype, "spatialInput", 2);
|
|
@@ -14,17 +14,17 @@ import {
|
|
|
14
14
|
} from "./chunk.FRSW4UHB.js";
|
|
15
15
|
import {
|
|
16
16
|
icon_default
|
|
17
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.STGG57OG.js";
|
|
18
18
|
import {
|
|
19
19
|
button_default
|
|
20
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.FMYA7ZPR.js";
|
|
21
21
|
import {
|
|
22
22
|
watch
|
|
23
23
|
} from "./chunk.DTUHBE3U.js";
|
|
24
24
|
import {
|
|
25
25
|
TerraElement,
|
|
26
26
|
component_styles_default
|
|
27
|
-
} from "./chunk.
|
|
27
|
+
} from "./chunk.XFYOJIAC.js";
|
|
28
28
|
import {
|
|
29
29
|
__decorateClass,
|
|
30
30
|
__privateAdd,
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
clearSelection,
|
|
3
|
-
renderSearchResult,
|
|
4
|
-
walkToOption
|
|
5
|
-
} from "./chunk.YY65ZHR5.js";
|
|
6
1
|
import {
|
|
7
2
|
FetchController
|
|
8
3
|
} from "./chunk.M54W77XC.js";
|
|
9
4
|
import {
|
|
10
5
|
variable_keyword_search_styles_default
|
|
11
6
|
} from "./chunk.D3DPGMVW.js";
|
|
7
|
+
import {
|
|
8
|
+
clearSelection,
|
|
9
|
+
renderSearchResult,
|
|
10
|
+
walkToOption
|
|
11
|
+
} from "./chunk.YY65ZHR5.js";
|
|
12
12
|
import {
|
|
13
13
|
icon_default
|
|
14
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.STGG57OG.js";
|
|
15
15
|
import {
|
|
16
16
|
button_default
|
|
17
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.FMYA7ZPR.js";
|
|
18
18
|
import {
|
|
19
19
|
watch
|
|
20
20
|
} from "./chunk.DTUHBE3U.js";
|
|
21
21
|
import {
|
|
22
22
|
TerraElement,
|
|
23
23
|
component_styles_default
|
|
24
|
-
} from "./chunk.
|
|
24
|
+
} from "./chunk.XFYOJIAC.js";
|
|
25
25
|
import {
|
|
26
26
|
__decorateClass,
|
|
27
27
|
__privateAdd,
|
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
} from "./chunk.EC75KAKW.js";
|
|
8
8
|
import {
|
|
9
9
|
TerraButton
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.POAU27Y4.js";
|
|
11
11
|
import {
|
|
12
12
|
TerraIcon
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.IDHJPLBH.js";
|
|
14
14
|
import {
|
|
15
15
|
watch
|
|
16
16
|
} from "./chunk.DTUHBE3U.js";
|
|
17
17
|
import {
|
|
18
18
|
TerraElement,
|
|
19
19
|
component_styles_default
|
|
20
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.XFYOJIAC.js";
|
|
21
21
|
import {
|
|
22
22
|
__decorateClass,
|
|
23
23
|
__privateAdd,
|
|
@@ -52,6 +52,9 @@ var TerraPlotToolbar = class extends TerraElement {
|
|
|
52
52
|
}
|
|
53
53
|
this.menu.focus();
|
|
54
54
|
}
|
|
55
|
+
closeMenu() {
|
|
56
|
+
this.activeMenuItem = null;
|
|
57
|
+
}
|
|
55
58
|
render() {
|
|
56
59
|
return cache(
|
|
57
60
|
!this.catalogVariable ? html`<div class="spacer"></div>` : html` <header>
|