@covalent/core 3.1.2 → 4.0.0-beta.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 (840) hide show
  1. package/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +3 -0
  2. package/breadcrumbs/breadcrumb/breadcrumb.component.scss +3 -0
  3. package/breadcrumbs/breadcrumbs.component.d.ts +3 -0
  4. package/breadcrumbs/breadcrumbs.component.scss +1 -0
  5. package/breadcrumbs/breadcrumbs.module.d.ts +8 -0
  6. package/breadcrumbs/covalent-core-breadcrumbs.d.ts +1 -0
  7. package/breadcrumbs/package.json +6 -7
  8. package/common/_common-theme.scss +2 -0
  9. package/common/common.module.d.ts +15 -0
  10. package/common/covalent-core-common.d.ts +1 -2
  11. package/common/directives/fullscreen/fullscreen.directive.d.ts +3 -0
  12. package/common/forms/auto-trim/auto-trim.directive.d.ts +3 -0
  13. package/common/material-icons.css +31 -18
  14. package/common/material-icons.css.map +1 -1
  15. package/common/package.json +6 -7
  16. package/common/pipes/bytes/bytes.pipe.d.ts +3 -0
  17. package/common/pipes/decimal-bytes/decimal-bytes.pipe.d.ts +3 -0
  18. package/common/pipes/digits/digits.pipe.d.ts +3 -0
  19. package/common/pipes/time-ago/time-ago.pipe.d.ts +3 -0
  20. package/common/pipes/time-difference/time-difference.pipe.d.ts +3 -0
  21. package/common/pipes/time-until/time-until.pipe.d.ts +3 -0
  22. package/common/pipes/truncate/truncate.pipe.d.ts +3 -0
  23. package/common/platform.css +11828 -10433
  24. package/common/platform.css.map +1 -1
  25. package/common/services/icon.service.d.ts +3 -0
  26. package/common/services/router-path.service.d.ts +3 -0
  27. package/common/styles/_layout.scss +12 -10
  28. package/common/styles/_palette-dark.scss +2 -2
  29. package/common/styles/_palette-light.scss +6 -6
  30. package/common/styles/_rtl.scss +3 -0
  31. package/common/styles/_variables.scss +5 -5
  32. package/common/styles/colors/_colors-dark.scss +327 -0
  33. package/common/styles/colors/_colors-light.scss +748 -0
  34. package/common/styles/core/_button.scss +2 -1
  35. package/common/styles/core/_card.scss +27 -7
  36. package/common/styles/core/_content.scss +2 -1
  37. package/common/styles/core/_divider.scss +1 -0
  38. package/common/styles/core/_icons.scss +2 -0
  39. package/common/styles/core/_sidenav.scss +2 -0
  40. package/common/styles/core/_structure.scss +6 -7
  41. package/common/styles/core/_toolbar.scss +7 -0
  42. package/common/styles/core/_whiteframe.scss +2 -2
  43. package/common/styles/font/_font.scss +10 -4
  44. package/common/styles/utilities/_general.scss +14 -0
  45. package/common/styles/utilities/_text.scss +21 -0
  46. package/covalent-core.d.ts +1 -0
  47. package/dialogs/_dialog-theme.scss +1 -0
  48. package/dialogs/alert-dialog/alert-dialog.component.d.ts +3 -0
  49. package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +3 -0
  50. package/dialogs/covalent-core-dialogs.d.ts +1 -1
  51. package/dialogs/dialog.component.d.ts +9 -0
  52. package/dialogs/dialog.component.scss +5 -0
  53. package/dialogs/dialogs.module.d.ts +17 -0
  54. package/dialogs/package.json +6 -7
  55. package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +3 -0
  56. package/dialogs/prompt-dialog/prompt-dialog.component.scss +1 -0
  57. package/dialogs/public-api.d.ts +1 -0
  58. package/dialogs/services/dialog.service.d.ts +3 -0
  59. package/dialogs/window-dialog/window-dialog.component.d.ts +3 -0
  60. package/dynamic-menu/covalent-core-dynamic-menu.d.ts +1 -1
  61. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +3 -0
  62. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.scss +1 -0
  63. package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +3 -0
  64. package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.scss +3 -1
  65. package/dynamic-menu/dynamic-menu.component.d.ts +3 -0
  66. package/dynamic-menu/dynamic-menu.module.d.ts +13 -0
  67. package/dynamic-menu/package.json +6 -7
  68. package/dynamic-menu/public_api.d.ts +1 -0
  69. package/esm2020/breadcrumbs/breadcrumb/breadcrumb.component.mjs +108 -0
  70. package/esm2020/breadcrumbs/breadcrumbs.component.mjs +139 -0
  71. package/esm2020/breadcrumbs/breadcrumbs.module.mjs +21 -0
  72. package/esm2020/breadcrumbs/covalent-core-breadcrumbs.mjs +5 -0
  73. package/esm2020/breadcrumbs/index.mjs +2 -0
  74. package/esm2020/breadcrumbs/public-api.mjs +4 -0
  75. package/esm2020/common/animations/bounce/bounce.animation.mjs +70 -0
  76. package/esm2020/common/animations/collapse/collapse.animation.mjs +51 -0
  77. package/esm2020/common/animations/common/interfaces.mjs +2 -0
  78. package/esm2020/common/animations/fade/fadeInOut.animation.mjs +37 -0
  79. package/esm2020/common/animations/flash/flash.animation.mjs +34 -0
  80. package/esm2020/common/animations/headshake/headshake.animation.mjs +35 -0
  81. package/esm2020/common/animations/jello/jello.animation.mjs +38 -0
  82. package/esm2020/common/animations/pulse/pulse.animation.mjs +32 -0
  83. package/esm2020/common/animations/rotate/rotate.animation.mjs +25 -0
  84. package/esm2020/common/behaviors/control-value-accesor.mixin.mjs +39 -0
  85. package/esm2020/common/behaviors/disable-ripple.mixin.mjs +24 -0
  86. package/esm2020/common/behaviors/disabled.mixin.mjs +24 -0
  87. package/esm2020/common/common.module.mjs +64 -0
  88. package/esm2020/common/covalent-core-common.mjs +5 -0
  89. package/esm2020/common/directives/fullscreen/fullscreen.directive.mjs +85 -0
  90. package/esm2020/common/forms/auto-trim/auto-trim.directive.mjs +36 -0
  91. package/esm2020/common/forms/validators/validators.mjs +29 -0
  92. package/{esm2015/common/functions/clipboard.js → esm2020/common/functions/clipboard.mjs} +3 -10
  93. package/esm2020/common/functions/convert.mjs +84 -0
  94. package/esm2020/common/functions/download.mjs +75 -0
  95. package/esm2020/common/functions/file.mjs +16 -0
  96. package/esm2020/common/index.mjs +2 -0
  97. package/esm2020/common/pipes/bytes/bytes.pipe.mjs +32 -0
  98. package/esm2020/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +32 -0
  99. package/esm2020/common/pipes/digits/digits.pipe.mjs +39 -0
  100. package/esm2020/common/pipes/time-ago/time-ago.pipe.mjs +72 -0
  101. package/esm2020/common/pipes/time-difference/time-difference.pipe.mjs +51 -0
  102. package/esm2020/common/pipes/time-until/time-until.pipe.mjs +72 -0
  103. package/esm2020/common/pipes/truncate/truncate.pipe.mjs +27 -0
  104. package/esm2020/common/public-api.mjs +39 -0
  105. package/esm2020/common/services/icon.service.mjs +1089 -0
  106. package/esm2020/common/services/router-path.service.mjs +29 -0
  107. package/esm2020/covalent-core.mjs +5 -0
  108. package/esm2020/dialogs/alert-dialog/alert-dialog.component.mjs +54 -0
  109. package/esm2020/dialogs/confirm-dialog/confirm-dialog.component.mjs +68 -0
  110. package/esm2020/dialogs/covalent-core-dialogs.mjs +5 -0
  111. package/esm2020/dialogs/dialog.component.mjs +97 -0
  112. package/esm2020/dialogs/dialogs.module.mjs +86 -0
  113. package/esm2020/dialogs/index.mjs +2 -0
  114. package/esm2020/dialogs/prompt-dialog/prompt-dialog.component.mjs +104 -0
  115. package/esm2020/dialogs/public-api.mjs +9 -0
  116. package/esm2020/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +199 -0
  117. package/esm2020/dialogs/services/dialog.service.mjs +168 -0
  118. package/esm2020/dialogs/window-dialog/window-dialog.component.mjs +69 -0
  119. package/esm2020/dynamic-menu/covalent-core-dynamic-menu.mjs +5 -0
  120. package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +147 -0
  121. package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +113 -0
  122. package/esm2020/dynamic-menu/dynamic-menu.component.mjs +111 -0
  123. package/esm2020/dynamic-menu/dynamic-menu.module.mjs +32 -0
  124. package/esm2020/dynamic-menu/index.mjs +2 -0
  125. package/esm2020/dynamic-menu/public_api.mjs +5 -0
  126. package/esm2020/file/covalent-core-file.mjs +5 -0
  127. package/esm2020/file/directives/file-drop.directive.mjs +148 -0
  128. package/esm2020/file/directives/file-select.directive.mjs +76 -0
  129. package/esm2020/file/file-input/file-input.component.mjs +137 -0
  130. package/esm2020/file/file-upload/file-upload.component.mjs +210 -0
  131. package/esm2020/file/file.module.mjs +43 -0
  132. package/esm2020/file/index.mjs +2 -0
  133. package/esm2020/file/public-api.mjs +7 -0
  134. package/esm2020/file/services/file.service.mjs +62 -0
  135. package/esm2020/index.mjs +2 -0
  136. package/esm2020/json-formatter/covalent-core-json-formatter.mjs +5 -0
  137. package/esm2020/json-formatter/index.mjs +2 -0
  138. package/esm2020/json-formatter/json-formatter.component.mjs +302 -0
  139. package/esm2020/json-formatter/json-formatter.module.mjs +21 -0
  140. package/esm2020/json-formatter/public-api.mjs +3 -0
  141. package/esm2020/layout/covalent-core-layout.mjs +5 -0
  142. package/esm2020/layout/index.mjs +2 -0
  143. package/esm2020/layout/layout-card-over/layout-card-over.component.mjs +87 -0
  144. package/esm2020/layout/layout-footer/layout-footer.component.mjs +38 -0
  145. package/esm2020/layout/layout-manage-list/layout-manage-list.component.mjs +122 -0
  146. package/esm2020/layout/layout-manage-list/layout-manage-list.directives.mjs +90 -0
  147. package/esm2020/layout/layout-nav/layout-nav.component.mjs +112 -0
  148. package/esm2020/layout/layout-nav-list/layout-nav-list.component.mjs +215 -0
  149. package/esm2020/layout/layout-nav-list/layout-nav-list.directives.mjs +90 -0
  150. package/esm2020/layout/layout-toggle.class.mjs +95 -0
  151. package/esm2020/layout/layout.component.mjs +113 -0
  152. package/esm2020/layout/layout.directives.mjs +87 -0
  153. package/esm2020/layout/layout.module.mjs +118 -0
  154. package/esm2020/layout/navigation-drawer/navigation-drawer.component.mjs +306 -0
  155. package/esm2020/layout/public-api.mjs +13 -0
  156. package/esm2020/menu/covalent-core-menu.mjs +5 -0
  157. package/esm2020/menu/index.mjs +2 -0
  158. package/esm2020/menu/menu.component.mjs +23 -0
  159. package/esm2020/menu/menu.module.mjs +22 -0
  160. package/esm2020/menu/public-api.mjs +3 -0
  161. package/esm2020/message/covalent-core-message.mjs +5 -0
  162. package/esm2020/message/index.mjs +2 -0
  163. package/esm2020/message/message.component.mjs +261 -0
  164. package/esm2020/message/message.module.mjs +21 -0
  165. package/esm2020/message/public-api.mjs +3 -0
  166. package/esm2020/search/covalent-core-search.mjs +5 -0
  167. package/esm2020/search/index.mjs +2 -0
  168. package/esm2020/search/public-api.mjs +4 -0
  169. package/esm2020/search/search-box/search-box.component.mjs +220 -0
  170. package/esm2020/search/search-input/search-input.component.mjs +240 -0
  171. package/esm2020/search/search.module.mjs +24 -0
  172. package/esm2020/side-sheet/covalent-core-side-sheet.mjs +5 -0
  173. package/esm2020/side-sheet/index.mjs +2 -0
  174. package/esm2020/side-sheet/public-api.mjs +6 -0
  175. package/esm2020/side-sheet/side-sheet-container.mjs +242 -0
  176. package/esm2020/side-sheet/side-sheet-ref.mjs +21 -0
  177. package/esm2020/side-sheet/side-sheet.animation.mjs +12 -0
  178. package/esm2020/side-sheet/side-sheet.config.mjs +4 -0
  179. package/esm2020/side-sheet/side-sheet.content-directives.mjs +178 -0
  180. package/esm2020/side-sheet/side-sheet.mjs +208 -0
  181. package/esm2020/side-sheet/side-sheet.module.mjs +46 -0
  182. package/esm2020/user-profile/covalent-core-user-profile.mjs +5 -0
  183. package/esm2020/user-profile/index.mjs +2 -0
  184. package/esm2020/user-profile/public_api.mjs +4 -0
  185. package/esm2020/user-profile/user-profile-menu/user-profile-menu.component.mjs +75 -0
  186. package/esm2020/user-profile/user-profile.component.mjs +41 -0
  187. package/esm2020/user-profile/user-profile.module.mjs +26 -0
  188. package/fesm2015/covalent-core-breadcrumbs.mjs +287 -0
  189. package/fesm2015/covalent-core-breadcrumbs.mjs.map +1 -0
  190. package/fesm2015/covalent-core-common.mjs +2251 -0
  191. package/fesm2015/covalent-core-common.mjs.map +1 -0
  192. package/fesm2015/covalent-core-dialogs.mjs +872 -0
  193. package/fesm2015/covalent-core-dialogs.mjs.map +1 -0
  194. package/fesm2015/covalent-core-dynamic-menu.mjs +480 -0
  195. package/fesm2015/covalent-core-dynamic-menu.mjs.map +1 -0
  196. package/fesm2015/covalent-core-file.mjs +698 -0
  197. package/fesm2015/covalent-core-file.mjs.map +1 -0
  198. package/fesm2015/covalent-core-json-formatter.mjs +353 -0
  199. package/fesm2015/covalent-core-json-formatter.mjs.map +1 -0
  200. package/fesm2015/covalent-core-layout.mjs +1577 -0
  201. package/fesm2015/covalent-core-layout.mjs.map +1 -0
  202. package/fesm2015/covalent-core-menu.mjs +55 -0
  203. package/fesm2015/covalent-core-menu.mjs.map +1 -0
  204. package/fesm2015/covalent-core-message.mjs +309 -0
  205. package/fesm2015/covalent-core-message.mjs.map +1 -0
  206. package/fesm2015/covalent-core-search.mjs +508 -0
  207. package/fesm2015/covalent-core-search.mjs.map +1 -0
  208. package/fesm2015/covalent-core-side-sheet.mjs +733 -0
  209. package/fesm2015/covalent-core-side-sheet.mjs.map +1 -0
  210. package/fesm2015/covalent-core-user-profile.mjs +162 -0
  211. package/fesm2015/covalent-core-user-profile.mjs.map +1 -0
  212. package/{chips/covalent-core-chips.d.ts → fesm2015/covalent-core.mjs} +1 -1
  213. package/fesm2015/covalent-core.mjs.map +1 -0
  214. package/fesm2020/covalent-core-breadcrumbs.mjs +268 -0
  215. package/{fesm2015/covalent-core-breadcrumbs.js.map → fesm2020/covalent-core-breadcrumbs.mjs.map} +1 -1
  216. package/{fesm2015/covalent-core-common.js → fesm2020/covalent-core-common.mjs} +213 -768
  217. package/fesm2020/covalent-core-common.mjs.map +1 -0
  218. package/fesm2020/covalent-core-dialogs.mjs +812 -0
  219. package/fesm2020/covalent-core-dialogs.mjs.map +1 -0
  220. package/fesm2020/covalent-core-dynamic-menu.mjs +393 -0
  221. package/fesm2020/covalent-core-dynamic-menu.mjs.map +1 -0
  222. package/fesm2020/covalent-core-file.mjs +651 -0
  223. package/fesm2020/covalent-core-file.mjs.map +1 -0
  224. package/fesm2020/covalent-core-json-formatter.mjs +326 -0
  225. package/fesm2020/covalent-core-json-formatter.mjs.map +1 -0
  226. package/fesm2020/covalent-core-layout.mjs +1414 -0
  227. package/fesm2020/covalent-core-layout.mjs.map +1 -0
  228. package/fesm2020/covalent-core-menu.mjs +49 -0
  229. package/fesm2020/covalent-core-menu.mjs.map +1 -0
  230. package/fesm2020/covalent-core-message.mjs +286 -0
  231. package/fesm2020/covalent-core-message.mjs.map +1 -0
  232. package/fesm2020/covalent-core-search.mjs +473 -0
  233. package/fesm2020/covalent-core-search.mjs.map +1 -0
  234. package/{fesm2015/covalent-core-side-sheet.js → fesm2020/covalent-core-side-sheet.mjs} +202 -646
  235. package/fesm2020/covalent-core-side-sheet.mjs.map +1 -0
  236. package/fesm2020/covalent-core-user-profile.mjs +141 -0
  237. package/fesm2020/covalent-core-user-profile.mjs.map +1 -0
  238. package/{data-table/covalent-core-data-table.d.ts → fesm2020/covalent-core.mjs} +1 -1
  239. package/fesm2020/covalent-core.mjs.map +1 -0
  240. package/file/_file-theme.scss +1 -0
  241. package/file/covalent-core-file.d.ts +1 -0
  242. package/file/directives/file-drop.directive.d.ts +3 -0
  243. package/file/directives/file-select.directive.d.ts +3 -0
  244. package/file/file-input/file-input.component.d.ts +5 -0
  245. package/file/file-input/file-input.component.scss +2 -0
  246. package/file/file-upload/file-upload.component.d.ts +3 -0
  247. package/file/file-upload/file-upload.component.scss +4 -0
  248. package/file/file.module.d.ts +13 -0
  249. package/file/package.json +6 -7
  250. package/file/services/file.service.d.ts +3 -0
  251. package/json-formatter/_json-formatter-theme.scss +10 -0
  252. package/json-formatter/covalent-core-json-formatter.d.ts +1 -0
  253. package/json-formatter/json-formatter.component.d.ts +3 -0
  254. package/json-formatter/json-formatter.component.scss +13 -0
  255. package/json-formatter/json-formatter.module.d.ts +8 -0
  256. package/json-formatter/package.json +6 -7
  257. package/layout/_layout-theme.scss +12 -0
  258. package/layout/covalent-core-layout.d.ts +1 -0
  259. package/layout/layout-card-over/layout-card-over.component.d.ts +3 -0
  260. package/layout/layout-card-over/layout-card-over.component.scss +3 -0
  261. package/layout/layout-footer/layout-footer.component.d.ts +3 -0
  262. package/layout/layout-manage-list/layout-manage-list.component.d.ts +3 -0
  263. package/layout/layout-manage-list/layout-manage-list.component.scss +9 -5
  264. package/layout/layout-manage-list/layout-manage-list.directives.d.ts +7 -0
  265. package/layout/layout-nav/layout-nav.component.d.ts +3 -0
  266. package/layout/layout-nav/layout-nav.component.scss +4 -0
  267. package/layout/layout-nav-list/layout-nav-list.component.d.ts +3 -0
  268. package/layout/layout-nav-list/layout-nav-list.component.scss +9 -4
  269. package/layout/layout-nav-list/layout-nav-list.directives.d.ts +7 -0
  270. package/layout/layout-toggle.class.d.ts +3 -0
  271. package/layout/layout.component.d.ts +3 -0
  272. package/layout/layout.component.scss +0 -4
  273. package/layout/layout.directives.d.ts +7 -0
  274. package/layout/layout.module.d.ts +23 -0
  275. package/layout/navigation-drawer/navigation-drawer.component.d.ts +7 -0
  276. package/layout/navigation-drawer/navigation-drawer.component.scss +8 -0
  277. package/layout/package.json +6 -7
  278. package/menu/covalent-core-menu.d.ts +1 -0
  279. package/menu/menu.component.d.ts +3 -0
  280. package/menu/menu.component.scss +9 -1
  281. package/menu/menu.module.d.ts +8 -0
  282. package/menu/package.json +6 -7
  283. package/message/_message-theme.scss +3 -0
  284. package/message/covalent-core-message.d.ts +1 -0
  285. package/message/message.component.d.ts +5 -0
  286. package/message/message.component.scss +3 -0
  287. package/message/message.module.d.ts +7 -0
  288. package/message/package.json +6 -7
  289. package/package.json +126 -15
  290. package/search/covalent-core-search.d.ts +1 -0
  291. package/search/package.json +6 -7
  292. package/search/search-box/search-box.component.d.ts +3 -0
  293. package/search/search-box/search-box.component.scss +5 -0
  294. package/search/search-input/search-input.component.d.ts +3 -0
  295. package/search/search-input/search-input.component.scss +12 -0
  296. package/search/search.module.d.ts +11 -0
  297. package/side-sheet/covalent-core-side-sheet.d.ts +1 -2
  298. package/side-sheet/package.json +6 -7
  299. package/side-sheet/side-sheet-container.d.ts +5 -0
  300. package/side-sheet/side-sheet.content-directives.d.ts +11 -0
  301. package/side-sheet/side-sheet.d.ts +5 -0
  302. package/side-sheet/side-sheet.module.d.ts +9 -0
  303. package/side-sheet/side-sheet.scss +1 -2
  304. package/theming/_all-theme.scss +0 -14
  305. package/theming/prebuilt/blue-grey-deep-orange.css +1714 -1581
  306. package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
  307. package/theming/prebuilt/blue-grey-deep-orange.scss +15 -8
  308. package/theming/prebuilt/blue-orange.css +1713 -1580
  309. package/theming/prebuilt/blue-orange.css.map +1 -1
  310. package/theming/prebuilt/blue-orange.scss +15 -8
  311. package/theming/prebuilt/indigo-pink.css +1714 -1581
  312. package/theming/prebuilt/indigo-pink.css.map +1 -1
  313. package/theming/prebuilt/indigo-pink.scss +15 -8
  314. package/theming/prebuilt/orange-light-blue.css +1713 -1580
  315. package/theming/prebuilt/orange-light-blue.css.map +1 -1
  316. package/theming/prebuilt/orange-light-blue.scss +15 -8
  317. package/theming/prebuilt/teal-orange.css +1713 -1580
  318. package/theming/prebuilt/teal-orange.css.map +1 -1
  319. package/theming/prebuilt/teal-orange.scss +15 -8
  320. package/typography/_all-typography.scss +0 -10
  321. package/user-profile/covalent-core-user-profile.d.ts +1 -0
  322. package/user-profile/package.json +6 -7
  323. package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +3 -0
  324. package/user-profile/user-profile-menu/user-profile-menu.component.scss +3 -0
  325. package/user-profile/user-profile.component.d.ts +3 -0
  326. package/user-profile/user-profile.module.d.ts +12 -0
  327. package/breadcrumbs/covalent-core-breadcrumbs.metadata.json +0 -1
  328. package/bundles/covalent-core-breadcrumbs.umd.js +0 -490
  329. package/bundles/covalent-core-breadcrumbs.umd.js.map +0 -1
  330. package/bundles/covalent-core-breadcrumbs.umd.min.js +0 -2
  331. package/bundles/covalent-core-breadcrumbs.umd.min.js.map +0 -1
  332. package/bundles/covalent-core-chips.umd.js +0 -1507
  333. package/bundles/covalent-core-chips.umd.js.map +0 -1
  334. package/bundles/covalent-core-chips.umd.min.js +0 -16
  335. package/bundles/covalent-core-chips.umd.min.js.map +0 -1
  336. package/bundles/covalent-core-common.umd.js +0 -3188
  337. package/bundles/covalent-core-common.umd.js.map +0 -1
  338. package/bundles/covalent-core-common.umd.min.js +0 -17
  339. package/bundles/covalent-core-common.umd.min.js.map +0 -1
  340. package/bundles/covalent-core-data-table.umd.js +0 -2756
  341. package/bundles/covalent-core-data-table.umd.js.map +0 -1
  342. package/bundles/covalent-core-data-table.umd.min.js +0 -16
  343. package/bundles/covalent-core-data-table.umd.min.js.map +0 -1
  344. package/bundles/covalent-core-dialogs.umd.js +0 -1318
  345. package/bundles/covalent-core-dialogs.umd.js.map +0 -1
  346. package/bundles/covalent-core-dialogs.umd.min.js +0 -2
  347. package/bundles/covalent-core-dialogs.umd.min.js.map +0 -1
  348. package/bundles/covalent-core-dynamic-menu.umd.js +0 -215
  349. package/bundles/covalent-core-dynamic-menu.umd.js.map +0 -1
  350. package/bundles/covalent-core-dynamic-menu.umd.min.js +0 -2
  351. package/bundles/covalent-core-dynamic-menu.umd.min.js.map +0 -1
  352. package/bundles/covalent-core-expansion-panel.umd.js +0 -853
  353. package/bundles/covalent-core-expansion-panel.umd.js.map +0 -1
  354. package/bundles/covalent-core-expansion-panel.umd.min.js +0 -16
  355. package/bundles/covalent-core-expansion-panel.umd.min.js.map +0 -1
  356. package/bundles/covalent-core-file.umd.js +0 -1211
  357. package/bundles/covalent-core-file.umd.js.map +0 -1
  358. package/bundles/covalent-core-file.umd.min.js +0 -17
  359. package/bundles/covalent-core-file.umd.min.js.map +0 -1
  360. package/bundles/covalent-core-json-formatter.umd.js +0 -408
  361. package/bundles/covalent-core-json-formatter.umd.js.map +0 -1
  362. package/bundles/covalent-core-json-formatter.umd.min.js +0 -2
  363. package/bundles/covalent-core-json-formatter.umd.min.js.map +0 -1
  364. package/bundles/covalent-core-layout.umd.js +0 -2084
  365. package/bundles/covalent-core-layout.umd.js.map +0 -1
  366. package/bundles/covalent-core-layout.umd.min.js +0 -17
  367. package/bundles/covalent-core-layout.umd.min.js.map +0 -1
  368. package/bundles/covalent-core-loading.umd.js +0 -1534
  369. package/bundles/covalent-core-loading.umd.js.map +0 -1
  370. package/bundles/covalent-core-loading.umd.min.js +0 -16
  371. package/bundles/covalent-core-loading.umd.min.js.map +0 -1
  372. package/bundles/covalent-core-media.umd.js +0 -749
  373. package/bundles/covalent-core-media.umd.js.map +0 -1
  374. package/bundles/covalent-core-media.umd.min.js +0 -16
  375. package/bundles/covalent-core-media.umd.min.js.map +0 -1
  376. package/bundles/covalent-core-menu.umd.js +0 -69
  377. package/bundles/covalent-core-menu.umd.js.map +0 -1
  378. package/bundles/covalent-core-menu.umd.min.js +0 -2
  379. package/bundles/covalent-core-menu.umd.min.js.map +0 -1
  380. package/bundles/covalent-core-message.umd.js +0 -375
  381. package/bundles/covalent-core-message.umd.js.map +0 -1
  382. package/bundles/covalent-core-message.umd.min.js +0 -2
  383. package/bundles/covalent-core-message.umd.min.js.map +0 -1
  384. package/bundles/covalent-core-nav-links.umd.js +0 -197
  385. package/bundles/covalent-core-nav-links.umd.js.map +0 -1
  386. package/bundles/covalent-core-nav-links.umd.min.js +0 -2
  387. package/bundles/covalent-core-nav-links.umd.min.js.map +0 -1
  388. package/bundles/covalent-core-notifications.umd.js +0 -275
  389. package/bundles/covalent-core-notifications.umd.js.map +0 -1
  390. package/bundles/covalent-core-notifications.umd.min.js +0 -2
  391. package/bundles/covalent-core-notifications.umd.min.js.map +0 -1
  392. package/bundles/covalent-core-paging.umd.js +0 -491
  393. package/bundles/covalent-core-paging.umd.js.map +0 -1
  394. package/bundles/covalent-core-paging.umd.min.js +0 -2
  395. package/bundles/covalent-core-paging.umd.min.js.map +0 -1
  396. package/bundles/covalent-core-search.umd.js +0 -877
  397. package/bundles/covalent-core-search.umd.js.map +0 -1
  398. package/bundles/covalent-core-search.umd.min.js +0 -16
  399. package/bundles/covalent-core-search.umd.min.js.map +0 -1
  400. package/bundles/covalent-core-side-sheet.umd.js +0 -1458
  401. package/bundles/covalent-core-side-sheet.umd.js.map +0 -1
  402. package/bundles/covalent-core-side-sheet.umd.min.js +0 -16
  403. package/bundles/covalent-core-side-sheet.umd.min.js.map +0 -1
  404. package/bundles/covalent-core-sidesheet.umd.js +0 -145
  405. package/bundles/covalent-core-sidesheet.umd.js.map +0 -1
  406. package/bundles/covalent-core-sidesheet.umd.min.js +0 -2
  407. package/bundles/covalent-core-sidesheet.umd.min.js.map +0 -1
  408. package/bundles/covalent-core-steps.umd.js +0 -1756
  409. package/bundles/covalent-core-steps.umd.js.map +0 -1
  410. package/bundles/covalent-core-steps.umd.min.js +0 -16
  411. package/bundles/covalent-core-steps.umd.min.js.map +0 -1
  412. package/bundles/covalent-core-tab-select.umd.js +0 -732
  413. package/bundles/covalent-core-tab-select.umd.js.map +0 -1
  414. package/bundles/covalent-core-tab-select.umd.min.js +0 -16
  415. package/bundles/covalent-core-tab-select.umd.min.js.map +0 -1
  416. package/bundles/covalent-core-user-profile.umd.js +0 -124
  417. package/bundles/covalent-core-user-profile.umd.js.map +0 -1
  418. package/bundles/covalent-core-user-profile.umd.min.js +0 -2
  419. package/bundles/covalent-core-user-profile.umd.min.js.map +0 -1
  420. package/bundles/covalent-core-virtual-scroll.umd.js +0 -785
  421. package/bundles/covalent-core-virtual-scroll.umd.js.map +0 -1
  422. package/bundles/covalent-core-virtual-scroll.umd.min.js +0 -16
  423. package/bundles/covalent-core-virtual-scroll.umd.min.js.map +0 -1
  424. package/bundles/covalent-core.umd.js +0 -9
  425. package/bundles/covalent-core.umd.js.map +0 -1
  426. package/bundles/covalent-core.umd.min.js +0 -2
  427. package/bundles/covalent-core.umd.min.js.map +0 -1
  428. package/chips/README.md +0 -99
  429. package/chips/_chips-theme.scss +0 -87
  430. package/chips/chips.component.d.ts +0 -287
  431. package/chips/chips.component.scss +0 -147
  432. package/chips/chips.module.d.ts +0 -2
  433. package/chips/covalent-core-chips.metadata.json +0 -1
  434. package/chips/index.d.ts +0 -1
  435. package/chips/package.json +0 -11
  436. package/chips/public-api.d.ts +0 -2
  437. package/common/covalent-core-common.metadata.json +0 -1
  438. package/covalent-core.metadata.json +0 -1
  439. package/data-table/README.md +0 -134
  440. package/data-table/_data-table-theme.scss +0 -115
  441. package/data-table/covalent-core-data-table.metadata.json +0 -1
  442. package/data-table/data-table-cell/data-table-cell.component.d.ts +0 -22
  443. package/data-table/data-table-cell/data-table-cell.component.scss +0 -58
  444. package/data-table/data-table-column/data-table-column.component.d.ts +0 -63
  445. package/data-table/data-table-column/data-table-column.component.scss +0 -80
  446. package/data-table/data-table-row/data-table-row.component.d.ts +0 -20
  447. package/data-table/data-table-row/data-table-row.component.scss +0 -12
  448. package/data-table/data-table-table/data-table-table.component.d.ts +0 -6
  449. package/data-table/data-table-table/data-table-table.component.scss +0 -7
  450. package/data-table/data-table.component.d.ts +0 -356
  451. package/data-table/data-table.component.scss +0 -93
  452. package/data-table/data-table.module.d.ts +0 -2
  453. package/data-table/directives/data-table-template.directive.d.ts +0 -6
  454. package/data-table/index.d.ts +0 -1
  455. package/data-table/package.json +0 -11
  456. package/data-table/public-api.d.ts +0 -8
  457. package/data-table/services/data-table.service.d.ts +0 -31
  458. package/dialogs/covalent-core-dialogs.metadata.json +0 -1
  459. package/dynamic-menu/covalent-core-dynamic-menu.metadata.json +0 -1
  460. package/esm2015/breadcrumbs/breadcrumb/breadcrumb.component.js +0 -171
  461. package/esm2015/breadcrumbs/breadcrumbs.component.js +0 -241
  462. package/esm2015/breadcrumbs/breadcrumbs.module.js +0 -20
  463. package/esm2015/breadcrumbs/covalent-core-breadcrumbs.js +0 -10
  464. package/esm2015/breadcrumbs/index.js +0 -7
  465. package/esm2015/breadcrumbs/public-api.js +0 -9
  466. package/esm2015/chips/chips.component.js +0 -1115
  467. package/esm2015/chips/chips.module.js +0 -23
  468. package/esm2015/chips/covalent-core-chips.js +0 -10
  469. package/esm2015/chips/index.js +0 -7
  470. package/esm2015/chips/public-api.js +0 -8
  471. package/esm2015/common/animations/bounce/bounce.animation.js +0 -76
  472. package/esm2015/common/animations/collapse/collapse.animation.js +0 -67
  473. package/esm2015/common/animations/common/interfaces.js +0 -18
  474. package/esm2015/common/animations/fade/fadeInOut.animation.js +0 -53
  475. package/esm2015/common/animations/flash/flash.animation.js +0 -40
  476. package/esm2015/common/animations/headshake/headshake.animation.js +0 -41
  477. package/esm2015/common/animations/jello/jello.animation.js +0 -44
  478. package/esm2015/common/animations/pulse/pulse.animation.js +0 -38
  479. package/esm2015/common/animations/rotate/rotate.animation.js +0 -41
  480. package/esm2015/common/behaviors/control-value-accesor.mixin.js +0 -107
  481. package/esm2015/common/behaviors/disable-ripple.mixin.js +0 -63
  482. package/esm2015/common/behaviors/disabled.mixin.js +0 -63
  483. package/esm2015/common/common.module.js +0 -54
  484. package/esm2015/common/covalent-core-common.js +0 -12
  485. package/esm2015/common/directives/fullscreen/fullscreen.directive.js +0 -180
  486. package/esm2015/common/forms/auto-trim/auto-trim.directive.js +0 -46
  487. package/esm2015/common/forms/validators/validators.js +0 -58
  488. package/esm2015/common/functions/convert.js +0 -103
  489. package/esm2015/common/functions/download.js +0 -88
  490. package/esm2015/common/functions/file.js +0 -29
  491. package/esm2015/common/index.js +0 -7
  492. package/esm2015/common/pipes/bytes/bytes.pipe.js +0 -41
  493. package/esm2015/common/pipes/decimal-bytes/decimal-bytes.pipe.js +0 -41
  494. package/esm2015/common/pipes/digits/digits.pipe.js +0 -65
  495. package/esm2015/common/pipes/time-ago/time-ago.pipe.js +0 -81
  496. package/esm2015/common/pipes/time-difference/time-difference.pipe.js +0 -66
  497. package/esm2015/common/pipes/time-until/time-until.pipe.js +0 -81
  498. package/esm2015/common/pipes/truncate/truncate.pipe.js +0 -34
  499. package/esm2015/common/public-api.js +0 -44
  500. package/esm2015/common/services/icon.service.js +0 -1109
  501. package/esm2015/common/services/router-path.service.js +0 -60
  502. package/esm2015/covalent-core.js +0 -10
  503. package/esm2015/data-table/covalent-core-data-table.js +0 -10
  504. package/esm2015/data-table/data-table-cell/data-table-cell.component.js +0 -88
  505. package/esm2015/data-table/data-table-column/data-table-column.component.js +0 -218
  506. package/esm2015/data-table/data-table-row/data-table-row.component.js +0 -132
  507. package/esm2015/data-table/data-table-table/data-table-table.component.js +0 -43
  508. package/esm2015/data-table/data-table.component.js +0 -1640
  509. package/esm2015/data-table/data-table.module.js +0 -39
  510. package/esm2015/data-table/directives/data-table-template.directive.js +0 -32
  511. package/esm2015/data-table/index.js +0 -7
  512. package/esm2015/data-table/public-api.js +0 -14
  513. package/esm2015/data-table/services/data-table.service.js +0 -116
  514. package/esm2015/dialogs/alert-dialog/alert-dialog.component.js +0 -47
  515. package/esm2015/dialogs/confirm-dialog/confirm-dialog.component.js +0 -59
  516. package/esm2015/dialogs/covalent-core-dialogs.js +0 -11
  517. package/esm2015/dialogs/dialog.component.js +0 -58
  518. package/esm2015/dialogs/dialogs.module.js +0 -57
  519. package/esm2015/dialogs/index.js +0 -7
  520. package/esm2015/dialogs/prompt-dialog/prompt-dialog.component.js +0 -83
  521. package/esm2015/dialogs/public-api.js +0 -13
  522. package/esm2015/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.js +0 -325
  523. package/esm2015/dialogs/services/dialog.service.js +0 -316
  524. package/esm2015/dialogs/window-dialog/window-dialog.component.js +0 -56
  525. package/esm2015/dynamic-menu/covalent-core-dynamic-menu.js +0 -11
  526. package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.js +0 -40
  527. package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.js +0 -35
  528. package/esm2015/dynamic-menu/dynamic-menu.component.js +0 -89
  529. package/esm2015/dynamic-menu/dynamic-menu.module.js +0 -26
  530. package/esm2015/dynamic-menu/index.js +0 -7
  531. package/esm2015/dynamic-menu/public_api.js +0 -9
  532. package/esm2015/expansion-panel/covalent-core-expansion-panel.js +0 -10
  533. package/esm2015/expansion-panel/expansion-panel-group.component.js +0 -212
  534. package/esm2015/expansion-panel/expansion-panel.component.js +0 -272
  535. package/esm2015/expansion-panel/expansion-panel.module.js +0 -31
  536. package/esm2015/expansion-panel/index.js +0 -7
  537. package/esm2015/expansion-panel/public-api.js +0 -9
  538. package/esm2015/file/covalent-core-file.js +0 -10
  539. package/esm2015/file/directives/file-drop.directive.js +0 -191
  540. package/esm2015/file/directives/file-select.directive.js +0 -98
  541. package/esm2015/file/file-input/file-input.component.js +0 -186
  542. package/esm2015/file/file-upload/file-upload.component.js +0 -237
  543. package/esm2015/file/file.module.js +0 -35
  544. package/esm2015/file/index.js +0 -7
  545. package/esm2015/file/public-api.js +0 -12
  546. package/esm2015/file/services/file.service.js +0 -109
  547. package/esm2015/index.js +0 -7
  548. package/esm2015/json-formatter/covalent-core-json-formatter.js +0 -10
  549. package/esm2015/json-formatter/index.js +0 -7
  550. package/esm2015/json-formatter/json-formatter.component.js +0 -338
  551. package/esm2015/json-formatter/json-formatter.module.js +0 -20
  552. package/esm2015/json-formatter/public-api.js +0 -8
  553. package/esm2015/layout/covalent-core-layout.js +0 -10
  554. package/esm2015/layout/index.js +0 -7
  555. package/esm2015/layout/layout-card-over/layout-card-over.component.js +0 -71
  556. package/esm2015/layout/layout-footer/layout-footer.component.js +0 -71
  557. package/esm2015/layout/layout-manage-list/layout-manage-list.component.js +0 -145
  558. package/esm2015/layout/layout-manage-list/layout-manage-list.directives.js +0 -132
  559. package/esm2015/layout/layout-nav/layout-nav.component.js +0 -100
  560. package/esm2015/layout/layout-nav-list/layout-nav-list.component.js +0 -220
  561. package/esm2015/layout/layout-nav-list/layout-nav-list.directives.js +0 -132
  562. package/esm2015/layout/layout-toggle.class.js +0 -188
  563. package/esm2015/layout/layout.component.js +0 -145
  564. package/esm2015/layout/layout.directives.js +0 -129
  565. package/esm2015/layout/layout.module.js +0 -64
  566. package/esm2015/layout/navigation-drawer/navigation-drawer.component.js +0 -280
  567. package/esm2015/layout/public-api.js +0 -18
  568. package/esm2015/loading/covalent-core-loading.js +0 -10
  569. package/esm2015/loading/directives/loading.directive.js +0 -231
  570. package/esm2015/loading/index.js +0 -7
  571. package/esm2015/loading/loading.component.js +0 -302
  572. package/esm2015/loading/loading.module.js +0 -30
  573. package/esm2015/loading/public-api.js +0 -11
  574. package/esm2015/loading/services/loading.factory.js +0 -297
  575. package/esm2015/loading/services/loading.service.js +0 -319
  576. package/esm2015/media/covalent-core-media.js +0 -10
  577. package/esm2015/media/directives/media-toggle.directive.js +0 -207
  578. package/esm2015/media/index.js +0 -7
  579. package/esm2015/media/media.module.js +0 -20
  580. package/esm2015/media/public-api.js +0 -9
  581. package/esm2015/media/services/media.service.js +0 -169
  582. package/esm2015/menu/covalent-core-menu.js +0 -10
  583. package/esm2015/menu/index.js +0 -7
  584. package/esm2015/menu/menu.component.js +0 -16
  585. package/esm2015/menu/menu.module.js +0 -22
  586. package/esm2015/menu/public-api.js +0 -8
  587. package/esm2015/message/covalent-core-message.js +0 -10
  588. package/esm2015/message/index.js +0 -7
  589. package/esm2015/message/message.component.js +0 -307
  590. package/esm2015/message/message.module.js +0 -21
  591. package/esm2015/message/public-api.js +0 -8
  592. package/esm2015/nav-links/covalent-core-nav-links.js +0 -10
  593. package/esm2015/nav-links/index.js +0 -7
  594. package/esm2015/nav-links/nav-links.component.js +0 -138
  595. package/esm2015/nav-links/nav-links.module.js +0 -37
  596. package/esm2015/nav-links/public-api.js +0 -8
  597. package/esm2015/notifications/covalent-core-notifications.js +0 -10
  598. package/esm2015/notifications/index.js +0 -7
  599. package/esm2015/notifications/notification-count.component.js +0 -191
  600. package/esm2015/notifications/notifications.module.js +0 -20
  601. package/esm2015/notifications/public-api.js +0 -8
  602. package/esm2015/paging/covalent-core-paging.js +0 -10
  603. package/esm2015/paging/index.js +0 -7
  604. package/esm2015/paging/paging-bar.component.js +0 -412
  605. package/esm2015/paging/paging.module.js +0 -20
  606. package/esm2015/paging/public-api.js +0 -8
  607. package/esm2015/search/covalent-core-search.js +0 -10
  608. package/esm2015/search/index.js +0 -7
  609. package/esm2015/search/public-api.js +0 -9
  610. package/esm2015/search/search-box/search-box.component.js +0 -270
  611. package/esm2015/search/search-input/search-input.component.js +0 -260
  612. package/esm2015/search/search.module.js +0 -23
  613. package/esm2015/side-sheet/covalent-core-side-sheet.js +0 -12
  614. package/esm2015/side-sheet/index.js +0 -7
  615. package/esm2015/side-sheet/public-api.js +0 -11
  616. package/esm2015/side-sheet/side-sheet-container.js +0 -402
  617. package/esm2015/side-sheet/side-sheet-ref.js +0 -50
  618. package/esm2015/side-sheet/side-sheet.animation.js +0 -20
  619. package/esm2015/side-sheet/side-sheet.config.js +0 -12
  620. package/esm2015/side-sheet/side-sheet.content-directives.js +0 -255
  621. package/esm2015/side-sheet/side-sheet.js +0 -360
  622. package/esm2015/side-sheet/side-sheet.module.js +0 -36
  623. package/esm2015/sidesheet/covalent-core-sidesheet.js +0 -10
  624. package/esm2015/sidesheet/index.js +0 -7
  625. package/esm2015/sidesheet/public-api.js +0 -8
  626. package/esm2015/sidesheet/sidesheet.component.js +0 -72
  627. package/esm2015/sidesheet/sidesheet.module.js +0 -27
  628. package/esm2015/steps/covalent-core-steps.js +0 -10
  629. package/esm2015/steps/index.js +0 -7
  630. package/esm2015/steps/nav/nav-step-link/nav-step-link.component.js +0 -144
  631. package/esm2015/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.js +0 -371
  632. package/esm2015/steps/nav/nav-steps-vertical/nav-steps-vertical.component.js +0 -130
  633. package/esm2015/steps/public-api.js +0 -14
  634. package/esm2015/steps/step-body/step-body.component.js +0 -83
  635. package/esm2015/steps/step-header/step-header.component.js +0 -79
  636. package/esm2015/steps/step.component.js +0 -312
  637. package/esm2015/steps/steps.component.js +0 -234
  638. package/esm2015/steps/steps.module.js +0 -44
  639. package/esm2015/tab-select/covalent-core-tab-select.js +0 -10
  640. package/esm2015/tab-select/index.js +0 -7
  641. package/esm2015/tab-select/public-api.js +0 -9
  642. package/esm2015/tab-select/tab-option.component.js +0 -82
  643. package/esm2015/tab-select/tab-select.component.js +0 -291
  644. package/esm2015/tab-select/tab-select.module.js +0 -31
  645. package/esm2015/user-profile/covalent-core-user-profile.js +0 -10
  646. package/esm2015/user-profile/index.js +0 -7
  647. package/esm2015/user-profile/public_api.js +0 -9
  648. package/esm2015/user-profile/user-profile-menu/user-profile-menu.component.js +0 -35
  649. package/esm2015/user-profile/user-profile.component.js +0 -26
  650. package/esm2015/user-profile/user-profile.module.js +0 -33
  651. package/esm2015/virtual-scroll/covalent-core-virtual-scroll.js +0 -10
  652. package/esm2015/virtual-scroll/index.js +0 -7
  653. package/esm2015/virtual-scroll/public-api.js +0 -9
  654. package/esm2015/virtual-scroll/virtual-scroll-container.component.js +0 -391
  655. package/esm2015/virtual-scroll/virtual-scroll-row.directive.js +0 -25
  656. package/esm2015/virtual-scroll/virtual-scroll.module.js +0 -21
  657. package/expansion-panel/README.md +0 -116
  658. package/expansion-panel/_expansion-panel-theme.scss +0 -80
  659. package/expansion-panel/covalent-core-expansion-panel.d.ts +0 -4
  660. package/expansion-panel/covalent-core-expansion-panel.metadata.json +0 -1
  661. package/expansion-panel/expansion-panel-group.component.d.ts +0 -31
  662. package/expansion-panel/expansion-panel-group.component.scss +0 -0
  663. package/expansion-panel/expansion-panel.component.d.ts +0 -82
  664. package/expansion-panel/expansion-panel.component.scss +0 -50
  665. package/expansion-panel/expansion-panel.module.d.ts +0 -2
  666. package/expansion-panel/index.d.ts +0 -1
  667. package/expansion-panel/package.json +0 -11
  668. package/expansion-panel/public-api.d.ts +0 -3
  669. package/fesm2015/covalent-core-breadcrumbs.js +0 -448
  670. package/fesm2015/covalent-core-chips.js +0 -1151
  671. package/fesm2015/covalent-core-chips.js.map +0 -1
  672. package/fesm2015/covalent-core-common.js.map +0 -1
  673. package/fesm2015/covalent-core-data-table.js +0 -2309
  674. package/fesm2015/covalent-core-data-table.js.map +0 -1
  675. package/fesm2015/covalent-core-dialogs.js +0 -1001
  676. package/fesm2015/covalent-core-dialogs.js.map +0 -1
  677. package/fesm2015/covalent-core-dynamic-menu.js +0 -204
  678. package/fesm2015/covalent-core-dynamic-menu.js.map +0 -1
  679. package/fesm2015/covalent-core-expansion-panel.js +0 -528
  680. package/fesm2015/covalent-core-expansion-panel.js.map +0 -1
  681. package/fesm2015/covalent-core-file.js +0 -855
  682. package/fesm2015/covalent-core-file.js.map +0 -1
  683. package/fesm2015/covalent-core-json-formatter.js +0 -377
  684. package/fesm2015/covalent-core-json-formatter.js.map +0 -1
  685. package/fesm2015/covalent-core-layout.js +0 -1663
  686. package/fesm2015/covalent-core-layout.js.map +0 -1
  687. package/fesm2015/covalent-core-loading.js +0 -1179
  688. package/fesm2015/covalent-core-loading.js.map +0 -1
  689. package/fesm2015/covalent-core-media.js +0 -411
  690. package/fesm2015/covalent-core-media.js.map +0 -1
  691. package/fesm2015/covalent-core-menu.js +0 -57
  692. package/fesm2015/covalent-core-menu.js.map +0 -1
  693. package/fesm2015/covalent-core-message.js +0 -347
  694. package/fesm2015/covalent-core-message.js.map +0 -1
  695. package/fesm2015/covalent-core-nav-links.js +0 -193
  696. package/fesm2015/covalent-core-nav-links.js.map +0 -1
  697. package/fesm2015/covalent-core-notifications.js +0 -228
  698. package/fesm2015/covalent-core-notifications.js.map +0 -1
  699. package/fesm2015/covalent-core-paging.js +0 -451
  700. package/fesm2015/covalent-core-paging.js.map +0 -1
  701. package/fesm2015/covalent-core-search.js +0 -564
  702. package/fesm2015/covalent-core-search.js.map +0 -1
  703. package/fesm2015/covalent-core-side-sheet.js.map +0 -1
  704. package/fesm2015/covalent-core-sidesheet.js +0 -118
  705. package/fesm2015/covalent-core-sidesheet.js.map +0 -1
  706. package/fesm2015/covalent-core-steps.js +0 -1384
  707. package/fesm2015/covalent-core-steps.js.map +0 -1
  708. package/fesm2015/covalent-core-tab-select.js +0 -416
  709. package/fesm2015/covalent-core-tab-select.js.map +0 -1
  710. package/fesm2015/covalent-core-user-profile.js +0 -111
  711. package/fesm2015/covalent-core-user-profile.js.map +0 -1
  712. package/fesm2015/covalent-core-virtual-scroll.js +0 -453
  713. package/fesm2015/covalent-core-virtual-scroll.js.map +0 -1
  714. package/fesm2015/covalent-core.js +0 -12
  715. package/fesm2015/covalent-core.js.map +0 -1
  716. package/file/covalent-core-file.metadata.json +0 -1
  717. package/json-formatter/covalent-core-json-formatter.metadata.json +0 -1
  718. package/layout/covalent-core-layout.metadata.json +0 -1
  719. package/loading/README.md +0 -180
  720. package/loading/_loading-theme.scss +0 -10
  721. package/loading/covalent-core-loading.d.ts +0 -4
  722. package/loading/covalent-core-loading.metadata.json +0 -1
  723. package/loading/directives/loading.directive.d.ts +0 -71
  724. package/loading/index.d.ts +0 -1
  725. package/loading/loading.component.d.ts +0 -87
  726. package/loading/loading.component.scss +0 -42
  727. package/loading/loading.module.d.ts +0 -2
  728. package/loading/package.json +0 -11
  729. package/loading/public-api.d.ts +0 -5
  730. package/loading/services/loading.factory.d.ts +0 -66
  731. package/loading/services/loading.service.d.ts +0 -118
  732. package/media/covalent-core-media.d.ts +0 -4
  733. package/media/covalent-core-media.metadata.json +0 -1
  734. package/media/directives/media-toggle.directive.d.ts +0 -42
  735. package/media/index.d.ts +0 -1
  736. package/media/media.module.d.ts +0 -2
  737. package/media/package.json +0 -11
  738. package/media/public-api.d.ts +0 -3
  739. package/media/services/media.service.d.ts +0 -31
  740. package/menu/covalent-core-menu.metadata.json +0 -1
  741. package/message/covalent-core-message.metadata.json +0 -1
  742. package/nav-links/README.md +0 -1
  743. package/nav-links/covalent-core-nav-links.d.ts +0 -4
  744. package/nav-links/covalent-core-nav-links.metadata.json +0 -1
  745. package/nav-links/index.d.ts +0 -1
  746. package/nav-links/nav-links.component.d.ts +0 -51
  747. package/nav-links/nav-links.component.scss +0 -15
  748. package/nav-links/nav-links.module.d.ts +0 -2
  749. package/nav-links/package.json +0 -11
  750. package/nav-links/public-api.d.ts +0 -2
  751. package/notifications/README.md +0 -69
  752. package/notifications/_notification-count-theme.scss +0 -27
  753. package/notifications/covalent-core-notifications.d.ts +0 -4
  754. package/notifications/covalent-core-notifications.metadata.json +0 -1
  755. package/notifications/index.d.ts +0 -1
  756. package/notifications/notification-count.component.d.ts +0 -74
  757. package/notifications/notification-count.component.scss +0 -90
  758. package/notifications/notifications.module.d.ts +0 -2
  759. package/notifications/package.json +0 -11
  760. package/notifications/public-api.d.ts +0 -2
  761. package/paging/README.md +0 -141
  762. package/paging/_paging-bar-theme.scss +0 -26
  763. package/paging/covalent-core-paging.d.ts +0 -4
  764. package/paging/covalent-core-paging.metadata.json +0 -1
  765. package/paging/index.d.ts +0 -1
  766. package/paging/package.json +0 -11
  767. package/paging/paging-bar.component.d.ts +0 -115
  768. package/paging/paging-bar.component.scss +0 -23
  769. package/paging/paging.module.d.ts +0 -2
  770. package/paging/public-api.d.ts +0 -2
  771. package/schematics/collection.json +0 -11
  772. package/schematics/components.js +0 -124
  773. package/schematics/components.js.map +0 -1
  774. package/schematics/migration.json +0 -10
  775. package/schematics/ng-add/index.js +0 -58
  776. package/schematics/ng-add/index.js.map +0 -1
  777. package/schematics/ng-add/schema.js +0 -3
  778. package/schematics/ng-add/schema.js.map +0 -1
  779. package/schematics/ng-add/schema.json +0 -81
  780. package/schematics/ng-update/index.js +0 -52
  781. package/schematics/ng-update/index.js.map +0 -1
  782. package/schematics/ng-update/target-version.js +0 -8
  783. package/schematics/ng-update/target-version.js.map +0 -1
  784. package/schematics/version-names.js +0 -6
  785. package/schematics/version-names.js.map +0 -1
  786. package/search/covalent-core-search.metadata.json +0 -1
  787. package/side-sheet/covalent-core-side-sheet.metadata.json +0 -1
  788. package/sidesheet/README.md +0 -68
  789. package/sidesheet/covalent-core-sidesheet.d.ts +0 -4
  790. package/sidesheet/covalent-core-sidesheet.metadata.json +0 -1
  791. package/sidesheet/index.d.ts +0 -1
  792. package/sidesheet/package.json +0 -11
  793. package/sidesheet/public-api.d.ts +0 -2
  794. package/sidesheet/sidesheet.component.d.ts +0 -13
  795. package/sidesheet/sidesheet.component.scss +0 -101
  796. package/sidesheet/sidesheet.module.d.ts +0 -2
  797. package/steps/README.md +0 -159
  798. package/steps/_steps-theme.scss +0 -108
  799. package/steps/covalent-core-steps.d.ts +0 -4
  800. package/steps/covalent-core-steps.metadata.json +0 -1
  801. package/steps/index.d.ts +0 -1
  802. package/steps/nav/README.md +0 -90
  803. package/steps/nav/nav-step-link/nav-step-link.component.d.ts +0 -42
  804. package/steps/nav/nav-step-link/nav-step-link.component.scss +0 -17
  805. package/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.d.ts +0 -79
  806. package/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.scss +0 -83
  807. package/steps/nav/nav-steps-vertical/nav-steps-vertical.component.d.ts +0 -18
  808. package/steps/nav/nav-steps-vertical/nav-steps-vertical.component.scss +0 -18
  809. package/steps/package.json +0 -11
  810. package/steps/public-api.d.ts +0 -8
  811. package/steps/step-body/step-body.component.d.ts +0 -25
  812. package/steps/step-body/step-body.component.scss +0 -29
  813. package/steps/step-header/step-header.component.d.ts +0 -35
  814. package/steps/step-header/step-header.component.scss +0 -90
  815. package/steps/step.component.d.ts +0 -97
  816. package/steps/steps.component.d.ts +0 -60
  817. package/steps/steps.component.scss +0 -55
  818. package/steps/steps.module.d.ts +0 -2
  819. package/tab-select/README.md +0 -93
  820. package/tab-select/covalent-core-tab-select.d.ts +0 -4
  821. package/tab-select/covalent-core-tab-select.metadata.json +0 -1
  822. package/tab-select/index.d.ts +0 -1
  823. package/tab-select/package.json +0 -11
  824. package/tab-select/public-api.d.ts +0 -3
  825. package/tab-select/tab-option.component.d.ts +0 -20
  826. package/tab-select/tab-option.component.scss +0 -0
  827. package/tab-select/tab-select.component.d.ts +0 -62
  828. package/tab-select/tab-select.component.scss +0 -3
  829. package/tab-select/tab-select.module.d.ts +0 -2
  830. package/user-profile/covalent-core-user-profile.metadata.json +0 -1
  831. package/virtual-scroll/README.md +0 -68
  832. package/virtual-scroll/covalent-core-virtual-scroll.d.ts +0 -4
  833. package/virtual-scroll/covalent-core-virtual-scroll.metadata.json +0 -1
  834. package/virtual-scroll/index.d.ts +0 -1
  835. package/virtual-scroll/package.json +0 -11
  836. package/virtual-scroll/public-api.d.ts +0 -3
  837. package/virtual-scroll/virtual-scroll-container.component.d.ts +0 -73
  838. package/virtual-scroll/virtual-scroll-container.component.scss +0 -7
  839. package/virtual-scroll/virtual-scroll-row.directive.d.ts +0 -5
  840. package/virtual-scroll/virtual-scroll.module.d.ts +0 -2
@@ -0,0 +1,51 @@
1
+ import { trigger, state, style, transition, animate, AUTO_STYLE, query, animateChild, group, } from '@angular/animations';
2
+ /**
3
+ * const tdCollapseAnimation
4
+ *
5
+ * Parameter Options:
6
+ * * duration: Duration the animation will run in milliseconds. Defaults to 150 ms.
7
+ * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
8
+ * * easeOnClose: Animation accelerates and decelerates when closing. Defaults to ease-in.
9
+ * * easeOnOpen: Animation accelerates and decelerates when opening. Defaults to ease-out.
10
+ *
11
+ * Returns an [AnimationTriggerMetadata] object with boolean states for a collapse/expand animation.
12
+ *
13
+ * usage: [@tdCollapse]="{ value: true | false, params: { duration: 500 }}"
14
+ */
15
+ export const tdCollapseAnimation = trigger('tdCollapse', [
16
+ state('1', style({
17
+ height: '0',
18
+ overflow: 'hidden',
19
+ })),
20
+ state('0', style({
21
+ height: AUTO_STYLE,
22
+ overflow: AUTO_STYLE,
23
+ })),
24
+ transition('0 => 1', [
25
+ style({
26
+ overflow: 'hidden',
27
+ height: AUTO_STYLE,
28
+ }),
29
+ group([
30
+ query('@*', animateChild(), { optional: true }),
31
+ animate('{{ duration }}ms {{ delay }}ms {{ ease }}', style({
32
+ height: '0',
33
+ overflow: 'hidden',
34
+ })),
35
+ ]),
36
+ ], { params: { duration: 150, delay: '0', ease: 'ease-in' } }),
37
+ transition('1 => 0', [
38
+ style({
39
+ height: '0',
40
+ overflow: 'hidden',
41
+ }),
42
+ group([
43
+ query('@*', animateChild(), { optional: true }),
44
+ animate('{{ duration }}ms {{ delay }}ms {{ ease }}', style({
45
+ overflow: 'hidden',
46
+ height: AUTO_STYLE,
47
+ })),
48
+ ]),
49
+ ], { params: { duration: 150, delay: '0', ease: 'ease-out' } }),
50
+ ]);
51
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sbGFwc2UuYW5pbWF0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL3BsYXRmb3JtL2NvcmUvY29tbW9uL2FuaW1hdGlvbnMvY29sbGFwc2UvY29sbGFwc2UuYW5pbWF0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxPQUFPLEVBQ1AsS0FBSyxFQUNMLEtBQUssRUFDTCxVQUFVLEVBQ1YsT0FBTyxFQUVQLFVBQVUsRUFDVixLQUFLLEVBQ0wsWUFBWSxFQUNaLEtBQUssR0FDTixNQUFNLHFCQUFxQixDQUFDO0FBUTdCOzs7Ozs7Ozs7Ozs7R0FZRztBQUNILE1BQU0sQ0FBQyxNQUFNLG1CQUFtQixHQUE2QixPQUFPLENBQUMsWUFBWSxFQUFFO0lBQ2pGLEtBQUssQ0FDSCxHQUFHLEVBQ0gsS0FBSyxDQUFDO1FBQ0osTUFBTSxFQUFFLEdBQUc7UUFDWCxRQUFRLEVBQUUsUUFBUTtLQUNuQixDQUFDLENBQ0g7SUFDRCxLQUFLLENBQ0gsR0FBRyxFQUNILEtBQUssQ0FBQztRQUNKLE1BQU0sRUFBRSxVQUFVO1FBQ2xCLFFBQVEsRUFBRSxVQUFVO0tBQ3JCLENBQUMsQ0FDSDtJQUNELFVBQVUsQ0FDUixRQUFRLEVBQ1I7UUFDRSxLQUFLLENBQUM7WUFDSixRQUFRLEVBQUUsUUFBUTtZQUNsQixNQUFNLEVBQUUsVUFBVTtT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MCcsIGVhc2U6ICdlYXNlLWluJyB9IH0sXG4gICksXG4gIHRyYW5zaXRpb24oXG4gICAgJzEgPT4gMCcsXG4gICAgW1xuICAgICAgc3R5bGUoe1xuICAgICAgICBoZWlnaHQ6ICcwJyxcbiAgICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgfSksXG4gICAgICBncm91cChbXG4gICAgICAgIHF1ZXJ5KCdAKicsIGFuaW1hdGVDaGlsZCgpLCB7IG9wdGlvbmFsOiB0cnVlIH0pLFxuICAgICAgICBhbmltYXRlKFxuICAgICAgICAgICd7eyBkdXJhdGlvbiB9fW1zIHt7IGRlbGF5IH19bXMge3sgZWFzZSB9fScsXG4gICAgICAgICAgc3R5bGUoe1xuICAgICAgICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgICAgICAgaGVpZ2h0OiBBVVRPX1NUWUxFLFxuICAgICAgICAgIH0pLFxuICAgICAgICApLFxuICAgICAgXSksXG4gICAgXSxcbiAgICB7IHBhcmFtczogeyBkdXJhdGlvbjogMTUwLCBkZWxheTogJzAnLCBlYXNlOiAnZWFzZS1vdXQnIH0gfSxcbiAgKSxcbl0pO1xuIl19
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJmYWNlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9wbGF0Zm9ybS9jb3JlL2NvbW1vbi9hbmltYXRpb25zL2NvbW1vbi9pbnRlcmZhY2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElBbmltYXRpb25PcHRpb25zIHtcbiAgYW5jaG9yPzogc3RyaW5nO1xuICBkdXJhdGlvbj86IG51bWJlcjtcbiAgZGVsYXk/OiBudW1iZXI7XG59XG4iXX0=
@@ -0,0 +1,37 @@
1
+ import { trigger, state, style, transition, animate, AUTO_STYLE, query, animateChild, group, } from '@angular/animations';
2
+ /**
3
+ * const tdFadeInOutAnimation
4
+ *
5
+ * Parameter Options:
6
+ * * duration: Duration the animation will run in milliseconds. Defaults to 150 ms.
7
+ * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
8
+ * * easeOnIn: Animation accelerates and decelerates when fading in. Defaults to ease-in.
9
+ * * easeOnOut: Animation accelerates and decelerates when fading out. Defaults to ease-out.
10
+ *
11
+ * Returns an [AnimationTriggerMetadata] object with boolean states for a fade animation.
12
+ *
13
+ * usage: [@tdFadeInOut]="{ value: true | false, params: { duration: 200 }}"
14
+ */
15
+ export const tdFadeInOutAnimation = trigger('tdFadeInOut', [
16
+ state('0', style({
17
+ opacity: '0',
18
+ visibility: 'hidden',
19
+ })),
20
+ state('1', style({
21
+ opacity: AUTO_STYLE,
22
+ visibility: AUTO_STYLE,
23
+ })),
24
+ transition('0 => 1', [
25
+ group([
26
+ query('@*', animateChild(), { optional: true }),
27
+ animate('{{ duration }}ms {{ delay }}ms {{ easeOnIn }}'),
28
+ ]),
29
+ ], { params: { duration: 150, delay: '0', easeOnIn: 'ease-in' } }),
30
+ transition('1 => 0', [
31
+ group([
32
+ query('@*', animateChild(), { optional: true }),
33
+ animate('{{ duration }}ms {{ delay }}ms {{ easeOnOut }}'),
34
+ ]),
35
+ ], { params: { duration: 150, delay: '0', easeOnOut: 'ease-out' } }),
36
+ ]);
37
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFkZUluT3V0LmFuaW1hdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9wbGF0Zm9ybS9jb3JlL2NvbW1vbi9hbmltYXRpb25zL2ZhZGUvZmFkZUluT3V0LmFuaW1hdGlvbi50cyJdLCJuY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sgcGFyYW1zOiB7IGR1cmF0aW9uOiAxNTAsIGRlbGF5OiAnMCcsIGVhc2VPbkluOiAnZWFzZS1pbicgfSB9LFxuICApLFxuICB0cmFuc2l0aW9uKFxuICAgICcxID0+IDAnLFxuICAgIFtcbiAgICAgIGdyb3VwKFtcbiAgICAgICAgcXVlcnkoJ0AqJywgYW5pbWF0ZUNoaWxkKCksIHsgb3B0aW9uYWw6IHRydWUgfSksXG4gICAgICAgIGFuaW1hdGUoJ3t7IGR1cmF0aW9uIH19bXMge3sgZGVsYXkgfX1tcyB7eyBlYXNlT25PdXQgfX0nKSxcbiAgICAgIF0pLFxuICAgIF0sXG4gICAgeyBwYXJhbXM6IHsgZHVyYXRpb246IDE1MCwgZGVsYXk6ICcwJywgZWFzZU9uT3V0OiAnZWFzZS1vdXQnIH0gfSxcbiAgKSxcbl0pO1xuIl19
@@ -0,0 +1,34 @@
1
+ import { trigger, state, style, keyframes, transition, animate, query, animateChild, group, } from '@angular/animations';
2
+ /**
3
+ * const tdFlashAnimation
4
+ *
5
+ * Parameter Options:
6
+ * * duration: Duration the animation will run in milliseconds. Defaults to 500 ms.
7
+ * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
8
+ * * ease: Animation accelerate and decelerate style. Defaults to ease-out.
9
+ *
10
+ * Returns an [AnimationTriggerMetadata] object with boolean states for a flash animation.
11
+ *
12
+ * usage: [@tdFlash]="{ value: true | false, params: { duration: 200 }}"
13
+ */
14
+ export const tdFlashAnimation = trigger('tdFlash', [
15
+ state('0', style({
16
+ opacity: 1,
17
+ })),
18
+ state('1', style({
19
+ opacity: 1,
20
+ })),
21
+ transition('0 <=> 1', [
22
+ group([
23
+ query('@*', animateChild(), { optional: true }),
24
+ animate('{{ duration }}ms {{ delay }}ms {{ ease }}', keyframes([
25
+ style({ opacity: 1, offset: 0 }),
26
+ style({ opacity: 0, offset: 0.25 }),
27
+ style({ opacity: 1, offset: 0.5 }),
28
+ style({ opacity: 0, offset: 0.75 }),
29
+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1tcyB7eyBlYXNlIH19JyxcbiAgICAgICAgICBrZXlmcmFtZXMoW1xuICAgICAgICAgICAgc3R5bGUoeyBvcGFjaXR5OiAxLCBvZmZzZXQ6IDAgfSksXG4gICAgICAgICAgICBzdHlsZSh7IG9wYWNpdHk6IDAsIG9mZnNldDogMC4yNSB9KSxcbiAgICAgICAgICAgIHN0eWxlKHsgb3BhY2l0eTogMSwgb2Zmc2V0OiAwLjUgfSksXG4gICAgICAgICAgICBzdHlsZSh7IG9wYWNpdHk6IDAsIG9mZnNldDogMC43NSB9KSxcbiAgICAgICAgICAgIHN0eWxlKHsgb3BhY2l0eTogMSwgb2Zmc2V0OiAxLjAgfSksXG4gICAgICAgICAgXSksXG4gICAgICAgICksXG4gICAgICBdKSxcbiAgICBdLFxuICAgIHsgcGFyYW1zOiB7IGR1cmF0aW9uOiA1MDAsIGRlbGF5OiAnMCcsIGVhc2U6ICdlYXNlLW91dCcgfSB9LFxuICApLFxuXSk7XG4iXX0=
@@ -0,0 +1,35 @@
1
+ import { trigger, state, style, keyframes, transition, animate, query, animateChild, group, } from '@angular/animations';
2
+ /**
3
+ * const tdHeadshakeAnimation
4
+ *
5
+ * Parameter Options:
6
+ * * duration: Duration the animation will run in milliseconds. Defaults to 500 ms.
7
+ * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
8
+ * * ease: Animation accelerate and decelerate style. Defaults to ease-out.
9
+ *
10
+ * Returns an [AnimationTriggerMetadata] object with boolean states for a headshake animation.
11
+ *
12
+ * usage: [@tdHeadshake]="{ value: true | false, params: { duration: 200 }}"
13
+ */
14
+ export const tdHeadshakeAnimation = trigger('tdHeadshake', [
15
+ state('0', style({
16
+ transform: 'translateX(0)',
17
+ })),
18
+ state('1', style({
19
+ transform: 'translateX(0)',
20
+ })),
21
+ transition('0 <=> 1', [
22
+ group([
23
+ query('@*', animateChild(), { optional: true }),
24
+ animate('{{ duration }}ms {{ delay }}ms {{ ease }}', keyframes([
25
+ style({ transform: 'translateX(0)', offset: 0 }),
26
+ style({ transform: 'translateX(-6px) rotateY(-9deg)', offset: 0.065 }),
27
+ style({ transform: 'translateX(5px) rotateY(7deg)', offset: 0.185 }),
28
+ style({ transform: 'translateX(-3px) rotateY(-5deg)', offset: 0.315 }),
29
+ style({ transform: 'translateX(2px) rotateY(3deg)', offset: 0.435 }),
30
+ style({ transform: 'translateX(0)', offset: 0.5 }),
31
+ ])),
32
+ ]),
33
+ ], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
34
+ ]);
35
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZHNoYWtlLmFuaW1hdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9wbGF0Zm9ybS9jb3JlL2NvbW1vbi9hbmltYXRpb25zL2hlYWRzaGFrZS9oZWFkc2hha2UuYW5pbWF0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxPQUFPLEVBQ1AsS0FBSyxFQUNMLEtBQUssRUFDTCxTQUFTLEVBQ1QsVUFBVSxFQUNWLE9BQU8sRUFHUCxLQUFLLEVBQ0wsWUFBWSxFQUNaLEtBQUssR0FDTixNQUFNLHFCQUFxQixDQUFDO0FBRzdCOzs7Ozs7Ozs7OztHQVdHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sb0JBQW9CLEdBQTZCLE9BQU8sQ0FBQyxhQUFhLEVBQUU7SUFDbkYsS0FBSyxDQUNILEdBQUcsRUFDSCxLQUFLLENBQUM7UUFDSixTQUFTLEVBQUUsZUFBZTtLQUMzQixDQUFDLENBQ0g7SUFDRCxLQUFLLENBQ0gsR0FBRyxFQUNILEtBQUssQ0FBQztRQUNKLFNBQVMsRUFBRSxlQUFlO0tBQzNCLENBQUMsQ0FDSDtJQUNELFVBQVUsQ0FDUixTQUFTLEVBQ1Q7UUFDRSx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ksXG4gICAgICBdKSxcbiAgICBdLFxuICAgIHsgcGFyYW1zOiB7IGR1cmF0aW9uOiA1MDAsIGRlbGF5OiAnMCcsIGVhc2U6ICdlYXNlLW91dCcgfSB9LFxuICApLFxuXSk7XG4iXX0=
@@ -0,0 +1,38 @@
1
+ import { trigger, state, style, keyframes, transition, animate, query, animateChild, group, } from '@angular/animations';
2
+ /**
3
+ * const tdJelloAnimation
4
+ *
5
+ * Parameter Options:
6
+ * * duration: Duration the animation will run in milliseconds. Defaults to 500 ms.
7
+ * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
8
+ * * ease: Animation accelerate and decelerate style. Defaults to ease-out.
9
+ *
10
+ * Returns an [AnimationTriggerMetadata] object with boolean states for a jello animation.
11
+ *
12
+ * usage: [@tdJello]="{ value: true | false, params: { duration: 200 }}"
13
+ */
14
+ export const tdJelloAnimation = trigger('tdJello', [
15
+ state('0', style({
16
+ transform: 'none',
17
+ })),
18
+ state('1', style({
19
+ transform: 'none',
20
+ })),
21
+ transition('0 <=> 1', [
22
+ group([
23
+ query('@*', animateChild(), { optional: true }),
24
+ animate('{{ duration }}ms {{ delay }}ms {{ ease }}', keyframes([
25
+ style({ transform: 'none', offset: 0 }),
26
+ style({ transform: 'none', offset: 0.011 }),
27
+ style({ transform: 'skewX(-12.5deg) skewY(-12.5deg)', offset: 0.222 }),
28
+ style({ transform: 'skewX(6.25deg) skewY(6.25deg)', offset: 0.333 }),
29
+ style({ transform: 'skewX(-3.125deg) skewY(-3.125deg)', offset: 0.444 }),
30
+ style({ transform: 'skewX(1.5625deg) skewY(1.5625deg)', offset: 0.555 }),
31
+ style({ transform: 'skewX(-0.78125deg) skewY(-0.78125deg)', offset: 0.666 }),
32
+ style({ transform: 'skewX(0.390625deg) skewY(0.390625deg)', offset: 0.777 }),
33
+ style({ transform: 'skewX(-0.1953125deg) skewY(-0.1953125deg)', offset: 0.888 }),
34
+ ])),
35
+ ]),
36
+ ], { params: { duration: 500, delay: '0', ease: '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AuNjY2IH0pLFxuICAgICAgICAgICAgc3R5bGUoeyB0cmFuc2Zvcm06ICdza2V3WCgwLjM5MDYyNWRlZykgc2tld1koMC4zOTA2MjVkZWcpJywgb2Zmc2V0OiAwLjc3NyB9KSxcbiAgICAgICAgICAgIHN0eWxlKHsgdHJhbnNmb3JtOiAnc2tld1goLTAuMTk1MzEyNWRlZykgc2tld1koLTAuMTk1MzEyNWRlZyknLCBvZmZzZXQ6IDAuODg4IH0pLFxuICAgICAgICAgIF0pLFxuICAgICAgICApLFxuICAgICAgXSksXG4gICAgXSxcbiAgICB7IHBhcmFtczogeyBkdXJhdGlvbjogNTAwLCBkZWxheTogJzAnLCBlYXNlOiAnZWFzZS1vdXQnIH0gfSxcbiAgKSxcbl0pO1xuIl19
@@ -0,0 +1,32 @@
1
+ import { trigger, state, style, keyframes, transition, animate, query, animateChild, group, } from '@angular/animations';
2
+ /**
3
+ * const tdPulseAnimation
4
+ *
5
+ * Parameter Options:
6
+ * * duration: Duration the animation will run in milliseconds. Defaults to 500 ms.
7
+ * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
8
+ * * ease: Animation accelerate and decelerate style. Defaults to ease-out.
9
+ *
10
+ * Returns an [AnimationTriggerMetadata] object with boolean states for a pulse animation.
11
+ *
12
+ * usage: [@tdPulse]="{ value: true | false, params: { duration: 200 }}"
13
+ */
14
+ export const tdPulseAnimation = trigger('tdPulse', [
15
+ state('0', style({
16
+ transform: 'scale3d(1, 1, 1)',
17
+ })),
18
+ state('1', style({
19
+ transform: 'scale3d(1, 1, 1)',
20
+ })),
21
+ transition('0 <=> 1', [
22
+ group([
23
+ query('@*', animateChild(), { optional: true }),
24
+ animate('{{ duration }}ms {{ delay }}ms {{ ease }}', keyframes([
25
+ style({ transform: 'scale3d(1, 1, 1)', offset: 0 }),
26
+ style({ transform: 'scale3d(1.05, 1.05, 1.05)', offset: 0.5 }),
27
+ style({ transform: 'scale3d(1, 1, 1)', offset: 1.0 }),
28
+ ])),
29
+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ICdzY2FsZTNkKDEuMDUsIDEuMDUsIDEuMDUpJywgb2Zmc2V0OiAwLjUgfSksXG4gICAgICAgICAgICBzdHlsZSh7IHRyYW5zZm9ybTogJ3NjYWxlM2QoMSwgMSwgMSknLCBvZmZzZXQ6IDEuMCB9KSxcbiAgICAgICAgICBdKSxcbiAgICAgICAgKSxcbiAgICAgIF0pLFxuICAgIF0sXG4gICAgeyBwYXJhbXM6IHsgZHVyYXRpb246IDUwMCwgZGVsYXk6ICcwJywgZWFzZTogJ2Vhc2Utb3V0JyB9IH0sXG4gICksXG5dKTtcbiJdfQ==
@@ -0,0 +1,25 @@
1
+ import { trigger, state, style, transition, animate, query, animateChild, group, } from '@angular/animations';
2
+ /**
3
+ * const tdRotateAnimation
4
+ *
5
+ * Parameter Options:
6
+ * * degressStart: Degrees of rotation that the dom object will end up in during the "false" state
7
+ * * degreesEnd: Degrees of rotation that the dom object will end up in during the "true" state
8
+ * * duration: Duration the animation will run in milliseconds. Defaults to 150 ms.
9
+ * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
10
+ * * ease: Animation accelerates and decelerates. Defaults to ease-in.
11
+ *
12
+ * Returns an [AnimationTriggerMetadata] object with boolean states for a rotation animation.
13
+ *
14
+ * usage: [@tdRotate]="{ value: true | false, params: { degreesEnd: 90 }}"
15
+ */
16
+ export const tdRotateAnimation = trigger('tdRotate', [
17
+ state('0', style({
18
+ transform: 'rotate({{ degressStart }}deg)',
19
+ }), { params: { degressStart: 0 } }),
20
+ state('1', style({
21
+ transform: 'rotate({{ degreesEnd }}deg)',
22
+ }), { params: { degreesEnd: 180 } }),
23
+ transition('0 <=> 1', [group([query('@*', animateChild(), { optional: true }), animate('{{ duration }}ms {{ delay }}ms {{ ease }}')])], { params: { duration: 250, delay: '0', ease: 'ease-in' } }),
24
+ ]);
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm90YXRlLmFuaW1hdGlvbi5qcyIsInNvdXJjZV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FzZSB9fScpXSldLFxuICAgIHsgcGFyYW1zOiB7IGR1cmF0aW9uOiAyNTAsIGRlbGF5OiAnMCcsIGVhc2U6ICdlYXNlLWluJyB9IH0sXG4gICksXG5dKTtcbiJdfQ==
@@ -0,0 +1,39 @@
1
+ import { Subject } from 'rxjs';
2
+ const noop = () => {
3
+ // empty method
4
+ };
5
+ /** Mixin to augment a component with ngModel support. */
6
+ export function mixinControlValueAccessor(base, initialValue) {
7
+ return class extends base {
8
+ constructor(...args) {
9
+ super(...args);
10
+ this._value = initialValue instanceof Array ? Object.assign([], initialValue) : initialValue;
11
+ this.onChange = (_) => noop;
12
+ this.onTouched = () => noop;
13
+ this._subjectValueChanges = new Subject();
14
+ this.valueChanges = this._subjectValueChanges.asObservable();
15
+ }
16
+ set value(v) {
17
+ if (v !== this._value) {
18
+ this._value = v;
19
+ this.onChange(v);
20
+ this._changeDetectorRef.markForCheck();
21
+ this._subjectValueChanges.next(v);
22
+ }
23
+ }
24
+ get value() {
25
+ return this._value;
26
+ }
27
+ writeValue(value) {
28
+ this.value = value;
29
+ this._changeDetectorRef.markForCheck();
30
+ }
31
+ registerOnChange(fn) {
32
+ this.onChange = fn;
33
+ }
34
+ registerOnTouched(fn) {
35
+ this.onTouched = fn;
36
+ }
37
+ };
38
+ }
39
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbC12YWx1ZS1hY2Nlc29yLm1peGluLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL3BsYXRmb3JtL2NvcmUvY29tbW9uL2JlaGF2aW9ycy9jb250cm9sLXZhbHVlLWFjY2Vzb3IubWl4aW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsT0FBTyxFQUFjLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUkzQyxNQUFNLElBQUksR0FBUSxHQUFHLEVBQUU7SU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pcy5fY2hhbmdlRGV0ZWN0b3JSZWYubWFya0ZvckNoZWNrKCk7XG4gICAgICAgIHRoaXMuX3N1YmplY3RWYWx1ZUNoYW5nZXMubmV4dCh2KTtcbiAgICAgIH1cbiAgICB9XG4gICAgZ2V0IHZhbHVlKCk6IGFueSB7XG4gICAgICByZXR1cm4gdGhpcy5fdmFsdWU7XG4gICAgfVxuXG4gICAgd3JpdGVWYWx1ZSh2YWx1ZTogYW55KTogdm9pZCB7XG4gICAgICB0aGlzLnZhbHVlID0gdmFsdWU7XG4gICAgICB0aGlzLl9jaGFuZ2VEZXRlY3RvclJlZi5tYXJrRm9yQ2hlY2soKTtcbiAgICB9XG5cbiAgICByZWdpc3Rlck9uQ2hhbmdlKGZuOiBhbnkpOiB2b2lkIHtcbiAgICAgIHRoaXMub25DaGFuZ2UgPSBmbjtcbiAgICB9XG5cbiAgICByZWdpc3Rlck9uVG91Y2hlZChmbjogYW55KTogdm9pZCB7XG4gICAgICB0aGlzLm9uVG91Y2hlZCA9IGZuO1xuICAgIH1cblxuICAgIG9uQ2hhbmdlID0gKF86IGFueSkgPT4gbm9vcDtcbiAgICBvblRvdWNoZWQgPSAoKSA9PiBub29wO1xuICB9O1xufVxuIl19
@@ -0,0 +1,24 @@
1
+ import { coerceBooleanProperty } from '@angular/cdk/coercion';
2
+ /** Mixin to augment a component or directive with a `disabled` property. */
3
+ export function mixinDisableRipple(base) {
4
+ return class extends base {
5
+ constructor(...args) {
6
+ super(...args);
7
+ this._disableRipple = false;
8
+ }
9
+ get disableRipple() {
10
+ return this._disableRipple;
11
+ }
12
+ set disableRipple(value) {
13
+ const newValue = coerceBooleanProperty(value);
14
+ if (this._disableRipple !== newValue) {
15
+ this._disableRipple = newValue;
16
+ this.onDisableRippleChange(this._disableRipple);
17
+ }
18
+ }
19
+ onDisableRippleChange(v) {
20
+ /** NOT IMPLEMENTED, this needs to be overriden by subclasses if needed */
21
+ }
22
+ };
23
+ }
24
+ //# sourceMappingURL=data:application/json;base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VmFsdWUpIHtcbiAgICAgICAgdGhpcy5fZGlzYWJsZVJpcHBsZSA9IG5ld1ZhbHVlO1xuICAgICAgICB0aGlzLm9uRGlzYWJsZVJpcHBsZUNoYW5nZSh0aGlzLl9kaXNhYmxlUmlwcGxlKTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICBvbkRpc2FibGVSaXBwbGVDaGFuZ2UodjogYm9vbGVhbik6IHZvaWQge1xuICAgICAgLyoqIE5PVCBJTVBMRU1FTlRFRCwgdGhpcyBuZWVkcyB0byBiZSBvdmVycmlkZW4gYnkgc3ViY2xhc3NlcyBpZiBuZWVkZWQgKi9cbiAgICB9XG4gIH07XG59XG4iXX0=
@@ -0,0 +1,24 @@
1
+ import { coerceBooleanProperty } from '@angular/cdk/coercion';
2
+ /** Mixin to augment a component or directive with a `disabled` property. */
3
+ export function mixinDisabled(base) {
4
+ return class extends base {
5
+ constructor(...args) {
6
+ super(...args);
7
+ this._disabled = false;
8
+ }
9
+ get disabled() {
10
+ return this._disabled;
11
+ }
12
+ set disabled(value) {
13
+ const newValue = coerceBooleanProperty(value);
14
+ if (this._disabled !== newValue) {
15
+ this._disabled = newValue;
16
+ this.onDisabledChange(this._disabled);
17
+ }
18
+ }
19
+ onDisabledChange(v) {
20
+ /** NOT IMPLEMENTED, this needs to be overriden by subclasses if needed */
21
+ }
22
+ };
23
+ }
24
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlzYWJsZWQubWl4aW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvcGxhdGZvcm0vY29yZS9jb21tb24vYmVoYXZpb3JzL2Rpc2FibGVkLm1peGluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBVTlELDRFQUE0RTtBQUM1RSxNQUFNLFVB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+ import { FormsModule } from '@angular/forms';
4
+ /**
5
+ * Directives
6
+ */
7
+ import { TdAutoTrimDirective } from './forms/auto-trim/auto-trim.directive';
8
+ import { TdFullscreenDirective } from './directives/fullscreen/fullscreen.directive';
9
+ /**
10
+ * PIPES
11
+ */
12
+ import { TdTimeAgoPipe } from './pipes/time-ago/time-ago.pipe';
13
+ import { TdTimeDifferencePipe } from './pipes/time-difference/time-difference.pipe';
14
+ import { TdTimeUntilPipe } from './pipes/time-until/time-until.pipe';
15
+ import { TdBytesPipe } from './pipes/bytes/bytes.pipe';
16
+ import { TdDecimalBytesPipe } from './pipes/decimal-bytes/decimal-bytes.pipe';
17
+ import { TdDigitsPipe } from './pipes/digits/digits.pipe';
18
+ import { TdTruncatePipe } from './pipes/truncate/truncate.pipe';
19
+ /**
20
+ * Services
21
+ */
22
+ import { RouterPathService } from './services/router-path.service';
23
+ import { IconService } from './services/icon.service';
24
+ import * as i0 from "@angular/core";
25
+ const TD_DIRECTIVES = [TdAutoTrimDirective, TdFullscreenDirective];
26
+ // Validators
27
+ const TD_VALIDATORS = [];
28
+ const TD_PIPES = [
29
+ TdTimeAgoPipe,
30
+ TdTimeDifferencePipe,
31
+ TdTimeUntilPipe,
32
+ TdBytesPipe,
33
+ TdDecimalBytesPipe,
34
+ TdDigitsPipe,
35
+ TdTruncatePipe,
36
+ ];
37
+ export class CovalentCommonModule {
38
+ }
39
+ /** @nocollapse */ /** @nocollapse */ CovalentCommonModule.ɵfac = function CovalentCommonModule_Factory(t) { return new (t || CovalentCommonModule)(); };
40
+ /** @nocollapse */ /** @nocollapse */ CovalentCommonModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CovalentCommonModule });
41
+ /** @nocollapse */ /** @nocollapse */ CovalentCommonModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ providers: [RouterPathService, IconService], imports: [[FormsModule, CommonModule], FormsModule, CommonModule] });
42
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentCommonModule, [{
43
+ type: NgModule,
44
+ args: [{
45
+ imports: [FormsModule, CommonModule],
46
+ declarations: [TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
47
+ exports: [FormsModule, CommonModule, TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
48
+ providers: [RouterPathService, IconService],
49
+ }]
50
+ }], null, null); })();
51
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentCommonModule, { declarations: [TdAutoTrimDirective, TdFullscreenDirective, TdTimeAgoPipe,
52
+ TdTimeDifferencePipe,
53
+ TdTimeUntilPipe,
54
+ TdBytesPipe,
55
+ TdDecimalBytesPipe,
56
+ TdDigitsPipe,
57
+ TdTruncatePipe], imports: [FormsModule, CommonModule], exports: [FormsModule, CommonModule, TdAutoTrimDirective, TdFullscreenDirective, TdTimeAgoPipe,
58
+ TdTimeDifferencePipe,
59
+ TdTimeUntilPipe,
60
+ TdBytesPipe,
61
+ TdDecimalBytesPipe,
62
+ TdDigitsPipe,
63
+ TdTruncatePipe] }); })();
64
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9wbGF0Zm9ybS9jb3JlL2NvbW1vbi9jb21tb24ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUU3Qzs7R0FFRztBQUNILE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHV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bmNhdGUucGlwZSc7XG5cbmNvbnN0IFREX1BJUEVTOiBUeXBlPGFueT5bXSA9IFtcbiAgVGRUaW1lQWdvUGlwZSxcbiAgVGRUaW1lRGlmZmVyZW5jZVBpcGUsXG4gIFRkVGltZVVudGlsUGlwZSxcbiAgVGRCeXRlc1BpcGUsXG4gIFRkRGVjaW1hbEJ5dGVzUGlwZSxcbiAgVGREaWdpdHNQaXBlLFxuICBUZFRydW5jYXRlUGlwZSxcbl07XG5cbi8qKlxuICogU2VydmljZXNcbiAqL1xuXG5pbXBvcnQgeyBSb3V0ZXJQYXRoU2VydmljZSB9IGZyb20gJy4vc2VydmljZXMvcm91dGVyLXBhdGguc2VydmljZSc7XG5pbXBvcnQgeyBJY29uU2VydmljZSB9IGZyb20gJy4vc2VydmljZXMvaWNvbi5zZXJ2aWNlJztcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW0Zvcm1zTW9kdWxlLCBDb21tb25Nb2R1bGVdLFxuICBkZWNsYXJhdGlvbnM6IFtURF9ESVJFQ1RJVkVTLCBURF9QSVBFUywgVERfVkFMSURBVE9SU10sXG4gIGV4cG9ydHM6IFtGb3Jtc01vZHVsZSwgQ29tbW9uTW9kdWxlLCBURF9ESVJFQ1RJVkVTLCBURF9QSVBFUywgVERfVkFMSURBVE9SU10sXG4gIHByb3ZpZGVyczogW1JvdXRlclBhdGhTZXJ2aWNlLCBJY29uU2VydmljZV0sXG59KVxuZXhwb3J0IGNsYXNzIENvdmFsZW50Q29tbW9uTW9kdWxlIHt9XG4iXX0=
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY292YWxlbnQtY29yZS1jb21tb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvcGxhdGZvcm0vY29yZS9jb21tb24vY292YWxlbnQtY29yZS1jb21tb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
@@ -0,0 +1,85 @@
1
+ import { Directive, HostListener, ElementRef, Inject } from '@angular/core';
2
+ import { DOCUMENT } from '@angular/common';
3
+ import * as i0 from "@angular/core";
4
+ export class TdFullscreenDirective {
5
+ constructor(_document, _el) {
6
+ this._document = _document;
7
+ this._el = _el;
8
+ this.fullScreenIsActive = false;
9
+ }
10
+ fsChangeHandler(event) {
11
+ this.fullScreenIsActive = event.srcElement === this._getFullScreenElement();
12
+ }
13
+ toggleFullScreen() {
14
+ this._getFullScreenElement() === this._el.nativeElement ? this.exitFullScreen() : this.enterFullScreen();
15
+ }
16
+ enterFullScreen() {
17
+ const { _el: { nativeElement }, } = this;
18
+ const enterFullScreenMap = {
19
+ requestFullscreen: () => nativeElement.requestFullscreen(),
20
+ webkitRequestFullscreen: () => nativeElement.webkitRequestFullscreen(),
21
+ mozRequestFullScreen: () => nativeElement.mozRequestFullScreen(),
22
+ msRequestFullscreen: () => nativeElement.msRequestFullscreen(), // IE
23
+ };
24
+ for (const handler of Object.keys(enterFullScreenMap)) {
25
+ if (nativeElement[handler]) {
26
+ enterFullScreenMap[handler]();
27
+ }
28
+ }
29
+ }
30
+ exitFullScreen() {
31
+ const { _document, _el: { nativeElement }, } = this;
32
+ const exitFullScreenMap = {
33
+ exitFullscreen: () => _document.exitFullscreen(),
34
+ webkitExitFullscreen: () => _document.webkitExitFullscreen(),
35
+ mozCancelFullScreen: () => _document.mozCancelFullScreen(),
36
+ msExitFullscreen: () => _document.msExitFullscreen(), // IE
37
+ };
38
+ for (const handler of Object.keys(exitFullScreenMap)) {
39
+ if (_document[handler] && this._getFullScreenElement() === nativeElement) {
40
+ exitFullScreenMap[handler]();
41
+ }
42
+ }
43
+ }
44
+ _getFullScreenElement() {
45
+ const { _document } = this;
46
+ const tdFullScreenElementMap = {
47
+ fullscreenElement: () => _document.fullscreenElement,
48
+ webkitFullscreenElement: () => _document.webkitFullscreenElement,
49
+ mozFullscreenElement: () => _document.mozFullscreenElement,
50
+ msFullscreenElement: () => _document.msFullscreenElement, // IE, Edge
51
+ };
52
+ for (const props of Object.keys(tdFullScreenElementMap)) {
53
+ if (_document[props]) {
54
+ return _document[props];
55
+ }
56
+ }
57
+ }
58
+ }
59
+ /** @nocollapse */ /** @nocollapse */ TdFullscreenDirective.ɵfac = function TdFullscreenDirective_Factory(t) { return new (t || TdFullscreenDirective)(i0.ɵɵdirectiveInject(DOCUMENT), i0.ɵɵdirectiveInject(i0.ElementRef)); };
60
+ /** @nocollapse */ /** @nocollapse */ TdFullscreenDirective.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ type: TdFullscreenDirective, selectors: [["", "tdFullScreen", ""]], hostBindings: function TdFullscreenDirective_HostBindings(rf, ctx) { if (rf & 1) {
61
+ 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);
62
+ } }, exportAs: ["tdFullScreen"] });
63
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdFullscreenDirective, [{
64
+ type: Directive,
65
+ args: [{
66
+ selector: '[tdFullScreen]',
67
+ exportAs: 'tdFullScreen',
68
+ }]
69
+ }], function () { return [{ type: undefined, decorators: [{
70
+ type: Inject,
71
+ args: [DOCUMENT]
72
+ }] }, { type: i0.ElementRef }]; }, { fsChangeHandler: [{
73
+ type: HostListener,
74
+ args: ['document:fullscreenchange', ['$event']]
75
+ }, {
76
+ type: HostListener,
77
+ args: ['document:webkitfullscreenchange', ['$event']]
78
+ }, {
79
+ type: HostListener,
80
+ args: ['document:mozfullscreenchange', ['$event']]
81
+ }, {
82
+ type: HostListener,
83
+ args: ['document:msfullscreenchange', ['$event']]
84
+ }] }); })();
85
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVsbHNjcmVlbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvcGxhdGZvcm0vY29yZS9jb21tb24vZGlyZWN0aXZlcy9mdWxsc2NyZWVuL2Z1bGxzY3JlZW4uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDNUUsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGlCQUFpQixDQUFDOztBQWdCM0MsTUFBTSxPQUFPLHFCQUFxQjtJQUVoQyxZQUFzQyxTQUFzQixFQUFVLEdBQWU7UUFBL0MsY0FBUyxHQUFULFNBQVMsQ0FBYTtRQUFVLFFBQUcsR0FBSCxHQUFHLENBQVk7UUFEckYsdUJBQWtCLEdBQVksS0FBSyxDQUFDO0lBQ29ELENBQUM7SUFNbEYsZUFBZSxDQUFDLEtBQVk7UUFDakMsSUFBSSxDQUFDLGtCQUFrQixHQUFHLEtBQUssQ0F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