@expressms/smartapp-ui 1.1.8 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/README.md +1 -6
  2. package/build/main/constants/constants.js +1 -0
  3. package/build/main/constants/constants.js.map +1 -0
  4. package/build/main/constants/index.js +1 -0
  5. package/build/main/constants/index.js.map +1 -0
  6. package/build/main/constants/types.js +1 -0
  7. package/build/main/constants/types.js.map +1 -0
  8. package/build/main/helpers/index.js +1 -0
  9. package/build/main/helpers/index.js.map +1 -0
  10. package/build/main/index.d.ts +1 -0
  11. package/build/main/index.js +2 -0
  12. package/build/main/index.js.map +1 -0
  13. package/build/main/styles/index.d.ts +1 -0
  14. package/build/main/styles/index.js +2 -0
  15. package/build/main/styles/index.js.map +1 -0
  16. package/build/main/styles/styles.scss +2 -2
  17. package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +1 -1
  18. package/build/main//321/201omponents/ActionModal/ActionModal.js +4 -3
  19. package/build/main//321/201omponents/ActionModal/ActionModal.js.map +1 -0
  20. package/build/main//321/201omponents/ActionModal/index.js +1 -0
  21. package/build/main//321/201omponents/ActionModal/index.js.map +1 -0
  22. package/build/main//321/201omponents/ActionModal/types.js +1 -0
  23. package/build/main//321/201omponents/ActionModal/types.js.map +1 -0
  24. package/build/main//321/201omponents/AttachedFile/AttachedFile.d.ts +1 -1
  25. package/build/main//321/201omponents/AttachedFile/AttachedFile.js +2 -1
  26. package/build/main//321/201omponents/AttachedFile/AttachedFile.js.map +1 -0
  27. package/build/main//321/201omponents/AttachedFile/index.js +1 -0
  28. package/build/main//321/201omponents/AttachedFile/index.js.map +1 -0
  29. package/build/main//321/201omponents/AttachedFile/types.js +1 -0
  30. package/build/main//321/201omponents/AttachedFile/types.js.map +1 -0
  31. package/build/main//321/201omponents/Avatar/Avatar.d.ts +1 -1
  32. package/build/main//321/201omponents/Avatar/Avatar.js +2 -1
  33. package/build/main//321/201omponents/Avatar/Avatar.js.map +1 -0
  34. package/build/main//321/201omponents/Avatar/index.js +1 -0
  35. package/build/main//321/201omponents/Avatar/index.js.map +1 -0
  36. package/build/main//321/201omponents/Avatar/types.js +1 -0
  37. package/build/main//321/201omponents/Avatar/types.js.map +1 -0
  38. package/build/main//321/201omponents/Button/Button.d.ts +2 -2
  39. package/build/main//321/201omponents/Button/Button.js +2 -1
  40. package/build/main//321/201omponents/Button/Button.js.map +1 -0
  41. package/build/main//321/201omponents/Button/index.js +1 -0
  42. package/build/main//321/201omponents/Button/index.js.map +1 -0
  43. package/build/main//321/201omponents/Button/types.js +1 -0
  44. package/build/main//321/201omponents/Button/types.js.map +1 -0
  45. package/build/main//321/201omponents/Calendar/Calendar.d.ts +1 -1
  46. package/build/main//321/201omponents/Calendar/Calendar.js +2 -1
  47. package/build/main//321/201omponents/Calendar/Calendar.js.map +1 -0
  48. package/build/main//321/201omponents/Calendar/index.js +1 -0
  49. package/build/main//321/201omponents/Calendar/index.js.map +1 -0
  50. package/build/main//321/201omponents/Calendar/types.js +1 -0
  51. package/build/main//321/201omponents/Calendar/types.js.map +1 -0
  52. package/build/main//321/201omponents/Checkbox/Checkbox.d.ts +2 -2
  53. package/build/main//321/201omponents/Checkbox/Checkbox.js +2 -1
  54. package/build/main//321/201omponents/Checkbox/Checkbox.js.map +1 -0
  55. package/build/main//321/201omponents/Checkbox/index.js +1 -0
  56. package/build/main//321/201omponents/Checkbox/index.js.map +1 -0
  57. package/build/main//321/201omponents/Checkbox/types.js +1 -0
  58. package/build/main//321/201omponents/Checkbox/types.js.map +1 -0
  59. package/build/main//321/201omponents/Chips/Chips.d.ts +1 -1
  60. package/build/main//321/201omponents/Chips/Chips.js +2 -1
  61. package/build/main//321/201omponents/Chips/Chips.js.map +1 -0
  62. package/build/main//321/201omponents/Chips/index.js +1 -0
  63. package/build/main//321/201omponents/Chips/index.js.map +1 -0
  64. package/build/main//321/201omponents/Chips/types.js +1 -0
  65. package/build/main//321/201omponents/Chips/types.js.map +1 -0
  66. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.d.ts +1 -1
  67. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +2 -1
  68. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js.map +1 -0
  69. package/build/main//321/201omponents/ConfirmationModal/index.js +1 -0
  70. package/build/main//321/201omponents/ConfirmationModal/index.js.map +1 -0
  71. package/build/main//321/201omponents/ConfirmationModal/types.js +1 -0
  72. package/build/main//321/201omponents/ConfirmationModal/types.js.map +1 -0
  73. package/build/main//321/201omponents/CustomSelect/CustomSelect.d.ts +1 -1
  74. package/build/main//321/201omponents/CustomSelect/CustomSelect.js +2 -1
  75. package/build/main//321/201omponents/CustomSelect/CustomSelect.js.map +1 -0
  76. package/build/main//321/201omponents/CustomSelect/index.js +1 -0
  77. package/build/main//321/201omponents/CustomSelect/index.js.map +1 -0
  78. package/build/main//321/201omponents/CustomSelect/types.js +1 -0
  79. package/build/main//321/201omponents/CustomSelect/types.js.map +1 -0
  80. package/build/main//321/201omponents/CustomSelectPriority/CustomSelectPriority.d.ts +1 -1
  81. package/build/main//321/201omponents/CustomSelectPriority/CustomSelectPriority.js +3 -2
  82. package/build/main//321/201omponents/CustomSelectPriority/CustomSelectPriority.js.map +1 -0
  83. package/build/main//321/201omponents/CustomSelectPriority/index.js +1 -0
  84. package/build/main//321/201omponents/CustomSelectPriority/index.js.map +1 -0
  85. package/build/main//321/201omponents/CustomSelectPriority/types.js +1 -0
  86. package/build/main//321/201omponents/CustomSelectPriority/types.js.map +1 -0
  87. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.d.ts +1 -1
  88. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js +2 -1
  89. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js.map +1 -0
  90. package/build/main//321/201omponents/CustomSelectProfiles/index.js +1 -0
  91. package/build/main//321/201omponents/CustomSelectProfiles/index.js.map +1 -0
  92. package/build/main//321/201omponents/CustomSelectProfiles/types.js +1 -0
  93. package/build/main//321/201omponents/CustomSelectProfiles/types.js.map +1 -0
  94. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.d.ts +1 -1
  95. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js +3 -2
  96. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js.map +1 -0
  97. package/build/main//321/201omponents/DragAndDrop/index.js +1 -0
  98. package/build/main//321/201omponents/DragAndDrop/index.js.map +1 -0
  99. package/build/main//321/201omponents/DragAndDrop/types.js +1 -0
  100. package/build/main//321/201omponents/DragAndDrop/types.js.map +1 -0
  101. package/build/main//321/201omponents/Error/Error.d.ts +1 -1
  102. package/build/main//321/201omponents/Error/Error.js +2 -1
  103. package/build/main//321/201omponents/Error/Error.js.map +1 -0
  104. package/build/main//321/201omponents/Error/index.js +1 -0
  105. package/build/main//321/201omponents/Error/index.js.map +1 -0
  106. package/build/main//321/201omponents/Error/types.js +1 -0
  107. package/build/main//321/201omponents/Error/types.js.map +1 -0
  108. package/build/main//321/201omponents/Header/Header.d.ts +1 -1
  109. package/build/main//321/201omponents/Header/Header.js +2 -1
  110. package/build/main//321/201omponents/Header/Header.js.map +1 -0
  111. package/build/main//321/201omponents/Header/index.js +1 -0
  112. package/build/main//321/201omponents/Header/index.js.map +1 -0
  113. package/build/main//321/201omponents/Header/types.js +1 -0
  114. package/build/main//321/201omponents/Header/types.js.map +1 -0
  115. package/build/main//321/201omponents/Input/Input.d.ts +1 -1
  116. package/build/main//321/201omponents/Input/Input.js +2 -1
  117. package/build/main//321/201omponents/Input/Input.js.map +1 -0
  118. package/build/main//321/201omponents/Input/index.js +1 -0
  119. package/build/main//321/201omponents/Input/index.js.map +1 -0
  120. package/build/main//321/201omponents/Input/types.js +1 -0
  121. package/build/main//321/201omponents/Input/types.js.map +1 -0
  122. package/build/main//321/201omponents/Loader/Loader.d.ts +1 -1
  123. package/build/main//321/201omponents/Loader/Loader.js +5 -6
  124. package/build/main//321/201omponents/Loader/Loader.js.map +1 -0
  125. package/build/main//321/201omponents/Loader/index.js +1 -0
  126. package/build/main//321/201omponents/Loader/index.js.map +1 -0
  127. package/build/main//321/201omponents/Loader/types.js +1 -0
  128. package/build/main//321/201omponents/Loader/types.js.map +1 -0
  129. package/build/main//321/201omponents/Modal/Modal.d.ts +1 -1
  130. package/build/main//321/201omponents/Modal/Modal.js +2 -1
  131. package/build/main//321/201omponents/Modal/Modal.js.map +1 -0
  132. package/build/main//321/201omponents/Modal/index.js +1 -0
  133. package/build/main//321/201omponents/Modal/index.js.map +1 -0
  134. package/build/main//321/201omponents/Modal/types.js +1 -0
  135. package/build/main//321/201omponents/Modal/types.js.map +1 -0
  136. package/build/main//321/201omponents/Notification/Notification.d.ts +1 -1
  137. package/build/main//321/201omponents/Notification/Notification.js +2 -1
  138. package/build/main//321/201omponents/Notification/Notification.js.map +1 -0
  139. package/build/main//321/201omponents/Notification/index.js +1 -0
  140. package/build/main//321/201omponents/Notification/index.js.map +1 -0
  141. package/build/main//321/201omponents/Notification/types.js +1 -0
  142. package/build/main//321/201omponents/Notification/types.js.map +1 -0
  143. package/build/main//321/201omponents/Profile/Profile.d.ts +1 -1
  144. package/build/main//321/201omponents/Profile/Profile.js +3 -2
  145. package/build/main//321/201omponents/Profile/Profile.js.map +1 -0
  146. package/build/main//321/201omponents/Profile/index.js +1 -0
  147. package/build/main//321/201omponents/Profile/index.js.map +1 -0
  148. package/build/main//321/201omponents/Profile/types.js +1 -0
  149. package/build/main//321/201omponents/Profile/types.js.map +1 -0
  150. package/build/main//321/201omponents/RadioButton/RadioButton.d.ts +2 -2
  151. package/build/main//321/201omponents/RadioButton/RadioButton.js +2 -1
  152. package/build/main//321/201omponents/RadioButton/RadioButton.js.map +1 -0
  153. package/build/main//321/201omponents/RadioButton/index.js +1 -0
  154. package/build/main//321/201omponents/RadioButton/index.js.map +1 -0
  155. package/build/main//321/201omponents/RadioButton/types.js +1 -0
  156. package/build/main//321/201omponents/RadioButton/types.js.map +1 -0
  157. package/build/main//321/201omponents/Stories/Stories.d.ts +1 -1
  158. package/build/main//321/201omponents/Stories/Stories.js +14 -13
  159. package/build/main//321/201omponents/Stories/Stories.js.map +1 -0
  160. package/build/main//321/201omponents/Stories/index.js +1 -0
  161. package/build/main//321/201omponents/Stories/index.js.map +1 -0
  162. package/build/main//321/201omponents/Stories/types.js +1 -0
  163. package/build/main//321/201omponents/Stories/types.js.map +1 -0
  164. package/build/main//321/201omponents/Switcher/Switcher.d.ts +1 -1
  165. package/build/main//321/201omponents/Switcher/Switcher.js +2 -1
  166. package/build/main//321/201omponents/Switcher/Switcher.js.map +1 -0
  167. package/build/main//321/201omponents/Switcher/index.js +1 -0
  168. package/build/main//321/201omponents/Switcher/index.js.map +1 -0
  169. package/build/main//321/201omponents/Switcher/types.js +1 -0
  170. package/build/main//321/201omponents/Switcher/types.js.map +1 -0
  171. package/build/main//321/201omponents/SyncLoader/SyncLoader.d.ts +2 -2
  172. package/build/main//321/201omponents/SyncLoader/SyncLoader.js +6 -7
  173. package/build/main//321/201omponents/SyncLoader/SyncLoader.js.map +1 -0
  174. package/build/main//321/201omponents/SyncLoader/index.js +1 -0
  175. package/build/main//321/201omponents/SyncLoader/index.js.map +1 -0
  176. package/build/main//321/201omponents/SyncLoader/types.js +1 -0
  177. package/build/main//321/201omponents/SyncLoader/types.js.map +1 -0
  178. package/build/main//321/201omponents/Toggle/Toggle.d.ts +1 -1
  179. package/build/main//321/201omponents/Toggle/Toggle.js +2 -1
  180. package/build/main//321/201omponents/Toggle/Toggle.js.map +1 -0
  181. package/build/main//321/201omponents/Toggle/index.js +1 -0
  182. package/build/main//321/201omponents/Toggle/index.js.map +1 -0
  183. package/build/main//321/201omponents/Toggle/types.js +1 -0
  184. package/build/main//321/201omponents/Toggle/types.js.map +1 -0
  185. package/build/main//321/201omponents/index.js +1 -0
  186. package/build/main//321/201omponents/index.js.map +1 -0
  187. package/build/main//321/201omponents/types.js +1 -0
  188. package/build/main//321/201omponents/types.js.map +1 -0
  189. package/package.json +33 -57
  190. package/build/main/styles/stories.module.scss +0 -1639
  191. package/build/main/styles/styles.min.css +0 -146
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DragAndDrop.js","sourceRoot":"","sources":["../../../../src/сomponents/DragAndDrop/DragAndDrop.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC3E,OAAO,EAAE,cAAc,IAAI,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAC1E,OAAO,EAAE,cAAc,IAAI,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAC3E,OAAO,QAAQ,MAAM,aAAa,CAAA;AAElC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,0BAA0B,CAAA;AAEjC,IAAM,WAAW,GAAG,UAAC,EAWD;QAVlB,WAAW,iBAAA,EACX,OAAO,aAAA,EACP,iBAAiB,uBAAA,EACjB,yBAAyB,+BAAA,EACzB,cAAc,oBAAA,EACd,mBAAmB,yBAAA,EACnB,KAAK,WAAA,EACL,aAAa,mBAAA,EACb,UAAU,gBAAA,EACV,WAAW,iBAAA;IAEL,IAAA,KAAoC,QAAQ,CAAU,KAAK,CAAC,EAA3D,aAAa,QAAA,EAAE,gBAAgB,QAA4B,CAAA;IAElE,IAAM,UAAU,GAAG,UAAC,MAA0B,IAAK,OAAA,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,WAAW,MAAK,SAAS,EAAjC,CAAiC,CAAA;IAEpF,IAAM,cAAc,GAAG,UAAC,OAA6B,EAAE,UAAkB,EAAE,QAAgB;QACzF,IAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAElC,MAAM,CA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D,gBAAE,cAAc,CAAC,YAAY,IAAK,CACrG,KACG,EACN,wBAAK,SAAS,EAAC,gDAAgD,iBAC7D,KAAC,SAAS,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,GAAI,EACjE,mBAAmB,IAAI,CACtB,KAAC,UAAU,IACT,SAAS,EAAC,IAAI,EACd,KAAK,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,EACpD,OAAO,EAAE,cAAM,OAAA,mBAAmB,CAAC,cAAc,CAAC,EAAnC,CAAmC,GAClD,CACH,KACG,KACF,CACP,EAzCc,CAyCd,KA1Ca,cAAc,CAAC,EAAE,CA2CrB,CACb,EA7CgD,CA6ChD,CAAC,IACE,CACP,EAjDc,CAiDd,IACS,IACI,IACd,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1 +1,2 @@
1
1
  export { default } from './DragAndDrop';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/DragAndDrop/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/DragAndDrop/types.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
1
  import { IErrorProps } from './types';
2
- import '../../styles/stories.module.scss';
2
+ import '../../styles/styles.scss';
3
3
  declare const Error: ({ title, text, width, iconColor }: IErrorProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Error;
@@ -13,9 +13,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  import { ReactComponent as ErrorIcon } from '../../assets/icons/error.svg';
14
14
  import { getColor } from '../../helpers';
15
15
  import { COLORS } from '../../constants';
16
- import '../../styles/stories.module.scss';
16
+ import '../../styles/styles.scss';
17
17
  var Error = function (_a) {
18
18
  var _b = _a.title, title = _b === void 0 ? 'Ошибка' : _b, _c = _a.text, text = _c === void 0 ? 'Попробуйте еще раз' : _c, _d = _a.width, width = _d === void 0 ? 100 : _d, iconColor = _a.iconColor;
19
19
  return (_jsxs("div", __assign({ className: "smartapp-error", style: { width: "".concat(width, "%") } }, { children: [_jsx("div", __assign({ className: "smartapp-error__icon" }, { children: _jsx(ErrorIcon, { style: { color: getColor(iconColor, COLORS.gray) } }) })), _jsx("p", __assign({ className: "smartapp-error__title" }, { children: title })), _jsx("p", __assign({ className: "smartapp-error__text" }, { children: text }))] })));
20
20
  };
21
21
  export default Error;
22
+ //# sourceMappingURL=Error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Error.js","sourceRoot":"","sources":["../../../../src/сomponents/Error/Error.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,cAAc,IAAI,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAE1E,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,0BAA0B,CAAA;AAEjC,IAAM,KAAK,GAAG,UAAC,EAAsF;QAApF,aAAgB,EAAhB,KAAK,mBAAG,QAAQ,KAAA,EAAE,YAA2B,EAA3B,IAAI,mBAAG,oBAAoB,KAAA,EAAE,aAAW,EAAX,KAAK,mBAAG,GAAG,KAAA,EAAE,SAAS,eAAA;IAAoB,OAAA,CACxG,wBAAK,SAAS,EAAC,gBAAgB,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,UAAG,KAAK,MAAG,EAAE,iBAC3D,uBAAK,SAAS,EAAC,sBAAsB,gBACnC,KAAC,SAAS,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,GAAI,IAC7D,EACN,qBAAG,SAAS,EAAC,uBAAuB,gBAAE,KAAK,IAAK,EAChD,qBAAG,SAAS,EAAC,sBAAsB,gBAAE,IAAI,IAAK,KAC1C,CACP;AARyG,CAQzG,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -1 +1,2 @@
1
1
  export { default } from './Error';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Error/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Error/types.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
1
  import { IHeaderProps } from './types';
2
- import '../../styles/stories.module.scss';
2
+ import '../../styles/styles.scss';
3
3
  declare const Header: ({ title, isBack, isRemove, refreshIcon, customIcon, onClickBack, onClickRemove, arrowColor, trashColor, platform, headerHeight, textSize, textColor, backgroundColor, }: IHeaderProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Header;
@@ -16,7 +16,7 @@ import { ReactComponent as TrashIcon } from '../../assets/icons/trash.svg';
16
16
  import { ReactComponent as RefreshIcon } from '../../assets/icons/refresh.svg';
17
17
  import { getColor } from '../../helpers';
18
18
  import { COLORS, FONT_SIZE, LINE_HEIGHT, PLATFORM } from '../../constants';
19
- import '../../styles/stories.module.scss';
19
+ import '../../styles/styles.scss';
20
20
  var Header = function (_a) {
21
21
  var _b;
22
22
  var _c = _a.title, title = _c === void 0 ? '' : _c, _d = _a.isBack, isBack = _d === void 0 ? false : _d, _e = _a.isRemove, isRemove = _e === void 0 ? false : _e, refreshIcon = _a.refreshIcon, customIcon = _a.customIcon, _f = _a.onClickBack, onClickBack = _f === void 0 ? function () { return undefined; } : _f, _g = _a.onClickRemove, onClickRemove = _g === void 0 ? function () { return undefined; } : _g, arrowColor = _a.arrowColor, trashColor = _a.trashColor, _h = _a.platform, platform = _h === void 0 ? PLATFORM.web : _h, headerHeight = _a.headerHeight, _j = _a.textSize, textSize = _j === void 0 ? 'default' : _j, textColor = _a.textColor, backgroundColor = _a.backgroundColor;
@@ -34,3 +34,4 @@ var Header = function (_a) {
34
34
  return (_jsxs("div", __assign({ className: classNames((_b = { 'smartapp-header': true }, _b["smartapp-header__".concat(platform)] = true, _b)), style: getHeaderStyles() }, { children: [_jsxs("div", __assign({ className: "smartapp-header__info" }, { children: [isBack && (_jsx(ArrowBackIcon, { style: { color: getColor(arrowColor, COLORS.black) }, onClick: onClickBack, className: "smartapp-header__info--arrow-back" })), title && _jsx("p", __assign({ className: "smartapp-header__info--title" }, { children: title }))] })), _jsxs("div", __assign({ className: "smartapp-header__icons" }, { children: [isRemove && (_jsx("div", __assign({ onClick: onClickRemove, className: "smartapp-header__icons--trash" }, { children: _jsx(TrashIcon, { style: { color: getColor(trashColor, COLORS.red) } }) }))), refreshIcon && renderRefreshIcon(refreshIcon), customIcon] }))] })));
35
35
  };
36
36
  export default Header;
37
+ //# sourceMappingURL=Header.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../../src/сomponents/Header/Header.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,cAAc,IAAI,aAAa,EAAE,MAAM,mCAAmC,CAAA;AACnF,OAAO,EAAE,cAAc,IAAI,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAC1E,OAAO,EAAE,cAAc,IAAI,WAAW,EAAE,MAAM,gCAAgC,CAAA;AAE9E,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,WAA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MAAM,CAAC,IAAI,CAAC,EAAE,EAC9C,OAAO,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,cAAO,CAAC,GACxC,CACH;IAN0E,CAM1E,CAAA;IAED,OAAO,CACL,wBAAK,SAAS,EAAE,UAAU,SAAG,iBAAiB,EAAE,IAAI,IAAE,GAAC,2BAAoB,QAAQ,CAAE,IAAG,IAAI,MAAG,EAAE,KAAK,EAAE,eAAe,EAAE,iBACvH,wBAAK,SAAS,EAAC,uBAAuB,iBACnC,MAAM,IAAI,CACT,KAAC,aAAa,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAC,mCAAmC,GAAG,CAC5I,EACA,KAAK,IAAI,qBAAG,SAAS,EAAC,8BAA8B,gBAAE,KAAK,IAAK,KAC7D,EACN,wBAAK,SAAS,EAAC,wBAAwB,iBACpC,QAAQ,IAAI,CACX,uBAAK,OAAO,EAAE,aAAa,EAAE,SAAS,EAAC,+BAA+B,gBACpE,KAAC,SAAS,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC,GAAG,CAAC,EAAE,GAAI,IAC7D,CACP,EACA,WAAW,IAAI,iBAAiB,CAAC,WAAW,CAAC,EAC7C,UAAU,KACP,KACF,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -1 +1,2 @@
1
1
  export { default } from './Header';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Header/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Header/types.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
1
  import { IInputProps } from './types';
2
- import '../../styles/stories.module.scss';
2
+ import '../../styles/styles.scss';
3
3
  declare const Input: ({ isPassword, isClearable, autoFocus, title, placeholder, defaultValue, error, textSize, width, className, theme, onChange, onEnterPress, onClearClick, }: IInputProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Input;
@@ -16,7 +16,7 @@ import { ReactComponent as IconEye } from '../../assets/icons/icon-eye.svg';
16
16
  import { ReactComponent as IconEyeClosed } from '../../assets/icons/icon-eye-off.svg';
17
17
  import { ReactComponent as ClearIcon } from '../../assets/icons/clear.svg';
18
18
  import { ENTER_KEY, FONT_SIZE, INPUT_TYPE_PASSWORD, INPUT_TYPE_TEXT, LINE_HEIGHT, THEME } from '../../constants';
19
- import '../../styles/stories.module.scss';
19
+ import '../../styles/styles.scss';
20
20
  var Input = function (_a) {
21
21
  var _b;
22
22
  var _c = _a.isPassword, isPassword = _c === void 0 ? false : _c, _d = _a.isClearable, isClearable = _d === void 0 ? false : _d, _e = _a.autoFocus, autoFocus = _e === void 0 ? false : _e, title = _a.title, placeholder = _a.placeholder, defaultValue = _a.defaultValue, error = _a.error, _f = _a.textSize, textSize = _f === void 0 ? 'small' : _f, _g = _a.width, width = _g === void 0 ? 100 : _g, _h = _a.className, className = _h === void 0 ? '' : _h, _j = _a.theme, theme = _j === void 0 ? THEME.default : _j, onChange = _a.onChange, onEnterPress = _a.onEnterPress, onClearClick = _a.onClearClick;
@@ -55,3 +55,4 @@ var Input = function (_a) {
55
55
  return (_jsxs("div", __assign({ style: { width: "".concat(width, "%") }, className: classNames('smartapp-input', "smartapp-input__".concat(theme), (_b = {}, _b[className] = className, _b)) }, { children: [title && _jsx("p", __assign({ className: "smartapp-input__title" }, { children: title })), _jsxs("div", __assign({ className: "smartapp-input__container" }, { children: [_jsx("input", { ref: inputRef, className: classNames('smartapp-input__container--field', { 'smartapp-input__container--field__with-clear-button': isClearable }), style: getTextStyles(), type: getInputType(), defaultValue: defaultValue, autoFocus: autoFocus, placeholder: placeholder, onKeyDown: handleKeyDown, onChange: function (e) { return onChange(e.target.value); } }), isPassword && (_jsx("button", __assign({ className: "smartapp-input__container--eye-button", type: "button", onClick: function () { return onClickButton(); } }, { children: isPasswordShown ? _jsx(IconEye, {}) : _jsx(IconEyeClosed, {}) }))), isClearable && _jsx(ClearIcon, { className: "smartapp-input__container--clear-icon", onClick: onClearClick })] })), error && _jsx("div", __assign({ className: "smartapp-input__error" }, { children: error }))] })));
56
56
  };
57
57
  export default Input;
58
+ //# sourceMappingURL=Input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Input.js","sourceRoot":"","sources":["../../../../src/сomponents/Input/Input.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAC1D,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,cAAc,IAAI,OAAO,EAAE,MAAM,iCAAiC,CAAA;AAC3E,OAAO,EAAE,cAAc,IAAI,aAAa,EAAE,MAAM,qCAAqC,CAAA;AACrF,OAAO,EAAE,cAAc,IAAI,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAE1E,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,mBAAmB,EAAE,eAAe,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAChH,OAAO,0BAA0B,CAAA;AAEjC,IAAM,KAAK,GAAG,UAAC,EAeD;;QAdZ,kBAAkB,EAAlB,UAAU,mBAAG,KAAK,KAAA,EAClB,mBAAmB,EAAnB,WAAW,mBAAG,KAAK,KAAA,EACnB,iBAAiB,EAAjB,SAAS,mBAAG,KAAK,KAAA,EACjB,KAAK,WAAA,EACL,WAAW,iBAAA,EACX,YAAY,kBAAA,EACZ,KAAK,WAAA,EACL,gBA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K,SAAS,EAAC,uBAAuB,gBAAE,KAAK,IAAO,KAC1D,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -1 +1,2 @@
1
1
  export { default } from './Input';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Input/types.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
1
  import { ILoaderProps } from './types';
2
- import '../../styles/stories.module.scss';
2
+ import '../../styles/styles.scss';
3
3
  declare const Loader: ({ isLoader, isFullScreen, isTextItalic, title, textSize, width, iconSize, backgroundColor, theme, }: ILoaderProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Loader;
@@ -13,8 +13,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  import { ColorRing } from 'react-loader-spinner';
14
14
  import classNames from 'classnames';
15
15
  import { COLORS, FONT_SIZE, LINE_HEIGHT, THEME } from '../../constants';
16
- import { getClassNames, getColor } from '../../helpers';
17
- import '../../styles/stories.module.scss';
16
+ import { getColor } from '../../helpers';
17
+ import '../../styles/styles.scss';
18
18
  var Loader = function (_a) {
19
19
  var _b = _a.isLoader, isLoader = _b === void 0 ? false : _b, _c = _a.isFullScreen, isFullScreen = _c === void 0 ? true : _c, _d = _a.isTextItalic, isTextItalic = _d === void 0 ? false : _d, title = _a.title, _e = _a.textSize, textSize = _e === void 0 ? 'small' : _e, _f = _a.width, width = _f === void 0 ? 150 : _f, _g = _a.iconSize, iconSize = _g === void 0 ? 32 : _g, backgroundColor = _a.backgroundColor, _h = _a.theme, theme = _h === void 0 ? THEME.default : _h;
20
20
  var isDarkTheme = theme === THEME.dark;
@@ -24,14 +24,13 @@ var Loader = function (_a) {
24
24
  lineHeight: LINE_HEIGHT[textSize],
25
25
  }); };
26
26
  var getBackgroundColor = function () {
27
- var defaultColor = isDarkTheme
28
- ? COLORS.white3
29
- : (isFullScreen ? COLORS.lightGray : COLORS.white);
27
+ var defaultColor = isDarkTheme ? COLORS.white3 : isFullScreen ? COLORS.lightGray : COLORS.white;
30
28
  return getColor(backgroundColor, defaultColor);
31
29
  };
32
30
  return (_jsx("div", __assign({ className: classNames({
33
31
  'smartapp-loader-wrapper': true,
34
32
  'smartapp-loader-wrapper__full-screen': isFullScreen,
35
- }), style: { background: getBackgroundColor() } }, { children: _jsxs("div", __assign({ className: "smartapp-loader", style: { width: "".concat(width, "px") } }, { children: [_jsx(ColorRing, { visible: isLoader, height: iconSize, width: iconSize, ariaLabel: "blocks-loading", wrapperStyle: {}, wrapperClass: "blocks-wrapper", colors: ['#4799E3', '#4799E3', '#4799E3', '#4799E3', '#4799E3'] }), title && _jsx("p", __assign({ className: getClassNames('smartapp-loader__title', '--', theme), style: getTextStyles() }, { children: title }))] })) })));
33
+ }), style: { background: getBackgroundColor() } }, { children: _jsxs("div", __assign({ className: "smartapp-loader", style: { width: "".concat(width, "px") } }, { children: [_jsx(ColorRing, { visible: isLoader, height: iconSize, width: iconSize, ariaLabel: "blocks-loading", wrapperStyle: {}, wrapperClass: "blocks-wrapper", colors: ['#4799E3', '#4799E3', '#4799E3', '#4799E3', '#4799E3'] }), title && (_jsx("p", __assign({ className: "smartapp-loader__title", style: getTextStyles() }, { children: title })))] })) })));
36
34
  };
37
35
  export default Loader;
36
+ //# sourceMappingURL=Loader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Loader.js","sourceRoot":"","sources":["../../../../src/сomponents/Loader/Loader.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAChD,OAAO,UA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YAC/B,sCAAsC,EAAE,YAAY;SACrD,CAAC,EACF,KAAK,EAAE,EAAE,UAAU,EAAE,kBAAkB,EAAE,EAAE,gBAE3C,wBAAK,SAAS,EAAC,iBAAiB,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,UAAG,KAAK,OAAI,EAAE,iBAC7D,KAAC,SAAS,IACR,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,QAAQ,EAChB,KAAK,EAAE,QAAQ,EACf,SAAS,EAAC,gBAAgB,EAC1B,YAAY,EAAE,EAAE,EAChB,YAAY,EAAC,gBAAgB,EAC7B,MAAM,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC,GAC/D,EACD,KAAK,IAAI,CACR,qBAAG,SAAS,EAAC,wBAAwB,EAAC,KAAK,EAAE,aAAa,EAAE,gBACzD,KAAK,IACJ,CACL,KACG,IACF,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -1 +1,2 @@
1
1
  export { default } from './Loader';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Loader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Loader/types.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
1
  import { IModalProps } from './types';
2
- import '../../styles/stories.module.scss';
2
+ import '../../styles/styles.scss';
3
3
  declare const Modal: ({ isModalOpen, content, handleCloseModal, title, theme, platform, iconColor, backgroundColor, }: IModalProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Modal;
@@ -15,7 +15,7 @@ import Popup from 'reactjs-popup';
15
15
  import { ReactComponent as CloseIcon } from '../../assets/icons/cancel-cross.svg';
16
16
  import { COLORS, PLATFORM, THEME } from '../../constants';
17
17
  import { getClassNames, getColor, getDefaultColorForCloseIcon } from '../../helpers';
18
- import '../../styles/stories.module.scss';
18
+ import '../../styles/styles.scss';
19
19
  var Modal = function (_a) {
20
20
  var isModalOpen = _a.isModalOpen, content = _a.content, handleCloseModal = _a.handleCloseModal, title = _a.title, _b = _a.theme, theme = _b === void 0 ? THEME.default : _b, _c = _a.platform, platform = _c === void 0 ? PLATFORM.web : _c, iconColor = _a.iconColor, backgroundColor = _a.backgroundColor;
21
21
  var ref = useRef(null);
@@ -36,3 +36,4 @@ var Modal = function (_a) {
36
36
  return (_jsx(Popup, __assign({ className: getClassNames('modal', '-', platform), closeOnDocumentClick: true, modal: true, open: isModalOpen }, { children: _jsx("div", __assign({ ref: ref, className: getClassNames('smartapp-modal', '__', [theme, platform]) }, { children: _jsxs("div", __assign({ className: getClassNames('smartapp-modal__content', '--', platform) }, { children: [title && _jsx("p", __assign({ className: "smartapp-modal__content--title" }, { children: title })), _jsx("div", __assign({ onClick: handleCloseModal, className: "smartapp-modal__content--close-icon" }, { children: _jsx(CloseIcon, { style: { color: getColor(iconColor, getDefaultColorForCloseIcon(theme)) } }) })), content] })) })) })));
37
37
  };
38
38
  export default Modal;
39
+ //# sourceMappingURL=Modal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Modal.js","sourceRoot":"","sources":["../../../../src/сomponents/Modal/Modal.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAChD,OAAO,KAAK,MAAM,eAAe,CAAA;AACjC,OAAO,EAAE,cAAc,IAAI,SAAS,EAAE,MAAM,qCAAqC,CAAA;AACjF,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,2BAA2B,E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I,EAAE,WAAW,gBACnG,uBAAK,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,aAAa,CAAC,gBAAgB,EAAE,IAAI,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,gBAChF,wBAAK,SAAS,EAAE,aAAa,CAAC,yBAAyB,EAAE,IAAI,EAAE,QAAQ,CAAC,iBACrE,KAAK,IAAI,qBAAG,SAAS,EAAC,gCAAgC,gBAAE,KAAK,IAAK,EACnE,uBAAK,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAC,qCAAqC,gBAC7E,KAAC,SAAS,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,SAAS,EAAE,2BAA2B,CAAC,KAAK,CAAC,CAAC,EAAE,GAAI,IACpF,EACL,OAAO,KACJ,IACF,IACA,CACT,CAAA;AACH,CAAC,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -1 +1,2 @@
1
1
  export { default } from './Modal';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Modal/types.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
1
  import { INotificationProps } from './types';
2
- import '../../styles/stories.module.scss';
2
+ import '../../styles/styles.scss';
3
3
  declare const Notification: ({ isShown, type, isAutoHidden, hideDuration, platform, message, action, hideNotification, }: INotificationProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Notification;
@@ -18,7 +18,7 @@ import { ReactComponent as NotificationWarningIcon } from '../../assets/icons/no
18
18
  import { ReactComponent as NotificationErrorIcon } from '../../assets/icons/notification-error.svg';
19
19
  import { CANCEL_ACTION_TEXT, PLATFORM } from '../../constants';
20
20
  import { getClassNames } from '../../helpers';
21
- import '../../styles/stories.module.scss';
21
+ import '../../styles/styles.scss';
22
22
  var NOTIFICATION_ICONS = {
23
23
  success: _jsx(NotificationSuccessIcon, {}),
24
24
  info: _jsx(NotificationInfoIcon, {}),
@@ -38,3 +38,4 @@ var Notification = function (_a) {
38
38
  return (_jsx(Popup, __assign({ className: getClassNames('notification', '-', platform), open: isShown, closeOnDocumentClick: false, closeOnEscape: false }, { children: _jsxs("div", __assign({ className: getClassNames('smartapp-notification', '__', type) }, { children: [NOTIFICATION_ICONS[type], _jsxs("div", __assign({ className: "smartapp-notification__content" }, { children: [_jsx("div", { children: message }), action && (_jsx("div", __assign({ className: "smartapp-notification__content--action", onClick: action.onClick }, { children: action.text || CANCEL_ACTION_TEXT })))] }))] })) })));
39
39
  };
40
40
  export default Notification;
41
+ //# sourceMappingURL=Notification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Notification.js","sourceRoot":"","sources":["../../../../src/сomponents/Notification/Notification.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,KAAK,MAAM,eAAe,CAAA;AACjC,OAAO,EAAE,cAAc,IAAI,uBAAuB,EAAE,MAAM,6CAA6C,CAAA;AACvG,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,0CAA0C,CAAA;AACjG,OAAO,EAAE,cAAc,IAAI,uBAAuB,EAAE,MAAM,6CAA6C,CAAA;AACvG,OAAO,EAAE,cAAc,IAAI,qBAAqB,EAAE,MAAM,2CAA2C,CAAA;AACnG,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAE7C,OAAO,0BAA0B,CAAA;AAEjC,IAAM,kBAAkB,GAAG;IACzB,OAAO,EAAE,KAAC,uBAAuB,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AC9B,CACP,KACG,KACF,IACA,CACT,CAAA;AACH,CAAC,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -1 +1,2 @@
1
1
  export { default } from './Notification';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Notification/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Notification/types.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
1
  import { IProfileProps } from './types';
2
- import '../../styles/stories.module.scss';
2
+ import '../../styles/styles.scss';
3
3
  declare const Profile: ({ username, email, isShowProfile, onChange, onClickLogout, isMultipleProfile, onClickAddProfile, width, logoutColor, addProfileColor, addProfileBackgroundColor, }: IProfileProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Profile;
@@ -15,7 +15,7 @@ import { ReactComponent as LogoutIcon } from '../../assets/icons/logout.svg';
15
15
  import { ReactComponent as AddProfileIcon } from '../../assets/icons/plus.svg';
16
16
  import { getColor } from '../../helpers';
17
17
  import { COLORS } from '../../constants';
18
- import '../../styles/stories.module.scss';
18
+ import '../../styles/styles.scss';
19
19
  var Profile = function (_a) {
20
20
  var _b, _c, _d;
21
21
  var username = _a.username, email = _a.email, _e = _a.isShowProfile, isShowProfile = _e === void 0 ? false : _e, _f = _a.onChange, onChange = _f === void 0 ? function () { return undefined; } : _f, onClickLogout = _a.onClickLogout, isMultipleProfile = _a.isMultipleProfile, onClickAddProfile = _a.onClickAddProfile, _g = _a.width, width = _g === void 0 ? 100 : _g, logoutColor = _a.logoutColor, addProfileColor = _a.addProfileColor, addProfileBackgroundColor = _a.addProfileBackgroundColor;
@@ -35,7 +35,8 @@ var Profile = function (_a) {
35
35
  }, [isShowProfile, onChange]);
36
36
  return (_jsxs("div", __assign({ ref: ref, className: "smartapp-profile__container" }, { children: [_jsx("div", __assign({ onClick: function () { return onChange(!isShowProfile); }, className: "smartapp-profile__avatar" }, { children: initials })), isShowProfile && (_jsxs("div", __assign({ style: { width: "".concat(width, "%") }, className: "smartapp-profile" }, { children: [_jsxs("div", __assign({ className: "smartapp-profile__current-profile" }, { children: [_jsxs("div", __assign({ className: "smartapp-profile__current-profile--info" }, { children: [_jsx("div", __assign({ className: "smartapp-profile__avatar" }, { children: initials })), _jsxs("div", __assign({ className: "smartapp-profile__current-profile--info__data" }, { children: [_jsx("p", __assign({ className: "smartapp-profile__current-profile--info__data--username" }, { children: username })), email && _jsx("p", __assign({ className: "smartapp-profile__current-profile--info__data--email" }, { children: email }))] }))] })), _jsx("div", __assign({ onClick: onClickLogout, className: "smartapp-profile__current-profile--logout" }, { children: _jsx(LogoutIcon, { style: { color: getColor(logoutColor, COLORS.blue) } }) }))] })), isMultipleProfile && (_jsxs("div", __assign({ onClick: onClickAddProfile, className: "smartapp-profile__add-profile" }, { children: [_jsx("div", __assign({ className: "smartapp-profile__add-profile--icon" }, { children: _jsx(AddProfileIcon, { style: {
37
37
  stroke: getColor(addProfileColor, COLORS.blue),
38
- color: getColor(addProfileBackgroundColor, COLORS.lighterBlue)
38
+ color: getColor(addProfileBackgroundColor, COLORS.lighterBlue),
39
39
  } }) })), _jsx("p", __assign({ className: "smartapp-profile__add-profile--title" }, { children: "\u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0430\u043A\u043A\u0430\u0443\u043D\u0442" }))] })))] })))] })));
40
40
  };
41
41
  export default Profile;
42
+ //# sourceMappingURL=Profile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Profile.js","sourceRoot":"","sources":["../../../../src/сomponents/Profile/Profile.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AACh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AAC,IAAI,CAAC;wCAC9C,KAAK,EAAE,QAAQ,CAAC,yBAAyB,EAAE,MAAM,CAAC,WAAW,CAAC;qCAC/D,GACD,IACE,EACN,qBAAG,SAAS,EAAC,sCAAsC,iHAAqB,KACpE,CACP,KACG,CACP,KACG,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,OAAO,CAAA"}
@@ -1 +1,2 @@
1
1
  export { default } from './Profile';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Profile/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Profile/types.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
1
  import { IRadioButtonProps } from './types';
2
- import '../../styles/stories.module.scss';
3
- declare const RadioButton: ({ id, isDisabled, isChecked, checkedColor, checkedHoverColor, onChange, }: IRadioButtonProps) => import("react/jsx-runtime").JSX.Element;
2
+ import '../../styles/styles.scss';
3
+ declare const RadioButton: ({ id, isDisabled, isChecked, checkedColor, checkedHoverColor, onChange }: IRadioButtonProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default RadioButton;
@@ -13,7 +13,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { useEffect } from 'react';
14
14
  import { COLORS } from '../../constants';
15
15
  import { getColor } from '../../helpers';
16
- import '../../styles/stories.module.scss';
16
+ import '../../styles/styles.scss';
17
17
  var RadioButton = function (_a) {
18
18
  var id = _a.id, _b = _a.isDisabled, isDisabled = _b === void 0 ? false : _b, _c = _a.isChecked, isChecked = _c === void 0 ? false : _c, checkedColor = _a.checkedColor, checkedHoverColor = _a.checkedHoverColor, onChange = _a.onChange;
19
19
  useEffect(function () {
@@ -23,3 +23,4 @@ var RadioButton = function (_a) {
23
23
  return (_jsx("div", __assign({ className: "smartapp-radio-button" }, { children: _jsx("label", __assign({ htmlFor: "smartapp-radio-button-".concat(id), onClick: onChange }, { children: _jsx("input", { type: "radio", id: "smartapp-radio-button-".concat(id), checked: isChecked, disabled: isDisabled }) })) })));
24
24
  };
25
25
  export default RadioButton;
26
+ //# sourceMappingURL=RadioButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioButton.js","sourceRoot":"","sources":["../../../../src/сomponents/RadioButton/RadioButton.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAExC,OAAO,0BAA0B,CAAA;AAEjC,IAAM,WAAW,GAAG,UAAC,EAA2G;QAAzG,EAAE,QAAA,EAAE,kBAAkB,EAAlB,UAAU,mBAAG,KAAK,KAAA,EAAE,iBAAiB,EAAjB,SAAS,mBAAG,KAAK,KAAA,EAAE,YAAY,kBAAA,EAAE,iBAAiB,uBAAA,EAAE,QAAQ,cAAA;IACzG,SAAS,CAAC;QACR,QAAQ,CAAC,eAAe,CAAC,KAAK,CAAC,WAAW,CAAC,sBAAsB,EAAE,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAA;QACvG,QAAQ,CAAC,eAAe,CAAC,KAAK,CAAC,WAAW,CAAC,4BAA4B,EAAE,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAA;IACxH,CAAC,EAAE,CAAC,YAAY,EAAE,iBAAiB,CAAC,CAAC,CAAA;IAErC,OAAO,CACL,uBAAK,SAAS,EAAC,uBAAuB,gBACpC,yBAAO,OAAO,EAAE,gCAAyB,EAAE,CAAE,EAAE,OAAO,EAAE,QAAQ,gBAC9D,gBAAO,IAAI,EAAC,OAAO,EAAC,EAAE,EAAE,gCAAyB,EAAE,CAAE,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,GAAI,IAC7F,IACJ,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1 +1,2 @@
1
1
  export { default } from './RadioButton';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/RadioButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/RadioButton/types.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
1
  import { IStoriesProps } from './types';
2
- import '../../styles/stories.module.scss';
2
+ import '../../styles/styles.scss';
3
3
  declare const StoriesComponent: ({ platform, fontFamily, groupStories, allGroupsStories, changeStoryToViewed, changeGroupStoriesToViewed, handleCloseGroupStories, }: IStoriesProps) => import("react/jsx-runtime").JSX.Element | null;
4
4
  export default StoriesComponent;
@@ -20,9 +20,9 @@ import { isEmpty } from 'lodash';
20
20
  import { ReactComponent as CloseStoriesIcon } from '../../assets/icons/close-stories.svg';
21
21
  import { ReactComponent as LoaderIcon } from '../../assets/icons/story-loader.svg';
22
22
  import { STORY_BACKGROUND_TYPES, STORY_TYPE, } from './types';
23
- import { COLORS, DEFAULT_FONT_FAMILY, NUMBER_OF_STORIES_FOR_ROUND_INDICATORS, PLATFORM, } from '../../constants';
23
+ import { COLORS, DEFAULT_FONT_FAMILY, NUMBER_OF_STORIES_FOR_ROUND_INDICATORS, PLATFORM } from '../../constants';
24
24
  import { getColor, isIosPlatform, isWebPlatform } from '../../helpers';
25
- import '../../styles/stories.module.scss';
25
+ import '../../styles/styles.scss';
26
26
  var storyItemBaseStyles = {
27
27
  height: '100%',
28
28
  width: '100%',
@@ -119,10 +119,10 @@ var StoriesComponent = function (_a) {
119
119
  changeGroupStoriesToViewed(activeGroupStories);
120
120
  }
121
121
  };
122
- var getCurrentStoryIndex = useCallback(function () { return (stories.findIndex(function (_a) {
122
+ var getCurrentStoryIndex = useCallback(function () { return stories.findIndex(function (_a) {
123
123
  var id = _a.id;
124
124
  return id === activeStoryId;
125
- })); }, [stories, activeStoryId]);
125
+ }); }, [stories, activeStoryId]);
126
126
  var onPrevious = function () {
127
127
  activeStoryId === stories[0].id ? handlePrevious() : onStoryStart(getCurrentStoryIndex() - 1);
128
128
  };
@@ -154,10 +154,10 @@ var StoriesComponent = function (_a) {
154
154
  setIsImageLoaded(true);
155
155
  }, 0);
156
156
  };
157
- return (_jsx("div", __assign({ style: getStoryStyles(backgroundSource) }, { children: _jsxs("div", __assign({ style: { fontFamily: "".concat(fontFamily, ", sans-serif") }, className: classNames('smartapp-stories__story', { 'smartapp-stories__story--image-bg': isImageOnBackground(backgroundSource) }) }, { children: [_jsxs("div", __assign({ style: { opacity: isLoaderVisible ? '0' : '1' } }, { children: [image && (_jsx("div", __assign({ className: "smartapp-stories__story--image" }, { children: _jsx("img", { src: image, alt: "", onLoad: handleImageLoad }) }))), title && _jsx("div", __assign({ className: "smartapp-stories__story--title" }, { children: title })), body && _jsx("div", __assign({ className: "smartapp-stories__story--body" }, { children: body })), button && (_jsx("div", __assign({ style: {
157
+ return (_jsx("div", __assign({ style: getStoryStyles(backgroundSource) }, { children: _jsxs("div", __assign({ style: { fontFamily: "".concat(fontFamily, ", sans-serif") }, className: classNames('smartapp-stories__story', { 'smartapp-stories__story--image-bg': isImageOnBackground(backgroundSource) }) }, { children: [_jsxs("div", __assign({ style: { opacity: isLoaderVisible ? '0' : '1' } }, { children: [image && (_jsx("div", __assign({ className: "smartapp-stories__story--image" }, { children: _jsx("img", { src: image, alt: "", onLoad: handleImageLoad, onError: handleImageLoad }) }))), title && _jsx("div", __assign({ className: "smartapp-stories__story--title" }, { children: title })), body && _jsx("div", __assign({ className: "smartapp-stories__story--body" }, { children: body })), button && (_jsx("div", __assign({ style: {
158
158
  color: getColor(button.textColor, COLORS.black),
159
159
  background: getColor(button.backgroundColor, COLORS.white),
160
- }, className: classNames('smartapp-stories__story--button', "smartapp-stories__story--button__".concat(platform)), onClick: button.action }, { children: button.text })))] })), isLoaderVisible && (_jsx("div", __assign({ className: 'smartapp-stories__story--loader' }, { children: _jsx(LoaderIcon, {}) })))] })) }), id));
160
+ }, className: classNames('smartapp-stories__story--button', "smartapp-stories__story--button__".concat(platform)), onClick: button.action }, { children: button.text })))] })), isLoaderVisible && (_jsx("div", __assign({ className: "smartapp-stories__story--loader" }, { children: _jsx(LoaderIcon, {}) })))] })) }), id));
161
161
  },
162
162
  });
163
163
  };
@@ -168,7 +168,7 @@ var StoriesComponent = function (_a) {
168
168
  url: url,
169
169
  });
170
170
  };
171
- var getStories = function () { return stories.map(function (story) { return story.type === STORY_TYPE.image ? getImageContent(story) : getVideoContent(story); }); };
171
+ var getStories = function () { return stories.map(function (story) { return (story.type === STORY_TYPE.image ? getImageContent(story) : getVideoContent(story)); }); };
172
172
  var swipeableHandlers = useSwipeable({
173
173
  trackMouse: true,
174
174
  onSwipedLeft: function () { return handleNext(); },
@@ -199,11 +199,11 @@ var StoriesComponent = function (_a) {
199
199
  var backgroundVideos = document.querySelectorAll("#background_video_".concat(activeStoryId));
200
200
  backgroundVideos.forEach(function (video) { return video.play(); });
201
201
  };
202
- video === null || video === void 0 ? void 0 : video.addEventListener("play", playVideosOnBackground);
203
- video === null || video === void 0 ? void 0 : video.addEventListener("pause", pauseVideosOnBackground);
202
+ video === null || video === void 0 ? void 0 : video.addEventListener('play', playVideosOnBackground);
203
+ video === null || video === void 0 ? void 0 : video.addEventListener('pause', pauseVideosOnBackground);
204
204
  return function () {
205
- video === null || video === void 0 ? void 0 : video.removeEventListener("play", playVideosOnBackground);
206
- video === null || video === void 0 ? void 0 : video.removeEventListener("pause", pauseVideosOnBackground);
205
+ video === null || video === void 0 ? void 0 : video.removeEventListener('play', playVideosOnBackground);
206
+ video === null || video === void 0 ? void 0 : video.removeEventListener('pause', pauseVideosOnBackground);
207
207
  };
208
208
  }, [activeStoryId]);
209
209
  useEffect(function () {
@@ -225,14 +225,14 @@ var StoriesComponent = function (_a) {
225
225
  if (activeStory) {
226
226
  if (activeStory.type === STORY_TYPE.image) {
227
227
  var _a = activeStory.backgroundSource, type = _a.type, value = _a.value;
228
- var prevBackgroundVideos = document.querySelectorAll(".smartapp-stories-content__background-video");
228
+ var prevBackgroundVideos = document.querySelectorAll('.smartapp-stories-content__background-video');
229
229
  var background = isColorOnBackground(type) ? value : "url(".concat(value, ")");
230
230
  !isEmpty(prevBackgroundVideos) && prevBackgroundVideos.forEach(function (video) { return video.remove(); });
231
231
  isWebPlatform(platform) && (popupElement === null || popupElement === void 0 ? void 0 : popupElement.style.setProperty('--background', background));
232
232
  }
233
233
  else {
234
234
  var id = activeStory.id, url = activeStory.url;
235
- var prevBackgroundVideos = document.querySelectorAll(".smartapp-stories-content__background-video");
235
+ var prevBackgroundVideos = document.querySelectorAll('.smartapp-stories-content__background-video');
236
236
  !isEmpty(prevBackgroundVideos) && prevBackgroundVideos.forEach(function (video) { return video.remove(); });
237
237
  if (isWebPlatform(platform)) {
238
238
  popupElement === null || popupElement === void 0 ? void 0 : popupElement.style.removeProperty('--background');
@@ -259,3 +259,4 @@ var StoriesComponent = function (_a) {
259
259
  _c)), onClick: handleCloseGroupStories })] })));
260
260
  };
261
261
  export default StoriesComponent;
262
+ //# sourceMappingURL=Stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Stories.js","sourceRoot":"","sources":["../../../../src/сomponents/Stories/Stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,WAAW,EAAE,SAAS,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChF,OAA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C,SAAS,EAAC,kBAAkB,EAAC,IAAI,uBACtC,uBACE,SAAS,EAAE,UAAU;wBACnB,kBAAkB,EAAE,IAAI;;oBACxB,GAAC,4BAAqB,QAAQ,CAAE,IAAG,IAAI;oBACvC,6BAAyB,GAAE,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,IAAI,MAAK,UAAU,CAAC,KAAK;oBACjE,qCAAiC,GAAE,gBAAgB;oBACnD,oCAAgC,GAAE,eAAe;wBACjD,IACE,iBAAiB,cAErB,KAAC,OAAO,IAEN,eAAe,EAAE,IAAI,EACrB,KAAK,EAAC,MAAM,EACZ,MAAM,EAAC,MAAM,EACb,OAAO,EAAE,UAAU,EAAE,EACrB,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,UAAU,EAC3B,uBAAuB,EAAE,uBAAuB,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,EAC1E,qBAAqB,EAAE,qBAAqB,EAC5C,cAAc,EAAE,cAAc,IAXzB,kBAAkB,CAAC,EAAE,CAY1B,IACE,EACN,KAAC,gBAAgB,IACf,SAAS,EAAE,UAAU;wBACnB,wBAAwB,EAAE,IAAI;;oBAC9B,GAAC,kCAA2B,QAAQ,CAAE,IAAG,IAAI;wBAC7C,EACF,OAAO,EAAE,uBAAuB,GAChC,KACI,CACT,CAAA;AACH,CAAC,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -1 +1,2 @@
1
1
  export { default } from './Stories';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Stories/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
@@ -8,3 +8,4 @@ export var STORY_TYPE;
8
8
  STORY_TYPE["image"] = "image";
9
9
  STORY_TYPE["video"] = "video";
10
10
  })(STORY_TYPE || (STORY_TYPE = {}));
11
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Stories/types.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,yCAAe,CAAA;IACf,yCAAe,CAAA;AACjB,CAAC,EAHW,sBAAsB,KAAtB,sBAAsB,QAGjC;AAED,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,6BAAe,CAAA;IACf,6BAAe,CAAA;AACjB,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB"}
@@ -1,4 +1,4 @@
1
1
  import { ISwitcherProps } from './types';
2
- import '../../styles/stories.module.scss';
2
+ import '../../styles/styles.scss';
3
3
  declare const Switcher: ({ pages }: ISwitcherProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Switcher;