@covalent/core 4.0.0-beta.2 → 4.1.0-develop.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (345) hide show
  1. package/README.md +5 -4
  2. package/breadcrumbs/README.md +21 -17
  3. package/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +3 -1
  4. package/breadcrumbs/breadcrumbs.component.d.ts +3 -4
  5. package/breadcrumbs/covalent-core-breadcrumbs.d.ts +1 -1
  6. package/breadcrumbs/{public-api.d.ts → public_api.d.ts} +0 -0
  7. package/common/README.md +3 -0
  8. package/common/_common-theme.scss +1 -1
  9. package/common/behaviors/disable-ripple.mixin.d.ts +1 -1
  10. package/common/behaviors/disabled.mixin.d.ts +1 -1
  11. package/common/covalent-core-common.d.ts +1 -1
  12. package/common/material-icons.css +1 -111
  13. package/common/material-icons.css.map +1 -1
  14. package/common/pipes/truncate/truncate.pipe.d.ts +1 -1
  15. package/common/platform.css +1 -16819
  16. package/common/platform.css.map +1 -1
  17. package/common/{public-api.d.ts → public_api.d.ts} +0 -0
  18. package/common/styles/_elevation.scss +7 -2
  19. package/common/styles/_typography-functions.scss +10 -2
  20. package/common/styles/_variables.scss +2 -1
  21. package/common/styles/core/_button.scss +35 -5
  22. package/common/styles/core/_card.scss +11 -6
  23. package/common/styles/core/_whiteframe.scss +16 -8
  24. package/common/styles/font/README.md +4 -2
  25. package/covalent-core.d.ts +1 -1
  26. package/dialogs/README.md +38 -30
  27. package/dialogs/alert-dialog/alert-dialog.component.d.ts +3 -3
  28. package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -2
  29. package/dialogs/covalent-core-dialogs.d.ts +1 -1
  30. package/dialogs/dialog.component.d.ts +4 -4
  31. package/dialogs/dialogs.module.d.ts +1 -1
  32. package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +3 -3
  33. package/dialogs/{public-api.d.ts → public_api.d.ts} +0 -0
  34. package/dialogs/src/README.md +223 -0
  35. package/dialogs/window-dialog/window-dialog.component.d.ts +5 -5
  36. package/dynamic-menu/README.md +6 -6
  37. package/dynamic-menu/covalent-core-dynamic-menu.d.ts +1 -1
  38. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +1 -1
  39. package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +1 -1
  40. package/dynamic-menu/dynamic-menu.component.d.ts +1 -22
  41. package/dynamic-menu/dynamic-menu.menu.d.ts +22 -0
  42. package/dynamic-menu/public_api.d.ts +1 -0
  43. package/esm2020/breadcrumbs/breadcrumb/breadcrumb.component.mjs +21 -37
  44. package/esm2020/breadcrumbs/breadcrumbs.component.mjs +25 -34
  45. package/esm2020/breadcrumbs/breadcrumbs.module.mjs +12 -13
  46. package/esm2020/breadcrumbs/covalent-core-breadcrumbs.mjs +2 -2
  47. package/esm2020/breadcrumbs/public_api.mjs +4 -0
  48. package/esm2020/common/animations/bounce/bounce.animation.mjs +1 -1
  49. package/esm2020/common/animations/collapse/collapse.animation.mjs +1 -1
  50. package/esm2020/common/animations/common/interfaces.mjs +1 -1
  51. package/esm2020/common/animations/fade/fadeInOut.animation.mjs +1 -1
  52. package/esm2020/common/animations/flash/flash.animation.mjs +1 -1
  53. package/esm2020/common/animations/headshake/headshake.animation.mjs +17 -5
  54. package/esm2020/common/animations/jello/jello.animation.mjs +29 -8
  55. package/esm2020/common/animations/pulse/pulse.animation.mjs +1 -1
  56. package/esm2020/common/animations/rotate/rotate.animation.mjs +7 -2
  57. package/esm2020/common/behaviors/control-value-accesor.mixin.mjs +4 -2
  58. package/esm2020/common/behaviors/disable-ripple.mixin.mjs +1 -1
  59. package/esm2020/common/behaviors/disabled.mixin.mjs +1 -1
  60. package/esm2020/common/common.module.mjs +14 -15
  61. package/esm2020/common/covalent-core-common.mjs +2 -2
  62. package/esm2020/common/directives/fullscreen/fullscreen.directive.mjs +41 -41
  63. package/esm2020/common/forms/auto-trim/auto-trim.directive.mjs +19 -19
  64. package/esm2020/common/forms/validators/validators.mjs +6 -6
  65. package/esm2020/common/functions/clipboard.mjs +1 -1
  66. package/esm2020/common/functions/convert.mjs +1 -1
  67. package/esm2020/common/functions/download.mjs +1 -1
  68. package/esm2020/common/functions/file.mjs +1 -1
  69. package/esm2020/common/pipes/bytes/bytes.pipe.mjs +21 -11
  70. package/esm2020/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +21 -11
  71. package/esm2020/common/pipes/digits/digits.pipe.mjs +13 -13
  72. package/esm2020/common/pipes/time-ago/time-ago.pipe.mjs +9 -9
  73. package/esm2020/common/pipes/time-difference/time-difference.pipe.mjs +9 -9
  74. package/esm2020/common/pipes/time-until/time-until.pipe.mjs +9 -9
  75. package/esm2020/common/pipes/truncate/truncate.pipe.mjs +10 -10
  76. package/esm2020/common/public_api.mjs +39 -0
  77. package/esm2020/common/services/icon.service.mjs +6 -6
  78. package/esm2020/common/services/router-path.service.mjs +6 -6
  79. package/esm2020/covalent-core.mjs +2 -2
  80. package/esm2020/dialogs/alert-dialog/alert-dialog.component.mjs +9 -40
  81. package/esm2020/dialogs/confirm-dialog/confirm-dialog.component.mjs +9 -49
  82. package/esm2020/dialogs/covalent-core-dialogs.mjs +2 -2
  83. package/esm2020/dialogs/dialog.component.mjs +35 -76
  84. package/esm2020/dialogs/dialogs.module.mjs +39 -36
  85. package/esm2020/dialogs/prompt-dialog/prompt-dialog.component.mjs +15 -73
  86. package/esm2020/dialogs/public_api.mjs +9 -0
  87. package/esm2020/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +27 -10
  88. package/esm2020/dialogs/services/dialog.service.mjs +16 -13
  89. package/esm2020/dialogs/window-dialog/window-dialog.component.mjs +24 -55
  90. package/esm2020/dynamic-menu/covalent-core-dynamic-menu.mjs +2 -2
  91. package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +19 -136
  92. package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +14 -103
  93. package/esm2020/dynamic-menu/dynamic-menu.component.mjs +18 -101
  94. package/esm2020/dynamic-menu/dynamic-menu.menu.mjs +2 -0
  95. package/esm2020/dynamic-menu/dynamic-menu.module.mjs +44 -19
  96. package/esm2020/dynamic-menu/public_api.mjs +2 -1
  97. package/esm2020/file/covalent-core-file.mjs +2 -2
  98. package/esm2020/file/directives/file-drop.directive.mjs +46 -47
  99. package/esm2020/file/directives/file-select.directive.mjs +32 -31
  100. package/esm2020/file/file-input/file-input.component.mjs +41 -68
  101. package/esm2020/file/file-upload/file-upload.component.mjs +76 -112
  102. package/esm2020/file/file.module.mjs +32 -17
  103. package/esm2020/file/public_api.mjs +7 -0
  104. package/esm2020/file/services/file.service.mjs +13 -11
  105. package/esm2020/json-formatter/collapse.animation.mjs +51 -0
  106. package/esm2020/json-formatter/covalent-core-json-formatter.mjs +2 -2
  107. package/esm2020/json-formatter/json-formatter.component.mjs +38 -123
  108. package/esm2020/json-formatter/json-formatter.module.mjs +12 -13
  109. package/esm2020/json-formatter/public_api.mjs +3 -0
  110. package/esm2020/layout/covalent-core-layout.mjs +2 -2
  111. package/esm2020/layout/layout-card-over/layout-card-over.component.mjs +17 -64
  112. package/esm2020/layout/layout-footer/layout-footer.component.mjs +9 -14
  113. package/esm2020/layout/layout-manage-list/layout-manage-list.component.mjs +22 -51
  114. package/esm2020/layout/layout-manage-list/layout-manage-list.directives.mjs +47 -53
  115. package/esm2020/layout/layout-nav/layout-nav.component.mjs +22 -84
  116. package/esm2020/layout/layout-nav-list/layout-nav-list.component.mjs +37 -124
  117. package/esm2020/layout/layout-nav-list/layout-nav-list.directives.mjs +47 -53
  118. package/esm2020/layout/layout-toggle.class.mjs +12 -15
  119. package/esm2020/layout/layout.component.mjs +22 -43
  120. package/esm2020/layout/layout.directives.mjs +48 -50
  121. package/esm2020/layout/layout.module.mjs +34 -35
  122. package/esm2020/layout/navigation-drawer/navigation-drawer.component.mjs +56 -201
  123. package/esm2020/layout/public_api.mjs +13 -0
  124. package/esm2020/menu/covalent-core-menu.mjs +2 -2
  125. package/esm2020/menu/menu.component.mjs +7 -18
  126. package/esm2020/menu/menu.module.mjs +12 -13
  127. package/esm2020/menu/public_api.mjs +3 -0
  128. package/esm2020/message/collapse.animation.mjs +51 -0
  129. package/esm2020/message/covalent-core-message.mjs +2 -2
  130. package/esm2020/message/message.component.mjs +44 -102
  131. package/esm2020/message/message.module.mjs +19 -15
  132. package/esm2020/message/public_api.mjs +3 -0
  133. package/esm2020/public_api.mjs +2 -0
  134. package/esm2020/search/covalent-core-search.mjs +2 -2
  135. package/esm2020/search/public_api.mjs +4 -0
  136. package/esm2020/search/search-box/search-box.component.mjs +97 -123
  137. package/esm2020/search/search-input/search-input.component.mjs +116 -153
  138. package/esm2020/search/search.module.mjs +28 -13
  139. package/esm2020/side-sheet/covalent-core-side-sheet.mjs +2 -2
  140. package/esm2020/side-sheet/public_api.mjs +6 -0
  141. package/esm2020/side-sheet/side-sheet-container.mjs +89 -57
  142. package/esm2020/side-sheet/side-sheet-ref.mjs +2 -2
  143. package/esm2020/side-sheet/side-sheet.animation.mjs +2 -2
  144. package/esm2020/side-sheet/side-sheet.config.mjs +1 -1
  145. package/esm2020/side-sheet/side-sheet.content-directives.mjs +109 -86
  146. package/esm2020/side-sheet/side-sheet.mjs +44 -31
  147. package/esm2020/side-sheet/side-sheet.module.mjs +37 -38
  148. package/esm2020/user-profile/covalent-core-user-profile.mjs +2 -2
  149. package/esm2020/user-profile/public_api.mjs +1 -1
  150. package/esm2020/user-profile/user-profile-menu/user-profile-menu.component.mjs +13 -64
  151. package/esm2020/user-profile/user-profile.component.mjs +13 -35
  152. package/esm2020/user-profile/user-profile.module.mjs +32 -14
  153. package/fesm2015/covalent-core-breadcrumbs.mjs +40 -85
  154. package/fesm2015/covalent-core-breadcrumbs.mjs.map +1 -1
  155. package/fesm2015/covalent-core-common.mjs +170 -140
  156. package/fesm2015/covalent-core-common.mjs.map +1 -1
  157. package/fesm2015/covalent-core-dialogs.mjs +125 -358
  158. package/fesm2015/covalent-core-dialogs.mjs.map +1 -1
  159. package/fesm2015/covalent-core-dynamic-menu.mjs +73 -425
  160. package/fesm2015/covalent-core-dynamic-menu.mjs.map +1 -1
  161. package/fesm2015/covalent-core-file.mjs +148 -233
  162. package/fesm2015/covalent-core-file.mjs.map +1 -1
  163. package/fesm2015/covalent-core-json-formatter.mjs +93 -148
  164. package/fesm2015/covalent-core-json-formatter.mjs.map +1 -1
  165. package/fesm2015/covalent-core-layout.mjs +194 -747
  166. package/fesm2015/covalent-core-layout.mjs.map +1 -1
  167. package/fesm2015/covalent-core-menu.mjs +10 -28
  168. package/fesm2015/covalent-core-menu.mjs.map +1 -1
  169. package/fesm2015/covalent-core-message.mjs +79 -104
  170. package/fesm2015/covalent-core-message.mjs.map +1 -1
  171. package/fesm2015/covalent-core-search.mjs +147 -227
  172. package/fesm2015/covalent-core-search.mjs.map +1 -1
  173. package/fesm2015/covalent-core-side-sheet.mjs +202 -173
  174. package/fesm2015/covalent-core-side-sheet.mjs.map +1 -1
  175. package/fesm2015/covalent-core-user-profile.mjs +38 -114
  176. package/fesm2015/covalent-core-user-profile.mjs.map +1 -1
  177. package/fesm2015/covalent-core.mjs.map +1 -1
  178. package/fesm2020/covalent-core-breadcrumbs.mjs +54 -80
  179. package/fesm2020/covalent-core-breadcrumbs.mjs.map +1 -1
  180. package/fesm2020/covalent-core-common.mjs +224 -165
  181. package/fesm2020/covalent-core-common.mjs.map +1 -1
  182. package/fesm2020/covalent-core-dialogs.mjs +160 -338
  183. package/fesm2020/covalent-core-dialogs.mjs.map +1 -1
  184. package/fesm2020/covalent-core-dynamic-menu.mjs +89 -354
  185. package/fesm2020/covalent-core-dynamic-menu.mjs.map +1 -1
  186. package/fesm2020/covalent-core-file.mjs +229 -273
  187. package/fesm2020/covalent-core-file.mjs.map +1 -1
  188. package/fesm2020/covalent-core-json-formatter.mjs +97 -133
  189. package/fesm2020/covalent-core-json-formatter.mjs.map +1 -1
  190. package/fesm2020/covalent-core-layout.mjs +353 -767
  191. package/fesm2020/covalent-core-layout.mjs.map +1 -1
  192. package/fesm2020/covalent-core-menu.mjs +17 -29
  193. package/fesm2020/covalent-core-menu.mjs.map +1 -1
  194. package/fesm2020/covalent-core-message.mjs +110 -114
  195. package/fesm2020/covalent-core-message.mjs.map +1 -1
  196. package/fesm2020/covalent-core-search.mjs +233 -281
  197. package/fesm2020/covalent-core-search.mjs.map +1 -1
  198. package/fesm2020/covalent-core-side-sheet.mjs +267 -200
  199. package/fesm2020/covalent-core-side-sheet.mjs.map +1 -1
  200. package/fesm2020/covalent-core-user-profile.mjs +54 -109
  201. package/fesm2020/covalent-core-user-profile.mjs.map +1 -1
  202. package/fesm2020/covalent-core.mjs.map +1 -1
  203. package/file/_file-theme.scss +2 -1
  204. package/file/covalent-core-file.d.ts +1 -1
  205. package/file/directives/file-drop.directive.d.ts +6 -7
  206. package/file/directives/file-select.directive.d.ts +2 -2
  207. package/file/file-input/file-input.component.d.ts +7 -7
  208. package/file/file-upload/file-upload.component.d.ts +16 -9
  209. package/file/{public-api.d.ts → public_api.d.ts} +0 -0
  210. package/file/{file-input → src/file-input}/README.md +46 -37
  211. package/file/{file-upload → src/file-upload}/README.md +36 -27
  212. package/json-formatter/README.md +8 -8
  213. package/json-formatter/collapse.animation.d.ts +24 -0
  214. package/json-formatter/covalent-core-json-formatter.d.ts +1 -1
  215. package/json-formatter/json-formatter.component.d.ts +4 -4
  216. package/json-formatter/{public-api.d.ts → public_api.d.ts} +0 -0
  217. package/layout/README.md +48 -50
  218. package/layout/covalent-core-layout.d.ts +1 -1
  219. package/layout/layout-card-over/layout-card-over.component.d.ts +3 -3
  220. package/layout/layout-footer/layout-footer.component.d.ts +3 -3
  221. package/layout/layout-manage-list/layout-manage-list.component.d.ts +4 -4
  222. package/layout/layout-manage-list/layout-manage-list.directives.d.ts +5 -5
  223. package/layout/layout-nav/layout-nav.component.d.ts +5 -5
  224. package/layout/layout-nav-list/layout-nav-list.component.d.ts +9 -9
  225. package/layout/layout-nav-list/layout-nav-list.directives.d.ts +5 -5
  226. package/layout/layout-toggle.class.d.ts +1 -1
  227. package/layout/layout.component.d.ts +4 -4
  228. package/layout/layout.directives.d.ts +2 -2
  229. package/layout/navigation-drawer/navigation-drawer.component.d.ts +12 -12
  230. package/layout/{public-api.d.ts → public_api.d.ts} +0 -0
  231. package/layout/{layout-card-over → src/layout-card-over}/README.md +19 -17
  232. package/layout/{layout-manage-list → src/layout-manage-list}/README.md +24 -28
  233. package/layout/src/layout-nav/README.md +50 -0
  234. package/layout/{layout-nav-list → src/layout-nav-list}/README.md +44 -40
  235. package/menu/covalent-core-menu.d.ts +1 -1
  236. package/menu/{public-api.d.ts → public_api.d.ts} +0 -0
  237. package/message/README.md +26 -18
  238. package/message/collapse.animation.d.ts +24 -0
  239. package/message/covalent-core-message.d.ts +1 -1
  240. package/message/message.component.d.ts +4 -4
  241. package/message/{public-api.d.ts → public_api.d.ts} +0 -0
  242. package/package.json +36 -55
  243. package/{index.d.ts → public_api.d.ts} +0 -0
  244. package/search/README.md +74 -73
  245. package/search/covalent-core-search.d.ts +1 -1
  246. package/search/{public-api.d.ts → public_api.d.ts} +0 -0
  247. package/search/search-box/search-box.component.d.ts +10 -6
  248. package/search/search-input/search-input.component.d.ts +10 -6
  249. package/search/src/search-box/README.md +73 -0
  250. package/search/src/search-input/README.md +74 -0
  251. package/side-sheet/README.md +3 -5
  252. package/side-sheet/{side-sheet.theme.scss → _side-sheet.theme.scss} +0 -0
  253. package/side-sheet/covalent-core-side-sheet.d.ts +1 -1
  254. package/side-sheet/{public-api.d.ts → public_api.d.ts} +0 -0
  255. package/side-sheet/side-sheet-container.d.ts +18 -7
  256. package/side-sheet/side-sheet.content-directives.d.ts +22 -16
  257. package/side-sheet/side-sheet.d.ts +2 -2
  258. package/side-sheet/side-sheet.module.d.ts +1 -1
  259. package/theming/prebuilt/blue-grey-deep-orange.css +1 -2815
  260. package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
  261. package/theming/prebuilt/blue-orange.css +1 -2815
  262. package/theming/prebuilt/blue-orange.css.map +1 -1
  263. package/theming/prebuilt/indigo-pink.css +1 -2815
  264. package/theming/prebuilt/indigo-pink.css.map +1 -1
  265. package/theming/prebuilt/orange-light-blue.css +1 -2815
  266. package/theming/prebuilt/orange-light-blue.css.map +1 -1
  267. package/theming/prebuilt/teal-orange.css +1 -2815
  268. package/theming/prebuilt/teal-orange.css.map +1 -1
  269. package/user-profile/README.md +5 -5
  270. package/user-profile/covalent-core-user-profile.d.ts +1 -1
  271. package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +2 -2
  272. package/user-profile/user-profile.component.d.ts +2 -2
  273. package/breadcrumbs/breadcrumb/breadcrumb.component.scss +0 -25
  274. package/breadcrumbs/breadcrumbs.component.scss +0 -8
  275. package/breadcrumbs/index.d.ts +0 -1
  276. package/common/index.d.ts +0 -1
  277. package/common/material-icons.scss +0 -3
  278. package/common/platform.scss +0 -7
  279. package/dialogs/alert-dialog/alert-dialog.component.scss +0 -3
  280. package/dialogs/confirm-dialog/confirm-dialog.component.scss +0 -3
  281. package/dialogs/dialog.component.scss +0 -49
  282. package/dialogs/index.d.ts +0 -1
  283. package/dialogs/prompt-dialog/prompt-dialog.component.scss +0 -16
  284. package/dialogs/window-dialog/window-dialog.component.scss +0 -31
  285. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.scss +0 -7
  286. package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.scss +0 -13
  287. package/dynamic-menu/dynamic-menu.component.scss +0 -0
  288. package/dynamic-menu/index.d.ts +0 -1
  289. package/esm2020/breadcrumbs/index.mjs +0 -2
  290. package/esm2020/breadcrumbs/public-api.mjs +0 -4
  291. package/esm2020/common/index.mjs +0 -2
  292. package/esm2020/common/public-api.mjs +0 -39
  293. package/esm2020/dialogs/index.mjs +0 -2
  294. package/esm2020/dialogs/public-api.mjs +0 -9
  295. package/esm2020/dynamic-menu/index.mjs +0 -2
  296. package/esm2020/file/index.mjs +0 -2
  297. package/esm2020/file/public-api.mjs +0 -7
  298. package/esm2020/index.mjs +0 -2
  299. package/esm2020/json-formatter/index.mjs +0 -2
  300. package/esm2020/json-formatter/public-api.mjs +0 -3
  301. package/esm2020/layout/index.mjs +0 -2
  302. package/esm2020/layout/public-api.mjs +0 -13
  303. package/esm2020/menu/index.mjs +0 -2
  304. package/esm2020/menu/public-api.mjs +0 -3
  305. package/esm2020/message/index.mjs +0 -2
  306. package/esm2020/message/public-api.mjs +0 -3
  307. package/esm2020/search/index.mjs +0 -2
  308. package/esm2020/search/public-api.mjs +0 -4
  309. package/esm2020/side-sheet/index.mjs +0 -2
  310. package/esm2020/side-sheet/public-api.mjs +0 -6
  311. package/esm2020/user-profile/index.mjs +0 -2
  312. package/file/file-input/file-input.component.scss +0 -22
  313. package/file/file-upload/file-upload.component.scss +0 -34
  314. package/file/index.d.ts +0 -1
  315. package/json-formatter/index.d.ts +0 -1
  316. package/json-formatter/json-formatter.component.scss +0 -74
  317. package/layout/index.d.ts +0 -1
  318. package/layout/layout-card-over/layout-card-over.component.scss +0 -45
  319. package/layout/layout-footer/layout-footer.component.scss +0 -4
  320. package/layout/layout-manage-list/layout-manage-list.component.scss +0 -82
  321. package/layout/layout-nav/README.md +0 -46
  322. package/layout/layout-nav/layout-nav.component.scss +0 -54
  323. package/layout/layout-nav-list/layout-nav-list.component.scss +0 -115
  324. package/layout/layout.component.scss +0 -16
  325. package/layout/navigation-drawer/navigation-drawer.component.scss +0 -81
  326. package/menu/index.d.ts +0 -1
  327. package/menu/menu.component.scss +0 -51
  328. package/message/index.d.ts +0 -1
  329. package/message/message.component.scss +0 -32
  330. package/schematics/README.md +0 -66
  331. package/schematics/ng-add/files/theme.scss +0 -64
  332. package/search/index.d.ts +0 -1
  333. package/search/search-box/README.md +0 -62
  334. package/search/search-box/search-box.component.scss +0 -37
  335. package/search/search-input/README.md +0 -65
  336. package/search/search-input/search-input.component.scss +0 -75
  337. package/side-sheet/index.d.ts +0 -1
  338. package/side-sheet/side-sheet.scss +0 -68
  339. package/theming/prebuilt/blue-grey-deep-orange.scss +0 -20
  340. package/theming/prebuilt/blue-orange.scss +0 -20
  341. package/theming/prebuilt/indigo-pink.scss +0 -20
  342. package/theming/prebuilt/orange-light-blue.scss +0 -20
  343. package/theming/prebuilt/teal-orange.scss +0 -20
  344. package/user-profile/index.d.ts +0 -1
  345. package/user-profile/user-profile-menu/user-profile-menu.component.scss +0 -41
@@ -18,34 +18,30 @@ class TdAutoTrimDirective {
18
18
  * Listens to host's (blur) event and trims value.
19
19
  */
20
20
  onBlur(event) {
21
- if (this._model && this._model.value && typeof this._model.value === 'string') {
21
+ if (this._model &&
22
+ this._model.value &&
23
+ typeof this._model.value === 'string') {
22
24
  this._model.update.emit(this._model.value.trim());
23
25
  }
24
26
  }
25
27
  }
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) {
28
- if (rf & 1) {
29
- i0.ɵɵlistener("blur", function TdAutoTrimDirective_blur_HostBindingHandler($event) { return ctx.onBlur($event); });
30
- }
31
- } });
32
- (function () {
33
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdAutoTrimDirective, [{
28
+ TdAutoTrimDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdAutoTrimDirective, deps: [{ token: i1.NgModel, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
29
+ TdAutoTrimDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdAutoTrimDirective, selector: "[tdAutoTrim]", host: { listeners: { "blur": "onBlur($event)" } }, ngImport: i0 });
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdAutoTrimDirective, decorators: [{
34
31
  type: Directive,
35
32
  args: [{
36
33
  selector: '[tdAutoTrim]',
37
34
  }]
38
- }], function () {
35
+ }], ctorParameters: function () {
39
36
  return [{ type: i1.NgModel, decorators: [{
40
37
  type: Optional
41
38
  }, {
42
39
  type: Host
43
40
  }] }];
44
- }, { onBlur: [{
41
+ }, propDecorators: { onBlur: [{
45
42
  type: HostListener,
46
43
  args: ['blur', ['$event']]
47
- }] });
48
- })();
44
+ }] } });
49
45
 
50
46
  class TdFullscreenDirective {
51
47
  constructor(_document, _el) {
@@ -57,7 +53,9 @@ class TdFullscreenDirective {
57
53
  this.fullScreenIsActive = event.srcElement === this._getFullScreenElement();
58
54
  }
59
55
  toggleFullScreen() {
60
- this._getFullScreenElement() === this._el.nativeElement ? this.exitFullScreen() : this.enterFullScreen();
56
+ this._getFullScreenElement() === this._el.nativeElement
57
+ ? this.exitFullScreen()
58
+ : this.enterFullScreen();
61
59
  }
62
60
  enterFullScreen() {
63
61
  const { _el: { nativeElement }, } = this;
@@ -74,53 +72,48 @@ class TdFullscreenDirective {
74
72
  }
75
73
  }
76
74
  exitFullScreen() {
77
- const { _document, _el: { nativeElement }, } = this;
78
75
  const exitFullScreenMap = {
79
- exitFullscreen: () => _document.exitFullscreen(),
80
- webkitExitFullscreen: () => _document.webkitExitFullscreen(),
81
- mozCancelFullScreen: () => _document.mozCancelFullScreen(),
82
- msExitFullscreen: () => _document.msExitFullscreen(), // IE
76
+ exitFullscreen: () => this._document.exitFullscreen(),
77
+ webkitExitFullscreen: () => this._document.webkitExitFullscreen(),
78
+ mozCancelFullScreen: () => this._document.mozCancelFullScreen(),
79
+ msExitFullscreen: () => this._document.msExitFullscreen(), // IE
83
80
  };
84
81
  for (const handler of Object.keys(exitFullScreenMap)) {
85
- if (_document[handler] && this._getFullScreenElement() === nativeElement) {
82
+ if (exitFullScreenMap[handler] &&
83
+ this._getFullScreenElement() === this._el.nativeElement) {
86
84
  exitFullScreenMap[handler]();
87
85
  }
88
86
  }
89
87
  }
90
88
  _getFullScreenElement() {
91
- const { _document } = this;
92
89
  const tdFullScreenElementMap = {
93
- fullscreenElement: () => _document.fullscreenElement,
94
- webkitFullscreenElement: () => _document.webkitFullscreenElement,
95
- mozFullscreenElement: () => _document.mozFullscreenElement,
96
- msFullscreenElement: () => _document.msFullscreenElement, // IE, Edge
90
+ fullscreenElement: () => this._document.fullscreenElement,
91
+ webkitFullscreenElement: () => this._document.webkitFullscreenElement,
92
+ mozFullscreenElement: () => this._document.mozFullscreenElement,
93
+ msFullscreenElement: () => this._document.msFullscreenElement, // IE, Edge
97
94
  };
98
95
  for (const props of Object.keys(tdFullScreenElementMap)) {
99
- if (_document[props]) {
100
- return _document[props];
96
+ if (tdFullScreenElementMap[props]) {
97
+ return tdFullScreenElementMap[props]();
101
98
  }
102
99
  }
100
+ return undefined;
103
101
  }
104
102
  }
105
- /** @nocollapse */ /** @nocollapse */ TdFullscreenDirective.ɵfac = function TdFullscreenDirective_Factory(t) { return new (t || TdFullscreenDirective)(i0.ɵɵdirectiveInject(DOCUMENT), i0.ɵɵdirectiveInject(i0.ElementRef)); };
106
- /** @nocollapse */ /** @nocollapse */ TdFullscreenDirective.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ type: TdFullscreenDirective, selectors: [["", "tdFullScreen", ""]], hostBindings: function TdFullscreenDirective_HostBindings(rf, ctx) {
107
- if (rf & 1) {
108
- 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);
109
- }
110
- }, exportAs: ["tdFullScreen"] });
111
- (function () {
112
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdFullscreenDirective, [{
103
+ TdFullscreenDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdFullscreenDirective, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
104
+ TdFullscreenDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdFullscreenDirective, selector: "[tdFullScreen]", host: { listeners: { "document:fullscreenchange": "fsChangeHandler($event)", "document:webkitfullscreenchange": "fsChangeHandler($event)", "document:mozfullscreenchange": "fsChangeHandler($event)", "document:msfullscreenchange": "fsChangeHandler($event)" } }, exportAs: ["tdFullScreen"], ngImport: i0 });
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdFullscreenDirective, decorators: [{
113
106
  type: Directive,
114
107
  args: [{
115
108
  selector: '[tdFullScreen]',
116
109
  exportAs: 'tdFullScreen',
117
110
  }]
118
- }], function () {
111
+ }], ctorParameters: function () {
119
112
  return [{ type: undefined, decorators: [{
120
113
  type: Inject,
121
114
  args: [DOCUMENT]
122
115
  }] }, { type: i0.ElementRef }];
123
- }, { fsChangeHandler: [{
116
+ }, propDecorators: { fsChangeHandler: [{
124
117
  type: HostListener,
125
118
  args: ['document:fullscreenchange', ['$event']]
126
119
  }, {
@@ -132,8 +125,7 @@ class TdFullscreenDirective {
132
125
  }, {
133
126
  type: HostListener,
134
127
  args: ['document:msfullscreenchange', ['$event']]
135
- }] });
136
- })();
128
+ }] } });
137
129
 
138
130
  class TdTimeAgoPipe {
139
131
  transform(time, reference) {
@@ -196,16 +188,14 @@ class TdTimeAgoPipe {
196
188
  }
197
189
  }
198
190
  }
199
- /** @nocollapse */ /** @nocollapse */ TdTimeAgoPipe.ɵfac = function TdTimeAgoPipe_Factory(t) { return new (t || TdTimeAgoPipe)(); };
200
- /** @nocollapse */ /** @nocollapse */ TdTimeAgoPipe.ɵpipe = /** @pureOrBreakMyCode */ i0.ɵɵdefinePipe({ name: "timeAgo", type: TdTimeAgoPipe, pure: true });
201
- (function () {
202
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdTimeAgoPipe, [{
191
+ TdTimeAgoPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeAgoPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
192
+ TdTimeAgoPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeAgoPipe, name: "timeAgo" });
193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeAgoPipe, decorators: [{
203
194
  type: Pipe,
204
195
  args: [{
205
196
  name: 'timeAgo',
206
197
  }]
207
- }], null, null);
208
- })();
198
+ }] });
209
199
 
210
200
  class TdTimeDifferencePipe {
211
201
  transform(start, end) {
@@ -247,16 +237,14 @@ class TdTimeDifferencePipe {
247
237
  seconds);
248
238
  }
249
239
  }
250
- /** @nocollapse */ /** @nocollapse */ TdTimeDifferencePipe.ɵfac = function TdTimeDifferencePipe_Factory(t) { return new (t || TdTimeDifferencePipe)(); };
251
- /** @nocollapse */ /** @nocollapse */ TdTimeDifferencePipe.ɵpipe = /** @pureOrBreakMyCode */ i0.ɵɵdefinePipe({ name: "timeDifference", type: TdTimeDifferencePipe, pure: true });
252
- (function () {
253
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdTimeDifferencePipe, [{
240
+ TdTimeDifferencePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeDifferencePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
241
+ TdTimeDifferencePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeDifferencePipe, name: "timeDifference" });
242
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeDifferencePipe, decorators: [{
254
243
  type: Pipe,
255
244
  args: [{
256
245
  name: 'timeDifference',
257
246
  }]
258
- }], null, null);
259
- })();
247
+ }] });
260
248
 
261
249
  class TdTimeUntilPipe {
262
250
  transform(time, reference) {
@@ -319,16 +307,14 @@ class TdTimeUntilPipe {
319
307
  }
320
308
  }
321
309
  }
322
- /** @nocollapse */ /** @nocollapse */ TdTimeUntilPipe.ɵfac = function TdTimeUntilPipe_Factory(t) { return new (t || TdTimeUntilPipe)(); };
323
- /** @nocollapse */ /** @nocollapse */ TdTimeUntilPipe.ɵpipe = /** @pureOrBreakMyCode */ i0.ɵɵdefinePipe({ name: "timeUntil", type: TdTimeUntilPipe, pure: true });
324
- (function () {
325
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdTimeUntilPipe, [{
310
+ TdTimeUntilPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeUntilPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
311
+ TdTimeUntilPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeUntilPipe, name: "timeUntil" });
312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeUntilPipe, decorators: [{
326
313
  type: Pipe,
327
314
  args: [{
328
315
  name: 'timeUntil',
329
316
  }]
330
- }], null, null);
331
- })();
317
+ }] });
332
318
 
333
319
  class TdBytesPipe {
334
320
  /* `bytes` needs to be `any` or TypeScript complains
@@ -342,25 +328,33 @@ class TdBytesPipe {
342
328
  return 'Invalid Number';
343
329
  }
344
330
  const k = 1024;
345
- const sizes = ['B', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB'];
331
+ const sizes = [
332
+ 'B',
333
+ 'KiB',
334
+ 'MiB',
335
+ 'GiB',
336
+ 'TiB',
337
+ 'PiB',
338
+ 'EiB',
339
+ 'ZiB',
340
+ 'YiB',
341
+ ];
346
342
  const i = Math.floor(Math.log(bytes) / Math.log(k));
347
343
  // if less than 1
348
344
  if (i < 0) {
349
345
  return 'Invalid Number';
350
346
  }
351
- return parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i];
347
+ return (parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i]);
352
348
  }
353
349
  }
354
- /** @nocollapse */ /** @nocollapse */ TdBytesPipe.ɵfac = function TdBytesPipe_Factory(t) { return new (t || TdBytesPipe)(); };
355
- /** @nocollapse */ /** @nocollapse */ TdBytesPipe.ɵpipe = /** @pureOrBreakMyCode */ i0.ɵɵdefinePipe({ name: "bytes", type: TdBytesPipe, pure: true });
356
- (function () {
357
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdBytesPipe, [{
350
+ TdBytesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdBytesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
351
+ TdBytesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdBytesPipe, name: "bytes" });
352
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdBytesPipe, decorators: [{
358
353
  type: Pipe,
359
354
  args: [{
360
355
  name: 'bytes',
361
356
  }]
362
- }], null, null);
363
- })();
357
+ }] });
364
358
 
365
359
  class TdDecimalBytesPipe {
366
360
  /* `bytes` needs to be `any` or TypeScript complains
@@ -374,25 +368,33 @@ class TdDecimalBytesPipe {
374
368
  return 'Invalid Number';
375
369
  }
376
370
  const k = 1000;
377
- const sizes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
371
+ const sizes = [
372
+ 'B',
373
+ 'KB',
374
+ 'MB',
375
+ 'GB',
376
+ 'TB',
377
+ 'PB',
378
+ 'EB',
379
+ 'ZB',
380
+ 'YB',
381
+ ];
378
382
  const i = Math.floor(Math.log(bytes) / Math.log(k));
379
383
  // if less than 1
380
384
  if (i < 0) {
381
385
  return 'Invalid Number';
382
386
  }
383
- return parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i];
387
+ return (parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i]);
384
388
  }
385
389
  }
386
- /** @nocollapse */ /** @nocollapse */ TdDecimalBytesPipe.ɵfac = function TdDecimalBytesPipe_Factory(t) { return new (t || TdDecimalBytesPipe)(); };
387
- /** @nocollapse */ /** @nocollapse */ TdDecimalBytesPipe.ɵpipe = /** @pureOrBreakMyCode */ i0.ɵɵdefinePipe({ name: "decimalBytes", type: TdDecimalBytesPipe, pure: true });
388
- (function () {
389
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdDecimalBytesPipe, [{
390
+ TdDecimalBytesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdDecimalBytesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
391
+ TdDecimalBytesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdDecimalBytesPipe, name: "decimalBytes" });
392
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdDecimalBytesPipe, decorators: [{
390
393
  type: Pipe,
391
394
  args: [{
392
395
  name: 'decimalBytes',
393
396
  }]
394
- }], null, null);
395
- })();
397
+ }] });
396
398
 
397
399
  class TdDigitsPipe {
398
400
  constructor(_locale = 'en') {
@@ -401,6 +403,7 @@ class TdDigitsPipe {
401
403
  }
402
404
  /* `digits` needs to be type `digits: any` or TypeScript complains */
403
405
  transform(digits, precision = 1) {
406
+ var _a;
404
407
  if (digits === 0) {
405
408
  return '0';
406
409
  }
@@ -409,7 +412,7 @@ class TdDigitsPipe {
409
412
  return digits;
410
413
  }
411
414
  else if (digits < 1) {
412
- return this._decimalPipe.transform(digits.toFixed(precision));
415
+ return (_a = this._decimalPipe.transform(digits.toFixed(precision))) !== null && _a !== void 0 ? _a : '';
413
416
  }
414
417
  const k = 1000;
415
418
  const sizes = ['', 'K', 'M', 'B', 'T', 'Q'];
@@ -418,24 +421,22 @@ class TdDigitsPipe {
418
421
  return (this._decimalPipe.transform(parseFloat((digits / Math.pow(k, i)).toFixed(precision))) + (size ? ' ' + size : ''));
419
422
  }
420
423
  }
421
- /** @nocollapse */ /** @nocollapse */ TdDigitsPipe.ɵfac = function TdDigitsPipe_Factory(t) { return new (t || TdDigitsPipe)(i0.ɵɵdirectiveInject(LOCALE_ID, 16)); };
422
- /** @nocollapse */ /** @nocollapse */ TdDigitsPipe.ɵpipe = /** @pureOrBreakMyCode */ i0.ɵɵdefinePipe({ name: "digits", type: TdDigitsPipe, pure: true });
423
- (function () {
424
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdDigitsPipe, [{
424
+ TdDigitsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdDigitsPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
425
+ TdDigitsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdDigitsPipe, name: "digits" });
426
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdDigitsPipe, decorators: [{
425
427
  type: Pipe,
426
428
  args: [{
427
429
  name: 'digits',
428
430
  }]
429
- }], function () {
431
+ }], ctorParameters: function () {
430
432
  return [{ type: undefined, decorators: [{
431
433
  type: Inject,
432
434
  args: [LOCALE_ID]
433
435
  }] }];
434
- }, null);
435
- })();
436
+ } });
436
437
 
437
438
  class TdTruncatePipe {
438
- transform(text, length) {
439
+ transform(text, length = 54) {
439
440
  if (typeof text !== 'string') {
440
441
  return '';
441
442
  }
@@ -450,16 +451,14 @@ class TdTruncatePipe {
450
451
  return truncated;
451
452
  }
452
453
  }
453
- /** @nocollapse */ /** @nocollapse */ TdTruncatePipe.ɵfac = function TdTruncatePipe_Factory(t) { return new (t || TdTruncatePipe)(); };
454
- /** @nocollapse */ /** @nocollapse */ TdTruncatePipe.ɵpipe = /** @pureOrBreakMyCode */ i0.ɵɵdefinePipe({ name: "truncate", type: TdTruncatePipe, pure: true });
455
- (function () {
456
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdTruncatePipe, [{
454
+ TdTruncatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
455
+ TdTruncatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTruncatePipe, name: "truncate" });
456
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTruncatePipe, decorators: [{
457
457
  type: Pipe,
458
458
  args: [{
459
459
  name: 'truncate',
460
460
  }]
461
- }], null, null);
462
- })();
461
+ }] });
463
462
 
464
463
  class RouterPathService {
465
464
  constructor(_router) {
@@ -479,13 +478,11 @@ class RouterPathService {
479
478
  }
480
479
  }
481
480
  RouterPathService._previousRoute = '/';
482
- /** @nocollapse */ /** @nocollapse */ RouterPathService.ɵfac = function RouterPathService_Factory(t) { return new (t || RouterPathService)(i0.ɵɵinject(i1$1.Router)); };
483
- /** @nocollapse */ /** @nocollapse */ RouterPathService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: RouterPathService, factory: RouterPathService.ɵfac });
484
- (function () {
485
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RouterPathService, [{
481
+ RouterPathService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: RouterPathService, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
482
+ RouterPathService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: RouterPathService });
483
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: RouterPathService, decorators: [{
486
484
  type: Injectable
487
- }], function () { return [{ type: i1$1.Router }]; }, null);
488
- })();
485
+ }], ctorParameters: function () { return [{ type: i1$1.Router }]; } });
489
486
 
490
487
  /*
491
488
  * Copyright (C) 2016-2017 by Teradata Corporation. All rights reserved.
@@ -1568,13 +1565,11 @@ class IconService {
1568
1565
  });
1569
1566
  }
1570
1567
  }
1571
- /** @nocollapse */ /** @nocollapse */ IconService.ɵfac = function IconService_Factory(t) { return new (t || IconService)(); };
1572
- /** @nocollapse */ /** @nocollapse */ IconService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: IconService, factory: IconService.ɵfac });
1573
- (function () {
1574
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IconService, [{
1568
+ IconService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: IconService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1569
+ IconService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: IconService });
1570
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: IconService, decorators: [{
1575
1571
  type: Injectable
1576
- }], null, null);
1577
- })();
1572
+ }] });
1578
1573
 
1579
1574
  const TD_DIRECTIVES = [TdAutoTrimDirective, TdFullscreenDirective];
1580
1575
  // Validators
@@ -1590,11 +1585,22 @@ const TD_PIPES = [
1590
1585
  ];
1591
1586
  class CovalentCommonModule {
1592
1587
  }
1593
- /** @nocollapse */ /** @nocollapse */ CovalentCommonModule.ɵfac = function CovalentCommonModule_Factory(t) { return new (t || CovalentCommonModule)(); };
1594
- /** @nocollapse */ /** @nocollapse */ CovalentCommonModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CovalentCommonModule });
1595
- /** @nocollapse */ /** @nocollapse */ CovalentCommonModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ providers: [RouterPathService, IconService], imports: [[FormsModule, CommonModule], FormsModule, CommonModule] });
1596
- (function () {
1597
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentCommonModule, [{
1588
+ CovalentCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1589
+ CovalentCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentCommonModule, declarations: [TdAutoTrimDirective, TdFullscreenDirective, TdTimeAgoPipe,
1590
+ TdTimeDifferencePipe,
1591
+ TdTimeUntilPipe,
1592
+ TdBytesPipe,
1593
+ TdDecimalBytesPipe,
1594
+ TdDigitsPipe,
1595
+ TdTruncatePipe], imports: [FormsModule, CommonModule], exports: [FormsModule, CommonModule, TdAutoTrimDirective, TdFullscreenDirective, TdTimeAgoPipe,
1596
+ TdTimeDifferencePipe,
1597
+ TdTimeUntilPipe,
1598
+ TdBytesPipe,
1599
+ TdDecimalBytesPipe,
1600
+ TdDigitsPipe,
1601
+ TdTruncatePipe] });
1602
+ CovalentCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentCommonModule, providers: [RouterPathService, IconService], imports: [[FormsModule, CommonModule], FormsModule, CommonModule] });
1603
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentCommonModule, decorators: [{
1598
1604
  type: NgModule,
1599
1605
  args: [{
1600
1606
  imports: [FormsModule, CommonModule],
@@ -1602,23 +1608,7 @@ class CovalentCommonModule {
1602
1608
  exports: [FormsModule, CommonModule, TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
1603
1609
  providers: [RouterPathService, IconService],
1604
1610
  }]
1605
- }], null, null);
1606
- })();
1607
- (function () {
1608
- (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentCommonModule, { declarations: [TdAutoTrimDirective, TdFullscreenDirective, TdTimeAgoPipe,
1609
- TdTimeDifferencePipe,
1610
- TdTimeUntilPipe,
1611
- TdBytesPipe,
1612
- TdDecimalBytesPipe,
1613
- TdDigitsPipe,
1614
- TdTruncatePipe], imports: [FormsModule, CommonModule], exports: [FormsModule, CommonModule, TdAutoTrimDirective, TdFullscreenDirective, TdTimeAgoPipe,
1615
- TdTimeDifferencePipe,
1616
- TdTimeUntilPipe,
1617
- TdBytesPipe,
1618
- TdDecimalBytesPipe,
1619
- TdDigitsPipe,
1620
- TdTruncatePipe] });
1621
- })();
1611
+ }] });
1622
1612
 
1623
1613
  /**
1624
1614
  * const tdRotateAnimation
@@ -1641,7 +1631,12 @@ const tdRotateAnimation = trigger('tdRotate', [
1641
1631
  state('1', style({
1642
1632
  transform: 'rotate({{ degreesEnd }}deg)',
1643
1633
  }), { params: { degreesEnd: 180 } }),
1644
- transition('0 <=> 1', [group([query('@*', animateChild(), { optional: true }), animate('{{ duration }}ms {{ delay }}ms {{ ease }}')])], { params: { duration: 250, delay: '0', ease: 'ease-in' } }),
1634
+ transition('0 <=> 1', [
1635
+ group([
1636
+ query('@*', animateChild(), { optional: true }),
1637
+ animate('{{ duration }}ms {{ delay }}ms {{ ease }}'),
1638
+ ]),
1639
+ ], { params: { duration: 250, delay: '0', ease: 'ease-in' } }),
1645
1640
  ]);
1646
1641
 
1647
1642
  /**
@@ -1856,10 +1851,22 @@ const tdHeadshakeAnimation = trigger('tdHeadshake', [
1856
1851
  query('@*', animateChild(), { optional: true }),
1857
1852
  animate('{{ duration }}ms {{ delay }}ms {{ ease }}', keyframes([
1858
1853
  style({ transform: 'translateX(0)', offset: 0 }),
1859
- style({ transform: 'translateX(-6px) rotateY(-9deg)', offset: 0.065 }),
1860
- style({ transform: 'translateX(5px) rotateY(7deg)', offset: 0.185 }),
1861
- style({ transform: 'translateX(-3px) rotateY(-5deg)', offset: 0.315 }),
1862
- style({ transform: 'translateX(2px) rotateY(3deg)', offset: 0.435 }),
1854
+ style({
1855
+ transform: 'translateX(-6px) rotateY(-9deg)',
1856
+ offset: 0.065,
1857
+ }),
1858
+ style({
1859
+ transform: 'translateX(5px) rotateY(7deg)',
1860
+ offset: 0.185,
1861
+ }),
1862
+ style({
1863
+ transform: 'translateX(-3px) rotateY(-5deg)',
1864
+ offset: 0.315,
1865
+ }),
1866
+ style({
1867
+ transform: 'translateX(2px) rotateY(3deg)',
1868
+ offset: 0.435,
1869
+ }),
1863
1870
  style({ transform: 'translateX(0)', offset: 0.5 }),
1864
1871
  ])),
1865
1872
  ]),
@@ -1891,13 +1898,34 @@ const tdJelloAnimation = trigger('tdJello', [
1891
1898
  animate('{{ duration }}ms {{ delay }}ms {{ ease }}', keyframes([
1892
1899
  style({ transform: 'none', offset: 0 }),
1893
1900
  style({ transform: 'none', offset: 0.011 }),
1894
- style({ transform: 'skewX(-12.5deg) skewY(-12.5deg)', offset: 0.222 }),
1895
- style({ transform: 'skewX(6.25deg) skewY(6.25deg)', offset: 0.333 }),
1896
- style({ transform: 'skewX(-3.125deg) skewY(-3.125deg)', offset: 0.444 }),
1897
- style({ transform: 'skewX(1.5625deg) skewY(1.5625deg)', offset: 0.555 }),
1898
- style({ transform: 'skewX(-0.78125deg) skewY(-0.78125deg)', offset: 0.666 }),
1899
- style({ transform: 'skewX(0.390625deg) skewY(0.390625deg)', offset: 0.777 }),
1900
- style({ transform: 'skewX(-0.1953125deg) skewY(-0.1953125deg)', offset: 0.888 }),
1901
+ style({
1902
+ transform: 'skewX(-12.5deg) skewY(-12.5deg)',
1903
+ offset: 0.222,
1904
+ }),
1905
+ style({
1906
+ transform: 'skewX(6.25deg) skewY(6.25deg)',
1907
+ offset: 0.333,
1908
+ }),
1909
+ style({
1910
+ transform: 'skewX(-3.125deg) skewY(-3.125deg)',
1911
+ offset: 0.444,
1912
+ }),
1913
+ style({
1914
+ transform: 'skewX(1.5625deg) skewY(1.5625deg)',
1915
+ offset: 0.555,
1916
+ }),
1917
+ style({
1918
+ transform: 'skewX(-0.78125deg) skewY(-0.78125deg)',
1919
+ offset: 0.666,
1920
+ }),
1921
+ style({
1922
+ transform: 'skewX(0.390625deg) skewY(0.390625deg)',
1923
+ offset: 0.777,
1924
+ }),
1925
+ style({
1926
+ transform: 'skewX(-0.1953125deg) skewY(-0.1953125deg)',
1927
+ offset: 0.888,
1928
+ }),
1901
1929
  ])),
1902
1930
  ]),
1903
1931
  ], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
@@ -1942,7 +1970,9 @@ function mixinControlValueAccessor(base, initialValue) {
1942
1970
  return class extends base {
1943
1971
  constructor(...args) {
1944
1972
  super(...args);
1945
- this._value = initialValue instanceof Array ? Object.assign([], initialValue) : initialValue;
1973
+ this._value = initialValue instanceof Array
1974
+ ? Object.assign([], initialValue)
1975
+ : initialValue;
1946
1976
  this.onChange = (_) => noop;
1947
1977
  this.onTouched = () => noop;
1948
1978
  this._subjectValueChanges = new Subject();
@@ -2023,10 +2053,10 @@ class CovalentValidators {
2023
2053
  // tslint:disable-next-line:prefer-immediate-return
2024
2054
  const func = (c) => {
2025
2055
  if (!!Validators.required(c) || (!minValue && minValue !== 0)) {
2026
- return undefined;
2056
+ return {};
2027
2057
  }
2028
2058
  const v = c.value;
2029
- return v < minValue ? { min: { minValue, actualValue: v } } : undefined;
2059
+ return v < minValue ? { min: { minValue, actualValue: v } } : {};
2030
2060
  };
2031
2061
  return func;
2032
2062
  }
@@ -2034,15 +2064,15 @@ class CovalentValidators {
2034
2064
  // tslint:disable-next-line:prefer-immediate-return
2035
2065
  const func = (c) => {
2036
2066
  if (!!Validators.required(c) || (!maxValue && maxValue !== 0)) {
2037
- return undefined;
2067
+ return {};
2038
2068
  }
2039
2069
  const v = c.value;
2040
- return v > maxValue ? { max: { maxValue, actualValue: v } } : undefined;
2070
+ return v > maxValue ? { max: { maxValue, actualValue: v } } : {};
2041
2071
  };
2042
2072
  return func;
2043
2073
  }
2044
2074
  static numberRequired(c) {
2045
- return Number.isNaN(c.value) ? { required: true } : undefined;
2075
+ return Number.isNaN(c.value) ? { required: true } : {};
2046
2076
  }
2047
2077
  }
2048
2078