@taiga-ui/kit 2.21.0 → 2.25.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 (918) hide show
  1. package/README.md +7 -3
  2. package/bundles/taiga-ui-kit-components-accordion.umd.js +5 -6
  3. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  4. package/bundles/taiga-ui-kit-components-accordion.umd.min.js +1 -1
  5. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +1 -1
  6. package/bundles/taiga-ui-kit-components-action.umd.js +2 -2
  7. package/bundles/taiga-ui-kit-components-action.umd.min.js +1 -1
  8. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +1 -1
  10. package/bundles/taiga-ui-kit-components-avatar.umd.js +1 -1
  11. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-avatar.umd.min.js +1 -1
  13. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
  14. package/bundles/taiga-ui-kit-components-badge.umd.js +2 -2
  15. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  16. package/bundles/taiga-ui-kit-components-badge.umd.min.js +1 -1
  17. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +1 -1
  18. package/bundles/taiga-ui-kit-components-badged-content.umd.js +1 -1
  19. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  20. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js +1 -1
  21. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +6 -6
  23. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  24. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +2 -2
  25. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +1 -1
  26. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +1 -1
  27. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  28. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +1 -1
  29. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +1 -1
  31. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  32. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js +1 -1
  33. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +1 -1
  34. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
  36. package/bundles/taiga-ui-kit-components-combo-box.umd.js +13 -4
  37. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  38. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +1 -1
  39. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  40. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +2 -2
  41. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  42. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +1 -1
  43. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
  44. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +1 -1
  46. package/bundles/taiga-ui-kit-components-filter.umd.js +1 -1
  47. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  48. package/bundles/taiga-ui-kit-components-filter.umd.min.js +1 -1
  49. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +1 -1
  50. package/bundles/taiga-ui-kit-components-input-copy.umd.js +2 -2
  51. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  52. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +1 -1
  53. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +1 -1
  54. package/bundles/taiga-ui-kit-components-input-count.umd.js +7 -2
  55. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  56. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +2 -2
  57. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
  58. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +2 -2
  59. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  60. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +1 -1
  61. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +1 -1
  62. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +2 -2
  63. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  64. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +1 -1
  65. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
  66. package/bundles/taiga-ui-kit-components-input-date.umd.js +2 -2
  67. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  68. package/bundles/taiga-ui-kit-components-input-date.umd.min.js +1 -1
  69. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
  70. package/bundles/taiga-ui-kit-components-input-file.umd.js +191 -191
  71. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
  72. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +2 -2
  73. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
  74. package/bundles/taiga-ui-kit-components-input-inline.umd.js +1 -1
  75. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  76. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +1 -1
  77. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +1 -1
  78. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +1 -1
  79. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +1 -1
  80. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-input-month.umd.js +1 -1
  82. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +1 -1
  83. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  84. package/bundles/taiga-ui-kit-components-input-number.umd.js +8 -2
  85. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  86. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +1 -1
  87. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  88. package/bundles/taiga-ui-kit-components-input-password.umd.js +3 -2
  89. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  90. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +1 -1
  91. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  92. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +1 -1
  93. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  94. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +1 -1
  95. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-input-phone.umd.js +2 -2
  97. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +1 -1
  99. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-input-range.umd.js +2 -2
  101. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  102. package/bundles/taiga-ui-kit-components-input-range.umd.min.js +2 -2
  103. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
  104. package/bundles/taiga-ui-kit-components-input-slider.umd.js +2 -2
  105. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  106. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +1 -1
  107. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  108. package/bundles/taiga-ui-kit-components-input-tag.umd.js +2 -2
  109. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  110. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +2 -2
  111. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  112. package/bundles/taiga-ui-kit-components-input-time.umd.js +2 -2
  113. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  114. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +1 -1
  115. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  116. package/bundles/taiga-ui-kit-components-input.umd.js +1 -1
  117. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  118. package/bundles/taiga-ui-kit-components-input.umd.min.js +1 -1
  119. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
  120. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +1 -1
  122. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +5 -5
  123. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  124. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +2 -2
  125. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +1 -1
  126. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  127. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
  128. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +16 -12
  129. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  130. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js +2 -2
  131. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +1 -1
  132. package/bundles/taiga-ui-kit-components-multi-select.umd.js +18 -45
  133. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  134. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +2 -2
  135. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  136. package/bundles/taiga-ui-kit-components-pagination.umd.js +1 -1
  137. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  138. package/bundles/taiga-ui-kit-components-pagination.umd.min.js +1 -1
  139. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +1 -1
  140. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +338 -0
  141. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -0
  142. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +16 -0
  143. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +1 -0
  144. package/bundles/taiga-ui-kit-components-progress.umd.js +61 -25
  145. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  146. package/bundles/taiga-ui-kit-components-progress.umd.min.js +2 -2
  147. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  148. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  149. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +1 -1
  150. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +1 -1
  151. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +1 -1
  152. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  153. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
  154. package/bundles/taiga-ui-kit-components-range.umd.js +2 -2
  155. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  156. package/bundles/taiga-ui-kit-components-range.umd.min.js +1 -1
  157. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  158. package/bundles/taiga-ui-kit-components-select-option.umd.js +23 -14
  159. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  160. package/bundles/taiga-ui-kit-components-select-option.umd.min.js +2 -2
  161. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
  162. package/bundles/taiga-ui-kit-components-select.umd.js +9 -3
  163. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  164. package/bundles/taiga-ui-kit-components-select.umd.min.js +2 -2
  165. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  166. package/bundles/taiga-ui-kit-components-slider.umd.js +2 -2
  167. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  168. package/bundles/taiga-ui-kit-components-slider.umd.min.js +1 -1
  169. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  170. package/bundles/taiga-ui-kit-components-stepper.umd.js +1 -1
  171. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  172. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +1 -1
  173. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
  174. package/bundles/taiga-ui-kit-components-tabs.umd.js +3 -3
  175. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  176. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
  177. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  178. package/bundles/taiga-ui-kit-components-tag.umd.js +2 -2
  179. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  180. package/bundles/taiga-ui-kit-components-tag.umd.min.js +2 -2
  181. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  182. package/bundles/taiga-ui-kit-components-text-area.umd.js +19 -2
  183. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  184. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +2 -2
  185. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  186. package/bundles/taiga-ui-kit-components-toggle.umd.js +1 -1
  187. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  188. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +1 -1
  189. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  190. package/bundles/taiga-ui-kit-components-tree.umd.js +653 -0
  191. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -0
  192. package/bundles/taiga-ui-kit-components-tree.umd.min.js +16 -0
  193. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -0
  194. package/bundles/taiga-ui-kit-components.umd.js +36 -20
  195. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  196. package/bundles/taiga-ui-kit-components.umd.min.js +1 -1
  197. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  198. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -1
  199. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
  200. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +1 -1
  201. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +2 -1
  202. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  203. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
  204. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  205. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +1 -1
  206. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  207. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +1 -1
  208. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  209. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +1 -1
  210. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  211. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +1 -1
  212. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  213. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +1 -1
  214. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  215. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +1 -1
  216. package/bundles/taiga-ui-kit-directives.umd.js +12 -12
  217. package/bundles/taiga-ui-kit-directives.umd.min.js +1 -1
  218. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +1 -1
  219. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  220. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +1 -1
  221. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +1 -1
  222. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +21 -21
  223. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  224. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js +1 -1
  225. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +1 -1
  226. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  227. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +1 -1
  228. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  229. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +1 -1
  230. package/bundles/taiga-ui-kit-tokens.umd.js +14 -14
  231. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  232. package/bundles/taiga-ui-kit-tokens.umd.min.js +1 -1
  233. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  234. package/bundles/taiga-ui-kit-utils-format.umd.js +0 -2
  235. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  236. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +1 -1
  237. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +1 -1
  238. package/components/action/taiga-ui-kit-components-action.metadata.json +1 -1
  239. package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +1 -1
  240. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +1 -1
  241. package/components/badge/taiga-ui-kit-components-badge.metadata.json +1 -1
  242. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +1 -1
  243. package/components/breadcrumbs/index.d.ts +1 -1
  244. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +1 -1
  245. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +1 -1
  246. package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +1 -1
  247. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +1 -1
  248. package/components/combo-box/combo-box.component.d.ts +3 -3
  249. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +1 -1
  250. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +1 -1
  251. package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +1 -1
  252. package/components/filter/taiga-ui-kit-components-filter.metadata.json +1 -1
  253. package/components/index.d.ts +4 -2
  254. package/components/input/taiga-ui-kit-components-input.metadata.json +1 -1
  255. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +1 -1
  256. package/components/input-count/input-count.component.d.ts +1 -0
  257. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +1 -1
  258. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
  259. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
  260. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +1 -1
  261. package/components/input-file/index.d.ts +1 -1
  262. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +1 -1
  263. package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +1 -1
  264. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +1 -1
  265. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +1 -1
  266. package/components/input-number/input-number.component.d.ts +1 -0
  267. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
  268. package/components/input-password/index.d.ts +1 -1
  269. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +1 -1
  270. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +1 -1
  271. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
  272. package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +1 -1
  273. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  274. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
  275. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
  276. package/components/island/taiga-ui-kit-components-island.metadata.json +1 -1
  277. package/components/line-clamp/index.d.ts +1 -1
  278. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +1 -1
  279. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +1 -1
  280. package/components/multi-select/index.d.ts +0 -1
  281. package/components/multi-select/multi-select.component.d.ts +6 -5
  282. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
  283. package/components/multi-select-option/multi-select-option.component.d.ts +1 -1
  284. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +1 -1
  285. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +1 -1
  286. package/components/pdf-viewer/index.d.ts +5 -0
  287. package/components/pdf-viewer/package.json +13 -0
  288. package/components/pdf-viewer/pdf-viewer-options.d.ts +6 -0
  289. package/components/pdf-viewer/pdf-viewer.component.d.ts +20 -0
  290. package/components/pdf-viewer/pdf-viewer.directive.d.ts +4 -0
  291. package/components/pdf-viewer/pdf-viewer.module.d.ts +2 -0
  292. package/components/pdf-viewer/pdf-viewer.service.d.ts +8 -0
  293. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +4 -0
  294. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +1 -0
  295. package/components/progress/index.d.ts +4 -2
  296. package/components/progress/pipes/abstract-color-segments.d.ts +9 -0
  297. package/components/progress/pipes/progress-color-segments-async.pipe.d.ts +5 -0
  298. package/components/progress/pipes/progress-color-segments.pipe.d.ts +7 -6
  299. package/components/progress/taiga-ui-kit-components-progress.metadata.json +1 -1
  300. package/components/radio/taiga-ui-kit-components-radio.metadata.json +1 -1
  301. package/components/radio-group/taiga-ui-kit-components-radio-group.metadata.json +1 -1
  302. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +1 -1
  303. package/components/range/taiga-ui-kit-components-range.metadata.json +1 -1
  304. package/components/select/select.component.d.ts +1 -1
  305. package/components/select/taiga-ui-kit-components-select.metadata.json +1 -1
  306. package/components/select-option/select-option.component.d.ts +4 -2
  307. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +1 -1
  308. package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
  309. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  310. package/components/tabs/index.d.ts +2 -2
  311. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  312. package/components/tag/taiga-ui-kit-components-tag.metadata.json +1 -1
  313. package/components/taiga-ui-kit-components.metadata.json +1 -1
  314. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
  315. package/components/text-area/text-area.component.d.ts +2 -0
  316. package/components/toggle/index.d.ts +1 -1
  317. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
  318. package/components/tree/components/tree/tree.component.d.ts +10 -0
  319. package/components/tree/components/tree-item/tree-item.component.d.ts +17 -0
  320. package/components/tree/components/tree-item/tree-item.providers.d.ts +3 -0
  321. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +9 -0
  322. package/components/tree/directives/tree-children.directive.d.ts +5 -0
  323. package/components/tree/directives/tree-controller.directive.d.ts +13 -0
  324. package/components/tree/directives/tree-item-controller.directive.d.ts +8 -0
  325. package/components/tree/directives/tree-node.directive.d.ts +10 -0
  326. package/components/tree/index.d.ts +13 -0
  327. package/components/tree/misc/tree.constants.d.ts +5 -0
  328. package/components/tree/misc/tree.interfaces.d.ts +22 -0
  329. package/components/tree/misc/tree.service.d.ts +12 -0
  330. package/components/tree/misc/tree.tokens.d.ts +11 -0
  331. package/components/tree/package.json +13 -0
  332. package/components/tree/taiga-ui-kit-components-tree.d.ts +4 -0
  333. package/components/tree/taiga-ui-kit-components-tree.metadata.json +1 -0
  334. package/components/tree/tree.module.d.ts +2 -0
  335. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +1 -1
  336. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.metadata.json +1 -1
  337. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +1 -1
  338. package/directives/highlight/taiga-ui-kit-directives-highlight.metadata.json +1 -1
  339. package/directives/index.d.ts +1 -1
  340. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +1 -1
  341. package/directives/present/taiga-ui-kit-directives-present.metadata.json +1 -1
  342. package/directives/project-class/taiga-ui-kit-directives-project-class.metadata.json +1 -1
  343. package/directives/taiga-ui-kit-directives.metadata.json +1 -1
  344. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.metadata.json +1 -1
  345. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.metadata.json +1 -1
  346. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +5 -6
  347. package/esm2015/components/accordion/accordion.component.js +2 -2
  348. package/esm2015/components/accordion/accordion.module.js +3 -3
  349. package/esm2015/components/action/action.component.js +2 -2
  350. package/esm2015/components/arrow/arrow.module.js +1 -1
  351. package/esm2015/components/avatar/avatar.component.js +2 -2
  352. package/esm2015/components/avatar/avatar.module.js +1 -1
  353. package/esm2015/components/badge/badge.component.js +3 -3
  354. package/esm2015/components/badge/badge.module.js +1 -1
  355. package/esm2015/components/badged-content/badged-content.component.js +1 -1
  356. package/esm2015/components/badged-content/badged-content.module.js +1 -1
  357. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +2 -2
  358. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +2 -2
  359. package/esm2015/components/breadcrumbs/breadcrumbs.module.js +2 -2
  360. package/esm2015/components/breadcrumbs/index.js +2 -2
  361. package/esm2015/components/calendar-month/calendar-month.component.js +2 -2
  362. package/esm2015/components/calendar-month/calendar-month.module.js +1 -1
  363. package/esm2015/components/calendar-range/calendar-range.component.js +2 -2
  364. package/esm2015/components/checkbox/checkbox.module.js +1 -1
  365. package/esm2015/components/combo-box/combo-box.component.js +10 -5
  366. package/esm2015/components/combo-box/combo-box.module.js +1 -1
  367. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  368. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  369. package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +1 -1
  370. package/esm2015/components/field-error/field-error.module.js +1 -1
  371. package/esm2015/components/filter/filter.component.js +1 -1
  372. package/esm2015/components/filter/filter.module.js +1 -1
  373. package/esm2015/components/index.js +5 -3
  374. package/esm2015/components/input/input.component.js +2 -2
  375. package/esm2015/components/input/input.module.js +1 -1
  376. package/esm2015/components/input/input.providers.js +1 -1
  377. package/esm2015/components/input-copy/input-copy.component.js +2 -2
  378. package/esm2015/components/input-copy/input-copy.module.js +1 -1
  379. package/esm2015/components/input-count/input-count.component.js +8 -3
  380. package/esm2015/components/input-count/input-count.module.js +1 -1
  381. package/esm2015/components/input-date/input-date.component.js +3 -3
  382. package/esm2015/components/input-date/input-date.module.js +1 -1
  383. package/esm2015/components/input-date-range/input-date-range.component.js +2 -2
  384. package/esm2015/components/input-date-range/input-date-range.module.js +1 -1
  385. package/esm2015/components/input-date-time/input-date-time.component.js +2 -2
  386. package/esm2015/components/input-date-time/input-date-time.module.js +1 -1
  387. package/esm2015/components/input-file/file/file.component.js +3 -3
  388. package/esm2015/components/input-file/index.js +2 -2
  389. package/esm2015/components/input-file/input-file.component.js +3 -3
  390. package/esm2015/components/input-file/input-file.module.js +1 -1
  391. package/esm2015/components/input-inline/input-inline.component.js +1 -1
  392. package/esm2015/components/input-inline/input-inline.module.js +1 -1
  393. package/esm2015/components/input-month/input-month.component.js +1 -1
  394. package/esm2015/components/input-month-range/input-month-range.component.js +1 -1
  395. package/esm2015/components/input-number/input-number.component.js +9 -3
  396. package/esm2015/components/input-number/input-number.module.js +1 -1
  397. package/esm2015/components/input-password/index.js +2 -2
  398. package/esm2015/components/input-password/input-password.component.js +3 -3
  399. package/esm2015/components/input-password/input-password.module.js +3 -1
  400. package/esm2015/components/input-phone/input-phone.component.js +3 -3
  401. package/esm2015/components/input-phone/input-phone.module.js +1 -1
  402. package/esm2015/components/input-phone-international/const/countries.js +1 -1
  403. package/esm2015/components/input-phone-international/input-phone-international.component.js +2 -2
  404. package/esm2015/components/input-phone-international/input-phone-international.module.js +1 -1
  405. package/esm2015/components/input-range/input-range.component.js +3 -3
  406. package/esm2015/components/input-slider/input-slider.component.js +3 -3
  407. package/esm2015/components/input-tag/input-tag.component.js +3 -3
  408. package/esm2015/components/input-tag/input-tag.module.js +1 -1
  409. package/esm2015/components/input-time/input-time.component.js +3 -3
  410. package/esm2015/components/input-time/input-time.module.js +1 -1
  411. package/esm2015/components/island/island.module.js +1 -1
  412. package/esm2015/components/line-clamp/index.js +2 -2
  413. package/esm2015/components/line-clamp/line-clamp.component.js +1 -1
  414. package/esm2015/components/line-clamp/line-clamp.module.js +1 -1
  415. package/esm2015/components/marker-icon/marker-icon.module.js +1 -1
  416. package/esm2015/components/multi-select/hide-selected.pipe.js +1 -1
  417. package/esm2015/components/multi-select/index.js +1 -2
  418. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +10 -4
  419. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +1 -1
  420. package/esm2015/components/multi-select/multi-select.component.js +12 -20
  421. package/esm2015/components/multi-select/multi-select.module.js +2 -4
  422. package/esm2015/components/multi-select-option/multi-select-option.component.js +8 -10
  423. package/esm2015/components/multi-select-option/multi-select-option.module.js +1 -1
  424. package/esm2015/components/pagination/pagination.component.js +1 -1
  425. package/esm2015/components/pagination/pagination.module.js +1 -1
  426. package/esm2015/components/pdf-viewer/index.js +5 -0
  427. package/esm2015/components/pdf-viewer/pdf-viewer-options.js +1 -0
  428. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +50 -0
  429. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +21 -0
  430. package/esm2015/components/pdf-viewer/pdf-viewer.module.js +28 -0
  431. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +24 -0
  432. package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +5 -0
  433. package/esm2015/components/progress/index.js +5 -3
  434. package/esm2015/components/progress/pipes/abstract-color-segments.js +32 -0
  435. package/esm2015/components/progress/pipes/progress-color-segments-async.pipe.js +15 -0
  436. package/esm2015/components/progress/pipes/progress-color-segments.pipe.js +12 -28
  437. package/esm2015/components/progress/progress-circle/progress-circle.component.js +2 -2
  438. package/esm2015/components/progress/progress-label/progress-label.component.js +1 -1
  439. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +2 -2
  440. package/esm2015/components/progress/progress.module.js +4 -1
  441. package/esm2015/components/radio/radio.component.js +1 -1
  442. package/esm2015/components/radio/radio.module.js +1 -1
  443. package/esm2015/components/radio-group/radio-group.module.js +1 -1
  444. package/esm2015/components/radio-labeled/radio-labeled.component.js +1 -1
  445. package/esm2015/components/range/range.component.js +3 -3
  446. package/esm2015/components/range/range.module.js +1 -1
  447. package/esm2015/components/select/select.component.js +6 -4
  448. package/esm2015/components/select/select.module.js +1 -1
  449. package/esm2015/components/select-option/select-option.component.js +20 -12
  450. package/esm2015/components/select-option/select-option.module.js +1 -1
  451. package/esm2015/components/slider/slider.component.js +3 -3
  452. package/esm2015/components/slider/slider.module.js +1 -1
  453. package/esm2015/components/stepper/step/step.component.js +2 -2
  454. package/esm2015/components/stepper/stepper.component.js +1 -1
  455. package/esm2015/components/stepper/stepper.module.js +1 -1
  456. package/esm2015/components/tabs/index.js +3 -3
  457. package/esm2015/components/tabs/tab/tab.component.js +1 -1
  458. package/esm2015/components/tabs/tabs/tabs.component.js +2 -2
  459. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +3 -3
  460. package/esm2015/components/tabs/tabs.module.js +2 -2
  461. package/esm2015/components/tag/tag.component.js +3 -3
  462. package/esm2015/components/tag/tag.module.js +1 -1
  463. package/esm2015/components/text-area/text-area.component.js +10 -4
  464. package/esm2015/components/text-area/text-area.module.js +5 -2
  465. package/esm2015/components/text-area/text-area.providers.js +1 -1
  466. package/esm2015/components/toggle/index.js +2 -2
  467. package/esm2015/components/toggle/toggle.component.js +2 -2
  468. package/esm2015/components/toggle/toggle.module.js +1 -1
  469. package/esm2015/components/tree/components/tree/tree.component.js +44 -0
  470. package/esm2015/components/tree/components/tree-item/tree-item.component.js +58 -0
  471. package/esm2015/components/tree/components/tree-item/tree-item.providers.js +18 -0
  472. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +41 -0
  473. package/esm2015/components/tree/directives/tree-children.directive.js +23 -0
  474. package/esm2015/components/tree/directives/tree-controller.directive.js +62 -0
  475. package/esm2015/components/tree/directives/tree-item-controller.directive.js +36 -0
  476. package/esm2015/components/tree/directives/tree-node.directive.js +35 -0
  477. package/esm2015/components/tree/index.js +13 -0
  478. package/esm2015/components/tree/misc/tree.constants.js +9 -0
  479. package/esm2015/components/tree/misc/tree.interfaces.js +1 -0
  480. package/esm2015/components/tree/misc/tree.service.js +40 -0
  481. package/esm2015/components/tree/misc/tree.tokens.js +17 -0
  482. package/esm2015/components/tree/taiga-ui-kit-components-tree.js +5 -0
  483. package/esm2015/components/tree/tree.module.js +38 -0
  484. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +1 -1
  485. package/esm2015/directives/dropdown-context/dropdown-context.module.js +1 -1
  486. package/esm2015/directives/dropdown-hover/dropdown-hover.module.js +1 -1
  487. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +3 -2
  488. package/esm2015/directives/dropdown-selection/dropdown-selection.module.js +1 -1
  489. package/esm2015/directives/highlight/highlight.module.js +1 -1
  490. package/esm2015/directives/index.js +2 -2
  491. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +1 -1
  492. package/esm2015/directives/lazy-loading/lazy-loading.module.js +1 -1
  493. package/esm2015/directives/present/present.module.js +1 -1
  494. package/esm2015/directives/project-class/project-class.module.js +1 -1
  495. package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +1 -1
  496. package/esm2015/directives/value-accessor/value-accessor.module.js +1 -1
  497. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  498. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +1 -1
  499. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  500. package/esm2015/pipes/filter-by-input/filter-by-input.module.js +2 -2
  501. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  502. package/esm2015/pipes/stringify/stringify.module.js +1 -1
  503. package/esm2015/pipes/stringify-content/stringify-content.module.js +1 -1
  504. package/esm2015/tokens/index.js +2 -2
  505. package/esm2015/types/status.js +1 -1
  506. package/esm2015/utils/format/string-hash-to-hsl.js +1 -3
  507. package/esm2015/utils/mask/index.js +2 -2
  508. package/esm5/components/accordion/accordion-item/accordion-item.component.js +5 -6
  509. package/esm5/components/accordion/accordion.component.js +2 -2
  510. package/esm5/components/accordion/accordion.module.js +3 -3
  511. package/esm5/components/action/action.component.js +2 -2
  512. package/esm5/components/arrow/arrow.module.js +1 -1
  513. package/esm5/components/avatar/avatar.component.js +2 -2
  514. package/esm5/components/avatar/avatar.module.js +1 -1
  515. package/esm5/components/badge/badge.component.js +3 -3
  516. package/esm5/components/badge/badge.module.js +1 -1
  517. package/esm5/components/badged-content/badged-content.component.js +1 -1
  518. package/esm5/components/badged-content/badged-content.module.js +1 -1
  519. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +2 -2
  520. package/esm5/components/breadcrumbs/breadcrumbs.component.js +2 -2
  521. package/esm5/components/breadcrumbs/breadcrumbs.module.js +2 -2
  522. package/esm5/components/breadcrumbs/index.js +2 -2
  523. package/esm5/components/calendar-month/calendar-month.component.js +2 -2
  524. package/esm5/components/calendar-month/calendar-month.module.js +1 -1
  525. package/esm5/components/calendar-range/calendar-range.component.js +2 -2
  526. package/esm5/components/checkbox/checkbox.module.js +1 -1
  527. package/esm5/components/combo-box/combo-box.component.js +14 -5
  528. package/esm5/components/combo-box/combo-box.module.js +1 -1
  529. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  530. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  531. package/esm5/components/data-list-wrapper/data-list-wrapper.module.js +1 -1
  532. package/esm5/components/field-error/field-error.module.js +1 -1
  533. package/esm5/components/filter/filter.component.js +1 -1
  534. package/esm5/components/filter/filter.module.js +1 -1
  535. package/esm5/components/index.js +5 -3
  536. package/esm5/components/input/input.component.js +2 -2
  537. package/esm5/components/input/input.module.js +1 -1
  538. package/esm5/components/input/input.providers.js +1 -1
  539. package/esm5/components/input-copy/input-copy.component.js +2 -2
  540. package/esm5/components/input-copy/input-copy.module.js +1 -1
  541. package/esm5/components/input-count/input-count.component.js +8 -3
  542. package/esm5/components/input-count/input-count.module.js +1 -1
  543. package/esm5/components/input-date/input-date.component.js +3 -3
  544. package/esm5/components/input-date/input-date.module.js +1 -1
  545. package/esm5/components/input-date-range/input-date-range.component.js +2 -2
  546. package/esm5/components/input-date-range/input-date-range.module.js +1 -1
  547. package/esm5/components/input-date-time/input-date-time.component.js +2 -2
  548. package/esm5/components/input-date-time/input-date-time.module.js +1 -1
  549. package/esm5/components/input-file/file/file.component.js +3 -3
  550. package/esm5/components/input-file/index.js +2 -2
  551. package/esm5/components/input-file/input-file.component.js +3 -3
  552. package/esm5/components/input-file/input-file.module.js +1 -1
  553. package/esm5/components/input-inline/input-inline.component.js +1 -1
  554. package/esm5/components/input-inline/input-inline.module.js +1 -1
  555. package/esm5/components/input-month/input-month.component.js +1 -1
  556. package/esm5/components/input-month-range/input-month-range.component.js +1 -1
  557. package/esm5/components/input-number/input-number.component.js +9 -3
  558. package/esm5/components/input-number/input-number.module.js +1 -1
  559. package/esm5/components/input-password/index.js +2 -2
  560. package/esm5/components/input-password/input-password.component.js +3 -3
  561. package/esm5/components/input-password/input-password.module.js +3 -1
  562. package/esm5/components/input-phone/input-phone.component.js +3 -3
  563. package/esm5/components/input-phone/input-phone.module.js +1 -1
  564. package/esm5/components/input-phone-international/const/countries.js +1 -1
  565. package/esm5/components/input-phone-international/input-phone-international.component.js +2 -2
  566. package/esm5/components/input-phone-international/input-phone-international.module.js +1 -1
  567. package/esm5/components/input-range/input-range.component.js +3 -3
  568. package/esm5/components/input-slider/input-slider.component.js +3 -3
  569. package/esm5/components/input-tag/input-tag.component.js +3 -3
  570. package/esm5/components/input-tag/input-tag.module.js +1 -1
  571. package/esm5/components/input-time/input-time.component.js +3 -3
  572. package/esm5/components/input-time/input-time.module.js +1 -1
  573. package/esm5/components/island/island.module.js +1 -1
  574. package/esm5/components/line-clamp/index.js +2 -2
  575. package/esm5/components/line-clamp/line-clamp.component.js +1 -1
  576. package/esm5/components/line-clamp/line-clamp.module.js +1 -1
  577. package/esm5/components/marker-icon/marker-icon.module.js +1 -1
  578. package/esm5/components/multi-select/hide-selected.pipe.js +1 -1
  579. package/esm5/components/multi-select/index.js +1 -2
  580. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +10 -4
  581. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +1 -1
  582. package/esm5/components/multi-select/multi-select.component.js +12 -24
  583. package/esm5/components/multi-select/multi-select.module.js +2 -4
  584. package/esm5/components/multi-select-option/multi-select-option.component.js +14 -11
  585. package/esm5/components/multi-select-option/multi-select-option.module.js +1 -1
  586. package/esm5/components/pagination/pagination.component.js +1 -1
  587. package/esm5/components/pagination/pagination.module.js +1 -1
  588. package/esm5/components/pdf-viewer/index.js +5 -0
  589. package/esm5/components/pdf-viewer/pdf-viewer-options.js +1 -0
  590. package/esm5/components/pdf-viewer/pdf-viewer.component.js +51 -0
  591. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +26 -0
  592. package/esm5/components/pdf-viewer/pdf-viewer.module.js +31 -0
  593. package/esm5/components/pdf-viewer/pdf-viewer.service.js +27 -0
  594. package/esm5/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +5 -0
  595. package/esm5/components/progress/index.js +5 -3
  596. package/esm5/components/progress/pipes/abstract-color-segments.js +35 -0
  597. package/esm5/components/progress/pipes/progress-color-segments-async.pipe.js +21 -0
  598. package/esm5/components/progress/pipes/progress-color-segments.pipe.js +16 -30
  599. package/esm5/components/progress/progress-circle/progress-circle.component.js +2 -2
  600. package/esm5/components/progress/progress-label/progress-label.component.js +1 -1
  601. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +2 -2
  602. package/esm5/components/progress/progress.module.js +4 -1
  603. package/esm5/components/radio/radio.component.js +1 -1
  604. package/esm5/components/radio/radio.module.js +1 -1
  605. package/esm5/components/radio-group/radio-group.module.js +1 -1
  606. package/esm5/components/radio-labeled/radio-labeled.component.js +1 -1
  607. package/esm5/components/range/range.component.js +3 -3
  608. package/esm5/components/range/range.module.js +1 -1
  609. package/esm5/components/select/select.component.js +10 -4
  610. package/esm5/components/select/select.module.js +1 -1
  611. package/esm5/components/select-option/select-option.component.js +24 -14
  612. package/esm5/components/select-option/select-option.module.js +1 -1
  613. package/esm5/components/slider/slider.component.js +3 -3
  614. package/esm5/components/slider/slider.module.js +1 -1
  615. package/esm5/components/stepper/step/step.component.js +2 -2
  616. package/esm5/components/stepper/stepper.component.js +1 -1
  617. package/esm5/components/stepper/stepper.module.js +1 -1
  618. package/esm5/components/tabs/index.js +3 -3
  619. package/esm5/components/tabs/tab/tab.component.js +1 -1
  620. package/esm5/components/tabs/tabs/tabs.component.js +2 -2
  621. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +3 -3
  622. package/esm5/components/tabs/tabs.module.js +2 -2
  623. package/esm5/components/tag/tag.component.js +3 -3
  624. package/esm5/components/tag/tag.module.js +1 -1
  625. package/esm5/components/text-area/text-area.component.js +18 -4
  626. package/esm5/components/text-area/text-area.module.js +5 -2
  627. package/esm5/components/text-area/text-area.providers.js +1 -1
  628. package/esm5/components/toggle/index.js +2 -2
  629. package/esm5/components/toggle/toggle.component.js +2 -2
  630. package/esm5/components/toggle/toggle.module.js +1 -1
  631. package/esm5/components/tree/components/tree/tree.component.js +53 -0
  632. package/esm5/components/tree/components/tree-item/tree-item.component.js +68 -0
  633. package/esm5/components/tree/components/tree-item/tree-item.providers.js +18 -0
  634. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +50 -0
  635. package/esm5/components/tree/directives/tree-children.directive.js +25 -0
  636. package/esm5/components/tree/directives/tree-controller.directive.js +64 -0
  637. package/esm5/components/tree/directives/tree-item-controller.directive.js +38 -0
  638. package/esm5/components/tree/directives/tree-node.directive.js +40 -0
  639. package/esm5/components/tree/index.js +13 -0
  640. package/esm5/components/tree/misc/tree.constants.js +9 -0
  641. package/esm5/components/tree/misc/tree.interfaces.js +1 -0
  642. package/esm5/components/tree/misc/tree.service.js +44 -0
  643. package/esm5/components/tree/misc/tree.tokens.js +17 -0
  644. package/esm5/components/tree/taiga-ui-kit-components-tree.js +5 -0
  645. package/esm5/components/tree/tree.module.js +41 -0
  646. package/esm5/directives/dropdown-context/dropdown-context.directive.js +1 -1
  647. package/esm5/directives/dropdown-context/dropdown-context.module.js +1 -1
  648. package/esm5/directives/dropdown-hover/dropdown-hover.module.js +1 -1
  649. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +3 -2
  650. package/esm5/directives/dropdown-selection/dropdown-selection.module.js +1 -1
  651. package/esm5/directives/highlight/highlight.module.js +1 -1
  652. package/esm5/directives/index.js +2 -2
  653. package/esm5/directives/lazy-loading/lazy-loading.directive.js +1 -1
  654. package/esm5/directives/lazy-loading/lazy-loading.module.js +1 -1
  655. package/esm5/directives/present/present.module.js +1 -1
  656. package/esm5/directives/project-class/project-class.module.js +1 -1
  657. package/esm5/directives/unfinished-validator/unfinished-validator.module.js +1 -1
  658. package/esm5/directives/value-accessor/value-accessor.module.js +1 -1
  659. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  660. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.module.js +1 -1
  661. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  662. package/esm5/pipes/filter-by-input/filter-by-input.module.js +2 -2
  663. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  664. package/esm5/pipes/stringify/stringify.module.js +1 -1
  665. package/esm5/pipes/stringify-content/stringify-content.module.js +1 -1
  666. package/esm5/tokens/index.js +2 -2
  667. package/esm5/types/status.js +1 -1
  668. package/esm5/utils/format/string-hash-to-hsl.js +1 -3
  669. package/esm5/utils/mask/index.js +2 -2
  670. package/fesm2015/taiga-ui-kit-components-accordion.js +5 -6
  671. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  672. package/fesm2015/taiga-ui-kit-components-action.js +2 -2
  673. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  674. package/fesm2015/taiga-ui-kit-components-avatar.js +1 -1
  675. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  676. package/fesm2015/taiga-ui-kit-components-badge.js +2 -2
  677. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  678. package/fesm2015/taiga-ui-kit-components-badged-content.js +1 -1
  679. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  680. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +4 -4
  681. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  682. package/fesm2015/taiga-ui-kit-components-calendar-month.js +1 -1
  683. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  684. package/fesm2015/taiga-ui-kit-components-calendar-range.js +1 -1
  685. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  686. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  687. package/fesm2015/taiga-ui-kit-components-combo-box.js +9 -4
  688. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  689. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +2 -2
  690. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  691. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  692. package/fesm2015/taiga-ui-kit-components-filter.js +1 -1
  693. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  694. package/fesm2015/taiga-ui-kit-components-input-copy.js +2 -2
  695. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  696. package/fesm2015/taiga-ui-kit-components-input-count.js +7 -2
  697. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  698. package/fesm2015/taiga-ui-kit-components-input-date-range.js +2 -2
  699. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  700. package/fesm2015/taiga-ui-kit-components-input-date-time.js +2 -2
  701. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  702. package/fesm2015/taiga-ui-kit-components-input-date.js +2 -2
  703. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  704. package/fesm2015/taiga-ui-kit-components-input-file.js +148 -148
  705. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  706. package/fesm2015/taiga-ui-kit-components-input-inline.js +1 -1
  707. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  708. package/fesm2015/taiga-ui-kit-components-input-month-range.js +1 -1
  709. package/fesm2015/taiga-ui-kit-components-input-month.js +1 -1
  710. package/fesm2015/taiga-ui-kit-components-input-number.js +8 -2
  711. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  712. package/fesm2015/taiga-ui-kit-components-input-password.js +5 -4
  713. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  714. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +1 -1
  715. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  716. package/fesm2015/taiga-ui-kit-components-input-phone.js +2 -2
  717. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  718. package/fesm2015/taiga-ui-kit-components-input-range.js +2 -2
  719. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  720. package/fesm2015/taiga-ui-kit-components-input-slider.js +2 -2
  721. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  722. package/fesm2015/taiga-ui-kit-components-input-tag.js +2 -2
  723. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  724. package/fesm2015/taiga-ui-kit-components-input-time.js +2 -2
  725. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  726. package/fesm2015/taiga-ui-kit-components-input.js +1 -1
  727. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  728. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  729. package/fesm2015/taiga-ui-kit-components-line-clamp.js +2 -2
  730. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  731. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  732. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +7 -9
  733. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  734. package/fesm2015/taiga-ui-kit-components-multi-select.js +21 -40
  735. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  736. package/fesm2015/taiga-ui-kit-components-pagination.js +1 -1
  737. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  738. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +108 -0
  739. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -0
  740. package/fesm2015/taiga-ui-kit-components-progress.js +41 -16
  741. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  742. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  743. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +1 -1
  744. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  745. package/fesm2015/taiga-ui-kit-components-range.js +2 -2
  746. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  747. package/fesm2015/taiga-ui-kit-components-select-option.js +19 -11
  748. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  749. package/fesm2015/taiga-ui-kit-components-select.js +5 -3
  750. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  751. package/fesm2015/taiga-ui-kit-components-slider.js +2 -2
  752. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  753. package/fesm2015/taiga-ui-kit-components-stepper.js +1 -1
  754. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  755. package/fesm2015/taiga-ui-kit-components-tabs.js +3 -3
  756. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  757. package/fesm2015/taiga-ui-kit-components-tag.js +2 -2
  758. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  759. package/fesm2015/taiga-ui-kit-components-text-area.js +12 -3
  760. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  761. package/fesm2015/taiga-ui-kit-components-toggle.js +2 -2
  762. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  763. package/fesm2015/taiga-ui-kit-components-tree.js +371 -0
  764. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -0
  765. package/fesm2015/taiga-ui-kit-components.js +4 -2
  766. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  767. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  768. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  769. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +2 -1
  770. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  771. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  772. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  773. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  774. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  775. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  776. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  777. package/fesm2015/taiga-ui-kit-directives.js +1 -1
  778. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  779. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  780. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +15 -15
  781. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  782. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  783. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  784. package/fesm2015/taiga-ui-kit-tokens.js +14 -14
  785. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  786. package/fesm2015/taiga-ui-kit-utils-format.js +0 -2
  787. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  788. package/fesm5/taiga-ui-kit-components-accordion.js +5 -6
  789. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  790. package/fesm5/taiga-ui-kit-components-action.js +2 -2
  791. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  792. package/fesm5/taiga-ui-kit-components-avatar.js +1 -1
  793. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  794. package/fesm5/taiga-ui-kit-components-badge.js +2 -2
  795. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  796. package/fesm5/taiga-ui-kit-components-badged-content.js +1 -1
  797. package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
  798. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +4 -4
  799. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  800. package/fesm5/taiga-ui-kit-components-calendar-month.js +1 -1
  801. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  802. package/fesm5/taiga-ui-kit-components-calendar-range.js +1 -1
  803. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
  804. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  805. package/fesm5/taiga-ui-kit-components-combo-box.js +13 -4
  806. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  807. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +2 -2
  808. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  809. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  810. package/fesm5/taiga-ui-kit-components-filter.js +1 -1
  811. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  812. package/fesm5/taiga-ui-kit-components-input-copy.js +2 -2
  813. package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
  814. package/fesm5/taiga-ui-kit-components-input-count.js +7 -2
  815. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  816. package/fesm5/taiga-ui-kit-components-input-date-range.js +2 -2
  817. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  818. package/fesm5/taiga-ui-kit-components-input-date-time.js +2 -2
  819. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  820. package/fesm5/taiga-ui-kit-components-input-date.js +2 -2
  821. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  822. package/fesm5/taiga-ui-kit-components-input-file.js +194 -194
  823. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  824. package/fesm5/taiga-ui-kit-components-input-inline.js +1 -1
  825. package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
  826. package/fesm5/taiga-ui-kit-components-input-month-range.js +1 -1
  827. package/fesm5/taiga-ui-kit-components-input-month.js +1 -1
  828. package/fesm5/taiga-ui-kit-components-input-number.js +8 -2
  829. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  830. package/fesm5/taiga-ui-kit-components-input-password.js +5 -4
  831. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  832. package/fesm5/taiga-ui-kit-components-input-phone-international.js +1 -1
  833. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  834. package/fesm5/taiga-ui-kit-components-input-phone.js +2 -2
  835. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  836. package/fesm5/taiga-ui-kit-components-input-range.js +2 -2
  837. package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
  838. package/fesm5/taiga-ui-kit-components-input-slider.js +2 -2
  839. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  840. package/fesm5/taiga-ui-kit-components-input-tag.js +2 -2
  841. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  842. package/fesm5/taiga-ui-kit-components-input-time.js +2 -2
  843. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  844. package/fesm5/taiga-ui-kit-components-input.js +1 -1
  845. package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
  846. package/fesm5/taiga-ui-kit-components-island.js.map +1 -1
  847. package/fesm5/taiga-ui-kit-components-line-clamp.js +2 -2
  848. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
  849. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  850. package/fesm5/taiga-ui-kit-components-multi-select-option.js +13 -10
  851. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  852. package/fesm5/taiga-ui-kit-components-multi-select.js +21 -47
  853. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  854. package/fesm5/taiga-ui-kit-components-pagination.js +1 -1
  855. package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
  856. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +120 -0
  857. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -0
  858. package/fesm5/taiga-ui-kit-components-progress.js +55 -19
  859. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  860. package/fesm5/taiga-ui-kit-components-radio-group.js.map +1 -1
  861. package/fesm5/taiga-ui-kit-components-radio-labeled.js +1 -1
  862. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  863. package/fesm5/taiga-ui-kit-components-range.js +2 -2
  864. package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
  865. package/fesm5/taiga-ui-kit-components-select-option.js +23 -13
  866. package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
  867. package/fesm5/taiga-ui-kit-components-select.js +9 -3
  868. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  869. package/fesm5/taiga-ui-kit-components-slider.js +2 -2
  870. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  871. package/fesm5/taiga-ui-kit-components-stepper.js +1 -1
  872. package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
  873. package/fesm5/taiga-ui-kit-components-tabs.js +3 -3
  874. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  875. package/fesm5/taiga-ui-kit-components-tag.js +2 -2
  876. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  877. package/fesm5/taiga-ui-kit-components-text-area.js +20 -3
  878. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  879. package/fesm5/taiga-ui-kit-components-toggle.js +2 -2
  880. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  881. package/fesm5/taiga-ui-kit-components-tree.js +417 -0
  882. package/fesm5/taiga-ui-kit-components-tree.js.map +1 -0
  883. package/fesm5/taiga-ui-kit-components.js +4 -2
  884. package/fesm5/taiga-ui-kit-components.js.map +1 -1
  885. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  886. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  887. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +2 -1
  888. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  889. package/fesm5/taiga-ui-kit-directives-highlight.js.map +1 -1
  890. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  891. package/fesm5/taiga-ui-kit-directives-present.js.map +1 -1
  892. package/fesm5/taiga-ui-kit-directives-project-class.js.map +1 -1
  893. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  894. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  895. package/fesm5/taiga-ui-kit-directives.js +1 -1
  896. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  897. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  898. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +22 -22
  899. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  900. package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  901. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +1 -1
  902. package/fesm5/taiga-ui-kit-tokens.js +14 -14
  903. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  904. package/fesm5/taiga-ui-kit-utils-format.js +0 -2
  905. package/fesm5/taiga-ui-kit-utils-format.js.map +1 -1
  906. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +1 -1
  907. package/package.json +5 -5
  908. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.metadata.json +1 -1
  909. package/pipes/stringify/taiga-ui-kit-pipes-stringify.metadata.json +1 -1
  910. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.metadata.json +1 -1
  911. package/tokens/index.d.ts +1 -1
  912. package/tokens/taiga-ui-kit-tokens.metadata.json +1 -1
  913. package/types/status.d.ts +1 -1
  914. package/utils/mask/index.d.ts +1 -1
  915. package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +1 -1
  916. package/components/multi-select/multi-select-group/multi-select-group-reset.directive.d.ts +0 -3
  917. package/esm2015/components/multi-select/multi-select-group/multi-select-group-reset.directive.js +0 -20
  918. package/esm5/components/multi-select/multi-select-group/multi-select-group-reset.directive.js +0 -23
@@ -12,5 +12,5 @@
12
12
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
13
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
14
  PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */var l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function c(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}function d(e,t){return function(n,i){t(n,i,e)}}function p(e){return Number.isInteger(e)&&e>=0}var f=function(e){function u(i,o,r){var a=e.call(this)||this;return a.elementRef=i,a.modeDirective=o,a.texts$=r,a.length=1,a.size="m",a.disabled=!1,a.activePadding=1,a.sidePadding=1,a.content=null,a.index=0,a.indexChange=new t.EventEmitter,a.elements=n.EMPTY_QUERY,a}var s;return function(e,t){function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(u,e),s=u,Object.defineProperty(u.prototype,"nativeFocusableElement",{get:function(){if(this.disabled)return null;for(var e=0,t=this.elementsLength,n=0;n<t;n++){var i=this.getItemIndexByElementIndex(n);if(i&&e++,i===this.index)break}var o=this.elements.find((function(t,n){return n===e}));return o?o.nativeFocusableElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"focused",{get:function(){return n.isNativeFocusedIn(this.elementRef.nativeElement)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"elementsLength",{get:function(){return this.itemsFit?this.length:this.maxElementsLength},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"sizeM",{get:function(){return"m"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"mode",{get:function(){return this.modeDirective?this.modeDirective.mode:null},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"arrowIsDisabledLeft",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"arrowIsDisabledRight",{get:function(){return 0===this.reverseIndex},enumerable:!0,configurable:!0}),u.prototype.elementIsFocusable=function(e){return this.index===e&&!this.focused},u.prototype.getItemContext=function(e){return{$implicit:e}},u.prototype.getItemIndexByElementIndex=function(e){if(!this.sizeM)return e;if(e<this.sidePadding)return e;if(e===this.sidePadding&&this.hasCollapsedItems(this.index))return null;var t=this.lastElementIndex-e;if(t===this.sidePadding&&this.hasCollapsedItems(this.reverseIndex))return null;if(t<this.sidePadding)return this.lastIndex-t;var i=this.index-this.maxHalfLength+e;return n.clamp(i,e,this.lastIndex-t)},u.prototype.getElementMode=function(e){return this.index===e?"primary":"flat"},u.prototype.getSmallElementMode=function(e,t){return this.index===e&&"onLight"!==t?"primary":"secondary"},u.prototype.onElementClick=function(e){this.updateIndex(e)},u.prototype.onElementKeyDownArrowLeft=function(e){if(e!==this.elements.first){var t=this.elements.find((function(t,n,i){return i[n+1]===e}));t&&t.nativeFocusableElement&&n.setNativeFocused(t.nativeFocusableElement)}},u.prototype.onElementKeyDownArrowRight=function(e){if(e!==this.elements.last){var t=this.elements.find((function(t,n,i){return i[n-1]===e}));t&&t.nativeFocusableElement&&n.setNativeFocused(t.nativeFocusableElement)}},u.prototype.onArrowClick=function(e){this.tryChangeTo(e),this.focusActive()},u.prototype.onActiveZone=function(e){this.updateFocused(e)},Object.defineProperty(u.prototype,"reverseIndex",{get:function(){return this.lastIndex-this.index},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"maxHalfLength",{get:function(){return this.sidePadding+1+this.activePadding},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"itemsFit",{get:function(){return this.length<=this.maxElementsLength},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"maxElementsLength",{get:function(){return 2*this.maxHalfLength+1},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"lastIndex",{get:function(){return this.length-1},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"lastElementIndex",{get:function(){return this.elementsLength-1},enumerable:!0,configurable:!0}),u.prototype.hasCollapsedItems=function(e){return!this.itemsFit&&e>this.maxHalfLength},u.prototype.tryChangeTo=function(e){this.updateIndex(n.clamp(this.index+r.horizontalDirectionToNumber(e),0,this.lastIndex))},u.prototype.focusActive=function(){var e=this.nativeFocusableElement;e&&n.setNativeFocused(e)},u.prototype.updateIndex=function(e){this.index!==e&&(this.index=e,this.indexChange.emit(e))},u.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:i.TuiModeDirective,decorators:[{type:t.Optional},{type:t.Inject,args:[i.TuiModeDirective]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[o.TUI_PAGINATION_TEXTS]}]}]},c([t.Input(),n.tuiDefaultProp(p,"Must be non-negative integer")],u.prototype,"length",void 0),c([t.Input(),n.tuiDefaultProp()],u.prototype,"size",void 0),c([t.Input(),n.tuiDefaultProp()],u.prototype,"disabled",void 0),c([t.Input(),n.tuiDefaultProp()],u.prototype,"activePadding",void 0),c([t.Input(),n.tuiDefaultProp()],u.prototype,"sidePadding",void 0),c([t.Input(),n.tuiDefaultProp()],u.prototype,"content",void 0),c([t.Input(),n.tuiDefaultProp(p,"Must be non-negative integer")],u.prototype,"index",void 0),c([t.Output()],u.prototype,"indexChange",void 0),c([t.ViewChildren("element",{read:n.TUI_FOCUSABLE_ITEM_ACCESSOR})],u.prototype,"elements",void 0),u=s=c([t.Component({selector:"tui-pagination",template:'<div class="content" (tuiActiveZoneChange)="onActiveZone($event)">\n <ng-container *ngIf="sizeM && (texts$ | async) as texts; else smallButtons">\n <button\n tuiIconButton\n type="button"\n tuiPreventDefault="mousedown"\n class="button"\n size="s"\n appearance="flat"\n icon="tuiIconChevronLeft"\n [title]="texts[0]"\n [disabled]="arrowIsDisabledLeft"\n [focusable]="false"\n (click)="onArrowClick(\'left\')"\n ></button>\n <ng-container *tuiRepeatTimes="let elementIndex of elementsLength">\n <ng-container\n *tuiLet="getItemIndexByElementIndex(elementIndex) as index"\n >\n <button\n *ngIf="index !== null; else dotsTemplate"\n #element\n tuiButton\n type="button"\n automation-id="tui-pagination__element"\n class="button"\n shape="square"\n size="s"\n [disabled]="disabled"\n [focusable]="elementIsFocusable(index)"\n [appearance]="getElementMode(index)"\n (click)="onElementClick(index)"\n (keydown.arrowLeft.prevent)="onElementKeyDownArrowLeft(element)"\n (keydown.arrowRight.prevent)="onElementKeyDownArrowRight(element)"\n >\n <div\n polymorpheus-outlet\n [content]="content || index + 1"\n [context]="getItemContext(index)"\n ></div>\n </button>\n </ng-container>\n </ng-container>\n <button\n tuiIconButton\n type="button"\n tuiPreventDefault="mousedown"\n class="button"\n size="s"\n appearance="flat"\n icon="tuiIconChevronRight"\n [title]="texts[1]"\n [disabled]="arrowIsDisabledRight"\n [focusable]="false"\n (click)="onArrowClick(\'right\')"\n ></button>\n </ng-container>\n <ng-template #smallButtons>\n <button\n *tuiRepeatTimes="let indexItem of length"\n #element\n tuiButton\n type="button"\n class="button button_small"\n shape="square"\n [class.button_active]="indexItem === index"\n [disabled]="disabled"\n [focusable]="elementIsFocusable(indexItem)"\n [appearance]="getSmallElementMode(indexItem, mode)"\n (click)="onElementClick(indexItem)"\n (keydown.arrowLeft.prevent)="onElementKeyDownArrowLeft(element)"\n (keydown.arrowRight.prevent)="onElementKeyDownArrowRight(element)"\n ></button>\n </ng-template>\n <ng-template #dotsTemplate>\n <div automation-id="tui-pagination__element" class="dots"></div>\n </ng-template>\n</div>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:n.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return s}))}],styles:[":host{font:var(--tui-font-text-s);color:var(--tui-text-01);display:block;text-align:center}.content{display:flex;justify-content:center}.button{margin:0 .125rem;flex-shrink:0}.button_active{background:currentColor}.button.button.button_small{width:.5rem;height:.5rem;margin:0}.button.button.button_small:not(:first-child){margin-left:.5rem}.dots{width:var(--tui-height-s);height:var(--tui-height-s);line-height:var(--tui-height-s);margin:0 .125rem;flex-shrink:0;color:var(--tui-text-03);text-align:center;cursor:default}.dots:before{content:'\\2026'}"]}),d(0,t.Inject(t.ElementRef)),d(1,t.Optional()),d(1,t.Inject(i.TuiModeDirective)),d(2,t.Inject(o.TUI_PAGINATION_TEXTS))],u)}(n.AbstractTuiInteractive),m=function(){function e(){}return e=c([t.NgModule({imports:[u.CommonModule,n.TuiRepeatTimesModule,n.TuiLetModule,s.PolymorpheusModule,n.TuiPreventDefaultModule,n.TuiActiveZoneModule,i.TuiButtonModule],declarations:[f],exports:[f]})],e)}();e.TuiPaginationComponent=f,e.TuiPaginationModule=m,e.nonNegativeInteger=p,Object.defineProperty(e,"__esModule",{value:!0})}));
15
+ ***************************************************************************** */var l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function c(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}function d(e,t){return function(n,i){t(n,i,e)}}function p(e){return Number.isInteger(e)&&e>=0}var f=function(e){function u(i,o,r){var a=e.call(this)||this;return a.elementRef=i,a.modeDirective=o,a.texts$=r,a.length=1,a.size="m",a.disabled=!1,a.activePadding=1,a.sidePadding=1,a.content=null,a.index=0,a.indexChange=new t.EventEmitter,a.elements=n.EMPTY_QUERY,a}var s;return function(e,t){function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(u,e),s=u,Object.defineProperty(u.prototype,"nativeFocusableElement",{get:function(){if(this.disabled)return null;for(var e=0,t=this.elementsLength,n=0;n<t;n++){var i=this.getItemIndexByElementIndex(n);if(i&&e++,i===this.index)break}var o=this.elements.find((function(t,n){return n===e}));return o?o.nativeFocusableElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"focused",{get:function(){return n.isNativeFocusedIn(this.elementRef.nativeElement)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"elementsLength",{get:function(){return this.itemsFit?this.length:this.maxElementsLength},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"sizeM",{get:function(){return"m"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"mode",{get:function(){return this.modeDirective?this.modeDirective.mode:null},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"arrowIsDisabledLeft",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"arrowIsDisabledRight",{get:function(){return 0===this.reverseIndex},enumerable:!0,configurable:!0}),u.prototype.elementIsFocusable=function(e){return this.index===e&&!this.focused},u.prototype.getItemContext=function(e){return{$implicit:e}},u.prototype.getItemIndexByElementIndex=function(e){if(!this.sizeM)return e;if(e<this.sidePadding)return e;if(e===this.sidePadding&&this.hasCollapsedItems(this.index))return null;var t=this.lastElementIndex-e;if(t===this.sidePadding&&this.hasCollapsedItems(this.reverseIndex))return null;if(t<this.sidePadding)return this.lastIndex-t;var i=this.index-this.maxHalfLength+e;return n.clamp(i,e,this.lastIndex-t)},u.prototype.getElementMode=function(e){return this.index===e?"primary":"flat"},u.prototype.getSmallElementMode=function(e,t){return this.index===e&&"onLight"!==t?"primary":"secondary"},u.prototype.onElementClick=function(e){this.updateIndex(e)},u.prototype.onElementKeyDownArrowLeft=function(e){if(e!==this.elements.first){var t=this.elements.find((function(t,n,i){return i[n+1]===e}));t&&t.nativeFocusableElement&&n.setNativeFocused(t.nativeFocusableElement)}},u.prototype.onElementKeyDownArrowRight=function(e){if(e!==this.elements.last){var t=this.elements.find((function(t,n,i){return i[n-1]===e}));t&&t.nativeFocusableElement&&n.setNativeFocused(t.nativeFocusableElement)}},u.prototype.onArrowClick=function(e){this.tryChangeTo(e),this.focusActive()},u.prototype.onActiveZone=function(e){this.updateFocused(e)},Object.defineProperty(u.prototype,"reverseIndex",{get:function(){return this.lastIndex-this.index},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"maxHalfLength",{get:function(){return this.sidePadding+1+this.activePadding},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"itemsFit",{get:function(){return this.length<=this.maxElementsLength},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"maxElementsLength",{get:function(){return 2*this.maxHalfLength+1},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"lastIndex",{get:function(){return this.length-1},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"lastElementIndex",{get:function(){return this.elementsLength-1},enumerable:!0,configurable:!0}),u.prototype.hasCollapsedItems=function(e){return!this.itemsFit&&e>this.maxHalfLength},u.prototype.tryChangeTo=function(e){this.updateIndex(n.clamp(this.index+r.horizontalDirectionToNumber(e),0,this.lastIndex))},u.prototype.focusActive=function(){var e=this.nativeFocusableElement;e&&n.setNativeFocused(e)},u.prototype.updateIndex=function(e){this.index!==e&&(this.index=e,this.indexChange.emit(e))},u.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:i.TuiModeDirective,decorators:[{type:t.Optional},{type:t.Inject,args:[i.TuiModeDirective]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[o.TUI_PAGINATION_TEXTS]}]}]},c([t.Input(),n.tuiDefaultProp(p,"Must be non-negative integer")],u.prototype,"length",void 0),c([t.Input(),n.tuiDefaultProp()],u.prototype,"size",void 0),c([t.Input(),n.tuiDefaultProp()],u.prototype,"disabled",void 0),c([t.Input(),n.tuiDefaultProp()],u.prototype,"activePadding",void 0),c([t.Input(),n.tuiDefaultProp()],u.prototype,"sidePadding",void 0),c([t.Input(),n.tuiDefaultProp()],u.prototype,"content",void 0),c([t.Input(),n.tuiDefaultProp(p,"Must be non-negative integer")],u.prototype,"index",void 0),c([t.Output()],u.prototype,"indexChange",void 0),c([t.ViewChildren("element",{read:n.TUI_FOCUSABLE_ITEM_ACCESSOR})],u.prototype,"elements",void 0),u=s=c([t.Component({selector:"tui-pagination",template:'<div class="content" (tuiActiveZoneChange)="onActiveZone($event)">\n <ng-container *ngIf="sizeM && (texts$ | async) as texts; else smallButtons">\n <button\n tuiIconButton\n type="button"\n tuiPreventDefault="mousedown"\n size="s"\n appearance="flat"\n icon="tuiIconChevronLeft"\n class="button"\n [title]="texts[0]"\n [disabled]="arrowIsDisabledLeft"\n [focusable]="false"\n (click)="onArrowClick(\'left\')"\n ></button>\n <ng-container *tuiRepeatTimes="let elementIndex of elementsLength">\n <ng-container\n *tuiLet="getItemIndexByElementIndex(elementIndex) as index"\n >\n <button\n *ngIf="index !== null; else dotsTemplate"\n #element\n tuiButton\n type="button"\n automation-id="tui-pagination__element"\n shape="square"\n size="s"\n class="button"\n [disabled]="disabled"\n [focusable]="elementIsFocusable(index)"\n [appearance]="getElementMode(index)"\n (click)="onElementClick(index)"\n (keydown.arrowLeft.prevent)="onElementKeyDownArrowLeft(element)"\n (keydown.arrowRight.prevent)="onElementKeyDownArrowRight(element)"\n >\n <div\n polymorpheus-outlet\n [content]="content || index + 1"\n [context]="getItemContext(index)"\n ></div>\n </button>\n </ng-container>\n </ng-container>\n <button\n tuiIconButton\n type="button"\n tuiPreventDefault="mousedown"\n size="s"\n appearance="flat"\n icon="tuiIconChevronRight"\n class="button"\n [title]="texts[1]"\n [disabled]="arrowIsDisabledRight"\n [focusable]="false"\n (click)="onArrowClick(\'right\')"\n ></button>\n </ng-container>\n <ng-template #smallButtons>\n <button\n *tuiRepeatTimes="let indexItem of length"\n #element\n tuiButton\n type="button"\n shape="square"\n class="button button_small"\n [class.button_active]="indexItem === index"\n [disabled]="disabled"\n [focusable]="elementIsFocusable(indexItem)"\n [appearance]="getSmallElementMode(indexItem, mode)"\n (click)="onElementClick(indexItem)"\n (keydown.arrowLeft.prevent)="onElementKeyDownArrowLeft(element)"\n (keydown.arrowRight.prevent)="onElementKeyDownArrowRight(element)"\n ></button>\n </ng-template>\n <ng-template #dotsTemplate>\n <div automation-id="tui-pagination__element" class="dots"></div>\n </ng-template>\n</div>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:n.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return s}))}],styles:[":host{font:var(--tui-font-text-s);color:var(--tui-text-01);display:block;text-align:center}.content{display:flex;justify-content:center}.button{margin:0 .125rem;flex-shrink:0}.button_active{background:currentColor}.button.button.button_small{width:.5rem;height:.5rem;margin:0}.button.button.button_small:not(:first-child){margin-left:.5rem}.dots{width:var(--tui-height-s);height:var(--tui-height-s);line-height:var(--tui-height-s);margin:0 .125rem;flex-shrink:0;color:var(--tui-text-03);text-align:center;cursor:default}.dots:before{content:'\\2026'}"]}),d(0,t.Inject(t.ElementRef)),d(1,t.Optional()),d(1,t.Inject(i.TuiModeDirective)),d(2,t.Inject(o.TUI_PAGINATION_TEXTS))],u)}(n.AbstractTuiInteractive),m=function(){function e(){}return e=c([t.NgModule({imports:[u.CommonModule,n.TuiRepeatTimesModule,n.TuiLetModule,s.PolymorpheusModule,n.TuiPreventDefaultModule,n.TuiActiveZoneModule,i.TuiButtonModule],declarations:[f],exports:[f]})],e)}();e.TuiPaginationComponent=f,e.TuiPaginationModule=m,e.nonNegativeInteger=p,Object.defineProperty(e,"__esModule",{value:!0})}));
16
16
  //# sourceMappingURL=taiga-ui-kit-components-pagination.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/pagination/pagination.component.ts","ng://@taiga-ui/kit/components/pagination/pagination.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","nonNegativeInteger","Number","isInteger","TuiPaginationComponent","elementRef","modeDirective","texts$","_this","_super","call","this","size","disabled","activePadding","sidePadding","content","index","indexChange","EventEmitter","elements","EMPTY_QUERY","__","constructor","prototype","create","__extends","activeElementIndex","elementsLength","itemIndex","getItemIndexByElementIndex","activeElement","find","_","nativeFocusableElement","isNativeFocusedIn","nativeElement","itemsFit","maxElementsLength","mode","reverseIndex","elementIsFocusable","focused","getItemContext","$implicit","elementIndex","sizeM","hasCollapsedItems","reverseElementIndex","lastElementIndex","lastIndex","computedIndex","maxHalfLength","clamp","getElementMode","getSmallElementMode","onElementClick","updateIndex","onElementKeyDownArrowLeft","element","first","previous","array","setNativeFocused","onElementKeyDownArrowRight","last","next","onArrowClick","direction","tryChangeTo","focusActive","onActiveZone","updateFocused","horizontalDirectionToNumber","emit","ElementRef","type","Inject","args","TuiModeDirective","Optional","Observable","TUI_PAGINATION_TEXTS","Input","tuiDefaultProp","Output","ViewChildren","read","TUI_FOCUSABLE_ITEM_ACCESSOR","TuiPaginationComponent_1","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","provide","useExisting","forwardRef","AbstractTuiInteractive","TuiPaginationModule","NgModule","imports","CommonModule","TuiRepeatTimesModule","TuiLetModule","PolymorpheusModule","TuiPreventDefaultModule","TuiActiveZoneModule","TuiButtonModule","declarations","exports"],"mappings":";;;;;;;;;;;;;;oFAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAg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AA,iBAEJC,aAAc,CAAC3G,GACf4G,QAAS,CAAC5G,MAEDiG","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n 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;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n 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;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n 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); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n 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; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n 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);\r\n 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); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n forwardRef,\n Inject,\n Input,\n Optional,\n Output,\n QueryList,\n ViewChildren,\n} from '@angular/core';\nimport {\n AbstractTuiInteractive,\n clamp,\n EMPTY_QUERY,\n isNativeFocusedIn,\n setNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {\n TuiAppearance,\n TuiBrightness,\n TuiButtonComponent,\n TuiHorizontalDirection,\n TuiModeDirective,\n TuiSizeS,\n} from '@taiga-ui/core';\nimport {TUI_PAGINATION_TEXTS} from '@taiga-ui/kit/tokens';\nimport {horizontalDirectionToNumber} from '@taiga-ui/kit/utils/math';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nconst DOTS_LENGTH = 1;\nconst ACTIVE_ITEM_LENGTH = 1;\n\nexport function nonNegativeInteger(length: number): boolean {\n return Number.isInteger(length) && length >= 0;\n}\n\n// @dynamic\n@Component({\n selector: 'tui-pagination',\n templateUrl: './pagination.template.html',\n styleUrls: ['./pagination.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiPaginationComponent),\n },\n ],\n})\nexport class TuiPaginationComponent\n extends AbstractTuiInteractive\n implements TuiFocusableElementAccessor\n{\n @Input()\n @tuiDefaultProp(nonNegativeInteger, 'Must be non-negative integer')\n length = 1;\n\n @Input()\n @tuiDefaultProp()\n size: TuiSizeS = 'm';\n\n @Input()\n @tuiDefaultProp()\n readonly disabled = false;\n\n /**\n * Amount of visible pages around active page\n */\n @Input()\n @tuiDefaultProp()\n activePadding = 1;\n\n /**\n * Amount of visible pages at the edges\n */\n @Input()\n @tuiDefaultProp()\n sidePadding = 1;\n\n /**\n * Customization for page number display.\n */\n @Input()\n @tuiDefaultProp()\n content: PolymorpheusContent<TuiContextWithImplicit<number>> | null = null;\n\n /**\n * Active page index\n */\n @Input()\n @tuiDefaultProp(nonNegativeInteger, 'Must be non-negative integer')\n index = 0;\n\n @Output()\n readonly indexChange = new EventEmitter<number>();\n\n @ViewChildren('element', {read: TUI_FOCUSABLE_ITEM_ACCESSOR})\n private readonly elements: QueryList<TuiFocusableElementAccessor> = EMPTY_QUERY;\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Optional()\n @Inject(TuiModeDirective)\n private readonly modeDirective: TuiModeDirective | null,\n @Inject(TUI_PAGINATION_TEXTS) readonly texts$: Observable<[string, string]>,\n ) {\n super();\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n if (this.disabled) {\n return null;\n }\n\n let activeElementIndex = 0;\n const {elementsLength} = this;\n\n for (let i = 0; i < elementsLength; i++) {\n const itemIndex = this.getItemIndexByElementIndex(i);\n\n if (itemIndex) {\n activeElementIndex++;\n }\n\n if (itemIndex === this.index) {\n break;\n }\n }\n\n const activeElement = this.elements.find(\n (_, index) => index === activeElementIndex,\n );\n\n return activeElement ? activeElement.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return isNativeFocusedIn(this.elementRef.nativeElement);\n }\n\n /**\n * Number of items in a container.\n */\n get elementsLength(): number {\n return this.itemsFit ? this.length : this.maxElementsLength;\n }\n\n get sizeM(): boolean {\n return this.size === 'm';\n }\n\n get mode(): TuiBrightness | null {\n return this.modeDirective ? this.modeDirective.mode : null;\n }\n\n get arrowIsDisabledLeft(): boolean {\n return this.index === 0;\n }\n\n get arrowIsDisabledRight(): boolean {\n return this.reverseIndex === 0;\n }\n\n elementIsFocusable(index: number): boolean {\n return this.index === index && !this.focused;\n }\n\n getItemContext(index: number): TuiContextWithImplicit<number> {\n return {$implicit: index};\n }\n\n /**\n * Get index by element index\n * @param elementIndex\n * @returns index or null (for '…')\n */\n getItemIndexByElementIndex(elementIndex: number): number | null {\n if (!this.sizeM) {\n return elementIndex;\n }\n\n if (elementIndex < this.sidePadding) {\n return elementIndex;\n }\n\n if (elementIndex === this.sidePadding && this.hasCollapsedItems(this.index)) {\n return null;\n }\n\n const reverseElementIndex = this.lastElementIndex - elementIndex;\n\n if (\n reverseElementIndex === this.sidePadding &&\n this.hasCollapsedItems(this.reverseIndex)\n ) {\n return null;\n }\n\n if (reverseElementIndex < this.sidePadding) {\n return this.lastIndex - reverseElementIndex;\n }\n\n const computedIndex = this.index - this.maxHalfLength + elementIndex;\n\n return clamp(computedIndex, elementIndex, this.lastIndex - reverseElementIndex);\n }\n\n getElementMode(index: number): TuiAppearance {\n return this.index === index ? TuiAppearance.Primary : TuiAppearance.Flat;\n }\n\n getSmallElementMode(index: number, mode: TuiBrightness | null): TuiAppearance {\n return this.index === index && mode !== 'onLight'\n ? TuiAppearance.Primary\n : TuiAppearance.Secondary;\n }\n\n onElementClick(index: number) {\n this.updateIndex(index);\n }\n\n onElementKeyDownArrowLeft(element: TuiButtonComponent) {\n if (element === this.elements.first) {\n return;\n }\n\n const previous = this.elements.find(\n (_, index, array) => array[index + 1] === element,\n );\n\n if (previous && previous.nativeFocusableElement) {\n setNativeFocused(previous.nativeFocusableElement);\n }\n }\n\n onElementKeyDownArrowRight(element: TuiButtonComponent) {\n if (element === this.elements.last) {\n return;\n }\n\n const next = this.elements.find(\n (_, index, array) => array[index - 1] === element,\n );\n\n if (next && next.nativeFocusableElement) {\n setNativeFocused(next.nativeFocusableElement);\n }\n }\n\n onArrowClick(direction: TuiHorizontalDirection) {\n this.tryChangeTo(direction);\n this.focusActive();\n }\n\n onActiveZone(focused: boolean) {\n this.updateFocused(focused);\n }\n\n /**\n * Active index from the end\n */\n private get reverseIndex(): number {\n return this.lastIndex - this.index;\n }\n\n /**\n * Max number of elements in half (not counting the middle one).\n */\n private get maxHalfLength(): number {\n return this.sidePadding + DOTS_LENGTH + this.activePadding;\n }\n\n /**\n * Is there '...' anywhere\n */\n private get itemsFit(): boolean {\n return this.length <= this.maxElementsLength;\n }\n\n /**\n * Max number of elements\n */\n private get maxElementsLength(): number {\n return this.maxHalfLength * 2 + ACTIVE_ITEM_LENGTH;\n }\n\n private get lastIndex(): number {\n return this.length - 1;\n }\n\n private get lastElementIndex(): number {\n return this.elementsLength - 1;\n }\n\n /**\n * Are there collapsed items at that index\n * @param index\n * @returns there are collapsed items\n */\n private hasCollapsedItems(index: number): boolean {\n return !this.itemsFit && index > this.maxHalfLength;\n }\n\n private tryChangeTo(direction: TuiHorizontalDirection) {\n this.updateIndex(\n clamp(this.index + horizontalDirectionToNumber(direction), 0, this.lastIndex),\n );\n }\n\n private focusActive() {\n const {nativeFocusableElement} = this;\n\n if (nativeFocusableElement) {\n setNativeFocused(nativeFocusableElement);\n }\n }\n\n private updateIndex(index: number) {\n if (this.index === index) {\n return;\n }\n\n this.index = index;\n this.indexChange.emit(index);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiActiveZoneModule,\n TuiLetModule,\n TuiPreventDefaultModule,\n TuiRepeatTimesModule,\n} from '@taiga-ui/cdk';\nimport {TuiButtonModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\nimport {TuiPaginationComponent} from './pagination.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiRepeatTimesModule,\n TuiLetModule,\n PolymorpheusModule,\n TuiPreventDefaultModule,\n TuiActiveZoneModule,\n TuiButtonModule,\n ],\n declarations: [TuiPaginationComponent],\n exports: [TuiPaginationComponent],\n})\nexport class TuiPaginationModule {}\n"]}
1
+ {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/pagination/pagination.component.ts","ng://@taiga-ui/kit/components/pagination/pagination.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","nonNegativeInteger","Number","isInteger","TuiPaginationComponent","elementRef","modeDirective","texts$","_this","_super","call","this","size","disabled","activePadding","sidePadding","content","index","indexChange","EventEmitter","elements","EMPTY_QUERY","__","constructor","prototype","create","__extends","activeElementIndex","elementsLength","itemIndex","getItemIndexByElementIndex","activeElement","find","_","nativeFocusableElement","isNativeFocusedIn","nativeElement","itemsFit","maxElementsLength","mode","reverseIndex","elementIsFocusable","focused","getItemContext","$implicit","elementIndex","sizeM","hasCollapsedItems","reverseElementIndex","lastElementIndex","lastIndex","computedIndex","maxHalfLength","clamp","getElementMode","getSmallElementMode","onElementClick","updateIndex","onElementKeyDownArrowLeft","element","first","previous","array","setNativeFocused","onElementKeyDownArrowRight","last","next","onArrowClick","direction","tryChangeTo","focusActive","onActiveZone","updateFocused","horizontalDirectionToNumber","emit","ElementRef","type","Inject","args","TuiModeDirective","Optional","Observable","TUI_PAGINATION_TEXTS","Input","tuiDefaultProp","Output","ViewChildren","read","TUI_FOCUSABLE_ITEM_ACCESSOR","TuiPaginationComponent_1","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","provide","useExisting","forwardRef","AbstractTuiInteractive","TuiPaginationModule","NgModule","imports","CommonModule","TuiRepeatTimesModule","TuiLetModule","PolymorpheusModule","TuiPreventDefaultModule","TuiActiveZoneModule","TuiButtonModule","declarations","exports"],"mappings":";;;;;;;;;;;;;;oFAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAgCrB,SAASO,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HZ,EAAvHa,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOV,OAAOe,yBAAyBP,EAAQC,GAA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QACAC,EAAAA,6CAKDpG,EAAA,CAFCmG,EAAAA,QACAC,EAAAA,iDAQDpG,EAAA,CAFCmG,EAAAA,QACAC,EAAAA,sDAQDpG,EAAA,CAFCmG,EAAAA,QACAC,EAAAA,oDAQDpG,EAAA,CAFCmG,EAAAA,QACAC,EAAAA,gDAQDpG,EAAA,CAFCmG,EAAAA,QACAC,EAAAA,eAAenF,EAAoB,6DAIpCjB,EAAA,CADCqG,EAAAA,4CAIDrG,EAAA,CADCsG,EAAAA,aAAa,UAAW,CAACC,KAAMC,EAAAA,8DA/CvBpF,EAAsBqF,EAAAzG,EAAA,CAZlC0G,EAAAA,UAAU,CACPC,SAAU,iBACVC,SAAA,khGAEAC,gBAAiBC,EAAAA,wBAAwBC,OACzCC,UAAW,CACP,CACIC,QAAST,EAAAA,4BACTU,YAAaC,EAAAA,YAAW,WAAM,OAAAV,2jBAuDjC3F,EAAA,EAAA+E,EAAAA,OAAOF,EAAAA,aACP7E,EAAA,EAAAkF,EAAAA,YACAlF,EAAA,EAAA+E,EAAAA,OAAOE,EAAAA,mBAEPjF,EAAA,EAAA+E,EAAAA,OAAOK,EAAAA,wBAvDH9E,IACDgG,EAAAA,qCCjCZ,SAAAC,KAAkC,OAArBA,EAAmBrH,EAAA,CAb/BsH,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,qBACAC,EAAAA,aACAC,EAAAA,mBACAC,EAAAA,wBACAC,EAAAA,oBACAC,EAAAA,iBAEJC,aAAc,CAAC3G,GACf4G,QAAS,CAAC5G,MAEDiG","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n 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;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n 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;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n 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); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n 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; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n 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);\r\n 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); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n forwardRef,\n Inject,\n Input,\n Optional,\n Output,\n QueryList,\n ViewChildren,\n} from '@angular/core';\nimport {\n AbstractTuiInteractive,\n clamp,\n EMPTY_QUERY,\n isNativeFocusedIn,\n setNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {\n TuiAppearance,\n TuiBrightness,\n TuiButtonComponent,\n TuiHorizontalDirection,\n TuiModeDirective,\n TuiSizeS,\n} from '@taiga-ui/core';\nimport {TUI_PAGINATION_TEXTS} from '@taiga-ui/kit/tokens';\nimport {horizontalDirectionToNumber} from '@taiga-ui/kit/utils/math';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nconst DOTS_LENGTH = 1;\nconst ACTIVE_ITEM_LENGTH = 1;\n\nexport function nonNegativeInteger(length: number): boolean {\n return Number.isInteger(length) && length >= 0;\n}\n\n// @dynamic\n@Component({\n selector: 'tui-pagination',\n templateUrl: './pagination.template.html',\n styleUrls: ['./pagination.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiPaginationComponent),\n },\n ],\n})\nexport class TuiPaginationComponent\n extends AbstractTuiInteractive\n implements TuiFocusableElementAccessor\n{\n @Input()\n @tuiDefaultProp(nonNegativeInteger, 'Must be non-negative integer')\n length = 1;\n\n @Input()\n @tuiDefaultProp()\n size: TuiSizeS = 'm';\n\n @Input()\n @tuiDefaultProp()\n readonly disabled = false;\n\n /**\n * Amount of visible pages around active page\n */\n @Input()\n @tuiDefaultProp()\n activePadding = 1;\n\n /**\n * Amount of visible pages at the edges\n */\n @Input()\n @tuiDefaultProp()\n sidePadding = 1;\n\n /**\n * Customization for page number display.\n */\n @Input()\n @tuiDefaultProp()\n content: PolymorpheusContent<TuiContextWithImplicit<number>> | null = null;\n\n /**\n * Active page index\n */\n @Input()\n @tuiDefaultProp(nonNegativeInteger, 'Must be non-negative integer')\n index = 0;\n\n @Output()\n readonly indexChange = new EventEmitter<number>();\n\n @ViewChildren('element', {read: TUI_FOCUSABLE_ITEM_ACCESSOR})\n private readonly elements: QueryList<TuiFocusableElementAccessor> = EMPTY_QUERY;\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Optional()\n @Inject(TuiModeDirective)\n private readonly modeDirective: TuiModeDirective | null,\n @Inject(TUI_PAGINATION_TEXTS) readonly texts$: Observable<[string, string]>,\n ) {\n super();\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n if (this.disabled) {\n return null;\n }\n\n let activeElementIndex = 0;\n const {elementsLength} = this;\n\n for (let i = 0; i < elementsLength; i++) {\n const itemIndex = this.getItemIndexByElementIndex(i);\n\n if (itemIndex) {\n activeElementIndex++;\n }\n\n if (itemIndex === this.index) {\n break;\n }\n }\n\n const activeElement = this.elements.find(\n (_, index) => index === activeElementIndex,\n );\n\n return activeElement ? activeElement.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return isNativeFocusedIn(this.elementRef.nativeElement);\n }\n\n /**\n * Number of items in a container.\n */\n get elementsLength(): number {\n return this.itemsFit ? this.length : this.maxElementsLength;\n }\n\n get sizeM(): boolean {\n return this.size === 'm';\n }\n\n get mode(): TuiBrightness | null {\n return this.modeDirective ? this.modeDirective.mode : null;\n }\n\n get arrowIsDisabledLeft(): boolean {\n return this.index === 0;\n }\n\n get arrowIsDisabledRight(): boolean {\n return this.reverseIndex === 0;\n }\n\n elementIsFocusable(index: number): boolean {\n return this.index === index && !this.focused;\n }\n\n getItemContext(index: number): TuiContextWithImplicit<number> {\n return {$implicit: index};\n }\n\n /**\n * Get index by element index\n * @param elementIndex\n * @returns index or null (for '…')\n */\n getItemIndexByElementIndex(elementIndex: number): number | null {\n if (!this.sizeM) {\n return elementIndex;\n }\n\n if (elementIndex < this.sidePadding) {\n return elementIndex;\n }\n\n if (elementIndex === this.sidePadding && this.hasCollapsedItems(this.index)) {\n return null;\n }\n\n const reverseElementIndex = this.lastElementIndex - elementIndex;\n\n if (\n reverseElementIndex === this.sidePadding &&\n this.hasCollapsedItems(this.reverseIndex)\n ) {\n return null;\n }\n\n if (reverseElementIndex < this.sidePadding) {\n return this.lastIndex - reverseElementIndex;\n }\n\n const computedIndex = this.index - this.maxHalfLength + elementIndex;\n\n return clamp(computedIndex, elementIndex, this.lastIndex - reverseElementIndex);\n }\n\n getElementMode(index: number): TuiAppearance {\n return this.index === index ? TuiAppearance.Primary : TuiAppearance.Flat;\n }\n\n getSmallElementMode(index: number, mode: TuiBrightness | null): TuiAppearance {\n return this.index === index && mode !== 'onLight'\n ? TuiAppearance.Primary\n : TuiAppearance.Secondary;\n }\n\n onElementClick(index: number) {\n this.updateIndex(index);\n }\n\n onElementKeyDownArrowLeft(element: TuiButtonComponent) {\n if (element === this.elements.first) {\n return;\n }\n\n const previous = this.elements.find(\n (_, index, array) => array[index + 1] === element,\n );\n\n if (previous && previous.nativeFocusableElement) {\n setNativeFocused(previous.nativeFocusableElement);\n }\n }\n\n onElementKeyDownArrowRight(element: TuiButtonComponent) {\n if (element === this.elements.last) {\n return;\n }\n\n const next = this.elements.find(\n (_, index, array) => array[index - 1] === element,\n );\n\n if (next && next.nativeFocusableElement) {\n setNativeFocused(next.nativeFocusableElement);\n }\n }\n\n onArrowClick(direction: TuiHorizontalDirection) {\n this.tryChangeTo(direction);\n this.focusActive();\n }\n\n onActiveZone(focused: boolean) {\n this.updateFocused(focused);\n }\n\n /**\n * Active index from the end\n */\n private get reverseIndex(): number {\n return this.lastIndex - this.index;\n }\n\n /**\n * Max number of elements in half (not counting the middle one).\n */\n private get maxHalfLength(): number {\n return this.sidePadding + DOTS_LENGTH + this.activePadding;\n }\n\n /**\n * Is there '...' anywhere\n */\n private get itemsFit(): boolean {\n return this.length <= this.maxElementsLength;\n }\n\n /**\n * Max number of elements\n */\n private get maxElementsLength(): number {\n return this.maxHalfLength * 2 + ACTIVE_ITEM_LENGTH;\n }\n\n private get lastIndex(): number {\n return this.length - 1;\n }\n\n private get lastElementIndex(): number {\n return this.elementsLength - 1;\n }\n\n /**\n * Are there collapsed items at that index\n * @param index\n * @returns there are collapsed items\n */\n private hasCollapsedItems(index: number): boolean {\n return !this.itemsFit && index > this.maxHalfLength;\n }\n\n private tryChangeTo(direction: TuiHorizontalDirection) {\n this.updateIndex(\n clamp(this.index + horizontalDirectionToNumber(direction), 0, this.lastIndex),\n );\n }\n\n private focusActive() {\n const {nativeFocusableElement} = this;\n\n if (nativeFocusableElement) {\n setNativeFocused(nativeFocusableElement);\n }\n }\n\n private updateIndex(index: number) {\n if (this.index === index) {\n return;\n }\n\n this.index = index;\n this.indexChange.emit(index);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiActiveZoneModule,\n TuiLetModule,\n TuiPreventDefaultModule,\n TuiRepeatTimesModule,\n} from '@taiga-ui/cdk';\nimport {TuiButtonModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiPaginationComponent} from './pagination.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiRepeatTimesModule,\n TuiLetModule,\n PolymorpheusModule,\n TuiPreventDefaultModule,\n TuiActiveZoneModule,\n TuiButtonModule,\n ],\n declarations: [TuiPaginationComponent],\n exports: [TuiPaginationComponent],\n})\nexport class TuiPaginationModule {}\n"]}
@@ -0,0 +1,338 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/platform-browser'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@tinkoff/ng-polymorpheus'), require('rxjs'), require('@taiga-ui/cdk/services'), require('@angular/common')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components/pdf-viewer', ['exports', '@angular/core', '@angular/platform-browser', '@taiga-ui/cdk', '@taiga-ui/core', '@tinkoff/ng-polymorpheus', 'rxjs', '@taiga-ui/cdk/services', '@angular/common'], factory) :
4
+ (global = global || self, factory((global['taiga-ui'] = global['taiga-ui'] || {}, global['taiga-ui'].kit = global['taiga-ui'].kit || {}, global['taiga-ui'].kit.components = global['taiga-ui'].kit.components || {}, global['taiga-ui'].kit.components['pdf-viewer'] = {}), global.ng.core, global.ng.platformBrowser, global.cdk, global.core$1, global.ngPolymorpheus, global.rxjs, global.services, global.ng.common));
5
+ }(this, (function (exports, core, platformBrowser, cdk, core$1, ngPolymorpheus, rxjs, services, common) { 'use strict';
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 (b.hasOwnProperty(p)) d[p] = b[p]; };
27
+ return extendStatics(d, b);
28
+ };
29
+
30
+ function __extends(d, b) {
31
+ extendStatics(d, b);
32
+ function __() { this.constructor = d; }
33
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
34
+ }
35
+
36
+ var __assign = function() {
37
+ __assign = Object.assign || function __assign(t) {
38
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
39
+ s = arguments[i];
40
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
41
+ }
42
+ return t;
43
+ };
44
+ return __assign.apply(this, arguments);
45
+ };
46
+
47
+ function __rest(s, e) {
48
+ var t = {};
49
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
50
+ t[p] = s[p];
51
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
52
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
53
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
54
+ t[p[i]] = s[p[i]];
55
+ }
56
+ return t;
57
+ }
58
+
59
+ function __decorate(decorators, target, key, desc) {
60
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
61
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
62
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
63
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
64
+ }
65
+
66
+ function __param(paramIndex, decorator) {
67
+ return function (target, key) { decorator(target, key, paramIndex); }
68
+ }
69
+
70
+ function __metadata(metadataKey, metadataValue) {
71
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
72
+ }
73
+
74
+ function __awaiter(thisArg, _arguments, P, generator) {
75
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
76
+ return new (P || (P = Promise))(function (resolve, reject) {
77
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
78
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
79
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
80
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
81
+ });
82
+ }
83
+
84
+ function __generator(thisArg, body) {
85
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
86
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
87
+ function verb(n) { return function (v) { return step([n, v]); }; }
88
+ function step(op) {
89
+ if (f) throw new TypeError("Generator is already executing.");
90
+ while (_) try {
91
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
92
+ if (y = 0, t) op = [op[0] & 2, t.value];
93
+ switch (op[0]) {
94
+ case 0: case 1: t = op; break;
95
+ case 4: _.label++; return { value: op[1], done: false };
96
+ case 5: _.label++; y = op[1]; op = [0]; continue;
97
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
98
+ default:
99
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
100
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
101
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
102
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
103
+ if (t[2]) _.ops.pop();
104
+ _.trys.pop(); continue;
105
+ }
106
+ op = body.call(thisArg, _);
107
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
108
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
109
+ }
110
+ }
111
+
112
+ function __createBinding(o, m, k, k2) {
113
+ if (k2 === undefined) k2 = k;
114
+ o[k2] = m[k];
115
+ }
116
+
117
+ function __exportStar(m, exports) {
118
+ for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
119
+ }
120
+
121
+ function __values(o) {
122
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
123
+ if (m) return m.call(o);
124
+ if (o && typeof o.length === "number") return {
125
+ next: function () {
126
+ if (o && i >= o.length) o = void 0;
127
+ return { value: o && o[i++], done: !o };
128
+ }
129
+ };
130
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
131
+ }
132
+
133
+ function __read(o, n) {
134
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
135
+ if (!m) return o;
136
+ var i = m.call(o), r, ar = [], e;
137
+ try {
138
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
139
+ }
140
+ catch (error) { e = { error: error }; }
141
+ finally {
142
+ try {
143
+ if (r && !r.done && (m = i["return"])) m.call(i);
144
+ }
145
+ finally { if (e) throw e.error; }
146
+ }
147
+ return ar;
148
+ }
149
+
150
+ function __spread() {
151
+ for (var ar = [], i = 0; i < arguments.length; i++)
152
+ ar = ar.concat(__read(arguments[i]));
153
+ return ar;
154
+ }
155
+
156
+ function __spreadArrays() {
157
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
158
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
159
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
160
+ r[k] = a[j];
161
+ return r;
162
+ };
163
+
164
+ function __await(v) {
165
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
166
+ }
167
+
168
+ function __asyncGenerator(thisArg, _arguments, generator) {
169
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
170
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
171
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
172
+ 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); }); }; }
173
+ function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
174
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
175
+ function fulfill(value) { resume("next", value); }
176
+ function reject(value) { resume("throw", value); }
177
+ function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
178
+ }
179
+
180
+ function __asyncDelegator(o) {
181
+ var i, p;
182
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
183
+ 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; }
184
+ }
185
+
186
+ function __asyncValues(o) {
187
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
188
+ var m = o[Symbol.asyncIterator], i;
189
+ 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);
190
+ 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); }); }; }
191
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
192
+ }
193
+
194
+ function __makeTemplateObject(cooked, raw) {
195
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
196
+ return cooked;
197
+ };
198
+
199
+ function __importStar(mod) {
200
+ if (mod && mod.__esModule) return mod;
201
+ var result = {};
202
+ if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
203
+ result.default = mod;
204
+ return result;
205
+ }
206
+
207
+ function __importDefault(mod) {
208
+ return (mod && mod.__esModule) ? mod : { default: mod };
209
+ }
210
+
211
+ function __classPrivateFieldGet(receiver, privateMap) {
212
+ if (!privateMap.has(receiver)) {
213
+ throw new TypeError("attempted to get private field on non-instance");
214
+ }
215
+ return privateMap.get(receiver);
216
+ }
217
+
218
+ function __classPrivateFieldSet(receiver, privateMap, value) {
219
+ if (!privateMap.has(receiver)) {
220
+ throw new TypeError("attempted to set private field on non-instance");
221
+ }
222
+ privateMap.set(receiver, value);
223
+ return value;
224
+ }
225
+
226
+ var TuiPdfViewerComponent = /** @class */ (function () {
227
+ function TuiPdfViewerComponent(sanitizer, options, closeWord$, context) {
228
+ this.sanitizer = sanitizer;
229
+ this.options = options;
230
+ this.closeWord$ = closeWord$;
231
+ this.context = context;
232
+ this.animation = __assign({ value: '' }, this.options);
233
+ }
234
+ TuiPdfViewerComponent.prototype.bypass = function (url) {
235
+ if (!url.endsWith('.pdf')) {
236
+ throw 'PdfViewer is intended for PDF files only';
237
+ }
238
+ return this.sanitizer.bypassSecurityTrustResourceUrl(url);
239
+ };
240
+ TuiPdfViewerComponent.ctorParameters = function () { return [
241
+ { type: platformBrowser.DomSanitizer, decorators: [{ type: core.Inject, args: [platformBrowser.DomSanitizer,] }] },
242
+ { type: undefined, decorators: [{ type: core.Inject, args: [core$1.TUI_ANIMATION_OPTIONS,] }] },
243
+ { type: rxjs.Observable, decorators: [{ type: core.Inject, args: [core$1.TUI_CLOSE_WORD,] }] },
244
+ { type: undefined, decorators: [{ type: core.Inject, args: [ngPolymorpheus.POLYMORPHEUS_CONTEXT,] }] }
245
+ ]; };
246
+ __decorate([
247
+ core.HostBinding('@tuiSlideInTop'),
248
+ core.HostBinding('@tuiFadeIn')
249
+ ], TuiPdfViewerComponent.prototype, "animation", void 0);
250
+ __decorate([
251
+ cdk.tuiPure
252
+ ], TuiPdfViewerComponent.prototype, "bypass", null);
253
+ TuiPdfViewerComponent = __decorate([
254
+ core.Component({
255
+ selector: 'tui-pdf-viewer',
256
+ template: "<header class=\"t-header\">\n <h2 class=\"t-title\">{{context.label}}</h2>\n <div\n polymorpheus-outlet\n class=\"t-actions\"\n [content]=\"context.actions\"\n [context]=\"context\"\n ></div>\n <button\n tuiIconButton\n shape=\"rounded\"\n appearance=\"\"\n size=\"s\"\n icon=\"tuiIconCloseLarge\"\n class=\"t-close\"\n [title]=\"closeWord$ | async\"\n (click)=\"context.$implicit.complete()\"\n ></button>\n</header>\n<section\n polymorpheus-outlet\n class=\"t-content\"\n [content]=\"context.content\"\n [context]=\"context\"\n>\n <ng-template let-content>\n <iframe class=\"t-iframe\" [src]=\"bypass(content)\"></iframe>\n </ng-template>\n</section>\n",
257
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
258
+ animations: [core$1.tuiSlideInTop, core$1.tuiFadeIn],
259
+ styles: [":host{display:block;width:100%;height:100%;box-sizing:border-box;color:var(--tui-text-01-night);background:#333639}.t-header{display:flex;align-items:center;height:4rem;padding:0 1rem 0 1.5625rem;box-shadow:inset 0 -1px #535659}.t-title{margin:0;font:var(--tui-font-text-m)}.t-actions{display:flex;margin-left:auto}.t-close{transition-property:background;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;margin-left:.75rem;color:var(--tui-text-01-night);background:rgba(255,255,255,.32)}.t-close:hover{background:rgba(255,255,255,.4)}.t-content{height:calc(100% - 4rem);overflow:hidden}.t-iframe{width:100%;height:100%}"]
260
+ }),
261
+ __param(0, core.Inject(platformBrowser.DomSanitizer)),
262
+ __param(1, core.Inject(core$1.TUI_ANIMATION_OPTIONS)),
263
+ __param(2, core.Inject(core$1.TUI_CLOSE_WORD)),
264
+ __param(3, core.Inject(ngPolymorpheus.POLYMORPHEUS_CONTEXT))
265
+ ], TuiPdfViewerComponent);
266
+ return TuiPdfViewerComponent;
267
+ }());
268
+
269
+ var DIALOG = new ngPolymorpheus.PolymorpheusComponent(TuiPdfViewerComponent);
270
+ var DEFAULT_OPTIONS = { label: '', actions: '' };
271
+ var TuiPdfViewerService = /** @class */ (function (_super) {
272
+ __extends(TuiPdfViewerService, _super);
273
+ function TuiPdfViewerService() {
274
+ var _this = _super !== null && _super.apply(this, arguments) || this;
275
+ _this.component = DIALOG;
276
+ _this.defaultOptions = DEFAULT_OPTIONS;
277
+ return _this;
278
+ }
279
+ TuiPdfViewerService.ɵprov = core.ɵɵdefineInjectable({ factory: function TuiPdfViewerService_Factory() { return new TuiPdfViewerService(core.ɵɵinject(services.TuiIdService)); }, token: TuiPdfViewerService, providedIn: "root" });
280
+ TuiPdfViewerService = __decorate([
281
+ core.Injectable({
282
+ providedIn: 'root',
283
+ })
284
+ ], TuiPdfViewerService);
285
+ return TuiPdfViewerService;
286
+ }(cdk.AbstractTuiDialogService));
287
+
288
+ var TuiPdfViewerDirective = /** @class */ (function (_super) {
289
+ __extends(TuiPdfViewerDirective, _super);
290
+ function TuiPdfViewerDirective() {
291
+ return _super !== null && _super.apply(this, arguments) || this;
292
+ }
293
+ TuiPdfViewerDirective = __decorate([
294
+ core.Directive({
295
+ selector: 'ng-template[tuiPdfViewer]',
296
+ providers: [
297
+ {
298
+ provide: cdk.AbstractTuiDialogService,
299
+ useExisting: TuiPdfViewerService,
300
+ },
301
+ ],
302
+ inputs: ['options: tuiPdfViewerOptions', 'open: tuiPdfViewer'],
303
+ outputs: ['openChange: tuiPdfViewerChange'],
304
+ })
305
+ ], TuiPdfViewerDirective);
306
+ return TuiPdfViewerDirective;
307
+ }(cdk.AbstractTuiDialogDirective));
308
+
309
+ var TuiPdfViewerModule = /** @class */ (function () {
310
+ function TuiPdfViewerModule() {
311
+ }
312
+ TuiPdfViewerModule = __decorate([
313
+ core.NgModule({
314
+ imports: [common.CommonModule, core$1.TuiButtonModule, ngPolymorpheus.PolymorpheusModule],
315
+ declarations: [TuiPdfViewerComponent, TuiPdfViewerDirective],
316
+ exports: [TuiPdfViewerComponent, TuiPdfViewerDirective],
317
+ providers: [
318
+ {
319
+ provide: cdk.TUI_DIALOGS,
320
+ useExisting: TuiPdfViewerService,
321
+ multi: true,
322
+ },
323
+ ],
324
+ entryComponents: [TuiPdfViewerComponent],
325
+ })
326
+ ], TuiPdfViewerModule);
327
+ return TuiPdfViewerModule;
328
+ }());
329
+
330
+ exports.TuiPdfViewerComponent = TuiPdfViewerComponent;
331
+ exports.TuiPdfViewerDirective = TuiPdfViewerDirective;
332
+ exports.TuiPdfViewerModule = TuiPdfViewerModule;
333
+ exports.TuiPdfViewerService = TuiPdfViewerService;
334
+
335
+ Object.defineProperty(exports, '__esModule', { value: true });
336
+
337
+ })));
338
+ //# sourceMappingURL=taiga-ui-kit-components-pdf-viewer.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-kit-components-pdf-viewer.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/pdf-viewer/pdf-viewer.component.ts","ng://@taiga-ui/kit/components/pdf-viewer/pdf-viewer.service.ts","ng://@taiga-ui/kit/components/pdf-viewer/pdf-viewer.directive.ts","ng://@taiga-ui/kit/components/pdf-viewer/pdf-viewer.module.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n 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;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n 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;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n 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); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n 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; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n 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);\r\n 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); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import {AnimationOptions} from '@angular/animations';\nimport {ChangeDetectionStrategy, Component, HostBinding, Inject} from '@angular/core';\nimport {DomSanitizer, SafeValue} from '@angular/platform-browser';\nimport {TuiDialog, tuiPure} from '@taiga-ui/cdk';\nimport {\n TUI_ANIMATION_OPTIONS,\n TUI_CLOSE_WORD,\n tuiFadeIn,\n tuiSlideInTop,\n} from '@taiga-ui/core';\nimport {POLYMORPHEUS_CONTEXT} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nimport {TuiPdfViewerOptions} from './pdf-viewer-options';\n\n@Component({\n selector: 'tui-pdf-viewer',\n templateUrl: './pdf-viewer.template.html',\n styleUrls: ['./pdf-viewer.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [tuiSlideInTop, tuiFadeIn],\n})\nexport class TuiPdfViewerComponent<I, O> {\n @HostBinding('@tuiSlideInTop')\n @HostBinding('@tuiFadeIn')\n readonly animation = {value: '', ...this.options} as const;\n\n constructor(\n @Inject(DomSanitizer) private readonly sanitizer: DomSanitizer,\n @Inject(TUI_ANIMATION_OPTIONS) private readonly options: AnimationOptions,\n @Inject(TUI_CLOSE_WORD) readonly closeWord$: Observable<string>,\n @Inject(POLYMORPHEUS_CONTEXT)\n readonly context: TuiDialog<TuiPdfViewerOptions<I>, O>,\n ) {}\n\n @tuiPure\n bypass(url: string): SafeValue {\n if (!url.endsWith('.pdf')) {\n throw 'PdfViewer is intended for PDF files only';\n }\n\n return this.sanitizer.bypassSecurityTrustResourceUrl(url);\n }\n}\n","import {Injectable} from '@angular/core';\nimport {AbstractTuiDialogService} from '@taiga-ui/cdk';\nimport {PolymorpheusComponent} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiPdfViewerComponent} from './pdf-viewer.component';\nimport {TuiPdfViewerOptions} from './pdf-viewer-options';\n\nconst DIALOG = new PolymorpheusComponent(TuiPdfViewerComponent);\nconst DEFAULT_OPTIONS = {label: '', actions: ''} as const;\n\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiPdfViewerService extends AbstractTuiDialogService<\n TuiPdfViewerOptions<any>\n> {\n protected readonly component = DIALOG;\n protected readonly defaultOptions: TuiPdfViewerOptions<any> = DEFAULT_OPTIONS as any;\n}\n","import {Directive} from '@angular/core';\nimport {AbstractTuiDialogDirective, AbstractTuiDialogService} from '@taiga-ui/cdk';\n\nimport {TuiPdfViewerService} from './pdf-viewer.service';\nimport {TuiPdfViewerOptions} from './pdf-viewer-options';\n\n@Directive({\n selector: 'ng-template[tuiPdfViewer]',\n providers: [\n {\n provide: AbstractTuiDialogService,\n useExisting: TuiPdfViewerService,\n },\n ],\n inputs: ['options: tuiPdfViewerOptions', 'open: tuiPdfViewer'],\n outputs: ['openChange: tuiPdfViewerChange'],\n})\nexport class TuiPdfViewerDirective<T> extends AbstractTuiDialogDirective<\n TuiPdfViewerOptions<T>\n> {}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TUI_DIALOGS} from '@taiga-ui/cdk';\nimport {TuiButtonModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiPdfViewerComponent} from './pdf-viewer.component';\nimport {TuiPdfViewerDirective} from './pdf-viewer.directive';\nimport {TuiPdfViewerService} from './pdf-viewer.service';\n\n@NgModule({\n imports: [CommonModule, TuiButtonModule, PolymorpheusModule],\n declarations: [TuiPdfViewerComponent, TuiPdfViewerDirective],\n exports: [TuiPdfViewerComponent, TuiPdfViewerDirective],\n providers: [\n {\n provide: TUI_DIALOGS,\n useExisting: TuiPdfViewerService,\n multi: true,\n },\n ],\n entryComponents: [TuiPdfViewerComponent],\n})\nexport class TuiPdfViewerModule {}\n"],"names":["DomSanitizer","Inject","TUI_ANIMATION_OPTIONS","Observable","TUI_CLOSE_WORD","POLYMORPHEUS_CONTEXT","HostBinding","tuiPure","Component","ChangeDetectionStrategy","tuiSlideInTop","tuiFadeIn","PolymorpheusComponent","Injectable","AbstractTuiDialogService","Directive","AbstractTuiDialogDirective","NgModule","CommonModule","TuiButtonModule","PolymorpheusModule","TUI_DIALOGS"],"mappings":";;;;;;IAAA;IACA;AACA;IACA;IACA;AACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;AACA;IACA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnF,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;AACF;IACO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAChC,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACxB,IAAI,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;IAC3C,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,GAAG,CAAC,CAAC,SAAS,EAAE,IAAI,EAAE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