@covalent/core 0.0.0-COVALENT

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 (350) hide show
  1. package/README.md +42 -0
  2. package/breadcrumbs/README.md +93 -0
  3. package/breadcrumbs/_breadcrumbs-theme.scss +10 -0
  4. package/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +37 -0
  5. package/breadcrumbs/breadcrumbs.component.d.ts +37 -0
  6. package/breadcrumbs/breadcrumbs.module.d.ts +10 -0
  7. package/breadcrumbs/covalent-core-breadcrumbs.d.ts +5 -0
  8. package/breadcrumbs/package.json +10 -0
  9. package/breadcrumbs/public_api.d.ts +3 -0
  10. package/common/README.md +3 -0
  11. package/common/_common-theme.scss +35 -0
  12. package/common/animations/bounce/bounce.animation.d.ts +14 -0
  13. package/common/animations/collapse/collapse.animation.d.ts +20 -0
  14. package/common/animations/common/interfaces.d.ts +5 -0
  15. package/common/animations/fade/fadeInOut.animation.d.ts +20 -0
  16. package/common/animations/flash/flash.animation.d.ts +14 -0
  17. package/common/animations/headshake/headshake.animation.d.ts +14 -0
  18. package/common/animations/jello/jello.animation.d.ts +14 -0
  19. package/common/animations/pulse/pulse.animation.d.ts +14 -0
  20. package/common/animations/rotate/rotate.animation.d.ts +21 -0
  21. package/common/behaviors/control-value-accesor.mixin.d.ts +16 -0
  22. package/common/behaviors/disable-ripple.mixin.d.ts +9 -0
  23. package/common/behaviors/disabled.mixin.d.ts +9 -0
  24. package/common/common.module.d.ts +17 -0
  25. package/common/covalent-core-common.d.ts +5 -0
  26. package/common/directives/fullscreen/fullscreen.directive.d.ts +25 -0
  27. package/common/forms/auto-trim/auto-trim.directive.d.ts +12 -0
  28. package/common/forms/validators/validators.d.ts +8 -0
  29. package/common/functions/clipboard.d.ts +9 -0
  30. package/common/functions/convert.d.ts +31 -0
  31. package/common/functions/download.d.ts +48 -0
  32. package/common/functions/file.d.ts +7 -0
  33. package/common/package.json +10 -0
  34. package/common/pipes/bytes/bytes.pipe.d.ts +7 -0
  35. package/common/pipes/decimal-bytes/decimal-bytes.pipe.d.ts +7 -0
  36. package/common/pipes/digits/digits.pipe.d.ts +10 -0
  37. package/common/pipes/time-ago/time-ago.pipe.d.ts +7 -0
  38. package/common/pipes/time-difference/time-difference.pipe.d.ts +7 -0
  39. package/common/pipes/time-until/time-until.pipe.d.ts +7 -0
  40. package/common/pipes/truncate/truncate.pipe.d.ts +7 -0
  41. package/common/public_api.d.ts +35 -0
  42. package/common/services/icon.service.d.ts +8 -0
  43. package/common/services/router-path.service.d.ts +10 -0
  44. package/common/styles/_elevation.scss +285 -0
  45. package/common/styles/_layout.scss +605 -0
  46. package/common/styles/_palette-dark.scss +326 -0
  47. package/common/styles/_palette-light.scss +637 -0
  48. package/common/styles/_rtl.scss +31 -0
  49. package/common/styles/_styles.scss +10 -0
  50. package/common/styles/_theme-functions.scss +25 -0
  51. package/common/styles/_typography-functions.scss +43 -0
  52. package/common/styles/_variables.scss +99 -0
  53. package/common/styles/colors/_colors-dark.scss +1399 -0
  54. package/common/styles/colors/_colors-light.scss +3235 -0
  55. package/common/styles/colors/_colors.scss +7 -0
  56. package/common/styles/core/_button.scss +90 -0
  57. package/common/styles/core/_card.scss +189 -0
  58. package/common/styles/core/_content.scss +43 -0
  59. package/common/styles/core/_core.scss +23 -0
  60. package/common/styles/core/_divider.scss +16 -0
  61. package/common/styles/core/_icons.scss +22 -0
  62. package/common/styles/core/_list.scss +8 -0
  63. package/common/styles/core/_sidenav.scss +22 -0
  64. package/common/styles/core/_structure.scss +127 -0
  65. package/common/styles/core/_toolbar.scss +53 -0
  66. package/common/styles/core/_whiteframe.scss +138 -0
  67. package/common/styles/font/MaterialIcons-Regular-v48.woff2 +0 -0
  68. package/common/styles/font/README.md +11 -0
  69. package/common/styles/font/_font.scss +99 -0
  70. package/common/styles/utilities/_general.scss +65 -0
  71. package/common/styles/utilities/_pad.scss +36 -0
  72. package/common/styles/utilities/_pull.scss +36 -0
  73. package/common/styles/utilities/_push.scss +36 -0
  74. package/common/styles/utilities/_size.scss +24 -0
  75. package/common/styles/utilities/_text.scss +105 -0
  76. package/common/styles/utilities/_utilities.scss +15 -0
  77. package/covalent-core.d.ts +5 -0
  78. package/dialogs/README.md +223 -0
  79. package/dialogs/_dialog-theme.scss +39 -0
  80. package/dialogs/alert-dialog/alert-dialog.component.d.ts +12 -0
  81. package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +15 -0
  82. package/dialogs/covalent-core-dialogs.d.ts +5 -0
  83. package/dialogs/dialog.component.d.ts +22 -0
  84. package/dialogs/dialogs.module.d.ts +19 -0
  85. package/dialogs/package.json +10 -0
  86. package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +23 -0
  87. package/dialogs/public_api.d.ts +8 -0
  88. package/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.d.ts +21 -0
  89. package/dialogs/services/dialog.service.d.ts +105 -0
  90. package/dialogs/src/README.md +223 -0
  91. package/dialogs/window-dialog/window-dialog.component.d.ts +16 -0
  92. package/dynamic-menu/README.md +152 -0
  93. package/dynamic-menu/_dynamic-menu-theme.scss +0 -0
  94. package/dynamic-menu/covalent-core-dynamic-menu.d.ts +5 -0
  95. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +12 -0
  96. package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +10 -0
  97. package/dynamic-menu/dynamic-menu.component.d.ts +11 -0
  98. package/dynamic-menu/dynamic-menu.menu.d.ts +22 -0
  99. package/dynamic-menu/dynamic-menu.module.d.ts +15 -0
  100. package/dynamic-menu/package.json +10 -0
  101. package/dynamic-menu/public_api.d.ts +5 -0
  102. package/esm2020/breadcrumbs/breadcrumb/breadcrumb.component.mjs +92 -0
  103. package/esm2020/breadcrumbs/breadcrumbs.component.mjs +134 -0
  104. package/esm2020/breadcrumbs/breadcrumbs.module.mjs +20 -0
  105. package/esm2020/breadcrumbs/covalent-core-breadcrumbs.mjs +5 -0
  106. package/esm2020/breadcrumbs/public_api.mjs +4 -0
  107. package/esm2020/common/animations/bounce/bounce.animation.mjs +70 -0
  108. package/esm2020/common/animations/collapse/collapse.animation.mjs +51 -0
  109. package/esm2020/common/animations/common/interfaces.mjs +2 -0
  110. package/esm2020/common/animations/fade/fadeInOut.animation.mjs +37 -0
  111. package/esm2020/common/animations/flash/flash.animation.mjs +34 -0
  112. package/esm2020/common/animations/headshake/headshake.animation.mjs +47 -0
  113. package/esm2020/common/animations/jello/jello.animation.mjs +59 -0
  114. package/esm2020/common/animations/pulse/pulse.animation.mjs +32 -0
  115. package/esm2020/common/animations/rotate/rotate.animation.mjs +30 -0
  116. package/esm2020/common/behaviors/control-value-accesor.mixin.mjs +41 -0
  117. package/esm2020/common/behaviors/disable-ripple.mixin.mjs +24 -0
  118. package/esm2020/common/behaviors/disabled.mixin.mjs +24 -0
  119. package/esm2020/common/common.module.mjs +63 -0
  120. package/esm2020/common/covalent-core-common.mjs +5 -0
  121. package/esm2020/common/directives/fullscreen/fullscreen.directive.mjs +85 -0
  122. package/esm2020/common/forms/auto-trim/auto-trim.directive.mjs +36 -0
  123. package/esm2020/common/forms/validators/validators.mjs +29 -0
  124. package/esm2020/common/functions/clipboard.mjs +23 -0
  125. package/esm2020/common/functions/convert.mjs +84 -0
  126. package/esm2020/common/functions/download.mjs +75 -0
  127. package/esm2020/common/functions/file.mjs +16 -0
  128. package/esm2020/common/pipes/bytes/bytes.pipe.mjs +42 -0
  129. package/esm2020/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +42 -0
  130. package/esm2020/common/pipes/digits/digits.pipe.mjs +39 -0
  131. package/esm2020/common/pipes/time-ago/time-ago.pipe.mjs +72 -0
  132. package/esm2020/common/pipes/time-difference/time-difference.pipe.mjs +51 -0
  133. package/esm2020/common/pipes/time-until/time-until.pipe.mjs +72 -0
  134. package/esm2020/common/pipes/truncate/truncate.pipe.mjs +27 -0
  135. package/esm2020/common/public_api.mjs +39 -0
  136. package/esm2020/common/services/icon.service.mjs +1089 -0
  137. package/esm2020/common/services/router-path.service.mjs +29 -0
  138. package/esm2020/covalent-core.mjs +5 -0
  139. package/esm2020/dialogs/alert-dialog/alert-dialog.component.mjs +23 -0
  140. package/esm2020/dialogs/confirm-dialog/confirm-dialog.component.mjs +28 -0
  141. package/esm2020/dialogs/covalent-core-dialogs.mjs +5 -0
  142. package/esm2020/dialogs/dialog.component.mjs +56 -0
  143. package/esm2020/dialogs/dialogs.module.mjs +89 -0
  144. package/esm2020/dialogs/prompt-dialog/prompt-dialog.component.mjs +46 -0
  145. package/esm2020/dialogs/public_api.mjs +9 -0
  146. package/esm2020/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +216 -0
  147. package/esm2020/dialogs/services/dialog.service.mjs +171 -0
  148. package/esm2020/dialogs/window-dialog/window-dialog.component.mjs +38 -0
  149. package/esm2020/dynamic-menu/covalent-core-dynamic-menu.mjs +5 -0
  150. package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +30 -0
  151. package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +24 -0
  152. package/esm2020/dynamic-menu/dynamic-menu.component.mjs +28 -0
  153. package/esm2020/dynamic-menu/dynamic-menu.menu.mjs +2 -0
  154. package/esm2020/dynamic-menu/dynamic-menu.module.mjs +57 -0
  155. package/esm2020/dynamic-menu/public_api.mjs +6 -0
  156. package/esm2020/file/covalent-core-file.mjs +5 -0
  157. package/esm2020/file/directives/file-drop.directive.mjs +147 -0
  158. package/esm2020/file/directives/file-select.directive.mjs +77 -0
  159. package/esm2020/file/file-input/file-input.component.mjs +110 -0
  160. package/esm2020/file/file-upload/file-upload.component.mjs +174 -0
  161. package/esm2020/file/file.module.mjs +58 -0
  162. package/esm2020/file/public_api.mjs +7 -0
  163. package/esm2020/file/services/file.service.mjs +64 -0
  164. package/esm2020/json-formatter/collapse.animation.mjs +51 -0
  165. package/esm2020/json-formatter/covalent-core-json-formatter.mjs +5 -0
  166. package/esm2020/json-formatter/json-formatter.component.mjs +217 -0
  167. package/esm2020/json-formatter/json-formatter.module.mjs +20 -0
  168. package/esm2020/json-formatter/public_api.mjs +3 -0
  169. package/esm2020/layout/covalent-core-layout.mjs +5 -0
  170. package/esm2020/layout/layout-card-over/layout-card-over.component.mjs +40 -0
  171. package/esm2020/layout/layout-footer/layout-footer.component.mjs +33 -0
  172. package/esm2020/layout/layout-manage-list/layout-manage-list.component.mjs +93 -0
  173. package/esm2020/layout/layout-manage-list/layout-manage-list.directives.mjs +84 -0
  174. package/esm2020/layout/layout-nav/layout-nav.component.mjs +50 -0
  175. package/esm2020/layout/layout-nav-list/layout-nav-list.component.mjs +128 -0
  176. package/esm2020/layout/layout-nav-list/layout-nav-list.directives.mjs +84 -0
  177. package/esm2020/layout/layout-toggle.class.mjs +92 -0
  178. package/esm2020/layout/layout.component.mjs +92 -0
  179. package/esm2020/layout/layout.directives.mjs +85 -0
  180. package/esm2020/layout/layout.module.mjs +117 -0
  181. package/esm2020/layout/navigation-drawer/navigation-drawer.component.mjs +161 -0
  182. package/esm2020/layout/public_api.mjs +13 -0
  183. package/esm2020/menu/covalent-core-menu.mjs +5 -0
  184. package/esm2020/menu/menu.component.mjs +12 -0
  185. package/esm2020/menu/menu.module.mjs +21 -0
  186. package/esm2020/menu/public_api.mjs +3 -0
  187. package/esm2020/message/collapse.animation.mjs +51 -0
  188. package/esm2020/message/covalent-core-message.mjs +5 -0
  189. package/esm2020/message/message.component.mjs +203 -0
  190. package/esm2020/message/message.module.mjs +25 -0
  191. package/esm2020/message/public_api.mjs +3 -0
  192. package/esm2020/public_api.mjs +2 -0
  193. package/esm2020/search/covalent-core-search.mjs +5 -0
  194. package/esm2020/search/public_api.mjs +4 -0
  195. package/esm2020/search/search-box/search-box.component.mjs +194 -0
  196. package/esm2020/search/search-input/search-input.component.mjs +203 -0
  197. package/esm2020/search/search.module.mjs +39 -0
  198. package/esm2020/side-sheet/covalent-core-side-sheet.mjs +5 -0
  199. package/esm2020/side-sheet/public_api.mjs +6 -0
  200. package/esm2020/side-sheet/side-sheet-container.mjs +274 -0
  201. package/esm2020/side-sheet/side-sheet-ref.mjs +21 -0
  202. package/esm2020/side-sheet/side-sheet.animation.mjs +12 -0
  203. package/esm2020/side-sheet/side-sheet.config.mjs +4 -0
  204. package/esm2020/side-sheet/side-sheet.content-directives.mjs +201 -0
  205. package/esm2020/side-sheet/side-sheet.mjs +221 -0
  206. package/esm2020/side-sheet/side-sheet.module.mjs +45 -0
  207. package/esm2020/user-profile/covalent-core-user-profile.mjs +5 -0
  208. package/esm2020/user-profile/public_api.mjs +4 -0
  209. package/esm2020/user-profile/user-profile-menu/user-profile-menu.component.mjs +24 -0
  210. package/esm2020/user-profile/user-profile.component.mjs +19 -0
  211. package/esm2020/user-profile/user-profile.module.mjs +44 -0
  212. package/fesm2015/covalent-core-breadcrumbs.mjs +246 -0
  213. package/fesm2015/covalent-core-breadcrumbs.mjs.map +1 -0
  214. package/fesm2015/covalent-core-common.mjs +2281 -0
  215. package/fesm2015/covalent-core-common.mjs.map +1 -0
  216. package/fesm2015/covalent-core-dialogs.mjs +639 -0
  217. package/fesm2015/covalent-core-dialogs.mjs.map +1 -0
  218. package/fesm2015/covalent-core-dynamic-menu.mjs +128 -0
  219. package/fesm2015/covalent-core-dynamic-menu.mjs.map +1 -0
  220. package/fesm2015/covalent-core-file.mjs +613 -0
  221. package/fesm2015/covalent-core-file.mjs.map +1 -0
  222. package/fesm2015/covalent-core-json-formatter.mjs +298 -0
  223. package/fesm2015/covalent-core-json-formatter.mjs.map +1 -0
  224. package/fesm2015/covalent-core-layout.mjs +1024 -0
  225. package/fesm2015/covalent-core-layout.mjs.map +1 -0
  226. package/fesm2015/covalent-core-menu.mjs +37 -0
  227. package/fesm2015/covalent-core-menu.mjs.map +1 -0
  228. package/fesm2015/covalent-core-message.mjs +284 -0
  229. package/fesm2015/covalent-core-message.mjs.map +1 -0
  230. package/fesm2015/covalent-core-search.mjs +428 -0
  231. package/fesm2015/covalent-core-search.mjs.map +1 -0
  232. package/fesm2015/covalent-core-side-sheet.mjs +762 -0
  233. package/fesm2015/covalent-core-side-sheet.mjs.map +1 -0
  234. package/fesm2015/covalent-core-user-profile.mjs +86 -0
  235. package/fesm2015/covalent-core-user-profile.mjs.map +1 -0
  236. package/fesm2015/covalent-core.mjs +4 -0
  237. package/fesm2015/covalent-core.mjs.map +1 -0
  238. package/fesm2020/covalent-core-breadcrumbs.mjs +246 -0
  239. package/fesm2020/covalent-core-breadcrumbs.mjs.map +1 -0
  240. package/fesm2020/covalent-core-common.mjs +2274 -0
  241. package/fesm2020/covalent-core-common.mjs.map +1 -0
  242. package/fesm2020/covalent-core-dialogs.mjs +634 -0
  243. package/fesm2020/covalent-core-dialogs.mjs.map +1 -0
  244. package/fesm2020/covalent-core-dynamic-menu.mjs +128 -0
  245. package/fesm2020/covalent-core-dynamic-menu.mjs.map +1 -0
  246. package/fesm2020/covalent-core-file.mjs +607 -0
  247. package/fesm2020/covalent-core-file.mjs.map +1 -0
  248. package/fesm2020/covalent-core-json-formatter.mjs +290 -0
  249. package/fesm2020/covalent-core-json-formatter.mjs.map +1 -0
  250. package/fesm2020/covalent-core-layout.mjs +1000 -0
  251. package/fesm2020/covalent-core-layout.mjs.map +1 -0
  252. package/fesm2020/covalent-core-menu.mjs +37 -0
  253. package/fesm2020/covalent-core-menu.mjs.map +1 -0
  254. package/fesm2020/covalent-core-message.mjs +282 -0
  255. package/fesm2020/covalent-core-message.mjs.map +1 -0
  256. package/fesm2020/covalent-core-search.mjs +425 -0
  257. package/fesm2020/covalent-core-search.mjs.map +1 -0
  258. package/fesm2020/covalent-core-side-sheet.mjs +757 -0
  259. package/fesm2020/covalent-core-side-sheet.mjs.map +1 -0
  260. package/fesm2020/covalent-core-user-profile.mjs +86 -0
  261. package/fesm2020/covalent-core-user-profile.mjs.map +1 -0
  262. package/fesm2020/covalent-core.mjs +4 -0
  263. package/fesm2020/covalent-core.mjs.map +1 -0
  264. package/file/_file-theme.scss +27 -0
  265. package/file/covalent-core-file.d.ts +5 -0
  266. package/file/directives/file-drop.directive.d.ts +61 -0
  267. package/file/directives/file-select.directive.d.ts +33 -0
  268. package/file/file-input/file-input.component.d.ts +61 -0
  269. package/file/file-upload/file-upload.component.d.ts +91 -0
  270. package/file/file.module.d.ts +15 -0
  271. package/file/package.json +10 -0
  272. package/file/public_api.d.ts +6 -0
  273. package/file/services/file.service.d.ts +34 -0
  274. package/file/src/file-input/README.md +147 -0
  275. package/file/src/file-upload/README.md +136 -0
  276. package/json-formatter/README.md +50 -0
  277. package/json-formatter/_json-formatter-theme.scss +72 -0
  278. package/json-formatter/collapse.animation.d.ts +24 -0
  279. package/json-formatter/covalent-core-json-formatter.d.ts +5 -0
  280. package/json-formatter/json-formatter.component.d.ts +78 -0
  281. package/json-formatter/json-formatter.module.d.ts +10 -0
  282. package/json-formatter/package.json +10 -0
  283. package/json-formatter/public_api.d.ts +2 -0
  284. package/layout/README.md +138 -0
  285. package/layout/_layout-theme.scss +128 -0
  286. package/layout/covalent-core-layout.d.ts +5 -0
  287. package/layout/layout-card-over/layout-card-over.component.d.ts +31 -0
  288. package/layout/layout-footer/layout-footer.component.d.ts +17 -0
  289. package/layout/layout-manage-list/layout-manage-list.component.d.ts +66 -0
  290. package/layout/layout-manage-list/layout-manage-list.directives.d.ts +25 -0
  291. package/layout/layout-nav/layout-nav.component.d.ts +45 -0
  292. package/layout/layout-nav-list/layout-nav-list.component.d.ts +104 -0
  293. package/layout/layout-nav-list/layout-nav-list.directives.d.ts +25 -0
  294. package/layout/layout-toggle.class.d.ts +40 -0
  295. package/layout/layout.component.d.ts +66 -0
  296. package/layout/layout.directives.d.ts +25 -0
  297. package/layout/layout.module.d.ts +25 -0
  298. package/layout/navigation-drawer/navigation-drawer.component.d.ts +120 -0
  299. package/layout/package.json +10 -0
  300. package/layout/public_api.d.ts +12 -0
  301. package/layout/src/layout-card-over/README.md +43 -0
  302. package/layout/src/layout-manage-list/README.md +80 -0
  303. package/layout/src/layout-nav/README.md +50 -0
  304. package/layout/src/layout-nav-list/README.md +105 -0
  305. package/menu/covalent-core-menu.d.ts +5 -0
  306. package/menu/menu.component.d.ts +5 -0
  307. package/menu/menu.module.d.ts +10 -0
  308. package/menu/package.json +10 -0
  309. package/menu/public_api.d.ts +2 -0
  310. package/message/README.md +67 -0
  311. package/message/_message-theme.scss +44 -0
  312. package/message/collapse.animation.d.ts +24 -0
  313. package/message/covalent-core-message.d.ts +5 -0
  314. package/message/message.component.d.ts +101 -0
  315. package/message/message.module.d.ts +9 -0
  316. package/message/package.json +10 -0
  317. package/message/public_api.d.ts +2 -0
  318. package/package.json +146 -0
  319. package/public_api.d.ts +1 -0
  320. package/search/README.md +132 -0
  321. package/search/covalent-core-search.d.ts +5 -0
  322. package/search/package.json +10 -0
  323. package/search/public_api.d.ts +3 -0
  324. package/search/search-box/search-box.component.d.ts +88 -0
  325. package/search/search-input/search-input.component.d.ts +82 -0
  326. package/search/search.module.d.ts +13 -0
  327. package/search/src/search-box/README.md +73 -0
  328. package/search/src/search-input/README.md +74 -0
  329. package/side-sheet/README.md +64 -0
  330. package/side-sheet/_side-sheet.theme.scss +8 -0
  331. package/side-sheet/covalent-core-side-sheet.d.ts +5 -0
  332. package/side-sheet/package.json +10 -0
  333. package/side-sheet/public_api.d.ts +5 -0
  334. package/side-sheet/side-sheet-container.d.ts +110 -0
  335. package/side-sheet/side-sheet-ref.d.ts +10 -0
  336. package/side-sheet/side-sheet.animation.d.ts +4 -0
  337. package/side-sheet/side-sheet.config.d.ts +3 -0
  338. package/side-sheet/side-sheet.content-directives.d.ts +67 -0
  339. package/side-sheet/side-sheet.d.ts +66 -0
  340. package/side-sheet/side-sheet.module.d.ts +11 -0
  341. package/theming/_all-theme.scss +24 -0
  342. package/typography/_all-typography.scss +39 -0
  343. package/user-profile/README.md +60 -0
  344. package/user-profile/_user-profile-theme.scss +27 -0
  345. package/user-profile/covalent-core-user-profile.d.ts +5 -0
  346. package/user-profile/package.json +10 -0
  347. package/user-profile/public_api.d.ts +3 -0
  348. package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +8 -0
  349. package/user-profile/user-profile.component.d.ts +7 -0
  350. package/user-profile/user-profile.module.d.ts +14 -0
@@ -0,0 +1,2274 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, Optional, Host, HostListener, Inject, Pipe, LOCALE_ID, Injectable, NgModule } from '@angular/core';
3
+ import { DOCUMENT, DecimalPipe, CommonModule } from '@angular/common';
4
+ import * as i1 from '@angular/forms';
5
+ import { FormsModule, Validators } from '@angular/forms';
6
+ import * as i1$1 from '@angular/router';
7
+ import { RoutesRecognized } from '@angular/router';
8
+ import { filter, pairwise } from 'rxjs/operators';
9
+ import { trigger, state, style, transition, group, query, animateChild, animate, AUTO_STYLE, keyframes } from '@angular/animations';
10
+ import { Subject } from 'rxjs';
11
+ import { coerceBooleanProperty } from '@angular/cdk/coercion';
12
+
13
+ class TdAutoTrimDirective {
14
+ constructor(_model) {
15
+ this._model = _model;
16
+ }
17
+ /**
18
+ * Listens to host's (blur) event and trims value.
19
+ */
20
+ onBlur(event) {
21
+ if (this._model &&
22
+ this._model.value &&
23
+ typeof this._model.value === 'string') {
24
+ this._model.update.emit(this._model.value.trim());
25
+ }
26
+ }
27
+ }
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
+
44
+ class TdFullscreenDirective {
45
+ constructor(_document, _el) {
46
+ this._document = _document;
47
+ this._el = _el;
48
+ this.fullScreenIsActive = false;
49
+ }
50
+ fsChangeHandler(event) {
51
+ this.fullScreenIsActive = event.srcElement === this._getFullScreenElement();
52
+ }
53
+ toggleFullScreen() {
54
+ this._getFullScreenElement() === this._el.nativeElement
55
+ ? this.exitFullScreen()
56
+ : this.enterFullScreen();
57
+ }
58
+ enterFullScreen() {
59
+ const { _el: { nativeElement }, } = this;
60
+ const enterFullScreenMap = {
61
+ requestFullscreen: () => nativeElement.requestFullscreen(),
62
+ webkitRequestFullscreen: () => nativeElement.webkitRequestFullscreen(),
63
+ mozRequestFullScreen: () => nativeElement.mozRequestFullScreen(),
64
+ msRequestFullscreen: () => nativeElement.msRequestFullscreen(), // IE
65
+ };
66
+ for (const handler of Object.keys(enterFullScreenMap)) {
67
+ if (nativeElement[handler]) {
68
+ enterFullScreenMap[handler]();
69
+ }
70
+ }
71
+ }
72
+ exitFullScreen() {
73
+ const exitFullScreenMap = {
74
+ exitFullscreen: () => this._document.exitFullscreen(),
75
+ webkitExitFullscreen: () => this._document.webkitExitFullscreen(),
76
+ mozCancelFullScreen: () => this._document.mozCancelFullScreen(),
77
+ msExitFullscreen: () => this._document.msExitFullscreen(), // IE
78
+ };
79
+ for (const handler of Object.keys(exitFullScreenMap)) {
80
+ if (exitFullScreenMap[handler] &&
81
+ this._getFullScreenElement() === this._el.nativeElement) {
82
+ exitFullScreenMap[handler]();
83
+ }
84
+ }
85
+ }
86
+ _getFullScreenElement() {
87
+ const tdFullScreenElementMap = {
88
+ fullscreenElement: () => this._document.fullscreenElement,
89
+ webkitFullscreenElement: () => this._document.webkitFullscreenElement,
90
+ mozFullscreenElement: () => this._document.mozFullscreenElement,
91
+ msFullscreenElement: () => this._document.msFullscreenElement, // IE, Edge
92
+ };
93
+ for (const props of Object.keys(tdFullScreenElementMap)) {
94
+ if (tdFullScreenElementMap[props]) {
95
+ return tdFullScreenElementMap[props]();
96
+ }
97
+ }
98
+ return undefined;
99
+ }
100
+ }
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
+
126
+ class TdTimeAgoPipe {
127
+ transform(time, reference) {
128
+ // Convert time to date object if not already
129
+ time = new Date(time);
130
+ const ref = new Date(reference);
131
+ // If not a valid timestamp, return 'Invalid Date'
132
+ if (!time.getTime()) {
133
+ return 'Invalid Date';
134
+ }
135
+ // For unit testing, we need to be able to declare a static start time
136
+ // for calculations, or else speed of tests can bork.
137
+ const startTime = isNaN(ref.getTime()) ? Date.now() : ref.getTime();
138
+ let diff = Math.floor((startTime - time.getTime()) / 1000);
139
+ if (diff < 2) {
140
+ return '1 second ago';
141
+ }
142
+ if (diff < 60) {
143
+ return Math.floor(diff) + ' seconds ago';
144
+ }
145
+ // Minutes
146
+ diff = diff / 60;
147
+ if (diff < 2) {
148
+ return '1 minute ago';
149
+ }
150
+ if (diff < 60) {
151
+ return Math.floor(diff) + ' minutes ago';
152
+ }
153
+ // Hours
154
+ diff = diff / 60;
155
+ if (diff < 2) {
156
+ return '1 hour ago';
157
+ }
158
+ if (diff < 24) {
159
+ return Math.floor(diff) + ' hours ago';
160
+ }
161
+ // Days
162
+ diff = diff / 24;
163
+ if (diff < 2) {
164
+ return '1 day ago';
165
+ }
166
+ if (diff < 30) {
167
+ return Math.floor(diff) + ' days ago';
168
+ }
169
+ // Months
170
+ diff = diff / 30;
171
+ if (diff < 2) {
172
+ return '1 month ago';
173
+ }
174
+ if (diff < 12) {
175
+ return Math.floor(diff) + ' months ago';
176
+ }
177
+ // Years
178
+ diff = diff / 12;
179
+ if (diff < 2) {
180
+ return '1 year ago';
181
+ }
182
+ else {
183
+ return Math.floor(diff) + ' years ago';
184
+ }
185
+ }
186
+ }
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
+
196
+ class TdTimeDifferencePipe {
197
+ transform(start, end) {
198
+ const startTime = new Date(start);
199
+ let endTime;
200
+ if (end !== undefined) {
201
+ endTime = new Date(end);
202
+ }
203
+ else {
204
+ endTime = new Date();
205
+ }
206
+ if (!startTime.getTime() || !endTime.getTime()) {
207
+ return 'Invalid Date';
208
+ }
209
+ let diff = Math.floor((endTime.getTime() - startTime.getTime()) / 1000);
210
+ const days = Math.floor(diff / (60 * 60 * 24));
211
+ diff = diff - days * (60 * 60 * 24);
212
+ const hours = Math.floor(diff / (60 * 60));
213
+ diff = diff - hours * (60 * 60);
214
+ const minutes = Math.floor(diff / 60);
215
+ diff -= minutes * 60;
216
+ const seconds = diff;
217
+ const pad = '00';
218
+ let daysFormatted = '';
219
+ if (days > 0 && days < 2) {
220
+ daysFormatted = ' day - ';
221
+ }
222
+ else if (days > 1) {
223
+ daysFormatted = ' days - ';
224
+ }
225
+ return ((days > 0 ? days + daysFormatted : daysFormatted) +
226
+ pad.substring(0, pad.length - (hours + '').length) +
227
+ hours +
228
+ ':' +
229
+ pad.substring(0, pad.length - (minutes + '').length) +
230
+ minutes +
231
+ ':' +
232
+ pad.substring(0, pad.length - (seconds + '').length) +
233
+ seconds);
234
+ }
235
+ }
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
+
245
+ class TdTimeUntilPipe {
246
+ transform(time, reference) {
247
+ // Convert time to date object if not already
248
+ time = new Date(time);
249
+ const ref = new Date(reference);
250
+ // If not a valid timestamp, return 'Invalid Date'
251
+ if (!time.getTime()) {
252
+ return 'Invalid Date';
253
+ }
254
+ // For unit testing, we need to be able to declare a static start time
255
+ // for calculations, or else speed of tests can bork.
256
+ const startTime = isNaN(ref.getTime()) ? Date.now() : ref.getTime();
257
+ let diff = Math.floor((time.getTime() - startTime) / 1000);
258
+ if (diff < 2) {
259
+ return 'in 1 second';
260
+ }
261
+ if (diff < 60) {
262
+ return 'in ' + Math.floor(diff) + ' seconds';
263
+ }
264
+ // Minutes
265
+ diff = diff / 60;
266
+ if (diff < 2) {
267
+ return 'in 1 minute';
268
+ }
269
+ if (diff < 60) {
270
+ return 'in ' + Math.floor(diff) + ' minutes';
271
+ }
272
+ // Hours
273
+ diff = diff / 60;
274
+ if (diff < 2) {
275
+ return 'in 1 hour';
276
+ }
277
+ if (diff < 24) {
278
+ return 'in ' + Math.floor(diff) + ' hours';
279
+ }
280
+ // Days
281
+ diff = diff / 24;
282
+ if (diff < 2) {
283
+ return 'in 1 day';
284
+ }
285
+ if (diff < 30) {
286
+ return 'in ' + Math.floor(diff) + ' days';
287
+ }
288
+ // Months
289
+ diff = diff / 30;
290
+ if (diff < 2) {
291
+ return 'in 1 month';
292
+ }
293
+ if (diff < 12) {
294
+ return 'in ' + Math.floor(diff) + ' months';
295
+ }
296
+ // Years
297
+ diff = diff / 12;
298
+ if (diff < 2) {
299
+ return 'in 1 year';
300
+ }
301
+ else {
302
+ return 'in ' + Math.floor(diff) + ' years';
303
+ }
304
+ }
305
+ }
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
+
315
+ class TdBytesPipe {
316
+ /* `bytes` needs to be `any` or TypeScript complains
317
+ Tried both `number` and `number | string` */
318
+ transform(bytes, precision = 2) {
319
+ if (bytes === 0) {
320
+ return '0 B';
321
+ }
322
+ else if (isNaN(parseInt(bytes, 10))) {
323
+ /* If not a valid number, return 'Invalid Number' */
324
+ return 'Invalid Number';
325
+ }
326
+ const k = 1024;
327
+ const sizes = [
328
+ 'B',
329
+ 'KiB',
330
+ 'MiB',
331
+ 'GiB',
332
+ 'TiB',
333
+ 'PiB',
334
+ 'EiB',
335
+ 'ZiB',
336
+ 'YiB',
337
+ ];
338
+ const i = Math.floor(Math.log(bytes) / Math.log(k));
339
+ // if less than 1
340
+ if (i < 0) {
341
+ return 'Invalid Number';
342
+ }
343
+ return (parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i]);
344
+ }
345
+ }
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
+ }] });
354
+
355
+ class TdDecimalBytesPipe {
356
+ /* `bytes` needs to be `any` or TypeScript complains
357
+ Tried both `number` and `number | string` */
358
+ transform(bytes, precision = 2) {
359
+ if (bytes === 0) {
360
+ return '0 B';
361
+ }
362
+ else if (isNaN(parseInt(bytes, 10))) {
363
+ /* If not a valid number, return 'Invalid Number' */
364
+ return 'Invalid Number';
365
+ }
366
+ const k = 1000;
367
+ const sizes = [
368
+ 'B',
369
+ 'KB',
370
+ 'MB',
371
+ 'GB',
372
+ 'TB',
373
+ 'PB',
374
+ 'EB',
375
+ 'ZB',
376
+ 'YB',
377
+ ];
378
+ const i = Math.floor(Math.log(bytes) / Math.log(k));
379
+ // if less than 1
380
+ if (i < 0) {
381
+ return 'Invalid Number';
382
+ }
383
+ return (parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i]);
384
+ }
385
+ }
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
+ }] });
394
+
395
+ class TdDigitsPipe {
396
+ constructor(_locale = 'en') {
397
+ this._locale = _locale;
398
+ this._decimalPipe = new DecimalPipe(this._locale);
399
+ }
400
+ /* `digits` needs to be type `digits: any` or TypeScript complains */
401
+ transform(digits, precision = 1) {
402
+ if (digits === 0) {
403
+ return '0';
404
+ }
405
+ else if (isNaN(parseInt(digits, 10))) {
406
+ /* If not a valid number, return the value */
407
+ return digits;
408
+ }
409
+ else if (digits < 1) {
410
+ return this._decimalPipe.transform(digits.toFixed(precision)) ?? '';
411
+ }
412
+ const k = 1000;
413
+ const sizes = ['', 'K', 'M', 'B', 'T', 'Q'];
414
+ const i = Math.floor(Math.log(digits) / Math.log(k));
415
+ const size = sizes[i];
416
+ return (this._decimalPipe.transform(parseFloat((digits / Math.pow(k, i)).toFixed(precision))) + (size ? ' ' + size : ''));
417
+ }
418
+ }
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
+ }] }]; } });
430
+
431
+ class TdTruncatePipe {
432
+ transform(text, length = 54) {
433
+ if (typeof text !== 'string') {
434
+ return '';
435
+ }
436
+ // Truncate
437
+ let truncated = text.substr(0, length);
438
+ if (text.length > length) {
439
+ if (truncated.lastIndexOf(' ') > 0) {
440
+ truncated = truncated.trim();
441
+ }
442
+ truncated += '…';
443
+ }
444
+ return truncated;
445
+ }
446
+ }
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
+ }] });
455
+
456
+ class RouterPathService {
457
+ constructor(_router) {
458
+ this._router = _router;
459
+ this._router.events
460
+ .pipe(filter((e) => e instanceof RoutesRecognized), pairwise())
461
+ .subscribe((e) => {
462
+ RouterPathService._previousRoute = e[0].urlAfterRedirects;
463
+ });
464
+ }
465
+ /*
466
+ * Utility function to get the route the user previously went to
467
+ * good for use in a "back button"
468
+ */
469
+ getPreviousRoute() {
470
+ return RouterPathService._previousRoute;
471
+ }
472
+ }
473
+ RouterPathService._previousRoute = '/';
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 }]; } });
479
+
480
+ /*
481
+ * Copyright (C) 2016-2017 by Teradata Corporation. All rights reserved.
482
+ * TERADATA CORPORATION CONFIDENTIAL AND TRADE SECRET
483
+ */
484
+ class IconService {
485
+ constructor() {
486
+ // To update, run this little script on https://material.io/resources/icons/?style=baseline
487
+ // JSON.stringify(
488
+ // Array.from(document.querySelectorAll('icons-library .material-icons.icon-image-preview')).map(
489
+ // ({textContent}) => textContent
490
+ // )
491
+ // );
492
+ this._icons = [
493
+ '3d_rotation',
494
+ 'accessibility',
495
+ 'accessibility_new',
496
+ 'accessible',
497
+ 'accessible_forward',
498
+ 'account_balance',
499
+ 'account_balance_wallet',
500
+ 'account_box',
501
+ 'account_circle',
502
+ 'add_shopping_cart',
503
+ 'alarm',
504
+ 'alarm_add',
505
+ 'alarm_off',
506
+ 'alarm_on',
507
+ 'all_inbox',
508
+ 'all_out',
509
+ 'android',
510
+ 'announcement',
511
+ 'arrow_right_alt',
512
+ 'aspect_ratio',
513
+ 'assessment',
514
+ 'assignment',
515
+ 'assignment_ind',
516
+ 'assignment_late',
517
+ 'assignment_return',
518
+ 'assignment_returned',
519
+ 'assignment_turned_in',
520
+ 'autorenew',
521
+ 'backup',
522
+ 'book',
523
+ 'bookmark',
524
+ 'bookmark_border',
525
+ 'bookmarks',
526
+ 'bug_report',
527
+ 'build',
528
+ 'cached',
529
+ 'calendar_today',
530
+ 'calendar_view_day',
531
+ 'camera_enhance',
532
+ 'cancel_schedule_send',
533
+ 'card_giftcard',
534
+ 'card_membership',
535
+ 'card_travel',
536
+ 'change_history',
537
+ 'check_circle',
538
+ 'check_circle_outline',
539
+ 'chrome_reader_mode',
540
+ 'class',
541
+ 'code',
542
+ 'commute',
543
+ 'compare_arrows',
544
+ 'contact_support',
545
+ 'contactless',
546
+ 'copyright',
547
+ 'credit_card',
548
+ 'dashboard',
549
+ 'date_range',
550
+ 'delete',
551
+ 'delete_forever',
552
+ 'delete_outline',
553
+ 'description',
554
+ 'dns',
555
+ 'done',
556
+ 'done_all',
557
+ 'done_outline',
558
+ 'donut_large',
559
+ 'donut_small',
560
+ 'drag_indicator',
561
+ 'eco',
562
+ 'eject',
563
+ 'euro_symbol',
564
+ 'event',
565
+ 'event_seat',
566
+ 'exit_to_app',
567
+ 'explore',
568
+ 'explore_off',
569
+ 'extension',
570
+ 'face',
571
+ 'favorite',
572
+ 'favorite_border',
573
+ 'feedback',
574
+ 'find_in_page',
575
+ 'find_replace',
576
+ 'fingerprint',
577
+ 'flight_land',
578
+ 'flight_takeoff',
579
+ 'flip_to_back',
580
+ 'flip_to_front',
581
+ 'g_translate',
582
+ 'gavel',
583
+ 'get_app',
584
+ 'gif',
585
+ 'grade',
586
+ 'group_work',
587
+ 'help',
588
+ 'help_outline',
589
+ 'highlight_off',
590
+ 'history',
591
+ 'home',
592
+ 'horizontal_split',
593
+ 'hourglass_empty',
594
+ 'hourglass_full',
595
+ 'http',
596
+ 'https',
597
+ 'important_devices',
598
+ 'info',
599
+ 'input',
600
+ 'invert_colors',
601
+ 'label',
602
+ 'label_important',
603
+ 'label_off',
604
+ 'language',
605
+ 'launch',
606
+ 'line_style',
607
+ 'line_weight',
608
+ 'list',
609
+ 'lock',
610
+ 'lock_open',
611
+ 'loyalty',
612
+ 'markunread_mailbox',
613
+ 'maximize',
614
+ 'minimize',
615
+ 'motorcycle',
616
+ 'note_add',
617
+ 'offline_bolt',
618
+ 'offline_pin',
619
+ 'opacity',
620
+ 'open_in_browser',
621
+ 'open_in_new',
622
+ 'open_with',
623
+ 'pageview',
624
+ 'pan_tool',
625
+ 'payment',
626
+ 'perm_camera_mic',
627
+ 'perm_contact_calendar',
628
+ 'perm_data_setting',
629
+ 'perm_device_information',
630
+ 'perm_identity',
631
+ 'perm_media',
632
+ 'perm_phone_msg',
633
+ 'perm_scan_wifi',
634
+ 'pets',
635
+ 'picture_in_picture',
636
+ 'picture_in_picture_alt',
637
+ 'play_for_work',
638
+ 'polymer',
639
+ 'power_settings_new',
640
+ 'pregnant_woman',
641
+ 'print',
642
+ 'query_builder',
643
+ 'question_answer',
644
+ 'receipt',
645
+ 'record_voice_over',
646
+ 'redeem',
647
+ 'remove_shopping_cart',
648
+ 'reorder',
649
+ 'report_problem',
650
+ 'restore',
651
+ 'restore_from_trash',
652
+ 'restore_page',
653
+ 'room',
654
+ 'rounded_corner',
655
+ 'rowing',
656
+ 'schedule',
657
+ 'search',
658
+ 'settings_applications',
659
+ 'settings_backup_restore',
660
+ 'settings_bluetooth',
661
+ 'settings_brightness',
662
+ 'settings_cell',
663
+ 'settings_ethernet',
664
+ 'settings_input_antenna',
665
+ 'settings_input_component',
666
+ 'settings_input_composite',
667
+ 'settings_input_hdmi',
668
+ 'settings_input_svideo',
669
+ 'settings_overscan',
670
+ 'settings_phone',
671
+ 'settings_power',
672
+ 'settings_remote',
673
+ 'settings_voice',
674
+ 'shop',
675
+ 'shop_two',
676
+ 'shopping_basket',
677
+ 'shopping_cart',
678
+ 'speaker_notes',
679
+ 'speaker_notes_off',
680
+ 'spellcheck',
681
+ 'stars',
682
+ 'store',
683
+ 'subject',
684
+ 'supervised_user_circle',
685
+ 'supervisor_account',
686
+ 'swap_horiz',
687
+ 'swap_horizontal_circle',
688
+ 'swap_vert',
689
+ 'swap_vertical_circle',
690
+ 'sync_alt',
691
+ 'system_update_alt',
692
+ 'tab',
693
+ 'tab_unselected',
694
+ 'text_rotate_up',
695
+ 'text_rotate_vertical',
696
+ 'text_rotation_angledown',
697
+ 'text_rotation_angleup',
698
+ 'text_rotation_down',
699
+ 'text_rotation_none',
700
+ 'theaters',
701
+ 'thumb_down',
702
+ 'thumb_up',
703
+ 'thumbs_up_down',
704
+ 'timeline',
705
+ 'toc',
706
+ 'today',
707
+ 'toll',
708
+ 'touch_app',
709
+ 'track_changes',
710
+ 'translate',
711
+ 'trending_down',
712
+ 'trending_flat',
713
+ 'trending_up',
714
+ 'turned_in',
715
+ 'turned_in_not',
716
+ 'update',
717
+ 'verified_user',
718
+ 'vertical_split',
719
+ 'view_agenda',
720
+ 'view_array',
721
+ 'view_carousel',
722
+ 'view_column',
723
+ 'view_day',
724
+ 'view_headline',
725
+ 'view_list',
726
+ 'view_module',
727
+ 'view_quilt',
728
+ 'view_stream',
729
+ 'view_week',
730
+ 'visibility',
731
+ 'visibility_off',
732
+ 'voice_over_off',
733
+ 'watch_later',
734
+ 'work',
735
+ 'work_off',
736
+ 'work_outline',
737
+ 'youtube_searched_for',
738
+ 'zoom_in',
739
+ 'zoom_out',
740
+ 'add_alert',
741
+ 'error',
742
+ 'error_outline',
743
+ 'notification_important',
744
+ 'warning',
745
+ '4k',
746
+ 'add_to_queue',
747
+ 'airplay',
748
+ 'album',
749
+ 'art_track',
750
+ 'av_timer',
751
+ 'branding_watermark',
752
+ 'call_to_action',
753
+ 'closed_caption',
754
+ 'control_camera',
755
+ 'equalizer',
756
+ 'explicit',
757
+ 'fast_forward',
758
+ 'fast_rewind',
759
+ 'featured_play_list',
760
+ 'featured_video',
761
+ 'fiber_dvr',
762
+ 'fiber_manual_record',
763
+ 'fiber_new',
764
+ 'fiber_pin',
765
+ 'fiber_smart_record',
766
+ 'forward_10',
767
+ 'forward_30',
768
+ 'forward_5',
769
+ 'games',
770
+ 'hd',
771
+ 'hearing',
772
+ 'high_quality',
773
+ 'library_add',
774
+ 'library_books',
775
+ 'library_music',
776
+ 'loop',
777
+ 'mic',
778
+ 'mic_none',
779
+ 'mic_off',
780
+ 'missed_video_call',
781
+ 'movie',
782
+ 'music_video',
783
+ 'new_releases',
784
+ 'not_interested',
785
+ 'note',
786
+ 'pause',
787
+ 'pause_circle_filled',
788
+ 'pause_circle_outline',
789
+ 'play_arrow',
790
+ 'play_circle_filled',
791
+ 'play_circle_outline',
792
+ 'playlist_add',
793
+ 'playlist_add_check',
794
+ 'playlist_play',
795
+ 'queue',
796
+ 'queue_music',
797
+ 'queue_play_next',
798
+ 'radio',
799
+ 'recent_actors',
800
+ 'remove_from_queue',
801
+ 'repeat',
802
+ 'repeat_one',
803
+ 'replay',
804
+ 'replay_10',
805
+ 'replay_30',
806
+ 'replay_5',
807
+ 'shuffle',
808
+ 'skip_next',
809
+ 'skip_previous',
810
+ 'slow_motion_video',
811
+ 'snooze',
812
+ 'sort_by_alpha',
813
+ 'speed',
814
+ 'stop',
815
+ 'subscriptions',
816
+ 'subtitles',
817
+ 'surround_sound',
818
+ 'video_call',
819
+ 'video_label',
820
+ 'video_library',
821
+ 'videocam',
822
+ 'videocam_off',
823
+ 'volume_down',
824
+ 'volume_mute',
825
+ 'volume_off',
826
+ 'volume_up',
827
+ 'web',
828
+ 'web_asset',
829
+ 'business',
830
+ 'call',
831
+ 'call_end',
832
+ 'call_made',
833
+ 'call_merge',
834
+ 'call_missed',
835
+ 'call_missed_outgoing',
836
+ 'call_received',
837
+ 'call_split',
838
+ 'cancel_presentation',
839
+ 'chat',
840
+ 'chat_bubble',
841
+ 'chat_bubble_outline',
842
+ 'clear_all',
843
+ 'comment',
844
+ 'contact_mail',
845
+ 'contact_phone',
846
+ 'contacts',
847
+ 'desktop_access_disabled',
848
+ 'dialer_sip',
849
+ 'dialpad',
850
+ 'domain_disabled',
851
+ 'duo',
852
+ 'email',
853
+ 'forum',
854
+ 'import_contacts',
855
+ 'import_export',
856
+ 'invert_colors_off',
857
+ 'list_alt',
858
+ 'live_help',
859
+ 'mail_outline',
860
+ 'message',
861
+ 'mobile_screen_share',
862
+ 'no_sim',
863
+ 'pause_presentation',
864
+ 'person_add_disabled',
865
+ 'phone',
866
+ 'phone_disabled',
867
+ 'phone_enabled',
868
+ 'phonelink_erase',
869
+ 'phonelink_lock',
870
+ 'phonelink_ring',
871
+ 'phonelink_setup',
872
+ 'portable_wifi_off',
873
+ 'present_to_all',
874
+ 'print_disabled',
875
+ 'ring_volume',
876
+ 'rss_feed',
877
+ 'screen_share',
878
+ 'sentiment_satisfied_alt',
879
+ 'speaker_phone',
880
+ 'stay_current_landscape',
881
+ 'stay_current_portrait',
882
+ 'stay_primary_landscape',
883
+ 'stay_primary_portrait',
884
+ 'stop_screen_share',
885
+ 'swap_calls',
886
+ 'textsms',
887
+ 'unsubscribe',
888
+ 'voicemail',
889
+ 'vpn_key',
890
+ 'add',
891
+ 'add_box',
892
+ 'add_circle',
893
+ 'add_circle_outline',
894
+ 'amp_stories',
895
+ 'archive',
896
+ 'backspace',
897
+ 'ballot',
898
+ 'block',
899
+ 'clear',
900
+ 'create',
901
+ 'delete_sweep',
902
+ 'drafts',
903
+ 'dynamic_feed',
904
+ 'file_copy',
905
+ 'filter_list',
906
+ 'flag',
907
+ 'font_download',
908
+ 'forward',
909
+ 'gesture',
910
+ 'how_to_reg',
911
+ 'how_to_vote',
912
+ 'inbox',
913
+ 'link',
914
+ 'link_off',
915
+ 'low_priority',
916
+ 'mail',
917
+ 'markunread',
918
+ 'move_to_inbox',
919
+ 'next_week',
920
+ 'outlined_flag',
921
+ 'policy',
922
+ 'redo',
923
+ 'remove',
924
+ 'remove_circle',
925
+ 'remove_circle_outline',
926
+ 'reply',
927
+ 'reply_all',
928
+ 'report',
929
+ 'report_off',
930
+ 'save',
931
+ 'save_alt',
932
+ 'select_all',
933
+ 'send',
934
+ 'sort',
935
+ 'square_foot',
936
+ 'text_format',
937
+ 'unarchive',
938
+ 'undo',
939
+ 'waves',
940
+ 'where_to_vote',
941
+ 'access_alarm',
942
+ 'access_alarms',
943
+ 'access_time',
944
+ 'add_alarm',
945
+ 'add_to_home_screen',
946
+ 'airplanemode_active',
947
+ 'airplanemode_inactive',
948
+ 'battery_alert',
949
+ 'battery_charging_full',
950
+ 'battery_full',
951
+ 'battery_std',
952
+ 'battery_unknown',
953
+ 'bluetooth',
954
+ 'bluetooth_connected',
955
+ 'bluetooth_disabled',
956
+ 'bluetooth_searching',
957
+ 'brightness_auto',
958
+ 'brightness_high',
959
+ 'brightness_low',
960
+ 'brightness_medium',
961
+ 'data_usage',
962
+ 'developer_mode',
963
+ 'devices',
964
+ 'dvr',
965
+ 'gps_fixed',
966
+ 'gps_not_fixed',
967
+ 'gps_off',
968
+ 'graphic_eq',
969
+ 'location_disabled',
970
+ 'location_searching',
971
+ 'mobile_friendly',
972
+ 'mobile_off',
973
+ 'nfc',
974
+ 'screen_lock_landscape',
975
+ 'screen_lock_portrait',
976
+ 'screen_lock_rotation',
977
+ 'screen_rotation',
978
+ 'sd_storage',
979
+ 'settings_system_daydream',
980
+ 'signal_cellular_4_bar',
981
+ 'signal_cellular_alt',
982
+ 'signal_cellular_connected_no_internet_4_bar',
983
+ 'signal_cellular_no_sim',
984
+ 'signal_cellular_null',
985
+ 'signal_cellular_off',
986
+ 'signal_wifi_4_bar',
987
+ 'signal_wifi_4_bar_lock',
988
+ 'signal_wifi_off',
989
+ 'storage',
990
+ 'usb',
991
+ 'wallpaper',
992
+ 'widgets',
993
+ 'wifi_lock',
994
+ 'wifi_tethering',
995
+ 'add_comment',
996
+ 'attach_file',
997
+ 'attach_money',
998
+ 'bar_chart',
999
+ 'border_all',
1000
+ 'border_bottom',
1001
+ 'border_clear',
1002
+ 'border_horizontal',
1003
+ 'border_inner',
1004
+ 'border_left',
1005
+ 'border_outer',
1006
+ 'border_right',
1007
+ 'border_style',
1008
+ 'border_top',
1009
+ 'border_vertical',
1010
+ 'bubble_chart',
1011
+ 'drag_handle',
1012
+ 'format_align_center',
1013
+ 'format_align_justify',
1014
+ 'format_align_left',
1015
+ 'format_align_right',
1016
+ 'format_bold',
1017
+ 'format_clear',
1018
+ 'format_color_reset',
1019
+ 'format_indent_decrease',
1020
+ 'format_indent_increase',
1021
+ 'format_italic',
1022
+ 'format_line_spacing',
1023
+ 'format_list_bulleted',
1024
+ 'format_list_numbered',
1025
+ 'format_list_numbered_rtl',
1026
+ 'format_paint',
1027
+ 'format_quote',
1028
+ 'format_shapes',
1029
+ 'format_size',
1030
+ 'format_strikethrough',
1031
+ 'format_textdirection_l_to_r',
1032
+ 'format_textdirection_r_to_l',
1033
+ 'format_underlined',
1034
+ 'functions',
1035
+ 'height',
1036
+ 'highlight',
1037
+ 'insert_chart',
1038
+ 'insert_chart_outlined',
1039
+ 'insert_comment',
1040
+ 'insert_drive_file',
1041
+ 'insert_emoticon',
1042
+ 'insert_invitation',
1043
+ 'insert_link',
1044
+ 'insert_photo',
1045
+ 'linear_scale',
1046
+ 'merge_type',
1047
+ 'mode_comment',
1048
+ 'monetization_on',
1049
+ 'money_off',
1050
+ 'multiline_chart',
1051
+ 'notes',
1052
+ 'pie_chart',
1053
+ 'post_add',
1054
+ 'publish',
1055
+ 'scatter_plot',
1056
+ 'score',
1057
+ 'short_text',
1058
+ 'show_chart',
1059
+ 'space_bar',
1060
+ 'strikethrough_s',
1061
+ 'table_chart',
1062
+ 'text_fields',
1063
+ 'title',
1064
+ 'vertical_align_bottom',
1065
+ 'vertical_align_center',
1066
+ 'vertical_align_top',
1067
+ 'wrap_text',
1068
+ 'attachment',
1069
+ 'cloud',
1070
+ 'cloud_circle',
1071
+ 'cloud_done',
1072
+ 'cloud_download',
1073
+ 'cloud_off',
1074
+ 'cloud_queue',
1075
+ 'cloud_upload',
1076
+ 'create_new_folder',
1077
+ 'folder',
1078
+ 'folder_open',
1079
+ 'folder_shared',
1080
+ 'cast',
1081
+ 'cast_connected',
1082
+ 'computer',
1083
+ 'desktop_mac',
1084
+ 'desktop_windows',
1085
+ 'developer_board',
1086
+ 'device_hub',
1087
+ 'device_unknown',
1088
+ 'devices_other',
1089
+ 'dock',
1090
+ 'gamepad',
1091
+ 'headset',
1092
+ 'headset_mic',
1093
+ 'keyboard',
1094
+ 'keyboard_arrow_down',
1095
+ 'keyboard_arrow_left',
1096
+ 'keyboard_arrow_right',
1097
+ 'keyboard_arrow_up',
1098
+ 'keyboard_backspace',
1099
+ 'keyboard_capslock',
1100
+ 'keyboard_hide',
1101
+ 'keyboard_return',
1102
+ 'keyboard_tab',
1103
+ 'keyboard_voice',
1104
+ 'laptop',
1105
+ 'laptop_chromebook',
1106
+ 'laptop_mac',
1107
+ 'laptop_windows',
1108
+ 'memory',
1109
+ 'mouse',
1110
+ 'phone_android',
1111
+ 'phone_iphone',
1112
+ 'phonelink',
1113
+ 'phonelink_off',
1114
+ 'power_input',
1115
+ 'router',
1116
+ 'scanner',
1117
+ 'security',
1118
+ 'sim_card',
1119
+ 'smartphone',
1120
+ 'speaker',
1121
+ 'speaker_group',
1122
+ 'tablet',
1123
+ 'tablet_android',
1124
+ 'tablet_mac',
1125
+ 'toys',
1126
+ 'tv',
1127
+ 'videogame_asset',
1128
+ 'watch',
1129
+ 'add_a_photo',
1130
+ 'add_photo_alternate',
1131
+ 'add_to_photos',
1132
+ 'adjust',
1133
+ 'assistant',
1134
+ 'assistant_photo',
1135
+ 'audiotrack',
1136
+ 'blur_circular',
1137
+ 'blur_linear',
1138
+ 'blur_off',
1139
+ 'blur_on',
1140
+ 'brightness_1',
1141
+ 'brightness_2',
1142
+ 'brightness_3',
1143
+ 'brightness_4',
1144
+ 'brightness_5',
1145
+ 'brightness_6',
1146
+ 'brightness_7',
1147
+ 'broken_image',
1148
+ 'brush',
1149
+ 'burst_mode',
1150
+ 'camera',
1151
+ 'camera_alt',
1152
+ 'camera_front',
1153
+ 'camera_rear',
1154
+ 'camera_roll',
1155
+ 'center_focus_strong',
1156
+ 'center_focus_weak',
1157
+ 'collections',
1158
+ 'collections_bookmark',
1159
+ 'color_lens',
1160
+ 'colorize',
1161
+ 'compare',
1162
+ 'control_point',
1163
+ 'control_point_duplicate',
1164
+ 'crop',
1165
+ 'crop_16_9',
1166
+ 'crop_3_2',
1167
+ 'crop_5_4',
1168
+ 'crop_7_5',
1169
+ 'crop_din',
1170
+ 'crop_free',
1171
+ 'crop_landscape',
1172
+ 'crop_original',
1173
+ 'crop_portrait',
1174
+ 'crop_rotate',
1175
+ 'crop_square',
1176
+ 'dehaze',
1177
+ 'details',
1178
+ 'edit',
1179
+ 'euro',
1180
+ 'exposure',
1181
+ 'exposure_neg_1',
1182
+ 'exposure_neg_2',
1183
+ 'exposure_plus_1',
1184
+ 'exposure_plus_2',
1185
+ 'exposure_zero',
1186
+ 'filter',
1187
+ 'filter_1',
1188
+ 'filter_2',
1189
+ 'filter_3',
1190
+ 'filter_4',
1191
+ 'filter_5',
1192
+ 'filter_6',
1193
+ 'filter_7',
1194
+ 'filter_8',
1195
+ 'filter_9',
1196
+ 'filter_9_plus',
1197
+ 'filter_b_and_w',
1198
+ 'filter_center_focus',
1199
+ 'filter_drama',
1200
+ 'filter_frames',
1201
+ 'filter_hdr',
1202
+ 'filter_none',
1203
+ 'filter_tilt_shift',
1204
+ 'filter_vintage',
1205
+ 'flare',
1206
+ 'flash_auto',
1207
+ 'flash_off',
1208
+ 'flash_on',
1209
+ 'flip',
1210
+ 'flip_camera_android',
1211
+ 'flip_camera_ios',
1212
+ 'gradient',
1213
+ 'grain',
1214
+ 'grid_off',
1215
+ 'grid_on',
1216
+ 'hdr_off',
1217
+ 'hdr_on',
1218
+ 'hdr_strong',
1219
+ 'hdr_weak',
1220
+ 'healing',
1221
+ 'image',
1222
+ 'image_aspect_ratio',
1223
+ 'image_search',
1224
+ 'iso',
1225
+ 'landscape',
1226
+ 'leak_add',
1227
+ 'leak_remove',
1228
+ 'lens',
1229
+ 'linked_camera',
1230
+ 'looks',
1231
+ 'looks_3',
1232
+ 'looks_4',
1233
+ 'looks_5',
1234
+ 'looks_6',
1235
+ 'looks_one',
1236
+ 'looks_two',
1237
+ 'loupe',
1238
+ 'monochrome_photos',
1239
+ 'movie_creation',
1240
+ 'movie_filter',
1241
+ 'music_note',
1242
+ 'music_off',
1243
+ 'nature',
1244
+ 'nature_people',
1245
+ 'navigate_before',
1246
+ 'navigate_next',
1247
+ 'palette',
1248
+ 'panorama',
1249
+ 'panorama_fish_eye',
1250
+ 'panorama_horizontal',
1251
+ 'panorama_vertical',
1252
+ 'panorama_wide_angle',
1253
+ 'photo',
1254
+ 'photo_album',
1255
+ 'photo_camera',
1256
+ 'photo_filter',
1257
+ 'photo_library',
1258
+ 'photo_size_select_actual',
1259
+ 'photo_size_select_large',
1260
+ 'photo_size_select_small',
1261
+ 'picture_as_pdf',
1262
+ 'portrait',
1263
+ 'remove_red_eye',
1264
+ 'rotate_90_degrees_ccw',
1265
+ 'rotate_left',
1266
+ 'rotate_right',
1267
+ 'shutter_speed',
1268
+ 'slideshow',
1269
+ 'straighten',
1270
+ 'style',
1271
+ 'switch_camera',
1272
+ 'switch_video',
1273
+ 'tag_faces',
1274
+ 'texture',
1275
+ 'timelapse',
1276
+ 'timer',
1277
+ 'timer_10',
1278
+ 'timer_3',
1279
+ 'timer_off',
1280
+ 'tonality',
1281
+ 'transform',
1282
+ 'tune',
1283
+ 'view_comfy',
1284
+ 'view_compact',
1285
+ 'vignette',
1286
+ 'wb_auto',
1287
+ 'wb_cloudy',
1288
+ 'wb_incandescent',
1289
+ 'wb_iridescent',
1290
+ 'wb_sunny',
1291
+ '360',
1292
+ 'atm',
1293
+ 'beenhere',
1294
+ 'category',
1295
+ 'compass_calibration',
1296
+ 'departure_board',
1297
+ 'directions',
1298
+ 'directions_bike',
1299
+ 'directions_boat',
1300
+ 'directions_bus',
1301
+ 'directions_car',
1302
+ 'directions_railway',
1303
+ 'directions_run',
1304
+ 'directions_subway',
1305
+ 'directions_transit',
1306
+ 'directions_walk',
1307
+ 'edit_attributes',
1308
+ 'ev_station',
1309
+ 'fastfood',
1310
+ 'flight',
1311
+ 'hotel',
1312
+ 'layers',
1313
+ 'layers_clear',
1314
+ 'local_activity',
1315
+ 'local_airport',
1316
+ 'local_atm',
1317
+ 'local_bar',
1318
+ 'local_cafe',
1319
+ 'local_car_wash',
1320
+ 'local_convenience_store',
1321
+ 'local_dining',
1322
+ 'local_drink',
1323
+ 'local_florist',
1324
+ 'local_gas_station',
1325
+ 'local_grocery_store',
1326
+ 'local_hospital',
1327
+ 'local_hotel',
1328
+ 'local_laundry_service',
1329
+ 'local_library',
1330
+ 'local_mall',
1331
+ 'local_movies',
1332
+ 'local_offer',
1333
+ 'local_parking',
1334
+ 'local_pharmacy',
1335
+ 'local_phone',
1336
+ 'local_pizza',
1337
+ 'local_play',
1338
+ 'local_post_office',
1339
+ 'local_printshop',
1340
+ 'local_see',
1341
+ 'local_shipping',
1342
+ 'local_taxi',
1343
+ 'map',
1344
+ 'menu_book',
1345
+ 'money',
1346
+ 'museum',
1347
+ 'my_location',
1348
+ 'navigation',
1349
+ 'near_me',
1350
+ 'person_pin',
1351
+ 'rate_review',
1352
+ 'restaurant',
1353
+ 'restaurant_menu',
1354
+ 'satellite',
1355
+ 'store_mall_directory',
1356
+ 'streetview',
1357
+ 'subway',
1358
+ 'terrain',
1359
+ 'traffic',
1360
+ 'train',
1361
+ 'tram',
1362
+ 'transfer_within_a_station',
1363
+ 'transit_enterexit',
1364
+ 'trip_origin',
1365
+ 'zoom_out_map',
1366
+ 'apps',
1367
+ 'arrow_back',
1368
+ 'arrow_back_ios',
1369
+ 'arrow_downward',
1370
+ 'arrow_drop_down',
1371
+ 'arrow_drop_down_circle',
1372
+ 'arrow_drop_up',
1373
+ 'arrow_forward',
1374
+ 'arrow_forward_ios',
1375
+ 'arrow_left',
1376
+ 'arrow_right',
1377
+ 'arrow_upward',
1378
+ 'cancel',
1379
+ 'check',
1380
+ 'chevron_left',
1381
+ 'chevron_right',
1382
+ 'close',
1383
+ 'double_arrow',
1384
+ 'expand_less',
1385
+ 'expand_more',
1386
+ 'first_page',
1387
+ 'fullscreen',
1388
+ 'fullscreen_exit',
1389
+ 'home_work',
1390
+ 'last_page',
1391
+ 'menu',
1392
+ 'menu_open',
1393
+ 'more_horiz',
1394
+ 'more_vert',
1395
+ 'refresh',
1396
+ 'subdirectory_arrow_left',
1397
+ 'subdirectory_arrow_right',
1398
+ 'unfold_less',
1399
+ 'unfold_more',
1400
+ 'account_tree',
1401
+ 'adb',
1402
+ 'airline_seat_flat',
1403
+ 'airline_seat_flat_angled',
1404
+ 'airline_seat_individual_suite',
1405
+ 'airline_seat_legroom_extra',
1406
+ 'airline_seat_legroom_normal',
1407
+ 'airline_seat_legroom_reduced',
1408
+ 'airline_seat_recline_extra',
1409
+ 'airline_seat_recline_normal',
1410
+ 'bluetooth_audio',
1411
+ 'confirmation_number',
1412
+ 'disc_full',
1413
+ 'drive_eta',
1414
+ 'enhanced_encryption',
1415
+ 'event_available',
1416
+ 'event_busy',
1417
+ 'event_note',
1418
+ 'folder_special',
1419
+ 'live_tv',
1420
+ 'mms',
1421
+ 'more',
1422
+ 'network_check',
1423
+ 'network_locked',
1424
+ 'no_encryption',
1425
+ 'ondemand_video',
1426
+ 'personal_video',
1427
+ 'phone_bluetooth_speaker',
1428
+ 'phone_callback',
1429
+ 'phone_forwarded',
1430
+ 'phone_in_talk',
1431
+ 'phone_locked',
1432
+ 'phone_missed',
1433
+ 'phone_paused',
1434
+ 'power',
1435
+ 'power_off',
1436
+ 'priority_high',
1437
+ 'sd_card',
1438
+ 'sms',
1439
+ 'sms_failed',
1440
+ 'sync',
1441
+ 'sync_disabled',
1442
+ 'sync_problem',
1443
+ 'system_update',
1444
+ 'tap_and_play',
1445
+ 'time_to_leave',
1446
+ 'tv_off',
1447
+ 'vibration',
1448
+ 'voice_chat',
1449
+ 'vpn_lock',
1450
+ 'wc',
1451
+ 'wifi',
1452
+ 'wifi_off',
1453
+ 'ac_unit',
1454
+ 'airport_shuttle',
1455
+ 'all_inclusive',
1456
+ 'apartment',
1457
+ 'bathtub',
1458
+ 'beach_access',
1459
+ 'business_center',
1460
+ 'casino',
1461
+ 'child_care',
1462
+ 'child_friendly',
1463
+ 'fitness_center',
1464
+ 'free_breakfast',
1465
+ 'golf_course',
1466
+ 'hot_tub',
1467
+ 'house',
1468
+ 'kitchen',
1469
+ 'meeting_room',
1470
+ 'no_meeting_room',
1471
+ 'pool',
1472
+ 'room_service',
1473
+ 'rv_hookup',
1474
+ 'smoke_free',
1475
+ 'smoking_rooms',
1476
+ 'spa',
1477
+ 'storefront',
1478
+ 'cake',
1479
+ 'deck',
1480
+ 'emoji_emotions',
1481
+ 'emoji_events',
1482
+ 'emoji_flags',
1483
+ 'emoji_food_beverage',
1484
+ 'emoji_nature',
1485
+ 'emoji_objects',
1486
+ 'emoji_people',
1487
+ 'emoji_symbols',
1488
+ 'emoji_transportation',
1489
+ 'fireplace',
1490
+ 'group',
1491
+ 'group_add',
1492
+ 'king_bed',
1493
+ 'location_city',
1494
+ 'mood',
1495
+ 'mood_bad',
1496
+ 'nights_stay',
1497
+ 'notifications',
1498
+ 'notifications_active',
1499
+ 'notifications_none',
1500
+ 'notifications_off',
1501
+ 'notifications_paused',
1502
+ 'outdoor_grill',
1503
+ 'pages',
1504
+ 'party_mode',
1505
+ 'people',
1506
+ 'people_alt',
1507
+ 'people_outline',
1508
+ 'person',
1509
+ 'person_add',
1510
+ 'person_outline',
1511
+ 'plus_one',
1512
+ 'poll',
1513
+ 'public',
1514
+ 'school',
1515
+ 'sentiment_dissatisfied',
1516
+ 'sentiment_satisfied',
1517
+ 'sentiment_very_dissatisfied',
1518
+ 'sentiment_very_satisfied',
1519
+ 'share',
1520
+ 'single_bed',
1521
+ 'sports',
1522
+ 'sports_baseball',
1523
+ 'sports_basketball',
1524
+ 'sports_cricket',
1525
+ 'sports_esports',
1526
+ 'sports_football',
1527
+ 'sports_golf',
1528
+ 'sports_handball',
1529
+ 'sports_hockey',
1530
+ 'sports_kabaddi',
1531
+ 'sports_mma',
1532
+ 'sports_motorsports',
1533
+ 'sports_rugby',
1534
+ 'sports_soccer',
1535
+ 'sports_tennis',
1536
+ 'sports_volleyball',
1537
+ 'thumb_down_alt',
1538
+ 'thumb_up_alt',
1539
+ 'whatshot',
1540
+ 'check_box',
1541
+ 'check_box_outline_blank',
1542
+ 'indeterminate_check_box',
1543
+ 'radio_button_checked',
1544
+ 'radio_button_unchecked',
1545
+ 'star',
1546
+ 'star_border',
1547
+ 'star_half',
1548
+ 'toggle_off',
1549
+ 'toggle_on',
1550
+ ];
1551
+ }
1552
+ get icons() {
1553
+ return this._icons;
1554
+ }
1555
+ filter(query) {
1556
+ return this.icons.filter((el) => {
1557
+ return el.toLowerCase().indexOf(query ? query.toLowerCase() : '') > -1;
1558
+ });
1559
+ }
1560
+ }
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
+ }] });
1566
+
1567
+ const TD_DIRECTIVES = [TdAutoTrimDirective, TdFullscreenDirective];
1568
+ // Validators
1569
+ const TD_VALIDATORS = [];
1570
+ const TD_PIPES = [
1571
+ TdTimeAgoPipe,
1572
+ TdTimeDifferencePipe,
1573
+ TdTimeUntilPipe,
1574
+ TdBytesPipe,
1575
+ TdDecimalBytesPipe,
1576
+ TdDigitsPipe,
1577
+ TdTruncatePipe,
1578
+ ];
1579
+ class CovalentCommonModule {
1580
+ }
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,
1583
+ TdTimeDifferencePipe,
1584
+ TdTimeUntilPipe,
1585
+ TdBytesPipe,
1586
+ TdDecimalBytesPipe,
1587
+ TdDigitsPipe,
1588
+ TdTruncatePipe], imports: [FormsModule, CommonModule], exports: [FormsModule, CommonModule, TdAutoTrimDirective, TdFullscreenDirective, TdTimeAgoPipe,
1589
+ TdTimeDifferencePipe,
1590
+ TdTimeUntilPipe,
1591
+ TdBytesPipe,
1592
+ TdDecimalBytesPipe,
1593
+ TdDigitsPipe,
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
+ }] });
1605
+
1606
+ /**
1607
+ * const tdRotateAnimation
1608
+ *
1609
+ * Parameter Options:
1610
+ * * degressStart: Degrees of rotation that the dom object will end up in during the "false" state
1611
+ * * degreesEnd: Degrees of rotation that the dom object will end up in during the "true" state
1612
+ * * duration: Duration the animation will run in milliseconds. Defaults to 150 ms.
1613
+ * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
1614
+ * * ease: Animation accelerates and decelerates. Defaults to ease-in.
1615
+ *
1616
+ * Returns an [AnimationTriggerMetadata] object with boolean states for a rotation animation.
1617
+ *
1618
+ * usage: [@tdRotate]="{ value: true | false, params: { degreesEnd: 90 }}"
1619
+ */
1620
+ const tdRotateAnimation = trigger('tdRotate', [
1621
+ state('0', style({
1622
+ transform: 'rotate({{ degressStart }}deg)',
1623
+ }), { params: { degressStart: 0 } }),
1624
+ state('1', style({
1625
+ transform: 'rotate({{ degreesEnd }}deg)',
1626
+ }), { params: { degreesEnd: 180 } }),
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' } }),
1633
+ ]);
1634
+
1635
+ /**
1636
+ * const tdCollapseAnimation
1637
+ *
1638
+ * Parameter Options:
1639
+ * * duration: Duration the animation will run in milliseconds. Defaults to 150 ms.
1640
+ * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
1641
+ * * easeOnClose: Animation accelerates and decelerates when closing. Defaults to ease-in.
1642
+ * * easeOnOpen: Animation accelerates and decelerates when opening. Defaults to ease-out.
1643
+ *
1644
+ * Returns an [AnimationTriggerMetadata] object with boolean states for a collapse/expand animation.
1645
+ *
1646
+ * usage: [@tdCollapse]="{ value: true | false, params: { duration: 500 }}"
1647
+ */
1648
+ const tdCollapseAnimation = trigger('tdCollapse', [
1649
+ state('1', style({
1650
+ height: '0',
1651
+ overflow: 'hidden',
1652
+ })),
1653
+ state('0', style({
1654
+ height: AUTO_STYLE,
1655
+ overflow: AUTO_STYLE,
1656
+ })),
1657
+ transition('0 => 1', [
1658
+ style({
1659
+ overflow: 'hidden',
1660
+ height: AUTO_STYLE,
1661
+ }),
1662
+ group([
1663
+ query('@*', animateChild(), { optional: true }),
1664
+ animate('{{ duration }}ms {{ delay }}ms {{ ease }}', style({
1665
+ height: '0',
1666
+ overflow: 'hidden',
1667
+ })),
1668
+ ]),
1669
+ ], { params: { duration: 150, delay: '0', ease: 'ease-in' } }),
1670
+ transition('1 => 0', [
1671
+ style({
1672
+ height: '0',
1673
+ overflow: 'hidden',
1674
+ }),
1675
+ group([
1676
+ query('@*', animateChild(), { optional: true }),
1677
+ animate('{{ duration }}ms {{ delay }}ms {{ ease }}', style({
1678
+ overflow: 'hidden',
1679
+ height: AUTO_STYLE,
1680
+ })),
1681
+ ]),
1682
+ ], { params: { duration: 150, delay: '0', ease: 'ease-out' } }),
1683
+ ]);
1684
+
1685
+ /**
1686
+ * const tdFadeInOutAnimation
1687
+ *
1688
+ * Parameter Options:
1689
+ * * duration: Duration the animation will run in milliseconds. Defaults to 150 ms.
1690
+ * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
1691
+ * * easeOnIn: Animation accelerates and decelerates when fading in. Defaults to ease-in.
1692
+ * * easeOnOut: Animation accelerates and decelerates when fading out. Defaults to ease-out.
1693
+ *
1694
+ * Returns an [AnimationTriggerMetadata] object with boolean states for a fade animation.
1695
+ *
1696
+ * usage: [@tdFadeInOut]="{ value: true | false, params: { duration: 200 }}"
1697
+ */
1698
+ const tdFadeInOutAnimation = trigger('tdFadeInOut', [
1699
+ state('0', style({
1700
+ opacity: '0',
1701
+ visibility: 'hidden',
1702
+ })),
1703
+ state('1', style({
1704
+ opacity: AUTO_STYLE,
1705
+ visibility: AUTO_STYLE,
1706
+ })),
1707
+ transition('0 => 1', [
1708
+ group([
1709
+ query('@*', animateChild(), { optional: true }),
1710
+ animate('{{ duration }}ms {{ delay }}ms {{ easeOnIn }}'),
1711
+ ]),
1712
+ ], { params: { duration: 150, delay: '0', easeOnIn: 'ease-in' } }),
1713
+ transition('1 => 0', [
1714
+ group([
1715
+ query('@*', animateChild(), { optional: true }),
1716
+ animate('{{ duration }}ms {{ delay }}ms {{ easeOnOut }}'),
1717
+ ]),
1718
+ ], { params: { duration: 150, delay: '0', easeOnOut: 'ease-out' } }),
1719
+ ]);
1720
+
1721
+ /**
1722
+ * const tdBounceAnimation
1723
+ *
1724
+ * Parameter Options:
1725
+ * * duration: Duration the animation will run in milliseconds. Defaults to 500 ms.
1726
+ * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
1727
+ * * ease: Animation accelerate and decelerate style. Defaults to ease-out.
1728
+ *
1729
+ * Returns an [AnimationTriggerMetadata] object with boolean states for a bounce animation.
1730
+ *
1731
+ * usage: [@tdBounce]="{ value: true | false, params: { duration: 200 }}"
1732
+ */
1733
+ const tdBounceAnimation = trigger('tdBounce', [
1734
+ state('0', style({
1735
+ transform: 'translate3d(0, 0, 0)',
1736
+ })),
1737
+ state('1', style({
1738
+ transform: 'translate3d(0, 0, 0)',
1739
+ })),
1740
+ transition('0 <=> 1', [
1741
+ group([
1742
+ query('@*', animateChild(), { optional: true }),
1743
+ animate('{{ duration }}ms {{ delay }}ms {{ ease }}', keyframes([
1744
+ style({
1745
+ animationTimingFunction: 'cubic-bezier(0.215, 0.610, 0.355, 1.000)',
1746
+ transform: 'translate3d(0, 0, 0)',
1747
+ offset: 0,
1748
+ }),
1749
+ style({
1750
+ animationTimingFunction: 'cubic-bezier(0.215, 0.610, 0.355, 1.000)',
1751
+ transform: 'translate3d(0, 0, 0)',
1752
+ offset: 0.2,
1753
+ }),
1754
+ style({
1755
+ animationTimingFunction: 'cubic-bezier(0.755, 0.050, 0.855, 0.060)',
1756
+ transform: 'translate3d(0, -30px, 0)',
1757
+ offset: 0.4,
1758
+ }),
1759
+ style({
1760
+ animationTimingFunction: 'cubic-bezier(0.755, 0.050, 0.855, 0.060)',
1761
+ transform: 'translate3d(0, -30px, 0)',
1762
+ offset: 0.43,
1763
+ }),
1764
+ style({
1765
+ animationTimingFunction: 'cubic-bezier(0.215, 0.610, 0.355, 1.000)',
1766
+ transform: 'translate3d(0, 0, 0)',
1767
+ offset: 0.53,
1768
+ }),
1769
+ style({
1770
+ animationTimingFunction: 'cubic-bezier(0.755, 0.050, 0.855, 0.060)',
1771
+ transform: 'translate3d(0, -15px, 0)',
1772
+ offset: 0.7,
1773
+ }),
1774
+ style({
1775
+ animationTimingFunction: 'cubic-bezier(0.215, 0.610, 0.355, 1.000)',
1776
+ transform: 'translate3d(0, 0, 0)',
1777
+ offset: 0.8,
1778
+ }),
1779
+ style({ transform: 'translate3d(0, -4px, 0)', offset: 0.9 }),
1780
+ style({
1781
+ animationTimingFunction: 'cubic-bezier(0.215, 0.610, 0.355, 1.000)',
1782
+ transform: 'translate3d(0, 0, 0)',
1783
+ offset: 1.0,
1784
+ }),
1785
+ ])),
1786
+ ]),
1787
+ ], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
1788
+ ]);
1789
+
1790
+ /**
1791
+ * const tdFlashAnimation
1792
+ *
1793
+ * Parameter Options:
1794
+ * * duration: Duration the animation will run in milliseconds. Defaults to 500 ms.
1795
+ * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
1796
+ * * ease: Animation accelerate and decelerate style. Defaults to ease-out.
1797
+ *
1798
+ * Returns an [AnimationTriggerMetadata] object with boolean states for a flash animation.
1799
+ *
1800
+ * usage: [@tdFlash]="{ value: true | false, params: { duration: 200 }}"
1801
+ */
1802
+ const tdFlashAnimation = trigger('tdFlash', [
1803
+ state('0', style({
1804
+ opacity: 1,
1805
+ })),
1806
+ state('1', style({
1807
+ opacity: 1,
1808
+ })),
1809
+ transition('0 <=> 1', [
1810
+ group([
1811
+ query('@*', animateChild(), { optional: true }),
1812
+ animate('{{ duration }}ms {{ delay }}ms {{ ease }}', keyframes([
1813
+ style({ opacity: 1, offset: 0 }),
1814
+ style({ opacity: 0, offset: 0.25 }),
1815
+ style({ opacity: 1, offset: 0.5 }),
1816
+ style({ opacity: 0, offset: 0.75 }),
1817
+ style({ opacity: 1, offset: 1.0 }),
1818
+ ])),
1819
+ ]),
1820
+ ], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
1821
+ ]);
1822
+
1823
+ /**
1824
+ * const tdHeadshakeAnimation
1825
+ *
1826
+ * Parameter Options:
1827
+ * * duration: Duration the animation will run in milliseconds. Defaults to 500 ms.
1828
+ * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
1829
+ * * ease: Animation accelerate and decelerate style. Defaults to ease-out.
1830
+ *
1831
+ * Returns an [AnimationTriggerMetadata] object with boolean states for a headshake animation.
1832
+ *
1833
+ * usage: [@tdHeadshake]="{ value: true | false, params: { duration: 200 }}"
1834
+ */
1835
+ const tdHeadshakeAnimation = trigger('tdHeadshake', [
1836
+ state('0', style({
1837
+ transform: 'translateX(0)',
1838
+ })),
1839
+ state('1', style({
1840
+ transform: 'translateX(0)',
1841
+ })),
1842
+ transition('0 <=> 1', [
1843
+ group([
1844
+ query('@*', animateChild(), { optional: true }),
1845
+ animate('{{ duration }}ms {{ delay }}ms {{ ease }}', keyframes([
1846
+ style({ transform: 'translateX(0)', offset: 0 }),
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
+ }),
1863
+ style({ transform: 'translateX(0)', offset: 0.5 }),
1864
+ ])),
1865
+ ]),
1866
+ ], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
1867
+ ]);
1868
+
1869
+ /**
1870
+ * const tdJelloAnimation
1871
+ *
1872
+ * Parameter Options:
1873
+ * * duration: Duration the animation will run in milliseconds. Defaults to 500 ms.
1874
+ * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
1875
+ * * ease: Animation accelerate and decelerate style. Defaults to ease-out.
1876
+ *
1877
+ * Returns an [AnimationTriggerMetadata] object with boolean states for a jello animation.
1878
+ *
1879
+ * usage: [@tdJello]="{ value: true | false, params: { duration: 200 }}"
1880
+ */
1881
+ const tdJelloAnimation = trigger('tdJello', [
1882
+ state('0', style({
1883
+ transform: 'none',
1884
+ })),
1885
+ state('1', style({
1886
+ transform: 'none',
1887
+ })),
1888
+ transition('0 <=> 1', [
1889
+ group([
1890
+ query('@*', animateChild(), { optional: true }),
1891
+ animate('{{ duration }}ms {{ delay }}ms {{ ease }}', keyframes([
1892
+ style({ transform: 'none', offset: 0 }),
1893
+ style({ transform: 'none', offset: 0.011 }),
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
+ }),
1922
+ ])),
1923
+ ]),
1924
+ ], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
1925
+ ]);
1926
+
1927
+ /**
1928
+ * const tdPulseAnimation
1929
+ *
1930
+ * Parameter Options:
1931
+ * * duration: Duration the animation will run in milliseconds. Defaults to 500 ms.
1932
+ * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
1933
+ * * ease: Animation accelerate and decelerate style. Defaults to ease-out.
1934
+ *
1935
+ * Returns an [AnimationTriggerMetadata] object with boolean states for a pulse animation.
1936
+ *
1937
+ * usage: [@tdPulse]="{ value: true | false, params: { duration: 200 }}"
1938
+ */
1939
+ const tdPulseAnimation = trigger('tdPulse', [
1940
+ state('0', style({
1941
+ transform: 'scale3d(1, 1, 1)',
1942
+ })),
1943
+ state('1', style({
1944
+ transform: 'scale3d(1, 1, 1)',
1945
+ })),
1946
+ transition('0 <=> 1', [
1947
+ group([
1948
+ query('@*', animateChild(), { optional: true }),
1949
+ animate('{{ duration }}ms {{ delay }}ms {{ ease }}', keyframes([
1950
+ style({ transform: 'scale3d(1, 1, 1)', offset: 0 }),
1951
+ style({ transform: 'scale3d(1.05, 1.05, 1.05)', offset: 0.5 }),
1952
+ style({ transform: 'scale3d(1, 1, 1)', offset: 1.0 }),
1953
+ ])),
1954
+ ]),
1955
+ ], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
1956
+ ]);
1957
+
1958
+ const noop = () => {
1959
+ // empty method
1960
+ };
1961
+ /** Mixin to augment a component with ngModel support. */
1962
+ function mixinControlValueAccessor(base, initialValue) {
1963
+ return class extends base {
1964
+ constructor(...args) {
1965
+ super(...args);
1966
+ this._value = initialValue instanceof Array
1967
+ ? Object.assign([], initialValue)
1968
+ : initialValue;
1969
+ this.onChange = (_) => noop;
1970
+ this.onTouched = () => noop;
1971
+ this._subjectValueChanges = new Subject();
1972
+ this.valueChanges = this._subjectValueChanges.asObservable();
1973
+ }
1974
+ set value(v) {
1975
+ if (v !== this._value) {
1976
+ this._value = v;
1977
+ this.onChange(v);
1978
+ this._changeDetectorRef.markForCheck();
1979
+ this._subjectValueChanges.next(v);
1980
+ }
1981
+ }
1982
+ get value() {
1983
+ return this._value;
1984
+ }
1985
+ writeValue(value) {
1986
+ this.value = value;
1987
+ this._changeDetectorRef.markForCheck();
1988
+ }
1989
+ registerOnChange(fn) {
1990
+ this.onChange = fn;
1991
+ }
1992
+ registerOnTouched(fn) {
1993
+ this.onTouched = fn;
1994
+ }
1995
+ };
1996
+ }
1997
+
1998
+ /** Mixin to augment a component or directive with a `disabled` property. */
1999
+ function mixinDisabled(base) {
2000
+ return class extends base {
2001
+ constructor(...args) {
2002
+ super(...args);
2003
+ this._disabled = false;
2004
+ }
2005
+ get disabled() {
2006
+ return this._disabled;
2007
+ }
2008
+ set disabled(value) {
2009
+ const newValue = coerceBooleanProperty(value);
2010
+ if (this._disabled !== newValue) {
2011
+ this._disabled = newValue;
2012
+ this.onDisabledChange(this._disabled);
2013
+ }
2014
+ }
2015
+ onDisabledChange(v) {
2016
+ /** NOT IMPLEMENTED, this needs to be overriden by subclasses if needed */
2017
+ }
2018
+ };
2019
+ }
2020
+
2021
+ /** Mixin to augment a component or directive with a `disabled` property. */
2022
+ function mixinDisableRipple(base) {
2023
+ return class extends base {
2024
+ constructor(...args) {
2025
+ super(...args);
2026
+ this._disableRipple = false;
2027
+ }
2028
+ get disableRipple() {
2029
+ return this._disableRipple;
2030
+ }
2031
+ set disableRipple(value) {
2032
+ const newValue = coerceBooleanProperty(value);
2033
+ if (this._disableRipple !== newValue) {
2034
+ this._disableRipple = newValue;
2035
+ this.onDisableRippleChange(this._disableRipple);
2036
+ }
2037
+ }
2038
+ onDisableRippleChange(v) {
2039
+ /** NOT IMPLEMENTED, this needs to be overriden by subclasses if needed */
2040
+ }
2041
+ };
2042
+ }
2043
+
2044
+ class CovalentValidators {
2045
+ static min(minValue) {
2046
+ // tslint:disable-next-line:prefer-immediate-return
2047
+ const func = (c) => {
2048
+ if (!!Validators.required(c) || (!minValue && minValue !== 0)) {
2049
+ return {};
2050
+ }
2051
+ const v = c.value;
2052
+ return v < minValue ? { min: { minValue, actualValue: v } } : {};
2053
+ };
2054
+ return func;
2055
+ }
2056
+ static max(maxValue) {
2057
+ // tslint:disable-next-line:prefer-immediate-return
2058
+ const func = (c) => {
2059
+ if (!!Validators.required(c) || (!maxValue && maxValue !== 0)) {
2060
+ return {};
2061
+ }
2062
+ const v = c.value;
2063
+ return v > maxValue ? { max: { maxValue, actualValue: v } } : {};
2064
+ };
2065
+ return func;
2066
+ }
2067
+ static numberRequired(c) {
2068
+ return Number.isNaN(c.value) ? { required: true } : {};
2069
+ }
2070
+ }
2071
+
2072
+ /**
2073
+ * Assign a text value to the system clipboard. Note: Due to browser
2074
+ * security restrictions, the copy will only succeed if this method
2075
+ * is invoked as a result of a user action (eg. user button click).
2076
+ *
2077
+ * @param value text value to be assigned to clipboard.
2078
+ * @returns boolean indicating success/failure of copy operation.
2079
+ */
2080
+ function copyToClipboard(value) {
2081
+ // Create a temporary textarea element and append to DOM
2082
+ const fakeTextArea = document.createElement('textarea');
2083
+ document.body.appendChild(fakeTextArea);
2084
+ // Assign value to be copied to clipboard
2085
+ fakeTextArea.value = value;
2086
+ fakeTextArea.select();
2087
+ // Copy to clipboard
2088
+ const success = document.execCommand('copy');
2089
+ // Remove temporary textarea
2090
+ document.body.removeChild(fakeTextArea);
2091
+ // Return boolean indicating if exec command succeeded
2092
+ return success;
2093
+ }
2094
+
2095
+ /**
2096
+ * Conversion function that takes an array of objects and converts
2097
+ * them to CSV format. Custom key and line separators can be specified.
2098
+ *
2099
+ * @param objects list of strings in JSON format or actual objects
2100
+ * @param keySeparator optional parameter to specify custom value separator
2101
+ * @param lineSeparator optional parameter to specify custom end of line separator
2102
+ * @returns CSV formatted string
2103
+ */
2104
+ function convertObjectsToCSV(objects, keySeparator = ',', lineSeparator = '\r\n') {
2105
+ if (!objects) {
2106
+ return '';
2107
+ }
2108
+ let outputString = '';
2109
+ // Iterate through array, creating one output line per object
2110
+ objects.forEach((value, key) => {
2111
+ let line = '';
2112
+ for (const index of Object.keys(objects[key])) {
2113
+ if (line !== '') {
2114
+ line += keySeparator;
2115
+ }
2116
+ if (objects[key][index] === null || objects[key][index] === undefined) {
2117
+ objects[key][index] = '';
2118
+ }
2119
+ line += objects[key][index];
2120
+ }
2121
+ outputString += `${line}${lineSeparator}`;
2122
+ });
2123
+ // Append header row identifying keys into output
2124
+ if (objects[0]) {
2125
+ const headers = Object.keys(objects[0]).join(keySeparator);
2126
+ outputString = `${headers}${lineSeparator}${outputString}`;
2127
+ }
2128
+ return outputString;
2129
+ }
2130
+ /**
2131
+ * Conversion function that takes a CSV representation
2132
+ * of objects and converts them to JSON.
2133
+ * The first row in the input must be the object keys.
2134
+ * Custom key separator and line separator can be specified.
2135
+ * Indentation size for output JSON can be specified.
2136
+ *
2137
+ * @param csv list of strings in JSON format or actual objects
2138
+ * @param keySeparator optional parameter to specify custom value separator
2139
+ * @param lineSeparator optional parameter to specify custom end of line separator
2140
+ * @param indent optional parameter indicating space indentation for pretty output. Default is 2.
2141
+ * @returns JSON formatted string
2142
+ */
2143
+ function convertCSVToJSON(csv, keySeparator = ',', lineSeparator = '\r\n', indent = 2) {
2144
+ if (!csv) {
2145
+ return '';
2146
+ }
2147
+ const csvArray = csv.split(lineSeparator);
2148
+ // Input CSV must have a minimum of two rows
2149
+ if (csvArray.length < 2) {
2150
+ return '';
2151
+ }
2152
+ const newObjects = [];
2153
+ // Extract object keys from header row
2154
+ const keys = csvArray[0].split(keySeparator);
2155
+ // Iterate through array, creating one output line per object
2156
+ for (let i = 1; i < csvArray.length; i++) {
2157
+ const newObject = {};
2158
+ const values = csvArray[i].split(keySeparator);
2159
+ if (values.length !== keys.length) {
2160
+ continue;
2161
+ }
2162
+ for (let j = 0; j < keys.length; j++) {
2163
+ newObject[keys[j]] = values[j];
2164
+ }
2165
+ newObjects.push(newObject);
2166
+ }
2167
+ return formatJSON(newObjects, indent);
2168
+ }
2169
+ /**
2170
+ * Convert object to JSON using stringify. Indentation size for output JSON can be specified.
2171
+ *
2172
+ * @param json object to be converted
2173
+ * @param indent optional parameter indicating space indentation for pretty output. Default is 2.
2174
+ */
2175
+ function formatJSON(json, indent = 2) {
2176
+ return JSON.stringify(json, undefined, indent);
2177
+ }
2178
+
2179
+ /**
2180
+ * Download CSV content to the specified file with .csv extension
2181
+ * appended to the provided base file name.
2182
+ *
2183
+ * @param fileBaseName base name of destination file
2184
+ * @param csv CSV contents
2185
+ */
2186
+ function downloadCSV(fileBaseName, csv) {
2187
+ downloadFile(`${fileBaseName}.csv`, csv, 'text/csv');
2188
+ }
2189
+ /**
2190
+ * Download JSON content to the specified file with .json extension
2191
+ * appended to the provided base file name.
2192
+ *
2193
+ * @param fileBaseName base name of destination file
2194
+ * @param json JSON contents
2195
+ * @param format indicates if JSON should be prettied
2196
+ * @param indent optional parameter indicating space indentation for pretty output. Default is 2
2197
+ */
2198
+ function downloadJSON(fileBaseName, json, format = false, indent = 2) {
2199
+ downloadFile(`${fileBaseName}.json`, format ? formatJSON(JSON.parse(json), indent) : json, 'application/json');
2200
+ }
2201
+ /**
2202
+ * Convert objects to CSV format and download to file with .csv
2203
+ * extension appended to the provided base file name. Custom key
2204
+ * separator and line separator can be specified.
2205
+ *
2206
+ * @param fileBaseName base name of destination file
2207
+ * @param objects object array to be converted to CSV format
2208
+ * prior to writing to download destination
2209
+ * @param keySeparator optional parameter to specify custom value separator
2210
+ * @param lineSeparator optional parameter to specify custom end of line separator
2211
+ */
2212
+ function downloadObjectsToCSV(fileBaseName, objects, keySeparator = ',', lineSeparator = '\r\n') {
2213
+ downloadFile(`${fileBaseName}.csv`, convertObjectsToCSV(objects, keySeparator, lineSeparator), 'text/csv');
2214
+ }
2215
+ /**
2216
+ * Convert objects to JSON format and download to file with .json
2217
+ * extension appended to the provided base file name.
2218
+ *
2219
+ * @param fileBaseName base name of destination file
2220
+ * @param objects object array to be converted to JSON format
2221
+ * prior to writing to download destination
2222
+ * @param indent optional parameter indicating space indentation for pretty output. Default is 2
2223
+ */
2224
+ function downloadObjectsToJSON(fileBaseName, objects, indent = 2) {
2225
+ downloadFile(`${fileBaseName}.json`, formatJSON(objects, indent), 'application/json');
2226
+ }
2227
+ /**
2228
+ * Download string content to the specified file with desired mime type.
2229
+ *
2230
+ * @param fileName full filename (including appropriate extension) of destination file
2231
+ * @param contents string contents to be written to download destination
2232
+ * @param mimeType mime type appropriate to file content to support consumption of destination file
2233
+ */
2234
+ function downloadFile(fileName, contents, mimeType = 'text/plain') {
2235
+ if (!fileName || !contents) {
2236
+ return;
2237
+ }
2238
+ // Create blob object and assign URL
2239
+ const blob = new Blob([contents], { type: mimeType });
2240
+ const url = window.URL.createObjectURL(blob);
2241
+ // Construct anchor for URL, append to DOM, click and cleanup.
2242
+ const a = document.createElement('a');
2243
+ a.setAttribute('style', 'display: none');
2244
+ a.setAttribute('download', fileName);
2245
+ a.href = url;
2246
+ document.body.appendChild(a);
2247
+ a.click();
2248
+ window.URL.revokeObjectURL(url);
2249
+ document.body.removeChild(a);
2250
+ window.URL.revokeObjectURL(url);
2251
+ }
2252
+
2253
+ /**
2254
+ * Read file as UTF-8 text. Return string contents on read completion.
2255
+ *
2256
+ * @param file filename or File object
2257
+ * @returns promise that resolves to file content string
2258
+ */
2259
+ function readFile(file) {
2260
+ return new Promise((resolve) => {
2261
+ const reader = new FileReader();
2262
+ reader.readAsText(file, 'UTF-8');
2263
+ reader.onload = () => {
2264
+ resolve(reader.result);
2265
+ };
2266
+ });
2267
+ }
2268
+
2269
+ /**
2270
+ * Generated bundle index. Do not edit.
2271
+ */
2272
+
2273
+ export { CovalentCommonModule, CovalentValidators, TdAutoTrimDirective, TdBytesPipe, TdDecimalBytesPipe, TdDigitsPipe, TdFullscreenDirective, TdTimeAgoPipe, TdTimeDifferencePipe, TdTimeUntilPipe, TdTruncatePipe, convertCSVToJSON, convertObjectsToCSV, copyToClipboard, downloadCSV, downloadFile, downloadJSON, downloadObjectsToCSV, downloadObjectsToJSON, formatJSON, mixinControlValueAccessor, mixinDisableRipple, mixinDisabled, readFile, tdBounceAnimation, tdCollapseAnimation, tdFadeInOutAnimation, tdFlashAnimation, tdHeadshakeAnimation, tdJelloAnimation, tdPulseAnimation, tdRotateAnimation };
2274
+ //# sourceMappingURL=covalent-core-common.mjs.map