components

package
v0.1.43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayDiffs

func DisplayDiffs(value util.Diffs) string

func DisplayTimestamp

func DisplayTimestamp(value *time.Time) string

func DisplayUUID

func DisplayUUID(value *uuid.UUID) string

func ExpandCollapse

func ExpandCollapse(indent int, ps *cutil.PageState) string

func FormCheckbox

func FormCheckbox(key string, values []string, opts []string, titles []string, linebreaks bool, indent int) string

func FormInput

func FormInput(key string, id string, value string, placeholder ...string) string

func FormInputNumber

func FormInputNumber(key string, id string, value any, placeholder ...string) string

func FormInputPassword

func FormInputPassword(key string, id string, value string, placeholder ...string) string

func FormInputTimestamp

func FormInputTimestamp(key string, id string, value *time.Time, placeholder ...string) string

func FormInputUUID added in v0.1.42

func FormInputUUID(key string, id string, value *uuid.UUID, placeholder ...string) string

func FormRadio

func FormRadio(key string, value string, opts []string, titles []string, indent int) string

func FormSelect

func FormSelect(key string, id string, value string, opts []string, titles []string, indent int) string

func FormTextarea

func FormTextarea(key string, id string, rows int, value string, placeholder ...string) string

func IconGallery

func IconGallery(as *app.State, ps *cutil.PageState) string

func IconPicker

func IconPicker(selected string, name string, ps *cutil.PageState, indent int) string

func JSON

func JSON(v any) string

func JSONModal

func JSONModal(key string, title string, item any, indent int) string

func Pagination

func Pagination(count int, params *filter.Params, u *fasthttp.URI) string

func SVG

func SVG(k string) string

func SVGRef

func SVGRef(k string, w int, h int, cls string, ps *cutil.PageState) string

func SVGRefIcon

func SVGRefIcon(k string, ps *cutil.PageState) string

func StreamDisplayDiffs

func StreamDisplayDiffs(qw422016 *qt422016.Writer, value util.Diffs)

func StreamDisplayTimestamp

func StreamDisplayTimestamp(qw422016 *qt422016.Writer, value *time.Time)

func StreamDisplayUUID

func StreamDisplayUUID(qw422016 *qt422016.Writer, value *uuid.UUID)

func StreamExpandCollapse

func StreamExpandCollapse(qw422016 *qt422016.Writer, indent int, ps *cutil.PageState)

func StreamFormCheckbox

func StreamFormCheckbox(qw422016 *qt422016.Writer, key string, values []string, opts []string, titles []string, linebreaks bool, indent int)

func StreamFormInput

func StreamFormInput(qw422016 *qt422016.Writer, key string, id string, value string, placeholder ...string)

func StreamFormInputNumber

func StreamFormInputNumber(qw422016 *qt422016.Writer, key string, id string, value any, placeholder ...string)

func StreamFormInputPassword

func StreamFormInputPassword(qw422016 *qt422016.Writer, key string, id string, value string, placeholder ...string)

func StreamFormInputTimestamp

func StreamFormInputTimestamp(qw422016 *qt422016.Writer, key string, id string, value *time.Time, placeholder ...string)

func StreamFormInputUUID added in v0.1.42

func StreamFormInputUUID(qw422016 *qt422016.Writer, key string, id string, value *uuid.UUID, placeholder ...string)

func StreamFormRadio

func StreamFormRadio(qw422016 *qt422016.Writer, key string, value string, opts []string, titles []string, indent int)

func StreamFormSelect

func StreamFormSelect(qw422016 *qt422016.Writer, key string, id string, value string, opts []string, titles []string, indent int)

func StreamFormTextarea

func StreamFormTextarea(qw422016 *qt422016.Writer, key string, id string, rows int, value string, placeholder ...string)

func StreamIconGallery

func StreamIconGallery(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func StreamIconPicker

func StreamIconPicker(qw422016 *qt422016.Writer, selected string, name string, ps *cutil.PageState, indent int)

func StreamJSON

func StreamJSON(qw422016 *qt422016.Writer, v any)

func StreamJSONModal

func StreamJSONModal(qw422016 *qt422016.Writer, key string, title string, item any, indent int)

func StreamPagination

func StreamPagination(qw422016 *qt422016.Writer, count int, params *filter.Params, u *fasthttp.URI)

func StreamSVG

func StreamSVG(qw422016 *qt422016.Writer, k string)

func StreamSVGRef

func StreamSVGRef(qw422016 *qt422016.Writer, k string, w int, h int, cls string, ps *cutil.PageState)

func StreamSVGRefIcon

func StreamSVGRefIcon(qw422016 *qt422016.Writer, k string, ps *cutil.PageState)

func StreamTableBoolean

func StreamTableBoolean(qw422016 *qt422016.Writer, key string, title string, value bool, indent int, help ...string)

func StreamTableCheckbox

func StreamTableCheckbox(qw422016 *qt422016.Writer, key string, title string, values []string, opts []string, titles []string, linebreaks bool, indent int, help ...string)

func StreamTableHeader

func StreamTableHeader(qw422016 *qt422016.Writer, section string, key string, title string, params *filter.Params, icon string, u *fasthttp.URI, tooltip string, sortable bool, cls string, resizable bool, ps *cutil.PageState)

func StreamTableHeaderSimple

func StreamTableHeaderSimple(qw422016 *qt422016.Writer, section string, key string, title string, tooltip string, params *filter.Params, u *fasthttp.URI, ps *cutil.PageState)

func StreamTableIcons

func StreamTableIcons(qw422016 *qt422016.Writer, key string, title string, value string, ps *cutil.PageState, indent int, help ...string)

func StreamTableInput

func StreamTableInput(qw422016 *qt422016.Writer, key string, title string, value string, indent int, help ...string)

func StreamTableInputNumber

func StreamTableInputNumber(qw422016 *qt422016.Writer, key string, title string, value int, indent int, help ...string)

func StreamTableInputPassword

func StreamTableInputPassword(qw422016 *qt422016.Writer, key string, title string, value string, indent int, help ...string)

func StreamTableInputTimestamp

func StreamTableInputTimestamp(qw422016 *qt422016.Writer, key string, title string, value *time.Time, indent int, help ...string)

func StreamTableInputUUID added in v0.1.42

func StreamTableInputUUID(qw422016 *qt422016.Writer, key string, title string, value *uuid.UUID, indent int, help ...string)

func StreamTableRadio

func StreamTableRadio(qw422016 *qt422016.Writer, key string, title string, value string, opts []string, titles []string, indent int, help ...string)

func StreamTableSelect

func StreamTableSelect(qw422016 *qt422016.Writer, key string, title string, value string, opts []string, titles []string, indent int, help ...string)

func StreamTableTextarea

func StreamTableTextarea(qw422016 *qt422016.Writer, key string, title string, rows int, value string, indent int, help ...string)

func TableBoolean

func TableBoolean(key string, title string, value bool, indent int, help ...string) string

func TableCheckbox

func TableCheckbox(key string, title string, values []string, opts []string, titles []string, linebreaks bool, indent int, help ...string) string

func TableHeader

func TableHeader(section string, key string, title string, params *filter.Params, icon string, u *fasthttp.URI, tooltip string, sortable bool, cls string, resizable bool, ps *cutil.PageState) string

func TableHeaderSimple

func TableHeaderSimple(section string, key string, title string, tooltip string, params *filter.Params, u *fasthttp.URI, ps *cutil.PageState) string

func TableIcons

func TableIcons(key string, title string, value string, ps *cutil.PageState, indent int, help ...string) string

func TableInput

func TableInput(key string, title string, value string, indent int, help ...string) string

func TableInputNumber

func TableInputNumber(key string, title string, value int, indent int, help ...string) string

func TableInputPassword

func TableInputPassword(key string, title string, value string, indent int, help ...string) string

func TableInputTimestamp

func TableInputTimestamp(key string, title string, value *time.Time, indent int, help ...string) string

func TableInputUUID added in v0.1.42

func TableInputUUID(key string, title string, value *uuid.UUID, indent int, help ...string) string

func TableRadio

func TableRadio(key string, title string, value string, opts []string, titles []string, indent int, help ...string) string

func TableSelect

func TableSelect(key string, title string, value string, opts []string, titles []string, indent int, help ...string) string

func TableTextarea

func TableTextarea(key string, title string, rows int, value string, indent int, help ...string) string

func WriteDisplayDiffs

func WriteDisplayDiffs(qq422016 qtio422016.Writer, value util.Diffs)

func WriteDisplayTimestamp

func WriteDisplayTimestamp(qq422016 qtio422016.Writer, value *time.Time)

func WriteDisplayUUID

func WriteDisplayUUID(qq422016 qtio422016.Writer, value *uuid.UUID)

func WriteExpandCollapse

func WriteExpandCollapse(qq422016 qtio422016.Writer, indent int, ps *cutil.PageState)

func WriteFormCheckbox

func WriteFormCheckbox(qq422016 qtio422016.Writer, key string, values []string, opts []string, titles []string, linebreaks bool, indent int)

func WriteFormInput

func WriteFormInput(qq422016 qtio422016.Writer, key string, id string, value string, placeholder ...string)

func WriteFormInputNumber

func WriteFormInputNumber(qq422016 qtio422016.Writer, key string, id string, value any, placeholder ...string)

func WriteFormInputPassword

func WriteFormInputPassword(qq422016 qtio422016.Writer, key string, id string, value string, placeholder ...string)

func WriteFormInputTimestamp

func WriteFormInputTimestamp(qq422016 qtio422016.Writer, key string, id string, value *time.Time, placeholder ...string)

func WriteFormInputUUID added in v0.1.42

func WriteFormInputUUID(qq422016 qtio422016.Writer, key string, id string, value *uuid.UUID, placeholder ...string)

func WriteFormRadio

func WriteFormRadio(qq422016 qtio422016.Writer, key string, value string, opts []string, titles []string, indent int)

func WriteFormSelect

func WriteFormSelect(qq422016 qtio422016.Writer, key string, id string, value string, opts []string, titles []string, indent int)

func WriteFormTextarea

func WriteFormTextarea(qq422016 qtio422016.Writer, key string, id string, rows int, value string, placeholder ...string)

func WriteIconGallery

func WriteIconGallery(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

func WriteIconPicker

func WriteIconPicker(qq422016 qtio422016.Writer, selected string, name string, ps *cutil.PageState, indent int)

func WriteJSON

func WriteJSON(qq422016 qtio422016.Writer, v any)

func WriteJSONModal

func WriteJSONModal(qq422016 qtio422016.Writer, key string, title string, item any, indent int)

func WritePagination

func WritePagination(qq422016 qtio422016.Writer, count int, params *filter.Params, u *fasthttp.URI)

func WriteSVG

func WriteSVG(qq422016 qtio422016.Writer, k string)

func WriteSVGRef

func WriteSVGRef(qq422016 qtio422016.Writer, k string, w int, h int, cls string, ps *cutil.PageState)

func WriteSVGRefIcon

func WriteSVGRefIcon(qq422016 qtio422016.Writer, k string, ps *cutil.PageState)

func WriteTableBoolean

func WriteTableBoolean(qq422016 qtio422016.Writer, key string, title string, value bool, indent int, help ...string)

func WriteTableCheckbox

func WriteTableCheckbox(qq422016 qtio422016.Writer, key string, title string, values []string, opts []string, titles []string, linebreaks bool, indent int, help ...string)

func WriteTableHeader

func WriteTableHeader(qq422016 qtio422016.Writer, section string, key string, title string, params *filter.Params, icon string, u *fasthttp.URI, tooltip string, sortable bool, cls string, resizable bool, ps *cutil.PageState)

func WriteTableHeaderSimple

func WriteTableHeaderSimple(qq422016 qtio422016.Writer, section string, key string, title string, tooltip string, params *filter.Params, u *fasthttp.URI, ps *cutil.PageState)

func WriteTableIcons

func WriteTableIcons(qq422016 qtio422016.Writer, key string, title string, value string, ps *cutil.PageState, indent int, help ...string)

func WriteTableInput

func WriteTableInput(qq422016 qtio422016.Writer, key string, title string, value string, indent int, help ...string)

func WriteTableInputNumber

func WriteTableInputNumber(qq422016 qtio422016.Writer, key string, title string, value int, indent int, help ...string)

func WriteTableInputPassword

func WriteTableInputPassword(qq422016 qtio422016.Writer, key string, title string, value string, indent int, help ...string)

func WriteTableInputTimestamp

func WriteTableInputTimestamp(qq422016 qtio422016.Writer, key string, title string, value *time.Time, indent int, help ...string)

func WriteTableInputUUID added in v0.1.42

func WriteTableInputUUID(qq422016 qtio422016.Writer, key string, title string, value *uuid.UUID, indent int, help ...string)

func WriteTableRadio

func WriteTableRadio(qq422016 qtio422016.Writer, key string, title string, value string, opts []string, titles []string, indent int, help ...string)

func WriteTableSelect

func WriteTableSelect(qq422016 qtio422016.Writer, key string, title string, value string, opts []string, titles []string, indent int, help ...string)

func WriteTableTextarea

func WriteTableTextarea(qq422016 qtio422016.Writer, key string, title string, rows int, value string, indent int, help ...string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL