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

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 (371) 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 +1 -0
  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/pipes/truncate/truncate.pipe.d.ts +1 -1
  13. package/common/{public-api.d.ts → public_api.d.ts} +0 -0
  14. package/common/styles/font/README.md +4 -2
  15. package/covalent-core.d.ts +1 -1
  16. package/dialogs/README.md +38 -30
  17. package/dialogs/alert-dialog/alert-dialog.component.d.ts +3 -3
  18. package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -2
  19. package/dialogs/covalent-core-dialogs.d.ts +1 -1
  20. package/dialogs/dialog.component.d.ts +4 -4
  21. package/dialogs/dialogs.module.d.ts +1 -1
  22. package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +3 -3
  23. package/dialogs/{public-api.d.ts → public_api.d.ts} +0 -0
  24. package/dialogs/src/README.md +223 -0
  25. package/dialogs/window-dialog/window-dialog.component.d.ts +5 -5
  26. package/dynamic-menu/README.md +6 -6
  27. package/dynamic-menu/covalent-core-dynamic-menu.d.ts +1 -1
  28. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +1 -1
  29. package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +1 -1
  30. package/dynamic-menu/dynamic-menu.component.d.ts +1 -22
  31. package/dynamic-menu/dynamic-menu.menu.d.ts +22 -0
  32. package/dynamic-menu/public_api.d.ts +1 -0
  33. package/esm2020/breadcrumbs/breadcrumb/breadcrumb.component.mjs +21 -37
  34. package/esm2020/breadcrumbs/breadcrumbs.component.mjs +20 -25
  35. package/esm2020/breadcrumbs/breadcrumbs.module.mjs +12 -13
  36. package/esm2020/breadcrumbs/covalent-core-breadcrumbs.mjs +2 -2
  37. package/esm2020/breadcrumbs/public_api.mjs +4 -0
  38. package/esm2020/common/animations/bounce/bounce.animation.mjs +1 -1
  39. package/esm2020/common/animations/collapse/collapse.animation.mjs +1 -1
  40. package/esm2020/common/animations/common/interfaces.mjs +1 -1
  41. package/esm2020/common/animations/fade/fadeInOut.animation.mjs +1 -1
  42. package/esm2020/common/animations/flash/flash.animation.mjs +1 -1
  43. package/esm2020/common/animations/headshake/headshake.animation.mjs +17 -5
  44. package/esm2020/common/animations/jello/jello.animation.mjs +29 -8
  45. package/esm2020/common/animations/pulse/pulse.animation.mjs +1 -1
  46. package/esm2020/common/animations/rotate/rotate.animation.mjs +7 -2
  47. package/esm2020/common/behaviors/control-value-accesor.mixin.mjs +4 -2
  48. package/esm2020/common/behaviors/disable-ripple.mixin.mjs +1 -1
  49. package/esm2020/common/behaviors/disabled.mixin.mjs +1 -1
  50. package/esm2020/common/common.module.mjs +14 -15
  51. package/esm2020/common/covalent-core-common.mjs +2 -2
  52. package/esm2020/common/directives/fullscreen/fullscreen.directive.mjs +41 -41
  53. package/esm2020/common/forms/auto-trim/auto-trim.directive.mjs +19 -19
  54. package/esm2020/common/forms/validators/validators.mjs +6 -6
  55. package/esm2020/common/functions/clipboard.mjs +1 -1
  56. package/esm2020/common/functions/convert.mjs +1 -1
  57. package/esm2020/common/functions/download.mjs +1 -1
  58. package/esm2020/common/functions/file.mjs +1 -1
  59. package/esm2020/common/pipes/bytes/bytes.pipe.mjs +21 -11
  60. package/esm2020/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +21 -11
  61. package/esm2020/common/pipes/digits/digits.pipe.mjs +13 -13
  62. package/esm2020/common/pipes/time-ago/time-ago.pipe.mjs +9 -9
  63. package/esm2020/common/pipes/time-difference/time-difference.pipe.mjs +9 -9
  64. package/esm2020/common/pipes/time-until/time-until.pipe.mjs +9 -9
  65. package/esm2020/common/pipes/truncate/truncate.pipe.mjs +10 -10
  66. package/esm2020/common/public_api.mjs +39 -0
  67. package/esm2020/common/services/icon.service.mjs +6 -6
  68. package/esm2020/common/services/router-path.service.mjs +6 -6
  69. package/esm2020/covalent-core.mjs +2 -2
  70. package/esm2020/dialogs/alert-dialog/alert-dialog.component.mjs +9 -40
  71. package/esm2020/dialogs/confirm-dialog/confirm-dialog.component.mjs +9 -49
  72. package/esm2020/dialogs/covalent-core-dialogs.mjs +2 -2
  73. package/esm2020/dialogs/dialog.component.mjs +35 -76
  74. package/esm2020/dialogs/dialogs.module.mjs +39 -36
  75. package/esm2020/dialogs/prompt-dialog/prompt-dialog.component.mjs +15 -73
  76. package/esm2020/dialogs/public_api.mjs +9 -0
  77. package/esm2020/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +27 -10
  78. package/esm2020/dialogs/services/dialog.service.mjs +16 -13
  79. package/esm2020/dialogs/window-dialog/window-dialog.component.mjs +24 -55
  80. package/esm2020/dynamic-menu/covalent-core-dynamic-menu.mjs +2 -2
  81. package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +19 -136
  82. package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +14 -103
  83. package/esm2020/dynamic-menu/dynamic-menu.component.mjs +18 -101
  84. package/esm2020/dynamic-menu/dynamic-menu.menu.mjs +2 -0
  85. package/esm2020/dynamic-menu/dynamic-menu.module.mjs +44 -19
  86. package/esm2020/dynamic-menu/public_api.mjs +2 -1
  87. package/esm2020/file/covalent-core-file.mjs +2 -2
  88. package/esm2020/file/directives/file-drop.directive.mjs +46 -47
  89. package/esm2020/file/directives/file-select.directive.mjs +32 -31
  90. package/esm2020/file/file-input/file-input.component.mjs +41 -68
  91. package/esm2020/file/file-upload/file-upload.component.mjs +76 -112
  92. package/esm2020/file/file.module.mjs +32 -17
  93. package/esm2020/file/public_api.mjs +7 -0
  94. package/esm2020/file/services/file.service.mjs +13 -11
  95. package/esm2020/json-formatter/collapse.animation.mjs +51 -0
  96. package/esm2020/json-formatter/covalent-core-json-formatter.mjs +2 -2
  97. package/esm2020/json-formatter/json-formatter.component.mjs +38 -123
  98. package/esm2020/json-formatter/json-formatter.module.mjs +12 -13
  99. package/esm2020/json-formatter/public_api.mjs +3 -0
  100. package/esm2020/layout/covalent-core-layout.mjs +2 -2
  101. package/esm2020/layout/layout-card-over/layout-card-over.component.mjs +17 -64
  102. package/esm2020/layout/layout-footer/layout-footer.component.mjs +9 -14
  103. package/esm2020/layout/layout-manage-list/layout-manage-list.component.mjs +22 -51
  104. package/esm2020/layout/layout-manage-list/layout-manage-list.directives.mjs +47 -53
  105. package/esm2020/layout/layout-nav/layout-nav.component.mjs +22 -84
  106. package/esm2020/layout/layout-nav-list/layout-nav-list.component.mjs +37 -124
  107. package/esm2020/layout/layout-nav-list/layout-nav-list.directives.mjs +47 -53
  108. package/esm2020/layout/layout-toggle.class.mjs +12 -15
  109. package/esm2020/layout/layout.component.mjs +22 -43
  110. package/esm2020/layout/layout.directives.mjs +48 -50
  111. package/esm2020/layout/layout.module.mjs +34 -35
  112. package/esm2020/layout/navigation-drawer/navigation-drawer.component.mjs +56 -201
  113. package/esm2020/layout/public_api.mjs +13 -0
  114. package/esm2020/menu/covalent-core-menu.mjs +2 -2
  115. package/esm2020/menu/menu.component.mjs +7 -18
  116. package/esm2020/menu/menu.module.mjs +12 -13
  117. package/esm2020/menu/public_api.mjs +3 -0
  118. package/esm2020/message/collapse.animation.mjs +51 -0
  119. package/esm2020/message/covalent-core-message.mjs +2 -2
  120. package/esm2020/message/message.component.mjs +44 -102
  121. package/esm2020/message/message.module.mjs +19 -15
  122. package/esm2020/message/public_api.mjs +3 -0
  123. package/esm2020/public_api.mjs +2 -0
  124. package/esm2020/search/covalent-core-search.mjs +2 -2
  125. package/esm2020/search/public_api.mjs +4 -0
  126. package/esm2020/search/search-box/search-box.component.mjs +97 -123
  127. package/esm2020/search/search-input/search-input.component.mjs +116 -153
  128. package/esm2020/search/search.module.mjs +28 -13
  129. package/esm2020/side-sheet/covalent-core-side-sheet.mjs +2 -2
  130. package/esm2020/side-sheet/public_api.mjs +6 -0
  131. package/esm2020/side-sheet/side-sheet-container.mjs +89 -57
  132. package/esm2020/side-sheet/side-sheet-ref.mjs +2 -2
  133. package/esm2020/side-sheet/side-sheet.animation.mjs +2 -2
  134. package/esm2020/side-sheet/side-sheet.config.mjs +1 -1
  135. package/esm2020/side-sheet/side-sheet.content-directives.mjs +109 -86
  136. package/esm2020/side-sheet/side-sheet.mjs +44 -31
  137. package/esm2020/side-sheet/side-sheet.module.mjs +37 -38
  138. package/esm2020/user-profile/covalent-core-user-profile.mjs +2 -2
  139. package/esm2020/user-profile/public_api.mjs +1 -1
  140. package/esm2020/user-profile/user-profile-menu/user-profile-menu.component.mjs +13 -64
  141. package/esm2020/user-profile/user-profile.component.mjs +13 -35
  142. package/esm2020/user-profile/user-profile.module.mjs +32 -14
  143. package/fesm2015/covalent-core-breadcrumbs.mjs +35 -76
  144. package/fesm2015/covalent-core-breadcrumbs.mjs.map +1 -1
  145. package/fesm2015/covalent-core-common.mjs +170 -140
  146. package/fesm2015/covalent-core-common.mjs.map +1 -1
  147. package/fesm2015/covalent-core-dialogs.mjs +125 -358
  148. package/fesm2015/covalent-core-dialogs.mjs.map +1 -1
  149. package/fesm2015/covalent-core-dynamic-menu.mjs +73 -425
  150. package/fesm2015/covalent-core-dynamic-menu.mjs.map +1 -1
  151. package/fesm2015/covalent-core-file.mjs +148 -233
  152. package/fesm2015/covalent-core-file.mjs.map +1 -1
  153. package/fesm2015/covalent-core-json-formatter.mjs +93 -148
  154. package/fesm2015/covalent-core-json-formatter.mjs.map +1 -1
  155. package/fesm2015/covalent-core-layout.mjs +194 -747
  156. package/fesm2015/covalent-core-layout.mjs.map +1 -1
  157. package/fesm2015/covalent-core-menu.mjs +10 -28
  158. package/fesm2015/covalent-core-menu.mjs.map +1 -1
  159. package/fesm2015/covalent-core-message.mjs +79 -104
  160. package/fesm2015/covalent-core-message.mjs.map +1 -1
  161. package/fesm2015/covalent-core-search.mjs +147 -227
  162. package/fesm2015/covalent-core-search.mjs.map +1 -1
  163. package/fesm2015/covalent-core-side-sheet.mjs +202 -173
  164. package/fesm2015/covalent-core-side-sheet.mjs.map +1 -1
  165. package/fesm2015/covalent-core-user-profile.mjs +38 -114
  166. package/fesm2015/covalent-core-user-profile.mjs.map +1 -1
  167. package/fesm2015/covalent-core.mjs.map +1 -1
  168. package/fesm2020/covalent-core-breadcrumbs.mjs +49 -71
  169. package/fesm2020/covalent-core-breadcrumbs.mjs.map +1 -1
  170. package/fesm2020/covalent-core-common.mjs +224 -165
  171. package/fesm2020/covalent-core-common.mjs.map +1 -1
  172. package/fesm2020/covalent-core-dialogs.mjs +160 -338
  173. package/fesm2020/covalent-core-dialogs.mjs.map +1 -1
  174. package/fesm2020/covalent-core-dynamic-menu.mjs +89 -354
  175. package/fesm2020/covalent-core-dynamic-menu.mjs.map +1 -1
  176. package/fesm2020/covalent-core-file.mjs +229 -273
  177. package/fesm2020/covalent-core-file.mjs.map +1 -1
  178. package/fesm2020/covalent-core-json-formatter.mjs +97 -133
  179. package/fesm2020/covalent-core-json-formatter.mjs.map +1 -1
  180. package/fesm2020/covalent-core-layout.mjs +353 -767
  181. package/fesm2020/covalent-core-layout.mjs.map +1 -1
  182. package/fesm2020/covalent-core-menu.mjs +17 -29
  183. package/fesm2020/covalent-core-menu.mjs.map +1 -1
  184. package/fesm2020/covalent-core-message.mjs +110 -114
  185. package/fesm2020/covalent-core-message.mjs.map +1 -1
  186. package/fesm2020/covalent-core-search.mjs +233 -281
  187. package/fesm2020/covalent-core-search.mjs.map +1 -1
  188. package/fesm2020/covalent-core-side-sheet.mjs +267 -200
  189. package/fesm2020/covalent-core-side-sheet.mjs.map +1 -1
  190. package/fesm2020/covalent-core-user-profile.mjs +54 -109
  191. package/fesm2020/covalent-core-user-profile.mjs.map +1 -1
  192. package/fesm2020/covalent-core.mjs.map +1 -1
  193. package/file/_file-theme.scss +2 -1
  194. package/file/covalent-core-file.d.ts +1 -1
  195. package/file/directives/file-drop.directive.d.ts +6 -7
  196. package/file/directives/file-select.directive.d.ts +2 -2
  197. package/file/file-input/file-input.component.d.ts +7 -7
  198. package/file/file-upload/file-upload.component.d.ts +16 -9
  199. package/file/{public-api.d.ts → public_api.d.ts} +0 -0
  200. package/file/{file-input → src/file-input}/README.md +46 -37
  201. package/file/{file-upload → src/file-upload}/README.md +36 -27
  202. package/json-formatter/README.md +8 -8
  203. package/json-formatter/collapse.animation.d.ts +24 -0
  204. package/json-formatter/covalent-core-json-formatter.d.ts +1 -1
  205. package/json-formatter/json-formatter.component.d.ts +4 -4
  206. package/json-formatter/{public-api.d.ts → public_api.d.ts} +0 -0
  207. package/layout/README.md +48 -50
  208. package/layout/covalent-core-layout.d.ts +1 -1
  209. package/layout/layout-card-over/layout-card-over.component.d.ts +3 -3
  210. package/layout/layout-footer/layout-footer.component.d.ts +3 -3
  211. package/layout/layout-manage-list/layout-manage-list.component.d.ts +4 -4
  212. package/layout/layout-manage-list/layout-manage-list.directives.d.ts +5 -5
  213. package/layout/layout-nav/layout-nav.component.d.ts +5 -5
  214. package/layout/layout-nav-list/layout-nav-list.component.d.ts +9 -9
  215. package/layout/layout-nav-list/layout-nav-list.directives.d.ts +5 -5
  216. package/layout/layout-toggle.class.d.ts +1 -1
  217. package/layout/layout.component.d.ts +4 -4
  218. package/layout/layout.directives.d.ts +2 -2
  219. package/layout/navigation-drawer/navigation-drawer.component.d.ts +12 -12
  220. package/layout/{public-api.d.ts → public_api.d.ts} +0 -0
  221. package/layout/{layout-card-over → src/layout-card-over}/README.md +19 -17
  222. package/layout/{layout-manage-list → src/layout-manage-list}/README.md +24 -28
  223. package/layout/src/layout-nav/README.md +50 -0
  224. package/layout/{layout-nav-list → src/layout-nav-list}/README.md +44 -40
  225. package/menu/covalent-core-menu.d.ts +1 -1
  226. package/menu/{public-api.d.ts → public_api.d.ts} +0 -0
  227. package/message/README.md +26 -18
  228. package/message/collapse.animation.d.ts +24 -0
  229. package/message/covalent-core-message.d.ts +1 -1
  230. package/message/message.component.d.ts +4 -4
  231. package/message/{public-api.d.ts → public_api.d.ts} +0 -0
  232. package/package.json +36 -55
  233. package/{index.d.ts → public_api.d.ts} +0 -0
  234. package/search/README.md +74 -73
  235. package/search/covalent-core-search.d.ts +1 -1
  236. package/search/{public-api.d.ts → public_api.d.ts} +0 -0
  237. package/search/search-box/search-box.component.d.ts +10 -6
  238. package/search/search-input/search-input.component.d.ts +10 -6
  239. package/search/src/search-box/README.md +73 -0
  240. package/search/src/search-input/README.md +74 -0
  241. package/side-sheet/README.md +3 -5
  242. package/side-sheet/{side-sheet.theme.scss → _side-sheet.theme.scss} +0 -0
  243. package/side-sheet/covalent-core-side-sheet.d.ts +1 -1
  244. package/side-sheet/{public-api.d.ts → public_api.d.ts} +0 -0
  245. package/side-sheet/side-sheet-container.d.ts +18 -7
  246. package/side-sheet/side-sheet.content-directives.d.ts +22 -16
  247. package/side-sheet/side-sheet.d.ts +2 -2
  248. package/side-sheet/side-sheet.module.d.ts +1 -1
  249. package/user-profile/README.md +5 -5
  250. package/user-profile/covalent-core-user-profile.d.ts +1 -1
  251. package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +2 -2
  252. package/user-profile/user-profile.component.d.ts +2 -2
  253. package/breadcrumbs/breadcrumb/breadcrumb.component.scss +0 -25
  254. package/breadcrumbs/breadcrumbs.component.scss +0 -8
  255. package/breadcrumbs/index.d.ts +0 -1
  256. package/common/index.d.ts +0 -1
  257. package/common/material-icons.css +0 -111
  258. package/common/material-icons.css.map +0 -1
  259. package/common/material-icons.scss +0 -3
  260. package/common/platform.css +0 -16819
  261. package/common/platform.css.map +0 -1
  262. package/common/platform.scss +0 -7
  263. package/common/styles/_elevation.scss +0 -280
  264. package/common/styles/_layout.scss +0 -605
  265. package/common/styles/_palette-dark.scss +0 -326
  266. package/common/styles/_palette-light.scss +0 -637
  267. package/common/styles/_rtl.scss +0 -31
  268. package/common/styles/_styles.scss +0 -10
  269. package/common/styles/_theme-functions.scss +0 -25
  270. package/common/styles/_typography-functions.scss +0 -35
  271. package/common/styles/_variables.scss +0 -98
  272. package/common/styles/colors/_colors-dark.scss +0 -1399
  273. package/common/styles/colors/_colors-light.scss +0 -3235
  274. package/common/styles/colors/_colors.scss +0 -7
  275. package/common/styles/core/_button.scss +0 -60
  276. package/common/styles/core/_card.scss +0 -184
  277. package/common/styles/core/_content.scss +0 -43
  278. package/common/styles/core/_core.scss +0 -23
  279. package/common/styles/core/_divider.scss +0 -16
  280. package/common/styles/core/_icons.scss +0 -22
  281. package/common/styles/core/_list.scss +0 -8
  282. package/common/styles/core/_sidenav.scss +0 -22
  283. package/common/styles/core/_structure.scss +0 -127
  284. package/common/styles/core/_toolbar.scss +0 -53
  285. package/common/styles/core/_whiteframe.scss +0 -130
  286. package/common/styles/font/MaterialIcons-Regular-v48.woff2 +0 -0
  287. package/common/styles/font/_font.scss +0 -99
  288. package/common/styles/utilities/_general.scss +0 -65
  289. package/common/styles/utilities/_pad.scss +0 -36
  290. package/common/styles/utilities/_pull.scss +0 -36
  291. package/common/styles/utilities/_push.scss +0 -36
  292. package/common/styles/utilities/_size.scss +0 -24
  293. package/common/styles/utilities/_text.scss +0 -105
  294. package/common/styles/utilities/_utilities.scss +0 -15
  295. package/dialogs/alert-dialog/alert-dialog.component.scss +0 -3
  296. package/dialogs/confirm-dialog/confirm-dialog.component.scss +0 -3
  297. package/dialogs/dialog.component.scss +0 -49
  298. package/dialogs/index.d.ts +0 -1
  299. package/dialogs/prompt-dialog/prompt-dialog.component.scss +0 -16
  300. package/dialogs/window-dialog/window-dialog.component.scss +0 -31
  301. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.scss +0 -7
  302. package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.scss +0 -13
  303. package/dynamic-menu/dynamic-menu.component.scss +0 -0
  304. package/dynamic-menu/index.d.ts +0 -1
  305. package/esm2020/breadcrumbs/index.mjs +0 -2
  306. package/esm2020/breadcrumbs/public-api.mjs +0 -4
  307. package/esm2020/common/index.mjs +0 -2
  308. package/esm2020/common/public-api.mjs +0 -39
  309. package/esm2020/dialogs/index.mjs +0 -2
  310. package/esm2020/dialogs/public-api.mjs +0 -9
  311. package/esm2020/dynamic-menu/index.mjs +0 -2
  312. package/esm2020/file/index.mjs +0 -2
  313. package/esm2020/file/public-api.mjs +0 -7
  314. package/esm2020/index.mjs +0 -2
  315. package/esm2020/json-formatter/index.mjs +0 -2
  316. package/esm2020/json-formatter/public-api.mjs +0 -3
  317. package/esm2020/layout/index.mjs +0 -2
  318. package/esm2020/layout/public-api.mjs +0 -13
  319. package/esm2020/menu/index.mjs +0 -2
  320. package/esm2020/menu/public-api.mjs +0 -3
  321. package/esm2020/message/index.mjs +0 -2
  322. package/esm2020/message/public-api.mjs +0 -3
  323. package/esm2020/search/index.mjs +0 -2
  324. package/esm2020/search/public-api.mjs +0 -4
  325. package/esm2020/side-sheet/index.mjs +0 -2
  326. package/esm2020/side-sheet/public-api.mjs +0 -6
  327. package/esm2020/user-profile/index.mjs +0 -2
  328. package/file/file-input/file-input.component.scss +0 -22
  329. package/file/file-upload/file-upload.component.scss +0 -34
  330. package/file/index.d.ts +0 -1
  331. package/json-formatter/index.d.ts +0 -1
  332. package/json-formatter/json-formatter.component.scss +0 -74
  333. package/layout/index.d.ts +0 -1
  334. package/layout/layout-card-over/layout-card-over.component.scss +0 -45
  335. package/layout/layout-footer/layout-footer.component.scss +0 -4
  336. package/layout/layout-manage-list/layout-manage-list.component.scss +0 -82
  337. package/layout/layout-nav/README.md +0 -46
  338. package/layout/layout-nav/layout-nav.component.scss +0 -54
  339. package/layout/layout-nav-list/layout-nav-list.component.scss +0 -115
  340. package/layout/layout.component.scss +0 -16
  341. package/layout/navigation-drawer/navigation-drawer.component.scss +0 -81
  342. package/menu/index.d.ts +0 -1
  343. package/menu/menu.component.scss +0 -51
  344. package/message/index.d.ts +0 -1
  345. package/message/message.component.scss +0 -32
  346. package/schematics/README.md +0 -66
  347. package/schematics/ng-add/files/theme.scss +0 -64
  348. package/search/index.d.ts +0 -1
  349. package/search/search-box/README.md +0 -62
  350. package/search/search-box/search-box.component.scss +0 -37
  351. package/search/search-input/README.md +0 -65
  352. package/search/search-input/search-input.component.scss +0 -75
  353. package/side-sheet/index.d.ts +0 -1
  354. package/side-sheet/side-sheet.scss +0 -68
  355. package/theming/prebuilt/blue-grey-deep-orange.css +0 -2815
  356. package/theming/prebuilt/blue-grey-deep-orange.css.map +0 -1
  357. package/theming/prebuilt/blue-grey-deep-orange.scss +0 -20
  358. package/theming/prebuilt/blue-orange.css +0 -2815
  359. package/theming/prebuilt/blue-orange.css.map +0 -1
  360. package/theming/prebuilt/blue-orange.scss +0 -20
  361. package/theming/prebuilt/indigo-pink.css +0 -2815
  362. package/theming/prebuilt/indigo-pink.css.map +0 -1
  363. package/theming/prebuilt/indigo-pink.scss +0 -20
  364. package/theming/prebuilt/orange-light-blue.css +0 -2815
  365. package/theming/prebuilt/orange-light-blue.css.map +0 -1
  366. package/theming/prebuilt/orange-light-blue.scss +0 -20
  367. package/theming/prebuilt/teal-orange.css +0 -2815
  368. package/theming/prebuilt/teal-orange.css.map +0 -1
  369. package/theming/prebuilt/teal-orange.scss +0 -20
  370. package/user-profile/index.d.ts +0 -1
  371. package/user-profile/user-profile-menu/user-profile-menu.component.scss +0 -41
@@ -18,28 +18,28 @@ 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) { 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: [{
33
- selector: '[tdAutoTrim]',
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
- }] }); })();
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: [{
31
+ type: Directive,
32
+ args: [{
33
+ selector: '[tdAutoTrim]',
34
+ }]
35
+ }], ctorParameters: function () { return [{ type: i1.NgModel, decorators: [{
36
+ type: Optional
37
+ }, {
38
+ type: Host
39
+ }] }]; }, propDecorators: { onBlur: [{
40
+ type: HostListener,
41
+ args: ['blur', ['$event']]
42
+ }] } });
43
43
 
44
44
  class TdFullscreenDirective {
45
45
  constructor(_document, _el) {
@@ -51,7 +51,9 @@ class TdFullscreenDirective {
51
51
  this.fullScreenIsActive = event.srcElement === this._getFullScreenElement();
52
52
  }
53
53
  toggleFullScreen() {
54
- this._getFullScreenElement() === this._el.nativeElement ? this.exitFullScreen() : this.enterFullScreen();
54
+ this._getFullScreenElement() === this._el.nativeElement
55
+ ? this.exitFullScreen()
56
+ : this.enterFullScreen();
55
57
  }
56
58
  enterFullScreen() {
57
59
  const { _el: { nativeElement }, } = this;
@@ -68,60 +70,58 @@ class TdFullscreenDirective {
68
70
  }
69
71
  }
70
72
  exitFullScreen() {
71
- const { _document, _el: { nativeElement }, } = this;
72
73
  const exitFullScreenMap = {
73
- exitFullscreen: () => _document.exitFullscreen(),
74
- webkitExitFullscreen: () => _document.webkitExitFullscreen(),
75
- mozCancelFullScreen: () => _document.mozCancelFullScreen(),
76
- msExitFullscreen: () => _document.msExitFullscreen(), // IE
74
+ exitFullscreen: () => this._document.exitFullscreen(),
75
+ webkitExitFullscreen: () => this._document.webkitExitFullscreen(),
76
+ mozCancelFullScreen: () => this._document.mozCancelFullScreen(),
77
+ msExitFullscreen: () => this._document.msExitFullscreen(), // IE
77
78
  };
78
79
  for (const handler of Object.keys(exitFullScreenMap)) {
79
- if (_document[handler] && this._getFullScreenElement() === nativeElement) {
80
+ if (exitFullScreenMap[handler] &&
81
+ this._getFullScreenElement() === this._el.nativeElement) {
80
82
  exitFullScreenMap[handler]();
81
83
  }
82
84
  }
83
85
  }
84
86
  _getFullScreenElement() {
85
- const { _document } = this;
86
87
  const tdFullScreenElementMap = {
87
- fullscreenElement: () => _document.fullscreenElement,
88
- webkitFullscreenElement: () => _document.webkitFullscreenElement,
89
- mozFullscreenElement: () => _document.mozFullscreenElement,
90
- msFullscreenElement: () => _document.msFullscreenElement, // IE, Edge
88
+ fullscreenElement: () => this._document.fullscreenElement,
89
+ webkitFullscreenElement: () => this._document.webkitFullscreenElement,
90
+ mozFullscreenElement: () => this._document.mozFullscreenElement,
91
+ msFullscreenElement: () => this._document.msFullscreenElement, // IE, Edge
91
92
  };
92
93
  for (const props of Object.keys(tdFullScreenElementMap)) {
93
- if (_document[props]) {
94
- return _document[props];
94
+ if (tdFullScreenElementMap[props]) {
95
+ return tdFullScreenElementMap[props]();
95
96
  }
96
97
  }
98
+ return undefined;
97
99
  }
98
100
  }
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: [{
106
- selector: '[tdFullScreen]',
107
- exportAs: 'tdFullScreen',
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
- }] }); })();
101
+ 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 });
102
+ 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 });
103
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdFullscreenDirective, decorators: [{
104
+ type: Directive,
105
+ args: [{
106
+ selector: '[tdFullScreen]',
107
+ exportAs: 'tdFullScreen',
108
+ }]
109
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
110
+ type: Inject,
111
+ args: [DOCUMENT]
112
+ }] }, { type: i0.ElementRef }]; }, propDecorators: { 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
+ }] } });
125
125
 
126
126
  class TdTimeAgoPipe {
127
127
  transform(time, reference) {
@@ -184,14 +184,14 @@ class TdTimeAgoPipe {
184
184
  }
185
185
  }
186
186
  }
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: [{
192
- name: 'timeAgo',
193
- }]
194
- }], null, null); })();
187
+ TdTimeAgoPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeAgoPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
188
+ TdTimeAgoPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeAgoPipe, name: "timeAgo" });
189
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeAgoPipe, decorators: [{
190
+ type: Pipe,
191
+ args: [{
192
+ name: 'timeAgo',
193
+ }]
194
+ }] });
195
195
 
196
196
  class TdTimeDifferencePipe {
197
197
  transform(start, end) {
@@ -233,14 +233,14 @@ class TdTimeDifferencePipe {
233
233
  seconds);
234
234
  }
235
235
  }
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: [{
241
- name: 'timeDifference',
242
- }]
243
- }], null, null); })();
236
+ TdTimeDifferencePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeDifferencePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
237
+ TdTimeDifferencePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeDifferencePipe, name: "timeDifference" });
238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeDifferencePipe, decorators: [{
239
+ type: Pipe,
240
+ args: [{
241
+ name: 'timeDifference',
242
+ }]
243
+ }] });
244
244
 
245
245
  class TdTimeUntilPipe {
246
246
  transform(time, reference) {
@@ -303,14 +303,14 @@ class TdTimeUntilPipe {
303
303
  }
304
304
  }
305
305
  }
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: [{
311
- name: 'timeUntil',
312
- }]
313
- }], null, null); })();
306
+ TdTimeUntilPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeUntilPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
307
+ TdTimeUntilPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeUntilPipe, name: "timeUntil" });
308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTimeUntilPipe, decorators: [{
309
+ type: Pipe,
310
+ args: [{
311
+ name: 'timeUntil',
312
+ }]
313
+ }] });
314
314
 
315
315
  class TdBytesPipe {
316
316
  /* `bytes` needs to be `any` or TypeScript complains
@@ -324,23 +324,33 @@ class TdBytesPipe {
324
324
  return 'Invalid Number';
325
325
  }
326
326
  const k = 1024;
327
- const sizes = ['B', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB'];
327
+ const sizes = [
328
+ 'B',
329
+ 'KiB',
330
+ 'MiB',
331
+ 'GiB',
332
+ 'TiB',
333
+ 'PiB',
334
+ 'EiB',
335
+ 'ZiB',
336
+ 'YiB',
337
+ ];
328
338
  const i = Math.floor(Math.log(bytes) / Math.log(k));
329
339
  // if less than 1
330
340
  if (i < 0) {
331
341
  return 'Invalid Number';
332
342
  }
333
- return parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i];
343
+ return (parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i]);
334
344
  }
335
345
  }
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: [{
341
- name: 'bytes',
342
- }]
343
- }], null, null); })();
346
+ TdBytesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdBytesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
347
+ TdBytesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdBytesPipe, name: "bytes" });
348
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdBytesPipe, decorators: [{
349
+ type: Pipe,
350
+ args: [{
351
+ name: 'bytes',
352
+ }]
353
+ }] });
344
354
 
345
355
  class TdDecimalBytesPipe {
346
356
  /* `bytes` needs to be `any` or TypeScript complains
@@ -354,23 +364,33 @@ class TdDecimalBytesPipe {
354
364
  return 'Invalid Number';
355
365
  }
356
366
  const k = 1000;
357
- const sizes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
367
+ const sizes = [
368
+ 'B',
369
+ 'KB',
370
+ 'MB',
371
+ 'GB',
372
+ 'TB',
373
+ 'PB',
374
+ 'EB',
375
+ 'ZB',
376
+ 'YB',
377
+ ];
358
378
  const i = Math.floor(Math.log(bytes) / Math.log(k));
359
379
  // if less than 1
360
380
  if (i < 0) {
361
381
  return 'Invalid Number';
362
382
  }
363
- return parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i];
383
+ return (parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i]);
364
384
  }
365
385
  }
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: [{
371
- name: 'decimalBytes',
372
- }]
373
- }], null, null); })();
386
+ TdDecimalBytesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdDecimalBytesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
387
+ TdDecimalBytesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdDecimalBytesPipe, name: "decimalBytes" });
388
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdDecimalBytesPipe, decorators: [{
389
+ type: Pipe,
390
+ args: [{
391
+ name: 'decimalBytes',
392
+ }]
393
+ }] });
374
394
 
375
395
  class TdDigitsPipe {
376
396
  constructor(_locale = 'en') {
@@ -387,7 +407,7 @@ class TdDigitsPipe {
387
407
  return digits;
388
408
  }
389
409
  else if (digits < 1) {
390
- return this._decimalPipe.transform(digits.toFixed(precision));
410
+ return this._decimalPipe.transform(digits.toFixed(precision)) ?? '';
391
411
  }
392
412
  const k = 1000;
393
413
  const sizes = ['', 'K', 'M', 'B', 'T', 'Q'];
@@ -396,20 +416,20 @@ class TdDigitsPipe {
396
416
  return (this._decimalPipe.transform(parseFloat((digits / Math.pow(k, i)).toFixed(precision))) + (size ? ' ' + size : ''));
397
417
  }
398
418
  }
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: [{
404
- name: 'digits',
405
- }]
406
- }], function () { return [{ type: undefined, decorators: [{
407
- type: Inject,
408
- args: [LOCALE_ID]
409
- }] }]; }, null); })();
419
+ TdDigitsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdDigitsPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
420
+ TdDigitsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdDigitsPipe, name: "digits" });
421
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdDigitsPipe, decorators: [{
422
+ type: Pipe,
423
+ args: [{
424
+ name: 'digits',
425
+ }]
426
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
427
+ type: Inject,
428
+ args: [LOCALE_ID]
429
+ }] }]; } });
410
430
 
411
431
  class TdTruncatePipe {
412
- transform(text, length) {
432
+ transform(text, length = 54) {
413
433
  if (typeof text !== 'string') {
414
434
  return '';
415
435
  }
@@ -424,14 +444,14 @@ class TdTruncatePipe {
424
444
  return truncated;
425
445
  }
426
446
  }
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: [{
432
- name: 'truncate',
433
- }]
434
- }], null, null); })();
447
+ TdTruncatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
448
+ TdTruncatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTruncatePipe, name: "truncate" });
449
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdTruncatePipe, decorators: [{
450
+ type: Pipe,
451
+ args: [{
452
+ name: 'truncate',
453
+ }]
454
+ }] });
435
455
 
436
456
  class RouterPathService {
437
457
  constructor(_router) {
@@ -451,11 +471,11 @@ class RouterPathService {
451
471
  }
452
472
  }
453
473
  RouterPathService._previousRoute = '/';
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); })();
474
+ 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 });
475
+ RouterPathService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: RouterPathService });
476
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: RouterPathService, decorators: [{
477
+ type: Injectable
478
+ }], ctorParameters: function () { return [{ type: i1$1.Router }]; } });
459
479
 
460
480
  /*
461
481
  * Copyright (C) 2016-2017 by Teradata Corporation. All rights reserved.
@@ -1538,11 +1558,11 @@ class IconService {
1538
1558
  });
1539
1559
  }
1540
1560
  }
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); })();
1561
+ IconService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: IconService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1562
+ IconService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: IconService });
1563
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: IconService, decorators: [{
1564
+ type: Injectable
1565
+ }] });
1546
1566
 
1547
1567
  const TD_DIRECTIVES = [TdAutoTrimDirective, TdFullscreenDirective];
1548
1568
  // Validators
@@ -1558,19 +1578,8 @@ const TD_PIPES = [
1558
1578
  ];
1559
1579
  class CovalentCommonModule {
1560
1580
  }
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: [{
1567
- imports: [FormsModule, CommonModule],
1568
- declarations: [TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
1569
- exports: [FormsModule, CommonModule, TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
1570
- providers: [RouterPathService, IconService],
1571
- }]
1572
- }], null, null); })();
1573
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentCommonModule, { declarations: [TdAutoTrimDirective, TdFullscreenDirective, TdTimeAgoPipe,
1581
+ CovalentCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1582
+ CovalentCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentCommonModule, declarations: [TdAutoTrimDirective, TdFullscreenDirective, TdTimeAgoPipe,
1574
1583
  TdTimeDifferencePipe,
1575
1584
  TdTimeUntilPipe,
1576
1585
  TdBytesPipe,
@@ -1582,7 +1591,17 @@ class CovalentCommonModule {
1582
1591
  TdBytesPipe,
1583
1592
  TdDecimalBytesPipe,
1584
1593
  TdDigitsPipe,
1585
- TdTruncatePipe] }); })();
1594
+ TdTruncatePipe] });
1595
+ CovalentCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentCommonModule, providers: [RouterPathService, IconService], imports: [[FormsModule, CommonModule], FormsModule, CommonModule] });
1596
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentCommonModule, decorators: [{
1597
+ type: NgModule,
1598
+ args: [{
1599
+ imports: [FormsModule, CommonModule],
1600
+ declarations: [TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
1601
+ exports: [FormsModule, CommonModule, TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
1602
+ providers: [RouterPathService, IconService],
1603
+ }]
1604
+ }] });
1586
1605
 
1587
1606
  /**
1588
1607
  * const tdRotateAnimation
@@ -1605,7 +1624,12 @@ const tdRotateAnimation = trigger('tdRotate', [
1605
1624
  state('1', style({
1606
1625
  transform: 'rotate({{ degreesEnd }}deg)',
1607
1626
  }), { params: { degreesEnd: 180 } }),
1608
- transition('0 <=> 1', [group([query('@*', animateChild(), { optional: true }), animate('{{ duration }}ms {{ delay }}ms {{ ease }}')])], { params: { duration: 250, delay: '0', ease: 'ease-in' } }),
1627
+ transition('0 <=> 1', [
1628
+ group([
1629
+ query('@*', animateChild(), { optional: true }),
1630
+ animate('{{ duration }}ms {{ delay }}ms {{ ease }}'),
1631
+ ]),
1632
+ ], { params: { duration: 250, delay: '0', ease: 'ease-in' } }),
1609
1633
  ]);
1610
1634
 
1611
1635
  /**
@@ -1820,10 +1844,22 @@ const tdHeadshakeAnimation = trigger('tdHeadshake', [
1820
1844
  query('@*', animateChild(), { optional: true }),
1821
1845
  animate('{{ duration }}ms {{ delay }}ms {{ ease }}', keyframes([
1822
1846
  style({ transform: 'translateX(0)', offset: 0 }),
1823
- style({ transform: 'translateX(-6px) rotateY(-9deg)', offset: 0.065 }),
1824
- style({ transform: 'translateX(5px) rotateY(7deg)', offset: 0.185 }),
1825
- style({ transform: 'translateX(-3px) rotateY(-5deg)', offset: 0.315 }),
1826
- style({ transform: 'translateX(2px) rotateY(3deg)', offset: 0.435 }),
1847
+ style({
1848
+ transform: 'translateX(-6px) rotateY(-9deg)',
1849
+ offset: 0.065,
1850
+ }),
1851
+ style({
1852
+ transform: 'translateX(5px) rotateY(7deg)',
1853
+ offset: 0.185,
1854
+ }),
1855
+ style({
1856
+ transform: 'translateX(-3px) rotateY(-5deg)',
1857
+ offset: 0.315,
1858
+ }),
1859
+ style({
1860
+ transform: 'translateX(2px) rotateY(3deg)',
1861
+ offset: 0.435,
1862
+ }),
1827
1863
  style({ transform: 'translateX(0)', offset: 0.5 }),
1828
1864
  ])),
1829
1865
  ]),
@@ -1855,13 +1891,34 @@ const tdJelloAnimation = trigger('tdJello', [
1855
1891
  animate('{{ duration }}ms {{ delay }}ms {{ ease }}', keyframes([
1856
1892
  style({ transform: 'none', offset: 0 }),
1857
1893
  style({ transform: 'none', offset: 0.011 }),
1858
- style({ transform: 'skewX(-12.5deg) skewY(-12.5deg)', offset: 0.222 }),
1859
- style({ transform: 'skewX(6.25deg) skewY(6.25deg)', offset: 0.333 }),
1860
- style({ transform: 'skewX(-3.125deg) skewY(-3.125deg)', offset: 0.444 }),
1861
- style({ transform: 'skewX(1.5625deg) skewY(1.5625deg)', offset: 0.555 }),
1862
- style({ transform: 'skewX(-0.78125deg) skewY(-0.78125deg)', offset: 0.666 }),
1863
- style({ transform: 'skewX(0.390625deg) skewY(0.390625deg)', offset: 0.777 }),
1864
- style({ transform: 'skewX(-0.1953125deg) skewY(-0.1953125deg)', offset: 0.888 }),
1894
+ style({
1895
+ transform: 'skewX(-12.5deg) skewY(-12.5deg)',
1896
+ offset: 0.222,
1897
+ }),
1898
+ style({
1899
+ transform: 'skewX(6.25deg) skewY(6.25deg)',
1900
+ offset: 0.333,
1901
+ }),
1902
+ style({
1903
+ transform: 'skewX(-3.125deg) skewY(-3.125deg)',
1904
+ offset: 0.444,
1905
+ }),
1906
+ style({
1907
+ transform: 'skewX(1.5625deg) skewY(1.5625deg)',
1908
+ offset: 0.555,
1909
+ }),
1910
+ style({
1911
+ transform: 'skewX(-0.78125deg) skewY(-0.78125deg)',
1912
+ offset: 0.666,
1913
+ }),
1914
+ style({
1915
+ transform: 'skewX(0.390625deg) skewY(0.390625deg)',
1916
+ offset: 0.777,
1917
+ }),
1918
+ style({
1919
+ transform: 'skewX(-0.1953125deg) skewY(-0.1953125deg)',
1920
+ offset: 0.888,
1921
+ }),
1865
1922
  ])),
1866
1923
  ]),
1867
1924
  ], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
@@ -1906,7 +1963,9 @@ function mixinControlValueAccessor(base, initialValue) {
1906
1963
  return class extends base {
1907
1964
  constructor(...args) {
1908
1965
  super(...args);
1909
- this._value = initialValue instanceof Array ? Object.assign([], initialValue) : initialValue;
1966
+ this._value = initialValue instanceof Array
1967
+ ? Object.assign([], initialValue)
1968
+ : initialValue;
1910
1969
  this.onChange = (_) => noop;
1911
1970
  this.onTouched = () => noop;
1912
1971
  this._subjectValueChanges = new Subject();
@@ -1987,10 +2046,10 @@ class CovalentValidators {
1987
2046
  // tslint:disable-next-line:prefer-immediate-return
1988
2047
  const func = (c) => {
1989
2048
  if (!!Validators.required(c) || (!minValue && minValue !== 0)) {
1990
- return undefined;
2049
+ return {};
1991
2050
  }
1992
2051
  const v = c.value;
1993
- return v < minValue ? { min: { minValue, actualValue: v } } : undefined;
2052
+ return v < minValue ? { min: { minValue, actualValue: v } } : {};
1994
2053
  };
1995
2054
  return func;
1996
2055
  }
@@ -1998,15 +2057,15 @@ class CovalentValidators {
1998
2057
  // tslint:disable-next-line:prefer-immediate-return
1999
2058
  const func = (c) => {
2000
2059
  if (!!Validators.required(c) || (!maxValue && maxValue !== 0)) {
2001
- return undefined;
2060
+ return {};
2002
2061
  }
2003
2062
  const v = c.value;
2004
- return v > maxValue ? { max: { maxValue, actualValue: v } } : undefined;
2063
+ return v > maxValue ? { max: { maxValue, actualValue: v } } : {};
2005
2064
  };
2006
2065
  return func;
2007
2066
  }
2008
2067
  static numberRequired(c) {
2009
- return Number.isNaN(c.value) ? { required: true } : undefined;
2068
+ return Number.isNaN(c.value) ? { required: true } : {};
2010
2069
  }
2011
2070
  }
2012
2071