@taiga-ui/addon-table 2.55.0 → 3.0.0-rc.0

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 (282) hide show
  1. package/bundles/taiga-ui-addon-table-components-reorder.umd.js +423 -298
  2. package/bundles/taiga-ui-addon-table-components-reorder.umd.js.map +1 -1
  3. package/bundles/taiga-ui-addon-table-components-table-pagination.umd.js +445 -313
  4. package/bundles/taiga-ui-addon-table-components-table-pagination.umd.js.map +1 -1
  5. package/bundles/taiga-ui-addon-table-components-table.umd.js +859 -646
  6. package/bundles/taiga-ui-addon-table-components-table.umd.js.map +1 -1
  7. package/bundles/taiga-ui-addon-table-components.umd.js +11 -25
  8. package/bundles/taiga-ui-addon-table-components.umd.js.map +1 -1
  9. package/bundles/taiga-ui-addon-table-directives-table-filters.umd.js +453 -320
  10. package/bundles/taiga-ui-addon-table-directives-table-filters.umd.js.map +1 -1
  11. package/bundles/taiga-ui-addon-table-directives.umd.js +5 -7
  12. package/bundles/taiga-ui-addon-table-directives.umd.js.map +1 -1
  13. package/bundles/taiga-ui-addon-table-interfaces.umd.js +2 -2
  14. package/bundles/taiga-ui-addon-table-interfaces.umd.js.map +1 -1
  15. package/bundles/taiga-ui-addon-table-tokens.umd.js +10 -6
  16. package/bundles/taiga-ui-addon-table-tokens.umd.js.map +1 -1
  17. package/bundles/taiga-ui-addon-table-types.umd.js +2 -2
  18. package/bundles/taiga-ui-addon-table-types.umd.js.map +1 -1
  19. package/bundles/taiga-ui-addon-table-utils.umd.js +8 -4
  20. package/bundles/taiga-ui-addon-table-utils.umd.js.map +1 -1
  21. package/bundles/taiga-ui-addon-table.umd.js +19 -21
  22. package/bundles/taiga-ui-addon-table.umd.js.map +1 -1
  23. package/components/index.d.ts +0 -1
  24. package/components/package.json +2 -5
  25. package/components/reorder/package.json +2 -5
  26. package/components/reorder/reorder.component.d.ts +3 -0
  27. package/components/reorder/reorder.module.d.ts +9 -0
  28. package/components/reorder/taiga-ui-addon-table-components-reorder.d.ts +1 -0
  29. package/components/table/directives/cell.directive.d.ts +3 -0
  30. package/components/table/directives/head.directive.d.ts +3 -0
  31. package/components/table/directives/resized.directive.d.ts +3 -0
  32. package/components/table/directives/row.directive.d.ts +3 -0
  33. package/components/table/directives/sort-by.directive.d.ts +3 -0
  34. package/components/table/directives/sortable.directive.d.ts +3 -0
  35. package/components/table/directives/table.directive.d.ts +5 -2
  36. package/components/table/directives/thead.directive.d.ts +3 -0
  37. package/components/table/package.json +2 -5
  38. package/components/table/pipes/table-sort.pipe.d.ts +3 -0
  39. package/components/table/providers/table.provider.d.ts +0 -2
  40. package/components/table/providers/table.providers.d.ts +0 -4
  41. package/components/table/table.module.d.ts +22 -0
  42. package/components/table/taiga-ui-addon-table-components-table.d.ts +1 -0
  43. package/components/table/tbody/tbody.component.d.ts +3 -0
  44. package/components/table/td/td.component.d.ts +3 -0
  45. package/components/table/th/th.component.d.ts +3 -0
  46. package/components/table/th-group/th-group.component.d.ts +3 -0
  47. package/components/table/tr/tr.component.d.ts +3 -0
  48. package/components/table-pagination/package.json +2 -5
  49. package/components/table-pagination/table-pagination.component.d.ts +3 -0
  50. package/components/table-pagination/table-pagination.module.d.ts +8 -0
  51. package/components/table-pagination/taiga-ui-addon-table-components-table-pagination.d.ts +1 -0
  52. package/components/taiga-ui-addon-table-components.d.ts +1 -0
  53. package/directives/package.json +2 -5
  54. package/directives/table-filters/generic-filter.directive.d.ts +3 -0
  55. package/directives/table-filters/package.json +2 -5
  56. package/directives/table-filters/table-filter.directive.d.ts +3 -0
  57. package/directives/table-filters/table-filters.directive.d.ts +3 -0
  58. package/directives/table-filters/table-filters.module.d.ts +8 -0
  59. package/directives/table-filters/table-filters.pipe.d.ts +3 -0
  60. package/directives/table-filters/taiga-ui-addon-table-directives-table-filters.d.ts +1 -0
  61. package/directives/taiga-ui-addon-table-directives.d.ts +1 -0
  62. package/esm2015/components/index.js +1 -2
  63. package/esm2015/components/reorder/index.js +1 -1
  64. package/esm2015/components/reorder/reorder.component.js +35 -29
  65. package/esm2015/components/reorder/reorder.module.js +26 -13
  66. package/esm2015/components/reorder/taiga-ui-addon-table-components-reorder.js +1 -1
  67. package/esm2015/components/table/directives/cell.directive.js +19 -16
  68. package/esm2015/components/table/directives/head.directive.js +17 -17
  69. package/esm2015/components/table/directives/resized.directive.js +25 -23
  70. package/esm2015/components/table/directives/row.directive.js +18 -15
  71. package/esm2015/components/table/directives/sort-by.directive.js +26 -23
  72. package/esm2015/components/table/directives/sortable.directive.js +24 -18
  73. package/esm2015/components/table/directives/table.directive.js +49 -40
  74. package/esm2015/components/table/directives/thead.directive.js +33 -25
  75. package/esm2015/components/table/index.js +1 -1
  76. package/esm2015/components/table/pipes/table-sort.pipe.js +18 -15
  77. package/esm2015/components/table/providers/stuck.provider.js +3 -3
  78. package/esm2015/components/table/providers/table.provider.js +3 -5
  79. package/esm2015/components/table/providers/table.providers.js +7 -11
  80. package/esm2015/components/table/table.module.js +69 -41
  81. package/esm2015/components/table/taiga-ui-addon-table-components-table.js +1 -1
  82. package/esm2015/components/table/tbody/tbody.component.js +44 -33
  83. package/esm2015/components/table/td/td.component.js +25 -17
  84. package/esm2015/components/table/th/th.component.js +55 -35
  85. package/esm2015/components/table/th-group/th-group.component.js +27 -23
  86. package/esm2015/components/table/tr/tr.component.js +28 -22
  87. package/esm2015/components/table-pagination/index.js +1 -1
  88. package/esm2015/components/table-pagination/table-pagination-options.js +2 -2
  89. package/esm2015/components/table-pagination/table-pagination.component.js +40 -31
  90. package/esm2015/components/table-pagination/table-pagination.module.js +30 -13
  91. package/esm2015/components/table-pagination/taiga-ui-addon-table-components-table-pagination.js +1 -1
  92. package/esm2015/components/taiga-ui-addon-table-components.js +1 -1
  93. package/esm2015/directives/index.js +1 -1
  94. package/esm2015/directives/table-filters/abstract-table-filter.js +1 -1
  95. package/esm2015/directives/table-filters/generic-filter.directive.js +25 -20
  96. package/esm2015/directives/table-filters/index.js +2 -1
  97. package/esm2015/directives/table-filters/table-filter.directive.js +32 -24
  98. package/esm2015/directives/table-filters/table-filter.js +2 -1
  99. package/esm2015/directives/table-filters/table-filters.directive.js +12 -10
  100. package/esm2015/directives/table-filters/table-filters.module.js +30 -21
  101. package/esm2015/directives/table-filters/table-filters.pipe.js +16 -14
  102. package/esm2015/directives/table-filters/taiga-ui-addon-table-directives-table-filters.js +1 -1
  103. package/esm2015/directives/taiga-ui-addon-table-directives.js +1 -1
  104. package/esm2015/index.js +2 -1
  105. package/esm2015/interfaces/index.js +2 -1
  106. package/esm2015/interfaces/row-context.js +2 -1
  107. package/esm2015/interfaces/taiga-ui-addon-table-interfaces.js +2 -1
  108. package/esm2015/taiga-ui-addon-table.js +1 -1
  109. package/esm2015/tokens/i18n.js +5 -5
  110. package/esm2015/tokens/index.js +1 -1
  111. package/esm2015/tokens/taiga-ui-addon-table-tokens.js +1 -1
  112. package/esm2015/types/comparator.js +2 -1
  113. package/esm2015/types/index.js +2 -1
  114. package/esm2015/types/taiga-ui-addon-table-types.js +2 -1
  115. package/esm2015/utils/default-sort.js +3 -3
  116. package/esm2015/utils/index.js +1 -1
  117. package/esm2015/utils/taiga-ui-addon-table-utils.js +1 -1
  118. package/fesm2015/taiga-ui-addon-table-components-reorder.js +60 -39
  119. package/fesm2015/taiga-ui-addon-table-components-reorder.js.map +1 -1
  120. package/fesm2015/taiga-ui-addon-table-components-table-pagination.js +69 -41
  121. package/fesm2015/taiga-ui-addon-table-components-table-pagination.js.map +1 -1
  122. package/fesm2015/taiga-ui-addon-table-components-table.js +435 -337
  123. package/fesm2015/taiga-ui-addon-table-components-table.js.map +1 -1
  124. package/fesm2015/taiga-ui-addon-table-components.js +0 -1
  125. package/fesm2015/taiga-ui-addon-table-components.js.map +1 -1
  126. package/fesm2015/taiga-ui-addon-table-directives-table-filters.js +104 -76
  127. package/fesm2015/taiga-ui-addon-table-directives-table-filters.js.map +1 -1
  128. package/fesm2015/taiga-ui-addon-table-directives.js.map +1 -1
  129. package/fesm2015/taiga-ui-addon-table-interfaces.js.map +1 -1
  130. package/fesm2015/taiga-ui-addon-table-tokens.js +4 -4
  131. package/fesm2015/taiga-ui-addon-table-tokens.js.map +1 -1
  132. package/fesm2015/taiga-ui-addon-table-types.js.map +1 -1
  133. package/fesm2015/taiga-ui-addon-table-utils.js +2 -2
  134. package/fesm2015/taiga-ui-addon-table-utils.js.map +1 -1
  135. package/fesm2015/taiga-ui-addon-table.js +1 -0
  136. package/fesm2015/taiga-ui-addon-table.js.map +1 -1
  137. package/interfaces/package.json +2 -5
  138. package/interfaces/taiga-ui-addon-table-interfaces.d.ts +1 -0
  139. package/package.json +12 -15
  140. package/taiga-ui-addon-table.d.ts +1 -0
  141. package/tokens/package.json +2 -5
  142. package/tokens/taiga-ui-addon-table-tokens.d.ts +1 -0
  143. package/types/package.json +2 -5
  144. package/types/taiga-ui-addon-table-types.d.ts +1 -0
  145. package/utils/package.json +2 -5
  146. package/utils/taiga-ui-addon-table-utils.d.ts +1 -0
  147. package/bundles/taiga-ui-addon-table-components-reorder.umd.min.js +0 -2
  148. package/bundles/taiga-ui-addon-table-components-reorder.umd.min.js.map +0 -1
  149. package/bundles/taiga-ui-addon-table-components-resizable-column.umd.js +0 -338
  150. package/bundles/taiga-ui-addon-table-components-resizable-column.umd.js.map +0 -1
  151. package/bundles/taiga-ui-addon-table-components-resizable-column.umd.min.js +0 -2
  152. package/bundles/taiga-ui-addon-table-components-resizable-column.umd.min.js.map +0 -1
  153. package/bundles/taiga-ui-addon-table-components-table-pagination.umd.min.js +0 -2
  154. package/bundles/taiga-ui-addon-table-components-table-pagination.umd.min.js.map +0 -1
  155. package/bundles/taiga-ui-addon-table-components-table.umd.min.js +0 -2
  156. package/bundles/taiga-ui-addon-table-components-table.umd.min.js.map +0 -1
  157. package/bundles/taiga-ui-addon-table-components.umd.min.js +0 -2
  158. package/bundles/taiga-ui-addon-table-components.umd.min.js.map +0 -1
  159. package/bundles/taiga-ui-addon-table-directives-table-filters.umd.min.js +0 -2
  160. package/bundles/taiga-ui-addon-table-directives-table-filters.umd.min.js.map +0 -1
  161. package/bundles/taiga-ui-addon-table-directives.umd.min.js +0 -2
  162. package/bundles/taiga-ui-addon-table-directives.umd.min.js.map +0 -1
  163. package/bundles/taiga-ui-addon-table-interfaces.umd.min.js +0 -2
  164. package/bundles/taiga-ui-addon-table-interfaces.umd.min.js.map +0 -1
  165. package/bundles/taiga-ui-addon-table-tokens.umd.min.js +0 -2
  166. package/bundles/taiga-ui-addon-table-tokens.umd.min.js.map +0 -1
  167. package/bundles/taiga-ui-addon-table-types.umd.min.js +0 -2
  168. package/bundles/taiga-ui-addon-table-types.umd.min.js.map +0 -1
  169. package/bundles/taiga-ui-addon-table-utils.umd.min.js +0 -2
  170. package/bundles/taiga-ui-addon-table-utils.umd.min.js.map +0 -1
  171. package/bundles/taiga-ui-addon-table.umd.min.js +0 -2
  172. package/bundles/taiga-ui-addon-table.umd.min.js.map +0 -1
  173. package/components/reorder/taiga-ui-addon-table-components-reorder.metadata.json +0 -1
  174. package/components/resizable-column/index.d.ts +0 -3
  175. package/components/resizable-column/package.json +0 -13
  176. package/components/resizable-column/resizable-column.component.d.ts +0 -5
  177. package/components/resizable-column/resizable-column.directive.d.ts +0 -9
  178. package/components/resizable-column/resizable-column.module.d.ts +0 -3
  179. package/components/resizable-column/taiga-ui-addon-table-components-resizable-column.d.ts +0 -4
  180. package/components/resizable-column/taiga-ui-addon-table-components-resizable-column.metadata.json +0 -1
  181. package/components/table/taiga-ui-addon-table-components-table.metadata.json +0 -1
  182. package/components/table-pagination/taiga-ui-addon-table-components-table-pagination.metadata.json +0 -1
  183. package/components/taiga-ui-addon-table-components.metadata.json +0 -1
  184. package/directives/table-filters/taiga-ui-addon-table-directives-table-filters.metadata.json +0 -1
  185. package/directives/taiga-ui-addon-table-directives.metadata.json +0 -1
  186. package/esm2015/components/resizable-column/index.js +0 -4
  187. package/esm2015/components/resizable-column/resizable-column.component.js +0 -30
  188. package/esm2015/components/resizable-column/resizable-column.directive.js +0 -37
  189. package/esm2015/components/resizable-column/resizable-column.module.js +0 -15
  190. package/esm2015/components/resizable-column/taiga-ui-addon-table-components-resizable-column.js +0 -5
  191. package/esm5/components/index.js +0 -5
  192. package/esm5/components/reorder/index.js +0 -3
  193. package/esm5/components/reorder/reorder.component.js +0 -72
  194. package/esm5/components/reorder/reorder.module.js +0 -27
  195. package/esm5/components/reorder/taiga-ui-addon-table-components-reorder.js +0 -5
  196. package/esm5/components/resizable-column/index.js +0 -4
  197. package/esm5/components/resizable-column/resizable-column.component.js +0 -31
  198. package/esm5/components/resizable-column/resizable-column.directive.js +0 -42
  199. package/esm5/components/resizable-column/resizable-column.module.js +0 -18
  200. package/esm5/components/resizable-column/taiga-ui-addon-table-components-resizable-column.js +0 -5
  201. package/esm5/components/table/directives/cell.directive.js +0 -25
  202. package/esm5/components/table/directives/head.directive.js +0 -22
  203. package/esm5/components/table/directives/resized.directive.js +0 -41
  204. package/esm5/components/table/directives/row.directive.js +0 -28
  205. package/esm5/components/table/directives/sort-by.directive.js +0 -41
  206. package/esm5/components/table/directives/sortable.directive.js +0 -52
  207. package/esm5/components/table/directives/table.directive.js +0 -88
  208. package/esm5/components/table/directives/thead.directive.js +0 -33
  209. package/esm5/components/table/index.js +0 -19
  210. package/esm5/components/table/pipes/table-sort.pipe.js +0 -31
  211. package/esm5/components/table/providers/stuck.provider.js +0 -21
  212. package/esm5/components/table/providers/table.provider.js +0 -17
  213. package/esm5/components/table/providers/table.providers.js +0 -48
  214. package/esm5/components/table/table.module.js +0 -63
  215. package/esm5/components/table/taiga-ui-addon-table-components-table.js +0 -5
  216. package/esm5/components/table/tbody/tbody.component.js +0 -70
  217. package/esm5/components/table/td/td.component.js +0 -22
  218. package/esm5/components/table/th/th.component.js +0 -88
  219. package/esm5/components/table/th-group/th-group.component.js +0 -42
  220. package/esm5/components/table/tr/tr.component.js +0 -45
  221. package/esm5/components/table-pagination/index.js +0 -4
  222. package/esm5/components/table-pagination/table-pagination-options.js +0 -17
  223. package/esm5/components/table-pagination/table-pagination.component.js +0 -113
  224. package/esm5/components/table-pagination/table-pagination.module.js +0 -28
  225. package/esm5/components/table-pagination/taiga-ui-addon-table-components-table-pagination.js +0 -5
  226. package/esm5/components/taiga-ui-addon-table-components.js +0 -5
  227. package/esm5/directives/index.js +0 -2
  228. package/esm5/directives/table-filters/abstract-table-filter.js +0 -7
  229. package/esm5/directives/table-filters/generic-filter.directive.js +0 -34
  230. package/esm5/directives/table-filters/index.js +0 -7
  231. package/esm5/directives/table-filters/table-filter.directive.js +0 -59
  232. package/esm5/directives/table-filters/table-filter.js +0 -1
  233. package/esm5/directives/table-filters/table-filters.directive.js +0 -39
  234. package/esm5/directives/table-filters/table-filters.module.js +0 -29
  235. package/esm5/directives/table-filters/table-filters.pipe.js +0 -23
  236. package/esm5/directives/table-filters/taiga-ui-addon-table-directives-table-filters.js +0 -5
  237. package/esm5/directives/taiga-ui-addon-table-directives.js +0 -5
  238. package/esm5/index.js +0 -5
  239. package/esm5/interfaces/index.js +0 -1
  240. package/esm5/interfaces/row-context.js +0 -1
  241. package/esm5/interfaces/taiga-ui-addon-table-interfaces.js +0 -4
  242. package/esm5/taiga-ui-addon-table.js +0 -5
  243. package/esm5/tokens/i18n.js +0 -9
  244. package/esm5/tokens/index.js +0 -2
  245. package/esm5/tokens/taiga-ui-addon-table-tokens.js +0 -5
  246. package/esm5/types/comparator.js +0 -1
  247. package/esm5/types/index.js +0 -1
  248. package/esm5/types/taiga-ui-addon-table-types.js +0 -4
  249. package/esm5/utils/default-sort.js +0 -18
  250. package/esm5/utils/index.js +0 -2
  251. package/esm5/utils/taiga-ui-addon-table-utils.js +0 -5
  252. package/fesm2015/taiga-ui-addon-table-components-resizable-column.js +0 -79
  253. package/fesm2015/taiga-ui-addon-table-components-resizable-column.js.map +0 -1
  254. package/fesm5/taiga-ui-addon-table-components-reorder.js +0 -99
  255. package/fesm5/taiga-ui-addon-table-components-reorder.js.map +0 -1
  256. package/fesm5/taiga-ui-addon-table-components-resizable-column.js +0 -88
  257. package/fesm5/taiga-ui-addon-table-components-resizable-column.js.map +0 -1
  258. package/fesm5/taiga-ui-addon-table-components-table-pagination.js +0 -156
  259. package/fesm5/taiga-ui-addon-table-components-table-pagination.js.map +0 -1
  260. package/fesm5/taiga-ui-addon-table-components-table.js +0 -669
  261. package/fesm5/taiga-ui-addon-table-components-table.js.map +0 -1
  262. package/fesm5/taiga-ui-addon-table-components.js +0 -9
  263. package/fesm5/taiga-ui-addon-table-components.js.map +0 -1
  264. package/fesm5/taiga-ui-addon-table-directives-table-filters.js +0 -174
  265. package/fesm5/taiga-ui-addon-table-directives-table-filters.js.map +0 -1
  266. package/fesm5/taiga-ui-addon-table-directives.js +0 -6
  267. package/fesm5/taiga-ui-addon-table-directives.js.map +0 -1
  268. package/fesm5/taiga-ui-addon-table-interfaces.js +0 -4
  269. package/fesm5/taiga-ui-addon-table-interfaces.js.map +0 -1
  270. package/fesm5/taiga-ui-addon-table-tokens.js +0 -16
  271. package/fesm5/taiga-ui-addon-table-tokens.js.map +0 -1
  272. package/fesm5/taiga-ui-addon-table-types.js +0 -4
  273. package/fesm5/taiga-ui-addon-table-types.js.map +0 -1
  274. package/fesm5/taiga-ui-addon-table-utils.js +0 -25
  275. package/fesm5/taiga-ui-addon-table-utils.js.map +0 -1
  276. package/fesm5/taiga-ui-addon-table.js +0 -9
  277. package/fesm5/taiga-ui-addon-table.js.map +0 -1
  278. package/interfaces/taiga-ui-addon-table-interfaces.metadata.json +0 -1
  279. package/taiga-ui-addon-table.metadata.json +0 -1
  280. package/tokens/taiga-ui-addon-table-tokens.metadata.json +0 -1
  281. package/types/taiga-ui-addon-table-types.metadata.json +0 -1
  282. package/utils/taiga-ui-addon-table-utils.metadata.json +0 -1
@@ -1,292 +1,397 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@angular/forms'), require('@taiga-ui/addon-table/components'), require('rxjs'), require('rxjs/operators')) :
3
3
  typeof define === 'function' && define.amd ? define('@taiga-ui/addon-table/directives/table-filters', ['exports', '@angular/core', '@taiga-ui/cdk', '@angular/forms', '@taiga-ui/addon-table/components', 'rxjs', 'rxjs/operators'], factory) :
4
- (global = global || self, factory((global['taiga-ui'] = global['taiga-ui'] || {}, global['taiga-ui']['addon-table'] = global['taiga-ui']['addon-table'] || {}, global['taiga-ui']['addon-table'].directives = global['taiga-ui']['addon-table'].directives || {}, global['taiga-ui']['addon-table'].directives['table-filters'] = {}), global.ng.core, global.cdk, global.ng.forms, global['taiga-ui']['addon-table'].components, global.rxjs, global.rxjs.operators));
5
- }(this, (function (exports, core, cdk, forms, components, rxjs, operators) { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"]["addon-table"] = global["taiga-ui"]["addon-table"] || {}, global["taiga-ui"]["addon-table"].directives = global["taiga-ui"]["addon-table"].directives || {}, global["taiga-ui"]["addon-table"].directives["table-filters"] = {}), global.ng.core, global.cdk, global.ng.forms, global["taiga-ui"]["addon-table"].components, global.rxjs, global.rxjs.operators));
5
+ })(this, (function (exports, i0, cdk, i3, i1, rxjs, operators) { 'use strict';
6
6
 
7
- /******************************************************************************
8
- Copyright (c) Microsoft Corporation.
9
-
10
- Permission to use, copy, modify, and/or distribute this software for any
11
- purpose with or without fee is hereby granted.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
- PERFORMANCE OF THIS SOFTWARE.
20
- ***************************************************************************** */
21
- /* global Reflect, Promise */
22
-
23
- var extendStatics = function(d, b) {
24
- extendStatics = Object.setPrototypeOf ||
25
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
27
- return extendStatics(d, b);
28
- };
29
-
30
- function __extends(d, b) {
31
- if (typeof b !== "function" && b !== null)
32
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
33
- extendStatics(d, b);
34
- function __() { this.constructor = d; }
35
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
36
- }
37
-
38
- var __assign = function() {
39
- __assign = Object.assign || function __assign(t) {
40
- for (var s, i = 1, n = arguments.length; i < n; i++) {
41
- s = arguments[i];
42
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
43
- }
44
- return t;
45
- };
46
- return __assign.apply(this, arguments);
47
- };
48
-
49
- function __rest(s, e) {
50
- var t = {};
51
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
52
- t[p] = s[p];
53
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
54
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
55
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
56
- t[p[i]] = s[p[i]];
57
- }
58
- return t;
59
- }
60
-
61
- function __decorate(decorators, target, key, desc) {
62
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
63
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
64
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
65
- return c > 3 && r && Object.defineProperty(target, key, r), r;
66
- }
67
-
68
- function __param(paramIndex, decorator) {
69
- return function (target, key) { decorator(target, key, paramIndex); }
70
- }
71
-
72
- function __metadata(metadataKey, metadataValue) {
73
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
74
- }
75
-
76
- function __awaiter(thisArg, _arguments, P, generator) {
77
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
78
- return new (P || (P = Promise))(function (resolve, reject) {
79
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
80
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
81
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
82
- step((generator = generator.apply(thisArg, _arguments || [])).next());
83
- });
84
- }
85
-
86
- function __generator(thisArg, body) {
87
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
88
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
89
- function verb(n) { return function (v) { return step([n, v]); }; }
90
- function step(op) {
91
- if (f) throw new TypeError("Generator is already executing.");
92
- while (_) try {
93
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
94
- if (y = 0, t) op = [op[0] & 2, t.value];
95
- switch (op[0]) {
96
- case 0: case 1: t = op; break;
97
- case 4: _.label++; return { value: op[1], done: false };
98
- case 5: _.label++; y = op[1]; op = [0]; continue;
99
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
100
- default:
101
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
102
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
103
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
104
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
105
- if (t[2]) _.ops.pop();
106
- _.trys.pop(); continue;
107
- }
108
- op = body.call(thisArg, _);
109
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
110
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
111
- }
112
- }
113
-
114
- var __createBinding = Object.create ? (function(o, m, k, k2) {
115
- if (k2 === undefined) k2 = k;
116
- var desc = Object.getOwnPropertyDescriptor(m, k);
117
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
118
- desc = { enumerable: true, get: function() { return m[k]; } };
119
- }
120
- Object.defineProperty(o, k2, desc);
121
- }) : (function(o, m, k, k2) {
122
- if (k2 === undefined) k2 = k;
123
- o[k2] = m[k];
124
- });
125
-
126
- function __exportStar(m, o) {
127
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
128
- }
129
-
130
- function __values(o) {
131
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
132
- if (m) return m.call(o);
133
- if (o && typeof o.length === "number") return {
134
- next: function () {
135
- if (o && i >= o.length) o = void 0;
136
- return { value: o && o[i++], done: !o };
137
- }
138
- };
139
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
140
- }
141
-
142
- function __read(o, n) {
143
- var m = typeof Symbol === "function" && o[Symbol.iterator];
144
- if (!m) return o;
145
- var i = m.call(o), r, ar = [], e;
146
- try {
147
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
148
- }
149
- catch (error) { e = { error: error }; }
150
- finally {
151
- try {
152
- if (r && !r.done && (m = i["return"])) m.call(i);
153
- }
154
- finally { if (e) throw e.error; }
155
- }
156
- return ar;
157
- }
158
-
159
- /** @deprecated */
160
- function __spread() {
161
- for (var ar = [], i = 0; i < arguments.length; i++)
162
- ar = ar.concat(__read(arguments[i]));
163
- return ar;
164
- }
165
-
166
- /** @deprecated */
167
- function __spreadArrays() {
168
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
169
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
170
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
171
- r[k] = a[j];
172
- return r;
173
- }
174
-
175
- function __spreadArray(to, from, pack) {
176
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
177
- if (ar || !(i in from)) {
178
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
179
- ar[i] = from[i];
180
- }
181
- }
182
- return to.concat(ar || Array.prototype.slice.call(from));
183
- }
184
-
185
- function __await(v) {
186
- return this instanceof __await ? (this.v = v, this) : new __await(v);
187
- }
188
-
189
- function __asyncGenerator(thisArg, _arguments, generator) {
190
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
191
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
192
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
193
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
194
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
195
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
196
- function fulfill(value) { resume("next", value); }
197
- function reject(value) { resume("throw", value); }
198
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
199
- }
200
-
201
- function __asyncDelegator(o) {
202
- var i, p;
203
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
204
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
205
- }
206
-
207
- function __asyncValues(o) {
208
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
209
- var m = o[Symbol.asyncIterator], i;
210
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
211
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
212
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
213
- }
214
-
215
- function __makeTemplateObject(cooked, raw) {
216
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
217
- return cooked;
218
- };
219
-
220
- var __setModuleDefault = Object.create ? (function(o, v) {
221
- Object.defineProperty(o, "default", { enumerable: true, value: v });
222
- }) : function(o, v) {
223
- o["default"] = v;
224
- };
225
-
226
- function __importStar(mod) {
227
- if (mod && mod.__esModule) return mod;
228
- var result = {};
229
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
230
- __setModuleDefault(result, mod);
231
- return result;
232
- }
233
-
234
- function __importDefault(mod) {
235
- return (mod && mod.__esModule) ? mod : { default: mod };
236
- }
237
-
238
- function __classPrivateFieldGet(receiver, state, kind, f) {
239
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
240
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
241
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
242
- }
243
-
244
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
245
- if (kind === "m") throw new TypeError("Private method is not writable");
246
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
247
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
248
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
249
- }
250
-
251
- function __classPrivateFieldIn(state, receiver) {
252
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
253
- return typeof state === "function" ? receiver === state : state.has(receiver);
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
254
23
  }
255
24
 
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
27
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
28
+
256
29
  var AbstractTuiTableFilter = /** @class */ (function () {
257
30
  function AbstractTuiTableFilter() {
258
31
  }
259
32
  return AbstractTuiTableFilter;
260
33
  }());
261
34
 
35
+ /******************************************************************************
36
+ Copyright (c) Microsoft Corporation.
37
+
38
+ Permission to use, copy, modify, and/or distribute this software for any
39
+ purpose with or without fee is hereby granted.
40
+
41
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
42
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
43
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
44
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
45
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
46
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
47
+ PERFORMANCE OF THIS SOFTWARE.
48
+ ***************************************************************************** */
49
+ /* global Reflect, Promise */
50
+ var extendStatics = function (d, b) {
51
+ extendStatics = Object.setPrototypeOf ||
52
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
53
+ function (d, b) { for (var p in b)
54
+ if (Object.prototype.hasOwnProperty.call(b, p))
55
+ d[p] = b[p]; };
56
+ return extendStatics(d, b);
57
+ };
58
+ function __extends(d, b) {
59
+ if (typeof b !== "function" && b !== null)
60
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
61
+ extendStatics(d, b);
62
+ function __() { this.constructor = d; }
63
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
64
+ }
65
+ var __assign = function () {
66
+ __assign = Object.assign || function __assign(t) {
67
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
68
+ s = arguments[i];
69
+ for (var p in s)
70
+ if (Object.prototype.hasOwnProperty.call(s, p))
71
+ t[p] = s[p];
72
+ }
73
+ return t;
74
+ };
75
+ return __assign.apply(this, arguments);
76
+ };
77
+ function __rest(s, e) {
78
+ var t = {};
79
+ for (var p in s)
80
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
81
+ t[p] = s[p];
82
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
83
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
84
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
85
+ t[p[i]] = s[p[i]];
86
+ }
87
+ return t;
88
+ }
89
+ function __decorate(decorators, target, key, desc) {
90
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
91
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
92
+ r = Reflect.decorate(decorators, target, key, desc);
93
+ else
94
+ for (var i = decorators.length - 1; i >= 0; i--)
95
+ if (d = decorators[i])
96
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
97
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
98
+ }
99
+ function __param(paramIndex, decorator) {
100
+ return function (target, key) { decorator(target, key, paramIndex); };
101
+ }
102
+ function __metadata(metadataKey, metadataValue) {
103
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
104
+ return Reflect.metadata(metadataKey, metadataValue);
105
+ }
106
+ function __awaiter(thisArg, _arguments, P, generator) {
107
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
108
+ return new (P || (P = Promise))(function (resolve, reject) {
109
+ function fulfilled(value) { try {
110
+ step(generator.next(value));
111
+ }
112
+ catch (e) {
113
+ reject(e);
114
+ } }
115
+ function rejected(value) { try {
116
+ step(generator["throw"](value));
117
+ }
118
+ catch (e) {
119
+ reject(e);
120
+ } }
121
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
122
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
123
+ });
124
+ }
125
+ function __generator(thisArg, body) {
126
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
127
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
128
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
129
+ function verb(n) { return function (v) { return step([n, v]); }; }
130
+ function step(op) {
131
+ if (f)
132
+ throw new TypeError("Generator is already executing.");
133
+ while (_)
134
+ try {
135
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
136
+ return t;
137
+ if (y = 0, t)
138
+ op = [op[0] & 2, t.value];
139
+ switch (op[0]) {
140
+ case 0:
141
+ case 1:
142
+ t = op;
143
+ break;
144
+ case 4:
145
+ _.label++;
146
+ return { value: op[1], done: false };
147
+ case 5:
148
+ _.label++;
149
+ y = op[1];
150
+ op = [0];
151
+ continue;
152
+ case 7:
153
+ op = _.ops.pop();
154
+ _.trys.pop();
155
+ continue;
156
+ default:
157
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
158
+ _ = 0;
159
+ continue;
160
+ }
161
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
162
+ _.label = op[1];
163
+ break;
164
+ }
165
+ if (op[0] === 6 && _.label < t[1]) {
166
+ _.label = t[1];
167
+ t = op;
168
+ break;
169
+ }
170
+ if (t && _.label < t[2]) {
171
+ _.label = t[2];
172
+ _.ops.push(op);
173
+ break;
174
+ }
175
+ if (t[2])
176
+ _.ops.pop();
177
+ _.trys.pop();
178
+ continue;
179
+ }
180
+ op = body.call(thisArg, _);
181
+ }
182
+ catch (e) {
183
+ op = [6, e];
184
+ y = 0;
185
+ }
186
+ finally {
187
+ f = t = 0;
188
+ }
189
+ if (op[0] & 5)
190
+ throw op[1];
191
+ return { value: op[0] ? op[1] : void 0, done: true };
192
+ }
193
+ }
194
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
195
+ if (k2 === undefined)
196
+ k2 = k;
197
+ var desc = Object.getOwnPropertyDescriptor(m, k);
198
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
199
+ desc = { enumerable: true, get: function () { return m[k]; } };
200
+ }
201
+ Object.defineProperty(o, k2, desc);
202
+ }) : (function (o, m, k, k2) {
203
+ if (k2 === undefined)
204
+ k2 = k;
205
+ o[k2] = m[k];
206
+ });
207
+ function __exportStar(m, o) {
208
+ for (var p in m)
209
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
210
+ __createBinding(o, m, p);
211
+ }
212
+ function __values(o) {
213
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
214
+ if (m)
215
+ return m.call(o);
216
+ if (o && typeof o.length === "number")
217
+ return {
218
+ next: function () {
219
+ if (o && i >= o.length)
220
+ o = void 0;
221
+ return { value: o && o[i++], done: !o };
222
+ }
223
+ };
224
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
225
+ }
226
+ function __read(o, n) {
227
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
228
+ if (!m)
229
+ return o;
230
+ var i = m.call(o), r, ar = [], e;
231
+ try {
232
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
233
+ ar.push(r.value);
234
+ }
235
+ catch (error) {
236
+ e = { error: error };
237
+ }
238
+ finally {
239
+ try {
240
+ if (r && !r.done && (m = i["return"]))
241
+ m.call(i);
242
+ }
243
+ finally {
244
+ if (e)
245
+ throw e.error;
246
+ }
247
+ }
248
+ return ar;
249
+ }
250
+ /** @deprecated */
251
+ function __spread() {
252
+ for (var ar = [], i = 0; i < arguments.length; i++)
253
+ ar = ar.concat(__read(arguments[i]));
254
+ return ar;
255
+ }
256
+ /** @deprecated */
257
+ function __spreadArrays() {
258
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
259
+ s += arguments[i].length;
260
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
261
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
262
+ r[k] = a[j];
263
+ return r;
264
+ }
265
+ function __spreadArray(to, from, pack) {
266
+ if (pack || arguments.length === 2)
267
+ for (var i = 0, l = from.length, ar; i < l; i++) {
268
+ if (ar || !(i in from)) {
269
+ if (!ar)
270
+ ar = Array.prototype.slice.call(from, 0, i);
271
+ ar[i] = from[i];
272
+ }
273
+ }
274
+ return to.concat(ar || Array.prototype.slice.call(from));
275
+ }
276
+ function __await(v) {
277
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
278
+ }
279
+ function __asyncGenerator(thisArg, _arguments, generator) {
280
+ if (!Symbol.asyncIterator)
281
+ throw new TypeError("Symbol.asyncIterator is not defined.");
282
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
283
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
284
+ function verb(n) { if (g[n])
285
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
286
+ function resume(n, v) { try {
287
+ step(g[n](v));
288
+ }
289
+ catch (e) {
290
+ settle(q[0][3], e);
291
+ } }
292
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
293
+ function fulfill(value) { resume("next", value); }
294
+ function reject(value) { resume("throw", value); }
295
+ function settle(f, v) { if (f(v), q.shift(), q.length)
296
+ resume(q[0][0], q[0][1]); }
297
+ }
298
+ function __asyncDelegator(o) {
299
+ var i, p;
300
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
301
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
302
+ }
303
+ function __asyncValues(o) {
304
+ if (!Symbol.asyncIterator)
305
+ throw new TypeError("Symbol.asyncIterator is not defined.");
306
+ var m = o[Symbol.asyncIterator], i;
307
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
308
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
309
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
310
+ }
311
+ function __makeTemplateObject(cooked, raw) {
312
+ if (Object.defineProperty) {
313
+ Object.defineProperty(cooked, "raw", { value: raw });
314
+ }
315
+ else {
316
+ cooked.raw = raw;
317
+ }
318
+ return cooked;
319
+ }
320
+ ;
321
+ var __setModuleDefault = Object.create ? (function (o, v) {
322
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
323
+ }) : function (o, v) {
324
+ o["default"] = v;
325
+ };
326
+ function __importStar(mod) {
327
+ if (mod && mod.__esModule)
328
+ return mod;
329
+ var result = {};
330
+ if (mod != null)
331
+ for (var k in mod)
332
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
333
+ __createBinding(result, mod, k);
334
+ __setModuleDefault(result, mod);
335
+ return result;
336
+ }
337
+ function __importDefault(mod) {
338
+ return (mod && mod.__esModule) ? mod : { default: mod };
339
+ }
340
+ function __classPrivateFieldGet(receiver, state, kind, f) {
341
+ if (kind === "a" && !f)
342
+ throw new TypeError("Private accessor was defined without a getter");
343
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
344
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
345
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
346
+ }
347
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
348
+ if (kind === "m")
349
+ throw new TypeError("Private method is not writable");
350
+ if (kind === "a" && !f)
351
+ throw new TypeError("Private accessor was defined without a setter");
352
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
353
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
354
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
355
+ }
356
+ function __classPrivateFieldIn(state, receiver) {
357
+ if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
358
+ throw new TypeError("Cannot use 'in' operator on non-object");
359
+ return typeof state === "function" ? receiver === state : state.has(receiver);
360
+ }
361
+
262
362
  var TuiGenericFilterDirective = /** @class */ (function (_super) {
263
363
  __extends(TuiGenericFilterDirective, _super);
264
364
  function TuiGenericFilterDirective() {
265
- var _this = _super !== null && _super.apply(this, arguments) || this;
365
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
266
366
  _this.tuiGenericFilter = cdk.ALWAYS_TRUE_HANDLER;
267
367
  return _this;
268
368
  }
269
- TuiGenericFilterDirective_1 = TuiGenericFilterDirective;
270
369
  TuiGenericFilterDirective.prototype.filter = function (item, value) {
271
370
  return this.tuiGenericFilter(item, value);
272
371
  };
273
- var TuiGenericFilterDirective_1;
274
- __decorate([
275
- core.Input()
276
- ], TuiGenericFilterDirective.prototype, "tuiGenericFilter", void 0);
277
- TuiGenericFilterDirective = TuiGenericFilterDirective_1 = __decorate([
278
- core.Directive({
279
- selector: '[tuiGenericFilter]',
280
- providers: [
281
- {
282
- provide: AbstractTuiTableFilter,
283
- useExisting: TuiGenericFilterDirective_1,
284
- },
285
- ],
286
- })
287
- ], TuiGenericFilterDirective);
288
372
  return TuiGenericFilterDirective;
289
373
  }(AbstractTuiTableFilter));
374
+ TuiGenericFilterDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiGenericFilterDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
375
+ TuiGenericFilterDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiGenericFilterDirective, selector: "[tuiGenericFilter]", inputs: { tuiGenericFilter: "tuiGenericFilter" }, providers: [
376
+ {
377
+ provide: AbstractTuiTableFilter,
378
+ useExisting: TuiGenericFilterDirective,
379
+ },
380
+ ], usesInheritance: true, ngImport: i0__namespace });
381
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiGenericFilterDirective, decorators: [{
382
+ type: i0.Directive,
383
+ args: [{
384
+ selector: "[tuiGenericFilter]",
385
+ providers: [
386
+ {
387
+ provide: AbstractTuiTableFilter,
388
+ useExisting: TuiGenericFilterDirective,
389
+ },
390
+ ],
391
+ }]
392
+ }], propDecorators: { tuiGenericFilter: [{
393
+ type: i0.Input
394
+ }] } });
290
395
 
291
396
  var TuiTableFiltersDirective = /** @class */ (function () {
292
397
  function TuiTableFiltersDirective() {
@@ -309,18 +414,21 @@
309
414
  return this.filters.every(function (filter) { return filter.filter(item); });
310
415
  };
311
416
  TuiTableFiltersDirective.prototype.update = function () {
312
- this.refresh$.next(rxjs.merge.apply(void 0, __spread(this.filters.map(function (_a) {
417
+ this.refresh$.next(rxjs.merge.apply(void 0, __spreadArray([], __read(this.filters.map(function (_a) {
313
418
  var refresh$ = _a.refresh$;
314
419
  return refresh$;
315
- }))));
420
+ })))));
316
421
  };
317
- TuiTableFiltersDirective = __decorate([
318
- core.Directive({
319
- selector: '[tuiTableFilters]',
320
- })
321
- ], TuiTableFiltersDirective);
322
422
  return TuiTableFiltersDirective;
323
423
  }());
424
+ TuiTableFiltersDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiTableFiltersDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
425
+ TuiTableFiltersDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiTableFiltersDirective, selector: "[tuiTableFilters]", ngImport: i0__namespace });
426
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiTableFiltersDirective, decorators: [{
427
+ type: i0.Directive,
428
+ args: [{
429
+ selector: "[tuiTableFilters]",
430
+ }]
431
+ }] });
324
432
 
325
433
  var TuiTableFilterDirective = /** @class */ (function () {
326
434
  function TuiTableFilterDirective(head, delegate, control, filters) {
@@ -339,7 +447,7 @@
339
447
  this.filters.unregister(this);
340
448
  };
341
449
  TuiTableFilterDirective.prototype.filter = function (item) {
342
- var _a = this.control, disabled = _a.disabled, value = _a.value;
450
+ var _b = this.control, disabled = _b.disabled, value = _b.value;
343
451
  return !!disabled || !this.key || this.delegate.filter(item[this.key], value);
344
452
  };
345
453
  Object.defineProperty(TuiTableFilterDirective.prototype, "key", {
@@ -347,30 +455,37 @@
347
455
  var _a;
348
456
  return this.tuiTableFilter || ((_a = this.head) === null || _a === void 0 ? void 0 : _a.tuiHead);
349
457
  },
350
- enumerable: true,
458
+ enumerable: false,
351
459
  configurable: true
352
460
  });
353
- TuiTableFilterDirective.ctorParameters = function () { return [
354
- { type: components.TuiHeadDirective, decorators: [{ type: core.Optional }, { type: core.Inject, args: [components.TuiHeadDirective,] }] },
355
- { type: AbstractTuiTableFilter, decorators: [{ type: core.Inject, args: [AbstractTuiTableFilter,] }] },
356
- { type: forms.NgControl, decorators: [{ type: core.Inject, args: [forms.NgControl,] }] },
357
- { type: TuiTableFiltersDirective, decorators: [{ type: core.Inject, args: [TuiTableFiltersDirective,] }] }
358
- ]; };
359
- __decorate([
360
- core.Input()
361
- ], TuiTableFilterDirective.prototype, "tuiTableFilter", void 0);
362
- TuiTableFilterDirective = __decorate([
363
- core.Directive({
364
- selector: '[tuiTableFilter]',
365
- }),
366
- __param(0, core.Optional()),
367
- __param(0, core.Inject(components.TuiHeadDirective)),
368
- __param(1, core.Inject(AbstractTuiTableFilter)),
369
- __param(2, core.Inject(forms.NgControl)),
370
- __param(3, core.Inject(TuiTableFiltersDirective))
371
- ], TuiTableFilterDirective);
372
461
  return TuiTableFilterDirective;
373
462
  }());
463
+ TuiTableFilterDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiTableFilterDirective, deps: [{ token: i1.TuiHeadDirective, optional: true }, { token: AbstractTuiTableFilter }, { token: i3.NgControl }, { token: TuiTableFiltersDirective }], target: i0__namespace.ɵɵFactoryTarget.Directive });
464
+ TuiTableFilterDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiTableFilterDirective, selector: "[tuiTableFilter]", inputs: { tuiTableFilter: "tuiTableFilter" }, ngImport: i0__namespace });
465
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiTableFilterDirective, decorators: [{
466
+ type: i0.Directive,
467
+ args: [{
468
+ selector: "[tuiTableFilter]",
469
+ }]
470
+ }], ctorParameters: function () {
471
+ return [{ type: i1__namespace.TuiHeadDirective, decorators: [{
472
+ type: i0.Optional
473
+ }, {
474
+ type: i0.Inject,
475
+ args: [i1.TuiHeadDirective]
476
+ }] }, { type: AbstractTuiTableFilter, decorators: [{
477
+ type: i0.Inject,
478
+ args: [AbstractTuiTableFilter]
479
+ }] }, { type: i3__namespace.NgControl, decorators: [{
480
+ type: i0.Inject,
481
+ args: [i3.NgControl]
482
+ }] }, { type: TuiTableFiltersDirective, decorators: [{
483
+ type: i0.Inject,
484
+ args: [TuiTableFiltersDirective]
485
+ }] }];
486
+ }, propDecorators: { tuiTableFilter: [{
487
+ type: i0.Input
488
+ }] } });
374
489
 
375
490
  var TuiTableFiltersPipe = /** @class */ (function () {
376
491
  function TuiTableFiltersPipe(filters) {
@@ -379,39 +494,57 @@
379
494
  TuiTableFiltersPipe.prototype.transform = function (items) {
380
495
  return this.filters.filter(items);
381
496
  };
382
- TuiTableFiltersPipe.ctorParameters = function () { return [
383
- { type: TuiTableFiltersDirective, decorators: [{ type: core.Inject, args: [TuiTableFiltersDirective,] }] }
384
- ]; };
385
- TuiTableFiltersPipe = __decorate([
386
- core.Pipe({
387
- name: 'tuiTableFilters',
388
- }),
389
- __param(0, core.Inject(TuiTableFiltersDirective))
390
- ], TuiTableFiltersPipe);
391
497
  return TuiTableFiltersPipe;
392
498
  }());
499
+ TuiTableFiltersPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiTableFiltersPipe, deps: [{ token: TuiTableFiltersDirective }], target: i0__namespace.ɵɵFactoryTarget.Pipe });
500
+ TuiTableFiltersPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiTableFiltersPipe, name: "tuiTableFilters" });
501
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiTableFiltersPipe, decorators: [{
502
+ type: i0.Pipe,
503
+ args: [{
504
+ name: "tuiTableFilters",
505
+ }]
506
+ }], ctorParameters: function () {
507
+ return [{ type: TuiTableFiltersDirective, decorators: [{
508
+ type: i0.Inject,
509
+ args: [TuiTableFiltersDirective]
510
+ }] }];
511
+ } });
393
512
 
394
513
  var TuiTableFiltersModule = /** @class */ (function () {
395
514
  function TuiTableFiltersModule() {
396
515
  }
397
- TuiTableFiltersModule = __decorate([
398
- core.NgModule({
399
- declarations: [
400
- TuiTableFiltersDirective,
401
- TuiTableFilterDirective,
402
- TuiTableFiltersPipe,
403
- TuiGenericFilterDirective,
404
- ],
405
- exports: [
406
- TuiTableFiltersDirective,
407
- TuiTableFilterDirective,
408
- TuiTableFiltersPipe,
409
- TuiGenericFilterDirective,
410
- ],
411
- })
412
- ], TuiTableFiltersModule);
413
516
  return TuiTableFiltersModule;
414
517
  }());
518
+ TuiTableFiltersModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiTableFiltersModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
519
+ TuiTableFiltersModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiTableFiltersModule, declarations: [TuiTableFiltersDirective,
520
+ TuiTableFilterDirective,
521
+ TuiTableFiltersPipe,
522
+ TuiGenericFilterDirective], exports: [TuiTableFiltersDirective,
523
+ TuiTableFilterDirective,
524
+ TuiTableFiltersPipe,
525
+ TuiGenericFilterDirective] });
526
+ TuiTableFiltersModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiTableFiltersModule });
527
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiTableFiltersModule, decorators: [{
528
+ type: i0.NgModule,
529
+ args: [{
530
+ declarations: [
531
+ TuiTableFiltersDirective,
532
+ TuiTableFilterDirective,
533
+ TuiTableFiltersPipe,
534
+ TuiGenericFilterDirective,
535
+ ],
536
+ exports: [
537
+ TuiTableFiltersDirective,
538
+ TuiTableFilterDirective,
539
+ TuiTableFiltersPipe,
540
+ TuiGenericFilterDirective,
541
+ ],
542
+ }]
543
+ }] });
544
+
545
+ /**
546
+ * Generated bundle index. Do not edit.
547
+ */
415
548
 
416
549
  exports.AbstractTuiTableFilter = AbstractTuiTableFilter;
417
550
  exports.TuiGenericFilterDirective = TuiGenericFilterDirective;
@@ -422,5 +555,5 @@
422
555
 
423
556
  Object.defineProperty(exports, '__esModule', { value: true });
424
557
 
425
- })));
558
+ }));
426
559
  //# sourceMappingURL=taiga-ui-addon-table-directives-table-filters.umd.js.map