@taiga-ui/legacy 4.52.0-canary.6c67ccf → 4.52.0-canary.811ffeb

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 (290) hide show
  1. package/README.md +1 -1
  2. package/classes/abstract-textfield-host.d.ts +1 -1
  3. package/components/arrow/arrow.options.d.ts +1 -3
  4. package/components/arrow/arrow.providers.d.ts +1 -6
  5. package/components/dialog/dialog.component.d.ts +19 -0
  6. package/components/dialog/dialog.directive.d.ts +8 -0
  7. package/components/dialog/dialog.factory.d.ts +16 -0
  8. package/components/dialog/dialog.interfaces.d.ts +30 -0
  9. package/components/dialog/dialog.service.d.ts +10 -0
  10. package/components/dialog/dialog.tokens.d.ts +6 -0
  11. package/components/dialog/index.d.ts +6 -0
  12. package/components/index.d.ts +3 -28
  13. package/components/mobile-dialog/index.d.ts +3 -0
  14. package/components/mobile-dialog/mobile-dialog.component.d.ts +10 -0
  15. package/components/mobile-dialog/mobile-dialog.options.d.ts +10 -0
  16. package/components/mobile-dialog/mobile-dialog.service.d.ts +14 -0
  17. package/components/pdf-viewer/index.d.ts +4 -0
  18. package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
  19. package/components/pdf-viewer/pdf-viewer.directive.d.ts +8 -0
  20. package/components/pdf-viewer/pdf-viewer.options.d.ts +11 -0
  21. package/components/pdf-viewer/pdf-viewer.service.d.ts +17 -0
  22. package/components/primitive-textfield/primitive-textfield-options.d.ts +2 -2
  23. package/components/primitive-textfield/primitive-textfield.module.d.ts +5 -5
  24. package/components/select/select.module.d.ts +8 -8
  25. package/components/select/select.options.d.ts +1 -7
  26. package/components/select-option/select-option.module.d.ts +3 -3
  27. package/directives/textfield-controller/textfield.options.d.ts +1 -3
  28. package/fesm2022/taiga-ui-legacy-classes.mjs +3 -4
  29. package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +4 -17
  31. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +136 -0
  33. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  34. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +62 -0
  35. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -0
  36. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +88 -0
  37. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
  38. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +18 -18
  39. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +6 -6
  41. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-legacy-components-select.mjs +30 -40
  43. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-legacy-components.mjs +3 -28
  45. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -1
  47. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +2 -7
  49. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +2 -4
  51. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-legacy-tokens.mjs +1 -1
  53. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-legacy-utils.mjs +1 -7
  55. package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-legacy.mjs +0 -2
  57. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  58. package/index.d.ts +0 -2
  59. package/package.json +34 -151
  60. package/utils/icons-path-factory.d.ts +1 -1
  61. package/utils/index.d.ts +0 -1
  62. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  63. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  64. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  65. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  66. package/components/color-selector/color-selector.component.d.ts +0 -47
  67. package/components/color-selector/color-selector.module.d.ts +0 -24
  68. package/components/color-selector/color-selector.options.d.ts +0 -25
  69. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  70. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  71. package/components/color-selector/index.d.ts +0 -16
  72. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  73. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  74. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  75. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  76. package/components/color-selector/palette/palette.component.d.ts +0 -10
  77. package/components/color-selector/palette/palette.module.d.ts +0 -13
  78. package/components/color-selector/services/picker.service.d.ts +0 -15
  79. package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
  80. package/components/combo-box/combo-box.component.d.ts +0 -52
  81. package/components/combo-box/combo-box.directive.d.ts +0 -13
  82. package/components/combo-box/combo-box.module.d.ts +0 -20
  83. package/components/combo-box/index.d.ts +0 -4
  84. package/components/input/index.d.ts +0 -3
  85. package/components/input/input.component.d.ts +0 -32
  86. package/components/input/input.directive.d.ts +0 -12
  87. package/components/input/input.module.d.ts +0 -16
  88. package/components/input-color/index.d.ts +0 -2
  89. package/components/input-color/input-color.component.d.ts +0 -30
  90. package/components/input-color/input-color.module.d.ts +0 -17
  91. package/components/input-copy/index.d.ts +0 -4
  92. package/components/input-copy/input-copy.component.d.ts +0 -33
  93. package/components/input-copy/input-copy.directive.d.ts +0 -11
  94. package/components/input-copy/input-copy.module.d.ts +0 -18
  95. package/components/input-copy/input-copy.options.d.ts +0 -26
  96. package/components/input-date/index.d.ts +0 -3
  97. package/components/input-date/input-date.component.d.ts +0 -62
  98. package/components/input-date/input-date.directive.d.ts +0 -19
  99. package/components/input-date/input-date.module.d.ts +0 -24
  100. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  101. package/components/input-date-multi/index.d.ts +0 -2
  102. package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
  103. package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
  104. package/components/input-date-range/index.d.ts +0 -3
  105. package/components/input-date-range/input-date-range.component.d.ts +0 -67
  106. package/components/input-date-range/input-date-range.directive.d.ts +0 -16
  107. package/components/input-date-range/input-date-range.module.d.ts +0 -22
  108. package/components/input-date-time/index.d.ts +0 -3
  109. package/components/input-date-time/input-date-time.component.d.ts +0 -87
  110. package/components/input-date-time/input-date-time.directive.d.ts +0 -17
  111. package/components/input-date-time/input-date-time.module.d.ts +0 -23
  112. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
  113. package/components/input-month/index.d.ts +0 -3
  114. package/components/input-month/input-month.component.d.ts +0 -44
  115. package/components/input-month/input-month.directive.d.ts +0 -19
  116. package/components/input-month/input-month.module.d.ts +0 -19
  117. package/components/input-month-range/index.d.ts +0 -3
  118. package/components/input-month-range/input-month-range.component.d.ts +0 -38
  119. package/components/input-month-range/input-month-range.directive.d.ts +0 -23
  120. package/components/input-month-range/input-month-range.module.d.ts +0 -18
  121. package/components/input-number/index.d.ts +0 -4
  122. package/components/input-number/input-number.component.d.ts +0 -63
  123. package/components/input-number/input-number.directive.d.ts +0 -16
  124. package/components/input-number/input-number.module.d.ts +0 -18
  125. package/components/input-number/input-number.options.d.ts +0 -29
  126. package/components/input-password/index.d.ts +0 -4
  127. package/components/input-password/input-password.component.d.ts +0 -33
  128. package/components/input-password/input-password.directive.d.ts +0 -15
  129. package/components/input-password/input-password.module.d.ts +0 -19
  130. package/components/input-password/input-password.options.d.ts +0 -25
  131. package/components/input-phone/index.d.ts +0 -4
  132. package/components/input-phone/input-phone.component.d.ts +0 -49
  133. package/components/input-phone/input-phone.directive.d.ts +0 -13
  134. package/components/input-phone/input-phone.module.d.ts +0 -12
  135. package/components/input-phone/input-phone.options.d.ts +0 -13
  136. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  137. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  138. package/components/input-phone/utils/index.d.ts +0 -2
  139. package/components/input-phone-international/index.d.ts +0 -3
  140. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  141. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  142. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  143. package/components/input-range/index.d.ts +0 -2
  144. package/components/input-range/input-range.component.d.ts +0 -56
  145. package/components/input-range/input-range.module.d.ts +0 -19
  146. package/components/input-slider/index.d.ts +0 -2
  147. package/components/input-slider/input-slider.component.d.ts +0 -42
  148. package/components/input-slider/input-slider.module.d.ts +0 -18
  149. package/components/input-tag/index.d.ts +0 -3
  150. package/components/input-tag/input-tag.component.d.ts +0 -103
  151. package/components/input-tag/input-tag.module.d.ts +0 -22
  152. package/components/input-tag/input-tag.options.d.ts +0 -27
  153. package/components/input-time/index.d.ts +0 -4
  154. package/components/input-time/input-time.component.d.ts +0 -62
  155. package/components/input-time/input-time.directive.d.ts +0 -17
  156. package/components/input-time/input-time.module.d.ts +0 -23
  157. package/components/input-time/input-time.options.d.ts +0 -42
  158. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  159. package/components/input-year/index.d.ts +0 -3
  160. package/components/input-year/input-year.component.d.ts +0 -36
  161. package/components/input-year/input-year.directive.d.ts +0 -14
  162. package/components/input-year/input-year.module.d.ts +0 -18
  163. package/components/island/index.d.ts +0 -1
  164. package/components/island/island.directive.d.ts +0 -20
  165. package/components/multi-select/hide-selected.pipe.d.ts +0 -11
  166. package/components/multi-select/index.d.ts +0 -10
  167. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
  168. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  169. package/components/multi-select/multi-select.component.d.ts +0 -71
  170. package/components/multi-select/multi-select.directive.d.ts +0 -14
  171. package/components/multi-select/multi-select.module.d.ts +0 -31
  172. package/components/multi-select/multi-select.options.d.ts +0 -14
  173. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  174. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  175. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  176. package/components/multi-select-option/index.d.ts +0 -2
  177. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  178. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  179. package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
  180. package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
  181. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -11
  182. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
  183. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
  184. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
  185. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
  186. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
  187. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
  188. package/components/sheet/index.d.ts +0 -14
  189. package/components/sheet/sheet-options.d.ts +0 -27
  190. package/components/sheet/sheet-tokens.d.ts +0 -18
  191. package/components/sheet/sheet.d.ts +0 -21
  192. package/components/sheet/sheet.directive.d.ts +0 -17
  193. package/components/sheet/sheet.module.d.ts +0 -24
  194. package/components/sheet/sheet.service.d.ts +0 -17
  195. package/components/svg/content-processor.d.ts +0 -19
  196. package/components/svg/deprecated-icons.d.ts +0 -5
  197. package/components/svg/index.d.ts +0 -5
  198. package/components/svg/svg-options.d.ts +0 -50
  199. package/components/svg/svg.component.d.ts +0 -50
  200. package/components/svg/svg.service.d.ts +0 -21
  201. package/components/table-bar/index.d.ts +0 -4
  202. package/components/table-bar/table-bar.component.d.ts +0 -17
  203. package/components/table-bar/table-bar.directive.d.ts +0 -11
  204. package/components/table-bar/table-bar.options.d.ts +0 -31
  205. package/components/table-bar/table-bars-host.component.d.ts +0 -10
  206. package/components/table-bar/table-bars.service.d.ts +0 -11
  207. package/components/tag/index.d.ts +0 -3
  208. package/components/tag/tag.component.d.ts +0 -44
  209. package/components/tag/tag.module.d.ts +0 -16
  210. package/components/tag/tag.options.d.ts +0 -27
  211. package/components/textarea/index.d.ts +0 -3
  212. package/components/textarea/textarea.component.d.ts +0 -54
  213. package/components/textarea/textarea.directive.d.ts +0 -12
  214. package/components/textarea/textarea.module.d.ts +0 -21
  215. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
  216. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  217. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -300
  218. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  219. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  220. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  221. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
  222. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
  223. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
  224. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
  225. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -356
  226. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
  227. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -465
  228. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
  229. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  230. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  231. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
  232. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
  233. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
  234. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
  235. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -390
  236. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
  237. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
  238. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
  239. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  240. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  241. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -358
  242. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  243. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
  244. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
  245. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -199
  246. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
  247. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
  248. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
  249. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -430
  250. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  251. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  252. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  253. package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -156
  254. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
  255. package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
  256. package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
  257. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
  258. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
  259. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -690
  260. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
  261. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -577
  262. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
  263. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
  264. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  265. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -147
  266. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
  267. package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -225
  268. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
  269. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
  270. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
  271. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
  272. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  273. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  274. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  275. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  276. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  277. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  278. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  279. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  280. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  281. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  282. package/pipes/format-phone/index.d.ts +0 -1
  283. package/pipes/index.d.ts +0 -3
  284. package/pipes/iso-to-country-code/index.d.ts +0 -1
  285. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  286. package/pipes/to-country-code/index.d.ts +0 -1
  287. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  288. package/services/index.d.ts +0 -1
  289. package/services/static-request.service.d.ts +0 -11
  290. package/utils/is-apple.d.ts +0 -5
@@ -1,390 +0,0 @@
1
- import { __decorate } from 'tslib';
2
- import * as i0 from '@angular/core';
3
- import { InjectionToken, inject, Input, ContentChildren, ViewChild, ChangeDetectionStrategy, Component, Directive, NgModule } from '@angular/core';
4
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
5
- import { maskitoInitialCalibrationPlugin } from '@maskito/core';
6
- import { maskitoParseNumber, maskitoNumberOptionsGenerator, maskitoCaretGuard } from '@maskito/kit';
7
- import { EMPTY_QUERY, CHAR_HYPHEN, CHAR_MINUS } from '@taiga-ui/cdk/constants';
8
- import { tuiWatch } from '@taiga-ui/cdk/observables';
9
- import { TUI_IS_IOS } from '@taiga-ui/cdk/tokens';
10
- import { tuiClamp, tuiIsSafeToRound } from '@taiga-ui/cdk/utils/math';
11
- import { tuiProvideOptions, tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
12
- import { TUI_DEFAULT_NUMBER_FORMAT, TUI_NUMBER_FORMAT } from '@taiga-ui/core/tokens';
13
- import { tuiFormatNumber } from '@taiga-ui/core/utils/format';
14
- import { AbstractTuiNullableControl, tuiAsControl, AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
15
- import * as i2 from '@taiga-ui/legacy/components/primitive-textfield';
16
- import { TuiPrimitiveTextfieldComponent, TuiTextfieldComponent, TuiPrimitiveTextfieldModule } from '@taiga-ui/legacy/components/primitive-textfield';
17
- import * as i3 from '@taiga-ui/legacy/directives';
18
- import { TUI_TEXTFIELD_SIZE, TUI_TEXTFIELD_WATCHED_CONTROLLER, TEXTFIELD_CONTROLLER_PROVIDER, TuiTextfieldControllerModule, TuiValueAccessorModule } from '@taiga-ui/legacy/directives';
19
- import { tuiAsFocusableItemAccessor, tuiAsTextfieldHost } from '@taiga-ui/legacy/tokens';
20
- import * as i4 from '@taiga-ui/polymorpheus';
21
- import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
22
- import * as i1 from '@maskito/angular';
23
- import { MaskitoDirective } from '@maskito/angular';
24
- import * as i5 from '@taiga-ui/core/components/button';
25
- import { TuiButton } from '@taiga-ui/core/components/button';
26
- import * as i6 from '@angular/common';
27
- import { CommonModule } from '@angular/common';
28
-
29
- /**
30
- * @deprecated use new version of {@link TUI_INPUT_NUMBER_DEFAULT_OPTIONS} (from @taiga-ui/kit) instead
31
- * TODO(v5): delete it
32
- */
33
- const TUI_INPUT_NUMBER_DEFAULT_OPTIONS = {
34
- icons: {
35
- up: '@tui.plus',
36
- down: '@tui.minus',
37
- },
38
- min: Number.MIN_SAFE_INTEGER,
39
- max: Number.MAX_SAFE_INTEGER,
40
- step: 0,
41
- };
42
- /**
43
- * @deprecated use new version of {@link TUI_INPUT_NUMBER_OPTIONS} (from @taiga-ui/kit) instead
44
- * TODO(v5): delete it
45
- */
46
- const TUI_INPUT_NUMBER_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_INPUT_NUMBER_OPTIONS' : '', {
47
- factory: () => TUI_INPUT_NUMBER_DEFAULT_OPTIONS,
48
- });
49
- /**
50
- * @deprecated use new version of {@link tuiInputNumberOptionsProvider} (from @taiga-ui/kit) instead
51
- * TODO(v5): delete it
52
- */
53
- function tuiInputNumberOptionsProvider(options) {
54
- return tuiProvideOptions(TUI_INPUT_NUMBER_OPTIONS, options, TUI_INPUT_NUMBER_DEFAULT_OPTIONS);
55
- }
56
-
57
- const DEFAULT_MAX_LENGTH = 18;
58
- /**
59
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-number tuiInputNumberOptionsProvider} (from @taiga-ui/kit) (property `valueTransformer`) instead
60
- * TODO(v5): delete it
61
- */
62
- const TUI_NUMBER_VALUE_TRANSFORMER = new InjectionToken(ngDevMode ? 'TUI_NUMBER_VALUE_TRANSFORMER' : '');
63
- /**
64
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-number TuiInputNumber} (from @taiga-ui/kit) instead
65
- * TODO(v5): delete it
66
- */
67
- class TuiInputNumberComponent extends AbstractTuiNullableControl {
68
- constructor() {
69
- super(...arguments);
70
- this.isIOS = inject(TUI_IS_IOS);
71
- this.textfieldSize = inject(TUI_TEXTFIELD_SIZE);
72
- this.options = inject(TUI_INPUT_NUMBER_OPTIONS);
73
- this.unfinishedValue = '';
74
- this.polymorpheusValueContent = EMPTY_QUERY;
75
- this.valueTransformer = inject(TUI_NUMBER_VALUE_TRANSFORMER, { optional: true });
76
- this.numberFormat = TUI_DEFAULT_NUMBER_FORMAT;
77
- this.controller = inject(TUI_TEXTFIELD_WATCHED_CONTROLLER);
78
- this.numberFormat$ = inject(TUI_NUMBER_FORMAT)
79
- .pipe(tuiWatch(this.cdr), takeUntilDestroyed())
80
- .subscribe((format) => {
81
- this.numberFormat = format;
82
- });
83
- this.min = this.options.min;
84
- this.max = this.options.max;
85
- this.step = this.options.step;
86
- }
87
- get nativeFocusableElement() {
88
- return !this.textfield || this.computedDisabled
89
- ? null
90
- : this.textfield.nativeFocusableElement;
91
- }
92
- get focused() {
93
- return !!this.textfield?.focused;
94
- }
95
- get inputMode() {
96
- if (this.isIOS) {
97
- return this.isNegativeAllowed
98
- ? 'text' // iPhone does not have minus sign if inputMode equals to 'numeric' / 'decimal'
99
- : 'decimal';
100
- }
101
- /**
102
- * Samsung Keyboard does not minus sign for `inputmode=decimal`
103
- * @see https://github.com/taiga-family/taiga-ui/issues/11061#issuecomment-2939103792
104
- */
105
- return 'numeric';
106
- }
107
- get calculatedMaxLength() {
108
- const decimalPart = !!this.precision &&
109
- this.nativeValue.includes(this.numberFormat.decimalSeparator);
110
- const precision = decimalPart ? Math.min(this.precision + 1, 20) : 0;
111
- const takeThousand = this.numberFormat.thousandSeparator.repeat(5).length;
112
- return DEFAULT_MAX_LENGTH + precision + takeThousand;
113
- }
114
- get computedValue() {
115
- return this.focused ? this.nativeValue : this.formattedValue;
116
- }
117
- onValueChange(nativeValue) {
118
- const parsedValue = maskitoParseNumber(nativeValue, this.numberFormat);
119
- this.unfinishedValue = null;
120
- if (Number.isNaN(parsedValue)) {
121
- this.value = null;
122
- return;
123
- }
124
- if (this.isNativeValueNotFinished) {
125
- this.unfinishedValue = nativeValue;
126
- this.cdr.markForCheck();
127
- return;
128
- }
129
- if (parsedValue < this.computedMin || parsedValue > this.computedMax) {
130
- return;
131
- }
132
- this.value = parsedValue;
133
- }
134
- writeValue(value) {
135
- super.writeValue(value);
136
- this.nativeValue = this.formattedValue;
137
- }
138
- get size() {
139
- return this.textfieldSize.size;
140
- }
141
- get icons() {
142
- return this.options.icons;
143
- }
144
- get computedMin() {
145
- return this.computeMin(this.min, this.max);
146
- }
147
- get computedMax() {
148
- return this.computeMax(this.min, this.max);
149
- }
150
- get isNegativeAllowed() {
151
- return this.computedMin < 0;
152
- }
153
- get formattedValue() {
154
- return this.value !== null ? this.getFormattedValue(this.value || 0) : '';
155
- }
156
- get canDecrement() {
157
- return this.interactive && (this.value || 0) > this.computedMin;
158
- }
159
- get canIncrement() {
160
- return this.interactive && (this.value || 0) < this.computedMax;
161
- }
162
- get computedPrefix() {
163
- return this.controller.prefix;
164
- }
165
- get computedPostfix() {
166
- const { postfix } = this.controller;
167
- return postfix && ` ${postfix}`;
168
- }
169
- get mask() {
170
- return this.calculateMask(this.precision, this.numberFormat.decimalMode, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator, this.computedMin, this.computedMax, this.computedPrefix, this.computedPostfix);
171
- }
172
- get nativeValue() {
173
- return this.nativeFocusableElement?.value || '';
174
- }
175
- set nativeValue(value) {
176
- if (!this.textfield || !this.nativeFocusableElement) {
177
- return;
178
- }
179
- this.textfield.value = value;
180
- this.nativeFocusableElement.value = value;
181
- }
182
- onArrow(step) {
183
- if (!step) {
184
- return;
185
- }
186
- this.value = tuiClamp((this.value || 0) + step, this.computedMin, this.computedMax);
187
- this.nativeValue = this.formattedValue;
188
- }
189
- onFocused(focused) {
190
- this.updateFocused(focused);
191
- const nativeNumberValue = this.unfinishedValue
192
- ? maskitoParseNumber(this.unfinishedValue, this.numberFormat)
193
- : this.nativeNumberValue;
194
- this.unfinishedValue = null;
195
- if (Number.isNaN(nativeNumberValue)) {
196
- this.nativeValue =
197
- focused && !this.readOnly
198
- ? this.computedPrefix + this.computedPostfix
199
- : '';
200
- this.value = null;
201
- return;
202
- }
203
- if (!focused) {
204
- this.value = nativeNumberValue;
205
- this.nativeValue = this.formattedValue;
206
- }
207
- }
208
- getFormattedValue(value) {
209
- return (this.computedPrefix +
210
- tuiFormatNumber(value, {
211
- ...this.numberFormat,
212
- /**
213
- * Number can satisfy interval [Number.MIN_SAFE_INTEGER; Number.MAX_SAFE_INTEGER]
214
- * but its rounding can violate it.
215
- * Before BigInt support there is no perfect solution – only trade off.
216
- * No rounding is better than lose precision and incorrect mutation of already valid value.
217
- */
218
- precision: tuiIsSafeToRound(value, this.precision)
219
- ? this.precision
220
- : Infinity,
221
- }).replace(CHAR_HYPHEN, CHAR_MINUS) +
222
- this.computedPostfix);
223
- }
224
- get isNativeValueNotFinished() {
225
- const { nativeNumberValue } = this;
226
- return nativeNumberValue < 0
227
- ? nativeNumberValue > this.computedMax
228
- : nativeNumberValue < this.computedMin;
229
- }
230
- get nativeNumberValue() {
231
- return maskitoParseNumber(this.nativeValue, this.numberFormat);
232
- }
233
- get precision() {
234
- return Number.isNaN(this.numberFormat.precision)
235
- ? 2
236
- : this.numberFormat.precision;
237
- }
238
- computeMin(min, max) {
239
- return Math.min(this.valueTransformer?.fromControlValue(min) ?? min ?? this.options.min, this.valueTransformer?.fromControlValue(max) ?? max ?? this.options.max);
240
- }
241
- computeMax(min, max) {
242
- return Math.max(this.valueTransformer?.fromControlValue(min) ?? min ?? this.options.min, this.valueTransformer?.fromControlValue(max) ?? max ?? this.options.max);
243
- }
244
- // eslint-disable-next-line @typescript-eslint/max-params,max-params
245
- calculateMask(precision, decimalMode, decimalSeparator, thousandSeparator, min, max, prefix, postfix) {
246
- const params = {
247
- decimalSeparator,
248
- thousandSeparator,
249
- min,
250
- max,
251
- prefix,
252
- postfix,
253
- maximumFractionDigits: precision,
254
- minimumFractionDigits: decimalMode === 'always' ? precision : 0,
255
- };
256
- const { plugins, ...options } = maskitoNumberOptionsGenerator(params);
257
- const initialCalibrationPlugin = maskitoInitialCalibrationPlugin(maskitoNumberOptionsGenerator({
258
- ...params,
259
- min: Number.MIN_SAFE_INTEGER,
260
- max: Number.MAX_SAFE_INTEGER,
261
- }));
262
- return {
263
- ...options,
264
- plugins: [
265
- ...plugins,
266
- initialCalibrationPlugin,
267
- maskitoCaretGuard((value) => [
268
- prefix.length,
269
- value.length - postfix.length,
270
- ]),
271
- ],
272
- };
273
- }
274
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputNumberComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
275
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiInputNumberComponent, isStandalone: false, selector: "tui-input-number", inputs: { min: "min", max: "max", step: "step" }, host: { listeners: { "keydown.arrowDown": "onArrow(-step)", "keydown.arrowUp": "onArrow(step)" }, properties: { "attr.data-size": "size" } }, providers: [
276
- tuiAsFocusableItemAccessor(TuiInputNumberComponent),
277
- tuiAsControl(TuiInputNumberComponent),
278
- TEXTFIELD_CONTROLLER_PROVIDER,
279
- ], queries: [{ propertyName: "polymorpheusValueContent", predicate: PolymorpheusOutlet, descendants: true }], viewQueries: [{ propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<tui-primitive-textfield\n #textfield\n tuiTextfieldPostfix=\"\"\n tuiTextfieldPrefix=\"\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"mask\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [value]=\"computedValue\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n>\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n @if (polymorpheusValueContent.length) {\n <div\n ngProjectAs=\"tuiContent\"\n class=\"t-value-content\"\n >\n <ng-container *polymorpheusOutlet=\"valueContent as text\">\n {{ text }}\n </ng-container>\n </div>\n }\n</tui-primitive-textfield>\n\n@if (step) {\n <section class=\"t-buttons\">\n <button\n size=\"s\"\n tabindex=\"-1\"\n tuiIconButton\n type=\"button\"\n class=\"t-button\"\n [appearance]=\"textfield.appearance\"\n [disabled]=\"!canIncrement\"\n [iconStart]=\"icons.up\"\n (click.prevent)=\"onArrow(step)\"\n (mousedown.prevent)=\"nativeFocusableElement?.focus()\"\n >\n +\n </button>\n <button\n size=\"s\"\n tabindex=\"-1\"\n tuiIconButton\n type=\"button\"\n class=\"t-button\"\n [appearance]=\"textfield.appearance\"\n [disabled]=\"!canDecrement\"\n [iconStart]=\"icons.down\"\n (click.prevent)=\"onArrow(-step)\"\n (mousedown.prevent)=\"nativeFocusableElement?.focus()\"\n >\n -\n </button>\n </section>\n}\n\n@if (polymorpheusValueContent.changes | async) {}\n\n<ng-template #valueContent>\n <ng-content select=\"tuiContent\" />\n</ng-template>\n", styles: [":host{display:flex;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-textfield{flex:1;min-inline-size:0;max-inline-size:100%;border-radius:inherit;text-align:inherit}.t-textfield:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.t-value-content{inline-size:100%}.t-buttons{display:flex;flex-direction:column;align-items:stretch;margin-inline-start:.125rem;border-radius:inherit}[data-size=s]+.t-buttons{flex-direction:row-reverse}[data-size=s]+.t-buttons .t-button:first-child{margin:0 0 0 .125rem;border-top-right-radius:inherit;border-bottom-right-radius:inherit}[data-size=s]+.t-buttons .t-button:last-child{border-radius:0}[data-size=m]+.t-buttons .t-button{inline-size:calc(var(--tui-height-m) * .75)}[data-size=l]+.t-buttons .t-button{inline-size:calc(var(--tui-height-l) * .75)}.t-buttons .t-button{display:flex;flex:1;block-size:auto;align-items:center;justify-content:center;border-radius:0}.t-buttons .t-button:first-child{margin-block-end:.125rem;border-top-right-radius:inherit}.t-buttons .t-button:last-child{border-bottom-right-radius:inherit}\n"], dependencies: [{ kind: "directive", type: i1.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { kind: "component", type: i2.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i2.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i3.TuiTextfieldPrefixDirective, selector: "[tuiTextfieldPrefix]", inputs: ["tuiTextfieldPrefix"] }, { kind: "directive", type: i3.TuiTextfieldPostfixDirective, selector: "[tuiTextfieldPostfix]", inputs: ["tuiTextfieldPostfix"] }, { kind: "directive", type: i4.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i3.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { kind: "directive", type: i5.TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
280
- }
281
- __decorate([
282
- tuiPure
283
- ], TuiInputNumberComponent.prototype, "computeMin", null);
284
- __decorate([
285
- tuiPure
286
- ], TuiInputNumberComponent.prototype, "computeMax", null);
287
- __decorate([
288
- tuiPure
289
- ], TuiInputNumberComponent.prototype, "calculateMask", null);
290
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputNumberComponent, decorators: [{
291
- type: Component,
292
- args: [{ standalone: false, selector: 'tui-input-number', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
293
- tuiAsFocusableItemAccessor(TuiInputNumberComponent),
294
- tuiAsControl(TuiInputNumberComponent),
295
- TEXTFIELD_CONTROLLER_PROVIDER,
296
- ], host: {
297
- '[attr.data-size]': 'size',
298
- '(keydown.arrowDown)': 'onArrow(-step)',
299
- '(keydown.arrowUp)': 'onArrow(step)',
300
- }, template: "<tui-primitive-textfield\n #textfield\n tuiTextfieldPostfix=\"\"\n tuiTextfieldPrefix=\"\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"mask\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [value]=\"computedValue\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n>\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n @if (polymorpheusValueContent.length) {\n <div\n ngProjectAs=\"tuiContent\"\n class=\"t-value-content\"\n >\n <ng-container *polymorpheusOutlet=\"valueContent as text\">\n {{ text }}\n </ng-container>\n </div>\n }\n</tui-primitive-textfield>\n\n@if (step) {\n <section class=\"t-buttons\">\n <button\n size=\"s\"\n tabindex=\"-1\"\n tuiIconButton\n type=\"button\"\n class=\"t-button\"\n [appearance]=\"textfield.appearance\"\n [disabled]=\"!canIncrement\"\n [iconStart]=\"icons.up\"\n (click.prevent)=\"onArrow(step)\"\n (mousedown.prevent)=\"nativeFocusableElement?.focus()\"\n >\n +\n </button>\n <button\n size=\"s\"\n tabindex=\"-1\"\n tuiIconButton\n type=\"button\"\n class=\"t-button\"\n [appearance]=\"textfield.appearance\"\n [disabled]=\"!canDecrement\"\n [iconStart]=\"icons.down\"\n (click.prevent)=\"onArrow(-step)\"\n (mousedown.prevent)=\"nativeFocusableElement?.focus()\"\n >\n -\n </button>\n </section>\n}\n\n@if (polymorpheusValueContent.changes | async) {}\n\n<ng-template #valueContent>\n <ng-content select=\"tuiContent\" />\n</ng-template>\n", styles: [":host{display:flex;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-textfield{flex:1;min-inline-size:0;max-inline-size:100%;border-radius:inherit;text-align:inherit}.t-textfield:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.t-value-content{inline-size:100%}.t-buttons{display:flex;flex-direction:column;align-items:stretch;margin-inline-start:.125rem;border-radius:inherit}[data-size=s]+.t-buttons{flex-direction:row-reverse}[data-size=s]+.t-buttons .t-button:first-child{margin:0 0 0 .125rem;border-top-right-radius:inherit;border-bottom-right-radius:inherit}[data-size=s]+.t-buttons .t-button:last-child{border-radius:0}[data-size=m]+.t-buttons .t-button{inline-size:calc(var(--tui-height-m) * .75)}[data-size=l]+.t-buttons .t-button{inline-size:calc(var(--tui-height-l) * .75)}.t-buttons .t-button{display:flex;flex:1;block-size:auto;align-items:center;justify-content:center;border-radius:0}.t-buttons .t-button:first-child{margin-block-end:.125rem;border-top-right-radius:inherit}.t-buttons .t-button:last-child{border-bottom-right-radius:inherit}\n"] }]
301
- }], propDecorators: { textfield: [{
302
- type: ViewChild,
303
- args: [TuiPrimitiveTextfieldComponent]
304
- }], polymorpheusValueContent: [{
305
- type: ContentChildren,
306
- args: [PolymorpheusOutlet, { descendants: true }]
307
- }], min: [{
308
- type: Input
309
- }], max: [{
310
- type: Input
311
- }], step: [{
312
- type: Input
313
- }], computeMin: [], computeMax: [], calculateMask: [] } });
314
-
315
- /**
316
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-number TuiInputNumber} (from @taiga-ui/kit) instead
317
- * TODO(v5): delete it
318
- */
319
- class TuiInputNumberDirective extends AbstractTuiTextfieldHost {
320
- get value() {
321
- return this.host.computedValue;
322
- }
323
- onValueChange(value) {
324
- this.host.onValueChange(value);
325
- }
326
- ngDoCheck() {
327
- if (!this.host.nativeFocusableElement) {
328
- return;
329
- }
330
- this.host.nativeFocusableElement.inputMode = this.host.inputMode;
331
- this.host.nativeFocusableElement.maxLength =
332
- this.host.nativeFocusableElement.maxLength > 0
333
- ? this.host.nativeFocusableElement.maxLength
334
- : this.host.calculatedMaxLength;
335
- }
336
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputNumberDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
337
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputNumberDirective, isStandalone: false, selector: "tui-input-number", providers: [tuiAsTextfieldHost(TuiInputNumberDirective)], usesInheritance: true, ngImport: i0 }); }
338
- }
339
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputNumberDirective, decorators: [{
340
- type: Directive,
341
- args: [{
342
- standalone: false,
343
- selector: 'tui-input-number',
344
- providers: [tuiAsTextfieldHost(TuiInputNumberDirective)],
345
- }]
346
- }] });
347
-
348
- /**
349
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-number TuiInputNumber} (from @taiga-ui/kit) instead
350
- * TODO(v5): delete it
351
- */
352
- class TuiInputNumberModule {
353
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
354
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiInputNumberModule, declarations: [TuiInputNumberComponent, TuiInputNumberDirective], imports: [CommonModule,
355
- MaskitoDirective,
356
- TuiPrimitiveTextfieldModule,
357
- TuiTextfieldControllerModule,
358
- TuiValueAccessorModule,
359
- PolymorpheusOutlet,
360
- PolymorpheusTemplate,
361
- TuiButton], exports: [TuiInputNumberComponent, TuiInputNumberDirective, TuiTextfieldComponent] }); }
362
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputNumberModule, imports: [CommonModule,
363
- TuiPrimitiveTextfieldModule,
364
- TuiTextfieldControllerModule,
365
- TuiValueAccessorModule] }); }
366
- }
367
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputNumberModule, decorators: [{
368
- type: NgModule,
369
- args: [{
370
- imports: [
371
- CommonModule,
372
- MaskitoDirective,
373
- TuiPrimitiveTextfieldModule,
374
- TuiTextfieldControllerModule,
375
- TuiValueAccessorModule,
376
- PolymorpheusOutlet,
377
- PolymorpheusTemplate,
378
- TuiButton,
379
- ],
380
- declarations: [TuiInputNumberComponent, TuiInputNumberDirective],
381
- exports: [TuiInputNumberComponent, TuiInputNumberDirective, TuiTextfieldComponent],
382
- }]
383
- }] });
384
-
385
- /**
386
- * Generated bundle index. Do not edit.
387
- */
388
-
389
- export { TUI_INPUT_NUMBER_DEFAULT_OPTIONS, TUI_INPUT_NUMBER_OPTIONS, TUI_NUMBER_VALUE_TRANSFORMER, TuiInputNumberComponent, TuiInputNumberDirective, TuiInputNumberModule, tuiInputNumberOptionsProvider };
390
- //# sourceMappingURL=taiga-ui-legacy-components-input-number.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-input-number.mjs","sources":["../../../projects/legacy/components/input-number/input-number.options.ts","../../../projects/legacy/components/input-number/input-number.component.ts","../../../projects/legacy/components/input-number/input-number.template.html","../../../projects/legacy/components/input-number/input-number.directive.ts","../../../projects/legacy/components/input-number/input-number.module.ts","../../../projects/legacy/components/input-number/taiga-ui-legacy-components-input-number.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\n/**\n * @deprecated use new version of {@link TuiInputNumberOptions} (from @taiga-ui/kit) instead\n * TODO(v5): delete it\n */\nexport interface TuiInputNumberOptions {\n readonly icons: Readonly<{\n down: string;\n up: string;\n }>;\n readonly max: number;\n readonly min: number;\n readonly step: number;\n}\n\n/**\n * @deprecated use new version of {@link TUI_INPUT_NUMBER_DEFAULT_OPTIONS} (from @taiga-ui/kit) instead\n * TODO(v5): delete it\n */\nexport const TUI_INPUT_NUMBER_DEFAULT_OPTIONS: TuiInputNumberOptions = {\n icons: {\n up: '@tui.plus',\n down: '@tui.minus',\n },\n min: Number.MIN_SAFE_INTEGER,\n max: Number.MAX_SAFE_INTEGER,\n step: 0,\n};\n\n/**\n * @deprecated use new version of {@link TUI_INPUT_NUMBER_OPTIONS} (from @taiga-ui/kit) instead\n * TODO(v5): delete it\n */\nexport const TUI_INPUT_NUMBER_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_INPUT_NUMBER_OPTIONS' : '',\n {\n factory: () => TUI_INPUT_NUMBER_DEFAULT_OPTIONS,\n },\n);\n\n/**\n * @deprecated use new version of {@link tuiInputNumberOptionsProvider} (from @taiga-ui/kit) instead\n * TODO(v5): delete it\n */\nexport function tuiInputNumberOptionsProvider(\n options: Partial<TuiInputNumberOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_INPUT_NUMBER_OPTIONS,\n options,\n TUI_INPUT_NUMBER_DEFAULT_OPTIONS,\n );\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n inject,\n InjectionToken,\n Input,\n type QueryList,\n ViewChild,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {maskitoInitialCalibrationPlugin, type MaskitoOptions} from '@maskito/core';\nimport {\n maskitoCaretGuard,\n maskitoNumberOptionsGenerator,\n type MaskitoNumberParams,\n maskitoParseNumber,\n} from '@maskito/kit';\nimport {type TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {CHAR_HYPHEN, CHAR_MINUS, EMPTY_QUERY} from '@taiga-ui/cdk/constants';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {TUI_IS_IOS} from '@taiga-ui/cdk/tokens';\nimport {tuiClamp, tuiIsSafeToRound} from '@taiga-ui/cdk/utils/math';\nimport {tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n TUI_DEFAULT_NUMBER_FORMAT,\n TUI_NUMBER_FORMAT,\n type TuiDecimalMode,\n} from '@taiga-ui/core/tokens';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {tuiFormatNumber} from '@taiga-ui/core/utils/format';\nimport {AbstractTuiNullableControl, tuiAsControl} from '@taiga-ui/legacy/classes';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {\n TEXTFIELD_CONTROLLER_PROVIDER,\n TUI_TEXTFIELD_SIZE,\n TUI_TEXTFIELD_WATCHED_CONTROLLER,\n} from '@taiga-ui/legacy/directives';\nimport {\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\n} from '@taiga-ui/legacy/tokens';\nimport {PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {\n TUI_INPUT_NUMBER_OPTIONS,\n type TuiInputNumberOptions,\n} from './input-number.options';\n\nconst DEFAULT_MAX_LENGTH = 18;\n\n/**\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-number tuiInputNumberOptionsProvider} (from @taiga-ui/kit) (property `valueTransformer`) instead\n * TODO(v5): delete it\n */\nexport const TUI_NUMBER_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<number | null>\n>(ngDevMode ? 'TUI_NUMBER_VALUE_TRANSFORMER' : '');\n\n/**\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-number TuiInputNumber} (from @taiga-ui/kit) instead\n * TODO(v5): delete it\n */\n@Component({\n standalone: false,\n selector: 'tui-input-number',\n templateUrl: './input-number.template.html',\n styleUrls: ['./input-number.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputNumberComponent),\n tuiAsControl(TuiInputNumberComponent),\n TEXTFIELD_CONTROLLER_PROVIDER,\n ],\n host: {\n '[attr.data-size]': 'size',\n '(keydown.arrowDown)': 'onArrow(-step)',\n '(keydown.arrowUp)': 'onArrow(step)',\n },\n})\nexport class TuiInputNumberComponent\n extends AbstractTuiNullableControl<number>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly isIOS = inject(TUI_IS_IOS);\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n private readonly options = inject(TUI_INPUT_NUMBER_OPTIONS);\n private unfinishedValue: string | null = '';\n\n @ContentChildren(PolymorpheusOutlet, {descendants: true})\n protected readonly polymorpheusValueContent: QueryList<unknown> = EMPTY_QUERY;\n\n protected override readonly valueTransformer = inject<\n TuiValueTransformer<number | null>\n >(TUI_NUMBER_VALUE_TRANSFORMER, {optional: true});\n\n protected numberFormat = TUI_DEFAULT_NUMBER_FORMAT;\n protected readonly controller = inject(TUI_TEXTFIELD_WATCHED_CONTROLLER);\n protected readonly numberFormat$ = inject(TUI_NUMBER_FORMAT)\n .pipe(tuiWatch(this.cdr), takeUntilDestroyed())\n .subscribe((format) => {\n this.numberFormat = format;\n });\n\n @Input()\n public min: number | null = this.options.min;\n\n @Input()\n public max: number | null = this.options.max;\n\n @Input()\n public step = this.options.step;\n\n public get nativeFocusableElement(): HTMLInputElement | null {\n return !this.textfield || this.computedDisabled\n ? null\n : this.textfield.nativeFocusableElement;\n }\n\n public get focused(): boolean {\n return !!this.textfield?.focused;\n }\n\n public get inputMode(): string {\n if (this.isIOS) {\n return this.isNegativeAllowed\n ? 'text' // iPhone does not have minus sign if inputMode equals to 'numeric' / 'decimal'\n : 'decimal';\n }\n\n /**\n * Samsung Keyboard does not minus sign for `inputmode=decimal`\n * @see https://github.com/taiga-family/taiga-ui/issues/11061#issuecomment-2939103792\n */\n return 'numeric';\n }\n\n public get calculatedMaxLength(): number {\n const decimalPart =\n !!this.precision &&\n this.nativeValue.includes(this.numberFormat.decimalSeparator);\n const precision = decimalPart ? Math.min(this.precision + 1, 20) : 0;\n const takeThousand = this.numberFormat.thousandSeparator.repeat(5).length;\n\n return DEFAULT_MAX_LENGTH + precision + takeThousand;\n }\n\n public get computedValue(): string {\n return this.focused ? this.nativeValue : this.formattedValue;\n }\n\n public onValueChange(nativeValue: string): void {\n const parsedValue = maskitoParseNumber(nativeValue, this.numberFormat);\n\n this.unfinishedValue = null;\n\n if (Number.isNaN(parsedValue)) {\n this.value = null;\n\n return;\n }\n\n if (this.isNativeValueNotFinished) {\n this.unfinishedValue = nativeValue;\n this.cdr.markForCheck();\n\n return;\n }\n\n if (parsedValue < this.computedMin || parsedValue > this.computedMax) {\n return;\n }\n\n this.value = parsedValue;\n }\n\n public override writeValue(value: number | null): void {\n super.writeValue(value);\n this.nativeValue = this.formattedValue;\n }\n\n protected get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n protected get icons(): TuiInputNumberOptions['icons'] {\n return this.options.icons;\n }\n\n protected get computedMin(): number {\n return this.computeMin(this.min, this.max);\n }\n\n protected get computedMax(): number {\n return this.computeMax(this.min, this.max);\n }\n\n protected get isNegativeAllowed(): boolean {\n return this.computedMin < 0;\n }\n\n protected get formattedValue(): string {\n return this.value !== null ? this.getFormattedValue(this.value || 0) : '';\n }\n\n protected get canDecrement(): boolean {\n return this.interactive && (this.value || 0) > this.computedMin;\n }\n\n protected get canIncrement(): boolean {\n return this.interactive && (this.value || 0) < this.computedMax;\n }\n\n protected get computedPrefix(): string {\n return this.controller.prefix;\n }\n\n protected get computedPostfix(): string {\n const {postfix} = this.controller;\n\n return postfix && ` ${postfix}`;\n }\n\n protected get mask(): MaskitoOptions {\n return this.calculateMask(\n this.precision,\n this.numberFormat.decimalMode,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n this.computedMin,\n this.computedMax,\n this.computedPrefix,\n this.computedPostfix,\n );\n }\n\n protected get nativeValue(): string {\n return this.nativeFocusableElement?.value || '';\n }\n\n protected set nativeValue(value: string) {\n if (!this.textfield || !this.nativeFocusableElement) {\n return;\n }\n\n this.textfield.value = value;\n this.nativeFocusableElement.value = value;\n }\n\n protected onArrow(step: number | null): void {\n if (!step) {\n return;\n }\n\n this.value = tuiClamp(\n (this.value || 0) + step,\n this.computedMin,\n this.computedMax,\n );\n this.nativeValue = this.formattedValue;\n }\n\n protected onFocused(focused: boolean): void {\n this.updateFocused(focused);\n\n const nativeNumberValue = this.unfinishedValue\n ? maskitoParseNumber(this.unfinishedValue, this.numberFormat)\n : this.nativeNumberValue;\n\n this.unfinishedValue = null;\n\n if (Number.isNaN(nativeNumberValue)) {\n this.nativeValue =\n focused && !this.readOnly\n ? this.computedPrefix + this.computedPostfix\n : '';\n this.value = null;\n\n return;\n }\n\n if (!focused) {\n this.value = nativeNumberValue;\n this.nativeValue = this.formattedValue;\n }\n }\n\n protected getFormattedValue(value: number): string {\n return (\n this.computedPrefix +\n tuiFormatNumber(value, {\n ...this.numberFormat,\n /**\n * Number can satisfy interval [Number.MIN_SAFE_INTEGER; Number.MAX_SAFE_INTEGER]\n * but its rounding can violate it.\n * Before BigInt support there is no perfect solution – only trade off.\n * No rounding is better than lose precision and incorrect mutation of already valid value.\n */\n precision: tuiIsSafeToRound(value, this.precision)\n ? this.precision\n : Infinity,\n }).replace(CHAR_HYPHEN, CHAR_MINUS) +\n this.computedPostfix\n );\n }\n\n private get isNativeValueNotFinished(): boolean {\n const {nativeNumberValue} = this;\n\n return nativeNumberValue < 0\n ? nativeNumberValue > this.computedMax\n : nativeNumberValue < this.computedMin;\n }\n\n private get nativeNumberValue(): number {\n return maskitoParseNumber(this.nativeValue, this.numberFormat);\n }\n\n private get precision(): number {\n return Number.isNaN(this.numberFormat.precision)\n ? 2\n : this.numberFormat.precision;\n }\n\n @tuiPure\n private computeMin(min: number | null, max: number | null): number {\n return Math.min(\n this.valueTransformer?.fromControlValue(min) ?? min ?? this.options.min,\n this.valueTransformer?.fromControlValue(max) ?? max ?? this.options.max,\n );\n }\n\n @tuiPure\n private computeMax(min: number | null, max: number | null): number {\n return Math.max(\n this.valueTransformer?.fromControlValue(min) ?? min ?? this.options.min,\n this.valueTransformer?.fromControlValue(max) ?? max ?? this.options.max,\n );\n }\n\n // eslint-disable-next-line @typescript-eslint/max-params,max-params\n @tuiPure\n private calculateMask(\n precision: number,\n decimalMode: TuiDecimalMode,\n decimalSeparator: string,\n thousandSeparator: string,\n min: number,\n max: number,\n prefix: string,\n postfix: string,\n ): MaskitoOptions {\n const params: MaskitoNumberParams = {\n decimalSeparator,\n thousandSeparator,\n min,\n max,\n prefix,\n postfix,\n maximumFractionDigits: precision,\n minimumFractionDigits: decimalMode === 'always' ? precision : 0,\n };\n const {plugins, ...options} = maskitoNumberOptionsGenerator(params);\n const initialCalibrationPlugin = maskitoInitialCalibrationPlugin(\n maskitoNumberOptionsGenerator({\n ...params,\n min: Number.MIN_SAFE_INTEGER,\n max: Number.MAX_SAFE_INTEGER,\n }),\n );\n\n return {\n ...options,\n plugins: [\n ...plugins,\n initialCalibrationPlugin,\n maskitoCaretGuard((value) => [\n prefix.length,\n value.length - postfix.length,\n ]),\n ],\n };\n }\n}\n","<tui-primitive-textfield\n #textfield\n tuiTextfieldPostfix=\"\"\n tuiTextfieldPrefix=\"\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"mask\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [value]=\"computedValue\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n>\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n @if (polymorpheusValueContent.length) {\n <div\n ngProjectAs=\"tuiContent\"\n class=\"t-value-content\"\n >\n <ng-container *polymorpheusOutlet=\"valueContent as text\">\n {{ text }}\n </ng-container>\n </div>\n }\n</tui-primitive-textfield>\n\n@if (step) {\n <section class=\"t-buttons\">\n <button\n size=\"s\"\n tabindex=\"-1\"\n tuiIconButton\n type=\"button\"\n class=\"t-button\"\n [appearance]=\"textfield.appearance\"\n [disabled]=\"!canIncrement\"\n [iconStart]=\"icons.up\"\n (click.prevent)=\"onArrow(step)\"\n (mousedown.prevent)=\"nativeFocusableElement?.focus()\"\n >\n +\n </button>\n <button\n size=\"s\"\n tabindex=\"-1\"\n tuiIconButton\n type=\"button\"\n class=\"t-button\"\n [appearance]=\"textfield.appearance\"\n [disabled]=\"!canDecrement\"\n [iconStart]=\"icons.down\"\n (click.prevent)=\"onArrow(-step)\"\n (mousedown.prevent)=\"nativeFocusableElement?.focus()\"\n >\n -\n </button>\n </section>\n}\n\n@if (polymorpheusValueContent.changes | async) {}\n\n<ng-template #valueContent>\n <ng-content select=\"tuiContent\" />\n</ng-template>\n","import {Directive, type DoCheck} from '@angular/core';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {type TuiInputNumberComponent} from './input-number.component';\n\n/**\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-number TuiInputNumber} (from @taiga-ui/kit) instead\n * TODO(v5): delete it\n */\n@Directive({\n standalone: false,\n selector: 'tui-input-number',\n providers: [tuiAsTextfieldHost(TuiInputNumberDirective)],\n})\nexport class TuiInputNumberDirective\n extends AbstractTuiTextfieldHost<TuiInputNumberComponent>\n implements DoCheck\n{\n protected input?: HTMLInputElement;\n\n public override get value(): string {\n return this.host.computedValue;\n }\n\n public onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n\n public ngDoCheck(): void {\n if (!this.host.nativeFocusableElement) {\n return;\n }\n\n this.host.nativeFocusableElement.inputMode = this.host.inputMode;\n this.host.nativeFocusableElement.maxLength =\n this.host.nativeFocusableElement.maxLength > 0\n ? this.host.nativeFocusableElement.maxLength\n : this.host.calculatedMaxLength;\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {TuiButton} from '@taiga-ui/core/components/button';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {\n TuiTextfieldControllerModule,\n TuiValueAccessorModule,\n} from '@taiga-ui/legacy/directives';\nimport {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiInputNumberComponent} from './input-number.component';\nimport {TuiInputNumberDirective} from './input-number.directive';\n\n/**\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-number TuiInputNumber} (from @taiga-ui/kit) instead\n * TODO(v5): delete it\n */\n@NgModule({\n imports: [\n CommonModule,\n MaskitoDirective,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n TuiValueAccessorModule,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n TuiButton,\n ],\n declarations: [TuiInputNumberComponent, TuiInputNumberDirective],\n exports: [TuiInputNumberComponent, TuiInputNumberDirective, TuiTextfieldComponent],\n})\nexport class TuiInputNumberModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA;;;AAGG;AACU,MAAA,gCAAgC,GAA0B;AACnE,IAAA,K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