vuetifyx

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 16 Imported by: 24

Documentation

Index

Constants

View Source
const SQLOperatorPlaceholder = "{op}"

Variables

This section is empty.

Functions

func JSComponentsPack

func JSComponentsPack() web.ComponentsPack

func ObjectID

func ObjectID(obj interface{}) string

Types

type AutocompleteDataSource

type AutocompleteDataSource struct {
	RemoteURL string `json:"remote-url"`
	EventName string `json:"event-name"`
	IsPaging  bool   `json:"is-paging"`
	HasIcon   bool   `json:"has-icon"`
}

type CardBuilder

type CardBuilder struct {
	// contains filtered or unexported fields
}

func Card

func Card(children ...h.HTMLComponent) (r *CardBuilder)

func (*CardBuilder) Actions

func (b *CardBuilder) Actions(actions ...h.HTMLComponent) (r *CardBuilder)

func (*CardBuilder) Children

func (b *CardBuilder) Children(comps ...h.HTMLComponent) (r *CardBuilder)

func (*CardBuilder) Class

func (b *CardBuilder) Class(names ...string) (r *CardBuilder)

func (*CardBuilder) Header

func (b *CardBuilder) Header(header ...h.HTMLComponent) (r *CardBuilder)

func (*CardBuilder) HeaderTitle

func (b *CardBuilder) HeaderTitle(title string) (r *CardBuilder)

func (*CardBuilder) MarshalHTML

func (b *CardBuilder) MarshalHTML(ctx context.Context) (r []byte, err error)

func (*CardBuilder) Outlined

func (b *CardBuilder) Outlined(v bool) (r *CardBuilder)

func (*CardBuilder) SystemBar

func (b *CardBuilder) SystemBar(systemBar ...h.HTMLComponent) (r *CardBuilder)

type CellComponentFunc

type CellComponentFunc func(obj interface{}, fieldName string, ctx *web.EventContext) h.HTMLComponent

type CellWrapperFunc

type CellWrapperFunc func(cell h.MutableAttrHTMLComponent, id string, obj interface{}, dataTableID string) h.HTMLComponent

type DataTableBuilder

type DataTableBuilder struct {
	// contains filtered or unexported fields
}

func DataTable

func DataTable(data interface{}) (r *DataTableBuilder)

func (*DataTableBuilder) CellWrapperFunc

func (b *DataTableBuilder) CellWrapperFunc(v CellWrapperFunc) (r *DataTableBuilder)

func (*DataTableBuilder) ClearSelectionLabel

func (b *DataTableBuilder) ClearSelectionLabel(v string) (r *DataTableBuilder)

func (*DataTableBuilder) Column

func (b *DataTableBuilder) Column(name string) (r *DataTableColumnBuilder)

func (*DataTableBuilder) Data

func (b *DataTableBuilder) Data(v interface{}) (r *DataTableBuilder)

func (*DataTableBuilder) HeadCellWrapperFunc

func (b *DataTableBuilder) HeadCellWrapperFunc(v HeadCellWrapperFunc) (r *DataTableBuilder)

func (*DataTableBuilder) LoadMoreAt

func (b *DataTableBuilder) LoadMoreAt(count int, label string) (r *DataTableBuilder)

func (*DataTableBuilder) LoadMoreURL

func (b *DataTableBuilder) LoadMoreURL(url string) (r *DataTableBuilder)

func (*DataTableBuilder) MarshalHTML

func (b *DataTableBuilder) MarshalHTML(c context.Context) (r []byte, err error)

func (*DataTableBuilder) OnClearSelectionFunc

func (b *DataTableBuilder) OnClearSelectionFunc(v OnClearSelectionFunc) (r *DataTableBuilder)

func (*DataTableBuilder) OnSelectAllFunc

func (b *DataTableBuilder) OnSelectAllFunc(v OnSelectAllFunc) (r *DataTableBuilder)

func (*DataTableBuilder) OnSelectFunc

func (b *DataTableBuilder) OnSelectFunc(v OnSelectFunc) (r *DataTableBuilder)

func (*DataTableBuilder) RowExpandFunc

func (b *DataTableBuilder) RowExpandFunc(v RowComponentFunc) (r *DataTableBuilder)

func (*DataTableBuilder) RowMenuItemFunc

func (b *DataTableBuilder) RowMenuItemFunc(v RowMenuItemFunc) (r *DataTableBuilder)

func (*DataTableBuilder) RowMenuItemFuncs

func (b *DataTableBuilder) RowMenuItemFuncs(vs ...RowMenuItemFunc) (r *DataTableBuilder)

func (*DataTableBuilder) RowWrapperFunc

func (b *DataTableBuilder) RowWrapperFunc(v RowWrapperFunc) (r *DataTableBuilder)

func (*DataTableBuilder) Selectable

func (b *DataTableBuilder) Selectable(v bool) (r *DataTableBuilder)

func (*DataTableBuilder) SelectableColumnsBtn

func (b *DataTableBuilder) SelectableColumnsBtn(v h.HTMLComponent) (r *DataTableBuilder)

func (*DataTableBuilder) SelectedCountLabel

func (b *DataTableBuilder) SelectedCountLabel(v string) (r *DataTableBuilder)

func (*DataTableBuilder) SelectionParamName

func (b *DataTableBuilder) SelectionParamName(v string) (r *DataTableBuilder)

func (*DataTableBuilder) Tfoot

func (b *DataTableBuilder) Tfoot(children ...h.HTMLComponent) (r *DataTableBuilder)

func (*DataTableBuilder) WithoutHeader

func (b *DataTableBuilder) WithoutHeader(v bool) (r *DataTableBuilder)

type DataTableColumnBuilder

type DataTableColumnBuilder struct {
	// contains filtered or unexported fields
}

func (*DataTableColumnBuilder) CellComponentFunc

func (*DataTableColumnBuilder) Name

func (*DataTableColumnBuilder) Title

type DatePickerProps

type DatePickerProps struct {
}

type DetailColumnBuilder

type DetailColumnBuilder struct {
	// contains filtered or unexported fields
}

func DetailColumn

func DetailColumn(children ...h.HTMLComponent) (r *DetailColumnBuilder)

func (*DetailColumnBuilder) Append

func (b *DetailColumnBuilder) Append(label string, comp h.HTMLComponent) (r *DetailColumnBuilder)

func (*DetailColumnBuilder) AppendIcon

func (b *DetailColumnBuilder) AppendIcon(label string, icon h.HTMLComponent, comp h.HTMLComponent) (r *DetailColumnBuilder)

func (*DetailColumnBuilder) Children

func (b *DetailColumnBuilder) Children(comps ...h.HTMLComponent) (r *DetailColumnBuilder)

func (*DetailColumnBuilder) Header

func (b *DetailColumnBuilder) Header(text string) (r *DetailColumnBuilder)

func (*DetailColumnBuilder) MarshalHTML

func (b *DetailColumnBuilder) MarshalHTML(ctx context.Context) (r []byte, err error)

type DetailFieldBuilder

type DetailFieldBuilder struct {
	// contains filtered or unexported fields
}

func DetailField

func DetailField(children ...h.HTMLComponent) (r *DetailFieldBuilder)

func (*DetailFieldBuilder) Children

func (b *DetailFieldBuilder) Children(comps ...h.HTMLComponent) (r *DetailFieldBuilder)

func (*DetailFieldBuilder) Icon

func (*DetailFieldBuilder) Label

func (b *DetailFieldBuilder) Label(v string) (r *DetailFieldBuilder)

func (*DetailFieldBuilder) LabelMinWidth

func (b *DetailFieldBuilder) LabelMinWidth(v string) (r *DetailFieldBuilder)

func (*DetailFieldBuilder) MarshalHTML

func (b *DetailFieldBuilder) MarshalHTML(ctx context.Context) (r []byte, err error)

type DetailInfoBuilder

type DetailInfoBuilder struct {
	// contains filtered or unexported fields
}

func DetailInfo

func DetailInfo(columns ...h.HTMLComponent) (r *DetailInfoBuilder)

func (*DetailInfoBuilder) Class

func (b *DetailInfoBuilder) Class(v ...string) (r *DetailInfoBuilder)

func (*DetailInfoBuilder) MarshalHTML

func (b *DetailInfoBuilder) MarshalHTML(ctx context.Context) (r []byte, err error)

type FilterData

type FilterData []*FilterItem

func (FilterData) Clone

func (fd FilterData) Clone() (r FilterData)

func (FilterData) SetByQueryString

func (fd FilterData) SetByQueryString(qs string) (sqlCondition string, sqlArgs []interface{})

type FilterIndependentTranslations

type FilterIndependentTranslations struct {
	FilterBy string `json:"filterBy,omitempty"`
}

type FilterItem

type FilterItem struct {
	Key                    string                        `json:"key,omitempty"`
	Label                  string                        `json:"label,omitempty"`
	Folded                 bool                          `json:"folded,omitempty"`
	ItemType               FilterItemType                `json:"itemType,omitempty"`
	Selected               bool                          `json:"selected,omitempty"`
	Modifier               FilterItemModifier            `json:"modifier,omitempty"`
	ValueIs                string                        `json:"valueIs,omitempty"`
	ValuesAre              []string                      `json:"valuesAre,omitempty"`
	ValueFrom              string                        `json:"valueFrom,omitempty"`
	ValueTo                string                        `json:"valueTo,omitempty"`
	SQLCondition           string                        `json:"-"`
	Options                []*SelectItem                 `json:"options,omitempty"`
	LinkageSelectData      FilterLinkageSelectData       `json:"linkageSelectData,omitempty"`
	Invisible              bool                          `json:"invisible,omitempty"`
	AutocompleteDataSource *AutocompleteDataSource       `json:"autocompleteDataSource,omitempty"`
	Translations           FilterIndependentTranslations `json:"translations,omitempty"`
}

type FilterItemInTheLastUnit

type FilterItemInTheLastUnit string

type FilterItemModifier

type FilterItemModifier string
const (
	ModifierEquals      FilterItemModifier = "equals"      // String, Number
	ModifierBetween     FilterItemModifier = "between"     // DatetimeRange, Number
	ModifierGreaterThan FilterItemModifier = "greaterThan" // Number
	ModifierLessThan    FilterItemModifier = "lessThan"    // Number
	ModifierContains    FilterItemModifier = "contains"    // String
	ModifierIn          FilterItemModifier = "in"          // String
	ModifierNotIn       FilterItemModifier = "notIn"       // String
)

type FilterItemType

type FilterItemType string
const (
	ItemTypeDatetimeRange  FilterItemType = "DatetimeRangeItem"
	ItemTypeDateRange      FilterItemType = "DateRangeItem"
	ItemTypeDate           FilterItemType = "DateItem"
	ItemTypeSelect         FilterItemType = "SelectItem"
	ItemTypeMultipleSelect FilterItemType = "MultipleSelectItem"
	ItemTypeLinkageSelect  FilterItemType = "LinkageSelectItem"
	ItemTypeNumber         FilterItemType = "NumberItem"
	ItemTypeString         FilterItemType = "StringItem"
)

type FilterLinkageSelectData

type FilterLinkageSelectData struct {
	Items            [][]*LinkageSelectItem `json:"items,omitempty"`
	Labels           []string               `json:"labels,omitempty"`
	SelectOutOfOrder bool                   `json:"selectOutOfOrder,omitempty"`
	SQLConditions    []string               `json:"-"`
}

type FilterTranslations

type FilterTranslations struct {
	Clear string `json:"clear,omitempty"`
	Add   string `json:"add,omitempty"`
	Apply string `json:"apply,omitempty"`

	Date struct {
		To string `json:"to,omitempty"`
	} `json:"date,omitempty"`

	Number struct {
		Equals      string `json:"equals,omitempty"`
		Between     string `json:"between,omitempty"`
		GreaterThan string `json:"greaterThan,omitempty"`
		LessThan    string `json:"lessThan,omitempty"`
		And         string `json:"and,omitempty"`
	} `json:"number,omitempty"`

	String struct {
		Equals   string `json:"equals,omitempty"`
		Contains string `json:"contains,omitempty"`
	} `json:"string,omitempty"`

	MultipleSelect struct {
		In    string `json:"in,omitempty"`
		NotIn string `json:"notIn,omitempty"`
	} `json:"multipleSelect,omitempty"`
}
translations: {
	type: Object,
	default: () => {
		return {
			date: {
				to: 'to',
			},
			number: {
				equals: 'is equal to',
				between: 'between',
				greaterThan: 'is greater than',
				lessThan: 'is less than',
				and: 'and',
			},
			string: {
				equals: 'is equal to',
				contains: 'contains',
			},
			clear: 'Clear',
			filters: 'Filters',
			filter: 'Filter',
			done: 'Done',
		};
	},

type HeadCellWrapperFunc

type HeadCellWrapperFunc func(cell h.MutableAttrHTMLComponent, field string, title string) h.HTMLComponent

type KeyFieldBuilder

type KeyFieldBuilder struct {
	// contains filtered or unexported fields
}

func KeyField

func KeyField(children ...h.HTMLComponent) (r *KeyFieldBuilder)

func (*KeyFieldBuilder) Children

func (b *KeyFieldBuilder) Children(comps ...h.HTMLComponent) (r *KeyFieldBuilder)

func (*KeyFieldBuilder) Icon

func (*KeyFieldBuilder) Label

func (b *KeyFieldBuilder) Label(v string) (r *KeyFieldBuilder)

func (*KeyFieldBuilder) MarshalHTML

func (b *KeyFieldBuilder) MarshalHTML(ctx context.Context) (r []byte, err error)

type KeyInfoBuilder

type KeyInfoBuilder struct {
	// contains filtered or unexported fields
}

func KeyInfo

func KeyInfo(children ...h.HTMLComponent) (r *KeyInfoBuilder)

func (*KeyInfoBuilder) Append

func (b *KeyInfoBuilder) Append(label string, comp h.HTMLComponent) (r *KeyInfoBuilder)

func (*KeyInfoBuilder) AppendIcon

func (b *KeyInfoBuilder) AppendIcon(label string, icon h.HTMLComponent, comp h.HTMLComponent) (r *KeyInfoBuilder)

func (*KeyInfoBuilder) Children

func (b *KeyInfoBuilder) Children(comps ...h.HTMLComponent) (r *KeyInfoBuilder)

func (*KeyInfoBuilder) MarshalHTML

func (b *KeyInfoBuilder) MarshalHTML(ctx context.Context) (r []byte, err error)

type LinkageSelectItem

type LinkageSelectItem struct {
	ID          string
	Name        string
	ChildrenIDs []string
}

type OnClearSelectionFunc

type OnClearSelectionFunc func(ctx *web.EventContext) string

type OnSelectAllFunc

type OnSelectAllFunc func(idsOfPage []string, ctx *web.EventContext) string

type OnSelectFunc

type OnSelectFunc func(id string, ctx *web.EventContext) string

type OptionalTextBuilder

type OptionalTextBuilder struct {
	// contains filtered or unexported fields
}

func OptionalText

func OptionalText(text string) (r *OptionalTextBuilder)

func (*OptionalTextBuilder) MarshalHTML

func (b *OptionalTextBuilder) MarshalHTML(ctx context.Context) (r []byte, err error)

func (*OptionalTextBuilder) ZeroLabel

func (b *OptionalTextBuilder) ZeroLabel(label string) (r *OptionalTextBuilder)

type PickerBuilder

type PickerBuilder struct {
	// contains filtered or unexported fields
}

func Picker

func (*PickerBuilder) FieldName

func (b *PickerBuilder) FieldName(v string) (r *PickerBuilder)

func (*PickerBuilder) Label

func (b *PickerBuilder) Label(v string) (r *PickerBuilder)

func (*PickerBuilder) MarshalHTML

func (b *PickerBuilder) MarshalHTML(ctx context.Context) ([]byte, error)

func (*PickerBuilder) Value

func (b *PickerBuilder) Value(v interface{}) (r *PickerBuilder)

type RowComponentFunc

type RowComponentFunc func(obj interface{}, ctx *web.EventContext) h.HTMLComponent

type RowMenuItemFunc

type RowMenuItemFunc func(obj interface{}, id string, ctx *web.EventContext) h.HTMLComponent

type RowWrapperFunc

type RowWrapperFunc func(row h.MutableAttrHTMLComponent, id string, obj interface{}, dataTableID string) h.HTMLComponent

type SelectItem

type SelectItem struct {
	Text         string `json:"text,omitempty"`
	Value        string `json:"value,omitempty"`
	SQLCondition string `json:"-"`
}

type TimePickerProps

type TimePickerProps struct {
	Format     string `json:"format"` // 可用的选项是 ampm 和 24hr
	Scrollable bool   `json:"scrollable"`
	UseSeconds bool   `json:"use-seconds"`
	NoTitle    bool   `json:"no-title"`
}

type VXAutocompleteBuilder

type VXAutocompleteBuilder struct {
	// contains filtered or unexported fields
}

func VXAutocomplete

func VXAutocomplete(children ...h.HTMLComponent) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) AllowOverflow

func (b *VXAutocompleteBuilder) AllowOverflow(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) AppendChildren

func (b *VXAutocompleteBuilder) AppendChildren(children ...h.HTMLComponent) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) AppendIcon

func (b *VXAutocompleteBuilder) AppendIcon(v string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) AppendOuterIcon

func (b *VXAutocompleteBuilder) AppendOuterIcon(v string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Attach

func (b *VXAutocompleteBuilder) Attach(v interface{}) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Attr

func (b *VXAutocompleteBuilder) Attr(vs ...interface{}) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) AutoSelectFirst

func (b *VXAutocompleteBuilder) AutoSelectFirst(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Autofocus

func (b *VXAutocompleteBuilder) Autofocus(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) BackgroundColor

func (b *VXAutocompleteBuilder) BackgroundColor(v string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Bind

func (b *VXAutocompleteBuilder) Bind(name string, value string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) CacheItems

func (b *VXAutocompleteBuilder) CacheItems(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Children

func (b *VXAutocompleteBuilder) Children(children ...h.HTMLComponent) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) ChipColor

func (b *VXAutocompleteBuilder) ChipColor(v string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) ChipTextColor

func (b *VXAutocompleteBuilder) ChipTextColor(v string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Chips

func (*VXAutocompleteBuilder) Class

func (b *VXAutocompleteBuilder) Class(names ...string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) ClassIf

func (b *VXAutocompleteBuilder) ClassIf(name string, add bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) ClearIcon

func (b *VXAutocompleteBuilder) ClearIcon(v string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Clearable

func (b *VXAutocompleteBuilder) Clearable(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Color

func (*VXAutocompleteBuilder) Counter

func (b *VXAutocompleteBuilder) Counter(v int) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) CounterValue

func (b *VXAutocompleteBuilder) CounterValue(v interface{}) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Dark

func (*VXAutocompleteBuilder) DeletableChips

func (b *VXAutocompleteBuilder) DeletableChips(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Dense

func (*VXAutocompleteBuilder) DisableLookup

func (b *VXAutocompleteBuilder) DisableLookup(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Disabled

func (b *VXAutocompleteBuilder) Disabled(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Eager

func (*VXAutocompleteBuilder) Error

func (*VXAutocompleteBuilder) ErrorCount

func (b *VXAutocompleteBuilder) ErrorCount(v int) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) ErrorMessages

func (b *VXAutocompleteBuilder) ErrorMessages(v ...string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) FieldName

func (b *VXAutocompleteBuilder) FieldName(v string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Filled

func (*VXAutocompleteBuilder) Filter

func (b *VXAutocompleteBuilder) Filter(v interface{}) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Flat

func (*VXAutocompleteBuilder) FullWidth

func (b *VXAutocompleteBuilder) FullWidth(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) HasIcon

func (*VXAutocompleteBuilder) Height

func (*VXAutocompleteBuilder) HideDetails

func (b *VXAutocompleteBuilder) HideDetails(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) HideNoData

func (b *VXAutocompleteBuilder) HideNoData(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) HideSelected

func (b *VXAutocompleteBuilder) HideSelected(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Hint

func (*VXAutocompleteBuilder) Id

func (*VXAutocompleteBuilder) ItemColor

func (b *VXAutocompleteBuilder) ItemColor(v string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) ItemDisabled

func (b *VXAutocompleteBuilder) ItemDisabled(v string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) ItemText

func (*VXAutocompleteBuilder) ItemValue

func (b *VXAutocompleteBuilder) ItemValue(v string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Items

func (b *VXAutocompleteBuilder) Items(v interface{}) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Label

func (*VXAutocompleteBuilder) Light

func (*VXAutocompleteBuilder) LoaderHeight

func (b *VXAutocompleteBuilder) LoaderHeight(v int) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Loading

func (*VXAutocompleteBuilder) MarshalHTML

func (b *VXAutocompleteBuilder) MarshalHTML(ctx context.Context) (r []byte, err error)

func (*VXAutocompleteBuilder) MenuProps

func (b *VXAutocompleteBuilder) MenuProps(v interface{}) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Messages

func (*VXAutocompleteBuilder) Multiple

func (b *VXAutocompleteBuilder) Multiple(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) NoDataText

func (b *VXAutocompleteBuilder) NoDataText(v string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) NoFilter

func (b *VXAutocompleteBuilder) NoFilter(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) On

func (b *VXAutocompleteBuilder) On(name string, value string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) OpenOnClear

func (b *VXAutocompleteBuilder) OpenOnClear(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Outlined

func (b *VXAutocompleteBuilder) Outlined(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) PersistentHint

func (b *VXAutocompleteBuilder) PersistentHint(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) PersistentPlaceholder

func (b *VXAutocompleteBuilder) PersistentPlaceholder(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Placeholder

func (b *VXAutocompleteBuilder) Placeholder(v string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Prefix

func (*VXAutocompleteBuilder) PrependChildren

func (b *VXAutocompleteBuilder) PrependChildren(children ...h.HTMLComponent) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) PrependIcon

func (b *VXAutocompleteBuilder) PrependIcon(v string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) PrependInnerIcon

func (b *VXAutocompleteBuilder) PrependInnerIcon(v string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Readonly

func (b *VXAutocompleteBuilder) Readonly(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) ReturnObject

func (b *VXAutocompleteBuilder) ReturnObject(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Reverse

func (*VXAutocompleteBuilder) Rounded

func (*VXAutocompleteBuilder) Rules

func (b *VXAutocompleteBuilder) Rules(v interface{}) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) SearchInput

func (b *VXAutocompleteBuilder) SearchInput(v string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) SelectedItems

func (b *VXAutocompleteBuilder) SelectedItems(v interface{}) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) SetAttr

func (b *VXAutocompleteBuilder) SetAttr(k string, v interface{})

func (*VXAutocompleteBuilder) SetDataSource

func (*VXAutocompleteBuilder) Shaped

func (*VXAutocompleteBuilder) SingleLine

func (b *VXAutocompleteBuilder) SingleLine(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) SmallChips

func (b *VXAutocompleteBuilder) SmallChips(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Solo

func (*VXAutocompleteBuilder) SoloInverted

func (b *VXAutocompleteBuilder) SoloInverted(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Sorting

func (*VXAutocompleteBuilder) Success

func (*VXAutocompleteBuilder) SuccessMessages

func (b *VXAutocompleteBuilder) SuccessMessages(v string) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Suffix

func (*VXAutocompleteBuilder) Type

func (*VXAutocompleteBuilder) ValidateOnBlur

func (b *VXAutocompleteBuilder) ValidateOnBlur(v bool) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) Value

func (b *VXAutocompleteBuilder) Value(v interface{}) (r *VXAutocompleteBuilder)

func (*VXAutocompleteBuilder) ValueComparator

func (b *VXAutocompleteBuilder) ValueComparator(v interface{}) (r *VXAutocompleteBuilder)

type VXDateTimePickerBuilder

type VXDateTimePickerBuilder struct {
	// contains filtered or unexported fields
}

func VXDateTimePicker

func VXDateTimePicker() (r *VXDateTimePickerBuilder)

func (*VXDateTimePickerBuilder) Attr

func (b *VXDateTimePickerBuilder) Attr(vs ...interface{}) (r *VXDateTimePickerBuilder)

func (*VXDateTimePickerBuilder) ClearText

func (*VXDateTimePickerBuilder) DateFormat

func (*VXDateTimePickerBuilder) DatePickerProps

func (*VXDateTimePickerBuilder) DialogWidth

func (b *VXDateTimePickerBuilder) DialogWidth(v int) (r *VXDateTimePickerBuilder)

func (*VXDateTimePickerBuilder) Disabled

func (*VXDateTimePickerBuilder) FieldName

func (*VXDateTimePickerBuilder) HideDetails

func (b *VXDateTimePickerBuilder) HideDetails(v bool) (r *VXDateTimePickerBuilder)

func (*VXDateTimePickerBuilder) Label

func (*VXDateTimePickerBuilder) MarshalHTML

func (b *VXDateTimePickerBuilder) MarshalHTML(ctx context.Context) (r []byte, err error)

func (*VXDateTimePickerBuilder) OkText

func (*VXDateTimePickerBuilder) SetAttr

func (b *VXDateTimePickerBuilder) SetAttr(k string, v interface{})

func (*VXDateTimePickerBuilder) TimeFormat

func (*VXDateTimePickerBuilder) TimePickerProps

func (*VXDateTimePickerBuilder) Value

type VXFilterBuilder

type VXFilterBuilder struct {
	// contains filtered or unexported fields
}

func VXFilter

func VXFilter(value FilterData) (r *VXFilterBuilder)

func (*VXFilterBuilder) Attr

func (b *VXFilterBuilder) Attr(vs ...interface{}) (r *VXFilterBuilder)

func (*VXFilterBuilder) MarshalHTML

func (b *VXFilterBuilder) MarshalHTML(ctx context.Context) (r []byte, err error)

func (*VXFilterBuilder) OnChange

func (b *VXFilterBuilder) OnChange(v interface{}) (r *VXFilterBuilder)

func (*VXFilterBuilder) Translations

func (b *VXFilterBuilder) Translations(v FilterTranslations) (r *VXFilterBuilder)

func (*VXFilterBuilder) Value

func (b *VXFilterBuilder) Value(v FilterData) (r *VXFilterBuilder)

type VXLinkageSelectBuilber

type VXLinkageSelectBuilber struct {
	// contains filtered or unexported fields
}

func VXLinkageSelect

func VXLinkageSelect() *VXLinkageSelectBuilber

func (*VXLinkageSelectBuilber) Chips

func (*VXLinkageSelectBuilber) Disabled

func (*VXLinkageSelectBuilber) ErrorMessages

func (b *VXLinkageSelectBuilber) ErrorMessages(vs ...[]string) (r *VXLinkageSelectBuilber)

func (*VXLinkageSelectBuilber) FieldName

func (*VXLinkageSelectBuilber) Items

func (*VXLinkageSelectBuilber) Labels

func (*VXLinkageSelectBuilber) MarshalHTML

func (b *VXLinkageSelectBuilber) MarshalHTML(ctx context.Context) ([]byte, error)

func (*VXLinkageSelectBuilber) Row

func (*VXLinkageSelectBuilber) SelectOutOfOrder

func (b *VXLinkageSelectBuilber) SelectOutOfOrder(v bool) (r *VXLinkageSelectBuilber)

func (*VXLinkageSelectBuilber) SelectedIDs

func (b *VXLinkageSelectBuilber) SelectedIDs(vs ...string) (r *VXLinkageSelectBuilber)

type VXMessageListenerBuilder

type VXMessageListenerBuilder struct {
	// contains filtered or unexported fields
}

func VXMessageListener

func VXMessageListener() (r *VXMessageListenerBuilder)

func (*VXMessageListenerBuilder) ListenFunc

func (*VXMessageListenerBuilder) MarshalHTML

func (b *VXMessageListenerBuilder) MarshalHTML(ctx context.Context) (r []byte, err error)

type VXReadonlyFieldBuilder

type VXReadonlyFieldBuilder struct {
	// contains filtered or unexported fields
}

func VXReadonlyField

func VXReadonlyField(children ...h.HTMLComponent) *VXReadonlyFieldBuilder

func (*VXReadonlyFieldBuilder) Checkbox

func (*VXReadonlyFieldBuilder) Children

func (*VXReadonlyFieldBuilder) Label

func (*VXReadonlyFieldBuilder) MarshalHTML

func (b *VXReadonlyFieldBuilder) MarshalHTML(ctx context.Context) ([]byte, error)

func (*VXReadonlyFieldBuilder) Value

func (b *VXReadonlyFieldBuilder) Value(v interface{}) *VXReadonlyFieldBuilder

type VXSelectBuilder

type VXSelectBuilder struct {
	// contains filtered or unexported fields
}

func VXSelect

func VXSelect(children ...h.HTMLComponent) (r *VXSelectBuilder)

func (*VXSelectBuilder) AppendChildren

func (b *VXSelectBuilder) AppendChildren(children ...h.HTMLComponent) (r *VXSelectBuilder)

func (*VXSelectBuilder) AppendIcon

func (b *VXSelectBuilder) AppendIcon(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) AppendOuterIcon

func (b *VXSelectBuilder) AppendOuterIcon(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) Attach

func (b *VXSelectBuilder) Attach(v interface{}) (r *VXSelectBuilder)

func (*VXSelectBuilder) Attr

func (b *VXSelectBuilder) Attr(vs ...interface{}) (r *VXSelectBuilder)

func (*VXSelectBuilder) Autofocus

func (b *VXSelectBuilder) Autofocus(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) BackgroundColor

func (b *VXSelectBuilder) BackgroundColor(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) Bind

func (b *VXSelectBuilder) Bind(name string, value string) (r *VXSelectBuilder)

func (*VXSelectBuilder) CacheItems

func (b *VXSelectBuilder) CacheItems(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Children

func (b *VXSelectBuilder) Children(children ...h.HTMLComponent) (r *VXSelectBuilder)

func (*VXSelectBuilder) Chips

func (b *VXSelectBuilder) Chips(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Class

func (b *VXSelectBuilder) Class(names ...string) (r *VXSelectBuilder)

func (*VXSelectBuilder) ClassIf

func (b *VXSelectBuilder) ClassIf(name string, add bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) ClearIcon

func (b *VXSelectBuilder) ClearIcon(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) Clearable

func (b *VXSelectBuilder) Clearable(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Color

func (b *VXSelectBuilder) Color(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) Counter

func (b *VXSelectBuilder) Counter(v int) (r *VXSelectBuilder)

func (*VXSelectBuilder) CounterValue

func (b *VXSelectBuilder) CounterValue(v interface{}) (r *VXSelectBuilder)

func (*VXSelectBuilder) Dark

func (b *VXSelectBuilder) Dark(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) DeletableChips

func (b *VXSelectBuilder) DeletableChips(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Dense

func (b *VXSelectBuilder) Dense(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) DisableLookup

func (b *VXSelectBuilder) DisableLookup(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Disabled

func (b *VXSelectBuilder) Disabled(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Eager

func (b *VXSelectBuilder) Eager(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Error

func (b *VXSelectBuilder) Error(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) ErrorCount

func (b *VXSelectBuilder) ErrorCount(v int) (r *VXSelectBuilder)

func (*VXSelectBuilder) ErrorMessages

func (b *VXSelectBuilder) ErrorMessages(v ...string) (r *VXSelectBuilder)

func (*VXSelectBuilder) FieldName

func (b *VXSelectBuilder) FieldName(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) Filled

func (b *VXSelectBuilder) Filled(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Flat

func (b *VXSelectBuilder) Flat(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) FullWidth

func (b *VXSelectBuilder) FullWidth(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Height

func (b *VXSelectBuilder) Height(v int) (r *VXSelectBuilder)

func (*VXSelectBuilder) HideDetails

func (b *VXSelectBuilder) HideDetails(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) HideSelected

func (b *VXSelectBuilder) HideSelected(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Hint

func (b *VXSelectBuilder) Hint(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) Id

func (b *VXSelectBuilder) Id(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) ItemColor

func (b *VXSelectBuilder) ItemColor(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) ItemDisabled

func (b *VXSelectBuilder) ItemDisabled(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) ItemText

func (b *VXSelectBuilder) ItemText(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) ItemValue

func (b *VXSelectBuilder) ItemValue(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) Items

func (b *VXSelectBuilder) Items(v interface{}) (r *VXSelectBuilder)

func (*VXSelectBuilder) Label

func (b *VXSelectBuilder) Label(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) Light

func (b *VXSelectBuilder) Light(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) LoaderHeight

func (b *VXSelectBuilder) LoaderHeight(v int) (r *VXSelectBuilder)

func (*VXSelectBuilder) Loading

func (b *VXSelectBuilder) Loading(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) MarshalHTML

func (b *VXSelectBuilder) MarshalHTML(ctx context.Context) (r []byte, err error)

func (*VXSelectBuilder) MenuProps

func (b *VXSelectBuilder) MenuProps(v interface{}) (r *VXSelectBuilder)

func (*VXSelectBuilder) Messages

func (b *VXSelectBuilder) Messages(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) Multiple

func (b *VXSelectBuilder) Multiple(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) NoDataText

func (b *VXSelectBuilder) NoDataText(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) On

func (b *VXSelectBuilder) On(name string, value string) (r *VXSelectBuilder)

func (*VXSelectBuilder) OpenOnClear

func (b *VXSelectBuilder) OpenOnClear(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Outlined

func (b *VXSelectBuilder) Outlined(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) PersistentHint

func (b *VXSelectBuilder) PersistentHint(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) PersistentPlaceholder

func (b *VXSelectBuilder) PersistentPlaceholder(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Placeholder

func (b *VXSelectBuilder) Placeholder(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) Prefix

func (b *VXSelectBuilder) Prefix(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) PrependChildren

func (b *VXSelectBuilder) PrependChildren(children ...h.HTMLComponent) (r *VXSelectBuilder)

func (*VXSelectBuilder) PrependIcon

func (b *VXSelectBuilder) PrependIcon(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) PrependInnerIcon

func (b *VXSelectBuilder) PrependInnerIcon(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) Readonly

func (b *VXSelectBuilder) Readonly(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) ReturnObject

func (b *VXSelectBuilder) ReturnObject(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Reverse

func (b *VXSelectBuilder) Reverse(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Rounded

func (b *VXSelectBuilder) Rounded(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Rules

func (b *VXSelectBuilder) Rules(v interface{}) (r *VXSelectBuilder)

func (*VXSelectBuilder) SelectedItems

func (b *VXSelectBuilder) SelectedItems(v interface{}) (r *VXSelectBuilder)

func (*VXSelectBuilder) SetAttr

func (b *VXSelectBuilder) SetAttr(k string, v interface{})

func (*VXSelectBuilder) Shaped

func (b *VXSelectBuilder) Shaped(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) SingleLine

func (b *VXSelectBuilder) SingleLine(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) SmallChips

func (b *VXSelectBuilder) SmallChips(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Solo

func (b *VXSelectBuilder) Solo(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) SoloInverted

func (b *VXSelectBuilder) SoloInverted(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Success

func (b *VXSelectBuilder) Success(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) SuccessMessages

func (b *VXSelectBuilder) SuccessMessages(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) Suffix

func (b *VXSelectBuilder) Suffix(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) Type

func (b *VXSelectBuilder) Type(v string) (r *VXSelectBuilder)

func (*VXSelectBuilder) ValidateOnBlur

func (b *VXSelectBuilder) ValidateOnBlur(v bool) (r *VXSelectBuilder)

func (*VXSelectBuilder) Value

func (b *VXSelectBuilder) Value(v interface{}) (r *VXSelectBuilder)

func (*VXSelectBuilder) ValueComparator

func (b *VXSelectBuilder) ValueComparator(v interface{}) (r *VXSelectBuilder)

type VXSelectManyBuilder

type VXSelectManyBuilder struct {
	// contains filtered or unexported fields
}

func VXSelectMany

func VXSelectMany(children ...h.HTMLComponent) (r *VXSelectManyBuilder)

func (*VXSelectManyBuilder) AddItemLabel

func (b *VXSelectManyBuilder) AddItemLabel(v string) (r *VXSelectManyBuilder)

func (*VXSelectManyBuilder) FieldName

func (b *VXSelectManyBuilder) FieldName(v string) (r *VXSelectManyBuilder)

func (*VXSelectManyBuilder) ItemText

func (b *VXSelectManyBuilder) ItemText(v string) (r *VXSelectManyBuilder)

func (*VXSelectManyBuilder) ItemValue

func (b *VXSelectManyBuilder) ItemValue(v string) (r *VXSelectManyBuilder)

func (*VXSelectManyBuilder) Items

func (b *VXSelectManyBuilder) Items(v interface{}) (r *VXSelectManyBuilder)

func (*VXSelectManyBuilder) Label

func (*VXSelectManyBuilder) MarshalHTML

func (b *VXSelectManyBuilder) MarshalHTML(ctx context.Context) (r []byte, err error)

func (*VXSelectManyBuilder) SearchItemsFunc

func (b *VXSelectManyBuilder) SearchItemsFunc(v string) (r *VXSelectManyBuilder)

func (*VXSelectManyBuilder) SelectedItems

func (b *VXSelectManyBuilder) SelectedItems(v interface{}) (r *VXSelectManyBuilder)

type VXTablePaginationBuilder

type VXTablePaginationBuilder struct {
	// contains filtered or unexported fields
}

func VXTablePagination

func VXTablePagination() *VXTablePaginationBuilder

func (*VXTablePaginationBuilder) CurrPage

func (*VXTablePaginationBuilder) CustomPerPages

func (tpb *VXTablePaginationBuilder) CustomPerPages(v []int64) *VXTablePaginationBuilder

func (*VXTablePaginationBuilder) MarshalHTML

func (tpb *VXTablePaginationBuilder) MarshalHTML(ctx context.Context) ([]byte, error)

func (*VXTablePaginationBuilder) NoPerPagePart

func (*VXTablePaginationBuilder) OnNextPage

func (tpb *VXTablePaginationBuilder) OnNextPage(v interface{}) *VXTablePaginationBuilder

func (*VXTablePaginationBuilder) OnPrevPage

func (tpb *VXTablePaginationBuilder) OnPrevPage(v interface{}) *VXTablePaginationBuilder

func (*VXTablePaginationBuilder) OnSelectPerPage

func (tpb *VXTablePaginationBuilder) OnSelectPerPage(v interface{}) *VXTablePaginationBuilder

func (*VXTablePaginationBuilder) PerPage

func (*VXTablePaginationBuilder) PerPageText

func (*VXTablePaginationBuilder) Total

Jump to

Keyboard shortcuts

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