index.d.ts 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. import { _AbstractConstructor } from '@angular/material/core';
  2. import { AfterViewInit } from '@angular/core';
  3. import { CanColor } from '@angular/material/core';
  4. import { _Constructor } from '@angular/material/core';
  5. import { ElementRef } from '@angular/core';
  6. import * as i0 from '@angular/core';
  7. import * as i2 from '@angular/material/core';
  8. import { Platform } from '@angular/cdk/platform';
  9. import { QueryList } from '@angular/core';
  10. declare namespace i1 {
  11. export {
  12. throwToolbarMixedModesError,
  13. MatToolbarRow,
  14. MatToolbar
  15. }
  16. }
  17. export declare class MatToolbar extends _MatToolbarBase implements CanColor, AfterViewInit {
  18. private _platform;
  19. private _document;
  20. /** Reference to all toolbar row elements that have been projected. */
  21. _toolbarRows: QueryList<MatToolbarRow>;
  22. constructor(elementRef: ElementRef, _platform: Platform, document?: any);
  23. ngAfterViewInit(): void;
  24. /**
  25. * Throws an exception when developers are attempting to combine the different toolbar row modes.
  26. */
  27. private _checkToolbarMixedModes;
  28. static ɵfac: i0.ɵɵFactoryDeclaration<MatToolbar, never>;
  29. static ɵcmp: i0.ɵɵComponentDeclaration<MatToolbar, "mat-toolbar", ["matToolbar"], { "color": { "alias": "color"; "required": false; }; }, {}, ["_toolbarRows"], ["*", "mat-toolbar-row"], false, never>;
  30. }
  31. /** @docs-private */
  32. declare const _MatToolbarBase: _Constructor<CanColor> & _AbstractConstructor<CanColor> & {
  33. new (_elementRef: ElementRef): {
  34. _elementRef: ElementRef;
  35. };
  36. };
  37. export declare class MatToolbarModule {
  38. static ɵfac: i0.ɵɵFactoryDeclaration<MatToolbarModule, never>;
  39. static ɵmod: i0.ɵɵNgModuleDeclaration<MatToolbarModule, [typeof i1.MatToolbar, typeof i1.MatToolbarRow], [typeof i2.MatCommonModule], [typeof i1.MatToolbar, typeof i1.MatToolbarRow, typeof i2.MatCommonModule]>;
  40. static ɵinj: i0.ɵɵInjectorDeclaration<MatToolbarModule>;
  41. }
  42. export declare class MatToolbarRow {
  43. static ɵfac: i0.ɵɵFactoryDeclaration<MatToolbarRow, never>;
  44. static ɵdir: i0.ɵɵDirectiveDeclaration<MatToolbarRow, "mat-toolbar-row", ["matToolbarRow"], {}, {}, never, never, false, never>;
  45. }
  46. /**
  47. * Throws an exception when attempting to combine the different toolbar row modes.
  48. * @docs-private
  49. */
  50. export declare function throwToolbarMixedModesError(): void;
  51. export { }