@nasa-terra/components 0.0.16 → 0.0.19

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 (356) hide show
  1. package/cdn/chunks/{chunk.2TIJ6R6B.js → chunk.255N2VBJ.js} +1 -1
  2. package/cdn/chunks/{chunk.JIUOSOVY.js → chunk.26M35UMA.js} +1 -1
  3. package/cdn/chunks/{chunk.7VSR26CA.js → chunk.2MR4S2RG.js} +2 -2
  4. package/cdn/chunks/{chunk.EHY7VY3A.js → chunk.35UPRHLO.js} +1 -1
  5. package/cdn/chunks/{chunk.XV5OXFZF.js → chunk.3QDQU6IH.js} +1 -1
  6. package/cdn/chunks/{chunk.JM34BH4L.js → chunk.3X46EXSH.js} +1 -1
  7. package/cdn/chunks/{chunk.336JMC6Z.js → chunk.4BM5VFHP.js} +4 -2
  8. package/cdn/chunks/{chunk.KNJGM7ZC.js → chunk.7NUP2QM3.js} +1 -1
  9. package/cdn/chunks/{chunk.FKIVBKR4.js → chunk.A7JNBDMV.js} +1 -1
  10. package/{dist/chunks/chunk.2GTDPFRM.js → cdn/chunks/chunk.CVMKTAN6.js} +1 -1
  11. package/cdn/chunks/{chunk.RPXN4NU2.js → chunk.D4PVXIX4.js} +1 -1
  12. package/cdn/chunks/{chunk.VLVUJMLW.js → chunk.D4RFPP4E.js} +14 -14
  13. package/cdn/chunks/{chunk.IA24KXWX.js → chunk.EFFYILRO.js} +1 -1
  14. package/{dist/chunks/chunk.CBU7JODA.js → cdn/chunks/chunk.FXBR2CLR.js} +1 -1
  15. package/cdn/chunks/{chunk.AI62NGNK.js → chunk.GGXVEHRQ.js} +1 -1
  16. package/cdn/chunks/{chunk.MGN45BTW.js → chunk.GVXNMKZL.js} +1 -1
  17. package/cdn/chunks/{chunk.LCBLTPNH.js → chunk.H4JY2YI5.js} +1 -1
  18. package/cdn/chunks/{chunk.3ENNXZ6R.js → chunk.HOJQS4WB.js} +23 -14
  19. package/cdn/chunks/{chunk.T3R3UWJ7.js → chunk.HYBK26DZ.js} +3 -3
  20. package/cdn/chunks/{chunk.VXV5USN7.js → chunk.I4SJOUOT.js} +9 -9
  21. package/cdn/chunks/{chunk.5TCRMMVM.js → chunk.IEKKFDDR.js} +1 -1
  22. package/cdn/chunks/{chunk.QQ3GAD4X.js → chunk.JF5WE7DB.js} +4 -4
  23. package/cdn/chunks/{chunk.F6HKKNJR.js → chunk.K3KUUN7M.js} +15 -15
  24. package/cdn/chunks/{chunk.EIMG4XGS.js → chunk.KGVGJIN6.js} +4 -4
  25. package/cdn/chunks/{chunk.DY5SMOW7.js → chunk.KRV3QC6E.js} +1 -2
  26. package/cdn/chunks/{chunk.SDCAKUF2.js → chunk.MU5VF7T7.js} +1 -1
  27. package/cdn/chunks/{chunk.57LVW27O.js → chunk.N36ACYG7.js} +1 -1
  28. package/cdn/chunks/{chunk.TG4WI6CA.js → chunk.N6CSKYGG.js} +1 -1
  29. package/cdn/chunks/{chunk.PETOVVIO.js → chunk.PHMP6QZK.js} +1 -1
  30. package/cdn/chunks/{chunk.TOG3CR4L.js → chunk.Q7V7IFTI.js} +1 -1
  31. package/cdn/chunks/{chunk.WVAKAESC.js → chunk.RJCQ5JYU.js} +1 -1
  32. package/cdn/chunks/{chunk.ODLY7QWO.js → chunk.RPRZYXWX.js} +1 -1
  33. package/cdn/chunks/{chunk.F3WO26WZ.js → chunk.SAY53MDH.js} +3 -3
  34. package/{dist/chunks/chunk.KPXFSE3J.js → cdn/chunks/chunk.SBTMIM4P.js} +6 -3
  35. package/cdn/chunks/{chunk.RYDRC65X.js → chunk.SU7526RC.js} +1 -1
  36. package/{dist/chunks/chunk.34PQNYPP.js → cdn/chunks/chunk.T6LQIGOC.js} +1 -1
  37. package/{dist/chunks/chunk.KCYAARKK.js → cdn/chunks/chunk.T6XNILRG.js} +1 -1
  38. package/cdn/chunks/{chunk.5EGY75T5.js → chunk.UBVSIOSK.js} +4 -4
  39. package/cdn/chunks/{chunk.77DLQZVO.js → chunk.UQREFLTK.js} +1 -1
  40. package/cdn/chunks/{chunk.GZ24SYY3.js → chunk.VJ3ZRWAI.js} +2 -6
  41. package/cdn/chunks/{chunk.TD5OSBG3.js → chunk.VVXXEKVB.js} +1 -1
  42. package/cdn/chunks/{chunk.PBTOMMNF.js → chunk.VWOCHHDI.js} +7 -7
  43. package/cdn/chunks/{chunk.G6ADH3AH.js → chunk.WLGNUWUQ.js} +1 -1
  44. package/cdn/chunks/{chunk.QE6VXD5B.js → chunk.WRRDTOCT.js} +5 -2
  45. package/cdn/chunks/{chunk.IFWHGZLJ.js → chunk.XPKFSIPV.js} +1 -1
  46. package/cdn/chunks/{chunk.OB7ATVCO.js → chunk.YGXFM6FJ.js} +1 -1
  47. package/cdn/chunks/{chunk.CZH6I2IA.js → chunk.ZAYAT2TO.js} +1 -1
  48. package/cdn/chunks/{chunk.X2ZVRY4H.js → chunk.ZJVBOKXX.js} +1 -1
  49. package/cdn/chunks/{chunk.NGNH7UG4.js → chunk.ZMHMRAXL.js} +4 -4
  50. package/cdn/chunks/{chunk.MSS2SPZN.js → chunk.ZSTKVGYN.js} +1 -1
  51. package/cdn/components/browse-variables/browse-variables.component.js +19 -19
  52. package/cdn/components/browse-variables/browse-variables.js +20 -20
  53. package/cdn/components/button/button.component.js +4 -4
  54. package/cdn/components/button/button.js +5 -5
  55. package/cdn/components/chip/chip.component.js +2 -2
  56. package/cdn/components/chip/chip.js +3 -3
  57. package/cdn/components/combobox/combobox.component.js +4 -4
  58. package/cdn/components/combobox/combobox.js +5 -5
  59. package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
  60. package/cdn/components/date-range-slider/date-range-slider.js +4 -4
  61. package/cdn/components/giovanni-search/giovanni-search.component.js +13 -13
  62. package/cdn/components/giovanni-search/giovanni-search.js +14 -14
  63. package/cdn/components/icon/icon.component.js +4 -4
  64. package/cdn/components/icon/icon.js +5 -5
  65. package/cdn/components/icon/library.js +2 -2
  66. package/cdn/components/loader/loader.component.js +2 -2
  67. package/cdn/components/loader/loader.js +3 -3
  68. package/cdn/components/login/login.component.js +13 -13
  69. package/cdn/components/login/login.js +14 -14
  70. package/cdn/components/map/leaflet-utils.d.ts +1 -1
  71. package/cdn/components/map/leaflet-utils.js +1 -1
  72. package/cdn/components/map/map.component.js +5 -5
  73. package/cdn/components/map/map.controller.js +1 -1
  74. package/cdn/components/map/map.js +6 -6
  75. package/cdn/components/plot/plot.component.js +2 -2
  76. package/cdn/components/plot/plot.js +3 -3
  77. package/cdn/components/skeleton/skeleton.component.js +2 -2
  78. package/cdn/components/skeleton/skeleton.js +3 -3
  79. package/cdn/components/spatial-picker/spatial-picker.component.js +6 -6
  80. package/cdn/components/spatial-picker/spatial-picker.js +7 -7
  81. package/cdn/components/time-series/time-series.component.d.ts +4 -2
  82. package/cdn/components/time-series/time-series.component.js +25 -25
  83. package/cdn/components/time-series/time-series.controller.d.ts +4 -3
  84. package/cdn/components/time-series/time-series.controller.js +1 -1
  85. package/cdn/components/time-series/time-series.js +26 -26
  86. package/cdn/components/variable-combobox/variable-combobox.component.js +12 -12
  87. package/cdn/components/variable-combobox/variable-combobox.controller.js +2 -2
  88. package/cdn/components/variable-combobox/variable-combobox.js +13 -13
  89. package/cdn/custom-elements.json +458 -450
  90. package/cdn/events/events.d.ts +1 -0
  91. package/cdn/events/terra-time-series-data-change.d.ts +16 -0
  92. package/cdn/react/browse-variables/index.js +20 -20
  93. package/cdn/react/button/index.js +5 -5
  94. package/cdn/react/chip/index.js +3 -3
  95. package/cdn/react/combobox/index.js +5 -5
  96. package/cdn/react/date-range-slider/index.js +4 -4
  97. package/cdn/react/giovanni-search/index.js +14 -14
  98. package/cdn/react/icon/index.js +5 -5
  99. package/cdn/react/index.d.ts +2 -2
  100. package/cdn/react/index.js +64 -64
  101. package/cdn/react/loader/index.js +3 -3
  102. package/cdn/react/login/index.js +14 -14
  103. package/cdn/react/map/index.js +6 -6
  104. package/cdn/react/plot/index.js +3 -3
  105. package/cdn/react/skeleton/index.js +3 -3
  106. package/cdn/react/spatial-picker/index.js +7 -7
  107. package/cdn/react/time-series/index.d.ts +8 -1
  108. package/cdn/react/time-series/index.js +26 -26
  109. package/cdn/react/variable-combobox/index.js +13 -13
  110. package/cdn/terra-ui-components.js +58 -58
  111. package/cdn/types/vue/index.d.ts +68 -63
  112. package/cdn/utilities/icon-library.js +2 -2
  113. package/cdn/vscode.html-custom-data.json +49 -49
  114. package/cdn/web-types.json +85 -75
  115. package/{cdn/chunks/chunk.JBZMCSPD.js → dist/chunks/chunk.267RAJCD.js} +1 -1
  116. package/dist/chunks/{chunk.DV6U7J5D.js → chunk.2GFNQRFQ.js} +6 -6
  117. package/dist/chunks/{chunk.2KFIIWTA.js → chunk.2GIVYMVS.js} +1 -1
  118. package/dist/chunks/{chunk.ECOMXZ5Z.js → chunk.2SW6ZLO3.js} +6 -6
  119. package/dist/chunks/{chunk.5TCRMMVM.js → chunk.5BLMPQLX.js} +1 -1
  120. package/{cdn/chunks/chunk.MTNKN7SC.js → dist/chunks/chunk.6BQMITBG.js} +1 -1
  121. package/dist/chunks/{chunk.BQKL24VU.js → chunk.6W5DHHGH.js} +1 -1
  122. package/{cdn/chunks/chunk.NZLN7XGH.js → dist/chunks/chunk.6XGCF2AT.js} +1 -1
  123. package/{cdn/chunks/chunk.WALPLM23.js → dist/chunks/chunk.BLNX7W6U.js} +1 -1
  124. package/{cdn/chunks/chunk.34PQNYPP.js → dist/chunks/chunk.BQZFEJJM.js} +1 -1
  125. package/{cdn/chunks/chunk.NXW5W246.js → dist/chunks/chunk.CG2UCM6R.js} +4 -4
  126. package/{cdn/chunks/chunk.QJJV3URN.js → dist/chunks/chunk.CIHL36QS.js} +1 -1
  127. package/{cdn/chunks/chunk.NHY4FPXP.js → dist/chunks/chunk.DOHDFFXP.js} +6 -6
  128. package/{cdn/chunks/chunk.CUBR5ACQ.js → dist/chunks/chunk.DTO6LPWI.js} +1 -1
  129. package/{cdn/chunks/chunk.TFD7EM3D.js → dist/chunks/chunk.DWTCCF6R.js} +1 -1
  130. package/dist/chunks/{chunk.DR7BNSRT.js → chunk.E2GNJGZV.js} +1 -1
  131. package/dist/chunks/{chunk.SL7W466R.js → chunk.EX74UTJ7.js} +1 -1
  132. package/{cdn/chunks/chunk.UFFAH5CF.js → dist/chunks/chunk.FYQLL4HT.js} +1 -1
  133. package/{cdn/chunks/chunk.5HSDW7A7.js → dist/chunks/chunk.GAYRUSX6.js} +1 -1
  134. package/dist/chunks/{chunk.FKSGPKJ4.js → chunk.GGC3H4U4.js} +1 -1
  135. package/dist/chunks/{chunk.HSXXKVP2.js → chunk.GVOL34BS.js} +1 -1
  136. package/{cdn/chunks/chunk.TWEJH5NG.js → dist/chunks/chunk.HEWVEHI5.js} +1 -1
  137. package/dist/chunks/{chunk.FRYGAWGB.js → chunk.I3WITIFZ.js} +1 -1
  138. package/{cdn/chunks/chunk.WYAUVXJM.js → dist/chunks/chunk.ICVWA4P5.js} +5 -2
  139. package/{cdn/chunks/chunk.TRSTZLH4.js → dist/chunks/chunk.IKXISAQ2.js} +1 -1
  140. package/{cdn/chunks/chunk.EUMBRSX6.js → dist/chunks/chunk.ITTYAXUW.js} +1 -1
  141. package/{cdn/chunks/chunk.AE3PFNQE.js → dist/chunks/chunk.JFDJULBY.js} +1 -1
  142. package/{cdn/chunks/chunk.Y4T6LEGB.js → dist/chunks/chunk.JQIAVJLL.js} +1 -1
  143. package/{cdn/chunks/chunk.XSTI34LB.js → dist/chunks/chunk.JRFWKQYN.js} +1 -1
  144. package/dist/chunks/{chunk.EU6EQVBK.js → chunk.KADMU3E4.js} +3 -3
  145. package/dist/chunks/{chunk.GPMEZSRZ.js → chunk.KBIE3IOP.js} +1 -1
  146. package/{cdn/chunks/chunk.SQBTHONX.js → dist/chunks/chunk.LA3ITE3F.js} +3 -3
  147. package/dist/chunks/{chunk.G3K7U3GY.js → chunk.LHTTKRV2.js} +4 -4
  148. package/{cdn/chunks/chunk.EAPY6ENL.js → dist/chunks/chunk.LIXRQ4TF.js} +1 -1
  149. package/{cdn/chunks/chunk.DGKBWVVI.js → dist/chunks/chunk.MVIGRS3J.js} +1 -1
  150. package/{cdn/chunks/chunk.5LOTY62O.js → dist/chunks/chunk.PHKCL7D5.js} +1 -1
  151. package/dist/chunks/{chunk.7OAL7XX6.js → chunk.RQNB3PHE.js} +1 -1
  152. package/dist/chunks/{chunk.6ZBHXUFH.js → chunk.RSVF27RD.js} +1 -1
  153. package/{cdn/chunks/chunk.KPXFSE3J.js → dist/chunks/chunk.SBTMIM4P.js} +6 -3
  154. package/dist/chunks/{chunk.U4QKPX6T.js → chunk.SLW4ZVXI.js} +25 -16
  155. package/dist/chunks/{chunk.I5ZJKFQJ.js → chunk.TFKLXJVS.js} +12 -12
  156. package/dist/chunks/{chunk.BY7D7WUU.js → chunk.TK54QVRF.js} +4 -4
  157. package/{cdn/chunks/chunk.2GTDPFRM.js → dist/chunks/chunk.TRICHLNH.js} +1 -1
  158. package/dist/chunks/{chunk.ZC2AYSV2.js → chunk.UBBSTKSW.js} +4 -2
  159. package/{cdn/chunks/chunk.UQKHXO3T.js → dist/chunks/chunk.UCFFAP7X.js} +1 -2
  160. package/dist/chunks/{chunk.RPCYLOW6.js → chunk.UKBQUK7O.js} +1 -1
  161. package/{cdn/chunks/chunk.NLHKPFJJ.js → dist/chunks/chunk.WFSOHTHG.js} +1 -1
  162. package/dist/chunks/{chunk.6BHFQXZZ.js → chunk.X232PDAN.js} +1 -1
  163. package/{cdn/chunks/chunk.EPQIDDJG.js → dist/chunks/chunk.XBXVMXH7.js} +2 -6
  164. package/dist/chunks/{chunk.45HI7TFT.js → chunk.XVXKFPWS.js} +1 -1
  165. package/dist/components/browse-variables/browse-variables.component.js +16 -16
  166. package/dist/components/browse-variables/browse-variables.js +17 -17
  167. package/dist/components/button/button.component.js +3 -3
  168. package/dist/components/button/button.js +4 -4
  169. package/dist/components/chip/chip.component.js +2 -2
  170. package/dist/components/chip/chip.js +3 -3
  171. package/dist/components/combobox/combobox.component.js +3 -3
  172. package/dist/components/combobox/combobox.js +4 -4
  173. package/dist/components/date-range-slider/date-range-slider.component.js +3 -3
  174. package/dist/components/date-range-slider/date-range-slider.js +4 -4
  175. package/dist/components/giovanni-search/giovanni-search.component.js +11 -11
  176. package/dist/components/giovanni-search/giovanni-search.js +12 -12
  177. package/dist/components/icon/icon.component.js +4 -4
  178. package/dist/components/icon/icon.js +5 -5
  179. package/dist/components/icon/library.js +2 -2
  180. package/dist/components/loader/loader.component.js +2 -2
  181. package/dist/components/loader/loader.js +3 -3
  182. package/dist/components/login/login.component.js +11 -11
  183. package/dist/components/login/login.js +12 -12
  184. package/dist/components/map/leaflet-utils.d.ts +1 -1
  185. package/dist/components/map/leaflet-utils.js +1 -1
  186. package/dist/components/map/map.component.js +4 -4
  187. package/dist/components/map/map.controller.js +1 -1
  188. package/dist/components/map/map.js +5 -5
  189. package/dist/components/plot/plot.component.js +2 -2
  190. package/dist/components/plot/plot.js +3 -3
  191. package/dist/components/skeleton/skeleton.component.js +2 -2
  192. package/dist/components/skeleton/skeleton.js +3 -3
  193. package/dist/components/spatial-picker/spatial-picker.component.js +5 -5
  194. package/dist/components/spatial-picker/spatial-picker.js +6 -6
  195. package/dist/components/time-series/time-series.component.d.ts +4 -2
  196. package/dist/components/time-series/time-series.component.js +21 -21
  197. package/dist/components/time-series/time-series.controller.d.ts +4 -3
  198. package/dist/components/time-series/time-series.controller.js +1 -1
  199. package/dist/components/time-series/time-series.js +22 -22
  200. package/dist/components/variable-combobox/variable-combobox.component.js +10 -10
  201. package/dist/components/variable-combobox/variable-combobox.controller.js +1 -1
  202. package/dist/components/variable-combobox/variable-combobox.js +11 -11
  203. package/dist/custom-elements.json +458 -450
  204. package/dist/events/events.d.ts +1 -0
  205. package/dist/events/terra-time-series-data-change.d.ts +16 -0
  206. package/dist/react/browse-variables/index.js +17 -17
  207. package/dist/react/button/index.js +4 -4
  208. package/dist/react/chip/index.js +3 -3
  209. package/dist/react/combobox/index.js +4 -4
  210. package/dist/react/date-range-slider/index.js +4 -4
  211. package/dist/react/giovanni-search/index.js +12 -12
  212. package/dist/react/icon/index.js +5 -5
  213. package/dist/react/index.d.ts +2 -2
  214. package/dist/react/index.js +59 -59
  215. package/dist/react/loader/index.js +3 -3
  216. package/dist/react/login/index.js +12 -12
  217. package/dist/react/map/index.js +5 -5
  218. package/dist/react/plot/index.js +3 -3
  219. package/dist/react/skeleton/index.js +3 -3
  220. package/dist/react/spatial-picker/index.js +6 -6
  221. package/dist/react/time-series/index.d.ts +8 -1
  222. package/dist/react/time-series/index.js +22 -22
  223. package/dist/react/variable-combobox/index.js +11 -11
  224. package/dist/terra-ui-components.js +53 -53
  225. package/dist/terra_ui_components-0.0.19-py3-none-any.whl +0 -0
  226. package/dist/{terra_ui_components-0.0.16.tar.gz → terra_ui_components-0.0.19.tar.gz} +0 -0
  227. package/dist/types/vue/index.d.ts +68 -63
  228. package/dist/utilities/icon-library.js +2 -2
  229. package/dist/vscode.html-custom-data.json +49 -49
  230. package/dist/web-types.json +85 -75
  231. package/package.json +3 -4
  232. package/cdn/chunks/chunk.2DQS7YWJ.js +0 -41
  233. package/cdn/chunks/chunk.2KFIIWTA.js +0 -53
  234. package/cdn/chunks/chunk.2TEPJ23V.js +0 -11
  235. package/cdn/chunks/chunk.2V4XFMTB.js +0 -7
  236. package/cdn/chunks/chunk.3IXG5IJD.js +0 -21
  237. package/cdn/chunks/chunk.45HI7TFT.js +0 -11
  238. package/cdn/chunks/chunk.62YHGVQN.js +0 -335
  239. package/cdn/chunks/chunk.6PYVTQGY.js +0 -11
  240. package/cdn/chunks/chunk.7OAL7XX6.js +0 -21
  241. package/cdn/chunks/chunk.7OKJDEHN.js +0 -139
  242. package/cdn/chunks/chunk.7VUSSQRI.js +0 -20
  243. package/cdn/chunks/chunk.7WL3WWGJ.js +0 -293
  244. package/cdn/chunks/chunk.AAWOHDFX.js +0 -259
  245. package/cdn/chunks/chunk.ADOXGJHH.js +0 -11
  246. package/cdn/chunks/chunk.APJOA6RL.js +0 -655
  247. package/cdn/chunks/chunk.BQKL24VU.js +0 -82
  248. package/cdn/chunks/chunk.BY7D7WUU.js +0 -180
  249. package/cdn/chunks/chunk.CBU7JODA.js +0 -11
  250. package/cdn/chunks/chunk.CNUQQWCR.js +0 -215
  251. package/cdn/chunks/chunk.DR7BNSRT.js +0 -21
  252. package/cdn/chunks/chunk.DV6U7J5D.js +0 -264
  253. package/cdn/chunks/chunk.EGZMQ7T7.js +0 -35
  254. package/cdn/chunks/chunk.FBOXM56P.js +0 -19
  255. package/cdn/chunks/chunk.FWXMF6WX.js +0 -327
  256. package/cdn/chunks/chunk.GHDRVO5M.js +0 -125
  257. package/cdn/chunks/chunk.GR7XHOA3.js +0 -52
  258. package/cdn/chunks/chunk.I5ZJKFQJ.js +0 -578
  259. package/cdn/chunks/chunk.JOOAZ4RH.js +0 -50
  260. package/cdn/chunks/chunk.KAV5L6Z5.js +0 -318
  261. package/cdn/chunks/chunk.KZ3ISS6V.js +0 -120
  262. package/cdn/chunks/chunk.LELNKRPW.js +0 -685
  263. package/cdn/chunks/chunk.MDRUDBRH.js +0 -43
  264. package/cdn/chunks/chunk.NX4TE64Y.js +0 -25
  265. package/cdn/chunks/chunk.OIDMX5LU.js +0 -10
  266. package/cdn/chunks/chunk.PICX7LPQ.js +0 -194
  267. package/cdn/chunks/chunk.PL4INVKT.js +0 -24
  268. package/cdn/chunks/chunk.Q44TP6D4.js +0 -477
  269. package/cdn/chunks/chunk.QEMJLGM4.js +0 -58
  270. package/cdn/chunks/chunk.QK5OWFVO.js +0 -238
  271. package/cdn/chunks/chunk.RPCYLOW6.js +0 -354
  272. package/cdn/chunks/chunk.RV2KFFXW.js +0 -116
  273. package/cdn/chunks/chunk.SK7IZCKP.js +0 -37
  274. package/cdn/chunks/chunk.SR6QXNO3.js +0 -24
  275. package/cdn/chunks/chunk.TQJATCGZ.js +0 -11
  276. package/cdn/chunks/chunk.TVFCHGU3.js +0 -76
  277. package/cdn/chunks/chunk.U4QKPX6T.js +0 -192
  278. package/cdn/chunks/chunk.UGKIMEZW.js +0 -21
  279. package/cdn/chunks/chunk.UIYPAVP3.js +0 -104
  280. package/cdn/chunks/chunk.USCKHG5S.js +0 -25
  281. package/cdn/chunks/chunk.V7JJFRAE.js +0 -11
  282. package/cdn/chunks/chunk.W7JRXR2Y.js +0 -293
  283. package/cdn/chunks/chunk.YL2ETAOO.js +0 -153
  284. package/cdn/chunks/chunk.Z2ELMSYN.js +0 -63
  285. package/cdn/chunks/chunk.ZC2AYSV2.js +0 -273
  286. package/dist/chunks/chunk.2O6HB6W6.js +0 -21
  287. package/dist/chunks/chunk.3WHG66G3.js +0 -177
  288. package/dist/chunks/chunk.57LVW27O.js +0 -11
  289. package/dist/chunks/chunk.5LOTY62O.js +0 -120
  290. package/dist/chunks/chunk.5O7TTTJD.js +0 -351
  291. package/dist/chunks/chunk.5UE4SLYC.js +0 -120
  292. package/dist/chunks/chunk.6CLWIMAP.js +0 -21
  293. package/dist/chunks/chunk.6GMULXGW.js +0 -21
  294. package/dist/chunks/chunk.7QKG7IRI.js +0 -379
  295. package/dist/chunks/chunk.A6JU7GRG.js +0 -25
  296. package/dist/chunks/chunk.AC6WDIAW.js +0 -11
  297. package/dist/chunks/chunk.ADOXGJHH.js +0 -11
  298. package/dist/chunks/chunk.CPXWDTHF.js +0 -214
  299. package/dist/chunks/chunk.CUBR5ACQ.js +0 -11
  300. package/dist/chunks/chunk.CZH6I2IA.js +0 -11
  301. package/dist/chunks/chunk.DIBCM2Y3.js +0 -11
  302. package/dist/chunks/chunk.EAPY6ENL.js +0 -11
  303. package/dist/chunks/chunk.EG7EICTO.js +0 -406
  304. package/dist/chunks/chunk.EHY7VY3A.js +0 -21
  305. package/dist/chunks/chunk.EPQIDDJG.js +0 -379
  306. package/dist/chunks/chunk.EZTCV6LQ.js +0 -95
  307. package/dist/chunks/chunk.FIMCDNWK.js +0 -11
  308. package/dist/chunks/chunk.FKIVBKR4.js +0 -11
  309. package/dist/chunks/chunk.FWXMF6WX.js +0 -327
  310. package/dist/chunks/chunk.FY4LGVGC.js +0 -21
  311. package/dist/chunks/chunk.G34ZJR6B.js +0 -11
  312. package/dist/chunks/chunk.GVG7MLLN.js +0 -21
  313. package/dist/chunks/chunk.I5DIH6L6.js +0 -11
  314. package/dist/chunks/chunk.IFWHGZLJ.js +0 -21
  315. package/dist/chunks/chunk.IYEX72BV.js +0 -11
  316. package/dist/chunks/chunk.J7P5CNNR.js +0 -11
  317. package/dist/chunks/chunk.JM34BH4L.js +0 -11
  318. package/dist/chunks/chunk.KQCFGTAH.js +0 -82
  319. package/dist/chunks/chunk.MDRUDBRH.js +0 -43
  320. package/dist/chunks/chunk.MHMITM2Q.js +0 -21
  321. package/dist/chunks/chunk.MTNKN7SC.js +0 -95
  322. package/dist/chunks/chunk.NHY4FPXP.js +0 -351
  323. package/dist/chunks/chunk.NQZGHZYS.js +0 -11
  324. package/dist/chunks/chunk.NXW5W246.js +0 -406
  325. package/dist/chunks/chunk.NZLN7XGH.js +0 -214
  326. package/dist/chunks/chunk.OB7ATVCO.js +0 -24
  327. package/dist/chunks/chunk.ODLY7QWO.js +0 -11
  328. package/dist/chunks/chunk.PARFAN5E.js +0 -25
  329. package/dist/chunks/chunk.PCU3BZMH.js +0 -264
  330. package/dist/chunks/chunk.PETOVVIO.js +0 -21
  331. package/dist/chunks/chunk.PICX7LPQ.js +0 -194
  332. package/dist/chunks/chunk.PYDXDZ7R.js +0 -21
  333. package/dist/chunks/chunk.Q44TP6D4.js +0 -477
  334. package/dist/chunks/chunk.Q67RNINH.js +0 -180
  335. package/dist/chunks/chunk.QLUHMJKU.js +0 -53
  336. package/dist/chunks/chunk.RR45MD47.js +0 -11
  337. package/dist/chunks/chunk.RYDRC65X.js +0 -11
  338. package/dist/chunks/chunk.SDCAKUF2.js +0 -11
  339. package/dist/chunks/chunk.SKHGD7CP.js +0 -578
  340. package/dist/chunks/chunk.SQBTHONX.js +0 -177
  341. package/dist/chunks/chunk.SR6QXNO3.js +0 -24
  342. package/dist/chunks/chunk.SS24NNGJ.js +0 -11
  343. package/dist/chunks/chunk.TFD7EM3D.js +0 -21
  344. package/dist/chunks/chunk.TOG3CR4L.js +0 -21
  345. package/dist/chunks/chunk.U2URIXJW.js +0 -354
  346. package/dist/chunks/chunk.UJ7TXBCU.js +0 -21
  347. package/dist/chunks/chunk.UQKHXO3T.js +0 -66
  348. package/dist/chunks/chunk.V7JJFRAE.js +0 -11
  349. package/dist/chunks/chunk.VR2UR6LQ.js +0 -11
  350. package/dist/chunks/chunk.WALPLM23.js +0 -11
  351. package/dist/chunks/chunk.WVAKAESC.js +0 -21
  352. package/dist/chunks/chunk.WYAUVXJM.js +0 -21
  353. package/dist/chunks/chunk.XSTI34LB.js +0 -21
  354. package/dist/chunks/chunk.XUW42A44.js +0 -21
  355. package/dist/chunks/chunk.XV5OXFZF.js +0 -21
  356. package/dist/terra_ui_components-0.0.16-py3-none-any.whl +0 -0
@@ -1,327 +0,0 @@
1
- import {
2
- giovanni_search_styles_default
3
- } from "./chunk.CNUQQWCR.js";
4
- import {
5
- clearSelection,
6
- renderSearchResult,
7
- walkToOption
8
- } from "./chunk.EGZMQ7T7.js";
9
- import {
10
- icon_default
11
- } from "./chunk.WALPLM23.js";
12
- import {
13
- FetchController
14
- } from "./chunk.JOOAZ4RH.js";
15
- import {
16
- button_default
17
- } from "./chunk.FKIVBKR4.js";
18
- import {
19
- watch
20
- } from "./chunk.SK7IZCKP.js";
21
- import {
22
- TerraElement,
23
- component_styles_default
24
- } from "./chunk.EPQIDDJG.js";
25
- import {
26
- __decorateClass,
27
- __privateAdd,
28
- __privateGet,
29
- __privateMethod,
30
- __privateSet,
31
- __spreadProps,
32
- __spreadValues
33
- } from "./chunk.TVFCHGU3.js";
34
-
35
- // src/components/giovanni-search/giovanni-search.component.ts
36
- import Fuse from "fuse.js";
37
- import { LitElement, html } from "lit";
38
- import { property, state } from "lit/decorators.js";
39
- import { map } from "lit/directives/map.js";
40
- import { ref } from "lit/directives/ref.js";
41
- var _combobox, _fetchController, _listbox, _searchEngine, _walker, _dispatchChange, _handleComboboxChange, _handleOptionClick, _handleKeydown, _manageListboxVisibility, _selectOption, _handleSearch, handleSearch_fn;
42
- var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
43
- constructor() {
44
- super(...arguments);
45
- __privateAdd(this, _handleSearch);
46
- __privateAdd(this, _combobox, null);
47
- __privateAdd(this, _fetchController, new FetchController(this));
48
- __privateAdd(this, _listbox, null);
49
- __privateAdd(this, _searchEngine, null);
50
- __privateAdd(this, _walker, null);
51
- this.label = "Enter search terms (e.g., precipitation, AOD)";
52
- this.hideLabel = true;
53
- this.searchConfig = {
54
- //* @see {@link https://www.fusejs.io/api/options.html#options}
55
- keys: ["id"],
56
- useExtendedSearch: true
57
- };
58
- this.isExpanded = false;
59
- this.query = _TerraGiovanniSearch.initialQuery;
60
- this.searchResults = [];
61
- __privateAdd(this, _dispatchChange, (data) => {
62
- this.emit("terra-giovanni-search-change", { detail: data });
63
- });
64
- __privateAdd(this, _handleComboboxChange, (event) => {
65
- var _a;
66
- const target = event.target;
67
- this.query = target.value;
68
- if (target.value) {
69
- this.isExpanded = true;
70
- }
71
- this.searchResults = (_a = __privateGet(this, _searchEngine)) == null ? void 0 : _a.search(target.value).map(({ item }) => item);
72
- });
73
- __privateAdd(this, _handleOptionClick, (event) => {
74
- const path = event.composedPath();
75
- const [target] = path.filter(
76
- (eventTarget) => eventTarget.role === "option"
77
- );
78
- if (!target) {
79
- return;
80
- }
81
- __privateGet(this, _selectOption).call(this, target);
82
- });
83
- __privateAdd(this, _handleKeydown, (event) => {
84
- var _a;
85
- switch (event.key) {
86
- case "ArrowDown": {
87
- if (!this.isExpanded) {
88
- return;
89
- }
90
- clearSelection(
91
- __privateGet(this, _combobox),
92
- __privateGet(this, _listbox)
93
- );
94
- walkToOption(
95
- __privateGet(this, _walker),
96
- __privateGet(this, _combobox),
97
- "next"
98
- );
99
- break;
100
- }
101
- case "ArrowUp": {
102
- if (!this.isExpanded) {
103
- return;
104
- }
105
- clearSelection(
106
- __privateGet(this, _combobox),
107
- __privateGet(this, _listbox)
108
- );
109
- walkToOption(
110
- __privateGet(this, _walker),
111
- __privateGet(this, _combobox),
112
- "previous"
113
- );
114
- break;
115
- }
116
- case "Enter": {
117
- const currentNode = (_a = __privateGet(this, _walker)) == null ? void 0 : _a.currentNode;
118
- if (currentNode.role === "option") {
119
- __privateGet(this, _selectOption).call(this, currentNode);
120
- }
121
- __privateMethod(this, _handleSearch, handleSearch_fn).call(this, this.query);
122
- break;
123
- }
124
- case "Escape": {
125
- clearSelection(
126
- __privateGet(this, _combobox),
127
- __privateGet(this, _listbox)
128
- );
129
- if (this.isExpanded) {
130
- this.isExpanded = false;
131
- this.dispatchEvent(new Event("cancel"));
132
- } else {
133
- this.query = _TerraGiovanniSearch.initialQuery;
134
- }
135
- break;
136
- }
137
- default: {
138
- break;
139
- }
140
- }
141
- });
142
- __privateAdd(this, _manageListboxVisibility, (event) => {
143
- const path = event.composedPath();
144
- const containedThis = path.some(
145
- (eventTarget) => eventTarget.localName === _TerraGiovanniSearch.tagName
146
- );
147
- if (!containedThis) {
148
- this.isExpanded = false;
149
- }
150
- });
151
- __privateAdd(this, _selectOption, (option) => {
152
- this.query = option.id;
153
- __privateGet(this, _dispatchChange).call(this, option.id);
154
- this.isExpanded = false;
155
- clearSelection(
156
- __privateGet(this, _combobox),
157
- __privateGet(this, _listbox)
158
- );
159
- });
160
- }
161
- async valueChanged(_oldValue, newValue) {
162
- this.query = newValue;
163
- }
164
- connectedCallback() {
165
- super.connectedCallback();
166
- globalThis.addEventListener("click", __privateGet(this, _manageListboxVisibility));
167
- }
168
- disconnectedCallback() {
169
- super.disconnectedCallback();
170
- globalThis.removeEventListener("click", __privateGet(this, _manageListboxVisibility));
171
- }
172
- clear() {
173
- this.query = _TerraGiovanniSearch.initialQuery;
174
- }
175
- close() {
176
- this.isExpanded = false;
177
- }
178
- toggle() {
179
- this.isExpanded = !this.isExpanded;
180
- }
181
- render() {
182
- var _a;
183
- return html`<search part="base" title="Search through the list.">
184
- <label for="combobox" class=${this.hideLabel ? "sr-only" : "input-label"}
185
- >${this.label}</label
186
- >
187
- <div class="search-input-group">
188
- <input
189
- ${ref((el) => {
190
- var _a2;
191
- if (el) {
192
- (_a2 = __privateGet(this, _combobox)) != null ? _a2 : __privateSet(this, _combobox, el);
193
- }
194
- })}
195
- aria-autocomplete="list"
196
- aria-controls="listbox"
197
- aria-haspopup="list"
198
- aria-expanded=${this.isExpanded}
199
- autocomplete="off"
200
- class="combobox"
201
- id="combobox"
202
- part="combobox"
203
- role="combobox"
204
- type="text"
205
- .placeholder=${(_a = this.placeholder) != null ? _a : `${this.label}\u2026`}
206
- .value=${this.query}
207
- @input=${__privateGet(this, _handleComboboxChange)}
208
- @keydown=${__privateGet(this, _handleKeydown)}
209
- />
210
- <terra-button
211
- @click=${() => __privateMethod(this, _handleSearch, handleSearch_fn).call(this, this.query)}
212
- aria-label=${this.query ? `Search for ${this.query}.` : "Enter search term to enable search."}
213
- circle
214
- class="search-button search-input-button"
215
- outline
216
- tabindex="-1"
217
- type="button"
218
- >
219
- <slot name="label">
220
- <terra-icon
221
- font-size="1.5em"
222
- library="heroicons"
223
- name="solid-magnifying-glass"
224
- ></terra-icon>
225
- </slot>
226
- </terra-button>
227
- </div>
228
-
229
- <ul
230
- ${ref((el) => {
231
- var _a2;
232
- if (el) {
233
- (_a2 = __privateGet(this, _listbox)) != null ? _a2 : __privateSet(this, _listbox, el);
234
- }
235
- })}
236
- ?inert=${!this.isExpanded}
237
- ?open=${this.isExpanded}
238
- @click=${__privateGet(this, _handleOptionClick)}
239
- aria-label=${this.query ? `Keywords Matching ${this.query}` : "Keywords"}
240
- id="listbox"
241
- part="listbox"
242
- role="listbox"
243
- class="search-results"
244
- >
245
- ${__privateGet(this, _fetchController).render({
246
- initial: () => html`<li class="updating">Updating List of Keywords</li>`,
247
- pending: () => html`<li class="updating">Updating List of Keywords</li>`,
248
- complete: (list) => {
249
- __privateSet(this, _searchEngine, new Fuse(list, this.searchConfig));
250
- __privateSet(this, _walker, document.createTreeWalker(
251
- __privateGet(this, _listbox),
252
- NodeFilter.SHOW_ELEMENT,
253
- (node) => {
254
- var _a2;
255
- return ["option", "listbox"].includes(
256
- (_a2 = node.role) != null ? _a2 : ""
257
- ) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
258
- }
259
- ));
260
- return map(this.searchResults, renderSearchResult);
261
- },
262
- // TODO: Consider a more robust error strategy...like retry w/ backoff?
263
- error: (errorMessage) => html`<li class="error">${errorMessage}</li>`
264
- })}
265
- </ul>
266
- </search>`;
267
- }
268
- };
269
- _combobox = new WeakMap();
270
- _fetchController = new WeakMap();
271
- _listbox = new WeakMap();
272
- _searchEngine = new WeakMap();
273
- _walker = new WeakMap();
274
- _dispatchChange = new WeakMap();
275
- _handleComboboxChange = new WeakMap();
276
- _handleOptionClick = new WeakMap();
277
- _handleKeydown = new WeakMap();
278
- _manageListboxVisibility = new WeakMap();
279
- _selectOption = new WeakMap();
280
- _handleSearch = new WeakSet();
281
- handleSearch_fn = function(query) {
282
- if (query.length) {
283
- this.emit("terra-search", { detail: this.query });
284
- }
285
- };
286
- _TerraGiovanniSearch.dependencies = {
287
- "terra-button": button_default,
288
- "terra-icon": icon_default
289
- };
290
- _TerraGiovanniSearch.styles = [component_styles_default, giovanni_search_styles_default];
291
- _TerraGiovanniSearch.shadowRootOptions = __spreadProps(__spreadValues({}, LitElement.shadowRootOptions), {
292
- delegatesFocus: true
293
- });
294
- _TerraGiovanniSearch.tagName = "terra-giovanni-search";
295
- _TerraGiovanniSearch.initialQuery = "";
296
- __decorateClass([
297
- property()
298
- ], _TerraGiovanniSearch.prototype, "label", 2);
299
- __decorateClass([
300
- property()
301
- ], _TerraGiovanniSearch.prototype, "placeholder", 2);
302
- __decorateClass([
303
- property({ attribute: "hide-label", type: Boolean })
304
- ], _TerraGiovanniSearch.prototype, "hideLabel", 2);
305
- __decorateClass([
306
- property({ reflect: false, type: Object })
307
- ], _TerraGiovanniSearch.prototype, "searchConfig", 2);
308
- __decorateClass([
309
- property()
310
- ], _TerraGiovanniSearch.prototype, "value", 2);
311
- __decorateClass([
312
- state()
313
- ], _TerraGiovanniSearch.prototype, "isExpanded", 2);
314
- __decorateClass([
315
- state()
316
- ], _TerraGiovanniSearch.prototype, "query", 2);
317
- __decorateClass([
318
- state()
319
- ], _TerraGiovanniSearch.prototype, "searchResults", 2);
320
- __decorateClass([
321
- watch("value")
322
- ], _TerraGiovanniSearch.prototype, "valueChanged", 1);
323
- var TerraGiovanniSearch = _TerraGiovanniSearch;
324
-
325
- export {
326
- TerraGiovanniSearch
327
- };
@@ -1,21 +0,0 @@
1
- import {
2
- TerraDateRangeSlider
3
- } from "./chunk.Q67RNINH.js";
4
-
5
- // src/react/date-range-slider/index.ts
6
- import * as React from "react";
7
- import { createComponent } from "@lit/react";
8
- var tagName = "terra-date-range-slider";
9
- TerraDateRangeSlider.define("terra-date-range-slider");
10
- var reactWrapper = createComponent({
11
- tagName,
12
- elementClass: TerraDateRangeSlider,
13
- react: React,
14
- events: {},
15
- displayName: "TerraDateRangeSlider"
16
- });
17
- var date_range_slider_default = reactWrapper;
18
-
19
- export {
20
- date_range_slider_default
21
- };
@@ -1,11 +0,0 @@
1
- import {
2
- TerraCombobox
3
- } from "./chunk.G3K7U3GY.js";
4
-
5
- // src/components/combobox/combobox.ts
6
- var combobox_default = TerraCombobox;
7
- TerraCombobox.define("terra-combobox");
8
-
9
- export {
10
- combobox_default
11
- };
@@ -1,21 +0,0 @@
1
- import {
2
- TerraTimeSeries
3
- } from "./chunk.SKHGD7CP.js";
4
-
5
- // src/react/time-series/index.ts
6
- import * as React from "react";
7
- import { createComponent } from "@lit/react";
8
- var tagName = "terra-time-series";
9
- TerraTimeSeries.define("terra-time-series");
10
- var reactWrapper = createComponent({
11
- tagName,
12
- elementClass: TerraTimeSeries,
13
- react: React,
14
- events: {},
15
- displayName: "TerraTimeSeries"
16
- });
17
- var time_series_default = reactWrapper;
18
-
19
- export {
20
- time_series_default
21
- };
@@ -1,11 +0,0 @@
1
- import {
2
- TerraIcon
3
- } from "./chunk.CPXWDTHF.js";
4
-
5
- // src/components/icon/icon.ts
6
- var icon_default = TerraIcon;
7
- TerraIcon.define("terra-icon");
8
-
9
- export {
10
- icon_default
11
- };
@@ -1,21 +0,0 @@
1
- import {
2
- TerraPlot
3
- } from "./chunk.MTNKN7SC.js";
4
-
5
- // src/react/plot/index.ts
6
- import * as React from "react";
7
- import { createComponent } from "@lit/react";
8
- var tagName = "terra-plot";
9
- TerraPlot.define("terra-plot");
10
- var reactWrapper = createComponent({
11
- tagName,
12
- elementClass: TerraPlot,
13
- react: React,
14
- events: {},
15
- displayName: "TerraPlot"
16
- });
17
- var plot_default = reactWrapper;
18
-
19
- export {
20
- plot_default
21
- };
@@ -1,11 +0,0 @@
1
- import {
2
- TerraLogin
3
- } from "./chunk.PCU3BZMH.js";
4
-
5
- // src/components/login/login.ts
6
- var login_default = TerraLogin;
7
- TerraLogin.define("terra-login");
8
-
9
- export {
10
- login_default
11
- };
@@ -1,11 +0,0 @@
1
- import {
2
- TerraSkeleton
3
- } from "./chunk.QLUHMJKU.js";
4
-
5
- // src/components/skeleton/skeleton.ts
6
- var skeleton_default = TerraSkeleton;
7
- TerraSkeleton.define("terra-skeleton");
8
-
9
- export {
10
- skeleton_default
11
- };
@@ -1,11 +0,0 @@
1
- import {
2
- TerraSpatialPicker
3
- } from "./chunk.SQBTHONX.js";
4
-
5
- // src/components/spatial-picker/spatial-picker.ts
6
- var spatial_picker_default = TerraSpatialPicker;
7
- TerraSpatialPicker.define("terra-spatial-picker");
8
-
9
- export {
10
- spatial_picker_default
11
- };
@@ -1,82 +0,0 @@
1
- import {
2
- chip_styles_default
3
- } from "./chunk.KZ3ISS6V.js";
4
- import {
5
- TerraElement,
6
- component_styles_default
7
- } from "./chunk.7QKG7IRI.js";
8
- import {
9
- __decorateClass,
10
- __privateAdd,
11
- __privateGet
12
- } from "./chunk.TVFCHGU3.js";
13
-
14
- // src/components/chip/chip.component.ts
15
- import { property } from "lit/decorators.js";
16
- import { html } from "lit";
17
- import { classMap } from "lit/directives/class-map.js";
18
- var _handleRemoveClick;
19
- var TerraChip = class extends TerraElement {
20
- constructor() {
21
- super(...arguments);
22
- this.size = "medium";
23
- __privateAdd(this, _handleRemoveClick, () => {
24
- this.emit("terra-remove");
25
- this.remove();
26
- });
27
- }
28
- render() {
29
- return html`
30
- <div
31
- class="${classMap({
32
- // Sizes
33
- "chip--small": this.size === "small",
34
- "chip--medium": this.size === "medium",
35
- "chip--large": this.size === "large"
36
- })}
37
- chip"
38
- >
39
- <div
40
- class="${classMap({
41
- // Sizes
42
- "chip-content--small": this.size === "small",
43
- "chip-content--medium": this.size === "medium",
44
- "chip-content--large": this.size === "large"
45
- })}
46
- chip-content"
47
- >
48
- <slot part="content" class="tag__content"></slot>
49
- </div>
50
- <button class="chip-close" @click="${__privateGet(this, _handleRemoveClick)}">
51
- <svg
52
- class="${classMap({
53
- // Sizes
54
- "chip-svg--small": this.size === "small",
55
- "chip-svg--medium": this.size === "medium",
56
- "chip-svg--large": this.size === "large"
57
- })}
58
- chip-svg"
59
- focusable="false"
60
- viewBox="0 0 500 500"
61
- aria-hidden="true"
62
- >
63
- <path
64
- d="M 227 56.036 H 265 V 227.037 H 436 V 265.036 H 265 V 436.036 H 227 V 265.036 H 56 V 227.037 H 227 Z"
65
- style="paint-order: fill; fill-rule: nonzero; stroke-width: 0px; transform-origin: 246px 246.036px;"
66
- transform="matrix(0.707107007504, 0.707107007504, -0.707107007504, 0.707107007504, -9.98393e-7, -0.000026419743)"
67
- ></path>
68
- </svg>
69
- </button>
70
- </div>
71
- `;
72
- }
73
- };
74
- _handleRemoveClick = new WeakMap();
75
- TerraChip.styles = [component_styles_default, chip_styles_default];
76
- __decorateClass([
77
- property({ reflect: true })
78
- ], TerraChip.prototype, "size", 2);
79
-
80
- export {
81
- TerraChip
82
- };
@@ -1,43 +0,0 @@
1
- import {
2
- library_default_default
3
- } from "./chunk.XTCYIPKA.js";
4
- import {
5
- library_heroicons_default
6
- } from "./chunk.UCNEPIMI.js";
7
-
8
- // src/components/icon/library.ts
9
- var registry = [library_default_default, library_heroicons_default];
10
- var watchedIcons = [];
11
- function watchIcon(icon) {
12
- watchedIcons.push(icon);
13
- }
14
- function unwatchIcon(icon) {
15
- watchedIcons = watchedIcons.filter((el) => el !== icon);
16
- }
17
- function getIconLibrary(name) {
18
- return registry.find((lib) => lib.name === name);
19
- }
20
- function registerIconLibrary(name, options) {
21
- unregisterIconLibrary(name);
22
- registry.push({
23
- name,
24
- resolver: options.resolver,
25
- mutator: options.mutator
26
- });
27
- watchedIcons.forEach((icon) => {
28
- if (icon.library === name) {
29
- icon.setIcon();
30
- }
31
- });
32
- }
33
- function unregisterIconLibrary(name) {
34
- registry = registry.filter((lib) => lib.name !== name);
35
- }
36
-
37
- export {
38
- watchIcon,
39
- unwatchIcon,
40
- getIconLibrary,
41
- registerIconLibrary,
42
- unregisterIconLibrary
43
- };
@@ -1,21 +0,0 @@
1
- import {
2
- TerraSpatialPicker
3
- } from "./chunk.3WHG66G3.js";
4
-
5
- // src/react/spatial-picker/index.ts
6
- import * as React from "react";
7
- import { createComponent } from "@lit/react";
8
- var tagName = "terra-spatial-picker";
9
- TerraSpatialPicker.define("terra-spatial-picker");
10
- var reactWrapper = createComponent({
11
- tagName,
12
- elementClass: TerraSpatialPicker,
13
- react: React,
14
- events: {},
15
- displayName: "TerraSpatialPicker"
16
- });
17
- var spatial_picker_default = reactWrapper;
18
-
19
- export {
20
- spatial_picker_default
21
- };
@@ -1,95 +0,0 @@
1
- import {
2
- plot_styles_default
3
- } from "./chunk.W7JRXR2Y.js";
4
- import {
5
- watch
6
- } from "./chunk.SK7IZCKP.js";
7
- import {
8
- TerraElement,
9
- component_styles_default
10
- } from "./chunk.EPQIDDJG.js";
11
- import {
12
- __decorateClass,
13
- __privateAdd,
14
- __privateGet,
15
- __privateSet,
16
- __spreadValues
17
- } from "./chunk.TVFCHGU3.js";
18
-
19
- // src/components/plot/plot.component.ts
20
- import { property, query } from "lit/decorators.js";
21
- import { html } from "lit";
22
- import {
23
- newPlot,
24
- Plots
25
- } from "plotly.js-dist-min";
26
- var _resizeObserver;
27
- var TerraPlot = class extends TerraElement {
28
- constructor() {
29
- super(...arguments);
30
- __privateAdd(this, _resizeObserver, void 0);
31
- this.layout = {};
32
- this.config = {};
33
- this.data = [];
34
- }
35
- handleDataChange() {
36
- this.updatePlotWithData();
37
- }
38
- firstUpdated() {
39
- __privateSet(this, _resizeObserver, new ResizeObserver(() => {
40
- Plots.resize(this.base);
41
- }));
42
- __privateGet(this, _resizeObserver).observe(this.base);
43
- if (this.data.length) {
44
- this.updatePlotWithData();
45
- }
46
- }
47
- disconnectedCallback() {
48
- super.disconnectedCallback();
49
- __privateGet(this, _resizeObserver).disconnect();
50
- }
51
- updatePlotWithData() {
52
- if (!this.base) {
53
- return;
54
- }
55
- newPlot(
56
- this.base,
57
- this.data,
58
- __spreadValues({
59
- title: this.plotTitle
60
- }, this.layout),
61
- __spreadValues({ responsive: true }, this.config)
62
- );
63
- }
64
- render() {
65
- return html`<div part="base"></div>`;
66
- }
67
- updated() {
68
- var _a, _b;
69
- (_b = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(".gtitle")) == null ? void 0 : _b.part.add("plot-title");
70
- }
71
- };
72
- _resizeObserver = new WeakMap();
73
- TerraPlot.styles = [component_styles_default, plot_styles_default];
74
- __decorateClass([
75
- query('[part="base"]')
76
- ], TerraPlot.prototype, "base", 2);
77
- __decorateClass([
78
- property()
79
- ], TerraPlot.prototype, "plotTitle", 2);
80
- __decorateClass([
81
- property()
82
- ], TerraPlot.prototype, "layout", 2);
83
- __decorateClass([
84
- property()
85
- ], TerraPlot.prototype, "config", 2);
86
- __decorateClass([
87
- property({ type: Array })
88
- ], TerraPlot.prototype, "data", 2);
89
- __decorateClass([
90
- watch("data")
91
- ], TerraPlot.prototype, "handleDataChange", 1);
92
-
93
- export {
94
- TerraPlot
95
- };