form-field.mjs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. export { a as MAT_ERROR, h as MAT_FORM_FIELD, i as MAT_FORM_FIELD_DEFAULT_OPTIONS, d as MAT_PREFIX, f as MAT_SUFFIX, b as MatError, j as MatFormField, k as MatFormFieldControl, c as MatHint, M as MatLabel, e as MatPrefix, g as MatSuffix, m as getMatFormFieldDuplicatedHintError, n as getMatFormFieldMissingControlError, l as getMatFormFieldPlaceholderConflictError } from './form-field-DqPi4knt.mjs';
  2. export { M as MatFormFieldModule } from './module-BXZhw7pQ.mjs';
  3. import '@angular/cdk/bidi';
  4. import '@angular/cdk/coercion';
  5. import '@angular/cdk/platform';
  6. import '@angular/common';
  7. import '@angular/core';
  8. import '@angular/cdk/a11y';
  9. import 'rxjs';
  10. import 'rxjs/operators';
  11. import '@angular/cdk/observers/private';
  12. import '@angular/cdk/observers';
  13. import './common-module-WayjW0Pb.mjs';
  14. /**
  15. * Animations used by the MatFormField.
  16. * @docs-private
  17. * @deprecated No longer used, will be removed.
  18. * @breaking-change 21.0.0
  19. */
  20. const matFormFieldAnimations = {
  21. // Represents:
  22. // trigger('transitionMessages', [
  23. // // TODO(mmalerba): Use angular animations for label animation as well.
  24. // state('enter', style({opacity: 1, transform: 'translateY(0%)'})),
  25. // transition('void => enter', [
  26. // style({opacity: 0, transform: 'translateY(-5px)'}),
  27. // animate('300ms cubic-bezier(0.55, 0, 0.55, 0.2)'),
  28. // ]),
  29. // ])
  30. /** Animation that transitions the form field's error and hint messages. */
  31. transitionMessages: {
  32. type: 7,
  33. name: 'transitionMessages',
  34. definitions: [
  35. {
  36. type: 0,
  37. name: 'enter',
  38. styles: {
  39. type: 6,
  40. styles: { opacity: 1, transform: 'translateY(0%)' },
  41. offset: null,
  42. },
  43. },
  44. {
  45. type: 1,
  46. expr: 'void => enter',
  47. animation: [
  48. { type: 6, styles: { opacity: 0, transform: 'translateY(-5px)' }, offset: null },
  49. { type: 4, styles: null, timings: '300ms cubic-bezier(0.55, 0, 0.55, 0.2)' },
  50. ],
  51. options: null,
  52. },
  53. ],
  54. options: {},
  55. },
  56. };
  57. export { matFormFieldAnimations };
  58. //# sourceMappingURL=form-field.mjs.map