@covalent/core 2.0.0-rc.2 → 2.1.0

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 (296) hide show
  1. package/breadcrumbs/_breadcrumbs-theme.scss +1 -2
  2. package/breadcrumbs/breadcrumb/breadcrumb.component.scss +22 -0
  3. package/breadcrumbs/breadcrumbs.component.scss +7 -0
  4. package/breadcrumbs/covalent-core-breadcrumbs.metadata.json +1 -1
  5. package/bundles/covalent-core-breadcrumbs.umd.js +1 -1
  6. package/bundles/covalent-core-breadcrumbs.umd.min.js +1 -1
  7. package/bundles/covalent-core-breadcrumbs.umd.min.js.map +1 -1
  8. package/bundles/covalent-core-chips.umd.js +6 -6
  9. package/bundles/covalent-core-chips.umd.js.map +1 -1
  10. package/bundles/covalent-core-chips.umd.min.js +1 -1
  11. package/bundles/covalent-core-chips.umd.min.js.map +1 -1
  12. package/bundles/covalent-core-common.umd.js +251 -84
  13. package/bundles/covalent-core-common.umd.js.map +1 -1
  14. package/bundles/covalent-core-common.umd.min.js +1 -1
  15. package/bundles/covalent-core-common.umd.min.js.map +1 -1
  16. package/bundles/covalent-core-data-table.umd.js +9 -9
  17. package/bundles/covalent-core-data-table.umd.js.map +1 -1
  18. package/bundles/covalent-core-data-table.umd.min.js +1 -1
  19. package/bundles/covalent-core-data-table.umd.min.js.map +1 -1
  20. package/bundles/covalent-core-dialogs.umd.js +3 -20
  21. package/bundles/covalent-core-dialogs.umd.js.map +1 -1
  22. package/bundles/covalent-core-dialogs.umd.min.js +1 -1
  23. package/bundles/covalent-core-dialogs.umd.min.js.map +1 -1
  24. package/bundles/covalent-core-expansion-panel.umd.js +1 -1
  25. package/bundles/covalent-core-expansion-panel.umd.min.js +1 -1
  26. package/bundles/covalent-core-expansion-panel.umd.min.js.map +1 -1
  27. package/bundles/covalent-core-file.umd.min.js +1 -1
  28. package/bundles/covalent-core-file.umd.min.js.map +1 -1
  29. package/bundles/covalent-core-json-formatter.umd.js +1 -1
  30. package/bundles/covalent-core-json-formatter.umd.min.js +1 -1
  31. package/bundles/covalent-core-json-formatter.umd.min.js.map +1 -1
  32. package/bundles/covalent-core-layout.umd.js +8 -7
  33. package/bundles/covalent-core-layout.umd.js.map +1 -1
  34. package/bundles/covalent-core-layout.umd.min.js +1 -1
  35. package/bundles/covalent-core-layout.umd.min.js.map +1 -1
  36. package/bundles/covalent-core-loading.umd.js +1 -1
  37. package/bundles/covalent-core-loading.umd.min.js +1 -1
  38. package/bundles/covalent-core-loading.umd.min.js.map +1 -1
  39. package/bundles/covalent-core-media.umd.min.js +1 -1
  40. package/bundles/covalent-core-media.umd.min.js.map +1 -1
  41. package/bundles/covalent-core-menu.umd.js +1 -1
  42. package/bundles/covalent-core-menu.umd.min.js +1 -1
  43. package/bundles/covalent-core-menu.umd.min.js.map +1 -1
  44. package/bundles/covalent-core-message.umd.js +1 -1
  45. package/bundles/covalent-core-message.umd.min.js +1 -1
  46. package/bundles/covalent-core-message.umd.min.js.map +1 -1
  47. package/bundles/covalent-core-notifications.umd.min.js +1 -1
  48. package/bundles/covalent-core-notifications.umd.min.js.map +1 -1
  49. package/bundles/covalent-core-paging.umd.js +1 -1
  50. package/bundles/covalent-core-paging.umd.min.js +1 -1
  51. package/bundles/covalent-core-paging.umd.min.js.map +1 -1
  52. package/bundles/covalent-core-search.umd.js +5 -4
  53. package/bundles/covalent-core-search.umd.js.map +1 -1
  54. package/bundles/covalent-core-search.umd.min.js +1 -1
  55. package/bundles/covalent-core-search.umd.min.js.map +1 -1
  56. package/bundles/covalent-core-sidesheet.umd.js +137 -0
  57. package/bundles/covalent-core-sidesheet.umd.js.map +1 -0
  58. package/bundles/covalent-core-sidesheet.umd.min.js +2 -0
  59. package/bundles/covalent-core-sidesheet.umd.min.js.map +1 -0
  60. package/bundles/covalent-core-steps.umd.js +5 -5
  61. package/bundles/covalent-core-steps.umd.min.js +1 -1
  62. package/bundles/covalent-core-steps.umd.min.js.map +1 -1
  63. package/bundles/covalent-core-tab-select.umd.js +3 -2
  64. package/bundles/covalent-core-tab-select.umd.js.map +1 -1
  65. package/bundles/covalent-core-tab-select.umd.min.js +1 -1
  66. package/bundles/covalent-core-tab-select.umd.min.js.map +1 -1
  67. package/bundles/covalent-core-virtual-scroll.umd.min.js +1 -1
  68. package/bundles/covalent-core-virtual-scroll.umd.min.js.map +1 -1
  69. package/bundles/covalent-core.umd.js +223 -82
  70. package/bundles/covalent-core.umd.js.map +1 -1
  71. package/bundles/covalent-core.umd.min.js +1 -1
  72. package/bundles/covalent-core.umd.min.js.map +1 -1
  73. package/chips/chips.component.scss +143 -0
  74. package/chips/covalent-core-chips.metadata.json +1 -1
  75. package/common/covalent-core-common.d.ts +4 -3
  76. package/common/covalent-core-common.metadata.json +1 -1
  77. package/common/directives/fullscreen/fullscreen.directive.d.ts +22 -0
  78. package/common/material-icons.css.map +1 -1
  79. package/common/platform.css +10 -10
  80. package/common/platform.css.map +1 -1
  81. package/common/styles/_layout.scss +1 -1
  82. package/covalent-core.d.ts +8 -7
  83. package/covalent-core.metadata.json +1 -1
  84. package/data-table/README.md +2 -2
  85. package/data-table/covalent-core-data-table.metadata.json +1 -1
  86. package/data-table/data-table-cell/data-table-cell.component.scss +57 -0
  87. package/data-table/data-table-column/data-table-column.component.scss +78 -0
  88. package/data-table/data-table-row/data-table-row.component.scss +12 -0
  89. package/data-table/data-table-table/data-table-table.component.scss +7 -0
  90. package/data-table/data-table.component.scss +77 -0
  91. package/dialogs/alert-dialog/alert-dialog.component.scss +3 -0
  92. package/dialogs/confirm-dialog/confirm-dialog.component.scss +3 -0
  93. package/dialogs/covalent-core-dialogs.metadata.json +1 -1
  94. package/dialogs/dialog.component.scss +43 -0
  95. package/dialogs/prompt-dialog/prompt-dialog.component.scss +15 -0
  96. package/dialogs/services/dialog.service.d.ts +0 -3
  97. package/esm2015/breadcrumbs/breadcrumb/breadcrumb.component.js +1 -1
  98. package/esm2015/chips/chips.component.js +3 -3
  99. package/esm2015/common/common.module.js +8 -26
  100. package/esm2015/common/covalent-core-common.js +5 -4
  101. package/esm2015/common/directives/fullscreen/fullscreen.directive.js +136 -0
  102. package/esm2015/covalent-core.js +10 -9
  103. package/esm2015/data-table/data-table-cell/data-table-cell.component.js +1 -1
  104. package/esm2015/data-table/data-table-column/data-table-column.component.js +1 -1
  105. package/esm2015/data-table/data-table.component.js +5 -4
  106. package/esm2015/dialogs/covalent-core-dialogs.js +2 -2
  107. package/esm2015/dialogs/dialog.component.js +1 -1
  108. package/esm2015/dialogs/dialogs.module.js +3 -3
  109. package/esm2015/dialogs/index.js +2 -2
  110. package/esm2015/dialogs/prompt-dialog/prompt-dialog.component.js +1 -1
  111. package/esm2015/dialogs/public-api.js +2 -2
  112. package/esm2015/dialogs/services/dialog.service.js +2 -17
  113. package/esm2015/expansion-panel/expansion-panel.component.js +1 -1
  114. package/esm2015/index.js +2 -2
  115. package/esm2015/json-formatter/json-formatter.component.js +1 -1
  116. package/esm2015/layout/layout-card-over/layout-card-over.component.js +1 -1
  117. package/esm2015/layout/layout-manage-list/layout-manage-list.component.js +1 -1
  118. package/esm2015/layout/layout-nav/layout-nav.component.js +1 -1
  119. package/esm2015/layout/layout-nav-list/layout-nav-list.component.js +1 -1
  120. package/esm2015/layout/layout.component.js +1 -1
  121. package/esm2015/layout/navigation-drawer/navigation-drawer.component.js +12 -3
  122. package/esm2015/loading/loading.component.js +1 -1
  123. package/esm2015/menu/menu.component.js +1 -1
  124. package/esm2015/message/message.component.js +1 -1
  125. package/esm2015/paging/paging-bar.component.js +1 -1
  126. package/esm2015/public_api.js +2 -2
  127. package/esm2015/search/search-box/search-box.component.js +3 -3
  128. package/esm2015/search/search-input/search-input.component.js +10 -3
  129. package/esm2015/sidesheet/covalent-core-sidesheet.js +9 -0
  130. package/esm2015/sidesheet/index.js +6 -0
  131. package/esm2015/sidesheet/public-api.js +7 -0
  132. package/esm2015/sidesheet/sidesheet.component.js +70 -0
  133. package/esm2015/sidesheet/sidesheet.module.js +33 -0
  134. package/esm2015/steps/nav/nav-step-link/nav-step-link.component.js +1 -1
  135. package/esm2015/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.js +1 -1
  136. package/esm2015/steps/step-body/step-body.component.js +1 -1
  137. package/esm2015/steps/step-header/step-header.component.js +1 -1
  138. package/esm2015/steps/steps.component.js +1 -1
  139. package/esm2015/tab-select/tab-select.component.js +4 -3
  140. package/esm5/breadcrumbs/breadcrumb/breadcrumb.component.js +1 -1
  141. package/esm5/chips/chips.component.js +3 -3
  142. package/esm5/common/common.module.js +8 -26
  143. package/esm5/common/covalent-core-common.js +5 -4
  144. package/esm5/common/directives/fullscreen/fullscreen.directive.js +184 -0
  145. package/esm5/covalent-core.js +10 -9
  146. package/esm5/data-table/data-table-cell/data-table-cell.component.js +1 -1
  147. package/esm5/data-table/data-table-column/data-table-column.component.js +1 -1
  148. package/esm5/data-table/data-table.component.js +5 -4
  149. package/esm5/dialogs/covalent-core-dialogs.js +2 -2
  150. package/esm5/dialogs/dialog.component.js +1 -1
  151. package/esm5/dialogs/dialogs.module.js +3 -3
  152. package/esm5/dialogs/index.js +2 -2
  153. package/esm5/dialogs/prompt-dialog/prompt-dialog.component.js +1 -1
  154. package/esm5/dialogs/public-api.js +2 -2
  155. package/esm5/dialogs/services/dialog.service.js +2 -17
  156. package/esm5/expansion-panel/expansion-panel.component.js +1 -1
  157. package/esm5/index.js +2 -2
  158. package/esm5/json-formatter/json-formatter.component.js +1 -1
  159. package/esm5/layout/layout-card-over/layout-card-over.component.js +1 -1
  160. package/esm5/layout/layout-manage-list/layout-manage-list.component.js +1 -1
  161. package/esm5/layout/layout-nav/layout-nav.component.js +1 -1
  162. package/esm5/layout/layout-nav-list/layout-nav-list.component.js +1 -1
  163. package/esm5/layout/layout.component.js +1 -1
  164. package/esm5/layout/navigation-drawer/navigation-drawer.component.js +12 -3
  165. package/esm5/loading/loading.component.js +1 -1
  166. package/esm5/menu/menu.component.js +1 -1
  167. package/esm5/message/message.component.js +1 -1
  168. package/esm5/paging/paging-bar.component.js +1 -1
  169. package/esm5/public_api.js +2 -2
  170. package/esm5/search/search-box/search-box.component.js +3 -3
  171. package/esm5/search/search-input/search-input.component.js +10 -3
  172. package/esm5/sidesheet/covalent-core-sidesheet.js +9 -0
  173. package/esm5/sidesheet/index.js +6 -0
  174. package/esm5/sidesheet/public-api.js +7 -0
  175. package/esm5/sidesheet/sidesheet.component.js +88 -0
  176. package/esm5/sidesheet/sidesheet.module.js +37 -0
  177. package/esm5/steps/nav/nav-step-link/nav-step-link.component.js +1 -1
  178. package/esm5/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.js +1 -1
  179. package/esm5/steps/step-body/step-body.component.js +1 -1
  180. package/esm5/steps/step-header/step-header.component.js +1 -1
  181. package/esm5/steps/steps.component.js +1 -1
  182. package/esm5/tab-select/tab-select.component.js +4 -3
  183. package/expansion-panel/covalent-core-expansion-panel.metadata.json +1 -1
  184. package/expansion-panel/expansion-panel-group.component.scss +0 -0
  185. package/expansion-panel/expansion-panel.component.scss +50 -0
  186. package/fesm2015/covalent-core-breadcrumbs.js +1 -1
  187. package/fesm2015/covalent-core-chips.js +2 -3
  188. package/fesm2015/covalent-core-chips.js.map +1 -1
  189. package/fesm2015/covalent-core-common.js +114 -26
  190. package/fesm2015/covalent-core-common.js.map +1 -1
  191. package/fesm2015/covalent-core-data-table.js +6 -6
  192. package/fesm2015/covalent-core-data-table.js.map +1 -1
  193. package/fesm2015/covalent-core-dialogs.js +5 -20
  194. package/fesm2015/covalent-core-dialogs.js.map +1 -1
  195. package/fesm2015/covalent-core-expansion-panel.js +1 -1
  196. package/fesm2015/covalent-core-json-formatter.js +1 -1
  197. package/fesm2015/covalent-core-layout.js +8 -7
  198. package/fesm2015/covalent-core-layout.js.map +1 -1
  199. package/fesm2015/covalent-core-loading.js +1 -1
  200. package/fesm2015/covalent-core-menu.js +1 -1
  201. package/fesm2015/covalent-core-message.js +1 -1
  202. package/fesm2015/covalent-core-paging.js +1 -1
  203. package/fesm2015/covalent-core-search.js +5 -4
  204. package/fesm2015/covalent-core-search.js.map +1 -1
  205. package/fesm2015/covalent-core-sidesheet.js +110 -0
  206. package/fesm2015/covalent-core-sidesheet.js.map +1 -0
  207. package/fesm2015/covalent-core-steps.js +5 -5
  208. package/fesm2015/covalent-core-tab-select.js +3 -2
  209. package/fesm2015/covalent-core-tab-select.js.map +1 -1
  210. package/fesm2015/covalent-core.js +151 -75
  211. package/fesm2015/covalent-core.js.map +1 -1
  212. package/fesm5/covalent-core-breadcrumbs.js +1 -1
  213. package/fesm5/covalent-core-chips.js +2 -3
  214. package/fesm5/covalent-core-chips.js.map +1 -1
  215. package/fesm5/covalent-core-common.js +161 -27
  216. package/fesm5/covalent-core-common.js.map +1 -1
  217. package/fesm5/covalent-core-data-table.js +6 -6
  218. package/fesm5/covalent-core-data-table.js.map +1 -1
  219. package/fesm5/covalent-core-dialogs.js +5 -20
  220. package/fesm5/covalent-core-dialogs.js.map +1 -1
  221. package/fesm5/covalent-core-expansion-panel.js +1 -1
  222. package/fesm5/covalent-core-json-formatter.js +1 -1
  223. package/fesm5/covalent-core-layout.js +8 -7
  224. package/fesm5/covalent-core-layout.js.map +1 -1
  225. package/fesm5/covalent-core-loading.js +1 -1
  226. package/fesm5/covalent-core-menu.js +1 -1
  227. package/fesm5/covalent-core-message.js +1 -1
  228. package/fesm5/covalent-core-paging.js +1 -1
  229. package/fesm5/covalent-core-search.js +5 -4
  230. package/fesm5/covalent-core-search.js.map +1 -1
  231. package/fesm5/covalent-core-sidesheet.js +126 -0
  232. package/fesm5/covalent-core-sidesheet.js.map +1 -0
  233. package/fesm5/covalent-core-steps.js +5 -5
  234. package/fesm5/covalent-core-tab-select.js +3 -2
  235. package/fesm5/covalent-core-tab-select.js.map +1 -1
  236. package/fesm5/covalent-core.js +198 -76
  237. package/fesm5/covalent-core.js.map +1 -1
  238. package/file/file-input/file-input.component.scss +19 -0
  239. package/file/file-upload/file-upload.component.scss +29 -0
  240. package/json-formatter/covalent-core-json-formatter.metadata.json +1 -1
  241. package/json-formatter/json-formatter.component.scss +61 -0
  242. package/layout/README.md +5 -2
  243. package/layout/covalent-core-layout.metadata.json +1 -1
  244. package/layout/layout-card-over/layout-card-over.component.scss +42 -0
  245. package/layout/layout-footer/layout-footer.component.scss +4 -0
  246. package/layout/layout-manage-list/layout-manage-list.component.scss +77 -0
  247. package/layout/layout-nav/layout-nav.component.scss +50 -0
  248. package/layout/layout-nav-list/layout-nav-list.component.scss +109 -0
  249. package/layout/layout.component.scss +20 -0
  250. package/layout/navigation-drawer/navigation-drawer.component.d.ts +7 -0
  251. package/layout/navigation-drawer/navigation-drawer.component.scss +57 -0
  252. package/loading/covalent-core-loading.metadata.json +1 -1
  253. package/loading/loading.component.scss +42 -0
  254. package/menu/covalent-core-menu.metadata.json +1 -1
  255. package/menu/menu.component.scss +43 -0
  256. package/message/covalent-core-message.metadata.json +1 -1
  257. package/message/message.component.scss +29 -0
  258. package/notifications/notification-count.component.scss +89 -0
  259. package/package.json +1 -1
  260. package/paging/covalent-core-paging.metadata.json +1 -1
  261. package/paging/paging-bar.component.scss +23 -0
  262. package/search/covalent-core-search.metadata.json +1 -1
  263. package/search/search-box/search-box.component.scss +32 -0
  264. package/search/search-input/README.md +5 -2
  265. package/search/search-input/search-input.component.d.ts +6 -0
  266. package/search/search-input/search-input.component.scss +63 -0
  267. package/sidesheet/README.md +68 -0
  268. package/sidesheet/covalent-core-sidesheet.d.ts +4 -0
  269. package/sidesheet/covalent-core-sidesheet.metadata.json +1 -0
  270. package/sidesheet/index.d.ts +1 -0
  271. package/sidesheet/package.json +13 -0
  272. package/sidesheet/public-api.d.ts +2 -0
  273. package/sidesheet/sidesheet.component.d.ts +13 -0
  274. package/sidesheet/sidesheet.component.scss +96 -0
  275. package/sidesheet/sidesheet.module.d.ts +2 -0
  276. package/steps/covalent-core-steps.metadata.json +1 -1
  277. package/steps/nav/nav-step-link/nav-step-link.component.scss +17 -0
  278. package/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.scss +81 -0
  279. package/steps/nav/nav-steps-vertical/nav-steps-vertical.component.scss +18 -0
  280. package/steps/step-body/step-body.component.scss +29 -0
  281. package/steps/step-header/step-header.component.scss +90 -0
  282. package/steps/steps.component.scss +53 -0
  283. package/tab-select/covalent-core-tab-select.metadata.json +1 -1
  284. package/tab-select/tab-option.component.scss +0 -0
  285. package/tab-select/tab-select.component.scss +3 -0
  286. package/theming/prebuilt/blue-grey-deep-orange.css +92 -87
  287. package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
  288. package/theming/prebuilt/blue-orange.css +92 -87
  289. package/theming/prebuilt/blue-orange.css.map +1 -1
  290. package/theming/prebuilt/indigo-pink.css +92 -87
  291. package/theming/prebuilt/indigo-pink.css.map +1 -1
  292. package/theming/prebuilt/orange-light-blue.css +92 -87
  293. package/theming/prebuilt/orange-light-blue.css.map +1 -1
  294. package/theming/prebuilt/teal-orange.css +92 -87
  295. package/theming/prebuilt/teal-orange.css.map +1 -1
  296. package/virtual-scroll/virtual-scroll-container.component.scss +7 -0
@@ -47,6 +47,248 @@
47
47
  return TdAutoTrimDirective;
48
48
  }());
49
49
 
50
+ /*! *****************************************************************************
51
+ Copyright (c) Microsoft Corporation. All rights reserved.
52
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
53
+ this file except in compliance with the License. You may obtain a copy of the
54
+ License at http://www.apache.org/licenses/LICENSE-2.0
55
+
56
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
57
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
58
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
59
+ MERCHANTABLITY OR NON-INFRINGEMENT.
60
+
61
+ See the Apache Version 2.0 License for specific language governing permissions
62
+ and limitations under the License.
63
+ ***************************************************************************** */
64
+ /* global Reflect, Promise */
65
+ var extendStatics = function (d, b) {
66
+ extendStatics = Object.setPrototypeOf ||
67
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
68
+ function (d, b) { for (var p in b)
69
+ if (b.hasOwnProperty(p))
70
+ d[p] = b[p]; };
71
+ return extendStatics(d, b);
72
+ };
73
+ function __extends(d, b) {
74
+ extendStatics(d, b);
75
+ function __() { this.constructor = d; }
76
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
77
+ }
78
+ function __values(o) {
79
+ var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0;
80
+ if (m)
81
+ return m.call(o);
82
+ return {
83
+ next: function () {
84
+ if (o && i >= o.length)
85
+ o = void 0;
86
+ return { value: o && o[i++], done: !o };
87
+ }
88
+ };
89
+ }
90
+ function __read(o, n) {
91
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
92
+ if (!m)
93
+ return o;
94
+ var i = m.call(o), r, ar = [], e;
95
+ try {
96
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
97
+ ar.push(r.value);
98
+ }
99
+ catch (error) {
100
+ e = { error: error };
101
+ }
102
+ finally {
103
+ try {
104
+ if (r && !r.done && (m = i["return"]))
105
+ m.call(i);
106
+ }
107
+ finally {
108
+ if (e)
109
+ throw e.error;
110
+ }
111
+ }
112
+ return ar;
113
+ }
114
+ function __spread() {
115
+ for (var ar = [], i = 0; i < arguments.length; i++)
116
+ ar = ar.concat(__read(arguments[i]));
117
+ return ar;
118
+ }
119
+
120
+ /**
121
+ * @fileoverview added by tsickle
122
+ * @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
123
+ */
124
+ var TdFullscreenDirective = /** @class */ (function () {
125
+ function TdFullscreenDirective(_document, _el) {
126
+ this._document = _document;
127
+ this._el = _el;
128
+ this.fullScreenIsActive = false;
129
+ }
130
+ /**
131
+ * @param {?} event
132
+ * @return {?}
133
+ */
134
+ TdFullscreenDirective.prototype.fsChangeHandler = /**
135
+ * @param {?} event
136
+ * @return {?}
137
+ */
138
+ function (event) {
139
+ this.fullScreenIsActive = event.srcElement === this._getFullScreenElement();
140
+ };
141
+ /**
142
+ * @return {?}
143
+ */
144
+ TdFullscreenDirective.prototype.toggleFullScreen = /**
145
+ * @return {?}
146
+ */
147
+ function () {
148
+ this._getFullScreenElement() === this._el.nativeElement ? this.exitFullScreen() : this.enterFullScreen();
149
+ };
150
+ /**
151
+ * @return {?}
152
+ */
153
+ TdFullscreenDirective.prototype.enterFullScreen = /**
154
+ * @return {?}
155
+ */
156
+ function () {
157
+ var e_1, _a;
158
+ var nativeElement = this._el.nativeElement;
159
+ /** @type {?} */
160
+ var enterFullScreenMap = {
161
+ requestFullscreen: function () { return nativeElement.requestFullscreen(); },
162
+ // Chrome
163
+ webkitRequestFullscreen: function () { return nativeElement.webkitRequestFullscreen(); },
164
+ // Safari
165
+ mozRequestFullScreen: function () { return nativeElement.mozRequestFullScreen(); },
166
+ // Firefox
167
+ msRequestFullscreen: function () { return nativeElement.msRequestFullscreen(); },
168
+ };
169
+ try {
170
+ for (var _b = __values(Object.keys(enterFullScreenMap)), _c = _b.next(); !_c.done; _c = _b.next()) {
171
+ var handler = _c.value;
172
+ if (nativeElement[handler]) {
173
+ enterFullScreenMap[handler]();
174
+ }
175
+ }
176
+ }
177
+ catch (e_1_1) {
178
+ e_1 = { error: e_1_1 };
179
+ }
180
+ finally {
181
+ try {
182
+ if (_c && !_c.done && (_a = _b.return))
183
+ _a.call(_b);
184
+ }
185
+ finally {
186
+ if (e_1)
187
+ throw e_1.error;
188
+ }
189
+ }
190
+ };
191
+ /**
192
+ * @return {?}
193
+ */
194
+ TdFullscreenDirective.prototype.exitFullScreen = /**
195
+ * @return {?}
196
+ */
197
+ function () {
198
+ var e_2, _a;
199
+ var _b = this, _document = _b._document, nativeElement = _b._el.nativeElement;
200
+ /** @type {?} */
201
+ var exitFullScreenMap = {
202
+ exitFullscreen: function () { return _document.exitFullscreen(); },
203
+ // Chrome
204
+ webkitExitFullscreen: function () { return _document.webkitExitFullscreen(); },
205
+ // Safari
206
+ mozCancelFullScreen: function () { return _document.mozCancelFullScreen(); },
207
+ // Firefox
208
+ msExitFullscreen: function () { return _document.msExitFullscreen(); },
209
+ };
210
+ try {
211
+ for (var _c = __values(Object.keys(exitFullScreenMap)), _d = _c.next(); !_d.done; _d = _c.next()) {
212
+ var handler = _d.value;
213
+ if (_document[handler] && this._getFullScreenElement() === nativeElement) {
214
+ exitFullScreenMap[handler]();
215
+ }
216
+ }
217
+ }
218
+ catch (e_2_1) {
219
+ e_2 = { error: e_2_1 };
220
+ }
221
+ finally {
222
+ try {
223
+ if (_d && !_d.done && (_a = _c.return))
224
+ _a.call(_c);
225
+ }
226
+ finally {
227
+ if (e_2)
228
+ throw e_2.error;
229
+ }
230
+ }
231
+ };
232
+ /**
233
+ * @return {?}
234
+ */
235
+ TdFullscreenDirective.prototype._getFullScreenElement = /**
236
+ * @return {?}
237
+ */
238
+ function () {
239
+ var e_3, _a;
240
+ var _document = this._document;
241
+ /** @type {?} */
242
+ var tdFullScreenElementMap = {
243
+ fullscreenElement: function () { return _document.fullscreenElement; },
244
+ // Chrome, Opera
245
+ webkitFullscreenElement: function () { return _document.webkitFullscreenElement; },
246
+ // Safari
247
+ mozFullscreenElement: function () { return _document.mozFullscreenElement; },
248
+ // Firefox
249
+ msFullscreenElement: function () { return _document.msFullscreenElement; },
250
+ };
251
+ try {
252
+ for (var _b = __values(Object.keys(tdFullScreenElementMap)), _c = _b.next(); !_c.done; _c = _b.next()) {
253
+ var props = _c.value;
254
+ if (_document[props]) {
255
+ return _document[props];
256
+ }
257
+ }
258
+ }
259
+ catch (e_3_1) {
260
+ e_3 = { error: e_3_1 };
261
+ }
262
+ finally {
263
+ try {
264
+ if (_c && !_c.done && (_a = _b.return))
265
+ _a.call(_b);
266
+ }
267
+ finally {
268
+ if (e_3)
269
+ throw e_3.error;
270
+ }
271
+ }
272
+ };
273
+ TdFullscreenDirective.decorators = [
274
+ { type: core.Directive, args: [{
275
+ selector: '[tdFullScreen]',
276
+ exportAs: 'tdFullScreen',
277
+ },] }
278
+ ];
279
+ /** @nocollapse */
280
+ TdFullscreenDirective.ctorParameters = function () {
281
+ return [
282
+ { type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] },
283
+ { type: core.ElementRef }
284
+ ];
285
+ };
286
+ TdFullscreenDirective.propDecorators = {
287
+ fsChangeHandler: [{ type: core.HostListener, args: ['document:fullscreenchange', ['$event'],] }, { type: core.HostListener, args: ['document:webkitfullscreenchange', ['$event'],] }, { type: core.HostListener, args: ['document:mozfullscreenchange', ['$event'],] }, { type: core.HostListener, args: ['document:msfullscreenchange', ['$event'],] }]
288
+ };
289
+ return TdFullscreenDirective;
290
+ }());
291
+
50
292
  /**
51
293
  * @fileoverview added by tsickle
52
294
  * @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
@@ -1361,9 +1603,7 @@
1361
1603
  * @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
1362
1604
  */
1363
1605
  /** @type {?} */
1364
- var TD_FORMS = [
1365
- TdAutoTrimDirective,
1366
- ];
1606
+ var TD_DIRECTIVES = [TdAutoTrimDirective, TdFullscreenDirective];
1367
1607
  // Validators
1368
1608
  /** @type {?} */
1369
1609
  var TD_VALIDATORS = [];
@@ -1382,26 +1622,10 @@
1382
1622
  }
1383
1623
  CovalentCommonModule.decorators = [
1384
1624
  { type: core.NgModule, args: [{
1385
- imports: [
1386
- forms.FormsModule,
1387
- common.CommonModule,
1388
- ],
1389
- declarations: [
1390
- TD_FORMS,
1391
- TD_PIPES,
1392
- TD_VALIDATORS,
1393
- ],
1394
- exports: [
1395
- forms.FormsModule,
1396
- common.CommonModule,
1397
- TD_FORMS,
1398
- TD_PIPES,
1399
- TD_VALIDATORS,
1400
- ],
1401
- providers: [
1402
- RouterPathService,
1403
- IconService,
1404
- ],
1625
+ imports: [forms.FormsModule, common.CommonModule],
1626
+ declarations: [TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
1627
+ exports: [forms.FormsModule, common.CommonModule, TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
1628
+ providers: [RouterPathService, IconService],
1405
1629
  },] }
1406
1630
  ];
1407
1631
  return CovalentCommonModule;
@@ -1734,64 +1958,6 @@
1734
1958
  ], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
1735
1959
  ]);
1736
1960
 
1737
- /*! *****************************************************************************
1738
- Copyright (c) Microsoft Corporation. All rights reserved.
1739
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
1740
- this file except in compliance with the License. You may obtain a copy of the
1741
- License at http://www.apache.org/licenses/LICENSE-2.0
1742
-
1743
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1744
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
1745
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
1746
- MERCHANTABLITY OR NON-INFRINGEMENT.
1747
-
1748
- See the Apache Version 2.0 License for specific language governing permissions
1749
- and limitations under the License.
1750
- ***************************************************************************** */
1751
- /* global Reflect, Promise */
1752
- var extendStatics = function (d, b) {
1753
- extendStatics = Object.setPrototypeOf ||
1754
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
1755
- function (d, b) { for (var p in b)
1756
- if (b.hasOwnProperty(p))
1757
- d[p] = b[p]; };
1758
- return extendStatics(d, b);
1759
- };
1760
- function __extends(d, b) {
1761
- extendStatics(d, b);
1762
- function __() { this.constructor = d; }
1763
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1764
- }
1765
- function __read(o, n) {
1766
- var m = typeof Symbol === "function" && o[Symbol.iterator];
1767
- if (!m)
1768
- return o;
1769
- var i = m.call(o), r, ar = [], e;
1770
- try {
1771
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
1772
- ar.push(r.value);
1773
- }
1774
- catch (error) {
1775
- e = { error: error };
1776
- }
1777
- finally {
1778
- try {
1779
- if (r && !r.done && (m = i["return"]))
1780
- m.call(i);
1781
- }
1782
- finally {
1783
- if (e)
1784
- throw e.error;
1785
- }
1786
- }
1787
- return ar;
1788
- }
1789
- function __spread() {
1790
- for (var ar = [], i = 0; i < arguments.length; i++)
1791
- ar = ar.concat(__read(arguments[i]));
1792
- return ar;
1793
- }
1794
-
1795
1961
  /**
1796
1962
  * @fileoverview added by tsickle
1797
1963
  * @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
@@ -2097,9 +2263,10 @@
2097
2263
  exports.TdDigitsPipe = TdDigitsPipe;
2098
2264
  exports.TdTruncatePipe = TdTruncatePipe;
2099
2265
  exports.TdDecimalBytesPipe = TdDecimalBytesPipe;
2100
- exports.ɵa = TdTimeUntilPipe;
2101
- exports.ɵc = IconService;
2102
- exports.ɵb = RouterPathService;
2266
+ exports.ɵa = TdFullscreenDirective;
2267
+ exports.ɵb = TdTimeUntilPipe;
2268
+ exports.ɵd = IconService;
2269
+ exports.ɵc = RouterPathService;
2103
2270
 
2104
2271
  Object.defineProperty(exports, '__esModule', { value: true });
2105
2272