import './arrayContainerStyle.css'; import type { Property } from '../../../types'; import type { ObjectContainer } from '../../../fields/containers/ObjectContainer/ObjectContainer'; import { Container } from '../Container/Container'; /** * Represents peroperty of type array */ export declare class ArrayContainer 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; numberOfLevels: number; contentBody: HTMLElement; /** * This function validates the _params of the property array */ protected validateParams(): void; /** * This function validates the _rules of the property array */ protected validateRules(): void; /** * This function validates the _rules of the property object */ getFieldLabelName(): string; /** * this function is responsible for drawing the HTMLElement array * * @returns {HTMLElement} html element array */ draw(): HTMLElement; /** * This function is responsible for drawing an array element * * @returns {HTMLElement} html element object */ private drawElement; /** * This function is responsible for drawing the button in the array field element * * @returns {HTMLElement} html element object */ private drawArrayFieldDeleteButton; /** * This function is responsible for drawing an array element that is Collapsible * * @returns {HTMLElement} html element object */ private drawCollapsibleArrayElement; /** * This function is responsible for drawing the content of an array element that is Collapsible * * @returns {HTMLElement} html element object */ private drawCollapsibleArrayElementContent; /** * This function is responsible for drawing levels line for the array * * @returns {HTMLElement} html element object */ private drawArrayLevels; /** * This function is responsible adding event listeners to the header buttons of an object container */ protected static addingEventListenerForHeaderButtons(containerHeaderButtons: HTMLElement, parentObjectContainer: ArrayContainer, childContainer: ObjectContainer | ArrayContainer): void; /** * This function is responsible for deleting an element in an array container in the ui */ private removeElement; /** * This function lets the user add an element by showing a prompt to him */ letUserAddElement(): Promise; /** * This function is responsible for adding a property in an object container */ addElement(property: Property): void; /** * This function is responsible for redrawing Elements in an Array Container */ private resetElementsUiInArrayContainer; /** * This function is responsible for getting all the ArrayFieldContainers */ private getArrayFieldContainers; } //# sourceMappingURL=ArrayContainer.d.ts.map