license 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' } const numbers = { BOUNDED_ANCHOR_GAP : 4 , UNBOUNDED_ANCHOR_GAP : 8 , MIN_VIEWPORT_TOOLTIP_THRESHOLD : 8 , HIDE_DELAY_MS : 600 , SHOW_DELAY_MS : 500 , MIN_HEIGHT : 24 , MAX_WIDTH : 200 , CARET_INDENTATION : 24 , ANIMATION_SCALE : 0.8 , } ; const attributes = { ARIA_EXPANDED : 'aria-expanded' , ARIA_HASPOPUP : 'aria-haspopup' , PERSISTENT : 'data-mdc-tooltip-persistent' , SCROLLABLE_ANCESTOR : 'tooltip-scrollable-ancestor' , HAS_CARET : 'data-mdc-tooltip-has-caret' , } ; const events = { HIDDEN : 'MDCTooltip:hidden' , } ; /** Enum for possible tooltip positioning relative to its anchor element. */ enum XPosition { DETECTED = 0 , START = 1 , CENTER = 2 , END = 3 } enum YPosition { DETECTED = 0 , ABOVE = 1 , BELOW = 2 } /**
 * 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).
 */ enum AnchorBoundaryType { BOUNDED = 0 , UNBOUNDED = 1 } const strings = { LEFT : 'left' , RIGHT : 'right' , CENTER : 'center' , TOP : 'top' , BOTTOM : 'bottom' } ; /**
 * 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).
 */ 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 } enum YPositionWithCaret { ABOVE = 1 , BELOW = 2 , SIDE_TOP = 3 , SIDE_CENTER = 4 , SIDE_BOTTOM = 5 } 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 } ;