UNPKG

@angular/material

Version:
134 lines (131 loc) 4.48 kB
export { e as MatOptgroup, a as MatOption } from './option-105bf9fa.mjs'; export { d as MatError, k as MatFormField, e as MatHint, b as MatLabel, g as MatPrefix, i as MatSuffix } from './form-field-0a6b3078.mjs'; export { d as MAT_SELECT_CONFIG, b as MAT_SELECT_SCROLL_STRATEGY, e as MAT_SELECT_SCROLL_STRATEGY_PROVIDER, c as MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY, f as MAT_SELECT_TRIGGER, M as MatSelect, g as MatSelectChange, a as MatSelectModule, h as MatSelectTrigger } from './module-b2aac45b.mjs'; import '@angular/cdk/a11y'; import '@angular/cdk/keycodes'; import '@angular/core'; import 'rxjs'; import './ripple-33861831.mjs'; import '@angular/cdk/platform'; import '@angular/cdk/coercion'; import '@angular/cdk/private'; import './pseudo-checkbox-18f8a087.mjs'; import './structural-styles-afbfe518.mjs'; import '@angular/cdk/bidi'; import '@angular/common'; import 'rxjs/operators'; import '@angular/cdk/observers/private'; import '@angular/cdk/overlay'; import '@angular/cdk/scrolling'; import '@angular/cdk/collections'; import '@angular/forms'; import './error-options-b4cb6808.mjs'; import './error-state-66849a3f.mjs'; import './index-2b66fc5f.mjs'; import './index-91512b69.mjs'; import './common-module-5a9c16bb.mjs'; import './pseudo-checkbox-module-6293765e.mjs'; import './module-3bb03da5.mjs'; import '@angular/cdk/observers'; /** * The following are all the animations for the mat-select component, with each * const containing the metadata for one animation. * * The values below match the implementation of the AngularJS Material mat-select animation. * @docs-private * @deprecated No longer used, will be removed. * @breaking-change 21.0.0 */ const matSelectAnimations = { // Represents // trigger('transformPanelWrap', [ // transition('* => void', query('@transformPanel', [animateChild()], {optional: true})), // ]) /** * This animation ensures the select's overlay panel animation (transformPanel) is called when * closing the select. * This is needed due to https://github.com/angular/angular/issues/23302 */ transformPanelWrap: { type: 7, name: 'transformPanelWrap', definitions: [ { type: 1, expr: '* => void', animation: { type: 11, selector: '@transformPanel', animation: [{ type: 9, options: null }], options: { optional: true }, }, options: null, }, ], options: {}, }, // Represents // trigger('transformPanel', [ // state( // 'void', // style({ // opacity: 0, // transform: 'scale(1, 0.8)', // }), // ), // transition( // 'void => showing', // animate( // '120ms cubic-bezier(0, 0, 0.2, 1)', // style({ // opacity: 1, // transform: 'scale(1, 1)', // }), // ), // ), // transition('* => void', animate('100ms linear', style({opacity: 0}))), // ]) /** This animation transforms the select's overlay panel on and off the page. */ transformPanel: { type: 7, name: 'transformPanel', definitions: [ { type: 0, name: 'void', styles: { type: 6, styles: { opacity: 0, transform: 'scale(1, 0.8)' }, offset: null, }, }, { type: 1, expr: 'void => showing', animation: { type: 4, styles: { type: 6, styles: { opacity: 1, transform: 'scale(1, 1)' }, offset: null, }, timings: '120ms cubic-bezier(0, 0, 0.2, 1)', }, options: null, }, { type: 1, expr: '* => void', animation: { type: 4, styles: { type: 6, styles: { opacity: 0 }, offset: null }, timings: '100ms linear', }, options: null, }, ], options: {}, }, }; export { matSelectAnimations }; //# sourceMappingURL=select.mjs.map