@taiga-ui/core 3.17.0 → 3.18.0-dev.main-6071534

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 (311) hide show
  1. package/bundles/taiga-ui-core-abstract.umd.js +11 -19
  2. package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
  3. package/bundles/taiga-ui-core-components-alert.umd.js +14 -23
  4. package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
  5. package/bundles/taiga-ui-core-components-button.umd.js +11 -20
  6. package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
  7. package/bundles/taiga-ui-core-components-calendar.umd.js +11 -20
  8. package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
  9. package/bundles/taiga-ui-core-components-data-list.umd.js +20 -29
  10. package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
  11. package/bundles/taiga-ui-core-components-dialog.umd.js +203 -190
  12. package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
  13. package/bundles/taiga-ui-core-components-error.umd.js +11 -20
  14. package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
  15. package/bundles/taiga-ui-core-components-expand.umd.js +14 -23
  16. package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
  17. package/bundles/taiga-ui-core-components-group.umd.js +14 -23
  18. package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
  19. package/bundles/taiga-ui-core-components-hints-host.umd.js +7 -7
  20. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +14 -23
  21. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
  22. package/bundles/taiga-ui-core-components-label.umd.js +11 -20
  23. package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
  24. package/bundles/taiga-ui-core-components-link.umd.js +11 -20
  25. package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
  26. package/bundles/taiga-ui-core-components-loader.umd.js +11 -20
  27. package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
  28. package/bundles/taiga-ui-core-components-notification.umd.js +13 -22
  29. package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
  30. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +11 -20
  31. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
  32. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +11 -20
  33. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
  34. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +11 -20
  35. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
  36. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +21 -30
  37. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  38. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +11 -20
  39. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
  40. package/bundles/taiga-ui-core-components-root.umd.js +11 -20
  41. package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
  42. package/bundles/taiga-ui-core-components-scroll-controls.umd.js +17 -26
  43. package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
  44. package/bundles/taiga-ui-core-components-scrollbar.umd.js +17 -26
  45. package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
  46. package/bundles/taiga-ui-core-components-svg.umd.js +109 -38
  47. package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
  48. package/bundles/taiga-ui-core-components-theme-night.umd.js +11 -20
  49. package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
  50. package/bundles/taiga-ui-core-components-tooltip.umd.js +39 -30
  51. package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
  52. package/bundles/taiga-ui-core-directives-dropdown.umd.js +83 -72
  53. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
  54. package/bundles/taiga-ui-core-directives-hint.umd.js +95 -100
  55. package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
  56. package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +7 -7
  57. package/bundles/taiga-ui-core-directives-mode.umd.js +11 -20
  58. package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
  59. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +11 -20
  60. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
  61. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +35 -44
  62. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
  63. package/bundles/taiga-ui-core-directives-wrapper.umd.js +7 -7
  64. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +11 -20
  65. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +1 -1
  66. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +7 -7
  67. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +7 -7
  68. package/bundles/taiga-ui-core-pipes-format-date.umd.js +7 -7
  69. package/bundles/taiga-ui-core-pipes-format-number.umd.js +7 -7
  70. package/bundles/taiga-ui-core-pipes-format-phone.umd.js +7 -7
  71. package/bundles/taiga-ui-core-pipes-month.umd.js +7 -7
  72. package/bundles/taiga-ui-core-pipes-order-week-days.umd.js +11 -20
  73. package/bundles/taiga-ui-core-pipes-order-week-days.umd.js.map +1 -1
  74. package/bundles/taiga-ui-core-services.umd.js +22 -31
  75. package/bundles/taiga-ui-core-services.umd.js.map +1 -1
  76. package/bundles/taiga-ui-core-tokens.umd.js +43 -14
  77. package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
  78. package/bundles/taiga-ui-core-utils-format.umd.js +4 -13
  79. package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
  80. package/bundles/taiga-ui-core-utils-mask.umd.js +4 -13
  81. package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
  82. package/components/dialog/dialog-close.service.d.ts +15 -0
  83. package/components/dialog/dialog.component.d.ts +5 -4
  84. package/components/dialog/dialog.tokens.d.ts +2 -0
  85. package/components/dialog/index.d.ts +1 -1
  86. package/components/notification/notification.component.d.ts +2 -2
  87. package/components/svg/deprecated-icons.d.ts +1 -0
  88. package/components/svg/index.d.ts +2 -0
  89. package/components/svg/svg-options.d.ts +14 -0
  90. package/components/svg/svg.component.d.ts +5 -7
  91. package/components/tooltip/tooltip.component.d.ts +2 -2
  92. package/components/tooltip/tooltip.module.d.ts +5 -4
  93. package/directives/dropdown/dropdown-hover-options.directive.d.ts +9 -0
  94. package/directives/dropdown/dropdown-hover.directive.d.ts +3 -1
  95. package/directives/dropdown/dropdown-position-sided.directive.d.ts +2 -2
  96. package/directives/dropdown/dropdown-position.directive.d.ts +2 -2
  97. package/directives/dropdown/index.d.ts +1 -0
  98. package/directives/hint/hint-hover.directive.d.ts +4 -2
  99. package/directives/hint/hint-position.directive.d.ts +2 -2
  100. package/esm2015/abstract/abstract-driver.directive.js +3 -3
  101. package/esm2015/abstract/abstract-textfield-host.js +3 -3
  102. package/esm2015/abstract/rect-accessor.js +2 -1
  103. package/esm2015/components/alert/alert.component.js +3 -3
  104. package/esm2015/components/alert/alert.module.js +4 -4
  105. package/esm2015/components/alert/alert.service.js +3 -3
  106. package/esm2015/components/button/button.component.js +3 -3
  107. package/esm2015/components/button/button.module.js +4 -4
  108. package/esm2015/components/calendar/calendar.component.js +3 -3
  109. package/esm2015/components/calendar/calendar.module.js +4 -4
  110. package/esm2015/components/data-list/data-list.component.js +3 -3
  111. package/esm2015/components/data-list/data-list.directive.js +3 -3
  112. package/esm2015/components/data-list/data-list.module.js +4 -4
  113. package/esm2015/components/data-list/opt-group.directive.js +3 -3
  114. package/esm2015/components/data-list/option/option.component.js +3 -3
  115. package/esm2015/components/dialog/dialog-close.service.js +51 -0
  116. package/esm2015/components/dialog/dialog.component.js +27 -11
  117. package/esm2015/components/dialog/dialog.directive.js +3 -3
  118. package/esm2015/components/dialog/dialog.module.js +4 -4
  119. package/esm2015/components/dialog/dialog.service.js +3 -3
  120. package/esm2015/components/dialog/dialog.tokens.js +5 -1
  121. package/esm2015/components/dialog/index.js +2 -2
  122. package/esm2015/components/error/error.component.js +3 -3
  123. package/esm2015/components/error/error.module.js +4 -4
  124. package/esm2015/components/expand/expand-content.directive.js +3 -3
  125. package/esm2015/components/expand/expand.component.js +3 -3
  126. package/esm2015/components/expand/expand.module.js +4 -4
  127. package/esm2015/components/group/group-styles.component.js +3 -3
  128. package/esm2015/components/group/group.directive.js +3 -3
  129. package/esm2015/components/group/group.module.js +4 -4
  130. package/esm2015/components/hints-host/hints-host.component.js +3 -3
  131. package/esm2015/components/hints-host/hints-host.module.js +4 -4
  132. package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +3 -3
  133. package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +3 -3
  134. package/esm2015/components/hosted-dropdown/hosted-dropdown.module.js +4 -4
  135. package/esm2015/components/label/label.component.js +3 -3
  136. package/esm2015/components/label/label.module.js +4 -4
  137. package/esm2015/components/link/link.component.js +3 -3
  138. package/esm2015/components/link/link.module.js +4 -4
  139. package/esm2015/components/loader/loader.component.js +3 -3
  140. package/esm2015/components/loader/loader.module.js +4 -4
  141. package/esm2015/components/notification/notification.component.js +6 -6
  142. package/esm2015/components/notification/notification.module.js +4 -4
  143. package/esm2015/components/primitive-calendar/primitive-calendar.component.js +3 -3
  144. package/esm2015/components/primitive-calendar/primitive-calendar.module.js +4 -4
  145. package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +3 -3
  146. package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +4 -4
  147. package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +3 -3
  148. package/esm2015/components/primitive-spin-button/primitive-spin-button.module.js +4 -4
  149. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +5 -5
  150. package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +3 -3
  151. package/esm2015/components/primitive-textfield/primitive-textfield.module.js +4 -4
  152. package/esm2015/components/primitive-textfield/textfield/textfield.component.js +3 -3
  153. package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +3 -3
  154. package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +3 -3
  155. package/esm2015/components/primitive-year-picker/primitive-year-picker.module.js +4 -4
  156. package/esm2015/components/root/root.component.js +3 -3
  157. package/esm2015/components/root/root.module.js +4 -4
  158. package/esm2015/components/scroll-controls/scroll-controls.component.js +3 -3
  159. package/esm2015/components/scroll-controls/scroll-controls.module.js +4 -4
  160. package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +3 -3
  161. package/esm2015/components/scroll-controls/scrollbar.directive.js +3 -3
  162. package/esm2015/components/scrollbar/scroll-ref.directive.js +3 -3
  163. package/esm2015/components/scrollbar/scrollable.directive.js +3 -3
  164. package/esm2015/components/scrollbar/scrollbar.component.js +3 -3
  165. package/esm2015/components/scrollbar/scrollbar.module.js +4 -4
  166. package/esm2015/components/svg/deprecated-icons.js +59 -0
  167. package/esm2015/components/svg/index.js +3 -1
  168. package/esm2015/components/svg/svg-options.js +29 -0
  169. package/esm2015/components/svg/svg.component.js +14 -19
  170. package/esm2015/components/svg/svg.module.js +4 -4
  171. package/esm2015/components/theme-night/theme-night.component.js +3 -3
  172. package/esm2015/components/theme-night/theme-night.module.js +4 -4
  173. package/esm2015/components/tooltip/tooltip.component.js +15 -15
  174. package/esm2015/components/tooltip/tooltip.module.js +23 -6
  175. package/esm2015/directives/dropdown/dropdown-context.directive.js +3 -3
  176. package/esm2015/directives/dropdown/dropdown-driver.directive.js +3 -3
  177. package/esm2015/directives/dropdown/dropdown-host.directive.js +3 -3
  178. package/esm2015/directives/dropdown/dropdown-hover-options.directive.js +14 -0
  179. package/esm2015/directives/dropdown/dropdown-hover.directive.js +12 -7
  180. package/esm2015/directives/dropdown/dropdown-manual.directive.js +3 -3
  181. package/esm2015/directives/dropdown/dropdown-options.directive.js +3 -3
  182. package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +14 -14
  183. package/esm2015/directives/dropdown/dropdown-position.directive.js +13 -13
  184. package/esm2015/directives/dropdown/dropdown-selection.directive.js +3 -3
  185. package/esm2015/directives/dropdown/dropdown.component.js +3 -3
  186. package/esm2015/directives/dropdown/dropdown.directive.js +3 -3
  187. package/esm2015/directives/dropdown/dropdown.module.js +4 -4
  188. package/esm2015/directives/dropdown/index.js +2 -1
  189. package/esm2015/directives/hint/hint-describe.directive.js +3 -3
  190. package/esm2015/directives/hint/hint-driver.directive.js +3 -3
  191. package/esm2015/directives/hint/hint-host.directive.js +3 -3
  192. package/esm2015/directives/hint/hint-hover.directive.js +14 -11
  193. package/esm2015/directives/hint/hint-manual.directive.js +3 -3
  194. package/esm2015/directives/hint/hint-options.directive.js +5 -5
  195. package/esm2015/directives/hint/hint-pointer.directive.js +3 -3
  196. package/esm2015/directives/hint/hint-position.directive.js +14 -13
  197. package/esm2015/directives/hint/hint.component.js +6 -5
  198. package/esm2015/directives/hint/hint.directive.js +3 -3
  199. package/esm2015/directives/hint/hint.module.js +4 -4
  200. package/esm2015/directives/mask-accessor/mask-accessor.directive.js +3 -3
  201. package/esm2015/directives/mask-accessor/mask-accessor.module.js +4 -4
  202. package/esm2015/directives/mode/mode.directive.js +3 -3
  203. package/esm2015/directives/mode/mode.module.js +4 -4
  204. package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +3 -3
  205. package/esm2015/directives/scroll-into-view/scroll-into-view.module.js +4 -4
  206. package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +3 -3
  207. package/esm2015/directives/textfield-controller/textfield-controller.module.js +4 -4
  208. package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +3 -3
  209. package/esm2015/directives/textfield-controller/textfield-filler.directive.js +3 -3
  210. package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +3 -3
  211. package/esm2015/directives/textfield-controller/textfield-icon.directive.js +3 -3
  212. package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +3 -3
  213. package/esm2015/directives/textfield-controller/textfield-postfix.directive.js +3 -3
  214. package/esm2015/directives/textfield-controller/textfield-prefix.directive.js +3 -3
  215. package/esm2015/directives/textfield-controller/textfield-size.directive.js +3 -3
  216. package/esm2015/directives/wrapper/wrapper.directive.js +3 -3
  217. package/esm2015/directives/wrapper/wrapper.module.js +4 -4
  218. package/esm2015/interfaces/dialog-options.js +1 -1
  219. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +3 -3
  220. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +4 -4
  221. package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +3 -3
  222. package/esm2015/internal/svg-defs-host/svg-defs-host.module.js +4 -4
  223. package/esm2015/pipes/calendar-sheet/calendar-sheet.module.js +4 -4
  224. package/esm2015/pipes/calendar-sheet/calendar-sheet.pipe.js +3 -3
  225. package/esm2015/pipes/format-date/format-date.module.js +4 -4
  226. package/esm2015/pipes/format-date/format-date.pipe.js +3 -3
  227. package/esm2015/pipes/format-number/format-number.module.js +4 -4
  228. package/esm2015/pipes/format-number/format-number.pipe.js +3 -3
  229. package/esm2015/pipes/format-phone/format-phone.module.js +4 -4
  230. package/esm2015/pipes/format-phone/format-phone.pipe.js +3 -3
  231. package/esm2015/pipes/month/month.module.js +4 -4
  232. package/esm2015/pipes/month/month.pipe.js +3 -3
  233. package/esm2015/pipes/order-week-days/order-week-days.module.js +4 -4
  234. package/esm2015/pipes/order-week-days/order-week-days.pipe.js +3 -3
  235. package/esm2015/services/format-date.service.js +3 -3
  236. package/esm2015/services/hint.service.js +3 -3
  237. package/esm2015/services/night-theme.service.js +3 -3
  238. package/esm2015/services/position.service.js +3 -3
  239. package/esm2015/services/router-link-active.service.js +3 -3
  240. package/esm2015/services/svg.service.js +3 -3
  241. package/esm2015/tokens/icon-place.js +5 -2
  242. package/esm2015/tokens/icons-path.js +4 -1
  243. package/esm2015/tokens/index.js +2 -1
  244. package/esm2015/tokens/svg-content-processor.js +4 -1
  245. package/esm2015/tokens/svg-src-processor.js +4 -1
  246. package/esm2015/tokens/viewport.js +26 -0
  247. package/fesm2015/taiga-ui-core-abstract.js +7 -6
  248. package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
  249. package/fesm2015/taiga-ui-core-components-alert.js +10 -10
  250. package/fesm2015/taiga-ui-core-components-button.js +7 -7
  251. package/fesm2015/taiga-ui-core-components-calendar.js +7 -7
  252. package/fesm2015/taiga-ui-core-components-data-list.js +16 -16
  253. package/fesm2015/taiga-ui-core-components-dialog.js +96 -80
  254. package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
  255. package/fesm2015/taiga-ui-core-components-error.js +7 -7
  256. package/fesm2015/taiga-ui-core-components-expand.js +10 -10
  257. package/fesm2015/taiga-ui-core-components-group.js +10 -10
  258. package/fesm2015/taiga-ui-core-components-hints-host.js +7 -7
  259. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +10 -10
  260. package/fesm2015/taiga-ui-core-components-label.js +7 -7
  261. package/fesm2015/taiga-ui-core-components-link.js +7 -7
  262. package/fesm2015/taiga-ui-core-components-loader.js +7 -7
  263. package/fesm2015/taiga-ui-core-components-notification.js +9 -9
  264. package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
  265. package/fesm2015/taiga-ui-core-components-primitive-calendar.js +7 -7
  266. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +7 -7
  267. package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +7 -7
  268. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +17 -17
  269. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  270. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +7 -7
  271. package/fesm2015/taiga-ui-core-components-root.js +7 -7
  272. package/fesm2015/taiga-ui-core-components-scroll-controls.js +13 -13
  273. package/fesm2015/taiga-ui-core-components-scrollbar.js +13 -13
  274. package/fesm2015/taiga-ui-core-components-svg.js +103 -26
  275. package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
  276. package/fesm2015/taiga-ui-core-components-theme-night.js +7 -7
  277. package/fesm2015/taiga-ui-core-components-tooltip.js +36 -19
  278. package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
  279. package/fesm2015/taiga-ui-core-directives-dropdown.js +76 -59
  280. package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
  281. package/fesm2015/taiga-ui-core-directives-hint.js +61 -58
  282. package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
  283. package/fesm2015/taiga-ui-core-directives-mask-accessor.js +7 -7
  284. package/fesm2015/taiga-ui-core-directives-mode.js +7 -7
  285. package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +7 -7
  286. package/fesm2015/taiga-ui-core-directives-textfield-controller.js +31 -31
  287. package/fesm2015/taiga-ui-core-directives-wrapper.js +7 -7
  288. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +7 -7
  289. package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +7 -7
  290. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +7 -7
  291. package/fesm2015/taiga-ui-core-pipes-format-date.js +7 -7
  292. package/fesm2015/taiga-ui-core-pipes-format-number.js +7 -7
  293. package/fesm2015/taiga-ui-core-pipes-format-phone.js +7 -7
  294. package/fesm2015/taiga-ui-core-pipes-month.js +7 -7
  295. package/fesm2015/taiga-ui-core-pipes-order-week-days.js +7 -7
  296. package/fesm2015/taiga-ui-core-services.js +18 -18
  297. package/fesm2015/taiga-ui-core-tokens.js +38 -2
  298. package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
  299. package/interfaces/dialog-options.d.ts +4 -3
  300. package/package.json +4 -4
  301. package/styles/mixins/textfield.less +4 -22
  302. package/styles/mixins/textfield.scss +3 -22
  303. package/styles/theme/wrapper/icon.less +17 -27
  304. package/tokens/icon-place.d.ts +3 -0
  305. package/tokens/icons-path.d.ts +3 -0
  306. package/tokens/index.d.ts +1 -0
  307. package/tokens/svg-content-processor.d.ts +3 -0
  308. package/tokens/svg-src-processor.d.ts +3 -0
  309. package/tokens/viewport.d.ts +4 -0
  310. package/components/dialog/dialog.providers.d.ts +0 -5
  311. package/esm2015/components/dialog/dialog.providers.js +0 -51
@@ -0,0 +1,14 @@
1
+ import { InjectionToken, ValueProvider } from '@angular/core';
2
+ import { SafeHtml } from '@angular/platform-browser';
3
+ import { TuiHandler, TuiStringHandler } from '@taiga-ui/cdk';
4
+ export interface TuiSvgOptions {
5
+ readonly path: TuiStringHandler<string>;
6
+ readonly deprecated: TuiStringHandler<string>;
7
+ readonly srcProcessor: TuiHandler<SafeHtml | string, SafeHtml | string>;
8
+ readonly contentProcessor: TuiHandler<SafeHtml | string, SafeHtml | string>;
9
+ }
10
+ export declare const TUI_SVG_DEFAULT_OPTIONS: TuiSvgOptions;
11
+ export declare const TUI_SVG_OPTIONS: InjectionToken<TuiSvgOptions>;
12
+ export declare const tuiSvgOptionsProvider: (options: Partial<Omit<TuiSvgOptions, 'path'>> & {
13
+ path?: TuiSvgOptions['path'] | string;
14
+ }) => ValueProvider;
@@ -1,25 +1,23 @@
1
1
  import { ElementRef, Sanitizer } from '@angular/core';
2
2
  import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
- import { TuiInjectionTokenType, TuiStaticRequestService, TuiStringHandler } from '@taiga-ui/cdk';
3
+ import { TuiStaticRequestService } from '@taiga-ui/cdk';
4
4
  import { TuiSvgService } from '@taiga-ui/core/services';
5
- import { TUI_SVG_CONTENT_PROCESSOR, TUI_SVG_SRC_PROCESSOR } from '@taiga-ui/core/tokens';
6
5
  import { Observable } from 'rxjs';
6
+ import { TuiSvgOptions } from './svg-options';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class TuiSvgComponent {
9
9
  private readonly documentRef;
10
10
  private readonly windowRef;
11
- private readonly iconsPath;
11
+ private readonly options;
12
12
  private readonly tuiSanitizer;
13
13
  private readonly svgService;
14
14
  private readonly staticRequestService;
15
15
  private readonly sanitizer;
16
16
  private readonly elementRef;
17
- private readonly srcProcessor;
18
- private readonly contentProcessor;
19
17
  private readonly src$;
20
18
  private icon;
21
19
  readonly innerHTML$: Observable<SafeHtml>;
22
- constructor(documentRef: Document, windowRef: Window, iconsPath: TuiStringHandler<string>, tuiSanitizer: Sanitizer | null, svgService: TuiSvgService, staticRequestService: TuiStaticRequestService, sanitizer: DomSanitizer, elementRef: ElementRef<Element>, srcProcessor: TuiInjectionTokenType<typeof TUI_SVG_SRC_PROCESSOR>, contentProcessor: TuiInjectionTokenType<typeof TUI_SVG_CONTENT_PROCESSOR>);
20
+ constructor(documentRef: Document, windowRef: Window, options: TuiSvgOptions, tuiSanitizer: Sanitizer | null, svgService: TuiSvgService, staticRequestService: TuiStaticRequestService, sanitizer: DomSanitizer, elementRef: ElementRef<Element>);
23
21
  set src(src: SafeHtml | string);
24
22
  get src(): SafeHtml | string;
25
23
  get use(): string;
@@ -37,6 +35,6 @@ export declare class TuiSvgComponent {
37
35
  private process;
38
36
  private sanitize;
39
37
  private getExternalIcon;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSvgComponent, [null, null, null, { optional: true; }, null, null, null, null, null, null]>;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiSvgComponent, [null, null, null, { optional: true; }, null, null, null, null]>;
41
39
  static ɵcmp: i0.ɵɵComponentDeclaration<TuiSvgComponent, "tui-svg", never, { "src": "src"; }, {}, never, never>;
42
40
  }
@@ -1,11 +1,11 @@
1
- import { TuiHintOptions, TuiHintOptionsDirective } from '@taiga-ui/core/directives';
1
+ import { TuiHintHoverDirective, TuiHintOptions, TuiHintOptionsDirective } from '@taiga-ui/core/directives';
2
2
  import { TuiBrightness } from '@taiga-ui/core/types';
3
3
  import { Observable } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class TuiTooltipComponent extends TuiHintOptionsDirective {
6
6
  private readonly isMobile;
7
7
  private mode;
8
- readonly driver$: Observable<boolean>;
8
+ readonly driver$?: TuiHintHoverDirective;
9
9
  describeId: string;
10
10
  constructor(destroy$: Observable<unknown>, mode$: Observable<TuiBrightness | null>, options: TuiHintOptions, isMobile: boolean);
11
11
  get computedAppearance(): string;
@@ -1,11 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./tooltip.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/core/components/svg";
5
- import * as i4 from "@taiga-ui/core/directives/hint";
6
- import * as i5 from "@tinkoff/ng-polymorpheus";
4
+ import * as i3 from "@taiga-ui/core/directives/wrapper";
5
+ import * as i4 from "@taiga-ui/core/components/svg";
6
+ import * as i5 from "@taiga-ui/core/directives/hint";
7
+ import * as i6 from "@tinkoff/ng-polymorpheus";
7
8
  export declare class TuiTooltipModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTooltipModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiTooltipModule, [typeof i1.TuiTooltipComponent], [typeof i2.CommonModule, typeof i3.TuiSvgModule, typeof i4.TuiHintModule, typeof i5.PolymorpheusModule], [typeof i1.TuiTooltipComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiTooltipModule, [typeof i1.TuiTooltipComponent], [typeof i2.CommonModule, typeof i3.TuiWrapperModule, typeof i4.TuiSvgModule, typeof i5.TuiHintModule, typeof i6.PolymorpheusModule], [typeof i1.TuiTooltipComponent]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiTooltipModule>;
11
12
  }
@@ -0,0 +1,9 @@
1
+ import { InjectionToken, ValueProvider } from '@angular/core';
2
+ export interface TuiDropdownHoverOptions {
3
+ readonly showDelay: number;
4
+ readonly hideDelay: number;
5
+ }
6
+ /** Default values for hint options */
7
+ export declare const TUI_DROPDOWN_HOVER_DEFAULT_OPTIONS: TuiDropdownHoverOptions;
8
+ export declare const TUI_DROPDOWN_HOVER_OPTIONS: InjectionToken<TuiDropdownHoverOptions>;
9
+ export declare const tuiDropdownHoverOptionsProvider: (options: Partial<TuiDropdownHoverOptions>) => ValueProvider;
@@ -1,14 +1,16 @@
1
1
  import { TuiDriver } from '@taiga-ui/core/abstract';
2
2
  import { Observable } from 'rxjs';
3
+ import { TuiDropdownHoverOptions } from './dropdown-hover-options.directive';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class TuiDropdownHoverDirective extends TuiDriver {
5
6
  private readonly hovered$;
7
+ private readonly options;
6
8
  private readonly toggle$;
7
9
  private readonly stream$;
8
10
  showDelay: number;
9
11
  hideDelay: number;
10
12
  hovered: boolean;
11
- constructor(hovered$: Observable<boolean>);
13
+ constructor(hovered$: Observable<boolean>, options: TuiDropdownHoverOptions);
12
14
  toggle(visible: boolean): void;
13
15
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownHoverDirective, never>;
14
16
  static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownHoverDirective, "[tuiDropdownHover]:not(ng-container)", never, { "showDelay": "tuiDropdownShowDelay"; "hideDelay": "tuiDropdownHideDelay"; }, {}, never>;
@@ -4,13 +4,13 @@ import { TuiDropdownOptions } from './dropdown-options.directive';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class TuiDropdownPositionSidedDirective implements TuiPositionAccessor {
6
6
  private readonly options;
7
- private readonly windowRef;
7
+ private readonly viewport;
8
8
  private readonly accessor;
9
9
  private readonly vertical;
10
10
  private previous;
11
11
  tuiDropdownSided: boolean | string;
12
12
  tuiDropdownSidedOffset: number;
13
- constructor(options: TuiDropdownOptions, windowRef: Window, accessor: TuiRectAccessor, vertical: TuiPositionAccessor);
13
+ constructor(options: TuiDropdownOptions, viewport: TuiRectAccessor, accessor: TuiRectAccessor, vertical: TuiPositionAccessor);
14
14
  getPosition(rect: ClientRect): TuiPoint;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownPositionSidedDirective, never>;
16
16
  static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownPositionSidedDirective, "[tuiDropdownSided]", never, { "tuiDropdownSided": "tuiDropdownSided"; "tuiDropdownSidedOffset": "tuiDropdownSidedOffset"; }, {}, never>;
@@ -4,10 +4,10 @@ import { TuiDropdownOptions } from './dropdown-options.directive';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class TuiDropdownPositionDirective implements TuiPositionAccessor {
6
6
  private readonly options;
7
- private readonly windowRef;
7
+ private readonly viewport;
8
8
  private readonly accessor;
9
9
  private previous?;
10
- constructor(options: TuiDropdownOptions, windowRef: Window, accessor: TuiRectAccessor);
10
+ constructor(options: TuiDropdownOptions, viewport: TuiRectAccessor, accessor: TuiRectAccessor);
11
11
  getPosition({ width, height }: ClientRect): TuiPoint;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownPositionDirective, never>;
13
13
  static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownPositionDirective, "[tuiDropdown]:not([tuiDropdownCustomPosition]):not([tuiDropdownSided])", never, {}, {}, never>;
@@ -6,6 +6,7 @@ export * from './dropdown-context.directive';
6
6
  export * from './dropdown-driver.directive';
7
7
  export * from './dropdown-host.directive';
8
8
  export * from './dropdown-hover.directive';
9
+ export * from './dropdown-hover-options.directive';
9
10
  export * from './dropdown-manual.directive';
10
11
  export * from './dropdown-options.directive';
11
12
  export * from './dropdown-position.directive';
@@ -1,3 +1,4 @@
1
+ import { ElementRef } from '@angular/core';
1
2
  import { TuiDriver } from '@taiga-ui/core/abstract';
2
3
  import { Observable } from 'rxjs';
3
4
  import { TuiHintOptions } from './hint-options.directive';
@@ -5,12 +6,13 @@ import * as i0 from "@angular/core";
5
6
  export declare class TuiHintHoverDirective extends TuiDriver {
6
7
  private readonly hovered$;
7
8
  private readonly options;
9
+ readonly elementRef: ElementRef<HTMLElement>;
8
10
  private readonly toggle$;
9
11
  private readonly stream$;
10
12
  showDelay: TuiHintOptions['showDelay'];
11
13
  hideDelay: TuiHintOptions['hideDelay'];
12
- constructor(hovered$: Observable<boolean>, options: TuiHintOptions);
14
+ constructor(hovered$: Observable<boolean>, options: TuiHintOptions, elementRef: ElementRef<HTMLElement>);
13
15
  toggle(visible: boolean): void;
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintHoverDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintHoverDirective, "[tuiHint]:not(ng-container)", never, { "showDelay": "tuiHintShowDelay"; "hideDelay": "tuiHintHideDelay"; }, {}, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintHoverDirective, "[tuiHint]:not(ng-container)", ["tuiHintHover"], { "showDelay": "tuiHintShowDelay"; "hideDelay": "tuiHintHideDelay"; }, {}, never>;
16
18
  }
@@ -4,11 +4,11 @@ import { TuiHintOptions } from './hint-options.directive';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class TuiHintPositionDirective implements TuiPositionAccessor {
6
6
  private readonly options;
7
- private readonly windowRef;
7
+ private readonly viewport;
8
8
  private readonly accessor;
9
9
  private readonly points;
10
10
  direction: TuiHintOptions['direction'];
11
- constructor(options: TuiHintOptions, windowRef: Window, accessor: TuiRectAccessor);
11
+ constructor(options: TuiHintOptions, viewport: TuiRectAccessor, accessor: TuiRectAccessor);
12
12
  getPosition({ width, height }: ClientRect): TuiPoint;
13
13
  private get fallback();
14
14
  private checkPosition;
@@ -13,9 +13,9 @@ export class AbstractTuiDriverDirective {
13
13
  });
14
14
  }
15
15
  }
16
- AbstractTuiDriverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AbstractTuiDriverDirective, deps: [{ token: TuiDestroyService, self: true }, { token: TuiDriver }, { token: TuiVehicle }], target: i0.ɵɵFactoryTarget.Directive });
17
- AbstractTuiDriverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: AbstractTuiDriverDirective, ngImport: i0 });
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AbstractTuiDriverDirective, decorators: [{
16
+ AbstractTuiDriverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AbstractTuiDriverDirective, deps: [{ token: TuiDestroyService, self: true }, { token: TuiDriver }, { token: TuiVehicle }], target: i0.ɵɵFactoryTarget.Directive });
17
+ AbstractTuiDriverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: AbstractTuiDriverDirective, ngImport: i0 });
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AbstractTuiDriverDirective, decorators: [{
19
19
  type: Directive
20
20
  }], ctorParameters: function () { return [{ type: i1.Observable, decorators: [{
21
21
  type: Self
@@ -23,9 +23,9 @@ export class AbstractTuiTextfieldHost {
23
23
  }
24
24
  process(_input) { }
25
25
  }
26
- AbstractTuiTextfieldHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AbstractTuiTextfieldHost, deps: [{ token: AbstractTuiControl }], target: i0.ɵɵFactoryTarget.Directive });
27
- AbstractTuiTextfieldHost.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: AbstractTuiTextfieldHost, ngImport: i0 });
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AbstractTuiTextfieldHost, decorators: [{
26
+ AbstractTuiTextfieldHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AbstractTuiTextfieldHost, deps: [{ token: AbstractTuiControl }], target: i0.ɵɵFactoryTarget.Directive });
27
+ AbstractTuiTextfieldHost.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: AbstractTuiTextfieldHost, ngImport: i0 });
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AbstractTuiTextfieldHost, decorators: [{
29
29
  type: Directive
30
30
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
31
31
  type: Inject,
@@ -1,3 +1,4 @@
1
+ // TODO: Rename to getBoundingClientRect to match the DOM API
1
2
  // eslint-disable-next-line @typescript-eslint/naming-convention
2
3
  export class TuiRectAccessor {
3
4
  }
@@ -7,4 +8,4 @@ export function tuiAsRectAccessor(useExisting) {
7
8
  useExisting,
8
9
  };
9
10
  }
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVjdC1hY2Nlc3Nvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvYWJzdHJhY3QvcmVjdC1hY2Nlc3Nvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxnRUFBZ0U7QUFDaEUsTUFBTSxPQUFnQixlQUFlO0NBRXBDO0FBRUQsTUFBTSxVQUFVLGlCQUFpQixDQUFDLFdBQWtDO0lBQ2hFLE9BQU87UUFDSCxPQUFPLEVBQUUsZUFBZTtRQUN4QixXQUFXO0tBQ2QsQ0FBQztBQUNOLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0V4aXN0aW5nUHJvdmlkZXIsIFR5cGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG4vLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25hbWluZy1jb252ZW50aW9uXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgVHVpUmVjdEFjY2Vzc29yIHtcbiAgICBhYnN0cmFjdCBnZXRDbGllbnRSZWN0KCk6IENsaWVudFJlY3Q7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiB0dWlBc1JlY3RBY2Nlc3Nvcih1c2VFeGlzdGluZzogVHlwZTxUdWlSZWN0QWNjZXNzb3I+KTogRXhpc3RpbmdQcm92aWRlciB7XG4gICAgcmV0dXJuIHtcbiAgICAgICAgcHJvdmlkZTogVHVpUmVjdEFjY2Vzc29yLFxuICAgICAgICB1c2VFeGlzdGluZyxcbiAgICB9O1xufVxuIl19
11
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVjdC1hY2Nlc3Nvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvYWJzdHJhY3QvcmVjdC1hY2Nlc3Nvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSw2REFBNkQ7QUFDN0QsZ0VBQWdFO0FBQ2hFLE1BQU0sT0FBZ0IsZUFBZTtDQUVwQztBQUVELE1BQU0sVUFBVSxpQkFBaUIsQ0FBQyxXQUFrQztJQUNoRSxPQUFPO1FBQ0gsT0FBTyxFQUFFLGVBQWU7UUFDeEIsV0FBVztLQUNkLENBQUM7QUFDTixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtFeGlzdGluZ1Byb3ZpZGVyLCBUeXBlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuLy8gVE9ETzogUmVuYW1lIHRvIGdldEJvdW5kaW5nQ2xpZW50UmVjdCB0byBtYXRjaCB0aGUgRE9NIEFQSVxuLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uYW1pbmctY29udmVudGlvblxuZXhwb3J0IGFic3RyYWN0IGNsYXNzIFR1aVJlY3RBY2Nlc3NvciB7XG4gICAgYWJzdHJhY3QgZ2V0Q2xpZW50UmVjdCgpOiBDbGllbnRSZWN0O1xufVxuXG5leHBvcnQgZnVuY3Rpb24gdHVpQXNSZWN0QWNjZXNzb3IodXNlRXhpc3Rpbmc6IFR5cGU8VHVpUmVjdEFjY2Vzc29yPik6IEV4aXN0aW5nUHJvdmlkZXIge1xuICAgIHJldHVybiB7XG4gICAgICAgIHByb3ZpZGU6IFR1aVJlY3RBY2Nlc3NvcixcbiAgICAgICAgdXNlRXhpc3RpbmcsXG4gICAgfTtcbn1cbiJdfQ==
@@ -50,9 +50,9 @@ export class TuiAlertComponent {
50
50
  .subscribe(() => this.closeNotification());
51
51
  }
52
52
  }
53
- TuiAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiAlertComponent, deps: [{ token: ElementRef }, { token: TuiDestroyService, self: true }, { token: TUI_NOTIFICATION_OPTIONS }, { token: TUI_ANIMATION_OPTIONS }, { token: POLYMORPHEUS_CONTEXT }], target: i0.ɵɵFactoryTarget.Component });
54
- TuiAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiAlertComponent, selector: "tui-alert", host: { attributes: { "role": "alert" }, properties: { "@tuiFadeIn": "this.animation", "@tuiSlideInRight": "this.animation", "@tuiHeightCollapse": "this.animation" } }, providers: [TuiDestroyService], ngImport: i0, template: "<tui-notification\n *ngIf=\"item.hasCloseButton; else noClose\"\n [status]=\"item.status\"\n [hasIcon]=\"item.hasIcon\"\n (close)=\"closeNotification()\"\n>\n <label\n *ngIf=\"item.label\"\n automation-id=\"tui-notification-alert__heading\"\n class=\"t-heading\"\n >\n <!-- TODO: Polymorpheus fix type -->\n <ng-container *polymorpheusOutlet=\"$any(item.label) as text; context: item\">\n {{ text }}\n </ng-container>\n </label>\n <div\n automation-id=\"tui-notification-alert__content\"\n class=\"t-content\"\n >\n <!-- TODO: Polymorpheus fix type -->\n <ng-container *polymorpheusOutlet=\"item.content as text; context: $any(item)\">\n {{ text }}\n </ng-container>\n </div>\n</tui-notification>\n<ng-template #noClose>\n <tui-notification\n [status]=\"item.status\"\n [hasIcon]=\"item.hasIcon\"\n >\n <label\n *ngIf=\"item.label\"\n automation-id=\"tui-notification-alert__heading\"\n class=\"t-heading\"\n >\n <!-- TODO: Polymorpheus fix type -->\n <ng-container *polymorpheusOutlet=\"$any(item.label) as text; context: item\">\n {{ text }}\n </ng-container>\n </label>\n <div\n automation-id=\"tui-notification-alert__content\"\n class=\"t-content\"\n >\n <!-- TODO: Polymorpheus fix type -->\n <ng-container *polymorpheusOutlet=\"item.content as text; context: $any(item)\">\n {{ text }}\n </ng-container>\n </div>\n </tui-notification>\n</ng-template>\n", styles: [":host{box-shadow:0 1.5rem 1rem rgba(0,0,0,.03),0 .75rem .75rem rgba(0,0,0,.04),0 .25rem .375rem rgba(0,0,0,.05);display:block;border-radius:var(--tui-radius-m);width:18rem;margin:2rem 3rem 0 auto}:host-context(tui-root._mobile) :host{margin:1rem 1rem 0 auto}:host:not(:first-child){margin-top:.75rem}.t-heading{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:bold;margin:0}.t-content{color:var(--tui-text-01);word-wrap:break-word}.t-content:empty{display:none}\n"], components: [{ type: i1.TuiNotificationComponent, selector: "tui-notification", inputs: ["hasIcon", "status"], outputs: ["close"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [tuiFadeIn, tuiSlideInRight, tuiHeightCollapse], changeDetection: i0.ChangeDetectionStrategy.OnPush });
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiAlertComponent, decorators: [{
53
+ TuiAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertComponent, deps: [{ token: ElementRef }, { token: TuiDestroyService, self: true }, { token: TUI_NOTIFICATION_OPTIONS }, { token: TUI_ANIMATION_OPTIONS }, { token: POLYMORPHEUS_CONTEXT }], target: i0.ɵɵFactoryTarget.Component });
54
+ TuiAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAlertComponent, selector: "tui-alert", host: { attributes: { "role": "alert" }, properties: { "@tuiFadeIn": "this.animation", "@tuiSlideInRight": "this.animation", "@tuiHeightCollapse": "this.animation" } }, providers: [TuiDestroyService], ngImport: i0, template: "<tui-notification\n *ngIf=\"item.hasCloseButton; else noClose\"\n [status]=\"item.status\"\n [hasIcon]=\"item.hasIcon\"\n (close)=\"closeNotification()\"\n>\n <label\n *ngIf=\"item.label\"\n automation-id=\"tui-notification-alert__heading\"\n class=\"t-heading\"\n >\n <!-- TODO: Polymorpheus fix type -->\n <ng-container *polymorpheusOutlet=\"$any(item.label) as text; context: item\">\n {{ text }}\n </ng-container>\n </label>\n <div\n automation-id=\"tui-notification-alert__content\"\n class=\"t-content\"\n >\n <!-- TODO: Polymorpheus fix type -->\n <ng-container *polymorpheusOutlet=\"item.content as text; context: $any(item)\">\n {{ text }}\n </ng-container>\n </div>\n</tui-notification>\n<ng-template #noClose>\n <tui-notification\n [status]=\"item.status\"\n [hasIcon]=\"item.hasIcon\"\n >\n <label\n *ngIf=\"item.label\"\n automation-id=\"tui-notification-alert__heading\"\n class=\"t-heading\"\n >\n <!-- TODO: Polymorpheus fix type -->\n <ng-container *polymorpheusOutlet=\"$any(item.label) as text; context: item\">\n {{ text }}\n </ng-container>\n </label>\n <div\n automation-id=\"tui-notification-alert__content\"\n class=\"t-content\"\n >\n <!-- TODO: Polymorpheus fix type -->\n <ng-container *polymorpheusOutlet=\"item.content as text; context: $any(item)\">\n {{ text }}\n </ng-container>\n </div>\n </tui-notification>\n</ng-template>\n", styles: [":host{box-shadow:0 1.5rem 1rem rgba(0,0,0,.03),0 .75rem .75rem rgba(0,0,0,.04),0 .25rem .375rem rgba(0,0,0,.05);display:block;border-radius:var(--tui-radius-m);width:18rem;margin:2rem 3rem 0 auto}:host-context(tui-root._mobile) :host{margin:1rem 1rem 0 auto}:host:not(:first-child){margin-top:.75rem}.t-heading{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:bold;margin:0}.t-content{color:var(--tui-text-01);word-wrap:break-word}.t-content:empty{display:none}\n"], components: [{ type: i1.TuiNotificationComponent, selector: "tui-notification", inputs: ["hasIcon", "status"], outputs: ["close"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [tuiFadeIn, tuiSlideInRight, tuiHeightCollapse], changeDetection: i0.ChangeDetectionStrategy.OnPush });
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertComponent, decorators: [{
56
56
  type: Component,
57
57
  args: [{
58
58
  selector: 'tui-alert',
@@ -8,10 +8,10 @@ import { TuiAlertService } from './alert.service';
8
8
  import * as i0 from "@angular/core";
9
9
  export class TuiAlertModule {
10
10
  }
11
- TuiAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
- TuiAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiAlertModule, declarations: [TuiAlertComponent], imports: [CommonModule, PolymorpheusModule, TuiNotificationModule], exports: [TuiAlertComponent] });
13
- TuiAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiAlertModule, providers: [tuiAsAlerts(TuiAlertService)], imports: [[CommonModule, PolymorpheusModule, TuiNotificationModule]] });
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiAlertModule, decorators: [{
11
+ TuiAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
+ TuiAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertModule, declarations: [TuiAlertComponent], imports: [CommonModule, PolymorpheusModule, TuiNotificationModule], exports: [TuiAlertComponent] });
13
+ TuiAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertModule, providers: [tuiAsAlerts(TuiAlertService)], imports: [[CommonModule, PolymorpheusModule, TuiNotificationModule]] });
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertModule, decorators: [{
15
15
  type: NgModule,
16
16
  args: [{
17
17
  imports: [CommonModule, PolymorpheusModule, TuiNotificationModule],
@@ -12,9 +12,9 @@ export class TuiAlertService extends AbstractTuiDialogService {
12
12
  this.component = new PolymorpheusComponent(TuiAlertComponent);
13
13
  }
14
14
  }
15
- TuiAlertService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiAlertService, deps: [{ token: TUI_NOTIFICATION_OPTIONS }, { token: TuiIdService }], target: i0.ɵɵFactoryTarget.Injectable });
16
- TuiAlertService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiAlertService, providedIn: `root` });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiAlertService, decorators: [{
15
+ TuiAlertService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertService, deps: [{ token: TUI_NOTIFICATION_OPTIONS }, { token: TuiIdService }], target: i0.ɵɵFactoryTarget.Injectable });
16
+ TuiAlertService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertService, providedIn: `root` });
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAlertService, decorators: [{
18
18
  type: Injectable,
19
19
  args: [{ providedIn: `root` }]
20
20
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -56,8 +56,8 @@ export class TuiButtonComponent extends AbstractTuiInteractive {
56
56
  this.updateFocused(focused);
57
57
  }
58
58
  }
59
- TuiButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiButtonComponent, deps: [{ token: TuiModeDirective, optional: true }, { token: ElementRef }, { token: TuiFocusVisibleService }, { token: TUI_BUTTON_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
60
- TuiButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: { appearance: "appearance", disabled: "disabled", icon: "icon", iconRight: "iconRight", shape: "shape", showLoader: "showLoader", size: "size" }, host: { listeners: { "focusin": "onFocused(true)", "focusout": "onFocused(false)" }, properties: { "attr.data-shape": "this.shape", "class._loading": "this.showLoader", "attr.data-size": "this.size", "attr.data-appearance": "this.computedAppearance", "attr.disabled": "this.nativeDisabled", "tabIndex": "this.tabIndex" } }, providers: [
59
+ TuiButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonComponent, deps: [{ token: TuiModeDirective, optional: true }, { token: ElementRef }, { token: TuiFocusVisibleService }, { token: TUI_BUTTON_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
60
+ TuiButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: { appearance: "appearance", disabled: "disabled", icon: "icon", iconRight: "iconRight", shape: "shape", showLoader: "showLoader", size: "size" }, host: { listeners: { "focusin": "onFocused(true)", "focusout": "onFocused(false)" }, properties: { "attr.data-shape": "this.shape", "class._loading": "this.showLoader", "attr.data-size": "this.size", "attr.data-appearance": "this.computedAppearance", "attr.disabled": "this.nativeDisabled", "tabIndex": "this.tabIndex" } }, providers: [
61
61
  tuiAsFocusableItemAccessor(TuiButtonComponent),
62
62
  TuiDestroyService,
63
63
  TuiFocusVisibleService,
@@ -83,7 +83,7 @@ __decorate([
83
83
  __decorate([
84
84
  tuiDefaultProp()
85
85
  ], TuiButtonComponent.prototype, "size", void 0);
86
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiButtonComponent, decorators: [{
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonComponent, decorators: [{
87
87
  type: Component,
88
88
  args: [{
89
89
  selector: 'button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]',
@@ -8,20 +8,20 @@ import { TuiButtonComponent } from './button.component';
8
8
  import * as i0 from "@angular/core";
9
9
  export class TuiButtonModule {
10
10
  }
11
- TuiButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
- TuiButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiButtonModule, declarations: [TuiButtonComponent], imports: [CommonModule,
11
+ TuiButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
+ TuiButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule, declarations: [TuiButtonComponent], imports: [CommonModule,
13
13
  PolymorpheusModule,
14
14
  TuiWrapperModule,
15
15
  TuiSvgModule,
16
16
  TuiLoaderModule], exports: [TuiButtonComponent] });
17
- TuiButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiButtonModule, imports: [[
17
+ TuiButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule, imports: [[
18
18
  CommonModule,
19
19
  PolymorpheusModule,
20
20
  TuiWrapperModule,
21
21
  TuiSvgModule,
22
22
  TuiLoaderModule,
23
23
  ]] });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiButtonModule, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonModule, decorators: [{
25
25
  type: NgModule,
26
26
  args: [{
27
27
  imports: [
@@ -77,8 +77,8 @@ export class TuiCalendarComponent {
77
77
  this.hoveredItemChange.emit(day);
78
78
  }
79
79
  }
80
- TuiCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
81
- TuiCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiCalendarComponent, selector: "tui-calendar", inputs: { month: "month", disabledItemHandler: "disabledItemHandler", min: "min", max: "max", minViewedMonth: "minViewedMonth", maxViewedMonth: "maxViewedMonth", hoveredItem: "hoveredItem", showAdjacent: "showAdjacent", markerHandler: "markerHandler", value: "value" }, outputs: { dayClick: "dayClick", monthChange: "monthChange", hoveredItemChange: "hoveredItemChange" }, ngImport: i0, template: "<tui-scrollbar\n *ngIf=\"year; else calendar\"\n automation-id=\"tui-calendar__scrollbar\"\n class=\"t-scrollbar\"\n>\n <tui-primitive-year-picker\n automation-id=\"tui-calendar__year\"\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 #calendar>\n <tui-primitive-year-month-pagination\n automation-id=\"tui-calendar__pagination\"\n class=\"t-pagination\"\n [min]=\"computedMinViewedMonth\"\n [max]=\"computedMaxViewedMonth\"\n [value]=\"month\"\n (valueChange)=\"onPaginationValueChange($event)\"\n (yearClick)=\"onPaginationYearClick($event)\"\n ></tui-primitive-year-month-pagination>\n <tui-primitive-calendar\n automation-id=\"tui-calendar__calendar\"\n [showAdjacent]=\"showAdjacent\"\n [value]=\"value\"\n [month]=\"month\"\n [disabledItemHandler]=\"disabledItemHandler | tuiMapper : disabledItemHandlerMapper : min : max\"\n [markerHandler]=\"markerHandler\"\n [hoveredItem]=\"hoveredItem\"\n (hoveredItemChange)=\"onHoveredItemChange($event)\"\n (dayClick)=\"onDayClick($event)\"\n ></tui-primitive-calendar>\n</ng-template>\n", styles: [":host{display:block;height:18.25rem;width:15.75rem;padding:1rem 1.125rem;box-sizing:content-box}.t-scrollbar{height:18.25rem;width:16.875rem}.t-pagination{margin-bottom:1rem}\n"], components: [{ type: i1.TuiScrollbarComponent, selector: "tui-scrollbar", inputs: ["hidden"] }, { type: i2.TuiPrimitiveYearPickerComponent, selector: "tui-primitive-year-picker", inputs: ["value", "initialItem", "min", "max", "disabledItemHandler"], outputs: ["yearClick"] }, { type: i3.TuiPrimitiveYearMonthPaginationComponent, selector: "tui-primitive-year-month-pagination", inputs: ["value", "min", "max"], outputs: ["valueChange", "yearClick"] }, { type: i4.TuiPrimitiveCalendarComponent, selector: "tui-primitive-calendar", inputs: ["month", "disabledItemHandler", "markerHandler", "value", "hoveredItem", "showAdjacent"], outputs: ["hoveredItemChange", "dayClick"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "tuiMapper": i6.TuiMapperPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
80
+ TuiCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
81
+ TuiCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiCalendarComponent, selector: "tui-calendar", inputs: { month: "month", disabledItemHandler: "disabledItemHandler", min: "min", max: "max", minViewedMonth: "minViewedMonth", maxViewedMonth: "maxViewedMonth", hoveredItem: "hoveredItem", showAdjacent: "showAdjacent", markerHandler: "markerHandler", value: "value" }, outputs: { dayClick: "dayClick", monthChange: "monthChange", hoveredItemChange: "hoveredItemChange" }, ngImport: i0, template: "<tui-scrollbar\n *ngIf=\"year; else calendar\"\n automation-id=\"tui-calendar__scrollbar\"\n class=\"t-scrollbar\"\n>\n <tui-primitive-year-picker\n automation-id=\"tui-calendar__year\"\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 #calendar>\n <tui-primitive-year-month-pagination\n automation-id=\"tui-calendar__pagination\"\n class=\"t-pagination\"\n [min]=\"computedMinViewedMonth\"\n [max]=\"computedMaxViewedMonth\"\n [value]=\"month\"\n (valueChange)=\"onPaginationValueChange($event)\"\n (yearClick)=\"onPaginationYearClick($event)\"\n ></tui-primitive-year-month-pagination>\n <tui-primitive-calendar\n automation-id=\"tui-calendar__calendar\"\n [showAdjacent]=\"showAdjacent\"\n [value]=\"value\"\n [month]=\"month\"\n [disabledItemHandler]=\"disabledItemHandler | tuiMapper : disabledItemHandlerMapper : min : max\"\n [markerHandler]=\"markerHandler\"\n [hoveredItem]=\"hoveredItem\"\n (hoveredItemChange)=\"onHoveredItemChange($event)\"\n (dayClick)=\"onDayClick($event)\"\n ></tui-primitive-calendar>\n</ng-template>\n", styles: [":host{display:block;height:18.25rem;width:15.75rem;padding:1rem 1.125rem;box-sizing:content-box}.t-scrollbar{height:18.25rem;width:16.875rem}.t-pagination{margin-bottom:1rem}\n"], components: [{ type: i1.TuiScrollbarComponent, selector: "tui-scrollbar", inputs: ["hidden"] }, { type: i2.TuiPrimitiveYearPickerComponent, selector: "tui-primitive-year-picker", inputs: ["value", "initialItem", "min", "max", "disabledItemHandler"], outputs: ["yearClick"] }, { type: i3.TuiPrimitiveYearMonthPaginationComponent, selector: "tui-primitive-year-month-pagination", inputs: ["value", "min", "max"], outputs: ["valueChange", "yearClick"] }, { type: i4.TuiPrimitiveCalendarComponent, selector: "tui-primitive-calendar", inputs: ["month", "disabledItemHandler", "markerHandler", "value", "hoveredItem", "showAdjacent"], outputs: ["hoveredItemChange", "dayClick"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "tuiMapper": i6.TuiMapperPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
82
82
  __decorate([
83
83
  tuiDefaultProp()
84
84
  ], TuiCalendarComponent.prototype, "month", void 0);
@@ -109,7 +109,7 @@ __decorate([
109
109
  __decorate([
110
110
  tuiDefaultProp()
111
111
  ], TuiCalendarComponent.prototype, "value", null);
112
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiCalendarComponent, decorators: [{
112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCalendarComponent, decorators: [{
113
113
  type: Component,
114
114
  args: [{
115
115
  selector: 'tui-calendar',
@@ -9,14 +9,14 @@ import { TuiCalendarComponent } from './calendar.component';
9
9
  import * as i0 from "@angular/core";
10
10
  export class TuiCalendarModule {
11
11
  }
12
- TuiCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
- TuiCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiCalendarModule, declarations: [TuiCalendarComponent], imports: [CommonModule,
12
+ TuiCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
+ TuiCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCalendarModule, declarations: [TuiCalendarComponent], imports: [CommonModule,
14
14
  TuiPrimitiveYearMonthPaginationModule,
15
15
  TuiPrimitiveCalendarModule,
16
16
  TuiPrimitiveYearPickerModule,
17
17
  TuiScrollbarModule,
18
18
  TuiMapperPipeModule], exports: [TuiCalendarComponent] });
19
- TuiCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiCalendarModule, imports: [[
19
+ TuiCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCalendarModule, imports: [[
20
20
  CommonModule,
21
21
  TuiPrimitiveYearMonthPaginationModule,
22
22
  TuiPrimitiveCalendarModule,
@@ -24,7 +24,7 @@ TuiCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
24
24
  TuiScrollbarModule,
25
25
  TuiMapperPipeModule,
26
26
  ]] });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiCalendarModule, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCalendarModule, decorators: [{
28
28
  type: NgModule,
29
29
  args: [{
30
30
  imports: [
@@ -61,8 +61,8 @@ export class TuiDataListComponent {
61
61
  return Array.from(this.elementRef.nativeElement.querySelectorAll('[tuiOption]'));
62
62
  }
63
63
  }
64
- TuiDataListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDataListComponent, deps: [{ token: TUI_TEXTFIELD_WATCHED_CONTROLLER, optional: true }, { token: ElementRef }, { token: TUI_NOTHING_FOUND_MESSAGE }], target: i0.ɵɵFactoryTarget.Component });
65
- TuiDataListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiDataListComponent, selector: "tui-data-list", inputs: { role: "role", emptyContent: "emptyContent", size: "size" }, host: { listeners: { "focusin": "onFocusIn($event.relatedTarget,$event.currentTarget)", "mousedown.prevent": "noop()", "keydown.arrowDown.prevent": "onKeyDownArrow($event.target,1)", "keydown.arrowUp.prevent": "onKeyDownArrow($event.target,-1)", "wheel.silent.passive": "handleFocusLossIfNecessary()", "mouseleave": "handleFocusLossIfNecessary($event.target)" }, properties: { "attr.role": "this.role", "attr.data-list-size": "this.size" } }, providers: [
64
+ TuiDataListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDataListComponent, deps: [{ token: TUI_TEXTFIELD_WATCHED_CONTROLLER, optional: true }, { token: ElementRef }, { token: TUI_NOTHING_FOUND_MESSAGE }], target: i0.ɵɵFactoryTarget.Component });
65
+ TuiDataListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiDataListComponent, selector: "tui-data-list", inputs: { role: "role", emptyContent: "emptyContent", size: "size" }, host: { listeners: { "focusin": "onFocusIn($event.relatedTarget,$event.currentTarget)", "mousedown.prevent": "noop()", "keydown.arrowDown.prevent": "onKeyDownArrow($event.target,1)", "keydown.arrowUp.prevent": "onKeyDownArrow($event.target,-1)", "wheel.silent.passive": "handleFocusLossIfNecessary()", "mouseleave": "handleFocusLossIfNecessary($event.target)" }, properties: { "attr.role": "this.role", "attr.data-list-size": "this.size" } }, providers: [
66
66
  tuiAsDataListAccessor(TuiDataListComponent),
67
67
  TEXTFIELD_CONTROLLER_PROVIDER,
68
68
  ], queries: [{ propertyName: "options", predicate: i0.forwardRef(function () { return TuiOptionComponent; }), descendants: true }], ngImport: i0, template: "<div\n tabindex=\"0\"\n class=\"t-trap\"\n (focusin)=\"onFocus($event, true)\"\n></div>\n<ng-content></ng-content>\n<div\n *ngIf=\"empty$ | async\"\n class=\"t-empty\"\n>\n <ng-container *polymorpheusOutlet=\"emptyContent || (defaultEmptyContent$ | async) as text\">\n {{ text }}\n </ng-container>\n</div>\n<div\n tabindex=\"0\"\n class=\"t-trap\"\n (focusin)=\"onFocus($event, false)\"\n></div>\n", styles: ["tui-data-list{--tui-data-list-padding: .25rem;--tui-data-list-margin: .0625rem;display:flex;font:var(--tui-font-text-m);flex-direction:column;padding:calc(var(--tui-data-list-padding) - var(--tui-data-list-margin)) var(--tui-data-list-padding);color:var(--tui-text-03)}tui-data-list:focus-within .t-trap{display:none}tui-data-list:focus-within [tuiOption]._with-dropdown:not(:focus){background-color:transparent}tui-data-list[data-list-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-list-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list>.t-empty{margin:.75rem 1rem}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);color:var(--tui-text-02);flex-direction:column;line-height:1rem}tui-data-list[data-list-size=l] tui-opt-group{font:var(--tui-font-text-s);line-height:1.25rem}tui-data-list[data-list-size=l] tui-opt-group:before{padding-left:.625rem;padding-right:.625rem}tui-data-list[data-list-size=l] tui-opt-group:after{left:.625rem;right:.625rem}tui-opt-group:empty:before,tui-opt-group:empty:after{display:none}tui-opt-group:before{content:attr(data-label);padding:var(--tui-data-list-padding) .5rem var(--tui-data-list-padding);margin:var(--tui-data-list-margin) 0;white-space:normal;word-break:break-word}tui-opt-group:after{position:absolute;left:.5rem;right:.5rem;top:var(--tui-data-list-padding);height:1px;background:var(--tui-base-03)}tui-opt-group:not(:empty)~tui-opt-group:before{padding-top:calc(.75rem + var(--tui-data-list-padding))}tui-opt-group:not(:empty)~tui-opt-group[data-label=\"\"]:before{padding:var(--tui-data-list-padding) 0}tui-opt-group:not(:empty)~tui-opt-group:after{content:\"\"}tui-opt-group[data-label=\"\"]:before{padding:0 .5rem}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], pipes: { "async": i1.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
@@ -78,7 +78,7 @@ __decorate([
78
78
  __decorate([
79
79
  tuiPure
80
80
  ], TuiDataListComponent.prototype, "empty$", null);
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDataListComponent, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDataListComponent, decorators: [{
82
82
  type: Component,
83
83
  args: [{
84
84
  selector: 'tui-data-list',
@@ -2,9 +2,9 @@ import { Directive } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export class TuiDataListDirective {
4
4
  }
5
- TuiDataListDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDataListDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
6
- TuiDataListDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDataListDirective, selector: "ng-template[tuiDataList]", ngImport: i0 });
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDataListDirective, decorators: [{
5
+ TuiDataListDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDataListDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
6
+ TuiDataListDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiDataListDirective, selector: "ng-template[tuiDataList]", ngImport: i0 });
7
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDataListDirective, decorators: [{
8
8
  type: Directive,
9
9
  args: [{
10
10
  selector: 'ng-template[tuiDataList]',
@@ -9,16 +9,16 @@ import { TuiOptionComponent } from './option/option.component';
9
9
  import * as i0 from "@angular/core";
10
10
  export class TuiDataListModule {
11
11
  }
12
- TuiDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
- TuiDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDataListModule, declarations: [TuiDataListComponent,
12
+ TuiDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
+ TuiDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDataListModule, declarations: [TuiDataListComponent,
14
14
  TuiOptionComponent,
15
15
  TuiOptGroupDirective,
16
16
  TuiDataListDirective], imports: [CommonModule, TuiSvgModule, PolymorpheusModule], exports: [TuiDataListComponent,
17
17
  TuiOptionComponent,
18
18
  TuiOptGroupDirective,
19
19
  TuiDataListDirective] });
20
- TuiDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDataListModule, imports: [[CommonModule, TuiSvgModule, PolymorpheusModule]] });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDataListModule, decorators: [{
20
+ TuiDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDataListModule, imports: [[CommonModule, TuiSvgModule, PolymorpheusModule]] });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDataListModule, decorators: [{
22
22
  type: NgModule,
23
23
  args: [{
24
24
  imports: [CommonModule, TuiSvgModule, PolymorpheusModule],
@@ -7,12 +7,12 @@ export class TuiOptGroupDirective {
7
7
  this.label = '';
8
8
  }
9
9
  }
10
- TuiOptGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiOptGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
11
- TuiOptGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiOptGroupDirective, selector: "tui-opt-group", inputs: { label: "label" }, host: { attributes: { "role": "group" }, properties: { "attr.data-label": "this.label" } }, ngImport: i0 });
10
+ TuiOptGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiOptGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
11
+ TuiOptGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiOptGroupDirective, selector: "tui-opt-group", inputs: { label: "label" }, host: { attributes: { "role": "group" }, properties: { "attr.data-label": "this.label" } }, ngImport: i0 });
12
12
  __decorate([
13
13
  tuiDefaultProp()
14
14
  ], TuiOptGroupDirective.prototype, "label", void 0);
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiOptGroupDirective, decorators: [{
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiOptGroupDirective, decorators: [{
16
16
  type: Directive,
17
17
  args: [{
18
18
  selector: 'tui-opt-group',
@@ -46,8 +46,8 @@ export class TuiOptionComponent {
46
46
  this.dataList.handleFocusLossIfNecessary(this.elementRef.nativeElement);
47
47
  }
48
48
  }
49
- TuiOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiOptionComponent, deps: [{ token: TUI_OPTION_CONTENT, optional: true }, { token: forwardRef(() => TuiDataListComponent) }, { token: ElementRef }, { token: TUI_DATA_LIST_HOST, optional: true }, { token: TuiDropdownDirective, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
50
- TuiOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiOptionComponent, selector: "button[tuiOption], a[tuiOption]", inputs: { size: "size", role: "role", disabled: "disabled", value: "value" }, host: { attributes: { "tabIndex": "-1", "type": "button" }, listeners: { "click": "onClick()", "mousemove.silent": "onMouseMove($event)" }, properties: { "attr.disabled": "disabled || null", "attr.data-size": "this.size", "attr.role": "this.role", "class._with-dropdown": "this.active" } }, ngImport: i0, template: "<ng-container *polymorpheusOutlet=\"content || base as text; context: {$implicit: base}\">\n {{ text }}\n</ng-container>\n<ng-template #base>\n <ng-content></ng-content>\n <tui-svg\n *ngIf=\"dropdown\"\n src=\"tuiIconChevronRight\"\n class=\"t-arrow\"\n ></tui-svg>\n</ng-template>\n", styles: [":host{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;justify-content:space-between;text-align:left;box-sizing:border-box;color:var(--tui-text-01);border-radius:var(--tui-radius-s);outline:none;text-decoration:none;cursor:pointer;background-clip:padding-box;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem;margin:.125rem 0}:host:disabled{opacity:var(--tui-disabled-opacity);cursor:default}:host:focus,:host._with-dropdown{background-color:var(--tui-clear)}:host :host-context([data-list-size=\"s\"]),:host :host-context([data-list-size=\"xs\"]),:host[data-size=s][data-size=s],:host[data-size=xs][data-size=xs]{font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem;margin:var(--tui-data-list-margin) 0}:host :host-context([data-list-size=\"m\"]),:host[data-size=m][data-size=m]{font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem;margin:var(--tui-data-list-margin) 0}:host :host-context([data-list-size=\"l\"]),:host[data-size=l][data-size=l]{font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem;margin:var(--tui-data-list-margin) 0}.t-arrow{margin:0 -.5rem 0 .75rem}\n"], components: [{ type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], directives: [{ type: i2.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
49
+ TuiOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiOptionComponent, deps: [{ token: TUI_OPTION_CONTENT, optional: true }, { token: forwardRef(() => TuiDataListComponent) }, { token: ElementRef }, { token: TUI_DATA_LIST_HOST, optional: true }, { token: TuiDropdownDirective, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
50
+ TuiOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiOptionComponent, selector: "button[tuiOption], a[tuiOption]", inputs: { size: "size", role: "role", disabled: "disabled", value: "value" }, host: { attributes: { "tabIndex": "-1", "type": "button" }, listeners: { "click": "onClick()", "mousemove.silent": "onMouseMove($event)" }, properties: { "attr.disabled": "disabled || null", "attr.data-size": "this.size", "attr.role": "this.role", "class._with-dropdown": "this.active" } }, ngImport: i0, template: "<ng-container *polymorpheusOutlet=\"content || base as text; context: {$implicit: base}\">\n {{ text }}\n</ng-container>\n<ng-template #base>\n <ng-content></ng-content>\n <tui-svg\n *ngIf=\"dropdown\"\n src=\"tuiIconChevronRight\"\n class=\"t-arrow\"\n ></tui-svg>\n</ng-template>\n", styles: [":host{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;justify-content:space-between;text-align:left;box-sizing:border-box;color:var(--tui-text-01);border-radius:var(--tui-radius-s);outline:none;text-decoration:none;cursor:pointer;background-clip:padding-box;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem;margin:.125rem 0}:host:disabled{opacity:var(--tui-disabled-opacity);cursor:default}:host:focus,:host._with-dropdown{background-color:var(--tui-clear)}:host :host-context([data-list-size=\"s\"]),:host :host-context([data-list-size=\"xs\"]),:host[data-size=s][data-size=s],:host[data-size=xs][data-size=xs]{font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem;margin:var(--tui-data-list-margin) 0}:host :host-context([data-list-size=\"m\"]),:host[data-size=m][data-size=m]{font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem;margin:var(--tui-data-list-margin) 0}:host :host-context([data-list-size=\"l\"]),:host[data-size=l][data-size=l]{font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem;margin:var(--tui-data-list-margin) 0}.t-arrow{margin:0 -.5rem 0 .75rem}\n"], components: [{ type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], directives: [{ type: i2.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
51
51
  __decorate([
52
52
  tuiDefaultProp()
53
53
  ], TuiOptionComponent.prototype, "size", void 0);
@@ -60,7 +60,7 @@ __decorate([
60
60
  __decorate([
61
61
  shouldCall(shouldFocus)
62
62
  ], TuiOptionComponent.prototype, "onMouseMove", null);
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiOptionComponent, decorators: [{
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiOptionComponent, decorators: [{
64
64
  type: Component,
65
65
  args: [{
66
66
  selector: 'button[tuiOption], a[tuiOption]',