@nasa-terra/components 0.0.137 → 0.0.139

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 (1236) hide show
  1. package/cdn/chunks/chunk.2B6TL25H.js +19 -0
  2. package/cdn/chunks/chunk.2FIXNDLC.js +251 -0
  3. package/cdn/chunks/chunk.2JCOSZFR.js +904 -0
  4. package/cdn/chunks/chunk.2MHHVQSB.js +29 -0
  5. package/cdn/chunks/chunk.33ULU7GO.js +491 -0
  6. package/cdn/chunks/chunk.345AQZWM.js +19 -0
  7. package/cdn/chunks/chunk.34RZT4O6.js +29 -0
  8. package/cdn/chunks/chunk.3FBMVJTN.js +29 -0
  9. package/cdn/chunks/chunk.3JDGYF5R.js +36 -0
  10. package/cdn/chunks/chunk.3JUFEPIK.js +29 -0
  11. package/cdn/chunks/chunk.3KHAS7JP.js +19 -0
  12. package/cdn/chunks/chunk.3L5XNF4T.js +234 -0
  13. package/cdn/chunks/chunk.4B6VMFFW.js +19 -0
  14. package/cdn/chunks/chunk.4CH5UZQH.js +19 -0
  15. package/cdn/chunks/chunk.4CPFXOHY.js +19 -0
  16. package/cdn/chunks/chunk.4LE5R3PR.js +29 -0
  17. package/cdn/chunks/chunk.4N2A5YBK.js +472 -0
  18. package/cdn/chunks/chunk.4UFYI2TK.js +10718 -0
  19. package/cdn/chunks/chunk.5A3HYRPD.js +224 -0
  20. package/cdn/chunks/chunk.5BGHAY2N.js +35 -0
  21. package/cdn/chunks/chunk.5EJ2BIR7.js +32 -0
  22. package/cdn/chunks/chunk.5K7UOJJ2.js +32 -0
  23. package/cdn/chunks/chunk.5NWMRQKE.js +32 -0
  24. package/cdn/chunks/chunk.5SZU56B7.js +19 -0
  25. package/cdn/chunks/chunk.5ULQ5ZPE.js +19 -0
  26. package/cdn/chunks/chunk.5XFTJ654.js +132 -0
  27. package/cdn/chunks/chunk.6KNI6BO4.js +29 -0
  28. package/cdn/chunks/chunk.6LSZVT44.js +32 -0
  29. package/cdn/chunks/chunk.6P475YE7.js +32 -0
  30. package/cdn/chunks/chunk.6TK5NIXR.js +538 -0
  31. package/cdn/chunks/chunk.6VCBC23Q.js +19 -0
  32. package/cdn/chunks/chunk.6YF3W7LT.js +19 -0
  33. package/cdn/chunks/chunk.6YOCEYSK.js +32 -0
  34. package/cdn/chunks/chunk.77TXG6FM.js +188 -0
  35. package/cdn/chunks/chunk.7NFYZMNG.js +19 -0
  36. package/cdn/chunks/chunk.7PZGJRJ4.js +264 -0
  37. package/cdn/chunks/chunk.7RCNCS4U.js +198 -0
  38. package/cdn/chunks/chunk.A3HR5UMX.js +19 -0
  39. package/cdn/chunks/chunk.A44ASB2E.js +19 -0
  40. package/cdn/chunks/chunk.AHOS6VUF.js +155 -0
  41. package/cdn/chunks/chunk.AJW5O45L.js +29 -0
  42. package/cdn/chunks/chunk.APDRZBCN.js +34 -0
  43. package/cdn/chunks/chunk.AT7GXBD2.js +19 -0
  44. package/cdn/chunks/chunk.B7436PBE.js +99 -0
  45. package/cdn/chunks/chunk.BAXXFOKW.js +29 -0
  46. package/cdn/chunks/chunk.BEQD5VET.js +477 -0
  47. package/cdn/chunks/chunk.BGEG3ILU.js +19 -0
  48. package/cdn/chunks/chunk.BIL4QU4I.js +158 -0
  49. package/cdn/chunks/chunk.BKJBB7P6.js +19 -0
  50. package/cdn/chunks/chunk.BRFX2VMD.js +86 -0
  51. package/cdn/chunks/chunk.C2NSEJUB.js +29 -0
  52. package/cdn/chunks/chunk.C2OZB7DE.js +19 -0
  53. package/cdn/chunks/chunk.C5HGW4V2.js +276 -0
  54. package/cdn/chunks/chunk.C5XMJ6GC.js +309 -0
  55. package/cdn/chunks/chunk.C6LHPBOI.js +1966 -0
  56. package/cdn/chunks/chunk.CA7RFX6N.js +359 -0
  57. package/cdn/chunks/chunk.CGX2AIUE.js +29 -0
  58. package/cdn/chunks/chunk.CI2GQALQ.js +78 -0
  59. package/cdn/chunks/chunk.CQ424ME5.js +2073 -0
  60. package/cdn/chunks/chunk.CV5XFSGK.js +19 -0
  61. package/cdn/chunks/chunk.D5R3LEZU.js +49 -0
  62. package/cdn/chunks/chunk.D6CMNUDX.js +954 -0
  63. package/cdn/chunks/chunk.D6L5MXGZ.js +37 -0
  64. package/cdn/chunks/chunk.DAQXODMO.js +19 -0
  65. package/cdn/chunks/chunk.DCLC7OGT.js +29 -0
  66. package/cdn/chunks/chunk.DHNU3YDL.js +19 -0
  67. package/cdn/chunks/chunk.DJYUXTUP.js +1803 -0
  68. package/cdn/chunks/chunk.DLPRJG7W.js +32 -0
  69. package/cdn/chunks/chunk.DNWNXGQY.js +19 -0
  70. package/cdn/chunks/chunk.DYMNEARK.js +29 -0
  71. package/cdn/chunks/chunk.E3W5BATW.js +60 -0
  72. package/cdn/chunks/chunk.E6OTJQA2.js +615 -0
  73. package/cdn/chunks/chunk.EEL5QODT.js +41 -0
  74. package/cdn/chunks/chunk.EHOIWBWJ.js +302 -0
  75. package/cdn/chunks/chunk.EI2XTC4O.js +278 -0
  76. package/cdn/chunks/chunk.EQZREVVY.js +29 -0
  77. package/cdn/chunks/chunk.EVBUT74B.js +19 -0
  78. package/cdn/chunks/chunk.FBI2TYXB.js +19 -0
  79. package/cdn/chunks/chunk.FG2ISGVU.js +660 -0
  80. package/cdn/chunks/chunk.FLUN2UKH.js +372 -0
  81. package/cdn/chunks/chunk.FTQ5KMTQ.js +151 -0
  82. package/cdn/chunks/chunk.FU6DSPVY.js +657 -0
  83. package/cdn/chunks/chunk.G5YHIN6F.js +104 -0
  84. package/cdn/chunks/chunk.GDJPXXU2.js +286 -0
  85. package/cdn/chunks/chunk.GIFNSZH6.js +39 -0
  86. package/cdn/chunks/chunk.GJLQFN2E.js +29 -0
  87. package/cdn/chunks/chunk.GKLZDT4V.js +229 -0
  88. package/cdn/chunks/chunk.GR3J7ERT.js +19 -0
  89. package/cdn/chunks/chunk.GZI4VIBC.js +19 -0
  90. package/cdn/chunks/chunk.GZTLYMW7.js +29 -0
  91. package/cdn/chunks/chunk.H3I32IFN.js +19 -0
  92. package/cdn/chunks/chunk.HBVF6X6O.js +29 -0
  93. package/cdn/chunks/chunk.HPVMDHB6.js +19 -0
  94. package/cdn/chunks/chunk.HZR3QQV5.js +19 -0
  95. package/cdn/chunks/chunk.I33GZT57.js +19 -0
  96. package/cdn/chunks/chunk.I3MKG2KR.js +92 -0
  97. package/cdn/chunks/chunk.IDIC52JU.js +19 -0
  98. package/cdn/chunks/chunk.IMOHWICB.js +36 -0
  99. package/cdn/chunks/chunk.IN3SYHXS.js +19 -0
  100. package/cdn/chunks/chunk.ISFWCXRF.js +599 -0
  101. package/cdn/chunks/chunk.IZ3GPCEW.js +33860 -0
  102. package/cdn/chunks/chunk.IZV5Q7KV.js +74 -0
  103. package/cdn/chunks/chunk.J2K53JZV.js +34 -0
  104. package/cdn/chunks/chunk.J75QLCBQ.js +19 -0
  105. package/cdn/chunks/chunk.JAG3QJFT.js +134 -0
  106. package/cdn/chunks/chunk.JD3LSW7U.js +29 -0
  107. package/cdn/chunks/chunk.JGC7PGMS.js +19 -0
  108. package/cdn/chunks/chunk.JHZDDMUY.js +29 -0
  109. package/cdn/chunks/chunk.JLLXBG72.js +19 -0
  110. package/cdn/chunks/chunk.JNZU345Q.js +55346 -0
  111. package/cdn/chunks/chunk.JOH7WPM6.js +19 -0
  112. package/cdn/chunks/chunk.JOP5IKGK.js +29 -0
  113. package/cdn/chunks/chunk.JSLMWT5S.js +19 -0
  114. package/cdn/chunks/chunk.JX5TX7XM.js +524 -0
  115. package/cdn/chunks/chunk.KG6VRPUL.js +610 -0
  116. package/cdn/chunks/chunk.KH7BIODL.js +29 -0
  117. package/cdn/chunks/chunk.KLZ3WTOX.js +19 -0
  118. package/cdn/chunks/chunk.KQC463Q4.js +170 -0
  119. package/cdn/chunks/chunk.LDVBSHNI.js +29 -0
  120. package/cdn/chunks/chunk.LPESW6XC.js +19 -0
  121. package/cdn/chunks/chunk.LS7YQA7Q.js +19 -0
  122. package/cdn/chunks/chunk.LTJFOFDO.js +19 -0
  123. package/cdn/chunks/chunk.LTTBS7JX.js +259 -0
  124. package/cdn/chunks/chunk.LYIM3DGX.js +35 -0
  125. package/cdn/chunks/chunk.M3AZOEG5.js +33 -0
  126. package/cdn/chunks/chunk.MEMDT5D6.js +33 -0
  127. package/cdn/chunks/chunk.N2FBKLVM.js +36 -0
  128. package/cdn/chunks/chunk.NFP4XN3M.js +19 -0
  129. package/cdn/chunks/chunk.NJ37BF2N.js +29 -0
  130. package/cdn/chunks/chunk.NNJTL2WE.js +32 -0
  131. package/cdn/chunks/chunk.NOEET5Z4.js +32 -0
  132. package/cdn/chunks/chunk.NPTP4N36.js +165 -0
  133. package/cdn/chunks/chunk.O2MNTOTN.js +19 -0
  134. package/cdn/chunks/chunk.OD5OVBHN.js +19 -0
  135. package/cdn/chunks/chunk.OFE5O3W5.js +35 -0
  136. package/cdn/chunks/chunk.OLXTWZ2Y.js +19 -0
  137. package/cdn/chunks/chunk.OTPQCBBK.js +36 -0
  138. package/cdn/chunks/chunk.OVEGRLIS.js +19 -0
  139. package/cdn/chunks/chunk.OVTNQSJY.js +29 -0
  140. package/cdn/chunks/chunk.OW4UIENR.js +34 -0
  141. package/cdn/chunks/chunk.OWFXU56I.js +47 -0
  142. package/cdn/chunks/chunk.OZRSX7RA.js +230 -0
  143. package/cdn/chunks/chunk.PKYJISOI.js +67 -0
  144. package/cdn/chunks/chunk.PKYJN5TL.js +132 -0
  145. package/cdn/chunks/chunk.PMXXCLGN.js +99 -0
  146. package/cdn/chunks/chunk.QJG3KXAL.js +754 -0
  147. package/cdn/chunks/chunk.QQQCEJ3P.js +19 -0
  148. package/cdn/chunks/chunk.QTCUUPJT.js +32 -0
  149. package/cdn/chunks/chunk.QTWGHAMX.js +231 -0
  150. package/cdn/chunks/chunk.R62X6UTY.js +71 -0
  151. package/cdn/chunks/chunk.RBI4SUTP.js +29 -0
  152. package/cdn/chunks/chunk.RF5JQS6G.js +19 -0
  153. package/cdn/chunks/chunk.RI2OOOHA.js +35 -0
  154. package/cdn/chunks/chunk.RJDT2HQD.js +943 -0
  155. package/cdn/chunks/chunk.RPTJEEJR.js +19 -0
  156. package/cdn/chunks/chunk.RRWPHI7Y.js +19 -0
  157. package/cdn/chunks/chunk.S4AGLUO5.js +460 -0
  158. package/cdn/chunks/chunk.SACSIPDE.js +93 -0
  159. package/cdn/chunks/chunk.SBOWWLCP.js +29 -0
  160. package/cdn/chunks/chunk.SDD4Y6YW.js +29 -0
  161. package/cdn/chunks/chunk.SF5YSOET.js +621 -0
  162. package/cdn/chunks/chunk.SOGAAP43.js +29 -0
  163. package/cdn/chunks/chunk.T4J7SCOW.js +19 -0
  164. package/cdn/chunks/chunk.T6VYAQOK.js +284 -0
  165. package/cdn/chunks/chunk.T7Y2NRB3.js +19 -0
  166. package/cdn/chunks/chunk.TGEAFYSD.js +32 -0
  167. package/cdn/chunks/chunk.TLGEOSTJ.js +33 -0
  168. package/cdn/chunks/chunk.TRPJ2WOJ.js +60 -0
  169. package/cdn/chunks/chunk.TRRLACND.js +83 -0
  170. package/cdn/chunks/chunk.TTL2D2K3.js +33 -0
  171. package/cdn/chunks/chunk.TTZRS2Z2.js +32 -0
  172. package/cdn/chunks/chunk.TW2COE3D.js +113 -0
  173. package/cdn/chunks/chunk.U4BF3ZWF.js +190 -0
  174. package/cdn/chunks/chunk.UNEVE6A4.js +435 -0
  175. package/cdn/chunks/chunk.UPAWY7GC.js +62 -0
  176. package/cdn/chunks/chunk.UT54KXFP.js +19 -0
  177. package/cdn/chunks/chunk.UTEDJXOP.js +82 -0
  178. package/cdn/chunks/chunk.UUUUK3QA.js +123 -0
  179. package/cdn/chunks/chunk.UXIMEXHC.js +37 -0
  180. package/cdn/chunks/chunk.VIW62643.js +29 -0
  181. package/cdn/chunks/chunk.VM2TQ3LY.js +19 -0
  182. package/cdn/chunks/chunk.VOCQHX7F.js +32 -0
  183. package/cdn/chunks/chunk.VS2VJKT2.js +19 -0
  184. package/cdn/chunks/chunk.WLXVWP7V.js +19 -0
  185. package/cdn/chunks/chunk.WOEBW5PN.js +19 -0
  186. package/cdn/chunks/chunk.WSJODP2O.js +30 -0
  187. package/cdn/chunks/chunk.XQJPYZPB.js +32 -0
  188. package/cdn/chunks/chunk.XTDFLS7Z.js +33 -0
  189. package/cdn/chunks/chunk.XZQ44RGE.js +189 -0
  190. package/cdn/chunks/chunk.YH2RHLYO.js +19 -0
  191. package/cdn/chunks/chunk.YHFXH4XR.js +19 -0
  192. package/cdn/chunks/chunk.YID2PD4H.js +83 -0
  193. package/cdn/chunks/chunk.YJL3JAIE.js +19 -0
  194. package/cdn/chunks/chunk.YMBKFE6C.js +19 -0
  195. package/cdn/chunks/chunk.YQ73WBVE.js +29 -0
  196. package/cdn/chunks/chunk.YQF3O4M6.js +240 -0
  197. package/cdn/chunks/chunk.ZDTOKUHN.js +19 -0
  198. package/cdn/chunks/chunk.ZGAJXSLY.js +32 -0
  199. package/cdn/chunks/chunk.ZM3NLLMD.js +357 -0
  200. package/cdn/chunks/chunk.ZVC2TYWY.js +106 -0
  201. package/cdn/components/accordion/accordion.component.js +5 -5
  202. package/cdn/components/accordion/accordion.js +6 -6
  203. package/cdn/components/alert/alert.component.js +4 -4
  204. package/cdn/components/alert/alert.js +5 -5
  205. package/cdn/components/avatar/avatar.component.js +5 -5
  206. package/cdn/components/avatar/avatar.js +6 -6
  207. package/cdn/components/badge/badge.component.js +3 -3
  208. package/cdn/components/badge/badge.js +4 -4
  209. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  210. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  211. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  212. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  213. package/cdn/components/browse-variables/browse-variables.component.js +13 -13
  214. package/cdn/components/browse-variables/browse-variables.js +14 -14
  215. package/cdn/components/button/button.component.d.ts +6 -0
  216. package/cdn/components/button/button.component.js +6 -6
  217. package/cdn/components/button/button.js +7 -7
  218. package/cdn/components/button-group/button-group.component.js +2 -2
  219. package/cdn/components/button-group/button-group.js +3 -3
  220. package/cdn/components/caption/caption.component.js +2 -2
  221. package/cdn/components/caption/caption.js +3 -3
  222. package/cdn/components/card/card.component.js +2 -2
  223. package/cdn/components/card/card.js +3 -3
  224. package/cdn/components/checkbox/checkbox.component.js +6 -6
  225. package/cdn/components/checkbox/checkbox.js +7 -7
  226. package/cdn/components/chip/chip.component.d.ts +2 -0
  227. package/cdn/components/chip/chip.component.js +2 -2
  228. package/cdn/components/chip/chip.js +3 -3
  229. package/cdn/components/combobox/combobox.component.js +3 -3
  230. package/cdn/components/combobox/combobox.js +4 -4
  231. package/cdn/components/data-access/data-access.component.d.ts +3 -1
  232. package/cdn/components/data-access/data-access.component.js +27 -26
  233. package/cdn/components/data-access/data-access.controller.d.ts +8 -0
  234. package/cdn/components/data-access/data-access.controller.js +1 -1
  235. package/cdn/components/data-access/data-access.js +28 -27
  236. package/cdn/components/data-access/data-access.styles.js +1 -1
  237. package/cdn/components/data-access/notebooks/data-access-notebook.js +3 -77
  238. package/cdn/components/data-grid/data-grid.component.js +3 -3
  239. package/cdn/components/data-grid/data-grid.js +4 -4
  240. package/cdn/components/data-rods/data-rods.component.js +35 -35
  241. package/cdn/components/data-rods/data-rods.js +36 -36
  242. package/cdn/components/data-subsetter/data-subsetter.component.js +39 -38
  243. package/cdn/components/data-subsetter/data-subsetter.controller.js +1 -1
  244. package/cdn/components/data-subsetter/data-subsetter.js +40 -39
  245. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  246. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +40 -39
  247. package/cdn/components/data-subsetter-history/data-subsetter-history.js +41 -40
  248. package/cdn/components/date-picker/date-picker.component.js +11 -11
  249. package/cdn/components/date-picker/date-picker.js +12 -12
  250. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  251. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  252. package/cdn/components/dialog/dialog.component.js +8 -8
  253. package/cdn/components/dialog/dialog.js +9 -9
  254. package/cdn/components/divider/divider.component.js +2 -2
  255. package/cdn/components/divider/divider.js +3 -3
  256. package/cdn/components/dropdown/dropdown.component.js +4 -4
  257. package/cdn/components/dropdown/dropdown.js +5 -5
  258. package/cdn/components/earthdata-login/earthdata-login.component.js +13 -13
  259. package/cdn/components/earthdata-login/earthdata-login.js +14 -14
  260. package/cdn/components/file-upload/file-upload.component.js +2 -2
  261. package/cdn/components/file-upload/file-upload.js +3 -3
  262. package/cdn/components/icon/icon.component.js +4 -4
  263. package/cdn/components/icon/icon.js +5 -5
  264. package/cdn/components/input/input.component.js +6 -6
  265. package/cdn/components/input/input.js +7 -7
  266. package/cdn/components/loader/loader.component.js +2 -2
  267. package/cdn/components/loader/loader.js +3 -3
  268. package/cdn/components/login/login.component.js +11 -11
  269. package/cdn/components/login/login.js +12 -12
  270. package/cdn/components/map/leaflet-utils.d.ts +1 -0
  271. package/cdn/components/map/leaflet-utils.js +1 -1
  272. package/cdn/components/map/map.component.d.ts +4 -0
  273. package/cdn/components/map/map.component.js +5 -5
  274. package/cdn/components/map/map.js +6 -6
  275. package/cdn/components/menu/menu.component.js +2 -2
  276. package/cdn/components/menu/menu.js +3 -3
  277. package/cdn/components/menu-item/menu-item.component.js +8 -8
  278. package/cdn/components/menu-item/menu-item.js +9 -9
  279. package/cdn/components/menu-item/submenu-controller.js +1 -1
  280. package/cdn/components/option/option.component.js +5 -5
  281. package/cdn/components/option/option.js +6 -6
  282. package/cdn/components/pagination/pagination.component.js +5 -5
  283. package/cdn/components/pagination/pagination.js +6 -6
  284. package/cdn/components/plot/plot.component.js +3 -3
  285. package/cdn/components/plot/plot.js +4 -4
  286. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  287. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  288. package/cdn/components/plot-toolbar/plot-toolbar.component.js +13 -13
  289. package/cdn/components/plot-toolbar/plot-toolbar.js +14 -14
  290. package/cdn/components/popup/popup.component.js +2 -2
  291. package/cdn/components/popup/popup.js +3 -3
  292. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  293. package/cdn/components/progress-bar/progress-bar.js +3 -3
  294. package/cdn/components/radio/radio.component.js +3 -3
  295. package/cdn/components/radio/radio.js +4 -4
  296. package/cdn/components/radio-group/radio-group.component.js +3 -3
  297. package/cdn/components/radio-group/radio-group.js +4 -4
  298. package/cdn/components/scroll-hint/scroll-hint.component.js +5 -5
  299. package/cdn/components/scroll-hint/scroll-hint.js +6 -6
  300. package/cdn/components/select/select.component.js +9 -9
  301. package/cdn/components/select/select.js +10 -10
  302. package/cdn/components/site-header/site-header.component.js +6 -6
  303. package/cdn/components/site-header/site-header.js +6 -6
  304. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  305. package/cdn/components/site-navigation/site-navigation.js +2 -2
  306. package/cdn/components/skeleton/skeleton.component.js +2 -2
  307. package/cdn/components/skeleton/skeleton.js +3 -3
  308. package/cdn/components/slider/slider.component.js +2 -2
  309. package/cdn/components/slider/slider.js +3 -3
  310. package/cdn/components/spatial-picker/spatial-picker.component.d.ts +4 -0
  311. package/cdn/components/spatial-picker/spatial-picker.component.js +13 -13
  312. package/cdn/components/spatial-picker/spatial-picker.js +14 -14
  313. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  314. package/cdn/components/status-indicator/status-indicator.js +3 -3
  315. package/cdn/components/stepper/stepper.component.js +2 -2
  316. package/cdn/components/stepper/stepper.js +3 -3
  317. package/cdn/components/stepper-step/stepper-step.component.js +5 -5
  318. package/cdn/components/stepper-step/stepper-step.js +6 -6
  319. package/cdn/components/tab/tab.component.js +5 -5
  320. package/cdn/components/tab/tab.js +6 -6
  321. package/cdn/components/tab-panel/tab-panel.component.js +3 -3
  322. package/cdn/components/tab-panel/tab-panel.js +4 -4
  323. package/cdn/components/tabs/tabs.component.js +5 -5
  324. package/cdn/components/tabs/tabs.js +6 -6
  325. package/cdn/components/tag/tag.component.js +5 -5
  326. package/cdn/components/tag/tag.js +6 -6
  327. package/cdn/components/textarea/textarea.component.js +4 -4
  328. package/cdn/components/textarea/textarea.js +5 -5
  329. package/cdn/components/time-average-map/time-average-map.component.js +21 -21
  330. package/cdn/components/time-average-map/time-average-map.controller.js +2 -2
  331. package/cdn/components/time-average-map/time-average-map.js +22 -22
  332. package/cdn/components/time-series/time-series.component.js +22 -22
  333. package/cdn/components/time-series/time-series.controller.js +2 -2
  334. package/cdn/components/time-series/time-series.js +23 -23
  335. package/cdn/components/toast/toast.component.js +5 -5
  336. package/cdn/components/toast/toast.js +6 -6
  337. package/cdn/components/toggle/toggle.component.js +4 -4
  338. package/cdn/components/toggle/toggle.js +5 -5
  339. package/cdn/components/tooltip/tooltip.component.js +4 -4
  340. package/cdn/components/tooltip/tooltip.js +5 -5
  341. package/cdn/components/variable-combobox/variable-combobox.component.js +10 -10
  342. package/cdn/components/variable-combobox/variable-combobox.js +11 -11
  343. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +10 -10
  344. package/cdn/components/variable-keyword-search/variable-keyword-search.js +11 -11
  345. package/cdn/custom-elements.json +4170 -4065
  346. package/cdn/react/accordion/index.js +6 -6
  347. package/cdn/react/alert/index.js +5 -5
  348. package/cdn/react/avatar/index.js +6 -6
  349. package/cdn/react/badge/index.js +4 -4
  350. package/cdn/react/breadcrumb/index.js +3 -3
  351. package/cdn/react/breadcrumbs/index.js +3 -3
  352. package/cdn/react/browse-variables/index.js +14 -14
  353. package/cdn/react/button/index.d.ts +12 -1
  354. package/cdn/react/button/index.js +7 -7
  355. package/cdn/react/button-group/index.js +3 -3
  356. package/cdn/react/caption/index.js +3 -3
  357. package/cdn/react/card/index.js +3 -3
  358. package/cdn/react/checkbox/index.js +7 -7
  359. package/cdn/react/chip/index.d.ts +8 -1
  360. package/cdn/react/chip/index.js +3 -3
  361. package/cdn/react/combobox/index.js +4 -4
  362. package/cdn/react/data-access/index.js +28 -27
  363. package/cdn/react/data-grid/index.js +4 -4
  364. package/cdn/react/data-rods/index.js +36 -36
  365. package/cdn/react/data-subsetter/index.js +40 -39
  366. package/cdn/react/data-subsetter-history/index.js +41 -40
  367. package/cdn/react/date-picker/index.js +12 -12
  368. package/cdn/react/date-range-slider/index.js +3 -3
  369. package/cdn/react/dialog/index.js +9 -9
  370. package/cdn/react/divider/index.js +3 -3
  371. package/cdn/react/dropdown/index.js +5 -5
  372. package/cdn/react/earthdata-login/index.js +14 -14
  373. package/cdn/react/file-upload/index.js +3 -3
  374. package/cdn/react/icon/index.js +5 -5
  375. package/cdn/react/index.d.ts +11 -11
  376. package/cdn/react/index.js +200 -199
  377. package/cdn/react/input/index.js +7 -7
  378. package/cdn/react/loader/index.js +3 -3
  379. package/cdn/react/login/index.js +12 -12
  380. package/cdn/react/map/index.js +6 -6
  381. package/cdn/react/menu/index.js +3 -3
  382. package/cdn/react/menu-item/index.js +9 -9
  383. package/cdn/react/option/index.js +6 -6
  384. package/cdn/react/pagination/index.js +6 -6
  385. package/cdn/react/plot/index.js +4 -4
  386. package/cdn/react/plot-toolbar/index.js +14 -14
  387. package/cdn/react/popup/index.js +3 -3
  388. package/cdn/react/progress-bar/index.js +3 -3
  389. package/cdn/react/radio/index.js +4 -4
  390. package/cdn/react/radio-group/index.js +4 -4
  391. package/cdn/react/scroll-hint/index.js +6 -6
  392. package/cdn/react/select/index.js +10 -10
  393. package/cdn/react/site-header/index.js +7 -7
  394. package/cdn/react/site-navigation/index.js +3 -3
  395. package/cdn/react/skeleton/index.js +3 -3
  396. package/cdn/react/slider/index.js +3 -3
  397. package/cdn/react/spatial-picker/index.js +14 -14
  398. package/cdn/react/status-indicator/index.js +3 -3
  399. package/cdn/react/stepper/index.js +3 -3
  400. package/cdn/react/stepper-step/index.js +6 -6
  401. package/cdn/react/tab/index.js +6 -6
  402. package/cdn/react/tab-panel/index.js +4 -4
  403. package/cdn/react/tabs/index.js +6 -6
  404. package/cdn/react/tag/index.js +6 -6
  405. package/cdn/react/textarea/index.js +5 -5
  406. package/cdn/react/time-average-map/index.js +22 -22
  407. package/cdn/react/time-series/index.js +23 -23
  408. package/cdn/react/toast/index.js +6 -6
  409. package/cdn/react/toggle/index.js +5 -5
  410. package/cdn/react/tooltip/index.js +5 -5
  411. package/cdn/react/variable-combobox/index.js +11 -11
  412. package/cdn/react/variable-keyword-search/index.js +11 -11
  413. package/cdn/terra-ui-components.js +192 -191
  414. package/cdn/types/vue/index.d.ts +541 -521
  415. package/cdn/utilities/mimetypes.js +1 -1
  416. package/cdn/vscode.html-custom-data.json +419 -404
  417. package/cdn/web-types.json +1120 -1062
  418. package/dist/chunks/chunk.23NLQYJ7.js +11 -0
  419. package/dist/chunks/chunk.2HXEBKDJ.js +11 -0
  420. package/dist/chunks/chunk.2TL5SGLD.js +11 -0
  421. package/dist/chunks/chunk.2VDXL62K.js +11 -0
  422. package/dist/chunks/chunk.2VHPJYJX.js +11 -0
  423. package/dist/chunks/chunk.3247IXNN.js +11 -0
  424. package/dist/chunks/chunk.3CINJNOA.js +24 -0
  425. package/dist/chunks/chunk.3GYL6ORG.js +21 -0
  426. package/dist/chunks/chunk.3ONUIWXV.js +29 -0
  427. package/dist/chunks/chunk.3QWCR7W7.js +24 -0
  428. package/dist/chunks/chunk.3SE6ZIME.js +11 -0
  429. package/dist/chunks/chunk.3UO4BPIZ.js +11 -0
  430. package/dist/chunks/chunk.3XFQA2XA.js +11 -0
  431. package/dist/chunks/chunk.45MY2TZ5.js +93 -0
  432. package/dist/chunks/chunk.47EHCMIS.js +11 -0
  433. package/dist/chunks/chunk.4IT7UTHS.js +21 -0
  434. package/dist/chunks/chunk.4JDUHDVS.js +525 -0
  435. package/dist/chunks/chunk.4WIFFN7U.js +89 -0
  436. package/dist/chunks/chunk.5CQ3UBKW.js +21 -0
  437. package/dist/chunks/chunk.5K55E6UH.js +25 -0
  438. package/dist/chunks/chunk.5KYQIBJW.js +11 -0
  439. package/dist/chunks/chunk.5OE6LILN.js +844 -0
  440. package/dist/chunks/chunk.5RCWRDS6.js +642 -0
  441. package/dist/chunks/chunk.65RMIPXH.js +21 -0
  442. package/dist/chunks/chunk.6E2CQRCE.js +291 -0
  443. package/dist/chunks/chunk.6FWNBIFP.js +21 -0
  444. package/dist/chunks/chunk.6JNRKHB4.js +25 -0
  445. package/dist/chunks/chunk.6L37ZKYY.js +28 -0
  446. package/dist/chunks/chunk.6TFGD3QA.js +180 -0
  447. package/dist/chunks/chunk.74BMSBNF.js +11 -0
  448. package/dist/chunks/chunk.7BLY6TM7.js +11 -0
  449. package/dist/chunks/chunk.7BOCHV2R.js +21 -0
  450. package/dist/chunks/chunk.7QALYCE5.js +11 -0
  451. package/dist/chunks/chunk.7VBFJCK4.js +21 -0
  452. package/dist/chunks/chunk.7WF6TPF6.js +11 -0
  453. package/dist/chunks/chunk.A56NOSXD.js +443 -0
  454. package/dist/chunks/chunk.ATQZRLHV.js +21 -0
  455. package/dist/chunks/chunk.AYGU6XYF.js +11 -0
  456. package/dist/chunks/chunk.B3DZ7FFL.js +271 -0
  457. package/dist/chunks/chunk.B5CILBXM.js +11 -0
  458. package/dist/chunks/chunk.B75DWB3E.js +21 -0
  459. package/dist/chunks/chunk.BH2KP7PZ.js +24 -0
  460. package/dist/chunks/chunk.BRJ7H3TE.js +25 -0
  461. package/dist/chunks/chunk.BRSGX5AM.js +11 -0
  462. package/dist/chunks/chunk.BSUXEC3M.js +143 -0
  463. package/dist/chunks/chunk.D2NEYV7K.js +262 -0
  464. package/dist/chunks/chunk.D2WXN4BG.js +11 -0
  465. package/dist/chunks/chunk.D5M6M4QG.js +11 -0
  466. package/dist/chunks/chunk.D67GQK4P.js +11 -0
  467. package/dist/chunks/chunk.D7UB7ALS.js +31 -0
  468. package/dist/chunks/chunk.DEO7CUOC.js +86 -0
  469. package/dist/chunks/chunk.DGI2HS6F.js +24 -0
  470. package/dist/chunks/chunk.DLLWR2VD.js +11 -0
  471. package/dist/chunks/chunk.DM52LQTY.js +11 -0
  472. package/dist/chunks/chunk.DQZBUH37.js +345 -0
  473. package/dist/chunks/chunk.DRBSI7XC.js +24 -0
  474. package/dist/chunks/chunk.DRS2JY44.js +67 -0
  475. package/dist/chunks/chunk.DZHKU3N5.js +245 -0
  476. package/dist/chunks/chunk.EIND5KV5.js +733 -0
  477. package/dist/chunks/chunk.EOUABBGI.js +123 -0
  478. package/dist/chunks/chunk.ESLNXPTJ.js +21 -0
  479. package/dist/chunks/chunk.EVTNY6AO.js +153 -0
  480. package/dist/chunks/chunk.FCVMQBC6.js +927 -0
  481. package/dist/chunks/chunk.FEL4RVQO.js +11 -0
  482. package/dist/chunks/chunk.FEORSNUI.js +220 -0
  483. package/dist/chunks/chunk.FGTNTIOR.js +21 -0
  484. package/dist/chunks/chunk.FIT2RVBA.js +180 -0
  485. package/dist/chunks/chunk.FLBPWUOX.js +11 -0
  486. package/dist/chunks/chunk.FLJ2EW3R.js +11 -0
  487. package/dist/chunks/chunk.FM6RMNPW.js +29 -0
  488. package/dist/chunks/chunk.FP2ZZ5E2.js +28 -0
  489. package/dist/chunks/chunk.FRFLTGR4.js +24 -0
  490. package/dist/chunks/chunk.FSKG5KRG.js +20 -0
  491. package/dist/chunks/chunk.GA27DR2B.js +220 -0
  492. package/dist/chunks/chunk.GHURD4CJ.js +11 -0
  493. package/dist/chunks/chunk.GSU5W4TG.js +1788 -0
  494. package/dist/chunks/chunk.HAQWUOM4.js +75 -0
  495. package/dist/chunks/chunk.HFFC7CSH.js +61 -0
  496. package/dist/chunks/chunk.HQVGLVRZ.js +52 -0
  497. package/dist/chunks/chunk.HRIOFO3J.js +25 -0
  498. package/dist/chunks/chunk.HT2SR5A4.js +21 -0
  499. package/dist/chunks/chunk.HV6RS7ZE.js +11 -0
  500. package/dist/chunks/chunk.HW7S6WES.js +11 -0
  501. package/dist/chunks/chunk.HXDEAUF3.js +11 -0
  502. package/dist/chunks/chunk.IACKHKNK.js +39 -0
  503. package/dist/chunks/chunk.ICKWGKAA.js +24 -0
  504. package/dist/chunks/chunk.IDSPFGMF.js +24 -0
  505. package/dist/chunks/chunk.IEWMER6A.js +27 -0
  506. package/dist/chunks/chunk.IG5E3PNG.js +145 -0
  507. package/dist/chunks/chunk.ILC2ULOI.js +91 -0
  508. package/dist/chunks/chunk.J22KHIHT.js +11 -0
  509. package/dist/chunks/chunk.J543UX5E.js +11 -0
  510. package/dist/chunks/chunk.JBAD2K7T.js +21 -0
  511. package/dist/chunks/chunk.JLZUVFCE.js +287 -0
  512. package/dist/chunks/chunk.JTBVF4U6.js +422 -0
  513. package/dist/chunks/chunk.K2SZX5IG.js +21 -0
  514. package/dist/chunks/chunk.K3AWJBDJ.js +21 -0
  515. package/dist/chunks/chunk.KE3MZQ6G.js +21 -0
  516. package/dist/chunks/chunk.KFBVHRHZ.js +11 -0
  517. package/dist/chunks/chunk.KMFDKQOL.js +83 -0
  518. package/dist/chunks/chunk.LFAE5YNF.js +11 -0
  519. package/dist/chunks/chunk.LFAOPKE4.js +21 -0
  520. package/dist/chunks/chunk.LLHM6XAL.js +11 -0
  521. package/dist/chunks/chunk.LOG6ATWX.js +609 -0
  522. package/dist/chunks/chunk.LOSJS73C.js +48 -0
  523. package/dist/chunks/chunk.LTYKZQRC.js +121 -0
  524. package/dist/chunks/chunk.LUHKHMDR.js +11 -0
  525. package/dist/chunks/chunk.LVEVEN6X.js +11 -0
  526. package/dist/chunks/chunk.M5JKEDTX.js +24 -0
  527. package/dist/chunks/chunk.MILX66GG.js +25 -0
  528. package/dist/chunks/chunk.MJAA2EKQ.js +214 -0
  529. package/dist/chunks/chunk.MJQNLZIJ.js +57 -0
  530. package/dist/chunks/chunk.MOVS4YNJ.js +24 -0
  531. package/dist/chunks/chunk.MU56K6DK.js +24 -0
  532. package/dist/chunks/chunk.MYBSXZHT.js +278 -0
  533. package/dist/chunks/chunk.N44PPT5L.js +74 -0
  534. package/dist/chunks/chunk.N7PWSHBL.js +24 -0
  535. package/dist/chunks/chunk.NAZZYKXP.js +11 -0
  536. package/dist/chunks/chunk.NDFKP43K.js +52 -0
  537. package/dist/chunks/chunk.NFRQWBWE.js +78 -0
  538. package/dist/chunks/chunk.NO5K5I44.js +27 -0
  539. package/dist/chunks/chunk.NP4VI55C.js +21 -0
  540. package/dist/chunks/chunk.NSUXBNRY.js +1124 -0
  541. package/dist/chunks/chunk.NYSYEO6S.js +477 -0
  542. package/dist/chunks/chunk.OKITA6RN.js +43 -0
  543. package/dist/chunks/chunk.ONVJYGXW.js +112 -0
  544. package/dist/chunks/chunk.OOZ35KRV.js +458 -0
  545. package/dist/chunks/chunk.OQMU445F.js +229 -0
  546. package/dist/chunks/chunk.PNYCPGP6.js +21 -0
  547. package/dist/chunks/chunk.PWY2KP3Q.js +581 -0
  548. package/dist/chunks/chunk.QFGNVANU.js +345 -0
  549. package/dist/chunks/chunk.QKEGFJMV.js +11 -0
  550. package/dist/chunks/chunk.QKFXTGWF.js +11 -0
  551. package/dist/chunks/chunk.QQEZTSC7.js +24 -0
  552. package/dist/chunks/chunk.QROD7XSA.js +21 -0
  553. package/dist/chunks/chunk.QWM7TR7V.js +11 -0
  554. package/dist/chunks/chunk.QWW2BYOP.js +21 -0
  555. package/dist/chunks/chunk.R45WTHZT.js +11 -0
  556. package/dist/chunks/chunk.R4VDG6AK.js +446 -0
  557. package/dist/chunks/chunk.R7XNQ3UF.js +11 -0
  558. package/dist/chunks/chunk.RE75I24N.js +11 -0
  559. package/dist/chunks/chunk.RI2R4X2H.js +11 -0
  560. package/dist/chunks/chunk.RKNRGTZP.js +27 -0
  561. package/dist/chunks/chunk.RKYRE5YW.js +64 -0
  562. package/dist/chunks/chunk.RMC5XGJR.js +937 -0
  563. package/dist/chunks/chunk.RNCN4M47.js +26 -0
  564. package/dist/chunks/chunk.RQ27EUVN.js +190 -0
  565. package/dist/chunks/chunk.RQLZOB4O.js +214 -0
  566. package/dist/chunks/chunk.S4FQNSDY.js +11 -0
  567. package/dist/chunks/chunk.S4RYPA4R.js +24 -0
  568. package/dist/chunks/chunk.S5DYKI6G.js +11 -0
  569. package/dist/chunks/chunk.S7FJE6DS.js +97 -0
  570. package/dist/chunks/chunk.SA6GMLYJ.js +11 -0
  571. package/dist/chunks/chunk.SD3BVNB4.js +11 -0
  572. package/dist/chunks/chunk.SVXJ6IWX.js +21 -0
  573. package/dist/chunks/chunk.T255GJVN.js +213 -0
  574. package/dist/chunks/chunk.T2UA4I4O.js +472 -0
  575. package/dist/chunks/chunk.TCOLWI6Z.js +21 -0
  576. package/dist/chunks/chunk.TD4HMCFI.js +21 -0
  577. package/dist/chunks/chunk.TPZRD4LL.js +11 -0
  578. package/dist/chunks/chunk.TQRJHVPX.js +27 -0
  579. package/dist/chunks/chunk.TRCVXOB3.js +25 -0
  580. package/dist/chunks/chunk.TRZ24D6C.js +28 -0
  581. package/dist/chunks/chunk.TU3Z4DM7.js +21 -0
  582. package/dist/chunks/chunk.U3XIKOX7.js +73 -0
  583. package/dist/chunks/chunk.UAQROBYW.js +21 -0
  584. package/dist/chunks/chunk.UGI4WX6F.js +11 -0
  585. package/dist/chunks/chunk.ULZ5HNOZ.js +11 -0
  586. package/dist/chunks/chunk.V2TFKPNC.js +449 -0
  587. package/dist/chunks/chunk.VPDGNTFF.js +11 -0
  588. package/dist/chunks/chunk.VPYT2IYR.js +11 -0
  589. package/dist/chunks/chunk.VQDCH34V.js +85 -0
  590. package/dist/chunks/chunk.VVCGM4BW.js +21 -0
  591. package/dist/chunks/chunk.VVQDHS65.js +2062 -0
  592. package/dist/chunks/chunk.W6TNURMD.js +24 -0
  593. package/dist/chunks/chunk.WIYDJCKH.js +11 -0
  594. package/dist/chunks/chunk.WP3THC5K.js +591 -0
  595. package/dist/chunks/chunk.WPKMKO7L.js +596 -0
  596. package/dist/chunks/chunk.WRZTYDD7.js +101 -0
  597. package/dist/chunks/chunk.X4LEFOTK.js +26 -0
  598. package/dist/chunks/chunk.X4T5FEVN.js +409 -0
  599. package/dist/chunks/chunk.X627CJ3G.js +161 -0
  600. package/dist/chunks/chunk.XBO7X2M2.js +11 -0
  601. package/dist/chunks/chunk.XE4T3WTA.js +120 -0
  602. package/dist/chunks/chunk.XJTJGJAK.js +21 -0
  603. package/dist/chunks/chunk.XSFRIUM5.js +355 -0
  604. package/dist/chunks/chunk.XWO3K7ZZ.js +11 -0
  605. package/dist/chunks/chunk.YS3LXZOQ.js +11 -0
  606. package/dist/chunks/chunk.YX54YA5F.js +247 -0
  607. package/dist/chunks/chunk.Z2UUIIRV.js +11 -0
  608. package/dist/chunks/chunk.Z35NQ7A7.js +33 -0
  609. package/dist/chunks/chunk.Z4UDKTEF.js +11 -0
  610. package/dist/chunks/chunk.Z6G2TOJC.js +241 -0
  611. package/dist/chunks/chunk.ZD56437X.js +180 -0
  612. package/dist/chunks/chunk.ZDZUNTE2.js +28 -0
  613. package/dist/chunks/chunk.ZIVBHHJU.js +21 -0
  614. package/dist/chunks/chunk.ZLAXCM2J.js +61 -0
  615. package/dist/chunks/chunk.ZP2DB3XG.js +264 -0
  616. package/dist/chunks/chunk.ZPH3RFHS.js +252 -0
  617. package/dist/chunks/chunk.ZXLL6LDL.js +11 -0
  618. package/dist/components/accordion/accordion.component.js +5 -5
  619. package/dist/components/accordion/accordion.js +6 -6
  620. package/dist/components/alert/alert.component.js +3 -3
  621. package/dist/components/alert/alert.js +4 -4
  622. package/dist/components/avatar/avatar.component.js +5 -5
  623. package/dist/components/avatar/avatar.js +6 -6
  624. package/dist/components/badge/badge.component.js +3 -3
  625. package/dist/components/badge/badge.js +4 -4
  626. package/dist/components/breadcrumb/breadcrumb.component.js +2 -2
  627. package/dist/components/breadcrumb/breadcrumb.js +3 -3
  628. package/dist/components/breadcrumbs/breadcrumbs.component.js +2 -2
  629. package/dist/components/breadcrumbs/breadcrumbs.js +3 -3
  630. package/dist/components/browse-variables/browse-variables.component.js +13 -13
  631. package/dist/components/browse-variables/browse-variables.js +14 -14
  632. package/dist/components/button/button.component.d.ts +6 -0
  633. package/dist/components/button/button.component.js +6 -6
  634. package/dist/components/button/button.js +7 -7
  635. package/dist/components/button-group/button-group.component.js +2 -2
  636. package/dist/components/button-group/button-group.js +3 -3
  637. package/dist/components/caption/caption.component.js +2 -2
  638. package/dist/components/caption/caption.js +3 -3
  639. package/dist/components/card/card.component.js +2 -2
  640. package/dist/components/card/card.js +3 -3
  641. package/dist/components/checkbox/checkbox.component.js +6 -6
  642. package/dist/components/checkbox/checkbox.js +7 -7
  643. package/dist/components/chip/chip.component.d.ts +2 -0
  644. package/dist/components/chip/chip.component.js +2 -2
  645. package/dist/components/chip/chip.js +3 -3
  646. package/dist/components/combobox/combobox.component.js +2 -2
  647. package/dist/components/combobox/combobox.js +3 -3
  648. package/dist/components/data-access/data-access.component.d.ts +3 -1
  649. package/dist/components/data-access/data-access.component.js +26 -25
  650. package/dist/components/data-access/data-access.controller.d.ts +8 -0
  651. package/dist/components/data-access/data-access.controller.js +1 -1
  652. package/dist/components/data-access/data-access.js +27 -26
  653. package/dist/components/data-access/data-access.styles.js +1 -1
  654. package/dist/components/data-access/notebooks/data-access-notebook.js +3 -70
  655. package/dist/components/data-grid/data-grid.component.js +3 -3
  656. package/dist/components/data-grid/data-grid.js +4 -4
  657. package/dist/components/data-rods/data-rods.component.js +34 -34
  658. package/dist/components/data-rods/data-rods.js +35 -35
  659. package/dist/components/data-subsetter/data-subsetter.component.js +38 -37
  660. package/dist/components/data-subsetter/data-subsetter.controller.js +1 -1
  661. package/dist/components/data-subsetter/data-subsetter.js +39 -38
  662. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  663. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +39 -38
  664. package/dist/components/data-subsetter-history/data-subsetter-history.js +40 -39
  665. package/dist/components/date-picker/date-picker.component.js +11 -11
  666. package/dist/components/date-picker/date-picker.js +12 -12
  667. package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
  668. package/dist/components/date-range-slider/date-range-slider.js +3 -3
  669. package/dist/components/dialog/dialog.component.js +8 -8
  670. package/dist/components/dialog/dialog.js +9 -9
  671. package/dist/components/divider/divider.component.js +2 -2
  672. package/dist/components/divider/divider.js +3 -3
  673. package/dist/components/dropdown/dropdown.component.js +3 -3
  674. package/dist/components/dropdown/dropdown.js +4 -4
  675. package/dist/components/earthdata-login/earthdata-login.component.js +13 -13
  676. package/dist/components/earthdata-login/earthdata-login.js +14 -14
  677. package/dist/components/file-upload/file-upload.component.js +2 -2
  678. package/dist/components/file-upload/file-upload.js +3 -3
  679. package/dist/components/icon/icon.component.js +4 -4
  680. package/dist/components/icon/icon.js +5 -5
  681. package/dist/components/input/input.component.js +6 -6
  682. package/dist/components/input/input.js +7 -7
  683. package/dist/components/loader/loader.component.js +2 -2
  684. package/dist/components/loader/loader.js +3 -3
  685. package/dist/components/login/login.component.js +11 -11
  686. package/dist/components/login/login.js +12 -12
  687. package/dist/components/map/leaflet-utils.d.ts +1 -0
  688. package/dist/components/map/leaflet-utils.js +1 -1
  689. package/dist/components/map/map.component.d.ts +4 -0
  690. package/dist/components/map/map.component.js +4 -4
  691. package/dist/components/map/map.js +5 -5
  692. package/dist/components/menu/menu.component.js +2 -2
  693. package/dist/components/menu/menu.js +3 -3
  694. package/dist/components/menu-item/menu-item.component.js +8 -8
  695. package/dist/components/menu-item/menu-item.js +9 -9
  696. package/dist/components/option/option.component.js +5 -5
  697. package/dist/components/option/option.js +6 -6
  698. package/dist/components/pagination/pagination.component.js +5 -5
  699. package/dist/components/pagination/pagination.js +6 -6
  700. package/dist/components/plot/plot.component.js +2 -2
  701. package/dist/components/plot/plot.js +3 -3
  702. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  703. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  704. package/dist/components/plot-toolbar/plot-toolbar.component.js +13 -13
  705. package/dist/components/plot-toolbar/plot-toolbar.js +14 -14
  706. package/dist/components/popup/popup.component.js +2 -2
  707. package/dist/components/popup/popup.js +3 -3
  708. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  709. package/dist/components/progress-bar/progress-bar.js +3 -3
  710. package/dist/components/radio/radio.component.js +2 -2
  711. package/dist/components/radio/radio.js +3 -3
  712. package/dist/components/radio-group/radio-group.component.js +2 -2
  713. package/dist/components/radio-group/radio-group.js +3 -3
  714. package/dist/components/scroll-hint/scroll-hint.component.js +5 -5
  715. package/dist/components/scroll-hint/scroll-hint.js +6 -6
  716. package/dist/components/select/select.component.js +9 -9
  717. package/dist/components/select/select.js +10 -10
  718. package/dist/components/site-header/site-header.component.js +6 -6
  719. package/dist/components/site-header/site-header.js +6 -6
  720. package/dist/components/site-navigation/site-navigation.component.js +2 -2
  721. package/dist/components/site-navigation/site-navigation.js +2 -2
  722. package/dist/components/skeleton/skeleton.component.js +2 -2
  723. package/dist/components/skeleton/skeleton.js +3 -3
  724. package/dist/components/slider/slider.component.js +2 -2
  725. package/dist/components/slider/slider.js +3 -3
  726. package/dist/components/spatial-picker/spatial-picker.component.d.ts +4 -0
  727. package/dist/components/spatial-picker/spatial-picker.component.js +13 -13
  728. package/dist/components/spatial-picker/spatial-picker.js +14 -14
  729. package/dist/components/status-indicator/status-indicator.component.js +2 -2
  730. package/dist/components/status-indicator/status-indicator.js +3 -3
  731. package/dist/components/stepper/stepper.component.js +2 -2
  732. package/dist/components/stepper/stepper.js +3 -3
  733. package/dist/components/stepper-step/stepper-step.component.js +5 -5
  734. package/dist/components/stepper-step/stepper-step.js +6 -6
  735. package/dist/components/tab/tab.component.js +5 -5
  736. package/dist/components/tab/tab.js +6 -6
  737. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  738. package/dist/components/tab-panel/tab-panel.js +3 -3
  739. package/dist/components/tabs/tabs.component.js +5 -5
  740. package/dist/components/tabs/tabs.js +6 -6
  741. package/dist/components/tag/tag.component.js +5 -5
  742. package/dist/components/tag/tag.js +6 -6
  743. package/dist/components/textarea/textarea.component.js +2 -2
  744. package/dist/components/textarea/textarea.js +3 -3
  745. package/dist/components/time-average-map/time-average-map.component.js +21 -21
  746. package/dist/components/time-average-map/time-average-map.controller.js +2 -2
  747. package/dist/components/time-average-map/time-average-map.js +22 -22
  748. package/dist/components/time-series/time-series.component.js +22 -22
  749. package/dist/components/time-series/time-series.controller.js +2 -2
  750. package/dist/components/time-series/time-series.js +23 -23
  751. package/dist/components/toast/toast.component.js +4 -4
  752. package/dist/components/toast/toast.js +5 -5
  753. package/dist/components/toggle/toggle.component.js +2 -2
  754. package/dist/components/toggle/toggle.js +3 -3
  755. package/dist/components/tooltip/tooltip.component.js +3 -3
  756. package/dist/components/tooltip/tooltip.js +4 -4
  757. package/dist/components/variable-combobox/variable-combobox.component.js +10 -10
  758. package/dist/components/variable-combobox/variable-combobox.js +11 -11
  759. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +10 -10
  760. package/dist/components/variable-keyword-search/variable-keyword-search.js +11 -11
  761. package/dist/custom-elements.json +4170 -4065
  762. package/dist/react/accordion/index.js +6 -6
  763. package/dist/react/alert/index.js +4 -4
  764. package/dist/react/avatar/index.js +6 -6
  765. package/dist/react/badge/index.js +4 -4
  766. package/dist/react/breadcrumb/index.js +3 -3
  767. package/dist/react/breadcrumbs/index.js +3 -3
  768. package/dist/react/browse-variables/index.js +14 -14
  769. package/dist/react/button/index.d.ts +12 -1
  770. package/dist/react/button/index.js +7 -7
  771. package/dist/react/button-group/index.js +3 -3
  772. package/dist/react/caption/index.js +3 -3
  773. package/dist/react/card/index.js +3 -3
  774. package/dist/react/checkbox/index.js +7 -7
  775. package/dist/react/chip/index.d.ts +8 -1
  776. package/dist/react/chip/index.js +3 -3
  777. package/dist/react/combobox/index.js +3 -3
  778. package/dist/react/data-access/index.js +27 -26
  779. package/dist/react/data-grid/index.js +4 -4
  780. package/dist/react/data-rods/index.js +35 -35
  781. package/dist/react/data-subsetter/index.js +39 -38
  782. package/dist/react/data-subsetter-history/index.js +40 -39
  783. package/dist/react/date-picker/index.js +12 -12
  784. package/dist/react/date-range-slider/index.js +3 -3
  785. package/dist/react/dialog/index.js +9 -9
  786. package/dist/react/divider/index.js +3 -3
  787. package/dist/react/dropdown/index.js +4 -4
  788. package/dist/react/earthdata-login/index.js +14 -14
  789. package/dist/react/file-upload/index.js +3 -3
  790. package/dist/react/icon/index.js +5 -5
  791. package/dist/react/index.d.ts +11 -11
  792. package/dist/react/index.js +199 -198
  793. package/dist/react/input/index.js +7 -7
  794. package/dist/react/loader/index.js +3 -3
  795. package/dist/react/login/index.js +12 -12
  796. package/dist/react/map/index.js +5 -5
  797. package/dist/react/menu/index.js +3 -3
  798. package/dist/react/menu-item/index.js +9 -9
  799. package/dist/react/option/index.js +6 -6
  800. package/dist/react/pagination/index.js +6 -6
  801. package/dist/react/plot/index.js +3 -3
  802. package/dist/react/plot-toolbar/index.js +14 -14
  803. package/dist/react/popup/index.js +3 -3
  804. package/dist/react/progress-bar/index.js +3 -3
  805. package/dist/react/radio/index.js +3 -3
  806. package/dist/react/radio-group/index.js +3 -3
  807. package/dist/react/scroll-hint/index.js +6 -6
  808. package/dist/react/select/index.js +10 -10
  809. package/dist/react/site-header/index.js +7 -7
  810. package/dist/react/site-navigation/index.js +3 -3
  811. package/dist/react/skeleton/index.js +3 -3
  812. package/dist/react/slider/index.js +3 -3
  813. package/dist/react/spatial-picker/index.js +14 -14
  814. package/dist/react/status-indicator/index.js +3 -3
  815. package/dist/react/stepper/index.js +3 -3
  816. package/dist/react/stepper-step/index.js +6 -6
  817. package/dist/react/tab/index.js +6 -6
  818. package/dist/react/tab-panel/index.js +3 -3
  819. package/dist/react/tabs/index.js +6 -6
  820. package/dist/react/tag/index.js +6 -6
  821. package/dist/react/textarea/index.js +3 -3
  822. package/dist/react/time-average-map/index.js +22 -22
  823. package/dist/react/time-series/index.js +23 -23
  824. package/dist/react/toast/index.js +5 -5
  825. package/dist/react/toggle/index.js +3 -3
  826. package/dist/react/tooltip/index.js +4 -4
  827. package/dist/react/variable-combobox/index.js +11 -11
  828. package/dist/react/variable-keyword-search/index.js +11 -11
  829. package/dist/terra-ui-components.js +190 -189
  830. package/dist/terra_ui_components-0.0.139-py3-none-any.whl +0 -0
  831. package/dist/terra_ui_components-0.0.139.tar.gz +0 -0
  832. package/dist/types/vue/index.d.ts +541 -521
  833. package/dist/utilities/mimetypes.js +1 -1
  834. package/dist/vscode.html-custom-data.json +419 -404
  835. package/dist/web-types.json +1120 -1062
  836. package/package.json +1 -1
  837. package/cdn/chunks/chunk.2BJAFBWO.js +0 -19
  838. package/cdn/chunks/chunk.2GAC47WU.js +0 -60
  839. package/cdn/chunks/chunk.2TIKI4CV.js +0 -19
  840. package/cdn/chunks/chunk.2ZOU3STC.js +0 -123
  841. package/cdn/chunks/chunk.3F6CWYXR.js +0 -19
  842. package/cdn/chunks/chunk.3HAVIA4W.js +0 -259
  843. package/cdn/chunks/chunk.3O4PB2H3.js +0 -35
  844. package/cdn/chunks/chunk.3ZEO3IMN.js +0 -19
  845. package/cdn/chunks/chunk.43THXYJW.js +0 -19
  846. package/cdn/chunks/chunk.46WRFWUK.js +0 -33860
  847. package/cdn/chunks/chunk.4HLNRBQ6.js +0 -19
  848. package/cdn/chunks/chunk.4M4GBWDC.js +0 -19
  849. package/cdn/chunks/chunk.4OX4HVMY.js +0 -264
  850. package/cdn/chunks/chunk.4TDBTQV5.js +0 -538
  851. package/cdn/chunks/chunk.5CVRWER5.js +0 -19
  852. package/cdn/chunks/chunk.5DCGCB6K.js +0 -113
  853. package/cdn/chunks/chunk.5DM4QTN6.js +0 -29
  854. package/cdn/chunks/chunk.5HPTDONM.js +0 -32
  855. package/cdn/chunks/chunk.5HPYINI7.js +0 -19
  856. package/cdn/chunks/chunk.5LT2TYTG.js +0 -19
  857. package/cdn/chunks/chunk.5TXVJNQV.js +0 -29
  858. package/cdn/chunks/chunk.5VW5EZXV.js +0 -29
  859. package/cdn/chunks/chunk.5XJNAHQJ.js +0 -134
  860. package/cdn/chunks/chunk.626R2KUA.js +0 -19
  861. package/cdn/chunks/chunk.673QBVIN.js +0 -33
  862. package/cdn/chunks/chunk.6A6JHLJE.js +0 -19
  863. package/cdn/chunks/chunk.6NDSKK4J.js +0 -19
  864. package/cdn/chunks/chunk.6OR5C5Q7.js +0 -19
  865. package/cdn/chunks/chunk.6P3Q5HQJ.js +0 -29
  866. package/cdn/chunks/chunk.6W6F4ROR.js +0 -19
  867. package/cdn/chunks/chunk.6YSPK4EH.js +0 -83
  868. package/cdn/chunks/chunk.7GN3VMLV.js +0 -19
  869. package/cdn/chunks/chunk.7SRQP2BN.js +0 -286
  870. package/cdn/chunks/chunk.A3BRXNHI.js +0 -610
  871. package/cdn/chunks/chunk.A5SALK4D.js +0 -158
  872. package/cdn/chunks/chunk.ADLLUIOF.js +0 -19
  873. package/cdn/chunks/chunk.AGZ2BKOZ.js +0 -460
  874. package/cdn/chunks/chunk.AHSH74RW.js +0 -36
  875. package/cdn/chunks/chunk.AK2A7B6Q.js +0 -104
  876. package/cdn/chunks/chunk.ANGKDJP4.js +0 -231
  877. package/cdn/chunks/chunk.ANSRCOVR.js +0 -19
  878. package/cdn/chunks/chunk.ATLDQ3WR.js +0 -33
  879. package/cdn/chunks/chunk.BC2GUXZ7.js +0 -32
  880. package/cdn/chunks/chunk.BC64ST5G.js +0 -29
  881. package/cdn/chunks/chunk.BFO6SZXZ.js +0 -29
  882. package/cdn/chunks/chunk.BPU7M7DV.js +0 -19
  883. package/cdn/chunks/chunk.BRQCSVCH.js +0 -2022
  884. package/cdn/chunks/chunk.BRYKXRCC.js +0 -55346
  885. package/cdn/chunks/chunk.BTL6NVN3.js +0 -41
  886. package/cdn/chunks/chunk.BVCX2RJT.js +0 -19
  887. package/cdn/chunks/chunk.BZ23ZYNY.js +0 -198
  888. package/cdn/chunks/chunk.CDC2B5IP.js +0 -29
  889. package/cdn/chunks/chunk.CI4UXPOP.js +0 -19
  890. package/cdn/chunks/chunk.COMG3MGR.js +0 -29
  891. package/cdn/chunks/chunk.CPDYZ3LO.js +0 -278
  892. package/cdn/chunks/chunk.CYMFPTYH.js +0 -32
  893. package/cdn/chunks/chunk.D4H2PCSX.js +0 -19
  894. package/cdn/chunks/chunk.DE2ZETA7.js +0 -93
  895. package/cdn/chunks/chunk.DEFAJGI7.js +0 -37
  896. package/cdn/chunks/chunk.DMS73IZ3.js +0 -188
  897. package/cdn/chunks/chunk.E2RHO7DN.js +0 -19
  898. package/cdn/chunks/chunk.ECGINNOY.js +0 -29
  899. package/cdn/chunks/chunk.EGQO2GDX.js +0 -62
  900. package/cdn/chunks/chunk.EIPX4NVH.js +0 -151
  901. package/cdn/chunks/chunk.EITFR5BT.js +0 -19
  902. package/cdn/chunks/chunk.EIYHG4QH.js +0 -99
  903. package/cdn/chunks/chunk.EVC6N4XS.js +0 -19
  904. package/cdn/chunks/chunk.EWPC57VY.js +0 -19
  905. package/cdn/chunks/chunk.EXKJLZ7J.js +0 -1803
  906. package/cdn/chunks/chunk.F4UOBQNN.js +0 -29
  907. package/cdn/chunks/chunk.F7YRE2LG.js +0 -165
  908. package/cdn/chunks/chunk.FBAXT3BK.js +0 -29
  909. package/cdn/chunks/chunk.FG3K3Q6V.js +0 -19
  910. package/cdn/chunks/chunk.FGZRXTZ6.js +0 -19
  911. package/cdn/chunks/chunk.FPNYUWK6.js +0 -67
  912. package/cdn/chunks/chunk.FQEKGVRO.js +0 -32
  913. package/cdn/chunks/chunk.FVZU57MN.js +0 -19
  914. package/cdn/chunks/chunk.FWVPXLAJ.js +0 -19
  915. package/cdn/chunks/chunk.G3FY5QP3.js +0 -32
  916. package/cdn/chunks/chunk.G4GEUX35.js +0 -29
  917. package/cdn/chunks/chunk.GH5IWK3V.js +0 -10710
  918. package/cdn/chunks/chunk.GLRK2CD2.js +0 -472
  919. package/cdn/chunks/chunk.GSFGAHJ7.js +0 -19
  920. package/cdn/chunks/chunk.GWWIQVTA.js +0 -234
  921. package/cdn/chunks/chunk.H226G54W.js +0 -621
  922. package/cdn/chunks/chunk.H4FNKBO5.js +0 -35
  923. package/cdn/chunks/chunk.HA6T6UQB.js +0 -19
  924. package/cdn/chunks/chunk.HFQ73YHH.js +0 -47
  925. package/cdn/chunks/chunk.HO2HLYL2.js +0 -29
  926. package/cdn/chunks/chunk.HSVOTNWM.js +0 -29
  927. package/cdn/chunks/chunk.HXZVFJ6H.js +0 -524
  928. package/cdn/chunks/chunk.IGEYXP3A.js +0 -99
  929. package/cdn/chunks/chunk.IT7T44HW.js +0 -83
  930. package/cdn/chunks/chunk.IWBJA6I7.js +0 -359
  931. package/cdn/chunks/chunk.IWCGYFDH.js +0 -32
  932. package/cdn/chunks/chunk.IYY3KFGU.js +0 -34
  933. package/cdn/chunks/chunk.J23RZN4H.js +0 -19
  934. package/cdn/chunks/chunk.J27ZRG2P.js +0 -19
  935. package/cdn/chunks/chunk.JBKZ2O54.js +0 -19
  936. package/cdn/chunks/chunk.JFBUXZDD.js +0 -35
  937. package/cdn/chunks/chunk.JNHX2WPA.js +0 -29
  938. package/cdn/chunks/chunk.JQB5OS27.js +0 -132
  939. package/cdn/chunks/chunk.JROEZ6BJ.js +0 -240
  940. package/cdn/chunks/chunk.JXS7CCSD.js +0 -39
  941. package/cdn/chunks/chunk.K4ZQ3QTB.js +0 -599
  942. package/cdn/chunks/chunk.K7U6WTEC.js +0 -754
  943. package/cdn/chunks/chunk.KAC36PWW.js +0 -19
  944. package/cdn/chunks/chunk.KAMBSWDB.js +0 -19
  945. package/cdn/chunks/chunk.KC4TKSAA.js +0 -36
  946. package/cdn/chunks/chunk.KEJNACA2.js +0 -19
  947. package/cdn/chunks/chunk.KHLSTEU5.js +0 -29
  948. package/cdn/chunks/chunk.KLVFSGNQ.js +0 -19
  949. package/cdn/chunks/chunk.L3AQPABK.js +0 -302
  950. package/cdn/chunks/chunk.L7S57B4M.js +0 -19
  951. package/cdn/chunks/chunk.LBTNI2V2.js +0 -71
  952. package/cdn/chunks/chunk.LFD6D7PW.js +0 -19
  953. package/cdn/chunks/chunk.LPQPN27D.js +0 -230
  954. package/cdn/chunks/chunk.LZ76ZLTY.js +0 -224
  955. package/cdn/chunks/chunk.M4RK2ABO.js +0 -106
  956. package/cdn/chunks/chunk.MSESXAV2.js +0 -276
  957. package/cdn/chunks/chunk.N5RUBOM2.js +0 -78
  958. package/cdn/chunks/chunk.N6XCHKIS.js +0 -32
  959. package/cdn/chunks/chunk.NABM5PIJ.js +0 -615
  960. package/cdn/chunks/chunk.NDGGHVRH.js +0 -30
  961. package/cdn/chunks/chunk.NDTHFW5R.js +0 -19
  962. package/cdn/chunks/chunk.NFXL4TXT.js +0 -19
  963. package/cdn/chunks/chunk.NRIGNA3S.js +0 -303
  964. package/cdn/chunks/chunk.NRZVOPL7.js +0 -74
  965. package/cdn/chunks/chunk.NXILKRTN.js +0 -19
  966. package/cdn/chunks/chunk.NZ6Z36KS.js +0 -655
  967. package/cdn/chunks/chunk.OJWEQA2L.js +0 -60
  968. package/cdn/chunks/chunk.OKTINZHU.js +0 -34
  969. package/cdn/chunks/chunk.OMDVVVMC.js +0 -19
  970. package/cdn/chunks/chunk.OQZZPFI4.js +0 -35
  971. package/cdn/chunks/chunk.OXNJKUQM.js +0 -32
  972. package/cdn/chunks/chunk.P7Q76NKD.js +0 -29
  973. package/cdn/chunks/chunk.PA6TODQZ.js +0 -189
  974. package/cdn/chunks/chunk.PDGPGRPX.js +0 -29
  975. package/cdn/chunks/chunk.PFEYSMVR.js +0 -467
  976. package/cdn/chunks/chunk.PG6A3YS2.js +0 -19
  977. package/cdn/chunks/chunk.PU2EA3F3.js +0 -33
  978. package/cdn/chunks/chunk.PU3V52T7.js +0 -19
  979. package/cdn/chunks/chunk.PYWQ4CJT.js +0 -132
  980. package/cdn/chunks/chunk.PZTPTQGC.js +0 -19
  981. package/cdn/chunks/chunk.QCBCEGHS.js +0 -36
  982. package/cdn/chunks/chunk.QCQ4X6JV.js +0 -29
  983. package/cdn/chunks/chunk.QGPOGCGC.js +0 -32
  984. package/cdn/chunks/chunk.QID257LE.js +0 -491
  985. package/cdn/chunks/chunk.QPKDJX5G.js +0 -239
  986. package/cdn/chunks/chunk.QWV6DSWO.js +0 -19
  987. package/cdn/chunks/chunk.R3J2I7S6.js +0 -29
  988. package/cdn/chunks/chunk.R3YYADTU.js +0 -19
  989. package/cdn/chunks/chunk.RAFPJ7SC.js +0 -357
  990. package/cdn/chunks/chunk.RHTNA6LR.js +0 -284
  991. package/cdn/chunks/chunk.RKNJJP3S.js +0 -32
  992. package/cdn/chunks/chunk.RTNYHC5I.js +0 -29
  993. package/cdn/chunks/chunk.RX5BQG6X.js +0 -29
  994. package/cdn/chunks/chunk.S5QKV4ZF.js +0 -19
  995. package/cdn/chunks/chunk.SI6XTPNR.js +0 -890
  996. package/cdn/chunks/chunk.SIOZ4BTY.js +0 -904
  997. package/cdn/chunks/chunk.SL2XAFXP.js +0 -86
  998. package/cdn/chunks/chunk.SMLEQ2LR.js +0 -29
  999. package/cdn/chunks/chunk.SO6HP2US.js +0 -92
  1000. package/cdn/chunks/chunk.SOAQHIJL.js +0 -29
  1001. package/cdn/chunks/chunk.SU6YFVSR.js +0 -32
  1002. package/cdn/chunks/chunk.TERI3VR7.js +0 -943
  1003. package/cdn/chunks/chunk.TKLCIMWL.js +0 -155
  1004. package/cdn/chunks/chunk.TPKKIYZX.js +0 -29
  1005. package/cdn/chunks/chunk.TRPIGGKJ.js +0 -29
  1006. package/cdn/chunks/chunk.TSDVLQNQ.js +0 -29
  1007. package/cdn/chunks/chunk.TSSH7OBI.js +0 -19
  1008. package/cdn/chunks/chunk.TVKZ73IC.js +0 -224
  1009. package/cdn/chunks/chunk.UGX6ENXK.js +0 -19
  1010. package/cdn/chunks/chunk.USXBU4V7.js +0 -32
  1011. package/cdn/chunks/chunk.UYMOTJH6.js +0 -657
  1012. package/cdn/chunks/chunk.V52XWSHA.js +0 -1966
  1013. package/cdn/chunks/chunk.VAVERUQY.js +0 -19
  1014. package/cdn/chunks/chunk.VD4J6NSJ.js +0 -435
  1015. package/cdn/chunks/chunk.VLZIIUK4.js +0 -49
  1016. package/cdn/chunks/chunk.VMZC6SWS.js +0 -19
  1017. package/cdn/chunks/chunk.VOQC3ZCU.js +0 -29
  1018. package/cdn/chunks/chunk.VSHI7QPJ.js +0 -19
  1019. package/cdn/chunks/chunk.W2UBFVIJ.js +0 -19
  1020. package/cdn/chunks/chunk.WO5IANXZ.js +0 -19
  1021. package/cdn/chunks/chunk.WZ4BJS34.js +0 -29
  1022. package/cdn/chunks/chunk.X3L6R75X.js +0 -29
  1023. package/cdn/chunks/chunk.XDHTVQJX.js +0 -32
  1024. package/cdn/chunks/chunk.XNSJOSHU.js +0 -29
  1025. package/cdn/chunks/chunk.XSRPSAPH.js +0 -170
  1026. package/cdn/chunks/chunk.XWVMUFJ7.js +0 -32
  1027. package/cdn/chunks/chunk.Y773DAY4.js +0 -19
  1028. package/cdn/chunks/chunk.YEN743LR.js +0 -37
  1029. package/cdn/chunks/chunk.YRXSN33E.js +0 -190
  1030. package/cdn/chunks/chunk.Z63QUAXL.js +0 -36
  1031. package/cdn/chunks/chunk.ZABMXOTM.js +0 -19
  1032. package/cdn/chunks/chunk.ZKEHTBR2.js +0 -29
  1033. package/cdn/chunks/chunk.ZOLJNM6R.js +0 -33
  1034. package/cdn/chunks/chunk.ZY2YLMTQ.js +0 -372
  1035. package/cdn/chunks/chunk.ZZF57TEN.js +0 -19
  1036. package/dist/chunks/chunk.2426R65J.js +0 -11
  1037. package/dist/chunks/chunk.24OZTGQ4.js +0 -24
  1038. package/dist/chunks/chunk.2IATTFYF.js +0 -21
  1039. package/dist/chunks/chunk.2KEWLVVS.js +0 -11
  1040. package/dist/chunks/chunk.2LMA4HXX.js +0 -75
  1041. package/dist/chunks/chunk.2MUR5ODC.js +0 -25
  1042. package/dist/chunks/chunk.2RD2YCMC.js +0 -21
  1043. package/dist/chunks/chunk.2RQ7TE6K.js +0 -11
  1044. package/dist/chunks/chunk.2T6RXP74.js +0 -21
  1045. package/dist/chunks/chunk.32WEZIMB.js +0 -11
  1046. package/dist/chunks/chunk.3DIKX4D7.js +0 -20
  1047. package/dist/chunks/chunk.3EDSDPZR.js +0 -11
  1048. package/dist/chunks/chunk.3HOMDURY.js +0 -11
  1049. package/dist/chunks/chunk.3KXECFSF.js +0 -11
  1050. package/dist/chunks/chunk.3L5Y4UAK.js +0 -422
  1051. package/dist/chunks/chunk.3SVH6OTG.js +0 -21
  1052. package/dist/chunks/chunk.3WACV45C.js +0 -93
  1053. package/dist/chunks/chunk.3WVTPAFC.js +0 -67
  1054. package/dist/chunks/chunk.3WZK4BGU.js +0 -21
  1055. package/dist/chunks/chunk.4MGGBJBD.js +0 -20
  1056. package/dist/chunks/chunk.4ND4FAJH.js +0 -11
  1057. package/dist/chunks/chunk.4OEGTTX7.js +0 -733
  1058. package/dist/chunks/chunk.4PYJR6WL.js +0 -21
  1059. package/dist/chunks/chunk.4RVH6XIJ.js +0 -581
  1060. package/dist/chunks/chunk.4SXKWAH4.js +0 -399
  1061. package/dist/chunks/chunk.4TNXG42V.js +0 -24
  1062. package/dist/chunks/chunk.53OX6PUP.js +0 -21
  1063. package/dist/chunks/chunk.54N7XEVF.js +0 -43
  1064. package/dist/chunks/chunk.552IT23D.js +0 -21
  1065. package/dist/chunks/chunk.5FWXTZMW.js +0 -11
  1066. package/dist/chunks/chunk.5IS5U42I.js +0 -78
  1067. package/dist/chunks/chunk.5IVEFQ73.js +0 -55
  1068. package/dist/chunks/chunk.6PEX3FEM.js +0 -278
  1069. package/dist/chunks/chunk.6RFDAONW.js +0 -21
  1070. package/dist/chunks/chunk.6US6YKKT.js +0 -21
  1071. package/dist/chunks/chunk.6WKLL2WM.js +0 -27
  1072. package/dist/chunks/chunk.6YXJFS7E.js +0 -39
  1073. package/dist/chunks/chunk.75FUVZDD.js +0 -11
  1074. package/dist/chunks/chunk.76HWX2PB.js +0 -25
  1075. package/dist/chunks/chunk.7DHRNNYP.js +0 -21
  1076. package/dist/chunks/chunk.7DL43QDS.js +0 -21
  1077. package/dist/chunks/chunk.7FQDY3NG.js +0 -21
  1078. package/dist/chunks/chunk.7J4CYUNW.js +0 -21
  1079. package/dist/chunks/chunk.7OSDR4DT.js +0 -27
  1080. package/dist/chunks/chunk.7S4Y7E54.js +0 -153
  1081. package/dist/chunks/chunk.7ULUL7UB.js +0 -214
  1082. package/dist/chunks/chunk.7WWNQP3F.js +0 -52
  1083. package/dist/chunks/chunk.7YFUO5H7.js +0 -11
  1084. package/dist/chunks/chunk.AAKINAHX.js +0 -91
  1085. package/dist/chunks/chunk.AGQSCMY3.js +0 -86
  1086. package/dist/chunks/chunk.ATRP3VPC.js +0 -61
  1087. package/dist/chunks/chunk.AZNKCI5A.js +0 -2008
  1088. package/dist/chunks/chunk.B7MLQJME.js +0 -11
  1089. package/dist/chunks/chunk.BAO2ISQ2.js +0 -180
  1090. package/dist/chunks/chunk.BEGIYBUS.js +0 -190
  1091. package/dist/chunks/chunk.BEWGTRTM.js +0 -21
  1092. package/dist/chunks/chunk.BFKPZ5KB.js +0 -11
  1093. package/dist/chunks/chunk.BVDQB3ON.js +0 -25
  1094. package/dist/chunks/chunk.BXCR6MKM.js +0 -24
  1095. package/dist/chunks/chunk.C2XCYTEU.js +0 -11
  1096. package/dist/chunks/chunk.CHQGRSSN.js +0 -11
  1097. package/dist/chunks/chunk.CMQFO2Y2.js +0 -11
  1098. package/dist/chunks/chunk.CXRPWR2F.js +0 -11
  1099. package/dist/chunks/chunk.CYD7QBKX.js +0 -11
  1100. package/dist/chunks/chunk.DCPS4G3B.js +0 -21
  1101. package/dist/chunks/chunk.DLTYQJNF.js +0 -247
  1102. package/dist/chunks/chunk.DMPS64FX.js +0 -24
  1103. package/dist/chunks/chunk.DWLH2GWC.js +0 -264
  1104. package/dist/chunks/chunk.DXHYGQDF.js +0 -11
  1105. package/dist/chunks/chunk.DZR4D6IU.js +0 -11
  1106. package/dist/chunks/chunk.E4GY4PFT.js +0 -11
  1107. package/dist/chunks/chunk.EEKCQQP5.js +0 -24
  1108. package/dist/chunks/chunk.EKGLR7QZ.js +0 -85
  1109. package/dist/chunks/chunk.EQMZWXBN.js +0 -11
  1110. package/dist/chunks/chunk.FAP5VEES.js +0 -11
  1111. package/dist/chunks/chunk.FFG3ZSYS.js +0 -21
  1112. package/dist/chunks/chunk.FIPOTDXT.js +0 -11
  1113. package/dist/chunks/chunk.FU2INUZZ.js +0 -97
  1114. package/dist/chunks/chunk.FXHQTN4J.js +0 -21
  1115. package/dist/chunks/chunk.G7YHGF6B.js +0 -52
  1116. package/dist/chunks/chunk.GHX6JKTO.js +0 -24
  1117. package/dist/chunks/chunk.GMJA54M4.js +0 -449
  1118. package/dist/chunks/chunk.GRHPMK76.js +0 -11
  1119. package/dist/chunks/chunk.GWTQ5TIL.js +0 -11
  1120. package/dist/chunks/chunk.H4CFFNY7.js +0 -11
  1121. package/dist/chunks/chunk.H55ETYZG.js +0 -24
  1122. package/dist/chunks/chunk.HIDHBTUK.js +0 -26
  1123. package/dist/chunks/chunk.HKEOMDWQ.js +0 -57
  1124. package/dist/chunks/chunk.HTOB5YHI.js +0 -11
  1125. package/dist/chunks/chunk.I73QP2WG.js +0 -89
  1126. package/dist/chunks/chunk.IGFE5OMC.js +0 -21
  1127. package/dist/chunks/chunk.IIP7XENC.js +0 -220
  1128. package/dist/chunks/chunk.IVICUROI.js +0 -245
  1129. package/dist/chunks/chunk.J3V3J6FF.js +0 -591
  1130. package/dist/chunks/chunk.J4RRQTQE.js +0 -291
  1131. package/dist/chunks/chunk.J6AHI4XH.js +0 -209
  1132. package/dist/chunks/chunk.JFAWDJ6T.js +0 -24
  1133. package/dist/chunks/chunk.JHOIM3AH.js +0 -11
  1134. package/dist/chunks/chunk.JLJEN3MG.js +0 -11
  1135. package/dist/chunks/chunk.JNKU5Q5C.js +0 -21
  1136. package/dist/chunks/chunk.JQLIWLBF.js +0 -11
  1137. package/dist/chunks/chunk.JTIG7LIG.js +0 -145
  1138. package/dist/chunks/chunk.JTZSYDBZ.js +0 -143
  1139. package/dist/chunks/chunk.JWU2CJKN.js +0 -21
  1140. package/dist/chunks/chunk.K2QMUUIL.js +0 -11
  1141. package/dist/chunks/chunk.K4EZCK76.js +0 -11
  1142. package/dist/chunks/chunk.KQZF6ECA.js +0 -11
  1143. package/dist/chunks/chunk.KXED5RDO.js +0 -24
  1144. package/dist/chunks/chunk.L5ZDLN66.js +0 -83
  1145. package/dist/chunks/chunk.LDZAANCW.js +0 -213
  1146. package/dist/chunks/chunk.LSRW6XH5.js +0 -27
  1147. package/dist/chunks/chunk.M25BNXYX.js +0 -446
  1148. package/dist/chunks/chunk.M7XZ2USH.js +0 -24
  1149. package/dist/chunks/chunk.MKBGUN2U.js +0 -28
  1150. package/dist/chunks/chunk.MPCO3AK6.js +0 -180
  1151. package/dist/chunks/chunk.N2DBICDG.js +0 -31
  1152. package/dist/chunks/chunk.N3KI7TGY.js +0 -11
  1153. package/dist/chunks/chunk.NEYNT6PS.js +0 -21
  1154. package/dist/chunks/chunk.NFYNX52D.js +0 -24
  1155. package/dist/chunks/chunk.NKYBMMY2.js +0 -11
  1156. package/dist/chunks/chunk.NPGHYBDT.js +0 -24
  1157. package/dist/chunks/chunk.NVCB6Y7O.js +0 -11
  1158. package/dist/chunks/chunk.NZ4IMOIQ.js +0 -24
  1159. package/dist/chunks/chunk.O7C53DXL.js +0 -11
  1160. package/dist/chunks/chunk.O7MF3O7H.js +0 -21
  1161. package/dist/chunks/chunk.OA7ZISO3.js +0 -29
  1162. package/dist/chunks/chunk.OGQB2AZY.js +0 -28
  1163. package/dist/chunks/chunk.OI6TWGD3.js +0 -11
  1164. package/dist/chunks/chunk.OQDJNDF7.js +0 -21
  1165. package/dist/chunks/chunk.OQSLB6CP.js +0 -477
  1166. package/dist/chunks/chunk.OTIBVSOZ.js +0 -48
  1167. package/dist/chunks/chunk.OVHY4CEQ.js +0 -28
  1168. package/dist/chunks/chunk.OYNKCPJD.js +0 -271
  1169. package/dist/chunks/chunk.P6AWD2KL.js +0 -11
  1170. package/dist/chunks/chunk.PFLNNFWL.js +0 -11
  1171. package/dist/chunks/chunk.PJZ3AGV2.js +0 -1124
  1172. package/dist/chunks/chunk.PMDGFZP5.js +0 -525
  1173. package/dist/chunks/chunk.PR6NXMKM.js +0 -596
  1174. package/dist/chunks/chunk.QBQEKK4N.js +0 -11
  1175. package/dist/chunks/chunk.QIBXPT7H.js +0 -609
  1176. package/dist/chunks/chunk.QR6MBPNF.js +0 -21
  1177. package/dist/chunks/chunk.R64NO63N.js +0 -120
  1178. package/dist/chunks/chunk.R6O6JG2L.js +0 -11
  1179. package/dist/chunks/chunk.R7A4A4XT.js +0 -472
  1180. package/dist/chunks/chunk.RAFZXIF4.js +0 -262
  1181. package/dist/chunks/chunk.RAUR5DNX.js +0 -844
  1182. package/dist/chunks/chunk.RI3VSFPZ.js +0 -220
  1183. package/dist/chunks/chunk.RWPWL7DO.js +0 -64
  1184. package/dist/chunks/chunk.S2QZFTNQ.js +0 -11
  1185. package/dist/chunks/chunk.S6KXROR3.js +0 -252
  1186. package/dist/chunks/chunk.SB7SK65W.js +0 -21
  1187. package/dist/chunks/chunk.SBQXHA4N.js +0 -279
  1188. package/dist/chunks/chunk.SEQTHRF4.js +0 -11
  1189. package/dist/chunks/chunk.SGMS4MGY.js +0 -74
  1190. package/dist/chunks/chunk.SO7HBYRG.js +0 -180
  1191. package/dist/chunks/chunk.SUEHXKVI.js +0 -458
  1192. package/dist/chunks/chunk.T7U33NR2.js +0 -21
  1193. package/dist/chunks/chunk.TI4PHSHN.js +0 -21
  1194. package/dist/chunks/chunk.TU44IQ3W.js +0 -443
  1195. package/dist/chunks/chunk.TUVZOKFF.js +0 -25
  1196. package/dist/chunks/chunk.TYG6OQTG.js +0 -229
  1197. package/dist/chunks/chunk.UA5CCCNW.js +0 -112
  1198. package/dist/chunks/chunk.UDHOUQYU.js +0 -11
  1199. package/dist/chunks/chunk.UP3EUANM.js +0 -26
  1200. package/dist/chunks/chunk.UZBNN6OH.js +0 -345
  1201. package/dist/chunks/chunk.V3OWPNEW.js +0 -121
  1202. package/dist/chunks/chunk.V4Q4SMBP.js +0 -11
  1203. package/dist/chunks/chunk.VBSKFOGI.js +0 -21
  1204. package/dist/chunks/chunk.VEEBK3BR.js +0 -11
  1205. package/dist/chunks/chunk.VHCPOUHN.js +0 -11
  1206. package/dist/chunks/chunk.VMMKDZZ5.js +0 -637
  1207. package/dist/chunks/chunk.VNIY4LMA.js +0 -11
  1208. package/dist/chunks/chunk.VSWHQLHN.js +0 -11
  1209. package/dist/chunks/chunk.VTE57C55.js +0 -24
  1210. package/dist/chunks/chunk.W3LC2QG2.js +0 -927
  1211. package/dist/chunks/chunk.W4GXZSQS.js +0 -874
  1212. package/dist/chunks/chunk.WBMGN2BP.js +0 -11
  1213. package/dist/chunks/chunk.WEZGLQOU.js +0 -11
  1214. package/dist/chunks/chunk.WFNM2234.js +0 -21
  1215. package/dist/chunks/chunk.WI2KVU46.js +0 -229
  1216. package/dist/chunks/chunk.WQK4NSPB.js +0 -161
  1217. package/dist/chunks/chunk.WZ3QCYDR.js +0 -11
  1218. package/dist/chunks/chunk.WZDSW6OR.js +0 -11
  1219. package/dist/chunks/chunk.X4FOEYTC.js +0 -28
  1220. package/dist/chunks/chunk.XBAEFASN.js +0 -33
  1221. package/dist/chunks/chunk.XBKQL5O2.js +0 -101
  1222. package/dist/chunks/chunk.XHEHPNOY.js +0 -11
  1223. package/dist/chunks/chunk.XQMGTEU2.js +0 -1788
  1224. package/dist/chunks/chunk.XUFLNF35.js +0 -27
  1225. package/dist/chunks/chunk.XVKPPLF7.js +0 -11
  1226. package/dist/chunks/chunk.Y2WHWGSZ.js +0 -21
  1227. package/dist/chunks/chunk.YMENYKFQ.js +0 -11
  1228. package/dist/chunks/chunk.YY5Q5XEE.js +0 -11
  1229. package/dist/chunks/chunk.Z7KKP434.js +0 -11
  1230. package/dist/chunks/chunk.ZARHT2OD.js +0 -29
  1231. package/dist/chunks/chunk.ZKLRB2JO.js +0 -123
  1232. package/dist/chunks/chunk.ZSZ4KJID.js +0 -345
  1233. package/dist/chunks/chunk.ZT7GABVO.js +0 -355
  1234. package/dist/chunks/chunk.ZXN6LIWR.js +0 -11
  1235. package/dist/terra_ui_components-0.0.137-py3-none-any.whl +0 -0
  1236. package/dist/terra_ui_components-0.0.137.tar.gz +0 -0
@@ -0,0 +1,1124 @@
1
+ import {
2
+ time_average_map_styles_default
3
+ } from "./chunk.NEI6ESI4.js";
4
+ import {
5
+ TimeAvgMapController
6
+ } from "./chunk.MYBSXZHT.js";
7
+ import {
8
+ getFetchVariableTask
9
+ } from "./chunk.RO4MUFVF.js";
10
+ import {
11
+ extractHarmonyError,
12
+ formatHarmonyErrorMessage
13
+ } from "./chunk.ESNQNQUJ.js";
14
+ import {
15
+ TerraPlotToolbar
16
+ } from "./chunk.FCVMQBC6.js";
17
+ import {
18
+ TerraPlot
19
+ } from "./chunk.IG5E3PNG.js";
20
+ import {
21
+ AuthController
22
+ } from "./chunk.DHM36JBP.js";
23
+ import {
24
+ getVariableEntryId
25
+ } from "./chunk.CGVPVXTX.js";
26
+ import {
27
+ TerraLoader
28
+ } from "./chunk.XE4T3WTA.js";
29
+ import {
30
+ TerraButton
31
+ } from "./chunk.X4T5FEVN.js";
32
+ import {
33
+ formatDate
34
+ } from "./chunk.Y4QEHGFE.js";
35
+ import {
36
+ TerraIcon
37
+ } from "./chunk.MJAA2EKQ.js";
38
+ import {
39
+ TerraAlert
40
+ } from "./chunk.ZPH3RFHS.js";
41
+ import {
42
+ watch
43
+ } from "./chunk.NWXJOH5T.js";
44
+ import {
45
+ TerraElement,
46
+ component_styles_default
47
+ } from "./chunk.R4VDG6AK.js";
48
+ import {
49
+ __decorateClass,
50
+ __privateAdd,
51
+ __privateGet,
52
+ __privateMethod,
53
+ __privateSet
54
+ } from "./chunk.SHKVBVTI.js";
55
+
56
+ // src/components/time-average-map/time-average-map.component.ts
57
+ import { html, nothing } from "lit";
58
+ import { property, state } from "lit/decorators.js";
59
+ import { Map, View } from "ol";
60
+ import WebGLTileLayer from "ol/layer/WebGLTile.js";
61
+ import VectorLayer from "ol/layer/Vector.js";
62
+ import Graticule from "ol/layer/Graticule.js";
63
+ import OSM from "ol/source/OSM.js";
64
+ import VectorSource from "ol/source/Vector.js";
65
+ import GeoJSON from "ol/format/GeoJSON.js";
66
+ import { Style, Stroke } from "ol/style.js";
67
+ import Draw from "ol/interaction/Draw.js";
68
+ import Point from "ol/geom/Point.js";
69
+ import { getLength } from "ol/sphere.js";
70
+ import Feature from "ol/Feature.js";
71
+ import { TaskStatus } from "@lit/task";
72
+ import { cache } from "lit/directives/cache.js";
73
+ import { toLonLat, transformExtent } from "ol/proj.js";
74
+ var _controller, _map, _gtLayer, _bordersLayer, _vectorSource, _vectorLayer, _draw, _graticuleLayer, _handleMapError, _handleExportImage, _drawLegend, drawLegend_fn, _getMapTitleText, getMapTitleText_fn, _wrapText, wrapText_fn, _handleOpacityChange, handleOpacityChange_fn, _handleColorMapChange, handleColorMapChange_fn, _abortJobStatusTask, abortJobStatusTask_fn, _getNumberOfPoints, getNumberOfPoints_fn, _quantizeLineString, quantizeLineString_fn, _minifyMapPopover, minifyMapPopover_fn, _cleanUpMap, cleanUpMap_fn, _getRasterValueAtCoordinate, getRasterValueAtCoordinate_fn, _handleCheckBoxToggle, handleCheckBoxToggle_fn, _isVariableNotFound, isVariableNotFound_fn, _getErrorMessage, getErrorMessage_fn;
75
+ var TerraTimeAverageMap = class extends TerraElement {
76
+ constructor() {
77
+ super(...arguments);
78
+ __privateAdd(this, _drawLegend);
79
+ __privateAdd(this, _getMapTitleText);
80
+ __privateAdd(this, _wrapText);
81
+ __privateAdd(this, _handleOpacityChange);
82
+ __privateAdd(this, _handleColorMapChange);
83
+ __privateAdd(this, _abortJobStatusTask);
84
+ __privateAdd(this, _getNumberOfPoints);
85
+ __privateAdd(this, _quantizeLineString);
86
+ __privateAdd(this, _minifyMapPopover);
87
+ __privateAdd(this, _cleanUpMap);
88
+ __privateAdd(this, _getRasterValueAtCoordinate);
89
+ __privateAdd(this, _handleCheckBoxToggle);
90
+ __privateAdd(this, _isVariableNotFound);
91
+ __privateAdd(this, _getErrorMessage);
92
+ this.long_name = "";
93
+ this.colorMapName = "viridis";
94
+ this.opacity = 1;
95
+ this.pixelValue = "N/A";
96
+ this.pixelCoordinates = "N/A";
97
+ this.metadata = {};
98
+ this.toggleState = false;
99
+ this.minimized = false;
100
+ this.noDataValue = -9999;
101
+ this.min = "0";
102
+ this.max = "1";
103
+ this.legendValues = [];
104
+ this.timeAverageMapError = null;
105
+ __privateAdd(this, _controller, void 0);
106
+ __privateAdd(this, _map, null);
107
+ __privateAdd(this, _gtLayer, null);
108
+ __privateAdd(this, _bordersLayer, null);
109
+ __privateAdd(this, _vectorSource, null);
110
+ __privateAdd(this, _vectorLayer, null);
111
+ __privateAdd(this, _draw, null);
112
+ __privateAdd(this, _graticuleLayer, null);
113
+ this._authController = new AuthController(this);
114
+ this.colormaps = [
115
+ "jet",
116
+ "hsv",
117
+ "hot",
118
+ "cool",
119
+ "spring",
120
+ "summer",
121
+ "autumn",
122
+ "winter",
123
+ "bone",
124
+ "copper",
125
+ "greys",
126
+ "YIGnBu",
127
+ "greens",
128
+ "YIOrRd",
129
+ "bluered",
130
+ "RdBu",
131
+ "picnic",
132
+ "rainbow",
133
+ "portland",
134
+ "blackbody",
135
+ "earth",
136
+ "electric",
137
+ "viridis",
138
+ "inferno",
139
+ "magma",
140
+ "plasma",
141
+ "warm",
142
+ "cool",
143
+ "bathymetry",
144
+ "cdom",
145
+ "chlorophyll",
146
+ "density",
147
+ "fressurface-blue",
148
+ "freesurface-red",
149
+ "oxygen",
150
+ "par",
151
+ "phase",
152
+ "salinity",
153
+ "temperature",
154
+ "turbidity",
155
+ "velocity-blue",
156
+ "velocity-green",
157
+ "cubhelix"
158
+ ];
159
+ this.plotData = {};
160
+ this.layout = {};
161
+ /**
162
+ * anytime the collection or variable changes, we'll fetch the variable from the catalog to get all of it's metadata
163
+ */
164
+ this._fetchVariableTask = getFetchVariableTask(this, false);
165
+ __privateAdd(this, _handleMapError, (event) => {
166
+ const { status, code, message, context } = event.detail;
167
+ this.timeAverageMapError = {
168
+ code: code || String(status),
169
+ message,
170
+ context
171
+ };
172
+ });
173
+ __privateAdd(this, _handleExportImage, async (event) => {
174
+ var _a;
175
+ if (!__privateGet(this, _map)) {
176
+ console.warn("Map not initialized, cannot export image");
177
+ return;
178
+ }
179
+ const format = ((_a = event.detail) == null ? void 0 : _a.format) || "png";
180
+ try {
181
+ await new Promise((resolve) => {
182
+ __privateGet(this, _map).once("rendercomplete", () => {
183
+ resolve();
184
+ });
185
+ __privateGet(this, _map).render();
186
+ });
187
+ const mapElement = __privateGet(this, _map).getViewport();
188
+ const mapSize = __privateGet(this, _map).getSize();
189
+ if (!mapSize) {
190
+ console.warn("Map size is not available");
191
+ return;
192
+ }
193
+ const mapWidth = mapSize[0];
194
+ const mapHeight = mapSize[1];
195
+ const allCanvases = Array.from(
196
+ mapElement.querySelectorAll("canvas")
197
+ );
198
+ const svgs = Array.from(
199
+ mapElement.querySelectorAll("svg")
200
+ );
201
+ if (allCanvases.length === 0 && svgs.length === 0) {
202
+ console.warn("Could not find map canvas or SVG elements");
203
+ return;
204
+ }
205
+ const finalCanvas = document.createElement("canvas");
206
+ const ctx = finalCanvas.getContext("2d");
207
+ if (!ctx) {
208
+ console.warn("Could not get canvas context");
209
+ return;
210
+ }
211
+ const textHeight = 80;
212
+ finalCanvas.width = mapWidth;
213
+ finalCanvas.height = mapHeight + textHeight;
214
+ ctx.fillStyle = "#ffffff";
215
+ ctx.fillRect(0, 0, finalCanvas.width, finalCanvas.height);
216
+ for (const canvas of allCanvases) {
217
+ ctx.drawImage(
218
+ canvas,
219
+ 0,
220
+ 0,
221
+ canvas.width,
222
+ canvas.height,
223
+ 0,
224
+ textHeight,
225
+ mapWidth,
226
+ mapHeight
227
+ );
228
+ }
229
+ for (const svg of svgs) {
230
+ try {
231
+ const clonedSvg = svg.cloneNode(true);
232
+ if (!clonedSvg.hasAttribute("width")) {
233
+ clonedSvg.setAttribute("width", String(mapWidth));
234
+ }
235
+ if (!clonedSvg.hasAttribute("height")) {
236
+ clonedSvg.setAttribute("height", String(mapHeight));
237
+ }
238
+ const svgData = new XMLSerializer().serializeToString(clonedSvg);
239
+ const svgBlob = new Blob([svgData], {
240
+ type: "image/svg+xml;charset=utf-8"
241
+ });
242
+ const url = URL.createObjectURL(svgBlob);
243
+ const img = new Image();
244
+ await new Promise((resolve, reject) => {
245
+ img.onload = () => {
246
+ ctx.drawImage(img, 0, textHeight, mapWidth, mapHeight);
247
+ URL.revokeObjectURL(url);
248
+ resolve();
249
+ };
250
+ img.onerror = () => {
251
+ URL.revokeObjectURL(url);
252
+ reject(new Error("Failed to load SVG image"));
253
+ };
254
+ img.src = url;
255
+ });
256
+ } catch (error) {
257
+ console.warn("Failed to render SVG layer:", error);
258
+ }
259
+ }
260
+ const textY = 30;
261
+ const lineHeight = 25;
262
+ ctx.fillStyle = "#000000";
263
+ ctx.font = "bold 18px Arial, sans-serif";
264
+ ctx.textAlign = "left";
265
+ ctx.textBaseline = "top";
266
+ const titleText = __privateMethod(this, _getMapTitleText, getMapTitleText_fn).call(this);
267
+ const lines = __privateMethod(this, _wrapText, wrapText_fn).call(this, ctx, titleText, mapWidth - 40, 16);
268
+ lines.forEach((line, index) => {
269
+ ctx.fillText(line, 20, textY + index * lineHeight);
270
+ });
271
+ await __privateMethod(this, _drawLegend, drawLegend_fn).call(this, ctx, textHeight);
272
+ const mimeType = format === "jpg" ? "image/jpeg" : "image/png";
273
+ const fileExtension = format === "jpg" ? "jpg" : "png";
274
+ const quality = format === "jpg" ? 0.92 : void 0;
275
+ finalCanvas.toBlob(
276
+ (blob) => {
277
+ if (!blob) {
278
+ console.warn("Failed to create blob from canvas");
279
+ return;
280
+ }
281
+ const url = URL.createObjectURL(blob);
282
+ const a = document.createElement("a");
283
+ const locationStr = this.location ? `_${this.location.replace(/,/g, "_")}` : "";
284
+ const dateRange = this.startDate && this.endDate ? `_${this.startDate.split("T")[0]}_to_${this.endDate.split("T")[0]}` : "";
285
+ const variableEntryId = getVariableEntryId(this);
286
+ const filename = `${variableEntryId || "map"}${locationStr}${dateRange}.${fileExtension}`;
287
+ a.href = url;
288
+ a.download = filename;
289
+ a.style.display = "none";
290
+ document.body.appendChild(a);
291
+ a.click();
292
+ document.body.removeChild(a);
293
+ URL.revokeObjectURL(url);
294
+ },
295
+ mimeType,
296
+ quality
297
+ );
298
+ } catch (error) {
299
+ console.error("Error exporting map as PNG:", error);
300
+ }
301
+ });
302
+ }
303
+ handlePropertyChange() {
304
+ if (!this.startDate || !this.endDate || !this.location || !this.catalogVariable) {
305
+ return;
306
+ }
307
+ __privateGet(this, _controller).jobStatusTask.run();
308
+ }
309
+ handlePlotOptionsChange() {
310
+ this.emit("terra-plot-options-change", {
311
+ detail: {
312
+ colorMapName: this.colorMapName,
313
+ opacity: this.opacity
314
+ }
315
+ });
316
+ }
317
+ connectedCallback() {
318
+ super.connectedCallback();
319
+ this.addEventListener(
320
+ "terra-time-average-map-error",
321
+ __privateGet(this, _handleMapError)
322
+ );
323
+ this.addEventListener(
324
+ "terra-plot-toolbar-export-image",
325
+ __privateGet(this, _handleExportImage)
326
+ );
327
+ }
328
+ async firstUpdated() {
329
+ __privateSet(this, _controller, new TimeAvgMapController(this));
330
+ this.intializeMap();
331
+ this._fetchVariableTask.run();
332
+ }
333
+ updated(changedProps) {
334
+ var _a, _b, _c, _d;
335
+ super.updated(changedProps);
336
+ const taskStatus = (_b = (_a = __privateGet(this, _controller)) == null ? void 0 : _a.jobStatusTask) == null ? void 0 : _b.status;
337
+ if (taskStatus === TaskStatus.PENDING && this.timeAverageMapError) {
338
+ this.timeAverageMapError = null;
339
+ }
340
+ if (taskStatus === TaskStatus.ERROR && !this.timeAverageMapError) {
341
+ const taskError = (_d = (_c = __privateGet(this, _controller)) == null ? void 0 : _c.jobStatusTask) == null ? void 0 : _d.error;
342
+ if (taskError) {
343
+ const errorDetails = extractHarmonyError(taskError);
344
+ if (errorDetails.isCancellation) {
345
+ return;
346
+ }
347
+ this.timeAverageMapError = {
348
+ code: errorDetails.code,
349
+ message: errorDetails.message,
350
+ context: errorDetails.context
351
+ };
352
+ }
353
+ }
354
+ }
355
+ disconnectedCallback() {
356
+ super.disconnectedCallback();
357
+ this.removeEventListener(
358
+ "terra-time-average-map-error",
359
+ __privateGet(this, _handleMapError)
360
+ );
361
+ this.removeEventListener(
362
+ "terra-plot-toolbar-export-image",
363
+ __privateGet(this, _handleExportImage)
364
+ );
365
+ }
366
+ async updateGeoTIFFLayer(blob) {
367
+ var _a;
368
+ const blobUrl = URL.createObjectURL(blob);
369
+ const { default: GeoTIFF } = await import("ol/source/GeoTIFF.js");
370
+ const gtSource = new GeoTIFF({
371
+ sources: [
372
+ {
373
+ url: blobUrl,
374
+ bands: [1],
375
+ nodata: this.noDataValue
376
+ }
377
+ ],
378
+ wrapX: true,
379
+ // Enable wrapping so GeoTIFF is always visible when scrolling
380
+ interpolate: false,
381
+ normalize: false
382
+ });
383
+ __privateSet(this, _gtLayer, new WebGLTileLayer({
384
+ source: gtSource
385
+ }));
386
+ if (__privateGet(this, _map)) {
387
+ __privateGet(this, _map).addLayer(__privateGet(this, _gtLayer));
388
+ if (__privateGet(this, _bordersLayer)) {
389
+ __privateGet(this, _map).removeLayer(__privateGet(this, _bordersLayer));
390
+ __privateSet(this, _bordersLayer, null);
391
+ }
392
+ await this.addBordersLayerForGeoTIFF(gtSource);
393
+ }
394
+ this.metadata = await this.fetchGeotiffMetadata(gtSource);
395
+ this.long_name = (_a = this.metadata["long_name"]) != null ? _a : "";
396
+ if (__privateGet(this, _map) && __privateGet(this, _gtLayer)) {
397
+ this.renderPixelValues(__privateGet(this, _map), __privateGet(this, _gtLayer));
398
+ this.applyColorToLayer(gtSource, this.colorMapName);
399
+ setTimeout(async () => {
400
+ var _a2;
401
+ try {
402
+ const view = await ((_a2 = __privateGet(this, _gtLayer).getSource()) == null ? void 0 : _a2.getView());
403
+ const transformedExtent = transformExtent(
404
+ view.extent,
405
+ view.projection,
406
+ __privateGet(this, _map).getView().getProjection()
407
+ );
408
+ __privateGet(this, _map).getView().fit(transformedExtent, {
409
+ padding: [50, 50, 50, 50],
410
+ duration: 300
411
+ });
412
+ } catch (error) {
413
+ console.warn("Failed to fit map to GeoTIFF extent:", error);
414
+ }
415
+ }, 500);
416
+ }
417
+ }
418
+ intializeMap() {
419
+ var _a, _b, _c;
420
+ const baseLayer = new WebGLTileLayer({
421
+ source: new OSM()
422
+ });
423
+ __privateSet(this, _graticuleLayer, new Graticule({
424
+ strokeStyle: new Stroke({
425
+ color: "rgba(0,0,0,0.2)",
426
+ width: 2,
427
+ lineDash: [0.5, 4]
428
+ }),
429
+ showLabels: true,
430
+ wrapX: false
431
+ }));
432
+ __privateSet(this, _map, new Map({
433
+ target: (_b = (_a = this.shadowRoot) == null ? void 0 : _a.getElementById("map")) != null ? _b : void 0,
434
+ layers: [baseLayer, __privateGet(this, _graticuleLayer)],
435
+ view: new View({
436
+ center: [0, 0],
437
+ zoom: 2,
438
+ projection: "EPSG:3857"
439
+ })
440
+ }));
441
+ if (__privateGet(this, _map)) {
442
+ const resizeObserver = new ResizeObserver(() => {
443
+ var _a2;
444
+ (_a2 = __privateGet(this, _map)) == null ? void 0 : _a2.updateSize();
445
+ });
446
+ const mapElement = (_c = this.shadowRoot) == null ? void 0 : _c.getElementById("map");
447
+ if (mapElement) {
448
+ resizeObserver.observe(mapElement);
449
+ }
450
+ }
451
+ }
452
+ async addBordersLayerForGeoTIFF(gtSource) {
453
+ if (!__privateGet(this, _map)) {
454
+ return;
455
+ }
456
+ let geoTiffExtent;
457
+ try {
458
+ const view = await gtSource.getView();
459
+ if (view == null ? void 0 : view.extent) {
460
+ geoTiffExtent = transformExtent(
461
+ view.extent,
462
+ view.projection,
463
+ __privateGet(this, _map).getView().getProjection()
464
+ );
465
+ }
466
+ } catch (error) {
467
+ console.warn("Could not get GeoTIFF extent for border clipping:", error);
468
+ }
469
+ const vectorSource = new VectorSource({
470
+ url: "https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/ne_10m_admin_0_countries.geojson",
471
+ format: new GeoJSON()
472
+ });
473
+ __privateSet(this, _bordersLayer, new VectorLayer({
474
+ source: vectorSource,
475
+ extent: geoTiffExtent,
476
+ style: new Style({
477
+ stroke: new Stroke({
478
+ color: "#000000",
479
+ width: 1
480
+ })
481
+ })
482
+ }));
483
+ __privateGet(this, _map).addLayer(__privateGet(this, _bordersLayer));
484
+ }
485
+ async fetchGeotiffMetadata(gtSource) {
486
+ var _a;
487
+ await gtSource.getView();
488
+ const internal = gtSource;
489
+ const gtImage = internal.sourceImagery_[0][0];
490
+ const gtMetadata = (_a = gtImage.fileDirectory) == null ? void 0 : _a.GDAL_METADATA;
491
+ const parser = new DOMParser();
492
+ const xmlDoc = parser.parseFromString(gtMetadata, "application/xml");
493
+ const items = xmlDoc.querySelectorAll("Item");
494
+ const dataObj = {};
495
+ for (let i = 0; i < items.length; i++) {
496
+ const item = items[i];
497
+ const name = item.getAttribute("name");
498
+ const value = item.textContent ? item.textContent.trim() : "";
499
+ if (name) {
500
+ dataObj[name] = value;
501
+ }
502
+ }
503
+ console.log("Data obj: ", dataObj);
504
+ return dataObj;
505
+ }
506
+ renderPixelValues(map, gtLayer) {
507
+ map.on("pointermove", (event) => {
508
+ const data = gtLayer.getData(event.pixel);
509
+ const coordinate = toLonLat(event.coordinate);
510
+ if (!data || !(data instanceof Uint8Array || data instanceof Uint8ClampedArray || data instanceof Float32Array) || isNaN(data[0]) || data[0] === 0) {
511
+ this.pixelValue = "N/A";
512
+ this.pixelCoordinates = "N/A";
513
+ return;
514
+ }
515
+ const val = Number(data[0]).toExponential(3);
516
+ const coordStr = coordinate.map((c) => c.toFixed(3)).join(", ");
517
+ this.pixelValue = val;
518
+ this.pixelCoordinates = coordStr;
519
+ });
520
+ }
521
+ // Get the fill value from the GeoTIFF file
522
+ getNoDataValue(gtSource) {
523
+ let ndv = this.noDataValue;
524
+ if (gtSource == null) {
525
+ return ndv;
526
+ }
527
+ gtSource.getView().then(() => {
528
+ var _a, _b;
529
+ const gtImage = gtSource.sourceImagery_[0][0];
530
+ ndv = parseFloat(
531
+ (_b = (_a = gtImage.fileDirectory) == null ? void 0 : _a.GDAL_NODATA) != null ? _b : this.noDataValue.toString()
532
+ );
533
+ });
534
+ return ndv;
535
+ }
536
+ async getMinMax(gtSource) {
537
+ await gtSource.getView();
538
+ const gtImage = gtSource.sourceImagery_[0][0];
539
+ const rasterData = await gtImage.readRasters({ samples: [0] });
540
+ const pixels = rasterData[0];
541
+ let min = Infinity;
542
+ let max = -Infinity;
543
+ for (let i = 0; i < pixels.length; i++) {
544
+ const val = pixels[i];
545
+ if (!isNaN(val) && val != this.getNoDataValue(gtSource)) {
546
+ if (val < min)
547
+ min = val;
548
+ if (val > max)
549
+ max = val;
550
+ }
551
+ }
552
+ return { min, max };
553
+ }
554
+ // Referencing workshop example from https://openlayers.org/workshop/en/cog/colormap.html
555
+ async getColorStops(name, min, max, steps, reverse) {
556
+ const delta = (max - min) / (steps - 1);
557
+ const stops = new Array(steps * 2);
558
+ const { default: colormap } = await import("colormap");
559
+ const colors = colormap({ colormap: name, nshades: steps, format: "rgba" });
560
+ const dataVals = [];
561
+ if (reverse) {
562
+ colors.reverse();
563
+ }
564
+ for (let i = 0; i < steps; i++) {
565
+ stops[i * 2] = min + i * delta;
566
+ stops[i * 2 + 1] = colors[i];
567
+ dataVals.push((min + i * delta).toExponential(2));
568
+ }
569
+ this.generatePalette(colors, dataVals, min, max);
570
+ return stops;
571
+ }
572
+ generatePalette(clrs, dv, min, max) {
573
+ this.legendValues = [];
574
+ for (let i = clrs.length - 1; i > 0; i--) {
575
+ const curVal = parseFloat(dv[i]);
576
+ if (curVal >= min && curVal <= max) {
577
+ this.legendValues.push({ value: dv[i], rgb: clrs[i] });
578
+ }
579
+ }
580
+ this.min = min.toExponential(3);
581
+ this.max = max.toExponential(3);
582
+ }
583
+ async applyColorToLayer(gtSource, color) {
584
+ var _a;
585
+ var { min, max } = await this.getMinMax(gtSource);
586
+ let gtStyle = {
587
+ color: [
588
+ "case",
589
+ ["==", ["band", 2], 0],
590
+ [0, 0, 0, 0],
591
+ [
592
+ "interpolate",
593
+ ["linear"],
594
+ ["band", 1],
595
+ ...await this.getColorStops(color, min, max, 72, false)
596
+ ]
597
+ ]
598
+ };
599
+ (_a = __privateGet(this, _gtLayer)) == null ? void 0 : _a.setStyle(gtStyle);
600
+ }
601
+ render() {
602
+ var _a, _b, _c, _d;
603
+ return html`
604
+ ${__privateMethod(this, _isVariableNotFound, isVariableNotFound_fn).call(this) ? html`
605
+ <terra-alert
606
+ class="no-data-alert"
607
+ variant="danger"
608
+ open
609
+ closable
610
+ >
611
+ <terra-icon
612
+ slot="icon"
613
+ name="outline-exclamation-triangle"
614
+ library="heroicons"
615
+ ></terra-icon>
616
+ The selected variable was not found in the catalog
617
+ </terra-alert>
618
+ ` : ""}
619
+ ${this.timeAverageMapError ? html`
620
+ <terra-alert
621
+ class="error-alert"
622
+ variant="danger"
623
+ open
624
+ closable
625
+ @terra-after-hide=${() => this.timeAverageMapError = null}
626
+ >
627
+ <terra-icon
628
+ slot="icon"
629
+ name="outline-exclamation-triangle"
630
+ library="heroicons"
631
+ ></terra-icon>
632
+ ${__privateMethod(this, _getErrorMessage, getErrorMessage_fn).call(this, this.timeAverageMapError)}
633
+ </terra-alert>
634
+ ` : ""}
635
+ <div class="toolbar-container">
636
+ ${cache(
637
+ this.catalogVariable ? html`<terra-plot-toolbar
638
+ dataType="geotiff"
639
+ .catalogVariable=${this.catalogVariable}
640
+ .timeSeriesData=${(_a = __privateGet(this, _controller).jobStatusTask) == null ? void 0 : _a.value}
641
+ .location=${this.location}
642
+ .startDate=${this.startDate}
643
+ .endDate=${this.endDate}
644
+ .cacheKey=${__privateGet(this, _controller).getCacheKey()}
645
+ .variableEntryId=${getVariableEntryId(this)}
646
+ @show-opacity-value=${__privateMethod(this, _handleOpacityChange, handleOpacityChange_fn)}
647
+ @show-color-map=${__privateMethod(this, _handleColorMapChange, handleColorMapChange_fn)}
648
+ @show-check-box-toggle=${__privateMethod(this, _handleCheckBoxToggle, handleCheckBoxToggle_fn)}
649
+ .pixelValue=${this.pixelValue}
650
+ .pixelCoordinates=${this.pixelCoordinates}
651
+ show-date-range
652
+ .colormaps=${this.colormaps}
653
+ .colorMapName=${this.colorMapName}
654
+ .opacity=${this.opacity}
655
+ ></terra-plot-toolbar>` : html`<div class="spacer"></div>`
656
+ )}
657
+ </div>
658
+
659
+ <div class="map-container">
660
+ <div id="map">
661
+ <div id="settings">
662
+ <div>
663
+ <strong>Value:</strong>
664
+ <span id="pixelValue">${this.pixelValue}</span>
665
+ </div>
666
+
667
+ <div>
668
+ <strong>Coordinate: </strong>
669
+ <span id="cursorCoordinates"
670
+ >${this.pixelCoordinates}</span
671
+ >
672
+ </div>
673
+ </div>
674
+
675
+ <div id="legend">
676
+ <div class="stats" id="statsMax">${this.max}</div>
677
+ <div class="palette">
678
+ ${this.legendValues.map(
679
+ (value) => html`
680
+ <div
681
+ class="color-box"
682
+ style="background-color: rgba(${value.rgb})"
683
+ title="${value.value}"
684
+ ></div>
685
+ `
686
+ )}
687
+ </div>
688
+ <div class="stats" id="statsMin">${this.min}</div>
689
+ </div>
690
+ </div>
691
+ </div>
692
+
693
+ ${this.harmonyJobId ? html`
694
+ <div class="harmony-job-link">
695
+ <a
696
+ href=${`https://harmony${this.environment === "uat" /* UAT */ ? ".uat" : ""}.earthdata.nasa.gov/jobs/${this.harmonyJobId}`}
697
+ target="_blank"
698
+ rel="noopener noreferrer"
699
+ >
700
+ Request Status: ${this.harmonyJobId}
701
+ </a>
702
+ </div>
703
+ ` : nothing}
704
+
705
+ <!-- Floating Popover for Plot -->
706
+ ${this.toggleState && this.plotData && Object.keys(this.plotData).length && this.layout && Object.keys(this.layout).length ? html`
707
+ <div class="plot-popover ${this.minimized ? "minimized" : ""}">
708
+ <terra-plot
709
+ style="display: ${this.minimized ? "none" : "block"}"
710
+ .data=${this.plotData}
711
+ plotTitle="Data Profile"
712
+ .layout=${this.layout}
713
+ >
714
+ </terra-plot>
715
+
716
+ <terra-button
717
+ class="minify-btn"
718
+ @click=${__privateMethod(this, _minifyMapPopover, minifyMapPopover_fn)}
719
+ >
720
+ ${this.minimized ? "Restore" : "Minimize"}
721
+ </terra-button>
722
+ </div>
723
+ ` : null}
724
+
725
+ <dialog
726
+ ?open=${((_c = (_b = __privateGet(this, _controller)) == null ? void 0 : _b.jobStatusTask) == null ? void 0 : _c.status) === TaskStatus.PENDING}
727
+ >
728
+ <terra-loader indeterminate variant="orbit"></terra-loader>
729
+ <p>Plotting ${(_d = this.catalogVariable) == null ? void 0 : _d.dataFieldId}&hellip;</p>
730
+ <terra-button @click=${__privateMethod(this, _abortJobStatusTask, abortJobStatusTask_fn)}>Cancel</terra-button>
731
+ </dialog>
732
+ `;
733
+ }
734
+ };
735
+ _controller = new WeakMap();
736
+ _map = new WeakMap();
737
+ _gtLayer = new WeakMap();
738
+ _bordersLayer = new WeakMap();
739
+ _vectorSource = new WeakMap();
740
+ _vectorLayer = new WeakMap();
741
+ _draw = new WeakMap();
742
+ _graticuleLayer = new WeakMap();
743
+ _handleMapError = new WeakMap();
744
+ _handleExportImage = new WeakMap();
745
+ _drawLegend = new WeakSet();
746
+ drawLegend_fn = async function(ctx, textHeight) {
747
+ var _a, _b;
748
+ const legendElement = (_a = this.shadowRoot) == null ? void 0 : _a.getElementById("legend");
749
+ if (!legendElement) {
750
+ return;
751
+ }
752
+ const mapContainer = (_b = this.shadowRoot) == null ? void 0 : _b.getElementById("map");
753
+ if (!mapContainer) {
754
+ return;
755
+ }
756
+ const legendRect = legendElement.getBoundingClientRect();
757
+ const mapRect = mapContainer.getBoundingClientRect();
758
+ const legendX = legendRect.left - mapRect.left;
759
+ const legendY = legendRect.top - mapRect.top + textHeight;
760
+ const legendWidth = legendRect.width;
761
+ const legendHeight = legendRect.height;
762
+ ctx.fillStyle = "#ffffff";
763
+ ctx.fillRect(legendX, legendY, legendWidth, legendHeight);
764
+ ctx.strokeStyle = "#cccccc";
765
+ ctx.lineWidth = 1;
766
+ ctx.strokeRect(legendX, legendY, legendWidth, legendHeight);
767
+ const computedStyle = window.getComputedStyle(legendElement);
768
+ const fontSize = parseFloat(computedStyle.fontSize) || 12;
769
+ const fontFamily = computedStyle.fontFamily || "monospace";
770
+ const padding = parseFloat(computedStyle.padding) || 8;
771
+ const statsMax = legendElement.querySelector("#statsMax");
772
+ if (statsMax) {
773
+ ctx.fillStyle = "#000000";
774
+ ctx.font = `${fontSize}px ${fontFamily}`;
775
+ ctx.textAlign = "center";
776
+ ctx.textBaseline = "top";
777
+ ctx.fillText(
778
+ statsMax.textContent || "",
779
+ legendX + legendWidth / 2,
780
+ legendY + padding
781
+ );
782
+ }
783
+ const palette = legendElement.querySelector(".palette");
784
+ if (palette) {
785
+ const paletteRect = palette.getBoundingClientRect();
786
+ const paletteX = paletteRect.left - mapRect.left;
787
+ const paletteY = paletteRect.top - mapRect.top + textHeight;
788
+ const paletteWidth = paletteRect.width;
789
+ const colorDivs = Array.from(
790
+ palette.querySelectorAll("div")
791
+ );
792
+ let currentY = paletteY;
793
+ for (const div of colorDivs) {
794
+ const divRect = div.getBoundingClientRect();
795
+ const divHeight = divRect.height;
796
+ const style = div.getAttribute("style") || "";
797
+ const bgColorMatch = style.match(
798
+ /background-color:\s*rgba?\(([^)]+)\)/
799
+ );
800
+ if (bgColorMatch) {
801
+ const colorStr = bgColorMatch[1];
802
+ const [r, g, b, a = 1] = colorStr.split(",").map((s) => parseFloat(s.trim()));
803
+ ctx.fillStyle = `rgba(${r}, ${g}, ${b}, ${a})`;
804
+ ctx.fillRect(paletteX, currentY, paletteWidth, divHeight);
805
+ }
806
+ currentY += divHeight;
807
+ }
808
+ }
809
+ const statsMin = legendElement.querySelector("#statsMin");
810
+ if (statsMin) {
811
+ ctx.fillStyle = "#000000";
812
+ ctx.font = `${fontSize}px ${fontFamily}`;
813
+ ctx.textAlign = "center";
814
+ ctx.textBaseline = "bottom";
815
+ ctx.fillText(
816
+ statsMin.textContent || "",
817
+ legendX + legendWidth / 2,
818
+ legendY + legendHeight - padding
819
+ );
820
+ }
821
+ };
822
+ _getMapTitleText = new WeakSet();
823
+ getMapTitleText_fn = function() {
824
+ if (!this.catalogVariable) {
825
+ return "Time Averaged Map";
826
+ }
827
+ const parts = [];
828
+ parts.push("Time Averaged Map of");
829
+ if (this.catalogVariable.dataFieldLongName) {
830
+ parts.push(this.catalogVariable.dataFieldLongName);
831
+ }
832
+ if (this.catalogVariable.dataProductTimeInterval && this.catalogVariable.dataProductTimeInterval.toLowerCase() !== "not applicable") {
833
+ parts.push(this.catalogVariable.dataProductTimeInterval);
834
+ }
835
+ if (this.catalogVariable.dataProductSpatialResolution && this.catalogVariable.dataProductSpatialResolution.toLowerCase() !== "not applicable") {
836
+ parts.push(this.catalogVariable.dataProductSpatialResolution);
837
+ }
838
+ if (this.catalogVariable.dataProductShortName) {
839
+ let datasetInfo = `[${this.catalogVariable.dataProductShortName}`;
840
+ if (this.catalogVariable.dataProductVersion) {
841
+ datasetInfo += ` v${this.catalogVariable.dataProductVersion}`;
842
+ }
843
+ datasetInfo += "]";
844
+ parts.push(datasetInfo);
845
+ }
846
+ if (this.startDate && this.endDate) {
847
+ const startFormatted = formatDate(this.startDate);
848
+ const endFormatted = formatDate(this.endDate);
849
+ parts.push(`over ${startFormatted} - ${endFormatted}`);
850
+ }
851
+ return parts.join(" ");
852
+ };
853
+ _wrapText = new WeakSet();
854
+ wrapText_fn = function(ctx, text, maxWidth, fontSize) {
855
+ ctx.font = `bold ${fontSize}px Arial, sans-serif`;
856
+ const words = text.split(" ");
857
+ const lines = [];
858
+ let currentLine = words[0];
859
+ for (let i = 1; i < words.length; i++) {
860
+ const word = words[i];
861
+ const width = ctx.measureText(currentLine + " " + word).width;
862
+ if (width < maxWidth) {
863
+ currentLine += " " + word;
864
+ } else {
865
+ lines.push(currentLine);
866
+ currentLine = word;
867
+ }
868
+ }
869
+ lines.push(currentLine);
870
+ return lines;
871
+ };
872
+ _handleOpacityChange = new WeakSet();
873
+ handleOpacityChange_fn = function(e) {
874
+ this.opacity = e.detail;
875
+ if (__privateGet(this, _gtLayer)) {
876
+ __privateGet(this, _gtLayer).setOpacity(this.opacity);
877
+ }
878
+ };
879
+ _handleColorMapChange = new WeakSet();
880
+ handleColorMapChange_fn = function(e) {
881
+ const selectedColormap = e.detail;
882
+ if (__privateGet(this, _gtLayer) && __privateGet(this, _gtLayer).getSource()) {
883
+ this.colorMapName = selectedColormap;
884
+ this.applyColorToLayer(__privateGet(this, _gtLayer).getSource(), this.colorMapName);
885
+ }
886
+ };
887
+ _abortJobStatusTask = new WeakSet();
888
+ abortJobStatusTask_fn = function() {
889
+ var _a;
890
+ (_a = __privateGet(this, _controller).jobStatusTask) == null ? void 0 : _a.abort("Cancelled time averaged map request");
891
+ };
892
+ _getNumberOfPoints = new WeakSet();
893
+ getNumberOfPoints_fn = function(line) {
894
+ const length = getLength(line);
895
+ let pointCount;
896
+ if (length > 100) {
897
+ pointCount = length / 1e3 / 60;
898
+ } else {
899
+ pointCount = length / 10;
900
+ }
901
+ return Math.max(2, Math.round(pointCount));
902
+ };
903
+ _quantizeLineString = new WeakSet();
904
+ quantizeLineString_fn = function(geo) {
905
+ const numPoints = __privateMethod(this, _getNumberOfPoints, getNumberOfPoints_fn).call(this, geo);
906
+ const points = [];
907
+ for (let i = 0; i <= numPoints; i++) {
908
+ const fraction = i / numPoints;
909
+ points.push(geo.getCoordinateAt(fraction));
910
+ }
911
+ return points;
912
+ };
913
+ _minifyMapPopover = new WeakSet();
914
+ minifyMapPopover_fn = function() {
915
+ this.minimized = !this.minimized;
916
+ };
917
+ _cleanUpMap = new WeakSet();
918
+ cleanUpMap_fn = function() {
919
+ var _a;
920
+ this.toggleState = false;
921
+ if (__privateGet(this, _map) && __privateGet(this, _draw) && __privateGet(this, _vectorLayer)) {
922
+ __privateGet(this, _map).removeInteraction(__privateGet(this, _draw));
923
+ __privateGet(this, _map).removeLayer(__privateGet(this, _vectorLayer));
924
+ }
925
+ (_a = __privateGet(this, _vectorSource)) == null ? void 0 : _a.clear();
926
+ __privateSet(this, _draw, null);
927
+ __privateSet(this, _vectorLayer, null);
928
+ __privateSet(this, _vectorSource, null);
929
+ };
930
+ _getRasterValueAtCoordinate = new WeakSet();
931
+ getRasterValueAtCoordinate_fn = function(coord) {
932
+ if (!__privateGet(this, _map) || !__privateGet(this, _gtLayer))
933
+ return NaN;
934
+ const pixel = __privateGet(this, _map).getPixelFromCoordinate(coord);
935
+ if (!pixel)
936
+ return NaN;
937
+ const data = __privateGet(this, _gtLayer).getData(pixel);
938
+ if (!data)
939
+ return NaN;
940
+ if (data instanceof Uint8Array || data instanceof Uint8ClampedArray || data instanceof Float32Array) {
941
+ return !isNaN(data[0]) ? data[0] : NaN;
942
+ }
943
+ if (data instanceof DataView) {
944
+ const val = data.getFloat32(0, true);
945
+ return !isNaN(val) ? val : NaN;
946
+ }
947
+ return NaN;
948
+ };
949
+ _handleCheckBoxToggle = new WeakSet();
950
+ handleCheckBoxToggle_fn = function(e) {
951
+ var isToggled = e.detail;
952
+ if (isToggled) {
953
+ this.toggleState = isToggled;
954
+ __privateSet(this, _vectorSource, new VectorSource({ wrapX: false }));
955
+ __privateSet(this, _vectorLayer, new VectorLayer({
956
+ source: __privateGet(this, _vectorSource)
957
+ }));
958
+ __privateSet(this, _draw, new Draw({
959
+ source: __privateGet(this, _vectorSource),
960
+ type: "LineString"
961
+ }));
962
+ if (__privateGet(this, _map)) {
963
+ __privateGet(this, _map).addLayer(__privateGet(this, _vectorLayer));
964
+ __privateGet(this, _map).addInteraction(__privateGet(this, _draw));
965
+ __privateGet(this, _draw).on("drawend", (event) => {
966
+ var _a;
967
+ const line = event.feature.getGeometry();
968
+ const coords = __privateMethod(this, _quantizeLineString, quantizeLineString_fn).call(this, line);
969
+ const pointFeatures = coords.map(
970
+ (coord) => new Feature({
971
+ geometry: new Point(coord)
972
+ })
973
+ );
974
+ (_a = __privateGet(this, _vectorSource)) == null ? void 0 : _a.addFeatures(pointFeatures);
975
+ const rasterValues = coords.map(
976
+ (coord) => __privateMethod(this, _getRasterValueAtCoordinate, getRasterValueAtCoordinate_fn).call(this, coord)
977
+ );
978
+ const xValues = coords.map((_, index) => index);
979
+ const lonLatCoords = coords.map((coord) => {
980
+ const [lon, lat] = toLonLat(coord);
981
+ const val = __privateMethod(this, _getRasterValueAtCoordinate, getRasterValueAtCoordinate_fn).call(this, coord);
982
+ const rastervalue = !isNaN(val) ? val.toExponential(4) : "N/A";
983
+ return [
984
+ parseFloat(lon.toFixed(2)),
985
+ parseFloat(lat.toFixed(2)),
986
+ rastervalue
987
+ ];
988
+ });
989
+ const hoverTexts = lonLatCoords.map((coord, idx) => {
990
+ const x = idx;
991
+ const value = coord[2];
992
+ return `Index: ${x}<br>Value: ${value}<br>Coordinates: [${coord[0]}, ${coord[1]}]`;
993
+ });
994
+ this.plotData = [
995
+ {
996
+ x: xValues,
997
+ y: rasterValues,
998
+ text: hoverTexts,
999
+ hoverinfo: "text",
1000
+ type: "scatter",
1001
+ mode: "lines+markers",
1002
+ line: { color: "blue" }
1003
+ }
1004
+ ];
1005
+ this.layout = {
1006
+ title: "Data Profile",
1007
+ xaxis: {
1008
+ title: "Point Index"
1009
+ },
1010
+ yaxis: {
1011
+ title: `Cloud Coverage (${this.metadata["units"]})`,
1012
+ tickformat: ".2e"
1013
+ }
1014
+ };
1015
+ });
1016
+ }
1017
+ } else {
1018
+ __privateMethod(this, _cleanUpMap, cleanUpMap_fn).call(this);
1019
+ }
1020
+ };
1021
+ _isVariableNotFound = new WeakSet();
1022
+ isVariableNotFound_fn = function() {
1023
+ const variableTaskStatus = this._fetchVariableTask.status;
1024
+ if (variableTaskStatus !== TaskStatus.COMPLETE) {
1025
+ return false;
1026
+ }
1027
+ const hasVariableRequest = Boolean(this.collection && this.variable);
1028
+ return hasVariableRequest && !this.catalogVariable;
1029
+ };
1030
+ _getErrorMessage = new WeakSet();
1031
+ getErrorMessage_fn = function(error) {
1032
+ return formatHarmonyErrorMessage(error);
1033
+ };
1034
+ TerraTimeAverageMap.styles = [component_styles_default, time_average_map_styles_default];
1035
+ TerraTimeAverageMap.dependencies = {
1036
+ "terra-button": TerraButton,
1037
+ "terra-icon": TerraIcon,
1038
+ "terra-plot-toolbar": TerraPlotToolbar,
1039
+ "terra-loader": TerraLoader,
1040
+ "terra-plot": TerraPlot,
1041
+ "terra-alert": TerraAlert
1042
+ };
1043
+ __decorateClass([
1044
+ property({ reflect: true })
1045
+ ], TerraTimeAverageMap.prototype, "collection", 2);
1046
+ __decorateClass([
1047
+ property({ reflect: true })
1048
+ ], TerraTimeAverageMap.prototype, "variable", 2);
1049
+ __decorateClass([
1050
+ property({ attribute: "start-date", reflect: true })
1051
+ ], TerraTimeAverageMap.prototype, "startDate", 2);
1052
+ __decorateClass([
1053
+ property({ attribute: "end-date", reflect: true })
1054
+ ], TerraTimeAverageMap.prototype, "endDate", 2);
1055
+ __decorateClass([
1056
+ property({ reflect: true })
1057
+ ], TerraTimeAverageMap.prototype, "location", 2);
1058
+ __decorateClass([
1059
+ property({ attribute: "bearer-token", reflect: false })
1060
+ ], TerraTimeAverageMap.prototype, "bearerToken", 2);
1061
+ __decorateClass([
1062
+ property({ type: String })
1063
+ ], TerraTimeAverageMap.prototype, "long_name", 2);
1064
+ __decorateClass([
1065
+ property({ type: String, attribute: "color-map-name", reflect: true })
1066
+ ], TerraTimeAverageMap.prototype, "colorMapName", 2);
1067
+ __decorateClass([
1068
+ property({ type: Number })
1069
+ ], TerraTimeAverageMap.prototype, "opacity", 2);
1070
+ __decorateClass([
1071
+ state()
1072
+ ], TerraTimeAverageMap.prototype, "catalogVariable", 2);
1073
+ __decorateClass([
1074
+ state()
1075
+ ], TerraTimeAverageMap.prototype, "pixelValue", 2);
1076
+ __decorateClass([
1077
+ state()
1078
+ ], TerraTimeAverageMap.prototype, "pixelCoordinates", 2);
1079
+ __decorateClass([
1080
+ state()
1081
+ ], TerraTimeAverageMap.prototype, "metadata", 2);
1082
+ __decorateClass([
1083
+ state()
1084
+ ], TerraTimeAverageMap.prototype, "toggleState", 2);
1085
+ __decorateClass([
1086
+ state()
1087
+ ], TerraTimeAverageMap.prototype, "minimized", 2);
1088
+ __decorateClass([
1089
+ state()
1090
+ ], TerraTimeAverageMap.prototype, "noDataValue", 2);
1091
+ __decorateClass([
1092
+ state()
1093
+ ], TerraTimeAverageMap.prototype, "min", 2);
1094
+ __decorateClass([
1095
+ state()
1096
+ ], TerraTimeAverageMap.prototype, "max", 2);
1097
+ __decorateClass([
1098
+ state()
1099
+ ], TerraTimeAverageMap.prototype, "legendValues", 2);
1100
+ __decorateClass([
1101
+ state()
1102
+ ], TerraTimeAverageMap.prototype, "timeAverageMapError", 2);
1103
+ __decorateClass([
1104
+ state()
1105
+ ], TerraTimeAverageMap.prototype, "colormaps", 2);
1106
+ __decorateClass([
1107
+ state()
1108
+ ], TerraTimeAverageMap.prototype, "plotData", 2);
1109
+ __decorateClass([
1110
+ state()
1111
+ ], TerraTimeAverageMap.prototype, "layout", 2);
1112
+ __decorateClass([
1113
+ state()
1114
+ ], TerraTimeAverageMap.prototype, "harmonyJobId", 2);
1115
+ __decorateClass([
1116
+ watch(["startDate", "endDate", "location", "catalogVariable"])
1117
+ ], TerraTimeAverageMap.prototype, "handlePropertyChange", 1);
1118
+ __decorateClass([
1119
+ watch(["colorMapName", "opacity"])
1120
+ ], TerraTimeAverageMap.prototype, "handlePlotOptionsChange", 1);
1121
+
1122
+ export {
1123
+ TerraTimeAverageMap
1124
+ };