@idealworld/formula-editor v0.6.2 / iwInterface / Namespace
Interface: Namespace
Material namespace
Used to distinguish different materials, such as fields, functions, etc.
Properties
color?
optional
color:string
Used to distinguish different namespaces by color
Source
isVar
isVar:
boolean
Whether all items under this namespace are variables
When it is true, it is a variable; when it is false, it is a function.
Source
items
All items in the namespace
Source
label
label:
string
Namespace display name
Source
name
name:
string
Namespace name
This field will serve as a unique identifier for the namespace
Source
showField?
optional
showField:boolean
Whether to display field in field management
Use Namespace#label when true, use Namespace#name when false
Source
showLabel
showLabel:
boolean
Whether to use display names in the formula editor
Use Namespace#label when true, use Namespace#name when false