Shpadoinkle-widgets-0.2.0.1: A collection of common reusable types and components.

Safe HaskellNone
LanguageHaskell2010

Shpadoinkle.Widgets.Table.Lazy

Synopsis

Documentation

newtype AssumedRowHeight Source #

Constructors

AssumedRowHeight Int 
Instances
Enum AssumedRowHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Eq AssumedRowHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Integral AssumedRowHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Num AssumedRowHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Ord AssumedRowHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Read AssumedRowHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Real AssumedRowHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Show AssumedRowHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Generic AssumedRowHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Associated Types

type Rep AssumedRowHeight :: Type -> Type Source #

NFData AssumedRowHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Methods

rnf :: AssumedRowHeight -> () Source #

ToJSON AssumedRowHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

FromJSON AssumedRowHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

type Rep AssumedRowHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

type Rep AssumedRowHeight = D1 (MetaData "AssumedRowHeight" "Shpadoinkle.Widgets.Table.Lazy" "Shpadoinkle-widgets-0.2.0.1-HaWUIlNGtuO41rdsllvehE" True) (C1 (MetaCons "AssumedRowHeight" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

newtype AssumedTableHeight Source #

Constructors

AssumedTableHeight Int 
Instances
Enum AssumedTableHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Eq AssumedTableHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Integral AssumedTableHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Num AssumedTableHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Ord AssumedTableHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Read AssumedTableHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Real AssumedTableHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Show AssumedTableHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Generic AssumedTableHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Associated Types

type Rep AssumedTableHeight :: Type -> Type Source #

NFData AssumedTableHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Methods

rnf :: AssumedTableHeight -> () Source #

ToJSON AssumedTableHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

FromJSON AssumedTableHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

type Rep AssumedTableHeight Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

type Rep AssumedTableHeight = D1 (MetaData "AssumedTableHeight" "Shpadoinkle.Widgets.Table.Lazy" "Shpadoinkle-widgets-0.2.0.1-HaWUIlNGtuO41rdsllvehE" True) (C1 (MetaCons "AssumedTableHeight" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

newtype CurrentScrollY Source #

Constructors

CurrentScrollY Int 
Instances
Enum CurrentScrollY Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Eq CurrentScrollY Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Integral CurrentScrollY Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Num CurrentScrollY Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Ord CurrentScrollY Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Read CurrentScrollY Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Real CurrentScrollY Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Show CurrentScrollY Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Generic CurrentScrollY Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Associated Types

type Rep CurrentScrollY :: Type -> Type Source #

NFData CurrentScrollY Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Methods

rnf :: CurrentScrollY -> () Source #

ToJSON CurrentScrollY Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

FromJSON CurrentScrollY Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

type Rep CurrentScrollY Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

type Rep CurrentScrollY = D1 (MetaData "CurrentScrollY" "Shpadoinkle.Widgets.Types.Pagination" "Shpadoinkle-widgets-0.2.0.1-HaWUIlNGtuO41rdsllvehE" True) (C1 (MetaCons "CurrentScrollY" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

class Tabular a => LazyTabular a where Source #

Methods

countRows :: a -> Int Source #

data LazyTable a Source #

Instances
Bounded (Column a) => Bounded (Column (LazyTable a)) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Enum (Column a) => Enum (Column (LazyTable a)) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Eq (Column a) => Eq (Column (LazyTable a)) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Ord (Column a) => Ord (Column (LazyTable a)) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Humanize (Column a) => Humanize (Column (LazyTable a)) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Tabular a => Tabular (LazyTable a) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Associated Types

type Effect (LazyTable a) m :: Constraint Source #

data Row (LazyTable a) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

data Row (LazyTable a)
newtype Column (LazyTable a) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

newtype Column (LazyTable a) = LazyColumn (Column a)
type Effect (LazyTable a) m Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

type Effect (LazyTable a) m = Effect a m

data LazyTableScrollConfig m a b Source #

Instances
Generic (LazyTableScrollConfig m a b) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Associated Types

type Rep (LazyTableScrollConfig m a b) :: Type -> Type Source #

type Rep (LazyTableScrollConfig m a b) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

type Rep (LazyTableScrollConfig m a b) = D1 (MetaData "LazyTableScrollConfig" "Shpadoinkle.Widgets.Table.Lazy" "Shpadoinkle-widgets-0.2.0.1-HaWUIlNGtuO41rdsllvehE" False) (C1 (MetaCons "ContainerIsScrollable" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (DebounceScroll m (b, CurrentScrollY, RowsLoaded)))) :+: C1 (MetaCons "TbodyIsScrollable" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (DebounceScroll m (LazyTable a, SortCol (LazyTable a))))))

newtype Offset Source #

Constructors

Offset Int 
Instances
Enum Offset Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Eq Offset Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Integral Offset Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Num Offset Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Ord Offset Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Read Offset Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Real Offset Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Show Offset Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Generic Offset Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Associated Types

type Rep Offset :: Type -> Type Source #

NFData Offset Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Methods

rnf :: Offset -> () Source #

ToJSON Offset Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

FromJSON Offset Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

ToHttpApiData Offset Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

FromHttpApiData Offset Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

ToJSVal Offset Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

FromJSVal Offset Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

type Rep Offset Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

type Rep Offset = D1 (MetaData "Offset" "Shpadoinkle.Widgets.Types.Pagination" "Shpadoinkle-widgets-0.2.0.1-HaWUIlNGtuO41rdsllvehE" True) (C1 (MetaCons "Offset" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

newtype Length Source #

Constructors

Length Int 
Instances
Enum Length Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Eq Length Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Integral Length Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Num Length Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Ord Length Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Read Length Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Real Length Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Show Length Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Generic Length Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Associated Types

type Rep Length :: Type -> Type Source #

NFData Length Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Methods

rnf :: Length -> () Source #

ToJSON Length Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

FromJSON Length Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

ToHttpApiData Length Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

FromHttpApiData Length Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

ToJSVal Length Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

FromJSVal Length Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

type Rep Length Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

type Rep Length = D1 (MetaData "Length" "Shpadoinkle.Widgets.Types.Pagination" "Shpadoinkle-widgets-0.2.0.1-HaWUIlNGtuO41rdsllvehE" True) (C1 (MetaCons "Length" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

data Page Source #

Constructors

Page 
Instances
Eq Page Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Methods

(==) :: Page -> Page -> Bool Source #

(/=) :: Page -> Page -> Bool Source #

Ord Page Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Read Page Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Show Page Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Generic Page Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Associated Types

type Rep Page :: Type -> Type Source #

Methods

from :: Page -> Rep Page x Source #

to :: Rep Page x -> Page Source #

NFData Page Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

Methods

rnf :: Page -> () Source #

ToJSON Page Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

FromJSON Page Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

ToHttpApiData Page Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

FromHttpApiData Page Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

ToJSVal Page Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

FromJSVal Page Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

type Rep Page Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Pagination

type Rep Page = D1 (MetaData "Page" "Shpadoinkle.Widgets.Types.Pagination" "Shpadoinkle-widgets-0.2.0.1-HaWUIlNGtuO41rdsllvehE" False) (C1 (MetaCons "Page" PrefixI True) (S1 (MetaSel (Just "pageOffset") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Offset) :*: S1 (MetaSel (Just "pageLength") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Length)))

newtype RowsToShow Source #

Constructors

RowsToShow 

Fields

Instances
Bounded RowsToShow Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Enum RowsToShow Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Eq RowsToShow Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Num RowsToShow Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Ord RowsToShow Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Read RowsToShow Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Real RowsToShow Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Show RowsToShow Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Generic RowsToShow Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Associated Types

type Rep RowsToShow :: Type -> Type Source #

NFData RowsToShow Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Methods

rnf :: RowsToShow -> () Source #

ToJSON RowsToShow Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

FromJSON RowsToShow Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

ToJSVal RowsToShow Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

FromJSVal RowsToShow Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

type Rep RowsToShow Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

type Rep RowsToShow = D1 (MetaData "RowsToShow" "Shpadoinkle.Widgets.Table.Lazy" "Shpadoinkle-widgets-0.2.0.1-HaWUIlNGtuO41rdsllvehE" True) (C1 (MetaCons "RowsToShow" PrefixI True) (S1 (MetaSel (Just "unRowsToShow") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

newtype RowsLoaded Source #

Constructors

RowsLoaded 

Fields

Instances
Bounded RowsLoaded Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Enum RowsLoaded Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Eq RowsLoaded Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Num RowsLoaded Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Ord RowsLoaded Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Read RowsLoaded Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Real RowsLoaded Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Show RowsLoaded Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Generic RowsLoaded Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Associated Types

type Rep RowsLoaded :: Type -> Type Source #

NFData RowsLoaded Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

Methods

rnf :: RowsLoaded -> () Source #

ToJSON RowsLoaded Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

FromJSON RowsLoaded Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

ToJSVal RowsLoaded Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

FromJSVal RowsLoaded Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

type Rep RowsLoaded Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

type Rep RowsLoaded = D1 (MetaData "RowsLoaded" "Shpadoinkle.Widgets.Table.Lazy" "Shpadoinkle-widgets-0.2.0.1-HaWUIlNGtuO41rdsllvehE" True) (C1 (MetaCons "RowsLoaded" PrefixI True) (S1 (MetaSel (Just "unRowsLoaded") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

newtype Paginator a Source #

A Paginator takes a tabular data type a and a sort order and a page and returns an action which yields a new tabular value with the values in the given page range included.

Constructors

Paginator 

Fields