Documentation ¶
Index ¶
- type Admin
- type CCardListPage
- func (p *CCardListPage) ID() string
- func (p *CCardListPage) Icon() icon.Icon
- func (p *CCardListPage) IsDefault() bool
- func (p *CCardListPage) NavTabs() navigation.NavTabs
- func (p *CCardListPage) Navigation() *navigation.Navigation
- func (p *CCardListPage) PageHeader() *PageHeader
- func (p *CCardListPage) ToolbarEnabled() bool
- func (p *CCardListPage) Type() PageType
- func (p *CCardListPage) URL() string
- type CardListPageConfig
- type Config
- type EEditPage
- func (p *EEditPage) ID() string
- func (p *EEditPage) Icon() icon.Icon
- func (p *EEditPage) IsDefault() bool
- func (p *EEditPage) NavTabs() navigation.NavTabs
- func (p *EEditPage) Navigation() *navigation.Navigation
- func (p *EEditPage) PageHeader() *PageHeader
- func (p *EEditPage) ToolbarEnabled() bool
- func (p *EEditPage) Type() PageType
- func (p *EEditPage) URL() string
- type EditPageConfig
- type FFormPage
- func (p *FFormPage) ID() string
- func (p *FFormPage) Icon() icon.Icon
- func (p *FFormPage) IsDefault() bool
- func (p *FFormPage) NavTabs() navigation.NavTabs
- func (p *FFormPage) Navigation() *navigation.Navigation
- func (p *FFormPage) PageHeader() *PageHeader
- func (p *FFormPage) ToolbarEnabled() bool
- func (p *FFormPage) Type() PageType
- func (p *FFormPage) URL() string
- type Field
- type FieldType
- type Fields
- type Form
- type FormPageConfig
- type Header
- type HeaderValue
- type LListPage
- func (p *LListPage) ID() string
- func (p *LListPage) Icon() icon.Icon
- func (p *LListPage) IsDefault() bool
- func (p *LListPage) NavTabs() navigation.NavTabs
- func (p *LListPage) Navigation() *navigation.Navigation
- func (p *LListPage) PageHeader() *PageHeader
- func (p *LListPage) ToolbarEnabled() bool
- func (p *LListPage) Type() PageType
- func (p *LListPage) URL() string
- type ListPageConfig
- type ListRowConfig
- type ListSearchConfig
- type MainButton
- type OnListRowClick
- type OnSubmitSuccess
- type Page
- func (p *Page) ID() string
- func (p *Page) Icon() icon.Icon
- func (p *Page) IsDefault() bool
- func (p *Page) NavTabs() navigation.NavTabs
- func (p *Page) Navigation() *navigation.Navigation
- func (p *Page) PageHeader() *PageHeader
- func (p *Page) ToolbarEnabled() bool
- func (p *Page) Type() PageType
- func (p *Page) URL() string
- type PageConfig
- type PageHeader
- type PageType
- type Pager
- type Pages
- type PaginationConfig
- type RedirectURL
- type SSideFormPage
- func (p *SSideFormPage) ID() string
- func (p *SSideFormPage) Icon() icon.Icon
- func (p *SSideFormPage) IsDefault() bool
- func (p *SSideFormPage) NavTabs() navigation.NavTabs
- func (p *SSideFormPage) Navigation() *navigation.Navigation
- func (p *SSideFormPage) PageHeader() *PageHeader
- func (p *SSideFormPage) ToolbarEnabled() bool
- func (p *SSideFormPage) Type() PageType
- func (p *SSideFormPage) URL() string
- type SideFormPageConfig
- type Submit
- type UITheme
- type UUploadPage
- func (p *UUploadPage) ID() string
- func (p *UUploadPage) Icon() icon.Icon
- func (p *UUploadPage) IsDefault() bool
- func (p *UUploadPage) NavTabs() navigation.NavTabs
- func (p *UUploadPage) Navigation() *navigation.Navigation
- func (p *UUploadPage) PageHeader() *PageHeader
- func (p *UUploadPage) ToolbarEnabled() bool
- func (p *UUploadPage) Type() PageType
- func (p *UUploadPage) URL() string
- type UploadPageConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CCardListPage ¶
type CCardListPage struct { ParamKey string MainButton *MainButton Title string DataLoader *dataloader.DataLoader Pagination *PaginationConfig ListRowConfig *ListRowConfig Header *PageHeader Form *Form // contains filtered or unexported fields }
func (*CCardListPage) ID ¶
func (p *CCardListPage) ID() string
func (*CCardListPage) Icon ¶
func (p *CCardListPage) Icon() icon.Icon
func (*CCardListPage) IsDefault ¶
func (p *CCardListPage) IsDefault() bool
func (*CCardListPage) NavTabs ¶
func (p *CCardListPage) NavTabs() navigation.NavTabs
func (*CCardListPage) Navigation ¶
func (p *CCardListPage) Navigation() *navigation.Navigation
func (*CCardListPage) PageHeader ¶
func (p *CCardListPage) PageHeader() *PageHeader
func (*CCardListPage) ToolbarEnabled ¶
func (p *CCardListPage) ToolbarEnabled() bool
func (*CCardListPage) Type ¶
func (p *CCardListPage) Type() PageType
func (*CCardListPage) URL ¶
func (p *CCardListPage) URL() string
type CardListPageConfig ¶
type CardListPageConfig struct { PageConfig ParamKey string MainButton *MainButton Title string DataLoader *dataloader.DataLoader Pagination *PaginationConfig ListRowConfig *ListRowConfig Form *Form }
type EEditPage ¶
type EEditPage struct { DataLoader *dataloader.DataLoader Form Form Header *PageHeader // contains filtered or unexported fields }
func (*EEditPage) NavTabs ¶
func (p *EEditPage) NavTabs() navigation.NavTabs
func (*EEditPage) Navigation ¶
func (p *EEditPage) Navigation() *navigation.Navigation
func (*EEditPage) PageHeader ¶
func (p *EEditPage) PageHeader() *PageHeader
func (*EEditPage) ToolbarEnabled ¶
type EditPageConfig ¶
type EditPageConfig struct { PageConfig ParamKey string DataLoader *dataloader.DataLoader Form Form }
type FFormPage ¶
type FFormPage struct { Form Form // contains filtered or unexported fields }
func (*FFormPage) NavTabs ¶
func (p *FFormPage) NavTabs() navigation.NavTabs
func (*FFormPage) Navigation ¶
func (p *FFormPage) Navigation() *navigation.Navigation
func (*FFormPage) PageHeader ¶
func (p *FFormPage) PageHeader() *PageHeader
func (*FFormPage) ToolbarEnabled ¶
type FormPageConfig ¶
type FormPageConfig struct { PageConfig Form Form }
type Header ¶
type Header struct { Key string `json:"key"` Value HeaderValue `json:"value"` }
type HeaderValue ¶
type LListPage ¶
type LListPage struct { MainButton *MainButton Title string DataLoader *dataloader.DataLoader Pagination *PaginationConfig ListRowConfig *ListRowConfig SearchConfig *ListSearchConfig Header *PageHeader // contains filtered or unexported fields }
func (*LListPage) NavTabs ¶
func (p *LListPage) NavTabs() navigation.NavTabs
func (*LListPage) Navigation ¶
func (p *LListPage) Navigation() *navigation.Navigation
func (*LListPage) PageHeader ¶
func (p *LListPage) PageHeader() *PageHeader
func (*LListPage) ToolbarEnabled ¶
type ListPageConfig ¶
type ListPageConfig struct { PageConfig MainButton *MainButton Title string DataLoader *dataloader.DataLoader Pagination *PaginationConfig ListRowConfig *ListRowConfig SearchConfig *ListSearchConfig }
type ListRowConfig ¶
type ListRowConfig struct { DataRowFieldName string ParamKey string OnClick *OnListRowClick }
type ListSearchConfig ¶
type MainButton ¶
type OnListRowClick ¶
type OnListRowClick struct {
RedirectURL string
}
type OnSubmitSuccess ¶
type OnSubmitSuccess struct { SetAppState bool SetAppStateFieldName string RedirectURL *RedirectURL `json:"redirectUrl"` }
type Page ¶
type Page struct { Header *PageHeader // contains filtered or unexported fields }
func (*Page) NavTabs ¶
func (p *Page) NavTabs() navigation.NavTabs
func (*Page) Navigation ¶
func (p *Page) Navigation() *navigation.Navigation
func (*Page) PageHeader ¶
func (p *Page) PageHeader() *PageHeader
func (*Page) ToolbarEnabled ¶
type PageConfig ¶
type PageHeader ¶
type Pager ¶
type Pager interface { IsDefault() bool ID() string URL() string Type() PageType Icon() icon.Icon ToolbarEnabled() bool PageHeader() *PageHeader }
func NewCardListPage ¶
func NewCardListPage(p CardListPageConfig) Pager
func NewEditPage ¶
func NewEditPage(p EditPageConfig) Pager
func NewFormPage ¶
func NewFormPage(p FormPageConfig) Pager
func NewListPage ¶
func NewListPage(p ListPageConfig) Pager
func NewPage ¶
func NewPage(p PageConfig) Pager
func NewSideFormPage ¶
func NewSideFormPage(p SideFormPageConfig) Pager
func NewUploadPage ¶
func NewUploadPage(p UploadPageConfig) Pager
type PaginationConfig ¶
type PaginationConfig struct {
RowsPerPage int
}
type RedirectURL ¶
type RedirectURL struct { URL string `json:"url"` SearchParams *navigation.SearchParams `json:"searchParams"` }
type SSideFormPage ¶
type SSideFormPage struct { Form Form BackgroundImage *url.URL // contains filtered or unexported fields }
func (*SSideFormPage) ID ¶
func (p *SSideFormPage) ID() string
func (*SSideFormPage) Icon ¶
func (p *SSideFormPage) Icon() icon.Icon
func (*SSideFormPage) IsDefault ¶
func (p *SSideFormPage) IsDefault() bool
func (*SSideFormPage) NavTabs ¶
func (p *SSideFormPage) NavTabs() navigation.NavTabs
func (*SSideFormPage) Navigation ¶
func (p *SSideFormPage) Navigation() *navigation.Navigation
func (*SSideFormPage) PageHeader ¶
func (p *SSideFormPage) PageHeader() *PageHeader
func (*SSideFormPage) ToolbarEnabled ¶
func (p *SSideFormPage) ToolbarEnabled() bool
func (*SSideFormPage) Type ¶
func (p *SSideFormPage) Type() PageType
func (*SSideFormPage) URL ¶
func (p *SSideFormPage) URL() string
type SideFormPageConfig ¶
type SideFormPageConfig struct { PageConfig Form Form BackgroundImage *url.URL }
type Submit ¶
type Submit struct { Label string `json:"label"` URL string `json:"url"` SearchParams *navigation.SearchParams `json:"searchParams"` Method string `json:"method"` Header *Header `json:"header"` OnSuccess *OnSubmitSuccess `json:"onSuccess"` }
type UUploadPage ¶
type UUploadPage struct { ParamKey string DataLoader *dataloader.DataLoader Form Form Header *PageHeader // contains filtered or unexported fields }
func (*UUploadPage) ID ¶
func (p *UUploadPage) ID() string
func (*UUploadPage) Icon ¶
func (p *UUploadPage) Icon() icon.Icon
func (*UUploadPage) IsDefault ¶
func (p *UUploadPage) IsDefault() bool
func (*UUploadPage) NavTabs ¶
func (p *UUploadPage) NavTabs() navigation.NavTabs
func (*UUploadPage) Navigation ¶
func (p *UUploadPage) Navigation() *navigation.Navigation
func (*UUploadPage) PageHeader ¶
func (p *UUploadPage) PageHeader() *PageHeader
func (*UUploadPage) ToolbarEnabled ¶
func (p *UUploadPage) ToolbarEnabled() bool
func (*UUploadPage) Type ¶
func (p *UUploadPage) Type() PageType
func (*UUploadPage) URL ¶
func (p *UUploadPage) URL() string
type UploadPageConfig ¶
type UploadPageConfig struct { PageConfig ParamKey string DataLoader *dataloader.DataLoader Form Form }
Click to show internal directories.
Click to hide internal directories.