@taiga-ui/core 2.54.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 (1795) hide show
  1. package/abstract/abstract-dropdown.d.ts +7 -4
  2. package/abstract/abstract-hint-options.d.ts +2 -2
  3. package/abstract/abstract-hint.d.ts +3 -0
  4. package/abstract/abstract-textfield-host.d.ts +3 -0
  5. package/abstract/package.json +2 -5
  6. package/abstract/taiga-ui-core-abstract.d.ts +1 -0
  7. package/animations/package.json +2 -5
  8. package/animations/taiga-ui-core-animations.d.ts +1 -0
  9. package/bundles/taiga-ui-core-abstract.umd.js +453 -335
  10. package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
  11. package/bundles/taiga-ui-core-animations.umd.js +145 -141
  12. package/bundles/taiga-ui-core-animations.umd.js.map +1 -1
  13. package/bundles/taiga-ui-core-components-alert.umd.js +448 -347
  14. package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
  15. package/bundles/taiga-ui-core-components-button.umd.js +499 -371
  16. package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
  17. package/bundles/taiga-ui-core-components-calendar.umd.js +471 -339
  18. package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
  19. package/bundles/taiga-ui-core-components-data-list.umd.js +629 -472
  20. package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
  21. package/bundles/taiga-ui-core-components-dialog.umd.js +487 -350
  22. package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
  23. package/bundles/taiga-ui-core-components-dropdown-box.umd.js +497 -365
  24. package/bundles/taiga-ui-core-components-dropdown-box.umd.js.map +1 -1
  25. package/bundles/taiga-ui-core-components-error.umd.js +401 -284
  26. package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
  27. package/bundles/taiga-ui-core-components-expand.umd.js +435 -315
  28. package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
  29. package/bundles/taiga-ui-core-components-group.umd.js +443 -339
  30. package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
  31. package/bundles/taiga-ui-core-components-hints-host.umd.js +515 -382
  32. package/bundles/taiga-ui-core-components-hints-host.umd.js.map +1 -1
  33. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +491 -354
  34. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
  35. package/bundles/taiga-ui-core-components-label.umd.js +404 -288
  36. package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
  37. package/bundles/taiga-ui-core-components-link.umd.js +459 -326
  38. package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
  39. package/bundles/taiga-ui-core-components-loader.umd.js +428 -309
  40. package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
  41. package/bundles/taiga-ui-core-components-notification.umd.js +416 -296
  42. package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
  43. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +457 -326
  44. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
  45. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +429 -306
  46. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
  47. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +438 -310
  48. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
  49. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +796 -638
  50. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  51. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +439 -314
  52. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
  53. package/bundles/taiga-ui-core-components-root.umd.js +446 -305
  54. package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
  55. package/bundles/taiga-ui-core-components-scroll-controls.umd.js +533 -392
  56. package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
  57. package/bundles/taiga-ui-core-components-scrollbar.umd.js +457 -325
  58. package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
  59. package/bundles/taiga-ui-core-components-svg.umd.js +454 -332
  60. package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
  61. package/bundles/taiga-ui-core-components-theme-night.umd.js +373 -264
  62. package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
  63. package/bundles/taiga-ui-core-components-tooltip.umd.js +439 -314
  64. package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
  65. package/bundles/taiga-ui-core-components.umd.js +55 -107
  66. package/bundles/taiga-ui-core-components.umd.js.map +1 -1
  67. package/bundles/taiga-ui-core-constants.umd.js +27 -34
  68. package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
  69. package/bundles/taiga-ui-core-directives-described-by.umd.js +399 -287
  70. package/bundles/taiga-ui-core-directives-described-by.umd.js.map +1 -1
  71. package/bundles/taiga-ui-core-directives-dropdown-controller.umd.js +425 -304
  72. package/bundles/taiga-ui-core-directives-dropdown-controller.umd.js.map +1 -1
  73. package/bundles/taiga-ui-core-directives-dropdown.umd.js +411 -290
  74. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
  75. package/bundles/taiga-ui-core-directives-hint-controller.umd.js +423 -304
  76. package/bundles/taiga-ui-core-directives-hint-controller.umd.js.map +1 -1
  77. package/bundles/taiga-ui-core-directives-hint.umd.js +451 -323
  78. package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
  79. package/bundles/taiga-ui-core-directives-manual-hint.umd.js +404 -285
  80. package/bundles/taiga-ui-core-directives-manual-hint.umd.js.map +1 -1
  81. package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +58 -269
  82. package/bundles/taiga-ui-core-directives-mask-accessor.umd.js.map +1 -1
  83. package/bundles/taiga-ui-core-directives-mode.umd.js +375 -266
  84. package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
  85. package/bundles/taiga-ui-core-directives-pointer-hint.umd.js +414 -298
  86. package/bundles/taiga-ui-core-directives-pointer-hint.umd.js.map +1 -1
  87. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +392 -282
  88. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
  89. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +753 -470
  90. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
  91. package/bundles/taiga-ui-core-directives-wrapper.umd.js +101 -325
  92. package/bundles/taiga-ui-core-directives-wrapper.umd.js.map +1 -1
  93. package/bundles/taiga-ui-core-directives.umd.js +29 -69
  94. package/bundles/taiga-ui-core-directives.umd.js.map +1 -1
  95. package/bundles/taiga-ui-core-enums.umd.js +11 -104
  96. package/bundles/taiga-ui-core-enums.umd.js.map +1 -1
  97. package/bundles/taiga-ui-core-interfaces.umd.js +2 -2
  98. package/bundles/taiga-ui-core-interfaces.umd.js.map +1 -1
  99. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +423 -298
  100. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +1 -1
  101. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +69 -279
  102. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js.map +1 -1
  103. package/bundles/taiga-ui-core-internal.umd.js +7 -11
  104. package/bundles/taiga-ui-core-internal.umd.js.map +1 -1
  105. package/bundles/taiga-ui-core-mask.umd.js +2 -2
  106. package/bundles/taiga-ui-core-mask.umd.js.map +1 -1
  107. package/bundles/taiga-ui-core-observables.umd.js +12 -10
  108. package/bundles/taiga-ui-core-observables.umd.js.map +1 -1
  109. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +50 -267
  110. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js.map +1 -1
  111. package/bundles/taiga-ui-core-pipes-format-number.umd.js +46 -263
  112. package/bundles/taiga-ui-core-pipes-format-number.umd.js.map +1 -1
  113. package/bundles/taiga-ui-core-pipes-format-phone.umd.js +43 -261
  114. package/bundles/taiga-ui-core-pipes-format-phone.umd.js.map +1 -1
  115. package/bundles/taiga-ui-core-pipes-month.umd.js +49 -265
  116. package/bundles/taiga-ui-core-pipes-month.umd.js.map +1 -1
  117. package/bundles/taiga-ui-core-pipes.umd.js +13 -29
  118. package/bundles/taiga-ui-core-pipes.umd.js.map +1 -1
  119. package/bundles/taiga-ui-core-providers.umd.js +10 -12
  120. package/bundles/taiga-ui-core-providers.umd.js.map +1 -1
  121. package/bundles/taiga-ui-core-services.umd.js +432 -308
  122. package/bundles/taiga-ui-core-services.umd.js.map +1 -1
  123. package/bundles/taiga-ui-core-tokens.umd.js +382 -302
  124. package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
  125. package/bundles/taiga-ui-core-types.umd.js +2 -2
  126. package/bundles/taiga-ui-core-types.umd.js.map +1 -1
  127. package/bundles/taiga-ui-core-utils-dom.umd.js +24 -32
  128. package/bundles/taiga-ui-core-utils-dom.umd.js.map +1 -1
  129. package/bundles/taiga-ui-core-utils-format.umd.js +350 -311
  130. package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
  131. package/bundles/taiga-ui-core-utils-mask.umd.js +368 -286
  132. package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
  133. package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +12 -26
  134. package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +1 -1
  135. package/bundles/taiga-ui-core-utils-mobile.umd.js +7 -3
  136. package/bundles/taiga-ui-core-utils-mobile.umd.js.map +1 -1
  137. package/bundles/taiga-ui-core-utils-polyfills.umd.js +11 -7
  138. package/bundles/taiga-ui-core-utils-polyfills.umd.js.map +1 -1
  139. package/bundles/taiga-ui-core-utils.umd.js +15 -27
  140. package/bundles/taiga-ui-core-utils.umd.js.map +1 -1
  141. package/bundles/taiga-ui-core.umd.js +49 -57
  142. package/bundles/taiga-ui-core.umd.js.map +1 -1
  143. package/components/alert/alert.component.d.ts +3 -0
  144. package/components/alert/alert.module.d.ts +8 -3
  145. package/components/alert/alert.service.d.ts +7 -13
  146. package/components/alert/package.json +2 -5
  147. package/components/alert/taiga-ui-core-components-alert.d.ts +1 -0
  148. package/components/button/button.component.d.ts +6 -5
  149. package/components/button/button.module.d.ts +10 -0
  150. package/components/button/package.json +2 -5
  151. package/components/button/taiga-ui-core-components-button.d.ts +1 -0
  152. package/components/calendar/calendar.component.d.ts +3 -0
  153. package/components/calendar/calendar.module.d.ts +11 -0
  154. package/components/calendar/package.json +2 -5
  155. package/components/calendar/taiga-ui-core-components-calendar.d.ts +1 -0
  156. package/components/data-list/data-list-dropdown-manager.directive.d.ts +3 -0
  157. package/components/data-list/data-list.component.d.ts +4 -1
  158. package/components/data-list/data-list.directive.d.ts +3 -0
  159. package/components/data-list/data-list.module.d.ts +12 -0
  160. package/components/data-list/opt-group.directive.d.ts +3 -0
  161. package/components/data-list/option/option.component.d.ts +3 -0
  162. package/components/data-list/package.json +2 -5
  163. package/components/data-list/taiga-ui-core-components-data-list.d.ts +1 -0
  164. package/components/dialog/dialog.component.d.ts +3 -0
  165. package/components/dialog/dialog.directive.d.ts +3 -0
  166. package/components/dialog/dialog.module.d.ts +10 -0
  167. package/components/dialog/dialog.service.d.ts +4 -1
  168. package/components/dialog/package.json +2 -5
  169. package/components/dialog/taiga-ui-core-components-dialog.d.ts +1 -0
  170. package/components/dropdown-box/dropdown-box.component.d.ts +5 -2
  171. package/components/dropdown-box/dropdown-box.module.d.ts +9 -0
  172. package/components/dropdown-box/package.json +2 -5
  173. package/components/dropdown-box/taiga-ui-core-components-dropdown-box.d.ts +1 -0
  174. package/components/error/error.component.d.ts +3 -0
  175. package/components/error/error.module.d.ts +7 -0
  176. package/components/error/package.json +2 -5
  177. package/components/error/taiga-ui-core-components-error.d.ts +1 -0
  178. package/components/expand/expand-content.directive.d.ts +3 -0
  179. package/components/expand/expand.component.d.ts +3 -0
  180. package/components/expand/expand.module.d.ts +8 -0
  181. package/components/expand/package.json +2 -5
  182. package/components/expand/taiga-ui-core-components-expand.d.ts +1 -0
  183. package/components/group/group-styles.component.d.ts +3 -0
  184. package/components/group/group.directive.d.ts +5 -2
  185. package/components/group/group.module.d.ts +7 -0
  186. package/components/group/index.d.ts +0 -1
  187. package/components/group/package.json +2 -5
  188. package/components/group/taiga-ui-core-components-group.d.ts +1 -0
  189. package/components/hints-host/hint-box/hint-box.component.d.ts +5 -2
  190. package/components/hints-host/hint-box/hint-box.module.d.ts +8 -0
  191. package/components/hints-host/hints-host.component.d.ts +4 -1
  192. package/components/hints-host/hints-host.module.d.ts +9 -0
  193. package/components/hints-host/package.json +2 -5
  194. package/components/hints-host/taiga-ui-core-components-hints-host.d.ts +1 -0
  195. package/components/hosted-dropdown/hosted-dropdown-connector.directive.d.ts +3 -0
  196. package/components/hosted-dropdown/hosted-dropdown.component.d.ts +3 -0
  197. package/components/hosted-dropdown/hosted-dropdown.module.d.ts +10 -0
  198. package/components/hosted-dropdown/package.json +2 -5
  199. package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.d.ts +1 -0
  200. package/components/label/label.component.d.ts +4 -1
  201. package/components/label/label.module.d.ts +6 -0
  202. package/components/label/package.json +2 -5
  203. package/components/label/taiga-ui-core-components-label.d.ts +1 -0
  204. package/components/link/link.component.d.ts +3 -0
  205. package/components/link/link.module.d.ts +7 -0
  206. package/components/link/package.json +2 -5
  207. package/components/link/taiga-ui-core-components-link.d.ts +1 -0
  208. package/components/loader/loader.component.d.ts +4 -1
  209. package/components/loader/loader.module.d.ts +7 -0
  210. package/components/loader/package.json +2 -5
  211. package/components/loader/taiga-ui-core-components-loader.d.ts +1 -0
  212. package/components/notification/notification.component.d.ts +3 -0
  213. package/components/notification/notification.module.d.ts +8 -0
  214. package/components/notification/package.json +2 -5
  215. package/components/notification/taiga-ui-core-components-notification.d.ts +1 -0
  216. package/components/package.json +2 -5
  217. package/components/primitive-calendar/package.json +2 -5
  218. package/components/primitive-calendar/primitive-calendar.component.d.ts +4 -1
  219. package/components/primitive-calendar/primitive-calendar.module.d.ts +8 -0
  220. package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.d.ts +1 -0
  221. package/components/primitive-checkbox/checkbox-options.d.ts +0 -5
  222. package/components/primitive-checkbox/package.json +2 -5
  223. package/components/primitive-checkbox/primitive-checkbox.component.d.ts +5 -2
  224. package/components/primitive-checkbox/primitive-checkbox.module.d.ts +8 -0
  225. package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.d.ts +1 -0
  226. package/components/primitive-spin-button/package.json +2 -5
  227. package/components/primitive-spin-button/primitive-spin-button.component.d.ts +3 -0
  228. package/components/primitive-spin-button/primitive-spin-button.module.d.ts +8 -0
  229. package/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.d.ts +1 -0
  230. package/components/primitive-textfield/package.json +2 -5
  231. package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -3
  232. package/components/primitive-textfield/primitive-textfield-types.d.ts +10 -0
  233. package/components/primitive-textfield/primitive-textfield.component.d.ts +8 -12
  234. package/components/primitive-textfield/primitive-textfield.directive.d.ts +3 -0
  235. package/components/primitive-textfield/primitive-textfield.module.d.ts +17 -0
  236. package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.d.ts +1 -0
  237. package/components/primitive-textfield/textfield/textfield.component.d.ts +3 -0
  238. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +5 -2
  239. package/components/primitive-year-picker/package.json +2 -5
  240. package/components/primitive-year-picker/primitive-year-picker.component.d.ts +3 -0
  241. package/components/primitive-year-picker/primitive-year-picker.module.d.ts +7 -0
  242. package/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.d.ts +1 -0
  243. package/components/root/package.json +2 -5
  244. package/components/root/root.component.d.ts +3 -0
  245. package/components/root/root.module.d.ts +11 -0
  246. package/components/root/taiga-ui-core-components-root.d.ts +1 -0
  247. package/components/scroll-controls/package.json +2 -5
  248. package/components/scroll-controls/scroll-controls.component.d.ts +3 -0
  249. package/components/scroll-controls/scroll-controls.module.d.ts +9 -0
  250. package/components/scroll-controls/scrollbar-wrapper.directive.d.ts +3 -0
  251. package/components/scroll-controls/scrollbar.directive.d.ts +5 -2
  252. package/components/scroll-controls/taiga-ui-core-components-scroll-controls.d.ts +1 -1
  253. package/components/scrollbar/package.json +2 -5
  254. package/components/scrollbar/scroll-ref.directive.d.ts +3 -0
  255. package/components/scrollbar/scrollable.directive.d.ts +3 -0
  256. package/components/scrollbar/scrollbar.component.d.ts +3 -0
  257. package/components/scrollbar/scrollbar.module.d.ts +9 -0
  258. package/components/scrollbar/taiga-ui-core-components-scrollbar.d.ts +1 -0
  259. package/components/svg/package.json +2 -5
  260. package/components/svg/svg.component.d.ts +3 -0
  261. package/components/svg/svg.module.d.ts +7 -0
  262. package/components/svg/taiga-ui-core-components-svg.d.ts +1 -0
  263. package/components/taiga-ui-core-components.d.ts +1 -0
  264. package/components/theme-night/package.json +2 -5
  265. package/components/theme-night/taiga-ui-core-components-theme-night.d.ts +1 -0
  266. package/components/theme-night/theme-night.component.d.ts +3 -0
  267. package/components/theme-night/theme-night.module.d.ts +5 -0
  268. package/components/tooltip/package.json +2 -5
  269. package/components/tooltip/taiga-ui-core-components-tooltip.d.ts +1 -0
  270. package/components/tooltip/tooltip.component.d.ts +5 -2
  271. package/components/tooltip/tooltip.module.d.ts +9 -0
  272. package/constants/described-by.d.ts +1 -0
  273. package/constants/index.d.ts +1 -1
  274. package/constants/package.json +2 -5
  275. package/constants/taiga-ui-core-constants.d.ts +1 -0
  276. package/constants/version.d.ts +1 -1
  277. package/directives/described-by/described-by.directive.d.ts +3 -1
  278. package/directives/described-by/described-by.module.d.ts +5 -0
  279. package/directives/described-by/package.json +2 -5
  280. package/directives/described-by/taiga-ui-core-directives-described-by.d.ts +1 -0
  281. package/directives/dropdown/dropdown.directive.d.ts +5 -2
  282. package/directives/dropdown/dropdown.module.d.ts +6 -0
  283. package/directives/dropdown/package.json +2 -5
  284. package/directives/dropdown/taiga-ui-core-directives-dropdown.d.ts +1 -0
  285. package/directives/dropdown-controller/dropdown-controller.directive.d.ts +7 -4
  286. package/directives/dropdown-controller/dropdown-controller.module.d.ts +5 -0
  287. package/directives/dropdown-controller/dropdown-controller.provider.d.ts +0 -2
  288. package/directives/dropdown-controller/package.json +2 -5
  289. package/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.d.ts +1 -0
  290. package/directives/hint/hint-options.d.ts +0 -1
  291. package/directives/hint/hint.directive.d.ts +4 -1
  292. package/directives/hint/hint.module.d.ts +5 -0
  293. package/directives/hint/package.json +2 -5
  294. package/directives/hint/taiga-ui-core-directives-hint.d.ts +1 -0
  295. package/directives/hint-controller/hint-controller.directive.d.ts +6 -3
  296. package/directives/hint-controller/hint-controller.module.d.ts +5 -0
  297. package/directives/hint-controller/hint-controller.provider.d.ts +0 -2
  298. package/directives/hint-controller/package.json +2 -5
  299. package/directives/hint-controller/taiga-ui-core-directives-hint-controller.d.ts +1 -0
  300. package/directives/index.d.ts +0 -2
  301. package/directives/manual-hint/manual-hint.directive.d.ts +3 -0
  302. package/directives/manual-hint/manual-hint.module.d.ts +5 -0
  303. package/directives/manual-hint/package.json +2 -5
  304. package/directives/manual-hint/taiga-ui-core-directives-manual-hint.d.ts +1 -0
  305. package/directives/mask-accessor/mask-accessor.directive.d.ts +3 -0
  306. package/directives/mask-accessor/mask-accessor.module.d.ts +5 -0
  307. package/directives/mask-accessor/package.json +2 -5
  308. package/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.d.ts +1 -0
  309. package/directives/mode/mode.directive.d.ts +5 -2
  310. package/directives/mode/mode.module.d.ts +5 -0
  311. package/directives/mode/package.json +2 -5
  312. package/directives/mode/taiga-ui-core-directives-mode.d.ts +1 -0
  313. package/directives/package.json +2 -5
  314. package/directives/pointer-hint/package.json +2 -5
  315. package/directives/pointer-hint/pointer-hint.directive.d.ts +4 -1
  316. package/directives/pointer-hint/pointer-hint.module.d.ts +5 -0
  317. package/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.d.ts +1 -0
  318. package/directives/scroll-into-view/package.json +2 -5
  319. package/directives/scroll-into-view/scroll-into-view.directive.d.ts +4 -2
  320. package/directives/scroll-into-view/scroll-into-view.module.d.ts +5 -0
  321. package/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.d.ts +1 -0
  322. package/directives/taiga-ui-core-directives.d.ts +1 -0
  323. package/directives/textfield-controller/index.d.ts +2 -0
  324. package/directives/textfield-controller/package.json +2 -5
  325. package/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.d.ts +1 -0
  326. package/directives/textfield-controller/textfield-autocomplete.directive.d.ts +5 -2
  327. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +5 -2
  328. package/directives/textfield-controller/textfield-controller.module.d.ts +15 -0
  329. package/directives/textfield-controller/textfield-controller.provider.d.ts +15 -1
  330. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +6 -3
  331. package/directives/textfield-controller/textfield-example-text.directive.d.ts +5 -2
  332. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +12 -0
  333. package/directives/textfield-controller/textfield-icon.directive.d.ts +12 -0
  334. package/directives/textfield-controller/textfield-input-mode.directive.d.ts +6 -3
  335. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +5 -2
  336. package/directives/textfield-controller/textfield-max-length.directive.d.ts +5 -2
  337. package/directives/textfield-controller/textfield-size.directive.d.ts +5 -2
  338. package/directives/textfield-controller/textfield-type.directive.d.ts +6 -3
  339. package/directives/textfield-controller/textfield.controller.d.ts +10 -4
  340. package/directives/wrapper/package.json +2 -5
  341. package/directives/wrapper/taiga-ui-core-directives-wrapper.d.ts +1 -0
  342. package/directives/wrapper/wrapper.directive.d.ts +6 -3
  343. package/directives/wrapper/wrapper.module.d.ts +5 -0
  344. package/enums/index.d.ts +0 -8
  345. package/enums/interactive-state.d.ts +2 -2
  346. package/enums/package.json +2 -5
  347. package/enums/taiga-ui-core-enums.d.ts +1 -0
  348. package/esm2015/abstract/abstract-dropdown.js +39 -27
  349. package/esm2015/abstract/abstract-hint-options.js +2 -2
  350. package/esm2015/abstract/abstract-hint.js +20 -19
  351. package/esm2015/abstract/abstract-textfield-host.js +12 -12
  352. package/esm2015/abstract/index.js +1 -1
  353. package/esm2015/abstract/taiga-ui-core-abstract.js +1 -1
  354. package/esm2015/animations/animations.js +140 -140
  355. package/esm2015/animations/index.js +1 -1
  356. package/esm2015/animations/taiga-ui-core-animations.js +1 -1
  357. package/esm2015/components/alert/alert.component.js +53 -39
  358. package/esm2015/components/alert/alert.module.js +29 -27
  359. package/esm2015/components/alert/alert.service.js +16 -36
  360. package/esm2015/components/alert/index.js +1 -1
  361. package/esm2015/components/alert/taiga-ui-core-components-alert.js +1 -1
  362. package/esm2015/components/button/button-options.js +3 -3
  363. package/esm2015/components/button/button.component.js +93 -84
  364. package/esm2015/components/button/button.module.js +26 -13
  365. package/esm2015/components/button/index.js +1 -1
  366. package/esm2015/components/button/taiga-ui-core-components-button.js +1 -1
  367. package/esm2015/components/calendar/calendar.component.js +49 -33
  368. package/esm2015/components/calendar/calendar.module.js +28 -13
  369. package/esm2015/components/calendar/index.js +1 -1
  370. package/esm2015/components/calendar/taiga-ui-core-components-calendar.js +1 -1
  371. package/esm2015/components/data-list/data-list-dropdown-manager.directive.js +25 -22
  372. package/esm2015/components/data-list/data-list.component.js +74 -57
  373. package/esm2015/components/data-list/data-list.directive.js +12 -10
  374. package/esm2015/components/data-list/data-list.module.js +35 -24
  375. package/esm2015/components/data-list/index.js +1 -1
  376. package/esm2015/components/data-list/opt-group.directive.js +21 -15
  377. package/esm2015/components/data-list/option/option.component.js +81 -56
  378. package/esm2015/components/data-list/taiga-ui-core-components-data-list.js +1 -1
  379. package/esm2015/components/dialog/dialog.component.js +55 -44
  380. package/esm2015/components/dialog/dialog.directive.js +25 -18
  381. package/esm2015/components/dialog/dialog.module.js +29 -20
  382. package/esm2015/components/dialog/dialog.providers.js +7 -7
  383. package/esm2015/components/dialog/dialog.service.js +14 -15
  384. package/esm2015/components/dialog/index.js +1 -1
  385. package/esm2015/components/dialog/taiga-ui-core-components-dialog.js +1 -1
  386. package/esm2015/components/dropdown-box/dropdown-box.component.js +107 -93
  387. package/esm2015/components/dropdown-box/dropdown-box.module.js +27 -14
  388. package/esm2015/components/dropdown-box/index.js +1 -1
  389. package/esm2015/components/dropdown-box/taiga-ui-core-components-dropdown-box.js +1 -1
  390. package/esm2015/components/error/error.component.js +36 -28
  391. package/esm2015/components/error/error.module.js +15 -12
  392. package/esm2015/components/error/index.js +1 -1
  393. package/esm2015/components/error/taiga-ui-core-components-error.js +1 -1
  394. package/esm2015/components/expand/expand-content.directive.js +12 -10
  395. package/esm2015/components/expand/expand.component.js +55 -46
  396. package/esm2015/components/expand/expand.module.js +15 -12
  397. package/esm2015/components/expand/index.js +1 -1
  398. package/esm2015/components/expand/taiga-ui-core-components-expand.js +1 -1
  399. package/esm2015/components/group/group-styles.component.js +14 -12
  400. package/esm2015/components/group/group.directive.js +54 -40
  401. package/esm2015/components/group/group.module.js +16 -14
  402. package/esm2015/components/group/index.js +1 -2
  403. package/esm2015/components/group/taiga-ui-core-components-group.js +1 -1
  404. package/esm2015/components/hints-host/hint-box/hint-box.component.js +111 -95
  405. package/esm2015/components/hints-host/hint-box/hint-box.module.js +16 -13
  406. package/esm2015/components/hints-host/hints-host.component.js +29 -24
  407. package/esm2015/components/hints-host/hints-host.module.js +15 -12
  408. package/esm2015/components/hints-host/index.js +1 -1
  409. package/esm2015/components/hints-host/taiga-ui-core-components-hints-host.js +1 -1
  410. package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +12 -10
  411. package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +86 -69
  412. package/esm2015/components/hosted-dropdown/hosted-dropdown.module.js +26 -13
  413. package/esm2015/components/hosted-dropdown/index.js +1 -1
  414. package/esm2015/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.js +1 -1
  415. package/esm2015/components/index.js +1 -1
  416. package/esm2015/components/label/index.js +1 -1
  417. package/esm2015/components/label/label.component.js +36 -29
  418. package/esm2015/components/label/label.module.js +15 -12
  419. package/esm2015/components/label/taiga-ui-core-components-label.js +1 -1
  420. package/esm2015/components/link/index.js +1 -1
  421. package/esm2015/components/link/link.component.js +79 -53
  422. package/esm2015/components/link/link.module.js +15 -12
  423. package/esm2015/components/link/taiga-ui-core-components-link.js +1 -1
  424. package/esm2015/components/loader/index.js +1 -1
  425. package/esm2015/components/loader/loader-options.js +3 -3
  426. package/esm2015/components/loader/loader.component.js +46 -35
  427. package/esm2015/components/loader/loader.module.js +15 -12
  428. package/esm2015/components/loader/taiga-ui-core-components-loader.js +1 -1
  429. package/esm2015/components/notification/index.js +1 -1
  430. package/esm2015/components/notification/notification.component.js +45 -34
  431. package/esm2015/components/notification/notification.module.js +15 -12
  432. package/esm2015/components/notification/taiga-ui-core-components-notification.js +1 -1
  433. package/esm2015/components/primitive-calendar/index.js +1 -1
  434. package/esm2015/components/primitive-calendar/primitive-calendar.component.js +46 -37
  435. package/esm2015/components/primitive-calendar/primitive-calendar.module.js +30 -15
  436. package/esm2015/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.js +1 -1
  437. package/esm2015/components/primitive-checkbox/checkbox-options.js +5 -5
  438. package/esm2015/components/primitive-checkbox/index.js +1 -1
  439. package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +40 -25
  440. package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +15 -12
  441. package/esm2015/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.js +1 -1
  442. package/esm2015/components/primitive-spin-button/index.js +1 -1
  443. package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +40 -33
  444. package/esm2015/components/primitive-spin-button/primitive-spin-button.module.js +28 -13
  445. package/esm2015/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.js +1 -1
  446. package/esm2015/components/primitive-textfield/index.js +1 -1
  447. package/esm2015/components/primitive-textfield/primitive-textfield-options.js +3 -6
  448. package/esm2015/components/primitive-textfield/primitive-textfield-types.js +2 -0
  449. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +131 -123
  450. package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +27 -21
  451. package/esm2015/components/primitive-textfield/primitive-textfield.module.js +53 -24
  452. package/esm2015/components/primitive-textfield/primitive-textfield.providers.js +1 -1
  453. package/esm2015/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.js +1 -1
  454. package/esm2015/components/primitive-textfield/textfield/textfield.component.js +59 -48
  455. package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +41 -38
  456. package/esm2015/components/primitive-year-picker/index.js +1 -1
  457. package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +36 -27
  458. package/esm2015/components/primitive-year-picker/primitive-year-picker.module.js +26 -13
  459. package/esm2015/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.js +1 -1
  460. package/esm2015/components/root/index.js +1 -1
  461. package/esm2015/components/root/root.component.js +53 -39
  462. package/esm2015/components/root/root.module.js +34 -13
  463. package/esm2015/components/root/taiga-ui-core-components-root.js +1 -1
  464. package/esm2015/components/scroll-controls/index.js +1 -1
  465. package/esm2015/components/scroll-controls/scroll-controls.component.js +47 -36
  466. package/esm2015/components/scroll-controls/scroll-controls.module.js +21 -16
  467. package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +23 -16
  468. package/esm2015/components/scroll-controls/scrollbar.directive.js +71 -59
  469. package/esm2015/components/scroll-controls/taiga-ui-core-components-scroll-controls.js +1 -2
  470. package/esm2015/components/scrollbar/index.js +1 -1
  471. package/esm2015/components/scrollbar/scroll-ref.directive.js +24 -17
  472. package/esm2015/components/scrollbar/scrollable.directive.js +16 -15
  473. package/esm2015/components/scrollbar/scrollbar.component.js +56 -43
  474. package/esm2015/components/scrollbar/scrollbar.module.js +15 -12
  475. package/esm2015/components/scrollbar/taiga-ui-core-components-scrollbar.js +1 -1
  476. package/esm2015/components/svg/index.js +1 -1
  477. package/esm2015/components/svg/svg.component.js +78 -60
  478. package/esm2015/components/svg/svg.module.js +15 -12
  479. package/esm2015/components/svg/taiga-ui-core-components-svg.js +1 -1
  480. package/esm2015/components/taiga-ui-core-components.js +1 -1
  481. package/esm2015/components/theme-night/index.js +1 -1
  482. package/esm2015/components/theme-night/taiga-ui-core-components-theme-night.js +1 -1
  483. package/esm2015/components/theme-night/theme-night.component.js +15 -13
  484. package/esm2015/components/theme-night/theme-night.module.js +14 -11
  485. package/esm2015/components/tooltip/index.js +1 -1
  486. package/esm2015/components/tooltip/taiga-ui-core-components-tooltip.js +1 -1
  487. package/esm2015/components/tooltip/tooltip.component.js +57 -41
  488. package/esm2015/components/tooltip/tooltip.module.js +15 -12
  489. package/esm2015/constants/absolute-box-sizes.js +1 -1
  490. package/esm2015/constants/decimal-symbols.js +2 -2
  491. package/esm2015/constants/default-icons-path.js +2 -2
  492. package/esm2015/constants/default-marker-handler.js +1 -1
  493. package/esm2015/constants/described-by.js +2 -0
  494. package/esm2015/constants/editing-keys.js +10 -10
  495. package/esm2015/constants/events.js +5 -5
  496. package/esm2015/constants/index.js +2 -2
  497. package/esm2015/constants/mask-caret-trap.js +2 -2
  498. package/esm2015/constants/regexp.js +1 -1
  499. package/esm2015/constants/taiga-ui-core-constants.js +1 -1
  500. package/esm2015/constants/version.js +2 -2
  501. package/esm2015/directives/described-by/described-by.directive.js +29 -24
  502. package/esm2015/directives/described-by/described-by.module.js +14 -11
  503. package/esm2015/directives/described-by/described-by.providers.js +3 -3
  504. package/esm2015/directives/described-by/index.js +1 -1
  505. package/esm2015/directives/described-by/taiga-ui-core-directives-described-by.js +1 -1
  506. package/esm2015/directives/dropdown/dropdown.directive.js +51 -38
  507. package/esm2015/directives/dropdown/dropdown.module.js +15 -12
  508. package/esm2015/directives/dropdown/index.js +1 -1
  509. package/esm2015/directives/dropdown/taiga-ui-core-directives-dropdown.js +1 -1
  510. package/esm2015/directives/dropdown-controller/dropdown-controller.directive.js +44 -25
  511. package/esm2015/directives/dropdown-controller/dropdown-controller.module.js +14 -11
  512. package/esm2015/directives/dropdown-controller/dropdown-controller.provider.js +4 -6
  513. package/esm2015/directives/dropdown-controller/dropdown-controller.token.js +2 -2
  514. package/esm2015/directives/dropdown-controller/index.js +1 -1
  515. package/esm2015/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.js +1 -1
  516. package/esm2015/directives/hint/hint-options.js +3 -5
  517. package/esm2015/directives/hint/hint.directive.js +71 -46
  518. package/esm2015/directives/hint/hint.module.js +14 -11
  519. package/esm2015/directives/hint/index.js +1 -1
  520. package/esm2015/directives/hint/taiga-ui-core-directives-hint.js +1 -1
  521. package/esm2015/directives/hint-controller/hint-controller.directive.js +44 -29
  522. package/esm2015/directives/hint-controller/hint-controller.module.js +14 -11
  523. package/esm2015/directives/hint-controller/hint-controller.provider.js +4 -6
  524. package/esm2015/directives/hint-controller/hint-controller.token.js +2 -2
  525. package/esm2015/directives/hint-controller/index.js +1 -1
  526. package/esm2015/directives/hint-controller/taiga-ui-core-directives-hint-controller.js +1 -1
  527. package/esm2015/directives/index.js +1 -3
  528. package/esm2015/directives/manual-hint/index.js +1 -1
  529. package/esm2015/directives/manual-hint/manual-hint-options.js +2 -2
  530. package/esm2015/directives/manual-hint/manual-hint.directive.js +35 -24
  531. package/esm2015/directives/manual-hint/manual-hint.module.js +14 -11
  532. package/esm2015/directives/manual-hint/taiga-ui-core-directives-manual-hint.js +1 -1
  533. package/esm2015/directives/mask-accessor/index.js +1 -1
  534. package/esm2015/directives/mask-accessor/mask-accessor.directive.js +27 -18
  535. package/esm2015/directives/mask-accessor/mask-accessor.module.js +14 -11
  536. package/esm2015/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.js +1 -1
  537. package/esm2015/directives/mode/index.js +1 -1
  538. package/esm2015/directives/mode/mode.directive.js +16 -14
  539. package/esm2015/directives/mode/mode.module.js +14 -11
  540. package/esm2015/directives/mode/taiga-ui-core-directives-mode.js +1 -1
  541. package/esm2015/directives/pointer-hint/index.js +1 -1
  542. package/esm2015/directives/pointer-hint/pointer-hint-options.js +2 -2
  543. package/esm2015/directives/pointer-hint/pointer-hint.directive.js +41 -31
  544. package/esm2015/directives/pointer-hint/pointer-hint.module.js +14 -11
  545. package/esm2015/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.js +1 -1
  546. package/esm2015/directives/scroll-into-view/index.js +1 -1
  547. package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +28 -27
  548. package/esm2015/directives/scroll-into-view/scroll-into-view.module.js +14 -11
  549. package/esm2015/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.js +1 -1
  550. package/esm2015/directives/taiga-ui-core-directives.js +1 -1
  551. package/esm2015/directives/textfield-controller/index.js +3 -1
  552. package/esm2015/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.js +1 -1
  553. package/esm2015/directives/textfield-controller/textfield-autocomplete.directive.js +29 -23
  554. package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +28 -22
  555. package/esm2015/directives/textfield-controller/textfield-controller.module.js +60 -31
  556. package/esm2015/directives/textfield-controller/textfield-controller.provider.js +6 -2
  557. package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +29 -24
  558. package/esm2015/directives/textfield-controller/textfield-example-text.directive.js +29 -23
  559. package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +38 -0
  560. package/esm2015/directives/textfield-controller/textfield-icon.directive.js +38 -0
  561. package/esm2015/directives/textfield-controller/textfield-input-mode.directive.js +29 -23
  562. package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +28 -22
  563. package/esm2015/directives/textfield-controller/textfield-max-length.directive.js +28 -22
  564. package/esm2015/directives/textfield-controller/textfield-size.directive.js +29 -23
  565. package/esm2015/directives/textfield-controller/textfield-type.directive.js +29 -23
  566. package/esm2015/directives/textfield-controller/textfield.controller.js +11 -3
  567. package/esm2015/directives/wrapper/index.js +1 -1
  568. package/esm2015/directives/wrapper/taiga-ui-core-directives-wrapper.js +1 -1
  569. package/esm2015/directives/wrapper/wrapper.directive.js +63 -70
  570. package/esm2015/directives/wrapper/wrapper.module.js +14 -11
  571. package/esm2015/enums/appearance.js +1 -1
  572. package/esm2015/enums/dropdown-animation.js +1 -1
  573. package/esm2015/enums/index.js +1 -9
  574. package/esm2015/enums/interactive-state.js +3 -5
  575. package/esm2015/enums/notification.js +1 -1
  576. package/esm2015/enums/range-state.js +1 -1
  577. package/esm2015/enums/taiga-ui-core-enums.js +1 -1
  578. package/esm2015/index.js +4 -1
  579. package/esm2015/interfaces/alert-options.js +2 -1
  580. package/esm2015/interfaces/animation-options.js +2 -1
  581. package/esm2015/interfaces/data-list-accessor.js +2 -1
  582. package/esm2015/interfaces/data-list-host.js +2 -1
  583. package/esm2015/interfaces/dialog-context.js +2 -1
  584. package/esm2015/interfaces/dialog-options.js +2 -1
  585. package/esm2015/interfaces/dropdown-directive.js +2 -1
  586. package/esm2015/interfaces/hint.js +2 -1
  587. package/esm2015/interfaces/icon-error.js +2 -1
  588. package/esm2015/interfaces/index.js +15 -1
  589. package/esm2015/interfaces/media.js +2 -1
  590. package/esm2015/interfaces/number-format-settings.js +2 -1
  591. package/esm2015/interfaces/taiga-ui-core-interfaces.js +2 -1
  592. package/esm2015/interfaces/textfield-host.js +2 -1
  593. package/esm2015/interfaces/value-content-context.js +2 -1
  594. package/esm2015/interfaces/with-optional-min-max.js +2 -1
  595. package/esm2015/internal/index.js +1 -1
  596. package/esm2015/internal/primitive-year-month-pagination/index.js +1 -1
  597. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +29 -20
  598. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +26 -13
  599. package/esm2015/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.js +1 -1
  600. package/esm2015/internal/svg-defs-host/index.js +1 -1
  601. package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +35 -27
  602. package/esm2015/internal/svg-defs-host/svg-defs-host.module.js +15 -12
  603. package/esm2015/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.js +1 -1
  604. package/esm2015/internal/taiga-ui-core-internal.js +1 -1
  605. package/esm2015/mask/index.js +9 -1
  606. package/esm2015/mask/number-mask-options.js +2 -1
  607. package/esm2015/mask/taiga-ui-core-mask.js +2 -1
  608. package/esm2015/mask/text-mask-config.js +2 -1
  609. package/esm2015/mask/text-mask-correction-handler.js +2 -1
  610. package/esm2015/mask/text-mask-list-handler.js +2 -1
  611. package/esm2015/mask/text-mask-list.js +2 -1
  612. package/esm2015/mask/text-mask-options.js +2 -1
  613. package/esm2015/mask/text-mask-pipe-handler.js +2 -1
  614. package/esm2015/mask/text-mask-pipe-result.js +2 -1
  615. package/esm2015/observables/index.js +1 -1
  616. package/esm2015/observables/smart-search.js +3 -3
  617. package/esm2015/observables/taiga-ui-core-observables.js +1 -1
  618. package/esm2015/observables/zoneful-map.js +1 -1
  619. package/esm2015/pipes/calendar-sheet/calendar-sheet.module.js +14 -11
  620. package/esm2015/pipes/calendar-sheet/calendar-sheet.pipe.js +15 -14
  621. package/esm2015/pipes/calendar-sheet/index.js +1 -1
  622. package/esm2015/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.js +1 -1
  623. package/esm2015/pipes/calendar-sheet/utils.js +4 -4
  624. package/esm2015/pipes/format-number/format-number.module.js +14 -11
  625. package/esm2015/pipes/format-number/format-number.pipe.js +13 -12
  626. package/esm2015/pipes/format-number/index.js +1 -1
  627. package/esm2015/pipes/format-number/taiga-ui-core-pipes-format-number.js +1 -1
  628. package/esm2015/pipes/format-phone/format-phone.module.js +14 -11
  629. package/esm2015/pipes/format-phone/format-phone.pipe.js +12 -10
  630. package/esm2015/pipes/format-phone/index.js +1 -1
  631. package/esm2015/pipes/format-phone/taiga-ui-core-pipes-format-phone.js +1 -1
  632. package/esm2015/pipes/index.js +1 -2
  633. package/esm2015/pipes/month/index.js +1 -1
  634. package/esm2015/pipes/month/month.module.js +14 -11
  635. package/esm2015/pipes/month/month.pipe.js +14 -13
  636. package/esm2015/pipes/month/taiga-ui-core-pipes-month.js +1 -1
  637. package/esm2015/pipes/taiga-ui-core-pipes.js +1 -1
  638. package/esm2015/providers/index.js +1 -1
  639. package/esm2015/providers/is-mobile-resolution.provider.js +2 -2
  640. package/esm2015/providers/mode.provider.js +2 -2
  641. package/esm2015/providers/taiga-ui-core-providers.js +1 -1
  642. package/esm2015/providers/watched-controller-provider-factory.js +2 -7
  643. package/esm2015/services/hint.service.js +11 -11
  644. package/esm2015/services/index.js +1 -1
  645. package/esm2015/services/night-theme.service.js +16 -18
  646. package/esm2015/services/router-link-active.service.js +26 -19
  647. package/esm2015/services/svg.service.js +27 -26
  648. package/esm2015/services/taiga-ui-core-services.js +1 -1
  649. package/esm2015/taiga-ui-core.js +1 -1
  650. package/esm2015/tokens/animation-options.js +2 -2
  651. package/esm2015/tokens/animations-duration.js +2 -2
  652. package/esm2015/tokens/assert-enabled.js +2 -2
  653. package/esm2015/tokens/data-list-accessor.js +2 -2
  654. package/esm2015/tokens/data-list-host.js +2 -2
  655. package/esm2015/tokens/document-or-shadow-root.js +2 -2
  656. package/esm2015/tokens/dropdown-directive.js +2 -2
  657. package/esm2015/tokens/element-ref.js +2 -2
  658. package/esm2015/tokens/first-day-of-week.js +2 -2
  659. package/esm2015/tokens/i18n.js +11 -11
  660. package/esm2015/tokens/icon-place.js +3 -3
  661. package/esm2015/tokens/icons-path.js +2 -2
  662. package/esm2015/tokens/icons.js +2 -2
  663. package/esm2015/tokens/index.js +1 -1
  664. package/esm2015/tokens/is-mobile-resolution.js +3 -3
  665. package/esm2015/tokens/media.js +2 -2
  666. package/esm2015/tokens/mode.js +2 -2
  667. package/esm2015/tokens/notification-options.js +3 -3
  668. package/esm2015/tokens/number-format.js +3 -3
  669. package/esm2015/tokens/option-content.js +2 -2
  670. package/esm2015/tokens/ordered-short-week-days.js +2 -2
  671. package/esm2015/tokens/sanitizer.js +1 -1
  672. package/esm2015/tokens/scroll-ref.js +2 -2
  673. package/esm2015/tokens/svg-content-processor.js +3 -3
  674. package/esm2015/tokens/svg-src-processor.js +2 -2
  675. package/esm2015/tokens/taiga-ui-core-tokens.js +1 -1
  676. package/esm2015/tokens/textfield-appearance.js +2 -2
  677. package/esm2015/tokens/textfield-host.js +2 -2
  678. package/esm2015/tokens/theme.js +3 -3
  679. package/esm2015/tokens/value-accessor.js +2 -2
  680. package/esm2015/types/brightness.js +2 -1
  681. package/esm2015/types/data-list-role.js +2 -1
  682. package/esm2015/types/decimal-symbol.js +2 -1
  683. package/esm2015/types/decimal.js +2 -1
  684. package/esm2015/types/dialog-size.js +2 -1
  685. package/esm2015/types/direction.js +2 -1
  686. package/esm2015/types/dropdown-width.js +2 -1
  687. package/esm2015/types/hint-mode.js +2 -1
  688. package/esm2015/types/index.js +14 -1
  689. package/esm2015/types/marker-handler.js +2 -1
  690. package/esm2015/types/option-role.js +2 -1
  691. package/esm2015/types/orientation.js +2 -1
  692. package/esm2015/types/point.js +2 -1
  693. package/esm2015/types/size.js +2 -1
  694. package/esm2015/types/taiga-ui-core-types.js +2 -1
  695. package/esm2015/utils/dom/check-fixed-position.js +3 -3
  696. package/esm2015/utils/dom/get-safe-area-size.js +4 -4
  697. package/esm2015/utils/dom/get-screen-width.js +1 -1
  698. package/esm2015/utils/dom/get-viewport-height.js +1 -1
  699. package/esm2015/utils/dom/get-viewport-width.js +1 -1
  700. package/esm2015/utils/dom/index.js +1 -2
  701. package/esm2015/utils/dom/process-icon.js +11 -11
  702. package/esm2015/utils/dom/taiga-ui-core-utils-dom.js +1 -1
  703. package/esm2015/utils/format/capitalize-first-letter.js +1 -1
  704. package/esm2015/utils/format/capitalize.js +1 -1
  705. package/esm2015/utils/format/format-number.js +7 -7
  706. package/esm2015/utils/format/format-phone.js +9 -9
  707. package/esm2015/utils/format/get-fractional-part-padded.js +6 -8
  708. package/esm2015/utils/format/index.js +1 -3
  709. package/esm2015/utils/format/number-to-string-without-exp.js +3 -3
  710. package/esm2015/utils/format/other-decimal-symbol.js +2 -2
  711. package/esm2015/utils/format/taiga-ui-core-utils-format.js +1 -1
  712. package/esm2015/utils/index.js +1 -1
  713. package/esm2015/utils/mask/create-auto-corrected-money-pipe.js +14 -14
  714. package/esm2015/utils/mask/create-correction-mask.js +3 -3
  715. package/esm2015/utils/mask/create-number-mask.js +13 -13
  716. package/esm2015/utils/mask/enable-auto-correct-decimal-symbol.js +1 -1
  717. package/esm2015/utils/mask/index.js +1 -1
  718. package/esm2015/utils/mask/masked-money-value-is-empty.js +3 -3
  719. package/esm2015/utils/mask/masked-number-string-to-number.js +2 -2
  720. package/esm2015/utils/mask/taiga-ui-core-utils-mask.js +1 -1
  721. package/esm2015/utils/miscellaneous/get-border.js +1 -1
  722. package/esm2015/utils/miscellaneous/icons-path-factory.js +3 -3
  723. package/esm2015/utils/miscellaneous/index.js +1 -2
  724. package/esm2015/utils/miscellaneous/is-editing-key.js +1 -1
  725. package/esm2015/utils/miscellaneous/is-presumed-html-string.js +2 -2
  726. package/esm2015/utils/miscellaneous/size-bigger.js +3 -3
  727. package/esm2015/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.js +1 -1
  728. package/esm2015/utils/mobile/index.js +1 -1
  729. package/esm2015/utils/mobile/is-mobile.js +1 -1
  730. package/esm2015/utils/mobile/taiga-ui-core-utils-mobile.js +1 -1
  731. package/esm2015/utils/polyfills/index.js +1 -1
  732. package/esm2015/utils/polyfills/inner-html.js +5 -5
  733. package/esm2015/utils/polyfills/taiga-ui-core-utils-polyfills.js +1 -1
  734. package/esm2015/utils/taiga-ui-core-utils.js +1 -1
  735. package/fesm2015/taiga-ui-core-abstract.js +65 -51
  736. package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
  737. package/fesm2015/taiga-ui-core-animations.js +138 -138
  738. package/fesm2015/taiga-ui-core-animations.js.map +1 -1
  739. package/fesm2015/taiga-ui-core-components-alert.js +94 -92
  740. package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
  741. package/fesm2015/taiga-ui-core-components-button.js +120 -96
  742. package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
  743. package/fesm2015/taiga-ui-core-components-calendar.js +78 -45
  744. package/fesm2015/taiga-ui-core-components-calendar.js.map +1 -1
  745. package/fesm2015/taiga-ui-core-components-data-list.js +232 -167
  746. package/fesm2015/taiga-ui-core-components-data-list.js.map +1 -1
  747. package/fesm2015/taiga-ui-core-components-dialog.js +125 -93
  748. package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
  749. package/fesm2015/taiga-ui-core-components-dropdown-box.js +131 -102
  750. package/fesm2015/taiga-ui-core-components-dropdown-box.js.map +1 -1
  751. package/fesm2015/taiga-ui-core-components-error.js +49 -36
  752. package/fesm2015/taiga-ui-core-components-error.js.map +1 -1
  753. package/fesm2015/taiga-ui-core-components-expand.js +78 -61
  754. package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
  755. package/fesm2015/taiga-ui-core-components-group.js +81 -74
  756. package/fesm2015/taiga-ui-core-components-group.js.map +1 -1
  757. package/fesm2015/taiga-ui-core-components-hints-host.js +160 -133
  758. package/fesm2015/taiga-ui-core-components-hints-host.js.map +1 -1
  759. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +121 -86
  760. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
  761. package/fesm2015/taiga-ui-core-components-label.js +49 -37
  762. package/fesm2015/taiga-ui-core-components-label.js.map +1 -1
  763. package/fesm2015/taiga-ui-core-components-link.js +93 -62
  764. package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
  765. package/fesm2015/taiga-ui-core-components-loader.js +61 -45
  766. package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
  767. package/fesm2015/taiga-ui-core-components-notification.js +60 -44
  768. package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
  769. package/fesm2015/taiga-ui-core-components-primitive-calendar.js +74 -48
  770. package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +1 -1
  771. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +57 -37
  772. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
  773. package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +67 -43
  774. package/fesm2015/taiga-ui-core-components-primitive-spin-button.js.map +1 -1
  775. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +344 -289
  776. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  777. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +60 -36
  778. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
  779. package/fesm2015/taiga-ui-core-components-root.js +86 -49
  780. package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
  781. package/fesm2015/taiga-ui-core-components-scroll-controls.js +173 -137
  782. package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +1 -1
  783. package/fesm2015/taiga-ui-core-components-scrollbar.js +105 -77
  784. package/fesm2015/taiga-ui-core-components-scrollbar.js.map +1 -1
  785. package/fesm2015/taiga-ui-core-components-svg.js +89 -66
  786. package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
  787. package/fesm2015/taiga-ui-core-components-theme-night.js +26 -19
  788. package/fesm2015/taiga-ui-core-components-theme-night.js.map +1 -1
  789. package/fesm2015/taiga-ui-core-components-tooltip.js +71 -50
  790. package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
  791. package/fesm2015/taiga-ui-core-components.js.map +1 -1
  792. package/fesm2015/taiga-ui-core-constants.js +20 -29
  793. package/fesm2015/taiga-ui-core-constants.js.map +1 -1
  794. package/fesm2015/taiga-ui-core-directives-described-by.js +45 -34
  795. package/fesm2015/taiga-ui-core-directives-described-by.js.map +1 -1
  796. package/fesm2015/taiga-ui-core-directives-dropdown-controller.js +61 -39
  797. package/fesm2015/taiga-ui-core-directives-dropdown-controller.js.map +1 -1
  798. package/fesm2015/taiga-ui-core-directives-dropdown.js +63 -45
  799. package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
  800. package/fesm2015/taiga-ui-core-directives-hint-controller.js +61 -43
  801. package/fesm2015/taiga-ui-core-directives-hint-controller.js.map +1 -1
  802. package/fesm2015/taiga-ui-core-directives-hint.js +86 -58
  803. package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
  804. package/fesm2015/taiga-ui-core-directives-manual-hint.js +48 -32
  805. package/fesm2015/taiga-ui-core-directives-manual-hint.js.map +1 -1
  806. package/fesm2015/taiga-ui-core-directives-mask-accessor.js +39 -25
  807. package/fesm2015/taiga-ui-core-directives-mask-accessor.js.map +1 -1
  808. package/fesm2015/taiga-ui-core-directives-mode.js +28 -21
  809. package/fesm2015/taiga-ui-core-directives-mode.js.map +1 -1
  810. package/fesm2015/taiga-ui-core-directives-pointer-hint.js +54 -39
  811. package/fesm2015/taiga-ui-core-directives-pointer-hint.js.map +1 -1
  812. package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +40 -34
  813. package/fesm2015/taiga-ui-core-directives-scroll-into-view.js.map +1 -1
  814. package/fesm2015/taiga-ui-core-directives-textfield-controller.js +374 -204
  815. package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
  816. package/fesm2015/taiga-ui-core-directives-wrapper.js +75 -77
  817. package/fesm2015/taiga-ui-core-directives-wrapper.js.map +1 -1
  818. package/fesm2015/taiga-ui-core-directives.js +0 -2
  819. package/fesm2015/taiga-ui-core-directives.js.map +1 -1
  820. package/fesm2015/taiga-ui-core-enums.js +3 -101
  821. package/fesm2015/taiga-ui-core-enums.js.map +1 -1
  822. package/fesm2015/taiga-ui-core-interfaces.js.map +1 -1
  823. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +55 -31
  824. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js.map +1 -1
  825. package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +47 -34
  826. package/fesm2015/taiga-ui-core-internal-svg-defs-host.js.map +1 -1
  827. package/fesm2015/taiga-ui-core-internal.js.map +1 -1
  828. package/fesm2015/taiga-ui-core-mask.js.map +1 -1
  829. package/fesm2015/taiga-ui-core-observables.js +2 -2
  830. package/fesm2015/taiga-ui-core-observables.js.map +1 -1
  831. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +30 -24
  832. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js.map +1 -1
  833. package/fesm2015/taiga-ui-core-pipes-format-number.js +25 -19
  834. package/fesm2015/taiga-ui-core-pipes-format-number.js.map +1 -1
  835. package/fesm2015/taiga-ui-core-pipes-format-phone.js +24 -17
  836. package/fesm2015/taiga-ui-core-pipes-format-phone.js.map +1 -1
  837. package/fesm2015/taiga-ui-core-pipes-month.js +26 -20
  838. package/fesm2015/taiga-ui-core-pipes-month.js.map +1 -1
  839. package/fesm2015/taiga-ui-core-pipes.js +0 -1
  840. package/fesm2015/taiga-ui-core-pipes.js.map +1 -1
  841. package/fesm2015/taiga-ui-core-providers.js +4 -9
  842. package/fesm2015/taiga-ui-core-providers.js.map +1 -1
  843. package/fesm2015/taiga-ui-core-services.js +76 -60
  844. package/fesm2015/taiga-ui-core-services.js.map +1 -1
  845. package/fesm2015/taiga-ui-core-tokens.js +42 -43
  846. package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
  847. package/fesm2015/taiga-ui-core-types.js +11 -0
  848. package/fesm2015/taiga-ui-core-types.js.map +1 -1
  849. package/fesm2015/taiga-ui-core-utils-dom.js +16 -28
  850. package/fesm2015/taiga-ui-core-utils-dom.js.map +1 -1
  851. package/fesm2015/taiga-ui-core-utils-format.js +21 -60
  852. package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
  853. package/fesm2015/taiga-ui-core-utils-mask.js +30 -30
  854. package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
  855. package/fesm2015/taiga-ui-core-utils-miscellaneous.js +6 -23
  856. package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
  857. package/fesm2015/taiga-ui-core-utils-mobile.js.map +1 -1
  858. package/fesm2015/taiga-ui-core-utils-polyfills.js +4 -4
  859. package/fesm2015/taiga-ui-core-utils-polyfills.js.map +1 -1
  860. package/fesm2015/taiga-ui-core-utils.js.map +1 -1
  861. package/fesm2015/taiga-ui-core.js +3 -0
  862. package/fesm2015/taiga-ui-core.js.map +1 -1
  863. package/interfaces/dropdown-directive.d.ts +2 -2
  864. package/interfaces/hint.d.ts +2 -1
  865. package/interfaces/index.d.ts +0 -1
  866. package/interfaces/package.json +2 -5
  867. package/interfaces/taiga-ui-core-interfaces.d.ts +1 -0
  868. package/internal/package.json +2 -5
  869. package/internal/primitive-year-month-pagination/package.json +2 -5
  870. package/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.d.ts +3 -0
  871. package/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.d.ts +10 -0
  872. package/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.d.ts +1 -0
  873. package/internal/svg-defs-host/package.json +2 -5
  874. package/internal/svg-defs-host/svg-defs-host.component.d.ts +3 -0
  875. package/internal/svg-defs-host/svg-defs-host.module.d.ts +7 -0
  876. package/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.d.ts +1 -0
  877. package/internal/taiga-ui-core-internal.d.ts +1 -0
  878. package/mask/package.json +2 -5
  879. package/mask/taiga-ui-core-mask.d.ts +1 -0
  880. package/observables/package.json +2 -5
  881. package/observables/taiga-ui-core-observables.d.ts +1 -0
  882. package/package.json +11 -14
  883. package/pipes/calendar-sheet/calendar-sheet.module.d.ts +5 -0
  884. package/pipes/calendar-sheet/calendar-sheet.pipe.d.ts +3 -0
  885. package/pipes/calendar-sheet/package.json +2 -5
  886. package/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.d.ts +1 -0
  887. package/pipes/format-number/format-number.module.d.ts +5 -0
  888. package/pipes/format-number/format-number.pipe.d.ts +3 -0
  889. package/pipes/format-number/package.json +2 -5
  890. package/pipes/format-number/taiga-ui-core-pipes-format-number.d.ts +1 -0
  891. package/pipes/format-phone/format-phone.module.d.ts +5 -0
  892. package/pipes/format-phone/format-phone.pipe.d.ts +3 -0
  893. package/pipes/format-phone/package.json +2 -5
  894. package/pipes/format-phone/taiga-ui-core-pipes-format-phone.d.ts +1 -0
  895. package/pipes/index.d.ts +0 -1
  896. package/pipes/month/month.module.d.ts +5 -0
  897. package/pipes/month/month.pipe.d.ts +4 -1
  898. package/pipes/month/package.json +2 -5
  899. package/pipes/month/taiga-ui-core-pipes-month.d.ts +1 -0
  900. package/pipes/package.json +2 -5
  901. package/pipes/taiga-ui-core-pipes.d.ts +1 -0
  902. package/providers/package.json +2 -5
  903. package/providers/taiga-ui-core-providers.d.ts +1 -0
  904. package/providers/watched-controller-provider-factory.d.ts +2 -6
  905. package/services/hint.service.d.ts +3 -0
  906. package/services/night-theme.service.d.ts +3 -0
  907. package/services/package.json +2 -5
  908. package/services/router-link-active.service.d.ts +3 -0
  909. package/services/svg.service.d.ts +3 -0
  910. package/services/taiga-ui-core-services.d.ts +1 -0
  911. package/styles/mixins/picker.less +6 -6
  912. package/styles/mixins/picker.scss +6 -6
  913. package/styles/mixins/wrapper.less +3 -3
  914. package/styles/mixins/wrapper.scss +3 -3
  915. package/styles/taiga-ui-fonts.less +1 -0
  916. package/styles/taiga-ui-theme.less +0 -1
  917. package/styles/theme/variables.less +5 -0
  918. package/styles/theme/wrapper/accent.less +0 -1
  919. package/styles/theme/wrapper/base.less +0 -1
  920. package/styles/theme/wrapper/icon.less +0 -1
  921. package/styles/theme/wrapper/none.less +0 -1
  922. package/styles/theme/wrapper/outline.less +0 -1
  923. package/styles/theme/wrapper/primary.less +0 -1
  924. package/styles/theme/wrapper/secondary.less +0 -3
  925. package/styles/theme/wrapper/table.less +0 -1
  926. package/styles/theme/wrapper/textfield.less +0 -3
  927. package/styles/theme/wrapper/whiteblock.less +0 -3
  928. package/taiga-ui-core.d.ts +1 -0
  929. package/tokens/notification-options.d.ts +0 -4
  930. package/tokens/package.json +2 -5
  931. package/tokens/taiga-ui-core-tokens.d.ts +1 -0
  932. package/types/decimal.d.ts +1 -1
  933. package/types/dropdown-width.d.ts +1 -1
  934. package/types/hint-mode.d.ts +1 -1
  935. package/types/index.d.ts +0 -2
  936. package/types/marker-handler.d.ts +1 -2
  937. package/types/orientation.d.ts +1 -1
  938. package/types/package.json +2 -5
  939. package/types/taiga-ui-core-types.d.ts +1 -0
  940. package/utils/dom/index.d.ts +0 -1
  941. package/utils/dom/package.json +2 -5
  942. package/utils/dom/taiga-ui-core-utils-dom.d.ts +1 -0
  943. package/utils/format/get-fractional-part-padded.d.ts +1 -3
  944. package/utils/format/index.d.ts +0 -2
  945. package/utils/format/package.json +2 -5
  946. package/utils/format/taiga-ui-core-utils-format.d.ts +1 -0
  947. package/utils/mask/package.json +2 -5
  948. package/utils/mask/taiga-ui-core-utils-mask.d.ts +1 -0
  949. package/utils/miscellaneous/index.d.ts +0 -1
  950. package/utils/miscellaneous/package.json +2 -5
  951. package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.d.ts +1 -0
  952. package/utils/mobile/package.json +2 -5
  953. package/utils/mobile/taiga-ui-core-utils-mobile.d.ts +1 -0
  954. package/utils/package.json +2 -5
  955. package/utils/polyfills/package.json +2 -5
  956. package/utils/polyfills/taiga-ui-core-utils-polyfills.d.ts +1 -0
  957. package/utils/taiga-ui-core-utils.d.ts +1 -0
  958. package/abstract/taiga-ui-core-abstract.metadata.json +0 -1
  959. package/animations/taiga-ui-core-animations.metadata.json +0 -1
  960. package/bundles/taiga-ui-core-abstract.umd.min.js +0 -2
  961. package/bundles/taiga-ui-core-abstract.umd.min.js.map +0 -1
  962. package/bundles/taiga-ui-core-animations.umd.min.js +0 -2
  963. package/bundles/taiga-ui-core-animations.umd.min.js.map +0 -1
  964. package/bundles/taiga-ui-core-components-alert.umd.min.js +0 -2
  965. package/bundles/taiga-ui-core-components-alert.umd.min.js.map +0 -1
  966. package/bundles/taiga-ui-core-components-button.umd.min.js +0 -2
  967. package/bundles/taiga-ui-core-components-button.umd.min.js.map +0 -1
  968. package/bundles/taiga-ui-core-components-calendar.umd.min.js +0 -2
  969. package/bundles/taiga-ui-core-components-calendar.umd.min.js.map +0 -1
  970. package/bundles/taiga-ui-core-components-data-list.umd.min.js +0 -2
  971. package/bundles/taiga-ui-core-components-data-list.umd.min.js.map +0 -1
  972. package/bundles/taiga-ui-core-components-dialog.umd.min.js +0 -2
  973. package/bundles/taiga-ui-core-components-dialog.umd.min.js.map +0 -1
  974. package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js +0 -2
  975. package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js.map +0 -1
  976. package/bundles/taiga-ui-core-components-error.umd.min.js +0 -2
  977. package/bundles/taiga-ui-core-components-error.umd.min.js.map +0 -1
  978. package/bundles/taiga-ui-core-components-expand.umd.min.js +0 -2
  979. package/bundles/taiga-ui-core-components-expand.umd.min.js.map +0 -1
  980. package/bundles/taiga-ui-core-components-group.umd.min.js +0 -2
  981. package/bundles/taiga-ui-core-components-group.umd.min.js.map +0 -1
  982. package/bundles/taiga-ui-core-components-hints-host.umd.min.js +0 -2
  983. package/bundles/taiga-ui-core-components-hints-host.umd.min.js.map +0 -1
  984. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js +0 -2
  985. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js.map +0 -1
  986. package/bundles/taiga-ui-core-components-label.umd.min.js +0 -2
  987. package/bundles/taiga-ui-core-components-label.umd.min.js.map +0 -1
  988. package/bundles/taiga-ui-core-components-link.umd.min.js +0 -2
  989. package/bundles/taiga-ui-core-components-link.umd.min.js.map +0 -1
  990. package/bundles/taiga-ui-core-components-loader.umd.min.js +0 -2
  991. package/bundles/taiga-ui-core-components-loader.umd.min.js.map +0 -1
  992. package/bundles/taiga-ui-core-components-notification.umd.min.js +0 -2
  993. package/bundles/taiga-ui-core-components-notification.umd.min.js.map +0 -1
  994. package/bundles/taiga-ui-core-components-primitive-calendar.umd.min.js +0 -2
  995. package/bundles/taiga-ui-core-components-primitive-calendar.umd.min.js.map +0 -1
  996. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js +0 -2
  997. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js.map +0 -1
  998. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.min.js +0 -2
  999. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.min.js.map +0 -1
  1000. package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js +0 -2
  1001. package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js.map +0 -1
  1002. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.min.js +0 -2
  1003. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.min.js.map +0 -1
  1004. package/bundles/taiga-ui-core-components-root.umd.min.js +0 -2
  1005. package/bundles/taiga-ui-core-components-root.umd.min.js.map +0 -1
  1006. package/bundles/taiga-ui-core-components-scroll-controls.umd.min.js +0 -2
  1007. package/bundles/taiga-ui-core-components-scroll-controls.umd.min.js.map +0 -1
  1008. package/bundles/taiga-ui-core-components-scrollbar.umd.min.js +0 -2
  1009. package/bundles/taiga-ui-core-components-scrollbar.umd.min.js.map +0 -1
  1010. package/bundles/taiga-ui-core-components-svg.umd.min.js +0 -2
  1011. package/bundles/taiga-ui-core-components-svg.umd.min.js.map +0 -1
  1012. package/bundles/taiga-ui-core-components-theme-night.umd.min.js +0 -2
  1013. package/bundles/taiga-ui-core-components-theme-night.umd.min.js.map +0 -1
  1014. package/bundles/taiga-ui-core-components-tooltip.umd.min.js +0 -2
  1015. package/bundles/taiga-ui-core-components-tooltip.umd.min.js.map +0 -1
  1016. package/bundles/taiga-ui-core-components.umd.min.js +0 -2
  1017. package/bundles/taiga-ui-core-components.umd.min.js.map +0 -1
  1018. package/bundles/taiga-ui-core-constants.umd.min.js +0 -2
  1019. package/bundles/taiga-ui-core-constants.umd.min.js.map +0 -1
  1020. package/bundles/taiga-ui-core-directives-color.umd.js +0 -314
  1021. package/bundles/taiga-ui-core-directives-color.umd.js.map +0 -1
  1022. package/bundles/taiga-ui-core-directives-color.umd.min.js +0 -2
  1023. package/bundles/taiga-ui-core-directives-color.umd.min.js.map +0 -1
  1024. package/bundles/taiga-ui-core-directives-described-by.umd.min.js +0 -2
  1025. package/bundles/taiga-ui-core-directives-described-by.umd.min.js.map +0 -1
  1026. package/bundles/taiga-ui-core-directives-dropdown-controller.umd.min.js +0 -2
  1027. package/bundles/taiga-ui-core-directives-dropdown-controller.umd.min.js.map +0 -1
  1028. package/bundles/taiga-ui-core-directives-dropdown.umd.min.js +0 -2
  1029. package/bundles/taiga-ui-core-directives-dropdown.umd.min.js.map +0 -1
  1030. package/bundles/taiga-ui-core-directives-hint-controller.umd.min.js +0 -2
  1031. package/bundles/taiga-ui-core-directives-hint-controller.umd.min.js.map +0 -1
  1032. package/bundles/taiga-ui-core-directives-hint.umd.min.js +0 -2
  1033. package/bundles/taiga-ui-core-directives-hint.umd.min.js.map +0 -1
  1034. package/bundles/taiga-ui-core-directives-manual-hint.umd.min.js +0 -2
  1035. package/bundles/taiga-ui-core-directives-manual-hint.umd.min.js.map +0 -1
  1036. package/bundles/taiga-ui-core-directives-mask-accessor.umd.min.js +0 -2
  1037. package/bundles/taiga-ui-core-directives-mask-accessor.umd.min.js.map +0 -1
  1038. package/bundles/taiga-ui-core-directives-mode.umd.min.js +0 -2
  1039. package/bundles/taiga-ui-core-directives-mode.umd.min.js.map +0 -1
  1040. package/bundles/taiga-ui-core-directives-pointer-hint.umd.min.js +0 -2
  1041. package/bundles/taiga-ui-core-directives-pointer-hint.umd.min.js.map +0 -1
  1042. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.min.js +0 -2
  1043. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.min.js.map +0 -1
  1044. package/bundles/taiga-ui-core-directives-table-mode.umd.js +0 -295
  1045. package/bundles/taiga-ui-core-directives-table-mode.umd.js.map +0 -1
  1046. package/bundles/taiga-ui-core-directives-table-mode.umd.min.js +0 -2
  1047. package/bundles/taiga-ui-core-directives-table-mode.umd.min.js.map +0 -1
  1048. package/bundles/taiga-ui-core-directives-textfield-controller.umd.min.js +0 -2
  1049. package/bundles/taiga-ui-core-directives-textfield-controller.umd.min.js.map +0 -1
  1050. package/bundles/taiga-ui-core-directives-wrapper.umd.min.js +0 -2
  1051. package/bundles/taiga-ui-core-directives-wrapper.umd.min.js.map +0 -1
  1052. package/bundles/taiga-ui-core-directives.umd.min.js +0 -2
  1053. package/bundles/taiga-ui-core-directives.umd.min.js.map +0 -1
  1054. package/bundles/taiga-ui-core-enums.umd.min.js +0 -2
  1055. package/bundles/taiga-ui-core-enums.umd.min.js.map +0 -1
  1056. package/bundles/taiga-ui-core-interfaces.umd.min.js +0 -2
  1057. package/bundles/taiga-ui-core-interfaces.umd.min.js.map +0 -1
  1058. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.min.js +0 -2
  1059. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.min.js.map +0 -1
  1060. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.min.js +0 -2
  1061. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.min.js.map +0 -1
  1062. package/bundles/taiga-ui-core-internal.umd.min.js +0 -2
  1063. package/bundles/taiga-ui-core-internal.umd.min.js.map +0 -1
  1064. package/bundles/taiga-ui-core-mask.umd.min.js +0 -2
  1065. package/bundles/taiga-ui-core-mask.umd.min.js.map +0 -1
  1066. package/bundles/taiga-ui-core-observables.umd.min.js +0 -2
  1067. package/bundles/taiga-ui-core-observables.umd.min.js.map +0 -1
  1068. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.min.js +0 -2
  1069. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.min.js.map +0 -1
  1070. package/bundles/taiga-ui-core-pipes-format-number.umd.min.js +0 -2
  1071. package/bundles/taiga-ui-core-pipes-format-number.umd.min.js.map +0 -1
  1072. package/bundles/taiga-ui-core-pipes-format-phone.umd.min.js +0 -2
  1073. package/bundles/taiga-ui-core-pipes-format-phone.umd.min.js.map +0 -1
  1074. package/bundles/taiga-ui-core-pipes-month.umd.min.js +0 -2
  1075. package/bundles/taiga-ui-core-pipes-month.umd.min.js.map +0 -1
  1076. package/bundles/taiga-ui-core-pipes-pluralize.umd.js +0 -296
  1077. package/bundles/taiga-ui-core-pipes-pluralize.umd.js.map +0 -1
  1078. package/bundles/taiga-ui-core-pipes-pluralize.umd.min.js +0 -2
  1079. package/bundles/taiga-ui-core-pipes-pluralize.umd.min.js.map +0 -1
  1080. package/bundles/taiga-ui-core-pipes.umd.min.js +0 -2
  1081. package/bundles/taiga-ui-core-pipes.umd.min.js.map +0 -1
  1082. package/bundles/taiga-ui-core-providers.umd.min.js +0 -2
  1083. package/bundles/taiga-ui-core-providers.umd.min.js.map +0 -1
  1084. package/bundles/taiga-ui-core-services.umd.min.js +0 -2
  1085. package/bundles/taiga-ui-core-services.umd.min.js.map +0 -1
  1086. package/bundles/taiga-ui-core-tokens.umd.min.js +0 -2
  1087. package/bundles/taiga-ui-core-tokens.umd.min.js.map +0 -1
  1088. package/bundles/taiga-ui-core-types.umd.min.js +0 -2
  1089. package/bundles/taiga-ui-core-types.umd.min.js.map +0 -1
  1090. package/bundles/taiga-ui-core-utils-dom.umd.min.js +0 -2
  1091. package/bundles/taiga-ui-core-utils-dom.umd.min.js.map +0 -1
  1092. package/bundles/taiga-ui-core-utils-format.umd.min.js +0 -2
  1093. package/bundles/taiga-ui-core-utils-format.umd.min.js.map +0 -1
  1094. package/bundles/taiga-ui-core-utils-mask.umd.min.js +0 -2
  1095. package/bundles/taiga-ui-core-utils-mask.umd.min.js.map +0 -1
  1096. package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js +0 -2
  1097. package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js.map +0 -1
  1098. package/bundles/taiga-ui-core-utils-mobile.umd.min.js +0 -2
  1099. package/bundles/taiga-ui-core-utils-mobile.umd.min.js.map +0 -1
  1100. package/bundles/taiga-ui-core-utils-polyfills.umd.min.js +0 -2
  1101. package/bundles/taiga-ui-core-utils-polyfills.umd.min.js.map +0 -1
  1102. package/bundles/taiga-ui-core-utils.umd.min.js +0 -2
  1103. package/bundles/taiga-ui-core-utils.umd.min.js.map +0 -1
  1104. package/bundles/taiga-ui-core.umd.min.js +0 -2
  1105. package/bundles/taiga-ui-core.umd.min.js.map +0 -1
  1106. package/components/alert/taiga-ui-core-components-alert.metadata.json +0 -1
  1107. package/components/button/taiga-ui-core-components-button.metadata.json +0 -1
  1108. package/components/calendar/taiga-ui-core-components-calendar.metadata.json +0 -1
  1109. package/components/data-list/taiga-ui-core-components-data-list.metadata.json +0 -1
  1110. package/components/dialog/taiga-ui-core-components-dialog.metadata.json +0 -1
  1111. package/components/dropdown-box/taiga-ui-core-components-dropdown-box.metadata.json +0 -1
  1112. package/components/error/taiga-ui-core-components-error.metadata.json +0 -1
  1113. package/components/expand/taiga-ui-core-components-expand.metadata.json +0 -1
  1114. package/components/group/group.component.d.ts +0 -4
  1115. package/components/group/taiga-ui-core-components-group.metadata.json +0 -1
  1116. package/components/hints-host/taiga-ui-core-components-hints-host.metadata.json +0 -1
  1117. package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.metadata.json +0 -1
  1118. package/components/label/taiga-ui-core-components-label.metadata.json +0 -1
  1119. package/components/link/taiga-ui-core-components-link.metadata.json +0 -1
  1120. package/components/loader/taiga-ui-core-components-loader.metadata.json +0 -1
  1121. package/components/notification/taiga-ui-core-components-notification.metadata.json +0 -1
  1122. package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.metadata.json +0 -1
  1123. package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.metadata.json +0 -1
  1124. package/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.metadata.json +0 -1
  1125. package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.metadata.json +0 -1
  1126. package/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.metadata.json +0 -1
  1127. package/components/root/taiga-ui-core-components-root.metadata.json +0 -1
  1128. package/components/scroll-controls/taiga-ui-core-components-scroll-controls.metadata.json +0 -1
  1129. package/components/scrollbar/taiga-ui-core-components-scrollbar.metadata.json +0 -1
  1130. package/components/svg/taiga-ui-core-components-svg.metadata.json +0 -1
  1131. package/components/taiga-ui-core-components.metadata.json +0 -1
  1132. package/components/theme-night/taiga-ui-core-components-theme-night.metadata.json +0 -1
  1133. package/components/tooltip/taiga-ui-core-components-tooltip.metadata.json +0 -1
  1134. package/constants/media.d.ts +0 -10
  1135. package/constants/taiga-ui-core-constants.metadata.json +0 -1
  1136. package/directives/color/color.const.d.ts +0 -4
  1137. package/directives/color/color.directive.d.ts +0 -10
  1138. package/directives/color/color.module.d.ts +0 -5
  1139. package/directives/color/index.d.ts +0 -3
  1140. package/directives/color/package.json +0 -13
  1141. package/directives/color/taiga-ui-core-directives-color.d.ts +0 -4
  1142. package/directives/color/taiga-ui-core-directives-color.metadata.json +0 -1
  1143. package/directives/described-by/taiga-ui-core-directives-described-by.metadata.json +0 -1
  1144. package/directives/dropdown/taiga-ui-core-directives-dropdown.metadata.json +0 -1
  1145. package/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.metadata.json +0 -1
  1146. package/directives/hint/taiga-ui-core-directives-hint.metadata.json +0 -1
  1147. package/directives/hint-controller/taiga-ui-core-directives-hint-controller.metadata.json +0 -1
  1148. package/directives/manual-hint/taiga-ui-core-directives-manual-hint.metadata.json +0 -1
  1149. package/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.metadata.json +0 -1
  1150. package/directives/mode/taiga-ui-core-directives-mode.metadata.json +0 -1
  1151. package/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.metadata.json +0 -1
  1152. package/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.metadata.json +0 -1
  1153. package/directives/table-mode/index.d.ts +0 -2
  1154. package/directives/table-mode/package.json +0 -13
  1155. package/directives/table-mode/table-mode.directive.d.ts +0 -5
  1156. package/directives/table-mode/table-mode.module.d.ts +0 -3
  1157. package/directives/table-mode/taiga-ui-core-directives-table-mode.d.ts +0 -4
  1158. package/directives/table-mode/taiga-ui-core-directives-table-mode.metadata.json +0 -1
  1159. package/directives/taiga-ui-core-directives.metadata.json +0 -1
  1160. package/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.metadata.json +0 -1
  1161. package/directives/wrapper/taiga-ui-core-directives-wrapper.metadata.json +0 -1
  1162. package/enums/base-color.d.ts +0 -9
  1163. package/enums/button-shape.d.ts +0 -7
  1164. package/enums/decimal.d.ts +0 -8
  1165. package/enums/dropdown-width.d.ts +0 -8
  1166. package/enums/hint-mode.d.ts +0 -8
  1167. package/enums/link-mode.d.ts +0 -7
  1168. package/enums/orientation.d.ts +0 -7
  1169. package/enums/support-color.d.ts +0 -26
  1170. package/enums/taiga-ui-core-enums.metadata.json +0 -1
  1171. package/esm2015/components/group/group.component.js +0 -19
  1172. package/esm2015/constants/media.js +0 -11
  1173. package/esm2015/directives/color/color.const.js +0 -318
  1174. package/esm2015/directives/color/color.directive.js +0 -35
  1175. package/esm2015/directives/color/color.module.js +0 -16
  1176. package/esm2015/directives/color/index.js +0 -4
  1177. package/esm2015/directives/color/taiga-ui-core-directives-color.js +0 -5
  1178. package/esm2015/directives/table-mode/index.js +0 -3
  1179. package/esm2015/directives/table-mode/table-mode.directive.js +0 -21
  1180. package/esm2015/directives/table-mode/table-mode.module.js +0 -14
  1181. package/esm2015/directives/table-mode/taiga-ui-core-directives-table-mode.js +0 -5
  1182. package/esm2015/enums/base-color.js +0 -11
  1183. package/esm2015/enums/button-shape.js +0 -9
  1184. package/esm2015/enums/decimal.js +0 -10
  1185. package/esm2015/enums/dropdown-width.js +0 -10
  1186. package/esm2015/enums/hint-mode.js +0 -10
  1187. package/esm2015/enums/link-mode.js +0 -9
  1188. package/esm2015/enums/orientation.js +0 -9
  1189. package/esm2015/enums/support-color.js +0 -28
  1190. package/esm2015/interfaces/notification-options.js +0 -1
  1191. package/esm2015/pipes/pluralize/index.js +0 -3
  1192. package/esm2015/pipes/pluralize/pluralize.module.js +0 -14
  1193. package/esm2015/pipes/pluralize/pluralize.pipe.js +0 -22
  1194. package/esm2015/pipes/pluralize/taiga-ui-core-pipes-pluralize.js +0 -5
  1195. package/esm2015/types/color.js +0 -1
  1196. package/esm2015/types/pluralize.js +0 -1
  1197. package/esm2015/utils/dom/are-css-vars-supported.js +0 -11
  1198. package/esm2015/utils/format/pluralize-to-icu.js +0 -13
  1199. package/esm2015/utils/format/pluralize.js +0 -23
  1200. package/esm2015/utils/miscellaneous/color-fallback.js +0 -17
  1201. package/esm5/abstract/abstract-dropdown.js +0 -130
  1202. package/esm5/abstract/abstract-hint-options.js +0 -6
  1203. package/esm5/abstract/abstract-hint.js +0 -44
  1204. package/esm5/abstract/abstract-textfield-host.js +0 -55
  1205. package/esm5/abstract/index.js +0 -5
  1206. package/esm5/abstract/taiga-ui-core-abstract.js +0 -5
  1207. package/esm5/animations/animations.js +0 -251
  1208. package/esm5/animations/index.js +0 -2
  1209. package/esm5/animations/taiga-ui-core-animations.js +0 -5
  1210. package/esm5/components/alert/alert.component.js +0 -98
  1211. package/esm5/components/alert/alert.module.js +0 -40
  1212. package/esm5/components/alert/alert.service.js +0 -52
  1213. package/esm5/components/alert/index.js +0 -4
  1214. package/esm5/components/alert/taiga-ui-core-components-alert.js +0 -5
  1215. package/esm5/components/button/button-options.js +0 -15
  1216. package/esm5/components/button/button.component.js +0 -156
  1217. package/esm5/components/button/button.module.js +0 -28
  1218. package/esm5/components/button/index.js +0 -4
  1219. package/esm5/components/button/taiga-ui-core-components-button.js +0 -5
  1220. package/esm5/components/calendar/calendar.component.js +0 -135
  1221. package/esm5/components/calendar/calendar.module.js +0 -30
  1222. package/esm5/components/calendar/index.js +0 -3
  1223. package/esm5/components/calendar/taiga-ui-core-components-calendar.js +0 -5
  1224. package/esm5/components/data-list/data-list-dropdown-manager.directive.js +0 -142
  1225. package/esm5/components/data-list/data-list.component.js +0 -128
  1226. package/esm5/components/data-list/data-list.directive.js +0 -14
  1227. package/esm5/components/data-list/data-list.module.js +0 -36
  1228. package/esm5/components/data-list/index.js +0 -7
  1229. package/esm5/components/data-list/opt-group.directive.js +0 -24
  1230. package/esm5/components/data-list/option/option.component.js +0 -107
  1231. package/esm5/components/data-list/taiga-ui-core-components-data-list.js +0 -5
  1232. package/esm5/components/dialog/dialog.component.js +0 -102
  1233. package/esm5/components/dialog/dialog.directive.js +0 -26
  1234. package/esm5/components/dialog/dialog.module.js +0 -31
  1235. package/esm5/components/dialog/dialog.providers.js +0 -59
  1236. package/esm5/components/dialog/dialog.service.js +0 -34
  1237. package/esm5/components/dialog/index.js +0 -6
  1238. package/esm5/components/dialog/taiga-ui-core-components-dialog.js +0 -5
  1239. package/esm5/components/dropdown-box/dropdown-box.component.js +0 -313
  1240. package/esm5/components/dropdown-box/dropdown-box.module.js +0 -28
  1241. package/esm5/components/dropdown-box/index.js +0 -3
  1242. package/esm5/components/dropdown-box/taiga-ui-core-components-dropdown-box.js +0 -5
  1243. package/esm5/components/error/error.component.js +0 -48
  1244. package/esm5/components/error/error.module.js +0 -19
  1245. package/esm5/components/error/index.js +0 -3
  1246. package/esm5/components/error/taiga-ui-core-components-error.js +0 -5
  1247. package/esm5/components/expand/expand-content.directive.js +0 -15
  1248. package/esm5/components/expand/expand.component.js +0 -153
  1249. package/esm5/components/expand/expand.module.js +0 -20
  1250. package/esm5/components/expand/index.js +0 -4
  1251. package/esm5/components/expand/taiga-ui-core-components-expand.js +0 -5
  1252. package/esm5/components/group/group-styles.component.js +0 -16
  1253. package/esm5/components/group/group.component.js +0 -24
  1254. package/esm5/components/group/group.directive.js +0 -83
  1255. package/esm5/components/group/group.module.js +0 -21
  1256. package/esm5/components/group/index.js +0 -5
  1257. package/esm5/components/group/taiga-ui-core-components-group.js +0 -5
  1258. package/esm5/components/hints-host/hint-box/hint-box.component.js +0 -279
  1259. package/esm5/components/hints-host/hint-box/hint-box.module.js +0 -21
  1260. package/esm5/components/hints-host/hints-host.component.js +0 -42
  1261. package/esm5/components/hints-host/hints-host.module.js +0 -21
  1262. package/esm5/components/hints-host/index.js +0 -5
  1263. package/esm5/components/hints-host/taiga-ui-core-components-hints-host.js +0 -5
  1264. package/esm5/components/hosted-dropdown/hosted-dropdown-connector.directive.js +0 -14
  1265. package/esm5/components/hosted-dropdown/hosted-dropdown.component.js +0 -230
  1266. package/esm5/components/hosted-dropdown/hosted-dropdown.module.js +0 -28
  1267. package/esm5/components/hosted-dropdown/index.js +0 -4
  1268. package/esm5/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.js +0 -5
  1269. package/esm5/components/index.js +0 -27
  1270. package/esm5/components/label/index.js +0 -3
  1271. package/esm5/components/label/label.component.js +0 -48
  1272. package/esm5/components/label/label.module.js +0 -18
  1273. package/esm5/components/label/taiga-ui-core-components-label.js +0 -5
  1274. package/esm5/components/link/index.js +0 -3
  1275. package/esm5/components/link/link.component.js +0 -121
  1276. package/esm5/components/link/link.module.js +0 -19
  1277. package/esm5/components/link/taiga-ui-core-components-link.js +0 -5
  1278. package/esm5/components/loader/index.js +0 -4
  1279. package/esm5/components/loader/loader-options.js +0 -16
  1280. package/esm5/components/loader/loader.component.js +0 -105
  1281. package/esm5/components/loader/loader.module.js +0 -19
  1282. package/esm5/components/loader/taiga-ui-core-components-loader.js +0 -5
  1283. package/esm5/components/notification/index.js +0 -3
  1284. package/esm5/components/notification/notification.component.js +0 -68
  1285. package/esm5/components/notification/notification.module.js +0 -20
  1286. package/esm5/components/notification/taiga-ui-core-components-notification.js +0 -5
  1287. package/esm5/components/primitive-calendar/index.js +0 -3
  1288. package/esm5/components/primitive-calendar/primitive-calendar.component.js +0 -165
  1289. package/esm5/components/primitive-calendar/primitive-calendar.module.js +0 -30
  1290. package/esm5/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.js +0 -5
  1291. package/esm5/components/primitive-checkbox/checkbox-options.js +0 -29
  1292. package/esm5/components/primitive-checkbox/index.js +0 -4
  1293. package/esm5/components/primitive-checkbox/primitive-checkbox.component.js +0 -99
  1294. package/esm5/components/primitive-checkbox/primitive-checkbox.module.js +0 -20
  1295. package/esm5/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.js +0 -5
  1296. package/esm5/components/primitive-spin-button/index.js +0 -3
  1297. package/esm5/components/primitive-spin-button/primitive-spin-button.component.js +0 -97
  1298. package/esm5/components/primitive-spin-button/primitive-spin-button.module.js +0 -27
  1299. package/esm5/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.js +0 -5
  1300. package/esm5/components/primitive-textfield/index.js +0 -8
  1301. package/esm5/components/primitive-textfield/primitive-textfield-options.js +0 -17
  1302. package/esm5/components/primitive-textfield/primitive-textfield.component.js +0 -370
  1303. package/esm5/components/primitive-textfield/primitive-textfield.directive.js +0 -49
  1304. package/esm5/components/primitive-textfield/primitive-textfield.module.js +0 -51
  1305. package/esm5/components/primitive-textfield/primitive-textfield.providers.js +0 -16
  1306. package/esm5/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.js +0 -5
  1307. package/esm5/components/primitive-textfield/textfield/textfield.component.js +0 -77
  1308. package/esm5/components/primitive-textfield/value-decoration/value-decoration.component.js +0 -123
  1309. package/esm5/components/primitive-year-picker/index.js +0 -3
  1310. package/esm5/components/primitive-year-picker/primitive-year-picker.component.js +0 -174
  1311. package/esm5/components/primitive-year-picker/primitive-year-picker.module.js +0 -25
  1312. package/esm5/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.js +0 -5
  1313. package/esm5/components/root/index.js +0 -3
  1314. package/esm5/components/root/root.component.js +0 -63
  1315. package/esm5/components/root/root.module.js +0 -33
  1316. package/esm5/components/root/taiga-ui-core-components-root.js +0 -5
  1317. package/esm5/components/scroll-controls/index.js +0 -4
  1318. package/esm5/components/scroll-controls/scroll-controls.component.js +0 -68
  1319. package/esm5/components/scroll-controls/scroll-controls.module.js +0 -25
  1320. package/esm5/components/scroll-controls/scrollbar-wrapper.directive.js +0 -21
  1321. package/esm5/components/scroll-controls/scrollbar.directive.js +0 -171
  1322. package/esm5/components/scroll-controls/taiga-ui-core-components-scroll-controls.js +0 -6
  1323. package/esm5/components/scrollbar/index.js +0 -5
  1324. package/esm5/components/scrollbar/scroll-ref.directive.js +0 -22
  1325. package/esm5/components/scrollbar/scrollable.directive.js +0 -26
  1326. package/esm5/components/scrollbar/scrollbar.component.js +0 -97
  1327. package/esm5/components/scrollbar/scrollbar.module.js +0 -21
  1328. package/esm5/components/scrollbar/taiga-ui-core-components-scrollbar.js +0 -5
  1329. package/esm5/components/svg/index.js +0 -3
  1330. package/esm5/components/svg/svg.component.js +0 -207
  1331. package/esm5/components/svg/svg.module.js +0 -19
  1332. package/esm5/components/svg/taiga-ui-core-components-svg.js +0 -5
  1333. package/esm5/components/taiga-ui-core-components.js +0 -5
  1334. package/esm5/components/theme-night/index.js +0 -3
  1335. package/esm5/components/theme-night/taiga-ui-core-components-theme-night.js +0 -5
  1336. package/esm5/components/theme-night/theme-night.component.js +0 -21
  1337. package/esm5/components/theme-night/theme-night.module.js +0 -16
  1338. package/esm5/components/tooltip/index.js +0 -3
  1339. package/esm5/components/tooltip/taiga-ui-core-components-tooltip.js +0 -5
  1340. package/esm5/components/tooltip/tooltip.component.js +0 -99
  1341. package/esm5/components/tooltip/tooltip.module.js +0 -21
  1342. package/esm5/constants/absolute-box-sizes.js +0 -5
  1343. package/esm5/constants/decimal-symbols.js +0 -2
  1344. package/esm5/constants/default-icons-path.js +0 -4
  1345. package/esm5/constants/default-marker-handler.js +0 -3
  1346. package/esm5/constants/editing-keys.js +0 -12
  1347. package/esm5/constants/events.js +0 -19
  1348. package/esm5/constants/index.js +0 -11
  1349. package/esm5/constants/mask-caret-trap.js +0 -2
  1350. package/esm5/constants/media.js +0 -11
  1351. package/esm5/constants/regexp.js +0 -9
  1352. package/esm5/constants/taiga-ui-core-constants.js +0 -5
  1353. package/esm5/constants/version.js +0 -2
  1354. package/esm5/directives/color/color.const.js +0 -5
  1355. package/esm5/directives/color/color.directive.js +0 -36
  1356. package/esm5/directives/color/color.module.js +0 -19
  1357. package/esm5/directives/color/index.js +0 -4
  1358. package/esm5/directives/color/taiga-ui-core-directives-color.js +0 -5
  1359. package/esm5/directives/described-by/described-by.directive.js +0 -56
  1360. package/esm5/directives/described-by/described-by.module.js +0 -16
  1361. package/esm5/directives/described-by/described-by.providers.js +0 -26
  1362. package/esm5/directives/described-by/index.js +0 -4
  1363. package/esm5/directives/described-by/taiga-ui-core-directives-described-by.js +0 -5
  1364. package/esm5/directives/dropdown/dropdown.directive.js +0 -55
  1365. package/esm5/directives/dropdown/dropdown.module.js +0 -18
  1366. package/esm5/directives/dropdown/index.js +0 -3
  1367. package/esm5/directives/dropdown/taiga-ui-core-directives-dropdown.js +0 -5
  1368. package/esm5/directives/dropdown-controller/dropdown-controller.directive.js +0 -58
  1369. package/esm5/directives/dropdown-controller/dropdown-controller.module.js +0 -16
  1370. package/esm5/directives/dropdown-controller/dropdown-controller.provider.js +0 -16
  1371. package/esm5/directives/dropdown-controller/dropdown-controller.token.js +0 -6
  1372. package/esm5/directives/dropdown-controller/index.js +0 -5
  1373. package/esm5/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.js +0 -5
  1374. package/esm5/directives/hint/hint-options.js +0 -15
  1375. package/esm5/directives/hint/hint.directive.js +0 -145
  1376. package/esm5/directives/hint/hint.module.js +0 -16
  1377. package/esm5/directives/hint/index.js +0 -4
  1378. package/esm5/directives/hint/taiga-ui-core-directives-hint.js +0 -5
  1379. package/esm5/directives/hint-controller/hint-controller.directive.js +0 -60
  1380. package/esm5/directives/hint-controller/hint-controller.module.js +0 -16
  1381. package/esm5/directives/hint-controller/hint-controller.provider.js +0 -16
  1382. package/esm5/directives/hint-controller/hint-controller.token.js +0 -7
  1383. package/esm5/directives/hint-controller/index.js +0 -5
  1384. package/esm5/directives/hint-controller/taiga-ui-core-directives-hint-controller.js +0 -5
  1385. package/esm5/directives/index.js +0 -15
  1386. package/esm5/directives/manual-hint/index.js +0 -4
  1387. package/esm5/directives/manual-hint/manual-hint-options.js +0 -13
  1388. package/esm5/directives/manual-hint/manual-hint.directive.js +0 -57
  1389. package/esm5/directives/manual-hint/manual-hint.module.js +0 -16
  1390. package/esm5/directives/manual-hint/taiga-ui-core-directives-manual-hint.js +0 -5
  1391. package/esm5/directives/mask-accessor/index.js +0 -3
  1392. package/esm5/directives/mask-accessor/mask-accessor.directive.js +0 -28
  1393. package/esm5/directives/mask-accessor/mask-accessor.module.js +0 -19
  1394. package/esm5/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.js +0 -5
  1395. package/esm5/directives/mode/index.js +0 -3
  1396. package/esm5/directives/mode/mode.directive.js +0 -22
  1397. package/esm5/directives/mode/mode.module.js +0 -16
  1398. package/esm5/directives/mode/taiga-ui-core-directives-mode.js +0 -5
  1399. package/esm5/directives/pointer-hint/index.js +0 -4
  1400. package/esm5/directives/pointer-hint/pointer-hint-options.js +0 -13
  1401. package/esm5/directives/pointer-hint/pointer-hint.directive.js +0 -109
  1402. package/esm5/directives/pointer-hint/pointer-hint.module.js +0 -16
  1403. package/esm5/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.js +0 -5
  1404. package/esm5/directives/scroll-into-view/index.js +0 -3
  1405. package/esm5/directives/scroll-into-view/scroll-into-view.directive.js +0 -59
  1406. package/esm5/directives/scroll-into-view/scroll-into-view.module.js +0 -16
  1407. package/esm5/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.js +0 -5
  1408. package/esm5/directives/table-mode/index.js +0 -3
  1409. package/esm5/directives/table-mode/table-mode.directive.js +0 -24
  1410. package/esm5/directives/table-mode/table-mode.module.js +0 -17
  1411. package/esm5/directives/table-mode/taiga-ui-core-directives-table-mode.js +0 -5
  1412. package/esm5/directives/taiga-ui-core-directives.js +0 -5
  1413. package/esm5/directives/textfield-controller/index.js +0 -13
  1414. package/esm5/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.js +0 -5
  1415. package/esm5/directives/textfield-controller/textfield-autocomplete.directive.js +0 -37
  1416. package/esm5/directives/textfield-controller/textfield-cleaner.directive.js +0 -37
  1417. package/esm5/directives/textfield-controller/textfield-controller.module.js +0 -44
  1418. package/esm5/directives/textfield-controller/textfield-controller.provider.js +0 -54
  1419. package/esm5/directives/textfield-controller/textfield-custom-content.directive.js +0 -38
  1420. package/esm5/directives/textfield-controller/textfield-example-text.directive.js +0 -37
  1421. package/esm5/directives/textfield-controller/textfield-input-mode.directive.js +0 -37
  1422. package/esm5/directives/textfield-controller/textfield-label-outside.directive.js +0 -37
  1423. package/esm5/directives/textfield-controller/textfield-max-length.directive.js +0 -37
  1424. package/esm5/directives/textfield-controller/textfield-size.directive.js +0 -37
  1425. package/esm5/directives/textfield-controller/textfield-type.directive.js +0 -37
  1426. package/esm5/directives/textfield-controller/textfield.controller.js +0 -80
  1427. package/esm5/directives/wrapper/index.js +0 -3
  1428. package/esm5/directives/wrapper/taiga-ui-core-directives-wrapper.js +0 -5
  1429. package/esm5/directives/wrapper/wrapper.directive.js +0 -120
  1430. package/esm5/directives/wrapper/wrapper.module.js +0 -16
  1431. package/esm5/enums/appearance.js +0 -14
  1432. package/esm5/enums/base-color.js +0 -11
  1433. package/esm5/enums/button-shape.js +0 -9
  1434. package/esm5/enums/decimal.js +0 -10
  1435. package/esm5/enums/dropdown-animation.js +0 -6
  1436. package/esm5/enums/dropdown-width.js +0 -10
  1437. package/esm5/enums/hint-mode.js +0 -10
  1438. package/esm5/enums/index.js +0 -14
  1439. package/esm5/enums/interactive-state.js +0 -13
  1440. package/esm5/enums/link-mode.js +0 -9
  1441. package/esm5/enums/notification.js +0 -8
  1442. package/esm5/enums/orientation.js +0 -9
  1443. package/esm5/enums/range-state.js +0 -10
  1444. package/esm5/enums/support-color.js +0 -28
  1445. package/esm5/enums/taiga-ui-core-enums.js +0 -5
  1446. package/esm5/index.js +0 -14
  1447. package/esm5/interfaces/alert-options.js +0 -1
  1448. package/esm5/interfaces/animation-options.js +0 -1
  1449. package/esm5/interfaces/data-list-accessor.js +0 -1
  1450. package/esm5/interfaces/data-list-host.js +0 -1
  1451. package/esm5/interfaces/dialog-context.js +0 -1
  1452. package/esm5/interfaces/dialog-options.js +0 -1
  1453. package/esm5/interfaces/dropdown-directive.js +0 -1
  1454. package/esm5/interfaces/hint.js +0 -1
  1455. package/esm5/interfaces/icon-error.js +0 -1
  1456. package/esm5/interfaces/index.js +0 -1
  1457. package/esm5/interfaces/media.js +0 -1
  1458. package/esm5/interfaces/notification-options.js +0 -1
  1459. package/esm5/interfaces/number-format-settings.js +0 -1
  1460. package/esm5/interfaces/taiga-ui-core-interfaces.js +0 -4
  1461. package/esm5/interfaces/textfield-host.js +0 -1
  1462. package/esm5/interfaces/value-content-context.js +0 -1
  1463. package/esm5/interfaces/with-optional-min-max.js +0 -1
  1464. package/esm5/internal/index.js +0 -3
  1465. package/esm5/internal/primitive-year-month-pagination/index.js +0 -3
  1466. package/esm5/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +0 -89
  1467. package/esm5/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +0 -28
  1468. package/esm5/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.js +0 -5
  1469. package/esm5/internal/svg-defs-host/index.js +0 -3
  1470. package/esm5/internal/svg-defs-host/svg-defs-host.component.js +0 -50
  1471. package/esm5/internal/svg-defs-host/svg-defs-host.module.js +0 -19
  1472. package/esm5/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.js +0 -5
  1473. package/esm5/internal/taiga-ui-core-internal.js +0 -5
  1474. package/esm5/mask/index.js +0 -1
  1475. package/esm5/mask/number-mask-options.js +0 -1
  1476. package/esm5/mask/taiga-ui-core-mask.js +0 -4
  1477. package/esm5/mask/text-mask-config.js +0 -1
  1478. package/esm5/mask/text-mask-correction-handler.js +0 -1
  1479. package/esm5/mask/text-mask-list-handler.js +0 -1
  1480. package/esm5/mask/text-mask-list.js +0 -1
  1481. package/esm5/mask/text-mask-options.js +0 -1
  1482. package/esm5/mask/text-mask-pipe-handler.js +0 -1
  1483. package/esm5/mask/text-mask-pipe-result.js +0 -1
  1484. package/esm5/observables/index.js +0 -3
  1485. package/esm5/observables/smart-search.js +0 -18
  1486. package/esm5/observables/taiga-ui-core-observables.js +0 -5
  1487. package/esm5/observables/zoneful-map.js +0 -14
  1488. package/esm5/pipes/calendar-sheet/calendar-sheet.module.js +0 -16
  1489. package/esm5/pipes/calendar-sheet/calendar-sheet.pipe.js +0 -63
  1490. package/esm5/pipes/calendar-sheet/index.js +0 -3
  1491. package/esm5/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.js +0 -5
  1492. package/esm5/pipes/calendar-sheet/utils.js +0 -44
  1493. package/esm5/pipes/format-number/format-number.module.js +0 -16
  1494. package/esm5/pipes/format-number/format-number.pipe.js +0 -35
  1495. package/esm5/pipes/format-number/index.js +0 -3
  1496. package/esm5/pipes/format-number/taiga-ui-core-pipes-format-number.js +0 -5
  1497. package/esm5/pipes/format-phone/format-phone.module.js +0 -16
  1498. package/esm5/pipes/format-phone/format-phone.pipe.js +0 -27
  1499. package/esm5/pipes/format-phone/index.js +0 -3
  1500. package/esm5/pipes/format-phone/taiga-ui-core-pipes-format-phone.js +0 -5
  1501. package/esm5/pipes/index.js +0 -6
  1502. package/esm5/pipes/month/index.js +0 -3
  1503. package/esm5/pipes/month/month.module.js +0 -16
  1504. package/esm5/pipes/month/month.pipe.js +0 -25
  1505. package/esm5/pipes/month/taiga-ui-core-pipes-month.js +0 -5
  1506. package/esm5/pipes/pluralize/index.js +0 -3
  1507. package/esm5/pipes/pluralize/pluralize.module.js +0 -17
  1508. package/esm5/pipes/pluralize/pluralize.pipe.js +0 -25
  1509. package/esm5/pipes/pluralize/taiga-ui-core-pipes-pluralize.js +0 -5
  1510. package/esm5/pipes/taiga-ui-core-pipes.js +0 -5
  1511. package/esm5/providers/index.js +0 -4
  1512. package/esm5/providers/is-mobile-resolution.provider.js +0 -18
  1513. package/esm5/providers/mode.provider.js +0 -24
  1514. package/esm5/providers/taiga-ui-core-providers.js +0 -5
  1515. package/esm5/providers/watched-controller-provider-factory.js +0 -12
  1516. package/esm5/services/hint.service.js +0 -60
  1517. package/esm5/services/index.js +0 -5
  1518. package/esm5/services/night-theme.service.js +0 -31
  1519. package/esm5/services/router-link-active.service.js +0 -35
  1520. package/esm5/services/svg.service.js +0 -73
  1521. package/esm5/services/taiga-ui-core-services.js +0 -5
  1522. package/esm5/taiga-ui-core.js +0 -5
  1523. package/esm5/tokens/animation-options.js +0 -10
  1524. package/esm5/tokens/animations-duration.js +0 -5
  1525. package/esm5/tokens/assert-enabled.js +0 -5
  1526. package/esm5/tokens/data-list-accessor.js +0 -3
  1527. package/esm5/tokens/data-list-host.js +0 -3
  1528. package/esm5/tokens/document-or-shadow-root.js +0 -3
  1529. package/esm5/tokens/dropdown-directive.js +0 -3
  1530. package/esm5/tokens/element-ref.js +0 -3
  1531. package/esm5/tokens/first-day-of-week.js +0 -5
  1532. package/esm5/tokens/i18n.js +0 -21
  1533. package/esm5/tokens/icon-place.js +0 -5
  1534. package/esm5/tokens/icons-path.js +0 -5
  1535. package/esm5/tokens/icons.js +0 -5
  1536. package/esm5/tokens/index.js +0 -29
  1537. package/esm5/tokens/is-mobile-resolution.js +0 -14
  1538. package/esm5/tokens/media.js +0 -9
  1539. package/esm5/tokens/mode.js +0 -3
  1540. package/esm5/tokens/notification-options.js +0 -21
  1541. package/esm5/tokens/number-format.js +0 -10
  1542. package/esm5/tokens/option-content.js +0 -3
  1543. package/esm5/tokens/ordered-short-week-days.js +0 -20
  1544. package/esm5/tokens/sanitizer.js +0 -3
  1545. package/esm5/tokens/scroll-ref.js +0 -3
  1546. package/esm5/tokens/svg-content-processor.js +0 -4
  1547. package/esm5/tokens/svg-src-processor.js +0 -6
  1548. package/esm5/tokens/taiga-ui-core-tokens.js +0 -5
  1549. package/esm5/tokens/textfield-appearance.js +0 -5
  1550. package/esm5/tokens/textfield-host.js +0 -3
  1551. package/esm5/tokens/theme.js +0 -5
  1552. package/esm5/tokens/value-accessor.js +0 -3
  1553. package/esm5/types/brightness.js +0 -1
  1554. package/esm5/types/color.js +0 -1
  1555. package/esm5/types/data-list-role.js +0 -1
  1556. package/esm5/types/decimal-symbol.js +0 -1
  1557. package/esm5/types/decimal.js +0 -1
  1558. package/esm5/types/dialog-size.js +0 -1
  1559. package/esm5/types/direction.js +0 -1
  1560. package/esm5/types/dropdown-width.js +0 -1
  1561. package/esm5/types/hint-mode.js +0 -1
  1562. package/esm5/types/index.js +0 -1
  1563. package/esm5/types/marker-handler.js +0 -1
  1564. package/esm5/types/option-role.js +0 -1
  1565. package/esm5/types/orientation.js +0 -1
  1566. package/esm5/types/pluralize.js +0 -1
  1567. package/esm5/types/point.js +0 -1
  1568. package/esm5/types/size.js +0 -11
  1569. package/esm5/types/taiga-ui-core-types.js +0 -4
  1570. package/esm5/utils/dom/are-css-vars-supported.js +0 -11
  1571. package/esm5/utils/dom/check-fixed-position.js +0 -14
  1572. package/esm5/utils/dom/get-safe-area-size.js +0 -20
  1573. package/esm5/utils/dom/get-screen-width.js +0 -9
  1574. package/esm5/utils/dom/get-viewport-height.js +0 -22
  1575. package/esm5/utils/dom/get-viewport-width.js +0 -22
  1576. package/esm5/utils/dom/index.js +0 -8
  1577. package/esm5/utils/dom/process-icon.js +0 -38
  1578. package/esm5/utils/dom/taiga-ui-core-utils-dom.js +0 -5
  1579. package/esm5/utils/format/capitalize-first-letter.js +0 -9
  1580. package/esm5/utils/format/capitalize.js +0 -14
  1581. package/esm5/utils/format/format-number.js +0 -46
  1582. package/esm5/utils/format/format-phone.js +0 -43
  1583. package/esm5/utils/format/get-fractional-part-padded.js +0 -19
  1584. package/esm5/utils/format/index.js +0 -10
  1585. package/esm5/utils/format/number-to-string-without-exp.js +0 -22
  1586. package/esm5/utils/format/other-decimal-symbol.js +0 -9
  1587. package/esm5/utils/format/pluralize-to-icu.js +0 -13
  1588. package/esm5/utils/format/pluralize.js +0 -25
  1589. package/esm5/utils/format/taiga-ui-core-utils-format.js +0 -5
  1590. package/esm5/utils/index.js +0 -7
  1591. package/esm5/utils/mask/create-auto-corrected-money-pipe.js +0 -99
  1592. package/esm5/utils/mask/create-correction-mask.js +0 -27
  1593. package/esm5/utils/mask/create-number-mask.js +0 -125
  1594. package/esm5/utils/mask/enable-auto-correct-decimal-symbol.js +0 -6
  1595. package/esm5/utils/mask/index.js +0 -7
  1596. package/esm5/utils/mask/masked-money-value-is-empty.js +0 -18
  1597. package/esm5/utils/mask/masked-number-string-to-number.js +0 -9
  1598. package/esm5/utils/mask/taiga-ui-core-utils-mask.js +0 -5
  1599. package/esm5/utils/miscellaneous/color-fallback.js +0 -17
  1600. package/esm5/utils/miscellaneous/get-border.js +0 -27
  1601. package/esm5/utils/miscellaneous/icons-path-factory.js +0 -16
  1602. package/esm5/utils/miscellaneous/index.js +0 -7
  1603. package/esm5/utils/miscellaneous/is-editing-key.js +0 -11
  1604. package/esm5/utils/miscellaneous/is-presumed-html-string.js +0 -10
  1605. package/esm5/utils/miscellaneous/size-bigger.js +0 -15
  1606. package/esm5/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.js +0 -5
  1607. package/esm5/utils/mobile/index.js +0 -2
  1608. package/esm5/utils/mobile/is-mobile.js +0 -6
  1609. package/esm5/utils/mobile/taiga-ui-core-utils-mobile.js +0 -5
  1610. package/esm5/utils/polyfills/index.js +0 -2
  1611. package/esm5/utils/polyfills/inner-html.js +0 -40
  1612. package/esm5/utils/polyfills/taiga-ui-core-utils-polyfills.js +0 -5
  1613. package/esm5/utils/taiga-ui-core-utils.js +0 -5
  1614. package/fesm2015/taiga-ui-core-directives-color.js +0 -370
  1615. package/fesm2015/taiga-ui-core-directives-color.js.map +0 -1
  1616. package/fesm2015/taiga-ui-core-directives-table-mode.js +0 -37
  1617. package/fesm2015/taiga-ui-core-directives-table-mode.js.map +0 -1
  1618. package/fesm2015/taiga-ui-core-pipes-pluralize.js +0 -38
  1619. package/fesm2015/taiga-ui-core-pipes-pluralize.js.map +0 -1
  1620. package/fesm5/taiga-ui-core-abstract.js +0 -233
  1621. package/fesm5/taiga-ui-core-abstract.js.map +0 -1
  1622. package/fesm5/taiga-ui-core-animations.js +0 -258
  1623. package/fesm5/taiga-ui-core-animations.js.map +0 -1
  1624. package/fesm5/taiga-ui-core-components-alert.js +0 -178
  1625. package/fesm5/taiga-ui-core-components-alert.js.map +0 -1
  1626. package/fesm5/taiga-ui-core-components-button.js +0 -198
  1627. package/fesm5/taiga-ui-core-components-button.js.map +0 -1
  1628. package/fesm5/taiga-ui-core-components-calendar.js +0 -166
  1629. package/fesm5/taiga-ui-core-components-calendar.js.map +0 -1
  1630. package/fesm5/taiga-ui-core-components-data-list.js +0 -428
  1631. package/fesm5/taiga-ui-core-components-data-list.js.map +0 -1
  1632. package/fesm5/taiga-ui-core-components-dialog.js +0 -232
  1633. package/fesm5/taiga-ui-core-components-dialog.js.map +0 -1
  1634. package/fesm5/taiga-ui-core-components-dropdown-box.js +0 -342
  1635. package/fesm5/taiga-ui-core-components-dropdown-box.js.map +0 -1
  1636. package/fesm5/taiga-ui-core-components-error.js +0 -69
  1637. package/fesm5/taiga-ui-core-components-error.js.map +0 -1
  1638. package/fesm5/taiga-ui-core-components-expand.js +0 -185
  1639. package/fesm5/taiga-ui-core-components-expand.js.map +0 -1
  1640. package/fesm5/taiga-ui-core-components-group.js +0 -136
  1641. package/fesm5/taiga-ui-core-components-group.js.map +0 -1
  1642. package/fesm5/taiga-ui-core-components-hints-host.js +0 -347
  1643. package/fesm5/taiga-ui-core-components-hints-host.js.map +0 -1
  1644. package/fesm5/taiga-ui-core-components-hosted-dropdown.js +0 -267
  1645. package/fesm5/taiga-ui-core-components-hosted-dropdown.js.map +0 -1
  1646. package/fesm5/taiga-ui-core-components-label.js +0 -68
  1647. package/fesm5/taiga-ui-core-components-label.js.map +0 -1
  1648. package/fesm5/taiga-ui-core-components-link.js +0 -142
  1649. package/fesm5/taiga-ui-core-components-link.js.map +0 -1
  1650. package/fesm5/taiga-ui-core-components-loader.js +0 -138
  1651. package/fesm5/taiga-ui-core-components-loader.js.map +0 -1
  1652. package/fesm5/taiga-ui-core-components-notification.js +0 -90
  1653. package/fesm5/taiga-ui-core-components-notification.js.map +0 -1
  1654. package/fesm5/taiga-ui-core-components-primitive-calendar.js +0 -196
  1655. package/fesm5/taiga-ui-core-components-primitive-calendar.js.map +0 -1
  1656. package/fesm5/taiga-ui-core-components-primitive-checkbox.js +0 -147
  1657. package/fesm5/taiga-ui-core-components-primitive-checkbox.js.map +0 -1
  1658. package/fesm5/taiga-ui-core-components-primitive-spin-button.js +0 -125
  1659. package/fesm5/taiga-ui-core-components-primitive-spin-button.js.map +0 -1
  1660. package/fesm5/taiga-ui-core-components-primitive-textfield.js +0 -674
  1661. package/fesm5/taiga-ui-core-components-primitive-textfield.js.map +0 -1
  1662. package/fesm5/taiga-ui-core-components-primitive-year-picker.js +0 -200
  1663. package/fesm5/taiga-ui-core-components-primitive-year-picker.js.map +0 -1
  1664. package/fesm5/taiga-ui-core-components-root.js +0 -96
  1665. package/fesm5/taiga-ui-core-components-root.js.map +0 -1
  1666. package/fesm5/taiga-ui-core-components-scroll-controls.js +0 -270
  1667. package/fesm5/taiga-ui-core-components-scroll-controls.js.map +0 -1
  1668. package/fesm5/taiga-ui-core-components-scrollbar.js +0 -158
  1669. package/fesm5/taiga-ui-core-components-scrollbar.js.map +0 -1
  1670. package/fesm5/taiga-ui-core-components-svg.js +0 -226
  1671. package/fesm5/taiga-ui-core-components-svg.js.map +0 -1
  1672. package/fesm5/taiga-ui-core-components-theme-night.js +0 -39
  1673. package/fesm5/taiga-ui-core-components-theme-night.js.map +0 -1
  1674. package/fesm5/taiga-ui-core-components-tooltip.js +0 -122
  1675. package/fesm5/taiga-ui-core-components-tooltip.js.map +0 -1
  1676. package/fesm5/taiga-ui-core-components.js +0 -31
  1677. package/fesm5/taiga-ui-core-components.js.map +0 -1
  1678. package/fesm5/taiga-ui-core-constants.js +0 -76
  1679. package/fesm5/taiga-ui-core-constants.js.map +0 -1
  1680. package/fesm5/taiga-ui-core-directives-color.js +0 -61
  1681. package/fesm5/taiga-ui-core-directives-color.js.map +0 -1
  1682. package/fesm5/taiga-ui-core-directives-described-by.js +0 -96
  1683. package/fesm5/taiga-ui-core-directives-described-by.js.map +0 -1
  1684. package/fesm5/taiga-ui-core-directives-dropdown-controller.js +0 -92
  1685. package/fesm5/taiga-ui-core-directives-dropdown-controller.js.map +0 -1
  1686. package/fesm5/taiga-ui-core-directives-dropdown.js +0 -75
  1687. package/fesm5/taiga-ui-core-directives-dropdown.js.map +0 -1
  1688. package/fesm5/taiga-ui-core-directives-hint-controller.js +0 -94
  1689. package/fesm5/taiga-ui-core-directives-hint-controller.js.map +0 -1
  1690. package/fesm5/taiga-ui-core-directives-hint.js +0 -174
  1691. package/fesm5/taiga-ui-core-directives-hint.js.map +0 -1
  1692. package/fesm5/taiga-ui-core-directives-manual-hint.js +0 -84
  1693. package/fesm5/taiga-ui-core-directives-manual-hint.js.map +0 -1
  1694. package/fesm5/taiga-ui-core-directives-mask-accessor.js +0 -49
  1695. package/fesm5/taiga-ui-core-directives-mask-accessor.js.map +0 -1
  1696. package/fesm5/taiga-ui-core-directives-mode.js +0 -40
  1697. package/fesm5/taiga-ui-core-directives-mode.js.map +0 -1
  1698. package/fesm5/taiga-ui-core-directives-pointer-hint.js +0 -136
  1699. package/fesm5/taiga-ui-core-directives-pointer-hint.js.map +0 -1
  1700. package/fesm5/taiga-ui-core-directives-scroll-into-view.js +0 -77
  1701. package/fesm5/taiga-ui-core-directives-scroll-into-view.js.map +0 -1
  1702. package/fesm5/taiga-ui-core-directives-table-mode.js +0 -43
  1703. package/fesm5/taiga-ui-core-directives-table-mode.js.map +0 -1
  1704. package/fesm5/taiga-ui-core-directives-textfield-controller.js +0 -460
  1705. package/fesm5/taiga-ui-core-directives-textfield-controller.js.map +0 -1
  1706. package/fesm5/taiga-ui-core-directives-wrapper.js +0 -138
  1707. package/fesm5/taiga-ui-core-directives-wrapper.js.map +0 -1
  1708. package/fesm5/taiga-ui-core-directives.js +0 -19
  1709. package/fesm5/taiga-ui-core-directives.js.map +0 -1
  1710. package/fesm5/taiga-ui-core-enums.js +0 -153
  1711. package/fesm5/taiga-ui-core-enums.js.map +0 -1
  1712. package/fesm5/taiga-ui-core-interfaces.js +0 -4
  1713. package/fesm5/taiga-ui-core-interfaces.js.map +0 -1
  1714. package/fesm5/taiga-ui-core-internal-primitive-year-month-pagination.js +0 -118
  1715. package/fesm5/taiga-ui-core-internal-primitive-year-month-pagination.js.map +0 -1
  1716. package/fesm5/taiga-ui-core-internal-svg-defs-host.js +0 -69
  1717. package/fesm5/taiga-ui-core-internal-svg-defs-host.js.map +0 -1
  1718. package/fesm5/taiga-ui-core-internal.js +0 -7
  1719. package/fesm5/taiga-ui-core-internal.js.map +0 -1
  1720. package/fesm5/taiga-ui-core-mask.js +0 -4
  1721. package/fesm5/taiga-ui-core-mask.js.map +0 -1
  1722. package/fesm5/taiga-ui-core-observables.js +0 -37
  1723. package/fesm5/taiga-ui-core-observables.js.map +0 -1
  1724. package/fesm5/taiga-ui-core-pipes-calendar-sheet.js +0 -123
  1725. package/fesm5/taiga-ui-core-pipes-calendar-sheet.js.map +0 -1
  1726. package/fesm5/taiga-ui-core-pipes-format-number.js +0 -53
  1727. package/fesm5/taiga-ui-core-pipes-format-number.js.map +0 -1
  1728. package/fesm5/taiga-ui-core-pipes-format-phone.js +0 -45
  1729. package/fesm5/taiga-ui-core-pipes-format-phone.js.map +0 -1
  1730. package/fesm5/taiga-ui-core-pipes-month.js +0 -43
  1731. package/fesm5/taiga-ui-core-pipes-month.js.map +0 -1
  1732. package/fesm5/taiga-ui-core-pipes-pluralize.js +0 -44
  1733. package/fesm5/taiga-ui-core-pipes-pluralize.js.map +0 -1
  1734. package/fesm5/taiga-ui-core-pipes.js +0 -10
  1735. package/fesm5/taiga-ui-core-pipes.js.map +0 -1
  1736. package/fesm5/taiga-ui-core-providers.js +0 -58
  1737. package/fesm5/taiga-ui-core-providers.js.map +0 -1
  1738. package/fesm5/taiga-ui-core-services.js +0 -184
  1739. package/fesm5/taiga-ui-core-services.js.map +0 -1
  1740. package/fesm5/taiga-ui-core-tokens.js +0 -160
  1741. package/fesm5/taiga-ui-core-tokens.js.map +0 -1
  1742. package/fesm5/taiga-ui-core-types.js +0 -4
  1743. package/fesm5/taiga-ui-core-types.js.map +0 -1
  1744. package/fesm5/taiga-ui-core-utils-dom.js +0 -143
  1745. package/fesm5/taiga-ui-core-utils-dom.js.map +0 -1
  1746. package/fesm5/taiga-ui-core-utils-format.js +0 -202
  1747. package/fesm5/taiga-ui-core-utils-format.js.map +0 -1
  1748. package/fesm5/taiga-ui-core-utils-mask.js +0 -285
  1749. package/fesm5/taiga-ui-core-utils-mask.js.map +0 -1
  1750. package/fesm5/taiga-ui-core-utils-miscellaneous.js +0 -102
  1751. package/fesm5/taiga-ui-core-utils-miscellaneous.js.map +0 -1
  1752. package/fesm5/taiga-ui-core-utils-mobile.js +0 -13
  1753. package/fesm5/taiga-ui-core-utils-mobile.js.map +0 -1
  1754. package/fesm5/taiga-ui-core-utils-polyfills.js +0 -47
  1755. package/fesm5/taiga-ui-core-utils-polyfills.js.map +0 -1
  1756. package/fesm5/taiga-ui-core-utils.js +0 -11
  1757. package/fesm5/taiga-ui-core-utils.js.map +0 -1
  1758. package/fesm5/taiga-ui-core.js +0 -18
  1759. package/fesm5/taiga-ui-core.js.map +0 -1
  1760. package/interfaces/notification-options.d.ts +0 -17
  1761. package/interfaces/taiga-ui-core-interfaces.metadata.json +0 -1
  1762. package/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.metadata.json +0 -1
  1763. package/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.metadata.json +0 -1
  1764. package/internal/taiga-ui-core-internal.metadata.json +0 -1
  1765. package/mask/taiga-ui-core-mask.metadata.json +0 -1
  1766. package/observables/taiga-ui-core-observables.metadata.json +0 -1
  1767. package/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.metadata.json +0 -1
  1768. package/pipes/format-number/taiga-ui-core-pipes-format-number.metadata.json +0 -1
  1769. package/pipes/format-phone/taiga-ui-core-pipes-format-phone.metadata.json +0 -1
  1770. package/pipes/month/taiga-ui-core-pipes-month.metadata.json +0 -1
  1771. package/pipes/pluralize/index.d.ts +0 -2
  1772. package/pipes/pluralize/package.json +0 -13
  1773. package/pipes/pluralize/pluralize.module.d.ts +0 -3
  1774. package/pipes/pluralize/pluralize.pipe.d.ts +0 -14
  1775. package/pipes/pluralize/taiga-ui-core-pipes-pluralize.d.ts +0 -4
  1776. package/pipes/pluralize/taiga-ui-core-pipes-pluralize.metadata.json +0 -1
  1777. package/pipes/taiga-ui-core-pipes.metadata.json +0 -1
  1778. package/providers/taiga-ui-core-providers.metadata.json +0 -1
  1779. package/services/taiga-ui-core-services.metadata.json +0 -1
  1780. package/taiga-ui-core.metadata.json +0 -1
  1781. package/tokens/taiga-ui-core-tokens.metadata.json +0 -1
  1782. package/types/color.d.ts +0 -3
  1783. package/types/pluralize.d.ts +0 -4
  1784. package/types/taiga-ui-core-types.metadata.json +0 -1
  1785. package/utils/dom/are-css-vars-supported.d.ts +0 -6
  1786. package/utils/dom/taiga-ui-core-utils-dom.metadata.json +0 -1
  1787. package/utils/format/pluralize-to-icu.d.ts +0 -5
  1788. package/utils/format/pluralize.d.ts +0 -10
  1789. package/utils/format/taiga-ui-core-utils-format.metadata.json +0 -1
  1790. package/utils/mask/taiga-ui-core-utils-mask.metadata.json +0 -1
  1791. package/utils/miscellaneous/color-fallback.d.ts +0 -4
  1792. package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.metadata.json +0 -1
  1793. package/utils/mobile/taiga-ui-core-utils-mobile.metadata.json +0 -1
  1794. package/utils/polyfills/taiga-ui-core-utils-polyfills.metadata.json +0 -1
  1795. package/utils/taiga-ui-core-utils.metadata.json +0 -1
@@ -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/constants"),require("@taiga-ui/core/tokens"),require("rxjs"),require("@angular/common"),require("@taiga-ui/core/directives/color"),require("@taiga-ui/core/pipes")):"function"==typeof define&&define.amd?define("@taiga-ui/core/components/primitive-calendar",["exports","@angular/core","@taiga-ui/cdk","@taiga-ui/core/constants","@taiga-ui/core/tokens","rxjs","@angular/common","@taiga-ui/core/directives/color","@taiga-ui/core/pipes"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].core=e["taiga-ui"].core||{},e["taiga-ui"].core.components=e["taiga-ui"].core.components||{},e["taiga-ui"].core.components["primitive-calendar"]={}),e.ng.core,e.cdk,e["taiga-ui"].core.constants,e["taiga-ui"].core.tokens,e.rxjs,e.ng.common,e["taiga-ui"].core.directives.color,e["taiga-ui"].core.pipes)}(this,(function(e,t,r,i,a,n,o,l,d){"use strict";function s(e,t,r,i){var a,n=arguments.length,o=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,i);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(o=(n<3?a(o):n>3?a(t,r,o):a(t,r))||o);return n>3&&o&&Object.defineProperty(t,r,o),o}Object.create;Object.create;var u=function(){function e(e){var a=this;this.weekDays$=e,this.pressedItem=null,this.today=r.TuiDay.currentLocal(),this.month=r.TuiMonth.currentLocal(),this.disabledItemHandler=r.ALWAYS_FALSE_HANDLER,this.markerHandler=i.TUI_DEFAULT_MARKER_HANDLER,this.value=null,this.hoveredItem=null,this.showAdjacent=!0,this.hoveredItemChange=new t.EventEmitter,this.dayClick=new t.EventEmitter,this.toMarkers=function(e,t,r){if(t||r)return null;var i=a.markerHandler(e);return 0===i.length?null:i}}var o,l;return Object.defineProperty(e.prototype,"isSingle",{get:function(){return null!==this.value&&(this.value instanceof r.TuiDay||this.value.isSingleDay)},enumerable:!0,configurable:!0}),e.prototype.getItemState=function(e){var t=this.disabledItemHandler,r=this.pressedItem,i=this.hoveredItem;return t(e)?"disabled":(null==r?void 0:r.daySame(e))?"pressed":(null==i?void 0:i.daySame(e))?"hovered":null},e.prototype.getItemRange=function(e){var t=this.value,i=this.hoveredItem;return t?t instanceof r.TuiDay?t.daySame(e)?"single":null:t.from.daySame(e)&&!t.isSingleDay||(null==i?void 0:i.dayAfter(t.from))&&t.from.daySame(e)&&t.isSingleDay||(null==i?void 0:i.daySame(e))&&i.dayBefore(t.from)&&t.isSingleDay?"start":t.to.daySame(e)&&!t.isSingleDay||(null==i?void 0:i.dayBefore(t.from))&&t.from.daySame(e)&&t.isSingleDay||(null==i?void 0:i.daySame(e))&&i.dayAfter(t.from)&&t.isSingleDay?"end":t.isSingleDay&&t.from.daySame(e)?"single":null:null},e.prototype.itemIsToday=function(e){return this.today.daySame(e)},e.prototype.itemIsUnavailable=function(e){return!this.month.monthSame(e)},e.prototype.itemIsInterval=function(e){var t=this.value,i=this.hoveredItem;if(null===t||t instanceof r.TuiDay)return!1;if(!t.isSingleDay)return t.from.daySameOrBefore(e)&&t.to.dayAfter(e);if(null===i)return!1;var a=r.TuiDayRange.sort(t.from,i);return a.from.daySameOrBefore(e)&&a.to.dayAfter(e)},e.prototype.onItemHovered=function(e){this.updateHoveredItem(e||null)},e.prototype.onItemPressed=function(e){this.pressedItem=e||null},e.prototype.onItemClick=function(e){this.dayClick.emit(e)},e.prototype.updateHoveredItem=function(e){r.nullableSame(this.hoveredItem,e,(function(e,t){return e.daySame(t)}))||(this.hoveredItem=e,this.hoveredItemChange.emit(e))},e.ctorParameters=function(){return[{type:n.Observable,decorators:[{type:t.Inject,args:[a.TUI_ORDERED_SHORT_WEEK_DAYS]}]}]},s([t.Input(),r.tuiDefaultProp()],e.prototype,"month",void 0),s([t.Input(),r.tuiDefaultProp()],e.prototype,"disabledItemHandler",void 0),s([t.Input(),r.tuiDefaultProp()],e.prototype,"markerHandler",void 0),s([t.Input(),r.tuiDefaultProp()],e.prototype,"value",void 0),s([t.Input(),r.tuiDefaultProp()],e.prototype,"hoveredItem",void 0),s([t.Input(),r.tuiDefaultProp()],e.prototype,"showAdjacent",void 0),s([t.Output()],e.prototype,"hoveredItemChange",void 0),s([t.Output()],e.prototype,"dayClick",void 0),s([t.HostBinding("class._single")],e.prototype,"isSingle",null),e=s([t.Component({selector:"tui-primitive-calendar",template:'<div class="t-row t-row_weekday">\n <div\n *ngFor="let day of weekDays$ | async"\n class="t-cell"\n [innerText]="day"\n ></div>\n</div>\n<div *tuiLet="month | tuiCalendarSheet: true as sheet">\n <div\n *tuiRepeatTimes="let rowIndex of sheet.length"\n automation-id="tui-primitive-calendar__row"\n class="t-row"\n >\n <ng-container *tuiRepeatTimes="let colIndex of sheet[rowIndex].length">\n <ng-container *tuiLet="sheet[rowIndex][colIndex] as item">\n <div\n *ngIf="!itemIsUnavailable(item) || showAdjacent"\n automation-id="tui-primitive-calendar__cell"\n class="t-cell"\n [class.t-cell_weekend]="item.isWeekend"\n [class.t-cell_today]="itemIsToday(item)"\n [class.t-cell_interval]="itemIsInterval(item)"\n [attr.data-range]="getItemRange(item)"\n [attr.data-state]="getItemState(item)"\n (tuiHoveredChange)="onItemHovered($event && item)"\n (tuiPressedChange)="onItemPressed($event && item)"\n (click)="onItemClick(item)"\n >\n <div\n automation-id="tui-primitive-calendar__item"\n class="t-item"\n [class.t-item_unavailable]="itemIsUnavailable(item)"\n >\n {{ item.day }}\n <div\n *ngIf="item | tuiMapper: toMarkers:itemIsToday(item):!!getItemRange(item) as markers"\n class="t-dots"\n >\n <div\n class="t-dot"\n [tuiBackground]="markers[0]"\n ></div>\n <div\n *ngIf="markers.length > 1"\n class="t-dot"\n [tuiBackground]="markers[1] || \'\'"\n ></div>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n</div>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block;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:2.25rem;text-align:center;outline:0;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:2px solid transparent}.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:-2.25rem}.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{width:15.75rem}.t-row{justify-content:flex-start}.t-row:first-child{justify-content:flex-end}.t-row_weekday{font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none}.t-item{display:flex;flex-direction:column}.t-cell_weekend{color:var(--tui-negative)}.t-item_unavailable{opacity:var(--tui-disabled-opacity)}.t-dots{display:flex;justify-content:center;margin-top:-.5rem;padding-bottom:.25rem}.t-dot{display:inline-block;width:.25rem;height:.25rem;border-radius:100%;margin:0 .0625rem}"]}),(o=0,l=t.Inject(a.TUI_ORDERED_SHORT_WEEK_DAYS),function(e,t){l(e,t,o)})],e)}(),c=function(){function e(){}return e=s([t.NgModule({imports:[o.CommonModule,r.TuiLetModule,r.TuiMapperPipeModule,r.TuiRepeatTimesModule,r.TuiHoveredModule,r.TuiPressedModule,l.TuiColorModule,d.TuiCalendarSheetPipeModule],declarations:[u],exports:[u]})],e)}();e.TuiPrimitiveCalendarComponent=u,e.TuiPrimitiveCalendarModule=c,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-core-components-primitive-calendar.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/core/components/primitive-calendar/primitive-calendar.component.ts","ng://@taiga-ui/core/components/primitive-calendar/primitive-calendar.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","create","TuiPrimitiveCalendarComponent","weekDays$","_this","this","pressedItem","today","TuiDay","currentLocal","month","TuiMonth","disabledItemHandler","ALWAYS_FALSE_HANDLER","markerHandler","TUI_DEFAULT_MARKER_HANDLER","value","hoveredItem","showAdjacent","hoveredItemChange","EventEmitter","dayClick","toMarkers","day","inRange","markers","paramIndex","decorator","prototype","isSingleDay","getItemState","item","daySame","getItemRange","from","dayAfter","dayBefore","to","itemIsToday","itemIsUnavailable","monthSame","itemIsInterval","daySameOrBefore","range","TuiDayRange","sort","onItemHovered","updateHoveredItem","onItemPressed","onItemClick","emit","nullableSame","a","b","Observable","type","Inject","args","TUI_ORDERED_SHORT_WEEK_DAYS","Input","tuiDefaultProp","Output","HostBinding","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","TuiPrimitiveCalendarModule","NgModule","imports","CommonModule","TuiLetModule","TuiMapperPipeModule","TuiRepeatTimesModule","TuiHoveredModule","TuiPressedModule","TuiColorModule","TuiCalendarSheetPipeModule","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 TuiBooleanHandler,\n TuiDay,\n TuiDayRange,\n tuiDefaultProp,\n TuiMonth,\n} from '@taiga-ui/cdk';\nimport {TUI_DEFAULT_MARKER_HANDLER} from '@taiga-ui/core/constants';\nimport {TuiInteractiveState, TuiRangeState} from '@taiga-ui/core/enums';\nimport {TUI_ORDERED_SHORT_WEEK_DAYS, WEEK_DAYS_NAMES} from '@taiga-ui/core/tokens';\nimport {TuiColor, TuiMarkerHandler} from '@taiga-ui/core/types';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Component({\n selector: 'tui-primitive-calendar',\n templateUrl: './primitive-calendar.template.html',\n styleUrls: ['./primitive-calendar.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiPrimitiveCalendarComponent {\n private pressedItem: TuiDay | null = null;\n private readonly today = TuiDay.currentLocal();\n\n @Input()\n @tuiDefaultProp()\n month: 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 value: TuiDayRange | TuiDay | null = null;\n\n @Input()\n @tuiDefaultProp()\n hoveredItem: TuiDay | null = null;\n\n @Input()\n @tuiDefaultProp()\n showAdjacent = true;\n\n @Output()\n readonly hoveredItemChange = new EventEmitter<TuiDay | null>();\n\n @Output()\n readonly dayClick = new EventEmitter<TuiDay>();\n\n constructor(\n @Inject(TUI_ORDERED_SHORT_WEEK_DAYS)\n readonly weekDays$: Observable<WEEK_DAYS_NAMES>,\n ) {}\n\n @HostBinding('class._single')\n get isSingle(): boolean {\n return (\n this.value !== null &&\n (this.value instanceof TuiDay || this.value.isSingleDay)\n );\n }\n\n readonly toMarkers = (\n day: TuiDay,\n today: boolean,\n inRange: boolean,\n ): null | [TuiColor | string] | [TuiColor | string, TuiColor | string] => {\n if (today || inRange) {\n return null;\n }\n\n const markers = this.markerHandler(day);\n\n return markers.length === 0 ? null : markers;\n };\n\n getItemState(item: TuiDay): TuiInteractiveState | null {\n const {disabledItemHandler, pressedItem, hoveredItem} = this;\n\n if (disabledItemHandler(item)) {\n return TuiInteractiveState.Disabled;\n }\n\n if (pressedItem?.daySame(item)) {\n return TuiInteractiveState.Pressed;\n }\n\n if (hoveredItem?.daySame(item)) {\n return TuiInteractiveState.Hovered;\n }\n\n return null;\n }\n\n getItemRange(item: TuiDay): TuiRangeState | null {\n const {value, hoveredItem} = this;\n\n if (!value) {\n return null;\n }\n\n if (value instanceof TuiDay) {\n return value.daySame(item) ? TuiRangeState.Single : null;\n }\n\n if (\n (value.from.daySame(item) && !value.isSingleDay) ||\n (hoveredItem?.dayAfter(value.from) &&\n value.from.daySame(item) &&\n value.isSingleDay) ||\n (hoveredItem?.daySame(item) &&\n hoveredItem.dayBefore(value.from) &&\n value.isSingleDay)\n ) {\n return TuiRangeState.Start;\n }\n\n if (\n (value.to.daySame(item) && !value.isSingleDay) ||\n (hoveredItem?.dayBefore(value.from) &&\n value.from.daySame(item) &&\n value.isSingleDay) ||\n (hoveredItem?.daySame(item) &&\n hoveredItem.dayAfter(value.from) &&\n value.isSingleDay)\n ) {\n return TuiRangeState.End;\n }\n\n return value.isSingleDay && value.from.daySame(item)\n ? TuiRangeState.Single\n : null;\n }\n\n itemIsToday(item: TuiDay): boolean {\n return this.today.daySame(item);\n }\n\n itemIsUnavailable(item: TuiDay): boolean {\n return !this.month.monthSame(item);\n }\n\n itemIsInterval(day: TuiDay): boolean {\n const {value, hoveredItem} = this;\n\n if (value === null || value instanceof TuiDay) {\n return false;\n }\n\n if (!value.isSingleDay) {\n return value.from.daySameOrBefore(day) && value.to.dayAfter(day);\n }\n\n if (hoveredItem === null) {\n return false;\n }\n\n const range = TuiDayRange.sort(value.from, hoveredItem);\n\n return range.from.daySameOrBefore(day) && range.to.dayAfter(day);\n }\n\n onItemHovered(item: TuiDay | false): void {\n this.updateHoveredItem(item || null);\n }\n\n onItemPressed(item: TuiDay | false): void {\n this.pressedItem = item || null;\n }\n\n onItemClick(item: TuiDay): void {\n this.dayClick.emit(item);\n }\n\n private updateHoveredItem(day: TuiDay | null): void {\n if (nullableSame(this.hoveredItem, day, (a, b) => a.daySame(b))) {\n return;\n }\n\n this.hoveredItem = day;\n this.hoveredItemChange.emit(day);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiHoveredModule,\n TuiLetModule,\n TuiMapperPipeModule,\n TuiPressedModule,\n TuiRepeatTimesModule,\n} from '@taiga-ui/cdk';\nimport {TuiColorModule} from '@taiga-ui/core/directives/color';\nimport {TuiCalendarSheetPipeModule} from '@taiga-ui/core/pipes';\n\nimport {TuiPrimitiveCalendarComponent} from './primitive-calendar.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiLetModule,\n TuiMapperPipeModule,\n TuiRepeatTimesModule,\n TuiHoveredModule,\n TuiPressedModule,\n TuiColorModule,\n TuiCalendarSheetPipeModule,\n ],\n declarations: [TuiPrimitiveCalendarComponent],\n exports: [TuiPrimitiveCalendarComponent],\n})\nexport class TuiPrimitiveCalendarModule {}\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/components/svg"),require("@taiga-ui/core/directives/wrapper"),require("@tinkoff/ng-polymorpheus")):"function"==typeof define&&define.amd?define("@taiga-ui/core/components/primitive-checkbox",["exports","@angular/core","@taiga-ui/cdk","@taiga-ui/core/components/svg","@taiga-ui/core/directives/wrapper","@tinkoff/ng-polymorpheus"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].core=e["taiga-ui"].core||{},e["taiga-ui"].core.components=e["taiga-ui"].core.components||{},e["taiga-ui"].core.components["primitive-checkbox"]={}),e.ng.core,e.cdk,e["taiga-ui"].core.components.svg,e["taiga-ui"].core.directives.wrapper,e.ngPolymorpheus)}(this,(function(e,t,i,n,o,r){"use strict";var a=function(){return(a=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function c(e,t,i,n){var o,r=arguments.length,a=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(a=(r<3?o(a):r>3?o(t,i,a):o(t,i))||a);return r>3&&a&&Object.defineProperty(t,i,a),a}Object.create;Object.create;var u={size:"m",appearances:{unchecked:"outline",checked:"primary",indeterminate:"primary"},icons:{checked:function(e){return"m"===e.$implicit?"tuiIconCheck":"tuiIconCheckLarge"},indeterminate:function(e){return"m"===e.$implicit?"tuiIconMinus":"tuiIconMinusLarge"}}},s=new t.InjectionToken("Default parameters for checkbox component",{factory:function(){return u}}),p=function(){function e(e){this.options=e,this.size=this.options.size,this.disabled=!1,this.focused=!1,this.hovered=!1,this.pressed=!1,this.invalid=!1,this.icon=this.options.icons.checked,this.value=!1}var n,o;return Object.defineProperty(e.prototype,"valueSetter",{set:function(e){!1!==e&&this.setCurrentIcon(e),this.value=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"appearance",{get:function(){switch(this.value){case!1:return this.options.appearances.unchecked;case!0:return this.options.appearances.checked;default:return this.options.appearances.indeterminate}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"empty",{get:function(){return!1===this.value},enumerable:!0,configurable:!0}),e.prototype.setCurrentIcon=function(e){this.icon=null===e?this.options.icons.indeterminate:this.options.icons.checked},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[s]}]}]},c([t.Input(),t.HostBinding("attr.data-size"),i.tuiDefaultProp()],e.prototype,"size",void 0),c([t.Input(),i.tuiDefaultProp()],e.prototype,"disabled",void 0),c([t.Input(),i.tuiDefaultProp()],e.prototype,"focused",void 0),c([t.Input(),i.tuiDefaultProp()],e.prototype,"hovered",void 0),c([t.Input(),i.tuiDefaultProp()],e.prototype,"pressed",void 0),c([t.Input(),i.tuiDefaultProp()],e.prototype,"invalid",void 0),c([t.Input("value"),i.tuiDefaultProp()],e.prototype,"valueSetter",null),e=c([t.Component({selector:"tui-primitive-checkbox",template:'<tui-wrapper\n [appearance]="appearance"\n [disabled]="disabled"\n [focused]="focused"\n [hovered]="hovered"\n [pressed]="pressed"\n [invalid]="invalid"\n>\n <span\n polymorpheus-outlet\n [content]="icon"\n [context]="{$implicit: size}"\n >\n <ng-template let-icon>\n <tui-svg\n class="mark"\n [class.mark_on]="!empty"\n [src]="icon"\n ></tui-svg>\n </ng-template>\n </span>\n <ng-content></ng-content>\n</tui-wrapper>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block;font-size:0;flex-shrink:0}:host[data-size='m']{width:1rem;height:1rem;border-radius:var(--tui-radius-xs)}:host[data-size='l']{width:1.5rem;height:1.5rem;border-radius:var(--tui-radius-s)}.mark{transition-property:transform;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;display:block;width:100%;height:100%;transform:scale(0)}.mark_on{transform:scale(1)}"]}),(n=0,o=t.Inject(s),function(e,t){o(e,t,n)})],e)}(),d=function(){function e(){}return e=c([t.NgModule({imports:[n.TuiSvgModule,o.TuiWrapperModule,r.PolymorpheusModule],declarations:[p],exports:[p]})],e)}();e.TUI_CHECKBOX_DEFAULT_OPTIONS=u,e.TUI_CHECKBOX_OPTIONS=s,e.TuiPrimitiveCheckboxComponent=p,e.TuiPrimitiveCheckboxModule=d,e.tuiCheckboxOptionsProvider=function(e){return{provide:s,useValue:a(a({},u),e)}},Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-core-components-primitive-checkbox.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/core/components/primitive-checkbox/checkbox-options.ts","ng://@taiga-ui/core/components/primitive-checkbox/primitive-checkbox.component.ts","ng://@taiga-ui/core/components/primitive-checkbox/primitive-checkbox.module.ts"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__decorate","decorators","target","key","desc","d","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","create","TUI_CHECKBOX_DEFAULT_OPTIONS","size","appearances","unchecked","checked","indeterminate","icons","_a","$implicit","TUI_CHECKBOX_OPTIONS","InjectionToken","factory","TuiPrimitiveCheckboxComponent","options","disabled","focused","hovered","pressed","invalid","icon","value","paramIndex","decorator","setCurrentIcon","Inject","args","Input","HostBinding","tuiDefaultProp","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","TuiPrimitiveCheckboxModule","NgModule","imports","TuiSvgModule","TuiWrapperModule","PolymorpheusModule","declarations","exports","provide","useValue"],"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 {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiContextWithImplicit} from '@taiga-ui/cdk';\nimport {TuiAppearance} from '@taiga-ui/core/enums';\nimport {TuiSizeL} from '@taiga-ui/core/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiCheckboxOptions {\n readonly size: TuiSizeL;\n readonly appearances: Readonly<{\n unchecked: string;\n checked: string;\n indeterminate: string;\n }>;\n readonly icons: Readonly<{\n checked: PolymorpheusContent<TuiContextWithImplicit<TuiSizeL>>;\n indeterminate: PolymorpheusContent<TuiContextWithImplicit<TuiSizeL>>;\n }>;\n}\n\n/**\n * @deprecated: use TuiCheckboxOptions instead\n * todo: remove in 3.0\n */\nexport type CheckboxOptions = TuiCheckboxOptions;\n\n/** Default values for the checkbox options. */\nexport const TUI_CHECKBOX_DEFAULT_OPTIONS: TuiCheckboxOptions = {\n size: 'm',\n appearances: {\n unchecked: TuiAppearance.Outline,\n checked: TuiAppearance.Primary,\n indeterminate: TuiAppearance.Primary,\n },\n icons: {\n checked({$implicit}: TuiContextWithImplicit<TuiSizeL>): string {\n return $implicit === 'm' ? 'tuiIconCheck' : 'tuiIconCheckLarge';\n },\n indeterminate({$implicit}: TuiContextWithImplicit<TuiSizeL>): string {\n return $implicit === 'm' ? 'tuiIconMinus' : 'tuiIconMinusLarge';\n },\n },\n};\n\nexport const TUI_CHECKBOX_OPTIONS = new InjectionToken<TuiCheckboxOptions>(\n 'Default parameters for checkbox component',\n {\n factory: () => TUI_CHECKBOX_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiCheckboxOptionsProvider: (\n options: Partial<TuiCheckboxOptions>,\n) => ValueProvider = (options: Partial<TuiCheckboxOptions>) => ({\n provide: TUI_CHECKBOX_OPTIONS,\n useValue: {...TUI_CHECKBOX_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Inject,\n Input,\n} from '@angular/core';\nimport {TuiContextWithImplicit, tuiDefaultProp} from '@taiga-ui/cdk';\nimport {TuiSizeL} from '@taiga-ui/core/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nimport {TUI_CHECKBOX_OPTIONS, TuiCheckboxOptions} from './checkbox-options';\n\n// @dynamic\n@Component({\n selector: 'tui-primitive-checkbox',\n templateUrl: './primitive-checkbox.template.html',\n styleUrls: ['./primitive-checkbox.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiPrimitiveCheckboxComponent {\n @Input()\n @HostBinding('attr.data-size')\n @tuiDefaultProp()\n size: TuiSizeL = this.options.size;\n\n @Input()\n @tuiDefaultProp()\n disabled = false;\n\n @Input()\n @tuiDefaultProp()\n focused = false;\n\n @Input()\n @tuiDefaultProp()\n hovered = false;\n\n @Input()\n @tuiDefaultProp()\n pressed = false;\n\n @Input()\n @tuiDefaultProp()\n invalid = false;\n\n @Input('value')\n @tuiDefaultProp()\n set valueSetter(value: boolean | null) {\n if (value !== false) {\n this.setCurrentIcon(value);\n }\n\n this.value = value;\n }\n\n icon: PolymorpheusContent<TuiContextWithImplicit<TuiSizeL>> =\n this.options.icons.checked;\n\n value: boolean | null = false;\n\n constructor(\n @Inject(TUI_CHECKBOX_OPTIONS) private readonly options: TuiCheckboxOptions,\n ) {}\n\n get appearance(): string {\n switch (this.value) {\n case false:\n return this.options.appearances.unchecked;\n case true:\n return this.options.appearances.checked;\n default:\n return this.options.appearances.indeterminate;\n }\n }\n\n get empty(): boolean {\n return this.value === false;\n }\n\n private setCurrentIcon(value: null | boolean): void {\n this.icon =\n value === null\n ? this.options.icons.indeterminate\n : this.options.icons.checked;\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiSvgModule} from '@taiga-ui/core/components/svg';\nimport {TuiWrapperModule} from '@taiga-ui/core/directives/wrapper';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiPrimitiveCheckboxComponent} from './primitive-checkbox.component';\n\n@NgModule({\n imports: [TuiSvgModule, TuiWrapperModule, PolymorpheusModule],\n declarations: [TuiPrimitiveCheckboxComponent],\n exports: [TuiPrimitiveCheckboxComponent],\n})\nexport class TuiPrimitiveCheckboxModule {}\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/core/tokens"),require("rxjs"),require("@angular/common"),require("@taiga-ui/core/components/button")):"function"==typeof define&&define.amd?define("@taiga-ui/core/components/primitive-spin-button",["exports","@angular/core","@taiga-ui/cdk","@taiga-ui/core/tokens","rxjs","@angular/common","@taiga-ui/core/components/button"],e):e(((t=t||self)["taiga-ui"]=t["taiga-ui"]||{},t["taiga-ui"].core=t["taiga-ui"].core||{},t["taiga-ui"].core.components=t["taiga-ui"].core.components||{},t["taiga-ui"].core.components["primitive-spin-button"]={}),t.ng.core,t.cdk,t["taiga-ui"].core.tokens,t.rxjs,t.ng.common,t["taiga-ui"].core.components.button)}(this,(function(t,e,n,o,i,r,u){"use strict";var a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function c(t,e,n,o){var i,r=arguments.length,u=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(u=(r<3?i(u):r>3?i(e,n,u):i(e,n))||u);return r>3&&u&&Object.defineProperty(e,n,u),u}Object.create;Object.create;var s=function(t){function r(n){var o=t.call(this)||this;return o.spinTexts$=n,o.disabled=!1,o.mode="flat",o.leftDisabled=!1,o.rightDisabled=!1,o.leftClick=new e.EventEmitter,o.rightClick=new e.EventEmitter,o}var u,s;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(r,t),Object.defineProperty(r.prototype,"focused",{get:function(){return!!this.wrapper&&n.isNativeFocused(this.wrapper.nativeElement)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"leftComputedDisabled",{get:function(){return this.computedDisabled||this.leftDisabled},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"rightComputedDisabled",{get:function(){return this.computedDisabled||this.rightDisabled},enumerable:!0,configurable:!0}),r.prototype.onLeftClick=function(){this.leftComputedDisabled||this.leftClick.emit()},r.prototype.onRightClick=function(){this.rightComputedDisabled||this.rightClick.emit()},r.prototype.onFocused=function(t){this.updateFocused(t)},r.prototype.onFocusVisible=function(t){this.updateFocusVisible(t)},r.ctorParameters=function(){return[{type:i.Observable,decorators:[{type:e.Inject,args:[o.TUI_SPIN_TEXTS]}]}]},c([e.ViewChild("wrapper")],r.prototype,"wrapper",void 0),c([e.Input(),n.tuiDefaultProp()],r.prototype,"disabled",void 0),c([e.Input(),n.tuiDefaultProp()],r.prototype,"mode",void 0),c([e.Input(),n.tuiDefaultProp()],r.prototype,"leftDisabled",void 0),c([e.Input(),n.tuiDefaultProp()],r.prototype,"rightDisabled",void 0),c([e.Output()],r.prototype,"leftClick",void 0),c([e.Output()],r.prototype,"rightClick",void 0),r=c([e.Component({selector:"tui-primitive-spin-button",changeDetection:e.ChangeDetectionStrategy.OnPush,template:'<div\n *ngIf="spinTexts$ | async as texts"\n #wrapper\n tuiPreventDefault="mousedown"\n class="wrapper"\n [tuiFocusable]="computedFocusable"\n (tuiFocusedChange)="onFocused($event)"\n (tuiFocusVisibleChange)="onFocusVisible($event)"\n (keydown.arrowLeft)="onLeftClick()"\n (keydown.arrowRight)="onRightClick()"\n>\n <button\n tuiIconButton\n type="button"\n size="xs"\n appearance=""\n automation-id="tui-primitive-spin-button__left"\n icon="tuiIconChevronLeftLarge"\n class="arrow"\n [class.arrow_hidden]="leftComputedDisabled"\n [title]="texts[0]"\n [focusable]="false"\n (click)="onLeftClick()"\n ></button>\n <span class="content">\n <ng-content></ng-content>\n </span>\n <button\n tuiIconButton\n type="button"\n size="xs"\n appearance=""\n automation-id="tui-primitive-spin-button__right"\n icon="tuiIconChevronRightLarge"\n class="arrow"\n [class.arrow_hidden]="rightComputedDisabled"\n [title]="texts[1]"\n [focusable]="false"\n (click)="onRightClick()"\n ></button>\n</div>\n',styles:[":host{display:block;font:var(--tui-font-text-l);text-align:center;font-weight:700}.wrapper{display:flex;align-items:center;justify-content:space-between;outline:0}.arrow{margin:0 .25rem}.arrow_hidden{visibility:hidden}.content{padding:0 .5rem}:host._focus-visible .content{box-shadow:0 0 0 1px var(--tui-focus)}"]}),(u=0,s=e.Inject(o.TUI_SPIN_TEXTS),function(t,e){s(t,e,u)})],r)}(n.AbstractTuiInteractive),p=function(){function t(){}return t=c([e.NgModule({imports:[r.CommonModule,n.TuiFocusVisibleModule,n.TuiFocusedModule,n.TuiFocusableModule,n.TuiPreventDefaultModule,u.TuiButtonModule],declarations:[s],exports:[s]})],t)}();t.TuiPrimitiveSpinButtonComponent=s,t.TuiPrimitiveSpinButtonModule=p,Object.defineProperty(t,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-core-components-primitive-spin-button.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/core/components/primitive-spin-button/primitive-spin-button.component.ts","ng://@taiga-ui/core/components/primitive-spin-button/primitive-spin-button.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","create","TuiPrimitiveSpinButtonComponent","spinTexts$","_this","_super","this","disabled","mode","leftDisabled","rightDisabled","leftClick","EventEmitter","rightClick","paramIndex","decorator","TypeError","String","__","constructor","__extends","wrapper","isNativeFocused","nativeElement","computedDisabled","onLeftClick","leftComputedDisabled","emit","onRightClick","rightComputedDisabled","onFocused","focused","updateFocused","onFocusVisible","focusVisible","updateFocusVisible","Observable","type","Inject","args","TUI_SPIN_TEXTS","ViewChild","Input","tuiDefaultProp","Output","Component","selector","changeDetection","ChangeDetectionStrategy","OnPush","template","AbstractTuiInteractive","TuiPrimitiveSpinButtonModule","NgModule","imports","CommonModule","TuiFocusVisibleModule","TuiFocusedModule","TuiFocusableModule","TuiPreventDefaultModule","TuiButtonModule","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 ElementRef,\n EventEmitter,\n Inject,\n Input,\n Output,\n ViewChild,\n} from '@angular/core';\nimport {AbstractTuiInteractive, isNativeFocused, tuiDefaultProp} from '@taiga-ui/cdk';\nimport {TuiAppearance} from '@taiga-ui/core/enums';\nimport {TUI_SPIN_TEXTS} from '@taiga-ui/core/tokens';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Component({\n selector: 'tui-primitive-spin-button',\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './primitive-spin-button.template.html',\n styleUrls: ['./primitive-spin-button.style.less'],\n})\nexport class TuiPrimitiveSpinButtonComponent extends AbstractTuiInteractive {\n @ViewChild('wrapper')\n private readonly wrapper?: ElementRef<HTMLElement>;\n\n @Input()\n @tuiDefaultProp()\n disabled = false;\n\n @Input()\n @tuiDefaultProp()\n mode: TuiAppearance = TuiAppearance.Flat;\n\n @Input()\n @tuiDefaultProp()\n leftDisabled = false;\n\n @Input()\n @tuiDefaultProp()\n rightDisabled = false;\n\n @Output()\n readonly leftClick = new EventEmitter<void>();\n\n @Output()\n readonly rightClick = new EventEmitter<void>();\n\n constructor(\n @Inject(TUI_SPIN_TEXTS) readonly spinTexts$: Observable<[string, string]>,\n ) {\n super();\n }\n\n get focused(): boolean {\n return !!this.wrapper && isNativeFocused(this.wrapper.nativeElement);\n }\n\n get leftComputedDisabled(): boolean {\n return this.computedDisabled || this.leftDisabled;\n }\n\n get rightComputedDisabled(): boolean {\n return this.computedDisabled || this.rightDisabled;\n }\n\n onLeftClick(): void {\n if (!this.leftComputedDisabled) {\n this.leftClick.emit();\n }\n }\n\n onRightClick(): void {\n if (!this.rightComputedDisabled) {\n this.rightClick.emit();\n }\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n onFocusVisible(focusVisible: boolean): void {\n this.updateFocusVisible(focusVisible);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiFocusableModule,\n TuiFocusedModule,\n TuiFocusVisibleModule,\n TuiPreventDefaultModule,\n} from '@taiga-ui/cdk';\nimport {TuiButtonModule} from '@taiga-ui/core/components/button';\n\nimport {TuiPrimitiveSpinButtonComponent} from './primitive-spin-button.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiFocusVisibleModule,\n TuiFocusedModule,\n TuiFocusableModule,\n TuiPreventDefaultModule,\n TuiButtonModule,\n ],\n declarations: [TuiPrimitiveSpinButtonComponent],\n exports: [TuiPrimitiveSpinButtonComponent],\n})\nexport class TuiPrimitiveSpinButtonModule {}\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/core/directives/hint-controller"),require("@taiga-ui/core/directives/textfield-controller"),require("@taiga-ui/core/tokens"),require("@taiga-ui/core/utils/miscellaneous"),require("@tinkoff/ng-polymorpheus"),require("rxjs"),require("rxjs/operators"),require("@taiga-ui/core/providers"),require("@taiga-ui/core/abstract"),require("@angular/common"),require("@angular/forms"),require("@taiga-ui/core/components/svg"),require("@taiga-ui/core/components/tooltip"),require("@taiga-ui/core/directives/described-by"),require("@taiga-ui/core/directives/mask-accessor"),require("@taiga-ui/core/directives/wrapper"),require("@taiga-ui/core/directives")):"function"==typeof define&&define.amd?define("@taiga-ui/core/components/primitive-textfield",["exports","@angular/core","@taiga-ui/cdk","@taiga-ui/core/directives/hint-controller","@taiga-ui/core/directives/textfield-controller","@taiga-ui/core/tokens","@taiga-ui/core/utils/miscellaneous","@tinkoff/ng-polymorpheus","rxjs","rxjs/operators","@taiga-ui/core/providers","@taiga-ui/core/abstract","@angular/common","@angular/forms","@taiga-ui/core/components/svg","@taiga-ui/core/components/tooltip","@taiga-ui/core/directives/described-by","@taiga-ui/core/directives/mask-accessor","@taiga-ui/core/directives/wrapper","@taiga-ui/core/directives"],e):e(((t=t||self)["taiga-ui"]=t["taiga-ui"]||{},t["taiga-ui"].core=t["taiga-ui"].core||{},t["taiga-ui"].core.components=t["taiga-ui"].core.components||{},t["taiga-ui"].core.components["primitive-textfield"]={}),t.ng.core,t.cdk,t["taiga-ui"].core.directives["hint-controller"],t["taiga-ui"].core.directives["textfield-controller"],t["taiga-ui"].core.tokens,t["taiga-ui"].core.utils.miscellaneous,t.ngPolymorpheus,t.rxjs,t.rxjs.operators,t["taiga-ui"].core.providers,t["taiga-ui"].core.abstract,t.ng.common,t.ng.forms,t["taiga-ui"].core.components.svg,t["taiga-ui"].core.components.tooltip,t["taiga-ui"].core.directives["described-by"],t["taiga-ui"].core.directives["mask-accessor"],t["taiga-ui"].core.directives.wrapper,t["taiga-ui"].core.directives)}(this,(function(t,e,i,o,n,r,a,l,s,d,u,c,p,h,f,m,b,g,v,x){"use strict";var y=function(t,e){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)};function _(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}y(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}var w=function(){return(w=Object.assign||function(t){for(var e,i=1,o=arguments.length;i<o;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}).apply(this,arguments)};function k(t,e,i,o){var n,r=arguments.length,a=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(e,i,a):n(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a}function T(t,e){return function(i,o){e(i,o,t)}}Object.create;Object.create;var I=[{provide:i.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:e.forwardRef((function(){return O}))},n.TEXTFIELD_CONTROLLER_PROVIDER,o.HINT_CONTROLLER_PROVIDER,u.MODE_PROVIDER],D={iconAlign:"right",iconCleaner:"tuiIconCloseLarge"},E=new e.InjectionToken("Default parameters for primitive textfield component",{factory:function(){return D}}),O=function(t){function u(i,o,n,r,a,l){var s=t.call(this)||this;return s.mode$=i,s.appearance=o,s.controller=n,s.hintController=r,s.options=a,s.elementRef=l,s.editable=!0,s.filler="",s.iconAlign=s.options.iconAlign,s.iconContent=null,s.iconCleaner=s.options.iconCleaner,s.readOnly=!1,s.invalid=!1,s.disabled=!1,s.prefix="",s.postfix="",s.value="",s.valueChange=new e.EventEmitter,s.autofilledChange=new e.EventEmitter,s.autofilled=!1,s}return _(u,t),Object.defineProperty(u.prototype,"nativeFocusableElement",{get:function(){return this.computedDisabled||!this.focusableElement?null:this.focusableElement.nativeElement.previousElementSibling||this.focusableElement.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"focused",{get:function(){return i.isNativeFocusedIn(this.elementRef.nativeElement)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"size",{get:function(){return this.controller.size},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"computedInvalid",{get:function(){return!this.readOnly&&!this.disabled&&this.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"inputHidden",{get:function(){var t;return!!(null===(t=this.content)||void 0===t?void 0:t.length)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"hasValue",{get:function(){return!!this.value},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"hasCleaner",{get:function(){return this.controller.cleaner&&this.hasValue&&!this.disabled&&!this.readOnly},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"hasTooltip",{get:function(){var t;return!!(null===(t=this.hintController)||void 0===t?void 0:t.content)&&!this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"hasCustomContent",{get:function(){return!!this.controller.customContent},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"showOnlyPlaceholder",{get:function(){return this.focused&&this.placeholderVisible&&("s"===this.size||"m"===this.size&&!this.placeholderRaisable)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"placeholderVisible",{get:function(){var t,e=(this.controller.exampleText||this.prefix||this.postfix||(null===(t=this.nativeFocusableElement)||void 0===t?void 0:t.placeholder))&&!this.readOnly&&this.computedFocused;return!this.hasValue&&!e},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"hasPlaceholder",{get:function(){return!this.showOnlyPlaceholder&&(this.placeholderRaisable||this.placeholderVisible)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"placeholderRaised",{get:function(){return this.placeholderRaisable&&(this.computedFocused&&!this.readOnly||this.hasValue||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"borderStart",{get:function(){return this.iconAlignLeft?this.iconPaddingLeft:0},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"borderEnd",{get:function(){return a.getBorder(this.iconAlignRight,this.hasCleaner,this.hasTooltip,this.hasCustomContent)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"iconAlignLeft",{get:function(){return this.hasIcon&&"left"===this.iconAlign},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"iconAlignRight",{get:function(){return this.hasIcon&&"right"===this.iconAlign},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"name",{get:function(){return"cc-exp"===this.controller.autocomplete?"ccexpiryyear":null},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"computedId",{get:function(){var t;return(null===(t=this.nativeFocusableElement)||void 0===t?void 0:t.id)||""},enumerable:!0,configurable:!0}),u.prototype.onFocused=function(t){this.updateFocused(t)},u.prototype.getIndent$=function(t){return s.fromEvent(t,"scroll").pipe(d.map((function(){return-1*t.scrollLeft})))},u.prototype.clear=function(){this.nativeFocusableElement&&(this.nativeFocusableElement.value=""),this.updateValue("")},u.prototype.onMouseDown=function(t){var e=this.nativeFocusableElement;e&&t.target!==e&&(t.preventDefault(),i.setNativeFocused(e))},u.prototype.onModelChange=function(t){this.updateValue(t)},u.prototype.onHovered=function(t){this.updateHovered(t)},u.prototype.onAutofilled=function(t){this.updateAutofilled(t)},Object.defineProperty(u.prototype,"iconPaddingLeft",{get:function(){return"s"===this.size?1.5:1.75},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"placeholderRaisable",{get:function(){return"s"!==this.size&&!this.controller.labelOutside},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"hasIcon",{get:function(){return!!this.iconContent},enumerable:!0,configurable:!0}),u.prototype.updateAutofilled=function(t){this.autofilled!==t&&(this.autofilled=t,this.autofilledChange.emit(t))},u.prototype.updateValue=function(t){this.value=t,this.valueChange.emit(t)},u.ctorParameters=function(){return[{type:s.Observable,decorators:[{type:e.Inject,args:[r.TUI_MODE]}]},{type:String,decorators:[{type:e.Inject,args:[r.TUI_TEXTFIELD_APPEARANCE]}]},{type:n.TuiTextfieldController,decorators:[{type:e.Inject,args:[n.TUI_TEXTFIELD_WATCHED_CONTROLLER]}]},{type:o.TuiHintControllerDirective,decorators:[{type:e.Inject,args:[o.TUI_HINT_WATCHED_CONTROLLER]}]},{type:void 0,decorators:[{type:e.Inject,args:[E]}]},{type:e.ElementRef,decorators:[{type:e.Inject,args:[e.ElementRef]}]}]},k([e.ViewChild("focusableElement")],u.prototype,"focusableElement",void 0),k([e.Input(),i.tuiDefaultProp()],u.prototype,"editable",void 0),k([e.Input(),i.tuiDefaultProp()],u.prototype,"filler",void 0),k([e.Input(),i.tuiDefaultProp()],u.prototype,"iconAlign",void 0),k([e.Input(),i.tuiDefaultProp()],u.prototype,"iconContent",void 0),k([e.Input(),i.tuiDefaultProp()],u.prototype,"iconCleaner",void 0),k([e.Input(),e.HostBinding("class._readonly"),i.tuiDefaultProp()],u.prototype,"readOnly",void 0),k([e.Input(),i.tuiDefaultProp()],u.prototype,"invalid",void 0),k([e.Input(),i.tuiDefaultProp()],u.prototype,"disabled",void 0),k([e.Input(),i.tuiDefaultProp()],u.prototype,"prefix",void 0),k([e.Input(),i.tuiDefaultProp()],u.prototype,"postfix",void 0),k([e.Input(),i.tuiDefaultProp()],u.prototype,"value",void 0),k([e.Output()],u.prototype,"valueChange",void 0),k([e.Output()],u.prototype,"autofilledChange",void 0),k([e.ContentChildren(l.PolymorpheusOutletComponent)],u.prototype,"content",void 0),k([e.HostBinding("attr.data-size")],u.prototype,"size",null),k([e.HostBinding("class._invalid")],u.prototype,"computedInvalid",null),k([e.HostBinding("class._hidden")],u.prototype,"inputHidden",null),k([e.HostBinding("style.--border-start.rem")],u.prototype,"borderStart",null),k([e.HostBinding("style.--border-end.rem")],u.prototype,"borderEnd",null),k([e.HostListener("focusin",["true"]),e.HostListener("focusout",["false"])],u.prototype,"onFocused",null),k([i.tuiPure],u.prototype,"getIndent$",null),u=k([e.Component({selector:"tui-primitive-textfield",template:'<ng-container *ngIf="content?.changes | async"></ng-container>\n<tui-wrapper\n automation-id="tui-primitive-textfield__wrapper"\n [appearance]="appearance"\n [readOnly]="readOnly"\n [disabled]="disabled"\n [focused]="computedFocused"\n [hovered]="computedHovered"\n [pressed]="computedPressed"\n [invalid]="computedInvalid"\n [style.--text-indent.px]="decor.pre$ | async"\n (mousedown)="onMouseDown($event)"\n (click.prevent.silent)="(0)"\n (tuiHoveredChange)="onHovered($event)"\n (tuiAutofilledChange)="onAutofilled($event)"\n>\n <ng-content select="input"></ng-content>\n <input\n #focusableElement\n tuiMaskAccessor\n automation-id="tui-primitive-textfield__native-input"\n class="t-input"\n [attr.disabled]="computedDisabled || null"\n [attr.maxLength]="controller.maxLength"\n [attr.name]="name"\n [attr.aria-placeholder]="controller.exampleText"\n [attr.aria-invalid]="computedInvalid"\n [autocomplete]="controller.autocomplete"\n [type]="controller.type"\n [id]="id"\n [readOnly]="readOnly || !editable"\n [tuiInputMode]="controller.inputMode"\n [tuiFocusable]="computedFocusable"\n [tuiDescribedBy]="id"\n [ngModel]="value"\n (ngModelChange)="onModelChange($event)"\n />\n <div\n *ngIf="inputHidden"\n automation-id="tui-primitive-textfield__value"\n class="t-input t-input_template"\n >\n <ng-content select="[polymorpheus-outlet]"></ng-content>\n </div>\n <div class="t-content">\n <div\n *ngIf="iconAlignLeft"\n polymorpheus-outlet\n class="t-icon t-icon_left"\n [content]="iconContent"\n [context]="{$implicit: size}"\n >\n <ng-template let-iconSrc>\n <tui-svg [src]="iconSrc"></tui-svg>\n </ng-template>\n </div>\n <div class="t-wrapper">\n <label\n *ngIf="hasPlaceholder"\n automation-id="tui-primitive-textfield__placeholder"\n class="t-placeholder"\n [class.t-placeholder_raised]="placeholderRaised"\n [for]="computedId"\n >\n <ng-content></ng-content>\n </label>\n <div class="t-wrapper-value-decoration">\n <tui-value-decoration\n #decor\n automation-id="tui-primitive-textfield__value-decoration"\n aria-hidden="true"\n class="t-value-decoration"\n [style.textIndent.px]="getIndent$(focusableElement) | async"\n ></tui-value-decoration>\n </div>\n </div>\n <div\n *ngIf="hasCustomContent"\n polymorpheus-outlet\n automation-id="tui-primitive-textfield__custom-content"\n class="t-custom-content"\n [content]="controller.customContent"\n >\n <ng-template let-iconSrc>\n <tui-svg\n class="t-custom-icon"\n [src]="iconSrc"\n ></tui-svg>\n </ng-template>\n </div>\n <span\n *ngIf="hasCleaner"\n polymorpheus-outlet\n automation-id="tui-primitive-textfield__cleaner"\n class="t-cleaner"\n [content]="iconCleaner"\n (click.stop)="clear()"\n >\n <ng-template let-icon>\n <tui-svg [src]="icon"></tui-svg>\n </ng-template>\n </span>\n <tui-tooltip\n *ngIf="hasTooltip"\n automation-id="tui-primitive-textfield__tooltip"\n [describeId]="computedId"\n [content]="hintController.content || \'\'"\n [direction]="hintController.direction"\n [mode]="hintController.mode"\n [showDelay]="hintController.showDelay"\n [hideDelay]="hintController.hideDelay"\n ></tui-tooltip>\n <div\n *ngIf="iconAlignRight"\n polymorpheus-outlet\n class="t-icon"\n [content]="iconContent"\n [context]="{$implicit: size}"\n >\n <ng-template let-iconSrc>\n <tui-svg [src]="iconSrc"></tui-svg>\n </ng-template>\n </div>\n </div>\n</tui-wrapper>\n',changeDetection:e.ChangeDetectionStrategy.OnPush,providers:I,host:{"($.data-mode.attr)":"mode$","[class._autofilled]":"autofilled","[class._label-outside]":"controller.labelOutside"},styles:[":host{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;border-radius:var(--tui-radius-m);text-align:left}:host[data-size='s']{height:var(--tui-height-s);min-height:var(--tui-height-s);max-height:var(--tui-height-s)}:host[data-size='m']{height:var(--tui-height-m);min-height:var(--tui-height-m);max-height:var(--tui-height-m)}:host[data-size='l']{height:var(--tui-height-l);min-height:var(--tui-height-l);max-height:var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;padding:0 var(--tui-padding-m);border:solid transparent;border-width:0 var(--border-end,0) 0 var(--border-start,0);border-inline-start-width:var(--border-start,0);border-inline-end-width:var(--border-end,0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input:-webkit-autofill,.t-input:-webkit-autofill:focus,.t-input:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill,.t-input :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill:focus,.t-input :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill:hover,.t-input :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill,.t-input :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill:focus,.t-input :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill:hover,:host[data-mode=onDark] .t-input:-webkit-autofill,:host[data-mode=onDark] .t-input:-webkit-autofill:focus,:host[data-mode=onDark] .t-input:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}.t-input :host-context(tui-primitive-textfield[data-size='s']):not(tui-primitive-textfield),.t-input :host-context(tui-text-area[data-size='s']):not(tui-text-area),:host[data-size='s'] .t-input{padding:0 var(--tui-padding-s)}.t-input :host-context(tui-primitive-textfield[data-size='l']):not(tui-primitive-textfield),.t-input :host-context(tui-text-area[data-size='l']):not(tui-text-area),:host[data-size='l'] .t-input{padding:0 var(--tui-padding-l)}.t-input :host-context(tui-primitive-textfield._disabled),.t-input :host-context(tui-text-area._disabled),:host._disabled .t-input{pointer-events:none}.t-input :host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield),:host[data-size='l']:not(._label-outside) .t-input{padding-top:1.25rem}.t-input :host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder,:host[data-size='l']:not(._label-outside) .t-input:-webkit-autofill+.content .placeholder{font-size:.8156rem;transform:translateY(-.625rem)}.t-input :host-context(tui-primitive-textfield[data-size='m']:not(._label-outside)):not(tui-primitive-textfield),:host[data-size='m']:not(._label-outside) .t-input{padding-top:1.125rem}.t-input :host-context(tui-primitive-textfield[data-size='m']:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder,:host[data-size='m']:not(._label-outside) .t-input:-webkit-autofill+.content .placeholder{font-size:.69rem;transform:translateY(-.5rem)}.t-input :host-context(tui-primitive-textfield._hidden),:host._hidden input.t-input{opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content{display:flex;height:100%;width:100%;padding:0 var(--tui-padding-m);box-sizing:border-box;align-items:center;overflow:hidden}:host[data-size='s'] .t-content{padding:0 var(--tui-padding-s)}:host[data-size='l'] .t-content{padding:0 var(--tui-padding-l)}.t-content:after{content:'';margin-right:-.25rem}:host[data-size='m'] .t-content:after{display:none}.t-wrapper{flex:1;min-width:0;padding-right:.25rem;-webkit-padding-end:.25rem;padding-inline-end:.25rem;-webkit-padding-start:0;padding-inline-start:0}.t-placeholder{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}.t-placeholder_raised{transform:translateY(-.625rem)}:host[data-size='m'] .t-placeholder_raised{font:var(--tui-font-text-xs);transform:translateY(-.5rem);letter-spacing:.025rem}:host._invalid:not(._focused) .t-placeholder_raised,:host._invalid:not(._focused):hover .t-placeholder_raised{color:var(--tui-error-fill)}:host[data-mode=onDark]._invalid:not(._focused) .t-placeholder_raised,:host[data-mode=onDark]._invalid:not(._focused):hover .t-placeholder_raised{color:var(--tui-error-fill-night)}:host._focused .t-placeholder,:host[data-size='l']._focused._label-outside .t-placeholder,:host[data-size='m']._focused._label-outside .t-placeholder{color:var(--tui-text-03)}:host[data-size='l'] .t-placeholder{font-size:.9375rem}:host[data-size='l'] .t-placeholder_raised{font-size:.8156rem}:host[data-size='l']._focused:not(._label-outside) .t-placeholder,:host[data-size='m']._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-01)}:host[data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}:host[data-size='l'][data-mode=onDark]._focused:not(._label-outside) .t-placeholder,:host[data-size='m'][data-mode=onDark]._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-01-night)}:host[data-mode=onDark]._focused .t-placeholder,:host[data-size='l'][data-mode=onDark]._focused._label-outside .t-placeholder,:host[data-size='m'][data-mode=onDark]._focused._label-outside .t-placeholder{color:var(--tui-text-02-night)}@supports (-webkit-hyphens:none){.t-placeholder{will-change:unset;transition-property:transform,color,letter-spacing}}.t-cleaner{transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;color:var(--tui-text-03);position:relative;box-sizing:border-box;cursor:pointer;transition-property:color,transform}.t-cleaner:hover{color:var(--tui-text-02)}:host._disabled .t-cleaner,:host._readonly .t-cleaner{pointer-events:none}:host[data-mode=onDark] .t-cleaner{color:var(--tui-text-03-night)}:host[data-mode=onDark] .t-cleaner:hover{color:var(--tui-text-01-night)}.t-icon{display:flex;align-items:center;justify-content:center;color:var(--tui-text-03)}.t-icon_left{margin:0 .5rem 0 -.25rem;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}:host[data-size='s'] .t-icon_left{margin-right:.25rem;-webkit-margin-end:.25rem;margin-inline-end:.25rem}:host._autofilled .t-value-decoration{display:none}:host._autofilled[data-size='m'] .t-placeholder,:host._autofilled[data-size='s'] .t-placeholder{visibility:hidden}.t-custom-content{position:relative;display:flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;margin-right:.25rem;pointer-events:none}.t-custom-icon{width:2rem;height:100%}.t-icon{transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;color:var(--tui-text-03);box-sizing:border-box;cursor:pointer;transition-property:color,transform;position:relative;pointer-events:none}.t-icon:hover{color:var(--tui-text-02)}:host._disabled .t-icon,:host._readonly .t-icon{pointer-events:none}:host[data-mode=onDark] .t-icon{color:var(--tui-text-03-night)}:host[data-mode=onDark] .t-icon:hover{color:var(--tui-text-01-night)}:host:hover:not(._readonly) .t-icon{color:var(--tui-text-02)}:host[data-mode=onDark]:hover:not(._readonly) .t-icon{color:var(--tui-text-01-night)}:host[data-mode=onLight]:hover:not(._readonly) .t-icon{color:var(--tui-text-01)}.t-input:not(:first-child){display:none}:host[data-size] .t-input_template{display:flex;width:calc(100% - 1rem);max-width:calc(100% - 1rem);align-items:center;pointer-events:none;-webkit-padding-end:0;padding-inline-end:0}.t-input::-webkit-caps-lock-indicator{margin-right:.375rem;align-self:center}:host[data-size='l']:not(._label-outside) .t-input::-webkit-caps-lock-indicator{margin-top:-1.25rem}.t-input::-webkit-contacts-auto-fill-button,.t-input::-webkit-credentials-auto-fill-button,.t-input::-webkit-credit-card-auto-fill-button{background-color:var(--tui-text-03)}:host[data-size='l']:not(._label-outside) .t-input::-webkit-contacts-auto-fill-button,:host[data-size='l']:not(._label-outside) .t-input::-webkit-credentials-auto-fill-button,:host[data-size='l']:not(._label-outside) .t-input::-webkit-credit-card-auto-fill-button{margin-top:-1.25rem}.t-input::-webkit-contacts-auto-fill-button:hover,.t-input::-webkit-credentials-auto-fill-button:hover,.t-input::-webkit-credit-card-auto-fill-button:hover{background-color:var(--tui-text-02)}.t-input:-webkit-autofill,.t-input:-webkit-autofill::first-line{font-size:inherit;line-height:inherit}.t-text-template{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-wrapper-value-decoration{position:relative;pointer-events:none}"]}),T(0,e.Inject(r.TUI_MODE)),T(1,e.Inject(r.TUI_TEXTFIELD_APPEARANCE)),T(2,e.Inject(n.TUI_TEXTFIELD_WATCHED_CONTROLLER)),T(3,e.Inject(o.TUI_HINT_WATCHED_CONTROLLER)),T(4,e.Inject(E)),T(5,e.Inject(e.ElementRef))],u)}(i.AbstractTuiInteractive),C=function(t){function i(e){var i=t.call(this,e)||this;return i.textfield=e,i}var o;return _(i,t),o=i,Object.defineProperty(i.prototype,"readOnly",{get:function(){return this.textfield.readOnly||!this.textfield.editable},enumerable:!0,configurable:!0}),i.prototype.onValueChange=function(t){this.textfield.onModelChange(t)},i.ctorParameters=function(){return[{type:O,decorators:[{type:e.Inject,args:[O]}]}]},i=o=k([e.Directive({selector:"tui-primitive-textfield",providers:[{provide:r.TUI_TEXTFIELD_HOST,useExisting:e.forwardRef((function(){return o}))}]}),T(0,e.Inject(O))],i)}(c.TuiAbstractTextfieldHost),P=function(){function t(t,e,i,o,n){this.host=t,this.controller=e,this.elementRef=i,this.describedBy=o,this.idService=n,this.host.process(this.elementRef.nativeElement)}return Object.defineProperty(t.prototype,"computedDescribedBy",{get:function(){return this.describedBy.computedDescribedBy},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this.elementRef.nativeElement.id||this.idService.generate()},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){this.describedBy.tuiDescribedBy=this.id},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[r.TUI_TEXTFIELD_HOST]}]},{type:x.TuiTextfieldController,decorators:[{type:e.Inject,args:[x.TUI_TEXTFIELD_WATCHED_CONTROLLER]}]},{type:e.ElementRef,decorators:[{type:e.Inject,args:[e.ElementRef]}]},{type:x.TuiDescribedByDirective,decorators:[{type:e.Inject,args:[x.TuiDescribedByDirective]}]},{type:i.TuiIdService,decorators:[{type:e.Inject,args:[i.TuiIdService]}]}]},k([e.HostBinding("attr.aria-describedby")],t.prototype,"computedDescribedBy",null),k([e.HostBinding("id")],t.prototype,"id",null),t=k([e.Component({selector:"input[tuiTextfield], textarea[tuiTextfield]",template:"",providers:[x.TuiDescribedByDirective,x.TUI_DESCRIBED_BY_PROVIDERS,x.TEXTFIELD_CONTROLLER_PROVIDER],host:{type:"text","[attr.aria-placeholder]":"controller.exampleText","[attr.aria-invalid]":"host.invalid","[attr.disabled]":"host.disabled || null","[tabIndex]":"host.focusable ? 0 : -1","[readOnly]":"host.readOnly","[value]":"host.value","(input)":"host.onValueChange($event.target.value)"},changeDetection:e.ChangeDetectionStrategy.OnPush,styles:[":host{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;padding:0 var(--tui-padding-m);border:solid transparent;border-width:0 var(--border-end,0) 0 var(--border-start,0);border-inline-start-width:var(--border-start,0);border-inline-end-width:var(--border-end,0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}:host:-webkit-autofill,:host:-webkit-autofill:focus,:host:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}:host :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill,:host :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill:focus,:host :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill:hover,:host :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill,:host :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill:focus,:host :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill:hover,:host[data-mode=onDark] :host:-webkit-autofill,:host[data-mode=onDark] :host:-webkit-autofill:focus,:host[data-mode=onDark] :host:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}:host :host-context(tui-primitive-textfield[data-size='s']):not(tui-primitive-textfield),:host :host-context(tui-text-area[data-size='s']):not(tui-text-area),:host[data-size='s'] :host{padding:0 var(--tui-padding-s)}:host :host-context(tui-primitive-textfield[data-size='l']):not(tui-primitive-textfield),:host :host-context(tui-text-area[data-size='l']):not(tui-text-area),:host[data-size='l'] :host{padding:0 var(--tui-padding-l)}:host :host-context(tui-primitive-textfield._disabled),:host :host-context(tui-text-area._disabled),:host._disabled :host{pointer-events:none}:host :host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield),:host[data-size='l']:not(._label-outside) :host{padding-top:1.25rem}:host :host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder,:host[data-size='l']:not(._label-outside) :host:-webkit-autofill+.content .placeholder{font-size:.8156rem;transform:translateY(-.625rem)}:host :host-context(tui-primitive-textfield[data-size='m']:not(._label-outside)):not(tui-primitive-textfield),:host[data-size='m']:not(._label-outside) :host{padding-top:1.125rem}:host :host-context(tui-primitive-textfield[data-size='m']:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder,:host[data-size='m']:not(._label-outside) :host:-webkit-autofill+.content .placeholder{font-size:.69rem;transform:translateY(-.5rem)}:host :host-context(tui-primitive-textfield._hidden),:host._hidden input:host{opacity:0;text-indent:-10em;-webkit-user-select:none}:host::-webkit-caps-lock-indicator{margin-right:.375rem;align-self:center}:host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)) :host::-webkit-caps-lock-indicator{margin-top:-1.25rem}:host::-webkit-contacts-auto-fill-button,:host::-webkit-credentials-auto-fill-button,:host::-webkit-credit-card-auto-fill-button{background-color:var(--tui-text-03)}:host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)) :host::-webkit-contacts-auto-fill-button,:host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)) :host::-webkit-credentials-auto-fill-button,:host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)) :host::-webkit-credit-card-auto-fill-button{margin-top:-1.25rem}:host::-webkit-contacts-auto-fill-button:hover,:host::-webkit-credentials-auto-fill-button:hover,:host::-webkit-credit-card-auto-fill-button:hover{background-color:var(--tui-text-02)}:host::-ms-input-placeholder{color:var(--tui-text-03);opacity:0}:host::placeholder{color:var(--tui-text-03);opacity:0}:host :host-context(tui-primitive-textfield[data-mode=onDark])::-ms-input-placeholder,:host :host-context(tui-text-area[data-mode=onDark])::-ms-input-placeholder{color:var(--tui-text-03-night)}:host :host-context(tui-primitive-textfield[data-mode=onDark])::placeholder,:host :host-context(tui-text-area[data-mode=onDark])::placeholder{color:var(--tui-text-03-night)}:host :host-context(tui-primitive-textfield._focused:not(._readonly))::-ms-input-placeholder,:host :host-context(tui-text-area._focused:not(._readonly))::-ms-input-placeholder{opacity:1}:host :host-context(tui-primitive-textfield._focused:not(._readonly))::placeholder,:host :host-context(tui-text-area._focused:not(._readonly))::placeholder{opacity:1}textarea:host{white-space:normal}textarea:host :host-context(tui-text-area._ios){padding-left:.8125rem}"]}),T(0,e.Inject(r.TUI_TEXTFIELD_HOST)),T(1,e.Inject(x.TUI_TEXTFIELD_WATCHED_CONTROLLER)),T(2,e.Inject(e.ElementRef)),T(3,e.Inject(x.TuiDescribedByDirective)),T(4,e.Inject(i.TuiIdService))],t)}(),z=function(){function t(t,e){var i=this;this.textfield=t,this.controller=e,this.prefix$=new s.BehaviorSubject(""),this.pre$=this.prefix$.pipe(d.delay(0),d.filter((function(){var t;return!!(null===(t=i.pre)||void 0===t?void 0:t.nativeElement.isConnected)})),d.distinctUntilChanged(),d.map((function(){var t;return(null===(t=i.pre)||void 0===t?void 0:t.nativeElement.offsetWidth)||0})))}return Object.defineProperty(t.prototype,"isContextTable",{get:function(){return"table"===this.textfield.appearance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.textfield.value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"filler",{get:function(){var t=this,e=t.focused,i=t.placeholder,o=t.exampleText,n=t.value,r=t.textfield;return i&&o?"":e?o||r.filler.slice(n.length):""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"prefix",{get:function(){return this.decorationsVisible?this.textfield.prefix:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"postfix",{get:function(){return this.decorationsVisible?this.computedPostfix:""},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){this.prefix$.next(this.prefix)},Object.defineProperty(t.prototype,"placeholder",{get:function(){var t;return(null===(t=this.textfield.nativeFocusableElement)||void 0===t?void 0:t.placeholder)||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"exampleText",{get:function(){var t=this.controller.exampleText||this.placeholder;return!this.value&&this.focused?t:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"decorationsVisible",{get:function(){return!!this.value||this.focused},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{get:function(){return this.textfield.computedFocused&&!this.textfield.readOnly},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"computedPostfix",{get:function(){return this.textfield.postfix&&(this.filler||this.value)?" "+this.textfield.postfix:this.textfield.postfix},enumerable:!0,configurable:!0}),t.ctorParameters=function(){return[{type:O,decorators:[{type:e.Inject,args:[O]}]},{type:x.TuiTextfieldController,decorators:[{type:e.Inject,args:[x.TUI_TEXTFIELD_WATCHED_CONTROLLER]}]}]},k([e.ViewChild("pre",{read:e.ElementRef,static:!0})],t.prototype,"pre",void 0),k([e.HostBinding("class._table")],t.prototype,"isContextTable",null),k([e.HostListener("animationstart")],t.prototype,"ngDoCheck",null),t=k([e.Component({selector:"tui-value-decoration",template:'<span\n #pre\n class="t-prefix t-inline"\n [innerText]="prefix"\n></span>\n<span\n class="t-ghost t-inline"\n [innerText]="value"\n></span>\n<span\n class="t-filler t-inline"\n [innerText]="filler"\n></span>\n<span\n class="t-postfix t-inline"\n [innerText]="postfix"\n></span>\n',changeDetection:e.ChangeDetectionStrategy.Default,styles:[":host{position:absolute;display:block;height:1.25rem;line-height:1;width:100%;margin:-1.25rem 0;padding:.625rem 0;box-sizing:content-box;color:var(--tui-text-01);-webkit-animation:1s tuiPresent;animation:1s tuiPresent}:host._table{position:static}:host-context(tui-textfield[data-mode=onDark]) :host{color:var(--tui-text-01-night)}:host:after{content:'';display:inline-block;vertical-align:middle;height:100%}.t-ghost{visibility:hidden;white-space:pre;text-overflow:clip}.t-postfix,.t-prefix{white-space:pre}.t-filler{overflow:hidden;color:var(--tui-text-03);text-overflow:ellipsis;max-width:100%;white-space:nowrap}:host-context(tui-textfield[data-mode=onDark]) .t-filler{color:var(--tui-text-03-night)}.t-inline{display:inline-block;vertical-align:middle}"]}),T(0,e.Inject(O)),T(1,e.Inject(x.TUI_TEXTFIELD_WATCHED_CONTROLLER))],t)}(),j=function(){function t(){}return t=k([e.NgModule({imports:[p.CommonModule,h.FormsModule,l.PolymorpheusModule,g.TuiMaskAccessorModule,i.TuiFocusableModule,i.TuiHoveredModule,i.TuiInputModeModule,v.TuiWrapperModule,f.TuiSvgModule,m.TuiTooltipModule,i.TuiAutofilledModule,b.TuiDescribedByModule],declarations:[O,C,P,z],exports:[O,C,P]})],t)}();t.TUI_PRIMITIVE_TEXTFIELD_DEFAULT_OPTIONS=D,t.TUI_PRIMITIVE_TEXTFIELD_ICON_CLEANER="tuiIconCloseLarge",t.TUI_PRIMITIVE_TEXTFIELD_OPTIONS=E,t.TUI_PRIMITIVE_TEXTFIELD_PROVIDERS=I,t.TuiPrimitiveTextfieldComponent=O,t.TuiPrimitiveTextfieldDirective=C,t.TuiPrimitiveTextfieldModule=j,t.TuiTextfieldComponent=P,t.TuiValueDecorationComponent=z,t.tuiPrimitiveTextfieldOptionsProvider=function(t){return{provide:E,useValue:w(w({},D),t)}},Object.defineProperty(t,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-core-components-primitive-textfield.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/core/components/primitive-textfield/primitive-textfield.providers.ts","ng://@taiga-ui/core/components/primitive-textfield/primitive-textfield-options.ts","ng://@taiga-ui/core/components/primitive-textfield/primitive-textfield.component.ts","ng://@taiga-ui/core/components/primitive-textfield/primitive-textfield.directive.ts","ng://@taiga-ui/core/components/primitive-textfield/textfield/textfield.component.ts","ng://@taiga-ui/core/components/primitive-textfield/value-decoration/value-decoration.component.ts","ng://@taiga-ui/core/components/primitive-textfield/primitive-textfield.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__extends","TypeError","String","__","this","constructor","create","__assign","assign","t","s","i","n","arguments","length","apply","__decorate","decorators","target","key","desc","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__param","paramIndex","decorator","TUI_PRIMITIVE_TEXTFIELD_PROVIDERS","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","TuiPrimitiveTextfieldComponent","TEXTFIELD_CONTROLLER_PROVIDER","HINT_CONTROLLER_PROVIDER","MODE_PROVIDER","TUI_PRIMITIVE_TEXTFIELD_DEFAULT_OPTIONS","iconAlign","iconCleaner","TUI_PRIMITIVE_TEXTFIELD_OPTIONS","InjectionToken","factory","mode$","appearance","controller","hintController","options","elementRef","_this","_super","editable","filler","iconContent","readOnly","invalid","disabled","prefix","postfix","value","valueChange","EventEmitter","autofilledChange","autofilled","computedDisabled","focusableElement","nativeElement","previousElementSibling","isNativeFocusedIn","size","_a","content","cleaner","hasValue","customContent","focused","placeholderVisible","placeholderRaisable","showDecor","exampleText","nativeFocusableElement","placeholder","computedFocused","showOnlyPlaceholder","iconAlignLeft","iconPaddingLeft","getBorder","iconAlignRight","hasCleaner","hasTooltip","hasCustomContent","hasIcon","autocomplete","id","onFocused","updateFocused","getIndent$","element","fromEvent","pipe","map","scrollLeft","clear","updateValue","onMouseDown","event","preventDefault","setNativeFocused","onModelChange","onHovered","hovered","updateHovered","onAutofilled","updateAutofilled","labelOutside","emit","Observable","type","Inject","args","TUI_MODE","TUI_TEXTFIELD_APPEARANCE","TuiTextfieldController","TUI_TEXTFIELD_WATCHED_CONTROLLER","TuiHintControllerDirective","TUI_HINT_WATCHED_CONTROLLER","ElementRef","ViewChild","Input","tuiDefaultProp","HostBinding","Output","ContentChildren","PolymorpheusOutletComponent","HostListener","tuiPure","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","host","($.data-mode.attr)","[class._autofilled]","[class._label-outside]","AbstractTuiInteractive","TuiPrimitiveTextfieldDirective","textfield","onValueChange","TuiPrimitiveTextfieldDirective_1","Directive","TUI_TEXTFIELD_HOST","TuiAbstractTextfieldHost","TuiTextfieldComponent","describedBy","idService","process","computedDescribedBy","generate","ngDoCheck","tuiDescribedBy","TuiDescribedByDirective","TuiIdService","TUI_DESCRIBED_BY_PROVIDERS","[attr.aria-placeholder]","[attr.aria-invalid]","[attr.disabled]","[tabIndex]","[readOnly]","[value]","(input)","TuiValueDecorationComponent","prefix$","BehaviorSubject","pre$","delay","filter","pre","isConnected","distinctUntilChanged","offsetWidth","slice","decorationsVisible","computedPostfix","next","read","static","Default","TuiPrimitiveTextfieldModule","NgModule","imports","CommonModule","FormsModule","PolymorpheusModule","TuiMaskAccessorModule","TuiFocusableModule","TuiHoveredModule","TuiInputModeModule","TuiWrapperModule","TuiSvgModule","TuiTooltipModule","TuiAutofilledModule","TuiDescribedByModule","declarations","exports","useValue"],"mappings":"+sEAgBA,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,IAGrB,SAASS,EAAUV,EAAGC,GACzB,GAAiB,mBAANA,GAA0B,OAANA,EAC3B,MAAM,IAAIU,UAAU,uBAAyBC,OAAOX,GAAK,iCAE7D,SAASY,IAAOC,KAAKC,YAAcf,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEO,UAAkB,OAANN,EAAaC,OAAOc,OAAOf,IAAMY,EAAGN,UAAYN,EAAEM,UAAW,IAAIM,GAG5E,IAAII,EAAW,WAQlB,OAPAA,EAAWf,OAAOgB,QAAU,SAAkBC,GAC1C,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAIf,KADTc,EAAIG,UAAUF,GACOnB,OAAOK,UAAUC,eAAeC,KAAKW,EAAGd,KAAIa,EAAEb,GAAKc,EAAEd,IAE9E,OAAOa,IAEKM,MAAMX,KAAMS,YAezB,SAASG,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2H9B,EAAvH+B,EAAIR,UAAUC,OAAQQ,EAAID,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAO5B,OAAO+B,yBAAyBL,EAAQC,GAAOC,EACrH,GAAuB,iBAAZI,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASR,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIT,EAAIM,EAAWH,OAAS,EAAGH,GAAK,EAAGA,KAASrB,EAAI2B,EAAWN,MAAIW,GAAKD,EAAI,EAAI/B,EAAEgC,GAAKD,EAAI,EAAI/B,EAAE4B,EAAQC,EAAKG,GAAKhC,EAAE4B,EAAQC,KAASG,GAChJ,OAAOD,EAAI,GAAKC,GAAK9B,OAAOkC,eAAeR,EAAQC,EAAKG,GAAIA,EAGzD,SAASK,EAAQC,EAAYC,GAChC,OAAO,SAAUX,EAAQC,GAAOU,EAAUX,EAAQC,EAAKS,IA6C9BpC,OAAOc,OA0GXd,OAAOc,WC7MnBwB,EAAoC,CAC7C,CACIC,QAASC,EAAAA,4BACTC,YAAaC,EAAAA,YAAW,WAAM,OAAAC,MAElCC,EAAAA,8BACAC,EAAAA,yBACAC,EAAAA,eCFSC,EAAwE,CACjFC,UAAW,QACXC,YALgD,qBAQvCC,EACT,IAAIC,EAAAA,eACA,uDACA,CACIC,QAAS,WAAM,OAAAL,mBC0GvB,SAAAJ,EAC+BU,EACgBC,EAElCC,EAEAC,EAEAC,EAC4BC,GATzC,IAAAC,EAWIC,EAAArD,KAAAK,OAAOA,YAVoB+C,EAAAN,MAAAA,EACgBM,EAAAL,WAAAA,EAElCK,EAAAJ,WAAAA,EAEAI,EAAAH,eAAAA,EAEAG,EAAAF,QAAAA,EAC4BE,EAAAD,WAAAA,EApEzCC,EAAAE,UAAW,EAIXF,EAAAG,OAAS,GAITH,EAAAX,UAAuDW,EAAKF,QAAQT,UAKpEW,EAAAI,YACI,KAIJJ,EAAAV,YAA2DU,EAAKF,QAAQR,YAKxEU,EAAAK,UAAW,EAIXL,EAAAM,SAAU,EAIVN,EAAAO,UAAW,EAIXP,EAAAQ,OAAS,GAITR,EAAAS,QAAU,GAIVT,EAAAU,MAAQ,GAGCV,EAAAW,YAAc,IAAIC,EAAAA,aAMlBZ,EAAAa,iBAAmB,IAAID,EAAAA,aAKhCZ,EAAAc,YAAa,IAwMjB,OAzQYjE,EAAAmC,EAAAiB,GAiFR5D,OAAAkC,eAAIS,EAAAtC,UAAA,yBAAsB,KAA1B,WACI,OAAIO,KAAK8D,mBAAqB9D,KAAK+D,iBACxB,KAKN/D,KAAK+D,iBAAiBC,cAClBC,wBACLjE,KAAK+D,iBAAiBC,+CAI9B5E,OAAAkC,eAAIS,EAAAtC,UAAA,UAAO,KAAX,WACI,OAAOyE,EAAAA,kBAAkBlE,KAAK8C,WAAWkB,gDAI7C5E,OAAAkC,eAAIS,EAAAtC,UAAA,OAAI,KAAR,WACI,OAAOO,KAAK2C,WAAWwB,sCAI3B/E,OAAAkC,eAAIS,EAAAtC,UAAA,kBAAe,KAAnB,WACI,OAAQO,KAAKoD,WAAapD,KAAKsD,UAAYtD,KAAKqD,yCAIpDjE,OAAAkC,eAAIS,EAAAtC,UAAA,cAAW,KAAf,iBACI,SAAqB,QAAb2E,EAACpE,KAAKqE,eAAO,IAAAD,OAAA,EAAAA,EAAE1D,yCAG3BtB,OAAAkC,eAAIS,EAAAtC,UAAA,WAAQ,KAAZ,WACI,QAASO,KAAKyD,uCAGlBrE,OAAAkC,eAAIS,EAAAtC,UAAA,aAAU,KAAd,WACI,OACIO,KAAK2C,WAAW2B,SAAWtE,KAAKuE,WAAavE,KAAKsD,WAAatD,KAAKoD,0CAI5EhE,OAAAkC,eAAIS,EAAAtC,UAAA,aAAU,KAAd,iBACI,SAA4B,QAApB2E,EAACpE,KAAK4C,sBAAc,IAAAwB,OAAA,EAAAA,EAAEC,WAAYrE,KAAKsD,0CAGnDlE,OAAAkC,eAAIS,EAAAtC,UAAA,mBAAgB,KAApB,WACI,QAASO,KAAK2C,WAAW6B,+CAG7BpF,OAAAkC,eAAIS,EAAAtC,UAAA,sBAAmB,KAAvB,WACI,OACIO,KAAKyE,SACLzE,KAAK0E,qBACU,MAAd1E,KAAKmE,MAA+B,MAAdnE,KAAKmE,OAAiBnE,KAAK2E,sDAI1DvF,OAAAkC,eAAIS,EAAAtC,UAAA,qBAAkB,KAAtB,iBAMUmF,GAJF5E,KAAK2C,WAAWkC,aAChB7E,KAAKuD,QACLvD,KAAKwD,UACsB,QADfY,EACZpE,KAAK8E,8BAAsB,IAAAV,OAAA,EAAAA,EAAEW,gBACF/E,KAAKoD,UAAYpD,KAAKgF,gBAErD,OAAQhF,KAAKuE,WAAaK,mCAG9BxF,OAAAkC,eAAIS,EAAAtC,UAAA,iBAAc,KAAlB,WACI,OACKO,KAAKiF,sBACLjF,KAAK2E,qBAAuB3E,KAAK0E,qDAI1CtF,OAAAkC,eAAIS,EAAAtC,UAAA,oBAAiB,KAArB,WACI,OACIO,KAAK2E,sBACH3E,KAAKgF,kBAAoBhF,KAAKoD,UAAapD,KAAKuE,UAAYvE,KAAK6D,6CAK3EzE,OAAAkC,eAAIS,EAAAtC,UAAA,cAAW,KAAf,WACI,OAAOO,KAAKkF,cAAgBlF,KAAKmF,gBAAkB,mCAIvD/F,OAAAkC,eAAIS,EAAAtC,UAAA,YAAS,KAAb,WACI,OAAO2F,EAAAA,UACHpF,KAAKqF,eACLrF,KAAKsF,WACLtF,KAAKuF,WACLvF,KAAKwF,mDAIbpG,OAAAkC,eAAIS,EAAAtC,UAAA,gBAAa,KAAjB,WACI,OAAOO,KAAKyF,SAA8B,SAAnBzF,KAAKoC,2CAGhChD,OAAAkC,eAAIS,EAAAtC,UAAA,iBAAc,KAAlB,WACI,OAAOO,KAAKyF,SAA8B,UAAnBzF,KAAKoC,2CAIhChD,OAAAkC,eAAIS,EAAAtC,UAAA,OAAI,KAAR,WACI,MAAmC,WAA5BO,KAAK2C,WAAW+C,aACjB,eACA,sCAGVtG,OAAAkC,eAAIS,EAAAtC,UAAA,aAAU,KAAd,iBACI,OAAkC,QAA3B2E,EAAApE,KAAK8E,8BAAsB,IAAAV,OAAA,EAAAA,EAAEuB,KAAM,oCAK9C5D,EAAAtC,UAAAmG,UAAA,SAAUnB,GACNzE,KAAK6F,cAAcpB,IAIvB1C,EAAAtC,UAAAqG,WAAA,SAAWC,GACP,OAAOC,EAAAA,UAAUD,EAAS,UAAUE,KAAKC,EAAAA,KAAI,WAAM,OAAC,EAAIH,EAAQI,gBAGpEpE,EAAAtC,UAAA2G,MAAA,WACQpG,KAAK8E,yBACL9E,KAAK8E,uBAAuBrB,MAAQ,IAGxCzD,KAAKqG,YAAY,KAGrBtE,EAAAtC,UAAA6G,YAAA,SAAYC,GACD,IAAAzB,EAAA9E,KAAA8E,uBAEFA,GAA0ByB,EAAMzF,SAAWgE,IAIhDyB,EAAMC,iBACNC,EAAAA,iBAAiB3B,KAGrB/C,EAAAtC,UAAAiH,cAAA,SAAcjD,GACVzD,KAAKqG,YAAY5C,IAGrB1B,EAAAtC,UAAAkH,UAAA,SAAUC,GACN5G,KAAK6G,cAAcD,IAGvB7E,EAAAtC,UAAAqH,aAAA,SAAajD,GACT7D,KAAK+G,iBAAiBlD,IAG1BzE,OAAAkC,eAAYS,EAAAtC,UAAA,kBAAe,KAA3B,WACI,MAAqB,MAAdO,KAAKmE,KAhQG,IADF,sCAoQjB/E,OAAAkC,eAAYS,EAAAtC,UAAA,sBAAmB,KAA/B,WACI,MAAqB,MAAdO,KAAKmE,OAAiBnE,KAAK2C,WAAWqE,8CAGjD5H,OAAAkC,eAAYS,EAAAtC,UAAA,UAAO,KAAnB,WACI,QAASO,KAAKmD,6CAGVpB,EAAAtC,UAAAsH,iBAAR,SAAyBlD,GACjB7D,KAAK6D,aAAeA,IAIxB7D,KAAK6D,WAAaA,EAClB7D,KAAK4D,iBAAiBqD,KAAKpD,KAGvB9B,EAAAtC,UAAA4G,YAAR,SAAoB5C,GAChBzD,KAAKyD,MAAQA,EACbzD,KAAK0D,YAAYuD,KAAKxD,6CAnMYyD,EAAAA,WAAUrG,WAAA,CAAA,CAAAsG,KAA3CC,EAAAA,OAAMC,KAAA,CAACC,EAAAA,4CACPF,EAAAA,OAAMC,KAAA,CAACE,EAAAA,mCAEaC,EAAAA,uBAAsB3G,WAAA,CAAA,CAAAsG,KAD1CC,EAAAA,OAAMC,KAAA,CAACI,EAAAA,2CAGiBC,EAAAA,2BAA0B7G,WAAA,CAAA,CAAAsG,KADlDC,EAAAA,OAAMC,KAAA,CAACM,EAAAA,+DAEPP,EAAAA,OAAMC,KAAA,CAAC/E,YAEyCsF,EAAAA,WAAU/G,WAAA,CAAA,CAAAsG,KAA1DC,EAAAA,OAAMC,KAAA,CAACO,EAAAA,iBAxEZhH,EAAA,CADCiH,EAAAA,UAAU,4DAKXjH,EAAA,CAFCkH,EAAAA,QACAC,EAAAA,iDAKDnH,EAAA,CAFCkH,EAAAA,QACAC,EAAAA,+CAKDnH,EAAA,CAFCkH,EAAAA,QACAC,EAAAA,kDAMDnH,EAAA,CAFCkH,EAAAA,QACAC,EAAAA,oDAMDnH,EAAA,CAFCkH,EAAAA,QACAC,EAAAA,oDAMDnH,EAAA,CAHCkH,EAAAA,QACAE,EAAAA,YAAY,mBACZD,EAAAA,iDAKDnH,EAAA,CAFCkH,EAAAA,QACAC,EAAAA,gDAKDnH,EAAA,CAFCkH,EAAAA,QACAC,EAAAA,iDAKDnH,EAAA,CAFCkH,EAAAA,QACAC,EAAAA,+CAKDnH,EAAA,CAFCkH,EAAAA,QACAC,EAAAA,gDAKDnH,EAAA,CAFCkH,EAAAA,QACAC,EAAAA,8CAIDnH,EAAA,CADCqH,EAAAA,4CAODrH,EAAA,CADCqH,EAAAA,iDAIDrH,EAAA,CADCsH,EAAAA,gBAAgBC,EAAAA,4DAqCjBvH,EAAA,CADCoH,EAAAA,YAAY,4CAMbpH,EAAA,CADCoH,EAAAA,YAAY,uDAMbpH,EAAA,CADCoH,EAAAA,YAAY,kDAyDbpH,EAAA,CADCoH,EAAAA,YAAY,6DAMbpH,EAAA,CADCoH,EAAAA,YAAY,yDA+BbpH,EAAA,CAFCwH,EAAAA,aAAa,UAAW,CAAC,SACzBA,EAAAA,aAAa,WAAY,CAAC,yCAM3BxH,EAAA,CADCyH,EAAAA,wCA7MQtG,EAA8BnB,EAAA,CAZ1C0H,EAAAA,UAAU,CACPC,SAAU,0BACVC,SAAA,i2IAEAC,gBAAiBC,EAAAA,wBAAwBC,OACzCC,UAAWlH,EACXmH,KAAM,CACFC,qBAAsB,QACtBC,sBAAuB,aACvBC,yBAA0B,23TAwEzBzH,EAAA,EAAA6F,EAAAA,OAAOE,EAAAA,WACP/F,EAAA,EAAA6F,EAAAA,OAAOG,EAAAA,2BACPhG,EAAA,EAAA6F,EAAAA,OAAOK,EAAAA,mCAEPlG,EAAA,EAAA6F,EAAAA,OAAOO,EAAAA,8BAEPpG,EAAA,EAAA6F,EAAAA,OAAO9E,IAEPf,EAAA,EAAA6F,EAAAA,OAAOQ,EAAAA,cA7EH7F,IACDkH,EAAAA,sCC5CR,SAAAC,EAEqBC,GAFrB,IAAApG,EASIC,EAAArD,KAAAK,KAAMmJ,IAAoDnJ,YAPzC+C,EAAAoG,UAAAA,UAiBzB,OApBoDvJ,EAAAsJ,EAAAlG,KAAvCkG,EAaT9J,OAAAkC,eAAI4H,EAAAzJ,UAAA,WAAQ,KAAZ,WACI,OAAOO,KAAKmJ,UAAU/F,WAAapD,KAAKmJ,UAAUlG,0CAGtDiG,EAAAzJ,UAAA2J,cAAA,SAAc3F,GACVzD,KAAKmJ,UAAUzC,cAAcjD,6CAfD1B,EAA8BlB,WAAA,CAAA,CAAAsG,KADzDC,EAAAA,OAAMC,KAAA,CAACtF,QAFHmH,EAA8BG,EAAAzI,EAAA,CAT1C0I,EAAAA,UAAU,CACPf,SAAU,0BACVK,UAAW,CACP,CACIjH,QAAS4H,EAAAA,mBACT1H,YAAaC,EAAAA,YAAW,WAAM,OAAAuH,SAMjC9H,EAAA,EAAA6F,EAAAA,OAAOrF,KAFHmH,IAAuCM,EAAAA,uCC0BhD,SAAAC,EACyCZ,EAE5BlG,EAC4BG,EAEpB4G,EAEAC,GAPoB3J,KAAA6I,KAAAA,EAE5B7I,KAAA2C,WAAAA,EAC4B3C,KAAA8C,WAAAA,EAEpB9C,KAAA0J,YAAAA,EAEA1J,KAAA2J,UAAAA,EAEjB3J,KAAK6I,KAAKe,QAAQ5J,KAAK8C,WAAWkB,eAgB1C,OAZI5E,OAAAkC,eAAImI,EAAAhK,UAAA,sBAAmB,KAAvB,WACI,OAAOO,KAAK0J,YAAYG,qDAI5BzK,OAAAkC,eAAImI,EAAAhK,UAAA,KAAE,KAAN,WACI,OAAOO,KAAK8C,WAAWkB,cAAc2B,IAAM3F,KAAK2J,UAAUG,4CAG9DL,EAAAhK,UAAAsK,UAAA,WACI/J,KAAK0J,YAAYM,eAAiBhK,KAAK2F,sEAvBtCyB,EAAAA,OAAMC,KAAA,CAACkC,EAAAA,6BAEa/B,EAAAA,uBAAsB3G,WAAA,CAAA,CAAAsG,KAD1CC,EAAAA,OAAMC,KAAA,CAACI,EAAAA,2CAEyCG,EAAAA,WAAU/G,WAAA,CAAA,CAAAsG,KAA1DC,EAAAA,OAAMC,KAAA,CAACO,EAAAA,qBAEsBqC,EAAAA,wBAAuBpJ,WAAA,CAAA,CAAAsG,KADpDC,EAAAA,OAAMC,KAAA,CAAC4C,EAAAA,kCAGoBC,EAAAA,aAAYrJ,WAAA,CAAA,CAAAsG,KADvCC,EAAAA,OAAMC,KAAA,CAAC6C,EAAAA,mBAOZtJ,EAAA,CADCoH,EAAAA,YAAY,kEAMbpH,EAAA,CADCoH,EAAAA,YAAY,8BAnBJyB,EAAqB7I,EAAA,CArBjC0H,EAAAA,UAAU,CACPC,SAAU,8CACVC,SAAU,GACVI,UAAW,CACPqB,EAAAA,wBACAE,EAAAA,2BACAnI,EAAAA,+BAEJ6G,KAAM,CACF1B,KAAM,OACNiD,0BAA2B,yBAC3BC,sBAAuB,eACvBC,kBAAmB,wBACnBC,aAAc,0BACdC,aAAc,gBACdC,UAAW,aACXC,UAAW,2CAGfjC,gBAAiBC,EAAAA,wBAAwBC,g2KAIpCpH,EAAA,EAAA6F,EAAAA,OAAOmC,EAAAA,qBACPhI,EAAA,EAAA6F,EAAAA,OAAOK,EAAAA,mCAEPlG,EAAA,EAAA6F,EAAAA,OAAOQ,EAAAA,aACPrG,EAAA,EAAA6F,EAAAA,OAAO6C,EAAAA,0BAEP1I,EAAA,EAAA6F,EAAAA,OAAO8C,EAAAA,gBARHT,mBCDT,SAAAkB,EAEqBxB,EAEAxG,GAJrB,IAAAI,EAAA/C,KAEqBA,KAAAmJ,UAAAA,EAEAnJ,KAAA2C,WAAAA,EAbJ3C,KAAA4K,QAAU,IAAIC,EAAAA,gBAAgB,IAEtC7K,KAAA8K,KAAO9K,KAAK4K,QAAQ3E,KACzB8E,EAAAA,MAAM,GACNC,EAAAA,QAAO,WAAA,IAAA5G,EAAM,SAAU,QAATA,EAACrB,EAAKkI,WAAG,IAAA7G,OAAA,EAAAA,EAAEJ,cAAckH,gBACvCC,EAAAA,uBACAjF,EAAAA,KAAI,WAAA,IAAA9B,EAAM,OAAQ,QAARA,EAAArB,EAAKkI,WAAG,IAAA7G,OAAA,EAAAA,EAAEJ,cAAcoH,cAAe,MAiEzD,OAtDIhM,OAAAkC,eAAIqJ,EAAAlL,UAAA,iBAAc,KAAlB,WACI,MAAgC,UAAzBO,KAAKmJ,UAAUzG,4CAG1BtD,OAAAkC,eAAIqJ,EAAAlL,UAAA,QAAK,KAAT,WACI,OAAOO,KAAKmJ,UAAU1F,uCAG1BrE,OAAAkC,eAAIqJ,EAAAlL,UAAA,SAAM,KAAV,WACU,IAAA2E,EAAApE,KAACyE,EAAAL,EAAAK,QAASM,EAAAX,EAAAW,YAAaF,EAAAT,EAAAS,YAAapB,EAAAW,EAAAX,MAAO0F,EAAA/E,EAAA+E,UAEjD,OAAIpE,GAAeF,EACR,GAGJJ,EAAUI,GAAesE,EAAUjG,OAAOmI,MAAM5H,EAAM/C,QAAU,oCAG3EtB,OAAAkC,eAAIqJ,EAAAlL,UAAA,SAAM,KAAV,WACI,OAAOO,KAAKsL,mBAAqBtL,KAAKmJ,UAAU5F,OAAS,oCAG7DnE,OAAAkC,eAAIqJ,EAAAlL,UAAA,UAAO,KAAX,WACI,OAAOO,KAAKsL,mBAAqBtL,KAAKuL,gBAAkB,oCAI5DZ,EAAAlL,UAAAsK,UAAA,WACI/J,KAAK4K,QAAQY,KAAKxL,KAAKuD,SAG3BnE,OAAAkC,eAAYqJ,EAAAlL,UAAA,cAAW,KAAvB,iBACI,OAA4C,QAArC2E,EAAApE,KAAKmJ,UAAUrE,8BAAsB,IAAAV,OAAA,EAAAA,EAAEW,cAAe,oCAGjE3F,OAAAkC,eAAYqJ,EAAAlL,UAAA,cAAW,KAAvB,WACI,IAAMoF,EAAc7E,KAAK2C,WAAWkC,aAAe7E,KAAK+E,YAExD,OAAQ/E,KAAKyD,OAASzD,KAAKyE,QAAUI,EAAc,oCAGvDzF,OAAAkC,eAAYqJ,EAAAlL,UAAA,qBAAkB,KAA9B,WACI,QAASO,KAAKyD,OAASzD,KAAKyE,yCAGhCrF,OAAAkC,eAAYqJ,EAAAlL,UAAA,UAAO,KAAnB,WACI,OAAOO,KAAKmJ,UAAUnE,kBAAoBhF,KAAKmJ,UAAU/F,0CAG7DhE,OAAAkC,eAAYqJ,EAAAlL,UAAA,kBAAe,KAA3B,WACI,OAAOO,KAAKmJ,UAAU3F,UAAYxD,KAAKkD,QAAUlD,KAAKyD,OAChD,IAAIzD,KAAKmJ,UAAU3F,QACnBxD,KAAKmJ,UAAU3F,kFA1DOzB,EAA8BlB,WAAA,CAAA,CAAAsG,KADzDC,EAAAA,OAAMC,KAAA,CAACtF,YAGqByF,EAAAA,uBAAsB3G,WAAA,CAAA,CAAAsG,KADlDC,EAAAA,OAAMC,KAAA,CAACI,EAAAA,uCAdZ7G,EAAA,CADCiH,EAAAA,UAAU,MAAO,CAAC4D,KAAM7D,EAAAA,WAAY8D,QAAQ,+BAoB7C9K,EAAA,CADCoH,EAAAA,YAAY,oDA4BbpH,EAAA,CADCwH,EAAAA,aAAa,iDA/CLuC,EAA2B/J,EAAA,CAPvC0H,EAAAA,UAAU,CACPC,SAAU,uBACVC,SAAA,qTAGAC,gBAAiBC,EAAAA,wBAAwBiD,2wBAgBpCpK,EAAA,EAAA6F,EAAAA,OAAOrF,IAEPR,EAAA,EAAA6F,EAAAA,OAAOK,EAAAA,oCAhBHkD,mBCqBb,SAAAiB,KAA0C,OAA7BA,EAA2BhL,EAAA,CA3BvCiL,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,YACAC,EAAAA,mBACAC,EAAAA,sBACAC,EAAAA,mBACAC,EAAAA,iBACAC,EAAAA,mBACAC,EAAAA,iBACAC,EAAAA,aACAC,EAAAA,iBACAC,EAAAA,oBACAC,EAAAA,sBAEJC,aAAc,CACV5K,EACAmH,EACAO,EACAkB,GAEJiC,QAAS,CACL7K,EACAmH,EACAO,MAGKmC,yFLtCuC,qSAkB/B,SAAC/I,GAAmD,MAAA,CACrElB,QAASW,EACTuK,SAAQ1M,EAAAA,EAAA,GAAMgC,GAA4CU","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 {forwardRef} from '@angular/core';\nimport {TUI_FOCUSABLE_ITEM_ACCESSOR} from '@taiga-ui/cdk';\nimport {HINT_CONTROLLER_PROVIDER} from '@taiga-ui/core/directives/hint-controller';\nimport {TEXTFIELD_CONTROLLER_PROVIDER} from '@taiga-ui/core/directives/textfield-controller';\nimport {MODE_PROVIDER} from '@taiga-ui/core/providers';\n\nimport {TuiPrimitiveTextfieldComponent} from './primitive-textfield.component';\n\nexport const TUI_PRIMITIVE_TEXTFIELD_PROVIDERS = [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiPrimitiveTextfieldComponent),\n },\n TEXTFIELD_CONTROLLER_PROVIDER,\n HINT_CONTROLLER_PROVIDER,\n MODE_PROVIDER,\n];\n","import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiHorizontalDirection} from '@taiga-ui/core/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiPrimitiveTextfieldOptions {\n readonly iconAlign: TuiHorizontalDirection;\n readonly iconCleaner: PolymorpheusContent;\n}\n\n// TODO: 3.0 remove in ivy compilation\nexport const TUI_PRIMITIVE_TEXTFIELD_ICON_CLEANER = 'tuiIconCloseLarge';\n\n/** Default values for primitive textfield options */\nexport const TUI_PRIMITIVE_TEXTFIELD_DEFAULT_OPTIONS: TuiPrimitiveTextfieldOptions = {\n iconAlign: 'right',\n iconCleaner: TUI_PRIMITIVE_TEXTFIELD_ICON_CLEANER,\n};\n\nexport const TUI_PRIMITIVE_TEXTFIELD_OPTIONS =\n new InjectionToken<TuiPrimitiveTextfieldOptions>(\n 'Default parameters for primitive textfield component',\n {\n factory: () => TUI_PRIMITIVE_TEXTFIELD_DEFAULT_OPTIONS,\n },\n );\n\nexport const tuiPrimitiveTextfieldOptionsProvider: (\n options: Partial<TuiPrimitiveTextfieldOptions>,\n) => ValueProvider = (options: Partial<TuiPrimitiveTextfieldOptions>) => ({\n provide: TUI_PRIMITIVE_TEXTFIELD_OPTIONS,\n useValue: {...TUI_PRIMITIVE_TEXTFIELD_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n HostBinding,\n HostListener,\n Inject,\n Input,\n Output,\n QueryList,\n ViewChild,\n} from '@angular/core';\nimport {\n AbstractTuiInteractive,\n isNativeFocusedIn,\n setNativeFocused,\n TuiContextWithImplicit,\n TuiCreditCardAutofillName,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {\n TUI_HINT_WATCHED_CONTROLLER,\n TuiHintControllerDirective,\n} from '@taiga-ui/core/directives/hint-controller';\nimport {\n TUI_TEXTFIELD_WATCHED_CONTROLLER,\n TuiTextfieldController,\n} from '@taiga-ui/core/directives/textfield-controller';\nimport {TUI_MODE, TUI_TEXTFIELD_APPEARANCE} from '@taiga-ui/core/tokens';\nimport {TuiBrightness, TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {getBorder} from '@taiga-ui/core/utils/miscellaneous';\nimport {PolymorpheusContent, PolymorpheusOutletComponent} from '@tinkoff/ng-polymorpheus';\nimport {fromEvent, Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nimport {TUI_PRIMITIVE_TEXTFIELD_PROVIDERS} from './primitive-textfield.providers';\nimport {\n TUI_PRIMITIVE_TEXTFIELD_OPTIONS,\n TuiPrimitiveTextfieldOptions,\n} from './primitive-textfield-options';\n\nconst ICON_PADDING = 1.75;\nconst ICON_PADDING_S = 1.5;\n\n@Component({\n selector: 'tui-primitive-textfield',\n templateUrl: './primitive-textfield.template.html',\n styleUrls: ['./primitive-textfield.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_PRIMITIVE_TEXTFIELD_PROVIDERS,\n host: {\n '($.data-mode.attr)': 'mode$',\n '[class._autofilled]': 'autofilled',\n '[class._label-outside]': 'controller.labelOutside',\n },\n})\nexport class TuiPrimitiveTextfieldComponent\n extends AbstractTuiInteractive\n implements TuiFocusableElementAccessor\n{\n @ViewChild('focusableElement')\n private readonly focusableElement?: ElementRef<HTMLInputElement>;\n\n @Input()\n @tuiDefaultProp()\n editable = true;\n\n @Input()\n @tuiDefaultProp()\n filler = '';\n\n @Input()\n @tuiDefaultProp()\n iconAlign: TuiPrimitiveTextfieldOptions['iconAlign'] = this.options.iconAlign;\n\n // TODO: 3.0 Remove null\n @Input()\n @tuiDefaultProp()\n iconContent: PolymorpheusContent<TuiContextWithImplicit<TuiSizeS | TuiSizeL>> | null =\n null;\n\n @Input()\n @tuiDefaultProp()\n iconCleaner: TuiPrimitiveTextfieldOptions['iconCleaner'] = this.options.iconCleaner;\n\n @Input()\n @HostBinding('class._readonly')\n @tuiDefaultProp()\n readOnly = false;\n\n @Input()\n @tuiDefaultProp()\n invalid = false;\n\n @Input()\n @tuiDefaultProp()\n disabled = false;\n\n @Input()\n @tuiDefaultProp()\n prefix = '';\n\n @Input()\n @tuiDefaultProp()\n postfix = '';\n\n @Input()\n @tuiDefaultProp()\n value = '';\n\n @Output()\n readonly valueChange = new EventEmitter<string>();\n\n /**\n * @deprecated TODO: 3.0 remove\n */\n @Output()\n readonly autofilledChange = new EventEmitter<boolean>();\n\n @ContentChildren(PolymorpheusOutletComponent)\n readonly content?: QueryList<unknown>;\n\n autofilled = false;\n\n constructor(\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n @Inject(TUI_TEXTFIELD_APPEARANCE) readonly appearance: string,\n @Inject(TUI_TEXTFIELD_WATCHED_CONTROLLER)\n readonly controller: TuiTextfieldController,\n @Inject(TUI_HINT_WATCHED_CONTROLLER)\n readonly hintController: TuiHintControllerDirective,\n @Inject(TUI_PRIMITIVE_TEXTFIELD_OPTIONS)\n readonly options: TuiPrimitiveTextfieldOptions,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n ) {\n super();\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n if (this.computedDisabled || !this.focusableElement) {\n return null;\n }\n\n // TODO: 3.0 Refactor this after we drop built-in input element\n return (\n (this.focusableElement.nativeElement\n .previousElementSibling as HTMLInputElement | null) ||\n this.focusableElement.nativeElement\n );\n }\n\n get focused(): boolean {\n return isNativeFocusedIn(this.elementRef.nativeElement);\n }\n\n @HostBinding('attr.data-size')\n get size(): TuiSizeS | TuiSizeL {\n return this.controller.size;\n }\n\n @HostBinding('class._invalid')\n get computedInvalid(): boolean {\n return !this.readOnly && !this.disabled && this.invalid;\n }\n\n @HostBinding('class._hidden')\n get inputHidden(): boolean {\n return !!this.content?.length;\n }\n\n get hasValue(): boolean {\n return !!this.value;\n }\n\n get hasCleaner(): boolean {\n return (\n this.controller.cleaner && this.hasValue && !this.disabled && !this.readOnly\n );\n }\n\n get hasTooltip(): boolean {\n return !!this.hintController?.content && !this.disabled;\n }\n\n get hasCustomContent(): boolean {\n return !!this.controller.customContent;\n }\n\n get showOnlyPlaceholder(): boolean {\n return (\n this.focused &&\n this.placeholderVisible &&\n (this.size === 's' || (this.size === 'm' && !this.placeholderRaisable))\n );\n }\n\n get placeholderVisible(): boolean {\n const hasDecor =\n this.controller.exampleText ||\n this.prefix ||\n this.postfix ||\n this.nativeFocusableElement?.placeholder;\n const showDecor = hasDecor && !this.readOnly && this.computedFocused;\n\n return !this.hasValue && !showDecor;\n }\n\n get hasPlaceholder(): boolean {\n return (\n !this.showOnlyPlaceholder &&\n (this.placeholderRaisable || this.placeholderVisible)\n );\n }\n\n get placeholderRaised(): boolean {\n return (\n this.placeholderRaisable &&\n ((this.computedFocused && !this.readOnly) || this.hasValue || this.autofilled)\n );\n }\n\n @HostBinding('style.--border-start.rem')\n get borderStart(): number {\n return this.iconAlignLeft ? this.iconPaddingLeft : 0;\n }\n\n @HostBinding('style.--border-end.rem')\n get borderEnd(): number {\n return getBorder(\n this.iconAlignRight,\n this.hasCleaner,\n this.hasTooltip,\n this.hasCustomContent,\n );\n }\n\n get iconAlignLeft(): boolean {\n return this.hasIcon && this.iconAlign === 'left';\n }\n\n get iconAlignRight(): boolean {\n return this.hasIcon && this.iconAlign === 'right';\n }\n\n // Safari expiration date autofill workaround\n get name(): 'ccexpiryyear' | null {\n return this.controller.autocomplete === TuiCreditCardAutofillName.CcExp\n ? 'ccexpiryyear'\n : null;\n }\n\n get computedId(): string {\n return this.nativeFocusableElement?.id || '';\n }\n\n @HostListener('focusin', ['true'])\n @HostListener('focusout', ['false'])\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n @tuiPure\n getIndent$(element: HTMLElement): Observable<number> {\n return fromEvent(element, 'scroll').pipe(map(() => -1 * element.scrollLeft));\n }\n\n clear(): void {\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.value = '';\n }\n\n this.updateValue('');\n }\n\n onMouseDown(event: MouseEvent): void {\n const {nativeFocusableElement} = this;\n\n if (!nativeFocusableElement || event.target === nativeFocusableElement) {\n return;\n }\n\n event.preventDefault();\n setNativeFocused(nativeFocusableElement);\n }\n\n onModelChange(value: string): void {\n this.updateValue(value);\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onAutofilled(autofilled: boolean): void {\n this.updateAutofilled(autofilled);\n }\n\n private get iconPaddingLeft(): number {\n return this.size === 's' ? ICON_PADDING_S : ICON_PADDING;\n }\n\n private get placeholderRaisable(): boolean {\n return this.size !== 's' && !this.controller.labelOutside;\n }\n\n private get hasIcon(): boolean {\n return !!this.iconContent;\n }\n\n private updateAutofilled(autofilled: boolean): void {\n if (this.autofilled === autofilled) {\n return;\n }\n\n this.autofilled = autofilled;\n this.autofilledChange.emit(autofilled);\n }\n\n private updateValue(value: string): void {\n this.value = value;\n this.valueChange.emit(value);\n }\n}\n","import {Directive, forwardRef, Inject} from '@angular/core';\nimport {AbstractTuiControl} from '@taiga-ui/cdk';\nimport {TuiAbstractTextfieldHost} from '@taiga-ui/core/abstract';\nimport {TUI_TEXTFIELD_HOST} from '@taiga-ui/core/tokens';\n\nimport {TuiPrimitiveTextfieldComponent} from './primitive-textfield.component';\n\n@Directive({\n selector: 'tui-primitive-textfield',\n providers: [\n {\n provide: TUI_TEXTFIELD_HOST,\n useExisting: forwardRef(() => TuiPrimitiveTextfieldDirective),\n },\n ],\n})\nexport class TuiPrimitiveTextfieldDirective extends TuiAbstractTextfieldHost<any> {\n constructor(\n @Inject(TuiPrimitiveTextfieldComponent)\n private readonly textfield: TuiPrimitiveTextfieldComponent,\n ) {\n /**\n * TuiPrimitiveTextfieldComponent satisfies all required parts of\n * AbstractTuiControl interface. A new interface is not introduced\n * so AbstractTuiControl is automatically injected for all other controls.\n */\n super(textfield as unknown as AbstractTuiControl<unknown>);\n }\n\n get readOnly(): boolean {\n return this.textfield.readOnly || !this.textfield.editable;\n }\n\n onValueChange(value: string): void {\n this.textfield.onModelChange(value);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DoCheck,\n ElementRef,\n HostBinding,\n Inject,\n} from '@angular/core';\nimport {TuiIdService} from '@taiga-ui/cdk';\nimport {\n TEXTFIELD_CONTROLLER_PROVIDER,\n TUI_DESCRIBED_BY_PROVIDERS,\n TUI_TEXTFIELD_WATCHED_CONTROLLER,\n TuiDescribedByDirective,\n TuiTextfieldController,\n} from '@taiga-ui/core/directives';\nimport {TuiTextfieldHost} from '@taiga-ui/core/interfaces';\nimport {TUI_TEXTFIELD_HOST} from '@taiga-ui/core/tokens';\n\n// @dynamic\n@Component({\n selector: 'input[tuiTextfield], textarea[tuiTextfield]',\n template: '',\n providers: [\n TuiDescribedByDirective,\n TUI_DESCRIBED_BY_PROVIDERS,\n TEXTFIELD_CONTROLLER_PROVIDER,\n ],\n host: {\n type: 'text',\n '[attr.aria-placeholder]': 'controller.exampleText',\n '[attr.aria-invalid]': 'host.invalid',\n '[attr.disabled]': 'host.disabled || null',\n '[tabIndex]': 'host.focusable ? 0 : -1',\n '[readOnly]': 'host.readOnly',\n '[value]': 'host.value',\n '(input)': 'host.onValueChange($event.target.value)',\n },\n styleUrls: ['textfield.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiTextfieldComponent implements DoCheck {\n constructor(\n @Inject(TUI_TEXTFIELD_HOST) readonly host: TuiTextfieldHost,\n @Inject(TUI_TEXTFIELD_WATCHED_CONTROLLER)\n readonly controller: TuiTextfieldController,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLInputElement>,\n @Inject(TuiDescribedByDirective)\n private readonly describedBy: TuiDescribedByDirective,\n @Inject(TuiIdService)\n private readonly idService: TuiIdService,\n ) {\n this.host.process(this.elementRef.nativeElement);\n }\n\n @HostBinding('attr.aria-describedby')\n get computedDescribedBy(): string | null {\n return this.describedBy.computedDescribedBy;\n }\n\n @HostBinding('id')\n get id(): string {\n return this.elementRef.nativeElement.id || this.idService.generate();\n }\n\n ngDoCheck(): void {\n this.describedBy.tuiDescribedBy = this.id;\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DoCheck,\n ElementRef,\n HostBinding,\n HostListener,\n Inject,\n ViewChild,\n} from '@angular/core';\nimport {\n TUI_TEXTFIELD_WATCHED_CONTROLLER,\n TuiTextfieldController,\n} from '@taiga-ui/core/directives';\nimport {TuiAppearance} from '@taiga-ui/core/enums';\nimport {BehaviorSubject} from 'rxjs';\nimport {delay, distinctUntilChanged, filter, map} from 'rxjs/operators';\n\nimport {TuiPrimitiveTextfieldComponent} from '../primitive-textfield.component';\n\n@Component({\n selector: 'tui-value-decoration',\n templateUrl: 'value-decoration.template.html',\n styleUrls: ['value-decoration.style.less'],\n // It follows Change Detection of PrimitiveTextfield\n changeDetection: ChangeDetectionStrategy.Default,\n})\nexport class TuiValueDecorationComponent implements DoCheck {\n @ViewChild('pre', {read: ElementRef, static: true})\n private readonly pre?: ElementRef<HTMLElement>;\n\n private readonly prefix$ = new BehaviorSubject('');\n\n readonly pre$ = this.prefix$.pipe(\n delay(0),\n filter(() => !!this.pre?.nativeElement.isConnected),\n distinctUntilChanged(),\n map(() => this.pre?.nativeElement.offsetWidth || 0),\n );\n\n constructor(\n @Inject(TuiPrimitiveTextfieldComponent)\n private readonly textfield: TuiPrimitiveTextfieldComponent,\n @Inject(TUI_TEXTFIELD_WATCHED_CONTROLLER)\n private readonly controller: TuiTextfieldController,\n ) {}\n\n @HostBinding('class._table')\n get isContextTable(): boolean {\n return this.textfield.appearance === TuiAppearance.Table;\n }\n\n get value(): string {\n return this.textfield.value;\n }\n\n get filler(): string {\n const {focused, placeholder, exampleText, value, textfield} = this;\n\n if (placeholder && exampleText) {\n return '';\n }\n\n return focused ? exampleText || textfield.filler.slice(value.length) : '';\n }\n\n get prefix(): string {\n return this.decorationsVisible ? this.textfield.prefix : '';\n }\n\n get postfix(): string {\n return this.decorationsVisible ? this.computedPostfix : '';\n }\n\n @HostListener('animationstart')\n ngDoCheck(): void {\n this.prefix$.next(this.prefix);\n }\n\n private get placeholder(): string {\n return this.textfield.nativeFocusableElement?.placeholder || '';\n }\n\n private get exampleText(): string {\n const exampleText = this.controller.exampleText || this.placeholder;\n\n return !this.value && this.focused ? exampleText : '';\n }\n\n private get decorationsVisible(): boolean {\n return !!this.value || this.focused;\n }\n\n private get focused(): boolean {\n return this.textfield.computedFocused && !this.textfield.readOnly;\n }\n\n private get computedPostfix(): string {\n return this.textfield.postfix && (this.filler || this.value)\n ? ` ${this.textfield.postfix}`\n : this.textfield.postfix;\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {\n TuiAutofilledModule,\n TuiFocusableModule,\n TuiHoveredModule,\n TuiInputModeModule,\n} from '@taiga-ui/cdk';\nimport {TuiSvgModule} from '@taiga-ui/core/components/svg';\nimport {TuiTooltipModule} from '@taiga-ui/core/components/tooltip';\nimport {TuiDescribedByModule} from '@taiga-ui/core/directives/described-by';\nimport {TuiMaskAccessorModule} from '@taiga-ui/core/directives/mask-accessor';\nimport {TuiWrapperModule} from '@taiga-ui/core/directives/wrapper';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiPrimitiveTextfieldComponent} from './primitive-textfield.component';\nimport {TuiPrimitiveTextfieldDirective} from './primitive-textfield.directive';\nimport {TuiTextfieldComponent} from './textfield/textfield.component';\nimport {TuiValueDecorationComponent} from './value-decoration/value-decoration.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n PolymorpheusModule,\n TuiMaskAccessorModule,\n TuiFocusableModule,\n TuiHoveredModule,\n TuiInputModeModule,\n TuiWrapperModule,\n TuiSvgModule,\n TuiTooltipModule,\n TuiAutofilledModule,\n TuiDescribedByModule,\n ],\n declarations: [\n TuiPrimitiveTextfieldComponent,\n TuiPrimitiveTextfieldDirective,\n TuiTextfieldComponent,\n TuiValueDecorationComponent,\n ],\n exports: [\n TuiPrimitiveTextfieldComponent,\n TuiPrimitiveTextfieldDirective,\n TuiTextfieldComponent,\n ],\n})\nexport class TuiPrimitiveTextfieldModule {}\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/directives/scroll-into-view")):"function"==typeof define&&define.amd?define("@taiga-ui/core/components/primitive-year-picker",["exports","@angular/core","@taiga-ui/cdk","@taiga-ui/core/directives/scroll-into-view"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].core=e["taiga-ui"].core||{},e["taiga-ui"].core.components=e["taiga-ui"].core.components||{},e["taiga-ui"].core.components["primitive-year-picker"]={}),e.ng.core,e.cdk,e["taiga-ui"].core.directives["scroll-into-view"])}(this,(function(e,t,r,i){"use strict";function a(e,t,r,i){var a,o=arguments.length,n=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(n=(o<3?a(n):o>3?a(t,r,n):a(t,r))||n);return o>3&&n&&Object.defineProperty(t,r,n),n}Object.create;Object.create;var o=function(){function e(){this.hoveredItem=null,this.pressedItem=null,this.currentYear=r.TuiMonth.currentLocal().year,this.value=null,this.initialItem=r.TuiMonth.currentLocal(),this.min=r.TUI_FIRST_DAY,this.max=r.TUI_LAST_DAY,this.disabledItemHandler=r.ALWAYS_FALSE_HANDLER,this.yearClick=new t.EventEmitter}return Object.defineProperty(e.prototype,"isSingle",{get:function(){var e=this.value;return!!e&&this.isRange(e)&&e.from.yearSame(e.to)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rows",{get:function(){return Math.ceil((this.calculatedMax-this.calculatedMin)/4)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"calculatedMin",{get:function(){var e=this.initialItem.year-100;return this.min.year>e?this.min.year:e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"calculatedMax",{get:function(){var e=this.initialItem.year+100;return this.max.year<e?this.max.year+1:e},enumerable:!0,configurable:!0}),e.prototype.isRange=function(e){return e instanceof r.TuiMonthRange},e.prototype.scrollItemIntoView=function(e){return this.initialItem.year===e},e.prototype.getItem=function(e,t){return 4*e+t+this.calculatedMin},e.prototype.getItemState=function(e){var t=this.disabledItemHandler,i=this.max,a=this.pressedItem,o=this.hoveredItem;return i.year<e||t!==r.ALWAYS_FALSE_HANDLER&&t(e)?"disabled":a===e?"pressed":o===e?"hovered":null},e.prototype.getItemRange=function(e){var t=this.value,i=this.hoveredItem;return null===t?null:t instanceof r.TuiYear?t.year===e?"single":null:t.from.year===e&&!t.from.yearSame(t.to)||null!==i&&i>t.from.year&&t.from.year===e&&t.from.yearSame(t.to)||null!==i&&i===e&&i<t.from.year&&t.from.yearSame(t.to)?"start":t.to.year===e&&!t.from.yearSame(t.to)||null!==i&&i<t.from.year&&t.from.year===e&&t.from.yearSame(t.to)||null!==i&&i===e&&i>t.from.year&&t.from.yearSame(t.to)?"end":t.from.yearSame(t.to)&&t.from.year===e?"single":null},e.prototype.itemIsToday=function(e){return this.currentYear===e},e.prototype.itemIsInterval=function(e){var t=this.value,i=this.hoveredItem;return!(null===t||!this.isRange(t))&&(t.from.yearSame(t.to)?null!==i&&t.from.year!==i&&r.inRange(e,Math.min(t.from.year,i),Math.max(t.from.year,i)):t.from.year<=e&&t.to.year>e)},e.prototype.onItemHovered=function(e,t){this.updateHoveredItem(e,t)},e.prototype.onItemPressed=function(e,t){this.updatePressedItem(e,t)},e.prototype.onItemClick=function(e){this.yearClick.emit(new r.TuiYear(e))},e.prototype.updateHoveredItem=function(e,t){this.hoveredItem=e?t:null},e.prototype.updatePressedItem=function(e,t){this.pressedItem=e?t:null},a([t.Input(),r.tuiDefaultProp()],e.prototype,"value",void 0),a([t.Input(),r.tuiDefaultProp()],e.prototype,"initialItem",void 0),a([t.Input(),r.tuiDefaultProp()],e.prototype,"min",void 0),a([t.Input(),r.tuiDefaultProp()],e.prototype,"max",void 0),a([t.Input(),r.tuiDefaultProp()],e.prototype,"disabledItemHandler",void 0),a([t.Output()],e.prototype,"yearClick",void 0),a([t.HostBinding("class._single")],e.prototype,"isSingle",null),e=a([t.Component({selector:"tui-primitive-year-picker",template:'<div\n *tuiRepeatTimes="let rowIndex of rows"\n automation-id="tui-primitive-year-picker__row"\n class="t-row"\n>\n <ng-container *tuiRepeatTimes="let colIndex of 4">\n <div\n *tuiLet="getItem(rowIndex, colIndex) as item"\n automation-id="tui-primitive-year-picker__cell"\n class="t-cell"\n [class.t-cell_today]="itemIsToday(item)"\n [class.t-cell_interval]="itemIsInterval(item)"\n [attr.data-range]="getItemRange(item)"\n [attr.data-state]="getItemState(item)"\n [tuiScrollIntoView]="scrollItemIntoView(item)"\n (tuiHoveredChange)="onItemHovered($event, item)"\n (tuiPressedChange)="onItemPressed($event, item)"\n (click)="onItemClick(item)"\n >\n <div class="t-item">{{ item }}</div>\n </div>\n </ng-container>\n</div>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block;font:var(--tui-font-text-m)}.t-row{position:relative;z-index:0;display:flex;justify-content:space-between;height:2.25rem;margin:.875rem 0}.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.9375rem;text-align:center;outline:0;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:2px solid transparent}.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.9375rem}.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{width:15.75rem}.t-row:first-child{margin-top:0}.t-row:last-child{margin-bottom:0}"]})],e)}(),n=function(){function e(){}return e=a([t.NgModule({imports:[r.TuiHoveredModule,r.TuiPressedModule,r.TuiRepeatTimesModule,r.TuiLetModule,i.TuiScrollIntoViewModule],declarations:[o],exports:[o]})],e)}();e.TuiPrimitiveYearPickerComponent=o,e.TuiPrimitiveYearPickerModule=n,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-core-components-primitive-year-picker.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/core/components/primitive-year-picker/primitive-year-picker.component.ts","ng://@taiga-ui/core/components/primitive-year-picker/primitive-year-picker.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","create","TuiPrimitiveYearPickerComponent","this","hoveredItem","pressedItem","currentYear","TuiMonth","currentLocal","year","value","initialItem","min","TUI_FIRST_DAY","max","TUI_LAST_DAY","disabledItemHandler","ALWAYS_FALSE_HANDLER","yearClick","EventEmitter","prototype","isRange","from","yearSame","to","Math","ceil","calculatedMax","calculatedMin","initial","item","TuiMonthRange","scrollItemIntoView","getItem","rowIndex","colIndex","getItemState","getItemRange","TuiYear","itemIsToday","itemIsInterval","inRange","onItemHovered","hovered","updateHoveredItem","onItemPressed","pressed","updatePressedItem","onItemClick","emit","Input","tuiDefaultProp","Output","HostBinding","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","TuiPrimitiveYearPickerModule","NgModule","imports","TuiHoveredModule","TuiPressedModule","TuiRepeatTimesModule","TuiLetModule","TuiScrollIntoViewModule","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 Input,\n Output,\n} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n inRange,\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n TuiBooleanHandler,\n TuiDayRange,\n tuiDefaultProp,\n TuiMonth,\n TuiMonthRange,\n TuiYear,\n} from '@taiga-ui/cdk';\nimport {TuiInteractiveState, TuiRangeState} from '@taiga-ui/core/enums';\n\nconst LIMIT = 100;\nconst ITEMS_IN_ROW = 4;\n\n@Component({\n selector: 'tui-primitive-year-picker',\n templateUrl: './primitive-year-picker.template.html',\n styleUrls: ['./primitive-year-picker.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiPrimitiveYearPickerComponent {\n private hoveredItem: number | null = null;\n private pressedItem: number | null = null;\n private readonly currentYear = TuiMonth.currentLocal().year;\n\n @Input()\n @tuiDefaultProp()\n value: TuiMonthRange | TuiYear | TuiDayRange | null = null;\n\n @Input()\n @tuiDefaultProp()\n initialItem: TuiYear = TuiMonth.currentLocal();\n\n @Input()\n @tuiDefaultProp()\n min: TuiYear = TUI_FIRST_DAY;\n\n @Input()\n @tuiDefaultProp()\n max: TuiYear = TUI_LAST_DAY;\n\n @Input()\n @tuiDefaultProp()\n disabledItemHandler: TuiBooleanHandler<number> = ALWAYS_FALSE_HANDLER;\n\n @Output()\n readonly yearClick = new EventEmitter<TuiYear>();\n\n @HostBinding('class._single')\n get isSingle(): boolean {\n const {value} = this;\n\n return !!value && this.isRange(value) && value.from.yearSame(value.to);\n }\n\n get rows(): number {\n return Math.ceil((this.calculatedMax - this.calculatedMin) / ITEMS_IN_ROW);\n }\n\n get calculatedMin(): number {\n const initial = this.initialItem.year - LIMIT;\n\n return this.min.year > initial ? this.min.year : initial;\n }\n\n get calculatedMax(): number {\n const initial = this.initialItem.year + LIMIT;\n\n return this.max.year < initial ? this.max.year + 1 : initial;\n }\n\n isRange(item: TuiMonthRange | TuiYear): item is TuiMonthRange {\n return item instanceof TuiMonthRange;\n }\n\n scrollItemIntoView(item: number): boolean {\n return this.initialItem.year === item;\n }\n\n getItem(rowIndex: number, colIndex: number): number {\n return rowIndex * ITEMS_IN_ROW + colIndex + this.calculatedMin;\n }\n\n getItemState(item: number): TuiInteractiveState | null {\n const {disabledItemHandler, max, pressedItem, hoveredItem} = this;\n\n if (\n max.year < item ||\n (disabledItemHandler !== ALWAYS_FALSE_HANDLER && disabledItemHandler(item))\n ) {\n return TuiInteractiveState.Disabled;\n }\n\n if (pressedItem === item) {\n return TuiInteractiveState.Pressed;\n }\n\n if (hoveredItem === item) {\n return TuiInteractiveState.Hovered;\n }\n\n return null;\n }\n\n getItemRange(item: number): TuiRangeState | null {\n const {value, hoveredItem} = this;\n\n if (value === null) {\n return null;\n }\n\n if (value instanceof TuiYear) {\n return value.year === item ? TuiRangeState.Single : null;\n }\n\n if (\n (value.from.year === item && !value.from.yearSame(value.to)) ||\n (hoveredItem !== null &&\n hoveredItem > value.from.year &&\n value.from.year === item &&\n value.from.yearSame(value.to)) ||\n (hoveredItem !== null &&\n hoveredItem === item &&\n hoveredItem < value.from.year &&\n value.from.yearSame(value.to))\n ) {\n return TuiRangeState.Start;\n }\n\n if (\n (value.to.year === item && !value.from.yearSame(value.to)) ||\n (hoveredItem !== null &&\n hoveredItem < value.from.year &&\n value.from.year === item &&\n value.from.yearSame(value.to)) ||\n (hoveredItem !== null &&\n hoveredItem === item &&\n hoveredItem > value.from.year &&\n value.from.yearSame(value.to))\n ) {\n return TuiRangeState.End;\n }\n\n return value.from.yearSame(value.to) && value.from.year === item\n ? TuiRangeState.Single\n : null;\n }\n\n itemIsToday(item: number): boolean {\n return this.currentYear === item;\n }\n\n itemIsInterval(item: number): boolean {\n const {value, hoveredItem} = this;\n\n if (value === null || !this.isRange(value)) {\n return false;\n }\n\n if (!value.from.yearSame(value.to)) {\n return value.from.year <= item && value.to.year > item;\n }\n\n if (hoveredItem === null || value.from.year === hoveredItem) {\n return false;\n }\n\n return inRange(\n item,\n Math.min(value.from.year, hoveredItem),\n Math.max(value.from.year, hoveredItem),\n );\n }\n\n onItemHovered(hovered: boolean, item: number): void {\n this.updateHoveredItem(hovered, item);\n }\n\n onItemPressed(pressed: boolean, item: number): void {\n this.updatePressedItem(pressed, item);\n }\n\n onItemClick(item: number): void {\n this.yearClick.emit(new TuiYear(item));\n }\n\n private updateHoveredItem(hovered: boolean, item: number): void {\n this.hoveredItem = hovered ? item : null;\n }\n\n private updatePressedItem(pressed: boolean, item: number): void {\n this.pressedItem = pressed ? item : null;\n }\n}\n","import {NgModule} from '@angular/core';\nimport {\n TuiHoveredModule,\n TuiLetModule,\n TuiPressedModule,\n TuiRepeatTimesModule,\n} from '@taiga-ui/cdk';\nimport {TuiScrollIntoViewModule} from '@taiga-ui/core/directives/scroll-into-view';\n\nimport {TuiPrimitiveYearPickerComponent} from './primitive-year-picker.component';\n\n@NgModule({\n imports: [\n TuiHoveredModule,\n TuiPressedModule,\n TuiRepeatTimesModule,\n TuiLetModule,\n TuiScrollIntoViewModule,\n ],\n declarations: [TuiPrimitiveYearPickerComponent],\n exports: [TuiPrimitiveYearPickerComponent],\n})\nexport class TuiPrimitiveYearPickerModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/common"),require("@angular/core"),require("@taiga-ui/cdk"),require("@taiga-ui/core/constants"),require("@taiga-ui/core/providers"),require("@taiga-ui/core/tokens"),require("rxjs"),require("rxjs/operators"),require("@taiga-ui/core/components/hints-host"),require("@taiga-ui/core/components/scroll-controls"),require("@taiga-ui/core/internal/svg-defs-host"),require("@tinkoff/ng-event-plugins")):"function"==typeof define&&define.amd?define("@taiga-ui/core/components/root",["exports","@angular/common","@angular/core","@taiga-ui/cdk","@taiga-ui/core/constants","@taiga-ui/core/providers","@taiga-ui/core/tokens","rxjs","rxjs/operators","@taiga-ui/core/components/hints-host","@taiga-ui/core/components/scroll-controls","@taiga-ui/core/internal/svg-defs-host","@tinkoff/ng-event-plugins"],e):e(((t=t||self)["taiga-ui"]=t["taiga-ui"]||{},t["taiga-ui"].core=t["taiga-ui"].core||{},t["taiga-ui"].core.components=t["taiga-ui"].core.components||{},t["taiga-ui"].core.components.root={}),t.ng.common,t.ng.core,t.cdk,t["taiga-ui"].core.constants,t["taiga-ui"].core.providers,t["taiga-ui"].core.tokens,t.rxjs,t.rxjs.operators,t["taiga-ui"].core.components["hints-host"],t["taiga-ui"].core.components["scroll-controls"],t["taiga-ui"].core.internal["svg-defs-host"],t.ngEventPlugins)}(this,(function(t,e,o,n,r,i,s,c,a,u,l,g,d){"use strict";function p(t,e,o,n){var r,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(s=(i<3?r(s):i>3?r(e,o,s):r(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s}function f(t,e){return function(o,n){e(o,n,t)}}Object.create;function h(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var n,r,i=o.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}return s}Object.create;var I=function(){function t(t,e,o,r,i,s,u,l){var g=u.body;this.duration=t,this.elementRef=e,this.dialogs=o,this.isMobile=r,this.isMobileRes$=s,this.scrollbars$=this.dialogs.length&&!this.isMobile?c.merge.apply(void 0,function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(h(arguments[e]));return t}(this.dialogs)).pipe(a.map((function(t){return!t.length}))):c.of(!this.isMobile),n.tuiAssert.enabled=i,g.setAttribute("data-tui-theme",l.toLowerCase())}return t.ctorParameters=function(){return[{type:Number,decorators:[{type:o.Inject,args:[s.TUI_ANIMATIONS_DURATION]}]},{type:o.ElementRef,decorators:[{type:o.Inject,args:[o.ElementRef]}]},{type:void 0,decorators:[{type:o.Inject,args:[n.TUI_DIALOGS]}]},{type:Boolean,decorators:[{type:o.Inject,args:[n.TUI_IS_MOBILE]}]},{type:Boolean,decorators:[{type:o.Inject,args:[s.TUI_ASSERT_ENABLED]}]},{type:c.Observable,decorators:[{type:o.Inject,args:[s.TUI_IS_MOBILE_RES]}]},{type:Document,decorators:[{type:o.Inject,args:[e.DOCUMENT]}]},{type:String,decorators:[{type:o.Inject,args:[s.TUI_THEME]}]}]},t=p([o.Component({selector:"tui-root",template:'<tui-scroll-controls\n *ngIf="scrollbars$ | async"\n class="scrollbar"\n></tui-scroll-controls>\n<tui-svg-defs-host></tui-svg-defs-host>\n<tui-dropdown-host>\n <div class="content">\n <ng-content></ng-content>\n </div>\n <ng-content select="tuiOverContent"></ng-content>\n <tui-dialog-host></tui-dialog-host>\n <ng-content select="tuiOverDialogs"></ng-content>\n <tui-alert-host></tui-alert-host>\n <ng-content select="tuiOverAlerts"></ng-content>\n \x3c!-- TODO: 3.0 Remove--\x3e\n <ng-content select="tuiOverNotifications"></ng-content>\n</tui-dropdown-host>\n<ng-content select="tuiOverPortals"></ng-content>\n<tui-hints-host></tui-hints-host>\n<ng-content select="tuiOverHints"></ng-content>\n',changeDetection:o.ChangeDetectionStrategy.OnPush,providers:[i.TUI_IS_MOBILE_RES_PROVIDER],host:{"data-tui-version":r.VERSION,"[style.--tui-duration]":'duration + "ms"',"($.class._mobile)":"isMobileRes$"},styles:["@-webkit-keyframes tuiPresent{to{content:'1'}}@keyframes tuiPresent{to{content:'1'}}:host{position:relative;display:block;flex:1;-webkit-tap-highlight-color:transparent}.scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;margin:0}.content{position:relative;z-index:0;height:100%}"]}),f(0,o.Inject(s.TUI_ANIMATIONS_DURATION)),f(1,o.Inject(o.ElementRef)),f(2,o.Inject(n.TUI_DIALOGS)),f(3,o.Inject(n.TUI_IS_MOBILE)),f(4,o.Inject(s.TUI_ASSERT_ENABLED)),f(5,o.Inject(s.TUI_IS_MOBILE_RES)),f(6,o.Inject(e.DOCUMENT)),f(7,o.Inject(s.TUI_THEME))],t)}(),m=function(){function t(){}return t=p([o.NgModule({imports:[e.CommonModule,d.EventPluginsModule,n.TuiDragModule,n.TuiDropdownHostModule,g.TuiSvgDefsHostModule,u.TuiHintsHostModule,n.TuiDialogHostModule,n.TuiAlertHostModule,l.TuiScrollControlsModule],declarations:[I],exports:[I]})],t)}();t.TuiRootComponent=I,t.TuiRootModule=m,Object.defineProperty(t,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-core-components-root.umd.min.js.map