@nasa-terra/components 0.0.203 → 0.0.205

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 (1457) hide show
  1. package/cdn/apis/harmony.api.d.ts +5 -0
  2. package/cdn/chunks/GeoTIFF.CENKOG7R.js +19979 -0
  3. package/cdn/chunks/chunk.2232XEJQ.js +29 -0
  4. package/cdn/chunks/chunk.2B2TSVNY.js +978 -0
  5. package/cdn/chunks/chunk.2NNYMNZ5.js +29 -0
  6. package/cdn/chunks/chunk.2NX4H2BN.js +19 -0
  7. package/cdn/chunks/chunk.2WBW37NH.js +19 -0
  8. package/cdn/chunks/chunk.2X7DAD43.js +29 -0
  9. package/cdn/chunks/chunk.2XT2DXDS.js +528 -0
  10. package/cdn/chunks/chunk.34A6RU6E.js +29 -0
  11. package/cdn/chunks/chunk.3A3Y63MA.js +19 -0
  12. package/cdn/chunks/chunk.3JB5ESJU.js +8969 -0
  13. package/cdn/chunks/chunk.3TH37PLU.js +1121 -0
  14. package/cdn/chunks/chunk.3XHPRPKJ.js +1009 -0
  15. package/cdn/chunks/chunk.4FAAL7CU.js +897 -0
  16. package/cdn/chunks/chunk.4JTU674G.js +48 -0
  17. package/cdn/chunks/chunk.4KBZ7BIR.js +29 -0
  18. package/cdn/chunks/chunk.4PDH3KAH.js +1945 -0
  19. package/cdn/chunks/chunk.4RS5WH4G.js +19 -0
  20. package/cdn/chunks/chunk.4W7HENDQ.js +19 -0
  21. package/cdn/chunks/chunk.5256OMFI.js +62 -0
  22. package/cdn/chunks/chunk.577EXZQP.js +19 -0
  23. package/cdn/chunks/chunk.5DIIZV4K.js +791 -0
  24. package/cdn/chunks/chunk.5DIVPJOJ.js +1653 -0
  25. package/cdn/chunks/chunk.5F22YVKZ.js +19 -0
  26. package/cdn/chunks/chunk.5GC6XXMO.js +19 -0
  27. package/cdn/chunks/chunk.5GD3GQER.js +33 -0
  28. package/cdn/chunks/chunk.5JGHWKZV.js +38 -0
  29. package/cdn/chunks/chunk.5MCRMJ7W.js +110 -0
  30. package/cdn/chunks/chunk.5MFAIDYF.js +19 -0
  31. package/cdn/chunks/chunk.5QQP4HY5.js +29 -0
  32. package/cdn/chunks/chunk.5SGSESUV.js +39 -0
  33. package/cdn/chunks/chunk.5T32ADMR.js +32 -0
  34. package/cdn/chunks/chunk.5TUINKG3.js +19 -0
  35. package/cdn/chunks/chunk.5Z5FTYHQ.js +29 -0
  36. package/cdn/chunks/chunk.64ZLB3XD.js +37 -0
  37. package/cdn/chunks/chunk.67MZVSO7.js +234 -0
  38. package/cdn/chunks/chunk.6KW23GBD.js +3035 -0
  39. package/cdn/chunks/chunk.6NU4LT46.js +189 -0
  40. package/cdn/chunks/chunk.6ONOP4ID.js +29 -0
  41. package/cdn/chunks/chunk.6RBN3R3S.js +19 -0
  42. package/cdn/chunks/chunk.6RVC4QTE.js +19 -0
  43. package/cdn/chunks/chunk.6VGVAUYK.js +256 -0
  44. package/cdn/chunks/chunk.6XBVIYCV.js +32 -0
  45. package/cdn/chunks/chunk.76VAMCFM.js +824 -0
  46. package/cdn/chunks/chunk.7FTE5V2B.js +19 -0
  47. package/cdn/chunks/chunk.7OFUJKBW.js +30 -0
  48. package/cdn/chunks/chunk.7RUFZ7VF.js +475 -0
  49. package/cdn/chunks/chunk.A4KWAYQH.js +4980 -0
  50. package/cdn/chunks/chunk.A63JCTKT.js +19 -0
  51. package/cdn/chunks/chunk.AQ5OKPLZ.js +19 -0
  52. package/cdn/chunks/chunk.AQ5T22QG.js +41 -0
  53. package/cdn/chunks/chunk.ASGNUKTS.js +1131 -0
  54. package/cdn/chunks/chunk.AUWT3HKD.js +940 -0
  55. package/cdn/chunks/chunk.BD5JLOM4.js +357 -0
  56. package/cdn/chunks/chunk.BL2T5FVE.js +10 -0
  57. package/cdn/chunks/chunk.BNIVIVSF.js +2544 -0
  58. package/cdn/chunks/chunk.BPTXUG3W.js +35 -0
  59. package/cdn/chunks/chunk.BQPBQZFS.js +360 -0
  60. package/cdn/chunks/chunk.BYBKLA6W.js +255 -0
  61. package/cdn/chunks/chunk.CHNYNA6A.js +19 -0
  62. package/cdn/chunks/chunk.CISSBK6B.js +1820 -0
  63. package/cdn/chunks/chunk.CN3HAOBC.js +83 -0
  64. package/cdn/chunks/chunk.CO3P3PQN.js +19 -0
  65. package/cdn/chunks/chunk.CSF2PMFW.js +1075 -0
  66. package/cdn/chunks/chunk.CT6JWWV2.js +93 -0
  67. package/cdn/chunks/chunk.CY2NA7DX.js +1040 -0
  68. package/cdn/chunks/chunk.D2OCF56Z.js +74 -0
  69. package/cdn/chunks/chunk.D3WDJ4SS.js +149 -0
  70. package/cdn/chunks/chunk.D52LQ4J3.js +19 -0
  71. package/cdn/chunks/chunk.D5OYZFRL.js +134 -0
  72. package/cdn/chunks/chunk.D6W64PXN.js +19 -0
  73. package/cdn/chunks/chunk.D7YRDTVS.js +134 -0
  74. package/cdn/chunks/chunk.DLBLZUXI.js +19 -0
  75. package/cdn/chunks/chunk.DMAOIRXE.js +19 -0
  76. package/cdn/chunks/chunk.E2RZP3XA.js +19 -0
  77. package/cdn/chunks/chunk.E6423VVS.js +47 -0
  78. package/cdn/chunks/chunk.EAUBUUN5.js +32 -0
  79. package/cdn/chunks/chunk.EBGQWXBG.js +19 -0
  80. package/cdn/chunks/chunk.EDPOC2S3.js +29 -0
  81. package/cdn/chunks/chunk.EH63H56Z.js +333 -0
  82. package/cdn/chunks/chunk.EIAV6I5D.js +600 -0
  83. package/cdn/chunks/chunk.EOTDTPZM.js +259 -0
  84. package/cdn/chunks/chunk.EP6PSBZE.js +100 -0
  85. package/cdn/chunks/chunk.EVAUERXR.js +431 -0
  86. package/cdn/chunks/chunk.F2DLSNNG.js +625 -0
  87. package/cdn/chunks/chunk.F6FVKFVH.js +60 -0
  88. package/cdn/chunks/chunk.FEIRWXAI.js +34 -0
  89. package/cdn/chunks/chunk.FK5JYFNX.js +29 -0
  90. package/cdn/chunks/chunk.FP2ISOJN.js +106 -0
  91. package/cdn/chunks/chunk.FRGR3SUX.js +19 -0
  92. package/cdn/chunks/chunk.G2FP3NMR.js +32 -0
  93. package/cdn/chunks/chunk.G4RHOTZM.js +19 -0
  94. package/cdn/chunks/chunk.G56LMKFK.js +190 -0
  95. package/cdn/chunks/chunk.GAYO2WF7.js +810 -0
  96. package/cdn/chunks/chunk.GGKAPJYB.js +4089 -0
  97. package/cdn/chunks/chunk.GGRHSJRY.js +278 -0
  98. package/cdn/chunks/chunk.GMXOAOYE.js +897 -0
  99. package/cdn/chunks/chunk.GPTTHV22.js +19 -0
  100. package/cdn/chunks/chunk.GSM3UO7L.js +125 -0
  101. package/cdn/chunks/chunk.GUDMVVPM.js +29 -0
  102. package/cdn/chunks/chunk.GWGONIHM.js +621 -0
  103. package/cdn/chunks/chunk.GXLMJLQN.js +19 -0
  104. package/cdn/chunks/chunk.H3M3UFJW.js +225 -0
  105. package/cdn/chunks/chunk.H4CIEYCI.js +274 -0
  106. package/cdn/chunks/chunk.HAMWPWKH.js +536 -0
  107. package/cdn/chunks/chunk.HJX5NP2U.js +49 -0
  108. package/cdn/chunks/chunk.HUS54CD5.js +152 -0
  109. package/cdn/chunks/chunk.HV7OZEJM.js +37 -0
  110. package/cdn/chunks/chunk.HVZFV4RK.js +271 -0
  111. package/cdn/chunks/chunk.I2EO4UEA.js +128 -0
  112. package/cdn/chunks/chunk.I2S4BY2H.js +19 -0
  113. package/cdn/chunks/chunk.IBOPN3BA.js +74 -0
  114. package/cdn/chunks/chunk.IIVOE5EV.js +34 -0
  115. package/cdn/chunks/chunk.ILWTJYAG.js +19 -0
  116. package/cdn/chunks/chunk.IMCWFOML.js +132 -0
  117. package/cdn/chunks/chunk.IPQAZBW5.js +33 -0
  118. package/cdn/chunks/chunk.IWKAVEX2.js +521 -0
  119. package/cdn/chunks/chunk.IXCWTH7X.js +19 -0
  120. package/cdn/chunks/chunk.J2O5J6LC.js +33 -0
  121. package/cdn/chunks/chunk.J665CST2.js +32 -0
  122. package/cdn/chunks/chunk.J7VOBHYB.js +29 -0
  123. package/cdn/chunks/chunk.JRHREVZG.js +195 -0
  124. package/cdn/chunks/chunk.JRT7GG7P.js +193 -0
  125. package/cdn/chunks/chunk.JZBAAUKG.js +37 -0
  126. package/cdn/chunks/chunk.K6JQEUEF.js +855 -0
  127. package/cdn/chunks/chunk.KBU6MR53.js +19 -0
  128. package/cdn/chunks/chunk.KH6TDNWG.js +32 -0
  129. package/cdn/chunks/chunk.KKACL6TT.js +19 -0
  130. package/cdn/chunks/chunk.KORCC6ZC.js +136 -0
  131. package/cdn/chunks/chunk.KOZYPVDG.js +29 -0
  132. package/cdn/chunks/chunk.KRVDOVGU.js +27 -0
  133. package/cdn/chunks/chunk.KVNYSD7J.js +35 -0
  134. package/cdn/chunks/chunk.KVY6HP36.js +504 -0
  135. package/cdn/chunks/chunk.KYTQLAV4.js +33 -0
  136. package/cdn/chunks/chunk.L2JTE4GG.js +29 -0
  137. package/cdn/chunks/chunk.L3IVPHBN.js +29 -0
  138. package/cdn/chunks/chunk.L3RRPSVD.js +310 -0
  139. package/cdn/chunks/chunk.LA6TV4TX.js +231 -0
  140. package/cdn/chunks/chunk.LFASDJBV.js +19 -0
  141. package/cdn/chunks/chunk.LFKTPFJU.js +19 -0
  142. package/cdn/chunks/chunk.LFL3PUXL.js +78 -0
  143. package/cdn/chunks/chunk.LI42WZVM.js +19 -0
  144. package/cdn/chunks/chunk.LNONJFUN.js +19 -0
  145. package/cdn/chunks/chunk.LUKHK72N.js +1038 -0
  146. package/cdn/chunks/chunk.M3QGLBMX.js +256 -0
  147. package/cdn/chunks/chunk.M57M7AQ5.js +19 -0
  148. package/cdn/chunks/chunk.MC7GK7JH.js +36 -0
  149. package/cdn/chunks/chunk.MC7JQJRG.js +32 -0
  150. package/cdn/chunks/chunk.ML5BEAMW.js +276 -0
  151. package/cdn/chunks/chunk.MMF6FZHE.js +19 -0
  152. package/cdn/chunks/chunk.MO4YNF4J.js +29 -0
  153. package/cdn/chunks/chunk.MUSKX3GU.js +138 -0
  154. package/cdn/chunks/chunk.N7GDICRN.js +568 -0
  155. package/cdn/chunks/chunk.NDYEK3K4.js +19 -0
  156. package/cdn/chunks/chunk.NHZJYK2Q.js +111 -0
  157. package/cdn/chunks/chunk.NRLNKN7I.js +17 -0
  158. package/cdn/chunks/chunk.NSKILA2A.js +29 -0
  159. package/cdn/chunks/chunk.NWO2MF5T.js +375 -0
  160. package/cdn/chunks/chunk.NX7VOYQH.js +610 -0
  161. package/cdn/chunks/chunk.NZA757GX.js +60 -0
  162. package/cdn/chunks/chunk.O2NOKPSY.js +169 -0
  163. package/cdn/chunks/chunk.OIOVBL5M.js +32 -0
  164. package/cdn/chunks/chunk.OSNWOWQ2.js +2337 -0
  165. package/cdn/chunks/chunk.OSRGCUJJ.js +891 -0
  166. package/cdn/chunks/chunk.OVC7EVR4.js +32 -0
  167. package/cdn/chunks/chunk.PEGHDN3D.js +32 -0
  168. package/cdn/chunks/chunk.PKU5OUHL.js +19 -0
  169. package/cdn/chunks/chunk.PVAQWFRB.js +224 -0
  170. package/cdn/chunks/chunk.PVNZZZCV.js +1307 -0
  171. package/cdn/chunks/chunk.QBDCDA3E.js +754 -0
  172. package/cdn/chunks/chunk.QDRW3JBM.js +113 -0
  173. package/cdn/chunks/chunk.QFRFT4W5.js +19 -0
  174. package/cdn/chunks/chunk.QJPYGHSA.js +29 -0
  175. package/cdn/chunks/chunk.QN4G5N5L.js +591 -0
  176. package/cdn/chunks/chunk.QQYFIC2N.js +19 -0
  177. package/cdn/chunks/chunk.QR6SCWOR.js +19 -0
  178. package/cdn/chunks/chunk.QRGGKLJQ.js +29 -0
  179. package/cdn/chunks/chunk.QSX2ASPV.js +36 -0
  180. package/cdn/chunks/chunk.QV7MGHUO.js +32 -0
  181. package/cdn/chunks/chunk.QYLVSRAZ.js +442 -0
  182. package/cdn/chunks/chunk.R6TDRJ2T.js +28 -0
  183. package/cdn/chunks/chunk.RRQO6C7V.js +208 -0
  184. package/cdn/chunks/chunk.RRT5M4B3.js +104 -0
  185. package/cdn/chunks/chunk.RZNXY5DA.js +85 -0
  186. package/cdn/chunks/chunk.S2MHJ2BL.js +529 -0
  187. package/cdn/chunks/chunk.S2P2KBX3.js +19 -0
  188. package/cdn/chunks/chunk.S5UFNVHZ.js +1768 -0
  189. package/cdn/chunks/chunk.SAMOMNBR.js +32 -0
  190. package/cdn/chunks/chunk.SPWHG3FQ.js +36 -0
  191. package/cdn/chunks/chunk.SRIL2GZR.js +19 -0
  192. package/cdn/chunks/chunk.T32DCJPK.js +33 -0
  193. package/cdn/chunks/chunk.T3YLYNOF.js +2977 -0
  194. package/cdn/chunks/chunk.T7754SP4.js +33 -0
  195. package/cdn/chunks/chunk.T7KRTL2U.js +19 -0
  196. package/cdn/chunks/chunk.TAY4BUTR.js +92 -0
  197. package/cdn/chunks/chunk.TBU3QGJR.js +29 -0
  198. package/cdn/chunks/chunk.TEEU5HFN.js +284 -0
  199. package/cdn/chunks/chunk.TFRA4ITH.js +32 -0
  200. package/cdn/chunks/chunk.TFRHDABM.js +19 -0
  201. package/cdn/chunks/chunk.THX4K42R.js +19 -0
  202. package/cdn/chunks/chunk.TKLGXW34.js +19 -0
  203. package/cdn/chunks/chunk.TMAJCFSJ.js +19 -0
  204. package/cdn/chunks/chunk.TMPSEY4M.js +876 -0
  205. package/cdn/chunks/chunk.TULXWHMT.js +19 -0
  206. package/cdn/chunks/chunk.U42UGPIF.js +34 -0
  207. package/cdn/chunks/chunk.U7RFQUL4.js +117 -0
  208. package/cdn/chunks/chunk.UHSY6WVZ.js +19 -0
  209. package/cdn/chunks/chunk.UI7YLIQD.js +19 -0
  210. package/cdn/chunks/chunk.UK5FWG26.js +621 -0
  211. package/cdn/chunks/chunk.UMPFH3IG.js +32 -0
  212. package/cdn/chunks/chunk.UW4VQ2ZT.js +29 -0
  213. package/cdn/chunks/chunk.UWQGPSGJ.js +123 -0
  214. package/cdn/chunks/chunk.UYISI6DV.js +161 -0
  215. package/cdn/chunks/chunk.VBP6ZZXJ.js +104 -0
  216. package/cdn/chunks/chunk.VNSMUAG2.js +19 -0
  217. package/cdn/chunks/chunk.VQFDZZR5.js +64743 -0
  218. package/cdn/chunks/chunk.VTJ45MEV.js +68 -0
  219. package/cdn/chunks/chunk.VXTFCFJP.js +29 -0
  220. package/cdn/chunks/chunk.VYRHCJMA.js +19 -0
  221. package/cdn/chunks/chunk.W5BKCYRV.js +19 -0
  222. package/cdn/chunks/chunk.W7NVJUQD.js +42 -0
  223. package/cdn/chunks/chunk.WAIMZWDO.js +32 -0
  224. package/cdn/chunks/chunk.WCOQW5IP.js +29 -0
  225. package/cdn/chunks/chunk.WENZIKZU.js +37 -0
  226. package/cdn/chunks/chunk.WLIBRD3E.js +36 -0
  227. package/cdn/chunks/chunk.WMGJ3MAP.js +415 -0
  228. package/cdn/chunks/chunk.WT45RB6M.js +86 -0
  229. package/cdn/chunks/chunk.WVIQ74WP.js +29 -0
  230. package/cdn/chunks/chunk.WVKE7GDV.js +82 -0
  231. package/cdn/chunks/chunk.X6V5UTEC.js +19 -0
  232. package/cdn/chunks/chunk.XE7NSCVW.js +35 -0
  233. package/cdn/chunks/chunk.XEPXVSXX.js +19 -0
  234. package/cdn/chunks/chunk.XFTU6F75.js +19 -0
  235. package/cdn/chunks/chunk.XGGJLW76.js +19 -0
  236. package/cdn/chunks/chunk.XIPDYSFN.js +32 -0
  237. package/cdn/chunks/chunk.XIY5GTZR.js +19 -0
  238. package/cdn/chunks/chunk.XLUZ67JF.js +11763 -0
  239. package/cdn/chunks/chunk.Y7SR4L5C.js +19 -0
  240. package/cdn/chunks/chunk.YJ7H7EYL.js +71 -0
  241. package/cdn/chunks/chunk.YKDCWNZE.js +17319 -0
  242. package/cdn/chunks/chunk.YMH7U2K5.js +29 -0
  243. package/cdn/chunks/chunk.YU5KVALN.js +29 -0
  244. package/cdn/chunks/chunk.Z6ZRFFCE.js +35 -0
  245. package/cdn/chunks/chunk.ZG6QTQKO.js +162 -0
  246. package/cdn/chunks/chunk.ZL4AGGZE.js +35 -0
  247. package/cdn/chunks/chunk.ZL6COYU6.js +19 -0
  248. package/cdn/chunks/chunk.ZNSSJSKK.js +158 -0
  249. package/cdn/chunks/lerc.IIII5MJ5.js +2099 -0
  250. package/cdn/components/accordion/accordion.component.js +5 -5
  251. package/cdn/components/accordion/accordion.js +6 -6
  252. package/cdn/components/alert/alert.component.js +4 -4
  253. package/cdn/components/alert/alert.js +5 -5
  254. package/cdn/components/avatar/avatar.component.js +5 -5
  255. package/cdn/components/avatar/avatar.js +6 -6
  256. package/cdn/components/badge/badge.component.js +3 -3
  257. package/cdn/components/badge/badge.js +4 -4
  258. package/cdn/components/banner/banner.component.js +3 -3
  259. package/cdn/components/banner/banner.js +4 -4
  260. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  261. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  262. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  263. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  264. package/cdn/components/browse-variables/browse-variables.component.d.ts +1 -1
  265. package/cdn/components/browse-variables/browse-variables.component.js +21 -21
  266. package/cdn/components/browse-variables/browse-variables.controller.js +2 -2
  267. package/cdn/components/browse-variables/browse-variables.js +22 -22
  268. package/cdn/components/button/button.component.js +6 -6
  269. package/cdn/components/button/button.js +7 -7
  270. package/cdn/components/button-group/button-group.component.js +2 -2
  271. package/cdn/components/button-group/button-group.js +3 -3
  272. package/cdn/components/caption/caption.component.js +2 -2
  273. package/cdn/components/caption/caption.js +3 -3
  274. package/cdn/components/card/card.component.js +2 -2
  275. package/cdn/components/card/card.js +3 -3
  276. package/cdn/components/checkbox/checkbox.component.js +5 -5
  277. package/cdn/components/checkbox/checkbox.js +6 -6
  278. package/cdn/components/chip/chip.component.js +2 -2
  279. package/cdn/components/chip/chip.js +3 -3
  280. package/cdn/components/combobox/combobox.component.js +5 -5
  281. package/cdn/components/combobox/combobox.js +6 -6
  282. package/cdn/components/data-access/data-access.component.d.ts +11 -11
  283. package/cdn/components/data-access/data-access.component.js +69 -56
  284. package/cdn/components/data-access/data-access.js +70 -57
  285. package/cdn/components/data-grid/data-grid.component.js +3 -3
  286. package/cdn/components/data-grid/data-grid.js +4 -4
  287. package/cdn/components/data-rods/data-rods.component.d.ts +7 -11
  288. package/cdn/components/data-rods/data-rods.component.js +79 -67
  289. package/cdn/components/data-rods/data-rods.js +80 -68
  290. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +8 -5
  291. package/cdn/components/data-subsetter/data-subsetter.component.js +83 -72
  292. package/cdn/components/data-subsetter/data-subsetter.js +84 -73
  293. package/cdn/components/data-subsetter/data-subsetter.styles.js +1 -1
  294. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  295. package/cdn/components/data-subsetter-history/data-subsetter-history.component.d.ts +4 -7
  296. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +84 -73
  297. package/cdn/components/data-subsetter-history/data-subsetter-history.js +85 -74
  298. package/cdn/components/date-picker/date-picker.component.d.ts +3 -4
  299. package/cdn/components/date-picker/date-picker.component.js +14 -14
  300. package/cdn/components/date-picker/date-picker.js +15 -15
  301. package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
  302. package/cdn/components/date-range-slider/date-range-slider.js +4 -4
  303. package/cdn/components/dialog/dialog.component.js +8 -8
  304. package/cdn/components/dialog/dialog.js +9 -9
  305. package/cdn/components/divider/divider.component.js +2 -2
  306. package/cdn/components/divider/divider.js +3 -3
  307. package/cdn/components/dropdown/dropdown.component.js +4 -4
  308. package/cdn/components/dropdown/dropdown.js +5 -5
  309. package/cdn/components/earthdata-login/earthdata-login.component.d.ts +3 -1
  310. package/cdn/components/earthdata-login/earthdata-login.component.js +16 -17
  311. package/cdn/components/earthdata-login/earthdata-login.js +17 -18
  312. package/cdn/components/file-upload/file-upload.component.js +2 -2
  313. package/cdn/components/file-upload/file-upload.js +3 -3
  314. package/cdn/components/harmony-history/harmony-history.component.d.ts +3 -6
  315. package/cdn/components/harmony-history/harmony-history.component.js +12 -13
  316. package/cdn/components/harmony-history/harmony-history.js +13 -14
  317. package/cdn/components/icon/icon.component.js +3 -3
  318. package/cdn/components/icon/icon.js +4 -4
  319. package/cdn/components/input/input.component.js +5 -5
  320. package/cdn/components/input/input.js +6 -6
  321. package/cdn/components/loader/loader.component.js +2 -2
  322. package/cdn/components/loader/loader.js +3 -3
  323. package/cdn/components/login/login.component.d.ts +3 -1
  324. package/cdn/components/login/login.component.js +12 -13
  325. package/cdn/components/login/login.js +13 -14
  326. package/cdn/components/map/controls/draw-toolbar.control.d.ts +5 -2
  327. package/cdn/components/map/controls/draw-toolbar.control.js +18 -8
  328. package/cdn/components/map/controls/layer-picker.control.d.ts +16 -0
  329. package/cdn/components/map/controls/layer-picker.control.js +13 -0
  330. package/cdn/components/map/layers/base.layer.d.ts +10 -0
  331. package/cdn/components/map/layers/base.layer.js +25 -14
  332. package/cdn/components/map/layers/borders.layer.js +21 -13
  333. package/cdn/components/map/layers/boundary.d.ts +30 -0
  334. package/cdn/components/map/layers/boundary.js +20 -0
  335. package/cdn/components/map/layers/common.d.ts +2 -0
  336. package/cdn/components/map/layers/geotiff.layer.js +12 -7
  337. package/cdn/components/map/layers/gibs-vector.layer.js +26 -18
  338. package/cdn/components/map/layers/gibs.layer.d.ts +6 -0
  339. package/cdn/components/map/layers/gibs.layer.js +26 -18
  340. package/cdn/components/map/layers/labels.layer.js +21 -13
  341. package/cdn/components/map/layers/layer.js +28 -20
  342. package/cdn/components/map/layers/xyz.layer.js +17 -12
  343. package/cdn/components/map/map.component.d.ts +73 -21
  344. package/cdn/components/map/map.component.js +43 -29
  345. package/cdn/components/map/map.js +44 -30
  346. package/cdn/components/map/map.service.d.ts +92 -9
  347. package/cdn/components/map/map.service.js +33 -19
  348. package/cdn/components/map/map.styles.js +1 -1
  349. package/cdn/components/map/projections.js +4 -3
  350. package/cdn/components/map/type.d.ts +7 -0
  351. package/cdn/components/menu/menu.component.js +2 -2
  352. package/cdn/components/menu/menu.js +3 -3
  353. package/cdn/components/menu-item/menu-item.component.js +7 -7
  354. package/cdn/components/menu-item/menu-item.js +8 -8
  355. package/cdn/components/option/option.component.js +4 -4
  356. package/cdn/components/option/option.js +5 -5
  357. package/cdn/components/pagination/pagination.component.js +4 -4
  358. package/cdn/components/pagination/pagination.js +5 -5
  359. package/cdn/components/plot/plot.component.js +2 -2
  360. package/cdn/components/plot/plot.js +3 -3
  361. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  362. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  363. package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +4 -4
  364. package/cdn/components/plot-toolbar/plot-toolbar.component.js +54 -42
  365. package/cdn/components/plot-toolbar/plot-toolbar.js +55 -43
  366. package/cdn/components/popup/popup.component.js +2 -2
  367. package/cdn/components/popup/popup.js +3 -3
  368. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  369. package/cdn/components/progress-bar/progress-bar.js +3 -3
  370. package/cdn/components/radio/radio.component.js +3 -3
  371. package/cdn/components/radio/radio.js +4 -4
  372. package/cdn/components/radio-group/radio-group.component.js +3 -3
  373. package/cdn/components/radio-group/radio-group.js +4 -4
  374. package/cdn/components/scroll-hint/scroll-hint.component.js +4 -4
  375. package/cdn/components/scroll-hint/scroll-hint.js +5 -5
  376. package/cdn/components/select/select.component.js +8 -8
  377. package/cdn/components/select/select.js +9 -9
  378. package/cdn/components/site-header/site-header.component.js +5 -5
  379. package/cdn/components/site-header/site-header.js +5 -5
  380. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  381. package/cdn/components/site-navigation/site-navigation.js +2 -2
  382. package/cdn/components/skeleton/skeleton.component.js +2 -2
  383. package/cdn/components/skeleton/skeleton.js +3 -3
  384. package/cdn/components/slider/slider.component.js +2 -2
  385. package/cdn/components/slider/slider.js +3 -3
  386. package/cdn/components/spatial-picker/spatial-picker.component.d.ts +0 -10
  387. package/cdn/components/spatial-picker/spatial-picker.component.js +53 -39
  388. package/cdn/components/spatial-picker/spatial-picker.js +54 -40
  389. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  390. package/cdn/components/status-indicator/status-indicator.js +3 -3
  391. package/cdn/components/stepper/stepper.component.js +2 -2
  392. package/cdn/components/stepper/stepper.js +3 -3
  393. package/cdn/components/stepper-step/stepper-step.component.js +4 -4
  394. package/cdn/components/stepper-step/stepper-step.js +5 -5
  395. package/cdn/components/tab/tab.component.js +4 -4
  396. package/cdn/components/tab/tab.js +5 -5
  397. package/cdn/components/tab-panel/tab-panel.component.js +3 -3
  398. package/cdn/components/tab-panel/tab-panel.js +4 -4
  399. package/cdn/components/tabs/tabs.component.d.ts +2 -1
  400. package/cdn/components/tabs/tabs.component.js +4 -4
  401. package/cdn/components/tabs/tabs.js +5 -5
  402. package/cdn/components/tag/tag.component.js +4 -4
  403. package/cdn/components/tag/tag.js +5 -5
  404. package/cdn/components/textarea/textarea.component.js +4 -4
  405. package/cdn/components/textarea/textarea.js +5 -5
  406. package/cdn/components/time-average-map/time-average-map.component.d.ts +10 -14
  407. package/cdn/components/time-average-map/time-average-map.component.js +66 -54
  408. package/cdn/components/time-average-map/time-average-map.controller.js +7 -7
  409. package/cdn/components/time-average-map/time-average-map.js +67 -55
  410. package/cdn/components/time-series/time-series.component.d.ts +2 -10
  411. package/cdn/components/time-series/time-series.component.js +66 -54
  412. package/cdn/components/time-series/time-series.controller.js +7 -7
  413. package/cdn/components/time-series/time-series.js +67 -55
  414. package/cdn/components/toast/toast.component.js +5 -5
  415. package/cdn/components/toast/toast.js +6 -6
  416. package/cdn/components/toggle/toggle.component.js +4 -4
  417. package/cdn/components/toggle/toggle.js +5 -5
  418. package/cdn/components/tooltip/tooltip.component.js +4 -4
  419. package/cdn/components/tooltip/tooltip.js +5 -5
  420. package/cdn/components/variable-combobox/variable-combobox.component.d.ts +5 -9
  421. package/cdn/components/variable-combobox/variable-combobox.component.js +14 -12
  422. package/cdn/components/variable-combobox/variable-combobox.js +15 -13
  423. package/cdn/components/variable-keyword-search/variable-keyword-search.component.d.ts +2 -2
  424. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +10 -10
  425. package/cdn/components/variable-keyword-search/variable-keyword-search.js +11 -11
  426. package/cdn/custom-elements.json +10670 -8582
  427. package/cdn/events/events.d.ts +2 -2
  428. package/cdn/events/terra-map.d.ts +55 -0
  429. package/cdn/mixins/auth.mixin.d.ts +23 -0
  430. package/cdn/mixins/mixin.types.d.ts +1 -0
  431. package/cdn/mixins/query-client.mixin.d.ts +1 -1
  432. package/cdn/react/accordion/index.js +6 -6
  433. package/cdn/react/alert/index.js +5 -5
  434. package/cdn/react/avatar/index.js +6 -6
  435. package/cdn/react/badge/index.js +4 -4
  436. package/cdn/react/banner/index.js +4 -4
  437. package/cdn/react/breadcrumb/index.js +3 -3
  438. package/cdn/react/breadcrumbs/index.js +3 -3
  439. package/cdn/react/browse-variables/index.js +22 -22
  440. package/cdn/react/button/index.js +7 -7
  441. package/cdn/react/button-group/index.js +3 -3
  442. package/cdn/react/caption/index.js +3 -3
  443. package/cdn/react/card/index.js +3 -3
  444. package/cdn/react/checkbox/index.js +6 -6
  445. package/cdn/react/chip/index.js +3 -3
  446. package/cdn/react/combobox/index.js +6 -6
  447. package/cdn/react/data-access/index.js +70 -57
  448. package/cdn/react/data-grid/index.js +4 -4
  449. package/cdn/react/data-rods/index.d.ts +6 -1
  450. package/cdn/react/data-rods/index.js +80 -68
  451. package/cdn/react/data-subsetter/index.d.ts +3 -0
  452. package/cdn/react/data-subsetter/index.js +84 -73
  453. package/cdn/react/data-subsetter-history/index.d.ts +6 -1
  454. package/cdn/react/data-subsetter-history/index.js +85 -74
  455. package/cdn/react/date-picker/index.js +15 -15
  456. package/cdn/react/date-range-slider/index.js +4 -4
  457. package/cdn/react/dialog/index.js +9 -9
  458. package/cdn/react/divider/index.js +3 -3
  459. package/cdn/react/dropdown/index.js +5 -5
  460. package/cdn/react/earthdata-login/index.js +17 -18
  461. package/cdn/react/file-upload/index.js +3 -3
  462. package/cdn/react/harmony-history/index.d.ts +3 -0
  463. package/cdn/react/harmony-history/index.js +13 -14
  464. package/cdn/react/icon/index.js +4 -4
  465. package/cdn/react/index.d.ts +24 -24
  466. package/cdn/react/index.js +277 -265
  467. package/cdn/react/input/index.js +6 -6
  468. package/cdn/react/loader/index.js +3 -3
  469. package/cdn/react/login/index.js +13 -14
  470. package/cdn/react/map/index.d.ts +32 -1
  471. package/cdn/react/map/index.js +44 -30
  472. package/cdn/react/menu/index.js +3 -3
  473. package/cdn/react/menu-item/index.js +8 -8
  474. package/cdn/react/option/index.js +5 -5
  475. package/cdn/react/pagination/index.js +5 -5
  476. package/cdn/react/plot/index.js +3 -3
  477. package/cdn/react/plot-toolbar/index.d.ts +6 -1
  478. package/cdn/react/plot-toolbar/index.js +55 -43
  479. package/cdn/react/popup/index.js +3 -3
  480. package/cdn/react/progress-bar/index.js +3 -3
  481. package/cdn/react/radio/index.js +4 -4
  482. package/cdn/react/radio-group/index.js +4 -4
  483. package/cdn/react/scroll-hint/index.js +5 -5
  484. package/cdn/react/select/index.js +9 -9
  485. package/cdn/react/site-header/index.js +6 -6
  486. package/cdn/react/site-navigation/index.js +3 -3
  487. package/cdn/react/skeleton/index.js +3 -3
  488. package/cdn/react/slider/index.js +3 -3
  489. package/cdn/react/spatial-picker/index.js +54 -40
  490. package/cdn/react/status-indicator/index.js +3 -3
  491. package/cdn/react/stepper/index.js +3 -3
  492. package/cdn/react/stepper-step/index.js +5 -5
  493. package/cdn/react/tab/index.js +5 -5
  494. package/cdn/react/tab-panel/index.js +4 -4
  495. package/cdn/react/tabs/index.js +5 -5
  496. package/cdn/react/tag/index.js +5 -5
  497. package/cdn/react/textarea/index.js +5 -5
  498. package/cdn/react/time-average-map/index.d.ts +6 -1
  499. package/cdn/react/time-average-map/index.js +67 -55
  500. package/cdn/react/time-series/index.d.ts +3 -0
  501. package/cdn/react/time-series/index.js +67 -55
  502. package/cdn/react/toast/index.js +6 -6
  503. package/cdn/react/toggle/index.js +5 -5
  504. package/cdn/react/tooltip/index.js +5 -5
  505. package/cdn/react/variable-combobox/index.d.ts +4 -1
  506. package/cdn/react/variable-combobox/index.js +15 -13
  507. package/cdn/react/variable-keyword-search/index.d.ts +1 -1
  508. package/cdn/react/variable-keyword-search/index.js +11 -11
  509. package/cdn/terra-ui-components.js +278 -266
  510. package/cdn/types/vue/index.d.ts +1037 -870
  511. package/cdn/utilities/date.d.ts +4 -0
  512. package/cdn/utilities/date.js +3 -1
  513. package/cdn/utilities/variable-task.js +2 -2
  514. package/cdn/vscode.html-custom-data.json +692 -661
  515. package/cdn/web-types.json +2243 -2077
  516. package/dist/apis/harmony.api.d.ts +5 -0
  517. package/dist/chunks/chunk.25A7KRDN.js +19 -0
  518. package/dist/chunks/chunk.2C5HNR5L.js +4 -0
  519. package/dist/chunks/chunk.2O3IOB3J.js +1 -0
  520. package/dist/chunks/chunk.33OXTI3O.js +22 -0
  521. package/dist/chunks/chunk.345LFJWT.js +1 -0
  522. package/dist/chunks/chunk.3D65L7Z7.js +1 -0
  523. package/dist/chunks/chunk.3GAETZS7.js +12 -0
  524. package/dist/chunks/chunk.3IH7Q4YU.js +1 -0
  525. package/dist/chunks/chunk.424PTQE6.js +1 -0
  526. package/dist/chunks/chunk.43YXC3BX.js +1 -0
  527. package/dist/chunks/chunk.45H2PNH4.js +1 -0
  528. package/dist/chunks/chunk.47YM7IJH.js +1 -0
  529. package/dist/chunks/chunk.4A2YMU2A.js +1 -0
  530. package/dist/chunks/chunk.4BU5K6UJ.js +1 -0
  531. package/dist/chunks/chunk.4HQHKAPL.js +1 -0
  532. package/dist/chunks/chunk.4POG3VJI.js +148 -0
  533. package/dist/chunks/chunk.4QRZ7ROR.js +299 -0
  534. package/dist/chunks/chunk.4WJQSWQN.js +1 -0
  535. package/dist/chunks/chunk.52VRTKYJ.js +1 -0
  536. package/dist/chunks/chunk.55FJVUS6.js +43 -0
  537. package/dist/chunks/chunk.55S45QN4.js +1 -0
  538. package/dist/chunks/chunk.574Z2YXE.js +1 -0
  539. package/dist/chunks/chunk.5EE4HG2I.js +1 -0
  540. package/dist/chunks/chunk.5SZGFRLL.js +1 -0
  541. package/dist/chunks/chunk.5TJN4Z3R.js +1 -0
  542. package/dist/chunks/chunk.5TYJPHW2.js +1 -0
  543. package/dist/chunks/chunk.5UYKLBWJ.js +8 -0
  544. package/dist/chunks/chunk.5VNCJX27.js +55 -0
  545. package/dist/chunks/chunk.64725NP3.js +1 -0
  546. package/dist/chunks/chunk.6HO3MVIP.js +1 -0
  547. package/dist/chunks/chunk.6I57S7FR.js +27 -0
  548. package/dist/chunks/chunk.6XHCRR5R.js +9 -0
  549. package/dist/chunks/chunk.73HKAO6V.js +11 -0
  550. package/dist/chunks/chunk.7COB35MT.js +75 -0
  551. package/dist/chunks/chunk.7NCUNKBE.js +1 -0
  552. package/dist/chunks/chunk.7NXWYAIR.js +1 -0
  553. package/dist/chunks/chunk.7SLU543S.js +1 -0
  554. package/dist/chunks/chunk.7XQG4HG3.js +1 -0
  555. package/dist/chunks/chunk.A2ZTVI45.js +154 -0
  556. package/dist/chunks/chunk.AAUFO4KA.js +1 -0
  557. package/dist/chunks/chunk.AFNS7NIK.js +1 -0
  558. package/dist/chunks/chunk.AHL4S3IT.js +1 -0
  559. package/dist/chunks/chunk.AHS4Q35I.js +1 -0
  560. package/dist/chunks/chunk.AIWYS7YQ.js +1 -0
  561. package/dist/chunks/chunk.ALIRA2AC.js +1 -0
  562. package/dist/chunks/chunk.ATILEODB.js +18 -0
  563. package/dist/chunks/chunk.B3X6VXDL.js +1 -0
  564. package/dist/chunks/chunk.B4BXOMMQ.js +1 -0
  565. package/dist/chunks/chunk.BCGQKSR6.js +1 -0
  566. package/dist/chunks/chunk.BOZFOR5U.js +1 -0
  567. package/dist/chunks/chunk.BQB6XWSY.js +1 -0
  568. package/dist/chunks/chunk.BW5OZ5PS.js +1 -0
  569. package/dist/chunks/chunk.BXPTMVQE.js +1 -0
  570. package/dist/chunks/chunk.C6OX4NX6.js +74 -0
  571. package/dist/chunks/chunk.C7VEVA2Y.js +20 -0
  572. package/dist/chunks/chunk.CEOBCS56.js +1 -0
  573. package/dist/chunks/chunk.CGTXCYPM.js +41 -0
  574. package/dist/chunks/chunk.CH2PWIJD.js +5 -0
  575. package/dist/chunks/chunk.CLY6HMJZ.js +121 -0
  576. package/dist/chunks/chunk.CNGZOMLD.js +1 -0
  577. package/dist/chunks/chunk.CPFON5LM.js +1 -0
  578. package/dist/chunks/chunk.CQUQVS3M.js +1 -0
  579. package/dist/chunks/chunk.CRHOUQZH.js +1023 -0
  580. package/dist/chunks/chunk.CVKACFML.js +1 -0
  581. package/dist/chunks/chunk.D3JQRTEL.js +1 -0
  582. package/dist/chunks/chunk.DH5QWPH3.js +126 -0
  583. package/dist/chunks/chunk.DJ5BXB5G.js +48 -0
  584. package/dist/chunks/chunk.DKBGIHHD.js +1 -0
  585. package/dist/chunks/chunk.DOT4H7LX.js +2 -0
  586. package/dist/chunks/chunk.DTKNWAYL.js +62 -0
  587. package/dist/chunks/chunk.DWQMS6BC.js +1 -0
  588. package/dist/chunks/chunk.E477TJOR.js +1 -0
  589. package/dist/chunks/chunk.E4ELJE6I.js +35 -0
  590. package/dist/chunks/chunk.EB3ZPXT6.js +1 -0
  591. package/dist/chunks/chunk.EP2O3QZD.js +1 -0
  592. package/dist/chunks/chunk.EP5CSYKQ.js +1 -0
  593. package/dist/chunks/chunk.EQV2PFSY.js +1 -0
  594. package/dist/chunks/chunk.ER2IYY3T.js +1 -0
  595. package/dist/chunks/chunk.EV5P56DN.js +1 -0
  596. package/dist/chunks/chunk.F3NCEQ7X.js +1 -0
  597. package/dist/chunks/chunk.FSZCT7LX.js +26 -0
  598. package/dist/chunks/chunk.G3ZRWDDX.js +1 -0
  599. package/dist/chunks/chunk.G57LF47A.js +1 -0
  600. package/dist/chunks/chunk.GABTYKJH.js +1 -0
  601. package/dist/chunks/chunk.GHAZYRJA.js +1 -0
  602. package/dist/chunks/chunk.GP5SO7WB.js +43 -0
  603. package/dist/chunks/chunk.GQKEZMI5.js +64 -0
  604. package/dist/chunks/chunk.GUCJK7CQ.js +1 -0
  605. package/dist/chunks/chunk.GVVBO4QC.js +30 -0
  606. package/dist/chunks/chunk.H57KVCKB.js +4 -0
  607. package/dist/chunks/chunk.HCPPIK6X.js +1 -0
  608. package/dist/chunks/chunk.HDBWSDNO.js +1 -0
  609. package/dist/chunks/chunk.HDQVEOLO.js +1 -0
  610. package/dist/chunks/chunk.HKOYW5P7.js +1 -0
  611. package/dist/chunks/chunk.HPJUOBS5.js +1 -0
  612. package/dist/chunks/chunk.HTEGCYSS.js +2 -0
  613. package/dist/chunks/chunk.I2766Z6G.js +1 -0
  614. package/dist/chunks/chunk.I6OSLDVJ.js +1 -0
  615. package/dist/chunks/chunk.I6WZHDJR.js +1 -0
  616. package/dist/chunks/chunk.ID6GATFM.js +1 -0
  617. package/dist/chunks/chunk.IDQKGC62.js +1 -0
  618. package/dist/chunks/chunk.IRLLX53J.js +47 -0
  619. package/dist/chunks/chunk.IS2NEHYI.js +1 -0
  620. package/dist/chunks/chunk.IS4IX5PC.js +1 -0
  621. package/dist/chunks/chunk.J6W2UPV5.js +1 -0
  622. package/dist/chunks/chunk.JBNOA3A2.js +1 -0
  623. package/dist/chunks/chunk.JDM4WI4S.js +20 -0
  624. package/dist/chunks/chunk.JIF57YBB.js +1 -0
  625. package/dist/chunks/chunk.JM33IYJC.js +1 -0
  626. package/dist/chunks/chunk.JMLZNWOP.js +14 -0
  627. package/dist/chunks/chunk.JRCA2SKL.js +145 -0
  628. package/dist/chunks/chunk.JVSJPJIU.js +5 -0
  629. package/dist/chunks/chunk.JZKLCWMN.js +1 -0
  630. package/dist/chunks/chunk.JZLGMRZU.js +157 -0
  631. package/dist/chunks/chunk.K5BRJBGT.js +1 -0
  632. package/dist/chunks/chunk.KACJAQNX.js +6 -0
  633. package/dist/chunks/chunk.KEJYVX6V.js +55 -0
  634. package/dist/chunks/chunk.KF3WZUJB.js +1 -0
  635. package/dist/chunks/chunk.KGWY64U3.js +1 -0
  636. package/dist/chunks/chunk.KHUTJ2EC.js +1 -0
  637. package/dist/chunks/chunk.KOQ6WD4F.js +1 -0
  638. package/dist/chunks/chunk.KPNLEIXC.js +99 -0
  639. package/dist/chunks/chunk.KZAPYGJP.js +1 -0
  640. package/dist/chunks/chunk.L5QDGGS7.js +1 -0
  641. package/dist/chunks/chunk.LCYI63EA.js +20 -0
  642. package/dist/chunks/chunk.LEZEAL23.js +1 -0
  643. package/dist/chunks/chunk.LM6MTY2M.js +37 -0
  644. package/dist/chunks/chunk.LOLJACKL.js +1 -0
  645. package/dist/chunks/chunk.LQU34HVZ.js +1 -0
  646. package/dist/chunks/chunk.LVAET76P.js +1 -0
  647. package/dist/chunks/chunk.LXFMQAKV.js +1 -0
  648. package/dist/chunks/chunk.LYEGL5BZ.js +1 -0
  649. package/dist/chunks/chunk.LZZE65EN.js +1 -0
  650. package/dist/chunks/chunk.MCJ2GX4A.js +30 -0
  651. package/dist/chunks/chunk.MDKK4AJV.js +17 -0
  652. package/dist/chunks/chunk.MF67H5JA.js +1 -0
  653. package/dist/chunks/chunk.MGU32BIU.js +59 -0
  654. package/dist/chunks/chunk.MK3X5JIU.js +65 -0
  655. package/dist/chunks/chunk.MLR4ZKRU.js +1 -0
  656. package/dist/chunks/chunk.MQIO6BEA.js +1 -0
  657. package/dist/chunks/chunk.MU4BRZ5R.js +1 -0
  658. package/dist/chunks/chunk.MWPFFGL3.js +1 -0
  659. package/dist/chunks/chunk.MXMEA7TP.js +1 -0
  660. package/dist/chunks/chunk.N3V2FL7Q.js +1 -0
  661. package/dist/chunks/chunk.NARLVFIQ.js +33 -0
  662. package/dist/chunks/chunk.NK753QCZ.js +1 -0
  663. package/dist/chunks/chunk.NOXPOPPM.js +1 -0
  664. package/dist/chunks/chunk.NTZXYW2X.js +1 -0
  665. package/dist/chunks/chunk.NV3ZCWPP.js +1 -0
  666. package/dist/chunks/chunk.O2UN3QQG.js +1 -0
  667. package/dist/chunks/chunk.O47BMDEV.js +1 -0
  668. package/dist/chunks/chunk.OJM5RA3G.js +1 -0
  669. package/dist/chunks/chunk.OM4YQXHL.js +1 -0
  670. package/dist/chunks/chunk.OVTNI4H2.js +1 -0
  671. package/dist/chunks/chunk.OWXS5GVL.js +1 -0
  672. package/dist/chunks/chunk.OZSD4QYB.js +1 -0
  673. package/dist/chunks/chunk.PIKCG752.js +1 -0
  674. package/dist/chunks/chunk.PLSGWBX4.js +42 -0
  675. package/dist/chunks/chunk.PP6KREF2.js +5 -0
  676. package/dist/chunks/chunk.PQVZB2P2.js +67 -0
  677. package/dist/chunks/chunk.PRUHQ3VS.js +1 -0
  678. package/dist/chunks/chunk.PWFX3VPM.js +1 -0
  679. package/dist/chunks/chunk.PXVAQ2MA.js +55 -0
  680. package/dist/chunks/chunk.Q6O6LV3R.js +1 -0
  681. package/dist/chunks/chunk.QB7E6R2H.js +1 -0
  682. package/dist/chunks/chunk.QJRLPQ4M.js +1 -0
  683. package/dist/chunks/chunk.QOQWXEK5.js +1 -0
  684. package/dist/chunks/chunk.QVDEJXKO.js +1 -0
  685. package/dist/chunks/chunk.RKMR7V7J.js +1 -0
  686. package/dist/chunks/chunk.RLTSECXU.js +1 -0
  687. package/dist/chunks/chunk.RQYBMFWH.js +25 -0
  688. package/dist/chunks/chunk.S6IY5EKN.js +1 -0
  689. package/dist/chunks/chunk.SD2Q7EO2.js +23 -0
  690. package/dist/chunks/chunk.SEBIDNZM.js +1 -0
  691. package/dist/chunks/chunk.SF2OZFKQ.js +26 -0
  692. package/dist/chunks/chunk.SFK6BRQV.js +16 -0
  693. package/dist/chunks/chunk.SJTIVT6P.js +1 -0
  694. package/dist/chunks/chunk.SKK3NN5J.js +129 -0
  695. package/dist/chunks/chunk.SXGO5MEK.js +100 -0
  696. package/dist/chunks/chunk.TANXPJFE.js +1 -0
  697. package/dist/chunks/chunk.TATIBHUA.js +1 -0
  698. package/dist/chunks/chunk.TOON2INB.js +39 -0
  699. package/dist/chunks/chunk.TPUQNE3A.js +1 -0
  700. package/dist/chunks/chunk.TUGWQPTL.js +1 -0
  701. package/dist/chunks/chunk.TVERDMGY.js +113 -0
  702. package/dist/chunks/chunk.TWRNH5K5.js +1 -0
  703. package/dist/chunks/chunk.UQ6BNK6J.js +1 -0
  704. package/dist/chunks/chunk.UR7PHRDS.js +345 -0
  705. package/dist/chunks/chunk.V4XJH6YL.js +80 -0
  706. package/dist/chunks/chunk.VEPO6QAD.js +1 -0
  707. package/dist/chunks/chunk.VGN6LMHA.js +1 -0
  708. package/dist/chunks/chunk.VGQNQREB.js +1 -0
  709. package/dist/chunks/chunk.VSYDUDNW.js +1286 -0
  710. package/dist/chunks/chunk.W2E2TLSM.js +176 -0
  711. package/dist/chunks/chunk.WQ6USVYL.js +1 -0
  712. package/dist/chunks/chunk.WSBH5HTI.js +1 -0
  713. package/dist/chunks/chunk.WVBRHYTU.js +1 -0
  714. package/dist/chunks/chunk.X66E247Y.js +1 -0
  715. package/dist/chunks/chunk.XAPKFJEL.js +1 -0
  716. package/dist/chunks/chunk.XCYCEX7B.js +1 -0
  717. package/dist/chunks/chunk.XYOSJOLJ.js +1 -0
  718. package/dist/chunks/chunk.XZJS7S7T.js +280 -0
  719. package/dist/chunks/chunk.Y6ESPBDJ.js +1 -0
  720. package/dist/chunks/chunk.Y6HSCFK2.js +1 -0
  721. package/dist/chunks/chunk.YA7JZZG4.js +1 -0
  722. package/dist/chunks/chunk.YBALUVPL.js +1 -0
  723. package/dist/chunks/chunk.YFCEZZRF.js +1 -0
  724. package/dist/chunks/chunk.YLGPGQY4.js +566 -0
  725. package/dist/chunks/chunk.YLNZLECF.js +9 -0
  726. package/dist/chunks/chunk.YMDGNLGV.js +1 -0
  727. package/dist/chunks/chunk.YNN3NBWK.js +1 -0
  728. package/dist/chunks/chunk.YO67MSZK.js +780 -0
  729. package/dist/chunks/chunk.YY3G7NCY.js +35 -0
  730. package/dist/chunks/chunk.YZJEAHZH.js +1 -0
  731. package/dist/chunks/chunk.YZXEYQ6F.js +1 -0
  732. package/dist/chunks/chunk.ZBHNSZBH.js +24 -0
  733. package/dist/chunks/chunk.ZCPIP5RL.js +774 -0
  734. package/dist/chunks/chunk.ZFCVEZXM.js +11 -0
  735. package/dist/components/accordion/accordion.component.js +1 -1
  736. package/dist/components/accordion/accordion.js +1 -1
  737. package/dist/components/alert/alert.component.js +1 -1
  738. package/dist/components/alert/alert.js +1 -1
  739. package/dist/components/avatar/avatar.component.js +1 -1
  740. package/dist/components/avatar/avatar.js +1 -1
  741. package/dist/components/badge/badge.component.js +1 -1
  742. package/dist/components/badge/badge.js +1 -1
  743. package/dist/components/banner/banner.component.js +1 -1
  744. package/dist/components/banner/banner.js +1 -1
  745. package/dist/components/breadcrumb/breadcrumb.component.js +1 -1
  746. package/dist/components/breadcrumb/breadcrumb.js +1 -1
  747. package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -1
  748. package/dist/components/breadcrumbs/breadcrumbs.js +1 -1
  749. package/dist/components/browse-variables/browse-variables.component.d.ts +1 -1
  750. package/dist/components/browse-variables/browse-variables.component.js +1 -1
  751. package/dist/components/browse-variables/browse-variables.controller.js +1 -1
  752. package/dist/components/browse-variables/browse-variables.js +1 -1
  753. package/dist/components/button/button.component.js +1 -1
  754. package/dist/components/button/button.js +1 -1
  755. package/dist/components/button-group/button-group.component.js +1 -1
  756. package/dist/components/button-group/button-group.js +1 -1
  757. package/dist/components/caption/caption.component.js +1 -1
  758. package/dist/components/caption/caption.js +1 -1
  759. package/dist/components/card/card.component.js +1 -1
  760. package/dist/components/card/card.js +1 -1
  761. package/dist/components/checkbox/checkbox.component.js +1 -1
  762. package/dist/components/checkbox/checkbox.js +1 -1
  763. package/dist/components/chip/chip.component.js +1 -1
  764. package/dist/components/chip/chip.js +1 -1
  765. package/dist/components/combobox/combobox.component.js +1 -1
  766. package/dist/components/combobox/combobox.js +1 -1
  767. package/dist/components/data-access/data-access.component.d.ts +11 -11
  768. package/dist/components/data-access/data-access.component.js +1 -1
  769. package/dist/components/data-access/data-access.js +1 -1
  770. package/dist/components/data-grid/data-grid.component.js +1 -1
  771. package/dist/components/data-grid/data-grid.js +1 -1
  772. package/dist/components/data-rods/data-rods.component.d.ts +7 -11
  773. package/dist/components/data-rods/data-rods.component.js +1 -1
  774. package/dist/components/data-rods/data-rods.js +1 -1
  775. package/dist/components/data-subsetter/data-subsetter.component.d.ts +8 -5
  776. package/dist/components/data-subsetter/data-subsetter.component.js +1 -1
  777. package/dist/components/data-subsetter/data-subsetter.js +1 -1
  778. package/dist/components/data-subsetter/data-subsetter.styles.js +1 -1
  779. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  780. package/dist/components/data-subsetter-history/data-subsetter-history.component.d.ts +4 -7
  781. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -1
  782. package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -1
  783. package/dist/components/date-picker/date-picker.component.d.ts +3 -4
  784. package/dist/components/date-picker/date-picker.component.js +1 -1
  785. package/dist/components/date-picker/date-picker.js +1 -1
  786. package/dist/components/date-range-slider/date-range-slider.component.js +1 -1
  787. package/dist/components/date-range-slider/date-range-slider.js +1 -1
  788. package/dist/components/dialog/dialog.component.js +1 -1
  789. package/dist/components/dialog/dialog.js +1 -1
  790. package/dist/components/divider/divider.component.js +1 -1
  791. package/dist/components/divider/divider.js +1 -1
  792. package/dist/components/dropdown/dropdown.component.js +1 -1
  793. package/dist/components/dropdown/dropdown.js +1 -1
  794. package/dist/components/earthdata-login/earthdata-login.component.d.ts +3 -1
  795. package/dist/components/earthdata-login/earthdata-login.component.js +1 -1
  796. package/dist/components/earthdata-login/earthdata-login.js +1 -1
  797. package/dist/components/file-upload/file-upload.component.js +1 -1
  798. package/dist/components/file-upload/file-upload.js +1 -1
  799. package/dist/components/harmony-history/harmony-history.component.d.ts +3 -6
  800. package/dist/components/harmony-history/harmony-history.component.js +1 -1
  801. package/dist/components/harmony-history/harmony-history.js +1 -1
  802. package/dist/components/icon/icon.component.js +1 -1
  803. package/dist/components/icon/icon.js +1 -1
  804. package/dist/components/input/input.component.js +1 -1
  805. package/dist/components/input/input.js +1 -1
  806. package/dist/components/loader/loader.component.js +1 -1
  807. package/dist/components/loader/loader.js +1 -1
  808. package/dist/components/login/login.component.d.ts +3 -1
  809. package/dist/components/login/login.component.js +1 -1
  810. package/dist/components/login/login.js +1 -1
  811. package/dist/components/map/controls/draw-toolbar.control.d.ts +5 -2
  812. package/dist/components/map/controls/draw-toolbar.control.js +1 -1
  813. package/dist/components/map/controls/layer-picker.control.d.ts +16 -0
  814. package/dist/components/map/controls/layer-picker.control.js +1 -0
  815. package/dist/components/map/layers/base.layer.d.ts +10 -0
  816. package/dist/components/map/layers/base.layer.js +1 -1
  817. package/dist/components/map/layers/boundary.d.ts +30 -0
  818. package/dist/components/map/layers/boundary.js +1 -0
  819. package/dist/components/map/layers/common.d.ts +2 -0
  820. package/dist/components/map/layers/gibs-vector.layer.js +1 -1
  821. package/dist/components/map/layers/gibs.layer.d.ts +6 -0
  822. package/dist/components/map/layers/gibs.layer.js +1 -1
  823. package/dist/components/map/layers/layer.js +1 -1
  824. package/dist/components/map/map.component.d.ts +73 -21
  825. package/dist/components/map/map.component.js +1 -1
  826. package/dist/components/map/map.js +1 -1
  827. package/dist/components/map/map.service.d.ts +92 -9
  828. package/dist/components/map/map.service.js +1 -1
  829. package/dist/components/map/map.styles.js +1 -1
  830. package/dist/components/map/type.d.ts +7 -0
  831. package/dist/components/map/type.js +1 -1
  832. package/dist/components/menu/menu.component.js +1 -1
  833. package/dist/components/menu/menu.js +1 -1
  834. package/dist/components/menu-item/menu-item.component.js +1 -1
  835. package/dist/components/menu-item/menu-item.js +1 -1
  836. package/dist/components/option/option.component.js +1 -1
  837. package/dist/components/option/option.js +1 -1
  838. package/dist/components/pagination/pagination.component.js +1 -1
  839. package/dist/components/pagination/pagination.js +1 -1
  840. package/dist/components/plot/plot.component.js +1 -1
  841. package/dist/components/plot/plot.js +1 -1
  842. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  843. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  844. package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +4 -4
  845. package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -1
  846. package/dist/components/plot-toolbar/plot-toolbar.js +1 -1
  847. package/dist/components/popup/popup.component.js +1 -1
  848. package/dist/components/popup/popup.js +1 -1
  849. package/dist/components/progress-bar/progress-bar.component.js +1 -1
  850. package/dist/components/progress-bar/progress-bar.js +1 -1
  851. package/dist/components/radio/radio.component.js +1 -1
  852. package/dist/components/radio/radio.js +1 -1
  853. package/dist/components/radio-group/radio-group.component.js +1 -1
  854. package/dist/components/radio-group/radio-group.js +1 -1
  855. package/dist/components/scroll-hint/scroll-hint.component.js +1 -1
  856. package/dist/components/scroll-hint/scroll-hint.js +1 -1
  857. package/dist/components/select/select.component.js +1 -1
  858. package/dist/components/select/select.js +1 -1
  859. package/dist/components/site-header/site-header.component.js +1 -1
  860. package/dist/components/site-header/site-header.js +1 -1
  861. package/dist/components/site-navigation/site-navigation.component.js +1 -1
  862. package/dist/components/site-navigation/site-navigation.js +1 -1
  863. package/dist/components/skeleton/skeleton.component.js +1 -1
  864. package/dist/components/skeleton/skeleton.js +1 -1
  865. package/dist/components/slider/slider.component.js +1 -1
  866. package/dist/components/slider/slider.js +1 -1
  867. package/dist/components/spatial-picker/spatial-picker.component.d.ts +0 -10
  868. package/dist/components/spatial-picker/spatial-picker.component.js +1 -1
  869. package/dist/components/spatial-picker/spatial-picker.js +1 -1
  870. package/dist/components/status-indicator/status-indicator.component.js +1 -1
  871. package/dist/components/status-indicator/status-indicator.js +1 -1
  872. package/dist/components/stepper/stepper.component.js +1 -1
  873. package/dist/components/stepper/stepper.js +1 -1
  874. package/dist/components/stepper-step/stepper-step.component.js +1 -1
  875. package/dist/components/stepper-step/stepper-step.js +1 -1
  876. package/dist/components/tab/tab.component.js +1 -1
  877. package/dist/components/tab/tab.js +1 -1
  878. package/dist/components/tab-panel/tab-panel.component.js +1 -1
  879. package/dist/components/tab-panel/tab-panel.js +1 -1
  880. package/dist/components/tabs/tabs.component.d.ts +2 -1
  881. package/dist/components/tabs/tabs.component.js +1 -1
  882. package/dist/components/tabs/tabs.js +1 -1
  883. package/dist/components/tag/tag.component.js +1 -1
  884. package/dist/components/tag/tag.js +1 -1
  885. package/dist/components/textarea/textarea.component.js +1 -1
  886. package/dist/components/textarea/textarea.js +1 -1
  887. package/dist/components/time-average-map/time-average-map.component.d.ts +10 -14
  888. package/dist/components/time-average-map/time-average-map.component.js +1 -1
  889. package/dist/components/time-average-map/time-average-map.controller.js +1 -1
  890. package/dist/components/time-average-map/time-average-map.js +1 -1
  891. package/dist/components/time-series/time-series.component.d.ts +2 -10
  892. package/dist/components/time-series/time-series.component.js +1 -1
  893. package/dist/components/time-series/time-series.controller.js +1 -1
  894. package/dist/components/time-series/time-series.js +1 -1
  895. package/dist/components/toast/toast.component.js +1 -1
  896. package/dist/components/toast/toast.js +1 -1
  897. package/dist/components/toggle/toggle.component.js +1 -1
  898. package/dist/components/toggle/toggle.js +1 -1
  899. package/dist/components/tooltip/tooltip.component.js +1 -1
  900. package/dist/components/tooltip/tooltip.js +1 -1
  901. package/dist/components/variable-combobox/variable-combobox.component.d.ts +5 -9
  902. package/dist/components/variable-combobox/variable-combobox.component.js +1 -1
  903. package/dist/components/variable-combobox/variable-combobox.js +1 -1
  904. package/dist/components/variable-keyword-search/variable-keyword-search.component.d.ts +2 -2
  905. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -1
  906. package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
  907. package/dist/custom-elements.json +10670 -8582
  908. package/dist/events/events.d.ts +2 -2
  909. package/dist/events/terra-map.d.ts +55 -0
  910. package/dist/mixins/auth.mixin.d.ts +23 -0
  911. package/dist/mixins/mixin.types.d.ts +1 -0
  912. package/dist/mixins/query-client.mixin.d.ts +1 -1
  913. package/dist/react/accordion/index.js +1 -1
  914. package/dist/react/alert/index.js +1 -1
  915. package/dist/react/avatar/index.js +1 -1
  916. package/dist/react/badge/index.js +1 -1
  917. package/dist/react/banner/index.js +1 -1
  918. package/dist/react/breadcrumb/index.js +1 -1
  919. package/dist/react/breadcrumbs/index.js +1 -1
  920. package/dist/react/browse-variables/index.js +1 -1
  921. package/dist/react/button/index.js +1 -1
  922. package/dist/react/button-group/index.js +1 -1
  923. package/dist/react/caption/index.js +1 -1
  924. package/dist/react/card/index.js +1 -1
  925. package/dist/react/checkbox/index.js +1 -1
  926. package/dist/react/chip/index.js +1 -1
  927. package/dist/react/combobox/index.js +1 -1
  928. package/dist/react/data-access/index.js +1 -1
  929. package/dist/react/data-grid/index.js +1 -1
  930. package/dist/react/data-rods/index.d.ts +6 -1
  931. package/dist/react/data-rods/index.js +1 -1
  932. package/dist/react/data-subsetter/index.d.ts +3 -0
  933. package/dist/react/data-subsetter/index.js +1 -1
  934. package/dist/react/data-subsetter-history/index.d.ts +6 -1
  935. package/dist/react/data-subsetter-history/index.js +1 -1
  936. package/dist/react/date-picker/index.js +1 -1
  937. package/dist/react/date-range-slider/index.js +1 -1
  938. package/dist/react/dialog/index.js +1 -1
  939. package/dist/react/divider/index.js +1 -1
  940. package/dist/react/dropdown/index.js +1 -1
  941. package/dist/react/earthdata-login/index.js +1 -1
  942. package/dist/react/file-upload/index.js +1 -1
  943. package/dist/react/harmony-history/index.d.ts +3 -0
  944. package/dist/react/harmony-history/index.js +1 -1
  945. package/dist/react/icon/index.js +1 -1
  946. package/dist/react/index.d.ts +24 -24
  947. package/dist/react/index.js +1 -1
  948. package/dist/react/input/index.js +1 -1
  949. package/dist/react/loader/index.js +1 -1
  950. package/dist/react/login/index.js +1 -1
  951. package/dist/react/map/index.d.ts +32 -1
  952. package/dist/react/map/index.js +1 -1
  953. package/dist/react/menu/index.js +1 -1
  954. package/dist/react/menu-item/index.js +1 -1
  955. package/dist/react/option/index.js +1 -1
  956. package/dist/react/pagination/index.js +1 -1
  957. package/dist/react/plot/index.js +1 -1
  958. package/dist/react/plot-toolbar/index.d.ts +6 -1
  959. package/dist/react/plot-toolbar/index.js +1 -1
  960. package/dist/react/popup/index.js +1 -1
  961. package/dist/react/progress-bar/index.js +1 -1
  962. package/dist/react/radio/index.js +1 -1
  963. package/dist/react/radio-group/index.js +1 -1
  964. package/dist/react/scroll-hint/index.js +1 -1
  965. package/dist/react/select/index.js +1 -1
  966. package/dist/react/site-header/index.js +1 -1
  967. package/dist/react/site-navigation/index.js +1 -1
  968. package/dist/react/skeleton/index.js +1 -1
  969. package/dist/react/slider/index.js +1 -1
  970. package/dist/react/spatial-picker/index.js +1 -1
  971. package/dist/react/status-indicator/index.js +1 -1
  972. package/dist/react/stepper/index.js +1 -1
  973. package/dist/react/stepper-step/index.js +1 -1
  974. package/dist/react/tab/index.js +1 -1
  975. package/dist/react/tab-panel/index.js +1 -1
  976. package/dist/react/tabs/index.js +1 -1
  977. package/dist/react/tag/index.js +1 -1
  978. package/dist/react/textarea/index.js +1 -1
  979. package/dist/react/time-average-map/index.d.ts +6 -1
  980. package/dist/react/time-average-map/index.js +1 -1
  981. package/dist/react/time-series/index.d.ts +3 -0
  982. package/dist/react/time-series/index.js +1 -1
  983. package/dist/react/toast/index.js +1 -1
  984. package/dist/react/toggle/index.js +1 -1
  985. package/dist/react/tooltip/index.js +1 -1
  986. package/dist/react/variable-combobox/index.d.ts +4 -1
  987. package/dist/react/variable-combobox/index.js +1 -1
  988. package/dist/react/variable-keyword-search/index.d.ts +1 -1
  989. package/dist/react/variable-keyword-search/index.js +1 -1
  990. package/dist/terra-ui-components.js +1 -1
  991. package/dist/terra_ui_components-0.0.205-py3-none-any.whl +0 -0
  992. package/dist/terra_ui_components-0.0.205.tar.gz +0 -0
  993. package/dist/types/vue/index.d.ts +1037 -870
  994. package/dist/utilities/date.d.ts +4 -0
  995. package/dist/utilities/date.js +1 -1
  996. package/dist/utilities/variable-task.js +1 -1
  997. package/dist/vscode.html-custom-data.json +692 -661
  998. package/dist/web-types.json +2243 -2077
  999. package/package.json +6 -4
  1000. package/cdn/auth/auth.controller.d.ts +0 -16
  1001. package/cdn/chunks/GeoTIFF.KMHPSKO6.js +0 -19975
  1002. package/cdn/chunks/chunk.27KCXEZH.js +0 -431
  1003. package/cdn/chunks/chunk.2AFX3VCL.js +0 -125
  1004. package/cdn/chunks/chunk.2DFPSVL6.js +0 -68
  1005. package/cdn/chunks/chunk.2DPXUVUW.js +0 -357
  1006. package/cdn/chunks/chunk.2EKGBKN2.js +0 -19
  1007. package/cdn/chunks/chunk.2FSYZKPK.js +0 -29
  1008. package/cdn/chunks/chunk.2HXJHNH3.js +0 -5339
  1009. package/cdn/chunks/chunk.2IA6WV7R.js +0 -19
  1010. package/cdn/chunks/chunk.2NRTTHOD.js +0 -30
  1011. package/cdn/chunks/chunk.2PJPIGBI.js +0 -1122
  1012. package/cdn/chunks/chunk.2RYJM2TF.js +0 -19
  1013. package/cdn/chunks/chunk.2UATMVXP.js +0 -261
  1014. package/cdn/chunks/chunk.2UUMIAXS.js +0 -19
  1015. package/cdn/chunks/chunk.3A3QJT7L.js +0 -29
  1016. package/cdn/chunks/chunk.3UXSNM76.js +0 -32
  1017. package/cdn/chunks/chunk.4CVCW4V3.js +0 -32
  1018. package/cdn/chunks/chunk.4HFZS2GO.js +0 -19
  1019. package/cdn/chunks/chunk.4KCMI4UU.js +0 -1036
  1020. package/cdn/chunks/chunk.4M7FMP7T.js +0 -442
  1021. package/cdn/chunks/chunk.4OETFOY2.js +0 -71
  1022. package/cdn/chunks/chunk.4UI7P3Y4.js +0 -19
  1023. package/cdn/chunks/chunk.4VE4DO4N.js +0 -19
  1024. package/cdn/chunks/chunk.4YE3LB3R.js +0 -19
  1025. package/cdn/chunks/chunk.4ZBYMDD6.js +0 -189
  1026. package/cdn/chunks/chunk.5CDWDWX5.js +0 -136
  1027. package/cdn/chunks/chunk.5CLU2XHI.js +0 -29
  1028. package/cdn/chunks/chunk.5G4MIKDW.js +0 -19
  1029. package/cdn/chunks/chunk.5KHCLX4N.js +0 -64743
  1030. package/cdn/chunks/chunk.5N76KCT4.js +0 -285
  1031. package/cdn/chunks/chunk.5OEHZWXQ.js +0 -19
  1032. package/cdn/chunks/chunk.5U22JWZL.js +0 -117
  1033. package/cdn/chunks/chunk.5USXBJV5.js +0 -35
  1034. package/cdn/chunks/chunk.5YQFC77E.js +0 -37
  1035. package/cdn/chunks/chunk.6E7Z4C4E.js +0 -19
  1036. package/cdn/chunks/chunk.6FWN6ZZC.js +0 -32
  1037. package/cdn/chunks/chunk.6J2OCJ7J.js +0 -84
  1038. package/cdn/chunks/chunk.6LOJQVYN.js +0 -36
  1039. package/cdn/chunks/chunk.6OC7H5OH.js +0 -28
  1040. package/cdn/chunks/chunk.6QEEVDUE.js +0 -427
  1041. package/cdn/chunks/chunk.6SAM6SI7.js +0 -19
  1042. package/cdn/chunks/chunk.6VTIK2C6.js +0 -19
  1043. package/cdn/chunks/chunk.75FXMQOA.js +0 -19
  1044. package/cdn/chunks/chunk.7HUACA54.js +0 -29
  1045. package/cdn/chunks/chunk.7L2TSDLJ.js +0 -2028
  1046. package/cdn/chunks/chunk.7N55EAUN.js +0 -17305
  1047. package/cdn/chunks/chunk.7VOSRG7X.js +0 -19
  1048. package/cdn/chunks/chunk.7WUVQEAR.js +0 -256
  1049. package/cdn/chunks/chunk.7Y44JBIB.js +0 -550
  1050. package/cdn/chunks/chunk.7ZI27RZO.js +0 -1136
  1051. package/cdn/chunks/chunk.ACUUMB46.js +0 -33
  1052. package/cdn/chunks/chunk.AFJMWE55.js +0 -29
  1053. package/cdn/chunks/chunk.AH535OUT.js +0 -19
  1054. package/cdn/chunks/chunk.AJTI5LZT.js +0 -60
  1055. package/cdn/chunks/chunk.AL34JKBE.js +0 -19
  1056. package/cdn/chunks/chunk.ANOS3OTE.js +0 -29
  1057. package/cdn/chunks/chunk.AP5WCU4L.js +0 -134
  1058. package/cdn/chunks/chunk.AQQD3TGI.js +0 -19
  1059. package/cdn/chunks/chunk.AWU6UL7H.js +0 -19
  1060. package/cdn/chunks/chunk.AYV43FGZ.js +0 -110
  1061. package/cdn/chunks/chunk.B6MUHPWI.js +0 -19
  1062. package/cdn/chunks/chunk.BHW5IL3I.js +0 -19
  1063. package/cdn/chunks/chunk.BPRI6OGA.js +0 -29
  1064. package/cdn/chunks/chunk.BPTWMSFM.js +0 -259
  1065. package/cdn/chunks/chunk.BTPIPKWK.js +0 -29
  1066. package/cdn/chunks/chunk.C2SRCC4M.js +0 -19
  1067. package/cdn/chunks/chunk.C3SXIMJF.js +0 -29
  1068. package/cdn/chunks/chunk.CDYBBCIE.js +0 -29
  1069. package/cdn/chunks/chunk.CHKUZKW6.js +0 -19
  1070. package/cdn/chunks/chunk.CJG6IYUQ.js +0 -699
  1071. package/cdn/chunks/chunk.COA7ZPCF.js +0 -86
  1072. package/cdn/chunks/chunk.CV4QCJYB.js +0 -29
  1073. package/cdn/chunks/chunk.CV7V62DS.js +0 -33
  1074. package/cdn/chunks/chunk.CWNNDPJR.js +0 -36
  1075. package/cdn/chunks/chunk.CWVFOCEY.js +0 -123
  1076. package/cdn/chunks/chunk.D6DZ2ABR.js +0 -19
  1077. package/cdn/chunks/chunk.DAHT4D47.js +0 -19
  1078. package/cdn/chunks/chunk.DDCWMDIC.js +0 -32
  1079. package/cdn/chunks/chunk.DNVJF7IY.js +0 -39
  1080. package/cdn/chunks/chunk.DOAEM5ON.js +0 -4083
  1081. package/cdn/chunks/chunk.DOLQGIFG.js +0 -19
  1082. package/cdn/chunks/chunk.DPKA4G53.js +0 -601
  1083. package/cdn/chunks/chunk.DTUP6KDY.js +0 -19
  1084. package/cdn/chunks/chunk.DXQUJESD.js +0 -8969
  1085. package/cdn/chunks/chunk.E52YFLSL.js +0 -32
  1086. package/cdn/chunks/chunk.E6S2GD5C.js +0 -31
  1087. package/cdn/chunks/chunk.EQDMPPT6.js +0 -1413
  1088. package/cdn/chunks/chunk.ERJEIORY.js +0 -36
  1089. package/cdn/chunks/chunk.F26CV3RM.js +0 -32
  1090. package/cdn/chunks/chunk.F5ATUIYK.js +0 -29
  1091. package/cdn/chunks/chunk.FALB73Y2.js +0 -37
  1092. package/cdn/chunks/chunk.FCQ22IGW.js +0 -104
  1093. package/cdn/chunks/chunk.FQ6BZ3IY.js +0 -234
  1094. package/cdn/chunks/chunk.FS3BAWIP.js +0 -19
  1095. package/cdn/chunks/chunk.FUANKNNM.js +0 -19
  1096. package/cdn/chunks/chunk.FVMOO5PZ.js +0 -111
  1097. package/cdn/chunks/chunk.FWA7FNBM.js +0 -29
  1098. package/cdn/chunks/chunk.FXGGRWLG.js +0 -106
  1099. package/cdn/chunks/chunk.G5C4B32K.js +0 -32
  1100. package/cdn/chunks/chunk.GAE7V6RB.js +0 -93
  1101. package/cdn/chunks/chunk.GBGE6X2T.js +0 -1018
  1102. package/cdn/chunks/chunk.GBR3XNSE.js +0 -19
  1103. package/cdn/chunks/chunk.GDXZZBNN.js +0 -29
  1104. package/cdn/chunks/chunk.GEZJ4HAT.js +0 -128
  1105. package/cdn/chunks/chunk.GHYNGNCL.js +0 -19
  1106. package/cdn/chunks/chunk.GVSCZXYP.js +0 -152
  1107. package/cdn/chunks/chunk.H4THPLKV.js +0 -375
  1108. package/cdn/chunks/chunk.H6DYN62P.js +0 -19
  1109. package/cdn/chunks/chunk.H7ILJBVJ.js +0 -29
  1110. package/cdn/chunks/chunk.HA24JYMN.js +0 -34
  1111. package/cdn/chunks/chunk.HBVD5YDA.js +0 -19
  1112. package/cdn/chunks/chunk.HDOVTS2Z.js +0 -333
  1113. package/cdn/chunks/chunk.HE3V76OH.js +0 -29
  1114. package/cdn/chunks/chunk.HSQJHXWN.js +0 -19
  1115. package/cdn/chunks/chunk.HWXTC2NL.js +0 -475
  1116. package/cdn/chunks/chunk.I3ZCGZPC.js +0 -629
  1117. package/cdn/chunks/chunk.IDRFRYGU.js +0 -19
  1118. package/cdn/chunks/chunk.IPAGICZN.js +0 -38
  1119. package/cdn/chunks/chunk.IUV6CTRY.js +0 -231
  1120. package/cdn/chunks/chunk.IW2V63Q4.js +0 -278
  1121. package/cdn/chunks/chunk.J2QE6B7T.js +0 -158
  1122. package/cdn/chunks/chunk.J5WVGYHM.js +0 -1071
  1123. package/cdn/chunks/chunk.JGXF7ZXQ.js +0 -32
  1124. package/cdn/chunks/chunk.JTDMKEVX.js +0 -19
  1125. package/cdn/chunks/chunk.JU2BT7V3.js +0 -29
  1126. package/cdn/chunks/chunk.JUAS37EG.js +0 -47
  1127. package/cdn/chunks/chunk.KCLVMBYX.js +0 -19
  1128. package/cdn/chunks/chunk.KLVTN4RA.js +0 -1780
  1129. package/cdn/chunks/chunk.KNOXZXLV.js +0 -62
  1130. package/cdn/chunks/chunk.KNWDEVCZ.js +0 -872
  1131. package/cdn/chunks/chunk.KTH7B5P7.js +0 -32
  1132. package/cdn/chunks/chunk.KVXAUKHU.js +0 -29
  1133. package/cdn/chunks/chunk.L453DWOS.js +0 -162
  1134. package/cdn/chunks/chunk.L4APEYLE.js +0 -33
  1135. package/cdn/chunks/chunk.L6RUQB6F.js +0 -113
  1136. package/cdn/chunks/chunk.LEJPCXRH.js +0 -575
  1137. package/cdn/chunks/chunk.LGHXPOGX.js +0 -19
  1138. package/cdn/chunks/chunk.LMFFT6QZ.js +0 -19
  1139. package/cdn/chunks/chunk.LV52UGIG.js +0 -19
  1140. package/cdn/chunks/chunk.LYTJDP4F.js +0 -528
  1141. package/cdn/chunks/chunk.M6TNRFZO.js +0 -32
  1142. package/cdn/chunks/chunk.MB55MNWI.js +0 -132
  1143. package/cdn/chunks/chunk.MDV3HVPR.js +0 -82
  1144. package/cdn/chunks/chunk.MKKKY7LJ.js +0 -17565
  1145. package/cdn/chunks/chunk.ML6OFHI2.js +0 -60
  1146. package/cdn/chunks/chunk.MMMP6IHT.js +0 -36
  1147. package/cdn/chunks/chunk.MR7XEWMN.js +0 -29
  1148. package/cdn/chunks/chunk.N26HWWE7.js +0 -92
  1149. package/cdn/chunks/chunk.N6YZ3GGB.js +0 -19
  1150. package/cdn/chunks/chunk.NKJ73Q6Z.js +0 -101
  1151. package/cdn/chunks/chunk.NOJRNK7A.js +0 -1303
  1152. package/cdn/chunks/chunk.O5KNCAFH.js +0 -29
  1153. package/cdn/chunks/chunk.OHLWFMUZ.js +0 -19
  1154. package/cdn/chunks/chunk.OK2PJLA4.js +0 -19
  1155. package/cdn/chunks/chunk.OMERHZ7O.js +0 -1646
  1156. package/cdn/chunks/chunk.OQR3DOIL.js +0 -29
  1157. package/cdn/chunks/chunk.OVV6CMBK.js +0 -74
  1158. package/cdn/chunks/chunk.OXFYKL76.js +0 -19
  1159. package/cdn/chunks/chunk.P5MFJJGP.js +0 -195
  1160. package/cdn/chunks/chunk.P6OHZPUZ.js +0 -2786
  1161. package/cdn/chunks/chunk.PH3LKMHS.js +0 -32
  1162. package/cdn/chunks/chunk.PIEU7GT4.js +0 -29
  1163. package/cdn/chunks/chunk.PILGSWUJ.js +0 -29
  1164. package/cdn/chunks/chunk.PLI3TNYY.js +0 -33
  1165. package/cdn/chunks/chunk.PPCOW47J.js +0 -535
  1166. package/cdn/chunks/chunk.PRI7AVJX.js +0 -19
  1167. package/cdn/chunks/chunk.PWPIV2JK.js +0 -225
  1168. package/cdn/chunks/chunk.QCEPDQ6M.js +0 -32
  1169. package/cdn/chunks/chunk.QJUVJPT6.js +0 -19
  1170. package/cdn/chunks/chunk.QP2APML5.js +0 -536
  1171. package/cdn/chunks/chunk.QS7RKQGD.js +0 -19
  1172. package/cdn/chunks/chunk.QZCCAT7W.js +0 -19
  1173. package/cdn/chunks/chunk.QZIIYAVZ.js +0 -19
  1174. package/cdn/chunks/chunk.QZQ7MTL4.js +0 -34
  1175. package/cdn/chunks/chunk.RBBPG6SO.js +0 -621
  1176. package/cdn/chunks/chunk.RL57R2DM.js +0 -37
  1177. package/cdn/chunks/chunk.RMUH4JXF.js +0 -35
  1178. package/cdn/chunks/chunk.RSH7CL7U.js +0 -310
  1179. package/cdn/chunks/chunk.RXXY2DKG.js +0 -19
  1180. package/cdn/chunks/chunk.S5BNWB7B.js +0 -185
  1181. package/cdn/chunks/chunk.SDVBNJQZ.js +0 -19
  1182. package/cdn/chunks/chunk.SIK75J6S.js +0 -35
  1183. package/cdn/chunks/chunk.SJEEWCBY.js +0 -19
  1184. package/cdn/chunks/chunk.SQWR5Y2X.js +0 -134
  1185. package/cdn/chunks/chunk.SWNYIRFX.js +0 -19
  1186. package/cdn/chunks/chunk.SZJZTSTJ.js +0 -36
  1187. package/cdn/chunks/chunk.T35HK4YD.js +0 -83
  1188. package/cdn/chunks/chunk.T4QHXOJU.js +0 -29
  1189. package/cdn/chunks/chunk.T7A4P7JA.js +0 -19
  1190. package/cdn/chunks/chunk.TA7CFXHM.js +0 -276
  1191. package/cdn/chunks/chunk.TBL6KAUU.js +0 -19
  1192. package/cdn/chunks/chunk.TDCXTEE4.js +0 -29
  1193. package/cdn/chunks/chunk.TFX7LPOA.js +0 -29
  1194. package/cdn/chunks/chunk.TTKS7OPN.js +0 -49
  1195. package/cdn/chunks/chunk.TW72W3FG.js +0 -41
  1196. package/cdn/chunks/chunk.TZ7K6LRZ.js +0 -29
  1197. package/cdn/chunks/chunk.U64UG2NF.js +0 -897
  1198. package/cdn/chunks/chunk.UCGET3OV.js +0 -610
  1199. package/cdn/chunks/chunk.UFODDLBF.js +0 -190
  1200. package/cdn/chunks/chunk.UI7I6F4E.js +0 -29
  1201. package/cdn/chunks/chunk.UL6GPUWY.js +0 -169
  1202. package/cdn/chunks/chunk.UNE5PGU3.js +0 -149
  1203. package/cdn/chunks/chunk.USSOPHIF.js +0 -161
  1204. package/cdn/chunks/chunk.UVQGTCUS.js +0 -621
  1205. package/cdn/chunks/chunk.VAS4SJTV.js +0 -893
  1206. package/cdn/chunks/chunk.VATEZWZS.js +0 -360
  1207. package/cdn/chunks/chunk.VCKHZSH2.js +0 -19
  1208. package/cdn/chunks/chunk.VHHZPEYC.js +0 -29
  1209. package/cdn/chunks/chunk.VM6WPB7T.js +0 -32
  1210. package/cdn/chunks/chunk.VNCKECHZ.js +0 -853
  1211. package/cdn/chunks/chunk.VPMAHEJA.js +0 -32
  1212. package/cdn/chunks/chunk.VQF367DL.js +0 -35
  1213. package/cdn/chunks/chunk.VUXL5UGT.js +0 -2574
  1214. package/cdn/chunks/chunk.W5FQPPPY.js +0 -19
  1215. package/cdn/chunks/chunk.WCBO7P6T.js +0 -34
  1216. package/cdn/chunks/chunk.WO24QJYS.js +0 -1005
  1217. package/cdn/chunks/chunk.WSRDV4NV.js +0 -19
  1218. package/cdn/chunks/chunk.WTGU6E45.js +0 -224
  1219. package/cdn/chunks/chunk.XDVFVONG.js +0 -1945
  1220. package/cdn/chunks/chunk.XNJGPB57.js +0 -35
  1221. package/cdn/chunks/chunk.XXLSM7RI.js +0 -138
  1222. package/cdn/chunks/chunk.Y6OCTUUR.js +0 -19
  1223. package/cdn/chunks/chunk.YAWLOXFX.js +0 -271
  1224. package/cdn/chunks/chunk.YJHDQGK3.js +0 -19
  1225. package/cdn/chunks/chunk.YN7XE2VP.js +0 -940
  1226. package/cdn/chunks/chunk.YTKNBCBF.js +0 -19
  1227. package/cdn/chunks/chunk.Z3PZC46D.js +0 -33
  1228. package/cdn/chunks/chunk.Z5U6BAQK.js +0 -292
  1229. package/cdn/chunks/chunk.ZAS2SUGL.js +0 -19
  1230. package/cdn/chunks/chunk.ZI2LY2UP.js +0 -524
  1231. package/cdn/chunks/chunk.ZRSUDLUY.js +0 -754
  1232. package/cdn/chunks/chunk.ZWUG6EZN.js +0 -544
  1233. package/cdn/chunks/chunk.ZYF3AML6.js +0 -521
  1234. package/cdn/chunks/chunk.ZYGBGEUR.js +0 -48
  1235. package/cdn/chunks/chunk.ZYYDEEKW.js +0 -19
  1236. package/cdn/chunks/lerc.OJS5YQI3.js +0 -2099
  1237. package/cdn/events/terra-map-change.d.ts +0 -14
  1238. package/dist/auth/auth.controller.d.ts +0 -16
  1239. package/dist/chunks/chunk.24QTPUF2.js +0 -6
  1240. package/dist/chunks/chunk.2A67CXHH.js +0 -5
  1241. package/dist/chunks/chunk.2PQNGBP2.js +0 -1
  1242. package/dist/chunks/chunk.2SYEDAOV.js +0 -1
  1243. package/dist/chunks/chunk.2UREYJJ6.js +0 -65
  1244. package/dist/chunks/chunk.2URJIUFD.js +0 -1
  1245. package/dist/chunks/chunk.2VLYWQGB.js +0 -1
  1246. package/dist/chunks/chunk.2XENK37L.js +0 -20
  1247. package/dist/chunks/chunk.33ZH43TV.js +0 -1
  1248. package/dist/chunks/chunk.345UCNEF.js +0 -1
  1249. package/dist/chunks/chunk.347H65MH.js +0 -1
  1250. package/dist/chunks/chunk.3BGJ2Y4W.js +0 -1
  1251. package/dist/chunks/chunk.3OSNYXIB.js +0 -37
  1252. package/dist/chunks/chunk.3SBCV5YV.js +0 -74
  1253. package/dist/chunks/chunk.4AODHTLA.js +0 -1
  1254. package/dist/chunks/chunk.4JUNRLEC.js +0 -1
  1255. package/dist/chunks/chunk.4O6EGUET.js +0 -6
  1256. package/dist/chunks/chunk.4PNNISNN.js +0 -12
  1257. package/dist/chunks/chunk.4PXK26WC.js +0 -1
  1258. package/dist/chunks/chunk.4RJ73FTA.js +0 -1
  1259. package/dist/chunks/chunk.5DG6GZR2.js +0 -1
  1260. package/dist/chunks/chunk.5OFG6SIJ.js +0 -1
  1261. package/dist/chunks/chunk.5UIZ5N7P.js +0 -345
  1262. package/dist/chunks/chunk.5WH5YKQV.js +0 -129
  1263. package/dist/chunks/chunk.5WXBL2P4.js +0 -299
  1264. package/dist/chunks/chunk.5YTPWERZ.js +0 -1
  1265. package/dist/chunks/chunk.67VTCJF4.js +0 -527
  1266. package/dist/chunks/chunk.6DD3MA2P.js +0 -1
  1267. package/dist/chunks/chunk.6J72MJEC.js +0 -1
  1268. package/dist/chunks/chunk.6OCFGLDL.js +0 -1
  1269. package/dist/chunks/chunk.6Q54KXMC.js +0 -157
  1270. package/dist/chunks/chunk.6R6NM245.js +0 -39
  1271. package/dist/chunks/chunk.6SHAP35V.js +0 -55
  1272. package/dist/chunks/chunk.6SW4NJHL.js +0 -42
  1273. package/dist/chunks/chunk.6TALLYX6.js +0 -1
  1274. package/dist/chunks/chunk.6ZIINXUV.js +0 -1
  1275. package/dist/chunks/chunk.7D3QWHPQ.js +0 -1
  1276. package/dist/chunks/chunk.7DGA6X4U.js +0 -23
  1277. package/dist/chunks/chunk.7KZSDLA2.js +0 -11
  1278. package/dist/chunks/chunk.7LR6X6Z6.js +0 -1
  1279. package/dist/chunks/chunk.7TW5XUJL.js +0 -1
  1280. package/dist/chunks/chunk.7V4HIKGV.js +0 -20
  1281. package/dist/chunks/chunk.A3VSFB3O.js +0 -1
  1282. package/dist/chunks/chunk.ADGVYX3D.js +0 -1
  1283. package/dist/chunks/chunk.ALYHNSZZ.js +0 -30
  1284. package/dist/chunks/chunk.AMKSX4J2.js +0 -1
  1285. package/dist/chunks/chunk.AVBBSQQN.js +0 -26
  1286. package/dist/chunks/chunk.BCBEL5J3.js +0 -1
  1287. package/dist/chunks/chunk.BFSQRKZP.js +0 -67
  1288. package/dist/chunks/chunk.BIMQKSIE.js +0 -1
  1289. package/dist/chunks/chunk.BJFYPKRH.js +0 -1
  1290. package/dist/chunks/chunk.BK22YUL3.js +0 -1
  1291. package/dist/chunks/chunk.BMUYWCSS.js +0 -1
  1292. package/dist/chunks/chunk.BRHNY634.js +0 -1
  1293. package/dist/chunks/chunk.BVNNUSMK.js +0 -1
  1294. package/dist/chunks/chunk.C6CZYR3X.js +0 -1
  1295. package/dist/chunks/chunk.C6YOBRFC.js +0 -1
  1296. package/dist/chunks/chunk.CO3YFDGB.js +0 -27
  1297. package/dist/chunks/chunk.CQK6QHLB.js +0 -1
  1298. package/dist/chunks/chunk.CQPFMW2K.js +0 -1
  1299. package/dist/chunks/chunk.CRDPEWYE.js +0 -1
  1300. package/dist/chunks/chunk.CS4EGLGP.js +0 -1
  1301. package/dist/chunks/chunk.CSXC6DPV.js +0 -280
  1302. package/dist/chunks/chunk.DH6S4SMY.js +0 -9
  1303. package/dist/chunks/chunk.DKS4TU3H.js +0 -1
  1304. package/dist/chunks/chunk.DTISX46U.js +0 -1
  1305. package/dist/chunks/chunk.DWB7WY2B.js +0 -1
  1306. package/dist/chunks/chunk.DYY5ZEGD.js +0 -8
  1307. package/dist/chunks/chunk.E264AGUB.js +0 -1
  1308. package/dist/chunks/chunk.E2LODYPF.js +0 -1
  1309. package/dist/chunks/chunk.E36ROOQP.js +0 -1
  1310. package/dist/chunks/chunk.E6SYKRYA.js +0 -18
  1311. package/dist/chunks/chunk.E7D32WNL.js +0 -99
  1312. package/dist/chunks/chunk.EAIG3OAM.js +0 -1
  1313. package/dist/chunks/chunk.EPJM7OIN.js +0 -1
  1314. package/dist/chunks/chunk.EYLQFCG6.js +0 -1
  1315. package/dist/chunks/chunk.F2LSSWTW.js +0 -1
  1316. package/dist/chunks/chunk.F2OOGC7E.js +0 -1
  1317. package/dist/chunks/chunk.F463ZO54.js +0 -26
  1318. package/dist/chunks/chunk.F4QJ3AAN.js +0 -1
  1319. package/dist/chunks/chunk.FCLASTZJ.js +0 -59
  1320. package/dist/chunks/chunk.FEUU6PRO.js +0 -1231
  1321. package/dist/chunks/chunk.FFJ4LVA4.js +0 -1
  1322. package/dist/chunks/chunk.FLY7SZ43.js +0 -1
  1323. package/dist/chunks/chunk.FTSUICBL.js +0 -5
  1324. package/dist/chunks/chunk.FU4VAT7K.js +0 -126
  1325. package/dist/chunks/chunk.FY5MRGO2.js +0 -4
  1326. package/dist/chunks/chunk.G2RBM77C.js +0 -80
  1327. package/dist/chunks/chunk.G5WS7EAO.js +0 -1
  1328. package/dist/chunks/chunk.GCVZMOL6.js +0 -1
  1329. package/dist/chunks/chunk.GFJZ3U6O.js +0 -1
  1330. package/dist/chunks/chunk.GVQ3ULCA.js +0 -1
  1331. package/dist/chunks/chunk.GVWKFBDB.js +0 -1
  1332. package/dist/chunks/chunk.GZC4MHZL.js +0 -1
  1333. package/dist/chunks/chunk.GZJI67IH.js +0 -1
  1334. package/dist/chunks/chunk.HBM2PGPH.js +0 -1
  1335. package/dist/chunks/chunk.HFNSDYFF.js +0 -1
  1336. package/dist/chunks/chunk.HJ7H55BL.js +0 -1
  1337. package/dist/chunks/chunk.HMGPFX2Y.js +0 -1
  1338. package/dist/chunks/chunk.IGXIZYGS.js +0 -1
  1339. package/dist/chunks/chunk.IKZERRE2.js +0 -1
  1340. package/dist/chunks/chunk.IL752DKI.js +0 -1
  1341. package/dist/chunks/chunk.ILG3LGC7.js +0 -1
  1342. package/dist/chunks/chunk.ILLKI5UT.js +0 -1
  1343. package/dist/chunks/chunk.IT5GSXLK.js +0 -1
  1344. package/dist/chunks/chunk.IX7TDXLM.js +0 -1
  1345. package/dist/chunks/chunk.J74HQDC4.js +0 -113
  1346. package/dist/chunks/chunk.JDUDVTGM.js +0 -33
  1347. package/dist/chunks/chunk.JER3EYSI.js +0 -43
  1348. package/dist/chunks/chunk.JFQVCD2G.js +0 -1
  1349. package/dist/chunks/chunk.JJDVDIMZ.js +0 -1
  1350. package/dist/chunks/chunk.JUCYMLNQ.js +0 -24
  1351. package/dist/chunks/chunk.JWV3256S.js +0 -1
  1352. package/dist/chunks/chunk.K3JWAUPW.js +0 -1
  1353. package/dist/chunks/chunk.K7EEMK7S.js +0 -1
  1354. package/dist/chunks/chunk.KQQP67QH.js +0 -1
  1355. package/dist/chunks/chunk.L7LZXSLB.js +0 -1
  1356. package/dist/chunks/chunk.L7TU4EE7.js +0 -1
  1357. package/dist/chunks/chunk.LBQFMWHH.js +0 -1
  1358. package/dist/chunks/chunk.LHS2JI5C.js +0 -1
  1359. package/dist/chunks/chunk.LRB2T4C6.js +0 -1
  1360. package/dist/chunks/chunk.LSBA65NF.js +0 -55
  1361. package/dist/chunks/chunk.LVJYASQH.js +0 -41
  1362. package/dist/chunks/chunk.M5IM24X6.js +0 -1
  1363. package/dist/chunks/chunk.M7GAVBP4.js +0 -1
  1364. package/dist/chunks/chunk.MRAFQ6FC.js +0 -1
  1365. package/dist/chunks/chunk.MSEAPM5O.js +0 -43
  1366. package/dist/chunks/chunk.MXJCFEZ4.js +0 -780
  1367. package/dist/chunks/chunk.NFGRTKHK.js +0 -35
  1368. package/dist/chunks/chunk.NM6S6YGL.js +0 -30
  1369. package/dist/chunks/chunk.NNGAFMYS.js +0 -1
  1370. package/dist/chunks/chunk.NS34WRBV.js +0 -154
  1371. package/dist/chunks/chunk.NZ4QJK47.js +0 -176
  1372. package/dist/chunks/chunk.NZERF5GE.js +0 -1
  1373. package/dist/chunks/chunk.O36CSOQK.js +0 -11
  1374. package/dist/chunks/chunk.OAFIM27Q.js +0 -1
  1375. package/dist/chunks/chunk.OBJ27374.js +0 -1
  1376. package/dist/chunks/chunk.ONZTNAIQ.js +0 -1
  1377. package/dist/chunks/chunk.OQ4IT42W.js +0 -1
  1378. package/dist/chunks/chunk.OSAQ45F4.js +0 -145
  1379. package/dist/chunks/chunk.OSDEVN34.js +0 -1001
  1380. package/dist/chunks/chunk.P23PNMO2.js +0 -1
  1381. package/dist/chunks/chunk.PGC2LCDL.js +0 -1
  1382. package/dist/chunks/chunk.PGUHY4NZ.js +0 -1
  1383. package/dist/chunks/chunk.PHWB36E5.js +0 -4
  1384. package/dist/chunks/chunk.PIP3HL2S.js +0 -1
  1385. package/dist/chunks/chunk.PM3RUTRJ.js +0 -1
  1386. package/dist/chunks/chunk.PNRCW5GH.js +0 -48
  1387. package/dist/chunks/chunk.PO5EHL4Q.js +0 -1
  1388. package/dist/chunks/chunk.PSNV3IQZ.js +0 -1
  1389. package/dist/chunks/chunk.Q6CVPPFA.js +0 -1
  1390. package/dist/chunks/chunk.QDFHF7LY.js +0 -1
  1391. package/dist/chunks/chunk.QEKPRA6B.js +0 -1
  1392. package/dist/chunks/chunk.QGXUQL5S.js +0 -1
  1393. package/dist/chunks/chunk.QGZOQXT5.js +0 -148
  1394. package/dist/chunks/chunk.QH3KZBRJ.js +0 -1
  1395. package/dist/chunks/chunk.QK5M4OHI.js +0 -1
  1396. package/dist/chunks/chunk.R6RTP7QP.js +0 -1
  1397. package/dist/chunks/chunk.RBPNA4JU.js +0 -22
  1398. package/dist/chunks/chunk.REIUDVA3.js +0 -1
  1399. package/dist/chunks/chunk.RH76C7M7.js +0 -1
  1400. package/dist/chunks/chunk.RHDTWIMS.js +0 -1
  1401. package/dist/chunks/chunk.RKLTK3FR.js +0 -1
  1402. package/dist/chunks/chunk.RLOQMCKP.js +0 -1
  1403. package/dist/chunks/chunk.S65R5GMI.js +0 -1
  1404. package/dist/chunks/chunk.S6AD3O5Y.js +0 -2
  1405. package/dist/chunks/chunk.S6UNY7TY.js +0 -1
  1406. package/dist/chunks/chunk.SAVXAZC3.js +0 -1
  1407. package/dist/chunks/chunk.SDFUXOW6.js +0 -47
  1408. package/dist/chunks/chunk.SM2LJQQZ.js +0 -1
  1409. package/dist/chunks/chunk.SN4M25TW.js +0 -1
  1410. package/dist/chunks/chunk.SP4US3KC.js +0 -1
  1411. package/dist/chunks/chunk.SP7J3EGR.js +0 -1
  1412. package/dist/chunks/chunk.ST6Y273B.js +0 -1
  1413. package/dist/chunks/chunk.SW4EXLIK.js +0 -100
  1414. package/dist/chunks/chunk.SYA4MGC4.js +0 -1
  1415. package/dist/chunks/chunk.T3RRBLSI.js +0 -1
  1416. package/dist/chunks/chunk.T5MMUQEM.js +0 -2
  1417. package/dist/chunks/chunk.T5UOTK5T.js +0 -14
  1418. package/dist/chunks/chunk.TCJYR6XR.js +0 -75
  1419. package/dist/chunks/chunk.TEJABDMI.js +0 -1
  1420. package/dist/chunks/chunk.TOUSLOQP.js +0 -19
  1421. package/dist/chunks/chunk.TWL4OKWI.js +0 -1
  1422. package/dist/chunks/chunk.TXJOFCEB.js +0 -20
  1423. package/dist/chunks/chunk.U5DWDLRH.js +0 -25
  1424. package/dist/chunks/chunk.UBXADY37.js +0 -566
  1425. package/dist/chunks/chunk.UJUBD5K6.js +0 -1
  1426. package/dist/chunks/chunk.UMIX7BEK.js +0 -1
  1427. package/dist/chunks/chunk.UNPFONVM.js +0 -121
  1428. package/dist/chunks/chunk.VM42BF4S.js +0 -1
  1429. package/dist/chunks/chunk.VO2NGMYX.js +0 -1
  1430. package/dist/chunks/chunk.VPEIRF5L.js +0 -1
  1431. package/dist/chunks/chunk.VQBTIXTR.js +0 -1
  1432. package/dist/chunks/chunk.VRGYQH3V.js +0 -1
  1433. package/dist/chunks/chunk.W22Z5NC6.js +0 -1
  1434. package/dist/chunks/chunk.W2AIXOEB.js +0 -1
  1435. package/dist/chunks/chunk.W37YFNFN.js +0 -1
  1436. package/dist/chunks/chunk.W7LK5SL4.js +0 -1
  1437. package/dist/chunks/chunk.WHM6GYCJ.js +0 -1
  1438. package/dist/chunks/chunk.WSK5WSL4.js +0 -1
  1439. package/dist/chunks/chunk.X3J4I27U.js +0 -1
  1440. package/dist/chunks/chunk.XD4664TI.js +0 -16
  1441. package/dist/chunks/chunk.XIGVC4SV.js +0 -62
  1442. package/dist/chunks/chunk.XS3KPVEZ.js +0 -1
  1443. package/dist/chunks/chunk.XX7TMK7N.js +0 -1
  1444. package/dist/chunks/chunk.Y5DJ2TIT.js +0 -1
  1445. package/dist/chunks/chunk.YH36XKHI.js +0 -1
  1446. package/dist/chunks/chunk.YJCP5H5H.js +0 -1
  1447. package/dist/chunks/chunk.YUFCED44.js +0 -64
  1448. package/dist/chunks/chunk.Z5WR5G6V.js +0 -35
  1449. package/dist/chunks/chunk.ZAO2ZNCW.js +0 -1
  1450. package/dist/chunks/chunk.ZCO5H22U.js +0 -1
  1451. package/dist/chunks/chunk.ZJRSMGBD.js +0 -1
  1452. package/dist/chunks/chunk.ZOFZPC6S.js +0 -9
  1453. package/dist/chunks/chunk.ZWQ5GUBX.js +0 -55
  1454. package/dist/chunks/chunk.ZZDDQ567.js +0 -1
  1455. package/dist/events/terra-map-change.d.ts +0 -14
  1456. package/dist/terra_ui_components-0.0.203-py3-none-any.whl +0 -0
  1457. package/dist/terra_ui_components-0.0.203.tar.gz +0 -0
@@ -0,0 +1,1820 @@
1
+ import {
2
+ Circle_default
3
+ } from "./chunk.BYBKLA6W.js";
4
+ import {
5
+ MapBrowserEventType_default,
6
+ MapBrowserEvent_default,
7
+ Pointer_default,
8
+ Property_default,
9
+ Vector_default,
10
+ Vector_default2,
11
+ always,
12
+ never,
13
+ noModifierKeys,
14
+ shiftKeyOnly
15
+ } from "./chunk.XLUZ67JF.js";
16
+ import {
17
+ Feature_default,
18
+ Fill_default,
19
+ GeometryCollection_default,
20
+ LineString_default,
21
+ MultiLineString_default,
22
+ MultiPoint_default,
23
+ MultiPolygon_default,
24
+ Stroke_default,
25
+ Style_default,
26
+ createEditingStyle
27
+ } from "./chunk.A4KWAYQH.js";
28
+ import {
29
+ Control_default
30
+ } from "./chunk.OSRGCUJJ.js";
31
+ import {
32
+ Point_default,
33
+ Polygon_default,
34
+ getStrideForLayout
35
+ } from "./chunk.OSNWOWQ2.js";
36
+ import {
37
+ EventType_default,
38
+ Event_default,
39
+ FALSE,
40
+ TRUE
41
+ } from "./chunk.2B2TSVNY.js";
42
+ import {
43
+ boundingExtent,
44
+ clamp,
45
+ distance,
46
+ fromUserCoordinate,
47
+ getBottomLeft,
48
+ getBottomRight,
49
+ getTopLeft,
50
+ getTopRight,
51
+ getUserProjection,
52
+ squaredDistance,
53
+ squaredDistance2,
54
+ toFixed,
55
+ transform,
56
+ transformExtent
57
+ } from "./chunk.S5UFNVHZ.js";
58
+ import {
59
+ LatLngBounds
60
+ } from "./chunk.537RX22Z.js";
61
+ import {
62
+ LatLng
63
+ } from "./chunk.V35DOB7Q.js";
64
+ import {
65
+ __privateAdd,
66
+ __privateGet,
67
+ __privateMethod,
68
+ __privateSet,
69
+ __spreadProps,
70
+ __spreadValues,
71
+ init_buffer,
72
+ init_dirname,
73
+ init_process
74
+ } from "./chunk.IIJBAEGD.js";
75
+
76
+ // src/components/map/controls/draw-toolbar.control.ts
77
+ init_dirname();
78
+ init_buffer();
79
+ init_process();
80
+
81
+ // node_modules/ol/interaction.js
82
+ init_dirname();
83
+ init_buffer();
84
+ init_process();
85
+
86
+ // node_modules/ol/interaction/Draw.js
87
+ init_dirname();
88
+ init_buffer();
89
+ init_process();
90
+
91
+ // node_modules/ol/interaction/tracing.js
92
+ init_dirname();
93
+ init_buffer();
94
+ init_process();
95
+ function getCoordinate(coordinates, index) {
96
+ const count = coordinates.length;
97
+ if (index < 0) {
98
+ return coordinates[index + count];
99
+ }
100
+ if (index >= count) {
101
+ return coordinates[index - count];
102
+ }
103
+ return coordinates[index];
104
+ }
105
+ function interpolateCoordinate(coordinates, index) {
106
+ const count = coordinates.length;
107
+ let startIndex = Math.floor(index);
108
+ const along = index - startIndex;
109
+ if (startIndex >= count) {
110
+ startIndex -= count;
111
+ } else if (startIndex < 0) {
112
+ startIndex += count;
113
+ }
114
+ let endIndex = startIndex + 1;
115
+ if (endIndex >= count) {
116
+ endIndex -= count;
117
+ }
118
+ const start = coordinates[startIndex];
119
+ const x0 = start[0];
120
+ const y0 = start[1];
121
+ const end = coordinates[endIndex];
122
+ const dx = end[0] - x0;
123
+ const dy = end[1] - y0;
124
+ return [x0 + dx * along, y0 + dy * along];
125
+ }
126
+ var sharedUpdateInfo = {
127
+ index: -1,
128
+ endIndex: NaN,
129
+ closestTargetDistance: Infinity
130
+ };
131
+ function getTraceTargetUpdate(coordinate, traceState, map, snapTolerance) {
132
+ const x = coordinate[0];
133
+ const y = coordinate[1];
134
+ let closestTargetDistance = Infinity;
135
+ let newTargetIndex = -1;
136
+ let newEndIndex = NaN;
137
+ const targets = traceState.targets;
138
+ if (!targets) {
139
+ sharedUpdateInfo.index = newTargetIndex;
140
+ sharedUpdateInfo.endIndex = newEndIndex;
141
+ sharedUpdateInfo.closestTargetDistance = closestTargetDistance;
142
+ return sharedUpdateInfo;
143
+ }
144
+ for (let targetIndex = 0; targetIndex < targets.length; ++targetIndex) {
145
+ const target = targets[targetIndex];
146
+ const coordinates = target.coordinates;
147
+ let minSegmentDistance = Infinity;
148
+ let endIndex;
149
+ for (let coordinateIndex = 0; coordinateIndex < coordinates.length - 1; ++coordinateIndex) {
150
+ const start = coordinates[coordinateIndex];
151
+ const end = coordinates[coordinateIndex + 1];
152
+ const rel = getPointSegmentRelationship(x, y, start, end);
153
+ if (rel.squaredDistance < minSegmentDistance) {
154
+ minSegmentDistance = rel.squaredDistance;
155
+ endIndex = coordinateIndex + rel.along;
156
+ }
157
+ }
158
+ if (minSegmentDistance < closestTargetDistance) {
159
+ closestTargetDistance = minSegmentDistance;
160
+ if (target.ring && traceState.targetIndex === targetIndex) {
161
+ if (target.endIndex > target.startIndex) {
162
+ if (endIndex !== void 0 && endIndex < target.startIndex) {
163
+ endIndex += coordinates.length;
164
+ }
165
+ } else if (target.endIndex < target.startIndex) {
166
+ if (endIndex !== void 0 && endIndex > target.startIndex) {
167
+ endIndex -= coordinates.length;
168
+ }
169
+ }
170
+ }
171
+ if (endIndex !== void 0) {
172
+ newEndIndex = endIndex;
173
+ newTargetIndex = targetIndex;
174
+ }
175
+ }
176
+ }
177
+ if (newTargetIndex < 0) {
178
+ sharedUpdateInfo.index = newTargetIndex;
179
+ sharedUpdateInfo.endIndex = newEndIndex;
180
+ sharedUpdateInfo.closestTargetDistance = closestTargetDistance;
181
+ return sharedUpdateInfo;
182
+ }
183
+ const newTarget = targets[newTargetIndex];
184
+ let considerBothDirections = newTarget.ring;
185
+ if (traceState.targetIndex === newTargetIndex && considerBothDirections) {
186
+ const newCoordinate = interpolateCoordinate(
187
+ newTarget.coordinates,
188
+ newEndIndex
189
+ );
190
+ const pixel = map.getPixelFromCoordinate(newCoordinate);
191
+ const startCoord = traceState.startCoord;
192
+ if (startCoord && distance(pixel, map.getPixelFromCoordinate(startCoord)) > snapTolerance) {
193
+ considerBothDirections = false;
194
+ }
195
+ }
196
+ if (considerBothDirections) {
197
+ const coordinates = newTarget.coordinates;
198
+ const count = coordinates.length;
199
+ const startIndex = newTarget.startIndex;
200
+ const endIndex = newEndIndex;
201
+ if (startIndex < endIndex) {
202
+ const forwardDistance = getCumulativeSquaredDistance(
203
+ coordinates,
204
+ startIndex,
205
+ endIndex
206
+ );
207
+ const reverseDistance = getCumulativeSquaredDistance(
208
+ coordinates,
209
+ startIndex,
210
+ endIndex - count
211
+ );
212
+ if (reverseDistance < forwardDistance) {
213
+ newEndIndex -= count;
214
+ }
215
+ } else {
216
+ const reverseDistance = getCumulativeSquaredDistance(
217
+ coordinates,
218
+ startIndex,
219
+ endIndex
220
+ );
221
+ const forwardDistance = getCumulativeSquaredDistance(
222
+ coordinates,
223
+ startIndex,
224
+ endIndex + count
225
+ );
226
+ if (forwardDistance < reverseDistance) {
227
+ newEndIndex += count;
228
+ }
229
+ }
230
+ }
231
+ sharedUpdateInfo.index = newTargetIndex;
232
+ sharedUpdateInfo.endIndex = newEndIndex;
233
+ sharedUpdateInfo.closestTargetDistance = closestTargetDistance;
234
+ return sharedUpdateInfo;
235
+ }
236
+ function getTraceTargets(coordinate, features) {
237
+ const targets = [];
238
+ for (let i = 0; i < features.length; ++i) {
239
+ const feature = features[i];
240
+ const geometry = feature.getGeometry();
241
+ if (geometry) {
242
+ appendGeometryTraceTargets(coordinate, geometry, targets);
243
+ }
244
+ }
245
+ return targets;
246
+ }
247
+ function appendGeometryTraceTargets(coordinate, geometry, targets) {
248
+ if (geometry instanceof LineString_default) {
249
+ appendTraceTarget(coordinate, geometry.getCoordinates(), false, targets);
250
+ return;
251
+ }
252
+ if (geometry instanceof MultiLineString_default) {
253
+ const coordinates = geometry.getCoordinates();
254
+ for (let i = 0, ii = coordinates.length; i < ii; ++i) {
255
+ appendTraceTarget(coordinate, coordinates[i], false, targets);
256
+ }
257
+ return;
258
+ }
259
+ if (geometry instanceof Polygon_default) {
260
+ const coordinates = geometry.getCoordinates();
261
+ for (let i = 0, ii = coordinates.length; i < ii; ++i) {
262
+ appendTraceTarget(coordinate, coordinates[i], true, targets);
263
+ }
264
+ return;
265
+ }
266
+ if (geometry instanceof MultiPolygon_default) {
267
+ const polys = geometry.getCoordinates();
268
+ for (let i = 0, ii = polys.length; i < ii; ++i) {
269
+ const coordinates = polys[i];
270
+ for (let j = 0, jj = coordinates.length; j < jj; ++j) {
271
+ appendTraceTarget(coordinate, coordinates[j], true, targets);
272
+ }
273
+ }
274
+ return;
275
+ }
276
+ if (geometry instanceof GeometryCollection_default) {
277
+ const geometries = geometry.getGeometries();
278
+ for (let i = 0; i < geometries.length; ++i) {
279
+ appendGeometryTraceTargets(coordinate, geometries[i], targets);
280
+ }
281
+ return;
282
+ }
283
+ }
284
+ function appendTraceTarget(coordinate, coordinates, ring, targets) {
285
+ const x = coordinate[0];
286
+ const y = coordinate[1];
287
+ for (let i = 0, ii = coordinates.length - 1; i < ii; ++i) {
288
+ const start = coordinates[i];
289
+ const end = coordinates[i + 1];
290
+ const rel = getPointSegmentRelationship(x, y, start, end);
291
+ if (rel.squaredDistance === 0) {
292
+ const index = i + rel.along;
293
+ targets.push({
294
+ coordinates,
295
+ ring,
296
+ startIndex: index,
297
+ endIndex: index
298
+ });
299
+ return;
300
+ }
301
+ }
302
+ }
303
+ function getSquaredDistance(a, b) {
304
+ return squaredDistance(a[0], a[1], b[0], b[1]);
305
+ }
306
+ function getCumulativeSquaredDistance(coordinates, startIndex, endIndex) {
307
+ let lowIndex, highIndex;
308
+ if (startIndex < endIndex) {
309
+ lowIndex = startIndex;
310
+ highIndex = endIndex;
311
+ } else {
312
+ lowIndex = endIndex;
313
+ highIndex = startIndex;
314
+ }
315
+ const lowWholeIndex = Math.ceil(lowIndex);
316
+ const highWholeIndex = Math.floor(highIndex);
317
+ if (lowWholeIndex > highWholeIndex) {
318
+ const start = interpolateCoordinate(coordinates, lowIndex);
319
+ const end = interpolateCoordinate(coordinates, highIndex);
320
+ return getSquaredDistance(start, end);
321
+ }
322
+ let sd = 0;
323
+ if (lowIndex < lowWholeIndex) {
324
+ const start = interpolateCoordinate(coordinates, lowIndex);
325
+ const end = getCoordinate(coordinates, lowWholeIndex);
326
+ sd += getSquaredDistance(start, end);
327
+ }
328
+ if (highWholeIndex < highIndex) {
329
+ const start = getCoordinate(coordinates, highWholeIndex);
330
+ const end = interpolateCoordinate(coordinates, highIndex);
331
+ sd += getSquaredDistance(start, end);
332
+ }
333
+ for (let i = lowWholeIndex; i < highWholeIndex - 1; ++i) {
334
+ const start = getCoordinate(coordinates, i);
335
+ const end = getCoordinate(coordinates, i + 1);
336
+ sd += getSquaredDistance(start, end);
337
+ }
338
+ return sd;
339
+ }
340
+ var sharedRel = { along: 0, squaredDistance: 0 };
341
+ function getPointSegmentRelationship(x, y, start, end) {
342
+ const x1 = start[0];
343
+ const y1 = start[1];
344
+ const x2 = end[0];
345
+ const y2 = end[1];
346
+ const dx = x2 - x1;
347
+ const dy = y2 - y1;
348
+ let along = 0;
349
+ let px = x1;
350
+ let py = y1;
351
+ if (dx !== 0 || dy !== 0) {
352
+ along = clamp(((x - x1) * dx + (y - y1) * dy) / (dx * dx + dy * dy), 0, 1);
353
+ px += dx * along;
354
+ py += dy * along;
355
+ }
356
+ sharedRel.along = along;
357
+ sharedRel.squaredDistance = toFixed(squaredDistance(x, y, px, py), 10);
358
+ return sharedRel;
359
+ }
360
+
361
+ // node_modules/ol/interaction/Draw.js
362
+ var DrawEventType = {
363
+ /**
364
+ * Triggered upon feature draw start
365
+ * @event DrawEvent#drawstart
366
+ * @api
367
+ */
368
+ DRAWSTART: "drawstart",
369
+ /**
370
+ * Triggered upon feature draw end
371
+ * @event DrawEvent#drawend
372
+ * @api
373
+ */
374
+ DRAWEND: "drawend",
375
+ /**
376
+ * Triggered upon feature draw abortion
377
+ * @event DrawEvent#drawabort
378
+ * @api
379
+ */
380
+ DRAWABORT: "drawabort"
381
+ };
382
+ var DrawEvent = class extends Event_default {
383
+ /**
384
+ * @param {DrawEventType} type Type.
385
+ * @param {Feature} feature The feature drawn.
386
+ */
387
+ constructor(type, feature) {
388
+ super(type);
389
+ this.feature = feature;
390
+ }
391
+ };
392
+ var Draw = class extends Pointer_default {
393
+ /**
394
+ * @param {Options} options Options.
395
+ */
396
+ constructor(options) {
397
+ const pointerOptions = (
398
+ /** @type {import("./Pointer.js").Options} */
399
+ options
400
+ );
401
+ if (!pointerOptions.stopDown) {
402
+ pointerOptions.stopDown = FALSE;
403
+ }
404
+ super(pointerOptions);
405
+ this.on;
406
+ this.once;
407
+ this.un;
408
+ this.options_ = options;
409
+ this.shouldHandle_ = false;
410
+ this.downPx_ = null;
411
+ this.downTimeout_;
412
+ this.lastDragTime_;
413
+ this.pointerType_;
414
+ this.freehand_ = false;
415
+ this.source_ = options.source ? options.source : null;
416
+ this.features_ = options.features ? options.features : null;
417
+ this.snapTolerance_ = options.snapTolerance ? options.snapTolerance : 12;
418
+ this.type_ = /** @type {import("../geom/Geometry.js").Type} */
419
+ options.type;
420
+ this.mode_ = getMode(this.type_);
421
+ this.stopClick_ = !!options.stopClick;
422
+ this.ignoreNextUpEvent_ = false;
423
+ this.minPoints_ = options.minPoints ? options.minPoints : this.mode_ === "Polygon" ? 3 : 2;
424
+ this.maxPoints_ = this.mode_ === "Circle" ? 2 : options.maxPoints ? options.maxPoints : Infinity;
425
+ this.finishCondition_ = options.finishCondition ? options.finishCondition : TRUE;
426
+ this.geometryLayout_ = options.geometryLayout ? options.geometryLayout : "XY";
427
+ let geometryFunction = options.geometryFunction;
428
+ if (!geometryFunction) {
429
+ const mode = this.mode_;
430
+ if (mode === "Circle") {
431
+ geometryFunction = /** @type {GeometryFunction} */
432
+ ((coordinates, geometry, projection) => {
433
+ const circle = geometry ? (
434
+ /** @type {Circle} */
435
+ geometry
436
+ ) : new Circle_default([NaN, NaN]);
437
+ const lineCoords = (
438
+ /** @type {LineCoordType} */
439
+ coordinates
440
+ );
441
+ const center = fromUserCoordinate(lineCoords[0], projection);
442
+ const squaredLength = squaredDistance2(
443
+ center,
444
+ fromUserCoordinate(lineCoords[lineCoords.length - 1], projection)
445
+ );
446
+ circle.setCenterAndRadius(
447
+ center,
448
+ Math.sqrt(squaredLength),
449
+ this.geometryLayout_
450
+ );
451
+ const userProjection = getUserProjection();
452
+ if (userProjection) {
453
+ circle.transform(projection, userProjection);
454
+ }
455
+ return circle;
456
+ });
457
+ } else {
458
+ geometryFunction = (coordinates, geometry, projection) => {
459
+ if (geometry) {
460
+ if (mode === "Polygon") {
461
+ const polyCoords = (
462
+ /** @type {PolyCoordType} */
463
+ coordinates
464
+ );
465
+ if (polyCoords[0].length) {
466
+ geometry.setCoordinates(
467
+ [polyCoords[0].concat([polyCoords[0][0]])],
468
+ this.geometryLayout_
469
+ );
470
+ } else {
471
+ geometry.setCoordinates([], this.geometryLayout_);
472
+ }
473
+ } else {
474
+ geometry.setCoordinates(coordinates, this.geometryLayout_);
475
+ }
476
+ } else if (mode === "Point") {
477
+ geometry = new Point_default(
478
+ /** @type {PointCoordType} */
479
+ coordinates,
480
+ this.geometryLayout_
481
+ );
482
+ } else if (mode === "LineString") {
483
+ geometry = new LineString_default(
484
+ /** @type {LineCoordType} */
485
+ coordinates,
486
+ this.geometryLayout_
487
+ );
488
+ } else {
489
+ geometry = new Polygon_default(
490
+ /** @type {PolyCoordType} */
491
+ coordinates,
492
+ this.geometryLayout_
493
+ );
494
+ }
495
+ return geometry;
496
+ };
497
+ }
498
+ }
499
+ this.geometryFunction_ = /** @type {GeometryFunction} */
500
+ geometryFunction;
501
+ this.dragVertexDelay_ = options.dragVertexDelay !== void 0 ? options.dragVertexDelay : 500;
502
+ this.finishCoordinate_ = null;
503
+ this.sketchFeature_ = null;
504
+ this.sketchPoint_ = null;
505
+ this.sketchCoords_ = null;
506
+ this.sketchLine_ = null;
507
+ this.sketchLineCoords_ = null;
508
+ this.squaredClickTolerance_ = options.clickTolerance ? options.clickTolerance * options.clickTolerance : 36;
509
+ this.overlay_ = new Vector_default({
510
+ source: new Vector_default2({
511
+ useSpatialIndex: false,
512
+ wrapX: options.wrapX ? options.wrapX : false
513
+ }),
514
+ style: options.style ? options.style : getDefaultStyleFunction(),
515
+ updateWhileInteracting: true
516
+ });
517
+ this.geometryName_ = options.geometryName;
518
+ this.condition_ = options.condition ? options.condition : noModifierKeys;
519
+ this.freehandCondition_;
520
+ if (options.freehand) {
521
+ this.freehandCondition_ = always;
522
+ } else {
523
+ this.freehandCondition_ = options.freehandCondition ? options.freehandCondition : shiftKeyOnly;
524
+ }
525
+ this.traceCondition_;
526
+ this.setTrace(options.trace || false);
527
+ this.traceState_ = { active: false };
528
+ this.traceSource_ = options.traceSource || options.source || null;
529
+ this.addChangeListener(Property_default.ACTIVE, this.updateState_);
530
+ }
531
+ /**
532
+ * Toggle tracing mode or set a tracing condition.
533
+ *
534
+ * @param {boolean|import("../events/condition.js").Condition} trace A boolean to toggle tracing mode or an event
535
+ * condition that will be checked when a feature is clicked to determine if tracing should be active.
536
+ */
537
+ setTrace(trace) {
538
+ let condition;
539
+ if (!trace) {
540
+ condition = never;
541
+ } else if (trace === true) {
542
+ condition = always;
543
+ } else {
544
+ condition = trace;
545
+ }
546
+ this.traceCondition_ = condition;
547
+ }
548
+ /**
549
+ * Remove the interaction from its current map and attach it to the new map.
550
+ * Subclasses may set up event handlers to get notified about changes to
551
+ * the map here.
552
+ * @param {import("../Map.js").default} map Map.
553
+ * @override
554
+ */
555
+ setMap(map) {
556
+ super.setMap(map);
557
+ this.updateState_();
558
+ }
559
+ /**
560
+ * Set whether the drawing is done in freehand mode.
561
+ *
562
+ * @param {boolean} freehand Freehand drawing.
563
+ * @api
564
+ */
565
+ setFreehand(freehand) {
566
+ this.freehand_ = freehand;
567
+ if (this.freehand_) {
568
+ this.freehandCondition_ = always;
569
+ } else {
570
+ this.freehandCondition_ = this.options_ && this.options_.freehandCondition ? this.options_.freehandCondition : shiftKeyOnly;
571
+ }
572
+ }
573
+ /**
574
+ * Get the overlay layer that this interaction renders sketch features to.
575
+ * @return {VectorLayer} Overlay layer.
576
+ * @api
577
+ */
578
+ getOverlay() {
579
+ return this.overlay_;
580
+ }
581
+ /**
582
+ * Get if this interaction is in freehand mode.
583
+ * @return {boolean} Freehand drawing.
584
+ * @api
585
+ */
586
+ getFreehand() {
587
+ return this.freehand_;
588
+ }
589
+ /**
590
+ * Handles the {@link module:ol/MapBrowserEvent~MapBrowserEvent map browser event} and may actually draw or finish the drawing.
591
+ * @param {import("../MapBrowserEvent.js").default<PointerEvent>} event Map browser event.
592
+ * @return {boolean} `false` to stop event propagation.
593
+ * @api
594
+ * @override
595
+ */
596
+ handleEvent(event) {
597
+ if (event.originalEvent.type === EventType_default.CONTEXTMENU) {
598
+ event.originalEvent.preventDefault();
599
+ }
600
+ this.freehand_ = this.mode_ !== "Point" && this.freehandCondition_(event);
601
+ let move = event.type === MapBrowserEventType_default.POINTERMOVE;
602
+ let pass = true;
603
+ if (!this.freehand_ && this.lastDragTime_ && event.type === MapBrowserEventType_default.POINTERDRAG) {
604
+ const now = Date.now();
605
+ if (now - this.lastDragTime_ >= this.dragVertexDelay_) {
606
+ this.downPx_ = event.pixel;
607
+ this.shouldHandle_ = !this.freehand_;
608
+ move = true;
609
+ } else {
610
+ this.lastDragTime_ = void 0;
611
+ }
612
+ if (this.shouldHandle_ && this.downTimeout_ !== void 0) {
613
+ clearTimeout(this.downTimeout_);
614
+ this.downTimeout_ = void 0;
615
+ }
616
+ }
617
+ if (this.freehand_ && event.type === MapBrowserEventType_default.POINTERDRAG && this.sketchFeature_ !== null) {
618
+ this.addToDrawing_(event.coordinate);
619
+ pass = false;
620
+ } else if (this.freehand_ && event.type === MapBrowserEventType_default.POINTERDOWN) {
621
+ pass = false;
622
+ } else if (move && this.getPointerCount() < 2) {
623
+ pass = event.type === MapBrowserEventType_default.POINTERMOVE;
624
+ if (pass && this.freehand_) {
625
+ this.handlePointerMove_(event);
626
+ if (this.shouldHandle_) {
627
+ event.originalEvent.preventDefault();
628
+ }
629
+ } else if (event.originalEvent.pointerType === "mouse" || event.type === MapBrowserEventType_default.POINTERDRAG && this.downTimeout_ === void 0) {
630
+ this.handlePointerMove_(event);
631
+ }
632
+ } else if (event.type === MapBrowserEventType_default.DBLCLICK) {
633
+ pass = false;
634
+ }
635
+ return super.handleEvent(event) && pass;
636
+ }
637
+ /**
638
+ * Handle pointer down events.
639
+ * @param {import("../MapBrowserEvent.js").default<PointerEvent>} event Event.
640
+ * @return {boolean} If the event was consumed.
641
+ * @override
642
+ */
643
+ handleDownEvent(event) {
644
+ this.shouldHandle_ = !this.freehand_;
645
+ if (this.freehand_) {
646
+ this.downPx_ = event.pixel;
647
+ if (!this.finishCoordinate_) {
648
+ this.startDrawing_(event.coordinate);
649
+ }
650
+ return true;
651
+ }
652
+ if (!this.condition_(event)) {
653
+ this.lastDragTime_ = void 0;
654
+ return false;
655
+ }
656
+ this.lastDragTime_ = Date.now();
657
+ this.downTimeout_ = setTimeout(() => {
658
+ var _a;
659
+ this.handlePointerMove_(
660
+ new MapBrowserEvent_default(
661
+ MapBrowserEventType_default.POINTERMOVE,
662
+ event.map,
663
+ event.originalEvent,
664
+ false,
665
+ (_a = event.frameState) != null ? _a : void 0
666
+ )
667
+ );
668
+ }, this.dragVertexDelay_);
669
+ this.downPx_ = event.pixel;
670
+ return true;
671
+ }
672
+ /**
673
+ * @private
674
+ */
675
+ deactivateTrace_() {
676
+ this.traceState_ = { active: false };
677
+ }
678
+ /**
679
+ * Activate or deactivate trace state based on a browser event.
680
+ * @param {import("../MapBrowserEvent.js").default} event Event.
681
+ * @private
682
+ */
683
+ toggleTraceState_(event) {
684
+ if (!this.traceSource_ || !this.traceCondition_(event)) {
685
+ return;
686
+ }
687
+ if (this.traceState_.active) {
688
+ this.deactivateTrace_();
689
+ return;
690
+ }
691
+ const map = this.getMap();
692
+ if (!map) {
693
+ return;
694
+ }
695
+ const lowerLeft = map.getCoordinateFromPixel([
696
+ event.pixel[0] - this.snapTolerance_,
697
+ event.pixel[1] + this.snapTolerance_
698
+ ]);
699
+ const upperRight = map.getCoordinateFromPixel([
700
+ event.pixel[0] + this.snapTolerance_,
701
+ event.pixel[1] - this.snapTolerance_
702
+ ]);
703
+ const extent = boundingExtent([lowerLeft, upperRight]);
704
+ const features = this.traceSource_.getFeaturesInExtent(extent);
705
+ if (features.length === 0) {
706
+ return;
707
+ }
708
+ const targets = getTraceTargets(event.coordinate, features);
709
+ if (targets.length) {
710
+ this.traceState_ = {
711
+ active: true,
712
+ startCoord: event.coordinate.slice(),
713
+ targets,
714
+ targetIndex: -1
715
+ };
716
+ }
717
+ }
718
+ /**
719
+ * @param {TraceTarget} target The trace target.
720
+ * @param {number} endIndex The new end index of the trace.
721
+ * @private
722
+ */
723
+ addOrRemoveTracedCoordinates_(target, endIndex) {
724
+ const previouslyForward = target.startIndex <= target.endIndex;
725
+ const currentlyForward = target.startIndex <= endIndex;
726
+ if (previouslyForward === currentlyForward) {
727
+ if (previouslyForward && endIndex > target.endIndex || !previouslyForward && endIndex < target.endIndex) {
728
+ this.addTracedCoordinates_(target, target.endIndex, endIndex);
729
+ } else if (previouslyForward && endIndex < target.endIndex || !previouslyForward && endIndex > target.endIndex) {
730
+ this.removeTracedCoordinates_(endIndex, target.endIndex);
731
+ }
732
+ } else {
733
+ this.removeTracedCoordinates_(target.startIndex, target.endIndex);
734
+ this.addTracedCoordinates_(target, target.startIndex, endIndex);
735
+ }
736
+ }
737
+ /**
738
+ * @param {number} fromIndex The start index.
739
+ * @param {number} toIndex The end index.
740
+ * @private
741
+ */
742
+ removeTracedCoordinates_(fromIndex, toIndex) {
743
+ if (fromIndex === toIndex) {
744
+ return;
745
+ }
746
+ let remove = 0;
747
+ if (fromIndex < toIndex) {
748
+ const start = Math.ceil(fromIndex);
749
+ let end = Math.floor(toIndex);
750
+ if (end === toIndex) {
751
+ end -= 1;
752
+ }
753
+ remove = end - start + 1;
754
+ } else {
755
+ const start = Math.floor(fromIndex);
756
+ let end = Math.ceil(toIndex);
757
+ if (end === toIndex) {
758
+ end += 1;
759
+ }
760
+ remove = start - end + 1;
761
+ }
762
+ if (remove > 0) {
763
+ this.removeLastPoints_(remove);
764
+ }
765
+ }
766
+ /**
767
+ * @param {TraceTarget} target The trace target.
768
+ * @param {number} fromIndex The start index.
769
+ * @param {number} toIndex The end index.
770
+ * @private
771
+ */
772
+ addTracedCoordinates_(target, fromIndex, toIndex) {
773
+ if (fromIndex === toIndex) {
774
+ return;
775
+ }
776
+ const coordinates = [];
777
+ if (fromIndex < toIndex) {
778
+ const start = Math.ceil(fromIndex);
779
+ let end = Math.floor(toIndex);
780
+ if (end === toIndex) {
781
+ end -= 1;
782
+ }
783
+ for (let i = start; i <= end; ++i) {
784
+ coordinates.push(getCoordinate(target.coordinates, i));
785
+ }
786
+ } else {
787
+ const start = Math.floor(fromIndex);
788
+ let end = Math.ceil(toIndex);
789
+ if (end === toIndex) {
790
+ end += 1;
791
+ }
792
+ for (let i = start; i >= end; --i) {
793
+ coordinates.push(getCoordinate(target.coordinates, i));
794
+ }
795
+ }
796
+ if (coordinates.length) {
797
+ this.appendCoordinates(coordinates);
798
+ }
799
+ }
800
+ /**
801
+ * Update the trace.
802
+ * @param {import("../MapBrowserEvent.js").default} event Event.
803
+ * @private
804
+ */
805
+ updateTrace_(event) {
806
+ const traceState = this.traceState_;
807
+ const targets = traceState.targets;
808
+ const startCoord = traceState.startCoord;
809
+ const map = this.getMap();
810
+ if (!traceState.active || !targets || !startCoord || !map) {
811
+ return;
812
+ }
813
+ if (traceState.targetIndex === -1) {
814
+ const startPx = event.map.getPixelFromCoordinate(startCoord);
815
+ if (distance(startPx, event.pixel) < this.snapTolerance_) {
816
+ return;
817
+ }
818
+ }
819
+ const updatedTraceTarget = getTraceTargetUpdate(
820
+ event.coordinate,
821
+ traceState,
822
+ map,
823
+ this.snapTolerance_
824
+ );
825
+ if (updatedTraceTarget.index < 0) {
826
+ return;
827
+ }
828
+ if (traceState.targetIndex !== updatedTraceTarget.index) {
829
+ const previousTargetIndex = traceState.targetIndex;
830
+ if (previousTargetIndex !== void 0 && previousTargetIndex !== -1) {
831
+ const oldTarget = targets[previousTargetIndex];
832
+ this.removeTracedCoordinates_(oldTarget.startIndex, oldTarget.endIndex);
833
+ }
834
+ const newTarget = targets[updatedTraceTarget.index];
835
+ this.addTracedCoordinates_(
836
+ newTarget,
837
+ newTarget.startIndex,
838
+ updatedTraceTarget.endIndex
839
+ );
840
+ } else {
841
+ const target2 = targets[traceState.targetIndex];
842
+ this.addOrRemoveTracedCoordinates_(target2, updatedTraceTarget.endIndex);
843
+ }
844
+ traceState.targetIndex = updatedTraceTarget.index;
845
+ const target = targets[traceState.targetIndex];
846
+ target.endIndex = updatedTraceTarget.endIndex;
847
+ const coordinate = interpolateCoordinate(
848
+ target.coordinates,
849
+ target.endIndex
850
+ );
851
+ const pixel = map.getPixelFromCoordinate(coordinate);
852
+ event.coordinate = coordinate;
853
+ event.pixel = [Math.round(pixel[0]), Math.round(pixel[1])];
854
+ }
855
+ /**
856
+ * Handle drag events.
857
+ * @param {import("../MapBrowserEvent.js").default<PointerEvent>} event Event.
858
+ * @override
859
+ */
860
+ handleDragEvent(event) {
861
+ this.ignoreNextUpEvent_ = true;
862
+ super.handleDragEvent(event);
863
+ }
864
+ /**
865
+ * Handle pointer up events.
866
+ * @param {import("../MapBrowserEvent.js").default<PointerEvent>} event Event.
867
+ * @return {boolean} If the event was consumed.
868
+ * @override
869
+ */
870
+ handleUpEvent(event) {
871
+ let pass = true;
872
+ if (this.getPointerCount() === 0) {
873
+ if (this.downTimeout_) {
874
+ clearTimeout(this.downTimeout_);
875
+ this.downTimeout_ = void 0;
876
+ }
877
+ this.handlePointerMove_(event);
878
+ const tracing = this.traceState_.active;
879
+ if (!this.ignoreNextUpEvent_) {
880
+ this.toggleTraceState_(event);
881
+ }
882
+ if (this.shouldHandle_) {
883
+ const startingToDraw = !this.finishCoordinate_;
884
+ if (startingToDraw) {
885
+ this.startDrawing_(event.coordinate);
886
+ }
887
+ if (!startingToDraw && this.freehand_) {
888
+ this.finishDrawing();
889
+ } else if (!this.freehand_ && (!startingToDraw || this.mode_ === "Point")) {
890
+ if (this.atFinish_(event.pixel, tracing)) {
891
+ if (this.finishCondition_(event)) {
892
+ this.finishDrawing();
893
+ }
894
+ } else {
895
+ this.addToDrawing_(event.coordinate);
896
+ }
897
+ }
898
+ pass = false;
899
+ } else if (this.freehand_) {
900
+ this.abortDrawing();
901
+ }
902
+ }
903
+ this.ignoreNextUpEvent_ = false;
904
+ if (!pass && this.stopClick_) {
905
+ event.preventDefault();
906
+ }
907
+ return pass;
908
+ }
909
+ /**
910
+ * Handle move events.
911
+ * @param {import("../MapBrowserEvent.js").default<PointerEvent>} event A move event.
912
+ * @private
913
+ */
914
+ handlePointerMove_(event) {
915
+ this.pointerType_ = event.originalEvent.pointerType;
916
+ if (this.downPx_ && (!this.freehand_ && this.shouldHandle_ || this.freehand_ && !this.shouldHandle_)) {
917
+ const downPx = this.downPx_;
918
+ const clickPx = event.pixel;
919
+ const dx = downPx[0] - clickPx[0];
920
+ const dy = downPx[1] - clickPx[1];
921
+ const squaredDistance3 = dx * dx + dy * dy;
922
+ this.shouldHandle_ = this.freehand_ ? squaredDistance3 > this.squaredClickTolerance_ : squaredDistance3 <= this.squaredClickTolerance_;
923
+ if (!this.shouldHandle_) {
924
+ return;
925
+ }
926
+ }
927
+ if (!this.finishCoordinate_) {
928
+ this.createOrUpdateSketchPoint_(event.coordinate.slice());
929
+ return;
930
+ }
931
+ this.updateTrace_(event);
932
+ this.modifyDrawing_(event.coordinate);
933
+ }
934
+ /**
935
+ * Determine if an event is within the snapping tolerance of the start coord.
936
+ * @param {import("../pixel.js").Pixel} pixel Pixel.
937
+ * @param {boolean} [tracing] Drawing in trace mode (only stop if at the starting point).
938
+ * @return {boolean} The event is within the snapping tolerance of the start.
939
+ * @private
940
+ */
941
+ atFinish_(pixel, tracing) {
942
+ let at = false;
943
+ const sketchCoords = this.sketchCoords_;
944
+ const finishCoordinate = this.finishCoordinate_;
945
+ if (this.sketchFeature_ && sketchCoords && finishCoordinate) {
946
+ let potentiallyDone = false;
947
+ let potentiallyFinishCoordinates = [finishCoordinate];
948
+ const mode = this.mode_;
949
+ if (mode === "Point") {
950
+ at = true;
951
+ } else if (mode === "Circle") {
952
+ at = /** @type {LineCoordType} */
953
+ sketchCoords.length === 2;
954
+ } else if (mode === "LineString") {
955
+ potentiallyDone = !tracing && /** @type {LineCoordType} */
956
+ sketchCoords.length > this.minPoints_;
957
+ } else if (mode === "Polygon") {
958
+ const sketchCoordsPoly = (
959
+ /** @type {PolyCoordType} */
960
+ sketchCoords
961
+ );
962
+ potentiallyDone = sketchCoordsPoly[0].length > this.minPoints_;
963
+ if (tracing) {
964
+ potentiallyFinishCoordinates = [sketchCoordsPoly[0][0]];
965
+ } else {
966
+ potentiallyFinishCoordinates = [
967
+ sketchCoordsPoly[0][0],
968
+ sketchCoordsPoly[0][sketchCoordsPoly[0].length - 2]
969
+ ];
970
+ }
971
+ }
972
+ if (potentiallyDone) {
973
+ const map = this.getMap();
974
+ if (map) {
975
+ for (let i = 0, ii = potentiallyFinishCoordinates.length; i < ii; i++) {
976
+ const finishCoord = potentiallyFinishCoordinates[i];
977
+ const finishPixel = map.getPixelFromCoordinate(finishCoord);
978
+ const dx = pixel[0] - finishPixel[0];
979
+ const dy = pixel[1] - finishPixel[1];
980
+ const snapTolerance = this.freehand_ ? 1 : this.snapTolerance_;
981
+ at = Math.sqrt(dx * dx + dy * dy) <= snapTolerance;
982
+ if (at) {
983
+ this.finishCoordinate_ = finishCoord;
984
+ break;
985
+ }
986
+ }
987
+ }
988
+ }
989
+ }
990
+ return at;
991
+ }
992
+ /**
993
+ * @param {import("../coordinate.js").Coordinate} coordinates Coordinate.
994
+ * @private
995
+ */
996
+ createOrUpdateSketchPoint_(coordinates) {
997
+ if (!this.sketchPoint_) {
998
+ this.sketchPoint_ = new Feature_default(new Point_default(coordinates));
999
+ this.updateSketchFeatures_();
1000
+ } else {
1001
+ const sketchPointGeom = this.sketchPoint_.getGeometry();
1002
+ if (sketchPointGeom) {
1003
+ sketchPointGeom.setCoordinates(coordinates);
1004
+ }
1005
+ }
1006
+ }
1007
+ /**
1008
+ * @param {import("../geom/Polygon.js").default} geometry Polygon geometry.
1009
+ * @private
1010
+ */
1011
+ createOrUpdateCustomSketchLine_(geometry) {
1012
+ if (!this.sketchLine_) {
1013
+ this.sketchLine_ = new Feature_default();
1014
+ }
1015
+ const ring = geometry.getLinearRing(0);
1016
+ if (!ring) {
1017
+ return;
1018
+ }
1019
+ let sketchLineGeom = this.sketchLine_.getGeometry();
1020
+ if (!sketchLineGeom) {
1021
+ sketchLineGeom = new LineString_default(
1022
+ ring.getFlatCoordinates(),
1023
+ ring.getLayout()
1024
+ );
1025
+ this.sketchLine_.setGeometry(sketchLineGeom);
1026
+ } else {
1027
+ sketchLineGeom.setFlatCoordinates(
1028
+ ring.getLayout(),
1029
+ ring.getFlatCoordinates()
1030
+ );
1031
+ sketchLineGeom.changed();
1032
+ }
1033
+ }
1034
+ /**
1035
+ * Start the drawing.
1036
+ * @param {import("../coordinate.js").Coordinate} start Start coordinate.
1037
+ * @private
1038
+ */
1039
+ startDrawing_(start) {
1040
+ const map = this.getMap();
1041
+ if (!map) {
1042
+ return;
1043
+ }
1044
+ const projection = map.getView().getProjection();
1045
+ const stride = getStrideForLayout(this.geometryLayout_);
1046
+ while (start.length < stride) {
1047
+ start.push(0);
1048
+ }
1049
+ this.finishCoordinate_ = start;
1050
+ if (this.mode_ === "Point") {
1051
+ this.sketchCoords_ = start.slice();
1052
+ } else if (this.mode_ === "Polygon") {
1053
+ this.sketchCoords_ = [[start.slice(), start.slice()]];
1054
+ this.sketchLineCoords_ = this.sketchCoords_[0];
1055
+ } else {
1056
+ this.sketchCoords_ = [start.slice(), start.slice()];
1057
+ }
1058
+ if (this.sketchLineCoords_) {
1059
+ this.sketchLine_ = new Feature_default(new LineString_default(this.sketchLineCoords_));
1060
+ }
1061
+ const geometry = this.geometryFunction_(
1062
+ this.sketchCoords_,
1063
+ void 0,
1064
+ projection
1065
+ );
1066
+ this.sketchFeature_ = new Feature_default();
1067
+ if (this.geometryName_) {
1068
+ this.sketchFeature_.setGeometryName(this.geometryName_);
1069
+ }
1070
+ this.sketchFeature_.setGeometry(geometry);
1071
+ this.updateSketchFeatures_();
1072
+ this.dispatchEvent(
1073
+ new DrawEvent(DrawEventType.DRAWSTART, this.sketchFeature_)
1074
+ );
1075
+ }
1076
+ /**
1077
+ * Modify the drawing.
1078
+ * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
1079
+ * @private
1080
+ */
1081
+ modifyDrawing_(coordinate) {
1082
+ const map = this.getMap();
1083
+ const sketchFeature = this.sketchFeature_;
1084
+ const sketchCoords = this.sketchCoords_;
1085
+ if (!map || !sketchFeature || !sketchCoords) {
1086
+ return;
1087
+ }
1088
+ const geometry = sketchFeature.getGeometry();
1089
+ if (!geometry) {
1090
+ return;
1091
+ }
1092
+ const projection = map.getView().getProjection();
1093
+ const stride = getStrideForLayout(this.geometryLayout_);
1094
+ let coordinates;
1095
+ let last;
1096
+ while (coordinate.length < stride) {
1097
+ coordinate.push(0);
1098
+ }
1099
+ const finishCoordinate = this.finishCoordinate_;
1100
+ if (this.mode_ === "Point") {
1101
+ last = /** @type {PointCoordType} */
1102
+ sketchCoords;
1103
+ } else if (this.mode_ === "Polygon") {
1104
+ coordinates = /** @type {PolyCoordType} */
1105
+ sketchCoords[0];
1106
+ last = coordinates[coordinates.length - 1];
1107
+ if (finishCoordinate && this.atFinish_(map.getPixelFromCoordinate(coordinate))) {
1108
+ coordinate = finishCoordinate.slice();
1109
+ }
1110
+ } else {
1111
+ coordinates = /** @type {LineCoordType} */
1112
+ sketchCoords;
1113
+ last = coordinates[coordinates.length - 1];
1114
+ }
1115
+ last[0] = coordinate[0];
1116
+ last[1] = coordinate[1];
1117
+ this.geometryFunction_(
1118
+ /** @type {!SketchCoordType} */
1119
+ sketchCoords,
1120
+ geometry,
1121
+ projection
1122
+ );
1123
+ if (this.sketchPoint_) {
1124
+ const sketchPointGeom = this.sketchPoint_.getGeometry();
1125
+ if (sketchPointGeom) {
1126
+ sketchPointGeom.setCoordinates(coordinate);
1127
+ }
1128
+ }
1129
+ if (geometry.getType() === "Polygon" && this.mode_ !== "Polygon") {
1130
+ this.createOrUpdateCustomSketchLine_(
1131
+ /** @type {Polygon} */
1132
+ geometry
1133
+ );
1134
+ } else if (this.sketchLineCoords_ && this.sketchLine_) {
1135
+ const sketchLineGeom = this.sketchLine_.getGeometry();
1136
+ if (sketchLineGeom) {
1137
+ sketchLineGeom.setCoordinates(this.sketchLineCoords_);
1138
+ }
1139
+ }
1140
+ this.updateSketchFeatures_();
1141
+ }
1142
+ /**
1143
+ * Add a new coordinate to the drawing.
1144
+ * @param {!PointCoordType} coordinate Coordinate
1145
+ * @return {Feature<import("../geom/SimpleGeometry.js").default>|null} The sketch feature.
1146
+ * @private
1147
+ */
1148
+ addToDrawing_(coordinate) {
1149
+ const sketchFeature = this.sketchFeature_;
1150
+ const sketchCoords = this.sketchCoords_;
1151
+ if (!sketchFeature || !sketchCoords) {
1152
+ return null;
1153
+ }
1154
+ const geometry = sketchFeature.getGeometry();
1155
+ if (!geometry) {
1156
+ return null;
1157
+ }
1158
+ const map = this.getMap();
1159
+ if (!map) {
1160
+ return null;
1161
+ }
1162
+ const projection = map.getView().getProjection();
1163
+ let done;
1164
+ let coordinates;
1165
+ const mode = this.mode_;
1166
+ if (mode === "LineString" || mode === "Circle") {
1167
+ this.finishCoordinate_ = coordinate.slice();
1168
+ coordinates = /** @type {LineCoordType} */
1169
+ sketchCoords;
1170
+ if (coordinates.length >= this.maxPoints_) {
1171
+ if (this.freehand_) {
1172
+ coordinates.pop();
1173
+ } else {
1174
+ done = true;
1175
+ }
1176
+ }
1177
+ coordinates.push(coordinate.slice());
1178
+ this.geometryFunction_(coordinates, geometry, projection);
1179
+ } else if (mode === "Polygon") {
1180
+ coordinates = /** @type {PolyCoordType} */
1181
+ sketchCoords[0];
1182
+ if (coordinates.length >= this.maxPoints_) {
1183
+ if (this.freehand_) {
1184
+ coordinates.pop();
1185
+ } else {
1186
+ done = true;
1187
+ }
1188
+ }
1189
+ coordinates.push(coordinate.slice());
1190
+ if (done) {
1191
+ this.finishCoordinate_ = coordinates[0];
1192
+ }
1193
+ this.geometryFunction_(sketchCoords, geometry, projection);
1194
+ }
1195
+ this.createOrUpdateSketchPoint_(coordinate.slice());
1196
+ this.updateSketchFeatures_();
1197
+ if (done) {
1198
+ return this.finishDrawing();
1199
+ }
1200
+ return (
1201
+ /** @type {Feature<import("../geom/SimpleGeometry.js").default>} */
1202
+ this.sketchFeature_
1203
+ );
1204
+ }
1205
+ /**
1206
+ * @param {number} n The number of points to remove.
1207
+ */
1208
+ removeLastPoints_(n) {
1209
+ if (!this.sketchFeature_ || !this.sketchCoords_) {
1210
+ return;
1211
+ }
1212
+ const geometry = this.sketchFeature_.getGeometry();
1213
+ if (!geometry) {
1214
+ return;
1215
+ }
1216
+ const map = this.getMap();
1217
+ if (!map) {
1218
+ return;
1219
+ }
1220
+ const projection = map.getView().getProjection();
1221
+ const mode = this.mode_;
1222
+ for (let i = 0; i < n; ++i) {
1223
+ let coordinates;
1224
+ if (mode === "LineString" || mode === "Circle") {
1225
+ coordinates = /** @type {LineCoordType} */
1226
+ this.sketchCoords_;
1227
+ coordinates.splice(-2, 1);
1228
+ if (coordinates.length >= 2) {
1229
+ this.finishCoordinate_ = coordinates[coordinates.length - 2].slice();
1230
+ const finishCoordinate = this.finishCoordinate_.slice();
1231
+ coordinates[coordinates.length - 1] = finishCoordinate;
1232
+ this.createOrUpdateSketchPoint_(finishCoordinate);
1233
+ }
1234
+ this.geometryFunction_(coordinates, geometry, projection);
1235
+ if (geometry.getType() === "Polygon" && this.sketchLine_) {
1236
+ this.createOrUpdateCustomSketchLine_(
1237
+ /** @type {Polygon} */
1238
+ geometry
1239
+ );
1240
+ }
1241
+ } else if (mode === "Polygon") {
1242
+ coordinates = /** @type {PolyCoordType} */
1243
+ this.sketchCoords_[0];
1244
+ coordinates.splice(-2, 1);
1245
+ if (this.sketchLine_) {
1246
+ const sketchLineGeom = this.sketchLine_.getGeometry();
1247
+ if (sketchLineGeom) {
1248
+ if (coordinates.length >= 2) {
1249
+ const finishCoordinate = coordinates[coordinates.length - 2].slice();
1250
+ coordinates[coordinates.length - 1] = finishCoordinate;
1251
+ this.createOrUpdateSketchPoint_(finishCoordinate);
1252
+ }
1253
+ sketchLineGeom.setCoordinates(coordinates);
1254
+ }
1255
+ }
1256
+ this.geometryFunction_(this.sketchCoords_, geometry, projection);
1257
+ }
1258
+ if (coordinates && coordinates.length === 1) {
1259
+ this.abortDrawing();
1260
+ break;
1261
+ }
1262
+ }
1263
+ this.updateSketchFeatures_();
1264
+ }
1265
+ /**
1266
+ * Remove last point of the feature currently being drawn. Does not do anything when
1267
+ * drawing POINT or MULTI_POINT geometries.
1268
+ * @api
1269
+ */
1270
+ removeLastPoint() {
1271
+ this.removeLastPoints_(1);
1272
+ }
1273
+ /**
1274
+ * Stop drawing and add the sketch feature to the target layer.
1275
+ * The {@link module:ol/interaction/Draw~DrawEventType.DRAWEND} event is
1276
+ * dispatched before inserting the feature.
1277
+ * @return {Feature<import("../geom/SimpleGeometry.js").default>|null} The drawn feature.
1278
+ * @api
1279
+ */
1280
+ finishDrawing() {
1281
+ const sketchFeature = this.abortDrawing_();
1282
+ if (!sketchFeature) {
1283
+ return null;
1284
+ }
1285
+ let coordinates = this.sketchCoords_;
1286
+ const geometry = sketchFeature.getGeometry();
1287
+ const map = this.getMap();
1288
+ if (!coordinates || !geometry || !map) {
1289
+ return sketchFeature;
1290
+ }
1291
+ const projection = map.getView().getProjection();
1292
+ if (this.mode_ === "LineString") {
1293
+ coordinates.pop();
1294
+ this.geometryFunction_(coordinates, geometry, projection);
1295
+ } else if (this.mode_ === "Polygon") {
1296
+ coordinates[0].pop();
1297
+ this.geometryFunction_(coordinates, geometry, projection);
1298
+ coordinates = geometry.getCoordinates();
1299
+ }
1300
+ if (this.type_ === "MultiPoint") {
1301
+ sketchFeature.setGeometry(
1302
+ new MultiPoint_default([
1303
+ /** @type {PointCoordType} */
1304
+ coordinates
1305
+ ])
1306
+ );
1307
+ } else if (this.type_ === "MultiLineString") {
1308
+ sketchFeature.setGeometry(
1309
+ new MultiLineString_default([
1310
+ /** @type {LineCoordType} */
1311
+ coordinates
1312
+ ])
1313
+ );
1314
+ } else if (this.type_ === "MultiPolygon") {
1315
+ sketchFeature.setGeometry(
1316
+ new MultiPolygon_default([
1317
+ /** @type {PolyCoordType} */
1318
+ coordinates
1319
+ ])
1320
+ );
1321
+ }
1322
+ this.dispatchEvent(new DrawEvent(DrawEventType.DRAWEND, sketchFeature));
1323
+ if (this.features_) {
1324
+ this.features_.push(sketchFeature);
1325
+ }
1326
+ if (this.source_) {
1327
+ this.source_.addFeature(sketchFeature);
1328
+ }
1329
+ return sketchFeature;
1330
+ }
1331
+ /**
1332
+ * Stop drawing without adding the sketch feature to the target layer.
1333
+ * @return {Feature<import("../geom/SimpleGeometry.js").default>|null} The sketch feature (or null if none).
1334
+ * @private
1335
+ */
1336
+ abortDrawing_() {
1337
+ var _a;
1338
+ this.finishCoordinate_ = null;
1339
+ const sketchFeature = this.sketchFeature_;
1340
+ this.sketchFeature_ = null;
1341
+ this.sketchPoint_ = null;
1342
+ this.sketchLine_ = null;
1343
+ (_a = this.overlay_.getSource()) == null ? void 0 : _a.clear(true);
1344
+ this.deactivateTrace_();
1345
+ return sketchFeature;
1346
+ }
1347
+ /**
1348
+ * Stop drawing without adding the sketch feature to the target layer.
1349
+ * @api
1350
+ */
1351
+ abortDrawing() {
1352
+ const sketchFeature = this.abortDrawing_();
1353
+ if (sketchFeature) {
1354
+ this.dispatchEvent(new DrawEvent(DrawEventType.DRAWABORT, sketchFeature));
1355
+ }
1356
+ }
1357
+ /**
1358
+ * Append coordinates to the end of the geometry that is currently being drawn.
1359
+ * This can be used when drawing LineStrings or Polygons. Coordinates will
1360
+ * either be appended to the current LineString or the outer ring of the current
1361
+ * Polygon. If no geometry is being drawn, a new one will be created.
1362
+ * @param {!LineCoordType} coordinates Linear coordinates to be appended to
1363
+ * the coordinate array.
1364
+ * @api
1365
+ */
1366
+ appendCoordinates(coordinates) {
1367
+ const mode = this.mode_;
1368
+ const newDrawing = !this.sketchFeature_;
1369
+ if (newDrawing) {
1370
+ this.startDrawing_(coordinates[0]);
1371
+ }
1372
+ let sketchCoords;
1373
+ if (mode === "LineString" || mode === "Circle") {
1374
+ sketchCoords = /** @type {LineCoordType} */
1375
+ this.sketchCoords_;
1376
+ } else if (mode === "Polygon") {
1377
+ sketchCoords = this.sketchCoords_ && this.sketchCoords_.length ? (
1378
+ /** @type {PolyCoordType} */
1379
+ this.sketchCoords_[0]
1380
+ ) : [];
1381
+ } else {
1382
+ return;
1383
+ }
1384
+ if (newDrawing) {
1385
+ sketchCoords.shift();
1386
+ }
1387
+ sketchCoords.pop();
1388
+ for (let i = 0; i < coordinates.length; i++) {
1389
+ this.addToDrawing_(coordinates[i]);
1390
+ }
1391
+ const ending = coordinates[coordinates.length - 1];
1392
+ this.sketchFeature_ = this.addToDrawing_(ending);
1393
+ this.modifyDrawing_(ending);
1394
+ }
1395
+ /**
1396
+ * Initiate draw mode by starting from an existing geometry which will
1397
+ * receive new additional points. This only works on features with
1398
+ * `LineString` geometries, where the interaction will extend lines by adding
1399
+ * points to the end of the coordinates array.
1400
+ * This will change the original feature, instead of drawing a copy.
1401
+ *
1402
+ * The function will dispatch a `drawstart` event.
1403
+ *
1404
+ * @param {!Feature<LineString>} feature Feature to be extended.
1405
+ * @api
1406
+ */
1407
+ extend(feature) {
1408
+ const geometry = feature.getGeometry();
1409
+ if (!(geometry instanceof LineString_default)) {
1410
+ return;
1411
+ }
1412
+ const lineString = geometry;
1413
+ this.sketchFeature_ = feature;
1414
+ this.sketchCoords_ = lineString.getCoordinates();
1415
+ const last = this.sketchCoords_[this.sketchCoords_.length - 1];
1416
+ this.finishCoordinate_ = last.slice();
1417
+ this.sketchCoords_.push(last.slice());
1418
+ this.sketchPoint_ = new Feature_default(new Point_default(last));
1419
+ this.updateSketchFeatures_();
1420
+ this.dispatchEvent(
1421
+ new DrawEvent(DrawEventType.DRAWSTART, this.sketchFeature_)
1422
+ );
1423
+ }
1424
+ /**
1425
+ * Redraw the sketch features.
1426
+ * @private
1427
+ */
1428
+ updateSketchFeatures_() {
1429
+ const sketchFeatures = [];
1430
+ if (this.sketchFeature_) {
1431
+ sketchFeatures.push(this.sketchFeature_);
1432
+ }
1433
+ if (this.sketchLine_) {
1434
+ sketchFeatures.push(this.sketchLine_);
1435
+ }
1436
+ if (this.sketchPoint_) {
1437
+ sketchFeatures.push(this.sketchPoint_);
1438
+ }
1439
+ const overlaySource = this.overlay_.getSource();
1440
+ if (!overlaySource) {
1441
+ return;
1442
+ }
1443
+ overlaySource.clear(true);
1444
+ overlaySource.addFeatures(sketchFeatures);
1445
+ }
1446
+ /**
1447
+ * @private
1448
+ */
1449
+ updateState_() {
1450
+ const map = this.getMap();
1451
+ const active = this.getActive();
1452
+ if (!map || !active) {
1453
+ this.abortDrawing();
1454
+ }
1455
+ this.overlay_.setMap(active ? map : null);
1456
+ }
1457
+ };
1458
+ function getDefaultStyleFunction() {
1459
+ const styles = createEditingStyle();
1460
+ return function(feature) {
1461
+ const geometry = feature.getGeometry();
1462
+ if (!geometry) {
1463
+ return null;
1464
+ }
1465
+ return styles[geometry.getType()];
1466
+ };
1467
+ }
1468
+ function createBox() {
1469
+ return function(coordinates, geometry, projection) {
1470
+ const extent = boundingExtent(
1471
+ /** @type {LineCoordType} */
1472
+ [
1473
+ coordinates[0],
1474
+ coordinates[coordinates.length - 1]
1475
+ ].map(function(coordinate) {
1476
+ return fromUserCoordinate(coordinate, projection);
1477
+ })
1478
+ );
1479
+ const boxCoordinates = [
1480
+ [
1481
+ getBottomLeft(extent),
1482
+ getBottomRight(extent),
1483
+ getTopRight(extent),
1484
+ getTopLeft(extent),
1485
+ getBottomLeft(extent)
1486
+ ]
1487
+ ];
1488
+ if (geometry) {
1489
+ geometry.setCoordinates(boxCoordinates);
1490
+ } else {
1491
+ geometry = new Polygon_default(boxCoordinates);
1492
+ }
1493
+ const userProjection = getUserProjection();
1494
+ if (userProjection) {
1495
+ geometry.transform(projection, userProjection);
1496
+ }
1497
+ return geometry;
1498
+ };
1499
+ }
1500
+ function getMode(type) {
1501
+ switch (type) {
1502
+ case "Point":
1503
+ case "MultiPoint":
1504
+ return "Point";
1505
+ case "LineString":
1506
+ case "MultiLineString":
1507
+ return "LineString";
1508
+ case "Polygon":
1509
+ case "MultiPolygon":
1510
+ return "Polygon";
1511
+ case "Circle":
1512
+ return "Circle";
1513
+ default:
1514
+ throw new Error("Invalid type: " + type);
1515
+ }
1516
+ }
1517
+ var Draw_default = Draw;
1518
+
1519
+ // src/components/map/controls/draw-toolbar.control.ts
1520
+ var _draw, _options, _tooltipEl, _cancelBtn, _boundMoveHandler, _DrawToolbarControl_instances, viewProjection_fn, isButtonVisible_fn, getIcon_fn, getTitle_fn, getTooltipText_fn, getDrawDefaults_fn, getDrawOptions_fn, activateTool_fn, moveHandler_fn, cleanup_fn;
1521
+ var DrawToolbarControl = class extends Control_default {
1522
+ constructor(vectorLayer, options) {
1523
+ const element = document.createElement("div");
1524
+ element.className = "draw-toolbar ol-unselectable ol-control";
1525
+ super({ element, target: options == null ? void 0 : options.target });
1526
+ __privateAdd(this, _DrawToolbarControl_instances);
1527
+ __privateAdd(this, _draw);
1528
+ __privateAdd(this, _options);
1529
+ __privateAdd(this, _tooltipEl);
1530
+ __privateAdd(this, _cancelBtn);
1531
+ __privateAdd(this, _boundMoveHandler);
1532
+ __privateSet(this, _options, options);
1533
+ const tools = ["bbox", "polygon", "point", "circle"];
1534
+ tools.forEach((tool) => {
1535
+ const btn = document.createElement("button");
1536
+ btn.type = "button";
1537
+ btn.innerHTML = __privateMethod(this, _DrawToolbarControl_instances, getIcon_fn).call(this, tool);
1538
+ btn.title = __privateMethod(this, _DrawToolbarControl_instances, getTitle_fn).call(this, tool);
1539
+ btn.addEventListener("click", () => __privateMethod(this, _DrawToolbarControl_instances, activateTool_fn).call(this, tool));
1540
+ element.appendChild(btn);
1541
+ this.toggleButtonVisibility(tool);
1542
+ });
1543
+ const cancelBtn = document.createElement("button");
1544
+ cancelBtn.type = "button";
1545
+ cancelBtn.className = "cancel-btn";
1546
+ cancelBtn.innerHTML = __privateMethod(this, _DrawToolbarControl_instances, getIcon_fn).call(this, "cancel");
1547
+ cancelBtn.title = "Cancel drawing";
1548
+ cancelBtn.addEventListener("click", () => __privateMethod(this, _DrawToolbarControl_instances, cleanup_fn).call(this));
1549
+ element.appendChild(cancelBtn);
1550
+ this.vectorLayer = vectorLayer;
1551
+ __privateSet(this, _cancelBtn, cancelBtn);
1552
+ __privateSet(this, _tooltipEl, document.createElement("div"));
1553
+ __privateGet(this, _tooltipEl).className = "ol-tooltip";
1554
+ __privateGet(this, _tooltipEl).style.display = "none";
1555
+ __privateSet(this, _boundMoveHandler, __privateMethod(this, _DrawToolbarControl_instances, moveHandler_fn).bind(this));
1556
+ }
1557
+ setMap(map) {
1558
+ var _a;
1559
+ super.setMap(map);
1560
+ if (map) {
1561
+ (_a = map.getViewport()) == null ? void 0 : _a.appendChild(__privateGet(this, _tooltipEl));
1562
+ }
1563
+ }
1564
+ setOptions(options) {
1565
+ __privateSet(this, _options, __spreadValues(__spreadValues({}, __privateGet(this, _options)), options));
1566
+ this.toggleButtonVisibility("bbox");
1567
+ this.toggleButtonVisibility("polygon");
1568
+ this.toggleButtonVisibility("point");
1569
+ this.toggleButtonVisibility("circle");
1570
+ }
1571
+ clearValue() {
1572
+ var _a;
1573
+ __privateMethod(this, _DrawToolbarControl_instances, cleanup_fn).call(this);
1574
+ (_a = this.vectorLayer.getSource()) == null ? void 0 : _a.clear();
1575
+ }
1576
+ setValue(value, _fitToValue = false) {
1577
+ this.clearValue();
1578
+ const source = this.vectorLayer.getSource();
1579
+ if (!source) return;
1580
+ let feature;
1581
+ if (value instanceof LatLng) {
1582
+ feature = this.buildPointFeature(value);
1583
+ } else if (value instanceof LatLngBounds) {
1584
+ feature = this.buildBBoxFeature(value);
1585
+ }
1586
+ if (feature) {
1587
+ source.addFeature(feature);
1588
+ }
1589
+ }
1590
+ buildPointFeature(latLng) {
1591
+ const viewProjection = __privateMethod(this, _DrawToolbarControl_instances, viewProjection_fn).call(this);
1592
+ const coords = transform(
1593
+ [latLng.lng, latLng.lat],
1594
+ "EPSG:4326",
1595
+ viewProjection
1596
+ );
1597
+ const feature = new Feature_default({
1598
+ geometry: new Point_default(coords)
1599
+ });
1600
+ feature.set("drawtool", "point");
1601
+ return feature;
1602
+ }
1603
+ buildBBoxFeature(bounds) {
1604
+ const viewProjection = __privateMethod(this, _DrawToolbarControl_instances, viewProjection_fn).call(this);
1605
+ const [minX, minY] = transform(
1606
+ [bounds.getWest(), bounds.getSouth()],
1607
+ "EPSG:4326",
1608
+ viewProjection
1609
+ );
1610
+ const [maxX, maxY] = transform(
1611
+ [bounds.getEast(), bounds.getNorth()],
1612
+ "EPSG:4326",
1613
+ viewProjection
1614
+ );
1615
+ const feature = new Feature_default({
1616
+ geometry: new Polygon_default([
1617
+ [
1618
+ [minX, minY],
1619
+ [maxX, minY],
1620
+ [maxX, maxY],
1621
+ [minX, maxY],
1622
+ [minX, minY]
1623
+ ]
1624
+ ])
1625
+ });
1626
+ feature.set("drawtool", "bbox");
1627
+ return feature;
1628
+ }
1629
+ toggleButtonVisibility(tool) {
1630
+ var _a;
1631
+ let btnIndex = 0;
1632
+ if (tool === "bbox") {
1633
+ btnIndex = 1;
1634
+ } else if (tool === "polygon") {
1635
+ btnIndex = 2;
1636
+ } else if (tool === "point") {
1637
+ btnIndex = 3;
1638
+ } else if (tool === "circle") {
1639
+ btnIndex = 4;
1640
+ }
1641
+ const btn = (_a = this.element) == null ? void 0 : _a.querySelector(
1642
+ `button:nth-child(${btnIndex})`
1643
+ );
1644
+ if (btn) {
1645
+ btn.style.display = __privateMethod(this, _DrawToolbarControl_instances, isButtonVisible_fn).call(this, tool) ? "flex" : "none";
1646
+ }
1647
+ }
1648
+ };
1649
+ _draw = new WeakMap();
1650
+ _options = new WeakMap();
1651
+ _tooltipEl = new WeakMap();
1652
+ _cancelBtn = new WeakMap();
1653
+ _boundMoveHandler = new WeakMap();
1654
+ _DrawToolbarControl_instances = new WeakSet();
1655
+ viewProjection_fn = function() {
1656
+ var _a, _b;
1657
+ return (_b = (_a = this.getMap()) == null ? void 0 : _a.getView().getProjection()) != null ? _b : "EPSG:3857";
1658
+ };
1659
+ isButtonVisible_fn = function(tool) {
1660
+ var _a, _b, _c, _d;
1661
+ if (!__privateGet(this, _options)) {
1662
+ return true;
1663
+ }
1664
+ switch (tool) {
1665
+ case "bbox":
1666
+ return (_a = __privateGet(this, _options).showBboxTool) != null ? _a : true;
1667
+ case "polygon":
1668
+ return (_b = __privateGet(this, _options).showPolygonTool) != null ? _b : true;
1669
+ case "point":
1670
+ return (_c = __privateGet(this, _options).showPointTool) != null ? _c : true;
1671
+ case "circle":
1672
+ return (_d = __privateGet(this, _options).showCircleTool) != null ? _d : true;
1673
+ default:
1674
+ return false;
1675
+ }
1676
+ };
1677
+ getIcon_fn = function(tool) {
1678
+ switch (tool) {
1679
+ case "bbox":
1680
+ return `<svg viewBox="12 12 36 36" width="18" height="18" fill="currentColor" aria-hidden="true">
1681
+ <path d="M 44,14 H 16 v 28 h 28 z m -2,26 H 18 V 16 h 24 z" />
1682
+ </svg>`;
1683
+ case "polygon":
1684
+ return `<svg viewBox="73 15 30 30" width="18" height="18" fill="currentColor" aria-hidden="true">
1685
+ <path d="M 100,24.565 97.904,39.395 83.07,42 76,28.773 86.463,18 Z" />
1686
+ </svg>`;
1687
+ case "point":
1688
+ return `<svg viewBox="255 15 30 30" width="18" height="18" fill="currentColor" aria-hidden="true">
1689
+ <path d="m 270,19 c -4.971,0 -9,4.029 -9,9 0,4.971 5.001,12 9,14 4.001,-2 9,-9.029 9,-14 0,-4.971 -4.029,-9 -9,-9 z m 0,12.5 c -2.484,0 -4.5,-2.014 -4.5,-4.5 0,-2.484 2.016,-4.5 4.5,-4.5 2.485,0 4.5,2.016 4.5,4.5 0,2.486 -2.015,4.5 -4.5,4.5 z" />
1690
+ </svg>`;
1691
+ case "circle":
1692
+ return `<svg viewBox="195 15 30 30" width="18" height="18" fill="currentColor" aria-hidden="true">
1693
+ <path d="m 221,30 c 0,6.078 -4.926,11 -11,11 -6.074,0 -11,-4.922 -11,-11 0,-6.074 4.926,-11 11,-11 6.074,0 11,4.926 11,11 z" />
1694
+ </svg>`;
1695
+ case "cancel":
1696
+ return `<svg viewBox="0 0 30 30" width="18" height="18" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" aria-hidden="true">
1697
+ <line x1="8" y1="8" x2="22" y2="22" />
1698
+ <line x1="22" y1="8" x2="8" y2="22" />
1699
+ </svg>`;
1700
+ default:
1701
+ return "";
1702
+ }
1703
+ };
1704
+ getTitle_fn = function(tool) {
1705
+ if (tool === "bbox") return "Draw a rectangle";
1706
+ if (tool === "polygon") return "Draw a polygon";
1707
+ if (tool === "point") return "Choose a point";
1708
+ if (tool === "circle") return "Draw a circle";
1709
+ return "";
1710
+ };
1711
+ getTooltipText_fn = function(tool) {
1712
+ if (tool === "bbox") return "Click and drag to draw a bounding box";
1713
+ if (tool === "polygon") return "Click to draw polygon";
1714
+ if (tool === "point") return "Click to place point";
1715
+ if (tool === "circle") return "Click and drag to draw a circle";
1716
+ return "Click to draw";
1717
+ };
1718
+ getDrawDefaults_fn = function() {
1719
+ var _a;
1720
+ return {
1721
+ source: (_a = this.vectorLayer.getSource()) != null ? _a : void 0,
1722
+ dragVertexDelay: 0,
1723
+ style: new Style_default({
1724
+ stroke: new Stroke_default({
1725
+ color: "#0088ff",
1726
+ width: 2,
1727
+ lineDash: [8, 4]
1728
+ }),
1729
+ fill: new Fill_default({
1730
+ color: "rgba(51, 136, 255, 0.1)"
1731
+ })
1732
+ })
1733
+ };
1734
+ };
1735
+ getDrawOptions_fn = function(tool) {
1736
+ const base = __privateMethod(this, _DrawToolbarControl_instances, getDrawDefaults_fn).call(this);
1737
+ if (tool === "bbox") {
1738
+ return __spreadProps(__spreadValues({}, base), {
1739
+ type: "Circle",
1740
+ geometryFunction: createBox(),
1741
+ freehand: true
1742
+ });
1743
+ }
1744
+ if (tool === "circle") {
1745
+ return __spreadProps(__spreadValues({}, base), {
1746
+ type: "Circle",
1747
+ freehand: true
1748
+ });
1749
+ }
1750
+ if (tool === "polygon") {
1751
+ return __spreadProps(__spreadValues({}, base), {
1752
+ type: "Polygon"
1753
+ });
1754
+ }
1755
+ return __spreadProps(__spreadValues({}, base), {
1756
+ type: "Point"
1757
+ });
1758
+ };
1759
+ activateTool_fn = function(tool) {
1760
+ var _a;
1761
+ const map = this.getMap();
1762
+ if (!map) return;
1763
+ __privateMethod(this, _DrawToolbarControl_instances, cleanup_fn).call(this);
1764
+ (_a = this.vectorLayer.getSource()) == null ? void 0 : _a.clear();
1765
+ const viewport = map.getViewport();
1766
+ if (viewport) {
1767
+ viewport.style.cursor = "crosshair";
1768
+ }
1769
+ const drawOptions = __privateMethod(this, _DrawToolbarControl_instances, getDrawOptions_fn).call(this, tool);
1770
+ __privateSet(this, _draw, new Draw_default(drawOptions));
1771
+ map.addInteraction(__privateGet(this, _draw));
1772
+ __privateGet(this, _tooltipEl).style.display = "block";
1773
+ __privateGet(this, _tooltipEl).innerText = __privateMethod(this, _DrawToolbarControl_instances, getTooltipText_fn).call(this, tool);
1774
+ __privateGet(this, _cancelBtn).classList.add("visible");
1775
+ map.on("pointermove", __privateGet(this, _boundMoveHandler));
1776
+ __privateGet(this, _draw).on("drawend", (event) => {
1777
+ event.feature.set("drawtool", tool);
1778
+ __privateMethod(this, _DrawToolbarControl_instances, cleanup_fn).call(this);
1779
+ });
1780
+ const viewProjection = __privateMethod(this, _DrawToolbarControl_instances, viewProjection_fn).call(this);
1781
+ __privateGet(this, _draw).on("drawstart", (e) => {
1782
+ const geom = e.feature.getGeometry();
1783
+ if (!geom) return;
1784
+ geom.on("change", () => {
1785
+ const extent = geom.getExtent();
1786
+ const bbox4326 = transformExtent(extent, viewProjection, "EPSG:4326");
1787
+ const [west, south, east, north] = bbox4326;
1788
+ __privateGet(this, _tooltipEl).innerHTML = `
1789
+ W: ${west.toFixed(4)}<br/>
1790
+ S: ${south.toFixed(4)}<br/>
1791
+ E: ${east.toFixed(4)}<br/>
1792
+ N: ${north.toFixed(4)}
1793
+ `;
1794
+ });
1795
+ });
1796
+ };
1797
+ moveHandler_fn = function(e) {
1798
+ const pixel = e.pixel;
1799
+ __privateGet(this, _tooltipEl).style.left = `${pixel[0] + 12}px`;
1800
+ __privateGet(this, _tooltipEl).style.top = `${pixel[1] + 12}px`;
1801
+ };
1802
+ cleanup_fn = function() {
1803
+ const map = this.getMap();
1804
+ if (map && __privateGet(this, _draw)) {
1805
+ const viewport = map.getViewport();
1806
+ map.removeInteraction(__privateGet(this, _draw));
1807
+ map.un("pointermove", __privateGet(this, _boundMoveHandler));
1808
+ if (viewport) {
1809
+ viewport.style.cursor = "";
1810
+ }
1811
+ }
1812
+ __privateSet(this, _draw, void 0);
1813
+ __privateGet(this, _tooltipEl).style.display = "none";
1814
+ __privateGet(this, _cancelBtn).classList.remove("visible");
1815
+ };
1816
+
1817
+ export {
1818
+ Draw_default,
1819
+ DrawToolbarControl
1820
+ };