@taiga-ui/legacy 4.52.0-canary.e444d19 → 4.52.0-canary.e53e79e

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 (386) hide show
  1. package/README.md +1 -1
  2. package/components/dialog/dialog.component.d.ts +19 -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 -33
  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 -33
  26. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-legacy.mjs +0 -6
  28. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  29. package/index.d.ts +0 -6
  30. package/package.json +22 -193
  31. package/classes/abstract-native-select.d.ts +0 -22
  32. package/classes/abstract-textfield-host.d.ts +0 -19
  33. package/classes/control.d.ts +0 -60
  34. package/classes/controller.d.ts +0 -9
  35. package/classes/index.d.ts +0 -9
  36. package/classes/interactive.d.ts +0 -34
  37. package/classes/multiple-control.d.ts +0 -11
  38. package/classes/named-day.d.ts +0 -11
  39. package/classes/nullable-control.d.ts +0 -10
  40. package/classes/stringifiable-item.d.ts +0 -11
  41. package/components/arrow/arrow.component.d.ts +0 -17
  42. package/components/arrow/arrow.options.d.ts +0 -19
  43. package/components/arrow/arrow.providers.d.ts +0 -23
  44. package/components/arrow/index.d.ts +0 -3
  45. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  46. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  47. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  48. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  49. package/components/color-selector/color-selector.component.d.ts +0 -47
  50. package/components/color-selector/color-selector.module.d.ts +0 -24
  51. package/components/color-selector/color-selector.options.d.ts +0 -25
  52. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  53. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  54. package/components/color-selector/index.d.ts +0 -16
  55. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  56. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  57. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  58. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  59. package/components/color-selector/palette/palette.component.d.ts +0 -10
  60. package/components/color-selector/palette/palette.module.d.ts +0 -13
  61. package/components/color-selector/services/picker.service.d.ts +0 -15
  62. package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
  63. package/components/combo-box/combo-box.component.d.ts +0 -52
  64. package/components/combo-box/combo-box.directive.d.ts +0 -13
  65. package/components/combo-box/combo-box.module.d.ts +0 -20
  66. package/components/combo-box/index.d.ts +0 -4
  67. package/components/input/index.d.ts +0 -3
  68. package/components/input/input.component.d.ts +0 -32
  69. package/components/input/input.directive.d.ts +0 -12
  70. package/components/input/input.module.d.ts +0 -16
  71. package/components/input-color/index.d.ts +0 -2
  72. package/components/input-color/input-color.component.d.ts +0 -30
  73. package/components/input-color/input-color.module.d.ts +0 -17
  74. package/components/input-copy/index.d.ts +0 -4
  75. package/components/input-copy/input-copy.component.d.ts +0 -33
  76. package/components/input-copy/input-copy.directive.d.ts +0 -11
  77. package/components/input-copy/input-copy.module.d.ts +0 -18
  78. package/components/input-copy/input-copy.options.d.ts +0 -26
  79. package/components/input-date/index.d.ts +0 -3
  80. package/components/input-date/input-date.component.d.ts +0 -62
  81. package/components/input-date/input-date.directive.d.ts +0 -19
  82. package/components/input-date/input-date.module.d.ts +0 -24
  83. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  84. package/components/input-date-multi/index.d.ts +0 -2
  85. package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
  86. package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
  87. package/components/input-date-range/index.d.ts +0 -3
  88. package/components/input-date-range/input-date-range.component.d.ts +0 -67
  89. package/components/input-date-range/input-date-range.directive.d.ts +0 -16
  90. package/components/input-date-range/input-date-range.module.d.ts +0 -22
  91. package/components/input-date-time/index.d.ts +0 -3
  92. package/components/input-date-time/input-date-time.component.d.ts +0 -87
  93. package/components/input-date-time/input-date-time.directive.d.ts +0 -17
  94. package/components/input-date-time/input-date-time.module.d.ts +0 -23
  95. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
  96. package/components/input-month/index.d.ts +0 -3
  97. package/components/input-month/input-month.component.d.ts +0 -44
  98. package/components/input-month/input-month.directive.d.ts +0 -19
  99. package/components/input-month/input-month.module.d.ts +0 -19
  100. package/components/input-month-range/index.d.ts +0 -3
  101. package/components/input-month-range/input-month-range.component.d.ts +0 -38
  102. package/components/input-month-range/input-month-range.directive.d.ts +0 -23
  103. package/components/input-month-range/input-month-range.module.d.ts +0 -18
  104. package/components/input-number/index.d.ts +0 -4
  105. package/components/input-number/input-number.component.d.ts +0 -63
  106. package/components/input-number/input-number.directive.d.ts +0 -16
  107. package/components/input-number/input-number.module.d.ts +0 -18
  108. package/components/input-number/input-number.options.d.ts +0 -29
  109. package/components/input-password/index.d.ts +0 -4
  110. package/components/input-password/input-password.component.d.ts +0 -33
  111. package/components/input-password/input-password.directive.d.ts +0 -15
  112. package/components/input-password/input-password.module.d.ts +0 -19
  113. package/components/input-password/input-password.options.d.ts +0 -25
  114. package/components/input-phone/index.d.ts +0 -4
  115. package/components/input-phone/input-phone.component.d.ts +0 -49
  116. package/components/input-phone/input-phone.directive.d.ts +0 -13
  117. package/components/input-phone/input-phone.module.d.ts +0 -12
  118. package/components/input-phone/input-phone.options.d.ts +0 -13
  119. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  120. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  121. package/components/input-phone/utils/index.d.ts +0 -2
  122. package/components/input-phone-international/index.d.ts +0 -3
  123. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  124. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  125. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  126. package/components/input-range/index.d.ts +0 -2
  127. package/components/input-range/input-range.component.d.ts +0 -56
  128. package/components/input-range/input-range.module.d.ts +0 -19
  129. package/components/input-slider/index.d.ts +0 -2
  130. package/components/input-slider/input-slider.component.d.ts +0 -42
  131. package/components/input-slider/input-slider.module.d.ts +0 -18
  132. package/components/input-tag/index.d.ts +0 -3
  133. package/components/input-tag/input-tag.component.d.ts +0 -103
  134. package/components/input-tag/input-tag.module.d.ts +0 -22
  135. package/components/input-tag/input-tag.options.d.ts +0 -27
  136. package/components/input-time/index.d.ts +0 -4
  137. package/components/input-time/input-time.component.d.ts +0 -62
  138. package/components/input-time/input-time.directive.d.ts +0 -17
  139. package/components/input-time/input-time.module.d.ts +0 -23
  140. package/components/input-time/input-time.options.d.ts +0 -42
  141. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  142. package/components/input-year/index.d.ts +0 -3
  143. package/components/input-year/input-year.component.d.ts +0 -36
  144. package/components/input-year/input-year.directive.d.ts +0 -14
  145. package/components/input-year/input-year.module.d.ts +0 -18
  146. package/components/island/index.d.ts +0 -1
  147. package/components/island/island.directive.d.ts +0 -20
  148. package/components/multi-select/hide-selected.pipe.d.ts +0 -11
  149. package/components/multi-select/index.d.ts +0 -10
  150. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
  151. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  152. package/components/multi-select/multi-select.component.d.ts +0 -71
  153. package/components/multi-select/multi-select.directive.d.ts +0 -14
  154. package/components/multi-select/multi-select.module.d.ts +0 -31
  155. package/components/multi-select/multi-select.options.d.ts +0 -14
  156. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  157. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  158. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  159. package/components/multi-select-option/index.d.ts +0 -2
  160. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  161. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  162. package/components/primitive-textfield/index.d.ts +0 -7
  163. package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
  164. package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
  165. package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
  166. package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
  167. package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
  168. package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
  169. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
  170. package/components/select/index.d.ts +0 -6
  171. package/components/select/native-select/native-select-group.component.d.ts +0 -17
  172. package/components/select/native-select/native-select.component.d.ts +0 -16
  173. package/components/select/select.component.d.ts +0 -45
  174. package/components/select/select.directive.d.ts +0 -16
  175. package/components/select/select.module.d.ts +0 -24
  176. package/components/select/select.options.d.ts +0 -25
  177. package/components/select-option/index.d.ts +0 -2
  178. package/components/select-option/select-option.component.d.ts +0 -27
  179. package/components/select-option/select-option.module.d.ts +0 -10
  180. package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
  181. package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
  182. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -11
  183. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
  184. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
  185. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
  186. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
  187. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
  188. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
  189. package/components/sheet/index.d.ts +0 -14
  190. package/components/sheet/sheet-options.d.ts +0 -27
  191. package/components/sheet/sheet-tokens.d.ts +0 -18
  192. package/components/sheet/sheet.d.ts +0 -21
  193. package/components/sheet/sheet.directive.d.ts +0 -17
  194. package/components/sheet/sheet.module.d.ts +0 -24
  195. package/components/sheet/sheet.service.d.ts +0 -17
  196. package/components/svg/content-processor.d.ts +0 -19
  197. package/components/svg/deprecated-icons.d.ts +0 -5
  198. package/components/svg/index.d.ts +0 -5
  199. package/components/svg/svg-options.d.ts +0 -50
  200. package/components/svg/svg.component.d.ts +0 -50
  201. package/components/svg/svg.service.d.ts +0 -21
  202. package/components/table-bar/index.d.ts +0 -4
  203. package/components/table-bar/table-bar.component.d.ts +0 -17
  204. package/components/table-bar/table-bar.directive.d.ts +0 -11
  205. package/components/table-bar/table-bar.options.d.ts +0 -31
  206. package/components/table-bar/table-bars-host.component.d.ts +0 -10
  207. package/components/table-bar/table-bars.service.d.ts +0 -11
  208. package/components/tag/index.d.ts +0 -3
  209. package/components/tag/tag.component.d.ts +0 -44
  210. package/components/tag/tag.module.d.ts +0 -16
  211. package/components/tag/tag.options.d.ts +0 -27
  212. package/components/textarea/index.d.ts +0 -3
  213. package/components/textarea/textarea.component.d.ts +0 -54
  214. package/components/textarea/textarea.directive.d.ts +0 -12
  215. package/components/textarea/textarea.module.d.ts +0 -21
  216. package/components/tooltip/index.d.ts +0 -2
  217. package/components/tooltip/tooltip.component.d.ts +0 -12
  218. package/components/tooltip/tooltip.module.d.ts +0 -13
  219. package/directives/index.d.ts +0 -5
  220. package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
  221. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
  222. package/directives/textfield-controller/index.d.ts +0 -14
  223. package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
  224. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
  225. package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
  226. package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
  227. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
  228. package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
  229. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
  230. package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
  231. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
  232. package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
  233. package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
  234. package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
  235. package/directives/textfield-controller/textfield.controller.d.ts +0 -41
  236. package/directives/textfield-controller/textfield.options.d.ts +0 -19
  237. package/directives/unfinished-validator/index.d.ts +0 -2
  238. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
  239. package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
  240. package/directives/value-accessor/index.d.ts +0 -3
  241. package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
  242. package/directives/value-accessor/value-accessor.module.d.ts +0 -7
  243. package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
  244. package/directives/wrapper/README.md +0 -19
  245. package/directives/wrapper/index.d.ts +0 -2
  246. package/directives/wrapper/wrapper.directive.d.ts +0 -22
  247. package/directives/wrapper/wrapper.module.d.ts +0 -10
  248. package/fesm2022/taiga-ui-legacy-classes.mjs +0 -415
  249. package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
  250. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -85
  251. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
  252. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
  253. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  254. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -300
  255. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  256. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  257. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  258. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
  259. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
  260. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
  261. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
  262. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -356
  263. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
  264. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -465
  265. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
  266. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  267. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  268. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
  269. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
  270. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
  271. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
  272. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -390
  273. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
  274. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
  275. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
  276. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  277. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  278. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -358
  279. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  280. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
  281. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
  282. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -199
  283. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
  284. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
  285. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
  286. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -430
  287. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  288. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  289. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  290. package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -156
  291. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
  292. package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
  293. package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
  294. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
  295. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
  296. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -690
  297. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
  298. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
  299. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
  300. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
  301. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
  302. package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -354
  303. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
  304. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -577
  305. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
  306. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
  307. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  308. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -147
  309. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
  310. package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -225
  311. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
  312. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
  313. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
  314. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
  315. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
  316. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -50
  317. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
  318. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -401
  319. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
  320. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -50
  321. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
  322. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
  323. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
  324. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
  325. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
  326. package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
  327. package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
  328. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
  329. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  330. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  331. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  332. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  333. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  334. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  335. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  336. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  337. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  338. package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
  339. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
  340. package/fesm2022/taiga-ui-legacy-utils.mjs +0 -268
  341. package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
  342. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  343. package/pipes/format-phone/index.d.ts +0 -1
  344. package/pipes/index.d.ts +0 -3
  345. package/pipes/iso-to-country-code/index.d.ts +0 -1
  346. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  347. package/pipes/to-country-code/index.d.ts +0 -1
  348. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  349. package/services/index.d.ts +0 -1
  350. package/services/static-request.service.d.ts +0 -11
  351. package/styles/mixins/mixins.less +0 -239
  352. package/styles/mixins/mixins.scss +0 -224
  353. package/styles/mixins/textfield.less +0 -324
  354. package/styles/mixins/textfield.scss +0 -308
  355. package/styles/taiga-ui-local.less +0 -3
  356. package/styles/taiga-ui-local.scss +0 -3
  357. package/tokens/countries-masks.d.ts +0 -9
  358. package/tokens/focusable-item-accessor.d.ts +0 -25
  359. package/tokens/fonts-ready.d.ts +0 -6
  360. package/tokens/icons.d.ts +0 -6
  361. package/tokens/index.d.ts +0 -14
  362. package/tokens/is-apple.d.ts +0 -6
  363. package/tokens/is-chromium.d.ts +0 -6
  364. package/tokens/is-firefox.d.ts +0 -6
  365. package/tokens/is-stackblitz.d.ts +0 -5
  366. package/tokens/month-formatter.d.ts +0 -10
  367. package/tokens/sanitizer.d.ts +0 -6
  368. package/tokens/textfield-appearance.d.ts +0 -7
  369. package/tokens/textfield-host.d.ts +0 -23
  370. package/tokens/touch-supported.d.ts +0 -5
  371. package/tokens/value-accessor.d.ts +0 -7
  372. package/utils/capitalize-first-letter.d.ts +0 -4
  373. package/utils/date-mode-maskito-adapter.d.ts +0 -6
  374. package/utils/format-phone.d.ts +0 -30
  375. package/utils/get-border.d.ts +0 -5
  376. package/utils/get-max-allowed-phone-length.d.ts +0 -24
  377. package/utils/get-safe-area-size.d.ts +0 -7
  378. package/utils/icons-path-factory.d.ts +0 -13
  379. package/utils/index.d.ts +0 -14
  380. package/utils/is-apple.d.ts +0 -5
  381. package/utils/is-presumed-html-string.d.ts +0 -4
  382. package/utils/iso-to-country-code.d.ts +0 -13
  383. package/utils/not-kz-region.d.ts +0 -20
  384. package/utils/process-icon.d.ts +0 -4
  385. package/utils/specific-dropdown-controllers.d.ts +0 -4
  386. package/utils/status.d.ts +0 -4
@@ -1,99 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Input, Directive, NgModule } from '@angular/core';
3
-
4
- /**
5
- * @deprecated: drop in v5.0
6
- */
7
- class TuiWrapperDirective {
8
- constructor() {
9
- this.disabled = false;
10
- this.readOnly = false;
11
- this.hover = null;
12
- this.active = null;
13
- this.focus = false;
14
- this.invalid = false;
15
- this.appearance = '';
16
- }
17
- get computedInvalid() {
18
- return !this.disabled && !this.readOnly && this.invalid;
19
- }
20
- get computedFocused() {
21
- return this.focus && !this.disabled;
22
- }
23
- get interactiveState() {
24
- if (this.disabled) {
25
- return 'disabled';
26
- }
27
- if (this.readOnly) {
28
- return 'readonly';
29
- }
30
- if (this.active) {
31
- return 'active';
32
- }
33
- if (this.hover) {
34
- return 'hover';
35
- }
36
- return null;
37
- }
38
- get noHover() {
39
- return this.readOnly || this.hover === false;
40
- }
41
- get noActive() {
42
- return this.readOnly || this.active === false;
43
- }
44
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiWrapperDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
45
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiWrapperDirective, isStandalone: false, selector: "[tuiWrapper]", inputs: { disabled: "disabled", readOnly: "readOnly", hover: "hover", active: "active", focus: "focus", invalid: "invalid", appearance: "appearance" }, host: { attributes: { "tuiAppearance": "" }, properties: { "attr.data-appearance": "appearance", "class._invalid": "computedInvalid", "class._focused": "computedFocused", "attr.data-state": "interactiveState", "class._no-hover": "noHover", "class._no-active": "noActive" } }, ngImport: i0 }); }
46
- }
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiWrapperDirective, decorators: [{
48
- type: Directive,
49
- args: [{
50
- standalone: false,
51
- selector: '[tuiWrapper]',
52
- host: {
53
- tuiAppearance: '', // So that basic appearance also works
54
- '[attr.data-appearance]': 'appearance',
55
- '[class._invalid]': 'computedInvalid',
56
- '[class._focused]': 'computedFocused',
57
- '[attr.data-state]': 'interactiveState',
58
- '[class._no-hover]': 'noHover',
59
- '[class._no-active]': 'noActive',
60
- },
61
- }]
62
- }], propDecorators: { disabled: [{
63
- type: Input
64
- }], readOnly: [{
65
- type: Input
66
- }], hover: [{
67
- type: Input
68
- }], active: [{
69
- type: Input
70
- }], focus: [{
71
- type: Input
72
- }], invalid: [{
73
- type: Input
74
- }], appearance: [{
75
- type: Input
76
- }] } });
77
-
78
- /**
79
- * @deprecated: drop in v5.0
80
- */
81
- class TuiWrapperModule {
82
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
83
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiWrapperModule, declarations: [TuiWrapperDirective], exports: [TuiWrapperDirective] }); }
84
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiWrapperModule }); }
85
- }
86
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiWrapperModule, decorators: [{
87
- type: NgModule,
88
- args: [{
89
- declarations: [TuiWrapperDirective],
90
- exports: [TuiWrapperDirective],
91
- }]
92
- }] });
93
-
94
- /**
95
- * Generated bundle index. Do not edit.
96
- */
97
-
98
- export { TuiWrapperDirective, TuiWrapperModule };
99
- //# sourceMappingURL=taiga-ui-legacy-directives-wrapper.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-directives-wrapper.mjs","sources":["../../../projects/legacy/directives/wrapper/wrapper.directive.ts","../../../projects/legacy/directives/wrapper/wrapper.module.ts","../../../projects/legacy/directives/wrapper/taiga-ui-legacy-directives-wrapper.ts"],"sourcesContent":["import {Directive, Input} from '@angular/core';\nimport {type TuiLooseUnion} from '@taiga-ui/cdk/types';\nimport {type TuiInteractiveState} from '@taiga-ui/core/types';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n standalone: false,\n selector: '[tuiWrapper]',\n host: {\n tuiAppearance: '', // So that basic appearance also works\n '[attr.data-appearance]': 'appearance',\n '[class._invalid]': 'computedInvalid',\n '[class._focused]': 'computedFocused',\n '[attr.data-state]': 'interactiveState',\n '[class._no-hover]': 'noHover',\n '[class._no-active]': 'noActive',\n },\n})\nexport class TuiWrapperDirective {\n @Input()\n public disabled = false;\n\n @Input()\n public readOnly = false;\n\n @Input()\n public hover: boolean | null = null;\n\n @Input()\n public active: boolean | null = null;\n\n @Input()\n public focus = false;\n\n @Input()\n public invalid = false;\n\n @Input()\n public appearance = '';\n\n protected get computedInvalid(): boolean {\n return !this.disabled && !this.readOnly && this.invalid;\n }\n\n protected get computedFocused(): boolean {\n return this.focus && !this.disabled;\n }\n\n protected get interactiveState(): TuiLooseUnion<TuiInteractiveState> | null {\n if (this.disabled) {\n return 'disabled';\n }\n\n if (this.readOnly) {\n return 'readonly';\n }\n\n if (this.active) {\n return 'active';\n }\n\n if (this.hover) {\n return 'hover';\n }\n\n return null;\n }\n\n protected get noHover(): boolean {\n return this.readOnly || this.hover === false;\n }\n\n protected get noActive(): boolean {\n return this.readOnly || this.active === false;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiWrapperDirective} from './wrapper.directive';\n\n/**\n * @deprecated: drop in v5.0\n */\n@NgModule({\n declarations: [TuiWrapperDirective],\n exports: [TuiWrapperDirective],\n})\nexport class TuiWrapperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
@@ -1,10 +0,0 @@
1
- export * from '@taiga-ui/legacy/directives/legacy-dropdown-open-monitor';
2
- export * from '@taiga-ui/legacy/directives/textfield-controller';
3
- export * from '@taiga-ui/legacy/directives/unfinished-validator';
4
- export * from '@taiga-ui/legacy/directives/value-accessor';
5
- export * from '@taiga-ui/legacy/directives/wrapper';
6
-
7
- /**
8
- * Generated bundle index. Do not edit.
9
- */
10
- //# sourceMappingURL=taiga-ui-legacy-directives.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-directives.mjs","sources":["../../../projects/legacy/directives/taiga-ui-legacy-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;;AAEG"}
@@ -1,59 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Pipe } from '@angular/core';
3
- import { CHAR_PLUS } from '@taiga-ui/cdk/constants';
4
- import { tuiFormatPhone } from '@taiga-ui/legacy/utils';
5
-
6
- /// <reference types="@taiga-ui/tsconfig/ng-dev-mode" />
7
- /**
8
- * @deprecated: drop in v5.0
9
- */
10
- class TuiFormatPhonePipe {
11
- /**
12
- * Use {@link https://maskito.dev/frameworks/angular#pipe MaskitoPipe} instead!
13
- * ```ts
14
- * import {maskitoTransform} from '@maskito/core';
15
- * import {maskitoPhoneOptionsGenerator} from '@maskito/phone';
16
- * import metadata from 'libphonenumber-js/min/metadata';
17
- *
18
- * @Component({
19
- * standalone: true,
20
- * imports: [MaskitoPipe],
21
- * template: `
22
- * Phone: {{'12125552368' | maskito: options}}
23
- * <!-- Phone: +1 (212) 555-2368 -->
24
- * `,
25
- * })
26
- * export class YourComponent {
27
- * options = maskitoPhoneOptionsGenerator({countryIsoCode: 'US', metadata});
28
- * }
29
- * ```
30
- * ___
31
- * @deprecated Use {@link https://maskito.dev/frameworks/angular#pipe MaskitoPipe} instead!
32
- * Formats phone number string of +7XXXXXXXXXX format with adding separator symbols
33
- * @param value
34
- * @param countryCode
35
- * @param phoneMask
36
- * @return formatted phone number string +7(XXX)XXX-XX-XX
37
- */
38
- transform(value, countryCode = `${CHAR_PLUS}7`, phoneMask = '(###) ###-##-##') {
39
- ngDevMode &&
40
- console.assert(value !== undefined, 'Undefined was passed to tuiFormatPhone pipe');
41
- return tuiFormatPhone(value, countryCode, phoneMask);
42
- }
43
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFormatPhonePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
44
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiFormatPhonePipe, isStandalone: true, name: "tuiFormatPhone" }); }
45
- }
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFormatPhonePipe, decorators: [{
47
- type: Pipe,
48
- args: [{
49
- standalone: true,
50
- name: 'tuiFormatPhone',
51
- }]
52
- }] });
53
-
54
- /**
55
- * Generated bundle index. Do not edit.
56
- */
57
-
58
- export { TuiFormatPhonePipe };
59
- //# sourceMappingURL=taiga-ui-legacy-pipes-format-phone.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-pipes-format-phone.mjs","sources":["../../../projects/legacy/pipes/format-phone/format-phone.pipe.ts","../../../projects/legacy/pipes/format-phone/taiga-ui-legacy-pipes-format-phone.ts"],"sourcesContent":["/// <reference types=\"@taiga-ui/tsconfig/ng-dev-mode\" />\nimport {Pipe, type PipeTransform} from '@angular/core';\nimport {CHAR_PLUS} from '@taiga-ui/cdk/constants';\nimport {tuiFormatPhone} from '@taiga-ui/legacy/utils';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Pipe({\n standalone: true,\n name: 'tuiFormatPhone',\n})\nexport class TuiFormatPhonePipe implements PipeTransform {\n /**\n * Use {@link https://maskito.dev/frameworks/angular#pipe MaskitoPipe} instead!\n * ```ts\n * import {maskitoTransform} from '@maskito/core';\n * import {maskitoPhoneOptionsGenerator} from '@maskito/phone';\n * import metadata from 'libphonenumber-js/min/metadata';\n *\n * @Component({\n * standalone: true,\n * imports: [MaskitoPipe],\n * template: `\n * Phone: {{'12125552368' | maskito: options}}\n * <!-- Phone: +1 (212) 555-2368 -->\n * `,\n * })\n * export class YourComponent {\n * options = maskitoPhoneOptionsGenerator({countryIsoCode: 'US', metadata});\n * }\n * ```\n * ___\n * @deprecated Use {@link https://maskito.dev/frameworks/angular#pipe MaskitoPipe} instead!\n * Formats phone number string of +7XXXXXXXXXX format with adding separator symbols\n * @param value\n * @param countryCode\n * @param phoneMask\n * @return formatted phone number string +7(XXX)XXX-XX-XX\n */\n public transform(\n value: string,\n countryCode = `${CHAR_PLUS}7`,\n phoneMask = '(###) ###-##-##',\n ): string {\n ngDevMode &&\n console.assert(\n value !== undefined,\n 'Undefined was passed to tuiFormatPhone pipe',\n );\n\n return tuiFormatPhone(value, countryCode, phoneMask);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAAA;AAKA;;AAEG;MAKU,kBAAkB,CAAA;AAC3B;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BG;IACI,SAAS,CACZ,KAAa,EACb,WAAW,GAAG,CAAG,EAAA,SAAS,CAAG,CAAA,CAAA,EAC7B,SAAS,GAAG,iBAAiB,EAAA;QAE7B,SAAS;YACL,OAAO,CAAC,MAAM,CACV,KAAK,KAAK,SAAS,EACnB,6CAA6C,CAChD;QAEL,OAAO,cAAc,CAAC,KAAK,EAAE,WAAW,EAAE,SAAS,CAAC;;+GAvC/C,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,gBAAA,EAAA,CAAA,CAAA;;4FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,gBAAgB;AACzB,iBAAA;;;ACXD;;AAEG;;;;"}
@@ -1,50 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Pipe } from '@angular/core';
3
- import { TUI_COUNTRIES_MASKS } from '@taiga-ui/legacy/tokens';
4
- import { tuiIsoToCountryCode } from '@taiga-ui/legacy/utils';
5
-
6
- /**
7
- * @deprecated: drop in v5.0
8
- * Use `getCountryCallingCode` from `libphonenumber-js/core` instead
9
- * ```ts
10
- * import {getCountryCallingCode} from 'libphonenumber-js/core';
11
- * import metadata from 'libphonenumber-js/max/metadata';
12
- *
13
- * getCountryCallingCode('US', metadata) // 1
14
- * getCountryCallingCode('GB', metadata) // 44
15
- * ```
16
- */
17
- class TuiIsoToCountryCodePipe {
18
- constructor() {
19
- this.countriesMasks = inject(TUI_COUNTRIES_MASKS);
20
- }
21
- /**
22
- * @deprecated Use `getCountryCallingCode` from `libphonenumber-js/core` instead
23
- * ```ts
24
- * import {getCountryCallingCode} from 'libphonenumber-js/core';
25
- * import metadata from 'libphonenumber-js/max/metadata';
26
- *
27
- * getCountryCallingCode('US', metadata) // 1
28
- * getCountryCallingCode('GB', metadata) // 44
29
- * ```
30
- */
31
- transform(isoCode) {
32
- return tuiIsoToCountryCode(this.countriesMasks, isoCode);
33
- }
34
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiIsoToCountryCodePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
35
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiIsoToCountryCodePipe, isStandalone: true, name: "tuiIsoToCountryCode" }); }
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiIsoToCountryCodePipe, decorators: [{
38
- type: Pipe,
39
- args: [{
40
- standalone: true,
41
- name: 'tuiIsoToCountryCode',
42
- }]
43
- }] });
44
-
45
- /**
46
- * Generated bundle index. Do not edit.
47
- */
48
-
49
- export { TuiIsoToCountryCodePipe };
50
- //# sourceMappingURL=taiga-ui-legacy-pipes-iso-to-country-code.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-pipes-iso-to-country-code.mjs","sources":["../../../projects/legacy/pipes/iso-to-country-code/iso-to-country-code.pipe.ts","../../../projects/legacy/pipes/iso-to-country-code/taiga-ui-legacy-pipes-iso-to-country-code.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {TUI_COUNTRIES_MASKS} from '@taiga-ui/legacy/tokens';\nimport {tuiIsoToCountryCode} from '@taiga-ui/legacy/utils';\n\n/**\n * @deprecated: drop in v5.0\n * Use `getCountryCallingCode` from `libphonenumber-js/core` instead\n * ```ts\n * import {getCountryCallingCode} from 'libphonenumber-js/core';\n * import metadata from 'libphonenumber-js/max/metadata';\n *\n * getCountryCallingCode('US', metadata) // 1\n * getCountryCallingCode('GB', metadata) // 44\n * ```\n */\n@Pipe({\n standalone: true,\n name: 'tuiIsoToCountryCode',\n})\nexport class TuiIsoToCountryCodePipe implements PipeTransform {\n private readonly countriesMasks = inject(TUI_COUNTRIES_MASKS);\n\n /**\n * @deprecated Use `getCountryCallingCode` from `libphonenumber-js/core` instead\n * ```ts\n * import {getCountryCallingCode} from 'libphonenumber-js/core';\n * import metadata from 'libphonenumber-js/max/metadata';\n *\n * getCountryCallingCode('US', metadata) // 1\n * getCountryCallingCode('GB', metadata) // 44\n * ```\n */\n public transform(isoCode: TuiCountryIsoCode): string {\n return tuiIsoToCountryCode(this.countriesMasks, isoCode);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA;;;;;;;;;;AAUG;MAKU,uBAAuB,CAAA;AAJpC,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,mBAAmB,CAAC;AAehE;AAbG;;;;;;;;;AASG;AACI,IAAA,SAAS,CAAC,OAA0B,EAAA;QACvC,OAAO,mBAAmB,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC;;+GAdnD,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,qBAAA,EAAA,CAAA,CAAA;;4FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAJnC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,qBAAqB;AAC9B,iBAAA;;;ACnBD;;AAEG;;;;"}
@@ -1,80 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Pipe } from '@angular/core';
3
- import { CHAR_PLUS } from '@taiga-ui/cdk/constants';
4
- import { TUI_COUNTRIES_MASKS } from '@taiga-ui/legacy/tokens';
5
- import { tuiGetMaxAllowedPhoneLength, tuiIsoToCountryCode, tuiNotKzRegion } from '@taiga-ui/legacy/utils';
6
-
7
- /**
8
- * @deprecated: drop in v5.0
9
- * use `maskitoGetCountryFromNumber` from `@maskito/phone` instead
10
- * ```
11
- * npm i @maskito/phone
12
- * ```
13
- *
14
- * ```ts
15
- * import {maskitoGetCountryFromNumber} from '@maskito/phone';
16
- * import metadata from 'libphonenumber-js/min/metadata';
17
- *
18
- * maskitoGetCountryFromNumber('+1 (212) 555-2368', metadata); // 'US'
19
- * maskitoGetCountryFromNumber('+12125552368', metadata); // 'US'
20
- * ```
21
- */
22
- class TuiToCountryCodePipe {
23
- constructor() {
24
- this.countriesMasks = inject(TUI_COUNTRIES_MASKS);
25
- }
26
- /**
27
- * @deprecated use `maskitoGetCountryFromNumber` from `@maskito/phone` instead
28
- * ```
29
- * npm i @maskito/phone
30
- * ```
31
- *
32
- * ```ts
33
- * import {maskitoGetCountryFromNumber} from '@maskito/phone';
34
- * import metadata from 'libphonenumber-js/min/metadata';
35
- *
36
- * maskitoGetCountryFromNumber('+1 (212) 555-2368', metadata); // 'US'
37
- * maskitoGetCountryFromNumber('+12125552368', metadata); // 'US'
38
- * ```
39
- */
40
- transform(value, countries) {
41
- return countries.find((countryIsoCode) => {
42
- const ruCodeTest = countryIsoCode === 'RU' &&
43
- /^[78]/.test(value) &&
44
- /^(?!880[1-9 ])/.test(value) &&
45
- value.length + 1 ===
46
- tuiGetMaxAllowedPhoneLength(this.countriesMasks, 'RU');
47
- const matched = ruCodeTest ||
48
- (value.startsWith(tuiIsoToCountryCode(this.countriesMasks, countryIsoCode).replace(CHAR_PLUS, '')) &&
49
- value.length + 1 ===
50
- tuiGetMaxAllowedPhoneLength(this.countriesMasks, countryIsoCode));
51
- if (matched) {
52
- switch (countryIsoCode) {
53
- case 'KZ':
54
- return !tuiNotKzRegion(value);
55
- case 'RU':
56
- return tuiNotKzRegion(value);
57
- default:
58
- return true;
59
- }
60
- }
61
- return false;
62
- });
63
- }
64
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiToCountryCodePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
65
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiToCountryCodePipe, isStandalone: true, name: "tuiToCountryCode" }); }
66
- }
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiToCountryCodePipe, decorators: [{
68
- type: Pipe,
69
- args: [{
70
- standalone: true,
71
- name: 'tuiToCountryCode',
72
- }]
73
- }] });
74
-
75
- /**
76
- * Generated bundle index. Do not edit.
77
- */
78
-
79
- export { TuiToCountryCodePipe };
80
- //# sourceMappingURL=taiga-ui-legacy-pipes-to-country-code.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-pipes-to-country-code.mjs","sources":["../../../projects/legacy/pipes/to-country-code/to-country-code.pipe.ts","../../../projects/legacy/pipes/to-country-code/taiga-ui-legacy-pipes-to-country-code.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {CHAR_PLUS} from '@taiga-ui/cdk/constants';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {TUI_COUNTRIES_MASKS} from '@taiga-ui/legacy/tokens';\nimport {\n tuiGetMaxAllowedPhoneLength,\n tuiIsoToCountryCode,\n tuiNotKzRegion,\n} from '@taiga-ui/legacy/utils';\n\n/**\n * @deprecated: drop in v5.0\n * use `maskitoGetCountryFromNumber` from `@maskito/phone` instead\n * ```\n * npm i @maskito/phone\n * ```\n *\n * ```ts\n * import {maskitoGetCountryFromNumber} from '@maskito/phone';\n * import metadata from 'libphonenumber-js/min/metadata';\n *\n * maskitoGetCountryFromNumber('+1 (212) 555-2368', metadata); // 'US'\n * maskitoGetCountryFromNumber('+12125552368', metadata); // 'US'\n * ```\n */\n@Pipe({\n standalone: true,\n name: 'tuiToCountryCode',\n})\nexport class TuiToCountryCodePipe implements PipeTransform {\n private readonly countriesMasks = inject(TUI_COUNTRIES_MASKS);\n\n /**\n * @deprecated use `maskitoGetCountryFromNumber` from `@maskito/phone` instead\n * ```\n * npm i @maskito/phone\n * ```\n *\n * ```ts\n * import {maskitoGetCountryFromNumber} from '@maskito/phone';\n * import metadata from 'libphonenumber-js/min/metadata';\n *\n * maskitoGetCountryFromNumber('+1 (212) 555-2368', metadata); // 'US'\n * maskitoGetCountryFromNumber('+12125552368', metadata); // 'US'\n * ```\n */\n public transform(\n value: string,\n countries: readonly TuiCountryIsoCode[],\n ): TuiCountryIsoCode | undefined {\n return countries.find((countryIsoCode) => {\n const ruCodeTest =\n countryIsoCode === 'RU' &&\n /^[78]/.test(value) &&\n /^(?!880[1-9 ])/.test(value) &&\n value.length + 1 ===\n tuiGetMaxAllowedPhoneLength(this.countriesMasks, 'RU');\n\n const matched =\n ruCodeTest ||\n (value.startsWith(\n tuiIsoToCountryCode(this.countriesMasks, countryIsoCode).replace(\n CHAR_PLUS,\n '',\n ),\n ) &&\n value.length + 1 ===\n tuiGetMaxAllowedPhoneLength(this.countriesMasks, countryIsoCode));\n\n if (matched) {\n switch (countryIsoCode) {\n case 'KZ':\n return !tuiNotKzRegion(value);\n case 'RU':\n return tuiNotKzRegion(value);\n default:\n return true;\n }\n }\n\n return false;\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAUA;;;;;;;;;;;;;;AAcG;MAKU,oBAAoB,CAAA;AAJjC,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,mBAAmB,CAAC;AAqDhE;AAnDG;;;;;;;;;;;;;AAaG;IACI,SAAS,CACZ,KAAa,EACb,SAAuC,EAAA;AAEvC,QAAA,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC,cAAc,KAAI;AACrC,YAAA,MAAM,UAAU,GACZ,cAAc,KAAK,IAAI;AACvB,gBAAA,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC;AACnB,gBAAA,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC;gBAC5B,KAAK,CAAC,MAAM,GAAG,CAAC;AACZ,oBAAA,2BAA2B,CAAC,IAAI,CAAC,cAAc,EAAE,IAAI,CAAC;YAE9D,MAAM,OAAO,GACT,UAAU;AACV,iBAAC,KAAK,CAAC,UAAU,CACb,mBAAmB,CAAC,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC,OAAO,CAC5D,SAAS,EACT,EAAE,CACL,CACJ;oBACG,KAAK,CAAC,MAAM,GAAG,CAAC;wBACZ,2BAA2B,CAAC,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC;YAE7E,IAAI,OAAO,EAAE;gBACT,QAAQ,cAAc;AAClB,oBAAA,KAAK,IAAI;AACL,wBAAA,OAAO,CAAC,cAAc,CAAC,KAAK,CAAC;AACjC,oBAAA,KAAK,IAAI;AACL,wBAAA,OAAO,cAAc,CAAC,KAAK,CAAC;AAChC,oBAAA;AACI,wBAAA,OAAO,IAAI;;;AAIvB,YAAA,OAAO,KAAK;AAChB,SAAC,CAAC;;+GApDG,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,kBAAA,EAAA,CAAA,CAAA;;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,kBAAkB;AAC3B,iBAAA;;;AC5BD;;AAEG;;;;"}
@@ -1,8 +0,0 @@
1
- export * from '@taiga-ui/legacy/pipes/format-phone';
2
- export * from '@taiga-ui/legacy/pipes/iso-to-country-code';
3
- export * from '@taiga-ui/legacy/pipes/to-country-code';
4
-
5
- /**
6
- * Generated bundle index. Do not edit.
7
- */
8
- //# sourceMappingURL=taiga-ui-legacy-pipes.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-pipes.mjs","sources":["../../../projects/legacy/pipes/taiga-ui-legacy-pipes.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;;AAEG"}
@@ -1,42 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Injectable } from '@angular/core';
3
- import { switchMap, shareReplay } from 'rxjs';
4
- import { fromFetch } from 'rxjs/fetch';
5
-
6
- /**
7
- * @deprecated: drop in v5.0
8
- */
9
- class TuiStaticRequestService {
10
- constructor() {
11
- this.cache = new Map();
12
- }
13
- request(url) {
14
- const cache = this.cache.get(url);
15
- if (cache) {
16
- return cache;
17
- }
18
- const piped = fromFetch(url).pipe(switchMap(async (response) => {
19
- if (response.ok) {
20
- return response.text();
21
- }
22
- throw new Error(`Failed to load ${url} (${response.statusText})`);
23
- }), shareReplay({ bufferSize: 1, refCount: false }));
24
- this.cache.set(url, piped);
25
- return piped;
26
- }
27
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiStaticRequestService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
28
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiStaticRequestService, providedIn: 'root' }); }
29
- }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiStaticRequestService, decorators: [{
31
- type: Injectable,
32
- args: [{
33
- providedIn: 'root',
34
- }]
35
- }] });
36
-
37
- /**
38
- * Generated bundle index. Do not edit.
39
- */
40
-
41
- export { TuiStaticRequestService };
42
- //# sourceMappingURL=taiga-ui-legacy-services.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-services.mjs","sources":["../../../projects/legacy/services/static-request.service.ts","../../../projects/legacy/services/taiga-ui-legacy-services.ts"],"sourcesContent":["import {Injectable} from '@angular/core';\nimport {type Observable, shareReplay, switchMap} from 'rxjs';\nimport {fromFetch} from 'rxjs/fetch';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiStaticRequestService {\n private readonly cache = new Map<string, Observable<string>>();\n\n public request(url: string): Observable<string> {\n const cache = this.cache.get(url);\n\n if (cache) {\n return cache;\n }\n\n const piped = fromFetch(url).pipe(\n switchMap(async (response) => {\n if (response.ok) {\n return response.text();\n }\n\n throw new Error(`Failed to load ${url} (${response.statusText})`);\n }),\n shareReplay({bufferSize: 1, refCount: false}),\n );\n\n this.cache.set(url, piped);\n\n return piped;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA;;AAEG;MAIU,uBAAuB,CAAA;AAHpC,IAAA,WAAA,GAAA;AAIqB,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,GAAG,EAA8B;AAwBjE;AAtBU,IAAA,OAAO,CAAC,GAAW,EAAA;QACtB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC;QAEjC,IAAI,KAAK,EAAE;AACP,YAAA,OAAO,KAAK;;AAGhB,QAAA,MAAM,KAAK,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,CAC7B,SAAS,CAAC,OAAO,QAAQ,KAAI;AACzB,YAAA,IAAI,QAAQ,CAAC,EAAE,EAAE;AACb,gBAAA,OAAO,QAAQ,CAAC,IAAI,EAAE;;YAG1B,MAAM,IAAI,KAAK,CAAC,CAAkB,eAAA,EAAA,GAAG,CAAK,EAAA,EAAA,QAAQ,CAAC,UAAU,CAAG,CAAA,CAAA,CAAC;AACrE,SAAC,CAAC,EACF,WAAW,CAAC,EAAC,UAAU,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAC,CAAC,CAChD;QAED,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC;AAE1B,QAAA,OAAO,KAAK;;+GAvBP,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAvB,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,uBAAuB,cAFpB,MAAM,EAAA,CAAA,CAAA;;4FAET,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAHnC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,UAAU,EAAE,MAAM;AACrB,iBAAA;;;ACTD;;AAEG;;;;"}