@angular/cdk 2.0.0-beta.11 → 2.0.0-beta.12

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 (306) hide show
  1. package/_a11y.scss +23 -0
  2. package/_overlay.scss +93 -0
  3. package/a11y/index.metadata.json +2 -1
  4. package/a11y/typings/a11y-module.d.ts +2 -0
  5. package/a11y/typings/focus-monitor.d.ts +1 -1
  6. package/a11y/typings/index.d.ts +1 -1
  7. package/a11y/typings/index.metadata.json +1 -1
  8. package/a11y/typings/{public_api.d.ts → public-api.d.ts} +8 -2
  9. package/a11y-prebuilt.css +1 -0
  10. package/a11y.metadata.json +2 -1
  11. package/bidi/index.metadata.json +2 -1
  12. package/bidi/typings/bidi-module.d.ts +2 -0
  13. package/bidi/typings/index.d.ts +1 -1
  14. package/bidi/typings/index.metadata.json +1 -1
  15. package/bidi/typings/public-api.d.ts +10 -0
  16. package/bidi.metadata.json +2 -1
  17. package/bundles/cdk-a11y.umd.js +1368 -1357
  18. package/bundles/cdk-a11y.umd.js.map +1 -1
  19. package/bundles/cdk-a11y.umd.min.js +2 -2
  20. package/bundles/cdk-a11y.umd.min.js.map +1 -1
  21. package/bundles/cdk-bidi.umd.js +42 -40
  22. package/bundles/cdk-bidi.umd.js.map +1 -1
  23. package/bundles/cdk-bidi.umd.min.js +2 -2
  24. package/bundles/cdk-bidi.umd.min.js.map +1 -1
  25. package/bundles/cdk-coercion.umd.js +12 -0
  26. package/bundles/cdk-coercion.umd.js.map +1 -1
  27. package/bundles/cdk-coercion.umd.min.js +2 -2
  28. package/bundles/cdk-coercion.umd.min.js.map +1 -1
  29. package/bundles/cdk-collections.umd.js +113 -11
  30. package/bundles/cdk-collections.umd.js.map +1 -1
  31. package/bundles/cdk-collections.umd.min.js +2 -2
  32. package/bundles/cdk-collections.umd.min.js.map +1 -1
  33. package/bundles/cdk-keycodes.umd.js.map +1 -1
  34. package/bundles/cdk-keycodes.umd.min.js +1 -1
  35. package/bundles/cdk-keycodes.umd.min.js.map +1 -1
  36. package/bundles/cdk-layout.umd.js +235 -0
  37. package/bundles/cdk-layout.umd.js.map +1 -0
  38. package/bundles/cdk-layout.umd.min.js +9 -0
  39. package/bundles/cdk-layout.umd.min.js.map +1 -0
  40. package/bundles/cdk-observers.umd.js +41 -40
  41. package/bundles/cdk-observers.umd.js.map +1 -1
  42. package/bundles/cdk-observers.umd.min.js +2 -2
  43. package/bundles/cdk-observers.umd.min.js.map +1 -1
  44. package/bundles/cdk-overlay.umd.js +306 -265
  45. package/bundles/cdk-overlay.umd.js.map +1 -1
  46. package/bundles/cdk-overlay.umd.min.js +2 -2
  47. package/bundles/cdk-overlay.umd.min.js.map +1 -1
  48. package/bundles/cdk-platform.umd.js +19 -17
  49. package/bundles/cdk-platform.umd.js.map +1 -1
  50. package/bundles/cdk-platform.umd.min.js +2 -2
  51. package/bundles/cdk-platform.umd.min.js.map +1 -1
  52. package/bundles/cdk-portal.umd.js +71 -37
  53. package/bundles/cdk-portal.umd.js.map +1 -1
  54. package/bundles/cdk-portal.umd.min.js +2 -2
  55. package/bundles/cdk-portal.umd.min.js.map +1 -1
  56. package/bundles/cdk-rxjs.umd.js +13 -4
  57. package/bundles/cdk-rxjs.umd.js.map +1 -1
  58. package/bundles/cdk-rxjs.umd.min.js +2 -2
  59. package/bundles/cdk-rxjs.umd.min.js.map +1 -1
  60. package/bundles/cdk-scrolling.umd.js +89 -54
  61. package/bundles/cdk-scrolling.umd.js.map +1 -1
  62. package/bundles/cdk-scrolling.umd.min.js +2 -2
  63. package/bundles/cdk-scrolling.umd.min.js.map +1 -1
  64. package/bundles/cdk-stepper.umd.js +115 -90
  65. package/bundles/cdk-stepper.umd.js.map +1 -1
  66. package/bundles/cdk-stepper.umd.min.js +2 -2
  67. package/bundles/cdk-stepper.umd.min.js.map +1 -1
  68. package/bundles/cdk-table.umd.js +261 -218
  69. package/bundles/cdk-table.umd.js.map +1 -1
  70. package/bundles/cdk-table.umd.min.js +2 -2
  71. package/bundles/cdk-table.umd.min.js.map +1 -1
  72. package/bundles/cdk.umd.js +1 -1
  73. package/bundles/cdk.umd.js.map +1 -1
  74. package/bundles/cdk.umd.min.js +2 -2
  75. package/bundles/cdk.umd.min.js.map +1 -1
  76. package/cdk.metadata.json +2 -1
  77. package/coercion/index.metadata.json +2 -1
  78. package/coercion/typings/array.d.ts +9 -0
  79. package/coercion/typings/index.d.ts +1 -1
  80. package/coercion/typings/index.metadata.json +1 -1
  81. package/{typings/coercion/public_api.d.ts → coercion/typings/public-api.d.ts} +1 -0
  82. package/coercion.metadata.json +2 -1
  83. package/collections/index.metadata.json +2 -1
  84. package/collections/typings/index.d.ts +2 -1
  85. package/collections/typings/index.metadata.json +1 -1
  86. package/{typings/collections/public_api.d.ts → collections/typings/public-api.d.ts} +1 -0
  87. package/collections/typings/selection.d.ts +13 -3
  88. package/collections/typings/unique-selection-dispatcher.d.ts +40 -0
  89. package/collections.metadata.json +2 -1
  90. package/esm2015/a11y.js +1252 -1250
  91. package/esm2015/a11y.js.map +1 -1
  92. package/esm2015/bidi.js +1 -1
  93. package/esm2015/bidi.js.map +1 -1
  94. package/esm2015/cdk.js +1 -1
  95. package/esm2015/cdk.js.map +1 -1
  96. package/esm2015/coercion.js +11 -1
  97. package/esm2015/coercion.js.map +1 -1
  98. package/esm2015/collections.js +93 -8
  99. package/esm2015/collections.js.map +1 -1
  100. package/esm2015/keycodes.js.map +1 -1
  101. package/esm2015/layout.js +226 -0
  102. package/esm2015/layout.js.map +1 -0
  103. package/esm2015/observers.js +8 -7
  104. package/esm2015/observers.js.map +1 -1
  105. package/esm2015/overlay.js +157 -136
  106. package/esm2015/overlay.js.map +1 -1
  107. package/esm2015/platform.js +1 -1
  108. package/esm2015/platform.js.map +1 -1
  109. package/esm2015/portal.js +30 -1
  110. package/esm2015/portal.js.map +1 -1
  111. package/esm2015/rxjs.js +5 -1
  112. package/esm2015/rxjs.js.map +1 -1
  113. package/esm2015/scrolling.js +39 -8
  114. package/esm2015/scrolling.js.map +1 -1
  115. package/esm2015/stepper.js +27 -5
  116. package/esm2015/stepper.js.map +1 -1
  117. package/esm2015/table.js +68 -29
  118. package/esm2015/table.js.map +1 -1
  119. package/esm5/a11y.es5.js +1372 -1357
  120. package/esm5/a11y.es5.js.map +1 -1
  121. package/esm5/bidi.es5.js +45 -40
  122. package/esm5/bidi.es5.js.map +1 -1
  123. package/esm5/cdk.es5.js +4 -1
  124. package/esm5/cdk.es5.js.map +1 -1
  125. package/esm5/coercion.es5.js +14 -1
  126. package/esm5/coercion.es5.js.map +1 -1
  127. package/esm5/collections.es5.js +110 -8
  128. package/esm5/collections.es5.js.map +1 -1
  129. package/esm5/keycodes.es5.js +2 -0
  130. package/esm5/keycodes.es5.js.map +1 -1
  131. package/esm5/layout.es5.js +234 -0
  132. package/esm5/layout.es5.js.map +1 -0
  133. package/esm5/observers.es5.js +44 -40
  134. package/esm5/observers.es5.js.map +1 -1
  135. package/esm5/overlay.es5.js +304 -259
  136. package/esm5/overlay.es5.js.map +1 -1
  137. package/esm5/platform.es5.js +22 -17
  138. package/esm5/platform.es5.js.map +1 -1
  139. package/esm5/portal.es5.js +81 -44
  140. package/esm5/portal.es5.js.map +1 -1
  141. package/esm5/rxjs.es5.js +12 -1
  142. package/esm5/rxjs.es5.js.map +1 -1
  143. package/esm5/scrolling.es5.js +89 -51
  144. package/esm5/scrolling.es5.js.map +1 -1
  145. package/esm5/stepper.es5.js +119 -91
  146. package/esm5/stepper.es5.js.map +1 -1
  147. package/esm5/table.es5.js +265 -218
  148. package/esm5/table.es5.js.map +1 -1
  149. package/keycodes/index.metadata.json +2 -1
  150. package/keycodes/typings/index.d.ts +1 -1
  151. package/keycodes/typings/{public_api.d.ts → public-api.d.ts} +0 -0
  152. package/keycodes.metadata.json +2 -1
  153. package/layout/index.d.ts +8 -0
  154. package/layout/index.metadata.json +12 -0
  155. package/layout/package.json +7 -0
  156. package/layout/typings/breakpoints-observer.d.ts +37 -0
  157. package/layout/typings/breakpoints.d.ts +18 -0
  158. package/layout/typings/index.d.ts +4 -0
  159. package/layout/typings/index.metadata.json +1 -0
  160. package/layout/typings/media-matcher.d.ts +15 -0
  161. package/layout/typings/public-api.d.ts +5 -0
  162. package/layout.d.ts +8 -0
  163. package/layout.metadata.json +12 -0
  164. package/observers/index.metadata.json +2 -1
  165. package/observers/typings/index.d.ts +1 -1
  166. package/observers/typings/index.metadata.json +1 -1
  167. package/observers/typings/observe-content.d.ts +3 -3
  168. package/observers/typings/{public_api.d.ts → public-api.d.ts} +0 -0
  169. package/observers.metadata.json +2 -1
  170. package/overlay/index.metadata.json +2 -1
  171. package/overlay/typings/index.d.ts +2 -2
  172. package/overlay/typings/index.metadata.json +1 -1
  173. package/overlay/typings/overlay-config.d.ts +1 -1
  174. package/overlay/typings/overlay-directives.d.ts +3 -3
  175. package/overlay/typings/overlay-module.d.ts +11 -0
  176. package/overlay/typings/overlay-ref.d.ts +6 -6
  177. package/overlay/typings/overlay.d.ts +2 -2
  178. package/overlay/typings/position/connected-position-strategy.d.ts +5 -0
  179. package/overlay/typings/position/position-strategy.d.ts +2 -0
  180. package/overlay/typings/{public_api.d.ts → public-api.d.ts} +1 -4
  181. package/overlay/typings/scroll/scroll-strategy.d.ts +1 -1
  182. package/overlay-prebuilt.css +1 -0
  183. package/overlay.metadata.json +2 -1
  184. package/package.json +3 -3
  185. package/platform/index.metadata.json +2 -1
  186. package/platform/typings/index.d.ts +1 -1
  187. package/platform/typings/index.metadata.json +1 -1
  188. package/platform/typings/platform-module.d.ts +2 -0
  189. package/platform/typings/public-api.d.ts +10 -0
  190. package/platform.metadata.json +2 -1
  191. package/portal/index.metadata.json +2 -1
  192. package/portal/typings/index.d.ts +1 -1
  193. package/portal/typings/index.metadata.json +1 -1
  194. package/portal/typings/{public_api.d.ts → public-api.d.ts} +1 -0
  195. package/portal.metadata.json +2 -1
  196. package/rxjs/index.metadata.json +2 -1
  197. package/rxjs/typings/index.d.ts +1 -1
  198. package/rxjs/typings/index.metadata.json +1 -1
  199. package/rxjs/typings/{public_api.d.ts → public-api.d.ts} +0 -0
  200. package/rxjs/typings/rx-operators.d.ts +7 -0
  201. package/rxjs.metadata.json +2 -1
  202. package/scrolling/index.metadata.json +2 -1
  203. package/scrolling/typings/index.d.ts +1 -1
  204. package/scrolling/typings/index.metadata.json +1 -1
  205. package/scrolling/typings/public-api.d.ts +11 -0
  206. package/scrolling/typings/scrolling-module.d.ts +2 -0
  207. package/scrolling/typings/viewport-ruler.d.ts +20 -6
  208. package/scrolling.metadata.json +2 -1
  209. package/stepper/index.metadata.json +2 -1
  210. package/stepper/typings/index.d.ts +1 -1
  211. package/stepper/typings/index.metadata.json +1 -1
  212. package/stepper/typings/public-api.d.ts +11 -0
  213. package/stepper/typings/stepper-module.d.ts +2 -0
  214. package/stepper/typings/stepper.d.ts +8 -4
  215. package/stepper.metadata.json +2 -1
  216. package/table/index.metadata.json +2 -1
  217. package/table/typings/index.d.ts +1 -1
  218. package/table/typings/index.metadata.json +1 -1
  219. package/table/typings/public-api.d.ts +13 -0
  220. package/table/typings/row.d.ts +11 -3
  221. package/table/typings/table-errors.d.ts +10 -0
  222. package/table/typings/table-module.d.ts +2 -0
  223. package/table/typings/table.d.ts +17 -8
  224. package/table.metadata.json +2 -1
  225. package/typings/a11y/a11y-module.d.ts +2 -0
  226. package/typings/a11y/focus-monitor.d.ts +1 -1
  227. package/typings/a11y/index.d.ts +1 -1
  228. package/typings/a11y/index.metadata.json +1 -1
  229. package/typings/a11y/{public_api.d.ts → public-api.d.ts} +8 -2
  230. package/typings/bidi/bidi-module.d.ts +2 -0
  231. package/typings/bidi/index.d.ts +1 -1
  232. package/typings/bidi/index.metadata.json +1 -1
  233. package/typings/bidi/public-api.d.ts +10 -0
  234. package/typings/coercion/array.d.ts +9 -0
  235. package/typings/coercion/index.d.ts +1 -1
  236. package/typings/coercion/index.metadata.json +1 -1
  237. package/{coercion/typings/public_api.d.ts → typings/coercion/public-api.d.ts} +1 -0
  238. package/typings/collections/index.d.ts +2 -1
  239. package/typings/collections/index.metadata.json +1 -1
  240. package/{collections/typings/public_api.d.ts → typings/collections/public-api.d.ts} +1 -0
  241. package/typings/collections/selection.d.ts +13 -3
  242. package/typings/collections/unique-selection-dispatcher.d.ts +40 -0
  243. package/typings/index.d.ts +1 -1
  244. package/typings/index.metadata.json +1 -1
  245. package/typings/keycodes/index.d.ts +1 -1
  246. package/typings/keycodes/{public_api.d.ts → public-api.d.ts} +0 -0
  247. package/typings/layout/breakpoints-observer.d.ts +37 -0
  248. package/typings/layout/breakpoints.d.ts +18 -0
  249. package/typings/layout/index.d.ts +4 -0
  250. package/typings/layout/index.metadata.json +1 -0
  251. package/typings/layout/media-matcher.d.ts +15 -0
  252. package/typings/layout/public-api.d.ts +5 -0
  253. package/typings/observers/index.d.ts +1 -1
  254. package/typings/observers/index.metadata.json +1 -1
  255. package/typings/observers/observe-content.d.ts +3 -3
  256. package/typings/observers/{public_api.d.ts → public-api.d.ts} +0 -0
  257. package/typings/overlay/index.d.ts +2 -2
  258. package/typings/overlay/index.metadata.json +1 -1
  259. package/typings/overlay/overlay-config.d.ts +1 -1
  260. package/typings/overlay/overlay-directives.d.ts +3 -3
  261. package/typings/overlay/overlay-module.d.ts +11 -0
  262. package/typings/overlay/overlay-ref.d.ts +6 -6
  263. package/typings/overlay/overlay.d.ts +2 -2
  264. package/typings/overlay/position/connected-position-strategy.d.ts +5 -0
  265. package/typings/overlay/position/position-strategy.d.ts +2 -0
  266. package/typings/overlay/{public_api.d.ts → public-api.d.ts} +1 -4
  267. package/typings/overlay/scroll/scroll-strategy.d.ts +1 -1
  268. package/typings/platform/index.d.ts +1 -1
  269. package/typings/platform/index.metadata.json +1 -1
  270. package/typings/platform/platform-module.d.ts +2 -0
  271. package/typings/platform/public-api.d.ts +10 -0
  272. package/typings/portal/index.d.ts +1 -1
  273. package/typings/portal/index.metadata.json +1 -1
  274. package/typings/portal/{public_api.d.ts → public-api.d.ts} +1 -0
  275. package/typings/{public_api.d.ts → public-api.d.ts} +0 -0
  276. package/typings/rxjs/index.d.ts +1 -1
  277. package/typings/rxjs/index.metadata.json +1 -1
  278. package/typings/rxjs/{public_api.d.ts → public-api.d.ts} +0 -0
  279. package/typings/rxjs/rx-operators.d.ts +7 -0
  280. package/typings/scrolling/index.d.ts +1 -1
  281. package/typings/scrolling/index.metadata.json +1 -1
  282. package/typings/scrolling/public-api.d.ts +11 -0
  283. package/typings/scrolling/scrolling-module.d.ts +2 -0
  284. package/typings/scrolling/viewport-ruler.d.ts +20 -6
  285. package/typings/stepper/index.d.ts +1 -1
  286. package/typings/stepper/index.metadata.json +1 -1
  287. package/typings/stepper/public-api.d.ts +11 -0
  288. package/typings/stepper/stepper-module.d.ts +2 -0
  289. package/typings/stepper/stepper.d.ts +8 -4
  290. package/typings/table/index.d.ts +1 -1
  291. package/typings/table/index.metadata.json +1 -1
  292. package/typings/table/public-api.d.ts +13 -0
  293. package/typings/table/row.d.ts +11 -3
  294. package/typings/table/table-errors.d.ts +10 -0
  295. package/typings/table/table-module.d.ts +2 -0
  296. package/typings/table/table.d.ts +17 -8
  297. package/bidi/typings/public_api.d.ts +0 -4
  298. package/platform/typings/public_api.d.ts +0 -4
  299. package/scrolling/typings/public_api.d.ts +0 -5
  300. package/stepper/typings/public_api.d.ts +0 -5
  301. package/table/typings/public_api.d.ts +0 -7
  302. package/typings/bidi/public_api.d.ts +0 -4
  303. package/typings/platform/public_api.d.ts +0 -4
  304. package/typings/scrolling/public_api.d.ts +0 -5
  305. package/typings/stepper/public_api.d.ts +0 -5
  306. package/typings/table/public_api.d.ts +0 -7
@@ -0,0 +1,235 @@
1
+ /**
2
+ * @license
3
+ * Copyright Google Inc. 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
+ (function (global, factory) {
9
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/cdk/platform'), require('rxjs/Subject'), require('@angular/cdk/rxjs'), require('@angular/cdk/coercion'), require('rxjs/observable/combineLatest'), require('rxjs/observable/fromEventPattern')) :
10
+ typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/cdk/platform', 'rxjs/Subject', '@angular/cdk/rxjs', '@angular/cdk/coercion', 'rxjs/observable/combineLatest', 'rxjs/observable/fromEventPattern'], factory) :
11
+ (factory((global.ng = global.ng || {}, global.ng.cdk = global.ng.cdk || {}, global.ng.cdk.layout = global.ng.cdk.layout || {}),global.ng.core,global.ng.cdk.platform,global.Rx,global.ng.cdk.rxjs,global.ng.cdk.coercion,global.Rx.Observable,global.Rx.Observable));
12
+ }(this, (function (exports,_angular_core,_angular_cdk_platform,rxjs_Subject,_angular_cdk_rxjs,_angular_cdk_coercion,rxjs_observable_combineLatest,rxjs_observable_fromEventPattern) { 'use strict';
13
+
14
+ /**
15
+ * Global registry for all dynamically-created, injected style tags.
16
+ */
17
+ var styleElementForWebkitCompatibility = new Map();
18
+ /**
19
+ * A utility for calling matchMedia queries.
20
+ */
21
+ var MediaMatcher = (function () {
22
+ /**
23
+ * @param {?} platform
24
+ */
25
+ function MediaMatcher(platform) {
26
+ this.platform = platform;
27
+ this._matchMedia = this.platform.isBrowser ?
28
+ // matchMedia is bound to the window scope intentionally as it is an illegal invocation to
29
+ // call it from a different scope.
30
+ window.matchMedia.bind(window) :
31
+ noopMatchMedia;
32
+ }
33
+ /**
34
+ * Confirms the layout engine will trigger for the selector query provided and returns the
35
+ * MediaQueryList for the query provided.
36
+ * @param {?} query
37
+ * @return {?}
38
+ */
39
+ MediaMatcher.prototype.matchMedia = function (query) {
40
+ if (this.platform.WEBKIT) {
41
+ createEmptyStyleRule(query);
42
+ }
43
+ return this._matchMedia(query);
44
+ };
45
+ MediaMatcher.decorators = [
46
+ { type: _angular_core.Injectable },
47
+ ];
48
+ /**
49
+ * @nocollapse
50
+ */
51
+ MediaMatcher.ctorParameters = function () { return [
52
+ { type: _angular_cdk_platform.Platform, },
53
+ ]; };
54
+ return MediaMatcher;
55
+ }());
56
+ /**
57
+ * For Webkit engines that only trigger the MediaQueryListListener when there is at least one CSS
58
+ * selector for the respective media query.
59
+ * @param {?} query
60
+ * @return {?}
61
+ */
62
+ function createEmptyStyleRule(query) {
63
+ if (!styleElementForWebkitCompatibility.has(query)) {
64
+ try {
65
+ var /** @type {?} */ style = document.createElement('style');
66
+ style.setAttribute('type', 'text/css');
67
+ if (!style.sheet) {
68
+ var /** @type {?} */ cssText = "@media " + query + " {.fx-query-test{ }}";
69
+ style.appendChild(document.createTextNode(cssText));
70
+ }
71
+ document.getElementsByTagName('head')[0].appendChild(style);
72
+ // Store in private global registry
73
+ styleElementForWebkitCompatibility.set(query, style);
74
+ }
75
+ catch (e) {
76
+ console.error(e);
77
+ }
78
+ }
79
+ }
80
+ /**
81
+ * No-op matchMedia replacement for non-browser platforms.
82
+ * @param {?} query
83
+ * @return {?}
84
+ */
85
+ function noopMatchMedia(query) {
86
+ return {
87
+ matches: query === 'all' || query === '',
88
+ media: query,
89
+ addListener: function () { },
90
+ removeListener: function () { }
91
+ };
92
+ }
93
+
94
+ /**
95
+ * Utility for checking the matching state of \@media queries.
96
+ */
97
+ var BreakpointObserver = (function () {
98
+ /**
99
+ * @param {?} mediaMatcher
100
+ * @param {?} zone
101
+ */
102
+ function BreakpointObserver(mediaMatcher, zone) {
103
+ this.mediaMatcher = mediaMatcher;
104
+ this.zone = zone;
105
+ /**
106
+ * A map of all media queries currently being listened for.
107
+ */
108
+ this._queries = new Map();
109
+ /**
110
+ * A subject for all other observables to takeUntil based on.
111
+ */
112
+ this._destroySubject = new rxjs_Subject.Subject();
113
+ }
114
+ /**
115
+ * Completes the active subject, signalling to all other observables to complete.
116
+ * @return {?}
117
+ */
118
+ BreakpointObserver.prototype.ngOnDestroy = function () {
119
+ this._destroySubject.next();
120
+ this._destroySubject.complete();
121
+ };
122
+ /**
123
+ * Whether the query currently is matched.
124
+ * @param {?} value
125
+ * @return {?}
126
+ */
127
+ BreakpointObserver.prototype.isMatched = function (value) {
128
+ var _this = this;
129
+ var /** @type {?} */ queries = _angular_cdk_coercion.coerceArray(value);
130
+ return queries.some(function (mediaQuery) { return _this._registerQuery(mediaQuery).mql.matches; });
131
+ };
132
+ /**
133
+ * Gets an observable of results for the given queries that will emit new results for any changes
134
+ * in matching of the given queries.
135
+ * @param {?} value
136
+ * @return {?}
137
+ */
138
+ BreakpointObserver.prototype.observe = function (value) {
139
+ var _this = this;
140
+ var /** @type {?} */ queries = _angular_cdk_coercion.coerceArray(value);
141
+ var /** @type {?} */ observables = queries.map(function (query) { return _this._registerQuery(query).observable; });
142
+ return rxjs_observable_combineLatest.combineLatest(observables, function (a, b) {
143
+ return {
144
+ matches: !!((a && a.matches) || (b && b.matches)),
145
+ };
146
+ });
147
+ };
148
+ /**
149
+ * Registers a specific query to be listened for.
150
+ * @param {?} query
151
+ * @return {?}
152
+ */
153
+ BreakpointObserver.prototype._registerQuery = function (query) {
154
+ var _this = this;
155
+ // Only set up a new MediaQueryList if it is not already being listened for.
156
+ if (this._queries.has(query)) {
157
+ return ((this._queries.get(query)));
158
+ }
159
+ var /** @type {?} */ mql = this.mediaMatcher.matchMedia(query);
160
+ // Create callback for match changes and add it is as a listener.
161
+ var /** @type {?} */ queryObservable = _angular_cdk_rxjs.RxChain.from(rxjs_observable_fromEventPattern.fromEventPattern(
162
+ // Listener callback methods are wrapped to be placed back in ngZone. Callbacks must be placed
163
+ // back into the zone because matchMedia is only included in Zone.js by loading the
164
+ // webapis-media-query.js file alongside the zone.js file. Additionally, some browsers do not
165
+ // have MediaQueryList inherit from EventTarget, which causes inconsistencies in how Zone.js
166
+ // patches it.
167
+ function (listener) {
168
+ mql.addListener(function (e) { return _this.zone.run(function () { return listener(e); }); });
169
+ }, function (listener) {
170
+ mql.removeListener(function (e) { return _this.zone.run(function () { return listener(e); }); });
171
+ }))
172
+ .call(_angular_cdk_rxjs.takeUntil, this._destroySubject)
173
+ .call(_angular_cdk_rxjs.startWith, mql)
174
+ .call(_angular_cdk_rxjs.map, function (nextMql) { return ({ matches: nextMql.matches }); })
175
+ .result();
176
+ // Add the MediaQueryList to the set of queries.
177
+ var /** @type {?} */ output = { observable: queryObservable, mql: mql };
178
+ this._queries.set(query, output);
179
+ return output;
180
+ };
181
+ BreakpointObserver.decorators = [
182
+ { type: _angular_core.Injectable },
183
+ ];
184
+ /**
185
+ * @nocollapse
186
+ */
187
+ BreakpointObserver.ctorParameters = function () { return [
188
+ { type: MediaMatcher, },
189
+ { type: _angular_core.NgZone, },
190
+ ]; };
191
+ return BreakpointObserver;
192
+ }());
193
+
194
+ // PascalCase is being used as Breakpoints is used like an enum.
195
+ // tslint:disable-next-line:variable-name
196
+ var Breakpoints = {
197
+ Handset: '(max-width: 599px) and (orientation: portrait), ' +
198
+ '(max-width: 959px) and (orientation: landscape)',
199
+ Tablet: '(min-width: 600px) and (max-width: 839px) and (orientation: portrait), ' +
200
+ '(min-width: 960px) and (max-width: 1279px) and (orientation: landscape)',
201
+ Web: '(min-width: 840px) and (orientation: portrait), ' +
202
+ '(min-width: 1280px) and (orientation: landscape)',
203
+ HandsetPortrait: '(max-width: 599px) and (orientation: portrait)',
204
+ TabletPortrait: '(min-width: 600px) and (max-width: 839px) and (orientation: portrait)',
205
+ WebPortrait: '(min-width: 840px) and (orientation: portrait)',
206
+ HandsetLandscape: '(max-width: 959px) and (orientation: landscape)',
207
+ TabletLandscape: '(min-width: 960px) and (max-width: 1279px) and (orientation: landscape)',
208
+ WebLandscape: '(min-width: 1280px) and (orientation: landscape)',
209
+ };
210
+
211
+ var LayoutModule = (function () {
212
+ function LayoutModule() {
213
+ }
214
+ LayoutModule.decorators = [
215
+ { type: _angular_core.NgModule, args: [{
216
+ providers: [BreakpointObserver, MediaMatcher],
217
+ imports: [_angular_cdk_platform.PlatformModule],
218
+ },] },
219
+ ];
220
+ /**
221
+ * @nocollapse
222
+ */
223
+ LayoutModule.ctorParameters = function () { return []; };
224
+ return LayoutModule;
225
+ }());
226
+
227
+ exports.LayoutModule = LayoutModule;
228
+ exports.BreakpointObserver = BreakpointObserver;
229
+ exports.Breakpoints = Breakpoints;
230
+ exports.MediaMatcher = MediaMatcher;
231
+
232
+ Object.defineProperty(exports, '__esModule', { value: true });
233
+
234
+ })));
235
+ //# sourceMappingURL=cdk-layout.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cdk-layout.umd.js","sources":["cdk/layout.es5.js"],"sourcesContent":["/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { Injectable, NgModule, NgZone } from '@angular/core';\nimport { Platform, PlatformModule } from '@angular/cdk/platform';\nimport { Subject } from 'rxjs/Subject';\nimport { RxChain, map, startWith, takeUntil } from '@angular/cdk/rxjs';\nimport { coerceArray } from '@angular/cdk/coercion';\nimport { combineLatest } from 'rxjs/observable/combineLatest';\nimport { fromEventPattern } from 'rxjs/observable/fromEventPattern';\n\n/**\n * Global registry for all dynamically-created, injected style tags.\n */\nvar styleElementForWebkitCompatibility = new Map();\n/**\n * A utility for calling matchMedia queries.\n */\nvar MediaMatcher = (function () {\n /**\n * @param {?} platform\n */\n function MediaMatcher(platform) {\n this.platform = platform;\n this._matchMedia = this.platform.isBrowser ?\n // matchMedia is bound to the window scope intentionally as it is an illegal invocation to\n // call it from a different scope.\n window.matchMedia.bind(window) :\n noopMatchMedia;\n }\n /**\n * Confirms the layout engine will trigger for the selector query provided and returns the\n * MediaQueryList for the query provided.\n * @param {?} query\n * @return {?}\n */\n MediaMatcher.prototype.matchMedia = function (query) {\n if (this.platform.WEBKIT) {\n createEmptyStyleRule(query);\n }\n return this._matchMedia(query);\n };\n MediaMatcher.decorators = [\n { type: Injectable },\n ];\n /**\n * @nocollapse\n */\n MediaMatcher.ctorParameters = function () { return [\n { type: Platform, },\n ]; };\n return MediaMatcher;\n}());\n/**\n * For Webkit engines that only trigger the MediaQueryListListener when there is at least one CSS\n * selector for the respective media query.\n * @param {?} query\n * @return {?}\n */\nfunction createEmptyStyleRule(query) {\n if (!styleElementForWebkitCompatibility.has(query)) {\n try {\n var /** @type {?} */ style = document.createElement('style');\n style.setAttribute('type', 'text/css');\n if (!style.sheet) {\n var /** @type {?} */ cssText = \"@media \" + query + \" {.fx-query-test{ }}\";\n style.appendChild(document.createTextNode(cssText));\n }\n document.getElementsByTagName('head')[0].appendChild(style);\n // Store in private global registry\n styleElementForWebkitCompatibility.set(query, style);\n }\n catch (e) {\n console.error(e);\n }\n }\n}\n/**\n * No-op matchMedia replacement for non-browser platforms.\n * @param {?} query\n * @return {?}\n */\nfunction noopMatchMedia(query) {\n return {\n matches: query === 'all' || query === '',\n media: query,\n addListener: function () { },\n removeListener: function () { }\n };\n}\n\n/**\n * Utility for checking the matching state of \\@media queries.\n */\nvar BreakpointObserver = (function () {\n /**\n * @param {?} mediaMatcher\n * @param {?} zone\n */\n function BreakpointObserver(mediaMatcher, zone) {\n this.mediaMatcher = mediaMatcher;\n this.zone = zone;\n /**\n * A map of all media queries currently being listened for.\n */\n this._queries = new Map();\n /**\n * A subject for all other observables to takeUntil based on.\n */\n this._destroySubject = new Subject();\n }\n /**\n * Completes the active subject, signalling to all other observables to complete.\n * @return {?}\n */\n BreakpointObserver.prototype.ngOnDestroy = function () {\n this._destroySubject.next();\n this._destroySubject.complete();\n };\n /**\n * Whether the query currently is matched.\n * @param {?} value\n * @return {?}\n */\n BreakpointObserver.prototype.isMatched = function (value) {\n var _this = this;\n var /** @type {?} */ queries = coerceArray(value);\n return queries.some(function (mediaQuery) { return _this._registerQuery(mediaQuery).mql.matches; });\n };\n /**\n * Gets an observable of results for the given queries that will emit new results for any changes\n * in matching of the given queries.\n * @param {?} value\n * @return {?}\n */\n BreakpointObserver.prototype.observe = function (value) {\n var _this = this;\n var /** @type {?} */ queries = coerceArray(value);\n var /** @type {?} */ observables = queries.map(function (query) { return _this._registerQuery(query).observable; });\n return combineLatest(observables, function (a, b) {\n return {\n matches: !!((a && a.matches) || (b && b.matches)),\n };\n });\n };\n /**\n * Registers a specific query to be listened for.\n * @param {?} query\n * @return {?}\n */\n BreakpointObserver.prototype._registerQuery = function (query) {\n var _this = this;\n // Only set up a new MediaQueryList if it is not already being listened for.\n if (this._queries.has(query)) {\n return ((this._queries.get(query)));\n }\n var /** @type {?} */ mql = this.mediaMatcher.matchMedia(query);\n // Create callback for match changes and add it is as a listener.\n var /** @type {?} */ queryObservable = RxChain.from(fromEventPattern(\n // Listener callback methods are wrapped to be placed back in ngZone. Callbacks must be placed\n // back into the zone because matchMedia is only included in Zone.js by loading the\n // webapis-media-query.js file alongside the zone.js file. Additionally, some browsers do not\n // have MediaQueryList inherit from EventTarget, which causes inconsistencies in how Zone.js\n // patches it.\n function (listener) {\n mql.addListener(function (e) { return _this.zone.run(function () { return listener(e); }); });\n }, function (listener) {\n mql.removeListener(function (e) { return _this.zone.run(function () { return listener(e); }); });\n }))\n .call(takeUntil, this._destroySubject)\n .call(startWith, mql)\n .call(map, function (nextMql) { return ({ matches: nextMql.matches }); })\n .result();\n // Add the MediaQueryList to the set of queries.\n var /** @type {?} */ output = { observable: queryObservable, mql: mql };\n this._queries.set(query, output);\n return output;\n };\n BreakpointObserver.decorators = [\n { type: Injectable },\n ];\n /**\n * @nocollapse\n */\n BreakpointObserver.ctorParameters = function () { return [\n { type: MediaMatcher, },\n { type: NgZone, },\n ]; };\n return BreakpointObserver;\n}());\n\n// PascalCase is being used as Breakpoints is used like an enum.\n// tslint:disable-next-line:variable-name\nvar Breakpoints = {\n Handset: '(max-width: 599px) and (orientation: portrait), ' +\n '(max-width: 959px) and (orientation: landscape)',\n Tablet: '(min-width: 600px) and (max-width: 839px) and (orientation: portrait), ' +\n '(min-width: 960px) and (max-width: 1279px) and (orientation: landscape)',\n Web: '(min-width: 840px) and (orientation: portrait), ' +\n '(min-width: 1280px) and (orientation: landscape)',\n HandsetPortrait: '(max-width: 599px) and (orientation: portrait)',\n TabletPortrait: '(min-width: 600px) and (max-width: 839px) and (orientation: portrait)',\n WebPortrait: '(min-width: 840px) and (orientation: portrait)',\n HandsetLandscape: '(max-width: 959px) and (orientation: landscape)',\n TabletLandscape: '(min-width: 960px) and (max-width: 1279px) and (orientation: landscape)',\n WebLandscape: '(min-width: 1280px) and (orientation: landscape)',\n};\n\nvar LayoutModule = (function () {\n function LayoutModule() {\n }\n LayoutModule.decorators = [\n { type: NgModule, args: [{\n providers: [BreakpointObserver, MediaMatcher],\n imports: [PlatformModule],\n },] },\n ];\n /**\n * @nocollapse\n */\n LayoutModule.ctorParameters = function () { return []; };\n return LayoutModule;\n}());\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { LayoutModule, BreakpointObserver, Breakpoints, MediaMatcher };\n//# sourceMappingURL=layout.es5.js.map\n"],"names":["Injectable","Platform","Subject","coerceArray","combineLatest","RxChain","fromEventPattern","takeUntil","startWith","map","NgZone","NgModule","PlatformModule"],"mappings":";;;;;;;;;;;;;AAeA;;;AAGA,IAAI,kCAAkC,GAAG,IAAI,GAAG,EAAE,CAAC;;;;AAInD,IAAI,YAAY,IAAI,YAAY;;;;IAI5B,SAAS,YAAY,CAAC,QAAQ,EAAE;QAC5B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS;;;YAGtC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC;YAC9B,cAAc,CAAC;KACtB;;;;;;;IAOD,YAAY,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,KAAK,EAAE;QACjD,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE;YACtB,oBAAoB,CAAC,KAAK,CAAC,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;KAClC,CAAC;IACF,YAAY,CAAC,UAAU,GAAG;QACtB,EAAE,IAAI,EAAEA,wBAAU,EAA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jC,OAAO,MAAM,CAAC;KACjB,CAAC;IACF,kBAAkB,CAAC,UAAU,GAAG;QAC5B,EAAE,IAAI,EAAET,wBAAU,EAAE;KACvB,CAAC;;;;IAIF,kBAAkB,CAAC,cAAc,GAAG,YAAY,EAAE,OAAO;QACrD,EAAE,IAAI,EAAE,YAAY,GAAG;QACvB,EAAE,IAAI,EAAEU,oBAAM,GAAG;KACpB,CAAC,EAAE,CAAC;IACL,OAAO,kBAAkB,CAAC;CAC7B,EAAE,CAAC,CAAC;;;;AAIL,IAAI,WAAW,GAAG;IACd,OAAO,EAAE,kDAAkD;QACvD,iDAAiD;IACrD,MAAM,EAAE,yEAAyE;QAC7E,yEAAyE;IAC7E,GAAG,EAAE,kDAAkD;QACnD,kDAAkD;IACtD,eAAe,EAAE,gDAAgD;IACjE,cAAc,EAAE,uEAAuE;IACvF,WAAW,EAAE,gDAAgD;IAC7D,gBAAgB,EAAE,iDAAiD;IACnE,eAAe,EAAE,yEAAyE;IAC1F,YAAY,EAAE,kDAAkD;CACnE,CAAC;;AAEF,IAAI,YAAY,IAAI,YAAY;IAC5B,SAAS,YAAY,GAAG;KACvB;IACD,YAAY,CAAC,UAAU,GAAG;QACtB,EAAE,IAAI,EAAEC,sBAAQ,EAAE,IAAI,EAAE,CAAC;oBACb,SAAS,EAAE,CAAC,kBAAkB,EAAE,YAAY,CAAC;oBAC7C,OAAO,EAAE,CAACC,oCAAc,CAAC;iBAC5B,EAAE,EAAE;KAChB,CAAC;;;;IAIF,YAAY,CAAC,cAAc,GAAG,YAAY,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IACzD,OAAO,YAAY,CAAC;CACvB,EAAE,CAAC,CAAC,AAEL,AAIuE,AACvE,AAAsC;;;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license
3
+ * Copyright Google Inc. 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
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/cdk/platform"),require("rxjs/Subject"),require("@angular/cdk/rxjs"),require("@angular/cdk/coercion"),require("rxjs/observable/combineLatest"),require("rxjs/observable/fromEventPattern")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@angular/cdk/platform","rxjs/Subject","@angular/cdk/rxjs","@angular/cdk/coercion","rxjs/observable/combineLatest","rxjs/observable/fromEventPattern"],e):e((t.ng=t.ng||{},t.ng.cdk=t.ng.cdk||{},t.ng.cdk.layout=t.ng.cdk.layout||{}),t.ng.core,t.ng.cdk.platform,t.Rx,t.ng.cdk.rxjs,t.ng.cdk.coercion,t.Rx.Observable,t.Rx.Observable)}(this,function(t,e,r,n,a,i,o,c){"use strict";function s(t){if(!u.has(t))try{var e=document.createElement("style");if(e.setAttribute("type","text/css"),!e.sheet){var r="@media "+t+" {.fx-query-test{ }}";e.appendChild(document.createTextNode(r))}document.getElementsByTagName("head")[0].appendChild(e),u.set(t,e)}catch(t){console.error(t)}}function d(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var u=new Map,p=function(){function t(t){this.platform=t,this._matchMedia=this.platform.isBrowser?window.matchMedia.bind(window):d}return t.prototype.matchMedia=function(t){return this.platform.WEBKIT&&s(t),this._matchMedia(t)},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:r.Platform}]},t}(),m=function(){function t(t,e){this.mediaMatcher=t,this.zone=e,this._queries=new Map,this._destroySubject=new n.Subject}return t.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},t.prototype.isMatched=function(t){var e=this;return i.coerceArray(t).some(function(t){return e._registerQuery(t).mql.matches})},t.prototype.observe=function(t){var e=this,r=i.coerceArray(t),n=r.map(function(t){return e._registerQuery(t).observable});return o.combineLatest(n,function(t,e){return{matches:!!(t&&t.matches||e&&e.matches)}})},t.prototype._registerQuery=function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var r=this.mediaMatcher.matchMedia(t),n=a.RxChain.from(c.fromEventPattern(function(t){r.addListener(function(r){return e.zone.run(function(){return t(r)})})},function(t){r.removeListener(function(r){return e.zone.run(function(){return t(r)})})})).call(a.takeUntil,this._destroySubject).call(a.startWith,r).call(a.map,function(t){return{matches:t.matches}}).result(),i={observable:n,mql:r};return this._queries.set(t,i),i},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:p},{type:e.NgZone}]},t}(),l={Handset:"(max-width: 599px) and (orientation: portrait), (max-width: 959px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"},h=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{providers:[m,p],imports:[r.PlatformModule]}]}],t.ctorParameters=function(){return[]},t}();t.LayoutModule=h,t.BreakpointObserver=m,t.Breakpoints=l,t.MediaMatcher=p,Object.defineProperty(t,"__esModule",{value:!0})});
9
+ //# sourceMappingURL=/Users/karakara/repos/material2/dist/bundles/cdk-layout.umd.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/karakara/repos/material2/dist/bundles/cdk-layout.umd.js"],"names":["global","factory","exports","module","require","define","amd","ng","cdk","layout","core","platform","Rx","rxjs","coercion","Observable","this","_angular_core","_angular_cdk_platform","rxjs_Subject","_angular_cdk_rxjs","_angular_cdk_coercion","rxjs_observable_combineLatest","rxjs_observable_fromEventPattern","createEmptyStyleRule","query","styleElementForWebkitCompatibility","has","style","document","createElement","setAttribute","sheet","cssText","appendChild","createTextNode","getElementsByTagName","set","e","console","error","noopMatchMedia","matches","media","addListener","removeListener","Map","MediaMatcher","_matchMedia","isBrowser","window","matchMedia","bind","prototype","WEBKIT","decorators","type","Injectable","ctorParameters","Platform","BreakpointObserver","mediaMatcher","zone","_queries","_destroySubject","Subject","ngOnDestroy","next","complete","isMatched","value","_this","coerceArray","some","mediaQuery","_registerQuery","mql","observe","queries","observables","map","observable","combineLatest","a","b","get","queryObservable","RxChain","from","fromEventPattern","listener","run","call","takeUntil","startWith","nextMql","result","output","NgZone","Breakpoints","Handset","Tablet","Web","HandsetPortrait","TabletPortrait","WebPortrait","HandsetLandscape","TabletLandscape","WebLandscape","LayoutModule","NgModule","args","providers","imports","PlatformModule","Object","defineProperty"],"mappings":";;;;;;;CAOC,SAAUA,EAAQC,GACC,gBAAZC,UAA0C,mBAAXC,QAAyBF,EAAQC,QAASE,QAAQ,iBAAkBA,QAAQ,yBAA0BA,QAAQ,gBAAiBA,QAAQ,qBAAsBA,QAAQ,yBAA0BA,QAAQ,iCAAkCA,QAAQ,qCACrQ,kBAAXC,SAAyBA,OAAOC,IAAMD,QAAQ,UAAW,gBAAiB,wBAAyB,eAAgB,oBAAqB,wBAAyB,gCAAiC,oCAAqCJ,GAC7OA,GAASD,EAAOO,GAAKP,EAAOO,OAAUP,EAAOO,GAAGC,IAAMR,EAAOO,GAAGC,QAAWR,EAAOO,GAAGC,IAAIC,OAAST,EAAOO,GAAGC,IAAIC,YAAcT,EAAOO,GAAGG,KAAKV,EAAOO,GAAGC,IAAIG,SAASX,EAAOY,GAAGZ,EAAOO,GAAGC,IAAIK,KAAKb,EAAOO,GAAGC,IAAIM,SAASd,EAAOY,GAAGG,WAAWf,EAAOY,GAAGG,aACvPC,KAAM,SAAWd,EAAQe,EAAcC,EAAsBC,EAAaC,EAAkBC,EAAsBC,EAA8BC,GAAoC,YAkDtL,SAASC,GAAqBC,GAC1B,IAAKC,EAAmCC,IAAIF,G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MvC,EAAc6F,SAAUC,OACpBC,WAAYpD,EAAoBb,GAChCkE,SAAU/F,EAAsBgG,oBAMhDL,EAAanD,eAAiB,WAAc,UACrCmD,IAGX3G,GAAQ2G,aAAeA,EACvB3G,EAAQ0D,mBAAqBA,EAC7B1D,EAAQiG,YAAcA,EACtBjG,EAAQ6C,aAAeA,EAEvBoE,OAAOC,eAAelH,EAAS,cAAgBoE,OAAO","file":"/Users/karakara/repos/material2/dist/bundles/cdk-layout.umd.min.js"}
@@ -15,25 +15,25 @@
15
15
  * Factory that creates a new MutationObserver and allows us to stub it out in unit tests.
16
16
  * \@docs-private
17
17
  */
18
- var MdMutationObserverFactory = (function () {
19
- function MdMutationObserverFactory() {
18
+ var MatMutationObserverFactory = (function () {
19
+ function MatMutationObserverFactory() {
20
20
  }
21
21
  /**
22
22
  * @param {?} callback
23
23
  * @return {?}
24
24
  */
25
- MdMutationObserverFactory.prototype.create = function (callback) {
25
+ MatMutationObserverFactory.prototype.create = function (callback) {
26
26
  return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);
27
27
  };
28
- return MdMutationObserverFactory;
28
+ MatMutationObserverFactory.decorators = [
29
+ { type: _angular_core.Injectable },
30
+ ];
31
+ /**
32
+ * @nocollapse
33
+ */
34
+ MatMutationObserverFactory.ctorParameters = function () { return []; };
35
+ return MatMutationObserverFactory;
29
36
  }());
30
- MdMutationObserverFactory.decorators = [
31
- { type: _angular_core.Injectable },
32
- ];
33
- /**
34
- * @nocollapse
35
- */
36
- MdMutationObserverFactory.ctorParameters = function () { return []; };
37
37
  /**
38
38
  * Directive that triggers a callback whenever the content of
39
39
  * its associated element has changed.
@@ -94,43 +94,44 @@ var ObserveContent = (function () {
94
94
  }
95
95
  this._debouncer.complete();
96
96
  };
97
+ ObserveContent.decorators = [
98
+ { type: _angular_core.Directive, args: [{
99
+ selector: '[cdkObserveContent]',
100
+ exportAs: 'cdkObserveContent',
101
+ },] },
102
+ ];
103
+ /**
104
+ * @nocollapse
105
+ */
106
+ ObserveContent.ctorParameters = function () { return [
107
+ { type: MatMutationObserverFactory, },
108
+ { type: _angular_core.ElementRef, },
109
+ { type: _angular_core.NgZone, },
110
+ ]; };
111
+ ObserveContent.propDecorators = {
112
+ 'event': [{ type: _angular_core.Output, args: ['cdkObserveContent',] },],
113
+ 'debounce': [{ type: _angular_core.Input },],
114
+ };
97
115
  return ObserveContent;
98
116
  }());
99
- ObserveContent.decorators = [
100
- { type: _angular_core.Directive, args: [{
101
- selector: '[cdkObserveContent]'
102
- },] },
103
- ];
104
- /**
105
- * @nocollapse
106
- */
107
- ObserveContent.ctorParameters = function () { return [
108
- { type: MdMutationObserverFactory, },
109
- { type: _angular_core.ElementRef, },
110
- { type: _angular_core.NgZone, },
111
- ]; };
112
- ObserveContent.propDecorators = {
113
- 'event': [{ type: _angular_core.Output, args: ['cdkObserveContent',] },],
114
- 'debounce': [{ type: _angular_core.Input },],
115
- };
116
117
  var ObserversModule = (function () {
117
118
  function ObserversModule() {
118
119
  }
120
+ ObserversModule.decorators = [
121
+ { type: _angular_core.NgModule, args: [{
122
+ exports: [ObserveContent],
123
+ declarations: [ObserveContent],
124
+ providers: [MatMutationObserverFactory]
125
+ },] },
126
+ ];
127
+ /**
128
+ * @nocollapse
129
+ */
130
+ ObserversModule.ctorParameters = function () { return []; };
119
131
  return ObserversModule;
120
132
  }());
121
- ObserversModule.decorators = [
122
- { type: _angular_core.NgModule, args: [{
123
- exports: [ObserveContent],
124
- declarations: [ObserveContent],
125
- providers: [MdMutationObserverFactory]
126
- },] },
127
- ];
128
- /**
129
- * @nocollapse
130
- */
131
- ObserversModule.ctorParameters = function () { return []; };
132
133
 
133
- exports.MdMutationObserverFactory = MdMutationObserverFactory;
134
+ exports.MatMutationObserverFactory = MatMutationObserverFactory;
134
135
  exports.ObserveContent = ObserveContent;
135
136
  exports.ObserversModule = ObserversModule;
136
137
 
@@ -1 +1 @@
1
- {"version":3,"file":"cdk-observers.umd.js","sources":["../../src/cdk/observers/index.ts","../../src/cdk/observers/observe-content.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {MdMutationObserverFactory,ObserveContent,ObserversModule} from './public_api';\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nimport {\n Directive,\n ElementRef,\n NgModule,\n Output,\n Input,\n EventEmitter,\n OnDestroy,\n AfterContentInit,\n Injectable,\n NgZone,\n} from '@angular/core';\nimport {Subject} from 'rxjs/Subject';\nimport {RxChain, debounceTime} from '@angular/cdk/rxjs';\n/**\n * Factory that creates a new MutationObserver and allows us to stub it out in unit tests.\n * \\@docs-private\n */\nexport class MdMutationObserverFactory {\n/**\n * @param {?} callback\n * @return {?}\n */\ncreate(callback): MutationObserver | null {\n return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Injectable },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction MdMutationObserverFactory_tsickle_Closure_declarations() {\n/** @type {?} */\nMdMutationObserverFactory.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nMdMutationObserverFactory.ctorParameters;\n}\n\n/**\n * Directive that triggers a callback whenever the content of\n * its associated element has changed.\n */\nexport class ObserveContent implements AfterContentInit, OnDestroy {\nprivate _observer: MutationObserver | null;\n/**\n * Event emitted for each change in the element's content.\n */\nevent = new EventEmitter<MutationRecord[]>();\n/**\n * Used for debouncing the emitted values to the observeContent event.\n */\nprivate _debouncer = new Subject<MutationRecord[]>();\n/**\n * Debounce interval for emitting the changes.\n */\ndebounce: number;\n/**\n * @param {?} _mutationObserverFactory\n * @param {?} _elementRef\n * @param {?} _ngZone\n */\nconstructor(\nprivate _mutationObserverFactory: MdMutationObserverFactory,\nprivate _elementRef: ElementRef,\nprivate _ngZone: NgZone) { }\n/**\n * @return {?}\n */\nngAfterContentInit() {\n if (this.debounce > 0) {\n this._ngZone.runOutsideAngular(() => {\n RxChain.from(this._debouncer)\n .call(debounceTime, this.debounce)\n .subscribe((mutations: MutationRecord[]) => this.event.emit(mutations));\n });\n } else {\n this._debouncer.subscribe(mutations => this.event.emit(mutations));\n }\n\n this._observer = this._ngZone.runOutsideAngular(() => {\n return this._mutationObserverFactory.create((mutations: MutationRecord[]) => {\n this._debouncer.next(mutations);\n });\n });\n\n if (this._observer) {\n this._observer.observe(this._elementRef.nativeElement, {\n characterData: true,\n childList: true,\n subtree: true\n });\n }\n }\n/**\n * @return {?}\n */\nngOnDestroy() {\n if (this._observer) {\n this._observer.disconnect();\n }\n\n this._debouncer.complete();\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: '[cdkObserveContent]'\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: MdMutationObserverFactory, },\n{type: ElementRef, },\n{type: NgZone, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'event': [{ type: Output, args: ['cdkObserveContent', ] },],\n'debounce': [{ type: Input },],\n};\n}\n\nfunction ObserveContent_tsickle_Closure_declarations() {\n/** @type {?} */\nObserveContent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nObserveContent.ctorParameters;\n/** @type {?} */\nObserveContent.propDecorators;\n/** @type {?} */\nObserveContent.prototype._observer;\n/**\n * Event emitted for each change in the element's content.\n * @type {?}\n */\nObserveContent.prototype.event;\n/**\n * Used for debouncing the emitted values to the observeContent event.\n * @type {?}\n */\nObserveContent.prototype._debouncer;\n/**\n * Debounce interval for emitting the changes.\n * @type {?}\n */\nObserveContent.prototype.debounce;\n/** @type {?} */\nObserveContent.prototype._mutationObserverFactory;\n/** @type {?} */\nObserveContent.prototype._elementRef;\n/** @type {?} */\nObserveContent.prototype._ngZone;\n}\n\nexport class ObserversModule {static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n exports: [ObserveContent],\n declarations: [ObserveContent],\n providers: [MdMutationObserverFactory]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ObserversModule_tsickle_Closure_declarations() {\n/** @type {?} */\nObserversModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nObserversModule.ctorParameters;\n}\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["Input","NgZone","ElementRef","debounceTime","RxChain"],"mappings":";;;;;;;;;;;;;;;;;;IC2BA,SAAA,yBAAA,GAAA;;;;;;IAMA,yBAAA,CAAA,SAAA,CAAA,MAAA,GAAA,UAAA,QAAA,EAAA;QACA,OAAA,OAAA,gBAAA,KAAA,WAAA,GAAA,IAAA,GAAA,IAAA,gBAAA,CAAA,QAAA,CAAA,CAAA;;IAFA,OAAA,yBAAO,CAAP;CAIA,EAAA,CAAA,CAAA;AACA,yBAAA,CAAA,UAAA,GAAA;;;;;;;;;;;;;;;;;IAsBA,SAAA,cAAY,CAAZ,wBAAA,EAAA,WAAA,EAAA,OAAA,EAAA;QACY,IAAZ,CAAA,wBAAA,GAAA,wBAAA,CAAA;;;;;;;;;;;;;;;IA2BA,cAAA,CAAA,SAAA,CAAA,kBAAA,GAAA,YAAA;QACA,IAAA,KAAA,GAAA,IAvBgB,CAuBhB;QACA,IAAA,IAAA,CAAA,QAvBY,GAuBZ,CAAA,EAAA;YACA,IAAA,CAAA,OAAA,CAAA,iBAAA,CAAA,YAAA;gBACAI,yBAAA,CAAA,IAAA,CAAA,KAAA,CAAA,UAAA,CAAA;qBACA,IAAA,CAAAD,8BAAA,EAAA,KAAA,CAAA,QAAA,CAAA;qBAvBA,SAAA,CAAA,UAAA,SAAA,EAAA,EAAA,OAAA,KAAA,CAAA,KAAA,CAAA,IAAA,CAAA,SAAA,CAAA,CAAA,EAAA,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,IAAA,eAAA,IAAS,YAAT;IACA,SAAA,eAAc,GA5DE;KA6DhB;IACA,OAAA,eAAA,CAAA;CACC,EAAD,CAAA,CAAA;;;;gBA1DA,YAAA,EAAC,CAAD,cAAA,CAAA;;aD1HA,EAAA,EAAA;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"cdk-observers.umd.js","sources":["cdk/observers.es5.js"],"sourcesContent":["/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { Directive, ElementRef, EventEmitter, Injectable, Input, NgModule, NgZone, Output } from '@angular/core';\nimport { Subject } from 'rxjs/Subject';\nimport { RxChain, debounceTime } from '@angular/cdk/rxjs';\n\n/**\n * Factory that creates a new MutationObserver and allows us to stub it out in unit tests.\n * \\@docs-private\n */\nvar MatMutationObserverFactory = (function () {\n function MatMutationObserverFactory() {\n }\n /**\n * @param {?} callback\n * @return {?}\n */\n MatMutationObserverFactory.prototype.create = function (callback) {\n return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);\n };\n MatMutationObserverFactory.decorators = [\n { type: Injectable },\n ];\n /**\n * @nocollapse\n */\n MatMutationObserverFactory.ctorParameters = function () { return []; };\n return MatMutationObserverFactory;\n}());\n/**\n * Directive that triggers a callback whenever the content of\n * its associated element has changed.\n */\nvar ObserveContent = (function () {\n /**\n * @param {?} _mutationObserverFactory\n * @param {?} _elementRef\n * @param {?} _ngZone\n */\n function ObserveContent(_mutationObserverFactory, _elementRef, _ngZone) {\n this._mutationObserverFactory = _mutationObserverFactory;\n this._elementRef = _elementRef;\n this._ngZone = _ngZone;\n /**\n * Event emitted for each change in the element's content.\n */\n this.event = new EventEmitter();\n /**\n * Used for debouncing the emitted values to the observeContent event.\n */\n this._debouncer = new Subject();\n }\n /**\n * @return {?}\n */\n ObserveContent.prototype.ngAfterContentInit = function () {\n var _this = this;\n if (this.debounce > 0) {\n this._ngZone.runOutsideAngular(function () {\n RxChain.from(_this._debouncer)\n .call(debounceTime, _this.debounce)\n .subscribe(function (mutations) { return _this.event.emit(mutations); });\n });\n }\n else {\n this._debouncer.subscribe(function (mutations) { return _this.event.emit(mutations); });\n }\n this._observer = this._ngZone.runOutsideAngular(function () {\n return _this._mutationObserverFactory.create(function (mutations) {\n _this._debouncer.next(mutations);\n });\n });\n if (this._observer) {\n this._observer.observe(this._elementRef.nativeElement, {\n characterData: true,\n childList: true,\n subtree: true\n });\n }\n };\n /**\n * @return {?}\n */\n ObserveContent.prototype.ngOnDestroy = function () {\n if (this._observer) {\n this._observer.disconnect();\n }\n this._debouncer.complete();\n };\n ObserveContent.decorators = [\n { type: Directive, args: [{\n selector: '[cdkObserveContent]',\n exportAs: 'cdkObserveContent',\n },] },\n ];\n /**\n * @nocollapse\n */\n ObserveContent.ctorParameters = function () { return [\n { type: MatMutationObserverFactory, },\n { type: ElementRef, },\n { type: NgZone, },\n ]; };\n ObserveContent.propDecorators = {\n 'event': [{ type: Output, args: ['cdkObserveContent',] },],\n 'debounce': [{ type: Input },],\n };\n return ObserveContent;\n}());\nvar ObserversModule = (function () {\n function ObserversModule() {\n }\n ObserversModule.decorators = [\n { type: NgModule, args: [{\n exports: [ObserveContent],\n declarations: [ObserveContent],\n providers: [MatMutationObserverFactory]\n },] },\n ];\n /**\n * @nocollapse\n */\n ObserversModule.ctorParameters = function () { return []; };\n return ObserversModule;\n}());\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatMutationObserverFactory, ObserveContent, ObserversModule };\n//# sourceMappingURL=observers.es5.js.map\n"],"names":["Injectable","EventEmitter","Subject","RxChain","debounceTime","Directive","ElementRef","NgZone","Output","Input","NgModule"],"mappings":";;;;;;;;;;;;;AAWA;;;;AAIA,IAAI,0BAA0B,IAAI,YAAY;IAC1C,SAAS,0BAA0B,GAAG;KACrC;;;;;IAKD,0BAA0B,CAAC,SAAS,CAAC,MAAM,GAAG,UAAU,QAAQ,EAAE;QAC9D,OAAO,OAAO,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AE,IAAI,EAAEC,mBAAK,EAAE,EAAE;KACjC,CAAC;IACF,OAAO,cAAc,CAAC;CACzB,EAAE,CAAC,CAAC;AACL,IAAI,eAAe,IAAI,YAAY;IAC/B,SAAS,eAAe,GAAG;KAC1B;IACD,eAAe,CAAC,UAAU,GAAG;QACzB,EAAE,IAAI,EAAEC,sBAAQ,EAAE,IAAI,EAAE,CAAC;oBACb,OAAO,EAAE,CAAC,cAAc,CAAC;oBACzB,YAAY,EAAE,CAAC,cAAc,CAAC;oBAC9B,SAAS,EAAE,CAAC,0BAA0B,CAAC;iBAC1C,EAAE,EAAE;KAChB,CAAC;;;;IAIF,eAAe,CAAC,cAAc,GAAG,YAAY,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC5D,OAAO,eAAe,CAAC;CAC1B,EAAE,CAAC,CAAC,AAEL,AAIuE,AACvE,AAAyC;;;;;;;;"}
@@ -5,5 +5,5 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs/Subject"),require("@angular/cdk/rxjs")):"function"==typeof define&&define.amd?define(["exports","@angular/core","rxjs/Subject","@angular/cdk/rxjs"],t):t((e.ng=e.ng||{},e.ng.cdk=e.ng.cdk||{},e.ng.cdk.observers=e.ng.cdk.observers||{}),e.ng.core,e.Rx,e.ng.cdk.rxjs)}(this,function(e,t,r,n){"use strict";var o=function(){function e(){}return e.prototype.create=function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)},e}();o.decorators=[{type:t.Injectable}],o.ctorParameters=function(){return[]};var u=function(){function e(e,n,o){this._mutationObserverFactory=e,this._elementRef=n,this._ngZone=o,this.event=new t.EventEmitter,this._debouncer=new r.Subject}return e.prototype.ngAfterContentInit=function(){var e=this;this.debounce>0?this._ngZone.runOutsideAngular(function(){n.RxChain.from(e._debouncer).call(n.debounceTime,e.debounce).subscribe(function(t){return e.event.emit(t)})}):this._debouncer.subscribe(function(t){return e.event.emit(t)}),this._observer=this._ngZone.runOutsideAngular(function(){return e._mutationObserverFactory.create(function(t){e._debouncer.next(t)})}),this._observer&&this._observer.observe(this._elementRef.nativeElement,{characterData:!0,childList:!0,subtree:!0})},e.prototype.ngOnDestroy=function(){this._observer&&this._observer.disconnect(),this._debouncer.complete()},e}();u.decorators=[{type:t.Directive,args:[{selector:"[cdkObserveContent]"}]}],u.ctorParameters=function(){return[{type:o},{type:t.ElementRef},{type:t.NgZone}]},u.propDecorators={event:[{type:t.Output,args:["cdkObserveContent"]}],debounce:[{type:t.Input}]};var s=function(){function e(){}return e}();s.decorators=[{type:t.NgModule,args:[{exports:[u],declarations:[u],providers:[o]}]}],s.ctorParameters=function(){return[]},e.MdMutationObserverFactory=o,e.ObserveContent=u,e.ObserversModule=s,Object.defineProperty(e,"__esModule",{value:!0})});
9
- //# sourceMappingURL=cdk-observers.umd.min.js.map
8
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs/Subject"),require("@angular/cdk/rxjs")):"function"==typeof define&&define.amd?define(["exports","@angular/core","rxjs/Subject","@angular/cdk/rxjs"],t):t((e.ng=e.ng||{},e.ng.cdk=e.ng.cdk||{},e.ng.cdk.observers=e.ng.cdk.observers||{}),e.ng.core,e.Rx,e.ng.cdk.rxjs)}(this,function(e,t,r,n){"use strict";var o=function(){function e(){}return e.prototype.create=function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[]},e}(),s=function(){function e(e,n,o){this._mutationObserverFactory=e,this._elementRef=n,this._ngZone=o,this.event=new t.EventEmitter,this._debouncer=new r.Subject}return e.prototype.ngAfterContentInit=function(){var e=this;this.debounce>0?this._ngZone.runOutsideAngular(function(){n.RxChain.from(e._debouncer).call(n.debounceTime,e.debounce).subscribe(function(t){return e.event.emit(t)})}):this._debouncer.subscribe(function(t){return e.event.emit(t)}),this._observer=this._ngZone.runOutsideAngular(function(){return e._mutationObserverFactory.create(function(t){e._debouncer.next(t)})}),this._observer&&this._observer.observe(this._elementRef.nativeElement,{characterData:!0,childList:!0,subtree:!0})},e.prototype.ngOnDestroy=function(){this._observer&&this._observer.disconnect(),this._debouncer.complete()},e.decorators=[{type:t.Directive,args:[{selector:"[cdkObserveContent]",exportAs:"cdkObserveContent"}]}],e.ctorParameters=function(){return[{type:o},{type:t.ElementRef},{type:t.NgZone}]},e.propDecorators={event:[{type:t.Output,args:["cdkObserveContent"]}],debounce:[{type:t.Input}]},e}(),u=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{exports:[s],declarations:[s],providers:[o]}]}],e.ctorParameters=function(){return[]},e}();e.MatMutationObserverFactory=o,e.ObserveContent=s,e.ObserversModule=u,Object.defineProperty(e,"__esModule",{value:!0})});
9
+ //# sourceMappingURL=/Users/karakara/repos/material2/dist/bundles/cdk-observers.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cdk-observers.umd.min.js","sources":["../../src/cdk/observers/observe-content.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nimport {\n Directive,\n ElementRef,\n NgModule,\n Output,\n Input,\n EventEmitter,\n OnDestroy,\n AfterContentInit,\n Injectable,\n NgZone,\n} from '@angular/core';\nimport {Subject} from 'rxjs/Subject';\nimport {RxChain, debounceTime} from '@angular/cdk/rxjs';\n/**\n * Factory that creates a new MutationObserver and allows us to stub it out in unit tests.\n * \\@docs-private\n */\nexport class MdMutationObserverFactory {\n/**\n * @param {?} callback\n * @return {?}\n */\ncreate(callback): MutationObserver | null {\n return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Injectable },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction MdMutationObserverFactory_tsickle_Closure_declarations() {\n/** @type {?} */\nMdMutationObserverFactory.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nMdMutationObserverFactory.ctorParameters;\n}\n\n/**\n * Directive that triggers a callback whenever the content of\n * its associated element has changed.\n */\nexport class ObserveContent implements AfterContentInit, OnDestroy {\nprivate _observer: MutationObserver | null;\n/**\n * Event emitted for each change in the element's content.\n */\nevent = new EventEmitter<MutationRecord[]>();\n/**\n * Used for debouncing the emitted values to the observeContent event.\n */\nprivate _debouncer = new Subject<MutationRecord[]>();\n/**\n * Debounce interval for emitting the changes.\n */\ndebounce: number;\n/**\n * @param {?} _mutationObserverFactory\n * @param {?} _elementRef\n * @param {?} _ngZone\n */\nconstructor(\nprivate _mutationObserverFactory: MdMutationObserverFactory,\nprivate _elementRef: ElementRef,\nprivate _ngZone: NgZone) { }\n/**\n * @return {?}\n */\nngAfterContentInit() {\n if (this.debounce > 0) {\n this._ngZone.runOutsideAngular(() => {\n RxChain.from(this._debouncer)\n .call(debounceTime, this.debounce)\n .subscribe((mutations: MutationRecord[]) => this.event.emit(mutations));\n });\n } else {\n this._debouncer.subscribe(mutations => this.event.emit(mutations));\n }\n\n this._observer = this._ngZone.runOutsideAngular(() => {\n return this._mutationObserverFactory.create((mutations: MutationRecord[]) => {\n this._debouncer.next(mutations);\n });\n });\n\n if (this._observer) {\n this._observer.observe(this._elementRef.nativeElement, {\n characterData: true,\n childList: true,\n subtree: true\n });\n }\n }\n/**\n * @return {?}\n */\nngOnDestroy() {\n if (this._observer) {\n this._observer.disconnect();\n }\n\n this._debouncer.complete();\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: '[cdkObserveContent]'\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: MdMutationObserverFactory, },\n{type: ElementRef, },\n{type: NgZone, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'event': [{ type: Output, args: ['cdkObserveContent', ] },],\n'debounce': [{ type: Input },],\n};\n}\n\nfunction ObserveContent_tsickle_Closure_declarations() {\n/** @type {?} */\nObserveContent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nObserveContent.ctorParameters;\n/** @type {?} */\nObserveContent.propDecorators;\n/** @type {?} */\nObserveContent.prototype._observer;\n/**\n * Event emitted for each change in the element's content.\n * @type {?}\n */\nObserveContent.prototype.event;\n/**\n * Used for debouncing the emitted values to the observeContent event.\n * @type {?}\n */\nObserveContent.prototype._debouncer;\n/**\n * Debounce interval for emitting the changes.\n * @type {?}\n */\nObserveContent.prototype.debounce;\n/** @type {?} */\nObserveContent.prototype._mutationObserverFactory;\n/** @type {?} */\nObserveContent.prototype._elementRef;\n/** @type {?} */\nObserveContent.prototype._ngZone;\n}\n\nexport class ObserversModule {static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n exports: [ObserveContent],\n declarations: [ObserveContent],\n providers: [MdMutationObserverFactory]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ObserversModule_tsickle_Closure_declarations() {\n/** @type {?} */\nObserversModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nObserversModule.ctorParameters;\n}\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["MdMutationObserverFactory","prototype","create","callback","MutationObserver","decorators","ObserveContent","_mutationObserverFactory","_elementRef","_ngZone","this","ngAfterContentInit","_this","debounce","runOutsideAngular","RxChain","from","_debouncer","call","debounceTime","subscribe","mutations","event","emit","_observer","next","observe","nativeElement","characterData","childList","subtree","ngOnDestroy","disconnect","complete","ctorParameters","type","ElementRef","NgZone","propDecorators","Input","ObserversModule","declarations"],"mappings":";;;;;;;kbA2BA,QAAAA,MAKA,MACAA,GAAAC,UAAAC,OAAA,SAAAC,GACA,MAAA,mBAAAC,kBAAA,KAAA,GAAAA,kBAAAD,IAFAH,IAKAA,GAAAK,wFAsBA,QAAAC,GAAAC,EAAAC,EAAAC,GACYC,KAAZH,yBAAAA,gGA8DA,MAnCAD,GAAAL,UAAAU,mBAAA,WACA,GAAAC,GAAAF,IACAA,MAAAG,SAAA,EACAH,KAAAD,QAAAK,kBAAA,WACAC,EAAAA,QAAAC,KAAAJ,EAAAK,YACAC,KAAAC,EAAAA,aAAAP,EAAAC,UAvBAO,UAAA,SAAAC,GAAA,MAAAT,GAAAU,MAAAC,KAAAF,OA4BMX,KAANO,WAAAG,UAAA,SAvBmBC,GAuBnB,MAAAT,GAAAU,MAAAC,KAAAF,KAEAX,KAAOc,UAAPd,KAAAD,QAAAK,kBAAA,WACA,MAAAF,GAAAL,yBAAAL,OAAA,SAAAmB,GArBST,EAuBTK,WAAAQ,KAAAJ,OAGAX,KAAAc,WACAd,KAAAc,UAAAE,QAAAhB,KAAAF,YAAAmB,eACAC,eAAA,EACAC,WAAA,EACAC,SAAA,KAOAxB,EAAAL,UAAA8B,YAAA,WAEQrB,KAARc,WACAd,KAAAc,UAAAQ,aAxBAtB,KAAAO,WAAAgB,YA2BA3B,IAEAA,GAAAD,wEAQAC,EAAA4B,eAAA,WAAA,QA1BAC,KAAAnC,IA4BAmC,KAAAC,EAAAA,aACAD,KAAAE,EAAAA,UAIA/B,EAAAgC,mEAzBAzB,WAAAsB,KAAAI,EAAAA,QA8DA,IAAAC,GAAS,WACT,QAAAA,MAEA,MAAAA,wDAzDAC,cAAAnC"}
1
+ {"version":3,"sources":["/Users/karakara/repos/material2/dist/bundles/cdk-observers.umd.js"],"names":["global","factory","exports","module","require","define","amd","ng","cdk","observers","core","Rx","rxjs","this","_angular_core","rxjs_Subject","_angular_cdk_rxjs","MatMutationObserverFactory","prototype","create","callback","MutationObserver","decorators","type","Injectable","ctorParameters","ObserveContent","_mutationObserverFactory","_elementRef","_ngZone","event","EventEmitter","_debouncer","Subject","ngAfterContentInit","_this","debounce","runOutsideAngular","RxChain","from","call","debounceTime","subscribe","mutations","emit","_observer","next","observe","nativeElement","characterData","childList","subtree","ngOnDestroy","disconnect","complete","Directive","args","selector","exportAs","ElementRef","NgZone","propDecorators","Output","Input","ObserversModule","NgModule","declarations","providers","Object","defineProperty","value"],"mappings":";;;;;;;CAOC,SAAUA,EAAQC,GACC,gBAAZC,UAA0C,mBAAXC,QAAyBF,EAAQC,QAASE,QAAQ,iBAAkBA,QAAQ,gBAAiBA,QAAQ,sBACzH,kBAAXC,SAAyBA,OAAOC,IAAMD,QAAQ,UAAW,gBAAiB,eAAgB,qBAAsBJ,GACtHA,GAASD,EAAOO,GAAKP,EAAOO,OAAUP,EAAOO,GAAGC,IAAMR,EAAOO,GAAGC,QAAWR,EAAOO,GAAGC,IAAIC,UAAYT,EAAOO,GAAGC,IAAIC,eAAiBT,EAAOO,GAAGG,KAAKV,EAAOW,GAAGX,EAAOO,GAAGC,IAAII,OAC3KC,KAAM,SAAWX,EAAQY,EAAcC,EAAaC,GAAqB,YAM3E,IAAIC,GAA8B,WAC9B,QAASA,MAgBT,MAVAA,GAA2BC,UAAUC,OAAS,SAAUC,GACpD,MAAmC,mBAArBC,kBAAmC,KAAO,GAAIA,kBAAiBD,IAEjFH,EAA2BK,aACrBC,KAAMT,EAAcU,aAK1BP,EAA2BQ,eAAiB,WAAc,UACnDR,KAMPS,EAAkB,WAMlB,QAASA,GAAeC,EAA0BC,EAAaC,GAC3DhB,KAAKc,yBAA2BA,EAChCd,KAAKe,YAAcA,EACnBf,KAAKgB,QAAUA,EAIfhB,KAAKiB,MAAQ,GAAIhB,GAAciB,aAI/BlB,KAAKmB,WAAa,GAAIjB,GAAakB,QAyDvC,MApDAP,GAAeR,UAAUgB,mBAAqB,WAC1C,GAAIC,GAAQtB,IACRA,MAAKuB,SAAW,EAChBvB,KAAKgB,QAAQQ,kBAAkB,WAC3BrB,EAAkBsB,QAAQC,KAAKJ,EAAMH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