tooltip.mjs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. export { d as MAT_TOOLTIP_DEFAULT_OPTIONS, c as MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY, M as MAT_TOOLTIP_SCROLL_STRATEGY, a as MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY, b as MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER, e as MatTooltip, h as MatTooltipModule, S as SCROLL_THROTTLE_MS, T as TOOLTIP_PANEL_CLASS, f as TooltipComponent, g as getMatTooltipInvalidPositionError } from './module-C9K6ZqpI.mjs';
  2. import '@angular/core';
  3. import '@angular/cdk/a11y';
  4. import '@angular/cdk/overlay';
  5. import '@angular/cdk/scrolling';
  6. import 'rxjs/operators';
  7. import '@angular/cdk/coercion';
  8. import '@angular/cdk/keycodes';
  9. import '@angular/common';
  10. import '@angular/cdk/platform';
  11. import '@angular/cdk/bidi';
  12. import '@angular/cdk/portal';
  13. import 'rxjs';
  14. import './common-module-WayjW0Pb.mjs';
  15. /**
  16. * Animations used by MatTooltip.
  17. * @docs-private
  18. * @deprecated No longer being used, to be removed.
  19. * @breaking-change 21.0.0
  20. */
  21. const matTooltipAnimations = {
  22. // Represents:
  23. // trigger('state', [
  24. // state('initial, void, hidden', style({opacity: 0, transform: 'scale(0.8)'})),
  25. // state('visible', style({transform: 'scale(1)'})),
  26. // transition('* => visible', animate('150ms cubic-bezier(0, 0, 0.2, 1)')),
  27. // transition('* => hidden', animate('75ms cubic-bezier(0.4, 0, 1, 1)')),
  28. // ])
  29. /** Animation that transitions a tooltip in and out. */
  30. tooltipState: {
  31. type: 7,
  32. name: 'state',
  33. definitions: [
  34. {
  35. type: 0,
  36. name: 'initial, void, hidden',
  37. styles: { type: 6, styles: { opacity: 0, transform: 'scale(0.8)' }, offset: null },
  38. },
  39. {
  40. type: 0,
  41. name: 'visible',
  42. styles: { type: 6, styles: { transform: 'scale(1)' }, offset: null },
  43. },
  44. {
  45. type: 1,
  46. expr: '* => visible',
  47. animation: { type: 4, styles: null, timings: '150ms cubic-bezier(0, 0, 0.2, 1)' },
  48. options: null,
  49. },
  50. {
  51. type: 1,
  52. expr: '* => hidden',
  53. animation: { type: 4, styles: null, timings: '75ms cubic-bezier(0.4, 0, 1, 1)' },
  54. options: null,
  55. },
  56. ],
  57. options: {},
  58. },
  59. };
  60. export { matTooltipAnimations };
  61. //# sourceMappingURL=tooltip.mjs.map