@elrayes/dynamic-form-builder
Version:
A flexible and customizable dynamic form builder with theming support
211 lines • 5.34 kB
JavaScript
export default class Theme {
/**
* Get form class names
* @returns {string}
*/
getFormClasses() {
throw new Error('Method not implemented');
}
/**
* Get form group class names
* @returns {string}
*/
getFormGroupClasses() {
throw new Error('Method not implemented');
}
/**
* Get label class names
* @returns {string}
*/
getLabelClasses() {
throw new Error('Method not implemented');
}
/**
* Get input class names
* @param {string} type - Input type (text, email, password, etc.)
* @returns {string}
*/
getInputClasses(type) {
throw new Error('Method not implemented');
}
/**
* Get select class names
* @param {boolean} multiple - Whether the select is multiple
* @returns {string}
*/
getSelectClasses(multiple = false) {
throw new Error('Method not implemented');
}
/**
* Get textarea class names
* @returns {string}
*/
getTextareaClasses() {
throw new Error('Method not implemented');
}
/**
* Get checkbox container class names
* @returns {string}
*/
getCheckboxContainerClasses() {
throw new Error('Method not implemented');
}
/**
* Get checkbox input class names
* @returns {string}
*/
getCheckboxInputClasses() {
throw new Error('Method not implemented');
}
/**
* Get checkbox label class names
* @returns {string}
*/
getCheckboxLabelClasses() {
throw new Error('Method not implemented');
}
/**
* Get radio container class names
* @returns {string}
*/
getRadioContainerClasses() {
throw new Error('Method not implemented');
}
/**
* Get radio input class names
* @returns {string}
*/
getRadioInputClasses() {
throw new Error('Method not implemented');
}
/**
* Get radio label class names
* @returns {string}
*/
getRadioLabelClasses() {
throw new Error('Method not implemented');
}
/**
* Get submit button class names
* @returns {string}
*/
getSubmitButtonClasses() {
throw new Error('Method not implemented');
}
/**
* Get validation error message class names
* @returns {string}
*/
getValidationErrorClasses() {
throw new Error('Method not implemented');
}
/**
* Get helper text class names
* @returns {string}
*/
getHelperTextClasses() {
throw new Error('Method not implemented');
}
/**
* Get modal class names
* @returns {string}
*/
getModalClasses() {
throw new Error('Method not implemented');
}
/**
* Get modal dialog class names
* @returns {string}
*/
getModalDialogClasses() {
throw new Error('Method not implemented');
}
/**
* Get modal content class names
* @returns {string}
*/
getModalContentClasses() {
throw new Error('Method not implemented');
}
/**
* Get modal header class names
* @returns {string}
*/
getModalHeaderClasses() {
throw new Error('Method not implemented');
}
/**
* Get modal title class names
* @returns {string}
*/
getModalTitleClasses() {
throw new Error('Method not implemented');
}
/**
* Get modal close button class names
* @returns {string}
*/
getModalCloseButtonClasses() {
throw new Error('Method not implemented');
}
/**
* Get modal body class names
* @returns {string}
*/
getModalBodyClasses() {
throw new Error('Method not implemented');
}
/**
* Get invalid input class names
* @returns {string}
*/
getInvalidInputClasses() {
throw new Error('Method not implemented');
}
/**
* Get valid input class names
* @returns {string}
*/
getValidInputClasses() {
throw new Error('Method not implemented');
}
/**
* Get file info container class names
* @returns {string}
*/
getFileInfoClasses() {
throw new Error('Method not implemented');
}
/**
* Get file thumbnail class names
* @returns {string}
*/
getFileThumbnailClasses() {
throw new Error('Method not implemented');
}
/**
* Get file info text class names
* @returns {string}
*/
getFileInfoTextClasses() {
throw new Error('Method not implemented');
}
/**
* Creates a modal and returns the modal body element for mounting the form
* @param {ModalOptions} modalOptions - Modal options (id, title, etc.)
* @returns {ModalCreationResult} - Object containing the modal element and the modal body element
*/
createModal(modalOptions) {
throw new Error('Method not implemented');
}
/**
* Initializes the modal and returns the modal instance
* @param {HTMLElement} modal - The modal element
* @param {ModalOptions} options - Modal initialization options
* @returns {ModalInstance} - The modal instance
*/
initializeModal(modal, options) {
throw new Error('Method not implemented');
}
}
//# sourceMappingURL=Theme.js.map