@nasa-terra/components 0.0.16 → 0.0.19
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.2TIJ6R6B.js → chunk.255N2VBJ.js} +1 -1
- package/cdn/chunks/{chunk.JIUOSOVY.js → chunk.26M35UMA.js} +1 -1
- package/cdn/chunks/{chunk.7VSR26CA.js → chunk.2MR4S2RG.js} +2 -2
- package/cdn/chunks/{chunk.EHY7VY3A.js → chunk.35UPRHLO.js} +1 -1
- package/cdn/chunks/{chunk.XV5OXFZF.js → chunk.3QDQU6IH.js} +1 -1
- package/cdn/chunks/{chunk.JM34BH4L.js → chunk.3X46EXSH.js} +1 -1
- package/cdn/chunks/{chunk.336JMC6Z.js → chunk.4BM5VFHP.js} +4 -2
- package/cdn/chunks/{chunk.KNJGM7ZC.js → chunk.7NUP2QM3.js} +1 -1
- package/cdn/chunks/{chunk.FKIVBKR4.js → chunk.A7JNBDMV.js} +1 -1
- package/{dist/chunks/chunk.2GTDPFRM.js → cdn/chunks/chunk.CVMKTAN6.js} +1 -1
- package/cdn/chunks/{chunk.RPXN4NU2.js → chunk.D4PVXIX4.js} +1 -1
- package/cdn/chunks/{chunk.VLVUJMLW.js → chunk.D4RFPP4E.js} +14 -14
- package/cdn/chunks/{chunk.IA24KXWX.js → chunk.EFFYILRO.js} +1 -1
- package/{dist/chunks/chunk.CBU7JODA.js → cdn/chunks/chunk.FXBR2CLR.js} +1 -1
- package/cdn/chunks/{chunk.AI62NGNK.js → chunk.GGXVEHRQ.js} +1 -1
- package/cdn/chunks/{chunk.MGN45BTW.js → chunk.GVXNMKZL.js} +1 -1
- package/cdn/chunks/{chunk.LCBLTPNH.js → chunk.H4JY2YI5.js} +1 -1
- package/cdn/chunks/{chunk.3ENNXZ6R.js → chunk.HOJQS4WB.js} +23 -14
- package/cdn/chunks/{chunk.T3R3UWJ7.js → chunk.HYBK26DZ.js} +3 -3
- package/cdn/chunks/{chunk.VXV5USN7.js → chunk.I4SJOUOT.js} +9 -9
- package/cdn/chunks/{chunk.5TCRMMVM.js → chunk.IEKKFDDR.js} +1 -1
- package/cdn/chunks/{chunk.QQ3GAD4X.js → chunk.JF5WE7DB.js} +4 -4
- package/cdn/chunks/{chunk.F6HKKNJR.js → chunk.K3KUUN7M.js} +15 -15
- package/cdn/chunks/{chunk.EIMG4XGS.js → chunk.KGVGJIN6.js} +4 -4
- package/cdn/chunks/{chunk.DY5SMOW7.js → chunk.KRV3QC6E.js} +1 -2
- package/cdn/chunks/{chunk.SDCAKUF2.js → chunk.MU5VF7T7.js} +1 -1
- package/cdn/chunks/{chunk.57LVW27O.js → chunk.N36ACYG7.js} +1 -1
- package/cdn/chunks/{chunk.TG4WI6CA.js → chunk.N6CSKYGG.js} +1 -1
- package/cdn/chunks/{chunk.PETOVVIO.js → chunk.PHMP6QZK.js} +1 -1
- package/cdn/chunks/{chunk.TOG3CR4L.js → chunk.Q7V7IFTI.js} +1 -1
- package/cdn/chunks/{chunk.WVAKAESC.js → chunk.RJCQ5JYU.js} +1 -1
- package/cdn/chunks/{chunk.ODLY7QWO.js → chunk.RPRZYXWX.js} +1 -1
- package/cdn/chunks/{chunk.F3WO26WZ.js → chunk.SAY53MDH.js} +3 -3
- package/{dist/chunks/chunk.KPXFSE3J.js → cdn/chunks/chunk.SBTMIM4P.js} +6 -3
- package/cdn/chunks/{chunk.RYDRC65X.js → chunk.SU7526RC.js} +1 -1
- package/{dist/chunks/chunk.34PQNYPP.js → cdn/chunks/chunk.T6LQIGOC.js} +1 -1
- package/{dist/chunks/chunk.KCYAARKK.js → cdn/chunks/chunk.T6XNILRG.js} +1 -1
- package/cdn/chunks/{chunk.5EGY75T5.js → chunk.UBVSIOSK.js} +4 -4
- package/cdn/chunks/{chunk.77DLQZVO.js → chunk.UQREFLTK.js} +1 -1
- package/cdn/chunks/{chunk.GZ24SYY3.js → chunk.VJ3ZRWAI.js} +2 -6
- package/cdn/chunks/{chunk.TD5OSBG3.js → chunk.VVXXEKVB.js} +1 -1
- package/cdn/chunks/{chunk.PBTOMMNF.js → chunk.VWOCHHDI.js} +7 -7
- package/cdn/chunks/{chunk.G6ADH3AH.js → chunk.WLGNUWUQ.js} +1 -1
- package/cdn/chunks/{chunk.QE6VXD5B.js → chunk.WRRDTOCT.js} +5 -2
- package/cdn/chunks/{chunk.IFWHGZLJ.js → chunk.XPKFSIPV.js} +1 -1
- package/cdn/chunks/{chunk.OB7ATVCO.js → chunk.YGXFM6FJ.js} +1 -1
- package/cdn/chunks/{chunk.CZH6I2IA.js → chunk.ZAYAT2TO.js} +1 -1
- package/cdn/chunks/{chunk.X2ZVRY4H.js → chunk.ZJVBOKXX.js} +1 -1
- package/cdn/chunks/{chunk.NGNH7UG4.js → chunk.ZMHMRAXL.js} +4 -4
- package/cdn/chunks/{chunk.MSS2SPZN.js → chunk.ZSTKVGYN.js} +1 -1
- package/cdn/components/browse-variables/browse-variables.component.js +19 -19
- package/cdn/components/browse-variables/browse-variables.js +20 -20
- package/cdn/components/button/button.component.js +4 -4
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +4 -4
- package/cdn/components/combobox/combobox.js +5 -5
- package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
- package/cdn/components/date-range-slider/date-range-slider.js +4 -4
- package/cdn/components/giovanni-search/giovanni-search.component.js +13 -13
- package/cdn/components/giovanni-search/giovanni-search.js +14 -14
- package/cdn/components/icon/icon.component.js +4 -4
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/icon/library.js +2 -2
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +13 -13
- package/cdn/components/login/login.js +14 -14
- package/cdn/components/map/leaflet-utils.d.ts +1 -1
- package/cdn/components/map/leaflet-utils.js +1 -1
- package/cdn/components/map/map.component.js +5 -5
- package/cdn/components/map/map.controller.js +1 -1
- package/cdn/components/map/map.js +6 -6
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spatial-picker/spatial-picker.component.js +6 -6
- package/cdn/components/spatial-picker/spatial-picker.js +7 -7
- package/cdn/components/time-series/time-series.component.d.ts +4 -2
- package/cdn/components/time-series/time-series.component.js +25 -25
- package/cdn/components/time-series/time-series.controller.d.ts +4 -3
- package/cdn/components/time-series/time-series.controller.js +1 -1
- package/cdn/components/time-series/time-series.js +26 -26
- package/cdn/components/variable-combobox/variable-combobox.component.js +12 -12
- package/cdn/components/variable-combobox/variable-combobox.controller.js +2 -2
- package/cdn/components/variable-combobox/variable-combobox.js +13 -13
- package/cdn/custom-elements.json +458 -450
- package/cdn/events/events.d.ts +1 -0
- package/cdn/events/terra-time-series-data-change.d.ts +16 -0
- package/cdn/react/browse-variables/index.js +20 -20
- package/cdn/react/button/index.js +5 -5
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +5 -5
- package/cdn/react/date-range-slider/index.js +4 -4
- package/cdn/react/giovanni-search/index.js +14 -14
- package/cdn/react/icon/index.js +5 -5
- package/cdn/react/index.d.ts +2 -2
- package/cdn/react/index.js +64 -64
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +14 -14
- package/cdn/react/map/index.js +6 -6
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spatial-picker/index.js +7 -7
- package/cdn/react/time-series/index.d.ts +8 -1
- package/cdn/react/time-series/index.js +26 -26
- package/cdn/react/variable-combobox/index.js +13 -13
- package/cdn/terra-ui-components.js +58 -58
- package/cdn/types/vue/index.d.ts +68 -63
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/vscode.html-custom-data.json +49 -49
- package/cdn/web-types.json +85 -75
- package/{cdn/chunks/chunk.JBZMCSPD.js → dist/chunks/chunk.267RAJCD.js} +1 -1
- package/dist/chunks/{chunk.DV6U7J5D.js → chunk.2GFNQRFQ.js} +6 -6
- package/dist/chunks/{chunk.2KFIIWTA.js → chunk.2GIVYMVS.js} +1 -1
- package/dist/chunks/{chunk.ECOMXZ5Z.js → chunk.2SW6ZLO3.js} +6 -6
- package/dist/chunks/{chunk.5TCRMMVM.js → chunk.5BLMPQLX.js} +1 -1
- package/{cdn/chunks/chunk.MTNKN7SC.js → dist/chunks/chunk.6BQMITBG.js} +1 -1
- package/dist/chunks/{chunk.BQKL24VU.js → chunk.6W5DHHGH.js} +1 -1
- package/{cdn/chunks/chunk.NZLN7XGH.js → dist/chunks/chunk.6XGCF2AT.js} +1 -1
- package/{cdn/chunks/chunk.WALPLM23.js → dist/chunks/chunk.BLNX7W6U.js} +1 -1
- package/{cdn/chunks/chunk.34PQNYPP.js → dist/chunks/chunk.BQZFEJJM.js} +1 -1
- package/{cdn/chunks/chunk.NXW5W246.js → dist/chunks/chunk.CG2UCM6R.js} +4 -4
- package/{cdn/chunks/chunk.QJJV3URN.js → dist/chunks/chunk.CIHL36QS.js} +1 -1
- package/{cdn/chunks/chunk.NHY4FPXP.js → dist/chunks/chunk.DOHDFFXP.js} +6 -6
- package/{cdn/chunks/chunk.CUBR5ACQ.js → dist/chunks/chunk.DTO6LPWI.js} +1 -1
- package/{cdn/chunks/chunk.TFD7EM3D.js → dist/chunks/chunk.DWTCCF6R.js} +1 -1
- package/dist/chunks/{chunk.DR7BNSRT.js → chunk.E2GNJGZV.js} +1 -1
- package/dist/chunks/{chunk.SL7W466R.js → chunk.EX74UTJ7.js} +1 -1
- package/{cdn/chunks/chunk.UFFAH5CF.js → dist/chunks/chunk.FYQLL4HT.js} +1 -1
- package/{cdn/chunks/chunk.5HSDW7A7.js → dist/chunks/chunk.GAYRUSX6.js} +1 -1
- package/dist/chunks/{chunk.FKSGPKJ4.js → chunk.GGC3H4U4.js} +1 -1
- package/dist/chunks/{chunk.HSXXKVP2.js → chunk.GVOL34BS.js} +1 -1
- package/{cdn/chunks/chunk.TWEJH5NG.js → dist/chunks/chunk.HEWVEHI5.js} +1 -1
- package/dist/chunks/{chunk.FRYGAWGB.js → chunk.I3WITIFZ.js} +1 -1
- package/{cdn/chunks/chunk.WYAUVXJM.js → dist/chunks/chunk.ICVWA4P5.js} +5 -2
- package/{cdn/chunks/chunk.TRSTZLH4.js → dist/chunks/chunk.IKXISAQ2.js} +1 -1
- package/{cdn/chunks/chunk.EUMBRSX6.js → dist/chunks/chunk.ITTYAXUW.js} +1 -1
- package/{cdn/chunks/chunk.AE3PFNQE.js → dist/chunks/chunk.JFDJULBY.js} +1 -1
- package/{cdn/chunks/chunk.Y4T6LEGB.js → dist/chunks/chunk.JQIAVJLL.js} +1 -1
- package/{cdn/chunks/chunk.XSTI34LB.js → dist/chunks/chunk.JRFWKQYN.js} +1 -1
- package/dist/chunks/{chunk.EU6EQVBK.js → chunk.KADMU3E4.js} +3 -3
- package/dist/chunks/{chunk.GPMEZSRZ.js → chunk.KBIE3IOP.js} +1 -1
- package/{cdn/chunks/chunk.SQBTHONX.js → dist/chunks/chunk.LA3ITE3F.js} +3 -3
- package/dist/chunks/{chunk.G3K7U3GY.js → chunk.LHTTKRV2.js} +4 -4
- package/{cdn/chunks/chunk.EAPY6ENL.js → dist/chunks/chunk.LIXRQ4TF.js} +1 -1
- package/{cdn/chunks/chunk.DGKBWVVI.js → dist/chunks/chunk.MVIGRS3J.js} +1 -1
- package/{cdn/chunks/chunk.5LOTY62O.js → dist/chunks/chunk.PHKCL7D5.js} +1 -1
- package/dist/chunks/{chunk.7OAL7XX6.js → chunk.RQNB3PHE.js} +1 -1
- package/dist/chunks/{chunk.6ZBHXUFH.js → chunk.RSVF27RD.js} +1 -1
- package/{cdn/chunks/chunk.KPXFSE3J.js → dist/chunks/chunk.SBTMIM4P.js} +6 -3
- package/dist/chunks/{chunk.U4QKPX6T.js → chunk.SLW4ZVXI.js} +25 -16
- package/dist/chunks/{chunk.I5ZJKFQJ.js → chunk.TFKLXJVS.js} +12 -12
- package/dist/chunks/{chunk.BY7D7WUU.js → chunk.TK54QVRF.js} +4 -4
- package/{cdn/chunks/chunk.2GTDPFRM.js → dist/chunks/chunk.TRICHLNH.js} +1 -1
- package/dist/chunks/{chunk.ZC2AYSV2.js → chunk.UBBSTKSW.js} +4 -2
- package/{cdn/chunks/chunk.UQKHXO3T.js → dist/chunks/chunk.UCFFAP7X.js} +1 -2
- package/dist/chunks/{chunk.RPCYLOW6.js → chunk.UKBQUK7O.js} +1 -1
- package/{cdn/chunks/chunk.NLHKPFJJ.js → dist/chunks/chunk.WFSOHTHG.js} +1 -1
- package/dist/chunks/{chunk.6BHFQXZZ.js → chunk.X232PDAN.js} +1 -1
- package/{cdn/chunks/chunk.EPQIDDJG.js → dist/chunks/chunk.XBXVMXH7.js} +2 -6
- package/dist/chunks/{chunk.45HI7TFT.js → chunk.XVXKFPWS.js} +1 -1
- package/dist/components/browse-variables/browse-variables.component.js +16 -16
- package/dist/components/browse-variables/browse-variables.js +17 -17
- package/dist/components/button/button.component.js +3 -3
- package/dist/components/button/button.js +4 -4
- package/dist/components/chip/chip.component.js +2 -2
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/combobox/combobox.component.js +3 -3
- package/dist/components/combobox/combobox.js +4 -4
- package/dist/components/date-range-slider/date-range-slider.component.js +3 -3
- package/dist/components/date-range-slider/date-range-slider.js +4 -4
- package/dist/components/giovanni-search/giovanni-search.component.js +11 -11
- package/dist/components/giovanni-search/giovanni-search.js +12 -12
- package/dist/components/icon/icon.component.js +4 -4
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.js +2 -2
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/login/login.component.js +11 -11
- package/dist/components/login/login.js +12 -12
- package/dist/components/map/leaflet-utils.d.ts +1 -1
- package/dist/components/map/leaflet-utils.js +1 -1
- package/dist/components/map/map.component.js +4 -4
- package/dist/components/map/map.controller.js +1 -1
- package/dist/components/map/map.js +5 -5
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.component.js +5 -5
- package/dist/components/spatial-picker/spatial-picker.js +6 -6
- package/dist/components/time-series/time-series.component.d.ts +4 -2
- package/dist/components/time-series/time-series.component.js +21 -21
- package/dist/components/time-series/time-series.controller.d.ts +4 -3
- package/dist/components/time-series/time-series.controller.js +1 -1
- package/dist/components/time-series/time-series.js +22 -22
- package/dist/components/variable-combobox/variable-combobox.component.js +10 -10
- package/dist/components/variable-combobox/variable-combobox.controller.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.js +11 -11
- package/dist/custom-elements.json +458 -450
- package/dist/events/events.d.ts +1 -0
- package/dist/events/terra-time-series-data-change.d.ts +16 -0
- package/dist/react/browse-variables/index.js +17 -17
- package/dist/react/button/index.js +4 -4
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +4 -4
- package/dist/react/date-range-slider/index.js +4 -4
- package/dist/react/giovanni-search/index.js +12 -12
- package/dist/react/icon/index.js +5 -5
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +59 -59
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +12 -12
- package/dist/react/map/index.js +5 -5
- package/dist/react/plot/index.js +3 -3
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +6 -6
- package/dist/react/time-series/index.d.ts +8 -1
- package/dist/react/time-series/index.js +22 -22
- package/dist/react/variable-combobox/index.js +11 -11
- package/dist/terra-ui-components.js +53 -53
- package/dist/terra_ui_components-0.0.19-py3-none-any.whl +0 -0
- package/dist/{terra_ui_components-0.0.16.tar.gz → terra_ui_components-0.0.19.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +68 -63
- package/dist/utilities/icon-library.js +2 -2
- package/dist/vscode.html-custom-data.json +49 -49
- package/dist/web-types.json +85 -75
- package/package.json +3 -4
- package/cdn/chunks/chunk.2DQS7YWJ.js +0 -41
- package/cdn/chunks/chunk.2KFIIWTA.js +0 -53
- package/cdn/chunks/chunk.2TEPJ23V.js +0 -11
- package/cdn/chunks/chunk.2V4XFMTB.js +0 -7
- package/cdn/chunks/chunk.3IXG5IJD.js +0 -21
- package/cdn/chunks/chunk.45HI7TFT.js +0 -11
- package/cdn/chunks/chunk.62YHGVQN.js +0 -335
- package/cdn/chunks/chunk.6PYVTQGY.js +0 -11
- package/cdn/chunks/chunk.7OAL7XX6.js +0 -21
- package/cdn/chunks/chunk.7OKJDEHN.js +0 -139
- package/cdn/chunks/chunk.7VUSSQRI.js +0 -20
- package/cdn/chunks/chunk.7WL3WWGJ.js +0 -293
- package/cdn/chunks/chunk.AAWOHDFX.js +0 -259
- package/cdn/chunks/chunk.ADOXGJHH.js +0 -11
- package/cdn/chunks/chunk.APJOA6RL.js +0 -655
- package/cdn/chunks/chunk.BQKL24VU.js +0 -82
- package/cdn/chunks/chunk.BY7D7WUU.js +0 -180
- package/cdn/chunks/chunk.CBU7JODA.js +0 -11
- package/cdn/chunks/chunk.CNUQQWCR.js +0 -215
- package/cdn/chunks/chunk.DR7BNSRT.js +0 -21
- package/cdn/chunks/chunk.DV6U7J5D.js +0 -264
- package/cdn/chunks/chunk.EGZMQ7T7.js +0 -35
- package/cdn/chunks/chunk.FBOXM56P.js +0 -19
- package/cdn/chunks/chunk.FWXMF6WX.js +0 -327
- package/cdn/chunks/chunk.GHDRVO5M.js +0 -125
- package/cdn/chunks/chunk.GR7XHOA3.js +0 -52
- package/cdn/chunks/chunk.I5ZJKFQJ.js +0 -578
- package/cdn/chunks/chunk.JOOAZ4RH.js +0 -50
- package/cdn/chunks/chunk.KAV5L6Z5.js +0 -318
- package/cdn/chunks/chunk.KZ3ISS6V.js +0 -120
- package/cdn/chunks/chunk.LELNKRPW.js +0 -685
- package/cdn/chunks/chunk.MDRUDBRH.js +0 -43
- package/cdn/chunks/chunk.NX4TE64Y.js +0 -25
- package/cdn/chunks/chunk.OIDMX5LU.js +0 -10
- package/cdn/chunks/chunk.PICX7LPQ.js +0 -194
- package/cdn/chunks/chunk.PL4INVKT.js +0 -24
- package/cdn/chunks/chunk.Q44TP6D4.js +0 -477
- package/cdn/chunks/chunk.QEMJLGM4.js +0 -58
- package/cdn/chunks/chunk.QK5OWFVO.js +0 -238
- package/cdn/chunks/chunk.RPCYLOW6.js +0 -354
- package/cdn/chunks/chunk.RV2KFFXW.js +0 -116
- package/cdn/chunks/chunk.SK7IZCKP.js +0 -37
- package/cdn/chunks/chunk.SR6QXNO3.js +0 -24
- package/cdn/chunks/chunk.TQJATCGZ.js +0 -11
- package/cdn/chunks/chunk.TVFCHGU3.js +0 -76
- package/cdn/chunks/chunk.U4QKPX6T.js +0 -192
- package/cdn/chunks/chunk.UGKIMEZW.js +0 -21
- package/cdn/chunks/chunk.UIYPAVP3.js +0 -104
- package/cdn/chunks/chunk.USCKHG5S.js +0 -25
- package/cdn/chunks/chunk.V7JJFRAE.js +0 -11
- package/cdn/chunks/chunk.W7JRXR2Y.js +0 -293
- package/cdn/chunks/chunk.YL2ETAOO.js +0 -153
- package/cdn/chunks/chunk.Z2ELMSYN.js +0 -63
- package/cdn/chunks/chunk.ZC2AYSV2.js +0 -273
- package/dist/chunks/chunk.2O6HB6W6.js +0 -21
- package/dist/chunks/chunk.3WHG66G3.js +0 -177
- package/dist/chunks/chunk.57LVW27O.js +0 -11
- package/dist/chunks/chunk.5LOTY62O.js +0 -120
- package/dist/chunks/chunk.5O7TTTJD.js +0 -351
- package/dist/chunks/chunk.5UE4SLYC.js +0 -120
- package/dist/chunks/chunk.6CLWIMAP.js +0 -21
- package/dist/chunks/chunk.6GMULXGW.js +0 -21
- package/dist/chunks/chunk.7QKG7IRI.js +0 -379
- package/dist/chunks/chunk.A6JU7GRG.js +0 -25
- package/dist/chunks/chunk.AC6WDIAW.js +0 -11
- package/dist/chunks/chunk.ADOXGJHH.js +0 -11
- package/dist/chunks/chunk.CPXWDTHF.js +0 -214
- package/dist/chunks/chunk.CUBR5ACQ.js +0 -11
- package/dist/chunks/chunk.CZH6I2IA.js +0 -11
- package/dist/chunks/chunk.DIBCM2Y3.js +0 -11
- package/dist/chunks/chunk.EAPY6ENL.js +0 -11
- package/dist/chunks/chunk.EG7EICTO.js +0 -406
- package/dist/chunks/chunk.EHY7VY3A.js +0 -21
- package/dist/chunks/chunk.EPQIDDJG.js +0 -379
- package/dist/chunks/chunk.EZTCV6LQ.js +0 -95
- package/dist/chunks/chunk.FIMCDNWK.js +0 -11
- package/dist/chunks/chunk.FKIVBKR4.js +0 -11
- package/dist/chunks/chunk.FWXMF6WX.js +0 -327
- package/dist/chunks/chunk.FY4LGVGC.js +0 -21
- package/dist/chunks/chunk.G34ZJR6B.js +0 -11
- package/dist/chunks/chunk.GVG7MLLN.js +0 -21
- package/dist/chunks/chunk.I5DIH6L6.js +0 -11
- package/dist/chunks/chunk.IFWHGZLJ.js +0 -21
- package/dist/chunks/chunk.IYEX72BV.js +0 -11
- package/dist/chunks/chunk.J7P5CNNR.js +0 -11
- package/dist/chunks/chunk.JM34BH4L.js +0 -11
- package/dist/chunks/chunk.KQCFGTAH.js +0 -82
- package/dist/chunks/chunk.MDRUDBRH.js +0 -43
- package/dist/chunks/chunk.MHMITM2Q.js +0 -21
- package/dist/chunks/chunk.MTNKN7SC.js +0 -95
- package/dist/chunks/chunk.NHY4FPXP.js +0 -351
- package/dist/chunks/chunk.NQZGHZYS.js +0 -11
- package/dist/chunks/chunk.NXW5W246.js +0 -406
- package/dist/chunks/chunk.NZLN7XGH.js +0 -214
- package/dist/chunks/chunk.OB7ATVCO.js +0 -24
- package/dist/chunks/chunk.ODLY7QWO.js +0 -11
- package/dist/chunks/chunk.PARFAN5E.js +0 -25
- package/dist/chunks/chunk.PCU3BZMH.js +0 -264
- package/dist/chunks/chunk.PETOVVIO.js +0 -21
- package/dist/chunks/chunk.PICX7LPQ.js +0 -194
- package/dist/chunks/chunk.PYDXDZ7R.js +0 -21
- package/dist/chunks/chunk.Q44TP6D4.js +0 -477
- package/dist/chunks/chunk.Q67RNINH.js +0 -180
- package/dist/chunks/chunk.QLUHMJKU.js +0 -53
- package/dist/chunks/chunk.RR45MD47.js +0 -11
- package/dist/chunks/chunk.RYDRC65X.js +0 -11
- package/dist/chunks/chunk.SDCAKUF2.js +0 -11
- package/dist/chunks/chunk.SKHGD7CP.js +0 -578
- package/dist/chunks/chunk.SQBTHONX.js +0 -177
- package/dist/chunks/chunk.SR6QXNO3.js +0 -24
- package/dist/chunks/chunk.SS24NNGJ.js +0 -11
- package/dist/chunks/chunk.TFD7EM3D.js +0 -21
- package/dist/chunks/chunk.TOG3CR4L.js +0 -21
- package/dist/chunks/chunk.U2URIXJW.js +0 -354
- package/dist/chunks/chunk.UJ7TXBCU.js +0 -21
- package/dist/chunks/chunk.UQKHXO3T.js +0 -66
- package/dist/chunks/chunk.V7JJFRAE.js +0 -11
- package/dist/chunks/chunk.VR2UR6LQ.js +0 -11
- package/dist/chunks/chunk.WALPLM23.js +0 -11
- package/dist/chunks/chunk.WVAKAESC.js +0 -21
- package/dist/chunks/chunk.WYAUVXJM.js +0 -21
- package/dist/chunks/chunk.XSTI34LB.js +0 -21
- package/dist/chunks/chunk.XUW42A44.js +0 -21
- package/dist/chunks/chunk.XV5OXFZF.js +0 -21
- package/dist/terra_ui_components-0.0.16-py3-none-any.whl +0 -0
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
spatial_picker_styles_default
|
|
3
|
-
} from "./chunk.QEMJLGM4.js";
|
|
4
|
-
import {
|
|
5
|
-
TerraMap
|
|
6
|
-
} from "./chunk.PICX7LPQ.js";
|
|
7
|
-
import {
|
|
8
|
-
StringifyBoundingBox,
|
|
9
|
-
parseBoundingBox
|
|
10
|
-
} from "./chunk.ZC2AYSV2.js";
|
|
11
|
-
import {
|
|
12
|
-
TerraElement,
|
|
13
|
-
component_styles_default
|
|
14
|
-
} from "./chunk.EPQIDDJG.js";
|
|
15
|
-
import {
|
|
16
|
-
__decorateClass
|
|
17
|
-
} from "./chunk.TVFCHGU3.js";
|
|
18
|
-
|
|
19
|
-
// src/components/spatial-picker/spatial-picker.component.ts
|
|
20
|
-
import { html, nothing } from "lit";
|
|
21
|
-
import { property, query, state } from "lit/decorators.js";
|
|
22
|
-
var TerraSpatialPicker = class extends TerraElement {
|
|
23
|
-
constructor() {
|
|
24
|
-
super(...arguments);
|
|
25
|
-
this.minZoom = 0;
|
|
26
|
-
this.maxZoom = 23;
|
|
27
|
-
this.zoom = 1;
|
|
28
|
-
this.hasNavigation = true;
|
|
29
|
-
this.hasCoordTracker = true;
|
|
30
|
-
this.hasShapeSelector = false;
|
|
31
|
-
this.initialValue = "";
|
|
32
|
-
this.hideLabel = false;
|
|
33
|
-
this.label = "Select Region";
|
|
34
|
-
this.isExpanded = false;
|
|
35
|
-
}
|
|
36
|
-
_blur(e) {
|
|
37
|
-
const inputValue = e.target.value;
|
|
38
|
-
this.mapValue = inputValue === "" ? [] : parseBoundingBox(inputValue);
|
|
39
|
-
}
|
|
40
|
-
_click() {
|
|
41
|
-
this.isExpanded = !this.isExpanded;
|
|
42
|
-
}
|
|
43
|
-
open() {
|
|
44
|
-
this.isExpanded = true;
|
|
45
|
-
}
|
|
46
|
-
close() {
|
|
47
|
-
this.isExpanded = false;
|
|
48
|
-
}
|
|
49
|
-
_handleMapChange(event) {
|
|
50
|
-
switch (event.detail.cause) {
|
|
51
|
-
case "clear":
|
|
52
|
-
this.spatialInput.value = "";
|
|
53
|
-
break;
|
|
54
|
-
case "draw":
|
|
55
|
-
if (event.detail.bounds) {
|
|
56
|
-
this.spatialInput.value = StringifyBoundingBox(
|
|
57
|
-
event.detail.bounds
|
|
58
|
-
);
|
|
59
|
-
} else if (event.detail.latLng) {
|
|
60
|
-
this.spatialInput.value = StringifyBoundingBox(
|
|
61
|
-
event.detail.latLng
|
|
62
|
-
);
|
|
63
|
-
}
|
|
64
|
-
break;
|
|
65
|
-
default:
|
|
66
|
-
break;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
firstUpdated() {
|
|
70
|
-
if (this.initialValue) {
|
|
71
|
-
this.mapValue = this.initialValue === "" ? [] : parseBoundingBox(this.initialValue);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
renderMap() {
|
|
75
|
-
return html`<terra-map
|
|
76
|
-
exportparts="map, leaflet-bbox, leaflet-point, leaflet-edit, leaflet-remove"
|
|
77
|
-
min-zoom=${this.minZoom}
|
|
78
|
-
max-zoom=${this.maxZoom}
|
|
79
|
-
zoom=${this.zoom}
|
|
80
|
-
?has-coord-tracker=${this.hasCoordTracker}
|
|
81
|
-
.value=${this.mapValue}
|
|
82
|
-
?has-navigation=${this.hasNavigation}
|
|
83
|
-
?has-shape-selector=${this.hasShapeSelector}
|
|
84
|
-
@terra-map-change=${this._handleMapChange}
|
|
85
|
-
>
|
|
86
|
-
</terra-map>`;
|
|
87
|
-
}
|
|
88
|
-
render() {
|
|
89
|
-
return html`
|
|
90
|
-
<div class="spatial-picker">
|
|
91
|
-
<label
|
|
92
|
-
for="spatial-picker__input"
|
|
93
|
-
class=${this.hideLabel ? "sr-only" : "spatial-picker__input_label"}
|
|
94
|
-
>${this.label}</label
|
|
95
|
-
>
|
|
96
|
-
<div class="spatial-picker__input_fields">
|
|
97
|
-
<input
|
|
98
|
-
id="spatial-picker__input"
|
|
99
|
-
value=${this.initialValue}
|
|
100
|
-
type="text"
|
|
101
|
-
class="spatial-picker__input form-control"
|
|
102
|
-
placeholder="-180, -90, 180, 90"
|
|
103
|
-
aria-controls="map"
|
|
104
|
-
aria-expanded=${this.isExpanded}
|
|
105
|
-
@blur=${this._blur}
|
|
106
|
-
/>
|
|
107
|
-
<terra-button
|
|
108
|
-
shape="square-left"
|
|
109
|
-
class="spatial-picker__input_icon_button"
|
|
110
|
-
@click=${this._click}
|
|
111
|
-
type="button"
|
|
112
|
-
>
|
|
113
|
-
<svg
|
|
114
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
115
|
-
fill="none"
|
|
116
|
-
viewBox="0 0 24 24"
|
|
117
|
-
stroke-width="1.5"
|
|
118
|
-
stroke="currentColor"
|
|
119
|
-
class="w-6 h-6"
|
|
120
|
-
>
|
|
121
|
-
<path
|
|
122
|
-
stroke-linecap="round"
|
|
123
|
-
stroke-linejoin="round"
|
|
124
|
-
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"
|
|
125
|
-
/>
|
|
126
|
-
</svg>
|
|
127
|
-
</terra-button>
|
|
128
|
-
</div>
|
|
129
|
-
${this.isExpanded ? this.renderMap() : nothing}
|
|
130
|
-
</div>
|
|
131
|
-
`;
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
TerraSpatialPicker.styles = [component_styles_default, spatial_picker_styles_default];
|
|
135
|
-
TerraSpatialPicker.dependencies = {
|
|
136
|
-
"terra-map": TerraMap
|
|
137
|
-
};
|
|
138
|
-
__decorateClass([
|
|
139
|
-
property({ attribute: "min-zoom", type: Number })
|
|
140
|
-
], TerraSpatialPicker.prototype, "minZoom", 2);
|
|
141
|
-
__decorateClass([
|
|
142
|
-
property({ attribute: "max-zoom", type: Number })
|
|
143
|
-
], TerraSpatialPicker.prototype, "maxZoom", 2);
|
|
144
|
-
__decorateClass([
|
|
145
|
-
property({ type: Number })
|
|
146
|
-
], TerraSpatialPicker.prototype, "zoom", 2);
|
|
147
|
-
__decorateClass([
|
|
148
|
-
property({ attribute: "has-navigation", type: Boolean })
|
|
149
|
-
], TerraSpatialPicker.prototype, "hasNavigation", 2);
|
|
150
|
-
__decorateClass([
|
|
151
|
-
property({ attribute: "has-coord-tracker", type: Boolean })
|
|
152
|
-
], TerraSpatialPicker.prototype, "hasCoordTracker", 2);
|
|
153
|
-
__decorateClass([
|
|
154
|
-
property({ attribute: "has-shape-selector", type: Boolean })
|
|
155
|
-
], TerraSpatialPicker.prototype, "hasShapeSelector", 2);
|
|
156
|
-
__decorateClass([
|
|
157
|
-
property({ attribute: "initial-value" })
|
|
158
|
-
], TerraSpatialPicker.prototype, "initialValue", 2);
|
|
159
|
-
__decorateClass([
|
|
160
|
-
property({ attribute: "hide-label", type: Boolean })
|
|
161
|
-
], TerraSpatialPicker.prototype, "hideLabel", 2);
|
|
162
|
-
__decorateClass([
|
|
163
|
-
property()
|
|
164
|
-
], TerraSpatialPicker.prototype, "label", 2);
|
|
165
|
-
__decorateClass([
|
|
166
|
-
state()
|
|
167
|
-
], TerraSpatialPicker.prototype, "isExpanded", 2);
|
|
168
|
-
__decorateClass([
|
|
169
|
-
state()
|
|
170
|
-
], TerraSpatialPicker.prototype, "mapValue", 2);
|
|
171
|
-
__decorateClass([
|
|
172
|
-
query(".spatial-picker__input")
|
|
173
|
-
], TerraSpatialPicker.prototype, "spatialInput", 2);
|
|
174
|
-
|
|
175
|
-
export {
|
|
176
|
-
TerraSpatialPicker
|
|
177
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TerraLogin
|
|
3
|
-
} from "./chunk.DV6U7J5D.js";
|
|
4
|
-
|
|
5
|
-
// src/react/login/index.ts
|
|
6
|
-
import * as React from "react";
|
|
7
|
-
import { createComponent } from "@lit/react";
|
|
8
|
-
import "@lit/react";
|
|
9
|
-
var tagName = "terra-login";
|
|
10
|
-
TerraLogin.define("terra-login");
|
|
11
|
-
var reactWrapper = createComponent({
|
|
12
|
-
tagName,
|
|
13
|
-
elementClass: TerraLogin,
|
|
14
|
-
react: React,
|
|
15
|
-
events: {
|
|
16
|
-
onTerraLogin: "terra-login"
|
|
17
|
-
},
|
|
18
|
-
displayName: "TerraLogin"
|
|
19
|
-
});
|
|
20
|
-
var login_default = reactWrapper;
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
login_default
|
|
24
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TerraVariableCombobox
|
|
3
|
-
} from "./chunk.EG7EICTO.js";
|
|
4
|
-
|
|
5
|
-
// src/components/variable-combobox/variable-combobox.ts
|
|
6
|
-
var variable_combobox_default = TerraVariableCombobox;
|
|
7
|
-
TerraVariableCombobox.define("terra-variable-combobox");
|
|
8
|
-
|
|
9
|
-
export {
|
|
10
|
-
variable_combobox_default
|
|
11
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TerraLoader
|
|
3
|
-
} from "./chunk.5LOTY62O.js";
|
|
4
|
-
|
|
5
|
-
// src/react/loader/index.ts
|
|
6
|
-
import * as React from "react";
|
|
7
|
-
import { createComponent } from "@lit/react";
|
|
8
|
-
var tagName = "terra-loader";
|
|
9
|
-
TerraLoader.define("terra-loader");
|
|
10
|
-
var reactWrapper = createComponent({
|
|
11
|
-
tagName,
|
|
12
|
-
elementClass: TerraLoader,
|
|
13
|
-
react: React,
|
|
14
|
-
events: {},
|
|
15
|
-
displayName: "TerraLoader"
|
|
16
|
-
});
|
|
17
|
-
var loader_default = reactWrapper;
|
|
18
|
-
|
|
19
|
-
export {
|
|
20
|
-
loader_default
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TerraSpatialPicker
|
|
3
|
-
} from "./chunk.SQBTHONX.js";
|
|
4
|
-
|
|
5
|
-
// src/react/spatial-picker/index.ts
|
|
6
|
-
import * as React from "react";
|
|
7
|
-
import { createComponent } from "@lit/react";
|
|
8
|
-
var tagName = "terra-spatial-picker";
|
|
9
|
-
TerraSpatialPicker.define("terra-spatial-picker");
|
|
10
|
-
var reactWrapper = createComponent({
|
|
11
|
-
tagName,
|
|
12
|
-
elementClass: TerraSpatialPicker,
|
|
13
|
-
react: React,
|
|
14
|
-
events: {},
|
|
15
|
-
displayName: "TerraSpatialPicker"
|
|
16
|
-
});
|
|
17
|
-
var spatial_picker_default = reactWrapper;
|
|
18
|
-
|
|
19
|
-
export {
|
|
20
|
-
spatial_picker_default
|
|
21
|
-
};
|
|
@@ -1,354 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
FormControlController,
|
|
3
|
-
validValidityState
|
|
4
|
-
} from "./chunk.KAV5L6Z5.js";
|
|
5
|
-
import {
|
|
6
|
-
watch
|
|
7
|
-
} from "./chunk.SK7IZCKP.js";
|
|
8
|
-
import {
|
|
9
|
-
TerraElement,
|
|
10
|
-
component_styles_default
|
|
11
|
-
} from "./chunk.7QKG7IRI.js";
|
|
12
|
-
import {
|
|
13
|
-
button_styles_default
|
|
14
|
-
} from "./chunk.APJOA6RL.js";
|
|
15
|
-
import {
|
|
16
|
-
__decorateClass
|
|
17
|
-
} from "./chunk.TVFCHGU3.js";
|
|
18
|
-
|
|
19
|
-
// src/components/button/button.component.ts
|
|
20
|
-
import { classMap } from "lit/directives/class-map.js";
|
|
21
|
-
|
|
22
|
-
// src/internal/slot.ts
|
|
23
|
-
var HasSlotController = class {
|
|
24
|
-
constructor(host, ...slotNames) {
|
|
25
|
-
this.slotNames = [];
|
|
26
|
-
this.handleSlotChange = (event) => {
|
|
27
|
-
const slot = event.target;
|
|
28
|
-
if (this.slotNames.includes("[default]") && !slot.name || slot.name && this.slotNames.includes(slot.name)) {
|
|
29
|
-
this.host.requestUpdate();
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
;
|
|
33
|
-
(this.host = host).addController(this);
|
|
34
|
-
this.slotNames = slotNames;
|
|
35
|
-
}
|
|
36
|
-
hasDefaultSlot() {
|
|
37
|
-
return [...this.host.childNodes].some((node) => {
|
|
38
|
-
if (node.nodeType === node.TEXT_NODE && node.textContent.trim() !== "") {
|
|
39
|
-
return true;
|
|
40
|
-
}
|
|
41
|
-
if (node.nodeType === node.ELEMENT_NODE) {
|
|
42
|
-
const el = node;
|
|
43
|
-
const tagName = el.tagName.toLowerCase();
|
|
44
|
-
if (tagName === "terra-visually-hidden") {
|
|
45
|
-
return false;
|
|
46
|
-
}
|
|
47
|
-
if (!el.hasAttribute("slot")) {
|
|
48
|
-
return true;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
return false;
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
hasNamedSlot(name) {
|
|
55
|
-
return this.host.querySelector(`:scope > [slot="${name}"]`) !== null;
|
|
56
|
-
}
|
|
57
|
-
test(slotName) {
|
|
58
|
-
return slotName === "[default]" ? this.hasDefaultSlot() : this.hasNamedSlot(slotName);
|
|
59
|
-
}
|
|
60
|
-
hostConnected() {
|
|
61
|
-
this.host.shadowRoot.addEventListener("slotchange", this.handleSlotChange);
|
|
62
|
-
}
|
|
63
|
-
hostDisconnected() {
|
|
64
|
-
this.host.shadowRoot.removeEventListener("slotchange", this.handleSlotChange);
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
// src/components/button/button.component.ts
|
|
69
|
-
import { html, literal } from "lit/static-html.js";
|
|
70
|
-
import { ifDefined } from "lit/directives/if-defined.js";
|
|
71
|
-
import { property, query, state } from "lit/decorators.js";
|
|
72
|
-
var TerraButton = class extends TerraElement {
|
|
73
|
-
constructor() {
|
|
74
|
-
super(...arguments);
|
|
75
|
-
this.formControlController = new FormControlController(this, {
|
|
76
|
-
assumeInteractionOn: ["click"]
|
|
77
|
-
});
|
|
78
|
-
this.hasSlotController = new HasSlotController(
|
|
79
|
-
this,
|
|
80
|
-
"[default]",
|
|
81
|
-
"prefix",
|
|
82
|
-
"suffix"
|
|
83
|
-
);
|
|
84
|
-
this.hasFocus = false;
|
|
85
|
-
this.invalid = false;
|
|
86
|
-
this.title = "";
|
|
87
|
-
this.variant = "primary";
|
|
88
|
-
this.size = "medium";
|
|
89
|
-
this.caret = false;
|
|
90
|
-
this.disabled = false;
|
|
91
|
-
this.loading = false;
|
|
92
|
-
this.outline = false;
|
|
93
|
-
this.circle = false;
|
|
94
|
-
this.type = "button";
|
|
95
|
-
this.name = "";
|
|
96
|
-
this.value = "";
|
|
97
|
-
this.href = "";
|
|
98
|
-
this.rel = "noreferrer noopener";
|
|
99
|
-
}
|
|
100
|
-
/** Gets the validity state object */
|
|
101
|
-
get validity() {
|
|
102
|
-
if (this.isButton()) {
|
|
103
|
-
return this.button.validity;
|
|
104
|
-
}
|
|
105
|
-
return validValidityState;
|
|
106
|
-
}
|
|
107
|
-
/** Gets the validation message */
|
|
108
|
-
get validationMessage() {
|
|
109
|
-
if (this.isButton()) {
|
|
110
|
-
return this.button.validationMessage;
|
|
111
|
-
}
|
|
112
|
-
return "";
|
|
113
|
-
}
|
|
114
|
-
firstUpdated() {
|
|
115
|
-
if (this.isButton()) {
|
|
116
|
-
this.formControlController.updateValidity();
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
handleBlur() {
|
|
120
|
-
this.hasFocus = false;
|
|
121
|
-
this.emit("sl-blur");
|
|
122
|
-
}
|
|
123
|
-
handleFocus() {
|
|
124
|
-
this.hasFocus = true;
|
|
125
|
-
this.emit("sl-focus");
|
|
126
|
-
}
|
|
127
|
-
handleClick() {
|
|
128
|
-
if (this.type === "submit") {
|
|
129
|
-
this.formControlController.submit(this);
|
|
130
|
-
}
|
|
131
|
-
if (this.type === "reset") {
|
|
132
|
-
this.formControlController.reset(this);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
handleInvalid(event) {
|
|
136
|
-
this.formControlController.setValidity(false);
|
|
137
|
-
this.formControlController.emitInvalidEvent(event);
|
|
138
|
-
}
|
|
139
|
-
isButton() {
|
|
140
|
-
return this.href ? false : true;
|
|
141
|
-
}
|
|
142
|
-
isLink() {
|
|
143
|
-
return this.href ? true : false;
|
|
144
|
-
}
|
|
145
|
-
handleDisabledChange() {
|
|
146
|
-
if (this.isButton()) {
|
|
147
|
-
this.formControlController.setValidity(this.disabled);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
/** Simulates a click on the button. */
|
|
151
|
-
click() {
|
|
152
|
-
this.button.click();
|
|
153
|
-
}
|
|
154
|
-
/** Sets focus on the button. */
|
|
155
|
-
focus(options) {
|
|
156
|
-
this.button.focus(options);
|
|
157
|
-
}
|
|
158
|
-
/** Removes focus from the button. */
|
|
159
|
-
blur() {
|
|
160
|
-
this.button.blur();
|
|
161
|
-
}
|
|
162
|
-
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
163
|
-
checkValidity() {
|
|
164
|
-
if (this.isButton()) {
|
|
165
|
-
return this.button.checkValidity();
|
|
166
|
-
}
|
|
167
|
-
return true;
|
|
168
|
-
}
|
|
169
|
-
/** Gets the associated form, if one exists. */
|
|
170
|
-
getForm() {
|
|
171
|
-
return this.formControlController.getForm();
|
|
172
|
-
}
|
|
173
|
-
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
174
|
-
reportValidity() {
|
|
175
|
-
if (this.isButton()) {
|
|
176
|
-
return this.button.reportValidity();
|
|
177
|
-
}
|
|
178
|
-
return true;
|
|
179
|
-
}
|
|
180
|
-
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
181
|
-
setCustomValidity(message) {
|
|
182
|
-
if (this.isButton()) {
|
|
183
|
-
;
|
|
184
|
-
this.button.setCustomValidity(message);
|
|
185
|
-
this.formControlController.updateValidity();
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
setPageLinkIcon(href) {
|
|
189
|
-
const parsedUrl = new URL(href);
|
|
190
|
-
const linkDomain = parsedUrl.hostname;
|
|
191
|
-
const hostDomain = globalThis.location.hostname;
|
|
192
|
-
return linkDomain === hostDomain ? "outline-arrow-right" : "outline-arrow-up-right";
|
|
193
|
-
}
|
|
194
|
-
setFontSize(size) {
|
|
195
|
-
switch (size) {
|
|
196
|
-
case "small":
|
|
197
|
-
return ".8rem";
|
|
198
|
-
case "medium":
|
|
199
|
-
return "1.2rem";
|
|
200
|
-
case "large":
|
|
201
|
-
return "1.5rem";
|
|
202
|
-
default:
|
|
203
|
-
return "1.5rem";
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
render() {
|
|
207
|
-
const isLink = this.isLink();
|
|
208
|
-
const tag = isLink ? literal`a` : literal`button`;
|
|
209
|
-
return html`
|
|
210
|
-
<${tag}
|
|
211
|
-
part="base"
|
|
212
|
-
class=${classMap({
|
|
213
|
-
button: true,
|
|
214
|
-
"button--default": this.variant === "default",
|
|
215
|
-
"button--primary": this.variant === "primary",
|
|
216
|
-
"button--success": this.variant === "success",
|
|
217
|
-
"button--warning": this.variant === "warning",
|
|
218
|
-
"button--danger": this.variant === "danger",
|
|
219
|
-
"button--text": this.variant === "text",
|
|
220
|
-
"button--pagelink": this.variant === "pagelink",
|
|
221
|
-
"button--small": this.size === "small",
|
|
222
|
-
"button--medium": this.size === "medium",
|
|
223
|
-
"button--large": this.size === "large",
|
|
224
|
-
"button--caret": this.caret,
|
|
225
|
-
"button--square-left": this.shape === "square-left",
|
|
226
|
-
"button--square": this.shape === "square",
|
|
227
|
-
"button--square-right": this.shape === "square-right",
|
|
228
|
-
"button--circle": this.circle,
|
|
229
|
-
"button--disabled": this.disabled,
|
|
230
|
-
"button--focused": this.hasFocus,
|
|
231
|
-
"button--loading": this.loading,
|
|
232
|
-
"button--standard": !this.outline,
|
|
233
|
-
"button--outline": this.outline,
|
|
234
|
-
"button--has-label": this.hasSlotController.test("[default]"),
|
|
235
|
-
"button--has-prefix": this.hasSlotController.test("prefix"),
|
|
236
|
-
"button--has-suffix": this.hasSlotController.test("suffix")
|
|
237
|
-
})}
|
|
238
|
-
?disabled=${ifDefined(isLink ? void 0 : this.disabled)}
|
|
239
|
-
type=${ifDefined(isLink ? void 0 : this.type)}
|
|
240
|
-
title=${this.title}
|
|
241
|
-
name=${ifDefined(isLink ? void 0 : this.name)}
|
|
242
|
-
value=${ifDefined(isLink ? void 0 : this.value)}
|
|
243
|
-
href=${ifDefined(isLink ? this.href : void 0)}
|
|
244
|
-
target=${ifDefined(isLink ? this.target : void 0)}
|
|
245
|
-
download=${ifDefined(isLink ? this.download : void 0)}
|
|
246
|
-
rel=${ifDefined(isLink ? this.rel : void 0)}
|
|
247
|
-
role=${ifDefined(isLink ? void 0 : "button")}
|
|
248
|
-
aria-disabled=${this.disabled ? "true" : "false"}
|
|
249
|
-
tabindex=${this.disabled ? "-1" : "0"}
|
|
250
|
-
@blur=${this.handleBlur}
|
|
251
|
-
@focus=${this.handleFocus}
|
|
252
|
-
@invalid=${this.isButton() ? this.handleInvalid : null}
|
|
253
|
-
@click=${this.handleClick}
|
|
254
|
-
>
|
|
255
|
-
<slot name="prefix" part="prefix" class="button__prefix"></slot>
|
|
256
|
-
<slot part="label" class="button__label"></slot>
|
|
257
|
-
<slot name="suffix" part="suffix" class="button__suffix">
|
|
258
|
-
${this.variant == "pagelink" ? html`
|
|
259
|
-
<span>
|
|
260
|
-
<terra-icon
|
|
261
|
-
name=${this.setPageLinkIcon(this.href)}
|
|
262
|
-
library="heroicons"
|
|
263
|
-
font-size=${this.setFontSize(this.size)}
|
|
264
|
-
></terra-icon>
|
|
265
|
-
</span>
|
|
266
|
-
` : ``}
|
|
267
|
-
</slot>
|
|
268
|
-
</${tag}>
|
|
269
|
-
`;
|
|
270
|
-
}
|
|
271
|
-
};
|
|
272
|
-
TerraButton.styles = [component_styles_default, button_styles_default];
|
|
273
|
-
__decorateClass([
|
|
274
|
-
query(".button")
|
|
275
|
-
], TerraButton.prototype, "button", 2);
|
|
276
|
-
__decorateClass([
|
|
277
|
-
state()
|
|
278
|
-
], TerraButton.prototype, "hasFocus", 2);
|
|
279
|
-
__decorateClass([
|
|
280
|
-
state()
|
|
281
|
-
], TerraButton.prototype, "invalid", 2);
|
|
282
|
-
__decorateClass([
|
|
283
|
-
property()
|
|
284
|
-
], TerraButton.prototype, "title", 2);
|
|
285
|
-
__decorateClass([
|
|
286
|
-
property({ reflect: true })
|
|
287
|
-
], TerraButton.prototype, "variant", 2);
|
|
288
|
-
__decorateClass([
|
|
289
|
-
property({ reflect: true })
|
|
290
|
-
], TerraButton.prototype, "size", 2);
|
|
291
|
-
__decorateClass([
|
|
292
|
-
property({ type: Boolean, reflect: true })
|
|
293
|
-
], TerraButton.prototype, "caret", 2);
|
|
294
|
-
__decorateClass([
|
|
295
|
-
property({ reflect: true })
|
|
296
|
-
], TerraButton.prototype, "shape", 2);
|
|
297
|
-
__decorateClass([
|
|
298
|
-
property({ type: Boolean, reflect: true })
|
|
299
|
-
], TerraButton.prototype, "disabled", 2);
|
|
300
|
-
__decorateClass([
|
|
301
|
-
property({ type: Boolean, reflect: true })
|
|
302
|
-
], TerraButton.prototype, "loading", 2);
|
|
303
|
-
__decorateClass([
|
|
304
|
-
property({ type: Boolean, reflect: true })
|
|
305
|
-
], TerraButton.prototype, "outline", 2);
|
|
306
|
-
__decorateClass([
|
|
307
|
-
property({ type: Boolean, reflect: true })
|
|
308
|
-
], TerraButton.prototype, "circle", 2);
|
|
309
|
-
__decorateClass([
|
|
310
|
-
property()
|
|
311
|
-
], TerraButton.prototype, "type", 2);
|
|
312
|
-
__decorateClass([
|
|
313
|
-
property()
|
|
314
|
-
], TerraButton.prototype, "name", 2);
|
|
315
|
-
__decorateClass([
|
|
316
|
-
property()
|
|
317
|
-
], TerraButton.prototype, "value", 2);
|
|
318
|
-
__decorateClass([
|
|
319
|
-
property()
|
|
320
|
-
], TerraButton.prototype, "href", 2);
|
|
321
|
-
__decorateClass([
|
|
322
|
-
property()
|
|
323
|
-
], TerraButton.prototype, "target", 2);
|
|
324
|
-
__decorateClass([
|
|
325
|
-
property()
|
|
326
|
-
], TerraButton.prototype, "rel", 2);
|
|
327
|
-
__decorateClass([
|
|
328
|
-
property()
|
|
329
|
-
], TerraButton.prototype, "download", 2);
|
|
330
|
-
__decorateClass([
|
|
331
|
-
property()
|
|
332
|
-
], TerraButton.prototype, "form", 2);
|
|
333
|
-
__decorateClass([
|
|
334
|
-
property({ attribute: "formaction" })
|
|
335
|
-
], TerraButton.prototype, "formAction", 2);
|
|
336
|
-
__decorateClass([
|
|
337
|
-
property({ attribute: "formenctype" })
|
|
338
|
-
], TerraButton.prototype, "formEnctype", 2);
|
|
339
|
-
__decorateClass([
|
|
340
|
-
property({ attribute: "formmethod" })
|
|
341
|
-
], TerraButton.prototype, "formMethod", 2);
|
|
342
|
-
__decorateClass([
|
|
343
|
-
property({ attribute: "formnovalidate", type: Boolean })
|
|
344
|
-
], TerraButton.prototype, "formNoValidate", 2);
|
|
345
|
-
__decorateClass([
|
|
346
|
-
property({ attribute: "formtarget" })
|
|
347
|
-
], TerraButton.prototype, "formTarget", 2);
|
|
348
|
-
__decorateClass([
|
|
349
|
-
watch("disabled", { waitUntilFirstUpdate: true })
|
|
350
|
-
], TerraButton.prototype, "handleDisabledChange", 1);
|
|
351
|
-
|
|
352
|
-
export {
|
|
353
|
-
TerraButton
|
|
354
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TerraChip
|
|
3
|
-
} from "./chunk.KQCFGTAH.js";
|
|
4
|
-
|
|
5
|
-
// src/react/chip/index.ts
|
|
6
|
-
import * as React from "react";
|
|
7
|
-
import { createComponent } from "@lit/react";
|
|
8
|
-
var tagName = "terra-chip";
|
|
9
|
-
TerraChip.define("terra-chip");
|
|
10
|
-
var reactWrapper = createComponent({
|
|
11
|
-
tagName,
|
|
12
|
-
elementClass: TerraChip,
|
|
13
|
-
react: React,
|
|
14
|
-
events: {},
|
|
15
|
-
displayName: "TerraChip"
|
|
16
|
-
});
|
|
17
|
-
var chip_default = reactWrapper;
|
|
18
|
-
|
|
19
|
-
export {
|
|
20
|
-
chip_default
|
|
21
|
-
};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
cherryPickDocInfo
|
|
3
|
-
} from "./chunk.RV2KFFXW.js";
|
|
4
|
-
import {
|
|
5
|
-
__privateAdd,
|
|
6
|
-
__privateGet,
|
|
7
|
-
__privateSet,
|
|
8
|
-
__spreadValues
|
|
9
|
-
} from "./chunk.TVFCHGU3.js";
|
|
10
|
-
|
|
11
|
-
// src/components/variable-combobox/variable-combobox.controller.ts
|
|
12
|
-
import { Task, TaskStatus } from "@lit/task";
|
|
13
|
-
var apiError = new Error(
|
|
14
|
-
"Failed to fetch the data required to make a list of searchable items."
|
|
15
|
-
);
|
|
16
|
-
var _apiTask, _bearerToken;
|
|
17
|
-
var FetchController = class {
|
|
18
|
-
constructor(host, bearerToken) {
|
|
19
|
-
__privateAdd(this, _apiTask, void 0);
|
|
20
|
-
__privateAdd(this, _bearerToken, null);
|
|
21
|
-
__privateSet(this, _bearerToken, bearerToken);
|
|
22
|
-
const isLocalHost = globalThis.location.hostname === "localhost";
|
|
23
|
-
__privateSet(this, _apiTask, new Task(host, {
|
|
24
|
-
task: async () => {
|
|
25
|
-
const response = await fetch(
|
|
26
|
-
isLocalHost ? "http://localhost:9000/variables" : "https://uui-test.gesdisc.eosdis.nasa.gov/api/proxy/dev/~jdcarlso/collection+variable.json",
|
|
27
|
-
{
|
|
28
|
-
headers: __spreadValues({
|
|
29
|
-
Accept: "application/json"
|
|
30
|
-
}, __privateGet(this, _bearerToken) ? { Authorization: `Bearer: ${__privateGet(this, _bearerToken)}` } : {})
|
|
31
|
-
}
|
|
32
|
-
);
|
|
33
|
-
if (!response.ok) {
|
|
34
|
-
throw apiError;
|
|
35
|
-
}
|
|
36
|
-
const {
|
|
37
|
-
response: { docs }
|
|
38
|
-
} = await response.json();
|
|
39
|
-
return cherryPickDocInfo(docs);
|
|
40
|
-
},
|
|
41
|
-
args: () => []
|
|
42
|
-
}));
|
|
43
|
-
}
|
|
44
|
-
get taskComplete() {
|
|
45
|
-
return __privateGet(this, _apiTask).taskComplete;
|
|
46
|
-
}
|
|
47
|
-
get value() {
|
|
48
|
-
return __privateGet(this, _apiTask).value;
|
|
49
|
-
}
|
|
50
|
-
get taskStatus() {
|
|
51
|
-
const readableStatus = Object.entries(TaskStatus).reduce((accumulator, [key, value]) => {
|
|
52
|
-
accumulator[value] = key;
|
|
53
|
-
return accumulator;
|
|
54
|
-
}, {});
|
|
55
|
-
return readableStatus[__privateGet(this, _apiTask).status];
|
|
56
|
-
}
|
|
57
|
-
render(renderFunctions) {
|
|
58
|
-
return __privateGet(this, _apiTask).render(renderFunctions);
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
_apiTask = new WeakMap();
|
|
62
|
-
_bearerToken = new WeakMap();
|
|
63
|
-
|
|
64
|
-
export {
|
|
65
|
-
FetchController
|
|
66
|
-
};
|