@taiga-ui/kit 2.98.0 → 2.99.0

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 (156) hide show
  1. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +25 -516
  2. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  3. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +1 -1
  4. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  5. package/bundles/taiga-ui-kit-constants.umd.js +275 -4
  6. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  7. package/bundles/taiga-ui-kit-constants.umd.min.js +1 -1
  8. package/bundles/taiga-ui-kit-constants.umd.min.js.map +1 -1
  9. package/bundles/taiga-ui-kit-pipes-iso-to-country-code.umd.js +339 -0
  10. package/bundles/taiga-ui-kit-pipes-iso-to-country-code.umd.js.map +1 -0
  11. package/bundles/taiga-ui-kit-pipes-iso-to-country-code.umd.min.js +2 -0
  12. package/bundles/taiga-ui-kit-pipes-iso-to-country-code.umd.min.js.map +1 -0
  13. package/bundles/taiga-ui-kit-pipes-to-country-code.umd.js +361 -0
  14. package/bundles/taiga-ui-kit-pipes-to-country-code.umd.js.map +1 -0
  15. package/bundles/taiga-ui-kit-pipes-to-country-code.umd.min.js +2 -0
  16. package/bundles/taiga-ui-kit-pipes-to-country-code.umd.min.js.map +1 -0
  17. package/bundles/taiga-ui-kit-pipes.umd.js +20 -4
  18. package/bundles/taiga-ui-kit-pipes.umd.js.map +1 -1
  19. package/bundles/taiga-ui-kit-pipes.umd.min.js +1 -1
  20. package/bundles/taiga-ui-kit-tokens.umd.js +9 -4
  21. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  22. package/bundles/taiga-ui-kit-tokens.umd.min.js +1 -1
  23. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  24. package/bundles/taiga-ui-kit-utils-phone.umd.js +27 -0
  25. package/bundles/taiga-ui-kit-utils-phone.umd.js.map +1 -0
  26. package/bundles/taiga-ui-kit-utils-phone.umd.min.js +2 -0
  27. package/bundles/taiga-ui-kit-utils-phone.umd.min.js.map +1 -0
  28. package/bundles/taiga-ui-kit-utils.umd.js +12 -4
  29. package/bundles/taiga-ui-kit-utils.umd.js.map +1 -1
  30. package/bundles/taiga-ui-kit-utils.umd.min.js +1 -1
  31. package/components/input-phone-international/index.d.ts +0 -4
  32. package/components/input-phone-international/input-phone-international.component.d.ts +7 -3
  33. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
  34. package/{components/input-phone-international/const → constants}/countries.d.ts +1 -2
  35. package/constants/index.d.ts +2 -0
  36. package/constants/mask-after-code-regexp.d.ts +1 -0
  37. package/constants/taiga-ui-kit-constants.metadata.json +1 -1
  38. package/esm2015/components/input-phone-international/index.js +1 -4
  39. package/esm2015/components/input-phone-international/input-phone-international.component.js +24 -30
  40. package/esm2015/constants/countries.js +264 -0
  41. package/esm2015/constants/index.js +3 -1
  42. package/esm2015/constants/mask-after-code-regexp.js +2 -0
  43. package/esm2015/interfaces/country.js +1 -0
  44. package/esm2015/interfaces/index.js +1 -1
  45. package/esm2015/pipes/index.js +3 -1
  46. package/esm2015/pipes/iso-to-country-code/index.js +3 -0
  47. package/esm2015/pipes/iso-to-country-code/iso-to-country-code.module.js +13 -0
  48. package/esm2015/pipes/iso-to-country-code/iso-to-country-code.pipe.js +24 -0
  49. package/esm2015/pipes/iso-to-country-code/taiga-ui-kit-pipes-iso-to-country-code.js +5 -0
  50. package/esm2015/pipes/to-country-code/index.js +3 -0
  51. package/esm2015/pipes/to-country-code/taiga-ui-kit-pipes-to-country-code.js +5 -0
  52. package/esm2015/pipes/to-country-code/to-country-code.module.js +13 -0
  53. package/esm2015/pipes/to-country-code/to-country-code.pipe.js +47 -0
  54. package/esm2015/tokens/countries-masks.js +6 -0
  55. package/esm2015/tokens/index.js +2 -1
  56. package/esm2015/utils/index.js +2 -1
  57. package/esm2015/utils/phone/get-max-allowed-phone-length.js +4 -0
  58. package/esm2015/utils/phone/index.js +4 -0
  59. package/esm2015/utils/phone/iso-to-country-code.js +5 -0
  60. package/esm2015/utils/phone/not-kz-region.js +5 -0
  61. package/esm2015/utils/phone/taiga-ui-kit-utils-phone.js +5 -0
  62. package/esm5/components/input-phone-international/index.js +1 -4
  63. package/esm5/components/input-phone-international/input-phone-international.component.js +24 -31
  64. package/esm5/constants/countries.js +267 -0
  65. package/esm5/constants/index.js +3 -1
  66. package/esm5/constants/mask-after-code-regexp.js +2 -0
  67. package/esm5/interfaces/country.js +1 -0
  68. package/esm5/interfaces/index.js +1 -1
  69. package/esm5/pipes/index.js +3 -1
  70. package/esm5/pipes/iso-to-country-code/index.js +3 -0
  71. package/esm5/pipes/iso-to-country-code/iso-to-country-code.module.js +16 -0
  72. package/esm5/pipes/iso-to-country-code/iso-to-country-code.pipe.js +25 -0
  73. package/esm5/pipes/iso-to-country-code/taiga-ui-kit-pipes-iso-to-country-code.js +5 -0
  74. package/esm5/pipes/to-country-code/index.js +3 -0
  75. package/esm5/pipes/to-country-code/taiga-ui-kit-pipes-to-country-code.js +5 -0
  76. package/esm5/pipes/to-country-code/to-country-code.module.js +16 -0
  77. package/esm5/pipes/to-country-code/to-country-code.pipe.js +49 -0
  78. package/esm5/tokens/countries-masks.js +6 -0
  79. package/esm5/tokens/index.js +2 -1
  80. package/esm5/utils/index.js +2 -1
  81. package/esm5/utils/phone/get-max-allowed-phone-length.js +4 -0
  82. package/esm5/utils/phone/index.js +4 -0
  83. package/esm5/utils/phone/iso-to-country-code.js +5 -0
  84. package/esm5/utils/phone/not-kz-region.js +5 -0
  85. package/esm5/utils/phone/taiga-ui-kit-utils-phone.js +5 -0
  86. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +26 -507
  87. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  88. package/fesm2015/taiga-ui-kit-constants.js +267 -1
  89. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  90. package/fesm2015/taiga-ui-kit-pipes-iso-to-country-code.js +39 -0
  91. package/fesm2015/taiga-ui-kit-pipes-iso-to-country-code.js.map +1 -0
  92. package/fesm2015/taiga-ui-kit-pipes-to-country-code.js +62 -0
  93. package/fesm2015/taiga-ui-kit-pipes-to-country-code.js.map +1 -0
  94. package/fesm2015/taiga-ui-kit-pipes.js +2 -0
  95. package/fesm2015/taiga-ui-kit-pipes.js.map +1 -1
  96. package/fesm2015/taiga-ui-kit-tokens.js +6 -1
  97. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  98. package/fesm2015/taiga-ui-kit-utils-phone.js +21 -0
  99. package/fesm2015/taiga-ui-kit-utils-phone.js.map +1 -0
  100. package/fesm2015/taiga-ui-kit-utils.js +1 -0
  101. package/fesm2015/taiga-ui-kit-utils.js.map +1 -1
  102. package/fesm5/taiga-ui-kit-components-input-phone-international.js +27 -511
  103. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  104. package/fesm5/taiga-ui-kit-constants.js +270 -2
  105. package/fesm5/taiga-ui-kit-constants.js.map +1 -1
  106. package/fesm5/taiga-ui-kit-pipes-iso-to-country-code.js +43 -0
  107. package/fesm5/taiga-ui-kit-pipes-iso-to-country-code.js.map +1 -0
  108. package/fesm5/taiga-ui-kit-pipes-to-country-code.js +67 -0
  109. package/fesm5/taiga-ui-kit-pipes-to-country-code.js.map +1 -0
  110. package/fesm5/taiga-ui-kit-pipes.js +2 -0
  111. package/fesm5/taiga-ui-kit-pipes.js.map +1 -1
  112. package/fesm5/taiga-ui-kit-tokens.js +6 -1
  113. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  114. package/fesm5/taiga-ui-kit-utils-phone.js +21 -0
  115. package/fesm5/taiga-ui-kit-utils-phone.js.map +1 -0
  116. package/fesm5/taiga-ui-kit-utils.js +1 -0
  117. package/fesm5/taiga-ui-kit-utils.js.map +1 -1
  118. package/interfaces/index.d.ts +1 -0
  119. package/interfaces/taiga-ui-kit-interfaces.metadata.json +1 -1
  120. package/package.json +4 -4
  121. package/pipes/index.d.ts +2 -0
  122. package/pipes/iso-to-country-code/index.d.ts +2 -0
  123. package/pipes/iso-to-country-code/iso-to-country-code.module.d.ts +2 -0
  124. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +7 -0
  125. package/pipes/iso-to-country-code/package.json +13 -0
  126. package/pipes/iso-to-country-code/taiga-ui-kit-pipes-iso-to-country-code.d.ts +4 -0
  127. package/pipes/iso-to-country-code/taiga-ui-kit-pipes-iso-to-country-code.metadata.json +1 -0
  128. package/pipes/taiga-ui-kit-pipes.metadata.json +1 -1
  129. package/pipes/to-country-code/index.d.ts +2 -0
  130. package/pipes/to-country-code/package.json +13 -0
  131. package/pipes/to-country-code/taiga-ui-kit-pipes-to-country-code.d.ts +4 -0
  132. package/pipes/to-country-code/taiga-ui-kit-pipes-to-country-code.metadata.json +1 -0
  133. package/pipes/to-country-code/to-country-code.module.d.ts +2 -0
  134. package/pipes/to-country-code/to-country-code.pipe.d.ts +7 -0
  135. package/tokens/index.d.ts +1 -0
  136. package/tokens/taiga-ui-kit-tokens.metadata.json +1 -1
  137. package/utils/index.d.ts +1 -0
  138. package/utils/phone/get-max-allowed-phone-length.d.ts +2 -0
  139. package/utils/phone/index.d.ts +3 -0
  140. package/utils/phone/iso-to-country-code.d.ts +2 -0
  141. package/utils/phone/not-kz-region.d.ts +1 -0
  142. package/utils/phone/package.json +13 -0
  143. package/utils/phone/taiga-ui-kit-utils-phone.d.ts +4 -0
  144. package/utils/phone/taiga-ui-kit-utils-phone.metadata.json +1 -0
  145. package/utils/taiga-ui-kit-utils.metadata.json +1 -1
  146. package/components/input-phone-international/country-iso-code.d.ts +0 -207
  147. package/esm2015/components/input-phone-international/const/countries.js +0 -265
  148. package/esm2015/components/input-phone-international/country-iso-code.js +0 -209
  149. package/esm2015/components/input-phone-international/interfaces/country.js +0 -1
  150. package/esm2015/components/input-phone-international/tokens/countries-masks.js +0 -6
  151. package/esm5/components/input-phone-international/const/countries.js +0 -268
  152. package/esm5/components/input-phone-international/country-iso-code.js +0 -209
  153. package/esm5/components/input-phone-international/interfaces/country.js +0 -1
  154. package/esm5/components/input-phone-international/tokens/countries-masks.js +0 -6
  155. /package/{components/input-phone-international/interfaces → interfaces}/country.d.ts +0 -0
  156. /package/{components/input-phone-international/tokens → tokens}/countries-masks.d.ts +0 -0
@@ -1,4 +1,5 @@
1
1
  export * from './calendar-data-stream';
2
+ export * from './countries-masks';
2
3
  export * from './date-inputs-value-transformers';
3
4
  export * from './i18n';
4
5
  export * from './items-handlers';
@@ -8,4 +9,4 @@ export * from './month-formatter';
8
9
  export * from './tab-margin';
9
10
  export * from './tag-status';
10
11
  export * from './validation-errors';
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L3Rva2Vucy8iLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyxrQ0FBa0MsQ0FBQztBQUNqRCxjQUFjLFFBQVEsQ0FBQztBQUN2QixjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMscUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NhbGVuZGFyLWRhdGEtc3RyZWFtJztcbmV4cG9ydCAqIGZyb20gJy4vZGF0ZS1pbnB1dHMtdmFsdWUtdHJhbnNmb3JtZXJzJztcbmV4cG9ydCAqIGZyb20gJy4vaTE4bic7XG5leHBvcnQgKiBmcm9tICcuL2l0ZW1zLWhhbmRsZXJzJztcbmV4cG9ydCAqIGZyb20gJy4vbW9iaWxlLWF3YXJlJztcbmV4cG9ydCAqIGZyb20gJy4vbW9iaWxlLWNhbGVuZGFyJztcbmV4cG9ydCAqIGZyb20gJy4vbW9udGgtZm9ybWF0dGVyJztcbmV4cG9ydCAqIGZyb20gJy4vdGFiLW1hcmdpbic7XG5leHBvcnQgKiBmcm9tICcuL3RhZy1zdGF0dXMnO1xuZXhwb3J0ICogZnJvbSAnLi92YWxpZGF0aW9uLWVycm9ycyc7XG4iXX0=
12
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L3Rva2Vucy8iLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLGtDQUFrQyxDQUFDO0FBQ2pELGNBQWMsUUFBUSxDQUFDO0FBQ3ZCLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2FsZW5kYXItZGF0YS1zdHJlYW0nO1xuZXhwb3J0ICogZnJvbSAnLi9jb3VudHJpZXMtbWFza3MnO1xuZXhwb3J0ICogZnJvbSAnLi9kYXRlLWlucHV0cy12YWx1ZS10cmFuc2Zvcm1lcnMnO1xuZXhwb3J0ICogZnJvbSAnLi9pMThuJztcbmV4cG9ydCAqIGZyb20gJy4vaXRlbXMtaGFuZGxlcnMnO1xuZXhwb3J0ICogZnJvbSAnLi9tb2JpbGUtYXdhcmUnO1xuZXhwb3J0ICogZnJvbSAnLi9tb2JpbGUtY2FsZW5kYXInO1xuZXhwb3J0ICogZnJvbSAnLi9tb250aC1mb3JtYXR0ZXInO1xuZXhwb3J0ICogZnJvbSAnLi90YWItbWFyZ2luJztcbmV4cG9ydCAqIGZyb20gJy4vdGFnLXN0YXR1cyc7XG5leHBvcnQgKiBmcm9tICcuL3ZhbGlkYXRpb24tZXJyb3JzJztcbiJdfQ==
@@ -4,4 +4,5 @@ export * from '@taiga-ui/kit/utils/format';
4
4
  export * from '@taiga-ui/kit/utils/mask';
5
5
  export * from '@taiga-ui/kit/utils/math';
6
6
  export * from '@taiga-ui/kit/utils/miscellaneous';
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L3V0aWxzLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMsNEJBQTRCLENBQUM7QUFDM0MsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsbUNBQW1DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkva2l0L3V0aWxzL2RvbSc7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkva2l0L3V0aWxzL2ZpbGVzJztcbmV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9raXQvdXRpbHMvZm9ybWF0JztcbmV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9raXQvdXRpbHMvbWFzayc7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkva2l0L3V0aWxzL21hdGgnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2tpdC91dGlscy9taXNjZWxsYW5lb3VzJztcbiJdfQ==
7
+ export * from '@taiga-ui/kit/utils/phone';
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L3V0aWxzLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMsNEJBQTRCLENBQUM7QUFDM0MsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsbUNBQW1DLENBQUM7QUFDbEQsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9raXQvdXRpbHMvZG9tJztcbmV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9raXQvdXRpbHMvZmlsZXMnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2tpdC91dGlscy9mb3JtYXQnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2tpdC91dGlscy9tYXNrJztcbmV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9raXQvdXRpbHMvbWF0aCc7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkva2l0L3V0aWxzL21pc2NlbGxhbmVvdXMnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2tpdC91dGlscy9waG9uZSc7XG4iXX0=
@@ -0,0 +1,4 @@
1
+ export function tuiGetMaxAllowedPhoneLength(countries, isoCode) {
2
+ return countries[isoCode].replace(/[()\- ]/g, "").length;
3
+ }
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LW1heC1hbGxvd2VkLXBob25lLWxlbmd0aC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvdXRpbHMvcGhvbmUvIiwic291cmNlcyI6WyJnZXQtbWF4LWFsbG93ZWQtcGhvbmUtbGVuZ3RoLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sVUFBVSwyQkFBMkIsQ0FDdkMsU0FBNEMsRUFDNUMsT0FBMEI7SUFFMUIsT0FBTyxTQUFTLENBQUMsT0FBTyxDQUFDLENBQUMsT0FBTyxDQUFDLFVBQVUsRUFBRSxFQUFFLENBQUMsQ0FBQyxNQUFNLENBQUM7QUFDN0QsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7VHVpQ291bnRyeUlzb0NvZGV9IGZyb20gJ0B0YWlnYS11aS9pMThuJztcblxuZXhwb3J0IGZ1bmN0aW9uIHR1aUdldE1heEFsbG93ZWRQaG9uZUxlbmd0aChcbiAgICBjb3VudHJpZXM6IFJlY29yZDxUdWlDb3VudHJ5SXNvQ29kZSwgc3RyaW5nPixcbiAgICBpc29Db2RlOiBUdWlDb3VudHJ5SXNvQ29kZSxcbik6IG51bWJlciB7XG4gICAgcmV0dXJuIGNvdW50cmllc1tpc29Db2RlXS5yZXBsYWNlKC9bKClcXC0gXS9nLCBgYCkubGVuZ3RoO1xufVxuIl19
@@ -0,0 +1,4 @@
1
+ export * from './get-max-allowed-phone-length';
2
+ export * from './iso-to-country-code';
3
+ export * from './not-kz-region';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L3V0aWxzL3Bob25lLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxnQ0FBZ0MsQ0FBQztBQUMvQyxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsaUJBQWlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2dldC1tYXgtYWxsb3dlZC1waG9uZS1sZW5ndGgnO1xuZXhwb3J0ICogZnJvbSAnLi9pc28tdG8tY291bnRyeS1jb2RlJztcbmV4cG9ydCAqIGZyb20gJy4vbm90LWt6LXJlZ2lvbic7XG4iXX0=
@@ -0,0 +1,5 @@
1
+ import { MASK_AFTER_CODE_REGEXP } from '@taiga-ui/kit/constants';
2
+ export function tuiIsoToCountryCode(countriesMasks, isoCode) {
3
+ return countriesMasks[isoCode].replace(MASK_AFTER_CODE_REGEXP, "");
4
+ }
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXNvLXRvLWNvdW50cnktY29kZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvdXRpbHMvcGhvbmUvIiwic291cmNlcyI6WyJpc28tdG8tY291bnRyeS1jb2RlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBQyxzQkFBc0IsRUFBQyxNQUFNLHlCQUF5QixDQUFDO0FBRS9ELE1BQU0sVUFBVSxtQkFBbUIsQ0FDL0IsY0FBaUQsRUFDakQsT0FBMEI7SUFFMUIsT0FBTyxjQUFjLENBQUMsT0FBTyxDQUFDLENBQUMsT0FBTyxDQUFDLHNCQUFzQixFQUFFLEVBQUUsQ0FBQyxDQUFDO0FBQ3ZFLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1R1aUNvdW50cnlJc29Db2RlfSBmcm9tICdAdGFpZ2EtdWkvaTE4bic7XG5pbXBvcnQge01BU0tfQUZURVJfQ09ERV9SRUdFWFB9IGZyb20gJ0B0YWlnYS11aS9raXQvY29uc3RhbnRzJztcblxuZXhwb3J0IGZ1bmN0aW9uIHR1aUlzb1RvQ291bnRyeUNvZGUoXG4gICAgY291bnRyaWVzTWFza3M6IFJlY29yZDxUdWlDb3VudHJ5SXNvQ29kZSwgc3RyaW5nPixcbiAgICBpc29Db2RlOiBUdWlDb3VudHJ5SXNvQ29kZSxcbik6IHN0cmluZyB7XG4gICAgcmV0dXJuIGNvdW50cmllc01hc2tzW2lzb0NvZGVdLnJlcGxhY2UoTUFTS19BRlRFUl9DT0RFX1JFR0VYUCwgYGApO1xufVxuIl19
@@ -0,0 +1,5 @@
1
+ export function tuiNotKzRegion(value) {
2
+ var region = Number(value.slice(1, 4));
3
+ return region < 600 || region > 799;
4
+ }
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90LWt6LXJlZ2lvbi5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvdXRpbHMvcGhvbmUvIiwic291cmNlcyI6WyJub3Qta3otcmVnaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sVUFBVSxjQUFjLENBQUMsS0FBYTtJQUN4QyxJQUFNLE1BQU0sR0FBRyxNQUFNLENBQUMsS0FBSyxDQUFDLEtBQUssQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQztJQUV6QyxPQUFPLE1BQU0sR0FBRyxHQUFHLElBQUksTUFBTSxHQUFHLEdBQUcsQ0FBQztBQUN4QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIHR1aU5vdEt6UmVnaW9uKHZhbHVlOiBzdHJpbmcpOiBib29sZWFuIHtcbiAgICBjb25zdCByZWdpb24gPSBOdW1iZXIodmFsdWUuc2xpY2UoMSwgNCkpO1xuXG4gICAgcmV0dXJuIHJlZ2lvbiA8IDYwMCB8fCByZWdpb24gPiA3OTk7XG59XG4iXX0=
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkta2l0LXV0aWxzLXBob25lLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2tpdC91dGlscy9waG9uZS8iLCJzb3VyY2VzIjpbInRhaWdhLXVpLWtpdC11dGlscy1waG9uZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==