@pilotlab/lux-attributes
Version:
A luxurious user experience framework, developed by your friends at Pilot.
63 lines (53 loc) • 1.36 kB
text/typescript
export enum DataType {
UNDEFINED = 'undefined',
NULL = 'null',
ANY = 'any',
ARRAY = 'array',
BASE64 = 'base_64',
BINARY = 'binary',
BOOLEAN = 'boolean',
COLLECTION = 'collection',
COLOR = 'color',
DATA_URL = 'data_url',
DATE_TIME = 'date_time',
FUNCTION = 'function',
OBJECT = 'object',
NUMBER = 'number',
NUMBER_DOUBLE = 'number_double',
NUMBER_INT = 'number_int',
POINT = 'point',
RECTANGLE = 'rectangle',
REG_EXP = 'reg_exp',
SIZE = 'size',
STRING = 'string',
STRING_HEX_VALUE = 'string_hex_value',
STRING_HTML = 'string_html',
STRING_JAVASCRIPT = 'string_javascript',
STRING_JSON = 'string_json',
STRING_REG_EXP = 'string_reg_exp',
STRING_SVG = 'string_svg',
STRING_URI = 'string_uri',
STRING_XML = 'string_xml'
} // End enum
export enum AttributesWrapType {
OVERWRITE_BASE,
CLEAR_BASE,
OVERWRITE_WRAPPED,
CLEAR_WRAPPED
}
export enum ModelUpdateHandlerSequence {
BEFORE_UPDATE,
AFTER_UPDATE
} // End enum
export enum IdAutoGenerationType {
NONE,
GLOBALLY_UNIQUE,
SESSION_UNIQUE
}
export enum AttributeChangeActions {
/// Extend the AttributeChangeActions enum from NodeBase,
/// which includes NONE and SIGNAL_CHANGE
NONE = 0,
SIGNAL_CHANGE = 1 << 0,
SAVE = 1 << 1
} // End enum