projects/netgrif-components-core/src/lib/data-fields/models/component.ts
Properties |
|
name |
name:
|
Type : string
|
optionIcons |
optionIcons:
|
Type : Array<Icon>
|
Optional |
properties |
properties:
|
Type : Properties
|
Optional |
import {Properties} from './properties';
import {Icon} from './icon';
export const DEFAULT = "default";
export enum ComponentPrefixes {
BOOLEAN = 'boolean-',
BUTTON = 'button-',
DATE = 'date-',
DATE_TIME = 'date-time-',
ENUMERATION = 'enumeration-',
FILE = 'file-',
FILE_LIST = 'file-list-',
FILTER = 'filter-',
I18N = 'i18n-',
MULTICHOICE = 'multichoice-',
NUMBER = 'number-',
TASK_REF = 'task-ref-',
CASE_REF = 'case-ref-',
TEXT = 'text-',
USER = 'user-',
USER_LIST = 'user-list-',
STRING_COLLECTION = 'string-collection-',
}
export interface Component {
name: string;
properties?: Properties;
optionIcons?: Array<Icon>;
}