mimir-ui-kit 1.34.1 → 1.34.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. package/dist/{Input-DspsU5F4.js → Input-ChCIy5oY.js} +23 -27
  2. package/dist/{ProgressBar-DWKyrXzd.js → ProgressBar-CwLwhaeM.js} +23 -23
  3. package/dist/assets/Accordion.css +1 -1
  4. package/dist/assets/AccordionItem.css +1 -1
  5. package/dist/assets/Button.css +1 -1
  6. package/dist/assets/CheckboxMimir.css +1 -1
  7. package/dist/assets/Chip.css +1 -1
  8. package/dist/assets/Drawer.css +1 -1
  9. package/dist/assets/Input.css +1 -1
  10. package/dist/assets/InputPassword.css +1 -1
  11. package/dist/assets/Link.css +1 -1
  12. package/dist/assets/ListFiles.css +1 -1
  13. package/dist/assets/ListPhotos.css +1 -1
  14. package/dist/assets/MergedButton.css +1 -1
  15. package/dist/assets/NotificationBadge.css +1 -1
  16. package/dist/assets/OtpInput.css +1 -1
  17. package/dist/assets/Pagination.css +1 -1
  18. package/dist/assets/ProgressBar2.css +1 -1
  19. package/dist/assets/RadioGroup.css +1 -1
  20. package/dist/assets/SelectSearch.css +1 -1
  21. package/dist/assets/Slider.css +1 -1
  22. package/dist/assets/TabTrail.css +1 -1
  23. package/dist/assets/Tag.css +1 -1
  24. package/dist/assets/TextArea.css +1 -1
  25. package/dist/assets/Timer.css +1 -1
  26. package/dist/assets/Uploader.css +1 -1
  27. package/dist/assets/UploaderPhotos.css +1 -1
  28. package/dist/assets/Vote.css +1 -1
  29. package/dist/assets/index.css +1 -1
  30. package/dist/assets/styles.css +1 -1
  31. package/dist/components/Accordion/Accordion.js +16 -24
  32. package/dist/components/Accordion/AccordionItem/AccordionItem.js +3 -3
  33. package/dist/components/AnchorLink/Link.js +9 -9
  34. package/dist/components/Button/Button.js +33 -33
  35. package/dist/components/Button/types.js +1 -0
  36. package/dist/components/CheckboxMimir/CheckboxMimir.js +19 -16
  37. package/dist/components/Chip/Chip.js +12 -12
  38. package/dist/components/DatePicker/DatePicker.d.ts +18 -36
  39. package/dist/components/DatePicker/DatePicker.js +6 -46
  40. package/dist/components/DatePicker/DatePickerModal.js +60 -76
  41. package/dist/components/DatePicker/MonthPickerModal.js +6 -14
  42. package/dist/components/DatePicker/YearPickerModal.js +2 -2
  43. package/dist/components/Drawer/Drawer.d.ts +1 -1
  44. package/dist/components/Drawer/Drawer.js +20 -20
  45. package/dist/components/Input/Input.d.ts +1 -5
  46. package/dist/components/Input/Input.js +1 -1
  47. package/dist/components/Input/constants.d.ts +3 -5
  48. package/dist/components/Input/constants.js +3 -7
  49. package/dist/components/Input/index.d.ts +2 -2
  50. package/dist/components/Input/index.js +2 -3
  51. package/dist/components/Input/types.d.ts +6 -2
  52. package/dist/components/Input/types.js +1 -0
  53. package/dist/components/InputPassword/InputPassword.js +8 -8
  54. package/dist/components/InputPhoneNumber/InputPhoneNumber.js +1 -1
  55. package/dist/components/ListFiles/ListFiles.js +7 -7
  56. package/dist/components/ListPhotos/ListPhotos.js +4 -4
  57. package/dist/components/MergedButton/MergedButton.js +6 -6
  58. package/dist/components/NotificationBadge/NotificationBadge.js +4 -4
  59. package/dist/components/NotificationBadge/types.js +1 -0
  60. package/dist/components/OtpInput/OtpInput.js +5 -5
  61. package/dist/components/Pagination/Pagination.d.ts +3 -1
  62. package/dist/components/Pagination/Pagination.js +11 -7
  63. package/dist/components/Pagination/types.js +1 -0
  64. package/dist/components/RadioGroup/RadioGroup.js +9 -9
  65. package/dist/components/SelectSearch/SelectSearch.d.ts +2 -18
  66. package/dist/components/SelectSearch/SelectSearch.js +31 -47
  67. package/dist/components/SelectSearch/types.d.ts +4 -2
  68. package/dist/components/SelectSearch/types.js +1 -0
  69. package/dist/components/Slider/Slider.d.ts +2 -3
  70. package/dist/components/Slider/Slider.js +10 -12
  71. package/dist/components/Steps/Steps.d.ts +0 -4
  72. package/dist/components/Steps/Steps.js +1 -5
  73. package/dist/components/Steps/types.js +1 -0
  74. package/dist/components/TabTrail/TabTrail.d.ts +0 -8
  75. package/dist/components/TabTrail/TabTrail.js +17 -33
  76. package/dist/components/Tag/Tag.js +6 -6
  77. package/dist/components/Tag/types.js +1 -0
  78. package/dist/components/TextArea/TextArea.js +12 -14
  79. package/dist/components/TextArea/hooks.js +0 -4
  80. package/dist/components/TextArea/types.js +1 -0
  81. package/dist/components/Timer/Timer.js +1 -1
  82. package/dist/components/Toasts/ProgressBar.js +1 -1
  83. package/dist/components/Toasts/Toast.js +1 -1
  84. package/dist/components/Toasts/ToastList.js +1 -1
  85. package/dist/components/Toasts/ToastsProvider.js +1 -1
  86. package/dist/components/Toasts/types.js +1 -0
  87. package/dist/components/UniversalUploader/UniversalUploader.js +35 -21
  88. package/dist/components/UniversalUploader/types.js +1 -0
  89. package/dist/components/Uploader/Uploader.js +3 -3
  90. package/dist/components/UploaderFiles/UploaderFiles.js +1 -1
  91. package/dist/components/UploaderPhotos/UploaderPhotos.js +1 -1
  92. package/dist/components/Vote/Vote.d.ts +0 -8
  93. package/dist/components/Vote/Vote.js +4 -6
  94. package/dist/components/Vote/types.js +1 -0
  95. package/dist/components/index.d.ts +2 -14
  96. package/dist/components/index.js +2 -31
  97. package/dist/icons/Icon.js +1 -1
  98. package/dist/icons/components/types.js +1 -0
  99. package/dist/index.js +2 -31
  100. package/dist/{label-P7Xsi5N7.js → label-BTEGh6O_.js} +2 -2
  101. package/dist/styles.module-Ugsf0AOb.js +38 -0
  102. package/package.json +1 -1
  103. package/dist/assets/Avatar.css +0 -1
  104. package/dist/assets/GosZnak.css +0 -1
  105. package/dist/assets/InputRangeSlider.css +0 -1
  106. package/dist/assets/SkeletonCircle.css +0 -1
  107. package/dist/assets/SkeletonText.css +0 -1
  108. package/dist/assets/Switcher.css +0 -1
  109. package/dist/assets/TwinSwitcher.css +0 -1
  110. package/dist/assets/variant.css +0 -1
  111. package/dist/components/Avatar/Avatar.d.ts +0 -3
  112. package/dist/components/Avatar/Avatar.js +0 -62
  113. package/dist/components/Avatar/constants.d.ts +0 -5
  114. package/dist/components/Avatar/constants.js +0 -9
  115. package/dist/components/Avatar/index.d.ts +0 -3
  116. package/dist/components/Avatar/index.js +0 -6
  117. package/dist/components/Avatar/types.d.ts +0 -10
  118. package/dist/components/DatePicker/utils.d.ts +0 -2
  119. package/dist/components/DatePicker/utils.js +0 -16
  120. package/dist/components/GosZnak/GosZnak.d.ts +0 -4
  121. package/dist/components/GosZnak/GosZnak.js +0 -76
  122. package/dist/components/GosZnak/constants.d.ts +0 -11
  123. package/dist/components/GosZnak/constants.js +0 -17
  124. package/dist/components/GosZnak/index.d.ts +0 -3
  125. package/dist/components/GosZnak/index.js +0 -7
  126. package/dist/components/GosZnak/types.d.ts +0 -26
  127. package/dist/components/InputRangeSlider/InputRangeSlider.d.ts +0 -3
  128. package/dist/components/InputRangeSlider/InputRangeSlider.js +0 -219
  129. package/dist/components/InputRangeSlider/constants.d.ts +0 -10
  130. package/dist/components/InputRangeSlider/constants.js +0 -18
  131. package/dist/components/InputRangeSlider/index.d.ts +0 -3
  132. package/dist/components/InputRangeSlider/index.js +0 -7
  133. package/dist/components/InputRangeSlider/types.d.ts +0 -33
  134. package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.d.ts +0 -12
  135. package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.js +0 -34
  136. package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.d.ts +0 -9
  137. package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.js +0 -31
  138. package/dist/components/Skeleton/SkeletonText/SkeletonText.d.ts +0 -10
  139. package/dist/components/Skeleton/SkeletonText/SkeletonText.js +0 -49
  140. package/dist/components/Skeleton/constants.d.ts +0 -5
  141. package/dist/components/Skeleton/constants.js +0 -9
  142. package/dist/components/Skeleton/index.d.ts +0 -4
  143. package/dist/components/Skeleton/index.js +0 -10
  144. package/dist/components/Switcher/Switcher.d.ts +0 -3
  145. package/dist/components/Switcher/Switcher.js +0 -118
  146. package/dist/components/Switcher/constants.d.ts +0 -4
  147. package/dist/components/Switcher/constants.js +0 -8
  148. package/dist/components/Switcher/index.d.ts +0 -3
  149. package/dist/components/Switcher/index.js +0 -6
  150. package/dist/components/Switcher/types.d.ts +0 -30
  151. package/dist/components/TwinSwitcher/TwinSwitcher.d.ts +0 -10
  152. package/dist/components/TwinSwitcher/TwinSwitcher.js +0 -65
  153. package/dist/components/TwinSwitcher/index.d.ts +0 -1
  154. package/dist/components/TwinSwitcher/index.js +0 -4
  155. package/dist/field-bS4z9Sdl.js +0 -12
  156. package/dist/styles.module-B9L4B63y.js +0 -40
  157. package/dist/variant.module-BinTBzAV.js +0 -15
@@ -4,7 +4,7 @@ import { forwardRef, useState, useEffect } from "react";
4
4
  import { ListPhotos } from "../ListPhotos/ListPhotos.js";
5
5
  import { Uploader } from "../Uploader/Uploader.js";
6
6
  import '../../assets/UploaderPhotos.css';const cls = {
7
- "upload-file-wrapper": "_upload-file-wrapper_1a115_2"
7
+ "upload-file-wrapper": "_upload-file-wrapper_2zki8_2"
8
8
  };
9
9
  const UploaderPhotos = forwardRef(
10
10
  (props, ref) => {
@@ -65,10 +65,6 @@ export type TProps = TCommonVoteProps & {
65
65
  * Адаптивный шаг
66
66
  */
67
67
  resizable?: boolean;
68
- /**
69
- * Нужен ли сброс до нулевого значения.
70
- */
71
- needZeroValue?: boolean;
72
68
  /**
73
69
  * Класс для иконки шага
74
70
  */
@@ -149,10 +145,6 @@ export declare const Vote: import('react').ForwardRefExoticComponent<TCommonVote
149
145
  * Адаптивный шаг
150
146
  */
151
147
  resizable?: boolean;
152
- /**
153
- * Нужен ли сброс до нулевого значения.
154
- */
155
- needZeroValue?: boolean;
156
148
  /**
157
149
  * Класс для иконки шага
158
150
  */
@@ -4,9 +4,9 @@ import { forwardRef, useState, useEffect } from "react";
4
4
  import { DEFAULT_TITLE, EVoteSize, ZERO_VALUE } from "./constants.js";
5
5
  import { Steps } from "../Steps/Steps.js";
6
6
  import { ZERO_STEP, StepSize } from "../Steps/constants.js";
7
- import '../../assets/Vote.css';const container = "_container_17n0d_2";
8
- const title = "_title_17n0d_9";
9
- const score = "_score_17n0d_16";
7
+ import '../../assets/Vote.css';const container = "_container_1akd9_2";
8
+ const title = "_title_1akd9_9";
9
+ const score = "_score_1akd9_16";
10
10
  const cls = {
11
11
  container,
12
12
  title,
@@ -21,7 +21,6 @@ const Vote = forwardRef((props, ref) => {
21
21
  stepsStepClassName,
22
22
  title: title2 = DEFAULT_TITLE,
23
23
  withoutTitle = false,
24
- needZeroValue = true,
25
24
  quantity,
26
25
  current = ZERO_STEP,
27
26
  size = EVoteSize.M,
@@ -52,7 +51,7 @@ const Vote = forwardRef((props, ref) => {
52
51
  }, [score2, zones, unselectedColor, isZeroStep]);
53
52
  const handleStepsClick = (step) => {
54
53
  setScore(step);
55
- onClick == null ? void 0 : onClick(step);
54
+ onClick && onClick(step);
56
55
  };
57
56
  const handleHoverStepEnter = (step) => {
58
57
  setHoveredScore(step + 1);
@@ -99,7 +98,6 @@ const Vote = forwardRef((props, ref) => {
99
98
  size: EVoteSize.L,
100
99
  current: score2,
101
100
  editable: true,
102
- needZeroValue,
103
101
  resizable,
104
102
  disabled,
105
103
  onClick: handleStepsClick,
@@ -0,0 +1 @@
1
+
@@ -1,6 +1,6 @@
1
1
  export { Button, EButtonForm, EButtonSize, EButtonVariantDefault, EButtonVariantRound, EButtonVariantOutline, EButtonVariantBorderless, type TButtonProps } from './Button';
2
- export { Input, EInputSize, EInputVariant, EInputStatus } from './Input';
3
- export type { TInputProps, TSize, TVariant, TStatus } from './Input';
2
+ export { Input, EInputSize, EInputVariant } from './Input';
3
+ export type { TInputProps, TSize, TVariant } from './Input';
4
4
  export { TextArea } from './TextArea';
5
5
  export type { TTextAreaProps } from './TextArea';
6
6
  export { InputPassword } from './InputPassword';
@@ -44,15 +44,3 @@ export { ENotificationBadgeSize } from './NotificationBadge';
44
44
  export { Chip, EChipSize, EChipVariant } from './Chip';
45
45
  export { UniversalUploader, EUploaderType } from './UniversalUploader';
46
46
  export type { TUniversalUploader, TOnChangeUpdate, TPhotoWithType, TFileWithType } from './UniversalUploader';
47
- export { InputRangeSlider, EInputRangeSliderBorderState, EInputRangeSliderPositions } from './InputRangeSlider';
48
- export type { TInputRangeSliderProps } from './InputRangeSlider';
49
- export { GosZnak } from './GosZnak';
50
- export { EGosZnakSize, EGosZnakType } from './GosZnak';
51
- export type { TGosZnakProps } from './GosZnak';
52
- export { Switcher } from './Switcher';
53
- export { ELabelPositions } from './Switcher';
54
- export type { TSwitcherProps } from './Switcher';
55
- export { TwinSwitcher } from './TwinSwitcher';
56
- export { ESkeletonVariant, SkeletonBrick, SkeletonCircle, SkeletonText } from './Skeleton';
57
- export { Avatar, EAvatarSize } from './Avatar';
58
- export type { TAvatarProps, TAvatarSize } from './Avatar';
@@ -1,7 +1,7 @@
1
1
  import { Button } from "./Button/Button.js";
2
2
  import { EButtonForm, EButtonSize, EButtonVariantBorderless, EButtonVariantDefault, EButtonVariantOutline, EButtonVariantRound } from "./Button/constants.js";
3
- import { I } from "../Input-DspsU5F4.js";
4
- import { EInputSize, EInputStatus, EInputVariant } from "./Input/constants.js";
3
+ import { I } from "../Input-ChCIy5oY.js";
4
+ import { EInputSize, EInputVariant } from "./Input/constants.js";
5
5
  import { TextArea } from "./TextArea/TextArea.js";
6
6
  import { InputPassword } from "./InputPassword/InputPassword.js";
7
7
  import { InputPhoneNumber } from "./InputPhoneNumber/InputPhoneNumber.js";
@@ -45,30 +45,15 @@ import { Chip } from "./Chip/Chip.js";
45
45
  import { EChipSize, EChipVariant } from "./Chip/constants.js";
46
46
  import { UniversalUploader } from "./UniversalUploader/UniversalUploader.js";
47
47
  import { EUploaderType } from "./UniversalUploader/constants.js";
48
- import { InputRangeSlider } from "./InputRangeSlider/InputRangeSlider.js";
49
- import { EInputRangeSliderBorderState, EInputRangeSliderPositions } from "./InputRangeSlider/constants.js";
50
- import { GosZnak } from "./GosZnak/GosZnak.js";
51
- import { EGosZnakSize, EGosZnakType } from "./GosZnak/constants.js";
52
- import { Switcher } from "./Switcher/Switcher.js";
53
- import { ELabelPositions } from "./Switcher/constants.js";
54
- import { TwinSwitcher } from "./TwinSwitcher/TwinSwitcher.js";
55
- import { SkeletonBrick } from "./Skeleton/SkeletonBrick/SkeletonBrick.js";
56
- import { SkeletonText } from "./Skeleton/SkeletonText/SkeletonText.js";
57
- import { SkeletonCircle } from "./Skeleton/SkeletonCircle/SkeletonCircle.js";
58
- import { ESkeletonVariant } from "./Skeleton/constants.js";
59
- import { Avatar } from "./Avatar/Avatar.js";
60
- import { EAvatarSize } from "./Avatar/constants.js";
61
48
  export {
62
49
  Accordion,
63
50
  AccordionItem,
64
- Avatar,
65
51
  Button,
66
52
  CheckboxMimir,
67
53
  Chip,
68
54
  DatePicker,
69
55
  Drawer,
70
56
  EAccordionSize,
71
- EAvatarSize,
72
57
  EButtonForm,
73
58
  EButtonSize,
74
59
  EButtonVariantBorderless,
@@ -78,20 +63,13 @@ export {
78
63
  EChipSize,
79
64
  EChipVariant,
80
65
  EDrawerPosition,
81
- EGosZnakSize,
82
- EGosZnakType,
83
- EInputRangeSliderBorderState,
84
- EInputRangeSliderPositions,
85
66
  EInputSize,
86
- EInputStatus,
87
67
  EInputVariant,
88
- ELabelPositions,
89
68
  ELinkSize,
90
69
  ELinkVariant,
91
70
  EMergedButtonVariantRound,
92
71
  ENotificationBadgeSize,
93
72
  ESelectSearchSize,
94
- ESkeletonVariant,
95
73
  EStepColor,
96
74
  EStepsSize,
97
75
  ETabTrailSize,
@@ -101,12 +79,10 @@ export {
101
79
  EToastVariant,
102
80
  EUploaderType,
103
81
  EVoteSize,
104
- GosZnak,
105
82
  AppImage as Image,
106
83
  I as Input,
107
84
  InputPassword,
108
85
  InputPhoneNumber,
109
- InputRangeSlider,
110
86
  Link,
111
87
  Loader,
112
88
  MergedButton,
@@ -115,18 +91,13 @@ export {
115
91
  Pagination,
116
92
  RadioGroup,
117
93
  SelectSearch,
118
- SkeletonBrick,
119
- SkeletonCircle,
120
- SkeletonText,
121
94
  Slider,
122
95
  Steps,
123
- Switcher,
124
96
  TabTrail,
125
97
  Tag,
126
98
  TextArea,
127
99
  Timer,
128
100
  ToastProvider,
129
- TwinSwitcher,
130
101
  UniversalUploader,
131
102
  Uploader,
132
103
  UploaderPhotos,
@@ -6,7 +6,7 @@ const Icon = ({ iconName, ...props }) => {
6
6
  if (!Component) {
7
7
  return null;
8
8
  }
9
- return /* @__PURE__ */ jsx(Suspense, { fallback: null, children: /* @__PURE__ */ jsx(Component, { ...props, "data-testid": iconName }) });
9
+ return /* @__PURE__ */ jsx(Suspense, { fallback: null, children: /* @__PURE__ */ jsx(Component, { ...props }) });
10
10
  };
11
11
  export {
12
12
  Icon
@@ -0,0 +1 @@
1
+
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Button } from "./components/Button/Button.js";
2
2
  import { EButtonForm, EButtonSize, EButtonVariantBorderless, EButtonVariantDefault, EButtonVariantOutline, EButtonVariantRound } from "./components/Button/constants.js";
3
- import { I } from "./Input-DspsU5F4.js";
4
- import { EInputSize, EInputStatus, EInputVariant } from "./components/Input/constants.js";
3
+ import { I } from "./Input-ChCIy5oY.js";
4
+ import { EInputSize, EInputVariant } from "./components/Input/constants.js";
5
5
  import { TextArea } from "./components/TextArea/TextArea.js";
6
6
  import { InputPassword } from "./components/InputPassword/InputPassword.js";
7
7
  import { InputPhoneNumber } from "./components/InputPhoneNumber/InputPhoneNumber.js";
@@ -45,19 +45,6 @@ import { Chip } from "./components/Chip/Chip.js";
45
45
  import { EChipSize, EChipVariant } from "./components/Chip/constants.js";
46
46
  import { UniversalUploader } from "./components/UniversalUploader/UniversalUploader.js";
47
47
  import { EUploaderType } from "./components/UniversalUploader/constants.js";
48
- import { InputRangeSlider } from "./components/InputRangeSlider/InputRangeSlider.js";
49
- import { EInputRangeSliderBorderState, EInputRangeSliderPositions } from "./components/InputRangeSlider/constants.js";
50
- import { GosZnak } from "./components/GosZnak/GosZnak.js";
51
- import { EGosZnakSize, EGosZnakType } from "./components/GosZnak/constants.js";
52
- import { Switcher } from "./components/Switcher/Switcher.js";
53
- import { ELabelPositions } from "./components/Switcher/constants.js";
54
- import { TwinSwitcher } from "./components/TwinSwitcher/TwinSwitcher.js";
55
- import { SkeletonBrick } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
56
- import { SkeletonText } from "./components/Skeleton/SkeletonText/SkeletonText.js";
57
- import { SkeletonCircle } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
58
- import { ESkeletonVariant } from "./components/Skeleton/constants.js";
59
- import { Avatar } from "./components/Avatar/Avatar.js";
60
- import { EAvatarSize } from "./components/Avatar/constants.js";
61
48
  import { useMediaQuery } from "./hooks/useMediaQuery/useMediaQuery.js";
62
49
  import { EMediaQuery, EMinMediaQuery } from "./hooks/useMediaQuery/constants.js";
63
50
  import { useLockBodyScroll } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
@@ -72,14 +59,12 @@ import { parseDate } from "./utils/formating/Date.js";
72
59
  import './assets/index.css';export {
73
60
  Accordion,
74
61
  AccordionItem,
75
- Avatar,
76
62
  Button,
77
63
  CheckboxMimir,
78
64
  Chip,
79
65
  DatePicker,
80
66
  Drawer,
81
67
  EAccordionSize,
82
- EAvatarSize,
83
68
  EButtonForm,
84
69
  EButtonSize,
85
70
  EButtonVariantBorderless,
@@ -89,14 +74,8 @@ import './assets/index.css';export {
89
74
  EChipSize,
90
75
  EChipVariant,
91
76
  EDrawerPosition,
92
- EGosZnakSize,
93
- EGosZnakType,
94
- EInputRangeSliderBorderState,
95
- EInputRangeSliderPositions,
96
77
  EInputSize,
97
- EInputStatus,
98
78
  EInputVariant,
99
- ELabelPositions,
100
79
  ELinkSize,
101
80
  ELinkVariant,
102
81
  EMediaQuery,
@@ -104,7 +83,6 @@ import './assets/index.css';export {
104
83
  EMinMediaQuery,
105
84
  ENotificationBadgeSize,
106
85
  ESelectSearchSize,
107
- ESkeletonVariant,
108
86
  EStepColor,
109
87
  EStepsSize,
110
88
  ETabTrailSize,
@@ -114,13 +92,11 @@ import './assets/index.css';export {
114
92
  EToastVariant,
115
93
  EUploaderType,
116
94
  EVoteSize,
117
- GosZnak,
118
95
  Icon,
119
96
  AppImage as Image,
120
97
  I as Input,
121
98
  InputPassword,
122
99
  InputPhoneNumber,
123
- InputRangeSlider,
124
100
  Link,
125
101
  Loader,
126
102
  MergedButton,
@@ -129,18 +105,13 @@ import './assets/index.css';export {
129
105
  Pagination,
130
106
  RadioGroup,
131
107
  SelectSearch,
132
- SkeletonBrick,
133
- SkeletonCircle,
134
- SkeletonText,
135
108
  Slider,
136
109
  Steps,
137
- Switcher,
138
110
  TabTrail,
139
111
  Tag,
140
112
  TextArea,
141
113
  Timer,
142
114
  ToastProvider,
143
- TwinSwitcher,
144
115
  UniversalUploader,
145
116
  Uploader,
146
117
  UploaderPhotos,
@@ -161,10 +161,10 @@ export {
161
161
  U$1 as U,
162
162
  W,
163
163
  a$1 as a,
164
- l as b,
164
+ l$1 as b,
165
165
  f$1 as f,
166
166
  j,
167
- l$1 as l,
167
+ l,
168
168
  p,
169
169
  u,
170
170
  w,
@@ -0,0 +1,38 @@
1
+ import './assets/styles.css';const input = "_input_fbbrm_2";
2
+ const inputBorderControl = "_inputBorderControl_fbbrm_14";
3
+ const wrapper = "_wrapper_fbbrm_44";
4
+ const active = "_active_fbbrm_50";
5
+ const button = "_button_fbbrm_38";
6
+ const h = "_h_fbbrm_101";
7
+ const b = "_b_fbbrm_38";
8
+ const d = "_d_fbbrm_10";
9
+ const m = "_m_fbbrm_122";
10
+ const a = "_a_fbbrm_50";
11
+ const prev = "_prev_fbbrm_124";
12
+ const orange = "_orange_fbbrm_140";
13
+ const current = "_current_fbbrm_165";
14
+ const monthGrid = "_monthGrid_fbbrm_170";
15
+ const cls = {
16
+ input,
17
+ "input-wrapper": "_input-wrapper_fbbrm_6",
18
+ "date-wrapper": "_date-wrapper_fbbrm_10",
19
+ inputBorderControl,
20
+ "button-wrapper": "_button-wrapper_fbbrm_38",
21
+ wrapper,
22
+ active,
23
+ button,
24
+ "field-overlow": "_field-overlow_fbbrm_72",
25
+ "calendar-block": "_calendar-block_fbbrm_78",
26
+ h,
27
+ b,
28
+ d,
29
+ m,
30
+ a,
31
+ prev,
32
+ orange,
33
+ current,
34
+ monthGrid
35
+ };
36
+ export {
37
+ cls as c
38
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mimir-ui-kit",
3
3
  "private": false,
4
- "version": "1.34.1",
4
+ "version": "1.34.2",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {
@@ -1 +0,0 @@
1
- ._avatar_58dyx_2{position:relative;display:flex;align-items:center;justify-content:center;width:var(--avatar-width);height:var(--avatar-height);-o-object-fit:cover;object-fit:cover;border-radius:50%}._avatar_58dyx_2 image{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:50%}._s_58dyx_19{--avatar-width: 32px;--avatar-height: 32px}._m_58dyx_24{--avatar-width: 40px;--avatar-height: 40px}._l_58dyx_29{--avatar-width: 48px;--avatar-height: 48px}._default_58dyx_34{background-color:var(--black-5)}
@@ -1 +0,0 @@
1
- ._gos-znak_dr109_2{display:inline-flex;align-items:center;width:var(--gos-znak-width);height:var(--gos-znak-height);overflow:hidden;background-color:var(--gos-znak-background-color);border-radius:var(--mimir-control-radius-xs1);outline:1px solid var(--gos-znak-outline-color)}._number_dr109_13{font-weight:var(--mimir-font-weight-text-medium);font-size:var(--gos-znak-number-font-size);font-family:var(--mimir-font-montserrat);line-height:var(--mimir-line-height-text-xss);letter-spacing:-.02em;text-align:center;text-transform:lowercase}._number-container_dr109_22{display:flex;align-items:center;justify-content:center;min-width:var(--gos-znak-number-container-width);height:100%;overflow:hidden;border-right:1px solid var(--number-border-right-color)}._region_dr109_32{font-weight:var(--mimir-font-weight-text-regular);font-size:var(--gos-znak-region-text-size);font-family:var(--mimir-font-inter);line-height:var(--mimir-line-height-text-l)}._region-container_dr109_38{display:flex;flex-direction:column;align-items:center;width:100%;overflow:hidden}._country_dr109_46{color:var(--gos-znak-country-color);font-size:var(--gos-znak-country-text-size);line-height:var(--mimir-line-height-text-s1);text-transform:uppercase}._l_dr109_53{--gos-znak-number-font-size: var(--mimir-size-text-xl3);--gos-znak-region-text-size: var(--mimir-size-text-xl);--gos-znak-country-text-size: var(--mimir-size-text-l);--gos-znak-number-container-width: 172px;--gos-znak-width: 242px;--gos-znak-height: 64px}._s_dr109_62{--gos-znak-number-font-size: var(--mimir-size-text-l);--gos-znak-region-text-size: var(--mimir-size-text-xs);--gos-znak-country-text-size: var(--mimir-size-text-xs2);--gos-znak-number-container-width: 86px;--gos-znak-width: 121px;--gos-znak-height: 32px}._normal_dr109_71{--gos-znak-background-color: var(--white);--gos-znak-outline-color: var(--black-20);--number-border-right-color: var(--black-20);--gos-znak-country-color: var(--black-60)}._traffic_dr109_78{--gos-znak-background-color: var(--gos-znak-traffic-background-color);--gos-znak-outline-color: var(--gos-znak-military-background-color);--number-border-right-color: var(--gos-znak-military-background-color);--gos-znak-country-color: var(--black-60)}._military_dr109_85{--gos-znak-background-color: var(--gos-znak-military-background-color);--gos-znak-outline-color: var(--black-5);--number-border-right-color: var(--black-5);--gos-znak-country-color: var(--black-30)}._police_dr109_92{--gos-znak-background-color: var(--gos-znak-police-background-color);--gos-znak-outline-color: var(--black-5);--number-border-right-color: var(--black-5);--gos-znak-country-color: var(--sapphire-30)}._diplomatic_dr109_99{--gos-znak-background-color: var(--gos-znak-diplomatic-background-color);--gos-znak-outline-color: var(--black-5);--number-border-right-color: var(--black-5);--gos-znak-country-color: var(--gos-znak-diplomatic-country-color)}._military_dr109_85,._police_dr109_92,._diplomatic_dr109_99{color:var(--white)}
@@ -1 +0,0 @@
1
- ._main-wrapper_1kfjr_2{display:flex;flex-direction:column;min-height:46px}._wrapper_1kfjr_8{--thumb-width: 42px;--thumb-height: 16px;--default-z-index: 3;position:relative;display:flex;align-items:flex-end;height:16px;height:var(--thumb-height)}._input-wrapper_1kfjr_18{position:absolute;align-self:flex-end;width:calc(100% + var(--thumb-width));height:var(--thumb-height);margin:0 calc(var(--thumb-width) / -2)}._info-wrapper_1kfjr_26{display:flex;flex:1;align-items:center;align-self:flex-start;justify-content:space-between;width:100%;height:20px}._control-wrapper_1kfjr_36{position:absolute;width:100%;height:var(--thumb-height)}._input_1kfjr_18{position:absolute;bottom:0;z-index:var(--default-z-index);width:100%;padding:0;opacity:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}._input_1kfjr_18::-ms-track{background:transparent;border:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}._input_1kfjr_18::-moz-range-track{background:transparent;border:transparent;-moz-appearance:none;-webkit-appearance:none;appearance:none}._input_1kfjr_18:focus::-webkit-slider-runnable-track{background:transparent;border:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}._input_1kfjr_18::-ms-thumb{position:relative;width:var(--thumb-width);height:var(--thumb-height);border:0 none;border-radius:0;transform:translate3d(0,calc(-50% + 2px),0);cursor:grab;-webkit-appearance:none;-moz-appearance:none;appearance:none;pointer-events:all}._input_1kfjr_18::-ms-thumb:active{cursor:grabbing}._input_1kfjr_18::-moz-range-thumb{position:relative;width:var(--thumb-width);height:var(--thumb-height);border:0 none;border-radius:0;transform:translate3d(0,calc(-50% + 2px),0);cursor:grab;-moz-appearance:none;-webkit-appearance:none;appearance:none;pointer-events:all}._input_1kfjr_18::-moz-range-thumb:active{cursor:grabbing}._input_1kfjr_18::-webkit-slider-thumb{position:relative;width:var(--thumb-width);height:var(--thumb-height);border:0 none;border-radius:0;transform:translate3d(0,calc(-50% + 2px),0);cursor:grab;-webkit-appearance:none;-moz-appearance:none;appearance:none;pointer-events:all}._input_1kfjr_18::-webkit-slider-thumb:active{cursor:grabbing}._input_1kfjr_18._equal-value_1kfjr_108{z-index:calc(var(--default-z-index) + 1)}._input_1kfjr_18._is-double-range_1kfjr_111{pointer-events:none}._rail_1kfjr_115{position:absolute;top:50%;width:100%;height:2px;background-color:var(--sapphire-normal);transform:translateY(-50%);transition:all .1s ease}._rail_1kfjr_115._off_1kfjr_124._right_1kfjr_124,._rail_1kfjr_115._off_1kfjr_124._double-range_1kfjr_124{background-color:transparent}._rail_1kfjr_115._double-range_1kfjr_124,._rail_1kfjr_115._right_1kfjr_124{background-color:var(--black-30)}._inner-rail_1kfjr_134{position:absolute;top:50%;height:2px;background-color:var(--black-30);transform:translateY(-50%);transition:all .1s ease}._inner-rail_1kfjr_134._off_1kfjr_124._right_1kfjr_124{background-color:var(--sapphire-normal)}._inner-rail_1kfjr_134._off_1kfjr_124._left_1kfjr_145{background-color:transparent}._inner-rail_1kfjr_134._off_1kfjr_124._double-range_1kfjr_124,._inner-rail_1kfjr_134._double-range_1kfjr_124,._inner-rail_1kfjr_134._right_1kfjr_124{background-color:var(--sapphire-normal)}._control_1kfjr_36{position:absolute;top:0;z-index:calc(var(--default-z-index) - 1);width:var(--thumb-width);height:var(--thumb-height);margin-left:calc(var(--thumb-width) / -2);background-color:var(--sapphire-normal);border-radius:var(--mimir-control-radius-xs2);transform:translate3d(0,calc(-50% + 2px),0);transition:all .1s ease}._control_1kfjr_36._disabled_1kfjr_170{background-color:var(--disabled)}
@@ -1 +0,0 @@
1
- ._skeleton-circle_kxuh3_2{border-radius:50%}
@@ -1 +0,0 @@
1
- ._skeleton-text_1ks6f_2{display:flex;flex-direction:column;width:100%;row-gap:var(--mimir-space-xs)}._row_1ks6f_9{display:flex;align-items:center}
@@ -1 +0,0 @@
1
- ._switcher-wrapper_gu0m2_2{--switcher-width: 40px;--switcher-height: 24px;--switcher-bg-color: var(--asphalt-normal);--switcher-thumb-size: 22px;--switcher-thumb-offset: 1px;--switcher-thumb-transform: translateX(var(--mimir-space-m));display:flex;align-items:center;width:-webkit-max-content;width:-moz-max-content;width:max-content;-moz-column-gap:var(--mimir-space-xs);column-gap:var(--mimir-space-xs)}._switcher-wrapper_gu0m2_2._left_gu0m2_14{flex-direction:row}._switcher-wrapper_gu0m2_2._right_gu0m2_17{flex-direction:row-reverse}._label_gu0m2_21{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}._switcher_gu0m2_2{position:relative;width:var(--switcher-width);height:var(--switcher-height);background-color:var(--switcher-bg-color);border-radius:var(--mimir-control-input-radius);cursor:pointer;transition:background-color .2s ease-in-out}._switcher_gu0m2_2:focus-visible,._switcher_gu0m2_2:active{box-shadow:var(--mimir-box-shadow-default)}._switcher_gu0m2_2:hover{--switcher-bg-color: var(--asphalt-hover)}._switcher_gu0m2_2:disabled{--switcher-bg-color: var(--disabled)}._switcher_gu0m2_2._switcher-checked_gu0m2_45{--switcher-bg-color: var(--sapphire-normal)}._switcher_gu0m2_2._switcher-checked_gu0m2_45:hover{--switcher-bg-color: var(--sapphire-hover)}._switcher_gu0m2_2._switcher-checked_gu0m2_45:disabled{--switcher-bg-color: var(--mimir-control-default)}._switcher-thumb_gu0m2_55{position:absolute;top:var(--switcher-thumb-offset);left:var(--switcher-thumb-offset);width:var(--switcher-thumb-size);height:var(--switcher-thumb-size);background-color:#fff;border-radius:50%;transition:transform .2s ease-in-out}._switcher-thumb_gu0m2_55._switcher-checked-thumb_gu0m2_65{transform:var(--switcher-thumb-transform)}
@@ -1 +0,0 @@
1
- ._twin-switcher_1r3h0_2[id*=twin-switcher]{--twin-switcher-bg-color: var(--citrine-normal);--twin-switcher-width: calc(var(--switcher-width) + 7px);--twin-switcher-thumb-icon-size: 20px;--twin-switcher-thumb-transform: translateX( calc(var(--mimir-space-m) + 7px) );width:var(--twin-switcher-width);background-color:var(--twin-switcher-bg-color)}._twin-switcher_1r3h0_2[id*=twin-switcher]:hover{--twin-switcher-bg-color: var(--citrine-hover)}._twin-switcher_1r3h0_2[id*=twin-switcher]:disabled{--twin-switcher-bg-color: var(--disabled)}._twin-switcher_1r3h0_2[id*=twin-switcher]._twin-switcher-checked_1r3h0_18{--twin-switcher-bg-color: var(--sapphire-normal)}._twin-switcher_1r3h0_2[id*=twin-switcher]._twin-switcher-checked_1r3h0_18:hover{--twin-switcher-bg-color: var(--sapphire-hover)}._twin-switcher_1r3h0_2[id*=twin-switcher]._twin-switcher-checked_1r3h0_18:disabled{--twin-switcher-bg-color: var(--mimir-control-default)}._twin-switcher_1r3h0_2 ._twin-switcher-thumb_1r3h0_27._twin-switcher-checked-thumb_1r3h0_27{transform:var(--twin-switcher-thumb-transform)}._twin-switcher_1r3h0_2 ._icon_1r3h0_30{position:absolute;top:50%;display:flex;align-items:center;justify-content:center;width:var(--twin-switcher-thumb-icon-size);height:var(--twin-switcher-thumb-icon-size);color:var(--white);font-size:var(--mimir-size-text-l);transform:translateY(-50%);transition:opacity .3s ease}._twin-switcher_1r3h0_2 ._left-icon_1r3h0_43{left:var(--mimir-space-2xs)}._twin-switcher_1r3h0_2 ._right-icon_1r3h0_46{right:var(--mimir-space-2xs)}
@@ -1 +0,0 @@
1
- @keyframes _wave-white_c8ueu_1{0%{background-color:var(--black-20)}25%{background-color:var(--black-15)}50%{background-color:var(--black-10)}75%{background-color:var(--black-15)}to{background-color:var(--black-20)}}@keyframes _wave-black_c8ueu_1{0%{background-color:var(--black-80)}25%{background-color:var(--black-70)}50%{background-color:var(--black-65)}75%{background-color:var(--black-70)}to{background-color:var(--black-80)}}@keyframes _wave-dark-gray_c8ueu_1{0%{background-color:var(--black-70)}25%{background-color:var(--black-60)}50%{background-color:var(--black-65)}75%{background-color:var(--black-60)}to{background-color:var(--black-70)}}._skeleton_c8ueu_53{background-color:var(--skeleton-bg);animation:var(--skeleton-animation)}._skeleton_c8ueu_53._white_c8ueu_57{--skeleton-bg: var(--black-20);--skeleton-animation: _wave-white_c8ueu_1 1.6s infinite ease-in-out}._skeleton_c8ueu_53._black_c8ueu_61{--skeleton-bg: var(--black-80);--skeleton-animation: _wave-black_c8ueu_1 1.6s infinite ease-in-out}._skeleton_c8ueu_53._dark-gray_c8ueu_65{--skeleton-bg: var(--black-70);--skeleton-animation: _wave-dark-gray_c8ueu_1 1.6s infinite ease-in-out}
@@ -1,3 +0,0 @@
1
- import { TAvatarProps } from './types';
2
-
3
- export declare const Avatar: import('react').MemoExoticComponent<({ size, className, notificationsCount, src, alt }: TAvatarProps) => import("react/jsx-runtime").JSX.Element>;
@@ -1,62 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { c as classNames } from "../../index-CweZ_OcN.js";
3
- import { memo } from "react";
4
- import { EAvatarSize } from "./constants.js";
5
- import { Icon } from "../../icons/Icon.js";
6
- import { AppImage } from "../Image/Image.js";
7
- import { NotificationBadge } from "../NotificationBadge/NotificationBadge.js";
8
- import '../../assets/Avatar.css';const avatar = "_avatar_58dyx_2";
9
- const s = "_s_58dyx_19";
10
- const m = "_m_58dyx_24";
11
- const l = "_l_58dyx_29";
12
- const cls = {
13
- avatar,
14
- s,
15
- m,
16
- l,
17
- "default": "_default_58dyx_34"
18
- };
19
- const Avatar = memo(
20
- ({
21
- size = EAvatarSize.M,
22
- className,
23
- notificationsCount = 0,
24
- src,
25
- alt = "User avatar"
26
- }) => {
27
- const notificationPosition = size === EAvatarSize.S || size === EAvatarSize.M ? { top: "8px", left: "-8px" } : { top: "12px", left: "-12px" };
28
- return /* @__PURE__ */ jsxs(
29
- "div",
30
- {
31
- className: classNames(cls.avatar, cls[size], className, {
32
- [cls.default]: !src
33
- }),
34
- "data-testid": "avatar-container",
35
- children: [
36
- src ? /* @__PURE__ */ jsx(
37
- AppImage,
38
- {
39
- src,
40
- alt,
41
- className: cls.image,
42
- "data-testid": "avatar-image"
43
- }
44
- ) : /* @__PURE__ */ jsx(Icon, { iconName: "User16px" }),
45
- !!notificationsCount && /* @__PURE__ */ jsx(
46
- NotificationBadge,
47
- {
48
- count: notificationsCount,
49
- position: notificationPosition,
50
- size: size === EAvatarSize.S ? "s" : "m",
51
- absolute: true
52
- }
53
- )
54
- ]
55
- }
56
- );
57
- }
58
- );
59
- Avatar.displayName = "Avatar";
60
- export {
61
- Avatar
62
- };
@@ -1,5 +0,0 @@
1
- export declare enum EAvatarSize {
2
- S = "s",
3
- M = "m",
4
- L = "l"
5
- }
@@ -1,9 +0,0 @@
1
- var EAvatarSize = /* @__PURE__ */ ((EAvatarSize2) => {
2
- EAvatarSize2["S"] = "s";
3
- EAvatarSize2["M"] = "m";
4
- EAvatarSize2["L"] = "l";
5
- return EAvatarSize2;
6
- })(EAvatarSize || {});
7
- export {
8
- EAvatarSize
9
- };
@@ -1,3 +0,0 @@
1
- export { Avatar } from './Avatar';
2
- export { EAvatarSize } from './constants';
3
- export type { TAvatarProps, TAvatarSize } from './types';
@@ -1,6 +0,0 @@
1
- import { Avatar } from "./Avatar.js";
2
- import { EAvatarSize } from "./constants.js";
3
- export {
4
- Avatar,
5
- EAvatarSize
6
- };
@@ -1,10 +0,0 @@
1
- import { EAvatarSize } from './constants';
2
-
3
- export type TAvatarSize = `${EAvatarSize}` | EAvatarSize;
4
- export type TAvatarProps = {
5
- size?: TAvatarSize;
6
- className?: string;
7
- notificationsCount?: number;
8
- src?: string;
9
- alt?: string;
10
- };
@@ -1,2 +0,0 @@
1
- export declare const formatDatePart: (value: string, max: number) => string;
2
- export declare const getFullYear: (year: string) => number;
@@ -1,16 +0,0 @@
1
- const YEAR_OFFSET = 20;
2
- const CENTURY = 100;
3
- const formatDatePart = (value, max) => {
4
- const num = parseInt(value);
5
- return num > max ? max.toString() : value;
6
- };
7
- const getFullYear = (year) => {
8
- const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
9
- const currentCentury = Math.floor(currentYear / CENTURY) * CENTURY;
10
- const fullYear = parseInt(year) + currentCentury;
11
- return fullYear > currentYear + YEAR_OFFSET ? fullYear - CENTURY : fullYear;
12
- };
13
- export {
14
- formatDatePart,
15
- getFullYear
16
- };
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { TGosZnakProps } from './types';
3
-
4
- export declare const GosZnak: React.FC<TGosZnakProps>;
@@ -1,76 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { c as classNames } from "../../index-CweZ_OcN.js";
3
- import { EGosZnakSize, EGosZnakType } from "./constants.js";
4
- import '../../assets/GosZnak.css';const number = "_number_dr109_13";
5
- const region = "_region_dr109_32";
6
- const country = "_country_dr109_46";
7
- const l = "_l_dr109_53";
8
- const s = "_s_dr109_62";
9
- const normal = "_normal_dr109_71";
10
- const traffic = "_traffic_dr109_78";
11
- const military = "_military_dr109_85";
12
- const police = "_police_dr109_92";
13
- const diplomatic = "_diplomatic_dr109_99";
14
- const cls = {
15
- "gos-znak": "_gos-znak_dr109_2",
16
- number,
17
- "number-container": "_number-container_dr109_22",
18
- region,
19
- "region-container": "_region-container_dr109_38",
20
- country,
21
- l,
22
- s,
23
- normal,
24
- traffic,
25
- military,
26
- police,
27
- diplomatic
28
- };
29
- const GosZnak = ({
30
- number: number2,
31
- region: region2,
32
- country: country2,
33
- size = EGosZnakSize.L,
34
- type = EGosZnakType.Normal,
35
- className,
36
- numberClassName,
37
- regionClassName,
38
- countryClassName,
39
- numberContainerClassName,
40
- regionContainerClassName
41
- }) => {
42
- return /* @__PURE__ */ jsxs(
43
- "div",
44
- {
45
- className: classNames(cls["gos-znak"], cls[size], cls[type], className),
46
- children: [
47
- /* @__PURE__ */ jsx(
48
- "div",
49
- {
50
- className: classNames(
51
- cls["number-container"],
52
- numberContainerClassName
53
- ),
54
- children: /* @__PURE__ */ jsx("span", { className: classNames(cls.number, numberClassName), children: number2 })
55
- }
56
- ),
57
- /* @__PURE__ */ jsxs(
58
- "div",
59
- {
60
- className: classNames(
61
- cls["region-container"],
62
- regionContainerClassName
63
- ),
64
- children: [
65
- /* @__PURE__ */ jsx("span", { className: classNames(cls.region, regionClassName), children: region2 }),
66
- /* @__PURE__ */ jsx("span", { className: classNames(cls.country, countryClassName), children: country2 })
67
- ]
68
- }
69
- )
70
- ]
71
- }
72
- );
73
- };
74
- export {
75
- GosZnak
76
- };
@@ -1,11 +0,0 @@
1
- export declare enum EGosZnakSize {
2
- S = "s",
3
- L = "l"
4
- }
5
- export declare enum EGosZnakType {
6
- Normal = "normal",
7
- Traffic = "traffic",
8
- Military = "military",
9
- Police = "police",
10
- Diplomatic = "diplomatic"
11
- }