@taiga-ui/legacy 4.0.0-rc.1

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 (632) hide show
  1. package/LICENSE +190 -0
  2. package/README.md +22 -0
  3. package/classes/abstract-native-select.d.ts +17 -0
  4. package/classes/abstract-textfield-host.d.ts +19 -0
  5. package/classes/control.d.ts +58 -0
  6. package/classes/index.d.ts +8 -0
  7. package/classes/interactive.d.ts +35 -0
  8. package/classes/multiple-control.d.ts +8 -0
  9. package/classes/named-day.d.ts +8 -0
  10. package/classes/nullable-control.d.ts +7 -0
  11. package/classes/stringifiable-item.d.ts +10 -0
  12. package/components/arrow/arrow.component.d.ts +16 -0
  13. package/components/arrow/arrow.options.d.ts +13 -0
  14. package/components/arrow/arrow.providers.d.ts +14 -0
  15. package/components/arrow/index.d.ts +3 -0
  16. package/components/combo-box/combo-box-strict.directive.d.ts +8 -0
  17. package/components/combo-box/combo-box.component.d.ts +47 -0
  18. package/components/combo-box/combo-box.directive.d.ts +9 -0
  19. package/components/combo-box/combo-box.module.d.ts +16 -0
  20. package/components/combo-box/index.d.ts +4 -0
  21. package/components/index.d.ts +31 -0
  22. package/components/input/index.d.ts +3 -0
  23. package/components/input/input.component.d.ts +27 -0
  24. package/components/input/input.directive.d.ts +8 -0
  25. package/components/input/input.module.d.ts +11 -0
  26. package/components/input-copy/index.d.ts +4 -0
  27. package/components/input-copy/input-copy.component.d.ts +30 -0
  28. package/components/input-copy/input-copy.directive.d.ts +8 -0
  29. package/components/input-copy/input-copy.module.d.ts +15 -0
  30. package/components/input-copy/input-copy.options.d.ts +14 -0
  31. package/components/input-date/index.d.ts +3 -0
  32. package/components/input-date/input-date.component.d.ts +61 -0
  33. package/components/input-date/input-date.directive.d.ts +15 -0
  34. package/components/input-date/input-date.module.d.ts +20 -0
  35. package/components/input-date/native-date/native-date.component.d.ts +11 -0
  36. package/components/input-date-multi/index.d.ts +2 -0
  37. package/components/input-date-multi/input-date-multi.component.d.ts +66 -0
  38. package/components/input-date-multi/input-date-multi.module.d.ts +20 -0
  39. package/components/input-date-range/index.d.ts +3 -0
  40. package/components/input-date-range/input-date-range.component.d.ts +63 -0
  41. package/components/input-date-range/input-date-range.directive.d.ts +12 -0
  42. package/components/input-date-range/input-date-range.module.d.ts +18 -0
  43. package/components/input-date-time/index.d.ts +3 -0
  44. package/components/input-date-time/input-date-time.component.d.ts +77 -0
  45. package/components/input-date-time/input-date-time.directive.d.ts +13 -0
  46. package/components/input-date-time/input-date-time.module.d.ts +19 -0
  47. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +9 -0
  48. package/components/input-month/index.d.ts +3 -0
  49. package/components/input-month/input-month.component.d.ts +41 -0
  50. package/components/input-month/input-month.directive.d.ts +15 -0
  51. package/components/input-month/input-month.module.d.ts +15 -0
  52. package/components/input-month-range/index.d.ts +3 -0
  53. package/components/input-month-range/input-month-range.component.d.ts +35 -0
  54. package/components/input-month-range/input-month-range.directive.d.ts +15 -0
  55. package/components/input-month-range/input-month-range.module.d.ts +14 -0
  56. package/components/input-number/index.d.ts +4 -0
  57. package/components/input-number/input-number.component.d.ts +56 -0
  58. package/components/input-number/input-number.directive.d.ts +12 -0
  59. package/components/input-number/input-number.module.d.ts +14 -0
  60. package/components/input-number/input-number.options.d.ts +17 -0
  61. package/components/input-password/index.d.ts +4 -0
  62. package/components/input-password/input-password.component.d.ts +30 -0
  63. package/components/input-password/input-password.directive.d.ts +12 -0
  64. package/components/input-password/input-password.module.d.ts +16 -0
  65. package/components/input-password/input-password.options.d.ts +13 -0
  66. package/components/input-phone/index.d.ts +4 -0
  67. package/components/input-phone/input-phone.component.d.ts +48 -0
  68. package/components/input-phone/input-phone.directive.d.ts +13 -0
  69. package/components/input-phone/input-phone.module.d.ts +12 -0
  70. package/components/input-phone/input-phone.options.d.ts +12 -0
  71. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +9 -0
  72. package/components/input-phone/utils/create-phone-mask-expression.d.ts +7 -0
  73. package/components/input-phone/utils/index.d.ts +2 -0
  74. package/components/input-phone-international/index.d.ts +3 -0
  75. package/components/input-phone-international/input-phone-international.component.d.ts +38 -0
  76. package/components/input-phone-international/input-phone-international.options.d.ts +12 -0
  77. package/components/input-phone-international/utils/extract-value-from-event.d.ts +1 -0
  78. package/components/input-range/index.d.ts +2 -0
  79. package/components/input-range/input-range.component.d.ts +52 -0
  80. package/components/input-range/input-range.module.d.ts +15 -0
  81. package/components/input-slider/index.d.ts +2 -0
  82. package/components/input-slider/input-slider.component.d.ts +38 -0
  83. package/components/input-slider/input-slider.module.d.ts +14 -0
  84. package/components/input-tag/index.d.ts +3 -0
  85. package/components/input-tag/input-tag.component.d.ts +94 -0
  86. package/components/input-tag/input-tag.module.d.ts +18 -0
  87. package/components/input-tag/input-tag.options.d.ts +13 -0
  88. package/components/input-time/index.d.ts +4 -0
  89. package/components/input-time/input-time.component.d.ts +60 -0
  90. package/components/input-time/input-time.directive.d.ts +13 -0
  91. package/components/input-time/input-time.module.d.ts +19 -0
  92. package/components/input-time/input-time.options.d.ts +20 -0
  93. package/components/input-time/native-time/native-time.component.d.ts +12 -0
  94. package/components/input-year/index.d.ts +3 -0
  95. package/components/input-year/input-year.component.d.ts +32 -0
  96. package/components/input-year/input-year.directive.d.ts +10 -0
  97. package/components/input-year/input-year.module.d.ts +14 -0
  98. package/components/island/index.d.ts +1 -0
  99. package/components/island/island.directive.d.ts +16 -0
  100. package/components/multi-select/hide-selected.pipe.d.ts +11 -0
  101. package/components/multi-select/index.d.ts +10 -0
  102. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +23 -0
  103. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +8 -0
  104. package/components/multi-select/multi-select.component.d.ts +65 -0
  105. package/components/multi-select/multi-select.directive.d.ts +14 -0
  106. package/components/multi-select/multi-select.module.d.ts +27 -0
  107. package/components/multi-select/multi-select.options.d.ts +13 -0
  108. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +9 -0
  109. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +8 -0
  110. package/components/multi-select/native-multi-select/native-multi-select.d.ts +11 -0
  111. package/components/multi-select-option/index.d.ts +2 -0
  112. package/components/multi-select-option/multi-select-option.component.d.ts +9 -0
  113. package/components/multi-select-option/multi-select-option.module.d.ts +9 -0
  114. package/components/primitive-textfield/index.d.ts +7 -0
  115. package/components/primitive-textfield/primitive-textfield-options.d.ts +22 -0
  116. package/components/primitive-textfield/primitive-textfield-types.d.ts +11 -0
  117. package/components/primitive-textfield/primitive-textfield.component.d.ts +68 -0
  118. package/components/primitive-textfield/primitive-textfield.directive.d.ts +10 -0
  119. package/components/primitive-textfield/primitive-textfield.module.d.ts +17 -0
  120. package/components/primitive-textfield/textfield/textfield.component.d.ts +13 -0
  121. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +22 -0
  122. package/components/select/index.d.ts +6 -0
  123. package/components/select/native-select/native-select-group.component.d.ts +13 -0
  124. package/components/select/native-select/native-select.component.d.ts +12 -0
  125. package/components/select/select.component.d.ts +40 -0
  126. package/components/select/select.directive.d.ts +12 -0
  127. package/components/select/select.module.d.ts +20 -0
  128. package/components/select/select.options.d.ts +12 -0
  129. package/components/select-option/index.d.ts +2 -0
  130. package/components/select-option/select-option.component.d.ts +27 -0
  131. package/components/select-option/select-option.module.d.ts +10 -0
  132. package/components/sheet/components/sheet/sheet.component.d.ts +31 -0
  133. package/components/sheet/components/sheet/sheet.providers.d.ts +2 -0
  134. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +10 -0
  135. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +14 -0
  136. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +15 -0
  137. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +14 -0
  138. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +6 -0
  139. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +14 -0
  140. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +17 -0
  141. package/components/sheet/index.d.ts +14 -0
  142. package/components/sheet/sheet-options.d.ts +24 -0
  143. package/components/sheet/sheet-tokens.d.ts +15 -0
  144. package/components/sheet/sheet.d.ts +19 -0
  145. package/components/sheet/sheet.directive.d.ts +16 -0
  146. package/components/sheet/sheet.module.d.ts +23 -0
  147. package/components/sheet/sheet.service.d.ts +16 -0
  148. package/components/svg/content-processor.d.ts +16 -0
  149. package/components/svg/deprecated-icons.d.ts +1 -0
  150. package/components/svg/index.d.ts +5 -0
  151. package/components/svg/svg-options.d.ts +22 -0
  152. package/components/svg/svg.component.d.ts +43 -0
  153. package/components/svg/svg.service.d.ts +21 -0
  154. package/components/table-bar/index.d.ts +5 -0
  155. package/components/table-bar/table-bar.component.d.ts +13 -0
  156. package/components/table-bar/table-bar.directive.d.ts +7 -0
  157. package/components/table-bar/table-bar.options.d.ts +14 -0
  158. package/components/table-bar/table-bars-host.component.d.ts +6 -0
  159. package/components/table-bar/table-bars.service.d.ts +10 -0
  160. package/components/tag/index.d.ts +3 -0
  161. package/components/tag/tag.component.d.ts +40 -0
  162. package/components/tag/tag.module.d.ts +12 -0
  163. package/components/tag/tag.options.d.ts +15 -0
  164. package/components/textarea/index.d.ts +3 -0
  165. package/components/textarea/textarea.component.d.ts +50 -0
  166. package/components/textarea/textarea.directive.d.ts +8 -0
  167. package/components/textarea/textarea.module.d.ts +17 -0
  168. package/components/tooltip/index.d.ts +2 -0
  169. package/components/tooltip/tooltip.component.d.ts +12 -0
  170. package/components/tooltip/tooltip.module.d.ts +12 -0
  171. package/directives/index.d.ts +5 -0
  172. package/directives/legacy-dropdown-open-monitor/index.d.ts +1 -0
  173. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +9 -0
  174. package/directives/textfield-controller/index.d.ts +14 -0
  175. package/directives/textfield-controller/textfield-appearance.directive.d.ts +8 -0
  176. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +8 -0
  177. package/directives/textfield-controller/textfield-controller.module.d.ts +17 -0
  178. package/directives/textfield-controller/textfield-controller.provider.d.ts +5 -0
  179. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +9 -0
  180. package/directives/textfield-controller/textfield-filler.directive.d.ts +8 -0
  181. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +11 -0
  182. package/directives/textfield-controller/textfield-icon.directive.d.ts +11 -0
  183. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +8 -0
  184. package/directives/textfield-controller/textfield-postfix.directive.d.ts +8 -0
  185. package/directives/textfield-controller/textfield-prefix.directive.d.ts +8 -0
  186. package/directives/textfield-controller/textfield-size.directive.d.ts +9 -0
  187. package/directives/textfield-controller/textfield.controller.d.ts +41 -0
  188. package/directives/textfield-controller/textfield.options.d.ts +15 -0
  189. package/directives/unfinished-validator/index.d.ts +2 -0
  190. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +8 -0
  191. package/directives/unfinished-validator/unfinished.validator.d.ts +4 -0
  192. package/directives/value-accessor/index.d.ts +3 -0
  193. package/directives/value-accessor/value-accessor.directive.d.ts +5 -0
  194. package/directives/value-accessor/value-accessor.module.d.ts +7 -0
  195. package/directives/value-accessor/value-accessor.provider.d.ts +2 -0
  196. package/directives/wrapper/README.md +19 -0
  197. package/directives/wrapper/index.d.ts +2 -0
  198. package/directives/wrapper/wrapper.directive.d.ts +21 -0
  199. package/directives/wrapper/wrapper.module.d.ts +10 -0
  200. package/esm2022/classes/abstract-native-select.mjs +37 -0
  201. package/esm2022/classes/abstract-textfield-host.mjs +37 -0
  202. package/esm2022/classes/control.mjs +175 -0
  203. package/esm2022/classes/index.mjs +9 -0
  204. package/esm2022/classes/interactive.mjs +85 -0
  205. package/esm2022/classes/multiple-control.mjs +18 -0
  206. package/esm2022/classes/named-day.mjs +11 -0
  207. package/esm2022/classes/nullable-control.mjs +15 -0
  208. package/esm2022/classes/stringifiable-item.mjs +13 -0
  209. package/esm2022/classes/taiga-ui-legacy-classes.mjs +5 -0
  210. package/esm2022/components/arrow/arrow.component.mjs +42 -0
  211. package/esm2022/components/arrow/arrow.options.mjs +14 -0
  212. package/esm2022/components/arrow/arrow.providers.mjs +14 -0
  213. package/esm2022/components/arrow/index.mjs +4 -0
  214. package/esm2022/components/arrow/taiga-ui-legacy-components-arrow.mjs +5 -0
  215. package/esm2022/components/combo-box/combo-box-strict.directive.mjs +29 -0
  216. package/esm2022/components/combo-box/combo-box.component.mjs +176 -0
  217. package/esm2022/components/combo-box/combo-box.directive.mjs +23 -0
  218. package/esm2022/components/combo-box/combo-box.module.mjs +67 -0
  219. package/esm2022/components/combo-box/index.mjs +5 -0
  220. package/esm2022/components/combo-box/taiga-ui-legacy-components-combo-box.mjs +5 -0
  221. package/esm2022/components/index.mjs +32 -0
  222. package/esm2022/components/input/index.mjs +4 -0
  223. package/esm2022/components/input/input.component.mjs +89 -0
  224. package/esm2022/components/input/input.directive.mjs +20 -0
  225. package/esm2022/components/input/input.module.mjs +30 -0
  226. package/esm2022/components/input/taiga-ui-legacy-components-input.mjs +5 -0
  227. package/esm2022/components/input-copy/index.mjs +5 -0
  228. package/esm2022/components/input-copy/input-copy.component.mjs +103 -0
  229. package/esm2022/components/input-copy/input-copy.directive.mjs +20 -0
  230. package/esm2022/components/input-copy/input-copy.module.mjs +52 -0
  231. package/esm2022/components/input-copy/input-copy.options.mjs +12 -0
  232. package/esm2022/components/input-copy/taiga-ui-legacy-components-input-copy.mjs +5 -0
  233. package/esm2022/components/input-date/index.mjs +4 -0
  234. package/esm2022/components/input-date/input-date.component.mjs +217 -0
  235. package/esm2022/components/input-date/input-date.directive.mjs +38 -0
  236. package/esm2022/components/input-date/input-date.module.mjs +71 -0
  237. package/esm2022/components/input-date/native-date/native-date.component.mjs +48 -0
  238. package/esm2022/components/input-date/taiga-ui-legacy-components-input-date.mjs +5 -0
  239. package/esm2022/components/input-date-multi/index.mjs +3 -0
  240. package/esm2022/components/input-date-multi/input-date-multi.component.mjs +212 -0
  241. package/esm2022/components/input-date-multi/input-date-multi.module.mjs +67 -0
  242. package/esm2022/components/input-date-multi/taiga-ui-legacy-components-input-date-multi.mjs +5 -0
  243. package/esm2022/components/input-date-range/index.mjs +4 -0
  244. package/esm2022/components/input-date-range/input-date-range.component.mjs +243 -0
  245. package/esm2022/components/input-date-range/input-date-range.directive.mjs +31 -0
  246. package/esm2022/components/input-date-range/input-date-range.module.mjs +67 -0
  247. package/esm2022/components/input-date-range/taiga-ui-legacy-components-input-date-range.mjs +5 -0
  248. package/esm2022/components/input-date-time/index.mjs +4 -0
  249. package/esm2022/components/input-date-time/input-date-time.component.mjs +302 -0
  250. package/esm2022/components/input-date-time/input-date-time.directive.mjs +32 -0
  251. package/esm2022/components/input-date-time/input-date-time.module.mjs +74 -0
  252. package/esm2022/components/input-date-time/native-date-time/native-date-time.directive.mjs +44 -0
  253. package/esm2022/components/input-date-time/taiga-ui-legacy-components-input-date-time.mjs +5 -0
  254. package/esm2022/components/input-month/index.mjs +4 -0
  255. package/esm2022/components/input-month/input-month.component.mjs +132 -0
  256. package/esm2022/components/input-month/input-month.directive.mjs +41 -0
  257. package/esm2022/components/input-month/input-month.module.mjs +53 -0
  258. package/esm2022/components/input-month/taiga-ui-legacy-components-input-month.mjs +5 -0
  259. package/esm2022/components/input-month-range/index.mjs +4 -0
  260. package/esm2022/components/input-month-range/input-month-range.component.mjs +120 -0
  261. package/esm2022/components/input-month-range/input-month-range.directive.mjs +47 -0
  262. package/esm2022/components/input-month-range/input-month-range.module.mjs +49 -0
  263. package/esm2022/components/input-month-range/taiga-ui-legacy-components-input-month-range.mjs +5 -0
  264. package/esm2022/components/input-number/index.mjs +5 -0
  265. package/esm2022/components/input-number/input-number.component.mjs +257 -0
  266. package/esm2022/components/input-number/input-number.directive.mjs +33 -0
  267. package/esm2022/components/input-number/input-number.module.mjs +44 -0
  268. package/esm2022/components/input-number/input-number.options.mjs +19 -0
  269. package/esm2022/components/input-number/taiga-ui-legacy-components-input-number.mjs +5 -0
  270. package/esm2022/components/input-password/index.mjs +5 -0
  271. package/esm2022/components/input-password/input-password.component.mjs +78 -0
  272. package/esm2022/components/input-password/input-password.directive.mjs +30 -0
  273. package/esm2022/components/input-password/input-password.module.mjs +56 -0
  274. package/esm2022/components/input-password/input-password.options.mjs +12 -0
  275. package/esm2022/components/input-password/taiga-ui-legacy-components-input-password.mjs +5 -0
  276. package/esm2022/components/input-phone/index.mjs +5 -0
  277. package/esm2022/components/input-phone/input-phone.component.mjs +217 -0
  278. package/esm2022/components/input-phone/input-phone.directive.mjs +33 -0
  279. package/esm2022/components/input-phone/input-phone.module.mjs +44 -0
  280. package/esm2022/components/input-phone/input-phone.options.mjs +14 -0
  281. package/esm2022/components/input-phone/taiga-ui-legacy-components-input-phone.mjs +5 -0
  282. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +41 -0
  283. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +17 -0
  284. package/esm2022/components/input-phone/utils/index.mjs +3 -0
  285. package/esm2022/components/input-phone-international/index.mjs +4 -0
  286. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +181 -0
  287. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +13 -0
  288. package/esm2022/components/input-phone-international/taiga-ui-legacy-components-input-phone-international.mjs +5 -0
  289. package/esm2022/components/input-phone-international/utils/extract-value-from-event.mjs +7 -0
  290. package/esm2022/components/input-range/index.mjs +3 -0
  291. package/esm2022/components/input-range/input-range.component.mjs +203 -0
  292. package/esm2022/components/input-range/input-range.module.mjs +51 -0
  293. package/esm2022/components/input-range/taiga-ui-legacy-components-input-range.mjs +5 -0
  294. package/esm2022/components/input-slider/index.mjs +3 -0
  295. package/esm2022/components/input-slider/input-slider.component.mjs +150 -0
  296. package/esm2022/components/input-slider/input-slider.module.mjs +44 -0
  297. package/esm2022/components/input-slider/taiga-ui-legacy-components-input-slider.mjs +5 -0
  298. package/esm2022/components/input-tag/index.mjs +4 -0
  299. package/esm2022/components/input-tag/input-tag.component.mjs +415 -0
  300. package/esm2022/components/input-tag/input-tag.module.mjs +63 -0
  301. package/esm2022/components/input-tag/input-tag.options.mjs +14 -0
  302. package/esm2022/components/input-tag/taiga-ui-legacy-components-input-tag.mjs +5 -0
  303. package/esm2022/components/input-time/index.mjs +5 -0
  304. package/esm2022/components/input-time/input-time.component.mjs +275 -0
  305. package/esm2022/components/input-time/input-time.directive.mjs +35 -0
  306. package/esm2022/components/input-time/input-time.module.mjs +67 -0
  307. package/esm2022/components/input-time/input-time.options.mjs +22 -0
  308. package/esm2022/components/input-time/native-time/native-time.component.mjs +67 -0
  309. package/esm2022/components/input-time/taiga-ui-legacy-components-input-time.mjs +5 -0
  310. package/esm2022/components/input-year/index.mjs +4 -0
  311. package/esm2022/components/input-year/input-year.component.mjs +107 -0
  312. package/esm2022/components/input-year/input-year.directive.mjs +27 -0
  313. package/esm2022/components/input-year/input-year.module.mjs +49 -0
  314. package/esm2022/components/input-year/taiga-ui-legacy-components-input-year.mjs +5 -0
  315. package/esm2022/components/island/index.mjs +2 -0
  316. package/esm2022/components/island/island.directive.mjs +74 -0
  317. package/esm2022/components/island/taiga-ui-legacy-components-island.mjs +5 -0
  318. package/esm2022/components/multi-select/hide-selected.pipe.mjs +43 -0
  319. package/esm2022/components/multi-select/index.mjs +11 -0
  320. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +99 -0
  321. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +65 -0
  322. package/esm2022/components/multi-select/multi-select.component.mjs +204 -0
  323. package/esm2022/components/multi-select/multi-select.directive.mjs +31 -0
  324. package/esm2022/components/multi-select/multi-select.module.mjs +111 -0
  325. package/esm2022/components/multi-select/multi-select.options.mjs +13 -0
  326. package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +60 -0
  327. package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +56 -0
  328. package/esm2022/components/multi-select/native-multi-select/native-multi-select.mjs +19 -0
  329. package/esm2022/components/multi-select/taiga-ui-legacy-components-multi-select.mjs +5 -0
  330. package/esm2022/components/multi-select-option/index.mjs +3 -0
  331. package/esm2022/components/multi-select-option/multi-select-option.component.mjs +25 -0
  332. package/esm2022/components/multi-select-option/multi-select-option.module.mjs +20 -0
  333. package/esm2022/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.mjs +5 -0
  334. package/esm2022/components/primitive-textfield/index.mjs +8 -0
  335. package/esm2022/components/primitive-textfield/primitive-textfield-options.mjs +17 -0
  336. package/esm2022/components/primitive-textfield/primitive-textfield-types.mjs +2 -0
  337. package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +247 -0
  338. package/esm2022/components/primitive-textfield/primitive-textfield.directive.mjs +28 -0
  339. package/esm2022/components/primitive-textfield/primitive-textfield.module.mjs +62 -0
  340. package/esm2022/components/primitive-textfield/taiga-ui-legacy-components-primitive-textfield.mjs +5 -0
  341. package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +39 -0
  342. package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +71 -0
  343. package/esm2022/components/select/index.mjs +7 -0
  344. package/esm2022/components/select/native-select/native-select-group.component.mjs +60 -0
  345. package/esm2022/components/select/native-select/native-select.component.mjs +56 -0
  346. package/esm2022/components/select/select.component.mjs +116 -0
  347. package/esm2022/components/select/select.directive.mjs +29 -0
  348. package/esm2022/components/select/select.module.mjs +83 -0
  349. package/esm2022/components/select/select.options.mjs +12 -0
  350. package/esm2022/components/select/taiga-ui-legacy-components-select.mjs +5 -0
  351. package/esm2022/components/select-option/index.mjs +3 -0
  352. package/esm2022/components/select-option/select-option.component.mjs +65 -0
  353. package/esm2022/components/select-option/select-option.module.mjs +21 -0
  354. package/esm2022/components/select-option/taiga-ui-legacy-components-select-option.mjs +5 -0
  355. package/esm2022/components/sheet/components/sheet/sheet.component.mjs +118 -0
  356. package/esm2022/components/sheet/components/sheet/sheet.providers.mjs +42 -0
  357. package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +27 -0
  358. package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +31 -0
  359. package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +46 -0
  360. package/esm2022/components/sheet/directives/sheet-close/sheet-close.directive.mjs +38 -0
  361. package/esm2022/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +37 -0
  362. package/esm2022/components/sheet/directives/sheet-top/sheet-top.directive.mjs +51 -0
  363. package/esm2022/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs +76 -0
  364. package/esm2022/components/sheet/index.mjs +15 -0
  365. package/esm2022/components/sheet/sheet-options.mjs +21 -0
  366. package/esm2022/components/sheet/sheet-tokens.mjs +14 -0
  367. package/esm2022/components/sheet/sheet.directive.mjs +38 -0
  368. package/esm2022/components/sheet/sheet.mjs +2 -0
  369. package/esm2022/components/sheet/sheet.module.mjs +74 -0
  370. package/esm2022/components/sheet/sheet.service.mjs +51 -0
  371. package/esm2022/components/sheet/taiga-ui-legacy-components-sheet.mjs +5 -0
  372. package/esm2022/components/svg/content-processor.mjs +38 -0
  373. package/esm2022/components/svg/deprecated-icons.mjs +59 -0
  374. package/esm2022/components/svg/index.mjs +6 -0
  375. package/esm2022/components/svg/svg-options.mjs +60 -0
  376. package/esm2022/components/svg/svg.component.mjs +147 -0
  377. package/esm2022/components/svg/svg.service.mjs +64 -0
  378. package/esm2022/components/svg/taiga-ui-legacy-components-svg.mjs +5 -0
  379. package/esm2022/components/table-bar/index.mjs +6 -0
  380. package/esm2022/components/table-bar/table-bar.component.mjs +33 -0
  381. package/esm2022/components/table-bar/table-bar.directive.mjs +21 -0
  382. package/esm2022/components/table-bar/table-bar.options.mjs +16 -0
  383. package/esm2022/components/table-bar/table-bars-host.component.mjs +35 -0
  384. package/esm2022/components/table-bar/table-bars.service.mjs +21 -0
  385. package/esm2022/components/table-bar/taiga-ui-legacy-components-table-bar.mjs +5 -0
  386. package/esm2022/components/tag/index.mjs +4 -0
  387. package/esm2022/components/tag/tag.component.mjs +171 -0
  388. package/esm2022/components/tag/tag.module.mjs +38 -0
  389. package/esm2022/components/tag/tag.options.mjs +15 -0
  390. package/esm2022/components/tag/taiga-ui-legacy-components-tag.mjs +5 -0
  391. package/esm2022/components/taiga-ui-legacy-components.mjs +5 -0
  392. package/esm2022/components/textarea/index.mjs +4 -0
  393. package/esm2022/components/textarea/taiga-ui-legacy-components-textarea.mjs +5 -0
  394. package/esm2022/components/textarea/textarea.component.mjs +189 -0
  395. package/esm2022/components/textarea/textarea.directive.mjs +20 -0
  396. package/esm2022/components/textarea/textarea.module.mjs +64 -0
  397. package/esm2022/components/tooltip/index.mjs +3 -0
  398. package/esm2022/components/tooltip/taiga-ui-legacy-components-tooltip.mjs +5 -0
  399. package/esm2022/components/tooltip/tooltip.component.mjs +47 -0
  400. package/esm2022/components/tooltip/tooltip.module.mjs +24 -0
  401. package/esm2022/directives/index.mjs +6 -0
  402. package/esm2022/directives/legacy-dropdown-open-monitor/index.mjs +2 -0
  403. package/esm2022/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.mjs +40 -0
  404. package/esm2022/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +5 -0
  405. package/esm2022/directives/taiga-ui-legacy-directives.mjs +5 -0
  406. package/esm2022/directives/textfield-controller/index.mjs +15 -0
  407. package/esm2022/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.mjs +5 -0
  408. package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +32 -0
  409. package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +25 -0
  410. package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +72 -0
  411. package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +44 -0
  412. package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +25 -0
  413. package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +25 -0
  414. package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +21 -0
  415. package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +21 -0
  416. package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +29 -0
  417. package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +25 -0
  418. package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +25 -0
  419. package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +25 -0
  420. package/esm2022/directives/textfield-controller/textfield.controller.mjs +48 -0
  421. package/esm2022/directives/textfield-controller/textfield.options.mjs +14 -0
  422. package/esm2022/directives/unfinished-validator/index.mjs +3 -0
  423. package/esm2022/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.mjs +5 -0
  424. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +25 -0
  425. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +15 -0
  426. package/esm2022/directives/value-accessor/index.mjs +4 -0
  427. package/esm2022/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.mjs +5 -0
  428. package/esm2022/directives/value-accessor/value-accessor.directive.mjs +16 -0
  429. package/esm2022/directives/value-accessor/value-accessor.module.mjs +17 -0
  430. package/esm2022/directives/value-accessor/value-accessor.provider.mjs +10 -0
  431. package/esm2022/directives/wrapper/index.mjs +3 -0
  432. package/esm2022/directives/wrapper/taiga-ui-legacy-directives-wrapper.mjs +5 -0
  433. package/esm2022/directives/wrapper/wrapper.directive.mjs +85 -0
  434. package/esm2022/directives/wrapper/wrapper.module.mjs +20 -0
  435. package/esm2022/index.mjs +7 -0
  436. package/esm2022/pipes/format-phone/format-phone.pipe.mjs +50 -0
  437. package/esm2022/pipes/format-phone/index.mjs +2 -0
  438. package/esm2022/pipes/format-phone/taiga-ui-legacy-pipes-format-phone.mjs +5 -0
  439. package/esm2022/pipes/index.mjs +4 -0
  440. package/esm2022/pipes/iso-to-country-code/index.mjs +2 -0
  441. package/esm2022/pipes/iso-to-country-code/iso-to-country-code.pipe.mjs +43 -0
  442. package/esm2022/pipes/iso-to-country-code/taiga-ui-legacy-pipes-iso-to-country-code.mjs +5 -0
  443. package/esm2022/pipes/taiga-ui-legacy-pipes.mjs +5 -0
  444. package/esm2022/pipes/to-country-code/index.mjs +2 -0
  445. package/esm2022/pipes/to-country-code/taiga-ui-legacy-pipes-to-country-code.mjs +5 -0
  446. package/esm2022/pipes/to-country-code/to-country-code.pipe.mjs +73 -0
  447. package/esm2022/taiga-ui-legacy.mjs +5 -0
  448. package/esm2022/tokens/countries-masks.mjs +254 -0
  449. package/esm2022/tokens/focusable-item-accessor.mjs +14 -0
  450. package/esm2022/tokens/fonts-ready.mjs +7 -0
  451. package/esm2022/tokens/icons.mjs +7 -0
  452. package/esm2022/tokens/index.mjs +15 -0
  453. package/esm2022/tokens/is-apple.mjs +9 -0
  454. package/esm2022/tokens/is-chromium.mjs +8 -0
  455. package/esm2022/tokens/is-firefox.mjs +9 -0
  456. package/esm2022/tokens/is-stackblitz.mjs +5 -0
  457. package/esm2022/tokens/month-formatter.mjs +17 -0
  458. package/esm2022/tokens/sanitizer.mjs +6 -0
  459. package/esm2022/tokens/taiga-ui-legacy-tokens.mjs +5 -0
  460. package/esm2022/tokens/textfield-appearance.mjs +7 -0
  461. package/esm2022/tokens/textfield-host.mjs +10 -0
  462. package/esm2022/tokens/touch-supported.mjs +5 -0
  463. package/esm2022/tokens/value-accessor.mjs +7 -0
  464. package/esm2022/utils/date-mode-maskito-adapter.mjs +6 -0
  465. package/esm2022/utils/format-phone.mjs +59 -0
  466. package/esm2022/utils/get-border.mjs +20 -0
  467. package/esm2022/utils/get-max-allowed-phone-length.mjs +25 -0
  468. package/esm2022/utils/get-safe-area-size.mjs +17 -0
  469. package/esm2022/utils/icons-path-factory.mjs +14 -0
  470. package/esm2022/utils/index.mjs +14 -0
  471. package/esm2022/utils/is-apple.mjs +6 -0
  472. package/esm2022/utils/is-presumed-html-string.mjs +6 -0
  473. package/esm2022/utils/iso-to-country-code.mjs +15 -0
  474. package/esm2022/utils/not-kz-region.mjs +23 -0
  475. package/esm2022/utils/process-icon.mjs +32 -0
  476. package/esm2022/utils/specific-dropdown-controllers.mjs +6 -0
  477. package/esm2022/utils/status.mjs +2 -0
  478. package/esm2022/utils/taiga-ui-legacy-utils.mjs +5 -0
  479. package/fesm2022/taiga-ui-legacy-classes.mjs +377 -0
  480. package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -0
  481. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +73 -0
  482. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -0
  483. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +280 -0
  484. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -0
  485. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +177 -0
  486. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +1 -0
  487. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +277 -0
  488. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +1 -0
  489. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +334 -0
  490. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -0
  491. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +438 -0
  492. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -0
  493. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +358 -0
  494. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +1 -0
  495. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +209 -0
  496. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -0
  497. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +219 -0
  498. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +1 -0
  499. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +344 -0
  500. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -0
  501. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +167 -0
  502. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +1 -0
  503. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +204 -0
  504. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +1 -0
  505. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +355 -0
  506. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +1 -0
  507. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +253 -0
  508. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -0
  509. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +192 -0
  510. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -0
  511. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +488 -0
  512. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -0
  513. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +447 -0
  514. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +1 -0
  515. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +176 -0
  516. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +1 -0
  517. package/fesm2022/taiga-ui-legacy-components-input.mjs +132 -0
  518. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -0
  519. package/fesm2022/taiga-ui-legacy-components-island.mjs +80 -0
  520. package/fesm2022/taiga-ui-legacy-components-island.mjs.map +1 -0
  521. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +47 -0
  522. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -0
  523. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +628 -0
  524. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -0
  525. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +443 -0
  526. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -0
  527. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +88 -0
  528. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -0
  529. package/fesm2022/taiga-ui-legacy-components-select.mjs +323 -0
  530. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -0
  531. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +561 -0
  532. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +1 -0
  533. package/fesm2022/taiga-ui-legacy-components-svg.mjs +356 -0
  534. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +1 -0
  535. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +115 -0
  536. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +1 -0
  537. package/fesm2022/taiga-ui-legacy-components-tag.mjs +225 -0
  538. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -0
  539. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +267 -0
  540. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -0
  541. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +71 -0
  542. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -0
  543. package/fesm2022/taiga-ui-legacy-components.mjs +36 -0
  544. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -0
  545. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +46 -0
  546. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -0
  547. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +365 -0
  548. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -0
  549. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +44 -0
  550. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -0
  551. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +43 -0
  552. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +1 -0
  553. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +107 -0
  554. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +1 -0
  555. package/fesm2022/taiga-ui-legacy-directives.mjs +10 -0
  556. package/fesm2022/taiga-ui-legacy-directives.mjs.map +1 -0
  557. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +56 -0
  558. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +1 -0
  559. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +49 -0
  560. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +1 -0
  561. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +79 -0
  562. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +1 -0
  563. package/fesm2022/taiga-ui-legacy-pipes.mjs +8 -0
  564. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +1 -0
  565. package/fesm2022/taiga-ui-legacy-tokens.mjs +348 -0
  566. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -0
  567. package/fesm2022/taiga-ui-legacy-utils.mjs +235 -0
  568. package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -0
  569. package/fesm2022/taiga-ui-legacy.mjs +11 -0
  570. package/fesm2022/taiga-ui-legacy.mjs.map +1 -0
  571. package/index.d.ts +6 -0
  572. package/package.json +303 -0
  573. package/pipes/format-phone/format-phone.pipe.d.ts +34 -0
  574. package/pipes/format-phone/index.d.ts +1 -0
  575. package/pipes/index.d.ts +3 -0
  576. package/pipes/iso-to-country-code/index.d.ts +1 -0
  577. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +29 -0
  578. package/pipes/to-country-code/index.d.ts +1 -0
  579. package/pipes/to-country-code/to-country-code.pipe.d.ts +37 -0
  580. package/styles/mixins/mixins.less +252 -0
  581. package/styles/mixins/mixins.scss +230 -0
  582. package/styles/mixins/textfield.less +315 -0
  583. package/styles/mixins/textfield.scss +306 -0
  584. package/styles/mixins/wrapper.less +65 -0
  585. package/styles/mixins/wrapper.scss +59 -0
  586. package/styles/taiga-ui-local.less +4 -0
  587. package/styles/taiga-ui-local.scss +4 -0
  588. package/styles/taiga-ui-theme.less +15 -0
  589. package/styles/wrapper/accent.less +28 -0
  590. package/styles/wrapper/base.less +44 -0
  591. package/styles/wrapper/floating.less +19 -0
  592. package/styles/wrapper/glass.less +31 -0
  593. package/styles/wrapper/icon.less +53 -0
  594. package/styles/wrapper/mono.less +23 -0
  595. package/styles/wrapper/none.less +5 -0
  596. package/styles/wrapper/opposite.less +33 -0
  597. package/styles/wrapper/outline.less +52 -0
  598. package/styles/wrapper/primary.less +32 -0
  599. package/styles/wrapper/secondary-destructive.less +16 -0
  600. package/styles/wrapper/secondary.less +47 -0
  601. package/styles/wrapper/table.less +82 -0
  602. package/styles/wrapper/textfield.less +80 -0
  603. package/styles/wrapper/whiteblock.less +47 -0
  604. package/tokens/countries-masks.d.ts +7 -0
  605. package/tokens/focusable-item-accessor.d.ts +22 -0
  606. package/tokens/fonts-ready.d.ts +3 -0
  607. package/tokens/icons.d.ts +5 -0
  608. package/tokens/index.d.ts +14 -0
  609. package/tokens/is-apple.d.ts +4 -0
  610. package/tokens/is-chromium.d.ts +4 -0
  611. package/tokens/is-firefox.d.ts +4 -0
  612. package/tokens/is-stackblitz.d.ts +1 -0
  613. package/tokens/month-formatter.d.ts +10 -0
  614. package/tokens/sanitizer.d.ts +6 -0
  615. package/tokens/textfield-appearance.d.ts +5 -0
  616. package/tokens/textfield-host.d.ts +17 -0
  617. package/tokens/touch-supported.d.ts +1 -0
  618. package/tokens/value-accessor.d.ts +7 -0
  619. package/utils/date-mode-maskito-adapter.d.ts +3 -0
  620. package/utils/format-phone.d.ts +29 -0
  621. package/utils/get-border.d.ts +2 -0
  622. package/utils/get-max-allowed-phone-length.d.ts +23 -0
  623. package/utils/get-safe-area-size.d.ts +6 -0
  624. package/utils/icons-path-factory.d.ts +4 -0
  625. package/utils/index.d.ts +13 -0
  626. package/utils/is-apple.d.ts +1 -0
  627. package/utils/is-presumed-html-string.d.ts +1 -0
  628. package/utils/iso-to-country-code.d.ts +12 -0
  629. package/utils/not-kz-region.d.ts +19 -0
  630. package/utils/process-icon.d.ts +1 -0
  631. package/utils/specific-dropdown-controllers.d.ts +1 -0
  632. package/utils/status.d.ts +1 -0
@@ -0,0 +1,16 @@
1
+ import { Directive } from '@angular/core';
2
+ import { TUI_VALUE_ACCESSOR_PROVIDER } from './value-accessor.provider';
3
+ import * as i0 from "@angular/core";
4
+ class TuiValueAccessorDirective {
5
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiValueAccessorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
6
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiValueAccessorDirective, selector: "[tuiValueAccessor]", providers: [TUI_VALUE_ACCESSOR_PROVIDER], ngImport: i0 }); }
7
+ }
8
+ export { TuiValueAccessorDirective };
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiValueAccessorDirective, decorators: [{
10
+ type: Directive,
11
+ args: [{
12
+ selector: '[tuiValueAccessor]',
13
+ providers: [TUI_VALUE_ACCESSOR_PROVIDER],
14
+ }]
15
+ }] });
16
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWUtYWNjZXNzb3IuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2RpcmVjdGl2ZXMvdmFsdWUtYWNjZXNzb3IvdmFsdWUtYWNjZXNzb3IuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFeEMsT0FBTyxFQUFDLDJCQUEyQixFQUFDLE1BQU0sMkJBQTJCLENBQUM7O0FBRXRFLE1BSWEseUJBQXlCOytHQUF6Qix5QkFBeUI7bUdBQXpCLHlCQUF5Qiw2Q0FGdkIsQ0FBQywyQkFBMkIsQ0FBQzs7U0FFL0IseUJBQXlCOzRGQUF6Qix5QkFBeUI7a0JBSnJDLFNBQVM7bUJBQUM7b0JBQ1AsUUFBUSxFQUFFLG9CQUFvQjtvQkFDOUIsU0FBUyxFQUFFLENBQUMsMkJBQTJCLENBQUM7aUJBQzNDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtEaXJlY3RpdmV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQge1RVSV9WQUxVRV9BQ0NFU1NPUl9QUk9WSURFUn0gZnJvbSAnLi92YWx1ZS1hY2Nlc3Nvci5wcm92aWRlcic7XG5cbkBEaXJlY3RpdmUoe1xuICAgIHNlbGVjdG9yOiAnW3R1aVZhbHVlQWNjZXNzb3JdJyxcbiAgICBwcm92aWRlcnM6IFtUVUlfVkFMVUVfQUNDRVNTT1JfUFJPVklERVJdLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlWYWx1ZUFjY2Vzc29yRGlyZWN0aXZlIHt9XG4iXX0=
@@ -0,0 +1,17 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { TuiValueAccessorDirective } from './value-accessor.directive';
3
+ import * as i0 from "@angular/core";
4
+ class TuiValueAccessorModule {
5
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiValueAccessorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiValueAccessorModule, declarations: [TuiValueAccessorDirective], exports: [TuiValueAccessorDirective] }); }
7
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiValueAccessorModule }); }
8
+ }
9
+ export { TuiValueAccessorModule };
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiValueAccessorModule, decorators: [{
11
+ type: NgModule,
12
+ args: [{
13
+ declarations: [TuiValueAccessorDirective],
14
+ exports: [TuiValueAccessorDirective],
15
+ }]
16
+ }] });
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWUtYWNjZXNzb3IubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2RpcmVjdGl2ZXMvdmFsdWUtYWNjZXNzb3IvdmFsdWUtYWNjZXNzb3IubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFdkMsT0FBTyxFQUFDLHlCQUF5QixFQUFDLE1BQU0sNEJBQTRCLENBQUM7O0FBRXJFLE1BSWEsc0JBQXNCOytHQUF0QixzQkFBc0I7Z0hBQXRCLHNCQUFzQixpQkFIaEIseUJBQXlCLGFBQzlCLHlCQUF5QjtnSEFFMUIsc0JBQXNCOztTQUF0QixzQkFBc0I7NEZBQXRCLHNCQUFzQjtrQkFKbEMsUUFBUTttQkFBQztvQkFDTixZQUFZLEVBQUUsQ0FBQyx5QkFBeUIsQ0FBQztvQkFDekMsT0FBTyxFQUFFLENBQUMseUJBQXlCLENBQUM7aUJBQ3ZDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7VHVpVmFsdWVBY2Nlc3NvckRpcmVjdGl2ZX0gZnJvbSAnLi92YWx1ZS1hY2Nlc3Nvci5kaXJlY3RpdmUnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW1R1aVZhbHVlQWNjZXNzb3JEaXJlY3RpdmVdLFxuICAgIGV4cG9ydHM6IFtUdWlWYWx1ZUFjY2Vzc29yRGlyZWN0aXZlXSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpVmFsdWVBY2Nlc3Nvck1vZHVsZSB7fVxuIl19
@@ -0,0 +1,10 @@
1
+ import { Optional, Self } from '@angular/core';
2
+ import { NG_VALUE_ACCESSOR } from '@angular/forms';
3
+ import { TUI_VALUE_ACCESSOR } from '@taiga-ui/legacy/tokens';
4
+ import { identity } from 'rxjs';
5
+ export const TUI_VALUE_ACCESSOR_PROVIDER = {
6
+ provide: TUI_VALUE_ACCESSOR,
7
+ deps: [[new Optional(), new Self(), NG_VALUE_ACCESSOR]],
8
+ useFactory: identity,
9
+ };
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWUtYWNjZXNzb3IucHJvdmlkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvZGlyZWN0aXZlcy92YWx1ZS1hY2Nlc3Nvci92YWx1ZS1hY2Nlc3Nvci5wcm92aWRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUMsUUFBUSxFQUFFLElBQUksRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUM3QyxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUNqRCxPQUFPLEVBQUMsa0JBQWtCLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQztBQUMzRCxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sTUFBTSxDQUFDO0FBRTlCLE1BQU0sQ0FBQyxNQUFNLDJCQUEyQixHQUFvQjtJQUN4RCxPQUFPLEVBQUUsa0JBQWtCO0lBQzNCLElBQUksRUFBRSxDQUFDLENBQUMsSUFBSSxRQUFRLEVBQUUsRUFBRSxJQUFJLElBQUksRUFBRSxFQUFFLGlCQUFpQixDQUFDLENBQUM7SUFDdkQsVUFBVSxFQUFFLFFBQVE7Q0FDdkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHtGYWN0b3J5UHJvdmlkZXJ9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtPcHRpb25hbCwgU2VsZn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge05HX1ZBTFVFX0FDQ0VTU09SfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XG5pbXBvcnQge1RVSV9WQUxVRV9BQ0NFU1NPUn0gZnJvbSAnQHRhaWdhLXVpL2xlZ2FjeS90b2tlbnMnO1xuaW1wb3J0IHtpZGVudGl0eX0gZnJvbSAncnhqcyc7XG5cbmV4cG9ydCBjb25zdCBUVUlfVkFMVUVfQUNDRVNTT1JfUFJPVklERVI6IEZhY3RvcnlQcm92aWRlciA9IHtcbiAgICBwcm92aWRlOiBUVUlfVkFMVUVfQUNDRVNTT1IsXG4gICAgZGVwczogW1tuZXcgT3B0aW9uYWwoKSwgbmV3IFNlbGYoKSwgTkdfVkFMVUVfQUNDRVNTT1JdXSxcbiAgICB1c2VGYWN0b3J5OiBpZGVudGl0eSxcbn07XG4iXX0=
@@ -0,0 +1,3 @@
1
+ export * from './wrapper.directive';
2
+ export * from './wrapper.module';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvZGlyZWN0aXZlcy93cmFwcGVyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyxrQkFBa0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vd3JhcHBlci5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi93cmFwcGVyLm1vZHVsZSc7XG4iXX0=
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktbGVnYWN5LWRpcmVjdGl2ZXMtd3JhcHBlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xlZ2FjeS9kaXJlY3RpdmVzL3dyYXBwZXIvdGFpZ2EtdWktbGVnYWN5LWRpcmVjdGl2ZXMtd3JhcHBlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -0,0 +1,85 @@
1
+ import { Directive, HostBinding, Input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * @deprecated
5
+ */
6
+ class TuiWrapperDirective {
7
+ constructor() {
8
+ this.disabled = false;
9
+ this.readOnly = false;
10
+ this.hover = null;
11
+ this.active = null;
12
+ this.focus = false;
13
+ this.invalid = false;
14
+ this.appearance = '';
15
+ }
16
+ get computedInvalid() {
17
+ return !this.disabled && !this.readOnly && this.invalid;
18
+ }
19
+ get computedFocused() {
20
+ return this.focus && !this.disabled;
21
+ }
22
+ get interactiveState() {
23
+ if (this.disabled) {
24
+ return 'disabled';
25
+ }
26
+ if (this.readOnly) {
27
+ return 'readonly';
28
+ }
29
+ if (this.active) {
30
+ return 'active';
31
+ }
32
+ if (this.hover) {
33
+ return 'hover';
34
+ }
35
+ return null;
36
+ }
37
+ get noHover() {
38
+ return this.readOnly || this.hover === false;
39
+ }
40
+ get noActive() {
41
+ return this.readOnly || this.active === false;
42
+ }
43
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiWrapperDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
44
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiWrapperDirective, selector: "[tuiWrapper]", inputs: { disabled: "disabled", readOnly: "readOnly", hover: "hover", active: "active", focus: "focus", invalid: "invalid", appearance: "appearance" }, host: { properties: { "attr.data-appearance": "this.appearance", "class._invalid": "this.computedInvalid", "class._focused": "this.computedFocused", "attr.data-state": "this.interactiveState", "class._no-hover": "this.noHover", "class._no-active": "this.noActive" } }, ngImport: i0 }); }
45
+ }
46
+ export { TuiWrapperDirective };
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiWrapperDirective, decorators: [{
48
+ type: Directive,
49
+ args: [{
50
+ selector: '[tuiWrapper]',
51
+ }]
52
+ }], propDecorators: { disabled: [{
53
+ type: Input
54
+ }], readOnly: [{
55
+ type: Input
56
+ }], hover: [{
57
+ type: Input
58
+ }], active: [{
59
+ type: Input
60
+ }], focus: [{
61
+ type: Input
62
+ }], invalid: [{
63
+ type: Input
64
+ }], appearance: [{
65
+ type: Input
66
+ }, {
67
+ type: HostBinding,
68
+ args: ['attr.data-appearance']
69
+ }], computedInvalid: [{
70
+ type: HostBinding,
71
+ args: ['class._invalid']
72
+ }], computedFocused: [{
73
+ type: HostBinding,
74
+ args: ['class._focused']
75
+ }], interactiveState: [{
76
+ type: HostBinding,
77
+ args: ['attr.data-state']
78
+ }], noHover: [{
79
+ type: HostBinding,
80
+ args: ['class._no-hover']
81
+ }], noActive: [{
82
+ type: HostBinding,
83
+ args: ['class._no-active']
84
+ }] } });
85
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JhcHBlci5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvZGlyZWN0aXZlcy93cmFwcGVyL3dyYXBwZXIuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQzs7QUFHNUQ7O0dBRUc7QUFDSCxNQUdhLG1CQUFtQjtJQUhoQztRQUtXLGFBQVEsR0FBRyxLQUFLLENBQUM7UUFHakIsYUFBUSxHQUFHLEtBQUssQ0FBQztRQUdqQixVQUFLLEdBQW1CLElBQUksQ0FBQztRQUc3QixXQUFNLEdBQW1CLElBQUksQ0FBQztRQUc5QixVQUFLLEdBQUcsS0FBSyxDQUFDO1FBR2QsWUFBTyxHQUFHLEtBQUssQ0FBQztRQUloQixlQUFVLEdBQUcsRUFBRSxDQUFDO0tBMEMxQjtJQXhDRyxJQUNjLGVBQWU7UUFDekIsT0FBTyxDQUFDLElBQUksQ0FBQyxRQUFRLElBQUksQ0FBQyxJQUFJLENBQUMsUUFBUSxJQUFJLElBQUksQ0FBQyxPQUFPLENBQUM7SUFDNUQsQ0FBQztJQUVELElBQ2MsZUFBZTtRQUN6QixPQUFPLElBQUksQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDO0lBQ3hDLENBQUM7SUFFRCxJQUNjLGdCQUFnQjtRQUMxQixJQUFJLElBQUksQ0FBQyxRQUFRLEVBQUU7WUFDZixPQUFPLFVBQVUsQ0FBQztTQUNyQjtRQUVELElBQUksSUFBSSxDQUFDLFFBQVEsRUFBRTtZQ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gdGhpcy5yZWFkT25seSB8fCB0aGlzLmFjdGl2ZSA9PT0gZmFsc2U7XG4gICAgfVxufVxuIl19
@@ -0,0 +1,20 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { TuiWrapperDirective } from './wrapper.directive';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * @deprecated
6
+ */
7
+ class TuiWrapperModule {
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiWrapperModule, declarations: [TuiWrapperDirective], exports: [TuiWrapperDirective] }); }
10
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiWrapperModule }); }
11
+ }
12
+ export { TuiWrapperModule };
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiWrapperModule, decorators: [{
14
+ type: NgModule,
15
+ args: [{
16
+ declarations: [TuiWrapperDirective],
17
+ exports: [TuiWrapperDirective],
18
+ }]
19
+ }] });
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JhcHBlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvZGlyZWN0aXZlcy93cmFwcGVyL3dyYXBwZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFdkMsT0FBTyxFQUFDLG1CQUFtQixFQUFDLE1BQU0scUJBQXFCLENBQUM7O0FBRXhEOztHQUVHO0FBQ0gsTUFJYSxnQkFBZ0I7K0dBQWhCLGdCQUFnQjtnSEFBaEIsZ0JBQWdCLGlCQUhWLG1CQUFtQixhQUN4QixtQkFBbUI7Z0hBRXBCLGdCQUFnQjs7U0FBaEIsZ0JBQWdCOzRGQUFoQixnQkFBZ0I7a0JBSjVCLFFBQVE7bUJBQUM7b0JBQ04sWUFBWSxFQUFFLENBQUMsbUJBQW1CLENBQUM7b0JBQ25DLE9BQU8sRUFBRSxDQUFDLG1CQUFtQixDQUFDO2lCQUNqQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQge1R1aVdyYXBwZXJEaXJlY3RpdmV9IGZyb20gJy4vd3JhcHBlci5kaXJlY3RpdmUnO1xuXG4vKipcbiAqIEBkZXByZWNhdGVkXG4gKi9cbkBOZ01vZHVsZSh7XG4gICAgZGVjbGFyYXRpb25zOiBbVHVpV3JhcHBlckRpcmVjdGl2ZV0sXG4gICAgZXhwb3J0czogW1R1aVdyYXBwZXJEaXJlY3RpdmVdLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlXcmFwcGVyTW9kdWxlIHt9XG4iXX0=
@@ -0,0 +1,7 @@
1
+ export * from '@taiga-ui/legacy/classes';
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/tokens';
6
+ export * from '@taiga-ui/legacy/utils';
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLDZCQUE2QixDQUFDO0FBQzVDLGNBQWMsNkJBQTZCLENBQUM7QUFDNUMsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvbGVnYWN5L2NsYXNzZXMnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2xlZ2FjeS9jb21wb25lbnRzJztcbmV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9sZWdhY3kvZGlyZWN0aXZlcyc7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvbGVnYWN5L3BpcGVzJztcbmV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9sZWdhY3kvdG9rZW5zJztcbmV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9sZWdhY3kvdXRpbHMnO1xuIl19
@@ -0,0 +1,50 @@
1
+ /// <reference types="@taiga-ui/tsconfig/ng-dev-mode" />
2
+ import { Pipe } from '@angular/core';
3
+ import { CHAR_PLUS } from '@taiga-ui/cdk/constants';
4
+ import { tuiFormatPhone } from '@taiga-ui/legacy/utils';
5
+ import * as i0 from "@angular/core";
6
+ class TuiFormatPhonePipe {
7
+ /**
8
+ * Use {@link https://maskito.dev/frameworks/angular#pipe MaskitoPipe} instead!
9
+ * ```ts
10
+ * import {maskitoTransform} from '@maskito/core';
11
+ * import {maskitoPhoneOptionsGenerator} from '@maskito/phone';
12
+ * import metadata from 'libphonenumber-js/min/metadata';
13
+ *
14
+ * @Component({
15
+ * standalone: true,
16
+ * imports: [MaskitoPipe],
17
+ * template: `
18
+ * Phone: {{'12125552368' | maskito: options}}
19
+ * <!-- Phone: +1 (212) 555-2368 -->
20
+ * `,
21
+ * })
22
+ * export class YourComponent {
23
+ * options = maskitoPhoneOptionsGenerator({countryIsoCode: 'US', metadata});
24
+ * }
25
+ * ```
26
+ * ___
27
+ * @deprecated Use {@link https://maskito.dev/frameworks/angular#pipe MaskitoPipe} instead!
28
+ * Formats phone number string of +7XXXXXXXXXX format with adding separator symbols
29
+ * @param value
30
+ * @param countryCode
31
+ * @param phoneMask
32
+ * @return formatted phone number string +7(XXX)XXX-XX-XX
33
+ */
34
+ transform(value, countryCode = `${CHAR_PLUS}7`, phoneMask = '(###) ###-##-##') {
35
+ ngDevMode &&
36
+ console.assert(value !== undefined, 'Undefined was passed to tuiFormatPhone pipe');
37
+ return tuiFormatPhone(value, countryCode, phoneMask);
38
+ }
39
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFormatPhonePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
40
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiFormatPhonePipe, isStandalone: true, name: "tuiFormatPhone" }); }
41
+ }
42
+ export { TuiFormatPhonePipe };
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFormatPhonePipe, decorators: [{
44
+ type: Pipe,
45
+ args: [{
46
+ standalone: true,
47
+ name: 'tuiFormatPhone',
48
+ }]
49
+ }] });
50
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0LXBob25lLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvcGlwZXMvZm9ybWF0LXBob25lL2Zvcm1hdC1waG9uZS5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHdEQUF3RDtBQUV4RCxPQUFPLEVBQUMsSUFBSSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ25DLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQztBQUNsRCxPQUFPL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TWFza2l0b1BpcGV9IGluc3RlYWQhXG4gICAgICogRm9ybWF0cyBwaG9uZSBudW1iZXIgc3RyaW5nIG9mICs3WFhYWFhYWFhYWCBmb3JtYXQgd2l0aCBhZGRpbmcgc2VwYXJhdG9yIHN5bWJvbHNcbiAgICAgKiBAcGFyYW0gdmFsdWVcbiAgICAgKiBAcGFyYW0gY291bnRyeUNvZGVcbiAgICAgKiBAcGFyYW0gcGhvbmVNYXNrXG4gICAgICogQHJldHVybiBmb3JtYXR0ZWQgcGhvbmUgbnVtYmVyIHN0cmluZyArNyhYWFgpWFhYLVhYLVhYXG4gICAgICovXG4gICAgcHVibGljIHRyYW5zZm9ybShcbiAgICAgICAgdmFsdWU6IHN0cmluZyxcbiAgICAgICAgY291bnRyeUNvZGUgPSBgJHtDSEFSX1BMVVN9N2AsXG4gICAgICAgIHBob25lTWFzayA9ICcoIyMjKSAjIyMtIyMtIyMnLFxuICAgICk6IHN0cmluZyB7XG4gICAgICAgIG5nRGV2TW9kZSAmJlxuICAgICAgICAgICAgY29uc29sZS5hc3NlcnQoXG4gICAgICAgICAgICAgICAgdmFsdWUgIT09IHVuZGVmaW5lZCxcbiAgICAgICAgICAgICAgICAnVW5kZWZpbmVkIHdhcyBwYXNzZWQgdG8gdHVpRm9ybWF0UGhvbmUgcGlwZScsXG4gICAgICAgICAgICApO1xuXG4gICAgICAgIHJldHVybiB0dWlGb3JtYXRQaG9uZSh2YWx1ZSwgY291bnRyeUNvZGUsIHBob25lTWFzayk7XG4gICAgfVxufVxuIl19
@@ -0,0 +1,2 @@
1
+ export * from './format-phone.pipe';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvcGlwZXMvZm9ybWF0LXBob25lL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMscUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Zvcm1hdC1waG9uZS5waXBlJztcbiJdfQ==
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktbGVnYWN5LXBpcGVzLWZvcm1hdC1waG9uZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xlZ2FjeS9waXBlcy9mb3JtYXQtcGhvbmUvdGFpZ2EtdWktbGVnYWN5LXBpcGVzLWZvcm1hdC1waG9uZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -0,0 +1,4 @@
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
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvcGlwZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQ0FBcUMsQ0FBQztBQUNwRCxjQUFjLDRDQUE0QyxDQUFDO0FBQzNELGNBQWMsd0NBQXdDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvbGVnYWN5L3BpcGVzL2Zvcm1hdC1waG9uZSc7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvbGVnYWN5L3BpcGVzL2lzby10by1jb3VudHJ5LWNvZGUnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2xlZ2FjeS9waXBlcy90by1jb3VudHJ5LWNvZGUnO1xuIl19
@@ -0,0 +1,2 @@
1
+ export * from './iso-to-country-code.pipe';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvcGlwZXMvaXNvLXRvLWNvdW50cnktY29kZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9pc28tdG8tY291bnRyeS1jb2RlLnBpcGUnO1xuIl19
@@ -0,0 +1,43 @@
1
+ import { inject, Pipe } from '@angular/core';
2
+ import { TUI_COUNTRIES_MASKS } from '@taiga-ui/legacy/tokens';
3
+ import { tuiIsoToCountryCode } from '@taiga-ui/legacy/utils';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * @deprecated Use `getCountryCallingCode` from `libphonenumber-js/core` instead
7
+ * ```ts
8
+ * import {getCountryCallingCode} from 'libphonenumber-js/core';
9
+ * import metadata from 'libphonenumber-js/max/metadata';
10
+ *
11
+ * getCountryCallingCode('US', metadata) // 1
12
+ * getCountryCallingCode('GB', metadata) // 44
13
+ * ```
14
+ */
15
+ class TuiIsoToCountryCodePipe {
16
+ constructor() {
17
+ this.countriesMasks = inject(TUI_COUNTRIES_MASKS);
18
+ }
19
+ /**
20
+ * @deprecated Use `getCountryCallingCode` from `libphonenumber-js/core` instead
21
+ * ```ts
22
+ * import {getCountryCallingCode} from 'libphonenumber-js/core';
23
+ * import metadata from 'libphonenumber-js/max/metadata';
24
+ *
25
+ * getCountryCallingCode('US', metadata) // 1
26
+ * getCountryCallingCode('GB', metadata) // 44
27
+ * ```
28
+ */
29
+ transform(isoCode) {
30
+ return tuiIsoToCountryCode(this.countriesMasks, isoCode);
31
+ }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiIsoToCountryCodePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
33
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiIsoToCountryCodePipe, isStandalone: true, name: "tuiIsoToCountryCode" }); }
34
+ }
35
+ export { TuiIsoToCountryCodePipe };
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiIsoToCountryCodePipe, decorators: [{
37
+ type: Pipe,
38
+ args: [{
39
+ standalone: true,
40
+ name: 'tuiIsoToCountryCode',
41
+ }]
42
+ }] });
43
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXNvLXRvLWNvdW50cnktY29kZS5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L3BpcGVzL2lzby10by1jb3VudHJ5LWNvZGUvaXNvLXRvLWNvdW50cnktY29kZS5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBQyxNQUFNLEVBQUUsSUFBSSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRTNDLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLHlCQUF5QixDQUFDO0FBQzVELE9BQU8sRUFBQyxtQkFBbUIsRUF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KTogc3RyaW5nIHtcbiAgICAgICAgcmV0dXJuIHR1aUlzb1RvQ291bnRyeUNvZGUodGhpcy5jb3VudHJpZXNNYXNrcywgaXNvQ29kZSk7XG4gICAgfVxufVxuIl19
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktbGVnYWN5LXBpcGVzLWlzby10by1jb3VudHJ5LWNvZGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvcGlwZXMvaXNvLXRvLWNvdW50cnktY29kZS90YWlnYS11aS1sZWdhY3ktcGlwZXMtaXNvLXRvLWNvdW50cnktY29kZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktbGVnYWN5LXBpcGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L3BpcGVzL3RhaWdhLXVpLWxlZ2FjeS1waXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export * from './to-country-code.pipe';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvcGlwZXMvdG8tY291bnRyeS1jb2RlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3RvLWNvdW50cnktY29kZS5waXBlJztcbiJdfQ==
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktbGVnYWN5LXBpcGVzLXRvLWNvdW50cnktY29kZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xlZ2FjeS9waXBlcy90by1jb3VudHJ5LWNvZGUvdGFpZ2EtdWktbGVnYWN5LXBpcGVzLXRvLWNvdW50cnktY29kZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -0,0 +1,73 @@
1
+ import { inject, Pipe } from '@angular/core';
2
+ import { CHAR_PLUS } from '@taiga-ui/cdk/constants';
3
+ import { TUI_COUNTRIES_MASKS } from '@taiga-ui/legacy/tokens';
4
+ import { tuiGetMaxAllowedPhoneLength, tuiIsoToCountryCode, tuiNotKzRegion, } from '@taiga-ui/legacy/utils';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * @deprecated use `maskitoGetCountryFromNumber` from `@maskito/phone` instead
8
+ * ```
9
+ * npm i @maskito/phone
10
+ * ```
11
+ *
12
+ * ```ts
13
+ * import {maskitoGetCountryFromNumber} from '@maskito/phone';
14
+ * import metadata from 'libphonenumber-js/min/metadata';
15
+ *
16
+ * maskitoGetCountryFromNumber('+1 (212) 555-2368', metadata); // 'US'
17
+ * maskitoGetCountryFromNumber('+12125552368', metadata); // 'US'
18
+ * ```
19
+ */
20
+ class TuiToCountryCodePipe {
21
+ constructor() {
22
+ this.countriesMasks = inject(TUI_COUNTRIES_MASKS);
23
+ }
24
+ /**
25
+ * @deprecated use `maskitoGetCountryFromNumber` from `@maskito/phone` instead
26
+ * ```
27
+ * npm i @maskito/phone
28
+ * ```
29
+ *
30
+ * ```ts
31
+ * import {maskitoGetCountryFromNumber} from '@maskito/phone';
32
+ * import metadata from 'libphonenumber-js/min/metadata';
33
+ *
34
+ * maskitoGetCountryFromNumber('+1 (212) 555-2368', metadata); // 'US'
35
+ * maskitoGetCountryFromNumber('+12125552368', metadata); // 'US'
36
+ * ```
37
+ */
38
+ transform(value, countries) {
39
+ return countries.find(countryIsoCode => {
40
+ const ruCodeTest = countryIsoCode === 'RU' &&
41
+ /^[78]/.test(value) &&
42
+ /^(?!880[1-9 ])/.test(value) &&
43
+ value.length + 1 ===
44
+ tuiGetMaxAllowedPhoneLength(this.countriesMasks, 'RU');
45
+ const matched = ruCodeTest ||
46
+ (value.startsWith(tuiIsoToCountryCode(this.countriesMasks, countryIsoCode).replace(CHAR_PLUS, '')) &&
47
+ value.length + 1 ===
48
+ tuiGetMaxAllowedPhoneLength(this.countriesMasks, countryIsoCode));
49
+ if (matched) {
50
+ switch (countryIsoCode) {
51
+ case 'RU':
52
+ return tuiNotKzRegion(value);
53
+ case 'KZ':
54
+ return !tuiNotKzRegion(value);
55
+ default:
56
+ return true;
57
+ }
58
+ }
59
+ return false;
60
+ });
61
+ }
62
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiToCountryCodePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
63
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiToCountryCodePipe, isStandalone: true, name: "tuiToCountryCode" }); }
64
+ }
65
+ export { TuiToCountryCodePipe };
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiToCountryCodePipe, decorators: [{
67
+ type: Pipe,
68
+ args: [{
69
+ standalone: true,
70
+ name: 'tuiToCountryCode',
71
+ }]
72
+ }] });
73
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG8tY291bnRyeS1jb2RlLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvcGlwZXMvdG8tY291bnRyeS1jb2RlL3RvLWNvdW50cnktY29kZS5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBQyxNQUFNLEVBQUUsSUFBSSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQztBQUVsRCxPQUFPLEVBQUMsbUJBQW1CLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQztBQUM1RCxPQUFPLEVBQ0gsMkJBQTJCLEVBQzNCLG1CQUFtQixFQUNuQixjQUFjLEdBQ2pCLE1BQU0sd0JBQXdCLENBQUM7O0FBRWhD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WRhdGEpOyAvLyAnVVMnXG4gICAgICogbWFza2l0b0dldENvdW50cnlGcm9tTnVtYmVyKCcrMTIxMjU1NTIzNjgnLCBtZXRhZGF0YSk7IC8vICdVUydcbiAgICAgKiBgYGBcbiAgICAgKi9cbiAgICBwdWJsaWMgdHJhbnNmb3JtKFxuICAgICAgICB2YWx1ZTogc3RyaW5nLFxuICAgICAgICBjb3VudHJpZXM6IHJlYWRvbmx5IFR1aUNvdW50cnlJc29Db2RlW10sXG4gICAgKTogVHVpQ291bnRyeUlzb0NvZGUgfCB1bmRlZmluZWQge1xuICAgICAgICByZXR1cm4gY291bnRyaWVzLmZpbmQoY291bnRyeUlzb0NvZGUgPT4ge1xuICAgICAgICAgICAgY29uc3QgcnVDb2RlVGVzdCA9XG4gICAgICAgICAgICAgICAgY291bnRyeUlzb0NvZGUgPT09ICdSVScgJiZcbiAgICAgICAgICAgICAgICAvXls3OF0vLnRlc3QodmFsdWUpICYmXG4gICAgICAgICAgICAgICAgL14oPyE4ODBbMS05IF0pLy50ZXN0KHZhbHVlKSAmJlxuICAgICAgICAgICAgICAgIHZhbHVlLmxlbmd0aCArIDEgPT09XG4gICAgICAgICAgICAgICAgICAgIHR1aUdldE1heEFsbG93ZWRQaG9uZUxlbmd0aCh0aGlzLmNvdW50cmllc01hc2tzLCAnUlUnKTtcblxuICAgICAgICAgICAgY29uc3QgbWF0Y2hlZCA9XG4gICAgICAgICAgICAgICAgcnVDb2RlVGVzdCB8fFxuICAgICAgICAgICAgICAgICh2YWx1ZS5zdGFydHNXaXRoKFxuICAgICAgICAgICAgICAgICAgICB0dWlJc29Ub0NvdW50cnlDb2RlKHRoaXMuY291bnRyaWVzTWFza3MsIGNvdW50cnlJc29Db2RlKS5yZXBsYWNlKFxuICAgICAgICAgICAgICAgICAgICAgICAgQ0hBUl9QTFVTLFxuICAgICAgICAgICAgICAgICAgICAgICAgJycsXG4gICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgKSAmJlxuICAgICAgICAgICAgICAgICAgICB2YWx1ZS5sZW5ndGggKyAxID09PVxuICAgICAgICAgICAgICAgICAgICAgICAgdHVpR2V0TWF4QWxsb3dlZFBob25lTGVuZ3RoKHRoaXMuY291bnRyaWVzTWFza3MsIGNvdW50cnlJc29Db2RlKSk7XG5cbiAgICAgICAgICAgIGlmIChtYXRjaGVkKSB7XG4gICAgICAgICAgICAgICAgc3dpdGNoIChjb3VudHJ5SXNvQ29kZSkge1xuICAgICAgICAgICAgICAgICAgICBjYXNlICdSVSc6XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdHVpTm90S3pSZWdpb24odmFsdWUpO1xuICAgICAgICAgICAgICAgICAgICBjYXNlICdLWic6XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gIXR1aU5vdEt6UmVnaW9uKHZhbHVlKTtcbiAgICAgICAgICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICB9KTtcbiAgICB9XG59XG4iXX0=
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktbGVnYWN5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L3RhaWdhLXVpLWxlZ2FjeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==