@rangertechnologies/ngnxt
Version:
This library was used for creating dymanic UI based on the input JSON/data
174 lines (173 loc) • 3.76 kB
TypeScript
export declare const COMMON_ELEMENT_PROPS: ({
label: string;
placeholder: string;
type: string;
key: string;
labelPath: string;
isTranslate?: undefined;
required?: undefined;
options?: undefined;
} | {
label: string;
placeholder: string;
type: string;
key: string;
isTranslate: boolean;
labelPath: string;
required?: undefined;
options?: undefined;
} | {
label: string;
type: string;
key: string;
labelPath: string;
placeholder?: undefined;
isTranslate?: undefined;
required?: undefined;
options?: undefined;
} | {
label: string;
type: string;
key: string;
required: boolean;
labelPath: string;
options: {
label: string;
value: string;
labelPath: string;
}[];
placeholder?: undefined;
isTranslate?: undefined;
})[];
export declare const COMMON_FIELD_PROPS: ({
label: string;
type: string;
key: string;
labelPath: string;
placeholder?: undefined;
isTranslate?: undefined;
subQuestion?: undefined;
} | {
label: string;
placeholder: string;
type: string;
key: string;
isTranslate: boolean;
labelPath: string;
subQuestion?: undefined;
} | {
label: string;
placeholder: string;
type: string;
key: string;
labelPath: string;
isTranslate?: undefined;
subQuestion?: undefined;
} | {
label: string;
type: string;
key: string;
labelPath: string;
subQuestion: ({
label: string;
placeholder: string;
type: string;
key: string;
labelPath: string;
} | {
label: string;
placeholder: string;
type: string;
key: string;
labelPath?: undefined;
})[];
placeholder?: undefined;
isTranslate?: undefined;
})[];
export declare const COMMON_APPEARANCE_PROPS: ({
label: string;
type: string;
key: string;
required: boolean;
labelPath: string;
options?: undefined;
defaultValue?: undefined;
} | {
label: string;
type: string;
key: string;
required: boolean;
labelPath: string;
options: {
label: string;
value: string;
labelPath: string;
}[];
defaultValue?: undefined;
} | {
label: string;
type: string;
key: string;
defaultValue: boolean;
labelPath: string;
required?: undefined;
options?: undefined;
})[];
export declare const COMMON_OPTIONS_FIELD: {
label: string;
type: string;
key: string;
addOptionLabel: string;
icon: string;
labelPath: string;
addOptionLabelPath: string;
}[];
export declare const COMMON_COLUMN_FIELD: ({
label: string;
placeholder: string;
type: string;
targetArray: string;
targetArrayKey: string;
key: string;
isTranslate: boolean;
labelPath: string;
subQuestion?: undefined;
} | {
label: string;
placeholder: string;
type: string;
targetArray: string;
targetArrayKey: string;
key: string;
labelPath: string;
isTranslate?: undefined;
subQuestion?: undefined;
} | {
label: string;
placeholder: string;
type: string;
targetArray: string;
targetArrayKey: string;
key: string;
isTranslate?: undefined;
labelPath?: undefined;
subQuestion?: undefined;
} | {
label: string;
placeholder: string;
type: string;
targetArray: string;
targetArrayKey: string;
key: string;
labelPath: string;
subQuestion: {
label: string;
placeholder: string;
type: string;
targetArray: string;
targetArrayKey: string;
key: string;
labelPath: string;
}[];
isTranslate?: undefined;
})[];