本文へ移動

@eightkk/vue-weave / core / InspectorAssignmentsField

Interface: InspectorAssignmentsField<T> ​

Defined in: src/core/diagramEditor.ts:164

A PropertyInspector table of resource assignments: a resource select, a units box and add and remove buttons.

Extends ​

  • InspectorListFieldBase

Type Parameters ​

T ​

T extends InspectorItem = InspectorItem

Properties ​

defaultUnits? ​

optional defaultUnits?: number

Defined in: src/core/diagramEditor.ts:168

Units of an added row, a positive integer. Default 1.


description? ​

optional description?: string

Defined in: src/core/diagramEditor.ts:160

Help text under the table; it also describes the table.

Inherited from ​

InspectorListFieldBase.description


get ​

get: (item) => readonly InspectorAssignment[]

Defined in: src/core/diagramEditor.ts:166

Parameters ​

item ​

T

Returns ​

readonly InspectorAssignment[]


id ​

id: string

Defined in: src/core/diagramEditor.ts:152

Inherited from ​

InspectorListFieldBase.id


kind ​

kind: "assignments"

Defined in: src/core/diagramEditor.ts:165


label ​

label: string

Defined in: src/core/diagramEditor.ts:154

The visible label and the accessible name of the table.

Inherited from ​

InspectorListFieldBase.label


maxUnits? ​

optional maxUnits?: number

Defined in: src/core/diagramEditor.ts:170

Largest allowed units, a positive integer. Default: no limit.


options ​

options: readonly InspectorOption[]

Defined in: src/core/diagramEditor.ts:156

The resources or predecessors a row can name, in the order the selects list them.

Inherited from ​

InspectorListFieldBase.options


readonly? ​

optional readonly?: boolean

Defined in: src/core/diagramEditor.ts:158

Shows the rows without letting them be edited.

Inherited from ​

InspectorListFieldBase.readonly

MIT ライセンスで公開しています。