@covalent/core 3.1.0 → 3.1.2-beta.6

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 (639) hide show
  1. package/breadcrumbs/covalent-core-breadcrumbs.metadata.json +1 -1
  2. package/breadcrumbs/package.json +1 -3
  3. package/bundles/covalent-core-breadcrumbs.umd.js +131 -167
  4. package/bundles/covalent-core-breadcrumbs.umd.js.map +1 -1
  5. package/bundles/covalent-core-breadcrumbs.umd.min.js +1 -1
  6. package/bundles/covalent-core-breadcrumbs.umd.min.js.map +1 -1
  7. package/bundles/covalent-core-chips.umd.js +533 -708
  8. package/bundles/covalent-core-chips.umd.js.map +1 -1
  9. package/bundles/covalent-core-chips.umd.min.js +12 -12
  10. package/bundles/covalent-core-chips.umd.min.js.map +1 -1
  11. package/bundles/covalent-core-common.umd.js +566 -571
  12. package/bundles/covalent-core-common.umd.js.map +1 -1
  13. package/bundles/covalent-core-common.umd.min.js +13 -12
  14. package/bundles/covalent-core-common.umd.min.js.map +1 -1
  15. package/bundles/covalent-core-data-table.umd.js +727 -1038
  16. package/bundles/covalent-core-data-table.umd.js.map +1 -1
  17. package/bundles/covalent-core-data-table.umd.min.js +12 -12
  18. package/bundles/covalent-core-data-table.umd.min.js.map +1 -1
  19. package/bundles/covalent-core-dialogs.umd.js +515 -592
  20. package/bundles/covalent-core-dialogs.umd.js.map +1 -1
  21. package/bundles/covalent-core-dialogs.umd.min.js +1 -15
  22. package/bundles/covalent-core-dialogs.umd.min.js.map +1 -1
  23. package/bundles/covalent-core-dynamic-menu.umd.js +73 -62
  24. package/bundles/covalent-core-dynamic-menu.umd.js.map +1 -1
  25. package/bundles/covalent-core-dynamic-menu.umd.min.js +1 -1
  26. package/bundles/covalent-core-dynamic-menu.umd.min.js.map +1 -1
  27. package/bundles/covalent-core-expansion-panel.umd.js +465 -449
  28. package/bundles/covalent-core-expansion-panel.umd.js.map +1 -1
  29. package/bundles/covalent-core-expansion-panel.umd.min.js +12 -12
  30. package/bundles/covalent-core-expansion-panel.umd.min.js.map +1 -1
  31. package/bundles/covalent-core-file.umd.js +533 -598
  32. package/bundles/covalent-core-file.umd.js.map +1 -1
  33. package/bundles/covalent-core-file.umd.min.js +13 -12
  34. package/bundles/covalent-core-file.umd.min.js.map +1 -1
  35. package/bundles/covalent-core-json-formatter.umd.js +101 -152
  36. package/bundles/covalent-core-json-formatter.umd.js.map +1 -1
  37. package/bundles/covalent-core-json-formatter.umd.min.js +1 -1
  38. package/bundles/covalent-core-json-formatter.umd.min.js.map +1 -1
  39. package/bundles/covalent-core-layout.umd.js +845 -883
  40. package/bundles/covalent-core-layout.umd.js.map +1 -1
  41. package/bundles/covalent-core-layout.umd.min.js +13 -12
  42. package/bundles/covalent-core-layout.umd.min.js.map +1 -1
  43. package/bundles/covalent-core-loading.umd.js +481 -723
  44. package/bundles/covalent-core-loading.umd.js.map +1 -1
  45. package/bundles/covalent-core-loading.umd.min.js +12 -12
  46. package/bundles/covalent-core-loading.umd.min.js.map +1 -1
  47. package/bundles/covalent-core-media.umd.js +395 -375
  48. package/bundles/covalent-core-media.umd.js.map +1 -1
  49. package/bundles/covalent-core-media.umd.min.js +12 -12
  50. package/bundles/covalent-core-media.umd.min.js.map +1 -1
  51. package/bundles/covalent-core-menu.umd.js +37 -17
  52. package/bundles/covalent-core-menu.umd.js.map +1 -1
  53. package/bundles/covalent-core-menu.umd.min.js +1 -1
  54. package/bundles/covalent-core-menu.umd.min.js.map +1 -1
  55. package/bundles/covalent-core-message.umd.js +96 -152
  56. package/bundles/covalent-core-message.umd.js.map +1 -1
  57. package/bundles/covalent-core-message.umd.min.js +1 -1
  58. package/bundles/covalent-core-message.umd.min.js.map +1 -1
  59. package/bundles/covalent-core-nav-links.umd.js +63 -75
  60. package/bundles/covalent-core-nav-links.umd.js.map +1 -1
  61. package/bundles/covalent-core-nav-links.umd.min.js +1 -1
  62. package/bundles/covalent-core-nav-links.umd.min.js.map +1 -1
  63. package/bundles/covalent-core-notifications.umd.js +77 -101
  64. package/bundles/covalent-core-notifications.umd.js.map +1 -1
  65. package/bundles/covalent-core-notifications.umd.min.js +1 -1
  66. package/bundles/covalent-core-notifications.umd.min.js.map +1 -1
  67. package/bundles/covalent-core-paging.umd.js +89 -166
  68. package/bundles/covalent-core-paging.umd.js.map +1 -1
  69. package/bundles/covalent-core-paging.umd.min.js +1 -1
  70. package/bundles/covalent-core-paging.umd.min.js.map +1 -1
  71. package/bundles/covalent-core-search.umd.js +469 -418
  72. package/bundles/covalent-core-search.umd.js.map +1 -1
  73. package/bundles/covalent-core-search.umd.min.js +12 -12
  74. package/bundles/covalent-core-search.umd.min.js.map +1 -1
  75. package/bundles/covalent-core-sidesheet.umd.js +72 -52
  76. package/bundles/covalent-core-sidesheet.umd.js.map +1 -1
  77. package/bundles/covalent-core-sidesheet.umd.min.js +1 -1
  78. package/bundles/covalent-core-sidesheet.umd.min.js.map +1 -1
  79. package/bundles/covalent-core-steps.umd.js +663 -822
  80. package/bundles/covalent-core-steps.umd.js.map +1 -1
  81. package/bundles/covalent-core-steps.umd.min.js +12 -12
  82. package/bundles/covalent-core-steps.umd.min.js.map +1 -1
  83. package/bundles/covalent-core-tab-select.umd.js +446 -385
  84. package/bundles/covalent-core-tab-select.umd.js.map +1 -1
  85. package/bundles/covalent-core-tab-select.umd.min.js +12 -12
  86. package/bundles/covalent-core-tab-select.umd.min.js.map +1 -1
  87. package/bundles/covalent-core-user-profile.umd.js +65 -48
  88. package/bundles/covalent-core-user-profile.umd.js.map +1 -1
  89. package/bundles/covalent-core-user-profile.umd.min.js +1 -1
  90. package/bundles/covalent-core-user-profile.umd.min.js.map +1 -1
  91. package/bundles/covalent-core-virtual-scroll.umd.js +412 -356
  92. package/bundles/covalent-core-virtual-scroll.umd.js.map +1 -1
  93. package/bundles/covalent-core-virtual-scroll.umd.min.js +12 -12
  94. package/bundles/covalent-core-virtual-scroll.umd.min.js.map +1 -1
  95. package/bundles/covalent-core.umd.js +0 -8
  96. package/bundles/covalent-core.umd.js.map +1 -1
  97. package/chips/covalent-core-chips.metadata.json +1 -1
  98. package/chips/package.json +1 -3
  99. package/common/_common-theme.scss +11 -0
  100. package/common/package.json +1 -3
  101. package/data-table/covalent-core-data-table.metadata.json +1 -1
  102. package/data-table/package.json +1 -3
  103. package/dialogs/_dialog-theme.scss +6 -0
  104. package/dialogs/covalent-core-dialogs.metadata.json +1 -1
  105. package/dialogs/package.json +1 -3
  106. package/dialogs/window-dialog/window-dialog.component.scss +4 -0
  107. package/dynamic-menu/covalent-core-dynamic-menu.metadata.json +1 -1
  108. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.scss +0 -4
  109. package/dynamic-menu/package.json +1 -3
  110. package/esm2015/breadcrumbs/breadcrumb/breadcrumb.component.js +4 -3
  111. package/esm2015/breadcrumbs/breadcrumbs.component.js +3 -2
  112. package/esm2015/breadcrumbs/breadcrumbs.module.js +3 -2
  113. package/esm2015/breadcrumbs/covalent-core-breadcrumbs.js +3 -2
  114. package/esm2015/breadcrumbs/index.js +3 -2
  115. package/esm2015/breadcrumbs/public-api.js +3 -2
  116. package/esm2015/chips/chips.component.js +4 -3
  117. package/esm2015/chips/chips.module.js +3 -2
  118. package/esm2015/chips/covalent-core-chips.js +3 -2
  119. package/esm2015/chips/index.js +3 -2
  120. package/esm2015/chips/public-api.js +3 -2
  121. package/esm2015/common/animations/bounce/bounce.animation.js +3 -2
  122. package/esm2015/common/animations/collapse/collapse.animation.js +3 -2
  123. package/esm2015/common/animations/common/interfaces.js +3 -2
  124. package/esm2015/common/animations/fade/fadeInOut.animation.js +3 -2
  125. package/esm2015/common/animations/flash/flash.animation.js +3 -2
  126. package/esm2015/common/animations/headshake/headshake.animation.js +3 -2
  127. package/esm2015/common/animations/jello/jello.animation.js +3 -2
  128. package/esm2015/common/animations/pulse/pulse.animation.js +3 -2
  129. package/esm2015/common/animations/rotate/rotate.animation.js +3 -2
  130. package/esm2015/common/behaviors/control-value-accesor.mixin.js +3 -2
  131. package/esm2015/common/behaviors/disable-ripple.mixin.js +3 -2
  132. package/esm2015/common/behaviors/disabled.mixin.js +3 -2
  133. package/esm2015/common/common.module.js +3 -2
  134. package/esm2015/common/covalent-core-common.js +3 -2
  135. package/esm2015/common/directives/fullscreen/fullscreen.directive.js +3 -2
  136. package/esm2015/common/forms/auto-trim/auto-trim.directive.js +3 -2
  137. package/esm2015/common/forms/validators/validators.js +3 -2
  138. package/esm2015/common/functions/clipboard.js +3 -2
  139. package/esm2015/common/functions/convert.js +3 -2
  140. package/esm2015/common/functions/download.js +3 -2
  141. package/esm2015/common/functions/file.js +3 -2
  142. package/esm2015/common/index.js +3 -2
  143. package/esm2015/common/pipes/bytes/bytes.pipe.js +3 -2
  144. package/esm2015/common/pipes/decimal-bytes/decimal-bytes.pipe.js +3 -2
  145. package/esm2015/common/pipes/digits/digits.pipe.js +3 -2
  146. package/esm2015/common/pipes/time-ago/time-ago.pipe.js +3 -2
  147. package/esm2015/common/pipes/time-difference/time-difference.pipe.js +3 -2
  148. package/esm2015/common/pipes/time-until/time-until.pipe.js +3 -2
  149. package/esm2015/common/pipes/truncate/truncate.pipe.js +3 -2
  150. package/esm2015/common/public-api.js +3 -2
  151. package/esm2015/common/services/icon.service.js +3 -2
  152. package/esm2015/common/services/router-path.service.js +3 -2
  153. package/esm2015/covalent-core.js +3 -2
  154. package/esm2015/data-table/covalent-core-data-table.js +3 -2
  155. package/esm2015/data-table/data-table-cell/data-table-cell.component.js +4 -3
  156. package/esm2015/data-table/data-table-column/data-table-column.component.js +4 -3
  157. package/esm2015/data-table/data-table-row/data-table-row.component.js +3 -2
  158. package/esm2015/data-table/data-table-table/data-table-table.component.js +4 -3
  159. package/esm2015/data-table/data-table.component.js +6 -5
  160. package/esm2015/data-table/data-table.module.js +3 -2
  161. package/esm2015/data-table/directives/data-table-template.directive.js +3 -2
  162. package/esm2015/data-table/index.js +3 -2
  163. package/esm2015/data-table/public-api.js +3 -2
  164. package/esm2015/data-table/services/data-table.service.js +3 -2
  165. package/esm2015/dialogs/alert-dialog/alert-dialog.component.js +3 -2
  166. package/esm2015/dialogs/confirm-dialog/confirm-dialog.component.js +3 -2
  167. package/esm2015/dialogs/covalent-core-dialogs.js +3 -2
  168. package/esm2015/dialogs/dialog.component.js +4 -3
  169. package/esm2015/dialogs/dialogs.module.js +3 -2
  170. package/esm2015/dialogs/index.js +3 -2
  171. package/esm2015/dialogs/prompt-dialog/prompt-dialog.component.js +4 -3
  172. package/esm2015/dialogs/public-api.js +3 -2
  173. package/esm2015/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.js +14 -13
  174. package/esm2015/dialogs/services/dialog.service.js +3 -2
  175. package/esm2015/dialogs/window-dialog/window-dialog.component.js +4 -3
  176. package/esm2015/dynamic-menu/covalent-core-dynamic-menu.js +3 -2
  177. package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.js +5 -4
  178. package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.js +4 -3
  179. package/esm2015/dynamic-menu/dynamic-menu.component.js +3 -2
  180. package/esm2015/dynamic-menu/dynamic-menu.module.js +3 -2
  181. package/esm2015/dynamic-menu/index.js +3 -2
  182. package/esm2015/dynamic-menu/public_api.js +3 -2
  183. package/esm2015/expansion-panel/covalent-core-expansion-panel.js +3 -2
  184. package/esm2015/expansion-panel/expansion-panel-group.component.js +3 -2
  185. package/esm2015/expansion-panel/expansion-panel.component.js +4 -3
  186. package/esm2015/expansion-panel/expansion-panel.module.js +3 -2
  187. package/esm2015/expansion-panel/index.js +3 -2
  188. package/esm2015/expansion-panel/public-api.js +3 -2
  189. package/esm2015/file/covalent-core-file.js +3 -2
  190. package/esm2015/file/directives/file-drop.directive.js +3 -2
  191. package/esm2015/file/directives/file-select.directive.js +3 -2
  192. package/esm2015/file/file-input/file-input.component.js +3 -2
  193. package/esm2015/file/file-upload/file-upload.component.js +4 -3
  194. package/esm2015/file/file.module.js +3 -2
  195. package/esm2015/file/index.js +3 -2
  196. package/esm2015/file/public-api.js +3 -2
  197. package/esm2015/file/services/file.service.js +3 -2
  198. package/esm2015/index.js +4 -2
  199. package/esm2015/json-formatter/covalent-core-json-formatter.js +3 -2
  200. package/esm2015/json-formatter/index.js +3 -2
  201. package/esm2015/json-formatter/json-formatter.component.js +4 -3
  202. package/esm2015/json-formatter/json-formatter.module.js +3 -2
  203. package/esm2015/json-formatter/public-api.js +3 -2
  204. package/esm2015/layout/covalent-core-layout.js +4 -3
  205. package/esm2015/layout/index.js +4 -3
  206. package/esm2015/layout/layout-card-over/layout-card-over.component.js +4 -3
  207. package/esm2015/layout/layout-footer/layout-footer.component.js +3 -2
  208. package/esm2015/layout/layout-manage-list/layout-manage-list.component.js +4 -3
  209. package/esm2015/layout/layout-manage-list/layout-manage-list.directives.js +7 -6
  210. package/esm2015/layout/layout-nav/layout-nav.component.js +4 -3
  211. package/esm2015/layout/layout-nav-list/layout-nav-list.component.js +4 -3
  212. package/esm2015/layout/layout-nav-list/layout-nav-list.directives.js +7 -6
  213. package/esm2015/layout/layout-toggle.class.js +22 -12
  214. package/esm2015/layout/layout.component.js +4 -3
  215. package/esm2015/layout/layout.directives.js +7 -6
  216. package/esm2015/layout/layout.module.js +3 -2
  217. package/esm2015/layout/navigation-drawer/navigation-drawer.component.js +4 -3
  218. package/esm2015/layout/public-api.js +4 -3
  219. package/esm2015/loading/covalent-core-loading.js +3 -2
  220. package/esm2015/loading/directives/loading.directive.js +3 -2
  221. package/esm2015/loading/index.js +3 -2
  222. package/esm2015/loading/loading.component.js +13 -12
  223. package/esm2015/loading/loading.module.js +3 -2
  224. package/esm2015/loading/public-api.js +3 -2
  225. package/esm2015/loading/services/loading.factory.js +3 -2
  226. package/esm2015/loading/services/loading.service.js +3 -2
  227. package/esm2015/media/covalent-core-media.js +3 -2
  228. package/esm2015/media/directives/media-toggle.directive.js +3 -2
  229. package/esm2015/media/index.js +3 -2
  230. package/esm2015/media/media.module.js +3 -2
  231. package/esm2015/media/public-api.js +3 -2
  232. package/esm2015/media/services/media.service.js +3 -2
  233. package/esm2015/menu/covalent-core-menu.js +3 -2
  234. package/esm2015/menu/index.js +3 -2
  235. package/esm2015/menu/menu.component.js +4 -3
  236. package/esm2015/menu/menu.module.js +3 -2
  237. package/esm2015/menu/public-api.js +3 -2
  238. package/esm2015/message/covalent-core-message.js +3 -2
  239. package/esm2015/message/index.js +3 -2
  240. package/esm2015/message/message.component.js +4 -3
  241. package/esm2015/message/message.module.js +3 -2
  242. package/esm2015/message/public-api.js +3 -2
  243. package/esm2015/nav-links/covalent-core-nav-links.js +3 -2
  244. package/esm2015/nav-links/index.js +3 -2
  245. package/esm2015/nav-links/nav-links.component.js +3 -2
  246. package/esm2015/nav-links/nav-links.module.js +3 -2
  247. package/esm2015/nav-links/public-api.js +3 -2
  248. package/esm2015/notifications/covalent-core-notifications.js +3 -2
  249. package/esm2015/notifications/index.js +3 -2
  250. package/esm2015/notifications/notification-count.component.js +10 -9
  251. package/esm2015/notifications/notifications.module.js +3 -2
  252. package/esm2015/notifications/public-api.js +3 -2
  253. package/esm2015/paging/covalent-core-paging.js +3 -2
  254. package/esm2015/paging/index.js +3 -2
  255. package/esm2015/paging/paging-bar.component.js +4 -3
  256. package/esm2015/paging/paging.module.js +3 -2
  257. package/esm2015/paging/public-api.js +3 -2
  258. package/esm2015/search/covalent-core-search.js +3 -2
  259. package/esm2015/search/index.js +3 -2
  260. package/esm2015/search/public-api.js +3 -2
  261. package/esm2015/search/search-box/search-box.component.js +4 -3
  262. package/esm2015/search/search-input/search-input.component.js +4 -3
  263. package/esm2015/search/search.module.js +3 -2
  264. package/esm2015/sidesheet/covalent-core-sidesheet.js +3 -2
  265. package/esm2015/sidesheet/index.js +3 -2
  266. package/esm2015/sidesheet/public-api.js +3 -2
  267. package/esm2015/sidesheet/sidesheet.component.js +4 -3
  268. package/esm2015/sidesheet/sidesheet.module.js +3 -2
  269. package/esm2015/steps/covalent-core-steps.js +3 -2
  270. package/esm2015/steps/index.js +3 -2
  271. package/esm2015/steps/nav/nav-step-link/nav-step-link.component.js +4 -3
  272. package/esm2015/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.js +4 -3
  273. package/esm2015/steps/nav/nav-steps-vertical/nav-steps-vertical.component.js +4 -3
  274. package/esm2015/steps/public-api.js +3 -2
  275. package/esm2015/steps/step-body/step-body.component.js +4 -3
  276. package/esm2015/steps/step-header/step-header.component.js +4 -3
  277. package/esm2015/steps/step.component.js +6 -5
  278. package/esm2015/steps/steps.component.js +6 -5
  279. package/esm2015/steps/steps.module.js +3 -2
  280. package/esm2015/tab-select/covalent-core-tab-select.js +3 -2
  281. package/esm2015/tab-select/index.js +3 -2
  282. package/esm2015/tab-select/public-api.js +3 -2
  283. package/esm2015/tab-select/tab-option.component.js +3 -2
  284. package/esm2015/tab-select/tab-select.component.js +3 -2
  285. package/esm2015/tab-select/tab-select.module.js +3 -2
  286. package/esm2015/user-profile/covalent-core-user-profile.js +3 -2
  287. package/esm2015/user-profile/index.js +3 -2
  288. package/esm2015/user-profile/public_api.js +3 -2
  289. package/esm2015/user-profile/user-profile-menu/user-profile-menu.component.js +4 -3
  290. package/esm2015/user-profile/user-profile.component.js +3 -2
  291. package/esm2015/user-profile/user-profile.module.js +3 -2
  292. package/esm2015/virtual-scroll/covalent-core-virtual-scroll.js +3 -2
  293. package/esm2015/virtual-scroll/index.js +3 -2
  294. package/esm2015/virtual-scroll/public-api.js +3 -2
  295. package/esm2015/virtual-scroll/virtual-scroll-container.component.js +4 -3
  296. package/esm2015/virtual-scroll/virtual-scroll-row.directive.js +3 -2
  297. package/esm2015/virtual-scroll/virtual-scroll.module.js +3 -2
  298. package/expansion-panel/covalent-core-expansion-panel.metadata.json +1 -1
  299. package/expansion-panel/package.json +1 -3
  300. package/fesm2015/covalent-core-breadcrumbs.js +13 -7
  301. package/fesm2015/covalent-core-breadcrumbs.js.map +1 -1
  302. package/fesm2015/covalent-core-chips.js +11 -6
  303. package/fesm2015/covalent-core-chips.js.map +1 -1
  304. package/fesm2015/covalent-core-common.js +62 -31
  305. package/fesm2015/covalent-core-common.js.map +1 -1
  306. package/fesm2015/covalent-core-data-table.js +28 -17
  307. package/fesm2015/covalent-core-data-table.js.map +1 -1
  308. package/fesm2015/covalent-core-dialogs.js +36 -25
  309. package/fesm2015/covalent-core-dialogs.js.map +1 -1
  310. package/fesm2015/covalent-core-dynamic-menu.js +17 -10
  311. package/fesm2015/covalent-core-dynamic-menu.js.map +1 -1
  312. package/fesm2015/covalent-core-expansion-panel.js +13 -7
  313. package/fesm2015/covalent-core-expansion-panel.js.map +1 -1
  314. package/fesm2015/covalent-core-file.js +19 -10
  315. package/fesm2015/covalent-core-file.js.map +1 -1
  316. package/fesm2015/covalent-core-json-formatter.js +11 -6
  317. package/fesm2015/covalent-core-json-formatter.js.map +1 -1
  318. package/fesm2015/covalent-core-layout.js +65 -41
  319. package/fesm2015/covalent-core-layout.js.map +1 -1
  320. package/fesm2015/covalent-core-loading.js +26 -18
  321. package/fesm2015/covalent-core-loading.js.map +1 -1
  322. package/fesm2015/covalent-core-media.js +12 -6
  323. package/fesm2015/covalent-core-media.js.map +1 -1
  324. package/fesm2015/covalent-core-menu.js +11 -6
  325. package/fesm2015/covalent-core-menu.js.map +1 -1
  326. package/fesm2015/covalent-core-message.js +11 -6
  327. package/fesm2015/covalent-core-message.js.map +1 -1
  328. package/fesm2015/covalent-core-nav-links.js +10 -5
  329. package/fesm2015/covalent-core-nav-links.js.map +1 -1
  330. package/fesm2015/covalent-core-notifications.js +17 -12
  331. package/fesm2015/covalent-core-notifications.js.map +1 -1
  332. package/fesm2015/covalent-core-paging.js +11 -6
  333. package/fesm2015/covalent-core-paging.js.map +1 -1
  334. package/fesm2015/covalent-core-search.js +14 -8
  335. package/fesm2015/covalent-core-search.js.map +1 -1
  336. package/fesm2015/covalent-core-sidesheet.js +11 -6
  337. package/fesm2015/covalent-core-sidesheet.js.map +1 -1
  338. package/fesm2015/covalent-core-steps.js +33 -22
  339. package/fesm2015/covalent-core-steps.js.map +1 -1
  340. package/fesm2015/covalent-core-tab-select.js +12 -6
  341. package/fesm2015/covalent-core-tab-select.js.map +1 -1
  342. package/fesm2015/covalent-core-user-profile.js +13 -7
  343. package/fesm2015/covalent-core-user-profile.js.map +1 -1
  344. package/fesm2015/covalent-core-virtual-scroll.js +13 -7
  345. package/fesm2015/covalent-core-virtual-scroll.js.map +1 -1
  346. package/fesm2015/covalent-core.js +4 -2
  347. package/fesm2015/covalent-core.js.map +1 -1
  348. package/file/covalent-core-file.metadata.json +1 -1
  349. package/file/package.json +1 -3
  350. package/json-formatter/covalent-core-json-formatter.metadata.json +1 -1
  351. package/json-formatter/package.json +1 -3
  352. package/layout/covalent-core-layout.metadata.json +1 -1
  353. package/layout/layout-manage-list/layout-manage-list.directives.d.ts +4 -4
  354. package/layout/layout-nav-list/layout-nav-list.directives.d.ts +4 -4
  355. package/layout/layout-toggle.class.d.ts +1 -1
  356. package/layout/layout.directives.d.ts +4 -4
  357. package/layout/package.json +1 -3
  358. package/loading/covalent-core-loading.metadata.json +1 -1
  359. package/loading/package.json +1 -3
  360. package/media/package.json +1 -3
  361. package/menu/covalent-core-menu.metadata.json +1 -1
  362. package/menu/package.json +1 -3
  363. package/message/covalent-core-message.metadata.json +1 -1
  364. package/message/package.json +1 -3
  365. package/nav-links/package.json +1 -3
  366. package/notifications/covalent-core-notifications.metadata.json +1 -1
  367. package/notifications/package.json +1 -3
  368. package/package.json +12 -12
  369. package/paging/covalent-core-paging.metadata.json +1 -1
  370. package/paging/package.json +1 -3
  371. package/schematics/components.js +1 -0
  372. package/schematics/components.js.map +1 -1
  373. package/schematics/ng-add/files/theme.scss +1 -1
  374. package/schematics/ng-add/index.js +4 -6
  375. package/schematics/ng-add/index.js.map +1 -1
  376. package/schematics/ng-update/index.js +1 -0
  377. package/schematics/ng-update/index.js.map +1 -1
  378. package/schematics/ng-update/target-version.js +1 -0
  379. package/schematics/ng-update/target-version.js.map +1 -1
  380. package/schematics/version-names.js +1 -0
  381. package/schematics/version-names.js.map +1 -1
  382. package/search/covalent-core-search.metadata.json +1 -1
  383. package/search/package.json +1 -3
  384. package/sidesheet/covalent-core-sidesheet.metadata.json +1 -1
  385. package/sidesheet/package.json +1 -3
  386. package/steps/covalent-core-steps.metadata.json +1 -1
  387. package/steps/package.json +1 -3
  388. package/tab-select/covalent-core-tab-select.metadata.json +1 -1
  389. package/tab-select/package.json +1 -3
  390. package/theming/prebuilt/blue-grey-deep-orange.css +193 -28
  391. package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
  392. package/theming/prebuilt/blue-orange.css +193 -28
  393. package/theming/prebuilt/blue-orange.css.map +1 -1
  394. package/theming/prebuilt/indigo-pink.css +193 -28
  395. package/theming/prebuilt/indigo-pink.css.map +1 -1
  396. package/theming/prebuilt/orange-light-blue.css +193 -28
  397. package/theming/prebuilt/orange-light-blue.css.map +1 -1
  398. package/theming/prebuilt/teal-orange.css +193 -28
  399. package/theming/prebuilt/teal-orange.css.map +1 -1
  400. package/user-profile/covalent-core-user-profile.metadata.json +1 -1
  401. package/user-profile/package.json +1 -3
  402. package/virtual-scroll/covalent-core-virtual-scroll.metadata.json +1 -1
  403. package/virtual-scroll/package.json +1 -3
  404. package/esm5/breadcrumbs/breadcrumb/breadcrumb.component.js +0 -216
  405. package/esm5/breadcrumbs/breadcrumbs.component.js +0 -286
  406. package/esm5/breadcrumbs/breadcrumbs.module.js +0 -23
  407. package/esm5/breadcrumbs/covalent-core-breadcrumbs.js +0 -9
  408. package/esm5/breadcrumbs/index.js +0 -6
  409. package/esm5/breadcrumbs/public-api.js +0 -8
  410. package/esm5/chips/chips.component.js +0 -1453
  411. package/esm5/chips/chips.module.js +0 -26
  412. package/esm5/chips/covalent-core-chips.js +0 -9
  413. package/esm5/chips/index.js +0 -6
  414. package/esm5/chips/public-api.js +0 -7
  415. package/esm5/common/animations/bounce/bounce.animation.js +0 -75
  416. package/esm5/common/animations/collapse/collapse.animation.js +0 -66
  417. package/esm5/common/animations/common/interfaces.js +0 -17
  418. package/esm5/common/animations/fade/fadeInOut.animation.js +0 -52
  419. package/esm5/common/animations/flash/flash.animation.js +0 -39
  420. package/esm5/common/animations/headshake/headshake.animation.js +0 -40
  421. package/esm5/common/animations/jello/jello.animation.js +0 -43
  422. package/esm5/common/animations/pulse/pulse.animation.js +0 -37
  423. package/esm5/common/animations/rotate/rotate.animation.js +0 -40
  424. package/esm5/common/behaviors/control-value-accesor.mixin.js +0 -127
  425. package/esm5/common/behaviors/disable-ripple.mixin.js +0 -75
  426. package/esm5/common/behaviors/disabled.mixin.js +0 -75
  427. package/esm5/common/common.module.js +0 -57
  428. package/esm5/common/covalent-core-common.js +0 -11
  429. package/esm5/common/directives/fullscreen/fullscreen.directive.js +0 -228
  430. package/esm5/common/forms/auto-trim/auto-trim.directive.js +0 -52
  431. package/esm5/common/forms/validators/validators.js +0 -73
  432. package/esm5/common/functions/clipboard.js +0 -29
  433. package/esm5/common/functions/convert.js +0 -120
  434. package/esm5/common/functions/download.js +0 -93
  435. package/esm5/common/functions/file.js +0 -28
  436. package/esm5/common/index.js +0 -6
  437. package/esm5/common/pipes/bytes/bytes.pipe.js +0 -54
  438. package/esm5/common/pipes/decimal-bytes/decimal-bytes.pipe.js +0 -54
  439. package/esm5/common/pipes/digits/digits.pipe.js +0 -72
  440. package/esm5/common/pipes/time-ago/time-ago.pipe.js +0 -89
  441. package/esm5/common/pipes/time-difference/time-difference.pipe.js +0 -74
  442. package/esm5/common/pipes/time-until/time-until.pipe.js +0 -89
  443. package/esm5/common/pipes/truncate/truncate.pipe.js +0 -42
  444. package/esm5/common/public-api.js +0 -43
  445. package/esm5/common/services/icon.service.js +0 -1118
  446. package/esm5/common/services/router-path.service.js +0 -69
  447. package/esm5/covalent-core.js +0 -9
  448. package/esm5/data-table/covalent-core-data-table.js +0 -9
  449. package/esm5/data-table/data-table-cell/data-table-cell.component.js +0 -98
  450. package/esm5/data-table/data-table-column/data-table-column.component.js +0 -257
  451. package/esm5/data-table/data-table-row/data-table-row.component.js +0 -145
  452. package/esm5/data-table/data-table-table/data-table-table.component.js +0 -40
  453. package/esm5/data-table/data-table.component.js +0 -2079
  454. package/esm5/data-table/data-table.module.js +0 -42
  455. package/esm5/data-table/directives/data-table-template.directive.js +0 -31
  456. package/esm5/data-table/index.js +0 -6
  457. package/esm5/data-table/public-api.js +0 -13
  458. package/esm5/data-table/services/data-table.service.js +0 -184
  459. package/esm5/dialogs/alert-dialog/alert-dialog.component.js +0 -48
  460. package/esm5/dialogs/confirm-dialog/confirm-dialog.component.js +0 -63
  461. package/esm5/dialogs/covalent-core-dialogs.js +0 -10
  462. package/esm5/dialogs/dialog.component.js +0 -76
  463. package/esm5/dialogs/dialogs.module.js +0 -60
  464. package/esm5/dialogs/index.js +0 -6
  465. package/esm5/dialogs/prompt-dialog/prompt-dialog.component.js +0 -100
  466. package/esm5/dialogs/public-api.js +0 -12
  467. package/esm5/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.js +0 -356
  468. package/esm5/dialogs/services/dialog.service.js +0 -441
  469. package/esm5/dialogs/window-dialog/window-dialog.component.js +0 -60
  470. package/esm5/dynamic-menu/covalent-core-dynamic-menu.js +0 -10
  471. package/esm5/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.js +0 -45
  472. package/esm5/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.js +0 -39
  473. package/esm5/dynamic-menu/dynamic-menu.component.js +0 -94
  474. package/esm5/dynamic-menu/dynamic-menu.module.js +0 -29
  475. package/esm5/dynamic-menu/index.js +0 -6
  476. package/esm5/dynamic-menu/public_api.js +0 -8
  477. package/esm5/expansion-panel/covalent-core-expansion-panel.js +0 -9
  478. package/esm5/expansion-panel/expansion-panel-group.component.js +0 -251
  479. package/esm5/expansion-panel/expansion-panel.component.js +0 -344
  480. package/esm5/expansion-panel/expansion-panel.module.js +0 -34
  481. package/esm5/expansion-panel/index.js +0 -6
  482. package/esm5/expansion-panel/public-api.js +0 -8
  483. package/esm5/file/covalent-core-file.js +0 -9
  484. package/esm5/file/directives/file-drop.directive.js +0 -276
  485. package/esm5/file/directives/file-select.directive.js +0 -124
  486. package/esm5/file/file-input/file-input.component.js +0 -225
  487. package/esm5/file/file-upload/file-upload.component.js +0 -284
  488. package/esm5/file/file.module.js +0 -38
  489. package/esm5/file/index.js +0 -6
  490. package/esm5/file/public-api.js +0 -11
  491. package/esm5/file/services/file.service.js +0 -137
  492. package/esm5/index.js +0 -5
  493. package/esm5/json-formatter/covalent-core-json-formatter.js +0 -9
  494. package/esm5/json-formatter/index.js +0 -6
  495. package/esm5/json-formatter/json-formatter.component.js +0 -433
  496. package/esm5/json-formatter/json-formatter.module.js +0 -23
  497. package/esm5/json-formatter/public-api.js +0 -7
  498. package/esm5/layout/covalent-core-layout.js +0 -9
  499. package/esm5/layout/index.js +0 -6
  500. package/esm5/layout/layout-card-over/layout-card-over.component.js +0 -72
  501. package/esm5/layout/layout-footer/layout-footer.component.js +0 -77
  502. package/esm5/layout/layout-manage-list/layout-manage-list.component.js +0 -175
  503. package/esm5/layout/layout-manage-list/layout-manage-list.directives.js +0 -147
  504. package/esm5/layout/layout-nav/layout-nav.component.js +0 -108
  505. package/esm5/layout/layout-nav-list/layout-nav-list.component.js +0 -257
  506. package/esm5/layout/layout-nav-list/layout-nav-list.directives.js +0 -147
  507. package/esm5/layout/layout-toggle.class.js +0 -214
  508. package/esm5/layout/layout.component.js +0 -175
  509. package/esm5/layout/layout.directives.js +0 -144
  510. package/esm5/layout/layout.module.js +0 -67
  511. package/esm5/layout/navigation-drawer/navigation-drawer.component.js +0 -364
  512. package/esm5/layout/public-api.js +0 -17
  513. package/esm5/loading/covalent-core-loading.js +0 -9
  514. package/esm5/loading/directives/loading.directive.js +0 -304
  515. package/esm5/loading/index.js +0 -6
  516. package/esm5/loading/loading.component.js +0 -367
  517. package/esm5/loading/loading.module.js +0 -33
  518. package/esm5/loading/public-api.js +0 -10
  519. package/esm5/loading/services/loading.factory.js +0 -378
  520. package/esm5/loading/services/loading.service.js +0 -494
  521. package/esm5/media/covalent-core-media.js +0 -9
  522. package/esm5/media/directives/media-toggle.directive.js +0 -261
  523. package/esm5/media/index.js +0 -6
  524. package/esm5/media/media.module.js +0 -23
  525. package/esm5/media/public-api.js +0 -8
  526. package/esm5/media/services/media.service.js +0 -229
  527. package/esm5/menu/covalent-core-menu.js +0 -9
  528. package/esm5/menu/index.js +0 -6
  529. package/esm5/menu/menu.component.js +0 -19
  530. package/esm5/menu/menu.module.js +0 -25
  531. package/esm5/menu/public-api.js +0 -7
  532. package/esm5/message/covalent-core-message.js +0 -9
  533. package/esm5/message/index.js +0 -6
  534. package/esm5/message/message.component.js +0 -402
  535. package/esm5/message/message.module.js +0 -24
  536. package/esm5/message/public-api.js +0 -7
  537. package/esm5/nav-links/covalent-core-nav-links.js +0 -9
  538. package/esm5/nav-links/index.js +0 -6
  539. package/esm5/nav-links/nav-links.component.js +0 -171
  540. package/esm5/nav-links/nav-links.module.js +0 -40
  541. package/esm5/nav-links/public-api.js +0 -7
  542. package/esm5/notifications/covalent-core-notifications.js +0 -9
  543. package/esm5/notifications/index.js +0 -6
  544. package/esm5/notifications/notification-count.component.js +0 -268
  545. package/esm5/notifications/notifications.module.js +0 -23
  546. package/esm5/notifications/public-api.js +0 -7
  547. package/esm5/paging/covalent-core-paging.js +0 -9
  548. package/esm5/paging/index.js +0 -6
  549. package/esm5/paging/paging-bar.component.js +0 -542
  550. package/esm5/paging/paging.module.js +0 -23
  551. package/esm5/paging/public-api.js +0 -7
  552. package/esm5/search/covalent-core-search.js +0 -9
  553. package/esm5/search/index.js +0 -6
  554. package/esm5/search/public-api.js +0 -8
  555. package/esm5/search/search-box/search-box.component.js +0 -298
  556. package/esm5/search/search-input/search-input.component.js +0 -297
  557. package/esm5/search/search.module.js +0 -26
  558. package/esm5/sidesheet/covalent-core-sidesheet.js +0 -9
  559. package/esm5/sidesheet/index.js +0 -6
  560. package/esm5/sidesheet/public-api.js +0 -7
  561. package/esm5/sidesheet/sidesheet.component.js +0 -89
  562. package/esm5/sidesheet/sidesheet.module.js +0 -30
  563. package/esm5/steps/covalent-core-steps.js +0 -9
  564. package/esm5/steps/index.js +0 -6
  565. package/esm5/steps/nav/nav-step-link/nav-step-link.component.js +0 -165
  566. package/esm5/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.js +0 -464
  567. package/esm5/steps/nav/nav-steps-vertical/nav-steps-vertical.component.js +0 -143
  568. package/esm5/steps/public-api.js +0 -13
  569. package/esm5/steps/step-body/step-body.component.js +0 -103
  570. package/esm5/steps/step-header/step-header.component.js +0 -101
  571. package/esm5/steps/step.component.js +0 -399
  572. package/esm5/steps/steps.component.js +0 -313
  573. package/esm5/steps/steps.module.js +0 -47
  574. package/esm5/tab-select/covalent-core-tab-select.js +0 -9
  575. package/esm5/tab-select/index.js +0 -6
  576. package/esm5/tab-select/public-api.js +0 -8
  577. package/esm5/tab-select/tab-option.component.js +0 -86
  578. package/esm5/tab-select/tab-select.component.js +0 -344
  579. package/esm5/tab-select/tab-select.module.js +0 -34
  580. package/esm5/user-profile/covalent-core-user-profile.js +0 -9
  581. package/esm5/user-profile/index.js +0 -6
  582. package/esm5/user-profile/public_api.js +0 -8
  583. package/esm5/user-profile/user-profile-menu/user-profile-menu.component.js +0 -42
  584. package/esm5/user-profile/user-profile.component.js +0 -29
  585. package/esm5/user-profile/user-profile.module.js +0 -36
  586. package/esm5/virtual-scroll/covalent-core-virtual-scroll.js +0 -9
  587. package/esm5/virtual-scroll/index.js +0 -6
  588. package/esm5/virtual-scroll/public-api.js +0 -8
  589. package/esm5/virtual-scroll/virtual-scroll-container.component.js +0 -468
  590. package/esm5/virtual-scroll/virtual-scroll-row.directive.js +0 -24
  591. package/esm5/virtual-scroll/virtual-scroll.module.js +0 -24
  592. package/fesm5/covalent-core-breadcrumbs.js +0 -535
  593. package/fesm5/covalent-core-breadcrumbs.js.map +0 -1
  594. package/fesm5/covalent-core-chips.js +0 -1484
  595. package/fesm5/covalent-core-chips.js.map +0 -1
  596. package/fesm5/covalent-core-common.js +0 -2961
  597. package/fesm5/covalent-core-common.js.map +0 -1
  598. package/fesm5/covalent-core-data-table.js +0 -2863
  599. package/fesm5/covalent-core-data-table.js.map +0 -1
  600. package/fesm5/covalent-core-dialogs.js +0 -1189
  601. package/fesm5/covalent-core-dialogs.js.map +0 -1
  602. package/fesm5/covalent-core-dynamic-menu.js +0 -214
  603. package/fesm5/covalent-core-dynamic-menu.js.map +0 -1
  604. package/fesm5/covalent-core-expansion-panel.js +0 -631
  605. package/fesm5/covalent-core-expansion-panel.js.map +0 -1
  606. package/fesm5/covalent-core-file.js +0 -1068
  607. package/fesm5/covalent-core-file.js.map +0 -1
  608. package/fesm5/covalent-core-json-formatter.js +0 -470
  609. package/fesm5/covalent-core-json-formatter.js.map +0 -1
  610. package/fesm5/covalent-core-layout.js +0 -1906
  611. package/fesm5/covalent-core-layout.js.map +0 -1
  612. package/fesm5/covalent-core-loading.js +0 -1562
  613. package/fesm5/covalent-core-loading.js.map +0 -1
  614. package/fesm5/covalent-core-media.js +0 -522
  615. package/fesm5/covalent-core-media.js.map +0 -1
  616. package/fesm5/covalent-core-menu.js +0 -58
  617. package/fesm5/covalent-core-menu.js.map +0 -1
  618. package/fesm5/covalent-core-message.js +0 -439
  619. package/fesm5/covalent-core-message.js.map +0 -1
  620. package/fesm5/covalent-core-nav-links.js +0 -224
  621. package/fesm5/covalent-core-nav-links.js.map +0 -1
  622. package/fesm5/covalent-core-notifications.js +0 -303
  623. package/fesm5/covalent-core-notifications.js.map +0 -1
  624. package/fesm5/covalent-core-paging.js +0 -579
  625. package/fesm5/covalent-core-paging.js.map +0 -1
  626. package/fesm5/covalent-core-search.js +0 -623
  627. package/fesm5/covalent-core-search.js.map +0 -1
  628. package/fesm5/covalent-core-sidesheet.js +0 -129
  629. package/fesm5/covalent-core-sidesheet.js.map +0 -1
  630. package/fesm5/covalent-core-steps.js +0 -1704
  631. package/fesm5/covalent-core-steps.js.map +0 -1
  632. package/fesm5/covalent-core-tab-select.js +0 -467
  633. package/fesm5/covalent-core-tab-select.js.map +0 -1
  634. package/fesm5/covalent-core-user-profile.js +0 -118
  635. package/fesm5/covalent-core-user-profile.js.map +0 -1
  636. package/fesm5/covalent-core-virtual-scroll.js +0 -526
  637. package/fesm5/covalent-core-virtual-scroll.js.map +0 -1
  638. package/fesm5/covalent-core.js +0 -10
  639. package/fesm5/covalent-core.js.map +0 -1
@@ -1,1906 +0,0 @@
1
- import { Component, ViewChild, Input, HostListener, Directive, Optional, Inject, forwardRef, Renderer2, ElementRef, SecurityContext, ContentChildren, NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { ScrollingModule } from '@angular/cdk/scrolling';
4
- import { MatSidenav, MatSidenavModule } from '@angular/material/sidenav';
5
- import { MatToolbarModule } from '@angular/material/toolbar';
6
- import { MatButtonModule } from '@angular/material/button';
7
- import { MatIconModule } from '@angular/material/icon';
8
- import { MatCardModule } from '@angular/material/card';
9
- import { MatDividerModule } from '@angular/material/divider';
10
- import { __extends } from 'tslib';
11
- import { mixinDisabled, tdCollapseAnimation } from '@covalent/core/common';
12
- import { Router } from '@angular/router';
13
- import { DomSanitizer } from '@angular/platform-browser';
14
-
15
- /**
16
- * @fileoverview added by tsickle
17
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
18
- */
19
- var TdLayoutComponent = /** @class */ (function () {
20
- function TdLayoutComponent() {
21
- /**
22
- * mode?: 'side', 'push' or 'over'
23
- *
24
- * The mode or styling of the sidenav.
25
- * Defaults to "over".
26
- * See "MatSidenav" documentation for more info.
27
- *
28
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
29
- */
30
- this.mode = 'over';
31
- /**
32
- * opened?: boolean
33
- *
34
- * Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
35
- * Defaults to "false".
36
- *
37
- * See "MatSidenav" documentation for more info.
38
- *
39
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
40
- */
41
- this.opened = false;
42
- /**
43
- * sidenavWidth?: string
44
- *
45
- * Sets the "width" of the sidenav in either "px" or "%"
46
- * Defaults to "320px".
47
- *
48
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
49
- */
50
- this.sidenavWidth = '320px';
51
- /**
52
- * containerAutosize?: boolean
53
- *
54
- * Sets "autosize" of the sidenav-container.
55
- * Defaults to "false".
56
- *
57
- * See documentation for more info and potential performance risks.
58
- *
59
- * https://github.com/angular/material2/blob/master/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
60
- */
61
- this.containerAutosize = false;
62
- }
63
- Object.defineProperty(TdLayoutComponent.prototype, "disableClose", {
64
- /**
65
- * Checks if `ESC` should close the sidenav
66
- * Should only close it for `push` and `over` modes
67
- */
68
- get: /**
69
- * Checks if `ESC` should close the sidenav
70
- * Should only close it for `push` and `over` modes
71
- * @return {?}
72
- */
73
- function () {
74
- return this.mode === 'side';
75
- },
76
- enumerable: true,
77
- configurable: true
78
- });
79
- /**
80
- * Proxy toggle method to access sidenav from outside (from td-layout template).
81
- */
82
- /**
83
- * Proxy toggle method to access sidenav from outside (from td-layout template).
84
- * @return {?}
85
- */
86
- TdLayoutComponent.prototype.toggle = /**
87
- * Proxy toggle method to access sidenav from outside (from td-layout template).
88
- * @return {?}
89
- */
90
- function () {
91
- return this.sidenav.toggle(!this.sidenav.opened);
92
- };
93
- /**
94
- * Proxy open method to access sidenav from outside (from td-layout template).
95
- */
96
- /**
97
- * Proxy open method to access sidenav from outside (from td-layout template).
98
- * @return {?}
99
- */
100
- TdLayoutComponent.prototype.open = /**
101
- * Proxy open method to access sidenav from outside (from td-layout template).
102
- * @return {?}
103
- */
104
- function () {
105
- return this.sidenav.open();
106
- };
107
- /**
108
- * Proxy close method to access sidenav from outside (from td-layout template).
109
- */
110
- /**
111
- * Proxy close method to access sidenav from outside (from td-layout template).
112
- * @return {?}
113
- */
114
- TdLayoutComponent.prototype.close = /**
115
- * Proxy close method to access sidenav from outside (from td-layout template).
116
- * @return {?}
117
- */
118
- function () {
119
- return this.sidenav.close();
120
- };
121
- TdLayoutComponent.decorators = [
122
- { type: Component, args: [{
123
- selector: 'td-layout',
124
- template: "<mat-sidenav-container fullscreen [autosize]=\"containerAutosize\">\n <mat-sidenav\n #sidenav\n class=\"td-layout-sidenav\"\n [mode]=\"mode\"\n [opened]=\"opened\"\n [style.max-width]=\"sidenavWidth\"\n [style.min-width]=\"sidenavWidth\"\n [disableClose]=\"disableClose\"\n >\n <ng-content select=\"td-navigation-drawer\"></ng-content>\n <ng-content select=\"[td-sidenav-content]\"></ng-content>\n </mat-sidenav>\n <ng-content></ng-content>\n</mat-sidenav-container>\n",
125
- styles: [":host{display:-ms-flexbox;display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}:host ::ng-deep>mat-sidenav-container .mat-drawer>.mat-drawer-inner-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}"]
126
- }] }
127
- ];
128
- TdLayoutComponent.propDecorators = {
129
- sidenav: [{ type: ViewChild, args: [MatSidenav, { static: true },] }],
130
- mode: [{ type: Input }],
131
- opened: [{ type: Input }],
132
- sidenavWidth: [{ type: Input }],
133
- containerAutosize: [{ type: Input }]
134
- };
135
- return TdLayoutComponent;
136
- }());
137
- if (false) {
138
- /** @type {?} */
139
- TdLayoutComponent.prototype.sidenav;
140
- /**
141
- * mode?: 'side', 'push' or 'over'
142
- *
143
- * The mode or styling of the sidenav.
144
- * Defaults to "over".
145
- * See "MatSidenav" documentation for more info.
146
- *
147
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
148
- * @type {?}
149
- */
150
- TdLayoutComponent.prototype.mode;
151
- /**
152
- * opened?: boolean
153
- *
154
- * Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
155
- * Defaults to "false".
156
- *
157
- * See "MatSidenav" documentation for more info.
158
- *
159
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
160
- * @type {?}
161
- */
162
- TdLayoutComponent.prototype.opened;
163
- /**
164
- * sidenavWidth?: string
165
- *
166
- * Sets the "width" of the sidenav in either "px" or "%"
167
- * Defaults to "320px".
168
- *
169
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
170
- * @type {?}
171
- */
172
- TdLayoutComponent.prototype.sidenavWidth;
173
- /**
174
- * containerAutosize?: boolean
175
- *
176
- * Sets "autosize" of the sidenav-container.
177
- * Defaults to "false".
178
- *
179
- * See documentation for more info and potential performance risks.
180
- *
181
- * https://github.com/angular/material2/blob/master/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
182
- * @type {?}
183
- */
184
- TdLayoutComponent.prototype.containerAutosize;
185
- }
186
-
187
- /**
188
- * @fileoverview added by tsickle
189
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
190
- */
191
- /**
192
- * @record
193
- */
194
- function ILayoutTogglable() { }
195
- if (false) {
196
- /** @type {?} */
197
- ILayoutTogglable.prototype.opened;
198
- /** @type {?} */
199
- ILayoutTogglable.prototype.sidenav;
200
- /**
201
- * @return {?}
202
- */
203
- ILayoutTogglable.prototype.toggle = function () { };
204
- /**
205
- * @return {?}
206
- */
207
- ILayoutTogglable.prototype.open = function () { };
208
- /**
209
- * @return {?}
210
- */
211
- ILayoutTogglable.prototype.close = function () { };
212
- }
213
- var LayoutToggleBase = /** @class */ (function () {
214
- function LayoutToggleBase() {
215
- }
216
- return LayoutToggleBase;
217
- }());
218
- /* tslint:disable-next-line */
219
- /** @type {?} */
220
- var _TdLayoutToggleMixinBase = mixinDisabled(LayoutToggleBase);
221
- /**
222
- * @abstract
223
- */
224
- var LayoutToggle = /** @class */ (function (_super) {
225
- __extends(LayoutToggle, _super);
226
- function LayoutToggle(_layout, _renderer, _elementRef) {
227
- var _this = _super.call(this) || this;
228
- _this._layout = _layout;
229
- _this._renderer = _renderer;
230
- _this._elementRef = _elementRef;
231
- _this._initialized = false;
232
- _this._hideWhenOpened = false;
233
- // if layout has not been provided
234
- // show warn message
235
- if (!_this._layout) {
236
- _this._noLayoutMessage();
237
- }
238
- _this._renderer.addClass(_this._elementRef.nativeElement, 'td-layout-menu-button');
239
- return _this;
240
- }
241
- Object.defineProperty(LayoutToggle.prototype, "hideWhenOpened", {
242
- /**
243
- * hideWhenOpened?: boolean
244
- * When this is set to true, the host will be hidden when
245
- * the sidenav is opened.
246
- */
247
- set: /**
248
- * hideWhenOpened?: boolean
249
- * When this is set to true, the host will be hidden when
250
- * the sidenav is opened.
251
- * @param {?} hideWhenOpened
252
- * @return {?}
253
- */
254
- function (hideWhenOpened) {
255
- this._hideWhenOpened = hideWhenOpened;
256
- if (this._initialized) {
257
- this._toggleVisibility();
258
- }
259
- },
260
- enumerable: true,
261
- configurable: true
262
- });
263
- /**
264
- * @return {?}
265
- */
266
- LayoutToggle.prototype.ngAfterViewInit = /**
267
- * @return {?}
268
- */
269
- function () {
270
- var _this = this;
271
- this._initialized = true;
272
- if (this._layout && this._layout.sidenav) {
273
- this._toggleSubs = this._layout.sidenav._animationStarted.subscribe((/**
274
- * @return {?}
275
- */
276
- function () {
277
- _this._toggleVisibility();
278
- }));
279
- }
280
- // execute toggleVisibility since the onOpenStart and onCloseStart
281
- // methods might not be executed always when the element is rendered
282
- this._toggleVisibility();
283
- };
284
- /**
285
- * @return {?}
286
- */
287
- LayoutToggle.prototype.ngOnDestroy = /**
288
- * @return {?}
289
- */
290
- function () {
291
- if (this._toggleSubs) {
292
- this._toggleSubs.unsubscribe();
293
- this._toggleSubs = undefined;
294
- }
295
- };
296
- /**
297
- * Listens to host click event to trigger the layout toggle
298
- */
299
- /**
300
- * Listens to host click event to trigger the layout toggle
301
- * @param {?} event
302
- * @return {?}
303
- */
304
- LayoutToggle.prototype.clickListener = /**
305
- * Listens to host click event to trigger the layout toggle
306
- * @param {?} event
307
- * @return {?}
308
- */
309
- function (event) {
310
- event.preventDefault();
311
- if (!this.disabled) {
312
- // if layout has been provided, try triggering the click on it
313
- // else show warn message
314
- if (this._layout && this._layout.open) {
315
- this.onClick();
316
- }
317
- else {
318
- this._noLayoutMessage();
319
- }
320
- }
321
- };
322
- /**
323
- * @private
324
- * @return {?}
325
- */
326
- LayoutToggle.prototype._toggleVisibility = /**
327
- * @private
328
- * @return {?}
329
- */
330
- function () {
331
- if (this._layout) {
332
- if (this._layout.sidenav.opened && this._hideWhenOpened) {
333
- this._renderer.setStyle(this._elementRef.nativeElement, 'display', 'none');
334
- }
335
- else {
336
- this._renderer.setStyle(this._elementRef.nativeElement, 'display', '');
337
- }
338
- }
339
- };
340
- /**
341
- * @private
342
- * @return {?}
343
- */
344
- LayoutToggle.prototype._noLayoutMessage = /**
345
- * @private
346
- * @return {?}
347
- */
348
- function () {
349
- /* tslint:disable-next-line */
350
- console.warn('Covalent: Parent layout not found for layout toggle directive');
351
- };
352
- LayoutToggle.propDecorators = {
353
- hideWhenOpened: [{ type: Input, args: ['hideWhenOpened',] }],
354
- clickListener: [{ type: HostListener, args: ['click', ['$event'],] }]
355
- };
356
- return LayoutToggle;
357
- }(_TdLayoutToggleMixinBase));
358
- if (false) {
359
- /**
360
- * @type {?}
361
- * @private
362
- */
363
- LayoutToggle.prototype._toggleSubs;
364
- /**
365
- * @type {?}
366
- * @private
367
- */
368
- LayoutToggle.prototype._initialized;
369
- /**
370
- * @type {?}
371
- * @private
372
- */
373
- LayoutToggle.prototype._hideWhenOpened;
374
- /**
375
- * @type {?}
376
- * @protected
377
- */
378
- LayoutToggle.prototype._layout;
379
- /**
380
- * @type {?}
381
- * @private
382
- */
383
- LayoutToggle.prototype._renderer;
384
- /**
385
- * @type {?}
386
- * @private
387
- */
388
- LayoutToggle.prototype._elementRef;
389
- /**
390
- * @abstract
391
- * @return {?}
392
- */
393
- LayoutToggle.prototype.onClick = function () { };
394
- }
395
-
396
- /**
397
- * @fileoverview added by tsickle
398
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
399
- */
400
- var TdLayoutToggleDirective = /** @class */ (function (_super) {
401
- __extends(TdLayoutToggleDirective, _super);
402
- function TdLayoutToggleDirective(layout, renderer, elementRef) {
403
- return _super.call(this, layout, renderer, elementRef) || this;
404
- }
405
- Object.defineProperty(TdLayoutToggleDirective.prototype, "tdLayoutToggle", {
406
- set: /**
407
- * @param {?} tdLayoutToggle
408
- * @return {?}
409
- */
410
- function (tdLayoutToggle) {
411
- this.disabled = !((/** @type {?} */ (tdLayoutToggle)) === '' || tdLayoutToggle);
412
- },
413
- enumerable: true,
414
- configurable: true
415
- });
416
- /**
417
- * @return {?}
418
- */
419
- TdLayoutToggleDirective.prototype.onClick = /**
420
- * @return {?}
421
- */
422
- function () {
423
- this._layout.toggle();
424
- };
425
- TdLayoutToggleDirective.decorators = [
426
- { type: Directive, args: [{
427
- selector: '[tdLayoutToggle]',
428
- },] }
429
- ];
430
- /** @nocollapse */
431
- TdLayoutToggleDirective.ctorParameters = function () { return [
432
- { type: TdLayoutComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
433
- * @return {?}
434
- */
435
- function () { return TdLayoutComponent; })),] }] },
436
- { type: Renderer2 },
437
- { type: ElementRef }
438
- ]; };
439
- TdLayoutToggleDirective.propDecorators = {
440
- tdLayoutToggle: [{ type: Input, args: ['tdLayoutToggle',] }]
441
- };
442
- return TdLayoutToggleDirective;
443
- }(LayoutToggle));
444
- var TdLayoutCloseDirective = /** @class */ (function (_super) {
445
- __extends(TdLayoutCloseDirective, _super);
446
- function TdLayoutCloseDirective(layout, renderer, elementRef) {
447
- return _super.call(this, layout, renderer, elementRef) || this;
448
- }
449
- Object.defineProperty(TdLayoutCloseDirective.prototype, "tdLayoutClose", {
450
- set: /**
451
- * @param {?} tdLayoutClose
452
- * @return {?}
453
- */
454
- function (tdLayoutClose) {
455
- this.disabled = !((/** @type {?} */ (tdLayoutClose)) === '' || tdLayoutClose);
456
- },
457
- enumerable: true,
458
- configurable: true
459
- });
460
- /**
461
- * @return {?}
462
- */
463
- TdLayoutCloseDirective.prototype.onClick = /**
464
- * @return {?}
465
- */
466
- function () {
467
- this._layout.close();
468
- };
469
- TdLayoutCloseDirective.decorators = [
470
- { type: Directive, args: [{
471
- selector: '[tdLayoutClose]',
472
- },] }
473
- ];
474
- /** @nocollapse */
475
- TdLayoutCloseDirective.ctorParameters = function () { return [
476
- { type: TdLayoutComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
477
- * @return {?}
478
- */
479
- function () { return TdLayoutComponent; })),] }] },
480
- { type: Renderer2 },
481
- { type: ElementRef }
482
- ]; };
483
- TdLayoutCloseDirective.propDecorators = {
484
- tdLayoutClose: [{ type: Input, args: ['tdLayoutClose',] }]
485
- };
486
- return TdLayoutCloseDirective;
487
- }(LayoutToggle));
488
- var TdLayoutOpenDirective = /** @class */ (function (_super) {
489
- __extends(TdLayoutOpenDirective, _super);
490
- function TdLayoutOpenDirective(layout, renderer, elementRef) {
491
- return _super.call(this, layout, renderer, elementRef) || this;
492
- }
493
- Object.defineProperty(TdLayoutOpenDirective.prototype, "tdLayoutClose", {
494
- set: /**
495
- * @param {?} tdLayoutOpen
496
- * @return {?}
497
- */
498
- function (tdLayoutOpen) {
499
- this.disabled = !((/** @type {?} */ (tdLayoutOpen)) === '' || tdLayoutOpen);
500
- },
501
- enumerable: true,
502
- configurable: true
503
- });
504
- /**
505
- * @return {?}
506
- */
507
- TdLayoutOpenDirective.prototype.onClick = /**
508
- * @return {?}
509
- */
510
- function () {
511
- this._layout.open();
512
- };
513
- TdLayoutOpenDirective.decorators = [
514
- { type: Directive, args: [{
515
- selector: '[tdLayoutOpen]',
516
- },] }
517
- ];
518
- /** @nocollapse */
519
- TdLayoutOpenDirective.ctorParameters = function () { return [
520
- { type: TdLayoutComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
521
- * @return {?}
522
- */
523
- function () { return TdLayoutComponent; })),] }] },
524
- { type: Renderer2 },
525
- { type: ElementRef }
526
- ]; };
527
- TdLayoutOpenDirective.propDecorators = {
528
- tdLayoutClose: [{ type: Input, args: ['tdLayoutOpen',] }]
529
- };
530
- return TdLayoutOpenDirective;
531
- }(LayoutToggle));
532
-
533
- /**
534
- * @fileoverview added by tsickle
535
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
536
- */
537
- var TdLayoutNavComponent = /** @class */ (function () {
538
- function TdLayoutNavComponent(_router) {
539
- this._router = _router;
540
- /**
541
- * color?: 'accent' | 'primary' | 'warn'
542
- *
543
- * toolbar color option: primary | accent | warn.
544
- * If [color] is not set, primary is used.
545
- */
546
- this.color = 'primary';
547
- }
548
- Object.defineProperty(TdLayoutNavComponent.prototype, "routerEnabled", {
549
- /**
550
- * Checks if router was injected.
551
- */
552
- get: /**
553
- * Checks if router was injected.
554
- * @return {?}
555
- */
556
- function () {
557
- return !!this._router && !!this.navigationRoute;
558
- },
559
- enumerable: true,
560
- configurable: true
561
- });
562
- /**
563
- * @return {?}
564
- */
565
- TdLayoutNavComponent.prototype.handleNavigationClick = /**
566
- * @return {?}
567
- */
568
- function () {
569
- if (this.routerEnabled) {
570
- this._router.navigateByUrl(this.navigationRoute);
571
- }
572
- };
573
- TdLayoutNavComponent.decorators = [
574
- { type: Component, args: [{
575
- selector: 'td-layout-nav',
576
- template: "<div class=\"td-layout-nav-wrapper\">\n <mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\">\n <ng-content select=\"[td-menu-button]\"></ng-content>\n <span\n *ngIf=\"icon || logo || toolbarTitle\"\n [class.cursor-pointer]=\"routerEnabled\"\n (click)=\"handleNavigationClick()\"\n class=\"td-layout-nav-toolbar-content\"\n >\n <mat-icon *ngIf=\"icon\">{{ icon }}</mat-icon>\n <mat-icon *ngIf=\"logo && !icon\" class=\"mat-icon-logo\" [svgIcon]=\"logo\"></mat-icon>\n <span *ngIf=\"toolbarTitle\">{{ toolbarTitle }}</span>\n </span>\n <ng-content select=\"[td-toolbar-content]\"></ng-content>\n </mat-toolbar>\n <div class=\"td-layout-nav-content\" cdkScrollable>\n <ng-content></ng-content>\n </div>\n <ng-content select=\"td-layout-footer\"></ng-content>\n</div>\n",
577
- styles: [".td-menu-button{margin-left:0}::ng-deep [dir=rtl] .td-menu-button{margin-right:0;margin-left:6px}:host{display:-ms-flexbox;display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}:host .td-layout-nav-wrapper{-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;margin:0;width:100%;min-height:100%;height:100%}:host .td-layout-nav-wrapper .td-layout-nav-toolbar-content{-ms-flex-direction:row;flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;max-width:100%;-ms-flex-pack:start;justify-content:flex-start}:host .td-layout-nav-wrapper .td-layout-nav-content{-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}"]
578
- }] }
579
- ];
580
- /** @nocollapse */
581
- TdLayoutNavComponent.ctorParameters = function () { return [
582
- { type: Router, decorators: [{ type: Optional }] }
583
- ]; };
584
- TdLayoutNavComponent.propDecorators = {
585
- toolbarTitle: [{ type: Input }],
586
- icon: [{ type: Input }],
587
- logo: [{ type: Input }],
588
- color: [{ type: Input }],
589
- navigationRoute: [{ type: Input }]
590
- };
591
- return TdLayoutNavComponent;
592
- }());
593
- if (false) {
594
- /**
595
- * toolbarTitle?: string
596
- *
597
- * Title set in toolbar.
598
- * @type {?}
599
- */
600
- TdLayoutNavComponent.prototype.toolbarTitle;
601
- /**
602
- * icon?: string
603
- *
604
- * icon name to be displayed before the title
605
- * @type {?}
606
- */
607
- TdLayoutNavComponent.prototype.icon;
608
- /**
609
- * logo?: string
610
- *
611
- * logo icon name to be displayed before the title.
612
- * If [icon] is set, then this will not be shown.
613
- * @type {?}
614
- */
615
- TdLayoutNavComponent.prototype.logo;
616
- /**
617
- * color?: 'accent' | 'primary' | 'warn'
618
- *
619
- * toolbar color option: primary | accent | warn.
620
- * If [color] is not set, primary is used.
621
- * @type {?}
622
- */
623
- TdLayoutNavComponent.prototype.color;
624
- /**
625
- * navigationRoute?: string
626
- *
627
- * option to set the combined route for the icon, logo, and toolbarTitle.
628
- * @type {?}
629
- */
630
- TdLayoutNavComponent.prototype.navigationRoute;
631
- /**
632
- * @type {?}
633
- * @private
634
- */
635
- TdLayoutNavComponent.prototype._router;
636
- }
637
-
638
- /**
639
- * @fileoverview added by tsickle
640
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
641
- */
642
- var TdLayoutNavListComponent = /** @class */ (function () {
643
- function TdLayoutNavListComponent(_router) {
644
- this._router = _router;
645
- /**
646
- * color?: 'accent' | 'primary' | 'warn'
647
- *
648
- * toolbar color option: primary | accent | warn.
649
- * If [color] is not set, primary is used.
650
- */
651
- this.color = 'primary';
652
- /**
653
- * mode?: 'side', 'push' or 'over'
654
- *
655
- * The mode or styling of the sidenav.
656
- * Defaults to "side".
657
- * See "MatSidenav" documentation for more info.
658
- *
659
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
660
- */
661
- this.mode = 'side';
662
- /**
663
- * opened?: boolean
664
- * Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
665
- * Defaults to "true".
666
- *
667
- * See "MatSidenav" documentation for more info.
668
- *
669
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
670
- */
671
- this.opened = true;
672
- /**
673
- * sidenavWidth?: string
674
- *
675
- * Sets the "width" of the sidenav in either "px" or "%"
676
- * Defaults to "350px".
677
- *
678
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
679
- */
680
- this.sidenavWidth = '350px';
681
- /**
682
- * containerAutosize?: boolean
683
- *
684
- * Sets "autosize" of the sidenav-container.
685
- * Defaults to "false".
686
- *
687
- * See documentation for more info and potential performance risks.
688
- *
689
- * https://github.com/angular/material2/blob/master/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
690
- */
691
- this.containerAutosize = false;
692
- }
693
- Object.defineProperty(TdLayoutNavListComponent.prototype, "disableClose", {
694
- /**
695
- * Checks if `ESC` should close the sidenav
696
- * Should only close it for `push` and `over` modes
697
- */
698
- get: /**
699
- * Checks if `ESC` should close the sidenav
700
- * Should only close it for `push` and `over` modes
701
- * @return {?}
702
- */
703
- function () {
704
- return this.mode === 'side';
705
- },
706
- enumerable: true,
707
- configurable: true
708
- });
709
- Object.defineProperty(TdLayoutNavListComponent.prototype, "routerEnabled", {
710
- /**
711
- * Checks if router was injected.
712
- */
713
- get: /**
714
- * Checks if router was injected.
715
- * @return {?}
716
- */
717
- function () {
718
- return !!this._router && !!this.navigationRoute;
719
- },
720
- enumerable: true,
721
- configurable: true
722
- });
723
- /**
724
- * @return {?}
725
- */
726
- TdLayoutNavListComponent.prototype.handleNavigationClick = /**
727
- * @return {?}
728
- */
729
- function () {
730
- if (this.routerEnabled) {
731
- this._router.navigateByUrl(this.navigationRoute);
732
- }
733
- };
734
- /**
735
- * Proxy toggle method to access sidenav from outside (from td-layout template).
736
- */
737
- /**
738
- * Proxy toggle method to access sidenav from outside (from td-layout template).
739
- * @return {?}
740
- */
741
- TdLayoutNavListComponent.prototype.toggle = /**
742
- * Proxy toggle method to access sidenav from outside (from td-layout template).
743
- * @return {?}
744
- */
745
- function () {
746
- return this.sidenav.toggle(!this.sidenav.opened);
747
- };
748
- /**
749
- * Proxy open method to access sidenav from outside (from td-layout template).
750
- */
751
- /**
752
- * Proxy open method to access sidenav from outside (from td-layout template).
753
- * @return {?}
754
- */
755
- TdLayoutNavListComponent.prototype.open = /**
756
- * Proxy open method to access sidenav from outside (from td-layout template).
757
- * @return {?}
758
- */
759
- function () {
760
- return this.sidenav.open();
761
- };
762
- /**
763
- * Proxy close method to access sidenav from outside (from td-layout template).
764
- */
765
- /**
766
- * Proxy close method to access sidenav from outside (from td-layout template).
767
- * @return {?}
768
- */
769
- TdLayoutNavListComponent.prototype.close = /**
770
- * Proxy close method to access sidenav from outside (from td-layout template).
771
- * @return {?}
772
- */
773
- function () {
774
- return this.sidenav.close();
775
- };
776
- TdLayoutNavListComponent.decorators = [
777
- { type: Component, args: [{
778
- selector: 'td-layout-nav-list',
779
- template: "<div class=\"td-layout-nav-list-wrapper\">\n <mat-sidenav-container fullscreen [autosize]=\"containerAutosize\" class=\"td-layout-nav-list\">\n <mat-sidenav\n #sidenav\n position=\"start\"\n [mode]=\"mode\"\n [opened]=\"opened\"\n [disableClose]=\"disableClose\"\n [style.max-width]=\"sidenavWidth\"\n [style.min-width]=\"sidenavWidth\"\n >\n <mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\">\n <ng-content select=\"[td-menu-button]\"></ng-content>\n <span\n *ngIf=\"icon || logo || toolbarTitle\"\n class=\"td-layout-nav-list-toolbar-content\"\n [class.cursor-pointer]=\"routerEnabled\"\n (click)=\"handleNavigationClick()\"\n >\n <mat-icon *ngIf=\"icon\">{{ icon }}</mat-icon>\n <mat-icon *ngIf=\"logo && !icon\" class=\"mat-icon-logo\" [svgIcon]=\"logo\"></mat-icon>\n <span *ngIf=\"toolbarTitle\">{{ toolbarTitle }}</span>\n </span>\n <ng-content select=\"[td-sidenav-toolbar-content]\"></ng-content>\n </mat-toolbar>\n <div class=\"td-layout-nav-list-content\" cdkScrollable>\n <ng-content select=\"[td-sidenav-content]\"></ng-content>\n </div>\n </mat-sidenav>\n <div class=\"td-layout-nav-list-main\">\n <mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\">\n <ng-content select=\"[td-toolbar-content]\"></ng-content>\n </mat-toolbar>\n <div class=\"td-layout-nav-list-content\" cdkScrollable>\n <ng-content></ng-content>\n </div>\n <ng-content select=\"td-layout-footer-inner\"></ng-content>\n </div>\n </mat-sidenav-container>\n</div>\n<ng-content select=\"td-layout-footer\"></ng-content>\n",
780
- styles: [":host{margin:0;width:100%;min-height:100%;height:100%;overflow:hidden;-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}:host .td-layout-nav-list-wrapper>.mat-sidenav-container>mat-sidenav.mat-drawer-side{border-right:0}[dir=rtl] :host .td-layout-nav-list-wrapper>.mat-sidenav-container>mat-sidenav.mat-drawer-side{border-left:0}:host .td-layout-nav-list-wrapper{-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}:host .td-layout-nav-list-wrapper .td-layout-nav-list-toolbar-content{-ms-flex-direction:row;flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;max-width:100%;-ms-flex-pack:start;justify-content:flex-start}:host .td-layout-nav-list-wrapper .td-layout-nav-list-content{text-align:start;-ms-flex:1;flex:1;display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}:host .td-layout-nav-list-wrapper .td-layout-nav-list-main{-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;margin:0;width:100%;min-height:100%;height:100%;position:relative;overflow:auto}:host .td-layout-nav-list-wrapper .td-layout-nav-list-main .td-layout-nav-list-content{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch;-ms-flex:1;flex:1}:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list{-ms-flex:1;flex:1}:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-closed,:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-closing,:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-opened,:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-opening{box-shadow:none}:host ::ng-deep mat-sidenav-container.td-layout-nav-list>.mat-drawer-content{-ms-flex-positive:1;flex-grow:1}:host ::ng-deep mat-sidenav-container.td-layout-nav-list>.mat-drawer>.mat-drawer-inner-container{box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}"]
781
- }] }
782
- ];
783
- /** @nocollapse */
784
- TdLayoutNavListComponent.ctorParameters = function () { return [
785
- { type: Router, decorators: [{ type: Optional }] }
786
- ]; };
787
- TdLayoutNavListComponent.propDecorators = {
788
- sidenav: [{ type: ViewChild, args: [MatSidenav, { static: true },] }],
789
- toolbarTitle: [{ type: Input }],
790
- icon: [{ type: Input }],
791
- logo: [{ type: Input }],
792
- color: [{ type: Input }],
793
- mode: [{ type: Input }],
794
- opened: [{ type: Input }],
795
- sidenavWidth: [{ type: Input }],
796
- containerAutosize: [{ type: Input }],
797
- navigationRoute: [{ type: Input }]
798
- };
799
- return TdLayoutNavListComponent;
800
- }());
801
- if (false) {
802
- /** @type {?} */
803
- TdLayoutNavListComponent.prototype.sidenav;
804
- /**
805
- * toolbarTitle?: string
806
- *
807
- * Title set in toolbar.
808
- * @type {?}
809
- */
810
- TdLayoutNavListComponent.prototype.toolbarTitle;
811
- /**
812
- * icon?: string
813
- * icon name to be displayed before the title
814
- * @type {?}
815
- */
816
- TdLayoutNavListComponent.prototype.icon;
817
- /**
818
- * logo?: string
819
- *
820
- * logo icon name to be displayed before the title.
821
- * If [icon] is set, then this will not be shown.
822
- * @type {?}
823
- */
824
- TdLayoutNavListComponent.prototype.logo;
825
- /**
826
- * color?: 'accent' | 'primary' | 'warn'
827
- *
828
- * toolbar color option: primary | accent | warn.
829
- * If [color] is not set, primary is used.
830
- * @type {?}
831
- */
832
- TdLayoutNavListComponent.prototype.color;
833
- /**
834
- * mode?: 'side', 'push' or 'over'
835
- *
836
- * The mode or styling of the sidenav.
837
- * Defaults to "side".
838
- * See "MatSidenav" documentation for more info.
839
- *
840
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
841
- * @type {?}
842
- */
843
- TdLayoutNavListComponent.prototype.mode;
844
- /**
845
- * opened?: boolean
846
- * Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
847
- * Defaults to "true".
848
- *
849
- * See "MatSidenav" documentation for more info.
850
- *
851
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
852
- * @type {?}
853
- */
854
- TdLayoutNavListComponent.prototype.opened;
855
- /**
856
- * sidenavWidth?: string
857
- *
858
- * Sets the "width" of the sidenav in either "px" or "%"
859
- * Defaults to "350px".
860
- *
861
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
862
- * @type {?}
863
- */
864
- TdLayoutNavListComponent.prototype.sidenavWidth;
865
- /**
866
- * containerAutosize?: boolean
867
- *
868
- * Sets "autosize" of the sidenav-container.
869
- * Defaults to "false".
870
- *
871
- * See documentation for more info and potential performance risks.
872
- *
873
- * https://github.com/angular/material2/blob/master/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
874
- * @type {?}
875
- */
876
- TdLayoutNavListComponent.prototype.containerAutosize;
877
- /**
878
- * navigationRoute?: string
879
- *
880
- * option to set the combined route for the icon, logo, and toolbarTitle.
881
- * @type {?}
882
- */
883
- TdLayoutNavListComponent.prototype.navigationRoute;
884
- /**
885
- * @type {?}
886
- * @private
887
- */
888
- TdLayoutNavListComponent.prototype._router;
889
- }
890
-
891
- /**
892
- * @fileoverview added by tsickle
893
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
894
- */
895
- var TdLayoutNavListToggleDirective = /** @class */ (function (_super) {
896
- __extends(TdLayoutNavListToggleDirective, _super);
897
- function TdLayoutNavListToggleDirective(layout, renderer, elementRef) {
898
- return _super.call(this, layout, renderer, elementRef) || this;
899
- }
900
- Object.defineProperty(TdLayoutNavListToggleDirective.prototype, "tdLayoutNavListToggle", {
901
- set: /**
902
- * @param {?} tdLayoutNavListToggle
903
- * @return {?}
904
- */
905
- function (tdLayoutNavListToggle) {
906
- this.disabled = !((/** @type {?} */ (tdLayoutNavListToggle)) === '' || tdLayoutNavListToggle);
907
- },
908
- enumerable: true,
909
- configurable: true
910
- });
911
- /**
912
- * @return {?}
913
- */
914
- TdLayoutNavListToggleDirective.prototype.onClick = /**
915
- * @return {?}
916
- */
917
- function () {
918
- this._layout.toggle();
919
- };
920
- TdLayoutNavListToggleDirective.decorators = [
921
- { type: Directive, args: [{
922
- selector: '[tdLayoutNavListToggle]',
923
- inputs: ['hideWhenOpened'],
924
- },] }
925
- ];
926
- /** @nocollapse */
927
- TdLayoutNavListToggleDirective.ctorParameters = function () { return [
928
- { type: TdLayoutNavListComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
929
- * @return {?}
930
- */
931
- function () { return TdLayoutNavListComponent; })),] }] },
932
- { type: Renderer2 },
933
- { type: ElementRef }
934
- ]; };
935
- TdLayoutNavListToggleDirective.propDecorators = {
936
- tdLayoutNavListToggle: [{ type: Input, args: ['tdLayoutNavListToggle',] }]
937
- };
938
- return TdLayoutNavListToggleDirective;
939
- }(LayoutToggle));
940
- var TdLayoutNavListCloseDirective = /** @class */ (function (_super) {
941
- __extends(TdLayoutNavListCloseDirective, _super);
942
- function TdLayoutNavListCloseDirective(layout, renderer, elementRef) {
943
- return _super.call(this, layout, renderer, elementRef) || this;
944
- }
945
- Object.defineProperty(TdLayoutNavListCloseDirective.prototype, "tdLayoutNavListClose", {
946
- set: /**
947
- * @param {?} tdLayoutNavListClose
948
- * @return {?}
949
- */
950
- function (tdLayoutNavListClose) {
951
- this.disabled = !((/** @type {?} */ (tdLayoutNavListClose)) === '' || tdLayoutNavListClose);
952
- },
953
- enumerable: true,
954
- configurable: true
955
- });
956
- /**
957
- * @return {?}
958
- */
959
- TdLayoutNavListCloseDirective.prototype.onClick = /**
960
- * @return {?}
961
- */
962
- function () {
963
- this._layout.close();
964
- };
965
- TdLayoutNavListCloseDirective.decorators = [
966
- { type: Directive, args: [{
967
- selector: '[tdLayoutNavListClose]',
968
- inputs: ['hideWhenOpened'],
969
- },] }
970
- ];
971
- /** @nocollapse */
972
- TdLayoutNavListCloseDirective.ctorParameters = function () { return [
973
- { type: TdLayoutNavListComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
974
- * @return {?}
975
- */
976
- function () { return TdLayoutNavListComponent; })),] }] },
977
- { type: Renderer2 },
978
- { type: ElementRef }
979
- ]; };
980
- TdLayoutNavListCloseDirective.propDecorators = {
981
- tdLayoutNavListClose: [{ type: Input, args: ['tdLayoutNavListClose',] }]
982
- };
983
- return TdLayoutNavListCloseDirective;
984
- }(LayoutToggle));
985
- var TdLayoutNavListOpenDirective = /** @class */ (function (_super) {
986
- __extends(TdLayoutNavListOpenDirective, _super);
987
- function TdLayoutNavListOpenDirective(layout, renderer, elementRef) {
988
- return _super.call(this, layout, renderer, elementRef) || this;
989
- }
990
- Object.defineProperty(TdLayoutNavListOpenDirective.prototype, "tdLayoutNavListOpen", {
991
- set: /**
992
- * @param {?} tdLayoutNavListOpen
993
- * @return {?}
994
- */
995
- function (tdLayoutNavListOpen) {
996
- this.disabled = !((/** @type {?} */ (tdLayoutNavListOpen)) === '' || tdLayoutNavListOpen);
997
- },
998
- enumerable: true,
999
- configurable: true
1000
- });
1001
- /**
1002
- * @return {?}
1003
- */
1004
- TdLayoutNavListOpenDirective.prototype.onClick = /**
1005
- * @return {?}
1006
- */
1007
- function () {
1008
- this._layout.open();
1009
- };
1010
- TdLayoutNavListOpenDirective.decorators = [
1011
- { type: Directive, args: [{
1012
- selector: '[tdLayoutNavListOpen]',
1013
- inputs: ['hideWhenOpened'],
1014
- },] }
1015
- ];
1016
- /** @nocollapse */
1017
- TdLayoutNavListOpenDirective.ctorParameters = function () { return [
1018
- { type: TdLayoutNavListComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
1019
- * @return {?}
1020
- */
1021
- function () { return TdLayoutNavListComponent; })),] }] },
1022
- { type: Renderer2 },
1023
- { type: ElementRef }
1024
- ]; };
1025
- TdLayoutNavListOpenDirective.propDecorators = {
1026
- tdLayoutNavListOpen: [{ type: Input, args: ['tdLayoutNavListOpen',] }]
1027
- };
1028
- return TdLayoutNavListOpenDirective;
1029
- }(LayoutToggle));
1030
-
1031
- /**
1032
- * @fileoverview added by tsickle
1033
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1034
- */
1035
- var TdLayoutCardOverComponent = /** @class */ (function () {
1036
- function TdLayoutCardOverComponent() {
1037
- /**
1038
- * cardWidth?: string
1039
- *
1040
- * Card flex width in %.
1041
- * Defaults to 70%.
1042
- */
1043
- this.cardWidth = 70;
1044
- /**
1045
- * color?: 'accent' | 'primary' | 'warn'
1046
- *
1047
- * toolbar color option: primary | accent | warn.
1048
- * If [color] is not set, primary is used.
1049
- */
1050
- this.color = 'primary';
1051
- }
1052
- TdLayoutCardOverComponent.decorators = [
1053
- { type: Component, args: [{
1054
- selector: 'td-layout-card-over',
1055
- template: "<mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\"></mat-toolbar>\n<div class=\"td-layout-card-over-wrapper\">\n <div\n class=\"td-layout-card-over\"\n [style.max-width.%]=\"cardWidth\"\n [style.flex]=\"'1 1 ' + cardWidth + '%'\"\n [style.-ms-flex]=\"'1 1 ' + cardWidth + '%'\"\n [style.-webkit-box-flex]=\"1\"\n >\n <mat-card>\n <mat-card-title *ngIf=\"cardTitle\">{{ cardTitle }}</mat-card-title>\n <mat-card-subtitle *ngIf=\"cardSubtitle\">{{ cardSubtitle }}</mat-card-subtitle>\n <mat-divider *ngIf=\"cardTitle || cardSubtitle\"></mat-divider>\n <ng-content></ng-content>\n </mat-card>\n <ng-content select=\"[td-after-card]\"></ng-content>\n </div>\n</div>\n",
1056
- styles: [":host{position:relative;display:block;z-index:2;width:100%;min-height:100%;height:100%}:host [td-after-card]{display:block}.td-layout-card-over-wrapper{margin:-64px 0;width:100%;min-height:100%;height:100%}@media (min-width:600px){.td-layout-card-over-wrapper{-ms-flex-direction:row;flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-line-pack:start;align-content:flex-start;-ms-flex-pack:center;justify-content:center}.td-layout-card-over-wrapper .td-layout-card-over{max-height:100%;box-sizing:border-box}}@media (max-width:599px){.td-layout-card-over-wrapper .td-layout-card-over{max-width:100%!important}}"]
1057
- }] }
1058
- ];
1059
- TdLayoutCardOverComponent.propDecorators = {
1060
- cardTitle: [{ type: Input }],
1061
- cardSubtitle: [{ type: Input }],
1062
- cardWidth: [{ type: Input }],
1063
- color: [{ type: Input }]
1064
- };
1065
- return TdLayoutCardOverComponent;
1066
- }());
1067
- if (false) {
1068
- /**
1069
- * cardTitle?: string
1070
- *
1071
- * Title set in card.
1072
- * @type {?}
1073
- */
1074
- TdLayoutCardOverComponent.prototype.cardTitle;
1075
- /**
1076
- * cardSubtitle?: string
1077
- *
1078
- * Subtitle set in card.
1079
- * @type {?}
1080
- */
1081
- TdLayoutCardOverComponent.prototype.cardSubtitle;
1082
- /**
1083
- * cardWidth?: string
1084
- *
1085
- * Card flex width in %.
1086
- * Defaults to 70%.
1087
- * @type {?}
1088
- */
1089
- TdLayoutCardOverComponent.prototype.cardWidth;
1090
- /**
1091
- * color?: 'accent' | 'primary' | 'warn'
1092
- *
1093
- * toolbar color option: primary | accent | warn.
1094
- * If [color] is not set, primary is used.
1095
- * @type {?}
1096
- */
1097
- TdLayoutCardOverComponent.prototype.color;
1098
- }
1099
-
1100
- /**
1101
- * @fileoverview added by tsickle
1102
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1103
- */
1104
- var TdLayoutManageListComponent = /** @class */ (function () {
1105
- function TdLayoutManageListComponent() {
1106
- /**
1107
- * mode?: 'side', 'push' or 'over'
1108
- *
1109
- * The mode or styling of the sidenav.
1110
- * Defaults to "side".
1111
- * See "MatSidenav" documentation for more info.
1112
- *
1113
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
1114
- */
1115
- this.mode = 'side';
1116
- /**
1117
- * opened?: boolean
1118
- *
1119
- * Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
1120
- * Defaults to "true".
1121
- *
1122
- * See "MatSidenav" documentation for more info.
1123
- *
1124
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
1125
- */
1126
- this.opened = true;
1127
- /**
1128
- * sidenavWidth?: string
1129
- *
1130
- * Sets the "width" of the sidenav in either "px" or "%"
1131
- * Defaults to "257px".
1132
- *
1133
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
1134
- */
1135
- this.sidenavWidth = '257px';
1136
- /**
1137
- * containerAutosize?: boolean
1138
- *
1139
- * Sets "autosize" of the sidenav-container.
1140
- * Defaults to "false".
1141
- *
1142
- * See documentation for more info and potential performance risks.
1143
- *
1144
- * https://github.com/angular/material2/blob/master/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
1145
- */
1146
- this.containerAutosize = false;
1147
- }
1148
- Object.defineProperty(TdLayoutManageListComponent.prototype, "disableClose", {
1149
- /**
1150
- * Checks if `ESC` should close the sidenav
1151
- * Should only close it for `push` and `over` modes
1152
- */
1153
- get: /**
1154
- * Checks if `ESC` should close the sidenav
1155
- * Should only close it for `push` and `over` modes
1156
- * @return {?}
1157
- */
1158
- function () {
1159
- return this.mode === 'side';
1160
- },
1161
- enumerable: true,
1162
- configurable: true
1163
- });
1164
- /**
1165
- * Proxy toggle method to access sidenav from outside (from td-layout template).
1166
- */
1167
- /**
1168
- * Proxy toggle method to access sidenav from outside (from td-layout template).
1169
- * @return {?}
1170
- */
1171
- TdLayoutManageListComponent.prototype.toggle = /**
1172
- * Proxy toggle method to access sidenav from outside (from td-layout template).
1173
- * @return {?}
1174
- */
1175
- function () {
1176
- return this.sidenav.toggle(!this.sidenav.opened);
1177
- };
1178
- /**
1179
- * Proxy open method to access sidenav from outside (from td-layout template).
1180
- */
1181
- /**
1182
- * Proxy open method to access sidenav from outside (from td-layout template).
1183
- * @return {?}
1184
- */
1185
- TdLayoutManageListComponent.prototype.open = /**
1186
- * Proxy open method to access sidenav from outside (from td-layout template).
1187
- * @return {?}
1188
- */
1189
- function () {
1190
- return this.sidenav.open();
1191
- };
1192
- /**
1193
- * Proxy close method to access sidenav from outside (from td-layout template).
1194
- */
1195
- /**
1196
- * Proxy close method to access sidenav from outside (from td-layout template).
1197
- * @return {?}
1198
- */
1199
- TdLayoutManageListComponent.prototype.close = /**
1200
- * Proxy close method to access sidenav from outside (from td-layout template).
1201
- * @return {?}
1202
- */
1203
- function () {
1204
- return this.sidenav.close();
1205
- };
1206
- TdLayoutManageListComponent.decorators = [
1207
- { type: Component, args: [{
1208
- selector: 'td-layout-manage-list',
1209
- template: "<mat-sidenav-container fullscreen [autosize]=\"containerAutosize\" class=\"td-layout-manage-list\">\n <mat-sidenav\n #sidenav\n position=\"start\"\n [mode]=\"mode\"\n [opened]=\"opened\"\n [disableClose]=\"disableClose\"\n [style.max-width]=\"sidenavWidth\"\n [style.min-width]=\"sidenavWidth\"\n >\n <ng-content select=\"mat-toolbar[td-sidenav-content]\"></ng-content>\n <div class=\"td-layout-manage-list-sidenav\" cdkScrollable>\n <ng-content select=\"[td-sidenav-content]\"></ng-content>\n </div>\n </mat-sidenav>\n <div class=\"td-layout-manage-list-main\">\n <ng-content select=\"mat-toolbar\"></ng-content>\n <div class=\"td-layout-manage-list-content\" cdkScrollable>\n <ng-content></ng-content>\n </div>\n <ng-content select=\"td-layout-footer-inner\"></ng-content>\n </div>\n</mat-sidenav-container>\n",
1210
- styles: [":host{display:-ms-flexbox;display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}:host mat-sidenav-container.td-layout-manage-list{-ms-flex:1;flex:1}:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-closed,:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-closing,:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-opened,:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-opening{box-shadow:0 1px 3px 0 rgba(0,0,0,.2)}:host .td-layout-manage-list-sidenav{text-align:start;-ms-flex:1;flex:1;display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}:host .td-layout-manage-list-main{margin:0;width:100%;min-height:100%;height:100%;position:relative;overflow:auto;-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex}:host .td-layout-manage-list-main .td-layout-manage-list-content{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch;-ms-flex:1;flex:1}:host ::ng-deep mat-sidenav-container.td-layout-manage-list>.mat-drawer-content{-ms-flex-positive:1;flex-grow:1}:host ::ng-deep mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container{box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host ::ng-deep mat-nav-list a[mat-list-item] .mat-list-item-content{font-size:14px}:host ::ng-deep .mat-toolbar{font-weight:400}"]
1211
- }] }
1212
- ];
1213
- TdLayoutManageListComponent.propDecorators = {
1214
- sidenav: [{ type: ViewChild, args: [MatSidenav, { static: true },] }],
1215
- mode: [{ type: Input }],
1216
- opened: [{ type: Input }],
1217
- sidenavWidth: [{ type: Input }],
1218
- containerAutosize: [{ type: Input }]
1219
- };
1220
- return TdLayoutManageListComponent;
1221
- }());
1222
- if (false) {
1223
- /** @type {?} */
1224
- TdLayoutManageListComponent.prototype.sidenav;
1225
- /**
1226
- * mode?: 'side', 'push' or 'over'
1227
- *
1228
- * The mode or styling of the sidenav.
1229
- * Defaults to "side".
1230
- * See "MatSidenav" documentation for more info.
1231
- *
1232
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
1233
- * @type {?}
1234
- */
1235
- TdLayoutManageListComponent.prototype.mode;
1236
- /**
1237
- * opened?: boolean
1238
- *
1239
- * Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
1240
- * Defaults to "true".
1241
- *
1242
- * See "MatSidenav" documentation for more info.
1243
- *
1244
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
1245
- * @type {?}
1246
- */
1247
- TdLayoutManageListComponent.prototype.opened;
1248
- /**
1249
- * sidenavWidth?: string
1250
- *
1251
- * Sets the "width" of the sidenav in either "px" or "%"
1252
- * Defaults to "257px".
1253
- *
1254
- * https://github.com/angular/material2/tree/master/src/lib/sidenav
1255
- * @type {?}
1256
- */
1257
- TdLayoutManageListComponent.prototype.sidenavWidth;
1258
- /**
1259
- * containerAutosize?: boolean
1260
- *
1261
- * Sets "autosize" of the sidenav-container.
1262
- * Defaults to "false".
1263
- *
1264
- * See documentation for more info and potential performance risks.
1265
- *
1266
- * https://github.com/angular/material2/blob/master/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
1267
- * @type {?}
1268
- */
1269
- TdLayoutManageListComponent.prototype.containerAutosize;
1270
- }
1271
-
1272
- /**
1273
- * @fileoverview added by tsickle
1274
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1275
- */
1276
- var TdLayoutManageListToggleDirective = /** @class */ (function (_super) {
1277
- __extends(TdLayoutManageListToggleDirective, _super);
1278
- function TdLayoutManageListToggleDirective(layout, renderer, elementRef) {
1279
- return _super.call(this, layout, renderer, elementRef) || this;
1280
- }
1281
- Object.defineProperty(TdLayoutManageListToggleDirective.prototype, "tdLayoutManageListToggle", {
1282
- set: /**
1283
- * @param {?} tdLayoutManageListToggle
1284
- * @return {?}
1285
- */
1286
- function (tdLayoutManageListToggle) {
1287
- this.disabled = !((/** @type {?} */ (tdLayoutManageListToggle)) === '' || tdLayoutManageListToggle);
1288
- },
1289
- enumerable: true,
1290
- configurable: true
1291
- });
1292
- /**
1293
- * @return {?}
1294
- */
1295
- TdLayoutManageListToggleDirective.prototype.onClick = /**
1296
- * @return {?}
1297
- */
1298
- function () {
1299
- this._layout.toggle();
1300
- };
1301
- TdLayoutManageListToggleDirective.decorators = [
1302
- { type: Directive, args: [{
1303
- selector: '[tdLayoutManageListToggle]',
1304
- inputs: ['hideWhenOpened'],
1305
- },] }
1306
- ];
1307
- /** @nocollapse */
1308
- TdLayoutManageListToggleDirective.ctorParameters = function () { return [
1309
- { type: TdLayoutManageListComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
1310
- * @return {?}
1311
- */
1312
- function () { return TdLayoutManageListComponent; })),] }] },
1313
- { type: Renderer2 },
1314
- { type: ElementRef }
1315
- ]; };
1316
- TdLayoutManageListToggleDirective.propDecorators = {
1317
- tdLayoutManageListToggle: [{ type: Input, args: ['tdLayoutManageListToggle',] }]
1318
- };
1319
- return TdLayoutManageListToggleDirective;
1320
- }(LayoutToggle));
1321
- var TdLayoutManageListCloseDirective = /** @class */ (function (_super) {
1322
- __extends(TdLayoutManageListCloseDirective, _super);
1323
- function TdLayoutManageListCloseDirective(layout, renderer, elementRef) {
1324
- return _super.call(this, layout, renderer, elementRef) || this;
1325
- }
1326
- Object.defineProperty(TdLayoutManageListCloseDirective.prototype, "tdLayoutManageListClose", {
1327
- set: /**
1328
- * @param {?} tdLayoutManageListClose
1329
- * @return {?}
1330
- */
1331
- function (tdLayoutManageListClose) {
1332
- this.disabled = !((/** @type {?} */ (tdLayoutManageListClose)) === '' || tdLayoutManageListClose);
1333
- },
1334
- enumerable: true,
1335
- configurable: true
1336
- });
1337
- /**
1338
- * @return {?}
1339
- */
1340
- TdLayoutManageListCloseDirective.prototype.onClick = /**
1341
- * @return {?}
1342
- */
1343
- function () {
1344
- this._layout.close();
1345
- };
1346
- TdLayoutManageListCloseDirective.decorators = [
1347
- { type: Directive, args: [{
1348
- selector: '[tdLayoutManageListClose]',
1349
- inputs: ['hideWhenOpened'],
1350
- },] }
1351
- ];
1352
- /** @nocollapse */
1353
- TdLayoutManageListCloseDirective.ctorParameters = function () { return [
1354
- { type: TdLayoutManageListComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
1355
- * @return {?}
1356
- */
1357
- function () { return TdLayoutManageListComponent; })),] }] },
1358
- { type: Renderer2 },
1359
- { type: ElementRef }
1360
- ]; };
1361
- TdLayoutManageListCloseDirective.propDecorators = {
1362
- tdLayoutManageListClose: [{ type: Input, args: ['tdLayoutManageListClose',] }]
1363
- };
1364
- return TdLayoutManageListCloseDirective;
1365
- }(LayoutToggle));
1366
- var TdLayoutManageListOpenDirective = /** @class */ (function (_super) {
1367
- __extends(TdLayoutManageListOpenDirective, _super);
1368
- function TdLayoutManageListOpenDirective(layout, renderer, elementRef) {
1369
- return _super.call(this, layout, renderer, elementRef) || this;
1370
- }
1371
- Object.defineProperty(TdLayoutManageListOpenDirective.prototype, "tdLayoutManageListOpen", {
1372
- set: /**
1373
- * @param {?} tdLayoutManageListOpen
1374
- * @return {?}
1375
- */
1376
- function (tdLayoutManageListOpen) {
1377
- this.disabled = !((/** @type {?} */ (tdLayoutManageListOpen)) === '' || tdLayoutManageListOpen);
1378
- },
1379
- enumerable: true,
1380
- configurable: true
1381
- });
1382
- /**
1383
- * @return {?}
1384
- */
1385
- TdLayoutManageListOpenDirective.prototype.onClick = /**
1386
- * @return {?}
1387
- */
1388
- function () {
1389
- this._layout.open();
1390
- };
1391
- TdLayoutManageListOpenDirective.decorators = [
1392
- { type: Directive, args: [{
1393
- selector: '[tdLayoutManageListOpen]',
1394
- inputs: ['hideWhenOpened'],
1395
- },] }
1396
- ];
1397
- /** @nocollapse */
1398
- TdLayoutManageListOpenDirective.ctorParameters = function () { return [
1399
- { type: TdLayoutManageListComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
1400
- * @return {?}
1401
- */
1402
- function () { return TdLayoutManageListComponent; })),] }] },
1403
- { type: Renderer2 },
1404
- { type: ElementRef }
1405
- ]; };
1406
- TdLayoutManageListOpenDirective.propDecorators = {
1407
- tdLayoutManageListOpen: [{ type: Input, args: ['tdLayoutManageListOpen',] }]
1408
- };
1409
- return TdLayoutManageListOpenDirective;
1410
- }(LayoutToggle));
1411
-
1412
- /**
1413
- * @fileoverview added by tsickle
1414
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1415
- */
1416
- var TdLayoutFooterComponent = /** @class */ (function () {
1417
- function TdLayoutFooterComponent(_renderer, _elementRef) {
1418
- this._renderer = _renderer;
1419
- this._elementRef = _elementRef;
1420
- this._renderer.addClass(this._elementRef.nativeElement, 'td-layout-footer');
1421
- }
1422
- Object.defineProperty(TdLayoutFooterComponent.prototype, "color", {
1423
- get: /**
1424
- * @return {?}
1425
- */
1426
- function () {
1427
- return this._color;
1428
- },
1429
- /**
1430
- * color?: 'accent' | 'primary' | 'warn'
1431
- *
1432
- * Optional color option: primary | accent | warn.
1433
- */
1434
- set: /**
1435
- * color?: 'accent' | 'primary' | 'warn'
1436
- *
1437
- * Optional color option: primary | accent | warn.
1438
- * @param {?} color
1439
- * @return {?}
1440
- */
1441
- function (color) {
1442
- if (color) {
1443
- this._renderer.removeClass(this._elementRef.nativeElement, 'mat-' + this._color);
1444
- this._color = color;
1445
- this._renderer.addClass(this._elementRef.nativeElement, 'mat-' + this._color);
1446
- }
1447
- },
1448
- enumerable: true,
1449
- configurable: true
1450
- });
1451
- TdLayoutFooterComponent.decorators = [
1452
- { type: Component, args: [{
1453
- /* tslint:disable-next-line */
1454
- selector: 'td-layout-footer,td-layout-footer-inner',
1455
- template: "<ng-content></ng-content>\n",
1456
- styles: [":host{display:block;padding:10px 16px}"]
1457
- }] }
1458
- ];
1459
- /** @nocollapse */
1460
- TdLayoutFooterComponent.ctorParameters = function () { return [
1461
- { type: Renderer2 },
1462
- { type: ElementRef }
1463
- ]; };
1464
- TdLayoutFooterComponent.propDecorators = {
1465
- color: [{ type: Input, args: ['color',] }]
1466
- };
1467
- return TdLayoutFooterComponent;
1468
- }());
1469
- if (false) {
1470
- /**
1471
- * @type {?}
1472
- * @private
1473
- */
1474
- TdLayoutFooterComponent.prototype._color;
1475
- /**
1476
- * @type {?}
1477
- * @private
1478
- */
1479
- TdLayoutFooterComponent.prototype._renderer;
1480
- /**
1481
- * @type {?}
1482
- * @private
1483
- */
1484
- TdLayoutFooterComponent.prototype._elementRef;
1485
- }
1486
-
1487
- /**
1488
- * @fileoverview added by tsickle
1489
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1490
- */
1491
- var TdNavigationDrawerMenuDirective = /** @class */ (function () {
1492
- function TdNavigationDrawerMenuDirective() {
1493
- }
1494
- TdNavigationDrawerMenuDirective.decorators = [
1495
- { type: Directive, args: [{
1496
- selector: '[td-navigation-drawer-menu]',
1497
- },] }
1498
- ];
1499
- return TdNavigationDrawerMenuDirective;
1500
- }());
1501
- var TdNavigationDrawerToolbarDirective = /** @class */ (function () {
1502
- function TdNavigationDrawerToolbarDirective() {
1503
- }
1504
- TdNavigationDrawerToolbarDirective.decorators = [
1505
- { type: Directive, args: [{
1506
- selector: '[td-navigation-drawer-toolbar]',
1507
- },] }
1508
- ];
1509
- return TdNavigationDrawerToolbarDirective;
1510
- }());
1511
- var TdNavigationDrawerComponent = /** @class */ (function () {
1512
- function TdNavigationDrawerComponent(_layout, _router, _sanitize) {
1513
- this._layout = _layout;
1514
- this._router = _router;
1515
- this._sanitize = _sanitize;
1516
- this._menuToggled = false;
1517
- }
1518
- Object.defineProperty(TdNavigationDrawerComponent.prototype, "menuToggled", {
1519
- get: /**
1520
- * @return {?}
1521
- */
1522
- function () {
1523
- return this._menuToggled;
1524
- },
1525
- enumerable: true,
1526
- configurable: true
1527
- });
1528
- Object.defineProperty(TdNavigationDrawerComponent.prototype, "isMenuAvailable", {
1529
- /**
1530
- * Checks if there is a [TdNavigationDrawerMenuDirective] has content.
1531
- */
1532
- get: /**
1533
- * Checks if there is a [TdNavigationDrawerMenuDirective] has content.
1534
- * @return {?}
1535
- */
1536
- function () {
1537
- return this._drawerMenu ? this._drawerMenu.length > 0 : false;
1538
- },
1539
- enumerable: true,
1540
- configurable: true
1541
- });
1542
- Object.defineProperty(TdNavigationDrawerComponent.prototype, "isCustomToolbar", {
1543
- /**
1544
- * Checks if there is a [TdNavigationDrawerToolbarDirective] has content.
1545
- */
1546
- get: /**
1547
- * Checks if there is a [TdNavigationDrawerToolbarDirective] has content.
1548
- * @return {?}
1549
- */
1550
- function () {
1551
- return this._toolbar ? this._toolbar.length > 0 : false;
1552
- },
1553
- enumerable: true,
1554
- configurable: true
1555
- });
1556
- Object.defineProperty(TdNavigationDrawerComponent.prototype, "isBackgroundAvailable", {
1557
- /**
1558
- * Checks if there is a background image for the toolbar.
1559
- */
1560
- get: /**
1561
- * Checks if there is a background image for the toolbar.
1562
- * @return {?}
1563
- */
1564
- function () {
1565
- return !!this._backgroundImage;
1566
- },
1567
- enumerable: true,
1568
- configurable: true
1569
- });
1570
- Object.defineProperty(TdNavigationDrawerComponent.prototype, "backgroundUrl", {
1571
- /**
1572
- * backgroundUrl?: SafeResourceUrl
1573
- *
1574
- * image to be displayed as the background of the toolbar.
1575
- * URL used will be sanitized, but it should be always from a trusted source to avoid XSS.
1576
- */
1577
- set: /**
1578
- * backgroundUrl?: SafeResourceUrl
1579
- *
1580
- * image to be displayed as the background of the toolbar.
1581
- * URL used will be sanitized, but it should be always from a trusted source to avoid XSS.
1582
- * @param {?} backgroundUrl
1583
- * @return {?}
1584
- */
1585
- function (backgroundUrl) {
1586
- if (backgroundUrl) {
1587
- /** @type {?} */
1588
- var sanitizedUrl = this._sanitize.sanitize(SecurityContext.RESOURCE_URL, backgroundUrl);
1589
- this._backgroundImage = this._sanitize.sanitize(SecurityContext.STYLE, 'url(' + sanitizedUrl + ')');
1590
- }
1591
- },
1592
- enumerable: true,
1593
- configurable: true
1594
- });
1595
- Object.defineProperty(TdNavigationDrawerComponent.prototype, "backgroundImage", {
1596
- get: /**
1597
- * @return {?}
1598
- */
1599
- function () {
1600
- return this._backgroundImage;
1601
- },
1602
- enumerable: true,
1603
- configurable: true
1604
- });
1605
- Object.defineProperty(TdNavigationDrawerComponent.prototype, "routerEnabled", {
1606
- /**
1607
- * Checks if router was injected.
1608
- */
1609
- get: /**
1610
- * Checks if router was injected.
1611
- * @return {?}
1612
- */
1613
- function () {
1614
- return !!this._router && !!this.navigationRoute;
1615
- },
1616
- enumerable: true,
1617
- configurable: true
1618
- });
1619
- /**
1620
- * @return {?}
1621
- */
1622
- TdNavigationDrawerComponent.prototype.ngOnInit = /**
1623
- * @return {?}
1624
- */
1625
- function () {
1626
- var _this = this;
1627
- this._closeSubscription = this._layout.sidenav.openedChange.subscribe((/**
1628
- * @param {?} opened
1629
- * @return {?}
1630
- */
1631
- function (opened) {
1632
- if (!opened) {
1633
- _this._menuToggled = false;
1634
- }
1635
- }));
1636
- };
1637
- /**
1638
- * @return {?}
1639
- */
1640
- TdNavigationDrawerComponent.prototype.ngOnDestroy = /**
1641
- * @return {?}
1642
- */
1643
- function () {
1644
- if (this._closeSubscription) {
1645
- this._closeSubscription.unsubscribe();
1646
- this._closeSubscription = undefined;
1647
- }
1648
- };
1649
- /**
1650
- * @return {?}
1651
- */
1652
- TdNavigationDrawerComponent.prototype.toggleMenu = /**
1653
- * @return {?}
1654
- */
1655
- function () {
1656
- if (this.isMenuAvailable) {
1657
- this._menuToggled = !this._menuToggled;
1658
- }
1659
- };
1660
- /**
1661
- * @return {?}
1662
- */
1663
- TdNavigationDrawerComponent.prototype.handleNavigationClick = /**
1664
- * @return {?}
1665
- */
1666
- function () {
1667
- if (this.routerEnabled) {
1668
- this._router.navigateByUrl(this.navigationRoute);
1669
- this.close();
1670
- }
1671
- };
1672
- /**
1673
- * Proxy toggle method to access sidenav from outside (from td-layout template).
1674
- */
1675
- /**
1676
- * Proxy toggle method to access sidenav from outside (from td-layout template).
1677
- * @return {?}
1678
- */
1679
- TdNavigationDrawerComponent.prototype.toggle = /**
1680
- * Proxy toggle method to access sidenav from outside (from td-layout template).
1681
- * @return {?}
1682
- */
1683
- function () {
1684
- return this._layout.toggle();
1685
- };
1686
- /**
1687
- * Proxy open method to access sidenav from outside (from td-layout template).
1688
- */
1689
- /**
1690
- * Proxy open method to access sidenav from outside (from td-layout template).
1691
- * @return {?}
1692
- */
1693
- TdNavigationDrawerComponent.prototype.open = /**
1694
- * Proxy open method to access sidenav from outside (from td-layout template).
1695
- * @return {?}
1696
- */
1697
- function () {
1698
- return this._layout.open();
1699
- };
1700
- /**
1701
- * Proxy close method to access sidenav from outside (from td-layout template).
1702
- */
1703
- /**
1704
- * Proxy close method to access sidenav from outside (from td-layout template).
1705
- * @return {?}
1706
- */
1707
- TdNavigationDrawerComponent.prototype.close = /**
1708
- * Proxy close method to access sidenav from outside (from td-layout template).
1709
- * @return {?}
1710
- */
1711
- function () {
1712
- return this._layout.close();
1713
- };
1714
- TdNavigationDrawerComponent.decorators = [
1715
- { type: Component, args: [{
1716
- selector: 'td-navigation-drawer',
1717
- template: "<mat-toolbar\n [color]=\"color\"\n [style.background-image]=\"backgroundImage\"\n [class.td-toolbar-background]=\"!!isBackgroundAvailable\"\n class=\"td-nagivation-drawer-toolbar\"\n>\n <ng-content select=\"[td-navigation-drawer-toolbar]\"></ng-content>\n <ng-container *ngIf=\"!isCustomToolbar\">\n <div\n *ngIf=\"icon || logo || sidenavTitle || avatar\"\n class=\"td-navigation-drawer-toolbar-content\"\n [class.cursor-pointer]=\"routerEnabled\"\n (click)=\"handleNavigationClick()\"\n >\n <mat-icon *ngIf=\"icon\">{{ icon }}</mat-icon>\n <mat-icon *ngIf=\"logo && !icon\" class=\"mat-icon-logo\" [svgIcon]=\"logo\"></mat-icon>\n <img *ngIf=\"avatar && !logo && !icon\" class=\"td-nagivation-drawer-toolbar-avatar\" [attr.src]=\"avatar\" />\n <span *ngIf=\"sidenavTitle\" class=\"td-navigation-drawer-title\">{{ sidenavTitle }}</span>\n </div>\n <div class=\"td-navigation-drawer-name\" *ngIf=\"email && name\">{{ name }}</div>\n <div class=\"td-navigation-drawer-menu-toggle\" href *ngIf=\"email || name\" (click)=\"toggleMenu()\">\n <span class=\"td-navigation-drawer-label\">{{ email || name }}</span>\n <button mat-icon-button class=\"td-navigation-drawer-menu-button\" *ngIf=\"isMenuAvailable\">\n <mat-icon *ngIf=\"!menuToggled\">arrow_drop_down</mat-icon>\n <mat-icon *ngIf=\"menuToggled\">arrow_drop_up</mat-icon>\n </button>\n </div>\n </ng-container>\n</mat-toolbar>\n<div class=\"td-navigation-drawer-content\" [@tdCollapse]=\"menuToggled\">\n <ng-content></ng-content>\n</div>\n<div class=\"td-navigation-drawer-menu-content\" [@tdCollapse]=\"!menuToggled\">\n <ng-content select=\"[td-navigation-drawer-menu]\"></ng-content>\n</div>\n",
1718
- animations: [tdCollapseAnimation],
1719
- styles: [":host{width:100%}:host .td-navigation-drawer-content.ng-animating,:host .td-navigation-drawer-menu-content.ng-animating{overflow:hidden}:host mat-toolbar{padding:16px}:host mat-toolbar.td-toolbar-background{background-repeat:no-repeat;background-size:cover}:host mat-toolbar.td-nagivation-drawer-toolbar{-ms-flex-direction:column;flex-direction:column;height:auto!important;display:block!important}:host mat-toolbar .td-navigation-drawer-toolbar-content{-ms-flex-direction:row;flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;max-width:100%;-ms-flex-pack:start;justify-content:flex-start}:host mat-toolbar .td-navigation-drawer-toolbar-content .td-nagivation-drawer-toolbar-avatar{border-radius:50%;height:60px;width:60px;margin:0 12px 12px 0}:host mat-toolbar .td-navigation-drawer-toolbar-content .td-navigation-drawer-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host mat-toolbar .td-navigation-drawer-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host mat-toolbar .td-navigation-drawer-menu-toggle{-ms-flex-direction:row;flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex}:host mat-toolbar .td-navigation-drawer-menu-toggle .td-navigation-drawer-label{-ms-flex:1;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host mat-toolbar .td-navigation-drawer-menu-toggle .td-navigation-drawer-menu-button{height:24px;line-height:24px;width:24px}:host>div{overflow:hidden}"]
1720
- }] }
1721
- ];
1722
- /** @nocollapse */
1723
- TdNavigationDrawerComponent.ctorParameters = function () { return [
1724
- { type: TdLayoutComponent, decorators: [{ type: Inject, args: [forwardRef((/**
1725
- * @return {?}
1726
- */
1727
- function () { return TdLayoutComponent; })),] }] },
1728
- { type: Router, decorators: [{ type: Optional }] },
1729
- { type: DomSanitizer }
1730
- ]; };
1731
- TdNavigationDrawerComponent.propDecorators = {
1732
- _drawerMenu: [{ type: ContentChildren, args: [TdNavigationDrawerMenuDirective, { descendants: true },] }],
1733
- _toolbar: [{ type: ContentChildren, args: [TdNavigationDrawerToolbarDirective, { descendants: true },] }],
1734
- sidenavTitle: [{ type: Input }],
1735
- icon: [{ type: Input }],
1736
- logo: [{ type: Input }],
1737
- avatar: [{ type: Input }],
1738
- color: [{ type: Input }],
1739
- navigationRoute: [{ type: Input }],
1740
- backgroundUrl: [{ type: Input, args: ['backgroundUrl',] }],
1741
- name: [{ type: Input }],
1742
- email: [{ type: Input }]
1743
- };
1744
- return TdNavigationDrawerComponent;
1745
- }());
1746
- if (false) {
1747
- /**
1748
- * @type {?}
1749
- * @private
1750
- */
1751
- TdNavigationDrawerComponent.prototype._closeSubscription;
1752
- /**
1753
- * @type {?}
1754
- * @private
1755
- */
1756
- TdNavigationDrawerComponent.prototype._menuToggled;
1757
- /**
1758
- * @type {?}
1759
- * @private
1760
- */
1761
- TdNavigationDrawerComponent.prototype._backgroundImage;
1762
- /** @type {?} */
1763
- TdNavigationDrawerComponent.prototype._drawerMenu;
1764
- /** @type {?} */
1765
- TdNavigationDrawerComponent.prototype._toolbar;
1766
- /**
1767
- * sidenavTitle?: string
1768
- * Title set in sideNav.
1769
- * @type {?}
1770
- */
1771
- TdNavigationDrawerComponent.prototype.sidenavTitle;
1772
- /**
1773
- * icon?: string
1774
- *
1775
- * icon name to be displayed before the title
1776
- * @type {?}
1777
- */
1778
- TdNavigationDrawerComponent.prototype.icon;
1779
- /**
1780
- * logo?: string
1781
- *
1782
- * logo icon name to be displayed before the title.
1783
- * If [icon] is set, then this will not be shown.
1784
- * @type {?}
1785
- */
1786
- TdNavigationDrawerComponent.prototype.logo;
1787
- /**
1788
- * avatar?: string
1789
- *
1790
- * avatar url to be displayed before the title
1791
- * If [icon] or [logo] are set, then this will not be shown.
1792
- * @type {?}
1793
- */
1794
- TdNavigationDrawerComponent.prototype.avatar;
1795
- /**
1796
- * color?: 'accent' | 'primary' | 'warn'
1797
- *
1798
- * toolbar color option: primary | accent | warn.
1799
- * If [color] is not set, default is used.
1800
- * @type {?}
1801
- */
1802
- TdNavigationDrawerComponent.prototype.color;
1803
- /**
1804
- * navigationRoute?: string
1805
- *
1806
- * option to set the combined route for the icon, logo, and sidenavTitle.
1807
- * @type {?}
1808
- */
1809
- TdNavigationDrawerComponent.prototype.navigationRoute;
1810
- /**
1811
- * name?: string
1812
- *
1813
- * string to be displayed as part of the navigation drawer sublabel.
1814
- * if [email] is not set, then [name] will be the toggle menu text.
1815
- * @type {?}
1816
- */
1817
- TdNavigationDrawerComponent.prototype.name;
1818
- /**
1819
- * email?: string
1820
- *
1821
- * string to be displayed as part of the navigation drawer sublabel in the [toggle] menu text.
1822
- * if [email] and [name] are not set, then the toggle menu is not rendered.
1823
- * @type {?}
1824
- */
1825
- TdNavigationDrawerComponent.prototype.email;
1826
- /**
1827
- * @type {?}
1828
- * @private
1829
- */
1830
- TdNavigationDrawerComponent.prototype._layout;
1831
- /**
1832
- * @type {?}
1833
- * @private
1834
- */
1835
- TdNavigationDrawerComponent.prototype._router;
1836
- /**
1837
- * @type {?}
1838
- * @private
1839
- */
1840
- TdNavigationDrawerComponent.prototype._sanitize;
1841
- }
1842
-
1843
- /**
1844
- * @fileoverview added by tsickle
1845
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1846
- */
1847
- /** @type {?} */
1848
- var TD_LAYOUTS = [
1849
- TdLayoutComponent,
1850
- TdLayoutToggleDirective,
1851
- TdLayoutCloseDirective,
1852
- TdLayoutOpenDirective,
1853
- TdLayoutNavComponent,
1854
- TdLayoutNavListComponent,
1855
- TdLayoutNavListToggleDirective,
1856
- TdLayoutNavListCloseDirective,
1857
- TdLayoutNavListOpenDirective,
1858
- TdLayoutCardOverComponent,
1859
- TdLayoutManageListComponent,
1860
- TdLayoutManageListToggleDirective,
1861
- TdLayoutManageListCloseDirective,
1862
- TdLayoutManageListOpenDirective,
1863
- TdLayoutFooterComponent,
1864
- TdNavigationDrawerComponent,
1865
- TdNavigationDrawerMenuDirective,
1866
- TdNavigationDrawerToolbarDirective,
1867
- ];
1868
- var CovalentLayoutModule = /** @class */ (function () {
1869
- function CovalentLayoutModule() {
1870
- }
1871
- CovalentLayoutModule.decorators = [
1872
- { type: NgModule, args: [{
1873
- imports: [
1874
- CommonModule,
1875
- ScrollingModule,
1876
- MatSidenavModule,
1877
- MatToolbarModule,
1878
- MatButtonModule,
1879
- MatIconModule,
1880
- MatCardModule,
1881
- MatDividerModule,
1882
- ],
1883
- declarations: [TD_LAYOUTS],
1884
- exports: [TD_LAYOUTS],
1885
- },] }
1886
- ];
1887
- return CovalentLayoutModule;
1888
- }());
1889
-
1890
- /**
1891
- * @fileoverview added by tsickle
1892
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1893
- */
1894
-
1895
- /**
1896
- * @fileoverview added by tsickle
1897
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1898
- */
1899
-
1900
- /**
1901
- * @fileoverview added by tsickle
1902
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1903
- */
1904
-
1905
- export { CovalentLayoutModule, LayoutToggle, LayoutToggleBase, TdLayoutCardOverComponent, TdLayoutCloseDirective, TdLayoutComponent, TdLayoutFooterComponent, TdLayoutManageListCloseDirective, TdLayoutManageListComponent, TdLayoutManageListOpenDirective, TdLayoutManageListToggleDirective, TdLayoutNavComponent, TdLayoutNavListCloseDirective, TdLayoutNavListComponent, TdLayoutNavListOpenDirective, TdLayoutNavListToggleDirective, TdLayoutOpenDirective, TdLayoutToggleDirective, TdNavigationDrawerComponent, TdNavigationDrawerMenuDirective, TdNavigationDrawerToolbarDirective, _TdLayoutToggleMixinBase };
1906
- //# sourceMappingURL=covalent-core-layout.js.map