@covalent/core 3.1.0 → 3.1.2-beta.6

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 (639) hide show
  1. package/breadcrumbs/covalent-core-breadcrumbs.metadata.json +1 -1
  2. package/breadcrumbs/package.json +1 -3
  3. package/bundles/covalent-core-breadcrumbs.umd.js +131 -167
  4. package/bundles/covalent-core-breadcrumbs.umd.js.map +1 -1
  5. package/bundles/covalent-core-breadcrumbs.umd.min.js +1 -1
  6. package/bundles/covalent-core-breadcrumbs.umd.min.js.map +1 -1
  7. package/bundles/covalent-core-chips.umd.js +533 -708
  8. package/bundles/covalent-core-chips.umd.js.map +1 -1
  9. package/bundles/covalent-core-chips.umd.min.js +12 -12
  10. package/bundles/covalent-core-chips.umd.min.js.map +1 -1
  11. package/bundles/covalent-core-common.umd.js +566 -571
  12. package/bundles/covalent-core-common.umd.js.map +1 -1
  13. package/bundles/covalent-core-common.umd.min.js +13 -12
  14. package/bundles/covalent-core-common.umd.min.js.map +1 -1
  15. package/bundles/covalent-core-data-table.umd.js +727 -1038
  16. package/bundles/covalent-core-data-table.umd.js.map +1 -1
  17. package/bundles/covalent-core-data-table.umd.min.js +12 -12
  18. package/bundles/covalent-core-data-table.umd.min.js.map +1 -1
  19. package/bundles/covalent-core-dialogs.umd.js +515 -592
  20. package/bundles/covalent-core-dialogs.umd.js.map +1 -1
  21. package/bundles/covalent-core-dialogs.umd.min.js +1 -15
  22. package/bundles/covalent-core-dialogs.umd.min.js.map +1 -1
  23. package/bundles/covalent-core-dynamic-menu.umd.js +73 -62
  24. package/bundles/covalent-core-dynamic-menu.umd.js.map +1 -1
  25. package/bundles/covalent-core-dynamic-menu.umd.min.js +1 -1
  26. package/bundles/covalent-core-dynamic-menu.umd.min.js.map +1 -1
  27. package/bundles/covalent-core-expansion-panel.umd.js +465 -449
  28. package/bundles/covalent-core-expansion-panel.umd.js.map +1 -1
  29. package/bundles/covalent-core-expansion-panel.umd.min.js +12 -12
  30. package/bundles/covalent-core-expansion-panel.umd.min.js.map +1 -1
  31. package/bundles/covalent-core-file.umd.js +533 -598
  32. package/bundles/covalent-core-file.umd.js.map +1 -1
  33. package/bundles/covalent-core-file.umd.min.js +13 -12
  34. package/bundles/covalent-core-file.umd.min.js.map +1 -1
  35. package/bundles/covalent-core-json-formatter.umd.js +101 -152
  36. package/bundles/covalent-core-json-formatter.umd.js.map +1 -1
  37. package/bundles/covalent-core-json-formatter.umd.min.js +1 -1
  38. package/bundles/covalent-core-json-formatter.umd.min.js.map +1 -1
  39. package/bundles/covalent-core-layout.umd.js +845 -883
  40. package/bundles/covalent-core-layout.umd.js.map +1 -1
  41. package/bundles/covalent-core-layout.umd.min.js +13 -12
  42. package/bundles/covalent-core-layout.umd.min.js.map +1 -1
  43. package/bundles/covalent-core-loading.umd.js +481 -723
  44. package/bundles/covalent-core-loading.umd.js.map +1 -1
  45. package/bundles/covalent-core-loading.umd.min.js +12 -12
  46. package/bundles/covalent-core-loading.umd.min.js.map +1 -1
  47. package/bundles/covalent-core-media.umd.js +395 -375
  48. package/bundles/covalent-core-media.umd.js.map +1 -1
  49. package/bundles/covalent-core-media.umd.min.js +12 -12
  50. package/bundles/covalent-core-media.umd.min.js.map +1 -1
  51. package/bundles/covalent-core-menu.umd.js +37 -17
  52. package/bundles/covalent-core-menu.umd.js.map +1 -1
  53. package/bundles/covalent-core-menu.umd.min.js +1 -1
  54. package/bundles/covalent-core-menu.umd.min.js.map +1 -1
  55. package/bundles/covalent-core-message.umd.js +96 -152
  56. package/bundles/covalent-core-message.umd.js.map +1 -1
  57. package/bundles/covalent-core-message.umd.min.js +1 -1
  58. package/bundles/covalent-core-message.umd.min.js.map +1 -1
  59. package/bundles/covalent-core-nav-links.umd.js +63 -75
  60. package/bundles/covalent-core-nav-links.umd.js.map +1 -1
  61. package/bundles/covalent-core-nav-links.umd.min.js +1 -1
  62. package/bundles/covalent-core-nav-links.umd.min.js.map +1 -1
  63. package/bundles/covalent-core-notifications.umd.js +77 -101
  64. package/bundles/covalent-core-notifications.umd.js.map +1 -1
  65. package/bundles/covalent-core-notifications.umd.min.js +1 -1
  66. package/bundles/covalent-core-notifications.umd.min.js.map +1 -1
  67. package/bundles/covalent-core-paging.umd.js +89 -166
  68. package/bundles/covalent-core-paging.umd.js.map +1 -1
  69. package/bundles/covalent-core-paging.umd.min.js +1 -1
  70. package/bundles/covalent-core-paging.umd.min.js.map +1 -1
  71. package/bundles/covalent-core-search.umd.js +469 -418
  72. package/bundles/covalent-core-search.umd.js.map +1 -1
  73. package/bundles/covalent-core-search.umd.min.js +12 -12
  74. package/bundles/covalent-core-search.umd.min.js.map +1 -1
  75. package/bundles/covalent-core-sidesheet.umd.js +72 -52
  76. package/bundles/covalent-core-sidesheet.umd.js.map +1 -1
  77. package/bundles/covalent-core-sidesheet.umd.min.js +1 -1
  78. package/bundles/covalent-core-sidesheet.umd.min.js.map +1 -1
  79. package/bundles/covalent-core-steps.umd.js +663 -822
  80. package/bundles/covalent-core-steps.umd.js.map +1 -1
  81. package/bundles/covalent-core-steps.umd.min.js +12 -12
  82. package/bundles/covalent-core-steps.umd.min.js.map +1 -1
  83. package/bundles/covalent-core-tab-select.umd.js +446 -385
  84. package/bundles/covalent-core-tab-select.umd.js.map +1 -1
  85. package/bundles/covalent-core-tab-select.umd.min.js +12 -12
  86. package/bundles/covalent-core-tab-select.umd.min.js.map +1 -1
  87. package/bundles/covalent-core-user-profile.umd.js +65 -48
  88. package/bundles/covalent-core-user-profile.umd.js.map +1 -1
  89. package/bundles/covalent-core-user-profile.umd.min.js +1 -1
  90. package/bundles/covalent-core-user-profile.umd.min.js.map +1 -1
  91. package/bundles/covalent-core-virtual-scroll.umd.js +412 -356
  92. package/bundles/covalent-core-virtual-scroll.umd.js.map +1 -1
  93. package/bundles/covalent-core-virtual-scroll.umd.min.js +12 -12
  94. package/bundles/covalent-core-virtual-scroll.umd.min.js.map +1 -1
  95. package/bundles/covalent-core.umd.js +0 -8
  96. package/bundles/covalent-core.umd.js.map +1 -1
  97. package/chips/covalent-core-chips.metadata.json +1 -1
  98. package/chips/package.json +1 -3
  99. package/common/_common-theme.scss +11 -0
  100. package/common/package.json +1 -3
  101. package/data-table/covalent-core-data-table.metadata.json +1 -1
  102. package/data-table/package.json +1 -3
  103. package/dialogs/_dialog-theme.scss +6 -0
  104. package/dialogs/covalent-core-dialogs.metadata.json +1 -1
  105. package/dialogs/package.json +1 -3
  106. package/dialogs/window-dialog/window-dialog.component.scss +4 -0
  107. package/dynamic-menu/covalent-core-dynamic-menu.metadata.json +1 -1
  108. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.scss +0 -4
  109. package/dynamic-menu/package.json +1 -3
  110. package/esm2015/breadcrumbs/breadcrumb/breadcrumb.component.js +4 -3
  111. package/esm2015/breadcrumbs/breadcrumbs.component.js +3 -2
  112. package/esm2015/breadcrumbs/breadcrumbs.module.js +3 -2
  113. package/esm2015/breadcrumbs/covalent-core-breadcrumbs.js +3 -2
  114. package/esm2015/breadcrumbs/index.js +3 -2
  115. package/esm2015/breadcrumbs/public-api.js +3 -2
  116. package/esm2015/chips/chips.component.js +4 -3
  117. package/esm2015/chips/chips.module.js +3 -2
  118. package/esm2015/chips/covalent-core-chips.js +3 -2
  119. package/esm2015/chips/index.js +3 -2
  120. package/esm2015/chips/public-api.js +3 -2
  121. package/esm2015/common/animations/bounce/bounce.animation.js +3 -2
  122. package/esm2015/common/animations/collapse/collapse.animation.js +3 -2
  123. package/esm2015/common/animations/common/interfaces.js +3 -2
  124. package/esm2015/common/animations/fade/fadeInOut.animation.js +3 -2
  125. package/esm2015/common/animations/flash/flash.animation.js +3 -2
  126. package/esm2015/common/animations/headshake/headshake.animation.js +3 -2
  127. package/esm2015/common/animations/jello/jello.animation.js +3 -2
  128. package/esm2015/common/animations/pulse/pulse.animation.js +3 -2
  129. package/esm2015/common/animations/rotate/rotate.animation.js +3 -2
  130. package/esm2015/common/behaviors/control-value-accesor.mixin.js +3 -2
  131. package/esm2015/common/behaviors/disable-ripple.mixin.js +3 -2
  132. package/esm2015/common/behaviors/disabled.mixin.js +3 -2
  133. package/esm2015/common/common.module.js +3 -2
  134. package/esm2015/common/covalent-core-common.js +3 -2
  135. package/esm2015/common/directives/fullscreen/fullscreen.directive.js +3 -2
  136. package/esm2015/common/forms/auto-trim/auto-trim.directive.js +3 -2
  137. package/esm2015/common/forms/validators/validators.js +3 -2
  138. package/esm2015/common/functions/clipboard.js +3 -2
  139. package/esm2015/common/functions/convert.js +3 -2
  140. package/esm2015/common/functions/download.js +3 -2
  141. package/esm2015/common/functions/file.js +3 -2
  142. package/esm2015/common/index.js +3 -2
  143. package/esm2015/common/pipes/bytes/bytes.pipe.js +3 -2
  144. package/esm2015/common/pipes/decimal-bytes/decimal-bytes.pipe.js +3 -2
  145. package/esm2015/common/pipes/digits/digits.pipe.js +3 -2
  146. package/esm2015/common/pipes/time-ago/time-ago.pipe.js +3 -2
  147. package/esm2015/common/pipes/time-difference/time-difference.pipe.js +3 -2
  148. package/esm2015/common/pipes/time-until/time-until.pipe.js +3 -2
  149. package/esm2015/common/pipes/truncate/truncate.pipe.js +3 -2
  150. package/esm2015/common/public-api.js +3 -2
  151. package/esm2015/common/services/icon.service.js +3 -2
  152. package/esm2015/common/services/router-path.service.js +3 -2
  153. package/esm2015/covalent-core.js +3 -2
  154. package/esm2015/data-table/covalent-core-data-table.js +3 -2
  155. package/esm2015/data-table/data-table-cell/data-table-cell.component.js +4 -3
  156. package/esm2015/data-table/data-table-column/data-table-column.component.js +4 -3
  157. package/esm2015/data-table/data-table-row/data-table-row.component.js +3 -2
  158. package/esm2015/data-table/data-table-table/data-table-table.component.js +4 -3
  159. package/esm2015/data-table/data-table.component.js +6 -5
  160. package/esm2015/data-table/data-table.module.js +3 -2
  161. package/esm2015/data-table/directives/data-table-template.directive.js +3 -2
  162. package/esm2015/data-table/index.js +3 -2
  163. package/esm2015/data-table/public-api.js +3 -2
  164. package/esm2015/data-table/services/data-table.service.js +3 -2
  165. package/esm2015/dialogs/alert-dialog/alert-dialog.component.js +3 -2
  166. package/esm2015/dialogs/confirm-dialog/confirm-dialog.component.js +3 -2
  167. package/esm2015/dialogs/covalent-core-dialogs.js +3 -2
  168. package/esm2015/dialogs/dialog.component.js +4 -3
  169. package/esm2015/dialogs/dialogs.module.js +3 -2
  170. package/esm2015/dialogs/index.js +3 -2
  171. package/esm2015/dialogs/prompt-dialog/prompt-dialog.component.js +4 -3
  172. package/esm2015/dialogs/public-api.js +3 -2
  173. package/esm2015/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.js +14 -13
  174. package/esm2015/dialogs/services/dialog.service.js +3 -2
  175. package/esm2015/dialogs/window-dialog/window-dialog.component.js +4 -3
  176. package/esm2015/dynamic-menu/covalent-core-dynamic-menu.js +3 -2
  177. package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.js +5 -4
  178. package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.js +4 -3
  179. package/esm2015/dynamic-menu/dynamic-menu.component.js +3 -2
  180. package/esm2015/dynamic-menu/dynamic-menu.module.js +3 -2
  181. package/esm2015/dynamic-menu/index.js +3 -2
  182. package/esm2015/dynamic-menu/public_api.js +3 -2
  183. package/esm2015/expansion-panel/covalent-core-expansion-panel.js +3 -2
  184. package/esm2015/expansion-panel/expansion-panel-group.component.js +3 -2
  185. package/esm2015/expansion-panel/expansion-panel.component.js +4 -3
  186. package/esm2015/expansion-panel/expansion-panel.module.js +3 -2
  187. package/esm2015/expansion-panel/index.js +3 -2
  188. package/esm2015/expansion-panel/public-api.js +3 -2
  189. package/esm2015/file/covalent-core-file.js +3 -2
  190. package/esm2015/file/directives/file-drop.directive.js +3 -2
  191. package/esm2015/file/directives/file-select.directive.js +3 -2
  192. package/esm2015/file/file-input/file-input.component.js +3 -2
  193. package/esm2015/file/file-upload/file-upload.component.js +4 -3
  194. package/esm2015/file/file.module.js +3 -2
  195. package/esm2015/file/index.js +3 -2
  196. package/esm2015/file/public-api.js +3 -2
  197. package/esm2015/file/services/file.service.js +3 -2
  198. package/esm2015/index.js +4 -2
  199. package/esm2015/json-formatter/covalent-core-json-formatter.js +3 -2
  200. package/esm2015/json-formatter/index.js +3 -2
  201. package/esm2015/json-formatter/json-formatter.component.js +4 -3
  202. package/esm2015/json-formatter/json-formatter.module.js +3 -2
  203. package/esm2015/json-formatter/public-api.js +3 -2
  204. package/esm2015/layout/covalent-core-layout.js +4 -3
  205. package/esm2015/layout/index.js +4 -3
  206. package/esm2015/layout/layout-card-over/layout-card-over.component.js +4 -3
  207. package/esm2015/layout/layout-footer/layout-footer.component.js +3 -2
  208. package/esm2015/layout/layout-manage-list/layout-manage-list.component.js +4 -3
  209. package/esm2015/layout/layout-manage-list/layout-manage-list.directives.js +7 -6
  210. package/esm2015/layout/layout-nav/layout-nav.component.js +4 -3
  211. package/esm2015/layout/layout-nav-list/layout-nav-list.component.js +4 -3
  212. package/esm2015/layout/layout-nav-list/layout-nav-list.directives.js +7 -6
  213. package/esm2015/layout/layout-toggle.class.js +22 -12
  214. package/esm2015/layout/layout.component.js +4 -3
  215. package/esm2015/layout/layout.directives.js +7 -6
  216. package/esm2015/layout/layout.module.js +3 -2
  217. package/esm2015/layout/navigation-drawer/navigation-drawer.component.js +4 -3
  218. package/esm2015/layout/public-api.js +4 -3
  219. package/esm2015/loading/covalent-core-loading.js +3 -2
  220. package/esm2015/loading/directives/loading.directive.js +3 -2
  221. package/esm2015/loading/index.js +3 -2
  222. package/esm2015/loading/loading.component.js +13 -12
  223. package/esm2015/loading/loading.module.js +3 -2
  224. package/esm2015/loading/public-api.js +3 -2
  225. package/esm2015/loading/services/loading.factory.js +3 -2
  226. package/esm2015/loading/services/loading.service.js +3 -2
  227. package/esm2015/media/covalent-core-media.js +3 -2
  228. package/esm2015/media/directives/media-toggle.directive.js +3 -2
  229. package/esm2015/media/index.js +3 -2
  230. package/esm2015/media/media.module.js +3 -2
  231. package/esm2015/media/public-api.js +3 -2
  232. package/esm2015/media/services/media.service.js +3 -2
  233. package/esm2015/menu/covalent-core-menu.js +3 -2
  234. package/esm2015/menu/index.js +3 -2
  235. package/esm2015/menu/menu.component.js +4 -3
  236. package/esm2015/menu/menu.module.js +3 -2
  237. package/esm2015/menu/public-api.js +3 -2
  238. package/esm2015/message/covalent-core-message.js +3 -2
  239. package/esm2015/message/index.js +3 -2
  240. package/esm2015/message/message.component.js +4 -3
  241. package/esm2015/message/message.module.js +3 -2
  242. package/esm2015/message/public-api.js +3 -2
  243. package/esm2015/nav-links/covalent-core-nav-links.js +3 -2
  244. package/esm2015/nav-links/index.js +3 -2
  245. package/esm2015/nav-links/nav-links.component.js +3 -2
  246. package/esm2015/nav-links/nav-links.module.js +3 -2
  247. package/esm2015/nav-links/public-api.js +3 -2
  248. package/esm2015/notifications/covalent-core-notifications.js +3 -2
  249. package/esm2015/notifications/index.js +3 -2
  250. package/esm2015/notifications/notification-count.component.js +10 -9
  251. package/esm2015/notifications/notifications.module.js +3 -2
  252. package/esm2015/notifications/public-api.js +3 -2
  253. package/esm2015/paging/covalent-core-paging.js +3 -2
  254. package/esm2015/paging/index.js +3 -2
  255. package/esm2015/paging/paging-bar.component.js +4 -3
  256. package/esm2015/paging/paging.module.js +3 -2
  257. package/esm2015/paging/public-api.js +3 -2
  258. package/esm2015/search/covalent-core-search.js +3 -2
  259. package/esm2015/search/index.js +3 -2
  260. package/esm2015/search/public-api.js +3 -2
  261. package/esm2015/search/search-box/search-box.component.js +4 -3
  262. package/esm2015/search/search-input/search-input.component.js +4 -3
  263. package/esm2015/search/search.module.js +3 -2
  264. package/esm2015/sidesheet/covalent-core-sidesheet.js +3 -2
  265. package/esm2015/sidesheet/index.js +3 -2
  266. package/esm2015/sidesheet/public-api.js +3 -2
  267. package/esm2015/sidesheet/sidesheet.component.js +4 -3
  268. package/esm2015/sidesheet/sidesheet.module.js +3 -2
  269. package/esm2015/steps/covalent-core-steps.js +3 -2
  270. package/esm2015/steps/index.js +3 -2
  271. package/esm2015/steps/nav/nav-step-link/nav-step-link.component.js +4 -3
  272. package/esm2015/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.js +4 -3
  273. package/esm2015/steps/nav/nav-steps-vertical/nav-steps-vertical.component.js +4 -3
  274. package/esm2015/steps/public-api.js +3 -2
  275. package/esm2015/steps/step-body/step-body.component.js +4 -3
  276. package/esm2015/steps/step-header/step-header.component.js +4 -3
  277. package/esm2015/steps/step.component.js +6 -5
  278. package/esm2015/steps/steps.component.js +6 -5
  279. package/esm2015/steps/steps.module.js +3 -2
  280. package/esm2015/tab-select/covalent-core-tab-select.js +3 -2
  281. package/esm2015/tab-select/index.js +3 -2
  282. package/esm2015/tab-select/public-api.js +3 -2
  283. package/esm2015/tab-select/tab-option.component.js +3 -2
  284. package/esm2015/tab-select/tab-select.component.js +3 -2
  285. package/esm2015/tab-select/tab-select.module.js +3 -2
  286. package/esm2015/user-profile/covalent-core-user-profile.js +3 -2
  287. package/esm2015/user-profile/index.js +3 -2
  288. package/esm2015/user-profile/public_api.js +3 -2
  289. package/esm2015/user-profile/user-profile-menu/user-profile-menu.component.js +4 -3
  290. package/esm2015/user-profile/user-profile.component.js +3 -2
  291. package/esm2015/user-profile/user-profile.module.js +3 -2
  292. package/esm2015/virtual-scroll/covalent-core-virtual-scroll.js +3 -2
  293. package/esm2015/virtual-scroll/index.js +3 -2
  294. package/esm2015/virtual-scroll/public-api.js +3 -2
  295. package/esm2015/virtual-scroll/virtual-scroll-container.component.js +4 -3
  296. package/esm2015/virtual-scroll/virtual-scroll-row.directive.js +3 -2
  297. package/esm2015/virtual-scroll/virtual-scroll.module.js +3 -2
  298. package/expansion-panel/covalent-core-expansion-panel.metadata.json +1 -1
  299. package/expansion-panel/package.json +1 -3
  300. package/fesm2015/covalent-core-breadcrumbs.js +13 -7
  301. package/fesm2015/covalent-core-breadcrumbs.js.map +1 -1
  302. package/fesm2015/covalent-core-chips.js +11 -6
  303. package/fesm2015/covalent-core-chips.js.map +1 -1
  304. package/fesm2015/covalent-core-common.js +62 -31
  305. package/fesm2015/covalent-core-common.js.map +1 -1
  306. package/fesm2015/covalent-core-data-table.js +28 -17
  307. package/fesm2015/covalent-core-data-table.js.map +1 -1
  308. package/fesm2015/covalent-core-dialogs.js +36 -25
  309. package/fesm2015/covalent-core-dialogs.js.map +1 -1
  310. package/fesm2015/covalent-core-dynamic-menu.js +17 -10
  311. package/fesm2015/covalent-core-dynamic-menu.js.map +1 -1
  312. package/fesm2015/covalent-core-expansion-panel.js +13 -7
  313. package/fesm2015/covalent-core-expansion-panel.js.map +1 -1
  314. package/fesm2015/covalent-core-file.js +19 -10
  315. package/fesm2015/covalent-core-file.js.map +1 -1
  316. package/fesm2015/covalent-core-json-formatter.js +11 -6
  317. package/fesm2015/covalent-core-json-formatter.js.map +1 -1
  318. package/fesm2015/covalent-core-layout.js +65 -41
  319. package/fesm2015/covalent-core-layout.js.map +1 -1
  320. package/fesm2015/covalent-core-loading.js +26 -18
  321. package/fesm2015/covalent-core-loading.js.map +1 -1
  322. package/fesm2015/covalent-core-media.js +12 -6
  323. package/fesm2015/covalent-core-media.js.map +1 -1
  324. package/fesm2015/covalent-core-menu.js +11 -6
  325. package/fesm2015/covalent-core-menu.js.map +1 -1
  326. package/fesm2015/covalent-core-message.js +11 -6
  327. package/fesm2015/covalent-core-message.js.map +1 -1
  328. package/fesm2015/covalent-core-nav-links.js +10 -5
  329. package/fesm2015/covalent-core-nav-links.js.map +1 -1
  330. package/fesm2015/covalent-core-notifications.js +17 -12
  331. package/fesm2015/covalent-core-notifications.js.map +1 -1
  332. package/fesm2015/covalent-core-paging.js +11 -6
  333. package/fesm2015/covalent-core-paging.js.map +1 -1
  334. package/fesm2015/covalent-core-search.js +14 -8
  335. package/fesm2015/covalent-core-search.js.map +1 -1
  336. package/fesm2015/covalent-core-sidesheet.js +11 -6
  337. package/fesm2015/covalent-core-sidesheet.js.map +1 -1
  338. package/fesm2015/covalent-core-steps.js +33 -22
  339. package/fesm2015/covalent-core-steps.js.map +1 -1
  340. package/fesm2015/covalent-core-tab-select.js +12 -6
  341. package/fesm2015/covalent-core-tab-select.js.map +1 -1
  342. package/fesm2015/covalent-core-user-profile.js +13 -7
  343. package/fesm2015/covalent-core-user-profile.js.map +1 -1
  344. package/fesm2015/covalent-core-virtual-scroll.js +13 -7
  345. package/fesm2015/covalent-core-virtual-scroll.js.map +1 -1
  346. package/fesm2015/covalent-core.js +4 -2
  347. package/fesm2015/covalent-core.js.map +1 -1
  348. package/file/covalent-core-file.metadata.json +1 -1
  349. package/file/package.json +1 -3
  350. package/json-formatter/covalent-core-json-formatter.metadata.json +1 -1
  351. package/json-formatter/package.json +1 -3
  352. package/layout/covalent-core-layout.metadata.json +1 -1
  353. package/layout/layout-manage-list/layout-manage-list.directives.d.ts +4 -4
  354. package/layout/layout-nav-list/layout-nav-list.directives.d.ts +4 -4
  355. package/layout/layout-toggle.class.d.ts +1 -1
  356. package/layout/layout.directives.d.ts +4 -4
  357. package/layout/package.json +1 -3
  358. package/loading/covalent-core-loading.metadata.json +1 -1
  359. package/loading/package.json +1 -3
  360. package/media/package.json +1 -3
  361. package/menu/covalent-core-menu.metadata.json +1 -1
  362. package/menu/package.json +1 -3
  363. package/message/covalent-core-message.metadata.json +1 -1
  364. package/message/package.json +1 -3
  365. package/nav-links/package.json +1 -3
  366. package/notifications/covalent-core-notifications.metadata.json +1 -1
  367. package/notifications/package.json +1 -3
  368. package/package.json +12 -12
  369. package/paging/covalent-core-paging.metadata.json +1 -1
  370. package/paging/package.json +1 -3
  371. package/schematics/components.js +1 -0
  372. package/schematics/components.js.map +1 -1
  373. package/schematics/ng-add/files/theme.scss +1 -1
  374. package/schematics/ng-add/index.js +4 -6
  375. package/schematics/ng-add/index.js.map +1 -1
  376. package/schematics/ng-update/index.js +1 -0
  377. package/schematics/ng-update/index.js.map +1 -1
  378. package/schematics/ng-update/target-version.js +1 -0
  379. package/schematics/ng-update/target-version.js.map +1 -1
  380. package/schematics/version-names.js +1 -0
  381. package/schematics/version-names.js.map +1 -1
  382. package/search/covalent-core-search.metadata.json +1 -1
  383. package/search/package.json +1 -3
  384. package/sidesheet/covalent-core-sidesheet.metadata.json +1 -1
  385. package/sidesheet/package.json +1 -3
  386. package/steps/covalent-core-steps.metadata.json +1 -1
  387. package/steps/package.json +1 -3
  388. package/tab-select/covalent-core-tab-select.metadata.json +1 -1
  389. package/tab-select/package.json +1 -3
  390. package/theming/prebuilt/blue-grey-deep-orange.css +193 -28
  391. package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
  392. package/theming/prebuilt/blue-orange.css +193 -28
  393. package/theming/prebuilt/blue-orange.css.map +1 -1
  394. package/theming/prebuilt/indigo-pink.css +193 -28
  395. package/theming/prebuilt/indigo-pink.css.map +1 -1
  396. package/theming/prebuilt/orange-light-blue.css +193 -28
  397. package/theming/prebuilt/orange-light-blue.css.map +1 -1
  398. package/theming/prebuilt/teal-orange.css +193 -28
  399. package/theming/prebuilt/teal-orange.css.map +1 -1
  400. package/user-profile/covalent-core-user-profile.metadata.json +1 -1
  401. package/user-profile/package.json +1 -3
  402. package/virtual-scroll/covalent-core-virtual-scroll.metadata.json +1 -1
  403. package/virtual-scroll/package.json +1 -3
  404. package/esm5/breadcrumbs/breadcrumb/breadcrumb.component.js +0 -216
  405. package/esm5/breadcrumbs/breadcrumbs.component.js +0 -286
  406. package/esm5/breadcrumbs/breadcrumbs.module.js +0 -23
  407. package/esm5/breadcrumbs/covalent-core-breadcrumbs.js +0 -9
  408. package/esm5/breadcrumbs/index.js +0 -6
  409. package/esm5/breadcrumbs/public-api.js +0 -8
  410. package/esm5/chips/chips.component.js +0 -1453
  411. package/esm5/chips/chips.module.js +0 -26
  412. package/esm5/chips/covalent-core-chips.js +0 -9
  413. package/esm5/chips/index.js +0 -6
  414. package/esm5/chips/public-api.js +0 -7
  415. package/esm5/common/animations/bounce/bounce.animation.js +0 -75
  416. package/esm5/common/animations/collapse/collapse.animation.js +0 -66
  417. package/esm5/common/animations/common/interfaces.js +0 -17
  418. package/esm5/common/animations/fade/fadeInOut.animation.js +0 -52
  419. package/esm5/common/animations/flash/flash.animation.js +0 -39
  420. package/esm5/common/animations/headshake/headshake.animation.js +0 -40
  421. package/esm5/common/animations/jello/jello.animation.js +0 -43
  422. package/esm5/common/animations/pulse/pulse.animation.js +0 -37
  423. package/esm5/common/animations/rotate/rotate.animation.js +0 -40
  424. package/esm5/common/behaviors/control-value-accesor.mixin.js +0 -127
  425. package/esm5/common/behaviors/disable-ripple.mixin.js +0 -75
  426. package/esm5/common/behaviors/disabled.mixin.js +0 -75
  427. package/esm5/common/common.module.js +0 -57
  428. package/esm5/common/covalent-core-common.js +0 -11
  429. package/esm5/common/directives/fullscreen/fullscreen.directive.js +0 -228
  430. package/esm5/common/forms/auto-trim/auto-trim.directive.js +0 -52
  431. package/esm5/common/forms/validators/validators.js +0 -73
  432. package/esm5/common/functions/clipboard.js +0 -29
  433. package/esm5/common/functions/convert.js +0 -120
  434. package/esm5/common/functions/download.js +0 -93
  435. package/esm5/common/functions/file.js +0 -28
  436. package/esm5/common/index.js +0 -6
  437. package/esm5/common/pipes/bytes/bytes.pipe.js +0 -54
  438. package/esm5/common/pipes/decimal-bytes/decimal-bytes.pipe.js +0 -54
  439. package/esm5/common/pipes/digits/digits.pipe.js +0 -72
  440. package/esm5/common/pipes/time-ago/time-ago.pipe.js +0 -89
  441. package/esm5/common/pipes/time-difference/time-difference.pipe.js +0 -74
  442. package/esm5/common/pipes/time-until/time-until.pipe.js +0 -89
  443. package/esm5/common/pipes/truncate/truncate.pipe.js +0 -42
  444. package/esm5/common/public-api.js +0 -43
  445. package/esm5/common/services/icon.service.js +0 -1118
  446. package/esm5/common/services/router-path.service.js +0 -69
  447. package/esm5/covalent-core.js +0 -9
  448. package/esm5/data-table/covalent-core-data-table.js +0 -9
  449. package/esm5/data-table/data-table-cell/data-table-cell.component.js +0 -98
  450. package/esm5/data-table/data-table-column/data-table-column.component.js +0 -257
  451. package/esm5/data-table/data-table-row/data-table-row.component.js +0 -145
  452. package/esm5/data-table/data-table-table/data-table-table.component.js +0 -40
  453. package/esm5/data-table/data-table.component.js +0 -2079
  454. package/esm5/data-table/data-table.module.js +0 -42
  455. package/esm5/data-table/directives/data-table-template.directive.js +0 -31
  456. package/esm5/data-table/index.js +0 -6
  457. package/esm5/data-table/public-api.js +0 -13
  458. package/esm5/data-table/services/data-table.service.js +0 -184
  459. package/esm5/dialogs/alert-dialog/alert-dialog.component.js +0 -48
  460. package/esm5/dialogs/confirm-dialog/confirm-dialog.component.js +0 -63
  461. package/esm5/dialogs/covalent-core-dialogs.js +0 -10
  462. package/esm5/dialogs/dialog.component.js +0 -76
  463. package/esm5/dialogs/dialogs.module.js +0 -60
  464. package/esm5/dialogs/index.js +0 -6
  465. package/esm5/dialogs/prompt-dialog/prompt-dialog.component.js +0 -100
  466. package/esm5/dialogs/public-api.js +0 -12
  467. package/esm5/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.js +0 -356
  468. package/esm5/dialogs/services/dialog.service.js +0 -441
  469. package/esm5/dialogs/window-dialog/window-dialog.component.js +0 -60
  470. package/esm5/dynamic-menu/covalent-core-dynamic-menu.js +0 -10
  471. package/esm5/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.js +0 -45
  472. package/esm5/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.js +0 -39
  473. package/esm5/dynamic-menu/dynamic-menu.component.js +0 -94
  474. package/esm5/dynamic-menu/dynamic-menu.module.js +0 -29
  475. package/esm5/dynamic-menu/index.js +0 -6
  476. package/esm5/dynamic-menu/public_api.js +0 -8
  477. package/esm5/expansion-panel/covalent-core-expansion-panel.js +0 -9
  478. package/esm5/expansion-panel/expansion-panel-group.component.js +0 -251
  479. package/esm5/expansion-panel/expansion-panel.component.js +0 -344
  480. package/esm5/expansion-panel/expansion-panel.module.js +0 -34
  481. package/esm5/expansion-panel/index.js +0 -6
  482. package/esm5/expansion-panel/public-api.js +0 -8
  483. package/esm5/file/covalent-core-file.js +0 -9
  484. package/esm5/file/directives/file-drop.directive.js +0 -276
  485. package/esm5/file/directives/file-select.directive.js +0 -124
  486. package/esm5/file/file-input/file-input.component.js +0 -225
  487. package/esm5/file/file-upload/file-upload.component.js +0 -284
  488. package/esm5/file/file.module.js +0 -38
  489. package/esm5/file/index.js +0 -6
  490. package/esm5/file/public-api.js +0 -11
  491. package/esm5/file/services/file.service.js +0 -137
  492. package/esm5/index.js +0 -5
  493. package/esm5/json-formatter/covalent-core-json-formatter.js +0 -9
  494. package/esm5/json-formatter/index.js +0 -6
  495. package/esm5/json-formatter/json-formatter.component.js +0 -433
  496. package/esm5/json-formatter/json-formatter.module.js +0 -23
  497. package/esm5/json-formatter/public-api.js +0 -7
  498. package/esm5/layout/covalent-core-layout.js +0 -9
  499. package/esm5/layout/index.js +0 -6
  500. package/esm5/layout/layout-card-over/layout-card-over.component.js +0 -72
  501. package/esm5/layout/layout-footer/layout-footer.component.js +0 -77
  502. package/esm5/layout/layout-manage-list/layout-manage-list.component.js +0 -175
  503. package/esm5/layout/layout-manage-list/layout-manage-list.directives.js +0 -147
  504. package/esm5/layout/layout-nav/layout-nav.component.js +0 -108
  505. package/esm5/layout/layout-nav-list/layout-nav-list.component.js +0 -257
  506. package/esm5/layout/layout-nav-list/layout-nav-list.directives.js +0 -147
  507. package/esm5/layout/layout-toggle.class.js +0 -214
  508. package/esm5/layout/layout.component.js +0 -175
  509. package/esm5/layout/layout.directives.js +0 -144
  510. package/esm5/layout/layout.module.js +0 -67
  511. package/esm5/layout/navigation-drawer/navigation-drawer.component.js +0 -364
  512. package/esm5/layout/public-api.js +0 -17
  513. package/esm5/loading/covalent-core-loading.js +0 -9
  514. package/esm5/loading/directives/loading.directive.js +0 -304
  515. package/esm5/loading/index.js +0 -6
  516. package/esm5/loading/loading.component.js +0 -367
  517. package/esm5/loading/loading.module.js +0 -33
  518. package/esm5/loading/public-api.js +0 -10
  519. package/esm5/loading/services/loading.factory.js +0 -378
  520. package/esm5/loading/services/loading.service.js +0 -494
  521. package/esm5/media/covalent-core-media.js +0 -9
  522. package/esm5/media/directives/media-toggle.directive.js +0 -261
  523. package/esm5/media/index.js +0 -6
  524. package/esm5/media/media.module.js +0 -23
  525. package/esm5/media/public-api.js +0 -8
  526. package/esm5/media/services/media.service.js +0 -229
  527. package/esm5/menu/covalent-core-menu.js +0 -9
  528. package/esm5/menu/index.js +0 -6
  529. package/esm5/menu/menu.component.js +0 -19
  530. package/esm5/menu/menu.module.js +0 -25
  531. package/esm5/menu/public-api.js +0 -7
  532. package/esm5/message/covalent-core-message.js +0 -9
  533. package/esm5/message/index.js +0 -6
  534. package/esm5/message/message.component.js +0 -402
  535. package/esm5/message/message.module.js +0 -24
  536. package/esm5/message/public-api.js +0 -7
  537. package/esm5/nav-links/covalent-core-nav-links.js +0 -9
  538. package/esm5/nav-links/index.js +0 -6
  539. package/esm5/nav-links/nav-links.component.js +0 -171
  540. package/esm5/nav-links/nav-links.module.js +0 -40
  541. package/esm5/nav-links/public-api.js +0 -7
  542. package/esm5/notifications/covalent-core-notifications.js +0 -9
  543. package/esm5/notifications/index.js +0 -6
  544. package/esm5/notifications/notification-count.component.js +0 -268
  545. package/esm5/notifications/notifications.module.js +0 -23
  546. package/esm5/notifications/public-api.js +0 -7
  547. package/esm5/paging/covalent-core-paging.js +0 -9
  548. package/esm5/paging/index.js +0 -6
  549. package/esm5/paging/paging-bar.component.js +0 -542
  550. package/esm5/paging/paging.module.js +0 -23
  551. package/esm5/paging/public-api.js +0 -7
  552. package/esm5/search/covalent-core-search.js +0 -9
  553. package/esm5/search/index.js +0 -6
  554. package/esm5/search/public-api.js +0 -8
  555. package/esm5/search/search-box/search-box.component.js +0 -298
  556. package/esm5/search/search-input/search-input.component.js +0 -297
  557. package/esm5/search/search.module.js +0 -26
  558. package/esm5/sidesheet/covalent-core-sidesheet.js +0 -9
  559. package/esm5/sidesheet/index.js +0 -6
  560. package/esm5/sidesheet/public-api.js +0 -7
  561. package/esm5/sidesheet/sidesheet.component.js +0 -89
  562. package/esm5/sidesheet/sidesheet.module.js +0 -30
  563. package/esm5/steps/covalent-core-steps.js +0 -9
  564. package/esm5/steps/index.js +0 -6
  565. package/esm5/steps/nav/nav-step-link/nav-step-link.component.js +0 -165
  566. package/esm5/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.js +0 -464
  567. package/esm5/steps/nav/nav-steps-vertical/nav-steps-vertical.component.js +0 -143
  568. package/esm5/steps/public-api.js +0 -13
  569. package/esm5/steps/step-body/step-body.component.js +0 -103
  570. package/esm5/steps/step-header/step-header.component.js +0 -101
  571. package/esm5/steps/step.component.js +0 -399
  572. package/esm5/steps/steps.component.js +0 -313
  573. package/esm5/steps/steps.module.js +0 -47
  574. package/esm5/tab-select/covalent-core-tab-select.js +0 -9
  575. package/esm5/tab-select/index.js +0 -6
  576. package/esm5/tab-select/public-api.js +0 -8
  577. package/esm5/tab-select/tab-option.component.js +0 -86
  578. package/esm5/tab-select/tab-select.component.js +0 -344
  579. package/esm5/tab-select/tab-select.module.js +0 -34
  580. package/esm5/user-profile/covalent-core-user-profile.js +0 -9
  581. package/esm5/user-profile/index.js +0 -6
  582. package/esm5/user-profile/public_api.js +0 -8
  583. package/esm5/user-profile/user-profile-menu/user-profile-menu.component.js +0 -42
  584. package/esm5/user-profile/user-profile.component.js +0 -29
  585. package/esm5/user-profile/user-profile.module.js +0 -36
  586. package/esm5/virtual-scroll/covalent-core-virtual-scroll.js +0 -9
  587. package/esm5/virtual-scroll/index.js +0 -6
  588. package/esm5/virtual-scroll/public-api.js +0 -8
  589. package/esm5/virtual-scroll/virtual-scroll-container.component.js +0 -468
  590. package/esm5/virtual-scroll/virtual-scroll-row.directive.js +0 -24
  591. package/esm5/virtual-scroll/virtual-scroll.module.js +0 -24
  592. package/fesm5/covalent-core-breadcrumbs.js +0 -535
  593. package/fesm5/covalent-core-breadcrumbs.js.map +0 -1
  594. package/fesm5/covalent-core-chips.js +0 -1484
  595. package/fesm5/covalent-core-chips.js.map +0 -1
  596. package/fesm5/covalent-core-common.js +0 -2961
  597. package/fesm5/covalent-core-common.js.map +0 -1
  598. package/fesm5/covalent-core-data-table.js +0 -2863
  599. package/fesm5/covalent-core-data-table.js.map +0 -1
  600. package/fesm5/covalent-core-dialogs.js +0 -1189
  601. package/fesm5/covalent-core-dialogs.js.map +0 -1
  602. package/fesm5/covalent-core-dynamic-menu.js +0 -214
  603. package/fesm5/covalent-core-dynamic-menu.js.map +0 -1
  604. package/fesm5/covalent-core-expansion-panel.js +0 -631
  605. package/fesm5/covalent-core-expansion-panel.js.map +0 -1
  606. package/fesm5/covalent-core-file.js +0 -1068
  607. package/fesm5/covalent-core-file.js.map +0 -1
  608. package/fesm5/covalent-core-json-formatter.js +0 -470
  609. package/fesm5/covalent-core-json-formatter.js.map +0 -1
  610. package/fesm5/covalent-core-layout.js +0 -1906
  611. package/fesm5/covalent-core-layout.js.map +0 -1
  612. package/fesm5/covalent-core-loading.js +0 -1562
  613. package/fesm5/covalent-core-loading.js.map +0 -1
  614. package/fesm5/covalent-core-media.js +0 -522
  615. package/fesm5/covalent-core-media.js.map +0 -1
  616. package/fesm5/covalent-core-menu.js +0 -58
  617. package/fesm5/covalent-core-menu.js.map +0 -1
  618. package/fesm5/covalent-core-message.js +0 -439
  619. package/fesm5/covalent-core-message.js.map +0 -1
  620. package/fesm5/covalent-core-nav-links.js +0 -224
  621. package/fesm5/covalent-core-nav-links.js.map +0 -1
  622. package/fesm5/covalent-core-notifications.js +0 -303
  623. package/fesm5/covalent-core-notifications.js.map +0 -1
  624. package/fesm5/covalent-core-paging.js +0 -579
  625. package/fesm5/covalent-core-paging.js.map +0 -1
  626. package/fesm5/covalent-core-search.js +0 -623
  627. package/fesm5/covalent-core-search.js.map +0 -1
  628. package/fesm5/covalent-core-sidesheet.js +0 -129
  629. package/fesm5/covalent-core-sidesheet.js.map +0 -1
  630. package/fesm5/covalent-core-steps.js +0 -1704
  631. package/fesm5/covalent-core-steps.js.map +0 -1
  632. package/fesm5/covalent-core-tab-select.js +0 -467
  633. package/fesm5/covalent-core-tab-select.js.map +0 -1
  634. package/fesm5/covalent-core-user-profile.js +0 -118
  635. package/fesm5/covalent-core-user-profile.js.map +0 -1
  636. package/fesm5/covalent-core-virtual-scroll.js +0 -526
  637. package/fesm5/covalent-core-virtual-scroll.js.map +0 -1
  638. package/fesm5/covalent-core.js +0 -10
  639. package/fesm5/covalent-core.js.map +0 -1
@@ -1,251 +1,343 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/cdk/portal'), require('@angular/cdk/overlay'), require('@angular/material/progress-bar'), require('@angular/material/progress-spinner'), require('@covalent/core/common'), require('rxjs'), require('rxjs/operators')) :
3
3
  typeof define === 'function' && define.amd ? define('@covalent/core/loading', ['exports', '@angular/core', '@angular/common', '@angular/cdk/portal', '@angular/cdk/overlay', '@angular/material/progress-bar', '@angular/material/progress-spinner', '@covalent/core/common', 'rxjs', 'rxjs/operators'], factory) :
4
- (global = global || self, factory((global.covalent = global.covalent || {}, global.covalent.core = global.covalent.core || {}, global.covalent.core.loading = {}), global.ng.core, global.ng.common, global.ng.cdk.portal, global.ng.cdk.overlay, global.ng.material.progressBar, global.ng.material.progressSpinner, global.covalent.core.common, global.rxjs, global.rxjs.operators));
5
- }(this, (function (exports, core, common, portal, overlay, progressBar, progressSpinner, common$1, rxjs, operators) { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.covalent = global.covalent || {}, global.covalent.core = global.covalent.core || {}, global.covalent.core.loading = {}), global.ng.core, global.ng.common, global.ng.cdk.portal, global.ng.cdk.overlay, global.ng.material.progressBar, global.ng.material.progressSpinner, global.covalent.core.common, global.rxjs, global.rxjs.operators));
5
+ }(this, (function (exports, core, common$1, portal, overlay, progressBar, progressSpinner, common, rxjs, operators) { 'use strict';
6
6
 
7
- /*! *****************************************************************************
8
- Copyright (c) Microsoft Corporation. All rights reserved.
9
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
10
- this file except in compliance with the License. You may obtain a copy of the
11
- License at http://www.apache.org/licenses/LICENSE-2.0
12
-
13
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
15
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
16
- MERCHANTABLITY OR NON-INFRINGEMENT.
17
-
18
- See the Apache Version 2.0 License for specific language governing permissions
19
- and limitations under the License.
20
- ***************************************************************************** */
21
- /* global Reflect, Promise */
22
-
23
- var extendStatics = function(d, b) {
24
- extendStatics = Object.setPrototypeOf ||
25
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
27
- return extendStatics(d, b);
28
- };
29
-
30
- function __extends(d, b) {
31
- extendStatics(d, b);
32
- function __() { this.constructor = d; }
33
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
34
- }
35
-
36
- var __assign = function() {
37
- __assign = Object.assign || function __assign(t) {
38
- for (var s, i = 1, n = arguments.length; i < n; i++) {
39
- s = arguments[i];
40
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
41
- }
42
- return t;
43
- };
44
- return __assign.apply(this, arguments);
45
- };
46
-
47
- function __rest(s, e) {
48
- var t = {};
49
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
50
- t[p] = s[p];
51
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
52
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
53
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
54
- t[p[i]] = s[p[i]];
55
- }
56
- return t;
57
- }
58
-
59
- function __decorate(decorators, target, key, desc) {
60
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
61
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
62
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
63
- return c > 3 && r && Object.defineProperty(target, key, r), r;
64
- }
65
-
66
- function __param(paramIndex, decorator) {
67
- return function (target, key) { decorator(target, key, paramIndex); }
68
- }
69
-
70
- function __metadata(metadataKey, metadataValue) {
71
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
72
- }
73
-
74
- function __awaiter(thisArg, _arguments, P, generator) {
75
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
76
- return new (P || (P = Promise))(function (resolve, reject) {
77
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
78
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
79
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
80
- step((generator = generator.apply(thisArg, _arguments || [])).next());
81
- });
82
- }
83
-
84
- function __generator(thisArg, body) {
85
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
86
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
87
- function verb(n) { return function (v) { return step([n, v]); }; }
88
- function step(op) {
89
- if (f) throw new TypeError("Generator is already executing.");
90
- while (_) try {
91
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
92
- if (y = 0, t) op = [op[0] & 2, t.value];
93
- switch (op[0]) {
94
- case 0: case 1: t = op; break;
95
- case 4: _.label++; return { value: op[1], done: false };
96
- case 5: _.label++; y = op[1]; op = [0]; continue;
97
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
98
- default:
99
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
100
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
101
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
102
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
103
- if (t[2]) _.ops.pop();
104
- _.trys.pop(); continue;
105
- }
106
- op = body.call(thisArg, _);
107
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
108
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
109
- }
110
- }
111
-
112
- function __exportStar(m, exports) {
113
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
114
- }
115
-
116
- function __values(o) {
117
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
118
- if (m) return m.call(o);
119
- if (o && typeof o.length === "number") return {
120
- next: function () {
121
- if (o && i >= o.length) o = void 0;
122
- return { value: o && o[i++], done: !o };
123
- }
124
- };
125
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
126
- }
127
-
128
- function __read(o, n) {
129
- var m = typeof Symbol === "function" && o[Symbol.iterator];
130
- if (!m) return o;
131
- var i = m.call(o), r, ar = [], e;
132
- try {
133
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
134
- }
135
- catch (error) { e = { error: error }; }
136
- finally {
137
- try {
138
- if (r && !r.done && (m = i["return"])) m.call(i);
139
- }
140
- finally { if (e) throw e.error; }
141
- }
142
- return ar;
143
- }
144
-
145
- function __spread() {
146
- for (var ar = [], i = 0; i < arguments.length; i++)
147
- ar = ar.concat(__read(arguments[i]));
148
- return ar;
149
- }
150
-
151
- function __spreadArrays() {
152
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
153
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
154
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
155
- r[k] = a[j];
156
- return r;
157
- };
158
-
159
- function __await(v) {
160
- return this instanceof __await ? (this.v = v, this) : new __await(v);
161
- }
162
-
163
- function __asyncGenerator(thisArg, _arguments, generator) {
164
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
165
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
166
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
167
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
168
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
169
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
170
- function fulfill(value) { resume("next", value); }
171
- function reject(value) { resume("throw", value); }
172
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
173
- }
174
-
175
- function __asyncDelegator(o) {
176
- var i, p;
177
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
178
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
179
- }
180
-
181
- function __asyncValues(o) {
182
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
183
- var m = o[Symbol.asyncIterator], i;
184
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
185
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
186
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
187
- }
188
-
189
- function __makeTemplateObject(cooked, raw) {
190
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
191
- return cooked;
192
- };
193
-
194
- function __importStar(mod) {
195
- if (mod && mod.__esModule) return mod;
196
- var result = {};
197
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
198
- result.default = mod;
199
- return result;
200
- }
201
-
202
- function __importDefault(mod) {
203
- return (mod && mod.__esModule) ? mod : { default: mod };
204
- }
205
-
206
- function __classPrivateFieldGet(receiver, privateMap) {
207
- if (!privateMap.has(receiver)) {
208
- throw new TypeError("attempted to get private field on non-instance");
209
- }
210
- return privateMap.get(receiver);
211
- }
212
-
213
- function __classPrivateFieldSet(receiver, privateMap, value) {
214
- if (!privateMap.has(receiver)) {
215
- throw new TypeError("attempted to set private field on non-instance");
216
- }
217
- privateMap.set(receiver, value);
218
- return value;
7
+ /*! *****************************************************************************
8
+ Copyright (c) Microsoft Corporation.
9
+
10
+ Permission to use, copy, modify, and/or distribute this software for any
11
+ purpose with or without fee is hereby granted.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
+ PERFORMANCE OF THIS SOFTWARE.
20
+ ***************************************************************************** */
21
+ /* global Reflect, Promise */
22
+ var extendStatics = function (d, b) {
23
+ extendStatics = Object.setPrototypeOf ||
24
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
25
+ function (d, b) { for (var p in b)
26
+ if (Object.prototype.hasOwnProperty.call(b, p))
27
+ d[p] = b[p]; };
28
+ return extendStatics(d, b);
29
+ };
30
+ function __extends(d, b) {
31
+ extendStatics(d, b);
32
+ function __() { this.constructor = d; }
33
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
34
+ }
35
+ var __assign = function () {
36
+ __assign = Object.assign || function __assign(t) {
37
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
38
+ s = arguments[i];
39
+ for (var p in s)
40
+ if (Object.prototype.hasOwnProperty.call(s, p))
41
+ t[p] = s[p];
42
+ }
43
+ return t;
44
+ };
45
+ return __assign.apply(this, arguments);
46
+ };
47
+ function __rest(s, e) {
48
+ var t = {};
49
+ for (var p in s)
50
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
51
+ t[p] = s[p];
52
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
53
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
54
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
55
+ t[p[i]] = s[p[i]];
56
+ }
57
+ return t;
58
+ }
59
+ function __decorate(decorators, target, key, desc) {
60
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
61
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
62
+ r = Reflect.decorate(decorators, target, key, desc);
63
+ else
64
+ for (var i = decorators.length - 1; i >= 0; i--)
65
+ if (d = decorators[i])
66
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
67
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
68
+ }
69
+ function __param(paramIndex, decorator) {
70
+ return function (target, key) { decorator(target, key, paramIndex); };
71
+ }
72
+ function __metadata(metadataKey, metadataValue) {
73
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
74
+ return Reflect.metadata(metadataKey, metadataValue);
75
+ }
76
+ function __awaiter(thisArg, _arguments, P, generator) {
77
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
78
+ return new (P || (P = Promise))(function (resolve, reject) {
79
+ function fulfilled(value) { try {
80
+ step(generator.next(value));
81
+ }
82
+ catch (e) {
83
+ reject(e);
84
+ } }
85
+ function rejected(value) { try {
86
+ step(generator["throw"](value));
87
+ }
88
+ catch (e) {
89
+ reject(e);
90
+ } }
91
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
92
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
93
+ });
94
+ }
95
+ function __generator(thisArg, body) {
96
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
97
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
98
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
99
+ function verb(n) { return function (v) { return step([n, v]); }; }
100
+ function step(op) {
101
+ if (f)
102
+ throw new TypeError("Generator is already executing.");
103
+ while (_)
104
+ try {
105
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
106
+ return t;
107
+ if (y = 0, t)
108
+ op = [op[0] & 2, t.value];
109
+ switch (op[0]) {
110
+ case 0:
111
+ case 1:
112
+ t = op;
113
+ break;
114
+ case 4:
115
+ _.label++;
116
+ return { value: op[1], done: false };
117
+ case 5:
118
+ _.label++;
119
+ y = op[1];
120
+ op = [0];
121
+ continue;
122
+ case 7:
123
+ op = _.ops.pop();
124
+ _.trys.pop();
125
+ continue;
126
+ default:
127
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
128
+ _ = 0;
129
+ continue;
130
+ }
131
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
132
+ _.label = op[1];
133
+ break;
134
+ }
135
+ if (op[0] === 6 && _.label < t[1]) {
136
+ _.label = t[1];
137
+ t = op;
138
+ break;
139
+ }
140
+ if (t && _.label < t[2]) {
141
+ _.label = t[2];
142
+ _.ops.push(op);
143
+ break;
144
+ }
145
+ if (t[2])
146
+ _.ops.pop();
147
+ _.trys.pop();
148
+ continue;
149
+ }
150
+ op = body.call(thisArg, _);
151
+ }
152
+ catch (e) {
153
+ op = [6, e];
154
+ y = 0;
155
+ }
156
+ finally {
157
+ f = t = 0;
158
+ }
159
+ if (op[0] & 5)
160
+ throw op[1];
161
+ return { value: op[0] ? op[1] : void 0, done: true };
162
+ }
163
+ }
164
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
165
+ if (k2 === undefined)
166
+ k2 = k;
167
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
168
+ }) : (function (o, m, k, k2) {
169
+ if (k2 === undefined)
170
+ k2 = k;
171
+ o[k2] = m[k];
172
+ });
173
+ function __exportStar(m, o) {
174
+ for (var p in m)
175
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
176
+ __createBinding(o, m, p);
177
+ }
178
+ function __values(o) {
179
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
180
+ if (m)
181
+ return m.call(o);
182
+ if (o && typeof o.length === "number")
183
+ return {
184
+ next: function () {
185
+ if (o && i >= o.length)
186
+ o = void 0;
187
+ return { value: o && o[i++], done: !o };
188
+ }
189
+ };
190
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
191
+ }
192
+ function __read(o, n) {
193
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
194
+ if (!m)
195
+ return o;
196
+ var i = m.call(o), r, ar = [], e;
197
+ try {
198
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
199
+ ar.push(r.value);
200
+ }
201
+ catch (error) {
202
+ e = { error: error };
203
+ }
204
+ finally {
205
+ try {
206
+ if (r && !r.done && (m = i["return"]))
207
+ m.call(i);
208
+ }
209
+ finally {
210
+ if (e)
211
+ throw e.error;
212
+ }
213
+ }
214
+ return ar;
215
+ }
216
+ function __spread() {
217
+ for (var ar = [], i = 0; i < arguments.length; i++)
218
+ ar = ar.concat(__read(arguments[i]));
219
+ return ar;
220
+ }
221
+ function __spreadArrays() {
222
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
223
+ s += arguments[i].length;
224
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
225
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
226
+ r[k] = a[j];
227
+ return r;
228
+ }
229
+ ;
230
+ function __await(v) {
231
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
232
+ }
233
+ function __asyncGenerator(thisArg, _arguments, generator) {
234
+ if (!Symbol.asyncIterator)
235
+ throw new TypeError("Symbol.asyncIterator is not defined.");
236
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
237
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
238
+ function verb(n) { if (g[n])
239
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
240
+ function resume(n, v) { try {
241
+ step(g[n](v));
242
+ }
243
+ catch (e) {
244
+ settle(q[0][3], e);
245
+ } }
246
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
247
+ function fulfill(value) { resume("next", value); }
248
+ function reject(value) { resume("throw", value); }
249
+ function settle(f, v) { if (f(v), q.shift(), q.length)
250
+ resume(q[0][0], q[0][1]); }
251
+ }
252
+ function __asyncDelegator(o) {
253
+ var i, p;
254
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
255
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
256
+ }
257
+ function __asyncValues(o) {
258
+ if (!Symbol.asyncIterator)
259
+ throw new TypeError("Symbol.asyncIterator is not defined.");
260
+ var m = o[Symbol.asyncIterator], i;
261
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
262
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
263
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
264
+ }
265
+ function __makeTemplateObject(cooked, raw) {
266
+ if (Object.defineProperty) {
267
+ Object.defineProperty(cooked, "raw", { value: raw });
268
+ }
269
+ else {
270
+ cooked.raw = raw;
271
+ }
272
+ return cooked;
273
+ }
274
+ ;
275
+ var __setModuleDefault = Object.create ? (function (o, v) {
276
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
277
+ }) : function (o, v) {
278
+ o["default"] = v;
279
+ };
280
+ function __importStar(mod) {
281
+ if (mod && mod.__esModule)
282
+ return mod;
283
+ var result = {};
284
+ if (mod != null)
285
+ for (var k in mod)
286
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
287
+ __createBinding(result, mod, k);
288
+ __setModuleDefault(result, mod);
289
+ return result;
290
+ }
291
+ function __importDefault(mod) {
292
+ return (mod && mod.__esModule) ? mod : { default: mod };
293
+ }
294
+ function __classPrivateFieldGet(receiver, privateMap) {
295
+ if (!privateMap.has(receiver)) {
296
+ throw new TypeError("attempted to get private field on non-instance");
297
+ }
298
+ return privateMap.get(receiver);
299
+ }
300
+ function __classPrivateFieldSet(receiver, privateMap, value) {
301
+ if (!privateMap.has(receiver)) {
302
+ throw new TypeError("attempted to set private field on non-instance");
303
+ }
304
+ privateMap.set(receiver, value);
305
+ return value;
219
306
  }
220
307
 
221
308
  /**
222
309
  * @fileoverview added by tsickle
223
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
310
+ * Generated from: loading.component.ts
311
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
224
312
  */
225
313
  /** @enum {string} */
226
314
  var LoadingType = {
227
- Circular: 'circular',
228
- Linear: 'linear',
315
+ Circular: "circular",
316
+ Linear: "linear",
229
317
  };
230
318
  /** @enum {string} */
231
319
  var LoadingMode = {
232
- Determinate: 'determinate',
233
- Indeterminate: 'indeterminate',
320
+ Determinate: "determinate",
321
+ Indeterminate: "indeterminate",
234
322
  };
235
323
  /** @enum {string} */
236
324
  var LoadingStrategy = {
237
- Overlay: 'overlay',
238
- Replace: 'replace',
325
+ Overlay: "overlay",
326
+ Replace: "replace",
239
327
  };
240
328
  /** @enum {string} */
241
329
  var LoadingStyle = {
242
- FullScreen: 'fullscreen',
243
- Overlay: 'overlay',
244
- None: 'none',
330
+ FullScreen: "fullscreen",
331
+ Overlay: "overlay",
332
+ None: "none",
245
333
  };
246
334
  /** @type {?} */
247
335
  var TD_CIRCLE_DIAMETER = 100;
248
336
  var TdLoadingComponent = /** @class */ (function () {
337
+ /**
338
+ * @param {?} _elementRef
339
+ * @param {?} _changeDetectorRef
340
+ */
249
341
  function TdLoadingComponent(_elementRef, _changeDetectorRef) {
250
342
  this._elementRef = _elementRef;
251
343
  this._changeDetectorRef = _changeDetectorRef;
@@ -270,56 +362,47 @@
270
362
  this.color = 'primary';
271
363
  }
272
364
  Object.defineProperty(TdLoadingComponent.prototype, "mode", {
273
- get: /**
365
+ /**
274
366
  * @return {?}
275
367
  */
276
- function () {
368
+ get: function () {
277
369
  return this._mode;
278
370
  },
279
371
  /**
280
- * Sets mode of [TdLoadingComponent] to LoadingMode.Determinate or LoadingMode.Indeterminate
281
- */
282
- set: /**
283
372
  * Sets mode of [TdLoadingComponent] to LoadingMode.Determinate or LoadingMode.Indeterminate
284
373
  * @param {?} mode
285
374
  * @return {?}
286
375
  */
287
- function (mode) {
376
+ set: function (mode) {
288
377
  this._defaultMode = mode;
289
378
  },
290
- enumerable: true,
379
+ enumerable: false,
291
380
  configurable: true
292
381
  });
293
382
  Object.defineProperty(TdLoadingComponent.prototype, "value", {
294
- get: /**
383
+ /**
295
384
  * @return {?}
296
385
  */
297
- function () {
386
+ get: function () {
298
387
  return this._value;
299
388
  },
300
389
  /**
301
- * Sets value of [TdLoadingComponent] if mode is 'LoadingMode.Determinate'
302
- */
303
- set: /**
304
390
  * Sets value of [TdLoadingComponent] if mode is 'LoadingMode.Determinate'
305
391
  * @param {?} value
306
392
  * @return {?}
307
393
  */
308
- function (value) {
394
+ set: function (value) {
309
395
  this._value = value;
310
396
  // Check for changes for `OnPush` change detection
311
397
  this._changeDetectorRef.markForCheck();
312
398
  },
313
- enumerable: true,
399
+ enumerable: false,
314
400
  configurable: true
315
401
  });
316
402
  /**
317
403
  * @return {?}
318
404
  */
319
- TdLoadingComponent.prototype.ngDoCheck = /**
320
- * @return {?}
321
- */
322
- function () {
405
+ TdLoadingComponent.prototype.ngDoCheck = function () {
323
406
  // When overlay is used and the host width has a value greater than 1px
324
407
  // set the circle diameter when possible incase the loading component was rendered in a hidden state
325
408
  if (this.isOverlay() && this._hostHeight() > 1 && this.animation) {
@@ -330,10 +413,7 @@
330
413
  /**
331
414
  * @return {?}
332
415
  */
333
- TdLoadingComponent.prototype.getHeight = /**
334
- * @return {?}
335
- */
336
- function () {
416
+ TdLoadingComponent.prototype.getHeight = function () {
337
417
  // Ignore height if style is `overlay` or `fullscreen`.
338
418
  // Add height if child elements have a height and style is `none`, else return default height.
339
419
  if (this.isOverlay() || this.isFullScreen()) {
@@ -346,19 +426,13 @@
346
426
  /**
347
427
  * @return {?}
348
428
  */
349
- TdLoadingComponent.prototype.getCircleDiameter = /**
350
- * @return {?}
351
- */
352
- function () {
429
+ TdLoadingComponent.prototype.getCircleDiameter = function () {
353
430
  return this._circleDiameter;
354
431
  };
355
432
  /**
356
433
  * @return {?}
357
434
  */
358
- TdLoadingComponent.prototype.getCircleStrokeWidth = /**
359
- * @return {?}
360
- */
361
- function () {
435
+ TdLoadingComponent.prototype.getCircleStrokeWidth = function () {
362
436
  // we calculate the stroke width by setting it as 10% of its diameter
363
437
  /** @type {?} */
364
438
  var strokeWidth = this.getCircleDiameter() / 10;
@@ -367,51 +441,32 @@
367
441
  /**
368
442
  * @return {?}
369
443
  */
370
- TdLoadingComponent.prototype.isCircular = /**
371
- * @return {?}
372
- */
373
- function () {
444
+ TdLoadingComponent.prototype.isCircular = function () {
374
445
  return this.type === LoadingType.Circular;
375
446
  };
376
447
  /**
377
448
  * @return {?}
378
449
  */
379
- TdLoadingComponent.prototype.isLinear = /**
380
- * @return {?}
381
- */
382
- function () {
450
+ TdLoadingComponent.prototype.isLinear = function () {
383
451
  return this.type === LoadingType.Linear;
384
452
  };
385
453
  /**
386
454
  * @return {?}
387
455
  */
388
- TdLoadingComponent.prototype.isFullScreen = /**
389
- * @return {?}
390
- */
391
- function () {
456
+ TdLoadingComponent.prototype.isFullScreen = function () {
392
457
  return this.style === LoadingStyle.FullScreen;
393
458
  };
394
459
  /**
395
460
  * @return {?}
396
461
  */
397
- TdLoadingComponent.prototype.isOverlay = /**
398
- * @return {?}
399
- */
400
- function () {
462
+ TdLoadingComponent.prototype.isOverlay = function () {
401
463
  return this.style === LoadingStyle.Overlay;
402
464
  };
403
- /**
404
- * Starts in animation and returns an observable for completition event.
405
- */
406
465
  /**
407
466
  * Starts in animation and returns an observable for completition event.
408
467
  * @return {?}
409
468
  */
410
- TdLoadingComponent.prototype.show = /**
411
- * Starts in animation and returns an observable for completition event.
412
- * @return {?}
413
- */
414
- function () {
469
+ TdLoadingComponent.prototype.show = function () {
415
470
  /* need to switch back to the selected mode, so we have saved it in another variable
416
471
  * and then recover it. (issue with protractor)
417
472
  */
@@ -423,17 +478,10 @@
423
478
  this._changeDetectorRef.markForCheck();
424
479
  };
425
480
  /**
426
- * Starts out animation and returns an observable for completition event.
427
- */
428
- /**
429
- * Starts out animation and returns an observable for completition event.
430
- * @return {?}
431
- */
432
- TdLoadingComponent.prototype.hide = /**
433
481
  * Starts out animation and returns an observable for completition event.
434
482
  * @return {?}
435
483
  */
436
- function () {
484
+ TdLoadingComponent.prototype.hide = function () {
437
485
  this.animation = false;
438
486
  /* need to switch back and forth from determinate/indeterminate so the setInterval()
439
487
  * inside mat-progress-spinner stops and protractor doesnt timeout waiting to sync.
@@ -448,20 +496,12 @@
448
496
  // Check for changes for `OnPush` change detection
449
497
  this._changeDetectorRef.markForCheck();
450
498
  };
451
- /**
452
- * Calculate the proper diameter for the circle and set it
453
- */
454
499
  /**
455
500
  * Calculate the proper diameter for the circle and set it
456
501
  * @private
457
502
  * @return {?}
458
503
  */
459
- TdLoadingComponent.prototype._setCircleDiameter = /**
460
- * Calculate the proper diameter for the circle and set it
461
- * @private
462
- * @return {?}
463
- */
464
- function () {
504
+ TdLoadingComponent.prototype._setCircleDiameter = function () {
465
505
  // we set a default diameter of 100 since this is the default in material
466
506
  /** @type {?} */
467
507
  var diameter = TD_CIRCLE_DIAMETER;
@@ -482,39 +522,31 @@
482
522
  }
483
523
  };
484
524
  /**
485
- * Returns the host height of the loading component
486
- */
487
- /**
488
- * Returns the host height of the loading component
489
- * @private
490
- * @return {?}
491
- */
492
- TdLoadingComponent.prototype._hostHeight = /**
493
525
  * Returns the host height of the loading component
494
526
  * @private
495
527
  * @return {?}
496
528
  */
497
- function () {
498
- if ((/** @type {?} */ (this._elementRef.nativeElement))) {
499
- return ((/** @type {?} */ (this._elementRef.nativeElement))).getBoundingClientRect().height;
529
+ TdLoadingComponent.prototype._hostHeight = function () {
530
+ if (( /** @type {?} */(this._elementRef.nativeElement))) {
531
+ return (( /** @type {?} */(this._elementRef.nativeElement))).getBoundingClientRect().height;
500
532
  }
501
533
  return 0;
502
534
  };
503
- TdLoadingComponent.decorators = [
504
- { type: core.Component, args: [{
505
- selector: 'td-loading',
506
- template: "<div\n class=\"td-loading-wrapper\"\n [style.min-height]=\"getHeight()\"\n [class.td-overlay-circular]=\"(isOverlay() || isFullScreen()) && !isLinear()\"\n [class.td-overlay]=\"isOverlay() || isFullScreen()\"\n [class.td-fullscreen]=\"isFullScreen()\"\n>\n <div [@tdFadeInOut]=\"animation\" [style.min-height]=\"getHeight()\" class=\"td-loading\">\n <mat-progress-spinner\n *ngIf=\"isCircular()\"\n [mode]=\"mode\"\n [value]=\"value\"\n [color]=\"color\"\n [diameter]=\"getCircleDiameter()\"\n [strokeWidth]=\"getCircleStrokeWidth()\"\n ></mat-progress-spinner>\n <mat-progress-bar *ngIf=\"isLinear()\" [mode]=\"mode\" [value]=\"value\" [color]=\"color\"></mat-progress-bar>\n </div>\n <ng-template [cdkPortalOutlet]=\"content\"></ng-template>\n</div>\n",
507
- animations: [common$1.tdFadeInOutAnimation],
508
- styles: [".td-loading-wrapper{position:relative;display:block}.td-loading-wrapper.td-fullscreen{position:inherit}.td-loading-wrapper .td-loading{box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;max-width:100%;-ms-flex-pack:center;justify-content:center;-ms-flex:1;flex:1}.td-loading-wrapper.td-overlay .td-loading{position:absolute;margin:0;top:0;left:0;right:0;z-index:1000}.td-loading-wrapper.td-overlay .td-loading mat-progress-bar{position:absolute;top:0;left:0;right:0}.td-loading-wrapper.td-overlay-circular .td-loading{bottom:0}"]
509
- }] }
510
- ];
511
- /** @nocollapse */
512
- TdLoadingComponent.ctorParameters = function () { return [
513
- { type: core.ElementRef },
514
- { type: core.ChangeDetectorRef }
515
- ]; };
516
535
  return TdLoadingComponent;
517
536
  }());
537
+ TdLoadingComponent.decorators = [
538
+ { type: core.Component, args: [{
539
+ selector: 'td-loading',
540
+ template: "<div\n class=\"td-loading-wrapper\"\n [style.min-height]=\"getHeight()\"\n [class.td-overlay-circular]=\"(isOverlay() || isFullScreen()) && !isLinear()\"\n [class.td-overlay]=\"isOverlay() || isFullScreen()\"\n [class.td-fullscreen]=\"isFullScreen()\"\n>\n <div [@tdFadeInOut]=\"animation\" [style.min-height]=\"getHeight()\" class=\"td-loading\">\n <mat-progress-spinner\n *ngIf=\"isCircular()\"\n [mode]=\"mode\"\n [value]=\"value\"\n [color]=\"color\"\n [diameter]=\"getCircleDiameter()\"\n [strokeWidth]=\"getCircleStrokeWidth()\"\n ></mat-progress-spinner>\n <mat-progress-bar *ngIf=\"isLinear()\" [mode]=\"mode\" [value]=\"value\" [color]=\"color\"></mat-progress-bar>\n </div>\n <ng-template [cdkPortalOutlet]=\"content\"></ng-template>\n</div>\n",
541
+ animations: [common.tdFadeInOutAnimation],
542
+ styles: [".td-loading-wrapper{display:block;position:relative}.td-loading-wrapper.td-fullscreen{position:inherit}.td-loading-wrapper .td-loading{-ms-flex:1;-ms-flex-align:center;-ms-flex-direction:row;-ms-flex-line-pack:center;-ms-flex-pack:center;align-content:center;align-items:center;box-sizing:border-box;display:-ms-flexbox;display:flex;flex:1;flex-direction:row;justify-content:center;max-width:100%}.td-loading-wrapper.td-overlay .td-loading{left:0;margin:0;position:absolute;right:0;top:0;z-index:1000}.td-loading-wrapper.td-overlay .td-loading mat-progress-bar{left:0;position:absolute;right:0;top:0}.td-loading-wrapper.td-overlay-circular .td-loading{bottom:0}"]
543
+ }] }
544
+ ];
545
+ /** @nocollapse */
546
+ TdLoadingComponent.ctorParameters = function () { return [
547
+ { type: core.ElementRef },
548
+ { type: core.ChangeDetectorRef }
549
+ ]; };
518
550
  if (false) {
519
551
  /**
520
552
  * @type {?}
@@ -580,7 +612,8 @@
580
612
 
581
613
  /**
582
614
  * @fileoverview added by tsickle
583
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
615
+ * Generated from: services/loading.factory.ts
616
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
584
617
  */
585
618
  /**
586
619
  * @record
@@ -610,17 +643,16 @@
610
643
  * NOTE: \@internal usage only.
611
644
  */
612
645
  var TdLoadingFactory = /** @class */ (function () {
646
+ /**
647
+ * @param {?} _componentFactoryResolver
648
+ * @param {?} _overlay
649
+ * @param {?} _injector
650
+ */
613
651
  function TdLoadingFactory(_componentFactoryResolver, _overlay, _injector) {
614
652
  this._componentFactoryResolver = _componentFactoryResolver;
615
653
  this._overlay = _overlay;
616
654
  this._injector = _injector;
617
655
  }
618
- /**
619
- * Uses material `Overlay` services to create a DOM element and attach the loading component
620
- * into it. Leveraging the state and configuration from it.
621
- *
622
- * Saves a reference in context to be called when registering/resolving the loading element.
623
- */
624
656
  /**
625
657
  * Uses material `Overlay` services to create a DOM element and attach the loading component
626
658
  * into it. Leveraging the state and configuration from it.
@@ -629,29 +661,20 @@
629
661
  * @param {?} options
630
662
  * @return {?}
631
663
  */
632
- TdLoadingFactory.prototype.createFullScreenComponent = /**
633
- * Uses material `Overlay` services to create a DOM element and attach the loading component
634
- * into it. Leveraging the state and configuration from it.
635
- *
636
- * Saves a reference in context to be called when registering/resolving the loading element.
637
- * @param {?} options
638
- * @return {?}
639
- */
640
- function (options) {
664
+ TdLoadingFactory.prototype.createFullScreenComponent = function (options) {
641
665
  var _this = this;
642
- ((/** @type {?} */ (options))).height = undefined;
643
- ((/** @type {?} */ (options))).style = LoadingStyle.FullScreen;
666
+ (( /** @type {?} */(options))).height = undefined;
667
+ (( /** @type {?} */(options))).style = LoadingStyle.FullScreen;
644
668
  /** @type {?} */
645
669
  var loadingRef = this._initializeContext();
646
670
  /** @type {?} */
647
671
  var loading = false;
648
672
  /** @type {?} */
649
673
  var overlayRef;
650
- loadingRef.observable.pipe(operators.distinctUntilChanged()).subscribe((/**
674
+ loadingRef.observable.pipe(operators.distinctUntilChanged()).subscribe(( /**
651
675
  * @param {?} registered
652
676
  * @return {?}
653
- */
654
- function (registered) {
677
+ */function (registered) {
655
678
  if (registered > 0 && !loading) {
656
679
  loading = true;
657
680
  overlayRef = _this._createOverlay();
@@ -671,24 +694,6 @@
671
694
  return loadingRef;
672
695
  };
673
696
  /**
674
- * Creates a loading component dynamically and attaches it into the given viewContainerRef.
675
- * Leverages TemplatePortals from material to inject the template inside of it so it fits
676
- * perfectly when overlaying it.
677
- *
678
- * Saves a reference in context to be called when registering/resolving the loading element.
679
- */
680
- /**
681
- * Creates a loading component dynamically and attaches it into the given viewContainerRef.
682
- * Leverages TemplatePortals from material to inject the template inside of it so it fits
683
- * perfectly when overlaying it.
684
- *
685
- * Saves a reference in context to be called when registering/resolving the loading element.
686
- * @param {?} options
687
- * @param {?} viewContainerRef
688
- * @param {?} templateRef
689
- * @return {?}
690
- */
691
- TdLoadingFactory.prototype.createOverlayComponent = /**
692
697
  * Creates a loading component dynamically and attaches it into the given viewContainerRef.
693
698
  * Leverages TemplatePortals from material to inject the template inside of it so it fits
694
699
  * perfectly when overlaying it.
@@ -699,9 +704,9 @@
699
704
  * @param {?} templateRef
700
705
  * @return {?}
701
706
  */
702
- function (options, viewContainerRef, templateRef) {
703
- ((/** @type {?} */ (options))).height = undefined;
704
- ((/** @type {?} */ (options))).style = LoadingStyle.Overlay;
707
+ TdLoadingFactory.prototype.createOverlayComponent = function (options, viewContainerRef, templateRef) {
708
+ (( /** @type {?} */(options))).height = undefined;
709
+ (( /** @type {?} */(options))).style = LoadingStyle.Overlay;
705
710
  /** @type {?} */
706
711
  var loadingRef = this._createComponent(options);
707
712
  /** @type {?} */
@@ -709,11 +714,10 @@
709
714
  loadingRef.componentRef.instance.content = new portal.TemplatePortal(templateRef, viewContainerRef);
710
715
  viewContainerRef.clear();
711
716
  viewContainerRef.insert(loadingRef.componentRef.hostView, 0);
712
- loadingRef.observable.pipe(operators.distinctUntilChanged()).subscribe((/**
717
+ loadingRef.observable.pipe(operators.distinctUntilChanged()).subscribe(( /**
713
718
  * @param {?} registered
714
719
  * @return {?}
715
- */
716
- function (registered) {
720
+ */function (registered) {
717
721
  if (registered > 0 && !loading) {
718
722
  loading = true;
719
723
  loadingRef.componentRef.instance.show();
@@ -726,23 +730,6 @@
726
730
  return loadingRef;
727
731
  };
728
732
  /**
729
- * Creates a loading component dynamically and attaches it into the given viewContainerRef.
730
- * Replaces the template with the loading component depending if it was registered or resolved.
731
- *
732
- * Saves a reference in context to be called when registering/resolving the loading element.
733
- */
734
- /**
735
- * Creates a loading component dynamically and attaches it into the given viewContainerRef.
736
- * Replaces the template with the loading component depending if it was registered or resolved.
737
- *
738
- * Saves a reference in context to be called when registering/resolving the loading element.
739
- * @param {?} options
740
- * @param {?} viewContainerRef
741
- * @param {?} templateRef
742
- * @param {?} context
743
- * @return {?}
744
- */
745
- TdLoadingFactory.prototype.createReplaceComponent = /**
746
733
  * Creates a loading component dynamically and attaches it into the given viewContainerRef.
747
734
  * Replaces the template with the loading component depending if it was registered or resolved.
748
735
  *
@@ -753,13 +740,13 @@
753
740
  * @param {?} context
754
741
  * @return {?}
755
742
  */
756
- function (options, viewContainerRef, templateRef, context) {
743
+ TdLoadingFactory.prototype.createReplaceComponent = function (options, viewContainerRef, templateRef, context) {
757
744
  /** @type {?} */
758
- var nativeElement = (/** @type {?} */ (templateRef.elementRef.nativeElement));
759
- ((/** @type {?} */ (options))).height = nativeElement.nextElementSibling
745
+ var nativeElement = ( /** @type {?} */(templateRef.elementRef.nativeElement));
746
+ (( /** @type {?} */(options))).height = nativeElement.nextElementSibling
760
747
  ? nativeElement.nextElementSibling.scrollHeight
761
748
  : undefined;
762
- ((/** @type {?} */ (options))).style = LoadingStyle.None;
749
+ (( /** @type {?} */(options))).style = LoadingStyle.None;
763
750
  /** @type {?} */
764
751
  var loadingRef = this._createComponent(options);
765
752
  /** @type {?} */
@@ -767,11 +754,10 @@
767
754
  // passing context so when the template is attached, we can keep the reference of the variables
768
755
  /** @type {?} */
769
756
  var contentRef = viewContainerRef.createEmbeddedView(templateRef, context);
770
- loadingRef.observable.pipe(operators.distinctUntilChanged()).subscribe((/**
757
+ loadingRef.observable.pipe(operators.distinctUntilChanged()).subscribe(( /**
771
758
  * @param {?} registered
772
759
  * @return {?}
773
- */
774
- function (registered) {
760
+ */function (registered) {
775
761
  if (registered > 0 && !loading) {
776
762
  loading = true;
777
763
  // detach the content and attach the loader if loader is there
@@ -803,42 +789,25 @@
803
789
  }));
804
790
  return loadingRef;
805
791
  };
806
- /**
807
- * Creates a fullscreen overlay for the loading usage.
808
- */
809
792
  /**
810
793
  * Creates a fullscreen overlay for the loading usage.
811
794
  * @private
812
795
  * @return {?}
813
796
  */
814
- TdLoadingFactory.prototype._createOverlay = /**
815
- * Creates a fullscreen overlay for the loading usage.
816
- * @private
817
- * @return {?}
818
- */
819
- function () {
797
+ TdLoadingFactory.prototype._createOverlay = function () {
820
798
  /** @type {?} */
821
799
  var state = new overlay.OverlayConfig();
822
800
  state.hasBackdrop = false;
823
801
  state.positionStrategy = this._overlay.position().global().centerHorizontally().centerVertically();
824
802
  return this._overlay.create(state);
825
803
  };
826
- /**
827
- * Creates a generic component dynamically waiting to be attached to a viewContainerRef.
828
- */
829
804
  /**
830
805
  * Creates a generic component dynamically waiting to be attached to a viewContainerRef.
831
806
  * @private
832
807
  * @param {?} options
833
808
  * @return {?}
834
809
  */
835
- TdLoadingFactory.prototype._createComponent = /**
836
- * Creates a generic component dynamically waiting to be attached to a viewContainerRef.
837
- * @private
838
- * @param {?} options
839
- * @return {?}
840
- */
841
- function (options) {
810
+ TdLoadingFactory.prototype._createComponent = function (options) {
842
811
  /** @type {?} */
843
812
  var compRef = this._initializeContext();
844
813
  compRef.componentRef = this._componentFactoryResolver
@@ -847,20 +816,12 @@
847
816
  this._mapOptions(options, compRef.componentRef.instance);
848
817
  return compRef;
849
818
  };
850
- /**
851
- * Initialize context for loading component.
852
- */
853
819
  /**
854
820
  * Initialize context for loading component.
855
821
  * @private
856
822
  * @return {?}
857
823
  */
858
- TdLoadingFactory.prototype._initializeContext = /**
859
- * Initialize context for loading component.
860
- * @private
861
- * @return {?}
862
- */
863
- function () {
824
+ TdLoadingFactory.prototype._initializeContext = function () {
864
825
  /** @type {?} */
865
826
  var subject = new rxjs.Subject();
866
827
  return {
@@ -871,23 +832,13 @@
871
832
  };
872
833
  };
873
834
  /**
874
- * Maps configuration to the loading component instance.
875
- */
876
- /**
877
- * Maps configuration to the loading component instance.
878
- * @private
879
- * @param {?} options
880
- * @param {?} instance
881
- * @return {?}
882
- */
883
- TdLoadingFactory.prototype._mapOptions = /**
884
835
  * Maps configuration to the loading component instance.
885
836
  * @private
886
837
  * @param {?} options
887
838
  * @param {?} instance
888
839
  * @return {?}
889
840
  */
890
- function (options, instance) {
841
+ TdLoadingFactory.prototype._mapOptions = function (options, instance) {
891
842
  instance.style = options.style;
892
843
  if (options.type !== undefined) {
893
844
  instance.type = options.type;
@@ -902,17 +853,17 @@
902
853
  instance.color = options.color;
903
854
  }
904
855
  };
905
- TdLoadingFactory.decorators = [
906
- { type: core.Injectable }
907
- ];
908
- /** @nocollapse */
909
- TdLoadingFactory.ctorParameters = function () { return [
910
- { type: core.ComponentFactoryResolver },
911
- { type: overlay.Overlay },
912
- { type: core.Injector }
913
- ]; };
914
856
  return TdLoadingFactory;
915
857
  }());
858
+ TdLoadingFactory.decorators = [
859
+ { type: core.Injectable }
860
+ ];
861
+ /** @nocollapse */
862
+ TdLoadingFactory.ctorParameters = function () { return [
863
+ { type: core.ComponentFactoryResolver },
864
+ { type: overlay.Overlay },
865
+ { type: core.Injector }
866
+ ]; };
916
867
  if (false) {
917
868
  /**
918
869
  * @type {?}
@@ -948,10 +899,6 @@
948
899
  useFactory: LOADING_FACTORY_PROVIDER_FACTORY,
949
900
  };
950
901
 
951
- /**
952
- * @fileoverview added by tsickle
953
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
954
- */
955
902
  /**
956
903
  * @record
957
904
  */
@@ -967,6 +914,9 @@
967
914
  ITdLoadingConfig.prototype.color;
968
915
  }
969
916
  var TdLoadingConfig = /** @class */ (function () {
917
+ /**
918
+ * @param {?} config
919
+ */
970
920
  function TdLoadingConfig(config) {
971
921
  this.name = config.name;
972
922
  if (!this.name) {
@@ -998,6 +948,9 @@
998
948
  }
999
949
  var TdLoadingDirectiveConfig = /** @class */ (function (_super) {
1000
950
  __extends(TdLoadingDirectiveConfig, _super);
951
+ /**
952
+ * @param {?} config
953
+ */
1001
954
  function TdLoadingDirectiveConfig(config) {
1002
955
  var _this = _super.call(this, config) || this;
1003
956
  _this.strategy = config.strategy ? config.strategy : LoadingStrategy.Replace;
@@ -1016,6 +969,9 @@
1016
969
  TdLoadingDirectiveConfig.prototype.strategy;
1017
970
  }
1018
971
  var TdLoadingService = /** @class */ (function () {
972
+ /**
973
+ * @param {?} _loadingFactory
974
+ */
1019
975
  function TdLoadingService(_loadingFactory) {
1020
976
  this._loadingFactory = _loadingFactory;
1021
977
  this._context = {};
@@ -1025,33 +981,6 @@
1025
981
  });
1026
982
  }
1027
983
  /**
1028
- * params:
1029
- * - config: ILoadingDirectiveConfig
1030
- * - viewContainerRef: ViewContainerRef
1031
- * - templateRef: TemplateRef<Object>
1032
- *
1033
- * Creates an replace loading mask and attaches it to the viewContainerRef.
1034
- * Replaces the templateRef with the mask when a request is registered on it.
1035
- *
1036
- * NOTE: @internal usage only.
1037
- */
1038
- /**
1039
- * params:
1040
- * - config: ILoadingDirectiveConfig
1041
- * - viewContainerRef: ViewContainerRef
1042
- * - templateRef: TemplateRef<Object>
1043
- *
1044
- * Creates an replace loading mask and attaches it to the viewContainerRef.
1045
- * Replaces the templateRef with the mask when a request is registered on it.
1046
- *
1047
- * NOTE: \@internal usage only.
1048
- * @param {?} config
1049
- * @param {?} viewContainerRef
1050
- * @param {?} templateRef
1051
- * @param {?} context
1052
- * @return {?}
1053
- */
1054
- TdLoadingService.prototype.createComponent = /**
1055
984
  * params:
1056
985
  * - config: ILoadingDirectiveConfig
1057
986
  * - viewContainerRef: ViewContainerRef
@@ -1067,7 +996,7 @@
1067
996
  * @param {?} context
1068
997
  * @return {?}
1069
998
  */
1070
- function (config, viewContainerRef, templateRef, context) {
999
+ TdLoadingService.prototype.createComponent = function (config, viewContainerRef, templateRef, context) {
1071
1000
  /** @type {?} */
1072
1001
  var directiveConfig = new TdLoadingDirectiveConfig(config);
1073
1002
  if (this._context[directiveConfig.name]) {
@@ -1082,22 +1011,6 @@
1082
1011
  return this._context[directiveConfig.name];
1083
1012
  };
1084
1013
  /**
1085
- * params:
1086
- * - config: ITdLoadingConfig
1087
- *
1088
- * Creates a fullscreen loading mask and attaches it to the DOM with the given configuration.
1089
- * Only displayed when the mask has a request registered on it.
1090
- */
1091
- /**
1092
- * params:
1093
- * - config: ITdLoadingConfig
1094
- *
1095
- * Creates a fullscreen loading mask and attaches it to the DOM with the given configuration.
1096
- * Only displayed when the mask has a request registered on it.
1097
- * @param {?} config
1098
- * @return {?}
1099
- */
1100
- TdLoadingService.prototype.create = /**
1101
1014
  * params:
1102
1015
  * - config: ITdLoadingConfig
1103
1016
  *
@@ -1106,27 +1019,13 @@
1106
1019
  * @param {?} config
1107
1020
  * @return {?}
1108
1021
  */
1109
- function (config) {
1022
+ TdLoadingService.prototype.create = function (config) {
1110
1023
  /** @type {?} */
1111
1024
  var fullscreenConfig = new TdLoadingConfig(config);
1112
1025
  this.removeComponent(fullscreenConfig.name);
1113
1026
  this._context[fullscreenConfig.name] = this._loadingFactory.createFullScreenComponent(fullscreenConfig);
1114
1027
  };
1115
1028
  /**
1116
- * params:
1117
- * - name: string
1118
- *
1119
- * Removes `loading` component from service context.
1120
- */
1121
- /**
1122
- * params:
1123
- * - name: string
1124
- *
1125
- * Removes `loading` component from service context.
1126
- * @param {?} name
1127
- * @return {?}
1128
- */
1129
- TdLoadingService.prototype.removeComponent = /**
1130
1029
  * params:
1131
1030
  * - name: string
1132
1031
  *
@@ -1134,7 +1033,7 @@
1134
1033
  * @param {?} name
1135
1034
  * @return {?}
1136
1035
  */
1137
- function (name) {
1036
+ TdLoadingService.prototype.removeComponent = function (name) {
1138
1037
  if (this._context[name]) {
1139
1038
  this._context[name].subject.unsubscribe();
1140
1039
  if (this._context[name].componentRef) {
@@ -1144,19 +1043,6 @@
1144
1043
  delete this._context[name];
1145
1044
  }
1146
1045
  };
1147
- /**
1148
- * params:
1149
- * - name: string
1150
- * - registers?: number
1151
- * returns: true if successful
1152
- *
1153
- * Resolves a request for the loading mask referenced by the name parameter.
1154
- * Can optionally pass registers argument to set a number of register calls.
1155
- *
1156
- * If no paramemeters are used, then default main mask will be used.
1157
- *
1158
- * e.g. loadingService.register()
1159
- */
1160
1046
  /**
1161
1047
  * params:
1162
1048
  * - name: string
@@ -1173,23 +1059,7 @@
1173
1059
  * @param {?=} registers
1174
1060
  * @return {?}
1175
1061
  */
1176
- TdLoadingService.prototype.register = /**
1177
- * params:
1178
- * - name: string
1179
- * - registers?: number
1180
- * returns: true if successful
1181
- *
1182
- * Resolves a request for the loading mask referenced by the name parameter.
1183
- * Can optionally pass registers argument to set a number of register calls.
1184
- *
1185
- * If no paramemeters are used, then default main mask will be used.
1186
- *
1187
- * e.g. loadingService.register()
1188
- * @param {?=} name
1189
- * @param {?=} registers
1190
- * @return {?}
1191
- */
1192
- function (name, registers) {
1062
+ TdLoadingService.prototype.register = function (name, registers) {
1193
1063
  var _this = this;
1194
1064
  if (name === void 0) { name = 'td-loading-main'; }
1195
1065
  if (registers === void 0) { registers = 1; }
@@ -1204,10 +1074,9 @@
1204
1074
  // if it doesnt exist, set a timeout so its registered after change detection happens
1205
1075
  // this in case "register" occured on the `ngOnInit` lifehook cycle.
1206
1076
  if (!this._timeouts[name]) {
1207
- this._timeouts[name] = setTimeout((/**
1077
+ this._timeouts[name] = setTimeout(( /**
1208
1078
  * @return {?}
1209
- */
1210
- function () {
1079
+ */function () {
1211
1080
  _this.register(name, registers);
1212
1081
  }));
1213
1082
  }
@@ -1218,19 +1087,6 @@
1218
1087
  }
1219
1088
  return false;
1220
1089
  };
1221
- /**
1222
- * params:
1223
- * - name: string
1224
- * - resolves?: number
1225
- * returns: true if successful
1226
- *
1227
- * Resolves a request for the loading mask referenced by the name parameter.
1228
- * Can optionally pass resolves argument to set a number of resolve calls.
1229
- *
1230
- * If no paramemeters are used, then default main mask will be used.
1231
- *
1232
- * e.g. loadingService.resolve()
1233
- */
1234
1090
  /**
1235
1091
  * params:
1236
1092
  * - name: string
@@ -1247,23 +1103,7 @@
1247
1103
  * @param {?=} resolves
1248
1104
  * @return {?}
1249
1105
  */
1250
- TdLoadingService.prototype.resolve = /**
1251
- * params:
1252
- * - name: string
1253
- * - resolves?: number
1254
- * returns: true if successful
1255
- *
1256
- * Resolves a request for the loading mask referenced by the name parameter.
1257
- * Can optionally pass resolves argument to set a number of resolve calls.
1258
- *
1259
- * If no paramemeters are used, then default main mask will be used.
1260
- *
1261
- * e.g. loadingService.resolve()
1262
- * @param {?=} name
1263
- * @param {?=} resolves
1264
- * @return {?}
1265
- */
1266
- function (name, resolves) {
1106
+ TdLoadingService.prototype.resolve = function (name, resolves) {
1267
1107
  if (name === void 0) { name = 'td-loading-main'; }
1268
1108
  if (resolves === void 0) { resolves = 1; }
1269
1109
  // clear timeout if the loading component is "resolved" before its "registered"
@@ -1282,30 +1122,6 @@
1282
1122
  return false;
1283
1123
  };
1284
1124
  /**
1285
- * params:
1286
- * - name: string
1287
- * returns: true if successful
1288
- *
1289
- * Resolves all request for the loading mask referenced by the name parameter.
1290
- *
1291
- * If no paramemeters are used, then default main mask will be used.
1292
- *
1293
- * e.g. loadingService.resolveAll()
1294
- */
1295
- /**
1296
- * params:
1297
- * - name: string
1298
- * returns: true if successful
1299
- *
1300
- * Resolves all request for the loading mask referenced by the name parameter.
1301
- *
1302
- * If no paramemeters are used, then default main mask will be used.
1303
- *
1304
- * e.g. loadingService.resolveAll()
1305
- * @param {?=} name
1306
- * @return {?}
1307
- */
1308
- TdLoadingService.prototype.resolveAll = /**
1309
1125
  * params:
1310
1126
  * - name: string
1311
1127
  * returns: true if successful
@@ -1318,7 +1134,7 @@
1318
1134
  * @param {?=} name
1319
1135
  * @return {?}
1320
1136
  */
1321
- function (name) {
1137
+ TdLoadingService.prototype.resolveAll = function (name) {
1322
1138
  if (name === void 0) { name = 'td-loading-main'; }
1323
1139
  // clear timeout if the loading component is "resolved" before its "registered"
1324
1140
  this._clearTimeout(name);
@@ -1330,27 +1146,6 @@
1330
1146
  return false;
1331
1147
  };
1332
1148
  /**
1333
- * params:
1334
- * - name: string
1335
- * - value: number
1336
- * returns: true if successful
1337
- *
1338
- * Set value on a loading mask referenced by the name parameter.
1339
- * Usage only available if its mode is 'determinate' and if loading is showing.
1340
- */
1341
- /**
1342
- * params:
1343
- * - name: string
1344
- * - value: number
1345
- * returns: true if successful
1346
- *
1347
- * Set value on a loading mask referenced by the name parameter.
1348
- * Usage only available if its mode is 'determinate' and if loading is showing.
1349
- * @param {?} name
1350
- * @param {?} value
1351
- * @return {?}
1352
- */
1353
- TdLoadingService.prototype.setValue = /**
1354
1149
  * params:
1355
1150
  * - name: string
1356
1151
  * - value: number
@@ -1362,7 +1157,7 @@
1362
1157
  * @param {?} value
1363
1158
  * @return {?}
1364
1159
  */
1365
- function (name, value) {
1160
+ TdLoadingService.prototype.setValue = function (name, value) {
1366
1161
  if (this._context[name]) {
1367
1162
  /** @type {?} */
1368
1163
  var instance = this._context[name].componentRef.instance;
@@ -1373,35 +1168,25 @@
1373
1168
  }
1374
1169
  return false;
1375
1170
  };
1376
- /**
1377
- * Clears timeout linked to the name.
1378
- * @param name Name of the loading component to be cleared
1379
- */
1380
1171
  /**
1381
1172
  * Clears timeout linked to the name.
1382
1173
  * @private
1383
1174
  * @param {?} name Name of the loading component to be cleared
1384
1175
  * @return {?}
1385
1176
  */
1386
- TdLoadingService.prototype._clearTimeout = /**
1387
- * Clears timeout linked to the name.
1388
- * @private
1389
- * @param {?} name Name of the loading component to be cleared
1390
- * @return {?}
1391
- */
1392
- function (name) {
1177
+ TdLoadingService.prototype._clearTimeout = function (name) {
1393
1178
  clearTimeout(this._timeouts[name]);
1394
1179
  delete this._timeouts[name];
1395
1180
  };
1396
- TdLoadingService.decorators = [
1397
- { type: core.Injectable }
1398
- ];
1399
- /** @nocollapse */
1400
- TdLoadingService.ctorParameters = function () { return [
1401
- { type: TdLoadingFactory }
1402
- ]; };
1403
1181
  return TdLoadingService;
1404
1182
  }());
1183
+ TdLoadingService.decorators = [
1184
+ { type: core.Injectable }
1185
+ ];
1186
+ /** @nocollapse */
1187
+ TdLoadingService.ctorParameters = function () { return [
1188
+ { type: TdLoadingFactory }
1189
+ ]; };
1405
1190
  if (false) {
1406
1191
  /**
1407
1192
  * @type {?}
@@ -1437,15 +1222,13 @@
1437
1222
 
1438
1223
  /**
1439
1224
  * @fileoverview added by tsickle
1440
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1225
+ * Generated from: directives/loading.directive.ts
1226
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1441
1227
  */
1442
1228
  /**
1443
1229
  * Context class for variable reference
1444
1230
  */
1445
- var /**
1446
- * Context class for variable reference
1447
- */
1448
- TdLoadingContext = /** @class */ (function () {
1231
+ var TdLoadingContext = /** @class */ (function () {
1449
1232
  function TdLoadingContext() {
1450
1233
  this.$implicit = undefined;
1451
1234
  this.tdLoading = undefined;
@@ -1462,6 +1245,11 @@
1462
1245
  /** @type {?} */
1463
1246
  var TD_LOADING_NEXT_ID = 0;
1464
1247
  var TdLoadingDirective = /** @class */ (function () {
1248
+ /**
1249
+ * @param {?} _viewContainerRef
1250
+ * @param {?} _templateRef
1251
+ * @param {?} _loadingService
1252
+ */
1465
1253
  function TdLoadingDirective(_viewContainerRef, _templateRef, _loadingService) {
1466
1254
  this._viewContainerRef = _viewContainerRef;
1467
1255
  this._templateRef = _templateRef;
@@ -1475,31 +1263,21 @@
1475
1263
  }
1476
1264
  Object.defineProperty(TdLoadingDirective.prototype, "name", {
1477
1265
  /**
1478
- * tdLoading: string
1479
- * Name reference of the loading mask, used to register/resolve requests to the mask.
1480
- */
1481
- set: /**
1482
1266
  * tdLoading: string
1483
1267
  * Name reference of the loading mask, used to register/resolve requests to the mask.
1484
1268
  * @param {?} name
1485
1269
  * @return {?}
1486
1270
  */
1487
- function (name) {
1271
+ set: function (name) {
1488
1272
  if (!this._name && name) {
1489
1273
  this._name = name;
1490
1274
  }
1491
1275
  },
1492
- enumerable: true,
1276
+ enumerable: false,
1493
1277
  configurable: true
1494
1278
  });
1495
1279
  Object.defineProperty(TdLoadingDirective.prototype, "until", {
1496
1280
  /**
1497
- * tdLoadingUntil?: any
1498
- * If its null, undefined or false it will be used to register requests to the mask.
1499
- * Else if its any value that can be resolved as true, it will resolve the mask.
1500
- * [name] is optional when using [until], but can still be used to register/resolve it manually.
1501
- */
1502
- set: /**
1503
1281
  * tdLoadingUntil?: any
1504
1282
  * If its null, undefined or false it will be used to register requests to the mask.
1505
1283
  * Else if its any value that can be resolved as true, it will resolve the mask.
@@ -1507,7 +1285,7 @@
1507
1285
  * @param {?} until
1508
1286
  * @return {?}
1509
1287
  */
1510
- function (until) {
1288
+ set: function (until) {
1511
1289
  if (!this._name) {
1512
1290
  this._name = 'td-loading-until-' + TD_LOADING_NEXT_ID++;
1513
1291
  }
@@ -1519,23 +1297,18 @@
1519
1297
  this._loadingService.resolveAll(this._name);
1520
1298
  }
1521
1299
  },
1522
- enumerable: true,
1300
+ enumerable: false,
1523
1301
  configurable: true
1524
1302
  });
1525
1303
  Object.defineProperty(TdLoadingDirective.prototype, "type", {
1526
1304
  /**
1527
- * tdLoadingType?: LoadingType or ['linear' | 'circular']
1528
- * Sets the type of loading mask depending on value.
1529
- * Defaults to [LoadingType.Circular | 'circular'].
1530
- */
1531
- set: /**
1532
1305
  * tdLoadingType?: LoadingType or ['linear' | 'circular']
1533
1306
  * Sets the type of loading mask depending on value.
1534
1307
  * Defaults to [LoadingType.Circular | 'circular'].
1535
1308
  * @param {?} type
1536
1309
  * @return {?}
1537
1310
  */
1538
- function (type) {
1311
+ set: function (type) {
1539
1312
  if (type === LoadingType.Linear) {
1540
1313
  this._type = LoadingType.Linear;
1541
1314
  }
@@ -1543,23 +1316,18 @@
1543
1316
  this._type = LoadingType.Circular;
1544
1317
  }
1545
1318
  },
1546
- enumerable: true,
1319
+ enumerable: false,
1547
1320
  configurable: true
1548
1321
  });
1549
1322
  Object.defineProperty(TdLoadingDirective.prototype, "mode", {
1550
1323
  /**
1551
- * tdLoadingMode?: LoadingMode or ['determinate' | 'indeterminate']
1552
- * Sets the mode of loading mask depending on value.
1553
- * Defaults to [LoadingMode.Indeterminate | 'indeterminate'].
1554
- */
1555
- set: /**
1556
1324
  * tdLoadingMode?: LoadingMode or ['determinate' | 'indeterminate']
1557
1325
  * Sets the mode of loading mask depending on value.
1558
1326
  * Defaults to [LoadingMode.Indeterminate | 'indeterminate'].
1559
1327
  * @param {?} mode
1560
1328
  * @return {?}
1561
1329
  */
1562
- function (mode) {
1330
+ set: function (mode) {
1563
1331
  if (mode === LoadingMode.Determinate) {
1564
1332
  this._mode = LoadingMode.Determinate;
1565
1333
  }
@@ -1567,23 +1335,18 @@
1567
1335
  this._mode = LoadingMode.Indeterminate;
1568
1336
  }
1569
1337
  },
1570
- enumerable: true,
1338
+ enumerable: false,
1571
1339
  configurable: true
1572
1340
  });
1573
1341
  Object.defineProperty(TdLoadingDirective.prototype, "strategy", {
1574
1342
  /**
1575
- * tdLoadingStrategy?: LoadingStrategy or ['replace' | 'overlay']
1576
- * Sets the strategy of loading mask depending on value.
1577
- * Defaults to [LoadingMode.Replace | 'replace'].
1578
- */
1579
- set: /**
1580
1343
  * tdLoadingStrategy?: LoadingStrategy or ['replace' | 'overlay']
1581
1344
  * Sets the strategy of loading mask depending on value.
1582
1345
  * Defaults to [LoadingMode.Replace | 'replace'].
1583
1346
  * @param {?} strategy
1584
1347
  * @return {?}
1585
1348
  */
1586
- function (strategy) {
1349
+ set: function (strategy) {
1587
1350
  if (strategy === LoadingStrategy.Overlay) {
1588
1351
  this._strategy = LoadingStrategy.Overlay;
1589
1352
  }
@@ -1591,55 +1354,31 @@
1591
1354
  this._strategy = LoadingStrategy.Replace;
1592
1355
  }
1593
1356
  },
1594
- enumerable: true,
1357
+ enumerable: false,
1595
1358
  configurable: true
1596
1359
  });
1597
- /**
1598
- * Registers component in the DOM, so it will be available when calling resolve/register.
1599
- */
1600
1360
  /**
1601
1361
  * Registers component in the DOM, so it will be available when calling resolve/register.
1602
1362
  * @return {?}
1603
1363
  */
1604
- TdLoadingDirective.prototype.ngOnInit = /**
1605
- * Registers component in the DOM, so it will be available when calling resolve/register.
1606
- * @return {?}
1607
- */
1608
- function () {
1364
+ TdLoadingDirective.prototype.ngOnInit = function () {
1609
1365
  this._registerComponent();
1610
1366
  };
1611
- /**
1612
- * Remove component when directive is destroyed.
1613
- */
1614
1367
  /**
1615
1368
  * Remove component when directive is destroyed.
1616
1369
  * @return {?}
1617
1370
  */
1618
- TdLoadingDirective.prototype.ngOnDestroy = /**
1619
- * Remove component when directive is destroyed.
1620
- * @return {?}
1621
- */
1622
- function () {
1371
+ TdLoadingDirective.prototype.ngOnDestroy = function () {
1623
1372
  this._loadingService.removeComponent(this._name);
1624
1373
  this._loadingRef = undefined;
1625
1374
  };
1626
- /**
1627
- * Creates [TdLoadingComponent] and attaches it to this directive's [ViewContainerRef].
1628
- * Passes this directive's [TemplateRef] to modify DOM depending on loading `strategy`.
1629
- */
1630
1375
  /**
1631
1376
  * Creates [TdLoadingComponent] and attaches it to this directive's [ViewContainerRef].
1632
1377
  * Passes this directive's [TemplateRef] to modify DOM depending on loading `strategy`.
1633
1378
  * @private
1634
1379
  * @return {?}
1635
1380
  */
1636
- TdLoadingDirective.prototype._registerComponent = /**
1637
- * Creates [TdLoadingComponent] and attaches it to this directive's [ViewContainerRef].
1638
- * Passes this directive's [TemplateRef] to modify DOM depending on loading `strategy`.
1639
- * @private
1640
- * @return {?}
1641
- */
1642
- function () {
1381
+ TdLoadingDirective.prototype._registerComponent = function () {
1643
1382
  if (!this._name) {
1644
1383
  throw new Error('Name is needed to register loading directive');
1645
1384
  }
@@ -1655,27 +1394,27 @@
1655
1394
  }, this._viewContainerRef, this._templateRef, this._context);
1656
1395
  }
1657
1396
  };
1658
- TdLoadingDirective.decorators = [
1659
- { type: core.Directive, args: [{
1660
- selector: '[tdLoading]',
1661
- },] }
1662
- ];
1663
- /** @nocollapse */
1664
- TdLoadingDirective.ctorParameters = function () { return [
1665
- { type: core.ViewContainerRef },
1666
- { type: core.TemplateRef },
1667
- { type: TdLoadingService }
1668
- ]; };
1669
- TdLoadingDirective.propDecorators = {
1670
- name: [{ type: core.Input, args: ['tdLoading',] }],
1671
- until: [{ type: core.Input, args: ['tdLoadingUntil',] }],
1672
- type: [{ type: core.Input, args: ['tdLoadingType',] }],
1673
- mode: [{ type: core.Input, args: ['tdLoadingMode',] }],
1674
- strategy: [{ type: core.Input, args: ['tdLoadingStrategy',] }],
1675
- color: [{ type: core.Input, args: ['tdLoadingColor',] }]
1676
- };
1677
1397
  return TdLoadingDirective;
1678
1398
  }());
1399
+ TdLoadingDirective.decorators = [
1400
+ { type: core.Directive, args: [{
1401
+ selector: '[tdLoading]',
1402
+ },] }
1403
+ ];
1404
+ /** @nocollapse */
1405
+ TdLoadingDirective.ctorParameters = function () { return [
1406
+ { type: core.ViewContainerRef },
1407
+ { type: core.TemplateRef },
1408
+ { type: TdLoadingService }
1409
+ ]; };
1410
+ TdLoadingDirective.propDecorators = {
1411
+ name: [{ type: core.Input, args: ['tdLoading',] }],
1412
+ until: [{ type: core.Input, args: ['tdLoadingUntil',] }],
1413
+ type: [{ type: core.Input, args: ['tdLoadingType',] }],
1414
+ mode: [{ type: core.Input, args: ['tdLoadingMode',] }],
1415
+ strategy: [{ type: core.Input, args: ['tdLoadingStrategy',] }],
1416
+ color: [{ type: core.Input, args: ['tdLoadingColor',] }]
1417
+ };
1679
1418
  if (false) {
1680
1419
  /**
1681
1420
  * @type {?}
@@ -1732,7 +1471,8 @@
1732
1471
 
1733
1472
  /**
1734
1473
  * @fileoverview added by tsickle
1735
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1474
+ * Generated from: loading.module.ts
1475
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1736
1476
  */
1737
1477
  /** @type {?} */
1738
1478
  var TD_LOADING = [TdLoadingComponent, TdLoadingDirective];
@@ -1741,16 +1481,34 @@
1741
1481
  var CovalentLoadingModule = /** @class */ (function () {
1742
1482
  function CovalentLoadingModule() {
1743
1483
  }
1744
- CovalentLoadingModule.decorators = [
1745
- { type: core.NgModule, args: [{
1746
- imports: [common.CommonModule, progressBar.MatProgressBarModule, progressSpinner.MatProgressSpinnerModule, overlay.OverlayModule, portal.PortalModule],
1747
- declarations: [TD_LOADING],
1748
- exports: [TD_LOADING],
1749
- providers: [LOADING_FACTORY_PROVIDER, LOADING_PROVIDER],
1750
- },] }
1751
- ];
1752
1484
  return CovalentLoadingModule;
1753
1485
  }());
1486
+ CovalentLoadingModule.decorators = [
1487
+ { type: core.NgModule, args: [{
1488
+ imports: [common$1.CommonModule, progressBar.MatProgressBarModule, progressSpinner.MatProgressSpinnerModule, overlay.OverlayModule, portal.PortalModule],
1489
+ declarations: [TD_LOADING],
1490
+ exports: [TD_LOADING],
1491
+ providers: [LOADING_FACTORY_PROVIDER, LOADING_PROVIDER],
1492
+ },] }
1493
+ ];
1494
+
1495
+ /**
1496
+ * @fileoverview added by tsickle
1497
+ * Generated from: public-api.ts
1498
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1499
+ */
1500
+
1501
+ /**
1502
+ * @fileoverview added by tsickle
1503
+ * Generated from: index.ts
1504
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1505
+ */
1506
+
1507
+ /**
1508
+ * @fileoverview added by tsickle
1509
+ * Generated from: covalent-core-loading.ts
1510
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1511
+ */
1754
1512
 
1755
1513
  exports.CovalentLoadingModule = CovalentLoadingModule;
1756
1514
  exports.LOADING_FACTORY_PROVIDER = LOADING_FACTORY_PROVIDER;