organisms

package
v0.46.30 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModalAppInfo added in v0.46.30

type ModalAppInfo struct {
	app.Compo

	ShowModal bool

	SseConnectionStatus string

	OnClickDismissActionName string
	OnClickReloadActionName  string
}

func (*ModalAppInfo) Render added in v0.46.30

func (m *ModalAppInfo) Render() app.UI

type ModalPollDelete added in v0.46.27

type ModalPollDelete struct {
	app.Compo

	PollID string

	ModalButtonsDisabled bool
	ModalShow            bool

	OnClickDismissActionName string
	OnClickDeleteActionName  string
}

func (*ModalPollDelete) Render added in v0.46.27

func (m *ModalPollDelete) Render() app.UI

type ModalPostDelete

type ModalPostDelete struct {
	app.Compo

	PostID string

	ModalButtonsDisabled bool
	ModalShow            bool

	OnClickDismissActionName string
	OnClickDeleteActionName  string
}

func (*ModalPostDelete) Render

func (m *ModalPostDelete) Render() app.UI

type ModalPostReply

type ModalPostReply struct {
	app.Compo

	ReplyPostContent *string
	ImageData        *[]byte
	ImageLink        *string
	ImageFile        *string

	PostOriginal models.Post

	ModalButtonsDisabled *bool
	ModalShow            bool

	OnClickDismissActionName string
	OnClickReplyActionName   string
	OnBlurActionName         string
	OnFigureUploadActionName string
}

func (*ModalPostReply) OnMount

func (m *ModalPostReply) OnMount(ctx app.Context)

func (*ModalPostReply) Render

func (m *ModalPostReply) Render() app.UI

type ModalUserInfo added in v0.46.28

type ModalUserInfo struct {
	app.Compo

	User      models.User
	Users     map[string]models.User
	ShowModal bool

	OnClickDismissActionName  string
	OnClickUserFlowActionName string
	// contains filtered or unexported fields
}

func (*ModalUserInfo) Render added in v0.46.28

func (m *ModalUserInfo) Render() app.UI

type PollFeed added in v0.46.27

type PollFeed struct {
	app.Compo

	LoggedUser models.User

	SortedPolls []models.Poll

	Polls map[string]models.Poll

	Pagination int
	PageNo     int

	ButtonsDisabled bool
	LoaderShowImage bool

	OnClickOptionOneActionName   string
	OnClickOptionTwoActionName   string
	OnClickOptionThreeActionName string

	OnClickDeleteModalShowActionName string
	OnClickLinkActionName            string
	OnMouseEnterActionName           string
	OnMouseLeaveActionName           string
	// contains filtered or unexported fields
}

func (*PollFeed) Render added in v0.46.27

func (p *PollFeed) Render() app.UI

type PostFeed

type PostFeed struct {
	app.Compo

	LoggedUser models.User

	SortedPosts []models.Post

	Posts map[string]models.Post
	Users map[string]models.User

	Pagination int
	PageNo     int

	HideReplies bool

	ButtonsDisabled bool
	LoaderShowImage bool

	SinglePostID string
	SingleUserID string

	OnClickDeleteActionName  string
	OnClickHistoryActionName string
	OnClickImageActionName   string
	OnClickLinkActionName    string
	OnClickReplyActionName   string
	OnClickStarActionName    string
	OnClickUserActionName    string
	OnMouseEnterActionName   string
	OnMouseLeaveActionName   string
	// contains filtered or unexported fields
}

func (*PostFeed) Render

func (p *PostFeed) Render() app.UI

type SingleUserProfile added in v0.46.23

type SingleUserProfile struct {
	app.Compo

	LoggedUser models.User
	SingleUser models.User

	OnClickFollowActionName string

	ButtonsDisabled bool
}

func (*SingleUserProfile) Render added in v0.46.23

func (s *SingleUserProfile) Render() app.UI

type UserFeed added in v0.46.28

type UserFeed struct {
	app.Compo

	LoggedUser models.User

	SortedUsers []models.User
	Users       map[string]models.User

	FlowStats map[string]int
	UserStats map[string]models.UserStat

	Pagination int
	PageNo     int

	ButtonsDisabled bool
	LoaderShowImage bool

	OnClickUserActionName      string
	OnClickUnfollowActionName  string
	OnClickAskActionName       string
	OnClickCancelActionName    string
	OnClickFollowActionName    string
	OnClickNicknameActionName  string
	OnClickPostCountActionName string
	OnClickShadeActionName     string

	OnMouseEnterActionName string
	OnMouseLeaveActionName string
	// contains filtered or unexported fields
}

func (*UserFeed) Render added in v0.46.28

func (u *UserFeed) Render() app.UI

type UserRequests added in v0.46.28

type UserRequests struct {
	app.Compo

	LoggedUser models.User
	Users      map[string]models.User

	OnClickAllowActionName  string
	OnClickCancelActionName string
	OnClickUserActionName   string
	OnMouseEnterActionName  string
	OnMouseLeaveActionName  string

	ButtonsDisabled bool
}

func (*UserRequests) Render added in v0.46.28

func (u *UserRequests) Render() app.UI

Jump to

Keyboard shortcuts

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