@explorable-viz/fluid 0.12.3 → 0.12.5

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 (793) hide show
  1. package/output-es/Affjax/foreign.js +52 -0
  2. package/output-es/Affjax/index.js +387 -0
  3. package/output-es/Affjax.RequestBody/index.js +22 -0
  4. package/output-es/Affjax.RequestHeader/index.js +58 -0
  5. package/output-es/Affjax.ResponseFormat/index.js +47 -0
  6. package/output-es/Affjax.ResponseHeader/index.js +19 -0
  7. package/output-es/Affjax.StatusCode/index.js +8 -0
  8. package/output-es/Affjax.Web/foreign.js +8 -0
  9. package/output-es/Affjax.Web/index.js +14 -0
  10. package/output-es/App.CodeMirror/foreign.js +69 -0
  11. package/output-es/App.CodeMirror/index.js +3 -0
  12. package/output-es/App.Fig/index.js +713 -0
  13. package/output-es/App.LoadFigure/index.js +131 -0
  14. package/output-es/App.Util/index.js +773 -0
  15. package/output-es/App.Util.Selector/index.js +273 -0
  16. package/output-es/App.View/index.js +310 -0
  17. package/output-es/App.View.BarChart/index.js +153 -0
  18. package/output-es/App.View.DocView/index.js +40 -0
  19. package/output-es/App.View.LineChart/index.js +437 -0
  20. package/output-es/App.View.MatrixView/foreign.js +182 -0
  21. package/output-es/App.View.MatrixView/index.js +232 -0
  22. package/output-es/App.View.MultiView/index.js +30 -0
  23. package/output-es/App.View.Paragraph/index.js +44 -0
  24. package/output-es/App.View.ScatterPlot/foreign.js +110 -0
  25. package/output-es/App.View.ScatterPlot/index.js +122 -0
  26. package/output-es/App.View.Segment/index.js +92 -0
  27. package/output-es/App.View.StackedBar/index.js +54 -0
  28. package/output-es/App.View.TableView/index.js +397 -0
  29. package/output-es/App.View.Text/index.js +157 -0
  30. package/output-es/App.View.Util/index.js +222 -0
  31. package/output-es/App.View.Util.Axes/index.js +79 -0
  32. package/output-es/App.View.Util.D3/foreign.js +263 -0
  33. package/output-es/App.View.Util.D3/index.js +678 -0
  34. package/output-es/App.View.Util.Point/index.js +3 -0
  35. package/output-es/Benchmark/index.js +63 -0
  36. package/output-es/Bind/index.js +24 -0
  37. package/output-es/Control.Alt/index.js +5 -0
  38. package/output-es/Control.Alternative/index.js +11 -0
  39. package/output-es/Control.Applicative/index.js +18 -0
  40. package/output-es/Control.Apply/foreign.js +15 -0
  41. package/output-es/Control.Apply/index.js +17 -0
  42. package/output-es/Control.Biapplicative/index.js +5 -0
  43. package/output-es/Control.Biapply/index.js +11 -0
  44. package/output-es/Control.Bind/foreign.js +9 -0
  45. package/output-es/Control.Bind/index.js +21 -0
  46. package/output-es/Control.Category/index.js +4 -0
  47. package/output-es/Control.Comonad/index.js +2 -0
  48. package/output-es/Control.Comonad.Cofree/index.js +255 -0
  49. package/output-es/Control.Comonad.Cofree.Class/index.js +43 -0
  50. package/output-es/Control.Comonad.Env/index.js +8 -0
  51. package/output-es/Control.Comonad.Env.Class/index.js +17 -0
  52. package/output-es/Control.Comonad.Env.Trans/index.js +113 -0
  53. package/output-es/Control.Comonad.Store/index.js +5 -0
  54. package/output-es/Control.Comonad.Store.Class/index.js +56 -0
  55. package/output-es/Control.Comonad.Store.Trans/index.js +27 -0
  56. package/output-es/Control.Comonad.Traced/index.js +4 -0
  57. package/output-es/Control.Comonad.Traced.Class/index.js +16 -0
  58. package/output-es/Control.Comonad.Traced.Trans/index.js +28 -0
  59. package/output-es/Control.Comonad.Trans.Class/index.js +3 -0
  60. package/output-es/Control.Extend/foreign.js +7 -0
  61. package/output-es/Control.Extend/index.js +12 -0
  62. package/output-es/Control.Lazy/index.js +10 -0
  63. package/output-es/Control.Monad/index.js +27 -0
  64. package/output-es/Control.Monad.Cont/index.js +6 -0
  65. package/output-es/Control.Monad.Cont.Class/index.js +3 -0
  66. package/output-es/Control.Monad.Cont.Trans/index.js +122 -0
  67. package/output-es/Control.Monad.Error.Class/index.js +83 -0
  68. package/output-es/Control.Monad.Except/index.js +10 -0
  69. package/output-es/Control.Monad.Except.Trans/index.js +241 -0
  70. package/output-es/Control.Monad.Free/index.js +423 -0
  71. package/output-es/Control.Monad.Free.Class/index.js +45 -0
  72. package/output-es/Control.Monad.Gen/index.js +132 -0
  73. package/output-es/Control.Monad.Gen.Class/index.js +6 -0
  74. package/output-es/Control.Monad.Gen.Common/index.js +44 -0
  75. package/output-es/Control.Monad.Identity.Trans/index.js +88 -0
  76. package/output-es/Control.Monad.List.Trans/index.js +536 -0
  77. package/output-es/Control.Monad.Maybe.Trans/index.js +217 -0
  78. package/output-es/Control.Monad.RWS/index.js +16 -0
  79. package/output-es/Control.Monad.RWS.Trans/index.js +260 -0
  80. package/output-es/Control.Monad.Reader/index.js +6 -0
  81. package/output-es/Control.Monad.Reader.Class/index.js +11 -0
  82. package/output-es/Control.Monad.Reader.Trans/index.js +320 -0
  83. package/output-es/Control.Monad.Rec.Class/index.js +265 -0
  84. package/output-es/Control.Monad.ST/index.js +1 -0
  85. package/output-es/Control.Monad.ST.Class/index.js +7 -0
  86. package/output-es/Control.Monad.ST.Global/index.js +3 -0
  87. package/output-es/Control.Monad.ST.Internal/foreign.js +90 -0
  88. package/output-es/Control.Monad.ST.Internal/index.js +75 -0
  89. package/output-es/Control.Monad.ST.Ref/index.js +1 -0
  90. package/output-es/Control.Monad.ST.Uncurried/foreign.js +229 -0
  91. package/output-es/Control.Monad.ST.Uncurried/index.js +39 -0
  92. package/output-es/Control.Monad.State/index.js +8 -0
  93. package/output-es/Control.Monad.State.Class/index.js +12 -0
  94. package/output-es/Control.Monad.State.Trans/index.js +209 -0
  95. package/output-es/Control.Monad.Trampoline/index.js +9 -0
  96. package/output-es/Control.Monad.Trans.Class/index.js +3 -0
  97. package/output-es/Control.Monad.Writer/index.js +6 -0
  98. package/output-es/Control.Monad.Writer.Class/index.js +14 -0
  99. package/output-es/Control.Monad.Writer.Trans/index.js +256 -0
  100. package/output-es/Control.MonadPlus/index.js +4 -0
  101. package/output-es/Control.Parallel/index.js +49 -0
  102. package/output-es/Control.Parallel.Class/index.js +191 -0
  103. package/output-es/Control.Plus/index.js +4 -0
  104. package/output-es/Control.Promise/foreign.js +24 -0
  105. package/output-es/Control.Promise/index.js +40 -0
  106. package/output-es/Control.Semigroupoid/index.js +4 -0
  107. package/output-es/Data.Argonaut.Core/foreign.js +102 -0
  108. package/output-es/Data.Argonaut.Core/index.js +72 -0
  109. package/output-es/Data.Argonaut.Decode/index.js +10 -0
  110. package/output-es/Data.Argonaut.Decode.Class/index.js +173 -0
  111. package/output-es/Data.Argonaut.Decode.Combinators/index.js +21 -0
  112. package/output-es/Data.Argonaut.Decode.Decoders/index.js +463 -0
  113. package/output-es/Data.Argonaut.Decode.Error/index.js +151 -0
  114. package/output-es/Data.Argonaut.Decode.Parser/index.js +11 -0
  115. package/output-es/Data.Argonaut.Encode/index.js +3 -0
  116. package/output-es/Data.Argonaut.Encode.Class/index.js +114 -0
  117. package/output-es/Data.Argonaut.Encode.Combinators/index.js +15 -0
  118. package/output-es/Data.Argonaut.Encode.Encoders/index.js +222 -0
  119. package/output-es/Data.Argonaut.Gen/index.js +68 -0
  120. package/output-es/Data.Argonaut.Parser/foreign.js +8 -0
  121. package/output-es/Data.Argonaut.Parser/index.js +5 -0
  122. package/output-es/Data.Array/foreign.js +298 -0
  123. package/output-es/Data.Array/index.js +555 -0
  124. package/output-es/Data.Array.NonEmpty/index.js +317 -0
  125. package/output-es/Data.Array.NonEmpty.Internal/foreign.js +77 -0
  126. package/output-es/Data.Array.NonEmpty.Internal/index.js +90 -0
  127. package/output-es/Data.Array.Partial/index.js +7 -0
  128. package/output-es/Data.Array.ST/foreign.js +107 -0
  129. package/output-es/Data.Array.ST/index.js +82 -0
  130. package/output-es/Data.Array.ST.Iterator/index.js +83 -0
  131. package/output-es/Data.Array.ST.Partial/foreign.js +7 -0
  132. package/output-es/Data.Array.ST.Partial/index.js +9 -0
  133. package/output-es/Data.ArrayBuffer.Types/index.js +1 -0
  134. package/output-es/Data.Bifoldable/index.js +149 -0
  135. package/output-es/Data.Bifunctor/index.js +17 -0
  136. package/output-es/Data.Bifunctor.Join/index.js +21 -0
  137. package/output-es/Data.Bitraversable/index.js +195 -0
  138. package/output-es/Data.Boolean/index.js +2 -0
  139. package/output-es/Data.BooleanAlgebra/index.js +42 -0
  140. package/output-es/Data.Bounded/foreign.js +8 -0
  141. package/output-es/Data.Bounded/index.js +76 -0
  142. package/output-es/Data.Bounded.Generic/index.js +37 -0
  143. package/output-es/Data.CatList/index.js +326 -0
  144. package/output-es/Data.CatQueue/index.js +364 -0
  145. package/output-es/Data.Char/index.js +5 -0
  146. package/output-es/Data.Char.Gen/index.js +21 -0
  147. package/output-es/Data.CodePoint.Unicode/index.js +382 -0
  148. package/output-es/Data.CodePoint.Unicode.Internal/index.js +5476 -0
  149. package/output-es/Data.CodePoint.Unicode.Internal.Casing/index.js +1636 -0
  150. package/output-es/Data.CommutativeRing/index.js +49 -0
  151. package/output-es/Data.Compactable/index.js +228 -0
  152. package/output-es/Data.Comparison/index.js +22 -0
  153. package/output-es/Data.Const/index.js +56 -0
  154. package/output-es/Data.Coyoneda/index.js +212 -0
  155. package/output-es/Data.Date/foreign.js +22 -0
  156. package/output-es/Data.Date/index.js +370 -0
  157. package/output-es/Data.Date.Component/index.js +451 -0
  158. package/output-es/Data.Date.Component.Gen/index.js +11 -0
  159. package/output-es/Data.Date.Gen/index.js +25 -0
  160. package/output-es/Data.DateTime/foreign.js +33 -0
  161. package/output-es/Data.DateTime/index.js +131 -0
  162. package/output-es/Data.DateTime.Gen/index.js +8 -0
  163. package/output-es/Data.DateTime.Instant/foreign.js +18 -0
  164. package/output-es/Data.DateTime.Instant/index.js +86 -0
  165. package/output-es/Data.Decidable/index.js +70 -0
  166. package/output-es/Data.Decide/index.js +64 -0
  167. package/output-es/Data.Distributive/index.js +55 -0
  168. package/output-es/Data.Divide/index.js +47 -0
  169. package/output-es/Data.Divisible/index.js +17 -0
  170. package/output-es/Data.DivisionRing/index.js +6 -0
  171. package/output-es/Data.Either/index.js +242 -0
  172. package/output-es/Data.Either.Inject/index.js +25 -0
  173. package/output-es/Data.Either.Nested/index.js +450 -0
  174. package/output-es/Data.Enum/foreign.js +7 -0
  175. package/output-es/Data.Enum/index.js +441 -0
  176. package/output-es/Data.Enum.Gen/index.js +19 -0
  177. package/output-es/Data.Enum.Generic/index.js +211 -0
  178. package/output-es/Data.Eq/foreign.js +23 -0
  179. package/output-es/Data.Eq/index.js +33 -0
  180. package/output-es/Data.Eq.Generic/index.js +16 -0
  181. package/output-es/Data.Equivalence/index.js +8 -0
  182. package/output-es/Data.EuclideanRing/foreign.js +26 -0
  183. package/output-es/Data.EuclideanRing/index.js +25 -0
  184. package/output-es/Data.Exists/index.js +4 -0
  185. package/output-es/Data.Field/index.js +2 -0
  186. package/output-es/Data.Filterable/index.js +317 -0
  187. package/output-es/Data.Foldable/foreign.js +25 -0
  188. package/output-es/Data.Foldable/index.js +394 -0
  189. package/output-es/Data.FoldableWithIndex/index.js +431 -0
  190. package/output-es/Data.FormURLEncoded/index.js +110 -0
  191. package/output-es/Data.Function/index.js +23 -0
  192. package/output-es/Data.Function.Memoize/index.js +242 -0
  193. package/output-es/Data.Function.Uncurried/foreign.js +218 -0
  194. package/output-es/Data.Function.Uncurried/index.js +5 -0
  195. package/output-es/Data.Functor/foreign.js +10 -0
  196. package/output-es/Data.Functor/index.js +14 -0
  197. package/output-es/Data.Functor.App/index.js +87 -0
  198. package/output-es/Data.Functor.Clown/index.js +24 -0
  199. package/output-es/Data.Functor.Compose/index.js +131 -0
  200. package/output-es/Data.Functor.Contravariant/index.js +7 -0
  201. package/output-es/Data.Functor.Coproduct/index.js +171 -0
  202. package/output-es/Data.Functor.Coproduct.Inject/index.js +25 -0
  203. package/output-es/Data.Functor.Coproduct.Nested/index.js +433 -0
  204. package/output-es/Data.Functor.Costar/index.js +82 -0
  205. package/output-es/Data.Functor.Flip/index.js +31 -0
  206. package/output-es/Data.Functor.Invariant/index.js +14 -0
  207. package/output-es/Data.Functor.Joker/index.js +88 -0
  208. package/output-es/Data.Functor.Product/index.js +127 -0
  209. package/output-es/Data.Functor.Product.Nested/index.js +46 -0
  210. package/output-es/Data.Functor.Product2/index.js +46 -0
  211. package/output-es/Data.FunctorWithIndex/foreign.js +10 -0
  212. package/output-es/Data.FunctorWithIndex/index.js +147 -0
  213. package/output-es/Data.Generic.Rep/index.js +31 -0
  214. package/output-es/Data.Graph/index.js +370 -0
  215. package/output-es/Data.HTTP.Method/index.js +223 -0
  216. package/output-es/Data.HeytingAlgebra/foreign.js +15 -0
  217. package/output-es/Data.HeytingAlgebra/index.js +104 -0
  218. package/output-es/Data.HeytingAlgebra.Generic/index.js +76 -0
  219. package/output-es/Data.Identity/index.js +54 -0
  220. package/output-es/Data.Int/foreign.js +65 -0
  221. package/output-es/Data.Int/index.js +122 -0
  222. package/output-es/Data.Int.Bits/foreign.js +48 -0
  223. package/output-es/Data.Int.Bits/index.js +4 -0
  224. package/output-es/Data.Interval/index.js +331 -0
  225. package/output-es/Data.Interval.Duration/index.js +124 -0
  226. package/output-es/Data.Interval.Duration.Iso/index.js +423 -0
  227. package/output-es/Data.JSDate/foreign.js +83 -0
  228. package/output-es/Data.JSDate/index.js +123 -0
  229. package/output-es/Data.Lazy/foreign.js +14 -0
  230. package/output-es/Data.Lazy/index.js +143 -0
  231. package/output-es/Data.List/index.js +1505 -0
  232. package/output-es/Data.List.Internal/index.js +155 -0
  233. package/output-es/Data.List.Lazy/index.js +658 -0
  234. package/output-es/Data.List.Lazy.NonEmpty/index.js +77 -0
  235. package/output-es/Data.List.Lazy.Types/index.js +511 -0
  236. package/output-es/Data.List.NonEmpty/index.js +540 -0
  237. package/output-es/Data.List.Partial/index.js +37 -0
  238. package/output-es/Data.List.Types/index.js +841 -0
  239. package/output-es/Data.List.ZipList/index.js +43 -0
  240. package/output-es/Data.Map/index.js +80 -0
  241. package/output-es/Data.Map.Gen/index.js +15 -0
  242. package/output-es/Data.Map.Internal/index.js +1216 -0
  243. package/output-es/Data.Maybe/index.js +253 -0
  244. package/output-es/Data.Maybe.First/index.js +85 -0
  245. package/output-es/Data.Maybe.Last/index.js +86 -0
  246. package/output-es/Data.MediaType/index.js +8 -0
  247. package/output-es/Data.MediaType.Common/index.js +30 -0
  248. package/output-es/Data.Monoid/index.js +66 -0
  249. package/output-es/Data.Monoid.Additive/index.js +33 -0
  250. package/output-es/Data.Monoid.Alternate/index.js +46 -0
  251. package/output-es/Data.Monoid.Conj/index.js +21 -0
  252. package/output-es/Data.Monoid.Disj/index.js +21 -0
  253. package/output-es/Data.Monoid.Dual/index.js +19 -0
  254. package/output-es/Data.Monoid.Endo/index.js +12 -0
  255. package/output-es/Data.Monoid.Generic/index.js +11 -0
  256. package/output-es/Data.Monoid.Multiplicative/index.js +33 -0
  257. package/output-es/Data.NaturalTransformation/index.js +1 -0
  258. package/output-es/Data.Newtype/index.js +51 -0
  259. package/output-es/Data.NonEmpty/index.js +217 -0
  260. package/output-es/Data.Nullable/foreign.js +12 -0
  261. package/output-es/Data.Nullable/index.js +53 -0
  262. package/output-es/Data.Number/foreign.js +80 -0
  263. package/output-es/Data.Number/index.js +15 -0
  264. package/output-es/Data.Number.Approximate/index.js +13 -0
  265. package/output-es/Data.Number.Format/foreign.js +12 -0
  266. package/output-es/Data.Number.Format/index.js +53 -0
  267. package/output-es/Data.Op/index.js +13 -0
  268. package/output-es/Data.Ord/foreign.js +43 -0
  269. package/output-es/Data.Ord/index.js +161 -0
  270. package/output-es/Data.Ord.Down/index.js +35 -0
  271. package/output-es/Data.Ord.Generic/index.js +34 -0
  272. package/output-es/Data.Ord.Max/index.js +34 -0
  273. package/output-es/Data.Ord.Min/index.js +34 -0
  274. package/output-es/Data.Ordering/index.js +35 -0
  275. package/output-es/Data.Posix/index.js +19 -0
  276. package/output-es/Data.Posix.Signal/index.js +405 -0
  277. package/output-es/Data.Predicate/index.js +14 -0
  278. package/output-es/Data.Profunctor/index.js +13 -0
  279. package/output-es/Data.Profunctor.Choice/index.js +32 -0
  280. package/output-es/Data.Profunctor.Closed/index.js +5 -0
  281. package/output-es/Data.Profunctor.Cochoice/index.js +3 -0
  282. package/output-es/Data.Profunctor.Costrong/index.js +3 -0
  283. package/output-es/Data.Profunctor.Join/index.js +13 -0
  284. package/output-es/Data.Profunctor.Split/index.js +11 -0
  285. package/output-es/Data.Profunctor.Star/index.js +250 -0
  286. package/output-es/Data.Profunctor.Strong/index.js +19 -0
  287. package/output-es/Data.Reflectable/foreign.js +5 -0
  288. package/output-es/Data.Reflectable/index.js +10 -0
  289. package/output-es/Data.Ring/foreign.js +12 -0
  290. package/output-es/Data.Ring/index.js +50 -0
  291. package/output-es/Data.Ring.Generic/index.js +10 -0
  292. package/output-es/Data.Semigroup/foreign.js +13 -0
  293. package/output-es/Data.Semigroup/index.js +25 -0
  294. package/output-es/Data.Semigroup.First/index.js +14 -0
  295. package/output-es/Data.Semigroup.Foldable/index.js +143 -0
  296. package/output-es/Data.Semigroup.Generic/index.js +11 -0
  297. package/output-es/Data.Semigroup.Last/index.js +14 -0
  298. package/output-es/Data.Semigroup.Traversable/index.js +39 -0
  299. package/output-es/Data.Semiring/foreign.js +25 -0
  300. package/output-es/Data.Semiring/index.js +66 -0
  301. package/output-es/Data.Semiring.Generic/index.js +52 -0
  302. package/output-es/Data.Set/index.js +310 -0
  303. package/output-es/Data.Set.NonEmpty/index.js +198 -0
  304. package/output-es/Data.Show/foreign.js +59 -0
  305. package/output-es/Data.Show/index.js +56 -0
  306. package/output-es/Data.Show.Generic/foreign.js +5 -0
  307. package/output-es/Data.Show.Generic/index.js +43 -0
  308. package/output-es/Data.String/index.js +1 -0
  309. package/output-es/Data.String.CaseInsensitive/index.js +12 -0
  310. package/output-es/Data.String.CodePoints/foreign.js +107 -0
  311. package/output-es/Data.String.CodePoints/index.js +201 -0
  312. package/output-es/Data.String.CodeUnits/foreign.js +116 -0
  313. package/output-es/Data.String.CodeUnits/index.js +55 -0
  314. package/output-es/Data.String.Common/foreign.js +52 -0
  315. package/output-es/Data.String.Common/index.js +6 -0
  316. package/output-es/Data.String.Gen/index.js +26 -0
  317. package/output-es/Data.String.NonEmpty/index.js +1 -0
  318. package/output-es/Data.String.NonEmpty.CaseInsensitive/index.js +12 -0
  319. package/output-es/Data.String.NonEmpty.CodePoints/index.js +89 -0
  320. package/output-es/Data.String.NonEmpty.CodeUnits/index.js +98 -0
  321. package/output-es/Data.String.NonEmpty.Internal/index.js +119 -0
  322. package/output-es/Data.String.Pattern/index.js +13 -0
  323. package/output-es/Data.String.Regex/foreign.js +103 -0
  324. package/output-es/Data.String.Regex/index.js +28 -0
  325. package/output-es/Data.String.Regex.Flags/index.js +44 -0
  326. package/output-es/Data.String.Regex.Unsafe/index.js +10 -0
  327. package/output-es/Data.String.Unicode/index.js +18 -0
  328. package/output-es/Data.String.Unsafe/foreign.js +11 -0
  329. package/output-es/Data.String.Unsafe/index.js +4 -0
  330. package/output-es/Data.Symbol/foreign.js +6 -0
  331. package/output-es/Data.Symbol/index.js +6 -0
  332. package/output-es/Data.Time/index.js +119 -0
  333. package/output-es/Data.Time.Component/index.js +138 -0
  334. package/output-es/Data.Time.Component.Gen/index.js +7 -0
  335. package/output-es/Data.Time.Duration/index.js +95 -0
  336. package/output-es/Data.Time.Duration.Gen/index.js +7 -0
  337. package/output-es/Data.Time.Gen/index.js +8 -0
  338. package/output-es/Data.Traversable/foreign.js +52 -0
  339. package/output-es/Data.Traversable/index.js +303 -0
  340. package/output-es/Data.Traversable.Accum/index.js +1 -0
  341. package/output-es/Data.Traversable.Accum.Internal/index.js +35 -0
  342. package/output-es/Data.TraversableWithIndex/index.js +280 -0
  343. package/output-es/Data.Tuple/index.js +194 -0
  344. package/output-es/Data.Tuple.Nested/index.js +290 -0
  345. package/output-es/Data.Unfoldable/foreign.js +21 -0
  346. package/output-es/Data.Unfoldable/index.js +45 -0
  347. package/output-es/Data.Unfoldable1/foreign.js +21 -0
  348. package/output-es/Data.Unfoldable1/index.js +39 -0
  349. package/output-es/Data.Unit/foreign.js +1 -0
  350. package/output-es/Data.Unit/index.js +3 -0
  351. package/output-es/Data.Void/index.js +12 -0
  352. package/output-es/Data.Witherable/index.js +371 -0
  353. package/output-es/Data.Yoneda/index.js +85 -0
  354. package/output-es/DataType/index.js +276 -0
  355. package/output-es/Debug/foreign.js +57 -0
  356. package/output-es/Debug/index.js +13 -0
  357. package/output-es/Desug/index.js +17 -0
  358. package/output-es/Desugarable/index.js +3 -0
  359. package/output-es/Dict/index.js +118 -0
  360. package/output-es/Effect/foreign.js +51 -0
  361. package/output-es/Effect/index.js +49 -0
  362. package/output-es/Effect.Aff/foreign.js +1154 -0
  363. package/output-es/Effect.Aff/index.js +268 -0
  364. package/output-es/Effect.Aff.Class/index.js +114 -0
  365. package/output-es/Effect.Aff.Compat/index.js +14 -0
  366. package/output-es/Effect.Class/index.js +4 -0
  367. package/output-es/Effect.Class.Console/index.js +25 -0
  368. package/output-es/Effect.Console/foreign.js +67 -0
  369. package/output-es/Effect.Console/index.js +17 -0
  370. package/output-es/Effect.Exception/foreign.js +45 -0
  371. package/output-es/Effect.Exception/index.js +14 -0
  372. package/output-es/Effect.Exception.Unsafe/index.js +4 -0
  373. package/output-es/Effect.Now/foreign.js +8 -0
  374. package/output-es/Effect.Now/index.js +16 -0
  375. package/output-es/Effect.Random/foreign.js +1 -0
  376. package/output-es/Effect.Random/index.js +17 -0
  377. package/output-es/Effect.Ref/foreign.js +37 -0
  378. package/output-es/Effect.Ref/index.js +34 -0
  379. package/output-es/Effect.Uncurried/foreign.js +229 -0
  380. package/output-es/Effect.Uncurried/index.js +386 -0
  381. package/output-es/Effect.Unsafe/foreign.js +3 -0
  382. package/output-es/Effect.Unsafe/index.js +3 -0
  383. package/output-es/Eval/index.js +951 -0
  384. package/output-es/ExitCodes/index.js +461 -0
  385. package/output-es/Expr/index.js +1732 -0
  386. package/output-es/File/index.js +125 -0
  387. package/output-es/Fluid/index.js +229 -0
  388. package/output-es/Foreign/foreign.js +19 -0
  389. package/output-es/Foreign/index.js +171 -0
  390. package/output-es/Foreign.Index/foreign.js +11 -0
  391. package/output-es/Foreign.Index/index.js +80 -0
  392. package/output-es/Foreign.Keys/foreign.js +9 -0
  393. package/output-es/Foreign.Keys/index.js +28 -0
  394. package/output-es/Foreign.Object/foreign.js +116 -0
  395. package/output-es/Foreign.Object/index.js +304 -0
  396. package/output-es/Foreign.Object.Gen/index.js +13 -0
  397. package/output-es/Foreign.Object.ST/foreign.js +37 -0
  398. package/output-es/Foreign.Object.ST/index.js +9 -0
  399. package/output-es/Foreign.Object.ST.Unsafe/foreign.js +5 -0
  400. package/output-es/Foreign.Object.ST.Unsafe/index.js +3 -0
  401. package/output-es/Foreign.Object.Unsafe/foreign.js +5 -0
  402. package/output-es/Foreign.Object.Unsafe/index.js +3 -0
  403. package/output-es/GaloisConnection/index.js +72 -0
  404. package/output-es/Graph/index.js +279 -0
  405. package/output-es/Graph.GraphImpl/index.js +296 -0
  406. package/output-es/Graph.Slice/index.js +125 -0
  407. package/output-es/Graph.WithGraph/index.js +190 -0
  408. package/output-es/JSURI/foreign.js +61 -0
  409. package/output-es/JSURI/index.js +10 -0
  410. package/output-es/Lattice/index.js +397 -0
  411. package/output-es/Link/index.js +84 -0
  412. package/output-es/Module/index.js +317 -0
  413. package/output-es/Module.Node/index.js +95 -0
  414. package/output-es/Module.Web/index.js +79 -0
  415. package/output-es/ModuleGraph/index.js +1 -0
  416. package/output-es/Node.Buffer/foreign.js +33 -0
  417. package/output-es/Node.Buffer/index.js +191 -0
  418. package/output-es/Node.Buffer.Class/index.js +48 -0
  419. package/output-es/Node.Buffer.Constants/foreign.js +5 -0
  420. package/output-es/Node.Buffer.Constants/index.js +3 -0
  421. package/output-es/Node.Buffer.Immutable/foreign.js +45 -0
  422. package/output-es/Node.Buffer.Immutable/index.js +121 -0
  423. package/output-es/Node.Buffer.ST/index.js +98 -0
  424. package/output-es/Node.Buffer.Types/index.js +36 -0
  425. package/output-es/Node.Encoding/foreign.js +3 -0
  426. package/output-es/Node.Encoding/index.js +55 -0
  427. package/output-es/Node.EventEmitter/foreign.js +24 -0
  428. package/output-es/Node.EventEmitter/index.js +142 -0
  429. package/output-es/Node.EventEmitter.UtilTypes/index.js +1 -0
  430. package/output-es/Node.FS/index.js +27 -0
  431. package/output-es/Node.FS.Aff/index.js +132 -0
  432. package/output-es/Node.FS.Async/foreign.js +28 -0
  433. package/output-es/Node.FS.Async/index.js +241 -0
  434. package/output-es/Node.FS.Constants/foreign.js +17 -0
  435. package/output-es/Node.FS.Constants/index.js +103 -0
  436. package/output-es/Node.FS.Perms/index.js +125 -0
  437. package/output-es/Node.FS.Stats/foreign.js +27 -0
  438. package/output-es/Node.FS.Stats/index.js +102 -0
  439. package/output-es/Node.FS.Stream/foreign.js +11 -0
  440. package/output-es/Node.FS.Stream/index.js +20 -0
  441. package/output-es/Node.FS.Sync/foreign.js +30 -0
  442. package/output-es/Node.FS.Sync/index.js +258 -0
  443. package/output-es/Node.Path/foreign.js +30 -0
  444. package/output-es/Node.Path/index.js +3 -0
  445. package/output-es/Node.Platform/index.js +104 -0
  446. package/output-es/Node.Process/foreign.js +65 -0
  447. package/output-es/Node.Process/index.js +180 -0
  448. package/output-es/Node.Stream/foreign.js +97 -0
  449. package/output-es/Node.Stream/index.js +310 -0
  450. package/output-es/Node.Stream.Aff/index.js +445 -0
  451. package/output-es/Node.Symbol/foreign.js +3 -0
  452. package/output-es/Node.Symbol/index.js +12 -0
  453. package/output-es/Options.Applicative/index.js +1 -0
  454. package/output-es/Options.Applicative.BashCompletion/index.js +417 -0
  455. package/output-es/Options.Applicative.Builder/index.js +505 -0
  456. package/output-es/Options.Applicative.Builder.Completer/foreign.js +8 -0
  457. package/output-es/Options.Applicative.Builder.Completer/index.js +133 -0
  458. package/output-es/Options.Applicative.Builder.Internal/index.js +122 -0
  459. package/output-es/Options.Applicative.Common/index.js +497 -0
  460. package/output-es/Options.Applicative.Extra/index.js +273 -0
  461. package/output-es/Options.Applicative.Help/index.js +3 -0
  462. package/output-es/Options.Applicative.Help.Chunk/index.js +229 -0
  463. package/output-es/Options.Applicative.Help.Core/index.js +450 -0
  464. package/output-es/Options.Applicative.Help.Levenshtein/index.js +22 -0
  465. package/output-es/Options.Applicative.Help.Pretty/index.js +1 -0
  466. package/output-es/Options.Applicative.Help.Types/index.js +112 -0
  467. package/output-es/Options.Applicative.Internal/index.js +447 -0
  468. package/output-es/Options.Applicative.Internal.Utils/index.js +36 -0
  469. package/output-es/Options.Applicative.Types/index.js +979 -0
  470. package/output-es/PSCI.Support/index.js +15 -0
  471. package/output-es/Parse/index.js +2003 -0
  472. package/output-es/Parse.Number/index.js +390 -0
  473. package/output-es/Parse.Parser/index.js +428 -0
  474. package/output-es/Parsing/index.js +342 -0
  475. package/output-es/Parsing.Combinators/index.js +901 -0
  476. package/output-es/Parsing.Combinators.Array/index.js +131 -0
  477. package/output-es/Parsing.Expr/index.js +317 -0
  478. package/output-es/Parsing.Indent/index.js +492 -0
  479. package/output-es/Parsing.Language/index.js +224 -0
  480. package/output-es/Parsing.String/index.js +378 -0
  481. package/output-es/Parsing.String.Basic/index.js +236 -0
  482. package/output-es/Parsing.String.Replace/index.js +342 -0
  483. package/output-es/Parsing.Token/index.js +1980 -0
  484. package/output-es/Partial/foreign.js +5 -0
  485. package/output-es/Partial/index.js +6 -0
  486. package/output-es/Partial.Unsafe/foreign.js +5 -0
  487. package/output-es/Partial.Unsafe/index.js +8 -0
  488. package/output-es/Prelude/index.js +13 -0
  489. package/output-es/Pretty/index.js +1334 -0
  490. package/output-es/Pretty.Doc/index.js +139 -0
  491. package/output-es/Pretty.Util/index.js +90 -0
  492. package/output-es/Primitive/index.js +304 -0
  493. package/output-es/Primitive.Defs/index.js +872 -0
  494. package/output-es/Primitive.Parse/index.js +93 -0
  495. package/output-es/Random.LCG/index.js +35 -0
  496. package/output-es/Record/index.js +23 -0
  497. package/output-es/Record.Builder/foreign.js +44 -0
  498. package/output-es/Record.Builder/index.js +20 -0
  499. package/output-es/Record.Unsafe/foreign.js +38 -0
  500. package/output-es/Record.Unsafe/index.js +9 -0
  501. package/output-es/Record.Unsafe.Union/foreign.js +14 -0
  502. package/output-es/Record.Unsafe.Union/index.js +4 -0
  503. package/output-es/SExpr/index.js +3972 -0
  504. package/output-es/Safe.Coerce/index.js +3 -0
  505. package/output-es/Test.Assert/foreign.js +21 -0
  506. package/output-es/Test.Assert/index.js +37 -0
  507. package/output-es/Test.Benchmark.Util/foreign.js +3 -0
  508. package/output-es/Test.Benchmark.Util/index.js +273 -0
  509. package/output-es/Test.QuickCheck/index.js +297 -0
  510. package/output-es/Test.QuickCheck.Arbitrary/index.js +482 -0
  511. package/output-es/Test.QuickCheck.Gen/foreign.js +10 -0
  512. package/output-es/Test.QuickCheck.Gen/index.js +270 -0
  513. package/output-es/Test.Specs.Bwd/index.js +220 -0
  514. package/output-es/Test.Specs.Comments/index.js +25 -0
  515. package/output-es/Test.Specs.Desugar/index.js +17 -0
  516. package/output-es/Test.Specs.Graphics/index.js +7 -0
  517. package/output-es/Test.Specs.LinkedInputs/index.js +52 -0
  518. package/output-es/Test.Specs.LinkedOutputs/index.js +61 -0
  519. package/output-es/Test.Specs.Misc/index.js +35 -0
  520. package/output-es/Test.Specs.Paragraph/index.js +5 -0
  521. package/output-es/Test.Test/index.js +106 -0
  522. package/output-es/Test.Util/index.js +239 -0
  523. package/output-es/Test.Util.Debug/index.js +6 -0
  524. package/output-es/Test.Util.Debug.Defaults/index.js +16 -0
  525. package/output-es/Test.Util.Mocha/foreign.js +55 -0
  526. package/output-es/Test.Util.Mocha/index.js +21 -0
  527. package/output-es/Test.Util.Puppeteer/index.js +83 -0
  528. package/output-es/Test.Util.Suite/index.js +197 -0
  529. package/output-es/Text.PrettyPrint.Leijen/index.js +700 -0
  530. package/output-es/Toppokki/foreign.js +170 -0
  531. package/output-es/Toppokki/index.js +122 -0
  532. package/output-es/Type.Data.Boolean/index.js +21 -0
  533. package/output-es/Type.Data.Ordering/index.js +56 -0
  534. package/output-es/Type.Data.Symbol/index.js +7 -0
  535. package/output-es/Type.Equality/index.js +5 -0
  536. package/output-es/Type.Function/index.js +1 -0
  537. package/output-es/Type.Prelude/index.js +1 -0
  538. package/output-es/Type.Proxy/index.js +51 -0
  539. package/output-es/Type.Row/index.js +1 -0
  540. package/output-es/Type.Row.Homogeneous/index.js +4 -0
  541. package/output-es/Type.RowList/index.js +10 -0
  542. package/output-es/Unsafe.Coerce/foreign.js +5 -0
  543. package/output-es/Unsafe.Coerce/index.js +3 -0
  544. package/output-es/Util/index.js +340 -0
  545. package/output-es/Util.Map/foreign.js +13 -0
  546. package/output-es/Util.Map/index.js +129 -0
  547. package/output-es/Util.Pair/index.js +90 -0
  548. package/output-es/Util.Set/index.js +75 -0
  549. package/output-es/Val/index.js +1771 -0
  550. package/output-es/Web.DOM/index.js +1 -0
  551. package/output-es/Web.DOM.CharacterData/foreign.js +61 -0
  552. package/output-es/Web.DOM.CharacterData/index.js +13 -0
  553. package/output-es/Web.DOM.ChildNode/foreign.js +5 -0
  554. package/output-es/Web.DOM.ChildNode/index.js +3 -0
  555. package/output-es/Web.DOM.Comment/index.js +13 -0
  556. package/output-es/Web.DOM.DOMTokenList/foreign.js +49 -0
  557. package/output-es/Web.DOM.DOMTokenList/index.js +15 -0
  558. package/output-es/Web.DOM.Document/foreign.js +112 -0
  559. package/output-es/Web.DOM.Document/index.js +75 -0
  560. package/output-es/Web.DOM.DocumentFragment/index.js +13 -0
  561. package/output-es/Web.DOM.DocumentType/foreign.js +9 -0
  562. package/output-es/Web.DOM.DocumentType/index.js +11 -0
  563. package/output-es/Web.DOM.Element/foreign.js +210 -0
  564. package/output-es/Web.DOM.Element/index.js +101 -0
  565. package/output-es/Web.DOM.HTMLCollection/foreign.js +27 -0
  566. package/output-es/Web.DOM.HTMLCollection/index.js +25 -0
  567. package/output-es/Web.DOM.Internal.Types/index.js +1 -0
  568. package/output-es/Web.DOM.MutationObserver/foreign.js +29 -0
  569. package/output-es/Web.DOM.MutationObserver/index.js +4 -0
  570. package/output-es/Web.DOM.MutationRecord/foreign.js +53 -0
  571. package/output-es/Web.DOM.MutationRecord/index.js +66 -0
  572. package/output-es/Web.DOM.Node/foreign.js +153 -0
  573. package/output-es/Web.DOM.Node/index.js +147 -0
  574. package/output-es/Web.DOM.NodeList/foreign.js +19 -0
  575. package/output-es/Web.DOM.NodeList/index.js +15 -0
  576. package/output-es/Web.DOM.NodeType/index.js +199 -0
  577. package/output-es/Web.DOM.NonDocumentTypeChildNode/foreign.js +11 -0
  578. package/output-es/Web.DOM.NonDocumentTypeChildNode/index.js +19 -0
  579. package/output-es/Web.DOM.NonElementParentNode/foreign.js +7 -0
  580. package/output-es/Web.DOM.NonElementParentNode/index.js +15 -0
  581. package/output-es/Web.DOM.ParentNode/foreign.js +28 -0
  582. package/output-es/Web.DOM.ParentNode/index.js +35 -0
  583. package/output-es/Web.DOM.ProcessingInstruction/foreign.js +5 -0
  584. package/output-es/Web.DOM.ProcessingInstruction/index.js +15 -0
  585. package/output-es/Web.DOM.ShadowRoot/foreign.js +9 -0
  586. package/output-es/Web.DOM.ShadowRoot/index.js +23 -0
  587. package/output-es/Web.DOM.Text/foreign.js +13 -0
  588. package/output-es/Web.DOM.Text/index.js +15 -0
  589. package/output-es/Web.Event.CustomEvent/foreign.js +18 -0
  590. package/output-es/Web.Event.CustomEvent/index.js +20 -0
  591. package/output-es/Web.Event.Event/foreign.js +51 -0
  592. package/output-es/Web.Event.Event/index.js +23 -0
  593. package/output-es/Web.Event.EventPhase/index.js +99 -0
  594. package/output-es/Web.Event.EventTarget/foreign.js +51 -0
  595. package/output-es/Web.Event.EventTarget/index.js +3 -0
  596. package/output-es/Web.Event.Internal.Types/index.js +1 -0
  597. package/output-es/Web.File.Blob/foreign.js +19 -0
  598. package/output-es/Web.File.Blob/index.js +18 -0
  599. package/output-es/Web.File.File/foreign.js +2 -0
  600. package/output-es/Web.File.File/index.js +13 -0
  601. package/output-es/Web.File.FileList/foreign.js +7 -0
  602. package/output-es/Web.File.FileList/index.js +16 -0
  603. package/output-es/Web.File.FileReader/foreign.js +51 -0
  604. package/output-es/Web.File.FileReader/index.js +19 -0
  605. package/output-es/Web.File.FileReader.ReadyState/index.js +94 -0
  606. package/output-es/Web.File.Url/foreign.js +11 -0
  607. package/output-es/Web.File.Url/index.js +3 -0
  608. package/output-es/Web.HTML/foreign.js +4 -0
  609. package/output-es/Web.HTML/index.js +3 -0
  610. package/output-es/Web.HTML.Common/index.js +15 -0
  611. package/output-es/Web.HTML.Event.BeforeUnloadEvent/foreign.js +13 -0
  612. package/output-es/Web.HTML.Event.BeforeUnloadEvent/index.js +7 -0
  613. package/output-es/Web.HTML.Event.BeforeUnloadEvent.EventTypes/index.js +2 -0
  614. package/output-es/Web.HTML.Event.DataTransfer/foreign.js +55 -0
  615. package/output-es/Web.HTML.Event.DataTransfer/index.js +63 -0
  616. package/output-es/Web.HTML.Event.DataTransfer.DataTransferItem/foreign.js +23 -0
  617. package/output-es/Web.HTML.Event.DataTransfer.DataTransferItem/index.js +41 -0
  618. package/output-es/Web.HTML.Event.DragEvent/foreign.js +3 -0
  619. package/output-es/Web.HTML.Event.DragEvent/index.js +7 -0
  620. package/output-es/Web.HTML.Event.DragEvent.EventTypes/index.js +9 -0
  621. package/output-es/Web.HTML.Event.ErrorEvent/foreign.js +15 -0
  622. package/output-es/Web.HTML.Event.ErrorEvent/index.js +7 -0
  623. package/output-es/Web.HTML.Event.EventTypes/index.js +68 -0
  624. package/output-es/Web.HTML.Event.HashChangeEvent/foreign.js +7 -0
  625. package/output-es/Web.HTML.Event.HashChangeEvent/index.js +7 -0
  626. package/output-es/Web.HTML.Event.HashChangeEvent.EventTypes/index.js +2 -0
  627. package/output-es/Web.HTML.Event.PageTransitionEvent/foreign.js +3 -0
  628. package/output-es/Web.HTML.Event.PageTransitionEvent/index.js +7 -0
  629. package/output-es/Web.HTML.Event.PageTransitionEvent.EventTypes/index.js +3 -0
  630. package/output-es/Web.HTML.Event.PopStateEvent/foreign.js +3 -0
  631. package/output-es/Web.HTML.Event.PopStateEvent/index.js +7 -0
  632. package/output-es/Web.HTML.Event.PopStateEvent.EventTypes/index.js +2 -0
  633. package/output-es/Web.HTML.Event.TrackEvent/index.js +5 -0
  634. package/output-es/Web.HTML.Event.TrackEvent.EventTypes/index.js +3 -0
  635. package/output-es/Web.HTML.HTMLAnchorElement/foreign.js +117 -0
  636. package/output-es/Web.HTML.HTMLAnchorElement/index.js +36 -0
  637. package/output-es/Web.HTML.HTMLAreaElement/foreign.js +133 -0
  638. package/output-es/Web.HTML.HTMLAreaElement/index.js +34 -0
  639. package/output-es/Web.HTML.HTMLAudioElement/foreign.js +9 -0
  640. package/output-es/Web.HTML.HTMLAudioElement/index.js +40 -0
  641. package/output-es/Web.HTML.HTMLBRElement/index.js +32 -0
  642. package/output-es/Web.HTML.HTMLBaseElement/foreign.js +29 -0
  643. package/output-es/Web.HTML.HTMLBaseElement/index.js +34 -0
  644. package/output-es/Web.HTML.HTMLBodyElement/index.js +32 -0
  645. package/output-es/Web.HTML.HTMLButtonElement/foreign.js +223 -0
  646. package/output-es/Web.HTML.HTMLButtonElement/index.js +73 -0
  647. package/output-es/Web.HTML.HTMLCanvasElement/foreign.js +29 -0
  648. package/output-es/Web.HTML.HTMLCanvasElement/index.js +34 -0
  649. package/output-es/Web.HTML.HTMLDListElement/index.js +32 -0
  650. package/output-es/Web.HTML.HTMLDataElement/foreign.js +13 -0
  651. package/output-es/Web.HTML.HTMLDataElement/index.js +34 -0
  652. package/output-es/Web.HTML.HTMLDataListElement/foreign.js +5 -0
  653. package/output-es/Web.HTML.HTMLDataListElement/index.js +34 -0
  654. package/output-es/Web.HTML.HTMLDivElement/index.js +32 -0
  655. package/output-es/Web.HTML.HTMLDocument/foreign.js +39 -0
  656. package/output-es/Web.HTML.HTMLDocument/index.js +76 -0
  657. package/output-es/Web.HTML.HTMLDocument.ReadyState/index.js +52 -0
  658. package/output-es/Web.HTML.HTMLDocument.VisibilityState/index.js +42 -0
  659. package/output-es/Web.HTML.HTMLElement/foreign.js +194 -0
  660. package/output-es/Web.HTML.HTMLElement/index.js +66 -0
  661. package/output-es/Web.HTML.HTMLEmbedElement/foreign.js +61 -0
  662. package/output-es/Web.HTML.HTMLEmbedElement/index.js +34 -0
  663. package/output-es/Web.HTML.HTMLFieldSetElement/foreign.js +103 -0
  664. package/output-es/Web.HTML.HTMLFieldSetElement/index.js +44 -0
  665. package/output-es/Web.HTML.HTMLFormElement/foreign.js +181 -0
  666. package/output-es/Web.HTML.HTMLFormElement/index.js +58 -0
  667. package/output-es/Web.HTML.HTMLHRElement/index.js +32 -0
  668. package/output-es/Web.HTML.HTMLHeadElement/index.js +32 -0
  669. package/output-es/Web.HTML.HTMLHeadingElement/index.js +32 -0
  670. package/output-es/Web.HTML.HTMLHtmlElement/index.js +32 -0
  671. package/output-es/Web.HTML.HTMLHyperlinkElementUtils/foreign.js +165 -0
  672. package/output-es/Web.HTML.HTMLHyperlinkElementUtils/index.js +26 -0
  673. package/output-es/Web.HTML.HTMLIFrameElement/foreign.js +91 -0
  674. package/output-es/Web.HTML.HTMLIFrameElement/index.js +52 -0
  675. package/output-es/Web.HTML.HTMLImageElement/foreign.js +215 -0
  676. package/output-es/Web.HTML.HTMLImageElement/index.js +140 -0
  677. package/output-es/Web.HTML.HTMLImageElement.CORSMode/index.js +43 -0
  678. package/output-es/Web.HTML.HTMLImageElement.DecodingHint/index.js +53 -0
  679. package/output-es/Web.HTML.HTMLImageElement.Laziness/index.js +43 -0
  680. package/output-es/Web.HTML.HTMLInputElement/foreign.js +727 -0
  681. package/output-es/Web.HTML.HTMLInputElement/index.js +171 -0
  682. package/output-es/Web.HTML.HTMLKeygenElement/foreign.js +151 -0
  683. package/output-es/Web.HTML.HTMLKeygenElement/index.js +64 -0
  684. package/output-es/Web.HTML.HTMLLIElement/foreign.js +13 -0
  685. package/output-es/Web.HTML.HTMLLIElement/index.js +34 -0
  686. package/output-es/Web.HTML.HTMLLabelElement/foreign.js +29 -0
  687. package/output-es/Web.HTML.HTMLLabelElement/index.js +52 -0
  688. package/output-es/Web.HTML.HTMLLegendElement/foreign.js +5 -0
  689. package/output-es/Web.HTML.HTMLLegendElement/index.js +44 -0
  690. package/output-es/Web.HTML.HTMLLinkElement/foreign.js +133 -0
  691. package/output-es/Web.HTML.HTMLLinkElement/index.js +34 -0
  692. package/output-es/Web.HTML.HTMLMapElement/foreign.js +29 -0
  693. package/output-es/Web.HTML.HTMLMapElement/index.js +34 -0
  694. package/output-es/Web.HTML.HTMLMediaElement/foreign.js +295 -0
  695. package/output-es/Web.HTML.HTMLMediaElement/index.js +103 -0
  696. package/output-es/Web.HTML.HTMLMediaElement.CanPlayType/index.js +52 -0
  697. package/output-es/Web.HTML.HTMLMediaElement.NetworkState/index.js +109 -0
  698. package/output-es/Web.HTML.HTMLMediaElement.ReadyState/index.js +124 -0
  699. package/output-es/Web.HTML.HTMLMetaElement/foreign.js +45 -0
  700. package/output-es/Web.HTML.HTMLMetaElement/index.js +34 -0
  701. package/output-es/Web.HTML.HTMLMeterElement/foreign.js +101 -0
  702. package/output-es/Web.HTML.HTMLMeterElement/index.js +34 -0
  703. package/output-es/Web.HTML.HTMLModElement/foreign.js +29 -0
  704. package/output-es/Web.HTML.HTMLModElement/index.js +34 -0
  705. package/output-es/Web.HTML.HTMLOListElement/foreign.js +45 -0
  706. package/output-es/Web.HTML.HTMLOListElement/index.js +34 -0
  707. package/output-es/Web.HTML.HTMLObjectElement/foreign.js +167 -0
  708. package/output-es/Web.HTML.HTMLObjectElement/index.js +74 -0
  709. package/output-es/Web.HTML.HTMLOptGroupElement/foreign.js +29 -0
  710. package/output-es/Web.HTML.HTMLOptGroupElement/index.js +34 -0
  711. package/output-es/Web.HTML.HTMLOptionElement/foreign.js +109 -0
  712. package/output-es/Web.HTML.HTMLOptionElement/index.js +44 -0
  713. package/output-es/Web.HTML.HTMLOutputElement/foreign.js +119 -0
  714. package/output-es/Web.HTML.HTMLOutputElement/index.js +60 -0
  715. package/output-es/Web.HTML.HTMLParagraphElement/index.js +32 -0
  716. package/output-es/Web.HTML.HTMLParamElement/foreign.js +29 -0
  717. package/output-es/Web.HTML.HTMLParamElement/index.js +34 -0
  718. package/output-es/Web.HTML.HTMLPreElement/index.js +32 -0
  719. package/output-es/Web.HTML.HTMLProgressElement/foreign.js +45 -0
  720. package/output-es/Web.HTML.HTMLProgressElement/index.js +34 -0
  721. package/output-es/Web.HTML.HTMLQuoteElement/foreign.js +13 -0
  722. package/output-es/Web.HTML.HTMLQuoteElement/index.js +34 -0
  723. package/output-es/Web.HTML.HTMLScriptElement/foreign.js +109 -0
  724. package/output-es/Web.HTML.HTMLScriptElement/index.js +34 -0
  725. package/output-es/Web.HTML.HTMLSelectElement/foreign.js +223 -0
  726. package/output-es/Web.HTML.HTMLSelectElement/index.js +73 -0
  727. package/output-es/Web.HTML.HTMLSourceElement/foreign.js +45 -0
  728. package/output-es/Web.HTML.HTMLSourceElement/index.js +34 -0
  729. package/output-es/Web.HTML.HTMLSpanElement/index.js +32 -0
  730. package/output-es/Web.HTML.HTMLStyleElement/foreign.js +29 -0
  731. package/output-es/Web.HTML.HTMLStyleElement/index.js +34 -0
  732. package/output-es/Web.HTML.HTMLTableCaptionElement/index.js +32 -0
  733. package/output-es/Web.HTML.HTMLTableCellElement/foreign.js +37 -0
  734. package/output-es/Web.HTML.HTMLTableCellElement/index.js +34 -0
  735. package/output-es/Web.HTML.HTMLTableColElement/foreign.js +13 -0
  736. package/output-es/Web.HTML.HTMLTableColElement/index.js +34 -0
  737. package/output-es/Web.HTML.HTMLTableDataCellElement/index.js +36 -0
  738. package/output-es/Web.HTML.HTMLTableElement/foreign.js +153 -0
  739. package/output-es/Web.HTML.HTMLTableElement/index.js +103 -0
  740. package/output-es/Web.HTML.HTMLTableHeaderCellElement/foreign.js +29 -0
  741. package/output-es/Web.HTML.HTMLTableHeaderCellElement/index.js +38 -0
  742. package/output-es/Web.HTML.HTMLTableRowElement/foreign.js +41 -0
  743. package/output-es/Web.HTML.HTMLTableRowElement/index.js +38 -0
  744. package/output-es/Web.HTML.HTMLTableSectionElement/foreign.js +25 -0
  745. package/output-es/Web.HTML.HTMLTableSectionElement/index.js +38 -0
  746. package/output-es/Web.HTML.HTMLTemplateElement/foreign.js +5 -0
  747. package/output-es/Web.HTML.HTMLTemplateElement/index.js +34 -0
  748. package/output-es/Web.HTML.HTMLTextAreaElement/foreign.js +403 -0
  749. package/output-es/Web.HTML.HTMLTextAreaElement/index.js +107 -0
  750. package/output-es/Web.HTML.HTMLTimeElement/foreign.js +13 -0
  751. package/output-es/Web.HTML.HTMLTimeElement/index.js +34 -0
  752. package/output-es/Web.HTML.HTMLTitleElement/foreign.js +13 -0
  753. package/output-es/Web.HTML.HTMLTitleElement/index.js +34 -0
  754. package/output-es/Web.HTML.HTMLTrackElement/foreign.js +84 -0
  755. package/output-es/Web.HTML.HTMLTrackElement/index.js +44 -0
  756. package/output-es/Web.HTML.HTMLTrackElement.ReadyState/index.js +109 -0
  757. package/output-es/Web.HTML.HTMLUListElement/index.js +32 -0
  758. package/output-es/Web.HTML.HTMLVideoElement/foreign.js +63 -0
  759. package/output-es/Web.HTML.HTMLVideoElement/index.js +38 -0
  760. package/output-es/Web.HTML.History/foreign.js +49 -0
  761. package/output-es/Web.HTML.History/index.js +16 -0
  762. package/output-es/Web.HTML.Location/foreign.js +169 -0
  763. package/output-es/Web.HTML.Location/index.js +25 -0
  764. package/output-es/Web.HTML.Navigator/foreign.js +29 -0
  765. package/output-es/Web.HTML.Navigator/index.js +3 -0
  766. package/output-es/Web.HTML.SelectionMode/index.js +62 -0
  767. package/output-es/Web.HTML.ValidityState/foreign.js +3 -0
  768. package/output-es/Web.HTML.ValidityState/index.js +15 -0
  769. package/output-es/Web.HTML.Window/foreign.js +239 -0
  770. package/output-es/Web.HTML.Window/index.js +86 -0
  771. package/output-es/Web.Internal.FFI/foreign.js +20 -0
  772. package/output-es/Web.Internal.FFI/index.js +5 -0
  773. package/output-es/Web.Storage.Event.StorageEvent/foreign.js +19 -0
  774. package/output-es/Web.Storage.Event.StorageEvent/index.js +13 -0
  775. package/output-es/Web.Storage.Storage/foreign.js +45 -0
  776. package/output-es/Web.Storage.Storage/index.js +52 -0
  777. package/output-es/Web.XHR.EventTypes/index.js +8 -0
  778. package/output-es/Web.XHR.FormData/foreign.js +32 -0
  779. package/output-es/Web.XHR.FormData/index.js +52 -0
  780. package/output-es/Web.XHR.ProgressEvent/foreign.js +11 -0
  781. package/output-es/Web.XHR.ProgressEvent/index.js +7 -0
  782. package/output-es/Web.XHR.ReadyState/index.js +99 -0
  783. package/output-es/Web.XHR.ResponseType/index.js +5 -0
  784. package/output-es/Web.XHR.XMLHttpRequest/foreign.js +41 -0
  785. package/output-es/Web.XHR.XMLHttpRequest/index.js +95 -0
  786. package/output-es/Web.XHR.XMLHttpRequestUpload/index.js +3 -0
  787. package/output-es/Website.Test.Article.EnergyScatter/index.js +12 -0
  788. package/output-es/Website.Test.Article.RenewablesLinked/index.js +14 -0
  789. package/output-es/package.json +1 -0
  790. package/output-es/runtime.js +33 -0
  791. package/package.json +5 -3
  792. package/script/install-website.sh +14 -1
  793. package/script/webtest-lib.mjs +101 -0
@@ -0,0 +1,122 @@
1
+ import * as $runtime from "../runtime.js";
2
+ import * as App$dUtil from "../App.Util/index.js";
3
+ import * as App$dUtil$dSelector from "../App.Util.Selector/index.js";
4
+ import * as App$dView$dUtil from "../App.View.Util/index.js";
5
+ import * as Data$dFoldable from "../Data.Foldable/index.js";
6
+ import * as Data$dInt from "../Data.Int/index.js";
7
+ import * as Data$dShow from "../Data.Show/index.js";
8
+ import * as Data$dTuple from "../Data.Tuple/index.js";
9
+ import * as Foreign$dObject from "../Foreign.Object/index.js";
10
+ import * as Util from "../Util/index.js";
11
+ import * as Web$dEvent$dEventTarget from "../Web.Event.EventTarget/index.js";
12
+ import {createElement, setSelection} from "./foreign.js";
13
+ const join = v => v1 => {
14
+ if (v1.tag === "Inert") { return v; }
15
+ if (v.tag === "Inert") { return v1; }
16
+ if (v.tag === "Reactive" && v1.tag === "Reactive") {
17
+ return App$dUtil.$SelState(
18
+ "Reactive",
19
+ {
20
+ persistent: (() => {
21
+ if (v._1.persistent === "None") {
22
+ if (v1._1.persistent === "None") { return v._1.persistent; }
23
+ return v1._1.persistent;
24
+ }
25
+ if (v._1.persistent === "Secondary") {
26
+ if (v1._1.persistent === "Secondary") { return v._1.persistent; }
27
+ if (v1._1.persistent === "Primary") { return v1._1.persistent; }
28
+ if (v1._1.persistent === "None") { return v._1.persistent; }
29
+ $runtime.fail();
30
+ }
31
+ if (v._1.persistent === "Primary") { return v._1.persistent; }
32
+ $runtime.fail();
33
+ })(),
34
+ transient: (() => {
35
+ if (v._1.transient === "None") {
36
+ if (v1._1.transient === "None") { return v._1.transient; }
37
+ return v1._1.transient;
38
+ }
39
+ if (v._1.transient === "Secondary") {
40
+ if (v1._1.transient === "Secondary") { return v._1.transient; }
41
+ if (v1._1.transient === "Primary") { return v1._1.transient; }
42
+ if (v1._1.transient === "None") { return v._1.transient; }
43
+ $runtime.fail();
44
+ }
45
+ if (v._1.transient === "Primary") { return v._1.transient; }
46
+ $runtime.fail();
47
+ })()
48
+ }
49
+ );
50
+ }
51
+ $runtime.fail();
52
+ };
53
+ const fromFoldable = /* #__PURE__ */ Foreign$dObject.fromFoldable(Data$dFoldable.foldableArray);
54
+ const ScatterPlot = x => x;
55
+ const scatterPlotHelpers = {
56
+ point_attrs: v => v1 => {
57
+ const v2 = Util.unsafeArrayArray.unsafeIndex(v.points)(v1.i);
58
+ const sel = join(v2.x._2)(v2.y._2);
59
+ return fromFoldable([
60
+ Data$dTuple.$Tuple(
61
+ "r",
62
+ Data$dShow.showNumberImpl(Data$dInt.toNumber(2) * (() => {
63
+ if (
64
+ (() => {
65
+ if (sel.tag === "Inert") { return false; }
66
+ if (sel.tag === "Reactive") {
67
+ return (() => {
68
+ if (sel._1.persistent === "None") { return false; }
69
+ if (sel._1.persistent === "Secondary") { return false; }
70
+ if (sel._1.persistent === "Primary") { return true; }
71
+ $runtime.fail();
72
+ })() || (() => {
73
+ if (sel._1.transient === "None") { return false; }
74
+ if (sel._1.transient === "Secondary") { return false; }
75
+ if (sel._1.transient === "Primary") { return true; }
76
+ $runtime.fail();
77
+ })();
78
+ }
79
+ $runtime.fail();
80
+ })()
81
+ ) {
82
+ return 1.6;
83
+ }
84
+ if (
85
+ (() => {
86
+ if (sel.tag === "Inert") { return false; }
87
+ if (sel.tag === "Reactive") {
88
+ return (() => {
89
+ if (sel._1.persistent === "None") { return false; }
90
+ if (sel._1.persistent === "Secondary") { return true; }
91
+ if (sel._1.persistent === "Primary") { return false; }
92
+ $runtime.fail();
93
+ })() || (() => {
94
+ if (sel._1.transient === "None") { return false; }
95
+ if (sel._1.transient === "Secondary") { return true; }
96
+ if (sel._1.transient === "Primary") { return false; }
97
+ $runtime.fail();
98
+ })();
99
+ }
100
+ $runtime.fail();
101
+ })()
102
+ ) {
103
+ return 1.25;
104
+ }
105
+ return 1.0;
106
+ })())
107
+ )
108
+ ]);
109
+ },
110
+ eventListener: Web$dEvent$dEventTarget.eventListener,
111
+ withScatterPlotPoint: sel => x => sel((() => {
112
+ const $0 = App$dUtil.selectionEventData$p(x);
113
+ return App$dUtil$dSelector.constrArg("ScatterPlot")(0)(App$dUtil$dSelector.scatterPoint($0._1.i)($0._2));
114
+ })())
115
+ };
116
+ const viewableScatterPlotUnit = {
117
+ isLeaf: v => false,
118
+ createElement: v => createElement(App$dView$dUtil.uiHelpers),
119
+ setSelection: v => setSelection(scatterPlotHelpers)(App$dView$dUtil.uiHelpers)
120
+ };
121
+ export {ScatterPlot, fromFoldable, join, scatterPlotHelpers, viewableScatterPlotUnit};
122
+ export * from "./foreign.js";
@@ -0,0 +1,92 @@
1
+ import * as $runtime from "../runtime.js";
2
+ import * as App$dUtil from "../App.Util/index.js";
3
+ import * as App$dUtil$dSelector from "../App.Util.Selector/index.js";
4
+ import * as App$dView$dUtil from "../App.View.Util/index.js";
5
+ import * as App$dView$dUtil$dD3 from "../App.View.Util.D3/index.js";
6
+ import * as Data$dInt from "../Data.Int/index.js";
7
+ import * as Data$dOrd from "../Data.Ord/index.js";
8
+ import * as Data$dShow from "../Data.Show/index.js";
9
+ import * as Data$dTuple from "../Data.Tuple/index.js";
10
+ import * as Web$dEvent$dEventTarget from "../Web.Event.EventTarget/index.js";
11
+ const max = x => y => {
12
+ const v = Data$dOrd.ordNumber.compare(x)(y);
13
+ if (v === "LT") { return y; }
14
+ if (v === "EQ") { return x; }
15
+ if (v === "GT") { return x; }
16
+ $runtime.fail();
17
+ };
18
+ const Segment = x => x;
19
+ const newtypeSegment_ = {Coercible0: () => {}};
20
+ const indexCol = /* #__PURE__ */ App$dView$dUtil$dD3.colorScale("schemeAccent");
21
+ const viewableSegmentSegmentCon = {
22
+ isLeaf: v => false,
23
+ createElement: v => v1 => parent => App$dView$dUtil$dD3.createChild(parent)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.Rect))(App$dView$dUtil$dD3.fromFoldable([
24
+ Data$dTuple.$Tuple("x", Data$dShow.showNumberImpl(v.scales.x(v.x))),
25
+ Data$dTuple.$Tuple("y", Data$dShow.showNumberImpl(v.scales.y(v1.z._1 + v.y))),
26
+ Data$dTuple.$Tuple("height", Data$dShow.showNumberImpl(max(Data$dInt.toNumber(v.interior.height - $runtime.intDiv(v.strokeWidth, 2) | 0) - v.scales.y(v1.z._1))(0.0))),
27
+ Data$dTuple.$Tuple("stroke-width", Data$dShow.showIntImpl(v.strokeWidth)),
28
+ Data$dTuple.$Tuple("width", Data$dShow.showNumberImpl(App$dView$dUtil$dD3.bandwidth(v.scales.x))),
29
+ App$dUtil.classes(["bar"])
30
+ ])),
31
+ setSelection: v => v1 => select => segment => {
32
+ const $0 = v.y_index;
33
+ const $$transient = (() => {
34
+ if (v1.z._2.tag === "Inert") { return App$dUtil.None; }
35
+ if (v1.z._2.tag === "Reactive") { return v1.z._2._1.transient; }
36
+ $runtime.fail();
37
+ })();
38
+ const persistent = (() => {
39
+ if (v1.z._2.tag === "Inert") { return App$dUtil.None; }
40
+ if (v1.z._2.tag === "Reactive") { return v1.z._2._1.persistent; }
41
+ $runtime.fail();
42
+ })();
43
+ const attrs = (() => {
44
+ const col$p = indexCol($0);
45
+ return [
46
+ Data$dTuple.$Tuple(
47
+ "fill",
48
+ (() => {
49
+ if (persistent === "None") { return col$p; }
50
+ if (persistent === "Secondary") { return "url(#diagonalHatch-" + Data$dShow.showIntImpl($0) + ")"; }
51
+ if (persistent === "Primary") { return App$dUtil.colorShade(col$p)(-40); }
52
+ $runtime.fail();
53
+ })()
54
+ ),
55
+ Data$dTuple.$Tuple("stroke-width", "1"),
56
+ Data$dTuple.$Tuple(
57
+ "stroke-dasharray",
58
+ (() => {
59
+ if ($$transient === "None") { return "none"; }
60
+ if ($$transient === "Secondary") { return "1 2"; }
61
+ if ($$transient === "Primary") { return "1 2"; }
62
+ $runtime.fail();
63
+ })()
64
+ ),
65
+ Data$dTuple.$Tuple("stroke-linecap", "round"),
66
+ Data$dTuple.$Tuple(
67
+ "stroke",
68
+ (() => {
69
+ if (persistent === "None") { return false; }
70
+ if (persistent === "Secondary") { return true; }
71
+ if (persistent === "Primary") { return true; }
72
+ $runtime.fail();
73
+ })() || (() => {
74
+ if ($$transient === "None") { return false; }
75
+ if ($$transient === "Secondary") { return true; }
76
+ if ($$transient === "Primary") { return true; }
77
+ $runtime.fail();
78
+ })()
79
+ ? App$dUtil.colorShade(col$p)(-70)
80
+ : col$p
81
+ )
82
+ ];
83
+ })();
84
+ const $1 = Web$dEvent$dEventTarget.eventListener(x => select(App$dUtil$dSelector.nthSegment($0)(App$dUtil.selectionEventData$p(x)._2)));
85
+ return () => {
86
+ const listener = $1();
87
+ const $2 = App$dView$dUtil$dD3.attrs(segment)(App$dView$dUtil$dD3.fromFoldable(attrs))();
88
+ return App$dView$dUtil.registerMouseListeners(listener)($2)();
89
+ };
90
+ }
91
+ };
92
+ export {Segment, indexCol, max, newtypeSegment_, viewableSegmentSegmentCon};
@@ -0,0 +1,54 @@
1
+ import * as $runtime from "../runtime.js";
2
+ import * as App$dUtil from "../App.Util/index.js";
3
+ import * as App$dUtil$dSelector from "../App.Util.Selector/index.js";
4
+ import * as App$dView$dSegment from "../App.View.Segment/index.js";
5
+ import * as App$dView$dUtil$dD3 from "../App.View.Util.D3/index.js";
6
+ import * as Data$dArray from "../Data.Array/index.js";
7
+ import * as Data$dFoldable from "../Data.Foldable/index.js";
8
+ import * as Data$dFoldableWithIndex from "../Data.FoldableWithIndex/index.js";
9
+ import * as Data$dFunctor from "../Data.Functor/index.js";
10
+ import * as Data$dSemiring from "../Data.Semiring/index.js";
11
+ import * as Effect from "../Effect/index.js";
12
+ import * as Util from "../Util/index.js";
13
+ const forWithIndex_ = /* #__PURE__ */ Data$dFoldableWithIndex.forWithIndex_(Effect.applicativeEffect);
14
+ const forWithIndex_1 = /* #__PURE__ */ forWithIndex_(Data$dFoldableWithIndex.foldableWithIndexArray);
15
+ const forWithIndex_2 = /* #__PURE__ */ forWithIndex_(Data$dFoldableWithIndex.foldableWithIndexArray);
16
+ const sum = /* #__PURE__ */ Data$dFoldable.foldlArray(Data$dSemiring.numAdd)(0.0);
17
+ const StackedBar = x => x;
18
+ const newtypeStackedBar_ = {Coercible0: () => {}};
19
+ const segmentContext = v => v1 => {
20
+ const $0 = v.interior;
21
+ const $1 = v.scales;
22
+ const $2 = v.strokeWidth;
23
+ const $3 = v1.x;
24
+ const $4 = [0.0, ...Data$dArray.scanlImpl(Data$dSemiring.numAdd, 0.0, Data$dFunctor.arrayMap(v2 => v2.z._1)(v1.segments))];
25
+ const ys = (() => {
26
+ if ($4.length === 0) { $runtime.fail(); }
27
+ return Data$dArray.sliceImpl(0, $4.length - 1 | 0, $4);
28
+ })();
29
+ return y_index => ({interior: $0, scales: $1, strokeWidth: $2, x: $3._1, y: Util.unsafeArrayArray.unsafeIndex(ys)(y_index), y_index});
30
+ };
31
+ const viewableStackedBarStacked = {
32
+ isLeaf: v => false,
33
+ createElement: context => v => parent => {
34
+ const $0 = v.segments;
35
+ const $1 = App$dView$dUtil$dD3.createChild(parent)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.G))(App$dView$dUtil$dD3.fromFoldable([
36
+ App$dUtil.classes(["stack"])
37
+ ]));
38
+ return () => {
39
+ const g = $1();
40
+ forWithIndex_1($0)(y_index => segment => App$dView$dSegment.viewableSegmentSegmentCon.createElement(segmentContext(context)(v)(y_index))(segment)(g))();
41
+ return g;
42
+ };
43
+ },
44
+ setSelection: context => v => select => root => {
45
+ const $0 = v.segments;
46
+ const $1 = App$dView$dUtil$dD3.selectAll(".bar")(root);
47
+ return () => {
48
+ const segments$p = $1();
49
+ return forWithIndex_2(segments$p)(y_index => segment => App$dView$dSegment.viewableSegmentSegmentCon.setSelection(segmentContext(context)(v)(y_index))(Util.unsafeArrayNonEmptyArray.unsafeIndex($0)(y_index))(x => select(App$dUtil$dSelector.dictVal("segments")(x)))(segment))();
50
+ };
51
+ }
52
+ };
53
+ const barHeight = v => sum(Data$dFunctor.arrayMap(v1 => v1.z._1)(v.segments));
54
+ export {StackedBar, barHeight, forWithIndex_, forWithIndex_1, forWithIndex_2, newtypeStackedBar_, segmentContext, sum, viewableStackedBarStacked};
@@ -0,0 +1,397 @@
1
+ import * as $runtime from "../runtime.js";
2
+ import * as App$dUtil from "../App.Util/index.js";
3
+ import * as App$dUtil$dSelector from "../App.Util.Selector/index.js";
4
+ import * as App$dView$dUtil from "../App.View.Util/index.js";
5
+ import * as App$dView$dUtil$dD3 from "../App.View.Util.D3/index.js";
6
+ import * as Data$dArray from "../Data.Array/index.js";
7
+ import * as Data$dEq from "../Data.Eq/index.js";
8
+ import * as Data$dFoldableWithIndex from "../Data.FoldableWithIndex/index.js";
9
+ import * as Data$dFunctor from "../Data.Functor/index.js";
10
+ import * as Data$dList$dTypes from "../Data.List.Types/index.js";
11
+ import * as Data$dMaybe from "../Data.Maybe/index.js";
12
+ import * as Data$dNumber$dFormat from "../Data.Number.Format/index.js";
13
+ import * as Data$dOrd from "../Data.Ord/index.js";
14
+ import * as Data$dShow from "../Data.Show/index.js";
15
+ import * as Data$dTraversable from "../Data.Traversable/index.js";
16
+ import * as Data$dTuple from "../Data.Tuple/index.js";
17
+ import * as Data$dUnfoldable from "../Data.Unfoldable/index.js";
18
+ import * as Dict from "../Dict/index.js";
19
+ import * as Effect from "../Effect/index.js";
20
+ import * as Effect$dException from "../Effect.Exception/index.js";
21
+ import * as Util from "../Util/index.js";
22
+ import * as Util$dMap from "../Util.Map/index.js";
23
+ import * as Web$dEvent$dEventTarget from "../Web.Event.EventTarget/index.js";
24
+ const $BorderVis = tag => tag;
25
+ const toUnfoldable = /* #__PURE__ */ (() => {
26
+ const $0 = Data$dUnfoldable.unfoldableArray.unfoldr(xs => {
27
+ if (xs.tag === "Nil") { return Data$dMaybe.Nothing; }
28
+ if (xs.tag === "Cons") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(xs._1, xs._2)); }
29
+ $runtime.fail();
30
+ });
31
+ return x => $0((() => {
32
+ const go = (m$p, z$p) => {
33
+ if (m$p.tag === "Leaf") { return z$p; }
34
+ if (m$p.tag === "Node") { return go(m$p._5, Data$dList$dTypes.$List("Cons", m$p._3, go(m$p._6, z$p))); }
35
+ $runtime.fail();
36
+ };
37
+ return go(x, Data$dList$dTypes.Nil);
38
+ })());
39
+ })();
40
+ const $$for = /* #__PURE__ */ (() => {
41
+ const traverse2 = Data$dTraversable.traversableArray.traverse(Effect.applicativeEffect);
42
+ return x => f => traverse2(f)(x);
43
+ })();
44
+ const forWithIndex_ = /* #__PURE__ */ Data$dFoldableWithIndex.forWithIndex_(Effect.applicativeEffect)(Data$dFoldableWithIndex.foldableWithIndexArray);
45
+ const TableView = x => x;
46
+ const Transparent = /* #__PURE__ */ $BorderVis("Transparent");
47
+ const Faint = /* #__PURE__ */ $BorderVis("Faint");
48
+ const visible = filter => v => {
49
+ if (filter === "Everything") { return true; }
50
+ if (filter === "Interactive") {
51
+ if (v._1.tag === "Inert") { return false; }
52
+ if (v._1.tag === "Reactive") { return true; }
53
+ $runtime.fail();
54
+ }
55
+ if (filter === "Relevant") {
56
+ return !(
57
+ (() => {
58
+ const $0 = (() => {
59
+ if (v._1.tag === "Inert") { return App$dUtil.None; }
60
+ if (v._1.tag === "Reactive") { return v._1._1.persistent; }
61
+ $runtime.fail();
62
+ })();
63
+ const $1 = (() => {
64
+ if (v._1.tag === "Inert") { return App$dUtil.None; }
65
+ if (v._1.tag === "Reactive") { return v._1._1.transient; }
66
+ $runtime.fail();
67
+ })();
68
+ return (() => {
69
+ if ($0 === "None") { return true; }
70
+ if ($0 === "Secondary") { return false; }
71
+ if ($0 === "Primary") { return false; }
72
+ $runtime.fail();
73
+ })() && (() => {
74
+ if ($1 === "None") { return true; }
75
+ if ($1 === "Secondary") { return false; }
76
+ if ($1 === "Primary") { return false; }
77
+ $runtime.fail();
78
+ })();
79
+ })() || (() => {
80
+ if (v._1.tag === "Inert") { return true; }
81
+ if (v._1.tag === "Reactive") { return false; }
82
+ $runtime.fail();
83
+ })()
84
+ );
85
+ }
86
+ $runtime.fail();
87
+ };
88
+ const unhighlightedBorder = v => {
89
+ if (v === "Transparent") { return "1px solid transparent"; }
90
+ if (v === "Faint") { return "1px solid #eee"; }
91
+ $runtime.fail();
92
+ };
93
+ const rowKey = "__n";
94
+ const prim = v => {
95
+ if (v._3.tag === "Int") { return Data$dShow.showIntImpl(v._3._1); }
96
+ if (v._3.tag === "Float") { return Data$dNumber$dFormat.toStringWith(Data$dNumber$dFormat.$Format("Fixed", Data$dNumber$dFormat.clamp(0)(20)(2)))(v._3._1); }
97
+ if (v._3.tag === "Str") { return v._3._1; }
98
+ return Effect$dException.throwException(Effect$dException.error("TableView only supports primitive values."))();
99
+ };
100
+ const highlightedBorder = v => "1px solid blue";
101
+ const headers = records => Data$dArray.sortBy(Data$dOrd.ordString.compare)(toUnfoldable((() => {
102
+ const $0 = Util.definitely("non-empty")(records.length > 0 ? Data$dMaybe.$Maybe("Just", records) : Data$dMaybe.Nothing);
103
+ return Util$dMap.mapObjectString.keys((() => {
104
+ if (0 < $0.length) { return $0[0]; }
105
+ $runtime.fail();
106
+ })());
107
+ })()));
108
+ const cell_selClassesFor = colName => s => {
109
+ if (colName === "__n") { return ""; }
110
+ return App$dUtil.selClassesFor(s);
111
+ };
112
+ const viewableTableViewUnit = {
113
+ isLeaf: v => false,
114
+ setSelection: v => v1 => redraw => rootElement => {
115
+ const $0 = v1.colNames;
116
+ const $1 = v1.rows;
117
+ const $2 = v1.title;
118
+ const row_isVisible = Data$dFunctor.arrayMap(Data$dArray.any(visible(v1.rowFilter)))($1);
119
+ const row_visiblePred = row_visiblePred$a0$copy => {
120
+ let row_visiblePred$a0 = row_visiblePred$a0$copy, row_visiblePred$c = true, row_visiblePred$r;
121
+ while (row_visiblePred$c) {
122
+ const i = row_visiblePred$a0;
123
+ if (i < 0) {
124
+ row_visiblePred$c = false;
125
+ row_visiblePred$r = Effect$dException.throwException(Effect$dException.error("absurd"))();
126
+ continue;
127
+ }
128
+ if (i === 0) {
129
+ row_visiblePred$c = false;
130
+ row_visiblePred$r = -1;
131
+ continue;
132
+ }
133
+ if (Util.unsafeArrayArray.unsafeIndex(row_isVisible)(i - 1 | 0)) {
134
+ row_visiblePred$c = false;
135
+ row_visiblePred$r = i - 1 | 0;
136
+ continue;
137
+ }
138
+ row_visiblePred$a0 = i - 1 | 0;
139
+ }
140
+ return row_visiblePred$r;
141
+ };
142
+ const row_visibleSucc = row_visibleSucc$a0$copy => {
143
+ let row_visibleSucc$a0 = row_visibleSucc$a0$copy, row_visibleSucc$c = true, row_visibleSucc$r;
144
+ while (row_visibleSucc$c) {
145
+ const i = row_visibleSucc$a0;
146
+ if (i === ($1.length - 1 | 0)) {
147
+ row_visibleSucc$c = false;
148
+ row_visibleSucc$r = Data$dMaybe.Nothing;
149
+ continue;
150
+ }
151
+ if (Util.unsafeArrayArray.unsafeIndex(row_isVisible)(i + 1 | 0)) {
152
+ row_visibleSucc$c = false;
153
+ row_visibleSucc$r = Data$dMaybe.$Maybe("Just", i + 1 | 0);
154
+ continue;
155
+ }
156
+ row_visibleSucc$a0 = i + 1 | 0;
157
+ }
158
+ return row_visibleSucc$r;
159
+ };
160
+ const isCellTransient = (i, j) => {
161
+ if (i === -1 || j === -1) { return false; }
162
+ const $3 = Util.unsafeArrayArray.unsafeIndex(Util.unsafeArrayArray.unsafeIndex($1)(i))(j);
163
+ const $4 = (() => {
164
+ if ($3._1.tag === "Inert") { return App$dUtil.None; }
165
+ if ($3._1.tag === "Reactive") { return $3._1._1.transient; }
166
+ $runtime.fail();
167
+ })();
168
+ if ($4 === "None") { return false; }
169
+ if ($4 === "Secondary") { return true; }
170
+ if ($4 === "Primary") { return true; }
171
+ $runtime.fail();
172
+ };
173
+ const $3 = App$dView$dUtil$dD3.selectAll(".table-row")(rootElement);
174
+ const column_isVisible = Data$dFunctor.arrayMap(Data$dArray.any(visible($0.length >= 10 ? App$dView$dUtil.Interactive : App$dView$dUtil.Everything)))(Data$dArray.transpose($1));
175
+ const column_visiblePred = column_visiblePred$a0$copy => {
176
+ let column_visiblePred$a0 = column_visiblePred$a0$copy, column_visiblePred$c = true, column_visiblePred$r;
177
+ while (column_visiblePred$c) {
178
+ const j = column_visiblePred$a0;
179
+ if (j < 0) {
180
+ column_visiblePred$c = false;
181
+ column_visiblePred$r = Effect$dException.throwException(Effect$dException.error("absurd"))();
182
+ continue;
183
+ }
184
+ if (j === 0) {
185
+ column_visiblePred$c = false;
186
+ column_visiblePred$r = -1;
187
+ continue;
188
+ }
189
+ if (Util.unsafeArrayArray.unsafeIndex(column_isVisible)(j - 1 | 0)) {
190
+ column_visiblePred$c = false;
191
+ column_visiblePred$r = j - 1 | 0;
192
+ continue;
193
+ }
194
+ column_visiblePred$a0 = j - 1 | 0;
195
+ }
196
+ return column_visiblePred$r;
197
+ };
198
+ const column_visibleSucc = column_visibleSucc$a0$copy => {
199
+ let column_visibleSucc$a0 = column_visibleSucc$a0$copy, column_visibleSucc$c = true, column_visibleSucc$r;
200
+ while (column_visibleSucc$c) {
201
+ const i = column_visibleSucc$a0;
202
+ if (i === ($0.length - 1 | 0)) {
203
+ column_visibleSucc$c = false;
204
+ column_visibleSucc$r = Data$dMaybe.Nothing;
205
+ continue;
206
+ }
207
+ if (Util.unsafeArrayArray.unsafeIndex(column_isVisible)(i + 1 | 0)) {
208
+ column_visibleSucc$c = false;
209
+ column_visibleSucc$r = Data$dMaybe.$Maybe("Just", i + 1 | 0);
210
+ continue;
211
+ }
212
+ column_visibleSucc$a0 = i + 1 | 0;
213
+ }
214
+ return column_visibleSucc$r;
215
+ };
216
+ const hiddenColumns = Data$dArray.filterImpl(x => !Util.unsafeArrayArray.unsafeIndex(column_isVisible)(x), Data$dArray.rangeImpl(0, $0.length - 1 | 0));
217
+ const $4 = App$dView$dUtil$dD3.selectAll(".table-cell")(rootElement);
218
+ const $5 = App$dView$dUtil$dD3.selectAll(".table-cell")(rootElement);
219
+ return () => {
220
+ const cells = $5();
221
+ const listener = Web$dEvent$dEventTarget.eventListener(x => redraw((() => {
222
+ const $6 = App$dUtil.selectionEventData$p(x);
223
+ return App$dUtil$dSelector.listElement($6._1.i)(App$dUtil$dSelector.dictVal($6._1.colName)($6._2));
224
+ })()))();
225
+ for (const cell of cells) {
226
+ const v2 = App$dView$dUtil$dD3.datum(cell)();
227
+ if (v2.i === -1 || v2.j === -1) {
228
+
229
+ } else {
230
+ const $6 = App$dView$dUtil$dD3.classed(App$dUtil.selClasses)(false)(cell)();
231
+ const $7 = App$dView$dUtil$dD3.classed(v2.colName === "__n"
232
+ ? ""
233
+ : App$dUtil.selClassesFor(Util.unsafeArrayArray.unsafeIndex(Util.unsafeArrayArray.unsafeIndex($1)(v2.i))(v2.j)._1))(true)($6)();
234
+ App$dView$dUtil.registerMouseListeners(listener)($7)();
235
+ }
236
+ App$dView$dUtil$dD3.styles(cell)(App$dView$dUtil$dD3.fromFoldable([
237
+ Data$dTuple.$Tuple(
238
+ "border-right",
239
+ (() => {
240
+ const v2$1 = column_visibleSucc(v2.j);
241
+ const $6 = column_visibleSucc(v2.j);
242
+ const $7 = (() => {
243
+ if ($6.tag === "Nothing") { return true; }
244
+ if ($6.tag === "Just") { return false; }
245
+ $runtime.fail();
246
+ })();
247
+ if (
248
+ (() => {
249
+ if (v2$1.tag === "Nothing") { return isCellTransient(v2.i, v2.j); }
250
+ if (v2$1.tag === "Just") { return isCellTransient(v2.i, v2$1._1) !== isCellTransient(v2.i, column_visiblePred(v2$1._1)); }
251
+ $runtime.fail();
252
+ })()
253
+ ) {
254
+ return "1px solid blue";
255
+ }
256
+ if ($7) { return "1px solid #eee"; }
257
+ return "";
258
+ })()
259
+ ),
260
+ Data$dTuple.$Tuple(
261
+ "border-bottom",
262
+ (() => {
263
+ const v2$1 = row_visibleSucc(v2.i);
264
+ const $6 = v2.i === ($1.length - 1 | 0);
265
+ if (
266
+ (() => {
267
+ if (v2$1.tag === "Nothing") { return isCellTransient(v2.i, v2.j); }
268
+ if (v2$1.tag === "Just") { return isCellTransient(v2$1._1, v2.j) !== isCellTransient(row_visiblePred(v2$1._1), v2.j) && v2.i === (v2$1._1 - 1 | 0); }
269
+ $runtime.fail();
270
+ })()
271
+ ) {
272
+ return "1px solid blue";
273
+ }
274
+ if ($6) { return "1px solid transparent"; }
275
+ return "";
276
+ })()
277
+ )
278
+ ]))();
279
+ }
280
+ const rows$p = $3();
281
+ const a$p = $$for(rows$p)(row => {
282
+ const $6 = App$dView$dUtil$dD3.datum(row);
283
+ return () => {
284
+ const v2 = $6();
285
+ return Data$dTuple.$Tuple(row, Util.unsafeArrayArray.unsafeIndex(row_isVisible)(v2.i));
286
+ };
287
+ })();
288
+ const v2 = Data$dArray.partitionImpl(Data$dTuple.snd, a$p);
289
+ for (const v3 of v2.no) {
290
+ App$dView$dUtil$dD3.classed("hidden")(true)(v3._1)();
291
+ }
292
+ for (const v3 of v2.yes) {
293
+ App$dView$dUtil$dD3.classed("hidden")(false)(v3._1)();
294
+ }
295
+ const cells$1 = $4();
296
+ for (const cell of cells$1) {
297
+ const v2$1 = App$dView$dUtil$dD3.datum(cell)();
298
+ if (Data$dArray.elem(Data$dEq.eqInt)(v2$1.j)(hiddenColumns)) {
299
+ App$dView$dUtil$dD3.classed("hidden")(true)(cell)();
300
+ } else {
301
+ App$dView$dUtil$dD3.classed("hidden")(false)(cell)();
302
+ }
303
+ }
304
+ const $6 = App$dView$dUtil$dD3.select(".table-caption")(rootElement)();
305
+ App$dView$dUtil$dD3.setText($2 + " (" + Data$dShow.showIntImpl($1.length - v2.no.length | 0) + " of " + Data$dShow.showIntImpl($1.length) + " × " + Data$dShow.showIntImpl($0.length - hiddenColumns.length | 0) + " of " + Data$dShow.showIntImpl($0.length) + ")")($6)();
306
+ };
307
+ },
308
+ createElement: v => v1 => parent => {
309
+ const $0 = v1.colNames;
310
+ const $1 = v1.rowFilter;
311
+ const $2 = v1.rows;
312
+ const $3 = App$dView$dUtil$dD3.createChild(parent)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.Div))(App$dView$dUtil$dD3.fromFoldable([
313
+ App$dUtil.classes(["table-wrapper"])
314
+ ]));
315
+ return () => {
316
+ const rootElement = $3();
317
+ App$dView$dUtil$dD3.createChild(rootElement)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.Div))(App$dView$dUtil$dD3.fromFoldable([
318
+ App$dUtil.classes(["title-text", "table-caption"]),
319
+ Data$dTuple.$Tuple("dominant-baseline", "middle"),
320
+ Data$dTuple.$Tuple("text-anchor", "left")
321
+ ]))();
322
+ const table = App$dView$dUtil$dD3.createChild(rootElement)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.Table))(App$dView$dUtil$dD3.fromFoldable([
323
+ App$dUtil.classes(["table-view"])
324
+ ]))();
325
+ const colNames$p = ["__n", ...$0];
326
+ const $4 = App$dView$dUtil$dD3.createChild(table)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.THead))(App$dView$dUtil$dD3.fromFoldable([]))();
327
+ const row = App$dView$dUtil$dD3.createChild($4)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.TR))(App$dView$dUtil$dD3.fromFoldable([]))();
328
+ forWithIndex_(colNames$p)(j => colName => {
329
+ const value = (() => {
330
+ if (colName === "__n") {
331
+ if ($1 === "Relevant") { return "▸"; }
332
+ return "▾";
333
+ }
334
+ return colName;
335
+ })();
336
+ const $5 = App$dView$dUtil$dD3.createChild(row)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.TH))(App$dView$dUtil$dD3.fromFoldable([
337
+ App$dUtil.classes(["table-cell", ...colName === "__n" ? ["filter-toggle", "toggle-button"] : []])
338
+ ]));
339
+ const $6 = App$dView$dUtil$dD3.setText(value);
340
+ const $7 = App$dView$dUtil$dD3.setDatum({i: -1, j: j - 1 | 0, value, colName: Util.unsafeArrayArray.unsafeIndex(colNames$p)(j)});
341
+ return () => {
342
+ const $8 = $5();
343
+ const $9 = App$dView$dUtil$dD3.styles($8)(App$dView$dUtil$dD3.fromFoldable([Data$dTuple.$Tuple("border-left", "1px solid #eee")]))();
344
+ const $10 = $6($9)();
345
+ return $7($10)();
346
+ };
347
+ })();
348
+ const body = App$dView$dUtil$dD3.createChild(table)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.TBody))(App$dView$dUtil$dD3.fromFoldable([]))();
349
+ forWithIndex_($2)(i => row$1 => {
350
+ const $5 = App$dView$dUtil$dD3.createChild(body)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.TR))(App$dView$dUtil$dD3.fromFoldable([
351
+ App$dUtil.classes(["table-row"])
352
+ ]));
353
+ const $6 = App$dView$dUtil$dD3.setDatum({i});
354
+ return () => {
355
+ const $7 = $5();
356
+ const row$p = $6($7)();
357
+ return forWithIndex_([Data$dShow.showIntImpl(i + 1 | 0), ...Data$dFunctor.arrayMap(prim)(row$1)])(j => value => {
358
+ const $8 = App$dView$dUtil$dD3.createChild(row$p)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.TD))(App$dView$dUtil$dD3.fromFoldable([
359
+ App$dUtil.classes(j >= 0 ? ["table-cell"] : [])
360
+ ]));
361
+ const $9 = App$dView$dUtil$dD3.setText(value);
362
+ const $10 = App$dView$dUtil$dD3.setDatum({i, j: j - 1 | 0, value, colName: Util.unsafeArrayArray.unsafeIndex(colNames$p)(j)});
363
+ return () => {
364
+ const $11 = $8();
365
+ const $12 = App$dView$dUtil$dD3.styles($11)(App$dView$dUtil$dD3.fromFoldable([
366
+ Data$dTuple.$Tuple("border-top", "1px solid transparent"),
367
+ Data$dTuple.$Tuple("border-left", "1px solid #eee")
368
+ ]))();
369
+ const $13 = $9($12)();
370
+ return $10($13)();
371
+ };
372
+ })();
373
+ };
374
+ })();
375
+ return rootElement;
376
+ };
377
+ }
378
+ };
379
+ const arrayDictToArray2 = x => Data$dFunctor.arrayMap(a => Data$dFunctor.arrayMap(a$1 => Util$dMap.get(Data$dShow.showString)(Dict.mapDictString)(a$1)(a))(x));
380
+ export {
381
+ $BorderVis,
382
+ Faint,
383
+ TableView,
384
+ Transparent,
385
+ arrayDictToArray2,
386
+ cell_selClassesFor,
387
+ $$for as for,
388
+ forWithIndex_,
389
+ headers,
390
+ highlightedBorder,
391
+ prim,
392
+ rowKey,
393
+ toUnfoldable,
394
+ unhighlightedBorder,
395
+ viewableTableViewUnit,
396
+ visible
397
+ };