import './objectContainerStyle.css'; import type { Property } from '../../../types'; import type { ArrayContainer } from '../ArrayContainer/ArrayContainer'; import type { Field } from '../../Field/Field'; import { Container } from '../Container/Container'; /** * Represents peroperty of type object */ export declare class ObjectContainer extends Container { /** * this is name of the field internaly */ static fieldName: string; static fieldLabelName: string; /** * this is the icon thats shown for users */ static fieldIcon: string; /** * This function validates the _params of the property object */ protected validateParams(): void; /** * This function validates the _rules of the property object */ protected validateRules(): void; /** * This function validates the _rules of the property object */ getFieldLabelName(): string; /** * this function is responsible for drawing the HTMLElement object * * @returns {HTMLElement} html element object */ draw(): HTMLElement; /** * This function is responsible for drawing a property of the object */ protected drawProperty(property: Property): HTMLElement; /** * This function is responsible for drawing the object without a container. used for objects in arrays */ drawCollapsibleFieldContentWithoutContainer(): HTMLElement; /** * This function is responsible for drawing buttons that edits a field in an object container */ drawFieldButtons(field: Field, fieldElement: HTMLElement): HTMLElement; /** * This function is responsible of adding event listeners to the header buttons of an object container */ static addingEventListenerForHeaderButtons(containerHeaderButtons: HTMLElement, parentObjectContainer: ObjectContainer, childContainer: ObjectContainer | ArrayContainer): void; /** * This function is responsible for deleting an object property in the ui */ protected deleteProperty(propetyName: string | number): void; /** * This function is responsible for adding a property in an object container */ addProperty(property: Property): void; /** * This function lets the user add a property to an object container by showing a prompt to him */ letUserAddProperty(): Promise; } //# sourceMappingURL=ObjectContainer.d.ts.map