@nasa-terra/components 0.0.171 → 0.0.173

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 (1269) hide show
  1. package/cdn/chunks/chunk.22JAM2GR.js +149 -0
  2. package/cdn/chunks/chunk.24OQ3U5Z.js +78 -0
  3. package/cdn/chunks/chunk.2EMPB3LW.js +32 -0
  4. package/cdn/chunks/chunk.2QGWAQJN.js +60 -0
  5. package/cdn/chunks/chunk.2WSE4WVS.js +29 -0
  6. package/cdn/chunks/chunk.3CZEYNCY.js +904 -0
  7. package/cdn/chunks/chunk.3HQLWECM.js +29 -0
  8. package/cdn/chunks/chunk.3JEMFKES.js +33 -0
  9. package/cdn/chunks/chunk.3UQERGOR.js +29 -0
  10. package/cdn/chunks/chunk.3X2FJVEK.js +99 -0
  11. package/cdn/chunks/chunk.4ALIIVCJ.js +83 -0
  12. package/cdn/chunks/chunk.4EOFZSCU.js +1220 -0
  13. package/cdn/chunks/chunk.4HB34IXR.js +113 -0
  14. package/cdn/chunks/chunk.4JC5MYYJ.js +19 -0
  15. package/cdn/chunks/chunk.4L3USJ7V.js +534 -0
  16. package/cdn/chunks/chunk.4LU3KPCC.js +99 -0
  17. package/cdn/chunks/chunk.5EGW6TYF.js +19 -0
  18. package/cdn/chunks/chunk.5EQCDBI5.js +19 -0
  19. package/cdn/chunks/chunk.5QNDTK5C.js +359 -0
  20. package/cdn/chunks/chunk.5T4HKCSZ.js +599 -0
  21. package/cdn/chunks/chunk.5TZHMOT6.js +19 -0
  22. package/cdn/chunks/chunk.5VEXUMPS.js +19 -0
  23. package/cdn/chunks/chunk.5X6UVUGO.js +35 -0
  24. package/cdn/chunks/chunk.5X7RGYH5.js +32 -0
  25. package/cdn/chunks/chunk.6A4AJL6I.js +493 -0
  26. package/cdn/chunks/chunk.6UPWJJ2H.js +37 -0
  27. package/cdn/chunks/chunk.6VKKERLY.js +29 -0
  28. package/cdn/chunks/chunk.6ZB5UDLH.js +32 -0
  29. package/cdn/chunks/chunk.77VJOBXN.js +99 -0
  30. package/cdn/chunks/chunk.7AIWYMSZ.js +33 -0
  31. package/cdn/chunks/chunk.7EWNP3RB.js +29 -0
  32. package/cdn/chunks/chunk.7F5GSKQM.js +662 -0
  33. package/cdn/chunks/chunk.7FHHLKG6.js +29 -0
  34. package/cdn/chunks/chunk.7GX73K7N.js +2332 -0
  35. package/cdn/chunks/chunk.7ICSIANV.js +32 -0
  36. package/cdn/chunks/chunk.7RRJB53A.js +19 -0
  37. package/cdn/chunks/chunk.7ZMAPG7T.js +621 -0
  38. package/cdn/chunks/chunk.AD6X2QDQ.js +19 -0
  39. package/cdn/chunks/chunk.AHC4D5WX.js +62 -0
  40. package/cdn/chunks/chunk.ALPGOTDF.js +29 -0
  41. package/cdn/chunks/chunk.AM4Z34M4.js +19 -0
  42. package/cdn/chunks/chunk.AUIY7R6I.js +19 -0
  43. package/cdn/chunks/chunk.AW74RV3M.js +538 -0
  44. package/cdn/chunks/chunk.B5GLZH36.js +36 -0
  45. package/cdn/chunks/chunk.BE6HWR6X.js +29 -0
  46. package/cdn/chunks/chunk.BFQEE74Y.js +29 -0
  47. package/cdn/chunks/chunk.BN3PBA2B.js +71 -0
  48. package/cdn/chunks/chunk.BO6TADCP.js +19 -0
  49. package/cdn/chunks/chunk.BPHO2VWY.js +231 -0
  50. package/cdn/chunks/chunk.CKILXR3B.js +19 -0
  51. package/cdn/chunks/chunk.CY32PXBP.js +2243 -0
  52. package/cdn/chunks/chunk.DLQNZ2FX.js +201 -0
  53. package/cdn/chunks/chunk.DSLKDLXO.js +19 -0
  54. package/cdn/chunks/chunk.DYFH5JEO.js +19 -0
  55. package/cdn/chunks/chunk.DYKLRO6T.js +35 -0
  56. package/cdn/chunks/chunk.E3S6VMGP.js +19 -0
  57. package/cdn/chunks/chunk.E66SUBT2.js +239 -0
  58. package/cdn/chunks/chunk.EBUYGPEO.js +19 -0
  59. package/cdn/chunks/chunk.EQNTIAGK.js +276 -0
  60. package/cdn/chunks/chunk.ES6LHVLZ.js +19 -0
  61. package/cdn/chunks/chunk.EVC2CEFV.js +19 -0
  62. package/cdn/chunks/chunk.EZWUKXVV.js +19 -0
  63. package/cdn/chunks/chunk.FC3AWXRS.js +155 -0
  64. package/cdn/chunks/chunk.FLOGSDAN.js +19 -0
  65. package/cdn/chunks/chunk.FPTZZYCQ.js +224 -0
  66. package/cdn/chunks/chunk.FRALPL3Q.js +293 -0
  67. package/cdn/chunks/chunk.FU7IAQIE.js +68 -0
  68. package/cdn/chunks/chunk.FZV4OMYG.js +288 -0
  69. package/cdn/chunks/chunk.G2BTQOI4.js +19 -0
  70. package/cdn/chunks/chunk.G36TYQOW.js +29 -0
  71. package/cdn/chunks/chunk.G4B744X5.js +19 -0
  72. package/cdn/chunks/chunk.G7MEGQNN.js +19 -0
  73. package/cdn/chunks/chunk.G7OQ4UBX.js +19 -0
  74. package/cdn/chunks/chunk.GE3CTCQG.js +33 -0
  75. package/cdn/chunks/chunk.GIIHXR4P.js +19 -0
  76. package/cdn/chunks/chunk.GNZVPN27.js +36 -0
  77. package/cdn/chunks/chunk.GYVP3NOI.js +1966 -0
  78. package/cdn/chunks/chunk.GZTBKCUK.js +19 -0
  79. package/cdn/chunks/chunk.HBGW5SQC.js +19 -0
  80. package/cdn/chunks/chunk.HJAU5PN5.js +29 -0
  81. package/cdn/chunks/chunk.HP6UV3RE.js +32 -0
  82. package/cdn/chunks/chunk.HSIYR3FC.js +19 -0
  83. package/cdn/chunks/chunk.I2UYPPHL.js +264 -0
  84. package/cdn/chunks/chunk.I47ZAQQN.js +19 -0
  85. package/cdn/chunks/chunk.I4S4YXM5.js +29 -0
  86. package/cdn/chunks/chunk.I4T4MXJJ.js +92 -0
  87. package/cdn/chunks/chunk.I4T7Z53M.js +19 -0
  88. package/cdn/chunks/chunk.I66FHP4Y.js +29 -0
  89. package/cdn/chunks/chunk.IN56UYZQ.js +29 -0
  90. package/cdn/chunks/chunk.IQN4B7Y7.js +19 -0
  91. package/cdn/chunks/chunk.ISAHQUKK.js +35 -0
  92. package/cdn/chunks/chunk.ITCNMUXT.js +56 -0
  93. package/cdn/chunks/chunk.J7I3DOXG.js +272 -0
  94. package/cdn/chunks/chunk.JFNG2LKN.js +19 -0
  95. package/cdn/chunks/chunk.JNRKAHDP.js +29 -0
  96. package/cdn/chunks/chunk.JOJEZOCB.js +19 -0
  97. package/cdn/chunks/chunk.K3QRL5Y6.js +190 -0
  98. package/cdn/chunks/chunk.K4A2NEU3.js +136 -0
  99. package/cdn/chunks/chunk.KA3H7JGW.js +1025 -0
  100. package/cdn/chunks/chunk.KCZYTXMI.js +39 -0
  101. package/cdn/chunks/chunk.KHWCHARR.js +19 -0
  102. package/cdn/chunks/chunk.KO6SLJFY.js +123 -0
  103. package/cdn/chunks/chunk.KQSHHYSQ.js +19 -0
  104. package/cdn/chunks/chunk.KU7DMHGO.js +151 -0
  105. package/cdn/chunks/chunk.L3GNI6LM.js +19 -0
  106. package/cdn/chunks/chunk.L3QWU3UW.js +29 -0
  107. package/cdn/chunks/chunk.LIKPLLCC.js +107 -0
  108. package/cdn/chunks/chunk.LRT2XG3L.js +616 -0
  109. package/cdn/chunks/chunk.LSYPQ7PW.js +32 -0
  110. package/cdn/chunks/chunk.LTDOAGWI.js +104 -0
  111. package/cdn/chunks/chunk.LYWYTMHK.js +234 -0
  112. package/cdn/chunks/chunk.LZOHYBPS.js +19 -0
  113. package/cdn/chunks/chunk.LZZ25OTP.js +32 -0
  114. package/cdn/chunks/chunk.M3TUVN5Y.js +238 -0
  115. package/cdn/chunks/chunk.M6P6WDUR.js +32 -0
  116. package/cdn/chunks/chunk.MIKGSP7L.js +74 -0
  117. package/cdn/chunks/chunk.MILFV3KV.js +435 -0
  118. package/cdn/chunks/chunk.MQD7Z7N3.js +230 -0
  119. package/cdn/chunks/chunk.MVNXBNGE.js +372 -0
  120. package/cdn/chunks/chunk.MXIIRHCA.js +134 -0
  121. package/cdn/chunks/chunk.NGC2G3XI.js +36 -0
  122. package/cdn/chunks/chunk.NMYRPCZA.js +33 -0
  123. package/cdn/chunks/chunk.NPOBS2JX.js +19 -0
  124. package/cdn/chunks/chunk.NV36A5Z6.js +19 -0
  125. package/cdn/chunks/chunk.O74TYRUF.js +32 -0
  126. package/cdn/chunks/chunk.OAOCKV6H.js +60 -0
  127. package/cdn/chunks/chunk.OBI6ZI34.js +35 -0
  128. package/cdn/chunks/chunk.OE6XHIPX.js +19 -0
  129. package/cdn/chunks/chunk.OHQA5DPR.js +165 -0
  130. package/cdn/chunks/chunk.OQ4GD3XR.js +39 -0
  131. package/cdn/chunks/chunk.OQAA7OWT.js +302 -0
  132. package/cdn/chunks/chunk.ORJ6A53B.js +49 -0
  133. package/cdn/chunks/chunk.P4OWV3H2.js +412 -0
  134. package/cdn/chunks/chunk.PEPJCBYF.js +524 -0
  135. package/cdn/chunks/chunk.Q67OTTO2.js +145 -0
  136. package/cdn/chunks/chunk.QB3T7EJ4.js +19 -0
  137. package/cdn/chunks/chunk.QGTUAQAZ.js +19 -0
  138. package/cdn/chunks/chunk.QGVWP6VG.js +610 -0
  139. package/cdn/chunks/chunk.QKYO7WPQ.js +55346 -0
  140. package/cdn/chunks/chunk.QMBFLUKN.js +731 -0
  141. package/cdn/chunks/chunk.QPDPH7NW.js +29 -0
  142. package/cdn/chunks/chunk.QTE3KUQ6.js +19 -0
  143. package/cdn/chunks/chunk.QTQPTVMW.js +32 -0
  144. package/cdn/chunks/chunk.QV3ZCV3M.js +132 -0
  145. package/cdn/chunks/chunk.QWJMHXVY.js +19 -0
  146. package/cdn/chunks/chunk.QYHVVT4H.js +29 -0
  147. package/cdn/chunks/chunk.R4MB4WYH.js +32 -0
  148. package/cdn/chunks/chunk.RDME4J6Q.js +29 -0
  149. package/cdn/chunks/chunk.RE3Z4A4F.js +19 -0
  150. package/cdn/chunks/chunk.RLCMUUAK.js +19 -0
  151. package/cdn/chunks/chunk.RMUPWRTZ.js +19 -0
  152. package/cdn/chunks/chunk.RP2SMXHU.js +34 -0
  153. package/cdn/chunks/chunk.RSZSP46A.js +19 -0
  154. package/cdn/chunks/chunk.RUZCRHU3.js +29 -0
  155. package/cdn/chunks/chunk.S3H4TLGW.js +29 -0
  156. package/cdn/chunks/chunk.SBHDH5CL.js +188 -0
  157. package/cdn/chunks/chunk.SDKXYMAS.js +19 -0
  158. package/cdn/chunks/chunk.SNYW5TXG.js +19 -0
  159. package/cdn/chunks/chunk.SOWG5O4K.js +29 -0
  160. package/cdn/chunks/chunk.SSGBTE4V.js +93 -0
  161. package/cdn/chunks/chunk.STMD4U7K.js +29 -0
  162. package/cdn/chunks/chunk.SVMVRTXH.js +19 -0
  163. package/cdn/chunks/chunk.T4TZVWGQ.js +19 -0
  164. package/cdn/chunks/chunk.TANHGTQ7.js +99 -0
  165. package/cdn/chunks/chunk.TF5WXJIH.js +791 -0
  166. package/cdn/chunks/chunk.TJNRJLBI.js +29 -0
  167. package/cdn/chunks/chunk.TLGXE7WV.js +52 -0
  168. package/cdn/chunks/chunk.TPAETHPF.js +19 -0
  169. package/cdn/chunks/chunk.TQSOW7QR.js +37 -0
  170. package/cdn/chunks/chunk.TZ2WH25G.js +19 -0
  171. package/cdn/chunks/chunk.U3CPUAJE.js +19 -0
  172. package/cdn/chunks/chunk.U526HMEQ.js +106 -0
  173. package/cdn/chunks/chunk.U6QPPQHL.js +19 -0
  174. package/cdn/chunks/chunk.U6SF42PX.js +189 -0
  175. package/cdn/chunks/chunk.UCISI3ZS.js +33858 -0
  176. package/cdn/chunks/chunk.UEKK5TEZ.js +32 -0
  177. package/cdn/chunks/chunk.UIJH7DPY.js +33 -0
  178. package/cdn/chunks/chunk.UR4UTWS4.js +259 -0
  179. package/cdn/chunks/chunk.UU42GYUM.js +47 -0
  180. package/cdn/chunks/chunk.UVXY67XF.js +34 -0
  181. package/cdn/chunks/chunk.UWTJE5D4.js +19 -0
  182. package/cdn/chunks/chunk.UZ3KFAXP.js +32 -0
  183. package/cdn/chunks/chunk.V7L3VTZE.js +19 -0
  184. package/cdn/chunks/chunk.VCHCYTYY.js +30 -0
  185. package/cdn/chunks/chunk.VQDXXFBL.js +36 -0
  186. package/cdn/chunks/chunk.VX5246B7.js +29 -0
  187. package/cdn/chunks/chunk.VZA7APUB.js +41 -0
  188. package/cdn/chunks/chunk.WCG6WGZ5.js +29 -0
  189. package/cdn/chunks/chunk.WIVXANPA.js +1056 -0
  190. package/cdn/chunks/chunk.X6OBGADR.js +287 -0
  191. package/cdn/chunks/chunk.XBA57JZY.js +357 -0
  192. package/cdn/chunks/chunk.XDTTOAJ6.js +158 -0
  193. package/cdn/chunks/chunk.XEKIF2VZ.js +19 -0
  194. package/cdn/chunks/chunk.XI64QDOY.js +19 -0
  195. package/cdn/chunks/chunk.XL6577SH.js +32 -0
  196. package/cdn/chunks/chunk.XWEQGNWE.js +278 -0
  197. package/cdn/chunks/chunk.XWR4HUTF.js +86 -0
  198. package/cdn/chunks/chunk.YEMVOBEF.js +83 -0
  199. package/cdn/chunks/chunk.YGGYFPT5.js +19 -0
  200. package/cdn/chunks/chunk.YQUKMT7J.js +29 -0
  201. package/cdn/chunks/chunk.YRKRXSPK.js +19 -0
  202. package/cdn/chunks/chunk.YUB4JXQX.js +29 -0
  203. package/cdn/chunks/chunk.YY5IIXF7.js +29 -0
  204. package/cdn/chunks/chunk.ZE67XCUB.js +29 -0
  205. package/cdn/chunks/chunk.ZNGF37XN.js +477 -0
  206. package/cdn/components/accordion/accordion.component.js +3 -3
  207. package/cdn/components/accordion/accordion.js +4 -4
  208. package/cdn/components/alert/alert.component.js +2 -2
  209. package/cdn/components/alert/alert.js +3 -3
  210. package/cdn/components/avatar/avatar.component.js +3 -3
  211. package/cdn/components/avatar/avatar.js +4 -4
  212. package/cdn/components/badge/badge.component.js +2 -2
  213. package/cdn/components/badge/badge.js +3 -3
  214. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  215. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  216. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  217. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  218. package/cdn/components/browse-variables/browse-variables.component.js +13 -13
  219. package/cdn/components/browse-variables/browse-variables.controller.js +3 -3
  220. package/cdn/components/browse-variables/browse-variables.js +14 -14
  221. package/cdn/components/button/button.component.js +3 -3
  222. package/cdn/components/button/button.js +4 -4
  223. package/cdn/components/button-group/button-group.component.js +2 -2
  224. package/cdn/components/button-group/button-group.js +3 -3
  225. package/cdn/components/caption/caption.component.js +2 -2
  226. package/cdn/components/caption/caption.js +3 -3
  227. package/cdn/components/card/card.component.js +2 -2
  228. package/cdn/components/card/card.js +3 -3
  229. package/cdn/components/checkbox/checkbox.component.js +3 -3
  230. package/cdn/components/checkbox/checkbox.js +4 -4
  231. package/cdn/components/chip/chip.component.js +2 -2
  232. package/cdn/components/chip/chip.js +3 -3
  233. package/cdn/components/combobox/combobox.component.js +2 -2
  234. package/cdn/components/combobox/combobox.js +3 -3
  235. package/cdn/components/data-access/data-access.component.d.ts +2 -0
  236. package/cdn/components/data-access/data-access.component.js +21 -19
  237. package/cdn/components/data-access/data-access.controller.js +4 -4
  238. package/cdn/components/data-access/data-access.js +22 -20
  239. package/cdn/components/data-grid/data-grid.component.js +3 -3
  240. package/cdn/components/data-grid/data-grid.js +4 -4
  241. package/cdn/components/data-rods/data-rods.component.js +27 -27
  242. package/cdn/components/data-rods/data-rods.js +28 -28
  243. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +2 -1
  244. package/cdn/components/data-subsetter/data-subsetter.component.js +32 -32
  245. package/cdn/components/data-subsetter/data-subsetter.controller.d.ts +3 -1
  246. package/cdn/components/data-subsetter/data-subsetter.controller.js +3 -3
  247. package/cdn/components/data-subsetter/data-subsetter.js +33 -33
  248. package/cdn/components/data-subsetter/data-subsetter.styles.js +1 -1
  249. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  250. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +33 -33
  251. package/cdn/components/data-subsetter-history/data-subsetter-history.js +34 -34
  252. package/cdn/components/date-picker/date-picker.component.d.ts +4 -0
  253. package/cdn/components/date-picker/date-picker.component.js +7 -7
  254. package/cdn/components/date-picker/date-picker.js +8 -8
  255. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  256. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  257. package/cdn/components/dialog/dialog.component.js +5 -5
  258. package/cdn/components/dialog/dialog.js +6 -6
  259. package/cdn/components/dialog/dialog.styles.js +1 -1
  260. package/cdn/components/divider/divider.component.js +2 -2
  261. package/cdn/components/divider/divider.js +3 -3
  262. package/cdn/components/dropdown/dropdown.component.js +3 -3
  263. package/cdn/components/dropdown/dropdown.js +4 -4
  264. package/cdn/components/earthdata-login/earthdata-login.component.js +10 -10
  265. package/cdn/components/earthdata-login/earthdata-login.js +11 -11
  266. package/cdn/components/file-upload/file-upload.component.js +2 -2
  267. package/cdn/components/file-upload/file-upload.js +3 -3
  268. package/cdn/components/icon/icon.component.js +2 -2
  269. package/cdn/components/icon/icon.js +3 -3
  270. package/cdn/components/input/input.component.js +3 -3
  271. package/cdn/components/input/input.js +4 -4
  272. package/cdn/components/loader/loader.component.js +2 -2
  273. package/cdn/components/loader/loader.js +3 -3
  274. package/cdn/components/login/login.component.js +8 -8
  275. package/cdn/components/login/login.js +9 -9
  276. package/cdn/components/map/map.component.js +2 -2
  277. package/cdn/components/map/map.js +3 -3
  278. package/cdn/components/menu/menu.component.js +2 -2
  279. package/cdn/components/menu/menu.js +3 -3
  280. package/cdn/components/menu-item/menu-item.component.js +5 -5
  281. package/cdn/components/menu-item/menu-item.js +6 -6
  282. package/cdn/components/option/option.component.js +3 -3
  283. package/cdn/components/option/option.js +4 -4
  284. package/cdn/components/pagination/pagination.component.js +3 -3
  285. package/cdn/components/pagination/pagination.js +4 -4
  286. package/cdn/components/plot/plot.component.js +2 -2
  287. package/cdn/components/plot/plot.js +3 -3
  288. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  289. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  290. package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +0 -4
  291. package/cdn/components/plot-toolbar/plot-toolbar.component.js +10 -10
  292. package/cdn/components/plot-toolbar/plot-toolbar.controller.js +3 -3
  293. package/cdn/components/plot-toolbar/plot-toolbar.js +11 -11
  294. package/cdn/components/popup/popup.component.js +2 -2
  295. package/cdn/components/popup/popup.js +3 -3
  296. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  297. package/cdn/components/progress-bar/progress-bar.js +3 -3
  298. package/cdn/components/radio/radio.component.js +2 -2
  299. package/cdn/components/radio/radio.js +3 -3
  300. package/cdn/components/radio-group/radio-group.component.js +2 -2
  301. package/cdn/components/radio-group/radio-group.js +3 -3
  302. package/cdn/components/scroll-hint/scroll-hint.component.js +3 -3
  303. package/cdn/components/scroll-hint/scroll-hint.js +4 -4
  304. package/cdn/components/select/select.component.js +5 -5
  305. package/cdn/components/select/select.js +6 -6
  306. package/cdn/components/site-header/site-header.component.js +3 -3
  307. package/cdn/components/site-header/site-header.js +3 -3
  308. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  309. package/cdn/components/site-navigation/site-navigation.js +2 -2
  310. package/cdn/components/skeleton/skeleton.component.js +2 -2
  311. package/cdn/components/skeleton/skeleton.js +3 -3
  312. package/cdn/components/slider/slider.component.js +2 -2
  313. package/cdn/components/slider/slider.js +3 -3
  314. package/cdn/components/spatial-picker/spatial-picker.component.js +7 -7
  315. package/cdn/components/spatial-picker/spatial-picker.js +8 -8
  316. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  317. package/cdn/components/status-indicator/status-indicator.js +3 -3
  318. package/cdn/components/stepper/stepper.component.js +2 -2
  319. package/cdn/components/stepper/stepper.js +3 -3
  320. package/cdn/components/stepper-step/stepper-step.component.js +3 -3
  321. package/cdn/components/stepper-step/stepper-step.js +4 -4
  322. package/cdn/components/tab/tab.component.js +3 -3
  323. package/cdn/components/tab/tab.js +4 -4
  324. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  325. package/cdn/components/tab-panel/tab-panel.js +3 -3
  326. package/cdn/components/tabs/tabs.component.js +3 -3
  327. package/cdn/components/tabs/tabs.js +4 -4
  328. package/cdn/components/tag/tag.component.js +3 -3
  329. package/cdn/components/tag/tag.js +4 -4
  330. package/cdn/components/textarea/textarea.component.js +2 -2
  331. package/cdn/components/textarea/textarea.js +3 -3
  332. package/cdn/components/time-average-map/time-average-map.component.d.ts +0 -4
  333. package/cdn/components/time-average-map/time-average-map.component.js +17 -17
  334. package/cdn/components/time-average-map/time-average-map.js +18 -18
  335. package/cdn/components/time-series/time-series.component.d.ts +6 -4
  336. package/cdn/components/time-series/time-series.component.js +18 -18
  337. package/cdn/components/time-series/time-series.controller.d.ts +2 -0
  338. package/cdn/components/time-series/time-series.controller.js +1 -1
  339. package/cdn/components/time-series/time-series.js +19 -19
  340. package/cdn/components/toast/toast.component.js +3 -3
  341. package/cdn/components/toast/toast.js +4 -4
  342. package/cdn/components/toggle/toggle.component.js +2 -2
  343. package/cdn/components/toggle/toggle.js +3 -3
  344. package/cdn/components/tooltip/tooltip.component.js +3 -3
  345. package/cdn/components/tooltip/tooltip.js +4 -4
  346. package/cdn/components/variable-combobox/variable-combobox.component.js +6 -6
  347. package/cdn/components/variable-combobox/variable-combobox.js +7 -7
  348. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +9 -9
  349. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +3 -3
  350. package/cdn/components/variable-keyword-search/variable-keyword-search.js +10 -10
  351. package/cdn/custom-elements.json +202 -189
  352. package/cdn/events/terra-time-series-data-change.d.ts +4 -0
  353. package/cdn/metadata-catalog/cmr-catalog.d.ts +2 -1
  354. package/cdn/metadata-catalog/queries.d.ts +1 -0
  355. package/cdn/metadata-catalog/types.d.ts +15 -0
  356. package/cdn/metadata-catalog/utilities.d.ts +1 -0
  357. package/cdn/react/accordion/index.js +4 -4
  358. package/cdn/react/alert/index.js +3 -3
  359. package/cdn/react/avatar/index.js +4 -4
  360. package/cdn/react/badge/index.js +3 -3
  361. package/cdn/react/breadcrumb/index.js +3 -3
  362. package/cdn/react/breadcrumbs/index.js +3 -3
  363. package/cdn/react/browse-variables/index.js +14 -14
  364. package/cdn/react/button/index.js +4 -4
  365. package/cdn/react/button-group/index.js +3 -3
  366. package/cdn/react/caption/index.js +3 -3
  367. package/cdn/react/card/index.js +3 -3
  368. package/cdn/react/checkbox/index.js +4 -4
  369. package/cdn/react/chip/index.js +3 -3
  370. package/cdn/react/combobox/index.js +3 -3
  371. package/cdn/react/data-access/index.js +22 -20
  372. package/cdn/react/data-grid/index.js +4 -4
  373. package/cdn/react/data-rods/index.js +28 -28
  374. package/cdn/react/data-subsetter/index.js +33 -33
  375. package/cdn/react/data-subsetter-history/index.js +34 -34
  376. package/cdn/react/date-picker/index.js +8 -8
  377. package/cdn/react/date-range-slider/index.js +3 -3
  378. package/cdn/react/dialog/index.js +6 -6
  379. package/cdn/react/divider/index.js +3 -3
  380. package/cdn/react/dropdown/index.js +4 -4
  381. package/cdn/react/earthdata-login/index.js +11 -11
  382. package/cdn/react/file-upload/index.js +3 -3
  383. package/cdn/react/icon/index.js +3 -3
  384. package/cdn/react/index.d.ts +1 -1
  385. package/cdn/react/index.js +148 -148
  386. package/cdn/react/input/index.js +4 -4
  387. package/cdn/react/loader/index.js +3 -3
  388. package/cdn/react/login/index.js +9 -9
  389. package/cdn/react/map/index.js +3 -3
  390. package/cdn/react/menu/index.js +3 -3
  391. package/cdn/react/menu-item/index.js +6 -6
  392. package/cdn/react/option/index.js +4 -4
  393. package/cdn/react/pagination/index.js +4 -4
  394. package/cdn/react/plot/index.js +3 -3
  395. package/cdn/react/plot-toolbar/index.js +11 -11
  396. package/cdn/react/popup/index.js +3 -3
  397. package/cdn/react/progress-bar/index.js +3 -3
  398. package/cdn/react/radio/index.js +3 -3
  399. package/cdn/react/radio-group/index.js +3 -3
  400. package/cdn/react/scroll-hint/index.js +4 -4
  401. package/cdn/react/select/index.js +6 -6
  402. package/cdn/react/site-header/index.js +4 -4
  403. package/cdn/react/site-navigation/index.js +3 -3
  404. package/cdn/react/skeleton/index.js +3 -3
  405. package/cdn/react/slider/index.js +3 -3
  406. package/cdn/react/spatial-picker/index.js +8 -8
  407. package/cdn/react/status-indicator/index.js +3 -3
  408. package/cdn/react/stepper/index.js +3 -3
  409. package/cdn/react/stepper-step/index.js +4 -4
  410. package/cdn/react/tab/index.js +4 -4
  411. package/cdn/react/tab-panel/index.js +3 -3
  412. package/cdn/react/tabs/index.js +4 -4
  413. package/cdn/react/tag/index.js +4 -4
  414. package/cdn/react/textarea/index.js +3 -3
  415. package/cdn/react/time-average-map/index.js +18 -18
  416. package/cdn/react/time-series/index.js +19 -19
  417. package/cdn/react/toast/index.js +4 -4
  418. package/cdn/react/toggle/index.js +3 -3
  419. package/cdn/react/tooltip/index.js +4 -4
  420. package/cdn/react/variable-combobox/index.js +7 -7
  421. package/cdn/react/variable-keyword-search/index.js +10 -10
  422. package/cdn/terra-ui-components.js +140 -140
  423. package/cdn/types/vue/index.d.ts +48 -45
  424. package/cdn/utilities/mimetypes.d.ts +1 -1
  425. package/cdn/utilities/mimetypes.js +1 -1
  426. package/cdn/vscode.html-custom-data.json +30 -29
  427. package/cdn/web-types.json +104 -104
  428. package/dist/chunks/chunk.25M3GQVI.js +21 -0
  429. package/dist/chunks/chunk.2F65ILU7.js +25 -0
  430. package/dist/chunks/chunk.2VOCMZOH.js +28 -0
  431. package/dist/chunks/chunk.2VZ64HEA.js +21 -0
  432. package/dist/chunks/chunk.2WRM4UX6.js +21 -0
  433. package/dist/chunks/chunk.2ZJ5N5W2.js +11 -0
  434. package/dist/chunks/chunk.37I6WAMP.js +770 -0
  435. package/dist/chunks/chunk.3BVEL3JW.js +24 -0
  436. package/dist/chunks/chunk.3CRW4NCZ.js +11 -0
  437. package/dist/chunks/chunk.3FOA2VZO.js +11 -0
  438. package/dist/chunks/chunk.3GW3RBL6.js +11 -0
  439. package/dist/chunks/chunk.3NOU5S4K.js +91 -0
  440. package/dist/chunks/chunk.3RS5FX7Z.js +180 -0
  441. package/dist/chunks/chunk.4EAOYZ4Y.js +90 -0
  442. package/dist/chunks/chunk.4JOCKMP4.js +24 -0
  443. package/dist/chunks/chunk.4OIPW4IN.js +21 -0
  444. package/dist/chunks/chunk.4QHN5BCR.js +11 -0
  445. package/dist/chunks/chunk.4Y2WEDVE.js +11 -0
  446. package/dist/chunks/chunk.4Y5DQUZI.js +121 -0
  447. package/dist/chunks/chunk.53H2EA5M.js +27 -0
  448. package/dist/chunks/chunk.5LKH3K3W.js +11 -0
  449. package/dist/chunks/chunk.5RVVREBJ.js +21 -0
  450. package/dist/chunks/chunk.5YMG2KJ6.js +21 -0
  451. package/dist/chunks/chunk.62ZIAEQG.js +24 -0
  452. package/dist/chunks/chunk.6AVQFT4P.js +48 -0
  453. package/dist/chunks/chunk.6EBJ6G3H.js +11 -0
  454. package/dist/chunks/chunk.6F4S57QO.js +11 -0
  455. package/dist/chunks/chunk.6GEV2AQL.js +355 -0
  456. package/dist/chunks/chunk.6GPT2252.js +43 -0
  457. package/dist/chunks/chunk.6KIZ2657.js +11 -0
  458. package/dist/chunks/chunk.6Q4CBJWL.js +2319 -0
  459. package/dist/chunks/chunk.6SGZCYGQ.js +74 -0
  460. package/dist/chunks/chunk.72H2HDXK.js +25 -0
  461. package/dist/chunks/chunk.755I6E44.js +11 -0
  462. package/dist/chunks/chunk.76VSG6I2.js +124 -0
  463. package/dist/chunks/chunk.7BKNXEME.js +24 -0
  464. package/dist/chunks/chunk.7GOUVYOD.js +581 -0
  465. package/dist/chunks/chunk.7HRBKVAR.js +21 -0
  466. package/dist/chunks/chunk.7HXWVCYI.js +21 -0
  467. package/dist/chunks/chunk.7P7PZ5XC.js +21 -0
  468. package/dist/chunks/chunk.7PMNU4UI.js +112 -0
  469. package/dist/chunks/chunk.7RZEKEUZ.js +11 -0
  470. package/dist/chunks/chunk.7WDXD466.js +1008 -0
  471. package/dist/chunks/chunk.AFOTW6DH.js +21 -0
  472. package/dist/chunks/chunk.AG377SDY.js +11 -0
  473. package/dist/chunks/chunk.AH7PYVLD.js +21 -0
  474. package/dist/chunks/chunk.AQSBCRI5.js +252 -0
  475. package/dist/chunks/chunk.BAVBPYAO.js +20 -0
  476. package/dist/chunks/chunk.BBGOFH62.js +11 -0
  477. package/dist/chunks/chunk.BDPPKWS4.js +21 -0
  478. package/dist/chunks/chunk.BFCPSAZ2.js +264 -0
  479. package/dist/chunks/chunk.BNB533SF.js +21 -0
  480. package/dist/chunks/chunk.BRZC353M.js +11 -0
  481. package/dist/chunks/chunk.BSNPOPHM.js +11 -0
  482. package/dist/chunks/chunk.BYOBOQF2.js +844 -0
  483. package/dist/chunks/chunk.BZVSSKVU.js +345 -0
  484. package/dist/chunks/chunk.CKVKXIMR.js +11 -0
  485. package/dist/chunks/chunk.CPYHFNC3.js +86 -0
  486. package/dist/chunks/chunk.CTBGPRH4.js +11 -0
  487. package/dist/chunks/chunk.CUAHYDDE.js +11 -0
  488. package/dist/chunks/chunk.CXLQ4RKA.js +21 -0
  489. package/dist/chunks/chunk.D2MYFCNZ.js +245 -0
  490. package/dist/chunks/chunk.D76BZEAN.js +97 -0
  491. package/dist/chunks/chunk.DBJRHMP4.js +214 -0
  492. package/dist/chunks/chunk.DKMOZLOI.js +75 -0
  493. package/dist/chunks/chunk.DLWOS6BW.js +26 -0
  494. package/dist/chunks/chunk.DMCP56YP.js +11 -0
  495. package/dist/chunks/chunk.DR3V64PI.js +11 -0
  496. package/dist/chunks/chunk.E3QFHJY2.js +11 -0
  497. package/dist/chunks/chunk.E4EZDH7G.js +21 -0
  498. package/dist/chunks/chunk.E6KQAVJM.js +272 -0
  499. package/dist/chunks/chunk.ECRQXDDF.js +11 -0
  500. package/dist/chunks/chunk.EFLG5YIG.js +11 -0
  501. package/dist/chunks/chunk.ELCUB5EP.js +21 -0
  502. package/dist/chunks/chunk.EQKCYK3K.js +21 -0
  503. package/dist/chunks/chunk.EQS7AC27.js +11 -0
  504. package/dist/chunks/chunk.ETNOCBXV.js +259 -0
  505. package/dist/chunks/chunk.EW3VHFI7.js +39 -0
  506. package/dist/chunks/chunk.FFTIB26T.js +443 -0
  507. package/dist/chunks/chunk.FJ26ILHV.js +21 -0
  508. package/dist/chunks/chunk.FLXEZUJP.js +220 -0
  509. package/dist/chunks/chunk.FQFJCEW7.js +402 -0
  510. package/dist/chunks/chunk.FUAMU57O.js +11 -0
  511. package/dist/chunks/chunk.FYVT2G5Y.js +27 -0
  512. package/dist/chunks/chunk.G42Z5PNT.js +91 -0
  513. package/dist/chunks/chunk.GA7IOZ65.js +180 -0
  514. package/dist/chunks/chunk.H3V5S4TR.js +153 -0
  515. package/dist/chunks/chunk.H5NGFDVG.js +11 -0
  516. package/dist/chunks/chunk.H6ABLMXN.js +11 -0
  517. package/dist/chunks/chunk.HDV5F3YJ.js +11 -0
  518. package/dist/chunks/chunk.HTMQKXQS.js +230 -0
  519. package/dist/chunks/chunk.HTYRZ5JY.js +93 -0
  520. package/dist/chunks/chunk.HVOD6QWA.js +474 -0
  521. package/dist/chunks/chunk.HWQLXN5G.js +247 -0
  522. package/dist/chunks/chunk.I4IIVOUZ.js +2228 -0
  523. package/dist/chunks/chunk.I5WFZXLP.js +213 -0
  524. package/dist/chunks/chunk.IFX2N2F2.js +596 -0
  525. package/dist/chunks/chunk.IGGF3WON.js +28 -0
  526. package/dist/chunks/chunk.II2UMQ6I.js +720 -0
  527. package/dist/chunks/chunk.IMJC2C4A.js +24 -0
  528. package/dist/chunks/chunk.INL4U3SG.js +25 -0
  529. package/dist/chunks/chunk.IT44PAE5.js +262 -0
  530. package/dist/chunks/chunk.IUMJQD3V.js +11 -0
  531. package/dist/chunks/chunk.JC4GIFCM.js +11 -0
  532. package/dist/chunks/chunk.JDW7JFHB.js +21 -0
  533. package/dist/chunks/chunk.JF7QMJJ3.js +409 -0
  534. package/dist/chunks/chunk.JIVWM74C.js +11 -0
  535. package/dist/chunks/chunk.JRNIARZZ.js +477 -0
  536. package/dist/chunks/chunk.JYANJSE7.js +97 -0
  537. package/dist/chunks/chunk.K36I4ALN.js +519 -0
  538. package/dist/chunks/chunk.K4VRA66U.js +11 -0
  539. package/dist/chunks/chunk.KI6OEH42.js +26 -0
  540. package/dist/chunks/chunk.KO3QHRQJ.js +25 -0
  541. package/dist/chunks/chunk.KPCSQEKP.js +11 -0
  542. package/dist/chunks/chunk.L3NM2AUU.js +29 -0
  543. package/dist/chunks/chunk.L3QGS6DM.js +78 -0
  544. package/dist/chunks/chunk.L4B374JT.js +11 -0
  545. package/dist/chunks/chunk.LA7VFVVR.js +61 -0
  546. package/dist/chunks/chunk.LEEJVM2M.js +11 -0
  547. package/dist/chunks/chunk.LFNDOUX7.js +11 -0
  548. package/dist/chunks/chunk.LKV5CBWU.js +11 -0
  549. package/dist/chunks/chunk.LUYFVAMD.js +64 -0
  550. package/dist/chunks/chunk.LWVBMC7M.js +11 -0
  551. package/dist/chunks/chunk.LXWNTIYK.js +24 -0
  552. package/dist/chunks/chunk.MBFDYBJM.js +21 -0
  553. package/dist/chunks/chunk.MDNKZRSM.js +11 -0
  554. package/dist/chunks/chunk.MLOFLEMG.js +525 -0
  555. package/dist/chunks/chunk.MMSWR2XT.js +21 -0
  556. package/dist/chunks/chunk.MPVMQTJ6.js +21 -0
  557. package/dist/chunks/chunk.MZ4FDVFI.js +139 -0
  558. package/dist/chunks/chunk.NCH2U7UJ.js +33 -0
  559. package/dist/chunks/chunk.NZVVOWVO.js +11 -0
  560. package/dist/chunks/chunk.OEBQ6WWW.js +25 -0
  561. package/dist/chunks/chunk.OEVC7AGS.js +11 -0
  562. package/dist/chunks/chunk.OIVARBKI.js +27 -0
  563. package/dist/chunks/chunk.OIZOD35Q.js +24 -0
  564. package/dist/chunks/chunk.ON3YVM46.js +138 -0
  565. package/dist/chunks/chunk.OQ2S3AA5.js +11 -0
  566. package/dist/chunks/chunk.PFMNPA56.js +83 -0
  567. package/dist/chunks/chunk.PJP7JBDX.js +31 -0
  568. package/dist/chunks/chunk.PNHCGL4K.js +28 -0
  569. package/dist/chunks/chunk.PZSNM7Y7.js +592 -0
  570. package/dist/chunks/chunk.Q22TEDZU.js +24 -0
  571. package/dist/chunks/chunk.Q2H33KB6.js +24 -0
  572. package/dist/chunks/chunk.Q7IXF3O6.js +11 -0
  573. package/dist/chunks/chunk.QJ45BQFQ.js +145 -0
  574. package/dist/chunks/chunk.QKPKEV3T.js +11 -0
  575. package/dist/chunks/chunk.QQMW6GT2.js +1045 -0
  576. package/dist/chunks/chunk.QSJY2DSS.js +11 -0
  577. package/dist/chunks/chunk.QXGHD6IW.js +11 -0
  578. package/dist/chunks/chunk.QZNCXWFL.js +11 -0
  579. package/dist/chunks/chunk.R3OFHVHU.js +11 -0
  580. package/dist/chunks/chunk.R5VHVPBY.js +24 -0
  581. package/dist/chunks/chunk.RDEOS3ZG.js +85 -0
  582. package/dist/chunks/chunk.RH4LHJHZ.js +21 -0
  583. package/dist/chunks/chunk.RN4VCRRV.js +89 -0
  584. package/dist/chunks/chunk.RSE4IMJD.js +11 -0
  585. package/dist/chunks/chunk.RTKDNTRV.js +11 -0
  586. package/dist/chunks/chunk.SIGIBUV3.js +24 -0
  587. package/dist/chunks/chunk.SJVXFIWD.js +43 -0
  588. package/dist/chunks/chunk.SNI3GRL7.js +180 -0
  589. package/dist/chunks/chunk.SRLQTM4M.js +291 -0
  590. package/dist/chunks/chunk.SUOLYC4C.js +1122 -0
  591. package/dist/chunks/chunk.SXPM42XO.js +220 -0
  592. package/dist/chunks/chunk.T6Q62CEN.js +11 -0
  593. package/dist/chunks/chunk.TEYRIQPX.js +11 -0
  594. package/dist/chunks/chunk.TFKL5DJ5.js +21 -0
  595. package/dist/chunks/chunk.THWLNG2A.js +52 -0
  596. package/dist/chunks/chunk.TMXVDFSE.js +21 -0
  597. package/dist/chunks/chunk.TNMLOQZS.js +24 -0
  598. package/dist/chunks/chunk.TQQ36LCR.js +52 -0
  599. package/dist/chunks/chunk.TRXSEINU.js +21 -0
  600. package/dist/chunks/chunk.TVXTIOPO.js +11 -0
  601. package/dist/chunks/chunk.TY4H6MKT.js +21 -0
  602. package/dist/chunks/chunk.UFSZ7IUJ.js +101 -0
  603. package/dist/chunks/chunk.UH7BQYXA.js +28 -0
  604. package/dist/chunks/chunk.UH7KMM6W.js +280 -0
  605. package/dist/chunks/chunk.UTPOSXTC.js +11 -0
  606. package/dist/chunks/chunk.UU2S72KN.js +30 -0
  607. package/dist/chunks/chunk.UZLFME7D.js +230 -0
  608. package/dist/chunks/chunk.VB6VSQRC.js +345 -0
  609. package/dist/chunks/chunk.VG2ESYPS.js +67 -0
  610. package/dist/chunks/chunk.VGNT6ULL.js +609 -0
  611. package/dist/chunks/chunk.VIEWRBBY.js +422 -0
  612. package/dist/chunks/chunk.VSKUQ46Q.js +48 -0
  613. package/dist/chunks/chunk.VT5KHE7G.js +451 -0
  614. package/dist/chunks/chunk.WRMEED2V.js +11 -0
  615. package/dist/chunks/chunk.X3BWD77K.js +11 -0
  616. package/dist/chunks/chunk.XEPTHU2I.js +143 -0
  617. package/dist/chunks/chunk.XJNO4Q3R.js +21 -0
  618. package/dist/chunks/chunk.XN574D6F.js +11 -0
  619. package/dist/chunks/chunk.XNUE63XD.js +58 -0
  620. package/dist/chunks/chunk.XPSSVTGP.js +24 -0
  621. package/dist/chunks/chunk.XX2ELX62.js +11 -0
  622. package/dist/chunks/chunk.XYOXCRL4.js +277 -0
  623. package/dist/chunks/chunk.XYQ5OEQP.js +190 -0
  624. package/dist/chunks/chunk.Y2VTLMTQ.js +21 -0
  625. package/dist/chunks/chunk.Y3OYYVP2.js +27 -0
  626. package/dist/chunks/chunk.Y5YDIDOR.js +11 -0
  627. package/dist/chunks/chunk.YG577JJA.js +1204 -0
  628. package/dist/chunks/chunk.YW6LTV2C.js +21 -0
  629. package/dist/chunks/chunk.Z3X4AUAX.js +123 -0
  630. package/dist/chunks/chunk.Z4XSQL3L.js +29 -0
  631. package/dist/chunks/chunk.ZCJX3EMS.js +11 -0
  632. package/dist/chunks/chunk.ZILKHT37.js +24 -0
  633. package/dist/components/accordion/accordion.component.js +3 -3
  634. package/dist/components/accordion/accordion.js +4 -4
  635. package/dist/components/alert/alert.component.js +2 -2
  636. package/dist/components/alert/alert.js +3 -3
  637. package/dist/components/avatar/avatar.component.js +3 -3
  638. package/dist/components/avatar/avatar.js +4 -4
  639. package/dist/components/badge/badge.component.js +2 -2
  640. package/dist/components/badge/badge.js +3 -3
  641. package/dist/components/breadcrumb/breadcrumb.component.js +2 -2
  642. package/dist/components/breadcrumb/breadcrumb.js +3 -3
  643. package/dist/components/breadcrumbs/breadcrumbs.component.js +2 -2
  644. package/dist/components/breadcrumbs/breadcrumbs.js +3 -3
  645. package/dist/components/browse-variables/browse-variables.component.js +13 -13
  646. package/dist/components/browse-variables/browse-variables.controller.js +3 -3
  647. package/dist/components/browse-variables/browse-variables.js +14 -14
  648. package/dist/components/button/button.component.js +3 -3
  649. package/dist/components/button/button.js +4 -4
  650. package/dist/components/button-group/button-group.component.js +2 -2
  651. package/dist/components/button-group/button-group.js +3 -3
  652. package/dist/components/caption/caption.component.js +2 -2
  653. package/dist/components/caption/caption.js +3 -3
  654. package/dist/components/card/card.component.js +2 -2
  655. package/dist/components/card/card.js +3 -3
  656. package/dist/components/checkbox/checkbox.component.js +3 -3
  657. package/dist/components/checkbox/checkbox.js +4 -4
  658. package/dist/components/chip/chip.component.js +2 -2
  659. package/dist/components/chip/chip.js +3 -3
  660. package/dist/components/combobox/combobox.component.js +2 -2
  661. package/dist/components/combobox/combobox.js +3 -3
  662. package/dist/components/data-access/data-access.component.d.ts +2 -0
  663. package/dist/components/data-access/data-access.component.js +21 -19
  664. package/dist/components/data-access/data-access.controller.js +4 -4
  665. package/dist/components/data-access/data-access.js +22 -20
  666. package/dist/components/data-grid/data-grid.component.js +3 -3
  667. package/dist/components/data-grid/data-grid.js +4 -4
  668. package/dist/components/data-rods/data-rods.component.js +27 -27
  669. package/dist/components/data-rods/data-rods.js +28 -28
  670. package/dist/components/data-subsetter/data-subsetter.component.d.ts +2 -1
  671. package/dist/components/data-subsetter/data-subsetter.component.js +32 -32
  672. package/dist/components/data-subsetter/data-subsetter.controller.d.ts +3 -1
  673. package/dist/components/data-subsetter/data-subsetter.controller.js +3 -3
  674. package/dist/components/data-subsetter/data-subsetter.js +33 -33
  675. package/dist/components/data-subsetter/data-subsetter.styles.js +1 -1
  676. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  677. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +33 -33
  678. package/dist/components/data-subsetter-history/data-subsetter-history.js +34 -34
  679. package/dist/components/date-picker/date-picker.component.d.ts +4 -0
  680. package/dist/components/date-picker/date-picker.component.js +7 -7
  681. package/dist/components/date-picker/date-picker.js +8 -8
  682. package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
  683. package/dist/components/date-range-slider/date-range-slider.js +3 -3
  684. package/dist/components/dialog/dialog.component.js +5 -5
  685. package/dist/components/dialog/dialog.js +6 -6
  686. package/dist/components/dialog/dialog.styles.js +1 -1
  687. package/dist/components/divider/divider.component.js +2 -2
  688. package/dist/components/divider/divider.js +3 -3
  689. package/dist/components/dropdown/dropdown.component.js +3 -3
  690. package/dist/components/dropdown/dropdown.js +4 -4
  691. package/dist/components/earthdata-login/earthdata-login.component.js +10 -10
  692. package/dist/components/earthdata-login/earthdata-login.js +11 -11
  693. package/dist/components/file-upload/file-upload.component.js +2 -2
  694. package/dist/components/file-upload/file-upload.js +3 -3
  695. package/dist/components/icon/icon.component.js +2 -2
  696. package/dist/components/icon/icon.js +3 -3
  697. package/dist/components/input/input.component.js +3 -3
  698. package/dist/components/input/input.js +4 -4
  699. package/dist/components/loader/loader.component.js +2 -2
  700. package/dist/components/loader/loader.js +3 -3
  701. package/dist/components/login/login.component.js +8 -8
  702. package/dist/components/login/login.js +9 -9
  703. package/dist/components/map/map.component.js +2 -2
  704. package/dist/components/map/map.js +3 -3
  705. package/dist/components/menu/menu.component.js +2 -2
  706. package/dist/components/menu/menu.js +3 -3
  707. package/dist/components/menu-item/menu-item.component.js +5 -5
  708. package/dist/components/menu-item/menu-item.js +6 -6
  709. package/dist/components/option/option.component.js +3 -3
  710. package/dist/components/option/option.js +4 -4
  711. package/dist/components/pagination/pagination.component.js +3 -3
  712. package/dist/components/pagination/pagination.js +4 -4
  713. package/dist/components/plot/plot.component.js +2 -2
  714. package/dist/components/plot/plot.js +3 -3
  715. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  716. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  717. package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +0 -4
  718. package/dist/components/plot-toolbar/plot-toolbar.component.js +10 -10
  719. package/dist/components/plot-toolbar/plot-toolbar.controller.js +3 -3
  720. package/dist/components/plot-toolbar/plot-toolbar.js +11 -11
  721. package/dist/components/popup/popup.component.js +2 -2
  722. package/dist/components/popup/popup.js +3 -3
  723. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  724. package/dist/components/progress-bar/progress-bar.js +3 -3
  725. package/dist/components/radio/radio.component.js +2 -2
  726. package/dist/components/radio/radio.js +3 -3
  727. package/dist/components/radio-group/radio-group.component.js +2 -2
  728. package/dist/components/radio-group/radio-group.js +3 -3
  729. package/dist/components/scroll-hint/scroll-hint.component.js +3 -3
  730. package/dist/components/scroll-hint/scroll-hint.js +4 -4
  731. package/dist/components/select/select.component.js +5 -5
  732. package/dist/components/select/select.js +6 -6
  733. package/dist/components/site-header/site-header.component.js +3 -3
  734. package/dist/components/site-header/site-header.js +3 -3
  735. package/dist/components/site-navigation/site-navigation.component.js +2 -2
  736. package/dist/components/site-navigation/site-navigation.js +2 -2
  737. package/dist/components/skeleton/skeleton.component.js +2 -2
  738. package/dist/components/skeleton/skeleton.js +3 -3
  739. package/dist/components/slider/slider.component.js +2 -2
  740. package/dist/components/slider/slider.js +3 -3
  741. package/dist/components/spatial-picker/spatial-picker.component.js +7 -7
  742. package/dist/components/spatial-picker/spatial-picker.js +8 -8
  743. package/dist/components/status-indicator/status-indicator.component.js +2 -2
  744. package/dist/components/status-indicator/status-indicator.js +3 -3
  745. package/dist/components/stepper/stepper.component.js +2 -2
  746. package/dist/components/stepper/stepper.js +3 -3
  747. package/dist/components/stepper-step/stepper-step.component.js +3 -3
  748. package/dist/components/stepper-step/stepper-step.js +4 -4
  749. package/dist/components/tab/tab.component.js +3 -3
  750. package/dist/components/tab/tab.js +4 -4
  751. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  752. package/dist/components/tab-panel/tab-panel.js +3 -3
  753. package/dist/components/tabs/tabs.component.js +3 -3
  754. package/dist/components/tabs/tabs.js +4 -4
  755. package/dist/components/tag/tag.component.js +3 -3
  756. package/dist/components/tag/tag.js +4 -4
  757. package/dist/components/textarea/textarea.component.js +2 -2
  758. package/dist/components/textarea/textarea.js +3 -3
  759. package/dist/components/time-average-map/time-average-map.component.d.ts +0 -4
  760. package/dist/components/time-average-map/time-average-map.component.js +17 -17
  761. package/dist/components/time-average-map/time-average-map.js +18 -18
  762. package/dist/components/time-series/time-series.component.d.ts +6 -4
  763. package/dist/components/time-series/time-series.component.js +18 -18
  764. package/dist/components/time-series/time-series.controller.d.ts +2 -0
  765. package/dist/components/time-series/time-series.controller.js +1 -1
  766. package/dist/components/time-series/time-series.js +19 -19
  767. package/dist/components/toast/toast.component.js +3 -3
  768. package/dist/components/toast/toast.js +4 -4
  769. package/dist/components/toggle/toggle.component.js +2 -2
  770. package/dist/components/toggle/toggle.js +3 -3
  771. package/dist/components/tooltip/tooltip.component.js +3 -3
  772. package/dist/components/tooltip/tooltip.js +4 -4
  773. package/dist/components/variable-combobox/variable-combobox.component.js +6 -6
  774. package/dist/components/variable-combobox/variable-combobox.js +7 -7
  775. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +9 -9
  776. package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +3 -3
  777. package/dist/components/variable-keyword-search/variable-keyword-search.js +10 -10
  778. package/dist/custom-elements.json +202 -189
  779. package/dist/events/terra-time-series-data-change.d.ts +4 -0
  780. package/dist/metadata-catalog/cmr-catalog.d.ts +2 -1
  781. package/dist/metadata-catalog/queries.d.ts +1 -0
  782. package/dist/metadata-catalog/types.d.ts +15 -0
  783. package/dist/metadata-catalog/utilities.d.ts +1 -0
  784. package/dist/react/accordion/index.js +4 -4
  785. package/dist/react/alert/index.js +3 -3
  786. package/dist/react/avatar/index.js +4 -4
  787. package/dist/react/badge/index.js +3 -3
  788. package/dist/react/breadcrumb/index.js +3 -3
  789. package/dist/react/breadcrumbs/index.js +3 -3
  790. package/dist/react/browse-variables/index.js +14 -14
  791. package/dist/react/button/index.js +4 -4
  792. package/dist/react/button-group/index.js +3 -3
  793. package/dist/react/caption/index.js +3 -3
  794. package/dist/react/card/index.js +3 -3
  795. package/dist/react/checkbox/index.js +4 -4
  796. package/dist/react/chip/index.js +3 -3
  797. package/dist/react/combobox/index.js +3 -3
  798. package/dist/react/data-access/index.js +22 -20
  799. package/dist/react/data-grid/index.js +4 -4
  800. package/dist/react/data-rods/index.js +28 -28
  801. package/dist/react/data-subsetter/index.js +33 -33
  802. package/dist/react/data-subsetter-history/index.js +34 -34
  803. package/dist/react/date-picker/index.js +8 -8
  804. package/dist/react/date-range-slider/index.js +3 -3
  805. package/dist/react/dialog/index.js +6 -6
  806. package/dist/react/divider/index.js +3 -3
  807. package/dist/react/dropdown/index.js +4 -4
  808. package/dist/react/earthdata-login/index.js +11 -11
  809. package/dist/react/file-upload/index.js +3 -3
  810. package/dist/react/icon/index.js +3 -3
  811. package/dist/react/index.d.ts +1 -1
  812. package/dist/react/index.js +148 -148
  813. package/dist/react/input/index.js +4 -4
  814. package/dist/react/loader/index.js +3 -3
  815. package/dist/react/login/index.js +9 -9
  816. package/dist/react/map/index.js +3 -3
  817. package/dist/react/menu/index.js +3 -3
  818. package/dist/react/menu-item/index.js +6 -6
  819. package/dist/react/option/index.js +4 -4
  820. package/dist/react/pagination/index.js +4 -4
  821. package/dist/react/plot/index.js +3 -3
  822. package/dist/react/plot-toolbar/index.js +11 -11
  823. package/dist/react/popup/index.js +3 -3
  824. package/dist/react/progress-bar/index.js +3 -3
  825. package/dist/react/radio/index.js +3 -3
  826. package/dist/react/radio-group/index.js +3 -3
  827. package/dist/react/scroll-hint/index.js +4 -4
  828. package/dist/react/select/index.js +6 -6
  829. package/dist/react/site-header/index.js +4 -4
  830. package/dist/react/site-navigation/index.js +3 -3
  831. package/dist/react/skeleton/index.js +3 -3
  832. package/dist/react/slider/index.js +3 -3
  833. package/dist/react/spatial-picker/index.js +8 -8
  834. package/dist/react/status-indicator/index.js +3 -3
  835. package/dist/react/stepper/index.js +3 -3
  836. package/dist/react/stepper-step/index.js +4 -4
  837. package/dist/react/tab/index.js +4 -4
  838. package/dist/react/tab-panel/index.js +3 -3
  839. package/dist/react/tabs/index.js +4 -4
  840. package/dist/react/tag/index.js +4 -4
  841. package/dist/react/textarea/index.js +3 -3
  842. package/dist/react/time-average-map/index.js +18 -18
  843. package/dist/react/time-series/index.js +19 -19
  844. package/dist/react/toast/index.js +4 -4
  845. package/dist/react/toggle/index.js +3 -3
  846. package/dist/react/tooltip/index.js +4 -4
  847. package/dist/react/variable-combobox/index.js +7 -7
  848. package/dist/react/variable-keyword-search/index.js +10 -10
  849. package/dist/terra-ui-components.js +140 -140
  850. package/dist/terra_ui_components-0.0.172-py3-none-any.whl +0 -0
  851. package/dist/terra_ui_components-0.0.172.tar.gz +0 -0
  852. package/dist/types/vue/index.d.ts +48 -45
  853. package/dist/utilities/mimetypes.d.ts +1 -1
  854. package/dist/utilities/mimetypes.js +1 -1
  855. package/dist/vscode.html-custom-data.json +30 -29
  856. package/dist/web-types.json +104 -104
  857. package/package.json +1 -1
  858. package/cdn/chunks/chunk.23GZXEK4.js +0 -35
  859. package/cdn/chunks/chunk.23Y7QMN5.js +0 -753
  860. package/cdn/chunks/chunk.27NLN3JG.js +0 -731
  861. package/cdn/chunks/chunk.2KC5CEMV.js +0 -32
  862. package/cdn/chunks/chunk.2KR556CY.js +0 -32
  863. package/cdn/chunks/chunk.2NM4U2LU.js +0 -187
  864. package/cdn/chunks/chunk.2Q7QYGFT.js +0 -19
  865. package/cdn/chunks/chunk.2ZIP42OV.js +0 -288
  866. package/cdn/chunks/chunk.37NX7Z2A.js +0 -19
  867. package/cdn/chunks/chunk.3A7R3CQ6.js +0 -19
  868. package/cdn/chunks/chunk.3GB6TUVS.js +0 -39
  869. package/cdn/chunks/chunk.3HPEDHS7.js +0 -132
  870. package/cdn/chunks/chunk.3ROH53UR.js +0 -19
  871. package/cdn/chunks/chunk.4AZPGWEN.js +0 -19
  872. package/cdn/chunks/chunk.4CUQOFXS.js +0 -29
  873. package/cdn/chunks/chunk.4JWX5ORP.js +0 -19
  874. package/cdn/chunks/chunk.4P3ADQYH.js +0 -37
  875. package/cdn/chunks/chunk.4VP5R3DP.js +0 -36
  876. package/cdn/chunks/chunk.57EK43E2.js +0 -29
  877. package/cdn/chunks/chunk.5CEANRJM.js +0 -123
  878. package/cdn/chunks/chunk.5FHIINV4.js +0 -610
  879. package/cdn/chunks/chunk.5HCDLSYA.js +0 -30
  880. package/cdn/chunks/chunk.5IXKWLY6.js +0 -151
  881. package/cdn/chunks/chunk.5LKGET77.js +0 -19
  882. package/cdn/chunks/chunk.5NBONPFS.js +0 -19
  883. package/cdn/chunks/chunk.5O6EWOEQ.js +0 -29
  884. package/cdn/chunks/chunk.5RWLMEHZ.js +0 -19
  885. package/cdn/chunks/chunk.5U7FXBSP.js +0 -33
  886. package/cdn/chunks/chunk.6ATT4NML.js +0 -19
  887. package/cdn/chunks/chunk.6HPFTF7W.js +0 -19
  888. package/cdn/chunks/chunk.6NCG3DLN.js +0 -35
  889. package/cdn/chunks/chunk.6PFP4JDY.js +0 -372
  890. package/cdn/chunks/chunk.6R63CY42.js +0 -189
  891. package/cdn/chunks/chunk.6SLG3RUK.js +0 -29
  892. package/cdn/chunks/chunk.6XG4EOVX.js +0 -259
  893. package/cdn/chunks/chunk.6Y5VXGVN.js +0 -36
  894. package/cdn/chunks/chunk.733K2FSO.js +0 -32
  895. package/cdn/chunks/chunk.754SCLEA.js +0 -621
  896. package/cdn/chunks/chunk.7C537P4Y.js +0 -32
  897. package/cdn/chunks/chunk.7OKBWKVY.js +0 -32
  898. package/cdn/chunks/chunk.7QW2SRSF.js +0 -29
  899. package/cdn/chunks/chunk.7VKNM7C7.js +0 -136
  900. package/cdn/chunks/chunk.7XYSMHGT.js +0 -293
  901. package/cdn/chunks/chunk.AE5I65PB.js +0 -2313
  902. package/cdn/chunks/chunk.ATIGJSKH.js +0 -32
  903. package/cdn/chunks/chunk.AU5422IG.js +0 -19
  904. package/cdn/chunks/chunk.AYT5HXVZ.js +0 -19
  905. package/cdn/chunks/chunk.B6Z7S2RJ.js +0 -524
  906. package/cdn/chunks/chunk.BEWXJBUD.js +0 -29
  907. package/cdn/chunks/chunk.BFS2NXOO.js +0 -32
  908. package/cdn/chunks/chunk.BJEMOBM6.js +0 -35
  909. package/cdn/chunks/chunk.BLNFBFEC.js +0 -19
  910. package/cdn/chunks/chunk.BNLPA42D.js +0 -359
  911. package/cdn/chunks/chunk.BZ2Y4J4D.js +0 -477
  912. package/cdn/chunks/chunk.C237BS74.js +0 -19
  913. package/cdn/chunks/chunk.C3Y4QVHX.js +0 -32
  914. package/cdn/chunks/chunk.C6WX6TLS.js +0 -19
  915. package/cdn/chunks/chunk.CQ3TUSLS.js +0 -32
  916. package/cdn/chunks/chunk.D2GB3UX7.js +0 -34
  917. package/cdn/chunks/chunk.D5SAON7L.js +0 -19
  918. package/cdn/chunks/chunk.DACWIRZG.js +0 -19
  919. package/cdn/chunks/chunk.DCPXDVO3.js +0 -71
  920. package/cdn/chunks/chunk.DGKCMLRD.js +0 -29
  921. package/cdn/chunks/chunk.DGMRX45K.js +0 -904
  922. package/cdn/chunks/chunk.DLST2D6L.js +0 -32
  923. package/cdn/chunks/chunk.DM4JRT4A.js +0 -93
  924. package/cdn/chunks/chunk.DTD73FAO.js +0 -83
  925. package/cdn/chunks/chunk.DZISTF6N.js +0 -1010
  926. package/cdn/chunks/chunk.E4Y5BG5N.js +0 -509
  927. package/cdn/chunks/chunk.ELMFDV2G.js +0 -247
  928. package/cdn/chunks/chunk.EUPQ33DJ.js +0 -33
  929. package/cdn/chunks/chunk.EY4VNPJ2.js +0 -19
  930. package/cdn/chunks/chunk.F3J4RXQV.js +0 -19
  931. package/cdn/chunks/chunk.F753RR5Q.js +0 -19
  932. package/cdn/chunks/chunk.FELOKZ54.js +0 -19
  933. package/cdn/chunks/chunk.FJEMKM6L.js +0 -99
  934. package/cdn/chunks/chunk.FLAI3PUI.js +0 -29
  935. package/cdn/chunks/chunk.FN5FAARP.js +0 -19
  936. package/cdn/chunks/chunk.FO37M2VG.js +0 -41
  937. package/cdn/chunks/chunk.G4PR2N27.js +0 -19
  938. package/cdn/chunks/chunk.GHTLJCT7.js +0 -239
  939. package/cdn/chunks/chunk.GU4XX4QI.js +0 -29
  940. package/cdn/chunks/chunk.GVI2UZCY.js +0 -1048
  941. package/cdn/chunks/chunk.GYUZ4R2A.js +0 -662
  942. package/cdn/chunks/chunk.GZ26Q2FP.js +0 -36
  943. package/cdn/chunks/chunk.HI33WW4T.js +0 -35
  944. package/cdn/chunks/chunk.HLOMAVME.js +0 -86
  945. package/cdn/chunks/chunk.I2R2ZBU5.js +0 -29
  946. package/cdn/chunks/chunk.I3UVXV4L.js +0 -29
  947. package/cdn/chunks/chunk.I44LHN7L.js +0 -99
  948. package/cdn/chunks/chunk.I4NS6DRL.js +0 -78
  949. package/cdn/chunks/chunk.IG7FYJ3U.js +0 -19
  950. package/cdn/chunks/chunk.IHZC4VE3.js +0 -19
  951. package/cdn/chunks/chunk.IL7BYPM7.js +0 -92
  952. package/cdn/chunks/chunk.ILA4A7U5.js +0 -99
  953. package/cdn/chunks/chunk.INANLV5F.js +0 -19
  954. package/cdn/chunks/chunk.ISBKM2OB.js +0 -238
  955. package/cdn/chunks/chunk.IYU24ABO.js +0 -29
  956. package/cdn/chunks/chunk.J54QLLZQ.js +0 -29
  957. package/cdn/chunks/chunk.JF2F7SBD.js +0 -19
  958. package/cdn/chunks/chunk.JMFLFZGJ.js +0 -19
  959. package/cdn/chunks/chunk.JW3UB6CJ.js +0 -231
  960. package/cdn/chunks/chunk.JWEQ2GM5.js +0 -19
  961. package/cdn/chunks/chunk.K7EC2QO6.js +0 -145
  962. package/cdn/chunks/chunk.KCLJIVSE.js +0 -60
  963. package/cdn/chunks/chunk.KEXZGUQN.js +0 -19
  964. package/cdn/chunks/chunk.KFAY3AAP.js +0 -19
  965. package/cdn/chunks/chunk.KKHOQMCP.js +0 -19
  966. package/cdn/chunks/chunk.KLHKIEFR.js +0 -29
  967. package/cdn/chunks/chunk.L75PJFAL.js +0 -29
  968. package/cdn/chunks/chunk.L7YV27S6.js +0 -19
  969. package/cdn/chunks/chunk.LBABTGAS.js +0 -146
  970. package/cdn/chunks/chunk.LKTIVLAU.js +0 -47
  971. package/cdn/chunks/chunk.LXFTWXOV.js +0 -29
  972. package/cdn/chunks/chunk.LZJ3KUZ3.js +0 -19
  973. package/cdn/chunks/chunk.MEGOGKT6.js +0 -134
  974. package/cdn/chunks/chunk.MMUVQEIP.js +0 -83
  975. package/cdn/chunks/chunk.MYUULQOT.js +0 -538
  976. package/cdn/chunks/chunk.NJPRE2SS.js +0 -37
  977. package/cdn/chunks/chunk.NLXOFVES.js +0 -85
  978. package/cdn/chunks/chunk.NQ4GG7TD.js +0 -29
  979. package/cdn/chunks/chunk.NSRAVHBY.js +0 -29
  980. package/cdn/chunks/chunk.O6HASOHR.js +0 -19
  981. package/cdn/chunks/chunk.OAFP43OF.js +0 -302
  982. package/cdn/chunks/chunk.OZHLTGMH.js +0 -55346
  983. package/cdn/chunks/chunk.P32GFSGR.js +0 -62
  984. package/cdn/chunks/chunk.P4P52CEF.js +0 -234
  985. package/cdn/chunks/chunk.PDOV4E5N.js +0 -375
  986. package/cdn/chunks/chunk.PHOAPIHQ.js +0 -19
  987. package/cdn/chunks/chunk.PKXN5OOU.js +0 -29
  988. package/cdn/chunks/chunk.PM64E5LE.js +0 -278
  989. package/cdn/chunks/chunk.PRWVQUGW.js +0 -165
  990. package/cdn/chunks/chunk.QAENJTBJ.js +0 -19
  991. package/cdn/chunks/chunk.QHH26OJS.js +0 -155
  992. package/cdn/chunks/chunk.QIXBAY6V.js +0 -33
  993. package/cdn/chunks/chunk.QJ2I4KIQ.js +0 -224
  994. package/cdn/chunks/chunk.QJ5QKGXV.js +0 -19
  995. package/cdn/chunks/chunk.QTVYZYDT.js +0 -29
  996. package/cdn/chunks/chunk.QWLLB44M.js +0 -19
  997. package/cdn/chunks/chunk.R2LK7SNC.js +0 -56
  998. package/cdn/chunks/chunk.R6LEPKVA.js +0 -19
  999. package/cdn/chunks/chunk.RXJOFC36.js +0 -19
  1000. package/cdn/chunks/chunk.RYKFP3WL.js +0 -68
  1001. package/cdn/chunks/chunk.S2F2564D.js +0 -77
  1002. package/cdn/chunks/chunk.S3K4NMB3.js +0 -104
  1003. package/cdn/chunks/chunk.SC6LYTWL.js +0 -190
  1004. package/cdn/chunks/chunk.SDVDBP7O.js +0 -32
  1005. package/cdn/chunks/chunk.SEQFSNN4.js +0 -33
  1006. package/cdn/chunks/chunk.SIIB4WFQ.js +0 -19
  1007. package/cdn/chunks/chunk.SJR4SXU4.js +0 -19
  1008. package/cdn/chunks/chunk.SJVQASHW.js +0 -33869
  1009. package/cdn/chunks/chunk.SNHL23LZ.js +0 -33
  1010. package/cdn/chunks/chunk.SVGVZCGA.js +0 -19
  1011. package/cdn/chunks/chunk.SXICRS6V.js +0 -19
  1012. package/cdn/chunks/chunk.T4OKS2DZ.js +0 -29
  1013. package/cdn/chunks/chunk.TAWZUB2D.js +0 -616
  1014. package/cdn/chunks/chunk.TJN5EHVN.js +0 -19
  1015. package/cdn/chunks/chunk.TLZAPLTZ.js +0 -230
  1016. package/cdn/chunks/chunk.TWOOSYEE.js +0 -19
  1017. package/cdn/chunks/chunk.U6S43WN5.js +0 -19
  1018. package/cdn/chunks/chunk.U7AVIRNM.js +0 -29
  1019. package/cdn/chunks/chunk.UJBJMJRL.js +0 -106
  1020. package/cdn/chunks/chunk.UJWZ4J2G.js +0 -29
  1021. package/cdn/chunks/chunk.UMMQ2YUX.js +0 -49
  1022. package/cdn/chunks/chunk.UO7OZ7OO.js +0 -36
  1023. package/cdn/chunks/chunk.UPNDFQWX.js +0 -2225
  1024. package/cdn/chunks/chunk.UWKRZT5O.js +0 -19
  1025. package/cdn/chunks/chunk.UYENPC3S.js +0 -357
  1026. package/cdn/chunks/chunk.V2DCOUEK.js +0 -188
  1027. package/cdn/chunks/chunk.V2KJPY7I.js +0 -29
  1028. package/cdn/chunks/chunk.V4X5FDK4.js +0 -276
  1029. package/cdn/chunks/chunk.VA2JWVUG.js +0 -113
  1030. package/cdn/chunks/chunk.VMXK4KER.js +0 -19
  1031. package/cdn/chunks/chunk.VOC3X5OA.js +0 -29
  1032. package/cdn/chunks/chunk.VZU77MYC.js +0 -19
  1033. package/cdn/chunks/chunk.W437TB2N.js +0 -33
  1034. package/cdn/chunks/chunk.W7KGVFJQ.js +0 -52
  1035. package/cdn/chunks/chunk.WAQPOIY5.js +0 -29
  1036. package/cdn/chunks/chunk.WJVXVFAT.js +0 -32
  1037. package/cdn/chunks/chunk.WKDKVHQJ.js +0 -19
  1038. package/cdn/chunks/chunk.WYGBTBWC.js +0 -287
  1039. package/cdn/chunks/chunk.WZARQJQ2.js +0 -19
  1040. package/cdn/chunks/chunk.XAW4QMPU.js +0 -19
  1041. package/cdn/chunks/chunk.XCAUHP7C.js +0 -34
  1042. package/cdn/chunks/chunk.XJRNXPZS.js +0 -493
  1043. package/cdn/chunks/chunk.XNKB3ERT.js +0 -19
  1044. package/cdn/chunks/chunk.XTQQNWK6.js +0 -32
  1045. package/cdn/chunks/chunk.Y5ILAS42.js +0 -435
  1046. package/cdn/chunks/chunk.YISZNUYH.js +0 -32
  1047. package/cdn/chunks/chunk.YLK7PBY6.js +0 -19
  1048. package/cdn/chunks/chunk.YNAGUPSL.js +0 -1966
  1049. package/cdn/chunks/chunk.YRAZYEY6.js +0 -158
  1050. package/cdn/chunks/chunk.YS2M7OUV.js +0 -19
  1051. package/cdn/chunks/chunk.YTRA44CP.js +0 -1224
  1052. package/cdn/chunks/chunk.YWMO5CYY.js +0 -74
  1053. package/cdn/chunks/chunk.Z3PGBEPN.js +0 -599
  1054. package/cdn/chunks/chunk.Z4AOMRTY.js +0 -19
  1055. package/cdn/chunks/chunk.ZAISFV66.js +0 -264
  1056. package/cdn/chunks/chunk.ZE32JWMO.js +0 -19
  1057. package/cdn/chunks/chunk.ZFRBMO23.js +0 -19
  1058. package/cdn/chunks/chunk.ZJZRTDCI.js +0 -29
  1059. package/cdn/chunks/chunk.ZQC4DWU5.js +0 -29
  1060. package/cdn/chunks/chunk.ZQVTH76A.js +0 -29
  1061. package/cdn/chunks/chunk.ZTIOE2ND.js +0 -29
  1062. package/cdn/chunks/chunk.ZWBGF5IE.js +0 -60
  1063. package/dist/chunks/chunk.2ANMQFJ4.js +0 -21
  1064. package/dist/chunks/chunk.2B3XGCJP.js +0 -21
  1065. package/dist/chunks/chunk.2EDS77WI.js +0 -11
  1066. package/dist/chunks/chunk.2FTQWXVI.js +0 -11
  1067. package/dist/chunks/chunk.2JK6ZAHX.js +0 -24
  1068. package/dist/chunks/chunk.2JLEP7WV.js +0 -135
  1069. package/dist/chunks/chunk.2KTQMIDH.js +0 -474
  1070. package/dist/chunks/chunk.2M2C5XW7.js +0 -11
  1071. package/dist/chunks/chunk.2OMXG6QD.js +0 -11
  1072. package/dist/chunks/chunk.2ST4WVQN.js +0 -11
  1073. package/dist/chunks/chunk.2V3IA7AN.js +0 -11
  1074. package/dist/chunks/chunk.2ZK53E32.js +0 -21
  1075. package/dist/chunks/chunk.3CS4SHZC.js +0 -24
  1076. package/dist/chunks/chunk.3KLCTNFP.js +0 -29
  1077. package/dist/chunks/chunk.3PMRYAJZ.js +0 -27
  1078. package/dist/chunks/chunk.3RLSNGDP.js +0 -20
  1079. package/dist/chunks/chunk.43IMTXNY.js +0 -11
  1080. package/dist/chunks/chunk.4LZ4DUDB.js +0 -720
  1081. package/dist/chunks/chunk.4SRSZ64S.js +0 -844
  1082. package/dist/chunks/chunk.4Z7LBUW6.js +0 -443
  1083. package/dist/chunks/chunk.5EALSVRW.js +0 -422
  1084. package/dist/chunks/chunk.5FAZJWFQ.js +0 -345
  1085. package/dist/chunks/chunk.5FIKGOOU.js +0 -11
  1086. package/dist/chunks/chunk.5KL7PLGM.js +0 -24
  1087. package/dist/chunks/chunk.5SMRHQ23.js +0 -262
  1088. package/dist/chunks/chunk.64NZFI6G.js +0 -25
  1089. package/dist/chunks/chunk.66BWREPD.js +0 -89
  1090. package/dist/chunks/chunk.67FOSYOY.js +0 -61
  1091. package/dist/chunks/chunk.6BTIRLS4.js +0 -494
  1092. package/dist/chunks/chunk.6JWHPMOL.js +0 -43
  1093. package/dist/chunks/chunk.6KZPGAUU.js +0 -277
  1094. package/dist/chunks/chunk.6ODK2VJU.js +0 -11
  1095. package/dist/chunks/chunk.6OWWYTVJ.js +0 -139
  1096. package/dist/chunks/chunk.6V5NQDVJ.js +0 -11
  1097. package/dist/chunks/chunk.76QXQJJA.js +0 -11
  1098. package/dist/chunks/chunk.7AH6EKOQ.js +0 -477
  1099. package/dist/chunks/chunk.7FPD4K27.js +0 -230
  1100. package/dist/chunks/chunk.7ILUKA4M.js +0 -525
  1101. package/dist/chunks/chunk.7JEMYKMQ.js +0 -27
  1102. package/dist/chunks/chunk.7MF2CYC7.js +0 -11
  1103. package/dist/chunks/chunk.7SMNRGXD.js +0 -123
  1104. package/dist/chunks/chunk.7W3PFQDU.js +0 -28
  1105. package/dist/chunks/chunk.A2IMSLAM.js +0 -21
  1106. package/dist/chunks/chunk.A42TZYSR.js +0 -78
  1107. package/dist/chunks/chunk.A7S2XBR4.js +0 -91
  1108. package/dist/chunks/chunk.AB5ZMWTR.js +0 -25
  1109. package/dist/chunks/chunk.ABQ5SKZI.js +0 -24
  1110. package/dist/chunks/chunk.AQ7D47XH.js +0 -11
  1111. package/dist/chunks/chunk.AVXYOGLQ.js +0 -11
  1112. package/dist/chunks/chunk.B2ZB7WBO.js +0 -29
  1113. package/dist/chunks/chunk.B4CO7KZS.js +0 -21
  1114. package/dist/chunks/chunk.B65EMJX6.js +0 -21
  1115. package/dist/chunks/chunk.BADHWJPB.js +0 -230
  1116. package/dist/chunks/chunk.BDQWXKQP.js +0 -11
  1117. package/dist/chunks/chunk.BFWW4FQR.js +0 -11
  1118. package/dist/chunks/chunk.BJDVG6P4.js +0 -234
  1119. package/dist/chunks/chunk.BL3RC3NY.js +0 -247
  1120. package/dist/chunks/chunk.BT7HPCEV.js +0 -1133
  1121. package/dist/chunks/chunk.C2GCFZIA.js +0 -43
  1122. package/dist/chunks/chunk.CERMDF55.js +0 -176
  1123. package/dist/chunks/chunk.CGVPVXTX.js +0 -76
  1124. package/dist/chunks/chunk.CL554ZTN.js +0 -2210
  1125. package/dist/chunks/chunk.CRCCJDPB.js +0 -52
  1126. package/dist/chunks/chunk.CWS5UNLN.js +0 -24
  1127. package/dist/chunks/chunk.CXKVKZAT.js +0 -21
  1128. package/dist/chunks/chunk.CZKGOZBR.js +0 -21
  1129. package/dist/chunks/chunk.D4HKM4BD.js +0 -24
  1130. package/dist/chunks/chunk.DDZOBF6U.js +0 -97
  1131. package/dist/chunks/chunk.DLYI2NFI.js +0 -355
  1132. package/dist/chunks/chunk.DOYQTOTG.js +0 -2300
  1133. package/dist/chunks/chunk.DRD5K4ZA.js +0 -28
  1134. package/dist/chunks/chunk.DTRE2LA7.js +0 -21
  1135. package/dist/chunks/chunk.DZTB26BO.js +0 -21
  1136. package/dist/chunks/chunk.EBHNLEDS.js +0 -11
  1137. package/dist/chunks/chunk.EFOIGG4J.js +0 -11
  1138. package/dist/chunks/chunk.EJ6ZUMCI.js +0 -21
  1139. package/dist/chunks/chunk.EOW57DGX.js +0 -11
  1140. package/dist/chunks/chunk.EPWFNMMQ.js +0 -28
  1141. package/dist/chunks/chunk.EQ62D7RW.js +0 -11
  1142. package/dist/chunks/chunk.ETBKTWEW.js +0 -11
  1143. package/dist/chunks/chunk.FCI3B5PM.js +0 -11
  1144. package/dist/chunks/chunk.FPKW4HNF.js +0 -101
  1145. package/dist/chunks/chunk.FSNKANRN.js +0 -21
  1146. package/dist/chunks/chunk.FWZUHYXY.js +0 -11
  1147. package/dist/chunks/chunk.G24FAMYT.js +0 -245
  1148. package/dist/chunks/chunk.G4QA4SSD.js +0 -112
  1149. package/dist/chunks/chunk.GOZYOSGP.js +0 -11
  1150. package/dist/chunks/chunk.GPWLUWAH.js +0 -25
  1151. package/dist/chunks/chunk.GQT373WX.js +0 -11
  1152. package/dist/chunks/chunk.H3DIQWAZ.js +0 -21
  1153. package/dist/chunks/chunk.HABSD5WX.js +0 -11
  1154. package/dist/chunks/chunk.HBFI75EO.js +0 -26
  1155. package/dist/chunks/chunk.HBVGLN6J.js +0 -21
  1156. package/dist/chunks/chunk.HLQNPW2B.js +0 -180
  1157. package/dist/chunks/chunk.HNQZMZDK.js +0 -52
  1158. package/dist/chunks/chunk.HS2AS3KR.js +0 -21
  1159. package/dist/chunks/chunk.HSSBAR3V.js +0 -11
  1160. package/dist/chunks/chunk.HTZCYJPN.js +0 -11
  1161. package/dist/chunks/chunk.HUOOKVSC.js +0 -27
  1162. package/dist/chunks/chunk.I55ABPPU.js +0 -74
  1163. package/dist/chunks/chunk.I5S7VMNW.js +0 -409
  1164. package/dist/chunks/chunk.I6VINFNV.js +0 -180
  1165. package/dist/chunks/chunk.IEIPNC7C.js +0 -11
  1166. package/dist/chunks/chunk.IGGGETAB.js +0 -180
  1167. package/dist/chunks/chunk.INWDQT67.js +0 -732
  1168. package/dist/chunks/chunk.IQ3WHN3C.js +0 -11
  1169. package/dist/chunks/chunk.IQD73NGE.js +0 -39
  1170. package/dist/chunks/chunk.J3MO2NTY.js +0 -11
  1171. package/dist/chunks/chunk.J53MSEZ6.js +0 -31
  1172. package/dist/chunks/chunk.JP5ESC3H.js +0 -214
  1173. package/dist/chunks/chunk.JX7WGPTU.js +0 -11
  1174. package/dist/chunks/chunk.JYB4QXY4.js +0 -592
  1175. package/dist/chunks/chunk.JZOQS3VV.js +0 -11
  1176. package/dist/chunks/chunk.KEXASARO.js +0 -24
  1177. package/dist/chunks/chunk.KJFH6JUY.js +0 -21
  1178. package/dist/chunks/chunk.KSVPP6MB.js +0 -596
  1179. package/dist/chunks/chunk.KY4GOJ4D.js +0 -85
  1180. package/dist/chunks/chunk.KYOU6GFE.js +0 -11
  1181. package/dist/chunks/chunk.L2IJKFHB.js +0 -21
  1182. package/dist/chunks/chunk.L2K33SBP.js +0 -11
  1183. package/dist/chunks/chunk.LALFP5BA.js +0 -21
  1184. package/dist/chunks/chunk.LIUUOC56.js +0 -124
  1185. package/dist/chunks/chunk.LQ62AWJV.js +0 -21
  1186. package/dist/chunks/chunk.M3NS4PVA.js +0 -11
  1187. package/dist/chunks/chunk.M5LGIIHQ.js +0 -21
  1188. package/dist/chunks/chunk.M5XLUDYR.js +0 -11
  1189. package/dist/chunks/chunk.MH6ZT2SE.js +0 -27
  1190. package/dist/chunks/chunk.MMTZYMPU.js +0 -365
  1191. package/dist/chunks/chunk.MQLTZKYS.js +0 -48
  1192. package/dist/chunks/chunk.NAOO3Y2C.js +0 -21
  1193. package/dist/chunks/chunk.NBHZJ5KL.js +0 -21
  1194. package/dist/chunks/chunk.NEWFIRAS.js +0 -11
  1195. package/dist/chunks/chunk.NFX3MKHA.js +0 -24
  1196. package/dist/chunks/chunk.NMOGBJVA.js +0 -11
  1197. package/dist/chunks/chunk.NNI5VQD3.js +0 -11
  1198. package/dist/chunks/chunk.NPG4Z7RX.js +0 -11
  1199. package/dist/chunks/chunk.NVHODLAG.js +0 -21
  1200. package/dist/chunks/chunk.NYHVFU6P.js +0 -21
  1201. package/dist/chunks/chunk.O3S5K3AP.js +0 -143
  1202. package/dist/chunks/chunk.ODW2SC3J.js +0 -264
  1203. package/dist/chunks/chunk.OFUJJYKR.js +0 -1037
  1204. package/dist/chunks/chunk.OIOD6WKF.js +0 -83
  1205. package/dist/chunks/chunk.OXUS6AWV.js +0 -11
  1206. package/dist/chunks/chunk.PGENV5B2.js +0 -11
  1207. package/dist/chunks/chunk.PKG2IX5P.js +0 -25
  1208. package/dist/chunks/chunk.PLVBAX7K.js +0 -11
  1209. package/dist/chunks/chunk.PN7XB7V2.js +0 -86
  1210. package/dist/chunks/chunk.PPWNIJSM.js +0 -21
  1211. package/dist/chunks/chunk.QB4YBDPO.js +0 -581
  1212. package/dist/chunks/chunk.QBKGBXWO.js +0 -11
  1213. package/dist/chunks/chunk.QDGFDNGX.js +0 -252
  1214. package/dist/chunks/chunk.QDYBG6MV.js +0 -11
  1215. package/dist/chunks/chunk.QHGSRGU6.js +0 -121
  1216. package/dist/chunks/chunk.QX7MBK3C.js +0 -11
  1217. package/dist/chunks/chunk.R6QSAML7.js +0 -21
  1218. package/dist/chunks/chunk.RGYYQDUV.js +0 -25
  1219. package/dist/chunks/chunk.RO4MUFVF.js +0 -67
  1220. package/dist/chunks/chunk.RRBKKYWU.js +0 -75
  1221. package/dist/chunks/chunk.S7BJBUGE.js +0 -24
  1222. package/dist/chunks/chunk.SLEQS7Q2.js +0 -11
  1223. package/dist/chunks/chunk.SLWT34ZG.js +0 -11
  1224. package/dist/chunks/chunk.SRE4C4D2.js +0 -24
  1225. package/dist/chunks/chunk.SRWFPP3W.js +0 -11
  1226. package/dist/chunks/chunk.STTQ7YY4.js +0 -21
  1227. package/dist/chunks/chunk.SU5KHWCD.js +0 -48
  1228. package/dist/chunks/chunk.SVSQUGOX.js +0 -11
  1229. package/dist/chunks/chunk.TDJ56I3Q.js +0 -28
  1230. package/dist/chunks/chunk.TQIB6NRA.js +0 -153
  1231. package/dist/chunks/chunk.UGOIQXRG.js +0 -11
  1232. package/dist/chunks/chunk.UJEZYIHG.js +0 -58
  1233. package/dist/chunks/chunk.UL6YVM7N.js +0 -145
  1234. package/dist/chunks/chunk.USPJIVXJ.js +0 -24
  1235. package/dist/chunks/chunk.UTTPWTFY.js +0 -24
  1236. package/dist/chunks/chunk.VAJ6RO6C.js +0 -11
  1237. package/dist/chunks/chunk.VJSTHFWD.js +0 -11
  1238. package/dist/chunks/chunk.VSUOMZH3.js +0 -24
  1239. package/dist/chunks/chunk.VT2J4KET.js +0 -11
  1240. package/dist/chunks/chunk.W2JNGNBS.js +0 -26
  1241. package/dist/chunks/chunk.WC3AMI6M.js +0 -64
  1242. package/dist/chunks/chunk.WFGWX2UR.js +0 -11
  1243. package/dist/chunks/chunk.WFSXOBIP.js +0 -33
  1244. package/dist/chunks/chunk.WHB35BIS.js +0 -451
  1245. package/dist/chunks/chunk.WKBGYLSO.js +0 -11
  1246. package/dist/chunks/chunk.WPMCISBB.js +0 -345
  1247. package/dist/chunks/chunk.WRSO2HXE.js +0 -93
  1248. package/dist/chunks/chunk.WVBNGI2U.js +0 -21
  1249. package/dist/chunks/chunk.WWU7U5TB.js +0 -11
  1250. package/dist/chunks/chunk.WXQQSB25.js +0 -11
  1251. package/dist/chunks/chunk.XDQPGAL5.js +0 -220
  1252. package/dist/chunks/chunk.XR75EBXL.js +0 -24
  1253. package/dist/chunks/chunk.XUEN7MZQ.js +0 -21
  1254. package/dist/chunks/chunk.XV4AJCSB.js +0 -11
  1255. package/dist/chunks/chunk.XWGMSTQ7.js +0 -280
  1256. package/dist/chunks/chunk.XZTZVISY.js +0 -91
  1257. package/dist/chunks/chunk.Y34EGQGE.js +0 -21
  1258. package/dist/chunks/chunk.YEUYEP6O.js +0 -609
  1259. package/dist/chunks/chunk.YLR7C6NK.js +0 -213
  1260. package/dist/chunks/chunk.YQGVUCOP.js +0 -272
  1261. package/dist/chunks/chunk.YT2XMMC5.js +0 -24
  1262. package/dist/chunks/chunk.Z6HFXKR5.js +0 -291
  1263. package/dist/chunks/chunk.Z6YCUGMQ.js +0 -67
  1264. package/dist/chunks/chunk.ZBWOSTXK.js +0 -1208
  1265. package/dist/chunks/chunk.ZKNQYPN4.js +0 -220
  1266. package/dist/chunks/chunk.ZY2PO6KK.js +0 -993
  1267. package/dist/chunks/chunk.ZZY4BYTX.js +0 -11
  1268. package/dist/terra_ui_components-0.0.170-py3-none-any.whl +0 -0
  1269. package/dist/terra_ui_components-0.0.170.tar.gz +0 -0
@@ -1,1966 +0,0 @@
1
- import {
2
- popup_styles_default
3
- } from "./chunk.UPT6DHPH.js";
4
- import {
5
- e
6
- } from "./chunk.P3OLQVQM.js";
7
- import {
8
- TerraElement,
9
- component_styles_default,
10
- e as e2,
11
- n
12
- } from "./chunk.GYUZ4R2A.js";
13
- import {
14
- x
15
- } from "./chunk.3ZQGAH53.js";
16
- import {
17
- __decorateClass,
18
- __objRest,
19
- __spreadProps,
20
- __spreadValues,
21
- init_buffer,
22
- init_dirname,
23
- init_process
24
- } from "./chunk.CZA6CSBG.js";
25
-
26
- // src/components/popup/popup.component.ts
27
- init_dirname();
28
- init_buffer();
29
- init_process();
30
-
31
- // node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
32
- init_dirname();
33
- init_buffer();
34
- init_process();
35
-
36
- // node_modules/@floating-ui/core/dist/floating-ui.core.mjs
37
- init_dirname();
38
- init_buffer();
39
- init_process();
40
-
41
- // node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
42
- init_dirname();
43
- init_buffer();
44
- init_process();
45
- var min = Math.min;
46
- var max = Math.max;
47
- var round = Math.round;
48
- var floor = Math.floor;
49
- var createCoords = (v) => ({
50
- x: v,
51
- y: v
52
- });
53
- var oppositeSideMap = {
54
- left: "right",
55
- right: "left",
56
- bottom: "top",
57
- top: "bottom"
58
- };
59
- var oppositeAlignmentMap = {
60
- start: "end",
61
- end: "start"
62
- };
63
- function clamp(start, value, end) {
64
- return max(start, min(value, end));
65
- }
66
- function evaluate(value, param) {
67
- return typeof value === "function" ? value(param) : value;
68
- }
69
- function getSide(placement) {
70
- return placement.split("-")[0];
71
- }
72
- function getAlignment(placement) {
73
- return placement.split("-")[1];
74
- }
75
- function getOppositeAxis(axis) {
76
- return axis === "x" ? "y" : "x";
77
- }
78
- function getAxisLength(axis) {
79
- return axis === "y" ? "height" : "width";
80
- }
81
- var yAxisSides = /* @__PURE__ */ new Set(["top", "bottom"]);
82
- function getSideAxis(placement) {
83
- return yAxisSides.has(getSide(placement)) ? "y" : "x";
84
- }
85
- function getAlignmentAxis(placement) {
86
- return getOppositeAxis(getSideAxis(placement));
87
- }
88
- function getAlignmentSides(placement, rects, rtl) {
89
- if (rtl === void 0) {
90
- rtl = false;
91
- }
92
- const alignment = getAlignment(placement);
93
- const alignmentAxis = getAlignmentAxis(placement);
94
- const length = getAxisLength(alignmentAxis);
95
- let mainAlignmentSide = alignmentAxis === "x" ? alignment === (rtl ? "end" : "start") ? "right" : "left" : alignment === "start" ? "bottom" : "top";
96
- if (rects.reference[length] > rects.floating[length]) {
97
- mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
98
- }
99
- return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
100
- }
101
- function getExpandedPlacements(placement) {
102
- const oppositePlacement = getOppositePlacement(placement);
103
- return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
104
- }
105
- function getOppositeAlignmentPlacement(placement) {
106
- return placement.replace(/start|end/g, (alignment) => oppositeAlignmentMap[alignment]);
107
- }
108
- var lrPlacement = ["left", "right"];
109
- var rlPlacement = ["right", "left"];
110
- var tbPlacement = ["top", "bottom"];
111
- var btPlacement = ["bottom", "top"];
112
- function getSideList(side, isStart, rtl) {
113
- switch (side) {
114
- case "top":
115
- case "bottom":
116
- if (rtl)
117
- return isStart ? rlPlacement : lrPlacement;
118
- return isStart ? lrPlacement : rlPlacement;
119
- case "left":
120
- case "right":
121
- return isStart ? tbPlacement : btPlacement;
122
- default:
123
- return [];
124
- }
125
- }
126
- function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
127
- const alignment = getAlignment(placement);
128
- let list = getSideList(getSide(placement), direction === "start", rtl);
129
- if (alignment) {
130
- list = list.map((side) => side + "-" + alignment);
131
- if (flipAlignment) {
132
- list = list.concat(list.map(getOppositeAlignmentPlacement));
133
- }
134
- }
135
- return list;
136
- }
137
- function getOppositePlacement(placement) {
138
- return placement.replace(/left|right|bottom|top/g, (side) => oppositeSideMap[side]);
139
- }
140
- function expandPaddingObject(padding) {
141
- return __spreadValues({
142
- top: 0,
143
- right: 0,
144
- bottom: 0,
145
- left: 0
146
- }, padding);
147
- }
148
- function getPaddingObject(padding) {
149
- return typeof padding !== "number" ? expandPaddingObject(padding) : {
150
- top: padding,
151
- right: padding,
152
- bottom: padding,
153
- left: padding
154
- };
155
- }
156
- function rectToClientRect(rect) {
157
- const {
158
- x: x2,
159
- y,
160
- width,
161
- height
162
- } = rect;
163
- return {
164
- width,
165
- height,
166
- top: y,
167
- left: x2,
168
- right: x2 + width,
169
- bottom: y + height,
170
- x: x2,
171
- y
172
- };
173
- }
174
-
175
- // node_modules/@floating-ui/core/dist/floating-ui.core.mjs
176
- function computeCoordsFromPlacement(_ref, placement, rtl) {
177
- let {
178
- reference,
179
- floating
180
- } = _ref;
181
- const sideAxis = getSideAxis(placement);
182
- const alignmentAxis = getAlignmentAxis(placement);
183
- const alignLength = getAxisLength(alignmentAxis);
184
- const side = getSide(placement);
185
- const isVertical = sideAxis === "y";
186
- const commonX = reference.x + reference.width / 2 - floating.width / 2;
187
- const commonY = reference.y + reference.height / 2 - floating.height / 2;
188
- const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
189
- let coords;
190
- switch (side) {
191
- case "top":
192
- coords = {
193
- x: commonX,
194
- y: reference.y - floating.height
195
- };
196
- break;
197
- case "bottom":
198
- coords = {
199
- x: commonX,
200
- y: reference.y + reference.height
201
- };
202
- break;
203
- case "right":
204
- coords = {
205
- x: reference.x + reference.width,
206
- y: commonY
207
- };
208
- break;
209
- case "left":
210
- coords = {
211
- x: reference.x - floating.width,
212
- y: commonY
213
- };
214
- break;
215
- default:
216
- coords = {
217
- x: reference.x,
218
- y: reference.y
219
- };
220
- }
221
- switch (getAlignment(placement)) {
222
- case "start":
223
- coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
224
- break;
225
- case "end":
226
- coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
227
- break;
228
- }
229
- return coords;
230
- }
231
- var computePosition = async (reference, floating, config) => {
232
- const {
233
- placement = "bottom",
234
- strategy = "absolute",
235
- middleware = [],
236
- platform: platform2
237
- } = config;
238
- const validMiddleware = middleware.filter(Boolean);
239
- const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
240
- let rects = await platform2.getElementRects({
241
- reference,
242
- floating,
243
- strategy
244
- });
245
- let {
246
- x: x2,
247
- y
248
- } = computeCoordsFromPlacement(rects, placement, rtl);
249
- let statefulPlacement = placement;
250
- let middlewareData = {};
251
- let resetCount = 0;
252
- for (let i2 = 0; i2 < validMiddleware.length; i2++) {
253
- const {
254
- name,
255
- fn
256
- } = validMiddleware[i2];
257
- const {
258
- x: nextX,
259
- y: nextY,
260
- data,
261
- reset
262
- } = await fn({
263
- x: x2,
264
- y,
265
- initialPlacement: placement,
266
- placement: statefulPlacement,
267
- strategy,
268
- middlewareData,
269
- rects,
270
- platform: platform2,
271
- elements: {
272
- reference,
273
- floating
274
- }
275
- });
276
- x2 = nextX != null ? nextX : x2;
277
- y = nextY != null ? nextY : y;
278
- middlewareData = __spreadProps(__spreadValues({}, middlewareData), {
279
- [name]: __spreadValues(__spreadValues({}, middlewareData[name]), data)
280
- });
281
- if (reset && resetCount <= 50) {
282
- resetCount++;
283
- if (typeof reset === "object") {
284
- if (reset.placement) {
285
- statefulPlacement = reset.placement;
286
- }
287
- if (reset.rects) {
288
- rects = reset.rects === true ? await platform2.getElementRects({
289
- reference,
290
- floating,
291
- strategy
292
- }) : reset.rects;
293
- }
294
- ({
295
- x: x2,
296
- y
297
- } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
298
- }
299
- i2 = -1;
300
- }
301
- }
302
- return {
303
- x: x2,
304
- y,
305
- placement: statefulPlacement,
306
- strategy,
307
- middlewareData
308
- };
309
- };
310
- async function detectOverflow(state, options) {
311
- var _await$platform$isEle;
312
- if (options === void 0) {
313
- options = {};
314
- }
315
- const {
316
- x: x2,
317
- y,
318
- platform: platform2,
319
- rects,
320
- elements,
321
- strategy
322
- } = state;
323
- const {
324
- boundary = "clippingAncestors",
325
- rootBoundary = "viewport",
326
- elementContext = "floating",
327
- altBoundary = false,
328
- padding = 0
329
- } = evaluate(options, state);
330
- const paddingObject = getPaddingObject(padding);
331
- const altContext = elementContext === "floating" ? "reference" : "floating";
332
- const element = elements[altBoundary ? altContext : elementContext];
333
- const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
334
- element: ((_await$platform$isEle = await (platform2.isElement == null ? void 0 : platform2.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform2.getDocumentElement == null ? void 0 : platform2.getDocumentElement(elements.floating)),
335
- boundary,
336
- rootBoundary,
337
- strategy
338
- }));
339
- const rect = elementContext === "floating" ? {
340
- x: x2,
341
- y,
342
- width: rects.floating.width,
343
- height: rects.floating.height
344
- } : rects.reference;
345
- const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
346
- const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
347
- x: 1,
348
- y: 1
349
- } : {
350
- x: 1,
351
- y: 1
352
- };
353
- const elementClientRect = rectToClientRect(platform2.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform2.convertOffsetParentRelativeRectToViewportRelativeRect({
354
- elements,
355
- rect,
356
- offsetParent,
357
- strategy
358
- }) : rect);
359
- return {
360
- top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
361
- bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
362
- left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
363
- right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
364
- };
365
- }
366
- var arrow = (options) => ({
367
- name: "arrow",
368
- options,
369
- async fn(state) {
370
- const {
371
- x: x2,
372
- y,
373
- placement,
374
- rects,
375
- platform: platform2,
376
- elements,
377
- middlewareData
378
- } = state;
379
- const {
380
- element,
381
- padding = 0
382
- } = evaluate(options, state) || {};
383
- if (element == null) {
384
- return {};
385
- }
386
- const paddingObject = getPaddingObject(padding);
387
- const coords = {
388
- x: x2,
389
- y
390
- };
391
- const axis = getAlignmentAxis(placement);
392
- const length = getAxisLength(axis);
393
- const arrowDimensions = await platform2.getDimensions(element);
394
- const isYAxis = axis === "y";
395
- const minProp = isYAxis ? "top" : "left";
396
- const maxProp = isYAxis ? "bottom" : "right";
397
- const clientProp = isYAxis ? "clientHeight" : "clientWidth";
398
- const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
399
- const startDiff = coords[axis] - rects.reference[axis];
400
- const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
401
- let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
402
- if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
403
- clientSize = elements.floating[clientProp] || rects.floating[length];
404
- }
405
- const centerToReference = endDiff / 2 - startDiff / 2;
406
- const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
407
- const minPadding = min(paddingObject[minProp], largestPossiblePadding);
408
- const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
409
- const min$1 = minPadding;
410
- const max2 = clientSize - arrowDimensions[length] - maxPadding;
411
- const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
412
- const offset3 = clamp(min$1, center, max2);
413
- const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset3 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
414
- const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max2 : 0;
415
- return {
416
- [axis]: coords[axis] + alignmentOffset,
417
- data: __spreadValues({
418
- [axis]: offset3,
419
- centerOffset: center - offset3 - alignmentOffset
420
- }, shouldAddOffset && {
421
- alignmentOffset
422
- }),
423
- reset: shouldAddOffset
424
- };
425
- }
426
- });
427
- var flip = function(options) {
428
- if (options === void 0) {
429
- options = {};
430
- }
431
- return {
432
- name: "flip",
433
- options,
434
- async fn(state) {
435
- var _middlewareData$arrow, _middlewareData$flip;
436
- const {
437
- placement,
438
- middlewareData,
439
- rects,
440
- initialPlacement,
441
- platform: platform2,
442
- elements
443
- } = state;
444
- const _a = evaluate(options, state), {
445
- mainAxis: checkMainAxis = true,
446
- crossAxis: checkCrossAxis = true,
447
- fallbackPlacements: specifiedFallbackPlacements,
448
- fallbackStrategy = "bestFit",
449
- fallbackAxisSideDirection = "none",
450
- flipAlignment = true
451
- } = _a, detectOverflowOptions = __objRest(_a, [
452
- "mainAxis",
453
- "crossAxis",
454
- "fallbackPlacements",
455
- "fallbackStrategy",
456
- "fallbackAxisSideDirection",
457
- "flipAlignment"
458
- ]);
459
- if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
460
- return {};
461
- }
462
- const side = getSide(placement);
463
- const initialSideAxis = getSideAxis(initialPlacement);
464
- const isBasePlacement = getSide(initialPlacement) === initialPlacement;
465
- const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
466
- const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
467
- const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
468
- if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
469
- fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
470
- }
471
- const placements2 = [initialPlacement, ...fallbackPlacements];
472
- const overflow = await detectOverflow(state, detectOverflowOptions);
473
- const overflows = [];
474
- let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
475
- if (checkMainAxis) {
476
- overflows.push(overflow[side]);
477
- }
478
- if (checkCrossAxis) {
479
- const sides2 = getAlignmentSides(placement, rects, rtl);
480
- overflows.push(overflow[sides2[0]], overflow[sides2[1]]);
481
- }
482
- overflowsData = [...overflowsData, {
483
- placement,
484
- overflows
485
- }];
486
- if (!overflows.every((side2) => side2 <= 0)) {
487
- var _middlewareData$flip2, _overflowsData$filter;
488
- const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
489
- const nextPlacement = placements2[nextIndex];
490
- if (nextPlacement) {
491
- const ignoreCrossAxisOverflow = checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : false;
492
- if (!ignoreCrossAxisOverflow || // We leave the current main axis only if every placement on that axis
493
- // overflows the main axis.
494
- overflowsData.every((d) => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
495
- return {
496
- data: {
497
- index: nextIndex,
498
- overflows: overflowsData
499
- },
500
- reset: {
501
- placement: nextPlacement
502
- }
503
- };
504
- }
505
- }
506
- let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
507
- if (!resetPlacement) {
508
- switch (fallbackStrategy) {
509
- case "bestFit": {
510
- var _overflowsData$filter2;
511
- const placement2 = (_overflowsData$filter2 = overflowsData.filter((d) => {
512
- if (hasFallbackAxisSideDirection) {
513
- const currentSideAxis = getSideAxis(d.placement);
514
- return currentSideAxis === initialSideAxis || // Create a bias to the `y` side axis due to horizontal
515
- // reading directions favoring greater width.
516
- currentSideAxis === "y";
517
- }
518
- return true;
519
- }).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
520
- if (placement2) {
521
- resetPlacement = placement2;
522
- }
523
- break;
524
- }
525
- case "initialPlacement":
526
- resetPlacement = initialPlacement;
527
- break;
528
- }
529
- }
530
- if (placement !== resetPlacement) {
531
- return {
532
- reset: {
533
- placement: resetPlacement
534
- }
535
- };
536
- }
537
- }
538
- return {};
539
- }
540
- };
541
- };
542
- var originSides = /* @__PURE__ */ new Set(["left", "top"]);
543
- async function convertValueToCoords(state, options) {
544
- const {
545
- placement,
546
- platform: platform2,
547
- elements
548
- } = state;
549
- const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
550
- const side = getSide(placement);
551
- const alignment = getAlignment(placement);
552
- const isVertical = getSideAxis(placement) === "y";
553
- const mainAxisMulti = originSides.has(side) ? -1 : 1;
554
- const crossAxisMulti = rtl && isVertical ? -1 : 1;
555
- const rawValue = evaluate(options, state);
556
- let {
557
- mainAxis,
558
- crossAxis,
559
- alignmentAxis
560
- } = typeof rawValue === "number" ? {
561
- mainAxis: rawValue,
562
- crossAxis: 0,
563
- alignmentAxis: null
564
- } : {
565
- mainAxis: rawValue.mainAxis || 0,
566
- crossAxis: rawValue.crossAxis || 0,
567
- alignmentAxis: rawValue.alignmentAxis
568
- };
569
- if (alignment && typeof alignmentAxis === "number") {
570
- crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
571
- }
572
- return isVertical ? {
573
- x: crossAxis * crossAxisMulti,
574
- y: mainAxis * mainAxisMulti
575
- } : {
576
- x: mainAxis * mainAxisMulti,
577
- y: crossAxis * crossAxisMulti
578
- };
579
- }
580
- var offset = function(options) {
581
- if (options === void 0) {
582
- options = 0;
583
- }
584
- return {
585
- name: "offset",
586
- options,
587
- async fn(state) {
588
- var _middlewareData$offse, _middlewareData$arrow;
589
- const {
590
- x: x2,
591
- y,
592
- placement,
593
- middlewareData
594
- } = state;
595
- const diffCoords = await convertValueToCoords(state, options);
596
- if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
597
- return {};
598
- }
599
- return {
600
- x: x2 + diffCoords.x,
601
- y: y + diffCoords.y,
602
- data: __spreadProps(__spreadValues({}, diffCoords), {
603
- placement
604
- })
605
- };
606
- }
607
- };
608
- };
609
- var shift = function(options) {
610
- if (options === void 0) {
611
- options = {};
612
- }
613
- return {
614
- name: "shift",
615
- options,
616
- async fn(state) {
617
- const {
618
- x: x2,
619
- y,
620
- placement
621
- } = state;
622
- const _a = evaluate(options, state), {
623
- mainAxis: checkMainAxis = true,
624
- crossAxis: checkCrossAxis = false,
625
- limiter = {
626
- fn: (_ref) => {
627
- let {
628
- x: x3,
629
- y: y2
630
- } = _ref;
631
- return {
632
- x: x3,
633
- y: y2
634
- };
635
- }
636
- }
637
- } = _a, detectOverflowOptions = __objRest(_a, [
638
- "mainAxis",
639
- "crossAxis",
640
- "limiter"
641
- ]);
642
- const coords = {
643
- x: x2,
644
- y
645
- };
646
- const overflow = await detectOverflow(state, detectOverflowOptions);
647
- const crossAxis = getSideAxis(getSide(placement));
648
- const mainAxis = getOppositeAxis(crossAxis);
649
- let mainAxisCoord = coords[mainAxis];
650
- let crossAxisCoord = coords[crossAxis];
651
- if (checkMainAxis) {
652
- const minSide = mainAxis === "y" ? "top" : "left";
653
- const maxSide = mainAxis === "y" ? "bottom" : "right";
654
- const min2 = mainAxisCoord + overflow[minSide];
655
- const max2 = mainAxisCoord - overflow[maxSide];
656
- mainAxisCoord = clamp(min2, mainAxisCoord, max2);
657
- }
658
- if (checkCrossAxis) {
659
- const minSide = crossAxis === "y" ? "top" : "left";
660
- const maxSide = crossAxis === "y" ? "bottom" : "right";
661
- const min2 = crossAxisCoord + overflow[minSide];
662
- const max2 = crossAxisCoord - overflow[maxSide];
663
- crossAxisCoord = clamp(min2, crossAxisCoord, max2);
664
- }
665
- const limitedCoords = limiter.fn(__spreadProps(__spreadValues({}, state), {
666
- [mainAxis]: mainAxisCoord,
667
- [crossAxis]: crossAxisCoord
668
- }));
669
- return __spreadProps(__spreadValues({}, limitedCoords), {
670
- data: {
671
- x: limitedCoords.x - x2,
672
- y: limitedCoords.y - y,
673
- enabled: {
674
- [mainAxis]: checkMainAxis,
675
- [crossAxis]: checkCrossAxis
676
- }
677
- }
678
- });
679
- }
680
- };
681
- };
682
- var size = function(options) {
683
- if (options === void 0) {
684
- options = {};
685
- }
686
- return {
687
- name: "size",
688
- options,
689
- async fn(state) {
690
- var _state$middlewareData, _state$middlewareData2;
691
- const {
692
- placement,
693
- rects,
694
- platform: platform2,
695
- elements
696
- } = state;
697
- const _a = evaluate(options, state), {
698
- apply = () => {
699
- }
700
- } = _a, detectOverflowOptions = __objRest(_a, [
701
- "apply"
702
- ]);
703
- const overflow = await detectOverflow(state, detectOverflowOptions);
704
- const side = getSide(placement);
705
- const alignment = getAlignment(placement);
706
- const isYAxis = getSideAxis(placement) === "y";
707
- const {
708
- width,
709
- height
710
- } = rects.floating;
711
- let heightSide;
712
- let widthSide;
713
- if (side === "top" || side === "bottom") {
714
- heightSide = side;
715
- widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
716
- } else {
717
- widthSide = side;
718
- heightSide = alignment === "end" ? "top" : "bottom";
719
- }
720
- const maximumClippingHeight = height - overflow.top - overflow.bottom;
721
- const maximumClippingWidth = width - overflow.left - overflow.right;
722
- const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
723
- const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
724
- const noShift = !state.middlewareData.shift;
725
- let availableHeight = overflowAvailableHeight;
726
- let availableWidth = overflowAvailableWidth;
727
- if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
728
- availableWidth = maximumClippingWidth;
729
- }
730
- if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
731
- availableHeight = maximumClippingHeight;
732
- }
733
- if (noShift && !alignment) {
734
- const xMin = max(overflow.left, 0);
735
- const xMax = max(overflow.right, 0);
736
- const yMin = max(overflow.top, 0);
737
- const yMax = max(overflow.bottom, 0);
738
- if (isYAxis) {
739
- availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
740
- } else {
741
- availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
742
- }
743
- }
744
- await apply(__spreadProps(__spreadValues({}, state), {
745
- availableWidth,
746
- availableHeight
747
- }));
748
- const nextDimensions = await platform2.getDimensions(elements.floating);
749
- if (width !== nextDimensions.width || height !== nextDimensions.height) {
750
- return {
751
- reset: {
752
- rects: true
753
- }
754
- };
755
- }
756
- return {};
757
- }
758
- };
759
- };
760
-
761
- // node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
762
- init_dirname();
763
- init_buffer();
764
- init_process();
765
- function hasWindow() {
766
- return typeof window !== "undefined";
767
- }
768
- function getNodeName(node) {
769
- if (isNode(node)) {
770
- return (node.nodeName || "").toLowerCase();
771
- }
772
- return "#document";
773
- }
774
- function getWindow(node) {
775
- var _node$ownerDocument;
776
- return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
777
- }
778
- function getDocumentElement(node) {
779
- var _ref;
780
- return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
781
- }
782
- function isNode(value) {
783
- if (!hasWindow()) {
784
- return false;
785
- }
786
- return value instanceof Node || value instanceof getWindow(value).Node;
787
- }
788
- function isElement(value) {
789
- if (!hasWindow()) {
790
- return false;
791
- }
792
- return value instanceof Element || value instanceof getWindow(value).Element;
793
- }
794
- function isHTMLElement(value) {
795
- if (!hasWindow()) {
796
- return false;
797
- }
798
- return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
799
- }
800
- function isShadowRoot(value) {
801
- if (!hasWindow() || typeof ShadowRoot === "undefined") {
802
- return false;
803
- }
804
- return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
805
- }
806
- var invalidOverflowDisplayValues = /* @__PURE__ */ new Set(["inline", "contents"]);
807
- function isOverflowElement(element) {
808
- const {
809
- overflow,
810
- overflowX,
811
- overflowY,
812
- display
813
- } = getComputedStyle2(element);
814
- return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
815
- }
816
- var tableElements = /* @__PURE__ */ new Set(["table", "td", "th"]);
817
- function isTableElement(element) {
818
- return tableElements.has(getNodeName(element));
819
- }
820
- var topLayerSelectors = [":popover-open", ":modal"];
821
- function isTopLayer(element) {
822
- return topLayerSelectors.some((selector) => {
823
- try {
824
- return element.matches(selector);
825
- } catch (_e) {
826
- return false;
827
- }
828
- });
829
- }
830
- var transformProperties = ["transform", "translate", "scale", "rotate", "perspective"];
831
- var willChangeValues = ["transform", "translate", "scale", "rotate", "perspective", "filter"];
832
- var containValues = ["paint", "layout", "strict", "content"];
833
- function isContainingBlock(elementOrCss) {
834
- const webkit = isWebKit();
835
- const css = isElement(elementOrCss) ? getComputedStyle2(elementOrCss) : elementOrCss;
836
- return transformProperties.some((value) => css[value] ? css[value] !== "none" : false) || (css.containerType ? css.containerType !== "normal" : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== "none" : false) || !webkit && (css.filter ? css.filter !== "none" : false) || willChangeValues.some((value) => (css.willChange || "").includes(value)) || containValues.some((value) => (css.contain || "").includes(value));
837
- }
838
- function getContainingBlock(element) {
839
- let currentNode = getParentNode(element);
840
- while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
841
- if (isContainingBlock(currentNode)) {
842
- return currentNode;
843
- } else if (isTopLayer(currentNode)) {
844
- return null;
845
- }
846
- currentNode = getParentNode(currentNode);
847
- }
848
- return null;
849
- }
850
- function isWebKit() {
851
- if (typeof CSS === "undefined" || !CSS.supports)
852
- return false;
853
- return CSS.supports("-webkit-backdrop-filter", "none");
854
- }
855
- var lastTraversableNodeNames = /* @__PURE__ */ new Set(["html", "body", "#document"]);
856
- function isLastTraversableNode(node) {
857
- return lastTraversableNodeNames.has(getNodeName(node));
858
- }
859
- function getComputedStyle2(element) {
860
- return getWindow(element).getComputedStyle(element);
861
- }
862
- function getNodeScroll(element) {
863
- if (isElement(element)) {
864
- return {
865
- scrollLeft: element.scrollLeft,
866
- scrollTop: element.scrollTop
867
- };
868
- }
869
- return {
870
- scrollLeft: element.scrollX,
871
- scrollTop: element.scrollY
872
- };
873
- }
874
- function getParentNode(node) {
875
- if (getNodeName(node) === "html") {
876
- return node;
877
- }
878
- const result = (
879
- // Step into the shadow DOM of the parent of a slotted node.
880
- node.assignedSlot || // DOM Element detected.
881
- node.parentNode || // ShadowRoot detected.
882
- isShadowRoot(node) && node.host || // Fallback.
883
- getDocumentElement(node)
884
- );
885
- return isShadowRoot(result) ? result.host : result;
886
- }
887
- function getNearestOverflowAncestor(node) {
888
- const parentNode = getParentNode(node);
889
- if (isLastTraversableNode(parentNode)) {
890
- return node.ownerDocument ? node.ownerDocument.body : node.body;
891
- }
892
- if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
893
- return parentNode;
894
- }
895
- return getNearestOverflowAncestor(parentNode);
896
- }
897
- function getOverflowAncestors(node, list, traverseIframes) {
898
- var _node$ownerDocument2;
899
- if (list === void 0) {
900
- list = [];
901
- }
902
- if (traverseIframes === void 0) {
903
- traverseIframes = true;
904
- }
905
- const scrollableAncestor = getNearestOverflowAncestor(node);
906
- const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
907
- const win = getWindow(scrollableAncestor);
908
- if (isBody) {
909
- const frameElement = getFrameElement(win);
910
- return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
911
- }
912
- return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
913
- }
914
- function getFrameElement(win) {
915
- return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
916
- }
917
-
918
- // node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
919
- function getCssDimensions(element) {
920
- const css = getComputedStyle2(element);
921
- let width = parseFloat(css.width) || 0;
922
- let height = parseFloat(css.height) || 0;
923
- const hasOffset = isHTMLElement(element);
924
- const offsetWidth = hasOffset ? element.offsetWidth : width;
925
- const offsetHeight = hasOffset ? element.offsetHeight : height;
926
- const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
927
- if (shouldFallback) {
928
- width = offsetWidth;
929
- height = offsetHeight;
930
- }
931
- return {
932
- width,
933
- height,
934
- $: shouldFallback
935
- };
936
- }
937
- function unwrapElement(element) {
938
- return !isElement(element) ? element.contextElement : element;
939
- }
940
- function getScale(element) {
941
- const domElement = unwrapElement(element);
942
- if (!isHTMLElement(domElement)) {
943
- return createCoords(1);
944
- }
945
- const rect = domElement.getBoundingClientRect();
946
- const {
947
- width,
948
- height,
949
- $
950
- } = getCssDimensions(domElement);
951
- let x2 = ($ ? round(rect.width) : rect.width) / width;
952
- let y = ($ ? round(rect.height) : rect.height) / height;
953
- if (!x2 || !Number.isFinite(x2)) {
954
- x2 = 1;
955
- }
956
- if (!y || !Number.isFinite(y)) {
957
- y = 1;
958
- }
959
- return {
960
- x: x2,
961
- y
962
- };
963
- }
964
- var noOffsets = /* @__PURE__ */ createCoords(0);
965
- function getVisualOffsets(element) {
966
- const win = getWindow(element);
967
- if (!isWebKit() || !win.visualViewport) {
968
- return noOffsets;
969
- }
970
- return {
971
- x: win.visualViewport.offsetLeft,
972
- y: win.visualViewport.offsetTop
973
- };
974
- }
975
- function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
976
- if (isFixed === void 0) {
977
- isFixed = false;
978
- }
979
- if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
980
- return false;
981
- }
982
- return isFixed;
983
- }
984
- function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
985
- if (includeScale === void 0) {
986
- includeScale = false;
987
- }
988
- if (isFixedStrategy === void 0) {
989
- isFixedStrategy = false;
990
- }
991
- const clientRect = element.getBoundingClientRect();
992
- const domElement = unwrapElement(element);
993
- let scale = createCoords(1);
994
- if (includeScale) {
995
- if (offsetParent) {
996
- if (isElement(offsetParent)) {
997
- scale = getScale(offsetParent);
998
- }
999
- } else {
1000
- scale = getScale(element);
1001
- }
1002
- }
1003
- const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
1004
- let x2 = (clientRect.left + visualOffsets.x) / scale.x;
1005
- let y = (clientRect.top + visualOffsets.y) / scale.y;
1006
- let width = clientRect.width / scale.x;
1007
- let height = clientRect.height / scale.y;
1008
- if (domElement) {
1009
- const win = getWindow(domElement);
1010
- const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
1011
- let currentWin = win;
1012
- let currentIFrame = getFrameElement(currentWin);
1013
- while (currentIFrame && offsetParent && offsetWin !== currentWin) {
1014
- const iframeScale = getScale(currentIFrame);
1015
- const iframeRect = currentIFrame.getBoundingClientRect();
1016
- const css = getComputedStyle2(currentIFrame);
1017
- const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
1018
- const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
1019
- x2 *= iframeScale.x;
1020
- y *= iframeScale.y;
1021
- width *= iframeScale.x;
1022
- height *= iframeScale.y;
1023
- x2 += left;
1024
- y += top;
1025
- currentWin = getWindow(currentIFrame);
1026
- currentIFrame = getFrameElement(currentWin);
1027
- }
1028
- }
1029
- return rectToClientRect({
1030
- width,
1031
- height,
1032
- x: x2,
1033
- y
1034
- });
1035
- }
1036
- function getWindowScrollBarX(element, rect) {
1037
- const leftScroll = getNodeScroll(element).scrollLeft;
1038
- if (!rect) {
1039
- return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
1040
- }
1041
- return rect.left + leftScroll;
1042
- }
1043
- function getHTMLOffset(documentElement, scroll) {
1044
- const htmlRect = documentElement.getBoundingClientRect();
1045
- const x2 = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
1046
- const y = htmlRect.top + scroll.scrollTop;
1047
- return {
1048
- x: x2,
1049
- y
1050
- };
1051
- }
1052
- function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
1053
- let {
1054
- elements,
1055
- rect,
1056
- offsetParent,
1057
- strategy
1058
- } = _ref;
1059
- const isFixed = strategy === "fixed";
1060
- const documentElement = getDocumentElement(offsetParent);
1061
- const topLayer = elements ? isTopLayer(elements.floating) : false;
1062
- if (offsetParent === documentElement || topLayer && isFixed) {
1063
- return rect;
1064
- }
1065
- let scroll = {
1066
- scrollLeft: 0,
1067
- scrollTop: 0
1068
- };
1069
- let scale = createCoords(1);
1070
- const offsets = createCoords(0);
1071
- const isOffsetParentAnElement = isHTMLElement(offsetParent);
1072
- if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1073
- if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
1074
- scroll = getNodeScroll(offsetParent);
1075
- }
1076
- if (isHTMLElement(offsetParent)) {
1077
- const offsetRect = getBoundingClientRect(offsetParent);
1078
- scale = getScale(offsetParent);
1079
- offsets.x = offsetRect.x + offsetParent.clientLeft;
1080
- offsets.y = offsetRect.y + offsetParent.clientTop;
1081
- }
1082
- }
1083
- const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1084
- return {
1085
- width: rect.width * scale.x,
1086
- height: rect.height * scale.y,
1087
- x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
1088
- y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
1089
- };
1090
- }
1091
- function getClientRects(element) {
1092
- return Array.from(element.getClientRects());
1093
- }
1094
- function getDocumentRect(element) {
1095
- const html = getDocumentElement(element);
1096
- const scroll = getNodeScroll(element);
1097
- const body = element.ownerDocument.body;
1098
- const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
1099
- const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
1100
- let x2 = -scroll.scrollLeft + getWindowScrollBarX(element);
1101
- const y = -scroll.scrollTop;
1102
- if (getComputedStyle2(body).direction === "rtl") {
1103
- x2 += max(html.clientWidth, body.clientWidth) - width;
1104
- }
1105
- return {
1106
- width,
1107
- height,
1108
- x: x2,
1109
- y
1110
- };
1111
- }
1112
- var SCROLLBAR_MAX = 25;
1113
- function getViewportRect(element, strategy) {
1114
- const win = getWindow(element);
1115
- const html = getDocumentElement(element);
1116
- const visualViewport = win.visualViewport;
1117
- let width = html.clientWidth;
1118
- let height = html.clientHeight;
1119
- let x2 = 0;
1120
- let y = 0;
1121
- if (visualViewport) {
1122
- width = visualViewport.width;
1123
- height = visualViewport.height;
1124
- const visualViewportBased = isWebKit();
1125
- if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
1126
- x2 = visualViewport.offsetLeft;
1127
- y = visualViewport.offsetTop;
1128
- }
1129
- }
1130
- const windowScrollbarX = getWindowScrollBarX(html);
1131
- if (windowScrollbarX <= 0) {
1132
- const doc = html.ownerDocument;
1133
- const body = doc.body;
1134
- const bodyStyles = getComputedStyle(body);
1135
- const bodyMarginInline = doc.compatMode === "CSS1Compat" ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
1136
- const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
1137
- if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {
1138
- width -= clippingStableScrollbarWidth;
1139
- }
1140
- } else if (windowScrollbarX <= SCROLLBAR_MAX) {
1141
- width += windowScrollbarX;
1142
- }
1143
- return {
1144
- width,
1145
- height,
1146
- x: x2,
1147
- y
1148
- };
1149
- }
1150
- var absoluteOrFixed = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1151
- function getInnerBoundingClientRect(element, strategy) {
1152
- const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
1153
- const top = clientRect.top + element.clientTop;
1154
- const left = clientRect.left + element.clientLeft;
1155
- const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
1156
- const width = element.clientWidth * scale.x;
1157
- const height = element.clientHeight * scale.y;
1158
- const x2 = left * scale.x;
1159
- const y = top * scale.y;
1160
- return {
1161
- width,
1162
- height,
1163
- x: x2,
1164
- y
1165
- };
1166
- }
1167
- function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
1168
- let rect;
1169
- if (clippingAncestor === "viewport") {
1170
- rect = getViewportRect(element, strategy);
1171
- } else if (clippingAncestor === "document") {
1172
- rect = getDocumentRect(getDocumentElement(element));
1173
- } else if (isElement(clippingAncestor)) {
1174
- rect = getInnerBoundingClientRect(clippingAncestor, strategy);
1175
- } else {
1176
- const visualOffsets = getVisualOffsets(element);
1177
- rect = {
1178
- x: clippingAncestor.x - visualOffsets.x,
1179
- y: clippingAncestor.y - visualOffsets.y,
1180
- width: clippingAncestor.width,
1181
- height: clippingAncestor.height
1182
- };
1183
- }
1184
- return rectToClientRect(rect);
1185
- }
1186
- function hasFixedPositionAncestor(element, stopNode) {
1187
- const parentNode = getParentNode(element);
1188
- if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
1189
- return false;
1190
- }
1191
- return getComputedStyle2(parentNode).position === "fixed" || hasFixedPositionAncestor(parentNode, stopNode);
1192
- }
1193
- function getClippingElementAncestors(element, cache) {
1194
- const cachedResult = cache.get(element);
1195
- if (cachedResult) {
1196
- return cachedResult;
1197
- }
1198
- let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== "body");
1199
- let currentContainingBlockComputedStyle = null;
1200
- const elementIsFixed = getComputedStyle2(element).position === "fixed";
1201
- let currentNode = elementIsFixed ? getParentNode(element) : element;
1202
- while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
1203
- const computedStyle = getComputedStyle2(currentNode);
1204
- const currentNodeIsContaining = isContainingBlock(currentNode);
1205
- if (!currentNodeIsContaining && computedStyle.position === "fixed") {
1206
- currentContainingBlockComputedStyle = null;
1207
- }
1208
- const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
1209
- if (shouldDropCurrentNode) {
1210
- result = result.filter((ancestor) => ancestor !== currentNode);
1211
- } else {
1212
- currentContainingBlockComputedStyle = computedStyle;
1213
- }
1214
- currentNode = getParentNode(currentNode);
1215
- }
1216
- cache.set(element, result);
1217
- return result;
1218
- }
1219
- function getClippingRect(_ref) {
1220
- let {
1221
- element,
1222
- boundary,
1223
- rootBoundary,
1224
- strategy
1225
- } = _ref;
1226
- const elementClippingAncestors = boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
1227
- const clippingAncestors = [...elementClippingAncestors, rootBoundary];
1228
- const firstClippingAncestor = clippingAncestors[0];
1229
- const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
1230
- const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
1231
- accRect.top = max(rect.top, accRect.top);
1232
- accRect.right = min(rect.right, accRect.right);
1233
- accRect.bottom = min(rect.bottom, accRect.bottom);
1234
- accRect.left = max(rect.left, accRect.left);
1235
- return accRect;
1236
- }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
1237
- return {
1238
- width: clippingRect.right - clippingRect.left,
1239
- height: clippingRect.bottom - clippingRect.top,
1240
- x: clippingRect.left,
1241
- y: clippingRect.top
1242
- };
1243
- }
1244
- function getDimensions(element) {
1245
- const {
1246
- width,
1247
- height
1248
- } = getCssDimensions(element);
1249
- return {
1250
- width,
1251
- height
1252
- };
1253
- }
1254
- function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
1255
- const isOffsetParentAnElement = isHTMLElement(offsetParent);
1256
- const documentElement = getDocumentElement(offsetParent);
1257
- const isFixed = strategy === "fixed";
1258
- const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
1259
- let scroll = {
1260
- scrollLeft: 0,
1261
- scrollTop: 0
1262
- };
1263
- const offsets = createCoords(0);
1264
- function setLeftRTLScrollbarOffset() {
1265
- offsets.x = getWindowScrollBarX(documentElement);
1266
- }
1267
- if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1268
- if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
1269
- scroll = getNodeScroll(offsetParent);
1270
- }
1271
- if (isOffsetParentAnElement) {
1272
- const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
1273
- offsets.x = offsetRect.x + offsetParent.clientLeft;
1274
- offsets.y = offsetRect.y + offsetParent.clientTop;
1275
- } else if (documentElement) {
1276
- setLeftRTLScrollbarOffset();
1277
- }
1278
- }
1279
- if (isFixed && !isOffsetParentAnElement && documentElement) {
1280
- setLeftRTLScrollbarOffset();
1281
- }
1282
- const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1283
- const x2 = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
1284
- const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
1285
- return {
1286
- x: x2,
1287
- y,
1288
- width: rect.width,
1289
- height: rect.height
1290
- };
1291
- }
1292
- function isStaticPositioned(element) {
1293
- return getComputedStyle2(element).position === "static";
1294
- }
1295
- function getTrueOffsetParent(element, polyfill) {
1296
- if (!isHTMLElement(element) || getComputedStyle2(element).position === "fixed") {
1297
- return null;
1298
- }
1299
- if (polyfill) {
1300
- return polyfill(element);
1301
- }
1302
- let rawOffsetParent = element.offsetParent;
1303
- if (getDocumentElement(element) === rawOffsetParent) {
1304
- rawOffsetParent = rawOffsetParent.ownerDocument.body;
1305
- }
1306
- return rawOffsetParent;
1307
- }
1308
- function getOffsetParent(element, polyfill) {
1309
- const win = getWindow(element);
1310
- if (isTopLayer(element)) {
1311
- return win;
1312
- }
1313
- if (!isHTMLElement(element)) {
1314
- let svgOffsetParent = getParentNode(element);
1315
- while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
1316
- if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
1317
- return svgOffsetParent;
1318
- }
1319
- svgOffsetParent = getParentNode(svgOffsetParent);
1320
- }
1321
- return win;
1322
- }
1323
- let offsetParent = getTrueOffsetParent(element, polyfill);
1324
- while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
1325
- offsetParent = getTrueOffsetParent(offsetParent, polyfill);
1326
- }
1327
- if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
1328
- return win;
1329
- }
1330
- return offsetParent || getContainingBlock(element) || win;
1331
- }
1332
- var getElementRects = async function(data) {
1333
- const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
1334
- const getDimensionsFn = this.getDimensions;
1335
- const floatingDimensions = await getDimensionsFn(data.floating);
1336
- return {
1337
- reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
1338
- floating: {
1339
- x: 0,
1340
- y: 0,
1341
- width: floatingDimensions.width,
1342
- height: floatingDimensions.height
1343
- }
1344
- };
1345
- };
1346
- function isRTL(element) {
1347
- return getComputedStyle2(element).direction === "rtl";
1348
- }
1349
- var platform = {
1350
- convertOffsetParentRelativeRectToViewportRelativeRect,
1351
- getDocumentElement,
1352
- getClippingRect,
1353
- getOffsetParent,
1354
- getElementRects,
1355
- getClientRects,
1356
- getDimensions,
1357
- getScale,
1358
- isElement,
1359
- isRTL
1360
- };
1361
- function rectsAreEqual(a, b) {
1362
- return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
1363
- }
1364
- function observeMove(element, onMove) {
1365
- let io = null;
1366
- let timeoutId;
1367
- const root = getDocumentElement(element);
1368
- function cleanup() {
1369
- var _io;
1370
- clearTimeout(timeoutId);
1371
- (_io = io) == null || _io.disconnect();
1372
- io = null;
1373
- }
1374
- function refresh(skip, threshold) {
1375
- if (skip === void 0) {
1376
- skip = false;
1377
- }
1378
- if (threshold === void 0) {
1379
- threshold = 1;
1380
- }
1381
- cleanup();
1382
- const elementRectForRootMargin = element.getBoundingClientRect();
1383
- const {
1384
- left,
1385
- top,
1386
- width,
1387
- height
1388
- } = elementRectForRootMargin;
1389
- if (!skip) {
1390
- onMove();
1391
- }
1392
- if (!width || !height) {
1393
- return;
1394
- }
1395
- const insetTop = floor(top);
1396
- const insetRight = floor(root.clientWidth - (left + width));
1397
- const insetBottom = floor(root.clientHeight - (top + height));
1398
- const insetLeft = floor(left);
1399
- const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
1400
- const options = {
1401
- rootMargin,
1402
- threshold: max(0, min(1, threshold)) || 1
1403
- };
1404
- let isFirstUpdate = true;
1405
- function handleObserve(entries) {
1406
- const ratio = entries[0].intersectionRatio;
1407
- if (ratio !== threshold) {
1408
- if (!isFirstUpdate) {
1409
- return refresh();
1410
- }
1411
- if (!ratio) {
1412
- timeoutId = setTimeout(() => {
1413
- refresh(false, 1e-7);
1414
- }, 1e3);
1415
- } else {
1416
- refresh(false, ratio);
1417
- }
1418
- }
1419
- if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
1420
- refresh();
1421
- }
1422
- isFirstUpdate = false;
1423
- }
1424
- try {
1425
- io = new IntersectionObserver(handleObserve, __spreadProps(__spreadValues({}, options), {
1426
- // Handle <iframe>s
1427
- root: root.ownerDocument
1428
- }));
1429
- } catch (_e) {
1430
- io = new IntersectionObserver(handleObserve, options);
1431
- }
1432
- io.observe(element);
1433
- }
1434
- refresh(true);
1435
- return cleanup;
1436
- }
1437
- function autoUpdate(reference, floating, update, options) {
1438
- if (options === void 0) {
1439
- options = {};
1440
- }
1441
- const {
1442
- ancestorScroll = true,
1443
- ancestorResize = true,
1444
- elementResize = typeof ResizeObserver === "function",
1445
- layoutShift = typeof IntersectionObserver === "function",
1446
- animationFrame = false
1447
- } = options;
1448
- const referenceEl = unwrapElement(reference);
1449
- const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...getOverflowAncestors(floating)] : [];
1450
- ancestors.forEach((ancestor) => {
1451
- ancestorScroll && ancestor.addEventListener("scroll", update, {
1452
- passive: true
1453
- });
1454
- ancestorResize && ancestor.addEventListener("resize", update);
1455
- });
1456
- const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
1457
- let reobserveFrame = -1;
1458
- let resizeObserver = null;
1459
- if (elementResize) {
1460
- resizeObserver = new ResizeObserver((_ref) => {
1461
- let [firstEntry] = _ref;
1462
- if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
1463
- resizeObserver.unobserve(floating);
1464
- cancelAnimationFrame(reobserveFrame);
1465
- reobserveFrame = requestAnimationFrame(() => {
1466
- var _resizeObserver;
1467
- (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
1468
- });
1469
- }
1470
- update();
1471
- });
1472
- if (referenceEl && !animationFrame) {
1473
- resizeObserver.observe(referenceEl);
1474
- }
1475
- resizeObserver.observe(floating);
1476
- }
1477
- let frameId;
1478
- let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
1479
- if (animationFrame) {
1480
- frameLoop();
1481
- }
1482
- function frameLoop() {
1483
- const nextRefRect = getBoundingClientRect(reference);
1484
- if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
1485
- update();
1486
- }
1487
- prevRefRect = nextRefRect;
1488
- frameId = requestAnimationFrame(frameLoop);
1489
- }
1490
- update();
1491
- return () => {
1492
- var _resizeObserver2;
1493
- ancestors.forEach((ancestor) => {
1494
- ancestorScroll && ancestor.removeEventListener("scroll", update);
1495
- ancestorResize && ancestor.removeEventListener("resize", update);
1496
- });
1497
- cleanupIo == null || cleanupIo();
1498
- (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
1499
- resizeObserver = null;
1500
- if (animationFrame) {
1501
- cancelAnimationFrame(frameId);
1502
- }
1503
- };
1504
- }
1505
- var offset2 = offset;
1506
- var shift2 = shift;
1507
- var flip2 = flip;
1508
- var size2 = size;
1509
- var arrow2 = arrow;
1510
- var computePosition2 = (reference, floating, options) => {
1511
- const cache = /* @__PURE__ */ new Map();
1512
- const mergedOptions = __spreadValues({
1513
- platform
1514
- }, options);
1515
- const platformWithCache = __spreadProps(__spreadValues({}, mergedOptions.platform), {
1516
- _c: cache
1517
- });
1518
- return computePosition(reference, floating, __spreadProps(__spreadValues({}, mergedOptions), {
1519
- platform: platformWithCache
1520
- }));
1521
- };
1522
-
1523
- // node_modules/composed-offset-position/dist/composed-offset-position.browser.min.mjs
1524
- init_dirname();
1525
- init_buffer();
1526
- init_process();
1527
- function e3(t) {
1528
- return i(t);
1529
- }
1530
- function r(t) {
1531
- return t.assignedSlot ? t.assignedSlot : t.parentNode instanceof ShadowRoot ? t.parentNode.host : t.parentNode;
1532
- }
1533
- function i(e4) {
1534
- for (let t = e4; t; t = r(t))
1535
- if (t instanceof Element && "none" === getComputedStyle(t).display)
1536
- return null;
1537
- for (let n2 = r(e4); n2; n2 = r(n2)) {
1538
- if (!(n2 instanceof Element))
1539
- continue;
1540
- const e5 = getComputedStyle(n2);
1541
- if ("contents" !== e5.display) {
1542
- if ("static" !== e5.position || isContainingBlock(e5))
1543
- return n2;
1544
- if ("BODY" === n2.tagName)
1545
- return n2;
1546
- }
1547
- }
1548
- return null;
1549
- }
1550
-
1551
- // src/components/popup/popup.component.ts
1552
- function isVirtualElement(e4) {
1553
- return e4 !== null && typeof e4 === "object" && "getBoundingClientRect" in e4 && ("contextElement" in e4 ? e4.contextElement instanceof Element : true);
1554
- }
1555
- var TerraPopup = class extends TerraElement {
1556
- constructor() {
1557
- super(...arguments);
1558
- this.active = false;
1559
- this.placement = "top";
1560
- this.strategy = "absolute";
1561
- this.distance = 0;
1562
- this.skidding = 0;
1563
- this.arrow = false;
1564
- this.arrowPlacement = "anchor";
1565
- this.arrowPadding = 10;
1566
- this.flip = false;
1567
- this.flipFallbackPlacements = "";
1568
- this.flipFallbackStrategy = "best-fit";
1569
- this.flipPadding = 0;
1570
- this.shift = false;
1571
- this.shiftPadding = 0;
1572
- this.autoSizePadding = 0;
1573
- this.hoverBridge = false;
1574
- this.updateHoverBridge = () => {
1575
- if (this.hoverBridge && this.anchorEl) {
1576
- const anchorRect = this.anchorEl.getBoundingClientRect();
1577
- const popupRect = this.popup.getBoundingClientRect();
1578
- const isVertical = this.placement.includes("top") || this.placement.includes("bottom");
1579
- let topLeftX = 0;
1580
- let topLeftY = 0;
1581
- let topRightX = 0;
1582
- let topRightY = 0;
1583
- let bottomLeftX = 0;
1584
- let bottomLeftY = 0;
1585
- let bottomRightX = 0;
1586
- let bottomRightY = 0;
1587
- if (isVertical) {
1588
- if (anchorRect.top < popupRect.top) {
1589
- topLeftX = anchorRect.left;
1590
- topLeftY = anchorRect.bottom;
1591
- topRightX = anchorRect.right;
1592
- topRightY = anchorRect.bottom;
1593
- bottomLeftX = popupRect.left;
1594
- bottomLeftY = popupRect.top;
1595
- bottomRightX = popupRect.right;
1596
- bottomRightY = popupRect.top;
1597
- } else {
1598
- topLeftX = popupRect.left;
1599
- topLeftY = popupRect.bottom;
1600
- topRightX = popupRect.right;
1601
- topRightY = popupRect.bottom;
1602
- bottomLeftX = anchorRect.left;
1603
- bottomLeftY = anchorRect.top;
1604
- bottomRightX = anchorRect.right;
1605
- bottomRightY = anchorRect.top;
1606
- }
1607
- } else {
1608
- if (anchorRect.left < popupRect.left) {
1609
- topLeftX = anchorRect.right;
1610
- topLeftY = anchorRect.top;
1611
- topRightX = popupRect.left;
1612
- topRightY = popupRect.top;
1613
- bottomLeftX = anchorRect.right;
1614
- bottomLeftY = anchorRect.bottom;
1615
- bottomRightX = popupRect.left;
1616
- bottomRightY = popupRect.bottom;
1617
- } else {
1618
- topLeftX = popupRect.right;
1619
- topLeftY = popupRect.top;
1620
- topRightX = anchorRect.left;
1621
- topRightY = anchorRect.top;
1622
- bottomLeftX = popupRect.right;
1623
- bottomLeftY = popupRect.bottom;
1624
- bottomRightX = anchorRect.left;
1625
- bottomRightY = anchorRect.bottom;
1626
- }
1627
- }
1628
- this.style.setProperty("--hover-bridge-top-left-x", `${topLeftX}px`);
1629
- this.style.setProperty("--hover-bridge-top-left-y", `${topLeftY}px`);
1630
- this.style.setProperty("--hover-bridge-top-right-x", `${topRightX}px`);
1631
- this.style.setProperty("--hover-bridge-top-right-y", `${topRightY}px`);
1632
- this.style.setProperty("--hover-bridge-bottom-left-x", `${bottomLeftX}px`);
1633
- this.style.setProperty("--hover-bridge-bottom-left-y", `${bottomLeftY}px`);
1634
- this.style.setProperty(
1635
- "--hover-bridge-bottom-right-x",
1636
- `${bottomRightX}px`
1637
- );
1638
- this.style.setProperty(
1639
- "--hover-bridge-bottom-right-y",
1640
- `${bottomRightY}px`
1641
- );
1642
- }
1643
- };
1644
- }
1645
- async connectedCallback() {
1646
- super.connectedCallback();
1647
- await this.updateComplete;
1648
- this.start();
1649
- }
1650
- disconnectedCallback() {
1651
- super.disconnectedCallback();
1652
- this.stop();
1653
- }
1654
- async updated(changedProps) {
1655
- super.updated(changedProps);
1656
- if (changedProps.has("active")) {
1657
- if (this.active) {
1658
- this.start();
1659
- } else {
1660
- this.stop();
1661
- }
1662
- }
1663
- if (changedProps.has("anchor")) {
1664
- this.handleAnchorChange();
1665
- }
1666
- if (this.active) {
1667
- await this.updateComplete;
1668
- this.reposition();
1669
- }
1670
- }
1671
- async handleAnchorChange() {
1672
- await this.stop();
1673
- if (this.anchor && typeof this.anchor === "string") {
1674
- const root = this.getRootNode();
1675
- this.anchorEl = root.getElementById(this.anchor);
1676
- } else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {
1677
- this.anchorEl = this.anchor;
1678
- } else {
1679
- this.anchorEl = this.querySelector('[slot="anchor"]');
1680
- }
1681
- if (this.anchorEl instanceof HTMLSlotElement) {
1682
- this.anchorEl = this.anchorEl.assignedElements({
1683
- flatten: true
1684
- })[0];
1685
- }
1686
- if (this.anchorEl && this.active) {
1687
- this.start();
1688
- }
1689
- }
1690
- start() {
1691
- if (!this.anchorEl || !this.active) {
1692
- return;
1693
- }
1694
- this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {
1695
- this.reposition();
1696
- });
1697
- }
1698
- async stop() {
1699
- return new Promise((resolve) => {
1700
- if (this.cleanup) {
1701
- this.cleanup();
1702
- this.cleanup = void 0;
1703
- this.removeAttribute("data-current-placement");
1704
- this.style.removeProperty("--auto-size-available-width");
1705
- this.style.removeProperty("--auto-size-available-height");
1706
- requestAnimationFrame(() => resolve());
1707
- } else {
1708
- resolve();
1709
- }
1710
- });
1711
- }
1712
- /** Forces the popup to recalculate and reposition itself. */
1713
- reposition() {
1714
- if (!this.active || !this.anchorEl) {
1715
- return;
1716
- }
1717
- const middleware = [
1718
- // The offset middleware goes first
1719
- offset2({ mainAxis: this.distance, crossAxis: this.skidding })
1720
- ];
1721
- if (this.sync) {
1722
- middleware.push(
1723
- size2({
1724
- apply: ({ rects }) => {
1725
- const syncWidth = this.sync === "width" || this.sync === "both";
1726
- const syncHeight = this.sync === "height" || this.sync === "both";
1727
- this.popup.style.width = syncWidth ? `${rects.reference.width}px` : "";
1728
- this.popup.style.height = syncHeight ? `${rects.reference.height}px` : "";
1729
- }
1730
- })
1731
- );
1732
- } else {
1733
- this.popup.style.width = "";
1734
- this.popup.style.height = "";
1735
- }
1736
- if (this.flip) {
1737
- middleware.push(
1738
- flip2({
1739
- boundary: this.flipBoundary,
1740
- // @ts-expect-error - We're converting a string attribute to an array here
1741
- fallbackPlacements: this.flipFallbackPlacements,
1742
- fallbackStrategy: this.flipFallbackStrategy === "best-fit" ? "bestFit" : "initialPlacement",
1743
- padding: this.flipPadding
1744
- })
1745
- );
1746
- }
1747
- if (this.shift) {
1748
- middleware.push(
1749
- shift2({
1750
- boundary: this.shiftBoundary,
1751
- padding: this.shiftPadding
1752
- })
1753
- );
1754
- }
1755
- if (this.autoSize) {
1756
- middleware.push(
1757
- size2({
1758
- boundary: this.autoSizeBoundary,
1759
- padding: this.autoSizePadding,
1760
- apply: ({ availableWidth, availableHeight }) => {
1761
- if (this.autoSize === "vertical" || this.autoSize === "both") {
1762
- this.style.setProperty(
1763
- "--auto-size-available-height",
1764
- `${availableHeight}px`
1765
- );
1766
- } else {
1767
- this.style.removeProperty("--auto-size-available-height");
1768
- }
1769
- if (this.autoSize === "horizontal" || this.autoSize === "both") {
1770
- this.style.setProperty(
1771
- "--auto-size-available-width",
1772
- `${availableWidth}px`
1773
- );
1774
- } else {
1775
- this.style.removeProperty("--auto-size-available-width");
1776
- }
1777
- }
1778
- })
1779
- );
1780
- } else {
1781
- this.style.removeProperty("--auto-size-available-width");
1782
- this.style.removeProperty("--auto-size-available-height");
1783
- }
1784
- if (this.arrow) {
1785
- middleware.push(
1786
- arrow2({
1787
- element: this.arrowEl,
1788
- padding: this.arrowPadding
1789
- })
1790
- );
1791
- }
1792
- const getOffsetParent2 = this.strategy === "absolute" ? (element) => platform.getOffsetParent(element, e3) : platform.getOffsetParent;
1793
- computePosition2(this.anchorEl, this.popup, {
1794
- placement: this.placement,
1795
- middleware,
1796
- strategy: this.strategy,
1797
- platform: __spreadProps(__spreadValues({}, platform), {
1798
- getOffsetParent: getOffsetParent2
1799
- })
1800
- }).then(({ x: x2, y, middlewareData, placement }) => {
1801
- const isRtl = false;
1802
- const staticSide = {
1803
- top: "bottom",
1804
- right: "left",
1805
- bottom: "top",
1806
- left: "right"
1807
- }[placement.split("-")[0]];
1808
- this.setAttribute("data-current-placement", placement);
1809
- Object.assign(this.popup.style, {
1810
- left: `${x2}px`,
1811
- top: `${y}px`
1812
- });
1813
- if (this.arrow) {
1814
- const arrowX = middlewareData.arrow.x;
1815
- const arrowY = middlewareData.arrow.y;
1816
- let top = "";
1817
- let right = "";
1818
- let bottom = "";
1819
- let left = "";
1820
- if (this.arrowPlacement === "start") {
1821
- const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
1822
- top = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
1823
- right = isRtl ? value : "";
1824
- left = isRtl ? "" : value;
1825
- } else if (this.arrowPlacement === "end") {
1826
- const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
1827
- right = isRtl ? "" : value;
1828
- left = isRtl ? value : "";
1829
- bottom = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
1830
- } else if (this.arrowPlacement === "center") {
1831
- left = typeof arrowX === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
1832
- top = typeof arrowY === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
1833
- } else {
1834
- left = typeof arrowX === "number" ? `${arrowX}px` : "";
1835
- top = typeof arrowY === "number" ? `${arrowY}px` : "";
1836
- }
1837
- Object.assign(this.arrowEl.style, {
1838
- top,
1839
- right,
1840
- bottom,
1841
- left,
1842
- [staticSide]: "calc(var(--arrow-size-diagonal) * -1)"
1843
- });
1844
- }
1845
- });
1846
- requestAnimationFrame(() => this.updateHoverBridge());
1847
- this.emit("terra-reposition");
1848
- }
1849
- render() {
1850
- return x`
1851
- <slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
1852
-
1853
- <span
1854
- part="hover-bridge"
1855
- class=${e({
1856
- "popup-hover-bridge": true,
1857
- "popup-hover-bridge--visible": this.hoverBridge && this.active
1858
- })}
1859
- ></span>
1860
-
1861
- <div
1862
- part="popup"
1863
- class=${e({
1864
- popup: true,
1865
- "popup--active": this.active,
1866
- "popup--fixed": this.strategy === "fixed",
1867
- "popup--has-arrow": this.arrow
1868
- })}
1869
- >
1870
- <slot></slot>
1871
- ${this.arrow ? x`<div
1872
- part="arrow"
1873
- class="popup__arrow"
1874
- role="presentation"
1875
- ></div>` : ""}
1876
- </div>
1877
- `;
1878
- }
1879
- };
1880
- TerraPopup.styles = [component_styles_default, popup_styles_default];
1881
- __decorateClass([
1882
- e2(".popup")
1883
- ], TerraPopup.prototype, "popup", 2);
1884
- __decorateClass([
1885
- e2(".popup__arrow")
1886
- ], TerraPopup.prototype, "arrowEl", 2);
1887
- __decorateClass([
1888
- n()
1889
- ], TerraPopup.prototype, "anchor", 2);
1890
- __decorateClass([
1891
- n({ type: Boolean, reflect: true })
1892
- ], TerraPopup.prototype, "active", 2);
1893
- __decorateClass([
1894
- n({ reflect: true })
1895
- ], TerraPopup.prototype, "placement", 2);
1896
- __decorateClass([
1897
- n({ reflect: true })
1898
- ], TerraPopup.prototype, "strategy", 2);
1899
- __decorateClass([
1900
- n({ type: Number })
1901
- ], TerraPopup.prototype, "distance", 2);
1902
- __decorateClass([
1903
- n({ type: Number })
1904
- ], TerraPopup.prototype, "skidding", 2);
1905
- __decorateClass([
1906
- n({ type: Boolean })
1907
- ], TerraPopup.prototype, "arrow", 2);
1908
- __decorateClass([
1909
- n({ attribute: "arrow-placement" })
1910
- ], TerraPopup.prototype, "arrowPlacement", 2);
1911
- __decorateClass([
1912
- n({ attribute: "arrow-padding", type: Number })
1913
- ], TerraPopup.prototype, "arrowPadding", 2);
1914
- __decorateClass([
1915
- n({ type: Boolean })
1916
- ], TerraPopup.prototype, "flip", 2);
1917
- __decorateClass([
1918
- n({
1919
- attribute: "flip-fallback-placements",
1920
- converter: {
1921
- fromAttribute: (value) => {
1922
- return value.split(" ").map((p) => p.trim()).filter((p) => p !== "");
1923
- },
1924
- toAttribute: (value) => {
1925
- return value.join(" ");
1926
- }
1927
- }
1928
- })
1929
- ], TerraPopup.prototype, "flipFallbackPlacements", 2);
1930
- __decorateClass([
1931
- n({ attribute: "flip-fallback-strategy" })
1932
- ], TerraPopup.prototype, "flipFallbackStrategy", 2);
1933
- __decorateClass([
1934
- n({ type: Object })
1935
- ], TerraPopup.prototype, "flipBoundary", 2);
1936
- __decorateClass([
1937
- n({ attribute: "flip-padding", type: Number })
1938
- ], TerraPopup.prototype, "flipPadding", 2);
1939
- __decorateClass([
1940
- n({ type: Boolean })
1941
- ], TerraPopup.prototype, "shift", 2);
1942
- __decorateClass([
1943
- n({ type: Object })
1944
- ], TerraPopup.prototype, "shiftBoundary", 2);
1945
- __decorateClass([
1946
- n({ attribute: "shift-padding", type: Number })
1947
- ], TerraPopup.prototype, "shiftPadding", 2);
1948
- __decorateClass([
1949
- n({ attribute: "auto-size" })
1950
- ], TerraPopup.prototype, "autoSize", 2);
1951
- __decorateClass([
1952
- n()
1953
- ], TerraPopup.prototype, "sync", 2);
1954
- __decorateClass([
1955
- n({ type: Object })
1956
- ], TerraPopup.prototype, "autoSizeBoundary", 2);
1957
- __decorateClass([
1958
- n({ attribute: "auto-size-padding", type: Number })
1959
- ], TerraPopup.prototype, "autoSizePadding", 2);
1960
- __decorateClass([
1961
- n({ attribute: "hover-bridge", type: Boolean })
1962
- ], TerraPopup.prototype, "hoverBridge", 2);
1963
-
1964
- export {
1965
- TerraPopup
1966
- };