UNPKG

devexpress-reporting

Version:

DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.

69 lines (68 loc) 2.62 kB
/** * DevExpress HTML/JS Reporting (viewer\mobile\internal\gallery\_galleryComponent.d.ts) * Version: 25.2.3 * Build date: Dec 15, 2025 * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * License: https://www.devexpress.com/Support/EULAs/universal.xml */ import { IJQueryWrapper } from '@devexpress/analytics-core/analytics-internal-native'; import 'devextreme/ui/gallery'; import dxGallery from 'devextreme/ui/gallery'; import { ISlideOptions } from '../../mobilePreview'; import { GalleryModel } from './_galleryModel'; export interface BlockItem { element: IJQueryWrapper; left: number; } export interface dxGalleryExtenderType { _animationClassName: string; blockItems: BlockItem[]; currentBlockItem: BlockItem; gallery: GalleryModel; slideOptions: ISlideOptions; nextBlockItem: BlockItem; initializeBlockItems: () => void; _blockItemsHaveExpired: () => boolean; _getNextIndex: (index: number) => number; _setSwipeAnimation: (element: BlockItem, difference: any, offset: any, right: boolean) => void; _addAnimation: (item: BlockItem) => void; _restoreDefault: (item: BlockItem) => void; _getItem: (index: number, loopTest: boolean) => BlockItem; swipeEnabled: boolean; } export declare class dxGalleryExtender { private _gallery; constructor(_gallery: dxGalleryReportPreview); extend(element: Element): void; _disposableCallbacks: any[]; dispose(): void; private _extendCtor; private _extendRepaint; private _extend_blockItemsHaveExpired; private _extend_swipeStartHandler; private _extend_getNextIndex; private _extend_setSwipeAnimation; private _extend_addAnimation; private _extend_restoreDefault; private _extend_getItem; private _extend_swipeUpdateHandler; private _extend_swipeEndHandler; private _extend_endSwipe; } export declare class dxGalleryReportPreview extends dxGallery implements dxGalleryExtenderType { constructor(element: any, options: any); _getItem: (index: number, loopTest: boolean) => BlockItem; _restoreDefault: (item: BlockItem) => void; _addAnimation: (item: any) => void; _blockItemsHaveExpired: () => boolean; _setSwipeAnimation: (element: BlockItem, difference: any, offset: any, right: boolean) => void; _getNextIndex: (index: number) => number; _animationClassName: string; blockItems: BlockItem[]; currentBlockItem: BlockItem; gallery: GalleryModel; slideOptions: ISlideOptions; nextBlockItem: BlockItem; initializeBlockItems: () => void; swipeEnabled: boolean; }