UNPKG

@rangertechnologies/ngnxt

Version:

This library was used for creating dymanic UI based on the input JSON/data

104 lines (103 loc) 2.13 kB
export declare const COMMON_ELEMENT_PROPS: ({ label: string; placeholder: string; type: string; key: string; } | { key: string; label?: undefined; placeholder?: undefined; type?: undefined; } | { label: string; type: string; key: string; placeholder?: undefined; })[]; export declare const COMMON_FIELD_PROPS: ({ label: string; type: string; key: string; placeholder?: undefined; subQuestion?: undefined; } | { label: string; placeholder: string; type: string; key: string; subQuestion?: undefined; } | { label: string; type: string; key: string; subQuestion: { label: string; placeholder: string; type: string; key: string; }[]; placeholder?: undefined; })[]; export declare const COMMON_APPEARANCE_PROPS: ({ label: string; type: string; key: string; required: boolean; options: string[]; defaultValue?: undefined; } | { label: string; type: string; key: string; required: boolean; options?: undefined; defaultValue?: undefined; } | { label: string; type: string; key: string; required: boolean; options: { label: string; value: string; }[]; defaultValue?: undefined; } | { label: string; type: string; key: string; defaultValue: boolean; required?: undefined; options?: undefined; })[]; export declare const COMMON_OPTIONS_FIELD: { label: string; type: string; key: string; addOptionLabel: string; icon: string; }[]; export declare const COMMON_COLUMN_FIELD: ({ label: string; placeholder: string; type: string; targetArray: string; targetArrayKey: string; key: string; subQuestion?: undefined; } | { label: string; placeholder: string; type: string; targetArray: string; targetArrayKey: string; key: string; subQuestion: { label: string; placeholder: string; type: string; targetArray: string; targetArrayKey: string; key: string; }[]; })[];