@true-engineering/true-react-common-ui-kit 2.3.1 → 2.3.2

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 (251) hide show
  1. package/LICENSE +201 -201
  2. package/README.md +12 -0
  3. package/dist/components/DatePicker/DatePicker.d.ts +1 -1
  4. package/dist/components/FiltersPane/FilterSelect/FilterSelect.d.ts +1 -1
  5. package/dist/components/FiltersPane/FiltersPane.d.ts +1 -1
  6. package/dist/components/Flag/augment.d.ts +1 -1
  7. package/dist/components/FlexibleTable/FlexibleTable.d.ts +1 -1
  8. package/dist/components/Icon/Icon.d.ts +1 -1
  9. package/dist/components/Icon/complexIcons/augment.d.ts +1 -1
  10. package/dist/components/MultiSelectList/MultiSelectList.d.ts +1 -1
  11. package/dist/components/PhoneInput/PhoneInput.d.ts +1 -1
  12. package/dist/components/Select/Select.d.ts +1 -1
  13. package/dist/true-react-common-ui-kit.js +577 -577
  14. package/dist/true-react-common-ui-kit.js.map +1 -1
  15. package/dist/true-react-common-ui-kit.umd.cjs +577 -577
  16. package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
  17. package/dist/vite-env.d.ts +1 -1
  18. package/package.json +93 -93
  19. package/src/components/AccountInfo/AccountInfo.stories.tsx +32 -32
  20. package/src/components/AccountInfo/AccountInfo.styles.ts +55 -55
  21. package/src/components/AccountInfo/AccountInfo.tsx +77 -77
  22. package/src/components/AccountInfo/index.ts +2 -2
  23. package/src/components/AddButton/AddButton.stories.tsx +21 -21
  24. package/src/components/AddButton/AddButton.styles.ts +34 -34
  25. package/src/components/AddButton/AddButton.tsx +48 -48
  26. package/src/components/AddButton/index.ts +2 -2
  27. package/src/components/Button/Button.stories.tsx +52 -52
  28. package/src/components/Button/Button.styles.ts +196 -196
  29. package/src/components/Button/Button.tsx +167 -167
  30. package/src/components/Button/index.ts +2 -2
  31. package/src/components/Checkbox/Checkbox.stories.tsx +32 -32
  32. package/src/components/Checkbox/Checkbox.styles.ts +62 -62
  33. package/src/components/Checkbox/Checkbox.tsx +105 -105
  34. package/src/components/Checkbox/index.ts +2 -2
  35. package/src/components/CloseButton/CloseButton.styles.ts +34 -34
  36. package/src/components/CloseButton/CloseButton.tsx +35 -35
  37. package/src/components/CloseButton/index.ts +2 -2
  38. package/src/components/Colors/Colors.stories.tsx +7 -7
  39. package/src/components/Colors/Colors.styles.ts +38 -38
  40. package/src/components/Colors/Colors.tsx +26 -26
  41. package/src/components/Colors/index.ts +2 -2
  42. package/src/components/CssBaseline/CssBaseline.styles.ts +15 -15
  43. package/src/components/CssBaseline/CssBaseline.tsx +15 -15
  44. package/src/components/CssBaseline/index.ts +2 -2
  45. package/src/components/DateInput/DateInput.stories.tsx +61 -61
  46. package/src/components/DateInput/DateInput.styles.ts +14 -14
  47. package/src/components/DateInput/DateInput.tsx +82 -82
  48. package/src/components/DateInput/constants.ts +2 -2
  49. package/src/components/DateInput/index.ts +3 -3
  50. package/src/components/DatePicker/DatePicker.stories.tsx +87 -87
  51. package/src/components/DatePicker/DatePicker.styles.ts +44 -44
  52. package/src/components/DatePicker/DatePicker.tsx +327 -327
  53. package/src/components/DatePicker/DatePickerHeader/DatePickerHeader.styles.ts +84 -84
  54. package/src/components/DatePicker/DatePickerHeader/DatePickerHeader.tsx +79 -79
  55. package/src/components/DatePicker/DatePickerHeader/index.ts +2 -2
  56. package/src/components/DatePicker/constants.ts +1 -1
  57. package/src/components/DatePicker/helpers.ts +23 -23
  58. package/src/components/DatePicker/index.ts +3 -3
  59. package/src/components/DatePicker/types.ts +45 -45
  60. package/src/components/Description/Description.stories.tsx +27 -27
  61. package/src/components/Description/Description.styles.ts +31 -31
  62. package/src/components/Description/Description.tsx +60 -60
  63. package/src/components/Description/index.ts +2 -2
  64. package/src/components/FiltersPane/FilterInterval/FilterInterval.styles.ts +64 -64
  65. package/src/components/FiltersPane/FilterInterval/FilterInterval.tsx +143 -143
  66. package/src/components/FiltersPane/FilterInterval/index.ts +1 -1
  67. package/src/components/FiltersPane/FilterMultiSelect/FilterMultiSelect.tsx +10 -10
  68. package/src/components/FiltersPane/FilterMultiSelect/index.ts +1 -1
  69. package/src/components/FiltersPane/FilterSelect/FilterSelect.styles.ts +143 -143
  70. package/src/components/FiltersPane/FilterSelect/FilterSelect.tsx +348 -348
  71. package/src/components/FiltersPane/FilterSelect/index.ts +1 -1
  72. package/src/components/FiltersPane/FilterSelect/locales.ts +37 -37
  73. package/src/components/FiltersPane/FilterValueView/FilterValueView.styles.tsx +15 -15
  74. package/src/components/FiltersPane/FilterValueView/FilterValueView.tsx +166 -166
  75. package/src/components/FiltersPane/FilterValueView/index.tsx +1 -1
  76. package/src/components/FiltersPane/FilterWithDates/FilterWithDates.styles.ts +60 -60
  77. package/src/components/FiltersPane/FilterWithDates/FilterWithDates.tsx +184 -184
  78. package/src/components/FiltersPane/FilterWithDates/index.ts +1 -1
  79. package/src/components/FiltersPane/FilterWithPeriod/FilterWithPeriod.styles.ts +17 -17
  80. package/src/components/FiltersPane/FilterWithPeriod/FilterWithPeriod.tsx +198 -198
  81. package/src/components/FiltersPane/FilterWithPeriod/index.ts +1 -1
  82. package/src/components/FiltersPane/FilterWrapper/FilterWrapper.styles.ts +110 -110
  83. package/src/components/FiltersPane/FilterWrapper/FilterWrapper.tsx +346 -346
  84. package/src/components/FiltersPane/FilterWrapper/index.ts +1 -1
  85. package/src/components/FiltersPane/FiltersPane.stories.tsx +295 -295
  86. package/src/components/FiltersPane/FiltersPane.styles.ts +71 -71
  87. package/src/components/FiltersPane/FiltersPane.tsx +151 -151
  88. package/src/components/FiltersPane/FiltersPaneSearch/FiltersPaneSearch.styles.ts +109 -109
  89. package/src/components/FiltersPane/FiltersPaneSearch/FiltersPaneSearch.tsx +155 -155
  90. package/src/components/FiltersPane/FiltersPaneSearch/index.ts +1 -1
  91. package/src/components/FiltersPane/index.ts +20 -20
  92. package/src/components/FiltersPane/locales.ts +107 -107
  93. package/src/components/FiltersPane/types.ts +112 -112
  94. package/src/components/Flag/Flag.stories.tsx +29 -29
  95. package/src/components/Flag/Flag.styles.ts +18 -18
  96. package/src/components/Flag/Flag.tsx +27 -27
  97. package/src/components/Flag/augment.d.ts +1 -1
  98. package/src/components/Flag/index.ts +2 -2
  99. package/src/components/FlexibleTable/FlexibleTable.stories.tsx +84 -84
  100. package/src/components/FlexibleTable/FlexibleTable.styles.ts +131 -131
  101. package/src/components/FlexibleTable/FlexibleTable.tsx +205 -205
  102. package/src/components/FlexibleTable/TableRow.tsx +152 -152
  103. package/src/components/FlexibleTable/TableValue.tsx +75 -75
  104. package/src/components/FlexibleTable/fixture-test.ts +254 -254
  105. package/src/components/FlexibleTable/index.ts +3 -3
  106. package/src/components/FlexibleTable/types.ts +52 -52
  107. package/src/components/Icon/ComplexIconBoilerplate.tsx +17 -17
  108. package/src/components/Icon/Icon.stories.tsx +85 -85
  109. package/src/components/Icon/Icon.styles.ts +10 -10
  110. package/src/components/Icon/Icon.tsx +32 -32
  111. package/src/components/Icon/IconBoilerplate.tsx +42 -42
  112. package/src/components/Icon/complexIcons/augment.d.ts +1 -1
  113. package/src/components/Icon/complexIcons/avatarGreen.svg +57 -57
  114. package/src/components/Icon/complexIcons/icons.ts +7 -7
  115. package/src/components/Icon/complexIcons/index.ts +1 -1
  116. package/src/components/Icon/icons/icons.ts +838 -838
  117. package/src/components/Icon/icons/index.ts +1 -1
  118. package/src/components/Icon/index.ts +4 -4
  119. package/src/components/IncrementInput/ChangeButton.tsx +33 -33
  120. package/src/components/IncrementInput/IncrementInput.stories.tsx +31 -31
  121. package/src/components/IncrementInput/IncrementInput.styles.ts +77 -77
  122. package/src/components/IncrementInput/IncrementInput.tsx +80 -80
  123. package/src/components/IncrementInput/index.ts +2 -2
  124. package/src/components/Input/Input.stories.tsx +86 -86
  125. package/src/components/Input/Input.styles.ts +307 -307
  126. package/src/components/Input/Input.tsx +311 -311
  127. package/src/components/Input/index.ts +2 -2
  128. package/src/components/List/List.stories.tsx +62 -62
  129. package/src/components/List/List.styles.ts +52 -52
  130. package/src/components/List/List.tsx +64 -64
  131. package/src/components/List/index.ts +2 -2
  132. package/src/components/Modal/Modal.stories.tsx +105 -105
  133. package/src/components/Modal/Modal.styles.ts +305 -305
  134. package/src/components/Modal/Modal.tsx +200 -200
  135. package/src/components/Modal/index.ts +2 -2
  136. package/src/components/MoreMenu/MoreMenu.stories.tsx +46 -46
  137. package/src/components/MoreMenu/MoreMenu.styles.ts +70 -70
  138. package/src/components/MoreMenu/MoreMenu.tsx +90 -90
  139. package/src/components/MoreMenu/index.ts +2 -2
  140. package/src/components/MultiSelect/MultiSelect.stories.tsx +46 -46
  141. package/src/components/MultiSelect/MultiSelect.styles.ts +55 -55
  142. package/src/components/MultiSelect/MultiSelect.tsx +89 -89
  143. package/src/components/MultiSelect/MultiSelectInput/MultiSelectInput.styles.ts +73 -73
  144. package/src/components/MultiSelect/MultiSelectInput/MultiSelectInput.tsx +51 -51
  145. package/src/components/MultiSelect/MultiSelectInput/index.ts +1 -1
  146. package/src/components/MultiSelect/index.ts +3 -3
  147. package/src/components/MultiSelectList/MultiSelectList.styles.ts +124 -124
  148. package/src/components/MultiSelectList/MultiSelectList.tsx +451 -451
  149. package/src/components/MultiSelectList/index.ts +2 -2
  150. package/src/components/MultiSelectList/locales.ts +37 -37
  151. package/src/components/Notification/Notification.stories.tsx +46 -46
  152. package/src/components/Notification/Notification.styles.ts +50 -50
  153. package/src/components/Notification/Notification.tsx +79 -79
  154. package/src/components/Notification/index.ts +2 -2
  155. package/src/components/NumberInput/NumberInput.stories.tsx +35 -35
  156. package/src/components/NumberInput/NumberInput.tsx +133 -133
  157. package/src/components/NumberInput/helpers.ts +86 -86
  158. package/src/components/NumberInput/index.ts +1 -1
  159. package/src/components/PhoneInput/PhoneInput.stories.tsx +70 -70
  160. package/src/components/PhoneInput/PhoneInput.styles.ts +84 -84
  161. package/src/components/PhoneInput/PhoneInput.tsx +194 -194
  162. package/src/components/PhoneInput/PhoneInputCountryList/PhoneInputCountryList.stories.tsx +21 -21
  163. package/src/components/PhoneInput/PhoneInputCountryList/PhoneInputCountryList.styles.ts +100 -100
  164. package/src/components/PhoneInput/PhoneInputCountryList/PhoneInputCountryList.tsx +147 -147
  165. package/src/components/PhoneInput/PhoneInputCountryList/index.ts +2 -2
  166. package/src/components/PhoneInput/index.ts +6 -6
  167. package/src/components/PhoneInput/phone-info.ts +2147 -2147
  168. package/src/components/PhoneInput/types.ts +16 -16
  169. package/src/components/RadioButton/RadioButton.stories.tsx +46 -46
  170. package/src/components/RadioButton/RadioButton.styles.ts +37 -37
  171. package/src/components/RadioButton/RadioButton.tsx +55 -55
  172. package/src/components/RadioButton/index.ts +2 -2
  173. package/src/components/ScrollIntoViewIfNeeded/ScrollIntoViewIfNeeded.ts +61 -61
  174. package/src/components/ScrollIntoViewIfNeeded/index.ts +1 -1
  175. package/src/components/SearchInput/SearchInput.stories.tsx +23 -23
  176. package/src/components/SearchInput/SearchInput.styles.ts +50 -50
  177. package/src/components/SearchInput/SearchInput.tsx +50 -50
  178. package/src/components/SearchInput/index.ts +2 -2
  179. package/src/components/Select/MultiSelect.stories.tsx +240 -240
  180. package/src/components/Select/Select.stories.tsx +235 -235
  181. package/src/components/Select/Select.styles.ts +96 -96
  182. package/src/components/Select/Select.tsx +575 -575
  183. package/src/components/Select/SelectList/SelectList.styles.ts +72 -72
  184. package/src/components/Select/SelectList/SelectList.tsx +158 -158
  185. package/src/components/Select/SelectList/index.ts +1 -1
  186. package/src/components/Select/SelectListItem/SelectListItem.styles.ts +14 -14
  187. package/src/components/Select/SelectListItem/SelectListItem.tsx +68 -68
  188. package/src/components/Select/constants.ts +2 -2
  189. package/src/components/Select/helpers.ts +26 -26
  190. package/src/components/Select/index.ts +4 -4
  191. package/src/components/Select/types.ts +1 -1
  192. package/src/components/SmartInput/SmartInput.stories.tsx +50 -50
  193. package/src/components/SmartInput/SmartInput.tsx +147 -147
  194. package/src/components/SmartInput/helpers.ts +85 -85
  195. package/src/components/SmartInput/index.ts +1 -1
  196. package/src/components/Switch/Switch.stories.tsx +40 -40
  197. package/src/components/Switch/Switch.styles.ts +75 -75
  198. package/src/components/Switch/Switch.tsx +83 -83
  199. package/src/components/Switch/index.ts +2 -2
  200. package/src/components/TextArea/TextArea.stories.tsx +35 -35
  201. package/src/components/TextArea/TextArea.styles.ts +153 -153
  202. package/src/components/TextArea/TextArea.tsx +165 -165
  203. package/src/components/TextArea/index.ts +2 -2
  204. package/src/components/TextWithInfo/TextWithInfo.stories.tsx +53 -53
  205. package/src/components/TextWithInfo/TextWithInfo.styles.ts +60 -60
  206. package/src/components/TextWithInfo/TextWithInfo.tsx +60 -60
  207. package/src/components/TextWithInfo/index.ts +2 -2
  208. package/src/components/TextWithTooltip/TextWithTooltip.stories.tsx +58 -58
  209. package/src/components/TextWithTooltip/TextWithTooltip.styles.ts +19 -19
  210. package/src/components/TextWithTooltip/TextWithTooltip.tsx +143 -143
  211. package/src/components/TextWithTooltip/index.ts +2 -2
  212. package/src/components/ThemedPreloader/ThemedPreloader.stories.tsx +41 -41
  213. package/src/components/ThemedPreloader/ThemedPreloader.styles.ts +21 -21
  214. package/src/components/ThemedPreloader/ThemedPreloader.tsx +50 -50
  215. package/src/components/ThemedPreloader/components/DefaultPreloader/DefaultPreloader.tsx +29 -29
  216. package/src/components/ThemedPreloader/components/DefaultPreloader/index.ts +1 -1
  217. package/src/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.styles.ts +54 -54
  218. package/src/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.tsx +18 -18
  219. package/src/components/ThemedPreloader/components/DotsPreloader/index.ts +2 -2
  220. package/src/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.styles.ts +11 -11
  221. package/src/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.tsx +25 -25
  222. package/src/components/ThemedPreloader/components/SvgPreloader/index.ts +2 -2
  223. package/src/components/ThemedPreloader/components/index.ts +2 -2
  224. package/src/components/ThemedPreloader/index.ts +2 -2
  225. package/src/components/Toaster/Toaster.stories.tsx +30 -30
  226. package/src/components/Toaster/Toaster.styles.ts +59 -59
  227. package/src/components/Toaster/Toaster.tsx +110 -110
  228. package/src/components/Toaster/index.ts +2 -2
  229. package/src/components/Tooltip/Tooltip.stories.tsx +19 -19
  230. package/src/components/Tooltip/Tooltip.styles.ts +45 -45
  231. package/src/components/Tooltip/Tooltip.tsx +35 -35
  232. package/src/components/Tooltip/index.ts +3 -3
  233. package/src/components/Tooltip/types.ts +1 -1
  234. package/src/components/index.ts +36 -36
  235. package/src/helpers/deprecated.ts +23 -23
  236. package/src/helpers/index.ts +4 -4
  237. package/src/helpers/misc.ts +158 -158
  238. package/src/helpers/phone.ts +87 -87
  239. package/src/helpers/popper-helpers.ts +17 -17
  240. package/src/helpers/snippets.tsx +6 -6
  241. package/src/hooks/index.ts +6 -6
  242. package/src/hooks/use-did-mount-effect.ts +18 -18
  243. package/src/hooks/use-dropdown.ts +82 -82
  244. package/src/hooks/use-is-mounted.ts +15 -15
  245. package/src/hooks/use-on-click-outside.ts +77 -77
  246. package/src/hooks/use-theme.ts +32 -32
  247. package/src/hooks/use-tweak-styles.ts +13 -13
  248. package/src/index.ts +6 -6
  249. package/src/theme.ts +149 -149
  250. package/src/types.ts +107 -107
  251. package/src/vite-env.d.ts +1 -1
@@ -3984,63 +3984,63 @@
3984
3984
  };
3985
3985
  }, dependencies);
3986
3986
  };
3987
- const avatarGreen = ` <svg\r
3988
- width="100%"\r
3989
- height="100%"\r
3990
- viewBox="0 0 32 32"\r
3991
- fill="none"\r
3992
- xmlns="http://www.w3.org/2000/svg"\r
3993
- >\r
3994
- <circle opacity="0.5" cx="16" cy="16" r="16" fill="#DDE3ED" />\r
3995
- <mask\r
3996
- id="mask0_0_12744"\r
3997
- style="mask-type: 'alpha';"\r
3998
- maskUnits="userSpaceOnUse"\r
3999
- x="0"\r
4000
- y="0"\r
4001
- width="32"\r
4002
- height="32"\r
4003
- >\r
4004
- <circle cx="16" cy="16" r="16" fill="white" />\r
4005
- </mask>\r
4006
- <g mask="url(#mask0_0_12744)">\r
4007
- <circle cx="16" cy="29" r="13" fill="url(#paint0_linear_0_12744)" />\r
4008
- <mask\r
4009
- id="mask1_0_12744"\r
4010
- style="mask-type: 'alpha';"\r
4011
- maskUnits="userSpaceOnUse"\r
4012
- x="3"\r
4013
- y="16"\r
4014
- width="26"\r
4015
- height="26"\r
4016
- >\r
4017
- <circle cx="16" cy="29" r="13" fill="white" />\r
4018
- </mask>\r
4019
- <g mask="url(#mask1_0_12744)">\r
4020
- <ellipse\r
4021
- cx="16"\r
4022
- cy="17.5"\r
4023
- rx="6"\r
4024
- ry="7.5"\r
4025
- fill="#505F79"\r
4026
- fill-opacity="0.204983"\r
4027
- />\r
4028
- </g>\r
4029
- </g>\r
4030
- <ellipse cx="16" cy="13" rx="6" ry="7" fill="white" />\r
4031
- <defs>\r
4032
- <linearGradient\r
4033
- id="paint0_linear_0_12744"\r
4034
- x1="13.347"\r
4035
- y1="46.279"\r
4036
- x2="33.5318"\r
4037
- y2="30.8088"\r
4038
- gradientUnits="userSpaceOnUse"\r
4039
- >\r
4040
- <stop stop-color="#ABD229" />\r
4041
- <stop offset="1" stop-color="#9CD03F" />\r
4042
- </linearGradient>\r
4043
- </defs>\r
3987
+ const avatarGreen = ` <svg
3988
+ width="100%"
3989
+ height="100%"
3990
+ viewBox="0 0 32 32"
3991
+ fill="none"
3992
+ xmlns="http://www.w3.org/2000/svg"
3993
+ >
3994
+ <circle opacity="0.5" cx="16" cy="16" r="16" fill="#DDE3ED" />
3995
+ <mask
3996
+ id="mask0_0_12744"
3997
+ style="mask-type: 'alpha';"
3998
+ maskUnits="userSpaceOnUse"
3999
+ x="0"
4000
+ y="0"
4001
+ width="32"
4002
+ height="32"
4003
+ >
4004
+ <circle cx="16" cy="16" r="16" fill="white" />
4005
+ </mask>
4006
+ <g mask="url(#mask0_0_12744)">
4007
+ <circle cx="16" cy="29" r="13" fill="url(#paint0_linear_0_12744)" />
4008
+ <mask
4009
+ id="mask1_0_12744"
4010
+ style="mask-type: 'alpha';"
4011
+ maskUnits="userSpaceOnUse"
4012
+ x="3"
4013
+ y="16"
4014
+ width="26"
4015
+ height="26"
4016
+ >
4017
+ <circle cx="16" cy="29" r="13" fill="white" />
4018
+ </mask>
4019
+ <g mask="url(#mask1_0_12744)">
4020
+ <ellipse
4021
+ cx="16"
4022
+ cy="17.5"
4023
+ rx="6"
4024
+ ry="7.5"
4025
+ fill="#505F79"
4026
+ fill-opacity="0.204983"
4027
+ />
4028
+ </g>
4029
+ </g>
4030
+ <ellipse cx="16" cy="13" rx="6" ry="7" fill="white" />
4031
+ <defs>
4032
+ <linearGradient
4033
+ id="paint0_linear_0_12744"
4034
+ x1="13.347"
4035
+ y1="46.279"
4036
+ x2="33.5318"
4037
+ y2="30.8088"
4038
+ gradientUnits="userSpaceOnUse"
4039
+ >
4040
+ <stop stop-color="#ABD229" />
4041
+ <stop offset="1" stop-color="#9CD03F" />
4042
+ </linearGradient>
4043
+ </defs>
4044
4044
  </svg>`;
4045
4045
  var complexIcons = {
4046
4046
  avatar: avatarGreen
@@ -4086,12 +4086,6 @@
4086
4086
  }
4087
4087
  });
4088
4088
  };
4089
- var styles$J = {
4090
- root: {
4091
- display: "flex",
4092
- alignItems: "center"
4093
- }
4094
- };
4095
4089
  var checkIcons = function(ico) {
4096
4090
  return ico;
4097
4091
  };
@@ -5007,6 +5001,12 @@
5007
5001
  ]
5008
5002
  });
5009
5003
  };
5004
+ var styles$J = {
5005
+ root: {
5006
+ display: "flex",
5007
+ alignItems: "center"
5008
+ }
5009
+ };
5010
5010
  function _define_property$M(obj, key, value) {
5011
5011
  if (key in obj) {
5012
5012
  Object.defineProperty(obj, key, {
@@ -5600,18 +5600,6 @@
5600
5600
  }));
5601
5601
  };
5602
5602
  var styles$F = {
5603
- root: {
5604
- display: "flex"
5605
- },
5606
- dots: {},
5607
- default: {},
5608
- logo: {},
5609
- currentColor: {
5610
- color: "currentColor"
5611
- },
5612
- tweakPreloaderComponent: {}
5613
- };
5614
- var styles$E = {
5615
5603
  root: {
5616
5604
  display: "flex",
5617
5605
  gap: 4,
@@ -5656,7 +5644,7 @@
5656
5644
  };
5657
5645
  var DotsPreloader = function(param) {
5658
5646
  var tweakStyles = param.tweakStyles;
5659
- var classes = useTheme("DotsPreloader", styles$E, tweakStyles).classes;
5647
+ var classes = useTheme("DotsPreloader", styles$F, tweakStyles).classes;
5660
5648
  return /* @__PURE__ */ jsx("div", {
5661
5649
  className: classes.root,
5662
5650
  children: /* @__PURE__ */ jsx("span", {
@@ -5720,7 +5708,7 @@
5720
5708
  ]
5721
5709
  });
5722
5710
  };
5723
- var styles$D = {
5711
+ var styles$E = {
5724
5712
  root: {
5725
5713
  display: "flex",
5726
5714
  width: "100%",
@@ -5730,7 +5718,7 @@
5730
5718
  var SvgPreloader = function(param) {
5731
5719
  var _param_type = param.type, type = _param_type === void 0 ? "default" : _param_type, tweakStyles = param.tweakStyles;
5732
5720
  var _theme_preloaders;
5733
- var classes = useTheme("SvgPreloader", styles$D, tweakStyles).classes;
5721
+ var classes = useTheme("SvgPreloader", styles$E, tweakStyles).classes;
5734
5722
  var theme = React.useContext(ThemeContext).theme;
5735
5723
  var _theme_preloaders_type;
5736
5724
  var PreloaderIcon = (_theme_preloaders_type = (_theme_preloaders = theme.preloaders) === null || _theme_preloaders === void 0 ? void 0 : _theme_preloaders[type]) !== null && _theme_preloaders_type !== void 0 ? _theme_preloaders_type : DefaultPreloader;
@@ -5742,6 +5730,18 @@
5742
5730
  }
5743
5731
  }) : /* @__PURE__ */ jsx(PreloaderIcon, {});
5744
5732
  };
5733
+ var styles$D = {
5734
+ root: {
5735
+ display: "flex"
5736
+ },
5737
+ dots: {},
5738
+ default: {},
5739
+ logo: {},
5740
+ currentColor: {
5741
+ color: "currentColor"
5742
+ },
5743
+ tweakPreloaderComponent: {}
5744
+ };
5745
5745
  function _define_property$H(obj, key, value) {
5746
5746
  if (key in obj) {
5747
5747
  Object.defineProperty(obj, key, {
@@ -5796,7 +5796,7 @@
5796
5796
  }
5797
5797
  var ThemedPreloader = function(param) {
5798
5798
  var _param_type = param.type, type = _param_type === void 0 ? "default" : _param_type, _param_useCurrentColor = param.useCurrentColor, useCurrentColor = _param_useCurrentColor === void 0 ? false : _param_useCurrentColor, data = param.data, tweakStyles = param.tweakStyles;
5799
- var _useTheme = useTheme("ThemedPreloader", styles$F, tweakStyles), classes = _useTheme.classes, componentStyles = _useTheme.componentStyles;
5799
+ var _useTheme = useTheme("ThemedPreloader", styles$D, tweakStyles), classes = _useTheme.classes, componentStyles = _useTheme.componentStyles;
5800
5800
  var preloaderComponentStyles = useTweakStyles(componentStyles, tweakStyles, "tweakPreloaderComponent");
5801
5801
  return /* @__PURE__ */ jsx("div", _object_spread_props$w(_object_spread$F({
5802
5802
  className: clsx(classes.root, classes[type], _define_property$H({}, classes.currentColor, useCurrentColor))
@@ -7222,6 +7222,8 @@
7222
7222
  ]
7223
7223
  });
7224
7224
  });
7225
+ var EMPTY_DATE_INPUT_VALUE = "__.__.____";
7226
+ var EMPTY_DATE_RANGE_INPUT_VALUE = "".concat(EMPTY_DATE_INPUT_VALUE, " - ").concat(EMPTY_DATE_INPUT_VALUE);
7225
7227
  var styles$w = {
7226
7228
  root: {
7227
7229
  width: "100%",
@@ -7231,8 +7233,6 @@
7231
7233
  },
7232
7234
  tweakInput: {}
7233
7235
  };
7234
- var EMPTY_DATE_INPUT_VALUE = "__.__.____";
7235
- var EMPTY_DATE_RANGE_INPUT_VALUE = "".concat(EMPTY_DATE_INPUT_VALUE, " - ").concat(EMPTY_DATE_INPUT_VALUE);
7236
7236
  function _define_property$B(obj, key, value) {
7237
7237
  if (key in obj) {
7238
7238
  Object.defineProperty(obj, key, {
@@ -7368,40 +7368,8 @@
7368
7368
  }));
7369
7369
  });
7370
7370
  const reactDatepicker = "";
7371
- var styles$v = {
7372
- root: {
7373
- width: "100%",
7374
- height: "100%"
7375
- },
7376
- day: {},
7377
- datepicker: {},
7378
- popper: {
7379
- zIndex: 10,
7380
- marginTop: function(param) {
7381
- var topPosition = param.topPosition;
7382
- return topPosition;
7383
- },
7384
- marginLeft: function(param) {
7385
- var leftPosition = param.leftPosition;
7386
- return leftPosition;
7387
- },
7388
- '&[data-placement^="bottom"]': {
7389
- paddingTop: 6
7390
- },
7391
- '&[data-placement^="top"]': {
7392
- paddingBottom: 6
7393
- },
7394
- '&[data-placement^="left"]': {
7395
- paddingRight: 6
7396
- },
7397
- '&[data-placement^="right"]': {
7398
- paddingLeft: 6
7399
- }
7400
- },
7401
- tweakDateInput: {}
7402
- };
7403
7371
  var LEFT_PADDING = 44;
7404
- var styles$u = {
7372
+ var styles$v = {
7405
7373
  root: {
7406
7374
  position: "relative"
7407
7375
  },
@@ -7529,7 +7497,7 @@
7529
7497
  "testId",
7530
7498
  "data"
7531
7499
  ]);
7532
- var _useTheme = useTheme("SearchInput", styles$u, tweakStyles), classes = _useTheme.classes, componentStyles = _useTheme.componentStyles;
7500
+ var _useTheme = useTheme("SearchInput", styles$v, tweakStyles), classes = _useTheme.classes, componentStyles = _useTheme.componentStyles;
7533
7501
  var tweakInputStyles = useTweakStyles(componentStyles, tweakStyles, "tweakInput");
7534
7502
  return /* @__PURE__ */ jsxs("div", _object_spread_props$q(_object_spread$y({
7535
7503
  className: classes.root
@@ -7552,84 +7520,6 @@
7552
7520
  ]
7553
7521
  }));
7554
7522
  };
7555
- var styles$t = {
7556
- root: {
7557
- width: "100%",
7558
- position: "relative",
7559
- boxSizing: "border-box"
7560
- },
7561
- inputWrapper: {
7562
- width: "100%",
7563
- cursor: "text",
7564
- position: "relative"
7565
- },
7566
- listWrapper: {
7567
- left: -1,
7568
- zIndex: 3,
7569
- width: "fit-content",
7570
- minWidth: "calc(100% + 1px)"
7571
- },
7572
- withoutPopper: {
7573
- position: "absolute",
7574
- top: "calc(100% + 6px)"
7575
- },
7576
- listWrapperInBody: {
7577
- minWidth: "auto",
7578
- width: "auto",
7579
- maxWidth: "min-content"
7580
- },
7581
- arrow: {
7582
- position: "absolute",
7583
- right: 12,
7584
- top: 14,
7585
- width: 20,
7586
- height: 20,
7587
- cursor: "pointer",
7588
- zIndex: 1,
7589
- transition: "transform 0.1s ease"
7590
- },
7591
- activeArrow: {
7592
- transform: "rotate(180deg)"
7593
- },
7594
- disabled: {
7595
- "& $arrow": {
7596
- cursor: "default"
7597
- }
7598
- },
7599
- counter: {
7600
- "&:not(:last-child)": {
7601
- paddingRight: 8
7602
- }
7603
- },
7604
- icon: {
7605
- width: 16,
7606
- height: 16
7607
- },
7608
- tweakInput: {
7609
- input: {
7610
- paddingRight: 32
7611
- },
7612
- disabled: {
7613
- "& $input": {
7614
- cursor: "default"
7615
- }
7616
- },
7617
- controls: {
7618
- paddingRight: 32
7619
- }
7620
- },
7621
- tweakSelectList: {},
7622
- tweakSearchInput: {
7623
- tweakInput: {
7624
- inputWrapper: {
7625
- height: 48,
7626
- borderRadius: 0,
7627
- border: "none",
7628
- backgroundColor: "transparent"
7629
- }
7630
- }
7631
- }
7632
- };
7633
7523
  function _assert_this_initialized(self2) {
7634
7524
  if (self2 === void 0) {
7635
7525
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -7885,7 +7775,7 @@
7885
7775
  10,
7886
7776
  20
7887
7777
  ];
7888
- var styles$s = {
7778
+ var styles$u = {
7889
7779
  root: {
7890
7780
  borderRadius: dimensions.BORDER_RADIUS_SMALL,
7891
7781
  boxShadow: "0 13px 74px -27px rgba(0, 0, 0, 0.11)",
@@ -8052,7 +7942,7 @@
8052
7942
  }
8053
7943
  function SelectList(param) {
8054
7944
  var options = param.options, focusedIndex = param.focusedIndex, activeValue = param.activeValue, defaultOptionLabel = param.defaultOptionLabel, _param_noMatchesLabel = param.noMatchesLabel, noMatchesLabel = _param_noMatchesLabel === void 0 ? "Совпадений не найдено" : _param_noMatchesLabel, isLoading = param.isLoading, _param_loadingLabel = param.loadingLabel, loadingLabel = _param_loadingLabel === void 0 ? "Загрузка..." : _param_loadingLabel, tweakStyles = param.tweakStyles, testId = param.testId, _param_shouldScrollToList = param.shouldScrollToList, shouldScrollToList = _param_shouldScrollToList === void 0 ? true : _param_shouldScrollToList, areAllOptionsSelected = param.areAllOptionsSelected, customListHeader = param.customListHeader, isOptionDisabled = param.isOptionDisabled, allOptionsLabel = param.allOptionsLabel, onOptionSelect = param.onOptionSelect, onToggleCheckbox = param.onToggleCheckbox, convertValueToString = param.convertValueToString, _param_convertValueToReactNode = param.convertValueToReactNode, convertValueToReactNode = _param_convertValueToReactNode === void 0 ? convertValueToString : _param_convertValueToReactNode, convertValueToId = param.convertValueToId;
8055
- var classes = useTheme("SelectList", styles$s, tweakStyles).classes;
7945
+ var classes = useTheme("SelectList", styles$u, tweakStyles).classes;
8056
7946
  var isMultiSelect = trueReactPlatformHelpers.isNotEmpty(onToggleCheckbox);
8057
7947
  var multiSelectValue = activeValue;
8058
7948
  var _multiSelectValue_length;
@@ -8166,6 +8056,84 @@
8166
8056
  var isMultiSelectValue = function(props, _value) {
8167
8057
  return props.isMultiSelect === true;
8168
8058
  };
8059
+ var styles$t = {
8060
+ root: {
8061
+ width: "100%",
8062
+ position: "relative",
8063
+ boxSizing: "border-box"
8064
+ },
8065
+ inputWrapper: {
8066
+ width: "100%",
8067
+ cursor: "text",
8068
+ position: "relative"
8069
+ },
8070
+ listWrapper: {
8071
+ left: -1,
8072
+ zIndex: 3,
8073
+ width: "fit-content",
8074
+ minWidth: "calc(100% + 1px)"
8075
+ },
8076
+ withoutPopper: {
8077
+ position: "absolute",
8078
+ top: "calc(100% + 6px)"
8079
+ },
8080
+ listWrapperInBody: {
8081
+ minWidth: "auto",
8082
+ width: "auto",
8083
+ maxWidth: "min-content"
8084
+ },
8085
+ arrow: {
8086
+ position: "absolute",
8087
+ right: 12,
8088
+ top: 14,
8089
+ width: 20,
8090
+ height: 20,
8091
+ cursor: "pointer",
8092
+ zIndex: 1,
8093
+ transition: "transform 0.1s ease"
8094
+ },
8095
+ activeArrow: {
8096
+ transform: "rotate(180deg)"
8097
+ },
8098
+ disabled: {
8099
+ "& $arrow": {
8100
+ cursor: "default"
8101
+ }
8102
+ },
8103
+ counter: {
8104
+ "&:not(:last-child)": {
8105
+ paddingRight: 8
8106
+ }
8107
+ },
8108
+ icon: {
8109
+ width: 16,
8110
+ height: 16
8111
+ },
8112
+ tweakInput: {
8113
+ input: {
8114
+ paddingRight: 32
8115
+ },
8116
+ disabled: {
8117
+ "& $input": {
8118
+ cursor: "default"
8119
+ }
8120
+ },
8121
+ controls: {
8122
+ paddingRight: 32
8123
+ }
8124
+ },
8125
+ tweakSelectList: {},
8126
+ tweakSearchInput: {
8127
+ tweakInput: {
8128
+ inputWrapper: {
8129
+ height: 48,
8130
+ borderRadius: 0,
8131
+ border: "none",
8132
+ backgroundColor: "transparent"
8133
+ }
8134
+ }
8135
+ }
8136
+ };
8169
8137
  function _array_like_to_array$j(arr, len) {
8170
8138
  if (len == null || len > arr.length)
8171
8139
  len = arr.length;
@@ -8900,7 +8868,7 @@
8900
8868
  }
8901
8869
  var SELECT_PADDING_LEFT = 12;
8902
8870
  var SELECT_PADDING_RIGHT = 24;
8903
- var styles$r = {
8871
+ var styles$s = {
8904
8872
  btn: {
8905
8873
  width: 36,
8906
8874
  height: 36,
@@ -8969,7 +8937,7 @@
8969
8937
  };
8970
8938
  var DatePickerHeader = function(param) {
8971
8939
  var date = param.date, _param_months = param.months, months = _param_months === void 0 ? [] : _param_months, prevMonthButtonDisabled = param.prevMonthButtonDisabled, nextMonthButtonDisabled = param.nextMonthButtonDisabled, changeYear = param.changeYear, changeMonth = param.changeMonth, decreaseMonth = param.decreaseMonth, increaseMonth = param.increaseMonth;
8972
- var _useTheme = useTheme("DatePickerHeader", styles$r), classes = _useTheme.classes, componentStyles = _useTheme.componentStyles;
8940
+ var _useTheme = useTheme("DatePickerHeader", styles$s), classes = _useTheme.classes, componentStyles = _useTheme.componentStyles;
8973
8941
  var years = React.useMemo(function() {
8974
8942
  return Array.from(Array(41)).map(function(_, i) {
8975
8943
  return dateFns.getYear(new Date()) - 30 + i;
@@ -9061,26 +9029,58 @@
9061
9029
  var areDatesEquals = function(date1, date2) {
9062
9030
  return trueReactPlatformHelpers.isEmpty(date1) && trueReactPlatformHelpers.isEmpty(date2) || trueReactPlatformHelpers.isNotEmpty(date1) && trueReactPlatformHelpers.isNotEmpty(date2) && dateFns.isSameDay(date1, date2);
9063
9031
  };
9064
- function _array_like_to_array$i(arr, len) {
9065
- if (len == null || len > arr.length)
9066
- len = arr.length;
9067
- for (var i = 0, arr2 = new Array(len); i < len; i++)
9068
- arr2[i] = arr[i];
9069
- return arr2;
9070
- }
9071
- function _array_with_holes$i(arr) {
9072
- if (Array.isArray(arr))
9073
- return arr;
9074
- }
9075
- function _define_property$u(obj, key, value) {
9076
- if (key in obj) {
9077
- Object.defineProperty(obj, key, {
9078
- value,
9079
- enumerable: true,
9080
- configurable: true,
9081
- writable: true
9082
- });
9083
- } else {
9032
+ var styles$r = {
9033
+ root: {
9034
+ width: "100%",
9035
+ height: "100%"
9036
+ },
9037
+ day: {},
9038
+ datepicker: {},
9039
+ popper: {
9040
+ zIndex: 10,
9041
+ marginTop: function(param) {
9042
+ var topPosition = param.topPosition;
9043
+ return topPosition;
9044
+ },
9045
+ marginLeft: function(param) {
9046
+ var leftPosition = param.leftPosition;
9047
+ return leftPosition;
9048
+ },
9049
+ '&[data-placement^="bottom"]': {
9050
+ paddingTop: 6
9051
+ },
9052
+ '&[data-placement^="top"]': {
9053
+ paddingBottom: 6
9054
+ },
9055
+ '&[data-placement^="left"]': {
9056
+ paddingRight: 6
9057
+ },
9058
+ '&[data-placement^="right"]': {
9059
+ paddingLeft: 6
9060
+ }
9061
+ },
9062
+ tweakDateInput: {}
9063
+ };
9064
+ function _array_like_to_array$i(arr, len) {
9065
+ if (len == null || len > arr.length)
9066
+ len = arr.length;
9067
+ for (var i = 0, arr2 = new Array(len); i < len; i++)
9068
+ arr2[i] = arr[i];
9069
+ return arr2;
9070
+ }
9071
+ function _array_with_holes$i(arr) {
9072
+ if (Array.isArray(arr))
9073
+ return arr;
9074
+ }
9075
+ function _define_property$u(obj, key, value) {
9076
+ if (key in obj) {
9077
+ Object.defineProperty(obj, key, {
9078
+ value,
9079
+ enumerable: true,
9080
+ configurable: true,
9081
+ writable: true
9082
+ });
9083
+ } else {
9084
9084
  obj[key] = value;
9085
9085
  }
9086
9086
  return obj;
@@ -9260,7 +9260,7 @@
9260
9260
  "onKeyDown",
9261
9261
  "tweakStyles"
9262
9262
  ]);
9263
- var _useTheme = useTheme("DatePicker", styles$v, tweakStyles, {
9263
+ var _useTheme = useTheme("DatePicker", styles$r, tweakStyles, {
9264
9264
  leftPosition,
9265
9265
  topPosition
9266
9266
  }), classes = _useTheme.classes, componentStyles = _useTheme.componentStyles;
@@ -10311,6 +10311,27 @@
10311
10311
  ]
10312
10312
  }));
10313
10313
  };
10314
+ var MultiSelectLocales = {
10315
+ ru: {
10316
+ clear: "Очистить",
10317
+ all: "Все",
10318
+ chosen: "Выбранные",
10319
+ nothingFound: "Не найдено",
10320
+ searchPlaceholder: "Поиск"
10321
+ },
10322
+ en: {
10323
+ clear: "Clear",
10324
+ all: "All",
10325
+ chosen: "Chosen",
10326
+ nothingFound: "Nothing found",
10327
+ searchPlaceholder: "Search"
10328
+ }
10329
+ };
10330
+ var DEFAULT_LOCALE$1 = "en";
10331
+ var getLocale$1 = function() {
10332
+ var key = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : DEFAULT_LOCALE$1, custom = arguments.length > 1 ? arguments[1] : void 0, custom2 = arguments.length > 2 ? arguments[2] : void 0;
10333
+ return merge$1({}, MultiSelectLocales[key], custom, custom2);
10334
+ };
10314
10335
  function _define_property$q(obj, key, value) {
10315
10336
  if (key in obj) {
10316
10337
  Object.defineProperty(obj, key, {
@@ -10459,27 +10480,6 @@
10459
10480
  }
10460
10481
  }
10461
10482
  };
10462
- var MultiSelectLocales = {
10463
- ru: {
10464
- clear: "Очистить",
10465
- all: "Все",
10466
- chosen: "Выбранные",
10467
- nothingFound: "Не найдено",
10468
- searchPlaceholder: "Поиск"
10469
- },
10470
- en: {
10471
- clear: "Clear",
10472
- all: "All",
10473
- chosen: "Chosen",
10474
- nothingFound: "Nothing found",
10475
- searchPlaceholder: "Search"
10476
- }
10477
- };
10478
- var DEFAULT_LOCALE$1 = "en";
10479
- var getLocale$1 = function() {
10480
- var key = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : DEFAULT_LOCALE$1, custom = arguments.length > 1 ? arguments[1] : void 0, custom2 = arguments.length > 2 ? arguments[2] : void 0;
10481
- return merge$1({}, MultiSelectLocales[key], custom, custom2);
10482
- };
10483
10483
  function _array_like_to_array$f(arr, len) {
10484
10484
  if (len == null || len > arr.length)
10485
10485
  len = arr.length;
@@ -11235,6 +11235,27 @@
11235
11235
  function FilterMultiSelect(props) {
11236
11236
  return /* @__PURE__ */ jsx(MultiSelectList, _object_spread$n({}, props));
11237
11237
  }
11238
+ var SelectLocales = {
11239
+ ru: {
11240
+ clear: "Очистить",
11241
+ all: "Все",
11242
+ chosen: "Выбранные",
11243
+ nothingFound: "Ничего не найдено",
11244
+ searchPlaceholder: "Поиск"
11245
+ },
11246
+ en: {
11247
+ clear: "Clear",
11248
+ all: "All",
11249
+ chosen: "Chosen",
11250
+ nothingFound: "Nothing found",
11251
+ searchPlaceholder: "Search"
11252
+ }
11253
+ };
11254
+ var DEFAULT_LOCALE = "en";
11255
+ var getLocale = function() {
11256
+ var key = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : DEFAULT_LOCALE, custom = arguments.length > 1 ? arguments[1] : void 0, custom2 = arguments.length > 2 ? arguments[2] : void 0;
11257
+ return merge$1({}, SelectLocales[key], custom, custom2);
11258
+ };
11238
11259
  function _define_property$n(obj, key, value) {
11239
11260
  if (key in obj) {
11240
11261
  Object.defineProperty(obj, key, {
@@ -11411,27 +11432,6 @@
11411
11432
  }
11412
11433
  }
11413
11434
  };
11414
- var SelectLocales = {
11415
- ru: {
11416
- clear: "Очистить",
11417
- all: "Все",
11418
- chosen: "Выбранные",
11419
- nothingFound: "Ничего не найдено",
11420
- searchPlaceholder: "Поиск"
11421
- },
11422
- en: {
11423
- clear: "Clear",
11424
- all: "All",
11425
- chosen: "Chosen",
11426
- nothingFound: "Nothing found",
11427
- searchPlaceholder: "Search"
11428
- }
11429
- };
11430
- var DEFAULT_LOCALE = "en";
11431
- var getLocale = function() {
11432
- var key = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : DEFAULT_LOCALE, custom = arguments.length > 1 ? arguments[1] : void 0, custom2 = arguments.length > 2 ? arguments[2] : void 0;
11433
- return merge$1({}, SelectLocales[key], custom, custom2);
11434
- };
11435
11435
  function _array_like_to_array$e(arr, len) {
11436
11436
  if (len == null || len > arr.length)
11437
11437
  len = arr.length;
@@ -21083,206 +21083,83 @@
21083
21083
  className: classes.root
21084
21084
  });
21085
21085
  };
21086
- var STICKY_SHADOW_PADDING = 12;
21087
- var styles$f = {
21088
- root: {
21089
- position: "relative",
21090
- width: "100%",
21091
- borderCollapse: "separate",
21092
- borderSpacing: 0
21093
- },
21094
- row: {
21095
- position: "relative"
21096
- },
21097
- scroll: {
21098
- overflow: "auto",
21099
- /*
21100
- Чтобы сделать таблицу на всю высоту проставьте
21101
- height у родителя таблицы у себя в проекте.
21102
- Например: height: calc(100vh -{высота шапки}px)
21103
- */
21104
- maxHeight: "100%"
21105
- },
21106
- horizontallyScrolled: {
21107
- "& $cellSticky": {
21108
- boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
21086
+ function _instanceof(left2, right2) {
21087
+ if (right2 != null && typeof Symbol !== "undefined" && right2[Symbol.hasInstance]) {
21088
+ return !!right2[Symbol.hasInstance](left2);
21089
+ } else {
21090
+ return left2 instanceof right2;
21091
+ }
21092
+ }
21093
+ var DEFAULT_DATE_FORMAT = "dd.MM.yyyy";
21094
+ function TableValue(param) {
21095
+ var item = param.item, columnName = param.columnName, config = param.config, classes = param.classes, isFocusedRow = param.isFocusedRow, isSecond = param.isSecond, isSticky = param.isSticky, isNestedComponentExpanded = param.isNestedComponentExpanded, isRowNestedComponentExpanded = param.isRowNestedComponentExpanded, onSetNestedComponent = param.onSetNestedComponent;
21096
+ var itemConfig = config === null || config === void 0 ? void 0 : config[columnName];
21097
+ var value = item[columnName];
21098
+ var content = null;
21099
+ if (itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.component) {
21100
+ var ValueComponent = itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.component;
21101
+ content = ValueComponent({
21102
+ value,
21103
+ row: item,
21104
+ isFocusedRow,
21105
+ isNestedComponentExpanded,
21106
+ isRowNestedComponentExpanded,
21107
+ onSetNestedComponent
21108
+ });
21109
+ } else if (typeof value === "string" || typeof value === "number") {
21110
+ content = value;
21111
+ } else if (_instanceof(value, Date)) {
21112
+ content = dateFns.format(value, (itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.dateFormat) || DEFAULT_DATE_FORMAT);
21113
+ }
21114
+ return /* @__PURE__ */ jsx("td", {
21115
+ className: clsx(classes.root, isSticky && classes.sticky, isSecond && classes.second),
21116
+ style: {
21117
+ textAlign: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.cellAlign,
21118
+ position: isSticky ? "sticky" : itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.position,
21119
+ right: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.right,
21120
+ left: isSticky ? 0 : itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.left,
21121
+ verticalAlign: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.cellVerticalAlign
21109
21122
  },
21110
- "& $headerSticky::before": {
21111
- boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
21112
- }
21113
- },
21114
- loader: {
21115
- position: "sticky",
21116
- left: 0,
21117
- maxWidth: "100vw",
21118
- height: 48,
21119
- display: "flex",
21120
- justifyContent: "center",
21121
- alignItems: "center"
21122
- },
21123
- headerRow: {
21124
- verticalAlign: "bottom"
21125
- },
21126
- activeRow: {},
21127
- cell: {
21128
- position: "relative",
21129
- boxSizing: "content-box",
21130
- padding: [
21131
- 14,
21132
- 7,
21133
- 14,
21134
- 7
21135
- ],
21136
- fontSize: 14,
21137
- lineHeight: 1.42,
21138
- zIndex: 5,
21139
- verticalAlign: "top"
21140
- },
21141
- cellSticky: {
21142
- zIndex: 19,
21143
- paddingLeft: 24,
21144
- paddingRight: 12,
21145
- transition: [
21146
- "box-shadow",
21147
- "0.25s",
21148
- "ease-in-out"
21149
- ]
21150
- },
21151
- cellSecond: {
21152
- paddingLeft: STICKY_SHADOW_PADDING
21153
- },
21154
- header: {
21155
- position: "sticky",
21156
- boxSizing: "content-box",
21157
- top: 0,
21158
- zIndex: 10,
21159
- fontSize: 12,
21160
- fontWeight: "normal",
21161
- padding: [
21162
- 0,
21163
- 7,
21164
- 16,
21165
- 7
21166
- ]
21167
- },
21168
- headerSticky: {
21169
- zIndex: 20,
21170
- left: 0,
21171
- paddingLeft: 24,
21172
- paddingRight: 12,
21173
- "&::before": {
21174
- content: '""',
21175
- display: "block",
21176
- width: "100%",
21177
- height: "100%",
21178
- position: "absolute",
21179
- left: 0,
21180
- top: 0,
21181
- background: "transparent",
21182
- pointerEvents: "none",
21183
- zIndex: 1,
21184
- transition: [
21185
- "box-shadow",
21186
- "0.25s",
21187
- "ease-in-out"
21188
- ]
21189
- },
21190
- "&::after": {
21191
- content: '""',
21192
- display: "block",
21193
- width: STICKY_SHADOW_PADDING,
21194
- height: "100%",
21195
- position: "absolute",
21196
- left: "100%",
21197
- top: 0,
21198
- background: "linear-gradient(90deg, ".concat(colors.CLASSIC_WHITE, ", ").concat(rgba(colors.CLASSIC_WHITE, 0), ")"),
21199
- zIndex: 0
21200
- }
21201
- },
21202
- headerSecond: {
21203
- paddingLeft: STICKY_SHADOW_PADDING
21204
- },
21205
- editableRow: {
21206
- cursor: "pointer"
21207
- }
21208
- };
21209
- function _instanceof(left2, right2) {
21210
- if (right2 != null && typeof Symbol !== "undefined" && right2[Symbol.hasInstance]) {
21211
- return !!right2[Symbol.hasInstance](left2);
21212
- } else {
21213
- return left2 instanceof right2;
21214
- }
21215
- }
21216
- var DEFAULT_DATE_FORMAT = "dd.MM.yyyy";
21217
- function TableValue(param) {
21218
- var item = param.item, columnName = param.columnName, config = param.config, classes = param.classes, isFocusedRow = param.isFocusedRow, isSecond = param.isSecond, isSticky = param.isSticky, isNestedComponentExpanded = param.isNestedComponentExpanded, isRowNestedComponentExpanded = param.isRowNestedComponentExpanded, onSetNestedComponent = param.onSetNestedComponent;
21219
- var itemConfig = config === null || config === void 0 ? void 0 : config[columnName];
21220
- var value = item[columnName];
21221
- var content = null;
21222
- if (itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.component) {
21223
- var ValueComponent = itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.component;
21224
- content = ValueComponent({
21225
- value,
21226
- row: item,
21227
- isFocusedRow,
21228
- isNestedComponentExpanded,
21229
- isRowNestedComponentExpanded,
21230
- onSetNestedComponent
21231
- });
21232
- } else if (typeof value === "string" || typeof value === "number") {
21233
- content = value;
21234
- } else if (_instanceof(value, Date)) {
21235
- content = dateFns.format(value, (itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.dateFormat) || DEFAULT_DATE_FORMAT);
21236
- }
21237
- return /* @__PURE__ */ jsx("td", {
21238
- className: clsx(classes.root, isSticky && classes.sticky, isSecond && classes.second),
21239
- style: {
21240
- textAlign: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.cellAlign,
21241
- position: isSticky ? "sticky" : itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.position,
21242
- right: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.right,
21243
- left: isSticky ? 0 : itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.left,
21244
- verticalAlign: itemConfig === null || itemConfig === void 0 ? void 0 : itemConfig.cellVerticalAlign
21245
- },
21246
- children: content
21247
- }, columnName);
21248
- }
21249
- function _array_like_to_array$9(arr, len) {
21250
- if (len == null || len > arr.length)
21251
- len = arr.length;
21252
- for (var i = 0, arr2 = new Array(len); i < len; i++)
21253
- arr2[i] = arr[i];
21254
- return arr2;
21255
- }
21256
- function _array_with_holes$9(arr) {
21257
- if (Array.isArray(arr))
21258
- return arr;
21259
- }
21260
- function _define_property$g(obj, key, value) {
21261
- if (key in obj) {
21262
- Object.defineProperty(obj, key, {
21263
- value,
21264
- enumerable: true,
21265
- configurable: true,
21266
- writable: true
21267
- });
21268
- } else {
21269
- obj[key] = value;
21270
- }
21271
- return obj;
21272
- }
21273
- function _iterable_to_array_limit$9(arr, i) {
21274
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
21275
- if (_i == null)
21276
- return;
21277
- var _arr = [];
21278
- var _n = true;
21279
- var _d = false;
21280
- var _s, _e;
21281
- try {
21282
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
21283
- _arr.push(_s.value);
21284
- if (i && _arr.length === i)
21285
- break;
21123
+ children: content
21124
+ }, columnName);
21125
+ }
21126
+ function _array_like_to_array$9(arr, len) {
21127
+ if (len == null || len > arr.length)
21128
+ len = arr.length;
21129
+ for (var i = 0, arr2 = new Array(len); i < len; i++)
21130
+ arr2[i] = arr[i];
21131
+ return arr2;
21132
+ }
21133
+ function _array_with_holes$9(arr) {
21134
+ if (Array.isArray(arr))
21135
+ return arr;
21136
+ }
21137
+ function _define_property$g(obj, key, value) {
21138
+ if (key in obj) {
21139
+ Object.defineProperty(obj, key, {
21140
+ value,
21141
+ enumerable: true,
21142
+ configurable: true,
21143
+ writable: true
21144
+ });
21145
+ } else {
21146
+ obj[key] = value;
21147
+ }
21148
+ return obj;
21149
+ }
21150
+ function _iterable_to_array_limit$9(arr, i) {
21151
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
21152
+ if (_i == null)
21153
+ return;
21154
+ var _arr = [];
21155
+ var _n = true;
21156
+ var _d = false;
21157
+ var _s, _e;
21158
+ try {
21159
+ for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
21160
+ _arr.push(_s.value);
21161
+ if (i && _arr.length === i)
21162
+ break;
21286
21163
  }
21287
21164
  } catch (err) {
21288
21165
  _d = true;
@@ -21450,6 +21327,129 @@
21450
21327
  });
21451
21328
  }
21452
21329
  const TableRow$1 = /* @__PURE__ */ React.memo(TableRow);
21330
+ var STICKY_SHADOW_PADDING = 12;
21331
+ var styles$f = {
21332
+ root: {
21333
+ position: "relative",
21334
+ width: "100%",
21335
+ borderCollapse: "separate",
21336
+ borderSpacing: 0
21337
+ },
21338
+ row: {
21339
+ position: "relative"
21340
+ },
21341
+ scroll: {
21342
+ overflow: "auto",
21343
+ /*
21344
+ Чтобы сделать таблицу на всю высоту проставьте
21345
+ height у родителя таблицы у себя в проекте.
21346
+ Например: height: calc(100vh -{высота шапки}px)
21347
+ */
21348
+ maxHeight: "100%"
21349
+ },
21350
+ horizontallyScrolled: {
21351
+ "& $cellSticky": {
21352
+ boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
21353
+ },
21354
+ "& $headerSticky::before": {
21355
+ boxShadow: "4px 0 4px rgba(0, 0, 0, 0.05)"
21356
+ }
21357
+ },
21358
+ loader: {
21359
+ position: "sticky",
21360
+ left: 0,
21361
+ maxWidth: "100vw",
21362
+ height: 48,
21363
+ display: "flex",
21364
+ justifyContent: "center",
21365
+ alignItems: "center"
21366
+ },
21367
+ headerRow: {
21368
+ verticalAlign: "bottom"
21369
+ },
21370
+ activeRow: {},
21371
+ cell: {
21372
+ position: "relative",
21373
+ boxSizing: "content-box",
21374
+ padding: [
21375
+ 14,
21376
+ 7,
21377
+ 14,
21378
+ 7
21379
+ ],
21380
+ fontSize: 14,
21381
+ lineHeight: 1.42,
21382
+ zIndex: 5,
21383
+ verticalAlign: "top"
21384
+ },
21385
+ cellSticky: {
21386
+ zIndex: 19,
21387
+ paddingLeft: 24,
21388
+ paddingRight: 12,
21389
+ transition: [
21390
+ "box-shadow",
21391
+ "0.25s",
21392
+ "ease-in-out"
21393
+ ]
21394
+ },
21395
+ cellSecond: {
21396
+ paddingLeft: STICKY_SHADOW_PADDING
21397
+ },
21398
+ header: {
21399
+ position: "sticky",
21400
+ boxSizing: "content-box",
21401
+ top: 0,
21402
+ zIndex: 10,
21403
+ fontSize: 12,
21404
+ fontWeight: "normal",
21405
+ padding: [
21406
+ 0,
21407
+ 7,
21408
+ 16,
21409
+ 7
21410
+ ]
21411
+ },
21412
+ headerSticky: {
21413
+ zIndex: 20,
21414
+ left: 0,
21415
+ paddingLeft: 24,
21416
+ paddingRight: 12,
21417
+ "&::before": {
21418
+ content: '""',
21419
+ display: "block",
21420
+ width: "100%",
21421
+ height: "100%",
21422
+ position: "absolute",
21423
+ left: 0,
21424
+ top: 0,
21425
+ background: "transparent",
21426
+ pointerEvents: "none",
21427
+ zIndex: 1,
21428
+ transition: [
21429
+ "box-shadow",
21430
+ "0.25s",
21431
+ "ease-in-out"
21432
+ ]
21433
+ },
21434
+ "&::after": {
21435
+ content: '""',
21436
+ display: "block",
21437
+ width: STICKY_SHADOW_PADDING,
21438
+ height: "100%",
21439
+ position: "absolute",
21440
+ left: "100%",
21441
+ top: 0,
21442
+ background: "linear-gradient(90deg, ".concat(colors.CLASSIC_WHITE, ", ").concat(rgba(colors.CLASSIC_WHITE, 0), ")"),
21443
+ zIndex: 0
21444
+ }
21445
+ },
21446
+ headerSecond: {
21447
+ paddingLeft: STICKY_SHADOW_PADDING
21448
+ },
21449
+ editableRow: {
21450
+ cursor: "pointer"
21451
+ }
21452
+ };
21453
21453
  function _array_like_to_array$8(arr, len) {
21454
21454
  if (len == null || len > arr.length)
21455
21455
  len = arr.length;
@@ -22341,8 +22341,8 @@
22341
22341
  "unmountOnExit",
22342
22342
  "onClose"
22343
22343
  ]);
22344
- var _ref;
22345
- var isModalOpen = (_ref = isOpen !== null && isOpen !== void 0 ? isOpen : restProps.in) !== null && _ref !== void 0 ? _ref : false;
22344
+ var _restProps_in;
22345
+ var isModalOpen = (_restProps_in = restProps.in) !== null && _restProps_in !== void 0 ? _restProps_in : isOpen;
22346
22346
  var _useTheme = useTheme("Modal", styles$d, tweakStyles), classes = _useTheme.classes, componentStyles = _useTheme.componentStyles;
22347
22347
  var tweakCloseButtonStyles = useTweakStyles(componentStyles, tweakStyles, "tweakCloseButton");
22348
22348
  var _useState = _sliced_to_array$7(React.useState(false), 2), isClickOnOverlay = _useState[0], setIsClickOnOverlay = _useState[1];
@@ -22664,48 +22664,6 @@
22664
22664
  });
22665
22665
  };
22666
22666
  var styles$b = {
22667
- root: {
22668
- position: "relative",
22669
- boxSizing: "border-box",
22670
- height: "100%",
22671
- width: "100%",
22672
- cursor: "pointer",
22673
- fontSize: 16
22674
- },
22675
- required: {
22676
- "&:before": {
22677
- content: '""',
22678
- position: "absolute",
22679
- left: -12,
22680
- top: "50%",
22681
- transform: "translate(0, -50%)",
22682
- width: 6,
22683
- height: 6,
22684
- borderRadius: "50%"
22685
- }
22686
- },
22687
- disabled: {
22688
- cursor: "default"
22689
- },
22690
- listContainer: {
22691
- position: "absolute",
22692
- top: "calc(100% + 4px)",
22693
- left: -1,
22694
- right: -1,
22695
- zIndex: 2
22696
- },
22697
- invalid: {},
22698
- open: {},
22699
- full: {},
22700
- left: {},
22701
- right: {},
22702
- tweakMultiSelectList: {
22703
- root: {
22704
- width: "100%"
22705
- }
22706
- }
22707
- };
22708
- var styles$a = {
22709
22667
  root: {
22710
22668
  display: "flex",
22711
22669
  justifyContent: "center",
@@ -22773,7 +22731,7 @@
22773
22731
  };
22774
22732
  function MultiSelectInput(param) {
22775
22733
  var v = param.value, isOpen = param.isOpen, _param_isDisabled = param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_placeholder = param.placeholder, placeholder = _param_placeholder === void 0 ? "" : _param_placeholder, onToggle = param.onToggle;
22776
- var classes = useTheme("MultiSelectInput", styles$a).classes;
22734
+ var classes = useTheme("MultiSelectInput", styles$b).classes;
22777
22735
  var value = v === null || v === void 0 ? void 0 : v.include;
22778
22736
  return /* @__PURE__ */ jsxs("div", {
22779
22737
  className: classes.root,
@@ -22818,6 +22776,48 @@
22818
22776
  ]
22819
22777
  });
22820
22778
  }
22779
+ var styles$a = {
22780
+ root: {
22781
+ position: "relative",
22782
+ boxSizing: "border-box",
22783
+ height: "100%",
22784
+ width: "100%",
22785
+ cursor: "pointer",
22786
+ fontSize: 16
22787
+ },
22788
+ required: {
22789
+ "&:before": {
22790
+ content: '""',
22791
+ position: "absolute",
22792
+ left: -12,
22793
+ top: "50%",
22794
+ transform: "translate(0, -50%)",
22795
+ width: 6,
22796
+ height: 6,
22797
+ borderRadius: "50%"
22798
+ }
22799
+ },
22800
+ disabled: {
22801
+ cursor: "default"
22802
+ },
22803
+ listContainer: {
22804
+ position: "absolute",
22805
+ top: "calc(100% + 4px)",
22806
+ left: -1,
22807
+ right: -1,
22808
+ zIndex: 2
22809
+ },
22810
+ invalid: {},
22811
+ open: {},
22812
+ full: {},
22813
+ left: {},
22814
+ right: {},
22815
+ tweakMultiSelectList: {
22816
+ root: {
22817
+ width: "100%"
22818
+ }
22819
+ }
22820
+ };
22821
22821
  function _array_like_to_array$5(arr, len) {
22822
22822
  if (len == null || len > arr.length)
22823
22823
  len = arr.length;
@@ -22878,7 +22878,7 @@
22878
22878
  }
22879
22879
  function MultiSelect(param) {
22880
22880
  var value = param.value, _param_corners = param.corners, corners = _param_corners === void 0 ? "full" : _param_corners, isInvalid = param.isInvalid, isRequired = param.isRequired, _param_isDisabled = param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_placeholder = param.placeholder, placeholder = _param_placeholder === void 0 ? "" : _param_placeholder, localeKey = param.localeKey, locale2 = param.locale, onChange = param.onChange, fetchOptions = param.fetchOptions, tweakStyles = param.tweakStyles;
22881
- var _useTheme = useTheme("MultiSelect", styles$b, tweakStyles), classes = _useTheme.classes, componentStyles = _useTheme.componentStyles;
22881
+ var _useTheme = useTheme("MultiSelect", styles$a, tweakStyles), classes = _useTheme.classes, componentStyles = _useTheme.componentStyles;
22882
22882
  var _useState = _sliced_to_array$5(React.useState(false), 2), isOpen = _useState[0], setIsOpen = _useState[1];
22883
22883
  var ref = React.useRef(null);
22884
22884
  var handleOnClose = function() {
@@ -23351,75 +23351,6 @@
23351
23351
  value: currentValue
23352
23352
  }));
23353
23353
  });
23354
- var COUNTRY_SELECT_WIDTH = 80;
23355
- var styles$8 = {
23356
- root: {
23357
- width: "100%",
23358
- position: "relative",
23359
- boxSizing: "border-box"
23360
- },
23361
- countrySelectContainer: {
23362
- position: "absolute",
23363
- left: 1,
23364
- top: 1,
23365
- width: COUNTRY_SELECT_WIDTH,
23366
- height: dimensions.CONTROL_HEIGHT - 2,
23367
- display: "flex",
23368
- alignItems: "center",
23369
- justifyContent: "center",
23370
- borderRight: [
23371
- "solid",
23372
- 1,
23373
- colors.BORDER_MAIN
23374
- ],
23375
- transition: "border-color 0.2s ease-in",
23376
- cursor: "pointer",
23377
- zIndex: 2
23378
- },
23379
- disabledCountrySelect: {
23380
- cursor: "default"
23381
- },
23382
- flag: {
23383
- width: 22,
23384
- height: 16
23385
- },
23386
- arrow: {
23387
- width: 20,
23388
- color: colors.GREY_ACTIVE,
23389
- marginLeft: 8,
23390
- transition: "transform .2s ease"
23391
- },
23392
- up: {
23393
- transform: "rotate(180deg)"
23394
- },
23395
- invalidArrow: {
23396
- color: colors.RED_WARNING
23397
- },
23398
- focusedBorder: {},
23399
- invalidBorder: {
23400
- borderColor: colors.RED_WARNING
23401
- },
23402
- inputContainer: {
23403
- position: "relative",
23404
- flex: 1
23405
- },
23406
- flagListContainer: {
23407
- position: "absolute",
23408
- width: "100%",
23409
- top: dimensions.CONTROL_HEIGHT + 6,
23410
- left: -1,
23411
- zIndex: 3
23412
- },
23413
- tweakInput: {
23414
- inputWrapper: {
23415
- paddingLeft: COUNTRY_SELECT_WIDTH
23416
- },
23417
- label: {
23418
- marginLeft: COUNTRY_SELECT_WIDTH
23419
- }
23420
- },
23421
- tweakCountryList: {}
23422
- };
23423
23354
  var phoneInfo = [
23424
23355
  {
23425
23356
  countryEn: "Afghanistan",
@@ -26057,7 +25988,7 @@
26057
25988
  }
26058
25989
  var ROW_HEIGHT = 40;
26059
25990
  var LIST_PADDING = 10;
26060
- var styles$7 = {
25991
+ var styles$8 = {
26061
25992
  root: {
26062
25993
  borderRadius: dimensions.BORDER_RADIUS_SMALL,
26063
25994
  backgroundColor: colors.CLASSIC_WHITE,
@@ -26235,7 +26166,7 @@
26235
26166
  }
26236
26167
  var PhoneInputCountryList = function(param) {
26237
26168
  var locale2 = param.locale, placeholder = param.placeholder, selectedCountryCode = param.selectedCountryCode, closeList = param.closeList, noMatchesLabel = param.noMatchesLabel, onChange = param.onChange, tweakStyles = param.tweakStyles;
26238
- var _useTheme = useTheme("PhoneInputCountryList", styles$7, tweakStyles), classes = _useTheme.classes, componentStyles = _useTheme.componentStyles;
26169
+ var _useTheme = useTheme("PhoneInputCountryList", styles$8, tweakStyles), classes = _useTheme.classes, componentStyles = _useTheme.componentStyles;
26239
26170
  var tweakInputStyles = useTweakStyles(componentStyles, tweakStyles, "tweakInput");
26240
26171
  var sortedCountries = React.useMemo(function() {
26241
26172
  return sortCountriesByLocale(phoneInfo, locale2);
@@ -26352,6 +26283,75 @@
26352
26283
  ]
26353
26284
  });
26354
26285
  };
26286
+ var COUNTRY_SELECT_WIDTH = 80;
26287
+ var styles$7 = {
26288
+ root: {
26289
+ width: "100%",
26290
+ position: "relative",
26291
+ boxSizing: "border-box"
26292
+ },
26293
+ countrySelectContainer: {
26294
+ position: "absolute",
26295
+ left: 1,
26296
+ top: 1,
26297
+ width: COUNTRY_SELECT_WIDTH,
26298
+ height: dimensions.CONTROL_HEIGHT - 2,
26299
+ display: "flex",
26300
+ alignItems: "center",
26301
+ justifyContent: "center",
26302
+ borderRight: [
26303
+ "solid",
26304
+ 1,
26305
+ colors.BORDER_MAIN
26306
+ ],
26307
+ transition: "border-color 0.2s ease-in",
26308
+ cursor: "pointer",
26309
+ zIndex: 2
26310
+ },
26311
+ disabledCountrySelect: {
26312
+ cursor: "default"
26313
+ },
26314
+ flag: {
26315
+ width: 22,
26316
+ height: 16
26317
+ },
26318
+ arrow: {
26319
+ width: 20,
26320
+ color: colors.GREY_ACTIVE,
26321
+ marginLeft: 8,
26322
+ transition: "transform .2s ease"
26323
+ },
26324
+ up: {
26325
+ transform: "rotate(180deg)"
26326
+ },
26327
+ invalidArrow: {
26328
+ color: colors.RED_WARNING
26329
+ },
26330
+ focusedBorder: {},
26331
+ invalidBorder: {
26332
+ borderColor: colors.RED_WARNING
26333
+ },
26334
+ inputContainer: {
26335
+ position: "relative",
26336
+ flex: 1
26337
+ },
26338
+ flagListContainer: {
26339
+ position: "absolute",
26340
+ width: "100%",
26341
+ top: dimensions.CONTROL_HEIGHT + 6,
26342
+ left: -1,
26343
+ zIndex: 3
26344
+ },
26345
+ tweakInput: {
26346
+ inputWrapper: {
26347
+ paddingLeft: COUNTRY_SELECT_WIDTH
26348
+ },
26349
+ label: {
26350
+ marginLeft: COUNTRY_SELECT_WIDTH
26351
+ }
26352
+ },
26353
+ tweakCountryList: {}
26354
+ };
26355
26355
  function _array_like_to_array$2(arr, len) {
26356
26356
  if (len == null || len > arr.length)
26357
26357
  len = arr.length;
@@ -26487,7 +26487,7 @@
26487
26487
  "codeSearchPlaceholder",
26488
26488
  "noMatchesLabel"
26489
26489
  ]);
26490
- var _useTheme = useTheme("PhoneInput", styles$8, tweakStyles), classes = _useTheme.classes, componentStyles = _useTheme.componentStyles;
26490
+ var _useTheme = useTheme("PhoneInput", styles$7, tweakStyles), classes = _useTheme.classes, componentStyles = _useTheme.componentStyles;
26491
26491
  var list = React.useRef(null);
26492
26492
  var inputWrapper = React.useRef(null);
26493
26493
  var inputRef = React.useRef(null);