@nasa-terra/components 0.0.191 → 0.0.192

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 (1305) hide show
  1. package/cdn/apis/harmony.api.d.ts +10 -1
  2. package/cdn/chunks/chunk.23F22BJH.js +303 -0
  3. package/cdn/chunks/chunk.245STXLU.js +266 -0
  4. package/cdn/chunks/chunk.24INYUDF.js +538 -0
  5. package/cdn/chunks/chunk.26GHOZ7N.js +32 -0
  6. package/cdn/chunks/chunk.27WWEW6V.js +104 -0
  7. package/cdn/chunks/chunk.2ANSTQHT.js +36 -0
  8. package/cdn/chunks/chunk.2C4BQS2H.js +186 -0
  9. package/cdn/chunks/chunk.2GKHFPDG.js +599 -0
  10. package/cdn/chunks/chunk.2KXNVEBU.js +32 -0
  11. package/cdn/chunks/chunk.2NRXB43M.js +19 -0
  12. package/cdn/chunks/chunk.2YVP3FRZ.js +231 -0
  13. package/cdn/chunks/chunk.3HMD5G6A.js +443 -0
  14. package/cdn/chunks/chunk.3JLTI64D.js +19 -0
  15. package/cdn/chunks/chunk.3OZIDRVV.js +29 -0
  16. package/cdn/chunks/chunk.3REYIBPS.js +34 -0
  17. package/cdn/chunks/chunk.3W7NW4IP.js +29 -0
  18. package/cdn/chunks/chunk.44A2OFJE.js +32 -0
  19. package/cdn/chunks/chunk.45RJD3VV.js +151 -0
  20. package/cdn/chunks/chunk.4E6YUD2P.js +294 -0
  21. package/cdn/chunks/chunk.4M4SA4VL.js +155 -0
  22. package/cdn/chunks/chunk.4MXAJRHY.js +663 -0
  23. package/cdn/chunks/chunk.4OEMN3MA.js +190 -0
  24. package/cdn/chunks/chunk.4V3MHTHA.js +19 -0
  25. package/cdn/chunks/chunk.4WNBCYY4.js +134 -0
  26. package/cdn/chunks/chunk.4Y35UDBM.js +35 -0
  27. package/cdn/chunks/chunk.53PUY3ZS.js +110 -0
  28. package/cdn/chunks/chunk.56S57ULO.js +158 -0
  29. package/cdn/chunks/chunk.5MJBTEGL.js +49 -0
  30. package/cdn/chunks/chunk.5QSRCR4F.js +19 -0
  31. package/cdn/chunks/chunk.5ZXZFXF3.js +19 -0
  32. package/cdn/chunks/chunk.64L3DD6Q.js +19 -0
  33. package/cdn/chunks/chunk.6A2ZNIEO.js +19 -0
  34. package/cdn/chunks/chunk.6GG7OO3R.js +19 -0
  35. package/cdn/chunks/chunk.6RVIWT4A.js +188 -0
  36. package/cdn/chunks/chunk.7IQDUVYV.js +33 -0
  37. package/cdn/chunks/chunk.7M4SKAG4.js +19 -0
  38. package/cdn/chunks/chunk.7WSYDEHF.js +19 -0
  39. package/cdn/chunks/chunk.7XJKHZU3.js +39 -0
  40. package/cdn/chunks/chunk.A5N5AY4C.js +29 -0
  41. package/cdn/chunks/chunk.AOCK57QX.js +32 -0
  42. package/cdn/chunks/chunk.AUTKKBC5.js +241 -0
  43. package/cdn/chunks/chunk.AZ6WPUFH.js +19 -0
  44. package/cdn/chunks/chunk.B5S3NM7F.js +19 -0
  45. package/cdn/chunks/chunk.B7WNQ5PO.js +29 -0
  46. package/cdn/chunks/chunk.BAQHLVAK.js +19 -0
  47. package/cdn/chunks/chunk.BD3FY2DX.js +945 -0
  48. package/cdn/chunks/chunk.BH4BHYZF.js +19 -0
  49. package/cdn/chunks/chunk.BJ5T462Y.js +123 -0
  50. package/cdn/chunks/chunk.BPVSVPVN.js +19 -0
  51. package/cdn/chunks/chunk.BTKS3XOS.js +19 -0
  52. package/cdn/chunks/chunk.BUNK6WCA.js +19 -0
  53. package/cdn/chunks/chunk.BX4SOFZN.js +29 -0
  54. package/cdn/chunks/chunk.BXX2TOJD.js +377 -0
  55. package/cdn/chunks/chunk.C5SUSFPR.js +19 -0
  56. package/cdn/chunks/chunk.C6YX7LF2.js +19 -0
  57. package/cdn/chunks/chunk.CFW3RCL2.js +32 -0
  58. package/cdn/chunks/chunk.CQER7LGP.js +135 -0
  59. package/cdn/chunks/chunk.CQNIDQAS.js +29 -0
  60. package/cdn/chunks/chunk.CSUI7ZCT.js +658 -0
  61. package/cdn/chunks/chunk.CSVBPSJG.js +893 -0
  62. package/cdn/chunks/chunk.CWCAKMDC.js +29 -0
  63. package/cdn/chunks/chunk.DPSHTZ6P.js +392 -0
  64. package/cdn/chunks/chunk.DPW4KE3J.js +35 -0
  65. package/cdn/chunks/chunk.DTOJJOLD.js +19 -0
  66. package/cdn/chunks/chunk.DVTAL6AU.js +539 -0
  67. package/cdn/chunks/chunk.E2WN7IE3.js +29 -0
  68. package/cdn/chunks/chunk.EAQXXCFO.js +19 -0
  69. package/cdn/chunks/chunk.ET5DXSTJ.js +230 -0
  70. package/cdn/chunks/chunk.EYJ7P7C5.js +19 -0
  71. package/cdn/chunks/chunk.FIEZKD4M.js +170 -0
  72. package/cdn/chunks/chunk.FLXIUURB.js +330 -0
  73. package/cdn/chunks/chunk.FRXDO4TZ.js +29 -0
  74. package/cdn/chunks/chunk.FSSESF75.js +19 -0
  75. package/cdn/chunks/chunk.FST3PZ4D.js +2546 -0
  76. package/cdn/chunks/chunk.FT3IPXUI.js +32 -0
  77. package/cdn/chunks/chunk.G3CPLL72.js +19 -0
  78. package/cdn/chunks/chunk.G6PX4ZZR.js +78 -0
  79. package/cdn/chunks/chunk.GLC3GLWY.js +359 -0
  80. package/cdn/chunks/chunk.GQYYZEYB.js +29 -0
  81. package/cdn/chunks/chunk.H5WQMCJJ.js +234 -0
  82. package/cdn/chunks/chunk.H6IRY4OL.js +1197 -0
  83. package/cdn/chunks/chunk.HJMZJ4N5.js +32 -0
  84. package/cdn/chunks/chunk.HLQ3QMJC.js +19 -0
  85. package/cdn/chunks/chunk.HMPCGKTE.js +224 -0
  86. package/cdn/chunks/chunk.HTXCIC4D.js +19 -0
  87. package/cdn/chunks/chunk.HWGUV5FW.js +41 -0
  88. package/cdn/chunks/chunk.I2DUTZ2T.js +33 -0
  89. package/cdn/chunks/chunk.IG3H5AIK.js +60 -0
  90. package/cdn/chunks/chunk.IJM6CDFW.js +19 -0
  91. package/cdn/chunks/chunk.IQYQG42U.js +19 -0
  92. package/cdn/chunks/chunk.IUXV7RBL.js +29 -0
  93. package/cdn/chunks/chunk.IXHOSB76.js +19 -0
  94. package/cdn/chunks/chunk.IYDWKATS.js +904 -0
  95. package/cdn/chunks/chunk.JCC5JYVG.js +196 -0
  96. package/cdn/chunks/chunk.JFLGXCKZ.js +19 -0
  97. package/cdn/chunks/chunk.JGY4EGZC.js +60 -0
  98. package/cdn/chunks/chunk.JLQCZDIY.js +29 -0
  99. package/cdn/chunks/chunk.K3RQ7AFD.js +19 -0
  100. package/cdn/chunks/chunk.K4PU2JQ6.js +138 -0
  101. package/cdn/chunks/chunk.K4ZAN4CN.js +35 -0
  102. package/cdn/chunks/chunk.K7U7MVEQ.js +56075 -0
  103. package/cdn/chunks/chunk.KF5FM4UM.js +94 -0
  104. package/cdn/chunks/chunk.KRUULCP6.js +35 -0
  105. package/cdn/chunks/chunk.KTQLYAOB.js +2615 -0
  106. package/cdn/chunks/chunk.L2R7AMTX.js +19 -0
  107. package/cdn/chunks/chunk.L7FYC6LU.js +32 -0
  108. package/cdn/chunks/chunk.LCZ7CTUM.js +19 -0
  109. package/cdn/chunks/chunk.LDXOXMSA.js +19 -0
  110. package/cdn/chunks/chunk.LG32OSKX.js +68 -0
  111. package/cdn/chunks/chunk.LJIY5NZ2.js +30 -0
  112. package/cdn/chunks/chunk.LWNGQ3V4.js +29 -0
  113. package/cdn/chunks/chunk.LYQ6YFGG.js +99 -0
  114. package/cdn/chunks/chunk.MA5VVFFT.js +29 -0
  115. package/cdn/chunks/chunk.MHATFZ67.js +19 -0
  116. package/cdn/chunks/chunk.MRFDIT24.js +29 -0
  117. package/cdn/chunks/chunk.MRRU67I2.js +29 -0
  118. package/cdn/chunks/chunk.MWU5BT2I.js +128 -0
  119. package/cdn/chunks/chunk.N6YE5MVP.js +29 -0
  120. package/cdn/chunks/chunk.N73S5M22.js +32 -0
  121. package/cdn/chunks/chunk.N74CAU67.js +32 -0
  122. package/cdn/chunks/chunk.NBVZOPJI.js +616 -0
  123. package/cdn/chunks/chunk.NDSC57Q5.js +19 -0
  124. package/cdn/chunks/chunk.NQHSSDFG.js +19 -0
  125. package/cdn/chunks/chunk.NUWLRNQB.js +161 -0
  126. package/cdn/chunks/chunk.O5JW24LZ.js +36 -0
  127. package/cdn/chunks/chunk.OG47UMA5.js +1259 -0
  128. package/cdn/chunks/chunk.OK2FJZAC.js +29 -0
  129. package/cdn/chunks/chunk.OQOUFXO5.js +19 -0
  130. package/cdn/chunks/chunk.OQXKI5GJ.js +86 -0
  131. package/cdn/chunks/chunk.P2M4CQ5P.js +33 -0
  132. package/cdn/chunks/chunk.P5TSNROJ.js +537 -0
  133. package/cdn/chunks/chunk.P7CV4I3K.js +74 -0
  134. package/cdn/chunks/chunk.PHUBZRQC.js +83 -0
  135. package/cdn/chunks/chunk.PILWENSQ.js +92 -0
  136. package/cdn/chunks/chunk.PJ3IJJYS.js +19 -0
  137. package/cdn/chunks/chunk.PP3XLO5P.js +34 -0
  138. package/cdn/chunks/chunk.PRQLTMQC.js +136 -0
  139. package/cdn/chunks/chunk.PTCT3TYT.js +357 -0
  140. package/cdn/chunks/chunk.PTK3X5ML.js +9743 -0
  141. package/cdn/chunks/chunk.PUQV3TET.js +99 -0
  142. package/cdn/chunks/chunk.PUS7Y5TV.js +1975 -0
  143. package/cdn/chunks/chunk.PYFO4TDY.js +71 -0
  144. package/cdn/chunks/chunk.PYRLBGCN.js +474 -0
  145. package/cdn/chunks/chunk.Q4J6KRAB.js +310 -0
  146. package/cdn/chunks/chunk.Q6EGX4BU.js +19 -0
  147. package/cdn/chunks/chunk.QB6OILCE.js +19 -0
  148. package/cdn/chunks/chunk.QL6AJSHA.js +19 -0
  149. package/cdn/chunks/chunk.QLVPPBKP.js +19 -0
  150. package/cdn/chunks/chunk.QS2PWRLO.js +293 -0
  151. package/cdn/chunks/chunk.QZTA6VVX.js +32 -0
  152. package/cdn/chunks/chunk.R2AKYP36.js +19 -0
  153. package/cdn/chunks/chunk.RBZCWRRQ.js +29 -0
  154. package/cdn/chunks/chunk.RD6K7VHR.js +19 -0
  155. package/cdn/chunks/chunk.REPAPQYQ.js +19 -0
  156. package/cdn/chunks/chunk.RERDMEOR.js +195 -0
  157. package/cdn/chunks/chunk.RII5KPMA.js +19 -0
  158. package/cdn/chunks/chunk.RLWFZOAQ.js +32 -0
  159. package/cdn/chunks/chunk.RR7Z7BPS.js +19 -0
  160. package/cdn/chunks/chunk.RRZ6U2ME.js +19 -0
  161. package/cdn/chunks/chunk.RXWLUABB.js +47 -0
  162. package/cdn/chunks/chunk.S62TAS73.js +276 -0
  163. package/cdn/chunks/chunk.SPZEQOKO.js +93 -0
  164. package/cdn/chunks/chunk.SQIH7CTF.js +19 -0
  165. package/cdn/chunks/chunk.SSV6F5FN.js +259 -0
  166. package/cdn/chunks/chunk.STFEACGD.js +19 -0
  167. package/cdn/chunks/chunk.SZE3XMGB.js +29 -0
  168. package/cdn/chunks/chunk.T4HBNQKM.js +29 -0
  169. package/cdn/chunks/chunk.TE3JDUXK.js +36 -0
  170. package/cdn/chunks/chunk.TGHIEUXU.js +32 -0
  171. package/cdn/chunks/chunk.TNMUVPYV.js +29 -0
  172. package/cdn/chunks/chunk.TQQ2KJQP.js +493 -0
  173. package/cdn/chunks/chunk.TV5IMGDS.js +82 -0
  174. package/cdn/chunks/chunk.U3IBIDXE.js +19 -0
  175. package/cdn/chunks/chunk.U7Y67S2C.js +19 -0
  176. package/cdn/chunks/chunk.UCCUOTF6.js +19 -0
  177. package/cdn/chunks/chunk.UDACLO72.js +33 -0
  178. package/cdn/chunks/chunk.UKAWFAYP.js +524 -0
  179. package/cdn/chunks/chunk.UTYHZRYG.js +113 -0
  180. package/cdn/chunks/chunk.UWCPGTVV.js +32 -0
  181. package/cdn/chunks/chunk.UWRZGIR3.js +551 -0
  182. package/cdn/chunks/chunk.UZPINX4J.js +610 -0
  183. package/cdn/chunks/chunk.V3MUNLZP.js +29 -0
  184. package/cdn/chunks/chunk.V6KFRX6Q.js +19 -0
  185. package/cdn/chunks/chunk.V6YORIDQ.js +132 -0
  186. package/cdn/chunks/chunk.VB3KDLU6.js +29 -0
  187. package/cdn/chunks/chunk.VDXXAQWU.js +29 -0
  188. package/cdn/chunks/chunk.VGKRX5H5.js +278 -0
  189. package/cdn/chunks/chunk.VHVI2N6K.js +34 -0
  190. package/cdn/chunks/chunk.VPEEKXD6.js +63 -0
  191. package/cdn/chunks/chunk.VWXS72MS.js +19 -0
  192. package/cdn/chunks/chunk.VY4A7VXP.js +19 -0
  193. package/cdn/chunks/chunk.W5OQMP5C.js +29 -0
  194. package/cdn/chunks/chunk.W7YINCCY.js +29 -0
  195. package/cdn/chunks/chunk.WTF7NFZZ.js +36 -0
  196. package/cdn/chunks/chunk.X27AII7Z.js +19 -0
  197. package/cdn/chunks/chunk.X6F5AXSA.js +62 -0
  198. package/cdn/chunks/chunk.XB4O6ZSP.js +139 -0
  199. package/cdn/chunks/chunk.XBQ73UMK.js +37 -0
  200. package/cdn/chunks/chunk.XE4NOQA4.js +19 -0
  201. package/cdn/chunks/chunk.XHVFPYZC.js +19 -0
  202. package/cdn/chunks/chunk.XLP5YNJK.js +19 -0
  203. package/cdn/chunks/chunk.XOOKGSCN.js +35 -0
  204. package/cdn/chunks/chunk.XRKVQYVI.js +294 -0
  205. package/cdn/chunks/chunk.XSL6GUNV.js +45 -0
  206. package/cdn/chunks/chunk.XTQYMH4X.js +915 -0
  207. package/cdn/chunks/chunk.XVNO5RTC.js +478 -0
  208. package/cdn/chunks/chunk.XWUX5XJQ.js +19 -0
  209. package/cdn/chunks/chunk.XZFUPKPW.js +29 -0
  210. package/cdn/chunks/chunk.Y4MUXZI3.js +33 -0
  211. package/cdn/chunks/chunk.Z5JWSUN3.js +19 -0
  212. package/cdn/chunks/chunk.ZJZ2OUC4.js +37 -0
  213. package/cdn/chunks/chunk.ZSNXJ3BL.js +29 -0
  214. package/cdn/chunks/chunk.ZWCA3BKW.js +68 -0
  215. package/cdn/chunks/chunk.ZZATCATC.js +29 -0
  216. package/cdn/components/accordion/accordion.component.js +3 -3
  217. package/cdn/components/accordion/accordion.js +4 -4
  218. package/cdn/components/alert/alert.component.js +2 -2
  219. package/cdn/components/alert/alert.js +3 -3
  220. package/cdn/components/avatar/avatar.component.js +3 -3
  221. package/cdn/components/avatar/avatar.js +4 -4
  222. package/cdn/components/badge/badge.component.js +2 -2
  223. package/cdn/components/badge/badge.js +3 -3
  224. package/cdn/components/banner/banner.component.js +2 -2
  225. package/cdn/components/banner/banner.js +3 -3
  226. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  227. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  228. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  229. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  230. package/cdn/components/browse-variables/browse-variables.component.js +15 -15
  231. package/cdn/components/browse-variables/browse-variables.controller.js +4 -4
  232. package/cdn/components/browse-variables/browse-variables.js +16 -16
  233. package/cdn/components/button/button.component.js +3 -3
  234. package/cdn/components/button/button.js +4 -4
  235. package/cdn/components/button-group/button-group.component.js +2 -2
  236. package/cdn/components/button-group/button-group.js +3 -3
  237. package/cdn/components/caption/caption.component.js +2 -2
  238. package/cdn/components/caption/caption.js +3 -3
  239. package/cdn/components/card/card.component.js +2 -2
  240. package/cdn/components/card/card.js +3 -3
  241. package/cdn/components/checkbox/checkbox.component.js +3 -3
  242. package/cdn/components/checkbox/checkbox.js +4 -4
  243. package/cdn/components/chip/chip.component.js +2 -2
  244. package/cdn/components/chip/chip.js +3 -3
  245. package/cdn/components/combobox/combobox.component.js +2 -2
  246. package/cdn/components/combobox/combobox.js +3 -3
  247. package/cdn/components/data-access/data-access.component.js +23 -23
  248. package/cdn/components/data-access/data-access.js +24 -24
  249. package/cdn/components/data-grid/data-grid.component.js +3 -3
  250. package/cdn/components/data-grid/data-grid.js +4 -4
  251. package/cdn/components/data-rods/data-rods.component.js +34 -34
  252. package/cdn/components/data-rods/data-rods.js +35 -35
  253. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +2 -0
  254. package/cdn/components/data-subsetter/data-subsetter.component.js +34 -33
  255. package/cdn/components/data-subsetter/data-subsetter.js +35 -34
  256. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  257. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +35 -34
  258. package/cdn/components/data-subsetter-history/data-subsetter-history.js +36 -35
  259. package/cdn/components/date-picker/date-picker.component.d.ts +27 -0
  260. package/cdn/components/date-picker/date-picker.component.js +7 -7
  261. package/cdn/components/date-picker/date-picker.js +8 -8
  262. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  263. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  264. package/cdn/components/dialog/dialog.component.js +4 -4
  265. package/cdn/components/dialog/dialog.js +5 -5
  266. package/cdn/components/divider/divider.component.js +2 -2
  267. package/cdn/components/divider/divider.js +3 -3
  268. package/cdn/components/dropdown/dropdown.component.js +3 -3
  269. package/cdn/components/dropdown/dropdown.js +4 -4
  270. package/cdn/components/earthdata-login/earthdata-login.component.js +10 -10
  271. package/cdn/components/earthdata-login/earthdata-login.js +11 -11
  272. package/cdn/components/file-upload/file-upload.component.js +2 -2
  273. package/cdn/components/file-upload/file-upload.js +3 -3
  274. package/cdn/components/harmony-history/harmony-history.component.js +10 -9
  275. package/cdn/components/harmony-history/harmony-history.js +11 -10
  276. package/cdn/components/icon/icon.component.js +2 -2
  277. package/cdn/components/icon/icon.js +3 -3
  278. package/cdn/components/input/input.component.js +3 -3
  279. package/cdn/components/input/input.js +4 -4
  280. package/cdn/components/loader/loader.component.js +2 -2
  281. package/cdn/components/loader/loader.js +3 -3
  282. package/cdn/components/login/login.component.js +8 -8
  283. package/cdn/components/login/login.js +9 -9
  284. package/cdn/components/map/map.component.js +6 -6
  285. package/cdn/components/map/map.js +7 -7
  286. package/cdn/components/map/map.service.js +1 -1
  287. package/cdn/components/map/type.d.ts +2 -0
  288. package/cdn/components/menu/menu.component.js +2 -2
  289. package/cdn/components/menu/menu.js +3 -3
  290. package/cdn/components/menu-item/menu-item.component.js +5 -5
  291. package/cdn/components/menu-item/menu-item.js +6 -6
  292. package/cdn/components/option/option.component.js +3 -3
  293. package/cdn/components/option/option.js +4 -4
  294. package/cdn/components/pagination/pagination.component.js +3 -3
  295. package/cdn/components/pagination/pagination.js +4 -4
  296. package/cdn/components/plot/plot.component.js +2 -2
  297. package/cdn/components/plot/plot.js +3 -3
  298. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  299. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  300. package/cdn/components/plot-toolbar/plot-toolbar.component.js +15 -15
  301. package/cdn/components/plot-toolbar/plot-toolbar.controller.js +3 -3
  302. package/cdn/components/plot-toolbar/plot-toolbar.js +16 -16
  303. package/cdn/components/popup/popup.component.js +2 -2
  304. package/cdn/components/popup/popup.js +3 -3
  305. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  306. package/cdn/components/progress-bar/progress-bar.js +3 -3
  307. package/cdn/components/radio/radio.component.js +2 -2
  308. package/cdn/components/radio/radio.js +3 -3
  309. package/cdn/components/radio-group/radio-group.component.js +2 -2
  310. package/cdn/components/radio-group/radio-group.js +3 -3
  311. package/cdn/components/scroll-hint/scroll-hint.component.js +3 -3
  312. package/cdn/components/scroll-hint/scroll-hint.js +4 -4
  313. package/cdn/components/select/select.component.js +5 -5
  314. package/cdn/components/select/select.js +6 -6
  315. package/cdn/components/site-header/site-header.component.js +3 -3
  316. package/cdn/components/site-header/site-header.js +3 -3
  317. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  318. package/cdn/components/site-navigation/site-navigation.js +2 -2
  319. package/cdn/components/skeleton/skeleton.component.js +2 -2
  320. package/cdn/components/skeleton/skeleton.js +3 -3
  321. package/cdn/components/slider/slider.component.js +2 -2
  322. package/cdn/components/slider/slider.js +3 -3
  323. package/cdn/components/spatial-picker/spatial-picker.component.d.ts +5 -0
  324. package/cdn/components/spatial-picker/spatial-picker.component.js +11 -11
  325. package/cdn/components/spatial-picker/spatial-picker.js +12 -12
  326. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  327. package/cdn/components/status-indicator/status-indicator.js +3 -3
  328. package/cdn/components/stepper/stepper.component.js +2 -2
  329. package/cdn/components/stepper/stepper.js +3 -3
  330. package/cdn/components/stepper-step/stepper-step.component.js +3 -3
  331. package/cdn/components/stepper-step/stepper-step.js +4 -4
  332. package/cdn/components/tab/tab.component.js +3 -3
  333. package/cdn/components/tab/tab.js +4 -4
  334. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  335. package/cdn/components/tab-panel/tab-panel.js +3 -3
  336. package/cdn/components/tabs/tabs.component.js +3 -3
  337. package/cdn/components/tabs/tabs.js +4 -4
  338. package/cdn/components/tag/tag.component.js +3 -3
  339. package/cdn/components/tag/tag.js +4 -4
  340. package/cdn/components/textarea/textarea.component.js +2 -2
  341. package/cdn/components/textarea/textarea.js +3 -3
  342. package/cdn/components/time-average-map/time-average-map.component.js +26 -26
  343. package/cdn/components/time-average-map/time-average-map.controller.js +10 -10
  344. package/cdn/components/time-average-map/time-average-map.js +27 -27
  345. package/cdn/components/time-series/time-series-cache.service.d.ts +6 -0
  346. package/cdn/components/time-series/time-series-cache.service.js +1 -1
  347. package/cdn/components/time-series/time-series.component.js +27 -27
  348. package/cdn/components/time-series/time-series.controller.js +11 -11
  349. package/cdn/components/time-series/time-series.js +28 -28
  350. package/cdn/components/toast/toast.component.js +3 -3
  351. package/cdn/components/toast/toast.js +4 -4
  352. package/cdn/components/toggle/toggle.component.js +2 -2
  353. package/cdn/components/toggle/toggle.js +3 -3
  354. package/cdn/components/tooltip/tooltip.component.js +3 -3
  355. package/cdn/components/tooltip/tooltip.js +4 -4
  356. package/cdn/components/variable-combobox/variable-combobox.component.js +6 -6
  357. package/cdn/components/variable-combobox/variable-combobox.js +7 -7
  358. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +10 -10
  359. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +4 -4
  360. package/cdn/components/variable-keyword-search/variable-keyword-search.js +11 -11
  361. package/cdn/custom-elements.json +433 -213
  362. package/cdn/lib/harmony/harmony.request.d.ts +11 -0
  363. package/cdn/react/accordion/index.js +4 -4
  364. package/cdn/react/alert/index.js +3 -3
  365. package/cdn/react/avatar/index.js +4 -4
  366. package/cdn/react/badge/index.js +3 -3
  367. package/cdn/react/banner/index.js +3 -3
  368. package/cdn/react/breadcrumb/index.js +3 -3
  369. package/cdn/react/breadcrumbs/index.js +3 -3
  370. package/cdn/react/browse-variables/index.js +16 -16
  371. package/cdn/react/button/index.js +4 -4
  372. package/cdn/react/button-group/index.js +3 -3
  373. package/cdn/react/caption/index.js +3 -3
  374. package/cdn/react/card/index.js +3 -3
  375. package/cdn/react/checkbox/index.js +4 -4
  376. package/cdn/react/chip/index.js +3 -3
  377. package/cdn/react/combobox/index.js +3 -3
  378. package/cdn/react/data-access/index.js +24 -24
  379. package/cdn/react/data-grid/index.js +4 -4
  380. package/cdn/react/data-rods/index.js +35 -35
  381. package/cdn/react/data-subsetter/index.js +35 -34
  382. package/cdn/react/data-subsetter-history/index.js +36 -35
  383. package/cdn/react/date-picker/index.js +8 -8
  384. package/cdn/react/date-range-slider/index.js +3 -3
  385. package/cdn/react/dialog/index.js +5 -5
  386. package/cdn/react/divider/index.js +3 -3
  387. package/cdn/react/dropdown/index.js +4 -4
  388. package/cdn/react/earthdata-login/index.js +11 -11
  389. package/cdn/react/file-upload/index.js +3 -3
  390. package/cdn/react/harmony-history/index.js +11 -10
  391. package/cdn/react/icon/index.js +3 -3
  392. package/cdn/react/index.d.ts +1 -1
  393. package/cdn/react/index.js +155 -155
  394. package/cdn/react/input/index.js +4 -4
  395. package/cdn/react/loader/index.js +3 -3
  396. package/cdn/react/login/index.js +9 -9
  397. package/cdn/react/map/index.js +7 -7
  398. package/cdn/react/menu/index.js +3 -3
  399. package/cdn/react/menu-item/index.js +6 -6
  400. package/cdn/react/option/index.js +4 -4
  401. package/cdn/react/pagination/index.js +4 -4
  402. package/cdn/react/plot/index.js +3 -3
  403. package/cdn/react/plot-toolbar/index.js +16 -16
  404. package/cdn/react/popup/index.js +3 -3
  405. package/cdn/react/progress-bar/index.js +3 -3
  406. package/cdn/react/radio/index.js +3 -3
  407. package/cdn/react/radio-group/index.js +3 -3
  408. package/cdn/react/scroll-hint/index.js +4 -4
  409. package/cdn/react/select/index.js +6 -6
  410. package/cdn/react/site-header/index.js +4 -4
  411. package/cdn/react/site-navigation/index.js +3 -3
  412. package/cdn/react/skeleton/index.js +3 -3
  413. package/cdn/react/slider/index.js +3 -3
  414. package/cdn/react/spatial-picker/index.js +12 -12
  415. package/cdn/react/status-indicator/index.js +3 -3
  416. package/cdn/react/stepper/index.js +3 -3
  417. package/cdn/react/stepper-step/index.js +4 -4
  418. package/cdn/react/tab/index.js +4 -4
  419. package/cdn/react/tab-panel/index.js +3 -3
  420. package/cdn/react/tabs/index.js +4 -4
  421. package/cdn/react/tag/index.js +4 -4
  422. package/cdn/react/textarea/index.js +3 -3
  423. package/cdn/react/time-average-map/index.js +27 -27
  424. package/cdn/react/time-series/index.js +28 -28
  425. package/cdn/react/toast/index.js +4 -4
  426. package/cdn/react/toggle/index.js +3 -3
  427. package/cdn/react/tooltip/index.js +4 -4
  428. package/cdn/react/variable-combobox/index.js +7 -7
  429. package/cdn/react/variable-keyword-search/index.js +11 -11
  430. package/cdn/terra-ui-components.js +147 -147
  431. package/cdn/types/vue/index.d.ts +88 -77
  432. package/cdn/utilities/harmony.d.ts +11 -0
  433. package/cdn/utilities/harmony.js +5 -3
  434. package/cdn/utilities/variable-task.js +3 -3
  435. package/cdn/vscode.html-custom-data.json +56 -41
  436. package/cdn/web-types.json +145 -113
  437. package/dist/apis/harmony.api.d.ts +10 -1
  438. package/dist/chunks/chunk.2D55HJ64.js +1 -0
  439. package/dist/chunks/chunk.2GO7TMLP.js +1 -0
  440. package/dist/chunks/chunk.2GYNGU2K.js +1 -0
  441. package/dist/chunks/chunk.2HHUVNE2.js +1 -0
  442. package/dist/chunks/chunk.2IJJATB5.js +1 -0
  443. package/dist/chunks/chunk.2PPDUXC4.js +1 -0
  444. package/dist/chunks/chunk.2TZJ5OSU.js +121 -0
  445. package/dist/chunks/chunk.33ODMKXB.js +1 -0
  446. package/dist/chunks/chunk.37B2FLZJ.js +1 -0
  447. package/dist/chunks/chunk.3G3CSN3G.js +1 -0
  448. package/dist/chunks/chunk.3GT4NYNA.js +1 -0
  449. package/dist/chunks/chunk.3OKIF2KP.js +1 -0
  450. package/dist/chunks/chunk.3OLIE46J.js +19 -0
  451. package/dist/chunks/chunk.3S6SXGFQ.js +1 -0
  452. package/dist/chunks/chunk.3UX5QRYF.js +1 -0
  453. package/dist/chunks/chunk.43SHAFPE.js +1 -0
  454. package/dist/chunks/chunk.47FP7IRS.js +1 -0
  455. package/dist/chunks/chunk.4CAGPPMV.js +38 -0
  456. package/dist/chunks/chunk.4CI5DWX7.js +1 -0
  457. package/dist/chunks/chunk.4SKNFNU3.js +1 -0
  458. package/dist/chunks/chunk.4YQGPE6J.js +64 -0
  459. package/dist/chunks/chunk.4ZVIPOSQ.js +1 -0
  460. package/dist/chunks/chunk.567W2YB4.js +1 -0
  461. package/dist/chunks/chunk.57KBJQ5Z.js +1 -0
  462. package/dist/chunks/chunk.5OO3UVJO.js +1 -0
  463. package/dist/chunks/chunk.5TSON4Q5.js +1 -0
  464. package/dist/chunks/chunk.5UG7GGUP.js +1 -0
  465. package/dist/chunks/chunk.5XVYJITF.js +1 -0
  466. package/dist/chunks/chunk.6QTDPCVI.js +1 -0
  467. package/dist/chunks/chunk.6UWS4R34.js +8 -0
  468. package/dist/chunks/chunk.766PN3VI.js +1 -0
  469. package/dist/chunks/chunk.7IS3PQKN.js +1 -0
  470. package/dist/chunks/chunk.7JD2UT6A.js +1 -0
  471. package/dist/chunks/chunk.7VFYUGD6.js +1 -0
  472. package/dist/chunks/chunk.7X2NWNZP.js +55 -0
  473. package/dist/chunks/chunk.ACFE5TVJ.js +25 -0
  474. package/dist/chunks/chunk.AD4SBK65.js +1 -0
  475. package/dist/chunks/chunk.AHFV6WBO.js +113 -0
  476. package/dist/chunks/chunk.AN2CNNH3.js +20 -0
  477. package/dist/chunks/chunk.B2I3FFIQ.js +1 -0
  478. package/dist/chunks/chunk.BAGXAJKO.js +1 -0
  479. package/dist/chunks/chunk.BAYWCQTO.js +1 -0
  480. package/dist/chunks/chunk.BK6SKY54.js +1 -0
  481. package/dist/chunks/chunk.BOBV4O46.js +75 -0
  482. package/dist/chunks/chunk.BT6QLSOO.js +1 -0
  483. package/dist/chunks/chunk.BV6IZ2QN.js +127 -0
  484. package/dist/chunks/chunk.BVG7OM4Q.js +1 -0
  485. package/dist/chunks/chunk.CD6I4VZO.js +1 -0
  486. package/dist/chunks/chunk.CF6D473M.js +280 -0
  487. package/dist/chunks/chunk.CQLL2YKN.js +26 -0
  488. package/dist/chunks/chunk.CW47XTQB.js +1 -0
  489. package/dist/chunks/chunk.D4KXKEFI.js +1 -0
  490. package/dist/chunks/chunk.DF6IRZMZ.js +1157 -0
  491. package/dist/chunks/chunk.E76UUHH4.js +1 -0
  492. package/dist/chunks/chunk.EM4IAMRI.js +1 -0
  493. package/dist/chunks/chunk.ENQAS3E3.js +39 -0
  494. package/dist/chunks/chunk.ENXCABUB.js +1 -0
  495. package/dist/chunks/chunk.EQHUPMJQ.js +1 -0
  496. package/dist/chunks/chunk.EQJX6O4V.js +572 -0
  497. package/dist/chunks/chunk.F3PXS6XR.js +1 -0
  498. package/dist/chunks/chunk.FAWTVVL4.js +1 -0
  499. package/dist/chunks/chunk.FJIJEA4W.js +11 -0
  500. package/dist/chunks/chunk.FRY7JWSR.js +1 -0
  501. package/dist/chunks/chunk.FSHYXKJI.js +300 -0
  502. package/dist/chunks/chunk.G7H6WIM7.js +1 -0
  503. package/dist/chunks/chunk.GJG2G54S.js +62 -0
  504. package/dist/chunks/chunk.GKYP6GCC.js +1 -0
  505. package/dist/chunks/chunk.GQZN3IYC.js +1 -0
  506. package/dist/chunks/chunk.GUKZS6H7.js +1 -0
  507. package/dist/chunks/chunk.GUQPQH73.js +55 -0
  508. package/dist/chunks/chunk.H4TEESQU.js +1 -0
  509. package/dist/chunks/chunk.HEEYAQNP.js +1 -0
  510. package/dist/chunks/chunk.HJIPLW5J.js +37 -0
  511. package/dist/chunks/chunk.HLKDWTZV.js +41 -0
  512. package/dist/chunks/chunk.HVO4YL55.js +4 -0
  513. package/dist/chunks/chunk.HXJR743G.js +1 -0
  514. package/dist/chunks/chunk.HY6RFKDY.js +1 -0
  515. package/dist/chunks/chunk.HZGAYAHT.js +1 -0
  516. package/dist/chunks/chunk.I3GHWZC4.js +16 -0
  517. package/dist/chunks/chunk.I6BL3WPE.js +1 -0
  518. package/dist/chunks/chunk.IHP65UGR.js +33 -0
  519. package/dist/chunks/chunk.IN7ZOX6F.js +1 -0
  520. package/dist/chunks/chunk.IOFVAK65.js +2 -0
  521. package/dist/chunks/chunk.ISBUK3L4.js +1 -0
  522. package/dist/chunks/chunk.IWQ6YFE2.js +145 -0
  523. package/dist/chunks/chunk.JDE47ALB.js +1 -0
  524. package/dist/chunks/chunk.JDUOQDJ3.js +100 -0
  525. package/dist/chunks/chunk.JE6M4M4S.js +65 -0
  526. package/dist/chunks/chunk.JUJ7Y22D.js +74 -0
  527. package/dist/chunks/chunk.JZYLEEB7.js +1 -0
  528. package/dist/chunks/chunk.K6T46UOF.js +1 -0
  529. package/dist/chunks/chunk.KG5CMWFL.js +1 -0
  530. package/dist/chunks/chunk.KGXZLDN7.js +1 -0
  531. package/dist/chunks/chunk.KIZLB2ZY.js +1 -0
  532. package/dist/chunks/chunk.KMMLLCHB.js +1 -0
  533. package/dist/chunks/chunk.KPNCPULO.js +1 -0
  534. package/dist/chunks/chunk.KQD2HFDR.js +1 -0
  535. package/dist/chunks/chunk.KRHZH55I.js +1 -0
  536. package/dist/chunks/chunk.KTSFHPUH.js +26 -0
  537. package/dist/chunks/chunk.KWHNDO3M.js +1 -0
  538. package/dist/chunks/chunk.L2WWAWYC.js +1 -0
  539. package/dist/chunks/chunk.L3PZPPIQ.js +1 -0
  540. package/dist/chunks/chunk.L45W3S3B.js +1 -0
  541. package/dist/chunks/chunk.LFEM3FJX.js +1 -0
  542. package/dist/chunks/chunk.LH7RWUQZ.js +24 -0
  543. package/dist/chunks/chunk.LL6BEIZA.js +5 -0
  544. package/dist/chunks/chunk.LLZSYM64.js +1 -0
  545. package/dist/chunks/chunk.LM4RHNKJ.js +30 -0
  546. package/dist/chunks/chunk.LVWUQXWQ.js +1 -0
  547. package/dist/chunks/chunk.MBFAWLMY.js +9 -0
  548. package/dist/chunks/chunk.MDEHAIAG.js +1 -0
  549. package/dist/chunks/chunk.MK6COBAF.js +43 -0
  550. package/dist/chunks/chunk.MPM3TXSL.js +80 -0
  551. package/dist/chunks/chunk.NA26KJ6N.js +1 -0
  552. package/dist/chunks/chunk.NBJ7ET7E.js +1 -0
  553. package/dist/chunks/chunk.NCDC7TOR.js +1 -0
  554. package/dist/chunks/chunk.NEY2SQ2K.js +14 -0
  555. package/dist/chunks/chunk.NJJIUYH6.js +12 -0
  556. package/dist/chunks/chunk.NXGSNQLW.js +1 -0
  557. package/dist/chunks/chunk.O6Q5WBJ5.js +55 -0
  558. package/dist/chunks/chunk.OCUTIAAQ.js +1 -0
  559. package/dist/chunks/chunk.OFMDUJXM.js +1 -0
  560. package/dist/chunks/chunk.OGQQV2BX.js +1 -0
  561. package/dist/chunks/chunk.ON5BCN2P.js +1 -0
  562. package/dist/chunks/chunk.P5WP3ZNR.js +1 -0
  563. package/dist/chunks/chunk.PALWDZSA.js +1 -0
  564. package/dist/chunks/chunk.PJQAURNT.js +1 -0
  565. package/dist/chunks/chunk.PX2P3YX5.js +142 -0
  566. package/dist/chunks/chunk.PYEHMPWX.js +6 -0
  567. package/dist/chunks/chunk.Q3LRI55J.js +11 -0
  568. package/dist/chunks/chunk.QDUXLZXC.js +51 -0
  569. package/dist/chunks/chunk.QEKD7PQ4.js +1 -0
  570. package/dist/chunks/chunk.QFFYKOAS.js +1 -0
  571. package/dist/chunks/chunk.QH2WOGME.js +1 -0
  572. package/dist/chunks/chunk.QLEWT4JQ.js +23 -0
  573. package/dist/chunks/chunk.QMFEAVMN.js +17 -0
  574. package/dist/chunks/chunk.QV2ZY4DD.js +1 -0
  575. package/dist/chunks/chunk.QV5ITZ7D.js +1 -0
  576. package/dist/chunks/chunk.R5PRDVSU.js +48 -0
  577. package/dist/chunks/chunk.R6Q4JCND.js +1 -0
  578. package/dist/chunks/chunk.REKMTQRY.js +1 -0
  579. package/dist/chunks/chunk.RJML3ZEW.js +1 -0
  580. package/dist/chunks/chunk.ROCTMAMM.js +1 -0
  581. package/dist/chunks/chunk.RTXL2G7J.js +99 -0
  582. package/dist/chunks/chunk.S74OFI5C.js +1 -0
  583. package/dist/chunks/chunk.SBMSU6KI.js +35 -0
  584. package/dist/chunks/chunk.SGESE6DO.js +1 -0
  585. package/dist/chunks/chunk.SIB5Q6QQ.js +1 -0
  586. package/dist/chunks/chunk.SNMZJK77.js +1 -0
  587. package/dist/chunks/chunk.SP77OFFN.js +1 -0
  588. package/dist/chunks/chunk.STV7F7TN.js +1 -0
  589. package/dist/chunks/chunk.SU44CMPF.js +1 -0
  590. package/dist/chunks/chunk.SVLWTIBE.js +1 -0
  591. package/dist/chunks/chunk.SXBEKR3M.js +1 -0
  592. package/dist/chunks/chunk.SYEGBJVG.js +157 -0
  593. package/dist/chunks/chunk.T2BWAH5M.js +1 -0
  594. package/dist/chunks/chunk.T7WOIW6P.js +1 -0
  595. package/dist/chunks/chunk.TAQPGW7M.js +1 -0
  596. package/dist/chunks/chunk.TEOQ7XY3.js +67 -0
  597. package/dist/chunks/chunk.TGY77T44.js +122 -0
  598. package/dist/chunks/chunk.TK2JSJCN.js +12 -0
  599. package/dist/chunks/chunk.TPV33XNJ.js +1 -0
  600. package/dist/chunks/chunk.TTSYVAEW.js +1 -0
  601. package/dist/chunks/chunk.TVO3XZ2N.js +1 -0
  602. package/dist/chunks/chunk.TXOI254L.js +47 -0
  603. package/dist/chunks/chunk.TYI6WGK7.js +1 -0
  604. package/dist/chunks/chunk.U3F7WCPA.js +1 -0
  605. package/dist/chunks/chunk.U465JMCV.js +1 -0
  606. package/dist/chunks/chunk.U6HUBMNB.js +1 -0
  607. package/dist/chunks/chunk.U7OFS4YO.js +1 -0
  608. package/dist/chunks/chunk.UEIOQPHW.js +9 -0
  609. package/dist/chunks/chunk.UKUWK3UY.js +1 -0
  610. package/dist/chunks/chunk.UKWCOY7A.js +1 -0
  611. package/dist/chunks/chunk.UNRENVA4.js +1 -0
  612. package/dist/chunks/chunk.UOWK4M4L.js +1 -0
  613. package/dist/chunks/chunk.V242FK7Q.js +1 -0
  614. package/dist/chunks/chunk.V4CGJNAJ.js +30 -0
  615. package/dist/chunks/chunk.VDIB3NRZ.js +1 -0
  616. package/dist/chunks/chunk.VFE2HBPZ.js +20 -0
  617. package/dist/chunks/chunk.VP5IYIOB.js +8 -0
  618. package/dist/chunks/chunk.W2QZOO6Z.js +1 -0
  619. package/dist/chunks/chunk.W6SU4PRC.js +1 -0
  620. package/dist/chunks/chunk.W7H2V3HN.js +27 -0
  621. package/dist/chunks/chunk.WAD5F7IY.js +1 -0
  622. package/dist/chunks/chunk.WAYKA4GY.js +1 -0
  623. package/dist/chunks/chunk.WEMSJJQN.js +300 -0
  624. package/dist/chunks/chunk.WFNB4UWK.js +1 -0
  625. package/dist/chunks/chunk.WGWLPC2C.js +1 -0
  626. package/dist/chunks/chunk.WLSBHYJK.js +780 -0
  627. package/dist/chunks/chunk.WNP2BTB4.js +43 -0
  628. package/dist/chunks/chunk.WOPNQVFQ.js +5 -0
  629. package/dist/chunks/chunk.WRJYRBGT.js +1 -0
  630. package/dist/chunks/chunk.WZVYVECU.js +1 -0
  631. package/dist/chunks/chunk.X3JEFEVB.js +1 -0
  632. package/dist/chunks/chunk.X5PXI5E6.js +1 -0
  633. package/dist/chunks/chunk.X74ZBUDB.js +22 -0
  634. package/dist/chunks/chunk.XB3O7ORG.js +1 -0
  635. package/dist/chunks/chunk.XFH26EMI.js +1 -0
  636. package/dist/chunks/chunk.XTDTWZSX.js +1 -0
  637. package/dist/chunks/chunk.XVC3SMLN.js +1 -0
  638. package/dist/chunks/chunk.XYMWO3Y6.js +1 -0
  639. package/dist/chunks/chunk.Y2G3I3B3.js +35 -0
  640. package/dist/chunks/chunk.Y4SZNHG5.js +1 -0
  641. package/dist/chunks/chunk.Y4U7SQM2.js +1 -0
  642. package/dist/chunks/chunk.Y5FRCL7O.js +1 -0
  643. package/dist/chunks/chunk.Y5HJPERY.js +1 -0
  644. package/dist/chunks/chunk.YKDLYMHH.js +115 -0
  645. package/dist/chunks/chunk.YN3KH4A6.js +1 -0
  646. package/dist/chunks/chunk.YN755QKE.js +154 -0
  647. package/dist/chunks/chunk.YZLKAK5D.js +1 -0
  648. package/dist/chunks/chunk.Z44ETYQS.js +1 -0
  649. package/dist/chunks/chunk.Z5S2XQG5.js +1 -0
  650. package/dist/chunks/chunk.ZAZOHAFA.js +1 -0
  651. package/dist/chunks/chunk.ZUHRBHV4.js +1 -0
  652. package/dist/components/accordion/accordion.component.js +1 -1
  653. package/dist/components/accordion/accordion.js +1 -1
  654. package/dist/components/alert/alert.component.js +1 -1
  655. package/dist/components/alert/alert.js +1 -1
  656. package/dist/components/avatar/avatar.component.js +1 -1
  657. package/dist/components/avatar/avatar.js +1 -1
  658. package/dist/components/badge/badge.component.js +1 -1
  659. package/dist/components/badge/badge.js +1 -1
  660. package/dist/components/banner/banner.component.js +1 -1
  661. package/dist/components/banner/banner.js +1 -1
  662. package/dist/components/breadcrumb/breadcrumb.component.js +1 -1
  663. package/dist/components/breadcrumb/breadcrumb.js +1 -1
  664. package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -1
  665. package/dist/components/breadcrumbs/breadcrumbs.js +1 -1
  666. package/dist/components/browse-variables/browse-variables.component.js +1 -1
  667. package/dist/components/browse-variables/browse-variables.controller.js +1 -1
  668. package/dist/components/browse-variables/browse-variables.js +1 -1
  669. package/dist/components/button/button.component.js +1 -1
  670. package/dist/components/button/button.js +1 -1
  671. package/dist/components/button-group/button-group.component.js +1 -1
  672. package/dist/components/button-group/button-group.js +1 -1
  673. package/dist/components/caption/caption.component.js +1 -1
  674. package/dist/components/caption/caption.js +1 -1
  675. package/dist/components/card/card.component.js +1 -1
  676. package/dist/components/card/card.js +1 -1
  677. package/dist/components/checkbox/checkbox.component.js +1 -1
  678. package/dist/components/checkbox/checkbox.js +1 -1
  679. package/dist/components/chip/chip.component.js +1 -1
  680. package/dist/components/chip/chip.js +1 -1
  681. package/dist/components/combobox/combobox.component.js +1 -1
  682. package/dist/components/combobox/combobox.js +1 -1
  683. package/dist/components/data-access/data-access.component.js +1 -1
  684. package/dist/components/data-access/data-access.js +1 -1
  685. package/dist/components/data-grid/data-grid.component.js +1 -1
  686. package/dist/components/data-grid/data-grid.js +1 -1
  687. package/dist/components/data-rods/data-rods.component.js +1 -1
  688. package/dist/components/data-rods/data-rods.js +1 -1
  689. package/dist/components/data-subsetter/data-subsetter.component.d.ts +2 -0
  690. package/dist/components/data-subsetter/data-subsetter.component.js +1 -1
  691. package/dist/components/data-subsetter/data-subsetter.js +1 -1
  692. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  693. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -1
  694. package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -1
  695. package/dist/components/date-picker/date-picker.component.d.ts +27 -0
  696. package/dist/components/date-picker/date-picker.component.js +1 -1
  697. package/dist/components/date-picker/date-picker.js +1 -1
  698. package/dist/components/date-range-slider/date-range-slider.component.js +1 -1
  699. package/dist/components/date-range-slider/date-range-slider.js +1 -1
  700. package/dist/components/dialog/dialog.component.js +1 -1
  701. package/dist/components/dialog/dialog.js +1 -1
  702. package/dist/components/divider/divider.component.js +1 -1
  703. package/dist/components/divider/divider.js +1 -1
  704. package/dist/components/dropdown/dropdown.component.js +1 -1
  705. package/dist/components/dropdown/dropdown.js +1 -1
  706. package/dist/components/earthdata-login/earthdata-login.component.js +1 -1
  707. package/dist/components/earthdata-login/earthdata-login.js +1 -1
  708. package/dist/components/file-upload/file-upload.component.js +1 -1
  709. package/dist/components/file-upload/file-upload.js +1 -1
  710. package/dist/components/harmony-history/harmony-history.component.js +1 -1
  711. package/dist/components/harmony-history/harmony-history.js +1 -1
  712. package/dist/components/icon/icon.component.js +1 -1
  713. package/dist/components/icon/icon.js +1 -1
  714. package/dist/components/input/input.component.js +1 -1
  715. package/dist/components/input/input.js +1 -1
  716. package/dist/components/loader/loader.component.js +1 -1
  717. package/dist/components/loader/loader.js +1 -1
  718. package/dist/components/login/login.component.js +1 -1
  719. package/dist/components/login/login.js +1 -1
  720. package/dist/components/map/map.component.js +1 -1
  721. package/dist/components/map/map.js +1 -1
  722. package/dist/components/map/map.service.js +1 -1
  723. package/dist/components/map/type.d.ts +2 -0
  724. package/dist/components/menu/menu.component.js +1 -1
  725. package/dist/components/menu/menu.js +1 -1
  726. package/dist/components/menu-item/menu-item.component.js +1 -1
  727. package/dist/components/menu-item/menu-item.js +1 -1
  728. package/dist/components/option/option.component.js +1 -1
  729. package/dist/components/option/option.js +1 -1
  730. package/dist/components/pagination/pagination.component.js +1 -1
  731. package/dist/components/pagination/pagination.js +1 -1
  732. package/dist/components/plot/plot.component.js +1 -1
  733. package/dist/components/plot/plot.js +1 -1
  734. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  735. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  736. package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -1
  737. package/dist/components/plot-toolbar/plot-toolbar.controller.js +1 -1
  738. package/dist/components/plot-toolbar/plot-toolbar.js +1 -1
  739. package/dist/components/popup/popup.component.js +1 -1
  740. package/dist/components/popup/popup.js +1 -1
  741. package/dist/components/progress-bar/progress-bar.component.js +1 -1
  742. package/dist/components/progress-bar/progress-bar.js +1 -1
  743. package/dist/components/radio/radio.component.js +1 -1
  744. package/dist/components/radio/radio.js +1 -1
  745. package/dist/components/radio-group/radio-group.component.js +1 -1
  746. package/dist/components/radio-group/radio-group.js +1 -1
  747. package/dist/components/scroll-hint/scroll-hint.component.js +1 -1
  748. package/dist/components/scroll-hint/scroll-hint.js +1 -1
  749. package/dist/components/select/select.component.js +1 -1
  750. package/dist/components/select/select.js +1 -1
  751. package/dist/components/site-header/site-header.component.js +1 -1
  752. package/dist/components/site-header/site-header.js +1 -1
  753. package/dist/components/site-navigation/site-navigation.component.js +1 -1
  754. package/dist/components/site-navigation/site-navigation.js +1 -1
  755. package/dist/components/skeleton/skeleton.component.js +1 -1
  756. package/dist/components/skeleton/skeleton.js +1 -1
  757. package/dist/components/slider/slider.component.js +1 -1
  758. package/dist/components/slider/slider.js +1 -1
  759. package/dist/components/spatial-picker/spatial-picker.component.d.ts +5 -0
  760. package/dist/components/spatial-picker/spatial-picker.component.js +1 -1
  761. package/dist/components/spatial-picker/spatial-picker.js +1 -1
  762. package/dist/components/status-indicator/status-indicator.component.js +1 -1
  763. package/dist/components/status-indicator/status-indicator.js +1 -1
  764. package/dist/components/stepper/stepper.component.js +1 -1
  765. package/dist/components/stepper/stepper.js +1 -1
  766. package/dist/components/stepper-step/stepper-step.component.js +1 -1
  767. package/dist/components/stepper-step/stepper-step.js +1 -1
  768. package/dist/components/tab/tab.component.js +1 -1
  769. package/dist/components/tab/tab.js +1 -1
  770. package/dist/components/tab-panel/tab-panel.component.js +1 -1
  771. package/dist/components/tab-panel/tab-panel.js +1 -1
  772. package/dist/components/tabs/tabs.component.js +1 -1
  773. package/dist/components/tabs/tabs.js +1 -1
  774. package/dist/components/tag/tag.component.js +1 -1
  775. package/dist/components/tag/tag.js +1 -1
  776. package/dist/components/textarea/textarea.component.js +1 -1
  777. package/dist/components/textarea/textarea.js +1 -1
  778. package/dist/components/time-average-map/time-average-map.component.js +1 -1
  779. package/dist/components/time-average-map/time-average-map.controller.js +1 -1
  780. package/dist/components/time-average-map/time-average-map.js +1 -1
  781. package/dist/components/time-series/time-series-cache.service.d.ts +6 -0
  782. package/dist/components/time-series/time-series-cache.service.js +1 -1
  783. package/dist/components/time-series/time-series.component.js +1 -1
  784. package/dist/components/time-series/time-series.controller.js +1 -1
  785. package/dist/components/time-series/time-series.js +1 -1
  786. package/dist/components/toast/toast.component.js +1 -1
  787. package/dist/components/toast/toast.js +1 -1
  788. package/dist/components/toggle/toggle.component.js +1 -1
  789. package/dist/components/toggle/toggle.js +1 -1
  790. package/dist/components/tooltip/tooltip.component.js +1 -1
  791. package/dist/components/tooltip/tooltip.js +1 -1
  792. package/dist/components/variable-combobox/variable-combobox.component.js +1 -1
  793. package/dist/components/variable-combobox/variable-combobox.js +1 -1
  794. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -1
  795. package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +1 -1
  796. package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
  797. package/dist/custom-elements.json +433 -213
  798. package/dist/lib/harmony/harmony.request.d.ts +11 -0
  799. package/dist/react/accordion/index.js +1 -1
  800. package/dist/react/alert/index.js +1 -1
  801. package/dist/react/avatar/index.js +1 -1
  802. package/dist/react/badge/index.js +1 -1
  803. package/dist/react/banner/index.js +1 -1
  804. package/dist/react/breadcrumb/index.js +1 -1
  805. package/dist/react/breadcrumbs/index.js +1 -1
  806. package/dist/react/browse-variables/index.js +1 -1
  807. package/dist/react/button/index.js +1 -1
  808. package/dist/react/button-group/index.js +1 -1
  809. package/dist/react/caption/index.js +1 -1
  810. package/dist/react/card/index.js +1 -1
  811. package/dist/react/checkbox/index.js +1 -1
  812. package/dist/react/chip/index.js +1 -1
  813. package/dist/react/combobox/index.js +1 -1
  814. package/dist/react/data-access/index.js +1 -1
  815. package/dist/react/data-grid/index.js +1 -1
  816. package/dist/react/data-rods/index.js +1 -1
  817. package/dist/react/data-subsetter/index.js +1 -1
  818. package/dist/react/data-subsetter-history/index.js +1 -1
  819. package/dist/react/date-picker/index.js +1 -1
  820. package/dist/react/date-range-slider/index.js +1 -1
  821. package/dist/react/dialog/index.js +1 -1
  822. package/dist/react/divider/index.js +1 -1
  823. package/dist/react/dropdown/index.js +1 -1
  824. package/dist/react/earthdata-login/index.js +1 -1
  825. package/dist/react/file-upload/index.js +1 -1
  826. package/dist/react/harmony-history/index.js +1 -1
  827. package/dist/react/icon/index.js +1 -1
  828. package/dist/react/index.d.ts +1 -1
  829. package/dist/react/index.js +1 -1
  830. package/dist/react/input/index.js +1 -1
  831. package/dist/react/loader/index.js +1 -1
  832. package/dist/react/login/index.js +1 -1
  833. package/dist/react/map/index.js +1 -1
  834. package/dist/react/menu/index.js +1 -1
  835. package/dist/react/menu-item/index.js +1 -1
  836. package/dist/react/option/index.js +1 -1
  837. package/dist/react/pagination/index.js +1 -1
  838. package/dist/react/plot/index.js +1 -1
  839. package/dist/react/plot-toolbar/index.js +1 -1
  840. package/dist/react/popup/index.js +1 -1
  841. package/dist/react/progress-bar/index.js +1 -1
  842. package/dist/react/radio/index.js +1 -1
  843. package/dist/react/radio-group/index.js +1 -1
  844. package/dist/react/scroll-hint/index.js +1 -1
  845. package/dist/react/select/index.js +1 -1
  846. package/dist/react/site-header/index.js +1 -1
  847. package/dist/react/site-navigation/index.js +1 -1
  848. package/dist/react/skeleton/index.js +1 -1
  849. package/dist/react/slider/index.js +1 -1
  850. package/dist/react/spatial-picker/index.js +1 -1
  851. package/dist/react/status-indicator/index.js +1 -1
  852. package/dist/react/stepper/index.js +1 -1
  853. package/dist/react/stepper-step/index.js +1 -1
  854. package/dist/react/tab/index.js +1 -1
  855. package/dist/react/tab-panel/index.js +1 -1
  856. package/dist/react/tabs/index.js +1 -1
  857. package/dist/react/tag/index.js +1 -1
  858. package/dist/react/textarea/index.js +1 -1
  859. package/dist/react/time-average-map/index.js +1 -1
  860. package/dist/react/time-series/index.js +1 -1
  861. package/dist/react/toast/index.js +1 -1
  862. package/dist/react/toggle/index.js +1 -1
  863. package/dist/react/tooltip/index.js +1 -1
  864. package/dist/react/variable-combobox/index.js +1 -1
  865. package/dist/react/variable-keyword-search/index.js +1 -1
  866. package/dist/terra-ui-components.js +1 -1
  867. package/dist/terra_ui_components-0.0.191-py3-none-any.whl +0 -0
  868. package/dist/terra_ui_components-0.0.191.tar.gz +0 -0
  869. package/dist/types/vue/index.d.ts +88 -77
  870. package/dist/utilities/harmony.d.ts +11 -0
  871. package/dist/utilities/harmony.js +1 -1
  872. package/dist/utilities/variable-task.js +1 -1
  873. package/dist/vscode.html-custom-data.json +56 -41
  874. package/dist/web-types.json +145 -113
  875. package/package.json +2 -1
  876. package/cdn/chunks/chunk.2254DWDE.js +0 -1197
  877. package/cdn/chunks/chunk.262RP2XE.js +0 -56075
  878. package/cdn/chunks/chunk.26J2HGHO.js +0 -190
  879. package/cdn/chunks/chunk.26UZKSB4.js +0 -352
  880. package/cdn/chunks/chunk.2PEBPN6E.js +0 -241
  881. package/cdn/chunks/chunk.33BHFHKT.js +0 -110
  882. package/cdn/chunks/chunk.35R3FIWH.js +0 -29
  883. package/cdn/chunks/chunk.36UI73QC.js +0 -29
  884. package/cdn/chunks/chunk.3GC3VEPG.js +0 -19
  885. package/cdn/chunks/chunk.3HGY2OQN.js +0 -493
  886. package/cdn/chunks/chunk.3OYBNUEI.js +0 -2263
  887. package/cdn/chunks/chunk.3S7WMMIE.js +0 -478
  888. package/cdn/chunks/chunk.3SWDEX6X.js +0 -83
  889. package/cdn/chunks/chunk.3TXZPWC4.js +0 -303
  890. package/cdn/chunks/chunk.3U6NF62S.js +0 -276
  891. package/cdn/chunks/chunk.3WW575WA.js +0 -60
  892. package/cdn/chunks/chunk.45CXCBSK.js +0 -19
  893. package/cdn/chunks/chunk.47KJF23J.js +0 -35
  894. package/cdn/chunks/chunk.4ISWIXVN.js +0 -19
  895. package/cdn/chunks/chunk.4NQI77PM.js +0 -19
  896. package/cdn/chunks/chunk.564J4JRX.js +0 -19
  897. package/cdn/chunks/chunk.5AQKME2B.js +0 -68
  898. package/cdn/chunks/chunk.5CH4R2XF.js +0 -230
  899. package/cdn/chunks/chunk.5QL2BX3U.js +0 -357
  900. package/cdn/chunks/chunk.5ST44KN5.js +0 -29
  901. package/cdn/chunks/chunk.5T2GTQTE.js +0 -45
  902. package/cdn/chunks/chunk.5WLOWVTH.js +0 -19
  903. package/cdn/chunks/chunk.5XN4CHYS.js +0 -19
  904. package/cdn/chunks/chunk.65NJM3X5.js +0 -234
  905. package/cdn/chunks/chunk.67KZOH4P.js +0 -29
  906. package/cdn/chunks/chunk.6EF3RM53.js +0 -195
  907. package/cdn/chunks/chunk.6F2A5RGO.js +0 -32
  908. package/cdn/chunks/chunk.6SHDOSDX.js +0 -1259
  909. package/cdn/chunks/chunk.6TKJKIGR.js +0 -259
  910. package/cdn/chunks/chunk.6TXAD2M5.js +0 -891
  911. package/cdn/chunks/chunk.6WUVTS5T.js +0 -19
  912. package/cdn/chunks/chunk.6Y2YJ7VI.js +0 -93
  913. package/cdn/chunks/chunk.7ISACLMG.js +0 -19
  914. package/cdn/chunks/chunk.7T63UPCR.js +0 -113
  915. package/cdn/chunks/chunk.A2JK2DEX.js +0 -19
  916. package/cdn/chunks/chunk.A4Z7IIES.js +0 -78
  917. package/cdn/chunks/chunk.A5PVJF4Q.js +0 -132
  918. package/cdn/chunks/chunk.A7RI43SW.js +0 -29
  919. package/cdn/chunks/chunk.AKPUZW7W.js +0 -19
  920. package/cdn/chunks/chunk.AT6JJ7OV.js +0 -19
  921. package/cdn/chunks/chunk.AVBFDPBA.js +0 -19
  922. package/cdn/chunks/chunk.AYVGZCLZ.js +0 -551
  923. package/cdn/chunks/chunk.B4TFLVNP.js +0 -36
  924. package/cdn/chunks/chunk.BA3EXOZR.js +0 -155
  925. package/cdn/chunks/chunk.BP6TJGHY.js +0 -224
  926. package/cdn/chunks/chunk.BPEXBRN7.js +0 -19
  927. package/cdn/chunks/chunk.C2FX7JKT.js +0 -30
  928. package/cdn/chunks/chunk.CCMCLTO5.js +0 -29
  929. package/cdn/chunks/chunk.CDC6ECAD.js +0 -1975
  930. package/cdn/chunks/chunk.CQ2HGWVM.js +0 -19
  931. package/cdn/chunks/chunk.CV6WLSVP.js +0 -19
  932. package/cdn/chunks/chunk.D5UTEPJY.js +0 -29
  933. package/cdn/chunks/chunk.DA5AJNT3.js +0 -19
  934. package/cdn/chunks/chunk.DEHXTBBK.js +0 -33
  935. package/cdn/chunks/chunk.DFLPZEVR.js +0 -32
  936. package/cdn/chunks/chunk.DOUH7RMC.js +0 -41
  937. package/cdn/chunks/chunk.DUCD56DE.js +0 -29
  938. package/cdn/chunks/chunk.ECTHCJK7.js +0 -539
  939. package/cdn/chunks/chunk.EEAYQF6R.js +0 -36
  940. package/cdn/chunks/chunk.EJKUYYF5.js +0 -29
  941. package/cdn/chunks/chunk.EPT3I5PV.js +0 -36
  942. package/cdn/chunks/chunk.EQNEWWN7.js +0 -32
  943. package/cdn/chunks/chunk.EVETX6CC.js +0 -47
  944. package/cdn/chunks/chunk.F2L2AHAX.js +0 -19
  945. package/cdn/chunks/chunk.F3PALOOP.js +0 -124
  946. package/cdn/chunks/chunk.F3PBZ4K2.js +0 -32
  947. package/cdn/chunks/chunk.FFIWGCVU.js +0 -99
  948. package/cdn/chunks/chunk.FHGT252S.js +0 -359
  949. package/cdn/chunks/chunk.FOHMHGWP.js +0 -19
  950. package/cdn/chunks/chunk.FRIENHWD.js +0 -19
  951. package/cdn/chunks/chunk.FSJNUBNL.js +0 -29
  952. package/cdn/chunks/chunk.GBI6BYU7.js +0 -19
  953. package/cdn/chunks/chunk.GDEOUVFA.js +0 -19
  954. package/cdn/chunks/chunk.GEGQWMR7.js +0 -19
  955. package/cdn/chunks/chunk.GF3ZBX77.js +0 -330
  956. package/cdn/chunks/chunk.GLEUAGZQ.js +0 -33
  957. package/cdn/chunks/chunk.GTJW4TWM.js +0 -19
  958. package/cdn/chunks/chunk.H23GKZYM.js +0 -437
  959. package/cdn/chunks/chunk.H5WUFEGF.js +0 -104
  960. package/cdn/chunks/chunk.HAM7CMN5.js +0 -113
  961. package/cdn/chunks/chunk.HJGSBK77.js +0 -19
  962. package/cdn/chunks/chunk.HSILZMCT.js +0 -19
  963. package/cdn/chunks/chunk.HUU6UOOJ.js +0 -663
  964. package/cdn/chunks/chunk.HYIOQ4VO.js +0 -231
  965. package/cdn/chunks/chunk.ICMS2GTW.js +0 -32
  966. package/cdn/chunks/chunk.IMZ2PUUZ.js +0 -29
  967. package/cdn/chunks/chunk.IPP7PQYM.js +0 -33
  968. package/cdn/chunks/chunk.ISJMOZQH.js +0 -74
  969. package/cdn/chunks/chunk.IUVYGTSB.js +0 -33
  970. package/cdn/chunks/chunk.IXC72OPP.js +0 -29
  971. package/cdn/chunks/chunk.IXTOOQL6.js +0 -19
  972. package/cdn/chunks/chunk.J6OYJXBE.js +0 -19
  973. package/cdn/chunks/chunk.JCD27DBZ.js +0 -29
  974. package/cdn/chunks/chunk.JJPMJZVA.js +0 -29
  975. package/cdn/chunks/chunk.JP632EER.js +0 -19
  976. package/cdn/chunks/chunk.JPVE4VMN.js +0 -310
  977. package/cdn/chunks/chunk.JQDLN76T.js +0 -19
  978. package/cdn/chunks/chunk.K7NDNEO3.js +0 -32
  979. package/cdn/chunks/chunk.KALKPFEM.js +0 -29
  980. package/cdn/chunks/chunk.KAZO73JL.js +0 -19
  981. package/cdn/chunks/chunk.KNUKVURG.js +0 -196
  982. package/cdn/chunks/chunk.KOJBQWLN.js +0 -29
  983. package/cdn/chunks/chunk.KQZCVDQH.js +0 -9741
  984. package/cdn/chunks/chunk.KRJ3544T.js +0 -19
  985. package/cdn/chunks/chunk.KRXWPPRW.js +0 -32
  986. package/cdn/chunks/chunk.KYYZNB77.js +0 -538
  987. package/cdn/chunks/chunk.L2HZBTUI.js +0 -19
  988. package/cdn/chunks/chunk.L2LRD76T.js +0 -60
  989. package/cdn/chunks/chunk.L6YIIWMJ.js +0 -39
  990. package/cdn/chunks/chunk.LANTKQ6J.js +0 -19
  991. package/cdn/chunks/chunk.LGASTYNC.js +0 -62
  992. package/cdn/chunks/chunk.LY2MO4WB.js +0 -266
  993. package/cdn/chunks/chunk.LYBULWCK.js +0 -138
  994. package/cdn/chunks/chunk.M2XUBKCS.js +0 -19
  995. package/cdn/chunks/chunk.MF3WDXVC.js +0 -29
  996. package/cdn/chunks/chunk.MFWCWKQW.js +0 -19
  997. package/cdn/chunks/chunk.MGZ4OUHF.js +0 -19
  998. package/cdn/chunks/chunk.MIIW42T5.js +0 -19
  999. package/cdn/chunks/chunk.MJMUGCPO.js +0 -29
  1000. package/cdn/chunks/chunk.MNHYBM5Z.js +0 -82
  1001. package/cdn/chunks/chunk.MTEJSLJ7.js +0 -29
  1002. package/cdn/chunks/chunk.MU7KT4WB.js +0 -19
  1003. package/cdn/chunks/chunk.MVJSUWYZ.js +0 -19
  1004. package/cdn/chunks/chunk.MXF6XQNU.js +0 -19
  1005. package/cdn/chunks/chunk.MXPGGV5E.js +0 -524
  1006. package/cdn/chunks/chunk.N6RPSEYY.js +0 -293
  1007. package/cdn/chunks/chunk.ND3745YQ.js +0 -94
  1008. package/cdn/chunks/chunk.NXTFWRHB.js +0 -86
  1009. package/cdn/chunks/chunk.NYKDNCHN.js +0 -19
  1010. package/cdn/chunks/chunk.O4R7PTMM.js +0 -915
  1011. package/cdn/chunks/chunk.O5PYYEPN.js +0 -35
  1012. package/cdn/chunks/chunk.OF3FMFHW.js +0 -35
  1013. package/cdn/chunks/chunk.OIXADKW2.js +0 -186
  1014. package/cdn/chunks/chunk.P6233WZY.js +0 -532
  1015. package/cdn/chunks/chunk.P6CMO6UZ.js +0 -99
  1016. package/cdn/chunks/chunk.PGYLRQFG.js +0 -19
  1017. package/cdn/chunks/chunk.PJXBIMAE.js +0 -32
  1018. package/cdn/chunks/chunk.PYND2VML.js +0 -599
  1019. package/cdn/chunks/chunk.Q2NWOLHL.js +0 -19
  1020. package/cdn/chunks/chunk.Q44BATKG.js +0 -158
  1021. package/cdn/chunks/chunk.Q73UFZXB.js +0 -29
  1022. package/cdn/chunks/chunk.Q7SV5DAR.js +0 -29
  1023. package/cdn/chunks/chunk.QBPS4V2I.js +0 -19
  1024. package/cdn/chunks/chunk.QCKKTVS2.js +0 -32
  1025. package/cdn/chunks/chunk.QFQLLSEZ.js +0 -29
  1026. package/cdn/chunks/chunk.QG6HLMSI.js +0 -29
  1027. package/cdn/chunks/chunk.QGWK5PB4.js +0 -63
  1028. package/cdn/chunks/chunk.QHZGME7O.js +0 -188
  1029. package/cdn/chunks/chunk.QJQWUFQG.js +0 -19
  1030. package/cdn/chunks/chunk.QREPQHHM.js +0 -32
  1031. package/cdn/chunks/chunk.QU3RKC7F.js +0 -29
  1032. package/cdn/chunks/chunk.QWEARTJZ.js +0 -19
  1033. package/cdn/chunks/chunk.R2K7YI7D.js +0 -128
  1034. package/cdn/chunks/chunk.R6FQRIIQ.js +0 -151
  1035. package/cdn/chunks/chunk.REAGMPVS.js +0 -19
  1036. package/cdn/chunks/chunk.RFMX3Z3J.js +0 -19
  1037. package/cdn/chunks/chunk.RNWMH5KE.js +0 -37
  1038. package/cdn/chunks/chunk.RU34LNOQ.js +0 -2555
  1039. package/cdn/chunks/chunk.RZTDAMTW.js +0 -278
  1040. package/cdn/chunks/chunk.S3KNMW6P.js +0 -32
  1041. package/cdn/chunks/chunk.S5YZQD7X.js +0 -49
  1042. package/cdn/chunks/chunk.SE5BI2SX.js +0 -904
  1043. package/cdn/chunks/chunk.SISTE6BF.js +0 -170
  1044. package/cdn/chunks/chunk.SMQJ5R6S.js +0 -123
  1045. package/cdn/chunks/chunk.SQZOUKTN.js +0 -19
  1046. package/cdn/chunks/chunk.SRN76VVR.js +0 -19
  1047. package/cdn/chunks/chunk.SZVOEV6H.js +0 -29
  1048. package/cdn/chunks/chunk.T4ASJ5DA.js +0 -294
  1049. package/cdn/chunks/chunk.TAKBJ4KW.js +0 -37
  1050. package/cdn/chunks/chunk.TAL5NXNQ.js +0 -19
  1051. package/cdn/chunks/chunk.TJMBLJW2.js +0 -29
  1052. package/cdn/chunks/chunk.TQLLYTCG.js +0 -19
  1053. package/cdn/chunks/chunk.TY4ORAQ7.js +0 -19
  1054. package/cdn/chunks/chunk.U4NYKRMO.js +0 -19
  1055. package/cdn/chunks/chunk.U6NE6OMF.js +0 -19
  1056. package/cdn/chunks/chunk.UBRRAXVT.js +0 -161
  1057. package/cdn/chunks/chunk.UOGPQCIT.js +0 -19
  1058. package/cdn/chunks/chunk.URMJZSQP.js +0 -29
  1059. package/cdn/chunks/chunk.UUH3P6U6.js +0 -29
  1060. package/cdn/chunks/chunk.UXR5JZ2Z.js +0 -34
  1061. package/cdn/chunks/chunk.VCPLLAGP.js +0 -294
  1062. package/cdn/chunks/chunk.VDHEXGOZ.js +0 -36
  1063. package/cdn/chunks/chunk.VJZLDXMR.js +0 -658
  1064. package/cdn/chunks/chunk.VMT2OA4F.js +0 -71
  1065. package/cdn/chunks/chunk.VOVZK7CH.js +0 -19
  1066. package/cdn/chunks/chunk.VXVQVMGN.js +0 -19
  1067. package/cdn/chunks/chunk.W5LR7MI7.js +0 -377
  1068. package/cdn/chunks/chunk.W7II6UEO.js +0 -34
  1069. package/cdn/chunks/chunk.WA5AZ33L.js +0 -134
  1070. package/cdn/chunks/chunk.WV5U6JXW.js +0 -616
  1071. package/cdn/chunks/chunk.XB3WNOCD.js +0 -35
  1072. package/cdn/chunks/chunk.XDKRVIUT.js +0 -33
  1073. package/cdn/chunks/chunk.XMSEFR5A.js +0 -32
  1074. package/cdn/chunks/chunk.XX64ET6U.js +0 -35
  1075. package/cdn/chunks/chunk.Y6E2F5ZU.js +0 -19
  1076. package/cdn/chunks/chunk.YNU663NG.js +0 -29
  1077. package/cdn/chunks/chunk.YOZWKBNL.js +0 -19
  1078. package/cdn/chunks/chunk.YQXMPDBV.js +0 -135
  1079. package/cdn/chunks/chunk.YREZWMUX.js +0 -32
  1080. package/cdn/chunks/chunk.YTZGPIYR.js +0 -92
  1081. package/cdn/chunks/chunk.YWOGPBYJ.js +0 -29
  1082. package/cdn/chunks/chunk.YZJY5KHP.js +0 -443
  1083. package/cdn/chunks/chunk.ZEJSSTEK.js +0 -610
  1084. package/cdn/chunks/chunk.ZFQJ43PN.js +0 -32
  1085. package/cdn/chunks/chunk.ZGP4LK6V.js +0 -19
  1086. package/cdn/chunks/chunk.ZI54JMC5.js +0 -136
  1087. package/cdn/chunks/chunk.ZMWJFNDI.js +0 -19
  1088. package/cdn/chunks/chunk.ZS2NFAQK.js +0 -68
  1089. package/cdn/chunks/chunk.ZXPUZVAS.js +0 -34
  1090. package/dist/chunks/chunk.24AEZQMY.js +0 -1
  1091. package/dist/chunks/chunk.2AUL36FB.js +0 -1
  1092. package/dist/chunks/chunk.2EOIJGD7.js +0 -2
  1093. package/dist/chunks/chunk.2F6VKICO.js +0 -1
  1094. package/dist/chunks/chunk.2K4PQYF7.js +0 -1
  1095. package/dist/chunks/chunk.2KBWAAOZ.js +0 -127
  1096. package/dist/chunks/chunk.2O6UGT2E.js +0 -1
  1097. package/dist/chunks/chunk.2QJ5ILLT.js +0 -5
  1098. package/dist/chunks/chunk.2TEFEWMH.js +0 -1
  1099. package/dist/chunks/chunk.2U6NRRJX.js +0 -55
  1100. package/dist/chunks/chunk.2VBMVTVL.js +0 -1
  1101. package/dist/chunks/chunk.2WJQNEGW.js +0 -1
  1102. package/dist/chunks/chunk.32IM5557.js +0 -1
  1103. package/dist/chunks/chunk.3C5PLPEL.js +0 -1
  1104. package/dist/chunks/chunk.3F7A2YCE.js +0 -80
  1105. package/dist/chunks/chunk.3JJJ3A5W.js +0 -1
  1106. package/dist/chunks/chunk.3L5IUZSR.js +0 -1
  1107. package/dist/chunks/chunk.3PSWPHUS.js +0 -12
  1108. package/dist/chunks/chunk.3QJKE2MF.js +0 -1
  1109. package/dist/chunks/chunk.3QO7J7CV.js +0 -1
  1110. package/dist/chunks/chunk.3TFLBBWR.js +0 -115
  1111. package/dist/chunks/chunk.3TNPGXLM.js +0 -1
  1112. package/dist/chunks/chunk.3TVPBDCY.js +0 -8
  1113. package/dist/chunks/chunk.3YZ7SPS6.js +0 -1
  1114. package/dist/chunks/chunk.3Z6MBEYS.js +0 -1
  1115. package/dist/chunks/chunk.43F6G3ZK.js +0 -12
  1116. package/dist/chunks/chunk.46IN2TSC.js +0 -1
  1117. package/dist/chunks/chunk.4KJESPZX.js +0 -100
  1118. package/dist/chunks/chunk.4V7RXLNV.js +0 -1
  1119. package/dist/chunks/chunk.4XJ7SAR3.js +0 -1
  1120. package/dist/chunks/chunk.53ONDEHK.js +0 -1
  1121. package/dist/chunks/chunk.5AKALBX3.js +0 -1
  1122. package/dist/chunks/chunk.5BDNKYEE.js +0 -1
  1123. package/dist/chunks/chunk.5EIBF6PE.js +0 -1
  1124. package/dist/chunks/chunk.5F27KZSR.js +0 -1
  1125. package/dist/chunks/chunk.5OXOV6YG.js +0 -38
  1126. package/dist/chunks/chunk.5PUVB3CB.js +0 -1
  1127. package/dist/chunks/chunk.5U7A7SNZ.js +0 -1
  1128. package/dist/chunks/chunk.636ADUMN.js +0 -1
  1129. package/dist/chunks/chunk.64RITC43.js +0 -1
  1130. package/dist/chunks/chunk.6HYILGKL.js +0 -1
  1131. package/dist/chunks/chunk.6LOHOD46.js +0 -1
  1132. package/dist/chunks/chunk.73MWC6LT.js +0 -1
  1133. package/dist/chunks/chunk.7ATPABHJ.js +0 -6
  1134. package/dist/chunks/chunk.7CBI6OMZ.js +0 -1
  1135. package/dist/chunks/chunk.7F4GNB3D.js +0 -1
  1136. package/dist/chunks/chunk.7G5XKBQX.js +0 -1
  1137. package/dist/chunks/chunk.7SLBI5EP.js +0 -30
  1138. package/dist/chunks/chunk.7SQQMJNR.js +0 -1
  1139. package/dist/chunks/chunk.7UWDBFRT.js +0 -1
  1140. package/dist/chunks/chunk.7W6I25NB.js +0 -1
  1141. package/dist/chunks/chunk.A6GLN7RV.js +0 -157
  1142. package/dist/chunks/chunk.ACTAEVBU.js +0 -62
  1143. package/dist/chunks/chunk.ANNK5AL5.js +0 -23
  1144. package/dist/chunks/chunk.B34XIVQZ.js +0 -1
  1145. package/dist/chunks/chunk.B6POOW4T.js +0 -1
  1146. package/dist/chunks/chunk.BL6I47ZQ.js +0 -1
  1147. package/dist/chunks/chunk.BM6R6HEQ.js +0 -1
  1148. package/dist/chunks/chunk.BX3GH3KL.js +0 -51
  1149. package/dist/chunks/chunk.BYFR372D.js +0 -64
  1150. package/dist/chunks/chunk.C2TBND2R.js +0 -1
  1151. package/dist/chunks/chunk.CDF2IKHX.js +0 -1
  1152. package/dist/chunks/chunk.CH4OTUSN.js +0 -1
  1153. package/dist/chunks/chunk.CS34YHPW.js +0 -75
  1154. package/dist/chunks/chunk.CVFM4CTZ.js +0 -1
  1155. package/dist/chunks/chunk.CVHVZQHF.js +0 -55
  1156. package/dist/chunks/chunk.DMGD52HA.js +0 -17
  1157. package/dist/chunks/chunk.DNTGG6CH.js +0 -1
  1158. package/dist/chunks/chunk.DQO5T3TC.js +0 -1
  1159. package/dist/chunks/chunk.DVGRZOZN.js +0 -1
  1160. package/dist/chunks/chunk.E4E5YW6S.js +0 -67
  1161. package/dist/chunks/chunk.EC5X7NCS.js +0 -1
  1162. package/dist/chunks/chunk.EH52QKIC.js +0 -4
  1163. package/dist/chunks/chunk.EMPX6UWB.js +0 -1
  1164. package/dist/chunks/chunk.EXDUEHTD.js +0 -1
  1165. package/dist/chunks/chunk.F6AIFJPN.js +0 -1
  1166. package/dist/chunks/chunk.F7R7YK2O.js +0 -1
  1167. package/dist/chunks/chunk.FARMGJW3.js +0 -1
  1168. package/dist/chunks/chunk.FIWFVJ3D.js +0 -1
  1169. package/dist/chunks/chunk.FNR2LCIP.js +0 -5
  1170. package/dist/chunks/chunk.FQUIUPSV.js +0 -1
  1171. package/dist/chunks/chunk.FSL3CFV7.js +0 -8
  1172. package/dist/chunks/chunk.FTS3NXLZ.js +0 -16
  1173. package/dist/chunks/chunk.G6ZHYUA3.js +0 -1
  1174. package/dist/chunks/chunk.GBM6TJGZ.js +0 -1
  1175. package/dist/chunks/chunk.GMMPKXT2.js +0 -65
  1176. package/dist/chunks/chunk.GTDDKRIN.js +0 -1
  1177. package/dist/chunks/chunk.GV5S63SB.js +0 -1
  1178. package/dist/chunks/chunk.GVXMLVLW.js +0 -121
  1179. package/dist/chunks/chunk.GZVB4XR2.js +0 -1
  1180. package/dist/chunks/chunk.HA3PA5QZ.js +0 -145
  1181. package/dist/chunks/chunk.HFNA3AAG.js +0 -1
  1182. package/dist/chunks/chunk.HGWEW6YY.js +0 -24
  1183. package/dist/chunks/chunk.HJWKRT2R.js +0 -55
  1184. package/dist/chunks/chunk.HLEMQAKN.js +0 -1
  1185. package/dist/chunks/chunk.HV3NQBOM.js +0 -14
  1186. package/dist/chunks/chunk.I24KQBGT.js +0 -1
  1187. package/dist/chunks/chunk.I4XKMXRT.js +0 -1
  1188. package/dist/chunks/chunk.IA2ZHXCK.js +0 -1
  1189. package/dist/chunks/chunk.ILU2FM4L.js +0 -1
  1190. package/dist/chunks/chunk.INVCWNTC.js +0 -41
  1191. package/dist/chunks/chunk.IT5QPTVP.js +0 -1
  1192. package/dist/chunks/chunk.J53MLXIQ.js +0 -1
  1193. package/dist/chunks/chunk.JEE5UHSS.js +0 -1
  1194. package/dist/chunks/chunk.JNX2LPPS.js +0 -1
  1195. package/dist/chunks/chunk.JSEYNLAE.js +0 -48
  1196. package/dist/chunks/chunk.JXF5TQDT.js +0 -1
  1197. package/dist/chunks/chunk.K63TORTJ.js +0 -1
  1198. package/dist/chunks/chunk.KCEHKGQU.js +0 -1
  1199. package/dist/chunks/chunk.KGLV6NBY.js +0 -1
  1200. package/dist/chunks/chunk.KI4IENJB.js +0 -1
  1201. package/dist/chunks/chunk.KLHF3ADP.js +0 -1
  1202. package/dist/chunks/chunk.KN2ZSH5I.js +0 -1
  1203. package/dist/chunks/chunk.KRY24B2Z.js +0 -1
  1204. package/dist/chunks/chunk.KV7QXEB2.js +0 -142
  1205. package/dist/chunks/chunk.L2FOML4Z.js +0 -1
  1206. package/dist/chunks/chunk.L4FZBNJZ.js +0 -20
  1207. package/dist/chunks/chunk.L7ADVOTR.js +0 -1
  1208. package/dist/chunks/chunk.LGQNDGC2.js +0 -22
  1209. package/dist/chunks/chunk.LJ3C6YXE.js +0 -1
  1210. package/dist/chunks/chunk.LLYICQ3I.js +0 -1
  1211. package/dist/chunks/chunk.LT5BSY7X.js +0 -1
  1212. package/dist/chunks/chunk.MBRHBIVR.js +0 -1
  1213. package/dist/chunks/chunk.MJJLSP6W.js +0 -1
  1214. package/dist/chunks/chunk.MQO2Z6JR.js +0 -1
  1215. package/dist/chunks/chunk.MUMOGZM7.js +0 -572
  1216. package/dist/chunks/chunk.MVQVCZMV.js +0 -1
  1217. package/dist/chunks/chunk.MY53SBVE.js +0 -43
  1218. package/dist/chunks/chunk.N2ZA3AN3.js +0 -35
  1219. package/dist/chunks/chunk.NAMM3J43.js +0 -300
  1220. package/dist/chunks/chunk.NQZCGWQT.js +0 -1
  1221. package/dist/chunks/chunk.NSKI4HXF.js +0 -19
  1222. package/dist/chunks/chunk.NTY7GIBX.js +0 -1
  1223. package/dist/chunks/chunk.NX7TNGI4.js +0 -1
  1224. package/dist/chunks/chunk.NZ2EQTLJ.js +0 -1
  1225. package/dist/chunks/chunk.OF5IIYCM.js +0 -1
  1226. package/dist/chunks/chunk.OOOGWVDH.js +0 -1
  1227. package/dist/chunks/chunk.OQU2SEYR.js +0 -1
  1228. package/dist/chunks/chunk.P35VRJSU.js +0 -1
  1229. package/dist/chunks/chunk.PBY3SOJT.js +0 -1
  1230. package/dist/chunks/chunk.PEBGUL65.js +0 -1
  1231. package/dist/chunks/chunk.PHJXLU2K.js +0 -1
  1232. package/dist/chunks/chunk.PHTTNFIA.js +0 -1
  1233. package/dist/chunks/chunk.PICICWOI.js +0 -300
  1234. package/dist/chunks/chunk.PJYZ4R4F.js +0 -1
  1235. package/dist/chunks/chunk.PKYBMF7D.js +0 -30
  1236. package/dist/chunks/chunk.PNIB7OCC.js +0 -1
  1237. package/dist/chunks/chunk.PPDNREE3.js +0 -37
  1238. package/dist/chunks/chunk.PPHWYBMI.js +0 -35
  1239. package/dist/chunks/chunk.PVRQVGN6.js +0 -99
  1240. package/dist/chunks/chunk.QNMFOQMN.js +0 -9
  1241. package/dist/chunks/chunk.QWRFOCPZ.js +0 -1
  1242. package/dist/chunks/chunk.R5KJU6SA.js +0 -47
  1243. package/dist/chunks/chunk.R5YBBFHE.js +0 -11
  1244. package/dist/chunks/chunk.RALU3ZHR.js +0 -1
  1245. package/dist/chunks/chunk.RB2ISNUH.js +0 -11
  1246. package/dist/chunks/chunk.REKHGQMI.js +0 -1
  1247. package/dist/chunks/chunk.RFGG22O7.js +0 -1
  1248. package/dist/chunks/chunk.RFPACV7B.js +0 -760
  1249. package/dist/chunks/chunk.RGRNY7OY.js +0 -1
  1250. package/dist/chunks/chunk.RH5XP3UV.js +0 -1
  1251. package/dist/chunks/chunk.S3L7GNQT.js +0 -1
  1252. package/dist/chunks/chunk.S4TDVG2W.js +0 -1
  1253. package/dist/chunks/chunk.SO45NDQI.js +0 -1
  1254. package/dist/chunks/chunk.SRZGR2LP.js +0 -1
  1255. package/dist/chunks/chunk.SU55MP2P.js +0 -27
  1256. package/dist/chunks/chunk.SUNBQSGV.js +0 -1
  1257. package/dist/chunks/chunk.T4IJSKKI.js +0 -1
  1258. package/dist/chunks/chunk.TISMRXXU.js +0 -1
  1259. package/dist/chunks/chunk.TVNCK67F.js +0 -1
  1260. package/dist/chunks/chunk.TYO47TNX.js +0 -1
  1261. package/dist/chunks/chunk.U2YGT52C.js +0 -74
  1262. package/dist/chunks/chunk.U3QRH2D5.js +0 -25
  1263. package/dist/chunks/chunk.UBGGJOZN.js +0 -1
  1264. package/dist/chunks/chunk.UDLHCCS6.js +0 -1
  1265. package/dist/chunks/chunk.UJSQVL34.js +0 -1
  1266. package/dist/chunks/chunk.USM5KDQR.js +0 -1
  1267. package/dist/chunks/chunk.UTSAP2NZ.js +0 -1
  1268. package/dist/chunks/chunk.V3JACKIW.js +0 -1
  1269. package/dist/chunks/chunk.VGGWQYPT.js +0 -154
  1270. package/dist/chunks/chunk.VOIIKZBP.js +0 -26
  1271. package/dist/chunks/chunk.VR6KDGCO.js +0 -280
  1272. package/dist/chunks/chunk.VYMDLQKW.js +0 -33
  1273. package/dist/chunks/chunk.W43XN23E.js +0 -1
  1274. package/dist/chunks/chunk.W5A5SC27.js +0 -26
  1275. package/dist/chunks/chunk.W5BWSIPL.js +0 -1
  1276. package/dist/chunks/chunk.W7APBRIA.js +0 -43
  1277. package/dist/chunks/chunk.WBPL3IO2.js +0 -1
  1278. package/dist/chunks/chunk.WUOLVIQC.js +0 -1
  1279. package/dist/chunks/chunk.WWCNUU6Q.js +0 -1
  1280. package/dist/chunks/chunk.WZ74OBKA.js +0 -1
  1281. package/dist/chunks/chunk.X2PL4Y4D.js +0 -1
  1282. package/dist/chunks/chunk.XKL57T4O.js +0 -1
  1283. package/dist/chunks/chunk.XMDSQBKG.js +0 -112
  1284. package/dist/chunks/chunk.XMHPYUCZ.js +0 -1155
  1285. package/dist/chunks/chunk.XNB4V2JD.js +0 -9
  1286. package/dist/chunks/chunk.XPKY74HM.js +0 -1
  1287. package/dist/chunks/chunk.XUWJW3FD.js +0 -122
  1288. package/dist/chunks/chunk.XYVKWI2L.js +0 -1
  1289. package/dist/chunks/chunk.Y6JLPDVR.js +0 -1
  1290. package/dist/chunks/chunk.YBLDTPN7.js +0 -1
  1291. package/dist/chunks/chunk.YGK2DL4Z.js +0 -1
  1292. package/dist/chunks/chunk.YIGG3C7R.js +0 -1
  1293. package/dist/chunks/chunk.YJYTTQML.js +0 -1
  1294. package/dist/chunks/chunk.YMDQXJV5.js +0 -1
  1295. package/dist/chunks/chunk.YNS5FOJW.js +0 -1
  1296. package/dist/chunks/chunk.YU2YXPZA.js +0 -20
  1297. package/dist/chunks/chunk.YV46PDX2.js +0 -1
  1298. package/dist/chunks/chunk.YWHOA5CV.js +0 -1
  1299. package/dist/chunks/chunk.YXSAWSTP.js +0 -1
  1300. package/dist/chunks/chunk.ZF2UFMLE.js +0 -1
  1301. package/dist/chunks/chunk.ZJMVR6SU.js +0 -1
  1302. package/dist/chunks/chunk.ZJWPN6CD.js +0 -39
  1303. package/dist/chunks/chunk.ZSBHPO6G.js +0 -1
  1304. package/dist/terra_ui_components-0.0.190-py3-none-any.whl +0 -0
  1305. package/dist/terra_ui_components-0.0.190.tar.gz +0 -0
@@ -1,2263 +0,0 @@
1
- import {
2
- date_picker_styles_default
3
- } from "./chunk.MQZHN2NY.js";
4
- import {
5
- TerraDropdown
6
- } from "./chunk.KYYZNB77.js";
7
- import {
8
- TerraInput
9
- } from "./chunk.ZEJSSTEK.js";
10
- import {
11
- e as e2,
12
- n as n2
13
- } from "./chunk.LRZIT4M2.js";
14
- import {
15
- isValid
16
- } from "./chunk.7NJYVBGM.js";
17
- import {
18
- TerraButton
19
- } from "./chunk.3S7WMMIE.js";
20
- import {
21
- TerraElement,
22
- component_styles_default,
23
- e,
24
- n,
25
- r
26
- } from "./chunk.HUU6UOOJ.js";
27
- import {
28
- A,
29
- b
30
- } from "./chunk.RRCYT4LP.js";
31
- import {
32
- __decorateClass,
33
- init_buffer,
34
- init_dirname,
35
- init_process
36
- } from "./chunk.ZEOVK2FE.js";
37
-
38
- // src/components/date-picker/date-picker.component.ts
39
- init_dirname();
40
- init_buffer();
41
- init_process();
42
- var TerraDatePicker = class extends TerraElement {
43
- constructor() {
44
- super();
45
- this.range = false;
46
- this.hideLabel = false;
47
- this.label = "Select Date";
48
- this.helpText = "";
49
- this.startHelpText = "";
50
- this.endHelpText = "";
51
- this.showPresets = false;
52
- this.presets = [];
53
- this.enableTime = false;
54
- this.inline = false;
55
- this.splitInputs = false;
56
- this.placeholder = "Select Date";
57
- this.startPlaceholder = "Start Date";
58
- this.endPlaceholder = "End Date";
59
- this.role = "group";
60
- this.ariaLabel = "Date picker";
61
- this.hideClearAll = false;
62
- this.clearAllLabel = "Clear Dates";
63
- this.useEndOfDay = true;
64
- this.showClose = false;
65
- this.isOpen = false;
66
- this.leftMonth = /* @__PURE__ */ new Date();
67
- this.rightMonth = /* @__PURE__ */ new Date();
68
- this.selectedStart = null;
69
- this.selectedEnd = null;
70
- this.hoverDate = null;
71
- this.isSelectingRange = false;
72
- this.showLeftMonthDropdown = false;
73
- this.showRightMonthDropdown = false;
74
- this.startHour = 0;
75
- this.startMinute = 0;
76
- this.startSecond = 0;
77
- this.endHour = 23;
78
- this.endMinute = 59;
79
- this.endSecond = 59;
80
- this.selectedDates = {
81
- startDate: (/* @__PURE__ */ new Date()).toString(),
82
- endDate: (/* @__PURE__ */ new Date()).toString()
83
- };
84
- this.dropdownRef = e2();
85
- this.DAYS = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
86
- this.MONTHS = [
87
- "January",
88
- "February",
89
- "March",
90
- "April",
91
- "May",
92
- "June",
93
- "July",
94
- "August",
95
- "September",
96
- "October",
97
- "November",
98
- "December"
99
- ];
100
- this.initializePresets();
101
- }
102
- getDefaultEndHour() {
103
- return this.useEndOfDay ? 23 : 0;
104
- }
105
- getDefaultEndMinute() {
106
- return this.useEndOfDay ? 59 : 0;
107
- }
108
- getDefaultEndSecond() {
109
- return this.useEndOfDay ? 59 : 0;
110
- }
111
- /**
112
- * Parse a date string (YYYY-MM-DD or ISO datetime) as a local date, avoiding timezone issues.
113
- * When you do `new Date("2024-03-20")`, JavaScript interprets it as UTC midnight,
114
- * which can cause off-by-one day errors when using getDate() in local timezone.
115
- * This function parses the date as a local date instead.
116
- *
117
- * When enableTime is true, datetime strings are parsed as UTC to match API min/max dates.
118
- */
119
- parseLocalDate(dateString) {
120
- const dateOnlyPattern = /^\d{4}-\d{2}-\d{2}$/;
121
- if (dateOnlyPattern.test(dateString)) {
122
- const [year, month, day] = dateString.split("-").map(Number);
123
- if (this.enableTime) {
124
- return new Date(Date.UTC(year, month - 1, day, 0, 0, 0));
125
- }
126
- return new Date(year, month - 1, day);
127
- }
128
- const dateTimePattern = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/;
129
- if (dateTimePattern.test(dateString)) {
130
- const [datePart, timePart] = dateString.split("T");
131
- const [year, month, day] = datePart.split("-").map(Number);
132
- const [hours, minutes, seconds] = timePart.split(":").map(Number);
133
- return new Date(Date.UTC(year, month - 1, day, hours, minutes, seconds));
134
- }
135
- return new Date(dateString);
136
- }
137
- /**
138
- * Check if two dates are in the same calendar month and year
139
- */
140
- isSameMonth(date1, date2) {
141
- if (this.enableTime) {
142
- return date1.getUTCFullYear() === date2.getUTCFullYear() && date1.getUTCMonth() === date2.getUTCMonth();
143
- }
144
- return date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth();
145
- }
146
- /**
147
- * Check if a date's month/year matches a given month Date
148
- */
149
- isDateInMonth(date, monthDate) {
150
- if (this.enableTime) {
151
- return date.getUTCFullYear() === monthDate.getUTCFullYear() && date.getUTCMonth() === monthDate.getUTCMonth();
152
- }
153
- return date.getFullYear() === monthDate.getFullYear() && date.getMonth() === monthDate.getMonth();
154
- }
155
- getBounds() {
156
- const min = this.minDate ? this.parseLocalDate(this.minDate) : void 0;
157
- const max = this.maxDate ? this.parseLocalDate(this.maxDate) : void 0;
158
- return { min, max };
159
- }
160
- doesRangeOverlapBounds(range) {
161
- const { startDate, endDate } = range;
162
- const { min, max } = this.getBounds();
163
- if (!this.range) {
164
- if (!startDate)
165
- return false;
166
- if (min && startDate < min)
167
- return false;
168
- if (max && startDate > max)
169
- return false;
170
- return true;
171
- }
172
- const start = startDate != null ? startDate : /* @__PURE__ */ new Date(-864e13);
173
- const end = endDate != null ? endDate : /* @__PURE__ */ new Date(864e13);
174
- if (!min && !max)
175
- return true;
176
- const windowStart = min != null ? min : /* @__PURE__ */ new Date(-864e13);
177
- const windowEnd = max != null ? max : /* @__PURE__ */ new Date(864e13);
178
- return end >= windowStart && start <= windowEnd;
179
- }
180
- isPresetWithinBounds(range) {
181
- return this.doesRangeOverlapBounds(range);
182
- }
183
- get filteredPresets() {
184
- return (this.presets || []).filter(
185
- (preset) => this.isPresetWithinBounds(preset.getValue())
186
- );
187
- }
188
- open() {
189
- this.isOpen = true;
190
- if (this.maxDate && !this.selectedStart && !this.selectedEnd) {
191
- const max = this.parseLocalDate(this.maxDate);
192
- if (!isNaN(max.getTime())) {
193
- if (this.range) {
194
- this.rightMonth = new Date(max);
195
- const left = new Date(max);
196
- left.setMonth(left.getMonth() - 1);
197
- this.leftMonth = left;
198
- } else {
199
- this.leftMonth = new Date(max);
200
- }
201
- }
202
- }
203
- if (!this.inline && this.dropdownRef.value) {
204
- this.dropdownRef.value.show();
205
- }
206
- this.requestUpdate();
207
- }
208
- close() {
209
- this.isOpen = false;
210
- if (!this.inline && this.dropdownRef.value) {
211
- this.dropdownRef.value.hide();
212
- }
213
- this.requestUpdate();
214
- }
215
- /**
216
- * Clears the selected date(s) and resets the date picker to its initial state.
217
- */
218
- clear() {
219
- this.selectedStart = null;
220
- this.selectedEnd = null;
221
- this.hoverDate = null;
222
- this.isSelectingRange = false;
223
- this.startHour = 0;
224
- this.startMinute = 0;
225
- this.startSecond = 0;
226
- this.endHour = this.getDefaultEndHour();
227
- this.endMinute = this.getDefaultEndMinute();
228
- this.endSecond = this.getDefaultEndSecond();
229
- this.clearInputValidation();
230
- this.requestUpdate();
231
- this.emitChange();
232
- }
233
- setOpen(open) {
234
- if (open) {
235
- this.open();
236
- } else {
237
- this.close();
238
- }
239
- }
240
- willUpdate(changedProperties) {
241
- super.willUpdate(changedProperties);
242
- if (changedProperties.has("useEndOfDay")) {
243
- this.endHour = this.getDefaultEndHour();
244
- this.endMinute = this.getDefaultEndMinute();
245
- this.endSecond = this.getDefaultEndSecond();
246
- }
247
- if (changedProperties.has("inline")) {
248
- if (this.inline) {
249
- this.isOpen = true;
250
- if (this.dropdownRef.value) {
251
- this.dropdownRef.value.hide();
252
- }
253
- }
254
- }
255
- if (changedProperties.has("minDate") || changedProperties.has("maxDate")) {
256
- if (this.maxDate && !this.selectedStart && !this.selectedEnd) {
257
- const max = this.parseLocalDate(this.maxDate);
258
- if (!isNaN(max.getTime())) {
259
- if (this.range) {
260
- this.rightMonth = new Date(max);
261
- const left = new Date(max);
262
- left.setMonth(left.getMonth() - 1);
263
- this.leftMonth = left;
264
- } else {
265
- this.leftMonth = new Date(max);
266
- }
267
- }
268
- }
269
- }
270
- if (changedProperties.has("startDate") || changedProperties.has("endDate")) {
271
- if (this.startDate) {
272
- const start = this.parseLocalDate(this.startDate);
273
- if (!isNaN(start.getTime())) {
274
- this.selectedStart = start;
275
- if (this.enableTime) {
276
- this.initializeTimeFromDate(start, true);
277
- }
278
- }
279
- } else {
280
- this.selectedStart = null;
281
- }
282
- if (this.range) {
283
- if (this.endDate) {
284
- const end = this.parseLocalDate(this.endDate);
285
- if (!isNaN(end.getTime())) {
286
- this.selectedEnd = end;
287
- if (this.enableTime) {
288
- this.initializeTimeFromDate(end, false);
289
- }
290
- }
291
- } else {
292
- this.selectedEnd = null;
293
- }
294
- if (this.selectedStart && this.selectedEnd) {
295
- const isSingleMonthRange = this.isSameMonth(
296
- this.selectedStart,
297
- this.selectedEnd
298
- );
299
- if (isSingleMonthRange) {
300
- if (this.isDateInMonth(this.selectedStart, this.leftMonth)) {
301
- this.leftMonth = new Date(this.selectedStart);
302
- if (this.isDateInMonth(
303
- this.selectedStart,
304
- this.rightMonth
305
- )) {
306
- this.rightMonth = new Date(this.selectedStart);
307
- this.rightMonth.setMonth(
308
- this.rightMonth.getMonth() + 1
309
- );
310
- }
311
- } else if (this.isDateInMonth(this.selectedStart, this.rightMonth)) {
312
- this.rightMonth = new Date(this.selectedStart);
313
- } else {
314
- this.leftMonth = new Date(this.selectedStart);
315
- }
316
- } else {
317
- this.leftMonth = new Date(this.selectedStart);
318
- this.rightMonth = new Date(this.selectedEnd);
319
- }
320
- } else if (this.selectedStart) {
321
- this.leftMonth = new Date(this.selectedStart);
322
- this.rightMonth = new Date(this.leftMonth);
323
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
324
- }
325
- } else {
326
- if (this.selectedStart) {
327
- this.leftMonth = new Date(this.selectedStart);
328
- }
329
- this.selectedEnd = null;
330
- }
331
- }
332
- }
333
- initializePresets() {
334
- if (this.presets.length === 0) {
335
- this.presets = [
336
- {
337
- label: "Today",
338
- getValue: () => {
339
- const today = /* @__PURE__ */ new Date();
340
- return {
341
- startDate: today,
342
- endDate: this.range ? today : null
343
- };
344
- }
345
- },
346
- {
347
- label: "Yesterday",
348
- getValue: () => {
349
- const yesterday = /* @__PURE__ */ new Date();
350
- yesterday.setDate(yesterday.getDate() - 1);
351
- return {
352
- startDate: yesterday,
353
- endDate: this.range ? yesterday : null
354
- };
355
- }
356
- },
357
- {
358
- label: "Last 7 days",
359
- getValue: () => {
360
- const end = /* @__PURE__ */ new Date();
361
- const start = /* @__PURE__ */ new Date();
362
- start.setDate(start.getDate() - 6);
363
- return { startDate: start, endDate: end };
364
- }
365
- },
366
- {
367
- label: "Last 30 days",
368
- getValue: () => {
369
- const end = /* @__PURE__ */ new Date();
370
- const start = /* @__PURE__ */ new Date();
371
- start.setDate(start.getDate() - 29);
372
- return { startDate: start, endDate: end };
373
- }
374
- },
375
- {
376
- label: "Last 6 months",
377
- getValue: () => {
378
- const end = /* @__PURE__ */ new Date();
379
- const start = /* @__PURE__ */ new Date();
380
- start.setMonth(start.getMonth() - 6);
381
- return { startDate: start, endDate: end };
382
- }
383
- },
384
- {
385
- label: "Last year",
386
- getValue: () => {
387
- const end = /* @__PURE__ */ new Date();
388
- const start = /* @__PURE__ */ new Date();
389
- start.setFullYear(start.getFullYear() - 1);
390
- return { startDate: start, endDate: end };
391
- }
392
- },
393
- {
394
- label: "All time",
395
- getValue: () => {
396
- const { min, max } = this.getBounds();
397
- return {
398
- startDate: min || null,
399
- endDate: max || null
400
- };
401
- }
402
- }
403
- ];
404
- }
405
- }
406
- firstUpdated() {
407
- const params = new URLSearchParams(window.location.search);
408
- const timeStartParam = params.get("time_start") || this.startDate;
409
- const timeEndParam = params.get("time_end") || this.endDate;
410
- if (timeStartParam) {
411
- this.selectedStart = this.parseLocalDate(timeStartParam);
412
- this.leftMonth = new Date(this.selectedStart);
413
- if (this.enableTime) {
414
- this.initializeTimeFromDate(this.selectedStart, true);
415
- }
416
- }
417
- if (this.range && timeEndParam) {
418
- this.selectedEnd = this.parseLocalDate(timeEndParam);
419
- if (this.enableTime) {
420
- this.initializeTimeFromDate(this.selectedEnd, false);
421
- }
422
- if (this.selectedStart && this.selectedEnd) {
423
- const isSingleMonthRange = this.isSameMonth(
424
- this.selectedStart,
425
- this.selectedEnd
426
- );
427
- if (isSingleMonthRange) {
428
- this.rightMonth = new Date(this.selectedStart);
429
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
430
- } else {
431
- this.rightMonth = new Date(this.selectedEnd);
432
- }
433
- } else if (this.selectedEnd) {
434
- this.rightMonth = new Date(this.selectedEnd);
435
- }
436
- }
437
- if (this.range && !timeEndParam) {
438
- this.rightMonth = new Date(this.leftMonth);
439
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
440
- }
441
- if (this.inline) {
442
- this.isOpen = true;
443
- }
444
- }
445
- disconnectedCallback() {
446
- super.disconnectedCallback();
447
- }
448
- handleDropdownShow() {
449
- this.isOpen = true;
450
- }
451
- handleDropdownHide() {
452
- this.isOpen = false;
453
- }
454
- formatDisplayDate(date, isStart = true) {
455
- if (!date)
456
- return "";
457
- const format = this.displayFormat || (this.enableTime ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD");
458
- if (this.enableTime) {
459
- const year2 = date.getUTCFullYear();
460
- const month2 = String(date.getUTCMonth() + 1).padStart(2, "0");
461
- const day2 = String(date.getUTCDate()).padStart(2, "0");
462
- const hours = String(isStart ? this.startHour : this.endHour).padStart(
463
- 2,
464
- "0"
465
- );
466
- const minutes = String(
467
- isStart ? this.startMinute : this.endMinute
468
- ).padStart(2, "0");
469
- const seconds = String(
470
- isStart ? this.startSecond : this.endSecond
471
- ).padStart(2, "0");
472
- return format.replace("YYYY", year2.toString()).replace("MM", month2).replace("DD", day2).replace("HH", hours).replace("mm", minutes).replace("ss", seconds);
473
- }
474
- const year = date.getFullYear();
475
- const month = String(date.getMonth() + 1).padStart(2, "0");
476
- const day = String(date.getDate()).padStart(2, "0");
477
- return format.replace("YYYY", year.toString()).replace("MM", month).replace("DD", day);
478
- }
479
- getDisplayValue() {
480
- if (this.range) {
481
- if (this.selectedStart && this.selectedEnd) {
482
- return `${this.formatDisplayDate(this.selectedStart, true)} \u2013 ${this.formatDisplayDate(this.selectedEnd, false)}`;
483
- } else if (this.selectedStart) {
484
- return this.formatDisplayDate(this.selectedStart, true);
485
- }
486
- return "";
487
- } else {
488
- return this.selectedStart ? this.formatDisplayDate(this.selectedStart, true) : "";
489
- }
490
- }
491
- getStartDateDisplayValue() {
492
- return this.selectedStart ? this.formatDisplayDate(this.selectedStart, true) : "";
493
- }
494
- getEndDateDisplayValue() {
495
- return this.selectedEnd ? this.formatDisplayDate(this.selectedEnd, false) : "";
496
- }
497
- parseAndFormatDate(dateStr) {
498
- const trimmed = dateStr.trim();
499
- if (!trimmed)
500
- return null;
501
- const dateOnlyPattern = /^\d{4}-\d{2}-\d{2}$/;
502
- const dateTimePattern = /^\d{4}-\d{2}-\d{2}[T\s]\d{1,2}:\d{2}(:\d{2})?$/;
503
- let date;
504
- if (dateOnlyPattern.test(trimmed)) {
505
- date = this.parseLocalDate(trimmed);
506
- } else if (this.enableTime && dateTimePattern.test(trimmed)) {
507
- const [datePart, timePart] = trimmed.split(/[T\s]+/);
508
- const [year, month, day] = datePart.split("-").map(Number);
509
- const timeComponents = timePart.split(":").map(Number);
510
- const hours = timeComponents[0] || 0;
511
- const minutes = timeComponents[1] || 0;
512
- const seconds = timeComponents[2] || 0;
513
- date = new Date(Date.UTC(year, month - 1, day, hours, minutes, seconds));
514
- } else {
515
- date = new Date(trimmed);
516
- if (!isValid(date)) {
517
- return null;
518
- }
519
- }
520
- if (!isValid(date)) {
521
- return null;
522
- }
523
- if (this.enableTime) {
524
- if (dateOnlyPattern.test(trimmed)) {
525
- return trimmed;
526
- } else {
527
- const utcYear = date.getUTCFullYear();
528
- const utcMonth = date.getUTCMonth() + 1;
529
- const utcDay = date.getUTCDate();
530
- const utcHours = date.getUTCHours();
531
- const utcMinutes = date.getUTCMinutes();
532
- const utcSeconds = date.getUTCSeconds();
533
- return `${utcYear}-${String(utcMonth).padStart(2, "0")}-${String(utcDay).padStart(2, "0")} ${String(utcHours).padStart(2, "0")}:${String(utcMinutes).padStart(2, "0")}:${String(utcSeconds).padStart(2, "0")}`;
534
- }
535
- } else {
536
- const year = date.getFullYear();
537
- const month = date.getMonth() + 1;
538
- const day = date.getDate();
539
- return `${year}-${String(month).padStart(2, "0")}-${String(day).padStart(2, "0")}`;
540
- }
541
- }
542
- clearInputValidation() {
543
- const inputs = this.renderRoot.querySelectorAll("terra-input");
544
- inputs.forEach((input) => {
545
- input.setCustomValidity("");
546
- });
547
- }
548
- /**
549
- * Format a date string for display in error messages
550
- * When time is disabled, only show the date portion (YYYY-MM-DD)
551
- */
552
- formatDateForError(dateString) {
553
- if (!this.enableTime) {
554
- return dateString.split("T")[0];
555
- }
556
- return dateString;
557
- }
558
- /**
559
- * Set validation error on input and emit invalid event
560
- */
561
- setInputValidationError(input, message) {
562
- input.setCustomValidity(message);
563
- requestAnimationFrame(() => {
564
- ;
565
- input.validationErrorMessage = message;
566
- input.requestUpdate();
567
- });
568
- this.emit("terra-date-selection-invalid", {
569
- detail: { message }
570
- });
571
- }
572
- handleInputBlur(event) {
573
- const input = event.target;
574
- const value = input.value || "";
575
- if (!value.trim()) {
576
- this.selectedStart = null;
577
- this.selectedEnd = null;
578
- input.setCustomValidity("");
579
- this.emitChange();
580
- return;
581
- }
582
- if (this.range) {
583
- const normalized = value.replace(/(\d{2})-(\d{4})/, "$1 - $2");
584
- const parts = normalized.split(/\s*–\s*|\s+-\s+/);
585
- if (parts.length !== 2) {
586
- const message = "Date range must be in format: YYYY-MM-DD \u2013 YYYY-MM-DD";
587
- this.setInputValidationError(input, message);
588
- return;
589
- }
590
- const startFormatted = this.parseAndFormatDate(parts[0]);
591
- const endFormatted = this.parseAndFormatDate(parts[1]);
592
- if (!startFormatted) {
593
- const message = "Invalid start date format";
594
- this.setInputValidationError(input, message);
595
- return;
596
- }
597
- if (!endFormatted) {
598
- const message = "Invalid end date format";
599
- this.setInputValidationError(input, message);
600
- return;
601
- }
602
- let start;
603
- let end;
604
- if (this.enableTime && startFormatted.length > 10) {
605
- start = /* @__PURE__ */ new Date(startFormatted.replace(" ", "T") + "Z");
606
- this.initializeTimeFromDate(start, true);
607
- } else if (this.enableTime) {
608
- const [year, month, day] = startFormatted.split("-").map(Number);
609
- start = new Date(
610
- Date.UTC(
611
- year,
612
- month - 1,
613
- day,
614
- this.startHour,
615
- this.startMinute,
616
- this.startSecond
617
- )
618
- );
619
- } else {
620
- start = this.parseLocalDate(startFormatted);
621
- }
622
- if (this.enableTime && endFormatted.length > 10) {
623
- end = /* @__PURE__ */ new Date(endFormatted.replace(" ", "T") + "Z");
624
- this.initializeTimeFromDate(end, false);
625
- } else if (this.enableTime) {
626
- const [year, month, day] = endFormatted.split("-").map(Number);
627
- end = new Date(
628
- Date.UTC(
629
- year,
630
- month - 1,
631
- day,
632
- this.endHour,
633
- this.endMinute,
634
- this.endSecond
635
- )
636
- );
637
- } else {
638
- end = this.parseLocalDate(endFormatted);
639
- }
640
- let finalStart = start;
641
- let finalEnd = end;
642
- if (start > end) {
643
- finalStart = end;
644
- finalEnd = start;
645
- }
646
- if (this.minDate) {
647
- const min = this.parseLocalDate(this.minDate);
648
- if (finalStart < min) {
649
- const message = `Start date must be on or after ${this.formatDateForError(this.minDate)}`;
650
- this.setInputValidationError(input, message);
651
- return;
652
- }
653
- }
654
- if (this.maxDate) {
655
- const max = this.parseLocalDate(this.maxDate);
656
- if (finalEnd > max) {
657
- const message = `End date must be on or before ${this.formatDateForError(this.maxDate)}`;
658
- this.setInputValidationError(input, message);
659
- return;
660
- }
661
- }
662
- this.selectedStart = finalStart;
663
- this.selectedEnd = finalEnd;
664
- this.updateMonthViews();
665
- input.value = `${startFormatted} \u2013 ${endFormatted}`;
666
- input.setCustomValidity("");
667
- this.emitChange();
668
- } else {
669
- const formatted = this.parseAndFormatDate(value);
670
- if (!formatted) {
671
- const message = "Invalid date format";
672
- this.setInputValidationError(input, message);
673
- return;
674
- }
675
- let date;
676
- if (this.enableTime && formatted.length > 10) {
677
- date = /* @__PURE__ */ new Date(formatted.replace(" ", "T") + "Z");
678
- this.initializeTimeFromDate(date, true);
679
- } else if (this.enableTime) {
680
- const [year, month, day] = formatted.split("-").map(Number);
681
- date = new Date(
682
- Date.UTC(
683
- year,
684
- month - 1,
685
- day,
686
- this.startHour,
687
- this.startMinute,
688
- this.startSecond
689
- )
690
- );
691
- } else {
692
- date = this.parseLocalDate(formatted);
693
- }
694
- if (this.minDate) {
695
- const min = this.parseLocalDate(this.minDate);
696
- if (date < min) {
697
- const message = `Date must be on or after ${this.formatDateForError(this.minDate)}`;
698
- this.setInputValidationError(input, message);
699
- return;
700
- }
701
- }
702
- if (this.maxDate) {
703
- const max = this.parseLocalDate(this.maxDate);
704
- if (date > max) {
705
- const message = `Date must be on or before ${this.formatDateForError(this.maxDate)}`;
706
- this.setInputValidationError(input, message);
707
- return;
708
- }
709
- }
710
- this.selectedStart = date;
711
- this.selectedEnd = null;
712
- this.updateMonthViews();
713
- input.value = formatted;
714
- input.setCustomValidity("");
715
- this.emitChange();
716
- }
717
- }
718
- handleStartInputBlur(event) {
719
- const input = event.target;
720
- const value = input.value || "";
721
- if (!value.trim()) {
722
- this.selectedStart = null;
723
- input.setCustomValidity("");
724
- this.emitChange();
725
- return;
726
- }
727
- const formatted = this.parseAndFormatDate(value);
728
- if (!formatted) {
729
- const message = "Invalid date format";
730
- this.setInputValidationError(input, message);
731
- return;
732
- }
733
- let date;
734
- if (this.enableTime && formatted.length > 10) {
735
- date = /* @__PURE__ */ new Date(formatted.replace(" ", "T") + "Z");
736
- this.initializeTimeFromDate(date, true);
737
- } else if (this.enableTime) {
738
- const [year, month, day] = formatted.split("-").map(Number);
739
- date = new Date(
740
- Date.UTC(
741
- year,
742
- month - 1,
743
- day,
744
- this.startHour,
745
- this.startMinute,
746
- this.startSecond
747
- )
748
- );
749
- } else {
750
- date = this.parseLocalDate(formatted);
751
- }
752
- if (this.minDate) {
753
- const min = this.parseLocalDate(this.minDate);
754
- if (date < min) {
755
- const message = `Date must be on or after ${this.formatDateForError(this.minDate)}`;
756
- this.setInputValidationError(input, message);
757
- return;
758
- }
759
- }
760
- if (this.maxDate) {
761
- const max = this.parseLocalDate(this.maxDate);
762
- if (date > max) {
763
- const message = `Date must be on or before ${this.formatDateForError(this.maxDate)}`;
764
- this.setInputValidationError(input, message);
765
- return;
766
- }
767
- }
768
- if (this.selectedEnd && date > this.selectedEnd) {
769
- const message = "Start date must be before end date";
770
- this.setInputValidationError(input, message);
771
- return;
772
- }
773
- this.selectedStart = date;
774
- this.leftMonth = new Date(date);
775
- input.value = formatted;
776
- input.setCustomValidity("");
777
- this.emitChange();
778
- }
779
- handleEndInputBlur(event) {
780
- const input = event.target;
781
- const value = input.value || "";
782
- if (!value.trim()) {
783
- this.selectedEnd = null;
784
- input.setCustomValidity("");
785
- this.emitChange();
786
- return;
787
- }
788
- const formatted = this.parseAndFormatDate(value);
789
- if (!formatted) {
790
- const message = "Invalid date format";
791
- this.setInputValidationError(input, message);
792
- return;
793
- }
794
- let date;
795
- if (this.enableTime && formatted.length > 10) {
796
- date = /* @__PURE__ */ new Date(formatted.replace(" ", "T") + "Z");
797
- this.initializeTimeFromDate(date, false);
798
- } else if (this.enableTime) {
799
- const [year, month, day] = formatted.split("-").map(Number);
800
- date = new Date(
801
- Date.UTC(
802
- year,
803
- month - 1,
804
- day,
805
- this.endHour,
806
- this.endMinute,
807
- this.endSecond
808
- )
809
- );
810
- } else {
811
- date = this.parseLocalDate(formatted);
812
- }
813
- if (this.minDate) {
814
- const min = this.parseLocalDate(this.minDate);
815
- if (date < min) {
816
- const message = `Date must be on or after ${this.formatDateForError(this.minDate)}`;
817
- this.setInputValidationError(input, message);
818
- return;
819
- }
820
- }
821
- if (this.maxDate) {
822
- const max = this.parseLocalDate(this.maxDate);
823
- if (date > max) {
824
- const message = `Date must be on or before ${this.formatDateForError(this.maxDate)}`;
825
- this.setInputValidationError(input, message);
826
- return;
827
- }
828
- }
829
- if (this.selectedStart) {
830
- if (this.enableTime && this.isSameDay(date, this.selectedStart)) {
831
- const startTimeSeconds = this.startHour * 3600 + this.startMinute * 60 + this.startSecond;
832
- const endTimeSeconds = this.endHour * 3600 + this.endMinute * 60 + this.endSecond;
833
- if (endTimeSeconds < startTimeSeconds) {
834
- const message = "End time must be after start time when dates are the same";
835
- this.setInputValidationError(input, message);
836
- return;
837
- }
838
- } else if (date < this.selectedStart) {
839
- const message = "End date must be after start date";
840
- this.setInputValidationError(input, message);
841
- return;
842
- }
843
- }
844
- this.selectedEnd = date;
845
- if (this.selectedStart && this.isSameMonth(this.selectedStart, this.selectedEnd)) {
846
- this.rightMonth = new Date(this.selectedStart);
847
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
848
- } else {
849
- this.rightMonth = new Date(date);
850
- }
851
- input.setCustomValidity("");
852
- this.emitChange();
853
- }
854
- updateMonthViews() {
855
- if (this.selectedStart) {
856
- this.leftMonth = new Date(this.selectedStart);
857
- if (this.range && this.selectedEnd) {
858
- if (this.isSameMonth(this.selectedStart, this.selectedEnd)) {
859
- this.rightMonth = new Date(this.selectedStart);
860
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
861
- } else {
862
- this.rightMonth = new Date(this.selectedEnd);
863
- }
864
- }
865
- }
866
- }
867
- handleKeydown(event) {
868
- if (event.key === " ") {
869
- event.stopPropagation();
870
- return;
871
- }
872
- if (event.key === "Enter") {
873
- event.preventDefault();
874
- this.handleInputBlur(event);
875
- }
876
- }
877
- previousMonth(isLeft) {
878
- if (isLeft) {
879
- const newMonth = new Date(this.leftMonth);
880
- newMonth.setMonth(newMonth.getMonth() - 1);
881
- this.leftMonth = newMonth;
882
- } else {
883
- const newMonth = new Date(this.rightMonth);
884
- newMonth.setMonth(newMonth.getMonth() - 1);
885
- this.rightMonth = newMonth;
886
- }
887
- }
888
- nextMonth(isLeft) {
889
- if (isLeft) {
890
- const newMonth = new Date(this.leftMonth);
891
- newMonth.setMonth(newMonth.getMonth() + 1);
892
- this.leftMonth = newMonth;
893
- } else {
894
- const newMonth = new Date(this.rightMonth);
895
- newMonth.setMonth(newMonth.getMonth() + 1);
896
- this.rightMonth = newMonth;
897
- }
898
- }
899
- toggleMonthDropdown(isLeft, event) {
900
- event.stopPropagation();
901
- if (isLeft) {
902
- this.showLeftMonthDropdown = !this.showLeftMonthDropdown;
903
- this.showRightMonthDropdown = false;
904
- } else {
905
- this.showRightMonthDropdown = !this.showRightMonthDropdown;
906
- this.showLeftMonthDropdown = false;
907
- }
908
- }
909
- selectMonth(month, isLeft) {
910
- if (isLeft) {
911
- const newMonth = new Date(this.leftMonth);
912
- newMonth.setDate(1);
913
- newMonth.setMonth(month);
914
- this.leftMonth = newMonth;
915
- this.showLeftMonthDropdown = false;
916
- } else {
917
- const newMonth = new Date(this.rightMonth);
918
- newMonth.setDate(1);
919
- newMonth.setMonth(month);
920
- this.rightMonth = newMonth;
921
- this.showRightMonthDropdown = false;
922
- }
923
- }
924
- changeYear(delta, isLeft) {
925
- if (isLeft) {
926
- const newMonth = new Date(this.leftMonth);
927
- newMonth.setFullYear(newMonth.getFullYear() + delta);
928
- this.leftMonth = newMonth;
929
- } else {
930
- const newMonth = new Date(this.rightMonth);
931
- newMonth.setFullYear(newMonth.getFullYear() + delta);
932
- this.rightMonth = newMonth;
933
- }
934
- }
935
- handleYearInput(event, isLeft) {
936
- const input = event.target;
937
- const year = parseInt(input.value, 10);
938
- if (!isNaN(year) && year >= 1900 && year <= 2100) {
939
- if (isLeft) {
940
- const newMonth = new Date(this.leftMonth);
941
- newMonth.setFullYear(year);
942
- this.leftMonth = newMonth;
943
- } else {
944
- const newMonth = new Date(this.rightMonth);
945
- newMonth.setFullYear(year);
946
- this.rightMonth = newMonth;
947
- }
948
- }
949
- }
950
- getDaysInMonth(date) {
951
- const year = date.getFullYear();
952
- const month = date.getMonth();
953
- const createDate = (y, m, d) => {
954
- if (this.enableTime) {
955
- return new Date(Date.UTC(y, m, d, 0, 0, 0));
956
- }
957
- return new Date(y, m, d);
958
- };
959
- const firstDay = createDate(year, month, 1);
960
- const lastDay = new Date(year, month + 1, 0);
961
- const days = [];
962
- const firstDayOfWeek = this.enableTime ? firstDay.getUTCDay() : firstDay.getDay();
963
- for (let i = firstDayOfWeek - 1; i >= 0; i--) {
964
- const day = createDate(year, month, -i);
965
- days.push(day);
966
- }
967
- for (let i = 1; i <= lastDay.getDate(); i++) {
968
- days.push(createDate(year, month, i));
969
- }
970
- const remainingDays = 7 - days.length % 7;
971
- if (remainingDays < 7) {
972
- for (let i = 1; i <= remainingDays; i++) {
973
- days.push(createDate(year, month + 1, i));
974
- }
975
- }
976
- return days;
977
- }
978
- isSameDay(date1, date2) {
979
- if (!date1 || !date2)
980
- return false;
981
- if (this.enableTime) {
982
- return date1.getUTCFullYear() === date2.getUTCFullYear() && date1.getUTCMonth() === date2.getUTCMonth() && date1.getUTCDate() === date2.getUTCDate();
983
- }
984
- return date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth() && date1.getDate() === date2.getDate();
985
- }
986
- isInRange(date) {
987
- if (!this.selectedStart || !this.selectedEnd)
988
- return false;
989
- const time = date.getTime();
990
- return time >= this.selectedStart.getTime() && time <= this.selectedEnd.getTime();
991
- }
992
- isInHoverRange(date) {
993
- if (!this.range || !this.selectedStart || !this.hoverDate || this.selectedEnd)
994
- return false;
995
- const time = date.getTime();
996
- const start = Math.min(this.selectedStart.getTime(), this.hoverDate.getTime());
997
- const end = Math.max(this.selectedStart.getTime(), this.hoverDate.getTime());
998
- return time >= start && time <= end;
999
- }
1000
- isDisabled(date) {
1001
- if (this.minDate) {
1002
- const min = this.parseLocalDate(this.minDate);
1003
- const minMidnight = new Date(
1004
- Date.UTC(min.getUTCFullYear(), min.getUTCMonth(), min.getUTCDate())
1005
- );
1006
- const dateMidnight = new Date(
1007
- Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate())
1008
- );
1009
- if (dateMidnight < minMidnight)
1010
- return true;
1011
- }
1012
- if (this.maxDate) {
1013
- const max = this.parseLocalDate(this.maxDate);
1014
- const maxMidnight = new Date(
1015
- Date.UTC(max.getUTCFullYear(), max.getUTCMonth(), max.getUTCDate())
1016
- );
1017
- const dateMidnight = new Date(
1018
- Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate())
1019
- );
1020
- if (dateMidnight > maxMidnight)
1021
- return true;
1022
- }
1023
- return false;
1024
- }
1025
- selectDate(date) {
1026
- if (this.isDisabled(date)) {
1027
- this.emit("terra-date-selection-invalid", {
1028
- detail: {
1029
- message: `You are not allowed to select dates outside ${this.minDate} to ${this.maxDate}.`
1030
- }
1031
- });
1032
- return;
1033
- }
1034
- this.clearInputValidation();
1035
- if (this.range) {
1036
- if (!this.selectedStart || this.selectedEnd) {
1037
- this.selectedStart = date;
1038
- this.selectedEnd = null;
1039
- this.isSelectingRange = true;
1040
- } else {
1041
- if (date < this.selectedStart) {
1042
- this.selectedEnd = this.selectedStart;
1043
- this.selectedStart = date;
1044
- } else {
1045
- this.selectedEnd = date;
1046
- }
1047
- this.isSelectingRange = false;
1048
- if (this.enableTime && this.selectedStart && this.selectedEnd && this.isSameDay(this.selectedStart, this.selectedEnd)) {
1049
- const startTimeSeconds = this.startHour * 3600 + this.startMinute * 60 + this.startSecond;
1050
- const endTimeSeconds = this.endHour * 3600 + this.endMinute * 60 + this.endSecond;
1051
- if (endTimeSeconds < startTimeSeconds) {
1052
- this.emit("terra-date-selection-invalid", {
1053
- detail: {
1054
- message: "End time is before start time. Please adjust the time values."
1055
- }
1056
- });
1057
- }
1058
- }
1059
- this.emitChange();
1060
- if (!this.inline) {
1061
- this.isOpen = false;
1062
- }
1063
- }
1064
- } else {
1065
- this.selectedStart = date;
1066
- this.selectedEnd = null;
1067
- this.emitChange();
1068
- if (!this.inline) {
1069
- this.isOpen = false;
1070
- }
1071
- }
1072
- }
1073
- handleDateHover(date) {
1074
- if (this.range && this.selectedStart && !this.selectedEnd) {
1075
- this.hoverDate = date;
1076
- }
1077
- }
1078
- selectPreset(preset) {
1079
- const { startDate, endDate } = preset.getValue();
1080
- if (!this.isPresetWithinBounds({ startDate, endDate })) {
1081
- this.emit("terra-date-selection-invalid", {
1082
- detail: {
1083
- message: `The preset "${preset.label}" is not available within the allowed date range ${this.minDate} to ${this.maxDate}.`
1084
- }
1085
- });
1086
- return;
1087
- }
1088
- this.clearInputValidation();
1089
- const { min, max } = this.getBounds();
1090
- if (this.range) {
1091
- let s = startDate;
1092
- let e3 = endDate;
1093
- if (s && min && s < min)
1094
- s = new Date(min);
1095
- if (s && max && s > max)
1096
- s = new Date(max);
1097
- if (e3 && min && e3 < min)
1098
- e3 = new Date(min);
1099
- if (e3 && max && e3 > max)
1100
- e3 = new Date(max);
1101
- if (s && e3 && e3 < s) {
1102
- const tmp = s;
1103
- s = e3;
1104
- e3 = tmp;
1105
- }
1106
- this.selectedStart = s;
1107
- this.selectedEnd = e3;
1108
- } else {
1109
- let s = startDate;
1110
- if (s && min && s < min)
1111
- s = new Date(min);
1112
- if (s && max && s > max)
1113
- s = new Date(max);
1114
- this.selectedStart = s;
1115
- this.selectedEnd = null;
1116
- }
1117
- if (this.selectedStart) {
1118
- this.leftMonth = new Date(this.selectedStart);
1119
- if (this.range && this.selectedEnd) {
1120
- this.rightMonth = new Date(this.selectedEnd);
1121
- }
1122
- }
1123
- this.emitChange();
1124
- if (!this.range && !this.inline) {
1125
- this.isOpen = false;
1126
- }
1127
- }
1128
- emitChange() {
1129
- let startDateTime = "";
1130
- let endDateTime = "";
1131
- if (this.selectedStart) {
1132
- if (this.enableTime) {
1133
- const startDate = new Date(this.selectedStart);
1134
- startDate.setUTCHours(
1135
- this.startHour,
1136
- this.startMinute,
1137
- this.startSecond,
1138
- 0
1139
- );
1140
- startDateTime = startDate.toISOString();
1141
- } else {
1142
- const year = this.selectedStart.getFullYear();
1143
- const month = String(this.selectedStart.getMonth() + 1).padStart(
1144
- 2,
1145
- "0"
1146
- );
1147
- const day = String(this.selectedStart.getDate()).padStart(2, "0");
1148
- startDateTime = `${year}-${month}-${day}`;
1149
- }
1150
- }
1151
- if (this.selectedEnd) {
1152
- if (this.enableTime) {
1153
- const endDate = new Date(this.selectedEnd);
1154
- endDate.setUTCHours(this.endHour, this.endMinute, this.endSecond, 0);
1155
- endDateTime = endDate.toISOString();
1156
- } else {
1157
- const year = this.selectedEnd.getFullYear();
1158
- const month = String(this.selectedEnd.getMonth() + 1).padStart(2, "0");
1159
- const day = String(this.selectedEnd.getDate()).padStart(2, "0");
1160
- endDateTime = `${year}-${month}-${day}`;
1161
- }
1162
- }
1163
- this.emit("terra-date-range-change", {
1164
- detail: {
1165
- startDate: startDateTime,
1166
- endDate: endDateTime
1167
- }
1168
- });
1169
- }
1170
- initializeTimeFromDate(date, isStart) {
1171
- const hours = date.getUTCHours();
1172
- const minutes = date.getUTCMinutes();
1173
- const seconds = date.getUTCSeconds();
1174
- if (isStart) {
1175
- this.startHour = hours;
1176
- this.startMinute = minutes;
1177
- this.startSecond = seconds;
1178
- } else {
1179
- this.endHour = hours;
1180
- this.endMinute = minutes;
1181
- this.endSecond = seconds;
1182
- }
1183
- }
1184
- changeTime(type, delta, isStart) {
1185
- if (type === "hour") {
1186
- if (isStart) {
1187
- let newHour = this.startHour + delta;
1188
- if (newHour > 23)
1189
- newHour = 0;
1190
- if (newHour < 0)
1191
- newHour = 23;
1192
- this.startHour = newHour;
1193
- } else {
1194
- let newHour = this.endHour + delta;
1195
- if (newHour > 23)
1196
- newHour = 0;
1197
- if (newHour < 0)
1198
- newHour = 23;
1199
- this.endHour = newHour;
1200
- }
1201
- } else if (type === "minute") {
1202
- if (isStart) {
1203
- let newMinute = this.startMinute + delta;
1204
- if (newMinute >= 60)
1205
- newMinute = 0;
1206
- if (newMinute < 0)
1207
- newMinute = 59;
1208
- this.startMinute = newMinute;
1209
- } else {
1210
- let newMinute = this.endMinute + delta;
1211
- if (newMinute >= 60)
1212
- newMinute = 0;
1213
- if (newMinute < 0)
1214
- newMinute = 59;
1215
- this.endMinute = newMinute;
1216
- }
1217
- } else {
1218
- if (isStart) {
1219
- let newSecond = this.startSecond + delta;
1220
- if (newSecond >= 60)
1221
- newSecond = 0;
1222
- if (newSecond < 0)
1223
- newSecond = 59;
1224
- this.startSecond = newSecond;
1225
- } else {
1226
- let newSecond = this.endSecond + delta;
1227
- if (newSecond >= 60)
1228
- newSecond = 0;
1229
- if (newSecond < 0)
1230
- newSecond = 59;
1231
- this.endSecond = newSecond;
1232
- }
1233
- }
1234
- this.emitChange();
1235
- this.requestUpdate();
1236
- }
1237
- handleTimeInput(event, type, isStart) {
1238
- const input = event.target;
1239
- let value = parseInt(input.value, 10);
1240
- if (type === "hour") {
1241
- if (isNaN(value) || value < 0 || value > 23) {
1242
- input.value = isStart ? this.startHour.toString().padStart(2, "0") : this.endHour.toString().padStart(2, "0");
1243
- return;
1244
- }
1245
- if (isStart)
1246
- this.startHour = value;
1247
- else
1248
- this.endHour = value;
1249
- } else if (type === "minute") {
1250
- if (isNaN(value) || value < 0 || value >= 60) {
1251
- input.value = isStart ? this.startMinute.toString().padStart(2, "0") : this.endMinute.toString().padStart(2, "0");
1252
- return;
1253
- }
1254
- if (isStart)
1255
- this.startMinute = value;
1256
- else
1257
- this.endMinute = value;
1258
- } else {
1259
- if (isNaN(value) || value < 0 || value >= 60) {
1260
- input.value = isStart ? this.startSecond.toString().padStart(2, "0") : this.endSecond.toString().padStart(2, "0");
1261
- return;
1262
- }
1263
- if (isStart)
1264
- this.startSecond = value;
1265
- else
1266
- this.endSecond = value;
1267
- }
1268
- this.emitChange();
1269
- this.requestUpdate();
1270
- }
1271
- renderCalendar(month, isLeft = true) {
1272
- const days = this.getDaysInMonth(month);
1273
- const currentMonth = month.getMonth();
1274
- const showDropdown = isLeft ? this.showLeftMonthDropdown : this.showRightMonthDropdown;
1275
- return b`
1276
- <div class="calendar">
1277
- <div class="calendar__header">
1278
- <button
1279
- type="button"
1280
- class="calendar__nav"
1281
- @click=${() => this.previousMonth(isLeft)}
1282
- >
1283
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
1284
- <path
1285
- d="M10 12L6 8L10 4"
1286
- stroke="currentColor"
1287
- stroke-width="2"
1288
- stroke-linecap="round"
1289
- stroke-linejoin="round"
1290
- />
1291
- </svg>
1292
- </button>
1293
-
1294
- <div class="calendar__month-year">
1295
- <div class="calendar__month-dropdown-wrapper">
1296
- <button
1297
- type="button"
1298
- class="calendar__month-button"
1299
- @click=${(e3) => this.toggleMonthDropdown(isLeft, e3)}
1300
- >
1301
- ${this.MONTHS[month.getMonth()]}
1302
- <svg
1303
- width="12"
1304
- height="12"
1305
- viewBox="0 0 12 12"
1306
- fill="none"
1307
- class="calendar__month-icon"
1308
- >
1309
- <path
1310
- d="M3 5L6 8L9 5"
1311
- stroke="currentColor"
1312
- stroke-width="1.5"
1313
- stroke-linecap="round"
1314
- stroke-linejoin="round"
1315
- />
1316
- </svg>
1317
- </button>
1318
-
1319
- ${showDropdown ? b`
1320
- <div class="calendar__month-dropdown">
1321
- ${this.MONTHS.map(
1322
- (monthName, index) => b`
1323
- <button
1324
- type="button"
1325
- class="calendar__month-option ${index === month.getMonth() ? "calendar__month-option--selected" : ""}"
1326
- @click=${() => this.selectMonth(
1327
- index,
1328
- isLeft
1329
- )}
1330
- >
1331
- ${index === month.getMonth() ? b`
1332
- <svg
1333
- width="16"
1334
- height="16"
1335
- viewBox="0 0 16 16"
1336
- fill="none"
1337
- class="calendar__month-check"
1338
- >
1339
- <path
1340
- d="M13 4L6 11L3 8"
1341
- stroke="currentColor"
1342
- stroke-width="2"
1343
- stroke-linecap="round"
1344
- stroke-linejoin="round"
1345
- />
1346
- </svg>
1347
- ` : ""}
1348
- ${monthName}
1349
- </button>
1350
- `
1351
- )}
1352
- </div>
1353
- ` : ""}
1354
- </div>
1355
-
1356
- <div class="calendar__year-input-wrapper">
1357
- <input
1358
- type="number"
1359
- class="calendar__year-input"
1360
- .value=${month.getFullYear().toString()}
1361
- @input=${(e3) => this.handleYearInput(e3, isLeft)}
1362
- @blur=${(e3) => {
1363
- const input = e3.target;
1364
- input.value = month.getFullYear().toString();
1365
- }}
1366
- min="1900"
1367
- max="2100"
1368
- />
1369
- <div class="calendar__year-spinners">
1370
- <button
1371
- type="button"
1372
- class="calendar__year-spinner calendar__year-spinner--up"
1373
- @click=${() => this.changeYear(1, isLeft)}
1374
- >
1375
- <svg
1376
- width="10"
1377
- height="10"
1378
- viewBox="0 0 10 10"
1379
- fill="none"
1380
- >
1381
- <path
1382
- d="M2 6L5 3L8 6"
1383
- stroke="currentColor"
1384
- stroke-width="1.5"
1385
- stroke-linecap="round"
1386
- stroke-linejoin="round"
1387
- />
1388
- </svg>
1389
- </button>
1390
- <button
1391
- type="button"
1392
- class="calendar__year-spinner calendar__year-spinner--down"
1393
- @click=${() => this.changeYear(-1, isLeft)}
1394
- >
1395
- <svg
1396
- width="10"
1397
- height="10"
1398
- viewBox="0 0 10 10"
1399
- fill="none"
1400
- >
1401
- <path
1402
- d="M2 4L5 7L8 4"
1403
- stroke="currentColor"
1404
- stroke-width="1.5"
1405
- stroke-linecap="round"
1406
- stroke-linejoin="round"
1407
- />
1408
- </svg>
1409
- </button>
1410
- </div>
1411
- </div>
1412
- </div>
1413
-
1414
- <button
1415
- type="button"
1416
- class="calendar__nav"
1417
- @click=${() => this.nextMonth(isLeft)}
1418
- >
1419
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
1420
- <path
1421
- d="M6 12L10 8L6 4"
1422
- stroke="currentColor"
1423
- stroke-width="2"
1424
- stroke-linecap="round"
1425
- stroke-linejoin="round"
1426
- />
1427
- </svg>
1428
- </button>
1429
- </div>
1430
- <div class="calendar__weekdays">
1431
- ${this.DAYS.map(
1432
- (day) => b`<div class="calendar__weekday">${day}</div>`
1433
- )}
1434
- </div>
1435
- <div class="calendar__days">
1436
- ${days.map((date) => {
1437
- const dateMonth = this.enableTime ? date.getUTCMonth() : date.getMonth();
1438
- const dateDay = this.enableTime ? date.getUTCDate() : date.getDate();
1439
- const isCurrentMonth = dateMonth === currentMonth;
1440
- const isSelected = this.isSameDay(date, this.selectedStart) || this.isSameDay(date, this.selectedEnd);
1441
- const isStart = this.isSameDay(date, this.selectedStart);
1442
- const isEnd = this.isSameDay(date, this.selectedEnd);
1443
- const inRange = this.isInRange(date);
1444
- const inHoverRange = this.isInHoverRange(date);
1445
- const isDisabled = this.isDisabled(date);
1446
- return b`
1447
- <button
1448
- type="button"
1449
- class="calendar__day ${!isCurrentMonth ? "calendar__day--outside" : ""}
1450
- ${isSelected ? "calendar__day--selected" : ""}
1451
- ${isStart ? "calendar__day--start" : ""}
1452
- ${isEnd ? "calendar__day--end" : ""}
1453
- ${inRange ? "calendar__day--in-range" : ""}
1454
- ${inHoverRange ? "calendar__day--hover-range" : ""}
1455
- ${isDisabled ? "calendar__day--disabled" : ""}"
1456
- @click=${() => this.selectDate(date)}
1457
- @mouseenter=${() => this.handleDateHover(date)}
1458
- ?disabled=${isDisabled}
1459
- >
1460
- ${dateDay}
1461
- </button>
1462
- `;
1463
- })}
1464
- </div>
1465
- </div>
1466
- `;
1467
- }
1468
- renderTimePicker() {
1469
- if (!this.enableTime)
1470
- return "";
1471
- return b`
1472
- <div class="date-picker__time">
1473
- <div class="date-picker__time-section">
1474
- <div class="date-picker__time-inputs">
1475
- <div class="date-picker__time-input-group">
1476
- <input
1477
- type="number"
1478
- class="date-picker__time-input"
1479
- .value=${this.startHour.toString().padStart(2, "0")}
1480
- @input=${(e3) => this.handleTimeInput(e3, "hour", true)}
1481
- @blur=${(e3) => {
1482
- const input = e3.target;
1483
- input.value = this.startHour.toString().padStart(2, "0");
1484
- }}
1485
- min="0"
1486
- max="23"
1487
- />
1488
- <div class="date-picker__time-spinners">
1489
- <button
1490
- type="button"
1491
- class="date-picker__time-spinner"
1492
- @click=${() => this.changeTime("hour", 1, true)}
1493
- >
1494
- <svg
1495
- width="10"
1496
- height="10"
1497
- viewBox="0 0 10 10"
1498
- fill="none"
1499
- >
1500
- <path
1501
- d="M2 6L5 3L8 6"
1502
- stroke="currentColor"
1503
- stroke-width="1.5"
1504
- stroke-linecap="round"
1505
- stroke-linejoin="round"
1506
- />
1507
- </svg>
1508
- </button>
1509
- <button
1510
- type="button"
1511
- class="date-picker__time-spinner"
1512
- @click=${() => this.changeTime("hour", -1, true)}
1513
- >
1514
- <svg
1515
- width="10"
1516
- height="10"
1517
- viewBox="0 0 10 10"
1518
- fill="none"
1519
- >
1520
- <path
1521
- d="M2 4L5 7L8 4"
1522
- stroke="currentColor"
1523
- stroke-width="1.5"
1524
- stroke-linecap="round"
1525
- stroke-linejoin="round"
1526
- />
1527
- </svg>
1528
- </button>
1529
- </div>
1530
- </div>
1531
-
1532
- <span class="date-picker__time-separator">:</span>
1533
-
1534
- <div class="date-picker__time-input-group">
1535
- <input
1536
- type="number"
1537
- class="date-picker__time-input"
1538
- .value=${this.startMinute.toString().padStart(2, "0")}
1539
- @input=${(e3) => this.handleTimeInput(e3, "minute", true)}
1540
- @blur=${(e3) => {
1541
- const input = e3.target;
1542
- input.value = this.startMinute.toString().padStart(2, "0");
1543
- }}
1544
- min="0"
1545
- max="59"
1546
- />
1547
- <div class="date-picker__time-spinners">
1548
- <button
1549
- type="button"
1550
- class="date-picker__time-spinner"
1551
- @click=${() => this.changeTime("minute", 1, true)}
1552
- >
1553
- <svg
1554
- width="10"
1555
- height="10"
1556
- viewBox="0 0 10 10"
1557
- fill="none"
1558
- >
1559
- <path
1560
- d="M2 6L5 3L8 6"
1561
- stroke="currentColor"
1562
- stroke-width="1.5"
1563
- stroke-linecap="round"
1564
- stroke-linejoin="round"
1565
- />
1566
- </svg>
1567
- </button>
1568
- <button
1569
- type="button"
1570
- class="date-picker__time-spinner"
1571
- @click=${() => this.changeTime("minute", -1, true)}
1572
- >
1573
- <svg
1574
- width="10"
1575
- height="10"
1576
- viewBox="0 0 10 10"
1577
- fill="none"
1578
- >
1579
- <path
1580
- d="M2 4L5 7L8 4"
1581
- stroke="currentColor"
1582
- stroke-width="1.5"
1583
- stroke-linecap="round"
1584
- stroke-linejoin="round"
1585
- />
1586
- </svg>
1587
- </button>
1588
- </div>
1589
- </div>
1590
-
1591
- <span class="date-picker__time-separator">:</span>
1592
-
1593
- <div class="date-picker__time-input-group">
1594
- <input
1595
- type="number"
1596
- class="date-picker__time-input"
1597
- .value=${this.startSecond.toString().padStart(2, "0")}
1598
- @input=${(e3) => this.handleTimeInput(e3, "second", true)}
1599
- @blur=${(e3) => {
1600
- const input = e3.target;
1601
- input.value = this.startSecond.toString().padStart(2, "0");
1602
- }}
1603
- min="0"
1604
- max="59"
1605
- />
1606
- <div class="date-picker__time-spinners">
1607
- <button
1608
- type="button"
1609
- class="date-picker__time-spinner"
1610
- @click=${() => this.changeTime("second", 1, true)}
1611
- >
1612
- <svg
1613
- width="10"
1614
- height="10"
1615
- viewBox="0 0 10 10"
1616
- fill="none"
1617
- >
1618
- <path
1619
- d="M2 6L5 3L8 6"
1620
- stroke="currentColor"
1621
- stroke-width="1.5"
1622
- stroke-linecap="round"
1623
- stroke-linejoin="round"
1624
- />
1625
- </svg>
1626
- </button>
1627
- <button
1628
- type="button"
1629
- class="date-picker__time-spinner"
1630
- @click=${() => this.changeTime("second", -1, true)}
1631
- >
1632
- <svg
1633
- width="10"
1634
- height="10"
1635
- viewBox="0 0 10 10"
1636
- fill="none"
1637
- >
1638
- <path
1639
- d="M2 4L5 7L8 4"
1640
- stroke="currentColor"
1641
- stroke-width="1.5"
1642
- stroke-linecap="round"
1643
- stroke-linejoin="round"
1644
- />
1645
- </svg>
1646
- </button>
1647
- </div>
1648
- </div>
1649
- </div>
1650
- </div>
1651
-
1652
- ${this.range ? b`
1653
- <span class="date-picker__separator">–</span>
1654
-
1655
- <div class="date-picker__time-section">
1656
- <div class="date-picker__time-inputs">
1657
- <div class="date-picker__time-input-group">
1658
- <input
1659
- type="number"
1660
- class="date-picker__time-input"
1661
- .value=${this.endHour.toString().padStart(2, "0")}
1662
- @input=${(e3) => this.handleTimeInput(e3, "hour", false)}
1663
- @blur=${(e3) => {
1664
- const input = e3.target;
1665
- input.value = this.endHour.toString().padStart(2, "0");
1666
- }}
1667
- min="0"
1668
- max="23"
1669
- />
1670
- <div class="date-picker__time-spinners">
1671
- <button
1672
- type="button"
1673
- class="date-picker__time-spinner"
1674
- @click=${() => this.changeTime("hour", 1, false)}
1675
- >
1676
- <svg
1677
- width="10"
1678
- height="10"
1679
- viewBox="0 0 10 10"
1680
- fill="none"
1681
- >
1682
- <path
1683
- d="M2 6L5 3L8 6"
1684
- stroke="currentColor"
1685
- stroke-width="1.5"
1686
- stroke-linecap="round"
1687
- stroke-linejoin="round"
1688
- />
1689
- </svg>
1690
- </button>
1691
- <button
1692
- type="button"
1693
- class="date-picker__time-spinner"
1694
- @click=${() => this.changeTime("hour", -1, false)}
1695
- >
1696
- <svg
1697
- width="10"
1698
- height="10"
1699
- viewBox="0 0 10 10"
1700
- fill="none"
1701
- >
1702
- <path
1703
- d="M2 4L5 7L8 4"
1704
- stroke="currentColor"
1705
- stroke-width="1.5"
1706
- stroke-linecap="round"
1707
- stroke-linejoin="round"
1708
- />
1709
- </svg>
1710
- </button>
1711
- </div>
1712
- </div>
1713
-
1714
- <span class="date-picker__time-separator">:</span>
1715
-
1716
- <div class="date-picker__time-input-group">
1717
- <input
1718
- type="number"
1719
- class="date-picker__time-input"
1720
- .value=${this.endMinute.toString().padStart(2, "0")}
1721
- @input=${(e3) => this.handleTimeInput(
1722
- e3,
1723
- "minute",
1724
- false
1725
- )}
1726
- @blur=${(e3) => {
1727
- const input = e3.target;
1728
- input.value = this.endMinute.toString().padStart(2, "0");
1729
- }}
1730
- min="0"
1731
- max="59"
1732
- />
1733
- <div class="date-picker__time-spinners">
1734
- <button
1735
- type="button"
1736
- class="date-picker__time-spinner"
1737
- @click=${() => this.changeTime("minute", 1, false)}
1738
- >
1739
- <svg
1740
- width="10"
1741
- height="10"
1742
- viewBox="0 0 10 10"
1743
- fill="none"
1744
- >
1745
- <path
1746
- d="M2 6L5 3L8 6"
1747
- stroke="currentColor"
1748
- stroke-width="1.5"
1749
- stroke-linecap="round"
1750
- stroke-linejoin="round"
1751
- />
1752
- </svg>
1753
- </button>
1754
- <button
1755
- type="button"
1756
- class="date-picker__time-spinner"
1757
- @click=${() => this.changeTime(
1758
- "minute",
1759
- -1,
1760
- false
1761
- )}
1762
- >
1763
- <svg
1764
- width="10"
1765
- height="10"
1766
- viewBox="0 0 10 10"
1767
- fill="none"
1768
- >
1769
- <path
1770
- d="M2 4L5 7L8 4"
1771
- stroke="currentColor"
1772
- stroke-width="1.5"
1773
- stroke-linecap="round"
1774
- stroke-linejoin="round"
1775
- />
1776
- </svg>
1777
- </button>
1778
- </div>
1779
- </div>
1780
-
1781
- <span class="date-picker__time-separator">:</span>
1782
-
1783
- <div class="date-picker__time-input-group">
1784
- <input
1785
- type="number"
1786
- class="date-picker__time-input"
1787
- .value=${this.endSecond.toString().padStart(2, "0")}
1788
- @input=${(e3) => this.handleTimeInput(
1789
- e3,
1790
- "second",
1791
- false
1792
- )}
1793
- @blur=${(e3) => {
1794
- const input = e3.target;
1795
- input.value = this.endSecond.toString().padStart(2, "0");
1796
- }}
1797
- min="0"
1798
- max="59"
1799
- />
1800
- <div class="date-picker__time-spinners">
1801
- <button
1802
- type="button"
1803
- class="date-picker__time-spinner"
1804
- @click=${() => this.changeTime("second", 1, false)}
1805
- >
1806
- <svg
1807
- width="10"
1808
- height="10"
1809
- viewBox="0 0 10 10"
1810
- fill="none"
1811
- >
1812
- <path
1813
- d="M2 6L5 3L8 6"
1814
- stroke="currentColor"
1815
- stroke-width="1.5"
1816
- stroke-linecap="round"
1817
- stroke-linejoin="round"
1818
- />
1819
- </svg>
1820
- </button>
1821
- <button
1822
- type="button"
1823
- class="date-picker__time-spinner"
1824
- @click=${() => this.changeTime(
1825
- "second",
1826
- -1,
1827
- false
1828
- )}
1829
- >
1830
- <svg
1831
- width="10"
1832
- height="10"
1833
- viewBox="0 0 10 10"
1834
- fill="none"
1835
- >
1836
- <path
1837
- d="M2 4L5 7L8 4"
1838
- stroke="currentColor"
1839
- stroke-width="1.5"
1840
- stroke-linecap="round"
1841
- stroke-linejoin="round"
1842
- />
1843
- </svg>
1844
- </button>
1845
- </div>
1846
- </div>
1847
- </div>
1848
- </div>
1849
- ` : ""}
1850
- </div>
1851
- `;
1852
- }
1853
- renderCalendarIcon() {
1854
- return b`
1855
- <svg
1856
- slot="suffix"
1857
- class="date-picker__icon"
1858
- width="20"
1859
- height="20"
1860
- viewBox="0 0 24 24"
1861
- fill="none"
1862
- stroke="currentColor"
1863
- stroke-width="2"
1864
- >
1865
- <rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
1866
- <line x1="16" y1="2" x2="16" y2="6"></line>
1867
- <line x1="8" y1="2" x2="8" y2="6"></line>
1868
- <line x1="3" y1="10" x2="21" y2="10"></line>
1869
- </svg>
1870
- `;
1871
- }
1872
- renderCalendarContent() {
1873
- return b`
1874
- <div class="date-picker__dropdown" part="calendar">
1875
- ${this.showClose ? b`
1876
- <div class="dropdown-header">
1877
- <button
1878
- class="date-picker__close-btn"
1879
- @click=${(e3) => {
1880
- e3.stopPropagation();
1881
- this.close();
1882
- }}
1883
- aria-label="Close"
1884
- >
1885
-
1886
- </button>
1887
- </div>
1888
- ` : A}
1889
- <div class="date-picker__content">
1890
- ${this.showPresets && this.filteredPresets.length > 0 ? b`
1891
- <div class="date-picker__sidebar" part="sidebar">
1892
- <slot name="sidebar-header"></slot>
1893
-
1894
- <div class="presets">
1895
- ${this.filteredPresets.map(
1896
- (preset) => b`
1897
- <button
1898
- type="button"
1899
- class="date-picker__preset"
1900
- @click=${() => this.selectPreset(preset)}
1901
- >
1902
- ${preset.label}
1903
- </button>
1904
- `
1905
- )}
1906
- </div>
1907
-
1908
- <slot name="sidebar-footer">
1909
- <terra-button
1910
- outline
1911
- variant="default"
1912
- size="small"
1913
- @click=${() => this.clear()}
1914
- >
1915
- ${this.clearAllLabel}
1916
- </terra-button>
1917
- </slot>
1918
- </div>
1919
- ` : ""}
1920
-
1921
- <div class="date-picker__calendars">
1922
- ${this.renderCalendar(this.leftMonth, true)}
1923
- ${this.range ? this.renderCalendar(this.rightMonth, false) : ""}
1924
- </div>
1925
- </div>
1926
-
1927
- ${this.enableTime ? this.renderTimePicker() : ""}
1928
- </div>
1929
- `;
1930
- }
1931
- render() {
1932
- const showSplitInputs = this.range && this.splitInputs;
1933
- if (this.inline) {
1934
- return b`
1935
- <div
1936
- class="date-picker date-picker--inline ${showSplitInputs ? "date-picker--split-inputs" : ""}"
1937
- @click=${(e3) => e3.stopPropagation()}
1938
- >
1939
- ${showSplitInputs ? b`
1940
- <div class="date-picker__inputs">
1941
- <terra-input
1942
- .label=${this.startLabel || (this.label ? `${this.label} (Start)` : "Start Date")}
1943
- .hideLabel=${this.hideLabel}
1944
- .helpText=${this.startHelpText || this.helpText}
1945
- .value=${this.getStartDateDisplayValue()}
1946
- @terra-blur=${this.handleStartInputBlur}
1947
- @keydown=${this.handleKeydown}
1948
- placeholder=${this.startPlaceholder}
1949
- name="start-date"
1950
- >
1951
- ${this.renderCalendarIcon()}
1952
- </terra-input>
1953
- <terra-input
1954
- .label=${this.endLabel || (this.label ? `${this.label} (End)` : "End Date")}
1955
- .hideLabel=${this.hideLabel}
1956
- .helpText=${this.endHelpText || this.helpText}
1957
- .value=${this.getEndDateDisplayValue()}
1958
- @terra-blur=${this.handleEndInputBlur}
1959
- @keydown=${this.handleKeydown}
1960
- placeholder=${this.endPlaceholder}
1961
- name="end-date"
1962
- >
1963
- ${this.renderCalendarIcon()}
1964
- </terra-input>
1965
- </div>
1966
- ` : b`
1967
- <terra-input
1968
- .label=${this.label}
1969
- .hideLabel=${this.hideLabel}
1970
- .helpText=${this.helpText}
1971
- .value=${this.getDisplayValue()}
1972
- placeholder=${this.placeholder}
1973
- @terra-blur=${this.handleInputBlur}
1974
- @keydown=${this.handleKeydown}
1975
- name="date"
1976
- >
1977
- ${this.renderCalendarIcon()}
1978
- </terra-input>
1979
- `}
1980
-
1981
- <slot name="additional-text"></slot>
1982
-
1983
- <div class="date-picker__dropdown-wrapper">
1984
- <div
1985
- class="date-picker__dropdown date-picker__dropdown--inline"
1986
- part="calendar"
1987
- >
1988
- <div class="date-picker__content">
1989
- ${this.showPresets && this.filteredPresets.length > 0 ? b`
1990
- <div
1991
- class="date-picker__sidebar"
1992
- part="sidebar"
1993
- >
1994
- <slot name="sidebar-header"></slot>
1995
-
1996
- <div class="presets">
1997
- ${this.filteredPresets.map(
1998
- (preset) => b`
1999
- <button
2000
- type="button"
2001
- class="date-picker__preset"
2002
- @click=${() => this.selectPreset(
2003
- preset
2004
- )}
2005
- >
2006
- ${preset.label}
2007
- </button>
2008
- `
2009
- )}
2010
- </div>
2011
-
2012
- <slot name="sidebar-footer">
2013
- <terra-button
2014
- outline
2015
- variant="default"
2016
- size="small"
2017
- @click=${() => this.clear()}
2018
- >
2019
- ${this.clearAllLabel}
2020
- </terra-button>
2021
- </slot>
2022
- </div>
2023
- ` : ""}
2024
-
2025
- <div class="date-picker__calendars">
2026
- ${this.renderCalendar(this.leftMonth, true)}
2027
- ${this.range ? this.renderCalendar(this.rightMonth, false) : ""}
2028
- </div>
2029
- </div>
2030
-
2031
- ${this.enableTime ? this.renderTimePicker() : ""}
2032
- </div>
2033
- </div>
2034
- </div>
2035
- `;
2036
- }
2037
- return b`
2038
- <div
2039
- class="date-picker ${showSplitInputs ? "date-picker--split-inputs" : ""}"
2040
- @click=${(e3) => e3.stopPropagation()}
2041
- >
2042
- ${showSplitInputs ? b`
2043
- <div class="date-picker__inputs">
2044
- <terra-dropdown
2045
- ${n2(this.dropdownRef)}
2046
- placement="bottom-start"
2047
- distance="4"
2048
- @terra-show=${this.handleDropdownShow}
2049
- @terra-hide=${this.handleDropdownHide}
2050
- hoist
2051
- >
2052
- <terra-input
2053
- slot="trigger"
2054
- .label=${this.startLabel || (this.label ? `${this.label} (Start)` : "Start Date")}
2055
- .hideLabel=${this.hideLabel}
2056
- .helpText=${this.startHelpText || this.helpText}
2057
- .value=${this.getStartDateDisplayValue()}
2058
- placeholder=${this.startPlaceholder}
2059
- @terra-blur=${this.handleStartInputBlur}
2060
- @keydown=${this.handleKeydown}
2061
- name="start-date"
2062
- >
2063
- ${this.renderCalendarIcon()}
2064
- </terra-input>
2065
- ${this.renderCalendarContent()}
2066
- </terra-dropdown>
2067
- <terra-dropdown
2068
- placement="bottom-start"
2069
- distance="4"
2070
- @terra-show=${this.handleDropdownShow}
2071
- @terra-hide=${this.handleDropdownHide}
2072
- hoist
2073
- >
2074
- <terra-input
2075
- slot="trigger"
2076
- .label=${this.endLabel || (this.label ? `${this.label} (End)` : "End Date")}
2077
- .hideLabel=${this.hideLabel}
2078
- .helpText=${this.endHelpText || this.helpText}
2079
- .value=${this.getEndDateDisplayValue()}
2080
- placeholder=${this.endPlaceholder}
2081
- @terra-blur=${this.handleEndInputBlur}
2082
- @keydown=${this.handleKeydown}
2083
- name="end-date"
2084
- >
2085
- ${this.renderCalendarIcon()}
2086
- </terra-input>
2087
- ${this.renderCalendarContent()}
2088
- </terra-dropdown>
2089
- </div>
2090
- ` : b`
2091
- <terra-dropdown
2092
- ${n2(this.dropdownRef)}
2093
- placement="bottom-start"
2094
- distance="4"
2095
- @terra-show=${this.handleDropdownShow}
2096
- @terra-hide=${this.handleDropdownHide}
2097
- hoist
2098
- >
2099
- <terra-input
2100
- slot="trigger"
2101
- .label=${this.label}
2102
- .hideLabel=${this.hideLabel}
2103
- .helpText=${this.helpText}
2104
- .value=${this.getDisplayValue()}
2105
- placeholder=${this.placeholder}
2106
- @terra-blur=${this.handleInputBlur}
2107
- @keydown=${this.handleKeydown}
2108
- name="date"
2109
- >
2110
- ${this.renderCalendarIcon()}
2111
- </terra-input>
2112
- ${this.renderCalendarContent()}
2113
- </terra-dropdown>
2114
- `}
2115
- </div>
2116
- `;
2117
- }
2118
- };
2119
- TerraDatePicker.styles = [component_styles_default, date_picker_styles_default];
2120
- TerraDatePicker.dependencies = {
2121
- "terra-button": TerraButton,
2122
- "terra-input": TerraInput,
2123
- "terra-dropdown": TerraDropdown
2124
- };
2125
- __decorateClass([
2126
- n()
2127
- ], TerraDatePicker.prototype, "id", 2);
2128
- __decorateClass([
2129
- n({ type: Boolean, reflect: true })
2130
- ], TerraDatePicker.prototype, "range", 2);
2131
- __decorateClass([
2132
- n({ attribute: "min-date", reflect: true })
2133
- ], TerraDatePicker.prototype, "minDate", 2);
2134
- __decorateClass([
2135
- n({ attribute: "max-date", reflect: true })
2136
- ], TerraDatePicker.prototype, "maxDate", 2);
2137
- __decorateClass([
2138
- n({ attribute: "start-date", reflect: true })
2139
- ], TerraDatePicker.prototype, "startDate", 2);
2140
- __decorateClass([
2141
- n({ attribute: "end-date", reflect: true })
2142
- ], TerraDatePicker.prototype, "endDate", 2);
2143
- __decorateClass([
2144
- n({ attribute: "hide-label", type: Boolean })
2145
- ], TerraDatePicker.prototype, "hideLabel", 2);
2146
- __decorateClass([
2147
- n()
2148
- ], TerraDatePicker.prototype, "label", 2);
2149
- __decorateClass([
2150
- n({ attribute: "help-text" })
2151
- ], TerraDatePicker.prototype, "helpText", 2);
2152
- __decorateClass([
2153
- n({ attribute: "start-help-text" })
2154
- ], TerraDatePicker.prototype, "startHelpText", 2);
2155
- __decorateClass([
2156
- n({ attribute: "end-help-text" })
2157
- ], TerraDatePicker.prototype, "endHelpText", 2);
2158
- __decorateClass([
2159
- n({ attribute: "start-label" })
2160
- ], TerraDatePicker.prototype, "startLabel", 2);
2161
- __decorateClass([
2162
- n({ attribute: "end-label" })
2163
- ], TerraDatePicker.prototype, "endLabel", 2);
2164
- __decorateClass([
2165
- n({ type: Boolean, attribute: "show-presets" })
2166
- ], TerraDatePicker.prototype, "showPresets", 2);
2167
- __decorateClass([
2168
- n({ type: Array })
2169
- ], TerraDatePicker.prototype, "presets", 2);
2170
- __decorateClass([
2171
- n({ type: Boolean, attribute: "enable-time" })
2172
- ], TerraDatePicker.prototype, "enableTime", 2);
2173
- __decorateClass([
2174
- n({ attribute: "display-format" })
2175
- ], TerraDatePicker.prototype, "displayFormat", 2);
2176
- __decorateClass([
2177
- n({ type: Boolean })
2178
- ], TerraDatePicker.prototype, "inline", 2);
2179
- __decorateClass([
2180
- n({ type: Boolean, attribute: "split-inputs" })
2181
- ], TerraDatePicker.prototype, "splitInputs", 2);
2182
- __decorateClass([
2183
- n()
2184
- ], TerraDatePicker.prototype, "placeholder", 2);
2185
- __decorateClass([
2186
- n()
2187
- ], TerraDatePicker.prototype, "startPlaceholder", 2);
2188
- __decorateClass([
2189
- n()
2190
- ], TerraDatePicker.prototype, "endPlaceholder", 2);
2191
- __decorateClass([
2192
- n({ reflect: true })
2193
- ], TerraDatePicker.prototype, "role", 2);
2194
- __decorateClass([
2195
- n({ reflect: true, attribute: "aria-label" })
2196
- ], TerraDatePicker.prototype, "ariaLabel", 2);
2197
- __decorateClass([
2198
- n({ type: Boolean })
2199
- ], TerraDatePicker.prototype, "hideClearAll", 2);
2200
- __decorateClass([
2201
- n()
2202
- ], TerraDatePicker.prototype, "clearAllLabel", 2);
2203
- __decorateClass([
2204
- n({ type: Boolean, attribute: "use-end-of-day" })
2205
- ], TerraDatePicker.prototype, "useEndOfDay", 2);
2206
- __decorateClass([
2207
- n({ attribute: "closable", type: Boolean })
2208
- ], TerraDatePicker.prototype, "showClose", 2);
2209
- __decorateClass([
2210
- r()
2211
- ], TerraDatePicker.prototype, "isOpen", 2);
2212
- __decorateClass([
2213
- r()
2214
- ], TerraDatePicker.prototype, "leftMonth", 2);
2215
- __decorateClass([
2216
- r()
2217
- ], TerraDatePicker.prototype, "rightMonth", 2);
2218
- __decorateClass([
2219
- r()
2220
- ], TerraDatePicker.prototype, "selectedStart", 2);
2221
- __decorateClass([
2222
- r()
2223
- ], TerraDatePicker.prototype, "selectedEnd", 2);
2224
- __decorateClass([
2225
- r()
2226
- ], TerraDatePicker.prototype, "hoverDate", 2);
2227
- __decorateClass([
2228
- r()
2229
- ], TerraDatePicker.prototype, "isSelectingRange", 2);
2230
- __decorateClass([
2231
- r()
2232
- ], TerraDatePicker.prototype, "showLeftMonthDropdown", 2);
2233
- __decorateClass([
2234
- r()
2235
- ], TerraDatePicker.prototype, "showRightMonthDropdown", 2);
2236
- __decorateClass([
2237
- r()
2238
- ], TerraDatePicker.prototype, "startHour", 2);
2239
- __decorateClass([
2240
- r()
2241
- ], TerraDatePicker.prototype, "startMinute", 2);
2242
- __decorateClass([
2243
- r()
2244
- ], TerraDatePicker.prototype, "startSecond", 2);
2245
- __decorateClass([
2246
- r()
2247
- ], TerraDatePicker.prototype, "endHour", 2);
2248
- __decorateClass([
2249
- r()
2250
- ], TerraDatePicker.prototype, "endMinute", 2);
2251
- __decorateClass([
2252
- r()
2253
- ], TerraDatePicker.prototype, "endSecond", 2);
2254
- __decorateClass([
2255
- r()
2256
- ], TerraDatePicker.prototype, "selectedDates", 2);
2257
- __decorateClass([
2258
- e(".date-picker__dropdown")
2259
- ], TerraDatePicker.prototype, "dropdown", 2);
2260
-
2261
- export {
2262
- TerraDatePicker
2263
- };