Description of the enumeration list - single system enum

Field module se filled according to the file from which it is loaded

interface iEnumerator {
    _hint?: string;
    _tooltip?: string;
    _translation?: string;
    appOnly?: boolean;
    fields: iEnumItem[];
    icon?: string;
    label?: string | boolean;
    name: string;
    order?: "transNames";
    shortcut?: string;
    style?: string | object;
    transBase?: string;
    type?: iinternalEnumType;
}

Hierarchy (view full)

Properties

_hint?: string
_tooltip?: string
_translation?: string
appOnly?: boolean

Only for application - when true, translation are not stored on server Ignored by typescript

fields: iEnumItem[]

List of fields in the enum

icon?: string
label?: string | boolean

Optinonal commands about label false - no label is printed string - string to translate (used instead of fieldname) true - does not affects functionality (useless) evaluaated - (=obj.enumVal('x')) --- should return translated value, result is not translated. Remember that obj is empty (nevertheless defined) for new object

name: string
order?: "transNames"

Optional command how to order the lines If not defined, they are not ordered and order from the file is used

shortcut?: string

Optional shortcut

style?: string | object

className (in case thet style is string) or list of styles using htmlelements.style JS attributes

Example

style='box--dataImportant'  box--dataImportant should be defined class in the css styles

Example

syle={"maxWidth":"20em"}    set up the maxWidth style attribute for the box

Example

styl={"border":"=obj.status=='AC'?'solid':'none' "}
transBase?: string

Optinonal name of the translation string base name If not defined enum name is used Settings allows using the same translation strings for more enums