@nasa-terra/components 0.0.52 → 0.0.53

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.
Files changed (395) hide show
  1. package/cdn/assets/data-subsetter/download_subset_files.py.txt +66 -0
  2. package/cdn/chunks/{chunk.AZDOQAD2.js → chunk.223WZP6H.js} +23 -6
  3. package/cdn/chunks/{chunk.XU3NXPIM.js → chunk.23M4SIVO.js} +1 -1
  4. package/cdn/chunks/{chunk.WA7VSQ63.js → chunk.25HVLP5F.js} +3 -3
  5. package/cdn/chunks/{chunk.CUGOTRF4.js → chunk.2TPQ7A7J.js} +18 -5
  6. package/cdn/chunks/chunk.2UDWV64G.js +269 -0
  7. package/cdn/chunks/{chunk.3C36QKV5.js → chunk.32W6J6AF.js} +1 -1
  8. package/cdn/chunks/{chunk.43R5EAVL.js → chunk.3EMZ7G5B.js} +1 -1
  9. package/cdn/chunks/chunk.3R6XYEOH.js +11 -0
  10. package/{dist/chunks/chunk.GUGDC67O.js → cdn/chunks/chunk.4YQZGKJ7.js} +1 -1
  11. package/cdn/chunks/{chunk.6NEMJOXS.js → chunk.5BO2XAMO.js} +4 -4
  12. package/{dist/chunks/chunk.E7WQN374.js → cdn/chunks/chunk.5DKQRBZN.js} +1 -1
  13. package/cdn/chunks/{chunk.6QZW2ION.js → chunk.5IE6WY2F.js} +1 -1
  14. package/cdn/chunks/{chunk.UR52WPUB.js → chunk.66O6GDYQ.js} +9 -9
  15. package/cdn/chunks/{chunk.YNUC7HOB.js → chunk.6HMN7UIZ.js} +1 -1
  16. package/cdn/chunks/chunk.6OAPBJRP.js +49 -0
  17. package/cdn/chunks/{chunk.QIVBQSS7.js → chunk.6RS64LSV.js} +11 -11
  18. package/cdn/chunks/chunk.7LR3A5ZW.js +77 -0
  19. package/{dist/chunks/chunk.H6VZTFOA.js → cdn/chunks/chunk.7S5AAIY4.js} +1 -1
  20. package/{dist/chunks/chunk.CVHBTAL2.js → cdn/chunks/chunk.AOKWX7Z7.js} +1 -1
  21. package/{dist/chunks/chunk.E2A2V2YS.js → cdn/chunks/chunk.AVVGDACI.js} +1 -1
  22. package/cdn/chunks/{chunk.KQ335BKK.js → chunk.AZZ2NMUW.js} +1 -1
  23. package/{dist/chunks/chunk.3REGQAFA.js → cdn/chunks/chunk.B44THGJN.js} +1 -1
  24. package/cdn/chunks/{chunk.M7Y4QNCN.js → chunk.B6YTTGSP.js} +1 -1
  25. package/{dist/chunks/chunk.BGIZ44PS.js → cdn/chunks/chunk.C3ZO2T4M.js} +1 -1
  26. package/cdn/chunks/chunk.CMFROAGD.js +11 -0
  27. package/cdn/chunks/chunk.CPHER7LT.js +61 -0
  28. package/cdn/chunks/{chunk.ALXMBVVZ.js → chunk.DPC5A37S.js} +1 -1
  29. package/cdn/chunks/{chunk.6H77QHJW.js → chunk.DRO43W2Q.js} +1 -1
  30. package/cdn/chunks/{chunk.VAWFQPRW.js → chunk.DXUHDNR2.js} +1 -1
  31. package/cdn/chunks/{chunk.UVCDVWWN.js → chunk.ECXWQIDQ.js} +1 -1
  32. package/cdn/chunks/{chunk.YIABHSHN.js → chunk.EZMKGB3F.js} +5 -2
  33. package/cdn/chunks/{chunk.K6GAF43H.js → chunk.FCGFGTMF.js} +1 -1
  34. package/cdn/chunks/{chunk.6IMVZQLW.js → chunk.FOR62X7R.js} +2 -2
  35. package/cdn/chunks/{chunk.6LGRNEZ7.js → chunk.FS3ZYOYJ.js} +1 -1
  36. package/cdn/chunks/{chunk.LOCO37M5.js → chunk.FVNQDVSU.js} +438 -438
  37. package/cdn/chunks/chunk.FYWRHDMM.js +1314 -0
  38. package/cdn/chunks/{chunk.XO3SOVHY.js → chunk.G3K475WP.js} +1 -1
  39. package/cdn/chunks/{chunk.TJW5I73A.js → chunk.G6DIOURT.js} +1 -1
  40. package/{dist/chunks/chunk.MWJRQKMV.js → cdn/chunks/chunk.GQZQZ2HS.js} +1 -1
  41. package/{dist/chunks/chunk.ETRG47HH.js → cdn/chunks/chunk.HDUTNK76.js} +1 -1
  42. package/cdn/chunks/chunk.HWY63TSF.js +27 -0
  43. package/{dist/chunks/chunk.WMLL6DYO.js → cdn/chunks/chunk.I5WLJ5L3.js} +1 -1
  44. package/cdn/chunks/{chunk.VRGU3JD2.js → chunk.IR66XQLB.js} +11 -11
  45. package/cdn/chunks/chunk.IW5LSMO4.js +928 -0
  46. package/cdn/chunks/chunk.IX3FU7LW.js +21 -0
  47. package/cdn/chunks/chunk.K5CSW352.js +418 -0
  48. package/{dist/chunks/chunk.RW6R4LFF.js → cdn/chunks/chunk.KMFGKZ5A.js} +1 -1
  49. package/cdn/chunks/{chunk.YWXZHRQQ.js → chunk.KX3Z3J5J.js} +1 -1
  50. package/cdn/chunks/{chunk.TKZC2SRM.js → chunk.L7N566HD.js} +1 -1
  51. package/{dist/chunks/chunk.KMNSIF7V.js → cdn/chunks/chunk.LCPWWHRW.js} +1 -1
  52. package/cdn/chunks/chunk.LIGYFBVJ.js +21 -0
  53. package/{dist/chunks/chunk.ESISTPRD.js → cdn/chunks/chunk.MJOS7DJT.js} +1 -1
  54. package/cdn/chunks/{chunk.56BIFKWQ.js → chunk.ODSJ642O.js} +9 -9
  55. package/cdn/chunks/{chunk.4UYNOT7W.js → chunk.P5PLRHF4.js} +1 -1
  56. package/{dist/chunks/chunk.EM2KEB67.js → cdn/chunks/chunk.P7YVDGTI.js} +1 -1
  57. package/cdn/chunks/{chunk.5NU43HNV.js → chunk.PNYTGKX5.js} +1 -1
  58. package/cdn/chunks/{chunk.XHHFBPQM.js → chunk.PSAJO4PE.js} +8 -7
  59. package/cdn/chunks/{chunk.NCUMG4CT.js → chunk.PYENVYVD.js} +1 -1
  60. package/cdn/chunks/{chunk.4L2C3E3Z.js → chunk.QCGNAB7F.js} +1 -1
  61. package/cdn/chunks/chunk.QIVU3UVU.js +150 -0
  62. package/cdn/chunks/{chunk.KHIKTIEM.js → chunk.QLE3NTPL.js} +11 -11
  63. package/cdn/chunks/{chunk.7ZVIGV6V.js → chunk.R24K6QI4.js} +17 -9
  64. package/cdn/chunks/chunk.SF6MBAEP.js +20 -0
  65. package/cdn/chunks/{chunk.TEUZXQBU.js → chunk.SFG6BGI6.js} +4 -4
  66. package/cdn/chunks/{chunk.2UNF3BIO.js → chunk.SRTZLLQ5.js} +10 -10
  67. package/cdn/chunks/{chunk.H5LB4MBT.js → chunk.SSTISPFD.js} +1 -1
  68. package/cdn/chunks/{chunk.IQ7B6HFH.js → chunk.SXNVHR5M.js} +1 -1
  69. package/cdn/chunks/{chunk.SZAZG4YK.js → chunk.U3NYXUF6.js} +1 -1
  70. package/{dist/chunks/chunk.7KC6YXWL.js → cdn/chunks/chunk.UA5HHAYZ.js} +1 -1
  71. package/cdn/chunks/chunk.UBW72CYZ.js +11 -0
  72. package/cdn/chunks/{chunk.JE2FCOKF.js → chunk.UKQCOWLU.js} +1 -1
  73. package/{dist/chunks/chunk.775IHQR2.js → cdn/chunks/chunk.UOCDT7HQ.js} +13 -13
  74. package/cdn/chunks/{chunk.2NCB6JXM.js → chunk.VE5TVT6L.js} +1 -1
  75. package/cdn/chunks/{chunk.PNDWOMP6.js → chunk.VH6TLJG7.js} +2 -2
  76. package/cdn/chunks/{chunk.YCRGAL67.js → chunk.VZ3MBFKG.js} +1 -1
  77. package/cdn/chunks/{chunk.WRON76NZ.js → chunk.XAJZNITQ.js} +1 -1
  78. package/{dist/chunks/chunk.QUYMT5VP.js → cdn/chunks/chunk.XQK25A5Y.js} +1 -1
  79. package/cdn/chunks/{chunk.X2ZY3YLL.js → chunk.XUPAIJOR.js} +1 -1
  80. package/cdn/chunks/{chunk.H7IOI7PF.js → chunk.XYM7DLPS.js} +9 -9
  81. package/cdn/chunks/{chunk.ZLY7XE2R.js → chunk.YIPEL4RB.js} +1 -1
  82. package/{dist/chunks/chunk.S3TUAB7V.js → cdn/chunks/chunk.YKNGZO6V.js} +1 -1
  83. package/cdn/chunks/{chunk.BUKXWTWP.js → chunk.YTH6FKWR.js} +1 -1
  84. package/cdn/chunks/{chunk.4OS3WNGB.js → chunk.ZQDMMP6X.js} +34 -77
  85. package/cdn/components/accordion/accordion.component.d.ts +35 -0
  86. package/cdn/components/accordion/accordion.component.js +21 -0
  87. package/cdn/components/accordion/accordion.d.ts +8 -0
  88. package/cdn/components/accordion/accordion.js +22 -0
  89. package/cdn/components/accordion/accordion.styles.d.ts +2 -0
  90. package/cdn/components/accordion/accordion.styles.js +9 -0
  91. package/cdn/components/alert/alert.component.d.ts +74 -0
  92. package/cdn/components/alert/alert.component.js +16 -0
  93. package/cdn/components/alert/alert.d.ts +8 -0
  94. package/cdn/components/alert/alert.js +17 -0
  95. package/cdn/components/alert/alert.styles.d.ts +2 -0
  96. package/cdn/components/alert/alert.styles.js +9 -0
  97. package/cdn/components/browse-variables/browse-variables.component.js +27 -26
  98. package/cdn/components/browse-variables/browse-variables.controller.js +4 -4
  99. package/cdn/components/browse-variables/browse-variables.js +28 -27
  100. package/cdn/components/button/button.component.js +5 -4
  101. package/cdn/components/button/button.js +6 -5
  102. package/cdn/components/chip/chip.component.js +2 -2
  103. package/cdn/components/chip/chip.js +3 -3
  104. package/cdn/components/combobox/combobox.component.js +7 -7
  105. package/cdn/components/combobox/combobox.js +8 -8
  106. package/cdn/components/data-rods/data-rods.component.js +42 -41
  107. package/cdn/components/data-rods/data-rods.js +43 -42
  108. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +46 -0
  109. package/cdn/components/data-subsetter/data-subsetter.component.js +48 -0
  110. package/cdn/components/data-subsetter/data-subsetter.controller.d.ts +15 -0
  111. package/cdn/components/data-subsetter/data-subsetter.controller.js +11 -0
  112. package/cdn/components/data-subsetter/data-subsetter.d.ts +8 -0
  113. package/cdn/components/data-subsetter/data-subsetter.js +49 -0
  114. package/cdn/components/data-subsetter/data-subsetter.styles.d.ts +2 -0
  115. package/cdn/components/data-subsetter/data-subsetter.styles.js +9 -0
  116. package/cdn/components/date-picker/date-picker.component.d.ts +6 -0
  117. package/cdn/components/date-picker/date-picker.component.js +11 -3
  118. package/cdn/components/date-picker/date-picker.js +12 -4
  119. package/cdn/components/date-picker/date-picker.styles.js +1 -1
  120. package/cdn/components/date-range-slider/date-range-slider.component.js +4 -4
  121. package/cdn/components/date-range-slider/date-range-slider.js +5 -5
  122. package/cdn/components/dialog/dialog.component.js +2 -2
  123. package/cdn/components/dialog/dialog.js +3 -3
  124. package/cdn/components/icon/icon.component.js +5 -5
  125. package/cdn/components/icon/icon.js +6 -6
  126. package/cdn/components/icon/library.default.js +1 -1
  127. package/cdn/components/icon/library.js +2 -2
  128. package/cdn/components/loader/loader.component.js +2 -2
  129. package/cdn/components/loader/loader.js +3 -3
  130. package/cdn/components/login/login.component.js +18 -17
  131. package/cdn/components/login/login.js +19 -18
  132. package/cdn/components/map/leaflet-utils.d.ts +4 -6
  133. package/cdn/components/map/leaflet-utils.js +1 -1
  134. package/cdn/components/map/map.component.d.ts +2 -0
  135. package/cdn/components/map/map.component.js +7 -7
  136. package/cdn/components/map/map.js +8 -8
  137. package/cdn/components/map/type.d.ts +1 -1
  138. package/cdn/components/plot/plot.component.js +2 -2
  139. package/cdn/components/plot/plot.js +3 -3
  140. package/cdn/components/skeleton/skeleton.component.js +7 -7
  141. package/cdn/components/skeleton/skeleton.js +8 -8
  142. package/cdn/components/spatial-picker/spatial-picker.component.d.ts +2 -0
  143. package/cdn/components/spatial-picker/spatial-picker.component.js +8 -8
  144. package/cdn/components/spatial-picker/spatial-picker.js +9 -9
  145. package/cdn/components/time-series/time-series.component.js +21 -20
  146. package/cdn/components/time-series/time-series.controller.js +3 -3
  147. package/cdn/components/time-series/time-series.js +22 -21
  148. package/cdn/components/variable-combobox/lib.js +3 -3
  149. package/cdn/components/variable-combobox/variable-combobox.component.js +22 -21
  150. package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
  151. package/cdn/components/variable-combobox/variable-combobox.js +23 -22
  152. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +22 -21
  153. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +4 -4
  154. package/cdn/components/variable-keyword-search/variable-keyword-search.js +23 -22
  155. package/cdn/custom-elements.json +2032 -971
  156. package/cdn/data-services/harmony-data-service.d.ts +12 -0
  157. package/cdn/data-services/queries.d.ts +4 -0
  158. package/cdn/data-services/types.d.ts +125 -0
  159. package/cdn/events/events.d.ts +2 -0
  160. package/cdn/events/terra-after-hide.d.ts +6 -0
  161. package/cdn/events/terra-after-show.d.ts +6 -0
  162. package/cdn/react/accordion/index.d.ts +19 -0
  163. package/cdn/react/accordion/index.js +22 -0
  164. package/cdn/react/alert/index.d.ts +37 -0
  165. package/cdn/react/alert/index.js +17 -0
  166. package/cdn/react/browse-variables/index.js +28 -27
  167. package/cdn/react/button/index.js +6 -5
  168. package/cdn/react/chip/index.js +3 -3
  169. package/cdn/react/combobox/index.js +8 -8
  170. package/cdn/react/data-rods/index.js +43 -42
  171. package/cdn/react/data-subsetter/index.d.ts +18 -0
  172. package/cdn/react/data-subsetter/index.js +49 -0
  173. package/cdn/react/date-picker/index.js +12 -4
  174. package/cdn/react/date-range-slider/index.js +5 -5
  175. package/cdn/react/dialog/index.js +3 -3
  176. package/cdn/react/icon/index.js +6 -6
  177. package/cdn/react/index.d.ts +3 -0
  178. package/cdn/react/index.js +105 -84
  179. package/cdn/react/loader/index.js +3 -3
  180. package/cdn/react/login/index.js +19 -18
  181. package/cdn/react/map/index.js +8 -8
  182. package/cdn/react/plot/index.js +3 -3
  183. package/cdn/react/skeleton/index.js +8 -8
  184. package/cdn/react/spatial-picker/index.js +9 -9
  185. package/cdn/react/time-series/index.js +22 -21
  186. package/cdn/react/variable-combobox/index.js +23 -22
  187. package/cdn/react/variable-keyword-search/index.js +23 -22
  188. package/cdn/terra-ui-components.d.ts +3 -0
  189. package/cdn/terra-ui-components.js +107 -86
  190. package/cdn/types/vue/index.d.ts +211 -71
  191. package/cdn/utilities/animation.js +5 -5
  192. package/cdn/utilities/date.d.ts +1 -1
  193. package/cdn/utilities/date.js +1 -1
  194. package/cdn/utilities/icon-library.js +2 -2
  195. package/cdn/utilities/mimetypes.d.ts +2 -0
  196. package/cdn/utilities/mimetypes.js +9 -0
  197. package/cdn/vscode.html-custom-data.json +88 -0
  198. package/cdn/web-types.json +352 -114
  199. package/dist/assets/data-subsetter/download_subset_files.py.txt +66 -0
  200. package/dist/chunks/{chunk.FOHGUYVS.js → chunk.2RKHDDU2.js} +1 -1
  201. package/dist/chunks/{chunk.XLJ7TVUS.js → chunk.2XANNG2B.js} +1 -1
  202. package/dist/chunks/{chunk.AY7TGBWI.js → chunk.3IQ5IBBM.js} +1 -1
  203. package/dist/chunks/{chunk.R3YZ7KJF.js → chunk.3L2XDJOH.js} +1 -1
  204. package/dist/chunks/{chunk.MZK7WRKF.js → chunk.43S45WWI.js} +1 -1
  205. package/{cdn/chunks/chunk.OJGOBLIU.js → dist/chunks/chunk.5KLM57QY.js} +1 -1
  206. package/dist/chunks/{chunk.HR67OJ25.js → chunk.5NA7WX55.js} +1 -1
  207. package/dist/chunks/{chunk.4BU4Y56M.js → chunk.5SHIUY5G.js} +6 -6
  208. package/dist/chunks/{chunk.UYRZ6XBT.js → chunk.5VVBRICA.js} +1 -1
  209. package/dist/chunks/chunk.6OAPBJRP.js +49 -0
  210. package/dist/chunks/{chunk.KZZM5DIH.js → chunk.6QIHYJP5.js} +1 -1
  211. package/dist/chunks/{chunk.AONG4JL6.js → chunk.7F2DLFLG.js} +2 -2
  212. package/dist/chunks/{chunk.GB2BB7RB.js → chunk.7NFT5ART.js} +1 -1
  213. package/dist/chunks/chunk.7NTMVXIC.js +925 -0
  214. package/dist/chunks/{chunk.O5JIPX5F.js → chunk.A2QLZY2M.js} +9 -9
  215. package/dist/chunks/{chunk.U5ORWUDI.js → chunk.A7OKAATM.js} +1 -1
  216. package/dist/chunks/chunk.BAKHMLBF.js +11 -0
  217. package/dist/chunks/{chunk.LPSLYYX7.js → chunk.BH6T35XA.js} +1 -1
  218. package/dist/chunks/chunk.BLS652FJ.js +21 -0
  219. package/dist/chunks/chunk.BMXRPN3G.js +27 -0
  220. package/dist/chunks/chunk.BQ62RLR7.js +11 -0
  221. package/{cdn/chunks/chunk.2TA36AD4.js → dist/chunks/chunk.BWS7VIBN.js} +1 -1
  222. package/{cdn/chunks/chunk.L5N5757Y.js → dist/chunks/chunk.CQZQUK25.js} +1 -1
  223. package/{cdn/chunks/chunk.XR376PMT.js → dist/chunks/chunk.CRZR5BJI.js} +1 -1
  224. package/{cdn/chunks/chunk.RLI6ON2C.js → dist/chunks/chunk.DGDGO4B7.js} +1 -1
  225. package/dist/chunks/chunk.DLY7WEID.js +263 -0
  226. package/dist/chunks/{chunk.H55GDBVS.js → chunk.DNVFMGDI.js} +2 -2
  227. package/dist/chunks/{chunk.RHT75OOW.js → chunk.E27YXBMX.js} +3 -3
  228. package/{cdn/chunks/chunk.KCZLV65J.js → dist/chunks/chunk.ECA2Y7HR.js} +1 -1
  229. package/dist/chunks/{chunk.WVAXV6VX.js → chunk.EZDSFP5I.js} +1 -1
  230. package/dist/chunks/{chunk.OJHJP7K2.js → chunk.FV3CJUU7.js} +1 -1
  231. package/dist/chunks/{chunk.EXZP753L.js → chunk.FWZVCL6J.js} +1 -1
  232. package/dist/chunks/chunk.GGUB2JVZ.js +73 -0
  233. package/dist/chunks/{chunk.K2RM2IR7.js → chunk.GSJX5TID.js} +16 -8
  234. package/{cdn/chunks/chunk.F7E3OXW3.js → dist/chunks/chunk.GVEKK7CF.js} +1 -1
  235. package/dist/chunks/chunk.HDDKRXZX.js +1308 -0
  236. package/dist/chunks/{chunk.TFI3UXXB.js → chunk.HFD6TPE6.js} +1 -1
  237. package/{cdn/chunks/chunk.TPNEBQDW.js → dist/chunks/chunk.HM3ZTCTP.js} +1 -1
  238. package/dist/chunks/{chunk.2LQ62YDQ.js → chunk.I533JNF6.js} +1 -1
  239. package/dist/chunks/{chunk.34UGHNQ2.js → chunk.IKDCFYUH.js} +23 -6
  240. package/dist/chunks/{chunk.33MT36PS.js → chunk.IU5SV56O.js} +1 -1
  241. package/dist/chunks/chunk.JDQC6NXM.js +418 -0
  242. package/{cdn/chunks/chunk.KTVGWBMV.js → dist/chunks/chunk.K6JJQ4SX.js} +1 -1
  243. package/dist/chunks/{chunk.7JBFBZ5C.js → chunk.KMN7L6QZ.js} +5 -2
  244. package/dist/chunks/chunk.KRQ4AG3O.js +11 -0
  245. package/dist/chunks/chunk.MNJWY2UW.js +21 -0
  246. package/{cdn/chunks/chunk.WLC45QMC.js → dist/chunks/chunk.N25BS4ZB.js} +1 -1
  247. package/{cdn/chunks/chunk.RGI5ZEXR.js → dist/chunks/chunk.NJIZMOG7.js} +1 -1
  248. package/dist/chunks/{chunk.TBBYOYJ7.js → chunk.O27IYL4H.js} +1 -1
  249. package/dist/chunks/{chunk.XZXT5MBD.js → chunk.OF2CXRSX.js} +1 -1
  250. package/dist/chunks/{chunk.UBJGRBUX.js → chunk.OYPYQ42W.js} +1 -1
  251. package/dist/chunks/{chunk.NFHX7J4A.js → chunk.QQRC2LRM.js} +11 -11
  252. package/dist/chunks/chunk.QVAN2K7E.js +147 -0
  253. package/dist/chunks/{chunk.WSGVJC5A.js → chunk.QVZCOSQG.js} +4 -4
  254. package/dist/chunks/{chunk.5LNGPR44.js → chunk.R44HGSGT.js} +1 -1
  255. package/dist/chunks/{chunk.3B622XLR.js → chunk.RLNWDA4W.js} +4 -4
  256. package/dist/chunks/{chunk.3W53HERF.js → chunk.RQ5ZXHVZ.js} +1 -1
  257. package/dist/chunks/chunk.SF6MBAEP.js +20 -0
  258. package/dist/chunks/{chunk.LNC5EYCJ.js → chunk.SLXHKQQV.js} +7 -52
  259. package/dist/chunks/{chunk.WJV65UWS.js → chunk.SXWW6H7G.js} +1 -1
  260. package/dist/chunks/{chunk.RROJPL2A.js → chunk.TF5MPUEH.js} +1 -1
  261. package/dist/chunks/{chunk.T2K2FVDX.js → chunk.TO2LNCEQ.js} +1 -1
  262. package/dist/chunks/{chunk.5W3SNZBC.js → chunk.TQWLVZHQ.js} +8 -7
  263. package/dist/chunks/{chunk.CPEM43Y5.js → chunk.U6Y5XC7Y.js} +1 -1
  264. package/{cdn/chunks/chunk.7KC6YXWL.js → dist/chunks/chunk.UA5HHAYZ.js} +1 -1
  265. package/dist/chunks/{chunk.Z5E25XLP.js → chunk.UATKNBZS.js} +9 -9
  266. package/{cdn/chunks/chunk.775IHQR2.js → dist/chunks/chunk.UOCDT7HQ.js} +13 -13
  267. package/{cdn/chunks/chunk.4TXEYAPR.js → dist/chunks/chunk.UOGBFLVH.js} +1 -1
  268. package/{cdn/chunks/chunk.2NMZMEIL.js → dist/chunks/chunk.VE3COXRN.js} +1 -1
  269. package/dist/chunks/{chunk.ZRI4D77S.js → chunk.VKOQTQOM.js} +4 -4
  270. package/dist/chunks/{chunk.QAXYS5OA.js → chunk.WLHYNUHM.js} +1 -1
  271. package/dist/chunks/{chunk.RPLQHZS6.js → chunk.WYF3PXVO.js} +18 -5
  272. package/dist/chunks/{chunk.UTDJAXDL.js → chunk.YEIAGN3D.js} +1 -1
  273. package/dist/chunks/chunk.Z3GLEDYM.js +58 -0
  274. package/dist/chunks/{chunk.2TZUQC72.js → chunk.Z6VGIT4W.js} +1 -1
  275. package/{cdn/chunks/chunk.BOEWKIKL.js → dist/chunks/chunk.ZAE4U4Y7.js} +1 -1
  276. package/{cdn/chunks/chunk.MSGOYUSX.js → dist/chunks/chunk.ZAFEQXY3.js} +1 -1
  277. package/dist/chunks/{chunk.2IUOMVRJ.js → chunk.ZI3DJGWN.js} +1 -1
  278. package/{cdn/chunks/chunk.I5ZDFQF3.js → dist/chunks/chunk.ZRD3ZNCG.js} +1 -1
  279. package/dist/components/accordion/accordion.component.d.ts +35 -0
  280. package/dist/components/accordion/accordion.component.js +16 -0
  281. package/dist/components/accordion/accordion.d.ts +8 -0
  282. package/dist/components/accordion/accordion.js +17 -0
  283. package/dist/components/accordion/accordion.styles.d.ts +2 -0
  284. package/dist/components/accordion/accordion.styles.js +7 -0
  285. package/dist/components/alert/alert.component.d.ts +74 -0
  286. package/dist/components/alert/alert.component.js +11 -0
  287. package/dist/components/alert/alert.d.ts +8 -0
  288. package/dist/components/alert/alert.js +12 -0
  289. package/dist/components/alert/alert.styles.d.ts +2 -0
  290. package/dist/components/alert/alert.styles.js +7 -0
  291. package/dist/components/browse-variables/browse-variables.component.js +19 -18
  292. package/dist/components/browse-variables/browse-variables.controller.js +3 -3
  293. package/dist/components/browse-variables/browse-variables.js +20 -19
  294. package/dist/components/button/button.component.js +4 -3
  295. package/dist/components/button/button.js +5 -4
  296. package/dist/components/chip/chip.component.js +2 -2
  297. package/dist/components/chip/chip.js +3 -3
  298. package/dist/components/combobox/combobox.component.js +3 -3
  299. package/dist/components/combobox/combobox.js +4 -4
  300. package/dist/components/data-rods/data-rods.component.js +30 -29
  301. package/dist/components/data-rods/data-rods.js +31 -30
  302. package/dist/components/data-subsetter/data-subsetter.component.d.ts +46 -0
  303. package/dist/components/data-subsetter/data-subsetter.component.js +37 -0
  304. package/dist/components/data-subsetter/data-subsetter.controller.d.ts +15 -0
  305. package/dist/components/data-subsetter/data-subsetter.controller.js +9 -0
  306. package/dist/components/data-subsetter/data-subsetter.d.ts +8 -0
  307. package/dist/components/data-subsetter/data-subsetter.js +38 -0
  308. package/dist/components/data-subsetter/data-subsetter.styles.d.ts +2 -0
  309. package/dist/components/data-subsetter/data-subsetter.styles.js +7 -0
  310. package/dist/components/date-picker/date-picker.component.d.ts +6 -0
  311. package/dist/components/date-picker/date-picker.component.js +8 -3
  312. package/dist/components/date-picker/date-picker.js +9 -4
  313. package/dist/components/date-picker/date-picker.styles.js +1 -1
  314. package/dist/components/date-range-slider/date-range-slider.component.js +3 -3
  315. package/dist/components/date-range-slider/date-range-slider.js +4 -4
  316. package/dist/components/dialog/dialog.component.js +2 -2
  317. package/dist/components/dialog/dialog.js +3 -3
  318. package/dist/components/icon/icon.component.js +5 -5
  319. package/dist/components/icon/icon.js +6 -6
  320. package/dist/components/icon/library.default.js +1 -1
  321. package/dist/components/icon/library.js +2 -2
  322. package/dist/components/loader/loader.component.js +2 -2
  323. package/dist/components/loader/loader.js +3 -3
  324. package/dist/components/login/login.component.js +14 -13
  325. package/dist/components/login/login.js +15 -14
  326. package/dist/components/map/leaflet-utils.d.ts +4 -6
  327. package/dist/components/map/leaflet-utils.js +1 -1
  328. package/dist/components/map/map.component.d.ts +2 -0
  329. package/dist/components/map/map.component.js +5 -5
  330. package/dist/components/map/map.js +6 -6
  331. package/dist/components/map/type.d.ts +1 -1
  332. package/dist/components/plot/plot.component.js +2 -2
  333. package/dist/components/plot/plot.js +3 -3
  334. package/dist/components/skeleton/skeleton.component.js +2 -2
  335. package/dist/components/skeleton/skeleton.js +3 -3
  336. package/dist/components/spatial-picker/spatial-picker.component.d.ts +2 -0
  337. package/dist/components/spatial-picker/spatial-picker.component.js +6 -6
  338. package/dist/components/spatial-picker/spatial-picker.js +7 -7
  339. package/dist/components/time-series/time-series.component.js +15 -14
  340. package/dist/components/time-series/time-series.controller.js +2 -2
  341. package/dist/components/time-series/time-series.js +16 -15
  342. package/dist/components/variable-combobox/variable-combobox.component.js +12 -11
  343. package/dist/components/variable-combobox/variable-combobox.js +13 -12
  344. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +15 -14
  345. package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +3 -3
  346. package/dist/components/variable-keyword-search/variable-keyword-search.js +16 -15
  347. package/dist/custom-elements.json +2032 -971
  348. package/dist/data-services/harmony-data-service.d.ts +12 -0
  349. package/dist/data-services/queries.d.ts +4 -0
  350. package/dist/data-services/types.d.ts +125 -0
  351. package/dist/events/events.d.ts +2 -0
  352. package/dist/events/terra-after-hide.d.ts +6 -0
  353. package/dist/events/terra-after-show.d.ts +6 -0
  354. package/dist/react/accordion/index.d.ts +19 -0
  355. package/dist/react/accordion/index.js +17 -0
  356. package/dist/react/alert/index.d.ts +37 -0
  357. package/dist/react/alert/index.js +12 -0
  358. package/dist/react/browse-variables/index.js +20 -19
  359. package/dist/react/button/index.js +5 -4
  360. package/dist/react/chip/index.js +3 -3
  361. package/dist/react/combobox/index.js +4 -4
  362. package/dist/react/data-rods/index.js +31 -30
  363. package/dist/react/data-subsetter/index.d.ts +18 -0
  364. package/dist/react/data-subsetter/index.js +38 -0
  365. package/dist/react/date-picker/index.js +9 -4
  366. package/dist/react/date-range-slider/index.js +4 -4
  367. package/dist/react/dialog/index.js +3 -3
  368. package/dist/react/icon/index.js +6 -6
  369. package/dist/react/index.d.ts +3 -0
  370. package/dist/react/index.js +92 -71
  371. package/dist/react/loader/index.js +3 -3
  372. package/dist/react/login/index.js +15 -14
  373. package/dist/react/map/index.js +6 -6
  374. package/dist/react/plot/index.js +3 -3
  375. package/dist/react/skeleton/index.js +3 -3
  376. package/dist/react/spatial-picker/index.js +7 -7
  377. package/dist/react/time-series/index.js +16 -15
  378. package/dist/react/variable-combobox/index.js +13 -12
  379. package/dist/react/variable-keyword-search/index.js +16 -15
  380. package/dist/terra-ui-components.d.ts +3 -0
  381. package/dist/terra-ui-components.js +95 -74
  382. package/dist/{terra_ui_components-0.0.52-py3-none-any.whl → terra_ui_components-0.0.53-py3-none-any.whl} +0 -0
  383. package/dist/{terra_ui_components-0.0.52.tar.gz → terra_ui_components-0.0.53.tar.gz} +0 -0
  384. package/dist/types/vue/index.d.ts +211 -71
  385. package/dist/utilities/date.d.ts +1 -1
  386. package/dist/utilities/date.js +1 -1
  387. package/dist/utilities/icon-library.js +2 -2
  388. package/dist/utilities/mimetypes.d.ts +2 -0
  389. package/dist/utilities/mimetypes.js +9 -0
  390. package/dist/vscode.html-custom-data.json +88 -0
  391. package/dist/web-types.json +352 -114
  392. package/package.json +1 -1
  393. package/cdn/chunks/{chunk.2XCNCXGV.js → chunk.262RZKG2.js} +3 -3
  394. package/cdn/chunks/{chunk.PZRCJWJ4.js → chunk.6WMXHA2J.js} +5 -5
  395. package/cdn/chunks/{chunk.QB5SASDL.js → chunk.FKLQEDIX.js} +4 -4
@@ -0,0 +1,66 @@
1
+ """
2
+ Python script for downloading data from a NASA Harmony job
3
+
4
+ Requirements:
5
+ > pip install harmony
6
+
7
+ To run the script: `python download_subset_files_{{jobId}}.py`
8
+
9
+ You will be prompted for your Earthdata Login (https://urs.earthdata.nasa.gov) username and password.
10
+
11
+ If you would rather, you can store your EDL credentials in a .netrc file:
12
+ > cd ~
13
+ > touch .netrc
14
+ > echo "machine urs.earthdata.nasa.gov login uid_goes_here password password_goes_here" > .netrc
15
+ > chmod 0600 .netrc
16
+ """
17
+
18
+ from harmony import Client
19
+ from harmony.config import Environment
20
+ import netrc
21
+ from getpass import getpass
22
+
23
+
24
+ def main(job_id="{{jobId}}"):
25
+ login, password = get_login_credentials()
26
+ harmony_client = Client(auth=(login, password), env=Environment.PROD)
27
+
28
+ print("Getting the subset job status from Harmony for job: ", job_id)
29
+ job = harmony_client.status(job_id)
30
+
31
+ if job["status"] != "successful" and job["status"] != "complete_with_errors":
32
+ # we need to wait for the job to complete
33
+ print("Waiting for the job to finish")
34
+ harmony_client.wait_for_processing(job_id, show_progress=True)
35
+
36
+ # get a list of the jobs data urls
37
+ urls = harmony_client.result_urls(job_id)
38
+
39
+ print("Downloading ", sum(1 for _ in urls), " files\n")
40
+
41
+ futures = harmony_client.download_all(job_id)
42
+ [f.result() for f in futures]
43
+
44
+ print("\nFinished downloading files!")
45
+
46
+
47
+ def get_login_credentials():
48
+ login = None
49
+ password = None
50
+
51
+ try:
52
+ nrc = netrc.netrc()
53
+ login, _account, password = nrc.authenticators("urs.earthdata.nasa.gov")
54
+ except Exception:
55
+ login = None
56
+ password = None
57
+
58
+ if not login:
59
+ login = input("Earthdata Login username: ")
60
+ password = getpass("Password: ")
61
+
62
+ return login, password
63
+
64
+
65
+ if __name__ == "__main__":
66
+ main()
@@ -1,10 +1,13 @@
1
1
  import {
2
2
  date_picker_styles_default
3
- } from "./chunk.XHHFBPQM.js";
3
+ } from "./chunk.PSAJO4PE.js";
4
+ import {
5
+ TerraButton
6
+ } from "./chunk.ZQDMMP6X.js";
4
7
  import {
5
8
  TerraElement,
6
9
  component_styles_default
7
- } from "./chunk.6LGRNEZ7.js";
10
+ } from "./chunk.FS3ZYOYJ.js";
8
11
  import {
9
12
  e,
10
13
  n
@@ -3592,6 +3595,9 @@ var TerraDatePicker = class extends TerraElement {
3592
3595
  }
3593
3596
  firstUpdated() {
3594
3597
  this.flatpickrElement.addEventListener("change", this.handleChange.bind(this));
3598
+ setTimeout(() => {
3599
+ this.flatpickrElement.shadowRoot.querySelector("input").addEventListener("blur", this.handleBlur.bind(this));
3600
+ }, 250);
3595
3601
  }
3596
3602
  handleChange(selectedDates) {
3597
3603
  var _a, _b;
@@ -3601,6 +3607,9 @@ var TerraDatePicker = class extends TerraElement {
3601
3607
  };
3602
3608
  this.emit("terra-change");
3603
3609
  }
3610
+ handleBlur() {
3611
+ this.handleChange(this.flatpickrElement._instance.selectedDates);
3612
+ }
3604
3613
  render() {
3605
3614
  return x`
3606
3615
  <div class="date-picker">
@@ -3618,7 +3627,7 @@ var TerraDatePicker = class extends TerraElement {
3618
3627
  .maxDate=${this.maxDate}
3619
3628
  .defaultDate=${this.range ? [this.startDate, this.endDate].filter(
3620
3629
  Boolean
3621
- ) : this.startDate}
3630
+ ) : this.defaultDate}
3622
3631
  .allowInput=${this.allowInput}
3623
3632
  .altFormat=${this.altFormat}
3624
3633
  .altInput=${this.altInput}
@@ -3633,10 +3642,12 @@ var TerraDatePicker = class extends TerraElement {
3633
3642
  theme="material_blue"
3634
3643
  .onChange="${this.handleChange.bind(this)}"
3635
3644
  ></lit-flatpickr>
3636
- <button
3645
+ <terra-button
3646
+ shape="square-left"
3647
+ size="medium"
3637
3648
  class="date-picker__input_icon_button"
3638
- type="button"
3639
3649
  @click=${() => this.flatpickrElement.open()}
3650
+ type="button"
3640
3651
  >
3641
3652
  <svg
3642
3653
  xmlns="http://www.w3.org/2000/svg"
@@ -3652,13 +3663,16 @@ var TerraDatePicker = class extends TerraElement {
3652
3663
  d="M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5"
3653
3664
  />
3654
3665
  </svg>
3655
- </button>
3666
+ </terra-button>
3656
3667
  </div>
3657
3668
  </div>
3658
3669
  `;
3659
3670
  }
3660
3671
  };
3661
3672
  TerraDatePicker.styles = [component_styles_default, date_picker_styles_default];
3673
+ TerraDatePicker.dependencies = {
3674
+ "terra-button": TerraButton
3675
+ };
3662
3676
  __decorateClass([
3663
3677
  n()
3664
3678
  ], TerraDatePicker.prototype, "id", 2);
@@ -3677,6 +3691,9 @@ __decorateClass([
3677
3691
  __decorateClass([
3678
3692
  n({ attribute: "end-date" })
3679
3693
  ], TerraDatePicker.prototype, "endDate", 2);
3694
+ __decorateClass([
3695
+ n({ attribute: "default-date" })
3696
+ ], TerraDatePicker.prototype, "defaultDate", 2);
3680
3697
  __decorateClass([
3681
3698
  n({ type: Boolean, attribute: "allow-input" })
3682
3699
  ], TerraDatePicker.prototype, "allowInput", 2);
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk.MERDVJWH.js";
5
5
  import {
6
6
  getUTCDate
7
- } from "./chunk.YIABHSHN.js";
7
+ } from "./chunk.EZMKGB3F.js";
8
8
  import {
9
9
  __privateAdd,
10
10
  __privateMethod,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  format
3
- } from "./chunk.K6GAF43H.js";
3
+ } from "./chunk.FCGFGTMF.js";
4
4
  import {
5
5
  date_range_slider_styles_default
6
6
  } from "./chunk.WTMN7OUL.js";
@@ -13,14 +13,14 @@ import {
13
13
  import {
14
14
  TerraElement,
15
15
  component_styles_default
16
- } from "./chunk.6LGRNEZ7.js";
16
+ } from "./chunk.FS3ZYOYJ.js";
17
17
  import {
18
18
  e,
19
19
  n
20
20
  } from "./chunk.2FFSUM6T.js";
21
21
  import {
22
22
  isValidDate
23
- } from "./chunk.YIABHSHN.js";
23
+ } from "./chunk.EZMKGB3F.js";
24
24
  import {
25
25
  x
26
26
  } from "./chunk.PQFHJHNO.js";
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk.POKHGMEN.js";
4
4
  import {
5
5
  TerraMap
6
- } from "./chunk.7ZVIGV6V.js";
6
+ } from "./chunk.R24K6QI4.js";
7
7
  import {
8
8
  StringifyBoundingBox,
9
9
  parseBoundingBox
10
- } from "./chunk.6NEMJOXS.js";
10
+ } from "./chunk.5BO2XAMO.js";
11
11
  import {
12
12
  TerraElement,
13
13
  component_styles_default
14
- } from "./chunk.6LGRNEZ7.js";
14
+ } from "./chunk.FS3ZYOYJ.js";
15
15
  import {
16
16
  e,
17
17
  n,
@@ -135,11 +135,14 @@ var TerraSpatialPicker = class extends TerraElement {
135
135
  .value=${this.mapValue}
136
136
  ?has-navigation=${this.hasNavigation}
137
137
  ?has-shape-selector=${this.hasShapeSelector}
138
+ ?hide-bounding-box-selection=${this.hideBoundingBoxSelection}
139
+ ?hide-point-selection=${this.hidePointSelection}
138
140
  @terra-map-change=${this._handleMapChange}
139
141
  >
140
142
  </terra-map>`;
141
143
  }
142
144
  render() {
145
+ const expanded = this.inline ? true : this.isExpanded;
143
146
  return x`
144
147
  <div class="spatial-picker">
145
148
  <label
@@ -155,7 +158,7 @@ var TerraSpatialPicker = class extends TerraElement {
155
158
  class="spatial-picker__input form-control"
156
159
  placeholder="${this.spatialConstraints}"
157
160
  aria-controls="map"
158
- aria-expanded=${this.isExpanded}
161
+ aria-expanded=${expanded}
159
162
  @blur=${this._blur}
160
163
  @focus=${this._focus}
161
164
  />
@@ -181,7 +184,11 @@ var TerraSpatialPicker = class extends TerraElement {
181
184
  </svg>
182
185
  </terra-button>
183
186
  </div>
184
- ${this.isExpanded ? this.renderMap() : T}
187
+ ${expanded ? x`<div
188
+ style="${this.inline ? "position: static; width: 100%;" : ""}"
189
+ >
190
+ ${this.renderMap()}
191
+ </div>` : T}
185
192
  </div>
186
193
  `;
187
194
  }
@@ -208,6 +215,12 @@ __decorateClass([
208
215
  __decorateClass([
209
216
  n({ attribute: "has-shape-selector", type: Boolean })
210
217
  ], TerraSpatialPicker.prototype, "hasShapeSelector", 2);
218
+ __decorateClass([
219
+ n({ attribute: "hide-bounding-box-selection", type: Boolean })
220
+ ], TerraSpatialPicker.prototype, "hideBoundingBoxSelection", 2);
221
+ __decorateClass([
222
+ n({ attribute: "hide-point-selection", type: Boolean })
223
+ ], TerraSpatialPicker.prototype, "hidePointSelection", 2);
211
224
  __decorateClass([
212
225
  n({ attribute: "initial-value" })
213
226
  ], TerraSpatialPicker.prototype, "initialValue", 2);
@@ -0,0 +1,269 @@
1
+ import {
2
+ alert_styles_default
3
+ } from "./chunk.QIVU3UVU.js";
4
+ import {
5
+ HasSlotController
6
+ } from "./chunk.6OAPBJRP.js";
7
+ import {
8
+ e
9
+ } from "./chunk.YVSJQ4KD.js";
10
+ import {
11
+ watch
12
+ } from "./chunk.6MMTW476.js";
13
+ import {
14
+ TerraElement,
15
+ component_styles_default
16
+ } from "./chunk.FS3ZYOYJ.js";
17
+ import {
18
+ e as e2,
19
+ n,
20
+ r
21
+ } from "./chunk.2FFSUM6T.js";
22
+ import {
23
+ x
24
+ } from "./chunk.PQFHJHNO.js";
25
+ import {
26
+ __decorateClass
27
+ } from "./chunk.6JHIJHTB.js";
28
+
29
+ // src/internal/event.ts
30
+ function waitForEvent(el, eventName) {
31
+ return new Promise((resolve) => {
32
+ function done(event) {
33
+ if (event.target === el) {
34
+ el.removeEventListener(eventName, done);
35
+ resolve();
36
+ }
37
+ }
38
+ el.addEventListener(eventName, done);
39
+ });
40
+ }
41
+
42
+ // src/components/alert/alert.component.ts
43
+ var _TerraAlert = class _TerraAlert extends TerraElement {
44
+ constructor() {
45
+ super(...arguments);
46
+ this.hasSlotController = new HasSlotController(this, "icon", "suffix");
47
+ this.open = false;
48
+ this.closable = false;
49
+ this.variant = "primary";
50
+ this.duration = Infinity;
51
+ this.remainingTime = this.duration;
52
+ }
53
+ static define(tag = "terra-alert") {
54
+ if (!customElements.get(tag)) {
55
+ customElements.define(tag, this);
56
+ }
57
+ }
58
+ static get toastStack() {
59
+ if (!this.currentToastStack) {
60
+ this.currentToastStack = Object.assign(document.createElement("div"), {
61
+ className: "terra-toast-stack"
62
+ });
63
+ }
64
+ return this.currentToastStack;
65
+ }
66
+ firstUpdated() {
67
+ this.base.hidden = !this.open;
68
+ }
69
+ restartAutoHide() {
70
+ this.handleCountdownChange();
71
+ clearTimeout(this.autoHideTimeout);
72
+ clearInterval(this.remainingTimeInterval);
73
+ if (this.open && this.duration < Infinity) {
74
+ this.autoHideTimeout = window.setTimeout(() => this.hide(), this.duration);
75
+ this.remainingTime = this.duration;
76
+ this.remainingTimeInterval = window.setInterval(() => {
77
+ this.remainingTime -= 100;
78
+ }, 100);
79
+ }
80
+ }
81
+ pauseAutoHide() {
82
+ var _a;
83
+ (_a = this.countdownAnimation) == null ? void 0 : _a.pause();
84
+ clearTimeout(this.autoHideTimeout);
85
+ clearInterval(this.remainingTimeInterval);
86
+ }
87
+ resumeAutoHide() {
88
+ var _a;
89
+ if (this.duration < Infinity) {
90
+ this.autoHideTimeout = window.setTimeout(
91
+ () => this.hide(),
92
+ this.remainingTime
93
+ );
94
+ this.remainingTimeInterval = window.setInterval(() => {
95
+ this.remainingTime -= 100;
96
+ }, 100);
97
+ (_a = this.countdownAnimation) == null ? void 0 : _a.play();
98
+ }
99
+ }
100
+ handleCountdownChange() {
101
+ if (this.open && this.duration < Infinity && this.countdown) {
102
+ const { countdownElement } = this;
103
+ const start = "100%";
104
+ const end = "0";
105
+ this.countdownAnimation = countdownElement.animate(
106
+ [{ width: start }, { width: end }],
107
+ {
108
+ duration: this.duration,
109
+ easing: "linear"
110
+ }
111
+ );
112
+ }
113
+ }
114
+ handleCloseClick() {
115
+ this.hide();
116
+ }
117
+ async handleOpenChange() {
118
+ if (this.open) {
119
+ this.emit("terra-show");
120
+ if (this.duration < Infinity) {
121
+ this.restartAutoHide();
122
+ }
123
+ this.emit("terra-after-show");
124
+ } else {
125
+ this.emit("terra-hide");
126
+ clearTimeout(this.autoHideTimeout);
127
+ clearInterval(this.remainingTimeInterval);
128
+ this.emit("terra-after-hide");
129
+ }
130
+ }
131
+ handleDurationChange() {
132
+ this.restartAutoHide();
133
+ }
134
+ /** Shows the alert. */
135
+ async show() {
136
+ if (this.open) {
137
+ return void 0;
138
+ }
139
+ this.open = true;
140
+ return waitForEvent(this, "terra-after-show");
141
+ }
142
+ /** Hides the alert */
143
+ async hide() {
144
+ if (!this.open) {
145
+ return void 0;
146
+ }
147
+ this.open = false;
148
+ return waitForEvent(this, "terra-after-hide");
149
+ }
150
+ /**
151
+ * Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when
152
+ * dismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by
153
+ * calling this method again. The returned promise will resolve after the alert is hidden.
154
+ */
155
+ async toast() {
156
+ return new Promise((resolve) => {
157
+ this.handleCountdownChange();
158
+ if (_TerraAlert.toastStack.parentElement === null) {
159
+ document.body.append(_TerraAlert.toastStack);
160
+ }
161
+ _TerraAlert.toastStack.appendChild(this);
162
+ requestAnimationFrame(() => {
163
+ this.clientWidth;
164
+ this.show();
165
+ });
166
+ this.addEventListener(
167
+ "terra-after-hide",
168
+ () => {
169
+ _TerraAlert.toastStack.removeChild(this);
170
+ resolve();
171
+ if (_TerraAlert.toastStack.querySelector("terra-alert") === null) {
172
+ _TerraAlert.toastStack.remove();
173
+ }
174
+ },
175
+ { once: true }
176
+ );
177
+ });
178
+ }
179
+ render() {
180
+ return x`
181
+ <div
182
+ part="base"
183
+ class=${e({
184
+ alert: true,
185
+ "alert--open": this.open,
186
+ "alert--closable": this.closable,
187
+ "alert--has-countdown": !!this.countdown,
188
+ "alert--has-icon": this.hasSlotController.test("icon"),
189
+ "alert--primary": this.variant === "primary",
190
+ "alert--success": this.variant === "success",
191
+ "alert--neutral": this.variant === "neutral",
192
+ "alert--warning": this.variant === "warning",
193
+ "alert--danger": this.variant === "danger"
194
+ })}
195
+ role="alert"
196
+ aria-hidden=${this.open ? "false" : "true"}
197
+ @mouseenter=${this.pauseAutoHide}
198
+ @mouseleave=${this.resumeAutoHide}
199
+ >
200
+ <div part="icon" class="alert__icon">
201
+ <slot name="icon"></slot>
202
+ </div>
203
+
204
+ <div part="message" class="alert__message" aria-live="polite">
205
+ <slot></slot>
206
+ </div>
207
+
208
+ ${this.closable ? x`
209
+ <button
210
+ class="terra-alert__close-button"
211
+ @click=${this.handleCloseClick}
212
+ aria-label="Close"
213
+ >
214
+ x
215
+ </button>
216
+ ` : ""}
217
+
218
+ <div role="timer" class="alert__timer">${this.remainingTime}</div>
219
+
220
+ ${this.countdown ? x`
221
+ <div
222
+ class=${e({
223
+ alert__countdown: true,
224
+ "alert__countdown--ltr": this.countdown === "ltr"
225
+ })}
226
+ >
227
+ <div class="alert__countdown-elapsed"></div>
228
+ </div>
229
+ ` : ""}
230
+ </div>
231
+ `;
232
+ }
233
+ };
234
+ _TerraAlert.styles = [component_styles_default, alert_styles_default];
235
+ __decorateClass([
236
+ e2('[part~="base"]')
237
+ ], _TerraAlert.prototype, "base", 2);
238
+ __decorateClass([
239
+ e2(".alert__countdown-elapsed")
240
+ ], _TerraAlert.prototype, "countdownElement", 2);
241
+ __decorateClass([
242
+ n({ type: Boolean, reflect: true })
243
+ ], _TerraAlert.prototype, "open", 2);
244
+ __decorateClass([
245
+ n({ type: Boolean, reflect: true })
246
+ ], _TerraAlert.prototype, "closable", 2);
247
+ __decorateClass([
248
+ n({ reflect: true })
249
+ ], _TerraAlert.prototype, "variant", 2);
250
+ __decorateClass([
251
+ n({ type: Number })
252
+ ], _TerraAlert.prototype, "duration", 2);
253
+ __decorateClass([
254
+ n({ type: String, reflect: true })
255
+ ], _TerraAlert.prototype, "countdown", 2);
256
+ __decorateClass([
257
+ r()
258
+ ], _TerraAlert.prototype, "remainingTime", 2);
259
+ __decorateClass([
260
+ watch("open", { waitUntilFirstUpdate: true })
261
+ ], _TerraAlert.prototype, "handleOpenChange", 1);
262
+ __decorateClass([
263
+ watch("duration")
264
+ ], _TerraAlert.prototype, "handleDurationChange", 1);
265
+ var TerraAlert = _TerraAlert;
266
+
267
+ export {
268
+ TerraAlert
269
+ };
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  TerraElement,
9
9
  component_styles_default
10
- } from "./chunk.6LGRNEZ7.js";
10
+ } from "./chunk.FS3ZYOYJ.js";
11
11
  import {
12
12
  n,
13
13
  r
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraVariableKeywordSearch
3
- } from "./chunk.H7IOI7PF.js";
3
+ } from "./chunk.XYM7DLPS.js";
4
4
 
5
5
  // src/react/variable-keyword-search/index.ts
6
6
  import * as React from "react";
@@ -0,0 +1,11 @@
1
+ import {
2
+ TerraAlert
3
+ } from "./chunk.2UDWV64G.js";
4
+
5
+ // src/components/alert/alert.ts
6
+ var alert_default = TerraAlert;
7
+ TerraAlert.define("terra-button");
8
+
9
+ export {
10
+ alert_default
11
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraVariableCombobox
3
- } from "./chunk.RHT75OOW.js";
3
+ } from "./chunk.QLE3NTPL.js";
4
4
 
5
5
  // src/react/variable-combobox/index.ts
6
6
  import * as React from "react";
@@ -10479,7 +10479,7 @@ var Leaflet = class {
10479
10479
  this.addCoordTracker();
10480
10480
  }
10481
10481
  if (options.hasNavigation) {
10482
- this.addDrawControl();
10482
+ this.addDrawControl(options);
10483
10483
  }
10484
10484
  this.map.whenReady((_e) => {
10485
10485
  var _a;
@@ -10540,7 +10540,7 @@ var Leaflet = class {
10540
10540
  const coordTracker = new CoordTracker();
10541
10541
  coordTracker.addTo(this.map);
10542
10542
  }
10543
- addDrawControl() {
10543
+ addDrawControl(options) {
10544
10544
  this.editableLayers = new L2.FeatureGroup();
10545
10545
  this.editableLayers.addTo(this.map);
10546
10546
  let drawControl = new L2.Control.Draw({
@@ -10551,8 +10551,8 @@ var Leaflet = class {
10551
10551
  circle: false,
10552
10552
  // Turns off this drawing tool
10553
10553
  circlemarker: false,
10554
- rectangle: {},
10555
- marker: {
10554
+ rectangle: (options == null ? void 0 : options.hideBoundingBoxDrawTool) ? false : {},
10555
+ marker: (options == null ? void 0 : options.hidePointSelectionDrawTool) ? false : {
10556
10556
  icon: L2.icon({
10557
10557
  iconUrl: "https://unpkg.com/leaflet@1.9.4/dist/images/marker-icon.png",
10558
10558
  iconAnchor: [15, 40],
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraPlot
3
- } from "./chunk.QAXYS5OA.js";
3
+ } from "./chunk.PNYTGKX5.js";
4
4
 
5
5
  // src/components/plot/plot.ts
6
6
  var plot_default = TerraPlot;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraSpatialPicker
3
- } from "./chunk.CUGOTRF4.js";
3
+ } from "./chunk.2TPQ7A7J.js";
4
4
 
5
5
  // src/react/spatial-picker/index.ts
6
6
  import * as React from "react";
@@ -1,23 +1,23 @@
1
+ import {
2
+ loader_default
3
+ } from "./chunk.UKQCOWLU.js";
1
4
  import {
2
5
  login_styles_default
3
6
  } from "./chunk.5P7TDN4M.js";
4
- import {
5
- loader_default
6
- } from "./chunk.JE2FCOKF.js";
7
7
  import {
8
8
  icon_default
9
- } from "./chunk.XR376PMT.js";
9
+ } from "./chunk.HDUTNK76.js";
10
+ import {
11
+ button_default
12
+ } from "./chunk.PYENVYVD.js";
10
13
  import {
11
14
  e,
12
15
  n
13
- } from "./chunk.2XCNCXGV.js";
14
- import {
15
- button_default
16
- } from "./chunk.NCUMG4CT.js";
16
+ } from "./chunk.262RZKG2.js";
17
17
  import {
18
18
  TerraElement,
19
19
  component_styles_default
20
- } from "./chunk.6LGRNEZ7.js";
20
+ } from "./chunk.FS3ZYOYJ.js";
21
21
  import {
22
22
  h
23
23
  } from "./chunk.UGTZ22DI.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraDateRangeSlider
3
- } from "./chunk.WA7VSQ63.js";
3
+ } from "./chunk.25HVLP5F.js";
4
4
 
5
5
  // src/components/date-range-slider/date-range-slider.ts
6
6
  var date_range_slider_default = TerraDateRangeSlider;