@taiga-ui/legacy 4.52.0-canary.216e347 → 4.52.0-canary.2c75afa

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 (562) hide show
  1. package/classes/abstract-textfield-host.d.ts +2 -2
  2. package/classes/controller.d.ts +1 -1
  3. package/classes/multiple-control.d.ts +1 -1
  4. package/classes/nullable-control.d.ts +1 -1
  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 +8 -0
  11. package/components/dialog/index.d.ts +6 -0
  12. package/components/index.d.ts +3 -16
  13. package/components/input/input.module.d.ts +4 -4
  14. package/components/input-date-range/input-date-range.component.d.ts +1 -2
  15. package/components/input-date-range/input-date-range.module.d.ts +8 -9
  16. package/components/input-date-time/input-date-time.component.d.ts +5 -5
  17. package/components/input-date-time/input-date-time.module.d.ts +6 -6
  18. package/components/input-month-range/input-month-range.module.d.ts +3 -3
  19. package/components/input-number/input-number.component.d.ts +1 -2
  20. package/components/input-number/input-number.module.d.ts +5 -5
  21. package/components/input-range/input-range.component.d.ts +1 -1
  22. package/components/input-range/input-range.module.d.ts +4 -4
  23. package/components/input-tag/input-tag.module.d.ts +8 -8
  24. package/components/mobile-dialog/index.d.ts +3 -0
  25. package/components/mobile-dialog/mobile-dialog.component.d.ts +10 -0
  26. package/components/mobile-dialog/mobile-dialog.options.d.ts +12 -0
  27. package/components/mobile-dialog/mobile-dialog.service.d.ts +14 -0
  28. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +1 -1
  29. package/components/multi-select/multi-select.module.d.ts +11 -12
  30. package/components/multi-select/native-multi-select/native-multi-select.d.ts +1 -1
  31. package/components/pdf-viewer/index.d.ts +4 -0
  32. package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
  33. package/components/pdf-viewer/pdf-viewer.directive.d.ts +8 -0
  34. package/components/pdf-viewer/pdf-viewer.options.d.ts +13 -0
  35. package/components/pdf-viewer/pdf-viewer.service.d.ts +17 -0
  36. package/components/primitive-textfield/primitive-textfield.module.d.ts +5 -5
  37. package/components/select/select.module.d.ts +8 -8
  38. package/components/select-option/select-option.module.d.ts +3 -3
  39. package/components/tag/tag.module.d.ts +4 -4
  40. package/components/textarea/textarea.module.d.ts +7 -7
  41. package/fesm2022/taiga-ui-legacy-classes.mjs +24 -27
  42. package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
  43. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +6 -6
  44. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
  45. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +141 -0
  46. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  47. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +46 -56
  48. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
  49. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +48 -54
  50. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
  51. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +22 -22
  52. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
  53. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +41 -48
  54. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
  55. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +31 -31
  56. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
  57. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +20 -21
  58. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
  59. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +38 -38
  60. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
  61. package/fesm2022/taiga-ui-legacy-components-input.mjs +22 -22
  62. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
  63. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +67 -0
  64. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -0
  65. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +8 -8
  66. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
  67. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +63 -67
  68. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
  69. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +93 -0
  70. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
  71. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +40 -40
  72. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
  73. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +13 -13
  74. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-legacy-components-select.mjs +48 -49
  76. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
  77. package/fesm2022/taiga-ui-legacy-components-tag.mjs +18 -19
  78. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +40 -40
  80. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +8 -8
  82. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-legacy-components.mjs +3 -16
  84. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  85. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +3 -4
  86. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
  87. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +35 -35
  88. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
  89. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +5 -7
  90. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
  91. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +7 -7
  92. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +1 -1
  93. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +9 -9
  94. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +1 -1
  95. package/fesm2022/taiga-ui-legacy-tokens.mjs +1 -1
  96. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -1
  97. package/fesm2022/taiga-ui-legacy-utils.mjs +1 -7
  98. package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -1
  99. package/fesm2022/taiga-ui-legacy.mjs +0 -2
  100. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  101. package/index.d.ts +0 -2
  102. package/package.json +16 -183
  103. package/styles/mixins/textfield.less +3 -1
  104. package/utils/icons-path-factory.d.ts +1 -1
  105. package/utils/index.d.ts +0 -1
  106. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  107. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  108. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  109. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  110. package/components/color-selector/color-selector.component.d.ts +0 -47
  111. package/components/color-selector/color-selector.module.d.ts +0 -24
  112. package/components/color-selector/color-selector.options.d.ts +0 -25
  113. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  114. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  115. package/components/color-selector/index.d.ts +0 -16
  116. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  117. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  118. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  119. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  120. package/components/color-selector/palette/palette.component.d.ts +0 -10
  121. package/components/color-selector/palette/palette.module.d.ts +0 -13
  122. package/components/color-selector/services/picker.service.d.ts +0 -15
  123. package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
  124. package/components/combo-box/combo-box.component.d.ts +0 -52
  125. package/components/combo-box/combo-box.directive.d.ts +0 -13
  126. package/components/combo-box/combo-box.module.d.ts +0 -20
  127. package/components/combo-box/index.d.ts +0 -4
  128. package/components/input-color/index.d.ts +0 -2
  129. package/components/input-color/input-color.component.d.ts +0 -30
  130. package/components/input-color/input-color.module.d.ts +0 -17
  131. package/components/input-copy/index.d.ts +0 -4
  132. package/components/input-copy/input-copy.component.d.ts +0 -33
  133. package/components/input-copy/input-copy.directive.d.ts +0 -11
  134. package/components/input-copy/input-copy.module.d.ts +0 -18
  135. package/components/input-copy/input-copy.options.d.ts +0 -26
  136. package/components/input-date/index.d.ts +0 -3
  137. package/components/input-date/input-date.component.d.ts +0 -62
  138. package/components/input-date/input-date.directive.d.ts +0 -19
  139. package/components/input-date/input-date.module.d.ts +0 -24
  140. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  141. package/components/input-date-multi/index.d.ts +0 -2
  142. package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
  143. package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
  144. package/components/input-month/index.d.ts +0 -3
  145. package/components/input-month/input-month.component.d.ts +0 -44
  146. package/components/input-month/input-month.directive.d.ts +0 -19
  147. package/components/input-month/input-month.module.d.ts +0 -19
  148. package/components/input-password/index.d.ts +0 -4
  149. package/components/input-password/input-password.component.d.ts +0 -33
  150. package/components/input-password/input-password.directive.d.ts +0 -15
  151. package/components/input-password/input-password.module.d.ts +0 -19
  152. package/components/input-password/input-password.options.d.ts +0 -25
  153. package/components/input-phone/index.d.ts +0 -4
  154. package/components/input-phone/input-phone.component.d.ts +0 -49
  155. package/components/input-phone/input-phone.directive.d.ts +0 -13
  156. package/components/input-phone/input-phone.module.d.ts +0 -12
  157. package/components/input-phone/input-phone.options.d.ts +0 -13
  158. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  159. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  160. package/components/input-phone/utils/index.d.ts +0 -2
  161. package/components/input-phone-international/index.d.ts +0 -3
  162. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  163. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  164. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  165. package/components/input-time/index.d.ts +0 -4
  166. package/components/input-time/input-time.component.d.ts +0 -62
  167. package/components/input-time/input-time.directive.d.ts +0 -17
  168. package/components/input-time/input-time.module.d.ts +0 -23
  169. package/components/input-time/input-time.options.d.ts +0 -42
  170. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  171. package/components/input-year/index.d.ts +0 -3
  172. package/components/input-year/input-year.component.d.ts +0 -36
  173. package/components/input-year/input-year.directive.d.ts +0 -14
  174. package/components/input-year/input-year.module.d.ts +0 -18
  175. package/components/island/index.d.ts +0 -1
  176. package/components/island/island.directive.d.ts +0 -20
  177. package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
  178. package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
  179. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -10
  180. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
  181. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
  182. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
  183. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
  184. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
  185. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
  186. package/components/sheet/index.d.ts +0 -14
  187. package/components/sheet/sheet-options.d.ts +0 -27
  188. package/components/sheet/sheet-tokens.d.ts +0 -18
  189. package/components/sheet/sheet.d.ts +0 -21
  190. package/components/sheet/sheet.directive.d.ts +0 -17
  191. package/components/sheet/sheet.module.d.ts +0 -24
  192. package/components/sheet/sheet.service.d.ts +0 -17
  193. package/components/svg/content-processor.d.ts +0 -19
  194. package/components/svg/deprecated-icons.d.ts +0 -5
  195. package/components/svg/index.d.ts +0 -5
  196. package/components/svg/svg-options.d.ts +0 -50
  197. package/components/svg/svg.component.d.ts +0 -50
  198. package/components/svg/svg.service.d.ts +0 -21
  199. package/components/table-bar/index.d.ts +0 -4
  200. package/components/table-bar/table-bar.component.d.ts +0 -17
  201. package/components/table-bar/table-bar.directive.d.ts +0 -11
  202. package/components/table-bar/table-bar.options.d.ts +0 -31
  203. package/components/table-bar/table-bars-host.component.d.ts +0 -10
  204. package/components/table-bar/table-bars.service.d.ts +0 -11
  205. package/esm2022/classes/abstract-native-select.mjs +0 -49
  206. package/esm2022/classes/abstract-textfield-host.mjs +0 -37
  207. package/esm2022/classes/control.mjs +0 -181
  208. package/esm2022/classes/controller.mjs +0 -18
  209. package/esm2022/classes/index.mjs +0 -10
  210. package/esm2022/classes/interactive.mjs +0 -82
  211. package/esm2022/classes/multiple-control.mjs +0 -21
  212. package/esm2022/classes/named-day.mjs +0 -14
  213. package/esm2022/classes/nullable-control.mjs +0 -18
  214. package/esm2022/classes/stringifiable-item.mjs +0 -14
  215. package/esm2022/classes/taiga-ui-legacy-classes.mjs +0 -5
  216. package/esm2022/components/arrow/arrow.component.mjs +0 -41
  217. package/esm2022/components/arrow/arrow.options.mjs +0 -20
  218. package/esm2022/components/arrow/arrow.providers.mjs +0 -23
  219. package/esm2022/components/arrow/index.mjs +0 -4
  220. package/esm2022/components/arrow/taiga-ui-legacy-components-arrow.mjs +0 -5
  221. package/esm2022/components/color-selector/color-edit/color-edit.component.mjs +0 -59
  222. package/esm2022/components/color-selector/color-edit/color-edit.module.mjs +0 -56
  223. package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +0 -70
  224. package/esm2022/components/color-selector/color-picker/color-picker.module.mjs +0 -25
  225. package/esm2022/components/color-selector/color-selector.component.mjs +0 -191
  226. package/esm2022/components/color-selector/color-selector.module.mjs +0 -67
  227. package/esm2022/components/color-selector/color-selector.options.mjs +0 -78
  228. package/esm2022/components/color-selector/flat-picker/flat-picker.component.mjs +0 -34
  229. package/esm2022/components/color-selector/flat-picker/flat-picker.module.mjs +0 -23
  230. package/esm2022/components/color-selector/index.mjs +0 -17
  231. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.component.mjs +0 -61
  232. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.module.mjs +0 -23
  233. package/esm2022/components/color-selector/linear-picker/linear-picker.component.mjs +0 -31
  234. package/esm2022/components/color-selector/linear-picker/linear-picker.module.mjs +0 -23
  235. package/esm2022/components/color-selector/palette/palette.component.mjs +0 -23
  236. package/esm2022/components/color-selector/palette/palette.module.mjs +0 -25
  237. package/esm2022/components/color-selector/services/picker.service.mjs +0 -31
  238. package/esm2022/components/color-selector/taiga-ui-legacy-components-color-selector.mjs +0 -5
  239. package/esm2022/components/combo-box/combo-box-strict.directive.mjs +0 -34
  240. package/esm2022/components/combo-box/combo-box.component.mjs +0 -183
  241. package/esm2022/components/combo-box/combo-box.directive.mjs +0 -28
  242. package/esm2022/components/combo-box/combo-box.module.mjs +0 -71
  243. package/esm2022/components/combo-box/index.mjs +0 -5
  244. package/esm2022/components/combo-box/taiga-ui-legacy-components-combo-box.mjs +0 -5
  245. package/esm2022/components/index.mjs +0 -34
  246. package/esm2022/components/input/index.mjs +0 -4
  247. package/esm2022/components/input/input.component.mjs +0 -97
  248. package/esm2022/components/input/input.directive.mjs +0 -25
  249. package/esm2022/components/input/input.module.mjs +0 -42
  250. package/esm2022/components/input/taiga-ui-legacy-components-input.mjs +0 -5
  251. package/esm2022/components/input-color/index.mjs +0 -3
  252. package/esm2022/components/input-color/input-color.component.mjs +0 -85
  253. package/esm2022/components/input-color/input-color.module.mjs +0 -43
  254. package/esm2022/components/input-color/taiga-ui-legacy-components-input-color.mjs +0 -5
  255. package/esm2022/components/input-copy/index.mjs +0 -5
  256. package/esm2022/components/input-copy/input-copy.component.mjs +0 -105
  257. package/esm2022/components/input-copy/input-copy.directive.mjs +0 -24
  258. package/esm2022/components/input-copy/input-copy.module.mjs +0 -55
  259. package/esm2022/components/input-copy/input-copy.options.mjs +0 -24
  260. package/esm2022/components/input-copy/taiga-ui-legacy-components-input-copy.mjs +0 -5
  261. package/esm2022/components/input-date/index.mjs +0 -4
  262. package/esm2022/components/input-date/input-date.component.mjs +0 -220
  263. package/esm2022/components/input-date/input-date.directive.mjs +0 -40
  264. package/esm2022/components/input-date/input-date.module.mjs +0 -75
  265. package/esm2022/components/input-date/native-date/native-date.component.mjs +0 -53
  266. package/esm2022/components/input-date/taiga-ui-legacy-components-input-date.mjs +0 -5
  267. package/esm2022/components/input-date-multi/index.mjs +0 -3
  268. package/esm2022/components/input-date-multi/input-date-multi.component.mjs +0 -207
  269. package/esm2022/components/input-date-multi/input-date-multi.module.mjs +0 -67
  270. package/esm2022/components/input-date-multi/taiga-ui-legacy-components-input-date-multi.mjs +0 -5
  271. package/esm2022/components/input-date-range/index.mjs +0 -4
  272. package/esm2022/components/input-date-range/input-date-range.component.mjs +0 -256
  273. package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -36
  274. package/esm2022/components/input-date-range/input-date-range.module.mjs +0 -71
  275. package/esm2022/components/input-date-range/taiga-ui-legacy-components-input-date-range.mjs +0 -5
  276. package/esm2022/components/input-date-time/index.mjs +0 -4
  277. package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -315
  278. package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -37
  279. package/esm2022/components/input-date-time/input-date-time.module.mjs +0 -78
  280. package/esm2022/components/input-date-time/native-date-time/native-date-time.directive.mjs +0 -49
  281. package/esm2022/components/input-date-time/taiga-ui-legacy-components-input-date-time.mjs +0 -5
  282. package/esm2022/components/input-month/index.mjs +0 -4
  283. package/esm2022/components/input-month/input-month.component.mjs +0 -135
  284. package/esm2022/components/input-month/input-month.directive.mjs +0 -46
  285. package/esm2022/components/input-month/input-month.module.mjs +0 -57
  286. package/esm2022/components/input-month/taiga-ui-legacy-components-input-month.mjs +0 -5
  287. package/esm2022/components/input-month-range/index.mjs +0 -4
  288. package/esm2022/components/input-month-range/input-month-range.component.mjs +0 -123
  289. package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -52
  290. package/esm2022/components/input-month-range/input-month-range.module.mjs +0 -53
  291. package/esm2022/components/input-month-range/taiga-ui-legacy-components-input-month-range.mjs +0 -5
  292. package/esm2022/components/input-number/index.mjs +0 -5
  293. package/esm2022/components/input-number/input-number.component.mjs +0 -284
  294. package/esm2022/components/input-number/input-number.directive.mjs +0 -38
  295. package/esm2022/components/input-number/input-number.module.mjs +0 -48
  296. package/esm2022/components/input-number/input-number.options.mjs +0 -30
  297. package/esm2022/components/input-number/taiga-ui-legacy-components-input-number.mjs +0 -5
  298. package/esm2022/components/input-password/index.mjs +0 -5
  299. package/esm2022/components/input-password/input-password.component.mjs +0 -80
  300. package/esm2022/components/input-password/input-password.directive.mjs +0 -34
  301. package/esm2022/components/input-password/input-password.module.mjs +0 -59
  302. package/esm2022/components/input-password/input-password.options.mjs +0 -24
  303. package/esm2022/components/input-password/taiga-ui-legacy-components-input-password.mjs +0 -5
  304. package/esm2022/components/input-phone/index.mjs +0 -5
  305. package/esm2022/components/input-phone/input-phone.component.mjs +0 -216
  306. package/esm2022/components/input-phone/input-phone.directive.mjs +0 -34
  307. package/esm2022/components/input-phone/input-phone.module.mjs +0 -44
  308. package/esm2022/components/input-phone/input-phone.options.mjs +0 -18
  309. package/esm2022/components/input-phone/taiga-ui-legacy-components-input-phone.mjs +0 -5
  310. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
  311. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
  312. package/esm2022/components/input-phone/utils/index.mjs +0 -3
  313. package/esm2022/components/input-phone-international/index.mjs +0 -4
  314. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -178
  315. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -25
  316. package/esm2022/components/input-phone-international/taiga-ui-legacy-components-input-phone-international.mjs +0 -5
  317. package/esm2022/components/input-phone-international/utils/extract-value-from-event.mjs +0 -10
  318. package/esm2022/components/input-range/index.mjs +0 -3
  319. package/esm2022/components/input-range/input-range.component.mjs +0 -207
  320. package/esm2022/components/input-range/input-range.module.mjs +0 -55
  321. package/esm2022/components/input-range/taiga-ui-legacy-components-input-range.mjs +0 -5
  322. package/esm2022/components/input-slider/index.mjs +0 -3
  323. package/esm2022/components/input-slider/input-slider.component.mjs +0 -154
  324. package/esm2022/components/input-slider/input-slider.module.mjs +0 -48
  325. package/esm2022/components/input-slider/taiga-ui-legacy-components-input-slider.mjs +0 -5
  326. package/esm2022/components/input-tag/index.mjs +0 -4
  327. package/esm2022/components/input-tag/input-tag.component.mjs +0 -436
  328. package/esm2022/components/input-tag/input-tag.module.mjs +0 -67
  329. package/esm2022/components/input-tag/input-tag.options.mjs +0 -27
  330. package/esm2022/components/input-tag/taiga-ui-legacy-components-input-tag.mjs +0 -5
  331. package/esm2022/components/input-time/index.mjs +0 -5
  332. package/esm2022/components/input-time/input-time.component.mjs +0 -238
  333. package/esm2022/components/input-time/input-time.directive.mjs +0 -40
  334. package/esm2022/components/input-time/input-time.module.mjs +0 -71
  335. package/esm2022/components/input-time/input-time.options.mjs +0 -39
  336. package/esm2022/components/input-time/native-time/native-time.component.mjs +0 -67
  337. package/esm2022/components/input-time/taiga-ui-legacy-components-input-time.mjs +0 -5
  338. package/esm2022/components/input-year/index.mjs +0 -4
  339. package/esm2022/components/input-year/input-year.component.mjs +0 -110
  340. package/esm2022/components/input-year/input-year.directive.mjs +0 -32
  341. package/esm2022/components/input-year/input-year.module.mjs +0 -53
  342. package/esm2022/components/input-year/taiga-ui-legacy-components-input-year.mjs +0 -5
  343. package/esm2022/components/island/index.mjs +0 -2
  344. package/esm2022/components/island/island.directive.mjs +0 -62
  345. package/esm2022/components/island/taiga-ui-legacy-components-island.mjs +0 -5
  346. package/esm2022/components/multi-select/hide-selected.pipe.mjs +0 -44
  347. package/esm2022/components/multi-select/index.mjs +0 -11
  348. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -98
  349. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -94
  350. package/esm2022/components/multi-select/multi-select.component.mjs +0 -233
  351. package/esm2022/components/multi-select/multi-select.directive.mjs +0 -32
  352. package/esm2022/components/multi-select/multi-select.module.mjs +0 -113
  353. package/esm2022/components/multi-select/multi-select.options.mjs +0 -17
  354. package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +0 -60
  355. package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +0 -56
  356. package/esm2022/components/multi-select/native-multi-select/native-multi-select.mjs +0 -19
  357. package/esm2022/components/multi-select/taiga-ui-legacy-components-multi-select.mjs +0 -5
  358. package/esm2022/components/multi-select-option/index.mjs +0 -3
  359. package/esm2022/components/multi-select-option/multi-select-option.component.mjs +0 -25
  360. package/esm2022/components/multi-select-option/multi-select-option.module.mjs +0 -20
  361. package/esm2022/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.mjs +0 -5
  362. package/esm2022/components/primitive-textfield/index.mjs +0 -7
  363. package/esm2022/components/primitive-textfield/primitive-textfield-options.mjs +0 -17
  364. package/esm2022/components/primitive-textfield/primitive-textfield-types.mjs +0 -2
  365. package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +0 -254
  366. package/esm2022/components/primitive-textfield/primitive-textfield.directive.mjs +0 -33
  367. package/esm2022/components/primitive-textfield/primitive-textfield.module.mjs +0 -66
  368. package/esm2022/components/primitive-textfield/taiga-ui-legacy-components-primitive-textfield.mjs +0 -5
  369. package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +0 -39
  370. package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +0 -66
  371. package/esm2022/components/select/index.mjs +0 -7
  372. package/esm2022/components/select/native-select/native-select-group.component.mjs +0 -64
  373. package/esm2022/components/select/native-select/native-select.component.mjs +0 -60
  374. package/esm2022/components/select/select.component.mjs +0 -119
  375. package/esm2022/components/select/select.directive.mjs +0 -34
  376. package/esm2022/components/select/select.module.mjs +0 -87
  377. package/esm2022/components/select/select.options.mjs +0 -24
  378. package/esm2022/components/select/taiga-ui-legacy-components-select.mjs +0 -5
  379. package/esm2022/components/select-option/index.mjs +0 -3
  380. package/esm2022/components/select-option/select-option.component.mjs +0 -65
  381. package/esm2022/components/select-option/select-option.module.mjs +0 -21
  382. package/esm2022/components/select-option/taiga-ui-legacy-components-select-option.mjs +0 -5
  383. package/esm2022/components/sheet/components/sheet/sheet.component.mjs +0 -117
  384. package/esm2022/components/sheet/components/sheet/sheet.providers.mjs +0 -42
  385. package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +0 -27
  386. package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +0 -31
  387. package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +0 -46
  388. package/esm2022/components/sheet/directives/sheet-close/sheet-close.directive.mjs +0 -39
  389. package/esm2022/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +0 -38
  390. package/esm2022/components/sheet/directives/sheet-top/sheet-top.directive.mjs +0 -52
  391. package/esm2022/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs +0 -77
  392. package/esm2022/components/sheet/index.mjs +0 -14
  393. package/esm2022/components/sheet/sheet-options.mjs +0 -24
  394. package/esm2022/components/sheet/sheet-tokens.mjs +0 -17
  395. package/esm2022/components/sheet/sheet.directive.mjs +0 -40
  396. package/esm2022/components/sheet/sheet.mjs +0 -2
  397. package/esm2022/components/sheet/sheet.module.mjs +0 -75
  398. package/esm2022/components/sheet/sheet.service.mjs +0 -52
  399. package/esm2022/components/sheet/taiga-ui-legacy-components-sheet.mjs +0 -5
  400. package/esm2022/components/svg/content-processor.mjs +0 -41
  401. package/esm2022/components/svg/deprecated-icons.mjs +0 -63
  402. package/esm2022/components/svg/index.mjs +0 -6
  403. package/esm2022/components/svg/svg-options.mjs +0 -83
  404. package/esm2022/components/svg/svg.component.mjs +0 -150
  405. package/esm2022/components/svg/svg.service.mjs +0 -64
  406. package/esm2022/components/svg/taiga-ui-legacy-components-svg.mjs +0 -5
  407. package/esm2022/components/table-bar/index.mjs +0 -5
  408. package/esm2022/components/table-bar/table-bar.component.mjs +0 -37
  409. package/esm2022/components/table-bar/table-bar.directive.mjs +0 -25
  410. package/esm2022/components/table-bar/table-bar.options.mjs +0 -34
  411. package/esm2022/components/table-bar/table-bars-host.component.mjs +0 -39
  412. package/esm2022/components/table-bar/table-bars.service.mjs +0 -22
  413. package/esm2022/components/table-bar/taiga-ui-legacy-components-table-bar.mjs +0 -5
  414. package/esm2022/components/tag/index.mjs +0 -4
  415. package/esm2022/components/tag/tag.component.mjs +0 -158
  416. package/esm2022/components/tag/tag.module.mjs +0 -42
  417. package/esm2022/components/tag/tag.options.mjs +0 -26
  418. package/esm2022/components/tag/taiga-ui-legacy-components-tag.mjs +0 -5
  419. package/esm2022/components/taiga-ui-legacy-components.mjs +0 -5
  420. package/esm2022/components/textarea/index.mjs +0 -4
  421. package/esm2022/components/textarea/taiga-ui-legacy-components-textarea.mjs +0 -5
  422. package/esm2022/components/textarea/textarea.component.mjs +0 -175
  423. package/esm2022/components/textarea/textarea.directive.mjs +0 -25
  424. package/esm2022/components/textarea/textarea.module.mjs +0 -68
  425. package/esm2022/components/tooltip/index.mjs +0 -3
  426. package/esm2022/components/tooltip/taiga-ui-legacy-components-tooltip.mjs +0 -5
  427. package/esm2022/components/tooltip/tooltip.component.mjs +0 -27
  428. package/esm2022/components/tooltip/tooltip.module.mjs +0 -24
  429. package/esm2022/directives/index.mjs +0 -6
  430. package/esm2022/directives/legacy-dropdown-open-monitor/index.mjs +0 -2
  431. package/esm2022/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.mjs +0 -44
  432. package/esm2022/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -5
  433. package/esm2022/directives/taiga-ui-legacy-directives.mjs +0 -5
  434. package/esm2022/directives/textfield-controller/index.mjs +0 -15
  435. package/esm2022/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.mjs +0 -5
  436. package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +0 -34
  437. package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +0 -28
  438. package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +0 -72
  439. package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +0 -44
  440. package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +0 -28
  441. package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +0 -28
  442. package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +0 -24
  443. package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +0 -24
  444. package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +0 -32
  445. package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +0 -28
  446. package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +0 -28
  447. package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +0 -28
  448. package/esm2022/directives/textfield-controller/textfield.controller.mjs +0 -49
  449. package/esm2022/directives/textfield-controller/textfield.options.mjs +0 -21
  450. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  451. package/esm2022/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -5
  452. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -30
  453. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -15
  454. package/esm2022/directives/value-accessor/index.mjs +0 -4
  455. package/esm2022/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.mjs +0 -5
  456. package/esm2022/directives/value-accessor/value-accessor.directive.mjs +0 -17
  457. package/esm2022/directives/value-accessor/value-accessor.module.mjs +0 -17
  458. package/esm2022/directives/value-accessor/value-accessor.provider.mjs +0 -10
  459. package/esm2022/directives/wrapper/index.mjs +0 -3
  460. package/esm2022/directives/wrapper/taiga-ui-legacy-directives-wrapper.mjs +0 -5
  461. package/esm2022/directives/wrapper/wrapper.directive.mjs +0 -77
  462. package/esm2022/directives/wrapper/wrapper.module.mjs +0 -20
  463. package/esm2022/index.mjs +0 -8
  464. package/esm2022/pipes/format-phone/format-phone.pipe.mjs +0 -54
  465. package/esm2022/pipes/format-phone/index.mjs +0 -2
  466. package/esm2022/pipes/format-phone/taiga-ui-legacy-pipes-format-phone.mjs +0 -5
  467. package/esm2022/pipes/index.mjs +0 -4
  468. package/esm2022/pipes/iso-to-country-code/index.mjs +0 -2
  469. package/esm2022/pipes/iso-to-country-code/iso-to-country-code.pipe.mjs +0 -44
  470. package/esm2022/pipes/iso-to-country-code/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -5
  471. package/esm2022/pipes/taiga-ui-legacy-pipes.mjs +0 -5
  472. package/esm2022/pipes/to-country-code/index.mjs +0 -2
  473. package/esm2022/pipes/to-country-code/taiga-ui-legacy-pipes-to-country-code.mjs +0 -5
  474. package/esm2022/pipes/to-country-code/to-country-code.pipe.mjs +0 -74
  475. package/esm2022/services/index.mjs +0 -2
  476. package/esm2022/services/static-request.service.mjs +0 -36
  477. package/esm2022/services/taiga-ui-legacy-services.mjs +0 -5
  478. package/esm2022/taiga-ui-legacy.mjs +0 -5
  479. package/esm2022/tokens/countries-masks.mjs +0 -257
  480. package/esm2022/tokens/focusable-item-accessor.mjs +0 -14
  481. package/esm2022/tokens/fonts-ready.mjs +0 -10
  482. package/esm2022/tokens/icons.mjs +0 -9
  483. package/esm2022/tokens/index.mjs +0 -15
  484. package/esm2022/tokens/is-apple.mjs +0 -11
  485. package/esm2022/tokens/is-chromium.mjs +0 -10
  486. package/esm2022/tokens/is-firefox.mjs +0 -11
  487. package/esm2022/tokens/is-stackblitz.mjs +0 -9
  488. package/esm2022/tokens/month-formatter.mjs +0 -18
  489. package/esm2022/tokens/sanitizer.mjs +0 -7
  490. package/esm2022/tokens/taiga-ui-legacy-tokens.mjs +0 -5
  491. package/esm2022/tokens/textfield-appearance.mjs +0 -10
  492. package/esm2022/tokens/textfield-host.mjs +0 -14
  493. package/esm2022/tokens/touch-supported.mjs +0 -9
  494. package/esm2022/tokens/value-accessor.mjs +0 -7
  495. package/esm2022/utils/capitalize-first-letter.mjs +0 -7
  496. package/esm2022/utils/date-mode-maskito-adapter.mjs +0 -9
  497. package/esm2022/utils/format-phone.mjs +0 -60
  498. package/esm2022/utils/get-border.mjs +0 -23
  499. package/esm2022/utils/get-max-allowed-phone-length.mjs +0 -26
  500. package/esm2022/utils/get-safe-area-size.mjs +0 -18
  501. package/esm2022/utils/icons-path-factory.mjs +0 -22
  502. package/esm2022/utils/index.mjs +0 -14
  503. package/esm2022/utils/is-apple.mjs +0 -6
  504. package/esm2022/utils/is-presumed-html-string.mjs +0 -8
  505. package/esm2022/utils/iso-to-country-code.mjs +0 -16
  506. package/esm2022/utils/not-kz-region.mjs +0 -24
  507. package/esm2022/utils/process-icon.mjs +0 -34
  508. package/esm2022/utils/specific-dropdown-controllers.mjs +0 -9
  509. package/esm2022/utils/status.mjs +0 -2
  510. package/esm2022/utils/taiga-ui-legacy-utils.mjs +0 -5
  511. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
  512. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  513. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -301
  514. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  515. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  516. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  517. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
  518. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
  519. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
  520. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
  521. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  522. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  523. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
  524. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
  525. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
  526. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
  527. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  528. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  529. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -358
  530. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  531. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -434
  532. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  533. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  534. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  535. package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
  536. package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
  537. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -574
  538. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
  539. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -389
  540. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  541. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -145
  542. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
  543. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -60
  544. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  545. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  546. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  547. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  548. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  549. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  550. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  551. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  552. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  553. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  554. package/pipes/format-phone/index.d.ts +0 -1
  555. package/pipes/index.d.ts +0 -3
  556. package/pipes/iso-to-country-code/index.d.ts +0 -1
  557. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  558. package/pipes/to-country-code/index.d.ts +0 -1
  559. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  560. package/services/index.d.ts +0 -1
  561. package/services/static-request.service.d.ts +0 -11
  562. package/utils/is-apple.d.ts +0 -5
@@ -0,0 +1,141 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, computed, ChangeDetectionStrategy, Component, InjectionToken, Injectable, input, Directive, assertInInjectionContext, INJECTOR } from '@angular/core';
3
+ import { toSignal, takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
+ import { TUI_TRUE_HANDLER } from '@taiga-ui/cdk/constants';
5
+ import * as i1 from '@taiga-ui/cdk/directives/animated';
6
+ import { TuiAnimated } from '@taiga-ui/cdk/directives/animated';
7
+ import { TuiAutoFocus } from '@taiga-ui/cdk/directives/auto-focus';
8
+ import { TuiButton } from '@taiga-ui/core/components/button';
9
+ import { TuiDialogCloseService, TUI_DIALOGS_CLOSE } from '@taiga-ui/core/components/dialog';
10
+ import { TuiBreakpointService } from '@taiga-ui/core/services';
11
+ import { TUI_CLOSE_WORD, TUI_COMMON_ICONS } from '@taiga-ui/core/tokens';
12
+ import { injectContext, PolymorpheusOutlet, PolymorpheusComponent } from '@taiga-ui/polymorpheus';
13
+ import { of, isObservable, Subject, map, merge, switchMap, exhaustMap, take, filter } from 'rxjs';
14
+ import * as i1$1 from '@taiga-ui/cdk/portals';
15
+ import { tuiAsPortal, TuiPortalDirective } from '@taiga-ui/cdk/portals';
16
+ import { TuiModalService } from '@taiga-ui/core/components/modal';
17
+ import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
18
+
19
+ const REQUIRED_ERROR = new Error('Required dialog was dismissed');
20
+ function toObservable(valueOrStream) {
21
+ return isObservable(valueOrStream) ? valueOrStream : of(valueOrStream);
22
+ }
23
+ class TuiDialogComponent {
24
+ constructor() {
25
+ this.close$ = new Subject();
26
+ this.context = injectContext();
27
+ this.closeWord = inject(TUI_CLOSE_WORD);
28
+ this.icons = inject(TUI_COMMON_ICONS);
29
+ this.from = computed(() => this.size === 'fullscreen' || this.size === 'page' || this.isMobile()
30
+ ? 'translateY(100vh)'
31
+ : 'translateY(2.5rem)');
32
+ this.isMobile = toSignal(inject(TuiBreakpointService).pipe(map((breakpoint) => breakpoint === 'mobile')));
33
+ merge(this.close$.pipe(switchMap(() => toObservable(this.context.closable))), inject(TuiDialogCloseService).pipe(exhaustMap(() => toObservable(this.context.dismissible).pipe(take(1)))), inject(TUI_DIALOGS_CLOSE).pipe(map(TUI_TRUE_HANDLER)))
34
+ .pipe(filter(Boolean), takeUntilDestroyed())
35
+ .subscribe(() => {
36
+ this.close();
37
+ });
38
+ }
39
+ get size() {
40
+ return this.context.size;
41
+ }
42
+ get header() {
43
+ return this.context.header;
44
+ }
45
+ close() {
46
+ if (this.context.required) {
47
+ this.context.$implicit.error(REQUIRED_ERROR);
48
+ }
49
+ else {
50
+ this.context.$implicit.complete();
51
+ }
52
+ }
53
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
54
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiDialogComponent, isStandalone: true, selector: "tui-dialog-legacy", host: { properties: { "attr.data-appearance": "context.appearance", "attr.data-size": "size", "class._centered": "header", "style.--tui-from": "from()" } }, providers: [TuiDialogCloseService], hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: "@if (header) {\n <header class=\"t-header\">\n <ng-container *polymorpheusOutlet=\"header as text; context: context\">\n {{ text }}\n </ng-container>\n </header>\n}\n<div class=\"t-content\">\n <h2\n class=\"t-heading\"\n [class.t-heading_closable]=\"context.closable && !header\"\n [id]=\"context.id\"\n [textContent]=\"context.label\"\n ></h2>\n <section>\n <ng-container *polymorpheusOutlet=\"context.content as text; context: context\">\n <div [innerHTML]=\"text\"></div>\n @if (context.closable || context.dismissible) {\n <div class=\"t-buttons\">\n <button\n size=\"m\"\n tuiAutoFocus\n tuiButton\n type=\"button\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ context.data?.button || 'OK' }}\n </button>\n </div>\n }\n </ng-container>\n </section>\n</div>\n<div class=\"t-filler\"></div>\n\n<!-- Close button is insensitive to `context.closable === Observable<false>` by design -->\n@if (context.closable) {\n <button\n automation-id=\"tui-dialog__close\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [appearance]=\"isMobile() ? 'icon' : 'neutral'\"\n [iconStart]=\"icons.close\"\n [size]=\"isMobile() ? 'xs' : 's'\"\n [style.border-radius.%]=\"100\"\n (click)=\"close$.next()\"\n (mousedown.prevent.zoneless)=\"(0)\"\n >\n {{ closeWord() }}\n </button>\n}\n", styles: [":host{position:relative;display:flex;font:var(--tui-font-text-m);flex-direction:column;box-sizing:border-box;margin:2.5rem;border-radius:1.5rem}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}:host:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";border-radius:inherit;pointer-events:none;box-shadow:var(--tui-shadow-popup)}:host[data-size=auto]{inline-size:auto}:host[data-size=s]{inline-size:25rem}:host[data-size=s] .t-content{padding:1.5rem}:host[data-size=s] .t-heading{font:var(--tui-font-heading-5)}:host[data-size=m]{inline-size:37.5rem}:host[data-size=l]{inline-size:50rem}:host[data-size=fullscreen],:host[data-size=page]{min-inline-size:100vw;min-block-size:100%;border-radius:0;border:none;background:var(--tui-background-elevation-1);box-shadow:0 4rem var(--tui-background-elevation-1)}:host[data-size=fullscreen] .t-content,:host[data-size=page] .t-content{padding:3rem calc(50vw - 22.5rem)}:host[data-size=fullscreen] .t-heading,:host[data-size=page] .t-heading{font:var(--tui-font-heading-3)}:host._centered{text-align:center}:host :host-context(tui-root._mobile)[data-size]{min-inline-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0;border:none;margin:auto 0 0;background:var(--tui-background-elevation-1);padding-block-end:env(safe-area-inset-bottom)}:host :host-context(tui-root._mobile)[data-size] .t-content{padding:1rem}:host :host-context(tui-root._mobile)[data-size] .t-heading{font:var(--tui-font-heading-5)}:host :host-context(tui-root._mobile)[data-size=fullscreen],:host :host-context(tui-root._mobile)[data-size=page]{padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}:host :host-context(tui-root._mobile)[data-size=fullscreen] .t-close,:host :host-context(tui-root._mobile)[data-size=page] .t-close{top:max(1rem,env(safe-area-inset-top))}:host[data-size=page] .t-content,:host-context(tui-root._mobile) :host[data-size=page] .t-content{padding:0}.t-heading{margin:0 0 .5rem;overflow-wrap:break-word;font:var(--tui-font-heading-4)}.t-heading_closable{padding-inline-end:2rem}.t-heading:empty{display:none}.t-header{display:flex;border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden}:host[data-size=fullscreen] :host-context(tui-root._mobile) .t-header{flex:1}.t-content{border-radius:inherit;padding:1.75rem;background:var(--tui-background-elevation-1)}.t-content:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.t-content>section{border-radius:inherit}.t-filler{flex-grow:1}.t-close{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:1rem;right:1rem}@supports (inset-inline-end: 0){.t-close{right:unset;inset-inline-end:1rem}}.t-buttons{margin-block-start:1.25rem;text-align:end}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiAutoFocus, selector: "[tuiAutoFocus]", inputs: ["tuiAutoFocus"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
55
+ }
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDialogComponent, decorators: [{
57
+ type: Component,
58
+ args: [{ selector: 'tui-dialog-legacy', imports: [PolymorpheusOutlet, TuiAutoFocus, TuiButton], changeDetection: ChangeDetectionStrategy.Default, providers: [TuiDialogCloseService], hostDirectives: [TuiAnimated], host: {
59
+ '[attr.data-appearance]': 'context.appearance',
60
+ '[attr.data-size]': 'size',
61
+ '[class._centered]': 'header',
62
+ '[style.--tui-from]': 'from()',
63
+ }, template: "@if (header) {\n <header class=\"t-header\">\n <ng-container *polymorpheusOutlet=\"header as text; context: context\">\n {{ text }}\n </ng-container>\n </header>\n}\n<div class=\"t-content\">\n <h2\n class=\"t-heading\"\n [class.t-heading_closable]=\"context.closable && !header\"\n [id]=\"context.id\"\n [textContent]=\"context.label\"\n ></h2>\n <section>\n <ng-container *polymorpheusOutlet=\"context.content as text; context: context\">\n <div [innerHTML]=\"text\"></div>\n @if (context.closable || context.dismissible) {\n <div class=\"t-buttons\">\n <button\n size=\"m\"\n tuiAutoFocus\n tuiButton\n type=\"button\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ context.data?.button || 'OK' }}\n </button>\n </div>\n }\n </ng-container>\n </section>\n</div>\n<div class=\"t-filler\"></div>\n\n<!-- Close button is insensitive to `context.closable === Observable<false>` by design -->\n@if (context.closable) {\n <button\n automation-id=\"tui-dialog__close\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [appearance]=\"isMobile() ? 'icon' : 'neutral'\"\n [iconStart]=\"icons.close\"\n [size]=\"isMobile() ? 'xs' : 's'\"\n [style.border-radius.%]=\"100\"\n (click)=\"close$.next()\"\n (mousedown.prevent.zoneless)=\"(0)\"\n >\n {{ closeWord() }}\n </button>\n}\n", styles: [":host{position:relative;display:flex;font:var(--tui-font-text-m);flex-direction:column;box-sizing:border-box;margin:2.5rem;border-radius:1.5rem}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}:host:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";border-radius:inherit;pointer-events:none;box-shadow:var(--tui-shadow-popup)}:host[data-size=auto]{inline-size:auto}:host[data-size=s]{inline-size:25rem}:host[data-size=s] .t-content{padding:1.5rem}:host[data-size=s] .t-heading{font:var(--tui-font-heading-5)}:host[data-size=m]{inline-size:37.5rem}:host[data-size=l]{inline-size:50rem}:host[data-size=fullscreen],:host[data-size=page]{min-inline-size:100vw;min-block-size:100%;border-radius:0;border:none;background:var(--tui-background-elevation-1);box-shadow:0 4rem var(--tui-background-elevation-1)}:host[data-size=fullscreen] .t-content,:host[data-size=page] .t-content{padding:3rem calc(50vw - 22.5rem)}:host[data-size=fullscreen] .t-heading,:host[data-size=page] .t-heading{font:var(--tui-font-heading-3)}:host._centered{text-align:center}:host :host-context(tui-root._mobile)[data-size]{min-inline-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0;border:none;margin:auto 0 0;background:var(--tui-background-elevation-1);padding-block-end:env(safe-area-inset-bottom)}:host :host-context(tui-root._mobile)[data-size] .t-content{padding:1rem}:host :host-context(tui-root._mobile)[data-size] .t-heading{font:var(--tui-font-heading-5)}:host :host-context(tui-root._mobile)[data-size=fullscreen],:host :host-context(tui-root._mobile)[data-size=page]{padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}:host :host-context(tui-root._mobile)[data-size=fullscreen] .t-close,:host :host-context(tui-root._mobile)[data-size=page] .t-close{top:max(1rem,env(safe-area-inset-top))}:host[data-size=page] .t-content,:host-context(tui-root._mobile) :host[data-size=page] .t-content{padding:0}.t-heading{margin:0 0 .5rem;overflow-wrap:break-word;font:var(--tui-font-heading-4)}.t-heading_closable{padding-inline-end:2rem}.t-heading:empty{display:none}.t-header{display:flex;border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden}:host[data-size=fullscreen] :host-context(tui-root._mobile) .t-header{flex:1}.t-content{border-radius:inherit;padding:1.75rem;background:var(--tui-background-elevation-1)}.t-content:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.t-content>section{border-radius:inherit}.t-filler{flex-grow:1}.t-close{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:1rem;right:1rem}@supports (inset-inline-end: 0){.t-close{right:unset;inset-inline-end:1rem}}.t-buttons{margin-block-start:1.25rem;text-align:end}\n"] }]
64
+ }], ctorParameters: () => [] });
65
+
66
+ const TUI_DIALOG_DEFAULT_OPTIONS = {
67
+ appearance: '',
68
+ size: 'm',
69
+ required: false,
70
+ closable: true,
71
+ dismissible: true,
72
+ label: '',
73
+ header: '',
74
+ data: undefined,
75
+ };
76
+ /**
77
+ * Default parameters for dialog component
78
+ */
79
+ const TUI_DIALOG_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_DIALOG_OPTIONS' : '', {
80
+ factory: () => TUI_DIALOG_DEFAULT_OPTIONS,
81
+ });
82
+ function tuiDialogOptionsProvider(options) {
83
+ return tuiProvideOptions(TUI_DIALOG_OPTIONS, options, TUI_DIALOG_DEFAULT_OPTIONS);
84
+ }
85
+
86
+ class TuiDialogService extends TuiModalService {
87
+ constructor() {
88
+ super(...arguments);
89
+ this.options = inject(TUI_DIALOG_OPTIONS);
90
+ this.content = TuiDialogComponent;
91
+ }
92
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDialogService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
93
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDialogService, providedIn: 'root' }); }
94
+ }
95
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDialogService, decorators: [{
96
+ type: Injectable,
97
+ args: [{
98
+ providedIn: 'root',
99
+ }]
100
+ }] });
101
+
102
+ class TuiDialog {
103
+ constructor() {
104
+ this.tuiDialogOptions = input({});
105
+ }
106
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDialog, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
107
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.15", type: TuiDialog, isStandalone: true, selector: "ng-template[tuiDialog]", inputs: { tuiDialogOptions: { classPropertyName: "tuiDialogOptions", publicName: "tuiDialogOptions", isSignal: true, isRequired: false, transformFunction: null } }, providers: [tuiAsPortal(TuiDialogService)], hostDirectives: [{ directive: i1$1.TuiPortalDirective, inputs: ["options", "tuiDialogOptions", "open", "tuiDialog"], outputs: ["openChange", "tuiDialogChange"] }], ngImport: i0 }); }
108
+ }
109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDialog, decorators: [{
110
+ type: Directive,
111
+ args: [{
112
+ selector: 'ng-template[tuiDialog]',
113
+ providers: [tuiAsPortal(TuiDialogService)],
114
+ hostDirectives: [
115
+ {
116
+ directive: TuiPortalDirective,
117
+ inputs: ['options: tuiDialogOptions', 'open: tuiDialog'],
118
+ outputs: ['openChange: tuiDialogChange'],
119
+ },
120
+ ],
121
+ }]
122
+ }] });
123
+
124
+ function tuiDialog(component, { injector, ...options } = {}) {
125
+ if (!injector) {
126
+ assertInInjectionContext(tuiDialog);
127
+ injector = inject(INJECTOR);
128
+ }
129
+ const dialogService = injector.get(TuiDialogService);
130
+ return (data) => dialogService.open(new PolymorpheusComponent(component, injector), {
131
+ ...options,
132
+ data,
133
+ });
134
+ }
135
+
136
+ /**
137
+ * Generated bundle index. Do not edit.
138
+ */
139
+
140
+ export { TUI_DIALOG_DEFAULT_OPTIONS, TUI_DIALOG_OPTIONS, TuiDialog, TuiDialogComponent, TuiDialogService, tuiDialog, tuiDialogOptionsProvider };
141
+ //# sourceMappingURL=taiga-ui-legacy-components-dialog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-legacy-components-dialog.mjs","sources":["../../../projects/legacy/components/dialog/dialog.component.ts","../../../projects/legacy/components/dialog/dialog.template.html","../../../projects/legacy/components/dialog/dialog.tokens.ts","../../../projects/legacy/components/dialog/dialog.service.ts","../../../projects/legacy/components/dialog/dialog.directive.ts","../../../projects/legacy/components/dialog/dialog.factory.ts","../../../projects/legacy/components/dialog/taiga-ui-legacy-components-dialog.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, computed, inject} from '@angular/core';\nimport {takeUntilDestroyed, toSignal} from '@angular/core/rxjs-interop';\nimport {TUI_TRUE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {TuiAutoFocus} from '@taiga-ui/cdk/directives/auto-focus';\nimport {TuiButton} from '@taiga-ui/core/components/button';\nimport {TUI_DIALOGS_CLOSE, TuiDialogCloseService} from '@taiga-ui/core/components/dialog';\nimport {TuiBreakpointService} from '@taiga-ui/core/services';\nimport {TUI_CLOSE_WORD, TUI_COMMON_ICONS} from '@taiga-ui/core/tokens';\nimport {\n injectContext,\n type PolymorpheusContent,\n PolymorpheusOutlet,\n} from '@taiga-ui/polymorpheus';\nimport {\n exhaustMap,\n filter,\n isObservable,\n map,\n merge,\n type Observable,\n of,\n Subject,\n switchMap,\n take,\n} from 'rxjs';\n\nimport {type TuiDialogContext, type TuiDialogSize} from './dialog.interfaces';\n\nconst REQUIRED_ERROR = new Error('Required dialog was dismissed');\n\nfunction toObservable<T>(valueOrStream: Observable<T> | T): Observable<T> {\n return isObservable(valueOrStream) ? valueOrStream : of(valueOrStream);\n}\n\n@Component({\n selector: 'tui-dialog-legacy',\n imports: [PolymorpheusOutlet, TuiAutoFocus, TuiButton],\n templateUrl: './dialog.template.html',\n styleUrl: './dialog.style.less',\n // So we don't force OnPush on dialog content\n // eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection\n changeDetection: ChangeDetectionStrategy.Default,\n providers: [TuiDialogCloseService],\n hostDirectives: [TuiAnimated],\n host: {\n '[attr.data-appearance]': 'context.appearance',\n '[attr.data-size]': 'size',\n '[class._centered]': 'header',\n '[style.--tui-from]': 'from()',\n },\n})\nexport class TuiDialogComponent<O, I> {\n protected readonly close$ = new Subject<void>();\n protected readonly context = injectContext<TuiDialogContext<I, O>>();\n protected readonly closeWord = inject(TUI_CLOSE_WORD);\n protected readonly icons = inject(TUI_COMMON_ICONS);\n protected readonly from = computed(() =>\n this.size === 'fullscreen' || this.size === 'page' || this.isMobile()\n ? 'translateY(100vh)'\n : 'translateY(2.5rem)',\n );\n\n protected readonly isMobile = toSignal(\n inject(TuiBreakpointService).pipe(map((breakpoint) => breakpoint === 'mobile')),\n );\n\n constructor() {\n merge(\n this.close$.pipe(switchMap(() => toObservable(this.context.closable))),\n inject(TuiDialogCloseService).pipe(\n exhaustMap(() => toObservable(this.context.dismissible).pipe(take(1))),\n ),\n inject(TUI_DIALOGS_CLOSE).pipe(map(TUI_TRUE_HANDLER)),\n )\n .pipe(filter(Boolean), takeUntilDestroyed())\n .subscribe(() => {\n this.close();\n });\n }\n\n protected get size(): TuiDialogSize {\n return this.context.size;\n }\n\n protected get header(): PolymorpheusContent<TuiDialogContext<I, O>> {\n return this.context.header;\n }\n\n private close(): void {\n if (this.context.required) {\n this.context.$implicit.error(REQUIRED_ERROR);\n } else {\n this.context.$implicit.complete();\n }\n }\n}\n","@if (header) {\n <header class=\"t-header\">\n <ng-container *polymorpheusOutlet=\"header as text; context: context\">\n {{ text }}\n </ng-container>\n </header>\n}\n<div class=\"t-content\">\n <h2\n class=\"t-heading\"\n [class.t-heading_closable]=\"context.closable && !header\"\n [id]=\"context.id\"\n [textContent]=\"context.label\"\n ></h2>\n <section>\n <ng-container *polymorpheusOutlet=\"context.content as text; context: context\">\n <div [innerHTML]=\"text\"></div>\n @if (context.closable || context.dismissible) {\n <div class=\"t-buttons\">\n <button\n size=\"m\"\n tuiAutoFocus\n tuiButton\n type=\"button\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ context.data?.button || 'OK' }}\n </button>\n </div>\n }\n </ng-container>\n </section>\n</div>\n<div class=\"t-filler\"></div>\n\n<!-- Close button is insensitive to `context.closable === Observable<false>` by design -->\n@if (context.closable) {\n <button\n automation-id=\"tui-dialog__close\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [appearance]=\"isMobile() ? 'icon' : 'neutral'\"\n [iconStart]=\"icons.close\"\n [size]=\"isMobile() ? 'xs' : 's'\"\n [style.border-radius.%]=\"100\"\n (click)=\"close$.next()\"\n (mousedown.prevent.zoneless)=\"(0)\"\n >\n {{ closeWord() }}\n </button>\n}\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\nimport {type TuiDialogOptions} from './dialog.interfaces';\n\nexport const TUI_DIALOG_DEFAULT_OPTIONS: TuiDialogOptions<void> = {\n appearance: '',\n size: 'm',\n required: false,\n closable: true,\n dismissible: true,\n label: '',\n header: '',\n data: undefined,\n};\n\n/**\n * Default parameters for dialog component\n */\nexport const TUI_DIALOG_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_DIALOG_OPTIONS' : '',\n {\n factory: () => TUI_DIALOG_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiDialogOptionsProvider(\n options: Partial<TuiDialogOptions<unknown>>,\n): Provider {\n return tuiProvideOptions(TUI_DIALOG_OPTIONS, options, TUI_DIALOG_DEFAULT_OPTIONS);\n}\n","import {inject, Injectable} from '@angular/core';\nimport {TuiModalService} from '@taiga-ui/core/components/modal';\n\nimport {TuiDialogComponent} from './dialog.component';\nimport {type TuiDialogOptions} from './dialog.interfaces';\nimport {TUI_DIALOG_OPTIONS} from './dialog.tokens';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiDialogService extends TuiModalService<TuiDialogOptions<any>> {\n protected readonly options = inject(TUI_DIALOG_OPTIONS);\n protected readonly content = TuiDialogComponent;\n}\n","import {Directive, input} from '@angular/core';\nimport {tuiAsPortal, TuiPortalDirective} from '@taiga-ui/cdk/portals';\n\nimport {type TuiDialogOptions} from './dialog.interfaces';\nimport {TuiDialogService} from './dialog.service';\n\n@Directive({\n selector: 'ng-template[tuiDialog]',\n providers: [tuiAsPortal(TuiDialogService)],\n hostDirectives: [\n {\n directive: TuiPortalDirective,\n inputs: ['options: tuiDialogOptions', 'open: tuiDialog'],\n outputs: ['openChange: tuiDialogChange'],\n },\n ],\n})\nexport class TuiDialog<T> {\n public readonly tuiDialogOptions = input<Partial<TuiDialogOptions<T>>>({});\n}\n","import {assertInInjectionContext, inject, INJECTOR, type Injector} from '@angular/core';\nimport {PolymorpheusComponent} from '@taiga-ui/polymorpheus';\nimport {type Observable} from 'rxjs';\n\nimport {type TuiDialogContext, type TuiDialogOptions} from './dialog.interfaces';\nimport {TuiDialogService} from './dialog.service';\n\ntype SingleUnionOrNever<T, U = T> = [T] extends [never]\n ? never\n : T extends U\n ? [U] extends [T]\n ? T\n : never\n : never;\n\ntype ReplaceAny<T> = 0 extends T & 1 ? void : T;\n\ntype ContextKeys<T> = {\n [K in keyof T]: ReplaceAny<T[K]> extends TuiDialogContext<any, any> | null\n ? K\n : never;\n}[keyof T];\n\ntype AssertNotMultipleContexts<T, K extends keyof T> = [K] extends [never]\n ? new (...args: any[]) => T\n : [SingleUnionOrNever<K>] extends [never]\n ? 'Component has multiple context. Cannot determine the type...'\n : new (...args: any[]) => T;\n\ntype ExtractDialogData<T, K extends keyof T = ContextKeys<T>> = [K] extends [never]\n ? void\n : [SingleUnionOrNever<K>] extends [never]\n ? never\n : T[K] extends TuiDialogContext<any, infer D> | null\n ? D\n : void;\n\ntype ExtractDialogResult<T, K extends keyof T = ContextKeys<T>> = [K] extends [never]\n ? void\n : [SingleUnionOrNever<K>] extends [never]\n ? never\n : T[K] extends TuiDialogContext<infer R, any> | null\n ? R\n : void;\n\ntype Options<T> = Omit<TuiDialogOptions<T>, 'data'> & {injector: Injector};\n\nexport function tuiDialog<\n T,\n K extends ContextKeys<T>,\n D extends ExtractDialogData<T, K>,\n R extends ExtractDialogResult<T, K>,\n>(\n component: AssertNotMultipleContexts<T, K>,\n {injector, ...options}: Partial<Options<D>> = {},\n): (data: D) => Observable<R> {\n if (!injector) {\n assertInInjectionContext(tuiDialog);\n injector = inject(INJECTOR);\n }\n\n const dialogService = injector.get(TuiDialogService);\n\n return (data) =>\n dialogService.open(\n new PolymorpheusComponent(component as new () => T, injector),\n {\n ...options,\n data,\n },\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;AA6BA,MAAM,cAAc,GAAG,IAAI,KAAK,CAAC,+BAA+B,CAAC;AAEjE,SAAS,YAAY,CAAI,aAAgC,EAAA;AACrD,IAAA,OAAO,YAAY,CAAC,aAAa,CAAC,GAAG,aAAa,GAAG,EAAE,CAAC,aAAa,CAAC;AAC1E;MAmBa,kBAAkB,CAAA;AAe3B,IAAA,WAAA,GAAA;AAdmB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,OAAO,EAAQ;QAC5B,IAAO,CAAA,OAAA,GAAG,aAAa,EAA0B;AACjD,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,cAAc,CAAC;AAClC,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,gBAAgB,CAAC;QAChC,IAAI,CAAA,IAAA,GAAG,QAAQ,CAAC,MAC/B,IAAI,CAAC,IAAI,KAAK,YAAY,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM,IAAI,IAAI,CAAC,QAAQ;AAC/D,cAAE;cACA,oBAAoB,CAC7B;QAEkB,IAAQ,CAAA,QAAA,GAAG,QAAQ,CAClC,MAAM,CAAC,oBAAoB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,UAAU,KAAK,UAAU,KAAK,QAAQ,CAAC,CAAC,CAClF;AAGG,QAAA,KAAK,CACD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,EACtE,MAAM,CAAC,qBAAqB,CAAC,CAAC,IAAI,CAC9B,UAAU,CAAC,MAAM,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CACzE,EACD,MAAM,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;aAEpD,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,kBAAkB,EAAE;aAC1C,SAAS,CAAC,MAAK;YACZ,IAAI,CAAC,KAAK,EAAE;AAChB,SAAC,CAAC;;AAGV,IAAA,IAAc,IAAI,GAAA;AACd,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI;;AAG5B,IAAA,IAAc,MAAM,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM;;IAGtB,KAAK,GAAA;AACT,QAAA,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE;YACvB,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,cAAc,CAAC;;aACzC;AACH,YAAA,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,EAAE;;;+GAzChC,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,sBAAA,EAAA,oBAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,SAAA,EAThB,CAAC,qBAAqB,CAAC,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,WAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC3CtC,krDAoDA,EAAA,MAAA,EAAA,CAAA,wwFAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDfc,kBAAkB,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,CAAA,oBAAA,EAAA,2BAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,YAAY,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,cAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,SAAS,EAAA,QAAA,EAAA,uEAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,OAAA,EAAA,CAAA,CAAA;;4FAe5C,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAjB9B,SAAS;+BACI,mBAAmB,EAAA,OAAA,EACpB,CAAC,kBAAkB,EAAE,YAAY,EAAE,SAAS,CAAC,EAKrC,eAAA,EAAA,uBAAuB,CAAC,OAAO,EAAA,SAAA,EACrC,CAAC,qBAAqB,CAAC,kBAClB,CAAC,WAAW,CAAC,EACvB,IAAA,EAAA;AACF,wBAAA,wBAAwB,EAAE,oBAAoB;AAC9C,wBAAA,kBAAkB,EAAE,MAAM;AAC1B,wBAAA,mBAAmB,EAAE,QAAQ;AAC7B,wBAAA,oBAAoB,EAAE,QAAQ;AACjC,qBAAA,EAAA,QAAA,EAAA,krDAAA,EAAA,MAAA,EAAA,CAAA,wwFAAA,CAAA,EAAA;;;AE7CQ,MAAA,0BAA0B,GAA2B;AAC9D,IAAA,UAAU,EAAE,EAAE;AACd,IAAA,IAAI,EAAE,GAAG;AACT,IAAA,QAAQ,EAAE,KAAK;AACf,IAAA,QAAQ,EAAE,IAAI;AACd,IAAA,WAAW,EAAE,IAAI;AACjB,IAAA,KAAK,EAAE,EAAE;AACT,IAAA,MAAM,EAAE,EAAE;AACV,IAAA,IAAI,EAAE,SAAS;;AAGnB;;AAEG;AACU,MAAA,kBAAkB,GAAG,IAAI,cAAc,CAChD,SAAS,GAAG,oBAAoB,GAAG,EAAE,EACrC;AACI,IAAA,OAAO,EAAE,MAAM,0BAA0B;AAC5C,CAAA;AAGC,SAAU,wBAAwB,CACpC,OAA2C,EAAA;IAE3C,OAAO,iBAAiB,CAAC,kBAAkB,EAAE,OAAO,EAAE,0BAA0B,CAAC;AACrF;;ACpBM,MAAO,gBAAiB,SAAQ,eAAsC,CAAA;AAH5E,IAAA,WAAA,GAAA;;AAIuB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,kBAAkB,CAAC;QACpC,IAAO,CAAA,OAAA,GAAG,kBAAkB;AAClD;+GAHY,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,cAFb,MAAM,EAAA,CAAA,CAAA;;4FAET,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAH5B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,UAAU,EAAE,MAAM;AACrB,iBAAA;;;MCQY,SAAS,CAAA;AAXtB,IAAA,WAAA,GAAA;AAYoB,QAAA,IAAA,CAAA,gBAAgB,GAAG,KAAK,CAA+B,EAAE,CAAC;AAC7E;+GAFY,SAAS,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAT,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,SAAS,0OATP,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAAA,IAAA,CAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,WAAA,CAAA,EAAA,OAAA,EAAA,CAAA,YAAA,EAAA,iBAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FASjC,SAAS,EAAA,UAAA,EAAA,CAAA;kBAXrB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,SAAS,EAAE,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;AAC1C,oBAAA,cAAc,EAAE;AACZ,wBAAA;AACI,4BAAA,SAAS,EAAE,kBAAkB;AAC7B,4BAAA,MAAM,EAAE,CAAC,2BAA2B,EAAE,iBAAiB,CAAC;4BACxD,OAAO,EAAE,CAAC,6BAA6B,CAAC;AAC3C,yBAAA;AACJ,qBAAA;AACJ,iBAAA;;;AC+BK,SAAU,SAAS,CAMrB,SAA0C,EAC1C,EAAC,QAAQ,EAAE,GAAG,OAAO,EAAA,GAAyB,EAAE,EAAA;IAEhD,IAAI,CAAC,QAAQ,EAAE;QACX,wBAAwB,CAAC,SAAS,CAAC;AACnC,QAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;;IAG/B,MAAM,aAAa,GAAG,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC;AAEpD,IAAA,OAAO,CAAC,IAAI,KACR,aAAa,CAAC,IAAI,CACd,IAAI,qBAAqB,CAAC,SAAwB,EAAE,QAAQ,CAAC,EAC7D;AACI,QAAA,GAAG,OAAO;QACV,IAAI;AACP,KAAA,CACJ;AACT;;ACvEA;;AAEG;;;;"}
@@ -1,42 +1,39 @@
1
1
  import { __decorate } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { inject, signal, Component, ChangeDetectionStrategy, ViewChild, Input, Directive, NgModule } from '@angular/core';
4
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
3
+ import { inject, signal, Input, ViewChild, ChangeDetectionStrategy, Component, Directive, NgModule } from '@angular/core';
4
+ import { toObservable } from '@angular/core/rxjs-interop';
5
5
  import { MASKITO_DEFAULT_OPTIONS } from '@maskito/core';
6
6
  import { maskitoDateRangeOptionsGenerator } from '@maskito/kit';
7
7
  import { tuiAsControl } from '@taiga-ui/cdk/classes';
8
8
  import { TUI_FALSE_HANDLER } from '@taiga-ui/cdk/constants';
9
- import { TuiMonth, DATE_RANGE_FILLER_LENGTH, TuiDayRange, DATE_FILLER_LENGTH, RANGE_SEPARATOR_CHAR, TUI_FIRST_DAY, TUI_LAST_DAY } from '@taiga-ui/cdk/date-time';
10
- import { tuiWatch } from '@taiga-ui/cdk/observables';
9
+ import { TuiMonth, TuiDayRange, DATE_RANGE_FILLER_LENGTH, DATE_FILLER_LENGTH, RANGE_SEPARATOR_CHAR, TUI_LAST_DAY, TUI_FIRST_DAY } from '@taiga-ui/cdk/date-time';
11
10
  import { TUI_IS_MOBILE } from '@taiga-ui/cdk/tokens';
12
11
  import { changeDateSeparator, tuiIsPresent, tuiNullableSame, tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
13
12
  import { tuiAsDataListHost } from '@taiga-ui/core/components/data-list';
14
- import { TUI_DEFAULT_DATE_FORMAT, TUI_DATE_FORMAT } from '@taiga-ui/core/tokens';
13
+ import { TUI_DATE_FORMAT } from '@taiga-ui/core/tokens';
15
14
  import { TUI_MOBILE_CALENDAR, TUI_INPUT_DATE_OPTIONS, TUI_DATE_TEXTS, TUI_DATE_RANGE_VALUE_TRANSFORMER, tuiDateStreamWithTransformer, TUI_MOBILE_CALENDAR_PROVIDER } from '@taiga-ui/kit/tokens';
16
15
  import { AbstractTuiNullableControl, tuiAsControl as tuiAsControl$1, AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
17
- import * as i5 from '@taiga-ui/legacy/components/primitive-textfield';
18
- import { TuiPrimitiveTextfieldComponent, TuiPrimitiveTextfieldModule, TuiTextfieldComponent } from '@taiga-ui/legacy/components/primitive-textfield';
16
+ import * as i7 from '@taiga-ui/legacy/components/primitive-textfield';
17
+ import { TuiPrimitiveTextfieldComponent, TuiTextfieldComponent, TuiPrimitiveTextfieldModule } from '@taiga-ui/legacy/components/primitive-textfield';
19
18
  import * as i6 from '@taiga-ui/legacy/directives';
20
- import { TUI_TEXTFIELD_SIZE, TuiTextfieldControllerModule, TuiValueAccessorModule, TuiLegacyDropdownOpenMonitorDirective } from '@taiga-ui/legacy/directives';
19
+ import { TUI_TEXTFIELD_SIZE, TuiLegacyDropdownOpenMonitorDirective, TuiTextfieldControllerModule, TuiValueAccessorModule } from '@taiga-ui/legacy/directives';
21
20
  import { tuiAsFocusableItemAccessor, tuiAsTextfieldHost } from '@taiga-ui/legacy/tokens';
22
21
  import { TUI_DATE_MODE_MASKITO_ADAPTER } from '@taiga-ui/legacy/utils';
23
22
  import { map } from 'rxjs';
24
- import * as i1 from '@angular/common';
25
- import { CommonModule } from '@angular/common';
26
- import * as i2 from '@maskito/angular';
23
+ import * as i1 from '@maskito/angular';
27
24
  import { MaskitoDirective } from '@maskito/angular';
28
- import * as i3 from '@taiga-ui/cdk/directives/let';
29
- import { TuiLet } from '@taiga-ui/cdk/directives/let';
30
- import * as i4 from '@taiga-ui/polymorpheus';
25
+ import * as i2 from '@taiga-ui/polymorpheus';
31
26
  import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
32
- import * as i7 from '@taiga-ui/kit/components/calendar-range';
27
+ import * as i3 from '@taiga-ui/core/directives/appearance';
28
+ import { TuiAppearance } from '@taiga-ui/core/directives/appearance';
29
+ import * as i4 from '@taiga-ui/kit/components/calendar-range';
33
30
  import { TuiCalendarRange } from '@taiga-ui/kit/components/calendar-range';
34
- import * as i8 from '@taiga-ui/core/components/icon';
31
+ import * as i5 from '@taiga-ui/core/components/icon';
35
32
  import { TuiIcon } from '@taiga-ui/core/components/icon';
36
- import * as i9 from '@taiga-ui/core/directives/appearance';
37
- import { TuiAppearance } from '@taiga-ui/core/directives/appearance';
38
33
  import * as i1$1 from '@taiga-ui/core/directives/dropdown';
39
34
  import { TuiDropdown } from '@taiga-ui/core/directives/dropdown';
35
+ import * as i9 from '@angular/common';
36
+ import { CommonModule } from '@angular/common';
40
37
 
41
38
  /**
42
39
  * TODO(v5): delete it
@@ -50,15 +47,10 @@ class TuiInputDateRangeComponent extends AbstractTuiNullableControl {
50
47
  this.options = inject(TUI_INPUT_DATE_OPTIONS);
51
48
  this.textfieldSize = inject(TUI_TEXTFIELD_SIZE);
52
49
  this.nativeValue = signal('');
53
- this.dateTexts$ = inject(TUI_DATE_TEXTS);
50
+ this.dateTexts$ = toObservable(inject(TUI_DATE_TEXTS));
54
51
  this.valueTransformer = inject(TUI_DATE_RANGE_VALUE_TRANSFORMER, { optional: true });
55
- this.dateFiller$ = this.dateTexts$.pipe(map((dateTexts) => changeDateSeparator(dateTexts[this.dateFormat.mode], this.dateFormat.separator)));
56
- this.dateFormat = TUI_DEFAULT_DATE_FORMAT;
57
- this.dateFormat$ = inject(TUI_DATE_FORMAT)
58
- .pipe(tuiWatch(this.cdr), takeUntilDestroyed())
59
- .subscribe((format) => {
60
- this.dateFormat = format;
61
- });
52
+ this.dateFiller$ = this.dateTexts$.pipe(map((dateTexts) => changeDateSeparator(dateTexts[this.dateFormat().mode], this.dateFormat().separator)));
53
+ this.dateFormat = inject(TUI_DATE_FORMAT);
62
54
  this.selectedActivePeriod = null;
63
55
  this.disabledItemHandler = TUI_FALSE_HANDLER;
64
56
  this.markerHandler = null;
@@ -87,7 +79,7 @@ class TuiInputDateRangeComponent extends AbstractTuiNullableControl {
87
79
  return String(activePeriod);
88
80
  }
89
81
  return value
90
- ? value.getFormattedDayRange(this.dateFormat.mode, this.dateFormat.separator)
82
+ ? value.getFormattedDayRange(this.dateFormat().mode, this.dateFormat().separator)
91
83
  : nativeValue();
92
84
  }
93
85
  get size() {
@@ -111,7 +103,7 @@ class TuiInputDateRangeComponent extends AbstractTuiNullableControl {
111
103
  }
112
104
  this.value =
113
105
  value.length === DATE_RANGE_FILLER_LENGTH && !this.activePeriod
114
- ? TuiDayRange.normalizeParse(value, this.dateFormat.mode)
106
+ ? TuiDayRange.normalizeParse(value, this.dateFormat().mode)
115
107
  : null;
116
108
  if (!this.value) {
117
109
  this.selectedActivePeriod = null;
@@ -142,7 +134,7 @@ class TuiInputDateRangeComponent extends AbstractTuiNullableControl {
142
134
  get computedMask() {
143
135
  return this.activePeriod
144
136
  ? MASKITO_DEFAULT_OPTIONS
145
- : this.calculateMask(this.dateFormat.mode, this.dateFormat.separator, this.min, this.max, this.minLength, this.maxLength);
137
+ : this.calculateMask(this.dateFormat().mode, this.dateFormat().separator, this.min, this.max, this.minLength, this.maxLength);
146
138
  }
147
139
  get activePeriod() {
148
140
  return this.selectedActivePeriod ?? this.findActivePeriodBy(this.value);
@@ -180,7 +172,7 @@ class TuiInputDateRangeComponent extends AbstractTuiNullableControl {
180
172
  (this.nativeValue().length === DATE_FILLER_LENGTH ||
181
173
  this.nativeValue().length ===
182
174
  DATE_FILLER_LENGTH + RANGE_SEPARATOR_CHAR.length)) {
183
- this.value = TuiDayRange.normalizeParse(this.nativeValue(), this.dateFormat.mode);
175
+ this.value = TuiDayRange.normalizeParse(this.nativeValue(), this.dateFormat().mode);
184
176
  }
185
177
  }
186
178
  valueIdenticalComparator(oldValue, newValue) {
@@ -215,20 +207,20 @@ class TuiInputDateRangeComponent extends AbstractTuiNullableControl {
215
207
  return (this.items.find((item) => tuiNullableSame(value, item.range, (a, b) => a.from.daySame(b.from.dayLimit(this.min, this.max)) &&
216
208
  a.to.daySame(b.to.dayLimit(this.min, this.max)))) ?? null);
217
209
  }
218
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateRangeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
219
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputDateRangeComponent, selector: "tui-input-date-range", inputs: { disabledItemHandler: "disabledItemHandler", markerHandler: "markerHandler", defaultViewedMonth: "defaultViewedMonth", items: "items", min: "min", max: "max", minLength: "minLength", maxLength: "maxLength" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.data-size": "size" } }, providers: [
210
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateRangeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
211
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiInputDateRangeComponent, isStandalone: false, selector: "tui-input-date-range", inputs: { disabledItemHandler: "disabledItemHandler", markerHandler: "markerHandler", defaultViewedMonth: "defaultViewedMonth", items: "items", min: "min", max: "max", minLength: "minLength", maxLength: "maxLength" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.data-size": "size" } }, providers: [
220
212
  tuiAsFocusableItemAccessor(TuiInputDateRangeComponent),
221
213
  tuiAsControl(TuiInputDateRangeComponent),
222
214
  tuiAsControl$1(TuiInputDateRangeComponent),
223
215
  tuiDateStreamWithTransformer(TUI_DATE_RANGE_VALUE_TRANSFORMER),
224
216
  tuiAsDataListHost(TuiInputDateRangeComponent),
225
217
  TUI_MOBILE_CALENDAR_PROVIDER,
226
- ], viewQueries: [{ propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n *tuiLet=\"dateFiller$ | async as dateFiller\"\n automation-id=\"tui-input-date-range__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"computedMask\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"innerPseudoFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"getComputedRangeFiller(dateFiller || '')\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [value]=\"computedValue\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n\n <div\n *ngIf=\"showValueTemplate\"\n ngProjectAs=\"tuiContent\"\n class=\"t-value\"\n >\n <ng-container *polymorpheusOutlet=\"computedContent as text; context: {$implicit: value}\">\n {{ text }}\n </ng-container>\n </div>\n </tui-primitive-textfield>\n\n <ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n automation-id=\"tui-input-date-range__icon\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [class.t-icon]=\"!computedDisabled\"\n [icon]=\"src.toString()\"\n (click)=\"onIconClick()\"\n />\n </ng-template>\n\n <ng-template #dropdown>\n <tui-calendar-range\n [defaultViewedMonth]=\"defaultViewedMonth\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [items]=\"items\"\n [markerHandler]=\"markerHandler\"\n [max]=\"max\"\n [maxLength]=\"maxLength\"\n [min]=\"min\"\n [minLength]=\"minLength\"\n [value]=\"value\"\n [(item)]=\"selectedActivePeriod\"\n (valueChange)=\"onRangeChange($event)\"\n />\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host._disabled,:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon{pointer-events:auto}.t-icon_small{border-width:.25rem}.t-value{display:flex;inline-size:100%;align-items:center}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { kind: "directive", type: i3.TuiLet, selector: "[tuiLet]", inputs: ["tuiLet"] }, { kind: "directive", type: i4.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: i5.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i5.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i6.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i6.TuiTextfieldFillerDirective, selector: "[tuiTextfieldFiller]", inputs: ["tuiTextfieldFiller"] }, { kind: "component", type: i7.TuiCalendarRange, selector: "tui-calendar-range", inputs: ["disabledItemHandler", "markerHandler", "items", "min", "max", "minLength", "maxLength", "item", "value", "defaultViewedMonth"], outputs: ["valueChange", "itemChange"] }, { kind: "directive", type: i6.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { kind: "directive", type: i6.TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }, { kind: "component", type: i8.TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }, { kind: "directive", type: i9.TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "directive", type: i1$1.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i1$1.TuiDropdownOpen, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
218
+ ], viewQueries: [{ propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n @let dateFiller = dateFiller$ | async;\n <tui-primitive-textfield\n automation-id=\"tui-input-date-range__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"computedMask\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"innerPseudoFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"getComputedRangeFiller(dateFiller || '')\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [value]=\"computedValue\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n\n @if (showValueTemplate) {\n <div\n ngProjectAs=\"tuiContent\"\n class=\"t-value\"\n >\n <ng-container *polymorpheusOutlet=\"computedContent as text; context: {$implicit: value}\">\n {{ text }}\n </ng-container>\n </div>\n }\n </tui-primitive-textfield>\n\n <ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n automation-id=\"tui-input-date-range__icon\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [class.t-icon]=\"!computedDisabled\"\n [icon]=\"src.toString()\"\n (click)=\"onIconClick()\"\n />\n </ng-template>\n\n <ng-template #dropdown>\n <tui-calendar-range\n [defaultViewedMonth]=\"defaultViewedMonth\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [items]=\"items\"\n [markerHandler]=\"markerHandler\"\n [max]=\"max\"\n [maxLength]=\"maxLength\"\n [min]=\"min\"\n [minLength]=\"minLength\"\n [value]=\"value\"\n [(item)]=\"selectedActivePeriod\"\n (valueChange)=\"onRangeChange($event)\"\n />\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host._disabled,:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon{pointer-events:auto}.t-icon_small:before{font-size:1rem}.t-value{display:flex;inline-size:100%;align-items:center}\n"], dependencies: [{ kind: "directive", type: i1.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"], outputs: ["maskitoChange", "maskitoElementChange"] }, { kind: "directive", type: i2.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i3.TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "component", type: i4.TuiCalendarRange, selector: "tui-calendar-range", inputs: ["disabledItemHandler", "markerHandler", "items", "min", "max", "minLength", "maxLength", "item", "value", "defaultViewedMonth"], outputs: ["valueChange", "itemChange"] }, { kind: "component", type: i5.TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: i6.TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }, { kind: "component", type: i7.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i7.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i6.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i6.TuiTextfieldFillerDirective, selector: "[tuiTextfieldFiller]", inputs: ["tuiTextfieldFiller"] }, { kind: "directive", type: i6.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { kind: "directive", type: i1$1.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i1$1.TuiDropdownOpen, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }, { kind: "pipe", type: i9.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
227
219
  }
228
220
  __decorate([
229
221
  tuiPure
230
222
  ], TuiInputDateRangeComponent.prototype, "calculateMask", null);
231
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateRangeComponent, decorators: [{
223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateRangeComponent, decorators: [{
232
224
  type: Component,
233
225
  args: [{ standalone: false, selector: 'tui-input-date-range', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
234
226
  tuiAsFocusableItemAccessor(TuiInputDateRangeComponent),
@@ -240,7 +232,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
240
232
  ], host: {
241
233
  '[attr.data-size]': 'size',
242
234
  '(click)': 'onClick()',
243
- }, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n *tuiLet=\"dateFiller$ | async as dateFiller\"\n automation-id=\"tui-input-date-range__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"computedMask\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"innerPseudoFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"getComputedRangeFiller(dateFiller || '')\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [value]=\"computedValue\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n\n <div\n *ngIf=\"showValueTemplate\"\n ngProjectAs=\"tuiContent\"\n class=\"t-value\"\n >\n <ng-container *polymorpheusOutlet=\"computedContent as text; context: {$implicit: value}\">\n {{ text }}\n </ng-container>\n </div>\n </tui-primitive-textfield>\n\n <ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n automation-id=\"tui-input-date-range__icon\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [class.t-icon]=\"!computedDisabled\"\n [icon]=\"src.toString()\"\n (click)=\"onIconClick()\"\n />\n </ng-template>\n\n <ng-template #dropdown>\n <tui-calendar-range\n [defaultViewedMonth]=\"defaultViewedMonth\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [items]=\"items\"\n [markerHandler]=\"markerHandler\"\n [max]=\"max\"\n [maxLength]=\"maxLength\"\n [min]=\"min\"\n [minLength]=\"minLength\"\n [value]=\"value\"\n [(item)]=\"selectedActivePeriod\"\n (valueChange)=\"onRangeChange($event)\"\n />\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host._disabled,:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon{pointer-events:auto}.t-icon_small{border-width:.25rem}.t-value{display:flex;inline-size:100%;align-items:center}\n"] }]
235
+ }, template: "<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"interactive\"\n [tuiDropdownOpen]=\"open && interactive\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n (tuiDropdownOpenChange)=\"onOpenChange($event)\"\n>\n @let dateFiller = dateFiller$ | async;\n <tui-primitive-textfield\n automation-id=\"tui-input-date-range__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"computedMask\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"innerPseudoFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"getComputedRangeFiller(dateFiller || '')\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [value]=\"computedValue\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n\n @if (showValueTemplate) {\n <div\n ngProjectAs=\"tuiContent\"\n class=\"t-value\"\n >\n <ng-container *polymorpheusOutlet=\"computedContent as text; context: {$implicit: value}\">\n {{ text }}\n </ng-container>\n </div>\n }\n </tui-primitive-textfield>\n\n <ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n automation-id=\"tui-input-date-range__icon\"\n tuiAppearance=\"icon\"\n [class.t-icon_small]=\"size === 's'\"\n [class.t-icon]=\"!computedDisabled\"\n [icon]=\"src.toString()\"\n (click)=\"onIconClick()\"\n />\n </ng-template>\n\n <ng-template #dropdown>\n <tui-calendar-range\n [defaultViewedMonth]=\"defaultViewedMonth\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [items]=\"items\"\n [markerHandler]=\"markerHandler\"\n [max]=\"max\"\n [maxLength]=\"maxLength\"\n [min]=\"min\"\n [minLength]=\"minLength\"\n [value]=\"value\"\n [(item)]=\"selectedActivePeriod\"\n (valueChange)=\"onRangeChange($event)\"\n />\n </ng-template>\n</div>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host._disabled,:host :host-context(*:disabled){pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon{pointer-events:auto}.t-icon_small:before{font-size:1rem}.t-value{display:flex;inline-size:100%;align-items:center}\n"] }]
244
236
  }], propDecorators: { textfield: [{
245
237
  type: ViewChild,
246
238
  args: [TuiPrimitiveTextfieldComponent]
@@ -281,10 +273,10 @@ class TuiInputDateRangeDirective extends AbstractTuiTextfieldHost {
281
273
  this.host.nativeFocusableElement.placeholder = this.host.computedExampleText;
282
274
  }
283
275
  }
284
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateRangeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
285
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputDateRangeDirective, selector: "tui-input-date-range", providers: [tuiAsTextfieldHost(TuiInputDateRangeDirective)], usesInheritance: true, ngImport: i0 }); }
276
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateRangeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
277
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiInputDateRangeDirective, isStandalone: false, selector: "tui-input-date-range", providers: [tuiAsTextfieldHost(TuiInputDateRangeDirective)], usesInheritance: true, ngImport: i0 }); }
286
278
  }
287
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateRangeDirective, decorators: [{
279
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateRangeDirective, decorators: [{
288
280
  type: Directive,
289
281
  args: [{
290
282
  standalone: false,
@@ -298,44 +290,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
298
290
  * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date-range TuiInputDateRange} (from @taiga-ui/kit) instead
299
291
  */
300
292
  class TuiInputDateRangeModule {
301
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
302
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateRangeModule, declarations: [TuiInputDateRangeComponent, TuiInputDateRangeDirective], imports: [CommonModule,
293
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
294
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateRangeModule, declarations: [TuiInputDateRangeComponent, TuiInputDateRangeDirective], imports: [CommonModule,
303
295
  MaskitoDirective,
304
- TuiLet,
305
296
  PolymorpheusOutlet,
306
297
  PolymorpheusTemplate,
298
+ TuiAppearance,
299
+ TuiCalendarRange,
300
+ TuiIcon,
301
+ TuiLegacyDropdownOpenMonitorDirective,
307
302
  TuiPrimitiveTextfieldModule,
308
303
  TuiTextfieldControllerModule,
304
+ TuiValueAccessorModule, i1$1.TuiDropdownOptionsDirective, i1$1.TuiDropdownDriverDirective, i1$1.TuiDropdownDirective, i1$1.TuiDropdownComponent, i1$1.TuiDropdownOpen, i1$1.TuiDropdownOpenLegacy, i1$1.TuiDropdownManual, i1$1.TuiDropdownHover, i1$1.TuiDropdownContent, i1$1.TuiDropdownContext, i1$1.TuiDropdownPosition, i1$1.TuiDropdownPositionSided, i1$1.TuiDropdownSelection], exports: [TuiInputDateRangeComponent,
305
+ TuiInputDateRangeDirective,
306
+ TuiTextfieldComponent, i1$1.TuiDropdownOptionsDirective, i1$1.TuiDropdownDriverDirective, i1$1.TuiDropdownDirective, i1$1.TuiDropdownComponent, i1$1.TuiDropdownOpen, i1$1.TuiDropdownOpenLegacy, i1$1.TuiDropdownManual, i1$1.TuiDropdownHover, i1$1.TuiDropdownContent, i1$1.TuiDropdownContext, i1$1.TuiDropdownPosition, i1$1.TuiDropdownPositionSided, i1$1.TuiDropdownSelection] }); }
307
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateRangeModule, imports: [CommonModule,
309
308
  TuiCalendarRange,
310
- TuiValueAccessorModule,
311
- TuiLegacyDropdownOpenMonitorDirective,
312
309
  TuiIcon,
313
- TuiAppearance, i1$1.TuiDropdownOptionsDirective, i1$1.TuiDropdownDriverDirective, i1$1.TuiDropdownDirective, i1$1.TuiDropdownComponent, i1$1.TuiDropdownOpen, i1$1.TuiDropdownOpenLegacy, i1$1.TuiDropdownPortal, i1$1.TuiDropdownManual, i1$1.TuiDropdownHover, i1$1.TuiDropdownContext, i1$1.TuiDropdownPosition, i1$1.TuiDropdownPositionSided, i1$1.TuiDropdownSelection], exports: [TuiInputDateRangeComponent,
314
- TuiInputDateRangeDirective,
315
- TuiTextfieldComponent, i1$1.TuiDropdownOptionsDirective, i1$1.TuiDropdownDriverDirective, i1$1.TuiDropdownDirective, i1$1.TuiDropdownComponent, i1$1.TuiDropdownOpen, i1$1.TuiDropdownOpenLegacy, i1$1.TuiDropdownPortal, i1$1.TuiDropdownManual, i1$1.TuiDropdownHover, i1$1.TuiDropdownContext, i1$1.TuiDropdownPosition, i1$1.TuiDropdownPositionSided, i1$1.TuiDropdownSelection] }); }
316
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateRangeModule, imports: [CommonModule,
317
310
  TuiPrimitiveTextfieldModule,
318
311
  TuiTextfieldControllerModule,
319
- TuiCalendarRange,
320
- TuiValueAccessorModule,
321
- TuiIcon, i1$1.TuiDropdownComponent] }); }
312
+ TuiValueAccessorModule, i1$1.TuiDropdownComponent] }); }
322
313
  }
323
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputDateRangeModule, decorators: [{
314
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputDateRangeModule, decorators: [{
324
315
  type: NgModule,
325
316
  args: [{
326
317
  imports: [
327
318
  CommonModule,
328
319
  MaskitoDirective,
329
- TuiLet,
330
320
  PolymorpheusOutlet,
331
321
  PolymorpheusTemplate,
322
+ TuiAppearance,
323
+ TuiCalendarRange,
324
+ TuiIcon,
325
+ TuiLegacyDropdownOpenMonitorDirective,
332
326
  TuiPrimitiveTextfieldModule,
333
327
  TuiTextfieldControllerModule,
334
- TuiCalendarRange,
335
328
  TuiValueAccessorModule,
336
- TuiLegacyDropdownOpenMonitorDirective,
337
- TuiIcon,
338
- TuiAppearance,
339
329
  ...TuiDropdown,
340
330
  ],
341
331
  declarations: [TuiInputDateRangeComponent, TuiInputDateRangeDirective],