Entity struct for row action configuration.
See MishkaGervaz.Table.Dsl.RowActions,
MishkaGervaz.Table.Entities.RowAction.Ui,
MishkaGervaz.Table.Entities.RowActionDropdown,
MishkaGervaz.Table.Entities.DropdownSeparator,
MishkaGervaz.Table.Types.Action (type registry), and
MishkaGervaz.Table.Web.State.ActionBuilder.
Summary
Functions
Transform the row action after DSL compilation.
Types
@type action_type() ::
:link
| :modal
| :event
| :edit
| :destroy
| :update
| :accordion
| :unarchive
| :permanent_destroy
| :row_click
@type t() :: %MishkaGervaz.Table.Entities.RowAction{ __identifier__: term(), __spark_metadata__: map() | nil, action: atom() | {atom(), atom()} | nil, confirm: String.t() | (map() -> String.t()) | nil, event: atom() | String.t() | nil, js: (map() -> Phoenix.LiveView.JS.t()) | nil, name: atom(), path: String.t() | (map() -> String.t()) | nil, payload: (map() -> map()) | nil, render: (map() -> any()) | (map(), map() -> any()) | (map(), map(), any() -> any()) | nil, restricted: boolean(), type: action_type(), type_module: module() | nil, ui: MishkaGervaz.Table.Entities.RowAction.Ui.t() | nil, visible: boolean() | :active | :archived | (map(), map() -> boolean()) }