@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,16 +1,16 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("@angular/material/checkbox"),require("@angular/material/tooltip"),require("@angular/material/icon"),require("@angular/material/core"),require("@angular/platform-browser"),require("@angular/forms"),require("@angular/cdk/coercion"),require("@angular/cdk/keycodes"),require("rxjs"),require("rxjs/operators"),require("@angular/cdk/portal"),require("@covalent/core/common")):"function"==typeof define&&define.amd?define("@covalent/core/data-table",["exports","@angular/core","@angular/common","@angular/material/checkbox","@angular/material/tooltip","@angular/material/icon","@angular/material/core","@angular/platform-browser","@angular/forms","@angular/cdk/coercion","@angular/cdk/keycodes","rxjs","rxjs/operators","@angular/cdk/portal","@covalent/core/common"],e):e(((t=t||self).covalent=t.covalent||{},t.covalent.core=t.covalent.core||{},t.covalent.core["data-table"]={}),t.ng.core,t.ng.common,t.ng.material.checkbox,t.ng.material.tooltip,t.ng.material.icon,t.ng.material.core,t.ng.platformBrowser,t.ng.forms,t.ng.cdk.coercion,t.ng.cdk.keycodes,t.rxjs,t.rxjs.operators,t.ng.cdk.portal,t.covalent.core.common)}(this,(function(t,e,i,n,r,a,o,l,s,d,c,h,u,m,b){"use strict";
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("@angular/material/checkbox"),require("@angular/material/tooltip"),require("@angular/material/icon"),require("@angular/material/core"),require("@angular/platform-browser"),require("@angular/forms"),require("@angular/cdk/coercion"),require("@angular/cdk/keycodes"),require("rxjs"),require("rxjs/operators"),require("@angular/cdk/portal"),require("@covalent/core/common")):"function"==typeof define&&define.amd?define("@covalent/core/data-table",["exports","@angular/core","@angular/common","@angular/material/checkbox","@angular/material/tooltip","@angular/material/icon","@angular/material/core","@angular/platform-browser","@angular/forms","@angular/cdk/coercion","@angular/cdk/keycodes","rxjs","rxjs/operators","@angular/cdk/portal","@covalent/core/common"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self).covalent=t.covalent||{},t.covalent.core=t.covalent.core||{},t.covalent.core["data-table"]={}),t.ng.core,t.ng.common,t.ng.material.checkbox,t.ng.material.tooltip,t.ng.material.icon,t.ng.material.core,t.ng.platformBrowser,t.ng.forms,t.ng.cdk.coercion,t.ng.cdk.keycodes,t.rxjs,t.rxjs.operators,t.ng.cdk.portal,t.covalent.core.common)}(this,(function(t,e,i,n,r,a,o,l,s,d,c,h,u,m,b){"use strict";
2
2
  /*! *****************************************************************************
3
- Copyright (c) Microsoft Corporation. All rights reserved.
4
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
5
- this file except in compliance with the License. You may obtain a copy of the
6
- License at http://www.apache.org/licenses/LICENSE-2.0
3
+ Copyright (c) Microsoft Corporation.
7
4
 
8
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
9
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
10
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
11
- MERCHANTABLITY OR NON-INFRINGEMENT.
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted.
12
7
 
13
- See the Apache Version 2.0 License for specific language governing permissions
14
- and limitations under the License.
15
- ***************************************************************************** */var p=function(t,e){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)};function f(t,e){function i(){this.constructor=t}p(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}function g(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}var _=function(){function t(t,e){this._elementRef=t,this._renderer=e,this._renderer.addClass(this._elementRef.nativeElement,"td-data-table-column-row")}return t.decorators=[{type:e.Component,args:[{selector:"tr[td-data-table-column-row]",template:"<ng-content></ng-content>\n",styles:[":host{border-bottom-style:solid;border-bottom-width:1px}:host.td-data-table-row{height:48px}:host.td-data-table-column-row{height:56px}"]}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2}]},t}();var y=function(){function t(t,e){this._elementRef=t,this._renderer=e,this._selected=!1,this._renderer.addClass(this._elementRef.nativeElement,"td-data-table-row")}return Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){t?this._renderer.addClass(this._elementRef.nativeElement,"td-selected"):this._renderer.removeClass(this._elementRef.nativeElement,"td-selected"),this._selected=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){var t=48;return this._elementRef.nativeElement&&(t=this._elementRef.nativeElement.getBoundingClientRect().height),t},enumerable:!0,configurable:!0}),t.prototype.clickListener=function(){this.focus()},t.prototype.focus=function(){this._elementRef.nativeElement.focus()},t.decorators=[{type:e.Component,args:[{selector:"tr[td-data-table-row]",template:"<ng-content></ng-content>\n",styles:[":host{border-bottom-style:solid;border-bottom-width:1px}:host.td-data-table-row{height:48px}:host.td-data-table-column-row{height:56px}"]}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2}]},t.propDecorators={selected:[{type:e.Input,args:["selected"]}],clickListener:[{type:e.HostListener,args:["click"]}]},t}();var v=function(t){function i(e,i){return t.call(this,e,i)||this}return f(i,t),i.decorators=[{type:e.Directive,args:[{selector:"[tdDataTableTemplate]ng-template"}]}],i.ctorParameters=function(){return[{type:e.TemplateRef},{type:e.ViewContainerRef}]},i.propDecorators={tdDataTableTemplate:[{type:e.Input}]},i}(m.TemplatePortalDirective);var x={Ascending:"ASC",Descending:"DESC"};var w=function(t){this._changeDetectorRef=t};var C=b.mixinControlValueAccessor(w,[]),k=function(t){function n(i,n,r,a){var o=t.call(this,a)||this;return o._document=i,o._elementRef=n,o._domSanitizer=r,o._hostWidth=0,o._resizableColumns=!1,o._columnClientX=0,o._onColumnResize=new h.Subject,o._widths=[],o._onResize=new h.Subject,o._scrollHorizontalOffset=0,o._onHorizontalScroll=new h.Subject,o._onVerticalScroll=new h.Subject,o._rowHeightCache=[],o._totalHeight=0,o._hostHeight=0,o._scrollVerticalOffset=0,o._fromRow=0,o._toRow=0,o._selectable=!1,o._clickable=!1,o._multiple=!0,o._allSelected=!1,o._indeterminate=!1,o._sortable=!1,o._sortOrder=x.Ascending,o._shiftPreviouslyPressed=!1,o._lastSelectedIndex=-1,o._firstSelectedIndex=-1,o._firstCheckboxValue=!1,o._templateMap=new Map,o.sortChange=new e.EventEmitter,o.rowSelect=new e.EventEmitter,o.rowClick=new e.EventEmitter,o.selectAll=new e.EventEmitter,o.compareWith=function(t,e){return t===e},o}return f(n,t),Object.defineProperty(n.prototype,"resizingColumn",{get:function(){return this._resizingColumn},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hostWidth",{get:function(){return this.selectable?this._hostWidth-42:this._hostWidth},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"offsetTransform",{get:function(){return this._offsetTransform},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"totalHeight",{get:function(){return this._totalHeight},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"fromRow",{get:function(){return this._fromRow},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"toRow",{get:function(){return this._toRow},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"columnsLeftScroll",{get:function(){return-1*this._scrollHorizontalOffset},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"allSelected",{get:function(){return this._allSelected},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"indeterminate",{get:function(){return this._indeterminate},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"data",{get:function(){return this._data},set:function(t){var e=this;this._data=t,this._rowHeightCache=[],Promise.resolve().then((function(){e.refresh(),e._scrollableDiv.nativeElement.scrollTop=0}))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"virtualData",{get:function(){return this._virtualData},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"columns",{get:function(){var t=this;if(this._columns)return this._columns;if(this.hasData){this._columns=[];var e=this._data[0];return Object.keys(e).forEach((function(e){t._columns.find((function(t){return t.name===e}))||t._columns.push({name:e,label:e})})),this._columns}return[]},set:function(t){this._columns=t},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"resizableColumns",{get:function(){return this._resizableColumns},set:function(t){this._resizableColumns=d.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selectable",{get:function(){return this._selectable},set:function(t){this._selectable=d.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"clickable",{get:function(){return this._clickable},set:function(t){this._clickable=d.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"multiple",{get:function(){return this._multiple},set:function(t){this._multiple=d.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"sortable",{get:function(){return this._sortable},set:function(t){this._sortable=d.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"sortBy",{set:function(t){if(t){var e=this.columns.find((function(e){return e.name===t}));if(!e)throw new Error("[sortBy] must be a valid column name");this._sortBy=e}},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"sortByColumn",{get:function(){return this._sortBy},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"sortOrder",{set:function(t){var e=t?t.toUpperCase():"ASC";if("DESC"!==e&&"ASC"!==e)throw new Error("[sortOrder] must be empty, ASC or DESC");this._sortOrder="ASC"===e?x.Ascending:x.Descending},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"sortOrderEnum",{get:function(){return this._sortOrder},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hasData",{get:function(){return this._data&&this._data.length>0},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){var t=this;this._resizeSubs=this._onResize.asObservable().subscribe((function(){t._rows&&t._rows.toArray().forEach((function(e,i){t._rowHeightCache[t.fromRow+i]=e.height+1})),t._calculateWidths(),t._calculateVirtualRows()})),this._columnResizeSubs=this._onColumnResize.asObservable().pipe(u.debounceTime(0)).subscribe((function(e){t._columnClientX=e,t._calculateWidths(),t._changeDetectorRef.markForCheck()})),this._horizontalScrollSubs=this._onHorizontalScroll.asObservable().subscribe((function(e){t._scrollHorizontalOffset=e,t._changeDetectorRef.markForCheck()})),this._verticalScrollSubs=this._onVerticalScroll.asObservable().subscribe((function(e){t._scrollVerticalOffset=e,t._calculateVirtualRows(),t._changeDetectorRef.markForCheck()})),this._valueChangesSubs=this.valueChanges.subscribe((function(e){t.refresh()}))},n.prototype.ngAfterContentInit=function(){var t,e;try{for(var i=g(this._templates.toArray()),n=i.next();!n.done;n=i.next()){var r=n.value;this._templateMap.set(r.tdDataTableTemplate,r.templateRef)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}},n.prototype.ngAfterContentChecked=function(){var t=this;if(this._scrollVerticalOffset-this._scrollableDiv.nativeElement.scrollTop>5&&this._onVerticalScroll.next(0),this._elementRef.nativeElement){var e=this._elementRef.nativeElement.getBoundingClientRect().width;this._hostWidth!==e&&setTimeout((function(){t._hostWidth=e,t._onResize.next()}),0)}if(this._scrollableDiv.nativeElement){var i=this._scrollableDiv.nativeElement.getBoundingClientRect().height;this._hostHeight!==i&&(this._hostHeight=i,this._calculateVirtualRows(),this._changeDetectorRef.markForCheck())}},n.prototype.ngAfterViewInit=function(){var t=this;this._rowsChangedSubs=this._rows.changes.pipe(u.debounceTime(0)).subscribe((function(){t._onResize.next()})),this._calculateVirtualRows()},n.prototype.ngOnDestroy=function(){this._resizeSubs&&this._resizeSubs.unsubscribe(),this._columnResizeSubs&&this._columnResizeSubs.unsubscribe(),this._horizontalScrollSubs&&this._horizontalScrollSubs.unsubscribe(),this._verticalScrollSubs&&this._verticalScrollSubs.unsubscribe(),this._rowsChangedSubs&&this._rowsChangedSubs.unsubscribe(),this._valueChangesSubs&&this._valueChangesSubs.unsubscribe()},n.prototype.handleScroll=function(t){var e=t.target;if(e){var i=e.scrollLeft;this._scrollHorizontalOffset!==i&&this._onHorizontalScroll.next(i);var n=e.scrollTop;this._scrollVerticalOffset!==n&&this._onVerticalScroll.next(n)}},n.prototype.getColumnWidth=function(t){if(this._widths[t])return this._widths[t].value},n.prototype.getCellValue=function(t,e){return void 0===t.nested||t.nested?this._getNestedValue(t.name,e):e[t.name]},n.prototype.getTemplateRef=function(t){return this._templateMap.get(t)},n.prototype.clearModel=function(){this.value.splice(0,this.value.length)},n.prototype.refresh=function(){this._calculateVirtualRows(),this._calculateWidths(),this._calculateCheckboxState(),this._changeDetectorRef.markForCheck()},n.prototype._selectAll=function(t){var e=this,i=[];t?(this._data.forEach((function(t){e.isRowSelected(t)||(e.value.push(t),i.push(t))})),this._allSelected=!0,this._indeterminate=!0):(this._data.forEach((function(t){if(e.isRowSelected(t)){i.push(t);var n=e.value.filter((function(i){return e.compareWith(t,i)}))[0],r=e.value.indexOf(n);r>-1&&e.value.splice(r,1)}})),this._allSelected=!1,this._indeterminate=!1),this.selectAll.emit({rows:i,selected:t}),this.onChange(this.value)},n.prototype.isRowSelected=function(t){var e=this;return!!this.value&&this.value.filter((function(i){return e.compareWith(t,i)})).length>0},n.prototype.select=function(t,e,i){if(this.selectable){this.blockEvent(e);var n=e;if(this.multiple&&n&&n.shiftKey&&this._lastSelectedIndex>-1){var r=i,a=this._lastSelectedIndex;if(i>this._lastSelectedIndex&&(r=this._lastSelectedIndex,a=i),this._firstSelectedIndex>=i&&this._lastSelectedIndex>this._firstSelectedIndex||this._firstSelectedIndex<=i&&this._lastSelectedIndex<this._firstSelectedIndex)for(var o=r;o<=a;o++)this._firstSelectedIndex!==o&&this._doSelection(this._data[o],o);else if(this._firstSelectedIndex>i||this._firstSelectedIndex<i){this._firstSelectedIndex>i?a--:this._firstSelectedIndex<i&&r++;for(o=r;o<=a;o++){var l=this.isRowSelected(this._data[o]);this._firstCheckboxValue&&!l||!this._firstCheckboxValue&&l?this._doSelection(this._data[o],o):this._shiftPreviouslyPressed&&(i>=this._firstSelectedIndex&&i<=this._lastSelectedIndex||i<=this._firstSelectedIndex&&i>=this._lastSelectedIndex)&&this._doSelection(this._data[o],o)}}this._shiftPreviouslyPressed=!0}else n&&!n.shiftKey&&(this._firstCheckboxValue=this._doSelection(t,i),this._shiftPreviouslyPressed=!1,this._firstSelectedIndex=i);this._lastSelectedIndex=i}},n.prototype.disableTextSelection=function(){this._document&&(this._document.onselectstart=function(){return!1})},n.prototype.enableTextSelection=function(){this._document&&(this._document.onselectstart=void 0)},n.prototype.handleRowClick=function(t,e,i){if(this.clickable){var n=i.srcElement||i.currentTarget,r=i.target;null===n.getAttribute("stopRowClick")&&"mat-pseudo-checkbox"!==r.tagName.toLowerCase()&&this.rowClick.emit({row:t,index:e})}},n.prototype.handleSort=function(t){this._sortBy===t?this._sortOrder=this._sortOrder===x.Ascending?x.Descending:x.Ascending:(this._sortBy=t,this._sortOrder=x.Ascending),this.sortChange.next({name:this._sortBy.name,order:this._sortOrder})},n.prototype._rowKeyup=function(t,e,i){switch(t.keyCode){case c.ENTER:case c.SPACE:this.selectable&&this._doSelection(this._data[this.fromRow+i],this.fromRow+i);break;case c.UP_ARROW:i>0&&this._rows.toArray()[i-1].focus(),this.blockEvent(t),this.selectable&&this.multiple&&t.shiftKey&&this.fromRow+i>=0&&this._doSelection(this._data[this.fromRow+i],this.fromRow+i);break;case c.DOWN_ARROW:i<this._rows.toArray().length-1&&this._rows.toArray()[i+1].focus(),this.blockEvent(t),this.selectable&&this.multiple&&t.shiftKey&&this.fromRow+i<this._data.length&&this._doSelection(this._data[this.fromRow+i],this.fromRow+i)}},n.prototype._handleStartColumnDrag=function(t,e){this._columnClientX=e.clientX,this._resizingColumn=t},n.prototype._handleColumnDrag=function(t){if(void 0!==this._resizingColumn&&t.clientX>0){var e=t.clientX;if(e>0&&this._columnClientX>0&&e-this._columnClientX!=0){var i=this._widths[this._resizingColumn].value+(e-this._columnClientX);i<this._colElements.toArray()[this._resizingColumn].projectedWidth&&(i=this._colElements.toArray()[this._resizingColumn].projectedWidth),this.columns[this._resizingColumn].width=i,this._onColumnResize.next(e)}}},n.prototype._handleEndColumnDrag=function(){this._columnClientX=void 0,this._resizingColumn=void 0},n.prototype.blockEvent=function(t){t.preventDefault()},n.prototype._getNestedValue=function(t,e){if(!(e instanceof Object&&t))return e;if(t.indexOf(".")>-1){var i=t.split(/\.(.+)/,2);return this._getNestedValue(i[1],e[i[0]])}return e[t]},n.prototype._doSelection=function(t,e){var i=this,n=this.isRowSelected(t);if(n){t=this.value.filter((function(e){return i.compareWith(t,e)}))[0];var r=this.value.indexOf(t);r>-1&&this.value.splice(r,1)}else this._multiple||this.clearModel(),this.value.push(t);return this._calculateCheckboxState(),this.rowSelect.emit({row:t,index:e,selected:!n}),this.onChange(this.value),!n},n.prototype._calculateCheckboxState=function(){var t,e,i=this;if(this._data){this._allSelected=void 0===this._data.find((function(t){return!i.isRowSelected(t)})),this._indeterminate=!1;try{for(var n=g(this._data),r=n.next();!r.done;r=n.next()){var a=r.value;if(this.isRowSelected(a)){this._indeterminate=!0;break}}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}},n.prototype._calculateWidths=function(){var t=this;this._colElements&&this._colElements.length&&(this._widths=[],this._colElements.forEach((function(e,i){t._adjustColumnWidth(i,t._calculateWidth())})),this._adjustColumnWidhts(),this._changeDetectorRef.markForCheck())},n.prototype._adjustColumnWidhts=function(){var t=this,e=0,i=this._widths.filter((function(i,n){return!t.columns[n].hidden&&((i.limit||i.max||i.min)&&(e+=i.value),!i.limit&&!i.max&&!i.min)})).length,n=0;if(e<this.hostWidth&&(n=this.hostWidth-e),i&&n){var r=Math.floor(n/i),a=0;this._widths.forEach((function(e){(t._widths[e.index].max&&t._widths[e.index].value>r||t._widths[e.index].min&&t._widths[e.index].value<r||!t._widths[e.index].limit)&&(t._adjustColumnWidth(e.index,r),a++)}));var o=this._widths.filter((function(t){return!t.limit&&!t.max})).length;o!==a&&o!==i&&this._adjustColumnWidhts()}},n.prototype._adjustColumnWidth=function(t,e){this._widths[t]={value:e,index:t,limit:!1,min:!1,max:!1};var i=!1;if(this.columns[t])if("object"==typeof this.columns[t].width){var n=this.columns[t].width;i=n&&!!n.min,n&&n.min>=this._widths[t].value?(this._widths[t].value=n.min,this._widths[t].min=!0):n&&n.max<=this._widths[t].value&&(this._widths[t].value=n.max,this._widths[t].max=!0)}else"number"==typeof this.columns[t].width&&(this._widths[t].value=this.columns[t].width,i=this._widths[t].limit=!0);!i&&this._widths[t].value<this._colElements.toArray()[t].projectedWidth&&(this._widths[t].value=this._colElements.toArray()[t].projectedWidth,this._widths[t].min=!0,this._widths[t].limit=!1)},n.prototype._calculateWidth=function(){var t=this.columns.filter((function(t){return!t.hidden}));return Math.floor(this.hostWidth/t.length)},n.prototype._calculateVirtualRows=function(){var t=this,e=0;if(this._data){this._totalHeight=0;var i=0;this._data.forEach((function(n,r){t._rowHeightCache[r]||(t._rowHeightCache[r]=t._rowHeightCache[0]||48),i+=t._rowHeightCache[r],t._scrollVerticalOffset-i>0&&e++})),this._totalHeight=i;var n=e-2;this._fromRow=n>0?n:0;for(var r=this._hostHeight,a=0;r>0;)r-=this._rowHeightCache[this.fromRow+a],a++;var o=a-1+4+this.fromRow;isFinite(o)&&o>this._data.length?o=this._data.length:isFinite(o)||(o=2),this._toRow=o}else this._totalHeight=0,this._fromRow=0,this._toRow=0;var l=0;if(e>2)for(a=0;a<this.fromRow;a++)l+=this._rowHeightCache[a];this._offsetTransform=this._domSanitizer.bypassSecurityTrustStyle("translateY("+(l-this.totalHeight)+"px)"),this._data&&(this._virtualData=this.data.slice(this.fromRow,this.toRow)),Promise.resolve().then((function(){t._changeDetectorRef.markForCheck()}))},n.decorators=[{type:e.Component,args:[{providers:[{provide:s.NG_VALUE_ACCESSOR,useExisting:e.forwardRef((function(){return n})),multi:!0}],selector:"td-data-table",template:'<table td-data-table [style.left.px]="columnsLeftScroll" [class.mat-selectable]="selectable">\n <thead class="td-data-table-head" (dragover)="_handleColumnDrag($event)">\n <tr td-data-table-column-row>\n <th td-data-table-column class="mat-checkbox-column" *ngIf="selectable">\n <mat-checkbox\n #checkBoxAll\n *ngIf="multiple"\n [disabled]="!hasData"\n [indeterminate]="indeterminate && !allSelected && hasData"\n [checked]="allSelected && hasData"\n (click)="blockEvent($event); _selectAll(!checkBoxAll.checked)"\n (keyup.enter)="_selectAll(!checkBoxAll.checked)"\n (keyup.space)="_selectAll(!checkBoxAll.checked)"\n (keydown.space)="blockEvent($event)"\n ></mat-checkbox>\n </th>\n <th\n td-data-table-column\n #columnElement\n *ngFor="let column of columns; let i = index; let last = last"\n [style.min-width.px]="getColumnWidth(i)"\n [style.max-width.px]="getColumnWidth(i)"\n [name]="column.name"\n [numeric]="column.numeric"\n [active]="(column.sortable || sortable) && column === sortByColumn"\n [sortable]="column.sortable || (sortable && column.sortable !== false)"\n [sortOrder]="sortOrderEnum"\n [hidden]="column.hidden"\n [isColumnSortOrder]="!!column.columnSortOrder"\n (sortChange)="handleSort(column)"\n >\n <span [matTooltip]="column.tooltip" [class]="column.columnSortOrder ? \'td-table-header-label\' : \'\'">\n {{ column.label }}\n <span *ngIf="column.columnSortOrder" class="td-data-table-sort-badge">\n {{ column.columnSortOrder || \'\' }}\n\n <span\n td-column-resizer\n *ngIf="resizableColumns"\n draggable="true"\n class="td-data-table-column-resizer"\n [class.td-resizing]="i === resizingColumn"\n (mousedown)="_handleStartColumnDrag(i, $event)"\n (dragstart)="$event?.dataTransfer?.setData(\'text\', \'\')"\n (drag)="_handleColumnDrag($event)"\n (dragend)="_handleEndColumnDrag()"\n (mouseup)="_handleEndColumnDrag()"\n >\n <span class="td-data-table-column-separator"></span>\n </span>\n </span>\n </span>\n </th>\n </tr>\n </thead>\n</table>\n<div #scrollableDiv class="td-data-table-scrollable" (scroll)="handleScroll($event)">\n <div [style.height.px]="totalHeight"></div>\n <table\n td-data-table\n [style.transform]="offsetTransform"\n [style.position]="\'absolute\'"\n [class.mat-selectable]="selectable"\n [class.mat-clickable]="clickable"\n >\n <tbody class="td-data-table-body">\n <tr\n td-data-table-row\n #dtRow\n [tabIndex]="selectable ? 0 : -1"\n [selected]="(clickable || selectable) && isRowSelected(row)"\n *ngFor="let row of virtualData; let rowIndex = index"\n (click)="handleRowClick(row, fromRow + rowIndex, $event)"\n (keyup)="selectable && _rowKeyup($event, row, rowIndex)"\n (keydown.space)="blockEvent($event)"\n (keydown.shift.space)="blockEvent($event)"\n (keydown.shift)="disableTextSelection()"\n (keyup.shift)="enableTextSelection()"\n >\n <td td-data-table-cell class="mat-checkbox-cell" *ngIf="selectable">\n <mat-pseudo-checkbox\n [state]="dtRow.selected ? \'checked\' : \'unchecked\'"\n (mousedown)="disableTextSelection()"\n (mouseup)="enableTextSelection()"\n stopRowClick\n (click)="select(row, $event, fromRow + rowIndex)"\n ></mat-pseudo-checkbox>\n </td>\n <td\n td-data-table-cell\n [numeric]="column.numeric"\n [hidden]="column.hidden"\n *ngFor="let column of columns; let i = index"\n [style.min-width.px]="getColumnWidth(i)"\n [style.max-width.px]="getColumnWidth(i)"\n >\n <span *ngIf="!getTemplateRef(column.name)">\n {{ column.format ? column.format(getCellValue(column, row)) : getCellValue(column, row) }}\n </span>\n <ng-template\n *ngIf="getTemplateRef(column.name)"\n [ngTemplateOutlet]="getTemplateRef(column.name)"\n [ngTemplateOutletContext]="{\n value: getCellValue(column, row),\n row: row,\n column: column.name,\n index: rowIndex\n }"\n ></ng-template>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n<ng-content></ng-content>\n',inputs:["value"],changeDetection:e.ChangeDetectionStrategy.OnPush,styles:[".td-data-table-sort-badge{height:16px;width:16px;border-radius:50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin-left:4px}:host{display:block;overflow:hidden}:host .td-data-table-scrollable{position:relative;overflow:auto;height:calc(100% - 56px)}.td-table-header-label{display:-ms-flexbox;display:flex}.td-data-table-column-resizer{right:0;width:6px;cursor:col-resize}.td-data-table-column-resizer,.td-data-table-column-resizer .td-data-table-column-separator{position:absolute;height:100%;top:0}.td-data-table-column-resizer .td-data-table-column-separator{left:2px}.td-data-table-column-resizer.td-resizing{cursor:-webkit-grabbing}table.td-data-table{width:auto!important}table.td-data-table.mat-selectable tbody>tr.td-data-table-row{transition:background-color .2s}table.td-data-table.mat-selectable .td-data-table-column:first-child>.td-data-table-column-content-wrapper,table.td-data-table.mat-selectable td.td-data-table-cell:first-child>.td-data-table-column-content-wrapper,table.td-data-table.mat-selectable th.td-data-table-column:first-child>.td-data-table-column-content-wrapper{width:18px;min-width:18px;padding:0 24px}table.td-data-table.mat-selectable .td-data-table-column:nth-child(2)>.td-data-table-column-content-wrapper,table.td-data-table.mat-selectable td.td-data-table-cell:nth-child(2)>.td-data-table-column-content-wrapper,table.td-data-table.mat-selectable th.td-data-table-column:nth-child(2)>.td-data-table-column-content-wrapper{padding-left:0}[dir=rtl] table.td-data-table.mat-selectable .td-data-table-column:nth-child(2)>.td-data-table-column-content-wrapper,[dir=rtl] table.td-data-table.mat-selectable td.td-data-table-cell:nth-child(2)>.td-data-table-column-content-wrapper,[dir=rtl] table.td-data-table.mat-selectable th.td-data-table-column:nth-child(2)>.td-data-table-column-content-wrapper{padding-right:0;padding-left:28px}table.td-data-table td.mat-checkbox-cell,table.td-data-table th.mat-checkbox-column{min-width:42px;width:42px;font-size:0!important}table.td-data-table td.mat-checkbox-cell mat-pseudo-checkbox,table.td-data-table th.mat-checkbox-column mat-pseudo-checkbox{width:18px;height:18px}::ng-deep table.td-data-table td.mat-checkbox-cell mat-pseudo-checkbox.mat-pseudo-checkbox-checked::after,::ng-deep table.td-data-table th.mat-checkbox-column mat-pseudo-checkbox.mat-pseudo-checkbox-checked::after{width:11px!important;height:4px!important}table.td-data-table td.mat-checkbox-cell mat-checkbox ::ng-deep .mat-checkbox-inner-container,table.td-data-table th.mat-checkbox-column mat-checkbox ::ng-deep .mat-checkbox-inner-container{width:18px;height:18px;margin:0}"]}]}],n.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Optional},{type:e.Inject,args:[i.DOCUMENT]}]},{type:e.ElementRef},{type:l.DomSanitizer},{type:e.ChangeDetectorRef}]},n.propDecorators={_templates:[{type:e.ContentChildren,args:[v,{descendants:!0}]}],_scrollableDiv:[{type:e.ViewChild,args:["scrollableDiv",{static:!0}]}],_colElements:[{type:e.ViewChildren,args:["columnElement"]}],_rows:[{type:e.ViewChildren,args:[y]}],data:[{type:e.Input,args:["data"]}],columns:[{type:e.Input,args:["columns"]}],resizableColumns:[{type:e.Input,args:["resizableColumns"]}],selectable:[{type:e.Input,args:["selectable"]}],clickable:[{type:e.Input,args:["clickable"]}],multiple:[{type:e.Input,args:["multiple"]}],sortable:[{type:e.Input,args:["sortable"]}],sortBy:[{type:e.Input,args:["sortBy"]}],sortOrder:[{type:e.Input,args:["sortOrder"]}],sortChange:[{type:e.Output}],rowSelect:[{type:e.Output}],rowClick:[{type:e.Output}],selectAll:[{type:e.Output}],compareWith:[{type:e.Input}]},n}(C);var S=function(){function t(t,i){this._elementRef=t,this._renderer=i,this._sortOrder=x.Ascending,this.name="",this.sortable=!1,this.active=!1,this.numeric=!1,this.isColumnSortOrder=!1,this.sortChange=new e.EventEmitter,this._renderer.addClass(this._elementRef.nativeElement,"td-data-table-column")}return Object.defineProperty(t.prototype,"projectedWidth",{get:function(){return this._columnContent&&this._columnContent.nativeElement?this._columnContent.nativeElement.getBoundingClientRect().width:100},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortOrder",{set:function(t){var e=t?t.toUpperCase():"ASC";if("DESC"!==e&&"ASC"!==e)throw new Error("[sortOrder] must be empty, ASC or DESC");this._sortOrder="ASC"===e?x.Ascending:x.Descending},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bindClickable",{get:function(){return this.sortable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bingSortable",{get:function(){return this.sortable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bindActive",{get:function(){return this.active},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bindNumeric",{get:function(){return this.numeric},enumerable:!0,configurable:!0}),t.prototype.handleClick=function(){this.sortable&&this.sortChange.emit({name:this.name,order:this._sortOrder})},t.prototype.isAscending=function(){return this._sortOrder===x.Ascending},t.prototype.isDescending=function(){return this._sortOrder===x.Descending},t.decorators=[{type:e.Component,args:[{selector:"th[td-data-table-column]",template:'<span #columnContent class="td-data-table-heading">\n <mat-icon\n class="td-data-table-sort-icon"\n *ngIf="sortable && numeric"\n [class.mat-asc]="isAscending()"\n [class.mat-desc]="isDescending()"\n >\n arrow_upward\n </mat-icon>\n <span>\n <ng-content></ng-content>\n </span>\n <mat-icon\n class="td-data-table-sort-icon"\n *ngIf="sortable && !numeric"\n [class.mat-asc]="isAscending()"\n [class.mat-desc]="isDescending()"\n [class.display-numeric]="isColumnSortOrder"\n >\n arrow_upward\n </mat-icon>\n</span>\n<ng-content select="[td-column-resizer]"></ng-content>\n',styles:[":host{white-space:nowrap;position:relative;padding:0;vertical-align:middle;text-align:left}:host>.td-data-table-heading{padding:0 28px}:host:first-child>.td-data-table-heading{padding-left:24px;padding-right:initial}html[dir=rtl] :host:first-child>.td-data-table-heading{padding-left:initial;unicode-bidi:embed;padding-right:24px;unicode-bidi:embed}body[dir=rtl] :host:first-child>.td-data-table-heading{padding-left:initial;unicode-bidi:embed;padding-right:24px;unicode-bidi:embed}[dir=rtl] :host:first-child>.td-data-table-heading{padding-left:initial;unicode-bidi:embed;padding-right:24px;unicode-bidi:embed}:host:first-child>.td-data-table-heading bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host:first-child>.td-data-table-heading bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}:host:last-child>.td-data-table-heading{padding-left:28px;padding-right:24px}html[dir=rtl] :host:last-child>.td-data-table-heading{padding-left:24px;unicode-bidi:embed;padding-right:28px;unicode-bidi:embed}body[dir=rtl] :host:last-child>.td-data-table-heading{padding-left:24px;unicode-bidi:embed;padding-right:28px;unicode-bidi:embed}[dir=rtl] :host:last-child>.td-data-table-heading{padding-left:24px;unicode-bidi:embed;padding-right:28px;unicode-bidi:embed}:host:last-child>.td-data-table-heading bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host:last-child>.td-data-table-heading bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}:host mat-icon{height:16px;width:16px;font-size:16px!important;line-height:16px!important}:host mat-icon.td-data-table-sort-icon{opacity:0;transition:transform .25s;position:absolute;top:0}:host mat-icon.td-data-table-sort-icon.display-numeric{right:0}:host mat-icon.td-data-table-sort-icon.mat-asc{-ms-transform:rotate(0);transform:rotate(0)}:host mat-icon.td-data-table-sort-icon.mat-desc{-ms-transform:rotate(180deg);transform:rotate(180deg)}:host.mat-active.mat-sortable mat-icon.td-data-table-sort-icon,:host:hover.mat-sortable mat-icon.td-data-table-sort-icon{opacity:1}html[dir=rtl] :host{text-align:right;unicode-bidi:embed}body[dir=rtl] :host{text-align:right;unicode-bidi:embed}[dir=rtl] :host{text-align:right;unicode-bidi:embed}:host bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}:host>*{vertical-align:middle}:host.mat-clickable{cursor:pointer}:host.mat-clickable:focus{outline:0}:host .td-data-table-heading{display:inline-block;position:relative}:host.mat-numeric{text-align:right}html[dir=rtl] :host.mat-numeric{text-align:left;unicode-bidi:embed}body[dir=rtl] :host.mat-numeric{text-align:left;unicode-bidi:embed}[dir=rtl] :host.mat-numeric{text-align:left;unicode-bidi:embed}:host.mat-numeric bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host.mat-numeric bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}:host.mat-numeric mat-icon.td-data-table-sort-icon{margin-left:-22px;margin-right:initial}html[dir=rtl] :host.mat-numeric mat-icon.td-data-table-sort-icon{margin-left:initial;unicode-bidi:embed;margin-right:-22px;unicode-bidi:embed}body[dir=rtl] :host.mat-numeric mat-icon.td-data-table-sort-icon{margin-left:initial;unicode-bidi:embed;margin-right:-22px;unicode-bidi:embed}[dir=rtl] :host.mat-numeric mat-icon.td-data-table-sort-icon{margin-left:initial;unicode-bidi:embed;margin-right:-22px;unicode-bidi:embed}:host.mat-numeric mat-icon.td-data-table-sort-icon bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host.mat-numeric mat-icon.td-data-table-sort-icon bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}:host:not(.mat-numeric) mat-icon.td-data-table-sort-icon{margin-left:6px;margin-right:initial}html[dir=rtl] :host:not(.mat-numeric) mat-icon.td-data-table-sort-icon{margin-left:initial;unicode-bidi:embed;margin-right:6px;unicode-bidi:embed}body[dir=rtl] :host:not(.mat-numeric) mat-icon.td-data-table-sort-icon{margin-left:initial;unicode-bidi:embed;margin-right:6px;unicode-bidi:embed}[dir=rtl] :host:not(.mat-numeric) mat-icon.td-data-table-sort-icon{margin-left:initial;unicode-bidi:embed;margin-right:6px;unicode-bidi:embed}:host:not(.mat-numeric) mat-icon.td-data-table-sort-icon bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host:not(.mat-numeric) mat-icon.td-data-table-sort-icon bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}"]}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2}]},t.propDecorators={_columnContent:[{type:e.ViewChild,args:["columnContent",{read:e.ElementRef,static:!0}]}],name:[{type:e.Input}],sortable:[{type:e.Input}],active:[{type:e.Input}],numeric:[{type:e.Input}],isColumnSortOrder:[{type:e.Input}],sortOrder:[{type:e.Input,args:["sortOrder"]}],sortChange:[{type:e.Output}],bindClickable:[{type:e.HostBinding,args:["class.mat-clickable"]}],bingSortable:[{type:e.HostBinding,args:["class.mat-sortable"]}],bindActive:[{type:e.HostBinding,args:["class.mat-active"]}],bindNumeric:[{type:e.HostBinding,args:["class.mat-numeric"]}],handleClick:[{type:e.HostListener,args:["click"]}]},t}();var R=function(){function t(t,e){this._elementRef=t,this._renderer=e,this.numeric=!1,this._renderer.addClass(this._elementRef.nativeElement,"td-data-table-cell")}return Object.defineProperty(t.prototype,"align",{get:function(){return this._align},set:function(t){this._align=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bindNumeric",{get:function(){return this.numeric},enumerable:!0,configurable:!0}),t.decorators=[{type:e.Component,args:[{selector:"td[td-data-table-cell]",template:'<div\n class="td-data-table-cell-content-wrapper"\n [class.td-data-table-cell-numeric]="numeric"\n [class.td-data-table-cell-align-center]="align === \'center\'"\n [class.td-data-table-cell-align-end]="align === \'end\'"\n [class.td-data-table-cell-align-start]="align === \'start\'"\n>\n <ng-content></ng-content>\n</div>\n',styles:[":host{vertical-align:middle;text-align:left;padding:0}html[dir=rtl] :host{text-align:right;unicode-bidi:embed}body[dir=rtl] :host{text-align:right;unicode-bidi:embed}[dir=rtl] :host{text-align:right;unicode-bidi:embed}:host bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}:host>.td-data-table-cell-content-wrapper{padding:0 28px;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:start;justify-content:flex-start}:host>.td-data-table-cell-content-wrapper.td-data-table-cell-numeric{-ms-flex-pack:end;justify-content:flex-end}:host>.td-data-table-cell-content-wrapper.td-data-table-cell-align-start{-ms-flex-pack:start;justify-content:flex-start}:host>.td-data-table-cell-content-wrapper.td-data-table-cell-align-end{-ms-flex-pack:end;justify-content:flex-end}:host>.td-data-table-cell-content-wrapper.td-data-table-cell-align-center{-ms-flex-pack:center;justify-content:center}:host:first-child>.td-data-table-cell-content-wrapper{padding-left:24px;padding-right:initial}html[dir=rtl] :host:first-child>.td-data-table-cell-content-wrapper{padding-left:initial;unicode-bidi:embed;padding-right:24px;unicode-bidi:embed}body[dir=rtl] :host:first-child>.td-data-table-cell-content-wrapper{padding-left:initial;unicode-bidi:embed;padding-right:24px;unicode-bidi:embed}[dir=rtl] :host:first-child>.td-data-table-cell-content-wrapper{padding-left:initial;unicode-bidi:embed;padding-right:24px;unicode-bidi:embed}:host:first-child>.td-data-table-cell-content-wrapper bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host:first-child>.td-data-table-cell-content-wrapper bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}:host:last-child>.td-data-table-cell-content-wrapper{padding-left:28px;padding-right:24px}html[dir=rtl] :host:last-child>.td-data-table-cell-content-wrapper{padding-left:24px;unicode-bidi:embed;padding-right:28px;unicode-bidi:embed}body[dir=rtl] :host:last-child>.td-data-table-cell-content-wrapper{padding-left:24px;unicode-bidi:embed;padding-right:28px;unicode-bidi:embed}[dir=rtl] :host:last-child>.td-data-table-cell-content-wrapper{padding-left:24px;unicode-bidi:embed;padding-right:28px;unicode-bidi:embed}:host:last-child>.td-data-table-cell-content-wrapper bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host:last-child>.td-data-table-cell-content-wrapper bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}:host>*{vertical-align:middle}:host.mat-clickable{cursor:pointer}:host.mat-clickable:focus{outline:0}:host.mat-numeric{text-align:right}html[dir=rtl] :host.mat-numeric{text-align:left;unicode-bidi:embed}body[dir=rtl] :host.mat-numeric{text-align:left;unicode-bidi:embed}[dir=rtl] :host.mat-numeric{text-align:left;unicode-bidi:embed}:host.mat-numeric bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host.mat-numeric bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}"]}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2}]},t.propDecorators={numeric:[{type:e.Input}],align:[{type:e.Input}],bindNumeric:[{type:e.HostBinding,args:["class.mat-numeric"]}]},t}();var O=function(){function t(t,e){this._elementRef=t,this._renderer=e,this._renderer.addClass(this._elementRef.nativeElement,"td-data-table")}return t.decorators=[{type:e.Component,args:[{selector:"table[td-data-table]",template:"<ng-content></ng-content>\n",styles:[":host{width:100%;position:relative;border-spacing:0;overflow:hidden;border-collapse:collapse}"]}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2}]},t}();var E=function(){function t(){}return t.prototype.filterData=function(t,e,i,n){void 0===i&&(i=!1);var r=e?i?e.toLowerCase():e:"";return r&&(t=t.filter((function(t){return void 0!==Object.keys(t).find((function(e){if(!n||-1===n.indexOf(e)){var a=""+t[e];return(i?a.toLowerCase():a).indexOf(r)>-1}}))}))),t},t.prototype.sortData=function(t,e,i){return void 0===i&&(i=x.Ascending),e&&(t=Array.from(t)).sort((function(t,n){var r=t[e],a=n[e],o=0;return Number.isNaN(Number.parseFloat(r))||Number.isNaN(Number.parseFloat(a))?r<a?o=-1:r>a&&(o=1):o=Number.parseFloat(r)-Number.parseFloat(a),o*(i===x.Descending?-1:1)})),t},t.prototype.pageData=function(t,e,i){return e>=1&&(t=t.slice(e-1,i)),t},t.decorators=[{type:e.Injectable}],t}(),D=[k,v,S,R,y,_,O],j=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[i.CommonModule,n.MatCheckboxModule,r.MatTooltipModule,a.MatIconModule,o.MatPseudoCheckboxModule],declarations:[D],exports:[D],providers:[E]}]}],t}();t.CovalentDataTableModule=j,t.TdDataTableBase=w,t.TdDataTableCellComponent=R,t.TdDataTableColumnComponent=S,t.TdDataTableColumnRowComponent=_,t.TdDataTableComponent=k,t.TdDataTableRowComponent=y,t.TdDataTableService=E,t.TdDataTableSortingOrder=x,t.TdDataTableTableComponent=O,t.TdDataTableTemplateDirective=v,t._TdDataTableMixinBase=C,Object.defineProperty(t,"__esModule",{value:!0})}));
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
+ PERFORMANCE OF THIS SOFTWARE.
15
+ ***************************************************************************** */var p=function(t,e){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)};function f(t,e){function i(){this.constructor=t}p(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}Object.create;function g(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}Object.create;var _=function(t,e){this._elementRef=t,this._renderer=e,this._renderer.addClass(this._elementRef.nativeElement,"td-data-table-column-row")};_.decorators=[{type:e.Component,args:[{selector:"tr[td-data-table-column-row]",template:"<ng-content></ng-content>\n",styles:[":host{border-bottom-style:solid;border-bottom-width:1px}:host.td-data-table-row{height:48px}:host.td-data-table-column-row{height:56px}"]}]}],_.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2}]};var y=function(){function t(t,e){this._elementRef=t,this._renderer=e,this._selected=!1,this._renderer.addClass(this._elementRef.nativeElement,"td-data-table-row")}return Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){t?this._renderer.addClass(this._elementRef.nativeElement,"td-selected"):this._renderer.removeClass(this._elementRef.nativeElement,"td-selected"),this._selected=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){var t=48;return this._elementRef.nativeElement&&(t=this._elementRef.nativeElement.getBoundingClientRect().height),t},enumerable:!1,configurable:!0}),t.prototype.clickListener=function(){this.focus()},t.prototype.focus=function(){this._elementRef.nativeElement.focus()},t}();y.decorators=[{type:e.Component,args:[{selector:"tr[td-data-table-row]",template:"<ng-content></ng-content>\n",styles:[":host{border-bottom-style:solid;border-bottom-width:1px}:host.td-data-table-row{height:48px}:host.td-data-table-column-row{height:56px}"]}]}],y.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2}]},y.propDecorators={selected:[{type:e.Input,args:["selected"]}],clickListener:[{type:e.HostListener,args:["click"]}]};var v=function(t){function e(e,i){return t.call(this,e,i)||this}return f(e,t),e}(m.TemplatePortalDirective);v.decorators=[{type:e.Directive,args:[{selector:"[tdDataTableTemplate]ng-template"}]}],v.ctorParameters=function(){return[{type:e.TemplateRef},{type:e.ViewContainerRef}]},v.propDecorators={tdDataTableTemplate:[{type:e.Input}]};var w={Ascending:"ASC",Descending:"DESC"};var x=function(t){this._changeDetectorRef=t};var C=b.mixinControlValueAccessor(x,[]),k=function(t){function i(i,n,r,a){var o=t.call(this,a)||this;return o._document=i,o._elementRef=n,o._domSanitizer=r,o._hostWidth=0,o._resizableColumns=!1,o._columnClientX=0,o._onColumnResize=new h.Subject,o._widths=[],o._onResize=new h.Subject,o._scrollHorizontalOffset=0,o._onHorizontalScroll=new h.Subject,o._onVerticalScroll=new h.Subject,o._rowHeightCache=[],o._totalHeight=0,o._hostHeight=0,o._scrollVerticalOffset=0,o._fromRow=0,o._toRow=0,o._selectable=!1,o._clickable=!1,o._multiple=!0,o._allSelected=!1,o._indeterminate=!1,o._sortable=!1,o._sortOrder=w.Ascending,o._shiftPreviouslyPressed=!1,o._lastSelectedIndex=-1,o._firstSelectedIndex=-1,o._firstCheckboxValue=!1,o._templateMap=new Map,o.sortChange=new e.EventEmitter,o.rowSelect=new e.EventEmitter,o.rowClick=new e.EventEmitter,o.selectAll=new e.EventEmitter,o.compareWith=function(t,e){return t===e},o}return f(i,t),Object.defineProperty(i.prototype,"resizingColumn",{get:function(){return this._resizingColumn},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"hostWidth",{get:function(){return this.selectable?this._hostWidth-42:this._hostWidth},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"offsetTransform",{get:function(){return this._offsetTransform},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"totalHeight",{get:function(){return this._totalHeight},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"fromRow",{get:function(){return this._fromRow},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"toRow",{get:function(){return this._toRow},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"columnsLeftScroll",{get:function(){return-1*this._scrollHorizontalOffset},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"allSelected",{get:function(){return this._allSelected},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"indeterminate",{get:function(){return this._indeterminate},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"data",{get:function(){return this._data},set:function(t){var e=this;this._data=t,this._rowHeightCache=[],Promise.resolve().then((function(){e.refresh(),e._scrollableDiv.nativeElement.scrollTop=0}))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"virtualData",{get:function(){return this._virtualData},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"columns",{get:function(){var t=this;if(this._columns)return this._columns;if(this.hasData){this._columns=[];var e=this._data[0];return Object.keys(e).forEach((function(e){t._columns.find((function(t){return t.name===e}))||t._columns.push({name:e,label:e})})),this._columns}return[]},set:function(t){this._columns=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"resizableColumns",{get:function(){return this._resizableColumns},set:function(t){this._resizableColumns=d.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"selectable",{get:function(){return this._selectable},set:function(t){this._selectable=d.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"clickable",{get:function(){return this._clickable},set:function(t){this._clickable=d.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"multiple",{get:function(){return this._multiple},set:function(t){this._multiple=d.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"sortable",{get:function(){return this._sortable},set:function(t){this._sortable=d.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"sortBy",{set:function(t){if(t){var e=this.columns.find((function(e){return e.name===t}));if(!e)throw new Error("[sortBy] must be a valid column name");this._sortBy=e}},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"sortByColumn",{get:function(){return this._sortBy},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"sortOrder",{set:function(t){var e=t?t.toUpperCase():"ASC";if("DESC"!==e&&"ASC"!==e)throw new Error("[sortOrder] must be empty, ASC or DESC");this._sortOrder="ASC"===e?w.Ascending:w.Descending},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"sortOrderEnum",{get:function(){return this._sortOrder},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"hasData",{get:function(){return this._data&&this._data.length>0},enumerable:!1,configurable:!0}),i.prototype.ngOnInit=function(){var t=this;this._resizeSubs=this._onResize.asObservable().subscribe((function(){t._rows&&t._rows.toArray().forEach((function(e,i){t._rowHeightCache[t.fromRow+i]=e.height+1})),t._calculateWidths(),t._calculateVirtualRows()})),this._columnResizeSubs=this._onColumnResize.asObservable().pipe(u.debounceTime(0)).subscribe((function(e){t._columnClientX=e,t._calculateWidths(),t._changeDetectorRef.markForCheck()})),this._horizontalScrollSubs=this._onHorizontalScroll.asObservable().subscribe((function(e){t._scrollHorizontalOffset=e,t._changeDetectorRef.markForCheck()})),this._verticalScrollSubs=this._onVerticalScroll.asObservable().subscribe((function(e){t._scrollVerticalOffset=e,t._calculateVirtualRows(),t._changeDetectorRef.markForCheck()})),this._valueChangesSubs=this.valueChanges.subscribe((function(e){t.refresh()}))},i.prototype.ngAfterContentInit=function(){var t,e;try{for(var i=g(this._templates.toArray()),n=i.next();!n.done;n=i.next()){var r=n.value;this._templateMap.set(r.tdDataTableTemplate,r.templateRef)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}},i.prototype.ngAfterContentChecked=function(){var t=this;if(this._scrollVerticalOffset-this._scrollableDiv.nativeElement.scrollTop>5&&this._onVerticalScroll.next(0),this._elementRef.nativeElement){var e=this._elementRef.nativeElement.getBoundingClientRect().width;this._hostWidth!==e&&setTimeout((function(){t._hostWidth=e,t._onResize.next()}),0)}if(this._scrollableDiv.nativeElement){var i=this._scrollableDiv.nativeElement.getBoundingClientRect().height;this._hostHeight!==i&&(this._hostHeight=i,this._calculateVirtualRows(),this._changeDetectorRef.markForCheck())}},i.prototype.ngAfterViewInit=function(){var t=this;this._rowsChangedSubs=this._rows.changes.pipe(u.debounceTime(0)).subscribe((function(){t._onResize.next()})),this._calculateVirtualRows()},i.prototype.ngOnDestroy=function(){this._resizeSubs&&this._resizeSubs.unsubscribe(),this._columnResizeSubs&&this._columnResizeSubs.unsubscribe(),this._horizontalScrollSubs&&this._horizontalScrollSubs.unsubscribe(),this._verticalScrollSubs&&this._verticalScrollSubs.unsubscribe(),this._rowsChangedSubs&&this._rowsChangedSubs.unsubscribe(),this._valueChangesSubs&&this._valueChangesSubs.unsubscribe()},i.prototype.handleScroll=function(t){var e=t.target;if(e){var i=e.scrollLeft;this._scrollHorizontalOffset!==i&&this._onHorizontalScroll.next(i);var n=e.scrollTop;this._scrollVerticalOffset!==n&&this._onVerticalScroll.next(n)}},i.prototype.getColumnWidth=function(t){if(this._widths[t])return this._widths[t].value},i.prototype.getCellValue=function(t,e){return void 0===t.nested||t.nested?this._getNestedValue(t.name,e):e[t.name]},i.prototype.getTemplateRef=function(t){return this._templateMap.get(t)},i.prototype.clearModel=function(){this.value.splice(0,this.value.length)},i.prototype.refresh=function(){this._calculateVirtualRows(),this._calculateWidths(),this._calculateCheckboxState(),this._changeDetectorRef.markForCheck()},i.prototype._selectAll=function(t){var e=this,i=[];t?(this._data.forEach((function(t){e.isRowSelected(t)||(e.value.push(t),i.push(t))})),this._allSelected=!0,this._indeterminate=!0):(this._data.forEach((function(t){if(e.isRowSelected(t)){i.push(t);var n=e.value.filter((function(i){return e.compareWith(t,i)}))[0],r=e.value.indexOf(n);r>-1&&e.value.splice(r,1)}})),this._allSelected=!1,this._indeterminate=!1),this.selectAll.emit({rows:i,selected:t}),this.onChange(this.value)},i.prototype.isRowSelected=function(t){var e=this;return!!this.value&&this.value.filter((function(i){return e.compareWith(t,i)})).length>0},i.prototype.select=function(t,e,i){if(this.selectable){this.blockEvent(e);var n=e;if(this.multiple&&n&&n.shiftKey&&this._lastSelectedIndex>-1){var r=i,a=this._lastSelectedIndex;if(i>this._lastSelectedIndex&&(r=this._lastSelectedIndex,a=i),this._firstSelectedIndex>=i&&this._lastSelectedIndex>this._firstSelectedIndex||this._firstSelectedIndex<=i&&this._lastSelectedIndex<this._firstSelectedIndex)for(var o=r;o<=a;o++)this._firstSelectedIndex!==o&&this._doSelection(this._data[o],o);else if(this._firstSelectedIndex>i||this._firstSelectedIndex<i){this._firstSelectedIndex>i?a--:this._firstSelectedIndex<i&&r++;for(o=r;o<=a;o++){var l=this.isRowSelected(this._data[o]);(this._firstCheckboxValue&&!l||!this._firstCheckboxValue&&l||this._shiftPreviouslyPressed&&(i>=this._firstSelectedIndex&&i<=this._lastSelectedIndex||i<=this._firstSelectedIndex&&i>=this._lastSelectedIndex))&&this._doSelection(this._data[o],o)}}this._shiftPreviouslyPressed=!0}else n&&!n.shiftKey&&(this._firstCheckboxValue=this._doSelection(t,i),this._shiftPreviouslyPressed=!1,this._firstSelectedIndex=i);this._lastSelectedIndex=i}},i.prototype.disableTextSelection=function(){this._document&&(this._document.onselectstart=function(){return!1})},i.prototype.enableTextSelection=function(){this._document&&(this._document.onselectstart=void 0)},i.prototype.handleRowClick=function(t,e,i){if(this.clickable){var n=i.srcElement||i.currentTarget,r=i.target;null===n.getAttribute("stopRowClick")&&"mat-pseudo-checkbox"!==r.tagName.toLowerCase()&&this.rowClick.emit({row:t,index:e})}},i.prototype.handleSort=function(t){this._sortBy===t?this._sortOrder=this._sortOrder===w.Ascending?w.Descending:w.Ascending:(this._sortBy=t,this._sortOrder=w.Ascending),this.sortChange.next({name:this._sortBy.name,order:this._sortOrder})},i.prototype._rowKeyup=function(t,e,i){switch(t.keyCode){case c.ENTER:case c.SPACE:this.selectable&&this._doSelection(this._data[this.fromRow+i],this.fromRow+i);break;case c.UP_ARROW:i>0&&this._rows.toArray()[i-1].focus(),this.blockEvent(t),this.selectable&&this.multiple&&t.shiftKey&&this.fromRow+i>=0&&this._doSelection(this._data[this.fromRow+i],this.fromRow+i);break;case c.DOWN_ARROW:i<this._rows.toArray().length-1&&this._rows.toArray()[i+1].focus(),this.blockEvent(t),this.selectable&&this.multiple&&t.shiftKey&&this.fromRow+i<this._data.length&&this._doSelection(this._data[this.fromRow+i],this.fromRow+i)}},i.prototype._handleStartColumnDrag=function(t,e){this._columnClientX=e.clientX,this._resizingColumn=t},i.prototype._handleColumnDrag=function(t){if(void 0!==this._resizingColumn&&t.clientX>0){var e=t.clientX;if(e>0&&this._columnClientX>0&&e-this._columnClientX!=0){var i=this._widths[this._resizingColumn].value+(e-this._columnClientX);i<this._colElements.toArray()[this._resizingColumn].projectedWidth&&(i=this._colElements.toArray()[this._resizingColumn].projectedWidth),this.columns[this._resizingColumn].width=i,this._onColumnResize.next(e)}}},i.prototype._handleEndColumnDrag=function(){this._columnClientX=void 0,this._resizingColumn=void 0},i.prototype.blockEvent=function(t){t.preventDefault()},i.prototype._getNestedValue=function(t,e){if(!(e instanceof Object&&t))return e;if(t.indexOf(".")>-1){var i=t.split(/\.(.+)/,2);return this._getNestedValue(i[1],e[i[0]])}return e[t]},i.prototype._doSelection=function(t,e){var i=this,n=this.isRowSelected(t);if(n){t=this.value.filter((function(e){return i.compareWith(t,e)}))[0];var r=this.value.indexOf(t);r>-1&&this.value.splice(r,1)}else this._multiple||this.clearModel(),this.value.push(t);return this._calculateCheckboxState(),this.rowSelect.emit({row:t,index:e,selected:!n}),this.onChange(this.value),!n},i.prototype._calculateCheckboxState=function(){var t,e,i=this;if(this._data){this._allSelected=void 0===this._data.find((function(t){return!i.isRowSelected(t)})),this._indeterminate=!1;try{for(var n=g(this._data),r=n.next();!r.done;r=n.next()){var a=r.value;if(this.isRowSelected(a)){this._indeterminate=!0;break}}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}},i.prototype._calculateWidths=function(){var t=this;this._colElements&&this._colElements.length&&(this._widths=[],this._colElements.forEach((function(e,i){t._adjustColumnWidth(i,t._calculateWidth())})),this._adjustColumnWidhts(),this._changeDetectorRef.markForCheck())},i.prototype._adjustColumnWidhts=function(){var t=this,e=0,i=this._widths.filter((function(i,n){return!t.columns[n].hidden&&((i.limit||i.max||i.min)&&(e+=i.value),!i.limit&&!i.max&&!i.min)})).length,n=0;if(e<this.hostWidth&&(n=this.hostWidth-e),i&&n){var r=Math.floor(n/i),a=0;this._widths.forEach((function(e){(t._widths[e.index].max&&t._widths[e.index].value>r||t._widths[e.index].min&&t._widths[e.index].value<r||!t._widths[e.index].limit)&&(t._adjustColumnWidth(e.index,r),a++)}));var o=this._widths.filter((function(t){return!t.limit&&!t.max})).length;o!==a&&o!==i&&this._adjustColumnWidhts()}},i.prototype._adjustColumnWidth=function(t,e){this._widths[t]={value:e,index:t,limit:!1,min:!1,max:!1};var i=!1;if(this.columns[t])if("object"==typeof this.columns[t].width){var n=this.columns[t].width;i=n&&!!n.min,n&&n.min>=this._widths[t].value?(this._widths[t].value=n.min,this._widths[t].min=!0):n&&n.max<=this._widths[t].value&&(this._widths[t].value=n.max,this._widths[t].max=!0)}else"number"==typeof this.columns[t].width&&(this._widths[t].value=this.columns[t].width,i=this._widths[t].limit=!0);!i&&this._widths[t].value<this._colElements.toArray()[t].projectedWidth&&(this._widths[t].value=this._colElements.toArray()[t].projectedWidth,this._widths[t].min=!0,this._widths[t].limit=!1)},i.prototype._calculateWidth=function(){var t=this.columns.filter((function(t){return!t.hidden}));return Math.floor(this.hostWidth/t.length)},i.prototype._calculateVirtualRows=function(){var t=this,e=0;if(this._data){this._totalHeight=0;var i=0;this._data.forEach((function(n,r){t._rowHeightCache[r]||(t._rowHeightCache[r]=t._rowHeightCache[0]||48),i+=t._rowHeightCache[r],t._scrollVerticalOffset-i>0&&e++})),this._totalHeight=i;var n=e-2;this._fromRow=n>0?n:0;for(var r=this._hostHeight,a=0;r>0;)r-=this._rowHeightCache[this.fromRow+a],a++;var o=a-1+4+this.fromRow;isFinite(o)&&o>this._data.length?o=this._data.length:isFinite(o)||(o=2),this._toRow=o}else this._totalHeight=0,this._fromRow=0,this._toRow=0;var l=0;if(e>2)for(a=0;a<this.fromRow;a++)l+=this._rowHeightCache[a];this._offsetTransform=this._domSanitizer.bypassSecurityTrustStyle("translateY("+(l-this.totalHeight)+"px)"),this._data&&(this._virtualData=this.data.slice(this.fromRow,this.toRow)),Promise.resolve().then((function(){t._changeDetectorRef.markForCheck()}))},i}(C);k.decorators=[{type:e.Component,args:[{providers:[{provide:s.NG_VALUE_ACCESSOR,useExisting:e.forwardRef((function(){return k})),multi:!0}],selector:"td-data-table",template:'<table td-data-table [style.left.px]="columnsLeftScroll" [class.mat-selectable]="selectable">\n <thead class="td-data-table-head" (dragover)="_handleColumnDrag($event)">\n <tr td-data-table-column-row>\n <th td-data-table-column class="mat-checkbox-column" *ngIf="selectable">\n <mat-checkbox\n #checkBoxAll\n *ngIf="multiple"\n [disabled]="!hasData"\n [indeterminate]="indeterminate && !allSelected && hasData"\n [checked]="allSelected && hasData"\n (click)="blockEvent($event); _selectAll(!checkBoxAll.checked)"\n (keyup.enter)="_selectAll(!checkBoxAll.checked)"\n (keyup.space)="_selectAll(!checkBoxAll.checked)"\n (keydown.space)="blockEvent($event)"\n ></mat-checkbox>\n </th>\n <th\n td-data-table-column\n #columnElement\n *ngFor="let column of columns; let i = index; let last = last"\n [style.min-width.px]="getColumnWidth(i)"\n [style.max-width.px]="getColumnWidth(i)"\n [name]="column.name"\n [numeric]="column.numeric"\n [active]="(column.sortable || sortable) && column === sortByColumn"\n [sortable]="column.sortable || (sortable && column.sortable !== false)"\n [sortOrder]="sortOrderEnum"\n [hidden]="column.hidden"\n [isColumnSortOrder]="!!column.columnSortOrder"\n (sortChange)="handleSort(column)"\n >\n <span [matTooltip]="column.tooltip" [class]="column.columnSortOrder ? \'td-table-header-label\' : \'\'">\n {{ column.label }}\n <span *ngIf="column.columnSortOrder" class="td-data-table-sort-badge">\n {{ column.columnSortOrder || \'\' }}\n\n <span\n td-column-resizer\n *ngIf="resizableColumns"\n draggable="true"\n class="td-data-table-column-resizer"\n [class.td-resizing]="i === resizingColumn"\n (mousedown)="_handleStartColumnDrag(i, $event)"\n (dragstart)="$event?.dataTransfer?.setData(\'text\', \'\')"\n (drag)="_handleColumnDrag($event)"\n (dragend)="_handleEndColumnDrag()"\n (mouseup)="_handleEndColumnDrag()"\n >\n <span class="td-data-table-column-separator"></span>\n </span>\n </span>\n </span>\n </th>\n </tr>\n </thead>\n</table>\n<div #scrollableDiv class="td-data-table-scrollable" (scroll)="handleScroll($event)">\n <div [style.height.px]="totalHeight"></div>\n <table\n td-data-table\n [style.transform]="offsetTransform"\n [style.position]="\'absolute\'"\n [class.mat-selectable]="selectable"\n [class.mat-clickable]="clickable"\n >\n <tbody class="td-data-table-body">\n <tr\n td-data-table-row\n #dtRow\n [tabIndex]="selectable ? 0 : -1"\n [selected]="(clickable || selectable) && isRowSelected(row)"\n *ngFor="let row of virtualData; let rowIndex = index"\n (click)="handleRowClick(row, fromRow + rowIndex, $event)"\n (keyup)="selectable && _rowKeyup($event, row, rowIndex)"\n (keydown.space)="blockEvent($event)"\n (keydown.shift.space)="blockEvent($event)"\n (keydown.shift)="disableTextSelection()"\n (keyup.shift)="enableTextSelection()"\n >\n <td td-data-table-cell class="mat-checkbox-cell" *ngIf="selectable">\n <mat-pseudo-checkbox\n [state]="dtRow.selected ? \'checked\' : \'unchecked\'"\n (mousedown)="disableTextSelection()"\n (mouseup)="enableTextSelection()"\n stopRowClick\n (click)="select(row, $event, fromRow + rowIndex)"\n ></mat-pseudo-checkbox>\n </td>\n <td\n td-data-table-cell\n [numeric]="column.numeric"\n [hidden]="column.hidden"\n *ngFor="let column of columns; let i = index"\n [style.min-width.px]="getColumnWidth(i)"\n [style.max-width.px]="getColumnWidth(i)"\n >\n <span *ngIf="!getTemplateRef(column.name)">\n {{ column.format ? column.format(getCellValue(column, row)) : getCellValue(column, row) }}\n </span>\n <ng-template\n *ngIf="getTemplateRef(column.name)"\n [ngTemplateOutlet]="getTemplateRef(column.name)"\n [ngTemplateOutletContext]="{\n value: getCellValue(column, row),\n row: row,\n column: column.name,\n index: rowIndex\n }"\n ></ng-template>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n<ng-content></ng-content>\n',inputs:["value"],changeDetection:e.ChangeDetectionStrategy.OnPush,styles:[".td-data-table-sort-badge{-ms-flex-align:center;-ms-flex-pack:center;align-items:center;border-radius:50%;display:-ms-flexbox;display:flex;height:16px;justify-content:center;margin-left:4px;width:16px}:host{display:block;overflow:hidden}:host .td-data-table-scrollable{height:calc(100% - 56px);overflow:auto;position:relative}.td-table-header-label{display:-ms-flexbox;display:flex}.td-data-table-column-resizer{cursor:col-resize;right:0;width:6px}.td-data-table-column-resizer,.td-data-table-column-resizer .td-data-table-column-separator{height:100%;position:absolute;top:0}.td-data-table-column-resizer .td-data-table-column-separator{left:2px}.td-data-table-column-resizer.td-resizing{cursor:-webkit-grabbing}table.td-data-table{width:auto!important}table.td-data-table.mat-selectable tbody>tr.td-data-table-row{transition:background-color .2s}table.td-data-table.mat-selectable .td-data-table-column:first-child>.td-data-table-column-content-wrapper,table.td-data-table.mat-selectable td.td-data-table-cell:first-child>.td-data-table-column-content-wrapper,table.td-data-table.mat-selectable th.td-data-table-column:first-child>.td-data-table-column-content-wrapper{min-width:18px;padding:0 24px;width:18px}table.td-data-table.mat-selectable .td-data-table-column:nth-child(2)>.td-data-table-column-content-wrapper,table.td-data-table.mat-selectable td.td-data-table-cell:nth-child(2)>.td-data-table-column-content-wrapper,table.td-data-table.mat-selectable th.td-data-table-column:nth-child(2)>.td-data-table-column-content-wrapper{padding-left:0}[dir=rtl] table.td-data-table.mat-selectable .td-data-table-column:nth-child(2)>.td-data-table-column-content-wrapper,[dir=rtl] table.td-data-table.mat-selectable td.td-data-table-cell:nth-child(2)>.td-data-table-column-content-wrapper,[dir=rtl] table.td-data-table.mat-selectable th.td-data-table-column:nth-child(2)>.td-data-table-column-content-wrapper{padding-left:28px;padding-right:0}table.td-data-table td.mat-checkbox-cell,table.td-data-table th.mat-checkbox-column{font-size:0!important;min-width:42px;width:42px}table.td-data-table td.mat-checkbox-cell mat-pseudo-checkbox,table.td-data-table th.mat-checkbox-column mat-pseudo-checkbox{height:18px;width:18px}::ng-deep table.td-data-table td.mat-checkbox-cell mat-pseudo-checkbox.mat-pseudo-checkbox-checked:after,::ng-deep table.td-data-table th.mat-checkbox-column mat-pseudo-checkbox.mat-pseudo-checkbox-checked:after{height:4px!important;width:11px!important}table.td-data-table td.mat-checkbox-cell mat-checkbox ::ng-deep .mat-checkbox-inner-container,table.td-data-table th.mat-checkbox-column mat-checkbox ::ng-deep .mat-checkbox-inner-container{height:18px;margin:0;width:18px}"]}]}],k.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Optional},{type:e.Inject,args:[i.DOCUMENT]}]},{type:e.ElementRef},{type:l.DomSanitizer},{type:e.ChangeDetectorRef}]},k.propDecorators={_templates:[{type:e.ContentChildren,args:[v,{descendants:!0}]}],_scrollableDiv:[{type:e.ViewChild,args:["scrollableDiv",{static:!0}]}],_colElements:[{type:e.ViewChildren,args:["columnElement"]}],_rows:[{type:e.ViewChildren,args:[y]}],data:[{type:e.Input,args:["data"]}],columns:[{type:e.Input,args:["columns"]}],resizableColumns:[{type:e.Input,args:["resizableColumns"]}],selectable:[{type:e.Input,args:["selectable"]}],clickable:[{type:e.Input,args:["clickable"]}],multiple:[{type:e.Input,args:["multiple"]}],sortable:[{type:e.Input,args:["sortable"]}],sortBy:[{type:e.Input,args:["sortBy"]}],sortOrder:[{type:e.Input,args:["sortOrder"]}],sortChange:[{type:e.Output}],rowSelect:[{type:e.Output}],rowClick:[{type:e.Output}],selectAll:[{type:e.Output}],compareWith:[{type:e.Input}]};var S=function(){function t(t,i){this._elementRef=t,this._renderer=i,this._sortOrder=w.Ascending,this.name="",this.sortable=!1,this.active=!1,this.numeric=!1,this.isColumnSortOrder=!1,this.sortChange=new e.EventEmitter,this._renderer.addClass(this._elementRef.nativeElement,"td-data-table-column")}return Object.defineProperty(t.prototype,"projectedWidth",{get:function(){return this._columnContent&&this._columnContent.nativeElement?this._columnContent.nativeElement.getBoundingClientRect().width:100},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sortOrder",{set:function(t){var e=t?t.toUpperCase():"ASC";if("DESC"!==e&&"ASC"!==e)throw new Error("[sortOrder] must be empty, ASC or DESC");this._sortOrder="ASC"===e?w.Ascending:w.Descending},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bindClickable",{get:function(){return this.sortable},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bingSortable",{get:function(){return this.sortable},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bindActive",{get:function(){return this.active},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bindNumeric",{get:function(){return this.numeric},enumerable:!1,configurable:!0}),t.prototype.handleClick=function(){this.sortable&&this.sortChange.emit({name:this.name,order:this._sortOrder})},t.prototype.isAscending=function(){return this._sortOrder===w.Ascending},t.prototype.isDescending=function(){return this._sortOrder===w.Descending},t}();S.decorators=[{type:e.Component,args:[{selector:"th[td-data-table-column]",template:'<span #columnContent class="td-data-table-heading">\n <mat-icon\n class="td-data-table-sort-icon"\n *ngIf="sortable && numeric"\n [class.mat-asc]="isAscending()"\n [class.mat-desc]="isDescending()"\n >\n arrow_upward\n </mat-icon>\n <span>\n <ng-content></ng-content>\n </span>\n <mat-icon\n class="td-data-table-sort-icon"\n *ngIf="sortable && !numeric"\n [class.mat-asc]="isAscending()"\n [class.mat-desc]="isDescending()"\n [class.display-numeric]="isColumnSortOrder"\n >\n arrow_upward\n </mat-icon>\n</span>\n<ng-content select="[td-column-resizer]"></ng-content>\n',styles:[":host{padding:0;position:relative;text-align:left;vertical-align:middle;white-space:nowrap}:host>.td-data-table-heading{padding:0 28px}:host:first-child>.td-data-table-heading{padding-left:24px;padding-right:0}html[dir=rtl] :host:first-child>.td-data-table-heading{padding-left:0}body[dir=rtl] :host:first-child>.td-data-table-heading{padding-left:0}[dir=rtl] :host:first-child>.td-data-table-heading{padding-left:0}html[dir=rtl] :host:first-child>.td-data-table-heading{padding-right:24px;unicode-bidi:embed}body[dir=rtl] :host:first-child>.td-data-table-heading{padding-right:24px;unicode-bidi:embed}[dir=rtl] :host:first-child>.td-data-table-heading{padding-right:24px;unicode-bidi:embed}:host:first-child>.td-data-table-heading bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host:first-child>.td-data-table-heading bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}:host:last-child>.td-data-table-heading{padding-left:28px;padding-right:24px}html[dir=rtl] :host:last-child>.td-data-table-heading{padding-left:24px}body[dir=rtl] :host:last-child>.td-data-table-heading{padding-left:24px}[dir=rtl] :host:last-child>.td-data-table-heading{padding-left:24px}html[dir=rtl] :host:last-child>.td-data-table-heading{padding-right:28px;unicode-bidi:embed}body[dir=rtl] :host:last-child>.td-data-table-heading{padding-right:28px;unicode-bidi:embed}[dir=rtl] :host:last-child>.td-data-table-heading{padding-right:28px;unicode-bidi:embed}:host:last-child>.td-data-table-heading bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host:last-child>.td-data-table-heading bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}:host mat-icon{font-size:16px!important;height:16px;line-height:16px!important;width:16px}:host mat-icon.td-data-table-sort-icon{opacity:0;position:absolute;top:0;transition:transform .25s}:host mat-icon.td-data-table-sort-icon.display-numeric{right:0}:host mat-icon.td-data-table-sort-icon.mat-asc{-ms-transform:rotate(0deg);transform:rotate(0deg)}:host mat-icon.td-data-table-sort-icon.mat-desc{-ms-transform:rotate(180deg);transform:rotate(180deg)}:host.mat-active.mat-sortable mat-icon.td-data-table-sort-icon,:host:hover.mat-sortable mat-icon.td-data-table-sort-icon{opacity:1}html[dir=rtl] :host{text-align:right;unicode-bidi:embed}body[dir=rtl] :host{text-align:right;unicode-bidi:embed}[dir=rtl] :host{text-align:right;unicode-bidi:embed}:host bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}:host>*{vertical-align:middle}:host.mat-clickable{cursor:pointer}:host.mat-clickable:focus{outline:none}:host .td-data-table-heading{display:inline-block;position:relative}:host.mat-numeric{text-align:right}html[dir=rtl] :host.mat-numeric{text-align:left;unicode-bidi:embed}body[dir=rtl] :host.mat-numeric{text-align:left;unicode-bidi:embed}[dir=rtl] :host.mat-numeric{text-align:left;unicode-bidi:embed}:host.mat-numeric bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host.mat-numeric bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}:host.mat-numeric mat-icon.td-data-table-sort-icon{margin-left:-22px;margin-right:0}html[dir=rtl] :host.mat-numeric mat-icon.td-data-table-sort-icon{margin-left:0}body[dir=rtl] :host.mat-numeric mat-icon.td-data-table-sort-icon{margin-left:0}[dir=rtl] :host.mat-numeric mat-icon.td-data-table-sort-icon{margin-left:0}html[dir=rtl] :host.mat-numeric mat-icon.td-data-table-sort-icon{margin-right:-22px;unicode-bidi:embed}body[dir=rtl] :host.mat-numeric mat-icon.td-data-table-sort-icon{margin-right:-22px;unicode-bidi:embed}[dir=rtl] :host.mat-numeric mat-icon.td-data-table-sort-icon{margin-right:-22px;unicode-bidi:embed}:host.mat-numeric mat-icon.td-data-table-sort-icon bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host.mat-numeric mat-icon.td-data-table-sort-icon bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}:host:not(.mat-numeric) mat-icon.td-data-table-sort-icon{margin-left:6px;margin-right:0}html[dir=rtl] :host:not(.mat-numeric) mat-icon.td-data-table-sort-icon{margin-left:0}body[dir=rtl] :host:not(.mat-numeric) mat-icon.td-data-table-sort-icon{margin-left:0}[dir=rtl] :host:not(.mat-numeric) mat-icon.td-data-table-sort-icon{margin-left:0}html[dir=rtl] :host:not(.mat-numeric) mat-icon.td-data-table-sort-icon{margin-right:6px;unicode-bidi:embed}body[dir=rtl] :host:not(.mat-numeric) mat-icon.td-data-table-sort-icon{margin-right:6px;unicode-bidi:embed}[dir=rtl] :host:not(.mat-numeric) mat-icon.td-data-table-sort-icon{margin-right:6px;unicode-bidi:embed}:host:not(.mat-numeric) mat-icon.td-data-table-sort-icon bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host:not(.mat-numeric) mat-icon.td-data-table-sort-icon bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}"]}]}],S.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2}]},S.propDecorators={_columnContent:[{type:e.ViewChild,args:["columnContent",{read:e.ElementRef,static:!0}]}],name:[{type:e.Input}],sortable:[{type:e.Input}],active:[{type:e.Input}],numeric:[{type:e.Input}],isColumnSortOrder:[{type:e.Input}],sortOrder:[{type:e.Input,args:["sortOrder"]}],sortChange:[{type:e.Output}],bindClickable:[{type:e.HostBinding,args:["class.mat-clickable"]}],bingSortable:[{type:e.HostBinding,args:["class.mat-sortable"]}],bindActive:[{type:e.HostBinding,args:["class.mat-active"]}],bindNumeric:[{type:e.HostBinding,args:["class.mat-numeric"]}],handleClick:[{type:e.HostListener,args:["click"]}]};var R=function(){function t(t,e){this._elementRef=t,this._renderer=e,this.numeric=!1,this._renderer.addClass(this._elementRef.nativeElement,"td-data-table-cell")}return Object.defineProperty(t.prototype,"align",{get:function(){return this._align},set:function(t){this._align=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bindNumeric",{get:function(){return this.numeric},enumerable:!1,configurable:!0}),t}();R.decorators=[{type:e.Component,args:[{selector:"td[td-data-table-cell]",template:'<div\n class="td-data-table-cell-content-wrapper"\n [class.td-data-table-cell-numeric]="numeric"\n [class.td-data-table-cell-align-center]="align === \'center\'"\n [class.td-data-table-cell-align-end]="align === \'end\'"\n [class.td-data-table-cell-align-start]="align === \'start\'"\n>\n <ng-content></ng-content>\n</div>\n',styles:[":host{padding:0;text-align:left;vertical-align:middle}html[dir=rtl] :host{text-align:right;unicode-bidi:embed}body[dir=rtl] :host{text-align:right;unicode-bidi:embed}[dir=rtl] :host{text-align:right;unicode-bidi:embed}:host bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}:host>.td-data-table-cell-content-wrapper{-ms-flex-align:center;-ms-flex-direction:row;-ms-flex-line-pack:center;-ms-flex-pack:start;align-content:center;align-items:center;box-sizing:border-box;display:-ms-flexbox;display:flex;flex-direction:row;justify-content:flex-start;max-width:100%;padding:0 28px}:host>.td-data-table-cell-content-wrapper.td-data-table-cell-numeric{-ms-flex-pack:end;justify-content:flex-end}:host>.td-data-table-cell-content-wrapper.td-data-table-cell-align-start{-ms-flex-pack:start;justify-content:flex-start}:host>.td-data-table-cell-content-wrapper.td-data-table-cell-align-end{-ms-flex-pack:end;justify-content:flex-end}:host>.td-data-table-cell-content-wrapper.td-data-table-cell-align-center{-ms-flex-pack:center;justify-content:center}:host:first-child>.td-data-table-cell-content-wrapper{padding-left:24px;padding-right:0}html[dir=rtl] :host:first-child>.td-data-table-cell-content-wrapper{padding-left:0}body[dir=rtl] :host:first-child>.td-data-table-cell-content-wrapper{padding-left:0}[dir=rtl] :host:first-child>.td-data-table-cell-content-wrapper{padding-left:0}html[dir=rtl] :host:first-child>.td-data-table-cell-content-wrapper{padding-right:24px;unicode-bidi:embed}body[dir=rtl] :host:first-child>.td-data-table-cell-content-wrapper{padding-right:24px;unicode-bidi:embed}[dir=rtl] :host:first-child>.td-data-table-cell-content-wrapper{padding-right:24px;unicode-bidi:embed}:host:first-child>.td-data-table-cell-content-wrapper bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host:first-child>.td-data-table-cell-content-wrapper bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}:host:last-child>.td-data-table-cell-content-wrapper{padding-left:28px;padding-right:24px}html[dir=rtl] :host:last-child>.td-data-table-cell-content-wrapper{padding-left:24px}body[dir=rtl] :host:last-child>.td-data-table-cell-content-wrapper{padding-left:24px}[dir=rtl] :host:last-child>.td-data-table-cell-content-wrapper{padding-left:24px}html[dir=rtl] :host:last-child>.td-data-table-cell-content-wrapper{padding-right:28px;unicode-bidi:embed}body[dir=rtl] :host:last-child>.td-data-table-cell-content-wrapper{padding-right:28px;unicode-bidi:embed}[dir=rtl] :host:last-child>.td-data-table-cell-content-wrapper{padding-right:28px;unicode-bidi:embed}:host:last-child>.td-data-table-cell-content-wrapper bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host:last-child>.td-data-table-cell-content-wrapper bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}:host>*{vertical-align:middle}:host.mat-clickable{cursor:pointer}:host.mat-clickable:focus{outline:none}:host.mat-numeric{text-align:right}html[dir=rtl] :host.mat-numeric{text-align:left;unicode-bidi:embed}body[dir=rtl] :host.mat-numeric{text-align:left;unicode-bidi:embed}[dir=rtl] :host.mat-numeric{text-align:left;unicode-bidi:embed}:host.mat-numeric bdo[dir=rtl]{direction:rtl;unicode-bidi:bidi-override}:host.mat-numeric bdo[dir=ltr]{direction:ltr;unicode-bidi:bidi-override}"]}]}],R.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2}]},R.propDecorators={numeric:[{type:e.Input}],align:[{type:e.Input}],bindNumeric:[{type:e.HostBinding,args:["class.mat-numeric"]}]};var O=function(t,e){this._elementRef=t,this._renderer=e,this._renderer.addClass(this._elementRef.nativeElement,"td-data-table")};O.decorators=[{type:e.Component,args:[{selector:"table[td-data-table]",template:"<ng-content></ng-content>\n",styles:[":host{border-collapse:collapse;border-spacing:0;overflow:hidden;position:relative;width:100%}"]}]}],O.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2}]};var E=function(){function t(){}return t.prototype.filterData=function(t,e,i,n){void 0===i&&(i=!1);var r=e?i?e.toLowerCase():e:"";return r&&(t=t.filter((function(t){return void 0!==Object.keys(t).find((function(e){if(!n||-1===n.indexOf(e)){var a=""+t[e];return(i?a.toLowerCase():a).indexOf(r)>-1}}))}))),t},t.prototype.sortData=function(t,e,i){return void 0===i&&(i=w.Ascending),e&&(t=Array.from(t)).sort((function(t,n){var r=t[e],a=n[e],o=0;return Number.isNaN(Number.parseFloat(r))||Number.isNaN(Number.parseFloat(a))?r<a?o=-1:r>a&&(o=1):o=Number.parseFloat(r)-Number.parseFloat(a),o*(i===w.Descending?-1:1)})),t},t.prototype.pageData=function(t,e,i){return e>=1&&(t=t.slice(e-1,i)),t},t}();E.decorators=[{type:e.Injectable}];var D=[k,v,S,R,y,_,O],j=function(){};j.decorators=[{type:e.NgModule,args:[{imports:[i.CommonModule,n.MatCheckboxModule,r.MatTooltipModule,a.MatIconModule,o.MatPseudoCheckboxModule],declarations:[D],exports:[D],providers:[E]}]}],t.CovalentDataTableModule=j,t.TdDataTableBase=x,t.TdDataTableCellComponent=R,t.TdDataTableColumnComponent=S,t.TdDataTableColumnRowComponent=_,t.TdDataTableComponent=k,t.TdDataTableRowComponent=y,t.TdDataTableService=E,t.TdDataTableSortingOrder=w,t.TdDataTableTableComponent=O,t.TdDataTableTemplateDirective=v,t._TdDataTableMixinBase=C,Object.defineProperty(t,"__esModule",{value:!0})}));
16
16
  //# sourceMappingURL=covalent-core-data-table.umd.min.js.map