├── README.md
├── _private-utils
├── angular-flex-layout-_private-utils.d.ts
├── auto-prefixer.d.ts
├── index.d.ts
├── layout-validator.d.ts
├── object-extend.d.ts
├── package.json
└── testing
│ ├── angular-flex-layout-_private-utils-testing.d.ts
│ ├── custom-matchers.d.ts
│ ├── dom-tools.d.ts
│ ├── helpers.d.ts
│ ├── index.d.ts
│ └── package.json
├── angular-flex-layout.d.ts
├── core
├── README.md
├── add-alias.d.ts
├── angular-flex-layout-core.d.ts
├── base
│ ├── base2.d.ts
│ └── index.d.ts
├── basis-validator
│ └── basis-validator.d.ts
├── breakpoints
│ ├── break-point-registry.d.ts
│ ├── break-point.d.ts
│ ├── break-points-token.d.ts
│ ├── breakpoint-tools.d.ts
│ ├── data
│ │ ├── break-points.d.ts
│ │ └── orientation-break-points.d.ts
│ └── index.d.ts
├── browser-provider.d.ts
├── match-media
│ ├── index.d.ts
│ ├── match-media.d.ts
│ └── mock
│ │ └── mock-match-media.d.ts
├── media-change.d.ts
├── media-marshaller
│ ├── media-marshaller.d.ts
│ └── print-hook.d.ts
├── media-observer
│ ├── index.d.ts
│ └── media-observer.d.ts
├── media-trigger
│ ├── index.d.ts
│ └── media-trigger.d.ts
├── module.d.ts
├── multiply
│ └── multiplier.d.ts
├── package.json
├── public-api.d.ts
├── sass
│ └── _layout-bp.scss
├── style-builder
│ └── style-builder.d.ts
├── style-utils
│ └── style-utils.d.ts
├── stylesheet-map
│ ├── index.d.ts
│ └── stylesheet-map.d.ts
├── tokens
│ ├── breakpoint-token.d.ts
│ ├── index.d.ts
│ ├── library-config.d.ts
│ └── server-token.d.ts
└── utils
│ ├── array.d.ts
│ ├── index.d.ts
│ └── sort.d.ts
├── esm2020
├── _private-utils
│ ├── angular-flex-layout-_private-utils.mjs
│ ├── auto-prefixer.mjs
│ ├── index.mjs
│ ├── layout-validator.mjs
│ ├── object-extend.mjs
│ └── testing
│ │ ├── angular-flex-layout-_private-utils-testing.mjs
│ │ ├── custom-matchers.mjs
│ │ ├── dom-tools.mjs
│ │ ├── helpers.mjs
│ │ └── index.mjs
├── angular-flex-layout.mjs
├── core
│ ├── add-alias.mjs
│ ├── angular-flex-layout-core.mjs
│ ├── base
│ │ ├── base2.mjs
│ │ └── index.mjs
│ ├── basis-validator
│ │ └── basis-validator.mjs
│ ├── breakpoints
│ │ ├── break-point-registry.mjs
│ │ ├── break-point.mjs
│ │ ├── break-points-token.mjs
│ │ ├── breakpoint-tools.mjs
│ │ ├── data
│ │ │ ├── break-points.mjs
│ │ │ └── orientation-break-points.mjs
│ │ └── index.mjs
│ ├── browser-provider.mjs
│ ├── match-media
│ │ ├── index.mjs
│ │ ├── match-media.mjs
│ │ └── mock
│ │ │ └── mock-match-media.mjs
│ ├── media-change.mjs
│ ├── media-marshaller
│ │ ├── media-marshaller.mjs
│ │ └── print-hook.mjs
│ ├── media-observer
│ │ ├── index.mjs
│ │ └── media-observer.mjs
│ ├── media-trigger
│ │ ├── index.mjs
│ │ └── media-trigger.mjs
│ ├── module.mjs
│ ├── multiply
│ │ └── multiplier.mjs
│ ├── public-api.mjs
│ ├── style-builder
│ │ └── style-builder.mjs
│ ├── style-utils
│ │ └── style-utils.mjs
│ ├── stylesheet-map
│ │ ├── index.mjs
│ │ └── stylesheet-map.mjs
│ ├── tokens
│ │ ├── breakpoint-token.mjs
│ │ ├── index.mjs
│ │ ├── library-config.mjs
│ │ └── server-token.mjs
│ └── utils
│ │ ├── array.mjs
│ │ ├── index.mjs
│ │ └── sort.mjs
├── extended
│ ├── angular-flex-layout-extended.mjs
│ ├── class
│ │ └── class.mjs
│ ├── img-src
│ │ └── img-src.mjs
│ ├── module.mjs
│ ├── public-api.mjs
│ ├── show-hide
│ │ └── show-hide.mjs
│ └── style
│ │ ├── style-transforms.mjs
│ │ └── style.mjs
├── flex
│ ├── angular-flex-layout-flex.mjs
│ ├── flex-align
│ │ └── flex-align.mjs
│ ├── flex-fill
│ │ └── flex-fill.mjs
│ ├── flex-offset
│ │ └── flex-offset.mjs
│ ├── flex-order
│ │ └── flex-order.mjs
│ ├── flex
│ │ └── flex.mjs
│ ├── layout-align
│ │ └── layout-align.mjs
│ ├── layout-gap
│ │ └── layout-gap.mjs
│ ├── layout
│ │ └── layout.mjs
│ ├── module.mjs
│ └── public-api.mjs
├── grid
│ ├── align-columns
│ │ └── align-columns.mjs
│ ├── align-rows
│ │ └── align-rows.mjs
│ ├── angular-flex-layout-grid.mjs
│ ├── area
│ │ └── area.mjs
│ ├── areas
│ │ └── areas.mjs
│ ├── auto
│ │ └── auto.mjs
│ ├── column
│ │ └── column.mjs
│ ├── columns
│ │ └── columns.mjs
│ ├── gap
│ │ └── gap.mjs
│ ├── grid-align
│ │ └── grid-align.mjs
│ ├── module.mjs
│ ├── public-api.mjs
│ ├── row
│ │ └── row.mjs
│ └── rows
│ │ └── rows.mjs
├── module.mjs
├── public-api.mjs
├── server
│ ├── angular-flex-layout-server.mjs
│ ├── module.mjs
│ ├── public-api.mjs
│ ├── server-match-media.mjs
│ └── server-provider.mjs
└── version.mjs
├── extended
├── README.md
├── angular-flex-layout-extended.d.ts
├── class
│ └── class.d.ts
├── img-src
│ └── img-src.d.ts
├── module.d.ts
├── package.json
├── public-api.d.ts
├── show-hide
│ └── show-hide.d.ts
└── style
│ ├── style-transforms.d.ts
│ └── style.d.ts
├── fesm2015
├── angular-flex-layout-_private-utils-testing.mjs
├── angular-flex-layout-_private-utils-testing.mjs.map
├── angular-flex-layout-_private-utils.mjs
├── angular-flex-layout-_private-utils.mjs.map
├── angular-flex-layout-core.mjs
├── angular-flex-layout-core.mjs.map
├── angular-flex-layout-extended.mjs
├── angular-flex-layout-extended.mjs.map
├── angular-flex-layout-flex.mjs
├── angular-flex-layout-flex.mjs.map
├── angular-flex-layout-grid.mjs
├── angular-flex-layout-grid.mjs.map
├── angular-flex-layout-server.mjs
├── angular-flex-layout-server.mjs.map
├── angular-flex-layout.mjs
└── angular-flex-layout.mjs.map
├── fesm2020
├── angular-flex-layout-_private-utils-testing.mjs
├── angular-flex-layout-_private-utils-testing.mjs.map
├── angular-flex-layout-_private-utils.mjs
├── angular-flex-layout-_private-utils.mjs.map
├── angular-flex-layout-core.mjs
├── angular-flex-layout-core.mjs.map
├── angular-flex-layout-extended.mjs
├── angular-flex-layout-extended.mjs.map
├── angular-flex-layout-flex.mjs
├── angular-flex-layout-flex.mjs.map
├── angular-flex-layout-grid.mjs
├── angular-flex-layout-grid.mjs.map
├── angular-flex-layout-server.mjs
├── angular-flex-layout-server.mjs.map
├── angular-flex-layout.mjs
└── angular-flex-layout.mjs.map
├── flex
├── README.md
├── angular-flex-layout-flex.d.ts
├── flex-align
│ └── flex-align.d.ts
├── flex-fill
│ └── flex-fill.d.ts
├── flex-offset
│ └── flex-offset.d.ts
├── flex-order
│ └── flex-order.d.ts
├── flex
│ └── flex.d.ts
├── layout-align
│ └── layout-align.d.ts
├── layout-gap
│ └── layout-gap.d.ts
├── layout
│ └── layout.d.ts
├── module.d.ts
├── package.json
└── public-api.d.ts
├── grid
├── README.md
├── align-columns
│ └── align-columns.d.ts
├── align-rows
│ └── align-rows.d.ts
├── angular-flex-layout-grid.d.ts
├── area
│ └── area.d.ts
├── areas
│ └── areas.d.ts
├── auto
│ └── auto.d.ts
├── column
│ └── column.d.ts
├── columns
│ └── columns.d.ts
├── gap
│ └── gap.d.ts
├── grid-align
│ └── grid-align.d.ts
├── module.d.ts
├── package.json
├── public-api.d.ts
├── row
│ └── row.d.ts
└── rows
│ └── rows.d.ts
├── module.d.ts
├── package.json
├── public-api.d.ts
├── server
├── README.md
├── angular-flex-layout-server.d.ts
├── module.d.ts
├── package.json
├── public-api.d.ts
├── server-match-media.d.ts
└── server-provider.d.ts
└── version.d.ts
/README.md:
--------------------------------------------------------------------------------
1 | Angular Flex-Layout
2 | =======
3 |
4 | The sources for this package are in the main [Angular Flex-Layout](https://github.com/angular/flex-layout) repo.
5 | Please file issues and pull requests against that repo.
6 |
7 | License: MIT
--------------------------------------------------------------------------------
/_private-utils/angular-flex-layout-_private-utils.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Generated bundle index. Do not edit.
3 | */
4 | ///
5 | export * from './index';
6 |
--------------------------------------------------------------------------------
/_private-utils/auto-prefixer.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | /**
9 | * Applies CSS prefixes to appropriate style keys.
10 | *
11 | * Note: `-ms-`, `-moz` and `-webkit-box` are no longer supported. e.g.
12 | * {
13 | * display: -webkit-flex; NEW - Safari 6.1+. iOS 7.1+, BB10
14 | * display: flex; NEW, Spec - Firefox, Chrome, Opera
15 | * // display: -webkit-box; OLD - iOS 6-, Safari 3.1-6, BB7
16 | * // display: -ms-flexbox; TWEENER - IE 10
17 | * // display: -moz-flexbox; OLD - Firefox
18 | * }
19 | */
20 | export declare function applyCssPrefixes(target: {
21 | [key: string]: any | null;
22 | }): {
23 | [key: string]: any;
24 | };
25 |
--------------------------------------------------------------------------------
/_private-utils/index.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | export * from './auto-prefixer';
9 | export * from './layout-validator';
10 | export * from './object-extend';
11 |
--------------------------------------------------------------------------------
/_private-utils/layout-validator.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | export declare const INLINE = "inline";
9 | export declare const LAYOUT_VALUES: string[];
10 | /**
11 | * Validate the direction|'direction wrap' value and then update the host's inline flexbox styles
12 | */
13 | export declare function buildLayoutCSS(value: string): {
14 | display: string;
15 | 'box-sizing': string;
16 | 'flex-direction': string;
17 | 'flex-wrap': string | null;
18 | };
19 | /**
20 | * Validate the value to be one of the acceptable value options
21 | * Use default fallback of 'row'
22 | */
23 | export declare function validateValue(value: string): [string, string, boolean];
24 | /**
25 | * Determine if the validated, flex-direction value specifies
26 | * a horizontal/row flow.
27 | */
28 | export declare function isFlowHorizontal(value: string): boolean;
29 | /**
30 | * Convert layout-wrap='' to expected flex-wrap style
31 | */
32 | export declare function validateWrapValue(value: string): string;
33 |
--------------------------------------------------------------------------------
/_private-utils/object-extend.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | /**
9 | * Extends an object with the *enumerable* and *own* properties of one or more source objects,
10 | * similar to Object.assign.
11 | *
12 | * @param dest The object which will have properties copied to it.
13 | * @param sources The source objects from which properties will be copied.
14 | */
15 | export declare function extendObject(dest: any, ...sources: any[]): any;
16 |
--------------------------------------------------------------------------------
/_private-utils/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "module": "../fesm2015/angular-flex-layout-_private-utils.mjs",
3 | "es2020": "../fesm2020/angular-flex-layout-_private-utils.mjs",
4 | "esm2020": "../esm2020/_private-utils/angular-flex-layout-_private-utils.mjs",
5 | "fesm2020": "../fesm2020/angular-flex-layout-_private-utils.mjs",
6 | "fesm2015": "../fesm2015/angular-flex-layout-_private-utils.mjs",
7 | "typings": "angular-flex-layout-_private-utils.d.ts",
8 | "sideEffects": false,
9 | "name": "@angular/flex-layout/_private-utils"
10 | }
--------------------------------------------------------------------------------
/_private-utils/testing/angular-flex-layout-_private-utils-testing.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Generated bundle index. Do not edit.
3 | */
4 | ///
5 | export * from './index';
6 |
--------------------------------------------------------------------------------
/_private-utils/testing/custom-matchers.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const expect: (actual: any) => NgMatchers;
3 | /**
4 | * Jasmine matchers that check Angular specific conditions.
5 | */
6 | export interface NgMatchers extends jasmine.Matchers {
7 | /**
8 | * Expect the element to have exactly the given text.
9 | *
10 | * ## Example
11 | *
12 | * {@example testing/ts/matchers.ts region='toHaveText'}
13 | */
14 | toHaveText(expected: string): boolean;
15 | /**
16 | * Compare key:value pairs as matching EXACTLY
17 | */
18 | toHaveMap(expected: {
19 | [k: string]: string;
20 | }): boolean;
21 | /**
22 | * Expect the element to have the given CSS class.
23 | *
24 | * ## Example
25 | *
26 | * {@example testing/ts/matchers.ts region='toHaveCssClass'}
27 | */
28 | toHaveCssClass(expected: string): boolean;
29 | /**
30 | * Expect the element to have the given pairs of attribute name and attribute value
31 | */
32 | toHaveAttributes(expected: {
33 | [k: string]: string;
34 | }): boolean;
35 | /**
36 | * Expect the element to have the given CSS styles injected INLINE
37 | *
38 | * ## Example
39 | *
40 | * {@example testing/ts/matchers.ts region='toHaveStyle'}
41 | */
42 | toHaveStyle(expected: {
43 | [k: string]: string;
44 | } | string): boolean;
45 | /**
46 | * Expect the element to have the given CSS inline OR computed styles.
47 | *
48 | * ## Example
49 | *
50 | * {@example testing/ts/matchers.ts region='toHaveStyle'}
51 | */
52 | toHaveStyle(expected: {
53 | [k: string]: string;
54 | } | string): boolean;
55 | /**
56 | * Invert the matchers.
57 | */
58 | not: NgMatchers;
59 | }
60 | /**
61 | * NOTE: These custom JASMINE Matchers are used only
62 | * in the Karma/Jasmine testing for the Layout Directives
63 | * in `src/lib/flex/api`
64 | */
65 | export declare const customMatchers: jasmine.CustomMatcherFactories;
66 |
--------------------------------------------------------------------------------
/_private-utils/testing/dom-tools.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | /**
9 | * Exported DOM accessor utility functions
10 | */
11 | export declare const _dom: {
12 | hasStyle: typeof hasStyle;
13 | getDistributedNodes: typeof getDistributedNodes;
14 | getShadowRoot: typeof getShadowRoot;
15 | getText: typeof getText;
16 | getStyle: typeof getStyle;
17 | childNodes: typeof childNodes;
18 | childNodesAsList: typeof childNodesAsList;
19 | hasClass: typeof hasClass;
20 | hasAttribute: typeof hasAttribute;
21 | getAttribute: typeof getAttribute;
22 | hasShadowRoot: typeof hasShadowRoot;
23 | isCommentNode: typeof isCommentNode;
24 | isElementNode: typeof isElementNode;
25 | isPresent: typeof isPresent;
26 | isShadowRoot: typeof isShadowRoot;
27 | tagName: typeof tagName;
28 | lastElementChild: typeof lastElementChild;
29 | };
30 | declare function getStyle(element: any, stylename: string): string;
31 | declare function hasStyle(element: any, styleName: string, styleValue?: string, inlineOnly?: boolean): boolean;
32 | declare function getDistributedNodes(el: HTMLElement): Node[];
33 | declare function getShadowRoot(el: HTMLElement): DocumentFragment;
34 | declare function getText(el: Node): string;
35 | declare function childNodesAsList(el: Node): any[];
36 | declare function hasClass(element: any, className: string): boolean;
37 | declare function hasAttribute(element: any, attributeName: string): boolean;
38 | declare function getAttribute(element: any, attributeName: string): string;
39 | declare function childNodes(el: any): Node[];
40 | declare function hasShadowRoot(node: any): boolean;
41 | declare function isCommentNode(node: Node): boolean;
42 | declare function isElementNode(node: Node): boolean;
43 | declare function isShadowRoot(node: any): boolean;
44 | declare function isPresent(obj: any): boolean;
45 | declare function tagName(element: any): string;
46 | declare function lastElementChild(element: any): Node | null;
47 | export {};
48 |
--------------------------------------------------------------------------------
/_private-utils/testing/helpers.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | import { Type, DebugElement } from '@angular/core';
9 | import { ComponentFixture } from '@angular/core/testing';
10 | export declare type ComponentClazzFn = () => Type;
11 | /**
12 | * Function generator that captures a Component Type accessor and enables
13 | * `createTestComponent()` to be reusable for *any* captured Component class.
14 | */
15 | export declare function makeCreateTestComponent(getClass: ComponentClazzFn): (template: string, styles?: any) => ComponentFixture>;
16 | /**
17 | *
18 | */
19 | export declare function expectNativeEl(fixture: ComponentFixture, instanceOptions?: any): any;
20 | /**
21 | *
22 | */
23 | export declare function expectEl(debugEl: DebugElement): any;
24 | export declare function queryFor(fixture: ComponentFixture, selector: string): DebugElement[];
25 |
--------------------------------------------------------------------------------
/_private-utils/testing/index.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | export * from './custom-matchers';
9 | export * from './dom-tools';
10 | export * from './helpers';
11 |
--------------------------------------------------------------------------------
/_private-utils/testing/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "module": "../../fesm2015/angular-flex-layout-_private-utils-testing.mjs",
3 | "es2020": "../../fesm2020/angular-flex-layout-_private-utils-testing.mjs",
4 | "esm2020": "../../esm2020/_private-utils/testing/angular-flex-layout-_private-utils-testing.mjs",
5 | "fesm2020": "../../fesm2020/angular-flex-layout-_private-utils-testing.mjs",
6 | "fesm2015": "../../fesm2015/angular-flex-layout-_private-utils-testing.mjs",
7 | "typings": "angular-flex-layout-_private-utils-testing.d.ts",
8 | "sideEffects": false,
9 | "name": "@angular/flex-layout/_private-utils/testing"
10 | }
--------------------------------------------------------------------------------
/angular-flex-layout.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Generated bundle index. Do not edit.
3 | */
4 | ///
5 | export * from './public-api';
6 |
--------------------------------------------------------------------------------
/core/README.md:
--------------------------------------------------------------------------------
1 | The `core` entrypoint contains all of the common utilities to build Layout
2 | components. Its primary exports are the `MediaQuery` utility
3 | `MediaObserver` and the module that encapsulates the imports of these
4 | providers, the `CoreModule`, and the base directive for layout
5 | components, `BaseDirective2`. These utilities can be imported separately
6 | from the root module to take advantage of tree shaking.
7 |
8 | ```typescript
9 | import {NgModule} from '@angular/core';
10 | import {CoreModule} from '@angular/flex-layout/core';
11 |
12 | @NgModule(({
13 | imports: [
14 | ... other imports here
15 | CoreModule,
16 | ]
17 | }))
18 | export class AppModule {}
19 | ```
20 |
21 | ```typescript
22 | import {BaseDirective2} from '@angular/flex-layout/core';
23 |
24 | export class NewLayoutDirective extends BaseDirective2 {}
25 | ```
26 |
--------------------------------------------------------------------------------
/core/add-alias.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | import { MediaChange } from './media-change';
9 | import { OptionalBreakPoint } from './breakpoints';
10 | /**
11 | * For the specified MediaChange, make sure it contains the breakpoint alias
12 | * and suffix (if available).
13 | */
14 | export declare function mergeAlias(dest: MediaChange, source: OptionalBreakPoint): MediaChange;
15 |
--------------------------------------------------------------------------------
/core/angular-flex-layout-core.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Generated bundle index. Do not edit.
3 | */
4 | ///
5 | export * from './public-api';
6 |
--------------------------------------------------------------------------------
/core/base/base2.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | import { ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
9 | import { Observable, Subject } from 'rxjs';
10 | import { StyleDefinition, StyleUtils } from '../style-utils/style-utils';
11 | import { StyleBuilder } from '../style-builder/style-builder';
12 | import { MediaMarshaller } from '../media-marshaller/media-marshaller';
13 | import * as i0 from "@angular/core";
14 | export declare abstract class BaseDirective2 implements OnChanges, OnDestroy {
15 | protected elementRef: ElementRef;
16 | protected styleBuilder: StyleBuilder;
17 | protected styler: StyleUtils;
18 | protected marshal: MediaMarshaller;
19 | protected DIRECTIVE_KEY: string;
20 | protected inputs: string[];
21 | /** The most recently used styles for the builder */
22 | protected mru: StyleDefinition;
23 | protected destroySubject: Subject;
24 | protected currentValue: any;
25 | /** Access to host element's parent DOM node */
26 | protected get parentElement(): HTMLElement | null;
27 | /** Access to the HTMLElement for the directive */
28 | protected get nativeElement(): HTMLElement;
29 | /** Access to the activated value for the directive */
30 | get activatedValue(): string;
31 | set activatedValue(value: string);
32 | /** Cache map for style computation */
33 | protected styleCache: Map;
34 | protected constructor(elementRef: ElementRef, styleBuilder: StyleBuilder, styler: StyleUtils, marshal: MediaMarshaller);
35 | /** For @Input changes */
36 | ngOnChanges(changes: SimpleChanges): void;
37 | ngOnDestroy(): void;
38 | /** Register with central marshaller service */
39 | protected init(extraTriggers?: Observable[]): void;
40 | /** Add styles to the element using predefined style builder */
41 | protected addStyles(input: string, parent?: Object): void;
42 | /** Remove generated styles from an element using predefined style builder */
43 | protected clearStyles(): void;
44 | /** Force trigger style updates on DOM element */
45 | protected triggerUpdate(): void;
46 | /**
47 | * Determine the DOM element's Flexbox flow (flex-direction).
48 | *
49 | * Check inline style first then check computed (stylesheet) style.
50 | * And optionally add the flow value to element's inline style.
51 | */
52 | protected getFlexFlowDirection(target: HTMLElement, addIfMissing?: boolean): string;
53 | protected hasWrap(target: HTMLElement): boolean;
54 | /** Applies styles given via string pair or object map to the directive element */
55 | protected applyStyleToElement(style: StyleDefinition, value?: string | number, element?: HTMLElement): void;
56 | protected setValue(val: any, bp: string): void;
57 | protected updateWithValue(input: string): void;
58 | static ɵfac: i0.ɵɵFactoryDeclaration;
59 | static ɵdir: i0.ɵɵDirectiveDeclaration;
60 | }
61 |
--------------------------------------------------------------------------------
/core/base/index.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | export * from './base2';
9 |
--------------------------------------------------------------------------------
/core/basis-validator/basis-validator.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | /**
9 | * The flex API permits 3 or 1 parts of the value:
10 | * - `flex-grow flex-shrink flex-basis`, or
11 | * - `flex-basis`
12 | */
13 | export declare function validateBasis(basis: string, grow?: string, shrink?: string): string[];
14 |
--------------------------------------------------------------------------------
/core/breakpoints/break-point-registry.d.ts:
--------------------------------------------------------------------------------
1 | import { BreakPoint } from './break-point';
2 | import * as i0 from "@angular/core";
3 | export declare type OptionalBreakPoint = BreakPoint | null;
4 | /**
5 | * Registry of 1..n MediaQuery breakpoint ranges
6 | * This is published as a provider and may be overridden from custom, application-specific ranges
7 | *
8 | */
9 | export declare class BreakPointRegistry {
10 | readonly items: BreakPoint[];
11 | constructor(list: BreakPoint[]);
12 | /**
13 | * Search breakpoints by alias (e.g. gt-xs)
14 | */
15 | findByAlias(alias: string): OptionalBreakPoint;
16 | findByQuery(query: string): OptionalBreakPoint;
17 | /**
18 | * Get all the breakpoints whose ranges could overlapping `normal` ranges;
19 | * e.g. gt-sm overlaps md, lg, and xl
20 | */
21 | get overlappings(): BreakPoint[];
22 | /**
23 | * Get list of all registered (non-empty) breakpoint aliases
24 | */
25 | get aliases(): string[];
26 | /**
27 | * Aliases are mapped to properties using suffixes
28 | * e.g. 'gt-sm' for property 'layout' uses suffix 'GtSm'
29 | * for property layoutGtSM.
30 | */
31 | get suffixes(): string[];
32 | /**
33 | * Memoized lookup using custom predicate function
34 | */
35 | private findWithPredicate;
36 | /**
37 | * Memoized BreakPoint Lookups
38 | */
39 | private readonly findByMap;
40 | static ɵfac: i0.ɵɵFactoryDeclaration;
41 | static ɵprov: i0.ɵɵInjectableDeclaration;
42 | }
43 |
--------------------------------------------------------------------------------
/core/breakpoints/break-point.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | export interface BreakPoint {
9 | mediaQuery: string;
10 | alias: string;
11 | suffix?: string;
12 | overlapping?: boolean;
13 | priority?: number;
14 | }
15 |
--------------------------------------------------------------------------------
/core/breakpoints/break-points-token.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | import { InjectionToken } from '@angular/core';
9 | import { BreakPoint } from './break-point';
10 | /**
11 | * Injection token unique to the flex-layout library.
12 | * Use this token when build a custom provider (see below).
13 | */
14 | export declare const BREAKPOINTS: InjectionToken;
15 |
--------------------------------------------------------------------------------
/core/breakpoints/breakpoint-tools.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | import { BreakPoint } from './break-point';
9 | /**
10 | * For each breakpoint, ensure that a Suffix is defined;
11 | * fallback to UpperCamelCase the unique Alias value
12 | */
13 | export declare function validateSuffixes(list: BreakPoint[]): BreakPoint[];
14 | /**
15 | * Merge a custom breakpoint list with the default list based on unique alias values
16 | * - Items are added if the alias is not in the default list
17 | * - Items are merged with the custom override if the alias exists in the default list
18 | */
19 | export declare function mergeByAlias(defaults: BreakPoint[], custom?: BreakPoint[]): BreakPoint[];
20 |
--------------------------------------------------------------------------------
/core/breakpoints/data/break-points.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | import { BreakPoint } from '../break-point';
9 | /**
10 | * NOTE: Smaller ranges have HIGHER priority since the match is more specific
11 | */
12 | export declare const DEFAULT_BREAKPOINTS: BreakPoint[];
13 |
--------------------------------------------------------------------------------
/core/breakpoints/data/orientation-break-points.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | import { BreakPoint } from '../break-point';
9 | export declare const ScreenTypes: {
10 | HANDSET: string;
11 | TABLET: string;
12 | WEB: string;
13 | HANDSET_PORTRAIT: string;
14 | TABLET_PORTRAIT: string;
15 | WEB_PORTRAIT: string;
16 | HANDSET_LANDSCAPE: string;
17 | TABLET_LANDSCAPE: string;
18 | WEB_LANDSCAPE: string;
19 | };
20 | /**
21 | * Extended Breakpoints for handset/tablets with landscape or portrait orientations
22 | */
23 | export declare const ORIENTATION_BREAKPOINTS: BreakPoint[];
24 |
--------------------------------------------------------------------------------
/core/breakpoints/index.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | export * from './data/break-points';
9 | export * from './data/orientation-break-points';
10 | export * from './break-point';
11 | export * from './break-point-registry';
12 | export * from './break-points-token';
13 |
--------------------------------------------------------------------------------
/core/browser-provider.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright Google LLC All Rights Reserved.
4 | *
5 | * Use of this source code is governed by an MIT-style license that can be
6 | * found in the LICENSE file at https://angular.io/license
7 | */
8 | import { InjectionToken } from '@angular/core';
9 | /**
10 | * Find all of the server-generated stylings, if any, and remove them
11 | * This will be in the form of inline classes and the style block in the
12 | * head of the DOM
13 | */
14 | export declare function removeStyles(_document: Document, platformId: Object): () => void;
15 | /**
16 | * Provider to remove SSR styles on the browser
17 | */
18 | export declare const BROWSER_PROVIDER: {
19 | provide: InjectionToken<(() => void)[]>;
20 | useFactory: typeof removeStyles;
21 | deps: InjectionToken