@covalent/core 4.0.0 → 4.1.0-develop.2

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