@covalent/core 4.0.0 → 4.1.0-develop.10

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 (602) hide show
  1. package/README.md +5 -4
  2. package/breadcrumbs/README.md +21 -17
  3. package/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -1
  4. package/breadcrumbs/breadcrumbs.component.d.ts +6 -4
  5. package/breadcrumbs/breadcrumbs.module.d.ts +8 -0
  6. package/breadcrumbs/covalent-core-breadcrumbs.d.ts +2 -1
  7. package/breadcrumbs/package.json +6 -7
  8. package/breadcrumbs/{public-api.d.ts → public_api.d.ts} +0 -0
  9. package/common/README.md +3 -0
  10. package/common/_common-theme.scss +3 -1
  11. package/common/behaviors/disable-ripple.mixin.d.ts +1 -1
  12. package/common/behaviors/disabled.mixin.d.ts +1 -1
  13. package/common/common.module.d.ts +15 -0
  14. package/common/covalent-core-common.d.ts +2 -3
  15. package/common/directives/fullscreen/fullscreen.directive.d.ts +3 -0
  16. package/common/forms/auto-trim/auto-trim.directive.d.ts +3 -0
  17. package/common/material-icons.css +1 -98
  18. package/common/material-icons.css.map +1 -1
  19. package/common/package.json +6 -7
  20. package/common/pipes/bytes/bytes.pipe.d.ts +3 -0
  21. package/common/pipes/decimal-bytes/decimal-bytes.pipe.d.ts +3 -0
  22. package/common/pipes/digits/digits.pipe.d.ts +3 -0
  23. package/common/pipes/time-ago/time-ago.pipe.d.ts +3 -0
  24. package/common/pipes/time-difference/time-difference.pipe.d.ts +3 -0
  25. package/common/pipes/time-until/time-until.pipe.d.ts +3 -0
  26. package/common/pipes/truncate/truncate.pipe.d.ts +4 -1
  27. package/common/platform.css +1 -15424
  28. package/common/platform.css.map +1 -1
  29. package/common/{public-api.d.ts → public_api.d.ts} +0 -0
  30. package/common/services/icon.service.d.ts +3 -0
  31. package/common/services/router-path.service.d.ts +3 -0
  32. package/common/styles/_elevation.scss +7 -2
  33. package/common/styles/_layout.scss +12 -10
  34. package/common/styles/_palette-dark.scss +2 -2
  35. package/common/styles/_palette-light.scss +6 -6
  36. package/common/styles/_rtl.scss +3 -0
  37. package/common/styles/_typography-functions.scss +10 -2
  38. package/common/styles/_variables.scss +7 -6
  39. package/common/styles/colors/_colors-dark.scss +327 -0
  40. package/common/styles/colors/_colors-light.scss +748 -0
  41. package/common/styles/core/_button.scss +37 -6
  42. package/common/styles/core/_card.scss +34 -9
  43. package/common/styles/core/_content.scss +2 -1
  44. package/common/styles/core/_divider.scss +1 -0
  45. package/common/styles/core/_icons.scss +2 -0
  46. package/common/styles/core/_sidenav.scss +2 -0
  47. package/common/styles/core/_structure.scss +6 -7
  48. package/common/styles/core/_toolbar.scss +7 -0
  49. package/common/styles/core/_whiteframe.scss +18 -10
  50. package/common/styles/font/README.md +4 -2
  51. package/common/styles/font/_font.scss +10 -4
  52. package/common/styles/utilities/_general.scss +14 -0
  53. package/common/styles/utilities/_text.scss +21 -0
  54. package/covalent-core.d.ts +2 -1
  55. package/dialogs/README.md +38 -30
  56. package/dialogs/_dialog-theme.scss +1 -0
  57. package/dialogs/alert-dialog/alert-dialog.component.d.ts +6 -3
  58. package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +5 -2
  59. package/dialogs/covalent-core-dialogs.d.ts +2 -2
  60. package/dialogs/dialog.component.d.ts +9 -0
  61. package/dialogs/dialogs.module.d.ts +17 -0
  62. package/dialogs/package.json +6 -7
  63. package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +6 -3
  64. package/dialogs/{public-api.d.ts → public_api.d.ts} +1 -0
  65. package/dialogs/services/dialog.service.d.ts +3 -0
  66. package/dialogs/src/README.md +223 -0
  67. package/dialogs/window-dialog/window-dialog.component.d.ts +8 -5
  68. package/dynamic-menu/README.md +6 -6
  69. package/dynamic-menu/covalent-core-dynamic-menu.d.ts +2 -2
  70. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +4 -1
  71. package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +4 -1
  72. package/dynamic-menu/dynamic-menu.component.d.ts +4 -22
  73. package/dynamic-menu/dynamic-menu.menu.d.ts +22 -0
  74. package/dynamic-menu/dynamic-menu.module.d.ts +13 -0
  75. package/dynamic-menu/package.json +6 -7
  76. package/dynamic-menu/public_api.d.ts +2 -0
  77. package/esm2020/breadcrumbs/breadcrumb/breadcrumb.component.mjs +92 -0
  78. package/esm2020/breadcrumbs/breadcrumbs.component.mjs +130 -0
  79. package/esm2020/breadcrumbs/breadcrumbs.module.mjs +20 -0
  80. package/esm2020/breadcrumbs/covalent-core-breadcrumbs.mjs +5 -0
  81. package/esm2020/breadcrumbs/public_api.mjs +4 -0
  82. package/esm2020/common/animations/bounce/bounce.animation.mjs +70 -0
  83. package/esm2020/common/animations/collapse/collapse.animation.mjs +51 -0
  84. package/esm2020/common/animations/common/interfaces.mjs +2 -0
  85. package/esm2020/common/animations/fade/fadeInOut.animation.mjs +37 -0
  86. package/esm2020/common/animations/flash/flash.animation.mjs +34 -0
  87. package/esm2020/common/animations/headshake/headshake.animation.mjs +47 -0
  88. package/esm2020/common/animations/jello/jello.animation.mjs +59 -0
  89. package/esm2020/common/animations/pulse/pulse.animation.mjs +32 -0
  90. package/esm2020/common/animations/rotate/rotate.animation.mjs +30 -0
  91. package/esm2020/common/behaviors/control-value-accesor.mixin.mjs +41 -0
  92. package/esm2020/common/behaviors/disable-ripple.mixin.mjs +24 -0
  93. package/esm2020/common/behaviors/disabled.mixin.mjs +24 -0
  94. package/esm2020/common/common.module.mjs +63 -0
  95. package/esm2020/common/covalent-core-common.mjs +5 -0
  96. package/esm2020/common/directives/fullscreen/fullscreen.directive.mjs +85 -0
  97. package/esm2020/common/forms/auto-trim/auto-trim.directive.mjs +36 -0
  98. package/esm2020/common/forms/validators/validators.mjs +29 -0
  99. package/esm2020/common/functions/clipboard.mjs +23 -0
  100. package/esm2020/common/functions/convert.mjs +84 -0
  101. package/esm2020/common/functions/download.mjs +75 -0
  102. package/esm2020/common/functions/file.mjs +16 -0
  103. package/esm2020/common/pipes/bytes/bytes.pipe.mjs +42 -0
  104. package/esm2020/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +42 -0
  105. package/esm2020/common/pipes/digits/digits.pipe.mjs +39 -0
  106. package/esm2020/common/pipes/time-ago/time-ago.pipe.mjs +72 -0
  107. package/esm2020/common/pipes/time-difference/time-difference.pipe.mjs +51 -0
  108. package/esm2020/common/pipes/time-until/time-until.pipe.mjs +72 -0
  109. package/esm2020/common/pipes/truncate/truncate.pipe.mjs +27 -0
  110. package/esm2020/common/public_api.mjs +39 -0
  111. package/esm2020/common/services/icon.service.mjs +1089 -0
  112. package/esm2020/common/services/router-path.service.mjs +29 -0
  113. package/esm2020/covalent-core.mjs +5 -0
  114. package/esm2020/dialogs/alert-dialog/alert-dialog.component.mjs +23 -0
  115. package/esm2020/dialogs/confirm-dialog/confirm-dialog.component.mjs +28 -0
  116. package/esm2020/dialogs/covalent-core-dialogs.mjs +5 -0
  117. package/esm2020/dialogs/dialog.component.mjs +56 -0
  118. package/esm2020/dialogs/dialogs.module.mjs +89 -0
  119. package/esm2020/dialogs/prompt-dialog/prompt-dialog.component.mjs +46 -0
  120. package/esm2020/dialogs/public_api.mjs +9 -0
  121. package/esm2020/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +216 -0
  122. package/esm2020/dialogs/services/dialog.service.mjs +171 -0
  123. package/esm2020/dialogs/window-dialog/window-dialog.component.mjs +38 -0
  124. package/esm2020/dynamic-menu/covalent-core-dynamic-menu.mjs +5 -0
  125. package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +30 -0
  126. package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +24 -0
  127. package/esm2020/dynamic-menu/dynamic-menu.component.mjs +28 -0
  128. package/esm2020/dynamic-menu/dynamic-menu.menu.mjs +2 -0
  129. package/esm2020/dynamic-menu/dynamic-menu.module.mjs +57 -0
  130. package/esm2020/dynamic-menu/public_api.mjs +6 -0
  131. package/esm2020/file/covalent-core-file.mjs +5 -0
  132. package/esm2020/file/directives/file-drop.directive.mjs +147 -0
  133. package/esm2020/file/directives/file-select.directive.mjs +77 -0
  134. package/esm2020/file/file-input/file-input.component.mjs +110 -0
  135. package/esm2020/file/file-upload/file-upload.component.mjs +174 -0
  136. package/esm2020/file/file.module.mjs +58 -0
  137. package/esm2020/file/public_api.mjs +7 -0
  138. package/esm2020/file/services/file.service.mjs +64 -0
  139. package/esm2020/json-formatter/collapse.animation.mjs +51 -0
  140. package/esm2020/json-formatter/covalent-core-json-formatter.mjs +5 -0
  141. package/esm2020/json-formatter/json-formatter.component.mjs +217 -0
  142. package/esm2020/json-formatter/json-formatter.module.mjs +20 -0
  143. package/esm2020/json-formatter/public_api.mjs +3 -0
  144. package/esm2020/layout/covalent-core-layout.mjs +5 -0
  145. package/esm2020/layout/layout-card-over/layout-card-over.component.mjs +40 -0
  146. package/esm2020/layout/layout-footer/layout-footer.component.mjs +33 -0
  147. package/esm2020/layout/layout-manage-list/layout-manage-list.component.mjs +93 -0
  148. package/esm2020/layout/layout-manage-list/layout-manage-list.directives.mjs +84 -0
  149. package/esm2020/layout/layout-nav/layout-nav.component.mjs +50 -0
  150. package/esm2020/layout/layout-nav-list/layout-nav-list.component.mjs +128 -0
  151. package/esm2020/layout/layout-nav-list/layout-nav-list.directives.mjs +84 -0
  152. package/esm2020/layout/layout-toggle.class.mjs +92 -0
  153. package/esm2020/layout/layout.component.mjs +92 -0
  154. package/esm2020/layout/layout.directives.mjs +85 -0
  155. package/esm2020/layout/layout.module.mjs +117 -0
  156. package/esm2020/layout/navigation-drawer/navigation-drawer.component.mjs +161 -0
  157. package/esm2020/layout/public_api.mjs +13 -0
  158. package/esm2020/menu/covalent-core-menu.mjs +5 -0
  159. package/esm2020/menu/menu.component.mjs +12 -0
  160. package/esm2020/menu/menu.module.mjs +21 -0
  161. package/esm2020/menu/public_api.mjs +3 -0
  162. package/esm2020/message/collapse.animation.mjs +51 -0
  163. package/esm2020/message/covalent-core-message.mjs +5 -0
  164. package/esm2020/message/message.component.mjs +203 -0
  165. package/esm2020/message/message.module.mjs +25 -0
  166. package/esm2020/message/public_api.mjs +3 -0
  167. package/esm2020/public_api.mjs +2 -0
  168. package/esm2020/search/covalent-core-search.mjs +5 -0
  169. package/esm2020/search/public_api.mjs +4 -0
  170. package/esm2020/search/search-box/search-box.component.mjs +194 -0
  171. package/esm2020/search/search-input/search-input.component.mjs +203 -0
  172. package/esm2020/search/search.module.mjs +39 -0
  173. package/esm2020/side-sheet/covalent-core-side-sheet.mjs +5 -0
  174. package/esm2020/side-sheet/public_api.mjs +6 -0
  175. package/esm2020/side-sheet/side-sheet-container.mjs +274 -0
  176. package/esm2020/side-sheet/side-sheet-ref.mjs +21 -0
  177. package/esm2020/side-sheet/side-sheet.animation.mjs +12 -0
  178. package/esm2020/side-sheet/side-sheet.config.mjs +4 -0
  179. package/esm2020/side-sheet/side-sheet.content-directives.mjs +201 -0
  180. package/esm2020/side-sheet/side-sheet.mjs +221 -0
  181. package/esm2020/side-sheet/side-sheet.module.mjs +45 -0
  182. package/esm2020/user-profile/covalent-core-user-profile.mjs +5 -0
  183. package/esm2020/user-profile/public_api.mjs +4 -0
  184. package/esm2020/user-profile/user-profile-menu/user-profile-menu.component.mjs +24 -0
  185. package/esm2020/user-profile/user-profile.component.mjs +19 -0
  186. package/esm2020/user-profile/user-profile.module.mjs +44 -0
  187. package/fesm2015/covalent-core-breadcrumbs.mjs +242 -0
  188. package/fesm2015/covalent-core-breadcrumbs.mjs.map +1 -0
  189. package/fesm2015/covalent-core-common.mjs +2281 -0
  190. package/fesm2015/covalent-core-common.mjs.map +1 -0
  191. package/fesm2015/covalent-core-dialogs.mjs +639 -0
  192. package/fesm2015/covalent-core-dialogs.mjs.map +1 -0
  193. package/fesm2015/covalent-core-dynamic-menu.mjs +128 -0
  194. package/fesm2015/covalent-core-dynamic-menu.mjs.map +1 -0
  195. package/fesm2015/covalent-core-file.mjs +613 -0
  196. package/fesm2015/covalent-core-file.mjs.map +1 -0
  197. package/fesm2015/covalent-core-json-formatter.mjs +298 -0
  198. package/fesm2015/covalent-core-json-formatter.mjs.map +1 -0
  199. package/fesm2015/covalent-core-layout.mjs +1024 -0
  200. package/fesm2015/covalent-core-layout.mjs.map +1 -0
  201. package/fesm2015/covalent-core-menu.mjs +37 -0
  202. package/fesm2015/covalent-core-menu.mjs.map +1 -0
  203. package/fesm2015/covalent-core-message.mjs +284 -0
  204. package/fesm2015/covalent-core-message.mjs.map +1 -0
  205. package/fesm2015/covalent-core-search.mjs +428 -0
  206. package/fesm2015/covalent-core-search.mjs.map +1 -0
  207. package/fesm2015/covalent-core-side-sheet.mjs +762 -0
  208. package/fesm2015/covalent-core-side-sheet.mjs.map +1 -0
  209. package/fesm2015/covalent-core-user-profile.mjs +86 -0
  210. package/fesm2015/covalent-core-user-profile.mjs.map +1 -0
  211. package/fesm2015/covalent-core.mjs +4 -0
  212. package/fesm2015/covalent-core.mjs.map +1 -0
  213. package/fesm2020/covalent-core-breadcrumbs.mjs +242 -0
  214. package/fesm2020/covalent-core-breadcrumbs.mjs.map +1 -0
  215. package/{fesm2015/covalent-core-common.js → fesm2020/covalent-core-common.mjs} +317 -813
  216. package/fesm2020/covalent-core-common.mjs.map +1 -0
  217. package/fesm2020/covalent-core-dialogs.mjs +634 -0
  218. package/fesm2020/covalent-core-dialogs.mjs.map +1 -0
  219. package/fesm2020/covalent-core-dynamic-menu.mjs +128 -0
  220. package/fesm2020/covalent-core-dynamic-menu.mjs.map +1 -0
  221. package/fesm2020/covalent-core-file.mjs +607 -0
  222. package/fesm2020/covalent-core-file.mjs.map +1 -0
  223. package/fesm2020/covalent-core-json-formatter.mjs +290 -0
  224. package/fesm2020/covalent-core-json-formatter.mjs.map +1 -0
  225. package/fesm2020/covalent-core-layout.mjs +1000 -0
  226. package/fesm2020/covalent-core-layout.mjs.map +1 -0
  227. package/fesm2020/covalent-core-menu.mjs +37 -0
  228. package/fesm2020/covalent-core-menu.mjs.map +1 -0
  229. package/fesm2020/covalent-core-message.mjs +282 -0
  230. package/fesm2020/covalent-core-message.mjs.map +1 -0
  231. package/fesm2020/covalent-core-search.mjs +425 -0
  232. package/fesm2020/covalent-core-search.mjs.map +1 -0
  233. package/fesm2020/covalent-core-side-sheet.mjs +757 -0
  234. package/fesm2020/covalent-core-side-sheet.mjs.map +1 -0
  235. package/fesm2020/covalent-core-user-profile.mjs +86 -0
  236. package/fesm2020/covalent-core-user-profile.mjs.map +1 -0
  237. package/fesm2020/covalent-core.mjs +4 -0
  238. package/fesm2020/covalent-core.mjs.map +1 -0
  239. package/file/_file-theme.scss +3 -1
  240. package/file/covalent-core-file.d.ts +2 -1
  241. package/file/directives/file-drop.directive.d.ts +8 -6
  242. package/file/directives/file-select.directive.d.ts +5 -2
  243. package/file/file-input/file-input.component.d.ts +10 -5
  244. package/file/file-upload/file-upload.component.d.ts +18 -8
  245. package/file/file.module.d.ts +13 -0
  246. package/file/package.json +6 -7
  247. package/file/{public-api.d.ts → public_api.d.ts} +0 -0
  248. package/file/services/file.service.d.ts +3 -0
  249. package/file/{file-input → src/file-input}/README.md +46 -37
  250. package/file/{file-upload → src/file-upload}/README.md +36 -27
  251. package/json-formatter/README.md +8 -8
  252. package/json-formatter/_json-formatter-theme.scss +10 -0
  253. package/json-formatter/collapse.animation.d.ts +24 -0
  254. package/json-formatter/covalent-core-json-formatter.d.ts +2 -1
  255. package/json-formatter/json-formatter.component.d.ts +7 -4
  256. package/json-formatter/json-formatter.module.d.ts +8 -0
  257. package/json-formatter/package.json +6 -7
  258. package/json-formatter/{public-api.d.ts → public_api.d.ts} +0 -0
  259. package/layout/README.md +48 -50
  260. package/layout/_layout-theme.scss +12 -0
  261. package/layout/covalent-core-layout.d.ts +2 -1
  262. package/layout/layout-card-over/layout-card-over.component.d.ts +6 -3
  263. package/layout/layout-footer/layout-footer.component.d.ts +6 -3
  264. package/layout/layout-manage-list/layout-manage-list.component.d.ts +7 -4
  265. package/layout/layout-manage-list/layout-manage-list.directives.d.ts +9 -2
  266. package/layout/layout-nav/layout-nav.component.d.ts +8 -5
  267. package/layout/layout-nav-list/layout-nav-list.component.d.ts +12 -9
  268. package/layout/layout-nav-list/layout-nav-list.directives.d.ts +9 -2
  269. package/layout/layout-toggle.class.d.ts +4 -1
  270. package/layout/layout.component.d.ts +7 -4
  271. package/layout/layout.directives.d.ts +9 -2
  272. package/layout/layout.module.d.ts +23 -0
  273. package/layout/navigation-drawer/navigation-drawer.component.d.ts +17 -10
  274. package/layout/package.json +6 -7
  275. package/layout/{public-api.d.ts → public_api.d.ts} +0 -0
  276. package/layout/{layout-card-over → src/layout-card-over}/README.md +19 -17
  277. package/layout/{layout-manage-list → src/layout-manage-list}/README.md +24 -28
  278. package/layout/src/layout-nav/README.md +50 -0
  279. package/layout/{layout-nav-list → src/layout-nav-list}/README.md +44 -40
  280. package/menu/covalent-core-menu.d.ts +2 -1
  281. package/menu/menu.component.d.ts +3 -0
  282. package/menu/menu.module.d.ts +8 -0
  283. package/menu/package.json +6 -7
  284. package/menu/{public-api.d.ts → public_api.d.ts} +0 -0
  285. package/message/README.md +26 -18
  286. package/message/_message-theme.scss +3 -0
  287. package/message/collapse.animation.d.ts +24 -0
  288. package/message/covalent-core-message.d.ts +2 -1
  289. package/message/message.component.d.ts +9 -4
  290. package/message/message.module.d.ts +7 -0
  291. package/message/package.json +6 -7
  292. package/message/{public-api.d.ts → public_api.d.ts} +0 -0
  293. package/package.json +129 -37
  294. package/{index.d.ts → public_api.d.ts} +0 -0
  295. package/search/README.md +74 -73
  296. package/search/covalent-core-search.d.ts +2 -1
  297. package/search/package.json +6 -7
  298. package/search/{public-api.d.ts → public_api.d.ts} +0 -0
  299. package/search/search-box/search-box.component.d.ts +12 -5
  300. package/search/search-input/search-input.component.d.ts +12 -5
  301. package/search/search.module.d.ts +11 -0
  302. package/search/src/search-box/README.md +73 -0
  303. package/search/src/search-input/README.md +74 -0
  304. package/side-sheet/README.md +3 -5
  305. package/side-sheet/{side-sheet.theme.scss → _side-sheet.theme.scss} +0 -0
  306. package/side-sheet/covalent-core-side-sheet.d.ts +2 -3
  307. package/side-sheet/package.json +6 -7
  308. package/side-sheet/{public-api.d.ts → public_api.d.ts} +0 -0
  309. package/side-sheet/side-sheet-container.d.ts +21 -5
  310. package/side-sheet/side-sheet.content-directives.d.ts +23 -6
  311. package/side-sheet/side-sheet.d.ts +7 -2
  312. package/side-sheet/side-sheet.module.d.ts +9 -0
  313. package/theming/prebuilt/blue-grey-deep-orange.css +1 -2434
  314. package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
  315. package/theming/prebuilt/blue-orange.css +1 -2434
  316. package/theming/prebuilt/blue-orange.css.map +1 -1
  317. package/theming/prebuilt/indigo-pink.css +1 -2434
  318. package/theming/prebuilt/indigo-pink.css.map +1 -1
  319. package/theming/prebuilt/orange-light-blue.css +1 -2434
  320. package/theming/prebuilt/orange-light-blue.css.map +1 -1
  321. package/theming/prebuilt/teal-orange.css +1 -2434
  322. package/theming/prebuilt/teal-orange.css.map +1 -1
  323. package/user-profile/README.md +5 -5
  324. package/user-profile/covalent-core-user-profile.d.ts +2 -1
  325. package/user-profile/package.json +6 -7
  326. package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +5 -2
  327. package/user-profile/user-profile.component.d.ts +5 -2
  328. package/user-profile/user-profile.module.d.ts +12 -0
  329. package/breadcrumbs/breadcrumb/breadcrumb.component.scss +0 -22
  330. package/breadcrumbs/breadcrumbs.component.scss +0 -7
  331. package/breadcrumbs/covalent-core-breadcrumbs.metadata.json +0 -1
  332. package/breadcrumbs/index.d.ts +0 -1
  333. package/bundles/covalent-core-breadcrumbs.umd.js +0 -490
  334. package/bundles/covalent-core-breadcrumbs.umd.js.map +0 -1
  335. package/bundles/covalent-core-breadcrumbs.umd.min.js +0 -2
  336. package/bundles/covalent-core-breadcrumbs.umd.min.js.map +0 -1
  337. package/bundles/covalent-core-common.umd.js +0 -3188
  338. package/bundles/covalent-core-common.umd.js.map +0 -1
  339. package/bundles/covalent-core-common.umd.min.js +0 -17
  340. package/bundles/covalent-core-common.umd.min.js.map +0 -1
  341. package/bundles/covalent-core-dialogs.umd.js +0 -1318
  342. package/bundles/covalent-core-dialogs.umd.js.map +0 -1
  343. package/bundles/covalent-core-dialogs.umd.min.js +0 -2
  344. package/bundles/covalent-core-dialogs.umd.min.js.map +0 -1
  345. package/bundles/covalent-core-dynamic-menu.umd.js +0 -215
  346. package/bundles/covalent-core-dynamic-menu.umd.js.map +0 -1
  347. package/bundles/covalent-core-dynamic-menu.umd.min.js +0 -2
  348. package/bundles/covalent-core-dynamic-menu.umd.min.js.map +0 -1
  349. package/bundles/covalent-core-file.umd.js +0 -1211
  350. package/bundles/covalent-core-file.umd.js.map +0 -1
  351. package/bundles/covalent-core-file.umd.min.js +0 -17
  352. package/bundles/covalent-core-file.umd.min.js.map +0 -1
  353. package/bundles/covalent-core-json-formatter.umd.js +0 -408
  354. package/bundles/covalent-core-json-formatter.umd.js.map +0 -1
  355. package/bundles/covalent-core-json-formatter.umd.min.js +0 -2
  356. package/bundles/covalent-core-json-formatter.umd.min.js.map +0 -1
  357. package/bundles/covalent-core-layout.umd.js +0 -2084
  358. package/bundles/covalent-core-layout.umd.js.map +0 -1
  359. package/bundles/covalent-core-layout.umd.min.js +0 -17
  360. package/bundles/covalent-core-layout.umd.min.js.map +0 -1
  361. package/bundles/covalent-core-menu.umd.js +0 -69
  362. package/bundles/covalent-core-menu.umd.js.map +0 -1
  363. package/bundles/covalent-core-menu.umd.min.js +0 -2
  364. package/bundles/covalent-core-menu.umd.min.js.map +0 -1
  365. package/bundles/covalent-core-message.umd.js +0 -375
  366. package/bundles/covalent-core-message.umd.js.map +0 -1
  367. package/bundles/covalent-core-message.umd.min.js +0 -2
  368. package/bundles/covalent-core-message.umd.min.js.map +0 -1
  369. package/bundles/covalent-core-search.umd.js +0 -877
  370. package/bundles/covalent-core-search.umd.js.map +0 -1
  371. package/bundles/covalent-core-search.umd.min.js +0 -16
  372. package/bundles/covalent-core-search.umd.min.js.map +0 -1
  373. package/bundles/covalent-core-side-sheet.umd.js +0 -1458
  374. package/bundles/covalent-core-side-sheet.umd.js.map +0 -1
  375. package/bundles/covalent-core-side-sheet.umd.min.js +0 -16
  376. package/bundles/covalent-core-side-sheet.umd.min.js.map +0 -1
  377. package/bundles/covalent-core-user-profile.umd.js +0 -116
  378. package/bundles/covalent-core-user-profile.umd.js.map +0 -1
  379. package/bundles/covalent-core-user-profile.umd.min.js +0 -2
  380. package/bundles/covalent-core-user-profile.umd.min.js.map +0 -1
  381. package/bundles/covalent-core.umd.js +0 -9
  382. package/bundles/covalent-core.umd.js.map +0 -1
  383. package/bundles/covalent-core.umd.min.js +0 -2
  384. package/bundles/covalent-core.umd.min.js.map +0 -1
  385. package/common/covalent-core-common.metadata.json +0 -1
  386. package/common/index.d.ts +0 -1
  387. package/common/material-icons.scss +0 -3
  388. package/common/platform.scss +0 -7
  389. package/covalent-core.metadata.json +0 -1
  390. package/dialogs/alert-dialog/alert-dialog.component.scss +0 -3
  391. package/dialogs/confirm-dialog/confirm-dialog.component.scss +0 -3
  392. package/dialogs/covalent-core-dialogs.metadata.json +0 -1
  393. package/dialogs/dialog.component.scss +0 -44
  394. package/dialogs/index.d.ts +0 -1
  395. package/dialogs/prompt-dialog/prompt-dialog.component.scss +0 -15
  396. package/dialogs/window-dialog/window-dialog.component.scss +0 -31
  397. package/dynamic-menu/covalent-core-dynamic-menu.metadata.json +0 -1
  398. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.scss +0 -6
  399. package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.scss +0 -11
  400. package/dynamic-menu/dynamic-menu.component.scss +0 -0
  401. package/dynamic-menu/index.d.ts +0 -1
  402. package/esm2015/breadcrumbs/breadcrumb/breadcrumb.component.js +0 -171
  403. package/esm2015/breadcrumbs/breadcrumbs.component.js +0 -241
  404. package/esm2015/breadcrumbs/breadcrumbs.module.js +0 -20
  405. package/esm2015/breadcrumbs/covalent-core-breadcrumbs.js +0 -10
  406. package/esm2015/breadcrumbs/index.js +0 -7
  407. package/esm2015/breadcrumbs/public-api.js +0 -9
  408. package/esm2015/common/animations/bounce/bounce.animation.js +0 -76
  409. package/esm2015/common/animations/collapse/collapse.animation.js +0 -67
  410. package/esm2015/common/animations/common/interfaces.js +0 -18
  411. package/esm2015/common/animations/fade/fadeInOut.animation.js +0 -53
  412. package/esm2015/common/animations/flash/flash.animation.js +0 -40
  413. package/esm2015/common/animations/headshake/headshake.animation.js +0 -41
  414. package/esm2015/common/animations/jello/jello.animation.js +0 -44
  415. package/esm2015/common/animations/pulse/pulse.animation.js +0 -38
  416. package/esm2015/common/animations/rotate/rotate.animation.js +0 -41
  417. package/esm2015/common/behaviors/control-value-accesor.mixin.js +0 -107
  418. package/esm2015/common/behaviors/disable-ripple.mixin.js +0 -63
  419. package/esm2015/common/behaviors/disabled.mixin.js +0 -63
  420. package/esm2015/common/common.module.js +0 -54
  421. package/esm2015/common/covalent-core-common.js +0 -12
  422. package/esm2015/common/directives/fullscreen/fullscreen.directive.js +0 -180
  423. package/esm2015/common/forms/auto-trim/auto-trim.directive.js +0 -46
  424. package/esm2015/common/forms/validators/validators.js +0 -58
  425. package/esm2015/common/functions/clipboard.js +0 -30
  426. package/esm2015/common/functions/convert.js +0 -103
  427. package/esm2015/common/functions/download.js +0 -88
  428. package/esm2015/common/functions/file.js +0 -29
  429. package/esm2015/common/index.js +0 -7
  430. package/esm2015/common/pipes/bytes/bytes.pipe.js +0 -41
  431. package/esm2015/common/pipes/decimal-bytes/decimal-bytes.pipe.js +0 -41
  432. package/esm2015/common/pipes/digits/digits.pipe.js +0 -65
  433. package/esm2015/common/pipes/time-ago/time-ago.pipe.js +0 -81
  434. package/esm2015/common/pipes/time-difference/time-difference.pipe.js +0 -66
  435. package/esm2015/common/pipes/time-until/time-until.pipe.js +0 -81
  436. package/esm2015/common/pipes/truncate/truncate.pipe.js +0 -34
  437. package/esm2015/common/public-api.js +0 -44
  438. package/esm2015/common/services/icon.service.js +0 -1109
  439. package/esm2015/common/services/router-path.service.js +0 -60
  440. package/esm2015/covalent-core.js +0 -10
  441. package/esm2015/dialogs/alert-dialog/alert-dialog.component.js +0 -47
  442. package/esm2015/dialogs/confirm-dialog/confirm-dialog.component.js +0 -59
  443. package/esm2015/dialogs/covalent-core-dialogs.js +0 -11
  444. package/esm2015/dialogs/dialog.component.js +0 -58
  445. package/esm2015/dialogs/dialogs.module.js +0 -57
  446. package/esm2015/dialogs/index.js +0 -7
  447. package/esm2015/dialogs/prompt-dialog/prompt-dialog.component.js +0 -83
  448. package/esm2015/dialogs/public-api.js +0 -13
  449. package/esm2015/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.js +0 -325
  450. package/esm2015/dialogs/services/dialog.service.js +0 -316
  451. package/esm2015/dialogs/window-dialog/window-dialog.component.js +0 -56
  452. package/esm2015/dynamic-menu/covalent-core-dynamic-menu.js +0 -11
  453. package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.js +0 -40
  454. package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.js +0 -35
  455. package/esm2015/dynamic-menu/dynamic-menu.component.js +0 -89
  456. package/esm2015/dynamic-menu/dynamic-menu.module.js +0 -26
  457. package/esm2015/dynamic-menu/index.js +0 -7
  458. package/esm2015/dynamic-menu/public_api.js +0 -9
  459. package/esm2015/file/covalent-core-file.js +0 -10
  460. package/esm2015/file/directives/file-drop.directive.js +0 -191
  461. package/esm2015/file/directives/file-select.directive.js +0 -98
  462. package/esm2015/file/file-input/file-input.component.js +0 -186
  463. package/esm2015/file/file-upload/file-upload.component.js +0 -237
  464. package/esm2015/file/file.module.js +0 -35
  465. package/esm2015/file/index.js +0 -7
  466. package/esm2015/file/public-api.js +0 -12
  467. package/esm2015/file/services/file.service.js +0 -109
  468. package/esm2015/index.js +0 -7
  469. package/esm2015/json-formatter/covalent-core-json-formatter.js +0 -10
  470. package/esm2015/json-formatter/index.js +0 -7
  471. package/esm2015/json-formatter/json-formatter.component.js +0 -338
  472. package/esm2015/json-formatter/json-formatter.module.js +0 -20
  473. package/esm2015/json-formatter/public-api.js +0 -8
  474. package/esm2015/layout/covalent-core-layout.js +0 -10
  475. package/esm2015/layout/index.js +0 -7
  476. package/esm2015/layout/layout-card-over/layout-card-over.component.js +0 -71
  477. package/esm2015/layout/layout-footer/layout-footer.component.js +0 -71
  478. package/esm2015/layout/layout-manage-list/layout-manage-list.component.js +0 -145
  479. package/esm2015/layout/layout-manage-list/layout-manage-list.directives.js +0 -132
  480. package/esm2015/layout/layout-nav/layout-nav.component.js +0 -100
  481. package/esm2015/layout/layout-nav-list/layout-nav-list.component.js +0 -220
  482. package/esm2015/layout/layout-nav-list/layout-nav-list.directives.js +0 -132
  483. package/esm2015/layout/layout-toggle.class.js +0 -188
  484. package/esm2015/layout/layout.component.js +0 -145
  485. package/esm2015/layout/layout.directives.js +0 -129
  486. package/esm2015/layout/layout.module.js +0 -64
  487. package/esm2015/layout/navigation-drawer/navigation-drawer.component.js +0 -280
  488. package/esm2015/layout/public-api.js +0 -18
  489. package/esm2015/menu/covalent-core-menu.js +0 -10
  490. package/esm2015/menu/index.js +0 -7
  491. package/esm2015/menu/menu.component.js +0 -16
  492. package/esm2015/menu/menu.module.js +0 -22
  493. package/esm2015/menu/public-api.js +0 -8
  494. package/esm2015/message/covalent-core-message.js +0 -10
  495. package/esm2015/message/index.js +0 -7
  496. package/esm2015/message/message.component.js +0 -307
  497. package/esm2015/message/message.module.js +0 -21
  498. package/esm2015/message/public-api.js +0 -8
  499. package/esm2015/search/covalent-core-search.js +0 -10
  500. package/esm2015/search/index.js +0 -7
  501. package/esm2015/search/public-api.js +0 -9
  502. package/esm2015/search/search-box/search-box.component.js +0 -270
  503. package/esm2015/search/search-input/search-input.component.js +0 -260
  504. package/esm2015/search/search.module.js +0 -23
  505. package/esm2015/side-sheet/covalent-core-side-sheet.js +0 -12
  506. package/esm2015/side-sheet/index.js +0 -7
  507. package/esm2015/side-sheet/public-api.js +0 -11
  508. package/esm2015/side-sheet/side-sheet-container.js +0 -402
  509. package/esm2015/side-sheet/side-sheet-ref.js +0 -50
  510. package/esm2015/side-sheet/side-sheet.animation.js +0 -20
  511. package/esm2015/side-sheet/side-sheet.config.js +0 -12
  512. package/esm2015/side-sheet/side-sheet.content-directives.js +0 -255
  513. package/esm2015/side-sheet/side-sheet.js +0 -360
  514. package/esm2015/side-sheet/side-sheet.module.js +0 -36
  515. package/esm2015/user-profile/covalent-core-user-profile.js +0 -10
  516. package/esm2015/user-profile/index.js +0 -7
  517. package/esm2015/user-profile/public_api.js +0 -9
  518. package/esm2015/user-profile/user-profile-menu/user-profile-menu.component.js +0 -35
  519. package/esm2015/user-profile/user-profile.component.js +0 -26
  520. package/esm2015/user-profile/user-profile.module.js +0 -25
  521. package/fesm2015/covalent-core-breadcrumbs.js +0 -448
  522. package/fesm2015/covalent-core-breadcrumbs.js.map +0 -1
  523. package/fesm2015/covalent-core-common.js.map +0 -1
  524. package/fesm2015/covalent-core-dialogs.js +0 -1001
  525. package/fesm2015/covalent-core-dialogs.js.map +0 -1
  526. package/fesm2015/covalent-core-dynamic-menu.js +0 -204
  527. package/fesm2015/covalent-core-dynamic-menu.js.map +0 -1
  528. package/fesm2015/covalent-core-file.js +0 -855
  529. package/fesm2015/covalent-core-file.js.map +0 -1
  530. package/fesm2015/covalent-core-json-formatter.js +0 -377
  531. package/fesm2015/covalent-core-json-formatter.js.map +0 -1
  532. package/fesm2015/covalent-core-layout.js +0 -1663
  533. package/fesm2015/covalent-core-layout.js.map +0 -1
  534. package/fesm2015/covalent-core-menu.js +0 -57
  535. package/fesm2015/covalent-core-menu.js.map +0 -1
  536. package/fesm2015/covalent-core-message.js +0 -347
  537. package/fesm2015/covalent-core-message.js.map +0 -1
  538. package/fesm2015/covalent-core-search.js +0 -564
  539. package/fesm2015/covalent-core-search.js.map +0 -1
  540. package/fesm2015/covalent-core-side-sheet.js +0 -1134
  541. package/fesm2015/covalent-core-side-sheet.js.map +0 -1
  542. package/fesm2015/covalent-core-user-profile.js +0 -103
  543. package/fesm2015/covalent-core-user-profile.js.map +0 -1
  544. package/fesm2015/covalent-core.js +0 -12
  545. package/fesm2015/covalent-core.js.map +0 -1
  546. package/file/covalent-core-file.metadata.json +0 -1
  547. package/file/file-input/file-input.component.scss +0 -20
  548. package/file/file-upload/file-upload.component.scss +0 -30
  549. package/file/index.d.ts +0 -1
  550. package/json-formatter/covalent-core-json-formatter.metadata.json +0 -1
  551. package/json-formatter/index.d.ts +0 -1
  552. package/json-formatter/json-formatter.component.scss +0 -61
  553. package/layout/covalent-core-layout.metadata.json +0 -1
  554. package/layout/index.d.ts +0 -1
  555. package/layout/layout-card-over/layout-card-over.component.scss +0 -42
  556. package/layout/layout-footer/layout-footer.component.scss +0 -4
  557. package/layout/layout-manage-list/layout-manage-list.component.scss +0 -78
  558. package/layout/layout-nav/README.md +0 -46
  559. package/layout/layout-nav/layout-nav.component.scss +0 -50
  560. package/layout/layout-nav-list/layout-nav-list.component.scss +0 -110
  561. package/layout/layout.component.scss +0 -20
  562. package/layout/navigation-drawer/navigation-drawer.component.scss +0 -73
  563. package/menu/covalent-core-menu.metadata.json +0 -1
  564. package/menu/index.d.ts +0 -1
  565. package/menu/menu.component.scss +0 -43
  566. package/message/covalent-core-message.metadata.json +0 -1
  567. package/message/index.d.ts +0 -1
  568. package/message/message.component.scss +0 -29
  569. package/schematics/README.md +0 -66
  570. package/schematics/collection.json +0 -11
  571. package/schematics/components.js +0 -111
  572. package/schematics/components.js.map +0 -1
  573. package/schematics/migration.json +0 -10
  574. package/schematics/ng-add/files/theme.scss +0 -64
  575. package/schematics/ng-add/index.js +0 -58
  576. package/schematics/ng-add/index.js.map +0 -1
  577. package/schematics/ng-add/schema.js +0 -3
  578. package/schematics/ng-add/schema.js.map +0 -1
  579. package/schematics/ng-add/schema.json +0 -81
  580. package/schematics/ng-update/index.js +0 -52
  581. package/schematics/ng-update/index.js.map +0 -1
  582. package/schematics/ng-update/target-version.js +0 -8
  583. package/schematics/ng-update/target-version.js.map +0 -1
  584. package/schematics/version-names.js +0 -6
  585. package/schematics/version-names.js.map +0 -1
  586. package/search/covalent-core-search.metadata.json +0 -1
  587. package/search/index.d.ts +0 -1
  588. package/search/search-box/README.md +0 -62
  589. package/search/search-box/search-box.component.scss +0 -32
  590. package/search/search-input/README.md +0 -65
  591. package/search/search-input/search-input.component.scss +0 -63
  592. package/side-sheet/covalent-core-side-sheet.metadata.json +0 -1
  593. package/side-sheet/index.d.ts +0 -1
  594. package/side-sheet/side-sheet.scss +0 -69
  595. package/theming/prebuilt/blue-grey-deep-orange.scss +0 -13
  596. package/theming/prebuilt/blue-orange.scss +0 -13
  597. package/theming/prebuilt/indigo-pink.scss +0 -13
  598. package/theming/prebuilt/orange-light-blue.scss +0 -13
  599. package/theming/prebuilt/teal-orange.scss +0 -13
  600. package/user-profile/covalent-core-user-profile.metadata.json +0 -1
  601. package/user-profile/index.d.ts +0 -1
  602. package/user-profile/user-profile-menu/user-profile-menu.component.scss +0 -38
@@ -1 +0,0 @@
1
- {"version":3,"file":"covalent-core-layout.js","sources":["../../../../src/platform/core/layout/layout.component.ts","../../../../src/platform/core/layout/layout-toggle.class.ts","../../../../src/platform/core/layout/layout.directives.ts","../../../src/platform/core/layout/layout-nav/layout-nav.component.ts","../../../src/platform/core/layout/layout-nav-list/layout-nav-list.component.ts","../../../src/platform/core/layout/layout-nav-list/layout-nav-list.directives.ts","../../../src/platform/core/layout/layout-card-over/layout-card-over.component.ts","../../../src/platform/core/layout/layout-manage-list/layout-manage-list.component.ts","../../../src/platform/core/layout/layout-manage-list/layout-manage-list.directives.ts","../../../src/platform/core/layout/layout-footer/layout-footer.component.ts","../../../src/platform/core/layout/navigation-drawer/navigation-drawer.component.ts","../../../../src/platform/core/layout/layout.module.ts"],"sourcesContent":["import { Component, Input, ViewChild } from '@angular/core';\n\nimport { MatSidenav, MatDrawerToggleResult } from '@angular/material/sidenav';\n\nimport { ILayoutTogglable } from './layout-toggle.class';\n\n@Component({\n selector: 'td-layout',\n styleUrls: ['./layout.component.scss'],\n templateUrl: './layout.component.html',\n})\nexport class TdLayoutComponent implements ILayoutTogglable {\n @ViewChild(MatSidenav, { static: true }) sidenav: MatSidenav;\n\n /**\n * mode?: 'side', 'push' or 'over'\n *\n * The mode or styling of the sidenav.\n * Defaults to \"over\".\n * See \"MatSidenav\" documentation for more info.\n *\n * https://github.com/angular/material2/tree/master/src/lib/sidenav\n */\n @Input() mode: 'side' | 'push' | 'over' = 'over';\n\n /**\n * opened?: boolean\n *\n * Whether or not the sidenav is opened. Use this binding to open/close the sidenav.\n * Defaults to \"false\".\n *\n * See \"MatSidenav\" documentation for more info.\n *\n * https://github.com/angular/material2/tree/master/src/lib/sidenav\n */\n @Input() opened: boolean = false;\n\n /**\n * sidenavWidth?: string\n *\n * Sets the \"width\" of the sidenav in either \"px\" or \"%\"\n * Defaults to \"320px\".\n *\n * https://github.com/angular/material2/tree/master/src/lib/sidenav\n */\n @Input() sidenavWidth: string = '320px';\n\n /**\n * containerAutosize?: boolean\n *\n * Sets \"autosize\" of the sidenav-container.\n * Defaults to \"false\".\n *\n * See documentation for more info and potential performance risks.\n *\n * https://github.com/angular/material2/blob/master/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav\n */\n @Input() containerAutosize: boolean = false;\n\n /**\n * Checks if `ESC` should close the sidenav\n * Should only close it for `push` and `over` modes\n */\n get disableClose(): boolean {\n return this.mode === 'side';\n }\n\n /**\n * Proxy toggle method to access sidenav from outside (from td-layout template).\n */\n public toggle(): Promise<MatDrawerToggleResult> {\n return this.sidenav.toggle(!this.sidenav.opened);\n }\n\n /**\n * Proxy open method to access sidenav from outside (from td-layout template).\n */\n public open(): Promise<MatDrawerToggleResult> {\n return this.sidenav.open();\n }\n\n /**\n * Proxy close method to access sidenav from outside (from td-layout template).\n */\n public close(): Promise<MatDrawerToggleResult> {\n return this.sidenav.close();\n }\n}\n","import {\n Input,\n HostBinding,\n HostListener,\n Renderer2,\n ElementRef,\n AfterViewInit,\n OnDestroy,\n Directive,\n} from '@angular/core';\n\nimport { MatSidenav, MatDrawerToggleResult } from '@angular/material/sidenav';\n\nimport { ICanDisable, mixinDisabled } from '@covalent/core/common';\n\nimport { Subscription } from 'rxjs';\n\nexport interface ILayoutTogglable {\n opened: boolean;\n sidenav: MatSidenav;\n toggle(): Promise<MatDrawerToggleResult>;\n open(): Promise<MatDrawerToggleResult>;\n close(): Promise<MatDrawerToggleResult>;\n}\n\nexport class LayoutToggleBase {}\n\n/* tslint:disable-next-line */\nexport const _TdLayoutToggleMixinBase = mixinDisabled(LayoutToggleBase);\n\n@Directive()\nexport abstract class BaseLayoutToggleDirective\n extends _TdLayoutToggleMixinBase\n implements AfterViewInit, OnDestroy, ICanDisable\n{\n private _toggleSubs: Subscription;\n\n private _initialized: boolean = false;\n private _hideWhenOpened: boolean = false;\n\n /**\n * hideWhenOpened?: boolean\n * When this is set to true, the host will be hidden when\n * the sidenav is opened.\n */\n @Input('hideWhenOpened')\n set hideWhenOpened(hideWhenOpened: boolean) {\n this._hideWhenOpened = hideWhenOpened;\n if (this._initialized) {\n this._toggleVisibility();\n }\n }\n\n constructor(protected _layout: ILayoutTogglable, private _renderer: Renderer2, private _elementRef: ElementRef) {\n super();\n // if layout has not been provided\n // show warn message\n if (!this._layout) {\n this._noLayoutMessage();\n }\n this._renderer.addClass(this._elementRef.nativeElement, 'td-layout-menu-button');\n }\n\n ngAfterViewInit(): void {\n this._initialized = true;\n if (this._layout && this._layout.sidenav) {\n this._toggleSubs = this._layout.sidenav._animationStarted.subscribe(() => {\n this._toggleVisibility();\n });\n }\n // execute toggleVisibility since the onOpenStart and onCloseStart\n // methods might not be executed always when the element is rendered\n this._toggleVisibility();\n }\n\n ngOnDestroy(): void {\n if (this._toggleSubs) {\n this._toggleSubs.unsubscribe();\n this._toggleSubs = undefined;\n }\n }\n\n /**\n * Listens to host click event to trigger the layout toggle\n */\n @HostListener('click', ['$event'])\n clickListener(event: Event): void {\n event.preventDefault();\n if (!this.disabled) {\n // if layout has been provided, try triggering the click on it\n // else show warn message\n if (this._layout && this._layout.open) {\n this.onClick();\n } else {\n this._noLayoutMessage();\n }\n }\n }\n\n abstract onClick(): void;\n\n private _toggleVisibility(): void {\n if (this._layout) {\n if (this._layout.sidenav.opened && this._hideWhenOpened) {\n this._renderer.setStyle(this._elementRef.nativeElement, 'display', 'none');\n } else {\n this._renderer.setStyle(this._elementRef.nativeElement, 'display', '');\n }\n }\n }\n\n private _noLayoutMessage(): void {\n /* tslint:disable-next-line */\n console.warn('Covalent: Parent layout not found for layout toggle directive');\n }\n}\n","import { Optional, Directive, Input, Renderer2, ElementRef, Inject, forwardRef } from '@angular/core';\nimport { TdLayoutComponent } from './layout.component';\nimport { BaseLayoutToggleDirective } from './layout-toggle.class';\n\n@Directive({\n selector: '[tdLayoutToggle]',\n})\nexport class TdLayoutToggleDirective extends BaseLayoutToggleDirective {\n @Input('tdLayoutToggle')\n set tdLayoutToggle(tdLayoutToggle: boolean) {\n this.disabled = !(<any>tdLayoutToggle === '' || tdLayoutToggle);\n }\n\n constructor(\n @Optional() @Inject(forwardRef(() => TdLayoutComponent)) layout: TdLayoutComponent,\n renderer: Renderer2,\n elementRef: ElementRef,\n ) {\n super(layout, renderer, elementRef);\n }\n\n onClick(): void {\n this._layout.toggle();\n }\n}\n\n@Directive({\n selector: '[tdLayoutClose]',\n})\nexport class TdLayoutCloseDirective extends BaseLayoutToggleDirective {\n @Input('tdLayoutClose')\n set tdLayoutClose(tdLayoutClose: boolean) {\n this.disabled = !(<any>tdLayoutClose === '' || tdLayoutClose);\n }\n\n constructor(\n @Optional() @Inject(forwardRef(() => TdLayoutComponent)) layout: TdLayoutComponent,\n renderer: Renderer2,\n elementRef: ElementRef,\n ) {\n super(layout, renderer, elementRef);\n }\n\n onClick(): void {\n this._layout.close();\n }\n}\n\n@Directive({\n selector: '[tdLayoutOpen]',\n})\nexport class TdLayoutOpenDirective extends BaseLayoutToggleDirective {\n @Input('tdLayoutOpen')\n set tdLayoutClose(tdLayoutOpen: boolean) {\n this.disabled = !(<any>tdLayoutOpen === '' || tdLayoutOpen);\n }\n\n constructor(\n @Optional() @Inject(forwardRef(() => TdLayoutComponent)) layout: TdLayoutComponent,\n renderer: Renderer2,\n elementRef: ElementRef,\n ) {\n super(layout, renderer, elementRef);\n }\n\n onClick(): void {\n this._layout.open();\n }\n}\n","import { Component, Input, forwardRef, Optional, Inject } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { TdLayoutComponent } from '../layout.component';\n\n@Component({\n selector: 'td-layout-nav',\n styleUrls: ['./layout-nav.component.scss'],\n templateUrl: './layout-nav.component.html',\n})\nexport class TdLayoutNavComponent {\n /**\n * toolbarTitle?: string\n *\n * Title set in toolbar.\n */\n @Input() toolbarTitle: string;\n\n /**\n * icon?: string\n *\n * icon name to be displayed before the title\n */\n @Input() icon: string;\n\n /**\n * logo?: string\n *\n * logo icon name to be displayed before the title.\n * If [icon] is set, then this will not be shown.\n */\n @Input() logo: string;\n\n /**\n * color?: 'accent' | 'primary' | 'warn'\n *\n * toolbar color option: primary | accent | warn.\n * If [color] is not set, primary is used.\n */\n @Input() color: 'accent' | 'primary' | 'warn' = 'primary';\n\n /**\n * navigationRoute?: string\n *\n * option to set the combined route for the icon, logo, and toolbarTitle.\n */\n @Input() navigationRoute: string;\n\n /**\n * Checks if router was injected.\n */\n get routerEnabled(): boolean {\n return !!this._router && !!this.navigationRoute;\n }\n\n constructor(@Optional() private _router: Router) {}\n\n handleNavigationClick(): void {\n if (this.routerEnabled) {\n this._router.navigateByUrl(this.navigationRoute);\n }\n }\n}\n","import { Component, Input, ViewChild, Optional } from '@angular/core';\nimport { Router } from '@angular/router';\n\nimport { MatSidenav, MatDrawerToggleResult } from '@angular/material/sidenav';\n\nimport { ILayoutTogglable } from '../layout-toggle.class';\n\n@Component({\n selector: 'td-layout-nav-list',\n styleUrls: ['./layout-nav-list.component.scss'],\n templateUrl: './layout-nav-list.component.html',\n})\nexport class TdLayoutNavListComponent implements ILayoutTogglable {\n @ViewChild(MatSidenav, { static: true }) sidenav: MatSidenav;\n\n /**\n * toolbarTitle?: string\n *\n * Title set in toolbar.\n */\n @Input() toolbarTitle: string;\n\n /**\n * icon?: string\n * icon name to be displayed before the title\n */\n @Input() icon: string;\n\n /**\n * logo?: string\n *\n * logo icon name to be displayed before the title.\n * If [icon] is set, then this will not be shown.\n */\n @Input() logo: string;\n\n /**\n * color?: 'accent' | 'primary' | 'warn'\n *\n * toolbar color option: primary | accent | warn.\n * If [color] is not set, primary is used.\n */\n @Input() color: 'accent' | 'primary' | 'warn' = 'primary';\n\n /**\n * mode?: 'side', 'push' or 'over'\n *\n * The mode or styling of the sidenav.\n * Defaults to \"side\".\n * See \"MatSidenav\" documentation for more info.\n *\n * https://github.com/angular/material2/tree/master/src/lib/sidenav\n */\n @Input() mode: 'side' | 'push' | 'over' = 'side';\n\n /**\n * opened?: boolean\n * Whether or not the sidenav is opened. Use this binding to open/close the sidenav.\n * Defaults to \"true\".\n *\n * See \"MatSidenav\" documentation for more info.\n *\n * https://github.com/angular/material2/tree/master/src/lib/sidenav\n */\n @Input() opened: boolean = true;\n\n /**\n * sidenavWidth?: string\n *\n * Sets the \"width\" of the sidenav in either \"px\" or \"%\"\n * Defaults to \"350px\".\n *\n * https://github.com/angular/material2/tree/master/src/lib/sidenav\n */\n @Input() sidenavWidth: string = '350px';\n\n /**\n * containerAutosize?: boolean\n *\n * Sets \"autosize\" of the sidenav-container.\n * Defaults to \"false\".\n *\n * See documentation for more info and potential performance risks.\n *\n * https://github.com/angular/material2/blob/master/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav\n */\n @Input() containerAutosize: boolean = false;\n\n /**\n * navigationRoute?: string\n *\n * option to set the combined route for the icon, logo, and toolbarTitle.\n */\n @Input() navigationRoute: string;\n\n /**\n * Checks if `ESC` should close the sidenav\n * Should only close it for `push` and `over` modes\n */\n get disableClose(): boolean {\n return this.mode === 'side';\n }\n\n /**\n * Checks if router was injected.\n */\n get routerEnabled(): boolean {\n return !!this._router && !!this.navigationRoute;\n }\n\n constructor(@Optional() private _router: Router) {}\n\n handleNavigationClick(): void {\n if (this.routerEnabled) {\n this._router.navigateByUrl(this.navigationRoute);\n }\n }\n\n /**\n * Proxy toggle method to access sidenav from outside (from td-layout template).\n */\n public toggle(): Promise<MatDrawerToggleResult> {\n return this.sidenav.toggle(!this.sidenav.opened);\n }\n\n /**\n * Proxy open method to access sidenav from outside (from td-layout template).\n */\n public open(): Promise<MatDrawerToggleResult> {\n return this.sidenav.open();\n }\n\n /**\n * Proxy close method to access sidenav from outside (from td-layout template).\n */\n public close(): Promise<MatDrawerToggleResult> {\n return this.sidenav.close();\n }\n}\n","import { Optional, Directive, Input, Renderer2, ElementRef, Inject, forwardRef } from '@angular/core';\nimport { TdLayoutNavListComponent } from './layout-nav-list.component';\nimport { BaseLayoutToggleDirective } from '../layout-toggle.class';\n\n@Directive({\n selector: '[tdLayoutNavListToggle]',\n inputs: ['hideWhenOpened'],\n})\nexport class TdLayoutNavListToggleDirective extends BaseLayoutToggleDirective {\n @Input('tdLayoutNavListToggle')\n set tdLayoutNavListToggle(tdLayoutNavListToggle: boolean) {\n this.disabled = !(<any>tdLayoutNavListToggle === '' || tdLayoutNavListToggle);\n }\n\n constructor(\n @Optional() @Inject(forwardRef(() => TdLayoutNavListComponent)) layout: TdLayoutNavListComponent,\n renderer: Renderer2,\n elementRef: ElementRef,\n ) {\n super(layout, renderer, elementRef);\n }\n\n onClick(): void {\n this._layout.toggle();\n }\n}\n\n@Directive({\n selector: '[tdLayoutNavListClose]',\n inputs: ['hideWhenOpened'],\n})\nexport class TdLayoutNavListCloseDirective extends BaseLayoutToggleDirective {\n @Input('tdLayoutNavListClose')\n set tdLayoutNavListClose(tdLayoutNavListClose: boolean) {\n this.disabled = !(<any>tdLayoutNavListClose === '' || tdLayoutNavListClose);\n }\n\n constructor(\n @Optional() @Inject(forwardRef(() => TdLayoutNavListComponent)) layout: TdLayoutNavListComponent,\n renderer: Renderer2,\n elementRef: ElementRef,\n ) {\n super(layout, renderer, elementRef);\n }\n\n onClick(): void {\n this._layout.close();\n }\n}\n\n@Directive({\n selector: '[tdLayoutNavListOpen]',\n inputs: ['hideWhenOpened'],\n})\nexport class TdLayoutNavListOpenDirective extends BaseLayoutToggleDirective {\n @Input('tdLayoutNavListOpen')\n set tdLayoutNavListOpen(tdLayoutNavListOpen: boolean) {\n this.disabled = !(<any>tdLayoutNavListOpen === '' || tdLayoutNavListOpen);\n }\n\n constructor(\n @Optional() @Inject(forwardRef(() => TdLayoutNavListComponent)) layout: TdLayoutNavListComponent,\n renderer: Renderer2,\n elementRef: ElementRef,\n ) {\n super(layout, renderer, elementRef);\n }\n\n onClick(): void {\n this._layout.open();\n }\n}\n","import { Component } from '@angular/core';\nimport { Input } from '@angular/core';\n\n@Component({\n selector: 'td-layout-card-over',\n styleUrls: ['./layout-card-over.component.scss'],\n templateUrl: './layout-card-over.component.html',\n})\nexport class TdLayoutCardOverComponent {\n /**\n * cardTitle?: string\n *\n * Title set in card.\n */\n @Input() cardTitle: string;\n\n /**\n * cardSubtitle?: string\n *\n * Subtitle set in card.\n */\n @Input() cardSubtitle: string;\n\n /**\n * cardWidth?: string\n *\n * Card flex width in %.\n * Defaults to 70%.\n */\n @Input() cardWidth: number = 70;\n\n /**\n * color?: 'accent' | 'primary' | 'warn'\n *\n * toolbar color option: primary | accent | warn.\n * If [color] is not set, primary is used.\n */\n @Input() color: 'accent' | 'primary' | 'warn' = 'primary';\n}\n","import { Component, Directive, Input, ViewChild } from '@angular/core';\n\nimport { MatSidenav, MatDrawerToggleResult } from '@angular/material/sidenav';\n\nimport { ILayoutTogglable } from '../layout-toggle.class';\n\n@Component({\n selector: 'td-layout-manage-list',\n styleUrls: ['./layout-manage-list.component.scss'],\n templateUrl: './layout-manage-list.component.html',\n})\nexport class TdLayoutManageListComponent implements ILayoutTogglable {\n @ViewChild(MatSidenav, { static: true }) sidenav: MatSidenav;\n\n /**\n * mode?: 'side', 'push' or 'over'\n *\n * The mode or styling of the sidenav.\n * Defaults to \"side\".\n * See \"MatSidenav\" documentation for more info.\n *\n * https://github.com/angular/material2/tree/master/src/lib/sidenav\n */\n @Input() mode: 'side' | 'push' | 'over' = 'side';\n\n /**\n * opened?: boolean\n *\n * Whether or not the sidenav is opened. Use this binding to open/close the sidenav.\n * Defaults to \"true\".\n *\n * See \"MatSidenav\" documentation for more info.\n *\n * https://github.com/angular/material2/tree/master/src/lib/sidenav\n */\n @Input() opened: boolean = true;\n\n /**\n * sidenavWidth?: string\n *\n * Sets the \"width\" of the sidenav in either \"px\" or \"%\"\n * Defaults to \"257px\".\n *\n * https://github.com/angular/material2/tree/master/src/lib/sidenav\n */\n @Input() sidenavWidth: string = '257px';\n\n /**\n * containerAutosize?: boolean\n *\n * Sets \"autosize\" of the sidenav-container.\n * Defaults to \"false\".\n *\n * See documentation for more info and potential performance risks.\n *\n * https://github.com/angular/material2/blob/master/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav\n */\n @Input() containerAutosize: boolean = false;\n\n /**\n * Checks if `ESC` should close the sidenav\n * Should only close it for `push` and `over` modes\n */\n get disableClose(): boolean {\n return this.mode === 'side';\n }\n\n /**\n * Proxy toggle method to access sidenav from outside (from td-layout template).\n */\n public toggle(): Promise<MatDrawerToggleResult> {\n return this.sidenav.toggle(!this.sidenav.opened);\n }\n\n /**\n * Proxy open method to access sidenav from outside (from td-layout template).\n */\n public open(): Promise<MatDrawerToggleResult> {\n return this.sidenav.open();\n }\n\n /**\n * Proxy close method to access sidenav from outside (from td-layout template).\n */\n public close(): Promise<MatDrawerToggleResult> {\n return this.sidenav.close();\n }\n}\n","import { Optional, Directive, Input, Renderer2, ElementRef, Inject, forwardRef } from '@angular/core';\nimport { TdLayoutManageListComponent } from './layout-manage-list.component';\nimport { BaseLayoutToggleDirective } from '../layout-toggle.class';\n\n@Directive({\n selector: '[tdLayoutManageListToggle]',\n inputs: ['hideWhenOpened'],\n})\nexport class TdLayoutManageListToggleDirective extends BaseLayoutToggleDirective {\n @Input('tdLayoutManageListToggle')\n set tdLayoutManageListToggle(tdLayoutManageListToggle: boolean) {\n this.disabled = !(<any>tdLayoutManageListToggle === '' || tdLayoutManageListToggle);\n }\n\n constructor(\n @Optional() @Inject(forwardRef(() => TdLayoutManageListComponent)) layout: TdLayoutManageListComponent,\n renderer: Renderer2,\n elementRef: ElementRef,\n ) {\n super(layout, renderer, elementRef);\n }\n\n onClick(): void {\n this._layout.toggle();\n }\n}\n\n@Directive({\n selector: '[tdLayoutManageListClose]',\n inputs: ['hideWhenOpened'],\n})\nexport class TdLayoutManageListCloseDirective extends BaseLayoutToggleDirective {\n @Input('tdLayoutManageListClose')\n set tdLayoutManageListClose(tdLayoutManageListClose: boolean) {\n this.disabled = !(<any>tdLayoutManageListClose === '' || tdLayoutManageListClose);\n }\n\n constructor(\n @Optional() @Inject(forwardRef(() => TdLayoutManageListComponent)) layout: TdLayoutManageListComponent,\n renderer: Renderer2,\n elementRef: ElementRef,\n ) {\n super(layout, renderer, elementRef);\n }\n\n onClick(): void {\n this._layout.close();\n }\n}\n\n@Directive({\n selector: '[tdLayoutManageListOpen]',\n inputs: ['hideWhenOpened'],\n})\nexport class TdLayoutManageListOpenDirective extends BaseLayoutToggleDirective {\n @Input('tdLayoutManageListOpen')\n set tdLayoutManageListOpen(tdLayoutManageListOpen: boolean) {\n this.disabled = !(<any>tdLayoutManageListOpen === '' || tdLayoutManageListOpen);\n }\n\n constructor(\n @Optional() @Inject(forwardRef(() => TdLayoutManageListComponent)) layout: TdLayoutManageListComponent,\n renderer: Renderer2,\n elementRef: ElementRef,\n ) {\n super(layout, renderer, elementRef);\n }\n\n onClick(): void {\n this._layout.open();\n }\n}\n","import { Component, Input, Renderer2, ElementRef } from '@angular/core';\n\n@Component({\n /* tslint:disable-next-line */\n selector: 'td-layout-footer,td-layout-footer-inner',\n styleUrls: ['./layout-footer.component.scss'],\n templateUrl: './layout-footer.component.html',\n})\nexport class TdLayoutFooterComponent {\n private _color: 'primary' | 'accent' | 'warn';\n\n /**\n * color?: 'accent' | 'primary' | 'warn'\n *\n * Optional color option: primary | accent | warn.\n */\n @Input('color')\n set color(color: 'primary' | 'accent' | 'warn') {\n if (color) {\n this._renderer.removeClass(this._elementRef.nativeElement, 'mat-' + this._color);\n this._color = color;\n this._renderer.addClass(this._elementRef.nativeElement, 'mat-' + this._color);\n }\n }\n get color(): 'primary' | 'accent' | 'warn' {\n return this._color;\n }\n\n constructor(private _renderer: Renderer2, private _elementRef: ElementRef) {\n this._renderer.addClass(this._elementRef.nativeElement, 'td-layout-footer');\n }\n}\n","import {\n Component,\n Directive,\n Input,\n ContentChildren,\n OnInit,\n OnDestroy,\n forwardRef,\n Inject,\n QueryList,\n SecurityContext,\n Optional,\n} from '@angular/core';\nimport { Router } from '@angular/router';\nimport { SafeResourceUrl, SafeStyle, DomSanitizer } from '@angular/platform-browser';\nimport { MatDrawerToggleResult } from '@angular/material/sidenav';\n\nimport { Subscription } from 'rxjs';\n\nimport { TdLayoutComponent } from '../layout.component';\n\nimport { tdCollapseAnimation } from '@covalent/core/common';\n\n@Directive({\n selector: '[td-navigation-drawer-menu]',\n})\nexport class TdNavigationDrawerMenuDirective {}\n\n@Directive({\n selector: '[td-navigation-drawer-toolbar]',\n})\nexport class TdNavigationDrawerToolbarDirective {}\n\n@Component({\n selector: 'td-navigation-drawer',\n styleUrls: ['./navigation-drawer.component.scss'],\n templateUrl: './navigation-drawer.component.html',\n animations: [tdCollapseAnimation],\n})\nexport class TdNavigationDrawerComponent implements OnInit, OnDestroy {\n private _closeSubscription: Subscription;\n private _menuToggled: boolean = false;\n private _backgroundImage: SafeStyle;\n\n get menuToggled(): boolean {\n return this._menuToggled;\n }\n\n @ContentChildren(TdNavigationDrawerMenuDirective, { descendants: true })\n _drawerMenu: QueryList<TdNavigationDrawerMenuDirective>;\n\n @ContentChildren(TdNavigationDrawerToolbarDirective, { descendants: true })\n _toolbar: QueryList<TdNavigationDrawerToolbarDirective>;\n\n /**\n * Checks if there is a [TdNavigationDrawerMenuDirective] has content.\n */\n get isMenuAvailable(): boolean {\n return this._drawerMenu ? this._drawerMenu.length > 0 : false;\n }\n\n /**\n * Checks if there is a [TdNavigationDrawerToolbarDirective] has content.\n */\n get isCustomToolbar(): boolean {\n return this._toolbar ? this._toolbar.length > 0 : false;\n }\n\n /**\n * Checks if there is a background image for the toolbar.\n */\n get isBackgroundAvailable(): boolean {\n return !!this._backgroundImage;\n }\n\n /**\n * sidenavTitle?: string\n * Title set in sideNav.\n */\n @Input() sidenavTitle: string;\n\n /**\n * icon?: string\n *\n * icon name to be displayed before the title\n */\n @Input() icon: string;\n\n /**\n * logo?: string\n *\n * logo icon name to be displayed before the title.\n * If [icon] is set, then this will not be shown.\n */\n @Input() logo: string;\n\n /**\n * avatar?: string\n *\n * avatar url to be displayed before the title\n * If [icon] or [logo] are set, then this will not be shown.\n */\n @Input() avatar: string;\n\n /**\n * color?: 'accent' | 'primary' | 'warn'\n *\n * toolbar color option: primary | accent | warn.\n * If [color] is not set, default is used.\n */\n @Input() color: 'accent' | 'primary' | 'warn';\n\n /**\n * navigationRoute?: string\n *\n * option to set the combined route for the icon, logo, and sidenavTitle.\n */\n @Input() navigationRoute: string;\n\n /**\n * backgroundUrl?: SafeResourceUrl\n *\n * image to be displayed as the background of the toolbar.\n * URL used will be sanitized, but it should be always from a trusted source to avoid XSS.\n */\n @Input('backgroundUrl')\n // TODO Angular complains with warnings if this is type [SafeResourceUrl].. so we will make it <any> until its fixed.\n // https://github.com/webpack/webpack/issues/2977\n set backgroundUrl(backgroundUrl: any) {\n if (backgroundUrl) {\n const sanitizedUrl: string = this._sanitize.sanitize(SecurityContext.RESOURCE_URL, backgroundUrl);\n this._backgroundImage = this._sanitize.sanitize(SecurityContext.STYLE, 'url(' + sanitizedUrl + ')');\n }\n }\n get backgroundImage(): SafeStyle {\n return this._backgroundImage;\n }\n\n /**\n * name?: string\n *\n * string to be displayed as part of the navigation drawer sublabel.\n * if [email] is not set, then [name] will be the toggle menu text.\n */\n @Input() name: string;\n\n /**\n * email?: string\n *\n * string to be displayed as part of the navigation drawer sublabel in the [toggle] menu text.\n * if [email] and [name] are not set, then the toggle menu is not rendered.\n */\n @Input() email: string;\n\n /**\n * Checks if router was injected.\n */\n get routerEnabled(): boolean {\n return !!this._router && !!this.navigationRoute;\n }\n\n constructor(\n @Inject(forwardRef(() => TdLayoutComponent)) private _layout: TdLayoutComponent,\n @Optional() private _router: Router,\n private _sanitize: DomSanitizer,\n ) {}\n\n ngOnInit(): void {\n this._closeSubscription = this._layout.sidenav.openedChange.subscribe((opened: boolean) => {\n if (!opened) {\n this._menuToggled = false;\n }\n });\n }\n\n ngOnDestroy(): void {\n if (this._closeSubscription) {\n this._closeSubscription.unsubscribe();\n this._closeSubscription = undefined;\n }\n }\n\n toggleMenu(): void {\n if (this.isMenuAvailable) {\n this._menuToggled = !this._menuToggled;\n }\n }\n\n handleNavigationClick(): void {\n if (this.routerEnabled) {\n this._router.navigateByUrl(this.navigationRoute);\n this.close();\n }\n }\n\n /**\n * Proxy toggle method to access sidenav from outside (from td-layout template).\n */\n public toggle(): Promise<MatDrawerToggleResult> {\n return this._layout.toggle();\n }\n\n /**\n * Proxy open method to access sidenav from outside (from td-layout template).\n */\n public open(): Promise<MatDrawerToggleResult> {\n return this._layout.open();\n }\n\n /**\n * Proxy close method to access sidenav from outside (from td-layout template).\n */\n public close(): Promise<MatDrawerToggleResult> {\n return this._layout.close();\n }\n}\n","import { Type } from '@angular/core';\nimport { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { ScrollingModule } from '@angular/cdk/scrolling';\nimport { MatSidenavModule } from '@angular/material/sidenav';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatCardModule } from '@angular/material/card';\nimport { MatDividerModule } from '@angular/material/divider';\n\nimport { TdLayoutComponent } from './layout.component';\nimport { TdLayoutToggleDirective, TdLayoutCloseDirective, TdLayoutOpenDirective } from './layout.directives';\nimport { TdLayoutNavComponent } from './layout-nav/layout-nav.component';\nimport { TdLayoutNavListComponent } from './layout-nav-list/layout-nav-list.component';\nimport {\n TdLayoutNavListToggleDirective,\n TdLayoutNavListCloseDirective,\n TdLayoutNavListOpenDirective,\n} from './layout-nav-list/layout-nav-list.directives';\nimport { TdLayoutCardOverComponent } from './layout-card-over/layout-card-over.component';\nimport { TdLayoutManageListComponent } from './layout-manage-list/layout-manage-list.component';\nimport {\n TdLayoutManageListToggleDirective,\n TdLayoutManageListCloseDirective,\n TdLayoutManageListOpenDirective,\n} from './layout-manage-list/layout-manage-list.directives';\nimport { TdLayoutFooterComponent } from './layout-footer/layout-footer.component';\n\nimport {\n TdNavigationDrawerComponent,\n TdNavigationDrawerMenuDirective,\n TdNavigationDrawerToolbarDirective,\n} from './navigation-drawer/navigation-drawer.component';\n\nconst TD_LAYOUTS: Type<any>[] = [\n TdLayoutComponent,\n TdLayoutToggleDirective,\n TdLayoutCloseDirective,\n TdLayoutOpenDirective,\n\n TdLayoutNavComponent,\n\n TdLayoutNavListComponent,\n TdLayoutNavListToggleDirective,\n TdLayoutNavListCloseDirective,\n TdLayoutNavListOpenDirective,\n\n TdLayoutCardOverComponent,\n\n TdLayoutManageListComponent,\n TdLayoutManageListToggleDirective,\n TdLayoutManageListCloseDirective,\n TdLayoutManageListOpenDirective,\n\n TdLayoutFooterComponent,\n\n TdNavigationDrawerComponent,\n TdNavigationDrawerMenuDirective,\n TdNavigationDrawerToolbarDirective,\n];\n\n@NgModule({\n imports: [\n CommonModule,\n ScrollingModule,\n MatSidenavModule,\n MatToolbarModule,\n MatButtonModule,\n MatIconModule,\n MatCardModule,\n MatDividerModule,\n ],\n declarations: [TD_LAYOUTS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B,2BAA2B;IAC3B,iCAAiC;IACjC,gCAAgC;IAChC,+BAA+B;IAE/B,uBAAuB;IAEvB,2BAA2B;IAC3B,+BAA+B;IAC/B,kCAAkC;CACnC;MAgBY,oBAAoB;;;YAdhC,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,YAAY;oBACZ,eAAe;oBACf,gBAAgB;oBAChB,gBAAgB;oBAChB,eAAe;oBACf,aAAa;oBACb,aAAa;oBACb,gBAAgB;iBACjB;gBACD,YAAY,EAAE,CAAC,UAAU,CAAC;gBAC1B,OAAO,EAAE,CAAC,UAAU,CAAC;aACtB;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,57 +0,0 @@
1
- import { Component, NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { MatMenuModule } from '@angular/material/menu';
4
- import { MatDividerModule } from '@angular/material/divider';
5
-
6
- /**
7
- * @fileoverview added by tsickle
8
- * Generated from: menu.component.ts
9
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10
- */
11
- class TdMenuComponent {
12
- }
13
- TdMenuComponent.decorators = [
14
- { type: Component, args: [{
15
- selector: 'td-menu',
16
- template: "<ng-content select=\"[td-menu-header]\"></ng-content>\n<mat-divider></mat-divider>\n<div class=\"td-menu-content\">\n <ng-content></ng-content>\n</div>\n<mat-divider></mat-divider>\n<ng-content select=\"[td-menu-footer]\"></ng-content>\n",
17
- styles: [":host{-ms-flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;flex-direction:column;margin-bottom:-8px;margin-top:-8px}:host ::ng-deep [td-menu-header]{padding:8px;text-align:center}:host ::ng-deep mat-list[dense] a[mat-list-item].mat-2-line,:host ::ng-deep mat-list[dense] mat-list-item.mat-2-line,:host ::ng-deep mat-list a[mat-list-item].mat-2-line,:host ::ng-deep mat-list mat-list-item.mat-2-line,:host ::ng-deep mat-nav-list[dense] a[mat-list-item].mat-2-line,:host ::ng-deep mat-nav-list[dense] mat-list-item.mat-2-line,:host ::ng-deep mat-nav-list a[mat-list-item].mat-2-line,:host ::ng-deep mat-nav-list mat-list-item.mat-2-line{height:auto}:host ::ng-deep mat-list[dense] a[mat-list-item].mat-2-line .mat-list-item-content,:host ::ng-deep mat-list[dense] mat-list-item.mat-2-line .mat-list-item-content,:host ::ng-deep mat-list a[mat-list-item].mat-2-line .mat-list-item-content,:host ::ng-deep mat-list mat-list-item.mat-2-line .mat-list-item-content,:host ::ng-deep mat-nav-list[dense] a[mat-list-item].mat-2-line .mat-list-item-content,:host ::ng-deep mat-nav-list[dense] mat-list-item.mat-2-line .mat-list-item-content,:host ::ng-deep mat-nav-list a[mat-list-item].mat-2-line .mat-list-item-content,:host ::ng-deep mat-nav-list mat-list-item.mat-2-line .mat-list-item-content{height:auto;padding:8px}:host ::ng-deep mat-list[dense] a[mat-list-item].mat-2-line .mat-list-item-content .mat-list-text,:host ::ng-deep mat-list[dense] mat-list-item.mat-2-line .mat-list-item-content .mat-list-text,:host ::ng-deep mat-list a[mat-list-item].mat-2-line .mat-list-item-content .mat-list-text,:host ::ng-deep mat-list mat-list-item.mat-2-line .mat-list-item-content .mat-list-text,:host ::ng-deep mat-nav-list[dense] a[mat-list-item].mat-2-line .mat-list-item-content .mat-list-text,:host ::ng-deep mat-nav-list[dense] mat-list-item.mat-2-line .mat-list-item-content .mat-list-text,:host ::ng-deep mat-nav-list a[mat-list-item].mat-2-line .mat-list-item-content .mat-list-text,:host ::ng-deep mat-nav-list mat-list-item.mat-2-line .mat-list-item-content .mat-list-text{padding-right:0}[dir=rtl] :host ::ng-deep mat-list[dense] a[mat-list-item].mat-2-line .mat-list-item-content .mat-list-text,[dir=rtl] :host ::ng-deep mat-list[dense] mat-list-item.mat-2-line .mat-list-item-content .mat-list-text,[dir=rtl] :host ::ng-deep mat-list a[mat-list-item].mat-2-line .mat-list-item-content .mat-list-text,[dir=rtl] :host ::ng-deep mat-list mat-list-item.mat-2-line .mat-list-item-content .mat-list-text,[dir=rtl] :host ::ng-deep mat-nav-list[dense] a[mat-list-item].mat-2-line .mat-list-item-content .mat-list-text,[dir=rtl] :host ::ng-deep mat-nav-list[dense] mat-list-item.mat-2-line .mat-list-item-content .mat-list-text,[dir=rtl] :host ::ng-deep mat-nav-list a[mat-list-item].mat-2-line .mat-list-item-content .mat-list-text,[dir=rtl] :host ::ng-deep mat-nav-list mat-list-item.mat-2-line .mat-list-item-content .mat-list-text{padding-left:0;padding-right:16px}:host ::ng-deep mat-list[dense] a[mat-list-item].mat-2-line .mat-list-item-content [matLine]+[matLine],:host ::ng-deep mat-list[dense] mat-list-item.mat-2-line .mat-list-item-content [matLine]+[matLine],:host ::ng-deep mat-list a[mat-list-item].mat-2-line .mat-list-item-content [matLine]+[matLine],:host ::ng-deep mat-list mat-list-item.mat-2-line .mat-list-item-content [matLine]+[matLine],:host ::ng-deep mat-nav-list[dense] a[mat-list-item].mat-2-line .mat-list-item-content [matLine]+[matLine],:host ::ng-deep mat-nav-list[dense] mat-list-item.mat-2-line .mat-list-item-content [matLine]+[matLine],:host ::ng-deep mat-nav-list a[mat-list-item].mat-2-line .mat-list-item-content [matLine]+[matLine],:host ::ng-deep mat-nav-list mat-list-item.mat-2-line .mat-list-item-content [matLine]+[matLine]{margin-top:4px}.td-menu-content{max-height:50vh;overflow-y:auto}"]
18
- }] }
19
- ];
20
-
21
- /**
22
- * @fileoverview added by tsickle
23
- * Generated from: menu.module.ts
24
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
25
- */
26
- /** @type {?} */
27
- const TD_MENU = [TdMenuComponent];
28
- class CovalentMenuModule {
29
- }
30
- CovalentMenuModule.decorators = [
31
- { type: NgModule, args: [{
32
- imports: [CommonModule, MatMenuModule, MatDividerModule],
33
- declarations: [TD_MENU],
34
- exports: [TD_MENU],
35
- },] }
36
- ];
37
-
38
- /**
39
- * @fileoverview added by tsickle
40
- * Generated from: public-api.ts
41
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
42
- */
43
-
44
- /**
45
- * @fileoverview added by tsickle
46
- * Generated from: index.ts
47
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
48
- */
49
-
50
- /**
51
- * @fileoverview added by tsickle
52
- * Generated from: covalent-core-menu.ts
53
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
54
- */
55
-
56
- export { CovalentMenuModule, TdMenuComponent };
57
- //# sourceMappingURL=covalent-core-menu.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"covalent-core-menu.js","sources":["../../../../src/platform/core/menu/menu.component.ts","../../../../src/platform/core/menu/menu.module.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'td-menu',\n templateUrl: './menu.component.html',\n styleUrls: ['./menu.component.scss'],\n})\nexport class TdMenuComponent {}\n","import { Type } from '@angular/core';\nimport { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatDividerModule } from '@angular/material/divider';\n\nimport { TdMenuComponent } from './menu.component';\n\nconst TD_MENU: Type<any>[] = [TdMenuComponent];\n\n@NgModule({\n imports: [CommonModule, MatMenuModule, MatDividerModule],\n declarations: [TD_MENU],\n exports: [TD_MENU],\n})\nexport class CovalentMenuModule {}\n"],"names":[],"mappings":";;;;;;;;;;MAOa,eAAe;;;YAL3B,SAAS,SAAC;gBACT,QAAQ,EAAE,SAAS;gBACnB,0PAAoC;;aAErC;;;;;;;;;MCGK,OAAO,GAAgB,CAAC,eAAe,CAAC;MAOjC,kBAAkB;;;YAL9B,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,gBAAgB,CAAC;gBACxD,YAAY,EAAE,CAAC,OAAO,CAAC;gBACvB,OAAO,EAAE,CAAC,OAAO,CAAC;aACnB;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,347 +0,0 @@
1
- import { Directive, ViewContainerRef, Component, Renderer2, ChangeDetectorRef, ElementRef, ViewChild, TemplateRef, HostBinding, Input, HostListener, NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { MatIconModule } from '@angular/material/icon';
4
- import { tdCollapseAnimation } from '@covalent/core/common';
5
-
6
- /**
7
- * @fileoverview added by tsickle
8
- * Generated from: message.component.ts
9
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10
- */
11
- class TdMessageContainerDirective {
12
- /**
13
- * @param {?} viewContainer
14
- */
15
- constructor(viewContainer) {
16
- this.viewContainer = viewContainer;
17
- }
18
- }
19
- TdMessageContainerDirective.decorators = [
20
- { type: Directive, args: [{
21
- selector: '[tdMessageContainer]',
22
- },] }
23
- ];
24
- /** @nocollapse */
25
- TdMessageContainerDirective.ctorParameters = () => [
26
- { type: ViewContainerRef }
27
- ];
28
- if (false) {
29
- /** @type {?} */
30
- TdMessageContainerDirective.prototype.viewContainer;
31
- }
32
- class TdMessageComponent {
33
- /**
34
- * @param {?} _renderer
35
- * @param {?} _changeDetectorRef
36
- * @param {?} _elementRef
37
- */
38
- constructor(_renderer, _changeDetectorRef, _elementRef) {
39
- this._renderer = _renderer;
40
- this._changeDetectorRef = _changeDetectorRef;
41
- this._elementRef = _elementRef;
42
- this._opened = true;
43
- this._hidden = false;
44
- this._animating = false;
45
- this._initialized = false;
46
- /**
47
- * icon?: string
48
- *
49
- * The icon to be displayed before the title.
50
- * Defaults to `info_outline` icon
51
- */
52
- this.icon = 'info_outline';
53
- this._renderer.addClass(this._elementRef.nativeElement, 'td-message');
54
- }
55
- /**
56
- * Binding host to tdCollapse animation
57
- * @return {?}
58
- */
59
- get collapsedAnimation() {
60
- return { value: !this._opened, duration: 100 };
61
- }
62
- /**
63
- * Binding host to display style when hidden
64
- * @return {?}
65
- */
66
- get hidden() {
67
- return this._hidden ? 'none' : undefined;
68
- }
69
- /**
70
- * color?: primary | accent | warn
71
- *
72
- * Sets the color of the message.
73
- * Can also use any material color: purple | light-blue, etc.
74
- * @param {?} color
75
- * @return {?}
76
- */
77
- set color(color) {
78
- this._renderer.removeClass(this._elementRef.nativeElement, 'mat-' + this._color);
79
- this._renderer.removeClass(this._elementRef.nativeElement, 'bgc-' + this._color + '-100');
80
- this._renderer.removeClass(this._elementRef.nativeElement, 'tc-' + this._color + '-700');
81
- if (color === 'primary' || color === 'accent' || color === 'warn') {
82
- this._renderer.addClass(this._elementRef.nativeElement, 'mat-' + color);
83
- }
84
- else {
85
- this._renderer.addClass(this._elementRef.nativeElement, 'bgc-' + color + '-100');
86
- this._renderer.addClass(this._elementRef.nativeElement, 'tc-' + color + '-700');
87
- }
88
- this._color = color;
89
- this._changeDetectorRef.markForCheck();
90
- }
91
- /**
92
- * @return {?}
93
- */
94
- get color() {
95
- return this._color;
96
- }
97
- /**
98
- * opened?: boolean
99
- *
100
- * Shows or hiddes the message depending on its value.
101
- * Defaults to 'true'.
102
- * @param {?} opened
103
- * @return {?}
104
- */
105
- set opened(opened) {
106
- if (this._initialized) {
107
- if (opened) {
108
- this.open();
109
- }
110
- else {
111
- this.close();
112
- }
113
- }
114
- else {
115
- this._opened = opened;
116
- }
117
- }
118
- /**
119
- * @return {?}
120
- */
121
- get opened() {
122
- return this._opened;
123
- }
124
- /**
125
- * Detach element when close animation is finished to set animating state to false
126
- * hidden state to true and detach element from DOM
127
- * @return {?}
128
- */
129
- animationDoneListener() {
130
- if (!this._opened) {
131
- this._hidden = true;
132
- this._detach();
133
- }
134
- this._animating = false;
135
- this._changeDetectorRef.markForCheck();
136
- }
137
- /**
138
- * Initializes the component and attaches the content.
139
- * @return {?}
140
- */
141
- ngAfterViewInit() {
142
- Promise.resolve(undefined).then((/**
143
- * @return {?}
144
- */
145
- () => {
146
- if (this._opened) {
147
- this._attach();
148
- }
149
- this._initialized = true;
150
- }));
151
- }
152
- /**
153
- * Renders the message on screen
154
- * Validates if there is an animation currently and if its already opened
155
- * @return {?}
156
- */
157
- open() {
158
- if (!this._opened && !this._animating) {
159
- this._opened = true;
160
- this._attach();
161
- this._startAnimationState();
162
- }
163
- }
164
- /**
165
- * Removes the message content from screen.
166
- * Validates if there is an animation currently and if its already closed
167
- * @return {?}
168
- */
169
- close() {
170
- if (this._opened && !this._animating) {
171
- this._opened = false;
172
- this._startAnimationState();
173
- }
174
- }
175
- /**
176
- * Toggles between open and close depending on state.
177
- * @return {?}
178
- */
179
- toggle() {
180
- if (this._opened) {
181
- this.close();
182
- }
183
- else {
184
- this.open();
185
- }
186
- }
187
- /**
188
- * Method to set the state before starting an animation
189
- * @private
190
- * @return {?}
191
- */
192
- _startAnimationState() {
193
- this._animating = true;
194
- this._hidden = false;
195
- this._changeDetectorRef.markForCheck();
196
- }
197
- /**
198
- * Method to attach template to DOM
199
- * @private
200
- * @return {?}
201
- */
202
- _attach() {
203
- this._childElement.viewContainer.createEmbeddedView(this._template);
204
- this._changeDetectorRef.markForCheck();
205
- }
206
- /**
207
- * Method to detach template from DOM
208
- * @private
209
- * @return {?}
210
- */
211
- _detach() {
212
- this._childElement.viewContainer.clear();
213
- this._changeDetectorRef.markForCheck();
214
- }
215
- }
216
- TdMessageComponent.decorators = [
217
- { type: Component, args: [{
218
- selector: 'td-message',
219
- template: "<div tdMessageContainer></div>\n<ng-template>\n <div class=\"td-message-wrapper\">\n <mat-icon class=\"td-message-icon\">{{ icon }}</mat-icon>\n <div class=\"td-message-labels\">\n <div *ngIf=\"label\" class=\"td-message-label\">{{ label }}</div>\n <div *ngIf=\"sublabel\" class=\"td-message-sublabel\">{{ sublabel }}</div>\n </div>\n <ng-content select=\"[td-message-actions]\"></ng-content>\n </div>\n</ng-template>\n",
220
- animations: [tdCollapseAnimation],
221
- styles: [":host{display:block}:host .td-message-wrapper{-ms-flex-align:center;-ms-flex-direction:row;-ms-flex-line-pack:center;-ms-flex-pack:start;align-content:center;align-items:center;box-sizing:border-box;display:-ms-flexbox;display:flex;flex-direction:row;justify-content:flex-start;max-width:100%;min-height:52px;padding:8px 16px}:host .td-message-wrapper .td-message-labels{-ms-flex:1;flex:1}.td-message-icon{margin-right:16px}::ng-deep [dir=rtl] .td-message-icon{margin-left:16px;margin-right:0}"]
222
- }] }
223
- ];
224
- /** @nocollapse */
225
- TdMessageComponent.ctorParameters = () => [
226
- { type: Renderer2 },
227
- { type: ChangeDetectorRef },
228
- { type: ElementRef }
229
- ];
230
- TdMessageComponent.propDecorators = {
231
- _childElement: [{ type: ViewChild, args: [TdMessageContainerDirective, { static: true },] }],
232
- _template: [{ type: ViewChild, args: [TemplateRef,] }],
233
- collapsedAnimation: [{ type: HostBinding, args: ['@tdCollapse',] }],
234
- hidden: [{ type: HostBinding, args: ['style.display',] }],
235
- label: [{ type: Input }],
236
- sublabel: [{ type: Input }],
237
- icon: [{ type: Input }],
238
- color: [{ type: Input, args: ['color',] }],
239
- opened: [{ type: Input, args: ['opened',] }],
240
- animationDoneListener: [{ type: HostListener, args: ['@tdCollapse.done',] }]
241
- };
242
- if (false) {
243
- /**
244
- * @type {?}
245
- * @private
246
- */
247
- TdMessageComponent.prototype._color;
248
- /**
249
- * @type {?}
250
- * @private
251
- */
252
- TdMessageComponent.prototype._opened;
253
- /**
254
- * @type {?}
255
- * @private
256
- */
257
- TdMessageComponent.prototype._hidden;
258
- /**
259
- * @type {?}
260
- * @private
261
- */
262
- TdMessageComponent.prototype._animating;
263
- /**
264
- * @type {?}
265
- * @private
266
- */
267
- TdMessageComponent.prototype._initialized;
268
- /** @type {?} */
269
- TdMessageComponent.prototype._childElement;
270
- /** @type {?} */
271
- TdMessageComponent.prototype._template;
272
- /**
273
- * label: string
274
- *
275
- * Sets the label of the message.
276
- * @type {?}
277
- */
278
- TdMessageComponent.prototype.label;
279
- /**
280
- * sublabel?: string
281
- *
282
- * Sets the sublabel of the message.
283
- * @type {?}
284
- */
285
- TdMessageComponent.prototype.sublabel;
286
- /**
287
- * icon?: string
288
- *
289
- * The icon to be displayed before the title.
290
- * Defaults to `info_outline` icon
291
- * @type {?}
292
- */
293
- TdMessageComponent.prototype.icon;
294
- /**
295
- * @type {?}
296
- * @private
297
- */
298
- TdMessageComponent.prototype._renderer;
299
- /**
300
- * @type {?}
301
- * @private
302
- */
303
- TdMessageComponent.prototype._changeDetectorRef;
304
- /**
305
- * @type {?}
306
- * @private
307
- */
308
- TdMessageComponent.prototype._elementRef;
309
- }
310
-
311
- /**
312
- * @fileoverview added by tsickle
313
- * Generated from: message.module.ts
314
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
315
- */
316
- /** @type {?} */
317
- const TD_MESSAGE = [TdMessageComponent, TdMessageContainerDirective];
318
- class CovalentMessageModule {
319
- }
320
- CovalentMessageModule.decorators = [
321
- { type: NgModule, args: [{
322
- imports: [CommonModule, MatIconModule],
323
- declarations: [TD_MESSAGE],
324
- exports: [TD_MESSAGE],
325
- },] }
326
- ];
327
-
328
- /**
329
- * @fileoverview added by tsickle
330
- * Generated from: public-api.ts
331
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
332
- */
333
-
334
- /**
335
- * @fileoverview added by tsickle
336
- * Generated from: index.ts
337
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
338
- */
339
-
340
- /**
341
- * @fileoverview added by tsickle
342
- * Generated from: covalent-core-message.ts
343
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
344
- */
345
-
346
- export { CovalentMessageModule, TdMessageComponent, TdMessageContainerDirective };
347
- //# sourceMappingURL=covalent-core-message.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"covalent-core-message.js","sources":["../../../../src/platform/core/message/message.component.ts","../../../../src/platform/core/message/message.module.ts"],"sourcesContent":["import {\n Component,\n Directive,\n Input,\n Renderer2,\n ElementRef,\n AfterViewInit,\n ViewContainerRef,\n TemplateRef,\n ViewChild,\n HostBinding,\n HostListener,\n ChangeDetectorRef,\n} from '@angular/core';\n\nimport { tdCollapseAnimation } from '@covalent/core/common';\n\n@Directive({\n selector: '[tdMessageContainer]',\n})\nexport class TdMessageContainerDirective {\n constructor(public viewContainer: ViewContainerRef) {}\n}\n\n@Component({\n selector: 'td-message',\n templateUrl: './message.component.html',\n styleUrls: ['./message.component.scss'],\n animations: [tdCollapseAnimation],\n})\nexport class TdMessageComponent implements AfterViewInit {\n private _color: string;\n private _opened: boolean = true;\n private _hidden: boolean = false;\n private _animating: boolean = false;\n private _initialized: boolean = false;\n\n @ViewChild(TdMessageContainerDirective, { static: true }) _childElement: TdMessageContainerDirective;\n @ViewChild(TemplateRef) _template: TemplateRef<any>;\n\n /**\n * Binding host to tdCollapse animation\n */\n @HostBinding('@tdCollapse')\n get collapsedAnimation(): any {\n return { value: !this._opened, duration: 100 };\n }\n\n /**\n * Binding host to display style when hidden\n */\n @HostBinding('style.display')\n get hidden(): string {\n return this._hidden ? 'none' : undefined;\n }\n\n /**\n * label: string\n *\n * Sets the label of the message.\n */\n @Input() label: string;\n\n /**\n * sublabel?: string\n *\n * Sets the sublabel of the message.\n */\n @Input() sublabel: string;\n\n /**\n * icon?: string\n *\n * The icon to be displayed before the title.\n * Defaults to `info_outline` icon\n */\n @Input() icon: string = 'info_outline';\n\n /**\n * color?: primary | accent | warn\n *\n * Sets the color of the message.\n * Can also use any material color: purple | light-blue, etc.\n */\n @Input('color')\n set color(color: string) {\n this._renderer.removeClass(this._elementRef.nativeElement, 'mat-' + this._color);\n this._renderer.removeClass(this._elementRef.nativeElement, 'bgc-' + this._color + '-100');\n this._renderer.removeClass(this._elementRef.nativeElement, 'tc-' + this._color + '-700');\n if (color === 'primary' || color === 'accent' || color === 'warn') {\n this._renderer.addClass(this._elementRef.nativeElement, 'mat-' + color);\n } else {\n this._renderer.addClass(this._elementRef.nativeElement, 'bgc-' + color + '-100');\n this._renderer.addClass(this._elementRef.nativeElement, 'tc-' + color + '-700');\n }\n this._color = color;\n this._changeDetectorRef.markForCheck();\n }\n get color(): string {\n return this._color;\n }\n\n /**\n * opened?: boolean\n *\n * Shows or hiddes the message depending on its value.\n * Defaults to 'true'.\n */\n @Input('opened')\n set opened(opened: boolean) {\n if (this._initialized) {\n if (opened) {\n this.open();\n } else {\n this.close();\n }\n } else {\n this._opened = opened;\n }\n }\n get opened(): boolean {\n return this._opened;\n }\n\n constructor(\n private _renderer: Renderer2,\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n ) {\n this._renderer.addClass(this._elementRef.nativeElement, 'td-message');\n }\n\n /**\n * Detach element when close animation is finished to set animating state to false\n * hidden state to true and detach element from DOM\n */\n @HostListener('@tdCollapse.done')\n animationDoneListener(): void {\n if (!this._opened) {\n this._hidden = true;\n this._detach();\n }\n this._animating = false;\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * Initializes the component and attaches the content.\n */\n ngAfterViewInit(): void {\n Promise.resolve(undefined).then(() => {\n if (this._opened) {\n this._attach();\n }\n this._initialized = true;\n });\n }\n\n /**\n * Renders the message on screen\n * Validates if there is an animation currently and if its already opened\n */\n open(): void {\n if (!this._opened && !this._animating) {\n this._opened = true;\n this._attach();\n this._startAnimationState();\n }\n }\n\n /**\n * Removes the message content from screen.\n * Validates if there is an animation currently and if its already closed\n */\n close(): void {\n if (this._opened && !this._animating) {\n this._opened = false;\n this._startAnimationState();\n }\n }\n\n /**\n * Toggles between open and close depending on state.\n */\n toggle(): void {\n if (this._opened) {\n this.close();\n } else {\n this.open();\n }\n }\n\n /**\n * Method to set the state before starting an animation\n */\n private _startAnimationState(): void {\n this._animating = true;\n this._hidden = false;\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * Method to attach template to DOM\n */\n private _attach(): void {\n this._childElement.viewContainer.createEmbeddedView(this._template);\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * Method to detach template from DOM\n */\n private _detach(): void {\n this._childElement.viewContainer.clear();\n this._changeDetectorRef.markForCheck();\n }\n}\n","import { Type } from '@angular/core';\nimport { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { MatIconModule } from '@angular/material/icon';\n\nimport { TdMessageComponent, TdMessageContainerDirective } from './message.component';\n\nconst TD_MESSAGE: Type<any>[] = [TdMessageComponent, TdMessageContainerDirective];\n\n@NgModule({\n imports: [CommonModule, MatIconModule],\n declarations: [TD_MESSAGE],\n exports: [TD_MESSAGE],\n})\nexport class CovalentMessageModule {}\n"],"names":[],"mappings":";;;;;;;;;;MAoBa,2BAA2B;;;;IACtC,YAAmB,aAA+B;QAA/B,kBAAa,GAAb,aAAa,CAAkB;KAAI;;;YAJvD,SAAS,SAAC;gBACT,QAAQ,EAAE,sBAAsB;aACjC;;;;YAZC,gBAAgB;;;;IAcJ,oDAAsC;;MASvC,kBAAkB;;;;;;IA8F7B,YACU,SAAoB,EACpB,kBAAqC,EACrC,WAAuB;QAFvB,cAAS,GAAT,SAAS,CAAW;QACpB,uBAAkB,GAAlB,kBAAkB,CAAmB;QACrC,gBAAW,GAAX,WAAW,CAAY;QA/FzB,YAAO,GAAY,IAAI,CAAC;QACxB,YAAO,GAAY,KAAK,CAAC;QACzB,eAAU,GAAY,KAAK,CAAC;QAC5B,iBAAY,GAAY,KAAK,CAAC;;;;;;;QAyC7B,SAAI,GAAW,cAAc,CAAC;QAqDrC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,YAAY,CAAC,CAAC;KACvE;;;;;IAvFD,IACI,kBAAkB;QACpB,OAAO,EAAE,KAAK,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,GAAG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