@taiga-ui/kit 2.55.0 → 3.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2341) hide show
  1. package/abstract/index.d.ts +0 -1
  2. package/abstract/package.json +2 -5
  3. package/abstract/slider/slider.d.ts +5 -3
  4. package/abstract/taiga-ui-kit-abstract.d.ts +1 -0
  5. package/bundles/taiga-ui-kit-abstract.umd.js +431 -530
  6. package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
  7. package/bundles/taiga-ui-kit-classes.umd.js +7 -3
  8. package/bundles/taiga-ui-kit-classes.umd.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-accordion.umd.js +578 -414
  10. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-action.umd.js +439 -313
  12. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  13. package/bundles/taiga-ui-kit-components-arrow.umd.js +81 -288
  14. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-avatar.umd.js +432 -310
  16. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-badge.umd.js +433 -309
  18. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-badged-content.umd.js +447 -320
  20. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +402 -344
  22. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  23. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +478 -343
  24. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +494 -365
  26. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-carousel.umd.js +601 -439
  28. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  29. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +460 -326
  30. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +424 -312
  32. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-checkbox.umd.js +438 -311
  34. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-combo-box.umd.js +548 -396
  36. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +493 -351
  38. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-files.umd.js +539 -392
  40. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-filter.umd.js +456 -325
  42. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-input-copy.umd.js +481 -346
  44. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-input-count.umd.js +546 -399
  46. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  47. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +587 -433
  48. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +566 -413
  50. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-input-date.umd.js +557 -399
  52. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  53. package/bundles/taiga-ui-kit-components-input-files.umd.js +553 -399
  54. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-input-inline.umd.js +434 -302
  56. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +517 -365
  58. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-input-month.umd.js +499 -349
  60. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-input-number.umd.js +551 -402
  62. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-input-password.umd.js +508 -362
  64. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  65. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +725 -825
  66. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-input-phone.umd.js +538 -399
  68. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-input-range.umd.js +567 -426
  70. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  71. package/bundles/taiga-ui-kit-components-input-slider.umd.js +510 -457
  72. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-input-tag.umd.js +651 -490
  74. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-input-time.umd.js +509 -372
  76. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-input.umd.js +446 -329
  78. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  79. package/bundles/taiga-ui-kit-components-island.umd.js +435 -318
  80. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +441 -321
  82. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +408 -289
  84. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +380 -269
  86. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-multi-select.umd.js +755 -565
  88. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-pagination.umd.js +492 -354
  90. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  91. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +448 -314
  92. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  93. package/bundles/taiga-ui-kit-components-progress.umd.js +554 -485
  94. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  95. package/bundles/taiga-ui-kit-components-radio-block.umd.js +459 -340
  96. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  97. package/bundles/taiga-ui-kit-components-radio-group.umd.js +379 -271
  98. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  99. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +455 -328
  100. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  101. package/bundles/taiga-ui-kit-components-radio-list.umd.js +467 -328
  102. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-radio.umd.js +480 -346
  104. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  105. package/bundles/taiga-ui-kit-components-range.umd.js +553 -433
  106. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  107. package/bundles/taiga-ui-kit-components-rating.umd.js +458 -322
  108. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  109. package/bundles/taiga-ui-kit-components-select-option.umd.js +71 -282
  110. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  111. package/bundles/taiga-ui-kit-components-select.umd.js +496 -354
  112. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-slider.umd.js +584 -557
  114. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  115. package/bundles/taiga-ui-kit-components-stepper.umd.js +495 -363
  116. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  117. package/bundles/taiga-ui-kit-components-tabs.umd.js +731 -621
  118. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  119. package/bundles/taiga-ui-kit-components-tag.umd.js +539 -386
  120. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-components-text-area.umd.js +534 -388
  122. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  123. package/bundles/taiga-ui-kit-components-toggle.umd.js +491 -348
  124. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  125. package/bundles/taiga-ui-kit-components-tree.umd.js +674 -496
  126. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  127. package/bundles/taiga-ui-kit-components.umd.js +123 -257
  128. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  129. package/bundles/taiga-ui-kit-constants.umd.js +23 -293
  130. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  131. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +441 -318
  132. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  133. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js +67 -283
  134. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
  135. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +465 -332
  136. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  137. package/bundles/taiga-ui-kit-directives-highlight.umd.js +410 -296
  138. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  139. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +426 -313
  140. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  141. package/bundles/taiga-ui-kit-directives-present.umd.js +63 -278
  142. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  143. package/bundles/taiga-ui-kit-directives-project-class.umd.js +381 -269
  144. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  145. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +65 -277
  146. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  147. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +60 -278
  148. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  149. package/bundles/taiga-ui-kit-directives.umd.js +21 -39
  150. package/bundles/taiga-ui-kit-directives.umd.js.map +1 -1
  151. package/bundles/taiga-ui-kit-interfaces.umd.js +2 -2
  152. package/bundles/taiga-ui-kit-interfaces.umd.js.map +1 -1
  153. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +441 -321
  154. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  155. package/bundles/taiga-ui-kit-internal.umd.js +5 -7
  156. package/bundles/taiga-ui-kit-internal.umd.js.map +1 -1
  157. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +443 -313
  158. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  159. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +406 -306
  160. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  161. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +43 -261
  162. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  163. package/bundles/taiga-ui-kit-pipes-stringify.umd.js +44 -262
  164. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  165. package/bundles/taiga-ui-kit-pipes.umd.js +11 -19
  166. package/bundles/taiga-ui-kit-pipes.umd.js.map +1 -1
  167. package/bundles/taiga-ui-kit-providers.umd.js +15 -16
  168. package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
  169. package/bundles/taiga-ui-kit-tokens.umd.js +46 -297
  170. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  171. package/bundles/taiga-ui-kit-types.umd.js +2 -2
  172. package/bundles/taiga-ui-kit-types.umd.js.map +1 -1
  173. package/bundles/taiga-ui-kit-utils-dom.umd.js +17 -15
  174. package/bundles/taiga-ui-kit-utils-dom.umd.js.map +1 -1
  175. package/bundles/taiga-ui-kit-utils-files.umd.js +9 -5
  176. package/bundles/taiga-ui-kit-utils-files.umd.js.map +1 -1
  177. package/bundles/taiga-ui-kit-utils-format.umd.js +9 -5
  178. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  179. package/bundles/taiga-ui-kit-utils-mask.umd.js +354 -274
  180. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  181. package/bundles/taiga-ui-kit-utils-math.umd.js +336 -258
  182. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  183. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +347 -277
  184. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  185. package/bundles/taiga-ui-kit-utils.umd.js +15 -27
  186. package/bundles/taiga-ui-kit-utils.umd.js.map +1 -1
  187. package/bundles/taiga-ui-kit-validators.umd.js +8 -4
  188. package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
  189. package/bundles/taiga-ui-kit.umd.js +34 -50
  190. package/bundles/taiga-ui-kit.umd.js.map +1 -1
  191. package/classes/package.json +2 -5
  192. package/classes/stringifiable-item.d.ts +1 -1
  193. package/classes/taiga-ui-kit-classes.d.ts +1 -0
  194. package/components/accordion/accordion-item/accordion-item-content.directive.d.ts +3 -0
  195. package/components/accordion/accordion-item/accordion-item-eager-content.directive.d.ts +3 -0
  196. package/components/accordion/accordion-item/accordion-item.component.d.ts +3 -1
  197. package/components/accordion/accordion.component.d.ts +3 -0
  198. package/components/accordion/accordion.module.d.ts +12 -0
  199. package/components/accordion/package.json +2 -5
  200. package/components/accordion/taiga-ui-kit-components-accordion.d.ts +1 -0
  201. package/components/action/action.component.d.ts +3 -1
  202. package/components/action/action.module.d.ts +9 -0
  203. package/components/action/package.json +2 -5
  204. package/components/action/taiga-ui-kit-components-action.d.ts +1 -0
  205. package/components/arrow/arrow-options.d.ts +0 -2
  206. package/components/arrow/arrow.component.d.ts +5 -1
  207. package/components/arrow/arrow.module.d.ts +8 -0
  208. package/components/arrow/package.json +2 -5
  209. package/components/arrow/taiga-ui-kit-components-arrow.d.ts +1 -0
  210. package/components/avatar/avatar.component.d.ts +3 -0
  211. package/components/avatar/avatar.module.d.ts +7 -0
  212. package/components/avatar/package.json +2 -5
  213. package/components/avatar/taiga-ui-kit-components-avatar.d.ts +1 -0
  214. package/components/badge/badge.component.d.ts +5 -2
  215. package/components/badge/badge.module.d.ts +6 -0
  216. package/components/badge/package.json +2 -5
  217. package/components/badge/taiga-ui-kit-components-badge.d.ts +1 -0
  218. package/components/badged-content/badged-content.component.d.ts +7 -4
  219. package/components/badged-content/badged-content.module.d.ts +9 -0
  220. package/components/badged-content/package.json +2 -5
  221. package/components/badged-content/taiga-ui-kit-components-badged-content.d.ts +1 -0
  222. package/components/breadcrumbs/breadcrumbs.component.d.ts +11 -7
  223. package/components/breadcrumbs/breadcrumbs.module.d.ts +8 -0
  224. package/components/breadcrumbs/index.d.ts +0 -2
  225. package/components/breadcrumbs/package.json +2 -5
  226. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.d.ts +1 -0
  227. package/components/calendar-month/calendar-month.component.d.ts +3 -0
  228. package/components/calendar-month/calendar-month.module.d.ts +8 -0
  229. package/components/calendar-month/package.json +2 -5
  230. package/components/calendar-month/taiga-ui-kit-components-calendar-month.d.ts +1 -0
  231. package/components/calendar-range/calendar-range.component.d.ts +3 -2
  232. package/components/calendar-range/calendar-range.module.d.ts +9 -0
  233. package/components/calendar-range/package.json +2 -5
  234. package/components/calendar-range/taiga-ui-kit-components-calendar-range.d.ts +1 -0
  235. package/components/carousel/carousel-autoscroll.directive.d.ts +3 -0
  236. package/components/carousel/carousel-buttons.directive.d.ts +3 -2
  237. package/components/carousel/carousel-scroll.directive.d.ts +3 -0
  238. package/components/carousel/carousel.component.d.ts +3 -0
  239. package/components/carousel/carousel.directive.d.ts +3 -0
  240. package/components/carousel/carousel.module.d.ts +12 -0
  241. package/components/carousel/package.json +2 -5
  242. package/components/carousel/taiga-ui-kit-components-carousel.d.ts +1 -0
  243. package/components/checkbox/checkbox.component.d.ts +3 -2
  244. package/components/checkbox/checkbox.module.d.ts +8 -0
  245. package/components/checkbox/package.json +2 -5
  246. package/components/checkbox/taiga-ui-kit-components-checkbox.d.ts +1 -0
  247. package/components/checkbox-block/checkbox-block.component.d.ts +3 -2
  248. package/components/checkbox-block/checkbox-block.module.d.ts +9 -0
  249. package/components/checkbox-block/package.json +2 -5
  250. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.d.ts +1 -0
  251. package/components/checkbox-labeled/checkbox-labeled.component.d.ts +3 -2
  252. package/components/checkbox-labeled/checkbox-labeled.module.d.ts +8 -0
  253. package/components/checkbox-labeled/package.json +2 -5
  254. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.d.ts +1 -0
  255. package/components/combo-box/combo-box-strict.directive.d.ts +3 -0
  256. package/components/combo-box/combo-box.component.d.ts +3 -1
  257. package/components/combo-box/combo-box.directive.d.ts +3 -0
  258. package/components/combo-box/combo-box.module.d.ts +13 -0
  259. package/components/combo-box/combo-box.providers.d.ts +0 -1
  260. package/components/combo-box/package.json +2 -5
  261. package/components/combo-box/taiga-ui-kit-components-combo-box.d.ts +1 -0
  262. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +3 -0
  263. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +3 -0
  264. package/components/data-list-wrapper/data-list-wrapper.d.ts +3 -0
  265. package/components/data-list-wrapper/data-list-wrapper.module.d.ts +10 -0
  266. package/components/data-list-wrapper/package.json +2 -5
  267. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.d.ts +1 -0
  268. package/components/files/file/file.component.d.ts +5 -2
  269. package/components/files/files.component.d.ts +3 -0
  270. package/components/files/files.module.d.ts +10 -0
  271. package/components/files/package.json +2 -5
  272. package/components/files/taiga-ui-kit-components-files.d.ts +1 -0
  273. package/components/filter/filter.component.d.ts +4 -2
  274. package/components/filter/filter.module.d.ts +11 -0
  275. package/components/filter/package.json +2 -5
  276. package/components/filter/taiga-ui-kit-components-filter.d.ts +1 -0
  277. package/components/index.d.ts +0 -2
  278. package/components/input/input.component.d.ts +4 -4
  279. package/components/input/input.directive.d.ts +3 -0
  280. package/components/input/input.module.d.ts +9 -0
  281. package/components/input/package.json +2 -5
  282. package/components/input/taiga-ui-kit-components-input.d.ts +1 -0
  283. package/components/input-copy/input-copy.component.d.ts +5 -4
  284. package/components/input-copy/input-copy.directive.d.ts +3 -0
  285. package/components/input-copy/input-copy.module.d.ts +9 -0
  286. package/components/input-copy/package.json +2 -5
  287. package/components/input-copy/taiga-ui-kit-components-input-copy.d.ts +1 -0
  288. package/components/input-count/input-count-options.d.ts +0 -7
  289. package/components/input-count/input-count.component.d.ts +3 -2
  290. package/components/input-count/input-count.directive.d.ts +3 -0
  291. package/components/input-count/input-count.module.d.ts +11 -0
  292. package/components/input-count/package.json +2 -5
  293. package/components/input-count/taiga-ui-kit-components-input-count.d.ts +1 -0
  294. package/components/input-date/input-date.component.d.ts +3 -1
  295. package/components/input-date/input-date.directive.d.ts +3 -0
  296. package/components/input-date/input-date.module.d.ts +12 -0
  297. package/components/input-date/input-date.providers.d.ts +0 -4
  298. package/components/input-date/package.json +2 -5
  299. package/components/input-date/taiga-ui-kit-components-input-date.d.ts +1 -0
  300. package/components/input-date-range/input-date-range.component.d.ts +3 -2
  301. package/components/input-date-range/input-date-range.directive.d.ts +3 -0
  302. package/components/input-date-range/input-date-range.module.d.ts +13 -0
  303. package/components/input-date-range/input-date-range.providers.d.ts +0 -4
  304. package/components/input-date-range/package.json +2 -5
  305. package/components/input-date-range/taiga-ui-kit-components-input-date-range.d.ts +1 -0
  306. package/components/input-date-time/input-date-time.component.d.ts +11 -3
  307. package/components/input-date-time/input-date-time.directive.d.ts +3 -0
  308. package/components/input-date-time/input-date-time.module.d.ts +12 -0
  309. package/components/input-date-time/input-date-time.providers.d.ts +0 -4
  310. package/components/input-date-time/package.json +2 -5
  311. package/components/input-date-time/taiga-ui-kit-components-input-date-time.d.ts +1 -0
  312. package/components/input-files/input-files.component.d.ts +3 -2
  313. package/components/input-files/input-files.module.d.ts +10 -0
  314. package/components/input-files/package.json +2 -5
  315. package/components/input-files/taiga-ui-kit-components-input-files.d.ts +1 -0
  316. package/components/input-inline/input-inline.component.d.ts +3 -0
  317. package/components/input-inline/input-inline.module.d.ts +9 -0
  318. package/components/input-inline/package.json +2 -5
  319. package/components/input-inline/taiga-ui-kit-components-input-inline.d.ts +1 -0
  320. package/components/input-month/input-month.component.d.ts +3 -1
  321. package/components/input-month/input-month.directive.d.ts +3 -0
  322. package/components/input-month/input-month.module.d.ts +10 -0
  323. package/components/input-month/package.json +2 -5
  324. package/components/input-month/taiga-ui-kit-components-input-month.d.ts +1 -0
  325. package/components/input-month-range/input-month-range.component.d.ts +3 -1
  326. package/components/input-month-range/input-month-range.directive.d.ts +3 -0
  327. package/components/input-month-range/input-month-range.module.d.ts +10 -0
  328. package/components/input-month-range/package.json +2 -5
  329. package/components/input-month-range/taiga-ui-kit-components-input-month-range.d.ts +1 -0
  330. package/components/input-number/input-number.component.d.ts +7 -6
  331. package/components/input-number/input-number.directive.d.ts +3 -0
  332. package/components/input-number/input-number.module.d.ts +12 -0
  333. package/components/input-number/package.json +2 -5
  334. package/components/input-number/taiga-ui-kit-components-input-number.d.ts +1 -0
  335. package/components/input-password/input-password-options.d.ts +0 -7
  336. package/components/input-password/input-password.component.d.ts +7 -6
  337. package/components/input-password/input-password.directive.d.ts +3 -0
  338. package/components/input-password/input-password.module.d.ts +11 -0
  339. package/components/input-password/package.json +2 -5
  340. package/components/input-password/taiga-ui-kit-components-input-password.d.ts +1 -0
  341. package/components/input-phone/input-phone.component.d.ts +5 -3
  342. package/components/input-phone/input-phone.directive.d.ts +3 -0
  343. package/components/input-phone/input-phone.module.d.ts +10 -0
  344. package/components/input-phone/package.json +2 -5
  345. package/components/input-phone/taiga-ui-kit-components-input-phone.d.ts +1 -0
  346. package/components/input-phone-international/const/mask-after-code-regexp.d.ts +1 -0
  347. package/components/input-phone-international/index.d.ts +1 -3
  348. package/components/input-phone-international/input-phone-international.component.d.ts +3 -0
  349. package/components/input-phone-international/input-phone-international.module.d.ts +12 -0
  350. package/components/input-phone-international/package.json +2 -5
  351. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.d.ts +1 -0
  352. package/components/input-range/input-range.component.d.ts +12 -11
  353. package/components/input-range/input-range.module.d.ts +12 -0
  354. package/components/input-range/package.json +2 -5
  355. package/components/input-range/taiga-ui-kit-components-input-range.d.ts +1 -0
  356. package/components/input-slider/input-slider.component.d.ts +11 -34
  357. package/components/input-slider/input-slider.module.d.ts +11 -0
  358. package/components/input-slider/package.json +2 -5
  359. package/components/input-slider/taiga-ui-kit-components-input-slider.d.ts +1 -0
  360. package/components/input-tag/input-tag.component.d.ts +10 -10
  361. package/components/input-tag/input-tag.module.d.ts +11 -0
  362. package/components/input-tag/package.json +2 -5
  363. package/components/input-tag/taiga-ui-kit-components-input-tag.d.ts +1 -0
  364. package/components/input-time/input-time-options.d.ts +0 -6
  365. package/components/input-time/input-time.component.d.ts +3 -1
  366. package/components/input-time/input-time.module.d.ts +9 -0
  367. package/components/input-time/package.json +2 -5
  368. package/components/input-time/taiga-ui-kit-components-input-time.d.ts +1 -0
  369. package/components/island/island.component.d.ts +3 -0
  370. package/components/island/island.module.d.ts +6 -0
  371. package/components/island/package.json +2 -5
  372. package/components/island/taiga-ui-kit-components-island.d.ts +1 -0
  373. package/components/line-clamp/line-clamp.component.d.ts +5 -2
  374. package/components/line-clamp/line-clamp.module.d.ts +9 -0
  375. package/components/line-clamp/package.json +2 -5
  376. package/components/line-clamp/taiga-ui-kit-components-line-clamp.d.ts +1 -0
  377. package/components/marker-icon/marker-icon.component.d.ts +5 -2
  378. package/components/marker-icon/marker-icon.module.d.ts +7 -0
  379. package/components/marker-icon/package.json +2 -5
  380. package/components/marker-icon/taiga-ui-kit-components-marker-icon.d.ts +1 -0
  381. package/components/multi-select/hide-selected.pipe.d.ts +5 -2
  382. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +3 -0
  383. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +4 -6
  384. package/components/multi-select/multi-select.component.d.ts +3 -3
  385. package/components/multi-select/multi-select.module.d.ts +16 -0
  386. package/components/multi-select/package.json +2 -5
  387. package/components/multi-select/taiga-ui-kit-components-multi-select.d.ts +1 -0
  388. package/components/multi-select-option/multi-select-option.component.d.ts +3 -0
  389. package/components/multi-select-option/multi-select-option.module.d.ts +7 -0
  390. package/components/multi-select-option/package.json +2 -5
  391. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.d.ts +1 -0
  392. package/components/package.json +2 -5
  393. package/components/pagination/package.json +2 -5
  394. package/components/pagination/pagination.component.d.ts +3 -1
  395. package/components/pagination/pagination.module.d.ts +9 -0
  396. package/components/pagination/taiga-ui-kit-components-pagination.d.ts +1 -0
  397. package/components/pdf-viewer/package.json +2 -5
  398. package/components/pdf-viewer/pdf-viewer.component.d.ts +3 -0
  399. package/components/pdf-viewer/pdf-viewer.directive.d.ts +3 -0
  400. package/components/pdf-viewer/pdf-viewer.module.d.ts +9 -0
  401. package/components/pdf-viewer/pdf-viewer.service.d.ts +4 -1
  402. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +1 -0
  403. package/components/progress/index.d.ts +0 -3
  404. package/components/progress/package.json +2 -5
  405. package/components/progress/progress-bar/progress-bar.component.d.ts +3 -0
  406. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +3 -0
  407. package/components/progress/progress-circle/progress-circle.component.d.ts +3 -0
  408. package/components/progress/progress-label/progress-label.component.d.ts +3 -0
  409. package/components/progress/progress-segmented/progress-segmented.component.d.ts +3 -0
  410. package/components/progress/progress.module.d.ts +11 -0
  411. package/components/progress/taiga-ui-kit-components-progress.d.ts +1 -0
  412. package/components/radio/package.json +2 -5
  413. package/components/radio/radio-options.d.ts +0 -5
  414. package/components/radio/radio.component.d.ts +3 -2
  415. package/components/radio/radio.module.d.ts +8 -0
  416. package/components/radio/taiga-ui-kit-components-radio.d.ts +1 -0
  417. package/components/radio-block/package.json +2 -5
  418. package/components/radio-block/radio-block.component.d.ts +3 -2
  419. package/components/radio-block/radio-block.module.d.ts +8 -0
  420. package/components/radio-block/taiga-ui-kit-components-radio-block.d.ts +1 -0
  421. package/components/radio-group/package.json +2 -5
  422. package/components/radio-group/radio-group.component.d.ts +3 -0
  423. package/components/radio-group/radio-group.module.d.ts +5 -0
  424. package/components/radio-group/taiga-ui-kit-components-radio-group.d.ts +1 -0
  425. package/components/radio-labeled/package.json +2 -5
  426. package/components/radio-labeled/radio-labeled.component.d.ts +3 -2
  427. package/components/radio-labeled/radio-labeled.module.d.ts +9 -0
  428. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.d.ts +1 -0
  429. package/components/radio-list/package.json +2 -5
  430. package/components/radio-list/radio-list.component.d.ts +5 -5
  431. package/components/radio-list/radio-list.module.d.ts +10 -0
  432. package/components/radio-list/taiga-ui-kit-components-radio-list.d.ts +1 -0
  433. package/components/range/package.json +2 -5
  434. package/components/range/range-change.directive.d.ts +3 -0
  435. package/components/range/range.component.d.ts +5 -9
  436. package/components/range/range.module.d.ts +10 -0
  437. package/components/range/taiga-ui-kit-components-range.d.ts +1 -0
  438. package/components/rating/package.json +2 -5
  439. package/components/rating/rating.component.d.ts +3 -0
  440. package/components/rating/rating.module.d.ts +8 -0
  441. package/components/rating/taiga-ui-kit-components-rating.d.ts +1 -0
  442. package/components/select/package.json +2 -5
  443. package/components/select/select.component.d.ts +3 -1
  444. package/components/select/select.directive.d.ts +3 -0
  445. package/components/select/select.module.d.ts +12 -0
  446. package/components/select/select.providers.d.ts +0 -1
  447. package/components/select/taiga-ui-kit-components-select.d.ts +1 -0
  448. package/components/select-option/package.json +2 -5
  449. package/components/select-option/select-option.component.d.ts +4 -1
  450. package/components/select-option/select-option.module.d.ts +7 -0
  451. package/components/select-option/taiga-ui-kit-components-select-option.d.ts +1 -0
  452. package/components/slider/helpers/slider-key-steps.directive.d.ts +4 -9
  453. package/components/slider/helpers/slider-readonly.directive.d.ts +3 -0
  454. package/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.d.ts +3 -0
  455. package/components/slider/index.d.ts +0 -1
  456. package/components/slider/package.json +2 -5
  457. package/components/slider/slider.component.d.ts +3 -0
  458. package/components/slider/slider.module.d.ts +9 -0
  459. package/components/slider/taiga-ui-kit-components-slider.d.ts +1 -0
  460. package/components/stepper/package.json +2 -5
  461. package/components/stepper/step/step.component.d.ts +3 -0
  462. package/components/stepper/stepper.component.d.ts +5 -2
  463. package/components/stepper/stepper.module.d.ts +8 -0
  464. package/components/stepper/taiga-ui-kit-components-stepper.d.ts +1 -0
  465. package/components/tabs/index.d.ts +0 -1
  466. package/components/tabs/package.json +2 -5
  467. package/components/tabs/tab/tab.component.d.ts +4 -3
  468. package/components/tabs/tab/tab.providers.d.ts +1 -1
  469. package/components/tabs/tabs/tabs.component.d.ts +4 -6
  470. package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +3 -0
  471. package/components/tabs/tabs-with-more/tabs-with-more.providers.d.ts +0 -5
  472. package/components/tabs/tabs.module.d.ts +12 -0
  473. package/components/tabs/taiga-ui-kit-components-tabs.d.ts +1 -0
  474. package/components/tabs/underline/underline.component.d.ts +4 -6
  475. package/components/tag/package.json +2 -5
  476. package/components/tag/tag-options.d.ts +2 -2
  477. package/components/tag/tag.component.d.ts +6 -3
  478. package/components/tag/tag.module.d.ts +10 -0
  479. package/components/tag/taiga-ui-kit-components-tag.d.ts +1 -0
  480. package/components/taiga-ui-kit-components.d.ts +1 -0
  481. package/components/text-area/package.json +2 -5
  482. package/components/text-area/taiga-ui-kit-components-text-area.d.ts +1 -0
  483. package/components/text-area/text-area.component.d.ts +3 -2
  484. package/components/text-area/text-area.directive.d.ts +3 -0
  485. package/components/text-area/text-area.module.d.ts +10 -0
  486. package/components/toggle/package.json +2 -5
  487. package/components/toggle/taiga-ui-kit-components-toggle.d.ts +1 -0
  488. package/components/toggle/toggle-options.d.ts +0 -5
  489. package/components/toggle/toggle.component.d.ts +3 -2
  490. package/components/toggle/toggle.module.d.ts +9 -0
  491. package/components/tree/components/tree/tree.component.d.ts +3 -0
  492. package/components/tree/components/tree-item/tree-item.component.d.ts +3 -0
  493. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +3 -0
  494. package/components/tree/directives/tree-children.directive.d.ts +3 -0
  495. package/components/tree/directives/tree-controller.directive.d.ts +3 -0
  496. package/components/tree/directives/tree-item-controller.directive.d.ts +3 -0
  497. package/components/tree/directives/tree-node.directive.d.ts +3 -0
  498. package/components/tree/misc/tree.constants.d.ts +1 -1
  499. package/components/tree/misc/tree.service.d.ts +3 -0
  500. package/components/tree/package.json +2 -5
  501. package/components/tree/taiga-ui-kit-components-tree.d.ts +1 -0
  502. package/components/tree/tree.module.d.ts +15 -0
  503. package/constants/masks.d.ts +0 -8
  504. package/constants/package.json +2 -5
  505. package/constants/taiga-ui-kit-constants.d.ts +1 -0
  506. package/directives/dropdown-context/dropdown-context.directive.d.ts +5 -2
  507. package/directives/dropdown-context/dropdown-context.module.d.ts +6 -0
  508. package/directives/dropdown-context/package.json +2 -5
  509. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.d.ts +1 -0
  510. package/directives/dropdown-hover/dropdown-hover.directive.d.ts +3 -0
  511. package/directives/dropdown-hover/dropdown-hover.module.d.ts +5 -0
  512. package/directives/dropdown-hover/package.json +2 -5
  513. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.d.ts +1 -0
  514. package/directives/dropdown-selection/dropdown-selection.directive.d.ts +5 -2
  515. package/directives/dropdown-selection/dropdown-selection.module.d.ts +6 -0
  516. package/directives/dropdown-selection/package.json +2 -5
  517. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.d.ts +1 -0
  518. package/directives/highlight/highlight.directive.d.ts +3 -0
  519. package/directives/highlight/highlight.module.d.ts +5 -0
  520. package/directives/highlight/package.json +2 -5
  521. package/directives/highlight/taiga-ui-kit-directives-highlight.d.ts +1 -0
  522. package/directives/lazy-loading/lazy-loading.directive.d.ts +3 -0
  523. package/directives/lazy-loading/lazy-loading.module.d.ts +5 -0
  524. package/directives/lazy-loading/lazy-loading.service.d.ts +3 -0
  525. package/directives/lazy-loading/package.json +2 -5
  526. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.d.ts +1 -0
  527. package/directives/package.json +2 -5
  528. package/directives/present/package.json +2 -5
  529. package/directives/present/present.directive.d.ts +3 -0
  530. package/directives/present/present.module.d.ts +5 -0
  531. package/directives/present/taiga-ui-kit-directives-present.d.ts +1 -0
  532. package/directives/project-class/package.json +2 -5
  533. package/directives/project-class/project-class.directive.d.ts +3 -0
  534. package/directives/project-class/project-class.module.d.ts +5 -0
  535. package/directives/project-class/taiga-ui-kit-directives-project-class.d.ts +1 -0
  536. package/directives/taiga-ui-kit-directives.d.ts +1 -0
  537. package/directives/unfinished-validator/package.json +2 -5
  538. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.d.ts +1 -0
  539. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +3 -0
  540. package/directives/unfinished-validator/unfinished-validator.module.d.ts +5 -0
  541. package/directives/value-accessor/package.json +2 -5
  542. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.d.ts +1 -0
  543. package/directives/value-accessor/value-accessor.directive.d.ts +3 -0
  544. package/directives/value-accessor/value-accessor.module.d.ts +5 -0
  545. package/esm2015/abstract/index.js +1 -2
  546. package/esm2015/abstract/slider/slider.js +56 -54
  547. package/esm2015/abstract/taiga-ui-kit-abstract.js +1 -1
  548. package/esm2015/classes/day-range-period.js +1 -1
  549. package/esm2015/classes/index.js +1 -1
  550. package/esm2015/classes/named-day.js +1 -1
  551. package/esm2015/classes/stringifiable-item.js +1 -1
  552. package/esm2015/classes/taiga-ui-kit-classes.js +1 -1
  553. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +20 -17
  554. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +12 -10
  555. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +90 -66
  556. package/esm2015/components/accordion/accordion.component.js +29 -23
  557. package/esm2015/components/accordion/accordion.module.js +49 -25
  558. package/esm2015/components/accordion/index.js +1 -1
  559. package/esm2015/components/accordion/taiga-ui-kit-components-accordion.js +1 -1
  560. package/esm2015/components/action/action.component.js +56 -47
  561. package/esm2015/components/action/action.module.js +26 -13
  562. package/esm2015/components/action/index.js +1 -1
  563. package/esm2015/components/action/taiga-ui-kit-components-action.js +1 -1
  564. package/esm2015/components/arrow/arrow-options.js +5 -8
  565. package/esm2015/components/arrow/arrow.component.js +35 -23
  566. package/esm2015/components/arrow/arrow.module.js +16 -13
  567. package/esm2015/components/arrow/index.js +1 -1
  568. package/esm2015/components/arrow/taiga-ui-kit-components-arrow.js +1 -1
  569. package/esm2015/components/avatar/avatar-options.js +3 -3
  570. package/esm2015/components/avatar/avatar.component.js +49 -35
  571. package/esm2015/components/avatar/avatar.module.js +15 -12
  572. package/esm2015/components/avatar/index.js +1 -1
  573. package/esm2015/components/avatar/taiga-ui-kit-components-avatar.js +1 -1
  574. package/esm2015/components/badge/badge.component.js +58 -43
  575. package/esm2015/components/badge/badge.module.js +15 -12
  576. package/esm2015/components/badge/index.js +1 -1
  577. package/esm2015/components/badge/taiga-ui-kit-components-badge.js +1 -1
  578. package/esm2015/components/badged-content/badged-content.component.js +64 -43
  579. package/esm2015/components/badged-content/badged-content.module.js +15 -12
  580. package/esm2015/components/badged-content/index.js +1 -1
  581. package/esm2015/components/badged-content/taiga-ui-kit-components-badged-content.js +1 -1
  582. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +45 -25
  583. package/esm2015/components/breadcrumbs/breadcrumbs.module.js +17 -33
  584. package/esm2015/components/breadcrumbs/index.js +1 -3
  585. package/esm2015/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +1 -1
  586. package/esm2015/components/calendar-month/calendar-month.component.js +52 -42
  587. package/esm2015/components/calendar-month/calendar-month.module.js +34 -13
  588. package/esm2015/components/calendar-month/index.js +1 -1
  589. package/esm2015/components/calendar-month/taiga-ui-kit-components-calendar-month.js +1 -1
  590. package/esm2015/components/calendar-range/calendar-range.component.js +60 -48
  591. package/esm2015/components/calendar-range/calendar-range.module.js +32 -13
  592. package/esm2015/components/calendar-range/index.js +1 -1
  593. package/esm2015/components/calendar-range/taiga-ui-kit-components-calendar-range.js +1 -1
  594. package/esm2015/components/carousel/carousel-autoscroll.directive.js +17 -16
  595. package/esm2015/components/carousel/carousel-buttons.directive.js +26 -23
  596. package/esm2015/components/carousel/carousel-scroll.directive.js +18 -18
  597. package/esm2015/components/carousel/carousel.component.js +73 -49
  598. package/esm2015/components/carousel/carousel.directive.js +22 -20
  599. package/esm2015/components/carousel/carousel.module.js +44 -24
  600. package/esm2015/components/carousel/index.js +1 -1
  601. package/esm2015/components/carousel/taiga-ui-kit-components-carousel.js +1 -1
  602. package/esm2015/components/checkbox/checkbox.component.js +54 -44
  603. package/esm2015/components/checkbox/checkbox.module.js +29 -16
  604. package/esm2015/components/checkbox/index.js +1 -1
  605. package/esm2015/components/checkbox/taiga-ui-kit-components-checkbox.js +1 -1
  606. package/esm2015/components/checkbox-block/checkbox-block.component.js +72 -55
  607. package/esm2015/components/checkbox-block/checkbox-block.module.js +26 -13
  608. package/esm2015/components/checkbox-block/index.js +1 -1
  609. package/esm2015/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +1 -1
  610. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +60 -49
  611. package/esm2015/components/checkbox-labeled/checkbox-labeled.module.js +15 -19
  612. package/esm2015/components/checkbox-labeled/index.js +1 -1
  613. package/esm2015/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +1 -1
  614. package/esm2015/components/combo-box/combo-box-strict.directive.js +22 -18
  615. package/esm2015/components/combo-box/combo-box.component.js +71 -57
  616. package/esm2015/components/combo-box/combo-box.directive.js +23 -17
  617. package/esm2015/components/combo-box/combo-box.module.js +48 -23
  618. package/esm2015/components/combo-box/combo-box.providers.js +2 -4
  619. package/esm2015/components/combo-box/index.js +1 -1
  620. package/esm2015/components/combo-box/taiga-ui-kit-components-combo-box.js +1 -1
  621. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +40 -28
  622. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +36 -25
  623. package/esm2015/components/data-list-wrapper/data-list-wrapper.js +24 -21
  624. package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +32 -17
  625. package/esm2015/components/data-list-wrapper/index.js +1 -1
  626. package/esm2015/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +1 -1
  627. package/esm2015/components/files/file/file.component.js +78 -63
  628. package/esm2015/components/files/files.component.js +33 -27
  629. package/esm2015/components/files/files.module.js +34 -13
  630. package/esm2015/components/files/index.js +1 -1
  631. package/esm2015/components/files/taiga-ui-kit-components-files.js +1 -1
  632. package/esm2015/components/filter/filter.component.js +55 -44
  633. package/esm2015/components/filter/filter.module.js +28 -13
  634. package/esm2015/components/filter/index.js +1 -1
  635. package/esm2015/components/filter/taiga-ui-kit-components-filter.js +1 -1
  636. package/esm2015/components/index.js +1 -3
  637. package/esm2015/components/input/index.js +1 -1
  638. package/esm2015/components/input/input.component.js +43 -49
  639. package/esm2015/components/input/input.directive.js +23 -17
  640. package/esm2015/components/input/input.module.js +24 -13
  641. package/esm2015/components/input/input.providers.js +1 -1
  642. package/esm2015/components/input/taiga-ui-kit-components-input.js +1 -1
  643. package/esm2015/components/input-copy/index.js +1 -1
  644. package/esm2015/components/input-copy/input-copy.component.js +60 -50
  645. package/esm2015/components/input-copy/input-copy.directive.js +23 -17
  646. package/esm2015/components/input-copy/input-copy.module.js +32 -14
  647. package/esm2015/components/input-copy/input-copy.providers.js +1 -1
  648. package/esm2015/components/input-copy/taiga-ui-kit-components-input-copy.js +1 -1
  649. package/esm2015/components/input-count/index.js +1 -1
  650. package/esm2015/components/input-count/input-count-options.js +6 -9
  651. package/esm2015/components/input-count/input-count.component.js +101 -77
  652. package/esm2015/components/input-count/input-count.directive.js +25 -19
  653. package/esm2015/components/input-count/input-count.module.js +30 -13
  654. package/esm2015/components/input-count/taiga-ui-kit-components-input-count.js +1 -1
  655. package/esm2015/components/input-date/index.js +1 -1
  656. package/esm2015/components/input-date/input-date.component.js +95 -69
  657. package/esm2015/components/input-date/input-date.directive.js +24 -18
  658. package/esm2015/components/input-date/input-date.module.js +40 -13
  659. package/esm2015/components/input-date/input-date.providers.js +4 -6
  660. package/esm2015/components/input-date/taiga-ui-kit-components-input-date.js +1 -1
  661. package/esm2015/components/input-date-range/index.js +1 -1
  662. package/esm2015/components/input-date-range/input-date-range.component.js +106 -80
  663. package/esm2015/components/input-date-range/input-date-range.directive.js +24 -18
  664. package/esm2015/components/input-date-range/input-date-range.module.js +44 -17
  665. package/esm2015/components/input-date-range/input-date-range.providers.js +4 -6
  666. package/esm2015/components/input-date-range/taiga-ui-kit-components-input-date-range.js +1 -1
  667. package/esm2015/components/input-date-time/index.js +1 -1
  668. package/esm2015/components/input-date-time/input-date-time.component.js +88 -66
  669. package/esm2015/components/input-date-time/input-date-time.directive.js +24 -18
  670. package/esm2015/components/input-date-time/input-date-time.module.js +44 -17
  671. package/esm2015/components/input-date-time/input-date-time.providers.js +4 -6
  672. package/esm2015/components/input-date-time/taiga-ui-kit-components-input-date-time.js +1 -1
  673. package/esm2015/components/input-files/index.js +1 -1
  674. package/esm2015/components/input-files/input-files.component.js +90 -72
  675. package/esm2015/components/input-files/input-files.module.js +56 -18
  676. package/esm2015/components/input-files/taiga-ui-kit-components-input-files.js +1 -1
  677. package/esm2015/components/input-inline/index.js +1 -1
  678. package/esm2015/components/input-inline/input-inline.component.js +53 -38
  679. package/esm2015/components/input-inline/input-inline.module.js +26 -13
  680. package/esm2015/components/input-inline/taiga-ui-kit-components-input-inline.js +1 -1
  681. package/esm2015/components/input-month/index.js +1 -1
  682. package/esm2015/components/input-month/input-month.component.js +50 -38
  683. package/esm2015/components/input-month/input-month.directive.js +40 -29
  684. package/esm2015/components/input-month/input-month.module.js +34 -14
  685. package/esm2015/components/input-month/input-month.providers.js +1 -1
  686. package/esm2015/components/input-month/taiga-ui-kit-components-input-month.js +1 -1
  687. package/esm2015/components/input-month-range/index.js +1 -1
  688. package/esm2015/components/input-month-range/input-month-range.component.js +51 -39
  689. package/esm2015/components/input-month-range/input-month-range.directive.js +41 -30
  690. package/esm2015/components/input-month-range/input-month-range.module.js +42 -18
  691. package/esm2015/components/input-month-range/input-month-range.providers.js +1 -1
  692. package/esm2015/components/input-month-range/taiga-ui-kit-components-input-month-range.js +1 -1
  693. package/esm2015/components/input-number/index.js +1 -1
  694. package/esm2015/components/input-number/input-number.component.js +102 -78
  695. package/esm2015/components/input-number/input-number.directive.js +24 -18
  696. package/esm2015/components/input-number/input-number.module.js +30 -13
  697. package/esm2015/components/input-number/taiga-ui-kit-components-input-number.js +1 -1
  698. package/esm2015/components/input-password/index.js +1 -1
  699. package/esm2015/components/input-password/input-password-options.js +4 -7
  700. package/esm2015/components/input-password/input-password.component.js +78 -58
  701. package/esm2015/components/input-password/input-password.directive.js +24 -18
  702. package/esm2015/components/input-password/input-password.module.js +38 -17
  703. package/esm2015/components/input-password/taiga-ui-kit-components-input-password.js +1 -1
  704. package/esm2015/components/input-phone/index.js +1 -1
  705. package/esm2015/components/input-phone/input-phone.component.js +93 -79
  706. package/esm2015/components/input-phone/input-phone.directive.js +24 -18
  707. package/esm2015/components/input-phone/input-phone.module.js +28 -13
  708. package/esm2015/components/input-phone/input-phone.options.js +4 -4
  709. package/esm2015/components/input-phone/input-phone.providers.js +3 -3
  710. package/esm2015/components/input-phone/taiga-ui-kit-components-input-phone.js +1 -1
  711. package/esm2015/components/input-phone-international/const/mask-after-code-regexp.js +2 -0
  712. package/esm2015/components/input-phone-international/index.js +2 -3
  713. package/esm2015/components/input-phone-international/input-phone-international.component.js +86 -65
  714. package/esm2015/components/input-phone-international/input-phone-international.module.js +46 -13
  715. package/esm2015/components/input-phone-international/input-phone-international.options.js +2 -2
  716. package/esm2015/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +1 -1
  717. package/esm2015/components/input-phone-international/tokens/countries-masks.js +212 -4
  718. package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +2 -2
  719. package/esm2015/components/input-range/index.js +1 -1
  720. package/esm2015/components/input-range/input-range.component.js +137 -124
  721. package/esm2015/components/input-range/input-range.module.js +35 -18
  722. package/esm2015/components/input-range/taiga-ui-kit-components-input-range.js +1 -1
  723. package/esm2015/components/input-slider/index.js +1 -1
  724. package/esm2015/components/input-slider/input-slider.component.js +96 -157
  725. package/esm2015/components/input-slider/input-slider.module.js +33 -23
  726. package/esm2015/components/input-slider/taiga-ui-kit-components-input-slider.js +1 -1
  727. package/esm2015/components/input-tag/index.js +1 -1
  728. package/esm2015/components/input-tag/input-tag-options.js +3 -3
  729. package/esm2015/components/input-tag/input-tag.component.js +176 -142
  730. package/esm2015/components/input-tag/input-tag.module.js +41 -14
  731. package/esm2015/components/input-tag/taiga-ui-kit-components-input-tag.js +1 -1
  732. package/esm2015/components/input-time/index.js +1 -1
  733. package/esm2015/components/input-time/input-time-options.js +6 -8
  734. package/esm2015/components/input-time/input-time.component.js +78 -58
  735. package/esm2015/components/input-time/input-time.module.js +30 -13
  736. package/esm2015/components/input-time/taiga-ui-kit-components-input-time.js +1 -1
  737. package/esm2015/components/island/index.js +1 -1
  738. package/esm2015/components/island/island.component.js +58 -47
  739. package/esm2015/components/island/island.module.js +15 -12
  740. package/esm2015/components/island/taiga-ui-kit-components-island.js +1 -1
  741. package/esm2015/components/line-clamp/index.js +1 -1
  742. package/esm2015/components/line-clamp/line-clamp-options.js +2 -2
  743. package/esm2015/components/line-clamp/line-clamp.component.js +61 -49
  744. package/esm2015/components/line-clamp/line-clamp.module.js +15 -12
  745. package/esm2015/components/line-clamp/taiga-ui-kit-components-line-clamp.js +1 -1
  746. package/esm2015/components/marker-icon/index.js +1 -1
  747. package/esm2015/components/marker-icon/marker-icon.component.js +39 -29
  748. package/esm2015/components/marker-icon/marker-icon.module.js +15 -12
  749. package/esm2015/components/marker-icon/taiga-ui-kit-components-marker-icon.js +1 -1
  750. package/esm2015/components/multi-select/hide-selected.pipe.js +22 -19
  751. package/esm2015/components/multi-select/index.js +1 -1
  752. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +47 -34
  753. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +56 -34
  754. package/esm2015/components/multi-select/multi-select-options.js +3 -3
  755. package/esm2015/components/multi-select/multi-select.component.js +113 -91
  756. package/esm2015/components/multi-select/multi-select.module.js +65 -26
  757. package/esm2015/components/multi-select/taiga-ui-kit-components-multi-select.js +1 -1
  758. package/esm2015/components/multi-select-option/index.js +1 -1
  759. package/esm2015/components/multi-select-option/multi-select-option.component.js +18 -14
  760. package/esm2015/components/multi-select-option/multi-select-option.module.js +16 -13
  761. package/esm2015/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +1 -1
  762. package/esm2015/components/pagination/index.js +1 -1
  763. package/esm2015/components/pagination/pagination.component.js +71 -55
  764. package/esm2015/components/pagination/pagination.module.js +30 -13
  765. package/esm2015/components/pagination/taiga-ui-kit-components-pagination.js +1 -1
  766. package/esm2015/components/pdf-viewer/index.js +2 -1
  767. package/esm2015/components/pdf-viewer/pdf-viewer-options.js +2 -1
  768. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +39 -31
  769. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +25 -18
  770. package/esm2015/components/pdf-viewer/pdf-viewer.module.js +29 -20
  771. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +12 -13
  772. package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +1 -1
  773. package/esm2015/components/progress/index.js +1 -4
  774. package/esm2015/components/progress/progress-bar/progress-bar.component.js +26 -19
  775. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +39 -31
  776. package/esm2015/components/progress/progress-circle/progress-circle.component.js +48 -36
  777. package/esm2015/components/progress/progress-label/progress-label.component.js +15 -13
  778. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +33 -25
  779. package/esm2015/components/progress/progress.module.js +35 -30
  780. package/esm2015/components/progress/taiga-ui-kit-components-progress.js +1 -1
  781. package/esm2015/components/radio/index.js +1 -1
  782. package/esm2015/components/radio/radio-options.js +3 -3
  783. package/esm2015/components/radio/radio.component.js +78 -61
  784. package/esm2015/components/radio/radio.module.js +29 -16
  785. package/esm2015/components/radio/taiga-ui-kit-components-radio.js +1 -1
  786. package/esm2015/components/radio-block/index.js +1 -1
  787. package/esm2015/components/radio-block/radio-block.component.js +79 -61
  788. package/esm2015/components/radio-block/radio-block.module.js +15 -19
  789. package/esm2015/components/radio-block/taiga-ui-kit-components-radio-block.js +1 -1
  790. package/esm2015/components/radio-group/index.js +1 -1
  791. package/esm2015/components/radio-group/radio-group.component.js +17 -14
  792. package/esm2015/components/radio-group/radio-group.module.js +14 -11
  793. package/esm2015/components/radio-group/taiga-ui-kit-components-radio-group.js +1 -1
  794. package/esm2015/components/radio-labeled/index.js +1 -1
  795. package/esm2015/components/radio-labeled/radio-labeled.component.js +67 -55
  796. package/esm2015/components/radio-labeled/radio-labeled.module.js +27 -16
  797. package/esm2015/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +1 -1
  798. package/esm2015/components/radio-list/index.js +1 -1
  799. package/esm2015/components/radio-list/radio-list.component.js +71 -49
  800. package/esm2015/components/radio-list/radio-list.module.js +26 -13
  801. package/esm2015/components/radio-list/taiga-ui-kit-components-radio-list.js +1 -1
  802. package/esm2015/components/range/index.js +1 -1
  803. package/esm2015/components/range/range-change.directive.js +38 -33
  804. package/esm2015/components/range/range.component.js +116 -109
  805. package/esm2015/components/range/range.module.js +17 -22
  806. package/esm2015/components/range/taiga-ui-kit-components-range.js +1 -1
  807. package/esm2015/components/rating/index.js +1 -1
  808. package/esm2015/components/rating/rating-options.js +4 -4
  809. package/esm2015/components/rating/rating.component.js +63 -44
  810. package/esm2015/components/rating/rating.module.js +26 -13
  811. package/esm2015/components/rating/taiga-ui-kit-components-rating.js +1 -1
  812. package/esm2015/components/select/index.js +1 -1
  813. package/esm2015/components/select/select-options.js +3 -3
  814. package/esm2015/components/select/select.component.js +64 -50
  815. package/esm2015/components/select/select.directive.js +23 -17
  816. package/esm2015/components/select/select.module.js +34 -14
  817. package/esm2015/components/select/select.providers.js +2 -4
  818. package/esm2015/components/select/taiga-ui-kit-components-select.js +1 -1
  819. package/esm2015/components/select-option/index.js +1 -1
  820. package/esm2015/components/select-option/select-option.component.js +36 -29
  821. package/esm2015/components/select-option/select-option.module.js +16 -13
  822. package/esm2015/components/select-option/taiga-ui-kit-components-select-option.js +1 -1
  823. package/esm2015/components/slider/helpers/slider-key-steps.directive.js +49 -60
  824. package/esm2015/components/slider/helpers/slider-readonly.directive.js +44 -38
  825. package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +24 -21
  826. package/esm2015/components/slider/index.js +1 -2
  827. package/esm2015/components/slider/slider-options.js +4 -4
  828. package/esm2015/components/slider/slider.component.js +71 -58
  829. package/esm2015/components/slider/slider.module.js +32 -37
  830. package/esm2015/components/slider/taiga-ui-kit-components-slider.js +1 -1
  831. package/esm2015/components/stepper/index.js +1 -1
  832. package/esm2015/components/stepper/step/step.component.js +63 -49
  833. package/esm2015/components/stepper/stepper.component.js +52 -40
  834. package/esm2015/components/stepper/stepper.module.js +15 -12
  835. package/esm2015/components/stepper/taiga-ui-kit-components-stepper.js +1 -1
  836. package/esm2015/components/tabs/index.js +1 -2
  837. package/esm2015/components/tabs/tab/tab.component.js +57 -61
  838. package/esm2015/components/tabs/tab/tab.providers.js +6 -8
  839. package/esm2015/components/tabs/tabs/tabs.component.js +85 -80
  840. package/esm2015/components/tabs/tabs-options.js +2 -2
  841. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +74 -55
  842. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +7 -9
  843. package/esm2015/components/tabs/tabs.module.js +46 -26
  844. package/esm2015/components/tabs/taiga-ui-kit-components-tabs.js +1 -1
  845. package/esm2015/components/tabs/underline/underline.component.js +53 -64
  846. package/esm2015/components/tag/index.js +1 -1
  847. package/esm2015/components/tag/tag-options.js +4 -4
  848. package/esm2015/components/tag/tag.component.js +105 -73
  849. package/esm2015/components/tag/tag.module.js +28 -13
  850. package/esm2015/components/tag/taiga-ui-kit-components-tag.js +1 -1
  851. package/esm2015/components/taiga-ui-kit-components.js +1 -1
  852. package/esm2015/components/text-area/index.js +1 -1
  853. package/esm2015/components/text-area/taiga-ui-kit-components-text-area.js +1 -1
  854. package/esm2015/components/text-area/text-area.component.js +95 -81
  855. package/esm2015/components/text-area/text-area.directive.js +23 -17
  856. package/esm2015/components/text-area/text-area.module.js +35 -15
  857. package/esm2015/components/text-area/text-area.providers.js +1 -1
  858. package/esm2015/components/toggle/index.js +1 -1
  859. package/esm2015/components/toggle/taiga-ui-kit-components-toggle.js +1 -1
  860. package/esm2015/components/toggle/toggle-options.js +5 -5
  861. package/esm2015/components/toggle/toggle.component.js +76 -59
  862. package/esm2015/components/toggle/toggle.module.js +37 -15
  863. package/esm2015/components/tree/components/tree/tree.component.js +51 -41
  864. package/esm2015/components/tree/components/tree-item/tree-item.component.js +41 -34
  865. package/esm2015/components/tree/components/tree-item/tree-item.providers.js +1 -1
  866. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +26 -22
  867. package/esm2015/components/tree/directives/tree-children.directive.js +15 -12
  868. package/esm2015/components/tree/directives/tree-controller.directive.js +39 -26
  869. package/esm2015/components/tree/directives/tree-item-controller.directive.js +27 -18
  870. package/esm2015/components/tree/directives/tree-node.directive.js +24 -20
  871. package/esm2015/components/tree/index.js +2 -1
  872. package/esm2015/components/tree/misc/tree.constants.js +1 -1
  873. package/esm2015/components/tree/misc/tree.interfaces.js +2 -1
  874. package/esm2015/components/tree/misc/tree.service.js +19 -18
  875. package/esm2015/components/tree/misc/tree.tokens.js +9 -9
  876. package/esm2015/components/tree/taiga-ui-kit-components-tree.js +1 -1
  877. package/esm2015/components/tree/tree.module.js +51 -28
  878. package/esm2015/constants/date-time-separator.js +2 -2
  879. package/esm2015/constants/empty-mask.js +1 -1
  880. package/esm2015/constants/group-class-names.js +10 -10
  881. package/esm2015/constants/icon-blank.js +2 -2
  882. package/esm2015/constants/index.js +1 -1
  883. package/esm2015/constants/masks.js +6 -31
  884. package/esm2015/constants/math.js +1 -1
  885. package/esm2015/constants/max-day-range-length-mapper.js +1 -1
  886. package/esm2015/constants/max-time-values.js +1 -1
  887. package/esm2015/constants/router-link-options.js +2 -2
  888. package/esm2015/constants/taiga-ui-kit-constants.js +1 -1
  889. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +73 -57
  890. package/esm2015/directives/dropdown-context/dropdown-context.module.js +15 -12
  891. package/esm2015/directives/dropdown-context/index.js +1 -1
  892. package/esm2015/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +1 -1
  893. package/esm2015/directives/dropdown-hover/dropdown-hover.directive.js +34 -28
  894. package/esm2015/directives/dropdown-hover/dropdown-hover.module.js +14 -11
  895. package/esm2015/directives/dropdown-hover/index.js +1 -1
  896. package/esm2015/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.js +1 -1
  897. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +99 -74
  898. package/esm2015/directives/dropdown-selection/dropdown-selection.module.js +15 -12
  899. package/esm2015/directives/dropdown-selection/index.js +1 -1
  900. package/esm2015/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.js +1 -1
  901. package/esm2015/directives/highlight/highlight.directive.js +48 -43
  902. package/esm2015/directives/highlight/highlight.module.js +14 -11
  903. package/esm2015/directives/highlight/index.js +1 -1
  904. package/esm2015/directives/highlight/taiga-ui-kit-directives-highlight.js +1 -1
  905. package/esm2015/directives/index.js +1 -1
  906. package/esm2015/directives/lazy-loading/index.js +1 -1
  907. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +40 -37
  908. package/esm2015/directives/lazy-loading/lazy-loading.module.js +14 -11
  909. package/esm2015/directives/lazy-loading/lazy-loading.service.js +19 -16
  910. package/esm2015/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +1 -1
  911. package/esm2015/directives/present/index.js +1 -1
  912. package/esm2015/directives/present/present.directive.js +31 -28
  913. package/esm2015/directives/present/present.module.js +14 -11
  914. package/esm2015/directives/present/taiga-ui-kit-directives-present.js +1 -1
  915. package/esm2015/directives/project-class/index.js +1 -1
  916. package/esm2015/directives/project-class/project-class.directive.js +20 -16
  917. package/esm2015/directives/project-class/project-class.module.js +14 -11
  918. package/esm2015/directives/project-class/taiga-ui-kit-directives-project-class.js +1 -1
  919. package/esm2015/directives/taiga-ui-kit-directives.js +1 -1
  920. package/esm2015/directives/unfinished-validator/index.js +1 -1
  921. package/esm2015/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +1 -1
  922. package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +32 -25
  923. package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +14 -11
  924. package/esm2015/directives/value-accessor/index.js +1 -1
  925. package/esm2015/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +1 -1
  926. package/esm2015/directives/value-accessor/value-accessor.directive.js +13 -11
  927. package/esm2015/directives/value-accessor/value-accessor.module.js +14 -11
  928. package/esm2015/index.js +3 -2
  929. package/esm2015/interfaces/bread-crumbs-item.js +2 -1
  930. package/esm2015/interfaces/file-like.js +2 -1
  931. package/esm2015/interfaces/index.js +5 -1
  932. package/esm2015/interfaces/mobile-calendar-data.js +2 -1
  933. package/esm2015/interfaces/month-context.js +2 -1
  934. package/esm2015/interfaces/taiga-ui-kit-interfaces.js +2 -1
  935. package/esm2015/internal/index.js +1 -1
  936. package/esm2015/internal/primitive-calendar-range/index.js +1 -1
  937. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +49 -36
  938. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +15 -12
  939. package/esm2015/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  940. package/esm2015/internal/taiga-ui-kit-internal.js +1 -1
  941. package/esm2015/pipes/field-error/field-error-content-pipe.js +19 -18
  942. package/esm2015/pipes/field-error/field-error-pipe.js +56 -38
  943. package/esm2015/pipes/field-error/field-error.module.js +14 -11
  944. package/esm2015/pipes/field-error/index.js +1 -1
  945. package/esm2015/pipes/field-error/taiga-ui-kit-pipes-field-error.js +1 -1
  946. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +16 -15
  947. package/esm2015/pipes/filter-by-input/filter-by-input.base.js +7 -13
  948. package/esm2015/pipes/filter-by-input/filter-by-input.module.js +14 -11
  949. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +16 -15
  950. package/esm2015/pipes/filter-by-input/index.js +1 -1
  951. package/esm2015/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +1 -1
  952. package/esm2015/pipes/index.js +1 -1
  953. package/esm2015/pipes/stringify/index.js +1 -1
  954. package/esm2015/pipes/stringify/stringify.module.js +14 -11
  955. package/esm2015/pipes/stringify/stringify.pipe.js +13 -11
  956. package/esm2015/pipes/stringify/taiga-ui-kit-pipes-stringify.js +1 -1
  957. package/esm2015/pipes/stringify-content/index.js +1 -1
  958. package/esm2015/pipes/stringify-content/stringify-content.module.js +14 -11
  959. package/esm2015/pipes/stringify-content/stringify-content.pipe.js +12 -10
  960. package/esm2015/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +1 -1
  961. package/esm2015/pipes/taiga-ui-kit-pipes.js +1 -1
  962. package/esm2015/providers/index.js +1 -1
  963. package/esm2015/providers/month-formatter.provider.js +2 -2
  964. package/esm2015/providers/specific-dropdown-controllers.js +3 -3
  965. package/esm2015/providers/taiga-ui-kit-providers.js +1 -1
  966. package/esm2015/providers/value-accessor.provider.js +2 -4
  967. package/esm2015/taiga-ui-kit.js +1 -1
  968. package/esm2015/tokens/calendar-data-stream.js +2 -2
  969. package/esm2015/tokens/date-inputs-value-transformers.js +4 -4
  970. package/esm2015/tokens/i18n.js +29 -29
  971. package/esm2015/tokens/index.js +1 -2
  972. package/esm2015/tokens/items-handlers.js +2 -2
  973. package/esm2015/tokens/mobile-calendar.js +2 -2
  974. package/esm2015/tokens/month-formatter.js +2 -2
  975. package/esm2015/tokens/tab-margin.js +2 -2
  976. package/esm2015/tokens/tag-status.js +3 -3
  977. package/esm2015/tokens/taiga-ui-kit-tokens.js +1 -1
  978. package/esm2015/tokens/validation-errors.js +2 -2
  979. package/esm2015/types/dropdown-position.js +2 -0
  980. package/esm2015/types/file-state.js +2 -0
  981. package/esm2015/types/handler-with-context.js +2 -1
  982. package/esm2015/types/index.js +9 -1
  983. package/esm2015/types/key-steps.js +2 -1
  984. package/esm2015/types/marker-icon-mode.js +2 -1
  985. package/esm2015/types/status.js +2 -1
  986. package/esm2015/types/step-state.js +2 -0
  987. package/esm2015/types/taiga-ui-kit-types.js +2 -1
  988. package/esm2015/types/time-format-parts.js +2 -1
  989. package/esm2015/utils/dom/get-word-range.js +5 -5
  990. package/esm2015/utils/dom/index.js +1 -1
  991. package/esm2015/utils/dom/scroll-to-element.js +1 -1
  992. package/esm2015/utils/dom/set-range-offset.js +1 -1
  993. package/esm2015/utils/dom/taiga-ui-kit-utils-dom.js +1 -1
  994. package/esm2015/utils/files/format-size.js +2 -2
  995. package/esm2015/utils/files/get-accept-array.js +2 -2
  996. package/esm2015/utils/files/index.js +1 -1
  997. package/esm2015/utils/files/taiga-ui-kit-utils-files.js +1 -1
  998. package/esm2015/utils/format/index.js +1 -1
  999. package/esm2015/utils/format/string-hash-to-hsl.js +3 -3
  1000. package/esm2015/utils/format/taiga-ui-kit-utils-format.js +1 -1
  1001. package/esm2015/utils/index.js +1 -1
  1002. package/esm2015/utils/mask/create-auto-corrected-date-pipe.js +1 -1
  1003. package/esm2015/utils/mask/create-auto-corrected-date-range-pipe.js +1 -1
  1004. package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +3 -3
  1005. package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +6 -6
  1006. package/esm2015/utils/mask/create-date-mask.js +5 -5
  1007. package/esm2015/utils/mask/create-date-range-mask.js +2 -2
  1008. package/esm2015/utils/mask/create-time-mask.js +4 -4
  1009. package/esm2015/utils/mask/index.js +1 -1
  1010. package/esm2015/utils/mask/taiga-ui-kit-utils-mask.js +1 -1
  1011. package/esm2015/utils/math/horizontal-direction-to-number.js +3 -3
  1012. package/esm2015/utils/math/index.js +1 -1
  1013. package/esm2015/utils/math/key-steps.js +1 -4
  1014. package/esm2015/utils/math/taiga-ui-kit-utils-math.js +1 -1
  1015. package/esm2015/utils/miscellaneous/create-default-day-range-periods.js +7 -7
  1016. package/esm2015/utils/miscellaneous/create-time-periods.js +1 -1
  1017. package/esm2015/utils/miscellaneous/get-precision.js +2 -2
  1018. package/esm2015/utils/miscellaneous/index.js +1 -1
  1019. package/esm2015/utils/miscellaneous/is-flat.js +2 -7
  1020. package/esm2015/utils/miscellaneous/replay-control-value-changes-factory.js +4 -7
  1021. package/esm2015/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +1 -1
  1022. package/esm2015/utils/taiga-ui-kit-utils.js +1 -1
  1023. package/esm2015/validators/index.js +1 -1
  1024. package/esm2015/validators/taiga-ui-kit-validators.js +1 -1
  1025. package/esm2015/validators/unfinished.validator.js +2 -2
  1026. package/fesm2015/taiga-ui-kit-abstract.js +56 -219
  1027. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  1028. package/fesm2015/taiga-ui-kit-classes.js.map +1 -1
  1029. package/fesm2015/taiga-ui-kit-components-accordion.js +188 -126
  1030. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  1031. package/fesm2015/taiga-ui-kit-components-action.js +81 -57
  1032. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  1033. package/fesm2015/taiga-ui-kit-components-arrow.js +53 -39
  1034. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  1035. package/fesm2015/taiga-ui-kit-components-avatar.js +64 -45
  1036. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  1037. package/fesm2015/taiga-ui-kit-components-badge.js +71 -51
  1038. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  1039. package/fesm2015/taiga-ui-kit-components-badged-content.js +78 -52
  1040. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  1041. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +56 -91
  1042. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  1043. package/fesm2015/taiga-ui-kit-components-calendar-month.js +85 -52
  1044. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  1045. package/fesm2015/taiga-ui-kit-components-calendar-range.js +91 -58
  1046. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  1047. package/fesm2015/taiga-ui-kit-components-carousel.js +212 -158
  1048. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  1049. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +95 -63
  1050. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  1051. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +72 -62
  1052. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  1053. package/fesm2015/taiga-ui-kit-components-checkbox.js +79 -54
  1054. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  1055. package/fesm2015/taiga-ui-kit-components-combo-box.js +158 -109
  1056. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  1057. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +122 -85
  1058. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  1059. package/fesm2015/taiga-ui-kit-components-files.js +137 -95
  1060. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  1061. package/fesm2015/taiga-ui-kit-components-filter.js +84 -56
  1062. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  1063. package/fesm2015/taiga-ui-kit-components-input-copy.js +110 -73
  1064. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  1065. package/fesm2015/taiga-ui-kit-components-input-count.js +160 -113
  1066. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  1067. package/fesm2015/taiga-ui-kit-components-input-date-range.js +174 -114
  1068. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  1069. package/fesm2015/taiga-ui-kit-components-input-date-time.js +157 -101
  1070. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  1071. package/fesm2015/taiga-ui-kit-components-input-date.js +157 -97
  1072. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  1073. package/fesm2015/taiga-ui-kit-components-input-files.js +144 -86
  1074. package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
  1075. package/fesm2015/taiga-ui-kit-components-input-inline.js +76 -46
  1076. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  1077. package/fesm2015/taiga-ui-kit-components-input-month-range.js +130 -80
  1078. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  1079. package/fesm2015/taiga-ui-kit-components-input-month.js +120 -74
  1080. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  1081. package/fesm2015/taiga-ui-kit-components-input-number.js +153 -103
  1082. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  1083. package/fesm2015/taiga-ui-kit-components-input-password.js +142 -95
  1084. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  1085. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +348 -547
  1086. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  1087. package/fesm2015/taiga-ui-kit-components-input-phone.js +147 -108
  1088. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  1089. package/fesm2015/taiga-ui-kit-components-input-range.js +168 -135
  1090. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  1091. package/fesm2015/taiga-ui-kit-components-input-slider.js +126 -173
  1092. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  1093. package/fesm2015/taiga-ui-kit-components-input-tag.js +216 -153
  1094. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  1095. package/fesm2015/taiga-ui-kit-components-input-time.js +113 -76
  1096. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  1097. package/fesm2015/taiga-ui-kit-components-input.js +86 -72
  1098. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  1099. package/fesm2015/taiga-ui-kit-components-island.js +71 -55
  1100. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  1101. package/fesm2015/taiga-ui-kit-components-line-clamp.js +75 -58
  1102. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  1103. package/fesm2015/taiga-ui-kit-components-marker-icon.js +53 -38
  1104. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  1105. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +31 -22
  1106. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  1107. package/fesm2015/taiga-ui-kit-components-multi-select.js +289 -192
  1108. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  1109. package/fesm2015/taiga-ui-kit-components-pagination.js +97 -62
  1110. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  1111. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +101 -73
  1112. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  1113. package/fesm2015/taiga-ui-kit-components-progress.js +182 -200
  1114. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  1115. package/fesm2015/taiga-ui-kit-components-radio-block.js +92 -75
  1116. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  1117. package/fesm2015/taiga-ui-kit-components-radio-group.js +29 -21
  1118. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  1119. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +91 -66
  1120. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  1121. package/fesm2015/taiga-ui-kit-components-radio-list.js +95 -58
  1122. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  1123. package/fesm2015/taiga-ui-kit-components-radio.js +105 -73
  1124. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  1125. package/fesm2015/taiga-ui-kit-components-range.js +162 -152
  1126. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  1127. package/fesm2015/taiga-ui-kit-components-rating.js +89 -55
  1128. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
  1129. package/fesm2015/taiga-ui-kit-components-select-option.js +48 -36
  1130. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  1131. package/fesm2015/taiga-ui-kit-components-select.js +120 -79
  1132. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  1133. package/fesm2015/taiga-ui-kit-components-slider.js +210 -269
  1134. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  1135. package/fesm2015/taiga-ui-kit-components-stepper.js +124 -95
  1136. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  1137. package/fesm2015/taiga-ui-kit-components-tabs.js +317 -306
  1138. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  1139. package/fesm2015/taiga-ui-kit-components-tag.js +135 -86
  1140. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  1141. package/fesm2015/taiga-ui-kit-components-text-area.js +148 -105
  1142. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  1143. package/fesm2015/taiga-ui-kit-components-toggle.js +112 -71
  1144. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  1145. package/fesm2015/taiga-ui-kit-components-tree.js +291 -218
  1146. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  1147. package/fesm2015/taiga-ui-kit-components.js +0 -2
  1148. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  1149. package/fesm2015/taiga-ui-kit-constants.js +18 -43
  1150. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  1151. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +85 -64
  1152. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  1153. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js +46 -35
  1154. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  1155. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +111 -81
  1156. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  1157. package/fesm2015/taiga-ui-kit-directives-highlight.js +59 -49
  1158. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  1159. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +68 -57
  1160. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  1161. package/fesm2015/taiga-ui-kit-directives-present.js +42 -34
  1162. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  1163. package/fesm2015/taiga-ui-kit-directives-project-class.js +31 -22
  1164. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  1165. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +44 -32
  1166. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  1167. package/fesm2015/taiga-ui-kit-directives-value-accessor.js +24 -17
  1168. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  1169. package/fesm2015/taiga-ui-kit-directives.js.map +1 -1
  1170. package/fesm2015/taiga-ui-kit-interfaces.js.map +1 -1
  1171. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +60 -42
  1172. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  1173. package/fesm2015/taiga-ui-kit-internal.js.map +1 -1
  1174. package/fesm2015/taiga-ui-kit-pipes-field-error.js +83 -58
  1175. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
  1176. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +51 -48
  1177. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  1178. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +23 -16
  1179. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  1180. package/fesm2015/taiga-ui-kit-pipes-stringify.js +24 -17
  1181. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  1182. package/fesm2015/taiga-ui-kit-pipes.js.map +1 -1
  1183. package/fesm2015/taiga-ui-kit-providers.js +5 -7
  1184. package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
  1185. package/fesm2015/taiga-ui-kit-tokens.js +40 -45
  1186. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  1187. package/fesm2015/taiga-ui-kit-types.js.map +1 -1
  1188. package/fesm2015/taiga-ui-kit-utils-dom.js +4 -4
  1189. package/fesm2015/taiga-ui-kit-utils-dom.js.map +1 -1
  1190. package/fesm2015/taiga-ui-kit-utils-files.js +2 -2
  1191. package/fesm2015/taiga-ui-kit-utils-files.js.map +1 -1
  1192. package/fesm2015/taiga-ui-kit-utils-format.js +2 -2
  1193. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  1194. package/fesm2015/taiga-ui-kit-utils-mask.js +15 -15
  1195. package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
  1196. package/fesm2015/taiga-ui-kit-utils-math.js +3 -6
  1197. package/fesm2015/taiga-ui-kit-utils-math.js.map +1 -1
  1198. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +12 -20
  1199. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  1200. package/fesm2015/taiga-ui-kit-utils.js.map +1 -1
  1201. package/fesm2015/taiga-ui-kit-validators.js +1 -1
  1202. package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
  1203. package/fesm2015/taiga-ui-kit.js +2 -1
  1204. package/fesm2015/taiga-ui-kit.js.map +1 -1
  1205. package/index.d.ts +0 -1
  1206. package/interfaces/index.d.ts +0 -1
  1207. package/interfaces/package.json +2 -5
  1208. package/interfaces/taiga-ui-kit-interfaces.d.ts +1 -0
  1209. package/internal/package.json +2 -5
  1210. package/internal/primitive-calendar-range/package.json +2 -5
  1211. package/internal/primitive-calendar-range/primitive-calendar-range.component.d.ts +3 -0
  1212. package/internal/primitive-calendar-range/primitive-calendar-range.module.d.ts +7 -0
  1213. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.d.ts +1 -0
  1214. package/internal/taiga-ui-kit-internal.d.ts +1 -0
  1215. package/package.json +11 -14
  1216. package/pipes/field-error/field-error-content-pipe.d.ts +3 -0
  1217. package/pipes/field-error/field-error-pipe.d.ts +3 -0
  1218. package/pipes/field-error/field-error.module.d.ts +6 -0
  1219. package/pipes/field-error/package.json +2 -5
  1220. package/pipes/field-error/taiga-ui-kit-pipes-field-error.d.ts +1 -0
  1221. package/pipes/filter-by-input/filter-by-input-with.pipe.d.ts +3 -0
  1222. package/pipes/filter-by-input/filter-by-input.base.d.ts +1 -7
  1223. package/pipes/filter-by-input/filter-by-input.module.d.ts +6 -0
  1224. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +3 -0
  1225. package/pipes/filter-by-input/package.json +2 -5
  1226. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.d.ts +1 -0
  1227. package/pipes/package.json +2 -5
  1228. package/pipes/stringify/package.json +2 -5
  1229. package/pipes/stringify/stringify.module.d.ts +5 -0
  1230. package/pipes/stringify/stringify.pipe.d.ts +3 -0
  1231. package/pipes/stringify/taiga-ui-kit-pipes-stringify.d.ts +1 -0
  1232. package/pipes/stringify-content/package.json +2 -5
  1233. package/pipes/stringify-content/stringify-content.module.d.ts +5 -0
  1234. package/pipes/stringify-content/stringify-content.pipe.d.ts +3 -0
  1235. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.d.ts +1 -0
  1236. package/pipes/taiga-ui-kit-pipes.d.ts +1 -0
  1237. package/providers/package.json +2 -5
  1238. package/providers/taiga-ui-kit-providers.d.ts +1 -0
  1239. package/providers/value-accessor.provider.d.ts +0 -2
  1240. package/taiga-ui-kit.d.ts +1 -0
  1241. package/tokens/index.d.ts +0 -1
  1242. package/tokens/package.json +2 -5
  1243. package/tokens/tag-status.d.ts +1 -1
  1244. package/tokens/taiga-ui-kit-tokens.d.ts +1 -0
  1245. package/tokens/validation-errors.d.ts +1 -1
  1246. package/types/dropdown-position.d.ts +1 -0
  1247. package/types/file-state.d.ts +4 -0
  1248. package/types/index.d.ts +3 -0
  1249. package/types/key-steps.d.ts +8 -6
  1250. package/types/marker-icon-mode.d.ts +1 -1
  1251. package/types/package.json +2 -5
  1252. package/types/status.d.ts +1 -1
  1253. package/types/step-state.d.ts +1 -0
  1254. package/types/taiga-ui-kit-types.d.ts +1 -0
  1255. package/utils/dom/package.json +2 -5
  1256. package/utils/dom/taiga-ui-kit-utils-dom.d.ts +1 -0
  1257. package/utils/files/package.json +2 -5
  1258. package/utils/files/taiga-ui-kit-utils-files.d.ts +1 -0
  1259. package/utils/format/package.json +2 -5
  1260. package/utils/format/taiga-ui-kit-utils-format.d.ts +1 -0
  1261. package/utils/mask/package.json +2 -5
  1262. package/utils/mask/taiga-ui-kit-utils-mask.d.ts +1 -0
  1263. package/utils/math/key-steps.d.ts +0 -1
  1264. package/utils/math/package.json +2 -5
  1265. package/utils/math/taiga-ui-kit-utils-math.d.ts +1 -0
  1266. package/utils/miscellaneous/is-flat.d.ts +1 -5
  1267. package/utils/miscellaneous/package.json +2 -5
  1268. package/utils/miscellaneous/replay-control-value-changes-factory.d.ts +1 -4
  1269. package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.d.ts +1 -0
  1270. package/utils/package.json +2 -5
  1271. package/utils/taiga-ui-kit-utils.d.ts +1 -0
  1272. package/validators/package.json +2 -5
  1273. package/validators/taiga-ui-kit-validators.d.ts +1 -0
  1274. package/abstract/input-slider.d.ts +0 -77
  1275. package/abstract/taiga-ui-kit-abstract.metadata.json +0 -1
  1276. package/bundles/taiga-ui-kit-abstract.umd.min.js +0 -2
  1277. package/bundles/taiga-ui-kit-abstract.umd.min.js.map +0 -1
  1278. package/bundles/taiga-ui-kit-classes.umd.min.js +0 -2
  1279. package/bundles/taiga-ui-kit-classes.umd.min.js.map +0 -1
  1280. package/bundles/taiga-ui-kit-components-accordion.umd.min.js +0 -2
  1281. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +0 -1
  1282. package/bundles/taiga-ui-kit-components-action.umd.min.js +0 -2
  1283. package/bundles/taiga-ui-kit-components-action.umd.min.js.map +0 -1
  1284. package/bundles/taiga-ui-kit-components-arrow.umd.min.js +0 -2
  1285. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +0 -1
  1286. package/bundles/taiga-ui-kit-components-avatar.umd.min.js +0 -2
  1287. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +0 -1
  1288. package/bundles/taiga-ui-kit-components-badge.umd.min.js +0 -2
  1289. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +0 -1
  1290. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js +0 -2
  1291. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +0 -1
  1292. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +0 -2
  1293. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +0 -1
  1294. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +0 -2
  1295. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +0 -1
  1296. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js +0 -2
  1297. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +0 -1
  1298. package/bundles/taiga-ui-kit-components-carousel.umd.min.js +0 -2
  1299. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +0 -1
  1300. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +0 -2
  1301. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +0 -1
  1302. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js +0 -2
  1303. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +0 -1
  1304. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +0 -2
  1305. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +0 -1
  1306. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +0 -2
  1307. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +0 -1
  1308. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +0 -2
  1309. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +0 -1
  1310. package/bundles/taiga-ui-kit-components-field-error.umd.js +0 -435
  1311. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +0 -1
  1312. package/bundles/taiga-ui-kit-components-field-error.umd.min.js +0 -2
  1313. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +0 -1
  1314. package/bundles/taiga-ui-kit-components-files.umd.min.js +0 -2
  1315. package/bundles/taiga-ui-kit-components-files.umd.min.js.map +0 -1
  1316. package/bundles/taiga-ui-kit-components-filter.umd.min.js +0 -2
  1317. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +0 -1
  1318. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +0 -2
  1319. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +0 -1
  1320. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +0 -2
  1321. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +0 -1
  1322. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +0 -2
  1323. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +0 -1
  1324. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +0 -2
  1325. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +0 -1
  1326. package/bundles/taiga-ui-kit-components-input-date.umd.min.js +0 -2
  1327. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +0 -1
  1328. package/bundles/taiga-ui-kit-components-input-file.umd.js +0 -779
  1329. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +0 -1
  1330. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +0 -2
  1331. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +0 -1
  1332. package/bundles/taiga-ui-kit-components-input-files.umd.min.js +0 -2
  1333. package/bundles/taiga-ui-kit-components-input-files.umd.min.js.map +0 -1
  1334. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +0 -2
  1335. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +0 -1
  1336. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +0 -2
  1337. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +0 -1
  1338. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +0 -2
  1339. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +0 -1
  1340. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +0 -2
  1341. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +0 -1
  1342. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +0 -2
  1343. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +0 -1
  1344. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +0 -2
  1345. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +0 -1
  1346. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +0 -2
  1347. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +0 -1
  1348. package/bundles/taiga-ui-kit-components-input-range.umd.min.js +0 -2
  1349. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +0 -1
  1350. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +0 -2
  1351. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +0 -1
  1352. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +0 -2
  1353. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +0 -1
  1354. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +0 -2
  1355. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +0 -1
  1356. package/bundles/taiga-ui-kit-components-input.umd.min.js +0 -2
  1357. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +0 -1
  1358. package/bundles/taiga-ui-kit-components-island.umd.min.js +0 -2
  1359. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +0 -1
  1360. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +0 -2
  1361. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +0 -1
  1362. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js +0 -2
  1363. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +0 -1
  1364. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js +0 -2
  1365. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +0 -1
  1366. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +0 -2
  1367. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +0 -1
  1368. package/bundles/taiga-ui-kit-components-pagination.umd.min.js +0 -2
  1369. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +0 -1
  1370. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +0 -2
  1371. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +0 -1
  1372. package/bundles/taiga-ui-kit-components-progress.umd.min.js +0 -2
  1373. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +0 -1
  1374. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +0 -2
  1375. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +0 -1
  1376. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js +0 -2
  1377. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +0 -1
  1378. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +0 -2
  1379. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +0 -1
  1380. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js +0 -2
  1381. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +0 -1
  1382. package/bundles/taiga-ui-kit-components-radio.umd.min.js +0 -2
  1383. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +0 -1
  1384. package/bundles/taiga-ui-kit-components-range.umd.min.js +0 -2
  1385. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +0 -1
  1386. package/bundles/taiga-ui-kit-components-rating.umd.min.js +0 -2
  1387. package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +0 -1
  1388. package/bundles/taiga-ui-kit-components-select-option.umd.min.js +0 -2
  1389. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +0 -1
  1390. package/bundles/taiga-ui-kit-components-select.umd.min.js +0 -2
  1391. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +0 -1
  1392. package/bundles/taiga-ui-kit-components-slider.umd.min.js +0 -2
  1393. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +0 -1
  1394. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +0 -2
  1395. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +0 -1
  1396. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +0 -2
  1397. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +0 -1
  1398. package/bundles/taiga-ui-kit-components-tag.umd.min.js +0 -2
  1399. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +0 -1
  1400. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +0 -2
  1401. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +0 -1
  1402. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +0 -2
  1403. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +0 -1
  1404. package/bundles/taiga-ui-kit-components-tree.umd.min.js +0 -2
  1405. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +0 -1
  1406. package/bundles/taiga-ui-kit-components.umd.min.js +0 -2
  1407. package/bundles/taiga-ui-kit-components.umd.min.js.map +0 -1
  1408. package/bundles/taiga-ui-kit-constants.umd.min.js +0 -2
  1409. package/bundles/taiga-ui-kit-constants.umd.min.js.map +0 -1
  1410. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js +0 -2
  1411. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +0 -1
  1412. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js +0 -2
  1413. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +0 -1
  1414. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +0 -2
  1415. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +0 -1
  1416. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js +0 -2
  1417. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +0 -1
  1418. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js +0 -2
  1419. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +0 -1
  1420. package/bundles/taiga-ui-kit-directives-present.umd.min.js +0 -2
  1421. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +0 -1
  1422. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js +0 -2
  1423. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +0 -1
  1424. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js +0 -2
  1425. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +0 -1
  1426. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js +0 -2
  1427. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +0 -1
  1428. package/bundles/taiga-ui-kit-directives.umd.min.js +0 -2
  1429. package/bundles/taiga-ui-kit-directives.umd.min.js.map +0 -1
  1430. package/bundles/taiga-ui-kit-enums.umd.js +0 -88
  1431. package/bundles/taiga-ui-kit-enums.umd.js.map +0 -1
  1432. package/bundles/taiga-ui-kit-enums.umd.min.js +0 -2
  1433. package/bundles/taiga-ui-kit-enums.umd.min.js.map +0 -1
  1434. package/bundles/taiga-ui-kit-interfaces.umd.min.js +0 -2
  1435. package/bundles/taiga-ui-kit-interfaces.umd.min.js.map +0 -1
  1436. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +0 -2
  1437. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +0 -1
  1438. package/bundles/taiga-ui-kit-internal.umd.min.js +0 -2
  1439. package/bundles/taiga-ui-kit-internal.umd.min.js.map +0 -1
  1440. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js +0 -2
  1441. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +0 -1
  1442. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js +0 -2
  1443. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +0 -1
  1444. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js +0 -2
  1445. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +0 -1
  1446. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js +0 -2
  1447. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +0 -1
  1448. package/bundles/taiga-ui-kit-pipes.umd.min.js +0 -2
  1449. package/bundles/taiga-ui-kit-pipes.umd.min.js.map +0 -1
  1450. package/bundles/taiga-ui-kit-providers.umd.min.js +0 -2
  1451. package/bundles/taiga-ui-kit-providers.umd.min.js.map +0 -1
  1452. package/bundles/taiga-ui-kit-tokens.umd.min.js +0 -2
  1453. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +0 -1
  1454. package/bundles/taiga-ui-kit-types.umd.min.js +0 -2
  1455. package/bundles/taiga-ui-kit-types.umd.min.js.map +0 -1
  1456. package/bundles/taiga-ui-kit-utils-dom.umd.min.js +0 -2
  1457. package/bundles/taiga-ui-kit-utils-dom.umd.min.js.map +0 -1
  1458. package/bundles/taiga-ui-kit-utils-files.umd.min.js +0 -2
  1459. package/bundles/taiga-ui-kit-utils-files.umd.min.js.map +0 -1
  1460. package/bundles/taiga-ui-kit-utils-format.umd.min.js +0 -2
  1461. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +0 -1
  1462. package/bundles/taiga-ui-kit-utils-mask.umd.min.js +0 -2
  1463. package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +0 -1
  1464. package/bundles/taiga-ui-kit-utils-math.umd.min.js +0 -2
  1465. package/bundles/taiga-ui-kit-utils-math.umd.min.js.map +0 -1
  1466. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js +0 -2
  1467. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +0 -1
  1468. package/bundles/taiga-ui-kit-utils.umd.min.js +0 -2
  1469. package/bundles/taiga-ui-kit-utils.umd.min.js.map +0 -1
  1470. package/bundles/taiga-ui-kit-validators.umd.min.js +0 -2
  1471. package/bundles/taiga-ui-kit-validators.umd.min.js.map +0 -1
  1472. package/bundles/taiga-ui-kit.umd.min.js +0 -2
  1473. package/bundles/taiga-ui-kit.umd.min.js.map +0 -1
  1474. package/classes/taiga-ui-kit-classes.metadata.json +0 -1
  1475. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +0 -1
  1476. package/components/action/taiga-ui-kit-components-action.metadata.json +0 -1
  1477. package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +0 -1
  1478. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +0 -1
  1479. package/components/badge/taiga-ui-kit-components-badge.metadata.json +0 -1
  1480. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +0 -1
  1481. package/components/breadcrumbs/breadcrumb.directive.d.ts +0 -2
  1482. package/components/breadcrumbs/breadcrumbs-wrapper.component.d.ts +0 -10
  1483. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +0 -1
  1484. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +0 -1
  1485. package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +0 -1
  1486. package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +0 -1
  1487. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +0 -1
  1488. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.metadata.json +0 -1
  1489. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +0 -1
  1490. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +0 -1
  1491. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +0 -1
  1492. package/components/field-error/field-error.component.d.ts +0 -27
  1493. package/components/field-error/field-error.module.d.ts +0 -5
  1494. package/components/field-error/index.d.ts +0 -2
  1495. package/components/field-error/package.json +0 -13
  1496. package/components/field-error/taiga-ui-kit-components-field-error.d.ts +0 -4
  1497. package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +0 -1
  1498. package/components/files/taiga-ui-kit-components-files.metadata.json +0 -1
  1499. package/components/filter/taiga-ui-kit-components-filter.metadata.json +0 -1
  1500. package/components/input/taiga-ui-kit-components-input.metadata.json +0 -1
  1501. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +0 -1
  1502. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +0 -1
  1503. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +0 -1
  1504. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +0 -1
  1505. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +0 -1
  1506. package/components/input-file/file/file.component.d.ts +0 -37
  1507. package/components/input-file/index.d.ts +0 -3
  1508. package/components/input-file/input-file.component.d.ts +0 -54
  1509. package/components/input-file/input-file.module.d.ts +0 -2
  1510. package/components/input-file/package.json +0 -13
  1511. package/components/input-file/taiga-ui-kit-components-input-file.d.ts +0 -4
  1512. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +0 -1
  1513. package/components/input-files/taiga-ui-kit-components-input-files.metadata.json +0 -1
  1514. package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +0 -1
  1515. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +0 -1
  1516. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +0 -1
  1517. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +0 -1
  1518. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +0 -1
  1519. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +0 -1
  1520. package/components/input-phone-international/const/countries.d.ts +0 -26
  1521. package/components/input-phone-international/country-iso-code.d.ts +0 -207
  1522. package/components/input-phone-international/interfaces/country.d.ts +0 -7
  1523. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +0 -1
  1524. package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +0 -1
  1525. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +0 -1
  1526. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +0 -1
  1527. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +0 -1
  1528. package/components/island/taiga-ui-kit-components-island.metadata.json +0 -1
  1529. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +0 -1
  1530. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +0 -1
  1531. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +0 -1
  1532. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +0 -1
  1533. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +0 -1
  1534. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +0 -1
  1535. package/components/progress/taiga-ui-kit-components-progress.metadata.json +0 -1
  1536. package/components/progress/utils/abstract-color-segments.d.ts +0 -9
  1537. package/components/progress/utils/calculate-color-segments.d.ts +0 -1
  1538. package/components/progress/utils/progress-color-segments-async.pipe.d.ts +0 -10
  1539. package/components/progress/utils/progress-color-segments.pipe.d.ts +0 -9
  1540. package/components/radio/taiga-ui-kit-components-radio.metadata.json +0 -1
  1541. package/components/radio-block/taiga-ui-kit-components-radio-block.metadata.json +0 -1
  1542. package/components/radio-group/taiga-ui-kit-components-radio-group.metadata.json +0 -1
  1543. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +0 -1
  1544. package/components/radio-list/taiga-ui-kit-components-radio-list.metadata.json +0 -1
  1545. package/components/range/taiga-ui-kit-components-range.metadata.json +0 -1
  1546. package/components/rating/taiga-ui-kit-components-rating.metadata.json +0 -1
  1547. package/components/select/taiga-ui-kit-components-select.metadata.json +0 -1
  1548. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +0 -1
  1549. package/components/slider/slider-old.component.d.ts +0 -21
  1550. package/components/slider/taiga-ui-kit-components-slider.metadata.json +0 -1
  1551. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +0 -1
  1552. package/components/tabs/tab.directive.d.ts +0 -5
  1553. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +0 -1
  1554. package/components/tag/taiga-ui-kit-components-tag.metadata.json +0 -1
  1555. package/components/taiga-ui-kit-components.metadata.json +0 -1
  1556. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +0 -1
  1557. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +0 -1
  1558. package/components/tree/taiga-ui-kit-components-tree.metadata.json +0 -1
  1559. package/constants/taiga-ui-kit-constants.metadata.json +0 -1
  1560. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +0 -1
  1561. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.metadata.json +0 -1
  1562. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +0 -1
  1563. package/directives/highlight/taiga-ui-kit-directives-highlight.metadata.json +0 -1
  1564. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +0 -1
  1565. package/directives/present/taiga-ui-kit-directives-present.metadata.json +0 -1
  1566. package/directives/project-class/taiga-ui-kit-directives-project-class.metadata.json +0 -1
  1567. package/directives/taiga-ui-kit-directives.metadata.json +0 -1
  1568. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.metadata.json +0 -1
  1569. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.metadata.json +0 -1
  1570. package/enums/borders.d.ts +0 -7
  1571. package/enums/dropdown-position.d.ts +0 -9
  1572. package/enums/file-state.d.ts +0 -10
  1573. package/enums/index.d.ts +0 -7
  1574. package/enums/marker-icon-mode.d.ts +0 -13
  1575. package/enums/package.json +0 -13
  1576. package/enums/status.d.ts +0 -11
  1577. package/enums/step-state.d.ts +0 -9
  1578. package/enums/taiga-ui-kit-enums.d.ts +0 -4
  1579. package/enums/taiga-ui-kit-enums.metadata.json +0 -1
  1580. package/enums/text-align.d.ts +0 -8
  1581. package/esm2015/abstract/input-slider.js +0 -171
  1582. package/esm2015/components/breadcrumbs/breadcrumb.directive.js +0 -11
  1583. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +0 -40
  1584. package/esm2015/components/field-error/field-error.component.js +0 -132
  1585. package/esm2015/components/field-error/field-error.module.js +0 -20
  1586. package/esm2015/components/field-error/index.js +0 -3
  1587. package/esm2015/components/field-error/taiga-ui-kit-components-field-error.js +0 -5
  1588. package/esm2015/components/input-file/file/file.component.js +0 -149
  1589. package/esm2015/components/input-file/index.js +0 -4
  1590. package/esm2015/components/input-file/input-file.component.js +0 -264
  1591. package/esm2015/components/input-file/input-file.module.js +0 -36
  1592. package/esm2015/components/input-file/taiga-ui-kit-components-input-file.js +0 -5
  1593. package/esm2015/components/input-phone-international/const/countries.js +0 -257
  1594. package/esm2015/components/input-phone-international/country-iso-code.js +0 -209
  1595. package/esm2015/components/input-phone-international/interfaces/country.js +0 -1
  1596. package/esm2015/components/progress/utils/abstract-color-segments.js +0 -32
  1597. package/esm2015/components/progress/utils/calculate-color-segments.js +0 -11
  1598. package/esm2015/components/progress/utils/progress-color-segments-async.pipe.js +0 -21
  1599. package/esm2015/components/progress/utils/progress-color-segments.pipe.js +0 -19
  1600. package/esm2015/components/slider/slider-old.component.js +0 -77
  1601. package/esm2015/components/tabs/tab.directive.js +0 -18
  1602. package/esm2015/enums/borders.js +0 -9
  1603. package/esm2015/enums/dropdown-position.js +0 -10
  1604. package/esm2015/enums/file-state.js +0 -11
  1605. package/esm2015/enums/index.js +0 -8
  1606. package/esm2015/enums/marker-icon-mode.js +0 -15
  1607. package/esm2015/enums/status.js +0 -13
  1608. package/esm2015/enums/step-state.js +0 -10
  1609. package/esm2015/enums/taiga-ui-kit-enums.js +0 -5
  1610. package/esm2015/enums/text-align.js +0 -10
  1611. package/esm2015/interfaces/with-date-mask-pipe-config.js +0 -1
  1612. package/esm2015/tokens/mobile-aware.js +0 -6
  1613. package/esm5/abstract/index.js +0 -3
  1614. package/esm5/abstract/input-slider.js +0 -202
  1615. package/esm5/abstract/slider/slider.js +0 -298
  1616. package/esm5/abstract/taiga-ui-kit-abstract.js +0 -5
  1617. package/esm5/classes/day-range-period.js +0 -12
  1618. package/esm5/classes/index.js +0 -4
  1619. package/esm5/classes/named-day.js +0 -14
  1620. package/esm5/classes/stringifiable-item.js +0 -15
  1621. package/esm5/classes/taiga-ui-kit-classes.js +0 -5
  1622. package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +0 -24
  1623. package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +0 -14
  1624. package/esm5/components/accordion/accordion-item/accordion-item.component.js +0 -160
  1625. package/esm5/components/accordion/accordion.component.js +0 -62
  1626. package/esm5/components/accordion/accordion.module.js +0 -44
  1627. package/esm5/components/accordion/index.js +0 -6
  1628. package/esm5/components/accordion/taiga-ui-kit-components-accordion.js +0 -5
  1629. package/esm5/components/action/action.component.js +0 -89
  1630. package/esm5/components/action/action.module.js +0 -27
  1631. package/esm5/components/action/index.js +0 -3
  1632. package/esm5/components/action/taiga-ui-kit-components-action.js +0 -5
  1633. package/esm5/components/arrow/arrow-options.js +0 -29
  1634. package/esm5/components/arrow/arrow.component.js +0 -41
  1635. package/esm5/components/arrow/arrow.module.js +0 -21
  1636. package/esm5/components/arrow/index.js +0 -4
  1637. package/esm5/components/arrow/taiga-ui-kit-components-arrow.js +0 -5
  1638. package/esm5/components/avatar/avatar-options.js +0 -16
  1639. package/esm5/components/avatar/avatar.component.js +0 -98
  1640. package/esm5/components/avatar/avatar.module.js +0 -19
  1641. package/esm5/components/avatar/index.js +0 -4
  1642. package/esm5/components/avatar/taiga-ui-kit-components-avatar.js +0 -5
  1643. package/esm5/components/badge/badge.component.js +0 -87
  1644. package/esm5/components/badge/badge.module.js +0 -18
  1645. package/esm5/components/badge/index.js +0 -3
  1646. package/esm5/components/badge/taiga-ui-kit-components-badge.js +0 -5
  1647. package/esm5/components/badged-content/badged-content.component.js +0 -116
  1648. package/esm5/components/badged-content/badged-content.module.js +0 -21
  1649. package/esm5/components/badged-content/index.js +0 -3
  1650. package/esm5/components/badged-content/taiga-ui-kit-components-badged-content.js +0 -5
  1651. package/esm5/components/breadcrumbs/breadcrumb.directive.js +0 -14
  1652. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +0 -42
  1653. package/esm5/components/breadcrumbs/breadcrumbs.component.js +0 -35
  1654. package/esm5/components/breadcrumbs/breadcrumbs.module.js +0 -39
  1655. package/esm5/components/breadcrumbs/index.js +0 -5
  1656. package/esm5/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +0 -5
  1657. package/esm5/components/calendar-month/calendar-month.component.js +0 -213
  1658. package/esm5/components/calendar-month/calendar-month.module.js +0 -30
  1659. package/esm5/components/calendar-month/index.js +0 -3
  1660. package/esm5/components/calendar-month/taiga-ui-kit-components-calendar-month.js +0 -5
  1661. package/esm5/components/calendar-range/calendar-range.component.js +0 -181
  1662. package/esm5/components/calendar-range/calendar-range.module.js +0 -30
  1663. package/esm5/components/calendar-range/index.js +0 -3
  1664. package/esm5/components/calendar-range/taiga-ui-kit-components-calendar-range.js +0 -5
  1665. package/esm5/components/carousel/carousel-autoscroll.directive.js +0 -22
  1666. package/esm5/components/carousel/carousel-buttons.directive.js +0 -27
  1667. package/esm5/components/carousel/carousel-scroll.directive.js +0 -35
  1668. package/esm5/components/carousel/carousel.component.js +0 -158
  1669. package/esm5/components/carousel/carousel.directive.js +0 -45
  1670. package/esm5/components/carousel/carousel.module.js +0 -41
  1671. package/esm5/components/carousel/index.js +0 -7
  1672. package/esm5/components/carousel/taiga-ui-kit-components-carousel.js +0 -5
  1673. package/esm5/components/checkbox/checkbox.component.js +0 -89
  1674. package/esm5/components/checkbox/checkbox.module.js +0 -29
  1675. package/esm5/components/checkbox/index.js +0 -3
  1676. package/esm5/components/checkbox/taiga-ui-kit-components-checkbox.js +0 -5
  1677. package/esm5/components/checkbox-block/checkbox-block.component.js +0 -123
  1678. package/esm5/components/checkbox-block/checkbox-block.module.js +0 -27
  1679. package/esm5/components/checkbox-block/index.js +0 -3
  1680. package/esm5/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +0 -5
  1681. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +0 -89
  1682. package/esm5/components/checkbox-labeled/checkbox-labeled.module.js +0 -27
  1683. package/esm5/components/checkbox-labeled/index.js +0 -3
  1684. package/esm5/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +0 -5
  1685. package/esm5/components/combo-box/combo-box-strict.directive.js +0 -34
  1686. package/esm5/components/combo-box/combo-box.component.js +0 -212
  1687. package/esm5/components/combo-box/combo-box.directive.js +0 -35
  1688. package/esm5/components/combo-box/combo-box.module.js +0 -42
  1689. package/esm5/components/combo-box/combo-box.providers.js +0 -28
  1690. package/esm5/components/combo-box/index.js +0 -6
  1691. package/esm5/components/combo-box/taiga-ui-kit-components-combo-box.js +0 -5
  1692. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +0 -46
  1693. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +0 -41
  1694. package/esm5/components/data-list-wrapper/data-list-wrapper.js +0 -64
  1695. package/esm5/components/data-list-wrapper/data-list-wrapper.module.js +0 -32
  1696. package/esm5/components/data-list-wrapper/index.js +0 -5
  1697. package/esm5/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +0 -5
  1698. package/esm5/components/field-error/field-error.component.js +0 -165
  1699. package/esm5/components/field-error/field-error.module.js +0 -23
  1700. package/esm5/components/field-error/index.js +0 -3
  1701. package/esm5/components/field-error/taiga-ui-kit-components-field-error.js +0 -5
  1702. package/esm5/components/files/file/file.component.js +0 -213
  1703. package/esm5/components/files/files.component.js +0 -50
  1704. package/esm5/components/files/files.module.js +0 -32
  1705. package/esm5/components/files/index.js +0 -4
  1706. package/esm5/components/files/taiga-ui-kit-components-files.js +0 -5
  1707. package/esm5/components/filter/filter.component.js +0 -97
  1708. package/esm5/components/filter/filter.module.js +0 -30
  1709. package/esm5/components/filter/index.js +0 -3
  1710. package/esm5/components/filter/taiga-ui-kit-components-filter.js +0 -5
  1711. package/esm5/components/index.js +0 -62
  1712. package/esm5/components/input/index.js +0 -5
  1713. package/esm5/components/input/input.component.js +0 -108
  1714. package/esm5/components/input/input.directive.js +0 -28
  1715. package/esm5/components/input/input.module.js +0 -26
  1716. package/esm5/components/input/input.providers.js +0 -22
  1717. package/esm5/components/input/taiga-ui-kit-components-input.js +0 -5
  1718. package/esm5/components/input-copy/index.js +0 -5
  1719. package/esm5/components/input-copy/input-copy.component.js +0 -137
  1720. package/esm5/components/input-copy/input-copy.directive.js +0 -28
  1721. package/esm5/components/input-copy/input-copy.module.js +0 -28
  1722. package/esm5/components/input-copy/input-copy.providers.js +0 -16
  1723. package/esm5/components/input-copy/taiga-ui-kit-components-input-copy.js +0 -5
  1724. package/esm5/components/input-count/index.js +0 -5
  1725. package/esm5/components/input-count/input-count-options.js +0 -26
  1726. package/esm5/components/input-count/input-count.component.js +0 -295
  1727. package/esm5/components/input-count/input-count.directive.js +0 -32
  1728. package/esm5/components/input-count/input-count.module.js +0 -31
  1729. package/esm5/components/input-count/taiga-ui-kit-components-input-count.js +0 -5
  1730. package/esm5/components/input-date/index.js +0 -5
  1731. package/esm5/components/input-date/input-date.component.js +0 -271
  1732. package/esm5/components/input-date/input-date.directive.js +0 -38
  1733. package/esm5/components/input-date/input-date.module.js +0 -37
  1734. package/esm5/components/input-date/input-date.providers.js +0 -31
  1735. package/esm5/components/input-date/taiga-ui-kit-components-input-date.js +0 -5
  1736. package/esm5/components/input-date-range/index.js +0 -5
  1737. package/esm5/components/input-date-range/input-date-range.component.js +0 -354
  1738. package/esm5/components/input-date-range/input-date-range.directive.js +0 -38
  1739. package/esm5/components/input-date-range/input-date-range.module.js +0 -41
  1740. package/esm5/components/input-date-range/input-date-range.providers.js +0 -31
  1741. package/esm5/components/input-date-range/taiga-ui-kit-components-input-date-range.js +0 -5
  1742. package/esm5/components/input-date-time/index.js +0 -5
  1743. package/esm5/components/input-date-time/input-date-time.component.js +0 -304
  1744. package/esm5/components/input-date-time/input-date-time.directive.js +0 -38
  1745. package/esm5/components/input-date-time/input-date-time.module.js +0 -40
  1746. package/esm5/components/input-date-time/input-date-time.providers.js +0 -31
  1747. package/esm5/components/input-date-time/taiga-ui-kit-components-input-date-time.js +0 -5
  1748. package/esm5/components/input-file/file/file.component.js +0 -194
  1749. package/esm5/components/input-file/index.js +0 -4
  1750. package/esm5/components/input-file/input-file.component.js +0 -311
  1751. package/esm5/components/input-file/input-file.module.js +0 -39
  1752. package/esm5/components/input-file/taiga-ui-kit-components-input-file.js +0 -5
  1753. package/esm5/components/input-files/index.js +0 -3
  1754. package/esm5/components/input-files/input-files.component.js +0 -247
  1755. package/esm5/components/input-files/input-files.module.js +0 -44
  1756. package/esm5/components/input-files/taiga-ui-kit-components-input-files.js +0 -5
  1757. package/esm5/components/input-inline/index.js +0 -3
  1758. package/esm5/components/input-inline/input-inline.component.js +0 -78
  1759. package/esm5/components/input-inline/input-inline.module.js +0 -27
  1760. package/esm5/components/input-inline/taiga-ui-kit-components-input-inline.js +0 -5
  1761. package/esm5/components/input-month/index.js +0 -5
  1762. package/esm5/components/input-month/input-month.component.js +0 -117
  1763. package/esm5/components/input-month/input-month.directive.js +0 -67
  1764. package/esm5/components/input-month/input-month.module.js +0 -30
  1765. package/esm5/components/input-month/input-month.providers.js +0 -19
  1766. package/esm5/components/input-month/taiga-ui-kit-components-input-month.js +0 -5
  1767. package/esm5/components/input-month-range/index.js +0 -5
  1768. package/esm5/components/input-month-range/input-month-range.component.js +0 -125
  1769. package/esm5/components/input-month-range/input-month-range.directive.js +0 -74
  1770. package/esm5/components/input-month-range/input-month-range.module.js +0 -35
  1771. package/esm5/components/input-month-range/input-month-range.providers.js +0 -19
  1772. package/esm5/components/input-month-range/taiga-ui-kit-components-input-month-range.js +0 -5
  1773. package/esm5/components/input-number/index.js +0 -4
  1774. package/esm5/components/input-number/input-number.component.js +0 -294
  1775. package/esm5/components/input-number/input-number.directive.js +0 -45
  1776. package/esm5/components/input-number/input-number.module.js +0 -32
  1777. package/esm5/components/input-number/taiga-ui-kit-components-input-number.js +0 -5
  1778. package/esm5/components/input-password/index.js +0 -5
  1779. package/esm5/components/input-password/input-password-options.js +0 -26
  1780. package/esm5/components/input-password/input-password.component.js +0 -137
  1781. package/esm5/components/input-password/input-password.directive.js +0 -36
  1782. package/esm5/components/input-password/input-password.module.js +0 -36
  1783. package/esm5/components/input-password/taiga-ui-kit-components-input-password.js +0 -5
  1784. package/esm5/components/input-phone/index.js +0 -6
  1785. package/esm5/components/input-phone/input-phone.component.js +0 -300
  1786. package/esm5/components/input-phone/input-phone.directive.js +0 -45
  1787. package/esm5/components/input-phone/input-phone.module.js +0 -29
  1788. package/esm5/components/input-phone/input-phone.options.js +0 -15
  1789. package/esm5/components/input-phone/input-phone.providers.js +0 -35
  1790. package/esm5/components/input-phone/taiga-ui-kit-components-input-phone.js +0 -5
  1791. package/esm5/components/input-phone-international/const/countries.js +0 -260
  1792. package/esm5/components/input-phone-international/country-iso-code.js +0 -209
  1793. package/esm5/components/input-phone-international/index.js +0 -8
  1794. package/esm5/components/input-phone-international/input-phone-international.component.js +0 -215
  1795. package/esm5/components/input-phone-international/input-phone-international.module.js +0 -40
  1796. package/esm5/components/input-phone-international/input-phone-international.options.js +0 -15
  1797. package/esm5/components/input-phone-international/interfaces/country.js +0 -1
  1798. package/esm5/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +0 -5
  1799. package/esm5/components/input-phone-international/tokens/countries-masks.js +0 -6
  1800. package/esm5/components/input-phone-international/utils/extract-value-from-event.js +0 -14
  1801. package/esm5/components/input-range/index.js +0 -3
  1802. package/esm5/components/input-range/input-range.component.js +0 -316
  1803. package/esm5/components/input-range/input-range.module.js +0 -35
  1804. package/esm5/components/input-range/taiga-ui-kit-components-input-range.js +0 -5
  1805. package/esm5/components/input-slider/index.js +0 -3
  1806. package/esm5/components/input-slider/input-slider.component.js +0 -293
  1807. package/esm5/components/input-slider/input-slider.module.js +0 -35
  1808. package/esm5/components/input-slider/taiga-ui-kit-components-input-slider.js +0 -5
  1809. package/esm5/components/input-tag/index.js +0 -4
  1810. package/esm5/components/input-tag/input-tag-options.js +0 -9
  1811. package/esm5/components/input-tag/input-tag.component.js +0 -521
  1812. package/esm5/components/input-tag/input-tag.module.js +0 -37
  1813. package/esm5/components/input-tag/taiga-ui-kit-components-input-tag.js +0 -5
  1814. package/esm5/components/input-time/index.js +0 -4
  1815. package/esm5/components/input-time/input-time-options.js +0 -23
  1816. package/esm5/components/input-time/input-time.component.js +0 -303
  1817. package/esm5/components/input-time/input-time.module.js +0 -29
  1818. package/esm5/components/input-time/taiga-ui-kit-components-input-time.js +0 -5
  1819. package/esm5/components/island/index.js +0 -3
  1820. package/esm5/components/island/island.component.js +0 -103
  1821. package/esm5/components/island/island.module.js +0 -18
  1822. package/esm5/components/island/taiga-ui-kit-components-island.js +0 -5
  1823. package/esm5/components/line-clamp/index.js +0 -4
  1824. package/esm5/components/line-clamp/line-clamp-options.js +0 -13
  1825. package/esm5/components/line-clamp/line-clamp.component.js +0 -148
  1826. package/esm5/components/line-clamp/line-clamp.module.js +0 -21
  1827. package/esm5/components/line-clamp/taiga-ui-kit-components-line-clamp.js +0 -5
  1828. package/esm5/components/marker-icon/index.js +0 -3
  1829. package/esm5/components/marker-icon/marker-icon.component.js +0 -46
  1830. package/esm5/components/marker-icon/marker-icon.module.js +0 -19
  1831. package/esm5/components/marker-icon/taiga-ui-kit-components-marker-icon.js +0 -5
  1832. package/esm5/components/multi-select/hide-selected.pipe.js +0 -45
  1833. package/esm5/components/multi-select/index.js +0 -7
  1834. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +0 -173
  1835. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +0 -60
  1836. package/esm5/components/multi-select/multi-select-options.js +0 -14
  1837. package/esm5/components/multi-select/multi-select.component.js +0 -306
  1838. package/esm5/components/multi-select/multi-select.module.js +0 -54
  1839. package/esm5/components/multi-select/taiga-ui-kit-components-multi-select.js +0 -5
  1840. package/esm5/components/multi-select-option/index.js +0 -3
  1841. package/esm5/components/multi-select-option/multi-select-option.component.js +0 -39
  1842. package/esm5/components/multi-select-option/multi-select-option.module.js +0 -20
  1843. package/esm5/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +0 -5
  1844. package/esm5/components/pagination/index.js +0 -3
  1845. package/esm5/components/pagination/pagination.component.js +0 -320
  1846. package/esm5/components/pagination/pagination.module.js +0 -29
  1847. package/esm5/components/pagination/taiga-ui-kit-components-pagination.js +0 -5
  1848. package/esm5/components/pdf-viewer/index.js +0 -5
  1849. package/esm5/components/pdf-viewer/pdf-viewer-options.js +0 -1
  1850. package/esm5/components/pdf-viewer/pdf-viewer.component.js +0 -43
  1851. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +0 -26
  1852. package/esm5/components/pdf-viewer/pdf-viewer.module.js +0 -31
  1853. package/esm5/components/pdf-viewer/pdf-viewer.service.js +0 -31
  1854. package/esm5/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +0 -5
  1855. package/esm5/components/progress/index.js +0 -10
  1856. package/esm5/components/progress/progress-bar/progress-bar.component.js +0 -28
  1857. package/esm5/components/progress/progress-bar/progress-color-segments.directive.js +0 -56
  1858. package/esm5/components/progress/progress-circle/progress-circle.component.js +0 -78
  1859. package/esm5/components/progress/progress-label/progress-label.component.js +0 -17
  1860. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +0 -52
  1861. package/esm5/components/progress/progress.module.js +0 -41
  1862. package/esm5/components/progress/taiga-ui-kit-components-progress.js +0 -5
  1863. package/esm5/components/progress/utils/abstract-color-segments.js +0 -33
  1864. package/esm5/components/progress/utils/calculate-color-segments.js +0 -13
  1865. package/esm5/components/progress/utils/progress-color-segments-async.pipe.js +0 -27
  1866. package/esm5/components/progress/utils/progress-color-segments.pipe.js +0 -24
  1867. package/esm5/components/radio/index.js +0 -4
  1868. package/esm5/components/radio/radio-options.js +0 -18
  1869. package/esm5/components/radio/radio.component.js +0 -165
  1870. package/esm5/components/radio/radio.module.js +0 -29
  1871. package/esm5/components/radio/taiga-ui-kit-components-radio.js +0 -5
  1872. package/esm5/components/radio-block/index.js +0 -3
  1873. package/esm5/components/radio-block/radio-block.component.js +0 -146
  1874. package/esm5/components/radio-block/radio-block.module.js +0 -27
  1875. package/esm5/components/radio-block/taiga-ui-kit-components-radio-block.js +0 -5
  1876. package/esm5/components/radio-group/index.js +0 -3
  1877. package/esm5/components/radio-group/radio-group.component.js +0 -25
  1878. package/esm5/components/radio-group/radio-group.module.js +0 -16
  1879. package/esm5/components/radio-group/taiga-ui-kit-components-radio-group.js +0 -5
  1880. package/esm5/components/radio-labeled/index.js +0 -3
  1881. package/esm5/components/radio-labeled/radio-labeled.component.js +0 -112
  1882. package/esm5/components/radio-labeled/radio-labeled.module.js +0 -29
  1883. package/esm5/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +0 -5
  1884. package/esm5/components/radio-list/index.js +0 -3
  1885. package/esm5/components/radio-list/radio-list.component.js +0 -114
  1886. package/esm5/components/radio-list/radio-list.module.js +0 -28
  1887. package/esm5/components/radio-list/taiga-ui-kit-components-radio-list.js +0 -5
  1888. package/esm5/components/range/index.js +0 -4
  1889. package/esm5/components/range/range-change.directive.js +0 -103
  1890. package/esm5/components/range/range.component.js +0 -269
  1891. package/esm5/components/range/range.module.js +0 -30
  1892. package/esm5/components/range/taiga-ui-kit-components-range.js +0 -5
  1893. package/esm5/components/rating/index.js +0 -4
  1894. package/esm5/components/rating/rating-options.js +0 -16
  1895. package/esm5/components/rating/rating.component.js +0 -111
  1896. package/esm5/components/rating/rating.module.js +0 -26
  1897. package/esm5/components/rating/taiga-ui-kit-components-rating.js +0 -5
  1898. package/esm5/components/select/index.js +0 -6
  1899. package/esm5/components/select/select-options.js +0 -13
  1900. package/esm5/components/select/select.component.js +0 -137
  1901. package/esm5/components/select/select.directive.js +0 -42
  1902. package/esm5/components/select/select.module.js +0 -32
  1903. package/esm5/components/select/select.providers.js +0 -28
  1904. package/esm5/components/select/taiga-ui-kit-components-select.js +0 -5
  1905. package/esm5/components/select-option/index.js +0 -3
  1906. package/esm5/components/select-option/select-option.component.js +0 -75
  1907. package/esm5/components/select-option/select-option.module.js +0 -20
  1908. package/esm5/components/select-option/taiga-ui-kit-components-select-option.js +0 -5
  1909. package/esm5/components/slider/helpers/slider-key-steps.directive.js +0 -129
  1910. package/esm5/components/slider/helpers/slider-readonly.directive.js +0 -87
  1911. package/esm5/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +0 -55
  1912. package/esm5/components/slider/index.js +0 -8
  1913. package/esm5/components/slider/slider-old.component.js +0 -96
  1914. package/esm5/components/slider/slider-options.js +0 -14
  1915. package/esm5/components/slider/slider.component.js +0 -148
  1916. package/esm5/components/slider/slider.module.js +0 -45
  1917. package/esm5/components/slider/taiga-ui-kit-components-slider.js +0 -5
  1918. package/esm5/components/stepper/index.js +0 -4
  1919. package/esm5/components/stepper/step/step.component.js +0 -103
  1920. package/esm5/components/stepper/stepper.component.js +0 -117
  1921. package/esm5/components/stepper/stepper.module.js +0 -20
  1922. package/esm5/components/stepper/taiga-ui-kit-components-stepper.js +0 -5
  1923. package/esm5/components/tabs/index.js +0 -10
  1924. package/esm5/components/tabs/tab/tab.component.js +0 -86
  1925. package/esm5/components/tabs/tab/tab.providers.js +0 -38
  1926. package/esm5/components/tabs/tab.directive.js +0 -19
  1927. package/esm5/components/tabs/tabs/tabs.component.js +0 -159
  1928. package/esm5/components/tabs/tabs-options.js +0 -15
  1929. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +0 -233
  1930. package/esm5/components/tabs/tabs-with-more/tabs-with-more.providers.js +0 -43
  1931. package/esm5/components/tabs/tabs.module.js +0 -42
  1932. package/esm5/components/tabs/taiga-ui-kit-components-tabs.js +0 -5
  1933. package/esm5/components/tabs/underline/underline.component.js +0 -94
  1934. package/esm5/components/tag/index.js +0 -4
  1935. package/esm5/components/tag/tag-options.js +0 -16
  1936. package/esm5/components/tag/tag.component.js +0 -240
  1937. package/esm5/components/tag/tag.module.js +0 -29
  1938. package/esm5/components/tag/taiga-ui-kit-components-tag.js +0 -5
  1939. package/esm5/components/taiga-ui-kit-components.js +0 -5
  1940. package/esm5/components/text-area/index.js +0 -5
  1941. package/esm5/components/text-area/taiga-ui-kit-components-text-area.js +0 -5
  1942. package/esm5/components/text-area/text-area.component.js +0 -238
  1943. package/esm5/components/text-area/text-area.directive.js +0 -28
  1944. package/esm5/components/text-area/text-area.module.js +0 -33
  1945. package/esm5/components/text-area/text-area.providers.js +0 -18
  1946. package/esm5/components/toggle/index.js +0 -4
  1947. package/esm5/components/toggle/taiga-ui-kit-components-toggle.js +0 -5
  1948. package/esm5/components/toggle/toggle-options.js +0 -26
  1949. package/esm5/components/toggle/toggle.component.js +0 -160
  1950. package/esm5/components/toggle/toggle.module.js +0 -33
  1951. package/esm5/components/tree/components/tree/tree.component.js +0 -72
  1952. package/esm5/components/tree/components/tree-item/tree-item.component.js +0 -68
  1953. package/esm5/components/tree/components/tree-item/tree-item.providers.js +0 -19
  1954. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +0 -49
  1955. package/esm5/components/tree/directives/tree-children.directive.js +0 -25
  1956. package/esm5/components/tree/directives/tree-controller.directive.js +0 -64
  1957. package/esm5/components/tree/directives/tree-item-controller.directive.js +0 -38
  1958. package/esm5/components/tree/directives/tree-node.directive.js +0 -40
  1959. package/esm5/components/tree/index.js +0 -13
  1960. package/esm5/components/tree/misc/tree.constants.js +0 -9
  1961. package/esm5/components/tree/misc/tree.interfaces.js +0 -1
  1962. package/esm5/components/tree/misc/tree.service.js +0 -44
  1963. package/esm5/components/tree/misc/tree.tokens.js +0 -17
  1964. package/esm5/components/tree/taiga-ui-kit-components-tree.js +0 -5
  1965. package/esm5/components/tree/tree.module.js +0 -48
  1966. package/esm5/constants/date-time-separator.js +0 -2
  1967. package/esm5/constants/empty-mask.js +0 -6
  1968. package/esm5/constants/group-class-names.js +0 -12
  1969. package/esm5/constants/icon-blank.js +0 -2
  1970. package/esm5/constants/index.js +0 -10
  1971. package/esm5/constants/masks.js +0 -52
  1972. package/esm5/constants/math.js +0 -5
  1973. package/esm5/constants/max-day-range-length-mapper.js +0 -16
  1974. package/esm5/constants/max-time-values.js +0 -7
  1975. package/esm5/constants/router-link-options.js +0 -10
  1976. package/esm5/constants/taiga-ui-kit-constants.js +0 -5
  1977. package/esm5/directives/dropdown-context/dropdown-context.directive.js +0 -141
  1978. package/esm5/directives/dropdown-context/dropdown-context.module.js +0 -18
  1979. package/esm5/directives/dropdown-context/index.js +0 -3
  1980. package/esm5/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +0 -5
  1981. package/esm5/directives/dropdown-hover/dropdown-hover.directive.js +0 -56
  1982. package/esm5/directives/dropdown-hover/dropdown-hover.module.js +0 -16
  1983. package/esm5/directives/dropdown-hover/index.js +0 -3
  1984. package/esm5/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.js +0 -5
  1985. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +0 -244
  1986. package/esm5/directives/dropdown-selection/dropdown-selection.module.js +0 -18
  1987. package/esm5/directives/dropdown-selection/index.js +0 -3
  1988. package/esm5/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.js +0 -5
  1989. package/esm5/directives/highlight/highlight.directive.js +0 -101
  1990. package/esm5/directives/highlight/highlight.module.js +0 -16
  1991. package/esm5/directives/highlight/index.js +0 -3
  1992. package/esm5/directives/highlight/taiga-ui-kit-directives-highlight.js +0 -5
  1993. package/esm5/directives/index.js +0 -10
  1994. package/esm5/directives/lazy-loading/index.js +0 -4
  1995. package/esm5/directives/lazy-loading/lazy-loading.directive.js +0 -69
  1996. package/esm5/directives/lazy-loading/lazy-loading.module.js +0 -16
  1997. package/esm5/directives/lazy-loading/lazy-loading.service.js +0 -40
  1998. package/esm5/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +0 -5
  1999. package/esm5/directives/present/index.js +0 -3
  2000. package/esm5/directives/present/present.directive.js +0 -71
  2001. package/esm5/directives/present/present.module.js +0 -16
  2002. package/esm5/directives/present/taiga-ui-kit-directives-present.js +0 -5
  2003. package/esm5/directives/project-class/index.js +0 -3
  2004. package/esm5/directives/project-class/project-class.directive.js +0 -43
  2005. package/esm5/directives/project-class/project-class.module.js +0 -16
  2006. package/esm5/directives/project-class/taiga-ui-kit-directives-project-class.js +0 -5
  2007. package/esm5/directives/taiga-ui-kit-directives.js +0 -5
  2008. package/esm5/directives/unfinished-validator/index.js +0 -3
  2009. package/esm5/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +0 -5
  2010. package/esm5/directives/unfinished-validator/unfinished-validator.directive.js +0 -36
  2011. package/esm5/directives/unfinished-validator/unfinished-validator.module.js +0 -16
  2012. package/esm5/directives/value-accessor/index.js +0 -3
  2013. package/esm5/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +0 -5
  2014. package/esm5/directives/value-accessor/value-accessor.directive.js +0 -16
  2015. package/esm5/directives/value-accessor/value-accessor.module.js +0 -16
  2016. package/esm5/enums/borders.js +0 -9
  2017. package/esm5/enums/dropdown-position.js +0 -10
  2018. package/esm5/enums/file-state.js +0 -11
  2019. package/esm5/enums/index.js +0 -8
  2020. package/esm5/enums/marker-icon-mode.js +0 -15
  2021. package/esm5/enums/status.js +0 -13
  2022. package/esm5/enums/step-state.js +0 -10
  2023. package/esm5/enums/taiga-ui-kit-enums.js +0 -5
  2024. package/esm5/enums/text-align.js +0 -10
  2025. package/esm5/index.js +0 -12
  2026. package/esm5/interfaces/bread-crumbs-item.js +0 -1
  2027. package/esm5/interfaces/file-like.js +0 -1
  2028. package/esm5/interfaces/index.js +0 -1
  2029. package/esm5/interfaces/mobile-calendar-data.js +0 -1
  2030. package/esm5/interfaces/month-context.js +0 -1
  2031. package/esm5/interfaces/taiga-ui-kit-interfaces.js +0 -4
  2032. package/esm5/interfaces/with-date-mask-pipe-config.js +0 -1
  2033. package/esm5/internal/index.js +0 -2
  2034. package/esm5/internal/primitive-calendar-range/index.js +0 -3
  2035. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +0 -163
  2036. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.module.js +0 -22
  2037. package/esm5/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +0 -5
  2038. package/esm5/internal/taiga-ui-kit-internal.js +0 -5
  2039. package/esm5/pipes/field-error/field-error-content-pipe.js +0 -44
  2040. package/esm5/pipes/field-error/field-error-pipe.js +0 -142
  2041. package/esm5/pipes/field-error/field-error.module.js +0 -17
  2042. package/esm5/pipes/field-error/index.js +0 -4
  2043. package/esm5/pipes/field-error/taiga-ui-kit-pipes-field-error.js +0 -5
  2044. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +0 -28
  2045. package/esm5/pipes/filter-by-input/filter-by-input.base.js +0 -61
  2046. package/esm5/pipes/filter-by-input/filter-by-input.module.js +0 -17
  2047. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +0 -29
  2048. package/esm5/pipes/filter-by-input/index.js +0 -5
  2049. package/esm5/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +0 -5
  2050. package/esm5/pipes/index.js +0 -5
  2051. package/esm5/pipes/stringify/index.js +0 -3
  2052. package/esm5/pipes/stringify/stringify.module.js +0 -16
  2053. package/esm5/pipes/stringify/stringify.pipe.js +0 -17
  2054. package/esm5/pipes/stringify/taiga-ui-kit-pipes-stringify.js +0 -5
  2055. package/esm5/pipes/stringify-content/index.js +0 -3
  2056. package/esm5/pipes/stringify-content/stringify-content.module.js +0 -16
  2057. package/esm5/pipes/stringify-content/stringify-content.pipe.js +0 -20
  2058. package/esm5/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +0 -5
  2059. package/esm5/pipes/taiga-ui-kit-pipes.js +0 -5
  2060. package/esm5/providers/index.js +0 -4
  2061. package/esm5/providers/month-formatter.provider.js +0 -23
  2062. package/esm5/providers/specific-dropdown-controllers.js +0 -29
  2063. package/esm5/providers/taiga-ui-kit-providers.js +0 -5
  2064. package/esm5/providers/value-accessor.provider.js +0 -12
  2065. package/esm5/taiga-ui-kit.js +0 -5
  2066. package/esm5/tokens/calendar-data-stream.js +0 -3
  2067. package/esm5/tokens/date-inputs-value-transformers.js +0 -5
  2068. package/esm5/tokens/i18n.js +0 -60
  2069. package/esm5/tokens/index.js +0 -11
  2070. package/esm5/tokens/items-handlers.js +0 -16
  2071. package/esm5/tokens/mobile-aware.js +0 -6
  2072. package/esm5/tokens/mobile-calendar.js +0 -3
  2073. package/esm5/tokens/month-formatter.js +0 -3
  2074. package/esm5/tokens/tab-margin.js +0 -5
  2075. package/esm5/tokens/tag-status.js +0 -6
  2076. package/esm5/tokens/taiga-ui-kit-tokens.js +0 -5
  2077. package/esm5/tokens/validation-errors.js +0 -5
  2078. package/esm5/types/handler-with-context.js +0 -1
  2079. package/esm5/types/index.js +0 -1
  2080. package/esm5/types/key-steps.js +0 -1
  2081. package/esm5/types/marker-icon-mode.js +0 -1
  2082. package/esm5/types/status.js +0 -1
  2083. package/esm5/types/taiga-ui-kit-types.js +0 -4
  2084. package/esm5/types/time-format-parts.js +0 -1
  2085. package/esm5/utils/dom/get-word-range.js +0 -55
  2086. package/esm5/utils/dom/index.js +0 -4
  2087. package/esm5/utils/dom/scroll-to-element.js +0 -23
  2088. package/esm5/utils/dom/set-range-offset.js +0 -29
  2089. package/esm5/utils/dom/taiga-ui-kit-utils-dom.js +0 -5
  2090. package/esm5/utils/files/format-size.js +0 -21
  2091. package/esm5/utils/files/get-accept-array.js +0 -12
  2092. package/esm5/utils/files/index.js +0 -3
  2093. package/esm5/utils/files/taiga-ui-kit-utils-files.js +0 -5
  2094. package/esm5/utils/format/index.js +0 -2
  2095. package/esm5/utils/format/string-hash-to-hsl.js +0 -24
  2096. package/esm5/utils/format/taiga-ui-kit-utils-format.js +0 -5
  2097. package/esm5/utils/index.js +0 -7
  2098. package/esm5/utils/mask/create-auto-corrected-date-pipe.js +0 -25
  2099. package/esm5/utils/mask/create-auto-corrected-date-range-pipe.js +0 -39
  2100. package/esm5/utils/mask/create-auto-corrected-date-time-pipe.js +0 -29
  2101. package/esm5/utils/mask/create-auto-corrected-time-pipe.js +0 -36
  2102. package/esm5/utils/mask/create-date-mask.js +0 -17
  2103. package/esm5/utils/mask/create-date-range-mask.js +0 -13
  2104. package/esm5/utils/mask/create-time-mask.js +0 -17
  2105. package/esm5/utils/mask/index.js +0 -8
  2106. package/esm5/utils/mask/taiga-ui-kit-utils-mask.js +0 -5
  2107. package/esm5/utils/math/horizontal-direction-to-number.js +0 -12
  2108. package/esm5/utils/math/index.js +0 -3
  2109. package/esm5/utils/math/key-steps.js +0 -30
  2110. package/esm5/utils/math/taiga-ui-kit-utils-math.js +0 -5
  2111. package/esm5/utils/miscellaneous/create-default-day-range-periods.js +0 -28
  2112. package/esm5/utils/miscellaneous/create-time-periods.js +0 -15
  2113. package/esm5/utils/miscellaneous/get-precision.js +0 -12
  2114. package/esm5/utils/miscellaneous/index.js +0 -6
  2115. package/esm5/utils/miscellaneous/is-flat.js +0 -9
  2116. package/esm5/utils/miscellaneous/replay-control-value-changes-factory.js +0 -19
  2117. package/esm5/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +0 -5
  2118. package/esm5/utils/taiga-ui-kit-utils.js +0 -5
  2119. package/esm5/validators/index.js +0 -2
  2120. package/esm5/validators/taiga-ui-kit-validators.js +0 -5
  2121. package/esm5/validators/unfinished.validator.js +0 -15
  2122. package/fesm2015/taiga-ui-kit-components-field-error.js +0 -153
  2123. package/fesm2015/taiga-ui-kit-components-field-error.js.map +0 -1
  2124. package/fesm2015/taiga-ui-kit-components-input-file.js +0 -440
  2125. package/fesm2015/taiga-ui-kit-components-input-file.js.map +0 -1
  2126. package/fesm2015/taiga-ui-kit-enums.js +0 -84
  2127. package/fesm2015/taiga-ui-kit-enums.js.map +0 -1
  2128. package/fesm5/taiga-ui-kit-abstract.js +0 -501
  2129. package/fesm5/taiga-ui-kit-abstract.js.map +0 -1
  2130. package/fesm5/taiga-ui-kit-classes.js +0 -44
  2131. package/fesm5/taiga-ui-kit-classes.js.map +0 -1
  2132. package/fesm5/taiga-ui-kit-components-accordion.js +0 -286
  2133. package/fesm5/taiga-ui-kit-components-accordion.js.map +0 -1
  2134. package/fesm5/taiga-ui-kit-components-action.js +0 -117
  2135. package/fesm5/taiga-ui-kit-components-action.js.map +0 -1
  2136. package/fesm5/taiga-ui-kit-components-arrow.js +0 -87
  2137. package/fesm5/taiga-ui-kit-components-arrow.js.map +0 -1
  2138. package/fesm5/taiga-ui-kit-components-avatar.js +0 -132
  2139. package/fesm5/taiga-ui-kit-components-avatar.js.map +0 -1
  2140. package/fesm5/taiga-ui-kit-components-badge.js +0 -107
  2141. package/fesm5/taiga-ui-kit-components-badge.js.map +0 -1
  2142. package/fesm5/taiga-ui-kit-components-badged-content.js +0 -138
  2143. package/fesm5/taiga-ui-kit-components-badged-content.js.map +0 -1
  2144. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +0 -120
  2145. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +0 -1
  2146. package/fesm5/taiga-ui-kit-components-calendar-month.js +0 -244
  2147. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +0 -1
  2148. package/fesm5/taiga-ui-kit-components-calendar-range.js +0 -211
  2149. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +0 -1
  2150. package/fesm5/taiga-ui-kit-components-carousel.js +0 -307
  2151. package/fesm5/taiga-ui-kit-components-carousel.js.map +0 -1
  2152. package/fesm5/taiga-ui-kit-components-checkbox-block.js +0 -148
  2153. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +0 -1
  2154. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +0 -115
  2155. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +0 -1
  2156. package/fesm5/taiga-ui-kit-components-checkbox.js +0 -118
  2157. package/fesm5/taiga-ui-kit-components-checkbox.js.map +0 -1
  2158. package/fesm5/taiga-ui-kit-components-combo-box.js +0 -333
  2159. package/fesm5/taiga-ui-kit-components-combo-box.js.map +0 -1
  2160. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +0 -171
  2161. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +0 -1
  2162. package/fesm5/taiga-ui-kit-components-field-error.js +0 -189
  2163. package/fesm5/taiga-ui-kit-components-field-error.js.map +0 -1
  2164. package/fesm5/taiga-ui-kit-components-files.js +0 -289
  2165. package/fesm5/taiga-ui-kit-components-files.js.map +0 -1
  2166. package/fesm5/taiga-ui-kit-components-filter.js +0 -128
  2167. package/fesm5/taiga-ui-kit-components-filter.js.map +0 -1
  2168. package/fesm5/taiga-ui-kit-components-input-copy.js +0 -200
  2169. package/fesm5/taiga-ui-kit-components-input-copy.js.map +0 -1
  2170. package/fesm5/taiga-ui-kit-components-input-count.js +0 -377
  2171. package/fesm5/taiga-ui-kit-components-input-count.js.map +0 -1
  2172. package/fesm5/taiga-ui-kit-components-input-date-range.js +0 -452
  2173. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +0 -1
  2174. package/fesm5/taiga-ui-kit-components-input-date-time.js +0 -402
  2175. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +0 -1
  2176. package/fesm5/taiga-ui-kit-components-input-date.js +0 -365
  2177. package/fesm5/taiga-ui-kit-components-input-date.js.map +0 -1
  2178. package/fesm5/taiga-ui-kit-components-input-file.js +0 -535
  2179. package/fesm5/taiga-ui-kit-components-input-file.js.map +0 -1
  2180. package/fesm5/taiga-ui-kit-components-input-files.js +0 -291
  2181. package/fesm5/taiga-ui-kit-components-input-files.js.map +0 -1
  2182. package/fesm5/taiga-ui-kit-components-input-inline.js +0 -105
  2183. package/fesm5/taiga-ui-kit-components-input-inline.js.map +0 -1
  2184. package/fesm5/taiga-ui-kit-components-input-month-range.js +0 -240
  2185. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +0 -1
  2186. package/fesm5/taiga-ui-kit-components-input-month.js +0 -220
  2187. package/fesm5/taiga-ui-kit-components-input-month.js.map +0 -1
  2188. package/fesm5/taiga-ui-kit-components-input-number.js +0 -365
  2189. package/fesm5/taiga-ui-kit-components-input-number.js.map +0 -1
  2190. package/fesm5/taiga-ui-kit-components-input-password.js +0 -226
  2191. package/fesm5/taiga-ui-kit-components-input-password.js.map +0 -1
  2192. package/fesm5/taiga-ui-kit-components-input-phone-international.js +0 -744
  2193. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +0 -1
  2194. package/fesm5/taiga-ui-kit-components-input-phone.js +0 -410
  2195. package/fesm5/taiga-ui-kit-components-input-phone.js.map +0 -1
  2196. package/fesm5/taiga-ui-kit-components-input-range.js +0 -347
  2197. package/fesm5/taiga-ui-kit-components-input-range.js.map +0 -1
  2198. package/fesm5/taiga-ui-kit-components-input-slider.js +0 -324
  2199. package/fesm5/taiga-ui-kit-components-input-slider.js.map +0 -1
  2200. package/fesm5/taiga-ui-kit-components-input-tag.js +0 -563
  2201. package/fesm5/taiga-ui-kit-components-input-tag.js.map +0 -1
  2202. package/fesm5/taiga-ui-kit-components-input-time.js +0 -353
  2203. package/fesm5/taiga-ui-kit-components-input-time.js.map +0 -1
  2204. package/fesm5/taiga-ui-kit-components-input.js +0 -174
  2205. package/fesm5/taiga-ui-kit-components-input.js.map +0 -1
  2206. package/fesm5/taiga-ui-kit-components-island.js +0 -123
  2207. package/fesm5/taiga-ui-kit-components-island.js.map +0 -1
  2208. package/fesm5/taiga-ui-kit-components-line-clamp.js +0 -179
  2209. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +0 -1
  2210. package/fesm5/taiga-ui-kit-components-marker-icon.js +0 -66
  2211. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +0 -1
  2212. package/fesm5/taiga-ui-kit-components-multi-select-option.js +0 -60
  2213. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +0 -1
  2214. package/fesm5/taiga-ui-kit-components-multi-select.js +0 -623
  2215. package/fesm5/taiga-ui-kit-components-multi-select.js.map +0 -1
  2216. package/fesm5/taiga-ui-kit-components-pagination.js +0 -349
  2217. package/fesm5/taiga-ui-kit-components-pagination.js.map +0 -1
  2218. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +0 -117
  2219. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +0 -1
  2220. package/fesm5/taiga-ui-kit-components-progress.js +0 -330
  2221. package/fesm5/taiga-ui-kit-components-progress.js.map +0 -1
  2222. package/fesm5/taiga-ui-kit-components-radio-block.js +0 -171
  2223. package/fesm5/taiga-ui-kit-components-radio-block.js.map +0 -1
  2224. package/fesm5/taiga-ui-kit-components-radio-group.js +0 -43
  2225. package/fesm5/taiga-ui-kit-components-radio-group.js.map +0 -1
  2226. package/fesm5/taiga-ui-kit-components-radio-labeled.js +0 -140
  2227. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +0 -1
  2228. package/fesm5/taiga-ui-kit-components-radio-list.js +0 -142
  2229. package/fesm5/taiga-ui-kit-components-radio-list.js.map +0 -1
  2230. package/fesm5/taiga-ui-kit-components-radio.js +0 -209
  2231. package/fesm5/taiga-ui-kit-components-radio.js.map +0 -1
  2232. package/fesm5/taiga-ui-kit-components-range.js +0 -390
  2233. package/fesm5/taiga-ui-kit-components-range.js.map +0 -1
  2234. package/fesm5/taiga-ui-kit-components-rating.js +0 -150
  2235. package/fesm5/taiga-ui-kit-components-rating.js.map +0 -1
  2236. package/fesm5/taiga-ui-kit-components-select-option.js +0 -96
  2237. package/fesm5/taiga-ui-kit-components-select-option.js.map +0 -1
  2238. package/fesm5/taiga-ui-kit-components-select.js +0 -237
  2239. package/fesm5/taiga-ui-kit-components-select.js.map +0 -1
  2240. package/fesm5/taiga-ui-kit-components-slider.js +0 -541
  2241. package/fesm5/taiga-ui-kit-components-slider.js.map +0 -1
  2242. package/fesm5/taiga-ui-kit-components-stepper.js +0 -233
  2243. package/fesm5/taiga-ui-kit-components-stepper.js.map +0 -1
  2244. package/fesm5/taiga-ui-kit-components-tabs.js +0 -677
  2245. package/fesm5/taiga-ui-kit-components-tabs.js.map +0 -1
  2246. package/fesm5/taiga-ui-kit-components-tag.js +0 -282
  2247. package/fesm5/taiga-ui-kit-components-tag.js.map +0 -1
  2248. package/fesm5/taiga-ui-kit-components-text-area.js +0 -306
  2249. package/fesm5/taiga-ui-kit-components-text-area.js.map +0 -1
  2250. package/fesm5/taiga-ui-kit-components-toggle.js +0 -216
  2251. package/fesm5/taiga-ui-kit-components-toggle.js.map +0 -1
  2252. package/fesm5/taiga-ui-kit-components-tree.js +0 -439
  2253. package/fesm5/taiga-ui-kit-components-tree.js.map +0 -1
  2254. package/fesm5/taiga-ui-kit-components.js +0 -66
  2255. package/fesm5/taiga-ui-kit-components.js.map +0 -1
  2256. package/fesm5/taiga-ui-kit-constants.js +0 -119
  2257. package/fesm5/taiga-ui-kit-constants.js.map +0 -1
  2258. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +0 -160
  2259. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +0 -1
  2260. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js +0 -74
  2261. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +0 -1
  2262. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +0 -263
  2263. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +0 -1
  2264. package/fesm5/taiga-ui-kit-directives-highlight.js +0 -119
  2265. package/fesm5/taiga-ui-kit-directives-highlight.js.map +0 -1
  2266. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +0 -121
  2267. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +0 -1
  2268. package/fesm5/taiga-ui-kit-directives-present.js +0 -89
  2269. package/fesm5/taiga-ui-kit-directives-present.js.map +0 -1
  2270. package/fesm5/taiga-ui-kit-directives-project-class.js +0 -61
  2271. package/fesm5/taiga-ui-kit-directives-project-class.js.map +0 -1
  2272. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js +0 -54
  2273. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +0 -1
  2274. package/fesm5/taiga-ui-kit-directives-value-accessor.js +0 -34
  2275. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +0 -1
  2276. package/fesm5/taiga-ui-kit-directives.js +0 -14
  2277. package/fesm5/taiga-ui-kit-directives.js.map +0 -1
  2278. package/fesm5/taiga-ui-kit-enums.js +0 -84
  2279. package/fesm5/taiga-ui-kit-enums.js.map +0 -1
  2280. package/fesm5/taiga-ui-kit-interfaces.js +0 -4
  2281. package/fesm5/taiga-ui-kit-interfaces.js.map +0 -1
  2282. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +0 -185
  2283. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +0 -1
  2284. package/fesm5/taiga-ui-kit-internal.js +0 -6
  2285. package/fesm5/taiga-ui-kit-internal.js.map +0 -1
  2286. package/fesm5/taiga-ui-kit-pipes-field-error.js +0 -200
  2287. package/fesm5/taiga-ui-kit-pipes-field-error.js.map +0 -1
  2288. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +0 -125
  2289. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +0 -1
  2290. package/fesm5/taiga-ui-kit-pipes-stringify-content.js +0 -38
  2291. package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +0 -1
  2292. package/fesm5/taiga-ui-kit-pipes-stringify.js +0 -35
  2293. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +0 -1
  2294. package/fesm5/taiga-ui-kit-pipes.js +0 -9
  2295. package/fesm5/taiga-ui-kit-pipes.js.map +0 -1
  2296. package/fesm5/taiga-ui-kit-providers.js +0 -67
  2297. package/fesm5/taiga-ui-kit-providers.js.map +0 -1
  2298. package/fesm5/taiga-ui-kit-tokens.js +0 -110
  2299. package/fesm5/taiga-ui-kit-tokens.js.map +0 -1
  2300. package/fesm5/taiga-ui-kit-types.js +0 -4
  2301. package/fesm5/taiga-ui-kit-types.js.map +0 -1
  2302. package/fesm5/taiga-ui-kit-utils-dom.js +0 -113
  2303. package/fesm5/taiga-ui-kit-utils-dom.js.map +0 -1
  2304. package/fesm5/taiga-ui-kit-utils-files.js +0 -40
  2305. package/fesm5/taiga-ui-kit-utils-files.js.map +0 -1
  2306. package/fesm5/taiga-ui-kit-utils-format.js +0 -30
  2307. package/fesm5/taiga-ui-kit-utils-format.js.map +0 -1
  2308. package/fesm5/taiga-ui-kit-utils-mask.js +0 -169
  2309. package/fesm5/taiga-ui-kit-utils-mask.js.map +0 -1
  2310. package/fesm5/taiga-ui-kit-utils-math.js +0 -49
  2311. package/fesm5/taiga-ui-kit-utils-math.js.map +0 -1
  2312. package/fesm5/taiga-ui-kit-utils-miscellaneous.js +0 -88
  2313. package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +0 -1
  2314. package/fesm5/taiga-ui-kit-utils.js +0 -11
  2315. package/fesm5/taiga-ui-kit-utils.js.map +0 -1
  2316. package/fesm5/taiga-ui-kit-validators.js +0 -22
  2317. package/fesm5/taiga-ui-kit-validators.js.map +0 -1
  2318. package/fesm5/taiga-ui-kit.js +0 -16
  2319. package/fesm5/taiga-ui-kit.js.map +0 -1
  2320. package/interfaces/taiga-ui-kit-interfaces.metadata.json +0 -1
  2321. package/interfaces/with-date-mask-pipe-config.d.ts +0 -9
  2322. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +0 -1
  2323. package/internal/taiga-ui-kit-internal.metadata.json +0 -1
  2324. package/pipes/field-error/taiga-ui-kit-pipes-field-error.metadata.json +0 -1
  2325. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.metadata.json +0 -1
  2326. package/pipes/stringify/taiga-ui-kit-pipes-stringify.metadata.json +0 -1
  2327. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.metadata.json +0 -1
  2328. package/pipes/taiga-ui-kit-pipes.metadata.json +0 -1
  2329. package/providers/taiga-ui-kit-providers.metadata.json +0 -1
  2330. package/taiga-ui-kit.metadata.json +0 -1
  2331. package/tokens/mobile-aware.d.ts +0 -3
  2332. package/tokens/taiga-ui-kit-tokens.metadata.json +0 -1
  2333. package/types/taiga-ui-kit-types.metadata.json +0 -1
  2334. package/utils/dom/taiga-ui-kit-utils-dom.metadata.json +0 -1
  2335. package/utils/files/taiga-ui-kit-utils-files.metadata.json +0 -1
  2336. package/utils/format/taiga-ui-kit-utils-format.metadata.json +0 -1
  2337. package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +0 -1
  2338. package/utils/math/taiga-ui-kit-utils-math.metadata.json +0 -1
  2339. package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.metadata.json +0 -1
  2340. package/utils/taiga-ui-kit-utils.metadata.json +0 -1
  2341. package/validators/taiga-ui-kit-validators.metadata.json +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/badged-content/badged-content.component.ts","ng://@taiga-ui/kit/components/badged-content/badged-content.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","create","BADGE_SIZE","xs","s","m","l","xl","xxl","TuiBadgedContentComponent","this","contentTop","contentBottom","size","colorTop","colorBottom","rounded","prototype","contentIsNumber","badgeHidden","sizeBigger","borderWidth","sizeBig","px","content","isNumber","valueOf","contentIsString","getStatus","color","Input","HostBinding","tuiDefaultProp","Component","selector","changeDetection","ChangeDetectionStrategy","OnPush","template","TuiBadgedContentModule","NgModule","imports","CommonModule","PolymorpheusModule","TuiSvgModule","TuiBadgeModule","declarations","exports"],"mappings":"qzBAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,EAiDnCC,OAAOM,OA0GXN,OAAOM,OC/MhC,IAAMC,EAAmD,CACrDC,GAAI,IACJC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,GAAI,IACJC,IAAK,kBAST,SAAAC,IAIIC,KAAAC,WAAkC,GAKlCD,KAAAE,cAAqC,GAKrCF,KAAAG,KAA+B,IAI/BH,KAAAI,SAAW,GAIXJ,KAAAK,YAAc,GAKdL,KAAAM,SAAU,EA0Cd,OAxCIrB,OAAAK,eAAIS,EAAAQ,UAAA,kBAAe,KAAnB,WACI,OAASP,KAAKC,YAAcD,KAAKI,UAC5BJ,KAAKC,YAAcD,KAAKQ,gBAAgBR,KAAKC,aAAeD,KAAKS,YAChET,KAAKI,SACL,oCAGVnB,OAAAK,eAAIS,EAAAQ,UAAA,qBAAkB,KAAtB,WACI,OAAQP,KAAKE,eAAiBF,KAAKK,YAAcL,KAAKK,YAAc,oCAGxEpB,OAAAK,eAAIS,EAAAQ,UAAA,YAAS,KAAb,WACI,OAAOf,EAAWQ,KAAKG,uCAG3BlB,OAAAK,eAAIS,EAAAQ,UAAA,cAAW,KAAf,WACI,MAAqB,OAAdP,KAAKG,sCAGhBlB,OAAAK,eAAIS,EAAAQ,UAAA,UAAO,KAAX,WACI,OAAOG,EAAAA,WAAWV,KAAKG,uCAG3BlB,OAAAK,eAAIS,EAAAQ,UAAA,YAAS,KAAb,WACI,IAAMI,EAAcX,KAAKY,QAAU,EAAI,EAEvC,MAAO,SAASC,EAAAA,GAAGF,oCAGvBZ,EAAAQ,UAAAC,gBAAA,SAAgBM,GACZ,OAAOC,EAAAA,SAASD,EAAQE,YAG5BjB,EAAAQ,UAAAU,gBAAA,SAAgBH,GACZ,MAAoC,iBAAtBA,EAAQE,WAG1BjB,EAAAQ,UAAAW,UAAA,SAAUC,GACN,OAAOA,EAAQ,SAAW,WA/D9B5C,EAAA,CAHC6C,EAAAA,QACAC,EAAAA,YAAY,0BACZC,EAAAA,mDAMD/C,EAAA,CAHC6C,EAAAA,QACAC,EAAAA,YAAY,6BACZC,EAAAA,sDAMD/C,EAAA,CAHC6C,EAAAA,QACAC,EAAAA,YAAY,kBACZC,EAAAA,6CAKD/C,EAAA,CAFC6C,EAAAA,QACAE,EAAAA,iDAKD/C,EAAA,CAFC6C,EAAAA,QACAE,EAAAA,oDAMD/C,EAAA,CAHC6C,EAAAA,QACAC,EAAAA,YAAY,kBACZC,EAAAA,gDA1BQvB,EAAyBxB,EAAA,CANrCgD,EAAAA,UAAU,CACPC,SAAU,qBACVC,gBAAiBC,EAAAA,wBAAwBC,OACzCC,SAAA,kzNAGS7B,mBCRb,SAAA8B,KAAqC,OAAxBA,EAAsBtD,EAAA,CALlCuD,EAAAA,SAAS,CACNC,QAAS,CAACC,EAAAA,aAAcC,EAAAA,mBAAoBC,EAAAA,aAAcC,EAAAA,gBAC1DC,aAAc,CAACrC,GACfsC,QAAS,CAACtC,MAED8B","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 (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\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 var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(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, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, 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\n/** @deprecated */\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\n/** @deprecated */\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 __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\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\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\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 (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, 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, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {ChangeDetectionStrategy, Component, HostBinding, Input} from '@angular/core';\nimport {isNumber, px, tuiDefaultProp} from '@taiga-ui/cdk';\nimport {sizeBigger, TuiSizeL, TuiSizeS, TuiSizeXS, TuiSizeXXL} from '@taiga-ui/core';\nimport {TuiStatusT} from '@taiga-ui/kit/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nconst BADGE_SIZE: {[key: string]: TuiSizeS | TuiSizeL} = {\n xs: 's',\n s: 's',\n m: 's',\n l: 'm',\n xl: 'm',\n xxl: 'l',\n};\n\n@Component({\n selector: 'tui-badged-content',\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './badged-content.template.html',\n styleUrls: ['./badged-content.style.less'],\n})\nexport class TuiBadgedContentComponent {\n @Input()\n @HostBinding('attr.data-tui-host-top')\n @tuiDefaultProp()\n contentTop: PolymorpheusContent = '';\n\n @Input()\n @HostBinding('attr.data-tui-host-bottom')\n @tuiDefaultProp()\n contentBottom: PolymorpheusContent = '';\n\n @Input()\n @HostBinding('attr.data-size')\n @tuiDefaultProp()\n size: TuiSizeXS | TuiSizeXXL = 'm';\n\n @Input()\n @tuiDefaultProp()\n colorTop = '';\n\n @Input()\n @tuiDefaultProp()\n colorBottom = '';\n\n @Input()\n @HostBinding('class._rounded')\n @tuiDefaultProp()\n rounded = false;\n\n get topNotification(): string {\n return (!this.contentTop && this.colorTop) ||\n (this.contentTop && this.contentIsNumber(this.contentTop) && this.badgeHidden)\n ? this.colorTop\n : '';\n }\n\n get bottomNotification(): string {\n return !this.contentBottom && this.colorBottom ? this.colorBottom : '';\n }\n\n get badgeSize(): TuiSizeS | TuiSizeL {\n return BADGE_SIZE[this.size];\n }\n\n get badgeHidden(): boolean {\n return this.size === 'xs';\n }\n\n get sizeBig(): boolean {\n return sizeBigger(this.size);\n }\n\n get boxShadow(): string {\n const borderWidth = this.sizeBig ? 3 : 2;\n\n return `0 0 0 ${px(borderWidth)}`;\n }\n\n contentIsNumber(content: PolymorpheusContent): boolean {\n return isNumber(content.valueOf());\n }\n\n contentIsString(content: PolymorpheusContent): boolean {\n return typeof content.valueOf() === 'string';\n }\n\n getStatus(color: string): TuiStatusT {\n return color ? 'custom' : 'primary';\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiSvgModule} from '@taiga-ui/core';\nimport {TuiBadgeModule} from '@taiga-ui/kit/components/badge';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiBadgedContentComponent} from './badged-content.component';\n\n@NgModule({\n imports: [CommonModule, PolymorpheusModule, TuiSvgModule, TuiBadgeModule],\n declarations: [TuiBadgedContentComponent],\n exports: [TuiBadgedContentComponent],\n})\nexport class TuiBadgedContentModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@taiga-ui/cdk"),require("@taiga-ui/kit/constants"),require("@angular/common"),require("@angular/router"),require("@taiga-ui/core"),require("rxjs")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/breadcrumbs",["exports","@angular/core","@taiga-ui/cdk","@taiga-ui/kit/constants","@angular/common","@angular/router","@taiga-ui/core","rxjs"],e):e(((t=t||self)["taiga-ui"]=t["taiga-ui"]||{},t["taiga-ui"].kit=t["taiga-ui"].kit||{},t["taiga-ui"].kit.components=t["taiga-ui"].kit.components||{},t["taiga-ui"].kit.components.breadcrumbs={}),t.ng.core,t.cdk,t["taiga-ui"].kit.constants,t.ng.common,t.ng.router,t.core$1,t.rxjs)}(this,(function(t,e,n,i,o,r,a,u){"use strict";function s(t,e,n,i){var o,r=arguments.length,a=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(a=(r<3?o(a):r>3?o(e,n,a):o(e,n))||a);return r>3&&a&&Object.defineProperty(e,n,a),a}Object.create;Object.create;var c=function(){function t(){}return t=s([e.Directive({selector:"ng-template[tuiBreadcrumb]"})],t)}(),g=function(){function t(){this.items=[],this.size="m",this.routerLinkOptions=function(t){return t.routerLinkOptions||i.DEFAULT_ROUTER_LINK_OPTIONS}}return s([e.Input(),n.tuiDefaultProp()],t.prototype,"items",void 0),s([e.Input(),e.HostBinding("attr.data-size"),n.tuiDefaultProp()],t.prototype,"size",void 0),t=s([e.Component({selector:"tui-breadcrumbs[items]",changeDetection:e.ChangeDetectionStrategy.OnPush,template:'<ng-container *ngFor="let item of items; last as lastItem">\n <ng-container *tuiLet="item | tuiMapper: routerLinkOptions as options">\n <a\n #rla="routerLinkActive"\n tuiLink\n tuiMode="onLight"\n routerLinkActive="active-link"\n [attr.tabindex]="rla.isActive ? -1 : null"\n [fragment]="options.fragment"\n [preserveFragment]="options.preserveFragment"\n [replaceUrl]="options.replaceUrl"\n [routerLink]="item.routerLink"\n [routerLinkActiveOptions]="item.routerLinkActiveOptions || {exact: false}"\n [skipLocationChange]="options.skipLocationChange"\n [queryParams]="options.queryParams"\n [target]="options.target"\n >\n {{ item.caption }}\n </a>\n <tui-svg\n *ngIf="!lastItem"\n src="tuiIconChevronRight"\n class="icon"\n ></tui-svg>\n </ng-container>\n</ng-container>\n',styles:[":host{display:flex;align-items:center;height:2.5rem}:host[data-size='m']{font:var(--tui-font-text-s)}:host[data-size='l']{font:var(--tui-font-text-m)}.icon{margin:0 .25rem;color:var(--tui-text-03)}a.active-link[data-mode=onLight]{color:var(--tui-text-03);pointer-events:none}"]})],t)}(),l=function(){function t(){this.size="m",this.items=n.EMPTY_QUERY,this.change$=new u.Subject,this.mode="onLight"}var i;return i=t,t.prototype.ngOnChanges=function(){},s([e.Input(),e.HostBinding("attr.data-size"),n.tuiDefaultProp()],t.prototype,"size",void 0),s([e.ContentChildren(c,{read:e.TemplateRef})],t.prototype,"items",void 0),t=i=s([e.Component({selector:"tui-breadcrumbs:not([items])",changeDetection:e.ChangeDetectionStrategy.OnPush,template:'<ng-container *ngIf="items.changes | async"></ng-container>\n<ng-container *ngFor="let item of items; let last = last">\n <ng-container [ngTemplateOutlet]="item"></ng-container>\n <tui-svg\n *ngIf="!last"\n src="tuiIconChevronRight"\n class="icon"\n ></tui-svg>\n</ng-container>\n',providers:[{provide:a.TuiModeDirective,useExisting:e.forwardRef((function(){return i}))}],styles:[":host{display:flex;align-items:center;height:2.5rem;font:var(--tui-font-text-s)}:host[data-size='l']{font:var(--tui-font-text-m)}.icon{margin:0 .25rem;color:var(--tui-text-03)}"]})],t)}(),p=function(){function t(){}return t=s([e.NgModule({imports:[o.CommonModule,r.RouterModule,n.TuiMapperPipeModule,n.TuiLetModule,a.TuiLinkModule,a.TuiSvgModule,a.TuiModeModule],declarations:[g,l,c],exports:[g,l,c]})],t)}();t.TuiBreadcrumbDirective=c,t.TuiBreadcrumbsComponent=g,t.TuiBreadcrumbsModule=p,t.TuiBreadcrumbsWrapperComponent=l,Object.defineProperty(t,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-breadcrumbs.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/breadcrumbs/breadcrumb.directive.ts","ng://@taiga-ui/kit/components/breadcrumbs/breadcrumbs.component.ts","ng://@taiga-ui/kit/components/breadcrumbs/breadcrumbs-wrapper.component.ts","ng://@taiga-ui/kit/components/breadcrumbs/breadcrumbs.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","create","TuiBreadcrumbDirective","Directive","selector","TuiBreadcrumbsComponent","this","items","size","routerLinkOptions","_a","DEFAULT_ROUTER_LINK_OPTIONS","Input","tuiDefaultProp","HostBinding","Component","changeDetection","ChangeDetectionStrategy","OnPush","template","TuiBreadcrumbsWrapperComponent","EMPTY_QUERY","change$","Subject","mode","prototype","ngOnChanges","ContentChildren","read","TemplateRef","TuiBreadcrumbsWrapperComponent_1","providers","provide","TuiModeDirective","useExisting","forwardRef","TuiBreadcrumbsModule","NgModule","imports","CommonModule","RouterModule","TuiMapperPipeModule","TuiLetModule","TuiLinkModule","TuiSvgModule","TuiModeModule","declarations","exports"],"mappings":"gyBAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,EAiDnCC,OAAOM,OA0GXN,OAAOM,wBChNhC,SAAAC,KAAqC,OAAxBA,EAAsBjB,EAAA,CAHlCkB,EAAAA,UAAU,CACPC,SAAU,gCAEDF,mBCQb,SAAAG,IAGIC,KAAAC,MAAuC,GAKvCD,KAAAE,KAAiB,IAERF,KAAAG,kBAAwD,SAACC,GAE5D,OADFA,EAAAD,mBACuBE,EAAAA,6BAC/B,OAVI1B,EAAA,CAFC2B,EAAAA,QACAC,EAAAA,8CAMD5B,EAAA,CAHC2B,EAAAA,QACAE,EAAAA,YAAY,kBACZD,EAAAA,6CAPQR,EAAuBpB,EAAA,CANnC8B,EAAAA,UAAU,CACPX,SAAU,yBACVY,gBAAiBC,EAAAA,wBAAwBC,OACzCC,SAAA,8wCAGSd,mBCeb,SAAAe,IAIId,KAAAE,KAAiB,IAGRF,KAAAC,MAAyDc,EAAAA,YAEzDf,KAAAgB,QAAU,IAAIC,EAAAA,QACdjB,KAAAkB,KAAO,gBAGpB,SAbaJ,EAYTA,EAAAK,UAAAC,YAAA,aARAzC,EAAA,CAHC2B,EAAAA,QACAE,EAAAA,YAAY,kBACZD,EAAAA,6CAID5B,EAAA,CADC0C,EAAAA,gBAAgBzB,EAAwB,CAAC0B,KAAMC,EAAAA,2CANvCT,EAA8BU,EAAA7C,EAAA,CAZ1C8B,EAAAA,UAAU,CACPX,SAAU,+BACVY,gBAAiBC,EAAAA,wBAAwBC,OACzCC,SAAA,yTAEAY,UAAW,CACP,CACIC,QAASC,EAAAA,iBACTC,YAAaC,EAAAA,YAAW,WAAM,OAAAL,sMAI7BV,mBCGb,SAAAgB,KAAmC,OAAtBA,EAAoBnD,EAAA,CArBhCoD,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,aACAC,EAAAA,oBACAC,EAAAA,aACAC,EAAAA,cACAC,EAAAA,aACAC,EAAAA,eAEJC,aAAc,CACVzC,EACAe,EACAlB,GAEJ6C,QAAS,CACL1C,EACAe,EACAlB,MAGKkC","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 (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\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 var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(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, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, 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\n/** @deprecated */\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\n/** @deprecated */\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 __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\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\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\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 (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, 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, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {Directive} from '@angular/core';\n\n@Directive({\n selector: `ng-template[tuiBreadcrumb]`,\n})\nexport class TuiBreadcrumbDirective {}\n","import {ChangeDetectionStrategy, Component, HostBinding, Input} from '@angular/core';\nimport {tuiDefaultProp, TuiMapper} from '@taiga-ui/cdk';\nimport {TuiSizeL} from '@taiga-ui/core';\nimport {DEFAULT_ROUTER_LINK_OPTIONS} from '@taiga-ui/kit/constants';\nimport {TuiBreadCrumbsItem} from '@taiga-ui/kit/interfaces';\n\n/** @deprecated use `<tui-breadcrumbs>` from {@link TuiBreadcrumbsWrapperComponent} */\n@Component({\n selector: 'tui-breadcrumbs[items]',\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './breadcrumbs.template.html',\n styleUrls: ['./breadcrumbs.style.less'],\n})\nexport class TuiBreadcrumbsComponent {\n @Input()\n @tuiDefaultProp()\n items: readonly TuiBreadCrumbsItem[] = [];\n\n @Input()\n @HostBinding('attr.data-size')\n @tuiDefaultProp()\n size: TuiSizeL = 'm';\n\n readonly routerLinkOptions: TuiMapper<TuiBreadCrumbsItem, any> = ({\n routerLinkOptions,\n }) => routerLinkOptions || DEFAULT_ROUTER_LINK_OPTIONS;\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n forwardRef,\n HostBinding,\n Input,\n QueryList,\n TemplateRef,\n} from '@angular/core';\nimport {EMPTY_QUERY, tuiDefaultProp} from '@taiga-ui/cdk';\nimport {TuiModeDirective, TuiSizeL} from '@taiga-ui/core';\nimport {Subject} from 'rxjs';\n\nimport {TuiBreadcrumbDirective} from './breadcrumb.directive';\n\n@Component({\n selector: 'tui-breadcrumbs:not([items])',\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './breadcrumbs-wrapper.template.html',\n styleUrls: ['./breadcrumbs-wrapper.style.less'],\n providers: [\n {\n provide: TuiModeDirective,\n useExisting: forwardRef(() => TuiBreadcrumbsWrapperComponent),\n },\n ],\n})\nexport class TuiBreadcrumbsWrapperComponent implements TuiModeDirective {\n @Input()\n @HostBinding('attr.data-size')\n @tuiDefaultProp()\n size: TuiSizeL = 'm';\n\n @ContentChildren(TuiBreadcrumbDirective, {read: TemplateRef})\n readonly items: QueryList<TemplateRef<Record<string, unknown>>> = EMPTY_QUERY;\n\n readonly change$ = new Subject<void>();\n readonly mode = 'onLight';\n\n ngOnChanges(): void {}\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {RouterModule} from '@angular/router';\nimport {TuiLetModule, TuiMapperPipeModule} from '@taiga-ui/cdk';\nimport {TuiLinkModule, TuiModeModule, TuiSvgModule} from '@taiga-ui/core';\n\nimport {TuiBreadcrumbDirective} from './breadcrumb.directive';\nimport {TuiBreadcrumbsComponent} from './breadcrumbs.component';\nimport {TuiBreadcrumbsWrapperComponent} from './breadcrumbs-wrapper.component';\n\n@NgModule({\n imports: [\n CommonModule,\n RouterModule,\n TuiMapperPipeModule,\n TuiLetModule,\n TuiLinkModule,\n TuiSvgModule,\n TuiModeModule,\n ],\n declarations: [\n TuiBreadcrumbsComponent,\n TuiBreadcrumbsWrapperComponent,\n TuiBreadcrumbDirective,\n ],\n exports: [\n TuiBreadcrumbsComponent,\n TuiBreadcrumbsWrapperComponent,\n TuiBreadcrumbDirective,\n ],\n})\nexport class TuiBreadcrumbsModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@taiga-ui/cdk"),require("@taiga-ui/kit/tokens"),require("rxjs"),require("@angular/common"),require("@taiga-ui/core")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/calendar-month",["exports","@angular/core","@taiga-ui/cdk","@taiga-ui/kit/tokens","rxjs","@angular/common","@taiga-ui/core"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components["calendar-month"]={}),e.ng.core,e.cdk,e["taiga-ui"].kit.tokens,e.rxjs,e.ng.common,e.core$1)}(this,(function(e,t,r,i,n,o,a){"use strict";function l(e,t,r,i){var n,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,i);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(a=(o<3?n(a):o>3?n(t,r,a):n(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}Object.create;Object.create;var u=r.TuiDay.currentLocal(),s=function(){function e(e){this.months$=e,this.value=null,this.year=u,this.disabledItemHandler=r.ALWAYS_FALSE_HANDLER,this.min=r.TUI_FIRST_DAY,this.max=r.TUI_LAST_DAY,this.monthClick=new t.EventEmitter,this.hoveredItemChange=new t.EventEmitter,this.yearChange=new t.EventEmitter,this.isYearPickerShown=!1,this.hoveredItem=null,this.pressedItem=null}var o,a;return Object.defineProperty(e.prototype,"isSingle",{get:function(){return null!==this.value&&(this.value instanceof r.TuiMonth||this.value.isSingleMonth)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"previousYearDisabled",{get:function(){return this.year.yearSameOrBefore(this.min)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nextYearDisabled",{get:function(){return this.year.yearSameOrAfter(this.max)},enumerable:!0,configurable:!0}),e.prototype.getItemState=function(e){var t=this.disabledItemHandlerWithMinMax,r=this.pressedItem,i=this.hoveredItem;return t(e)?"disabled":(null==r?void 0:r.monthSame(e))?"pressed":(null==i?void 0:i.monthSame(e))?"hovered":null},e.prototype.getItemRange=function(e){var t=this.value,i=this.hoveredItem;if(null===t)return null;if(t instanceof r.TuiMonth)return t.monthSame(e)?"single":null;var n=t.from.monthSame(e)&&!t.isSingleMonth,o=(null==i?void 0:i.monthAfter(t.from))&&t.from.monthSame(e)&&t.isSingleMonth,a=(null==i?void 0:i.monthSame(e))&&(null==i?void 0:i.monthBefore(t.from))&&t.isSingleMonth;if(n||o||a)return"start";var l=t.to.monthSame(e)&&!t.isSingleMonth,u=t.to.monthSame(e)&&(null==i?void 0:i.monthBefore(t.to))&&t.isSingleMonth,s=(null==i?void 0:i.monthSame(e))&&(null==i?void 0:i.monthAfter(t.from))&&t.isSingleMonth;return l||u||s?"end":t.isSingleMonth&&t.from.monthSame(e)?"single":null},e.prototype.getTuiMonth=function(e,t){return new r.TuiMonth(t,e)},e.prototype.isItemToday=function(e){return u.monthSame(e)},e.prototype.isItemInsideRange=function(e){var t=this.value,i=this.hoveredItem;if(null===t||t instanceof r.TuiMonth)return!1;if(!t.isSingleMonth)return t.from.monthSameOrBefore(e)&&t.to.monthAfter(e);if(null===i)return!1;var n=r.TuiMonthRange.sort(t.from,i);return n.from.monthSameOrBefore(e)&&n.to.monthAfter(e)},e.prototype.onPickerYearClick=function(e){this.isYearPickerShown=!1,this.year.yearSame(e)||this.updateActiveYear(e)},e.prototype.onItemClick=function(e){this.disabledItemHandlerWithMinMax(e)||this.monthClick.emit(e)},e.prototype.onYearClick=function(){this.isYearPickerShown=!0},e.prototype.onNextYear=function(){this.updateActiveYear(this.year.append({year:1}))},e.prototype.onPreviousYear=function(){this.updateActiveYear(this.year.append({year:-1}))},e.prototype.onItemHovered=function(e,t){this.updateHoveredItem(e?t:null)},e.prototype.onItemPressed=function(e,t){this.updatePressedItem(e?t:null)},e.prototype.calculateDisabledItemHandlerWithMinMax=function(e,t,r,i){return function(n){return n.monthBefore(r)||n.monthAfter(i)||e(n,{value:t})}},Object.defineProperty(e.prototype,"disabledItemHandlerWithMinMax",{get:function(){return this.calculateDisabledItemHandlerWithMinMax(this.disabledItemHandler,this.value,this.min,this.max)},enumerable:!0,configurable:!0}),e.prototype.updateHoveredItem=function(e){r.nullableSame(this.hoveredItem,e,(function(e,t){return e.monthSame(t)}))||(this.hoveredItem=e,this.hoveredItemChange.emit(e))},e.prototype.updatePressedItem=function(e){this.pressedItem=e},e.prototype.updateActiveYear=function(e){this.year=e,this.yearChange.emit(e)},e.ctorParameters=function(){return[{type:n.Observable,decorators:[{type:t.Inject,args:[i.TUI_CALENDAR_MONTHS]}]}]},l([t.Input(),r.tuiDefaultProp()],e.prototype,"value",void 0),l([t.Input(),r.tuiDefaultProp()],e.prototype,"year",void 0),l([t.Input(),r.tuiDefaultProp()],e.prototype,"disabledItemHandler",void 0),l([t.Input(),r.tuiDefaultProp()],e.prototype,"min",void 0),l([t.Input(),r.tuiDefaultProp()],e.prototype,"max",void 0),l([t.Output()],e.prototype,"monthClick",void 0),l([t.Output()],e.prototype,"hoveredItemChange",void 0),l([t.Output()],e.prototype,"yearChange",void 0),l([t.HostBinding("class._single")],e.prototype,"isSingle",null),l([r.tuiPure],e.prototype,"calculateDisabledItemHandlerWithMinMax",null),e=l([t.Component({selector:"tui-calendar-month",template:'<tui-scrollbar\n *ngIf="isYearPickerShown; else monthSelect"\n class="t-scrollbar"\n>\n <tui-primitive-year-picker\n [min]="min"\n [max]="max"\n [initialItem]="year"\n [value]="value"\n (yearClick)="onPickerYearClick($event)"\n ></tui-primitive-year-picker>\n</tui-scrollbar>\n<ng-template #monthSelect>\n <tui-primitive-spin-button\n [focusable]="false"\n [leftDisabled]="previousYearDisabled"\n [rightDisabled]="nextYearDisabled"\n (leftClick)="onPreviousYear()"\n (rightClick)="onNextYear()"\n >\n <button\n tuiLink\n automation-id="tui-calendar-month__active-year"\n [tuiFocusable]="false"\n (click)="onYearClick()"\n >\n {{ year.formattedYear }}\n </button>\n </tui-primitive-spin-button>\n <div class="t-row">\n <ng-container *ngFor="let month of months$ | async; let index = index">\n <div\n *tuiLet="getTuiMonth(index, year.year) as item"\n class="t-cell"\n [class.t-cell_today]="isItemToday(item)"\n [class.t-cell_interval]="isItemInsideRange(item)"\n [attr.data-range]="getItemRange(item)"\n [attr.data-state]="getItemState(item)"\n (tuiHoveredChange)="onItemHovered($event, item)"\n (tuiPressedChange)="onItemHovered($event, item)"\n (click)="onItemClick(item)"\n >\n <div class="t-item">{{ month }}</div>\n </div>\n </ng-container>\n </div>\n</ng-template>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{font:var(--tui-font-text-m)}.t-row{position:relative;z-index:0;display:flex;justify-content:space-between;height:2.25rem}.t-item{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item:after,.t-item:before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell{position:relative;display:flex;align-items:center;justify-content:center;width:3.6875rem;text-align:center;outline:0;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:2px solid transparent;box-sizing:content-box}.t-cell:before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell_today:after{position:absolute;left:50%;transform:translate(-50%,0);content:'';bottom:.3125rem;height:.125rem;width:.75rem;border-radius:.375rem;background-color:var(--tui-text-02)}.t-cell_interval:before{background:var(--tui-base-02)}:host._single .t-cell_interval:before{background:var(--tui-secondary-hover)}.t-cell_interval:not(:last-child):before{right:-3.6875rem}.t-cell_interval:last-child:first-child:before{right:0}.t-cell_interval:first-child>.t-item{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval:last-child>.t-item{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval>.t-item{border-radius:0}.t-cell[data-range]:after{background-color:var(--tui-primary-text)}.t-cell[data-range]>.t-item{color:var(--tui-primary-text)}.t-cell[data-range]>.t-item:after,.t-cell[data-range]>.t-item:before{background-color:var(--tui-primary)}.t-cell[data-range][data-state=hovered]>.t-item:after,.t-cell[data-range][data-state=hovered]>.t-item:before{background-color:var(--tui-primary-hover)}.t-cell[data-range][data-state=pressed]>.t-item:after,.t-cell[data-range][data-state=pressed]>.t-item:before{background-color:var(--tui-primary-active)}.t-cell[data-range=end]>.t-item:before{left:.25rem}.t-cell[data-range=end]>.t-item:after{left:-2rem;right:100%;transform:translateX(1.4375rem) scaleY(.6) scaleX(.4) rotate(45deg)}.t-cell[data-range=start]>.t-item:before{right:.25rem}.t-cell[data-range=start]>.t-item:after{left:100%;right:-2rem;transform:translateX(-1.4375rem) scaleY(.6) scaleX(.4) rotate(45deg)}.t-cell[data-state=disabled]{pointer-events:none}.t-cell[data-state=disabled]>.t-item{opacity:.36}.t-cell[data-state=hovered]:hover:not([data-range])>.t-item{background-color:var(--tui-secondary-hover)}.t-cell[data-state=pressed]:hover:not([data-range])>.t-item{background-color:var(--tui-secondary-active)}:host{display:block;height:13.625rem;width:15.75rem;padding:1.125rem;box-sizing:content-box}.t-row{flex-wrap:wrap;margin-top:1.4375rem}.t-cell:nth-child(n+5){margin-top:1.75rem}.t-cell_interval:nth-child(4n):before{right:0}.t-scrollbar{height:inherit;width:inherit}"]}),(o=0,a=t.Inject(i.TUI_CALENDAR_MONTHS),function(e,t){a(e,t,o)})],e)}(),d=function(){function e(){}return e=l([t.NgModule({imports:[o.CommonModule,a.TuiPrimitiveYearPickerModule,a.TuiPrimitiveSpinButtonModule,a.TuiScrollbarModule,a.TuiLinkModule,r.TuiLetModule,r.TuiHoveredModule,r.TuiPressedModule,r.TuiFocusableModule],declarations:[s],exports:[s]})],e)}();e.TuiCalendarMonthComponent=s,e.TuiCalendarMonthModule=d,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-calendar-month.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/calendar-month/calendar-month.component.ts","ng://@taiga-ui/kit/components/calendar-month/calendar-month.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","create","TODAY","TuiDay","currentLocal","TuiCalendarMonthComponent","months$","this","value","year","disabledItemHandler","ALWAYS_FALSE_HANDLER","min","TUI_FIRST_DAY","max","TUI_LAST_DAY","monthClick","EventEmitter","hoveredItemChange","yearChange","isYearPickerShown","hoveredItem","pressedItem","paramIndex","decorator","prototype","TuiMonth","isSingleMonth","yearSameOrBefore","yearSameOrAfter","getItemState","item","disabledItemHandlerWithMinMax","monthSame","getItemRange","theFirstOfRange","from","hoveredItemAfterFrom","monthAfter","hoveredItemIsCandidateToBeFrom","monthBefore","theLastOfRange","to","hoveredItemBeforeTo","hoveredItemIsCandidateToBeTo","getTuiMonth","monthNumber","yearNumber","isItemToday","isItemInsideRange","month","monthSameOrBefore","range","TuiMonthRange","sort","onPickerYearClick","yearSame","updateActiveYear","onItemClick","emit","onYearClick","onNextYear","append","onPreviousYear","onItemHovered","hovered","updateHoveredItem","onItemPressed","pressed","updatePressedItem","calculateDisabledItemHandlerWithMinMax","nullableSame","a","b","Observable","type","Inject","args","TUI_CALENDAR_MONTHS","Input","tuiDefaultProp","Output","HostBinding","tuiPure","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","TuiCalendarMonthModule","NgModule","imports","CommonModule","TuiPrimitiveYearPickerModule","TuiPrimitiveSpinButtonModule","TuiScrollbarModule","TuiLinkModule","TuiLetModule","TuiHoveredModule","TuiPressedModule","TuiFocusableModule","declarations","exports"],"mappings":"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","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 (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\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 var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(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, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, 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\n/** @deprecated */\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\n/** @deprecated */\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 __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\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\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\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 (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, 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, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n HostBinding,\n Inject,\n Input,\n Output,\n} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n nullableSame,\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n TuiBooleanHandler,\n TuiDay,\n tuiDefaultProp,\n TuiMonth,\n TuiMonthRange,\n tuiPure,\n TuiYear,\n} from '@taiga-ui/cdk';\nimport {TuiInteractiveState, TuiRangeState, TuiWithOptionalMinMax} from '@taiga-ui/core';\nimport {TuiMonthContext} from '@taiga-ui/kit/interfaces';\nimport {TUI_CALENDAR_MONTHS} from '@taiga-ui/kit/tokens';\nimport {TuiBooleanHandlerWithContext} from '@taiga-ui/kit/types';\nimport {Observable} from 'rxjs';\n\nconst TODAY = TuiDay.currentLocal();\n\n// @dynamic\n@Component({\n selector: 'tui-calendar-month',\n templateUrl: './calendar-month.template.html',\n styleUrls: ['./calendar-month.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiCalendarMonthComponent implements TuiWithOptionalMinMax<TuiMonth> {\n @Input()\n @tuiDefaultProp()\n value: TuiMonthRange | TuiMonth | null = null;\n\n @Input()\n @tuiDefaultProp()\n year: TuiYear = TODAY;\n\n @Input()\n @tuiDefaultProp()\n disabledItemHandler: TuiBooleanHandlerWithContext<TuiMonth, TuiMonthContext> =\n ALWAYS_FALSE_HANDLER;\n\n @Input()\n @tuiDefaultProp()\n min: TuiMonth = TUI_FIRST_DAY;\n\n @Input()\n @tuiDefaultProp()\n max: TuiMonth = TUI_LAST_DAY;\n\n @Output()\n readonly monthClick = new EventEmitter<TuiMonth>();\n\n @Output()\n readonly hoveredItemChange = new EventEmitter<TuiMonth | null>();\n\n @Output()\n readonly yearChange = new EventEmitter<TuiYear>();\n\n isYearPickerShown = false;\n\n hoveredItem: TuiMonth | null = null;\n pressedItem: TuiMonth | null = null;\n\n constructor(\n @Inject(TUI_CALENDAR_MONTHS) readonly months$: Observable<readonly string[]>,\n ) {}\n\n @HostBinding('class._single')\n get isSingle(): boolean {\n return (\n this.value !== null &&\n (this.value instanceof TuiMonth || this.value.isSingleMonth)\n );\n }\n\n get previousYearDisabled(): boolean {\n return this.year.yearSameOrBefore(this.min);\n }\n\n get nextYearDisabled(): boolean {\n return this.year.yearSameOrAfter(this.max);\n }\n\n getItemState(item: TuiMonth): TuiInteractiveState | null {\n const {disabledItemHandlerWithMinMax, pressedItem, hoveredItem} = this;\n\n if (disabledItemHandlerWithMinMax(item)) {\n return TuiInteractiveState.Disabled;\n }\n\n if (pressedItem?.monthSame(item)) {\n return TuiInteractiveState.Pressed;\n }\n\n if (hoveredItem?.monthSame(item)) {\n return TuiInteractiveState.Hovered;\n }\n\n return null;\n }\n\n getItemRange(item: TuiMonth): TuiRangeState | null {\n const {value, hoveredItem} = this;\n\n if (value === null) {\n return null;\n }\n\n if (value instanceof TuiMonth) {\n return value.monthSame(item) ? TuiRangeState.Single : null;\n }\n\n const theFirstOfRange = value.from.monthSame(item) && !value.isSingleMonth;\n const hoveredItemAfterFrom =\n hoveredItem?.monthAfter(value.from) &&\n value.from.monthSame(item) &&\n value.isSingleMonth;\n const hoveredItemIsCandidateToBeFrom =\n hoveredItem?.monthSame(item) &&\n hoveredItem?.monthBefore(value.from) &&\n value.isSingleMonth;\n\n if (theFirstOfRange || hoveredItemAfterFrom || hoveredItemIsCandidateToBeFrom) {\n return TuiRangeState.Start;\n }\n\n const theLastOfRange = value.to.monthSame(item) && !value.isSingleMonth;\n const hoveredItemBeforeTo =\n value.to.monthSame(item) &&\n hoveredItem?.monthBefore(value.to) &&\n value.isSingleMonth;\n const hoveredItemIsCandidateToBeTo =\n hoveredItem?.monthSame(item) &&\n hoveredItem?.monthAfter(value.from) &&\n value.isSingleMonth;\n\n if (theLastOfRange || hoveredItemBeforeTo || hoveredItemIsCandidateToBeTo) {\n return TuiRangeState.End;\n }\n\n return value.isSingleMonth && value.from.monthSame(item)\n ? TuiRangeState.Single\n : null;\n }\n\n getTuiMonth(monthNumber: number, yearNumber: number): TuiMonth {\n return new TuiMonth(yearNumber, monthNumber);\n }\n\n isItemToday(item: TuiMonth): boolean {\n return TODAY.monthSame(item);\n }\n\n isItemInsideRange(month: TuiMonth): boolean {\n const {value, hoveredItem} = this;\n\n if (value === null || value instanceof TuiMonth) {\n return false;\n }\n\n if (!value.isSingleMonth) {\n return value.from.monthSameOrBefore(month) && value.to.monthAfter(month);\n }\n\n if (hoveredItem === null) {\n return false;\n }\n\n const range = TuiMonthRange.sort(value.from, hoveredItem);\n\n return range.from.monthSameOrBefore(month) && range.to.monthAfter(month);\n }\n\n onPickerYearClick(year: TuiYear): void {\n this.isYearPickerShown = false;\n\n if (this.year.yearSame(year)) {\n return;\n }\n\n this.updateActiveYear(year);\n }\n\n onItemClick(month: TuiMonth): void {\n if (this.disabledItemHandlerWithMinMax(month)) {\n return;\n }\n\n this.monthClick.emit(month);\n }\n\n onYearClick(): void {\n this.isYearPickerShown = true;\n }\n\n onNextYear(): void {\n this.updateActiveYear(this.year.append({year: 1}));\n }\n\n onPreviousYear(): void {\n this.updateActiveYear(this.year.append({year: -1}));\n }\n\n onItemHovered(hovered: boolean, item: TuiMonth): void {\n this.updateHoveredItem(hovered ? item : null);\n }\n\n onItemPressed(pressed: boolean, item: TuiMonth): void {\n this.updatePressedItem(pressed ? item : null);\n }\n\n @tuiPure\n private calculateDisabledItemHandlerWithMinMax(\n disabledItemHandler: TuiBooleanHandlerWithContext<TuiMonth, TuiMonthContext>,\n value: TuiMonth | TuiMonthRange | null,\n min: TuiMonth,\n max: TuiMonth,\n ): TuiBooleanHandler<TuiMonth> {\n return item =>\n item.monthBefore(min) ||\n item.monthAfter(max) ||\n disabledItemHandler(item, {value});\n }\n\n private get disabledItemHandlerWithMinMax(): TuiBooleanHandler<TuiMonth> {\n return this.calculateDisabledItemHandlerWithMinMax(\n this.disabledItemHandler,\n this.value,\n this.min,\n this.max,\n );\n }\n\n private updateHoveredItem(month: TuiMonth | null): void {\n if (nullableSame(this.hoveredItem, month, (a, b) => a.monthSame(b))) {\n return;\n }\n\n this.hoveredItem = month;\n this.hoveredItemChange.emit(month);\n }\n\n private updatePressedItem(item: TuiMonth | null): void {\n this.pressedItem = item;\n }\n\n private updateActiveYear(year: TuiYear): void {\n this.year = year;\n this.yearChange.emit(year);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiFocusableModule,\n TuiHoveredModule,\n TuiLetModule,\n TuiPressedModule,\n} from '@taiga-ui/cdk';\nimport {\n TuiLinkModule,\n TuiPrimitiveSpinButtonModule,\n TuiPrimitiveYearPickerModule,\n TuiScrollbarModule,\n} from '@taiga-ui/core';\n\nimport {TuiCalendarMonthComponent} from './calendar-month.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiPrimitiveYearPickerModule,\n TuiPrimitiveSpinButtonModule,\n TuiScrollbarModule,\n TuiLinkModule,\n TuiLetModule,\n TuiHoveredModule,\n TuiPressedModule,\n TuiFocusableModule,\n ],\n declarations: [TuiCalendarMonthComponent],\n exports: [TuiCalendarMonthComponent],\n})\nexport class TuiCalendarMonthModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@taiga-ui/cdk"),require("@taiga-ui/core"),require("@taiga-ui/kit/constants"),require("@taiga-ui/kit/tokens"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@taiga-ui/kit/internal/primitive-calendar-range")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/calendar-range",["exports","@angular/core","@taiga-ui/cdk","@taiga-ui/core","@taiga-ui/kit/constants","@taiga-ui/kit/tokens","rxjs","rxjs/operators","@angular/common","@taiga-ui/kit/internal/primitive-calendar-range"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components["calendar-range"]={}),e.ng.core,e.cdk,e.core$1,e["taiga-ui"].kit.constants,e["taiga-ui"].kit.tokens,e.rxjs,e.rxjs.operators,e.ng.common,e["taiga-ui"].kit.internal["primitive-calendar-range"])}(this,(function(e,t,n,a,i,r,o,u,l,p){"use strict";function d(e,t,n,a){var i,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(o=(r<3?i(o):r>3?i(t,n,o):i(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o}function c(e,t){return function(n,a){t(n,a,e)}}Object.create;function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var a,i,r=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(a=r.next()).done;)o.push(a.value)}catch(e){i={error:e}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return o}Object.create;var s=function(){function e(e,r,o,l){var p=this;this.otherDateText$=l,this.defaultViewedMonth=n.TuiMonth.currentLocal(),this.disabledItemHandler=n.ALWAYS_FALSE_HANDLER,this.markerHandler=a.TUI_DEFAULT_MARKER_HANDLER,this.items=[],this.min=n.TUI_FIRST_DAY,this.max=n.TUI_LAST_DAY,this.minLength=null,this.maxLength=null,this.value=null,this.valueChange=new t.EventEmitter,this.rangeChange=new t.EventEmitter,this.maxLengthMapper=i.MAX_DAY_RANGE_LENGTH_MAPPER,this.monthShiftMapper=function(e){return e.append({month:1})},this.mapper=function(e,t,n,a,i){return function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}(e.filter((function(e){return(null===a||e.range.from.append(a).daySameOrBefore(e.range.to))&&e.range.to.daySameOrAfter(t)&&(null===n||e.range.from.daySameOrBefore(n))})),[i])},e&&e.pipe(n.watch(r),u.takeUntil(o)).subscribe((function(e){p.value=e}))}return Object.defineProperty(e.prototype,"calculatedDisabledItemHandler",{get:function(){return this.calculateDisabledItemHandler(this.disabledItemHandler,this.value,this.minLength)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"computedMonth",{get:function(){return this.value?this.value.to:this.defaultViewedMonth},enumerable:!0,configurable:!0}),e.prototype.isItemActive=function(e){var t=this.activePeriod;return"string"==typeof e&&null===t||t===e},e.prototype.onRangeChange=function(e){this.updateValue(e)},e.prototype.onDayClick=function(e){var t=this.value;null!==t&&t.isSingleDay?this.updateValue(n.TuiDayRange.sort(t.from,e)):this.value=new n.TuiDayRange(e,e)},e.prototype.onItemSelect=function(e){"string"==typeof e?null!==this.activePeriod&&this.updateValue(null):this.updateValue(e.range.dayLimit(this.min,this.max))},e.prototype.updateValue=function(e){this.value=e,this.valueChange.emit(e),this.rangeChange.emit(e)},Object.defineProperty(e.prototype,"activePeriod",{get:function(){var e=this;return this.items.find((function(t){return n.nullableSame(e.value,t.range,(function(t,n){return t.from.daySame(n.from.dayLimit(e.min,e.max))&&t.to.daySame(n.to.dayLimit(e.min,e.max))}))}))||null},enumerable:!0,configurable:!0}),e.prototype.calculateDisabledItemHandler=function(e,t,n){return function(a){if(!t||!t.isSingleDay||!n)return e(a);var i=t.from.append(n,!0).append({day:1}),r=t.from.append(n).append({day:-1});return i.dayBefore(a)&&r.dayAfter(a)||e(a)}},e.ctorParameters=function(){return[{type:o.Observable,decorators:[{type:t.Inject,args:[r.TUI_CALENDAR_DATA_STREAM]},{type:t.Optional}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:n.TuiDestroyService,decorators:[{type:t.Inject,args:[n.TuiDestroyService]}]},{type:o.Observable,decorators:[{type:t.Inject,args:[r.TUI_OTHER_DATE_TEXT]}]}]},d([t.Input(),n.tuiDefaultProp()],e.prototype,"defaultViewedMonth",void 0),d([t.Input(),n.tuiDefaultProp()],e.prototype,"disabledItemHandler",void 0),d([t.Input(),n.tuiDefaultProp()],e.prototype,"markerHandler",void 0),d([t.Input(),n.tuiDefaultProp()],e.prototype,"items",void 0),d([t.Input(),n.tuiDefaultProp()],e.prototype,"min",void 0),d([t.Input(),n.tuiDefaultProp()],e.prototype,"max",void 0),d([t.Input(),n.tuiDefaultProp()],e.prototype,"minLength",void 0),d([t.Input(),n.tuiDefaultProp()],e.prototype,"maxLength",void 0),d([t.Input(),n.tuiDefaultProp()],e.prototype,"value",void 0),d([t.Output()],e.prototype,"valueChange",void 0),d([t.Output()],e.prototype,"rangeChange",void 0),d([n.tuiPure],e.prototype,"calculateDisabledItemHandler",null),e=d([t.Component({selector:"tui-calendar-range",template:'<tui-primitive-calendar-range\n *ngIf="!items.length; else presets"\n automation-id="tui-calendar-range__calendars"\n tuiPreventDefault="mousedown"\n [markerHandler]="markerHandler"\n [min]="min | tuiMapper: maxLengthMapper:value:maxLength:true"\n [max]="max | tuiMapper: maxLengthMapper:value:maxLength:false"\n [defaultViewedMonthFirst]="defaultViewedMonth"\n [defaultViewedMonthSecond]="defaultViewedMonth | tuiMapper: monthShiftMapper"\n [disabledItemHandler]="calculatedDisabledItemHandler"\n [value]="value"\n (dayClick)="onDayClick($event)"\n></tui-primitive-calendar-range>\n<ng-template #presets>\n <div class="wrapper">\n <tui-calendar\n automation-id="tui-calendar-range__calendar"\n tuiPreventDefault="mousedown"\n [value]="value"\n [markerHandler]="markerHandler"\n [min]="min | tuiMapper: maxLengthMapper:value:maxLength:true"\n [max]="max | tuiMapper: maxLengthMapper:value:maxLength:false"\n [month]="computedMonth"\n [disabledItemHandler]="calculatedDisabledItemHandler"\n (dayClick)="onDayClick($event)"\n ></tui-calendar>\n <tui-data-list\n role="menu"\n automation-id="tui-calendar-range__menu"\n class="menu"\n >\n <button\n *ngFor="let item of items | tuiMapper: mapper:min:max:minLength:(otherDateText$ | async)"\n tuiOption\n tuiPreventDefault="mousedown"\n role="menuitemradio"\n automation-id="tui-calendar-range__menu__item"\n [attr.aria-checked]="isItemActive(item)"\n (keydown.enter.prevent)="onItemSelect(item)"\n (keydown.space.prevent)="onItemSelect(item)"\n (click)="onItemSelect(item)"\n >\n {{ item }}\n <tui-svg\n *ngIf="isItemActive(item)"\n automation-id="tui-calendar-range__checkmark"\n src="tuiIconCheck"\n class="checkmark"\n ></tui-svg>\n </button>\n </tui-data-list>\n </div>\n</ng-template>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[n.TuiDestroyService],styles:[":host{display:block}.wrapper{display:flex}.menu{width:11rem;border-left:1px solid var(--tui-base-03)}.checkmark{margin-left:auto;width:1rem;height:1rem}"]}),c(0,t.Inject(r.TUI_CALENDAR_DATA_STREAM)),c(0,t.Optional()),c(1,t.Inject(t.ChangeDetectorRef)),c(2,t.Inject(n.TuiDestroyService)),c(3,t.Inject(r.TUI_OTHER_DATE_TEXT))],e)}(),g=function(){function e(){}return e=d([t.NgModule({imports:[l.CommonModule,n.TuiMapperPipeModule,n.TuiPreventDefaultModule,a.TuiCalendarModule,a.TuiCalendarModule,a.TuiSvgModule,a.TuiDataListModule,p.TuiPrimitiveCalendarRangeModule],declarations:[s],exports:[s]})],e)}();e.TuiCalendarRangeComponent=s,e.TuiCalendarRangeModule=g,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-calendar-range.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/calendar-range/calendar-range.component.ts","ng://@taiga-ui/kit/components/calendar-range/calendar-range.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","__read","o","n","m","Symbol","iterator","e","call","ar","next","done","push","value","error","TuiCalendarRangeComponent","valueChanges","changeDetectorRef","destroy$","otherDateText$","_this","this","defaultViewedMonth","TuiMonth","currentLocal","disabledItemHandler","ALWAYS_FALSE_HANDLER","markerHandler","TUI_DEFAULT_MARKER_HANDLER","items","min","TUI_FIRST_DAY","max","TUI_LAST_DAY","minLength","maxLength","valueChange","EventEmitter","rangeChange","maxLengthMapper","MAX_DAY_RANGE_LENGTH_MAPPER","monthShiftMapper","item","append","month","mapper","otherDateText","concat","__spread","filter","range","from","daySameOrBefore","to","daySameOrAfter","pipe","watch","takeUntil","subscribe","prototype","calculateDisabledItemHandler","isItemActive","activePeriod","onRangeChange","dayRange","updateValue","onDayClick","day","isSingleDay","TuiDayRange","sort","onItemSelect","dayLimit","emit","find","nullableSame","a","b","daySame","disabledBefore","disabledAfter","dayBefore","dayAfter","Observable","type","Inject","args","TUI_CALENDAR_DATA_STREAM","Optional","ChangeDetectorRef","TuiDestroyService","TUI_OTHER_DATE_TEXT","Input","tuiDefaultProp","Output","tuiPure","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","TuiCalendarRangeModule","NgModule","imports","CommonModule","TuiMapperPipeModule","TuiPreventDefaultModule","TuiCalendarModule","TuiSvgModule","TuiDataListModule","TuiPrimitiveCalendarRangeModule","declarations","exports"],"mappings":"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","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 (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\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 var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(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, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, 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\n/** @deprecated */\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\n/** @deprecated */\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 __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\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\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\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 (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, 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, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n EventEmitter,\n Inject,\n Input,\n Optional,\n Output,\n} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n nullableSame,\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n TuiBooleanHandler,\n TuiDay,\n TuiDayLike,\n TuiDayRange,\n tuiDefaultProp,\n TuiDestroyService,\n TuiMapper,\n TuiMonth,\n tuiPure,\n watch,\n} from '@taiga-ui/cdk';\nimport {\n TUI_DEFAULT_MARKER_HANDLER,\n TuiMarkerHandler,\n TuiWithOptionalMinMax,\n} from '@taiga-ui/core';\nimport {TuiDayRangePeriod} from '@taiga-ui/kit/classes';\nimport {MAX_DAY_RANGE_LENGTH_MAPPER} from '@taiga-ui/kit/constants';\nimport {TUI_CALENDAR_DATA_STREAM, TUI_OTHER_DATE_TEXT} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\n@Component({\n selector: 'tui-calendar-range',\n templateUrl: './calendar-range.template.html',\n styleUrls: ['./calendar-range.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiDestroyService],\n})\nexport class TuiCalendarRangeComponent implements TuiWithOptionalMinMax<TuiDay> {\n @Input()\n @tuiDefaultProp()\n defaultViewedMonth: TuiMonth = TuiMonth.currentLocal();\n\n @Input()\n @tuiDefaultProp()\n disabledItemHandler: TuiBooleanHandler<TuiDay> = ALWAYS_FALSE_HANDLER;\n\n @Input()\n @tuiDefaultProp()\n markerHandler: TuiMarkerHandler = TUI_DEFAULT_MARKER_HANDLER;\n\n @Input()\n @tuiDefaultProp()\n items: readonly TuiDayRangePeriod[] = [];\n\n @Input()\n @tuiDefaultProp()\n min: TuiDay = TUI_FIRST_DAY;\n\n @Input()\n @tuiDefaultProp()\n max: TuiDay = TUI_LAST_DAY;\n\n @Input()\n @tuiDefaultProp()\n minLength: TuiDayLike | null = null;\n\n @Input()\n @tuiDefaultProp()\n maxLength: TuiDayLike | null = null;\n\n @Input()\n @tuiDefaultProp()\n value: TuiDayRange | null = null;\n\n @Output()\n readonly valueChange = new EventEmitter<TuiDayRange | null>();\n\n /** @deprecated TODO: 3.0 remove */\n @Output()\n readonly rangeChange = new EventEmitter<TuiDayRange | null>();\n\n readonly maxLengthMapper: TuiMapper<TuiDay, TuiDay> = MAX_DAY_RANGE_LENGTH_MAPPER;\n\n constructor(\n @Inject(TUI_CALENDAR_DATA_STREAM)\n @Optional()\n valueChanges: Observable<TuiDayRange | null> | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TuiDestroyService) destroy$: TuiDestroyService,\n @Inject(TUI_OTHER_DATE_TEXT) readonly otherDateText$: Observable<string>,\n ) {\n if (!valueChanges) {\n return;\n }\n\n valueChanges\n .pipe(watch(changeDetectorRef), takeUntil(destroy$))\n .subscribe(value => {\n this.value = value;\n });\n }\n\n readonly monthShiftMapper: TuiMapper<TuiMonth, TuiMonth> = item =>\n item.append({month: 1});\n\n readonly mapper: TuiMapper<\n readonly TuiDayRangePeriod[],\n ReadonlyArray<TuiDayRangePeriod | string>\n > = (\n items,\n min: TuiDay,\n max: TuiDay | null,\n minLength: TuiDayLike | null,\n otherDateText: string,\n ) => [\n ...items.filter(\n item =>\n (minLength === null ||\n item.range.from.append(minLength).daySameOrBefore(item.range.to)) &&\n item.range.to.daySameOrAfter(min) &&\n (max === null || item.range.from.daySameOrBefore(max)),\n ),\n otherDateText,\n ];\n\n get calculatedDisabledItemHandler(): TuiBooleanHandler<TuiDay> {\n return this.calculateDisabledItemHandler(\n this.disabledItemHandler,\n this.value,\n this.minLength,\n );\n }\n\n get computedMonth(): TuiMonth {\n return this.value ? this.value.to : this.defaultViewedMonth;\n }\n\n isItemActive(item: string | TuiDayRangePeriod): boolean {\n const {activePeriod} = this;\n\n return (\n (typeof item === 'string' && activePeriod === null) || activePeriod === item\n );\n }\n\n onRangeChange(dayRange: TuiDayRange): void {\n this.updateValue(dayRange);\n }\n\n onDayClick(day: TuiDay): void {\n const {value} = this;\n\n if (value === null || !value.isSingleDay) {\n this.value = new TuiDayRange(day, day);\n\n return;\n }\n\n this.updateValue(TuiDayRange.sort(value.from, day));\n }\n\n onItemSelect(item: string | TuiDayRangePeriod): void {\n if (typeof item !== 'string') {\n this.updateValue(item.range.dayLimit(this.min, this.max));\n\n return;\n }\n\n if (this.activePeriod !== null) {\n this.updateValue(null);\n }\n }\n\n updateValue(value: TuiDayRange | null): void {\n this.value = value;\n this.valueChange.emit(value);\n this.rangeChange.emit(value);\n }\n\n private get activePeriod(): TuiDayRangePeriod | null {\n return (\n this.items.find(item =>\n nullableSame<TuiDayRange>(\n this.value,\n item.range,\n (a, b) =>\n a.from.daySame(b.from.dayLimit(this.min, this.max)) &&\n a.to.daySame(b.to.dayLimit(this.min, this.max)),\n ),\n ) || null\n );\n }\n\n @tuiPure\n private calculateDisabledItemHandler(\n disabledItemHandler: TuiBooleanHandler<TuiDay>,\n value: TuiDayRange | null,\n minLength: TuiDayLike | null,\n ): TuiBooleanHandler<TuiDay> {\n return item => {\n if (!value || !value.isSingleDay || !minLength) {\n return disabledItemHandler(item);\n }\n\n const disabledBefore = value.from.append(minLength, true).append({day: 1});\n const disabledAfter = value.from.append(minLength).append({day: -1});\n const inDisabledRange =\n disabledBefore.dayBefore(item) && disabledAfter.dayAfter(item);\n\n return inDisabledRange || disabledItemHandler(item);\n };\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiMapperPipeModule, TuiPreventDefaultModule} from '@taiga-ui/cdk';\nimport {TuiCalendarModule, TuiDataListModule, TuiSvgModule} from '@taiga-ui/core';\nimport {TuiPrimitiveCalendarRangeModule} from '@taiga-ui/kit/internal/primitive-calendar-range';\n\nimport {TuiCalendarRangeComponent} from './calendar-range.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiMapperPipeModule,\n TuiPreventDefaultModule,\n TuiCalendarModule,\n TuiCalendarModule,\n TuiSvgModule,\n TuiDataListModule,\n TuiPrimitiveCalendarRangeModule,\n ],\n declarations: [TuiCalendarRangeComponent],\n exports: [TuiCalendarRangeComponent],\n})\nexport class TuiCalendarRangeModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@ng-web-apis/intersection-observer"),require("@taiga-ui/cdk"),require("@ng-web-apis/common"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@taiga-ui/core")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/carousel",["exports","@angular/core","@ng-web-apis/intersection-observer","@taiga-ui/cdk","@ng-web-apis/common","rxjs","rxjs/operators","@angular/common","@taiga-ui/core"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components.carousel={}),e.ng.core,e.intersectionObserver,e.cdk,e.common,e.rxjs,e.rxjs.operators,e.ng.common,e.core$1)}(this,(function(e,t,n,r,o,i,s,a,u){"use strict";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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function c(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function p(e,t){return function(n,r){t(n,r,e)}}Object.create;function d(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}Object.create;var f=function(){function e(e,n,o){this.changeDetectorRef=e,this.elementRef=n,this.isMobile=o,this.translate=0,this.draggable=!1,this.itemsCount=1,this.index=0,this.indexChange=new t.EventEmitter,this.items=r.EMPTY_QUERY,this.transitioned=!0}return Object.defineProperty(e.prototype,"transform",{get:function(){return"translateX("+100*(this.transitioned?this.computedTranslate:this.translate)+"%)"},enumerable:!0,configurable:!0}),e.prototype.onTransitioned=function(e){this.transitioned=e,e||(this.translate=this.computedTranslate)},e.prototype.getStyle=function(e){var t=100/e+"%";return{flexBasis:t,minWidth:t,maxWidth:t}},e.prototype.next=function(){this.updateIndex(this.index+1)},e.prototype.prev=function(){this.updateIndex(this.index-1)},e.prototype.isDisabled=function(e){return e<this.index||e>this.index+this.itemsCount},e.prototype.onIntersection=function(e,t){var n=e.intersectionRatio;n&&1!==n&&!this.transitioned&&this.updateIndex(t-Math.floor(this.itemsCount/2))},e.prototype.onScroll=function(e){this.isMobile||this.updateIndex(this.index+e)},e.prototype.onPan=function(e){if(this.computedDraggable){var t=this.elementRef.nativeElement.clientWidth,n=1-this.items.length/this.itemsCount;this.translate=r.clamp(e/t+this.translate,n,0)}},e.prototype.onSwipe=function(e){Math.round(this.translate)===-this.index&&this.computedDraggable&&("left"===e?this.next():"right"===e&&this.prev())},e.prototype.onAutoscroll=function(){this.updateIndex(this.index===this.items.length-1?0:this.index+1)},Object.defineProperty(e.prototype,"computedTranslate",{get:function(){return-this.index/this.itemsCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"computedDraggable",{get:function(){return this.isMobile||this.draggable},enumerable:!0,configurable:!0}),e.prototype.updateIndex=function(e){this.index=r.clamp(e,0,this.items.length-1),this.indexChange.emit(this.index),this.changeDetectorRef.markForCheck()},e.ctorParameters=function(){return[{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:Boolean,decorators:[{type:t.Inject,args:[r.TUI_IS_MOBILE]}]}]},c([t.Input(),t.HostBinding("class._draggable"),r.tuiDefaultProp()],e.prototype,"draggable",void 0),c([t.Input(),r.tuiDefaultProp()],e.prototype,"itemsCount",void 0),c([t.Input(),r.tuiDefaultProp()],e.prototype,"index",void 0),c([t.Output()],e.prototype,"indexChange",void 0),c([t.ContentChildren(r.TuiItemDirective,{read:t.TemplateRef})],e.prototype,"items",void 0),c([t.HostBinding("class._transitioned")],e.prototype,"transitioned",void 0),c([t.HostListener("touchstart",["false"]),t.HostListener("touchend",["true"]),t.HostListener("mousedown",["false"]),t.HostListener("document:mouseup.silent",["true"])],e.prototype,"onTransitioned",null),c([r.tuiPure],e.prototype,"getStyle",null),e=c([t.Component({selector:"tui-carousel",template:'<ng-container *ngIf="items.changes | async"></ng-container>\n<div\n class="t-scroller"\n (tuiCarouselScroll)="onScroll($event)"\n>\n <div class="t-wrapper">\n <div\n waIntersectionObserver\n waIntersectionThreshold="0,1"\n waIntersectionRootMargin="100px 100000px 100px -51%"\n class="t-items"\n [style.transform]="transform"\n (tuiPan)="onPan($event[0])"\n (tuiSwipe)="onSwipe($event.direction)"\n (tuiCarouselAutoscroll)="onAutoscroll()"\n >\n <fieldset\n *ngFor="let item of items; let i = index"\n class="t-item"\n [disabled]="isDisabled(i)"\n [ngStyle]="getStyle(itemsCount)"\n (waIntersectionObservee)="onIntersection($event[0], i)"\n >\n <ng-container [ngTemplateOutlet]="item"></ng-container>\n </fieldset>\n </div>\n </div>\n</div>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:n.INTERSECTION_ROOT,useExisting:t.ElementRef}],styles:[":host{position:relative;display:block;overflow:hidden}:host._draggable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host._draggable:hover{cursor:-webkit-grab;cursor:grab}:host._draggable:active{cursor:-webkit-grabbing;cursor:grabbing}.t-items{display:flex;align-items:center}:host._transitioned .t-items{transition-property:transform;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out}.t-item{padding:0 1.25rem;flex:1;min-width:100%;max-width:100%;box-sizing:border-box;border:none;margin:0}.t-wrapper{position:-webkit-sticky;position:sticky;left:0;right:0;min-width:100%;overflow:hidden}.t-scroller{scrollbar-width:none;-ms-overflow-style:none;display:flex;overflow:auto;overscroll-behavior-x:none;padding-bottom:2rem;margin-bottom:-2rem}.t-scroller::-webkit-scrollbar,.t-scroller::-webkit-scrollbar-thumb{background:0 0;width:0;height:0}.t-scroller:after,.t-scroller:before{content:'';display:block;min-width:1rem}"]}),p(0,t.Inject(t.ChangeDetectorRef)),p(1,t.Inject(t.ElementRef)),p(2,t.Inject(r.TUI_IS_MOBILE))],e)}(),m=function(e){function n(t,n){var o=e.call(this,(function(e){return o.output$.subscribe(e)}))||this;return o.elementRef=t,o.visible$=n,o.duration$=new i.BehaviorSubject(0),o.running$=i.merge(r.typedFromEvent(o.elementRef.nativeElement,"mouseenter").pipe(s.mapTo(!1)),r.typedFromEvent(o.elementRef.nativeElement,"touchstart").pipe(s.mapTo(!1)),r.typedFromEvent(o.elementRef.nativeElement,"touchend").pipe(s.mapTo(!0)),r.typedFromEvent(o.elementRef.nativeElement,"mouseleave").pipe(s.mapTo(!0)),o.visible$),o.output$=i.combineLatest([o.duration$,o.running$]).pipe(s.switchMap((function(e){var t=d(e,2),n=t[0],r=t[1];return n&&r?i.interval(n):i.EMPTY}))),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(n,e),Object.defineProperty(n.prototype,"duration",{set:function(e){this.duration$.next(e)},enumerable:!0,configurable:!0}),n.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:i.Observable,decorators:[{type:t.Inject,args:[o.PAGE_VISIBILITY]}]}]},c([t.Input()],n.prototype,"duration",null),n=c([t.Directive({selector:"tui-carousel"}),p(0,t.Inject(t.ElementRef)),p(1,t.Inject(o.PAGE_VISIBILITY))],n)}(i.Observable),h=function(){function e(e){this.tuiCarouselAutoscroll=e}return e.ctorParameters=function(){return[{type:i.Observable,decorators:[{type:t.Inject,args:[m]}]}]},e=c([t.Directive({selector:"[tuiCarouselAutoscroll]",outputs:["tuiCarouselAutoscroll"]}),p(0,t.Inject(m))],e)}(),g={appearance:"secondary",shape:"rounded",size:"m"},b=function(){function e(){}return e=c([t.Directive({selector:"[tuiCarouselButtons]",providers:[{provide:u.TUI_BUTTON_OPTIONS,useValue:g}]})],e)}(),v=function(){function e(e){var t=this;this.elementRef=e,this.tuiCarouselScroll=r.typedFromEvent(this.elementRef.nativeElement,"wheel").pipe(s.filter((function(e){var t=e.deltaX;return Math.abs(t)>20})),s.throttleTime(500),s.map((function(e){var t=e.deltaX;return Math.sign(t)})),s.tap((function(){t.elementRef.nativeElement.scrollLeft=10})))}return e.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]}]},c([t.Output()],e.prototype,"tuiCarouselScroll",void 0),e=c([t.Directive({selector:"[tuiCarouselScroll]"}),p(0,t.Inject(t.ElementRef))],e)}(),y=function(){function e(){}return e=c([t.NgModule({imports:[a.CommonModule,n.IntersectionObserverModule,r.TuiPanModule,r.TuiSwipeModule,r.TuiItemModule],declarations:[f,m,b,h,v],exports:[f,m,b,r.TuiItemDirective]})],e)}();e.CAROUSEL_BUTTON_OPTIONS=g,e.TuiCarouselAutoscrollDirective=h,e.TuiCarouselButtonsDirective=b,e.TuiCarouselComponent=f,e.TuiCarouselDirective=m,e.TuiCarouselModule=y,e.TuiCarouselScrollDirective=v,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-carousel.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/carousel/carousel.component.ts","ng://@taiga-ui/kit/components/carousel/carousel.directive.ts","ng://@taiga-ui/kit/components/carousel/carousel-autoscroll.directive.ts","ng://@taiga-ui/kit/components/carousel/carousel-buttons.directive.ts","ng://@taiga-ui/kit/components/carousel/carousel-scroll.directive.ts","ng://@taiga-ui/kit/components/carousel/carousel.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","__read","o","n","m","Symbol","iterator","e","ar","next","done","push","value","error","TuiCarouselComponent","changeDetectorRef","elementRef","isMobile","this","translate","draggable","itemsCount","index","indexChange","EventEmitter","items","EMPTY_QUERY","transitioned","computedTranslate","onTransitioned","getStyle","percent","flexBasis","minWidth","maxWidth","updateIndex","prev","isDisabled","onIntersection","_a","intersectionRatio","Math","floor","onScroll","delta","onPan","x","computedDraggable","clientWidth","nativeElement","min","clamp","onSwipe","direction","round","onAutoscroll","emit","markForCheck","ChangeDetectorRef","type","Inject","args","ElementRef","TUI_IS_MOBILE","Input","HostBinding","tuiDefaultProp","Output","ContentChildren","TuiItemDirective","read","TemplateRef","HostListener","tuiPure","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","provide","INTERSECTION_ROOT","useExisting","TuiCarouselDirective","visible$","_this","_super","subscriber","output$","subscribe","duration$","BehaviorSubject","running$","merge","typedFromEvent","pipe","mapTo","combineLatest","switchMap","_b","duration","running","interval","EMPTY","TypeError","String","__","constructor","__extends","Observable","PAGE_VISIBILITY","Directive","TuiCarouselAutoscrollDirective","tuiCarouselAutoscroll","outputs","CAROUSEL_BUTTON_OPTIONS","appearance","shape","size","TuiCarouselButtonsDirective","TUI_BUTTON_OPTIONS","useValue","TuiCarouselScrollDirective","tuiCarouselScroll","filter","deltaX","abs","throttleTime","map","sign","tap","scrollLeft","TuiCarouselModule","NgModule","imports","CommonModule","IntersectionObserverModule","TuiPanModule","TuiSwipeModule","TuiItemModule","declarations","exports"],"mappings":"82BAgBA,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,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,IAkCrB,SAASS,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2Hd,EAAvHe,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOZ,OAAOiB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAAWM,OAAS,EAAGK,GAAK,EAAGA,KAAStB,EAAIW,EAAWW,MAAIJ,GAAKH,EAAI,EAAIf,EAAEkB,GAAKH,EAAI,EAAIf,EAAEY,EAAQC,EAAKK,GAAKlB,EAAEY,EAAQC,KAASK,GAChJ,OAAOH,EAAI,GAAKG,GAAKhB,OAAOqB,eAAeX,EAAQC,EAAKK,GAAIA,EAGzD,SAASM,EAAQC,EAAYC,GAChC,OAAO,SAAUd,EAAQC,GAAOa,EAAUd,EAAQC,EAAKY,IA6C9BvB,OAAOyB,OA4B7B,SAASC,EAAOC,EAAGC,GACtB,IAAIC,EAAsB,mBAAXC,QAAyBH,EAAEG,OAAOC,UACjD,IAAKF,EAAG,OAAOF,EACf,IAAmBX,EAAYgB,EAA3BZ,EAAIS,EAAEtB,KAAKoB,GAAOM,EAAK,GAC3B,IACI,WAAc,IAANL,GAAgBA,KAAM,MAAQZ,EAAII,EAAEc,QAAQC,MAAMF,EAAGG,KAAKpB,EAAEqB,OAExE,MAAOC,GAASN,EAAI,CAAEM,MAAOA,GACjC,QACQ,IACQtB,IAAMA,EAAEmB,OAASN,EAAIT,EAAU,SAAIS,EAAEtB,KAAKa,GAE1D,QAAkB,GAAIY,EAAG,MAAMA,EAAEM,OAE7B,OAAOL,EAgEcjC,OAAOyB,wBCrJ5B,SAAAc,EACgDC,EACPC,EACGC,GAFIC,KAAAH,kBAAAA,EACPG,KAAAF,WAAAA,EACGE,KAAAD,SAAAA,EA3BpCC,KAAAC,UAAY,EAKpBD,KAAAE,WAAY,EAIZF,KAAAG,WAAa,EAIbH,KAAAI,MAAQ,EAGCJ,KAAAK,YAAc,IAAIC,EAAAA,aAGlBN,KAAAO,MAAyDC,EAAAA,YAGlER,KAAAS,cAAe,EAmGnB,OA3FIpD,OAAAqB,eAAIkB,EAAAlC,UAAA,YAAS,KAAb,WAGI,MAAO,cAAc,KAFXsC,KAAKS,aAAeT,KAAKU,kBAAoBV,KAAKC,WAEhC,sCAOhCL,EAAAlC,UAAAiD,eAAA,SAAeF,GACXT,KAAKS,aAAeA,EAEfA,IACDT,KAAKC,UAAYD,KAAKU,oBAK9Bd,EAAAlC,UAAAkD,SAAA,SAAST,GACL,IAAMU,EAAa,IAAMV,EAAU,IAEnC,MAAO,CACHW,UAAWD,EACXE,SAAUF,EACVG,SAAUH,IAIlBjB,EAAAlC,UAAA6B,KAAA,WACIS,KAAKiB,YAAYjB,KAAKI,MAAQ,IAGlCR,EAAAlC,UAAAwD,KAAA,WACIlB,KAAKiB,YAAYjB,KAAKI,MAAQ,IAGlCR,EAAAlC,UAAAyD,WAAA,SAAWf,GACP,OAAOA,EAAQJ,KAAKI,OAASA,EAAQJ,KAAKI,MAAQJ,KAAKG,YAG3DP,EAAAlC,UAAA0D,eAAA,SAAeC,EAAgDjB,OAA/CkB,EAAAD,EAAAC,kBACRA,GAA2C,IAAtBA,IAA4BtB,KAAKS,cACtDT,KAAKiB,YAAYb,EAAQmB,KAAKC,MAAMxB,KAAKG,WAAa,KAI9DP,EAAAlC,UAAA+D,SAAA,SAASC,GACA1B,KAAKD,UACNC,KAAKiB,YAAYjB,KAAKI,MAAQsB,IAItC9B,EAAAlC,UAAAiE,MAAA,SAAMC,GACF,GAAK5B,KAAK6B,kBAAV,CAIO,IAAAC,EAAA9B,KAAAF,WAAAiC,cAAAD,YACDE,EAAM,EAAIhC,KAAKO,MAAMnC,OAAS4B,KAAKG,WAEzCH,KAAKC,UAAYgC,EAAAA,MAAML,EAAIE,EAAc9B,KAAKC,UAAW+B,EAAK,KAGlEpC,EAAAlC,UAAAwE,QAAA,SAAQC,GACAZ,KAAKa,MAAMpC,KAAKC,cAAgBD,KAAKI,OAAUJ,KAAK6B,oBAE/B,SAAdM,EACPnC,KAAKT,OACgB,UAAd4C,GACPnC,KAAKkB,SAIbtB,EAAAlC,UAAA2E,aAAA,WACIrC,KAAKiB,YAAYjB,KAAKI,QAAUJ,KAAKO,MAAMnC,OAAS,EAAI,EAAI4B,KAAKI,MAAQ,IAG7E/C,OAAAqB,eAAYkB,EAAAlC,UAAA,oBAAiB,KAA7B,WACI,OAAQsC,KAAKI,MAAQJ,KAAKG,4CAG9B9C,OAAAqB,eAAYkB,EAAAlC,UAAA,oBAAiB,KAA7B,WACI,OAAOsC,KAAKD,UAAYC,KAAKE,2CAGzBN,EAAAlC,UAAAuD,YAAR,SAAoBb,GAChBJ,KAAKI,MAAQ6B,EAAAA,MAAM7B,EAAO,EAAGJ,KAAKO,MAAMnC,OAAS,GACjD4B,KAAKK,YAAYiC,KAAKtC,KAAKI,OAC3BJ,KAAKH,kBAAkB0C,yDA9FwCC,EAAAA,kBAAiB1E,WAAA,CAAA,CAAA2E,KAA/EC,EAAAA,OAAMC,KAAA,CAACH,EAAAA,4BACyCI,EAAAA,WAAU9E,WAAA,CAAA,CAAA2E,KAA1DC,EAAAA,OAAMC,KAAA,CAACC,EAAAA,+CACPF,EAAAA,OAAMC,KAAA,CAACE,EAAAA,oBAtBZhF,EAAA,CAHCiF,EAAAA,QACAC,EAAAA,YAAY,oBACZC,EAAAA,kDAKDnF,EAAA,CAFCiF,EAAAA,QACAE,EAAAA,mDAKDnF,EAAA,CAFCiF,EAAAA,QACAE,EAAAA,8CAIDnF,EAAA,CADCoF,EAAAA,4CAIDpF,EAAA,CADCqF,EAAAA,gBAAgBC,EAAAA,iBAAkB,CAACC,KAAMC,EAAAA,2CAI1CxF,EAAA,CADCkF,EAAAA,YAAY,2DAmBblF,EAAA,CAJCyF,EAAAA,aAAa,aAAc,CAAC,UAC5BA,EAAAA,aAAa,WAAY,CAAC,SAC1BA,EAAAA,aAAa,YAAa,CAAC,UAC3BA,EAAAA,aAAa,0BAA2B,CAAC,6CAU1CzF,EAAA,CADC0F,EAAAA,sCAjDQ3D,EAAoB/B,EAAA,CAZhC2F,EAAAA,UAAU,CACPC,SAAU,eACVC,SAAA,69BAEAC,gBAAiBC,EAAAA,wBAAwBC,OACzCC,UAAW,CACP,CACIC,QAASC,EAAAA,kBACTC,YAAarB,EAAAA,0/BA8BhBjE,EAAA,EAAA+D,EAAAA,OAAOF,EAAAA,oBACP7D,EAAA,EAAA+D,EAAAA,OAAOE,EAAAA,aACPjE,EAAA,EAAA+D,EAAAA,OAAOG,EAAAA,iBA5BHjD,oBCRT,SAAAsE,EACyCpE,EACKqE,GAF9C,IAAAC,EAIIC,EAAAzG,KAAAoC,MAAM,SAAAsE,GAAc,OAAAF,EAAKG,QAAQC,UAAUF,OAAYtE,YAHlBoE,EAAAtE,WAAAA,EACKsE,EAAAD,SAAAA,EAvB7BC,EAAAK,UAAY,IAAIC,EAAAA,gBAAgB,GAEhCN,EAAAO,SAAWC,EAAAA,MACxBC,EAAAA,eAAeT,EAAKtE,WAAWiC,cAAe,cAAc+C,KAAKC,EAAAA,OAAM,IACvEF,EAAAA,eAAeT,EAAKtE,WAAWiC,cAAe,cAAc+C,KAAKC,EAAAA,OAAM,IACvEF,EAAAA,eAAeT,EAAKtE,WAAWiC,cAAe,YAAY+C,KAAKC,EAAAA,OAAM,IACrEF,EAAAA,eAAeT,EAAKtE,WAAWiC,cAAe,cAAc+C,KAAKC,EAAAA,OAAM,IACvEX,EAAKD,UAGQC,EAAAG,QAAUS,EAAAA,cAAc,CAACZ,EAAKK,UAAWL,EAAKO,WAAWG,KACtEG,EAAAA,WAAU,SAAC5D,OAAA6D,EAAAnG,EAAAsC,EAAA,GAAC8D,EAAAD,EAAA,GAAUE,EAAAF,EAAA,GAClB,OAAAC,GAAYC,EAAUC,EAAAA,SAASF,GAAYG,EAAAA,YAevD,OFdO,SAAmBnI,EAAGC,GACzB,GAAiB,mBAANA,GAA0B,OAANA,EAC3B,MAAM,IAAImI,UAAU,uBAAyBC,OAAOpI,GAAK,iCAE7D,SAASqI,IAAOzF,KAAK0F,YAAcvI,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEO,UAAkB,OAANN,EAAaC,OAAOyB,OAAO1B,IAAMqI,EAAG/H,UAAYN,EAAEM,UAAW,IAAI+H,GEnBzCE,CAAAzB,EAAAG,GAkBtChH,OAAAqB,eAAIwF,EAAAxG,UAAA,WAAQ,KAAZ,SAAayH,GACTnF,KAAKyE,UAAUlF,KAAK4F,6EAI6BvC,EAAAA,WAAU9E,WAAA,CAAA,CAAA2E,KAA1DC,EAAAA,OAAMC,KAAA,CAACC,EAAAA,qBAC4CgD,EAAAA,WAAU9H,WAAA,CAAA,CAAA2E,KAA7DC,EAAAA,OAAMC,KAAA,CAACkD,EAAAA,sBANZhI,EAAA,CADCiF,EAAAA,sCAjBQoB,EAAoBrG,EAAA,CAHhCiI,EAAAA,UAAU,CACPrC,SAAU,iBAyBL9E,EAAA,EAAA+D,EAAAA,OAAOE,EAAAA,aACPjE,EAAA,EAAA+D,EAAAA,OAAOmD,EAAAA,mBAxBH3B,IAA6B0B,EAAAA,yBCCtC,SAAAG,EAC2CC,GAAAhG,KAAAgG,sBAAAA,EAE/C,gDAFsEJ,EAAAA,WAAU9H,WAAA,CAAA,CAAA2E,KAAvEC,EAAAA,OAAMC,KAAA,CAACuB,QAFH6B,EAA8BlI,EAAA,CAJ1CiI,EAAAA,UAAU,CACPrC,SAAU,0BACVwC,QAAS,CAAC,2BAILtH,EAAA,EAAA+D,EAAAA,OAAOwB,KAFH6B,MCLAG,EAA4C,CACrDC,WAAU,YACVC,MAAO,UACPC,KAAM,kBAYV,SAAAC,KAA0C,OAA7BA,EAA2BzI,EAAA,CATvCiI,EAAAA,UAAU,CACPrC,SAAU,uBACVK,UAAW,CACP,CACIC,QAASwC,EAAAA,mBACTC,SAAUN,OAITI,mBCGT,SAAAG,EACyC3G,GADzC,IAAAsE,EAAApE,KACyCA,KAAAF,WAAAA,EAdhCE,KAAA0G,kBAAoB7B,EAAAA,eACzB7E,KAAKF,WAAWiC,cAChB,SACF+C,KACE6B,EAAAA,QAAO,SAACtF,OAACuF,EAAAvF,EAAAuF,OAAY,OAAArF,KAAKsF,IAAID,GAAU,MACxCE,EAAAA,aAAa,KACbC,EAAAA,KAAI,SAAC1F,OAACuF,EAAAvF,EAAAuF,OAAY,OAAArF,KAAKyF,KAAKJ,MAC5BK,EAAAA,KAAI,WAEA7C,EAAKtE,WAAWiC,cAAcmF,WAAa,OAOvD,gDAFyDtE,EAAAA,WAAU9E,WAAA,CAAA,CAAA2E,KAA1DC,EAAAA,OAAMC,KAAA,CAACC,EAAAA,iBAdZ/E,EAAA,CADCoF,EAAAA,kDADQwD,EAA0B5I,EAAA,CAHtCiI,EAAAA,UAAU,CACPrC,SAAU,wBAkBL9E,EAAA,EAAA+D,EAAAA,OAAOE,EAAAA,cAhBH6D,mBC+Bb,SAAAU,KAAgC,OAAnBA,EAAiBtJ,EAAA,CAtB7BuJ,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,2BACAC,EAAAA,aACAC,EAAAA,eACAC,EAAAA,eAEJC,aAAc,CACV/H,EACAsE,EACAoC,EACAP,EACAU,GAEJmB,QAAS,CACLhI,EACAsE,EACAoC,EACAnD,EAAAA,qBAGKgE","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 (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\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 var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(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, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, 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\n/** @deprecated */\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\n/** @deprecated */\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 __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\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\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\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 (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, 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, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n HostBinding,\n HostListener,\n Inject,\n Input,\n Output,\n QueryList,\n TemplateRef,\n} from '@angular/core';\nimport {INTERSECTION_ROOT} from '@ng-web-apis/intersection-observer';\nimport {\n clamp,\n EMPTY_QUERY,\n TUI_IS_MOBILE,\n tuiDefaultProp,\n TuiItemDirective,\n tuiPure,\n TuiSwipeDirection,\n} from '@taiga-ui/cdk';\n\n// @dynamic\n@Component({\n selector: 'tui-carousel',\n templateUrl: 'carousel.template.html',\n styleUrls: ['carousel.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: INTERSECTION_ROOT,\n useExisting: ElementRef,\n },\n ],\n})\nexport class TuiCarouselComponent {\n private translate = 0;\n\n @Input()\n @HostBinding('class._draggable')\n @tuiDefaultProp()\n draggable = false;\n\n @Input()\n @tuiDefaultProp()\n itemsCount = 1;\n\n @Input()\n @tuiDefaultProp()\n index = 0;\n\n @Output()\n readonly indexChange = new EventEmitter<number>();\n\n @ContentChildren(TuiItemDirective, {read: TemplateRef})\n readonly items: QueryList<TemplateRef<Record<string, unknown>>> = EMPTY_QUERY;\n\n @HostBinding('class._transitioned')\n transitioned = true;\n\n constructor(\n @Inject(ChangeDetectorRef) private readonly changeDetectorRef: ChangeDetectorRef,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TUI_IS_MOBILE) private readonly isMobile: boolean,\n ) {}\n\n get transform(): string {\n const x = this.transitioned ? this.computedTranslate : this.translate;\n\n return `translateX(${100 * x}%)`;\n }\n\n @HostListener('touchstart', ['false'])\n @HostListener('touchend', ['true'])\n @HostListener('mousedown', ['false'])\n @HostListener('document:mouseup.silent', ['true'])\n onTransitioned(transitioned: boolean): void {\n this.transitioned = transitioned;\n\n if (!transitioned) {\n this.translate = this.computedTranslate;\n }\n }\n\n @tuiPure\n getStyle(itemsCount: number): Partial<CSSStyleDeclaration> {\n const percent = `${100 / itemsCount}%`;\n\n return {\n flexBasis: percent,\n minWidth: percent,\n maxWidth: percent,\n };\n }\n\n next(): void {\n this.updateIndex(this.index + 1);\n }\n\n prev(): void {\n this.updateIndex(this.index - 1);\n }\n\n isDisabled(index: number): boolean {\n return index < this.index || index > this.index + this.itemsCount;\n }\n\n onIntersection({intersectionRatio}: IntersectionObserverEntry, index: number): void {\n if (intersectionRatio && intersectionRatio !== 1 && !this.transitioned) {\n this.updateIndex(index - Math.floor(this.itemsCount / 2));\n }\n }\n\n onScroll(delta: number): void {\n if (!this.isMobile) {\n this.updateIndex(this.index + delta);\n }\n }\n\n onPan(x: number): void {\n if (!this.computedDraggable) {\n return;\n }\n\n const {clientWidth} = this.elementRef.nativeElement;\n const min = 1 - this.items.length / this.itemsCount;\n\n this.translate = clamp(x / clientWidth + this.translate, min, 0);\n }\n\n onSwipe(direction: TuiSwipeDirection): void {\n if (Math.round(this.translate) !== -this.index || !this.computedDraggable) {\n return;\n } else if (direction === 'left') {\n this.next();\n } else if (direction === 'right') {\n this.prev();\n }\n }\n\n onAutoscroll(): void {\n this.updateIndex(this.index === this.items.length - 1 ? 0 : this.index + 1);\n }\n\n private get computedTranslate(): number {\n return -this.index / this.itemsCount;\n }\n\n private get computedDraggable(): boolean {\n return this.isMobile || this.draggable;\n }\n\n private updateIndex(index: number): void {\n this.index = clamp(index, 0, this.items.length - 1);\n this.indexChange.emit(this.index);\n this.changeDetectorRef.markForCheck();\n }\n}\n","import {Directive, ElementRef, Inject, Input} from '@angular/core';\nimport {PAGE_VISIBILITY} from '@ng-web-apis/common';\nimport {typedFromEvent} from '@taiga-ui/cdk';\nimport {BehaviorSubject, combineLatest, EMPTY, interval, merge, Observable} from 'rxjs';\nimport {mapTo, switchMap} from 'rxjs/operators';\n\n@Directive({\n selector: 'tui-carousel',\n})\nexport class TuiCarouselDirective extends Observable<unknown> {\n private readonly duration$ = new BehaviorSubject(0);\n\n private readonly running$ = merge(\n typedFromEvent(this.elementRef.nativeElement, 'mouseenter').pipe(mapTo(false)),\n typedFromEvent(this.elementRef.nativeElement, 'touchstart').pipe(mapTo(false)),\n typedFromEvent(this.elementRef.nativeElement, 'touchend').pipe(mapTo(true)),\n typedFromEvent(this.elementRef.nativeElement, 'mouseleave').pipe(mapTo(true)),\n this.visible$,\n );\n\n private readonly output$ = combineLatest([this.duration$, this.running$]).pipe(\n switchMap(([duration, running]) =>\n duration && running ? interval(duration) : EMPTY,\n ),\n );\n\n @Input()\n set duration(duration: number) {\n this.duration$.next(duration);\n }\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(PAGE_VISIBILITY) private readonly visible$: Observable<boolean>,\n ) {\n super(subscriber => this.output$.subscribe(subscriber));\n }\n}\n","import {Directive, Inject} from '@angular/core';\nimport {Observable} from 'rxjs';\n\nimport {TuiCarouselDirective} from './carousel.directive';\n\n@Directive({\n selector: '[tuiCarouselAutoscroll]',\n outputs: ['tuiCarouselAutoscroll'],\n})\nexport class TuiCarouselAutoscrollDirective {\n constructor(\n @Inject(TuiCarouselDirective) readonly tuiCarouselAutoscroll: Observable<unknown>,\n ) {}\n}\n","import {Directive} from '@angular/core';\nimport {TUI_BUTTON_OPTIONS, TuiAppearance, TuiButtonOptions} from '@taiga-ui/core';\n\n// TODO: 3.0 remove in ivy compilation\nexport const CAROUSEL_BUTTON_OPTIONS: TuiButtonOptions = {\n appearance: TuiAppearance.Secondary,\n shape: 'rounded',\n size: 'm',\n};\n\n@Directive({\n selector: '[tuiCarouselButtons]',\n providers: [\n {\n provide: TUI_BUTTON_OPTIONS,\n useValue: CAROUSEL_BUTTON_OPTIONS,\n },\n ],\n})\nexport class TuiCarouselButtonsDirective {}\n","import {Directive, ElementRef, Inject, Output} from '@angular/core';\nimport {typedFromEvent} from '@taiga-ui/cdk';\nimport {filter, map, tap, throttleTime} from 'rxjs/operators';\n\n@Directive({\n selector: '[tuiCarouselScroll]',\n})\nexport class TuiCarouselScrollDirective {\n @Output()\n readonly tuiCarouselScroll = typedFromEvent(\n this.elementRef.nativeElement,\n 'wheel',\n ).pipe(\n filter(({deltaX}) => Math.abs(deltaX) > 20),\n throttleTime(500),\n map(({deltaX}) => Math.sign(deltaX)),\n tap(() => {\n // So we always have space to scroll and overflow-behavior saves us from back nav\n this.elementRef.nativeElement.scrollLeft = 10;\n }),\n );\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n ) {}\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {IntersectionObserverModule} from '@ng-web-apis/intersection-observer';\nimport {\n TuiItemDirective,\n TuiItemModule,\n TuiPanModule,\n TuiSwipeModule,\n} from '@taiga-ui/cdk';\n\nimport {TuiCarouselComponent} from './carousel.component';\nimport {TuiCarouselDirective} from './carousel.directive';\nimport {TuiCarouselAutoscrollDirective} from './carousel-autoscroll.directive';\nimport {TuiCarouselButtonsDirective} from './carousel-buttons.directive';\nimport {TuiCarouselScrollDirective} from './carousel-scroll.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n IntersectionObserverModule,\n TuiPanModule,\n TuiSwipeModule,\n TuiItemModule,\n ],\n declarations: [\n TuiCarouselComponent,\n TuiCarouselDirective,\n TuiCarouselButtonsDirective,\n TuiCarouselAutoscrollDirective,\n TuiCarouselScrollDirective,\n ],\n exports: [\n TuiCarouselComponent,\n TuiCarouselDirective,\n TuiCarouselButtonsDirective,\n TuiItemDirective,\n ],\n})\nexport class TuiCarouselModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("@taiga-ui/cdk"),require("@taiga-ui/core"),require("@taiga-ui/kit/components/checkbox")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/checkbox-block",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/core","@taiga-ui/kit/components/checkbox"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components["checkbox-block"]={}),e.ng.core,e.ng.forms,e.cdk,e.core$1,e["taiga-ui"].kit.components.checkbox)}(this,(function(e,t,o,n,i,r){"use strict";var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)};function c(e,t,o,n){var i,r=arguments.length,a=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(a=(r<3?i(a):r>3?i(t,o,a):i(t,o))||a);return r>3&&a&&Object.defineProperty(t,o,a),a}function s(e,t){return function(o,n){t(o,n,e)}}Object.create;Object.create;var d=function(e){function d(t,o,n){var i=e.call(this,t,o)||this;return i.modeDirective=n,i.contentAlign="right",i.hideCheckbox=!1,i.size="l",i}var u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}(d,e),u=d,Object.defineProperty(d.prototype,"nativeFocusableElement",{get:function(){return this.checkbox?this.checkbox.nativeFocusableElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"checked",{get:function(){return!1!==this.value&&this.hideCheckbox},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"checkboxSize",{get:function(){return"l"===this.size?"l":"m"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"focused",{get:function(){return n.isNativeFocused(this.nativeFocusableElement)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"appearance",{get:function(){return this.modeDirective&&this.modeDirective.mode?this.checked?"primary":"secondary":this.checked?"whiteblock-active":"whiteblock"},enumerable:!0,configurable:!0}),d.prototype.onFocused=function(e){this.updateFocused(e)},d.prototype.onHovered=function(e){this.updateHovered(e)},d.prototype.onPressed=function(e){this.updatePressed(e)},d.prototype.onFocusVisible=function(e){this.updateFocusVisible(e)},d.prototype.onModelChange=function(e){this.updateValue(e)},d.ctorParameters=function(){return[{type:o.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[o.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:i.TuiModeDirective,decorators:[{type:t.Optional},{type:t.Inject,args:[i.TuiModeDirective]}]}]},c([t.ViewChild(r.TuiCheckboxComponent)],d.prototype,"checkbox",void 0),c([t.Input(),t.HostBinding("attr.data-tui-host-align"),n.tuiDefaultProp()],d.prototype,"contentAlign",void 0),c([t.Input(),t.HostBinding("class._hidden_checkbox"),n.tuiDefaultProp()],d.prototype,"hideCheckbox",void 0),c([t.Input(),t.HostBinding("attr.data-size"),n.tuiDefaultProp()],d.prototype,"size",void 0),c([t.HostBinding("class._active")],d.prototype,"checked",null),d=u=c([t.Component({selector:"tui-checkbox-block",template:'<label\n class="wrapper"\n (tuiHoveredChange)="onHovered($event)"\n (tuiPressedChange)="onPressed($event)"\n>\n <tui-wrapper\n [appearance]="appearance"\n [disabled]="computedDisabled"\n [focused]="computedFocusVisible"\n [hovered]="computedHovered"\n [pressed]="computedPressed"\n [invalid]="computedInvalid"\n >\n <div class="content-wrapper">\n <div class="content">\n <tui-checkbox\n class="view"\n [disabled]="computedDisabled || readOnly"\n [nativeId]="nativeId"\n [pseudoInvalid]="computedInvalid"\n [pseudoFocused]="false"\n [pseudoHovered]="computedHovered"\n [pseudoPressed]="computedPressed"\n [size]="checkboxSize"\n [focusable]="focusable"\n [ngModel]="value"\n (ngModelChange)="onModelChange($event)"\n (focusedChange)="onFocused($event)"\n (focusVisibleChange)="onFocusVisible($event)"\n ></tui-checkbox>\n <div class="label">\n <ng-content></ng-content>\n </div>\n </div>\n </div>\n </tui-wrapper>\n</label>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:n.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return u}))}],styles:[":host{font:var(--tui-font-text-s);color:var(--tui-text-01);display:inline-block;vertical-align:top;border-radius:var(--tui-radius-m)}:host[data-size='l'],:host[data-size='m']{font:var(--tui-font-text-m)}:host._disabled,:host._readonly{pointer-events:none}.wrapper{position:relative;border-radius:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.content-wrapper{display:flex;flex-direction:column}:host[data-size='s'] .content-wrapper{min-height:var(--tui-height-s)}:host[data-size='m'] .content-wrapper{min-height:var(--tui-height-m)}:host[data-size='l'] .content-wrapper{min-height:var(--tui-height-l)}.content{display:flex;align-items:center;min-height:inherit}:host[data-tui-host-align=right] .content{flex-direction:row-reverse}:host[data-size='s'] .content{padding:0 1rem 0 .5rem}:host[data-size='s'][data-tui-host-align=right] .content{padding:0 .5rem 0 1rem}:host[data-size='s']._hidden_checkbox .content{padding:0 1rem}:host[data-size='m'] .content{padding:0 1rem 0 .75rem}:host[data-size='m'][data-tui-host-align=right] .content{padding:0 .75rem 0 1rem}:host[data-size='m']._hidden_checkbox .content{padding:0 1.5rem}:host[data-size='l'] .content{padding:0 1rem}:host[data-size='l']._hidden_checkbox .content{padding:0 2.25rem}.view{margin-top:.75rem;margin-right:.75rem;align-self:flex-start}:host[data-tui-host-align=right] .view{margin-left:.75rem;margin-right:0}:host[data-size='s'] .view{margin-top:.5rem;margin-right:.5rem}:host[data-size='s'][data-tui-host-align=right] .view{margin-left:.5rem}:host[data-size='m'] .view{margin-top:.875rem}:host[data-size='l'] .view{margin-top:1rem}:host._hidden_checkbox .view{position:absolute;height:1px;width:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);-webkit-clip-path:inset(0);clip-path:inset(0)}.label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-grow:1}:host._hidden_checkbox .label{text-align:center}"]}),s(0,t.Optional()),s(0,t.Self()),s(0,t.Inject(o.NgControl)),s(1,t.Inject(t.ChangeDetectorRef)),s(2,t.Optional()),s(2,t.Inject(i.TuiModeDirective))],d)}(n.AbstractTuiNullableControl),u=function(){function e(){}return e=c([t.NgModule({imports:[o.FormsModule,n.TuiHoveredModule,n.TuiPressedModule,r.TuiCheckboxModule,i.TuiWrapperModule],declarations:[d],exports:[d]})],e)}();e.TuiCheckboxBlockComponent=d,e.TuiCheckboxBlockModule=u,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-checkbox-block.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/checkbox-block/checkbox-block.component.ts","ng://@taiga-ui/kit/components/checkbox-block/checkbox-block.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","TuiCheckboxBlockComponent","control","changeDetectorRef","modeDirective","_this","_super","this","contentAlign","hideCheckbox","size","TypeError","String","__","constructor","__extends","checkbox","nativeFocusableElement","value","isNativeFocused","mode","checked","onFocused","focused","updateFocused","onHovered","hovered","updateHovered","onPressed","pressed","updatePressed","onFocusVisible","focusVisible","updateFocusVisible","onModelChange","updateValue","NgControl","type","Optional","Self","Inject","args","ChangeDetectorRef","TuiModeDirective","ViewChild","TuiCheckboxComponent","Input","HostBinding","tuiDefaultProp","TuiCheckboxBlockComponent_1","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","AbstractTuiNullableControl","TuiCheckboxBlockModule","NgModule","imports","FormsModule","TuiHoveredModule","TuiPressedModule","TuiCheckboxModule","TuiWrapperModule","declarations","exports"],"mappings":"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","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 (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\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 var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(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, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, 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\n/** @deprecated */\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\n/** @deprecated */\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 __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\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\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\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 (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, 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, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n HostBinding,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n isNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {\n TuiAppearance,\n TuiHorizontalDirection,\n TuiModeDirective,\n TuiSizeL,\n TuiSizeS,\n} from '@taiga-ui/core';\nimport {TuiCheckboxComponent} from '@taiga-ui/kit/components/checkbox';\n\n@Component({\n selector: 'tui-checkbox-block',\n templateUrl: './checkbox-block.template.html',\n styleUrls: ['./checkbox-block.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiCheckboxBlockComponent),\n },\n ],\n})\nexport class TuiCheckboxBlockComponent\n extends AbstractTuiNullableControl<boolean>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiCheckboxComponent)\n private readonly checkbox?: TuiCheckboxComponent;\n\n @Input()\n @HostBinding('attr.data-tui-host-align')\n @tuiDefaultProp()\n contentAlign: TuiHorizontalDirection = 'right';\n\n @Input()\n @HostBinding('class._hidden_checkbox')\n @tuiDefaultProp()\n hideCheckbox = false;\n\n @Input()\n @HostBinding('attr.data-size')\n @tuiDefaultProp()\n size: TuiSizeS | TuiSizeL = 'l';\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Optional()\n @Inject(TuiModeDirective)\n private readonly modeDirective: TuiModeDirective | null,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.checkbox ? this.checkbox.nativeFocusableElement : null;\n }\n\n @HostBinding('class._active')\n get checked(): boolean {\n return this.value !== false && this.hideCheckbox;\n }\n\n get checkboxSize(): TuiSizeL {\n return this.size === 'l' ? 'l' : 'm';\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get appearance(): TuiAppearance {\n if (!this.modeDirective || !this.modeDirective.mode) {\n return this.checked\n ? TuiAppearance.WhiteblockActive\n : TuiAppearance.Whiteblock;\n }\n\n return this.checked ? TuiAppearance.Primary : TuiAppearance.Secondary;\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onPressed(pressed: boolean): void {\n this.updatePressed(pressed);\n }\n\n onFocusVisible(focusVisible: boolean): void {\n this.updateFocusVisible(focusVisible);\n }\n\n onModelChange(value: boolean): void {\n this.updateValue(value);\n }\n}\n","import {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {TuiHoveredModule, TuiPressedModule} from '@taiga-ui/cdk';\nimport {TuiWrapperModule} from '@taiga-ui/core';\nimport {TuiCheckboxModule} from '@taiga-ui/kit/components/checkbox';\n\nimport {TuiCheckboxBlockComponent} from './checkbox-block.component';\n\n@NgModule({\n imports: [\n FormsModule,\n TuiHoveredModule,\n TuiPressedModule,\n TuiCheckboxModule,\n TuiWrapperModule,\n ],\n declarations: [TuiCheckboxBlockComponent],\n exports: [TuiCheckboxBlockComponent],\n})\nexport class TuiCheckboxBlockModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("@taiga-ui/cdk"),require("@taiga-ui/core"),require("@taiga-ui/kit/components/checkbox"),require("@angular/common")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/checkbox-labeled",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/core","@taiga-ui/kit/components/checkbox","@angular/common"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components["checkbox-labeled"]={}),e.ng.core,e.ng.forms,e.cdk,e.core$1,e["taiga-ui"].kit.components.checkbox,e.ng.common)}(this,(function(e,t,o,n,r,i,a){"use strict";var c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)};function u(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}function s(e,t){return function(o,n){t(o,n,e)}}Object.create;Object.create;var d=function(e){function a(t,o,n){var r=e.call(this,t,o)||this;return r.modeDirective=n,r.size="m",r}var d;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}(a,e),d=a,Object.defineProperty(a.prototype,"focused",{get:function(){return n.isNativeFocused(this.nativeFocusableElement)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"nativeFocusableElement",{get:function(){return this.checkbox?this.checkbox.nativeFocusableElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"hostMode",{get:function(){return this.modeDirective?this.modeDirective.mode:null},enumerable:!0,configurable:!0}),a.prototype.onFocused=function(e){this.updateFocused(e)},a.prototype.onHovered=function(e){this.updateHovered(e)},a.prototype.onPressed=function(e){this.updatePressed(e)},a.prototype.onModelChange=function(e){this.updateValue(e)},a.ctorParameters=function(){return[{type:o.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[o.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:r.TuiModeDirective,decorators:[{type:t.Optional},{type:t.Inject,args:[r.TuiModeDirective]}]}]},u([t.ViewChild(i.TuiCheckboxComponent)],a.prototype,"checkbox",void 0),u([t.Input(),t.HostBinding("attr.data-size"),n.tuiDefaultProp()],a.prototype,"size",void 0),u([t.HostBinding("attr.data-mode")],a.prototype,"hostMode",null),a=d=u([t.Component({selector:"tui-checkbox-labeled",template:'<label\n class="wrapper"\n (tuiHoveredChange)="onHovered($event)"\n (tuiPressedChange)="onPressed($event)"\n>\n <tui-checkbox\n [disabled]="computedDisabled"\n [readOnly]="readOnly"\n [focusable]="focusable"\n [nativeId]="nativeId"\n [pseudoInvalid]="computedInvalid"\n [pseudoFocused]="pseudoFocused"\n [pseudoHovered]="computedHovered"\n [pseudoPressed]="computedPressed"\n [size]="size"\n [ngModel]="value"\n (ngModelChange)="onModelChange($event)"\n (focusedChange)="onFocused($event)"\n ></tui-checkbox>\n <div\n class="content"\n [class.content_disabled]="computedDisabled"\n >\n <ng-content></ng-content>\n </div>\n</label>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:n.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return d}))}],styles:[":host{position:relative;display:block;line-height:0}:host._disabled,:host._readonly{pointer-events:none}.wrapper{display:inline-flex;max-width:100%;cursor:pointer}:host._disabled .wrapper{cursor:default}:host[data-mode=onDark] .wrapper{color:var(--tui-text-01-night)}.content{font:var(--tui-font-text-s);line-height:1rem;word-wrap:break-word;min-width:0}.content_disabled{opacity:var(--tui-disabled-opacity)}:host[data-size='m'] .content{margin-left:.5rem}:host[data-size='l'] .content{font:var(--tui-font-text-m);margin-left:.75rem}"]}),s(0,t.Optional()),s(0,t.Self()),s(0,t.Inject(o.NgControl)),s(1,t.Inject(t.ChangeDetectorRef)),s(2,t.Optional()),s(2,t.Inject(r.TuiModeDirective))],a)}(n.AbstractTuiNullableControl),l=function(){function e(){}return e=u([t.NgModule({imports:[a.CommonModule,o.FormsModule,n.TuiHoveredModule,n.TuiPressedModule,i.TuiCheckboxModule],declarations:[d],exports:[d]})],e)}();e.TuiCheckboxLabeledComponent=d,e.TuiCheckboxLabeledModule=l,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-checkbox-labeled.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/checkbox-labeled/checkbox-labeled.component.ts","ng://@taiga-ui/kit/components/checkbox-labeled/checkbox-labeled.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","TuiCheckboxLabeledComponent","control","changeDetectorRef","modeDirective","_this","_super","this","size","TypeError","String","__","constructor","__extends","isNativeFocused","nativeFocusableElement","checkbox","mode","onFocused","focused","updateFocused","onHovered","hovered","updateHovered","onPressed","pressed","updatePressed","onModelChange","value","updateValue","NgControl","type","Optional","Self","Inject","args","ChangeDetectorRef","TuiModeDirective","ViewChild","TuiCheckboxComponent","Input","HostBinding","tuiDefaultProp","TuiCheckboxLabeledComponent_1","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","AbstractTuiNullableControl","TuiCheckboxLabeledModule","NgModule","imports","CommonModule","FormsModule","TuiHoveredModule","TuiPressedModule","TuiCheckboxModule","declarations","exports"],"mappings":"wyBAgBA,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,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,IAkCrB,SAASS,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2Hd,EAAvHe,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOZ,OAAOiB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAAWM,OAAS,EAAGK,GAAK,EAAGA,KAAStB,EAAIW,EAAWW,MAAIJ,GAAKH,EAAI,EAAIf,EAAEkB,GAAKH,EAAI,EAAIf,EAAEY,EAAQC,EAAKK,GAAKlB,EAAEY,EAAQC,KAASK,GAChJ,OAAOH,EAAI,GAAKG,GAAKhB,OAAOqB,eAAeX,EAAQC,EAAKK,GAAIA,EAGzD,SAASM,EAAQC,EAAYC,GAChC,OAAO,SAAUd,EAAQC,GAAOa,EAAUd,EAAQC,EAAKY,IA6C9BvB,OAAOyB,OA0GXzB,OAAOyB,yBCrK5B,SAAAC,EAIIC,EAC2BC,EAGVC,GARrB,IAAAC,EAUIC,EAAAxB,KAAAyB,KAAML,EAASC,IAAkBI,YAFhBF,EAAAD,cAAAA,EAVrBC,EAAAG,KAAiB,YA2CrB,ODlEO,SAAmBnC,EAAGC,GACzB,GAAiB,mBAANA,GAA0B,OAANA,EAC3B,MAAM,IAAImC,UAAU,uBAAyBC,OAAOpC,GAAK,iCAE7D,SAASqC,IAAOJ,KAAKK,YAAcvC,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEO,UAAkB,OAANN,EAAaC,OAAOyB,OAAO1B,IAAMqC,EAAG/B,UAAYN,EAAEM,UAAW,IAAI+B,GCSvEE,CAAAZ,EAAAK,KADCL,EAyBT1B,OAAAqB,eAAIK,EAAArB,UAAA,UAAO,KAAX,WACI,OAAOkC,EAAAA,gBAAgBP,KAAKQ,yDAGhCxC,OAAAqB,eAAIK,EAAArB,UAAA,yBAAsB,KAA1B,WACI,OAAO2B,KAAKS,SAAWT,KAAKS,SAASD,uBAAyB,sCAIlExC,OAAAqB,eAAIK,EAAArB,UAAA,WAAQ,KAAZ,WACI,OAAO2B,KAAKH,cAAgBG,KAAKH,cAAca,KAAO,sCAG1DhB,EAAArB,UAAAsC,UAAA,SAAUC,GACNZ,KAAKa,cAAcD,IAGvBlB,EAAArB,UAAAyC,UAAA,SAAUC,GACNf,KAAKgB,cAAcD,IAGvBrB,EAAArB,UAAA4C,UAAA,SAAUC,GACNlB,KAAKmB,cAAcD,IAGvBxB,EAAArB,UAAA+C,cAAA,SAAcC,GACVrB,KAAKsB,YAAYD,6CAnCRE,EAAAA,UAAS9C,WAAA,CAAA,CAAA+C,KAHjBC,EAAAA,UAAQ,CAAAD,KACRE,EAAAA,MAAI,CAAAF,KACJG,EAAAA,OAAMC,KAAA,CAACL,EAAAA,oBAEsCM,EAAAA,kBAAiBpD,WAAA,CAAA,CAAA+C,KAA9DG,EAAAA,OAAMC,KAAA,CAACC,EAAAA,4BAGwBC,EAAAA,iBAAgBrD,WAAA,CAAA,CAAA+C,KAF/CC,EAAAA,UAAQ,CAAAD,KACRG,EAAAA,OAAMC,KAAA,CAACE,EAAAA,uBAdZtD,EAAA,CADCuD,EAAAA,UAAUC,EAAAA,sDAMXxD,EAAA,CAHCyD,EAAAA,QACAC,EAAAA,YAAY,kBACZC,EAAAA,6CAyBD3D,EAAA,CADC0D,EAAAA,YAAY,gDAjCJxC,EAA2B0C,EAAA5D,EAAA,CAZvC6D,EAAAA,UAAU,CACPC,SAAU,uBACVC,SAAA,4vBAEAC,gBAAiBC,EAAAA,wBAAwBC,OACzCC,UAAW,CACP,CACIC,QAASC,EAAAA,4BACTC,YAAaC,EAAAA,YAAW,WAAM,OAAAX,0iBAiBjC9C,EAAA,EAAAmC,EAAAA,YACAnC,EAAA,EAAAoC,EAAAA,QACApC,EAAA,EAAAqC,EAAAA,OAAOJ,EAAAA,YAEPjC,EAAA,EAAAqC,EAAAA,OAAOE,EAAAA,oBACPvC,EAAA,EAAAmC,EAAAA,YACAnC,EAAA,EAAAqC,EAAAA,OAAOG,EAAAA,oBAnBHpC,IACDsD,EAAAA,yCClBZ,SAAAC,KAAuC,OAA1BA,EAAwBzE,EAAA,CAXpC0E,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,YACAC,EAAAA,iBACAC,EAAAA,iBACAC,EAAAA,mBAEJC,aAAc,CAAC/D,GACfgE,QAAS,CAAChE,MAEDuD","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 (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\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 var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(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, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, 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\n/** @deprecated */\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\n/** @deprecated */\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 __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\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\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\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 (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, 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, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n HostBinding,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n isNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {TuiBrightness, TuiModeDirective, TuiSizeL} from '@taiga-ui/core';\nimport {TuiCheckboxComponent} from '@taiga-ui/kit/components/checkbox';\n\n@Component({\n selector: 'tui-checkbox-labeled',\n templateUrl: './checkbox-labeled.template.html',\n styleUrls: ['./checkbox-labeled.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiCheckboxLabeledComponent),\n },\n ],\n})\nexport class TuiCheckboxLabeledComponent\n extends AbstractTuiNullableControl<boolean>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiCheckboxComponent)\n private readonly checkbox?: TuiCheckboxComponent;\n\n @Input()\n @HostBinding('attr.data-size')\n @tuiDefaultProp()\n size: TuiSizeL = 'm';\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Optional()\n @Inject(TuiModeDirective)\n private readonly modeDirective: TuiModeDirective | null,\n ) {\n super(control, changeDetectorRef);\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.checkbox ? this.checkbox.nativeFocusableElement : null;\n }\n\n @HostBinding('attr.data-mode')\n get hostMode(): TuiBrightness | null {\n return this.modeDirective ? this.modeDirective.mode : null;\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onPressed(pressed: boolean): void {\n this.updatePressed(pressed);\n }\n\n onModelChange(value: boolean): void {\n this.updateValue(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {TuiHoveredModule, TuiPressedModule} from '@taiga-ui/cdk';\nimport {TuiCheckboxModule} from '@taiga-ui/kit/components/checkbox';\n\nimport {TuiCheckboxLabeledComponent} from './checkbox-labeled.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n TuiHoveredModule,\n TuiPressedModule,\n TuiCheckboxModule,\n ],\n declarations: [TuiCheckboxLabeledComponent],\n exports: [TuiCheckboxLabeledComponent],\n})\nexport class TuiCheckboxLabeledModule {}\n"]}