@nasa-terra/components 0.0.68 → 0.0.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.H4KNN2HU.js → chunk.2WFZJ4YK.js} +1 -1
- package/cdn/chunks/{chunk.2UTYN7TH.js → chunk.2WHZLDCD.js} +1 -1
- package/cdn/chunks/{chunk.563FCLVE.js → chunk.3MKUPLF4.js} +1 -1
- package/cdn/chunks/{chunk.LZSKCTIU.js → chunk.3SQ33WJL.js} +6 -6
- package/cdn/chunks/{chunk.QI3YAMIR.js → chunk.434ZMZIJ.js} +1 -1
- package/cdn/chunks/{chunk.UKT47BLY.js → chunk.45SQ5ZRA.js} +2 -2
- package/cdn/chunks/{chunk.7MLJ7J6F.js → chunk.4QHHYULU.js} +1 -1
- package/cdn/chunks/{chunk.KFMZHBMX.js → chunk.4SSFOLSV.js} +1 -1
- package/cdn/chunks/{chunk.YQRTSELX.js → chunk.5BBHGXPR.js} +1 -1
- package/cdn/chunks/{chunk.LF2YS25X.js → chunk.5NFXND6A.js} +5 -5
- package/cdn/chunks/{chunk.FT6FCCXU.js → chunk.5Z472ENR.js} +16 -10
- package/cdn/chunks/{chunk.A5QNIXR4.js → chunk.6ZSJMUE4.js} +1 -1
- package/cdn/chunks/{chunk.TJWGQR3Y.js → chunk.7PNL32DN.js} +2 -2
- package/cdn/chunks/{chunk.5KFA2A5F.js → chunk.7Q4AHKKQ.js} +1 -1
- package/cdn/chunks/{chunk.LF5NNQDS.js → chunk.ACBDKAEJ.js} +1 -1
- package/cdn/chunks/{chunk.ZBRNWBWX.js → chunk.AJXMQFLR.js} +1 -1
- package/cdn/chunks/{chunk.RF7RG72G.js → chunk.AMBEUY7L.js} +1 -1
- package/cdn/chunks/{chunk.BLILGPHT.js → chunk.ANFKIG4L.js} +4 -4
- package/cdn/chunks/{chunk.ZZMMULOM.js → chunk.BPNH4HSY.js} +1 -1
- package/cdn/chunks/{chunk.F26HLQPA.js → chunk.BXG2SQ32.js} +4 -4
- package/cdn/chunks/{chunk.42OJJSTJ.js → chunk.C25JWNVO.js} +10 -10
- package/cdn/chunks/{chunk.YMKCGXI7.js → chunk.CHDFG7FH.js} +1 -1
- package/cdn/chunks/{chunk.XKNIRUTP.js → chunk.DAKOGE6D.js} +1 -1
- package/cdn/chunks/{chunk.UHOMZS5K.js → chunk.DAU4AGDN.js} +11 -11
- package/cdn/chunks/{chunk.J5OQO7FQ.js → chunk.DPYGJ4HT.js} +1 -1
- package/cdn/chunks/{chunk.SJHEJ7W7.js → chunk.DZT3WHRZ.js} +1 -1
- package/cdn/chunks/{chunk.SJYXIRDX.js → chunk.EBJPRRVX.js} +1 -1
- package/cdn/chunks/{chunk.2O6ZLP2H.js → chunk.EPXNYSMJ.js} +1 -1
- package/cdn/chunks/{chunk.QVPRK545.js → chunk.ETHIRGQV.js} +2 -2
- package/cdn/chunks/{chunk.BDUFTI77.js → chunk.FCVG6J6Y.js} +1 -1
- package/cdn/chunks/{chunk.ZNKT2Q6X.js → chunk.FF4SD2Y7.js} +2 -2
- package/cdn/chunks/{chunk.SI75QZHB.js → chunk.FW2LALSP.js} +1 -0
- package/cdn/chunks/{chunk.ELVU6MXJ.js → chunk.FXK2VLQ3.js} +1 -1
- package/cdn/chunks/{chunk.JIGZ6E5V.js → chunk.GJDFVNDD.js} +1 -1
- package/cdn/chunks/{chunk.YNJENG4F.js → chunk.GMPUGV5Z.js} +1 -1
- package/cdn/chunks/{chunk.VGHXDEZO.js → chunk.GZQTAMKA.js} +1 -1
- package/cdn/chunks/{chunk.BXZG34AL.js → chunk.HOLW6ORS.js} +1 -1
- package/cdn/chunks/{chunk.LRHEF6JN.js → chunk.HXZB6F2D.js} +1 -1
- package/cdn/chunks/{chunk.6WGBX3KH.js → chunk.I4U7LBVH.js} +4 -0
- package/cdn/chunks/{chunk.I2VFSA6U.js → chunk.IGQIOKS5.js} +1 -1
- package/cdn/chunks/{chunk.7OS7YKP4.js → chunk.IWZ6RHSC.js} +1 -1
- package/cdn/chunks/{chunk.DKQUCHXW.js → chunk.KRVXHAE6.js} +1 -1
- package/cdn/chunks/{chunk.UO6SHH3I.js → chunk.KWCJSARF.js} +1 -1
- package/cdn/chunks/{chunk.PX3KFYMT.js → chunk.L6X5ZN3P.js} +1 -1
- package/cdn/chunks/{chunk.RJR6I3VL.js → chunk.LIWVUO7X.js} +1 -1
- package/cdn/chunks/{chunk.37HJNI4K.js → chunk.LMVBU7NG.js} +6 -6
- package/cdn/chunks/{chunk.MN7UEWGN.js → chunk.LV6RAXF4.js} +1 -1
- package/cdn/chunks/{chunk.VYDVYEG6.js → chunk.M7LZAAZJ.js} +1 -1
- package/cdn/chunks/{chunk.HMS35ZFE.js → chunk.MUYS3VLW.js} +1 -1
- package/cdn/chunks/{chunk.SX6OLRTC.js → chunk.N6EF47Z2.js} +7 -7
- package/cdn/chunks/{chunk.SLDPYP3J.js → chunk.O7IPEJ54.js} +1 -1
- package/cdn/chunks/{chunk.UA57XIMB.js → chunk.OOHR4TW4.js} +1 -1
- package/cdn/chunks/{chunk.7TSM56FT.js → chunk.PHHOJXCQ.js} +1 -1
- package/cdn/chunks/{chunk.HVXUUXZ7.js → chunk.PMOA7X7P.js} +1 -1
- package/cdn/chunks/{chunk.VDOKMZL7.js → chunk.PPFOMTP4.js} +5 -5
- package/cdn/chunks/{chunk.UMT2LQ4W.js → chunk.Q662546B.js} +1 -1
- package/cdn/chunks/{chunk.3NBSKUOT.js → chunk.QAG6I662.js} +1 -1
- package/cdn/chunks/{chunk.MB27YSID.js → chunk.QDKQRM3V.js} +1 -1
- package/cdn/chunks/{chunk.EPQBAMGN.js → chunk.RCSL3RDS.js} +1 -1
- package/cdn/chunks/{chunk.ZAROXC53.js → chunk.RMCTMLUV.js} +1 -1
- package/cdn/chunks/{chunk.XQNQJ73Y.js → chunk.SKAEJWMQ.js} +14 -8
- package/cdn/chunks/{chunk.Z3FCGMJE.js → chunk.SPDBOAID.js} +1 -1
- package/cdn/chunks/{chunk.Z5SQ4THO.js → chunk.TFVQXENN.js} +1 -1
- package/cdn/chunks/{chunk.4RM2EJEW.js → chunk.TPDLT6KX.js} +1 -1
- package/cdn/chunks/{chunk.UEDKVSIH.js → chunk.U3SI7BZG.js} +1 -1
- package/cdn/chunks/{chunk.NT4JROIJ.js → chunk.W72QCKOL.js} +1 -1
- package/cdn/chunks/{chunk.WXFIXIOS.js → chunk.WCWJN5TS.js} +1 -1
- package/cdn/chunks/{chunk.T33FEXFP.js → chunk.XKOH5LZH.js} +9 -9
- package/cdn/chunks/{chunk.TU7POBNP.js → chunk.XR5EZIHP.js} +1 -1
- package/cdn/chunks/{chunk.DLTRS5SJ.js → chunk.XRCYQOPU.js} +1 -1
- package/cdn/chunks/{chunk.HP52P3QK.js → chunk.Y2233AUK.js} +1 -1
- package/cdn/chunks/{chunk.267X6M4K.js → chunk.Y2236WNB.js} +1 -1
- package/cdn/chunks/{chunk.CGIR4OSR.js → chunk.YH6I4G2U.js} +1 -1
- package/cdn/chunks/{chunk.PDAOAQE4.js → chunk.YSMZ5CBN.js} +5 -5
- package/cdn/chunks/{chunk.F6FOZL2X.js → chunk.YVJZM6EF.js} +1 -1
- package/cdn/chunks/{chunk.5IYUIO2L.js → chunk.YWETTYS3.js} +1 -1
- package/cdn/chunks/{chunk.VUJ26IHB.js → chunk.ZFPN2IZL.js} +1 -1
- package/cdn/chunks/{chunk.U7VIR3OC.js → chunk.ZNUZD6AE.js} +5 -5
- package/cdn/chunks/{chunk.6YSGUTCT.js → chunk.ZOOWK3YX.js} +1 -1
- package/cdn/components/accordion/accordion.component.js +4 -4
- package/cdn/components/accordion/accordion.js +5 -5
- package/cdn/components/alert/alert.component.js +3 -3
- package/cdn/components/alert/alert.js +4 -4
- package/cdn/components/browse-variables/browse-variables.component.js +16 -16
- package/cdn/components/browse-variables/browse-variables.js +17 -17
- package/cdn/components/browse-variables/browse-variables.styles.js +1 -1
- package/cdn/components/button/button.component.js +2 -2
- package/cdn/components/button/button.js +3 -3
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +6 -6
- package/cdn/components/combobox/combobox.js +7 -7
- package/cdn/components/data-rods/data-rods.component.js +26 -26
- package/cdn/components/data-rods/data-rods.js +27 -27
- package/cdn/components/data-subsetter/data-subsetter.component.js +19 -19
- package/cdn/components/data-subsetter/data-subsetter.js +20 -20
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +21 -21
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +22 -22
- package/cdn/components/date-picker/date-picker.component.js +3 -3
- package/cdn/components/date-picker/date-picker.js +4 -4
- package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
- package/cdn/components/date-range-slider/date-range-slider.js +3 -3
- package/cdn/components/dialog/dialog.component.js +2 -2
- package/cdn/components/dialog/dialog.js +3 -3
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +12 -12
- package/cdn/components/login/login.js +13 -13
- package/cdn/components/map/map.component.js +4 -4
- package/cdn/components/map/map.js +5 -5
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/plot-toolbar/plot-toolbar.component.js +9 -9
- package/cdn/components/plot-toolbar/plot-toolbar.js +10 -10
- package/cdn/components/plot-toolbar/plot-toolbar.styles.js +1 -1
- package/cdn/components/skeleton/skeleton.component.js +6 -6
- package/cdn/components/skeleton/skeleton.js +7 -7
- package/cdn/components/spatial-picker/spatial-picker.component.js +5 -5
- package/cdn/components/spatial-picker/spatial-picker.js +6 -6
- package/cdn/components/time-average-map/time-average-map.component.js +11 -11
- package/cdn/components/time-average-map/time-average-map.js +12 -12
- package/cdn/components/time-series/time-series.component.js +15 -15
- package/cdn/components/time-series/time-series.js +16 -16
- package/cdn/components/variable-combobox/lib.js +3 -3
- package/cdn/components/variable-combobox/variable-combobox.component.js +14 -14
- package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
- package/cdn/components/variable-combobox/variable-combobox.js +15 -15
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +11 -11
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +12 -12
- package/cdn/custom-elements.json +1545 -1545
- package/cdn/react/accordion/index.js +5 -5
- package/cdn/react/alert/index.js +4 -4
- package/cdn/react/browse-variables/index.js +17 -17
- package/cdn/react/button/index.js +3 -3
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +7 -7
- package/cdn/react/data-rods/index.js +27 -27
- package/cdn/react/data-subsetter/index.js +20 -20
- package/cdn/react/data-subsetter-history/index.js +22 -22
- package/cdn/react/date-picker/index.js +4 -4
- package/cdn/react/date-range-slider/index.js +3 -3
- package/cdn/react/dialog/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/index.d.ts +6 -6
- package/cdn/react/index.js +83 -83
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +13 -13
- package/cdn/react/map/index.js +5 -5
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/plot-toolbar/index.js +10 -10
- package/cdn/react/skeleton/index.js +7 -7
- package/cdn/react/spatial-picker/index.js +6 -6
- package/cdn/react/time-average-map/index.js +12 -12
- package/cdn/react/time-series/index.js +16 -16
- package/cdn/react/variable-combobox/index.js +15 -15
- package/cdn/react/variable-keyword-search/index.js +12 -12
- package/cdn/terra-ui-components.js +68 -68
- package/cdn/types/vue/index.d.ts +178 -178
- package/cdn/utilities/animation.js +4 -4
- package/cdn/vscode.html-custom-data.json +160 -160
- package/cdn/web-types.json +341 -341
- package/dist/chunks/{chunk.Y7ZED6A4.js → chunk.23INKSFJ.js} +1 -1
- package/{cdn/chunks/chunk.642Z3X7N.js → dist/chunks/chunk.2AXLMUON.js} +1 -1
- package/dist/chunks/{chunk.42V23REY.js → chunk.2OJQCTT4.js} +1 -1
- package/{cdn/chunks/chunk.3XJ5QNGT.js → dist/chunks/chunk.3DANPYLE.js} +1 -1
- package/{cdn/chunks/chunk.SWDQJJ7Q.js → dist/chunks/chunk.3EIIIEBO.js} +1 -1
- package/dist/chunks/{chunk.5QKVNNUH.js → chunk.3GP47DOD.js} +5 -5
- package/{cdn/chunks/chunk.X7MVYC7B.js → dist/chunks/chunk.3H36EIIV.js} +1 -1
- package/{cdn/chunks/chunk.2LGINANI.js → dist/chunks/chunk.3PXIPSUU.js} +1 -1
- package/{cdn/chunks/chunk.H73IKOBV.js → dist/chunks/chunk.473LFLSV.js} +1 -1
- package/dist/chunks/{chunk.IJC2KB5R.js → chunk.4UYHJEGL.js} +1 -1
- package/{cdn/chunks/chunk.2GEN6UCO.js → dist/chunks/chunk.55L4GMAR.js} +1 -1
- package/{cdn/chunks/chunk.NMWP5DQX.js → dist/chunks/chunk.5N32RZTN.js} +4 -0
- package/dist/chunks/{chunk.IFHDVWGZ.js → chunk.7T2PWEG7.js} +4 -4
- package/dist/chunks/{chunk.4EIGF3E4.js → chunk.BT7HZITT.js} +3 -3
- package/dist/chunks/{chunk.GUYBX63F.js → chunk.BUPXRQTN.js} +1 -1
- package/{cdn/chunks/chunk.QHY2BYL4.js → dist/chunks/chunk.CAWBE3ID.js} +1 -1
- package/{cdn/chunks/chunk.OX5IY75Y.js → dist/chunks/chunk.CEGLHCJL.js} +1 -1
- package/dist/chunks/{chunk.A7GHUUVY.js → chunk.CRVWSOC3.js} +1 -1
- package/{cdn/chunks/chunk.RDID3JKQ.js → dist/chunks/chunk.CUJEYDDR.js} +1 -1
- package/dist/chunks/{chunk.H2UQBMCX.js → chunk.D6XRZZNX.js} +1 -1
- package/dist/chunks/{chunk.PAJVTERU.js → chunk.DEVF76GZ.js} +1 -1
- package/dist/chunks/{chunk.HUX2RF6U.js → chunk.EVY4PDPB.js} +1 -1
- package/{cdn/chunks/chunk.MFI2M54Y.js → dist/chunks/chunk.F4WGY22Q.js} +2 -2
- package/dist/chunks/{chunk.MKU7QBFN.js → chunk.FG5VSTFE.js} +1 -1
- package/{cdn/chunks/chunk.JHEFOGNL.js → dist/chunks/chunk.FHTIQUEB.js} +1 -1
- package/{cdn/chunks/chunk.OVUWZWWN.js → dist/chunks/chunk.FMJSUEG3.js} +3 -3
- package/dist/chunks/{chunk.BRVCFRLF.js → chunk.FTQO3D65.js} +1 -1
- package/dist/chunks/{chunk.L7RNO3FR.js → chunk.FYQO4356.js} +1 -1
- package/{cdn/chunks/chunk.PA5O6555.js → dist/chunks/chunk.G6TYACLN.js} +1 -1
- package/dist/chunks/{chunk.2WYXDPGS.js → chunk.GA5VAPJI.js} +1 -1
- package/{cdn/chunks/chunk.RVH4PSND.js → dist/chunks/chunk.GRSOJ3Q6.js} +7 -7
- package/dist/chunks/{chunk.4SUQPJ6R.js → chunk.H5GEKZO4.js} +1 -1
- package/dist/chunks/{chunk.4E55SLUR.js → chunk.H7O4NESU.js} +1 -1
- package/dist/chunks/{chunk.TJGA66AX.js → chunk.HFTFWFL4.js} +1 -1
- package/{cdn/chunks/chunk.FNTPKP6P.js → dist/chunks/chunk.HGEIDCX4.js} +13 -7
- package/dist/chunks/{chunk.B6JXOXP5.js → chunk.HQNHHTML.js} +11 -11
- package/dist/chunks/{chunk.JOTLSXEI.js → chunk.JBEBN2Z7.js} +1 -1
- package/dist/chunks/{chunk.FF3EIVF2.js → chunk.JCBBFMT5.js} +1 -1
- package/dist/chunks/{chunk.2AIVKD54.js → chunk.JPLXQFI6.js} +1 -1
- package/dist/chunks/{chunk.UDCRU3NE.js → chunk.LF4UTFWZ.js} +1 -1
- package/{cdn/chunks/chunk.AU4MMC6N.js → dist/chunks/chunk.LHBOSLIV.js} +1 -1
- package/{cdn/chunks/chunk.L2M2AJ4W.js → dist/chunks/chunk.LUKO7VNJ.js} +1 -1
- package/{cdn/chunks/chunk.64ARWPHU.js → dist/chunks/chunk.LUVNNHPF.js} +1 -1
- package/{cdn/chunks/chunk.URKW2CME.js → dist/chunks/chunk.LYBAFUZY.js} +1 -1
- package/dist/chunks/{chunk.NLADA7XK.js → chunk.MNI77FKC.js} +1 -1
- package/dist/chunks/{chunk.3H5ZUQL5.js → chunk.MOBX4QTJ.js} +19 -13
- package/{cdn/chunks/chunk.SRBWEFVT.js → dist/chunks/chunk.OC4NOBCM.js} +1 -1
- package/{cdn/chunks/chunk.ADFWUZLL.js → dist/chunks/chunk.OOHSWPAW.js} +1 -1
- package/dist/chunks/{chunk.GGRGK2NT.js → chunk.OTSFX2S5.js} +5 -5
- package/dist/chunks/{chunk.5TZQDEBJ.js → chunk.P2IS73WR.js} +1 -1
- package/dist/chunks/{chunk.VDCD52OC.js → chunk.P3FBN5JY.js} +5 -5
- package/{cdn/chunks/chunk.2OQZA3CW.js → dist/chunks/chunk.PPYCGJFA.js} +1 -1
- package/{cdn/chunks/chunk.ERXCYNDC.js → dist/chunks/chunk.PS6326TY.js} +1 -1
- package/dist/chunks/{chunk.TSIWRLNC.js → chunk.PWF75NG2.js} +1 -1
- package/dist/chunks/{chunk.MEMNTMV2.js → chunk.PZG646DW.js} +2 -2
- package/dist/chunks/{chunk.YMHBYV33.js → chunk.Q4LDYVNX.js} +7 -7
- package/dist/chunks/{chunk.2BW4SOWQ.js → chunk.QJF6XK24.js} +1 -1
- package/{cdn/chunks/chunk.YIP3L3SE.js → dist/chunks/chunk.QSQLX5JZ.js} +1 -1
- package/{cdn/chunks/chunk.MGM5E2VQ.js → dist/chunks/chunk.QSZWARPH.js} +1 -0
- package/{cdn/chunks/chunk.EBJUC35J.js → dist/chunks/chunk.QU3SPPEN.js} +1 -1
- package/dist/chunks/{chunk.LQOZT7TL.js → chunk.RCHOXMXM.js} +5 -5
- package/dist/chunks/{chunk.GQRGC6YW.js → chunk.SDLNSJG7.js} +1 -1
- package/dist/chunks/{chunk.NQYUJ7FK.js → chunk.SYEMT7HF.js} +1 -1
- package/{cdn/chunks/chunk.QNNEWLT7.js → dist/chunks/chunk.TBNZFMSN.js} +1 -1
- package/{cdn/chunks/chunk.WXZHDVQ3.js → dist/chunks/chunk.TPNASPDO.js} +1 -1
- package/{cdn/chunks/chunk.YP5DVLJS.js → dist/chunks/chunk.U2G57JPG.js} +1 -1
- package/dist/chunks/{chunk.GL5HOXON.js → chunk.U4L2ZGZ6.js} +1 -1
- package/{cdn/chunks/chunk.OBANVLY7.js → dist/chunks/chunk.UZIW6LCZ.js} +1 -1
- package/dist/chunks/{chunk.JOFHFGQP.js → chunk.VMAYX34V.js} +4 -4
- package/{cdn/chunks/chunk.RJUTQBOV.js → dist/chunks/chunk.VTVEOZUU.js} +1 -1
- package/{cdn/chunks/chunk.PRQ5P3TK.js → dist/chunks/chunk.WN44ZFHI.js} +1 -1
- package/{cdn/chunks/chunk.P6OOV5UQ.js → dist/chunks/chunk.XLRXXKAZ.js} +1 -1
- package/{cdn/chunks/chunk.OY5R7EVO.js → dist/chunks/chunk.Y2BFSZBV.js} +1 -1
- package/{cdn/chunks/chunk.CA2ZDE2M.js → dist/chunks/chunk.YX4R74XQ.js} +1 -1
- package/{cdn/chunks/chunk.RBVJJWF4.js → dist/chunks/chunk.ZTWICGDA.js} +1 -1
- package/dist/chunks/{chunk.4WKVINLB.js → chunk.ZXLBHUDY.js} +1 -1
- package/dist/components/accordion/accordion.component.js +4 -4
- package/dist/components/accordion/accordion.js +5 -5
- package/dist/components/alert/alert.component.js +3 -3
- package/dist/components/alert/alert.js +4 -4
- package/dist/components/browse-variables/browse-variables.component.js +12 -12
- package/dist/components/browse-variables/browse-variables.js +13 -13
- package/dist/components/browse-variables/browse-variables.styles.js +1 -1
- package/dist/components/button/button.component.js +2 -2
- package/dist/components/button/button.js +3 -3
- package/dist/components/chip/chip.component.js +2 -2
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/combobox/combobox.component.js +2 -2
- package/dist/components/combobox/combobox.js +3 -3
- package/dist/components/data-rods/data-rods.component.js +20 -20
- package/dist/components/data-rods/data-rods.js +21 -21
- package/dist/components/data-subsetter/data-subsetter.component.js +16 -16
- package/dist/components/data-subsetter/data-subsetter.js +17 -17
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +18 -18
- package/dist/components/data-subsetter-history/data-subsetter-history.js +19 -19
- package/dist/components/date-picker/date-picker.component.js +3 -3
- package/dist/components/date-picker/date-picker.js +4 -4
- package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
- package/dist/components/date-range-slider/date-range-slider.js +3 -3
- package/dist/components/dialog/dialog.component.js +2 -2
- package/dist/components/dialog/dialog.js +3 -3
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/login/login.component.js +10 -10
- package/dist/components/login/login.js +11 -11
- package/dist/components/map/map.component.js +2 -2
- package/dist/components/map/map.js +3 -3
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/plot-toolbar/plot-toolbar.component.js +6 -6
- package/dist/components/plot-toolbar/plot-toolbar.js +7 -7
- package/dist/components/plot-toolbar/plot-toolbar.styles.js +1 -1
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.component.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.js +4 -4
- package/dist/components/time-average-map/time-average-map.component.js +8 -8
- package/dist/components/time-average-map/time-average-map.js +9 -9
- package/dist/components/time-series/time-series.component.js +12 -12
- package/dist/components/time-series/time-series.js +13 -13
- package/dist/components/variable-combobox/variable-combobox.component.js +8 -8
- package/dist/components/variable-combobox/variable-combobox.js +9 -9
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +8 -8
- package/dist/components/variable-keyword-search/variable-keyword-search.js +9 -9
- package/dist/custom-elements.json +1545 -1545
- package/dist/react/accordion/index.js +5 -5
- package/dist/react/alert/index.js +4 -4
- package/dist/react/browse-variables/index.js +13 -13
- package/dist/react/button/index.js +3 -3
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +3 -3
- package/dist/react/data-rods/index.js +21 -21
- package/dist/react/data-subsetter/index.js +17 -17
- package/dist/react/data-subsetter-history/index.js +19 -19
- package/dist/react/date-picker/index.js +4 -4
- package/dist/react/date-range-slider/index.js +3 -3
- package/dist/react/dialog/index.js +3 -3
- package/dist/react/icon/index.js +3 -3
- package/dist/react/index.d.ts +6 -6
- package/dist/react/index.js +76 -76
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +11 -11
- package/dist/react/map/index.js +3 -3
- package/dist/react/plot/index.js +3 -3
- package/dist/react/plot-toolbar/index.js +7 -7
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +4 -4
- package/dist/react/time-average-map/index.js +9 -9
- package/dist/react/time-series/index.js +13 -13
- package/dist/react/variable-combobox/index.js +9 -9
- package/dist/react/variable-keyword-search/index.js +9 -9
- package/dist/terra-ui-components.js +61 -61
- package/dist/{terra_ui_components-0.0.68-py3-none-any.whl → terra_ui_components-0.0.70-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.68.tar.gz → terra_ui_components-0.0.70.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +178 -178
- package/dist/vscode.html-custom-data.json +160 -160
- package/dist/web-types.json +341 -341
- package/package.json +1 -1
- package/cdn/chunks/chunk.2AIVKD54.js +0 -214
- package/cdn/chunks/chunk.2BW4SOWQ.js +0 -11
- package/cdn/chunks/chunk.2EYRPHGL.js +0 -10
- package/cdn/chunks/chunk.2WYXDPGS.js +0 -11
- package/cdn/chunks/chunk.3GLMJLNY.js +0 -139
- package/cdn/chunks/chunk.3H5ZUQL5.js +0 -498
- package/cdn/chunks/chunk.3L77HLPZ.js +0 -88
- package/cdn/chunks/chunk.3PUTIFOP.js +0 -35
- package/cdn/chunks/chunk.42V23REY.js +0 -21
- package/cdn/chunks/chunk.445A7YVG.js +0 -271
- package/cdn/chunks/chunk.4E55SLUR.js +0 -11
- package/cdn/chunks/chunk.4EIGF3E4.js +0 -470
- package/cdn/chunks/chunk.4MGGBJBD.js +0 -20
- package/cdn/chunks/chunk.4WKVINLB.js +0 -11
- package/cdn/chunks/chunk.5ASTHFQ2.js +0 -950
- package/cdn/chunks/chunk.5QKVNNUH.js +0 -73
- package/cdn/chunks/chunk.5TZQDEBJ.js +0 -21
- package/cdn/chunks/chunk.6KIVAUVU.js +0 -124
- package/cdn/chunks/chunk.6VTAKEV4.js +0 -74
- package/cdn/chunks/chunk.7674U7FT.js +0 -215
- package/cdn/chunks/chunk.7AEQ2LX4.js +0 -335
- package/cdn/chunks/chunk.7CMA526Q.js +0 -14
- package/cdn/chunks/chunk.7RT5CEB6.js +0 -72
- package/cdn/chunks/chunk.A6D5MCCT.js +0 -123
- package/cdn/chunks/chunk.A7GHUUVY.js +0 -21
- package/cdn/chunks/chunk.AHGKSSSI.js +0 -185
- package/cdn/chunks/chunk.AZXB7ZHM.js +0 -151
- package/cdn/chunks/chunk.B6JXOXP5.js +0 -348
- package/cdn/chunks/chunk.BEDYDFXT.js +0 -52
- package/cdn/chunks/chunk.BRVCFRLF.js +0 -21
- package/cdn/chunks/chunk.CIFC3RF3.js +0 -43
- package/cdn/chunks/chunk.D3DPGMVW.js +0 -222
- package/cdn/chunks/chunk.D3XI3L7Y.js +0 -55
- package/cdn/chunks/chunk.DTUHBE3U.js +0 -37
- package/cdn/chunks/chunk.E2WXLMWX.js +0 -0
- package/cdn/chunks/chunk.F3KBUEPT.js +0 -10
- package/cdn/chunks/chunk.F5AEDYTP.js +0 -37
- package/cdn/chunks/chunk.FF3EIVF2.js +0 -11
- package/cdn/chunks/chunk.FRSW4UHB.js +0 -268
- package/cdn/chunks/chunk.FUU57PWY.js +0 -36
- package/cdn/chunks/chunk.G6SMK5II.js +0 -19
- package/cdn/chunks/chunk.GL5HOXON.js +0 -202
- package/cdn/chunks/chunk.GMJWNAQG.js +0 -264
- package/cdn/chunks/chunk.GQRGC6YW.js +0 -11
- package/cdn/chunks/chunk.GUYBX63F.js +0 -108
- package/cdn/chunks/chunk.HKST5N6O.js +0 -21
- package/cdn/chunks/chunk.HNQMK3PU.js +0 -685
- package/cdn/chunks/chunk.HNWBSRBL.js +0 -43
- package/cdn/chunks/chunk.HUX2RF6U.js +0 -53
- package/cdn/chunks/chunk.HWZP2UTW.js +0 -49
- package/cdn/chunks/chunk.IC4T7CZD.js +0 -62
- package/cdn/chunks/chunk.IJC2KB5R.js +0 -25
- package/cdn/chunks/chunk.J25AAZTC.js +0 -21
- package/cdn/chunks/chunk.JOFHFGQP.js +0 -180
- package/cdn/chunks/chunk.JUQDLDHB.js +0 -139
- package/cdn/chunks/chunk.KIC5ZCAM.js +0 -63
- package/cdn/chunks/chunk.KLCOAQUS.js +0 -65
- package/cdn/chunks/chunk.KUSRVQBO.js +0 -20
- package/cdn/chunks/chunk.KXL6VOQP.js +0 -82
- package/cdn/chunks/chunk.L63WM7I3.js +0 -65
- package/cdn/chunks/chunk.LDCRCQNJ.js +0 -103
- package/cdn/chunks/chunk.M6X72F3Q.js +0 -373
- package/cdn/chunks/chunk.MQOXBVDK.js +0 -58
- package/cdn/chunks/chunk.NQYUJ7FK.js +0 -24
- package/cdn/chunks/chunk.O6SXSDFR.js +0 -539
- package/cdn/chunks/chunk.O7SVDS2A.js +0 -11
- package/cdn/chunks/chunk.OJC754DG.js +0 -228
- package/cdn/chunks/chunk.P7EL7GKI.js +0 -41
- package/cdn/chunks/chunk.PAJVTERU.js +0 -357
- package/cdn/chunks/chunk.PBC3S6IG.js +0 -33
- package/cdn/chunks/chunk.PG4TSLWI.js +0 -78
- package/cdn/chunks/chunk.QAMFDZKG.js +0 -11
- package/cdn/chunks/chunk.QQQ2BD4U.js +0 -80
- package/cdn/chunks/chunk.QZS6UUDI.js +0 -277
- package/cdn/chunks/chunk.RZ3APMFR.js +0 -195
- package/cdn/chunks/chunk.SGFD3ORP.js +0 -293
- package/cdn/chunks/chunk.T53RBNNE.js +0 -519
- package/cdn/chunks/chunk.TCEJ3MS6.js +0 -97
- package/cdn/chunks/chunk.TJGA66AX.js +0 -25
- package/cdn/chunks/chunk.TVFCHGU3.js +0 -76
- package/cdn/chunks/chunk.UDCRU3NE.js +0 -120
- package/cdn/chunks/chunk.UT5XKCBV.js +0 -183
- package/cdn/chunks/chunk.UZAIWUWC.js +0 -8
- package/cdn/chunks/chunk.UZZDJISQ.js +0 -258
- package/cdn/chunks/chunk.V2Z7ZBTD.js +0 -293
- package/cdn/chunks/chunk.V3EFWONT.js +0 -26
- package/cdn/chunks/chunk.V7LXD3II.js +0 -318
- package/cdn/chunks/chunk.WJL4R4O2.js +0 -7
- package/cdn/chunks/chunk.XJVLYIYE.js +0 -41
- package/cdn/chunks/chunk.XOD4KYCP.js +0 -120
- package/cdn/chunks/chunk.XWDZOQJ3.js +0 -11
- package/cdn/chunks/chunk.XXFKVRN5.js +0 -104
- package/cdn/chunks/chunk.XZB6CNAL.js +0 -96
- package/cdn/chunks/chunk.Y7ZED6A4.js +0 -24
- package/cdn/chunks/chunk.YMHBYV33.js +0 -1625
- package/cdn/chunks/chunk.YXLIUMJM.js +0 -147
- package/cdn/chunks/chunk.YY65ZHR5.js +0 -35
- package/cdn/chunks/chunk.Z4S5QPB7.js +0 -655
- package/dist/chunks/chunk.2GEN6UCO.js +0 -21
- package/dist/chunks/chunk.2LGINANI.js +0 -82
- package/dist/chunks/chunk.2OQZA3CW.js +0 -477
- package/dist/chunks/chunk.34PJLKJJ.js +0 -416
- package/dist/chunks/chunk.35EPISNE.js +0 -11
- package/dist/chunks/chunk.3UAVO7EA.js +0 -24
- package/dist/chunks/chunk.3ULVIGJG.js +0 -21
- package/dist/chunks/chunk.3XJ5QNGT.js +0 -21
- package/dist/chunks/chunk.44BRND6T.js +0 -21
- package/dist/chunks/chunk.642Z3X7N.js +0 -11
- package/dist/chunks/chunk.64ARWPHU.js +0 -11
- package/dist/chunks/chunk.65TXBD5Q.js +0 -11
- package/dist/chunks/chunk.6DUMNJRP.js +0 -11
- package/dist/chunks/chunk.76XDDHGB.js +0 -24
- package/dist/chunks/chunk.77RFVKUZ.js +0 -21
- package/dist/chunks/chunk.7JCOOCRE.js +0 -498
- package/dist/chunks/chunk.A7JSMGCJ.js +0 -11
- package/dist/chunks/chunk.ADFWUZLL.js +0 -21
- package/dist/chunks/chunk.AHGKSSSI.js +0 -185
- package/dist/chunks/chunk.AQADCBKW.js +0 -11
- package/dist/chunks/chunk.AU4MMC6N.js +0 -24
- package/dist/chunks/chunk.B63QBHY2.js +0 -21
- package/dist/chunks/chunk.CA2ZDE2M.js +0 -11
- package/dist/chunks/chunk.CDJJZBFH.js +0 -21
- package/dist/chunks/chunk.E4HHQCTB.js +0 -25
- package/dist/chunks/chunk.EBJUC35J.js +0 -11
- package/dist/chunks/chunk.EFBCCYOG.js +0 -21
- package/dist/chunks/chunk.ERXCYNDC.js +0 -11
- package/dist/chunks/chunk.EU34RZJ6.js +0 -348
- package/dist/chunks/chunk.FD3GJNJJ.js +0 -82
- package/dist/chunks/chunk.FNTPKP6P.js +0 -538
- package/dist/chunks/chunk.FZMMKJAN.js +0 -11
- package/dist/chunks/chunk.FZUQIX6Q.js +0 -24
- package/dist/chunks/chunk.GJZMMPJG.js +0 -21
- package/dist/chunks/chunk.GPP6JDF4.js +0 -11
- package/dist/chunks/chunk.H73IKOBV.js +0 -11
- package/dist/chunks/chunk.HKST5N6O.js +0 -21
- package/dist/chunks/chunk.HN27UQHP.js +0 -21
- package/dist/chunks/chunk.IG5HGQXY.js +0 -11
- package/dist/chunks/chunk.J6VAJGFU.js +0 -11
- package/dist/chunks/chunk.JHEFOGNL.js +0 -11
- package/dist/chunks/chunk.KIC5ZCAM.js +0 -63
- package/dist/chunks/chunk.KOT22IKI.js +0 -21
- package/dist/chunks/chunk.KQXAXXOQ.js +0 -53
- package/dist/chunks/chunk.KRADMAUS.js +0 -11
- package/dist/chunks/chunk.KXL6VOQP.js +0 -82
- package/dist/chunks/chunk.L2M2AJ4W.js +0 -21
- package/dist/chunks/chunk.LNIZRE4P.js +0 -180
- package/dist/chunks/chunk.LQXULJBQ.js +0 -21
- package/dist/chunks/chunk.M3SLDTSE.js +0 -477
- package/dist/chunks/chunk.M74U5ILB.js +0 -25
- package/dist/chunks/chunk.M7ZB5QRP.js +0 -273
- package/dist/chunks/chunk.MFI2M54Y.js +0 -273
- package/dist/chunks/chunk.MGM5E2VQ.js +0 -98
- package/dist/chunks/chunk.NDADYNAA.js +0 -11
- package/dist/chunks/chunk.NMWP5DQX.js +0 -259
- package/dist/chunks/chunk.O6SXSDFR.js +0 -539
- package/dist/chunks/chunk.O7SVDS2A.js +0 -11
- package/dist/chunks/chunk.OBANVLY7.js +0 -11
- package/dist/chunks/chunk.OJC754DG.js +0 -228
- package/dist/chunks/chunk.OVUWZWWN.js +0 -355
- package/dist/chunks/chunk.OX5IY75Y.js +0 -11
- package/dist/chunks/chunk.OY5R7EVO.js +0 -24
- package/dist/chunks/chunk.P6OOV5UQ.js +0 -25
- package/dist/chunks/chunk.P7UY5YOM.js +0 -202
- package/dist/chunks/chunk.PA5O6555.js +0 -24
- package/dist/chunks/chunk.PG4TSLWI.js +0 -78
- package/dist/chunks/chunk.PKAXRUSD.js +0 -11
- package/dist/chunks/chunk.PRQ5P3TK.js +0 -11
- package/dist/chunks/chunk.PSIAGOIP.js +0 -538
- package/dist/chunks/chunk.Q6LK4OHE.js +0 -11
- package/dist/chunks/chunk.QAMFDZKG.js +0 -11
- package/dist/chunks/chunk.QEGTBKYW.js +0 -21
- package/dist/chunks/chunk.QHY2BYL4.js +0 -11
- package/dist/chunks/chunk.QNNEWLT7.js +0 -11
- package/dist/chunks/chunk.RBVJJWF4.js +0 -21
- package/dist/chunks/chunk.RDID3JKQ.js +0 -25
- package/dist/chunks/chunk.RJUTQBOV.js +0 -21
- package/dist/chunks/chunk.RVCQSKMD.js +0 -108
- package/dist/chunks/chunk.RVH4PSND.js +0 -416
- package/dist/chunks/chunk.SFFOTZON.js +0 -25
- package/dist/chunks/chunk.SPVE7NND.js +0 -11
- package/dist/chunks/chunk.SRBWEFVT.js +0 -27
- package/dist/chunks/chunk.SWDQJJ7Q.js +0 -11
- package/dist/chunks/chunk.T7DACXNM.js +0 -11
- package/dist/chunks/chunk.TCGYS77N.js +0 -27
- package/dist/chunks/chunk.TIQXW7ZH.js +0 -11
- package/dist/chunks/chunk.TMXTLPTE.js +0 -11
- package/dist/chunks/chunk.UPMJQK2S.js +0 -120
- package/dist/chunks/chunk.URKW2CME.js +0 -21
- package/dist/chunks/chunk.UT5XKCBV.js +0 -183
- package/dist/chunks/chunk.UTXEG3QD.js +0 -214
- package/dist/chunks/chunk.UZZDJISQ.js +0 -258
- package/dist/chunks/chunk.V3CHZTI6.js +0 -470
- package/dist/chunks/chunk.VO4JJ7CZ.js +0 -357
- package/dist/chunks/chunk.VT32WPUI.js +0 -73
- package/dist/chunks/chunk.VYPNLWLL.js +0 -11
- package/dist/chunks/chunk.W5O3LYQV.js +0 -21
- package/dist/chunks/chunk.WTQMOLV2.js +0 -24
- package/dist/chunks/chunk.WXZHDVQ3.js +0 -21
- package/dist/chunks/chunk.WZCLDYKY.js +0 -25
- package/dist/chunks/chunk.X7MVYC7B.js +0 -11
- package/dist/chunks/chunk.XIUGWVFS.js +0 -355
- package/dist/chunks/chunk.XJPYDQOZ.js +0 -11
- package/dist/chunks/chunk.XWDZOQJ3.js +0 -11
- package/dist/chunks/chunk.Y7TVB466.js +0 -1625
- package/dist/chunks/chunk.YIP3L3SE.js +0 -21
- package/dist/chunks/chunk.YP5DVLJS.js +0 -11
- package/dist/chunks/chunk.YRJRQDLF.js +0 -21
- package/dist/chunks/chunk.ZK4JLVS4.js +0 -11
- package/dist/chunks/chunk.ZLRH3XYC.js +0 -24
- package/dist/chunks/chunk.ZOCIZGYF.js +0 -11
- package/cdn/chunks/{chunk.EMLDT66I.js → chunk.EDY6YM3Y.js} +4 -4
- package/cdn/chunks/{chunk.SU2EH44I.js → chunk.NFS2RDEX.js} +5 -5
- package/cdn/chunks/{chunk.VPW32Q52.js → chunk.QFJLPXXJ.js} +3 -3
|
@@ -1,293 +0,0 @@
|
|
|
1
|
-
// src/components/combobox/combobox.styles.ts
|
|
2
|
-
import { css } from "lit";
|
|
3
|
-
var combobox_styles_default = css`
|
|
4
|
-
:host {
|
|
5
|
-
--color-neutral--100: #f7f7f7; /* Retain these 2 local color variables rather than HDS references because color-carbon-XX scale flips with light/dark theme */
|
|
6
|
-
--color-neutral--200: #d1d1d1;
|
|
7
|
-
|
|
8
|
-
--label-height: 1.8125rem;
|
|
9
|
-
--help-height: 1.8125rem;
|
|
10
|
-
--host-height: 5.8125rem;
|
|
11
|
-
|
|
12
|
-
block-size: var(--terra-block-size, 2.1875rem);
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
color: #1b1b1b; /* HDS uses this color for body text but does not have a defined color in the HDS palette */
|
|
15
|
-
contain: layout size style;
|
|
16
|
-
contain-intrinsic-size: var(--terra-inline-size, 100%)
|
|
17
|
-
calc(33vh + var(--terra-block-size, 2.1875rem));
|
|
18
|
-
display: block;
|
|
19
|
-
font-family: var(--terra-font-family--public-sans);
|
|
20
|
-
height: var(--terra-block-size, var(--host-height));
|
|
21
|
-
inline-size: var(--terra-inline-size, 100%);
|
|
22
|
-
position: relative;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
:host([hide-help]) {
|
|
26
|
-
height: calc(
|
|
27
|
-
var(--terra-block-size, var(--host-height)) - var(--help-height)
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
:host([hide-label]) {
|
|
32
|
-
height: calc(
|
|
33
|
-
var(--terra-block-size, var(--host-height)) - var(--label-height)
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
:host([hide-help][hide-label]) {
|
|
38
|
-
height: calc(
|
|
39
|
-
var(--terra-block-size, var(--host-height)) - var(--help-height) - var(
|
|
40
|
-
--label-height
|
|
41
|
-
)
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
* {
|
|
46
|
-
box-sizing: inherit;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.search-input-group {
|
|
50
|
-
block-size: 100%;
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-wrap: wrap;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.combobox {
|
|
56
|
-
block-size: var(--terra-block-size, 2.1875rem);
|
|
57
|
-
flex: 1 1 auto;
|
|
58
|
-
font-size: 1rem;
|
|
59
|
-
padding-inline: 0.5rem;
|
|
60
|
-
transition:
|
|
61
|
-
background-color 0.2s ease,
|
|
62
|
-
border-color 0.2s ease;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.combobox::placeholder {
|
|
66
|
-
color: var(--terra-color-carbon-60);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.combobox:focus {
|
|
70
|
-
border-color: var(--terra-color-carbon-40);
|
|
71
|
-
outline: 0;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.search-input-group:has(.combobox:not(:focus)) + .search-results[open] {
|
|
75
|
-
border-color: var(--terra-color-carbon-30);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.combobox-button {
|
|
79
|
-
position: absolute;
|
|
80
|
-
right: 0;
|
|
81
|
-
z-index: 2;
|
|
82
|
-
margin-block: 0;
|
|
83
|
-
margin-inline: 0;
|
|
84
|
-
outline: 0;
|
|
85
|
-
transition:
|
|
86
|
-
background-color 0.2s ease,
|
|
87
|
-
border-color 0.2s ease;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.combobox-button[aria-expanded='true'] .chevron {
|
|
91
|
-
rotate: -0.5turn;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.button-icon {
|
|
95
|
-
height: 1rem;
|
|
96
|
-
width: 1rem;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.chevron {
|
|
100
|
-
transition: rotate 0.2s ease;
|
|
101
|
-
will-change: rotate;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.spinner {
|
|
105
|
-
transform-origin: center;
|
|
106
|
-
animation: spin 2s linear infinite;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.spinner circle {
|
|
110
|
-
stroke-linecap: round;
|
|
111
|
-
animation: vary-stroke 1.5s ease-in-out infinite;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.search-help {
|
|
115
|
-
bottom: 0;
|
|
116
|
-
color: var(--terra-color-carbon-60);
|
|
117
|
-
flex: 1 1 100%;
|
|
118
|
-
font-size: var(--terra-font-size-small);
|
|
119
|
-
line-height: var(--terra-line-height-normal);
|
|
120
|
-
margin-block: 0;
|
|
121
|
-
position: absolute;
|
|
122
|
-
bottom: -10px;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.external-link {
|
|
126
|
-
fill: currentColor;
|
|
127
|
-
vertical-align: middle;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.search-results {
|
|
131
|
-
background-color: var(--terra-color-spacesuit-white);
|
|
132
|
-
block-size: calc(33vh - var(--terra-block-size, 2.1875rem));
|
|
133
|
-
border-block-end: 2px solid transparent;
|
|
134
|
-
border-inline: 2px solid transparent;
|
|
135
|
-
contain: strict;
|
|
136
|
-
contain-intrinsic-size: var(--terra-inline-size, 100%)
|
|
137
|
-
calc(33vh - var(--terra-block-size, 2.1875rem));
|
|
138
|
-
content-visibility: hidden;
|
|
139
|
-
left: 0;
|
|
140
|
-
margin-block: 0;
|
|
141
|
-
margin-inline: 0;
|
|
142
|
-
max-height: 0;
|
|
143
|
-
opacity: 0;
|
|
144
|
-
overflow-y: auto;
|
|
145
|
-
overscroll-behavior: contain;
|
|
146
|
-
padding-block: 0.5rem;
|
|
147
|
-
padding-inline: 0px;
|
|
148
|
-
position: absolute;
|
|
149
|
-
right: 0;
|
|
150
|
-
visibility: hidden;
|
|
151
|
-
transition:
|
|
152
|
-
background-color 0.2s ease,
|
|
153
|
-
border-color 0.2s ease;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.search-results[open] {
|
|
157
|
-
border-color: var(--terra-color-carbon-40);
|
|
158
|
-
content-visibility: auto;
|
|
159
|
-
max-height: calc(33vh - var(--terra-block-size, 2.1875rem));
|
|
160
|
-
opacity: 1;
|
|
161
|
-
visibility: visible;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.search-results .updating {
|
|
165
|
-
font-size: var(--terra-font-size-x-large);
|
|
166
|
-
padding-block: 4rem;
|
|
167
|
-
text-align: center;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.search-results .error {
|
|
171
|
-
color: var(--terra-color-nasa-red);
|
|
172
|
-
font-family: var(--terra-font-family--dm-mono);
|
|
173
|
-
padding-block: 2rem;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.listbox-option-group {
|
|
177
|
-
padding-inline: 0.5rem;
|
|
178
|
-
padding-block: 1rem 0.5rem;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.group-title {
|
|
182
|
-
padding-inline: 0.5rem;
|
|
183
|
-
font-family: var(--terra-font-family--inter);
|
|
184
|
-
font-weight: 700;
|
|
185
|
-
margin-block: 0;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.listbox-option-group ul {
|
|
189
|
-
padding-left: 0px;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.listbox-option {
|
|
193
|
-
cursor: pointer;
|
|
194
|
-
list-style: none;
|
|
195
|
-
position: relative;
|
|
196
|
-
padding-left: 2rem;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.listbox-option:hover,
|
|
200
|
-
.listbox-option[aria-selected='true'] {
|
|
201
|
-
transition: background-color 0.2s ease;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
@media (prefers-reduced-motion) {
|
|
205
|
-
.button-icon {
|
|
206
|
-
transition: rotate 0s ease;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.search-results {
|
|
210
|
-
scroll-behavior: auto;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
@keyframes spin {
|
|
215
|
-
to {
|
|
216
|
-
transform: rotate(1turn);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
@keyframes vary-stroke {
|
|
221
|
-
0% {
|
|
222
|
-
stroke-dasharray: 0 150;
|
|
223
|
-
stroke-dashoffset: 0;
|
|
224
|
-
}
|
|
225
|
-
47.5% {
|
|
226
|
-
stroke-dasharray: 42 150;
|
|
227
|
-
stroke-dashoffset: -16;
|
|
228
|
-
}
|
|
229
|
-
95%,
|
|
230
|
-
100% {
|
|
231
|
-
stroke-dasharray: 42 150;
|
|
232
|
-
stroke-dashoffset: -59;
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/* General reset for skeleton elements */
|
|
237
|
-
.skeleton,
|
|
238
|
-
.skeleton * {
|
|
239
|
-
margin: 0;
|
|
240
|
-
padding: 0;
|
|
241
|
-
list-style: none;
|
|
242
|
-
box-sizing: border-box;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
/* Styling for the skeleton groups */
|
|
246
|
-
.skeleton.listbox-option-group {
|
|
247
|
-
padding: 0.25rem;
|
|
248
|
-
margin: 0.5rem 0;
|
|
249
|
-
background: var(--color-neutral--100); /* Light background for the group */
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
/* Styling for the title in each group */
|
|
253
|
-
.skeleton-title {
|
|
254
|
-
display: flex;
|
|
255
|
-
height: 1.25rem;
|
|
256
|
-
width: 80%; /* Slightly longer than before */
|
|
257
|
-
background-color: var(--color-neutral--100);
|
|
258
|
-
margin-bottom: 10px;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
/* Styling for each option inside the group */
|
|
262
|
-
.skeleton .listbox-option {
|
|
263
|
-
height: 1rem;
|
|
264
|
-
width: 60%; /* Shorter width to differentiate from title */
|
|
265
|
-
background-color: var(--color-neutral--200);
|
|
266
|
-
margin-top: 5px;
|
|
267
|
-
margin-left: 1.5rem;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/* Keyframes for the animation */
|
|
271
|
-
@keyframes pulse {
|
|
272
|
-
0%,
|
|
273
|
-
100% {
|
|
274
|
-
background-color: var(
|
|
275
|
-
--terra-color-neutral--200,
|
|
276
|
-
var(--color-neutral--200)
|
|
277
|
-
);
|
|
278
|
-
}
|
|
279
|
-
50% {
|
|
280
|
-
background-color: var(--color-neutral--100);
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
/* Applying the animation to simulate loading */
|
|
285
|
-
.skeleton-title,
|
|
286
|
-
.skeleton .listbox-option {
|
|
287
|
-
animation: pulse 2s infinite ease-in-out;
|
|
288
|
-
}
|
|
289
|
-
`;
|
|
290
|
-
|
|
291
|
-
export {
|
|
292
|
-
combobox_styles_default
|
|
293
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// src/utilities/environment.ts
|
|
2
|
-
var Environment = /* @__PURE__ */ ((Environment2) => {
|
|
3
|
-
Environment2["UAT"] = "uat";
|
|
4
|
-
Environment2["PROD"] = "prod";
|
|
5
|
-
return Environment2;
|
|
6
|
-
})(Environment || {});
|
|
7
|
-
function getEnvironment() {
|
|
8
|
-
const localStorageEnv = localStorage.getItem("terra-environment");
|
|
9
|
-
if (localStorageEnv === "uat") {
|
|
10
|
-
return "uat" /* UAT */;
|
|
11
|
-
}
|
|
12
|
-
if (localStorageEnv === "prod") {
|
|
13
|
-
return "prod" /* PROD */;
|
|
14
|
-
}
|
|
15
|
-
const url = window.location.href;
|
|
16
|
-
const isUatUrl = url.includes("https://uat.") || // e.g. https://uat.urs.earthdata.nasa.gov/
|
|
17
|
-
url.includes("https://migrate.") || // e.g. https://migrate.earthdata.nasa.gov/
|
|
18
|
-
url.includes(".uat.") || // e.g. https://cmr.uat.earthdata.nasa.gov/
|
|
19
|
-
url.includes("-test.");
|
|
20
|
-
return isUatUrl ? "uat" /* UAT */ : "prod" /* PROD */;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export {
|
|
24
|
-
Environment,
|
|
25
|
-
getEnvironment
|
|
26
|
-
};
|
|
@@ -1,318 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__spreadProps,
|
|
3
|
-
__spreadValues
|
|
4
|
-
} from "./chunk.TVFCHGU3.js";
|
|
5
|
-
|
|
6
|
-
// src/internal/form.ts
|
|
7
|
-
var formCollections = /* @__PURE__ */ new WeakMap();
|
|
8
|
-
var reportValidityOverloads = /* @__PURE__ */ new WeakMap();
|
|
9
|
-
var checkValidityOverloads = /* @__PURE__ */ new WeakMap();
|
|
10
|
-
var userInteractedControls = /* @__PURE__ */ new WeakSet();
|
|
11
|
-
var interactions = /* @__PURE__ */ new WeakMap();
|
|
12
|
-
var FormControlController = class {
|
|
13
|
-
constructor(host, options) {
|
|
14
|
-
this.handleFormData = (event) => {
|
|
15
|
-
const disabled = this.options.disabled(this.host);
|
|
16
|
-
const name = this.options.name(this.host);
|
|
17
|
-
const value = this.options.value(this.host);
|
|
18
|
-
const isButton = this.host.tagName.toLowerCase() === "terra-button";
|
|
19
|
-
if (this.host.isConnected && !disabled && !isButton && typeof name === "string" && name.length > 0 && typeof value !== "undefined") {
|
|
20
|
-
if (Array.isArray(value)) {
|
|
21
|
-
;
|
|
22
|
-
value.forEach((val) => {
|
|
23
|
-
event.formData.append(
|
|
24
|
-
name,
|
|
25
|
-
val.toString()
|
|
26
|
-
);
|
|
27
|
-
});
|
|
28
|
-
} else {
|
|
29
|
-
event.formData.append(
|
|
30
|
-
name,
|
|
31
|
-
value.toString()
|
|
32
|
-
);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
this.handleFormSubmit = (event) => {
|
|
37
|
-
var _a;
|
|
38
|
-
const disabled = this.options.disabled(this.host);
|
|
39
|
-
const reportValidity = this.options.reportValidity;
|
|
40
|
-
if (this.form && !this.form.noValidate) {
|
|
41
|
-
(_a = formCollections.get(this.form)) == null ? void 0 : _a.forEach((control) => {
|
|
42
|
-
this.setUserInteracted(control, true);
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
if (this.form && !this.form.noValidate && !disabled && !reportValidity(this.host)) {
|
|
46
|
-
event.preventDefault();
|
|
47
|
-
event.stopImmediatePropagation();
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
this.handleFormReset = () => {
|
|
51
|
-
this.options.setValue(this.host, this.options.defaultValue(this.host));
|
|
52
|
-
this.setUserInteracted(this.host, false);
|
|
53
|
-
interactions.set(this.host, []);
|
|
54
|
-
};
|
|
55
|
-
this.handleInteraction = (event) => {
|
|
56
|
-
const emittedEvents = interactions.get(this.host);
|
|
57
|
-
if (!emittedEvents.includes(event.type)) {
|
|
58
|
-
emittedEvents.push(event.type);
|
|
59
|
-
}
|
|
60
|
-
if (emittedEvents.length === this.options.assumeInteractionOn.length) {
|
|
61
|
-
this.setUserInteracted(this.host, true);
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
this.checkFormValidity = () => {
|
|
65
|
-
if (this.form && !this.form.noValidate) {
|
|
66
|
-
const elements = this.form.querySelectorAll("*");
|
|
67
|
-
for (const element of elements) {
|
|
68
|
-
if (typeof element.checkValidity === "function") {
|
|
69
|
-
if (!element.checkValidity()) {
|
|
70
|
-
return false;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
return true;
|
|
76
|
-
};
|
|
77
|
-
this.reportFormValidity = () => {
|
|
78
|
-
if (this.form && !this.form.noValidate) {
|
|
79
|
-
const elements = this.form.querySelectorAll("*");
|
|
80
|
-
for (const element of elements) {
|
|
81
|
-
if (typeof element.reportValidity === "function") {
|
|
82
|
-
if (!element.reportValidity()) {
|
|
83
|
-
return false;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
return true;
|
|
89
|
-
};
|
|
90
|
-
;
|
|
91
|
-
(this.host = host).addController(this);
|
|
92
|
-
this.options = __spreadValues({
|
|
93
|
-
form: (input) => {
|
|
94
|
-
const formId = input.form;
|
|
95
|
-
if (formId) {
|
|
96
|
-
const root = input.getRootNode();
|
|
97
|
-
const form = root.querySelector(`#${formId}`);
|
|
98
|
-
if (form) {
|
|
99
|
-
return form;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
return input.closest("form");
|
|
103
|
-
},
|
|
104
|
-
name: (input) => input.name,
|
|
105
|
-
value: (input) => input.value,
|
|
106
|
-
defaultValue: (input) => input.defaultValue,
|
|
107
|
-
disabled: (input) => {
|
|
108
|
-
var _a;
|
|
109
|
-
return (_a = input.disabled) != null ? _a : false;
|
|
110
|
-
},
|
|
111
|
-
reportValidity: (input) => typeof input.reportValidity === "function" ? input.reportValidity() : true,
|
|
112
|
-
checkValidity: (input) => typeof input.checkValidity === "function" ? input.checkValidity() : true,
|
|
113
|
-
setValue: (input, value) => input.value = value,
|
|
114
|
-
assumeInteractionOn: ["terra-input"]
|
|
115
|
-
}, options);
|
|
116
|
-
}
|
|
117
|
-
hostConnected() {
|
|
118
|
-
const form = this.options.form(this.host);
|
|
119
|
-
if (form) {
|
|
120
|
-
this.attachForm(form);
|
|
121
|
-
}
|
|
122
|
-
interactions.set(this.host, []);
|
|
123
|
-
this.options.assumeInteractionOn.forEach((event) => {
|
|
124
|
-
this.host.addEventListener(event, this.handleInteraction);
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
hostDisconnected() {
|
|
128
|
-
this.detachForm();
|
|
129
|
-
interactions.delete(this.host);
|
|
130
|
-
this.options.assumeInteractionOn.forEach((event) => {
|
|
131
|
-
this.host.removeEventListener(event, this.handleInteraction);
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
|
-
hostUpdated() {
|
|
135
|
-
const form = this.options.form(this.host);
|
|
136
|
-
if (!form) {
|
|
137
|
-
this.detachForm();
|
|
138
|
-
}
|
|
139
|
-
if (form && this.form !== form) {
|
|
140
|
-
this.detachForm();
|
|
141
|
-
this.attachForm(form);
|
|
142
|
-
}
|
|
143
|
-
if (this.host.hasUpdated) {
|
|
144
|
-
this.setValidity(this.host.validity.valid);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
attachForm(form) {
|
|
148
|
-
if (form) {
|
|
149
|
-
this.form = form;
|
|
150
|
-
if (formCollections.has(this.form)) {
|
|
151
|
-
formCollections.get(this.form).add(this.host);
|
|
152
|
-
} else {
|
|
153
|
-
formCollections.set(this.form, /* @__PURE__ */ new Set([this.host]));
|
|
154
|
-
}
|
|
155
|
-
this.form.addEventListener("formdata", this.handleFormData);
|
|
156
|
-
this.form.addEventListener("submit", this.handleFormSubmit);
|
|
157
|
-
this.form.addEventListener("reset", this.handleFormReset);
|
|
158
|
-
if (!reportValidityOverloads.has(this.form)) {
|
|
159
|
-
reportValidityOverloads.set(this.form, this.form.reportValidity);
|
|
160
|
-
this.form.reportValidity = () => this.reportFormValidity();
|
|
161
|
-
}
|
|
162
|
-
if (!checkValidityOverloads.has(this.form)) {
|
|
163
|
-
checkValidityOverloads.set(this.form, this.form.checkValidity);
|
|
164
|
-
this.form.checkValidity = () => this.checkFormValidity();
|
|
165
|
-
}
|
|
166
|
-
} else {
|
|
167
|
-
this.form = void 0;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
detachForm() {
|
|
171
|
-
if (!this.form)
|
|
172
|
-
return;
|
|
173
|
-
const formCollection = formCollections.get(this.form);
|
|
174
|
-
if (!formCollection) {
|
|
175
|
-
return;
|
|
176
|
-
}
|
|
177
|
-
formCollection.delete(this.host);
|
|
178
|
-
if (formCollection.size <= 0) {
|
|
179
|
-
this.form.removeEventListener("formdata", this.handleFormData);
|
|
180
|
-
this.form.removeEventListener("submit", this.handleFormSubmit);
|
|
181
|
-
this.form.removeEventListener("reset", this.handleFormReset);
|
|
182
|
-
if (reportValidityOverloads.has(this.form)) {
|
|
183
|
-
this.form.reportValidity = reportValidityOverloads.get(this.form);
|
|
184
|
-
reportValidityOverloads.delete(this.form);
|
|
185
|
-
}
|
|
186
|
-
if (checkValidityOverloads.has(this.form)) {
|
|
187
|
-
this.form.checkValidity = checkValidityOverloads.get(this.form);
|
|
188
|
-
checkValidityOverloads.delete(this.form);
|
|
189
|
-
}
|
|
190
|
-
this.form = void 0;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
setUserInteracted(el, hasInteracted) {
|
|
194
|
-
if (hasInteracted) {
|
|
195
|
-
userInteractedControls.add(el);
|
|
196
|
-
} else {
|
|
197
|
-
userInteractedControls.delete(el);
|
|
198
|
-
}
|
|
199
|
-
el.requestUpdate();
|
|
200
|
-
}
|
|
201
|
-
doAction(type, submitter) {
|
|
202
|
-
if (this.form) {
|
|
203
|
-
const button = document.createElement("button");
|
|
204
|
-
button.type = type;
|
|
205
|
-
button.style.position = "absolute";
|
|
206
|
-
button.style.width = "0";
|
|
207
|
-
button.style.height = "0";
|
|
208
|
-
button.style.clipPath = "inset(50%)";
|
|
209
|
-
button.style.overflow = "hidden";
|
|
210
|
-
button.style.whiteSpace = "nowrap";
|
|
211
|
-
if (submitter) {
|
|
212
|
-
button.name = submitter.name;
|
|
213
|
-
button.value = submitter.value;
|
|
214
|
-
[
|
|
215
|
-
"formaction",
|
|
216
|
-
"formenctype",
|
|
217
|
-
"formmethod",
|
|
218
|
-
"formnovalidate",
|
|
219
|
-
"formtarget"
|
|
220
|
-
].forEach((attr) => {
|
|
221
|
-
if (submitter.hasAttribute(attr)) {
|
|
222
|
-
button.setAttribute(attr, submitter.getAttribute(attr));
|
|
223
|
-
}
|
|
224
|
-
});
|
|
225
|
-
}
|
|
226
|
-
this.form.append(button);
|
|
227
|
-
button.click();
|
|
228
|
-
button.remove();
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
/** Returns the associated `<form>` element, if one exists. */
|
|
232
|
-
getForm() {
|
|
233
|
-
var _a;
|
|
234
|
-
return (_a = this.form) != null ? _a : null;
|
|
235
|
-
}
|
|
236
|
-
/** Resets the form, restoring all the control to their default value */
|
|
237
|
-
reset(submitter) {
|
|
238
|
-
this.doAction("reset", submitter);
|
|
239
|
-
}
|
|
240
|
-
/** Submits the form, triggering validation and form data injection. */
|
|
241
|
-
submit(submitter) {
|
|
242
|
-
this.doAction("submit", submitter);
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
* Synchronously sets the form control's validity. Call this when you know the future validity but need to update
|
|
246
|
-
* the host element immediately, i.e. before Lit updates the component in the next update.
|
|
247
|
-
*/
|
|
248
|
-
setValidity(isValid) {
|
|
249
|
-
const host = this.host;
|
|
250
|
-
const hasInteracted = Boolean(userInteractedControls.has(host));
|
|
251
|
-
const required = Boolean(host.required);
|
|
252
|
-
host.toggleAttribute("data-required", required);
|
|
253
|
-
host.toggleAttribute("data-optional", !required);
|
|
254
|
-
host.toggleAttribute("data-invalid", !isValid);
|
|
255
|
-
host.toggleAttribute("data-valid", isValid);
|
|
256
|
-
host.toggleAttribute("data-user-invalid", !isValid && hasInteracted);
|
|
257
|
-
host.toggleAttribute("data-user-valid", isValid && hasInteracted);
|
|
258
|
-
}
|
|
259
|
-
/**
|
|
260
|
-
* Updates the form control's validity based on the current value of `host.validity.valid`. Call this when anything
|
|
261
|
-
* that affects constraint validation changes so the component receives the correct validity states.
|
|
262
|
-
*/
|
|
263
|
-
updateValidity() {
|
|
264
|
-
const host = this.host;
|
|
265
|
-
this.setValidity(host.validity.valid);
|
|
266
|
-
}
|
|
267
|
-
/**
|
|
268
|
-
* Dispatches a non-bubbling, cancelable custom event of type `terra-invalid`.
|
|
269
|
-
* If the `terra-invalid` event will be cancelled then the original `invalid`
|
|
270
|
-
* event (which may have been passed as argument) will also be cancelled.
|
|
271
|
-
* If no original `invalid` event has been passed then the `terra-invalid`
|
|
272
|
-
* event will be cancelled before being dispatched.
|
|
273
|
-
*/
|
|
274
|
-
emitInvalidEvent(originalInvalidEvent) {
|
|
275
|
-
const slInvalidEvent = new CustomEvent(
|
|
276
|
-
"terra-invalid",
|
|
277
|
-
{
|
|
278
|
-
bubbles: false,
|
|
279
|
-
composed: false,
|
|
280
|
-
cancelable: true,
|
|
281
|
-
detail: {}
|
|
282
|
-
}
|
|
283
|
-
);
|
|
284
|
-
if (!originalInvalidEvent) {
|
|
285
|
-
slInvalidEvent.preventDefault();
|
|
286
|
-
}
|
|
287
|
-
if (!this.host.dispatchEvent(slInvalidEvent)) {
|
|
288
|
-
originalInvalidEvent == null ? void 0 : originalInvalidEvent.preventDefault();
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
};
|
|
292
|
-
var validValidityState = Object.freeze({
|
|
293
|
-
badInput: false,
|
|
294
|
-
customError: false,
|
|
295
|
-
patternMismatch: false,
|
|
296
|
-
rangeOverflow: false,
|
|
297
|
-
rangeUnderflow: false,
|
|
298
|
-
stepMismatch: false,
|
|
299
|
-
tooLong: false,
|
|
300
|
-
tooShort: false,
|
|
301
|
-
typeMismatch: false,
|
|
302
|
-
valid: true,
|
|
303
|
-
valueMissing: false
|
|
304
|
-
});
|
|
305
|
-
var valueMissingValidityState = Object.freeze(__spreadProps(__spreadValues({}, validValidityState), {
|
|
306
|
-
valid: false,
|
|
307
|
-
valueMissing: true
|
|
308
|
-
}));
|
|
309
|
-
var customErrorValidityState = Object.freeze(__spreadProps(__spreadValues({}, validValidityState), {
|
|
310
|
-
valid: false,
|
|
311
|
-
customError: true
|
|
312
|
-
}));
|
|
313
|
-
|
|
314
|
-
export {
|
|
315
|
-
formCollections,
|
|
316
|
-
FormControlController,
|
|
317
|
-
validValidityState
|
|
318
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
formCollections
|
|
3
|
-
} from "./chunk.V7LXD3II.js";
|
|
4
|
-
|
|
5
|
-
// src/utilities/form.ts
|
|
6
|
-
function serialize(form) {
|
|
7
|
-
const formData = new FormData(form);
|
|
8
|
-
const object = {};
|
|
9
|
-
formData.forEach((value, key) => {
|
|
10
|
-
if (Reflect.has(object, key)) {
|
|
11
|
-
const entry = object[key];
|
|
12
|
-
if (Array.isArray(entry)) {
|
|
13
|
-
entry.push(value);
|
|
14
|
-
} else {
|
|
15
|
-
object[key] = [object[key], value];
|
|
16
|
-
}
|
|
17
|
-
} else {
|
|
18
|
-
object[key] = value;
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
return object;
|
|
22
|
-
}
|
|
23
|
-
function getFormControls(form) {
|
|
24
|
-
const rootNode = form.getRootNode();
|
|
25
|
-
const allNodes = [...rootNode.querySelectorAll("*")];
|
|
26
|
-
const formControls = [...form.elements];
|
|
27
|
-
const collection = formCollections.get(form);
|
|
28
|
-
const TerraFormControls = collection ? Array.from(collection) : [];
|
|
29
|
-
return [...formControls, ...TerraFormControls].sort((a, b) => {
|
|
30
|
-
if (allNodes.indexOf(a) < allNodes.indexOf(b))
|
|
31
|
-
return -1;
|
|
32
|
-
if (allNodes.indexOf(a) > allNodes.indexOf(b))
|
|
33
|
-
return 1;
|
|
34
|
-
return 0;
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export {
|
|
39
|
-
serialize,
|
|
40
|
-
getFormControls
|
|
41
|
-
};
|