@explorable-viz/fluid 0.12.3 → 0.12.4
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.
- package/output-es/Affjax/foreign.js +52 -0
- package/output-es/Affjax/index.js +387 -0
- package/output-es/Affjax.RequestBody/index.js +22 -0
- package/output-es/Affjax.RequestHeader/index.js +58 -0
- package/output-es/Affjax.ResponseFormat/index.js +47 -0
- package/output-es/Affjax.ResponseHeader/index.js +19 -0
- package/output-es/Affjax.StatusCode/index.js +8 -0
- package/output-es/Affjax.Web/foreign.js +8 -0
- package/output-es/Affjax.Web/index.js +14 -0
- package/output-es/App.CodeMirror/foreign.js +69 -0
- package/output-es/App.CodeMirror/index.js +3 -0
- package/output-es/App.Fig/index.js +713 -0
- package/output-es/App.LoadFigure/index.js +131 -0
- package/output-es/App.Util/index.js +773 -0
- package/output-es/App.Util.Selector/index.js +273 -0
- package/output-es/App.View/index.js +310 -0
- package/output-es/App.View.BarChart/index.js +153 -0
- package/output-es/App.View.DocView/index.js +40 -0
- package/output-es/App.View.LineChart/index.js +437 -0
- package/output-es/App.View.MatrixView/foreign.js +182 -0
- package/output-es/App.View.MatrixView/index.js +232 -0
- package/output-es/App.View.MultiView/index.js +30 -0
- package/output-es/App.View.Paragraph/index.js +44 -0
- package/output-es/App.View.ScatterPlot/foreign.js +110 -0
- package/output-es/App.View.ScatterPlot/index.js +122 -0
- package/output-es/App.View.Segment/index.js +92 -0
- package/output-es/App.View.StackedBar/index.js +54 -0
- package/output-es/App.View.TableView/index.js +397 -0
- package/output-es/App.View.Text/index.js +157 -0
- package/output-es/App.View.Util/index.js +222 -0
- package/output-es/App.View.Util.Axes/index.js +79 -0
- package/output-es/App.View.Util.D3/foreign.js +263 -0
- package/output-es/App.View.Util.D3/index.js +678 -0
- package/output-es/App.View.Util.Point/index.js +3 -0
- package/output-es/Benchmark/index.js +63 -0
- package/output-es/Bind/index.js +24 -0
- package/output-es/Control.Alt/index.js +5 -0
- package/output-es/Control.Alternative/index.js +11 -0
- package/output-es/Control.Applicative/index.js +18 -0
- package/output-es/Control.Apply/foreign.js +15 -0
- package/output-es/Control.Apply/index.js +17 -0
- package/output-es/Control.Biapplicative/index.js +5 -0
- package/output-es/Control.Biapply/index.js +11 -0
- package/output-es/Control.Bind/foreign.js +9 -0
- package/output-es/Control.Bind/index.js +21 -0
- package/output-es/Control.Category/index.js +4 -0
- package/output-es/Control.Comonad/index.js +2 -0
- package/output-es/Control.Comonad.Cofree/index.js +255 -0
- package/output-es/Control.Comonad.Cofree.Class/index.js +43 -0
- package/output-es/Control.Comonad.Env/index.js +8 -0
- package/output-es/Control.Comonad.Env.Class/index.js +17 -0
- package/output-es/Control.Comonad.Env.Trans/index.js +113 -0
- package/output-es/Control.Comonad.Store/index.js +5 -0
- package/output-es/Control.Comonad.Store.Class/index.js +56 -0
- package/output-es/Control.Comonad.Store.Trans/index.js +27 -0
- package/output-es/Control.Comonad.Traced/index.js +4 -0
- package/output-es/Control.Comonad.Traced.Class/index.js +16 -0
- package/output-es/Control.Comonad.Traced.Trans/index.js +28 -0
- package/output-es/Control.Comonad.Trans.Class/index.js +3 -0
- package/output-es/Control.Extend/foreign.js +7 -0
- package/output-es/Control.Extend/index.js +12 -0
- package/output-es/Control.Lazy/index.js +10 -0
- package/output-es/Control.Monad/index.js +27 -0
- package/output-es/Control.Monad.Cont/index.js +6 -0
- package/output-es/Control.Monad.Cont.Class/index.js +3 -0
- package/output-es/Control.Monad.Cont.Trans/index.js +122 -0
- package/output-es/Control.Monad.Error.Class/index.js +83 -0
- package/output-es/Control.Monad.Except/index.js +10 -0
- package/output-es/Control.Monad.Except.Trans/index.js +241 -0
- package/output-es/Control.Monad.Free/index.js +423 -0
- package/output-es/Control.Monad.Free.Class/index.js +45 -0
- package/output-es/Control.Monad.Gen/index.js +132 -0
- package/output-es/Control.Monad.Gen.Class/index.js +6 -0
- package/output-es/Control.Monad.Gen.Common/index.js +44 -0
- package/output-es/Control.Monad.Identity.Trans/index.js +88 -0
- package/output-es/Control.Monad.List.Trans/index.js +536 -0
- package/output-es/Control.Monad.Maybe.Trans/index.js +217 -0
- package/output-es/Control.Monad.RWS/index.js +16 -0
- package/output-es/Control.Monad.RWS.Trans/index.js +260 -0
- package/output-es/Control.Monad.Reader/index.js +6 -0
- package/output-es/Control.Monad.Reader.Class/index.js +11 -0
- package/output-es/Control.Monad.Reader.Trans/index.js +320 -0
- package/output-es/Control.Monad.Rec.Class/index.js +265 -0
- package/output-es/Control.Monad.ST/index.js +1 -0
- package/output-es/Control.Monad.ST.Class/index.js +7 -0
- package/output-es/Control.Monad.ST.Global/index.js +3 -0
- package/output-es/Control.Monad.ST.Internal/foreign.js +90 -0
- package/output-es/Control.Monad.ST.Internal/index.js +75 -0
- package/output-es/Control.Monad.ST.Ref/index.js +1 -0
- package/output-es/Control.Monad.ST.Uncurried/foreign.js +229 -0
- package/output-es/Control.Monad.ST.Uncurried/index.js +39 -0
- package/output-es/Control.Monad.State/index.js +8 -0
- package/output-es/Control.Monad.State.Class/index.js +12 -0
- package/output-es/Control.Monad.State.Trans/index.js +209 -0
- package/output-es/Control.Monad.Trampoline/index.js +9 -0
- package/output-es/Control.Monad.Trans.Class/index.js +3 -0
- package/output-es/Control.Monad.Writer/index.js +6 -0
- package/output-es/Control.Monad.Writer.Class/index.js +14 -0
- package/output-es/Control.Monad.Writer.Trans/index.js +256 -0
- package/output-es/Control.MonadPlus/index.js +4 -0
- package/output-es/Control.Parallel/index.js +49 -0
- package/output-es/Control.Parallel.Class/index.js +191 -0
- package/output-es/Control.Plus/index.js +4 -0
- package/output-es/Control.Promise/foreign.js +24 -0
- package/output-es/Control.Promise/index.js +40 -0
- package/output-es/Control.Semigroupoid/index.js +4 -0
- package/output-es/Data.Argonaut.Core/foreign.js +102 -0
- package/output-es/Data.Argonaut.Core/index.js +72 -0
- package/output-es/Data.Argonaut.Decode/index.js +10 -0
- package/output-es/Data.Argonaut.Decode.Class/index.js +173 -0
- package/output-es/Data.Argonaut.Decode.Combinators/index.js +21 -0
- package/output-es/Data.Argonaut.Decode.Decoders/index.js +463 -0
- package/output-es/Data.Argonaut.Decode.Error/index.js +151 -0
- package/output-es/Data.Argonaut.Decode.Parser/index.js +11 -0
- package/output-es/Data.Argonaut.Encode/index.js +3 -0
- package/output-es/Data.Argonaut.Encode.Class/index.js +114 -0
- package/output-es/Data.Argonaut.Encode.Combinators/index.js +15 -0
- package/output-es/Data.Argonaut.Encode.Encoders/index.js +222 -0
- package/output-es/Data.Argonaut.Gen/index.js +68 -0
- package/output-es/Data.Argonaut.Parser/foreign.js +8 -0
- package/output-es/Data.Argonaut.Parser/index.js +5 -0
- package/output-es/Data.Array/foreign.js +298 -0
- package/output-es/Data.Array/index.js +555 -0
- package/output-es/Data.Array.NonEmpty/index.js +317 -0
- package/output-es/Data.Array.NonEmpty.Internal/foreign.js +77 -0
- package/output-es/Data.Array.NonEmpty.Internal/index.js +90 -0
- package/output-es/Data.Array.Partial/index.js +7 -0
- package/output-es/Data.Array.ST/foreign.js +107 -0
- package/output-es/Data.Array.ST/index.js +82 -0
- package/output-es/Data.Array.ST.Iterator/index.js +83 -0
- package/output-es/Data.Array.ST.Partial/foreign.js +7 -0
- package/output-es/Data.Array.ST.Partial/index.js +9 -0
- package/output-es/Data.ArrayBuffer.Types/index.js +1 -0
- package/output-es/Data.Bifoldable/index.js +149 -0
- package/output-es/Data.Bifunctor/index.js +17 -0
- package/output-es/Data.Bifunctor.Join/index.js +21 -0
- package/output-es/Data.Bitraversable/index.js +195 -0
- package/output-es/Data.Boolean/index.js +2 -0
- package/output-es/Data.BooleanAlgebra/index.js +42 -0
- package/output-es/Data.Bounded/foreign.js +8 -0
- package/output-es/Data.Bounded/index.js +76 -0
- package/output-es/Data.Bounded.Generic/index.js +37 -0
- package/output-es/Data.CatList/index.js +326 -0
- package/output-es/Data.CatQueue/index.js +364 -0
- package/output-es/Data.Char/index.js +5 -0
- package/output-es/Data.Char.Gen/index.js +21 -0
- package/output-es/Data.CodePoint.Unicode/index.js +382 -0
- package/output-es/Data.CodePoint.Unicode.Internal/index.js +5476 -0
- package/output-es/Data.CodePoint.Unicode.Internal.Casing/index.js +1636 -0
- package/output-es/Data.CommutativeRing/index.js +49 -0
- package/output-es/Data.Compactable/index.js +228 -0
- package/output-es/Data.Comparison/index.js +22 -0
- package/output-es/Data.Const/index.js +56 -0
- package/output-es/Data.Coyoneda/index.js +212 -0
- package/output-es/Data.Date/foreign.js +22 -0
- package/output-es/Data.Date/index.js +370 -0
- package/output-es/Data.Date.Component/index.js +451 -0
- package/output-es/Data.Date.Component.Gen/index.js +11 -0
- package/output-es/Data.Date.Gen/index.js +25 -0
- package/output-es/Data.DateTime/foreign.js +33 -0
- package/output-es/Data.DateTime/index.js +131 -0
- package/output-es/Data.DateTime.Gen/index.js +8 -0
- package/output-es/Data.DateTime.Instant/foreign.js +18 -0
- package/output-es/Data.DateTime.Instant/index.js +86 -0
- package/output-es/Data.Decidable/index.js +70 -0
- package/output-es/Data.Decide/index.js +64 -0
- package/output-es/Data.Distributive/index.js +55 -0
- package/output-es/Data.Divide/index.js +47 -0
- package/output-es/Data.Divisible/index.js +17 -0
- package/output-es/Data.DivisionRing/index.js +6 -0
- package/output-es/Data.Either/index.js +242 -0
- package/output-es/Data.Either.Inject/index.js +25 -0
- package/output-es/Data.Either.Nested/index.js +450 -0
- package/output-es/Data.Enum/foreign.js +7 -0
- package/output-es/Data.Enum/index.js +441 -0
- package/output-es/Data.Enum.Gen/index.js +19 -0
- package/output-es/Data.Enum.Generic/index.js +211 -0
- package/output-es/Data.Eq/foreign.js +23 -0
- package/output-es/Data.Eq/index.js +33 -0
- package/output-es/Data.Eq.Generic/index.js +16 -0
- package/output-es/Data.Equivalence/index.js +8 -0
- package/output-es/Data.EuclideanRing/foreign.js +26 -0
- package/output-es/Data.EuclideanRing/index.js +25 -0
- package/output-es/Data.Exists/index.js +4 -0
- package/output-es/Data.Field/index.js +2 -0
- package/output-es/Data.Filterable/index.js +317 -0
- package/output-es/Data.Foldable/foreign.js +25 -0
- package/output-es/Data.Foldable/index.js +394 -0
- package/output-es/Data.FoldableWithIndex/index.js +431 -0
- package/output-es/Data.FormURLEncoded/index.js +110 -0
- package/output-es/Data.Function/index.js +23 -0
- package/output-es/Data.Function.Memoize/index.js +242 -0
- package/output-es/Data.Function.Uncurried/foreign.js +218 -0
- package/output-es/Data.Function.Uncurried/index.js +5 -0
- package/output-es/Data.Functor/foreign.js +10 -0
- package/output-es/Data.Functor/index.js +14 -0
- package/output-es/Data.Functor.App/index.js +87 -0
- package/output-es/Data.Functor.Clown/index.js +24 -0
- package/output-es/Data.Functor.Compose/index.js +131 -0
- package/output-es/Data.Functor.Contravariant/index.js +7 -0
- package/output-es/Data.Functor.Coproduct/index.js +171 -0
- package/output-es/Data.Functor.Coproduct.Inject/index.js +25 -0
- package/output-es/Data.Functor.Coproduct.Nested/index.js +433 -0
- package/output-es/Data.Functor.Costar/index.js +82 -0
- package/output-es/Data.Functor.Flip/index.js +31 -0
- package/output-es/Data.Functor.Invariant/index.js +14 -0
- package/output-es/Data.Functor.Joker/index.js +88 -0
- package/output-es/Data.Functor.Product/index.js +127 -0
- package/output-es/Data.Functor.Product.Nested/index.js +46 -0
- package/output-es/Data.Functor.Product2/index.js +46 -0
- package/output-es/Data.FunctorWithIndex/foreign.js +10 -0
- package/output-es/Data.FunctorWithIndex/index.js +147 -0
- package/output-es/Data.Generic.Rep/index.js +31 -0
- package/output-es/Data.Graph/index.js +370 -0
- package/output-es/Data.HTTP.Method/index.js +223 -0
- package/output-es/Data.HeytingAlgebra/foreign.js +15 -0
- package/output-es/Data.HeytingAlgebra/index.js +104 -0
- package/output-es/Data.HeytingAlgebra.Generic/index.js +76 -0
- package/output-es/Data.Identity/index.js +54 -0
- package/output-es/Data.Int/foreign.js +65 -0
- package/output-es/Data.Int/index.js +122 -0
- package/output-es/Data.Int.Bits/foreign.js +48 -0
- package/output-es/Data.Int.Bits/index.js +4 -0
- package/output-es/Data.Interval/index.js +331 -0
- package/output-es/Data.Interval.Duration/index.js +124 -0
- package/output-es/Data.Interval.Duration.Iso/index.js +423 -0
- package/output-es/Data.JSDate/foreign.js +83 -0
- package/output-es/Data.JSDate/index.js +123 -0
- package/output-es/Data.Lazy/foreign.js +14 -0
- package/output-es/Data.Lazy/index.js +143 -0
- package/output-es/Data.List/index.js +1505 -0
- package/output-es/Data.List.Internal/index.js +155 -0
- package/output-es/Data.List.Lazy/index.js +658 -0
- package/output-es/Data.List.Lazy.NonEmpty/index.js +77 -0
- package/output-es/Data.List.Lazy.Types/index.js +511 -0
- package/output-es/Data.List.NonEmpty/index.js +540 -0
- package/output-es/Data.List.Partial/index.js +37 -0
- package/output-es/Data.List.Types/index.js +841 -0
- package/output-es/Data.List.ZipList/index.js +43 -0
- package/output-es/Data.Map/index.js +80 -0
- package/output-es/Data.Map.Gen/index.js +15 -0
- package/output-es/Data.Map.Internal/index.js +1216 -0
- package/output-es/Data.Maybe/index.js +253 -0
- package/output-es/Data.Maybe.First/index.js +85 -0
- package/output-es/Data.Maybe.Last/index.js +86 -0
- package/output-es/Data.MediaType/index.js +8 -0
- package/output-es/Data.MediaType.Common/index.js +30 -0
- package/output-es/Data.Monoid/index.js +66 -0
- package/output-es/Data.Monoid.Additive/index.js +33 -0
- package/output-es/Data.Monoid.Alternate/index.js +46 -0
- package/output-es/Data.Monoid.Conj/index.js +21 -0
- package/output-es/Data.Monoid.Disj/index.js +21 -0
- package/output-es/Data.Monoid.Dual/index.js +19 -0
- package/output-es/Data.Monoid.Endo/index.js +12 -0
- package/output-es/Data.Monoid.Generic/index.js +11 -0
- package/output-es/Data.Monoid.Multiplicative/index.js +33 -0
- package/output-es/Data.NaturalTransformation/index.js +1 -0
- package/output-es/Data.Newtype/index.js +51 -0
- package/output-es/Data.NonEmpty/index.js +217 -0
- package/output-es/Data.Nullable/foreign.js +12 -0
- package/output-es/Data.Nullable/index.js +53 -0
- package/output-es/Data.Number/foreign.js +80 -0
- package/output-es/Data.Number/index.js +15 -0
- package/output-es/Data.Number.Approximate/index.js +13 -0
- package/output-es/Data.Number.Format/foreign.js +12 -0
- package/output-es/Data.Number.Format/index.js +53 -0
- package/output-es/Data.Op/index.js +13 -0
- package/output-es/Data.Ord/foreign.js +43 -0
- package/output-es/Data.Ord/index.js +161 -0
- package/output-es/Data.Ord.Down/index.js +35 -0
- package/output-es/Data.Ord.Generic/index.js +34 -0
- package/output-es/Data.Ord.Max/index.js +34 -0
- package/output-es/Data.Ord.Min/index.js +34 -0
- package/output-es/Data.Ordering/index.js +35 -0
- package/output-es/Data.Posix/index.js +19 -0
- package/output-es/Data.Posix.Signal/index.js +405 -0
- package/output-es/Data.Predicate/index.js +14 -0
- package/output-es/Data.Profunctor/index.js +13 -0
- package/output-es/Data.Profunctor.Choice/index.js +32 -0
- package/output-es/Data.Profunctor.Closed/index.js +5 -0
- package/output-es/Data.Profunctor.Cochoice/index.js +3 -0
- package/output-es/Data.Profunctor.Costrong/index.js +3 -0
- package/output-es/Data.Profunctor.Join/index.js +13 -0
- package/output-es/Data.Profunctor.Split/index.js +11 -0
- package/output-es/Data.Profunctor.Star/index.js +250 -0
- package/output-es/Data.Profunctor.Strong/index.js +19 -0
- package/output-es/Data.Reflectable/foreign.js +5 -0
- package/output-es/Data.Reflectable/index.js +10 -0
- package/output-es/Data.Ring/foreign.js +12 -0
- package/output-es/Data.Ring/index.js +50 -0
- package/output-es/Data.Ring.Generic/index.js +10 -0
- package/output-es/Data.Semigroup/foreign.js +13 -0
- package/output-es/Data.Semigroup/index.js +25 -0
- package/output-es/Data.Semigroup.First/index.js +14 -0
- package/output-es/Data.Semigroup.Foldable/index.js +143 -0
- package/output-es/Data.Semigroup.Generic/index.js +11 -0
- package/output-es/Data.Semigroup.Last/index.js +14 -0
- package/output-es/Data.Semigroup.Traversable/index.js +39 -0
- package/output-es/Data.Semiring/foreign.js +25 -0
- package/output-es/Data.Semiring/index.js +66 -0
- package/output-es/Data.Semiring.Generic/index.js +52 -0
- package/output-es/Data.Set/index.js +310 -0
- package/output-es/Data.Set.NonEmpty/index.js +198 -0
- package/output-es/Data.Show/foreign.js +59 -0
- package/output-es/Data.Show/index.js +56 -0
- package/output-es/Data.Show.Generic/foreign.js +5 -0
- package/output-es/Data.Show.Generic/index.js +43 -0
- package/output-es/Data.String/index.js +1 -0
- package/output-es/Data.String.CaseInsensitive/index.js +12 -0
- package/output-es/Data.String.CodePoints/foreign.js +107 -0
- package/output-es/Data.String.CodePoints/index.js +201 -0
- package/output-es/Data.String.CodeUnits/foreign.js +116 -0
- package/output-es/Data.String.CodeUnits/index.js +55 -0
- package/output-es/Data.String.Common/foreign.js +52 -0
- package/output-es/Data.String.Common/index.js +6 -0
- package/output-es/Data.String.Gen/index.js +26 -0
- package/output-es/Data.String.NonEmpty/index.js +1 -0
- package/output-es/Data.String.NonEmpty.CaseInsensitive/index.js +12 -0
- package/output-es/Data.String.NonEmpty.CodePoints/index.js +89 -0
- package/output-es/Data.String.NonEmpty.CodeUnits/index.js +98 -0
- package/output-es/Data.String.NonEmpty.Internal/index.js +119 -0
- package/output-es/Data.String.Pattern/index.js +13 -0
- package/output-es/Data.String.Regex/foreign.js +103 -0
- package/output-es/Data.String.Regex/index.js +28 -0
- package/output-es/Data.String.Regex.Flags/index.js +44 -0
- package/output-es/Data.String.Regex.Unsafe/index.js +10 -0
- package/output-es/Data.String.Unicode/index.js +18 -0
- package/output-es/Data.String.Unsafe/foreign.js +11 -0
- package/output-es/Data.String.Unsafe/index.js +4 -0
- package/output-es/Data.Symbol/foreign.js +6 -0
- package/output-es/Data.Symbol/index.js +6 -0
- package/output-es/Data.Time/index.js +119 -0
- package/output-es/Data.Time.Component/index.js +138 -0
- package/output-es/Data.Time.Component.Gen/index.js +7 -0
- package/output-es/Data.Time.Duration/index.js +95 -0
- package/output-es/Data.Time.Duration.Gen/index.js +7 -0
- package/output-es/Data.Time.Gen/index.js +8 -0
- package/output-es/Data.Traversable/foreign.js +52 -0
- package/output-es/Data.Traversable/index.js +303 -0
- package/output-es/Data.Traversable.Accum/index.js +1 -0
- package/output-es/Data.Traversable.Accum.Internal/index.js +35 -0
- package/output-es/Data.TraversableWithIndex/index.js +280 -0
- package/output-es/Data.Tuple/index.js +194 -0
- package/output-es/Data.Tuple.Nested/index.js +290 -0
- package/output-es/Data.Unfoldable/foreign.js +21 -0
- package/output-es/Data.Unfoldable/index.js +45 -0
- package/output-es/Data.Unfoldable1/foreign.js +21 -0
- package/output-es/Data.Unfoldable1/index.js +39 -0
- package/output-es/Data.Unit/foreign.js +1 -0
- package/output-es/Data.Unit/index.js +3 -0
- package/output-es/Data.Void/index.js +12 -0
- package/output-es/Data.Witherable/index.js +371 -0
- package/output-es/Data.Yoneda/index.js +85 -0
- package/output-es/DataType/index.js +276 -0
- package/output-es/Debug/foreign.js +57 -0
- package/output-es/Debug/index.js +13 -0
- package/output-es/Desug/index.js +17 -0
- package/output-es/Desugarable/index.js +3 -0
- package/output-es/Dict/index.js +118 -0
- package/output-es/Effect/foreign.js +51 -0
- package/output-es/Effect/index.js +49 -0
- package/output-es/Effect.Aff/foreign.js +1154 -0
- package/output-es/Effect.Aff/index.js +268 -0
- package/output-es/Effect.Aff.Class/index.js +114 -0
- package/output-es/Effect.Aff.Compat/index.js +14 -0
- package/output-es/Effect.Class/index.js +4 -0
- package/output-es/Effect.Class.Console/index.js +25 -0
- package/output-es/Effect.Console/foreign.js +67 -0
- package/output-es/Effect.Console/index.js +17 -0
- package/output-es/Effect.Exception/foreign.js +45 -0
- package/output-es/Effect.Exception/index.js +14 -0
- package/output-es/Effect.Exception.Unsafe/index.js +4 -0
- package/output-es/Effect.Now/foreign.js +8 -0
- package/output-es/Effect.Now/index.js +16 -0
- package/output-es/Effect.Random/foreign.js +1 -0
- package/output-es/Effect.Random/index.js +17 -0
- package/output-es/Effect.Ref/foreign.js +37 -0
- package/output-es/Effect.Ref/index.js +34 -0
- package/output-es/Effect.Uncurried/foreign.js +229 -0
- package/output-es/Effect.Uncurried/index.js +386 -0
- package/output-es/Effect.Unsafe/foreign.js +3 -0
- package/output-es/Effect.Unsafe/index.js +3 -0
- package/output-es/Eval/index.js +951 -0
- package/output-es/ExitCodes/index.js +461 -0
- package/output-es/Expr/index.js +1732 -0
- package/output-es/File/index.js +125 -0
- package/output-es/Fluid/index.js +229 -0
- package/output-es/Foreign/foreign.js +19 -0
- package/output-es/Foreign/index.js +171 -0
- package/output-es/Foreign.Index/foreign.js +11 -0
- package/output-es/Foreign.Index/index.js +80 -0
- package/output-es/Foreign.Keys/foreign.js +9 -0
- package/output-es/Foreign.Keys/index.js +28 -0
- package/output-es/Foreign.Object/foreign.js +116 -0
- package/output-es/Foreign.Object/index.js +304 -0
- package/output-es/Foreign.Object.Gen/index.js +13 -0
- package/output-es/Foreign.Object.ST/foreign.js +37 -0
- package/output-es/Foreign.Object.ST/index.js +9 -0
- package/output-es/Foreign.Object.ST.Unsafe/foreign.js +5 -0
- package/output-es/Foreign.Object.ST.Unsafe/index.js +3 -0
- package/output-es/Foreign.Object.Unsafe/foreign.js +5 -0
- package/output-es/Foreign.Object.Unsafe/index.js +3 -0
- package/output-es/GaloisConnection/index.js +72 -0
- package/output-es/Graph/index.js +279 -0
- package/output-es/Graph.GraphImpl/index.js +296 -0
- package/output-es/Graph.Slice/index.js +125 -0
- package/output-es/Graph.WithGraph/index.js +190 -0
- package/output-es/JSURI/foreign.js +61 -0
- package/output-es/JSURI/index.js +10 -0
- package/output-es/Lattice/index.js +397 -0
- package/output-es/Link/index.js +84 -0
- package/output-es/Module/index.js +317 -0
- package/output-es/Module.Node/index.js +95 -0
- package/output-es/Module.Web/index.js +79 -0
- package/output-es/ModuleGraph/index.js +1 -0
- package/output-es/Node.Buffer/foreign.js +33 -0
- package/output-es/Node.Buffer/index.js +191 -0
- package/output-es/Node.Buffer.Class/index.js +48 -0
- package/output-es/Node.Buffer.Constants/foreign.js +5 -0
- package/output-es/Node.Buffer.Constants/index.js +3 -0
- package/output-es/Node.Buffer.Immutable/foreign.js +45 -0
- package/output-es/Node.Buffer.Immutable/index.js +121 -0
- package/output-es/Node.Buffer.ST/index.js +98 -0
- package/output-es/Node.Buffer.Types/index.js +36 -0
- package/output-es/Node.Encoding/foreign.js +3 -0
- package/output-es/Node.Encoding/index.js +55 -0
- package/output-es/Node.EventEmitter/foreign.js +24 -0
- package/output-es/Node.EventEmitter/index.js +142 -0
- package/output-es/Node.EventEmitter.UtilTypes/index.js +1 -0
- package/output-es/Node.FS/index.js +27 -0
- package/output-es/Node.FS.Aff/index.js +132 -0
- package/output-es/Node.FS.Async/foreign.js +28 -0
- package/output-es/Node.FS.Async/index.js +241 -0
- package/output-es/Node.FS.Constants/foreign.js +17 -0
- package/output-es/Node.FS.Constants/index.js +103 -0
- package/output-es/Node.FS.Perms/index.js +125 -0
- package/output-es/Node.FS.Stats/foreign.js +27 -0
- package/output-es/Node.FS.Stats/index.js +102 -0
- package/output-es/Node.FS.Stream/foreign.js +11 -0
- package/output-es/Node.FS.Stream/index.js +20 -0
- package/output-es/Node.FS.Sync/foreign.js +30 -0
- package/output-es/Node.FS.Sync/index.js +258 -0
- package/output-es/Node.Path/foreign.js +30 -0
- package/output-es/Node.Path/index.js +3 -0
- package/output-es/Node.Platform/index.js +104 -0
- package/output-es/Node.Process/foreign.js +65 -0
- package/output-es/Node.Process/index.js +180 -0
- package/output-es/Node.Stream/foreign.js +97 -0
- package/output-es/Node.Stream/index.js +310 -0
- package/output-es/Node.Stream.Aff/index.js +445 -0
- package/output-es/Node.Symbol/foreign.js +3 -0
- package/output-es/Node.Symbol/index.js +12 -0
- package/output-es/Options.Applicative/index.js +1 -0
- package/output-es/Options.Applicative.BashCompletion/index.js +417 -0
- package/output-es/Options.Applicative.Builder/index.js +505 -0
- package/output-es/Options.Applicative.Builder.Completer/foreign.js +8 -0
- package/output-es/Options.Applicative.Builder.Completer/index.js +133 -0
- package/output-es/Options.Applicative.Builder.Internal/index.js +122 -0
- package/output-es/Options.Applicative.Common/index.js +497 -0
- package/output-es/Options.Applicative.Extra/index.js +273 -0
- package/output-es/Options.Applicative.Help/index.js +3 -0
- package/output-es/Options.Applicative.Help.Chunk/index.js +229 -0
- package/output-es/Options.Applicative.Help.Core/index.js +450 -0
- package/output-es/Options.Applicative.Help.Levenshtein/index.js +22 -0
- package/output-es/Options.Applicative.Help.Pretty/index.js +1 -0
- package/output-es/Options.Applicative.Help.Types/index.js +112 -0
- package/output-es/Options.Applicative.Internal/index.js +447 -0
- package/output-es/Options.Applicative.Internal.Utils/index.js +36 -0
- package/output-es/Options.Applicative.Types/index.js +979 -0
- package/output-es/PSCI.Support/index.js +15 -0
- package/output-es/Parse/index.js +2003 -0
- package/output-es/Parse.Number/index.js +390 -0
- package/output-es/Parse.Parser/index.js +428 -0
- package/output-es/Parsing/index.js +342 -0
- package/output-es/Parsing.Combinators/index.js +901 -0
- package/output-es/Parsing.Combinators.Array/index.js +131 -0
- package/output-es/Parsing.Expr/index.js +317 -0
- package/output-es/Parsing.Indent/index.js +492 -0
- package/output-es/Parsing.Language/index.js +224 -0
- package/output-es/Parsing.String/index.js +378 -0
- package/output-es/Parsing.String.Basic/index.js +236 -0
- package/output-es/Parsing.String.Replace/index.js +342 -0
- package/output-es/Parsing.Token/index.js +1980 -0
- package/output-es/Partial/foreign.js +5 -0
- package/output-es/Partial/index.js +6 -0
- package/output-es/Partial.Unsafe/foreign.js +5 -0
- package/output-es/Partial.Unsafe/index.js +8 -0
- package/output-es/Prelude/index.js +13 -0
- package/output-es/Pretty/index.js +1334 -0
- package/output-es/Pretty.Doc/index.js +139 -0
- package/output-es/Pretty.Util/index.js +90 -0
- package/output-es/Primitive/index.js +304 -0
- package/output-es/Primitive.Defs/index.js +872 -0
- package/output-es/Primitive.Parse/index.js +93 -0
- package/output-es/Random.LCG/index.js +35 -0
- package/output-es/Record/index.js +23 -0
- package/output-es/Record.Builder/foreign.js +44 -0
- package/output-es/Record.Builder/index.js +20 -0
- package/output-es/Record.Unsafe/foreign.js +38 -0
- package/output-es/Record.Unsafe/index.js +9 -0
- package/output-es/Record.Unsafe.Union/foreign.js +14 -0
- package/output-es/Record.Unsafe.Union/index.js +4 -0
- package/output-es/SExpr/index.js +3972 -0
- package/output-es/Safe.Coerce/index.js +3 -0
- package/output-es/Test.Assert/foreign.js +21 -0
- package/output-es/Test.Assert/index.js +37 -0
- package/output-es/Test.Benchmark.Util/foreign.js +3 -0
- package/output-es/Test.Benchmark.Util/index.js +273 -0
- package/output-es/Test.QuickCheck/index.js +297 -0
- package/output-es/Test.QuickCheck.Arbitrary/index.js +482 -0
- package/output-es/Test.QuickCheck.Gen/foreign.js +10 -0
- package/output-es/Test.QuickCheck.Gen/index.js +270 -0
- package/output-es/Test.Specs.Bwd/index.js +220 -0
- package/output-es/Test.Specs.Comments/index.js +25 -0
- package/output-es/Test.Specs.Desugar/index.js +17 -0
- package/output-es/Test.Specs.Graphics/index.js +7 -0
- package/output-es/Test.Specs.LinkedInputs/index.js +52 -0
- package/output-es/Test.Specs.LinkedOutputs/index.js +61 -0
- package/output-es/Test.Specs.Misc/index.js +35 -0
- package/output-es/Test.Specs.Paragraph/index.js +5 -0
- package/output-es/Test.Test/index.js +106 -0
- package/output-es/Test.Util/index.js +239 -0
- package/output-es/Test.Util.Debug/index.js +6 -0
- package/output-es/Test.Util.Debug.Defaults/index.js +16 -0
- package/output-es/Test.Util.Mocha/foreign.js +55 -0
- package/output-es/Test.Util.Mocha/index.js +21 -0
- package/output-es/Test.Util.Puppeteer/index.js +83 -0
- package/output-es/Test.Util.Suite/index.js +197 -0
- package/output-es/Text.PrettyPrint.Leijen/index.js +700 -0
- package/output-es/Toppokki/foreign.js +170 -0
- package/output-es/Toppokki/index.js +122 -0
- package/output-es/Type.Data.Boolean/index.js +21 -0
- package/output-es/Type.Data.Ordering/index.js +56 -0
- package/output-es/Type.Data.Symbol/index.js +7 -0
- package/output-es/Type.Equality/index.js +5 -0
- package/output-es/Type.Function/index.js +1 -0
- package/output-es/Type.Prelude/index.js +1 -0
- package/output-es/Type.Proxy/index.js +51 -0
- package/output-es/Type.Row/index.js +1 -0
- package/output-es/Type.Row.Homogeneous/index.js +4 -0
- package/output-es/Type.RowList/index.js +10 -0
- package/output-es/Unsafe.Coerce/foreign.js +5 -0
- package/output-es/Unsafe.Coerce/index.js +3 -0
- package/output-es/Util/index.js +340 -0
- package/output-es/Util.Map/foreign.js +13 -0
- package/output-es/Util.Map/index.js +129 -0
- package/output-es/Util.Pair/index.js +90 -0
- package/output-es/Util.Set/index.js +75 -0
- package/output-es/Val/index.js +1771 -0
- package/output-es/Web.DOM/index.js +1 -0
- package/output-es/Web.DOM.CharacterData/foreign.js +61 -0
- package/output-es/Web.DOM.CharacterData/index.js +13 -0
- package/output-es/Web.DOM.ChildNode/foreign.js +5 -0
- package/output-es/Web.DOM.ChildNode/index.js +3 -0
- package/output-es/Web.DOM.Comment/index.js +13 -0
- package/output-es/Web.DOM.DOMTokenList/foreign.js +49 -0
- package/output-es/Web.DOM.DOMTokenList/index.js +15 -0
- package/output-es/Web.DOM.Document/foreign.js +112 -0
- package/output-es/Web.DOM.Document/index.js +75 -0
- package/output-es/Web.DOM.DocumentFragment/index.js +13 -0
- package/output-es/Web.DOM.DocumentType/foreign.js +9 -0
- package/output-es/Web.DOM.DocumentType/index.js +11 -0
- package/output-es/Web.DOM.Element/foreign.js +210 -0
- package/output-es/Web.DOM.Element/index.js +101 -0
- package/output-es/Web.DOM.HTMLCollection/foreign.js +27 -0
- package/output-es/Web.DOM.HTMLCollection/index.js +25 -0
- package/output-es/Web.DOM.Internal.Types/index.js +1 -0
- package/output-es/Web.DOM.MutationObserver/foreign.js +29 -0
- package/output-es/Web.DOM.MutationObserver/index.js +4 -0
- package/output-es/Web.DOM.MutationRecord/foreign.js +53 -0
- package/output-es/Web.DOM.MutationRecord/index.js +66 -0
- package/output-es/Web.DOM.Node/foreign.js +153 -0
- package/output-es/Web.DOM.Node/index.js +147 -0
- package/output-es/Web.DOM.NodeList/foreign.js +19 -0
- package/output-es/Web.DOM.NodeList/index.js +15 -0
- package/output-es/Web.DOM.NodeType/index.js +199 -0
- package/output-es/Web.DOM.NonDocumentTypeChildNode/foreign.js +11 -0
- package/output-es/Web.DOM.NonDocumentTypeChildNode/index.js +19 -0
- package/output-es/Web.DOM.NonElementParentNode/foreign.js +7 -0
- package/output-es/Web.DOM.NonElementParentNode/index.js +15 -0
- package/output-es/Web.DOM.ParentNode/foreign.js +28 -0
- package/output-es/Web.DOM.ParentNode/index.js +35 -0
- package/output-es/Web.DOM.ProcessingInstruction/foreign.js +5 -0
- package/output-es/Web.DOM.ProcessingInstruction/index.js +15 -0
- package/output-es/Web.DOM.ShadowRoot/foreign.js +9 -0
- package/output-es/Web.DOM.ShadowRoot/index.js +23 -0
- package/output-es/Web.DOM.Text/foreign.js +13 -0
- package/output-es/Web.DOM.Text/index.js +15 -0
- package/output-es/Web.Event.CustomEvent/foreign.js +18 -0
- package/output-es/Web.Event.CustomEvent/index.js +20 -0
- package/output-es/Web.Event.Event/foreign.js +51 -0
- package/output-es/Web.Event.Event/index.js +23 -0
- package/output-es/Web.Event.EventPhase/index.js +99 -0
- package/output-es/Web.Event.EventTarget/foreign.js +51 -0
- package/output-es/Web.Event.EventTarget/index.js +3 -0
- package/output-es/Web.Event.Internal.Types/index.js +1 -0
- package/output-es/Web.File.Blob/foreign.js +19 -0
- package/output-es/Web.File.Blob/index.js +18 -0
- package/output-es/Web.File.File/foreign.js +2 -0
- package/output-es/Web.File.File/index.js +13 -0
- package/output-es/Web.File.FileList/foreign.js +7 -0
- package/output-es/Web.File.FileList/index.js +16 -0
- package/output-es/Web.File.FileReader/foreign.js +51 -0
- package/output-es/Web.File.FileReader/index.js +19 -0
- package/output-es/Web.File.FileReader.ReadyState/index.js +94 -0
- package/output-es/Web.File.Url/foreign.js +11 -0
- package/output-es/Web.File.Url/index.js +3 -0
- package/output-es/Web.HTML/foreign.js +4 -0
- package/output-es/Web.HTML/index.js +3 -0
- package/output-es/Web.HTML.Common/index.js +15 -0
- package/output-es/Web.HTML.Event.BeforeUnloadEvent/foreign.js +13 -0
- package/output-es/Web.HTML.Event.BeforeUnloadEvent/index.js +7 -0
- package/output-es/Web.HTML.Event.BeforeUnloadEvent.EventTypes/index.js +2 -0
- package/output-es/Web.HTML.Event.DataTransfer/foreign.js +55 -0
- package/output-es/Web.HTML.Event.DataTransfer/index.js +63 -0
- package/output-es/Web.HTML.Event.DataTransfer.DataTransferItem/foreign.js +23 -0
- package/output-es/Web.HTML.Event.DataTransfer.DataTransferItem/index.js +41 -0
- package/output-es/Web.HTML.Event.DragEvent/foreign.js +3 -0
- package/output-es/Web.HTML.Event.DragEvent/index.js +7 -0
- package/output-es/Web.HTML.Event.DragEvent.EventTypes/index.js +9 -0
- package/output-es/Web.HTML.Event.ErrorEvent/foreign.js +15 -0
- package/output-es/Web.HTML.Event.ErrorEvent/index.js +7 -0
- package/output-es/Web.HTML.Event.EventTypes/index.js +68 -0
- package/output-es/Web.HTML.Event.HashChangeEvent/foreign.js +7 -0
- package/output-es/Web.HTML.Event.HashChangeEvent/index.js +7 -0
- package/output-es/Web.HTML.Event.HashChangeEvent.EventTypes/index.js +2 -0
- package/output-es/Web.HTML.Event.PageTransitionEvent/foreign.js +3 -0
- package/output-es/Web.HTML.Event.PageTransitionEvent/index.js +7 -0
- package/output-es/Web.HTML.Event.PageTransitionEvent.EventTypes/index.js +3 -0
- package/output-es/Web.HTML.Event.PopStateEvent/foreign.js +3 -0
- package/output-es/Web.HTML.Event.PopStateEvent/index.js +7 -0
- package/output-es/Web.HTML.Event.PopStateEvent.EventTypes/index.js +2 -0
- package/output-es/Web.HTML.Event.TrackEvent/index.js +5 -0
- package/output-es/Web.HTML.Event.TrackEvent.EventTypes/index.js +3 -0
- package/output-es/Web.HTML.HTMLAnchorElement/foreign.js +117 -0
- package/output-es/Web.HTML.HTMLAnchorElement/index.js +36 -0
- package/output-es/Web.HTML.HTMLAreaElement/foreign.js +133 -0
- package/output-es/Web.HTML.HTMLAreaElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLAudioElement/foreign.js +9 -0
- package/output-es/Web.HTML.HTMLAudioElement/index.js +40 -0
- package/output-es/Web.HTML.HTMLBRElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLBaseElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLBaseElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLBodyElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLButtonElement/foreign.js +223 -0
- package/output-es/Web.HTML.HTMLButtonElement/index.js +73 -0
- package/output-es/Web.HTML.HTMLCanvasElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLCanvasElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLDListElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLDataElement/foreign.js +13 -0
- package/output-es/Web.HTML.HTMLDataElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLDataListElement/foreign.js +5 -0
- package/output-es/Web.HTML.HTMLDataListElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLDivElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLDocument/foreign.js +39 -0
- package/output-es/Web.HTML.HTMLDocument/index.js +76 -0
- package/output-es/Web.HTML.HTMLDocument.ReadyState/index.js +52 -0
- package/output-es/Web.HTML.HTMLDocument.VisibilityState/index.js +42 -0
- package/output-es/Web.HTML.HTMLElement/foreign.js +194 -0
- package/output-es/Web.HTML.HTMLElement/index.js +66 -0
- package/output-es/Web.HTML.HTMLEmbedElement/foreign.js +61 -0
- package/output-es/Web.HTML.HTMLEmbedElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLFieldSetElement/foreign.js +103 -0
- package/output-es/Web.HTML.HTMLFieldSetElement/index.js +44 -0
- package/output-es/Web.HTML.HTMLFormElement/foreign.js +181 -0
- package/output-es/Web.HTML.HTMLFormElement/index.js +58 -0
- package/output-es/Web.HTML.HTMLHRElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLHeadElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLHeadingElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLHtmlElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLHyperlinkElementUtils/foreign.js +165 -0
- package/output-es/Web.HTML.HTMLHyperlinkElementUtils/index.js +26 -0
- package/output-es/Web.HTML.HTMLIFrameElement/foreign.js +91 -0
- package/output-es/Web.HTML.HTMLIFrameElement/index.js +52 -0
- package/output-es/Web.HTML.HTMLImageElement/foreign.js +215 -0
- package/output-es/Web.HTML.HTMLImageElement/index.js +140 -0
- package/output-es/Web.HTML.HTMLImageElement.CORSMode/index.js +43 -0
- package/output-es/Web.HTML.HTMLImageElement.DecodingHint/index.js +53 -0
- package/output-es/Web.HTML.HTMLImageElement.Laziness/index.js +43 -0
- package/output-es/Web.HTML.HTMLInputElement/foreign.js +727 -0
- package/output-es/Web.HTML.HTMLInputElement/index.js +171 -0
- package/output-es/Web.HTML.HTMLKeygenElement/foreign.js +151 -0
- package/output-es/Web.HTML.HTMLKeygenElement/index.js +64 -0
- package/output-es/Web.HTML.HTMLLIElement/foreign.js +13 -0
- package/output-es/Web.HTML.HTMLLIElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLLabelElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLLabelElement/index.js +52 -0
- package/output-es/Web.HTML.HTMLLegendElement/foreign.js +5 -0
- package/output-es/Web.HTML.HTMLLegendElement/index.js +44 -0
- package/output-es/Web.HTML.HTMLLinkElement/foreign.js +133 -0
- package/output-es/Web.HTML.HTMLLinkElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLMapElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLMapElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLMediaElement/foreign.js +295 -0
- package/output-es/Web.HTML.HTMLMediaElement/index.js +103 -0
- package/output-es/Web.HTML.HTMLMediaElement.CanPlayType/index.js +52 -0
- package/output-es/Web.HTML.HTMLMediaElement.NetworkState/index.js +109 -0
- package/output-es/Web.HTML.HTMLMediaElement.ReadyState/index.js +124 -0
- package/output-es/Web.HTML.HTMLMetaElement/foreign.js +45 -0
- package/output-es/Web.HTML.HTMLMetaElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLMeterElement/foreign.js +101 -0
- package/output-es/Web.HTML.HTMLMeterElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLModElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLModElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLOListElement/foreign.js +45 -0
- package/output-es/Web.HTML.HTMLOListElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLObjectElement/foreign.js +167 -0
- package/output-es/Web.HTML.HTMLObjectElement/index.js +74 -0
- package/output-es/Web.HTML.HTMLOptGroupElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLOptGroupElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLOptionElement/foreign.js +109 -0
- package/output-es/Web.HTML.HTMLOptionElement/index.js +44 -0
- package/output-es/Web.HTML.HTMLOutputElement/foreign.js +119 -0
- package/output-es/Web.HTML.HTMLOutputElement/index.js +60 -0
- package/output-es/Web.HTML.HTMLParagraphElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLParamElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLParamElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLPreElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLProgressElement/foreign.js +45 -0
- package/output-es/Web.HTML.HTMLProgressElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLQuoteElement/foreign.js +13 -0
- package/output-es/Web.HTML.HTMLQuoteElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLScriptElement/foreign.js +109 -0
- package/output-es/Web.HTML.HTMLScriptElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLSelectElement/foreign.js +223 -0
- package/output-es/Web.HTML.HTMLSelectElement/index.js +73 -0
- package/output-es/Web.HTML.HTMLSourceElement/foreign.js +45 -0
- package/output-es/Web.HTML.HTMLSourceElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLSpanElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLStyleElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLStyleElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLTableCaptionElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLTableCellElement/foreign.js +37 -0
- package/output-es/Web.HTML.HTMLTableCellElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLTableColElement/foreign.js +13 -0
- package/output-es/Web.HTML.HTMLTableColElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLTableDataCellElement/index.js +36 -0
- package/output-es/Web.HTML.HTMLTableElement/foreign.js +153 -0
- package/output-es/Web.HTML.HTMLTableElement/index.js +103 -0
- package/output-es/Web.HTML.HTMLTableHeaderCellElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLTableHeaderCellElement/index.js +38 -0
- package/output-es/Web.HTML.HTMLTableRowElement/foreign.js +41 -0
- package/output-es/Web.HTML.HTMLTableRowElement/index.js +38 -0
- package/output-es/Web.HTML.HTMLTableSectionElement/foreign.js +25 -0
- package/output-es/Web.HTML.HTMLTableSectionElement/index.js +38 -0
- package/output-es/Web.HTML.HTMLTemplateElement/foreign.js +5 -0
- package/output-es/Web.HTML.HTMLTemplateElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLTextAreaElement/foreign.js +403 -0
- package/output-es/Web.HTML.HTMLTextAreaElement/index.js +107 -0
- package/output-es/Web.HTML.HTMLTimeElement/foreign.js +13 -0
- package/output-es/Web.HTML.HTMLTimeElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLTitleElement/foreign.js +13 -0
- package/output-es/Web.HTML.HTMLTitleElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLTrackElement/foreign.js +84 -0
- package/output-es/Web.HTML.HTMLTrackElement/index.js +44 -0
- package/output-es/Web.HTML.HTMLTrackElement.ReadyState/index.js +109 -0
- package/output-es/Web.HTML.HTMLUListElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLVideoElement/foreign.js +63 -0
- package/output-es/Web.HTML.HTMLVideoElement/index.js +38 -0
- package/output-es/Web.HTML.History/foreign.js +49 -0
- package/output-es/Web.HTML.History/index.js +16 -0
- package/output-es/Web.HTML.Location/foreign.js +169 -0
- package/output-es/Web.HTML.Location/index.js +25 -0
- package/output-es/Web.HTML.Navigator/foreign.js +29 -0
- package/output-es/Web.HTML.Navigator/index.js +3 -0
- package/output-es/Web.HTML.SelectionMode/index.js +62 -0
- package/output-es/Web.HTML.ValidityState/foreign.js +3 -0
- package/output-es/Web.HTML.ValidityState/index.js +15 -0
- package/output-es/Web.HTML.Window/foreign.js +239 -0
- package/output-es/Web.HTML.Window/index.js +86 -0
- package/output-es/Web.Internal.FFI/foreign.js +20 -0
- package/output-es/Web.Internal.FFI/index.js +5 -0
- package/output-es/Web.Storage.Event.StorageEvent/foreign.js +19 -0
- package/output-es/Web.Storage.Event.StorageEvent/index.js +13 -0
- package/output-es/Web.Storage.Storage/foreign.js +45 -0
- package/output-es/Web.Storage.Storage/index.js +52 -0
- package/output-es/Web.XHR.EventTypes/index.js +8 -0
- package/output-es/Web.XHR.FormData/foreign.js +32 -0
- package/output-es/Web.XHR.FormData/index.js +52 -0
- package/output-es/Web.XHR.ProgressEvent/foreign.js +11 -0
- package/output-es/Web.XHR.ProgressEvent/index.js +7 -0
- package/output-es/Web.XHR.ReadyState/index.js +99 -0
- package/output-es/Web.XHR.ResponseType/index.js +5 -0
- package/output-es/Web.XHR.XMLHttpRequest/foreign.js +41 -0
- package/output-es/Web.XHR.XMLHttpRequest/index.js +95 -0
- package/output-es/Web.XHR.XMLHttpRequestUpload/index.js +3 -0
- package/output-es/Website.Test.Article.EnergyScatter/index.js +12 -0
- package/output-es/Website.Test.Article.RenewablesLinked/index.js +14 -0
- package/output-es/package.json +1 -0
- package/output-es/runtime.js +33 -0
- package/package.json +3 -2
- package/script/install-website.sh +8 -1
|
@@ -0,0 +1,153 @@
|
|
|
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$dStackedBar from "../App.View.StackedBar/index.js";
|
|
6
|
+
import * as App$dView$dUtil$dAxes from "../App.View.Util.Axes/index.js";
|
|
7
|
+
import * as App$dView$dUtil$dD3 from "../App.View.Util.D3/index.js";
|
|
8
|
+
import * as Data$dArray from "../Data.Array/index.js";
|
|
9
|
+
import * as Data$dArray$dNonEmpty$dInternal from "../Data.Array.NonEmpty.Internal/index.js";
|
|
10
|
+
import * as Data$dFoldable from "../Data.Foldable/index.js";
|
|
11
|
+
import * as Data$dFoldableWithIndex from "../Data.FoldableWithIndex/index.js";
|
|
12
|
+
import * as Data$dFunctor from "../Data.Functor/index.js";
|
|
13
|
+
import * as Data$dInt from "../Data.Int/index.js";
|
|
14
|
+
import * as Data$dNumber from "../Data.Number/index.js";
|
|
15
|
+
import * as Data$dOrd from "../Data.Ord/index.js";
|
|
16
|
+
import * as Data$dSemigroup$dFoldable from "../Data.Semigroup.Foldable/index.js";
|
|
17
|
+
import * as Data$dShow from "../Data.Show/index.js";
|
|
18
|
+
import * as Data$dTuple from "../Data.Tuple/index.js";
|
|
19
|
+
import * as Effect from "../Effect/index.js";
|
|
20
|
+
import * as Util from "../Util/index.js";
|
|
21
|
+
const maximum = /* #__PURE__ */ Data$dSemigroup$dFoldable.maximum(Data$dOrd.ordNumber)(Data$dArray$dNonEmpty$dInternal.foldable1NonEmptyArray);
|
|
22
|
+
const forWithIndex_ = /* #__PURE__ */ Data$dFoldableWithIndex.forWithIndex_(Effect.applicativeEffect);
|
|
23
|
+
const forWithIndex_1 = /* #__PURE__ */ forWithIndex_(Data$dFoldableWithIndex.foldableWithIndexArray);
|
|
24
|
+
const maximum1 = /* #__PURE__ */ Data$dSemigroup$dFoldable.maximum(Data$dOrd.ordInt)(Data$dArray$dNonEmpty$dInternal.foldable1NonEmptyArray);
|
|
25
|
+
const length = /* #__PURE__ */ Data$dFoldable.foldlArray(c => v => 1 + c | 0)(0);
|
|
26
|
+
const max = x => y => {
|
|
27
|
+
const v = Data$dOrd.ordInt.compare(x)(y);
|
|
28
|
+
if (v === "LT") { return y; }
|
|
29
|
+
if (v === "EQ") { return x; }
|
|
30
|
+
if (v === "GT") { return x; }
|
|
31
|
+
$runtime.fail();
|
|
32
|
+
};
|
|
33
|
+
const forWithIndex_2 = /* #__PURE__ */ forWithIndex_(Data$dFoldableWithIndex.foldableWithIndexArray);
|
|
34
|
+
const BarChart = x => x;
|
|
35
|
+
const strokeWidth = 2;
|
|
36
|
+
const barChartProps = v => {
|
|
37
|
+
const margin = {top: 3, right: 20, bottom: 30, left: 20};
|
|
38
|
+
const caption_height = App$dView$dUtil$dD3.textDimensions("title-text")(v.caption._1).height * 2 | 0;
|
|
39
|
+
const interior = {width: (v.size.width._1 - margin.left | 0) - margin.right | 0, height: ((v.size.height._1 - margin.top | 0) - margin.bottom | 0) - caption_height | 0};
|
|
40
|
+
const scales = {
|
|
41
|
+
x: App$dView$dUtil$dD3.scaleBand(interior.width)(Data$dFunctor.arrayMap(v3 => v3.x._1)(v.stackedBars)),
|
|
42
|
+
y: App$dView$dUtil$dD3.scaleLinear({min: 0.0, max: Data$dNumber.ceil(10.0 * (maximum(Data$dFunctor.arrayMap(App$dView$dStackedBar.barHeight)(v.stackedBars)) / 10.0))})({
|
|
43
|
+
min: Data$dInt.toNumber(interior.height),
|
|
44
|
+
max: 0.0
|
|
45
|
+
})
|
|
46
|
+
};
|
|
47
|
+
return {
|
|
48
|
+
width: v.size.width._1,
|
|
49
|
+
height: v.size.height._1,
|
|
50
|
+
xs: Data$dFunctor.arrayMap(v1 => v1.x._1)(v.stackedBars),
|
|
51
|
+
ys: Data$dFunctor.arrayMap(v1 => v1.y._1)((() => {
|
|
52
|
+
if (0 < v.stackedBars.length) { return v.stackedBars[0].segments; }
|
|
53
|
+
$runtime.fail();
|
|
54
|
+
})()),
|
|
55
|
+
margin,
|
|
56
|
+
interior,
|
|
57
|
+
scales,
|
|
58
|
+
caption_height,
|
|
59
|
+
caption_class: "title-text",
|
|
60
|
+
stackedBarContext: {interior, scales, strokeWidth: 2}
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
const viewableBarChartUnit = {
|
|
64
|
+
isLeaf: v => false,
|
|
65
|
+
setSelection: v => v1 => select => barChart$p => {
|
|
66
|
+
const $0 = v1.stackedBars;
|
|
67
|
+
const props = barChartProps(v1);
|
|
68
|
+
const $1 = App$dView$dUtil$dD3.selectAll(".stack")(barChart$p);
|
|
69
|
+
return () => {
|
|
70
|
+
const stackedBars$p = $1();
|
|
71
|
+
return forWithIndex_1(stackedBars$p)(i => stack => App$dView$dStackedBar.viewableStackedBarStacked.setSelection(props.stackedBarContext)(Util.unsafeArrayNonEmptyArray.unsafeIndex($0)(i))(x => select(App$dUtil$dSelector.constrArg("BarChart")(0)(App$dUtil$dSelector.dictVal("stackedBars")(App$dUtil$dSelector.listElement(i)(x)))))(stack))();
|
|
72
|
+
};
|
|
73
|
+
},
|
|
74
|
+
createElement: v => v1 => parent => {
|
|
75
|
+
const $0 = v1.caption;
|
|
76
|
+
const $1 = v1.legend;
|
|
77
|
+
const $2 = v1.stackedBars;
|
|
78
|
+
const $3 = v1.tickLabels;
|
|
79
|
+
const props = barChartProps(v1);
|
|
80
|
+
const $4 = App$dView$dUtil$dD3.createChild(parent)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.SVG))(App$dView$dUtil$dD3.fromFoldable([
|
|
81
|
+
Data$dTuple.$Tuple("width", Data$dShow.showIntImpl(props.width)),
|
|
82
|
+
Data$dTuple.$Tuple("height", Data$dShow.showIntImpl(props.height))
|
|
83
|
+
]));
|
|
84
|
+
return () => {
|
|
85
|
+
const svg = $4();
|
|
86
|
+
const g = App$dView$dUtil$dD3.createChild(svg)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.G))(App$dView$dUtil$dD3.fromFoldable([
|
|
87
|
+
App$dView$dUtil$dD3.translate({x: props.margin.left, y: props.margin.top})
|
|
88
|
+
]))();
|
|
89
|
+
App$dView$dUtil$dAxes.create_xAxis(g)(props.scales)(props.xs)(props.interior.height)($3.x._1)();
|
|
90
|
+
App$dView$dUtil$dAxes.create_yAxis(g)(props.scales)(3.0)(0)($3.y._1)();
|
|
91
|
+
for (const stackedBar of $2) {
|
|
92
|
+
App$dView$dStackedBar.viewableStackedBarStacked.createElement(props.stackedBarContext)(stackedBar)(g)();
|
|
93
|
+
}
|
|
94
|
+
for (const y_index of Data$dArray.rangeImpl(0, length(props.ys) - 1 | 0)) {
|
|
95
|
+
App$dView$dUtil$dD3.addHatchPattern(g)(y_index)(App$dView$dSegment.indexCol(y_index))();
|
|
96
|
+
}
|
|
97
|
+
const $5 = App$dView$dUtil$dD3.createChild(svg)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.Text))(App$dView$dUtil$dD3.fromFoldable([
|
|
98
|
+
Data$dTuple.$Tuple("x", Data$dShow.showIntImpl($runtime.intDiv(props.width, 2))),
|
|
99
|
+
Data$dTuple.$Tuple("y", Data$dShow.showIntImpl(props.height - $runtime.intDiv(props.caption_height, 2) | 0)),
|
|
100
|
+
App$dUtil.classes([props.caption_class]),
|
|
101
|
+
Data$dTuple.$Tuple("dominant-baseline", "central"),
|
|
102
|
+
Data$dTuple.$Tuple("text-anchor", "middle")
|
|
103
|
+
]))();
|
|
104
|
+
App$dView$dUtil$dD3.setText($0._1)($5)();
|
|
105
|
+
const height = 15 * length(props.ys) | 0;
|
|
106
|
+
const width = (
|
|
107
|
+
15 + maximum1(Data$dFunctor.arrayMap((() => {
|
|
108
|
+
const $6 = App$dView$dUtil$dD3.textDimensions("legend-text");
|
|
109
|
+
return x => $6(x).width;
|
|
110
|
+
})())(props.ys)) | 0
|
|
111
|
+
) + 4 | 0;
|
|
112
|
+
const $6 = (() => {
|
|
113
|
+
const $6 = App$dView$dUtil$dD3.createChild(g)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.G))(App$dView$dUtil$dD3.fromFoldable([
|
|
114
|
+
App$dView$dUtil$dD3.translate({x: props.interior.width + 0 | 0, y: max(0)($runtime.intDiv(props.interior.height - height | 0, 2))})
|
|
115
|
+
]));
|
|
116
|
+
return () => {
|
|
117
|
+
const legend$p = $6();
|
|
118
|
+
App$dView$dUtil$dD3.createChild(legend$p)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.Rect))(App$dView$dUtil$dD3.fromFoldable([
|
|
119
|
+
App$dUtil.classes(["legend-box"]),
|
|
120
|
+
Data$dTuple.$Tuple("x", "0"),
|
|
121
|
+
Data$dTuple.$Tuple("y", "0"),
|
|
122
|
+
Data$dTuple.$Tuple("height", Data$dShow.showIntImpl(height)),
|
|
123
|
+
Data$dTuple.$Tuple("width", Data$dShow.showIntImpl(width))
|
|
124
|
+
]))();
|
|
125
|
+
return forWithIndex_2(props.ys)(y_index => y => {
|
|
126
|
+
const $7 = App$dView$dUtil$dD3.createChild(legend$p)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.G))(App$dView$dUtil$dD3.fromFoldable([
|
|
127
|
+
App$dUtil.classes(["legend-entry"]),
|
|
128
|
+
App$dView$dUtil$dD3.translate({x: 0, y: (y_index * 15 | 0) + 2 | 0})
|
|
129
|
+
]));
|
|
130
|
+
return () => {
|
|
131
|
+
const g$1 = $7();
|
|
132
|
+
const $8 = App$dView$dUtil$dD3.createChild(g$1)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.Text))(App$dView$dUtil$dD3.fromFoldable([
|
|
133
|
+
App$dUtil.classes(["legend-text"]),
|
|
134
|
+
App$dView$dUtil$dD3.translate({x: 15, y: 9})
|
|
135
|
+
]))();
|
|
136
|
+
App$dView$dUtil$dD3.setText(y)($8)();
|
|
137
|
+
return App$dView$dUtil$dD3.createChild(g$1)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.Rect))(App$dView$dUtil$dD3.fromFoldable([
|
|
138
|
+
Data$dTuple.$Tuple("fill", App$dView$dSegment.indexCol(y_index)),
|
|
139
|
+
Data$dTuple.$Tuple("width", "4"),
|
|
140
|
+
Data$dTuple.$Tuple("height", "4"),
|
|
141
|
+
Data$dTuple.$Tuple("x", "5"),
|
|
142
|
+
Data$dTuple.$Tuple("y", "3")
|
|
143
|
+
]))();
|
|
144
|
+
};
|
|
145
|
+
})();
|
|
146
|
+
};
|
|
147
|
+
})();
|
|
148
|
+
if ($1._1) { $6(); }
|
|
149
|
+
return g;
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
export {BarChart, barChartProps, forWithIndex_, forWithIndex_1, forWithIndex_2, length, max, maximum, maximum1, strokeWidth, viewableBarChartUnit};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as $runtime from "../runtime.js";
|
|
2
|
+
import * as App$dView$dParagraph from "../App.View.Paragraph/index.js";
|
|
3
|
+
import * as App$dView$dUtil$dD3 from "../App.View.Util.D3/index.js";
|
|
4
|
+
const DocView = x => x;
|
|
5
|
+
const viewableDocViewUnit = {
|
|
6
|
+
isLeaf: v => {
|
|
7
|
+
if (v.doc.tag === "Nothing") { return v.view(dictViewable => dictViewable.isLeaf); }
|
|
8
|
+
if (v.doc.tag === "Just") { return false; }
|
|
9
|
+
$runtime.fail();
|
|
10
|
+
},
|
|
11
|
+
createElement: v => v1 => v2 => {
|
|
12
|
+
if (v1.doc.tag === "Just") {
|
|
13
|
+
const $0 = v1.doc._1;
|
|
14
|
+
const $1 = App$dView$dUtil$dD3.createChild(v2)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.G))(App$dView$dUtil$dD3.fromFoldable([]));
|
|
15
|
+
return () => {
|
|
16
|
+
const rootElement = $1();
|
|
17
|
+
v1.view(dictViewable => v3 => dictViewable.createElement()(v3)(rootElement))();
|
|
18
|
+
App$dView$dParagraph.viewableParagraphUnit.createElement()($0)(rootElement)();
|
|
19
|
+
return rootElement;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
if (v1.doc.tag === "Nothing") { return v1.view(dictViewable => v3 => dictViewable.createElement()(v3)(v2)); }
|
|
23
|
+
$runtime.fail();
|
|
24
|
+
},
|
|
25
|
+
setSelection: v => v1 => v2 => v3 => {
|
|
26
|
+
if (v1.doc.tag === "Just") {
|
|
27
|
+
const $0 = v1.doc._1;
|
|
28
|
+
const $1 = App$dView$dUtil$dD3.select(":scope > :nth-child(1)")(v3);
|
|
29
|
+
return () => {
|
|
30
|
+
const viewElem = $1();
|
|
31
|
+
v1.view(dictViewable => v4 => dictViewable.setSelection()(v4)(v2)(viewElem))();
|
|
32
|
+
const docElem = App$dView$dUtil$dD3.select(":scope > :nth-child(2)")(v3)();
|
|
33
|
+
App$dView$dParagraph.viewableParagraphUnit.setSelection()($0)(v2)(docElem)();
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
if (v1.doc.tag === "Nothing") { return v1.view(dictViewable => v4 => dictViewable.setSelection()(v4)(v2)(v3)); }
|
|
37
|
+
$runtime.fail();
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
export {DocView, viewableDocViewUnit};
|
|
@@ -0,0 +1,437 @@
|
|
|
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$dAxes from "../App.View.Util.Axes/index.js";
|
|
6
|
+
import * as App$dView$dUtil$dD3 from "../App.View.Util.D3/index.js";
|
|
7
|
+
import * as Control$dBind from "../Control.Bind/index.js";
|
|
8
|
+
import * as Data$dArray from "../Data.Array/index.js";
|
|
9
|
+
import * as Data$dArray$dNonEmpty$dInternal from "../Data.Array.NonEmpty.Internal/index.js";
|
|
10
|
+
import * as Data$dFoldable from "../Data.Foldable/index.js";
|
|
11
|
+
import * as Data$dFunctor from "../Data.Functor/index.js";
|
|
12
|
+
import * as Data$dFunctorWithIndex from "../Data.FunctorWithIndex/index.js";
|
|
13
|
+
import * as Data$dInt from "../Data.Int/index.js";
|
|
14
|
+
import * as Data$dMaybe from "../Data.Maybe/index.js";
|
|
15
|
+
import * as Data$dOrd from "../Data.Ord/index.js";
|
|
16
|
+
import * as Data$dSemigroup$dFoldable from "../Data.Semigroup.Foldable/index.js";
|
|
17
|
+
import * as Data$dShow from "../Data.Show/index.js";
|
|
18
|
+
import * as Data$dTuple from "../Data.Tuple/index.js";
|
|
19
|
+
import * as Util from "../Util/index.js";
|
|
20
|
+
import * as Web$dEvent$dEventTarget from "../Web.Event.EventTarget/index.js";
|
|
21
|
+
const identity = x => x;
|
|
22
|
+
const join = v => v1 => {
|
|
23
|
+
if (v1.tag === "Inert") { return v; }
|
|
24
|
+
if (v.tag === "Inert") { return v1; }
|
|
25
|
+
if (v.tag === "Reactive" && v1.tag === "Reactive") {
|
|
26
|
+
return App$dUtil.$SelState(
|
|
27
|
+
"Reactive",
|
|
28
|
+
{
|
|
29
|
+
persistent: (() => {
|
|
30
|
+
if (v._1.persistent === "None") {
|
|
31
|
+
if (v1._1.persistent === "None") { return v._1.persistent; }
|
|
32
|
+
return v1._1.persistent;
|
|
33
|
+
}
|
|
34
|
+
if (v._1.persistent === "Secondary") {
|
|
35
|
+
if (v1._1.persistent === "Secondary") { return v._1.persistent; }
|
|
36
|
+
if (v1._1.persistent === "Primary") { return v1._1.persistent; }
|
|
37
|
+
if (v1._1.persistent === "None") { return v._1.persistent; }
|
|
38
|
+
$runtime.fail();
|
|
39
|
+
}
|
|
40
|
+
if (v._1.persistent === "Primary") { return v._1.persistent; }
|
|
41
|
+
$runtime.fail();
|
|
42
|
+
})(),
|
|
43
|
+
transient: (() => {
|
|
44
|
+
if (v._1.transient === "None") {
|
|
45
|
+
if (v1._1.transient === "None") { return v._1.transient; }
|
|
46
|
+
return v1._1.transient;
|
|
47
|
+
}
|
|
48
|
+
if (v._1.transient === "Secondary") {
|
|
49
|
+
if (v1._1.transient === "Secondary") { return v._1.transient; }
|
|
50
|
+
if (v1._1.transient === "Primary") { return v1._1.transient; }
|
|
51
|
+
if (v1._1.transient === "None") { return v._1.transient; }
|
|
52
|
+
$runtime.fail();
|
|
53
|
+
}
|
|
54
|
+
if (v._1.transient === "Primary") { return v._1.transient; }
|
|
55
|
+
$runtime.fail();
|
|
56
|
+
})()
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
$runtime.fail();
|
|
61
|
+
};
|
|
62
|
+
const meet = v => v1 => {
|
|
63
|
+
if (v1.tag === "Inert") { return App$dUtil.Inert; }
|
|
64
|
+
if (v.tag === "Inert") { return App$dUtil.Inert; }
|
|
65
|
+
if (v.tag === "Reactive" && v1.tag === "Reactive") {
|
|
66
|
+
return App$dUtil.$SelState(
|
|
67
|
+
"Reactive",
|
|
68
|
+
{
|
|
69
|
+
persistent: (() => {
|
|
70
|
+
if (v._1.persistent === "None") { return v._1.persistent; }
|
|
71
|
+
if (v._1.persistent === "Secondary") {
|
|
72
|
+
if (v1._1.persistent === "Secondary") { return v._1.persistent; }
|
|
73
|
+
if (v1._1.persistent === "Primary") { return v._1.persistent; }
|
|
74
|
+
if (v1._1.persistent === "None") { return v1._1.persistent; }
|
|
75
|
+
$runtime.fail();
|
|
76
|
+
}
|
|
77
|
+
if (v._1.persistent === "Primary") {
|
|
78
|
+
if (v1._1.persistent === "Primary") { return v._1.persistent; }
|
|
79
|
+
return v1._1.persistent;
|
|
80
|
+
}
|
|
81
|
+
$runtime.fail();
|
|
82
|
+
})(),
|
|
83
|
+
transient: (() => {
|
|
84
|
+
if (v._1.transient === "None") { return v._1.transient; }
|
|
85
|
+
if (v._1.transient === "Secondary") {
|
|
86
|
+
if (v1._1.transient === "Secondary") { return v._1.transient; }
|
|
87
|
+
if (v1._1.transient === "Primary") { return v._1.transient; }
|
|
88
|
+
if (v1._1.transient === "None") { return v1._1.transient; }
|
|
89
|
+
$runtime.fail();
|
|
90
|
+
}
|
|
91
|
+
if (v._1.transient === "Primary") {
|
|
92
|
+
if (v1._1.transient === "Primary") { return v._1.transient; }
|
|
93
|
+
return v1._1.transient;
|
|
94
|
+
}
|
|
95
|
+
$runtime.fail();
|
|
96
|
+
})()
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
$runtime.fail();
|
|
101
|
+
};
|
|
102
|
+
const minimum = /* #__PURE__ */ Data$dSemigroup$dFoldable.minimum(Data$dOrd.ordNumber)(Data$dArray$dNonEmpty$dInternal.foldable1NonEmptyArray);
|
|
103
|
+
const maximum = /* #__PURE__ */ Data$dSemigroup$dFoldable.maximum(Data$dOrd.ordNumber)(Data$dArray$dNonEmpty$dInternal.foldable1NonEmptyArray);
|
|
104
|
+
const maximum1 = /* #__PURE__ */ Data$dSemigroup$dFoldable.maximum(Data$dOrd.ordInt)(Data$dArray$dNonEmpty$dInternal.foldable1NonEmptyArray);
|
|
105
|
+
const length = /* #__PURE__ */ Data$dFoldable.foldlArray(c => v => 1 + c | 0)(0);
|
|
106
|
+
const max = x => y => {
|
|
107
|
+
const v = Data$dOrd.ordInt.compare(x)(y);
|
|
108
|
+
if (v === "LT") { return y; }
|
|
109
|
+
if (v === "EQ") { return x; }
|
|
110
|
+
if (v === "GT") { return x; }
|
|
111
|
+
$runtime.fail();
|
|
112
|
+
};
|
|
113
|
+
const LinePlot = x => x;
|
|
114
|
+
const LineChart = x => x;
|
|
115
|
+
const newtypeLinePlot_ = {Coercible0: () => {}};
|
|
116
|
+
const point_smallRadius = 2;
|
|
117
|
+
const names = plots => Data$dFunctor.arrayMap(x => x.name._1)(plots);
|
|
118
|
+
const nameCol = /* #__PURE__ */ App$dView$dUtil$dD3.colorScale("schemePastel1");
|
|
119
|
+
const fill = sel => {
|
|
120
|
+
if (
|
|
121
|
+
(() => {
|
|
122
|
+
const $0 = (() => {
|
|
123
|
+
if (sel.tag === "Inert") { return App$dUtil.None; }
|
|
124
|
+
if (sel.tag === "Reactive") { return sel._1.persistent; }
|
|
125
|
+
$runtime.fail();
|
|
126
|
+
})();
|
|
127
|
+
if ($0 === "None") { return false; }
|
|
128
|
+
if ($0 === "Secondary") { return true; }
|
|
129
|
+
if ($0 === "Primary") { return true; }
|
|
130
|
+
$runtime.fail();
|
|
131
|
+
})()
|
|
132
|
+
) {
|
|
133
|
+
return a => App$dUtil.colorShade(a)(-30);
|
|
134
|
+
}
|
|
135
|
+
return identity;
|
|
136
|
+
};
|
|
137
|
+
const viewableLineChartUnit = {
|
|
138
|
+
isLeaf: v => false,
|
|
139
|
+
setSelection: v => v1 => redraw => rootElement => {
|
|
140
|
+
const $0 = v1.plots;
|
|
141
|
+
const $1 = App$dView$dUtil$dD3.selectAll(".linechart-point")(rootElement);
|
|
142
|
+
return () => {
|
|
143
|
+
const points = $1();
|
|
144
|
+
const listener = Web$dEvent$dEventTarget.eventListener(x => redraw((() => {
|
|
145
|
+
const $2 = App$dUtil.selectionEventData$p(x);
|
|
146
|
+
return App$dUtil$dSelector.constrArg("LineChart")(0)(App$dUtil$dSelector.dictVal("plots")(App$dUtil$dSelector.listElement($2._1.i)(App$dUtil$dSelector.linePoint($2._1.j)($2._2))));
|
|
147
|
+
})()))();
|
|
148
|
+
for (const point of points) {
|
|
149
|
+
const point$p = App$dView$dUtil$dD3.datum(point)();
|
|
150
|
+
const v3 = Util.unsafeArrayArray.unsafeIndex($0)(point$p.i);
|
|
151
|
+
const $2 = App$dView$dUtil$dD3.attrs(point)(App$dView$dUtil$dD3.fromFoldable((() => {
|
|
152
|
+
const $2 = Util.unsafeArrayArray.unsafeIndex(v3.points)(point$p.j);
|
|
153
|
+
const sel = join($2.x._2)($2.y._2);
|
|
154
|
+
const fill$p = fill(sel)(nameCol(Util.definitely("absurd")((() => {
|
|
155
|
+
const $3 = v3.name._1;
|
|
156
|
+
return Data$dArray.findIndexImpl(Data$dMaybe.Just, Data$dMaybe.Nothing, v$1 => v$1 === $3, Data$dFunctor.arrayMap(x => x.name._1)($0));
|
|
157
|
+
})())));
|
|
158
|
+
return [
|
|
159
|
+
Data$dTuple.$Tuple(
|
|
160
|
+
"r",
|
|
161
|
+
Data$dShow.showNumberImpl(Data$dInt.toNumber(2) * (() => {
|
|
162
|
+
if (
|
|
163
|
+
(() => {
|
|
164
|
+
if (sel.tag === "Inert") { return false; }
|
|
165
|
+
if (sel.tag === "Reactive") {
|
|
166
|
+
return (() => {
|
|
167
|
+
if (sel._1.persistent === "None") { return false; }
|
|
168
|
+
if (sel._1.persistent === "Secondary") { return false; }
|
|
169
|
+
if (sel._1.persistent === "Primary") { return true; }
|
|
170
|
+
$runtime.fail();
|
|
171
|
+
})() || (() => {
|
|
172
|
+
if (sel._1.transient === "None") { return false; }
|
|
173
|
+
if (sel._1.transient === "Secondary") { return false; }
|
|
174
|
+
if (sel._1.transient === "Primary") { return true; }
|
|
175
|
+
$runtime.fail();
|
|
176
|
+
})();
|
|
177
|
+
}
|
|
178
|
+
$runtime.fail();
|
|
179
|
+
})()
|
|
180
|
+
) {
|
|
181
|
+
return 2.0;
|
|
182
|
+
}
|
|
183
|
+
if (
|
|
184
|
+
(() => {
|
|
185
|
+
if (sel.tag === "Inert") { return false; }
|
|
186
|
+
if (sel.tag === "Reactive") {
|
|
187
|
+
return (() => {
|
|
188
|
+
if (sel._1.persistent === "None") { return false; }
|
|
189
|
+
if (sel._1.persistent === "Secondary") { return true; }
|
|
190
|
+
if (sel._1.persistent === "Primary") { return false; }
|
|
191
|
+
$runtime.fail();
|
|
192
|
+
})() || (() => {
|
|
193
|
+
if (sel._1.transient === "None") { return false; }
|
|
194
|
+
if (sel._1.transient === "Secondary") { return true; }
|
|
195
|
+
if (sel._1.transient === "Primary") { return false; }
|
|
196
|
+
$runtime.fail();
|
|
197
|
+
})();
|
|
198
|
+
}
|
|
199
|
+
$runtime.fail();
|
|
200
|
+
})()
|
|
201
|
+
) {
|
|
202
|
+
return 1.4;
|
|
203
|
+
}
|
|
204
|
+
return 1.0;
|
|
205
|
+
})())
|
|
206
|
+
),
|
|
207
|
+
Data$dTuple.$Tuple(
|
|
208
|
+
"stroke",
|
|
209
|
+
(() => {
|
|
210
|
+
const $3 = (() => {
|
|
211
|
+
if (sel.tag === "Inert") { return App$dUtil.None; }
|
|
212
|
+
if (sel.tag === "Reactive") { return sel._1.transient; }
|
|
213
|
+
$runtime.fail();
|
|
214
|
+
})();
|
|
215
|
+
if ($3 === "None") { return false; }
|
|
216
|
+
if ($3 === "Secondary") { return true; }
|
|
217
|
+
if ($3 === "Primary") { return true; }
|
|
218
|
+
$runtime.fail();
|
|
219
|
+
})()
|
|
220
|
+
? App$dUtil.colorShade(fill$p)(-30)
|
|
221
|
+
: fill$p
|
|
222
|
+
),
|
|
223
|
+
Data$dTuple.$Tuple("fill", fill$p)
|
|
224
|
+
];
|
|
225
|
+
})()))();
|
|
226
|
+
App$dView$dUtil.registerMouseListeners(listener)($2)();
|
|
227
|
+
}
|
|
228
|
+
const segments = App$dView$dUtil$dD3.selectAll(".linechart-segment")(rootElement)();
|
|
229
|
+
for (const segment of segments) {
|
|
230
|
+
const segment$p = App$dView$dUtil$dD3.datum(segment)();
|
|
231
|
+
const v3 = Util.unsafeArrayArray.unsafeIndex($0)(segment$p.i);
|
|
232
|
+
App$dView$dUtil$dD3.attrs(segment)(App$dView$dUtil$dD3.fromFoldable((() => {
|
|
233
|
+
const sel = meet((() => {
|
|
234
|
+
const $2 = Util.unsafeArrayArray.unsafeIndex(v3.points)(segment$p.j1);
|
|
235
|
+
return join($2.x._2)($2.y._2);
|
|
236
|
+
})())((() => {
|
|
237
|
+
const $2 = Util.unsafeArrayArray.unsafeIndex(v3.points)(segment$p.j2);
|
|
238
|
+
return join($2.x._2)($2.y._2);
|
|
239
|
+
})());
|
|
240
|
+
return [
|
|
241
|
+
Data$dTuple.$Tuple(
|
|
242
|
+
"stroke",
|
|
243
|
+
((() => {
|
|
244
|
+
const $2 = (() => {
|
|
245
|
+
if (sel.tag === "Inert") { return App$dUtil.None; }
|
|
246
|
+
if (sel.tag === "Reactive") { return sel._1.transient; }
|
|
247
|
+
$runtime.fail();
|
|
248
|
+
})();
|
|
249
|
+
if ($2 === "None") { return false; }
|
|
250
|
+
if ($2 === "Secondary") { return true; }
|
|
251
|
+
if ($2 === "Primary") { return true; }
|
|
252
|
+
$runtime.fail();
|
|
253
|
+
})()
|
|
254
|
+
? (a => App$dUtil.colorShade(a)(-30))
|
|
255
|
+
: identity)(fill(sel)(nameCol(Util.definitely("absurd")((() => {
|
|
256
|
+
const $2 = v3.name._1;
|
|
257
|
+
return Data$dArray.findIndexImpl(Data$dMaybe.Just, Data$dMaybe.Nothing, v$1 => v$1 === $2, Data$dFunctor.arrayMap(x => x.name._1)($0));
|
|
258
|
+
})()))))
|
|
259
|
+
),
|
|
260
|
+
Data$dTuple.$Tuple(
|
|
261
|
+
"stroke-width",
|
|
262
|
+
Data$dShow.showIntImpl((() => {
|
|
263
|
+
if (
|
|
264
|
+
(() => {
|
|
265
|
+
const $2 = (() => {
|
|
266
|
+
if (sel.tag === "Inert") { return App$dUtil.None; }
|
|
267
|
+
if (sel.tag === "Reactive") { return sel._1.transient; }
|
|
268
|
+
$runtime.fail();
|
|
269
|
+
})();
|
|
270
|
+
if ($2 === "None") { return false; }
|
|
271
|
+
if ($2 === "Secondary") { return true; }
|
|
272
|
+
if ($2 === "Primary") { return true; }
|
|
273
|
+
$runtime.fail();
|
|
274
|
+
})()
|
|
275
|
+
) {
|
|
276
|
+
return 2;
|
|
277
|
+
}
|
|
278
|
+
if (
|
|
279
|
+
(() => {
|
|
280
|
+
const $2 = (() => {
|
|
281
|
+
if (sel.tag === "Inert") { return App$dUtil.None; }
|
|
282
|
+
if (sel.tag === "Reactive") { return sel._1.persistent; }
|
|
283
|
+
$runtime.fail();
|
|
284
|
+
})();
|
|
285
|
+
if ($2 === "None") { return false; }
|
|
286
|
+
if ($2 === "Secondary") { return true; }
|
|
287
|
+
if ($2 === "Primary") { return true; }
|
|
288
|
+
$runtime.fail();
|
|
289
|
+
})()
|
|
290
|
+
) {
|
|
291
|
+
return 2;
|
|
292
|
+
}
|
|
293
|
+
return 1;
|
|
294
|
+
})())
|
|
295
|
+
)
|
|
296
|
+
];
|
|
297
|
+
})()))();
|
|
298
|
+
}
|
|
299
|
+
};
|
|
300
|
+
},
|
|
301
|
+
createElement: v => v1 => parent => {
|
|
302
|
+
const $0 = v1.caption;
|
|
303
|
+
const $1 = v1.plots;
|
|
304
|
+
const $2 = v1.size;
|
|
305
|
+
const $3 = v1.tickLabels;
|
|
306
|
+
const caption_height = App$dView$dUtil$dD3.textDimensions("title-text")($0._1).height * 2 | 0;
|
|
307
|
+
const $4 = $2.width._1;
|
|
308
|
+
const $5 = $2.height._1;
|
|
309
|
+
const $6 = Control$dBind.arrayBind(Data$dFunctor.arrayMap(x => x.points)($1))(Control$dBind.identity);
|
|
310
|
+
const ps = Util.definitely("non-empty")($6.length > 0 ? Data$dMaybe.$Maybe("Just", $6) : Data$dMaybe.Nothing);
|
|
311
|
+
const $7 = Data$dFunctor.arrayMap(x => x.x._1)(ps);
|
|
312
|
+
const $8 = minimum($7);
|
|
313
|
+
const $9 = maximum($7);
|
|
314
|
+
const $10 = maximum(Data$dFunctor.arrayMap(x => x.y._1)(ps));
|
|
315
|
+
const to = v3 => (
|
|
316
|
+
{
|
|
317
|
+
x: App$dView$dUtil$dD3.scaleLinear({min: $8, max: $9})({min: 0.0, max: Data$dInt.toNumber(v3.width)}),
|
|
318
|
+
y: App$dView$dUtil$dD3.scaleLinear({min: 0.0, max: $10})({min: Data$dInt.toNumber(v3.height), max: 0.0})
|
|
319
|
+
}
|
|
320
|
+
);
|
|
321
|
+
const $11 = (
|
|
322
|
+
15 + maximum1((() => {
|
|
323
|
+
const $11 = App$dView$dUtil$dD3.textDimensions("legend-text");
|
|
324
|
+
const $12 = Data$dFunctor.arrayMap(x => $11(x.name._1).width)($1);
|
|
325
|
+
return Util.definitely("non-empty")($12.length > 0 ? Data$dMaybe.$Maybe("Just", $12) : Data$dMaybe.Nothing);
|
|
326
|
+
})()) | 0
|
|
327
|
+
) + 4 | 0;
|
|
328
|
+
const $12 = 15 * length($1) | 0;
|
|
329
|
+
const createAxes = (range, parent$p) => {
|
|
330
|
+
const $13 = $3.y;
|
|
331
|
+
const $14 = App$dView$dUtil$dAxes.create_xAxis(parent$p)(to(range))(Data$dArray.nubBy(Data$dOrd.ordNumber.compare)($7))(range.height)($3.x._1);
|
|
332
|
+
return () => {
|
|
333
|
+
const x = $14();
|
|
334
|
+
const y = App$dView$dUtil$dAxes.create_yAxis(parent$p)(to(range))(3.0)(1)($13._1)();
|
|
335
|
+
return {x, y};
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
const $13 = App$dView$dUtil$dD3.createChild(parent)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.SVG))(App$dView$dUtil$dD3.fromFoldable([
|
|
339
|
+
Data$dTuple.$Tuple("width", Data$dShow.showIntImpl($4)),
|
|
340
|
+
Data$dTuple.$Tuple("height", Data$dShow.showIntImpl($5))
|
|
341
|
+
]));
|
|
342
|
+
return () => {
|
|
343
|
+
const svg = $13();
|
|
344
|
+
const v3 = createAxes({width: $2.width._1, height: $2.height._1}, svg)();
|
|
345
|
+
const a$p = App$dView$dUtil$dD3.dimensions(v3.x)();
|
|
346
|
+
const a$p$1 = App$dView$dUtil$dD3.dimensions(v3.y)();
|
|
347
|
+
App$dView$dUtil$dD3.remove(v3.x)();
|
|
348
|
+
App$dView$dUtil$dD3.remove(v3.y)();
|
|
349
|
+
const interior = {width: ((($4 - a$p$1.width | 0) - 3 | 0) - $11 | 0) - 15 | 0, height: (($5 - 6 | 0) - a$p.height | 0) - caption_height | 0};
|
|
350
|
+
const g = App$dView$dUtil$dD3.createChild(svg)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.G))(App$dView$dUtil$dD3.fromFoldable([
|
|
351
|
+
App$dView$dUtil$dD3.translate({x: a$p$1.width, y: 6})
|
|
352
|
+
]))();
|
|
353
|
+
createAxes(interior, g)();
|
|
354
|
+
for (
|
|
355
|
+
const v3$1 of Data$dArray.concat(Data$dFunctorWithIndex.mapWithIndexArray(i => v3$2 => {
|
|
356
|
+
if (v3$2.points.length > 0) {
|
|
357
|
+
return Data$dArray.zipWithImpl(
|
|
358
|
+
v5 => {
|
|
359
|
+
const $14 = v5._2;
|
|
360
|
+
const $15 = v5._1;
|
|
361
|
+
return v6 => Data$dTuple.$Tuple({name: v3$2.name._1, start: $15, end: v6._1}, {i, j1: $14, j2: v6._2});
|
|
362
|
+
},
|
|
363
|
+
Data$dFunctorWithIndex.mapWithIndexArray(j => point => Data$dTuple.$Tuple({x: point.x._1, y: point.y._1}, j))((() => {
|
|
364
|
+
if (v3$2.points.length === 0) { $runtime.fail(); }
|
|
365
|
+
return Data$dArray.sliceImpl(0, v3$2.points.length - 1 | 0, v3$2.points);
|
|
366
|
+
})()),
|
|
367
|
+
Data$dFunctorWithIndex.mapWithIndexArray(j => point => Data$dTuple.$Tuple({x: point.x._1, y: point.y._1}, j + 1 | 0))((() => {
|
|
368
|
+
const $14 = Data$dArray.unconsImpl(v$1 => Data$dMaybe.Nothing, v$1 => xs => Data$dMaybe.$Maybe("Just", xs), v3$2.points);
|
|
369
|
+
if ($14.tag === "Just") { return $14._1; }
|
|
370
|
+
$runtime.fail();
|
|
371
|
+
})())
|
|
372
|
+
);
|
|
373
|
+
}
|
|
374
|
+
return [];
|
|
375
|
+
})($1))
|
|
376
|
+
) {
|
|
377
|
+
const $14 = App$dView$dUtil$dD3.createChild(g)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.Path))(App$dView$dUtil$dD3.fromFoldable([
|
|
378
|
+
App$dUtil.classes(["linechart-segment"]),
|
|
379
|
+
Data$dTuple.$Tuple("d", App$dView$dUtil$dD3.line(to(interior))([v3$1._1.start, v3$1._1.end]))
|
|
380
|
+
]))();
|
|
381
|
+
App$dView$dUtil$dD3.setDatum(v3$1._2)($14)();
|
|
382
|
+
}
|
|
383
|
+
for (
|
|
384
|
+
const v3$1 of Data$dArray.concat(Data$dFunctorWithIndex.mapWithIndexArray(i => v3$2 => Data$dFunctorWithIndex.mapWithIndexArray(j => p => Data$dTuple.$Tuple(p, {i, j}))(v3$2.points))($1))
|
|
385
|
+
) {
|
|
386
|
+
const $14 = App$dView$dUtil$dD3.createChild(g)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.Circle))(App$dView$dUtil$dD3.fromFoldable([
|
|
387
|
+
App$dUtil.classes(["linechart-point"]),
|
|
388
|
+
Data$dTuple.$Tuple("stroke-width", "1"),
|
|
389
|
+
Data$dTuple.$Tuple("cx", Data$dShow.showNumberImpl(to(interior).x(v3$1._1.x._1))),
|
|
390
|
+
Data$dTuple.$Tuple("cy", Data$dShow.showNumberImpl(to(interior).y(v3$1._1.y._1)))
|
|
391
|
+
]))();
|
|
392
|
+
App$dView$dUtil$dD3.setDatum({i: v3$1._2.i, j: v3$1._2.j})($14)();
|
|
393
|
+
}
|
|
394
|
+
const $14 = App$dView$dUtil$dD3.createChild(svg)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.Text))(App$dView$dUtil$dD3.fromFoldable([
|
|
395
|
+
Data$dTuple.$Tuple("x", Data$dShow.showIntImpl($runtime.intDiv($4, 2))),
|
|
396
|
+
Data$dTuple.$Tuple("y", Data$dShow.showIntImpl($5 - $runtime.intDiv(caption_height, 2) | 0)),
|
|
397
|
+
App$dUtil.classes(["title-text"]),
|
|
398
|
+
Data$dTuple.$Tuple("dominant-baseline", "middle"),
|
|
399
|
+
Data$dTuple.$Tuple("text-anchor", "middle")
|
|
400
|
+
]))();
|
|
401
|
+
App$dView$dUtil$dD3.setText($0._1)($14)();
|
|
402
|
+
const legend$p = App$dView$dUtil$dD3.createChild(g)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.G))(App$dView$dUtil$dD3.fromFoldable([
|
|
403
|
+
App$dView$dUtil$dD3.translate({x: interior.width + 15 | 0, y: max(0)($runtime.intDiv(interior.height - $12 | 0, 2))})
|
|
404
|
+
]))();
|
|
405
|
+
App$dView$dUtil$dD3.createChild(legend$p)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.Rect))(App$dView$dUtil$dD3.fromFoldable([
|
|
406
|
+
App$dUtil.classes(["legend-box"]),
|
|
407
|
+
Data$dTuple.$Tuple("x", "0"),
|
|
408
|
+
Data$dTuple.$Tuple("y", "0"),
|
|
409
|
+
Data$dTuple.$Tuple("height", Data$dShow.showIntImpl($12)),
|
|
410
|
+
Data$dTuple.$Tuple("width", Data$dShow.showIntImpl($11))
|
|
411
|
+
]))();
|
|
412
|
+
for (const v4 of Data$dFunctorWithIndex.mapWithIndexArray(i => v4$1 => ({i, name: v4$1.name._1}))($1)) {
|
|
413
|
+
const $15 = v4.name;
|
|
414
|
+
const g$1 = App$dView$dUtil$dD3.createChild(legend$p)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.G))(App$dView$dUtil$dD3.fromFoldable([
|
|
415
|
+
App$dUtil.classes(["legend-entry"]),
|
|
416
|
+
App$dView$dUtil$dD3.translate({x: 0, y: (v4.i * 15 | 0) + 2 | 0})
|
|
417
|
+
]))();
|
|
418
|
+
const $16 = App$dView$dUtil$dD3.createChild(g$1)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.Text))(App$dView$dUtil$dD3.fromFoldable([
|
|
419
|
+
App$dUtil.classes(["legend-text"]),
|
|
420
|
+
App$dView$dUtil$dD3.translate({x: 15, y: 9})
|
|
421
|
+
]))();
|
|
422
|
+
App$dView$dUtil$dD3.setText($15)($16)();
|
|
423
|
+
App$dView$dUtil$dD3.createChild(g$1)(App$dView$dUtil$dD3.showElementType.show(App$dView$dUtil$dD3.Circle))(App$dView$dUtil$dD3.fromFoldable([
|
|
424
|
+
Data$dTuple.$Tuple(
|
|
425
|
+
"fill",
|
|
426
|
+
nameCol(Util.definitely("absurd")(Data$dArray.findIndexImpl(Data$dMaybe.Just, Data$dMaybe.Nothing, v$1 => v$1 === $15, Data$dFunctor.arrayMap(x => x.name._1)($1))))
|
|
427
|
+
),
|
|
428
|
+
Data$dTuple.$Tuple("r", "2"),
|
|
429
|
+
Data$dTuple.$Tuple("cx", "6"),
|
|
430
|
+
Data$dTuple.$Tuple("cy", "6")
|
|
431
|
+
]))();
|
|
432
|
+
}
|
|
433
|
+
return g;
|
|
434
|
+
};
|
|
435
|
+
}
|
|
436
|
+
};
|
|
437
|
+
export {LineChart, LinePlot, fill, identity, join, length, max, maximum, maximum1, meet, minimum, nameCol, names, newtypeLinePlot_, point_smallRadius, viewableLineChartUnit};
|