/*! Copyright © 2024 Open Text Corporation, All Rights Reserved. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ import { Config } from '../../models/control-config'; import { OcpdBaseElementContainer } from '../base-element-container/ocpd-base-element-container'; import { ImageButton } from '../image-button/ocpd-image-button'; import { LocaleDataTable } from '../../models/localization-types'; import { Pagination } from '../pagination/ocpd-pagination'; export declare class DataGrid extends OcpdBaseElementContainer { _tableHeaderPaginationContainer: HTMLDivElement; _tableTitle: HTMLDivElement; _tableHeaderActionButtonContainer: HTMLDivElement; _tableHeader: HTMLDivElement; _tableColumnHeaderContainer: HTMLDivElement; _dropZoneElement: HTMLDivElement; _rowScrollContainer: HTMLDivElement; _rowContainer: HTMLDivElement; _rowContainerNoData: HTMLDivElement; _filterButton: ImageButton; _addButton: ImageButton; _searchButton: ImageButton; _tableCheckHeader: HTMLDivElement; _tableContainer: HTMLDivElement; _shadowFocusHandler: any; _selectColumnEventHandler: any; _deselectColumnEventHandler: any; _dragColumnEventHandler: any; _showResizerEventHandler: any; _resizeColumnEventHandler: any; _selectColumnKeyDownEventHandler: any; _keyDownEventHandler: any; readOnlyView: boolean; localeData: LocaleDataTable; _rootContainer: HTMLDivElement; dragColumn: HTMLDivElement; dragColumnHeaderTimer: number; startX: number; widthX: number; siblingWidthX: number; siblingColumn: any; columnRearrangeInProgress: boolean; columnResizeInProgress: boolean; pointerOperation: string; UIOperationInProgress: boolean; unsupportedChildControls: string[]; static get tagName(): string; get isInGrid(): boolean; /** * When adding controls using keyboard, this code is used to move the ghost controls/container to the correct parent container when using tab key eg moving from canvas to grid */ moveGhostContainer(): void; clearEditableColumnHeader(): void; keyDownEventHandler(event: any): void; selectKeyDownColumnHeader(event: any): void; showColumnResizer(event: any): void; moveOriginalColumnConfig(configId: any, panelIndex: any): void; deselectColumnHeader(event: any): void; getPreviousColumn(index: any): HTMLDivElement; getNextColumn(index: any): HTMLDivElement; removeControl(id: any, isChangeOfType?: boolean, isOnlyHidden?: boolean): void; selectColumnHeader(event: any): void; dragColumnHeader(event: any): void; resizeColumn(event: any): void; constructor(); createControls(controls: Config[]): void; detached(): void; deleteLocalizationForDeleteColumn(): void; renderTitleBar(config: Config): string; addModelsForPagination(): void; addModelsForDeleteColumn(): void; getUnboundColumns(): any[]; getBoundColumns(): any; isPropertyChildOfParent(controls: any): boolean; render(config: Config): void; focusOnHeader(columnId: string): void; renderTableColumn(config: Config, addTabIndexToFirstColumn: any): string; getTooltipText(element: any, elementHost: any): string; renderHeaderCheck(id: any): string; renderPagination(isVariableHeightTable: any): string; renderImageButton(id: string, cssClass: string, enabled: boolean, isReadOnly: any): string; getDropPosition(event: any, configs: Config[]): number; isPropertyPathInUse(propertyPath: string): boolean; ensureUniquePropertyPathForUnboundColumn(config: Config): void; removeUnsupportedControlsFromConfigs(configs: Config[]): Config[]; addControls(configs: Config[], columnIndex: any, undoTransactionId: any): Promise; toggleDeleteColumn(): void; adjustDeleteColumnWidth(isHidingDeleteColumn: boolean): void; hasChildColumns(): boolean; isControlSupported(configs: Config[]): boolean; getControlMarkup(config: Config): string; addNestedGrid(config: any): void; renderNewControls(configs: Config[], isChangeOfType?: boolean): void; rearrangeControls(configs: Config[]): void; sortControls(configs: Config[]): Config[]; addPaginationToContainer(container: any, isVariableHeight: any): void; propertyChanged(propertyPath: string, oldValue: any, newValue: any, elementId: string, isUndo: boolean, transactionId: string): Promise; hideShowEnabledActionButtons(propertyPath: any, itemId: any): void; toggleAddButton(isReadOnly: boolean): void; removeAnyExistingHeaderActionButton(): void; removeEventListeners(): void; addEventListeners(): void; get searchButtonId(): string; get addButtonId(): string; get headerCheckId(): string; get facetFilterId(): string; get paginationId(): string; get deleteColumnItemId(): string; get filterButton(): ImageButton; get addButton(): ImageButton; get searchButton(): ImageButton; get rowContainer(): HTMLDivElement; get rowScrollContainer(): HTMLDivElement; get tableContainer(): HTMLDivElement; get tableColumnHeaderContainer(): HTMLDivElement; get columnHeaders(): NodeListOf; get dropZone(): HTMLDivElement; get rootContainer(): HTMLDivElement; get tableHeader(): HTMLDivElement; get tableCheckHeader(): HTMLDivElement; get tableHeaderPaginationContainer(): HTMLDivElement; get tableHeaderActionButton(): ImageButton; get paginationControl(): Pagination; get tableHeaderActionButtonContainer(): HTMLDivElement; get tableTitle(): HTMLDivElement; get variableHeightPageIndicator(): HTMLLabelElement; getCss(themeName: any): string; disconnectedCallback(): void; }