@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
@@ -1,146 +0,0 @@
1
- import { tuiIsNumber, tuiRoundWith, CHAR_HYPHEN, CHAR_PLUS } from '@taiga-ui/cdk';
2
- import { TUI_DEFAULT_NUMBER_FORMAT } from '@taiga-ui/core/constants';
3
-
4
- /**
5
- * Capitalizes a given string, replacing it with a lowercase string and making
6
- * the first letter of each word uppercase.
7
- *
8
- * @param value the input string
9
- * @return the capitalized string
10
- */
11
- function tuiCapitalize(value) {
12
- return value.toLowerCase().replace(/(?:^|\s)\S/g, char => char.toUpperCase());
13
- }
14
-
15
- function tuiCapitalizeFirstLetter(value) {
16
- return `${value.charAt(0).toUpperCase()}${value.slice(1)}`;
17
- }
18
-
19
- /**
20
- * Convert number to string with replacing exponent part on decimals
21
- *
22
- * @param value the number
23
- * @return string representation of a number
24
- */
25
- function tuiNumberToStringWithoutExp(value) {
26
- const valueAsString = String(value);
27
- const [numberPart, expPart] = valueAsString.split(`e-`);
28
- let valueWithoutExp = valueAsString;
29
- if (expPart) {
30
- const [, fractionalPart] = numberPart.split(`.`);
31
- const decimalDigits = Number(expPart) + ((fractionalPart === null || fractionalPart === void 0 ? void 0 : fractionalPart.length) || 0);
32
- valueWithoutExp = value.toFixed(decimalDigits);
33
- }
34
- return valueWithoutExp;
35
- }
36
-
37
- /**
38
- * Return fractional part of number
39
- *
40
- * @param value the number
41
- * @param precision number of digits of decimal part, null to keep untouched
42
- * @return the fractional part of number
43
- */
44
- function tuiGetFractionPartPadded(value, precision) {
45
- const [, fractionPartPadded = ``] = tuiNumberToStringWithoutExp(value).split(`.`);
46
- return tuiIsNumber(precision)
47
- ? fractionPartPadded.slice(0, Math.max(0, precision))
48
- : fractionPartPadded;
49
- }
50
-
51
- /**
52
- * Formats number adding a thousand separators and correct decimal separator
53
- * padding decimal part with zeroes to given length
54
- *
55
- * @param value the input number
56
- * @param settings See {@link TuiNumberFormatSettings}
57
- * @return the formatted string
58
- */
59
- function tuiFormatNumber(value, settings = {}) {
60
- const { decimalLimit, decimalSeparator, thousandSeparator, zeroPadding, rounding } = Object.assign(Object.assign({}, TUI_DEFAULT_NUMBER_FORMAT), settings);
61
- const rounded = Number.isFinite(decimalLimit)
62
- ? tuiRoundWith({ value, precision: decimalLimit, method: rounding })
63
- : value;
64
- const integerPartString = String(Math.floor(Math.abs(rounded)));
65
- let fractionPartPadded = tuiGetFractionPartPadded(rounded, decimalLimit);
66
- if (Number.isFinite(decimalLimit)) {
67
- if (zeroPadding) {
68
- const zeroPaddingSize = Math.max(decimalLimit - fractionPartPadded.length, 0);
69
- const zeroPartString = `0`.repeat(zeroPaddingSize);
70
- fractionPartPadded = `${fractionPartPadded}${zeroPartString}`;
71
- }
72
- else {
73
- fractionPartPadded = fractionPartPadded.replace(/0*$/, ``);
74
- }
75
- }
76
- const remainder = integerPartString.length % 3;
77
- const sign = value < 0 ? CHAR_HYPHEN : ``;
78
- let result = sign + integerPartString.charAt(0);
79
- for (let i = 1; i < integerPartString.length; i++) {
80
- if (i % 3 === remainder && integerPartString.length > 3) {
81
- result += thousandSeparator;
82
- }
83
- result += integerPartString.charAt(i);
84
- }
85
- return fractionPartPadded ? result + decimalSeparator + fractionPartPadded : result;
86
- }
87
-
88
- /**
89
- * TODO: delete in v4.0
90
- * @deprecated Use {@link https://maskito.dev/core-concepts/transformer maskitoTransform} instead<br/>
91
- * @example
92
- * import {maskitoTransform} from '@maskito/core';
93
- *
94
- * const mask = {
95
- * mask: ['+', '1', ' ', /\d/, /\d/, /\d/, ')', ' ', /\d/, /\d/, /\d/, '-', /\d/, /\d/, /\d/, /\d/],
96
- * };
97
- * maskitoTransform('12125552368', mask); // +1 (212) 555-2368
98
- * ___
99
- * Formats a string with the phone format +7XXXXXXXXXXXX or XXXXXXXXXXXX,
100
- * adding parentheses and hyphens.
101
- *
102
- * @param value the input string
103
- * @param countryCode a country code
104
- * @param phoneMask a phone number mask
105
- * @return the formatted phone string of the form +7 XXX XXX-XX-XX
106
- */
107
- function tuiFormatPhone(value, countryCode, phoneMask) {
108
- if (!value) {
109
- return ``;
110
- }
111
- let result = countryCode;
112
- countryCode = countryCode.replace(/[()]/g, ``);
113
- if (!value.startsWith(countryCode)) {
114
- value = countryCode + value.replace(CHAR_PLUS, ``);
115
- }
116
- const splitPhoneMask = phoneMask.split(``);
117
- const splitValue = value.slice(countryCode.length).split(``);
118
- result += ` `;
119
- if (splitValue.length === 0) {
120
- return result;
121
- }
122
- for (const mask of splitPhoneMask) {
123
- if (splitValue.length === 0) {
124
- break;
125
- }
126
- if (mask === `#`) {
127
- result += splitValue[0] || ``;
128
- splitValue.splice(0, 1);
129
- }
130
- else {
131
- result += mask;
132
- }
133
- }
134
- return result;
135
- }
136
-
137
- function tuiOtherDecimalSymbol(symbol) {
138
- return symbol === `.` ? `,` : `.`;
139
- }
140
-
141
- /**
142
- * Generated bundle index. Do not edit.
143
- */
144
-
145
- export { tuiCapitalize, tuiCapitalizeFirstLetter, tuiFormatNumber, tuiFormatPhone, tuiGetFractionPartPadded, tuiNumberToStringWithoutExp, tuiOtherDecimalSymbol };
146
- //# sourceMappingURL=taiga-ui-core-utils-format.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-utils-format.js","sources":["../../../projects/core/utils/format/capitalize.ts","../../../projects/core/utils/format/capitalize-first-letter.ts","../../../projects/core/utils/format/number-to-string-without-exp.ts","../../../projects/core/utils/format/get-fractional-part-padded.ts","../../../projects/core/utils/format/format-number.ts","../../../projects/core/utils/format/format-phone.ts","../../../projects/core/utils/format/other-decimal-symbol.ts","../../../projects/core/utils/format/taiga-ui-core-utils-format.ts"],"sourcesContent":["/**\n * Capitalizes a given string, replacing it with a lowercase string and making\n * the first letter of each word uppercase.\n *\n * @param value the input string\n * @return the capitalized string\n */\nexport function tuiCapitalize(value: string): string {\n return value.toLowerCase().replace(/(?:^|\\s)\\S/g, char => char.toUpperCase());\n}\n","export function tuiCapitalizeFirstLetter(value: string): string {\n return `${value.charAt(0).toUpperCase()}${value.slice(1)}`;\n}\n","/**\n * Convert number to string with replacing exponent part on decimals\n *\n * @param value the number\n * @return string representation of a number\n */\nexport function tuiNumberToStringWithoutExp(value: number): string {\n const valueAsString = String(value);\n const [numberPart, expPart] = valueAsString.split(`e-`);\n\n let valueWithoutExp = valueAsString;\n\n if (expPart) {\n const [, fractionalPart] = numberPart.split(`.`);\n const decimalDigits = Number(expPart) + (fractionalPart?.length || 0);\n\n valueWithoutExp = value.toFixed(decimalDigits);\n }\n\n return valueWithoutExp;\n}\n","import {tuiIsNumber} from '@taiga-ui/cdk';\n\nimport {tuiNumberToStringWithoutExp} from './number-to-string-without-exp';\n\n/**\n * Return fractional part of number\n *\n * @param value the number\n * @param precision number of digits of decimal part, null to keep untouched\n * @return the fractional part of number\n */\nexport function tuiGetFractionPartPadded(\n value: number,\n precision?: number | null,\n): string {\n const [, fractionPartPadded = ``] = tuiNumberToStringWithoutExp(value).split(`.`);\n\n return tuiIsNumber(precision)\n ? fractionPartPadded.slice(0, Math.max(0, precision))\n : fractionPartPadded;\n}\n","import {CHAR_HYPHEN, tuiRoundWith} from '@taiga-ui/cdk';\nimport {TUI_DEFAULT_NUMBER_FORMAT} from '@taiga-ui/core/constants';\nimport {TuiNumberFormatSettings} from '@taiga-ui/core/interfaces';\n\nimport {tuiGetFractionPartPadded} from './get-fractional-part-padded';\n\n/**\n * Formats number adding a thousand separators and correct decimal separator\n * padding decimal part with zeroes to given length\n *\n * @param value the input number\n * @param settings See {@link TuiNumberFormatSettings}\n * @return the formatted string\n */\nexport function tuiFormatNumber(\n value: number,\n settings: Partial<TuiNumberFormatSettings> = {},\n): string {\n const {decimalLimit, decimalSeparator, thousandSeparator, zeroPadding, rounding} = {\n ...TUI_DEFAULT_NUMBER_FORMAT,\n ...settings,\n };\n\n const rounded = Number.isFinite(decimalLimit)\n ? tuiRoundWith({value, precision: decimalLimit, method: rounding})\n : value;\n const integerPartString = String(Math.floor(Math.abs(rounded)));\n\n let fractionPartPadded = tuiGetFractionPartPadded(rounded, decimalLimit);\n\n if (Number.isFinite(decimalLimit)) {\n if (zeroPadding) {\n const zeroPaddingSize: number = Math.max(\n decimalLimit - fractionPartPadded.length,\n 0,\n );\n const zeroPartString = `0`.repeat(zeroPaddingSize);\n\n fractionPartPadded = `${fractionPartPadded}${zeroPartString}`;\n } else {\n fractionPartPadded = fractionPartPadded.replace(/0*$/, ``);\n }\n }\n\n const remainder = integerPartString.length % 3;\n const sign = value < 0 ? CHAR_HYPHEN : ``;\n let result = sign + integerPartString.charAt(0);\n\n for (let i = 1; i < integerPartString.length; i++) {\n if (i % 3 === remainder && integerPartString.length > 3) {\n result += thousandSeparator;\n }\n\n result += integerPartString.charAt(i);\n }\n\n return fractionPartPadded ? result + decimalSeparator + fractionPartPadded : result;\n}\n","import {CHAR_PLUS} from '@taiga-ui/cdk';\n\n/**\n * TODO: delete in v4.0\n * @deprecated Use {@link https://maskito.dev/core-concepts/transformer maskitoTransform} instead<br/>\n * @example\n * import {maskitoTransform} from '@maskito/core';\n *\n * const mask = {\n * mask: ['+', '1', ' ', /\\d/, /\\d/, /\\d/, ')', ' ', /\\d/, /\\d/, /\\d/, '-', /\\d/, /\\d/, /\\d/, /\\d/],\n * };\n * maskitoTransform('12125552368', mask); // +1 (212) 555-2368\n * ___\n * Formats a string with the phone format +7XXXXXXXXXXXX or XXXXXXXXXXXX,\n * adding parentheses and hyphens.\n *\n * @param value the input string\n * @param countryCode a country code\n * @param phoneMask a phone number mask\n * @return the formatted phone string of the form +7 XXX XXX-XX-XX\n */\nexport function tuiFormatPhone(\n value: string,\n countryCode: string,\n phoneMask: string,\n): string {\n if (!value) {\n return ``;\n }\n\n let result = countryCode;\n\n countryCode = countryCode.replace(/[()]/g, ``);\n\n if (!value.startsWith(countryCode)) {\n value = countryCode + value.replace(CHAR_PLUS, ``);\n }\n\n const splitPhoneMask = phoneMask.split(``);\n const splitValue = value.slice(countryCode.length).split(``);\n\n result += ` `;\n\n if (splitValue.length === 0) {\n return result;\n }\n\n for (const mask of splitPhoneMask) {\n if (splitValue.length === 0) {\n break;\n }\n\n if (mask === `#`) {\n result += splitValue[0] || ``;\n splitValue.splice(0, 1);\n } else {\n result += mask;\n }\n }\n\n return result;\n}\n","import {TuiDecimalSymbol} from '@taiga-ui/core/types';\n\nexport function tuiOtherDecimalSymbol(symbol: TuiDecimalSymbol): TuiDecimalSymbol {\n return symbol === `.` ? `,` : `.`;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;;;;;;AAMG;AACG,SAAU,aAAa,CAAC,KAAa,EAAA;AACvC,IAAA,OAAO,KAAK,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,aAAa,EAAE,IAAI,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;AAClF;;ACTM,SAAU,wBAAwB,CAAC,KAAa,EAAA;AAClD,IAAA,OAAO,GAAG,KAAK,CAAC,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,cAAc,EAAE;AAC/B,QAAA,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE;YACzB,MAAM;AACT,SAAA;QAED,IAAI,IAAI,KAAK,CAAA,CAAA,CAAG,EAAE;AACd,YAAA,MAAM,IAAI,UAAU,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;AAC9B,YAAA,UAAU,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAC3B,SAAA;AAAM,aAAA;YACH,MAAM,IAAI,IAAI,CAAC;AAClB,SAAA;AACJ,KAAA;AAED,IAAA,OAAO,MAAM,CAAC;AAClB;;AC3DM,SAAU,qBAAqB,CAAC,MAAwB,EAAA;IAC1D,OAAO,MAAM,KAAK,CAAA,CAAA,CAAG,GAAG,CAAA,CAAA,CAAG,GAAG,CAAA,CAAA,CAAG,CAAC;AACtC;;ACJA;;AAEG;;;;"}
@@ -1,284 +0,0 @@
1
- import { tuiAssert, tuiIsSafari, CHAR_HYPHEN, tuiIsNativeFocused, tuiGetDocumentOrShadowRoot, CHAR_NO_BREAK_SPACE, CHAR_EN_DASH } from '@taiga-ui/cdk';
2
- import { MASK_CARET_TRAP, TUI_DIGIT_REGEXP, TUI_NON_DIGITS_REGEXP, TUI_LEADING_ZEROES_REGEXP, TUI_DECIMAL_SYMBOLS } from '@taiga-ui/core/constants';
3
- import { tuiOtherDecimalSymbol } from '@taiga-ui/core/utils/format';
4
-
5
- function addDecimalSymbolIfNeeded(value, decimalSymbol = `,`) {
6
- return !value.includes(decimalSymbol) ? value + decimalSymbol : value;
7
- }
8
- function calculateSafariCaret(previousValue = ``, current, previousCaret, decimalSymbol = `,`) {
9
- const tailRegex = new RegExp(`${decimalSymbol}.+`);
10
- const previousWithoutTail = previousValue.replace(tailRegex, ``);
11
- const currentWithoutTail = current.replace(tailRegex, ``);
12
- const pasteOrCutOperation = Math.abs(previousWithoutTail.length - currentWithoutTail.length) > 2;
13
- if (pasteOrCutOperation) {
14
- return current.length;
15
- }
16
- if (previousValue.length === current.length) {
17
- if (previousValue.indexOf(decimalSymbol) <= previousCaret) {
18
- return calculateChangedTailIndex(previousValue, current);
19
- }
20
- return previousWithoutTail === currentWithoutTail
21
- ? previousCaret - 1
22
- : previousCaret + 1;
23
- }
24
- if (previousValue.length === 0) {
25
- return 1;
26
- }
27
- const changeLength = current.length - previousValue.length;
28
- return previousCaret + changeLength;
29
- }
30
- function calculateChangedTailIndex(previous, current) {
31
- for (let i = 0; i < current.length; i++) {
32
- if (previous[i] !== current[i]) {
33
- return current[i] === `0` ? i : i + 1;
34
- }
35
- }
36
- return current.length;
37
- }
38
- function calculateCaretGap(previousValue = ``, current, thousandSymbol) {
39
- const pasteOrCutOperation = Math.abs(previousValue.length - current.length) > 2;
40
- if (pasteOrCutOperation) {
41
- return 0;
42
- }
43
- const wereSpaces = previousValue.split(thousandSymbol).length;
44
- const nowSpaces = current.split(thousandSymbol).length;
45
- return nowSpaces - wereSpaces;
46
- }
47
- /**
48
- * TODO: delete in v4.0
49
- * @deprecated Use {@link https://maskito.dev/kit/number Number} from {@link https://github.com/taiga-family/maskito Maskito} instead <br/>
50
- * Used to finish a number with zeros to a given precision
51
- */
52
- function tuiCreateAutoCorrectedNumberPipe(decimalLimit = 0, decimalSymbol = `,`, thousandSymbol = CHAR_NO_BREAK_SPACE, nativeInput, allowNegative, isIOS = false) {
53
- ngDevMode && tuiAssert.assert(decimalLimit >= 0);
54
- // Guess for which browser I need this :)
55
- let previousCaret = -1;
56
- const unlucky = (!!nativeInput && tuiIsSafari(nativeInput)) || isIOS;
57
- if (nativeInput && unlucky) {
58
- nativeInput.addEventListener(`beforeinput`, () => {
59
- previousCaret = nativeInput.selectionStart || 0;
60
- });
61
- }
62
- return (conformedValue, config) => {
63
- // Removing everything by selecting and pressing '-'
64
- if (!conformedValue && config.rawValue === CHAR_HYPHEN && allowNegative) {
65
- return CHAR_HYPHEN;
66
- }
67
- // remove these hacks after text mask library has changed
68
- if (nativeInput && unlucky && tuiIsNativeFocused(nativeInput)) {
69
- const caret = calculateSafariCaret(config.previousConformedValue, conformedValue, previousCaret);
70
- setTimeout(() => {
71
- nativeInput.setSelectionRange(caret, caret);
72
- });
73
- }
74
- if (nativeInput &&
75
- nativeInput.ownerDocument !== tuiGetDocumentOrShadowRoot(nativeInput) &&
76
- tuiIsNativeFocused(nativeInput) &&
77
- config.currentCaretPosition) {
78
- const realCaretPosition = config.currentCaretPosition +
79
- calculateCaretGap(config.previousConformedValue, conformedValue, thousandSymbol);
80
- setTimeout(() => {
81
- nativeInput.setSelectionRange(realCaretPosition, realCaretPosition);
82
- });
83
- }
84
- if (conformedValue === `` || !decimalLimit || !Number.isInteger(decimalLimit)) {
85
- return { value: conformedValue };
86
- }
87
- const withDecimalSymbol = addDecimalSymbolIfNeeded(conformedValue, decimalSymbol);
88
- const decimalPart = withDecimalSymbol.split(decimalSymbol)[1];
89
- const zeroPaddingSize = decimalLimit - decimalPart.length;
90
- return {
91
- value: withDecimalSymbol + `0`.repeat(zeroPaddingSize),
92
- };
93
- };
94
- }
95
-
96
- const ASSERTION = `Correction function must return single char or null`;
97
- /**
98
- * TODO: delete in v4.0
99
- * @deprecated Use {@link https://maskito.dev/core-concepts/processors processors} from {@link https://github.com/taiga-family/maskito Maskito}
100
- */
101
- function tuiCreateCorrectionMask(allowed, correctionHandler) {
102
- return rawValue => {
103
- const mask = rawValue.split(``).reduce((result, char, index) => {
104
- const corrected = correctionHandler(char, index);
105
- ngDevMode &&
106
- tuiAssert.assert(corrected === null || corrected.length === 1, ASSERTION);
107
- if (!allowed.test(char) && !corrected) {
108
- return result;
109
- }
110
- if (allowed.test(char)) {
111
- return [...result, allowed];
112
- }
113
- if (corrected) {
114
- return [...result, corrected, MASK_CARET_TRAP];
115
- }
116
- return result;
117
- }, []);
118
- const lastIndex = mask.lastIndexOf(MASK_CARET_TRAP);
119
- const filtered = mask.filter((item, index) => item !== MASK_CARET_TRAP || index === lastIndex);
120
- return filtered.some(item => item !== allowed)
121
- ? [...filtered, allowed]
122
- : filtered;
123
- };
124
- }
125
-
126
- const NON_ZERO_DIGIT = /[1-9]/;
127
- function preventLeadingZeroes(mask, isOnlyZeroDigit = false, leadingZerosAmount = 0) {
128
- if (isOnlyZeroDigit || leadingZerosAmount === 0) {
129
- return mask;
130
- }
131
- const firstDigitIndex = mask.indexOf(TUI_DIGIT_REGEXP);
132
- if (firstDigitIndex === -1) {
133
- return mask;
134
- }
135
- const secondMaskDigit = mask[firstDigitIndex + 1];
136
- const isCaretTrap = secondMaskDigit === MASK_CARET_TRAP;
137
- if (isCaretTrap && leadingZerosAmount === 1) {
138
- return mask;
139
- }
140
- if (isCaretTrap) {
141
- mask.unshift(NON_ZERO_DIGIT);
142
- return mask;
143
- }
144
- mask[firstDigitIndex] = NON_ZERO_DIGIT;
145
- return mask;
146
- }
147
- function getDecimalSymbolIndex(str, decimalSymbol, autoCorrectDecimalSymbol) {
148
- if (!autoCorrectDecimalSymbol) {
149
- return str.lastIndexOf(decimalSymbol);
150
- }
151
- return Math.max(str.lastIndexOf(decimalSymbol), str.lastIndexOf(tuiOtherDecimalSymbol(decimalSymbol)));
152
- }
153
- function isDecimalSymbol(str, decimalSymbol, autoCorrectDecimalSymbol) {
154
- if (autoCorrectDecimalSymbol) {
155
- return /^[,.]$/.test(str);
156
- }
157
- return str === decimalSymbol;
158
- }
159
- function convertToMask(strNumber) {
160
- return strNumber
161
- .split(``)
162
- .map(char => (TUI_DIGIT_REGEXP.test(char) ? TUI_DIGIT_REGEXP : char));
163
- }
164
- function addThousandsSeparator(strNumber, thousandSymbol) {
165
- return strNumber.length > 3
166
- ? // TODO: investigate to disallow potentially catastrophic exponential-time regular expressions.
167
- // eslint-disable-next-line unicorn/no-unsafe-regex
168
- strNumber.replace(/\B(?=(\d{3})+(?!\d))/g, thousandSymbol)
169
- : strNumber;
170
- }
171
- /**
172
- * TODO: delete in v4.0
173
- * @deprecated Use {@link https://maskito.dev/kit/number Number} from {@link https://github.com/taiga-family/maskito Maskito} instead <br/>
174
- * Adaptation for {@link https://github.com/text-mask/text-mask/tree/master/addons#createnumbermask `createNumberMask`}
175
- */
176
- function tuiCreateNumberMask({ allowDecimal = false, decimalSymbol = `,`, thousandSymbol = CHAR_NO_BREAK_SPACE, autoCorrectDecimalSymbol = true, decimalLimit = 2, requireDecimal = false, allowNegative = false, integerLimit = 0, } = {}) {
177
- ngDevMode && tuiAssert.assert(decimalLimit >= 0);
178
- ngDevMode && tuiAssert.assert(Number.isInteger(integerLimit));
179
- ngDevMode && tuiAssert.assert(integerLimit >= 0);
180
- return (rawValue, { previousConformedValue }) => {
181
- if (previousConformedValue && requireDecimal) {
182
- const conformedWithoutSeparator = rawValue.split(thousandSymbol).join(``);
183
- const previousConformedValueWithoutDecimalSymbolAndSeparator = previousConformedValue
184
- .split(thousandSymbol)
185
- .join(``)
186
- .split(decimalSymbol)
187
- .join(``);
188
- // Forbid removal of decimal separator if decimal part is required
189
- if (conformedWithoutSeparator ===
190
- previousConformedValueWithoutDecimalSymbolAndSeparator) {
191
- rawValue = previousConformedValue;
192
- }
193
- }
194
- const isNegative = ((rawValue === null || rawValue === void 0 ? void 0 : rawValue.startsWith(CHAR_HYPHEN)) || (rawValue === null || rawValue === void 0 ? void 0 : rawValue.startsWith(CHAR_EN_DASH))) &&
195
- allowNegative;
196
- if (isDecimalSymbol(rawValue, decimalSymbol, autoCorrectDecimalSymbol) &&
197
- allowDecimal) {
198
- return [`0`, decimalSymbol, TUI_DIGIT_REGEXP];
199
- }
200
- if (isNegative) {
201
- rawValue = rawValue.slice(1);
202
- }
203
- const decimalIndex = getDecimalSymbolIndex(rawValue, decimalSymbol, autoCorrectDecimalSymbol);
204
- const hasDecimal = decimalIndex !== -1;
205
- const integer = hasDecimal ? rawValue.slice(0, decimalIndex) : rawValue;
206
- const thousandSeparators = integer.match(new RegExp(thousandSymbol, `g`)) || [];
207
- const integerCapped = integerLimit
208
- ? integer.slice(0, integerLimit + thousandSeparators.length)
209
- : integer;
210
- const integerCappedClean = integerCapped.replace(TUI_NON_DIGITS_REGEXP, ``);
211
- const [leadingZerosMatch] = integerCappedClean.match(TUI_LEADING_ZEROES_REGEXP) || [``];
212
- const leadingZerosAmount = leadingZerosMatch.length;
213
- const integerCappedZerosClean = integerCappedClean
214
- .replace(/^0+(?!\.|$)/, ``)
215
- .trim();
216
- const withSeparator = addThousandsSeparator(integerCappedZerosClean, thousandSymbol);
217
- const mask = convertToMask(withSeparator);
218
- if ((hasDecimal && allowDecimal) || requireDecimal) {
219
- const fraction = hasDecimal
220
- ? convertToMask(rawValue.slice(decimalIndex + 1).replace(TUI_NON_DIGITS_REGEXP, ``))
221
- : [];
222
- const fractionCapped = decimalLimit
223
- ? fraction.slice(0, decimalLimit)
224
- : fraction;
225
- if (rawValue[decimalIndex] !== tuiOtherDecimalSymbol(decimalSymbol)) {
226
- mask.push(MASK_CARET_TRAP);
227
- }
228
- mask.push(decimalSymbol, MASK_CARET_TRAP, ...fractionCapped);
229
- for (let i = 0; i < Math.min(decimalLimit - fractionCapped.length, 20); i++) {
230
- mask.push(TUI_DIGIT_REGEXP);
231
- }
232
- }
233
- const isOnlyZeroDigit = mask.length === 1 && integerCappedZerosClean === `0`;
234
- if (isNegative) {
235
- if (mask.length === 0) {
236
- mask.push(TUI_DIGIT_REGEXP);
237
- }
238
- mask.unshift(CHAR_HYPHEN);
239
- }
240
- return preventLeadingZeroes(mask, isOnlyZeroDigit, leadingZerosAmount);
241
- };
242
- }
243
-
244
- /**
245
- * TODO: delete in v4.0
246
- * @deprecated Use {@link https://maskito.dev/kit/number Number} from {@link https://github.com/taiga-family/maskito Maskito} instead
247
- */
248
- function tuiEnableAutoCorrectDecimalSymbol({ thousandSeparator, }) {
249
- return !TUI_DECIMAL_SYMBOLS.includes(thousandSeparator);
250
- }
251
-
252
- /**
253
- * TODO: delete in v4.0
254
- * @deprecated use {@link https://maskito.dev/kit/number maskitoParseNumber} instead
255
- * ```ts
256
- * Number.isNaN(maskitoParseNumber(value, decimalSeparator))
257
- * ```
258
- */
259
- function tuiMaskedMoneyValueIsEmpty(value) {
260
- switch (value) {
261
- case ``:
262
- case CHAR_HYPHEN:
263
- case `,`:
264
- case `${CHAR_HYPHEN},`:
265
- return true;
266
- default:
267
- return false;
268
- }
269
- }
270
-
271
- /**
272
- * TODO: delete in v4.0
273
- * @deprecated use {@link https://maskito.dev/kit/number maskitoParseNumber} instead
274
- */
275
- function tuiMaskedNumberStringToNumber(value, decimalsSymbol, thousandSymbol) {
276
- return parseFloat(value.split(thousandSymbol).join(``).split(decimalsSymbol).join(`.`));
277
- }
278
-
279
- /**
280
- * Generated bundle index. Do not edit.
281
- */
282
-
283
- export { tuiCreateAutoCorrectedNumberPipe, tuiCreateCorrectionMask, tuiCreateNumberMask, tuiEnableAutoCorrectDecimalSymbol, tuiMaskedMoneyValueIsEmpty, tuiMaskedNumberStringToNumber };
284
- //# sourceMappingURL=taiga-ui-core-utils-mask.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-utils-mask.js","sources":["../../../projects/core/utils/mask/create-auto-corrected-money-pipe.ts","../../../projects/core/utils/mask/create-correction-mask.ts","../../../projects/core/utils/mask/create-number-mask.ts","../../../projects/core/utils/mask/enable-auto-correct-decimal-symbol.ts","../../../projects/core/utils/mask/masked-money-value-is-empty.ts","../../../projects/core/utils/mask/masked-number-string-to-number.ts","../../../projects/core/utils/mask/taiga-ui-core-utils-mask.ts"],"sourcesContent":["import {\n CHAR_HYPHEN,\n CHAR_NO_BREAK_SPACE,\n tuiAssert,\n tuiGetDocumentOrShadowRoot,\n tuiIsNativeFocused,\n tuiIsSafari,\n} from '@taiga-ui/cdk';\nimport {TuiTextMaskPipeHandler} from '@taiga-ui/core/mask';\nimport {TuiDecimalSymbol} from '@taiga-ui/core/types';\n\nfunction addDecimalSymbolIfNeeded(\n value: string,\n decimalSymbol: TuiDecimalSymbol = `,`,\n): string {\n return !value.includes(decimalSymbol) ? value + decimalSymbol : value;\n}\n\nfunction calculateSafariCaret(\n previousValue: string = ``,\n current: string,\n previousCaret: number,\n decimalSymbol: string = `,`,\n): number {\n const tailRegex = new RegExp(`${decimalSymbol}.+`);\n const previousWithoutTail = previousValue.replace(tailRegex, ``);\n const currentWithoutTail = current.replace(tailRegex, ``);\n\n const pasteOrCutOperation =\n Math.abs(previousWithoutTail.length - currentWithoutTail.length) > 2;\n\n if (pasteOrCutOperation) {\n return current.length;\n }\n\n if (previousValue.length === current.length) {\n if (previousValue.indexOf(decimalSymbol) <= previousCaret) {\n return calculateChangedTailIndex(previousValue, current);\n }\n\n return previousWithoutTail === currentWithoutTail\n ? previousCaret - 1\n : previousCaret + 1;\n }\n\n if (previousValue.length === 0) {\n return 1;\n }\n\n const changeLength = current.length - previousValue.length;\n\n return previousCaret + changeLength;\n}\n\nfunction calculateChangedTailIndex(previous: string, current: string): number {\n for (let i = 0; i < current.length; i++) {\n if (previous[i] !== current[i]) {\n return current[i] === `0` ? i : i + 1;\n }\n }\n\n return current.length;\n}\n\nfunction calculateCaretGap(\n previousValue: string = ``,\n current: string,\n thousandSymbol: string,\n): number {\n const pasteOrCutOperation = Math.abs(previousValue.length - current.length) > 2;\n\n if (pasteOrCutOperation) {\n return 0;\n }\n\n const wereSpaces = previousValue.split(thousandSymbol).length;\n const nowSpaces = current.split(thousandSymbol).length;\n\n return nowSpaces - wereSpaces;\n}\n\n/**\n * TODO: delete in v4.0\n * @deprecated Use {@link https://maskito.dev/kit/number Number} from {@link https://github.com/taiga-family/maskito Maskito} instead <br/>\n * Used to finish a number with zeros to a given precision\n */\nexport function tuiCreateAutoCorrectedNumberPipe(\n decimalLimit: number = 0,\n decimalSymbol: TuiDecimalSymbol = `,`,\n thousandSymbol: string = CHAR_NO_BREAK_SPACE,\n nativeInput?: HTMLInputElement | null,\n allowNegative?: boolean,\n isIOS = false,\n): TuiTextMaskPipeHandler {\n ngDevMode && tuiAssert.assert(decimalLimit >= 0);\n\n // Guess for which browser I need this :)\n let previousCaret = -1;\n const unlucky = (!!nativeInput && tuiIsSafari(nativeInput)) || isIOS;\n\n if (nativeInput && unlucky) {\n nativeInput.addEventListener(`beforeinput`, () => {\n previousCaret = nativeInput.selectionStart || 0;\n });\n }\n\n return (conformedValue, config) => {\n // Removing everything by selecting and pressing '-'\n if (!conformedValue && config.rawValue === CHAR_HYPHEN && allowNegative) {\n return CHAR_HYPHEN;\n }\n\n // remove these hacks after text mask library has changed\n if (nativeInput && unlucky && tuiIsNativeFocused(nativeInput)) {\n const caret = calculateSafariCaret(\n config.previousConformedValue,\n conformedValue,\n previousCaret,\n );\n\n setTimeout(() => {\n nativeInput.setSelectionRange(caret, caret);\n });\n }\n\n if (\n nativeInput &&\n nativeInput.ownerDocument !== tuiGetDocumentOrShadowRoot(nativeInput) &&\n tuiIsNativeFocused(nativeInput) &&\n config.currentCaretPosition\n ) {\n const realCaretPosition =\n config.currentCaretPosition +\n calculateCaretGap(\n config.previousConformedValue,\n conformedValue,\n thousandSymbol,\n );\n\n setTimeout(() => {\n nativeInput.setSelectionRange(realCaretPosition, realCaretPosition);\n });\n }\n\n if (conformedValue === `` || !decimalLimit || !Number.isInteger(decimalLimit)) {\n return {value: conformedValue};\n }\n\n const withDecimalSymbol = addDecimalSymbolIfNeeded(conformedValue, decimalSymbol);\n const decimalPart = withDecimalSymbol.split(decimalSymbol)[1];\n const zeroPaddingSize = decimalLimit - decimalPart.length;\n\n return {\n value: withDecimalSymbol + `0`.repeat(zeroPaddingSize),\n };\n };\n}\n","import {tuiAssert} from '@taiga-ui/cdk';\nimport {MASK_CARET_TRAP} from '@taiga-ui/core/constants';\nimport {\n TuiTextMaskCorrectionHandler,\n TuiTextMaskList,\n TuiTextMaskListHandler,\n} from '@taiga-ui/core/mask';\n\nconst ASSERTION = `Correction function must return single char or null`;\n\n/**\n * TODO: delete in v4.0\n * @deprecated Use {@link https://maskito.dev/core-concepts/processors processors} from {@link https://github.com/taiga-family/maskito Maskito}\n */\nexport function tuiCreateCorrectionMask(\n allowed: RegExp,\n correctionHandler: TuiTextMaskCorrectionHandler,\n): TuiTextMaskListHandler {\n return rawValue => {\n const mask = rawValue.split(``).reduce<TuiTextMaskList>((result, char, index) => {\n const corrected = correctionHandler(char, index);\n\n ngDevMode &&\n tuiAssert.assert(corrected === null || corrected.length === 1, ASSERTION);\n\n if (!allowed.test(char) && !corrected) {\n return result;\n }\n\n if (allowed.test(char)) {\n return [...result, allowed];\n }\n\n if (corrected) {\n return [...result, corrected, MASK_CARET_TRAP];\n }\n\n return result;\n }, []);\n const lastIndex = mask.lastIndexOf(MASK_CARET_TRAP);\n const filtered = mask.filter(\n (item, index) => item !== MASK_CARET_TRAP || index === lastIndex,\n );\n\n return filtered.some(item => item !== allowed)\n ? [...filtered, allowed]\n : filtered;\n };\n}\n","import {CHAR_EN_DASH, CHAR_HYPHEN, CHAR_NO_BREAK_SPACE, tuiAssert} from '@taiga-ui/cdk';\nimport {\n MASK_CARET_TRAP,\n TUI_DIGIT_REGEXP,\n TUI_LEADING_ZEROES_REGEXP,\n TUI_NON_DIGITS_REGEXP,\n} from '@taiga-ui/core/constants';\nimport {TuiNumberMaskOptions, TuiTextMaskListHandler} from '@taiga-ui/core/mask';\nimport {TuiDecimalSymbol} from '@taiga-ui/core/types';\nimport {tuiOtherDecimalSymbol} from '@taiga-ui/core/utils/format';\n\nconst NON_ZERO_DIGIT = /[1-9]/;\n\nfunction preventLeadingZeroes(\n mask: Array<RegExp | string>,\n isOnlyZeroDigit: boolean = false,\n leadingZerosAmount: number = 0,\n): Array<RegExp | string> {\n if (isOnlyZeroDigit || leadingZerosAmount === 0) {\n return mask;\n }\n\n const firstDigitIndex = mask.indexOf(TUI_DIGIT_REGEXP);\n\n if (firstDigitIndex === -1) {\n return mask;\n }\n\n const secondMaskDigit = mask[firstDigitIndex + 1];\n const isCaretTrap = secondMaskDigit === MASK_CARET_TRAP;\n\n if (isCaretTrap && leadingZerosAmount === 1) {\n return mask;\n }\n\n if (isCaretTrap) {\n mask.unshift(NON_ZERO_DIGIT);\n\n return mask;\n }\n\n mask[firstDigitIndex] = NON_ZERO_DIGIT;\n\n return mask;\n}\n\nfunction getDecimalSymbolIndex(\n str: string,\n decimalSymbol: TuiDecimalSymbol,\n autoCorrectDecimalSymbol: boolean,\n): number {\n if (!autoCorrectDecimalSymbol) {\n return str.lastIndexOf(decimalSymbol);\n }\n\n return Math.max(\n str.lastIndexOf(decimalSymbol),\n str.lastIndexOf(tuiOtherDecimalSymbol(decimalSymbol)),\n );\n}\n\nfunction isDecimalSymbol(\n str: string,\n decimalSymbol: TuiDecimalSymbol,\n autoCorrectDecimalSymbol: boolean,\n): boolean {\n if (autoCorrectDecimalSymbol) {\n return /^[,.]$/.test(str);\n }\n\n return str === decimalSymbol;\n}\n\nfunction convertToMask(strNumber: string): Array<RegExp | string> {\n return strNumber\n .split(``)\n .map(char => (TUI_DIGIT_REGEXP.test(char) ? TUI_DIGIT_REGEXP : char));\n}\n\nfunction addThousandsSeparator(strNumber: string, thousandSymbol: string): string {\n return strNumber.length > 3\n ? // TODO: investigate to disallow potentially catastrophic exponential-time regular expressions.\n // eslint-disable-next-line unicorn/no-unsafe-regex\n strNumber.replace(/\\B(?=(\\d{3})+(?!\\d))/g, thousandSymbol)\n : strNumber;\n}\n\n/**\n * TODO: delete in v4.0\n * @deprecated Use {@link https://maskito.dev/kit/number Number} from {@link https://github.com/taiga-family/maskito Maskito} instead <br/>\n * Adaptation for {@link https://github.com/text-mask/text-mask/tree/master/addons#createnumbermask `createNumberMask`}\n */\nexport function tuiCreateNumberMask({\n allowDecimal = false,\n decimalSymbol = `,`,\n thousandSymbol = CHAR_NO_BREAK_SPACE,\n autoCorrectDecimalSymbol = true,\n decimalLimit = 2,\n requireDecimal = false,\n allowNegative = false,\n integerLimit = 0,\n}: TuiNumberMaskOptions = {}): TuiTextMaskListHandler {\n ngDevMode && tuiAssert.assert(decimalLimit >= 0);\n ngDevMode && tuiAssert.assert(Number.isInteger(integerLimit));\n ngDevMode && tuiAssert.assert(integerLimit >= 0);\n\n return (rawValue, {previousConformedValue}) => {\n if (previousConformedValue && requireDecimal) {\n const conformedWithoutSeparator = rawValue.split(thousandSymbol).join(``);\n const previousConformedValueWithoutDecimalSymbolAndSeparator =\n previousConformedValue\n .split(thousandSymbol)\n .join(``)\n .split(decimalSymbol)\n .join(``);\n\n // Forbid removal of decimal separator if decimal part is required\n if (\n conformedWithoutSeparator ===\n previousConformedValueWithoutDecimalSymbolAndSeparator\n ) {\n rawValue = previousConformedValue;\n }\n }\n\n const isNegative =\n (rawValue?.startsWith(CHAR_HYPHEN) || rawValue?.startsWith(CHAR_EN_DASH)) &&\n allowNegative;\n\n if (\n isDecimalSymbol(rawValue, decimalSymbol, autoCorrectDecimalSymbol) &&\n allowDecimal\n ) {\n return [`0`, decimalSymbol, TUI_DIGIT_REGEXP];\n }\n\n if (isNegative) {\n rawValue = rawValue.slice(1);\n }\n\n const decimalIndex = getDecimalSymbolIndex(\n rawValue,\n decimalSymbol,\n autoCorrectDecimalSymbol,\n );\n const hasDecimal = decimalIndex !== -1;\n const integer = hasDecimal ? rawValue.slice(0, decimalIndex) : rawValue;\n const thousandSeparators = integer.match(new RegExp(thousandSymbol, `g`)) || [];\n const integerCapped = integerLimit\n ? integer.slice(0, integerLimit + thousandSeparators.length)\n : integer;\n const integerCappedClean = integerCapped.replace(TUI_NON_DIGITS_REGEXP, ``);\n const [leadingZerosMatch] = integerCappedClean.match(\n TUI_LEADING_ZEROES_REGEXP,\n ) || [``];\n const leadingZerosAmount = leadingZerosMatch.length;\n const integerCappedZerosClean = integerCappedClean\n .replace(/^0+(?!\\.|$)/, ``)\n .trim();\n const withSeparator = addThousandsSeparator(\n integerCappedZerosClean,\n thousandSymbol,\n );\n const mask = convertToMask(withSeparator);\n\n if ((hasDecimal && allowDecimal) || requireDecimal) {\n const fraction = hasDecimal\n ? convertToMask(\n rawValue.slice(decimalIndex + 1).replace(TUI_NON_DIGITS_REGEXP, ``),\n )\n : [];\n const fractionCapped = decimalLimit\n ? fraction.slice(0, decimalLimit)\n : fraction;\n\n if (rawValue[decimalIndex] !== tuiOtherDecimalSymbol(decimalSymbol)) {\n mask.push(MASK_CARET_TRAP);\n }\n\n mask.push(decimalSymbol, MASK_CARET_TRAP, ...fractionCapped);\n\n for (let i = 0; i < Math.min(decimalLimit - fractionCapped.length, 20); i++) {\n mask.push(TUI_DIGIT_REGEXP);\n }\n }\n\n const isOnlyZeroDigit = mask.length === 1 && integerCappedZerosClean === `0`;\n\n if (isNegative) {\n if (mask.length === 0) {\n mask.push(TUI_DIGIT_REGEXP);\n }\n\n mask.unshift(CHAR_HYPHEN);\n }\n\n return preventLeadingZeroes(mask, isOnlyZeroDigit, leadingZerosAmount);\n };\n}\n","import {TUI_DECIMAL_SYMBOLS} from '@taiga-ui/core/constants';\nimport {TuiNumberFormatSettings} from '@taiga-ui/core/interfaces';\n\n/**\n * TODO: delete in v4.0\n * @deprecated Use {@link https://maskito.dev/kit/number Number} from {@link https://github.com/taiga-family/maskito Maskito} instead\n */\nexport function tuiEnableAutoCorrectDecimalSymbol({\n thousandSeparator,\n}: TuiNumberFormatSettings): boolean {\n return !TUI_DECIMAL_SYMBOLS.includes(thousandSeparator);\n}\n","import {CHAR_HYPHEN} from '@taiga-ui/cdk';\n\n/**\n * TODO: delete in v4.0\n * @deprecated use {@link https://maskito.dev/kit/number maskitoParseNumber} instead\n * ```ts\n * Number.isNaN(maskitoParseNumber(value, decimalSeparator))\n * ```\n */\nexport function tuiMaskedMoneyValueIsEmpty(value: string): boolean {\n switch (value) {\n case ``:\n case CHAR_HYPHEN:\n case `,`:\n case `${CHAR_HYPHEN},`:\n return true;\n default:\n return false;\n }\n}\n","import {TuiDecimalSymbol} from '@taiga-ui/core/types';\n\n/**\n * TODO: delete in v4.0\n * @deprecated use {@link https://maskito.dev/kit/number maskitoParseNumber} instead\n */\nexport function tuiMaskedNumberStringToNumber(\n value: string,\n decimalsSymbol: TuiDecimalSymbol,\n thousandSymbol: string,\n): number {\n return parseFloat(\n value.split(thousand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;QAED,OAAO,oBAAoB,CAAC,IAAI,EAAE,eAAe,EAAE,kBAAkB,CAAC,CAAC;AAC3E,KAAC,CAAC;AACN;;ACnMA;;;AAGG;AACa,SAAA,iCAAiC,CAAC,EAC9C,iBAAiB,GACK,EAAA;AACtB,IAAA,OAAO,CAAC,mBAAmB,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC;AAC5D;;ACTA;;;;;;AAMG;AACG,SAAU,0BAA0B,CAAC,KAAa,EAAA;AACpD,IAAA,QAAQ,KAAK;AACT,QAAA,KAAK,EAAE,CAAC;AACR,QAAA,KAAK,WAAW,CAAC;AACjB,QAAA,KAAK,GAAG,CAAC;QACT,KAAK,CAAA,EAAG,WAAW,CAAG,CAAA,CAAA;AAClB,YAAA,OAAO,IAAI,CAAC;AAChB,QAAA;AACI,YAAA,OAAO,KAAK,CAAC;AACpB,KAAA;AACL;;ACjBA;;;AAGG;SACa,6BAA6B,CACzC,KAAa,EACb,cAAgC,EAChC,cAAsB,EAAA;IAEtB,OAAO,UAAU,CACb,KAAK,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,IAAI,CAAC,CAAA,CAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,IAAI,CAAC,CAAA,CAAA,CAAG,CAAC,CACvE,CAAC;AACN;;ACdA;;AAEG;;;;"}
@@ -1,89 +0,0 @@
1
- import { TUI_CACHE_BUSTING_PAYLOAD, DEFAULT_ICONS_PATH, tuiEditingKeys } from '@taiga-ui/core/constants';
2
- import { tuiGetElementObscures } from '@taiga-ui/cdk';
3
-
4
- const ITEM_SIZE = 1.5;
5
- const CONTENT_SIZE = 2.5;
6
- function tuiGetBorder(hasIcon, hasCleaner = false, hasTooltip = false, hasContent = false, size = `m`) {
7
- const offset = size === `s` ? 0 : 0.25;
8
- let border = 0;
9
- if (hasIcon) {
10
- border += ITEM_SIZE + offset;
11
- }
12
- if (hasCleaner) {
13
- border += ITEM_SIZE + offset;
14
- }
15
- if (hasTooltip) {
16
- border += ITEM_SIZE + offset;
17
- }
18
- if (hasContent) {
19
- border += CONTENT_SIZE + offset;
20
- }
21
- return border;
22
- }
23
-
24
- function tuiIconsPathFactory(staticPath) {
25
- const base = staticPath.endsWith(`/`) ? staticPath : `${staticPath}/`;
26
- return name => {
27
- if (name.startsWith(`tuiIcon`)) {
28
- return `${base}${name}.svg${TUI_CACHE_BUSTING_PAYLOAD}#${name}`;
29
- }
30
- return DEFAULT_ICONS_PATH(name);
31
- };
32
- }
33
-
34
- /**
35
- * Check if pressed key is interactive in terms of input field
36
- */
37
- function tuiIsEditingKey(key) {
38
- return key.length === 1 || tuiEditingKeys.includes(key);
39
- }
40
-
41
- /**
42
- * @internal
43
- */
44
- function tuiIsObscured(el, exceptSelector = `tui-hints-host`) {
45
- var _a;
46
- return !!((_a = tuiGetElementObscures(el)) === null || _a === void 0 ? void 0 : _a.some(el => !el.closest(exceptSelector)));
47
- }
48
-
49
- function tuiIsPresumedHTMLString(candidate) {
50
- const trimmed = candidate.trim();
51
- return trimmed.startsWith(`<`) && trimmed.endsWith(`>`);
52
- }
53
-
54
- function tuiOverrideOptions(override, fallback) {
55
- return (directive, options) => {
56
- const result = directive || Object.assign({}, (options || fallback));
57
- Object.keys(override).forEach(key => {
58
- // Update directive props with new defaults before inputs are processed
59
- result[key] = override[key];
60
- });
61
- return result;
62
- };
63
- }
64
-
65
- const SIZES = {
66
- xxs: 0,
67
- xs: 1,
68
- s: 2,
69
- m: 3,
70
- l: 4,
71
- xl: 5,
72
- xxl: 6,
73
- };
74
- /**
75
- * Compares size constants to determine if first size is bigger than the second
76
- *
77
- * @param size size that we need to compare
78
- * @param biggerThanSize size to compare with, 's' by default
79
- */
80
- function tuiSizeBigger(size, biggerThanSize = `s`) {
81
- return SIZES[size] > SIZES[biggerThanSize];
82
- }
83
-
84
- /**
85
- * Generated bundle index. Do not edit.
86
- */
87
-
88
- export { tuiGetBorder, tuiIconsPathFactory, tuiIsEditingKey, tuiIsObscured, tuiIsPresumedHTMLString, tuiOverrideOptions, tuiSizeBigger };
89
- //# sourceMappingURL=taiga-ui-core-utils-miscellaneous.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-utils-miscellaneous.js","sources":["../../../projects/core/utils/miscellaneous/get-border.ts","../../../projects/core/utils/miscellaneous/icons-path-factory.ts","../../../projects/core/utils/miscellaneous/is-editing-key.ts","../../../projects/core/utils/miscellaneous/is-obscured.ts","../../../projects/core/utils/miscellaneous/is-presumed-html-string.ts","../../../projects/core/utils/miscellaneous/override-options.ts","../../../projects/core/utils/miscellaneous/size-bigger.ts","../../../projects/core/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.ts"],"sourcesContent":["import {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\n\nconst ITEM_SIZE = 1.5;\nconst CONTENT_SIZE = 2.5;\n\nexport function tuiGetBorder(\n hasIcon: boolean,\n hasCleaner: boolean = false,\n hasTooltip: boolean = false,\n hasContent: boolean = false,\n size: TuiSizeL | TuiSizeS = `m`,\n): number {\n const offset = size === `s` ? 0 : 0.25;\n let border = 0;\n\n if (hasIcon) {\n border += ITEM_SIZE + offset;\n }\n\n if (hasCleaner) {\n border += ITEM_SIZE + offset;\n }\n\n if (hasTooltip) {\n border += ITEM_SIZE + offset;\n }\n\n if (hasContent) {\n border += CONTENT_SIZE + offset;\n }\n\n return border;\n}\n","import {TuiStringHandler} from '@taiga-ui/cdk';\nimport {DEFAULT_ICONS_PATH, TUI_CACHE_BUSTING_PAYLOAD} from '@taiga-ui/core/constants';\n\nexport function tuiIconsPathFactory(staticPath: string): TuiStringHandler<string> {\n const base = staticPath.endsWith(`/`) ? staticPath : `${staticPath}/`;\n\n return name => {\n if (name.startsWith(`tuiIcon`)) {\n return `${base}${name}.svg${TUI_CACHE_BUSTING_PAYLOAD}#${name}`;\n }\n\n return DEFAULT_ICONS_PATH(name);\n };\n}\n","import {tuiEditingKeys} from '@taiga-ui/core/constants';\n\n/**\n * Check if pressed key is interactive in terms of input field\n */\nexport function tuiIsEditingKey(key: string): boolean {\n return key.length === 1 || tuiEditingKeys.includes(key);\n}\n","import {tuiGetElementObscures} from '@taiga-ui/cdk';\n\n/**\n * @internal\n */\nexport function tuiIsObscured(\n el: HTMLElement,\n exceptSelector = `tui-hints-host`,\n): boolean {\n return !!tuiGetElementObscures(el)?.some(el => !el.closest(exceptSelector));\n}\n","export function tuiIsPresumedHTMLString(candidate: string): boolean {\n const trimmed = candidate.trim();\n\n return trimmed.startsWith(`<`) && trimmed.endsWith(`>`);\n}\n","export function tuiOverrideOptions<T>(\n override: Partial<T>,\n fallback: T,\n): (directive: T | null, options: T | null) => T {\n return (directive, options) => {\n const result = directive || {...(options || fallback)};\n\n Object.keys(override).forEach(key => {\n // Update directive props with new defaults before inputs are processed\n (result as any)[key] = override[key as keyof T];\n });\n\n return result;\n };\n}\n","import {TuiSizeXXL, TuiSizeXXS} from '@taiga-ui/core/types';\n\nconst SIZES: Record<TuiSizeXXL | TuiSizeXXS, number> = {\n xxs: 0,\n xs: 1,\n s: 2,\n m: 3,\n l: 4,\n xl: 5,\n xxl: 6,\n};\n\n/**\n * Compares size constants to determine if first size is bigger than the second\n *\n * @param size size that we need to compare\n * @param biggerThanSize size to compare with, 's' by default\n */\nexport function tuiSizeBigger(\n size: TuiSizeXXL | TuiSizeXXS,\n biggerThanSize: TuiSizeXXL | TuiSizeXXS = `s`,\n): boolean {\n return SIZES[size] > SIZES[biggerThanSize];\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA,MAAM,SAAS,GAAG,GAAG,CAAC;AACtB,MAAM,YAAY,GAAG,GAAG,CAAC;AAET,SAAA,YAAY,CACxB,OAAgB,EAChB,UAAsB,GAAA,KAAK,EAC3B,UAAA,GAAsB,KAAK,EAC3B,UAAA,GAAsB,KAAK,EAC3B,OAA4B,CAAG,CAAA,CAAA,EAAA;AAE/B,IAAA,MAAM,MAAM,GAAG,IAAI,KAAK,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;;ACvBA;;AAEG;;;;"}
@@ -1,12 +0,0 @@
1
- import { tuiGetViewportWidth } from '@taiga-ui/core/utils/dom';
2
-
3
- function tuiIsMobile(win, { mobile }) {
4
- return tuiGetViewportWidth(win) < mobile;
5
- }
6
-
7
- /**
8
- * Generated bundle index. Do not edit.
9
- */
10
-
11
- export { tuiIsMobile };
12
- //# sourceMappingURL=taiga-ui-core-utils-mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-utils-mobile.js","sources":["../../../projects/core/utils/mobile/is-mobile.ts","../../../projects/core/utils/mobile/taiga-ui-core-utils-mobile.ts"],"sourcesContent":["import {TuiMedia} from '@taiga-ui/core/interfaces';\nimport {tuiGetViewportWidth} from '@taiga-ui/core/utils/dom';\n\nexport function tuiIsMobile(win: Window, {mobile}: TuiMedia): boolean {\n return tuiGetViewportWidth(win) < mobile;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;SAGgB,WAAW,CAAC,GAAW,EAAE,EAAC,MAAM,EAAW,EAAA;AACvD,IAAA,OAAO,mBAAmB,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC;AAC7C;;ACLA;;AAEG;;;;"}
@@ -1,10 +0,0 @@
1
- export * from '@taiga-ui/core/utils/dom';
2
- export * from '@taiga-ui/core/utils/format';
3
- export * from '@taiga-ui/core/utils/mask';
4
- export * from '@taiga-ui/core/utils/miscellaneous';
5
- export * from '@taiga-ui/core/utils/mobile';
6
-
7
- /**
8
- * Generated bundle index. Do not edit.
9
- */
10
- //# sourceMappingURL=taiga-ui-core-utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-utils.js","sources":["../../../projects/core/utils/taiga-ui-core-utils.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;;AAEG"}