@angular/material
Version:
Angular Material
61 lines (58 loc) • 2.3 kB
JavaScript
export { c as MAT_ERROR, M as MAT_FORM_FIELD, j as MAT_FORM_FIELD_DEFAULT_OPTIONS, f as MAT_PREFIX, h as MAT_SUFFIX, d as MatError, k as MatFormField, a as MatFormFieldControl, e as MatHint, b as MatLabel, g as MatPrefix, i as MatSuffix, m as getMatFormFieldDuplicatedHintError, n as getMatFormFieldMissingControlError, l as getMatFormFieldPlaceholderConflictError } from './form-field-0a6b3078.mjs';
export { M as MatFormFieldModule } from './module-3bb03da5.mjs';
import '@angular/cdk/bidi';
import '@angular/cdk/coercion';
import '@angular/cdk/platform';
import '@angular/common';
import '@angular/core';
import '@angular/cdk/a11y';
import 'rxjs';
import 'rxjs/operators';
import '@angular/cdk/observers/private';
import '@angular/cdk/observers';
import './common-module-5a9c16bb.mjs';
/**
* Animations used by the MatFormField.
* @docs-private
* @deprecated No longer used, will be removed.
* @breaking-change 21.0.0
*/
const matFormFieldAnimations = {
// Represents:
// trigger('transitionMessages', [
// // TODO(mmalerba): Use angular animations for label animation as well.
// state('enter', style({opacity: 1, transform: 'translateY(0%)'})),
// transition('void => enter', [
// style({opacity: 0, transform: 'translateY(-5px)'}),
// animate('300ms cubic-bezier(0.55, 0, 0.55, 0.2)'),
// ]),
// ])
/** Animation that transitions the form field's error and hint messages. */
transitionMessages: {
type: 7,
name: 'transitionMessages',
definitions: [
{
type: 0,
name: 'enter',
styles: {
type: 6,
styles: { opacity: 1, transform: 'translateY(0%)' },
offset: null,
},
},
{
type: 1,
expr: 'void => enter',
animation: [
{ type: 6, styles: { opacity: 0, transform: 'translateY(-5px)' }, offset: null },
{ type: 4, styles: null, timings: '300ms cubic-bezier(0.55, 0, 0.55, 0.2)' },
],
options: null,
},
],
options: {},
},
};
export { matFormFieldAnimations };
//# sourceMappingURL=form-field.mjs.map