@nasa-terra/components 0.0.191 → 0.0.193
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/apis/harmony.api.d.ts +10 -1
- package/cdn/chunks/chunk.23F22BJH.js +303 -0
- package/cdn/chunks/chunk.24B62XIT.js +92 -0
- package/cdn/chunks/chunk.262HZ2PW.js +19 -0
- package/cdn/chunks/chunk.2C4BQS2H.js +186 -0
- package/cdn/chunks/chunk.2LTVK44K.js +19 -0
- package/cdn/chunks/chunk.2MCGNUNV.js +19 -0
- package/cdn/chunks/chunk.2O6SGHAF.js +195 -0
- package/cdn/chunks/chunk.2RJ3FMBS.js +19 -0
- package/cdn/chunks/chunk.2U6ULWZU.js +33 -0
- package/cdn/chunks/chunk.3DMNGIYG.js +538 -0
- package/cdn/chunks/chunk.3GGP5B6G.js +188 -0
- package/cdn/chunks/chunk.3T4UCNK5.js +19 -0
- package/cdn/chunks/chunk.3TBELWQZ.js +134 -0
- package/cdn/chunks/chunk.3WOQXSCF.js +93 -0
- package/cdn/chunks/chunk.3ZA77B25.js +310 -0
- package/cdn/chunks/chunk.42WUI4KL.js +19 -0
- package/cdn/chunks/chunk.44AQ22IH.js +36 -0
- package/cdn/chunks/chunk.47QZ5O4A.js +35 -0
- package/cdn/chunks/chunk.4GSWBELB.js +29 -0
- package/cdn/chunks/chunk.4LPZX7ZP.js +32 -0
- package/cdn/chunks/chunk.4PK6F7TQ.js +19 -0
- package/cdn/chunks/chunk.4PVJJ22O.js +278 -0
- package/cdn/chunks/chunk.5A57ZZLC.js +29 -0
- package/cdn/chunks/chunk.5CYLRJPB.js +19 -0
- package/cdn/chunks/chunk.5EYYSFOL.js +915 -0
- package/cdn/chunks/chunk.5GWWMHJ7.js +539 -0
- package/cdn/chunks/chunk.5PYHV7EH.js +29 -0
- package/cdn/chunks/chunk.5SCR2NWZ.js +19 -0
- package/cdn/chunks/chunk.6KXBCS3L.js +32 -0
- package/cdn/chunks/chunk.6Q6YGONG.js +29 -0
- package/cdn/chunks/chunk.6QCJUKOR.js +904 -0
- package/cdn/chunks/chunk.6XVN6LNG.js +19 -0
- package/cdn/chunks/chunk.6XYUXMUR.js +478 -0
- package/cdn/chunks/chunk.6ZW3X3WH.js +19 -0
- package/cdn/chunks/chunk.77KBVOXZ.js +19 -0
- package/cdn/chunks/chunk.7CMOFBGK.js +35 -0
- package/cdn/chunks/chunk.7DFRD6TL.js +551 -0
- package/cdn/chunks/chunk.7PXLIE6Y.js +41 -0
- package/cdn/chunks/chunk.7WWAPL3E.js +241 -0
- package/cdn/chunks/chunk.A4GKYWCN.js +35 -0
- package/cdn/chunks/chunk.AFLJRQ5L.js +19 -0
- package/cdn/chunks/chunk.AFOQS2TB.js +493 -0
- package/cdn/chunks/chunk.AO5CRLEQ.js +30 -0
- package/cdn/chunks/chunk.AOTSW6PN.js +19 -0
- package/cdn/chunks/chunk.AQNSTYWZ.js +357 -0
- package/cdn/chunks/chunk.ASS72YVP.js +86 -0
- package/cdn/chunks/chunk.ATJWBDLK.js +37 -0
- package/cdn/chunks/chunk.AVBVAXIQ.js +1197 -0
- package/cdn/chunks/chunk.AWAFPU3N.js +1259 -0
- package/cdn/chunks/chunk.B3RMBZYQ.js +19 -0
- package/cdn/chunks/chunk.BC4ZMQCB.js +35 -0
- package/cdn/chunks/chunk.BCZ66TID.js +19 -0
- package/cdn/chunks/chunk.BD3FY2DX.js +945 -0
- package/cdn/chunks/chunk.BJ53T7YS.js +29 -0
- package/cdn/chunks/chunk.BQYY6OOZ.js +36 -0
- package/cdn/chunks/chunk.BSJUFDA5.js +1975 -0
- package/cdn/chunks/chunk.BTDPXFC4.js +19 -0
- package/cdn/chunks/chunk.BW6CO36S.js +36 -0
- package/cdn/chunks/chunk.BW6UHDXQ.js +60 -0
- package/cdn/chunks/chunk.C4PJTDXM.js +224 -0
- package/cdn/chunks/chunk.CACZ53WP.js +49 -0
- package/cdn/chunks/chunk.CAP2S4YD.js +19 -0
- package/cdn/chunks/chunk.CE24RZ52.js +19 -0
- package/cdn/chunks/chunk.CGTVI7DB.js +19 -0
- package/cdn/chunks/chunk.CIASH63X.js +19 -0
- package/cdn/chunks/chunk.CIEQDZYN.js +19 -0
- package/cdn/chunks/chunk.CQER7LGP.js +135 -0
- package/cdn/chunks/chunk.CRW7BLZC.js +19 -0
- package/cdn/chunks/chunk.CSEUC56Z.js +29 -0
- package/cdn/chunks/chunk.CSVBPSJG.js +893 -0
- package/cdn/chunks/chunk.CVX3LVBF.js +32 -0
- package/cdn/chunks/chunk.CXQ4VJHQ.js +29 -0
- package/cdn/chunks/chunk.DMRNFEKK.js +19 -0
- package/cdn/chunks/chunk.DNEV52SA.js +19 -0
- package/cdn/chunks/chunk.DO2XVOUK.js +19 -0
- package/cdn/chunks/chunk.DPSHTZ6P.js +392 -0
- package/cdn/chunks/chunk.EGKK52TT.js +123 -0
- package/cdn/chunks/chunk.ELGWQAWN.js +29 -0
- package/cdn/chunks/chunk.EZQMJQVW.js +29 -0
- package/cdn/chunks/chunk.F36QQKVA.js +155 -0
- package/cdn/chunks/chunk.F55SX2J2.js +47 -0
- package/cdn/chunks/chunk.FIEZKD4M.js +170 -0
- package/cdn/chunks/chunk.FLEVFZIL.js +132 -0
- package/cdn/chunks/chunk.FLXIUURB.js +330 -0
- package/cdn/chunks/chunk.FOXSLM3U.js +138 -0
- package/cdn/chunks/chunk.FUWO4LKV.js +32 -0
- package/cdn/chunks/chunk.FX5L3U44.js +29 -0
- package/cdn/chunks/chunk.FZJL3WN4.js +19 -0
- package/cdn/chunks/chunk.GILBGDM2.js +663 -0
- package/cdn/chunks/chunk.GTRUGE5H.js +19 -0
- package/cdn/chunks/chunk.GUVYSWLT.js +32 -0
- package/cdn/chunks/chunk.H2UK4RZG.js +29 -0
- package/cdn/chunks/chunk.HD56KHLF.js +610 -0
- package/cdn/chunks/chunk.HEFAOEHC.js +230 -0
- package/cdn/chunks/chunk.HH5XFUTY.js +32 -0
- package/cdn/chunks/chunk.HNU53HJR.js +377 -0
- package/cdn/chunks/chunk.HO7ISBZY.js +29 -0
- package/cdn/chunks/chunk.HXJ25X46.js +599 -0
- package/cdn/chunks/chunk.ISO434FT.js +19 -0
- package/cdn/chunks/chunk.ITMZI6KX.js +19 -0
- package/cdn/chunks/chunk.IUF2TCQV.js +19 -0
- package/cdn/chunks/chunk.IUFNCUXD.js +19 -0
- package/cdn/chunks/chunk.IWJ76MKB.js +19 -0
- package/cdn/chunks/chunk.IZ4OPEJL.js +60 -0
- package/cdn/chunks/chunk.J252E7IC.js +56075 -0
- package/cdn/chunks/chunk.J4P5RDYK.js +19 -0
- package/cdn/chunks/chunk.JCC5JYVG.js +196 -0
- package/cdn/chunks/chunk.JNTGTK3Y.js +29 -0
- package/cdn/chunks/chunk.JOIINCST.js +616 -0
- package/cdn/chunks/chunk.JRI3R6Z4.js +658 -0
- package/cdn/chunks/chunk.JRIFL3YL.js +190 -0
- package/cdn/chunks/chunk.JUYFC4YQ.js +62 -0
- package/cdn/chunks/chunk.JZ3DQBSM.js +34 -0
- package/cdn/chunks/chunk.K4MLSCG6.js +29 -0
- package/cdn/chunks/chunk.KCHUWH3B.js +158 -0
- package/cdn/chunks/chunk.KF5FM4UM.js +94 -0
- package/cdn/chunks/chunk.KOGUP64A.js +29 -0
- package/cdn/chunks/chunk.KP25A3GD.js +19 -0
- package/cdn/chunks/chunk.KPRLGL6V.js +294 -0
- package/cdn/chunks/chunk.L5LGMK4B.js +29 -0
- package/cdn/chunks/chunk.LHV7DALC.js +19 -0
- package/cdn/chunks/chunk.LJDDDHCY.js +234 -0
- package/cdn/chunks/chunk.LLZ4T36T.js +276 -0
- package/cdn/chunks/chunk.LQZHP5Q5.js +443 -0
- package/cdn/chunks/chunk.LTERX6XG.js +29 -0
- package/cdn/chunks/chunk.LY225GGQ.js +33 -0
- package/cdn/chunks/chunk.MACHE6S2.js +29 -0
- package/cdn/chunks/chunk.ME5CNTQ6.js +19 -0
- package/cdn/chunks/chunk.MICAEOPF.js +29 -0
- package/cdn/chunks/chunk.MJQUICWQ.js +29 -0
- package/cdn/chunks/chunk.MN4LTLTG.js +259 -0
- package/cdn/chunks/chunk.MOBZATSV.js +68 -0
- package/cdn/chunks/chunk.MQWYVNEP.js +32 -0
- package/cdn/chunks/chunk.MS4CC6YY.js +19 -0
- package/cdn/chunks/chunk.MUGXJ7OD.js +19 -0
- package/cdn/chunks/chunk.MWU5BT2I.js +128 -0
- package/cdn/chunks/chunk.MWWVSDXP.js +293 -0
- package/cdn/chunks/chunk.N2MTELAK.js +19 -0
- package/cdn/chunks/chunk.N3W7SNA2.js +359 -0
- package/cdn/chunks/chunk.NAVESOCY.js +19 -0
- package/cdn/chunks/chunk.NLZDX26M.js +19 -0
- package/cdn/chunks/chunk.NQMVUWEO.js +19 -0
- package/cdn/chunks/chunk.NZ5K67F5.js +32 -0
- package/cdn/chunks/chunk.O4PUDLBX.js +82 -0
- package/cdn/chunks/chunk.O4RVOCXY.js +35 -0
- package/cdn/chunks/chunk.OH7UMU66.js +537 -0
- package/cdn/chunks/chunk.P3Z633U6.js +29 -0
- package/cdn/chunks/chunk.PDO3A7SZ.js +19 -0
- package/cdn/chunks/chunk.PFBJCAEJ.js +29 -0
- package/cdn/chunks/chunk.PJANLDEK.js +19 -0
- package/cdn/chunks/chunk.PJVROMSD.js +29 -0
- package/cdn/chunks/chunk.PLDCR7N5.js +29 -0
- package/cdn/chunks/chunk.PS2PE2TF.js +19 -0
- package/cdn/chunks/chunk.PTK3X5ML.js +9743 -0
- package/cdn/chunks/chunk.PYRLBGCN.js +474 -0
- package/cdn/chunks/chunk.QNAYSEGG.js +19 -0
- package/cdn/chunks/chunk.QT355OPF.js +78 -0
- package/cdn/chunks/chunk.RC2J3PHW.js +29 -0
- package/cdn/chunks/chunk.RCIQ4ROW.js +19 -0
- package/cdn/chunks/chunk.RCMAF3C2.js +36 -0
- package/cdn/chunks/chunk.RD4KWNAE.js +524 -0
- package/cdn/chunks/chunk.RDXA6MDC.js +32 -0
- package/cdn/chunks/chunk.RHY7O2IS.js +110 -0
- package/cdn/chunks/chunk.RIVNZRQK.js +19 -0
- package/cdn/chunks/chunk.RSZW77LZ.js +136 -0
- package/cdn/chunks/chunk.S2OT2J42.js +29 -0
- package/cdn/chunks/chunk.SHOGW7F7.js +19 -0
- package/cdn/chunks/chunk.SHUZWK5L.js +71 -0
- package/cdn/chunks/chunk.SQLQ6EBJ.js +32 -0
- package/cdn/chunks/chunk.T6YUOYL4.js +32 -0
- package/cdn/chunks/chunk.TBVGVLZL.js +19 -0
- package/cdn/chunks/chunk.TDUAL655.js +19 -0
- package/cdn/chunks/chunk.TFYL5E3X.js +33 -0
- package/cdn/chunks/chunk.TICG3KYV.js +19 -0
- package/cdn/chunks/chunk.TJCVSSUM.js +32 -0
- package/cdn/chunks/chunk.TWSGI5KV.js +74 -0
- package/cdn/chunks/chunk.U45Q563O.js +19 -0
- package/cdn/chunks/chunk.UAXYHWAH.js +2546 -0
- package/cdn/chunks/chunk.UCILY7QU.js +113 -0
- package/cdn/chunks/chunk.UTVU3EOT.js +99 -0
- package/cdn/chunks/chunk.UXIPJ35C.js +104 -0
- package/cdn/chunks/chunk.UXZGV7OS.js +19 -0
- package/cdn/chunks/chunk.UZKNIZQQ.js +29 -0
- package/cdn/chunks/chunk.VBF5JP2E.js +19 -0
- package/cdn/chunks/chunk.VEM372CX.js +231 -0
- package/cdn/chunks/chunk.VIJH6FVX.js +19 -0
- package/cdn/chunks/chunk.VIUYJZVN.js +34 -0
- package/cdn/chunks/chunk.VJKTJ73J.js +2690 -0
- package/cdn/chunks/chunk.VK3BR2YG.js +19 -0
- package/cdn/chunks/chunk.VPEEKXD6.js +63 -0
- package/cdn/chunks/chunk.VU4T4F4P.js +39 -0
- package/cdn/chunks/chunk.W5VXUQDQ.js +19 -0
- package/cdn/chunks/chunk.WCROJ64G.js +19 -0
- package/cdn/chunks/chunk.WCZJQNF6.js +19 -0
- package/cdn/chunks/chunk.WQ2HWOXW.js +29 -0
- package/cdn/chunks/chunk.WQXDVT6E.js +151 -0
- package/cdn/chunks/chunk.XB4O6ZSP.js +139 -0
- package/cdn/chunks/chunk.XB5XP6AB.js +83 -0
- package/cdn/chunks/chunk.XIOI4NMY.js +32 -0
- package/cdn/chunks/chunk.XSL6GUNV.js +45 -0
- package/cdn/chunks/chunk.XTPN2WIP.js +29 -0
- package/cdn/chunks/chunk.XWMOTNMD.js +29 -0
- package/cdn/chunks/chunk.Y6ZXBJLT.js +37 -0
- package/cdn/chunks/chunk.YAUBOXKE.js +294 -0
- package/cdn/chunks/chunk.YHWPDVRQ.js +19 -0
- package/cdn/chunks/chunk.YLZNYAVZ.js +19 -0
- package/cdn/chunks/chunk.YO72L3YT.js +34 -0
- package/cdn/chunks/chunk.YWD5NKI4.js +161 -0
- package/cdn/chunks/chunk.Z6WQVHME.js +33 -0
- package/cdn/chunks/chunk.ZC47Q6ZQ.js +266 -0
- package/cdn/chunks/chunk.ZGVYKMM3.js +32 -0
- package/cdn/chunks/chunk.ZV3I4P4N.js +33 -0
- package/cdn/chunks/chunk.ZWCA3BKW.js +68 -0
- package/cdn/chunks/chunk.ZWWJ6B3Q.js +99 -0
- package/cdn/components/accordion/accordion.component.js +3 -3
- package/cdn/components/accordion/accordion.js +4 -4
- package/cdn/components/alert/alert.component.js +2 -2
- package/cdn/components/alert/alert.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/banner/banner.component.js +2 -2
- package/cdn/components/banner/banner.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
- package/cdn/components/breadcrumb/breadcrumb.js +3 -3
- package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
- package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
- package/cdn/components/browse-variables/browse-variables.component.js +15 -15
- package/cdn/components/browse-variables/browse-variables.controller.js +4 -4
- package/cdn/components/browse-variables/browse-variables.js +16 -16
- package/cdn/components/button/button.component.js +3 -3
- package/cdn/components/button/button.js +4 -4
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/caption/caption.component.js +2 -2
- package/cdn/components/caption/caption.js +3 -3
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +3 -3
- package/cdn/components/checkbox/checkbox.js +4 -4
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +2 -2
- package/cdn/components/combobox/combobox.js +3 -3
- package/cdn/components/data-access/data-access.component.js +23 -23
- package/cdn/components/data-access/data-access.js +24 -24
- package/cdn/components/data-grid/data-grid.component.js +3 -3
- package/cdn/components/data-grid/data-grid.js +4 -4
- package/cdn/components/data-rods/data-rods.component.js +34 -34
- package/cdn/components/data-rods/data-rods.js +35 -35
- package/cdn/components/data-subsetter/data-subsetter.component.d.ts +3 -0
- package/cdn/components/data-subsetter/data-subsetter.component.js +34 -33
- package/cdn/components/data-subsetter/data-subsetter.js +35 -34
- package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +35 -34
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +36 -35
- package/cdn/components/date-picker/date-picker.component.d.ts +27 -0
- package/cdn/components/date-picker/date-picker.component.js +7 -7
- package/cdn/components/date-picker/date-picker.js +8 -8
- package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
- package/cdn/components/date-range-slider/date-range-slider.js +3 -3
- package/cdn/components/dialog/dialog.component.js +4 -4
- package/cdn/components/dialog/dialog.js +5 -5
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/dropdown/dropdown.component.js +3 -3
- package/cdn/components/dropdown/dropdown.js +4 -4
- package/cdn/components/earthdata-login/earthdata-login.component.js +10 -10
- package/cdn/components/earthdata-login/earthdata-login.js +11 -11
- package/cdn/components/file-upload/file-upload.component.js +2 -2
- package/cdn/components/file-upload/file-upload.js +3 -3
- package/cdn/components/harmony-history/harmony-history.component.js +10 -9
- package/cdn/components/harmony-history/harmony-history.js +11 -10
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/input/input.component.js +3 -3
- package/cdn/components/input/input.js +4 -4
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +8 -8
- package/cdn/components/login/login.js +9 -9
- package/cdn/components/map/map.component.js +6 -6
- package/cdn/components/map/map.js +7 -7
- package/cdn/components/map/map.service.js +1 -1
- package/cdn/components/map/type.d.ts +2 -0
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +5 -5
- package/cdn/components/menu-item/menu-item.js +6 -6
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/pagination.component.js +3 -3
- package/cdn/components/pagination/pagination.js +4 -4
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
- package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
- package/cdn/components/plot-toolbar/plot-toolbar.component.js +15 -15
- package/cdn/components/plot-toolbar/plot-toolbar.controller.js +3 -3
- package/cdn/components/plot-toolbar/plot-toolbar.js +16 -16
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/radio/radio.component.js +2 -2
- package/cdn/components/radio/radio.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +2 -2
- package/cdn/components/radio-group/radio-group.js +3 -3
- package/cdn/components/scroll-hint/scroll-hint.component.js +3 -3
- package/cdn/components/scroll-hint/scroll-hint.js +4 -4
- package/cdn/components/select/select.component.js +5 -5
- package/cdn/components/select/select.js +6 -6
- package/cdn/components/site-header/site-header.component.js +3 -3
- package/cdn/components/site-header/site-header.js +3 -3
- package/cdn/components/site-navigation/site-navigation.component.js +2 -2
- package/cdn/components/site-navigation/site-navigation.js +2 -2
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/slider/slider.component.js +2 -2
- package/cdn/components/slider/slider.js +3 -3
- package/cdn/components/spatial-picker/spatial-picker.component.d.ts +5 -0
- package/cdn/components/spatial-picker/spatial-picker.component.js +11 -11
- package/cdn/components/spatial-picker/spatial-picker.js +12 -12
- package/cdn/components/status-indicator/status-indicator.component.js +2 -2
- package/cdn/components/status-indicator/status-indicator.js +3 -3
- package/cdn/components/stepper/stepper.component.js +2 -2
- package/cdn/components/stepper/stepper.js +3 -3
- package/cdn/components/stepper-step/stepper-step.component.js +3 -3
- package/cdn/components/stepper-step/stepper-step.js +4 -4
- package/cdn/components/tab/tab.component.js +3 -3
- package/cdn/components/tab/tab.js +4 -4
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/tabs/tabs.component.js +3 -3
- package/cdn/components/tabs/tabs.js +4 -4
- package/cdn/components/tag/tag.component.js +3 -3
- package/cdn/components/tag/tag.js +4 -4
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-average-map/time-average-map.component.js +26 -26
- package/cdn/components/time-average-map/time-average-map.controller.js +10 -10
- package/cdn/components/time-average-map/time-average-map.js +27 -27
- package/cdn/components/time-series/time-series-cache.service.d.ts +6 -0
- package/cdn/components/time-series/time-series-cache.service.js +1 -1
- package/cdn/components/time-series/time-series.component.js +27 -27
- package/cdn/components/time-series/time-series.controller.js +11 -11
- package/cdn/components/time-series/time-series.js +28 -28
- package/cdn/components/toast/toast.component.js +3 -3
- package/cdn/components/toast/toast.js +4 -4
- package/cdn/components/toggle/toggle.component.js +2 -2
- package/cdn/components/toggle/toggle.js +3 -3
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- 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 +10 -10
- package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +4 -4
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +11 -11
- package/cdn/custom-elements.json +1001 -748
- package/cdn/lib/harmony/harmony.request.d.ts +11 -0
- package/cdn/react/accordion/index.js +4 -4
- package/cdn/react/alert/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/banner/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +3 -3
- package/cdn/react/breadcrumbs/index.js +3 -3
- package/cdn/react/browse-variables/index.js +16 -16
- package/cdn/react/button/index.js +4 -4
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/caption/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/checkbox/index.js +4 -4
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +3 -3
- package/cdn/react/data-access/index.js +24 -24
- package/cdn/react/data-grid/index.js +4 -4
- package/cdn/react/data-rods/index.js +35 -35
- package/cdn/react/data-subsetter/index.js +35 -34
- package/cdn/react/data-subsetter-history/index.js +36 -35
- package/cdn/react/date-picker/index.js +8 -8
- package/cdn/react/date-range-slider/index.js +3 -3
- package/cdn/react/dialog/index.js +5 -5
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/earthdata-login/index.js +11 -11
- package/cdn/react/file-upload/index.js +3 -3
- package/cdn/react/harmony-history/index.js +11 -10
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/index.d.ts +3 -3
- package/cdn/react/index.js +159 -159
- package/cdn/react/input/index.js +4 -4
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +9 -9
- package/cdn/react/map/index.js +7 -7
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +6 -6
- package/cdn/react/option/index.js +4 -4
- package/cdn/react/pagination/index.js +4 -4
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/plot-toolbar/index.js +16 -16
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/radio/index.js +3 -3
- package/cdn/react/radio-group/index.js +3 -3
- package/cdn/react/scroll-hint/index.js +4 -4
- package/cdn/react/select/index.js +6 -6
- package/cdn/react/site-header/index.js +4 -4
- package/cdn/react/site-navigation/index.js +3 -3
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/slider/index.js +3 -3
- package/cdn/react/spatial-picker/index.js +12 -12
- package/cdn/react/status-indicator/index.js +3 -3
- package/cdn/react/stepper/index.js +3 -3
- package/cdn/react/stepper-step/index.js +4 -4
- package/cdn/react/tab/index.js +4 -4
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tabs/index.js +4 -4
- package/cdn/react/tag/index.js +4 -4
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/time-average-map/index.js +27 -27
- package/cdn/react/time-series/index.js +28 -28
- package/cdn/react/toast/index.js +4 -4
- package/cdn/react/toggle/index.js +3 -3
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/variable-combobox/index.js +7 -7
- package/cdn/react/variable-keyword-search/index.js +11 -11
- package/cdn/terra-ui-components.js +147 -147
- package/cdn/types/vue/index.d.ts +87 -74
- package/cdn/utilities/harmony.d.ts +11 -0
- package/cdn/utilities/harmony.js +5 -3
- package/cdn/utilities/variable-task.js +3 -3
- package/cdn/vscode.html-custom-data.json +118 -103
- package/cdn/web-types.json +180 -147
- package/dist/apis/harmony.api.d.ts +10 -1
- package/dist/chunks/chunk.2V2ZAAHE.js +1 -0
- package/dist/chunks/chunk.2V5MS7YY.js +1 -0
- package/dist/chunks/chunk.2ZTVRFE7.js +1 -0
- package/dist/chunks/chunk.33ZKKWU3.js +25 -0
- package/dist/chunks/chunk.36EHGABP.js +572 -0
- package/dist/chunks/chunk.3LQIN2JU.js +1 -0
- package/dist/chunks/chunk.3OCVIHWU.js +1 -0
- package/dist/chunks/chunk.3OKIF2KP.js +1 -0
- package/dist/chunks/chunk.3VJXVMKE.js +55 -0
- package/dist/chunks/chunk.45YQHGQZ.js +1 -0
- package/dist/chunks/chunk.4BO4MBK2.js +1 -0
- package/dist/chunks/chunk.4BOK3MZC.js +1 -0
- package/dist/chunks/chunk.4BVODFPK.js +1 -0
- package/dist/chunks/chunk.4CD6OVY4.js +1 -0
- package/dist/chunks/chunk.4DAGIXB2.js +1 -0
- package/dist/chunks/chunk.4DY6HQSZ.js +1 -0
- package/dist/chunks/chunk.4E3RETMA.js +157 -0
- package/dist/chunks/chunk.4G43VCID.js +121 -0
- package/dist/chunks/chunk.4MSU3MLQ.js +1 -0
- package/dist/chunks/chunk.4ZVIPOSQ.js +1 -0
- package/dist/chunks/chunk.5CKUBBW2.js +1 -0
- package/dist/chunks/chunk.5TSON4Q5.js +1 -0
- package/dist/chunks/chunk.5YPHEG75.js +75 -0
- package/dist/chunks/chunk.65FBQLYR.js +1 -0
- package/dist/chunks/chunk.6BZB4PZZ.js +1 -0
- package/dist/chunks/chunk.6FC5HIHI.js +1 -0
- package/dist/chunks/chunk.6IZOMQPT.js +1 -0
- package/dist/chunks/chunk.6JJQ6HVT.js +1 -0
- package/dist/chunks/chunk.6NXYV57F.js +300 -0
- package/dist/chunks/chunk.6O4CQMGV.js +1 -0
- package/dist/chunks/chunk.6QHJZKK3.js +1 -0
- package/dist/chunks/chunk.6WZG63D5.js +1 -0
- package/dist/chunks/chunk.6YT3T3KW.js +1 -0
- package/dist/chunks/chunk.766YSK2T.js +1 -0
- package/dist/chunks/chunk.7BBV7ST3.js +1 -0
- package/dist/chunks/chunk.7BDICJ3O.js +1 -0
- package/dist/chunks/chunk.7DBDP5D4.js +55 -0
- package/dist/chunks/chunk.7NMKVDOW.js +1 -0
- package/dist/chunks/chunk.7O25L2HN.js +1 -0
- package/dist/chunks/chunk.7PR76PFV.js +14 -0
- package/dist/chunks/chunk.A3XWFCSS.js +22 -0
- package/dist/chunks/chunk.A4TOGQUL.js +1 -0
- package/dist/chunks/chunk.A6NLAVBJ.js +65 -0
- package/dist/chunks/chunk.AEVUVHPU.js +1 -0
- package/dist/chunks/chunk.AMWCH7FP.js +1 -0
- package/dist/chunks/chunk.AUVCF733.js +1 -0
- package/dist/chunks/chunk.AYHRF2PK.js +1 -0
- package/dist/chunks/chunk.B2XTWCNO.js +41 -0
- package/dist/chunks/chunk.B54EK2EK.js +80 -0
- package/dist/chunks/chunk.BCC3MRG7.js +1 -0
- package/dist/chunks/chunk.BEUKYV7G.js +1 -0
- package/dist/chunks/chunk.BIOPLSO5.js +1 -0
- package/dist/chunks/chunk.BLC4MT43.js +1 -0
- package/dist/chunks/chunk.BSZXBHUO.js +1 -0
- package/dist/chunks/chunk.BT3I4VAR.js +74 -0
- package/dist/chunks/chunk.BT4VFR4P.js +1 -0
- package/dist/chunks/chunk.BUCROGVQ.js +11 -0
- package/dist/chunks/chunk.BXH6GFYH.js +39 -0
- package/dist/chunks/chunk.C6REVK5V.js +1 -0
- package/dist/chunks/chunk.C7F3JPEA.js +1 -0
- package/dist/chunks/chunk.CDPE3HJI.js +1 -0
- package/dist/chunks/chunk.CFL3PJGS.js +1 -0
- package/dist/chunks/chunk.CFRK32FS.js +1 -0
- package/dist/chunks/chunk.CLI7OLUP.js +1 -0
- package/dist/chunks/chunk.CST73CUF.js +1 -0
- package/dist/chunks/chunk.CYS6XIQ3.js +1 -0
- package/dist/chunks/chunk.DG3TCTHP.js +1 -0
- package/dist/chunks/chunk.DJMIDUIR.js +20 -0
- package/dist/chunks/chunk.DKA4CYZZ.js +1 -0
- package/dist/chunks/chunk.DSVABTPB.js +1 -0
- package/dist/chunks/chunk.DUAYA72N.js +1 -0
- package/dist/chunks/chunk.DVS2JDEU.js +1 -0
- package/dist/chunks/chunk.DZGMHI7M.js +1 -0
- package/dist/chunks/chunk.ENP4BZ2Q.js +1 -0
- package/dist/chunks/chunk.EQKP6QEH.js +1 -0
- package/dist/chunks/chunk.EYHRUT2K.js +1 -0
- package/dist/chunks/chunk.F3XJPGCV.js +1 -0
- package/dist/chunks/chunk.F7QAOPKW.js +1 -0
- package/dist/chunks/chunk.FDVBKERY.js +1 -0
- package/dist/chunks/chunk.FM3UKSO3.js +16 -0
- package/dist/chunks/chunk.FO4YJTSB.js +1 -0
- package/dist/chunks/chunk.FS76W7ON.js +145 -0
- package/dist/chunks/chunk.FTHEBHGR.js +1 -0
- package/dist/chunks/chunk.FVN76A2E.js +9 -0
- package/dist/chunks/chunk.FZUILRGV.js +1 -0
- package/dist/chunks/chunk.G26ZLCMP.js +1 -0
- package/dist/chunks/chunk.GA4Q5FCB.js +1 -0
- package/dist/chunks/chunk.GDVHJLPM.js +1 -0
- package/dist/chunks/chunk.GE6NUEEV.js +8 -0
- package/dist/chunks/chunk.GLBYPT6F.js +1 -0
- package/dist/chunks/chunk.GOJFIDR2.js +1 -0
- package/dist/chunks/chunk.GS7NGP5A.js +1 -0
- package/dist/chunks/chunk.H5WDCMHV.js +1 -0
- package/dist/chunks/chunk.HC3ATGJ6.js +1 -0
- package/dist/chunks/chunk.HHIHBNG2.js +100 -0
- package/dist/chunks/chunk.HRNLETJW.js +1 -0
- package/dist/chunks/chunk.HRS3EZ5O.js +1 -0
- package/dist/chunks/chunk.HTF7A5NR.js +1 -0
- package/dist/chunks/chunk.I6AXQD34.js +1 -0
- package/dist/chunks/chunk.IJUBTAPZ.js +1 -0
- package/dist/chunks/chunk.IN7ZOX6F.js +1 -0
- package/dist/chunks/chunk.INQGHKNR.js +1 -0
- package/dist/chunks/chunk.IOFVAK65.js +2 -0
- package/dist/chunks/chunk.IRZLK5CW.js +48 -0
- package/dist/chunks/chunk.IWJHZMTW.js +1 -0
- package/dist/chunks/chunk.J3KUBNWC.js +1 -0
- package/dist/chunks/chunk.JAAVWPAP.js +1 -0
- package/dist/chunks/chunk.JF3ERNLA.js +43 -0
- package/dist/chunks/chunk.JFNAA6AQ.js +64 -0
- package/dist/chunks/chunk.JWRZTYV6.js +6 -0
- package/dist/chunks/chunk.K2GWWTXW.js +11 -0
- package/dist/chunks/chunk.KGDDA7QS.js +1 -0
- package/dist/chunks/chunk.KIZLB2ZY.js +1 -0
- package/dist/chunks/chunk.KNOUB6L7.js +1 -0
- package/dist/chunks/chunk.KWHNDO3M.js +1 -0
- package/dist/chunks/chunk.L5A5OIFC.js +38 -0
- package/dist/chunks/chunk.LGSGZFMY.js +1 -0
- package/dist/chunks/chunk.LLRBT7GW.js +1 -0
- package/dist/chunks/chunk.M7R6RLOP.js +1 -0
- package/dist/chunks/chunk.MARWR2XB.js +1 -0
- package/dist/chunks/chunk.MJ3DWAVJ.js +51 -0
- package/dist/chunks/chunk.MLPT4GL3.js +20 -0
- package/dist/chunks/chunk.MS55ACG4.js +47 -0
- package/dist/chunks/chunk.MTA4NBKZ.js +17 -0
- package/dist/chunks/chunk.MXMW4LIA.js +1 -0
- package/dist/chunks/chunk.MYTNYPQR.js +1 -0
- package/dist/chunks/chunk.MYXTSWP6.js +154 -0
- package/dist/chunks/chunk.MZZ2VFEY.js +113 -0
- package/dist/chunks/chunk.NA26KJ6N.js +1 -0
- package/dist/chunks/chunk.NCU4D7Y7.js +1 -0
- package/dist/chunks/chunk.NIO6L3GW.js +115 -0
- package/dist/chunks/chunk.NIPNHY7U.js +67 -0
- package/dist/chunks/chunk.NWPIYKNB.js +35 -0
- package/dist/chunks/chunk.OC6RDDLO.js +4 -0
- package/dist/chunks/chunk.OJ2CYLXH.js +1 -0
- package/dist/chunks/chunk.OKGA5GXY.js +1 -0
- package/dist/chunks/chunk.ON5BCN2P.js +1 -0
- package/dist/chunks/chunk.OSSHTSO5.js +1 -0
- package/dist/chunks/chunk.OWFT2USF.js +1 -0
- package/dist/chunks/chunk.OXXQPWUT.js +1 -0
- package/dist/chunks/chunk.POHKJIOJ.js +27 -0
- package/dist/chunks/chunk.PQEIPTZS.js +1 -0
- package/dist/chunks/chunk.PQYEANBC.js +1 -0
- package/dist/chunks/chunk.PSIQCTOI.js +142 -0
- package/dist/chunks/chunk.QAOJDTKA.js +1 -0
- package/dist/chunks/chunk.QEFUA4OP.js +30 -0
- package/dist/chunks/chunk.QSDLIEDF.js +1 -0
- package/dist/chunks/chunk.QXAGVUX4.js +1 -0
- package/dist/chunks/chunk.QYUNODYP.js +43 -0
- package/dist/chunks/chunk.R3XLST36.js +1 -0
- package/dist/chunks/chunk.R72JIRAQ.js +127 -0
- package/dist/chunks/chunk.RDEQYEQD.js +1 -0
- package/dist/chunks/chunk.RI5QWEFJ.js +55 -0
- package/dist/chunks/chunk.RIZXW6RX.js +1 -0
- package/dist/chunks/chunk.ROAJDBWY.js +300 -0
- package/dist/chunks/chunk.ROAOJBFK.js +122 -0
- package/dist/chunks/chunk.RQ3NX5RH.js +1 -0
- package/dist/chunks/chunk.RUF3MKNX.js +1 -0
- package/dist/chunks/chunk.RUSJEFXJ.js +1 -0
- package/dist/chunks/chunk.RVPN4DT6.js +1 -0
- package/dist/chunks/chunk.RX7B6M24.js +23 -0
- package/dist/chunks/chunk.SAJXSVRR.js +1 -0
- package/dist/chunks/chunk.SKHJAFUM.js +1 -0
- package/dist/chunks/chunk.SRIQOJ4R.js +1 -0
- package/dist/chunks/chunk.SVLWTIBE.js +1 -0
- package/dist/chunks/chunk.T2BWAH5M.js +1 -0
- package/dist/chunks/chunk.T3ROHJGD.js +99 -0
- package/dist/chunks/chunk.T5LEHOZO.js +33 -0
- package/dist/chunks/chunk.TBKVOYN6.js +1 -0
- package/dist/chunks/chunk.TK2JSJCN.js +12 -0
- package/dist/chunks/chunk.TM7UGCHZ.js +1 -0
- package/dist/chunks/chunk.TSYE26TN.js +1 -0
- package/dist/chunks/chunk.U42TLCPB.js +37 -0
- package/dist/chunks/chunk.U4QYPQ5D.js +1182 -0
- package/dist/chunks/chunk.U7OFS4YO.js +1 -0
- package/dist/chunks/chunk.UHJVEYZR.js +19 -0
- package/dist/chunks/chunk.UHQQDRQE.js +1 -0
- package/dist/chunks/chunk.UT4IMV6Z.js +1 -0
- package/dist/chunks/chunk.UY26P2OL.js +1 -0
- package/dist/chunks/chunk.VCVW26RJ.js +1 -0
- package/dist/chunks/chunk.VPMFNONT.js +5 -0
- package/dist/chunks/chunk.VVD6IBEH.js +8 -0
- package/dist/chunks/chunk.VVJHNG5X.js +1 -0
- package/dist/chunks/chunk.W47TRROJ.js +26 -0
- package/dist/chunks/chunk.WAD5F7IY.js +1 -0
- package/dist/chunks/chunk.WAYKA4GY.js +1 -0
- package/dist/chunks/chunk.WC7YLNKN.js +1 -0
- package/dist/chunks/chunk.WLNKKAQQ.js +1 -0
- package/dist/chunks/chunk.WVXP3DKQ.js +1 -0
- package/dist/chunks/chunk.WXGJBSTY.js +12 -0
- package/dist/chunks/chunk.WXHUYZMM.js +1 -0
- package/dist/chunks/chunk.WYM7XMJM.js +62 -0
- package/dist/chunks/chunk.XE3SMLIS.js +1 -0
- package/dist/chunks/chunk.XMCRPWIT.js +1 -0
- package/dist/chunks/chunk.XQDZ47QL.js +26 -0
- package/dist/chunks/chunk.XQRSTVBA.js +35 -0
- package/dist/chunks/chunk.XUDQZPTV.js +1 -0
- package/dist/chunks/chunk.XVC3SMLN.js +1 -0
- package/dist/chunks/chunk.XXHC6SPN.js +1 -0
- package/dist/chunks/chunk.Y2755SF4.js +1 -0
- package/dist/chunks/chunk.Y2WXU4PN.js +1 -0
- package/dist/chunks/chunk.YFCTJ4N3.js +1 -0
- package/dist/chunks/chunk.YHM2RYSO.js +780 -0
- package/dist/chunks/chunk.YN3KH4A6.js +1 -0
- package/dist/chunks/chunk.YPDAKA67.js +280 -0
- package/dist/chunks/chunk.YXQBVL4N.js +1 -0
- package/dist/chunks/chunk.Z66FJJU6.js +1 -0
- package/dist/chunks/chunk.ZL3KC4DQ.js +24 -0
- package/dist/chunks/chunk.ZLPSNVPK.js +1 -0
- package/dist/chunks/chunk.ZMUYCM4F.js +5 -0
- package/dist/chunks/chunk.ZO3LWU7S.js +9 -0
- package/dist/chunks/chunk.ZO7J6YXK.js +1 -0
- package/dist/chunks/chunk.ZZJIP5QZ.js +30 -0
- package/dist/chunks/chunk.ZZZPW47I.js +1 -0
- package/dist/components/accordion/accordion.component.js +1 -1
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/alert/alert.component.js +1 -1
- package/dist/components/alert/alert.js +1 -1
- package/dist/components/avatar/avatar.component.js +1 -1
- package/dist/components/avatar/avatar.js +1 -1
- package/dist/components/badge/badge.component.js +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/banner/banner.component.js +1 -1
- package/dist/components/banner/banner.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.component.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.js +1 -1
- package/dist/components/browse-variables/browse-variables.component.js +1 -1
- package/dist/components/browse-variables/browse-variables.controller.js +1 -1
- package/dist/components/browse-variables/browse-variables.js +1 -1
- package/dist/components/button/button.component.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/button-group/button-group.component.js +1 -1
- package/dist/components/button-group/button-group.js +1 -1
- package/dist/components/caption/caption.component.js +1 -1
- package/dist/components/caption/caption.js +1 -1
- package/dist/components/card/card.component.js +1 -1
- package/dist/components/card/card.js +1 -1
- package/dist/components/checkbox/checkbox.component.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/chip/chip.component.js +1 -1
- package/dist/components/chip/chip.js +1 -1
- package/dist/components/combobox/combobox.component.js +1 -1
- package/dist/components/combobox/combobox.js +1 -1
- package/dist/components/data-access/data-access.component.js +1 -1
- package/dist/components/data-access/data-access.js +1 -1
- package/dist/components/data-grid/data-grid.component.js +1 -1
- package/dist/components/data-grid/data-grid.js +1 -1
- package/dist/components/data-rods/data-rods.component.js +1 -1
- package/dist/components/data-rods/data-rods.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.component.d.ts +3 -0
- package/dist/components/data-subsetter/data-subsetter.component.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.js +1 -1
- package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -1
- package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -1
- package/dist/components/date-picker/date-picker.component.d.ts +27 -0
- package/dist/components/date-picker/date-picker.component.js +1 -1
- package/dist/components/date-picker/date-picker.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.component.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.js +1 -1
- package/dist/components/dialog/dialog.component.js +1 -1
- package/dist/components/dialog/dialog.js +1 -1
- package/dist/components/divider/divider.component.js +1 -1
- package/dist/components/divider/divider.js +1 -1
- package/dist/components/dropdown/dropdown.component.js +1 -1
- package/dist/components/dropdown/dropdown.js +1 -1
- package/dist/components/earthdata-login/earthdata-login.component.js +1 -1
- package/dist/components/earthdata-login/earthdata-login.js +1 -1
- package/dist/components/file-upload/file-upload.component.js +1 -1
- package/dist/components/file-upload/file-upload.js +1 -1
- package/dist/components/harmony-history/harmony-history.component.js +1 -1
- package/dist/components/harmony-history/harmony-history.js +1 -1
- package/dist/components/icon/icon.component.js +1 -1
- package/dist/components/icon/icon.js +1 -1
- package/dist/components/input/input.component.js +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/loader/loader.component.js +1 -1
- package/dist/components/loader/loader.js +1 -1
- package/dist/components/login/login.component.js +1 -1
- package/dist/components/login/login.js +1 -1
- package/dist/components/map/map.component.js +1 -1
- package/dist/components/map/map.js +1 -1
- package/dist/components/map/map.service.js +1 -1
- package/dist/components/map/type.d.ts +2 -0
- package/dist/components/menu/menu.component.js +1 -1
- package/dist/components/menu/menu.js +1 -1
- package/dist/components/menu-item/menu-item.component.js +1 -1
- package/dist/components/menu-item/menu-item.js +1 -1
- package/dist/components/option/option.component.js +1 -1
- package/dist/components/option/option.js +1 -1
- package/dist/components/pagination/pagination.component.js +1 -1
- package/dist/components/pagination/pagination.js +1 -1
- package/dist/components/plot/plot.component.js +1 -1
- package/dist/components/plot/plot.js +1 -1
- package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
- package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.controller.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.js +1 -1
- package/dist/components/popup/popup.component.js +1 -1
- package/dist/components/popup/popup.js +1 -1
- package/dist/components/progress-bar/progress-bar.component.js +1 -1
- package/dist/components/progress-bar/progress-bar.js +1 -1
- package/dist/components/radio/radio.component.js +1 -1
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/radio-group/radio-group.component.js +1 -1
- package/dist/components/radio-group/radio-group.js +1 -1
- package/dist/components/scroll-hint/scroll-hint.component.js +1 -1
- package/dist/components/scroll-hint/scroll-hint.js +1 -1
- package/dist/components/select/select.component.js +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/components/site-header/site-header.component.js +1 -1
- package/dist/components/site-header/site-header.js +1 -1
- package/dist/components/site-navigation/site-navigation.component.js +1 -1
- package/dist/components/site-navigation/site-navigation.js +1 -1
- package/dist/components/skeleton/skeleton.component.js +1 -1
- package/dist/components/skeleton/skeleton.js +1 -1
- package/dist/components/slider/slider.component.js +1 -1
- package/dist/components/slider/slider.js +1 -1
- package/dist/components/spatial-picker/spatial-picker.component.d.ts +5 -0
- package/dist/components/spatial-picker/spatial-picker.component.js +1 -1
- package/dist/components/spatial-picker/spatial-picker.js +1 -1
- package/dist/components/status-indicator/status-indicator.component.js +1 -1
- package/dist/components/status-indicator/status-indicator.js +1 -1
- package/dist/components/stepper/stepper.component.js +1 -1
- package/dist/components/stepper/stepper.js +1 -1
- package/dist/components/stepper-step/stepper-step.component.js +1 -1
- package/dist/components/stepper-step/stepper-step.js +1 -1
- package/dist/components/tab/tab.component.js +1 -1
- package/dist/components/tab/tab.js +1 -1
- package/dist/components/tab-panel/tab-panel.component.js +1 -1
- package/dist/components/tab-panel/tab-panel.js +1 -1
- package/dist/components/tabs/tabs.component.js +1 -1
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/tag/tag.component.js +1 -1
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/textarea/textarea.component.js +1 -1
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/components/time-average-map/time-average-map.component.js +1 -1
- package/dist/components/time-average-map/time-average-map.controller.js +1 -1
- package/dist/components/time-average-map/time-average-map.js +1 -1
- package/dist/components/time-series/time-series-cache.service.d.ts +6 -0
- package/dist/components/time-series/time-series-cache.service.js +1 -1
- package/dist/components/time-series/time-series.component.js +1 -1
- package/dist/components/time-series/time-series.controller.js +1 -1
- package/dist/components/time-series/time-series.js +1 -1
- package/dist/components/toast/toast.component.js +1 -1
- package/dist/components/toast/toast.js +1 -1
- package/dist/components/toggle/toggle.component.js +1 -1
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/tooltip/tooltip.component.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.component.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
- package/dist/custom-elements.json +1001 -748
- package/dist/lib/harmony/harmony.request.d.ts +11 -0
- package/dist/react/accordion/index.js +1 -1
- package/dist/react/alert/index.js +1 -1
- package/dist/react/avatar/index.js +1 -1
- package/dist/react/badge/index.js +1 -1
- package/dist/react/banner/index.js +1 -1
- package/dist/react/breadcrumb/index.js +1 -1
- package/dist/react/breadcrumbs/index.js +1 -1
- package/dist/react/browse-variables/index.js +1 -1
- package/dist/react/button/index.js +1 -1
- package/dist/react/button-group/index.js +1 -1
- package/dist/react/caption/index.js +1 -1
- package/dist/react/card/index.js +1 -1
- package/dist/react/checkbox/index.js +1 -1
- package/dist/react/chip/index.js +1 -1
- package/dist/react/combobox/index.js +1 -1
- package/dist/react/data-access/index.js +1 -1
- package/dist/react/data-grid/index.js +1 -1
- package/dist/react/data-rods/index.js +1 -1
- package/dist/react/data-subsetter/index.js +1 -1
- package/dist/react/data-subsetter-history/index.js +1 -1
- package/dist/react/date-picker/index.js +1 -1
- package/dist/react/date-range-slider/index.js +1 -1
- package/dist/react/dialog/index.js +1 -1
- package/dist/react/divider/index.js +1 -1
- package/dist/react/dropdown/index.js +1 -1
- package/dist/react/earthdata-login/index.js +1 -1
- package/dist/react/file-upload/index.js +1 -1
- package/dist/react/harmony-history/index.js +1 -1
- package/dist/react/icon/index.js +1 -1
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +1 -1
- package/dist/react/input/index.js +1 -1
- package/dist/react/loader/index.js +1 -1
- package/dist/react/login/index.js +1 -1
- package/dist/react/map/index.js +1 -1
- package/dist/react/menu/index.js +1 -1
- package/dist/react/menu-item/index.js +1 -1
- package/dist/react/option/index.js +1 -1
- package/dist/react/pagination/index.js +1 -1
- package/dist/react/plot/index.js +1 -1
- package/dist/react/plot-toolbar/index.js +1 -1
- package/dist/react/popup/index.js +1 -1
- package/dist/react/progress-bar/index.js +1 -1
- package/dist/react/radio/index.js +1 -1
- package/dist/react/radio-group/index.js +1 -1
- package/dist/react/scroll-hint/index.js +1 -1
- package/dist/react/select/index.js +1 -1
- package/dist/react/site-header/index.js +1 -1
- package/dist/react/site-navigation/index.js +1 -1
- package/dist/react/skeleton/index.js +1 -1
- package/dist/react/slider/index.js +1 -1
- package/dist/react/spatial-picker/index.js +1 -1
- package/dist/react/status-indicator/index.js +1 -1
- package/dist/react/stepper/index.js +1 -1
- package/dist/react/stepper-step/index.js +1 -1
- package/dist/react/tab/index.js +1 -1
- package/dist/react/tab-panel/index.js +1 -1
- package/dist/react/tabs/index.js +1 -1
- package/dist/react/tag/index.js +1 -1
- package/dist/react/textarea/index.js +1 -1
- package/dist/react/time-average-map/index.js +1 -1
- package/dist/react/time-series/index.js +1 -1
- package/dist/react/toast/index.js +1 -1
- package/dist/react/toggle/index.js +1 -1
- package/dist/react/tooltip/index.js +1 -1
- package/dist/react/variable-combobox/index.js +1 -1
- package/dist/react/variable-keyword-search/index.js +1 -1
- package/dist/terra-ui-components.js +1 -1
- package/dist/terra_ui_components-0.0.192-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.192.tar.gz +0 -0
- package/dist/types/vue/index.d.ts +87 -74
- package/dist/utilities/harmony.d.ts +11 -0
- package/dist/utilities/harmony.js +1 -1
- package/dist/utilities/variable-task.js +1 -1
- package/dist/vscode.html-custom-data.json +118 -103
- package/dist/web-types.json +180 -147
- package/package.json +2 -1
- package/cdn/chunks/chunk.2254DWDE.js +0 -1197
- package/cdn/chunks/chunk.262RP2XE.js +0 -56075
- package/cdn/chunks/chunk.26J2HGHO.js +0 -190
- package/cdn/chunks/chunk.26UZKSB4.js +0 -352
- package/cdn/chunks/chunk.2PEBPN6E.js +0 -241
- package/cdn/chunks/chunk.33BHFHKT.js +0 -110
- package/cdn/chunks/chunk.35R3FIWH.js +0 -29
- package/cdn/chunks/chunk.36UI73QC.js +0 -29
- package/cdn/chunks/chunk.3GC3VEPG.js +0 -19
- package/cdn/chunks/chunk.3HGY2OQN.js +0 -493
- package/cdn/chunks/chunk.3OYBNUEI.js +0 -2263
- package/cdn/chunks/chunk.3S7WMMIE.js +0 -478
- package/cdn/chunks/chunk.3SWDEX6X.js +0 -83
- package/cdn/chunks/chunk.3TXZPWC4.js +0 -303
- package/cdn/chunks/chunk.3U6NF62S.js +0 -276
- package/cdn/chunks/chunk.3WW575WA.js +0 -60
- package/cdn/chunks/chunk.45CXCBSK.js +0 -19
- package/cdn/chunks/chunk.47KJF23J.js +0 -35
- package/cdn/chunks/chunk.4ISWIXVN.js +0 -19
- package/cdn/chunks/chunk.4NQI77PM.js +0 -19
- package/cdn/chunks/chunk.564J4JRX.js +0 -19
- package/cdn/chunks/chunk.5AQKME2B.js +0 -68
- package/cdn/chunks/chunk.5CH4R2XF.js +0 -230
- package/cdn/chunks/chunk.5QL2BX3U.js +0 -357
- package/cdn/chunks/chunk.5ST44KN5.js +0 -29
- package/cdn/chunks/chunk.5T2GTQTE.js +0 -45
- package/cdn/chunks/chunk.5WLOWVTH.js +0 -19
- package/cdn/chunks/chunk.5XN4CHYS.js +0 -19
- package/cdn/chunks/chunk.65NJM3X5.js +0 -234
- package/cdn/chunks/chunk.67KZOH4P.js +0 -29
- package/cdn/chunks/chunk.6EF3RM53.js +0 -195
- package/cdn/chunks/chunk.6F2A5RGO.js +0 -32
- package/cdn/chunks/chunk.6SHDOSDX.js +0 -1259
- package/cdn/chunks/chunk.6TKJKIGR.js +0 -259
- package/cdn/chunks/chunk.6TXAD2M5.js +0 -891
- package/cdn/chunks/chunk.6WUVTS5T.js +0 -19
- package/cdn/chunks/chunk.6Y2YJ7VI.js +0 -93
- package/cdn/chunks/chunk.7ISACLMG.js +0 -19
- package/cdn/chunks/chunk.7T63UPCR.js +0 -113
- package/cdn/chunks/chunk.A2JK2DEX.js +0 -19
- package/cdn/chunks/chunk.A4Z7IIES.js +0 -78
- package/cdn/chunks/chunk.A5PVJF4Q.js +0 -132
- package/cdn/chunks/chunk.A7RI43SW.js +0 -29
- package/cdn/chunks/chunk.AKPUZW7W.js +0 -19
- package/cdn/chunks/chunk.AT6JJ7OV.js +0 -19
- package/cdn/chunks/chunk.AVBFDPBA.js +0 -19
- package/cdn/chunks/chunk.AYVGZCLZ.js +0 -551
- package/cdn/chunks/chunk.B4TFLVNP.js +0 -36
- package/cdn/chunks/chunk.BA3EXOZR.js +0 -155
- package/cdn/chunks/chunk.BP6TJGHY.js +0 -224
- package/cdn/chunks/chunk.BPEXBRN7.js +0 -19
- package/cdn/chunks/chunk.C2FX7JKT.js +0 -30
- package/cdn/chunks/chunk.CCMCLTO5.js +0 -29
- package/cdn/chunks/chunk.CDC6ECAD.js +0 -1975
- package/cdn/chunks/chunk.CQ2HGWVM.js +0 -19
- package/cdn/chunks/chunk.CV6WLSVP.js +0 -19
- package/cdn/chunks/chunk.D5UTEPJY.js +0 -29
- package/cdn/chunks/chunk.DA5AJNT3.js +0 -19
- package/cdn/chunks/chunk.DEHXTBBK.js +0 -33
- package/cdn/chunks/chunk.DFLPZEVR.js +0 -32
- package/cdn/chunks/chunk.DOUH7RMC.js +0 -41
- package/cdn/chunks/chunk.DUCD56DE.js +0 -29
- package/cdn/chunks/chunk.ECTHCJK7.js +0 -539
- package/cdn/chunks/chunk.EEAYQF6R.js +0 -36
- package/cdn/chunks/chunk.EJKUYYF5.js +0 -29
- package/cdn/chunks/chunk.EPT3I5PV.js +0 -36
- package/cdn/chunks/chunk.EQNEWWN7.js +0 -32
- package/cdn/chunks/chunk.EVETX6CC.js +0 -47
- package/cdn/chunks/chunk.F2L2AHAX.js +0 -19
- package/cdn/chunks/chunk.F3PALOOP.js +0 -124
- package/cdn/chunks/chunk.F3PBZ4K2.js +0 -32
- package/cdn/chunks/chunk.FFIWGCVU.js +0 -99
- package/cdn/chunks/chunk.FHGT252S.js +0 -359
- package/cdn/chunks/chunk.FOHMHGWP.js +0 -19
- package/cdn/chunks/chunk.FRIENHWD.js +0 -19
- package/cdn/chunks/chunk.FSJNUBNL.js +0 -29
- package/cdn/chunks/chunk.GBI6BYU7.js +0 -19
- package/cdn/chunks/chunk.GDEOUVFA.js +0 -19
- package/cdn/chunks/chunk.GEGQWMR7.js +0 -19
- package/cdn/chunks/chunk.GF3ZBX77.js +0 -330
- package/cdn/chunks/chunk.GLEUAGZQ.js +0 -33
- package/cdn/chunks/chunk.GTJW4TWM.js +0 -19
- package/cdn/chunks/chunk.H23GKZYM.js +0 -437
- package/cdn/chunks/chunk.H5WUFEGF.js +0 -104
- package/cdn/chunks/chunk.HAM7CMN5.js +0 -113
- package/cdn/chunks/chunk.HJGSBK77.js +0 -19
- package/cdn/chunks/chunk.HSILZMCT.js +0 -19
- package/cdn/chunks/chunk.HUU6UOOJ.js +0 -663
- package/cdn/chunks/chunk.HYIOQ4VO.js +0 -231
- package/cdn/chunks/chunk.ICMS2GTW.js +0 -32
- package/cdn/chunks/chunk.IMZ2PUUZ.js +0 -29
- package/cdn/chunks/chunk.IPP7PQYM.js +0 -33
- package/cdn/chunks/chunk.ISJMOZQH.js +0 -74
- package/cdn/chunks/chunk.IUVYGTSB.js +0 -33
- package/cdn/chunks/chunk.IXC72OPP.js +0 -29
- package/cdn/chunks/chunk.IXTOOQL6.js +0 -19
- package/cdn/chunks/chunk.J6OYJXBE.js +0 -19
- package/cdn/chunks/chunk.JCD27DBZ.js +0 -29
- package/cdn/chunks/chunk.JJPMJZVA.js +0 -29
- package/cdn/chunks/chunk.JP632EER.js +0 -19
- package/cdn/chunks/chunk.JPVE4VMN.js +0 -310
- package/cdn/chunks/chunk.JQDLN76T.js +0 -19
- package/cdn/chunks/chunk.K7NDNEO3.js +0 -32
- package/cdn/chunks/chunk.KALKPFEM.js +0 -29
- package/cdn/chunks/chunk.KAZO73JL.js +0 -19
- package/cdn/chunks/chunk.KNUKVURG.js +0 -196
- package/cdn/chunks/chunk.KOJBQWLN.js +0 -29
- package/cdn/chunks/chunk.KQZCVDQH.js +0 -9741
- package/cdn/chunks/chunk.KRJ3544T.js +0 -19
- package/cdn/chunks/chunk.KRXWPPRW.js +0 -32
- package/cdn/chunks/chunk.KYYZNB77.js +0 -538
- package/cdn/chunks/chunk.L2HZBTUI.js +0 -19
- package/cdn/chunks/chunk.L2LRD76T.js +0 -60
- package/cdn/chunks/chunk.L6YIIWMJ.js +0 -39
- package/cdn/chunks/chunk.LANTKQ6J.js +0 -19
- package/cdn/chunks/chunk.LGASTYNC.js +0 -62
- package/cdn/chunks/chunk.LY2MO4WB.js +0 -266
- package/cdn/chunks/chunk.LYBULWCK.js +0 -138
- package/cdn/chunks/chunk.M2XUBKCS.js +0 -19
- package/cdn/chunks/chunk.MF3WDXVC.js +0 -29
- package/cdn/chunks/chunk.MFWCWKQW.js +0 -19
- package/cdn/chunks/chunk.MGZ4OUHF.js +0 -19
- package/cdn/chunks/chunk.MIIW42T5.js +0 -19
- package/cdn/chunks/chunk.MJMUGCPO.js +0 -29
- package/cdn/chunks/chunk.MNHYBM5Z.js +0 -82
- package/cdn/chunks/chunk.MTEJSLJ7.js +0 -29
- package/cdn/chunks/chunk.MU7KT4WB.js +0 -19
- package/cdn/chunks/chunk.MVJSUWYZ.js +0 -19
- package/cdn/chunks/chunk.MXF6XQNU.js +0 -19
- package/cdn/chunks/chunk.MXPGGV5E.js +0 -524
- package/cdn/chunks/chunk.N6RPSEYY.js +0 -293
- package/cdn/chunks/chunk.ND3745YQ.js +0 -94
- package/cdn/chunks/chunk.NXTFWRHB.js +0 -86
- package/cdn/chunks/chunk.NYKDNCHN.js +0 -19
- package/cdn/chunks/chunk.O4R7PTMM.js +0 -915
- package/cdn/chunks/chunk.O5PYYEPN.js +0 -35
- package/cdn/chunks/chunk.OF3FMFHW.js +0 -35
- package/cdn/chunks/chunk.OIXADKW2.js +0 -186
- package/cdn/chunks/chunk.P6233WZY.js +0 -532
- package/cdn/chunks/chunk.P6CMO6UZ.js +0 -99
- package/cdn/chunks/chunk.PGYLRQFG.js +0 -19
- package/cdn/chunks/chunk.PJXBIMAE.js +0 -32
- package/cdn/chunks/chunk.PYND2VML.js +0 -599
- package/cdn/chunks/chunk.Q2NWOLHL.js +0 -19
- package/cdn/chunks/chunk.Q44BATKG.js +0 -158
- package/cdn/chunks/chunk.Q73UFZXB.js +0 -29
- package/cdn/chunks/chunk.Q7SV5DAR.js +0 -29
- package/cdn/chunks/chunk.QBPS4V2I.js +0 -19
- package/cdn/chunks/chunk.QCKKTVS2.js +0 -32
- package/cdn/chunks/chunk.QFQLLSEZ.js +0 -29
- package/cdn/chunks/chunk.QG6HLMSI.js +0 -29
- package/cdn/chunks/chunk.QGWK5PB4.js +0 -63
- package/cdn/chunks/chunk.QHZGME7O.js +0 -188
- package/cdn/chunks/chunk.QJQWUFQG.js +0 -19
- package/cdn/chunks/chunk.QREPQHHM.js +0 -32
- package/cdn/chunks/chunk.QU3RKC7F.js +0 -29
- package/cdn/chunks/chunk.QWEARTJZ.js +0 -19
- package/cdn/chunks/chunk.R2K7YI7D.js +0 -128
- package/cdn/chunks/chunk.R6FQRIIQ.js +0 -151
- package/cdn/chunks/chunk.REAGMPVS.js +0 -19
- package/cdn/chunks/chunk.RFMX3Z3J.js +0 -19
- package/cdn/chunks/chunk.RNWMH5KE.js +0 -37
- package/cdn/chunks/chunk.RU34LNOQ.js +0 -2555
- package/cdn/chunks/chunk.RZTDAMTW.js +0 -278
- package/cdn/chunks/chunk.S3KNMW6P.js +0 -32
- package/cdn/chunks/chunk.S5YZQD7X.js +0 -49
- package/cdn/chunks/chunk.SE5BI2SX.js +0 -904
- package/cdn/chunks/chunk.SISTE6BF.js +0 -170
- package/cdn/chunks/chunk.SMQJ5R6S.js +0 -123
- package/cdn/chunks/chunk.SQZOUKTN.js +0 -19
- package/cdn/chunks/chunk.SRN76VVR.js +0 -19
- package/cdn/chunks/chunk.SZVOEV6H.js +0 -29
- package/cdn/chunks/chunk.T4ASJ5DA.js +0 -294
- package/cdn/chunks/chunk.TAKBJ4KW.js +0 -37
- package/cdn/chunks/chunk.TAL5NXNQ.js +0 -19
- package/cdn/chunks/chunk.TJMBLJW2.js +0 -29
- package/cdn/chunks/chunk.TQLLYTCG.js +0 -19
- package/cdn/chunks/chunk.TY4ORAQ7.js +0 -19
- package/cdn/chunks/chunk.U4NYKRMO.js +0 -19
- package/cdn/chunks/chunk.U6NE6OMF.js +0 -19
- package/cdn/chunks/chunk.UBRRAXVT.js +0 -161
- package/cdn/chunks/chunk.UOGPQCIT.js +0 -19
- package/cdn/chunks/chunk.URMJZSQP.js +0 -29
- package/cdn/chunks/chunk.UUH3P6U6.js +0 -29
- package/cdn/chunks/chunk.UXR5JZ2Z.js +0 -34
- package/cdn/chunks/chunk.VCPLLAGP.js +0 -294
- package/cdn/chunks/chunk.VDHEXGOZ.js +0 -36
- package/cdn/chunks/chunk.VJZLDXMR.js +0 -658
- package/cdn/chunks/chunk.VMT2OA4F.js +0 -71
- package/cdn/chunks/chunk.VOVZK7CH.js +0 -19
- package/cdn/chunks/chunk.VXVQVMGN.js +0 -19
- package/cdn/chunks/chunk.W5LR7MI7.js +0 -377
- package/cdn/chunks/chunk.W7II6UEO.js +0 -34
- package/cdn/chunks/chunk.WA5AZ33L.js +0 -134
- package/cdn/chunks/chunk.WV5U6JXW.js +0 -616
- package/cdn/chunks/chunk.XB3WNOCD.js +0 -35
- package/cdn/chunks/chunk.XDKRVIUT.js +0 -33
- package/cdn/chunks/chunk.XMSEFR5A.js +0 -32
- package/cdn/chunks/chunk.XX64ET6U.js +0 -35
- package/cdn/chunks/chunk.Y6E2F5ZU.js +0 -19
- package/cdn/chunks/chunk.YNU663NG.js +0 -29
- package/cdn/chunks/chunk.YOZWKBNL.js +0 -19
- package/cdn/chunks/chunk.YQXMPDBV.js +0 -135
- package/cdn/chunks/chunk.YREZWMUX.js +0 -32
- package/cdn/chunks/chunk.YTZGPIYR.js +0 -92
- package/cdn/chunks/chunk.YWOGPBYJ.js +0 -29
- package/cdn/chunks/chunk.YZJY5KHP.js +0 -443
- package/cdn/chunks/chunk.ZEJSSTEK.js +0 -610
- package/cdn/chunks/chunk.ZFQJ43PN.js +0 -32
- package/cdn/chunks/chunk.ZGP4LK6V.js +0 -19
- package/cdn/chunks/chunk.ZI54JMC5.js +0 -136
- package/cdn/chunks/chunk.ZMWJFNDI.js +0 -19
- package/cdn/chunks/chunk.ZS2NFAQK.js +0 -68
- package/cdn/chunks/chunk.ZXPUZVAS.js +0 -34
- package/dist/chunks/chunk.24AEZQMY.js +0 -1
- package/dist/chunks/chunk.2AUL36FB.js +0 -1
- package/dist/chunks/chunk.2EOIJGD7.js +0 -2
- package/dist/chunks/chunk.2F6VKICO.js +0 -1
- package/dist/chunks/chunk.2K4PQYF7.js +0 -1
- package/dist/chunks/chunk.2KBWAAOZ.js +0 -127
- package/dist/chunks/chunk.2O6UGT2E.js +0 -1
- package/dist/chunks/chunk.2QJ5ILLT.js +0 -5
- package/dist/chunks/chunk.2TEFEWMH.js +0 -1
- package/dist/chunks/chunk.2U6NRRJX.js +0 -55
- package/dist/chunks/chunk.2VBMVTVL.js +0 -1
- package/dist/chunks/chunk.2WJQNEGW.js +0 -1
- package/dist/chunks/chunk.32IM5557.js +0 -1
- package/dist/chunks/chunk.3C5PLPEL.js +0 -1
- package/dist/chunks/chunk.3F7A2YCE.js +0 -80
- package/dist/chunks/chunk.3JJJ3A5W.js +0 -1
- package/dist/chunks/chunk.3L5IUZSR.js +0 -1
- package/dist/chunks/chunk.3PSWPHUS.js +0 -12
- package/dist/chunks/chunk.3QJKE2MF.js +0 -1
- package/dist/chunks/chunk.3QO7J7CV.js +0 -1
- package/dist/chunks/chunk.3TFLBBWR.js +0 -115
- package/dist/chunks/chunk.3TNPGXLM.js +0 -1
- package/dist/chunks/chunk.3TVPBDCY.js +0 -8
- package/dist/chunks/chunk.3YZ7SPS6.js +0 -1
- package/dist/chunks/chunk.3Z6MBEYS.js +0 -1
- package/dist/chunks/chunk.43F6G3ZK.js +0 -12
- package/dist/chunks/chunk.46IN2TSC.js +0 -1
- package/dist/chunks/chunk.4KJESPZX.js +0 -100
- package/dist/chunks/chunk.4V7RXLNV.js +0 -1
- package/dist/chunks/chunk.4XJ7SAR3.js +0 -1
- package/dist/chunks/chunk.53ONDEHK.js +0 -1
- package/dist/chunks/chunk.5AKALBX3.js +0 -1
- package/dist/chunks/chunk.5BDNKYEE.js +0 -1
- package/dist/chunks/chunk.5EIBF6PE.js +0 -1
- package/dist/chunks/chunk.5F27KZSR.js +0 -1
- package/dist/chunks/chunk.5OXOV6YG.js +0 -38
- package/dist/chunks/chunk.5PUVB3CB.js +0 -1
- package/dist/chunks/chunk.5U7A7SNZ.js +0 -1
- package/dist/chunks/chunk.636ADUMN.js +0 -1
- package/dist/chunks/chunk.64RITC43.js +0 -1
- package/dist/chunks/chunk.6HYILGKL.js +0 -1
- package/dist/chunks/chunk.6LOHOD46.js +0 -1
- package/dist/chunks/chunk.73MWC6LT.js +0 -1
- package/dist/chunks/chunk.7ATPABHJ.js +0 -6
- package/dist/chunks/chunk.7CBI6OMZ.js +0 -1
- package/dist/chunks/chunk.7F4GNB3D.js +0 -1
- package/dist/chunks/chunk.7G5XKBQX.js +0 -1
- package/dist/chunks/chunk.7SLBI5EP.js +0 -30
- package/dist/chunks/chunk.7SQQMJNR.js +0 -1
- package/dist/chunks/chunk.7UWDBFRT.js +0 -1
- package/dist/chunks/chunk.7W6I25NB.js +0 -1
- package/dist/chunks/chunk.A6GLN7RV.js +0 -157
- package/dist/chunks/chunk.ACTAEVBU.js +0 -62
- package/dist/chunks/chunk.ANNK5AL5.js +0 -23
- package/dist/chunks/chunk.B34XIVQZ.js +0 -1
- package/dist/chunks/chunk.B6POOW4T.js +0 -1
- package/dist/chunks/chunk.BL6I47ZQ.js +0 -1
- package/dist/chunks/chunk.BM6R6HEQ.js +0 -1
- package/dist/chunks/chunk.BX3GH3KL.js +0 -51
- package/dist/chunks/chunk.BYFR372D.js +0 -64
- package/dist/chunks/chunk.C2TBND2R.js +0 -1
- package/dist/chunks/chunk.CDF2IKHX.js +0 -1
- package/dist/chunks/chunk.CH4OTUSN.js +0 -1
- package/dist/chunks/chunk.CS34YHPW.js +0 -75
- package/dist/chunks/chunk.CVFM4CTZ.js +0 -1
- package/dist/chunks/chunk.CVHVZQHF.js +0 -55
- package/dist/chunks/chunk.DMGD52HA.js +0 -17
- package/dist/chunks/chunk.DNTGG6CH.js +0 -1
- package/dist/chunks/chunk.DQO5T3TC.js +0 -1
- package/dist/chunks/chunk.DVGRZOZN.js +0 -1
- package/dist/chunks/chunk.E4E5YW6S.js +0 -67
- package/dist/chunks/chunk.EC5X7NCS.js +0 -1
- package/dist/chunks/chunk.EH52QKIC.js +0 -4
- package/dist/chunks/chunk.EMPX6UWB.js +0 -1
- package/dist/chunks/chunk.EXDUEHTD.js +0 -1
- package/dist/chunks/chunk.F6AIFJPN.js +0 -1
- package/dist/chunks/chunk.F7R7YK2O.js +0 -1
- package/dist/chunks/chunk.FARMGJW3.js +0 -1
- package/dist/chunks/chunk.FIWFVJ3D.js +0 -1
- package/dist/chunks/chunk.FNR2LCIP.js +0 -5
- package/dist/chunks/chunk.FQUIUPSV.js +0 -1
- package/dist/chunks/chunk.FSL3CFV7.js +0 -8
- package/dist/chunks/chunk.FTS3NXLZ.js +0 -16
- package/dist/chunks/chunk.G6ZHYUA3.js +0 -1
- package/dist/chunks/chunk.GBM6TJGZ.js +0 -1
- package/dist/chunks/chunk.GMMPKXT2.js +0 -65
- package/dist/chunks/chunk.GTDDKRIN.js +0 -1
- package/dist/chunks/chunk.GV5S63SB.js +0 -1
- package/dist/chunks/chunk.GVXMLVLW.js +0 -121
- package/dist/chunks/chunk.GZVB4XR2.js +0 -1
- package/dist/chunks/chunk.HA3PA5QZ.js +0 -145
- package/dist/chunks/chunk.HFNA3AAG.js +0 -1
- package/dist/chunks/chunk.HGWEW6YY.js +0 -24
- package/dist/chunks/chunk.HJWKRT2R.js +0 -55
- package/dist/chunks/chunk.HLEMQAKN.js +0 -1
- package/dist/chunks/chunk.HV3NQBOM.js +0 -14
- package/dist/chunks/chunk.I24KQBGT.js +0 -1
- package/dist/chunks/chunk.I4XKMXRT.js +0 -1
- package/dist/chunks/chunk.IA2ZHXCK.js +0 -1
- package/dist/chunks/chunk.ILU2FM4L.js +0 -1
- package/dist/chunks/chunk.INVCWNTC.js +0 -41
- package/dist/chunks/chunk.IT5QPTVP.js +0 -1
- package/dist/chunks/chunk.J53MLXIQ.js +0 -1
- package/dist/chunks/chunk.JEE5UHSS.js +0 -1
- package/dist/chunks/chunk.JNX2LPPS.js +0 -1
- package/dist/chunks/chunk.JSEYNLAE.js +0 -48
- package/dist/chunks/chunk.JXF5TQDT.js +0 -1
- package/dist/chunks/chunk.K63TORTJ.js +0 -1
- package/dist/chunks/chunk.KCEHKGQU.js +0 -1
- package/dist/chunks/chunk.KGLV6NBY.js +0 -1
- package/dist/chunks/chunk.KI4IENJB.js +0 -1
- package/dist/chunks/chunk.KLHF3ADP.js +0 -1
- package/dist/chunks/chunk.KN2ZSH5I.js +0 -1
- package/dist/chunks/chunk.KRY24B2Z.js +0 -1
- package/dist/chunks/chunk.KV7QXEB2.js +0 -142
- package/dist/chunks/chunk.L2FOML4Z.js +0 -1
- package/dist/chunks/chunk.L4FZBNJZ.js +0 -20
- package/dist/chunks/chunk.L7ADVOTR.js +0 -1
- package/dist/chunks/chunk.LGQNDGC2.js +0 -22
- package/dist/chunks/chunk.LJ3C6YXE.js +0 -1
- package/dist/chunks/chunk.LLYICQ3I.js +0 -1
- package/dist/chunks/chunk.LT5BSY7X.js +0 -1
- package/dist/chunks/chunk.MBRHBIVR.js +0 -1
- package/dist/chunks/chunk.MJJLSP6W.js +0 -1
- package/dist/chunks/chunk.MQO2Z6JR.js +0 -1
- package/dist/chunks/chunk.MUMOGZM7.js +0 -572
- package/dist/chunks/chunk.MVQVCZMV.js +0 -1
- package/dist/chunks/chunk.MY53SBVE.js +0 -43
- package/dist/chunks/chunk.N2ZA3AN3.js +0 -35
- package/dist/chunks/chunk.NAMM3J43.js +0 -300
- package/dist/chunks/chunk.NQZCGWQT.js +0 -1
- package/dist/chunks/chunk.NSKI4HXF.js +0 -19
- package/dist/chunks/chunk.NTY7GIBX.js +0 -1
- package/dist/chunks/chunk.NX7TNGI4.js +0 -1
- package/dist/chunks/chunk.NZ2EQTLJ.js +0 -1
- package/dist/chunks/chunk.OF5IIYCM.js +0 -1
- package/dist/chunks/chunk.OOOGWVDH.js +0 -1
- package/dist/chunks/chunk.OQU2SEYR.js +0 -1
- package/dist/chunks/chunk.P35VRJSU.js +0 -1
- package/dist/chunks/chunk.PBY3SOJT.js +0 -1
- package/dist/chunks/chunk.PEBGUL65.js +0 -1
- package/dist/chunks/chunk.PHJXLU2K.js +0 -1
- package/dist/chunks/chunk.PHTTNFIA.js +0 -1
- package/dist/chunks/chunk.PICICWOI.js +0 -300
- package/dist/chunks/chunk.PJYZ4R4F.js +0 -1
- package/dist/chunks/chunk.PKYBMF7D.js +0 -30
- package/dist/chunks/chunk.PNIB7OCC.js +0 -1
- package/dist/chunks/chunk.PPDNREE3.js +0 -37
- package/dist/chunks/chunk.PPHWYBMI.js +0 -35
- package/dist/chunks/chunk.PVRQVGN6.js +0 -99
- package/dist/chunks/chunk.QNMFOQMN.js +0 -9
- package/dist/chunks/chunk.QWRFOCPZ.js +0 -1
- package/dist/chunks/chunk.R5KJU6SA.js +0 -47
- package/dist/chunks/chunk.R5YBBFHE.js +0 -11
- package/dist/chunks/chunk.RALU3ZHR.js +0 -1
- package/dist/chunks/chunk.RB2ISNUH.js +0 -11
- package/dist/chunks/chunk.REKHGQMI.js +0 -1
- package/dist/chunks/chunk.RFGG22O7.js +0 -1
- package/dist/chunks/chunk.RFPACV7B.js +0 -760
- package/dist/chunks/chunk.RGRNY7OY.js +0 -1
- package/dist/chunks/chunk.RH5XP3UV.js +0 -1
- package/dist/chunks/chunk.S3L7GNQT.js +0 -1
- package/dist/chunks/chunk.S4TDVG2W.js +0 -1
- package/dist/chunks/chunk.SO45NDQI.js +0 -1
- package/dist/chunks/chunk.SRZGR2LP.js +0 -1
- package/dist/chunks/chunk.SU55MP2P.js +0 -27
- package/dist/chunks/chunk.SUNBQSGV.js +0 -1
- package/dist/chunks/chunk.T4IJSKKI.js +0 -1
- package/dist/chunks/chunk.TISMRXXU.js +0 -1
- package/dist/chunks/chunk.TVNCK67F.js +0 -1
- package/dist/chunks/chunk.TYO47TNX.js +0 -1
- package/dist/chunks/chunk.U2YGT52C.js +0 -74
- package/dist/chunks/chunk.U3QRH2D5.js +0 -25
- package/dist/chunks/chunk.UBGGJOZN.js +0 -1
- package/dist/chunks/chunk.UDLHCCS6.js +0 -1
- package/dist/chunks/chunk.UJSQVL34.js +0 -1
- package/dist/chunks/chunk.USM5KDQR.js +0 -1
- package/dist/chunks/chunk.UTSAP2NZ.js +0 -1
- package/dist/chunks/chunk.V3JACKIW.js +0 -1
- package/dist/chunks/chunk.VGGWQYPT.js +0 -154
- package/dist/chunks/chunk.VOIIKZBP.js +0 -26
- package/dist/chunks/chunk.VR6KDGCO.js +0 -280
- package/dist/chunks/chunk.VYMDLQKW.js +0 -33
- package/dist/chunks/chunk.W43XN23E.js +0 -1
- package/dist/chunks/chunk.W5A5SC27.js +0 -26
- package/dist/chunks/chunk.W5BWSIPL.js +0 -1
- package/dist/chunks/chunk.W7APBRIA.js +0 -43
- package/dist/chunks/chunk.WBPL3IO2.js +0 -1
- package/dist/chunks/chunk.WUOLVIQC.js +0 -1
- package/dist/chunks/chunk.WWCNUU6Q.js +0 -1
- package/dist/chunks/chunk.WZ74OBKA.js +0 -1
- package/dist/chunks/chunk.X2PL4Y4D.js +0 -1
- package/dist/chunks/chunk.XKL57T4O.js +0 -1
- package/dist/chunks/chunk.XMDSQBKG.js +0 -112
- package/dist/chunks/chunk.XMHPYUCZ.js +0 -1155
- package/dist/chunks/chunk.XNB4V2JD.js +0 -9
- package/dist/chunks/chunk.XPKY74HM.js +0 -1
- package/dist/chunks/chunk.XUWJW3FD.js +0 -122
- package/dist/chunks/chunk.XYVKWI2L.js +0 -1
- package/dist/chunks/chunk.Y6JLPDVR.js +0 -1
- package/dist/chunks/chunk.YBLDTPN7.js +0 -1
- package/dist/chunks/chunk.YGK2DL4Z.js +0 -1
- package/dist/chunks/chunk.YIGG3C7R.js +0 -1
- package/dist/chunks/chunk.YJYTTQML.js +0 -1
- package/dist/chunks/chunk.YMDQXJV5.js +0 -1
- package/dist/chunks/chunk.YNS5FOJW.js +0 -1
- package/dist/chunks/chunk.YU2YXPZA.js +0 -20
- package/dist/chunks/chunk.YV46PDX2.js +0 -1
- package/dist/chunks/chunk.YWHOA5CV.js +0 -1
- package/dist/chunks/chunk.YXSAWSTP.js +0 -1
- package/dist/chunks/chunk.ZF2UFMLE.js +0 -1
- package/dist/chunks/chunk.ZJMVR6SU.js +0 -1
- package/dist/chunks/chunk.ZJWPN6CD.js +0 -39
- package/dist/chunks/chunk.ZSBHPO6G.js +0 -1
- package/dist/terra_ui_components-0.0.190-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.190.tar.gz +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import{a as u}from"./chunk.VSQMTGXR.js";import{a as d}from"./chunk.URTV3MIW.js";import{a as c}from"./chunk.X5OPH5X7.js";import{b as h}from"./chunk.UTJA3S5Z.js";import{a as s}from"./chunk.6PEAAW4E.js";import{a as o}from"./chunk.J5Q4TWEG.js";import{a,b as n}from"./chunk.ROAJDBWY.js";import{e as l}from"./chunk.INFVQQSJ.js";import{classMap as m}from"lit/directives/class-map.js";import{html as p}from"lit";import{ifDefined as f}from"lit/directives/if-defined.js";import{live as y}from"lit/directives/live.js";import{property as i,query as C,state as k}from"lit/decorators.js";var e=class extends n{constructor(){super(...arguments);this.formControlController=new h(this,{value:t=>t.checked?t.value||"on":void 0,defaultValue:t=>t.defaultChecked,setValue:(t,r)=>t.checked=r});this.hasSlotController=new s(this,"help-text");this.hasFocus=!1;this.title="";this.name="";this.size="medium";this.disabled=!1;this.checked=!1;this.defaultChecked=!1;this.form="";this.required=!1;this.helpText=""}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("terra-blur")}handleInput(){this.emit("terra-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleClick(){this.checked=!this.checked,this.emit("terra-change")}handleFocus(){this.hasFocus=!0,this.emit("terra-focus")}handleKeyDown(t){t.key==="ArrowLeft"&&(t.preventDefault(),this.checked=!1,this.emit("terra-change"),this.emit("terra-input")),t.key==="ArrowRight"&&(t.preventDefault(),this.checked=!0,this.emit("terra-change"),this.emit("terra-input"))}handleCheckedChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}handleDisabledChange(){this.formControlController.setValidity(!0)}click(){this.input.click()}focus(t){this.input.focus(t)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t=this.hasSlotController.test("help-text"),r=this.helpText?!0:!!t;return p`
|
|
2
|
+
<div
|
|
3
|
+
class=${m({"form-control":!0,"form-control--small":this.size==="small","form-control--medium":this.size==="medium","form-control--large":this.size==="large","form-control--has-help-text":r})}
|
|
4
|
+
>
|
|
5
|
+
<label
|
|
6
|
+
part="base"
|
|
7
|
+
class=${m({toggle:!0,"toggle--checked":this.checked,"toggle--disabled":this.disabled,"toggle--focused":this.hasFocus,"toggle--small":this.size==="small","toggle--medium":this.size==="medium","toggle--large":this.size==="large"})}
|
|
8
|
+
>
|
|
9
|
+
<input
|
|
10
|
+
class="toggle__input"
|
|
11
|
+
type="checkbox"
|
|
12
|
+
title=${this.title}
|
|
13
|
+
name=${this.name}
|
|
14
|
+
value=${f(this.value)}
|
|
15
|
+
.checked=${y(this.checked)}
|
|
16
|
+
.disabled=${this.disabled}
|
|
17
|
+
.required=${this.required}
|
|
18
|
+
role="switch"
|
|
19
|
+
aria-checked=${this.checked?"true":"false"}
|
|
20
|
+
aria-describedby="help-text"
|
|
21
|
+
@click=${this.handleClick}
|
|
22
|
+
@input=${this.handleInput}
|
|
23
|
+
@invalid=${this.handleInvalid}
|
|
24
|
+
@blur=${this.handleBlur}
|
|
25
|
+
@focus=${this.handleFocus}
|
|
26
|
+
@keydown=${this.handleKeyDown}
|
|
27
|
+
/>
|
|
28
|
+
|
|
29
|
+
<span part="control" class="toggle__control">
|
|
30
|
+
<span part="thumb" class="toggle__thumb"></span>
|
|
31
|
+
</span>
|
|
32
|
+
|
|
33
|
+
<div part="label" class="toggle__label">
|
|
34
|
+
<slot></slot>
|
|
35
|
+
</div>
|
|
36
|
+
</label>
|
|
37
|
+
|
|
38
|
+
<div
|
|
39
|
+
aria-hidden=${r?"false":"true"}
|
|
40
|
+
class="form-control__help-text"
|
|
41
|
+
id="help-text"
|
|
42
|
+
part="form-control-help-text"
|
|
43
|
+
>
|
|
44
|
+
<slot name="help-text">${this.helpText}</slot>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
`}};e.styles=[a,c,u],l([C('input[type="checkbox"]')],e.prototype,"input",2),l([k()],e.prototype,"hasFocus",2),l([i()],e.prototype,"title",2),l([i()],e.prototype,"name",2),l([i()],e.prototype,"value",2),l([i({reflect:!0})],e.prototype,"size",2),l([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),l([i({type:Boolean,reflect:!0})],e.prototype,"checked",2),l([d("checked")],e.prototype,"defaultChecked",2),l([i({reflect:!0})],e.prototype,"form",2),l([i({type:Boolean,reflect:!0})],e.prototype,"required",2),l([i({attribute:"help-text"})],e.prototype,"helpText",2),l([o("checked",{waitUntilFirstUpdate:!0})],e.prototype,"handleCheckedChange",1),l([o("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1);export{e as a};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import{a as c}from"./chunk.XOXHOZNI.js";import{a as s}from"./chunk.U42TLCPB.js";import{a as m,b as u}from"./chunk.ROAJDBWY.js";import{e as i}from"./chunk.INFVQQSJ.js";import{html as f}from"lit";import{property as n}from"lit/decorators.js";var a=class extends u{constructor(){super(...arguments);this.variant="information";this.duration=3e3;this.closable=!0}get alert(){return this.shadowRoot?this.shadowRoot.querySelector("terra-alert"):null}firstUpdated(){let t=this.alert;t&&(t.addEventListener("terra-show",()=>this.emit("terra-show")),t.addEventListener("terra-after-show",()=>this.emit("terra-after-show")),t.addEventListener("terra-hide",()=>this.emit("terra-hide")),t.addEventListener("terra-after-hide",()=>this.emit("terra-after-hide")))}async toast(){return new Promise(async t=>{await this.updateComplete,this.shadowRoot||await this.updateComplete;let r=this.alert;if(r||(await customElements.whenDefined("terra-alert"),await this.updateComplete,r=this.alert),!r){t();return}await r.updateComplete;let e=s.toastStack;e.parentElement===null&&document.body.append(e),e.appendChild(this),requestAnimationFrame(async()=>{this.clientWidth,await this.updateComplete,await r.updateComplete,r.open||await r.show()}),this.addEventListener("terra-after-hide",()=>{e.contains(this)&&e.removeChild(this),t(),e.querySelector("terra-toast")===null&&e.querySelector("terra-alert")===null&&e.remove()},{once:!0})})}async show(){await this.updateComplete;let t=this.alert;if(!t)throw new Error("TerraToast: Alert element not found");return await t.updateComplete,t.show()}async hide(){await this.updateComplete;let t=this.alert;if(!t)throw new Error("TerraToast: Alert element not found");return await t.updateComplete,t.hide()}static async notify(t,r="information",e,p=3e3){let l=h=>{let d=document.createElement("div");return d.textContent=h,d.innerHTML},o=Object.assign(document.createElement("terra-toast"),{variant:r,duration:p,closable:!0,innerHTML:e?`
|
|
2
|
+
<terra-icon name="${e}" slot="icon" library="heroicons"></terra-icon>
|
|
3
|
+
${l(t)}
|
|
4
|
+
`:l(t)});return document.body.append(o),await customElements.whenDefined("terra-toast"),await o.updateComplete,o.toast()}render(){return f`
|
|
5
|
+
<terra-alert
|
|
6
|
+
part="base"
|
|
7
|
+
exportparts="base:base__base, icon:base__icon, message:base__message"
|
|
8
|
+
variant=${this.variant}
|
|
9
|
+
duration=${this.duration}
|
|
10
|
+
closable=${this.closable}
|
|
11
|
+
countdown=${this.countdown||""}
|
|
12
|
+
appearance="filled"
|
|
13
|
+
>
|
|
14
|
+
<slot name="icon" slot="icon"></slot>
|
|
15
|
+
<slot></slot>
|
|
16
|
+
</terra-alert>
|
|
17
|
+
`}};a.styles=[m,c],a.dependencies={"terra-alert":s},i([n({reflect:!0})],a.prototype,"variant",2),i([n({type:Number})],a.prototype,"duration",2),i([n({type:Boolean,reflect:!0})],a.prototype,"closable",2),i([n({type:String,reflect:!0})],a.prototype,"countdown",2);export{a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk.5YPHEG75.js";var d=e;e.define("terra-slider");export{d as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk.ZL3KC4DQ.js";var T=e;e.define("terra-tab");export{T as a};
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import{a as w}from"./chunk.WGF6ZBTK.js";import{a as C}from"./chunk.URTV3MIW.js";import{a as _}from"./chunk.X5OPH5X7.js";import{b as g}from"./chunk.UTJA3S5Z.js";import{a as x}from"./chunk.INQGHKNR.js";import{a as b}from"./chunk.6PEAAW4E.js";import{a as p}from"./chunk.J5Q4TWEG.js";import{a as v,b as y}from"./chunk.ROAJDBWY.js";import{e as i}from"./chunk.INFVQQSJ.js";import{property as s,query as M,state as $}from"lit/decorators.js";import{classMap as V}from"lit/directives/class-map.js";import{html as o}from"lit";import{ifDefined as l}from"lit/directives/if-defined.js";import{live as k}from"lit/directives/live.js";var e=class extends y{constructor(){super(...arguments);this.formControlController=new g(this,{value:t=>t.value,defaultValue:t=>t.defaultValue,setValue:(t,a)=>t.value=a});this.hasSlotController=new b(this,"help-text","error","clear-icon","show-password-icon","hide-password-icon");this.hasFocus=!1;this.validationErrorMessage="";this.__numberInput=Object.assign(document.createElement("input"),{type:"number"});this.__dateInput=Object.assign(document.createElement("input"),{type:"date"});this.title="";this.type="text";this.name="";this.value="";this.placeholder="";this.size="medium";this.filled=!1;this.pill=!1;this.disabled=!1;this.readonly=!1;this.required=!1;this.inputMode="text";this.label="";this.hideLabel=!1;this.helpText="";this.errorText="";this.clearable=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.noSpinButtons=!1;this.autofocus=!1;this.spellcheck=!0;this.defaultValue="";this.resettable=!1;this.form=""}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}get valueAsDate(){var t;return this.__dateInput.type=this.type,this.__dateInput.value=this.value,((t=this.input)==null?void 0:t.valueAsDate)||this.__dateInput.valueAsDate}set valueAsDate(t){this.__dateInput.type=this.type,this.__dateInput.valueAsDate=t,this.value=this.__dateInput.value}get valueAsNumber(){var t;return this.__numberInput.value=this.value,((t=this.input)==null?void 0:t.valueAsNumber)||this.__numberInput.valueAsNumber}set valueAsNumber(t){this.__numberInput.valueAsNumber=t,this.value=this.__numberInput.value}firstUpdated(){this.formControlController.updateValidity()}handleInput(){this.value=this.input.value,this.formControlController.updateValidity(),this.updateValidationErrorMessage(),this.emit("terra-input")}handleChange(){this.value=this.input.value,this.formControlController.updateValidity(),this.emit("terra-change")}handleInvalid(t){this.formControlController.setValidity(!1),this.updateValidationErrorMessage(),this.formControlController.emitInvalidEvent(t)}handleFocus(){this.hasFocus=!0,this.emit("terra-focus")}handleBlur(){this.hasFocus=!1,this.formControlController.updateValidity(),this.updateValidationErrorMessage(),this.emit("terra-blur")}handleKeyDown(t){let a=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;t.key==="Enter"&&!a&&setTimeout(()=>{!t.defaultPrevented&&!t.isComposing&&this.formControlController.submit()})}updateValidationErrorMessage(){this.input?this.input.validity.valid?this.validationErrorMessage="":this.validationErrorMessage=this.input.validationMessage:this.validationErrorMessage=""}handleReset(t){t.preventDefault(),t.stopPropagation(),!(this.disabled||this.readonly)&&(this.value=this.defaultValue||"",this.input.value=this.value,this.formControlController.updateValidity(),this.emit("terra-change"),this.input.focus())}handleClearClick(t){t.preventDefault(),this.value!==""&&(this.value="",this.emit("terra-clear"),this.emit("terra-input"),this.emit("terra-change")),this.input.focus()}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input&&(this.input.step=String(this.step),this.formControlController.updateValidity())}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.input.focus(t)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(t,a,r="none"){this.input.setSelectionRange(t,a,r)}setRangeText(t,a,r,n="preserve"){let d=a!=null?a:this.input.selectionStart,h=r!=null?r:this.input.selectionEnd;this.input.setRangeText(t,d,h,n),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}render(){let t=this.querySelector('[slot="prefix"]')!==null,a=this.querySelector('[slot="suffix"]')!==null,r=this.hasSlotController.test("help-text"),n=this.helpText?!0:!!r,d=this.hasSlotController.test("error"),h=this.hasAttribute("data-user-invalid"),u=h&&(this.errorText||d||this.validationErrorMessage),E=h&&(this.errorText||this.validationErrorMessage)||"",m=this.clearable&&!this.disabled&&!this.readonly,f=m&&(typeof this.value=="number"||this.value.length>0),c=this.resettable&&!this.clearable&&this.value!==""&&this.value!==this.defaultValue&&this.type!=="search",S=m||c||this.passwordToggle&&this.type==="password"||a;return o`
|
|
2
|
+
<div
|
|
3
|
+
part="form-control"
|
|
4
|
+
class=${V({"form-control":!0,"form-control--small":this.size==="small","form-control--medium":this.size==="medium","form-control--large":this.size==="large","form-control--has-help-text":n&&!u,"form-control--has-error-text":u})}
|
|
5
|
+
>
|
|
6
|
+
${this.label?o`
|
|
7
|
+
<label
|
|
8
|
+
for="input"
|
|
9
|
+
part="form-control-label"
|
|
10
|
+
class=${this.hideLabel?"input__label input__label--hidden":"input__label"}
|
|
11
|
+
>
|
|
12
|
+
${this.label}
|
|
13
|
+
${this.required?o`<span class="input__required-indicator"
|
|
14
|
+
>*</span
|
|
15
|
+
>`:""}
|
|
16
|
+
</label>
|
|
17
|
+
`:""}
|
|
18
|
+
|
|
19
|
+
<div part="form-control-input" class="form-control-input">
|
|
20
|
+
<div
|
|
21
|
+
part="base"
|
|
22
|
+
class=${V({input:!0,"input--small":this.size==="small","input--medium":this.size==="medium","input--large":this.size==="large","input--pill":this.pill,"input--standard":!this.filled,"input--filled":this.filled,"input--disabled":this.disabled,"input--focused":this.hasFocus,"input--empty":!this.value,"input--no-spin-buttons":this.noSpinButtons,"input--has-prefix":t,"input--has-suffix":S})}
|
|
23
|
+
>
|
|
24
|
+
${t?o`
|
|
25
|
+
<span part="prefix" class="input__prefix">
|
|
26
|
+
<slot name="prefix"></slot>
|
|
27
|
+
</span>
|
|
28
|
+
`:""}
|
|
29
|
+
|
|
30
|
+
<input
|
|
31
|
+
part="input"
|
|
32
|
+
id="input"
|
|
33
|
+
class="input__control"
|
|
34
|
+
type=${this.type==="password"&&this.passwordVisible?"text":this.type}
|
|
35
|
+
title=${this.title}
|
|
36
|
+
name=${l(this.name||void 0)}
|
|
37
|
+
?disabled=${this.disabled}
|
|
38
|
+
?readonly=${this.readonly}
|
|
39
|
+
?required=${this.required}
|
|
40
|
+
placeholder=${l(this.placeholder||void 0)}
|
|
41
|
+
minlength=${l(this.minlength)}
|
|
42
|
+
maxlength=${l(this.maxlength)}
|
|
43
|
+
min=${l(this.min)}
|
|
44
|
+
max=${l(this.max)}
|
|
45
|
+
step=${l(this.step)}
|
|
46
|
+
.value=${k(this.value)}
|
|
47
|
+
autocapitalize=${l(this.getAttribute("autocapitalize"))}
|
|
48
|
+
autocomplete=${l(this.autocomplete)}
|
|
49
|
+
autocorrect=${l(this.getAttribute("autocorrect"))}
|
|
50
|
+
?autofocus=${this.autofocus}
|
|
51
|
+
spellcheck=${this.spellcheck}
|
|
52
|
+
pattern=${l(this.pattern)}
|
|
53
|
+
enterkeyhint=${l(this.enterkeyhint)}
|
|
54
|
+
inputmode=${l(this.inputMode)}
|
|
55
|
+
aria-describedby=${u?"error-text":n?"help-text":void 0}
|
|
56
|
+
aria-invalid=${u?"true":void 0}
|
|
57
|
+
@input=${this.handleInput}
|
|
58
|
+
@change=${this.handleChange}
|
|
59
|
+
@invalid=${this.handleInvalid}
|
|
60
|
+
@focus=${this.handleFocus}
|
|
61
|
+
@blur=${this.handleBlur}
|
|
62
|
+
@keydown=${this.handleKeyDown}
|
|
63
|
+
/>
|
|
64
|
+
|
|
65
|
+
${f?o`
|
|
66
|
+
<button
|
|
67
|
+
part="clear-button"
|
|
68
|
+
class="input__clear"
|
|
69
|
+
type="button"
|
|
70
|
+
aria-label="Clear input"
|
|
71
|
+
@click=${this.handleClearClick}
|
|
72
|
+
tabindex="-1"
|
|
73
|
+
>
|
|
74
|
+
<slot name="clear-icon">
|
|
75
|
+
<terra-icon
|
|
76
|
+
name="solid-x-circle"
|
|
77
|
+
library="heroicons"
|
|
78
|
+
font-size="1.2rem"
|
|
79
|
+
></terra-icon>
|
|
80
|
+
</slot>
|
|
81
|
+
</button>
|
|
82
|
+
`:""}
|
|
83
|
+
${this.passwordToggle&&this.type==="password"&&!this.disabled?o`
|
|
84
|
+
<button
|
|
85
|
+
part="password-toggle-button"
|
|
86
|
+
class="input__password-toggle"
|
|
87
|
+
type="button"
|
|
88
|
+
aria-label=${this.passwordVisible?"Hide password":"Show password"}
|
|
89
|
+
@click=${this.handlePasswordToggle}
|
|
90
|
+
tabindex="-1"
|
|
91
|
+
>
|
|
92
|
+
${this.passwordVisible?o`
|
|
93
|
+
<slot name="show-password-icon">
|
|
94
|
+
<terra-icon
|
|
95
|
+
name="solid-eye-slash"
|
|
96
|
+
library="heroicons"
|
|
97
|
+
></terra-icon>
|
|
98
|
+
</slot>
|
|
99
|
+
`:o`
|
|
100
|
+
<slot name="hide-password-icon">
|
|
101
|
+
<terra-icon
|
|
102
|
+
name="solid-eye"
|
|
103
|
+
library="heroicons"
|
|
104
|
+
></terra-icon>
|
|
105
|
+
</slot>
|
|
106
|
+
`}
|
|
107
|
+
</button>
|
|
108
|
+
`:""}
|
|
109
|
+
${c?o`
|
|
110
|
+
<button
|
|
111
|
+
type="button"
|
|
112
|
+
class="input__reset"
|
|
113
|
+
@click=${this.handleReset}
|
|
114
|
+
?disabled=${this.disabled||this.readonly}
|
|
115
|
+
aria-label="Clear input"
|
|
116
|
+
tabindex="-1"
|
|
117
|
+
>
|
|
118
|
+
<terra-icon
|
|
119
|
+
name="solid-x-circle"
|
|
120
|
+
library="heroicons"
|
|
121
|
+
font-size="1.2rem"
|
|
122
|
+
></terra-icon>
|
|
123
|
+
</button>
|
|
124
|
+
`:""}
|
|
125
|
+
${a&&!f&&!c&&!(this.passwordToggle&&this.type==="password")?o`
|
|
126
|
+
<span part="suffix" class="input__suffix">
|
|
127
|
+
<slot name="suffix"></slot>
|
|
128
|
+
</span>
|
|
129
|
+
`:""}
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
${u?o`
|
|
134
|
+
<div
|
|
135
|
+
aria-live="polite"
|
|
136
|
+
aria-hidden="false"
|
|
137
|
+
class="form-control__error-text"
|
|
138
|
+
id="error-text"
|
|
139
|
+
part="form-control-error-text"
|
|
140
|
+
>
|
|
141
|
+
<slot name="error">${E}</slot>
|
|
142
|
+
</div>
|
|
143
|
+
`:n?o`
|
|
144
|
+
<div
|
|
145
|
+
aria-hidden="false"
|
|
146
|
+
class="form-control__help-text"
|
|
147
|
+
id="help-text"
|
|
148
|
+
part="form-control-help-text"
|
|
149
|
+
>
|
|
150
|
+
<slot name="help-text">${this.helpText}</slot>
|
|
151
|
+
</div>
|
|
152
|
+
`:""}
|
|
153
|
+
</div>
|
|
154
|
+
`}};e.styles=[v,_,w],e.dependencies={"terra-icon":x},i([M(".input__control")],e.prototype,"input",2),i([$()],e.prototype,"hasFocus",2),i([$()],e.prototype,"validationErrorMessage",2),i([s()],e.prototype,"title",2),i([s({reflect:!0})],e.prototype,"type",2),i([s()],e.prototype,"name",2),i([s()],e.prototype,"value",2),i([s()],e.prototype,"placeholder",2),i([s({reflect:!0})],e.prototype,"size",2),i([s({type:Boolean,reflect:!0})],e.prototype,"filled",2),i([s({type:Boolean,reflect:!0})],e.prototype,"pill",2),i([s({type:Boolean,reflect:!0})],e.prototype,"disabled",2),i([s({type:Boolean,reflect:!0})],e.prototype,"readonly",2),i([s({type:Boolean,reflect:!0})],e.prototype,"required",2),i([s()],e.prototype,"autocomplete",2),i([s({type:Number})],e.prototype,"minlength",2),i([s({type:Number})],e.prototype,"maxlength",2),i([s()],e.prototype,"min",2),i([s()],e.prototype,"max",2),i([s()],e.prototype,"step",2),i([s()],e.prototype,"pattern",2),i([s({attribute:"input-mode"})],e.prototype,"inputMode",2),i([s()],e.prototype,"label",2),i([s({attribute:"hide-label",type:Boolean})],e.prototype,"hideLabel",2),i([s({attribute:"help-text"})],e.prototype,"helpText",2),i([s({attribute:"error-text"})],e.prototype,"errorText",2),i([s({type:Boolean})],e.prototype,"clearable",2),i([s({attribute:"password-toggle",type:Boolean})],e.prototype,"passwordToggle",2),i([s({attribute:"password-visible",type:Boolean})],e.prototype,"passwordVisible",2),i([s({attribute:"no-spin-buttons",type:Boolean})],e.prototype,"noSpinButtons",2),i([s({type:Boolean})],e.prototype,"autofocus",2),i([s()],e.prototype,"enterkeyhint",2),i([s({type:Boolean,converter:{fromAttribute:t=>!(!t||t==="false"),toAttribute:t=>t?"true":"false"}})],e.prototype,"spellcheck",2),i([C("value")],e.prototype,"defaultValue",2),i([s({type:Boolean,reflect:!0})],e.prototype,"resettable",2),i([s({reflect:!0})],e.prototype,"form",2),i([p("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),i([p("step",{waitUntilFirstUpdate:!0})],e.prototype,"handleStepChange",1),i([p("value",{waitUntilFirstUpdate:!0})],e.prototype,"handleValueChange",1);export{e as a};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import{a as r}from"./chunk.3HLTQ7HX.js";import{a as f}from"./chunk.Y4QBAUPW.js";import{a as m}from"./chunk.L5A5OIFC.js";import{a as d}from"./chunk.IZZFNAC5.js";import{a as c}from"./chunk.NWPIYKNB.js";import{a as g}from"./chunk.MYXTSWP6.js";import{a as h,b as u}from"./chunk.ROAJDBWY.js";import{e as a}from"./chunk.INFVQQSJ.js";import{html as l,nothing as p}from"lit";import{property as s,query as w,state as b}from"lit/decorators.js";import{createRef as _,ref as y}from"lit/directives/ref.js";var i=class extends u{constructor(){super(...arguments);this.minZoom=0;this.maxZoom=23;this.zoom=1;this.hasNavigation=!0;this.hasCoordTracker=!0;this.hasShapeSelector=!1;this.showBoundingBoxSelection=!0;this.showPolygonSelection=!1;this.showPointSelection=!0;this.initialValue="";this.hideLabel=!1;this.label="Select Region";this.spatialConstraints="-180, -90, 180, 90";this.isExpanded=!1;this.worldWrap=!1;this.inline=!1;this.showMapOnFocus=!1;this.urlState=!1;this.helpText="";this.showClose=!1;this.error="";this.dropdownRef=_()}set hideBoundingBoxSelection(t){console.warn('"hide-bounding-box-selection" is deprecated. Use "show-bounding-box-selection" instead.'),this.showBoundingBoxSelection=!t}get hideBoundingBoxSelection(){return!this.showBoundingBoxSelection}set hidePointSelection(t){console.warn('"hide-point-selection" is deprecated. Use "show-point-selection" instead.'),this.showPointSelection=!t}get hidePointSelection(){return!this.showPointSelection}get _allowedTypes(){return{allowPoint:this.showPointSelection,allowBbox:this.showBoundingBoxSelection}}firstUpdated(){let e=new URLSearchParams(window.location.search).get("spatial"),o=this.urlState&&e?e:this.initialValue;o&&(typeof o=="string"?this._applyValue(o,{emit:!1}):this._commit(r.serialize(o),o))}setValue(t){this._applyValue(t,{emit:!0})}clear(){this._clearValue()}open(){var t;this.inline||(t=this.dropdownRef.value)==null||t.show()}close(){var t;this.inline||(t=this.dropdownRef.value)==null||t.hide()}setOpen(t){t?this.open():this.close()}_input(){var t;this.error="",(t=this.terraInput)==null||t.setCustomValidity("")}_change(){var e,o;this._input();let t=(o=(e=this.terraInput)==null?void 0:e.value)!=null?o:"";if(!t.trim()){this._clearValue();return}this._validateAndCommit(t)}_keydown(t){var e,o,n;if(t.key===" "){t.stopPropagation();return}t.key==="Enter"&&(t.preventDefault(),this._validateAndCommit((o=(e=this.terraInput)==null?void 0:e.value)!=null?o:""),(n=this.terraInput)==null||n.blur())}_blur(){var t,e;this._validateAndCommit((e=(t=this.terraInput)==null?void 0:t.value)!=null?e:"")}_focus(){var t;this.showMapOnFocus&&!this.inline&&((t=this.dropdownRef.value)==null||t.show())}_click(t){t.stopPropagation(),this.inline||(this.isExpanded?this.close():this.open())}_handleMapChange(t){let e=t.detail;if(e.cause==="clear"){this._clearValue();return}if(e.cause!=="draw")return;let o;if(e.type==="bbox"&&e.bounds)o=e.bounds;else if(e.type==="point"&&e.latLng)o=e.latLng;else{this.emit("terra-map-change",{detail:e});return}let n=r.validateConstraints(o,this.spatialConstraints);if(n){this.error=n,this.mapValue=void 0;return}let v=r.serialize(o);this._commit(v,o)}handleDropdownShow(){this.isExpanded=!0}handleDropdownHide(){this.isExpanded=!1}_validateAndCommit(t){var o;if(!t.trim()){this._clearValue();return}let e=r.validate(t,this._allowedTypes,this.spatialConstraints);if(!e.ok){this.error=e.error,(o=this.terraInput)==null||o.setCustomValidity(e.error);return}this._commit(e.serialized,e.value)}_applyValue(t,{emit:e}){if(typeof t!="string"){let n=r.serialize(t);this.error="",this.mapValue=n,this.terraInput&&(this.terraInput.value=n),e&&this._emitChange(t),this._updateURLParam(n);return}let o=r.validate(t,this._allowedTypes,this.spatialConstraints);if(!o.ok){this.error=o.error;return}this.error="",this.mapValue=o.serialized,this.terraInput&&(this.terraInput.value=o.serialized),e&&this._emitChange(o.value),this._updateURLParam(o.serialized)}_commit(t,e){var o;this.error="",(o=this.terraInput)==null||o.setCustomValidity(""),this.mapValue=t,this.terraInput&&(this.terraInput.value=t),this.initialValue=t,this._updateURLParam(t),this._emitChange(e)}_clearValue(){var t;this.error="",this.mapValue=void 0,(t=this.terraInput)==null||t.setCustomValidity(""),this.terraInput&&(this.terraInput.value=""),this._updateURLParam(null)}_emitChange(t){t instanceof d?this.emit("terra-map-change",{detail:{cause:"draw",type:"point",latLng:t}}):this.emit("terra-map-change",{detail:{cause:"draw",type:"bbox",bounds:t}})}_updateURLParam(t){if(!this.urlState)return;let e=new URL(window.location.href);t?e.searchParams.set("spatial",t):e.searchParams.delete("spatial"),window.history.replaceState({},"",e.toString())}renderMap(){return l`<terra-map
|
|
2
|
+
class="${this.inline?"inline":""}"
|
|
3
|
+
exportparts="map"
|
|
4
|
+
min-zoom=${this.minZoom}
|
|
5
|
+
max-zoom=${this.maxZoom}
|
|
6
|
+
zoom=${this.zoom}
|
|
7
|
+
?show-mouse-coordinates=${this.hasCoordTracker}
|
|
8
|
+
.value=${this.mapValue}
|
|
9
|
+
?has-navigation=${this.hasNavigation}
|
|
10
|
+
?has-shape-selector=${this.hasShapeSelector}
|
|
11
|
+
?show-bounding-box-selection=${this.showBoundingBoxSelection}
|
|
12
|
+
?show-polygon-selection=${this.showPolygonSelection}
|
|
13
|
+
?show-point-selection=${this.showPointSelection}
|
|
14
|
+
?no-world-wrap=${!this.worldWrap}
|
|
15
|
+
spatial-constraints=${this.spatialConstraints}
|
|
16
|
+
@terra-map-change=${this._handleMapChange}
|
|
17
|
+
></terra-map>`}_inputTemplate(t){return l`<terra-input
|
|
18
|
+
slot=${t!=null?t:p}
|
|
19
|
+
.label=${this.label}
|
|
20
|
+
.hideLabel=${this.hideLabel}
|
|
21
|
+
.value=${r.serialize(this.initialValue)}
|
|
22
|
+
placeholder="${this.spatialConstraints}"
|
|
23
|
+
aria-controls="map"
|
|
24
|
+
aria-expanded=${this.inline?!0:this.isExpanded}
|
|
25
|
+
@terra-input=${this._input}
|
|
26
|
+
@terra-change=${this._change}
|
|
27
|
+
@terra-blur=${this._blur}
|
|
28
|
+
@terra-focus=${this._focus}
|
|
29
|
+
@keydown=${this._keydown}
|
|
30
|
+
@click=${e=>{e.stopPropagation(),this._click(e)}}
|
|
31
|
+
name="spatial"
|
|
32
|
+
.helpText=${this.helpText}
|
|
33
|
+
>
|
|
34
|
+
<div slot="suffix" class="spatial-picker__suffix-icons">
|
|
35
|
+
${this.mapValue?l`<button
|
|
36
|
+
type="button"
|
|
37
|
+
class="spatial-picker__clear-btn"
|
|
38
|
+
aria-label="Clear input"
|
|
39
|
+
tabindex="-1"
|
|
40
|
+
@click=${e=>{e.stopPropagation(),this._clearValue()}}
|
|
41
|
+
>
|
|
42
|
+
<svg
|
|
43
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
44
|
+
viewBox="0 0 24 24"
|
|
45
|
+
fill="currentColor"
|
|
46
|
+
>
|
|
47
|
+
<path
|
|
48
|
+
fill-rule="evenodd"
|
|
49
|
+
d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.72 6.97a.75.75 0 1 0-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06L12 13.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L13.06 12l1.72-1.72a.75.75 0 1 0-1.06-1.06L12 10.94l-1.72-1.72Z"
|
|
50
|
+
clip-rule="evenodd"
|
|
51
|
+
/>
|
|
52
|
+
</svg>
|
|
53
|
+
</button>`:p}
|
|
54
|
+
<svg
|
|
55
|
+
class="spatial-picker__input_icon"
|
|
56
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
57
|
+
fill="none"
|
|
58
|
+
viewBox="0 0 24 24"
|
|
59
|
+
stroke-width="1.5"
|
|
60
|
+
stroke="currentColor"
|
|
61
|
+
@click=${this._click}
|
|
62
|
+
>
|
|
63
|
+
<path
|
|
64
|
+
stroke-linecap="round"
|
|
65
|
+
stroke-linejoin="round"
|
|
66
|
+
d="M9 6.75V15m6-6v8.25m.503 3.498 4.875-2.437c.381-.19.622-.58.622-1.006V4.82c0-.836-.88-1.38-1.628-1.006l-3.869 1.934c-.317.159-.69.159-1.006 0L9.503 3.252a1.125 1.125 0 0 0-1.006 0L3.622 5.689C3.24 5.88 3 6.27 3 6.695V19.18c0 .836.88 1.38 1.628 1.006l3.869-1.934c.317-.159.69-.159 1.006 0l4.994 2.497c.317.158.69.158 1.006 0Z"
|
|
67
|
+
/>
|
|
68
|
+
</svg>
|
|
69
|
+
</div>
|
|
70
|
+
</terra-input>`}render(){return this.inline?l`
|
|
71
|
+
<div class="spatial-picker">
|
|
72
|
+
${this._inputTemplate()}
|
|
73
|
+
<slot name="additional-text"></slot>
|
|
74
|
+
<div
|
|
75
|
+
class="spatial-picker__map-container spatial-picker__map-container--inline"
|
|
76
|
+
>
|
|
77
|
+
${this.renderMap()}
|
|
78
|
+
</div>
|
|
79
|
+
${this.error?l`<div class="spatial-picker__error">${this.error}</div>`:p}
|
|
80
|
+
</div>
|
|
81
|
+
`:l`
|
|
82
|
+
<div class="spatial-picker">
|
|
83
|
+
<terra-dropdown
|
|
84
|
+
${y(this.dropdownRef)}
|
|
85
|
+
placement="bottom-start"
|
|
86
|
+
distance="4"
|
|
87
|
+
@terra-show=${this.handleDropdownShow}
|
|
88
|
+
@terra-hide=${this.handleDropdownHide}
|
|
89
|
+
hoist
|
|
90
|
+
>
|
|
91
|
+
${this._inputTemplate("trigger")}
|
|
92
|
+
<slot name="additional-text"></slot>
|
|
93
|
+
<div
|
|
94
|
+
class="spatial-picker__map-container"
|
|
95
|
+
@click=${t=>t.stopPropagation()}
|
|
96
|
+
>
|
|
97
|
+
${this.showClose?l`
|
|
98
|
+
<div class="dropdown-header">
|
|
99
|
+
<button
|
|
100
|
+
class="spatial-picker__close-btn"
|
|
101
|
+
@click=${t=>{t.stopPropagation(),this.close()}}
|
|
102
|
+
aria-label="Close"
|
|
103
|
+
>
|
|
104
|
+
✕
|
|
105
|
+
</button>
|
|
106
|
+
</div>
|
|
107
|
+
`:p}
|
|
108
|
+
${this.renderMap()}
|
|
109
|
+
</div>
|
|
110
|
+
</terra-dropdown>
|
|
111
|
+
${this.error?l`<div class="spatial-picker__error">${this.error}</div>`:p}
|
|
112
|
+
</div>
|
|
113
|
+
`}};i.styles=[h,f],i.dependencies={"terra-map":m,"terra-input":g,"terra-dropdown":c},a([s({attribute:"min-zoom",type:Number})],i.prototype,"minZoom",2),a([s({attribute:"max-zoom",type:Number})],i.prototype,"maxZoom",2),a([s({type:Number})],i.prototype,"zoom",2),a([s({attribute:"has-navigation",type:Boolean})],i.prototype,"hasNavigation",2),a([s({attribute:"has-coord-tracker",type:Boolean})],i.prototype,"hasCoordTracker",2),a([s({attribute:"has-shape-selector",type:Boolean})],i.prototype,"hasShapeSelector",2),a([s({attribute:"show-bounding-box-selection",type:Boolean})],i.prototype,"showBoundingBoxSelection",2),a([s({attribute:"show-polygon-selection",type:Boolean})],i.prototype,"showPolygonSelection",2),a([s({attribute:"hide-bounding-box-selection",type:Boolean})],i.prototype,"hideBoundingBoxSelection",1),a([s({attribute:"show-point-selection",type:Boolean})],i.prototype,"showPointSelection",2),a([s({attribute:"hide-point-selection",type:Boolean})],i.prototype,"hidePointSelection",1),a([s({attribute:"initial-value"})],i.prototype,"initialValue",2),a([s({attribute:"hide-label",type:Boolean})],i.prototype,"hideLabel",2),a([s()],i.prototype,"label",2),a([s({attribute:"spatial-constraints"})],i.prototype,"spatialConstraints",2),a([s({attribute:"is-expanded",type:Boolean,reflect:!0})],i.prototype,"isExpanded",2),a([s({attribute:"world-wrap",type:Boolean})],i.prototype,"worldWrap",2),a([s({type:Boolean})],i.prototype,"inline",2),a([s({attribute:"show-map-on-focus",type:Boolean})],i.prototype,"showMapOnFocus",2),a([s({attribute:"url-state",type:Boolean})],i.prototype,"urlState",2),a([s({attribute:"help-text"})],i.prototype,"helpText",2),a([s({attribute:"closable",type:Boolean})],i.prototype,"showClose",2),a([b()],i.prototype,"mapValue",2),a([b()],i.prototype,"error",2),a([w("terra-input")],i.prototype,"terraInput",2),a([w("terra-map")],i.prototype,"map",2);export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as u}from"./chunk.3OKIF2KP.js";import{a as m}from"./chunk.BF5VMLO3.js";import{f as i,g as p,h as y}from"./chunk.INFVQQSJ.js";var r,f=class{constructor(t){p(this,r,void 0);y(this,r,new m(t,()=>u()))}get taskComplete(){var t,e;return(e=(t=i(this,r).result)==null?void 0:t.isSuccess)!=null?e:!1}get value(){var t;return(t=i(this,r).result)==null?void 0:t.data}get taskStatus(){var t,e,a;return(t=i(this,r).result)!=null&&t.isError?"ERROR":(e=i(this,r).result)!=null&&e.isSuccess?"COMPLETE":(a=i(this,r).result)!=null&&a.isPending?"PENDING":"INITIAL"}render(t){var a,s,l,o;let e=i(this,r).result;return!e||e.isPending&&e.fetchStatus==="idle"?(a=t.initial)==null?void 0:a.call(t):e.isPending||e.isFetching?(s=t.pending)==null?void 0:s.call(t):e.isError?(l=t.error)==null?void 0:l.call(t,e.error):(o=t.complete)==null?void 0:o.call(t,e.data)}};r=new WeakMap;export{f as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk.VVD6IBEH.js";import*as t from"react";import{createComponent as r}from"@lit/react";import"@lit/react";var a="terra-menu";e.define("terra-menu");var n=r({tagName:a,elementClass:e,react:t,events:{onTerraSelect:"terra-select"},displayName:"TerraMenu"}),l=n;export{l as a};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import{a as J}from"./chunk.22TWFDJS.js";import{a as R,b as S,c as q,e as E,f as N,g as z}from"./chunk.A6SIGE3C.js";import{a as X}from"./chunk.HRWEJEUM.js";import{a as j}from"./chunk.6QHJZKK3.js";import{a as K}from"./chunk.6FC5HIHI.js";import{a as P}from"./chunk.J5Q4TWEG.js";import{a as A,b as G}from"./chunk.ROAJDBWY.js";import{a as O,b as U,e as r,f as t,g as n,h as c,i as D}from"./chunk.INFVQQSJ.js";import Z from"fuse.js";import{LitElement as V,html as h,nothing as y}from"lit";import{property as p,state as L}from"lit/decorators.js";import{cache as _}from"lit/directives/cache.js";import{map as C}from"lit/directives/map.js";import{ref as F}from"lit/directives/ref.js";var o,u,g,d,f,m,x,b,k,T,M,w,v,$,H,Y,s=class s extends G{constructor(){super(...arguments);n(this,H);n(this,o,null);n(this,u,void 0);n(this,g,[]);n(this,d,null);n(this,f,null);n(this,m,null);n(this,x,null);this.label="Search for Variables";this.hideHelp=!1;this.hideLabel=!1;this.useTags=!1;this.isExpanded=!1;this.query=s.initialQuery;this.searchResults=[];this.tags=[];this.tagContainerWidth=0;n(this,b,a=>{this.emit("terra-combobox-change",{detail:JSON.parse(a)})});n(this,k,()=>{var a;this.isExpanded=!this.isExpanded,(a=t(this,o))==null||a.focus()});n(this,T,a=>{var i;let e=a.target;this.query=e.value,e.value&&(this.isExpanded=!0),this.searchResults=(i=t(this,f))==null?void 0:i.search(e.value).map(({item:l})=>l)});n(this,M,a=>{let e=a.composedPath(),[i]=e.filter(l=>l.role==="option");i&&t(this,$).call(this,i)});n(this,w,a=>{var e;switch(a.key){case"ArrowDown":{if(E(t(this,o),t(this,d)),this.isExpanded||(this.isExpanded=!0),a.altKey)break;N(t(this,m),t(this,o),"next");break}case"ArrowUp":{E(t(this,o),t(this,d)),this.isExpanded||(this.isExpanded=!0),N(t(this,m),t(this,o),"previous");break}case"Enter":{t(this,$).call(this,(e=t(this,m))==null?void 0:e.currentNode);break}case"Escape":{E(t(this,o),t(this,d)),this.isExpanded?(this.isExpanded=!1,this.dispatchEvent(new Event("cancel"))):this.query=s.initialQuery;break}default:break}});n(this,v,a=>{a.composedPath().some(l=>l.localName===s.tagName)||(this.isExpanded=!1)});n(this,$,a=>{let{longName:e,eventDetail:i}=a.dataset;this.query=`${e}`,t(this,b).call(this,i),this.isExpanded=!1,E(t(this,o),t(this,d)),this.useTags&&(this.tags=[`${e}`],t(this,o).value=s.initialQuery,this.query=s.initialQuery)})}async valueChanged(a,e){var W,B;if(a===e)return;await t(this,u).taskComplete;let i=z(this.value),l=(W=t(this,u).value)==null?void 0:W.find(I=>i===I.entryId);l&&(this.query=l.longName,this.searchResults=(B=t(this,f))==null?void 0:B.search(this.query).map(({item:I})=>I),t(this,b).call(this,l.eventDetail),this.useTags&&(this.tags=[`${l.longName}`],t(this,o).value=s.initialQuery,this.query=s.initialQuery))}connectedCallback(){super.connectedCallback(),c(this,u,new J(this,this.bearerToken)),globalThis.addEventListener("click",t(this,v))}disconnectedCallback(){super.disconnectedCallback(),globalThis.removeEventListener("click",t(this,v))}clear(){this.query=s.initialQuery}close(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}render(){var a;return h`<search part="base" title="Search through the list.">
|
|
2
|
+
<label for="combobox" class=${this.hideLabel?"sr-only":"input-label"}
|
|
3
|
+
>${this.label}</label
|
|
4
|
+
>
|
|
5
|
+
<div class="search-input-group">
|
|
6
|
+
${this.useTags?h`<div
|
|
7
|
+
${F(e=>{var i;e&&((i=t(this,x))!=null||c(this,x,e),this.tagContainerWidth=e.getBoundingClientRect().width)})}
|
|
8
|
+
class="tag-container"
|
|
9
|
+
id="tag-container"
|
|
10
|
+
>
|
|
11
|
+
${C(this.tags,(e,i)=>D(this,H,Y).call(this,e,i))}
|
|
12
|
+
</div>`:y}
|
|
13
|
+
<input
|
|
14
|
+
${F(e=>{var i;e&&((i=t(this,o))!=null||c(this,o,e))})}
|
|
15
|
+
autocomplete="off"
|
|
16
|
+
aria-autocomplete="list"
|
|
17
|
+
aria-controls="listbox"
|
|
18
|
+
aria-haspopup="list"
|
|
19
|
+
aria-expanded=${this.isExpanded}
|
|
20
|
+
class="combobox"
|
|
21
|
+
id="combobox"
|
|
22
|
+
part="combobox"
|
|
23
|
+
role="combobox"
|
|
24
|
+
type="text"
|
|
25
|
+
style=${this.useTags?`padding-inline-start: calc(${this.tagContainerWidth}px + 0.25rem);`:y}
|
|
26
|
+
aria-describedby=${this.useTags?"tag-container":y}
|
|
27
|
+
placeholder=${this.useTags?y:(a=this.placeholder)!=null?a:`${this.label}\u2026`}
|
|
28
|
+
.value=${this.useTags?s.initialQuery:this.query}
|
|
29
|
+
@input=${t(this,T)}
|
|
30
|
+
@keydown=${t(this,w)}
|
|
31
|
+
@click=${t(this,k)}
|
|
32
|
+
/>
|
|
33
|
+
<terra-button
|
|
34
|
+
shape="square-left"
|
|
35
|
+
aria-controls="listbox"
|
|
36
|
+
aria-expanded=${this.isExpanded}
|
|
37
|
+
aria-label="List of Searchable Variables"
|
|
38
|
+
class="combobox-button"
|
|
39
|
+
id="combobox-button"
|
|
40
|
+
variant="text"
|
|
41
|
+
part="button"
|
|
42
|
+
tabindex="-1"
|
|
43
|
+
type="button"
|
|
44
|
+
@click=${t(this,k)}
|
|
45
|
+
>
|
|
46
|
+
${["COMPLETE","ERROR"].includes(t(this,u).taskStatus)?h`<terra-icon
|
|
47
|
+
class="chevron"
|
|
48
|
+
name="chevron-down"
|
|
49
|
+
></terra-icon>`:h`<svg
|
|
50
|
+
class="button-icon spinner"
|
|
51
|
+
stroke="currentColor"
|
|
52
|
+
viewBox="0 0 24 24"
|
|
53
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
54
|
+
>
|
|
55
|
+
<circle
|
|
56
|
+
cx="12"
|
|
57
|
+
cy="12"
|
|
58
|
+
r="9.5"
|
|
59
|
+
fill="none"
|
|
60
|
+
stroke-width="3"
|
|
61
|
+
></circle>
|
|
62
|
+
</svg>`}
|
|
63
|
+
</terra-button>
|
|
64
|
+
|
|
65
|
+
${this.hideHelp?y:h`<p class="search-help">
|
|
66
|
+
See
|
|
67
|
+
<a
|
|
68
|
+
href="https://www.fusejs.io/examples.html#extended-search"
|
|
69
|
+
rel="noopener noreferrer"
|
|
70
|
+
tabindex=${this.isExpanded?"-1 ":"0"}
|
|
71
|
+
target="_blank"
|
|
72
|
+
>extended search syntax
|
|
73
|
+
<terra-icon
|
|
74
|
+
name="outline-arrow-top-right-on-square"
|
|
75
|
+
library="heroicons"
|
|
76
|
+
></terra-icon></a
|
|
77
|
+
>.
|
|
78
|
+
</p>`}
|
|
79
|
+
</div>
|
|
80
|
+
|
|
81
|
+
<ul
|
|
82
|
+
${F(e=>{var i;e&&((i=t(this,d))!=null||c(this,d,e),c(this,m,document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,l=>l.dataset.treeWalker==="filter_skip"?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT)))})}
|
|
83
|
+
?inert=${!this.isExpanded}
|
|
84
|
+
?open=${this.isExpanded}
|
|
85
|
+
@click=${t(this,M)}
|
|
86
|
+
aria-label=${this.query?`Variables Matching ${this.query}`:"Variables"}
|
|
87
|
+
id="listbox"
|
|
88
|
+
part="listbox"
|
|
89
|
+
role="listbox"
|
|
90
|
+
class="search-results"
|
|
91
|
+
>
|
|
92
|
+
${t(this,u).render({initial:()=>h`<li class="updating">Updating List of Variables</li>`,pending:()=>h`<li class="updating">Updating List of Variables</li>`,complete:e=>{let i=e.filter(l=>!(l.collectionShortName==="GPM_3IMERGHH"&&l.collectionVersion==="06"));return c(this,g,i),c(this,f,new Z(t(this,g),{findAllMatches:!0,keys:["entryId","longName","name","standardName","units"],useExtendedSearch:!0})),_(this.query===s.initialQuery?C(S(q(t(this,g))),R):C(S(q(this.searchResults)),R))},error:e=>h`<li class="error" data-tree-walker="filter_skip">
|
|
93
|
+
${e}
|
|
94
|
+
</li>`})}
|
|
95
|
+
</ul>
|
|
96
|
+
</search>`}};o=new WeakMap,u=new WeakMap,g=new WeakMap,d=new WeakMap,f=new WeakMap,m=new WeakMap,x=new WeakMap,b=new WeakMap,k=new WeakMap,T=new WeakMap,M=new WeakMap,w=new WeakMap,v=new WeakMap,$=new WeakMap,H=new WeakSet,Y=function(a,e){return h`
|
|
97
|
+
<terra-button
|
|
98
|
+
size="small"
|
|
99
|
+
variant="default"
|
|
100
|
+
outline
|
|
101
|
+
class="tag"
|
|
102
|
+
title=${a}
|
|
103
|
+
aria-label=${`Clear tag ${a}`}
|
|
104
|
+
@click=${()=>{this.tags=[],this.clear(),setTimeout(()=>{var i;this.tagContainerWidth=(i=t(this,x))==null?void 0:i.getBoundingClientRect().width},100)}}
|
|
105
|
+
title=${a}
|
|
106
|
+
>
|
|
107
|
+
${a}
|
|
108
|
+
<terra-icon
|
|
109
|
+
class="tag-icon"
|
|
110
|
+
slot="suffix"
|
|
111
|
+
name="outline-x-circle"
|
|
112
|
+
library="heroicons"
|
|
113
|
+
></terra-icon>
|
|
114
|
+
</terra-button>
|
|
115
|
+
`},s.dependencies={"terra-button":K,"terra-icon":j},s.styles=[A,X],s.shadowRootOptions=U(O({},V.shadowRootOptions),{delegatesFocus:!0}),s.tagName="terra-variable-combobox",s.initialQuery="",r([p()],s.prototype,"label",2),r([p()],s.prototype,"placeholder",2),r([p({attribute:"hide-help",type:Boolean,reflect:!0})],s.prototype,"hideHelp",2),r([p({attribute:"hide-label",type:Boolean,reflect:!0})],s.prototype,"hideLabel",2),r([p({attribute:"use-tags",type:Boolean,reflect:!0})],s.prototype,"useTags",2),r([p()],s.prototype,"value",2),r([p({attribute:"bearer-token",reflect:!1})],s.prototype,"bearerToken",2),r([L()],s.prototype,"isExpanded",2),r([L()],s.prototype,"query",2),r([L()],s.prototype,"searchResults",2),r([L()],s.prototype,"tags",2),r([L()],s.prototype,"tagContainerWidth",2),r([P("value")],s.prototype,"valueChanged",1);var Q=s;export{Q as a};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import{a as k}from"./chunk.W6DGR4DK.js";import{c as v}from"./chunk.77X2UDZ7.js";import{a as E}from"./chunk.INQGHKNR.js";import{a as p}from"./chunk.J5Q4TWEG.js";import{a as y,b as S}from"./chunk.ROAJDBWY.js";import{a as g,e as r}from"./chunk.INFVQQSJ.js";var _=(h,d)=>{let t=0;return function(...i){window.clearTimeout(t),t=window.setTimeout(()=>{h.call(this,...i)},d)}},A=(h,d,t)=>{let i=h[d];h[d]=function(...e){i.call(this,...e),t.call(this,i,...e)}},M="onscrollend"in window;if(!M){let h=new Set,d=new WeakMap,t=e=>{for(let s of e.changedTouches)h.add(s.identifier)},i=e=>{for(let s of e.changedTouches)h.delete(s.identifier)};document.addEventListener("touchstart",t,!0),document.addEventListener("touchend",i,!0),document.addEventListener("touchcancel",i,!0),A(EventTarget.prototype,"addEventListener",function(e,s){if(s!=="scrollend")return;let a=_(()=>{h.size?a():this.dispatchEvent(new Event("scrollend"))},100);e.call(this,"scroll",a,{passive:!0}),d.set(this,a)}),A(EventTarget.prototype,"removeEventListener",function(e,s){if(s!=="scrollend")return;let a=d.get(this);a&&e.call(this,"scroll",a,{passive:!0})})}import{classMap as m}from"lit/directives/class-map.js";import{eventOptions as O,property as u,query as f,state as T}from"lit/decorators.js";import{html as w}from"lit";var n=class extends S{constructor(){super(...arguments);this.tabs=[];this.focusableTabs=[];this.panels=[];this.hasScrollControls=!1;this.shouldHideScrollStartButton=!1;this.shouldHideScrollEndButton=!1;this.placement="top";this.activation="auto";this.noScrollControls=!1;this.fixedScrollControls=!1;this.size="large";this.scrollOffset=1}connectedCallback(){let t=Promise.all([customElements.whenDefined("terra-tab"),customElements.whenDefined("terra-tab-panel")]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.repositionIndicator(),this.updateScrollControls()}),this.mutationObserver=new MutationObserver(i=>{let e=i.filter(({target:s})=>{if(s===this)return!0;if(s.closest("terra-tabs")!==this)return!1;let a=s.tagName.toLowerCase();return a==="terra-tab"||a==="terra-tab-panel"});if(e.length!==0){if(e.some(s=>!["aria-labelledby","aria-controls"].includes(s.attributeName))&&setTimeout(()=>this.setAriaLabels()),e.some(s=>s.attributeName==="disabled"))this.syncTabsAndPanels();else if(e.some(s=>s.attributeName==="active")){let a=e.filter(c=>c.attributeName==="active"&&c.target.tagName.toLowerCase()==="terra-tab").map(c=>c.target).find(c=>c.active);a&&this.setActiveTab(a)}}}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,attributeFilter:["active","disabled","name","panel"],childList:!0,subtree:!0}),this.nav&&this.resizeObserver.observe(this.nav),t.then(()=>{let i=new IntersectionObserver((e,s)=>{var a;e[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab((a=this.getActiveTab())!=null?a:this.tabs[0],{emitEvents:!1}),s.unobserve(e[0].target))});this.tabsElement&&i.observe(this.tabsElement)})})}disconnectedCallback(){var t,i;super.disconnectedCallback(),(t=this.mutationObserver)==null||t.disconnect(),this.nav&&((i=this.resizeObserver)==null||i.unobserve(this.nav))}getAllTabs(){return this.shadowRoot.querySelector('slot[name="nav"]').assignedElements()}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="terra-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.active)}handleClick(t){let e=t.target.closest("terra-tab");(e==null?void 0:e.closest("terra-tabs"))===this&&e!==null&&this.setActiveTab(e,{scrollBehavior:"smooth"})}handleKeyDown(t){let e=t.target.closest("terra-tab");if((e==null?void 0:e.closest("terra-tabs"))===this&&(["Enter"," "].includes(t.key)&&e!==null&&(this.setActiveTab(e,{scrollBehavior:"smooth"}),t.preventDefault()),["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key))){let a=this.tabs.find(l=>l.matches(":focus")),c=getComputedStyle(this).direction==="rtl",o=null;if((a==null?void 0:a.tagName.toLowerCase())==="terra-tab"){if(t.key==="Home")o=this.focusableTabs[0];else if(t.key==="End")o=this.focusableTabs[this.focusableTabs.length-1];else if(["top","bottom"].includes(this.placement)&&t.key===(c?"ArrowRight":"ArrowLeft")||["start","end"].includes(this.placement)&&t.key==="ArrowUp"){let l=this.tabs.findIndex(b=>b===a);o=this.findNextFocusableTab(l,"backward")}else if(["top","bottom"].includes(this.placement)&&t.key===(c?"ArrowLeft":"ArrowRight")||["start","end"].includes(this.placement)&&t.key==="ArrowDown"){let l=this.tabs.findIndex(b=>b===a);o=this.findNextFocusableTab(l,"forward")}if(!o)return;o.tabIndex=0,o.focus({preventScroll:!0}),this.activation==="auto"?this.setActiveTab(o,{scrollBehavior:"smooth"}):this.tabs.forEach(l=>{l.tabIndex=l===o?0:-1}),["top","bottom"].includes(this.placement)&&v(o,this.nav,"horizontal"),t.preventDefault()}}}handleScrollToStart(){let t=getComputedStyle(this).direction==="rtl";this.nav.scroll({left:t?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})}handleScrollToEnd(){let t=getComputedStyle(this).direction==="rtl";this.nav.scroll({left:t?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})}setActiveTab(t,i){if(i=g({emitEvents:!0,scrollBehavior:"auto"},i),t!==this.activeTab&&!t.disabled){let e=this.activeTab;this.activeTab=t,this.tabs.forEach(s=>{s.active=s===this.activeTab,s.tabIndex=s===this.activeTab?0:-1}),this.panels.forEach(s=>{var a;return s.active=s.name===((a=this.activeTab)==null?void 0:a.panel)}),this.syncIndicator(),["top","bottom"].includes(this.placement)&&v(this.activeTab,this.nav,"horizontal",i.scrollBehavior),i.emitEvents&&(e&&this.emit("terra-tab-hide",{detail:{name:e.panel}}),this.emit("terra-tab-show",{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(t=>{let i=this.panels.find(e=>e.name===t.panel);i&&(t.setAttribute("aria-controls",i.getAttribute("id")),i.setAttribute("aria-labelledby",t.getAttribute("id")))})}repositionIndicator(){let t=this.getActiveTab();if(!t)return;let i=t.clientWidth,e=t.clientHeight,s=getComputedStyle(this).direction==="rtl",a=this.getAllTabs(),o=a.slice(0,a.indexOf(t)).reduce((l,b)=>({left:l.left+b.clientWidth,top:l.top+b.clientHeight}),{left:0,top:0});switch(this.placement){case"top":case"bottom":this.indicator.style.width=`${i}px`,this.indicator.style.translate=s?`${-1*o.left}px`:`${o.left}px`;break;case"start":case"end":this.indicator.style.height=`${e}px`,this.indicator.style.translate=`0 ${o.top}px`;break}}syncTabsAndPanels(){this.tabs=this.getAllTabs(),this.focusableTabs=this.tabs.filter(t=>!t.disabled),this.tabs.forEach(t=>{t.hasAttribute("size")||(t.size=this.size)}),this.panels=this.getAllPanels(),this.syncIndicator(),this.updateComplete.then(()=>this.updateScrollControls())}findNextFocusableTab(t,i){let e=null,s=i==="forward"?1:-1,a=t+s;for(;t<this.tabs.length;){if(e=this.tabs[a]||null,e===null){i==="forward"?e=this.focusableTabs[0]:e=this.focusableTabs[this.focusableTabs.length-1];break}if(!e.disabled)break;a+=s}return e}updateScrollButtons(){this.hasScrollControls&&!this.fixedScrollControls&&(this.shouldHideScrollStartButton=this.scrollFromStart()<=this.scrollOffset,this.shouldHideScrollEndButton=this.isScrolledToEnd())}isScrolledToEnd(){return this.scrollFromStart()+this.nav.clientWidth>=this.nav.scrollWidth-this.scrollOffset}scrollFromStart(){return getComputedStyle(this).direction==="rtl"?-this.nav.scrollLeft:this.nav.scrollLeft}updateScrollControls(){this.noScrollControls?this.hasScrollControls=!1:this.hasScrollControls=["top","bottom"].includes(this.placement)&&this.nav.scrollWidth>this.nav.clientWidth+1,this.updateScrollButtons()}syncIndicator(){this.getActiveTab()?(this.indicator.style.display="block",this.repositionIndicator()):this.indicator.style.display="none"}syncSize(){this.tabs.forEach(t=>{t.hasAttribute("size")||(t.size=this.size)})}show(t){let i=this.tabs.find(e=>e.panel===t);i&&this.setActiveTab(i,{scrollBehavior:"smooth"})}render(){let t=getComputedStyle(this).direction==="rtl";return w`
|
|
2
|
+
<div
|
|
3
|
+
part="base"
|
|
4
|
+
class=${m({tabs:!0,"tabs--top":this.placement==="top","tabs--bottom":this.placement==="bottom","tabs--start":this.placement==="start","tabs--end":this.placement==="end","tabs--rtl":t,"tabs--has-scroll-controls":this.hasScrollControls,"tabs--large":this.size==="large","tabs--small":this.size==="small"})}
|
|
5
|
+
@click=${this.handleClick}
|
|
6
|
+
@keydown=${this.handleKeyDown}
|
|
7
|
+
>
|
|
8
|
+
<div class="tabs__nav-container" part="nav">
|
|
9
|
+
${this.hasScrollControls?w`
|
|
10
|
+
<button
|
|
11
|
+
part="scroll-button scroll-button--start"
|
|
12
|
+
class=${m({"tabs__scroll-button":!0,"tabs__scroll-button--start":!0,"tabs__scroll-button--start--hidden":this.shouldHideScrollStartButton})}
|
|
13
|
+
tabindex="-1"
|
|
14
|
+
aria-hidden="true"
|
|
15
|
+
aria-label="Scroll to start"
|
|
16
|
+
@click=${this.handleScrollToStart}
|
|
17
|
+
type="button"
|
|
18
|
+
>
|
|
19
|
+
<terra-icon
|
|
20
|
+
name=${t?"chevron-right":"chevron-left"}
|
|
21
|
+
library="heroicons"
|
|
22
|
+
font-size="1rem"
|
|
23
|
+
></terra-icon>
|
|
24
|
+
</button>
|
|
25
|
+
`:""}
|
|
26
|
+
|
|
27
|
+
<div class="tabs__nav" @scrollend=${this.updateScrollButtons}>
|
|
28
|
+
<div part="tabs" class="tabs__tabs" role="tablist">
|
|
29
|
+
<div
|
|
30
|
+
part="active-tab-indicator"
|
|
31
|
+
class="tabs__indicator"
|
|
32
|
+
></div>
|
|
33
|
+
<div class="tabs__resize-observer">
|
|
34
|
+
<slot
|
|
35
|
+
name="nav"
|
|
36
|
+
@slotchange=${this.syncTabsAndPanels}
|
|
37
|
+
></slot>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
|
|
42
|
+
${this.hasScrollControls?w`
|
|
43
|
+
<button
|
|
44
|
+
part="scroll-button scroll-button--end"
|
|
45
|
+
class=${m({"tabs__scroll-button":!0,"tabs__scroll-button--end":!0,"tabs__scroll-button--end--hidden":this.shouldHideScrollEndButton})}
|
|
46
|
+
tabindex="-1"
|
|
47
|
+
aria-hidden="true"
|
|
48
|
+
aria-label="Scroll to end"
|
|
49
|
+
@click=${this.handleScrollToEnd}
|
|
50
|
+
type="button"
|
|
51
|
+
>
|
|
52
|
+
<terra-icon
|
|
53
|
+
name=${t?"chevron-left":"chevron-right"}
|
|
54
|
+
library="heroicons"
|
|
55
|
+
font-size="1rem"
|
|
56
|
+
></terra-icon>
|
|
57
|
+
</button>
|
|
58
|
+
`:""}
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
<slot
|
|
62
|
+
part="body"
|
|
63
|
+
class="tabs__body"
|
|
64
|
+
@slotchange=${this.syncTabsAndPanels}
|
|
65
|
+
></slot>
|
|
66
|
+
</div>
|
|
67
|
+
`}};n.styles=[y,k],n.dependencies={"terra-icon":E},r([f(".tabs")],n.prototype,"tabsElement",2),r([f(".tabs__body")],n.prototype,"body",2),r([f(".tabs__nav")],n.prototype,"nav",2),r([f(".tabs__indicator")],n.prototype,"indicator",2),r([T()],n.prototype,"hasScrollControls",2),r([T()],n.prototype,"shouldHideScrollStartButton",2),r([T()],n.prototype,"shouldHideScrollEndButton",2),r([u()],n.prototype,"placement",2),r([u()],n.prototype,"activation",2),r([u({attribute:"no-scroll-controls",type:Boolean})],n.prototype,"noScrollControls",2),r([u({attribute:"fixed-scroll-controls",type:Boolean})],n.prototype,"fixedScrollControls",2),r([u({reflect:!0})],n.prototype,"size",2),r([O({passive:!0})],n.prototype,"updateScrollButtons",1),r([p("noScrollControls",{waitUntilFirstUpdate:!0})],n.prototype,"updateScrollControls",1),r([p("placement",{waitUntilFirstUpdate:!0})],n.prototype,"syncIndicator",1),r([p("size",{waitUntilFirstUpdate:!0})],n.prototype,"syncSize",1);export{n as a};
|