@taiga-ui/core 3.58.0 → 3.59.0-canary.10da730

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 (1344) hide show
  1. package/abstract/abstract-driver.directive.d.ts +1 -1
  2. package/abstract/abstract-textfield-host.d.ts +1 -1
  3. package/abstract/rect-accessor.d.ts +1 -1
  4. package/components/alert/alert.component.d.ts +1 -1
  5. package/components/alert/alert.directive.d.ts +1 -1
  6. package/components/button/button.component.d.ts +1 -1
  7. package/components/calendar/calendar.component.d.ts +1 -1
  8. package/components/data-list/data-list.component.d.ts +1 -1
  9. package/components/data-list/data-list.directive.d.ts +1 -1
  10. package/components/data-list/opt-group.directive.d.ts +1 -1
  11. package/components/data-list/option/option.component.d.ts +1 -1
  12. package/components/dialog/dialog.component.d.ts +2 -2
  13. package/components/dialog/dialog.directive.d.ts +1 -1
  14. package/components/dialog/dialog.tokens.d.ts +1 -1
  15. package/components/error/error.component.d.ts +1 -1
  16. package/components/expand/expand-content.directive.d.ts +1 -1
  17. package/components/expand/expand.component.d.ts +1 -1
  18. package/components/group/group-styles.component.d.ts +1 -1
  19. package/components/group/group.directive.d.ts +1 -1
  20. package/components/hints-host/hints-host.component.d.ts +1 -1
  21. package/components/hosted-dropdown/accessor-proxy.directive.d.ts +1 -1
  22. package/components/hosted-dropdown/dropdown-open-monitor.directive.d.ts +1 -1
  23. package/components/hosted-dropdown/hosted-dropdown-connector.directive.d.ts +1 -1
  24. package/components/hosted-dropdown/hosted-dropdown.component.d.ts +3 -3
  25. package/components/label/label.component.d.ts +1 -1
  26. package/components/link/link.component.d.ts +1 -1
  27. package/components/loader/loader.component.d.ts +1 -1
  28. package/components/notification/notification.component.d.ts +1 -1
  29. package/components/primitive-calendar/primitive-calendar.component.d.ts +7 -2
  30. package/components/primitive-checkbox/primitive-checkbox.component.d.ts +1 -1
  31. package/components/primitive-spin-button/primitive-spin-button.component.d.ts +1 -1
  32. package/components/primitive-textfield/primitive-textfield-options.d.ts +1 -1
  33. package/components/primitive-textfield/primitive-textfield-types.d.ts +1 -1
  34. package/components/primitive-textfield/primitive-textfield.component.d.ts +1 -1
  35. package/components/primitive-textfield/primitive-textfield.directive.d.ts +1 -1
  36. package/components/primitive-textfield/textfield/textfield.component.d.ts +1 -1
  37. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +1 -1
  38. package/components/primitive-year-picker/primitive-year-picker.component.d.ts +1 -1
  39. package/components/root/root.component.d.ts +1 -1
  40. package/components/scroll-controls/scroll-controls.component.d.ts +1 -1
  41. package/components/scroll-controls/scrollbar-wrapper.directive.d.ts +1 -1
  42. package/components/scroll-controls/scrollbar.directive.d.ts +1 -1
  43. package/components/scrollbar/scroll-ref.directive.d.ts +1 -1
  44. package/components/scrollbar/scrollable.directive.d.ts +1 -1
  45. package/components/scrollbar/scrollbar.component.d.ts +1 -1
  46. package/components/svg/svg-options.d.ts +1 -1
  47. package/components/svg/svg.component.d.ts +1 -1
  48. package/components/theme-night/theme-night.component.d.ts +1 -1
  49. package/components/tooltip/tooltip.component.d.ts +1 -1
  50. package/constants/cache-basting-payload.d.ts +1 -1
  51. package/directives/dropdown/dropdown-context.directive.d.ts +1 -1
  52. package/directives/dropdown/dropdown-driver.directive.d.ts +1 -1
  53. package/directives/dropdown/dropdown-host.directive.d.ts +1 -1
  54. package/directives/dropdown/dropdown-hover.directive.d.ts +1 -1
  55. package/directives/dropdown/dropdown-manual.directive.d.ts +1 -1
  56. package/directives/dropdown/dropdown-open.directive.d.ts +1 -1
  57. package/directives/dropdown/dropdown-options.directive.d.ts +1 -1
  58. package/directives/dropdown/dropdown-position-sided.directive.d.ts +1 -1
  59. package/directives/dropdown/dropdown-position.directive.d.ts +1 -1
  60. package/directives/dropdown/dropdown-selection.directive.d.ts +1 -1
  61. package/directives/dropdown/dropdown.component.d.ts +1 -1
  62. package/directives/dropdown/dropdown.directive.d.ts +1 -1
  63. package/directives/hint/hint-describe.directive.d.ts +1 -1
  64. package/directives/hint/hint-driver.directive.d.ts +1 -1
  65. package/directives/hint/hint-host.directive.d.ts +1 -1
  66. package/directives/hint/hint-hover.directive.d.ts +1 -1
  67. package/directives/hint/hint-manual.directive.d.ts +1 -1
  68. package/directives/hint/hint-options.directive.d.ts +1 -1
  69. package/directives/hint/hint-pointer.directive.d.ts +1 -1
  70. package/directives/hint/hint-position.directive.d.ts +1 -1
  71. package/directives/hint/hint-unstyled.component.d.ts +2 -2
  72. package/directives/hint/hint.component.d.ts +1 -1
  73. package/directives/hint/hint.directive.d.ts +1 -1
  74. package/directives/mask-accessor/mask-accessor.directive.d.ts +1 -1
  75. package/directives/mode/mode.directive.d.ts +1 -1
  76. package/directives/number-format/number-format.directive.d.ts +1 -1
  77. package/directives/scroll-into-view/scroll-into-view.directive.d.ts +1 -1
  78. package/directives/textfield-controller/textfield-appearance.directive.d.ts +1 -1
  79. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +1 -1
  80. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +1 -1
  81. package/directives/textfield-controller/textfield-filler.directive.d.ts +1 -1
  82. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +1 -1
  83. package/directives/textfield-controller/textfield-icon.directive.d.ts +1 -1
  84. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +1 -1
  85. package/directives/textfield-controller/textfield-postfix.directive.d.ts +1 -1
  86. package/directives/textfield-controller/textfield-prefix.directive.d.ts +1 -1
  87. package/directives/textfield-controller/textfield-size.directive.d.ts +1 -1
  88. package/directives/wrapper/README.md +21 -0
  89. package/directives/wrapper/wrapper.directive.d.ts +1 -1
  90. package/enums/interactive-state.d.ts +1 -1
  91. package/esm2020/abstract/abstract-driver.directive.mjs +39 -0
  92. package/esm2020/abstract/abstract-textfield-host.mjs +36 -0
  93. package/esm2020/abstract/rect-accessor.mjs +24 -0
  94. package/esm2020/components/alert/alert.component.mjs +88 -0
  95. package/esm2020/components/alert/alert.directive.mjs +28 -0
  96. package/esm2020/components/alert/alert.module.mjs +24 -0
  97. package/esm2020/components/alert/alert.service.mjs +27 -0
  98. package/esm2020/components/button/button.component.mjs +104 -0
  99. package/esm2020/components/button/button.module.mjs +36 -0
  100. package/esm2020/components/calendar/calendar.component.mjs +125 -0
  101. package/esm2020/components/calendar/calendar.module.mjs +40 -0
  102. package/esm2020/components/data-list/data-list.component.mjs +119 -0
  103. package/esm2020/components/data-list/data-list.directive.mjs +19 -0
  104. package/esm2020/components/data-list/data-list.module.mjs +39 -0
  105. package/esm2020/components/data-list/opt-group.directive.mjs +21 -0
  106. package/esm2020/components/data-list/option/option.component.mjs +112 -0
  107. package/esm2020/components/dialog/dialog-close.service.mjs +46 -0
  108. package/esm2020/components/dialog/dialog.component.mjs +116 -0
  109. package/esm2020/components/dialog/dialog.directive.mjs +28 -0
  110. package/esm2020/components/dialog/dialog.module.mjs +24 -0
  111. package/esm2020/components/dialog/dialog.service.mjs +26 -0
  112. package/esm2020/components/error/error.component.mjs +49 -0
  113. package/esm2020/components/error/error.module.mjs +19 -0
  114. package/esm2020/components/expand/expand-content.directive.mjs +13 -0
  115. package/esm2020/components/expand/expand.component.mjs +125 -0
  116. package/esm2020/components/expand/expand.module.mjs +20 -0
  117. package/esm2020/components/group/group-styles.component.mjs +13 -0
  118. package/esm2020/components/group/group.directive.mjs +68 -0
  119. package/esm2020/components/group/group.module.mjs +19 -0
  120. package/esm2020/components/hints-host/hints-host.component.mjs +45 -0
  121. package/esm2020/components/hints-host/hints-host.module.mjs +20 -0
  122. package/esm2020/components/hosted-dropdown/accessor-proxy.directive.mjs +42 -0
  123. package/esm2020/components/hosted-dropdown/dropdown-open-monitor.directive.mjs +46 -0
  124. package/esm2020/components/hosted-dropdown/hosted-dropdown-connector.directive.mjs +13 -0
  125. package/esm2020/components/hosted-dropdown/hosted-dropdown.component.mjs +262 -0
  126. package/esm2020/components/hosted-dropdown/hosted-dropdown.module.mjs +55 -0
  127. package/esm2020/components/label/label.component.mjs +37 -0
  128. package/esm2020/components/label/label.module.mjs +18 -0
  129. package/esm2020/components/link/link.component.mjs +92 -0
  130. package/esm2020/components/link/link.module.mjs +19 -0
  131. package/esm2020/components/loader/loader.component.mjs +72 -0
  132. package/esm2020/components/loader/loader.module.mjs +19 -0
  133. package/esm2020/components/notification/notification.component.mjs +62 -0
  134. package/esm2020/components/notification/notification.module.mjs +21 -0
  135. package/esm2020/components/primitive-calendar/primitive-calendar.component.mjs +155 -0
  136. package/esm2020/components/primitive-calendar/primitive-calendar.module.mjs +43 -0
  137. package/esm2020/components/primitive-checkbox/primitive-checkbox.component.mjs +72 -0
  138. package/esm2020/components/primitive-checkbox/primitive-checkbox.module.mjs +20 -0
  139. package/esm2020/components/primitive-spin-button/primitive-spin-button.component.mjs +85 -0
  140. package/esm2020/components/primitive-spin-button/primitive-spin-button.module.mjs +19 -0
  141. package/esm2020/components/primitive-textfield/primitive-textfield.component.mjs +272 -0
  142. package/esm2020/components/primitive-textfield/primitive-textfield.directive.mjs +36 -0
  143. package/esm2020/components/primitive-textfield/primitive-textfield.module.mjs +68 -0
  144. package/esm2020/components/primitive-textfield/textfield/textfield.component.mjs +57 -0
  145. package/esm2020/components/primitive-textfield/value-decoration/value-decoration.component.mjs +77 -0
  146. package/esm2020/components/primitive-year-picker/primitive-year-picker.component.mjs +157 -0
  147. package/esm2020/components/primitive-year-picker/primitive-year-picker.module.mjs +33 -0
  148. package/esm2020/components/root/root.component.mjs +70 -0
  149. package/esm2020/components/root/root.module.mjs +45 -0
  150. package/esm2020/components/scroll-controls/scroll-controls.component.mjs +53 -0
  151. package/esm2020/components/scroll-controls/scroll-controls.module.mjs +28 -0
  152. package/esm2020/components/scroll-controls/scrollbar-wrapper.directive.mjs +25 -0
  153. package/esm2020/components/scroll-controls/scrollbar.directive.mjs +134 -0
  154. package/esm2020/components/scrollbar/scroll-ref.directive.mjs +28 -0
  155. package/esm2020/components/scrollbar/scrollable.directive.mjs +26 -0
  156. package/esm2020/components/scrollbar/scrollbar.component.mjs +87 -0
  157. package/esm2020/components/scrollbar/scrollbar.module.mjs +21 -0
  158. package/esm2020/components/svg/svg-options.mjs +68 -0
  159. package/esm2020/components/svg/svg.component.mjs +176 -0
  160. package/esm2020/components/svg/svg.module.mjs +19 -0
  161. package/esm2020/components/theme-night/theme-night.component.mjs +12 -0
  162. package/esm2020/components/theme-night/theme-night.module.mjs +16 -0
  163. package/esm2020/components/tooltip/tooltip.component.mjs +68 -0
  164. package/esm2020/components/tooltip/tooltip.module.mjs +36 -0
  165. package/esm2020/directives/dropdown/dropdown-context.directive.mjs +66 -0
  166. package/esm2020/directives/dropdown/dropdown-driver.directive.mjs +33 -0
  167. package/esm2020/directives/dropdown/dropdown-host.directive.mjs +25 -0
  168. package/esm2020/directives/dropdown/dropdown-hover.directive.mjs +56 -0
  169. package/esm2020/directives/dropdown/dropdown-manual.directive.mjs +27 -0
  170. package/esm2020/directives/dropdown/dropdown-open.directive.mjs +28 -0
  171. package/esm2020/directives/dropdown/dropdown-options.directive.mjs +84 -0
  172. package/esm2020/directives/dropdown/dropdown-position-sided.directive.mjs +81 -0
  173. package/esm2020/directives/dropdown/dropdown-position.directive.mjs +85 -0
  174. package/esm2020/directives/dropdown/dropdown-selection.directive.mjs +160 -0
  175. package/esm2020/directives/dropdown/dropdown.component.mjs +162 -0
  176. package/esm2020/directives/dropdown/dropdown.directive.mjs +120 -0
  177. package/esm2020/directives/dropdown/dropdown.module.mjs +93 -0
  178. package/esm2020/directives/hint/hint-describe.directive.mjs +56 -0
  179. package/esm2020/directives/hint/hint-driver.directive.mjs +33 -0
  180. package/esm2020/directives/hint/hint-host.directive.mjs +25 -0
  181. package/esm2020/directives/hint/hint-hover.directive.mjs +55 -0
  182. package/esm2020/directives/hint/hint-manual.directive.mjs +33 -0
  183. package/esm2020/directives/hint/hint-options.directive.mjs +75 -0
  184. package/esm2020/directives/hint/hint-pointer.directive.mjs +36 -0
  185. package/esm2020/directives/hint/hint-position.directive.mjs +104 -0
  186. package/esm2020/directives/hint/hint-unstyled.component.mjs +66 -0
  187. package/esm2020/directives/hint/hint.component.mjs +158 -0
  188. package/esm2020/directives/hint/hint.directive.mjs +95 -0
  189. package/esm2020/directives/hint/hint.module.mjs +75 -0
  190. package/esm2020/directives/mask-accessor/mask-accessor.directive.mjs +30 -0
  191. package/esm2020/directives/mask-accessor/mask-accessor.module.mjs +19 -0
  192. package/esm2020/directives/mode/mode.directive.mjs +21 -0
  193. package/esm2020/directives/mode/mode.module.mjs +16 -0
  194. package/esm2020/directives/number-format/number-format.directive.mjs +38 -0
  195. package/esm2020/directives/number-format/number-format.module.mjs +16 -0
  196. package/esm2020/directives/scroll-into-view/scroll-into-view.directive.mjs +50 -0
  197. package/esm2020/directives/scroll-into-view/scroll-into-view.module.mjs +16 -0
  198. package/esm2020/directives/textfield-controller/textfield-appearance.directive.mjs +36 -0
  199. package/esm2020/directives/textfield-controller/textfield-cleaner.directive.mjs +33 -0
  200. package/esm2020/directives/textfield-controller/textfield-controller.module.mjs +65 -0
  201. package/esm2020/directives/textfield-controller/textfield-controller.provider.mjs +45 -0
  202. package/esm2020/directives/textfield-controller/textfield-custom-content.directive.mjs +29 -0
  203. package/esm2020/directives/textfield-controller/textfield-filler.directive.mjs +33 -0
  204. package/esm2020/directives/textfield-controller/textfield-icon-left.directive.mjs +29 -0
  205. package/esm2020/directives/textfield-controller/textfield-icon.directive.mjs +29 -0
  206. package/esm2020/directives/textfield-controller/textfield-label-outside.directive.mjs +33 -0
  207. package/esm2020/directives/textfield-controller/textfield-postfix.directive.mjs +33 -0
  208. package/esm2020/directives/textfield-controller/textfield-prefix.directive.mjs +33 -0
  209. package/esm2020/directives/textfield-controller/textfield-size.directive.mjs +33 -0
  210. package/esm2020/directives/wrapper/wrapper.directive.mjs +93 -0
  211. package/esm2020/directives/wrapper/wrapper.module.mjs +16 -0
  212. package/esm2020/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.mjs +75 -0
  213. package/esm2020/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.mjs +36 -0
  214. package/esm2020/internal/svg-defs-host/svg-defs-host.component.mjs +46 -0
  215. package/esm2020/internal/svg-defs-host/svg-defs-host.module.mjs +19 -0
  216. package/esm2020/observables/smart-search.mjs +8 -0
  217. package/esm2020/observables/zoneful-map.mjs +13 -0
  218. package/esm2020/pipes/calendar-sheet/calendar-sheet.module.mjs +16 -0
  219. package/esm2020/pipes/calendar-sheet/calendar-sheet.pipe.mjs +56 -0
  220. package/esm2020/pipes/flag/flag.module.mjs +16 -0
  221. package/esm2020/pipes/flag/flag.pipe.mjs +46 -0
  222. package/esm2020/pipes/format-date/format-date.module.mjs +16 -0
  223. package/esm2020/pipes/format-date/format-date.pipe.mjs +24 -0
  224. package/esm2020/pipes/format-number/format-number.module.mjs +16 -0
  225. package/esm2020/pipes/format-number/format-number.pipe.mjs +28 -0
  226. package/esm2020/pipes/format-phone/format-phone.module.mjs +16 -0
  227. package/esm2020/pipes/format-phone/format-phone.pipe.mjs +25 -0
  228. package/esm2020/pipes/month/month.module.mjs +16 -0
  229. package/esm2020/pipes/month/month.pipe.mjs +23 -0
  230. package/esm2020/pipes/order-week-days/order-week-days.module.mjs +16 -0
  231. package/esm2020/pipes/order-week-days/order-week-days.pipe.mjs +34 -0
  232. package/esm2020/providers/mode.provider.mjs +16 -0
  233. package/esm2020/providers/watched-controller-provider-factory.mjs +7 -0
  234. package/esm2020/services/breakpoint.service.mjs +41 -0
  235. package/esm2020/services/format-date.service.mjs +26 -0
  236. package/esm2020/services/hint.service.mjs +28 -0
  237. package/esm2020/services/night-theme.service.mjs +23 -0
  238. package/esm2020/services/position.service.mjs +35 -0
  239. package/esm2020/services/router-link-active.service.mjs +41 -0
  240. package/esm2020/services/svg.service.mjs +73 -0
  241. package/esm2020/services/visual-viewport.service.mjs +34 -0
  242. package/esm2020/tokens/is-mobile-resolution.mjs +17 -0
  243. package/esm2020/tokens/number-format-observable.mjs +8 -0
  244. package/esm2020/tokens/ordered-short-week-days.mjs +27 -0
  245. package/esm2020/tokens/reduced-motion.mjs +6 -0
  246. package/esm2020/tokens/selection-stream.mjs +12 -0
  247. package/esm2020/tokens/viewport.mjs +35 -0
  248. package/esm2020/utils/dom/process-icon.mjs +31 -0
  249. package/esm2020/utils/format/format-number.mjs +43 -0
  250. package/esm2020/utils/format/number-to-string-without-exp.mjs +18 -0
  251. package/esm2020/utils/mask/create-number-mask.mjs +121 -0
  252. package/esm2020/utils/miscellaneous/is-obscured.mjs +8 -0
  253. package/esm2020/utils/miscellaneous/override-options.mjs +11 -0
  254. package/fesm2015/taiga-ui-core-abstract.mjs +145 -0
  255. package/fesm2015/taiga-ui-core-abstract.mjs.map +1 -0
  256. package/fesm2015/taiga-ui-core-animations.mjs +262 -0
  257. package/fesm2015/taiga-ui-core-animations.mjs.map +1 -0
  258. package/fesm2015/taiga-ui-core-components-alert.mjs +154 -0
  259. package/fesm2015/taiga-ui-core-components-alert.mjs.map +1 -0
  260. package/fesm2015/taiga-ui-core-components-button.mjs +161 -0
  261. package/fesm2015/taiga-ui-core-components-button.mjs.map +1 -0
  262. package/fesm2015/taiga-ui-core-components-calendar.mjs +172 -0
  263. package/fesm2015/taiga-ui-core-components-calendar.mjs.map +1 -0
  264. package/fesm2015/taiga-ui-core-components-data-list.mjs +303 -0
  265. package/fesm2015/taiga-ui-core-components-data-list.mjs.map +1 -0
  266. package/fesm2015/taiga-ui-core-components-dialog.mjs +244 -0
  267. package/fesm2015/taiga-ui-core-components-dialog.mjs.map +1 -0
  268. package/fesm2015/taiga-ui-core-components-error.mjs +74 -0
  269. package/fesm2015/taiga-ui-core-components-error.mjs.map +1 -0
  270. package/fesm2015/taiga-ui-core-components-expand.mjs +160 -0
  271. package/fesm2015/taiga-ui-core-components-expand.mjs.map +1 -0
  272. package/fesm2015/taiga-ui-core-components-group.mjs +102 -0
  273. package/fesm2015/taiga-ui-core-components-group.mjs.map +1 -0
  274. package/fesm2015/taiga-ui-core-components-hints-host.mjs +70 -0
  275. package/fesm2015/taiga-ui-core-components-hints-host.mjs.map +1 -0
  276. package/fesm2015/taiga-ui-core-components-hosted-dropdown.mjs +412 -0
  277. package/fesm2015/taiga-ui-core-components-hosted-dropdown.mjs.map +1 -0
  278. package/fesm2015/taiga-ui-core-components-label.mjs +61 -0
  279. package/fesm2015/taiga-ui-core-components-label.mjs.map +1 -0
  280. package/fesm2015/taiga-ui-core-components-link.mjs +117 -0
  281. package/fesm2015/taiga-ui-core-components-link.mjs.map +1 -0
  282. package/fesm2015/taiga-ui-core-components-loader.mjs +109 -0
  283. package/fesm2015/taiga-ui-core-components-loader.mjs.map +1 -0
  284. package/fesm2015/taiga-ui-core-components-notification.mjs +89 -0
  285. package/fesm2015/taiga-ui-core-components-notification.mjs.map +1 -0
  286. package/fesm2015/taiga-ui-core-components-primitive-calendar.mjs +203 -0
  287. package/fesm2015/taiga-ui-core-components-primitive-calendar.mjs.map +1 -0
  288. package/fesm2015/taiga-ui-core-components-primitive-checkbox.mjs +120 -0
  289. package/fesm2015/taiga-ui-core-components-primitive-checkbox.mjs.map +1 -0
  290. package/fesm2015/taiga-ui-core-components-primitive-spin-button.mjs +110 -0
  291. package/fesm2015/taiga-ui-core-components-primitive-spin-button.mjs.map +1 -0
  292. package/fesm2015/taiga-ui-core-components-primitive-textfield.mjs +526 -0
  293. package/fesm2015/taiga-ui-core-components-primitive-textfield.mjs.map +1 -0
  294. package/fesm2015/taiga-ui-core-components-primitive-year-picker.mjs +195 -0
  295. package/fesm2015/taiga-ui-core-components-primitive-year-picker.mjs.map +1 -0
  296. package/fesm2015/taiga-ui-core-components-root.mjs +119 -0
  297. package/fesm2015/taiga-ui-core-components-root.mjs.map +1 -0
  298. package/fesm2015/taiga-ui-core-components-scroll-controls.mjs +232 -0
  299. package/fesm2015/taiga-ui-core-components-scroll-controls.mjs.map +1 -0
  300. package/fesm2015/taiga-ui-core-components-scrollbar.mjs +162 -0
  301. package/fesm2015/taiga-ui-core-components-scrollbar.mjs.map +1 -0
  302. package/fesm2015/taiga-ui-core-components-svg.mjs +313 -0
  303. package/fesm2015/taiga-ui-core-components-svg.mjs.map +1 -0
  304. package/fesm2015/taiga-ui-core-components-theme-night.mjs +32 -0
  305. package/fesm2015/taiga-ui-core-components-theme-night.mjs.map +1 -0
  306. package/fesm2015/taiga-ui-core-components-tooltip.mjs +111 -0
  307. package/fesm2015/taiga-ui-core-components-tooltip.mjs.map +1 -0
  308. package/fesm2015/taiga-ui-core-components.mjs +30 -0
  309. package/fesm2015/taiga-ui-core-components.mjs.map +1 -0
  310. package/fesm2015/taiga-ui-core-constants.mjs +90 -0
  311. package/fesm2015/taiga-ui-core-constants.mjs.map +1 -0
  312. package/fesm2015/taiga-ui-core-directives-dropdown.mjs +980 -0
  313. package/fesm2015/taiga-ui-core-directives-dropdown.mjs.map +1 -0
  314. package/fesm2015/taiga-ui-core-directives-hint.mjs +764 -0
  315. package/fesm2015/taiga-ui-core-directives-hint.mjs.map +1 -0
  316. package/fesm2015/taiga-ui-core-directives-mask-accessor.mjs +53 -0
  317. package/fesm2015/taiga-ui-core-directives-mask-accessor.mjs.map +1 -0
  318. package/fesm2015/taiga-ui-core-directives-mode.mjs +41 -0
  319. package/fesm2015/taiga-ui-core-directives-mode.mjs.map +1 -0
  320. package/fesm2015/taiga-ui-core-directives-number-format.mjs +60 -0
  321. package/fesm2015/taiga-ui-core-directives-number-format.mjs.map +1 -0
  322. package/fesm2015/taiga-ui-core-directives-scroll-into-view.mjs +72 -0
  323. package/fesm2015/taiga-ui-core-directives-scroll-into-view.mjs.map +1 -0
  324. package/fesm2015/taiga-ui-core-directives-textfield-controller.mjs +446 -0
  325. package/fesm2015/taiga-ui-core-directives-textfield-controller.mjs.map +1 -0
  326. package/fesm2015/taiga-ui-core-directives-wrapper.mjs +115 -0
  327. package/fesm2015/taiga-ui-core-directives-wrapper.mjs.map +1 -0
  328. package/fesm2015/taiga-ui-core-directives.mjs +13 -0
  329. package/fesm2015/taiga-ui-core-directives.mjs.map +1 -0
  330. package/fesm2015/taiga-ui-core-enums.mjs +68 -0
  331. package/fesm2015/taiga-ui-core-enums.mjs.map +1 -0
  332. package/fesm2015/taiga-ui-core-interfaces.mjs +4 -0
  333. package/fesm2015/taiga-ui-core-interfaces.mjs.map +1 -0
  334. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.mjs +116 -0
  335. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.mjs.map +1 -0
  336. package/fesm2015/taiga-ui-core-internal-svg-defs-host.mjs +69 -0
  337. package/fesm2015/taiga-ui-core-internal-svg-defs-host.mjs.map +1 -0
  338. package/fesm2015/taiga-ui-core-internal.mjs +7 -0
  339. package/fesm2015/taiga-ui-core-internal.mjs.map +1 -0
  340. package/fesm2015/taiga-ui-core-mask.mjs +4 -0
  341. package/fesm2015/taiga-ui-core-mask.mjs.map +1 -0
  342. package/fesm2015/taiga-ui-core-observables.mjs +26 -0
  343. package/fesm2015/taiga-ui-core-observables.mjs.map +1 -0
  344. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.mjs +111 -0
  345. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -0
  346. package/fesm2015/taiga-ui-core-pipes-flag.mjs +68 -0
  347. package/fesm2015/taiga-ui-core-pipes-flag.mjs.map +1 -0
  348. package/fesm2015/taiga-ui-core-pipes-format-date.mjs +46 -0
  349. package/fesm2015/taiga-ui-core-pipes-format-date.mjs.map +1 -0
  350. package/fesm2015/taiga-ui-core-pipes-format-number.mjs +50 -0
  351. package/fesm2015/taiga-ui-core-pipes-format-number.mjs.map +1 -0
  352. package/fesm2015/taiga-ui-core-pipes-format-phone.mjs +45 -0
  353. package/fesm2015/taiga-ui-core-pipes-format-phone.mjs.map +1 -0
  354. package/fesm2015/taiga-ui-core-pipes-month.mjs +45 -0
  355. package/fesm2015/taiga-ui-core-pipes-month.mjs.map +1 -0
  356. package/fesm2015/taiga-ui-core-pipes-order-week-days.mjs +56 -0
  357. package/fesm2015/taiga-ui-core-pipes-order-week-days.mjs.map +1 -0
  358. package/fesm2015/taiga-ui-core-pipes.mjs +12 -0
  359. package/fesm2015/taiga-ui-core-pipes.mjs.map +1 -0
  360. package/fesm2015/taiga-ui-core-providers.mjs +41 -0
  361. package/fesm2015/taiga-ui-core-providers.mjs.map +1 -0
  362. package/fesm2015/taiga-ui-core-services.mjs +287 -0
  363. package/fesm2015/taiga-ui-core-services.mjs.map +1 -0
  364. package/fesm2015/taiga-ui-core-tokens.mjs +333 -0
  365. package/fesm2015/taiga-ui-core-tokens.mjs.map +1 -0
  366. package/fesm2015/taiga-ui-core-types.mjs +4 -0
  367. package/fesm2015/taiga-ui-core-types.mjs.map +1 -0
  368. package/fesm2015/taiga-ui-core-utils-dom.mjs +160 -0
  369. package/fesm2015/taiga-ui-core-utils-dom.mjs.map +1 -0
  370. package/fesm2015/taiga-ui-core-utils-format.mjs +146 -0
  371. package/fesm2015/taiga-ui-core-utils-format.mjs.map +1 -0
  372. package/fesm2015/taiga-ui-core-utils-mask.mjs +284 -0
  373. package/fesm2015/taiga-ui-core-utils-mask.mjs.map +1 -0
  374. package/fesm2015/taiga-ui-core-utils-miscellaneous.mjs +89 -0
  375. package/fesm2015/taiga-ui-core-utils-miscellaneous.mjs.map +1 -0
  376. package/fesm2015/taiga-ui-core-utils-mobile.mjs +12 -0
  377. package/fesm2015/taiga-ui-core-utils-mobile.mjs.map +1 -0
  378. package/fesm2015/taiga-ui-core-utils.mjs +10 -0
  379. package/fesm2015/taiga-ui-core-utils.mjs.map +1 -0
  380. package/fesm2015/taiga-ui-core.mjs +21 -0
  381. package/fesm2015/taiga-ui-core.mjs.map +1 -0
  382. package/fesm2020/taiga-ui-core-abstract.mjs +140 -0
  383. package/fesm2020/taiga-ui-core-abstract.mjs.map +1 -0
  384. package/fesm2020/taiga-ui-core-animations.mjs +262 -0
  385. package/fesm2020/taiga-ui-core-animations.mjs.map +1 -0
  386. package/fesm2020/taiga-ui-core-components-alert.mjs +157 -0
  387. package/fesm2020/taiga-ui-core-components-alert.mjs.map +1 -0
  388. package/fesm2020/taiga-ui-core-components-button.mjs +157 -0
  389. package/fesm2020/taiga-ui-core-components-button.mjs.map +1 -0
  390. package/fesm2020/taiga-ui-core-components-calendar.mjs +168 -0
  391. package/fesm2020/taiga-ui-core-components-calendar.mjs.map +1 -0
  392. package/fesm2020/taiga-ui-core-components-data-list.mjs +297 -0
  393. package/fesm2020/taiga-ui-core-components-data-list.mjs.map +1 -0
  394. package/fesm2020/taiga-ui-core-components-dialog.mjs +243 -0
  395. package/fesm2020/taiga-ui-core-components-dialog.mjs.map +1 -0
  396. package/fesm2020/taiga-ui-core-components-error.mjs +72 -0
  397. package/fesm2020/taiga-ui-core-components-error.mjs.map +1 -0
  398. package/fesm2020/taiga-ui-core-components-expand.mjs +158 -0
  399. package/fesm2020/taiga-ui-core-components-expand.mjs.map +1 -0
  400. package/fesm2020/taiga-ui-core-components-group.mjs +100 -0
  401. package/fesm2020/taiga-ui-core-components-group.mjs.map +1 -0
  402. package/fesm2020/taiga-ui-core-components-hints-host.mjs +68 -0
  403. package/fesm2020/taiga-ui-core-components-hints-host.mjs.map +1 -0
  404. package/fesm2020/taiga-ui-core-components-hosted-dropdown.mjs +404 -0
  405. package/fesm2020/taiga-ui-core-components-hosted-dropdown.mjs.map +1 -0
  406. package/fesm2020/taiga-ui-core-components-label.mjs +59 -0
  407. package/fesm2020/taiga-ui-core-components-label.mjs.map +1 -0
  408. package/fesm2020/taiga-ui-core-components-link.mjs +115 -0
  409. package/fesm2020/taiga-ui-core-components-link.mjs.map +1 -0
  410. package/fesm2020/taiga-ui-core-components-loader.mjs +107 -0
  411. package/fesm2020/taiga-ui-core-components-loader.mjs.map +1 -0
  412. package/fesm2020/taiga-ui-core-components-notification.mjs +87 -0
  413. package/fesm2020/taiga-ui-core-components-notification.mjs.map +1 -0
  414. package/fesm2020/taiga-ui-core-components-primitive-calendar.mjs +201 -0
  415. package/fesm2020/taiga-ui-core-components-primitive-calendar.mjs.map +1 -0
  416. package/fesm2020/taiga-ui-core-components-primitive-checkbox.mjs +118 -0
  417. package/fesm2020/taiga-ui-core-components-primitive-checkbox.mjs.map +1 -0
  418. package/fesm2020/taiga-ui-core-components-primitive-spin-button.mjs +108 -0
  419. package/fesm2020/taiga-ui-core-components-primitive-spin-button.mjs.map +1 -0
  420. package/fesm2020/taiga-ui-core-components-primitive-textfield.mjs +511 -0
  421. package/fesm2020/taiga-ui-core-components-primitive-textfield.mjs.map +1 -0
  422. package/fesm2020/taiga-ui-core-components-primitive-year-picker.mjs +193 -0
  423. package/fesm2020/taiga-ui-core-components-primitive-year-picker.mjs.map +1 -0
  424. package/fesm2020/taiga-ui-core-components-root.mjs +117 -0
  425. package/fesm2020/taiga-ui-core-components-root.mjs.map +1 -0
  426. package/fesm2020/taiga-ui-core-components-scroll-controls.mjs +228 -0
  427. package/fesm2020/taiga-ui-core-components-scroll-controls.mjs.map +1 -0
  428. package/fesm2020/taiga-ui-core-components-scrollbar.mjs +157 -0
  429. package/fesm2020/taiga-ui-core-components-scrollbar.mjs.map +1 -0
  430. package/fesm2020/taiga-ui-core-components-svg.mjs +318 -0
  431. package/fesm2020/taiga-ui-core-components-svg.mjs.map +1 -0
  432. package/fesm2020/taiga-ui-core-components-theme-night.mjs +32 -0
  433. package/fesm2020/taiga-ui-core-components-theme-night.mjs.map +1 -0
  434. package/fesm2020/taiga-ui-core-components-tooltip.mjs +108 -0
  435. package/fesm2020/taiga-ui-core-components-tooltip.mjs.map +1 -0
  436. package/fesm2020/taiga-ui-core-components.mjs +30 -0
  437. package/fesm2020/taiga-ui-core-components.mjs.map +1 -0
  438. package/fesm2020/taiga-ui-core-constants.mjs +90 -0
  439. package/fesm2020/taiga-ui-core-constants.mjs.map +1 -0
  440. package/fesm2020/taiga-ui-core-directives-dropdown.mjs +952 -0
  441. package/fesm2020/taiga-ui-core-directives-dropdown.mjs.map +1 -0
  442. package/fesm2020/taiga-ui-core-directives-hint.mjs +740 -0
  443. package/fesm2020/taiga-ui-core-directives-hint.mjs.map +1 -0
  444. package/fesm2020/taiga-ui-core-directives-mask-accessor.mjs +53 -0
  445. package/fesm2020/taiga-ui-core-directives-mask-accessor.mjs.map +1 -0
  446. package/fesm2020/taiga-ui-core-directives-mode.mjs +41 -0
  447. package/fesm2020/taiga-ui-core-directives-mode.mjs.map +1 -0
  448. package/fesm2020/taiga-ui-core-directives-number-format.mjs +58 -0
  449. package/fesm2020/taiga-ui-core-directives-number-format.mjs.map +1 -0
  450. package/fesm2020/taiga-ui-core-directives-scroll-into-view.mjs +70 -0
  451. package/fesm2020/taiga-ui-core-directives-scroll-into-view.mjs.map +1 -0
  452. package/fesm2020/taiga-ui-core-directives-textfield-controller.mjs +446 -0
  453. package/fesm2020/taiga-ui-core-directives-textfield-controller.mjs.map +1 -0
  454. package/fesm2020/taiga-ui-core-directives-wrapper.mjs +113 -0
  455. package/fesm2020/taiga-ui-core-directives-wrapper.mjs.map +1 -0
  456. package/fesm2020/taiga-ui-core-directives.mjs +13 -0
  457. package/fesm2020/taiga-ui-core-directives.mjs.map +1 -0
  458. package/fesm2020/taiga-ui-core-enums.mjs +68 -0
  459. package/fesm2020/taiga-ui-core-enums.mjs.map +1 -0
  460. package/fesm2020/taiga-ui-core-interfaces.mjs +4 -0
  461. package/fesm2020/taiga-ui-core-interfaces.mjs.map +1 -0
  462. package/fesm2020/taiga-ui-core-internal-primitive-year-month-pagination.mjs +114 -0
  463. package/fesm2020/taiga-ui-core-internal-primitive-year-month-pagination.mjs.map +1 -0
  464. package/fesm2020/taiga-ui-core-internal-svg-defs-host.mjs +67 -0
  465. package/fesm2020/taiga-ui-core-internal-svg-defs-host.mjs.map +1 -0
  466. package/fesm2020/taiga-ui-core-internal.mjs +7 -0
  467. package/fesm2020/taiga-ui-core-internal.mjs.map +1 -0
  468. package/fesm2020/taiga-ui-core-mask.mjs +4 -0
  469. package/fesm2020/taiga-ui-core-mask.mjs.map +1 -0
  470. package/fesm2020/taiga-ui-core-observables.mjs +26 -0
  471. package/fesm2020/taiga-ui-core-observables.mjs.map +1 -0
  472. package/fesm2020/taiga-ui-core-pipes-calendar-sheet.mjs +108 -0
  473. package/fesm2020/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -0
  474. package/fesm2020/taiga-ui-core-pipes-flag.mjs +66 -0
  475. package/fesm2020/taiga-ui-core-pipes-flag.mjs.map +1 -0
  476. package/fesm2020/taiga-ui-core-pipes-format-date.mjs +44 -0
  477. package/fesm2020/taiga-ui-core-pipes-format-date.mjs.map +1 -0
  478. package/fesm2020/taiga-ui-core-pipes-format-number.mjs +48 -0
  479. package/fesm2020/taiga-ui-core-pipes-format-number.mjs.map +1 -0
  480. package/fesm2020/taiga-ui-core-pipes-format-phone.mjs +45 -0
  481. package/fesm2020/taiga-ui-core-pipes-format-phone.mjs.map +1 -0
  482. package/fesm2020/taiga-ui-core-pipes-month.mjs +43 -0
  483. package/fesm2020/taiga-ui-core-pipes-month.mjs.map +1 -0
  484. package/fesm2020/taiga-ui-core-pipes-order-week-days.mjs +54 -0
  485. package/fesm2020/taiga-ui-core-pipes-order-week-days.mjs.map +1 -0
  486. package/fesm2020/taiga-ui-core-pipes.mjs +12 -0
  487. package/fesm2020/taiga-ui-core-pipes.mjs.map +1 -0
  488. package/fesm2020/taiga-ui-core-providers.mjs +41 -0
  489. package/fesm2020/taiga-ui-core-providers.mjs.map +1 -0
  490. package/fesm2020/taiga-ui-core-services.mjs +278 -0
  491. package/fesm2020/taiga-ui-core-services.mjs.map +1 -0
  492. package/fesm2020/taiga-ui-core-tokens.mjs +334 -0
  493. package/fesm2020/taiga-ui-core-tokens.mjs.map +1 -0
  494. package/fesm2020/taiga-ui-core-types.mjs +16 -0
  495. package/fesm2020/taiga-ui-core-types.mjs.map +1 -0
  496. package/fesm2020/taiga-ui-core-utils-dom.mjs +160 -0
  497. package/fesm2020/taiga-ui-core-utils-dom.mjs.map +1 -0
  498. package/fesm2020/taiga-ui-core-utils-format.mjs +149 -0
  499. package/fesm2020/taiga-ui-core-utils-format.mjs.map +1 -0
  500. package/fesm2020/taiga-ui-core-utils-mask.mjs +284 -0
  501. package/fesm2020/taiga-ui-core-utils-mask.mjs.map +1 -0
  502. package/fesm2020/taiga-ui-core-utils-miscellaneous.mjs +88 -0
  503. package/fesm2020/taiga-ui-core-utils-miscellaneous.mjs.map +1 -0
  504. package/fesm2020/taiga-ui-core-utils-mobile.mjs +12 -0
  505. package/fesm2020/taiga-ui-core-utils-mobile.mjs.map +1 -0
  506. package/fesm2020/taiga-ui-core-utils.mjs +10 -0
  507. package/fesm2020/taiga-ui-core-utils.mjs.map +1 -0
  508. package/fesm2020/taiga-ui-core.mjs +21 -0
  509. package/fesm2020/taiga-ui-core.mjs.map +1 -0
  510. package/interfaces/alert-options.d.ts +1 -1
  511. package/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.d.ts +1 -1
  512. package/internal/svg-defs-host/svg-defs-host.component.d.ts +1 -1
  513. package/mask/text-mask-correction-handler.d.ts +1 -1
  514. package/mask/text-mask-list-handler.d.ts +1 -1
  515. package/mask/text-mask-list.d.ts +1 -1
  516. package/mask/text-mask-pipe-handler.d.ts +1 -1
  517. package/package.json +559 -42
  518. package/pipes/calendar-sheet/calendar-sheet.pipe.d.ts +1 -1
  519. package/pipes/flag/flag.pipe.d.ts +1 -1
  520. package/pipes/format-date/format-date.pipe.d.ts +1 -1
  521. package/pipes/format-number/format-number.pipe.d.ts +1 -1
  522. package/pipes/format-phone/format-phone.pipe.d.ts +1 -1
  523. package/pipes/month/month.pipe.d.ts +1 -1
  524. package/pipes/order-week-days/order-week-days.pipe.d.ts +2 -2
  525. package/services/breakpoint.service.d.ts +1 -1
  526. package/styles/theme/appearance/outline.less +24 -15
  527. package/styles/theme/appearance/primary.less +8 -3
  528. package/styles/theme/appearance/secondary.less +15 -1
  529. package/styles/theme/appearance/status.less +48 -20
  530. package/tokens/number-format-observable.d.ts +4 -8
  531. package/tokens/ordered-short-week-days.d.ts +1 -1
  532. package/types/brightness.d.ts +1 -1
  533. package/types/calendar-view.d.ts +1 -1
  534. package/types/data-list-role.d.ts +1 -1
  535. package/types/decimal-symbol.d.ts +1 -1
  536. package/types/decimal.d.ts +1 -1
  537. package/types/dialog-size.d.ts +1 -1
  538. package/types/direction.d.ts +2 -2
  539. package/types/dropdown-align.d.ts +1 -1
  540. package/types/dropdown-width.d.ts +1 -1
  541. package/types/hint-direction.d.ts +1 -1
  542. package/types/marker-handler.d.ts +1 -1
  543. package/types/notification.d.ts +1 -1
  544. package/types/option-role.d.ts +1 -1
  545. package/types/orientation.d.ts +1 -1
  546. package/types/point.d.ts +1 -1
  547. package/types/size.d.ts +7 -7
  548. package/abstract/package.json +0 -10
  549. package/abstract/taiga-ui-core-abstract.d.ts +0 -5
  550. package/animations/package.json +0 -10
  551. package/animations/taiga-ui-core-animations.d.ts +0 -5
  552. package/bundles/taiga-ui-core-abstract.umd.js +0 -546
  553. package/bundles/taiga-ui-core-abstract.umd.js.map +0 -1
  554. package/bundles/taiga-ui-core-animations.umd.js +0 -290
  555. package/bundles/taiga-ui-core-animations.umd.js.map +0 -1
  556. package/bundles/taiga-ui-core-components-alert.umd.js +0 -517
  557. package/bundles/taiga-ui-core-components-alert.umd.js.map +0 -1
  558. package/bundles/taiga-ui-core-components-button.umd.js +0 -540
  559. package/bundles/taiga-ui-core-components-button.umd.js.map +0 -1
  560. package/bundles/taiga-ui-core-components-calendar.umd.js +0 -233
  561. package/bundles/taiga-ui-core-components-calendar.umd.js.map +0 -1
  562. package/bundles/taiga-ui-core-components-data-list.umd.js +0 -693
  563. package/bundles/taiga-ui-core-components-data-list.umd.js.map +0 -1
  564. package/bundles/taiga-ui-core-components-dialog.umd.js +0 -634
  565. package/bundles/taiga-ui-core-components-dialog.umd.js.map +0 -1
  566. package/bundles/taiga-ui-core-components-error.umd.js +0 -111
  567. package/bundles/taiga-ui-core-components-error.umd.js.map +0 -1
  568. package/bundles/taiga-ui-core-components-expand.umd.js +0 -220
  569. package/bundles/taiga-ui-core-components-expand.umd.js.map +0 -1
  570. package/bundles/taiga-ui-core-components-group.umd.js +0 -154
  571. package/bundles/taiga-ui-core-components-group.umd.js.map +0 -1
  572. package/bundles/taiga-ui-core-components-hints-host.umd.js +0 -108
  573. package/bundles/taiga-ui-core-components-hints-host.umd.js.map +0 -1
  574. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +0 -808
  575. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +0 -1
  576. package/bundles/taiga-ui-core-components-label.umd.js +0 -96
  577. package/bundles/taiga-ui-core-components-label.umd.js.map +0 -1
  578. package/bundles/taiga-ui-core-components-link.umd.js +0 -172
  579. package/bundles/taiga-ui-core-components-link.umd.js.map +0 -1
  580. package/bundles/taiga-ui-core-components-loader.umd.js +0 -165
  581. package/bundles/taiga-ui-core-components-loader.umd.js.map +0 -1
  582. package/bundles/taiga-ui-core-components-notification.umd.js +0 -124
  583. package/bundles/taiga-ui-core-components-notification.umd.js.map +0 -1
  584. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +0 -245
  585. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +0 -1
  586. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +0 -173
  587. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +0 -1
  588. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +0 -476
  589. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +0 -1
  590. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +0 -1050
  591. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +0 -1
  592. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +0 -255
  593. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +0 -1
  594. package/bundles/taiga-ui-core-components-root.umd.js +0 -476
  595. package/bundles/taiga-ui-core-components-root.umd.js.map +0 -1
  596. package/bundles/taiga-ui-core-components-scroll-controls.umd.js +0 -620
  597. package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +0 -1
  598. package/bundles/taiga-ui-core-components-scrollbar.umd.js +0 -217
  599. package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +0 -1
  600. package/bundles/taiga-ui-core-components-svg.umd.js +0 -707
  601. package/bundles/taiga-ui-core-components-svg.umd.js.map +0 -1
  602. package/bundles/taiga-ui-core-components-theme-night.umd.js +0 -391
  603. package/bundles/taiga-ui-core-components-theme-night.umd.js.map +0 -1
  604. package/bundles/taiga-ui-core-components-tooltip.umd.js +0 -466
  605. package/bundles/taiga-ui-core-components-tooltip.umd.js.map +0 -1
  606. package/bundles/taiga-ui-core-components.umd.js +0 -165
  607. package/bundles/taiga-ui-core-components.umd.js.map +0 -1
  608. package/bundles/taiga-ui-core-constants.umd.js +0 -117
  609. package/bundles/taiga-ui-core-constants.umd.js.map +0 -1
  610. package/bundles/taiga-ui-core-directives-dropdown.umd.js +0 -1390
  611. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +0 -1
  612. package/bundles/taiga-ui-core-directives-hint.umd.js +0 -1169
  613. package/bundles/taiga-ui-core-directives-hint.umd.js.map +0 -1
  614. package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +0 -85
  615. package/bundles/taiga-ui-core-directives-mask-accessor.umd.js.map +0 -1
  616. package/bundles/taiga-ui-core-directives-mode.umd.js +0 -392
  617. package/bundles/taiga-ui-core-directives-mode.umd.js.map +0 -1
  618. package/bundles/taiga-ui-core-directives-number-format.umd.js +0 -414
  619. package/bundles/taiga-ui-core-directives-number-format.umd.js.map +0 -1
  620. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +0 -106
  621. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +0 -1
  622. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +0 -901
  623. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +0 -1
  624. package/bundles/taiga-ui-core-directives-wrapper.umd.js +0 -164
  625. package/bundles/taiga-ui-core-directives-wrapper.umd.js.map +0 -1
  626. package/bundles/taiga-ui-core-directives.umd.js +0 -63
  627. package/bundles/taiga-ui-core-directives.umd.js.map +0 -1
  628. package/bundles/taiga-ui-core-enums.umd.js +0 -76
  629. package/bundles/taiga-ui-core-enums.umd.js.map +0 -1
  630. package/bundles/taiga-ui-core-interfaces.umd.js +0 -11
  631. package/bundles/taiga-ui-core-interfaces.umd.js.map +0 -1
  632. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +0 -170
  633. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +0 -1
  634. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +0 -104
  635. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js.map +0 -1
  636. package/bundles/taiga-ui-core-internal.umd.js +0 -27
  637. package/bundles/taiga-ui-core-internal.umd.js.map +0 -1
  638. package/bundles/taiga-ui-core-mask.umd.js +0 -11
  639. package/bundles/taiga-ui-core-mask.umd.js.map +0 -1
  640. package/bundles/taiga-ui-core-observables.umd.js +0 -35
  641. package/bundles/taiga-ui-core-observables.umd.js.map +0 -1
  642. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +0 -149
  643. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js.map +0 -1
  644. package/bundles/taiga-ui-core-pipes-flag.umd.js +0 -97
  645. package/bundles/taiga-ui-core-pipes-flag.umd.js.map +0 -1
  646. package/bundles/taiga-ui-core-pipes-format-date.umd.js +0 -77
  647. package/bundles/taiga-ui-core-pipes-format-date.umd.js.map +0 -1
  648. package/bundles/taiga-ui-core-pipes-format-number.umd.js +0 -81
  649. package/bundles/taiga-ui-core-pipes-format-number.umd.js.map +0 -1
  650. package/bundles/taiga-ui-core-pipes-format-phone.umd.js +0 -79
  651. package/bundles/taiga-ui-core-pipes-format-phone.umd.js.map +0 -1
  652. package/bundles/taiga-ui-core-pipes-month.umd.js +0 -76
  653. package/bundles/taiga-ui-core-pipes-month.umd.js.map +0 -1
  654. package/bundles/taiga-ui-core-pipes-order-week-days.umd.js +0 -401
  655. package/bundles/taiga-ui-core-pipes-order-week-days.umd.js.map +0 -1
  656. package/bundles/taiga-ui-core-pipes.umd.js +0 -57
  657. package/bundles/taiga-ui-core-pipes.umd.js.map +0 -1
  658. package/bundles/taiga-ui-core-providers.umd.js +0 -49
  659. package/bundles/taiga-ui-core-providers.umd.js.map +0 -1
  660. package/bundles/taiga-ui-core-services.umd.js +0 -657
  661. package/bundles/taiga-ui-core-services.umd.js.map +0 -1
  662. package/bundles/taiga-ui-core-tokens.umd.js +0 -695
  663. package/bundles/taiga-ui-core-tokens.umd.js.map +0 -1
  664. package/bundles/taiga-ui-core-types.umd.js +0 -11
  665. package/bundles/taiga-ui-core-types.umd.js.map +0 -1
  666. package/bundles/taiga-ui-core-utils-dom.umd.js +0 -176
  667. package/bundles/taiga-ui-core-utils-dom.umd.js.map +0 -1
  668. package/bundles/taiga-ui-core-utils-format.umd.js +0 -489
  669. package/bundles/taiga-ui-core-utils-format.umd.js.map +0 -1
  670. package/bundles/taiga-ui-core-utils-mask.umd.js +0 -625
  671. package/bundles/taiga-ui-core-utils-mask.umd.js.map +0 -1
  672. package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +0 -108
  673. package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +0 -1
  674. package/bundles/taiga-ui-core-utils-mobile.umd.js +0 -21
  675. package/bundles/taiga-ui-core-utils-mobile.umd.js.map +0 -1
  676. package/bundles/taiga-ui-core-utils.umd.js +0 -45
  677. package/bundles/taiga-ui-core-utils.umd.js.map +0 -1
  678. package/bundles/taiga-ui-core.umd.js +0 -111
  679. package/bundles/taiga-ui-core.umd.js.map +0 -1
  680. package/components/alert/package.json +0 -10
  681. package/components/alert/taiga-ui-core-components-alert.d.ts +0 -5
  682. package/components/button/package.json +0 -10
  683. package/components/button/taiga-ui-core-components-button.d.ts +0 -5
  684. package/components/calendar/package.json +0 -10
  685. package/components/calendar/taiga-ui-core-components-calendar.d.ts +0 -5
  686. package/components/data-list/package.json +0 -10
  687. package/components/data-list/taiga-ui-core-components-data-list.d.ts +0 -5
  688. package/components/dialog/package.json +0 -10
  689. package/components/dialog/taiga-ui-core-components-dialog.d.ts +0 -5
  690. package/components/error/package.json +0 -10
  691. package/components/error/taiga-ui-core-components-error.d.ts +0 -5
  692. package/components/expand/package.json +0 -10
  693. package/components/expand/taiga-ui-core-components-expand.d.ts +0 -5
  694. package/components/group/package.json +0 -10
  695. package/components/group/taiga-ui-core-components-group.d.ts +0 -5
  696. package/components/hints-host/package.json +0 -10
  697. package/components/hints-host/taiga-ui-core-components-hints-host.d.ts +0 -5
  698. package/components/hosted-dropdown/package.json +0 -10
  699. package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.d.ts +0 -5
  700. package/components/label/package.json +0 -10
  701. package/components/label/taiga-ui-core-components-label.d.ts +0 -5
  702. package/components/link/package.json +0 -10
  703. package/components/link/taiga-ui-core-components-link.d.ts +0 -5
  704. package/components/loader/package.json +0 -10
  705. package/components/loader/taiga-ui-core-components-loader.d.ts +0 -5
  706. package/components/notification/package.json +0 -10
  707. package/components/notification/taiga-ui-core-components-notification.d.ts +0 -5
  708. package/components/package.json +0 -10
  709. package/components/primitive-calendar/package.json +0 -10
  710. package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.d.ts +0 -5
  711. package/components/primitive-checkbox/package.json +0 -10
  712. package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.d.ts +0 -5
  713. package/components/primitive-spin-button/package.json +0 -10
  714. package/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.d.ts +0 -5
  715. package/components/primitive-textfield/package.json +0 -10
  716. package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.d.ts +0 -5
  717. package/components/primitive-year-picker/package.json +0 -10
  718. package/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.d.ts +0 -5
  719. package/components/root/package.json +0 -10
  720. package/components/root/taiga-ui-core-components-root.d.ts +0 -5
  721. package/components/scroll-controls/package.json +0 -10
  722. package/components/scroll-controls/taiga-ui-core-components-scroll-controls.d.ts +0 -5
  723. package/components/scrollbar/package.json +0 -10
  724. package/components/scrollbar/taiga-ui-core-components-scrollbar.d.ts +0 -5
  725. package/components/svg/package.json +0 -10
  726. package/components/svg/taiga-ui-core-components-svg.d.ts +0 -5
  727. package/components/taiga-ui-core-components.d.ts +0 -5
  728. package/components/theme-night/package.json +0 -10
  729. package/components/theme-night/taiga-ui-core-components-theme-night.d.ts +0 -5
  730. package/components/tooltip/package.json +0 -10
  731. package/components/tooltip/taiga-ui-core-components-tooltip.d.ts +0 -5
  732. package/constants/package.json +0 -10
  733. package/constants/taiga-ui-core-constants.d.ts +0 -5
  734. package/directives/dropdown/package.json +0 -10
  735. package/directives/dropdown/taiga-ui-core-directives-dropdown.d.ts +0 -5
  736. package/directives/hint/package.json +0 -10
  737. package/directives/hint/taiga-ui-core-directives-hint.d.ts +0 -5
  738. package/directives/mask-accessor/package.json +0 -10
  739. package/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.d.ts +0 -5
  740. package/directives/mode/package.json +0 -10
  741. package/directives/mode/taiga-ui-core-directives-mode.d.ts +0 -5
  742. package/directives/number-format/package.json +0 -10
  743. package/directives/number-format/taiga-ui-core-directives-number-format.d.ts +0 -5
  744. package/directives/package.json +0 -10
  745. package/directives/scroll-into-view/package.json +0 -10
  746. package/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.d.ts +0 -5
  747. package/directives/taiga-ui-core-directives.d.ts +0 -5
  748. package/directives/textfield-controller/package.json +0 -10
  749. package/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.d.ts +0 -5
  750. package/directives/wrapper/package.json +0 -10
  751. package/directives/wrapper/taiga-ui-core-directives-wrapper.d.ts +0 -5
  752. package/enums/package.json +0 -10
  753. package/enums/taiga-ui-core-enums.d.ts +0 -5
  754. package/esm2015/abstract/abstract-driver.directive.js +0 -40
  755. package/esm2015/abstract/abstract-textfield-host.js +0 -37
  756. package/esm2015/abstract/rect-accessor.js +0 -24
  757. package/esm2015/components/alert/alert.component.js +0 -90
  758. package/esm2015/components/alert/alert.directive.js +0 -28
  759. package/esm2015/components/alert/alert.module.js +0 -24
  760. package/esm2015/components/alert/alert.service.js +0 -27
  761. package/esm2015/components/button/button.component.js +0 -113
  762. package/esm2015/components/button/button.module.js +0 -38
  763. package/esm2015/components/calendar/calendar.component.js +0 -134
  764. package/esm2015/components/calendar/calendar.module.js +0 -42
  765. package/esm2015/components/data-list/data-list.component.js +0 -127
  766. package/esm2015/components/data-list/data-list.directive.js +0 -19
  767. package/esm2015/components/data-list/data-list.module.js +0 -39
  768. package/esm2015/components/data-list/opt-group.directive.js +0 -21
  769. package/esm2015/components/data-list/option/option.component.js +0 -119
  770. package/esm2015/components/dialog/dialog-close.service.js +0 -47
  771. package/esm2015/components/dialog/dialog.component.js +0 -127
  772. package/esm2015/components/dialog/dialog.directive.js +0 -28
  773. package/esm2015/components/dialog/dialog.module.js +0 -24
  774. package/esm2015/components/dialog/dialog.service.js +0 -23
  775. package/esm2015/components/error/error.component.js +0 -56
  776. package/esm2015/components/error/error.module.js +0 -19
  777. package/esm2015/components/expand/expand-content.directive.js +0 -13
  778. package/esm2015/components/expand/expand.component.js +0 -131
  779. package/esm2015/components/expand/expand.module.js +0 -20
  780. package/esm2015/components/group/group-styles.component.js +0 -19
  781. package/esm2015/components/group/group.directive.js +0 -68
  782. package/esm2015/components/group/group.module.js +0 -19
  783. package/esm2015/components/hints-host/hints-host.component.js +0 -55
  784. package/esm2015/components/hints-host/hints-host.module.js +0 -20
  785. package/esm2015/components/hosted-dropdown/accessor-proxy.directive.js +0 -42
  786. package/esm2015/components/hosted-dropdown/dropdown-open-monitor.directive.js +0 -45
  787. package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +0 -13
  788. package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +0 -279
  789. package/esm2015/components/hosted-dropdown/hosted-dropdown.module.js +0 -57
  790. package/esm2015/components/label/label.component.js +0 -44
  791. package/esm2015/components/label/label.module.js +0 -18
  792. package/esm2015/components/link/link.component.js +0 -101
  793. package/esm2015/components/link/link.module.js +0 -19
  794. package/esm2015/components/loader/loader.component.js +0 -77
  795. package/esm2015/components/loader/loader.module.js +0 -19
  796. package/esm2015/components/notification/notification.component.js +0 -67
  797. package/esm2015/components/notification/notification.module.js +0 -21
  798. package/esm2015/components/primitive-calendar/primitive-calendar.component.js +0 -160
  799. package/esm2015/components/primitive-calendar/primitive-calendar.module.js +0 -45
  800. package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +0 -77
  801. package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +0 -20
  802. package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +0 -91
  803. package/esm2015/components/primitive-spin-button/primitive-spin-button.module.js +0 -19
  804. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +0 -286
  805. package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +0 -36
  806. package/esm2015/components/primitive-textfield/primitive-textfield.module.js +0 -70
  807. package/esm2015/components/primitive-textfield/textfield/textfield.component.js +0 -64
  808. package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +0 -86
  809. package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +0 -164
  810. package/esm2015/components/primitive-year-picker/primitive-year-picker.module.js +0 -35
  811. package/esm2015/components/root/root.component.js +0 -80
  812. package/esm2015/components/root/root.module.js +0 -47
  813. package/esm2015/components/scroll-controls/scroll-controls.component.js +0 -61
  814. package/esm2015/components/scroll-controls/scroll-controls.module.js +0 -28
  815. package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +0 -25
  816. package/esm2015/components/scroll-controls/scrollbar.directive.js +0 -135
  817. package/esm2015/components/scrollbar/scroll-ref.directive.js +0 -28
  818. package/esm2015/components/scrollbar/scrollable.directive.js +0 -26
  819. package/esm2015/components/scrollbar/scrollbar.component.js +0 -94
  820. package/esm2015/components/scrollbar/scrollbar.module.js +0 -21
  821. package/esm2015/components/svg/svg-options.js +0 -60
  822. package/esm2015/components/svg/svg.component.js +0 -183
  823. package/esm2015/components/svg/svg.module.js +0 -19
  824. package/esm2015/components/theme-night/theme-night.component.js +0 -18
  825. package/esm2015/components/theme-night/theme-night.module.js +0 -16
  826. package/esm2015/components/tooltip/tooltip.component.js +0 -76
  827. package/esm2015/components/tooltip/tooltip.module.js +0 -38
  828. package/esm2015/directives/dropdown/dropdown-context.directive.js +0 -66
  829. package/esm2015/directives/dropdown/dropdown-driver.directive.js +0 -33
  830. package/esm2015/directives/dropdown/dropdown-host.directive.js +0 -26
  831. package/esm2015/directives/dropdown/dropdown-hover.directive.js +0 -58
  832. package/esm2015/directives/dropdown/dropdown-manual.directive.js +0 -27
  833. package/esm2015/directives/dropdown/dropdown-open.directive.js +0 -29
  834. package/esm2015/directives/dropdown/dropdown-options.directive.js +0 -84
  835. package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +0 -82
  836. package/esm2015/directives/dropdown/dropdown-position.directive.js +0 -86
  837. package/esm2015/directives/dropdown/dropdown-selection.directive.js +0 -162
  838. package/esm2015/directives/dropdown/dropdown.component.js +0 -174
  839. package/esm2015/directives/dropdown/dropdown.directive.js +0 -123
  840. package/esm2015/directives/dropdown/dropdown.module.js +0 -95
  841. package/esm2015/directives/hint/hint-describe.directive.js +0 -57
  842. package/esm2015/directives/hint/hint-driver.directive.js +0 -33
  843. package/esm2015/directives/hint/hint-host.directive.js +0 -26
  844. package/esm2015/directives/hint/hint-hover.directive.js +0 -56
  845. package/esm2015/directives/hint/hint-manual.directive.js +0 -33
  846. package/esm2015/directives/hint/hint-options.directive.js +0 -75
  847. package/esm2015/directives/hint/hint-pointer.directive.js +0 -36
  848. package/esm2015/directives/hint/hint-position.directive.js +0 -105
  849. package/esm2015/directives/hint/hint-unstyled.component.js +0 -66
  850. package/esm2015/directives/hint/hint.component.js +0 -167
  851. package/esm2015/directives/hint/hint.directive.js +0 -96
  852. package/esm2015/directives/hint/hint.module.js +0 -75
  853. package/esm2015/directives/mask-accessor/mask-accessor.directive.js +0 -30
  854. package/esm2015/directives/mask-accessor/mask-accessor.module.js +0 -19
  855. package/esm2015/directives/mode/mode.directive.js +0 -21
  856. package/esm2015/directives/mode/mode.module.js +0 -16
  857. package/esm2015/directives/number-format/number-format.directive.js +0 -38
  858. package/esm2015/directives/number-format/number-format.module.js +0 -16
  859. package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +0 -51
  860. package/esm2015/directives/scroll-into-view/scroll-into-view.module.js +0 -16
  861. package/esm2015/directives/textfield-controller/textfield-appearance.directive.js +0 -36
  862. package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +0 -33
  863. package/esm2015/directives/textfield-controller/textfield-controller.module.js +0 -65
  864. package/esm2015/directives/textfield-controller/textfield-controller.provider.js +0 -46
  865. package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +0 -29
  866. package/esm2015/directives/textfield-controller/textfield-filler.directive.js +0 -33
  867. package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +0 -29
  868. package/esm2015/directives/textfield-controller/textfield-icon.directive.js +0 -29
  869. package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +0 -33
  870. package/esm2015/directives/textfield-controller/textfield-postfix.directive.js +0 -33
  871. package/esm2015/directives/textfield-controller/textfield-prefix.directive.js +0 -33
  872. package/esm2015/directives/textfield-controller/textfield-size.directive.js +0 -33
  873. package/esm2015/directives/wrapper/wrapper.directive.js +0 -93
  874. package/esm2015/directives/wrapper/wrapper.module.js +0 -16
  875. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +0 -82
  876. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +0 -38
  877. package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +0 -52
  878. package/esm2015/internal/svg-defs-host/svg-defs-host.module.js +0 -19
  879. package/esm2015/observables/smart-search.js +0 -8
  880. package/esm2015/observables/zoneful-map.js +0 -14
  881. package/esm2015/pipes/calendar-sheet/calendar-sheet.module.js +0 -16
  882. package/esm2015/pipes/calendar-sheet/calendar-sheet.pipe.js +0 -57
  883. package/esm2015/pipes/flag/flag.module.js +0 -16
  884. package/esm2015/pipes/flag/flag.pipe.js +0 -46
  885. package/esm2015/pipes/format-date/format-date.module.js +0 -16
  886. package/esm2015/pipes/format-date/format-date.pipe.js +0 -24
  887. package/esm2015/pipes/format-number/format-number.module.js +0 -16
  888. package/esm2015/pipes/format-number/format-number.pipe.js +0 -28
  889. package/esm2015/pipes/format-phone/format-phone.module.js +0 -16
  890. package/esm2015/pipes/format-phone/format-phone.pipe.js +0 -25
  891. package/esm2015/pipes/month/month.module.js +0 -16
  892. package/esm2015/pipes/month/month.pipe.js +0 -23
  893. package/esm2015/pipes/order-week-days/order-week-days.module.js +0 -16
  894. package/esm2015/pipes/order-week-days/order-week-days.pipe.js +0 -34
  895. package/esm2015/providers/mode.provider.js +0 -17
  896. package/esm2015/providers/watched-controller-provider-factory.js +0 -7
  897. package/esm2015/services/breakpoint.service.js +0 -39
  898. package/esm2015/services/format-date.service.js +0 -26
  899. package/esm2015/services/hint.service.js +0 -28
  900. package/esm2015/services/night-theme.service.js +0 -24
  901. package/esm2015/services/position.service.js +0 -36
  902. package/esm2015/services/router-link-active.service.js +0 -42
  903. package/esm2015/services/svg.service.js +0 -70
  904. package/esm2015/services/visual-viewport.service.js +0 -35
  905. package/esm2015/tokens/is-mobile-resolution.js +0 -17
  906. package/esm2015/tokens/number-format-observable.js +0 -8
  907. package/esm2015/tokens/ordered-short-week-days.js +0 -27
  908. package/esm2015/tokens/reduced-motion.js +0 -8
  909. package/esm2015/tokens/selection-stream.js +0 -13
  910. package/esm2015/tokens/viewport.js +0 -29
  911. package/esm2015/utils/dom/process-icon.js +0 -31
  912. package/esm2015/utils/format/format-number.js +0 -40
  913. package/esm2015/utils/format/number-to-string-without-exp.js +0 -18
  914. package/esm2015/utils/mask/create-number-mask.js +0 -121
  915. package/esm2015/utils/miscellaneous/is-obscured.js +0 -9
  916. package/esm2015/utils/miscellaneous/override-options.js +0 -11
  917. package/fesm2015/taiga-ui-core-abstract.js +0 -142
  918. package/fesm2015/taiga-ui-core-abstract.js.map +0 -1
  919. package/fesm2015/taiga-ui-core-animations.js +0 -262
  920. package/fesm2015/taiga-ui-core-animations.js.map +0 -1
  921. package/fesm2015/taiga-ui-core-components-alert.js +0 -159
  922. package/fesm2015/taiga-ui-core-components-alert.js.map +0 -1
  923. package/fesm2015/taiga-ui-core-components-button.js +0 -168
  924. package/fesm2015/taiga-ui-core-components-button.js.map +0 -1
  925. package/fesm2015/taiga-ui-core-components-calendar.js +0 -179
  926. package/fesm2015/taiga-ui-core-components-calendar.js.map +0 -1
  927. package/fesm2015/taiga-ui-core-components-data-list.js +0 -312
  928. package/fesm2015/taiga-ui-core-components-data-list.js.map +0 -1
  929. package/fesm2015/taiga-ui-core-components-dialog.js +0 -251
  930. package/fesm2015/taiga-ui-core-components-dialog.js.map +0 -1
  931. package/fesm2015/taiga-ui-core-components-error.js +0 -79
  932. package/fesm2015/taiga-ui-core-components-error.js.map +0 -1
  933. package/fesm2015/taiga-ui-core-components-expand.js +0 -164
  934. package/fesm2015/taiga-ui-core-components-expand.js.map +0 -1
  935. package/fesm2015/taiga-ui-core-components-group.js +0 -106
  936. package/fesm2015/taiga-ui-core-components-group.js.map +0 -1
  937. package/fesm2015/taiga-ui-core-components-hints-host.js +0 -78
  938. package/fesm2015/taiga-ui-core-components-hints-host.js.map +0 -1
  939. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +0 -422
  940. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +0 -1
  941. package/fesm2015/taiga-ui-core-components-label.js +0 -66
  942. package/fesm2015/taiga-ui-core-components-label.js.map +0 -1
  943. package/fesm2015/taiga-ui-core-components-link.js +0 -124
  944. package/fesm2015/taiga-ui-core-components-link.js.map +0 -1
  945. package/fesm2015/taiga-ui-core-components-loader.js +0 -112
  946. package/fesm2015/taiga-ui-core-components-loader.js.map +0 -1
  947. package/fesm2015/taiga-ui-core-components-notification.js +0 -92
  948. package/fesm2015/taiga-ui-core-components-notification.js.map +0 -1
  949. package/fesm2015/taiga-ui-core-components-primitive-calendar.js +0 -208
  950. package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +0 -1
  951. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +0 -123
  952. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +0 -1
  953. package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +0 -114
  954. package/fesm2015/taiga-ui-core-components-primitive-spin-button.js.map +0 -1
  955. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +0 -542
  956. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +0 -1
  957. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +0 -202
  958. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +0 -1
  959. package/fesm2015/taiga-ui-core-components-root.js +0 -129
  960. package/fesm2015/taiga-ui-core-components-root.js.map +0 -1
  961. package/fesm2015/taiga-ui-core-components-scroll-controls.js +0 -237
  962. package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +0 -1
  963. package/fesm2015/taiga-ui-core-components-scrollbar.js +0 -164
  964. package/fesm2015/taiga-ui-core-components-scrollbar.js.map +0 -1
  965. package/fesm2015/taiga-ui-core-components-svg.js +0 -317
  966. package/fesm2015/taiga-ui-core-components-svg.js.map +0 -1
  967. package/fesm2015/taiga-ui-core-components-theme-night.js +0 -38
  968. package/fesm2015/taiga-ui-core-components-theme-night.js.map +0 -1
  969. package/fesm2015/taiga-ui-core-components-tooltip.js +0 -118
  970. package/fesm2015/taiga-ui-core-components-tooltip.js.map +0 -1
  971. package/fesm2015/taiga-ui-core-components.js +0 -30
  972. package/fesm2015/taiga-ui-core-components.js.map +0 -1
  973. package/fesm2015/taiga-ui-core-constants.js +0 -90
  974. package/fesm2015/taiga-ui-core-constants.js.map +0 -1
  975. package/fesm2015/taiga-ui-core-directives-dropdown.js +0 -975
  976. package/fesm2015/taiga-ui-core-directives-dropdown.js.map +0 -1
  977. package/fesm2015/taiga-ui-core-directives-hint.js +0 -753
  978. package/fesm2015/taiga-ui-core-directives-hint.js.map +0 -1
  979. package/fesm2015/taiga-ui-core-directives-mask-accessor.js +0 -53
  980. package/fesm2015/taiga-ui-core-directives-mask-accessor.js.map +0 -1
  981. package/fesm2015/taiga-ui-core-directives-mode.js +0 -41
  982. package/fesm2015/taiga-ui-core-directives-mode.js.map +0 -1
  983. package/fesm2015/taiga-ui-core-directives-number-format.js +0 -58
  984. package/fesm2015/taiga-ui-core-directives-number-format.js.map +0 -1
  985. package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +0 -71
  986. package/fesm2015/taiga-ui-core-directives-scroll-into-view.js.map +0 -1
  987. package/fesm2015/taiga-ui-core-directives-textfield-controller.js +0 -447
  988. package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +0 -1
  989. package/fesm2015/taiga-ui-core-directives-wrapper.js +0 -113
  990. package/fesm2015/taiga-ui-core-directives-wrapper.js.map +0 -1
  991. package/fesm2015/taiga-ui-core-directives.js +0 -13
  992. package/fesm2015/taiga-ui-core-directives.js.map +0 -1
  993. package/fesm2015/taiga-ui-core-enums.js +0 -68
  994. package/fesm2015/taiga-ui-core-enums.js.map +0 -1
  995. package/fesm2015/taiga-ui-core-interfaces.js +0 -4
  996. package/fesm2015/taiga-ui-core-interfaces.js.map +0 -1
  997. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +0 -123
  998. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js.map +0 -1
  999. package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +0 -73
  1000. package/fesm2015/taiga-ui-core-internal-svg-defs-host.js.map +0 -1
  1001. package/fesm2015/taiga-ui-core-internal.js +0 -7
  1002. package/fesm2015/taiga-ui-core-internal.js.map +0 -1
  1003. package/fesm2015/taiga-ui-core-mask.js +0 -4
  1004. package/fesm2015/taiga-ui-core-mask.js.map +0 -1
  1005. package/fesm2015/taiga-ui-core-observables.js +0 -27
  1006. package/fesm2015/taiga-ui-core-observables.js.map +0 -1
  1007. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +0 -109
  1008. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js.map +0 -1
  1009. package/fesm2015/taiga-ui-core-pipes-flag.js +0 -66
  1010. package/fesm2015/taiga-ui-core-pipes-flag.js.map +0 -1
  1011. package/fesm2015/taiga-ui-core-pipes-format-date.js +0 -44
  1012. package/fesm2015/taiga-ui-core-pipes-format-date.js.map +0 -1
  1013. package/fesm2015/taiga-ui-core-pipes-format-number.js +0 -48
  1014. package/fesm2015/taiga-ui-core-pipes-format-number.js.map +0 -1
  1015. package/fesm2015/taiga-ui-core-pipes-format-phone.js +0 -45
  1016. package/fesm2015/taiga-ui-core-pipes-format-phone.js.map +0 -1
  1017. package/fesm2015/taiga-ui-core-pipes-month.js +0 -43
  1018. package/fesm2015/taiga-ui-core-pipes-month.js.map +0 -1
  1019. package/fesm2015/taiga-ui-core-pipes-order-week-days.js +0 -54
  1020. package/fesm2015/taiga-ui-core-pipes-order-week-days.js.map +0 -1
  1021. package/fesm2015/taiga-ui-core-pipes.js +0 -12
  1022. package/fesm2015/taiga-ui-core-pipes.js.map +0 -1
  1023. package/fesm2015/taiga-ui-core-providers.js +0 -42
  1024. package/fesm2015/taiga-ui-core-providers.js.map +0 -1
  1025. package/fesm2015/taiga-ui-core-services.js +0 -274
  1026. package/fesm2015/taiga-ui-core-services.js.map +0 -1
  1027. package/fesm2015/taiga-ui-core-tokens.js +0 -331
  1028. package/fesm2015/taiga-ui-core-tokens.js.map +0 -1
  1029. package/fesm2015/taiga-ui-core-types.js +0 -16
  1030. package/fesm2015/taiga-ui-core-types.js.map +0 -1
  1031. package/fesm2015/taiga-ui-core-utils-dom.js +0 -160
  1032. package/fesm2015/taiga-ui-core-utils-dom.js.map +0 -1
  1033. package/fesm2015/taiga-ui-core-utils-format.js +0 -146
  1034. package/fesm2015/taiga-ui-core-utils-format.js.map +0 -1
  1035. package/fesm2015/taiga-ui-core-utils-mask.js +0 -284
  1036. package/fesm2015/taiga-ui-core-utils-mask.js.map +0 -1
  1037. package/fesm2015/taiga-ui-core-utils-miscellaneous.js +0 -89
  1038. package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +0 -1
  1039. package/fesm2015/taiga-ui-core-utils-mobile.js +0 -12
  1040. package/fesm2015/taiga-ui-core-utils-mobile.js.map +0 -1
  1041. package/fesm2015/taiga-ui-core-utils.js +0 -10
  1042. package/fesm2015/taiga-ui-core-utils.js.map +0 -1
  1043. package/fesm2015/taiga-ui-core.js +0 -21
  1044. package/fesm2015/taiga-ui-core.js.map +0 -1
  1045. package/interfaces/package.json +0 -10
  1046. package/interfaces/taiga-ui-core-interfaces.d.ts +0 -5
  1047. package/internal/package.json +0 -10
  1048. package/internal/primitive-year-month-pagination/package.json +0 -10
  1049. package/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.d.ts +0 -5
  1050. package/internal/svg-defs-host/package.json +0 -10
  1051. package/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.d.ts +0 -5
  1052. package/internal/taiga-ui-core-internal.d.ts +0 -5
  1053. package/mask/package.json +0 -10
  1054. package/mask/taiga-ui-core-mask.d.ts +0 -5
  1055. package/observables/package.json +0 -10
  1056. package/observables/taiga-ui-core-observables.d.ts +0 -5
  1057. package/pipes/calendar-sheet/package.json +0 -10
  1058. package/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.d.ts +0 -5
  1059. package/pipes/flag/package.json +0 -10
  1060. package/pipes/flag/taiga-ui-core-pipes-flag.d.ts +0 -5
  1061. package/pipes/format-date/package.json +0 -10
  1062. package/pipes/format-date/taiga-ui-core-pipes-format-date.d.ts +0 -5
  1063. package/pipes/format-number/package.json +0 -10
  1064. package/pipes/format-number/taiga-ui-core-pipes-format-number.d.ts +0 -5
  1065. package/pipes/format-phone/package.json +0 -10
  1066. package/pipes/format-phone/taiga-ui-core-pipes-format-phone.d.ts +0 -5
  1067. package/pipes/month/package.json +0 -10
  1068. package/pipes/month/taiga-ui-core-pipes-month.d.ts +0 -5
  1069. package/pipes/order-week-days/package.json +0 -10
  1070. package/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.d.ts +0 -5
  1071. package/pipes/package.json +0 -10
  1072. package/pipes/taiga-ui-core-pipes.d.ts +0 -5
  1073. package/providers/package.json +0 -10
  1074. package/providers/taiga-ui-core-providers.d.ts +0 -5
  1075. package/services/package.json +0 -10
  1076. package/services/taiga-ui-core-services.d.ts +0 -5
  1077. package/taiga-ui-core.d.ts +0 -5
  1078. package/tokens/package.json +0 -10
  1079. package/tokens/taiga-ui-core-tokens.d.ts +0 -5
  1080. package/types/package.json +0 -10
  1081. package/types/taiga-ui-core-types.d.ts +0 -5
  1082. package/utils/dom/package.json +0 -10
  1083. package/utils/dom/taiga-ui-core-utils-dom.d.ts +0 -5
  1084. package/utils/format/package.json +0 -10
  1085. package/utils/format/taiga-ui-core-utils-format.d.ts +0 -5
  1086. package/utils/mask/package.json +0 -10
  1087. package/utils/mask/taiga-ui-core-utils-mask.d.ts +0 -5
  1088. package/utils/miscellaneous/package.json +0 -10
  1089. package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.d.ts +0 -5
  1090. package/utils/mobile/package.json +0 -10
  1091. package/utils/mobile/taiga-ui-core-utils-mobile.d.ts +0 -5
  1092. package/utils/package.json +0 -10
  1093. package/utils/taiga-ui-core-utils.d.ts +0 -5
  1094. /package/{esm2015/abstract/driver.js → esm2020/abstract/driver.mjs} +0 -0
  1095. /package/{esm2015/abstract/index.js → esm2020/abstract/index.mjs} +0 -0
  1096. /package/{esm2015/abstract/position-accessor.js → esm2020/abstract/position-accessor.mjs} +0 -0
  1097. /package/{esm2015/abstract/taiga-ui-core-abstract.js → esm2020/abstract/taiga-ui-core-abstract.mjs} +0 -0
  1098. /package/{esm2015/abstract/vehicle.js → esm2020/abstract/vehicle.mjs} +0 -0
  1099. /package/{esm2015/animations/animations.js → esm2020/animations/animations.mjs} +0 -0
  1100. /package/{esm2015/animations/index.js → esm2020/animations/index.mjs} +0 -0
  1101. /package/{esm2015/animations/taiga-ui-core-animations.js → esm2020/animations/taiga-ui-core-animations.mjs} +0 -0
  1102. /package/{esm2015/components/alert/alert.providers.js → esm2020/components/alert/alert.providers.mjs} +0 -0
  1103. /package/{esm2015/components/alert/index.js → esm2020/components/alert/index.mjs} +0 -0
  1104. /package/{esm2015/components/alert/taiga-ui-core-components-alert.js → esm2020/components/alert/taiga-ui-core-components-alert.mjs} +0 -0
  1105. /package/{esm2015/components/button/button.options.js → esm2020/components/button/button.options.mjs} +0 -0
  1106. /package/{esm2015/components/button/index.js → esm2020/components/button/index.mjs} +0 -0
  1107. /package/{esm2015/components/button/taiga-ui-core-components-button.js → esm2020/components/button/taiga-ui-core-components-button.mjs} +0 -0
  1108. /package/{esm2015/components/calendar/index.js → esm2020/components/calendar/index.mjs} +0 -0
  1109. /package/{esm2015/components/calendar/taiga-ui-core-components-calendar.js → esm2020/components/calendar/taiga-ui-core-components-calendar.mjs} +0 -0
  1110. /package/{esm2015/components/data-list/index.js → esm2020/components/data-list/index.mjs} +0 -0
  1111. /package/{esm2015/components/data-list/taiga-ui-core-components-data-list.js → esm2020/components/data-list/taiga-ui-core-components-data-list.mjs} +0 -0
  1112. /package/{esm2015/components/dialog/dialog.tokens.js → esm2020/components/dialog/dialog.tokens.mjs} +0 -0
  1113. /package/{esm2015/components/dialog/index.js → esm2020/components/dialog/index.mjs} +0 -0
  1114. /package/{esm2015/components/dialog/taiga-ui-core-components-dialog.js → esm2020/components/dialog/taiga-ui-core-components-dialog.mjs} +0 -0
  1115. /package/{esm2015/components/error/index.js → esm2020/components/error/index.mjs} +0 -0
  1116. /package/{esm2015/components/error/taiga-ui-core-components-error.js → esm2020/components/error/taiga-ui-core-components-error.mjs} +0 -0
  1117. /package/{esm2015/components/expand/index.js → esm2020/components/expand/index.mjs} +0 -0
  1118. /package/{esm2015/components/expand/taiga-ui-core-components-expand.js → esm2020/components/expand/taiga-ui-core-components-expand.mjs} +0 -0
  1119. /package/{esm2015/components/group/index.js → esm2020/components/group/index.mjs} +0 -0
  1120. /package/{esm2015/components/group/taiga-ui-core-components-group.js → esm2020/components/group/taiga-ui-core-components-group.mjs} +0 -0
  1121. /package/{esm2015/components/hints-host/index.js → esm2020/components/hints-host/index.mjs} +0 -0
  1122. /package/{esm2015/components/hints-host/taiga-ui-core-components-hints-host.js → esm2020/components/hints-host/taiga-ui-core-components-hints-host.mjs} +0 -0
  1123. /package/{esm2015/components/hosted-dropdown/hosted-dropdown.token.js → esm2020/components/hosted-dropdown/hosted-dropdown.token.mjs} +0 -0
  1124. /package/{esm2015/components/hosted-dropdown/index.js → esm2020/components/hosted-dropdown/index.mjs} +0 -0
  1125. /package/{esm2015/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.js → esm2020/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.mjs} +0 -0
  1126. /package/{esm2015/components/index.js → esm2020/components/index.mjs} +0 -0
  1127. /package/{esm2015/components/label/index.js → esm2020/components/label/index.mjs} +0 -0
  1128. /package/{esm2015/components/label/taiga-ui-core-components-label.js → esm2020/components/label/taiga-ui-core-components-label.mjs} +0 -0
  1129. /package/{esm2015/components/link/index.js → esm2020/components/link/index.mjs} +0 -0
  1130. /package/{esm2015/components/link/taiga-ui-core-components-link.js → esm2020/components/link/taiga-ui-core-components-link.mjs} +0 -0
  1131. /package/{esm2015/components/loader/index.js → esm2020/components/loader/index.mjs} +0 -0
  1132. /package/{esm2015/components/loader/loader.options.js → esm2020/components/loader/loader.options.mjs} +0 -0
  1133. /package/{esm2015/components/loader/taiga-ui-core-components-loader.js → esm2020/components/loader/taiga-ui-core-components-loader.mjs} +0 -0
  1134. /package/{esm2015/components/notification/index.js → esm2020/components/notification/index.mjs} +0 -0
  1135. /package/{esm2015/components/notification/taiga-ui-core-components-notification.js → esm2020/components/notification/taiga-ui-core-components-notification.mjs} +0 -0
  1136. /package/{esm2015/components/primitive-calendar/index.js → esm2020/components/primitive-calendar/index.mjs} +0 -0
  1137. /package/{esm2015/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.js → esm2020/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.mjs} +0 -0
  1138. /package/{esm2015/components/primitive-checkbox/checkbox.options.js → esm2020/components/primitive-checkbox/checkbox.options.mjs} +0 -0
  1139. /package/{esm2015/components/primitive-checkbox/index.js → esm2020/components/primitive-checkbox/index.mjs} +0 -0
  1140. /package/{esm2015/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.js → esm2020/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.mjs} +0 -0
  1141. /package/{esm2015/components/primitive-spin-button/index.js → esm2020/components/primitive-spin-button/index.mjs} +0 -0
  1142. /package/{esm2015/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.js → esm2020/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.mjs} +0 -0
  1143. /package/{esm2015/components/primitive-textfield/index.js → esm2020/components/primitive-textfield/index.mjs} +0 -0
  1144. /package/{esm2015/components/primitive-textfield/primitive-textfield-options.js → esm2020/components/primitive-textfield/primitive-textfield-options.mjs} +0 -0
  1145. /package/{esm2015/components/primitive-textfield/primitive-textfield-types.js → esm2020/components/primitive-textfield/primitive-textfield-types.mjs} +0 -0
  1146. /package/{esm2015/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.js → esm2020/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.mjs} +0 -0
  1147. /package/{esm2015/components/primitive-year-picker/index.js → esm2020/components/primitive-year-picker/index.mjs} +0 -0
  1148. /package/{esm2015/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.js → esm2020/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.mjs} +0 -0
  1149. /package/{esm2015/components/root/index.js → esm2020/components/root/index.mjs} +0 -0
  1150. /package/{esm2015/components/root/taiga-ui-core-components-root.js → esm2020/components/root/taiga-ui-core-components-root.mjs} +0 -0
  1151. /package/{esm2015/components/scroll-controls/index.js → esm2020/components/scroll-controls/index.mjs} +0 -0
  1152. /package/{esm2015/components/scroll-controls/taiga-ui-core-components-scroll-controls.js → esm2020/components/scroll-controls/taiga-ui-core-components-scroll-controls.mjs} +0 -0
  1153. /package/{esm2015/components/scrollbar/index.js → esm2020/components/scrollbar/index.mjs} +0 -0
  1154. /package/{esm2015/components/scrollbar/taiga-ui-core-components-scrollbar.js → esm2020/components/scrollbar/taiga-ui-core-components-scrollbar.mjs} +0 -0
  1155. /package/{esm2015/components/svg/deprecated-icons.js → esm2020/components/svg/deprecated-icons.mjs} +0 -0
  1156. /package/{esm2015/components/svg/index.js → esm2020/components/svg/index.mjs} +0 -0
  1157. /package/{esm2015/components/svg/taiga-ui-core-components-svg.js → esm2020/components/svg/taiga-ui-core-components-svg.mjs} +0 -0
  1158. /package/{esm2015/components/taiga-ui-core-components.js → esm2020/components/taiga-ui-core-components.mjs} +0 -0
  1159. /package/{esm2015/components/theme-night/index.js → esm2020/components/theme-night/index.mjs} +0 -0
  1160. /package/{esm2015/components/theme-night/taiga-ui-core-components-theme-night.js → esm2020/components/theme-night/taiga-ui-core-components-theme-night.mjs} +0 -0
  1161. /package/{esm2015/components/tooltip/index.js → esm2020/components/tooltip/index.mjs} +0 -0
  1162. /package/{esm2015/components/tooltip/taiga-ui-core-components-tooltip.js → esm2020/components/tooltip/taiga-ui-core-components-tooltip.mjs} +0 -0
  1163. /package/{esm2015/constants/cache-basting-payload.js → esm2020/constants/cache-basting-payload.mjs} +0 -0
  1164. /package/{esm2015/constants/decimal-symbols.js → esm2020/constants/decimal-symbols.mjs} +0 -0
  1165. /package/{esm2015/constants/default-icons-path.js → esm2020/constants/default-icons-path.mjs} +0 -0
  1166. /package/{esm2015/constants/default-marker-handler.js → esm2020/constants/default-marker-handler.mjs} +0 -0
  1167. /package/{esm2015/constants/default-number-format.js → esm2020/constants/default-number-format.mjs} +0 -0
  1168. /package/{esm2015/constants/editing-keys.js → esm2020/constants/editing-keys.mjs} +0 -0
  1169. /package/{esm2015/constants/events.js → esm2020/constants/events.mjs} +0 -0
  1170. /package/{esm2015/constants/hint-directions.js → esm2020/constants/hint-directions.mjs} +0 -0
  1171. /package/{esm2015/constants/index.js → esm2020/constants/index.mjs} +0 -0
  1172. /package/{esm2015/constants/mask-caret-trap.js → esm2020/constants/mask-caret-trap.mjs} +0 -0
  1173. /package/{esm2015/constants/regexp.js → esm2020/constants/regexp.mjs} +0 -0
  1174. /package/{esm2015/constants/taiga-ui-core-constants.js → esm2020/constants/taiga-ui-core-constants.mjs} +0 -0
  1175. /package/{esm2015/directives/dropdown/dropdown-hover.options.js → esm2020/directives/dropdown/dropdown-hover.options.mjs} +0 -0
  1176. /package/{esm2015/directives/dropdown/dropdown.providers.js → esm2020/directives/dropdown/dropdown.providers.mjs} +0 -0
  1177. /package/{esm2015/directives/dropdown/index.js → esm2020/directives/dropdown/index.mjs} +0 -0
  1178. /package/{esm2015/directives/dropdown/taiga-ui-core-directives-dropdown.js → esm2020/directives/dropdown/taiga-ui-core-directives-dropdown.mjs} +0 -0
  1179. /package/{esm2015/directives/hint/hint.providers.js → esm2020/directives/hint/hint.providers.mjs} +0 -0
  1180. /package/{esm2015/directives/hint/index.js → esm2020/directives/hint/index.mjs} +0 -0
  1181. /package/{esm2015/directives/hint/taiga-ui-core-directives-hint.js → esm2020/directives/hint/taiga-ui-core-directives-hint.mjs} +0 -0
  1182. /package/{esm2015/directives/index.js → esm2020/directives/index.mjs} +0 -0
  1183. /package/{esm2015/directives/mask-accessor/index.js → esm2020/directives/mask-accessor/index.mjs} +0 -0
  1184. /package/{esm2015/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.js → esm2020/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.mjs} +0 -0
  1185. /package/{esm2015/directives/mode/index.js → esm2020/directives/mode/index.mjs} +0 -0
  1186. /package/{esm2015/directives/mode/taiga-ui-core-directives-mode.js → esm2020/directives/mode/taiga-ui-core-directives-mode.mjs} +0 -0
  1187. /package/{esm2015/directives/number-format/index.js → esm2020/directives/number-format/index.mjs} +0 -0
  1188. /package/{esm2015/directives/number-format/taiga-ui-core-directives-number-format.js → esm2020/directives/number-format/taiga-ui-core-directives-number-format.mjs} +0 -0
  1189. /package/{esm2015/directives/scroll-into-view/index.js → esm2020/directives/scroll-into-view/index.mjs} +0 -0
  1190. /package/{esm2015/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.js → esm2020/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.mjs} +0 -0
  1191. /package/{esm2015/directives/taiga-ui-core-directives.js → esm2020/directives/taiga-ui-core-directives.mjs} +0 -0
  1192. /package/{esm2015/directives/textfield-controller/index.js → esm2020/directives/textfield-controller/index.mjs} +0 -0
  1193. /package/{esm2015/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.js → esm2020/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.mjs} +0 -0
  1194. /package/{esm2015/directives/textfield-controller/textfield.controller.js → esm2020/directives/textfield-controller/textfield.controller.mjs} +0 -0
  1195. /package/{esm2015/directives/textfield-controller/textfield.options.js → esm2020/directives/textfield-controller/textfield.options.mjs} +0 -0
  1196. /package/{esm2015/directives/wrapper/index.js → esm2020/directives/wrapper/index.mjs} +0 -0
  1197. /package/{esm2015/directives/wrapper/taiga-ui-core-directives-wrapper.js → esm2020/directives/wrapper/taiga-ui-core-directives-wrapper.mjs} +0 -0
  1198. /package/{esm2015/enums/appearance.js → esm2020/enums/appearance.mjs} +0 -0
  1199. /package/{esm2015/enums/dropdown-animation.js → esm2020/enums/dropdown-animation.mjs} +0 -0
  1200. /package/{esm2015/enums/index.js → esm2020/enums/index.mjs} +0 -0
  1201. /package/{esm2015/enums/interactive-state.js → esm2020/enums/interactive-state.mjs} +0 -0
  1202. /package/{esm2015/enums/notification.js → esm2020/enums/notification.mjs} +0 -0
  1203. /package/{esm2015/enums/range-state.js → esm2020/enums/range-state.mjs} +0 -0
  1204. /package/{esm2015/enums/taiga-ui-core-enums.js → esm2020/enums/taiga-ui-core-enums.mjs} +0 -0
  1205. /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  1206. /package/{esm2015/interfaces/alert-options.js → esm2020/interfaces/alert-options.mjs} +0 -0
  1207. /package/{esm2015/interfaces/animation-options.js → esm2020/interfaces/animation-options.mjs} +0 -0
  1208. /package/{esm2015/interfaces/data-list-accessor.js → esm2020/interfaces/data-list-accessor.mjs} +0 -0
  1209. /package/{esm2015/interfaces/data-list-host.js → esm2020/interfaces/data-list-host.mjs} +0 -0
  1210. /package/{esm2015/interfaces/dialog-context.js → esm2020/interfaces/dialog-context.mjs} +0 -0
  1211. /package/{esm2015/interfaces/dialog-options.js → esm2020/interfaces/dialog-options.mjs} +0 -0
  1212. /package/{esm2015/interfaces/icon-error.js → esm2020/interfaces/icon-error.mjs} +0 -0
  1213. /package/{esm2015/interfaces/index.js → esm2020/interfaces/index.mjs} +0 -0
  1214. /package/{esm2015/interfaces/media.js → esm2020/interfaces/media.mjs} +0 -0
  1215. /package/{esm2015/interfaces/number-format-settings.js → esm2020/interfaces/number-format-settings.mjs} +0 -0
  1216. /package/{esm2015/interfaces/portal-item.js → esm2020/interfaces/portal-item.mjs} +0 -0
  1217. /package/{esm2015/interfaces/taiga-ui-core-interfaces.js → esm2020/interfaces/taiga-ui-core-interfaces.mjs} +0 -0
  1218. /package/{esm2015/interfaces/textfield-host.js → esm2020/interfaces/textfield-host.mjs} +0 -0
  1219. /package/{esm2015/interfaces/value-content-context.js → esm2020/interfaces/value-content-context.mjs} +0 -0
  1220. /package/{esm2015/interfaces/with-optional-min-max.js → esm2020/interfaces/with-optional-min-max.mjs} +0 -0
  1221. /package/{esm2015/internal/index.js → esm2020/internal/index.mjs} +0 -0
  1222. /package/{esm2015/internal/primitive-year-month-pagination/index.js → esm2020/internal/primitive-year-month-pagination/index.mjs} +0 -0
  1223. /package/{esm2015/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.js → esm2020/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.mjs} +0 -0
  1224. /package/{esm2015/internal/svg-defs-host/index.js → esm2020/internal/svg-defs-host/index.mjs} +0 -0
  1225. /package/{esm2015/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.js → esm2020/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.mjs} +0 -0
  1226. /package/{esm2015/internal/taiga-ui-core-internal.js → esm2020/internal/taiga-ui-core-internal.mjs} +0 -0
  1227. /package/{esm2015/mask/index.js → esm2020/mask/index.mjs} +0 -0
  1228. /package/{esm2015/mask/number-mask-options.js → esm2020/mask/number-mask-options.mjs} +0 -0
  1229. /package/{esm2015/mask/taiga-ui-core-mask.js → esm2020/mask/taiga-ui-core-mask.mjs} +0 -0
  1230. /package/{esm2015/mask/text-mask-config.js → esm2020/mask/text-mask-config.mjs} +0 -0
  1231. /package/{esm2015/mask/text-mask-correction-handler.js → esm2020/mask/text-mask-correction-handler.mjs} +0 -0
  1232. /package/{esm2015/mask/text-mask-list-handler.js → esm2020/mask/text-mask-list-handler.mjs} +0 -0
  1233. /package/{esm2015/mask/text-mask-list.js → esm2020/mask/text-mask-list.mjs} +0 -0
  1234. /package/{esm2015/mask/text-mask-options.js → esm2020/mask/text-mask-options.mjs} +0 -0
  1235. /package/{esm2015/mask/text-mask-pipe-handler.js → esm2020/mask/text-mask-pipe-handler.mjs} +0 -0
  1236. /package/{esm2015/mask/text-mask-pipe-result.js → esm2020/mask/text-mask-pipe-result.mjs} +0 -0
  1237. /package/{esm2015/observables/index.js → esm2020/observables/index.mjs} +0 -0
  1238. /package/{esm2015/observables/taiga-ui-core-observables.js → esm2020/observables/taiga-ui-core-observables.mjs} +0 -0
  1239. /package/{esm2015/pipes/calendar-sheet/index.js → esm2020/pipes/calendar-sheet/index.mjs} +0 -0
  1240. /package/{esm2015/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.js → esm2020/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs} +0 -0
  1241. /package/{esm2015/pipes/calendar-sheet/utils.js → esm2020/pipes/calendar-sheet/utils.mjs} +0 -0
  1242. /package/{esm2015/pipes/flag/index.js → esm2020/pipes/flag/index.mjs} +0 -0
  1243. /package/{esm2015/pipes/flag/taiga-ui-core-pipes-flag.js → esm2020/pipes/flag/taiga-ui-core-pipes-flag.mjs} +0 -0
  1244. /package/{esm2015/pipes/format-date/index.js → esm2020/pipes/format-date/index.mjs} +0 -0
  1245. /package/{esm2015/pipes/format-date/taiga-ui-core-pipes-format-date.js → esm2020/pipes/format-date/taiga-ui-core-pipes-format-date.mjs} +0 -0
  1246. /package/{esm2015/pipes/format-number/index.js → esm2020/pipes/format-number/index.mjs} +0 -0
  1247. /package/{esm2015/pipes/format-number/taiga-ui-core-pipes-format-number.js → esm2020/pipes/format-number/taiga-ui-core-pipes-format-number.mjs} +0 -0
  1248. /package/{esm2015/pipes/format-phone/index.js → esm2020/pipes/format-phone/index.mjs} +0 -0
  1249. /package/{esm2015/pipes/format-phone/taiga-ui-core-pipes-format-phone.js → esm2020/pipes/format-phone/taiga-ui-core-pipes-format-phone.mjs} +0 -0
  1250. /package/{esm2015/pipes/index.js → esm2020/pipes/index.mjs} +0 -0
  1251. /package/{esm2015/pipes/month/index.js → esm2020/pipes/month/index.mjs} +0 -0
  1252. /package/{esm2015/pipes/month/taiga-ui-core-pipes-month.js → esm2020/pipes/month/taiga-ui-core-pipes-month.mjs} +0 -0
  1253. /package/{esm2015/pipes/order-week-days/index.js → esm2020/pipes/order-week-days/index.mjs} +0 -0
  1254. /package/{esm2015/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.js → esm2020/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs} +0 -0
  1255. /package/{esm2015/pipes/taiga-ui-core-pipes.js → esm2020/pipes/taiga-ui-core-pipes.mjs} +0 -0
  1256. /package/{esm2015/providers/index.js → esm2020/providers/index.mjs} +0 -0
  1257. /package/{esm2015/providers/is-mobile-resolution.provider.js → esm2020/providers/is-mobile-resolution.provider.mjs} +0 -0
  1258. /package/{esm2015/providers/taiga-ui-core-providers.js → esm2020/providers/taiga-ui-core-providers.mjs} +0 -0
  1259. /package/{esm2015/services/index.js → esm2020/services/index.mjs} +0 -0
  1260. /package/{esm2015/services/taiga-ui-core-services.js → esm2020/services/taiga-ui-core-services.mjs} +0 -0
  1261. /package/{esm2015/taiga-ui-core.js → esm2020/taiga-ui-core.mjs} +0 -0
  1262. /package/{esm2015/tokens/animation-options.js → esm2020/tokens/animation-options.mjs} +0 -0
  1263. /package/{esm2015/tokens/animations-duration.js → esm2020/tokens/animations-duration.mjs} +0 -0
  1264. /package/{esm2015/tokens/assert-enabled.js → esm2020/tokens/assert-enabled.mjs} +0 -0
  1265. /package/{esm2015/tokens/common-icon.js → esm2020/tokens/common-icon.mjs} +0 -0
  1266. /package/{esm2015/tokens/data-list-accessor.js → esm2020/tokens/data-list-accessor.mjs} +0 -0
  1267. /package/{esm2015/tokens/data-list-host.js → esm2020/tokens/data-list-host.mjs} +0 -0
  1268. /package/{esm2015/tokens/day-type-handler.js → esm2020/tokens/day-type-handler.mjs} +0 -0
  1269. /package/{esm2015/tokens/document-or-shadow-root.js → esm2020/tokens/document-or-shadow-root.mjs} +0 -0
  1270. /package/{esm2015/tokens/element-ref.js → esm2020/tokens/element-ref.mjs} +0 -0
  1271. /package/{esm2015/tokens/first-day-of-week.js → esm2020/tokens/first-day-of-week.mjs} +0 -0
  1272. /package/{esm2015/tokens/i18n.js → esm2020/tokens/i18n.mjs} +0 -0
  1273. /package/{esm2015/tokens/icon-place.js → esm2020/tokens/icon-place.mjs} +0 -0
  1274. /package/{esm2015/tokens/icons-path.js → esm2020/tokens/icons-path.mjs} +0 -0
  1275. /package/{esm2015/tokens/icons.js → esm2020/tokens/icons.mjs} +0 -0
  1276. /package/{esm2015/tokens/index.js → esm2020/tokens/index.mjs} +0 -0
  1277. /package/{esm2015/tokens/legacy-mask.js → esm2020/tokens/legacy-mask.mjs} +0 -0
  1278. /package/{esm2015/tokens/media.js → esm2020/tokens/media.mjs} +0 -0
  1279. /package/{esm2015/tokens/mode.js → esm2020/tokens/mode.mjs} +0 -0
  1280. /package/{esm2015/tokens/notification-options.js → esm2020/tokens/notification-options.mjs} +0 -0
  1281. /package/{esm2015/tokens/number-format.js → esm2020/tokens/number-format.mjs} +0 -0
  1282. /package/{esm2015/tokens/option-content.js → esm2020/tokens/option-content.mjs} +0 -0
  1283. /package/{esm2015/tokens/sanitizer.js → esm2020/tokens/sanitizer.mjs} +0 -0
  1284. /package/{esm2015/tokens/scroll-ref.js → esm2020/tokens/scroll-ref.mjs} +0 -0
  1285. /package/{esm2015/tokens/spin-icons.js → esm2020/tokens/spin-icons.mjs} +0 -0
  1286. /package/{esm2015/tokens/svg-content-processor.js → esm2020/tokens/svg-content-processor.mjs} +0 -0
  1287. /package/{esm2015/tokens/svg-src-processor.js → esm2020/tokens/svg-src-processor.mjs} +0 -0
  1288. /package/{esm2015/tokens/taiga-ui-core-tokens.js → esm2020/tokens/taiga-ui-core-tokens.mjs} +0 -0
  1289. /package/{esm2015/tokens/textfield-appearance.js → esm2020/tokens/textfield-appearance.mjs} +0 -0
  1290. /package/{esm2015/tokens/textfield-host.js → esm2020/tokens/textfield-host.mjs} +0 -0
  1291. /package/{esm2015/tokens/theme.js → esm2020/tokens/theme.mjs} +0 -0
  1292. /package/{esm2015/tokens/value-accessor.js → esm2020/tokens/value-accessor.mjs} +0 -0
  1293. /package/{esm2015/types/brightness.js → esm2020/types/brightness.mjs} +0 -0
  1294. /package/{esm2015/types/calendar-view.js → esm2020/types/calendar-view.mjs} +0 -0
  1295. /package/{esm2015/types/data-list-role.js → esm2020/types/data-list-role.mjs} +0 -0
  1296. /package/{esm2015/types/decimal-symbol.js → esm2020/types/decimal-symbol.mjs} +0 -0
  1297. /package/{esm2015/types/decimal.js → esm2020/types/decimal.mjs} +0 -0
  1298. /package/{esm2015/types/dialog-size.js → esm2020/types/dialog-size.mjs} +0 -0
  1299. /package/{esm2015/types/direction.js → esm2020/types/direction.mjs} +0 -0
  1300. /package/{esm2015/types/dropdown-align.js → esm2020/types/dropdown-align.mjs} +0 -0
  1301. /package/{esm2015/types/dropdown-width.js → esm2020/types/dropdown-width.mjs} +0 -0
  1302. /package/{esm2015/types/hint-direction.js → esm2020/types/hint-direction.mjs} +0 -0
  1303. /package/{esm2015/types/index.js → esm2020/types/index.mjs} +0 -0
  1304. /package/{esm2015/types/marker-handler.js → esm2020/types/marker-handler.mjs} +0 -0
  1305. /package/{esm2015/types/notification.js → esm2020/types/notification.mjs} +0 -0
  1306. /package/{esm2015/types/option-role.js → esm2020/types/option-role.mjs} +0 -0
  1307. /package/{esm2015/types/orientation.js → esm2020/types/orientation.mjs} +0 -0
  1308. /package/{esm2015/types/point.js → esm2020/types/point.mjs} +0 -0
  1309. /package/{esm2015/types/size.js → esm2020/types/size.mjs} +0 -0
  1310. /package/{esm2015/types/taiga-ui-core-types.js → esm2020/types/taiga-ui-core-types.mjs} +0 -0
  1311. /package/{esm2015/utils/dom/check-fixed-position.js → esm2020/utils/dom/check-fixed-position.mjs} +0 -0
  1312. /package/{esm2015/utils/dom/get-safe-area-size.js → esm2020/utils/dom/get-safe-area-size.mjs} +0 -0
  1313. /package/{esm2015/utils/dom/get-screen-width.js → esm2020/utils/dom/get-screen-width.mjs} +0 -0
  1314. /package/{esm2015/utils/dom/get-viewport-height.js → esm2020/utils/dom/get-viewport-height.mjs} +0 -0
  1315. /package/{esm2015/utils/dom/get-viewport-width.js → esm2020/utils/dom/get-viewport-width.mjs} +0 -0
  1316. /package/{esm2015/utils/dom/get-word-range.js → esm2020/utils/dom/get-word-range.mjs} +0 -0
  1317. /package/{esm2015/utils/dom/index.js → esm2020/utils/dom/index.mjs} +0 -0
  1318. /package/{esm2015/utils/dom/taiga-ui-core-utils-dom.js → esm2020/utils/dom/taiga-ui-core-utils-dom.mjs} +0 -0
  1319. /package/{esm2015/utils/format/capitalize-first-letter.js → esm2020/utils/format/capitalize-first-letter.mjs} +0 -0
  1320. /package/{esm2015/utils/format/capitalize.js → esm2020/utils/format/capitalize.mjs} +0 -0
  1321. /package/{esm2015/utils/format/format-phone.js → esm2020/utils/format/format-phone.mjs} +0 -0
  1322. /package/{esm2015/utils/format/get-fractional-part-padded.js → esm2020/utils/format/get-fractional-part-padded.mjs} +0 -0
  1323. /package/{esm2015/utils/format/index.js → esm2020/utils/format/index.mjs} +0 -0
  1324. /package/{esm2015/utils/format/other-decimal-symbol.js → esm2020/utils/format/other-decimal-symbol.mjs} +0 -0
  1325. /package/{esm2015/utils/format/taiga-ui-core-utils-format.js → esm2020/utils/format/taiga-ui-core-utils-format.mjs} +0 -0
  1326. /package/{esm2015/utils/index.js → esm2020/utils/index.mjs} +0 -0
  1327. /package/{esm2015/utils/mask/create-auto-corrected-money-pipe.js → esm2020/utils/mask/create-auto-corrected-money-pipe.mjs} +0 -0
  1328. /package/{esm2015/utils/mask/create-correction-mask.js → esm2020/utils/mask/create-correction-mask.mjs} +0 -0
  1329. /package/{esm2015/utils/mask/enable-auto-correct-decimal-symbol.js → esm2020/utils/mask/enable-auto-correct-decimal-symbol.mjs} +0 -0
  1330. /package/{esm2015/utils/mask/index.js → esm2020/utils/mask/index.mjs} +0 -0
  1331. /package/{esm2015/utils/mask/masked-money-value-is-empty.js → esm2020/utils/mask/masked-money-value-is-empty.mjs} +0 -0
  1332. /package/{esm2015/utils/mask/masked-number-string-to-number.js → esm2020/utils/mask/masked-number-string-to-number.mjs} +0 -0
  1333. /package/{esm2015/utils/mask/taiga-ui-core-utils-mask.js → esm2020/utils/mask/taiga-ui-core-utils-mask.mjs} +0 -0
  1334. /package/{esm2015/utils/miscellaneous/get-border.js → esm2020/utils/miscellaneous/get-border.mjs} +0 -0
  1335. /package/{esm2015/utils/miscellaneous/icons-path-factory.js → esm2020/utils/miscellaneous/icons-path-factory.mjs} +0 -0
  1336. /package/{esm2015/utils/miscellaneous/index.js → esm2020/utils/miscellaneous/index.mjs} +0 -0
  1337. /package/{esm2015/utils/miscellaneous/is-editing-key.js → esm2020/utils/miscellaneous/is-editing-key.mjs} +0 -0
  1338. /package/{esm2015/utils/miscellaneous/is-presumed-html-string.js → esm2020/utils/miscellaneous/is-presumed-html-string.mjs} +0 -0
  1339. /package/{esm2015/utils/miscellaneous/size-bigger.js → esm2020/utils/miscellaneous/size-bigger.mjs} +0 -0
  1340. /package/{esm2015/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.js → esm2020/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs} +0 -0
  1341. /package/{esm2015/utils/mobile/index.js → esm2020/utils/mobile/index.mjs} +0 -0
  1342. /package/{esm2015/utils/mobile/is-mobile.js → esm2020/utils/mobile/is-mobile.mjs} +0 -0
  1343. /package/{esm2015/utils/mobile/taiga-ui-core-utils-mobile.js → esm2020/utils/mobile/taiga-ui-core-utils-mobile.mjs} +0 -0
  1344. /package/{esm2015/utils/taiga-ui-core-utils.js → esm2020/utils/taiga-ui-core-utils.mjs} +0 -0
@@ -0,0 +1,201 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Component, ChangeDetectionStrategy, Inject, Input, Output, HostBinding, NgModule } from '@angular/core';
3
+ import * as i2 from '@taiga-ui/cdk';
4
+ import { TuiDay, TuiMonth, ALWAYS_FALSE_HANDLER, TuiDayRange, tuiNullableSame, TuiLetModule, TuiMapperPipeModule, TuiRepeatTimesModule, TuiHoveredModule, TuiPressedModule } from '@taiga-ui/cdk';
5
+ import { TUI_DEFAULT_MARKER_HANDLER } from '@taiga-ui/core/constants';
6
+ import { TuiInteractiveState, TuiRangeState } from '@taiga-ui/core/enums';
7
+ import { TUI_SHORT_WEEK_DAYS, TUI_DAY_TYPE_HANDLER } from '@taiga-ui/core/tokens';
8
+ import * as i1 from '@angular/common';
9
+ import { CommonModule } from '@angular/common';
10
+ import * as i3 from '@taiga-ui/core/pipes';
11
+ import { TuiCalendarSheetPipeModule, TuiOrderWeekDaysPipeModule } from '@taiga-ui/core/pipes';
12
+
13
+ class TuiPrimitiveCalendarComponent {
14
+ constructor(unorderedWeekDays$, dayTypeHandler) {
15
+ this.unorderedWeekDays$ = unorderedWeekDays$;
16
+ this.dayTypeHandler = dayTypeHandler;
17
+ this.pressedItem = null;
18
+ this.today = TuiDay.currentLocal();
19
+ this.month = TuiMonth.currentLocal();
20
+ this.disabledItemHandler = ALWAYS_FALSE_HANDLER;
21
+ this.markerHandler = TUI_DEFAULT_MARKER_HANDLER;
22
+ this.value = null;
23
+ this.hoveredItem = null;
24
+ this.showAdjacent = true;
25
+ this.hoveredItemChange = new EventEmitter();
26
+ this.dayClick = new EventEmitter();
27
+ this.toMarkers = (day, today, inRange) => {
28
+ if (today || inRange) {
29
+ return null;
30
+ }
31
+ const markers = this.markerHandler(day);
32
+ return markers.length === 0 ? null : markers;
33
+ };
34
+ }
35
+ get isSingleDayRange() {
36
+ return this.value instanceof TuiDayRange && this.value.isSingleDay;
37
+ }
38
+ /**
39
+ * @deprecated: use {@link this.isSingleDayRange}
40
+ */
41
+ get isSingle() {
42
+ return this.isSingleDayRange;
43
+ }
44
+ getItemState(item) {
45
+ const { disabledItemHandler, pressedItem, hoveredItem } = this;
46
+ if (disabledItemHandler(item)) {
47
+ return TuiInteractiveState.Disabled;
48
+ }
49
+ if (pressedItem?.daySame(item)) {
50
+ return TuiInteractiveState.Active;
51
+ }
52
+ if (hoveredItem?.daySame(item)) {
53
+ return TuiInteractiveState.Hover;
54
+ }
55
+ return null;
56
+ }
57
+ getItemRange(item) {
58
+ const { value, hoveredItem } = this;
59
+ if (!value) {
60
+ return null;
61
+ }
62
+ if (value instanceof TuiDay) {
63
+ return value.daySame(item) ? TuiRangeState.Single : null;
64
+ }
65
+ if (!(value instanceof TuiDayRange)) {
66
+ return value.find(day => day.daySame(item)) ? TuiRangeState.Single : null;
67
+ }
68
+ if ((value.from.daySame(item) && !value.isSingleDay) ||
69
+ (hoveredItem?.dayAfter(value.from) &&
70
+ value.from.daySame(item) &&
71
+ value.isSingleDay) ||
72
+ (hoveredItem?.daySame(item) &&
73
+ hoveredItem.dayBefore(value.from) &&
74
+ value.isSingleDay)) {
75
+ return TuiRangeState.Start;
76
+ }
77
+ if ((value.to.daySame(item) && !value.isSingleDay) ||
78
+ (hoveredItem?.dayBefore(value.from) &&
79
+ value.from.daySame(item) &&
80
+ value.isSingleDay) ||
81
+ (hoveredItem?.daySame(item) &&
82
+ hoveredItem.dayAfter(value.from) &&
83
+ value.isSingleDay)) {
84
+ return TuiRangeState.End;
85
+ }
86
+ return value.isSingleDay && value.from.daySame(item)
87
+ ? TuiRangeState.Single
88
+ : null;
89
+ }
90
+ itemIsToday(item) {
91
+ return this.today.daySame(item);
92
+ }
93
+ itemIsUnavailable(item) {
94
+ return !this.month.monthSame(item);
95
+ }
96
+ itemIsInterval(day) {
97
+ const { value, hoveredItem } = this;
98
+ if (!(value instanceof TuiDayRange)) {
99
+ return false;
100
+ }
101
+ if (!value.isSingleDay) {
102
+ return value.from.daySameOrBefore(day) && value.to.dayAfter(day);
103
+ }
104
+ if (hoveredItem === null) {
105
+ return false;
106
+ }
107
+ const range = TuiDayRange.sort(value.from, hoveredItem);
108
+ return range.from.daySameOrBefore(day) && range.to.dayAfter(day);
109
+ }
110
+ onItemHovered(item) {
111
+ this.updateHoveredItem(item || null);
112
+ }
113
+ onItemPressed(item) {
114
+ this.pressedItem = item || null;
115
+ }
116
+ onItemClick(item) {
117
+ this.dayClick.emit(item);
118
+ }
119
+ updateHoveredItem(day) {
120
+ if (tuiNullableSame(this.hoveredItem, day, (a, b) => a.daySame(b))) {
121
+ return;
122
+ }
123
+ this.hoveredItem = day;
124
+ this.hoveredItemChange.emit(day);
125
+ }
126
+ }
127
+ TuiPrimitiveCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCalendarComponent, deps: [{ token: TUI_SHORT_WEEK_DAYS }, { token: TUI_DAY_TYPE_HANDLER }], target: i0.ɵɵFactoryTarget.Component });
128
+ TuiPrimitiveCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiPrimitiveCalendarComponent, selector: "tui-primitive-calendar", inputs: { month: "month", disabledItemHandler: "disabledItemHandler", markerHandler: "markerHandler", value: "value", hoveredItem: "hoveredItem", showAdjacent: "showAdjacent" }, outputs: { hoveredItemChange: "hoveredItemChange", dayClick: "dayClick" }, host: { properties: { "class._single": "this.isSingleDayRange" } }, ngImport: i0, template: "<div class=\"t-row t-row_weekday\">\n <div\n *ngFor=\"let day of unorderedWeekDays$ | tuiOrderWeekDays | async\"\n class=\"t-cell\"\n [textContent]=\"day\"\n ></div>\n</div>\n<div\n *tuiLet=\"month | tuiCalendarSheet: true as sheet\"\n id=\"date-rows\"\n>\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 [attr.data-range]=\"getItemRange(item)\"\n [attr.data-state]=\"getItemState(item)\"\n [class.t-cell_interval]=\"itemIsInterval(item)\"\n [class.t-cell_today]=\"itemIsToday(item)\"\n [class.t-cell_unavailable]=\"itemIsUnavailable(item)\"\n (click)=\"onItemClick(item)\"\n (tuiHoveredChange)=\"onItemHovered($event && item)\"\n (tuiPressedChange)=\"onItemPressed($event && item)\"\n >\n <div\n automation-id=\"tui-primitive-calendar__item\"\n class=\"t-item\"\n [attr.data-type]=\"item | tuiMapper: dayTypeHandler\"\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 [style.backgroundColor]=\"markers?.[0]\"\n ></div>\n <div\n *ngIf=\"markers.length > 1\"\n class=\"t-dot\"\n [style.backgroundColor]=\"markers?.[1] || ''\"\n ></div>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n</div>\n", styles: [":host{display:block;font:var(--tui-font-text-m)}.t-row{position:relative;display:flex;justify-content:space-between;height:2.25rem;isolation:isolate}.t-item{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item:before,.t-item:after{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-item:after{border-radius:.5rem}.t-cell{position:relative;display:flex;align-items:center;justify-content:center;width:2.25rem;text-align:center;outline:none;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:.125rem 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%);content:\"\";bottom:.3125rem;height:.125rem;width:.75rem;border-radius:.375rem;background-color:var(--tui-text-01)}.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:-.25rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell_interval:not([data-range=\"start\"]):not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.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:before,.t-cell[data-range]>.t-item:after{background-color:var(--tui-primary)}.t-cell[data-range][data-state=hover]>.t-item:before,.t-cell[data-range][data-state=hover]>.t-item:after{background-color:var(--tui-primary-hover)}.t-cell[data-range][data-state=active]>.t-item:before,.t-cell[data-range][data-state=active]>.t-item:after{background-color:var(--tui-primary-active)}.t-cell[data-range=end]:before{background:var(--tui-base-02)}:host._single .t-cell[data-range=end]:before{background:var(--tui-secondary-hover)}.t-cell[data-range=end]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]>.t-item:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]>.t-item:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start]>.t-item:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start]>.t-item:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single]>.t-item:after{display:none}.t-cell[data-state=disabled]{pointer-events:none}.t-cell[data-state=disabled]>.t-item{opacity:.36}.t-cell[data-state=hover]:hover:not([data-range])>.t-item{background-color:var(--tui-secondary-hover)}.t-cell[data-state=active]: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-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}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.TuiLetDirective, selector: "[tuiLet]", inputs: ["tuiLet"] }, { kind: "directive", type: i2.TuiRepeatTimesDirective, selector: "[tuiRepeatTimes][tuiRepeatTimesOf]", inputs: ["tuiRepeatTimesOf"] }, { kind: "directive", type: i2.TuiHoveredDirective, selector: "[tuiHoveredChange]", outputs: ["tuiHoveredChange"] }, { kind: "directive", type: i2.TuiPressedDirective, selector: "[tuiPressedChange]", outputs: ["tuiPressedChange"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TuiMapperPipe, name: "tuiMapper" }, { kind: "pipe", type: i3.TuiCalendarSheetPipe, name: "tuiCalendarSheet" }, { kind: "pipe", type: i3.TuiOrderWeekDaysPipe, name: "tuiOrderWeekDays" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
129
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCalendarComponent, decorators: [{
130
+ type: Component,
131
+ args: [{ selector: 'tui-primitive-calendar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"t-row t-row_weekday\">\n <div\n *ngFor=\"let day of unorderedWeekDays$ | tuiOrderWeekDays | async\"\n class=\"t-cell\"\n [textContent]=\"day\"\n ></div>\n</div>\n<div\n *tuiLet=\"month | tuiCalendarSheet: true as sheet\"\n id=\"date-rows\"\n>\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 [attr.data-range]=\"getItemRange(item)\"\n [attr.data-state]=\"getItemState(item)\"\n [class.t-cell_interval]=\"itemIsInterval(item)\"\n [class.t-cell_today]=\"itemIsToday(item)\"\n [class.t-cell_unavailable]=\"itemIsUnavailable(item)\"\n (click)=\"onItemClick(item)\"\n (tuiHoveredChange)=\"onItemHovered($event && item)\"\n (tuiPressedChange)=\"onItemPressed($event && item)\"\n >\n <div\n automation-id=\"tui-primitive-calendar__item\"\n class=\"t-item\"\n [attr.data-type]=\"item | tuiMapper: dayTypeHandler\"\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 [style.backgroundColor]=\"markers?.[0]\"\n ></div>\n <div\n *ngIf=\"markers.length > 1\"\n class=\"t-dot\"\n [style.backgroundColor]=\"markers?.[1] || ''\"\n ></div>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n</div>\n", styles: [":host{display:block;font:var(--tui-font-text-m)}.t-row{position:relative;display:flex;justify-content:space-between;height:2.25rem;isolation:isolate}.t-item{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item:before,.t-item:after{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-item:after{border-radius:.5rem}.t-cell{position:relative;display:flex;align-items:center;justify-content:center;width:2.25rem;text-align:center;outline:none;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:.125rem 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%);content:\"\";bottom:.3125rem;height:.125rem;width:.75rem;border-radius:.375rem;background-color:var(--tui-text-01)}.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:-.25rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell_interval:not([data-range=\"start\"]):not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.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:before,.t-cell[data-range]>.t-item:after{background-color:var(--tui-primary)}.t-cell[data-range][data-state=hover]>.t-item:before,.t-cell[data-range][data-state=hover]>.t-item:after{background-color:var(--tui-primary-hover)}.t-cell[data-range][data-state=active]>.t-item:before,.t-cell[data-range][data-state=active]>.t-item:after{background-color:var(--tui-primary-active)}.t-cell[data-range=end]:before{background:var(--tui-base-02)}:host._single .t-cell[data-range=end]:before{background:var(--tui-secondary-hover)}.t-cell[data-range=end]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]>.t-item:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]>.t-item:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start]>.t-item:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start]>.t-item:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single]>.t-item:after{display:none}.t-cell[data-state=disabled]{pointer-events:none}.t-cell[data-state=disabled]>.t-item{opacity:.36}.t-cell[data-state=hover]:hover:not([data-range])>.t-item{background-color:var(--tui-secondary-hover)}.t-cell[data-state=active]: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-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}\n"] }]
132
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
133
+ type: Inject,
134
+ args: [TUI_SHORT_WEEK_DAYS]
135
+ }] }, { type: undefined, decorators: [{
136
+ type: Inject,
137
+ args: [TUI_DAY_TYPE_HANDLER]
138
+ }] }]; }, propDecorators: { month: [{
139
+ type: Input
140
+ }], disabledItemHandler: [{
141
+ type: Input
142
+ }], markerHandler: [{
143
+ type: Input
144
+ }], value: [{
145
+ type: Input
146
+ }], hoveredItem: [{
147
+ type: Input
148
+ }], showAdjacent: [{
149
+ type: Input
150
+ }], hoveredItemChange: [{
151
+ type: Output
152
+ }], dayClick: [{
153
+ type: Output
154
+ }], isSingleDayRange: [{
155
+ type: HostBinding,
156
+ args: ['class._single']
157
+ }] } });
158
+
159
+ class TuiPrimitiveCalendarModule {
160
+ }
161
+ TuiPrimitiveCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
162
+ TuiPrimitiveCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCalendarModule, declarations: [TuiPrimitiveCalendarComponent], imports: [CommonModule,
163
+ TuiLetModule,
164
+ TuiMapperPipeModule,
165
+ TuiRepeatTimesModule,
166
+ TuiHoveredModule,
167
+ TuiPressedModule,
168
+ TuiCalendarSheetPipeModule,
169
+ TuiOrderWeekDaysPipeModule], exports: [TuiPrimitiveCalendarComponent] });
170
+ TuiPrimitiveCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCalendarModule, imports: [CommonModule,
171
+ TuiLetModule,
172
+ TuiMapperPipeModule,
173
+ TuiRepeatTimesModule,
174
+ TuiHoveredModule,
175
+ TuiPressedModule,
176
+ TuiCalendarSheetPipeModule,
177
+ TuiOrderWeekDaysPipeModule] });
178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCalendarModule, decorators: [{
179
+ type: NgModule,
180
+ args: [{
181
+ imports: [
182
+ CommonModule,
183
+ TuiLetModule,
184
+ TuiMapperPipeModule,
185
+ TuiRepeatTimesModule,
186
+ TuiHoveredModule,
187
+ TuiPressedModule,
188
+ TuiCalendarSheetPipeModule,
189
+ TuiOrderWeekDaysPipeModule,
190
+ ],
191
+ declarations: [TuiPrimitiveCalendarComponent],
192
+ exports: [TuiPrimitiveCalendarComponent],
193
+ }]
194
+ }] });
195
+
196
+ /**
197
+ * Generated bundle index. Do not edit.
198
+ */
199
+
200
+ export { TuiPrimitiveCalendarComponent, TuiPrimitiveCalendarModule };
201
+ //# sourceMappingURL=taiga-ui-core-components-primitive-calendar.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-core-components-primitive-calendar.mjs","sources":["../../../projects/core/components/primitive-calendar/primitive-calendar.component.ts","../../../projects/core/components/primitive-calendar/primitive-calendar.template.html","../../../projects/core/components/primitive-calendar/primitive-calendar.module.ts","../../../projects/core/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.ts"],"sourcesContent":["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 TuiBooleanHandler,\n TuiDay,\n TuiDayRange,\n TuiHandler,\n TuiInjectionTokenType,\n TuiMonth,\n tuiNullableSame,\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_DAY_TYPE_HANDLER, TUI_SHORT_WEEK_DAYS} from '@taiga-ui/core/tokens';\nimport {TuiMarkerHandler} from '@taiga-ui/core/types';\n\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 month: TuiMonth = TuiMonth.currentLocal();\n\n @Input()\n disabledItemHandler: TuiBooleanHandler<TuiDay> = ALWAYS_FALSE_HANDLER;\n\n @Input()\n markerHandler: TuiMarkerHandler = TUI_DEFAULT_MARKER_HANDLER;\n\n @Input()\n value: TuiDay | TuiDayRange | readonly TuiDay[] | null = null;\n\n @Input()\n hoveredItem: TuiDay | null = null;\n\n @Input()\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_SHORT_WEEK_DAYS)\n readonly unorderedWeekDays$: TuiInjectionTokenType<typeof TUI_SHORT_WEEK_DAYS>,\n @Inject(TUI_DAY_TYPE_HANDLER)\n readonly dayTypeHandler: TuiHandler<TuiDay, string>,\n ) {}\n\n @HostBinding('class._single')\n get isSingleDayRange(): boolean {\n return this.value instanceof TuiDayRange && this.value.isSingleDay;\n }\n\n /**\n * @deprecated: use {@link this.isSingleDayRange}\n */\n get isSingle(): boolean {\n return this.isSingleDayRange;\n }\n\n readonly toMarkers = (\n day: TuiDay,\n today: boolean,\n inRange: boolean,\n ): [string, string] | [string] | null => {\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.Active;\n }\n\n if (hoveredItem?.daySame(item)) {\n return TuiInteractiveState.Hover;\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 (!(value instanceof TuiDayRange)) {\n return value.find(day => day.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 instanceof TuiDayRange)) {\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 (tuiNullableSame(this.hoveredItem, day, (a, b) => a.daySame(b))) {\n return;\n }\n\n this.hoveredItem = day;\n this.hoveredItemChange.emit(day);\n }\n}\n","<div class=\"t-row t-row_weekday\">\n <div\n *ngFor=\"let day of unorderedWeekDays$ | tuiOrderWeekDays | async\"\n class=\"t-cell\"\n [textContent]=\"day\"\n ></div>\n</div>\n<div\n *tuiLet=\"month | tuiCalendarSheet: true as sheet\"\n id=\"date-rows\"\n>\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 [attr.data-range]=\"getItemRange(item)\"\n [attr.data-state]=\"getItemState(item)\"\n [class.t-cell_interval]=\"itemIsInterval(item)\"\n [class.t-cell_today]=\"itemIsToday(item)\"\n [class.t-cell_unavailable]=\"itemIsUnavailable(item)\"\n (click)=\"onItemClick(item)\"\n (tuiHoveredChange)=\"onItemHovered($event && item)\"\n (tuiPressedChange)=\"onItemPressed($event && item)\"\n >\n <div\n automation-id=\"tui-primitive-calendar__item\"\n class=\"t-item\"\n [attr.data-type]=\"item | tuiMapper: dayTypeHandler\"\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 [style.backgroundColor]=\"markers?.[0]\"\n ></div>\n <div\n *ngIf=\"markers.length > 1\"\n class=\"t-dot\"\n [style.backgroundColor]=\"markers?.[1] || ''\"\n ></div>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n</div>\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 {\n TuiCalendarSheetPipeModule,\n TuiOrderWeekDaysPipeModule,\n} 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 TuiCalendarSheetPipeModule,\n TuiOrderWeekDaysPipeModule,\n ],\n declarations: [TuiPrimitiveCalendarComponent],\n exports: [TuiPrimitiveCalendarComponent],\n})\nexport class TuiPrimitiveCalendarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;MA8Ba,6BAA6B,CAAA;IA4BtC,WAEa,CAAA,kBAAqE,EAErE,cAA0C,EAAA;QAF1C,IAAkB,CAAA,kBAAA,GAAlB,kBAAkB,CAAmD;QAErE,IAAc,CAAA,cAAA,GAAd,cAAc,CAA4B;QA/B/C,IAAW,CAAA,WAAA,GAAkB,IAAI,CAAC;AACzB,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,YAAY,EAAE,CAAC;AAG/C,QAAA,IAAA,CAAA,KAAK,GAAa,QAAQ,CAAC,YAAY,EAAE,CAAC;QAG1C,IAAmB,CAAA,mBAAA,GAA8B,oBAAoB,CAAC;QAGtE,IAAa,CAAA,aAAA,GAAqB,0BAA0B,CAAC;QAG7D,IAAK,CAAA,KAAA,GAAoD,IAAI,CAAC;QAG9D,IAAW,CAAA,WAAA,GAAkB,IAAI,CAAC;QAGlC,IAAY,CAA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Y;wBACZ,YAAY;wBACZ,mBAAmB;wBACnB,oBAAoB;wBACpB,gBAAgB;wBAChB,gBAAgB;wBAChB,0BAA0B;wBAC1B,0BAA0B;AAC7B,qBAAA;oBACD,YAAY,EAAE,CAAC,6BAA6B,CAAC;oBAC7C,OAAO,EAAE,CAAC,6BAA6B,CAAC;AAC3C,iBAAA,CAAA;;;AC7BD;;AAEG;;;;"}
@@ -0,0 +1,118 @@
1
+ import { tuiCreateToken, tuiProvideOptions } from '@taiga-ui/cdk';
2
+ import { TuiAppearance } from '@taiga-ui/core/enums';
3
+ import * as i0 from '@angular/core';
4
+ import { Component, ChangeDetectionStrategy, Inject, Input, HostBinding, NgModule } from '@angular/core';
5
+ import * as i1 from '@taiga-ui/core/components/svg';
6
+ import { TuiSvgModule } from '@taiga-ui/core/components/svg';
7
+ import * as i2 from '@taiga-ui/core/directives/wrapper';
8
+ import { TuiWrapperModule } from '@taiga-ui/core/directives/wrapper';
9
+ import * as i3 from '@tinkoff/ng-polymorpheus';
10
+ import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
11
+
12
+ /** Default values for the checkbox options. */
13
+ const TUI_CHECKBOX_DEFAULT_OPTIONS = {
14
+ size: `m`,
15
+ appearances: {
16
+ unchecked: TuiAppearance.Outline,
17
+ checked: TuiAppearance.Primary,
18
+ indeterminate: TuiAppearance.Primary,
19
+ },
20
+ icons: {
21
+ checked: ({ $implicit }) => $implicit === `m` ? `tuiIconCheck` : `tuiIconCheckLarge`,
22
+ indeterminate: ({ $implicit }) => $implicit === `m` ? `tuiIconMinus` : `tuiIconMinusLarge`,
23
+ },
24
+ };
25
+ /**
26
+ * Default parameters for checkbox component
27
+ */
28
+ const TUI_CHECKBOX_OPTIONS = tuiCreateToken(TUI_CHECKBOX_DEFAULT_OPTIONS);
29
+ function tuiCheckboxOptionsProvider(options) {
30
+ return tuiProvideOptions(TUI_CHECKBOX_OPTIONS, options, TUI_CHECKBOX_DEFAULT_OPTIONS);
31
+ }
32
+
33
+ class TuiPrimitiveCheckboxComponent {
34
+ set valueSetter(value) {
35
+ if (value !== false) {
36
+ this.setCurrentIcon(value);
37
+ }
38
+ this.value = value;
39
+ }
40
+ constructor(options) {
41
+ this.options = options;
42
+ this.size = this.options.size;
43
+ this.disabled = false;
44
+ this.focused = false;
45
+ this.hovered = false;
46
+ this.pressed = false;
47
+ this.invalid = false;
48
+ this.icon = this.options.icons.checked;
49
+ this.value = false;
50
+ }
51
+ get appearance() {
52
+ switch (this.value) {
53
+ case false:
54
+ return this.options.appearances.unchecked;
55
+ case true:
56
+ return this.options.appearances.checked;
57
+ default:
58
+ return this.options.appearances.indeterminate;
59
+ }
60
+ }
61
+ get empty() {
62
+ return this.value === false;
63
+ }
64
+ setCurrentIcon(value) {
65
+ this.icon =
66
+ value === null
67
+ ? this.options.icons.indeterminate
68
+ : this.options.icons.checked;
69
+ }
70
+ }
71
+ TuiPrimitiveCheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCheckboxComponent, deps: [{ token: TUI_CHECKBOX_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
72
+ TuiPrimitiveCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiPrimitiveCheckboxComponent, selector: "tui-primitive-checkbox", inputs: { size: "size", disabled: "disabled", focused: "focused", hovered: "hovered", pressed: "pressed", invalid: "invalid", valueSetter: ["value", "valueSetter"] }, host: { properties: { "attr.data-size": "this.size" } }, ngImport: i0, template: "<div\n tuiWrapper\n [active]=\"pressed\"\n [appearance]=\"appearance\"\n [disabled]=\"disabled\"\n [focus]=\"focused\"\n [hover]=\"hovered\"\n [invalid]=\"invalid\"\n>\n <tui-svg\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n class=\"t-mark\"\n [class.t-mark_on]=\"!empty\"\n [src]=\"src\"\n ></tui-svg>\n <ng-content></ng-content>\n</div>\n", 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)}.t-mark{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;width:100%;height:100%;transform:scale(0)}.t-mark_on{transform:scale(1)}\n"], dependencies: [{ kind: "component", type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { kind: "directive", type: i2.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { kind: "directive", type: i3.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCheckboxComponent, decorators: [{
74
+ type: Component,
75
+ args: [{ selector: 'tui-primitive-checkbox', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n tuiWrapper\n [active]=\"pressed\"\n [appearance]=\"appearance\"\n [disabled]=\"disabled\"\n [focus]=\"focused\"\n [hover]=\"hovered\"\n [invalid]=\"invalid\"\n>\n <tui-svg\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n class=\"t-mark\"\n [class.t-mark_on]=\"!empty\"\n [src]=\"src\"\n ></tui-svg>\n <ng-content></ng-content>\n</div>\n", 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)}.t-mark{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;width:100%;height:100%;transform:scale(0)}.t-mark_on{transform:scale(1)}\n"] }]
76
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
77
+ type: Inject,
78
+ args: [TUI_CHECKBOX_OPTIONS]
79
+ }] }]; }, propDecorators: { size: [{
80
+ type: Input
81
+ }, {
82
+ type: HostBinding,
83
+ args: ['attr.data-size']
84
+ }], disabled: [{
85
+ type: Input
86
+ }], focused: [{
87
+ type: Input
88
+ }], hovered: [{
89
+ type: Input
90
+ }], pressed: [{
91
+ type: Input
92
+ }], invalid: [{
93
+ type: Input
94
+ }], valueSetter: [{
95
+ type: Input,
96
+ args: ['value']
97
+ }] } });
98
+
99
+ class TuiPrimitiveCheckboxModule {
100
+ }
101
+ TuiPrimitiveCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
102
+ TuiPrimitiveCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCheckboxModule, declarations: [TuiPrimitiveCheckboxComponent], imports: [TuiSvgModule, TuiWrapperModule, PolymorpheusModule], exports: [TuiPrimitiveCheckboxComponent] });
103
+ TuiPrimitiveCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCheckboxModule, imports: [TuiSvgModule, TuiWrapperModule, PolymorpheusModule] });
104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCheckboxModule, decorators: [{
105
+ type: NgModule,
106
+ args: [{
107
+ imports: [TuiSvgModule, TuiWrapperModule, PolymorpheusModule],
108
+ declarations: [TuiPrimitiveCheckboxComponent],
109
+ exports: [TuiPrimitiveCheckboxComponent],
110
+ }]
111
+ }] });
112
+
113
+ /**
114
+ * Generated bundle index. Do not edit.
115
+ */
116
+
117
+ export { TUI_CHECKBOX_DEFAULT_OPTIONS, TUI_CHECKBOX_OPTIONS, TuiPrimitiveCheckboxComponent, TuiPrimitiveCheckboxModule, tuiCheckboxOptionsProvider };
118
+ //# sourceMappingURL=taiga-ui-core-components-primitive-checkbox.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-core-components-primitive-checkbox.mjs","sources":["../../../projects/core/components/primitive-checkbox/checkbox.options.ts","../../../projects/core/components/primitive-checkbox/primitive-checkbox.component.ts","../../../projects/core/components/primitive-checkbox/primitive-checkbox.template.html","../../../projects/core/components/primitive-checkbox/primitive-checkbox.module.ts","../../../projects/core/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.ts"],"sourcesContent":["import {Provider} from '@angular/core';\nimport {TuiContextWithImplicit, tuiCreateToken, tuiProvideOptions} 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 appearances: Readonly<{\n checked: string;\n indeterminate: string;\n unchecked: string;\n }>;\n readonly icons: Readonly<{\n checked: PolymorpheusContent<TuiContextWithImplicit<TuiSizeL>>;\n indeterminate: PolymorpheusContent<TuiContextWithImplicit<TuiSizeL>>;\n }>;\n readonly size: TuiSizeL;\n}\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}) =>\n $implicit === `m` ? `tuiIconCheck` : `tuiIconCheckLarge`,\n indeterminate: ({$implicit}) =>\n $implicit === `m` ? `tuiIconMinus` : `tuiIconMinusLarge`,\n },\n};\n\n/**\n * Default parameters for checkbox component\n */\nexport const TUI_CHECKBOX_OPTIONS = tuiCreateToken(TUI_CHECKBOX_DEFAULT_OPTIONS);\n\nexport function tuiCheckboxOptionsProvider(\n options: Partial<TuiCheckboxOptions>,\n): Provider {\n return tuiProvideOptions(TUI_CHECKBOX_OPTIONS, options, TUI_CHECKBOX_DEFAULT_OPTIONS);\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Inject,\n Input,\n} from '@angular/core';\nimport {TuiContextWithImplicit} 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@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 size: TuiSizeL = this.options.size;\n\n @Input()\n disabled = false;\n\n @Input()\n focused = false;\n\n @Input()\n hovered: boolean | null = false;\n\n @Input()\n pressed: boolean | null = false;\n\n @Input()\n invalid = false;\n\n @Input('value')\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: boolean | null): void {\n this.icon =\n value === null\n ? this.options.icons.indeterminate\n : this.options.icons.checked;\n }\n}\n","<div\n tuiWrapper\n [active]=\"pressed\"\n [appearance]=\"appearance\"\n [disabled]=\"disabled\"\n [focus]=\"focused\"\n [hover]=\"hovered\"\n [invalid]=\"invalid\"\n>\n <tui-svg\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n class=\"t-mark\"\n [class.t-mark_on]=\"!empty\"\n [src]=\"src\"\n ></tui-svg>\n <ng-content></ng-content>\n</div>\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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAmBA;AACa,MAAA,4BAA4B,GAAuB;AAC5D,IAAA,IAAI,EAAE,CAAG,CAAA,CAAA;AACT,IAAA,WAAW,EAAE;QACT,SAAS,EAAE,aAAa,CAAC,OAAO;QAChC,OAAO,EAAE,aAAa,CAAC,OAAO;QAC9B,aAAa,EAAE,aAAa,CAAC,OAAO;AACvC,KAAA;AACD,IAAA,KAAK,EAAE;AACH,QAAA,OAAO,EAAE,CAAC,EAAC,SAAS,EAAC,KACjB,SAAS,KAAK,CAAA,CAAA,CAAG,GAAG,cAAc,GAAG,CAAmB,iBAAA,CAAA;AAC5D,QAAA,aAAa,EAAE,CAAC,EAAC,SAAS,EAAC,KACvB,SAAS,KAAK,CAAA,CAAA,CAAG,GAAG,cAAc,GAAG,CAAmB,iBAAA,CAAA;AAC/D,KAAA;EACH;AAEF;;AAEG;MACU,oBAAoB,GAAG,cAAc,CAAC,4BAA4B,EAAE;AAE3E,SAAU,0BAA0B,CACtC,OAAoC,EAAA;IAEpC,OAAO,iBAAiB,CAAC,oBAAoB,EAAE,OAAO,EAAE,4BAA4B,CAAC,CAAC;AAC1F;;MCzBa,6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6B,CAAC;AAC3C,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
@@ -0,0 +1,108 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, ElementRef, Component, ChangeDetectionStrategy, Inject, Input, Output, HostListener, NgModule } from '@angular/core';
3
+ import { AbstractTuiInteractive, tuiIsNativeFocusedIn } from '@taiga-ui/cdk';
4
+ import { TUI_SPIN_ICONS, TUI_SPIN_TEXTS } from '@taiga-ui/core/tokens';
5
+ import * as i1 from '@angular/common';
6
+ import { CommonModule } from '@angular/common';
7
+ import * as i2 from '@taiga-ui/core/components/button';
8
+ import { TuiButtonModule } from '@taiga-ui/core/components/button';
9
+ import * as i3 from 'rxjs';
10
+
11
+ class TuiPrimitiveSpinButtonComponent extends AbstractTuiInteractive {
12
+ constructor(el, icons, spinTexts$) {
13
+ super();
14
+ this.el = el;
15
+ this.icons = icons;
16
+ this.spinTexts$ = spinTexts$;
17
+ this.disabled = false;
18
+ this.leftDisabled = false;
19
+ this.rightDisabled = false;
20
+ this.leftClick = new EventEmitter();
21
+ this.rightClick = new EventEmitter();
22
+ }
23
+ get focused() {
24
+ return tuiIsNativeFocusedIn(this.el.nativeElement);
25
+ }
26
+ get leftComputedDisabled() {
27
+ return this.computedDisabled || this.leftDisabled;
28
+ }
29
+ get rightComputedDisabled() {
30
+ return this.computedDisabled || this.rightDisabled;
31
+ }
32
+ onLeftClick() {
33
+ if (!this.leftComputedDisabled) {
34
+ this.leftClick.emit();
35
+ }
36
+ }
37
+ onRightClick() {
38
+ if (!this.rightComputedDisabled) {
39
+ this.rightClick.emit();
40
+ }
41
+ }
42
+ onFocused(focused) {
43
+ this.updateFocused(focused);
44
+ }
45
+ onFocusVisible(focusVisible) {
46
+ this.updateFocusVisible(focusVisible);
47
+ }
48
+ }
49
+ TuiPrimitiveSpinButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveSpinButtonComponent, deps: [{ token: ElementRef }, { token: TUI_SPIN_ICONS }, { token: TUI_SPIN_TEXTS }], target: i0.ɵɵFactoryTarget.Component });
50
+ TuiPrimitiveSpinButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiPrimitiveSpinButtonComponent, selector: "tui-primitive-spin-button", inputs: { disabled: "disabled", leftDisabled: "leftDisabled", rightDisabled: "rightDisabled" }, outputs: { leftClick: "leftClick", rightClick: "rightClick" }, host: { listeners: { "mousedown.silent.prevent": "(0)", "keydown.arrowLeft.prevent": "onLeftClick()", "keydown.arrowRight.prevent": "onRightClick()", "focusin": "onFocused(true)", "focusout": "onFocused(false)" } }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"spinTexts$ | async as texts\">\n <button\n appearance=\"flat\"\n automation-id=\"tui-primitive-spin-button__left\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n [class.t-hidden]=\"leftComputedDisabled\"\n [focusable]=\"computedFocusable\"\n [icon]=\"icons.decrement\"\n [title]=\"texts[0]\"\n (click)=\"onLeftClick()\"\n ></button>\n <span class=\"t-content t-calendar-title\">\n <ng-content></ng-content>\n </span>\n <button\n appearance=\"flat\"\n automation-id=\"tui-primitive-spin-button__right\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n [class.t-hidden]=\"rightComputedDisabled\"\n [focusable]=\"computedFocusable\"\n [icon]=\"icons.increment\"\n [title]=\"texts[1]\"\n (click)=\"onRightClick()\"\n ></button>\n</ng-container>\n", styles: [":host{display:flex;align-items:center;justify-content:space-between;font:var(--tui-font-text-l);text-align:center;font-weight:700}.t-hidden{visibility:hidden}.t-content{padding:0 .5rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveSpinButtonComponent, decorators: [{
52
+ type: Component,
53
+ args: [{ selector: 'tui-primitive-spin-button', changeDetection: ChangeDetectionStrategy.OnPush, host: {
54
+ '(mousedown.silent.prevent)': '(0)',
55
+ }, template: "<ng-container *ngIf=\"spinTexts$ | async as texts\">\n <button\n appearance=\"flat\"\n automation-id=\"tui-primitive-spin-button__left\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n [class.t-hidden]=\"leftComputedDisabled\"\n [focusable]=\"computedFocusable\"\n [icon]=\"icons.decrement\"\n [title]=\"texts[0]\"\n (click)=\"onLeftClick()\"\n ></button>\n <span class=\"t-content t-calendar-title\">\n <ng-content></ng-content>\n </span>\n <button\n appearance=\"flat\"\n automation-id=\"tui-primitive-spin-button__right\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n [class.t-hidden]=\"rightComputedDisabled\"\n [focusable]=\"computedFocusable\"\n [icon]=\"icons.increment\"\n [title]=\"texts[1]\"\n (click)=\"onRightClick()\"\n ></button>\n</ng-container>\n", styles: [":host{display:flex;align-items:center;justify-content:space-between;font:var(--tui-font-text-l);text-align:center;font-weight:700}.t-hidden{visibility:hidden}.t-content{padding:0 .5rem}\n"] }]
56
+ }], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
57
+ type: Inject,
58
+ args: [ElementRef]
59
+ }] }, { type: undefined, decorators: [{
60
+ type: Inject,
61
+ args: [TUI_SPIN_ICONS]
62
+ }] }, { type: i3.Observable, decorators: [{
63
+ type: Inject,
64
+ args: [TUI_SPIN_TEXTS]
65
+ }] }]; }, propDecorators: { disabled: [{
66
+ type: Input
67
+ }], leftDisabled: [{
68
+ type: Input
69
+ }], rightDisabled: [{
70
+ type: Input
71
+ }], leftClick: [{
72
+ type: Output
73
+ }], rightClick: [{
74
+ type: Output
75
+ }], onLeftClick: [{
76
+ type: HostListener,
77
+ args: ['keydown.arrowLeft.prevent']
78
+ }], onRightClick: [{
79
+ type: HostListener,
80
+ args: ['keydown.arrowRight.prevent']
81
+ }], onFocused: [{
82
+ type: HostListener,
83
+ args: ['focusin', ['true']]
84
+ }, {
85
+ type: HostListener,
86
+ args: ['focusout', ['false']]
87
+ }] } });
88
+
89
+ class TuiPrimitiveSpinButtonModule {
90
+ }
91
+ TuiPrimitiveSpinButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveSpinButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
92
+ TuiPrimitiveSpinButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveSpinButtonModule, declarations: [TuiPrimitiveSpinButtonComponent], imports: [CommonModule, TuiButtonModule], exports: [TuiPrimitiveSpinButtonComponent] });
93
+ TuiPrimitiveSpinButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveSpinButtonModule, imports: [CommonModule, TuiButtonModule] });
94
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveSpinButtonModule, decorators: [{
95
+ type: NgModule,
96
+ args: [{
97
+ imports: [CommonModule, TuiButtonModule],
98
+ declarations: [TuiPrimitiveSpinButtonComponent],
99
+ exports: [TuiPrimitiveSpinButtonComponent],
100
+ }]
101
+ }] });
102
+
103
+ /**
104
+ * Generated bundle index. Do not edit.
105
+ */
106
+
107
+ export { TuiPrimitiveSpinButtonComponent, TuiPrimitiveSpinButtonModule };
108
+ //# sourceMappingURL=taiga-ui-core-components-primitive-spin-button.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-core-components-primitive-spin-button.mjs","sources":["../../../projects/core/components/primitive-spin-button/primitive-spin-button.component.ts","../../../projects/core/components/primitive-spin-button/primitive-spin-button.template.html","../../../projects/core/components/primitive-spin-button/primitive-spin-button.module.ts","../../../projects/core/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n HostListener,\n Inject,\n Input,\n Output,\n} from '@angular/core';\nimport {AbstractTuiInteractive, tuiIsNativeFocusedIn} from '@taiga-ui/cdk';\nimport {TUI_SPIN_ICONS, TUI_SPIN_TEXTS, TuiSpinIcons} from '@taiga-ui/core/tokens';\nimport {Observable} from 'rxjs';\n\n@Component({\n selector: 'tui-primitive-spin-button',\n templateUrl: './primitive-spin-button.template.html',\n styleUrls: ['./primitive-spin-button.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '(mousedown.silent.prevent)': '(0)',\n },\n})\nexport class TuiPrimitiveSpinButtonComponent extends AbstractTuiInteractive {\n @Input()\n disabled = false;\n\n @Input()\n leftDisabled = false;\n\n @Input()\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(ElementRef) private readonly el: ElementRef<HTMLElement>,\n @Inject(TUI_SPIN_ICONS) readonly icons: TuiSpinIcons,\n @Inject(TUI_SPIN_TEXTS) readonly spinTexts$: Observable<[string, string]>,\n ) {\n super();\n }\n\n get focused(): boolean {\n return tuiIsNativeFocusedIn(this.el.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 @HostListener('keydown.arrowLeft.prevent')\n onLeftClick(): void {\n if (!this.leftComputedDisabled) {\n this.leftClick.emit();\n }\n }\n\n @HostListener('keydown.arrowRight.prevent')\n onRightClick(): void {\n if (!this.rightComputedDisabled) {\n this.rightClick.emit();\n }\n }\n\n @HostListener('focusin', ['true'])\n @HostListener('focusout', ['false'])\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n onFocusVisible(focusVisible: boolean): void {\n this.updateFocusVisible(focusVisible);\n }\n}\n","<ng-container *ngIf=\"spinTexts$ | async as texts\">\n <button\n appearance=\"flat\"\n automation-id=\"tui-primitive-spin-button__left\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n [class.t-hidden]=\"leftComputedDisabled\"\n [focusable]=\"computedFocusable\"\n [icon]=\"icons.decrement\"\n [title]=\"texts[0]\"\n (click)=\"onLeftClick()\"\n ></button>\n <span class=\"t-content t-calendar-title\">\n <ng-content></ng-content>\n </span>\n <button\n appearance=\"flat\"\n automation-id=\"tui-primitive-spin-button__right\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n [class.t-hidden]=\"rightComputedDisabled\"\n [focusable]=\"computedFocusable\"\n [icon]=\"icons.increment\"\n [title]=\"texts[1]\"\n (click)=\"onRightClick()\"\n ></button>\n</ng-container>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiButtonModule} from '@taiga-ui/core/components/button';\n\nimport {TuiPrimitiveSpinButtonComponent} from './primitive-spin-button.component';\n\n@NgModule({\n imports: [CommonModule, TuiButtonModule],\n declarations: [TuiPrimitiveSpinButtonComponent],\n exports: [TuiPrimitiveSpinButtonComponent],\n})\nexport class TuiPrimitiveSpinButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAuBM,MAAO,+BAAgC,SAAQ,sBAAsB,CAAA;AAgBvE,IAAA,WAAA,CACyC,EAA2B,EAC/B,KAAmB,EACnB,UAAwC,EAAA;AAEzE,QAAA,KAAK,EAAE,CAAC;QAJ6B,IAAE,CAAA,EAAA,GAAF,EAAE,CAAyB;QAC/B,IAAK,CAAA,KAAA,GAAL,KAAK,CAAc;QACnB,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