import{_ as e,c as t,o as a,a as o}from"./app.ab34650d.js";const f=JSON.parse('{"title":"Module: features/boards/board","description":"","frontmatter":{"editLink":false},"headers":[{"level":2,"title":"Components","slug":"components"},{"level":2,"title":"Enumerations","slug":"enumerations"},{"level":2,"title":"Interfaces","slug":"interfaces"},{"level":2,"title":"Type Aliases","slug":"type-aliases"},{"level":3,"title":"Board","slug":"board"},{"level":3,"title":"BoardData","slug":"boarddata"},{"level":3,"title":"BoardNodeAction","slug":"boardnodeaction"},{"level":3,"title":"GenericBoard","slug":"genericboard"},{"level":3,"title":"GenericBoardNodeAction","slug":"genericboardnodeaction"},{"level":3,"title":"GenericNodeType","slug":"genericnodetype"},{"level":3,"title":"NodeComputable","slug":"nodecomputable"},{"level":3,"title":"NodeType","slug":"nodetype"},{"level":2,"title":"Variables","slug":"variables"},{"level":3,"title":"BoardType","slug":"boardtype"},{"level":2,"title":"Functions","slug":"functions"},{"level":3,"title":"createBoard","slug":"createboard"},{"level":3,"title":"getNodeProperty","slug":"getnodeproperty"},{"level":3,"title":"getUniqueNodeID","slug":"getuniquenodeid"}],"relativePath":"api/modules/features/boards/board.md","lastUpdated":null}'),d={name:"api/modules/features/boards/board.md"},r=o('
\u01AC Board<T
>: Replace
<T
& BaseBoard
, { classes
: GetComputableType
<T
["classes"
]> ; height
: GetComputableType
<T
["height"
]> ; style
: GetComputableType
<T
["style"
]> ; types
: Record
<string
, GenericNodeType
> ; visibility
: GetComputableTypeWithDefault
<T
["visibility"
], Visible
> ; width
: GetComputableType
<T
["width"
]> }>
Name | Type |
---|---|
T | extends BoardOptions |
profectus/src/features/boards/board.ts:180
\u01AC BoardData: Object
Name | Type |
---|---|
nodes | BoardNode [] |
selectedAction | string | null |
selectedNode | number | null |
profectus/src/features/boards/board.ts:64
\u01AC BoardNodeAction<T
>: Replace
<T
& BaseBoardNodeAction
, { fillColor
: GetComputableType
<T
["fillColor"
]> ; icon
: GetComputableType
<T
["icon"
]> ; links
: GetComputableType
<T
["links"
]> ; tooltip
: GetComputableType
<T
["tooltip"
]> ; visibility
: GetComputableTypeWithDefault
<T
["visibility"
], Visible
> }>
Name | Type |
---|---|
T | extends BoardNodeActionOptions |
profectus/src/features/boards/board.ts:141
\u01AC GenericBoard: Replace
<Board
<BoardOptions
>, { visibility
: ProcessedComputable
<Visibility
> }>
profectus/src/features/boards/board.ts:192
\u01AC GenericBoardNodeAction: Replace
<BoardNodeAction
<BoardNodeActionOptions
>, { visibility
: NodeComputable
<Visibility
> }>
profectus/src/features/boards/board.ts:152
\u01AC GenericNodeType: Replace
<NodeType
<NodeTypeOptions
>, { actionDistance
: NodeComputable
<number
> ; canAccept
: NodeComputable
<boolean
> ; draggable
: NodeComputable
<boolean
> ; progressColor
: NodeComputable
<string
> ; progressDisplay
: NodeComputable
<ProgressDisplay
> ; shape
: NodeComputable
<Shape
> ; size
: NodeComputable
<number
> }>
profectus/src/features/boards/board.ts:114
\u01AC NodeComputable<T
>: Computable
<T
> | (node
: BoardNode
) => T
Name |
---|
T |
profectus/src/features/boards/board.ts:29
\u01AC NodeType<T
>: Replace
<T
& BaseNodeType
, { actionDistance
: GetComputableTypeWithDefault
<T
["actionDistance"
], number
> ; actions?
: GenericBoardNodeAction
[] ; canAccept
: GetComputableTypeWithDefault
<T
["canAccept"
], false
> ; draggable
: GetComputableTypeWithDefault
<T
["draggable"
], false
> ; fillColor
: GetComputableType
<T
["fillColor"
]> ; label
: GetComputableType
<T
["label"
]> ; outlineColor
: GetComputableType
<T
["outlineColor"
]> ; progress
: GetComputableType
<T
["progress"
]> ; progressColor
: GetComputableTypeWithDefault
<T
["progressColor"
], "none"
> ; progressDisplay
: GetComputableTypeWithDefault
<T
["progressDisplay"
], Fill
> ; shape
: GetComputableTypeWithDefault
<T
["shape"
], Circle
> ; size
: GetComputableTypeWithDefault
<T
["size"
], 50
> ; title
: GetComputableType
<T
["title"
]> ; titleColor
: GetComputableType
<T
["titleColor"
]> }>
Name | Type |
---|---|
T | extends NodeTypeOptions |
profectus/src/features/boards/board.ts:94
\u2022 Const
BoardType: typeof BoardType
profectus/src/features/boards/board.ts:27
\u25B8 createBoard<T
>(optionsFunc
): Board
<T
>
Name | Type |
---|---|
T | extends BoardOptions |
Name | Type |
---|---|
optionsFunc | OptionsFunc <T , BaseBoard , GenericBoard > |
Board
<T
>
\u25B8 getNodeProperty<T
>(property
, node
): T
Name |
---|
T |
Name | Type |
---|---|
property | NodeComputable <T > |
node | BoardNode |
T
\u25B8 getUniqueNodeID(board
): number
Name | Type |
---|---|
board | GenericBoard |
number