@covalent/core 3.1.2-beta.6 → 4.0.0-beta.1

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 (829) hide show
  1. package/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +3 -0
  2. package/breadcrumbs/breadcrumb/breadcrumb.component.scss +3 -0
  3. package/breadcrumbs/breadcrumbs.component.d.ts +3 -0
  4. package/breadcrumbs/breadcrumbs.component.scss +1 -0
  5. package/breadcrumbs/breadcrumbs.module.d.ts +8 -0
  6. package/breadcrumbs/covalent-core-breadcrumbs.d.ts +1 -0
  7. package/breadcrumbs/package.json +6 -7
  8. package/common/_common-theme.scss +2 -0
  9. package/common/common.module.d.ts +15 -0
  10. package/common/covalent-core-common.d.ts +1 -2
  11. package/common/directives/fullscreen/fullscreen.directive.d.ts +3 -0
  12. package/common/forms/auto-trim/auto-trim.directive.d.ts +3 -0
  13. package/common/material-icons.css +31 -18
  14. package/common/material-icons.css.map +1 -1
  15. package/common/package.json +6 -7
  16. package/common/pipes/bytes/bytes.pipe.d.ts +3 -0
  17. package/common/pipes/decimal-bytes/decimal-bytes.pipe.d.ts +3 -0
  18. package/common/pipes/digits/digits.pipe.d.ts +3 -0
  19. package/common/pipes/time-ago/time-ago.pipe.d.ts +3 -0
  20. package/common/pipes/time-difference/time-difference.pipe.d.ts +3 -0
  21. package/common/pipes/time-until/time-until.pipe.d.ts +3 -0
  22. package/common/pipes/truncate/truncate.pipe.d.ts +3 -0
  23. package/common/platform.css +11828 -10433
  24. package/common/platform.css.map +1 -1
  25. package/common/services/icon.service.d.ts +3 -0
  26. package/common/services/router-path.service.d.ts +3 -0
  27. package/common/styles/_layout.scss +12 -10
  28. package/common/styles/_palette-dark.scss +2 -2
  29. package/common/styles/_palette-light.scss +6 -6
  30. package/common/styles/_rtl.scss +3 -0
  31. package/common/styles/_variables.scss +5 -5
  32. package/common/styles/colors/_colors-dark.scss +327 -0
  33. package/common/styles/colors/_colors-light.scss +748 -0
  34. package/common/styles/core/_button.scss +2 -1
  35. package/common/styles/core/_card.scss +27 -7
  36. package/common/styles/core/_content.scss +2 -1
  37. package/common/styles/core/_divider.scss +1 -0
  38. package/common/styles/core/_icons.scss +2 -0
  39. package/common/styles/core/_sidenav.scss +2 -0
  40. package/common/styles/core/_structure.scss +6 -7
  41. package/common/styles/core/_toolbar.scss +7 -0
  42. package/common/styles/core/_whiteframe.scss +2 -2
  43. package/common/styles/font/_font.scss +10 -4
  44. package/common/styles/utilities/_general.scss +14 -0
  45. package/common/styles/utilities/_text.scss +21 -0
  46. package/covalent-core.d.ts +1 -0
  47. package/dialogs/_dialog-theme.scss +2 -0
  48. package/dialogs/alert-dialog/alert-dialog.component.d.ts +3 -0
  49. package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +3 -0
  50. package/dialogs/covalent-core-dialogs.d.ts +1 -1
  51. package/dialogs/dialog.component.d.ts +9 -0
  52. package/dialogs/dialog.component.scss +5 -0
  53. package/dialogs/dialogs.module.d.ts +17 -0
  54. package/dialogs/package.json +6 -7
  55. package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +3 -0
  56. package/dialogs/prompt-dialog/prompt-dialog.component.scss +1 -0
  57. package/dialogs/public-api.d.ts +1 -0
  58. package/dialogs/services/dialog.service.d.ts +3 -0
  59. package/dialogs/window-dialog/window-dialog.component.d.ts +3 -0
  60. package/dynamic-menu/covalent-core-dynamic-menu.d.ts +1 -1
  61. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +3 -0
  62. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.scss +1 -0
  63. package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +3 -0
  64. package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.scss +3 -1
  65. package/dynamic-menu/dynamic-menu.component.d.ts +3 -0
  66. package/dynamic-menu/dynamic-menu.module.d.ts +13 -0
  67. package/dynamic-menu/package.json +6 -7
  68. package/dynamic-menu/public_api.d.ts +1 -0
  69. package/esm2020/breadcrumbs/breadcrumb/breadcrumb.component.mjs +108 -0
  70. package/esm2020/breadcrumbs/breadcrumbs.component.mjs +139 -0
  71. package/esm2020/breadcrumbs/breadcrumbs.module.mjs +21 -0
  72. package/esm2020/breadcrumbs/covalent-core-breadcrumbs.mjs +5 -0
  73. package/esm2020/breadcrumbs/index.mjs +2 -0
  74. package/esm2020/breadcrumbs/public-api.mjs +4 -0
  75. package/esm2020/common/animations/bounce/bounce.animation.mjs +70 -0
  76. package/esm2020/common/animations/collapse/collapse.animation.mjs +51 -0
  77. package/esm2020/common/animations/common/interfaces.mjs +2 -0
  78. package/esm2020/common/animations/fade/fadeInOut.animation.mjs +37 -0
  79. package/esm2020/common/animations/flash/flash.animation.mjs +34 -0
  80. package/esm2020/common/animations/headshake/headshake.animation.mjs +35 -0
  81. package/esm2020/common/animations/jello/jello.animation.mjs +38 -0
  82. package/esm2020/common/animations/pulse/pulse.animation.mjs +32 -0
  83. package/esm2020/common/animations/rotate/rotate.animation.mjs +25 -0
  84. package/esm2020/common/behaviors/control-value-accesor.mixin.mjs +39 -0
  85. package/esm2020/common/behaviors/disable-ripple.mixin.mjs +24 -0
  86. package/esm2020/common/behaviors/disabled.mixin.mjs +24 -0
  87. package/esm2020/common/common.module.mjs +64 -0
  88. package/esm2020/common/covalent-core-common.mjs +5 -0
  89. package/esm2020/common/directives/fullscreen/fullscreen.directive.mjs +85 -0
  90. package/esm2020/common/forms/auto-trim/auto-trim.directive.mjs +36 -0
  91. package/esm2020/common/forms/validators/validators.mjs +29 -0
  92. package/{esm2015/common/functions/clipboard.js → esm2020/common/functions/clipboard.mjs} +3 -10
  93. package/esm2020/common/functions/convert.mjs +84 -0
  94. package/esm2020/common/functions/download.mjs +75 -0
  95. package/esm2020/common/functions/file.mjs +16 -0
  96. package/esm2020/common/index.mjs +2 -0
  97. package/esm2020/common/pipes/bytes/bytes.pipe.mjs +32 -0
  98. package/esm2020/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +32 -0
  99. package/esm2020/common/pipes/digits/digits.pipe.mjs +39 -0
  100. package/esm2020/common/pipes/time-ago/time-ago.pipe.mjs +72 -0
  101. package/esm2020/common/pipes/time-difference/time-difference.pipe.mjs +51 -0
  102. package/esm2020/common/pipes/time-until/time-until.pipe.mjs +72 -0
  103. package/esm2020/common/pipes/truncate/truncate.pipe.mjs +27 -0
  104. package/esm2020/common/public-api.mjs +39 -0
  105. package/esm2020/common/services/icon.service.mjs +1089 -0
  106. package/esm2020/common/services/router-path.service.mjs +29 -0
  107. package/esm2020/covalent-core.mjs +5 -0
  108. package/esm2020/dialogs/alert-dialog/alert-dialog.component.mjs +54 -0
  109. package/esm2020/dialogs/confirm-dialog/confirm-dialog.component.mjs +68 -0
  110. package/esm2020/dialogs/covalent-core-dialogs.mjs +5 -0
  111. package/esm2020/dialogs/dialog.component.mjs +97 -0
  112. package/esm2020/dialogs/dialogs.module.mjs +86 -0
  113. package/esm2020/dialogs/index.mjs +2 -0
  114. package/esm2020/dialogs/prompt-dialog/prompt-dialog.component.mjs +104 -0
  115. package/esm2020/dialogs/public-api.mjs +9 -0
  116. package/esm2020/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +199 -0
  117. package/esm2020/dialogs/services/dialog.service.mjs +168 -0
  118. package/esm2020/dialogs/window-dialog/window-dialog.component.mjs +69 -0
  119. package/esm2020/dynamic-menu/covalent-core-dynamic-menu.mjs +5 -0
  120. package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +147 -0
  121. package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +113 -0
  122. package/esm2020/dynamic-menu/dynamic-menu.component.mjs +111 -0
  123. package/esm2020/dynamic-menu/dynamic-menu.module.mjs +32 -0
  124. package/esm2020/dynamic-menu/index.mjs +2 -0
  125. package/esm2020/dynamic-menu/public_api.mjs +5 -0
  126. package/esm2020/file/covalent-core-file.mjs +5 -0
  127. package/esm2020/file/directives/file-drop.directive.mjs +148 -0
  128. package/esm2020/file/directives/file-select.directive.mjs +76 -0
  129. package/esm2020/file/file-input/file-input.component.mjs +137 -0
  130. package/esm2020/file/file-upload/file-upload.component.mjs +210 -0
  131. package/esm2020/file/file.module.mjs +43 -0
  132. package/esm2020/file/index.mjs +2 -0
  133. package/esm2020/file/public-api.mjs +7 -0
  134. package/esm2020/file/services/file.service.mjs +62 -0
  135. package/esm2020/index.mjs +2 -0
  136. package/esm2020/json-formatter/covalent-core-json-formatter.mjs +5 -0
  137. package/esm2020/json-formatter/index.mjs +2 -0
  138. package/esm2020/json-formatter/json-formatter.component.mjs +302 -0
  139. package/esm2020/json-formatter/json-formatter.module.mjs +21 -0
  140. package/esm2020/json-formatter/public-api.mjs +3 -0
  141. package/esm2020/layout/covalent-core-layout.mjs +5 -0
  142. package/esm2020/layout/index.mjs +2 -0
  143. package/esm2020/layout/layout-card-over/layout-card-over.component.mjs +87 -0
  144. package/esm2020/layout/layout-footer/layout-footer.component.mjs +38 -0
  145. package/esm2020/layout/layout-manage-list/layout-manage-list.component.mjs +122 -0
  146. package/esm2020/layout/layout-manage-list/layout-manage-list.directives.mjs +90 -0
  147. package/esm2020/layout/layout-nav/layout-nav.component.mjs +112 -0
  148. package/esm2020/layout/layout-nav-list/layout-nav-list.component.mjs +215 -0
  149. package/esm2020/layout/layout-nav-list/layout-nav-list.directives.mjs +90 -0
  150. package/esm2020/layout/layout-toggle.class.mjs +95 -0
  151. package/esm2020/layout/layout.component.mjs +113 -0
  152. package/esm2020/layout/layout.directives.mjs +87 -0
  153. package/esm2020/layout/layout.module.mjs +118 -0
  154. package/esm2020/layout/navigation-drawer/navigation-drawer.component.mjs +306 -0
  155. package/esm2020/layout/public-api.mjs +13 -0
  156. package/esm2020/menu/covalent-core-menu.mjs +5 -0
  157. package/esm2020/menu/index.mjs +2 -0
  158. package/esm2020/menu/menu.component.mjs +23 -0
  159. package/esm2020/menu/menu.module.mjs +22 -0
  160. package/esm2020/menu/public-api.mjs +3 -0
  161. package/esm2020/message/covalent-core-message.mjs +5 -0
  162. package/esm2020/message/index.mjs +2 -0
  163. package/esm2020/message/message.component.mjs +261 -0
  164. package/esm2020/message/message.module.mjs +21 -0
  165. package/esm2020/message/public-api.mjs +3 -0
  166. package/esm2020/search/covalent-core-search.mjs +5 -0
  167. package/esm2020/search/index.mjs +2 -0
  168. package/esm2020/search/public-api.mjs +4 -0
  169. package/esm2020/search/search-box/search-box.component.mjs +220 -0
  170. package/esm2020/search/search-input/search-input.component.mjs +240 -0
  171. package/esm2020/search/search.module.mjs +24 -0
  172. package/esm2020/side-sheet/covalent-core-side-sheet.mjs +5 -0
  173. package/esm2020/side-sheet/index.mjs +2 -0
  174. package/esm2020/side-sheet/public-api.mjs +6 -0
  175. package/esm2020/side-sheet/side-sheet-container.mjs +242 -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 +178 -0
  180. package/esm2020/side-sheet/side-sheet.mjs +208 -0
  181. package/esm2020/side-sheet/side-sheet.module.mjs +46 -0
  182. package/esm2020/user-profile/covalent-core-user-profile.mjs +5 -0
  183. package/esm2020/user-profile/index.mjs +2 -0
  184. package/esm2020/user-profile/public_api.mjs +4 -0
  185. package/esm2020/user-profile/user-profile-menu/user-profile-menu.component.mjs +75 -0
  186. package/esm2020/user-profile/user-profile.component.mjs +41 -0
  187. package/esm2020/user-profile/user-profile.module.mjs +26 -0
  188. package/fesm2015/covalent-core-breadcrumbs.mjs +287 -0
  189. package/fesm2015/covalent-core-breadcrumbs.mjs.map +1 -0
  190. package/fesm2015/covalent-core-common.mjs +2251 -0
  191. package/fesm2015/covalent-core-common.mjs.map +1 -0
  192. package/fesm2015/covalent-core-dialogs.mjs +872 -0
  193. package/fesm2015/covalent-core-dialogs.mjs.map +1 -0
  194. package/fesm2015/covalent-core-dynamic-menu.mjs +480 -0
  195. package/fesm2015/covalent-core-dynamic-menu.mjs.map +1 -0
  196. package/fesm2015/covalent-core-file.mjs +698 -0
  197. package/fesm2015/covalent-core-file.mjs.map +1 -0
  198. package/fesm2015/covalent-core-json-formatter.mjs +353 -0
  199. package/fesm2015/covalent-core-json-formatter.mjs.map +1 -0
  200. package/fesm2015/covalent-core-layout.mjs +1577 -0
  201. package/fesm2015/covalent-core-layout.mjs.map +1 -0
  202. package/fesm2015/covalent-core-menu.mjs +55 -0
  203. package/fesm2015/covalent-core-menu.mjs.map +1 -0
  204. package/fesm2015/covalent-core-message.mjs +309 -0
  205. package/fesm2015/covalent-core-message.mjs.map +1 -0
  206. package/fesm2015/covalent-core-search.mjs +508 -0
  207. package/fesm2015/covalent-core-search.mjs.map +1 -0
  208. package/fesm2015/covalent-core-side-sheet.mjs +733 -0
  209. package/fesm2015/covalent-core-side-sheet.mjs.map +1 -0
  210. package/fesm2015/covalent-core-user-profile.mjs +162 -0
  211. package/fesm2015/covalent-core-user-profile.mjs.map +1 -0
  212. package/{data-table/covalent-core-data-table.d.ts → fesm2015/covalent-core.mjs} +1 -1
  213. package/fesm2015/covalent-core.mjs.map +1 -0
  214. package/fesm2020/covalent-core-breadcrumbs.mjs +268 -0
  215. package/{fesm2015/covalent-core-breadcrumbs.js.map → fesm2020/covalent-core-breadcrumbs.mjs.map} +1 -1
  216. package/{fesm2015/covalent-core-common.js → fesm2020/covalent-core-common.mjs} +213 -768
  217. package/fesm2020/covalent-core-common.mjs.map +1 -0
  218. package/fesm2020/covalent-core-dialogs.mjs +812 -0
  219. package/fesm2020/covalent-core-dialogs.mjs.map +1 -0
  220. package/fesm2020/covalent-core-dynamic-menu.mjs +393 -0
  221. package/fesm2020/covalent-core-dynamic-menu.mjs.map +1 -0
  222. package/fesm2020/covalent-core-file.mjs +651 -0
  223. package/fesm2020/covalent-core-file.mjs.map +1 -0
  224. package/fesm2020/covalent-core-json-formatter.mjs +326 -0
  225. package/fesm2020/covalent-core-json-formatter.mjs.map +1 -0
  226. package/fesm2020/covalent-core-layout.mjs +1414 -0
  227. package/fesm2020/covalent-core-layout.mjs.map +1 -0
  228. package/fesm2020/covalent-core-menu.mjs +49 -0
  229. package/fesm2020/covalent-core-menu.mjs.map +1 -0
  230. package/fesm2020/covalent-core-message.mjs +286 -0
  231. package/fesm2020/covalent-core-message.mjs.map +1 -0
  232. package/fesm2020/covalent-core-search.mjs +473 -0
  233. package/fesm2020/covalent-core-search.mjs.map +1 -0
  234. package/fesm2020/covalent-core-side-sheet.mjs +690 -0
  235. package/fesm2020/covalent-core-side-sheet.mjs.map +1 -0
  236. package/fesm2020/covalent-core-user-profile.mjs +141 -0
  237. package/fesm2020/covalent-core-user-profile.mjs.map +1 -0
  238. package/{expansion-panel/covalent-core-expansion-panel.d.ts → fesm2020/covalent-core.mjs} +1 -1
  239. package/fesm2020/covalent-core.mjs.map +1 -0
  240. package/file/_file-theme.scss +1 -0
  241. package/file/covalent-core-file.d.ts +1 -0
  242. package/file/directives/file-drop.directive.d.ts +3 -0
  243. package/file/directives/file-select.directive.d.ts +3 -0
  244. package/file/file-input/file-input.component.d.ts +5 -0
  245. package/file/file-input/file-input.component.scss +2 -0
  246. package/file/file-upload/file-upload.component.d.ts +3 -0
  247. package/file/file-upload/file-upload.component.scss +4 -0
  248. package/file/file.module.d.ts +13 -0
  249. package/file/package.json +6 -7
  250. package/file/services/file.service.d.ts +3 -0
  251. package/json-formatter/_json-formatter-theme.scss +10 -0
  252. package/json-formatter/covalent-core-json-formatter.d.ts +1 -0
  253. package/json-formatter/json-formatter.component.d.ts +3 -0
  254. package/json-formatter/json-formatter.component.scss +13 -0
  255. package/json-formatter/json-formatter.module.d.ts +8 -0
  256. package/json-formatter/package.json +6 -7
  257. package/layout/_layout-theme.scss +12 -0
  258. package/layout/covalent-core-layout.d.ts +1 -0
  259. package/layout/layout-card-over/layout-card-over.component.d.ts +3 -0
  260. package/layout/layout-card-over/layout-card-over.component.scss +3 -0
  261. package/layout/layout-footer/layout-footer.component.d.ts +3 -0
  262. package/layout/layout-manage-list/layout-manage-list.component.d.ts +3 -0
  263. package/layout/layout-manage-list/layout-manage-list.component.scss +9 -5
  264. package/layout/layout-manage-list/layout-manage-list.directives.d.ts +7 -0
  265. package/layout/layout-nav/layout-nav.component.d.ts +3 -0
  266. package/layout/layout-nav/layout-nav.component.scss +4 -0
  267. package/layout/layout-nav-list/layout-nav-list.component.d.ts +3 -0
  268. package/layout/layout-nav-list/layout-nav-list.component.scss +9 -4
  269. package/layout/layout-nav-list/layout-nav-list.directives.d.ts +7 -0
  270. package/layout/layout-toggle.class.d.ts +3 -0
  271. package/layout/layout.component.d.ts +3 -0
  272. package/layout/layout.component.scss +0 -4
  273. package/layout/layout.directives.d.ts +7 -0
  274. package/layout/layout.module.d.ts +23 -0
  275. package/layout/navigation-drawer/navigation-drawer.component.d.ts +7 -0
  276. package/layout/navigation-drawer/navigation-drawer.component.scss +8 -0
  277. package/layout/package.json +6 -7
  278. package/menu/covalent-core-menu.d.ts +1 -0
  279. package/menu/menu.component.d.ts +3 -0
  280. package/menu/menu.component.scss +9 -1
  281. package/menu/menu.module.d.ts +8 -0
  282. package/menu/package.json +6 -7
  283. package/message/_message-theme.scss +3 -0
  284. package/message/covalent-core-message.d.ts +1 -0
  285. package/message/message.component.d.ts +5 -0
  286. package/message/message.component.scss +3 -0
  287. package/message/message.module.d.ts +7 -0
  288. package/message/package.json +6 -7
  289. package/package.json +126 -15
  290. package/search/covalent-core-search.d.ts +1 -0
  291. package/search/package.json +6 -7
  292. package/search/search-box/search-box.component.d.ts +3 -0
  293. package/search/search-box/search-box.component.scss +5 -0
  294. package/search/search-input/search-input.component.d.ts +3 -0
  295. package/search/search-input/search-input.component.scss +12 -0
  296. package/search/search.module.d.ts +11 -0
  297. package/side-sheet/README.md +66 -0
  298. package/{chips/covalent-core-chips.d.ts → side-sheet/covalent-core-side-sheet.d.ts} +1 -0
  299. package/{chips → side-sheet}/index.d.ts +0 -0
  300. package/side-sheet/package.json +10 -0
  301. package/side-sheet/public-api.d.ts +5 -0
  302. package/side-sheet/side-sheet-container.d.ts +99 -0
  303. package/side-sheet/side-sheet-ref.d.ts +10 -0
  304. package/side-sheet/side-sheet.animation.d.ts +4 -0
  305. package/side-sheet/side-sheet.config.d.ts +3 -0
  306. package/side-sheet/side-sheet.content-directives.d.ts +61 -0
  307. package/side-sheet/side-sheet.d.ts +66 -0
  308. package/side-sheet/side-sheet.module.d.ts +11 -0
  309. package/side-sheet/side-sheet.scss +68 -0
  310. package/side-sheet/side-sheet.theme.scss +8 -0
  311. package/theming/_all-theme.scss +2 -14
  312. package/theming/prebuilt/blue-grey-deep-orange.css +1716 -1579
  313. package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
  314. package/theming/prebuilt/blue-grey-deep-orange.scss +15 -8
  315. package/theming/prebuilt/blue-orange.css +1715 -1578
  316. package/theming/prebuilt/blue-orange.css.map +1 -1
  317. package/theming/prebuilt/blue-orange.scss +15 -8
  318. package/theming/prebuilt/indigo-pink.css +1716 -1579
  319. package/theming/prebuilt/indigo-pink.css.map +1 -1
  320. package/theming/prebuilt/indigo-pink.scss +15 -8
  321. package/theming/prebuilt/orange-light-blue.css +1715 -1578
  322. package/theming/prebuilt/orange-light-blue.css.map +1 -1
  323. package/theming/prebuilt/orange-light-blue.scss +15 -8
  324. package/theming/prebuilt/teal-orange.css +1715 -1578
  325. package/theming/prebuilt/teal-orange.css.map +1 -1
  326. package/theming/prebuilt/teal-orange.scss +15 -8
  327. package/typography/_all-typography.scss +0 -10
  328. package/user-profile/covalent-core-user-profile.d.ts +1 -0
  329. package/user-profile/package.json +6 -7
  330. package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +3 -0
  331. package/user-profile/user-profile-menu/user-profile-menu.component.scss +3 -0
  332. package/user-profile/user-profile.component.d.ts +3 -0
  333. package/user-profile/user-profile.module.d.ts +12 -0
  334. package/breadcrumbs/covalent-core-breadcrumbs.metadata.json +0 -1
  335. package/bundles/covalent-core-breadcrumbs.umd.js +0 -490
  336. package/bundles/covalent-core-breadcrumbs.umd.js.map +0 -1
  337. package/bundles/covalent-core-breadcrumbs.umd.min.js +0 -2
  338. package/bundles/covalent-core-breadcrumbs.umd.min.js.map +0 -1
  339. package/bundles/covalent-core-chips.umd.js +0 -1507
  340. package/bundles/covalent-core-chips.umd.js.map +0 -1
  341. package/bundles/covalent-core-chips.umd.min.js +0 -16
  342. package/bundles/covalent-core-chips.umd.min.js.map +0 -1
  343. package/bundles/covalent-core-common.umd.js +0 -3188
  344. package/bundles/covalent-core-common.umd.js.map +0 -1
  345. package/bundles/covalent-core-common.umd.min.js +0 -17
  346. package/bundles/covalent-core-common.umd.min.js.map +0 -1
  347. package/bundles/covalent-core-data-table.umd.js +0 -2756
  348. package/bundles/covalent-core-data-table.umd.js.map +0 -1
  349. package/bundles/covalent-core-data-table.umd.min.js +0 -16
  350. package/bundles/covalent-core-data-table.umd.min.js.map +0 -1
  351. package/bundles/covalent-core-dialogs.umd.js +0 -1318
  352. package/bundles/covalent-core-dialogs.umd.js.map +0 -1
  353. package/bundles/covalent-core-dialogs.umd.min.js +0 -2
  354. package/bundles/covalent-core-dialogs.umd.min.js.map +0 -1
  355. package/bundles/covalent-core-dynamic-menu.umd.js +0 -215
  356. package/bundles/covalent-core-dynamic-menu.umd.js.map +0 -1
  357. package/bundles/covalent-core-dynamic-menu.umd.min.js +0 -2
  358. package/bundles/covalent-core-dynamic-menu.umd.min.js.map +0 -1
  359. package/bundles/covalent-core-expansion-panel.umd.js +0 -853
  360. package/bundles/covalent-core-expansion-panel.umd.js.map +0 -1
  361. package/bundles/covalent-core-expansion-panel.umd.min.js +0 -16
  362. package/bundles/covalent-core-expansion-panel.umd.min.js.map +0 -1
  363. package/bundles/covalent-core-file.umd.js +0 -1211
  364. package/bundles/covalent-core-file.umd.js.map +0 -1
  365. package/bundles/covalent-core-file.umd.min.js +0 -17
  366. package/bundles/covalent-core-file.umd.min.js.map +0 -1
  367. package/bundles/covalent-core-json-formatter.umd.js +0 -408
  368. package/bundles/covalent-core-json-formatter.umd.js.map +0 -1
  369. package/bundles/covalent-core-json-formatter.umd.min.js +0 -2
  370. package/bundles/covalent-core-json-formatter.umd.min.js.map +0 -1
  371. package/bundles/covalent-core-layout.umd.js +0 -2084
  372. package/bundles/covalent-core-layout.umd.js.map +0 -1
  373. package/bundles/covalent-core-layout.umd.min.js +0 -17
  374. package/bundles/covalent-core-layout.umd.min.js.map +0 -1
  375. package/bundles/covalent-core-loading.umd.js +0 -1534
  376. package/bundles/covalent-core-loading.umd.js.map +0 -1
  377. package/bundles/covalent-core-loading.umd.min.js +0 -16
  378. package/bundles/covalent-core-loading.umd.min.js.map +0 -1
  379. package/bundles/covalent-core-media.umd.js +0 -749
  380. package/bundles/covalent-core-media.umd.js.map +0 -1
  381. package/bundles/covalent-core-media.umd.min.js +0 -16
  382. package/bundles/covalent-core-media.umd.min.js.map +0 -1
  383. package/bundles/covalent-core-menu.umd.js +0 -69
  384. package/bundles/covalent-core-menu.umd.js.map +0 -1
  385. package/bundles/covalent-core-menu.umd.min.js +0 -2
  386. package/bundles/covalent-core-menu.umd.min.js.map +0 -1
  387. package/bundles/covalent-core-message.umd.js +0 -375
  388. package/bundles/covalent-core-message.umd.js.map +0 -1
  389. package/bundles/covalent-core-message.umd.min.js +0 -2
  390. package/bundles/covalent-core-message.umd.min.js.map +0 -1
  391. package/bundles/covalent-core-nav-links.umd.js +0 -197
  392. package/bundles/covalent-core-nav-links.umd.js.map +0 -1
  393. package/bundles/covalent-core-nav-links.umd.min.js +0 -2
  394. package/bundles/covalent-core-nav-links.umd.min.js.map +0 -1
  395. package/bundles/covalent-core-notifications.umd.js +0 -275
  396. package/bundles/covalent-core-notifications.umd.js.map +0 -1
  397. package/bundles/covalent-core-notifications.umd.min.js +0 -2
  398. package/bundles/covalent-core-notifications.umd.min.js.map +0 -1
  399. package/bundles/covalent-core-paging.umd.js +0 -491
  400. package/bundles/covalent-core-paging.umd.js.map +0 -1
  401. package/bundles/covalent-core-paging.umd.min.js +0 -2
  402. package/bundles/covalent-core-paging.umd.min.js.map +0 -1
  403. package/bundles/covalent-core-search.umd.js +0 -877
  404. package/bundles/covalent-core-search.umd.js.map +0 -1
  405. package/bundles/covalent-core-search.umd.min.js +0 -16
  406. package/bundles/covalent-core-search.umd.min.js.map +0 -1
  407. package/bundles/covalent-core-sidesheet.umd.js +0 -145
  408. package/bundles/covalent-core-sidesheet.umd.js.map +0 -1
  409. package/bundles/covalent-core-sidesheet.umd.min.js +0 -2
  410. package/bundles/covalent-core-sidesheet.umd.min.js.map +0 -1
  411. package/bundles/covalent-core-steps.umd.js +0 -1756
  412. package/bundles/covalent-core-steps.umd.js.map +0 -1
  413. package/bundles/covalent-core-steps.umd.min.js +0 -16
  414. package/bundles/covalent-core-steps.umd.min.js.map +0 -1
  415. package/bundles/covalent-core-tab-select.umd.js +0 -732
  416. package/bundles/covalent-core-tab-select.umd.js.map +0 -1
  417. package/bundles/covalent-core-tab-select.umd.min.js +0 -16
  418. package/bundles/covalent-core-tab-select.umd.min.js.map +0 -1
  419. package/bundles/covalent-core-user-profile.umd.js +0 -124
  420. package/bundles/covalent-core-user-profile.umd.js.map +0 -1
  421. package/bundles/covalent-core-user-profile.umd.min.js +0 -2
  422. package/bundles/covalent-core-user-profile.umd.min.js.map +0 -1
  423. package/bundles/covalent-core-virtual-scroll.umd.js +0 -785
  424. package/bundles/covalent-core-virtual-scroll.umd.js.map +0 -1
  425. package/bundles/covalent-core-virtual-scroll.umd.min.js +0 -16
  426. package/bundles/covalent-core-virtual-scroll.umd.min.js.map +0 -1
  427. package/bundles/covalent-core.umd.js +0 -9
  428. package/bundles/covalent-core.umd.js.map +0 -1
  429. package/bundles/covalent-core.umd.min.js +0 -2
  430. package/bundles/covalent-core.umd.min.js.map +0 -1
  431. package/chips/README.md +0 -99
  432. package/chips/_chips-theme.scss +0 -87
  433. package/chips/chips.component.d.ts +0 -287
  434. package/chips/chips.component.scss +0 -147
  435. package/chips/chips.module.d.ts +0 -2
  436. package/chips/covalent-core-chips.metadata.json +0 -1
  437. package/chips/package.json +0 -11
  438. package/chips/public-api.d.ts +0 -2
  439. package/common/covalent-core-common.metadata.json +0 -1
  440. package/covalent-core.metadata.json +0 -1
  441. package/data-table/README.md +0 -134
  442. package/data-table/_data-table-theme.scss +0 -115
  443. package/data-table/covalent-core-data-table.metadata.json +0 -1
  444. package/data-table/data-table-cell/data-table-cell.component.d.ts +0 -22
  445. package/data-table/data-table-cell/data-table-cell.component.scss +0 -58
  446. package/data-table/data-table-column/data-table-column.component.d.ts +0 -63
  447. package/data-table/data-table-column/data-table-column.component.scss +0 -80
  448. package/data-table/data-table-row/data-table-row.component.d.ts +0 -20
  449. package/data-table/data-table-row/data-table-row.component.scss +0 -12
  450. package/data-table/data-table-table/data-table-table.component.d.ts +0 -6
  451. package/data-table/data-table-table/data-table-table.component.scss +0 -7
  452. package/data-table/data-table.component.d.ts +0 -356
  453. package/data-table/data-table.component.scss +0 -93
  454. package/data-table/data-table.module.d.ts +0 -2
  455. package/data-table/directives/data-table-template.directive.d.ts +0 -6
  456. package/data-table/index.d.ts +0 -1
  457. package/data-table/package.json +0 -11
  458. package/data-table/public-api.d.ts +0 -8
  459. package/data-table/services/data-table.service.d.ts +0 -31
  460. package/dialogs/covalent-core-dialogs.metadata.json +0 -1
  461. package/dynamic-menu/covalent-core-dynamic-menu.metadata.json +0 -1
  462. package/esm2015/breadcrumbs/breadcrumb/breadcrumb.component.js +0 -171
  463. package/esm2015/breadcrumbs/breadcrumbs.component.js +0 -241
  464. package/esm2015/breadcrumbs/breadcrumbs.module.js +0 -20
  465. package/esm2015/breadcrumbs/covalent-core-breadcrumbs.js +0 -10
  466. package/esm2015/breadcrumbs/index.js +0 -7
  467. package/esm2015/breadcrumbs/public-api.js +0 -9
  468. package/esm2015/chips/chips.component.js +0 -1115
  469. package/esm2015/chips/chips.module.js +0 -23
  470. package/esm2015/chips/covalent-core-chips.js +0 -10
  471. package/esm2015/chips/index.js +0 -7
  472. package/esm2015/chips/public-api.js +0 -8
  473. package/esm2015/common/animations/bounce/bounce.animation.js +0 -76
  474. package/esm2015/common/animations/collapse/collapse.animation.js +0 -67
  475. package/esm2015/common/animations/common/interfaces.js +0 -18
  476. package/esm2015/common/animations/fade/fadeInOut.animation.js +0 -53
  477. package/esm2015/common/animations/flash/flash.animation.js +0 -40
  478. package/esm2015/common/animations/headshake/headshake.animation.js +0 -41
  479. package/esm2015/common/animations/jello/jello.animation.js +0 -44
  480. package/esm2015/common/animations/pulse/pulse.animation.js +0 -38
  481. package/esm2015/common/animations/rotate/rotate.animation.js +0 -41
  482. package/esm2015/common/behaviors/control-value-accesor.mixin.js +0 -107
  483. package/esm2015/common/behaviors/disable-ripple.mixin.js +0 -63
  484. package/esm2015/common/behaviors/disabled.mixin.js +0 -63
  485. package/esm2015/common/common.module.js +0 -54
  486. package/esm2015/common/covalent-core-common.js +0 -12
  487. package/esm2015/common/directives/fullscreen/fullscreen.directive.js +0 -180
  488. package/esm2015/common/forms/auto-trim/auto-trim.directive.js +0 -46
  489. package/esm2015/common/forms/validators/validators.js +0 -58
  490. package/esm2015/common/functions/convert.js +0 -103
  491. package/esm2015/common/functions/download.js +0 -88
  492. package/esm2015/common/functions/file.js +0 -29
  493. package/esm2015/common/index.js +0 -7
  494. package/esm2015/common/pipes/bytes/bytes.pipe.js +0 -41
  495. package/esm2015/common/pipes/decimal-bytes/decimal-bytes.pipe.js +0 -41
  496. package/esm2015/common/pipes/digits/digits.pipe.js +0 -65
  497. package/esm2015/common/pipes/time-ago/time-ago.pipe.js +0 -81
  498. package/esm2015/common/pipes/time-difference/time-difference.pipe.js +0 -66
  499. package/esm2015/common/pipes/time-until/time-until.pipe.js +0 -81
  500. package/esm2015/common/pipes/truncate/truncate.pipe.js +0 -34
  501. package/esm2015/common/public-api.js +0 -44
  502. package/esm2015/common/services/icon.service.js +0 -1109
  503. package/esm2015/common/services/router-path.service.js +0 -60
  504. package/esm2015/covalent-core.js +0 -10
  505. package/esm2015/data-table/covalent-core-data-table.js +0 -10
  506. package/esm2015/data-table/data-table-cell/data-table-cell.component.js +0 -88
  507. package/esm2015/data-table/data-table-column/data-table-column.component.js +0 -218
  508. package/esm2015/data-table/data-table-row/data-table-row.component.js +0 -132
  509. package/esm2015/data-table/data-table-table/data-table-table.component.js +0 -43
  510. package/esm2015/data-table/data-table.component.js +0 -1640
  511. package/esm2015/data-table/data-table.module.js +0 -39
  512. package/esm2015/data-table/directives/data-table-template.directive.js +0 -32
  513. package/esm2015/data-table/index.js +0 -7
  514. package/esm2015/data-table/public-api.js +0 -14
  515. package/esm2015/data-table/services/data-table.service.js +0 -116
  516. package/esm2015/dialogs/alert-dialog/alert-dialog.component.js +0 -47
  517. package/esm2015/dialogs/confirm-dialog/confirm-dialog.component.js +0 -59
  518. package/esm2015/dialogs/covalent-core-dialogs.js +0 -11
  519. package/esm2015/dialogs/dialog.component.js +0 -58
  520. package/esm2015/dialogs/dialogs.module.js +0 -57
  521. package/esm2015/dialogs/index.js +0 -7
  522. package/esm2015/dialogs/prompt-dialog/prompt-dialog.component.js +0 -83
  523. package/esm2015/dialogs/public-api.js +0 -13
  524. package/esm2015/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.js +0 -325
  525. package/esm2015/dialogs/services/dialog.service.js +0 -316
  526. package/esm2015/dialogs/window-dialog/window-dialog.component.js +0 -56
  527. package/esm2015/dynamic-menu/covalent-core-dynamic-menu.js +0 -11
  528. package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.js +0 -40
  529. package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.js +0 -35
  530. package/esm2015/dynamic-menu/dynamic-menu.component.js +0 -89
  531. package/esm2015/dynamic-menu/dynamic-menu.module.js +0 -26
  532. package/esm2015/dynamic-menu/index.js +0 -7
  533. package/esm2015/dynamic-menu/public_api.js +0 -9
  534. package/esm2015/expansion-panel/covalent-core-expansion-panel.js +0 -10
  535. package/esm2015/expansion-panel/expansion-panel-group.component.js +0 -212
  536. package/esm2015/expansion-panel/expansion-panel.component.js +0 -272
  537. package/esm2015/expansion-panel/expansion-panel.module.js +0 -31
  538. package/esm2015/expansion-panel/index.js +0 -7
  539. package/esm2015/expansion-panel/public-api.js +0 -9
  540. package/esm2015/file/covalent-core-file.js +0 -10
  541. package/esm2015/file/directives/file-drop.directive.js +0 -191
  542. package/esm2015/file/directives/file-select.directive.js +0 -98
  543. package/esm2015/file/file-input/file-input.component.js +0 -186
  544. package/esm2015/file/file-upload/file-upload.component.js +0 -237
  545. package/esm2015/file/file.module.js +0 -35
  546. package/esm2015/file/index.js +0 -7
  547. package/esm2015/file/public-api.js +0 -12
  548. package/esm2015/file/services/file.service.js +0 -109
  549. package/esm2015/index.js +0 -7
  550. package/esm2015/json-formatter/covalent-core-json-formatter.js +0 -10
  551. package/esm2015/json-formatter/index.js +0 -7
  552. package/esm2015/json-formatter/json-formatter.component.js +0 -338
  553. package/esm2015/json-formatter/json-formatter.module.js +0 -20
  554. package/esm2015/json-formatter/public-api.js +0 -8
  555. package/esm2015/layout/covalent-core-layout.js +0 -10
  556. package/esm2015/layout/index.js +0 -7
  557. package/esm2015/layout/layout-card-over/layout-card-over.component.js +0 -71
  558. package/esm2015/layout/layout-footer/layout-footer.component.js +0 -71
  559. package/esm2015/layout/layout-manage-list/layout-manage-list.component.js +0 -145
  560. package/esm2015/layout/layout-manage-list/layout-manage-list.directives.js +0 -132
  561. package/esm2015/layout/layout-nav/layout-nav.component.js +0 -100
  562. package/esm2015/layout/layout-nav-list/layout-nav-list.component.js +0 -220
  563. package/esm2015/layout/layout-nav-list/layout-nav-list.directives.js +0 -132
  564. package/esm2015/layout/layout-toggle.class.js +0 -188
  565. package/esm2015/layout/layout.component.js +0 -145
  566. package/esm2015/layout/layout.directives.js +0 -129
  567. package/esm2015/layout/layout.module.js +0 -64
  568. package/esm2015/layout/navigation-drawer/navigation-drawer.component.js +0 -280
  569. package/esm2015/layout/public-api.js +0 -18
  570. package/esm2015/loading/covalent-core-loading.js +0 -10
  571. package/esm2015/loading/directives/loading.directive.js +0 -231
  572. package/esm2015/loading/index.js +0 -7
  573. package/esm2015/loading/loading.component.js +0 -302
  574. package/esm2015/loading/loading.module.js +0 -30
  575. package/esm2015/loading/public-api.js +0 -11
  576. package/esm2015/loading/services/loading.factory.js +0 -297
  577. package/esm2015/loading/services/loading.service.js +0 -319
  578. package/esm2015/media/covalent-core-media.js +0 -10
  579. package/esm2015/media/directives/media-toggle.directive.js +0 -207
  580. package/esm2015/media/index.js +0 -7
  581. package/esm2015/media/media.module.js +0 -20
  582. package/esm2015/media/public-api.js +0 -9
  583. package/esm2015/media/services/media.service.js +0 -169
  584. package/esm2015/menu/covalent-core-menu.js +0 -10
  585. package/esm2015/menu/index.js +0 -7
  586. package/esm2015/menu/menu.component.js +0 -16
  587. package/esm2015/menu/menu.module.js +0 -22
  588. package/esm2015/menu/public-api.js +0 -8
  589. package/esm2015/message/covalent-core-message.js +0 -10
  590. package/esm2015/message/index.js +0 -7
  591. package/esm2015/message/message.component.js +0 -307
  592. package/esm2015/message/message.module.js +0 -21
  593. package/esm2015/message/public-api.js +0 -8
  594. package/esm2015/nav-links/covalent-core-nav-links.js +0 -10
  595. package/esm2015/nav-links/index.js +0 -7
  596. package/esm2015/nav-links/nav-links.component.js +0 -138
  597. package/esm2015/nav-links/nav-links.module.js +0 -37
  598. package/esm2015/nav-links/public-api.js +0 -8
  599. package/esm2015/notifications/covalent-core-notifications.js +0 -10
  600. package/esm2015/notifications/index.js +0 -7
  601. package/esm2015/notifications/notification-count.component.js +0 -191
  602. package/esm2015/notifications/notifications.module.js +0 -20
  603. package/esm2015/notifications/public-api.js +0 -8
  604. package/esm2015/paging/covalent-core-paging.js +0 -10
  605. package/esm2015/paging/index.js +0 -7
  606. package/esm2015/paging/paging-bar.component.js +0 -412
  607. package/esm2015/paging/paging.module.js +0 -20
  608. package/esm2015/paging/public-api.js +0 -8
  609. package/esm2015/search/covalent-core-search.js +0 -10
  610. package/esm2015/search/index.js +0 -7
  611. package/esm2015/search/public-api.js +0 -9
  612. package/esm2015/search/search-box/search-box.component.js +0 -270
  613. package/esm2015/search/search-input/search-input.component.js +0 -260
  614. package/esm2015/search/search.module.js +0 -23
  615. package/esm2015/sidesheet/covalent-core-sidesheet.js +0 -10
  616. package/esm2015/sidesheet/index.js +0 -7
  617. package/esm2015/sidesheet/public-api.js +0 -8
  618. package/esm2015/sidesheet/sidesheet.component.js +0 -72
  619. package/esm2015/sidesheet/sidesheet.module.js +0 -27
  620. package/esm2015/steps/covalent-core-steps.js +0 -10
  621. package/esm2015/steps/index.js +0 -7
  622. package/esm2015/steps/nav/nav-step-link/nav-step-link.component.js +0 -144
  623. package/esm2015/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.js +0 -371
  624. package/esm2015/steps/nav/nav-steps-vertical/nav-steps-vertical.component.js +0 -130
  625. package/esm2015/steps/public-api.js +0 -14
  626. package/esm2015/steps/step-body/step-body.component.js +0 -83
  627. package/esm2015/steps/step-header/step-header.component.js +0 -79
  628. package/esm2015/steps/step.component.js +0 -312
  629. package/esm2015/steps/steps.component.js +0 -234
  630. package/esm2015/steps/steps.module.js +0 -44
  631. package/esm2015/tab-select/covalent-core-tab-select.js +0 -10
  632. package/esm2015/tab-select/index.js +0 -7
  633. package/esm2015/tab-select/public-api.js +0 -9
  634. package/esm2015/tab-select/tab-option.component.js +0 -82
  635. package/esm2015/tab-select/tab-select.component.js +0 -291
  636. package/esm2015/tab-select/tab-select.module.js +0 -31
  637. package/esm2015/user-profile/covalent-core-user-profile.js +0 -10
  638. package/esm2015/user-profile/index.js +0 -7
  639. package/esm2015/user-profile/public_api.js +0 -9
  640. package/esm2015/user-profile/user-profile-menu/user-profile-menu.component.js +0 -35
  641. package/esm2015/user-profile/user-profile.component.js +0 -26
  642. package/esm2015/user-profile/user-profile.module.js +0 -33
  643. package/esm2015/virtual-scroll/covalent-core-virtual-scroll.js +0 -10
  644. package/esm2015/virtual-scroll/index.js +0 -7
  645. package/esm2015/virtual-scroll/public-api.js +0 -9
  646. package/esm2015/virtual-scroll/virtual-scroll-container.component.js +0 -391
  647. package/esm2015/virtual-scroll/virtual-scroll-row.directive.js +0 -25
  648. package/esm2015/virtual-scroll/virtual-scroll.module.js +0 -21
  649. package/expansion-panel/README.md +0 -116
  650. package/expansion-panel/_expansion-panel-theme.scss +0 -80
  651. package/expansion-panel/covalent-core-expansion-panel.metadata.json +0 -1
  652. package/expansion-panel/expansion-panel-group.component.d.ts +0 -31
  653. package/expansion-panel/expansion-panel-group.component.scss +0 -0
  654. package/expansion-panel/expansion-panel.component.d.ts +0 -82
  655. package/expansion-panel/expansion-panel.component.scss +0 -50
  656. package/expansion-panel/expansion-panel.module.d.ts +0 -2
  657. package/expansion-panel/index.d.ts +0 -1
  658. package/expansion-panel/package.json +0 -11
  659. package/expansion-panel/public-api.d.ts +0 -3
  660. package/fesm2015/covalent-core-breadcrumbs.js +0 -448
  661. package/fesm2015/covalent-core-chips.js +0 -1151
  662. package/fesm2015/covalent-core-chips.js.map +0 -1
  663. package/fesm2015/covalent-core-common.js.map +0 -1
  664. package/fesm2015/covalent-core-data-table.js +0 -2309
  665. package/fesm2015/covalent-core-data-table.js.map +0 -1
  666. package/fesm2015/covalent-core-dialogs.js +0 -1001
  667. package/fesm2015/covalent-core-dialogs.js.map +0 -1
  668. package/fesm2015/covalent-core-dynamic-menu.js +0 -204
  669. package/fesm2015/covalent-core-dynamic-menu.js.map +0 -1
  670. package/fesm2015/covalent-core-expansion-panel.js +0 -528
  671. package/fesm2015/covalent-core-expansion-panel.js.map +0 -1
  672. package/fesm2015/covalent-core-file.js +0 -855
  673. package/fesm2015/covalent-core-file.js.map +0 -1
  674. package/fesm2015/covalent-core-json-formatter.js +0 -377
  675. package/fesm2015/covalent-core-json-formatter.js.map +0 -1
  676. package/fesm2015/covalent-core-layout.js +0 -1663
  677. package/fesm2015/covalent-core-layout.js.map +0 -1
  678. package/fesm2015/covalent-core-loading.js +0 -1179
  679. package/fesm2015/covalent-core-loading.js.map +0 -1
  680. package/fesm2015/covalent-core-media.js +0 -411
  681. package/fesm2015/covalent-core-media.js.map +0 -1
  682. package/fesm2015/covalent-core-menu.js +0 -57
  683. package/fesm2015/covalent-core-menu.js.map +0 -1
  684. package/fesm2015/covalent-core-message.js +0 -347
  685. package/fesm2015/covalent-core-message.js.map +0 -1
  686. package/fesm2015/covalent-core-nav-links.js +0 -193
  687. package/fesm2015/covalent-core-nav-links.js.map +0 -1
  688. package/fesm2015/covalent-core-notifications.js +0 -228
  689. package/fesm2015/covalent-core-notifications.js.map +0 -1
  690. package/fesm2015/covalent-core-paging.js +0 -451
  691. package/fesm2015/covalent-core-paging.js.map +0 -1
  692. package/fesm2015/covalent-core-search.js +0 -564
  693. package/fesm2015/covalent-core-search.js.map +0 -1
  694. package/fesm2015/covalent-core-sidesheet.js +0 -118
  695. package/fesm2015/covalent-core-sidesheet.js.map +0 -1
  696. package/fesm2015/covalent-core-steps.js +0 -1384
  697. package/fesm2015/covalent-core-steps.js.map +0 -1
  698. package/fesm2015/covalent-core-tab-select.js +0 -416
  699. package/fesm2015/covalent-core-tab-select.js.map +0 -1
  700. package/fesm2015/covalent-core-user-profile.js +0 -111
  701. package/fesm2015/covalent-core-user-profile.js.map +0 -1
  702. package/fesm2015/covalent-core-virtual-scroll.js +0 -453
  703. package/fesm2015/covalent-core-virtual-scroll.js.map +0 -1
  704. package/fesm2015/covalent-core.js +0 -12
  705. package/fesm2015/covalent-core.js.map +0 -1
  706. package/file/covalent-core-file.metadata.json +0 -1
  707. package/json-formatter/covalent-core-json-formatter.metadata.json +0 -1
  708. package/layout/covalent-core-layout.metadata.json +0 -1
  709. package/loading/README.md +0 -180
  710. package/loading/_loading-theme.scss +0 -10
  711. package/loading/covalent-core-loading.d.ts +0 -4
  712. package/loading/covalent-core-loading.metadata.json +0 -1
  713. package/loading/directives/loading.directive.d.ts +0 -71
  714. package/loading/index.d.ts +0 -1
  715. package/loading/loading.component.d.ts +0 -87
  716. package/loading/loading.component.scss +0 -42
  717. package/loading/loading.module.d.ts +0 -2
  718. package/loading/package.json +0 -11
  719. package/loading/public-api.d.ts +0 -5
  720. package/loading/services/loading.factory.d.ts +0 -66
  721. package/loading/services/loading.service.d.ts +0 -118
  722. package/media/covalent-core-media.d.ts +0 -4
  723. package/media/covalent-core-media.metadata.json +0 -1
  724. package/media/directives/media-toggle.directive.d.ts +0 -42
  725. package/media/index.d.ts +0 -1
  726. package/media/media.module.d.ts +0 -2
  727. package/media/package.json +0 -11
  728. package/media/public-api.d.ts +0 -3
  729. package/media/services/media.service.d.ts +0 -31
  730. package/menu/covalent-core-menu.metadata.json +0 -1
  731. package/message/covalent-core-message.metadata.json +0 -1
  732. package/nav-links/README.md +0 -1
  733. package/nav-links/covalent-core-nav-links.d.ts +0 -4
  734. package/nav-links/covalent-core-nav-links.metadata.json +0 -1
  735. package/nav-links/index.d.ts +0 -1
  736. package/nav-links/nav-links.component.d.ts +0 -51
  737. package/nav-links/nav-links.component.scss +0 -15
  738. package/nav-links/nav-links.module.d.ts +0 -2
  739. package/nav-links/package.json +0 -11
  740. package/nav-links/public-api.d.ts +0 -2
  741. package/notifications/README.md +0 -69
  742. package/notifications/_notification-count-theme.scss +0 -27
  743. package/notifications/covalent-core-notifications.d.ts +0 -4
  744. package/notifications/covalent-core-notifications.metadata.json +0 -1
  745. package/notifications/index.d.ts +0 -1
  746. package/notifications/notification-count.component.d.ts +0 -74
  747. package/notifications/notification-count.component.scss +0 -90
  748. package/notifications/notifications.module.d.ts +0 -2
  749. package/notifications/package.json +0 -11
  750. package/notifications/public-api.d.ts +0 -2
  751. package/paging/README.md +0 -141
  752. package/paging/_paging-bar-theme.scss +0 -26
  753. package/paging/covalent-core-paging.d.ts +0 -4
  754. package/paging/covalent-core-paging.metadata.json +0 -1
  755. package/paging/index.d.ts +0 -1
  756. package/paging/package.json +0 -11
  757. package/paging/paging-bar.component.d.ts +0 -115
  758. package/paging/paging-bar.component.scss +0 -23
  759. package/paging/paging.module.d.ts +0 -2
  760. package/paging/public-api.d.ts +0 -2
  761. package/schematics/collection.json +0 -11
  762. package/schematics/components.js +0 -124
  763. package/schematics/components.js.map +0 -1
  764. package/schematics/migration.json +0 -10
  765. package/schematics/ng-add/index.js +0 -58
  766. package/schematics/ng-add/index.js.map +0 -1
  767. package/schematics/ng-add/schema.js +0 -3
  768. package/schematics/ng-add/schema.js.map +0 -1
  769. package/schematics/ng-add/schema.json +0 -81
  770. package/schematics/ng-update/index.js +0 -52
  771. package/schematics/ng-update/index.js.map +0 -1
  772. package/schematics/ng-update/target-version.js +0 -8
  773. package/schematics/ng-update/target-version.js.map +0 -1
  774. package/schematics/version-names.js +0 -6
  775. package/schematics/version-names.js.map +0 -1
  776. package/search/covalent-core-search.metadata.json +0 -1
  777. package/sidesheet/README.md +0 -68
  778. package/sidesheet/covalent-core-sidesheet.d.ts +0 -4
  779. package/sidesheet/covalent-core-sidesheet.metadata.json +0 -1
  780. package/sidesheet/index.d.ts +0 -1
  781. package/sidesheet/package.json +0 -11
  782. package/sidesheet/public-api.d.ts +0 -2
  783. package/sidesheet/sidesheet.component.d.ts +0 -13
  784. package/sidesheet/sidesheet.component.scss +0 -101
  785. package/sidesheet/sidesheet.module.d.ts +0 -2
  786. package/steps/README.md +0 -159
  787. package/steps/_steps-theme.scss +0 -108
  788. package/steps/covalent-core-steps.d.ts +0 -4
  789. package/steps/covalent-core-steps.metadata.json +0 -1
  790. package/steps/index.d.ts +0 -1
  791. package/steps/nav/README.md +0 -90
  792. package/steps/nav/nav-step-link/nav-step-link.component.d.ts +0 -42
  793. package/steps/nav/nav-step-link/nav-step-link.component.scss +0 -17
  794. package/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.d.ts +0 -79
  795. package/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.scss +0 -83
  796. package/steps/nav/nav-steps-vertical/nav-steps-vertical.component.d.ts +0 -18
  797. package/steps/nav/nav-steps-vertical/nav-steps-vertical.component.scss +0 -18
  798. package/steps/package.json +0 -11
  799. package/steps/public-api.d.ts +0 -8
  800. package/steps/step-body/step-body.component.d.ts +0 -25
  801. package/steps/step-body/step-body.component.scss +0 -29
  802. package/steps/step-header/step-header.component.d.ts +0 -35
  803. package/steps/step-header/step-header.component.scss +0 -90
  804. package/steps/step.component.d.ts +0 -97
  805. package/steps/steps.component.d.ts +0 -60
  806. package/steps/steps.component.scss +0 -55
  807. package/steps/steps.module.d.ts +0 -2
  808. package/tab-select/README.md +0 -93
  809. package/tab-select/covalent-core-tab-select.d.ts +0 -4
  810. package/tab-select/covalent-core-tab-select.metadata.json +0 -1
  811. package/tab-select/index.d.ts +0 -1
  812. package/tab-select/package.json +0 -11
  813. package/tab-select/public-api.d.ts +0 -3
  814. package/tab-select/tab-option.component.d.ts +0 -20
  815. package/tab-select/tab-option.component.scss +0 -0
  816. package/tab-select/tab-select.component.d.ts +0 -62
  817. package/tab-select/tab-select.component.scss +0 -3
  818. package/tab-select/tab-select.module.d.ts +0 -2
  819. package/user-profile/covalent-core-user-profile.metadata.json +0 -1
  820. package/virtual-scroll/README.md +0 -68
  821. package/virtual-scroll/covalent-core-virtual-scroll.d.ts +0 -4
  822. package/virtual-scroll/covalent-core-virtual-scroll.metadata.json +0 -1
  823. package/virtual-scroll/index.d.ts +0 -1
  824. package/virtual-scroll/package.json +0 -11
  825. package/virtual-scroll/public-api.d.ts +0 -3
  826. package/virtual-scroll/virtual-scroll-container.component.d.ts +0 -73
  827. package/virtual-scroll/virtual-scroll-container.component.scss +0 -7
  828. package/virtual-scroll/virtual-scroll-row.directive.d.ts +0 -5
  829. package/virtual-scroll/virtual-scroll.module.d.ts +0 -2
@@ -1 +0,0 @@
1
- {"version":3,"file":"covalent-core-loading.js","sources":["../../../../src/platform/core/loading/loading.component.ts","../../../src/platform/core/loading/services/loading.factory.ts","../../../src/platform/core/loading/services/loading.service.ts","../../../src/platform/core/loading/directives/loading.directive.ts","../../../../src/platform/core/loading/loading.module.ts"],"sourcesContent":["import { Component, ChangeDetectorRef, ElementRef, DoCheck } from '@angular/core';\nimport { TemplatePortal } from '@angular/cdk/portal';\n\nexport enum LoadingType {\n Circular = 'circular',\n Linear = 'linear',\n}\n\nexport enum LoadingMode {\n Determinate = 'determinate',\n Indeterminate = 'indeterminate',\n}\n\nexport enum LoadingStrategy {\n Overlay = 'overlay',\n Replace = 'replace',\n}\n\nexport enum LoadingStyle {\n FullScreen = 'fullscreen',\n Overlay = 'overlay',\n None = 'none',\n}\n\nimport { tdFadeInOutAnimation } from '@covalent/core/common';\n\nexport const TD_CIRCLE_DIAMETER: number = 100;\n\n@Component({\n selector: 'td-loading',\n styleUrls: ['./loading.component.scss'],\n templateUrl: './loading.component.html',\n animations: [tdFadeInOutAnimation],\n})\nexport class TdLoadingComponent implements DoCheck {\n private _mode: LoadingMode = LoadingMode.Indeterminate;\n private _defaultMode: LoadingMode = LoadingMode.Indeterminate;\n private _value: number = 0;\n private _circleDiameter: number = TD_CIRCLE_DIAMETER;\n\n /**\n * Flag for animation\n */\n animation: boolean = false;\n\n /**\n * Content injected into loading component.\n */\n content: TemplatePortal<any>;\n\n /**\n * Sets mode of [TdLoadingComponent] to LoadingMode.Determinate or LoadingMode.Indeterminate\n */\n set mode(mode: LoadingMode) {\n this._defaultMode = mode;\n }\n get mode(): LoadingMode {\n return this._mode;\n }\n\n /**\n * Sets value of [TdLoadingComponent] if mode is 'LoadingMode.Determinate'\n */\n set value(value: number) {\n this._value = value;\n // Check for changes for `OnPush` change detection\n this._changeDetectorRef.markForCheck();\n }\n get value(): number {\n return this._value;\n }\n\n style: LoadingStyle = LoadingStyle.None;\n\n /**\n * height: number\n * Sets height of [TdLoadingComponent].\n */\n height: number;\n\n /**\n * type: LoadingType\n * Sets type of [TdLoadingComponent] rendered.\n */\n type: LoadingType = LoadingType.Circular;\n\n /**\n * color: primary' | 'accent' | 'warn'\n * Sets theme color of [TdLoadingComponent] rendered.\n */\n color: 'primary' | 'accent' | 'warn' = 'primary';\n\n constructor(private _elementRef: ElementRef, private _changeDetectorRef: ChangeDetectorRef) {}\n\n ngDoCheck(): void {\n // When overlay is used and the host width has a value greater than 1px\n // set the circle diameter when possible incase the loading component was rendered in a hidden state\n if (this.isOverlay() && this._hostHeight() > 1 && this.animation) {\n this._setCircleDiameter();\n this._changeDetectorRef.markForCheck();\n }\n }\n\n getHeight(): string {\n // Ignore height if style is `overlay` or `fullscreen`.\n // Add height if child elements have a height and style is `none`, else return default height.\n if (this.isOverlay() || this.isFullScreen()) {\n return undefined;\n } else {\n return this.height ? `${this.height}px` : '150px';\n }\n }\n\n getCircleDiameter(): number {\n return this._circleDiameter;\n }\n\n getCircleStrokeWidth(): number {\n // we calculate the stroke width by setting it as 10% of its diameter\n const strokeWidth: number = this.getCircleDiameter() / 10;\n return Math.abs(strokeWidth);\n }\n\n isCircular(): boolean {\n return this.type === LoadingType.Circular;\n }\n\n isLinear(): boolean {\n return this.type === LoadingType.Linear;\n }\n\n isFullScreen(): boolean {\n return this.style === LoadingStyle.FullScreen;\n }\n\n isOverlay(): boolean {\n return this.style === LoadingStyle.Overlay;\n }\n\n /**\n * Starts in animation and returns an observable for completition event.\n */\n show(): void {\n /* need to switch back to the selected mode, so we have saved it in another variable\n * and then recover it. (issue with protractor)\n */\n this._mode = this._defaultMode;\n // Set values before the animations starts\n this._setCircleDiameter();\n // Check for changes for `OnPush` change detection\n this.animation = true;\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * Starts out animation and returns an observable for completition event.\n */\n hide(): void {\n this.animation = false;\n /* need to switch back and forth from determinate/indeterminate so the setInterval()\n * inside mat-progress-spinner stops and protractor doesnt timeout waiting to sync.\n */\n this._mode = LoadingMode.Determinate;\n // Check for changes for `OnPush` change detection\n /* little hack to reset the loader value and animation before removing it from DOM\n * else, the loader will appear with prev value when its registered again\n * and will do an animation going prev value to 0.\n */\n this.value = 0;\n // Check for changes for `OnPush` change detection\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * Calculate the proper diameter for the circle and set it\n */\n private _setCircleDiameter(): void {\n // we set a default diameter of 100 since this is the default in material\n let diameter: number = TD_CIRCLE_DIAMETER;\n // if height is provided, then we take that as diameter\n if (this.height) {\n diameter = this.height;\n // else if its not provided, then we take the host height\n } else if (this.height === undefined) {\n diameter = this._hostHeight();\n }\n // if the diameter is over TD_CIRCLE_DIAMETER, we set TD_CIRCLE_DIAMETER\n if (!!diameter && diameter <= TD_CIRCLE_DIAMETER) {\n this._circleDiameter = Math.floor(diameter);\n } else {\n this._circleDiameter = TD_CIRCLE_DIAMETER;\n }\n }\n\n /**\n * Returns the host height of the loading component\n */\n private _hostHeight(): number {\n if (<HTMLElement>this._elementRef.nativeElement) {\n return (<HTMLElement>this._elementRef.nativeElement).getBoundingClientRect().height;\n }\n return 0;\n }\n}\n","import {\n Injectable,\n ComponentFactoryResolver,\n ChangeDetectorRef,\n Provider,\n SkipSelf,\n Optional,\n EmbeddedViewRef,\n} from '@angular/core';\nimport { Injector, ComponentRef, ViewContainerRef, TemplateRef } from '@angular/core';\nimport { TemplatePortal, ComponentPortal } from '@angular/cdk/portal';\nimport { Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';\n\nimport { Observable, Subject } from 'rxjs';\nimport { distinctUntilChanged } from 'rxjs/operators';\n\nimport { TdLoadingContext } from '../directives/loading.directive';\nimport { TdLoadingComponent, LoadingStyle } from '../loading.component';\nimport { ITdLoadingConfig } from './loading.service';\n\nexport interface IInternalLoadingOptions extends ITdLoadingConfig {\n height?: number;\n style?: LoadingStyle;\n}\n\nexport interface ILoadingRef {\n observable: Observable<any>;\n componentRef: ComponentRef<any>;\n subject?: Subject<any>;\n times?: number;\n}\n\n/**\n * NOTE: @internal usage only.\n */\n@Injectable()\nexport class TdLoadingFactory {\n constructor(\n private _componentFactoryResolver: ComponentFactoryResolver,\n private _overlay: Overlay,\n private _injector: Injector,\n ) {}\n\n /**\n * Uses material `Overlay` services to create a DOM element and attach the loading component\n * into it. Leveraging the state and configuration from it.\n *\n * Saves a reference in context to be called when registering/resolving the loading element.\n */\n public createFullScreenComponent(options: ITdLoadingConfig): ILoadingRef {\n (<IInternalLoadingOptions>options).height = undefined;\n (<IInternalLoadingOptions>options).style = LoadingStyle.FullScreen;\n const loadingRef: ILoadingRef = this._initializeContext();\n let loading: boolean = false;\n let overlayRef: OverlayRef;\n loadingRef.observable.pipe(distinctUntilChanged()).subscribe((registered: number) => {\n if (registered > 0 && !loading) {\n loading = true;\n overlayRef = this._createOverlay();\n loadingRef.componentRef = overlayRef.attach(new ComponentPortal(TdLoadingComponent));\n this._mapOptions(options, loadingRef.componentRef.instance);\n loadingRef.componentRef.instance.show();\n loadingRef.componentRef.changeDetectorRef.detectChanges();\n } else if (registered <= 0 && loading) {\n loading = false;\n loadingRef.componentRef.instance.hide();\n loadingRef.componentRef.destroy();\n overlayRef.detach();\n overlayRef.dispose();\n }\n });\n return loadingRef;\n }\n\n /**\n * Creates a loading component dynamically and attaches it into the given viewContainerRef.\n * Leverages TemplatePortals from material to inject the template inside of it so it fits\n * perfectly when overlaying it.\n *\n * Saves a reference in context to be called when registering/resolving the loading element.\n */\n public createOverlayComponent(\n options: ITdLoadingConfig,\n viewContainerRef: ViewContainerRef,\n templateRef: TemplateRef<object>,\n ): ILoadingRef {\n (<IInternalLoadingOptions>options).height = undefined;\n (<IInternalLoadingOptions>options).style = LoadingStyle.Overlay;\n const loadingRef: ILoadingRef = this._createComponent(options);\n let loading: boolean = false;\n loadingRef.componentRef.instance.content = new TemplatePortal(templateRef, viewContainerRef);\n viewContainerRef.clear();\n viewContainerRef.insert(loadingRef.componentRef.hostView, 0);\n loadingRef.observable.pipe(distinctUntilChanged()).subscribe((registered: number) => {\n if (registered > 0 && !loading) {\n loading = true;\n loadingRef.componentRef.instance.show();\n } else if (registered <= 0 && loading) {\n loading = false;\n loadingRef.componentRef.instance.hide();\n }\n });\n return loadingRef;\n }\n\n /**\n * Creates a loading component dynamically and attaches it into the given viewContainerRef.\n * Replaces the template with the loading component depending if it was registered or resolved.\n *\n * Saves a reference in context to be called when registering/resolving the loading element.\n */\n public createReplaceComponent(\n options: ITdLoadingConfig,\n viewContainerRef: ViewContainerRef,\n templateRef: TemplateRef<object>,\n context: TdLoadingContext,\n ): ILoadingRef {\n const nativeElement: HTMLElement = <HTMLElement>templateRef.elementRef.nativeElement;\n (<IInternalLoadingOptions>options).height = nativeElement.nextElementSibling\n ? nativeElement.nextElementSibling.scrollHeight\n : undefined;\n (<IInternalLoadingOptions>options).style = LoadingStyle.None;\n const loadingRef: ILoadingRef = this._createComponent(options);\n let loading: boolean = false;\n // passing context so when the template is attached, we can keep the reference of the variables\n const contentRef: EmbeddedViewRef<object> = viewContainerRef.createEmbeddedView(templateRef, context);\n loadingRef.observable.pipe(distinctUntilChanged()).subscribe((registered: number) => {\n if (registered > 0 && !loading) {\n loading = true;\n // detach the content and attach the loader if loader is there\n const index: number = viewContainerRef.indexOf(loadingRef.componentRef.hostView);\n if (index < 0) {\n viewContainerRef.detach(viewContainerRef.indexOf(contentRef));\n viewContainerRef.insert(loadingRef.componentRef.hostView, 0);\n }\n loadingRef.componentRef.instance.show();\n } else if (registered <= 0 && loading) {\n loading = false;\n loadingRef.componentRef.instance.hide();\n // detach loader and attach the content if content is there\n const index: number = viewContainerRef.indexOf(contentRef);\n if (index < 0) {\n viewContainerRef.detach(viewContainerRef.indexOf(loadingRef.componentRef.hostView));\n viewContainerRef.insert(contentRef, 0);\n }\n /**\n * Need to call \"markForCheck\" and \"detectChanges\" on attached template, so its detected by parent component when attached\n * with \"OnPush\" change detection\n */\n contentRef.detectChanges();\n contentRef.markForCheck();\n }\n });\n return loadingRef;\n }\n\n /**\n * Creates a fullscreen overlay for the loading usage.\n */\n private _createOverlay(): OverlayRef {\n const state: OverlayConfig = new OverlayConfig();\n state.hasBackdrop = false;\n state.positionStrategy = this._overlay.position().global().centerHorizontally().centerVertically();\n return this._overlay.create(state);\n }\n\n /**\n * Creates a generic component dynamically waiting to be attached to a viewContainerRef.\n */\n private _createComponent(options: IInternalLoadingOptions): ILoadingRef {\n const compRef: ILoadingRef = this._initializeContext();\n compRef.componentRef = this._componentFactoryResolver\n .resolveComponentFactory(TdLoadingComponent)\n .create(this._injector);\n this._mapOptions(options, compRef.componentRef.instance);\n return compRef;\n }\n\n /**\n * Initialize context for loading component.\n */\n private _initializeContext(): ILoadingRef {\n const subject: Subject<any> = new Subject<any>();\n return {\n observable: subject.asObservable(),\n subject,\n componentRef: undefined,\n times: 0,\n };\n }\n\n /**\n * Maps configuration to the loading component instance.\n */\n private _mapOptions(options: IInternalLoadingOptions, instance: TdLoadingComponent): void {\n instance.style = options.style;\n if (options.type !== undefined) {\n instance.type = options.type;\n }\n if (options.height !== undefined) {\n instance.height = options.height;\n }\n if (options.mode !== undefined) {\n instance.mode = options.mode;\n }\n if (options.color !== undefined) {\n instance.color = options.color;\n }\n }\n}\n\nexport function LOADING_FACTORY_PROVIDER_FACTORY(\n parent: TdLoadingFactory,\n componentFactoryResolver: ComponentFactoryResolver,\n overlay: Overlay,\n injector: Injector,\n): TdLoadingFactory {\n return parent || new TdLoadingFactory(componentFactoryResolver, overlay, injector);\n}\n\nexport const LOADING_FACTORY_PROVIDER: Provider = {\n // If there is already a service available, use that. Otherwise, provide a new one.\n provide: TdLoadingFactory,\n deps: [[new Optional(), new SkipSelf(), TdLoadingFactory], ComponentFactoryResolver, Overlay, Injector],\n useFactory: LOADING_FACTORY_PROVIDER_FACTORY,\n};\n","import { Injectable, Provider, SkipSelf, Optional } from '@angular/core';\nimport { ViewContainerRef, TemplateRef } from '@angular/core';\nimport { Observable, Subject, Subscription } from 'rxjs';\n\nimport { TdLoadingContext } from '../directives/loading.directive';\nimport { TdLoadingComponent, LoadingMode, LoadingStrategy, LoadingType } from '../loading.component';\nimport { TdLoadingFactory, ILoadingRef } from './loading.factory';\n\nexport interface ITdLoadingConfig {\n name: string;\n type?: LoadingType;\n mode?: LoadingMode;\n color?: 'primary' | 'accent' | 'warn';\n}\n\nexport class TdLoadingConfig implements ITdLoadingConfig {\n name: string;\n type?: LoadingType;\n mode?: LoadingMode;\n color?: 'primary' | 'accent' | 'warn';\n\n constructor(config: ITdLoadingConfig) {\n this.name = config.name;\n if (!this.name) {\n throw Error('Name is required for [TdLoading] configuration.');\n }\n this.mode = config.mode ? config.mode : LoadingMode.Indeterminate;\n this.type = config.type ? config.type : LoadingType.Circular;\n this.color = config.color ? config.color : 'primary';\n }\n}\n\nexport interface ITdLoadingDirectiveConfig extends ITdLoadingConfig {\n strategy?: LoadingStrategy;\n}\n\nexport class TdLoadingDirectiveConfig extends TdLoadingConfig implements ITdLoadingDirectiveConfig {\n name: string;\n type: LoadingType;\n mode: LoadingMode;\n strategy: LoadingStrategy;\n\n constructor(config: ITdLoadingDirectiveConfig) {\n super(config);\n this.strategy = config.strategy ? config.strategy : LoadingStrategy.Replace;\n }\n}\n\n@Injectable()\nexport class TdLoadingService {\n private _context: { [key: string]: ILoadingRef } = {};\n private _timeouts: { [key: string]: any } = {};\n\n constructor(private _loadingFactory: TdLoadingFactory) {\n this.create({\n name: 'td-loading-main',\n });\n }\n\n /**\n * params:\n * - config: ILoadingDirectiveConfig\n * - viewContainerRef: ViewContainerRef\n * - templateRef: TemplateRef<Object>\n *\n * Creates an replace loading mask and attaches it to the viewContainerRef.\n * Replaces the templateRef with the mask when a request is registered on it.\n *\n * NOTE: @internal usage only.\n */\n createComponent(\n config: ITdLoadingDirectiveConfig,\n viewContainerRef: ViewContainerRef,\n templateRef: TemplateRef<object>,\n context: TdLoadingContext,\n ): ILoadingRef {\n const directiveConfig: TdLoadingDirectiveConfig = new TdLoadingDirectiveConfig(config);\n if (this._context[directiveConfig.name]) {\n throw Error(`Name duplication: [TdLoading] directive has a name conflict with ${directiveConfig.name}.`);\n }\n if (directiveConfig.strategy === LoadingStrategy.Overlay) {\n this._context[directiveConfig.name] = this._loadingFactory.createOverlayComponent(\n directiveConfig,\n viewContainerRef,\n templateRef,\n );\n } else {\n this._context[directiveConfig.name] = this._loadingFactory.createReplaceComponent(\n directiveConfig,\n viewContainerRef,\n templateRef,\n context,\n );\n }\n return this._context[directiveConfig.name];\n }\n\n /**\n * params:\n * - config: ITdLoadingConfig\n *\n * Creates a fullscreen loading mask and attaches it to the DOM with the given configuration.\n * Only displayed when the mask has a request registered on it.\n */\n public create(config: ITdLoadingConfig): void {\n const fullscreenConfig: TdLoadingConfig = new TdLoadingConfig(config);\n this.removeComponent(fullscreenConfig.name);\n this._context[fullscreenConfig.name] = this._loadingFactory.createFullScreenComponent(fullscreenConfig);\n }\n\n /**\n * params:\n * - name: string\n *\n * Removes `loading` component from service context.\n */\n public removeComponent(name: string): void {\n if (this._context[name]) {\n this._context[name].subject.unsubscribe();\n if (this._context[name].componentRef) {\n this._context[name].componentRef.destroy();\n }\n this._context[name] = undefined;\n delete this._context[name];\n }\n }\n\n /**\n * params:\n * - name: string\n * - registers?: number\n * returns: true if successful\n *\n * Resolves a request for the loading mask referenced by the name parameter.\n * Can optionally pass registers argument to set a number of register calls.\n *\n * If no paramemeters are used, then default main mask will be used.\n *\n * e.g. loadingService.register()\n */\n public register(name: string = 'td-loading-main', registers: number = 1): boolean {\n // try registering into the service if the loading component has been instanciated or if it exists.\n if (this._context[name]) {\n registers = registers < 1 ? 1 : registers;\n this._context[name].times += registers;\n this._context[name].subject.next(this._context[name].times);\n return true;\n } else {\n // if it doesnt exist, set a timeout so its registered after change detection happens\n // this in case \"register\" occured on the `ngOnInit` lifehook cycle.\n if (!this._timeouts[name]) {\n this._timeouts[name] = setTimeout(() => {\n this.register(name, registers);\n });\n } else {\n // if it timeout occured and still doesnt exist, it means the tiemout wasnt needed so we clear it.\n this._clearTimeout(name);\n }\n }\n return false;\n }\n\n /**\n * params:\n * - name: string\n * - resolves?: number\n * returns: true if successful\n *\n * Resolves a request for the loading mask referenced by the name parameter.\n * Can optionally pass resolves argument to set a number of resolve calls.\n *\n * If no paramemeters are used, then default main mask will be used.\n *\n * e.g. loadingService.resolve()\n */\n public resolve(name: string = 'td-loading-main', resolves: number = 1): boolean {\n // clear timeout if the loading component is \"resolved\" before its \"registered\"\n this._clearTimeout(name);\n if (this._context[name]) {\n resolves = resolves < 1 ? 1 : resolves;\n if (this._context[name].times > 0) {\n let times: number = this._context[name].times;\n times -= resolves;\n this._context[name].times = times < 0 ? 0 : times;\n }\n this._context[name].subject.next(this._context[name].times);\n return true;\n }\n return false;\n }\n\n /**\n * params:\n * - name: string\n * returns: true if successful\n *\n * Resolves all request for the loading mask referenced by the name parameter.\n *\n * If no paramemeters are used, then default main mask will be used.\n *\n * e.g. loadingService.resolveAll()\n */\n public resolveAll(name: string = 'td-loading-main'): boolean {\n // clear timeout if the loading component is \"resolved\" before its \"registered\"\n this._clearTimeout(name);\n if (this._context[name]) {\n this._context[name].times = 0;\n this._context[name].subject.next(this._context[name].times);\n return true;\n }\n return false;\n }\n\n /**\n * params:\n * - name: string\n * - value: number\n * returns: true if successful\n *\n * Set value on a loading mask referenced by the name parameter.\n * Usage only available if its mode is 'determinate' and if loading is showing.\n */\n public setValue(name: string, value: number): boolean {\n if (this._context[name]) {\n const instance: TdLoadingComponent = this._context[name].componentRef.instance;\n if (instance.mode === LoadingMode.Determinate && instance.animation) {\n instance.value = value;\n return true;\n }\n }\n return false;\n }\n\n /**\n * Clears timeout linked to the name.\n * @param name Name of the loading component to be cleared\n */\n private _clearTimeout(name: string): void {\n clearTimeout(this._timeouts[name]);\n delete this._timeouts[name];\n }\n}\n\nexport function LOADING_PROVIDER_FACTORY(parent: TdLoadingService, loadingFactory: TdLoadingFactory): TdLoadingService {\n return parent || new TdLoadingService(loadingFactory);\n}\n\nexport const LOADING_PROVIDER: Provider = {\n // If there is already a service available, use that. Otherwise, provide a new one.\n provide: TdLoadingService,\n deps: [[new Optional(), new SkipSelf(), TdLoadingService], TdLoadingFactory],\n useFactory: LOADING_PROVIDER_FACTORY,\n};\n","import { Directive, Input, OnInit, OnDestroy } from '@angular/core';\nimport { ViewContainerRef, TemplateRef } from '@angular/core';\n\nimport { LoadingType, LoadingMode, LoadingStrategy, TdLoadingComponent } from '../loading.component';\nimport { TdLoadingService } from '../services/loading.service';\nimport { ILoadingRef } from '../services/loading.factory';\n\n/**\n * Context class for variable reference\n */\nexport class TdLoadingContext {\n public $implicit: any = undefined;\n public tdLoading: any = undefined;\n}\n\n// Constant for generation of the id for the next component\nlet TD_LOADING_NEXT_ID: number = 0;\n\n@Directive({\n selector: '[tdLoading]',\n})\nexport class TdLoadingDirective implements OnInit, OnDestroy {\n private _context: TdLoadingContext = new TdLoadingContext();\n private _type: LoadingType;\n private _mode: LoadingMode;\n private _strategy: LoadingStrategy;\n private _name: string;\n private _loadingRef: ILoadingRef;\n\n /**\n * tdLoading: string\n * Name reference of the loading mask, used to register/resolve requests to the mask.\n */\n @Input('tdLoading')\n set name(name: string) {\n if (!this._name && name) {\n this._name = name;\n }\n }\n\n /**\n * tdLoadingUntil?: any\n * If its null, undefined or false it will be used to register requests to the mask.\n * Else if its any value that can be resolved as true, it will resolve the mask.\n * [name] is optional when using [until], but can still be used to register/resolve it manually.\n */\n @Input('tdLoadingUntil')\n set until(until: any) {\n if (!this._name) {\n this._name = 'td-loading-until-' + TD_LOADING_NEXT_ID++;\n }\n this._context.$implicit = this._context.tdLoading = until;\n if (!until) {\n this._loadingService.register(this._name);\n } else {\n this._loadingService.resolveAll(this._name);\n }\n }\n\n /**\n * tdLoadingType?: LoadingType or ['linear' | 'circular']\n * Sets the type of loading mask depending on value.\n * Defaults to [LoadingType.Circular | 'circular'].\n */\n @Input('tdLoadingType')\n set type(type: LoadingType) {\n if (type === LoadingType.Linear) {\n this._type = LoadingType.Linear;\n } else {\n this._type = LoadingType.Circular;\n }\n }\n\n /**\n * tdLoadingMode?: LoadingMode or ['determinate' | 'indeterminate']\n * Sets the mode of loading mask depending on value.\n * Defaults to [LoadingMode.Indeterminate | 'indeterminate'].\n */\n @Input('tdLoadingMode')\n set mode(mode: LoadingMode) {\n if (mode === LoadingMode.Determinate) {\n this._mode = LoadingMode.Determinate;\n } else {\n this._mode = LoadingMode.Indeterminate;\n }\n }\n\n /**\n * tdLoadingStrategy?: LoadingStrategy or ['replace' | 'overlay']\n * Sets the strategy of loading mask depending on value.\n * Defaults to [LoadingMode.Replace | 'replace'].\n */\n @Input('tdLoadingStrategy')\n set strategy(strategy: LoadingStrategy) {\n if (strategy === LoadingStrategy.Overlay) {\n this._strategy = LoadingStrategy.Overlay;\n } else {\n this._strategy = LoadingStrategy.Replace;\n }\n }\n\n /**\n * tdLoadingColor?: \"primary\" | \"accent\" | \"warn\"\n * Sets the theme color of the loading component. Defaults to \"primary\"\n */\n @Input('tdLoadingColor') color: 'primary' | 'accent' | 'warn' = 'primary';\n\n constructor(\n private _viewContainerRef: ViewContainerRef,\n private _templateRef: TemplateRef<TdLoadingContext>,\n private _loadingService: TdLoadingService,\n ) {}\n\n /**\n * Registers component in the DOM, so it will be available when calling resolve/register.\n */\n ngOnInit(): void {\n this._registerComponent();\n }\n\n /**\n * Remove component when directive is destroyed.\n */\n ngOnDestroy(): void {\n this._loadingService.removeComponent(this._name);\n this._loadingRef = undefined;\n }\n\n /**\n * Creates [TdLoadingComponent] and attaches it to this directive's [ViewContainerRef].\n * Passes this directive's [TemplateRef] to modify DOM depending on loading `strategy`.\n */\n private _registerComponent(): void {\n if (!this._name) {\n throw new Error('Name is needed to register loading directive');\n }\n // Check if `TdLoadingComponent` has been created before trying to add one again.\n // There is a weird edge case when using `[routerLinkActive]` that calls the `ngOnInit` twice in a row\n if (!this._loadingRef) {\n this._loadingRef = this._loadingService.createComponent(\n {\n name: this._name,\n type: this._type,\n mode: this._mode,\n color: this.color,\n strategy: this._strategy,\n },\n this._viewContainerRef,\n this._templateRef,\n this._context,\n );\n }\n }\n}\n","import { Type } from '@angular/core';\nimport { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\n\nimport { TdLoadingService, LOADING_PROVIDER } from './services/loading.service';\nimport { TdLoadingFactory, LOADING_FACTORY_PROVIDER } from './services/loading.factory';\nimport { TdLoadingDirective } from './directives/loading.directive';\nimport { TdLoadingComponent } from './loading.component';\n\nconst TD_LOADING: Type<any>[] = [TdLoadingComponent, TdLoadingDirective];\n\nconst TD_LOADING_ENTRY_COMPONENTS: Type<any>[] = [TdLoadingComponent];\n\n@NgModule({\n imports: [CommonModule, MatProgressBarModule, MatProgressSpinnerModule, OverlayModule, PortalModule],\n declarations: [TD_LOADING],\n exports: [TD_LOADING],\n providers: [LOADING_FACTORY_PROVIDER, LOADING_PROVIDER],\n})\nexport class CovalentLoadingModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;MAGY,WAAW;IACrB,QAAQ,YAAa;IACrB,MAAM,UAAW;EAClB;;MAEW,WAAW;IACrB,WAAW,eAAgB;IAC3B,aAAa,iBAAkB;EAChC;;MAEW,eAAe;IACzB,OAAO,WAAY;IACnB,OAAO,WAAY;EACpB;;MAEW,YAAY;IACtB,UAAU,cAAe;IACzB,OAAO,WAAY;IACnB,IAAI,QAAS;EACd;;MAIY,kBAAkB,GAAW;MAQ7B,kBAAkB;;;;;IA0D7B,YAAoB,WAAuB,EAAU,kBAAqC;QAAtE,gBAAW,GAAX,WAAW,CAAY;QAAU,uBAAkB,GAAlB,kBAAkB,CAAmB;QAzDlF,UAAK,GAAgB,WAAW,CAAC,aAAa,CAAC;QAC/C,iBAAY,GAAgB,WAAW,CAAC,aAAa,CAAC;QACtD,WAAM,GAAW,CAAC,CAAC;QACnB,oBAAe,GAAW,kBAAkB,CAAC;;;;QAKrD,cAAS,GAAY,KAAK,CAAC;QA6B3B,UAAK,GAAiB,YAAY,CAAC,IAAI,CAAC;;;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AqB;;;YANjC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,aAAa,EAAE,YAAY,CAAC;gBACpG,YAAY,EAAE,CAAC,UAAU,CAAC;gBAC1B,OAAO,EAAE,CAAC,UAAU,CAAC;gBACrB,SAAS,EAAE,CAAC,wBAAwB,EAAE,gBAAgB,CAAC;aACxD;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,411 +0,0 @@
1
- import { Injectable, NgZone, Directive, Renderer2, ElementRef, Input, NgModule } from '@angular/core';
2
- import { fromEvent, BehaviorSubject } from 'rxjs';
3
-
4
- /**
5
- * @fileoverview added by tsickle
6
- * Generated from: services/media.service.ts
7
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
8
- */
9
- class TdMediaService {
10
- /**
11
- * @param {?} _ngZone
12
- */
13
- constructor(_ngZone) {
14
- this._ngZone = _ngZone;
15
- this._resizing = false;
16
- this._queryMap = new Map();
17
- this._querySources = {};
18
- this._queryObservables = {};
19
- this._queryMap.set('xs', '(max-width: 599px)');
20
- this._queryMap.set('gt-xs', '(min-width: 600px)');
21
- this._queryMap.set('sm', '(min-width: 600px) and (max-width: 959px)');
22
- this._queryMap.set('gt-sm', '(min-width: 960px)');
23
- this._queryMap.set('md', '(min-width: 960px) and (max-width: 1279px)');
24
- this._queryMap.set('gt-md', '(min-width: 1280px)');
25
- this._queryMap.set('lg', '(min-width: 1280px) and (max-width: 1919px)');
26
- this._queryMap.set('gt-lg', '(min-width: 1920px)');
27
- this._queryMap.set('xl', '(min-width: 1920px)');
28
- this._queryMap.set('landscape', '(orientation: landscape)');
29
- this._queryMap.set('portrait', '(orientation: portrait)');
30
- this._queryMap.set('print', 'print');
31
- this._resizing = false;
32
- // we make sure that the resize checking happend outside of Angular since it happens often
33
- this._globalSubscription = this._ngZone.runOutsideAngular((/**
34
- * @return {?}
35
- */
36
- () => {
37
- return fromEvent(window, 'resize').subscribe((/**
38
- * @return {?}
39
- */
40
- () => {
41
- // way to prevent the resize event from triggering the match media if there is already one event running already.
42
- if (!this._resizing) {
43
- this._resizing = true;
44
- setTimeout((/**
45
- * @return {?}
46
- */
47
- () => {
48
- this._onResize();
49
- this._resizing = false;
50
- }), 100);
51
- }
52
- }));
53
- }));
54
- }
55
- /**
56
- * Deregisters a query so its stops being notified or used.
57
- * @param {?} query
58
- * @return {?}
59
- */
60
- deregisterQuery(query) {
61
- if (this._queryMap.get(query.toLowerCase())) {
62
- query = this._queryMap.get(query.toLowerCase());
63
- }
64
- this._querySources[query].unsubscribe();
65
- delete this._querySources[query];
66
- delete this._queryObservables[query];
67
- }
68
- /**
69
- * Used to evaluate whether a given media query is true or false given the current device's screen / window size.
70
- * @param {?} query
71
- * @return {?}
72
- */
73
- query(query) {
74
- if (this._queryMap.get(query.toLowerCase())) {
75
- query = this._queryMap.get(query.toLowerCase());
76
- }
77
- return this._ngZone.run((/**
78
- * @return {?}
79
- */
80
- () => {
81
- return matchMedia(query).matches;
82
- }));
83
- }
84
- /**
85
- * Registers a media query and returns an [Observable] that will re-evaluate and
86
- * return if the given media query matches on window resize.
87
- * Note: don't forget to unsubscribe from [Observable] when finished watching.
88
- * @param {?} query
89
- * @return {?}
90
- */
91
- registerQuery(query) {
92
- if (this._queryMap.get(query.toLowerCase())) {
93
- query = this._queryMap.get(query.toLowerCase());
94
- }
95
- if (!this._querySources[query]) {
96
- this._querySources[query] = new BehaviorSubject(matchMedia(query).matches);
97
- this._queryObservables[query] = this._querySources[query].asObservable();
98
- }
99
- return this._queryObservables[query];
100
- }
101
- /**
102
- * Trigger a match media event on all subscribed observables.
103
- * @return {?}
104
- */
105
- broadcast() {
106
- this._onResize();
107
- }
108
- /**
109
- * @private
110
- * @return {?}
111
- */
112
- _onResize() {
113
- for (const query of Object.keys(this._querySources)) {
114
- this._ngZone.run((/**
115
- * @return {?}
116
- */
117
- () => {
118
- this._matchMediaTrigger(query);
119
- }));
120
- }
121
- }
122
- /**
123
- * @private
124
- * @param {?} query
125
- * @return {?}
126
- */
127
- _matchMediaTrigger(query) {
128
- this._querySources[query].next(matchMedia(query).matches);
129
- }
130
- }
131
- TdMediaService.decorators = [
132
- { type: Injectable }
133
- ];
134
- /** @nocollapse */
135
- TdMediaService.ctorParameters = () => [
136
- { type: NgZone }
137
- ];
138
- if (false) {
139
- /**
140
- * @type {?}
141
- * @private
142
- */
143
- TdMediaService.prototype._resizing;
144
- /**
145
- * @type {?}
146
- * @private
147
- */
148
- TdMediaService.prototype._globalSubscription;
149
- /**
150
- * @type {?}
151
- * @private
152
- */
153
- TdMediaService.prototype._queryMap;
154
- /**
155
- * @type {?}
156
- * @private
157
- */
158
- TdMediaService.prototype._querySources;
159
- /**
160
- * @type {?}
161
- * @private
162
- */
163
- TdMediaService.prototype._queryObservables;
164
- /**
165
- * @type {?}
166
- * @private
167
- */
168
- TdMediaService.prototype._ngZone;
169
- }
170
-
171
- /**
172
- * @fileoverview added by tsickle
173
- * Generated from: directives/media-toggle.directive.ts
174
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
175
- */
176
- class TdMediaToggleDirective {
177
- /**
178
- * @param {?} _renderer
179
- * @param {?} _elementRef
180
- * @param {?} _mediaService
181
- */
182
- constructor(_renderer, _elementRef, _mediaService) {
183
- this._renderer = _renderer;
184
- this._elementRef = _elementRef;
185
- this._mediaService = _mediaService;
186
- this._matches = false;
187
- this._attributes = {};
188
- this._styles = {};
189
- this._classes = [];
190
- }
191
- /**
192
- * tdMediaToggle: string
193
- * Media query used to evaluate screen/window size.
194
- * Toggles attributes, classes and styles if media query is matched.
195
- * @param {?} query
196
- * @return {?}
197
- */
198
- set query(query) {
199
- if (!query) {
200
- throw new Error('Query needed for [tdMediaToggle] directive.');
201
- }
202
- this._query = query;
203
- }
204
- /**
205
- * mediaAttributes: {[key: string]: string}
206
- * Attributes to be toggled when media query matches.
207
- * @param {?} attributes
208
- * @return {?}
209
- */
210
- set attributes(attributes) {
211
- this._attributes = attributes;
212
- }
213
- /**
214
- * mediaClasses: string[]
215
- * CSS Classes to be toggled when media query matches.
216
- * @param {?} classes
217
- * @return {?}
218
- */
219
- set classes(classes) {
220
- this._classes = classes;
221
- }
222
- /**
223
- * mediaStyles: {[key: string]: string}
224
- * CSS Styles to be toggled when media query matches.
225
- * @param {?} styles
226
- * @return {?}
227
- */
228
- set styles(styles) {
229
- this._styles = styles;
230
- }
231
- /**
232
- * @return {?}
233
- */
234
- ngOnInit() {
235
- this._mediaChange(this._mediaService.query(this._query));
236
- this._subscription = this._mediaService.registerQuery(this._query).subscribe((/**
237
- * @param {?} matches
238
- * @return {?}
239
- */
240
- (matches) => {
241
- this._mediaChange(matches);
242
- }));
243
- }
244
- /**
245
- * @return {?}
246
- */
247
- ngOnDestroy() {
248
- if (this._subscription) {
249
- this._subscription.unsubscribe();
250
- }
251
- }
252
- /**
253
- * @private
254
- * @param {?} matches
255
- * @return {?}
256
- */
257
- _mediaChange(matches) {
258
- this._matches = matches;
259
- this._changeAttributes();
260
- this._changeClasses();
261
- this._changeStyles();
262
- }
263
- /**
264
- * @private
265
- * @return {?}
266
- */
267
- _changeAttributes() {
268
- for (const attr in this._attributes) {
269
- if (this._matches) {
270
- this._renderer.setAttribute(this._elementRef.nativeElement, attr, this._attributes[attr]);
271
- }
272
- else {
273
- this._renderer.removeAttribute(this._elementRef.nativeElement, attr);
274
- }
275
- }
276
- }
277
- /**
278
- * @private
279
- * @return {?}
280
- */
281
- _changeClasses() {
282
- this._classes.forEach((/**
283
- * @param {?} className
284
- * @return {?}
285
- */
286
- (className) => {
287
- if (this._matches) {
288
- this._renderer.addClass(this._elementRef.nativeElement, className);
289
- }
290
- else {
291
- this._renderer.removeClass(this._elementRef.nativeElement, className);
292
- }
293
- }));
294
- }
295
- /**
296
- * @private
297
- * @return {?}
298
- */
299
- _changeStyles() {
300
- for (const style in this._styles) {
301
- if (this._matches) {
302
- this._renderer.setStyle(this._elementRef.nativeElement, style, this._styles[style]);
303
- }
304
- else {
305
- this._renderer.removeStyle(this._elementRef.nativeElement, style);
306
- }
307
- }
308
- }
309
- }
310
- TdMediaToggleDirective.decorators = [
311
- { type: Directive, args: [{
312
- selector: '[tdMediaToggle]',
313
- },] }
314
- ];
315
- /** @nocollapse */
316
- TdMediaToggleDirective.ctorParameters = () => [
317
- { type: Renderer2 },
318
- { type: ElementRef },
319
- { type: TdMediaService }
320
- ];
321
- TdMediaToggleDirective.propDecorators = {
322
- query: [{ type: Input, args: ['tdMediaToggle',] }],
323
- attributes: [{ type: Input, args: ['mediaAttributes',] }],
324
- classes: [{ type: Input, args: ['mediaClasses',] }],
325
- styles: [{ type: Input, args: ['mediaStyles',] }]
326
- };
327
- if (false) {
328
- /**
329
- * @type {?}
330
- * @private
331
- */
332
- TdMediaToggleDirective.prototype._subscription;
333
- /**
334
- * @type {?}
335
- * @private
336
- */
337
- TdMediaToggleDirective.prototype._query;
338
- /**
339
- * @type {?}
340
- * @private
341
- */
342
- TdMediaToggleDirective.prototype._matches;
343
- /**
344
- * @type {?}
345
- * @private
346
- */
347
- TdMediaToggleDirective.prototype._attributes;
348
- /**
349
- * @type {?}
350
- * @private
351
- */
352
- TdMediaToggleDirective.prototype._styles;
353
- /**
354
- * @type {?}
355
- * @private
356
- */
357
- TdMediaToggleDirective.prototype._classes;
358
- /**
359
- * @type {?}
360
- * @private
361
- */
362
- TdMediaToggleDirective.prototype._renderer;
363
- /**
364
- * @type {?}
365
- * @private
366
- */
367
- TdMediaToggleDirective.prototype._elementRef;
368
- /**
369
- * @type {?}
370
- * @private
371
- */
372
- TdMediaToggleDirective.prototype._mediaService;
373
- }
374
-
375
- /**
376
- * @fileoverview added by tsickle
377
- * Generated from: media.module.ts
378
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
379
- */
380
- /** @type {?} */
381
- const TD_MEDIA = [TdMediaToggleDirective];
382
- class CovalentMediaModule {
383
- }
384
- CovalentMediaModule.decorators = [
385
- { type: NgModule, args: [{
386
- declarations: [TD_MEDIA],
387
- exports: [TD_MEDIA],
388
- providers: [TdMediaService],
389
- },] }
390
- ];
391
-
392
- /**
393
- * @fileoverview added by tsickle
394
- * Generated from: public-api.ts
395
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
396
- */
397
-
398
- /**
399
- * @fileoverview added by tsickle
400
- * Generated from: index.ts
401
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
402
- */
403
-
404
- /**
405
- * @fileoverview added by tsickle
406
- * Generated from: covalent-core-media.ts
407
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
408
- */
409
-
410
- export { CovalentMediaModule, TdMediaService, TdMediaToggleDirective };
411
- //# sourceMappingURL=covalent-core-media.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"covalent-core-media.js","sources":["../../../src/platform/core/media/services/media.service.ts","../../../src/platform/core/media/directives/media-toggle.directive.ts","../../../../src/platform/core/media/media.module.ts"],"sourcesContent":["import { Injectable, NgZone } from '@angular/core';\nimport { Observable, BehaviorSubject, Subscription, fromEvent } from 'rxjs';\n\n@Injectable()\nexport class TdMediaService {\n private _resizing: boolean = false;\n private _globalSubscription: Subscription;\n private _queryMap: Map<string, string> = new Map<string, string>();\n private _querySources: { [key: string]: BehaviorSubject<boolean> } = {};\n private _queryObservables: { [key: string]: Observable<boolean> } = {};\n\n constructor(private _ngZone: NgZone) {\n this._queryMap.set('xs', '(max-width: 599px)');\n this._queryMap.set('gt-xs', '(min-width: 600px)');\n this._queryMap.set('sm', '(min-width: 600px) and (max-width: 959px)');\n this._queryMap.set('gt-sm', '(min-width: 960px)');\n this._queryMap.set('md', '(min-width: 960px) and (max-width: 1279px)');\n this._queryMap.set('gt-md', '(min-width: 1280px)');\n this._queryMap.set('lg', '(min-width: 1280px) and (max-width: 1919px)');\n this._queryMap.set('gt-lg', '(min-width: 1920px)');\n this._queryMap.set('xl', '(min-width: 1920px)');\n this._queryMap.set('landscape', '(orientation: landscape)');\n this._queryMap.set('portrait', '(orientation: portrait)');\n this._queryMap.set('print', 'print');\n\n this._resizing = false;\n // we make sure that the resize checking happend outside of Angular since it happens often\n this._globalSubscription = this._ngZone.runOutsideAngular(() => {\n return fromEvent(window, 'resize').subscribe(() => {\n // way to prevent the resize event from triggering the match media if there is already one event running already.\n if (!this._resizing) {\n this._resizing = true;\n setTimeout(() => {\n this._onResize();\n this._resizing = false;\n }, 100);\n }\n });\n });\n }\n\n /**\n * Deregisters a query so its stops being notified or used.\n */\n deregisterQuery(query: string): void {\n if (this._queryMap.get(query.toLowerCase())) {\n query = this._queryMap.get(query.toLowerCase());\n }\n this._querySources[query].unsubscribe();\n delete this._querySources[query];\n delete this._queryObservables[query];\n }\n\n /**\n * Used to evaluate whether a given media query is true or false given the current device's screen / window size.\n */\n public query(query: string): boolean {\n if (this._queryMap.get(query.toLowerCase())) {\n query = this._queryMap.get(query.toLowerCase());\n }\n return this._ngZone.run(() => {\n return matchMedia(query).matches;\n });\n }\n\n /**\n * Registers a media query and returns an [Observable] that will re-evaluate and\n * return if the given media query matches on window resize.\n * Note: don't forget to unsubscribe from [Observable] when finished watching.\n */\n public registerQuery(query: string): Observable<boolean> {\n if (this._queryMap.get(query.toLowerCase())) {\n query = this._queryMap.get(query.toLowerCase());\n }\n if (!this._querySources[query]) {\n this._querySources[query] = new BehaviorSubject<boolean>(matchMedia(query).matches);\n this._queryObservables[query] = this._querySources[query].asObservable();\n }\n return this._queryObservables[query];\n }\n\n /**\n * Trigger a match media event on all subscribed observables.\n */\n public broadcast(): void {\n this._onResize();\n }\n\n private _onResize(): void {\n for (const query of Object.keys(this._querySources)) {\n this._ngZone.run(() => {\n this._matchMediaTrigger(query);\n });\n }\n }\n\n private _matchMediaTrigger(query: string): void {\n this._querySources[query].next(matchMedia(query).matches);\n }\n}\n","import { Directive, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';\nimport { Renderer2 } from '@angular/core';\nimport { Subscription } from 'rxjs';\n\nimport { TdMediaService } from '../services/media.service';\n\n@Directive({\n selector: '[tdMediaToggle]',\n})\nexport class TdMediaToggleDirective implements OnInit, OnDestroy {\n private _subscription: Subscription;\n\n private _query: string;\n private _matches: boolean = false;\n private _attributes: { [key: string]: string } = {};\n private _styles: { [key: string]: string } = {};\n private _classes: string[] = [];\n\n /**\n * tdMediaToggle: string\n * Media query used to evaluate screen/window size.\n * Toggles attributes, classes and styles if media query is matched.\n */\n @Input('tdMediaToggle')\n set query(query: string) {\n if (!query) {\n throw new Error('Query needed for [tdMediaToggle] directive.');\n }\n this._query = query;\n }\n\n /**\n * mediaAttributes: {[key: string]: string}\n * Attributes to be toggled when media query matches.\n */\n @Input('mediaAttributes')\n set attributes(attributes: any) {\n this._attributes = attributes;\n }\n\n /**\n * mediaClasses: string[]\n * CSS Classes to be toggled when media query matches.\n */\n @Input('mediaClasses')\n set classes(classes: string[]) {\n this._classes = classes;\n }\n\n /**\n * mediaStyles: {[key: string]: string}\n * CSS Styles to be toggled when media query matches.\n */\n @Input('mediaStyles')\n set styles(styles: any) {\n this._styles = styles;\n }\n\n constructor(private _renderer: Renderer2, private _elementRef: ElementRef, private _mediaService: TdMediaService) {}\n\n ngOnInit(): void {\n this._mediaChange(this._mediaService.query(this._query));\n this._subscription = this._mediaService.registerQuery(this._query).subscribe((matches: boolean) => {\n this._mediaChange(matches);\n });\n }\n\n ngOnDestroy(): void {\n if (this._subscription) {\n this._subscription.unsubscribe();\n }\n }\n\n private _mediaChange(matches: boolean): void {\n this._matches = matches;\n this._changeAttributes();\n this._changeClasses();\n this._changeStyles();\n }\n\n private _changeAttributes(): void {\n for (const attr in this._attributes) {\n if (this._matches) {\n this._renderer.setAttribute(this._elementRef.nativeElement, attr, this._attributes[attr]);\n } else {\n this._renderer.removeAttribute(this._elementRef.nativeElement, attr);\n }\n }\n }\n\n private _changeClasses(): void {\n this._classes.forEach((className: string) => {\n if (this._matches) {\n this._renderer.addClass(this._elementRef.nativeElement, className);\n } else {\n this._renderer.removeClass(this._elementRef.nativeElement, className);\n }\n });\n }\n\n private _changeStyles(): void {\n for (const style in this._styles) {\n if (this._matches) {\n this._renderer.setStyle(this._elementRef.nativeElement, style, this._styles[style]);\n } else {\n this._renderer.removeStyle(this._elementRef.nativeElement, style);\n }\n }\n }\n}\n","import { Type } from '@angular/core';\nimport { NgModule } from '@angular/core';\n\nimport { TdMediaToggleDirective } from './directives/media-toggle.directive';\nimport { TdMediaService } from './services/media.service';\n\nconst TD_MEDIA: Type<any>[] = [TdMediaToggleDirective];\n\n@NgModule({\n declarations: [TD_MEDIA],\n exports: [TD_MEDIA],\n providers: [TdMediaService],\n})\nexport class CovalentMediaModule {}\n"],"names":[],"mappings":";;;;;;;;MAIa,cAAc;;;;IAOzB,YAAoB,OAAe;QAAf,YAAO,GAAP,OAAO,CAAQ;QAN3B,cAAS,GAAY,KAAK,CAAC;QAE3B,cAAS,GAAwB,IAAI,GAAG,EAAkB,CAAC;QAC3D,kBAAa,GAAgD,EAAE,CAAC;QAChE,sBAAiB,GAA2C,EAAE,CAAC;QAGrE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;QAC/C,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,OAAO,EAAE,oBAAoB,CAAC,CAAC;QAClD,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,2CAA2C,CAAC,CAAC;QACtE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,OAAO,EAAE,oBAAoB,CAAC,CAAC;QAClD,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,4CAA4C,CAAC,CAAC;QACvE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,EAAC,CAAC;KACJ;;;;;IAEO,aAAa;QACnB,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,OAAO,EAAE;YAChC,IAAI,IAAI,CAAC,QAAQ,EAAE;gBACjB,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;aACrF;iBAAM;gBACL,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;aACnE;SACF;KACF;;;YAtGF,SAAS,SAAC;gBACT,QAAQ,EAAE,iBAAiB;aAC5B;;;;YAPQ,SAAS;YADE,UAAU;YAIrB,cAAc;;;oBAmBpB,KAAK,SAAC,eAAe;yBAYrB,KAAK,SAAC,iBAAiB;sBASvB,KAAK,SAAC,cAAc;qBASpB,KAAK,SAAC,aAAa;;;;;;;IA3CpB,+CAAoC;;;;;IAEpC,wCAAuB;;;;;IACvB,0CAAkC;;;;;IAClC,6CAAoD;;;;;IACpD,yCAAgD;;;;;IAChD,0CAAgC;;;;;IA0CpB,2CAA4B;;;;;IAAE,6CAA+B;;;;;IAAE,+CAAqC;;;;;;;;;MCpD5G,QAAQ,GAAgB,CAAC,sBAAsB,CAAC;MAOzC,mBAAmB;;;YAL/B,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,QAAQ,CAAC;gBACxB,OAAO,EAAE,CAAC,QAAQ,CAAC;gBACnB,SAAS,EAAE,CAAC,cAAc,CAAC;aAC5B;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -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;;;;;;;;;;;;;;;;;;;;;;;"}