@taiga-ui/legacy 4.52.0-canary.932d3ef → 4.52.0-canary.9471234

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 (365) hide show
  1. package/README.md +1 -1
  2. package/components/dialog/dialog.component.d.ts +20 -0
  3. package/components/dialog/dialog.directive.d.ts +8 -0
  4. package/components/dialog/dialog.factory.d.ts +16 -0
  5. package/components/dialog/dialog.interfaces.d.ts +30 -0
  6. package/components/dialog/dialog.service.d.ts +10 -0
  7. package/components/dialog/dialog.tokens.d.ts +6 -0
  8. package/components/dialog/index.d.ts +6 -0
  9. package/components/index.d.ts +3 -31
  10. package/components/mobile-dialog/index.d.ts +3 -0
  11. package/components/mobile-dialog/mobile-dialog.component.d.ts +10 -0
  12. package/components/mobile-dialog/mobile-dialog.options.d.ts +10 -0
  13. package/components/mobile-dialog/mobile-dialog.service.d.ts +14 -0
  14. package/components/pdf-viewer/index.d.ts +4 -0
  15. package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
  16. package/components/pdf-viewer/pdf-viewer.directive.d.ts +8 -0
  17. package/components/pdf-viewer/pdf-viewer.options.d.ts +11 -0
  18. package/components/pdf-viewer/pdf-viewer.service.d.ts +17 -0
  19. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +136 -0
  20. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  21. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +62 -0
  22. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -0
  23. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +88 -0
  24. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
  25. package/fesm2022/taiga-ui-legacy-components.mjs +3 -31
  26. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-legacy.mjs +85 -6
  28. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  29. package/index.d.ts +1 -6
  30. package/package.json +22 -185
  31. package/pure.d.ts +23 -0
  32. package/classes/abstract-native-select.d.ts +0 -22
  33. package/classes/abstract-textfield-host.d.ts +0 -19
  34. package/classes/control.d.ts +0 -60
  35. package/classes/controller.d.ts +0 -9
  36. package/classes/index.d.ts +0 -9
  37. package/classes/interactive.d.ts +0 -34
  38. package/classes/multiple-control.d.ts +0 -11
  39. package/classes/named-day.d.ts +0 -11
  40. package/classes/nullable-control.d.ts +0 -10
  41. package/classes/stringifiable-item.d.ts +0 -11
  42. package/components/arrow/arrow.component.d.ts +0 -17
  43. package/components/arrow/arrow.options.d.ts +0 -19
  44. package/components/arrow/arrow.providers.d.ts +0 -23
  45. package/components/arrow/index.d.ts +0 -3
  46. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  47. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  48. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  49. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  50. package/components/color-selector/color-selector.component.d.ts +0 -47
  51. package/components/color-selector/color-selector.module.d.ts +0 -24
  52. package/components/color-selector/color-selector.options.d.ts +0 -25
  53. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  54. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  55. package/components/color-selector/index.d.ts +0 -16
  56. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  57. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  58. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  59. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  60. package/components/color-selector/palette/palette.component.d.ts +0 -10
  61. package/components/color-selector/palette/palette.module.d.ts +0 -13
  62. package/components/color-selector/services/picker.service.d.ts +0 -15
  63. package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
  64. package/components/combo-box/combo-box.component.d.ts +0 -52
  65. package/components/combo-box/combo-box.directive.d.ts +0 -13
  66. package/components/combo-box/combo-box.module.d.ts +0 -20
  67. package/components/combo-box/index.d.ts +0 -4
  68. package/components/input/index.d.ts +0 -3
  69. package/components/input/input.component.d.ts +0 -32
  70. package/components/input/input.directive.d.ts +0 -12
  71. package/components/input/input.module.d.ts +0 -16
  72. package/components/input-color/index.d.ts +0 -2
  73. package/components/input-color/input-color.component.d.ts +0 -30
  74. package/components/input-color/input-color.module.d.ts +0 -17
  75. package/components/input-copy/index.d.ts +0 -4
  76. package/components/input-copy/input-copy.component.d.ts +0 -33
  77. package/components/input-copy/input-copy.directive.d.ts +0 -11
  78. package/components/input-copy/input-copy.module.d.ts +0 -18
  79. package/components/input-copy/input-copy.options.d.ts +0 -26
  80. package/components/input-date/index.d.ts +0 -3
  81. package/components/input-date/input-date.component.d.ts +0 -62
  82. package/components/input-date/input-date.directive.d.ts +0 -19
  83. package/components/input-date/input-date.module.d.ts +0 -24
  84. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  85. package/components/input-date-multi/index.d.ts +0 -2
  86. package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
  87. package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
  88. package/components/input-date-range/index.d.ts +0 -3
  89. package/components/input-date-range/input-date-range.component.d.ts +0 -67
  90. package/components/input-date-range/input-date-range.directive.d.ts +0 -16
  91. package/components/input-date-range/input-date-range.module.d.ts +0 -22
  92. package/components/input-date-time/index.d.ts +0 -3
  93. package/components/input-date-time/input-date-time.component.d.ts +0 -87
  94. package/components/input-date-time/input-date-time.directive.d.ts +0 -17
  95. package/components/input-date-time/input-date-time.module.d.ts +0 -23
  96. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
  97. package/components/input-month/index.d.ts +0 -3
  98. package/components/input-month/input-month.component.d.ts +0 -44
  99. package/components/input-month/input-month.directive.d.ts +0 -19
  100. package/components/input-month/input-month.module.d.ts +0 -19
  101. package/components/input-month-range/index.d.ts +0 -3
  102. package/components/input-month-range/input-month-range.component.d.ts +0 -38
  103. package/components/input-month-range/input-month-range.directive.d.ts +0 -23
  104. package/components/input-month-range/input-month-range.module.d.ts +0 -18
  105. package/components/input-number/index.d.ts +0 -4
  106. package/components/input-number/input-number.component.d.ts +0 -63
  107. package/components/input-number/input-number.directive.d.ts +0 -16
  108. package/components/input-number/input-number.module.d.ts +0 -18
  109. package/components/input-number/input-number.options.d.ts +0 -29
  110. package/components/input-password/index.d.ts +0 -4
  111. package/components/input-password/input-password.component.d.ts +0 -33
  112. package/components/input-password/input-password.directive.d.ts +0 -15
  113. package/components/input-password/input-password.module.d.ts +0 -19
  114. package/components/input-password/input-password.options.d.ts +0 -25
  115. package/components/input-phone/index.d.ts +0 -4
  116. package/components/input-phone/input-phone.component.d.ts +0 -49
  117. package/components/input-phone/input-phone.directive.d.ts +0 -13
  118. package/components/input-phone/input-phone.module.d.ts +0 -12
  119. package/components/input-phone/input-phone.options.d.ts +0 -13
  120. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  121. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  122. package/components/input-phone/utils/index.d.ts +0 -2
  123. package/components/input-phone-international/index.d.ts +0 -3
  124. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  125. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  126. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  127. package/components/input-range/index.d.ts +0 -2
  128. package/components/input-range/input-range.component.d.ts +0 -56
  129. package/components/input-range/input-range.module.d.ts +0 -19
  130. package/components/input-slider/index.d.ts +0 -2
  131. package/components/input-slider/input-slider.component.d.ts +0 -42
  132. package/components/input-slider/input-slider.module.d.ts +0 -18
  133. package/components/input-tag/index.d.ts +0 -3
  134. package/components/input-tag/input-tag.component.d.ts +0 -103
  135. package/components/input-tag/input-tag.module.d.ts +0 -22
  136. package/components/input-tag/input-tag.options.d.ts +0 -27
  137. package/components/input-time/index.d.ts +0 -4
  138. package/components/input-time/input-time.component.d.ts +0 -62
  139. package/components/input-time/input-time.directive.d.ts +0 -17
  140. package/components/input-time/input-time.module.d.ts +0 -23
  141. package/components/input-time/input-time.options.d.ts +0 -42
  142. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  143. package/components/input-year/index.d.ts +0 -3
  144. package/components/input-year/input-year.component.d.ts +0 -36
  145. package/components/input-year/input-year.directive.d.ts +0 -14
  146. package/components/input-year/input-year.module.d.ts +0 -18
  147. package/components/multi-select/hide-selected.pipe.d.ts +0 -11
  148. package/components/multi-select/index.d.ts +0 -10
  149. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
  150. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  151. package/components/multi-select/multi-select.component.d.ts +0 -71
  152. package/components/multi-select/multi-select.directive.d.ts +0 -14
  153. package/components/multi-select/multi-select.module.d.ts +0 -31
  154. package/components/multi-select/multi-select.options.d.ts +0 -14
  155. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  156. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  157. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  158. package/components/multi-select-option/index.d.ts +0 -2
  159. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  160. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  161. package/components/primitive-textfield/index.d.ts +0 -7
  162. package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
  163. package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
  164. package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
  165. package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
  166. package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
  167. package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
  168. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
  169. package/components/select/index.d.ts +0 -6
  170. package/components/select/native-select/native-select-group.component.d.ts +0 -17
  171. package/components/select/native-select/native-select.component.d.ts +0 -16
  172. package/components/select/select.component.d.ts +0 -45
  173. package/components/select/select.directive.d.ts +0 -16
  174. package/components/select/select.module.d.ts +0 -24
  175. package/components/select/select.options.d.ts +0 -25
  176. package/components/select-option/index.d.ts +0 -2
  177. package/components/select-option/select-option.component.d.ts +0 -27
  178. package/components/select-option/select-option.module.d.ts +0 -10
  179. package/components/svg/content-processor.d.ts +0 -19
  180. package/components/svg/deprecated-icons.d.ts +0 -5
  181. package/components/svg/index.d.ts +0 -5
  182. package/components/svg/svg-options.d.ts +0 -50
  183. package/components/svg/svg.component.d.ts +0 -50
  184. package/components/svg/svg.service.d.ts +0 -21
  185. package/components/table-bar/index.d.ts +0 -4
  186. package/components/table-bar/table-bar.component.d.ts +0 -17
  187. package/components/table-bar/table-bar.directive.d.ts +0 -11
  188. package/components/table-bar/table-bar.options.d.ts +0 -31
  189. package/components/table-bar/table-bars-host.component.d.ts +0 -10
  190. package/components/table-bar/table-bars.service.d.ts +0 -11
  191. package/components/tag/index.d.ts +0 -3
  192. package/components/tag/tag.component.d.ts +0 -44
  193. package/components/tag/tag.module.d.ts +0 -16
  194. package/components/tag/tag.options.d.ts +0 -27
  195. package/components/textarea/index.d.ts +0 -3
  196. package/components/textarea/textarea.component.d.ts +0 -54
  197. package/components/textarea/textarea.directive.d.ts +0 -12
  198. package/components/textarea/textarea.module.d.ts +0 -21
  199. package/components/tooltip/index.d.ts +0 -2
  200. package/components/tooltip/tooltip.component.d.ts +0 -12
  201. package/components/tooltip/tooltip.module.d.ts +0 -13
  202. package/directives/index.d.ts +0 -5
  203. package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
  204. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
  205. package/directives/textfield-controller/index.d.ts +0 -14
  206. package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
  207. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
  208. package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
  209. package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
  210. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
  211. package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
  212. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
  213. package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
  214. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
  215. package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
  216. package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
  217. package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
  218. package/directives/textfield-controller/textfield.controller.d.ts +0 -41
  219. package/directives/textfield-controller/textfield.options.d.ts +0 -19
  220. package/directives/unfinished-validator/index.d.ts +0 -2
  221. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
  222. package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
  223. package/directives/value-accessor/index.d.ts +0 -3
  224. package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
  225. package/directives/value-accessor/value-accessor.module.d.ts +0 -7
  226. package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
  227. package/directives/wrapper/README.md +0 -19
  228. package/directives/wrapper/index.d.ts +0 -2
  229. package/directives/wrapper/wrapper.directive.d.ts +0 -22
  230. package/directives/wrapper/wrapper.module.d.ts +0 -10
  231. package/fesm2022/taiga-ui-legacy-classes.mjs +0 -415
  232. package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
  233. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -85
  234. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
  235. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
  236. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  237. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -300
  238. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  239. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  240. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  241. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
  242. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
  243. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
  244. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
  245. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -356
  246. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
  247. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -465
  248. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
  249. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  250. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  251. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
  252. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
  253. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
  254. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
  255. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -390
  256. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
  257. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
  258. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
  259. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  260. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  261. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -358
  262. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  263. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
  264. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
  265. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -199
  266. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
  267. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
  268. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
  269. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -430
  270. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  271. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  272. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  273. package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -156
  274. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
  275. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
  276. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
  277. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -690
  278. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
  279. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
  280. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
  281. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
  282. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
  283. package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -354
  284. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
  285. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
  286. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  287. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -147
  288. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
  289. package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -225
  290. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
  291. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
  292. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
  293. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
  294. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
  295. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -50
  296. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
  297. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -401
  298. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
  299. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -50
  300. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
  301. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
  302. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
  303. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
  304. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
  305. package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
  306. package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
  307. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
  308. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  309. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  310. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  311. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  312. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  313. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  314. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  315. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  316. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  317. package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
  318. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
  319. package/fesm2022/taiga-ui-legacy-utils.mjs +0 -268
  320. package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
  321. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  322. package/pipes/format-phone/index.d.ts +0 -1
  323. package/pipes/index.d.ts +0 -3
  324. package/pipes/iso-to-country-code/index.d.ts +0 -1
  325. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  326. package/pipes/to-country-code/index.d.ts +0 -1
  327. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  328. package/services/index.d.ts +0 -1
  329. package/services/static-request.service.d.ts +0 -11
  330. package/styles/mixins/mixins.less +0 -239
  331. package/styles/mixins/mixins.scss +0 -224
  332. package/styles/mixins/textfield.less +0 -324
  333. package/styles/mixins/textfield.scss +0 -308
  334. package/styles/taiga-ui-local.less +0 -3
  335. package/styles/taiga-ui-local.scss +0 -3
  336. package/tokens/countries-masks.d.ts +0 -9
  337. package/tokens/focusable-item-accessor.d.ts +0 -25
  338. package/tokens/fonts-ready.d.ts +0 -6
  339. package/tokens/icons.d.ts +0 -6
  340. package/tokens/index.d.ts +0 -14
  341. package/tokens/is-apple.d.ts +0 -6
  342. package/tokens/is-chromium.d.ts +0 -6
  343. package/tokens/is-firefox.d.ts +0 -6
  344. package/tokens/is-stackblitz.d.ts +0 -5
  345. package/tokens/month-formatter.d.ts +0 -10
  346. package/tokens/sanitizer.d.ts +0 -6
  347. package/tokens/textfield-appearance.d.ts +0 -7
  348. package/tokens/textfield-host.d.ts +0 -23
  349. package/tokens/touch-supported.d.ts +0 -5
  350. package/tokens/value-accessor.d.ts +0 -7
  351. package/utils/capitalize-first-letter.d.ts +0 -4
  352. package/utils/date-mode-maskito-adapter.d.ts +0 -6
  353. package/utils/format-phone.d.ts +0 -30
  354. package/utils/get-border.d.ts +0 -5
  355. package/utils/get-max-allowed-phone-length.d.ts +0 -24
  356. package/utils/get-safe-area-size.d.ts +0 -7
  357. package/utils/icons-path-factory.d.ts +0 -13
  358. package/utils/index.d.ts +0 -14
  359. package/utils/is-apple.d.ts +0 -5
  360. package/utils/is-presumed-html-string.d.ts +0 -4
  361. package/utils/iso-to-country-code.d.ts +0 -13
  362. package/utils/not-kz-region.d.ts +0 -20
  363. package/utils/process-icon.d.ts +0 -4
  364. package/utils/specific-dropdown-controllers.d.ts +0 -4
  365. package/utils/status.d.ts +0 -4
@@ -0,0 +1,88 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, ChangeDetectionStrategy, Component, Injectable, input, Directive } from '@angular/core';
3
+ import * as i1 from '@taiga-ui/cdk/directives/animated';
4
+ import { TuiAnimated } from '@taiga-ui/cdk/directives/animated';
5
+ import { TuiButton } from '@taiga-ui/core/components/button';
6
+ import { TUI_CLOSE_WORD, TUI_COMMON_ICONS } from '@taiga-ui/core/tokens';
7
+ import { injectContext, PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
8
+ import * as i1$1 from '@taiga-ui/cdk/portals';
9
+ import { tuiAsPortal, TuiPortalDirective } from '@taiga-ui/cdk/portals';
10
+ import { TuiModalService } from '@taiga-ui/core/portals/modal';
11
+ import { tuiCreateOptions } from '@taiga-ui/cdk/utils/di';
12
+
13
+ class TuiPdfViewerComponent {
14
+ constructor() {
15
+ this.closeWord = inject(TUI_CLOSE_WORD);
16
+ this.icons = inject(TUI_COMMON_ICONS);
17
+ this.context = injectContext();
18
+ }
19
+ onKeyDownEsc() {
20
+ this.context.$implicit.complete();
21
+ }
22
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiPdfViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
23
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: TuiPdfViewerComponent, isStandalone: true, selector: "tui-pdf-viewer", host: { listeners: { "document:keydown.esc": "onKeyDownEsc()" } }, hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: "<header class=\"t-header\">\n <h2\n automation-id=\"tui-pdf-viewer__label\"\n class=\"t-title\"\n >\n {{ context.label }}\n </h2>\n <div class=\"t-actions\">\n <ng-container *polymorpheusOutlet=\"context.actions as text; context: context\">\n {{ text }}\n </ng-container>\n </div>\n <button\n appearance=\"\"\n size=\"s\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ closeWord() }}\n </button>\n</header>\n<section class=\"t-content\">\n <iframe\n *polymorpheusOutlet=\"context.content as content; context: context\"\n title=\"pdf\"\n class=\"t-iframe\"\n [src]=\"content\"\n ></iframe>\n</section>\n", styles: [":host{display:block;inline-size:100%;block-size:100%;box-sizing:border-box;color:#fff;background:#333639;padding-block-start:env(safe-area-inset-top);padding-block-end:env(safe-area-inset-bottom)}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}.t-header{display:flex;align-items:center;block-size:4rem;padding:0 1rem 0 1.5625rem;box-shadow:inset 0 -1px #535659}.t-title{margin:0;font:var(--tui-font-body-m);white-space:nowrap;text-overflow:ellipsis;padding-inline-end:.3125rem;overflow:hidden}.t-actions{display:flex;margin-inline-start:auto}.t-close{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-inline-start:.75rem;color:#fff;background:#ffffff52}.t-close:hover{background:#fff6}.t-content{block-size:calc(100% - 4rem);overflow:hidden}.t-iframe{inline-size:100%;block-size:100%}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
24
+ }
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiPdfViewerComponent, decorators: [{
26
+ type: Component,
27
+ args: [{ selector: 'tui-pdf-viewer', imports: [PolymorpheusOutlet, TuiButton], changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [TuiAnimated], host: {
28
+ '(document:keydown.esc)': 'onKeyDownEsc()',
29
+ }, template: "<header class=\"t-header\">\n <h2\n automation-id=\"tui-pdf-viewer__label\"\n class=\"t-title\"\n >\n {{ context.label }}\n </h2>\n <div class=\"t-actions\">\n <ng-container *polymorpheusOutlet=\"context.actions as text; context: context\">\n {{ text }}\n </ng-container>\n </div>\n <button\n appearance=\"\"\n size=\"s\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ closeWord() }}\n </button>\n</header>\n<section class=\"t-content\">\n <iframe\n *polymorpheusOutlet=\"context.content as content; context: context\"\n title=\"pdf\"\n class=\"t-iframe\"\n [src]=\"content\"\n ></iframe>\n</section>\n", styles: [":host{display:block;inline-size:100%;block-size:100%;box-sizing:border-box;color:#fff;background:#333639;padding-block-start:env(safe-area-inset-top);padding-block-end:env(safe-area-inset-bottom)}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}.t-header{display:flex;align-items:center;block-size:4rem;padding:0 1rem 0 1.5625rem;box-shadow:inset 0 -1px #535659}.t-title{margin:0;font:var(--tui-font-body-m);white-space:nowrap;text-overflow:ellipsis;padding-inline-end:.3125rem;overflow:hidden}.t-actions{display:flex;margin-inline-start:auto}.t-close{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-inline-start:.75rem;color:#fff;background:#ffffff52}.t-close:hover{background:#fff6}.t-content{block-size:calc(100% - 4rem);overflow:hidden}.t-iframe{inline-size:100%;block-size:100%}\n"] }]
30
+ }] });
31
+
32
+ const TUI_PDF_VIEWER_DEFAULT_OPTIONS = {
33
+ label: '',
34
+ actions: '',
35
+ data: undefined,
36
+ };
37
+ /**
38
+ * Default parameters for PdfViewer component
39
+ */
40
+ const [TUI_PDF_VIEWER_OPTIONS, tuiPdfViewerOptionsProvider] = tuiCreateOptions(TUI_PDF_VIEWER_DEFAULT_OPTIONS);
41
+
42
+ class TuiPdfViewerService extends TuiModalService {
43
+ constructor() {
44
+ super(...arguments);
45
+ this.options = inject(TUI_PDF_VIEWER_OPTIONS);
46
+ this.content = TuiPdfViewerComponent;
47
+ }
48
+ open(content, options = {}) {
49
+ return super.open(content, options);
50
+ }
51
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiPdfViewerService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
52
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiPdfViewerService, providedIn: 'root' }); }
53
+ }
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiPdfViewerService, decorators: [{
55
+ type: Injectable,
56
+ args: [{
57
+ providedIn: 'root',
58
+ }]
59
+ }] });
60
+
61
+ class TuiPdfViewerDirective {
62
+ constructor() {
63
+ this.tuiPdfViewerOptions = input({});
64
+ }
65
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiPdfViewerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
66
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.17", type: TuiPdfViewerDirective, isStandalone: true, selector: "ng-template[tuiPdfViewer]", inputs: { tuiPdfViewerOptions: { classPropertyName: "tuiPdfViewerOptions", publicName: "tuiPdfViewerOptions", isSignal: true, isRequired: false, transformFunction: null } }, providers: [tuiAsPortal(TuiPdfViewerService)], hostDirectives: [{ directive: i1$1.TuiPortalDirective, inputs: ["options", "tuiPdfViewerOptions", "open", "tuiPdfViewer"], outputs: ["openChange", "tuiPdfViewerChange"] }], ngImport: i0 }); }
67
+ }
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiPdfViewerDirective, decorators: [{
69
+ type: Directive,
70
+ args: [{
71
+ selector: 'ng-template[tuiPdfViewer]',
72
+ providers: [tuiAsPortal(TuiPdfViewerService)],
73
+ hostDirectives: [
74
+ {
75
+ directive: TuiPortalDirective,
76
+ inputs: ['options: tuiPdfViewerOptions', 'open: tuiPdfViewer'],
77
+ outputs: ['openChange: tuiPdfViewerChange'],
78
+ },
79
+ ],
80
+ }]
81
+ }] });
82
+
83
+ /**
84
+ * Generated bundle index. Do not edit.
85
+ */
86
+
87
+ export { TUI_PDF_VIEWER_DEFAULT_OPTIONS, TUI_PDF_VIEWER_OPTIONS, TuiPdfViewerComponent, TuiPdfViewerDirective, TuiPdfViewerService, tuiPdfViewerOptionsProvider };
88
+ //# sourceMappingURL=taiga-ui-legacy-components-pdf-viewer.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-legacy-components-pdf-viewer.mjs","sources":["../../../projects/legacy/components/pdf-viewer/pdf-viewer.component.ts","../../../projects/legacy/components/pdf-viewer/pdf-viewer.template.html","../../../projects/legacy/components/pdf-viewer/pdf-viewer.options.ts","../../../projects/legacy/components/pdf-viewer/pdf-viewer.service.ts","../../../projects/legacy/components/pdf-viewer/pdf-viewer.directive.ts","../../../projects/legacy/components/pdf-viewer/taiga-ui-legacy-components-pdf-viewer.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, inject} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {type TuiPortalContext} from '@taiga-ui/cdk/portals';\nimport {TuiButton} from '@taiga-ui/core/components/button';\nimport {TUI_CLOSE_WORD, TUI_COMMON_ICONS} from '@taiga-ui/core/tokens';\nimport {injectContext, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {type TuiPdfViewerOptions} from './pdf-viewer.options';\n\n@Component({\n selector: 'tui-pdf-viewer',\n imports: [PolymorpheusOutlet, TuiButton],\n templateUrl: './pdf-viewer.template.html',\n styleUrl: './pdf-viewer.style.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [TuiAnimated],\n host: {\n '(document:keydown.esc)': 'onKeyDownEsc()',\n },\n})\nexport class TuiPdfViewerComponent<I, O> {\n protected readonly closeWord = inject(TUI_CLOSE_WORD);\n protected readonly icons = inject(TUI_COMMON_ICONS);\n protected readonly context =\n injectContext<TuiPortalContext<TuiPdfViewerOptions<I>, O>>();\n\n protected onKeyDownEsc(): void {\n this.context.$implicit.complete();\n }\n}\n","<header class=\"t-header\">\n <h2\n automation-id=\"tui-pdf-viewer__label\"\n class=\"t-title\"\n >\n {{ context.label }}\n </h2>\n <div class=\"t-actions\">\n <ng-container *polymorpheusOutlet=\"context.actions as text; context: context\">\n {{ text }}\n </ng-container>\n </div>\n <button\n appearance=\"\"\n size=\"s\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ closeWord() }}\n </button>\n</header>\n<section class=\"t-content\">\n <iframe\n *polymorpheusOutlet=\"context.content as content; context: context\"\n title=\"pdf\"\n class=\"t-iframe\"\n [src]=\"content\"\n ></iframe>\n</section>\n","import {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport const TUI_PDF_VIEWER_DEFAULT_OPTIONS: TuiPdfViewerOptions = {\n label: '',\n actions: '',\n data: undefined,\n};\n\n/**\n * Default parameters for PdfViewer component\n */\nexport const [TUI_PDF_VIEWER_OPTIONS, tuiPdfViewerOptionsProvider] = tuiCreateOptions(\n TUI_PDF_VIEWER_DEFAULT_OPTIONS,\n);\n\nexport interface TuiPdfViewerOptions<I = undefined> {\n readonly actions: PolymorpheusContent<TuiPdfViewerOptions<I>>;\n readonly data: I;\n readonly label: string;\n}\n","import {inject, Injectable} from '@angular/core';\nimport {type SafeResourceUrl} from '@angular/platform-browser';\nimport {type TuiPortalContext} from '@taiga-ui/cdk/portals';\nimport {TuiModalService} from '@taiga-ui/core/portals/modal';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\nimport {type Observable} from 'rxjs';\n\nimport {TuiPdfViewerComponent} from './pdf-viewer.component';\nimport {TUI_PDF_VIEWER_OPTIONS, type TuiPdfViewerOptions} from './pdf-viewer.options';\n\ntype Content<G> = PolymorpheusContent<TuiPortalContext<TuiPdfViewerOptions<unknown>, G>>;\n\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiPdfViewerService extends TuiModalService<TuiPdfViewerOptions<unknown>> {\n protected readonly options = inject(TUI_PDF_VIEWER_OPTIONS);\n protected readonly content = TuiPdfViewerComponent;\n\n public override open<G>(\n content: Content<G> | SafeResourceUrl,\n options: Partial<TuiPdfViewerOptions<any>> = {},\n ): Observable<G> {\n return super.open(content as Content<G>, options);\n }\n}\n","import {Directive, input} from '@angular/core';\nimport {tuiAsPortal, TuiPortalDirective} from '@taiga-ui/cdk/portals';\n\nimport {type TuiPdfViewerOptions} from './pdf-viewer.options';\nimport {TuiPdfViewerService} from './pdf-viewer.service';\n\n@Directive({\n selector: 'ng-template[tuiPdfViewer]',\n providers: [tuiAsPortal(TuiPdfViewerService)],\n hostDirectives: [\n {\n directive: TuiPortalDirective,\n inputs: ['options: tuiPdfViewerOptions', 'open: tuiPdfViewer'],\n outputs: ['openChange: tuiPdfViewerChange'],\n },\n ],\n})\nexport class TuiPdfViewerDirective<T> {\n public readonly tuiPdfViewerOptions = input<Partial<TuiPdfViewerOptions<T>>>({});\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":"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"}
@@ -1,34 +1,6 @@
1
- export * from '@taiga-ui/legacy/components/arrow';
2
- export * from '@taiga-ui/legacy/components/color-selector';
3
- export * from '@taiga-ui/legacy/components/combo-box';
4
- export * from '@taiga-ui/legacy/components/input';
5
- export * from '@taiga-ui/legacy/components/input-color';
6
- export * from '@taiga-ui/legacy/components/input-copy';
7
- export * from '@taiga-ui/legacy/components/input-date';
8
- export * from '@taiga-ui/legacy/components/input-date-multi';
9
- export * from '@taiga-ui/legacy/components/input-date-range';
10
- export * from '@taiga-ui/legacy/components/input-date-time';
11
- export * from '@taiga-ui/legacy/components/input-month';
12
- export * from '@taiga-ui/legacy/components/input-month-range';
13
- export * from '@taiga-ui/legacy/components/input-number';
14
- export * from '@taiga-ui/legacy/components/input-password';
15
- export * from '@taiga-ui/legacy/components/input-phone';
16
- export * from '@taiga-ui/legacy/components/input-phone-international';
17
- export * from '@taiga-ui/legacy/components/input-range';
18
- export * from '@taiga-ui/legacy/components/input-slider';
19
- export * from '@taiga-ui/legacy/components/input-tag';
20
- export * from '@taiga-ui/legacy/components/input-time';
21
- export * from '@taiga-ui/legacy/components/input-year';
22
- export * from '@taiga-ui/legacy/components/multi-select';
23
- export * from '@taiga-ui/legacy/components/multi-select-option';
24
- export * from '@taiga-ui/legacy/components/primitive-textfield';
25
- export * from '@taiga-ui/legacy/components/select';
26
- export * from '@taiga-ui/legacy/components/select-option';
27
- export * from '@taiga-ui/legacy/components/svg';
28
- export * from '@taiga-ui/legacy/components/table-bar';
29
- export * from '@taiga-ui/legacy/components/tag';
30
- export * from '@taiga-ui/legacy/components/textarea';
31
- export * from '@taiga-ui/legacy/components/tooltip';
1
+ export * from '@taiga-ui/legacy/components/dialog';
2
+ export * from '@taiga-ui/legacy/components/mobile-dialog';
3
+ export * from '@taiga-ui/legacy/components/pdf-viewer';
32
4
 
33
5
  /**
34
6
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-legacy-components.mjs","sources":["../../../projects/legacy/components/taiga-ui-legacy-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAEG"}
1
+ {"version":3,"file":"taiga-ui-legacy-components.mjs","sources":["../../../projects/legacy/components/taiga-ui-legacy-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;;AAEG"}
@@ -1,12 +1,91 @@
1
- export * from '@taiga-ui/legacy/classes';
2
1
  export * from '@taiga-ui/legacy/components';
3
- export * from '@taiga-ui/legacy/directives';
4
- export * from '@taiga-ui/legacy/pipes';
5
- export * from '@taiga-ui/legacy/services';
6
- export * from '@taiga-ui/legacy/tokens';
7
- export * from '@taiga-ui/legacy/utils';
2
+
3
+ /// <reference types="@taiga-ui/tsconfig/ng-dev-mode" />
4
+ function decorateMethod(originalMethod) {
5
+ let previousArgs = [];
6
+ let originalFnWasCalledLeastAtOnce = false;
7
+ let pureValue;
8
+ return function tuiPureMethodPatched(...args) {
9
+ const isPure = originalFnWasCalledLeastAtOnce &&
10
+ previousArgs.length === args.length &&
11
+ args.every((arg, index) => arg === previousArgs[index]);
12
+ if (isPure) {
13
+ return pureValue;
14
+ }
15
+ previousArgs = args;
16
+ pureValue = originalMethod.apply(this, args);
17
+ originalFnWasCalledLeastAtOnce = true;
18
+ return pureValue;
19
+ };
20
+ }
21
+ function decorateGetter(originalGetter, propertyKey, enumerable = true) {
22
+ return function tuiPureGetterPatched() {
23
+ const value = originalGetter.call(this);
24
+ Object.defineProperty(this, propertyKey, { enumerable, value });
25
+ return value;
26
+ };
27
+ }
28
+ function tuiPure(target, propertyKeyOrContext, descriptor) {
29
+ if (typeof target === 'function') {
30
+ const context = propertyKeyOrContext;
31
+ if (context.kind === 'getter') {
32
+ return decorateGetter(target, context.name);
33
+ }
34
+ if (context.kind === 'method') {
35
+ return decorateMethod(target);
36
+ }
37
+ throw new TuiPureException();
38
+ }
39
+ // TODO(v5): drop compatibility for legacy "experimentalDecorators": true
40
+ const { get, enumerable, value } = descriptor;
41
+ const propertyKey = propertyKeyOrContext;
42
+ if (get) {
43
+ return {
44
+ configurable: true,
45
+ enumerable,
46
+ get: decorateGetter(get, propertyKey, enumerable),
47
+ };
48
+ }
49
+ if (typeof value !== 'function') {
50
+ throw new TuiPureException();
51
+ }
52
+ const original = value;
53
+ return {
54
+ configurable: true,
55
+ enumerable,
56
+ get() {
57
+ let previousArgs = [];
58
+ let originalFnWasCalledLeastAtOnce = false;
59
+ let pureValue;
60
+ const patched = (...args) => {
61
+ const isPure = originalFnWasCalledLeastAtOnce &&
62
+ previousArgs.length === args.length &&
63
+ args.every((arg, index) => arg === previousArgs[index]);
64
+ if (isPure) {
65
+ return pureValue;
66
+ }
67
+ previousArgs = args;
68
+ pureValue = original.apply(this, args);
69
+ originalFnWasCalledLeastAtOnce = true;
70
+ return pureValue;
71
+ };
72
+ Object.defineProperty(this, propertyKey, {
73
+ configurable: true,
74
+ value: patched,
75
+ });
76
+ return patched;
77
+ },
78
+ };
79
+ }
80
+ class TuiPureException extends Error {
81
+ constructor() {
82
+ super(ngDevMode ? 'tuiPure can only be used with functions or getters' : '');
83
+ }
84
+ }
8
85
 
9
86
  /**
10
87
  * Generated bundle index. Do not edit.
11
88
  */
89
+
90
+ export { TuiPureException, tuiPure };
12
91
  //# sourceMappingURL=taiga-ui-legacy.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-legacy.mjs","sources":["../../../projects/legacy/taiga-ui-legacy.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAAA;;AAEG"}
1
+ {"version":3,"file":"taiga-ui-legacy.mjs","sources":["../../../projects/legacy/pure.ts","../../../projects/legacy/taiga-ui-legacy.ts"],"sourcesContent":["/// <reference types=\"@taiga-ui/tsconfig/ng-dev-mode\" />\n\nfunction decorateMethod(\n originalMethod: (...args: unknown[]) => unknown,\n): (this: object, ...args: unknown[]) => unknown {\n let previousArgs: readonly unknown[] = [];\n let originalFnWasCalledLeastAtOnce = false;\n let pureValue: unknown;\n\n return function tuiPureMethodPatched(this: object, ...args: unknown[]): unknown {\n const isPure =\n originalFnWasCalledLeastAtOnce &&\n previousArgs.length === args.length &&\n args.every((arg, index) => arg === previousArgs[index]);\n\n if (isPure) {\n return pureValue;\n }\n\n previousArgs = args;\n pureValue = originalMethod.apply(this, args);\n originalFnWasCalledLeastAtOnce = true;\n\n return pureValue;\n };\n}\n\nfunction decorateGetter(\n originalGetter: () => unknown,\n propertyKey: string | symbol,\n enumerable = true,\n): (this: object) => unknown {\n return function tuiPureGetterPatched(this: object): unknown {\n const value = originalGetter.call(this);\n\n Object.defineProperty(this, propertyKey, {enumerable, value});\n\n return value;\n };\n}\n\n/**\n * Implements lazy initialization for getter or memoization of a function call similar to pure {@link: Pipe}.\n * Replaces getter with its calculated value upon first call or keeps track of last call arguments and returned\n * value for function, skipping calculation when arguments are strictly the same.\n *\n * @throws error if used not on getter or function\n *\n * CAUTION: they must be pure.\n * @deprecated use computed instead\n */\nexport function tuiPure<T>(\n target: object,\n propertyKey: string,\n {get, enumerable, value}: TypedPropertyDescriptor<T>,\n): TypedPropertyDescriptor<T>;\n\n/**\n * Implements lazy initialization for getter or memoization of a function call similar to pure {@link: Pipe}.\n * Replaces getter with its calculated value upon first call or keeps track of last call arguments and returned\n * value for function, skipping calculation when arguments are strictly the same.\n *\n * CAUTION: they must be pure.\n * @deprecated use computed instead\n */\nexport function tuiPure<A extends unknown[], R>(\n target: (...args: A) => R,\n context: ClassGetterDecoratorContext | ClassMethodDecoratorContext,\n): (...args: A) => R;\n\nexport function tuiPure(\n target: object | ((...args: unknown[]) => unknown),\n propertyKeyOrContext:\n | ClassGetterDecoratorContext\n | ClassMethodDecoratorContext\n | string,\n descriptor?: TypedPropertyDescriptor<(...args: unknown[]) => unknown>,\n): TypedPropertyDescriptor<unknown> | ((...args: unknown[]) => unknown) {\n if (typeof target === 'function') {\n const context = propertyKeyOrContext as\n | ClassGetterDecoratorContext\n | ClassMethodDecoratorContext;\n\n if (context.kind === 'getter') {\n return decorateGetter(target as () => unknown, context.name);\n }\n\n if (context.kind === 'method') {\n return decorateMethod(target as (...args: unknown[]) => unknown);\n }\n\n throw new TuiPureException();\n }\n\n // TODO(v5): drop compatibility for legacy \"experimentalDecorators\": true\n const {get, enumerable, value} = descriptor!;\n const propertyKey = propertyKeyOrContext as string;\n\n if (get) {\n return {\n configurable: true,\n enumerable,\n get: decorateGetter(get, propertyKey, enumerable),\n };\n }\n\n if (typeof value !== 'function') {\n throw new TuiPureException();\n }\n\n const original = value;\n\n return {\n configurable: true,\n enumerable,\n get(): unknown {\n let previousArgs: readonly unknown[] = [];\n let originalFnWasCalledLeastAtOnce = false;\n let pureValue: unknown;\n\n const patched = (...args: unknown[]): unknown => {\n const isPure =\n originalFnWasCalledLeastAtOnce &&\n previousArgs.length === args.length &&\n args.every((arg, index) => arg === previousArgs[index]);\n\n if (isPure) {\n return pureValue;\n }\n\n previousArgs = args;\n pureValue = original.apply(this, args);\n originalFnWasCalledLeastAtOnce = true;\n\n return pureValue;\n };\n\n Object.defineProperty(this, propertyKey, {\n configurable: true,\n value: patched,\n });\n\n return patched as unknown;\n },\n };\n}\n\nexport class TuiPureException extends Error {\n constructor() {\n super(ngDevMode ? 'tuiPure can only be used with functions or getters' : '');\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
package/index.d.ts CHANGED
@@ -1,7 +1,2 @@
1
- export * from '@taiga-ui/legacy/classes';
1
+ export * from './pure';
2
2
  export * from '@taiga-ui/legacy/components';
3
- export * from '@taiga-ui/legacy/directives';
4
- export * from '@taiga-ui/legacy/pipes';
5
- export * from '@taiga-ui/legacy/services';
6
- export * from '@taiga-ui/legacy/tokens';
7
- export * from '@taiga-ui/legacy/utils';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/legacy",
3
- "version": "4.52.0-canary.932d3ef",
3
+ "version": "4.52.0-canary.9471234",
4
4
  "description": "Legacy Taiga UI entities from the previous major release to simplify migration",
5
5
  "keywords": [
6
6
  "legacy",
@@ -8,10 +8,20 @@
8
8
  "outdated"
9
9
  ],
10
10
  "homepage": "https://github.com/taiga-family/taiga-ui",
11
- "repository": "https://github.com/taiga-family/taiga-ui",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/taiga-family/taiga-ui"
14
+ },
12
15
  "license": "Apache-2.0",
16
+ "peerDependencies": {
17
+ "@angular/core": ">=19.0.0",
18
+ "@taiga-ui/cdk": "^4.52.0",
19
+ "@taiga-ui/core": "^4.52.0",
20
+ "@taiga-ui/polymorpheus": "^5.0.0"
21
+ },
22
+ "module": "fesm2022/taiga-ui-legacy.mjs",
23
+ "typings": "index.d.ts",
13
24
  "exports": {
14
- "./styles/*": "./styles/*",
15
25
  "./package.json": {
16
26
  "default": "./package.json"
17
27
  },
@@ -19,196 +29,23 @@
19
29
  "types": "./index.d.ts",
20
30
  "default": "./fesm2022/taiga-ui-legacy.mjs"
21
31
  },
22
- "./classes": {
23
- "types": "./classes/index.d.ts",
24
- "default": "./fesm2022/taiga-ui-legacy-classes.mjs"
25
- },
26
32
  "./components": {
27
33
  "types": "./components/index.d.ts",
28
34
  "default": "./fesm2022/taiga-ui-legacy-components.mjs"
29
35
  },
30
- "./directives": {
31
- "types": "./directives/index.d.ts",
32
- "default": "./fesm2022/taiga-ui-legacy-directives.mjs"
33
- },
34
- "./pipes": {
35
- "types": "./pipes/index.d.ts",
36
- "default": "./fesm2022/taiga-ui-legacy-pipes.mjs"
37
- },
38
- "./services": {
39
- "types": "./services/index.d.ts",
40
- "default": "./fesm2022/taiga-ui-legacy-services.mjs"
41
- },
42
- "./tokens": {
43
- "types": "./tokens/index.d.ts",
44
- "default": "./fesm2022/taiga-ui-legacy-tokens.mjs"
45
- },
46
- "./utils": {
47
- "types": "./utils/index.d.ts",
48
- "default": "./fesm2022/taiga-ui-legacy-utils.mjs"
49
- },
50
- "./components/arrow": {
51
- "types": "./components/arrow/index.d.ts",
52
- "default": "./fesm2022/taiga-ui-legacy-components-arrow.mjs"
53
- },
54
- "./components/color-selector": {
55
- "types": "./components/color-selector/index.d.ts",
56
- "default": "./fesm2022/taiga-ui-legacy-components-color-selector.mjs"
57
- },
58
- "./components/combo-box": {
59
- "types": "./components/combo-box/index.d.ts",
60
- "default": "./fesm2022/taiga-ui-legacy-components-combo-box.mjs"
61
- },
62
- "./components/input": {
63
- "types": "./components/input/index.d.ts",
64
- "default": "./fesm2022/taiga-ui-legacy-components-input.mjs"
65
- },
66
- "./components/input-color": {
67
- "types": "./components/input-color/index.d.ts",
68
- "default": "./fesm2022/taiga-ui-legacy-components-input-color.mjs"
69
- },
70
- "./components/input-copy": {
71
- "types": "./components/input-copy/index.d.ts",
72
- "default": "./fesm2022/taiga-ui-legacy-components-input-copy.mjs"
73
- },
74
- "./components/input-date": {
75
- "types": "./components/input-date/index.d.ts",
76
- "default": "./fesm2022/taiga-ui-legacy-components-input-date.mjs"
77
- },
78
- "./components/input-date-multi": {
79
- "types": "./components/input-date-multi/index.d.ts",
80
- "default": "./fesm2022/taiga-ui-legacy-components-input-date-multi.mjs"
81
- },
82
- "./components/input-date-range": {
83
- "types": "./components/input-date-range/index.d.ts",
84
- "default": "./fesm2022/taiga-ui-legacy-components-input-date-range.mjs"
85
- },
86
- "./components/input-date-time": {
87
- "types": "./components/input-date-time/index.d.ts",
88
- "default": "./fesm2022/taiga-ui-legacy-components-input-date-time.mjs"
89
- },
90
- "./components/input-month": {
91
- "types": "./components/input-month/index.d.ts",
92
- "default": "./fesm2022/taiga-ui-legacy-components-input-month.mjs"
93
- },
94
- "./components/input-month-range": {
95
- "types": "./components/input-month-range/index.d.ts",
96
- "default": "./fesm2022/taiga-ui-legacy-components-input-month-range.mjs"
97
- },
98
- "./components/input-number": {
99
- "types": "./components/input-number/index.d.ts",
100
- "default": "./fesm2022/taiga-ui-legacy-components-input-number.mjs"
101
- },
102
- "./components/input-password": {
103
- "types": "./components/input-password/index.d.ts",
104
- "default": "./fesm2022/taiga-ui-legacy-components-input-password.mjs"
105
- },
106
- "./components/input-phone": {
107
- "types": "./components/input-phone/index.d.ts",
108
- "default": "./fesm2022/taiga-ui-legacy-components-input-phone.mjs"
109
- },
110
- "./components/input-phone-international": {
111
- "types": "./components/input-phone-international/index.d.ts",
112
- "default": "./fesm2022/taiga-ui-legacy-components-input-phone-international.mjs"
36
+ "./components/pdf-viewer": {
37
+ "types": "./components/pdf-viewer/index.d.ts",
38
+ "default": "./fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs"
113
39
  },
114
- "./components/input-range": {
115
- "types": "./components/input-range/index.d.ts",
116
- "default": "./fesm2022/taiga-ui-legacy-components-input-range.mjs"
40
+ "./components/mobile-dialog": {
41
+ "types": "./components/mobile-dialog/index.d.ts",
42
+ "default": "./fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs"
117
43
  },
118
- "./components/input-slider": {
119
- "types": "./components/input-slider/index.d.ts",
120
- "default": "./fesm2022/taiga-ui-legacy-components-input-slider.mjs"
121
- },
122
- "./components/input-tag": {
123
- "types": "./components/input-tag/index.d.ts",
124
- "default": "./fesm2022/taiga-ui-legacy-components-input-tag.mjs"
125
- },
126
- "./components/input-time": {
127
- "types": "./components/input-time/index.d.ts",
128
- "default": "./fesm2022/taiga-ui-legacy-components-input-time.mjs"
129
- },
130
- "./components/input-year": {
131
- "types": "./components/input-year/index.d.ts",
132
- "default": "./fesm2022/taiga-ui-legacy-components-input-year.mjs"
133
- },
134
- "./components/multi-select": {
135
- "types": "./components/multi-select/index.d.ts",
136
- "default": "./fesm2022/taiga-ui-legacy-components-multi-select.mjs"
137
- },
138
- "./components/multi-select-option": {
139
- "types": "./components/multi-select-option/index.d.ts",
140
- "default": "./fesm2022/taiga-ui-legacy-components-multi-select-option.mjs"
141
- },
142
- "./components/primitive-textfield": {
143
- "types": "./components/primitive-textfield/index.d.ts",
144
- "default": "./fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs"
145
- },
146
- "./components/select": {
147
- "types": "./components/select/index.d.ts",
148
- "default": "./fesm2022/taiga-ui-legacy-components-select.mjs"
149
- },
150
- "./components/select-option": {
151
- "types": "./components/select-option/index.d.ts",
152
- "default": "./fesm2022/taiga-ui-legacy-components-select-option.mjs"
153
- },
154
- "./components/svg": {
155
- "types": "./components/svg/index.d.ts",
156
- "default": "./fesm2022/taiga-ui-legacy-components-svg.mjs"
157
- },
158
- "./components/table-bar": {
159
- "types": "./components/table-bar/index.d.ts",
160
- "default": "./fesm2022/taiga-ui-legacy-components-table-bar.mjs"
161
- },
162
- "./components/tag": {
163
- "types": "./components/tag/index.d.ts",
164
- "default": "./fesm2022/taiga-ui-legacy-components-tag.mjs"
165
- },
166
- "./components/textarea": {
167
- "types": "./components/textarea/index.d.ts",
168
- "default": "./fesm2022/taiga-ui-legacy-components-textarea.mjs"
169
- },
170
- "./components/tooltip": {
171
- "types": "./components/tooltip/index.d.ts",
172
- "default": "./fesm2022/taiga-ui-legacy-components-tooltip.mjs"
173
- },
174
- "./directives/legacy-dropdown-open-monitor": {
175
- "types": "./directives/legacy-dropdown-open-monitor/index.d.ts",
176
- "default": "./fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs"
177
- },
178
- "./directives/textfield-controller": {
179
- "types": "./directives/textfield-controller/index.d.ts",
180
- "default": "./fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs"
181
- },
182
- "./directives/unfinished-validator": {
183
- "types": "./directives/unfinished-validator/index.d.ts",
184
- "default": "./fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs"
185
- },
186
- "./directives/value-accessor": {
187
- "types": "./directives/value-accessor/index.d.ts",
188
- "default": "./fesm2022/taiga-ui-legacy-directives-value-accessor.mjs"
189
- },
190
- "./directives/wrapper": {
191
- "types": "./directives/wrapper/index.d.ts",
192
- "default": "./fesm2022/taiga-ui-legacy-directives-wrapper.mjs"
193
- },
194
- "./pipes/format-phone": {
195
- "types": "./pipes/format-phone/index.d.ts",
196
- "default": "./fesm2022/taiga-ui-legacy-pipes-format-phone.mjs"
197
- },
198
- "./pipes/iso-to-country-code": {
199
- "types": "./pipes/iso-to-country-code/index.d.ts",
200
- "default": "./fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs"
201
- },
202
- "./pipes/to-country-code": {
203
- "types": "./pipes/to-country-code/index.d.ts",
204
- "default": "./fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs"
44
+ "./components/dialog": {
45
+ "types": "./components/dialog/index.d.ts",
46
+ "default": "./fesm2022/taiga-ui-legacy-components-dialog.mjs"
205
47
  }
206
48
  },
207
- "peerDependencies": {
208
- "@angular/core": ">=19.0.0"
209
- },
210
- "module": "fesm2022/taiga-ui-legacy.mjs",
211
- "typings": "index.d.ts",
212
49
  "sideEffects": false,
213
50
  "dependencies": {
214
51
  "tslib": ">=2.8.1"
package/pure.d.ts ADDED
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Implements lazy initialization for getter or memoization of a function call similar to pure {@link: Pipe}.
3
+ * Replaces getter with its calculated value upon first call or keeps track of last call arguments and returned
4
+ * value for function, skipping calculation when arguments are strictly the same.
5
+ *
6
+ * @throws error if used not on getter or function
7
+ *
8
+ * CAUTION: they must be pure.
9
+ * @deprecated use computed instead
10
+ */
11
+ export declare function tuiPure<T>(target: object, propertyKey: string, { get, enumerable, value }: TypedPropertyDescriptor<T>): TypedPropertyDescriptor<T>;
12
+ /**
13
+ * Implements lazy initialization for getter or memoization of a function call similar to pure {@link: Pipe}.
14
+ * Replaces getter with its calculated value upon first call or keeps track of last call arguments and returned
15
+ * value for function, skipping calculation when arguments are strictly the same.
16
+ *
17
+ * CAUTION: they must be pure.
18
+ * @deprecated use computed instead
19
+ */
20
+ export declare function tuiPure<A extends unknown[], R>(target: (...args: A) => R, context: ClassGetterDecoratorContext | ClassMethodDecoratorContext): (...args: A) => R;
21
+ export declare class TuiPureException extends Error {
22
+ constructor();
23
+ }
@@ -1,22 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- import { type TuiBooleanHandler } from '@taiga-ui/cdk/types';
3
- import { type TuiTextfieldHost } from '@taiga-ui/legacy/tokens';
4
- import { AbstractTuiControl } from './control';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * @deprecated: drop in v5.0
8
- */
9
- export declare abstract class AbstractTuiNativeSelect<H = TuiTextfieldHost, T = string> {
10
- protected readonly datalist: TemplateRef<any> | null;
11
- protected readonly autoId: string;
12
- protected readonly el: HTMLSelectElement;
13
- protected readonly host: H;
14
- protected readonly control: AbstractTuiControl<any>;
15
- protected readonly itemsHandlers: import("@taiga-ui/kit/tokens").TuiItemsHandlers<unknown>;
16
- disabledItemHandler: TuiBooleanHandler<T> | null;
17
- placeholder: string;
18
- protected get id(): string;
19
- protected get emptyOption(): boolean;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiNativeSelect<any, any>, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTuiNativeSelect<any, any>, never, never, { "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, false, never>;
22
- }
@@ -1,19 +0,0 @@
1
- import { type TuiTextfieldHost } from '@taiga-ui/legacy/tokens';
2
- import { AbstractTuiControl } from './control';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * @deprecated: drop in v5.0
6
- */
7
- export declare abstract class AbstractTuiTextfieldHost<T extends AbstractTuiControl<any>> implements TuiTextfieldHost {
8
- protected readonly host: T;
9
- abstract onValueChange(value: string): void;
10
- get readOnly(): boolean;
11
- get disabled(): boolean;
12
- get invalid(): boolean;
13
- get focusable(): boolean;
14
- get inputMode(): TuiTextfieldHost['inputMode'];
15
- get value(): string;
16
- process(_input: HTMLInputElement): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiTextfieldHost<any>, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTuiTextfieldHost<any>, never, never, {}, {}, never, never, true, never>;
19
- }