Versions in this module Expand all Collapse all v1 v1.0.0 Jan 4, 2024 Changes in this version + const ActiveFilterTabQueryKey + const CloseListingDialogVarScript + const ColorPrimary + const ColorSecondary + const ConfirmDialogConfirmEvent + const ConfirmDialogDialogPortalName + const ConfirmDialogPromptText + const CoreI18nModuleKey + const DefaultConfirmDialogPortalName + const DeleteConfirmPortalName + const DialogPortalName + const ListingDialogPortalName + const ModelsI18nModuleKey + const NotificationCenterPortalName + const OpenConfirmDialog + const ParamAction + const ParamAddRowFormKey + const ParamAfterDeleteEvent + const ParamBulkActionName + const ParamID + const ParamInDialog + const ParamIsStartSort + const ParamListingActionName + const ParamListingQueries + const ParamOverlay + const ParamOverlayAfterUpdateScript + const ParamOverlayUpdateID + const ParamRemoveRowFormKey + const ParamSelectedIds + const ParamSortResultFormKey + const ParamSortSectionFormKey + const PermActions + const PermBulkActions + const PermCreate + const PermDelete + const PermDoListingAction + const PermGet + const PermList + const PermModule + const PermUpdate + const RightDrawerPortalName + var ErrRecordNotFound = errors.New("record not found") + var Messages_en_US = &Messages + var Messages_ja_JP = &Messages + var Messages_zh_CN = &Messages + var PermRead = []string + func EditDeleteRowMenuItemFuncs(mi *ModelInfo, url string, editExtraParams url.Values) []vx.RowMenuItemFunc + func InputWithDefaults[T inputElem](input T, obj any, field *FieldContext) T + func IsInDialog(ctx context.Context) bool + func RecoverPrimaryColumnValuesBySlug(dec SlugDecoder, slug string) (r map[string]string, err error) + func RedirectSlashes(next http.Handler) http.Handler + func ShowMessage(r *web.EventResponse, msg string, color string) + type ActionBuilder struct + func (b *ActionBuilder) ButtonColor(v string) (r *ActionBuilder) + func (b *ActionBuilder) ButtonCompFunc(v ComponentFunc) (r *ActionBuilder) + func (b *ActionBuilder) ComponentFunc(v ActionComponentFunc) (r *ActionBuilder) + func (b *ActionBuilder) DialogWidth(v string) (r *ActionBuilder) + func (b *ActionBuilder) Label(v string) (r *ActionBuilder) + func (b *ActionBuilder) UpdateFunc(v ActionUpdateFunc) (r *ActionBuilder) + type ActionComponentFunc func(id string, ctx *web.EventContext) h.HTMLComponent + type ActionUpdateFunc func(id string, ctx *web.EventContext) (err error) + type AddListItemRowEvent struct + Event string + type AssetFunc func(ctx *web.EventContext) + type AutocompleteDataResult struct + Current int + Items []OptionItem + Pages int + Total int + type AutocompleteDataSourceConfig struct + IsPaging bool + KeywordColumns []string + OptionIcon func(interface{}) string + OptionText interface{} + OptionValue string + OrderBy string + PerPage int64 + SQLConditions []*SQLCondition + type Builder struct + func New() *Builder + func (b *Builder) AddMenuTopItemFunc(key string, v ComponentFunc) (r *Builder) + func (b *Builder) AddWrapHandler(key string, f func(in http.Handler) (out http.Handler)) + func (b *Builder) AssetFunc(v AssetFunc) (r *Builder) + func (b *Builder) BrandFunc(v ComponentFunc) (r *Builder) + func (b *Builder) BrandProfileSwitchLanguageDisplayFuncFunc(f func(brand, profile, switchLanguage h.HTMLComponent) h.HTMLComponent) (r *Builder) + func (b *Builder) BrandTitle(v string) (r *Builder) + func (b *Builder) Builder(v *web.Builder) (r *Builder) + func (b *Builder) CreateMenus(ctx *web.EventContext) (r h.HTMLComponent) + func (b *Builder) DataOperator(v DataOperator) (r *Builder) + func (b *Builder) DefaultNotFoundPageFunc(ctx *web.EventContext) (r web.PageResponse, err error) + func (b *Builder) DetailLayoutFunc(v func(in web.PageFunc, cfg *LayoutConfig) (out web.PageFunc)) (r *Builder) + func (b *Builder) ExtraAsset(path string, contentType string, body web.ComponentsPack, refTag ...string) (r *Builder) + func (b *Builder) FieldDefaults(v FieldMode) (r *FieldDefaults) + func (b *Builder) GetBrandTitle() string + func (b *Builder) GetDetailLayoutFunc() func(in web.PageFunc, cfg *LayoutConfig) (out web.PageFunc) + func (b *Builder) GetLayoutFunc() func(in web.PageFunc, cfg *LayoutConfig) (out web.PageFunc) + func (b *Builder) GetPermission() (r *perm.Builder) + func (b *Builder) GetProfileFunc() ComponentFunc + func (b *Builder) GetProgressBarColor() string + func (b *Builder) GetURIPrefix() string + func (b *Builder) GetWebBuilder() (r *web.Builder) + func (b *Builder) HomePageFunc(v web.PageFunc) (r *Builder) + func (b *Builder) HomePageLayoutConfig(v *LayoutConfig) (r *Builder) + func (b *Builder) I18n() (r *i18n.Builder) + func (b *Builder) InjectAssets(ctx *web.EventContext) + func (b *Builder) InjectExtraAssets(ctx *web.EventContext) + func (b *Builder) LayoutFunc(v func(in web.PageFunc, cfg *LayoutConfig) (out web.PageFunc)) (r *Builder) + func (b *Builder) Logger(v *zap.Logger) (r *Builder) + func (b *Builder) MenuGroup(name string) *MenuGroupBuilder + func (b *Builder) MenuOrder(items ...interface{}) + func (b *Builder) MessagesFunc(v MessagesFunc) (r *Builder) + func (b *Builder) Model(v interface{}) (r *ModelBuilder) + func (b *Builder) NewFieldsBuilder(v FieldMode) (r *FieldsBuilder) + func (b *Builder) NotFoundFunc(v web.PageFunc) (r *Builder) + func (b *Builder) NotFoundPageLayoutConfig(v *LayoutConfig) (r *Builder) + func (b *Builder) NotificationFunc(contentFunc ComponentFunc, countFunc func(ctx *web.EventContext) int) (r *Builder) + func (b *Builder) Permission(v *perm.Builder) (r *Builder) + func (b *Builder) PlainLayout(in web.PageFunc) (out web.PageFunc) + func (b *Builder) ProfileFunc(v ComponentFunc) (r *Builder) + func (b *Builder) ProgressBarColor(v string) (r *Builder) + func (b *Builder) RightDrawerWidth(v string) (r *Builder) + func (b *Builder) RunBrandFunc(ctx *web.EventContext) (r h.HTMLComponent) + func (b *Builder) RunBrandProfileSwitchLanguageDisplayFunc(brand, profile, switchLanguage h.HTMLComponent, ctx *web.EventContext) (r h.HTMLComponent) + func (b *Builder) RunSwitchLanguageFunc(ctx *web.EventContext) (r h.HTMLComponent) + func (b *Builder) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (b *Builder) SetI18n(v *i18n.Builder) (r *Builder) + func (b *Builder) SwitchLanguageFunc(v ComponentFunc) (r *Builder) + func (b *Builder) URIPrefix(v string) (r *Builder) + func (b *Builder) VuetifyOptions(v string) (r *Builder) + type BulkActionBuilder struct + func (b *BulkActionBuilder) ButtonColor(v string) (r *BulkActionBuilder) + func (b *BulkActionBuilder) ButtonCompFunc(v ComponentFunc) (r *BulkActionBuilder) + func (b *BulkActionBuilder) ComponentFunc(v BulkActionComponentFunc) (r *BulkActionBuilder) + func (b *BulkActionBuilder) DialogWidth(v string) (r *BulkActionBuilder) + func (b *BulkActionBuilder) Label(v string) (r *BulkActionBuilder) + func (b *BulkActionBuilder) SelectedIdsProcessorFunc(v BulkActionSelectedIdsProcessorFunc) (r *BulkActionBuilder) + func (b *BulkActionBuilder) SelectedIdsProcessorNoticeFunc(v BulkActionSelectedIdsProcessorNoticeFunc) (r *BulkActionBuilder) + func (b *BulkActionBuilder) UpdateFunc(v BulkActionUpdateFunc) (r *BulkActionBuilder) + type BulkActionComponentFunc func(selectedIds []string, ctx *web.EventContext) h.HTMLComponent + type BulkActionSelectedIdsProcessorFunc func(selectedIds []string, ctx *web.EventContext) (processedSelectedIds []string, err error) + type BulkActionSelectedIdsProcessorNoticeFunc func(selectedIds []string, processedSelectedIds []string, unactionableIds []string) string + type BulkActionUpdateFunc func(selectedIds []string, ctx *web.EventContext) (err error) + type ColOrderBy struct + FieldName string + OrderBy string + func GetOrderBysFromQuery(query url.Values) []*ColOrderBy + type ComponentFunc func(ctx *web.EventContext) h.HTMLComponent + type DataOperator interface + Delete func(obj interface{}, id string, ctx *web.EventContext) (err error) + Fetch func(obj interface{}, id string, ctx *web.EventContext) (r interface{}, err error) + Save func(obj interface{}, id string, ctx *web.EventContext) (err error) + Search func(obj interface{}, params *SearchParams, ctx *web.EventContext) (r interface{}, totalCount int, err error) + type DeleteFunc func(obj interface{}, id string, ctx *web.EventContext) (err error) + type DetailingBuilder struct + func (b *DetailingBuilder) Action(name string) (r *ActionBuilder) + func (b *DetailingBuilder) AppendTabsPanelFunc(v ObjectComponentFunc) (r *DetailingBuilder) + func (b *DetailingBuilder) CleanTabsPanels() (r *DetailingBuilder) + func (b *DetailingBuilder) Drawer(v bool) (r *DetailingBuilder) + func (b *DetailingBuilder) Except(vs ...string) (r *DetailingBuilder) + func (b *DetailingBuilder) FetchFunc(v FetchFunc) (r *DetailingBuilder) + func (b *DetailingBuilder) GetFetchFunc() FetchFunc + func (b *DetailingBuilder) GetPageFunc() web.PageFunc + func (b *DetailingBuilder) Only(vs ...interface{}) (r *DetailingBuilder) + func (b *DetailingBuilder) PageFunc(pf web.PageFunc) (r *DetailingBuilder) + func (b *DetailingBuilder) TabsPanelFunc() (r []ObjectComponentFunc) + type DisplayFieldInSorter struct + Field string + type EditingBuilder struct + Deleter DeleteFunc + Fetcher FetchFunc + Saver SaveFunc + Setter SetterFunc + Validator ValidateFunc + func (b *EditingBuilder) ActionsFunc(v ObjectComponentFunc) (r *EditingBuilder) + func (b *EditingBuilder) AppendHiddenFunc(v ObjectComponentFunc) (r *EditingBuilder) + func (b *EditingBuilder) AppendTabsPanelFunc(v ObjectComponentFunc) (r *EditingBuilder) + func (b *EditingBuilder) CleanTabsPanels() (r *EditingBuilder) + func (b *EditingBuilder) Creating(vs ...interface{}) (r *EditingBuilder) + func (b *EditingBuilder) DeleteFunc(v DeleteFunc) (r *EditingBuilder) + func (b *EditingBuilder) EditingTitleFunc(v EditingTitleComponentFunc) (r *EditingBuilder) + func (b *EditingBuilder) Except(vs ...string) (r *EditingBuilder) + func (b *EditingBuilder) FetchAndUnmarshal(id string, removeDeletedAndSort bool, ctx *web.EventContext) (obj interface{}, vErr web.ValidationErrors) + func (b *EditingBuilder) FetchFunc(v FetchFunc) (r *EditingBuilder) + func (b *EditingBuilder) Only(vs ...interface{}) (r *EditingBuilder) + func (b *EditingBuilder) RunSetterFunc(ctx *web.EventContext, removeDeletedAndSort bool, toObj interface{}) (vErr web.ValidationErrors) + func (b *EditingBuilder) SaveFunc(v SaveFunc) (r *EditingBuilder) + func (b *EditingBuilder) SaveOverlayContent(ctx *web.EventContext, r *web.EventResponse) (err error) + func (b *EditingBuilder) SetterFunc(v SetterFunc) (r *EditingBuilder) + func (b *EditingBuilder) SidePanelFunc(v ComponentFunc) (r *EditingBuilder) + func (b *EditingBuilder) UpdateOverlayContent(ctx *web.EventContext, r *web.EventResponse, obj interface{}, ...) + func (b *EditingBuilder) ValidateFunc(v ValidateFunc) (r *EditingBuilder) + type EditingTitleComponentFunc func(obj interface{}, defaultTitle string, ctx *web.EventContext) h.HTMLComponent + type FetchFunc func(obj interface{}, id string, ctx *web.EventContext) (r interface{}, err error) + type FieldBuilder struct + func (b *FieldBuilder) Clone() (r *FieldBuilder) + func (b *FieldBuilder) ComponentFunc(v FieldComponentFunc) (r *FieldBuilder) + func (b *FieldBuilder) Label(v string) (r *FieldBuilder) + func (b *FieldBuilder) Nested(fb *FieldsBuilder, cfgs ...NestedConfig) (r *FieldBuilder) + func (b *FieldBuilder) SetterFunc(v FieldSetterFunc) (r *FieldBuilder) + func (b *FieldBuilder) WithContextValue(key interface{}, val interface{}) (r *FieldBuilder) + type FieldComponentFunc func(obj interface{}, field *FieldContext, ctx *web.EventContext) h.HTMLComponent + type FieldContext struct + Context context.Context + Disabled bool + Errors []string + FormKey string + Label string + ModelInfo *ModelInfo + Name string + NestedFieldsBuilder *FieldsBuilder + func (fc *FieldContext) ContextValue(key interface{}) (r interface{}) + func (fc *FieldContext) StringValue(obj interface{}) (r string) + func (fc *FieldContext) Value(obj interface{}) (r interface{}) + type FieldDefaultBuilder struct + func NewFieldDefault(t reflect.Type) (r *FieldDefaultBuilder) + func (b *FieldDefaultBuilder) ComponentFunc(v FieldComponentFunc) (r *FieldDefaultBuilder) + func (b *FieldDefaultBuilder) SetterFunc(v FieldSetterFunc) (r *FieldDefaultBuilder) + type FieldDefaults struct + func NewFieldDefaults(t FieldMode) (r *FieldDefaults) + func (b *FieldDefaults) Exclude(patterns ...string) (r *FieldDefaults) + func (b *FieldDefaults) FieldType(v interface{}) (r *FieldDefaultBuilder) + func (b *FieldDefaults) InspectFields(val interface{}) (r *FieldsBuilder) + func (b *FieldDefaults) String() string + type FieldMode int + const DETAIL + const LIST + const WRITE + type FieldSetterFunc func(obj interface{}, field *FieldContext, ctx *web.EventContext) (err error) + type FieldsBuilder struct + func NewFieldsBuilder() *FieldsBuilder + func (b *FieldsBuilder) Clone() (r *FieldsBuilder) + func (b *FieldsBuilder) Defaults(v *FieldDefaults) (r *FieldsBuilder) + func (b *FieldsBuilder) Except(patterns ...string) (r *FieldsBuilder) + func (b *FieldsBuilder) Field(name string) (r *FieldBuilder) + func (b *FieldsBuilder) GetField(name string) (r *FieldBuilder) + func (b *FieldsBuilder) Labels(vs ...string) (r *FieldsBuilder) + func (b *FieldsBuilder) Model(v interface{}) (r *FieldsBuilder) + func (b *FieldsBuilder) Only(vs ...interface{}) (r *FieldsBuilder) + func (b *FieldsBuilder) SetObjectFields(fromObj interface{}, toObj interface{}, parent *FieldContext, ...) (vErr web.ValidationErrors) + func (b *FieldsBuilder) String() (r string) + func (b *FieldsBuilder) ToComponent(info *ModelInfo, obj interface{}, ctx *web.EventContext) h.HTMLComponent + func (b *FieldsBuilder) ToComponentForEach(field *FieldContext, slice interface{}, ctx *web.EventContext, rowFunc RowFunc) h.HTMLComponent + func (b *FieldsBuilder) Unmarshal(toObj interface{}, info *ModelInfo, removeDeletedAndSort bool, ...) (vErr web.ValidationErrors) + type FieldsSection struct + Rows [][]string + Title string + type FilterDataFunc func(ctx *web.EventContext) vuetifyx.FilterData + type FilterTab struct + AdvancedLabel h.HTMLComponent + ID string + Label string + Query url.Values + type FilterTabsFunc func(ctx *web.EventContext) []*FilterTab + type LayoutConfig struct + NotificationCenterInvisible bool + SearchBoxInvisible bool + type ListEditorBuilder struct + func NewListEditor(v *FieldContext) *ListEditorBuilder + func (b *ListEditorBuilder) AddListItemRowEvnet(v string) (r *ListEditorBuilder) + func (b *ListEditorBuilder) DisplayFieldInSorter(v string) (r *ListEditorBuilder) + func (b *ListEditorBuilder) MarshalHTML(c context.Context) (r []byte, err error) + func (b *ListEditorBuilder) RemoveListItemRowEvent(v string) (r *ListEditorBuilder) + func (b *ListEditorBuilder) SortListItemsEvent(v string) (r *ListEditorBuilder) + func (b *ListEditorBuilder) Value(v interface{}) (r *ListEditorBuilder) + type ListSorter struct + Items []ListSorterItem + type ListSorterItem struct + Index int + Label string + type ListingBuilder struct + Searcher SearchFunc + func (b *ListingBuilder) Action(name string) (r *ActionBuilder) + func (b *ListingBuilder) ActionsAsMenu(v bool) (r *ListingBuilder) + func (b *ListingBuilder) BulkAction(name string) (r *BulkActionBuilder) + func (b *ListingBuilder) CellWrapperFunc(cwf vx.CellWrapperFunc) (r *ListingBuilder) + func (b *ListingBuilder) Conditions(v []*SQLCondition) (r *ListingBuilder) + func (b *ListingBuilder) ConfigureAutocompleteDataSource(config *AutocompleteDataSourceConfig, name ...string) *vuetifyx.AutocompleteDataSource + func (b *ListingBuilder) DialogHeight(v string) (r *ListingBuilder) + func (b *ListingBuilder) DialogWidth(v string) (r *ListingBuilder) + func (b *ListingBuilder) DisablePagination(v bool) (r *ListingBuilder) + func (b *ListingBuilder) Except(vs ...string) (r *ListingBuilder) + func (b *ListingBuilder) FilterDataFunc(v FilterDataFunc) + func (b *ListingBuilder) FilterTabsFunc(v FilterTabsFunc) + func (b *ListingBuilder) GetPageFunc() web.PageFunc + func (b *ListingBuilder) NewButtonFunc(v ComponentFunc) (r *ListingBuilder) + func (b *ListingBuilder) Only(vs ...string) (r *ListingBuilder) + func (b *ListingBuilder) OrderBy(v string) (r *ListingBuilder) + func (b *ListingBuilder) OrderableFields(v []*OrderableField) (r *ListingBuilder) + func (b *ListingBuilder) PageFunc(pf web.PageFunc) (r *ListingBuilder) + func (b *ListingBuilder) PerPage(v int64) (r *ListingBuilder) + func (b *ListingBuilder) RowMenu(listings ...string) *RowMenuBuilder + func (b *ListingBuilder) SearchColumns(vs ...string) (r *ListingBuilder) + func (b *ListingBuilder) SearchFunc(v SearchFunc) (r *ListingBuilder) + func (b *ListingBuilder) SelectableColumns(v bool) (r *ListingBuilder) + func (b *ListingBuilder) Title(title string) (r *ListingBuilder) + type MenuGroupBuilder struct + func (b *MenuGroupBuilder) Icon(v string) (r *MenuGroupBuilder) + func (b *MenuGroupBuilder) SubItems(ss ...string) (r *MenuGroupBuilder) + type MenuGroups struct + func (g *MenuGroups) MenuGroup(name string) (r *MenuGroupBuilder) + type Messages struct + BulkActionNoAvailableRecords string + BulkActionSelectedIdsProcessNoticeTemplate string + Cancel string + Clear string + Colon string + ConfirmDialogPromptText string + Create string + CreatingObjectTitleTemplate string + Delete string + DeleteConfirmationTextTemplate string + DetailingObjectTitleTemplate string + Edit string + EditingObjectTitleTemplate string + FilterApply string + FilterByTemplate string + FiltersAdd string + FiltersClear string + FiltersDateAnd string + FiltersDateBetween string + FiltersDateDays string + FiltersDateEquals string + FiltersDateInTheLast string + FiltersDateIsAfter string + FiltersDateIsAfterOrOn string + FiltersDateIsBefore string + FiltersDateIsBeforeOrOn string + FiltersDateMonths string + FiltersDateTo string + FiltersMultipleSelectIn string + FiltersMultipleSelectNotIn string + FiltersNumberAnd string + FiltersNumberBetween string + FiltersNumberEquals string + FiltersNumberGreaterThan string + FiltersNumberLessThan string + FiltersStringContains string + FiltersStringEquals string + FormTitle string + Language string + ListingClearSelection string + ListingNoRecordToShow string + ListingObjectTitleTemplate string + ListingSelectedCountNotice string + New string + NotFoundPageNotice string + OK string + PaginationRowsPerPage string + Search string + SuccessfullyUpdated string + Update string + func MustGetMessages(r *http.Request) *Messages + func (msgr *Messages) BulkActionSelectedIdsProcessNotice(ids string) string + func (msgr *Messages) CreatingObjectTitle(modelName string) string + func (msgr *Messages) DeleteConfirmationText(id string) string + func (msgr *Messages) DetailingObjectTitle(label string, name string) string + func (msgr *Messages) EditingObjectTitle(label string, name string) string + func (msgr *Messages) FilterBy(filter string) string + func (msgr *Messages) ListingObjectTitle(label string) string + type MessagesFunc func(r *http.Request) *Messages + type ModelBuilder struct + func NewModelBuilder(p *Builder, model interface{}) (mb *ModelBuilder) + func (mb *ModelBuilder) DefaultURLQueryFunc(v func(*http.Request) url.Values) (r *ModelBuilder) + func (mb *ModelBuilder) Detailing(vs ...interface{}) (r *DetailingBuilder) + func (mb *ModelBuilder) Editing(vs ...interface{}) (r *EditingBuilder) + func (mb *ModelBuilder) InMenu(v bool) (r *ModelBuilder) + func (mb *ModelBuilder) Info() (r *ModelInfo) + func (mb *ModelBuilder) Label(v string) (r *ModelBuilder) + func (mb *ModelBuilder) Labels(vs ...string) (r *ModelBuilder) + func (mb *ModelBuilder) LayoutConfig(v *LayoutConfig) (r *ModelBuilder) + func (mb *ModelBuilder) Link(v string) *ModelBuilder + func (mb *ModelBuilder) Listing(vs ...string) (r *ListingBuilder) + func (mb *ModelBuilder) MenuIcon(v string) (r *ModelBuilder) + func (mb *ModelBuilder) NewModel() (r interface{}) + func (mb *ModelBuilder) NewModelSlice() (r interface{}) + func (mb *ModelBuilder) Placeholders(vs ...string) (r *ModelBuilder) + func (mb *ModelBuilder) PrimaryField(v string) (r *ModelBuilder) + func (mb *ModelBuilder) RightDrawerWidth(v string) *ModelBuilder + func (mb *ModelBuilder) Singleton(v bool) (r *ModelBuilder) + func (mb *ModelBuilder) URIName(v string) (r *ModelBuilder) + type ModelInfo struct + func (b ModelInfo) DetailingHref(id string) string + func (b ModelInfo) DetailingInDrawer() bool + func (b ModelInfo) EditingHref(id string) string + func (b ModelInfo) HasDetailing() bool + func (b ModelInfo) Label() string + func (b ModelInfo) ListingHref() string + func (b ModelInfo) PresetsPrefix() string + func (b ModelInfo) URIName() string + func (b ModelInfo) Verifier() *perm.Verifier + type ModifiedIndexesBuilder struct + func ContextModifiedIndexesBuilder(ctx *web.EventContext) (r *ModifiedIndexesBuilder) + func (b *ModifiedIndexesBuilder) AppendDeleted(sliceFormKey string, index int) (r *ModifiedIndexesBuilder) + func (b *ModifiedIndexesBuilder) DeletedContains(sliceFormKey string, index int) (r bool) + func (b *ModifiedIndexesBuilder) FromHidden(req *http.Request) (r *ModifiedIndexesBuilder) + func (b *ModifiedIndexesBuilder) ReversedmodifiedIndexes(sliceFormKey string) (r []int) + func (b *ModifiedIndexesBuilder) SetSorted(sliceFormKey string, indexes []string) (r *ModifiedIndexesBuilder) + func (b *ModifiedIndexesBuilder) SortedForEach(slice interface{}, sliceFormKey string, f func(obj interface{}, i int)) + func (b *ModifiedIndexesBuilder) ToFormHidden() h.HTMLComponent + type NameLabel struct + type NestedConfig interface + type ObjectComponentFunc func(obj interface{}, ctx *web.EventContext) h.HTMLComponent + type OptionItem struct + Icon string + Text string + Value string + type OrderableField struct + DBColumn string + FieldName string + type RemoveListItemRowEvent struct + Event string + type RowFunc func(obj interface{}, formKey string, content h.HTMLComponent, ...) h.HTMLComponent + type RowMenuBuilder struct + func (b *RowMenuBuilder) Empty() + func (b *RowMenuBuilder) RowMenuItem(name string) *RowMenuItemBuilder + type RowMenuItemBuilder struct + func (b *RowMenuItemBuilder) ComponentFunc(v vx.RowMenuItemFunc) *RowMenuItemBuilder + func (b *RowMenuItemBuilder) Icon(v string) *RowMenuItemBuilder + func (b *RowMenuItemBuilder) OnClick(v RowMenuItemClickFunc) *RowMenuItemBuilder + func (b *RowMenuItemBuilder) PermAction(v string) *RowMenuItemBuilder + type RowMenuItemClickFunc func(ctx *web.EventContext, id string) (r web.EventResponse, err error) + type SQLCondition struct + Args []interface{} + Query string + type SaveFunc func(obj interface{}, id string, ctx *web.EventContext) (err error) + type SearchFunc func(model interface{}, params *SearchParams, ctx *web.EventContext) (r interface{}, totalCount int, err error) + type SearchParams struct + Keyword string + KeywordColumns []string + OrderBy string + Page int64 + PageURL *url.URL + PerPage int64 + SQLConditions []*SQLCondition + type SetterFunc func(obj interface{}, ctx *web.EventContext) + type SlugDecoder interface + PrimaryColumnValuesBySlug func(slug string) map[string]string + type SlugEncoder interface + PrimarySlug func() string + type SortListItemsEvent struct + Event string + type ValidateFunc func(obj interface{}, ctx *web.EventContext) (err web.ValidationErrors) Other modules containing this package github.com/qor5/admin/v3