File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/node_modules/@material/tooltip/constants.d.ts
/**
* @license
* Copyright 2020 Google Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* 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.
*/
declare enum CssClasses {
RICH = "mdc-tooltip--rich",
SHOWN = "mdc-tooltip--shown",
SHOWING = "mdc-tooltip--showing",
SHOWING_TRANSITION = "mdc-tooltip--showing-transition",
HIDE = "mdc-tooltip--hide",
HIDE_TRANSITION = "mdc-tooltip--hide-transition",
MULTILINE_TOOLTIP = "mdc-tooltip--multiline",
SURFACE = "mdc-tooltip__surface",
SURFACE_ANIMATION = "mdc-tooltip__surface-animation",
TOOLTIP_CARET_TOP = "mdc-tooltip__caret-surface-top",
TOOLTIP_CARET_BOTTOM = "mdc-tooltip__caret-surface-bottom"
}
declare const numbers: {
BOUNDED_ANCHOR_GAP: number;
UNBOUNDED_ANCHOR_GAP: number;
MIN_VIEWPORT_TOOLTIP_THRESHOLD: number;
HIDE_DELAY_MS: number;
SHOW_DELAY_MS: number;
MIN_WIDTH: number;
MIN_HEIGHT: number;
MAX_WIDTH: number;
CARET_INDENTATION: number;
ANIMATION_SCALE: number;
RICH_MAX_WIDTH: number;
};
declare const attributes: {
ARIA_EXPANDED: string;
ARIA_HASPOPUP: string;
PERSISTENT: string;
SCROLLABLE_ANCESTOR: string;
HAS_CARET: string;
};
declare const events: {
HIDDEN: string;
SHOWN: string;
};
/** Enum for possible tooltip positioning relative to its anchor element. */
declare enum XPosition {
DETECTED = 0,
START = 1,
CENTER = 2,
END = 3,
SIDE_START = 4,
SIDE_END = 5
}
declare enum YPosition {
DETECTED = 0,
ABOVE = 1,
BELOW = 2,
SIDE = 3
}
/**
* Enum for possible anchor boundary types. This determines the gap between the
* bottom of the anchor and the tooltip element.
* Bounded anchors have an identifiable boundary (e.g. buttons).
* Unbounded anchors don't have a visually declared boundary (e.g. plain text).
*/
declare enum AnchorBoundaryType {
BOUNDED = 0,
UNBOUNDED = 1
}
declare const strings: {
LEFT: string;
RIGHT: string;
CENTER: string;
TOP: string;
BOTTOM: string;
};
/**
* Enum for possible positions of a tooltip with caret (this specifies the
* positioning of the tooltip relative to the anchor -- the position of the
* caret will follow that of the tooltip). This can NOT be combined with the
* above X/YPosition options. Naming for the enums follows: (vertical
* placement)_(horizontal placement).
*/
declare enum PositionWithCaret {
DETECTED = 0,
ABOVE_START = 1,
ABOVE_CENTER = 2,
ABOVE_END = 3,
TOP_SIDE_START = 4,
CENTER_SIDE_START = 5,
BOTTOM_SIDE_START = 6,
TOP_SIDE_END = 7,
CENTER_SIDE_END = 8,
BOTTOM_SIDE_END = 9,
BELOW_START = 10,
BELOW_CENTER = 11,
BELOW_END = 12
}
declare enum YPositionWithCaret {
ABOVE = 1,
BELOW = 2,
SIDE_TOP = 3,
SIDE_CENTER = 4,
SIDE_BOTTOM = 5
}
declare enum XPositionWithCaret {
START = 1,
CENTER = 2,
END = 3,
SIDE_START = 4,
SIDE_END = 5
}
export { CssClasses, numbers, attributes, events, XPosition, AnchorBoundaryType, YPosition, strings, PositionWithCaret, YPositionWithCaret, XPositionWithCaret };