Module
InteractiveData.DataUIs
- Package
- purescript-interactive-data
- Repository
- thought2/purescript-interactive-data.all
Re-exports from InteractiveData.DataUIs.Array
Re-exports from InteractiveData.DataUIs.Boolean
#BooleanMsg Source
data BooleanMsg
#boolean_ Source
boolean_ :: forall html fm fs. IDHtml html => DataUI (IDSurface html) fm fs BooleanMsg BooleanState Boolean
#boolean Source
boolean :: forall opt html fm fs. OptArgs CfgBoolean opt => IDHtml html => opt -> DataUI (IDSurface html) fm fs BooleanMsg BooleanState Boolean
Re-exports from InteractiveData.DataUIs.Common
Re-exports from InteractiveData.DataUIs.Generic
#Product Source
data Product a b
Instances
(HlistToRecord countNext as rowPrev, Add count 1 countNext, ToString count sym, IsSymbol sym, Lacks sym rowPrev, Cons sym a rowPrev row) => HlistToRecord count (Product a as) row
#GenericDataUI Source
class GenericDataUI :: Symbol -> Type -> (Type -> Type) -> Row Type -> (Type -> Type) -> (Type -> Type) -> Type -> Type -> Type -> Constraint
class GenericDataUI (initcase :: Symbol) (opt :: Type) (html :: Type -> Type) (datauis :: Row Type) (fm :: Type -> Type) (fs :: Type -> Type) (msg :: Type) (sta :: Type) (a :: Type) | datauis opt -> initcase html fm fs datauis msg sta a where
Members
Instances
(DataUiVariant datauis fm fs (IDSurface html) initcase rcase rmsg rsta r, IDHtml html, GenericVariantLike DefaultTransform a r, HMap MappingHlistToRecord (Record datauisHlist) (Record datauis), OptArgs CfgGeneric opt) => GenericDataUI initcase opt html datauisHlist fm fs (VariantMsg rcase rmsg) (VariantState rsta) a
#(~) Source
Operator alias for InteractiveData.DataUIs.Generic.Product (right-associative / precedence 6)
#type (~) Source
Operator alias for InteractiveData.DataUIs.Generic.Product (right-associative / precedence 6)
Re-exports from InteractiveData.DataUIs.Int
Re-exports from InteractiveData.DataUIs.Json
#json Source
json :: forall given html fm fs a. OptArgsMixed (JsonCfg a) (JsonOptional ()) given => DecodeJson a => EncodeJson a => IDHtml html => given -> DataUI (IDSurface html) fm fs JsonMsg JsonState a
Re-exports from InteractiveData.DataUIs.Newtype
Re-exports from InteractiveData.DataUIs.Number
Re-exports from InteractiveData.DataUIs.Record
#RecordState Source
newtype RecordState :: Row Type -> Type
newtype RecordState r
Instances
Generic (RecordState r) _
(Eq (Record r)) => Eq (RecordState r)
(Show (Record r)) => Show (RecordState r)
#RecordMsg Source
newtype RecordMsg :: Row Type -> Type
newtype RecordMsg r
Instances
Generic (RecordMsg r) _
(RowToList r rl, VariantTags rl, VariantEqs rl) => Eq (RecordMsg r)
(RowToList r rl, VariantTags rl, VariantShows rl) => Show (RecordMsg r)
#record_ Source
record_ :: forall datauis html fm fs rmsg rsta r. DataUiRecord datauis fm fs (IDSurface html) rmsg rsta r => IDHtml html => Record datauis -> DataUI (IDSurface html) fm fs (RecordMsg rmsg) (RecordState rsta) (Record r)
Re-exports from InteractiveData.DataUIs.String
Re-exports from InteractiveData.DataUIs.Trivial
#TrivialCfg Source
type TrivialCfg :: Row Type -> Type -> Type
type TrivialCfg extraCfg a = { init :: Maybe a, text :: Maybe String | extraCfg }
#mkTrivialDataUi Source
mkTrivialDataUi :: forall html opt extraCfg fm fs a. IDHtml html => OptArgs (TrivialCfg extraCfg a) opt => Lacks "init" extraCfg => Lacks "text" extraCfg => MkTrivialDataUiCfg html extraCfg a -> opt -> DataUI (IDSurface html) fm fs a a a
Re-exports from InteractiveData.DataUIs.Types
Re-exports from InteractiveData.DataUIs.Variant
#VariantState Source
newtype VariantState :: Row Type -> Type
newtype VariantState r
Instances
Newtype (VariantState r) _
Generic (VariantState r) _
(RowToList r rl, VariantTags rl, VariantShows rl) => Show (VariantState r)
(RowToList r rl, VariantTags rl, VariantEqs rl) => Eq (VariantState r)
#VariantMsg Source
data VariantMsg :: Row Type -> Row Type -> Type
data VariantMsg rcase rmsg
Instances
Generic (VariantMsg rcase rmsg) _
(RowToList rcase rlcase, RowToList rmsg rlmsg, VariantTags rlcase, VariantTags rlmsg, VariantShows rlcase, VariantShows rlmsg) => Show (VariantMsg rcase rmsg)
(RowToList rcase rlcase, RowToList rmsg rlmsg, VariantTags rlcase, VariantTags rlmsg, VariantEqs rlcase, VariantEqs rlmsg) => Eq (VariantMsg rcase rmsg)
#variant_ Source
variant_ :: forall datauis html fm fs @initsym rcase rmsg rsta r. DataUiVariant datauis fm fs (IDSurface html) initsym rcase rmsg rsta r => IDHtml html => Record datauis -> DataUI (IDSurface html) fm fs (VariantMsg rcase rmsg) (VariantState rsta) (Variant r)
#variant Source
variant :: forall opt datauis html fm fs @initsym rcase rmsg rsta r. OptArgs CfgVariant opt => DataUiVariant datauis fm fs (IDSurface html) initsym rcase rmsg rsta r => IDHtml html => opt -> Record datauis -> DataUI (IDSurface html) fm fs (VariantMsg rcase rmsg) (VariantState rsta) (Variant r)
- Modules
- InteractiveData
- InteractiveData.
App - InteractiveData.
App. EnvVars - InteractiveData.
App. FastForward. Inline - InteractiveData.
App. FastForward. Standalone - InteractiveData.
App. Routing - InteractiveData.
App. Types - InteractiveData.
App. UI. ActionButton - InteractiveData.
App. UI. Assets - InteractiveData.
App. UI. Body - InteractiveData.
App. UI. Breadcrumbs - InteractiveData.
App. UI. Card - InteractiveData.
App. UI. DataLabel - InteractiveData.
App. UI. Footer - InteractiveData.
App. UI. Header - InteractiveData.
App. UI. Layout - InteractiveData.
App. UI. Menu - InteractiveData.
App. UI. NotFound - InteractiveData.
App. UI. SideBar - InteractiveData.
App. UI. Types. SumTree - InteractiveData.
App. WrapApp - InteractiveData.
App. WrapData - InteractiveData.
Class - InteractiveData.
Class. Defaults - InteractiveData.
Class. Defaults. Generic - InteractiveData.
Class. Defaults. Record - InteractiveData.
Class. Defaults. Variant - InteractiveData.
Class. InitDataUI - InteractiveData.
Class. Partial - InteractiveData.
Core - InteractiveData.
Core. Classes. IDHtml - InteractiveData.
Core. Classes. OptArgs - InteractiveData.
Core. FeatureFlags - InteractiveData.
Core. Prelude - InteractiveData.
Core. Types. Common - InteractiveData.
Core. Types. DataAction - InteractiveData.
Core. Types. DataPathExtra - InteractiveData.
Core. Types. DataTree - InteractiveData.
Core. Types. IDHtmlT - InteractiveData.
Core. Types. IDOutMsg - InteractiveData.
Core. Types. IDSurface - InteractiveData.
Core. Types. IDViewCtx - InteractiveData.
Core. Util. RecordProjection - InteractiveData.
DataUIs - InteractiveData.
DataUIs. Array - InteractiveData.
DataUIs. Boolean - InteractiveData.
DataUIs. Common - InteractiveData.
DataUIs. Generic - InteractiveData.
DataUIs. Int - InteractiveData.
DataUIs. Json - InteractiveData.
DataUIs. Newtype - InteractiveData.
DataUIs. Number - InteractiveData.
DataUIs. Record - InteractiveData.
DataUIs. String - InteractiveData.
DataUIs. Trivial - InteractiveData.
DataUIs. Types - InteractiveData.
DataUIs. Variant - InteractiveData.
Entry - InteractiveData.
Run - InteractiveData.
UI. NumberInput - InteractiveData.
UI. Slider