@dugararchit/flex-layout 13.0.0-dugararchit

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/README.md +7 -0
  2. package/_private-utils/angular-flex-layout-_private-utils.d.ts +5 -0
  3. package/_private-utils/auto-prefixer.d.ts +24 -0
  4. package/_private-utils/index.d.ts +10 -0
  5. package/_private-utils/layout-validator.d.ts +32 -0
  6. package/_private-utils/object-extend.d.ts +15 -0
  7. package/_private-utils/package.json +10 -0
  8. package/_private-utils/testing/angular-flex-layout-_private-utils-testing.d.ts +5 -0
  9. package/_private-utils/testing/custom-matchers.d.ts +65 -0
  10. package/_private-utils/testing/dom-tools.d.ts +47 -0
  11. package/_private-utils/testing/helpers.d.ts +24 -0
  12. package/_private-utils/testing/index.d.ts +10 -0
  13. package/_private-utils/testing/package.json +10 -0
  14. package/angular-flex-layout-13.0.0-beta.38.tgz +0 -0
  15. package/angular-flex-layout.d.ts +5 -0
  16. package/core/README.md +25 -0
  17. package/core/add-alias.d.ts +14 -0
  18. package/core/angular-flex-layout-core.d.ts +5 -0
  19. package/core/base/base2.d.ts +60 -0
  20. package/core/base/index.d.ts +8 -0
  21. package/core/basis-validator/basis-validator.d.ts +13 -0
  22. package/core/breakpoints/break-point-registry.d.ts +42 -0
  23. package/core/breakpoints/break-point.d.ts +14 -0
  24. package/core/breakpoints/break-points-token.d.ts +14 -0
  25. package/core/breakpoints/breakpoint-tools.d.ts +19 -0
  26. package/core/breakpoints/data/break-points.d.ts +12 -0
  27. package/core/breakpoints/data/orientation-break-points.d.ts +23 -0
  28. package/core/breakpoints/index.d.ts +12 -0
  29. package/core/browser-provider.d.ts +24 -0
  30. package/core/match-media/index.d.ts +9 -0
  31. package/core/match-media/match-media.d.ts +59 -0
  32. package/core/match-media/mock/mock-match-media.d.ts +92 -0
  33. package/core/media-change.d.ts +30 -0
  34. package/core/media-marshaller/media-marshaller.d.ts +123 -0
  35. package/core/media-marshaller/print-hook.d.ts +95 -0
  36. package/core/media-observer/index.d.ts +8 -0
  37. package/core/media-observer/media-observer.d.ts +115 -0
  38. package/core/media-trigger/index.d.ts +8 -0
  39. package/core/media-trigger/media-trigger.d.ts +73 -0
  40. package/core/module.d.ts +11 -0
  41. package/core/multiply/multiplier.d.ts +5 -0
  42. package/core/package.json +10 -0
  43. package/core/public-api.d.ts +25 -0
  44. package/core/sass/_layout-bp.scss +76 -0
  45. package/core/style-builder/style-builder.d.ts +21 -0
  46. package/core/style-utils/style-utils.d.ts +53 -0
  47. package/core/stylesheet-map/index.d.ts +8 -0
  48. package/core/stylesheet-map/stylesheet-map.d.ts +24 -0
  49. package/core/tokens/breakpoint-token.d.ts +10 -0
  50. package/core/tokens/index.d.ts +10 -0
  51. package/core/tokens/library-config.d.ts +26 -0
  52. package/core/tokens/server-token.d.ts +15 -0
  53. package/core/utils/array.d.ts +9 -0
  54. package/core/utils/index.d.ts +9 -0
  55. package/core/utils/sort.d.ts +15 -0
  56. package/esm2020/_private-utils/angular-flex-layout-_private-utils.mjs +5 -0
  57. package/esm2020/_private-utils/auto-prefixer.mjs +65 -0
  58. package/esm2020/_private-utils/index.mjs +11 -0
  59. package/esm2020/_private-utils/layout-validator.mjs +83 -0
  60. package/esm2020/_private-utils/object-extend.mjs +30 -0
  61. package/esm2020/_private-utils/testing/angular-flex-layout-_private-utils-testing.mjs +5 -0
  62. package/esm2020/_private-utils/testing/custom-matchers.mjs +201 -0
  63. package/esm2020/_private-utils/testing/dom-tools.mjs +101 -0
  64. package/esm2020/_private-utils/testing/helpers.mjs +43 -0
  65. package/esm2020/_private-utils/testing/index.mjs +11 -0
  66. package/esm2020/angular-flex-layout.mjs +5 -0
  67. package/esm2020/core/add-alias.mjs +23 -0
  68. package/esm2020/core/angular-flex-layout-core.mjs +5 -0
  69. package/esm2020/core/base/base2.mjs +131 -0
  70. package/esm2020/core/base/index.mjs +9 -0
  71. package/esm2020/core/basis-validator/basis-validator.mjs +48 -0
  72. package/esm2020/core/breakpoints/break-point-registry.mjs +76 -0
  73. package/esm2020/core/breakpoints/break-point.mjs +2 -0
  74. package/esm2020/core/breakpoints/break-points-token.mjs +30 -0
  75. package/esm2020/core/breakpoints/breakpoint-tools.mjs +53 -0
  76. package/esm2020/core/breakpoints/data/break-points.mjs +78 -0
  77. package/esm2020/core/breakpoints/data/orientation-break-points.mjs +40 -0
  78. package/esm2020/core/breakpoints/index.mjs +13 -0
  79. package/esm2020/core/browser-provider.mjs +41 -0
  80. package/esm2020/core/match-media/index.mjs +10 -0
  81. package/esm2020/core/match-media/match-media.mjs +186 -0
  82. package/esm2020/core/match-media/mock/mock-match-media.mjs +224 -0
  83. package/esm2020/core/media-change.mjs +25 -0
  84. package/esm2020/core/media-marshaller/media-marshaller.mjs +317 -0
  85. package/esm2020/core/media-marshaller/print-hook.mjs +265 -0
  86. package/esm2020/core/media-observer/index.mjs +9 -0
  87. package/esm2020/core/media-observer/media-observer.mjs +195 -0
  88. package/esm2020/core/media-trigger/index.mjs +9 -0
  89. package/esm2020/core/media-trigger/media-trigger.mjs +188 -0
  90. package/esm2020/core/module.mjs +27 -0
  91. package/esm2020/core/multiply/multiplier.mjs +16 -0
  92. package/esm2020/core/public-api.mjs +26 -0
  93. package/esm2020/core/style-builder/style-builder.mjs +15 -0
  94. package/esm2020/core/style-utils/style-utils.mjs +174 -0
  95. package/esm2020/core/stylesheet-map/index.mjs +9 -0
  96. package/esm2020/core/stylesheet-map/stylesheet-map.mjs +59 -0
  97. package/esm2020/core/tokens/breakpoint-token.mjs +13 -0
  98. package/esm2020/core/tokens/index.mjs +11 -0
  99. package/esm2020/core/tokens/library-config.mjs +30 -0
  100. package/esm2020/core/tokens/server-token.mjs +19 -0
  101. package/esm2020/core/utils/array.mjs +12 -0
  102. package/esm2020/core/utils/index.mjs +10 -0
  103. package/esm2020/core/utils/sort.mjs +20 -0
  104. package/esm2020/extended/angular-flex-layout-extended.mjs +5 -0
  105. package/esm2020/extended/class/class.mjs +88 -0
  106. package/esm2020/extended/img-src/img-src.mjs +106 -0
  107. package/esm2020/extended/module.mjs +45 -0
  108. package/esm2020/extended/public-api.mjs +13 -0
  109. package/esm2020/extended/show-hide/show-hide.mjs +176 -0
  110. package/esm2020/extended/style/style-transforms.mjs +76 -0
  111. package/esm2020/extended/style/style.mjs +130 -0
  112. package/esm2020/flex/angular-flex-layout-flex.mjs +5 -0
  113. package/esm2020/flex/flex/flex.mjs +291 -0
  114. package/esm2020/flex/flex-align/flex-align.mjs +80 -0
  115. package/esm2020/flex/flex-fill/flex-fill.mjs +50 -0
  116. package/esm2020/flex/flex-offset/flex-offset.mjs +121 -0
  117. package/esm2020/flex/flex-order/flex-order.mjs +66 -0
  118. package/esm2020/flex/layout/layout.mjs +86 -0
  119. package/esm2020/flex/layout-align/layout-align.mjs +194 -0
  120. package/esm2020/flex/layout-gap/layout-gap.mjs +282 -0
  121. package/esm2020/flex/module.mjs +62 -0
  122. package/esm2020/flex/public-api.mjs +17 -0
  123. package/esm2020/grid/align-columns/align-columns.mjs +137 -0
  124. package/esm2020/grid/align-rows/align-rows.mjs +119 -0
  125. package/esm2020/grid/angular-flex-layout-grid.mjs +5 -0
  126. package/esm2020/grid/area/area.mjs +67 -0
  127. package/esm2020/grid/areas/areas.mjs +86 -0
  128. package/esm2020/grid/auto/auto.mjs +89 -0
  129. package/esm2020/grid/column/column.mjs +67 -0
  130. package/esm2020/grid/columns/columns.mjs +96 -0
  131. package/esm2020/grid/gap/gap.mjs +85 -0
  132. package/esm2020/grid/grid-align/grid-align.mjs +111 -0
  133. package/esm2020/grid/module.mjs +73 -0
  134. package/esm2020/grid/public-api.mjs +20 -0
  135. package/esm2020/grid/row/row.mjs +67 -0
  136. package/esm2020/grid/rows/rows.mjs +96 -0
  137. package/esm2020/module.mjs +64 -0
  138. package/esm2020/public-api.mjs +20 -0
  139. package/esm2020/server/angular-flex-layout-server.mjs +5 -0
  140. package/esm2020/server/module.mjs +22 -0
  141. package/esm2020/server/public-api.mjs +10 -0
  142. package/esm2020/server/server-match-media.mjs +151 -0
  143. package/esm2020/server/server-provider.mjs +140 -0
  144. package/esm2020/version.mjs +11 -0
  145. package/extended/README.md +18 -0
  146. package/extended/angular-flex-layout-extended.d.ts +5 -0
  147. package/extended/class/class.d.ts +38 -0
  148. package/extended/img-src/img-src.d.ts +51 -0
  149. package/extended/module.d.ts +16 -0
  150. package/extended/package.json +10 -0
  151. package/extended/public-api.d.ts +12 -0
  152. package/extended/show-hide/show-hide.d.ts +61 -0
  153. package/extended/style/style-transforms.d.ts +36 -0
  154. package/extended/style/style.d.ts +45 -0
  155. package/fesm2015/angular-flex-layout-_private-utils-testing.mjs +357 -0
  156. package/fesm2015/angular-flex-layout-_private-utils-testing.mjs.map +1 -0
  157. package/fesm2015/angular-flex-layout-_private-utils.mjs +193 -0
  158. package/fesm2015/angular-flex-layout-_private-utils.mjs.map +1 -0
  159. package/fesm2015/angular-flex-layout-core.mjs +2331 -0
  160. package/fesm2015/angular-flex-layout-core.mjs.map +1 -0
  161. package/fesm2015/angular-flex-layout-extended.mjs +621 -0
  162. package/fesm2015/angular-flex-layout-extended.mjs.map +1 -0
  163. package/fesm2015/angular-flex-layout-flex.mjs +1206 -0
  164. package/fesm2015/angular-flex-layout-flex.mjs.map +1 -0
  165. package/fesm2015/angular-flex-layout-grid.mjs +1047 -0
  166. package/fesm2015/angular-flex-layout-grid.mjs.map +1 -0
  167. package/fesm2015/angular-flex-layout-server.mjs +324 -0
  168. package/fesm2015/angular-flex-layout-server.mjs.map +1 -0
  169. package/fesm2015/angular-flex-layout.mjs +94 -0
  170. package/fesm2015/angular-flex-layout.mjs.map +1 -0
  171. package/fesm2020/angular-flex-layout-_private-utils-testing.mjs +357 -0
  172. package/fesm2020/angular-flex-layout-_private-utils-testing.mjs.map +1 -0
  173. package/fesm2020/angular-flex-layout-_private-utils.mjs +192 -0
  174. package/fesm2020/angular-flex-layout-_private-utils.mjs.map +1 -0
  175. package/fesm2020/angular-flex-layout-core.mjs +2304 -0
  176. package/fesm2020/angular-flex-layout-core.mjs.map +1 -0
  177. package/fesm2020/angular-flex-layout-extended.mjs +612 -0
  178. package/fesm2020/angular-flex-layout-extended.mjs.map +1 -0
  179. package/fesm2020/angular-flex-layout-flex.mjs +1198 -0
  180. package/fesm2020/angular-flex-layout-flex.mjs.map +1 -0
  181. package/fesm2020/angular-flex-layout-grid.mjs +1047 -0
  182. package/fesm2020/angular-flex-layout-grid.mjs.map +1 -0
  183. package/fesm2020/angular-flex-layout-server.mjs +322 -0
  184. package/fesm2020/angular-flex-layout-server.mjs.map +1 -0
  185. package/fesm2020/angular-flex-layout.mjs +92 -0
  186. package/fesm2020/angular-flex-layout.mjs.map +1 -0
  187. package/flex/README.md +19 -0
  188. package/flex/angular-flex-layout-flex.d.ts +5 -0
  189. package/flex/flex/flex.d.ts +59 -0
  190. package/flex/flex-align/flex-align.d.ts +32 -0
  191. package/flex/flex-fill/flex-fill.d.ts +33 -0
  192. package/flex/flex-offset/flex-offset.d.ts +44 -0
  193. package/flex/flex-order/flex-order.d.ts +34 -0
  194. package/flex/layout/layout.d.ts +43 -0
  195. package/flex/layout-align/layout-align.d.ts +49 -0
  196. package/flex/layout-gap/layout-gap.d.ts +65 -0
  197. package/flex/module.d.ts +21 -0
  198. package/flex/package.json +10 -0
  199. package/flex/public-api.d.ts +16 -0
  200. package/grid/README.md +19 -0
  201. package/grid/align-columns/align-columns.d.ts +39 -0
  202. package/grid/align-rows/align-rows.d.ts +39 -0
  203. package/grid/angular-flex-layout-grid.d.ts +5 -0
  204. package/grid/area/area.d.ts +34 -0
  205. package/grid/areas/areas.d.ts +41 -0
  206. package/grid/auto/auto.d.ts +41 -0
  207. package/grid/column/column.d.ts +34 -0
  208. package/grid/columns/columns.d.ts +43 -0
  209. package/grid/gap/gap.d.ts +42 -0
  210. package/grid/grid-align/grid-align.d.ts +37 -0
  211. package/grid/module.d.ts +23 -0
  212. package/grid/package.json +10 -0
  213. package/grid/public-api.d.ts +19 -0
  214. package/grid/row/row.d.ts +34 -0
  215. package/grid/rows/rows.d.ts +43 -0
  216. package/module.d.ts +30 -0
  217. package/package.json +100 -0
  218. package/public-api.d.ts +18 -0
  219. package/server/README.md +23 -0
  220. package/server/angular-flex-layout-server.d.ts +5 -0
  221. package/server/module.d.ts +6 -0
  222. package/server/package.json +10 -0
  223. package/server/public-api.d.ts +9 -0
  224. package/server/server-match-media.d.ts +61 -0
  225. package/server/server-provider.d.ts +44 -0
  226. package/version.d.ts +10 -0
@@ -0,0 +1,59 @@
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, OnInit } from '@angular/core';
9
+ import { BaseDirective2, LayoutConfigOptions, StyleUtils, StyleBuilder, StyleDefinition, MediaMarshaller, ElementMatcher } from '@angular/flex-layout/core';
10
+ import * as i0 from "@angular/core";
11
+ interface FlexBuilderParent {
12
+ direction: string;
13
+ hasWrap: boolean;
14
+ }
15
+ export declare class FlexStyleBuilder extends StyleBuilder {
16
+ protected layoutConfig: LayoutConfigOptions;
17
+ constructor(layoutConfig: LayoutConfigOptions);
18
+ buildStyles(input: string, parent: FlexBuilderParent): StyleDefinition;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlexStyleBuilder, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<FlexStyleBuilder>;
21
+ }
22
+ /**
23
+ * Directive to control the size of a flex item using flex-basis, flex-grow, and flex-shrink.
24
+ * Corresponds to the css `flex` shorthand property.
25
+ *
26
+ * @see https://css-tricks.com/snippets/css/a-guide-to-flexbox/
27
+ */
28
+ export declare class FlexDirective extends BaseDirective2 implements OnInit {
29
+ protected layoutConfig: LayoutConfigOptions;
30
+ protected marshal: MediaMarshaller;
31
+ protected DIRECTIVE_KEY: string;
32
+ protected direction?: string;
33
+ protected wrap?: boolean;
34
+ get shrink(): string;
35
+ set shrink(value: string);
36
+ get grow(): string;
37
+ set grow(value: string);
38
+ protected flexGrow: string;
39
+ protected flexShrink: string;
40
+ constructor(elRef: ElementRef, styleUtils: StyleUtils, layoutConfig: LayoutConfigOptions, styleBuilder: FlexStyleBuilder, marshal: MediaMarshaller);
41
+ ngOnInit(): void;
42
+ /**
43
+ * Caches the parent container's 'flex-direction' and updates the element's style.
44
+ * Used as a handler for layout change events from the parent flex container.
45
+ */
46
+ protected onLayoutChange(matcher: ElementMatcher): void;
47
+ /** Input to this is exclusively the basis input value */
48
+ protected updateWithValue(value: string): void;
49
+ /** Trigger a style reflow, usually based on a shrink/grow input event */
50
+ protected triggerReflow(): void;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlexDirective, never>;
52
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FlexDirective, never, never, { "shrink": "fxShrink"; "grow": "fxGrow"; }, {}, never>;
53
+ }
54
+ export declare class DefaultFlexDirective extends FlexDirective {
55
+ protected inputs: string[];
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<DefaultFlexDirective, never>;
57
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DefaultFlexDirective, " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", never, { "fxFlex": "fxFlex"; "fxFlex.xs": "fxFlex.xs"; "fxFlex.sm": "fxFlex.sm"; "fxFlex.md": "fxFlex.md"; "fxFlex.lg": "fxFlex.lg"; "fxFlex.xl": "fxFlex.xl"; "fxFlex.lt-sm": "fxFlex.lt-sm"; "fxFlex.lt-md": "fxFlex.lt-md"; "fxFlex.lt-lg": "fxFlex.lt-lg"; "fxFlex.lt-xl": "fxFlex.lt-xl"; "fxFlex.gt-xs": "fxFlex.gt-xs"; "fxFlex.gt-sm": "fxFlex.gt-sm"; "fxFlex.gt-md": "fxFlex.gt-md"; "fxFlex.gt-lg": "fxFlex.gt-lg"; }, {}, never>;
58
+ }
59
+ export {};
@@ -0,0 +1,32 @@
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 } from '@angular/core';
9
+ import { MediaMarshaller, BaseDirective2, StyleBuilder, StyleDefinition, StyleUtils } from '@angular/flex-layout/core';
10
+ import * as i0 from "@angular/core";
11
+ export declare class FlexAlignStyleBuilder extends StyleBuilder {
12
+ buildStyles(input: string): StyleDefinition;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlexAlignStyleBuilder, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<FlexAlignStyleBuilder>;
15
+ }
16
+ /**
17
+ * 'flex-align' flexbox styling directive
18
+ * Allows element-specific overrides for cross-axis alignments in a layout container
19
+ * @see https://css-tricks.com/almanac/properties/a/align-self/
20
+ */
21
+ export declare class FlexAlignDirective extends BaseDirective2 {
22
+ protected DIRECTIVE_KEY: string;
23
+ constructor(elRef: ElementRef, styleUtils: StyleUtils, styleBuilder: FlexAlignStyleBuilder, marshal: MediaMarshaller);
24
+ protected styleCache: Map<string, StyleDefinition>;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlexAlignDirective, never>;
26
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FlexAlignDirective, never, never, {}, {}, never>;
27
+ }
28
+ export declare class DefaultFlexAlignDirective extends FlexAlignDirective {
29
+ protected inputs: string[];
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<DefaultFlexAlignDirective, never>;
31
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DefaultFlexAlignDirective, " [fxFlexAlign], [fxFlexAlign.xs], [fxFlexAlign.sm], [fxFlexAlign.md], [fxFlexAlign.lg], [fxFlexAlign.xl], [fxFlexAlign.lt-sm], [fxFlexAlign.lt-md], [fxFlexAlign.lt-lg], [fxFlexAlign.lt-xl], [fxFlexAlign.gt-xs], [fxFlexAlign.gt-sm], [fxFlexAlign.gt-md], [fxFlexAlign.gt-lg]", never, { "fxFlexAlign": "fxFlexAlign"; "fxFlexAlign.xs": "fxFlexAlign.xs"; "fxFlexAlign.sm": "fxFlexAlign.sm"; "fxFlexAlign.md": "fxFlexAlign.md"; "fxFlexAlign.lg": "fxFlexAlign.lg"; "fxFlexAlign.xl": "fxFlexAlign.xl"; "fxFlexAlign.lt-sm": "fxFlexAlign.lt-sm"; "fxFlexAlign.lt-md": "fxFlexAlign.lt-md"; "fxFlexAlign.lt-lg": "fxFlexAlign.lt-lg"; "fxFlexAlign.lt-xl": "fxFlexAlign.lt-xl"; "fxFlexAlign.gt-xs": "fxFlexAlign.gt-xs"; "fxFlexAlign.gt-sm": "fxFlexAlign.gt-sm"; "fxFlexAlign.gt-md": "fxFlexAlign.gt-md"; "fxFlexAlign.gt-lg": "fxFlexAlign.gt-lg"; }, {}, never>;
32
+ }
@@ -0,0 +1,33 @@
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 } from '@angular/core';
9
+ import { BaseDirective2, StyleBuilder, StyleDefinition, StyleUtils, MediaMarshaller } from '@angular/flex-layout/core';
10
+ import * as i0 from "@angular/core";
11
+ export declare class FlexFillStyleBuilder extends StyleBuilder {
12
+ buildStyles(_input: string): {
13
+ margin: number;
14
+ width: string;
15
+ height: string;
16
+ 'min-width': string;
17
+ 'min-height': string;
18
+ };
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlexFillStyleBuilder, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<FlexFillStyleBuilder>;
21
+ }
22
+ /**
23
+ * 'fxFill' flexbox styling directive
24
+ * Maximizes width and height of element in a layout container
25
+ *
26
+ * NOTE: fxFill is NOT responsive API!!
27
+ */
28
+ export declare class FlexFillDirective extends BaseDirective2 {
29
+ constructor(elRef: ElementRef, styleUtils: StyleUtils, styleBuilder: FlexFillStyleBuilder, marshal: MediaMarshaller);
30
+ protected styleCache: Map<string, StyleDefinition>;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlexFillDirective, never>;
32
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FlexFillDirective, "[fxFill], [fxFlexFill]", never, {}, {}, never>;
33
+ }
@@ -0,0 +1,44 @@
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 } from '@angular/core';
9
+ import { Directionality } from '@angular/cdk/bidi';
10
+ import { MediaMarshaller, BaseDirective2, StyleBuilder, StyleDefinition, StyleUtils, LayoutConfigOptions } from '@angular/flex-layout/core';
11
+ import * as i0 from "@angular/core";
12
+ export interface FlexOffsetParent {
13
+ layout: string;
14
+ isRtl: boolean;
15
+ }
16
+ export declare class FlexOffsetStyleBuilder extends StyleBuilder {
17
+ private _config;
18
+ constructor(_config: LayoutConfigOptions);
19
+ buildStyles(offset: string, parent: FlexOffsetParent): StyleDefinition;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlexOffsetStyleBuilder, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<FlexOffsetStyleBuilder>;
22
+ }
23
+ /**
24
+ * 'flex-offset' flexbox styling directive
25
+ * Configures the 'margin-left' of the element in a layout container
26
+ */
27
+ export declare class FlexOffsetDirective extends BaseDirective2 implements OnChanges {
28
+ protected directionality: Directionality;
29
+ protected DIRECTIVE_KEY: string;
30
+ constructor(elRef: ElementRef, directionality: Directionality, styleBuilder: FlexOffsetStyleBuilder, marshal: MediaMarshaller, styler: StyleUtils);
31
+ /**
32
+ * Using the current fxFlexOffset value, update the inline CSS
33
+ * NOTE: this will assign `margin-left` if the parent flex-direction == 'row',
34
+ * otherwise `margin-top` is used for the offset.
35
+ */
36
+ protected updateWithValue(value?: string | number): void;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlexOffsetDirective, never>;
38
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FlexOffsetDirective, never, never, {}, {}, never>;
39
+ }
40
+ export declare class DefaultFlexOffsetDirective extends FlexOffsetDirective {
41
+ protected inputs: string[];
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<DefaultFlexOffsetDirective, never>;
43
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DefaultFlexOffsetDirective, " [fxFlexOffset], [fxFlexOffset.xs], [fxFlexOffset.sm], [fxFlexOffset.md], [fxFlexOffset.lg], [fxFlexOffset.xl], [fxFlexOffset.lt-sm], [fxFlexOffset.lt-md], [fxFlexOffset.lt-lg], [fxFlexOffset.lt-xl], [fxFlexOffset.gt-xs], [fxFlexOffset.gt-sm], [fxFlexOffset.gt-md], [fxFlexOffset.gt-lg]", never, { "fxFlexOffset": "fxFlexOffset"; "fxFlexOffset.xs": "fxFlexOffset.xs"; "fxFlexOffset.sm": "fxFlexOffset.sm"; "fxFlexOffset.md": "fxFlexOffset.md"; "fxFlexOffset.lg": "fxFlexOffset.lg"; "fxFlexOffset.xl": "fxFlexOffset.xl"; "fxFlexOffset.lt-sm": "fxFlexOffset.lt-sm"; "fxFlexOffset.lt-md": "fxFlexOffset.lt-md"; "fxFlexOffset.lt-lg": "fxFlexOffset.lt-lg"; "fxFlexOffset.lt-xl": "fxFlexOffset.lt-xl"; "fxFlexOffset.gt-xs": "fxFlexOffset.gt-xs"; "fxFlexOffset.gt-sm": "fxFlexOffset.gt-sm"; "fxFlexOffset.gt-md": "fxFlexOffset.gt-md"; "fxFlexOffset.gt-lg": "fxFlexOffset.gt-lg"; }, {}, never>;
44
+ }
@@ -0,0 +1,34 @@
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 } from '@angular/core';
9
+ import { BaseDirective2, StyleBuilder, StyleDefinition, StyleUtils, MediaMarshaller } from '@angular/flex-layout/core';
10
+ import * as i0 from "@angular/core";
11
+ export declare class FlexOrderStyleBuilder extends StyleBuilder {
12
+ buildStyles(value: string): {
13
+ order: string | number;
14
+ };
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlexOrderStyleBuilder, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<FlexOrderStyleBuilder>;
17
+ }
18
+ /**
19
+ * 'flex-order' flexbox styling directive
20
+ * Configures the positional ordering of the element in a sorted layout container
21
+ * @see https://css-tricks.com/almanac/properties/o/order/
22
+ */
23
+ export declare class FlexOrderDirective extends BaseDirective2 implements OnChanges {
24
+ protected DIRECTIVE_KEY: string;
25
+ constructor(elRef: ElementRef, styleUtils: StyleUtils, styleBuilder: FlexOrderStyleBuilder, marshal: MediaMarshaller);
26
+ protected styleCache: Map<string, StyleDefinition>;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlexOrderDirective, never>;
28
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FlexOrderDirective, never, never, {}, {}, never>;
29
+ }
30
+ export declare class DefaultFlexOrderDirective extends FlexOrderDirective {
31
+ protected inputs: string[];
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<DefaultFlexOrderDirective, never>;
33
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DefaultFlexOrderDirective, " [fxFlexOrder], [fxFlexOrder.xs], [fxFlexOrder.sm], [fxFlexOrder.md], [fxFlexOrder.lg], [fxFlexOrder.xl], [fxFlexOrder.lt-sm], [fxFlexOrder.lt-md], [fxFlexOrder.lt-lg], [fxFlexOrder.lt-xl], [fxFlexOrder.gt-xs], [fxFlexOrder.gt-sm], [fxFlexOrder.gt-md], [fxFlexOrder.gt-lg]", never, { "fxFlexOrder": "fxFlexOrder"; "fxFlexOrder.xs": "fxFlexOrder.xs"; "fxFlexOrder.sm": "fxFlexOrder.sm"; "fxFlexOrder.md": "fxFlexOrder.md"; "fxFlexOrder.lg": "fxFlexOrder.lg"; "fxFlexOrder.xl": "fxFlexOrder.xl"; "fxFlexOrder.lt-sm": "fxFlexOrder.lt-sm"; "fxFlexOrder.lt-md": "fxFlexOrder.lt-md"; "fxFlexOrder.lt-lg": "fxFlexOrder.lt-lg"; "fxFlexOrder.lt-xl": "fxFlexOrder.lt-xl"; "fxFlexOrder.gt-xs": "fxFlexOrder.gt-xs"; "fxFlexOrder.gt-sm": "fxFlexOrder.gt-sm"; "fxFlexOrder.gt-md": "fxFlexOrder.gt-md"; "fxFlexOrder.gt-lg": "fxFlexOrder.gt-lg"; }, {}, never>;
34
+ }
@@ -0,0 +1,43 @@
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 } from '@angular/core';
9
+ import { BaseDirective2, StyleBuilder, StyleUtils, MediaMarshaller, LayoutConfigOptions } from '@angular/flex-layout/core';
10
+ import * as i0 from "@angular/core";
11
+ export interface LayoutStyleDisplay {
12
+ readonly display: string;
13
+ }
14
+ export declare class LayoutStyleBuilder extends StyleBuilder {
15
+ buildStyles(input: string, { display }: LayoutStyleDisplay): {
16
+ display: string;
17
+ 'box-sizing': string;
18
+ 'flex-direction': string;
19
+ 'flex-wrap': string | null;
20
+ };
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutStyleBuilder, never>;
22
+ static ɵprov: i0.ɵɵInjectableDeclaration<LayoutStyleBuilder>;
23
+ }
24
+ /**
25
+ * 'layout' flexbox styling directive
26
+ * Defines the positioning flow direction for the child elements: row or column
27
+ * Optional values: column or row (default)
28
+ * @see https://css-tricks.com/almanac/properties/f/flex-direction/
29
+ *
30
+ */
31
+ export declare class LayoutDirective extends BaseDirective2 implements OnChanges {
32
+ private _config;
33
+ protected DIRECTIVE_KEY: string;
34
+ constructor(elRef: ElementRef, styleUtils: StyleUtils, styleBuilder: LayoutStyleBuilder, marshal: MediaMarshaller, _config: LayoutConfigOptions);
35
+ protected updateWithValue(input: string): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutDirective, never>;
37
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LayoutDirective, never, never, {}, {}, never>;
38
+ }
39
+ export declare class DefaultLayoutDirective extends LayoutDirective {
40
+ protected inputs: string[];
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<DefaultLayoutDirective, never>;
42
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DefaultLayoutDirective, " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", never, { "fxLayout": "fxLayout"; "fxLayout.xs": "fxLayout.xs"; "fxLayout.sm": "fxLayout.sm"; "fxLayout.md": "fxLayout.md"; "fxLayout.lg": "fxLayout.lg"; "fxLayout.xl": "fxLayout.xl"; "fxLayout.lt-sm": "fxLayout.lt-sm"; "fxLayout.lt-md": "fxLayout.lt-md"; "fxLayout.lt-lg": "fxLayout.lt-lg"; "fxLayout.lt-xl": "fxLayout.lt-xl"; "fxLayout.gt-xs": "fxLayout.gt-xs"; "fxLayout.gt-sm": "fxLayout.gt-sm"; "fxLayout.gt-md": "fxLayout.gt-md"; "fxLayout.gt-lg": "fxLayout.gt-lg"; }, {}, never>;
43
+ }
@@ -0,0 +1,49 @@
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 } from '@angular/core';
9
+ import { BaseDirective2, StyleBuilder, StyleDefinition, StyleUtils, MediaMarshaller, ElementMatcher } from '@angular/flex-layout/core';
10
+ import * as i0 from "@angular/core";
11
+ export interface LayoutAlignParent {
12
+ layout: string;
13
+ inline: boolean;
14
+ }
15
+ export declare class LayoutAlignStyleBuilder extends StyleBuilder {
16
+ buildStyles(align: string, parent: LayoutAlignParent): StyleDefinition;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutAlignStyleBuilder, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<LayoutAlignStyleBuilder>;
19
+ }
20
+ /**
21
+ * 'layout-align' flexbox styling directive
22
+ * Defines positioning of child elements along main and cross axis in a layout container
23
+ * Optional values: {main-axis} values or {main-axis cross-axis} value pairs
24
+ *
25
+ * @see https://css-tricks.com/almanac/properties/j/justify-content/
26
+ * @see https://css-tricks.com/almanac/properties/a/align-items/
27
+ * @see https://css-tricks.com/almanac/properties/a/align-content/
28
+ */
29
+ export declare class LayoutAlignDirective extends BaseDirective2 {
30
+ protected DIRECTIVE_KEY: string;
31
+ protected layout: string;
32
+ protected inline: boolean;
33
+ constructor(elRef: ElementRef, styleUtils: StyleUtils, styleBuilder: LayoutAlignStyleBuilder, marshal: MediaMarshaller);
34
+ /**
35
+ *
36
+ */
37
+ protected updateWithValue(value: string): void;
38
+ /**
39
+ * Cache the parent container 'flex-direction' and update the 'flex' styles
40
+ */
41
+ protected onLayoutChange(matcher: ElementMatcher): void;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutAlignDirective, never>;
43
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LayoutAlignDirective, never, never, {}, {}, never>;
44
+ }
45
+ export declare class DefaultLayoutAlignDirective extends LayoutAlignDirective {
46
+ protected inputs: string[];
47
+ static ɵfac: i0.ɵɵFactoryDeclaration<DefaultLayoutAlignDirective, never>;
48
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DefaultLayoutAlignDirective, " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", never, { "fxLayoutAlign": "fxLayoutAlign"; "fxLayoutAlign.xs": "fxLayoutAlign.xs"; "fxLayoutAlign.sm": "fxLayoutAlign.sm"; "fxLayoutAlign.md": "fxLayoutAlign.md"; "fxLayoutAlign.lg": "fxLayoutAlign.lg"; "fxLayoutAlign.xl": "fxLayoutAlign.xl"; "fxLayoutAlign.lt-sm": "fxLayoutAlign.lt-sm"; "fxLayoutAlign.lt-md": "fxLayoutAlign.lt-md"; "fxLayoutAlign.lt-lg": "fxLayoutAlign.lt-lg"; "fxLayoutAlign.lt-xl": "fxLayoutAlign.lt-xl"; "fxLayoutAlign.gt-xs": "fxLayoutAlign.gt-xs"; "fxLayoutAlign.gt-sm": "fxLayoutAlign.gt-sm"; "fxLayoutAlign.gt-md": "fxLayoutAlign.gt-md"; "fxLayoutAlign.gt-lg": "fxLayoutAlign.gt-lg"; }, {}, never>;
49
+ }
@@ -0,0 +1,65 @@
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, OnDestroy, NgZone, AfterContentInit } from '@angular/core';
9
+ import { Directionality } from '@angular/cdk/bidi';
10
+ import { BaseDirective2, StyleBuilder, StyleDefinition, StyleUtils, MediaMarshaller, ElementMatcher, LayoutConfigOptions } from '@angular/flex-layout/core';
11
+ import { Subject } from 'rxjs';
12
+ import * as i0 from "@angular/core";
13
+ export interface LayoutGapParent {
14
+ directionality: string;
15
+ items: HTMLElement[];
16
+ layout: string;
17
+ }
18
+ export declare class LayoutGapStyleBuilder extends StyleBuilder {
19
+ private _styler;
20
+ private _config;
21
+ constructor(_styler: StyleUtils, _config: LayoutConfigOptions);
22
+ buildStyles(gapValue: string, parent: LayoutGapParent): StyleDefinition;
23
+ sideEffect(gapValue: string, _styles: StyleDefinition, parent: LayoutGapParent): void;
24
+ private addFallbackUnit;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutGapStyleBuilder, never>;
26
+ static ɵprov: i0.ɵɵInjectableDeclaration<LayoutGapStyleBuilder>;
27
+ }
28
+ /**
29
+ * 'layout-padding' styling directive
30
+ * Defines padding of child elements in a layout container
31
+ */
32
+ export declare class LayoutGapDirective extends BaseDirective2 implements AfterContentInit, OnDestroy {
33
+ protected zone: NgZone;
34
+ protected directionality: Directionality;
35
+ protected styleUtils: StyleUtils;
36
+ protected layout: string;
37
+ protected DIRECTIVE_KEY: string;
38
+ protected observerSubject: Subject<void>;
39
+ /** Special accessor to query for all child 'element' nodes regardless of type, class, etc */
40
+ protected get childrenNodes(): HTMLElement[];
41
+ constructor(elRef: ElementRef, zone: NgZone, directionality: Directionality, styleUtils: StyleUtils, styleBuilder: LayoutGapStyleBuilder, marshal: MediaMarshaller);
42
+ ngAfterContentInit(): void;
43
+ ngOnDestroy(): void;
44
+ /**
45
+ * Cache the parent container 'flex-direction' and update the 'margin' styles
46
+ */
47
+ protected onLayoutChange(matcher: ElementMatcher): void;
48
+ /**
49
+ *
50
+ */
51
+ protected updateWithValue(value: string): void;
52
+ /** We need to override clearStyles because in most cases mru isn't populated */
53
+ protected clearStyles(): void;
54
+ /** Determine if an element will show or hide based on current activation */
55
+ protected willDisplay(source: HTMLElement): boolean;
56
+ protected buildChildObservable(): void;
57
+ protected observer?: MutationObserver;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutGapDirective, never>;
59
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LayoutGapDirective, never, never, {}, {}, never>;
60
+ }
61
+ export declare class DefaultLayoutGapDirective extends LayoutGapDirective {
62
+ protected inputs: string[];
63
+ static ɵfac: i0.ɵɵFactoryDeclaration<DefaultLayoutGapDirective, never>;
64
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DefaultLayoutGapDirective, " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", never, { "fxLayoutGap": "fxLayoutGap"; "fxLayoutGap.xs": "fxLayoutGap.xs"; "fxLayoutGap.sm": "fxLayoutGap.sm"; "fxLayoutGap.md": "fxLayoutGap.md"; "fxLayoutGap.lg": "fxLayoutGap.lg"; "fxLayoutGap.xl": "fxLayoutGap.xl"; "fxLayoutGap.lt-sm": "fxLayoutGap.lt-sm"; "fxLayoutGap.lt-md": "fxLayoutGap.lt-md"; "fxLayoutGap.lt-lg": "fxLayoutGap.lt-lg"; "fxLayoutGap.lt-xl": "fxLayoutGap.lt-xl"; "fxLayoutGap.gt-xs": "fxLayoutGap.gt-xs"; "fxLayoutGap.gt-sm": "fxLayoutGap.gt-sm"; "fxLayoutGap.gt-md": "fxLayoutGap.gt-md"; "fxLayoutGap.gt-lg": "fxLayoutGap.gt-lg"; }, {}, never>;
65
+ }
@@ -0,0 +1,21 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./layout/layout";
3
+ import * as i2 from "./layout-gap/layout-gap";
4
+ import * as i3 from "./layout-align/layout-align";
5
+ import * as i4 from "./flex-order/flex-order";
6
+ import * as i5 from "./flex-offset/flex-offset";
7
+ import * as i6 from "./flex-fill/flex-fill";
8
+ import * as i7 from "./flex-align/flex-align";
9
+ import * as i8 from "./flex/flex";
10
+ import * as i9 from "@angular/flex-layout/core";
11
+ import * as i10 from "@angular/cdk/bidi";
12
+ /**
13
+ * *****************************************************************
14
+ * Define module for the Flex API
15
+ * *****************************************************************
16
+ */
17
+ export declare class FlexModule {
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlexModule, never>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FlexModule, [typeof i1.DefaultLayoutDirective, typeof i2.DefaultLayoutGapDirective, typeof i3.DefaultLayoutAlignDirective, typeof i4.DefaultFlexOrderDirective, typeof i5.DefaultFlexOffsetDirective, typeof i6.FlexFillDirective, typeof i7.DefaultFlexAlignDirective, typeof i8.DefaultFlexDirective], [typeof i9.CoreModule, typeof i10.BidiModule], [typeof i1.DefaultLayoutDirective, typeof i2.DefaultLayoutGapDirective, typeof i3.DefaultLayoutAlignDirective, typeof i4.DefaultFlexOrderDirective, typeof i5.DefaultFlexOffsetDirective, typeof i6.FlexFillDirective, typeof i7.DefaultFlexAlignDirective, typeof i8.DefaultFlexDirective]>;
20
+ static ɵinj: i0.ɵɵInjectorDeclaration<FlexModule>;
21
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "module": "../fesm2015/angular-flex-layout-flex.mjs",
3
+ "es2020": "../fesm2020/angular-flex-layout-flex.mjs",
4
+ "esm2020": "../esm2020/flex/angular-flex-layout-flex.mjs",
5
+ "fesm2020": "../fesm2020/angular-flex-layout-flex.mjs",
6
+ "fesm2015": "../fesm2015/angular-flex-layout-flex.mjs",
7
+ "typings": "angular-flex-layout-flex.d.ts",
8
+ "sideEffects": false,
9
+ "name": "@angular/flex-layout/flex"
10
+ }
@@ -0,0 +1,16 @@
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 './module';
9
+ export * from './flex/flex';
10
+ export * from './flex-align/flex-align';
11
+ export * from './flex-fill/flex-fill';
12
+ export * from './flex-offset/flex-offset';
13
+ export * from './flex-order/flex-order';
14
+ export * from './layout/layout';
15
+ export * from './layout-align/layout-align';
16
+ export * from './layout-gap/layout-gap';
package/grid/README.md ADDED
@@ -0,0 +1,19 @@
1
+ The `grid` entrypoint contains all of the CSS Grid APIs provided by the
2
+ Layout library. This includes directives for flexbox containers like
3
+ `gdArea` (a.k.a. `GridAreaDirective`) and children like `gdRow`
4
+ (a.k.a. `GdRowDirective`). The main export from this entrypoint is the
5
+ `GridModule` that encapsulates these directives, and can be
6
+ imported separately to take advantage of tree shaking.
7
+
8
+ ```typescript
9
+ import {NgModule} from '@angular/core';
10
+ import {GridModule} from '@angular/flex-layout/grid';
11
+
12
+ @NgModule(({
13
+ imports: [
14
+ ... other imports here
15
+ GridModule,
16
+ ]
17
+ }))
18
+ export class AppModule {}
19
+ ```
@@ -0,0 +1,39 @@
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 } from '@angular/core';
9
+ import { BaseDirective2, StyleUtils, StyleBuilder, StyleDefinition, MediaMarshaller } from '@angular/flex-layout/core';
10
+ import * as i0 from "@angular/core";
11
+ export interface GridAlignColumnsParent {
12
+ inline: boolean;
13
+ }
14
+ export declare class GridAlignColumnsStyleBuilder extends StyleBuilder {
15
+ buildStyles(input: string, parent: GridAlignColumnsParent): StyleDefinition;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridAlignColumnsStyleBuilder, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<GridAlignColumnsStyleBuilder>;
18
+ }
19
+ export declare class GridAlignColumnsDirective extends BaseDirective2 {
20
+ protected DIRECTIVE_KEY: string;
21
+ get inline(): boolean;
22
+ set inline(val: boolean);
23
+ protected _inline: boolean;
24
+ constructor(elementRef: ElementRef, styleBuilder: GridAlignColumnsStyleBuilder, styler: StyleUtils, marshal: MediaMarshaller);
25
+ protected updateWithValue(value: string): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridAlignColumnsDirective, never>;
27
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GridAlignColumnsDirective, never, never, { "inline": "gdInline"; }, {}, never>;
28
+ }
29
+ /**
30
+ * 'column alignment' CSS Grid styling directive
31
+ * Configures the alignment in the column direction
32
+ * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-19
33
+ * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-21
34
+ */
35
+ export declare class DefaultGridAlignColumnsDirective extends GridAlignColumnsDirective {
36
+ protected inputs: string[];
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<DefaultGridAlignColumnsDirective, never>;
38
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DefaultGridAlignColumnsDirective, " [gdAlignColumns], [gdAlignColumns.xs], [gdAlignColumns.sm], [gdAlignColumns.md], [gdAlignColumns.lg], [gdAlignColumns.xl], [gdAlignColumns.lt-sm], [gdAlignColumns.lt-md], [gdAlignColumns.lt-lg], [gdAlignColumns.lt-xl], [gdAlignColumns.gt-xs], [gdAlignColumns.gt-sm], [gdAlignColumns.gt-md], [gdAlignColumns.gt-lg]", never, { "gdAlignColumns": "gdAlignColumns"; "gdAlignColumns.xs": "gdAlignColumns.xs"; "gdAlignColumns.sm": "gdAlignColumns.sm"; "gdAlignColumns.md": "gdAlignColumns.md"; "gdAlignColumns.lg": "gdAlignColumns.lg"; "gdAlignColumns.xl": "gdAlignColumns.xl"; "gdAlignColumns.lt-sm": "gdAlignColumns.lt-sm"; "gdAlignColumns.lt-md": "gdAlignColumns.lt-md"; "gdAlignColumns.lt-lg": "gdAlignColumns.lt-lg"; "gdAlignColumns.lt-xl": "gdAlignColumns.lt-xl"; "gdAlignColumns.gt-xs": "gdAlignColumns.gt-xs"; "gdAlignColumns.gt-sm": "gdAlignColumns.gt-sm"; "gdAlignColumns.gt-md": "gdAlignColumns.gt-md"; "gdAlignColumns.gt-lg": "gdAlignColumns.gt-lg"; }, {}, never>;
39
+ }
@@ -0,0 +1,39 @@
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 } from '@angular/core';
9
+ import { BaseDirective2, StyleUtils, StyleBuilder, StyleDefinition, MediaMarshaller } from '@angular/flex-layout/core';
10
+ import * as i0 from "@angular/core";
11
+ export interface GridAlignRowsParent {
12
+ inline: boolean;
13
+ }
14
+ export declare class GridAlignRowsStyleBuilder extends StyleBuilder {
15
+ buildStyles(input: string, parent: GridAlignRowsParent): StyleDefinition;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridAlignRowsStyleBuilder, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<GridAlignRowsStyleBuilder>;
18
+ }
19
+ export declare class GridAlignRowsDirective extends BaseDirective2 {
20
+ protected DIRECTIVE_KEY: string;
21
+ get inline(): boolean;
22
+ set inline(val: boolean);
23
+ protected _inline: boolean;
24
+ constructor(elementRef: ElementRef, styleBuilder: GridAlignRowsStyleBuilder, styler: StyleUtils, marshal: MediaMarshaller);
25
+ protected updateWithValue(value: string): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridAlignRowsDirective, never>;
27
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GridAlignRowsDirective, never, never, { "inline": "gdInline"; }, {}, never>;
28
+ }
29
+ /**
30
+ * 'row alignment' CSS Grid styling directive
31
+ * Configures the alignment in the row direction
32
+ * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-18
33
+ * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-20
34
+ */
35
+ export declare class DefaultGridAlignRowsDirective extends GridAlignRowsDirective {
36
+ protected inputs: string[];
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<DefaultGridAlignRowsDirective, never>;
38
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DefaultGridAlignRowsDirective, " [gdAlignRows], [gdAlignRows.xs], [gdAlignRows.sm], [gdAlignRows.md], [gdAlignRows.lg], [gdAlignRows.xl], [gdAlignRows.lt-sm], [gdAlignRows.lt-md], [gdAlignRows.lt-lg], [gdAlignRows.lt-xl], [gdAlignRows.gt-xs], [gdAlignRows.gt-sm], [gdAlignRows.gt-md], [gdAlignRows.gt-lg]", never, { "gdAlignRows": "gdAlignRows"; "gdAlignRows.xs": "gdAlignRows.xs"; "gdAlignRows.sm": "gdAlignRows.sm"; "gdAlignRows.md": "gdAlignRows.md"; "gdAlignRows.lg": "gdAlignRows.lg"; "gdAlignRows.xl": "gdAlignRows.xl"; "gdAlignRows.lt-sm": "gdAlignRows.lt-sm"; "gdAlignRows.lt-md": "gdAlignRows.lt-md"; "gdAlignRows.lt-lg": "gdAlignRows.lt-lg"; "gdAlignRows.lt-xl": "gdAlignRows.lt-xl"; "gdAlignRows.gt-xs": "gdAlignRows.gt-xs"; "gdAlignRows.gt-sm": "gdAlignRows.gt-sm"; "gdAlignRows.gt-md": "gdAlignRows.gt-md"; "gdAlignRows.gt-lg": "gdAlignRows.gt-lg"; }, {}, never>;
39
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@angular/flex-layout/grid" />
5
+ export * from './public-api';
@@ -0,0 +1,34 @@
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 } from '@angular/core';
9
+ import { BaseDirective2, StyleUtils, MediaMarshaller, StyleBuilder, StyleDefinition } from '@angular/flex-layout/core';
10
+ import * as i0 from "@angular/core";
11
+ export declare class GridAreaStyleBuilder extends StyleBuilder {
12
+ buildStyles(input: string): {
13
+ 'grid-area': string;
14
+ };
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridAreaStyleBuilder, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<GridAreaStyleBuilder>;
17
+ }
18
+ export declare class GridAreaDirective extends BaseDirective2 {
19
+ protected DIRECTIVE_KEY: string;
20
+ constructor(elRef: ElementRef, styleUtils: StyleUtils, styleBuilder: GridAreaStyleBuilder, marshal: MediaMarshaller);
21
+ protected styleCache: Map<string, StyleDefinition>;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridAreaDirective, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GridAreaDirective, never, never, {}, {}, never>;
24
+ }
25
+ /**
26
+ * 'grid-area' CSS Grid styling directive
27
+ * Configures the name or position of an element within the grid
28
+ * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-27
29
+ */
30
+ export declare class DefaultGridAreaDirective extends GridAreaDirective {
31
+ protected inputs: string[];
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<DefaultGridAreaDirective, never>;
33
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DefaultGridAreaDirective, " [gdArea], [gdArea.xs], [gdArea.sm], [gdArea.md], [gdArea.lg], [gdArea.xl], [gdArea.lt-sm], [gdArea.lt-md], [gdArea.lt-lg], [gdArea.lt-xl], [gdArea.gt-xs], [gdArea.gt-sm], [gdArea.gt-md], [gdArea.gt-lg]", never, { "gdArea": "gdArea"; "gdArea.xs": "gdArea.xs"; "gdArea.sm": "gdArea.sm"; "gdArea.md": "gdArea.md"; "gdArea.lg": "gdArea.lg"; "gdArea.xl": "gdArea.xl"; "gdArea.lt-sm": "gdArea.lt-sm"; "gdArea.lt-md": "gdArea.lt-md"; "gdArea.lt-lg": "gdArea.lt-lg"; "gdArea.lt-xl": "gdArea.lt-xl"; "gdArea.gt-xs": "gdArea.gt-xs"; "gdArea.gt-sm": "gdArea.gt-sm"; "gdArea.gt-md": "gdArea.gt-md"; "gdArea.gt-lg": "gdArea.gt-lg"; }, {}, never>;
34
+ }
@@ -0,0 +1,41 @@
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 } from '@angular/core';
9
+ import { BaseDirective2, StyleUtils, StyleBuilder, MediaMarshaller } from '@angular/flex-layout/core';
10
+ import * as i0 from "@angular/core";
11
+ export interface GridAreasParent {
12
+ inline: boolean;
13
+ }
14
+ export declare class GridAreasStyleBuiler extends StyleBuilder {
15
+ buildStyles(input: string, parent: GridAreasParent): {
16
+ display: string;
17
+ 'grid-template-areas': string;
18
+ };
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridAreasStyleBuiler, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<GridAreasStyleBuiler>;
21
+ }
22
+ export declare class GridAreasDirective extends BaseDirective2 {
23
+ protected DIRECTIVE_KEY: string;
24
+ get inline(): boolean;
25
+ set inline(val: boolean);
26
+ protected _inline: boolean;
27
+ constructor(elRef: ElementRef, styleUtils: StyleUtils, styleBuilder: GridAreasStyleBuiler, marshal: MediaMarshaller);
28
+ protected updateWithValue(value: string): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridAreasDirective, never>;
30
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GridAreasDirective, never, never, { "inline": "gdInline"; }, {}, never>;
31
+ }
32
+ /**
33
+ * 'grid-template-areas' CSS Grid styling directive
34
+ * Configures the names of elements within the grid
35
+ * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-14
36
+ */
37
+ export declare class DefaultGridAreasDirective extends GridAreasDirective {
38
+ protected inputs: string[];
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<DefaultGridAreasDirective, never>;
40
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DefaultGridAreasDirective, " [gdAreas], [gdAreas.xs], [gdAreas.sm], [gdAreas.md], [gdAreas.lg], [gdAreas.xl], [gdAreas.lt-sm], [gdAreas.lt-md], [gdAreas.lt-lg], [gdAreas.lt-xl], [gdAreas.gt-xs], [gdAreas.gt-sm], [gdAreas.gt-md], [gdAreas.gt-lg]", never, { "gdAreas": "gdAreas"; "gdAreas.xs": "gdAreas.xs"; "gdAreas.sm": "gdAreas.sm"; "gdAreas.md": "gdAreas.md"; "gdAreas.lg": "gdAreas.lg"; "gdAreas.xl": "gdAreas.xl"; "gdAreas.lt-sm": "gdAreas.lt-sm"; "gdAreas.lt-md": "gdAreas.lt-md"; "gdAreas.lt-lg": "gdAreas.lt-lg"; "gdAreas.lt-xl": "gdAreas.lt-xl"; "gdAreas.gt-xs": "gdAreas.gt-xs"; "gdAreas.gt-sm": "gdAreas.gt-sm"; "gdAreas.gt-md": "gdAreas.gt-md"; "gdAreas.gt-lg": "gdAreas.gt-lg"; }, {}, never>;
41
+ }