4c450b691368d3a4386588e8bc1a0f9d50908c36865261971ce6f65a6dd590bdee520aeaed3afd779fcf98c7da3c8db32c88e35b498b1eaba6c5a351e6e008 996 B

1234567891011121314151617181920
  1. import VisualMapModel from './VisualMapModel.js';
  2. import ExtensionAPI from '../../core/ExtensionAPI.js';
  3. import { Payload } from '../../util/types.js';
  4. declare const paramsSet: readonly [readonly ["left", "right", "width"], readonly ["top", "bottom", "height"]];
  5. export declare type ItemHorizontalAlign = typeof paramsSet[0][number];
  6. export declare type ItemVerticalAlign = typeof paramsSet[1][number];
  7. export declare type ItemAlign = ItemVerticalAlign | ItemHorizontalAlign;
  8. /**
  9. * @param visualMapModel
  10. * @param api
  11. * @param itemSize always [short, long]
  12. * @return {string} 'left' or 'right' or 'top' or 'bottom'
  13. */
  14. export declare function getItemAlign(visualMapModel: VisualMapModel, api: ExtensionAPI, itemSize: number[]): ItemAlign;
  15. /**
  16. * Prepare dataIndex for outside usage, where dataIndex means rawIndex, and
  17. * dataIndexInside means filtered index.
  18. */
  19. export declare function makeHighDownBatch(batch: Payload['batch'], visualMapModel: VisualMapModel): Payload['batch'];
  20. export {};