Documentation ¶
Overview ¶
@snippet_begin(PresetHelloWorldSample)
Index ¶
- Constants
- Variables
- func NotifierComponent() func(ctx *web.EventContext) h.HTMLComponent
- func NotifierCount() func(ctx *web.EventContext) int
- func PresetsBasicFilter(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsBrandFunc(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsBrandTitle(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsConfirmDialog(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsCustomizeMenu(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailAfterTitle(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailInlineEditDetails(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailInlineEditFieldSections(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailInlineEditInspectTables(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailInlineEditValidate(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailListSection(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailNestedMany(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailPageCards(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailPageDetails(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailPageTopNotes(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailSectionLabel(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailSectionView(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailSimple(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailTabsField(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailTabsSection(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsDetailTabsSectionOrder(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsEditingCustomizationDescription(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsEditingCustomizationFileType(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsEditingCustomizationTabs(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsEditingCustomizationValidation(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsEditingSection(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsEditingSetter(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsEditingTiptap(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsEditingValidate(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsGroupMenu(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsGroupMenuWithPermission(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsHelloWorld(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsKeywordSearchOff(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsLinkageSelectFilterItem(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsListingCustomizationBulkActions(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsListingCustomizationFields(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsListingCustomizationFilters(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsListingCustomizationSearcher(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsListingCustomizationTabs(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsModelBuilderExtensions(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsNotificationCenterSample(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsOrderMenu(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsPermissions(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsProfile(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsRowMenuAction(b *presets.Builder, db *gorm.DB) (mb *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func PresetsUtilsDialog(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ...)
- func SamplesHandler(mux examples.Muxer)
- type Address
- type Company
- type CreditCard
- type Customer
- type Group
- type Messages
- type MyFile
- type Note
- type Page
- type Post
- type Product
- type User
- type UserCreditCard
Constants ¶
View Source
const PresetsDetailPageCardsPath = "/samples/presets-detail-page-cards"
Variables ¶
View Source
var Messages_en_US = &Messages{
Admin: "Admin",
Customers: "Customers",
Companies: "Companies",
CustomersName: "Name",
CustomersCompanyID: "Company",
CustomersDescription: "Description",
CompaniesName: "Name",
CustomersID: "ID",
CustomersCompany: "Company",
CustomersEmail: "Email",
CustomersApprove: "Approve",
Customer: "Customer",
CustomersFilterCreated: "Created",
CustomersFilterApproved: "Approved",
CustomersFilterName: "Name",
CustomersFilterCompany: "Company",
}
View Source
var Messages_zh_CN = &Messages{
Admin: "管理系统",
Customers: "客户",
Companies: "公司",
CustomersName: "姓名",
CustomersCompanyID: "公司",
CustomersDescription: "描述",
CompaniesName: "公司名称",
CustomersID: "ID",
CustomersCompany: "公司",
CustomersEmail: "电子邮件",
CustomersApprove: "审批",
Customer: "客户",
CustomersFilterCreated: "创建日",
CustomersFilterApproved: "承认日",
CustomersFilterName: "名称",
CustomersFilterCompany: "属于公司",
}
Functions ¶
func NotifierComponent ¶
func NotifierComponent() func(ctx *web.EventContext) h.HTMLComponent
func NotifierCount ¶
func NotifierCount() func(ctx *web.EventContext) int
func PresetsBasicFilter ¶
func PresetsBasicFilter(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsBrandFunc ¶
func PresetsBrandFunc(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsBrandTitle ¶
func PresetsBrandTitle(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsConfirmDialog ¶
func PresetsConfirmDialog(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsCustomizeMenu ¶ added in v3.0.3
func PresetsCustomizeMenu(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailAfterTitle ¶ added in v3.0.5
func PresetsDetailAfterTitle(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailInlineEditDetails ¶
func PresetsDetailInlineEditDetails(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailInlineEditFieldSections ¶
func PresetsDetailInlineEditFieldSections(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailInlineEditInspectTables ¶
func PresetsDetailInlineEditInspectTables(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailInlineEditValidate ¶ added in v3.0.2
func PresetsDetailInlineEditValidate(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailListSection ¶ added in v3.0.4
func PresetsDetailListSection(b *presets.Builder, db *gorm.DB) (cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailNestedMany ¶ added in v3.0.2
func PresetsDetailNestedMany(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailPageCards ¶
func PresetsDetailPageCards(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailPageDetails ¶
func PresetsDetailPageDetails(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailPageTopNotes ¶
func PresetsDetailPageTopNotes(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailSectionLabel ¶ added in v3.0.2
func PresetsDetailSectionLabel(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailSectionView ¶ added in v3.0.6
func PresetsDetailSectionView(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailSimple ¶
func PresetsDetailSimple(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailTabsField ¶ added in v3.0.5
func PresetsDetailTabsField(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailTabsSection ¶ added in v3.0.5
func PresetsDetailTabsSection(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsDetailTabsSectionOrder ¶ added in v3.0.5
func PresetsDetailTabsSectionOrder(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsEditingCustomizationDescription ¶
func PresetsEditingCustomizationDescription(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsEditingCustomizationFileType ¶
func PresetsEditingCustomizationFileType(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsEditingCustomizationTabs ¶
func PresetsEditingCustomizationTabs(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsEditingCustomizationValidation ¶
func PresetsEditingCustomizationValidation(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsEditingSection ¶ added in v3.1.0
func PresetsEditingSection(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsEditingSetter ¶ added in v3.0.3
func PresetsEditingSetter(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsEditingTiptap ¶ added in v3.0.5
func PresetsEditingTiptap(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsEditingValidate ¶ added in v3.0.2
func PresetsEditingValidate(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsGroupMenu ¶
func PresetsGroupMenu(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsGroupMenuWithPermission ¶ added in v3.0.5
func PresetsGroupMenuWithPermission(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsHelloWorld ¶
func PresetsHelloWorld(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsKeywordSearchOff ¶ added in v3.0.2
func PresetsKeywordSearchOff(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsLinkageSelectFilterItem ¶
func PresetsLinkageSelectFilterItem(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsListingCustomizationBulkActions ¶
func PresetsListingCustomizationBulkActions(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsListingCustomizationFields ¶
func PresetsListingCustomizationFields(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsListingCustomizationFilters ¶
func PresetsListingCustomizationFilters(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsListingCustomizationSearcher ¶
func PresetsListingCustomizationSearcher(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsListingCustomizationTabs ¶
func PresetsListingCustomizationTabs(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsModelBuilderExtensions ¶
func PresetsModelBuilderExtensions(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsNotificationCenterSample ¶
func PresetsNotificationCenterSample(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsOrderMenu ¶
func PresetsOrderMenu(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsPermissions ¶
func PresetsPermissions(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsProfile ¶
func PresetsProfile(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
@snippet_begin(ProfileSample)
func PresetsRowMenuAction ¶ added in v3.0.5
func PresetsRowMenuAction(b *presets.Builder, db *gorm.DB) ( mb *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func PresetsUtilsDialog ¶ added in v3.0.6
func PresetsUtilsDialog(b *presets.Builder, db *gorm.DB) ( cust *presets.ModelBuilder, cl *presets.ListingBuilder, ce *presets.EditingBuilder, dp *presets.DetailingBuilder, )
func SamplesHandler ¶
Types ¶
type CreditCard ¶
type Messages ¶
type Messages struct { Admin string Customers string Companies string CustomersName string CustomersCompanyID string CustomersDescription string CompaniesName string CustomersID string CustomersCompany string CustomersEmail string CustomersApprove string Customer string CustomersFilterCreated string CustomersFilterApproved string CustomersFilterName string CustomersFilterCompany string }
type UserCreditCard ¶ added in v3.0.4
Source Files ¶
Click to show internal directories.
Click to hide internal directories.