@covalent/core 4.0.0-alpha.0 → 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 (545) 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 +1 -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/fesm2015/covalent-core.mjs +4 -0
  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/{fesm2015/covalent-core-side-sheet.js → fesm2020/covalent-core-side-sheet.mjs} +202 -646
  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/fesm2020/covalent-core.mjs +4 -0
  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/covalent-core-side-sheet.d.ts +1 -2
  298. package/side-sheet/package.json +6 -7
  299. package/side-sheet/side-sheet-container.d.ts +5 -0
  300. package/side-sheet/side-sheet.content-directives.d.ts +11 -0
  301. package/side-sheet/side-sheet.d.ts +5 -0
  302. package/side-sheet/side-sheet.module.d.ts +9 -0
  303. package/side-sheet/side-sheet.scss +1 -2
  304. package/theming/prebuilt/blue-grey-deep-orange.css +1714 -1333
  305. package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
  306. package/theming/prebuilt/blue-grey-deep-orange.scss +15 -8
  307. package/theming/prebuilt/blue-orange.css +1714 -1333
  308. package/theming/prebuilt/blue-orange.css.map +1 -1
  309. package/theming/prebuilt/blue-orange.scss +15 -8
  310. package/theming/prebuilt/indigo-pink.css +1714 -1333
  311. package/theming/prebuilt/indigo-pink.css.map +1 -1
  312. package/theming/prebuilt/indigo-pink.scss +15 -8
  313. package/theming/prebuilt/orange-light-blue.css +1714 -1333
  314. package/theming/prebuilt/orange-light-blue.css.map +1 -1
  315. package/theming/prebuilt/orange-light-blue.scss +15 -8
  316. package/theming/prebuilt/teal-orange.css +1714 -1333
  317. package/theming/prebuilt/teal-orange.css.map +1 -1
  318. package/theming/prebuilt/teal-orange.scss +15 -8
  319. package/user-profile/covalent-core-user-profile.d.ts +1 -0
  320. package/user-profile/package.json +6 -7
  321. package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +3 -0
  322. package/user-profile/user-profile-menu/user-profile-menu.component.scss +3 -0
  323. package/user-profile/user-profile.component.d.ts +3 -0
  324. package/user-profile/user-profile.module.d.ts +12 -0
  325. package/breadcrumbs/covalent-core-breadcrumbs.metadata.json +0 -1
  326. package/bundles/covalent-core-breadcrumbs.umd.js +0 -490
  327. package/bundles/covalent-core-breadcrumbs.umd.js.map +0 -1
  328. package/bundles/covalent-core-breadcrumbs.umd.min.js +0 -2
  329. package/bundles/covalent-core-breadcrumbs.umd.min.js.map +0 -1
  330. package/bundles/covalent-core-common.umd.js +0 -3188
  331. package/bundles/covalent-core-common.umd.js.map +0 -1
  332. package/bundles/covalent-core-common.umd.min.js +0 -17
  333. package/bundles/covalent-core-common.umd.min.js.map +0 -1
  334. package/bundles/covalent-core-dialogs.umd.js +0 -1318
  335. package/bundles/covalent-core-dialogs.umd.js.map +0 -1
  336. package/bundles/covalent-core-dialogs.umd.min.js +0 -2
  337. package/bundles/covalent-core-dialogs.umd.min.js.map +0 -1
  338. package/bundles/covalent-core-dynamic-menu.umd.js +0 -215
  339. package/bundles/covalent-core-dynamic-menu.umd.js.map +0 -1
  340. package/bundles/covalent-core-dynamic-menu.umd.min.js +0 -2
  341. package/bundles/covalent-core-dynamic-menu.umd.min.js.map +0 -1
  342. package/bundles/covalent-core-file.umd.js +0 -1211
  343. package/bundles/covalent-core-file.umd.js.map +0 -1
  344. package/bundles/covalent-core-file.umd.min.js +0 -17
  345. package/bundles/covalent-core-file.umd.min.js.map +0 -1
  346. package/bundles/covalent-core-json-formatter.umd.js +0 -408
  347. package/bundles/covalent-core-json-formatter.umd.js.map +0 -1
  348. package/bundles/covalent-core-json-formatter.umd.min.js +0 -2
  349. package/bundles/covalent-core-json-formatter.umd.min.js.map +0 -1
  350. package/bundles/covalent-core-layout.umd.js +0 -2084
  351. package/bundles/covalent-core-layout.umd.js.map +0 -1
  352. package/bundles/covalent-core-layout.umd.min.js +0 -17
  353. package/bundles/covalent-core-layout.umd.min.js.map +0 -1
  354. package/bundles/covalent-core-menu.umd.js +0 -69
  355. package/bundles/covalent-core-menu.umd.js.map +0 -1
  356. package/bundles/covalent-core-menu.umd.min.js +0 -2
  357. package/bundles/covalent-core-menu.umd.min.js.map +0 -1
  358. package/bundles/covalent-core-message.umd.js +0 -375
  359. package/bundles/covalent-core-message.umd.js.map +0 -1
  360. package/bundles/covalent-core-message.umd.min.js +0 -2
  361. package/bundles/covalent-core-message.umd.min.js.map +0 -1
  362. package/bundles/covalent-core-search.umd.js +0 -877
  363. package/bundles/covalent-core-search.umd.js.map +0 -1
  364. package/bundles/covalent-core-search.umd.min.js +0 -16
  365. package/bundles/covalent-core-search.umd.min.js.map +0 -1
  366. package/bundles/covalent-core-side-sheet.umd.js +0 -1458
  367. package/bundles/covalent-core-side-sheet.umd.js.map +0 -1
  368. package/bundles/covalent-core-side-sheet.umd.min.js +0 -16
  369. package/bundles/covalent-core-side-sheet.umd.min.js.map +0 -1
  370. package/bundles/covalent-core-user-profile.umd.js +0 -116
  371. package/bundles/covalent-core-user-profile.umd.js.map +0 -1
  372. package/bundles/covalent-core-user-profile.umd.min.js +0 -2
  373. package/bundles/covalent-core-user-profile.umd.min.js.map +0 -1
  374. package/bundles/covalent-core.umd.js +0 -9
  375. package/bundles/covalent-core.umd.js.map +0 -1
  376. package/bundles/covalent-core.umd.min.js +0 -2
  377. package/bundles/covalent-core.umd.min.js.map +0 -1
  378. package/common/covalent-core-common.metadata.json +0 -1
  379. package/covalent-core.metadata.json +0 -1
  380. package/dialogs/covalent-core-dialogs.metadata.json +0 -1
  381. package/dynamic-menu/covalent-core-dynamic-menu.metadata.json +0 -1
  382. package/esm2015/breadcrumbs/breadcrumb/breadcrumb.component.js +0 -171
  383. package/esm2015/breadcrumbs/breadcrumbs.component.js +0 -241
  384. package/esm2015/breadcrumbs/breadcrumbs.module.js +0 -20
  385. package/esm2015/breadcrumbs/covalent-core-breadcrumbs.js +0 -10
  386. package/esm2015/breadcrumbs/index.js +0 -7
  387. package/esm2015/breadcrumbs/public-api.js +0 -9
  388. package/esm2015/common/animations/bounce/bounce.animation.js +0 -76
  389. package/esm2015/common/animations/collapse/collapse.animation.js +0 -67
  390. package/esm2015/common/animations/common/interfaces.js +0 -18
  391. package/esm2015/common/animations/fade/fadeInOut.animation.js +0 -53
  392. package/esm2015/common/animations/flash/flash.animation.js +0 -40
  393. package/esm2015/common/animations/headshake/headshake.animation.js +0 -41
  394. package/esm2015/common/animations/jello/jello.animation.js +0 -44
  395. package/esm2015/common/animations/pulse/pulse.animation.js +0 -38
  396. package/esm2015/common/animations/rotate/rotate.animation.js +0 -41
  397. package/esm2015/common/behaviors/control-value-accesor.mixin.js +0 -107
  398. package/esm2015/common/behaviors/disable-ripple.mixin.js +0 -63
  399. package/esm2015/common/behaviors/disabled.mixin.js +0 -63
  400. package/esm2015/common/common.module.js +0 -54
  401. package/esm2015/common/covalent-core-common.js +0 -12
  402. package/esm2015/common/directives/fullscreen/fullscreen.directive.js +0 -180
  403. package/esm2015/common/forms/auto-trim/auto-trim.directive.js +0 -46
  404. package/esm2015/common/forms/validators/validators.js +0 -58
  405. package/esm2015/common/functions/convert.js +0 -103
  406. package/esm2015/common/functions/download.js +0 -88
  407. package/esm2015/common/functions/file.js +0 -29
  408. package/esm2015/common/index.js +0 -7
  409. package/esm2015/common/pipes/bytes/bytes.pipe.js +0 -41
  410. package/esm2015/common/pipes/decimal-bytes/decimal-bytes.pipe.js +0 -41
  411. package/esm2015/common/pipes/digits/digits.pipe.js +0 -65
  412. package/esm2015/common/pipes/time-ago/time-ago.pipe.js +0 -81
  413. package/esm2015/common/pipes/time-difference/time-difference.pipe.js +0 -66
  414. package/esm2015/common/pipes/time-until/time-until.pipe.js +0 -81
  415. package/esm2015/common/pipes/truncate/truncate.pipe.js +0 -34
  416. package/esm2015/common/public-api.js +0 -44
  417. package/esm2015/common/services/icon.service.js +0 -1109
  418. package/esm2015/common/services/router-path.service.js +0 -60
  419. package/esm2015/covalent-core.js +0 -10
  420. package/esm2015/dialogs/alert-dialog/alert-dialog.component.js +0 -47
  421. package/esm2015/dialogs/confirm-dialog/confirm-dialog.component.js +0 -59
  422. package/esm2015/dialogs/covalent-core-dialogs.js +0 -11
  423. package/esm2015/dialogs/dialog.component.js +0 -58
  424. package/esm2015/dialogs/dialogs.module.js +0 -57
  425. package/esm2015/dialogs/index.js +0 -7
  426. package/esm2015/dialogs/prompt-dialog/prompt-dialog.component.js +0 -83
  427. package/esm2015/dialogs/public-api.js +0 -13
  428. package/esm2015/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.js +0 -325
  429. package/esm2015/dialogs/services/dialog.service.js +0 -316
  430. package/esm2015/dialogs/window-dialog/window-dialog.component.js +0 -56
  431. package/esm2015/dynamic-menu/covalent-core-dynamic-menu.js +0 -11
  432. package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.js +0 -40
  433. package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.js +0 -35
  434. package/esm2015/dynamic-menu/dynamic-menu.component.js +0 -89
  435. package/esm2015/dynamic-menu/dynamic-menu.module.js +0 -26
  436. package/esm2015/dynamic-menu/index.js +0 -7
  437. package/esm2015/dynamic-menu/public_api.js +0 -9
  438. package/esm2015/file/covalent-core-file.js +0 -10
  439. package/esm2015/file/directives/file-drop.directive.js +0 -191
  440. package/esm2015/file/directives/file-select.directive.js +0 -98
  441. package/esm2015/file/file-input/file-input.component.js +0 -186
  442. package/esm2015/file/file-upload/file-upload.component.js +0 -237
  443. package/esm2015/file/file.module.js +0 -35
  444. package/esm2015/file/index.js +0 -7
  445. package/esm2015/file/public-api.js +0 -12
  446. package/esm2015/file/services/file.service.js +0 -109
  447. package/esm2015/index.js +0 -7
  448. package/esm2015/json-formatter/covalent-core-json-formatter.js +0 -10
  449. package/esm2015/json-formatter/index.js +0 -7
  450. package/esm2015/json-formatter/json-formatter.component.js +0 -338
  451. package/esm2015/json-formatter/json-formatter.module.js +0 -20
  452. package/esm2015/json-formatter/public-api.js +0 -8
  453. package/esm2015/layout/covalent-core-layout.js +0 -10
  454. package/esm2015/layout/index.js +0 -7
  455. package/esm2015/layout/layout-card-over/layout-card-over.component.js +0 -71
  456. package/esm2015/layout/layout-footer/layout-footer.component.js +0 -71
  457. package/esm2015/layout/layout-manage-list/layout-manage-list.component.js +0 -145
  458. package/esm2015/layout/layout-manage-list/layout-manage-list.directives.js +0 -132
  459. package/esm2015/layout/layout-nav/layout-nav.component.js +0 -100
  460. package/esm2015/layout/layout-nav-list/layout-nav-list.component.js +0 -220
  461. package/esm2015/layout/layout-nav-list/layout-nav-list.directives.js +0 -132
  462. package/esm2015/layout/layout-toggle.class.js +0 -188
  463. package/esm2015/layout/layout.component.js +0 -145
  464. package/esm2015/layout/layout.directives.js +0 -129
  465. package/esm2015/layout/layout.module.js +0 -64
  466. package/esm2015/layout/navigation-drawer/navigation-drawer.component.js +0 -280
  467. package/esm2015/layout/public-api.js +0 -18
  468. package/esm2015/menu/covalent-core-menu.js +0 -10
  469. package/esm2015/menu/index.js +0 -7
  470. package/esm2015/menu/menu.component.js +0 -16
  471. package/esm2015/menu/menu.module.js +0 -22
  472. package/esm2015/menu/public-api.js +0 -8
  473. package/esm2015/message/covalent-core-message.js +0 -10
  474. package/esm2015/message/index.js +0 -7
  475. package/esm2015/message/message.component.js +0 -307
  476. package/esm2015/message/message.module.js +0 -21
  477. package/esm2015/message/public-api.js +0 -8
  478. package/esm2015/search/covalent-core-search.js +0 -10
  479. package/esm2015/search/index.js +0 -7
  480. package/esm2015/search/public-api.js +0 -9
  481. package/esm2015/search/search-box/search-box.component.js +0 -270
  482. package/esm2015/search/search-input/search-input.component.js +0 -260
  483. package/esm2015/search/search.module.js +0 -23
  484. package/esm2015/side-sheet/covalent-core-side-sheet.js +0 -12
  485. package/esm2015/side-sheet/index.js +0 -7
  486. package/esm2015/side-sheet/public-api.js +0 -11
  487. package/esm2015/side-sheet/side-sheet-container.js +0 -402
  488. package/esm2015/side-sheet/side-sheet-ref.js +0 -50
  489. package/esm2015/side-sheet/side-sheet.animation.js +0 -20
  490. package/esm2015/side-sheet/side-sheet.config.js +0 -12
  491. package/esm2015/side-sheet/side-sheet.content-directives.js +0 -255
  492. package/esm2015/side-sheet/side-sheet.js +0 -360
  493. package/esm2015/side-sheet/side-sheet.module.js +0 -36
  494. package/esm2015/user-profile/covalent-core-user-profile.js +0 -10
  495. package/esm2015/user-profile/index.js +0 -7
  496. package/esm2015/user-profile/public_api.js +0 -9
  497. package/esm2015/user-profile/user-profile-menu/user-profile-menu.component.js +0 -35
  498. package/esm2015/user-profile/user-profile.component.js +0 -26
  499. package/esm2015/user-profile/user-profile.module.js +0 -25
  500. package/fesm2015/covalent-core-breadcrumbs.js +0 -448
  501. package/fesm2015/covalent-core-common.js.map +0 -1
  502. package/fesm2015/covalent-core-dialogs.js +0 -1001
  503. package/fesm2015/covalent-core-dialogs.js.map +0 -1
  504. package/fesm2015/covalent-core-dynamic-menu.js +0 -204
  505. package/fesm2015/covalent-core-dynamic-menu.js.map +0 -1
  506. package/fesm2015/covalent-core-file.js +0 -855
  507. package/fesm2015/covalent-core-file.js.map +0 -1
  508. package/fesm2015/covalent-core-json-formatter.js +0 -377
  509. package/fesm2015/covalent-core-json-formatter.js.map +0 -1
  510. package/fesm2015/covalent-core-layout.js +0 -1663
  511. package/fesm2015/covalent-core-layout.js.map +0 -1
  512. package/fesm2015/covalent-core-menu.js +0 -57
  513. package/fesm2015/covalent-core-menu.js.map +0 -1
  514. package/fesm2015/covalent-core-message.js +0 -347
  515. package/fesm2015/covalent-core-message.js.map +0 -1
  516. package/fesm2015/covalent-core-search.js +0 -564
  517. package/fesm2015/covalent-core-search.js.map +0 -1
  518. package/fesm2015/covalent-core-side-sheet.js.map +0 -1
  519. package/fesm2015/covalent-core-user-profile.js +0 -103
  520. package/fesm2015/covalent-core-user-profile.js.map +0 -1
  521. package/fesm2015/covalent-core.js +0 -12
  522. package/fesm2015/covalent-core.js.map +0 -1
  523. package/file/covalent-core-file.metadata.json +0 -1
  524. package/json-formatter/covalent-core-json-formatter.metadata.json +0 -1
  525. package/layout/covalent-core-layout.metadata.json +0 -1
  526. package/menu/covalent-core-menu.metadata.json +0 -1
  527. package/message/covalent-core-message.metadata.json +0 -1
  528. package/schematics/collection.json +0 -11
  529. package/schematics/components.js +0 -111
  530. package/schematics/components.js.map +0 -1
  531. package/schematics/migration.json +0 -10
  532. package/schematics/ng-add/index.js +0 -58
  533. package/schematics/ng-add/index.js.map +0 -1
  534. package/schematics/ng-add/schema.js +0 -3
  535. package/schematics/ng-add/schema.js.map +0 -1
  536. package/schematics/ng-add/schema.json +0 -81
  537. package/schematics/ng-update/index.js +0 -52
  538. package/schematics/ng-update/index.js.map +0 -1
  539. package/schematics/ng-update/target-version.js +0 -8
  540. package/schematics/ng-update/target-version.js.map +0 -1
  541. package/schematics/version-names.js +0 -6
  542. package/schematics/version-names.js.map +0 -1
  543. package/search/covalent-core-search.metadata.json +0 -1
  544. package/side-sheet/covalent-core-side-sheet.metadata.json +0 -1
  545. package/user-profile/covalent-core-user-profile.metadata.json +0 -1
@@ -1,28 +1,21 @@
1
- import { Directive, Optional, Host, HostListener, Inject, ElementRef, Pipe, LOCALE_ID, Injectable, NgModule } from '@angular/core';
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, Optional, Host, HostListener, Inject, Pipe, LOCALE_ID, Injectable, NgModule } from '@angular/core';
2
3
  import { DOCUMENT, DecimalPipe, CommonModule } from '@angular/common';
3
- import { NgModel, FormsModule, Validators } from '@angular/forms';
4
- import { RoutesRecognized, Router } from '@angular/router';
4
+ import * as i1 from '@angular/forms';
5
+ import { FormsModule, Validators } from '@angular/forms';
6
+ import * as i1$1 from '@angular/router';
7
+ import { RoutesRecognized } from '@angular/router';
5
8
  import { filter, pairwise } from 'rxjs/operators';
6
9
  import { trigger, state, style, transition, group, query, animateChild, animate, AUTO_STYLE, keyframes } from '@angular/animations';
7
10
  import { Subject } from 'rxjs';
8
11
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
9
12
 
10
- /**
11
- * @fileoverview added by tsickle
12
- * Generated from: forms/auto-trim/auto-trim.directive.ts
13
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
14
- */
15
13
  class TdAutoTrimDirective {
16
- /**
17
- * @param {?} _model
18
- */
19
14
  constructor(_model) {
20
15
  this._model = _model;
21
16
  }
22
17
  /**
23
18
  * Listens to host's (blur) event and trims value.
24
- * @param {?} event
25
- * @return {?}
26
19
  */
27
20
  onBlur(event) {
28
21
  if (this._model && this._model.value && typeof this._model.value === 'string') {
@@ -30,100 +23,43 @@ class TdAutoTrimDirective {
30
23
  }
31
24
  }
32
25
  }
33
- TdAutoTrimDirective.decorators = [
34
- { type: Directive, args: [{
26
+ /** @nocollapse */ /** @nocollapse */ TdAutoTrimDirective.ɵfac = function TdAutoTrimDirective_Factory(t) { return new (t || TdAutoTrimDirective)(i0.ɵɵdirectiveInject(i1.NgModel, 9)); };
27
+ /** @nocollapse */ /** @nocollapse */ TdAutoTrimDirective.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ type: TdAutoTrimDirective, selectors: [["", "tdAutoTrim", ""]], hostBindings: function TdAutoTrimDirective_HostBindings(rf, ctx) { if (rf & 1) {
28
+ i0.ɵɵlistener("blur", function TdAutoTrimDirective_blur_HostBindingHandler($event) { return ctx.onBlur($event); });
29
+ } } });
30
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdAutoTrimDirective, [{
31
+ type: Directive,
32
+ args: [{
35
33
  selector: '[tdAutoTrim]',
36
- },] }
37
- ];
38
- /** @nocollapse */
39
- TdAutoTrimDirective.ctorParameters = () => [
40
- { type: NgModel, decorators: [{ type: Optional }, { type: Host }] }
41
- ];
42
- TdAutoTrimDirective.propDecorators = {
43
- onBlur: [{ type: HostListener, args: ['blur', ['$event'],] }]
44
- };
45
- if (false) {
46
- /**
47
- * @type {?}
48
- * @private
49
- */
50
- TdAutoTrimDirective.prototype._model;
51
- }
34
+ }]
35
+ }], function () { return [{ type: i1.NgModel, decorators: [{
36
+ type: Optional
37
+ }, {
38
+ type: Host
39
+ }] }]; }, { onBlur: [{
40
+ type: HostListener,
41
+ args: ['blur', ['$event']]
42
+ }] }); })();
52
43
 
53
- /**
54
- * @fileoverview added by tsickle
55
- * Generated from: directives/fullscreen/fullscreen.directive.ts
56
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
57
- */
58
- /**
59
- * @record
60
- */
61
- function IFsDocument() { }
62
- if (false) {
63
- /** @type {?} */
64
- IFsDocument.prototype.fullscreenElement;
65
- /** @type {?} */
66
- IFsDocument.prototype.webkitFullscreenElement;
67
- /** @type {?} */
68
- IFsDocument.prototype.mozFullscreenElement;
69
- /** @type {?} */
70
- IFsDocument.prototype.msFullscreenElement;
71
- /** @type {?} */
72
- IFsDocument.prototype.webkitExitFullscreen;
73
- /** @type {?} */
74
- IFsDocument.prototype.mozCancelFullScreen;
75
- /** @type {?} */
76
- IFsDocument.prototype.msExitFullscreen;
77
- }
78
44
  class TdFullscreenDirective {
79
- /**
80
- * @param {?} _document
81
- * @param {?} _el
82
- */
83
45
  constructor(_document, _el) {
84
46
  this._document = _document;
85
47
  this._el = _el;
86
48
  this.fullScreenIsActive = false;
87
49
  }
88
- /**
89
- * @param {?} event
90
- * @return {?}
91
- */
92
50
  fsChangeHandler(event) {
93
51
  this.fullScreenIsActive = event.srcElement === this._getFullScreenElement();
94
52
  }
95
- /**
96
- * @return {?}
97
- */
98
53
  toggleFullScreen() {
99
54
  this._getFullScreenElement() === this._el.nativeElement ? this.exitFullScreen() : this.enterFullScreen();
100
55
  }
101
- /**
102
- * @return {?}
103
- */
104
56
  enterFullScreen() {
105
57
  const { _el: { nativeElement }, } = this;
106
- /** @type {?} */
107
58
  const enterFullScreenMap = {
108
- requestFullscreen: (/**
109
- * @return {?}
110
- */
111
- () => nativeElement.requestFullscreen()),
112
- // Chrome
113
- webkitRequestFullscreen: (/**
114
- * @return {?}
115
- */
116
- () => nativeElement.webkitRequestFullscreen()),
117
- // Safari
118
- mozRequestFullScreen: (/**
119
- * @return {?}
120
- */
121
- () => nativeElement.mozRequestFullScreen()),
122
- // Firefox
123
- msRequestFullscreen: (/**
124
- * @return {?}
125
- */
126
- () => nativeElement.msRequestFullscreen()),
59
+ requestFullscreen: () => nativeElement.requestFullscreen(),
60
+ webkitRequestFullscreen: () => nativeElement.webkitRequestFullscreen(),
61
+ mozRequestFullScreen: () => nativeElement.mozRequestFullScreen(),
62
+ msRequestFullscreen: () => nativeElement.msRequestFullscreen(), // IE
127
63
  };
128
64
  for (const handler of Object.keys(enterFullScreenMap)) {
129
65
  if (nativeElement[handler]) {
@@ -131,32 +67,13 @@ class TdFullscreenDirective {
131
67
  }
132
68
  }
133
69
  }
134
- /**
135
- * @return {?}
136
- */
137
70
  exitFullScreen() {
138
71
  const { _document, _el: { nativeElement }, } = this;
139
- /** @type {?} */
140
72
  const exitFullScreenMap = {
141
- exitFullscreen: (/**
142
- * @return {?}
143
- */
144
- () => _document.exitFullscreen()),
145
- // Chrome
146
- webkitExitFullscreen: (/**
147
- * @return {?}
148
- */
149
- () => _document.webkitExitFullscreen()),
150
- // Safari
151
- mozCancelFullScreen: (/**
152
- * @return {?}
153
- */
154
- () => _document.mozCancelFullScreen()),
155
- // Firefox
156
- msExitFullscreen: (/**
157
- * @return {?}
158
- */
159
- () => _document.msExitFullscreen()),
73
+ exitFullscreen: () => _document.exitFullscreen(),
74
+ webkitExitFullscreen: () => _document.webkitExitFullscreen(),
75
+ mozCancelFullScreen: () => _document.mozCancelFullScreen(),
76
+ msExitFullscreen: () => _document.msExitFullscreen(), // IE
160
77
  };
161
78
  for (const handler of Object.keys(exitFullScreenMap)) {
162
79
  if (_document[handler] && this._getFullScreenElement() === nativeElement) {
@@ -164,33 +81,13 @@ class TdFullscreenDirective {
164
81
  }
165
82
  }
166
83
  }
167
- /**
168
- * @private
169
- * @return {?}
170
- */
171
84
  _getFullScreenElement() {
172
85
  const { _document } = this;
173
- /** @type {?} */
174
86
  const tdFullScreenElementMap = {
175
- fullscreenElement: (/**
176
- * @return {?}
177
- */
178
- () => _document.fullscreenElement),
179
- // Chrome, Opera
180
- webkitFullscreenElement: (/**
181
- * @return {?}
182
- */
183
- () => _document.webkitFullscreenElement),
184
- // Safari
185
- mozFullscreenElement: (/**
186
- * @return {?}
187
- */
188
- () => _document.mozFullscreenElement),
189
- // Firefox
190
- msFullscreenElement: (/**
191
- * @return {?}
192
- */
193
- () => _document.msFullscreenElement),
87
+ fullscreenElement: () => _document.fullscreenElement,
88
+ webkitFullscreenElement: () => _document.webkitFullscreenElement,
89
+ mozFullscreenElement: () => _document.mozFullscreenElement,
90
+ msFullscreenElement: () => _document.msFullscreenElement, // IE, Edge
194
91
  };
195
92
  for (const props of Object.keys(tdFullScreenElementMap)) {
196
93
  if (_document[props]) {
@@ -199,50 +96,37 @@ class TdFullscreenDirective {
199
96
  }
200
97
  }
201
98
  }
202
- TdFullscreenDirective.decorators = [
203
- { type: Directive, args: [{
99
+ /** @nocollapse */ /** @nocollapse */ TdFullscreenDirective.ɵfac = function TdFullscreenDirective_Factory(t) { return new (t || TdFullscreenDirective)(i0.ɵɵdirectiveInject(DOCUMENT), i0.ɵɵdirectiveInject(i0.ElementRef)); };
100
+ /** @nocollapse */ /** @nocollapse */ TdFullscreenDirective.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ type: TdFullscreenDirective, selectors: [["", "tdFullScreen", ""]], hostBindings: function TdFullscreenDirective_HostBindings(rf, ctx) { if (rf & 1) {
101
+ i0.ɵɵlistener("fullscreenchange", function TdFullscreenDirective_fullscreenchange_HostBindingHandler($event) { return ctx.fsChangeHandler($event); }, false, i0.ɵɵresolveDocument)("webkitfullscreenchange", function TdFullscreenDirective_webkitfullscreenchange_HostBindingHandler($event) { return ctx.fsChangeHandler($event); }, false, i0.ɵɵresolveDocument)("mozfullscreenchange", function TdFullscreenDirective_mozfullscreenchange_HostBindingHandler($event) { return ctx.fsChangeHandler($event); }, false, i0.ɵɵresolveDocument)("msfullscreenchange", function TdFullscreenDirective_msfullscreenchange_HostBindingHandler($event) { return ctx.fsChangeHandler($event); }, false, i0.ɵɵresolveDocument);
102
+ } }, exportAs: ["tdFullScreen"] });
103
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdFullscreenDirective, [{
104
+ type: Directive,
105
+ args: [{
204
106
  selector: '[tdFullScreen]',
205
107
  exportAs: 'tdFullScreen',
206
- },] }
207
- ];
208
- /** @nocollapse */
209
- TdFullscreenDirective.ctorParameters = () => [
210
- { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] },
211
- { type: ElementRef }
212
- ];
213
- TdFullscreenDirective.propDecorators = {
214
- fsChangeHandler: [{ type: HostListener, args: ['document:fullscreenchange', ['$event'],] }, { type: HostListener, args: ['document:webkitfullscreenchange', ['$event'],] }, { type: HostListener, args: ['document:mozfullscreenchange', ['$event'],] }, { type: HostListener, args: ['document:msfullscreenchange', ['$event'],] }]
215
- };
216
- if (false) {
217
- /** @type {?} */
218
- TdFullscreenDirective.prototype.fullScreenIsActive;
219
- /**
220
- * @type {?}
221
- * @private
222
- */
223
- TdFullscreenDirective.prototype._document;
224
- /**
225
- * @type {?}
226
- * @private
227
- */
228
- TdFullscreenDirective.prototype._el;
229
- }
108
+ }]
109
+ }], function () { return [{ type: undefined, decorators: [{
110
+ type: Inject,
111
+ args: [DOCUMENT]
112
+ }] }, { type: i0.ElementRef }]; }, { fsChangeHandler: [{
113
+ type: HostListener,
114
+ args: ['document:fullscreenchange', ['$event']]
115
+ }, {
116
+ type: HostListener,
117
+ args: ['document:webkitfullscreenchange', ['$event']]
118
+ }, {
119
+ type: HostListener,
120
+ args: ['document:mozfullscreenchange', ['$event']]
121
+ }, {
122
+ type: HostListener,
123
+ args: ['document:msfullscreenchange', ['$event']]
124
+ }] }); })();
230
125
 
231
- /**
232
- * @fileoverview added by tsickle
233
- * Generated from: pipes/time-ago/time-ago.pipe.ts
234
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
235
- */
236
126
  class TdTimeAgoPipe {
237
- /**
238
- * @param {?} time
239
- * @param {?=} reference
240
- * @return {?}
241
- */
242
127
  transform(time, reference) {
243
128
  // Convert time to date object if not already
244
129
  time = new Date(time);
245
- /** @type {?} */
246
130
  const ref = new Date(reference);
247
131
  // If not a valid timestamp, return 'Invalid Date'
248
132
  if (!time.getTime()) {
@@ -250,9 +134,7 @@ class TdTimeAgoPipe {
250
134
  }
251
135
  // For unit testing, we need to be able to declare a static start time
252
136
  // for calculations, or else speed of tests can bork.
253
- /** @type {?} */
254
137
  const startTime = isNaN(ref.getTime()) ? Date.now() : ref.getTime();
255
- /** @type {?} */
256
138
  let diff = Math.floor((startTime - time.getTime()) / 1000);
257
139
  if (diff < 2) {
258
140
  return '1 second ago';
@@ -302,27 +184,18 @@ class TdTimeAgoPipe {
302
184
  }
303
185
  }
304
186
  }
305
- TdTimeAgoPipe.decorators = [
306
- { type: Pipe, args: [{
187
+ /** @nocollapse */ /** @nocollapse */ TdTimeAgoPipe.ɵfac = function TdTimeAgoPipe_Factory(t) { return new (t || TdTimeAgoPipe)(); };
188
+ /** @nocollapse */ /** @nocollapse */ TdTimeAgoPipe.ɵpipe = /** @pureOrBreakMyCode */ i0.ɵɵdefinePipe({ name: "timeAgo", type: TdTimeAgoPipe, pure: true });
189
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdTimeAgoPipe, [{
190
+ type: Pipe,
191
+ args: [{
307
192
  name: 'timeAgo',
308
- },] }
309
- ];
193
+ }]
194
+ }], null, null); })();
310
195
 
311
- /**
312
- * @fileoverview added by tsickle
313
- * Generated from: pipes/time-difference/time-difference.pipe.ts
314
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
315
- */
316
196
  class TdTimeDifferencePipe {
317
- /**
318
- * @param {?} start
319
- * @param {?=} end
320
- * @return {?}
321
- */
322
197
  transform(start, end) {
323
- /** @type {?} */
324
198
  const startTime = new Date(start);
325
- /** @type {?} */
326
199
  let endTime;
327
200
  if (end !== undefined) {
328
201
  endTime = new Date(end);
@@ -333,22 +206,15 @@ class TdTimeDifferencePipe {
333
206
  if (!startTime.getTime() || !endTime.getTime()) {
334
207
  return 'Invalid Date';
335
208
  }
336
- /** @type {?} */
337
209
  let diff = Math.floor((endTime.getTime() - startTime.getTime()) / 1000);
338
- /** @type {?} */
339
210
  const days = Math.floor(diff / (60 * 60 * 24));
340
211
  diff = diff - days * (60 * 60 * 24);
341
- /** @type {?} */
342
212
  const hours = Math.floor(diff / (60 * 60));
343
213
  diff = diff - hours * (60 * 60);
344
- /** @type {?} */
345
214
  const minutes = Math.floor(diff / 60);
346
215
  diff -= minutes * 60;
347
- /** @type {?} */
348
216
  const seconds = diff;
349
- /** @type {?} */
350
217
  const pad = '00';
351
- /** @type {?} */
352
218
  let daysFormatted = '';
353
219
  if (days > 0 && days < 2) {
354
220
  daysFormatted = ' day - ';
@@ -367,27 +233,19 @@ class TdTimeDifferencePipe {
367
233
  seconds);
368
234
  }
369
235
  }
370
- TdTimeDifferencePipe.decorators = [
371
- { type: Pipe, args: [{
236
+ /** @nocollapse */ /** @nocollapse */ TdTimeDifferencePipe.ɵfac = function TdTimeDifferencePipe_Factory(t) { return new (t || TdTimeDifferencePipe)(); };
237
+ /** @nocollapse */ /** @nocollapse */ TdTimeDifferencePipe.ɵpipe = /** @pureOrBreakMyCode */ i0.ɵɵdefinePipe({ name: "timeDifference", type: TdTimeDifferencePipe, pure: true });
238
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdTimeDifferencePipe, [{
239
+ type: Pipe,
240
+ args: [{
372
241
  name: 'timeDifference',
373
- },] }
374
- ];
242
+ }]
243
+ }], null, null); })();
375
244
 
376
- /**
377
- * @fileoverview added by tsickle
378
- * Generated from: pipes/time-until/time-until.pipe.ts
379
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
380
- */
381
245
  class TdTimeUntilPipe {
382
- /**
383
- * @param {?} time
384
- * @param {?=} reference
385
- * @return {?}
386
- */
387
246
  transform(time, reference) {
388
247
  // Convert time to date object if not already
389
248
  time = new Date(time);
390
- /** @type {?} */
391
249
  const ref = new Date(reference);
392
250
  // If not a valid timestamp, return 'Invalid Date'
393
251
  if (!time.getTime()) {
@@ -395,9 +253,7 @@ class TdTimeUntilPipe {
395
253
  }
396
254
  // For unit testing, we need to be able to declare a static start time
397
255
  // for calculations, or else speed of tests can bork.
398
- /** @type {?} */
399
256
  const startTime = isNaN(ref.getTime()) ? Date.now() : ref.getTime();
400
- /** @type {?} */
401
257
  let diff = Math.floor((time.getTime() - startTime) / 1000);
402
258
  if (diff < 2) {
403
259
  return 'in 1 second';
@@ -447,25 +303,18 @@ class TdTimeUntilPipe {
447
303
  }
448
304
  }
449
305
  }
450
- TdTimeUntilPipe.decorators = [
451
- { type: Pipe, args: [{
306
+ /** @nocollapse */ /** @nocollapse */ TdTimeUntilPipe.ɵfac = function TdTimeUntilPipe_Factory(t) { return new (t || TdTimeUntilPipe)(); };
307
+ /** @nocollapse */ /** @nocollapse */ TdTimeUntilPipe.ɵpipe = /** @pureOrBreakMyCode */ i0.ɵɵdefinePipe({ name: "timeUntil", type: TdTimeUntilPipe, pure: true });
308
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdTimeUntilPipe, [{
309
+ type: Pipe,
310
+ args: [{
452
311
  name: 'timeUntil',
453
- },] }
454
- ];
312
+ }]
313
+ }], null, null); })();
455
314
 
456
- /**
457
- * @fileoverview added by tsickle
458
- * Generated from: pipes/bytes/bytes.pipe.ts
459
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
460
- */
461
315
  class TdBytesPipe {
462
316
  /* `bytes` needs to be `any` or TypeScript complains
463
- Tried both `number` and `number | string` */
464
- /**
465
- * @param {?} bytes
466
- * @param {?=} precision
467
- * @return {?}
468
- */
317
+ Tried both `number` and `number | string` */
469
318
  transform(bytes, precision = 2) {
470
319
  if (bytes === 0) {
471
320
  return '0 B';
@@ -474,11 +323,8 @@ class TdBytesPipe {
474
323
  /* If not a valid number, return 'Invalid Number' */
475
324
  return 'Invalid Number';
476
325
  }
477
- /** @type {?} */
478
326
  const k = 1024;
479
- /** @type {?} */
480
327
  const sizes = ['B', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB'];
481
- /** @type {?} */
482
328
  const i = Math.floor(Math.log(bytes) / Math.log(k));
483
329
  // if less than 1
484
330
  if (i < 0) {
@@ -487,25 +333,18 @@ class TdBytesPipe {
487
333
  return parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i];
488
334
  }
489
335
  }
490
- TdBytesPipe.decorators = [
491
- { type: Pipe, args: [{
336
+ /** @nocollapse */ /** @nocollapse */ TdBytesPipe.ɵfac = function TdBytesPipe_Factory(t) { return new (t || TdBytesPipe)(); };
337
+ /** @nocollapse */ /** @nocollapse */ TdBytesPipe.ɵpipe = /** @pureOrBreakMyCode */ i0.ɵɵdefinePipe({ name: "bytes", type: TdBytesPipe, pure: true });
338
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdBytesPipe, [{
339
+ type: Pipe,
340
+ args: [{
492
341
  name: 'bytes',
493
- },] }
494
- ];
342
+ }]
343
+ }], null, null); })();
495
344
 
496
- /**
497
- * @fileoverview added by tsickle
498
- * Generated from: pipes/decimal-bytes/decimal-bytes.pipe.ts
499
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
500
- */
501
345
  class TdDecimalBytesPipe {
502
346
  /* `bytes` needs to be `any` or TypeScript complains
503
- Tried both `number` and `number | string` */
504
- /**
505
- * @param {?} bytes
506
- * @param {?=} precision
507
- * @return {?}
508
- */
347
+ Tried both `number` and `number | string` */
509
348
  transform(bytes, precision = 2) {
510
349
  if (bytes === 0) {
511
350
  return '0 B';
@@ -514,11 +353,8 @@ class TdDecimalBytesPipe {
514
353
  /* If not a valid number, return 'Invalid Number' */
515
354
  return 'Invalid Number';
516
355
  }
517
- /** @type {?} */
518
356
  const k = 1000;
519
- /** @type {?} */
520
357
  const sizes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
521
- /** @type {?} */
522
358
  const i = Math.floor(Math.log(bytes) / Math.log(k));
523
359
  // if less than 1
524
360
  if (i < 0) {
@@ -527,31 +363,21 @@ class TdDecimalBytesPipe {
527
363
  return parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i];
528
364
  }
529
365
  }
530
- TdDecimalBytesPipe.decorators = [
531
- { type: Pipe, args: [{
366
+ /** @nocollapse */ /** @nocollapse */ TdDecimalBytesPipe.ɵfac = function TdDecimalBytesPipe_Factory(t) { return new (t || TdDecimalBytesPipe)(); };
367
+ /** @nocollapse */ /** @nocollapse */ TdDecimalBytesPipe.ɵpipe = /** @pureOrBreakMyCode */ i0.ɵɵdefinePipe({ name: "decimalBytes", type: TdDecimalBytesPipe, pure: true });
368
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdDecimalBytesPipe, [{
369
+ type: Pipe,
370
+ args: [{
532
371
  name: 'decimalBytes',
533
- },] }
534
- ];
372
+ }]
373
+ }], null, null); })();
535
374
 
536
- /**
537
- * @fileoverview added by tsickle
538
- * Generated from: pipes/digits/digits.pipe.ts
539
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
540
- */
541
375
  class TdDigitsPipe {
542
- /**
543
- * @param {?=} _locale
544
- */
545
376
  constructor(_locale = 'en') {
546
377
  this._locale = _locale;
547
378
  this._decimalPipe = new DecimalPipe(this._locale);
548
379
  }
549
380
  /* `digits` needs to be type `digits: any` or TypeScript complains */
550
- /**
551
- * @param {?} digits
552
- * @param {?=} precision
553
- * @return {?}
554
- */
555
381
  transform(digits, precision = 1) {
556
382
  if (digits === 0) {
557
383
  return '0';
@@ -563,56 +389,31 @@ class TdDigitsPipe {
563
389
  else if (digits < 1) {
564
390
  return this._decimalPipe.transform(digits.toFixed(precision));
565
391
  }
566
- /** @type {?} */
567
392
  const k = 1000;
568
- /** @type {?} */
569
393
  const sizes = ['', 'K', 'M', 'B', 'T', 'Q'];
570
- /** @type {?} */
571
394
  const i = Math.floor(Math.log(digits) / Math.log(k));
572
- /** @type {?} */
573
395
  const size = sizes[i];
574
396
  return (this._decimalPipe.transform(parseFloat((digits / Math.pow(k, i)).toFixed(precision))) + (size ? ' ' + size : ''));
575
397
  }
576
398
  }
577
- TdDigitsPipe.decorators = [
578
- { type: Pipe, args: [{
399
+ /** @nocollapse */ /** @nocollapse */ TdDigitsPipe.ɵfac = function TdDigitsPipe_Factory(t) { return new (t || TdDigitsPipe)(i0.ɵɵdirectiveInject(LOCALE_ID, 16)); };
400
+ /** @nocollapse */ /** @nocollapse */ TdDigitsPipe.ɵpipe = /** @pureOrBreakMyCode */ i0.ɵɵdefinePipe({ name: "digits", type: TdDigitsPipe, pure: true });
401
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdDigitsPipe, [{
402
+ type: Pipe,
403
+ args: [{
579
404
  name: 'digits',
580
- },] }
581
- ];
582
- /** @nocollapse */
583
- TdDigitsPipe.ctorParameters = () => [
584
- { type: String, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }
585
- ];
586
- if (false) {
587
- /**
588
- * @type {?}
589
- * @private
590
- */
591
- TdDigitsPipe.prototype._decimalPipe;
592
- /**
593
- * @type {?}
594
- * @private
595
- */
596
- TdDigitsPipe.prototype._locale;
597
- }
405
+ }]
406
+ }], function () { return [{ type: undefined, decorators: [{
407
+ type: Inject,
408
+ args: [LOCALE_ID]
409
+ }] }]; }, null); })();
598
410
 
599
- /**
600
- * @fileoverview added by tsickle
601
- * Generated from: pipes/truncate/truncate.pipe.ts
602
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
603
- */
604
411
  class TdTruncatePipe {
605
- /**
606
- * @param {?} text
607
- * @param {?} length
608
- * @return {?}
609
- */
610
412
  transform(text, length) {
611
413
  if (typeof text !== 'string') {
612
414
  return '';
613
415
  }
614
416
  // Truncate
615
- /** @type {?} */
616
417
  let truncated = text.substr(0, length);
617
418
  if (text.length > length) {
618
419
  if (truncated.lastIndexOf(' ') > 0) {
@@ -623,73 +424,42 @@ class TdTruncatePipe {
623
424
  return truncated;
624
425
  }
625
426
  }
626
- TdTruncatePipe.decorators = [
627
- { type: Pipe, args: [{
427
+ /** @nocollapse */ /** @nocollapse */ TdTruncatePipe.ɵfac = function TdTruncatePipe_Factory(t) { return new (t || TdTruncatePipe)(); };
428
+ /** @nocollapse */ /** @nocollapse */ TdTruncatePipe.ɵpipe = /** @pureOrBreakMyCode */ i0.ɵɵdefinePipe({ name: "truncate", type: TdTruncatePipe, pure: true });
429
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdTruncatePipe, [{
430
+ type: Pipe,
431
+ args: [{
628
432
  name: 'truncate',
629
- },] }
630
- ];
433
+ }]
434
+ }], null, null); })();
631
435
 
632
- /**
633
- * @fileoverview added by tsickle
634
- * Generated from: services/router-path.service.ts
635
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
636
- */
637
436
  class RouterPathService {
638
- /**
639
- * @param {?} _router
640
- */
641
437
  constructor(_router) {
642
438
  this._router = _router;
643
439
  this._router.events
644
- .pipe(filter((/**
645
- * @param {?} e
646
- * @return {?}
647
- */
648
- (e) => e instanceof RoutesRecognized)), pairwise())
649
- .subscribe((/**
650
- * @param {?} e
651
- * @return {?}
652
- */
653
- (e) => {
440
+ .pipe(filter((e) => e instanceof RoutesRecognized), pairwise())
441
+ .subscribe((e) => {
654
442
  RouterPathService._previousRoute = e[0].urlAfterRedirects;
655
- }));
443
+ });
656
444
  }
657
445
  /*
658
- * Utility function to get the route the user previously went to
659
- * good for use in a "back button"
660
- */
661
- /**
662
- * @return {?}
446
+ * Utility function to get the route the user previously went to
447
+ * good for use in a "back button"
663
448
  */
664
449
  getPreviousRoute() {
665
450
  return RouterPathService._previousRoute;
666
451
  }
667
452
  }
668
453
  RouterPathService._previousRoute = '/';
669
- RouterPathService.decorators = [
670
- { type: Injectable }
671
- ];
672
- /** @nocollapse */
673
- RouterPathService.ctorParameters = () => [
674
- { type: Router }
675
- ];
676
- if (false) {
677
- /**
678
- * @type {?}
679
- * @private
680
- */
681
- RouterPathService._previousRoute;
682
- /**
683
- * @type {?}
684
- * @private
685
- */
686
- RouterPathService.prototype._router;
687
- }
454
+ /** @nocollapse */ /** @nocollapse */ RouterPathService.ɵfac = function RouterPathService_Factory(t) { return new (t || RouterPathService)(i0.ɵɵinject(i1$1.Router)); };
455
+ /** @nocollapse */ /** @nocollapse */ RouterPathService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: RouterPathService, factory: RouterPathService.ɵfac });
456
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RouterPathService, [{
457
+ type: Injectable
458
+ }], function () { return [{ type: i1$1.Router }]; }, null); })();
688
459
 
689
- /**
690
- * @fileoverview added by tsickle
691
- * Generated from: services/icon.service.ts
692
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
460
+ /*
461
+ * Copyright (C) 2016-2017 by Teradata Corporation. All rights reserved.
462
+ * TERADATA CORPORATION CONFIDENTIAL AND TRADE SECRET
693
463
  */
694
464
  class IconService {
695
465
  constructor() {
@@ -1759,48 +1529,24 @@ class IconService {
1759
1529
  'toggle_on',
1760
1530
  ];
1761
1531
  }
1762
- /**
1763
- * @return {?}
1764
- */
1765
1532
  get icons() {
1766
1533
  return this._icons;
1767
1534
  }
1768
- /**
1769
- * @param {?} query
1770
- * @return {?}
1771
- */
1772
1535
  filter(query) {
1773
- return this.icons.filter((/**
1774
- * @param {?} el
1775
- * @return {?}
1776
- */
1777
- (el) => {
1536
+ return this.icons.filter((el) => {
1778
1537
  return el.toLowerCase().indexOf(query ? query.toLowerCase() : '') > -1;
1779
- }));
1538
+ });
1780
1539
  }
1781
1540
  }
1782
- IconService.decorators = [
1783
- { type: Injectable }
1784
- ];
1785
- if (false) {
1786
- /**
1787
- * @type {?}
1788
- * @private
1789
- */
1790
- IconService.prototype._icons;
1791
- }
1541
+ /** @nocollapse */ /** @nocollapse */ IconService.ɵfac = function IconService_Factory(t) { return new (t || IconService)(); };
1542
+ /** @nocollapse */ /** @nocollapse */ IconService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: IconService, factory: IconService.ɵfac });
1543
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IconService, [{
1544
+ type: Injectable
1545
+ }], null, null); })();
1792
1546
 
1793
- /**
1794
- * @fileoverview added by tsickle
1795
- * Generated from: common.module.ts
1796
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1797
- */
1798
- /** @type {?} */
1799
1547
  const TD_DIRECTIVES = [TdAutoTrimDirective, TdFullscreenDirective];
1800
1548
  // Validators
1801
- /** @type {?} */
1802
1549
  const TD_VALIDATORS = [];
1803
- /** @type {?} */
1804
1550
  const TD_PIPES = [
1805
1551
  TdTimeAgoPipe,
1806
1552
  TdTimeDifferencePipe,
@@ -1812,30 +1558,32 @@ const TD_PIPES = [
1812
1558
  ];
1813
1559
  class CovalentCommonModule {
1814
1560
  }
1815
- CovalentCommonModule.decorators = [
1816
- { type: NgModule, args: [{
1561
+ /** @nocollapse */ /** @nocollapse */ CovalentCommonModule.ɵfac = function CovalentCommonModule_Factory(t) { return new (t || CovalentCommonModule)(); };
1562
+ /** @nocollapse */ /** @nocollapse */ CovalentCommonModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CovalentCommonModule });
1563
+ /** @nocollapse */ /** @nocollapse */ CovalentCommonModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ providers: [RouterPathService, IconService], imports: [[FormsModule, CommonModule], FormsModule, CommonModule] });
1564
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentCommonModule, [{
1565
+ type: NgModule,
1566
+ args: [{
1817
1567
  imports: [FormsModule, CommonModule],
1818
1568
  declarations: [TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
1819
1569
  exports: [FormsModule, CommonModule, TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
1820
1570
  providers: [RouterPathService, IconService],
1821
- },] }
1822
- ];
1571
+ }]
1572
+ }], null, null); })();
1573
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentCommonModule, { declarations: [TdAutoTrimDirective, TdFullscreenDirective, TdTimeAgoPipe,
1574
+ TdTimeDifferencePipe,
1575
+ TdTimeUntilPipe,
1576
+ TdBytesPipe,
1577
+ TdDecimalBytesPipe,
1578
+ TdDigitsPipe,
1579
+ TdTruncatePipe], imports: [FormsModule, CommonModule], exports: [FormsModule, CommonModule, TdAutoTrimDirective, TdFullscreenDirective, TdTimeAgoPipe,
1580
+ TdTimeDifferencePipe,
1581
+ TdTimeUntilPipe,
1582
+ TdBytesPipe,
1583
+ TdDecimalBytesPipe,
1584
+ TdDigitsPipe,
1585
+ TdTruncatePipe] }); })();
1823
1586
 
1824
- /**
1825
- * @fileoverview added by tsickle
1826
- * Generated from: animations/rotate/rotate.animation.ts
1827
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1828
- */
1829
- /**
1830
- * @record
1831
- */
1832
- function IRotateAnimation() { }
1833
- if (false) {
1834
- /** @type {?|undefined} */
1835
- IRotateAnimation.prototype.degrees;
1836
- /** @type {?|undefined} */
1837
- IRotateAnimation.prototype.ease;
1838
- }
1839
1587
  /**
1840
1588
  * const tdRotateAnimation
1841
1589
  *
@@ -1848,8 +1596,7 @@ if (false) {
1848
1596
  *
1849
1597
  * Returns an [AnimationTriggerMetadata] object with boolean states for a rotation animation.
1850
1598
  *
1851
- * usage: [\@tdRotate]="{ value: true | false, params: { degreesEnd: 90 }}"
1852
- * @type {?}
1599
+ * usage: [@tdRotate]="{ value: true | false, params: { degreesEnd: 90 }}"
1853
1600
  */
1854
1601
  const tdRotateAnimation = trigger('tdRotate', [
1855
1602
  state('0', style({
@@ -1861,21 +1608,6 @@ const tdRotateAnimation = trigger('tdRotate', [
1861
1608
  transition('0 <=> 1', [group([query('@*', animateChild(), { optional: true }), animate('{{ duration }}ms {{ delay }}ms {{ ease }}')])], { params: { duration: 250, delay: '0', ease: 'ease-in' } }),
1862
1609
  ]);
1863
1610
 
1864
- /**
1865
- * @fileoverview added by tsickle
1866
- * Generated from: animations/collapse/collapse.animation.ts
1867
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1868
- */
1869
- /**
1870
- * @record
1871
- */
1872
- function ICollapseAnimation() { }
1873
- if (false) {
1874
- /** @type {?|undefined} */
1875
- ICollapseAnimation.prototype.easeOnClose;
1876
- /** @type {?|undefined} */
1877
- ICollapseAnimation.prototype.easeOnOpen;
1878
- }
1879
1611
  /**
1880
1612
  * const tdCollapseAnimation
1881
1613
  *
@@ -1887,8 +1619,7 @@ if (false) {
1887
1619
  *
1888
1620
  * Returns an [AnimationTriggerMetadata] object with boolean states for a collapse/expand animation.
1889
1621
  *
1890
- * usage: [\@tdCollapse]="{ value: true | false, params: { duration: 500 }}"
1891
- * @type {?}
1622
+ * usage: [@tdCollapse]="{ value: true | false, params: { duration: 500 }}"
1892
1623
  */
1893
1624
  const tdCollapseAnimation = trigger('tdCollapse', [
1894
1625
  state('1', style({
@@ -1927,21 +1658,6 @@ const tdCollapseAnimation = trigger('tdCollapse', [
1927
1658
  ], { params: { duration: 150, delay: '0', ease: 'ease-out' } }),
1928
1659
  ]);
1929
1660
 
1930
- /**
1931
- * @fileoverview added by tsickle
1932
- * Generated from: animations/fade/fadeInOut.animation.ts
1933
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1934
- */
1935
- /**
1936
- * @record
1937
- */
1938
- function IFadeInOutAnimation() { }
1939
- if (false) {
1940
- /** @type {?|undefined} */
1941
- IFadeInOutAnimation.prototype.easeOnIn;
1942
- /** @type {?|undefined} */
1943
- IFadeInOutAnimation.prototype.easeOnOut;
1944
- }
1945
1661
  /**
1946
1662
  * const tdFadeInOutAnimation
1947
1663
  *
@@ -1953,8 +1669,7 @@ if (false) {
1953
1669
  *
1954
1670
  * Returns an [AnimationTriggerMetadata] object with boolean states for a fade animation.
1955
1671
  *
1956
- * usage: [\@tdFadeInOut]="{ value: true | false, params: { duration: 200 }}"
1957
- * @type {?}
1672
+ * usage: [@tdFadeInOut]="{ value: true | false, params: { duration: 200 }}"
1958
1673
  */
1959
1674
  const tdFadeInOutAnimation = trigger('tdFadeInOut', [
1960
1675
  state('0', style({
@@ -1979,11 +1694,6 @@ const tdFadeInOutAnimation = trigger('tdFadeInOut', [
1979
1694
  ], { params: { duration: 150, delay: '0', easeOnOut: 'ease-out' } }),
1980
1695
  ]);
1981
1696
 
1982
- /**
1983
- * @fileoverview added by tsickle
1984
- * Generated from: animations/bounce/bounce.animation.ts
1985
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1986
- */
1987
1697
  /**
1988
1698
  * const tdBounceAnimation
1989
1699
  *
@@ -1994,8 +1704,7 @@ const tdFadeInOutAnimation = trigger('tdFadeInOut', [
1994
1704
  *
1995
1705
  * Returns an [AnimationTriggerMetadata] object with boolean states for a bounce animation.
1996
1706
  *
1997
- * usage: [\@tdBounce]="{ value: true | false, params: { duration: 200 }}"
1998
- * @type {?}
1707
+ * usage: [@tdBounce]="{ value: true | false, params: { duration: 200 }}"
1999
1708
  */
2000
1709
  const tdBounceAnimation = trigger('tdBounce', [
2001
1710
  state('0', style({
@@ -2054,11 +1763,6 @@ const tdBounceAnimation = trigger('tdBounce', [
2054
1763
  ], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
2055
1764
  ]);
2056
1765
 
2057
- /**
2058
- * @fileoverview added by tsickle
2059
- * Generated from: animations/flash/flash.animation.ts
2060
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2061
- */
2062
1766
  /**
2063
1767
  * const tdFlashAnimation
2064
1768
  *
@@ -2069,8 +1773,7 @@ const tdBounceAnimation = trigger('tdBounce', [
2069
1773
  *
2070
1774
  * Returns an [AnimationTriggerMetadata] object with boolean states for a flash animation.
2071
1775
  *
2072
- * usage: [\@tdFlash]="{ value: true | false, params: { duration: 200 }}"
2073
- * @type {?}
1776
+ * usage: [@tdFlash]="{ value: true | false, params: { duration: 200 }}"
2074
1777
  */
2075
1778
  const tdFlashAnimation = trigger('tdFlash', [
2076
1779
  state('0', style({
@@ -2093,11 +1796,6 @@ const tdFlashAnimation = trigger('tdFlash', [
2093
1796
  ], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
2094
1797
  ]);
2095
1798
 
2096
- /**
2097
- * @fileoverview added by tsickle
2098
- * Generated from: animations/headshake/headshake.animation.ts
2099
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2100
- */
2101
1799
  /**
2102
1800
  * const tdHeadshakeAnimation
2103
1801
  *
@@ -2108,8 +1806,7 @@ const tdFlashAnimation = trigger('tdFlash', [
2108
1806
  *
2109
1807
  * Returns an [AnimationTriggerMetadata] object with boolean states for a headshake animation.
2110
1808
  *
2111
- * usage: [\@tdHeadshake]="{ value: true | false, params: { duration: 200 }}"
2112
- * @type {?}
1809
+ * usage: [@tdHeadshake]="{ value: true | false, params: { duration: 200 }}"
2113
1810
  */
2114
1811
  const tdHeadshakeAnimation = trigger('tdHeadshake', [
2115
1812
  state('0', style({
@@ -2133,11 +1830,6 @@ const tdHeadshakeAnimation = trigger('tdHeadshake', [
2133
1830
  ], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
2134
1831
  ]);
2135
1832
 
2136
- /**
2137
- * @fileoverview added by tsickle
2138
- * Generated from: animations/jello/jello.animation.ts
2139
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2140
- */
2141
1833
  /**
2142
1834
  * const tdJelloAnimation
2143
1835
  *
@@ -2148,8 +1840,7 @@ const tdHeadshakeAnimation = trigger('tdHeadshake', [
2148
1840
  *
2149
1841
  * Returns an [AnimationTriggerMetadata] object with boolean states for a jello animation.
2150
1842
  *
2151
- * usage: [\@tdJello]="{ value: true | false, params: { duration: 200 }}"
2152
- * @type {?}
1843
+ * usage: [@tdJello]="{ value: true | false, params: { duration: 200 }}"
2153
1844
  */
2154
1845
  const tdJelloAnimation = trigger('tdJello', [
2155
1846
  state('0', style({
@@ -2176,11 +1867,6 @@ const tdJelloAnimation = trigger('tdJello', [
2176
1867
  ], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
2177
1868
  ]);
2178
1869
 
2179
- /**
2180
- * @fileoverview added by tsickle
2181
- * Generated from: animations/pulse/pulse.animation.ts
2182
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2183
- */
2184
1870
  /**
2185
1871
  * const tdPulseAnimation
2186
1872
  *
@@ -2191,8 +1877,7 @@ const tdJelloAnimation = trigger('tdJello', [
2191
1877
  *
2192
1878
  * Returns an [AnimationTriggerMetadata] object with boolean states for a pulse animation.
2193
1879
  *
2194
- * usage: [\@tdPulse]="{ value: true | false, params: { duration: 200 }}"
2195
- * @type {?}
1880
+ * usage: [@tdPulse]="{ value: true | false, params: { duration: 200 }}"
2196
1881
  */
2197
1882
  const tdPulseAnimation = trigger('tdPulse', [
2198
1883
  state('0', style({
@@ -2213,72 +1898,20 @@ const tdPulseAnimation = trigger('tdPulse', [
2213
1898
  ], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
2214
1899
  ]);
2215
1900
 
2216
- /**
2217
- * @fileoverview added by tsickle
2218
- * Generated from: behaviors/control-value-accesor.mixin.ts
2219
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2220
- */
2221
- /** @type {?} */
2222
- const noop = (/**
2223
- * @return {?}
2224
- */
2225
- () => {
1901
+ const noop = () => {
2226
1902
  // empty method
2227
- });
2228
- const ɵ0 = noop;
2229
- /**
2230
- * @record
2231
- */
2232
- function IControlValueAccessor() { }
2233
- if (false) {
2234
- /** @type {?} */
2235
- IControlValueAccessor.prototype.value;
2236
- /** @type {?} */
2237
- IControlValueAccessor.prototype.valueChanges;
2238
- /** @type {?} */
2239
- IControlValueAccessor.prototype.onChange;
2240
- /** @type {?} */
2241
- IControlValueAccessor.prototype.onTouched;
2242
- }
2243
- /**
2244
- * @record
2245
- */
2246
- function IHasChangeDetectorRef() { }
2247
- if (false) {
2248
- /** @type {?} */
2249
- IHasChangeDetectorRef.prototype._changeDetectorRef;
2250
- }
2251
- /**
2252
- * Mixin to augment a component with ngModel support.
2253
- * @template T
2254
- * @param {?} base
2255
- * @param {?=} initialValue
2256
- * @return {?}
2257
- */
1903
+ };
1904
+ /** Mixin to augment a component with ngModel support. */
2258
1905
  function mixinControlValueAccessor(base, initialValue) {
2259
1906
  return class extends base {
2260
- /**
2261
- * @param {...?} args
2262
- */
2263
1907
  constructor(...args) {
2264
1908
  super(...args);
2265
1909
  this._value = initialValue instanceof Array ? Object.assign([], initialValue) : initialValue;
2266
- this.onChange = (/**
2267
- * @param {?} _
2268
- * @return {?}
2269
- */
2270
- (_) => noop);
2271
- this.onTouched = (/**
2272
- * @return {?}
2273
- */
2274
- () => noop);
1910
+ this.onChange = (_) => noop;
1911
+ this.onTouched = () => noop;
2275
1912
  this._subjectValueChanges = new Subject();
2276
1913
  this.valueChanges = this._subjectValueChanges.asObservable();
2277
1914
  }
2278
- /**
2279
- * @param {?} v
2280
- * @return {?}
2281
- */
2282
1915
  set value(v) {
2283
1916
  if (v !== this._value) {
2284
1917
  this._value = v;
@@ -2287,241 +1920,112 @@ function mixinControlValueAccessor(base, initialValue) {
2287
1920
  this._subjectValueChanges.next(v);
2288
1921
  }
2289
1922
  }
2290
- /**
2291
- * @return {?}
2292
- */
2293
1923
  get value() {
2294
1924
  return this._value;
2295
1925
  }
2296
- /**
2297
- * @param {?} value
2298
- * @return {?}
2299
- */
2300
1926
  writeValue(value) {
2301
1927
  this.value = value;
2302
1928
  this._changeDetectorRef.markForCheck();
2303
1929
  }
2304
- /**
2305
- * @param {?} fn
2306
- * @return {?}
2307
- */
2308
1930
  registerOnChange(fn) {
2309
1931
  this.onChange = fn;
2310
1932
  }
2311
- /**
2312
- * @param {?} fn
2313
- * @return {?}
2314
- */
2315
1933
  registerOnTouched(fn) {
2316
1934
  this.onTouched = fn;
2317
1935
  }
2318
1936
  };
2319
1937
  }
2320
1938
 
2321
- /**
2322
- * @fileoverview added by tsickle
2323
- * Generated from: behaviors/disabled.mixin.ts
2324
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2325
- */
2326
- /**
2327
- * Interface to implement when applying the disabled mixin
2328
- * @record
2329
- */
2330
- function ICanDisable() { }
2331
- if (false) {
2332
- /** @type {?} */
2333
- ICanDisable.prototype.disabled;
2334
- /**
2335
- * @param {?} v
2336
- * @return {?}
2337
- */
2338
- ICanDisable.prototype.onDisabledChange = function (v) { };
2339
- }
2340
- /**
2341
- * Mixin to augment a component or directive with a `disabled` property.
2342
- * @template T
2343
- * @param {?} base
2344
- * @return {?}
2345
- */
1939
+ /** Mixin to augment a component or directive with a `disabled` property. */
2346
1940
  function mixinDisabled(base) {
2347
1941
  return class extends base {
2348
- /**
2349
- * @param {...?} args
2350
- */
2351
1942
  constructor(...args) {
2352
1943
  super(...args);
2353
1944
  this._disabled = false;
2354
1945
  }
2355
- /**
2356
- * @return {?}
2357
- */
2358
1946
  get disabled() {
2359
1947
  return this._disabled;
2360
1948
  }
2361
- /**
2362
- * @param {?} value
2363
- * @return {?}
2364
- */
2365
1949
  set disabled(value) {
2366
- /** @type {?} */
2367
1950
  const newValue = coerceBooleanProperty(value);
2368
1951
  if (this._disabled !== newValue) {
2369
1952
  this._disabled = newValue;
2370
1953
  this.onDisabledChange(this._disabled);
2371
1954
  }
2372
1955
  }
2373
- /**
2374
- * @param {?} v
2375
- * @return {?}
2376
- */
2377
1956
  onDisabledChange(v) {
2378
1957
  /** NOT IMPLEMENTED, this needs to be overriden by subclasses if needed */
2379
1958
  }
2380
1959
  };
2381
1960
  }
2382
1961
 
2383
- /**
2384
- * @fileoverview added by tsickle
2385
- * Generated from: behaviors/disable-ripple.mixin.ts
2386
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2387
- */
2388
- /**
2389
- * Interface to implement when applying the disabled mixin
2390
- * @record
2391
- */
2392
- function ICanDisableRipple() { }
2393
- if (false) {
2394
- /** @type {?} */
2395
- ICanDisableRipple.prototype.disableRipple;
2396
- /**
2397
- * @param {?} v
2398
- * @return {?}
2399
- */
2400
- ICanDisableRipple.prototype.onDisableRippleChange = function (v) { };
2401
- }
2402
- /**
2403
- * Mixin to augment a component or directive with a `disabled` property.
2404
- * @template T
2405
- * @param {?} base
2406
- * @return {?}
2407
- */
1962
+ /** Mixin to augment a component or directive with a `disabled` property. */
2408
1963
  function mixinDisableRipple(base) {
2409
1964
  return class extends base {
2410
- /**
2411
- * @param {...?} args
2412
- */
2413
1965
  constructor(...args) {
2414
1966
  super(...args);
2415
1967
  this._disableRipple = false;
2416
1968
  }
2417
- /**
2418
- * @return {?}
2419
- */
2420
1969
  get disableRipple() {
2421
1970
  return this._disableRipple;
2422
1971
  }
2423
- /**
2424
- * @param {?} value
2425
- * @return {?}
2426
- */
2427
1972
  set disableRipple(value) {
2428
- /** @type {?} */
2429
1973
  const newValue = coerceBooleanProperty(value);
2430
1974
  if (this._disableRipple !== newValue) {
2431
1975
  this._disableRipple = newValue;
2432
1976
  this.onDisableRippleChange(this._disableRipple);
2433
1977
  }
2434
1978
  }
2435
- /**
2436
- * @param {?} v
2437
- * @return {?}
2438
- */
2439
1979
  onDisableRippleChange(v) {
2440
1980
  /** NOT IMPLEMENTED, this needs to be overriden by subclasses if needed */
2441
1981
  }
2442
1982
  };
2443
1983
  }
2444
1984
 
2445
- /**
2446
- * @fileoverview added by tsickle
2447
- * Generated from: forms/validators/validators.ts
2448
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2449
- */
2450
1985
  class CovalentValidators {
2451
- /**
2452
- * @param {?} minValue
2453
- * @return {?}
2454
- */
2455
1986
  static min(minValue) {
2456
1987
  // tslint:disable-next-line:prefer-immediate-return
2457
- /** @type {?} */
2458
- const func = (/**
2459
- * @param {?} c
2460
- * @return {?}
2461
- */
2462
- (c) => {
1988
+ const func = (c) => {
2463
1989
  if (!!Validators.required(c) || (!minValue && minValue !== 0)) {
2464
1990
  return undefined;
2465
1991
  }
2466
- /** @type {?} */
2467
1992
  const v = c.value;
2468
1993
  return v < minValue ? { min: { minValue, actualValue: v } } : undefined;
2469
- });
1994
+ };
2470
1995
  return func;
2471
1996
  }
2472
- /**
2473
- * @param {?} maxValue
2474
- * @return {?}
2475
- */
2476
1997
  static max(maxValue) {
2477
1998
  // tslint:disable-next-line:prefer-immediate-return
2478
- /** @type {?} */
2479
- const func = (/**
2480
- * @param {?} c
2481
- * @return {?}
2482
- */
2483
- (c) => {
1999
+ const func = (c) => {
2484
2000
  if (!!Validators.required(c) || (!maxValue && maxValue !== 0)) {
2485
2001
  return undefined;
2486
2002
  }
2487
- /** @type {?} */
2488
2003
  const v = c.value;
2489
2004
  return v > maxValue ? { max: { maxValue, actualValue: v } } : undefined;
2490
- });
2005
+ };
2491
2006
  return func;
2492
2007
  }
2493
- /**
2494
- * @param {?} c
2495
- * @return {?}
2496
- */
2497
2008
  static numberRequired(c) {
2498
2009
  return Number.isNaN(c.value) ? { required: true } : undefined;
2499
2010
  }
2500
2011
  }
2501
2012
 
2502
- /**
2503
- * @fileoverview added by tsickle
2504
- * Generated from: functions/clipboard.ts
2505
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2506
- */
2507
2013
  /**
2508
2014
  * Assign a text value to the system clipboard. Note: Due to browser
2509
2015
  * security restrictions, the copy will only succeed if this method
2510
2016
  * is invoked as a result of a user action (eg. user button click).
2511
2017
  *
2512
- * @param {?} value text value to be assigned to clipboard.
2513
- * @return {?} boolean indicating success/failure of copy operation.
2018
+ * @param value text value to be assigned to clipboard.
2019
+ * @returns boolean indicating success/failure of copy operation.
2514
2020
  */
2515
2021
  function copyToClipboard(value) {
2516
2022
  // Create a temporary textarea element and append to DOM
2517
- /** @type {?} */
2518
2023
  const fakeTextArea = document.createElement('textarea');
2519
2024
  document.body.appendChild(fakeTextArea);
2520
2025
  // Assign value to be copied to clipboard
2521
2026
  fakeTextArea.value = value;
2522
2027
  fakeTextArea.select();
2523
2028
  // Copy to clipboard
2524
- /** @type {?} */
2525
2029
  const success = document.execCommand('copy');
2526
2030
  // Remove temporary textarea
2527
2031
  document.body.removeChild(fakeTextArea);
@@ -2529,34 +2033,22 @@ function copyToClipboard(value) {
2529
2033
  return success;
2530
2034
  }
2531
2035
 
2532
- /**
2533
- * @fileoverview added by tsickle
2534
- * Generated from: functions/convert.ts
2535
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2536
- */
2537
2036
  /**
2538
2037
  * Conversion function that takes an array of objects and converts
2539
2038
  * them to CSV format. Custom key and line separators can be specified.
2540
2039
  *
2541
- * @param {?} objects list of strings in JSON format or actual objects
2542
- * @param {?=} keySeparator optional parameter to specify custom value separator
2543
- * @param {?=} lineSeparator optional parameter to specify custom end of line separator
2544
- * @return {?} CSV formatted string
2040
+ * @param objects list of strings in JSON format or actual objects
2041
+ * @param keySeparator optional parameter to specify custom value separator
2042
+ * @param lineSeparator optional parameter to specify custom end of line separator
2043
+ * @returns CSV formatted string
2545
2044
  */
2546
2045
  function convertObjectsToCSV(objects, keySeparator = ',', lineSeparator = '\r\n') {
2547
2046
  if (!objects) {
2548
2047
  return '';
2549
2048
  }
2550
- /** @type {?} */
2551
2049
  let outputString = '';
2552
2050
  // Iterate through array, creating one output line per object
2553
- objects.forEach((/**
2554
- * @param {?} value
2555
- * @param {?} key
2556
- * @return {?}
2557
- */
2558
- (value, key) => {
2559
- /** @type {?} */
2051
+ objects.forEach((value, key) => {
2560
2052
  let line = '';
2561
2053
  for (const index of Object.keys(objects[key])) {
2562
2054
  if (line !== '') {
@@ -2568,10 +2060,9 @@ function convertObjectsToCSV(objects, keySeparator = ',', lineSeparator = '\r\n'
2568
2060
  line += objects[key][index];
2569
2061
  }
2570
2062
  outputString += `${line}${lineSeparator}`;
2571
- }));
2063
+ });
2572
2064
  // Append header row identifying keys into output
2573
2065
  if (objects[0]) {
2574
- /** @type {?} */
2575
2066
  const headers = Object.keys(objects[0]).join(keySeparator);
2576
2067
  outputString = `${headers}${lineSeparator}${outputString}`;
2577
2068
  }
@@ -2584,32 +2075,27 @@ function convertObjectsToCSV(objects, keySeparator = ',', lineSeparator = '\r\n'
2584
2075
  * Custom key separator and line separator can be specified.
2585
2076
  * Indentation size for output JSON can be specified.
2586
2077
  *
2587
- * @param {?} csv list of strings in JSON format or actual objects
2588
- * @param {?=} keySeparator optional parameter to specify custom value separator
2589
- * @param {?=} lineSeparator optional parameter to specify custom end of line separator
2590
- * @param {?=} indent optional parameter indicating space indentation for pretty output. Default is 2.
2591
- * @return {?} JSON formatted string
2078
+ * @param csv list of strings in JSON format or actual objects
2079
+ * @param keySeparator optional parameter to specify custom value separator
2080
+ * @param lineSeparator optional parameter to specify custom end of line separator
2081
+ * @param indent optional parameter indicating space indentation for pretty output. Default is 2.
2082
+ * @returns JSON formatted string
2592
2083
  */
2593
2084
  function convertCSVToJSON(csv, keySeparator = ',', lineSeparator = '\r\n', indent = 2) {
2594
2085
  if (!csv) {
2595
2086
  return '';
2596
2087
  }
2597
- /** @type {?} */
2598
2088
  const csvArray = csv.split(lineSeparator);
2599
2089
  // Input CSV must have a minimum of two rows
2600
2090
  if (csvArray.length < 2) {
2601
2091
  return '';
2602
2092
  }
2603
- /** @type {?} */
2604
2093
  const newObjects = [];
2605
2094
  // Extract object keys from header row
2606
- /** @type {?} */
2607
2095
  const keys = csvArray[0].split(keySeparator);
2608
2096
  // Iterate through array, creating one output line per object
2609
2097
  for (let i = 1; i < csvArray.length; i++) {
2610
- /** @type {?} */
2611
2098
  const newObject = {};
2612
- /** @type {?} */
2613
2099
  const values = csvArray[i].split(keySeparator);
2614
2100
  if (values.length !== keys.length) {
2615
2101
  continue;
@@ -2624,26 +2110,19 @@ function convertCSVToJSON(csv, keySeparator = ',', lineSeparator = '\r\n', inden
2624
2110
  /**
2625
2111
  * Convert object to JSON using stringify. Indentation size for output JSON can be specified.
2626
2112
  *
2627
- * @param {?} json object to be converted
2628
- * @param {?=} indent optional parameter indicating space indentation for pretty output. Default is 2.
2629
- * @return {?}
2113
+ * @param json object to be converted
2114
+ * @param indent optional parameter indicating space indentation for pretty output. Default is 2.
2630
2115
  */
2631
2116
  function formatJSON(json, indent = 2) {
2632
2117
  return JSON.stringify(json, undefined, indent);
2633
2118
  }
2634
2119
 
2635
- /**
2636
- * @fileoverview added by tsickle
2637
- * Generated from: functions/download.ts
2638
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2639
- */
2640
2120
  /**
2641
2121
  * Download CSV content to the specified file with .csv extension
2642
2122
  * appended to the provided base file name.
2643
2123
  *
2644
- * @param {?} fileBaseName base name of destination file
2645
- * @param {?} csv CSV contents
2646
- * @return {?}
2124
+ * @param fileBaseName base name of destination file
2125
+ * @param csv CSV contents
2647
2126
  */
2648
2127
  function downloadCSV(fileBaseName, csv) {
2649
2128
  downloadFile(`${fileBaseName}.csv`, csv, 'text/csv');
@@ -2652,11 +2131,10 @@ function downloadCSV(fileBaseName, csv) {
2652
2131
  * Download JSON content to the specified file with .json extension
2653
2132
  * appended to the provided base file name.
2654
2133
  *
2655
- * @param {?} fileBaseName base name of destination file
2656
- * @param {?} json JSON contents
2657
- * @param {?=} format indicates if JSON should be prettied
2658
- * @param {?=} indent optional parameter indicating space indentation for pretty output. Default is 2
2659
- * @return {?}
2134
+ * @param fileBaseName base name of destination file
2135
+ * @param json JSON contents
2136
+ * @param format indicates if JSON should be prettied
2137
+ * @param indent optional parameter indicating space indentation for pretty output. Default is 2
2660
2138
  */
2661
2139
  function downloadJSON(fileBaseName, json, format = false, indent = 2) {
2662
2140
  downloadFile(`${fileBaseName}.json`, format ? formatJSON(JSON.parse(json), indent) : json, 'application/json');
@@ -2666,12 +2144,11 @@ function downloadJSON(fileBaseName, json, format = false, indent = 2) {
2666
2144
  * extension appended to the provided base file name. Custom key
2667
2145
  * separator and line separator can be specified.
2668
2146
  *
2669
- * @param {?} fileBaseName base name of destination file
2670
- * @param {?} objects object array to be converted to CSV format
2147
+ * @param fileBaseName base name of destination file
2148
+ * @param objects object array to be converted to CSV format
2671
2149
  * prior to writing to download destination
2672
- * @param {?=} keySeparator optional parameter to specify custom value separator
2673
- * @param {?=} lineSeparator optional parameter to specify custom end of line separator
2674
- * @return {?}
2150
+ * @param keySeparator optional parameter to specify custom value separator
2151
+ * @param lineSeparator optional parameter to specify custom end of line separator
2675
2152
  */
2676
2153
  function downloadObjectsToCSV(fileBaseName, objects, keySeparator = ',', lineSeparator = '\r\n') {
2677
2154
  downloadFile(`${fileBaseName}.csv`, convertObjectsToCSV(objects, keySeparator, lineSeparator), 'text/csv');
@@ -2680,11 +2157,10 @@ function downloadObjectsToCSV(fileBaseName, objects, keySeparator = ',', lineSep
2680
2157
  * Convert objects to JSON format and download to file with .json
2681
2158
  * extension appended to the provided base file name.
2682
2159
  *
2683
- * @param {?} fileBaseName base name of destination file
2684
- * @param {?} objects object array to be converted to JSON format
2160
+ * @param fileBaseName base name of destination file
2161
+ * @param objects object array to be converted to JSON format
2685
2162
  * prior to writing to download destination
2686
- * @param {?=} indent optional parameter indicating space indentation for pretty output. Default is 2
2687
- * @return {?}
2163
+ * @param indent optional parameter indicating space indentation for pretty output. Default is 2
2688
2164
  */
2689
2165
  function downloadObjectsToJSON(fileBaseName, objects, indent = 2) {
2690
2166
  downloadFile(`${fileBaseName}.json`, formatJSON(objects, indent), 'application/json');
@@ -2692,22 +2168,18 @@ function downloadObjectsToJSON(fileBaseName, objects, indent = 2) {
2692
2168
  /**
2693
2169
  * Download string content to the specified file with desired mime type.
2694
2170
  *
2695
- * @param {?} fileName full filename (including appropriate extension) of destination file
2696
- * @param {?} contents string contents to be written to download destination
2697
- * @param {?=} mimeType mime type appropriate to file content to support consumption of destination file
2698
- * @return {?}
2171
+ * @param fileName full filename (including appropriate extension) of destination file
2172
+ * @param contents string contents to be written to download destination
2173
+ * @param mimeType mime type appropriate to file content to support consumption of destination file
2699
2174
  */
2700
2175
  function downloadFile(fileName, contents, mimeType = 'text/plain') {
2701
2176
  if (!fileName || !contents) {
2702
2177
  return;
2703
2178
  }
2704
2179
  // Create blob object and assign URL
2705
- /** @type {?} */
2706
2180
  const blob = new Blob([contents], { type: mimeType });
2707
- /** @type {?} */
2708
2181
  const url = window.URL.createObjectURL(blob);
2709
2182
  // Construct anchor for URL, append to DOM, click and cleanup.
2710
- /** @type {?} */
2711
2183
  const a = document.createElement('a');
2712
2184
  a.setAttribute('style', 'display: none');
2713
2185
  a.setAttribute('download', fileName);
@@ -2719,52 +2191,25 @@ function downloadFile(fileName, contents, mimeType = 'text/plain') {
2719
2191
  window.URL.revokeObjectURL(url);
2720
2192
  }
2721
2193
 
2722
- /**
2723
- * @fileoverview added by tsickle
2724
- * Generated from: functions/file.ts
2725
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2726
- */
2727
2194
  /**
2728
2195
  * Read file as UTF-8 text. Return string contents on read completion.
2729
2196
  *
2730
- * @param {?} file filename or File object
2731
- * @return {?} promise that resolves to file content string
2197
+ * @param file filename or File object
2198
+ * @returns promise that resolves to file content string
2732
2199
  */
2733
2200
  function readFile(file) {
2734
- return new Promise((/**
2735
- * @param {?} resolve
2736
- * @return {?}
2737
- */
2738
- (resolve) => {
2739
- /** @type {?} */
2201
+ return new Promise((resolve) => {
2740
2202
  const reader = new FileReader();
2741
2203
  reader.readAsText(file, 'UTF-8');
2742
- reader.onload = (/**
2743
- * @return {?}
2744
- */
2745
- () => {
2746
- resolve((/** @type {?} */ (reader.result)));
2747
- });
2748
- }));
2204
+ reader.onload = () => {
2205
+ resolve(reader.result);
2206
+ };
2207
+ });
2749
2208
  }
2750
2209
 
2751
2210
  /**
2752
- * @fileoverview added by tsickle
2753
- * Generated from: public-api.ts
2754
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2755
- */
2756
-
2757
- /**
2758
- * @fileoverview added by tsickle
2759
- * Generated from: index.ts
2760
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2761
- */
2762
-
2763
- /**
2764
- * @fileoverview added by tsickle
2765
- * Generated from: covalent-core-common.ts
2766
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2211
+ * Generated bundle index. Do not edit.
2767
2212
  */
2768
2213
 
2769
- export { CovalentCommonModule, CovalentValidators, TdAutoTrimDirective, TdBytesPipe, TdDecimalBytesPipe, TdDigitsPipe, TdFullscreenDirective, TdTimeAgoPipe, TdTimeDifferencePipe, TdTimeUntilPipe, TdTruncatePipe, convertCSVToJSON, convertObjectsToCSV, copyToClipboard, downloadCSV, downloadFile, downloadJSON, downloadObjectsToCSV, downloadObjectsToJSON, formatJSON, mixinControlValueAccessor, mixinDisableRipple, mixinDisabled, readFile, tdBounceAnimation, tdCollapseAnimation, tdFadeInOutAnimation, tdFlashAnimation, tdHeadshakeAnimation, tdJelloAnimation, tdPulseAnimation, tdRotateAnimation, RouterPathService as ɵa, IconService as ɵb };
2770
- //# sourceMappingURL=covalent-core-common.js.map
2214
+ export { CovalentCommonModule, CovalentValidators, TdAutoTrimDirective, TdBytesPipe, TdDecimalBytesPipe, TdDigitsPipe, TdFullscreenDirective, TdTimeAgoPipe, TdTimeDifferencePipe, TdTimeUntilPipe, TdTruncatePipe, convertCSVToJSON, convertObjectsToCSV, copyToClipboard, downloadCSV, downloadFile, downloadJSON, downloadObjectsToCSV, downloadObjectsToJSON, formatJSON, mixinControlValueAccessor, mixinDisableRipple, mixinDisabled, readFile, tdBounceAnimation, tdCollapseAnimation, tdFadeInOutAnimation, tdFlashAnimation, tdHeadshakeAnimation, tdJelloAnimation, tdPulseAnimation, tdRotateAnimation };
2215
+ //# sourceMappingURL=covalent-core-common.mjs.map