@alphakits/ui 1.3.22 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. package/dist/{_commonjsHelpers-5d78437d.js → _commonjsHelpers-27bd8bf8.js} +0 -0
  2. package/dist/amount/component.js +1 -1
  3. package/dist/amount/index.js +1 -1
  4. package/dist/amount-input/component.d.ts +1 -1
  5. package/dist/amount-input/component.js +1 -1
  6. package/dist/amount-input/index.js +1 -1
  7. package/dist/avatar/component.d.ts +6 -18
  8. package/dist/avatar/component.js +1 -1
  9. package/dist/avatar/index.js +1 -1
  10. package/dist/button/component.js +1 -1
  11. package/dist/button/index.js +1 -1
  12. package/dist/calendar/component.js +1 -1
  13. package/dist/calendar/components/days-table/component.js +1 -1
  14. package/dist/calendar/components/days-table/index.js +1 -1
  15. package/dist/calendar/components/header/index.js +1 -1
  16. package/dist/calendar/components/header//321/201omponent.js +1 -1
  17. package/dist/calendar/components/months-table/index.js +1 -1
  18. package/dist/calendar/components/months-table//321/201omponent.js +1 -1
  19. package/dist/calendar/components/select-button/index.js +1 -1
  20. package/dist/calendar/components/select-button//321/201omponent.js +1 -1
  21. package/dist/calendar/components/years-table/index.js +1 -1
  22. package/dist/calendar/components/years-table//321/201omponent.js +1 -1
  23. package/dist/calendar/index.js +1 -1
  24. package/dist/calendar/use-calendar.d.ts +4 -4
  25. package/dist/calendar-input/component.d.ts +4 -4
  26. package/dist/calendar-input/component.js +1 -1
  27. package/dist/calendar-input/index.js +1 -1
  28. package/dist/calendar-input/utils.d.ts +1 -1
  29. package/dist/cell/base/component.js +1 -1
  30. package/dist/cell/base/index.d.ts +1 -1
  31. package/dist/cell/base/index.js +1 -1
  32. package/dist/cell/component.js +1 -1
  33. package/dist/cell/index.d.ts +1 -1
  34. package/dist/cell/index.js +1 -1
  35. package/dist/cell/pure/component.js +1 -1
  36. package/dist/cell/pure/index.js +1 -1
  37. package/dist/checkbox/component.d.ts +5 -5
  38. package/dist/checkbox/component.js +1 -1
  39. package/dist/checkbox/index.js +1 -1
  40. package/dist/checkbox-group/component.js +1 -1
  41. package/dist/checkbox-group/index.js +1 -1
  42. package/dist/checkbox-lists/component.d.ts +2 -1
  43. package/dist/checkbox-lists/component.js +1 -1
  44. package/dist/checkbox-lists/index.js +1 -1
  45. package/dist/collapse/component.js +1 -1
  46. package/dist/collapse/index.js +1 -1
  47. package/dist/{colors.module-e10ea314.js → colors.module-6552955c.js} +0 -0
  48. package/dist/{common.module-1192285d.js → common.module-87da2241.js} +0 -0
  49. package/dist/component-d4c967f5.d.ts +14 -0
  50. package/dist/component-d4c967f5.js +1 -0
  51. package/dist/component-e71445f5.d.ts +7 -0
  52. package/dist/{contact-block-7713e671.d.ts → contact-block-ad242bff.d.ts} +0 -0
  53. package/dist/{contact-block-7713e671.js → contact-block-ad242bff.js} +0 -0
  54. package/dist/copy-button/component.js +1 -1
  55. package/dist/copy-button/index.js +1 -1
  56. package/dist/date/component.d.ts +1 -1
  57. package/dist/date/component.js +1 -1
  58. package/dist/date/index.js +1 -1
  59. package/dist/date-switcher/component.js +1 -1
  60. package/dist/date-switcher/index.js +1 -1
  61. package/dist/footer/component.js +1 -1
  62. package/dist/footer/components/contacts-block.js +1 -1
  63. package/dist/footer/contact-block.js +1 -1
  64. package/dist/footer/index.js +1 -1
  65. package/dist/form/component.js +1 -1
  66. package/dist/form/components/form-footer/index.js +1 -1
  67. package/dist/form/components/index.js +1 -1
  68. package/dist/form/index.js +1 -1
  69. package/dist/form/templates/crud-form/index.js +1 -1
  70. package/dist/form/templates/filters-form/index.js +1 -1
  71. package/dist/form/templates/rest-form/index.d.ts +6 -4
  72. package/dist/form/templates/rest-form/index.js +1 -1
  73. package/dist/form/utils/get-default-values.js +1 -1
  74. package/dist/form/utils/remove-undefined-from-object.d.ts +2 -1
  75. package/dist/form-control/component.d.ts +5 -5
  76. package/dist/form-control/component.js +1 -1
  77. package/dist/form-control/index.js +1 -1
  78. package/dist/{formik.esm-47226c46.js → formik.esm-4e2c2766.js} +1 -1
  79. package/dist/grid/col/component.js +1 -1
  80. package/dist/grid/col/index.js +1 -1
  81. package/dist/grid/component.js +1 -1
  82. package/dist/grid/index.js +1 -1
  83. package/dist/grid/row/component.js +1 -1
  84. package/dist/grid/row/index.js +1 -1
  85. package/dist/{gutters.module-88a291fc.js → gutters.module-d99ee6c7.js} +0 -0
  86. package/dist/heading/component.js +1 -1
  87. package/dist/heading/index.js +1 -1
  88. package/dist/hooks/index.d.ts +1 -1
  89. package/dist/hooks/index.js +1 -1
  90. package/dist/hooks/use-crud-form-requests/index.d.ts +1 -0
  91. package/dist/hooks/use-crud-form-requests/index.js +1 -1
  92. package/dist/hooks/{use-get-ine → use-get-one}/index.d.ts +2 -0
  93. package/dist/hooks/use-get-one/index.js +1 -0
  94. package/dist/icon-button/component.d.ts +2 -2
  95. package/dist/icon-button/component.js +1 -1
  96. package/dist/icon-button/index.js +1 -1
  97. package/dist/image/component.d.ts +2 -15
  98. package/dist/image/component.js +1 -1
  99. package/dist/image/constants.d.ts +13 -0
  100. package/dist/image/constants.js +1 -0
  101. package/dist/image/index.d.ts +3 -0
  102. package/dist/image/index.js +1 -1
  103. package/dist/image/typings.d.ts +25 -0
  104. package/dist/image/typings.js +1 -0
  105. package/dist/{cell/action/component.d.ts → image/use-image-render-component.d.ts} +0 -0
  106. package/dist/image/use-image-render-component.js +1 -0
  107. package/dist/image/utils.d.ts +4 -0
  108. package/dist/image/utils.js +1 -0
  109. package/dist/index.css +1 -5
  110. package/dist/index.ts +0 -4
  111. package/dist/info-block-header/component.js +1 -1
  112. package/dist/info-block-header/index.js +1 -1
  113. package/dist/info-block-item/component.js +1 -1
  114. package/dist/info-block-item/index.js +1 -1
  115. package/dist/input/component.d.ts +6 -6
  116. package/dist/input/component.js +1 -1
  117. package/dist/input/index.js +1 -1
  118. package/dist/intersection-observer-30c3e2f3.js +1 -0
  119. package/dist/link/component.d.ts +2 -2
  120. package/dist/link/component.js +1 -1
  121. package/dist/link/index.js +1 -1
  122. package/dist/list-allert/component.js +1 -1
  123. package/dist/list-allert/index.js +1 -1
  124. package/dist/masked-input/component.d.ts +6 -3
  125. package/dist/masked-input/component.js +1 -1
  126. package/dist/masked-input/index.js +1 -1
  127. package/dist/message/component.d.ts +1 -0
  128. package/dist/message/component.js +1 -1
  129. package/dist/message/index.js +1 -1
  130. package/dist/modal/components/modals/index.js +1 -1
  131. package/dist/modal/context.js +1 -1
  132. package/dist/modal/hooks/use-modal.d.ts +2 -2
  133. package/dist/modal/hooks/use-modal.js +1 -1
  134. package/dist/modal/index.js +1 -1
  135. package/dist/not-found/component.js +1 -1
  136. package/dist/not-found/index.js +1 -1
  137. package/dist/notification/component.js +1 -1
  138. package/dist/notification/index.js +1 -1
  139. package/dist/{parse-query-params-af66a91d.d.ts → parse-query-params-39db1afb.d.ts} +0 -0
  140. package/dist/{parse-query-params-af66a91d.js → parse-query-params-39db1afb.js} +1 -1
  141. package/dist/picker-button/component.d.ts +1 -1
  142. package/dist/picker-button/component.js +1 -1
  143. package/dist/picker-button/field/Component.js +1 -1
  144. package/dist/picker-button/field/index.js +1 -1
  145. package/dist/picker-button/index.js +1 -1
  146. package/dist/popover/component.js +1 -1
  147. package/dist/popover/index.js +1 -1
  148. package/dist/progress-bar/component.js +1 -1
  149. package/dist/progress-bar/index.js +1 -1
  150. package/dist/progress-index/component.js +1 -1
  151. package/dist/progress-index/index.js +1 -1
  152. package/dist/radio/component.d.ts +5 -5
  153. package/dist/radio/component.js +1 -1
  154. package/dist/radio/index.js +1 -1
  155. package/dist/radio-group/component.js +1 -1
  156. package/dist/radio-group/index.js +1 -1
  157. package/dist/radio-groups/component.d.ts +2 -1
  158. package/dist/radio-groups/component.js +1 -1
  159. package/dist/radio-groups/index.js +1 -1
  160. package/dist/select/component.d.ts +1 -1
  161. package/dist/select/component.js +1 -1
  162. package/dist/select/components/base-select/component.js +1 -1
  163. package/dist/select/components/base-select/index.js +1 -1
  164. package/dist/select/components/field/component.d.ts +21 -2
  165. package/dist/select/components/field/component.js +1 -1
  166. package/dist/select/components/field/index.js +1 -1
  167. package/dist/select/components/index.js +1 -1
  168. package/dist/select/components/native-select/component.d.ts +1 -1
  169. package/dist/select/components/native-select/component.js +1 -1
  170. package/dist/select/components/native-select/index.js +1 -1
  171. package/dist/select/components/option/component.js +1 -1
  172. package/dist/select/components/option/index.js +1 -1
  173. package/dist/select/components/options-list/component.d.ts +2 -1
  174. package/dist/select/components/options-list/component.js +1 -1
  175. package/dist/select/components/options-list/index.js +1 -1
  176. package/dist/select/components/virtual-options-list/component.js +1 -1
  177. package/dist/select/components/virtual-options-list/index.js +1 -1
  178. package/dist/select/index.js +1 -1
  179. package/dist/select/presets/index.d.ts +1 -0
  180. package/dist/select/presets/index.js +1 -1
  181. package/dist/select/presets/use-lazy-loading/index.d.ts +45 -0
  182. package/dist/select/presets/use-lazy-loading/index.js +1 -0
  183. package/dist/select/presets/use-select-with-loading/hook.js +1 -1
  184. package/dist/select/typings.d.ts +7 -0
  185. package/dist/select/utils.d.ts +14 -2
  186. package/dist/select/utils.js +1 -1
  187. package/dist/sidepanel-header/component.js +1 -1
  188. package/dist/sidepanel-header/index.js +1 -1
  189. package/dist/space/Item.js +1 -1
  190. package/dist/space/component.js +1 -1
  191. package/dist/space/index.js +1 -1
  192. package/dist/suffix-input/component.d.ts +1 -1
  193. package/dist/suffix-input/component.js +1 -1
  194. package/dist/suffix-input/index.js +1 -1
  195. package/dist/super-list-header/component.js +1 -1
  196. package/dist/super-list-header/index.js +1 -1
  197. package/dist/super-list-item/component.js +1 -1
  198. package/dist/super-list-item/index.js +1 -1
  199. package/dist/switch/component.d.ts +5 -5
  200. package/dist/switch/component.js +1 -1
  201. package/dist/switch/index.js +1 -1
  202. package/dist/table/columns.d.ts +2 -10
  203. package/dist/table/columns.js +1 -1
  204. package/dist/table/component.js +1 -1
  205. package/dist/table/components/cell/component.d.ts +6 -2
  206. package/dist/table/components/cell/component.js +1 -1
  207. package/dist/table/components/cell/index.js +1 -1
  208. package/dist/table/components/cells/index.js +1 -1
  209. package/dist/table/components/empty-list/index.d.ts +1 -1
  210. package/dist/table/components/empty-list/index.js +1 -1
  211. package/dist/table/components/error/index.d.ts +1 -1
  212. package/dist/table/components/error/index.js +1 -1
  213. package/dist/table/components/pagination/index.js +1 -1
  214. package/dist/table/components/row/component.js +1 -1
  215. package/dist/table/components/row/index.js +1 -1
  216. package/dist/table/components/rows/index.js +1 -1
  217. package/dist/table/components/table-header/index.js +1 -1
  218. package/dist/table/data.js +1 -1
  219. package/dist/table/hooks/use-table-data.js +1 -1
  220. package/dist/table/index.js +1 -1
  221. package/dist/table/table.js +1 -1
  222. package/dist/table/utils/add-query-param.js +1 -1
  223. package/dist/table/utils/get-query-from-url.js +1 -1
  224. package/dist/table/utils/index.d.ts +1 -1
  225. package/dist/table/utils/index.js +1 -1
  226. package/dist/table/utils/parse-query-params.js +1 -1
  227. package/dist/table/utils/query-adapter.js +1 -1
  228. package/dist/table/utils/remove-query-param.js +1 -1
  229. package/dist/table/utils/reset-query-param.js +1 -1
  230. package/dist/table/utils/serialize-data.d.ts +1 -1
  231. package/dist/table/utils/serialize-data.js +1 -1
  232. package/dist/table-status/component.js +1 -1
  233. package/dist/table-status/index.js +1 -1
  234. package/dist/tag/component.js +1 -1
  235. package/dist/tag/index.js +1 -1
  236. package/dist/tags-list/component.js +1 -1
  237. package/dist/tags-list/index.js +1 -1
  238. package/dist/tariff-builder/component.js +1 -1
  239. package/dist/tariff-builder/index.js +1 -1
  240. package/dist/textarea/component.d.ts +1 -1
  241. package/dist/textarea/component.js +1 -1
  242. package/dist/textarea/index.js +1 -1
  243. package/dist/toast/component.js +1 -1
  244. package/dist/toast/index.js +1 -1
  245. package/dist/toast-notifier/component.js +1 -1
  246. package/dist/toast-notifier/index.js +1 -1
  247. package/dist/toast-plate/component.d.ts +4 -4
  248. package/dist/toast-plate/component.js +1 -1
  249. package/dist/toast-plate/index.js +1 -1
  250. package/dist/tooltip/component.js +1 -1
  251. package/dist/tooltip/index.js +1 -1
  252. package/dist/{tslib.es6-ae23482d.js → tslib.es6-1a99fe1e.js} +0 -0
  253. package/dist/typography/component.js +1 -1
  254. package/dist/typography/index.js +1 -1
  255. package/dist/typography/text/component.js +1 -1
  256. package/dist/typography/text/index.js +1 -1
  257. package/dist/typography/title/component.js +1 -1
  258. package/dist/typography/title/index.js +1 -1
  259. package/dist/typography/title-responsive/component.js +1 -1
  260. package/dist/typography/title-responsive/index.js +1 -1
  261. package/dist/use-image-render-component-f1985b6e.d.ts +13 -0
  262. package/dist/use-image-render-component-f1985b6e.js +1 -0
  263. package/dist/utils/get-service-error/index.d.ts +21 -0
  264. package/dist/utils/get-service-error/index.js +1 -0
  265. package/dist/utils/get-service-error/is-axios-error.d.ts +3 -0
  266. package/dist/utils/get-service-error/is-axios-error.js +1 -0
  267. package/dist/utils/get-service-error/is-network-error.d.ts +2 -0
  268. package/dist/utils/get-service-error/is-network-error.js +1 -0
  269. package/dist/utils/index.js +1 -1
  270. package/dist/utils/show-toast/index.js +1 -1
  271. package/dist/vars/alpha-radiuses.css +1 -0
  272. package/dist/vars/typography.css +1 -1
  273. package/dist/with-suffix/component.d.ts +34 -3
  274. package/dist/with-suffix/component.js +1 -1
  275. package/dist/with-suffix/index.js +1 -1
  276. package/package.json +10 -15
  277. package/dist/avatar/hooks/index.d.ts +0 -1
  278. package/dist/avatar/hooks/index.js +0 -1
  279. package/dist/avatar/hooks/use-image-loading-state.d.ts +0 -4
  280. package/dist/avatar/hooks/use-image-loading-state.js +0 -1
  281. package/dist/avatar/types.d.ts +0 -3
  282. package/dist/avatar/types.js +0 -1
  283. package/dist/cell/action/component.js +0 -1
  284. package/dist/cell/action/index.d.ts +0 -1
  285. package/dist/cell/action/index.js +0 -1
  286. package/dist/cell/autopayment/component.d.ts +0 -0
  287. package/dist/cell/autopayment/component.js +0 -1
  288. package/dist/cell/autopayment/index.d.ts +0 -1
  289. package/dist/cell/autopayment/index.js +0 -1
  290. package/dist/cell/catalog/component.d.ts +0 -0
  291. package/dist/cell/catalog/component.js +0 -1
  292. package/dist/cell/catalog/index.d.ts +0 -1
  293. package/dist/cell/catalog/index.js +0 -1
  294. package/dist/cell/subscription/component.d.ts +0 -0
  295. package/dist/cell/subscription/component.js +0 -1
  296. package/dist/cell/subscription/index.d.ts +0 -1
  297. package/dist/cell/subscription/index.js +0 -1
  298. package/dist/cell/transaction/component.d.ts +0 -19
  299. package/dist/cell/transaction/component.js +0 -1
  300. package/dist/cell/transaction/index.d.ts +0 -1
  301. package/dist/cell/transaction/index.js +0 -1
  302. package/dist/component-5dbe6e58.d.ts +0 -17
  303. package/dist/component-b5635135.d.ts +0 -63
  304. package/dist/component-b5635135.js +0 -1
  305. package/dist/hooks/use-get-ine/index.js +0 -1
  306. package/dist/super-ellipse/component.d.ts +0 -10
  307. package/dist/super-ellipse/component.js +0 -1
  308. package/dist/super-ellipse/index.d.ts +0 -1
  309. package/dist/super-ellipse/index.js +0 -1
  310. package/dist/super-ellipse-button/component.d.ts +0 -9
  311. package/dist/super-ellipse-button/component.js +0 -1
  312. package/dist/super-ellipse-button/index.d.ts +0 -1
  313. package/dist/super-ellipse-button/index.js +0 -1
  314. package/dist/super-ellipse-pure/component.d.ts +0 -11
  315. package/dist/super-ellipse-pure/component.js +0 -1
  316. package/dist/super-ellipse-pure/index.d.ts +0 -1
  317. package/dist/super-ellipse-pure/index.js +0 -1
  318. package/dist/super-ellipse-shape/component.d.ts +0 -12
  319. package/dist/super-ellipse-shape/component.js +0 -1
  320. package/dist/super-ellipse-shape/index.d.ts +0 -1
  321. package/dist/super-ellipse-shape/index.js +0 -1
@@ -1 +1 @@
1
- export{Toast}from"./component.js";import"../tslib.es6-ae23482d.js";import"react";import"react-merge-refs";import"react-transition-group";import"classnames";import"../hooks/useClickOutside/index.js";import"../hooks/usePrevious/index.js";import"../toast-plate/component.js";import"alpha-cli-icons";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../popover/component.js";import"react-popper";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";
1
+ export{Toast}from"./component.js";import"../tslib.es6-1a99fe1e.js";import"react";import"react-merge-refs";import"react-transition-group";import"classnames";import"../hooks/useClickOutside/index.js";import"../hooks/usePrevious/index.js";import"../toast-plate/component.js";import"alpha-cli-icons";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../popover/component.js";import"react-popper";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";
@@ -1 +1 @@
1
- import{_ as e,a as t}from"../tslib.es6-ae23482d.js";import o from"react";import n from"react-dom";import r from"classnames";import{ToastPlate as s}from"../toast-plate/component.js";import{useTimer as i}from"./use-timer.js";import"alpha-cli-icons";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";var a,m="index-module_notificationComponent__372lU",l="index-module_isVisible__3Qu8J",d="index-module_toastContent__3Vxkc";"undefined"!=typeof window&&((a=document.createElement("div")).setAttribute("id","toast_manager"),document.body.appendChild(a));var u=function(u){var p,c=u.className;u.children;var f=u.offset,v=void 0===f?108:f,h=u.hasCloser,C=void 0===h||h;u.onClose;var _=u.text;u.onMouseEnter,u.onMouseLeave;var x=u.style,b=u.delay,y=void 0===b?3e3:b,E=e(u,["className","children","offset","hasCloser","onClose","text","onMouseEnter","onMouseLeave","style","delay"]);if("undefined"==typeof window)return null;a.setAttribute("style","position: absolute; top: "+v+"px; right: 30px");var j=document.createElement("div");j.setAttribute("id","toast_wrap-"+Math.random()),j.setAttribute("style"," margin-bottom: 18px"),a.appendChild(j);var g=function(){a.removeChild(j)},w=i(g,y),M=w.pause,A=w.resume;return j.addEventListener("mouseenter",(function(){M()})),j.addEventListener("mouseleave",(function(){A()})),n.render(o.createElement(s,t({hasCloser:C,className:r(m,(p={},p[l]=!0,p),c),contentClassName:d,style:t({right:0,position:"relative"},x),role:"alert",onClose:g},E),_),j),null};export{u as ToastNotifier};
1
+ import{_ as e,a as t}from"../tslib.es6-1a99fe1e.js";import o from"react";import n from"react-dom";import r from"classnames";import{ToastPlate as s}from"../toast-plate/component.js";import{useTimer as i}from"./use-timer.js";import"alpha-cli-icons";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";var a,m="index-module_notificationComponent__372lU",l="index-module_isVisible__3Qu8J",d="index-module_toastContent__3Vxkc";"undefined"!=typeof window&&((a=document.createElement("div")).setAttribute("id","toast_manager"),document.body.appendChild(a));var u=function(u){var p,c=u.className;u.children;var f=u.offset,v=void 0===f?108:f,h=u.hasCloser,C=void 0===h||h;u.onClose;var _=u.text;u.onMouseEnter,u.onMouseLeave;var b=u.style,x=u.delay,y=void 0===x?3e3:x,E=e(u,["className","children","offset","hasCloser","onClose","text","onMouseEnter","onMouseLeave","style","delay"]);if("undefined"==typeof window)return null;a.setAttribute("style","position: absolute; bottom: "+v+"px; right: 30px");var j=document.createElement("div");j.setAttribute("id","toast_wrap-"+Math.random()),j.setAttribute("style"," margin-bottom: 18px"),a.appendChild(j);var g=function(){a.removeChild(j)},w=i(g,y),M=w.pause,A=w.resume;return j.addEventListener("mouseenter",(function(){M()})),j.addEventListener("mouseleave",(function(){A()})),n.render(o.createElement(s,t({hasCloser:C,className:r(m,(p={},p[l]=!0,p),c),contentClassName:d,style:t({right:0,position:"relative"},b),role:"alert",onClose:g},E),_),j),null};export{u as ToastNotifier};
@@ -1 +1 @@
1
- export{ToastNotifier}from"./component.js";import"../tslib.es6-ae23482d.js";import"react";import"react-dom";import"classnames";import"../toast-plate/component.js";import"alpha-cli-icons";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"./use-timer.js";
1
+ export{ToastNotifier}from"./component.js";import"../tslib.es6-1a99fe1e.js";import"react";import"react-dom";import"classnames";import"../toast-plate/component.js";import"alpha-cli-icons";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"./use-timer.js";
@@ -23,11 +23,11 @@ type ToastPlateProps = HTMLAttributes<HTMLDivElement> & {
23
23
  declare const ToastPlate: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
24
24
  className?: string | undefined;
25
25
  contentClassName?: string | undefined;
26
- children?: ReactNode;
27
- title?: ReactNode;
26
+ children?: React.ReactNode;
27
+ title?: React.ReactNode;
28
28
  view?: "positive" | "negative" | "default" | undefined;
29
- leftAddons?: ReactNode;
30
- actionButton?: ReactNode;
29
+ leftAddons?: React.ReactNode;
30
+ actionButton?: React.ReactNode;
31
31
  dataTestId?: string | undefined;
32
32
  hasCloser?: boolean | undefined;
33
33
  block?: boolean | undefined;
@@ -1 +1 @@
1
- import{_ as e,a as t}from"../tslib.es6-ae23482d.js";import o,{forwardRef as n,useCallback as a}from"react";import{CloseS as l}from"alpha-cli-icons";import i from"classnames";import{Button as s}from"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";var _={component:"index-module_component__1-bP3",hasCloser:"index-module_hasCloser__1tXHy",contentWrap:"index-module_contentWrap__2OfQM",block:"index-module_block__1aVTZ",content:"index-module_content__3WQJx",actionSection:"index-module_actionSection__2uYWg",leftAddons:"index-module_leftAddons__dPWvX",title:"index-module_title__3s4Iy",children:"index-module_children__20qcv",closeButton:"index-module_closeButton__2rWck",negative:"index-module_negative__34lhl",positive:"index-module_positive__2B8L6",toast_enter:"index-module_toast_enter__-zNmP",toast_active_enter:"index-module_toast_active_enter__23TeH",toast_done_enter:"index-module_toast_done_enter__3mlJ0",toast_exit:"index-module_toast_exit__3Q1-3",toast_active_exit:"index-module_toast_active_exit__aBjiS",toast_done_exit:"index-module_toast_done_exit__2LVf4"},d=n((function(n,d){var c,m=n.dataTestId,r=n.className,u=n.contentClassName,x=n.hasCloser;n.leftAddons;var v=n.view,p=void 0===v?"default":v,f=n.title,h=n.children;n.actionButton;var N=n.block,C=n.onClose;n.getBadgeIcons;var b=e(n,["dataTestId","className","contentClassName","hasCloser","leftAddons","view","title","children","actionButton","block","onClose","getBadgeIcons"]),g=a((function(e){C&&C(e)}),[C]);return o.createElement("div",t({className:i(_.component,(c={},c[_.block]=N,c[_.hasCloser]=x,c),_[p],r),ref:d,"data-test-id":m},b),o.createElement("div",{className:_.contentWrap},o.createElement("div",{className:i(u,_.content)},f&&o.createElement("div",{className:_.title},f),h&&o.createElement("div",{className:_.children},h)),x&&o.createElement(s,t({className:i(_.closeButton),view:"ghost"},{onClick:g},{"aria-label":"закрыть",leftAddons:o.createElement(l,null)}))))}));export{d as ToastPlate};
1
+ import{_ as e,a as t}from"../tslib.es6-1a99fe1e.js";import o,{forwardRef as n,useCallback as a}from"react";import{CloseS as l}from"alpha-cli-icons";import i from"classnames";import{Button as s}from"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";var _={component:"index-module_component__1-bP3",hasCloser:"index-module_hasCloser__1tXHy",contentWrap:"index-module_contentWrap__2OfQM",block:"index-module_block__1aVTZ",content:"index-module_content__3WQJx",actionSection:"index-module_actionSection__2uYWg",leftAddons:"index-module_leftAddons__dPWvX",title:"index-module_title__3s4Iy",children:"index-module_children__20qcv",closeButton:"index-module_closeButton__2rWck",negative:"index-module_negative__34lhl",positive:"index-module_positive__2B8L6",toast_enter:"index-module_toast_enter__-zNmP",toast_active_enter:"index-module_toast_active_enter__23TeH",toast_done_enter:"index-module_toast_done_enter__3mlJ0",toast_exit:"index-module_toast_exit__3Q1-3",toast_active_exit:"index-module_toast_active_exit__aBjiS",toast_done_exit:"index-module_toast_done_exit__2LVf4"},d=n((function(n,d){var c,m=n.dataTestId,r=n.className,u=n.contentClassName,x=n.hasCloser;n.leftAddons;var v=n.view,p=void 0===v?"default":v,f=n.title,h=n.children;n.actionButton;var N=n.block,C=n.onClose;n.getBadgeIcons;var b=e(n,["dataTestId","className","contentClassName","hasCloser","leftAddons","view","title","children","actionButton","block","onClose","getBadgeIcons"]),g=a((function(e){C&&C(e)}),[C]);return o.createElement("div",t({className:i(_.component,(c={},c[_.block]=N,c[_.hasCloser]=x,c),_[p],r),ref:d,"data-test-id":m},b),o.createElement("div",{className:_.contentWrap},o.createElement("div",{className:i(u,_.content)},f&&o.createElement("div",{className:_.title},f),h&&o.createElement("div",{className:_.children},h)),x&&o.createElement(s,t({className:i(_.closeButton),view:"ghost"},{onClick:g},{"aria-label":"закрыть",leftAddons:o.createElement(l,null)}))))}));export{d as ToastPlate};
@@ -1 +1 @@
1
- export{ToastPlate}from"./component.js";import"../tslib.es6-ae23482d.js";import"react";import"alpha-cli-icons";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";
1
+ export{ToastPlate}from"./component.js";import"../tslib.es6-1a99fe1e.js";import"react";import"alpha-cli-icons";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";
@@ -1 +1 @@
1
- import{a as e}from"../tslib.es6-ae23482d.js";import o,{useState as t,useRef as r,useCallback as n,useEffect as c,cloneElement as a}from"react";import i from"react-node-resolver";import u from"classnames";import{Popover as s}from"../popover/component.js";import"react-popper";import"react-transition-group";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";var p="index-module_component__27XUU",l="index-module_popper__15ABf",m="index-module_target__3lSlZ",f=function(f){var d=f.children,v=f.content,C=f.trigger,w=void 0===C?"hover":C,T=f.onCloseDelay,h=void 0===T?300:T,g=f.onOpenDelay,_=void 0===g?300:g,k=f.dataTestId,N=f.onClose,O=f.onOpen,E=f.open,j=f.getPortalContainer,M=f.offset,x=void 0===M?[0,10]:M,y=f.position,S=f.contentClassName,b=f.arrowClassName,P=f.popoverClassName,R=f.updatePopover,A=t(!!E),D=A[0],L=A[1],U=t(null),B=U[0],F=U[1],I=o.useRef(null),X=o.useRef(null),Z=r(0),q=function(){D||(L(!0),O&&O())},z=n((function(){D&&(L(!1),N&&N())}),[N,D]),G=function(e){return(!I.current||!I.current.contains(e))&&(!X.current||!X.current.contains(e))};c((function(){var e=function(e){var o=e.target;G(o)&&z()};return document.body.addEventListener("click",e),function(){document.body.removeEventListener("click",e),clearTimeout(Z.current)}}),[z]);var H,J={onClick:function(e){d.props.onClick&&d.props.onClick(e),D?z():q()}},K={onMouseOver:function(e){d.props.onMouseOver&&d.props.onMouseOver(e),clearTimeout(Z.current),Z.current=window.setTimeout((function(){q()}),_)},onMouseOut:function(e){d.props.onMouseOut&&d.props.onMouseOut(e),clearTimeout(Z.current),Z.current=window.setTimeout((function(){z()}),h)},onTouchStart:function(e){d.props.onTouchStart&&d.props.onTouchStart(e);var o=e.target;clearTimeout(Z.current),G(o)?Z.current=window.setTimeout((function(){z()}),h):q()}},Q=void 0===E?D:E,V=n((function(e){I.current=e,F(I.current)}),[]);return o.createElement(o.Fragment,null,o.createElement(i,{innerRef:V},(H=function(o){var t={className:u(m,o.className)};switch(w){case"click":return e(e({},t),J);case"hover":return e(e({},t),K);default:return{}}}(d.props),a(d,H))),B&&o.createElement(s,{anchorElement:B,open:Q,getPortalContainer:j,arrowClassName:b,popperClassName:u(l,P),offset:x,withArrow:!0,position:y,update:R},function(){var t=function(){var o={ref:X,"data-test-id":k,className:u(p,S)};return"hover"===w?e(e({},o),K):o}();return o.createElement("div",e({},t),v)}()))};export{f as Tooltip};
1
+ import{a as e}from"../tslib.es6-1a99fe1e.js";import o,{useState as t,useRef as r,useCallback as n,useEffect as c,cloneElement as a}from"react";import i from"react-node-resolver";import u from"classnames";import{Popover as s}from"../popover/component.js";import"react-popper";import"react-transition-group";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";var p="index-module_component__27XUU",l="index-module_popper__15ABf",m="index-module_target__3lSlZ",f=function(f){var d=f.children,v=f.content,C=f.trigger,w=void 0===C?"hover":C,T=f.onCloseDelay,h=void 0===T?300:T,g=f.onOpenDelay,_=void 0===g?300:g,k=f.dataTestId,N=f.onClose,O=f.onOpen,E=f.open,j=f.getPortalContainer,M=f.offset,x=void 0===M?[0,10]:M,y=f.position,S=f.contentClassName,b=f.arrowClassName,P=f.popoverClassName,R=f.updatePopover,A=t(!!E),D=A[0],L=A[1],U=t(null),B=U[0],F=U[1],I=o.useRef(null),X=o.useRef(null),Z=r(0),q=function(){D||(L(!0),O&&O())},z=n((function(){D&&(L(!1),N&&N())}),[N,D]),G=function(e){return(!I.current||!I.current.contains(e))&&(!X.current||!X.current.contains(e))};c((function(){var e=function(e){var o=e.target;G(o)&&z()};return document.body.addEventListener("click",e),function(){document.body.removeEventListener("click",e),clearTimeout(Z.current)}}),[z]);var H,J={onClick:function(e){d.props.onClick&&d.props.onClick(e),D?z():q()}},K={onMouseOver:function(e){d.props.onMouseOver&&d.props.onMouseOver(e),clearTimeout(Z.current),Z.current=window.setTimeout((function(){q()}),_)},onMouseOut:function(e){d.props.onMouseOut&&d.props.onMouseOut(e),clearTimeout(Z.current),Z.current=window.setTimeout((function(){z()}),h)},onTouchStart:function(e){d.props.onTouchStart&&d.props.onTouchStart(e);var o=e.target;clearTimeout(Z.current),G(o)?Z.current=window.setTimeout((function(){z()}),h):q()}},Q=void 0===E?D:E,V=n((function(e){I.current=e,F(I.current)}),[]);return o.createElement(o.Fragment,null,o.createElement(i,{innerRef:V},(H=function(o){var t={className:u(m,o.className)};switch(w){case"click":return e(e({},t),J);case"hover":return e(e({},t),K);default:return{}}}(d.props),a(d,H))),B&&o.createElement(s,{anchorElement:B,open:Q,getPortalContainer:j,arrowClassName:b,popperClassName:u(l,P),offset:x,withArrow:!0,position:y,update:R},function(){var t=function(){var o={ref:X,"data-test-id":k,className:u(p,S)};return"hover"===w?e(e({},o),K):o}();return o.createElement("div",e({},t),v)}()))};export{f as Tooltip};
@@ -1 +1 @@
1
- export{Tooltip}from"./component.js";import"../tslib.es6-ae23482d.js";import"react";import"react-node-resolver";import"classnames";import"../popover/component.js";import"react-popper";import"react-transition-group";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";
1
+ export{Tooltip}from"./component.js";import"../tslib.es6-1a99fe1e.js";import"react";import"react-node-resolver";import"classnames";import"../popover/component.js";import"react-popper";import"react-transition-group";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";
@@ -1 +1 @@
1
- import{Title as o}from"./title/index.js";import{Text as t}from"./text/component.js";import{TitleResponsive as e}from"./title-responsive/component.js";import"../tslib.es6-ae23482d.js";import"react";import"./title/component.js";import"classnames";import"../colors.module-e10ea314.js";import"../common.module-1192285d.js";var m={Title:o,Text:t,TitleResponsive:e};export{m as Typography};
1
+ import{Title as o}from"./title/index.js";import{Text as t}from"./text/component.js";import{TitleResponsive as e}from"./title-responsive/component.js";import"../tslib.es6-1a99fe1e.js";import"react";import"./title/component.js";import"classnames";import"../colors.module-6552955c.js";import"../common.module-87da2241.js";var m={Title:o,Text:t,TitleResponsive:e};export{m as Typography};
@@ -1 +1 @@
1
- export{Typography}from"./component.js";import"./title/index.js";import"../tslib.es6-ae23482d.js";import"react";import"./title/component.js";import"classnames";import"../colors.module-e10ea314.js";import"../common.module-1192285d.js";import"./text/component.js";import"./title-responsive/component.js";
1
+ export{Typography}from"./component.js";import"./title/index.js";import"../tslib.es6-1a99fe1e.js";import"react";import"./title/component.js";import"classnames";import"../colors.module-6552955c.js";import"../common.module-87da2241.js";import"./text/component.js";import"./title-responsive/component.js";
@@ -1 +1 @@
1
- import e from"react";import a from"classnames";import{c as m}from"../../colors.module-e10ea314.js";var r={paragraph:"index-module_paragraph__1bRcB","primary-medium":"index-module_primary-medium__Qvb5H","primary-small":"index-module_primary-small__L3Wad",component:"index-module_component__31LM6",title:"index-module_title__f59kW",caps:"index-module_caps__xHQwO",bold:"index-module_bold__3D19m",medium:"index-module_medium__3Fy9j",regular:"index-module_regular__3febp"},d=function(d){var i,o=d.view,l=void 0===o?"primary-medium":o,_=d.tag,p=void 0===_?"span":_,t=d.weight,n=void 0===t?"regular":t,u=d.color,s=d.className,c=d.dataTestId,x=d.children;return e.createElement(p,{className:a((i={},i[r.paragraph]="p"===p,i),s,u&&m[u],r[l],r[n]),"data-test-id":c},x)};export{d as Text};
1
+ import e from"react";import m from"classnames";import{c as a}from"../../colors.module-6552955c.js";var r={paragraph:"index-module_paragraph__1bRcB","primary-medium":"index-module_primary-medium__Qvb5H","primary-small":"index-module_primary-small__L3Wad",component:"index-module_component__31LM6",title:"index-module_title__f59kW",caps:"index-module_caps__xHQwO",bold:"index-module_bold__3D19m",medium:"index-module_medium__3Fy9j",regular:"index-module_regular__3febp"},d=function(d){var i,o=d.view,l=void 0===o?"primary-medium":o,_=d.tag,p=void 0===_?"span":_,t=d.weight,n=void 0===t?"regular":t,u=d.color,s=d.className,c=d.dataTestId,x=d.children;return e.createElement(p,{className:m((i={},i[r.paragraph]="p"===p,i),s,u&&a[u],r[l],r[n]),"data-test-id":c},x)};export{d as Text};
@@ -1 +1 @@
1
- export{Text}from"./component.js";import"react";import"classnames";import"../../colors.module-e10ea314.js";
1
+ export{Text}from"./component.js";import"react";import"classnames";import"../../colors.module-6552955c.js";
@@ -1 +1 @@
1
- import e from"classnames";import a from"react";import{c as t}from"../../colors.module-e10ea314.js";var o=function(o){var r=o.tag,m=void 0===r?"div":r,i=o.view,s=void 0===i?"medium":i,d=o.weight,c=void 0===d?"medium":d,n=o.defaultMargins,l=void 0!==n&&n,v=o.color,u=o.className,f=o.dataTestId,p=o.children,g=o.styles;return a.createElement(m,{className:e(g.component,u,g["montserrat-"+s],l&&g["margins-"+s],g[c],v&&t[v]),"data-test-id":f},p)};export{o as Title};
1
+ import e from"classnames";import t from"react";import{c as a}from"../../colors.module-6552955c.js";var o=function(o){var r=o.tag,m=void 0===r?"div":r,i=o.view,s=void 0===i?"medium":i,d=o.weight,c=void 0===d?"medium":d,n=o.defaultMargins,l=void 0!==n&&n,v=o.color,u=o.className,f=o.dataTestId,p=o.children,g=o.styles;return t.createElement(m,{className:e(g.component,u,g["montserrat-"+s],l&&g["margins-"+s],g[c],v&&a[v]),"data-test-id":f},p)};export{o as Title};
@@ -1 +1 @@
1
- import{a as m}from"../../tslib.es6-ae23482d.js";import e from"react";import{Title as r}from"./component.js";import{c as a}from"../../common.module-1192285d.js";import"classnames";import"../../colors.module-e10ea314.js";var s={"montserrat-xlarge":"index-module_montserrat-xlarge__2e0T4","montserrat-large":"index-module_montserrat-large__3IoQZ","montserrat-medium":"index-module_montserrat-medium__1C2-N","montserrat-small":"index-module_montserrat-small__7aq7N","montserrat-xsmall":"index-module_montserrat-xsmall__1snHz","margins-xlarge":"index-module_margins-xlarge__3T9s4","margins-large":"index-module_margins-large__uTKMb","margins-medium":"index-module_margins-medium__2WXDU","margins-small":"index-module_margins-small__3jh4c","margins-xsmall":"index-module_margins-xsmall__Eaiy8"},l=function(l){return e.createElement(r,m({},l,{styles:m(m({},a),s)}))};export{l as Title};
1
+ import{a as m}from"../../tslib.es6-1a99fe1e.js";import e from"react";import{Title as r}from"./component.js";import{c as a}from"../../common.module-87da2241.js";import"classnames";import"../../colors.module-6552955c.js";var s={"montserrat-xlarge":"index-module_montserrat-xlarge__2e0T4","montserrat-large":"index-module_montserrat-large__3IoQZ","montserrat-medium":"index-module_montserrat-medium__1C2-N","montserrat-small":"index-module_montserrat-small__7aq7N","montserrat-xsmall":"index-module_montserrat-xsmall__1snHz","margins-xlarge":"index-module_margins-xlarge__3T9s4","margins-large":"index-module_margins-large__uTKMb","margins-medium":"index-module_margins-medium__2WXDU","margins-small":"index-module_margins-small__3jh4c","margins-xsmall":"index-module_margins-xsmall__Eaiy8"},l=function(l){return e.createElement(r,m({},l,{styles:m(m({},a),s)}))};export{l as Title};
@@ -1 +1 @@
1
- import{a as m}from"../../tslib.es6-ae23482d.js";import e from"react";import{Title as r}from"../title/component.js";import{c as a}from"../../common.module-1192285d.js";import"classnames";import"../../colors.module-e10ea314.js";var l={"montserrat-xlarge":"index-module_montserrat-xlarge__3_L7c","montserrat-large":"index-module_montserrat-large__25PPi","montserrat-medium":"index-module_montserrat-medium__2-xpj","montserrat-small":"index-module_montserrat-small__iwV-8","montserrat-xsmall":"index-module_montserrat-xsmall__2AlQp","margins-xlarge":"index-module_margins-xlarge__3ay4g","margins-large":"index-module_margins-large__3T8vK","margins-medium":"index-module_margins-medium__1_Ucz","margins-small":"index-module_margins-small__8NNjs","margins-xsmall":"index-module_margins-xsmall__2ENbw"},s=function(s){return e.createElement(r,m({},s,{styles:m(m({},a),l)}))};export{s as TitleResponsive};
1
+ import{a as m}from"../../tslib.es6-1a99fe1e.js";import e from"react";import{Title as r}from"../title/component.js";import{c as a}from"../../common.module-87da2241.js";import"classnames";import"../../colors.module-6552955c.js";var l={"montserrat-xlarge":"index-module_montserrat-xlarge__3_L7c","montserrat-large":"index-module_montserrat-large__25PPi","montserrat-medium":"index-module_montserrat-medium__2-xpj","montserrat-small":"index-module_montserrat-small__iwV-8","montserrat-xsmall":"index-module_montserrat-xsmall__2AlQp","margins-xlarge":"index-module_margins-xlarge__3ay4g","margins-large":"index-module_margins-large__3T8vK","margins-medium":"index-module_margins-medium__1_Ucz","margins-small":"index-module_margins-small__8NNjs","margins-xsmall":"index-module_margins-xsmall__2ENbw"},s=function(s){return e.createElement(r,m({},s,{styles:m(m({},a),l)}))};export{s as TitleResponsive};
@@ -1 +1 @@
1
- export{TitleResponsive}from"./component.js";import"../../tslib.es6-ae23482d.js";import"react";import"../title/component.js";import"classnames";import"../../colors.module-e10ea314.js";import"../../common.module-1192285d.js";
1
+ export{TitleResponsive}from"./component.js";import"../../tslib.es6-1a99fe1e.js";import"react";import"../title/component.js";import"classnames";import"../../colors.module-6552955c.js";import"../../common.module-87da2241.js";
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { ComponentSizes, ImageSizes } from "./image/index";
4
+ type UseImageRenderComponent = {
5
+ src?: string;
6
+ resolution?: ImageSizes;
7
+ size: ComponentSizes;
8
+ alt?: string;
9
+ text?: string;
10
+ icon?: React.ReactNode;
11
+ };
12
+ declare const useImageRenderComponent: ({ src, resolution, size, alt, text, icon, }: UseImageRenderComponent) => {};
13
+ export { UseImageRenderComponent, useImageRenderComponent };
@@ -0,0 +1 @@
1
+ import e,{useRef as t,useMemo as n,useEffect as o}from"react";import{PhotoS as i,PhotoM as r}from"alpha-cli-icons";import _ from"classnames";import{Spinner as d}from"./spinner/component.js";import{Typography as m}from"./typography/component.js";import"./image/typings.js";import{sizes as l,textSizes as a}from"./image/constants.js";import{getSrc as s,getCharsFromText as x}from"./image/utils.js";var c={component:"index-module_component__2SAxI",children:"index-module_children__3-Rrm",default:"index-module_default__9Y9Ry",primary:"index-module_primary__1rcmx","primary-inverted":"index-module_primary-inverted__1Qsti",secondary:"index-module_secondary__V683L","secondary-inverted":"index-module_secondary-inverted__1z_a8",positive:"index-module_positive__11E2V",negative:"index-module_negative__ZEP9w",attention:"index-module_attention__1tSkN",accent:"index-module_accent__3qMH5",broken:"index-module_broken__21rqy",image:"index-module_image__ZF1Gv",hint:"index-module_hint__15-ui",hint_text:"index-module_hint_text__2HO_n",textContent:"index-module_textContent__13aze",xs:"index-module_xs__2Es8v",s:"index-module_s__2D4b3",m:"index-module_m__1Rtr9",l:"index-module_l__3oEwm",xl:"index-module_xl__7Y-se",circle:"index-module_circle__rmY6i",defs:"index-module_defs__-xTo_",textS:"index-module_textS__2QNNE",textXs:"index-module_textXs__ujJjz",textM:"index-module_textM__3vBUB",textL:"index-module_textL__1u8Yh"},u=function(u){var p=u.src,v=void 0===p?"":p,f=u.resolution,g=u.size,y=u.alt,h=u.text,E=u.icon,w=e.useState("loading"),j=w[0],N=w[1],b=t(0),k=f||l[g],z=n((function(){return s(v,k)}),[k,v]);return o((function(){if(z){b.current=Date.now(),N("loading");var e=new Image;e.src=z,e.onload=function(){N("loaded")},e.onerror=function(){Date.now()-b.current<15e3?setTimeout((function(){e.src=z}),1e3):N("error")}}else N("error")}),[z]),E||("loading"===j?e.createElement(d,{className:c.spinner,size:"s",view:"dark"}):"error"===j&&h?e.createElement(m.Text,{className:_(c.textContent,c[a[g]]),view:"component",color:"tertiary",weight:"bold"},x(h.toUpperCase())):"error"===j?e.createElement(m.Text,{className:c.broken,tag:"div",color:"tertiary",view:"component",weight:"bold"},"xs"===g?e.createElement(i,null):e.createElement(r,null)):e.createElement("img",{className:c.image,src:v,alt:y}))};export{c as s,u};
@@ -0,0 +1,21 @@
1
+ import { AxiosError } from 'axios';
2
+ type ErrorData = {
3
+ errorId: string;
4
+ application: string;
5
+ errorCode: string;
6
+ message: string;
7
+ originalErrorCode?: string;
8
+ };
9
+ declare enum ErrorType {
10
+ NETWORK = "NETWORK",
11
+ BUSINESS = "BUSINESS",
12
+ INTERNAL = "INTERNAL"
13
+ }
14
+ type ServiceError = {
15
+ code: string;
16
+ message: string;
17
+ errorType: ErrorType;
18
+ originalError: unknown | AxiosError<ErrorData>;
19
+ };
20
+ declare function getServiceError(error: unknown): ServiceError;
21
+ export { ErrorData, ErrorType, ServiceError, getServiceError };
@@ -0,0 +1 @@
1
+ import{isAxiosError as r}from"./is-axios-error.js";import{isNetworkError as e}from"./is-network-error.js";var o,E,R;!function(r){r.NETWORK="NETWORK",r.BUSINESS="BUSINESS",r.INTERNAL="INTERNAL"}(R||(R={}));var N=((o={})[R.INTERNAL]="INTERNAL_ERROR",o[R.NETWORK]="NETWORK_ERROR",o),T=((E={})[R.INTERNAL]="Пожалуйста, попробуйте ещё раз позже.",E[R.NETWORK]="Проверьте подключение и попробуйте ещё раз позже.",E),i=["BAD_REQUEST","INTERNAL_SERVER_ERROR","INTERNAL_ERROR","WS_ERROR","DEFAULT"];function s(o){if(e(o))return{code:N[R.NETWORK],message:T[R.NETWORK],errorType:R.NETWORK,originalError:o};if(r(o)){var E=o.response?o.response.data:{errorCode:"500",originalErrorCode:"500",message:"Unhandled error"},s=E.errorCode,n=E.originalErrorCode,a=E.message,I=s,A=R.BUSINESS;return i.includes(I)&&(void 0===n?A=R.INTERNAL:I=n),{code:I,message:a,errorType:A,originalError:o}}return{code:N[R.INTERNAL],message:T[R.INTERNAL],errorType:R.INTERNAL,originalError:o}}export{R as ErrorType,s as getServiceError};
@@ -0,0 +1,3 @@
1
+ import { AxiosError } from 'axios';
2
+ declare function isAxiosError<T>(error: unknown): error is AxiosError<T>;
3
+ export { isAxiosError };
@@ -0,0 +1 @@
1
+ function o(o){return Boolean(o.isAxiosError)}export{o as isAxiosError};
@@ -0,0 +1,2 @@
1
+ declare function isNetworkError(error: unknown): boolean;
2
+ export { isNetworkError };
@@ -0,0 +1 @@
1
+ import{isAxiosError as r}from"./is-axios-error.js";var e=["ENETUNREACH","ECONNABORTED","ENOTCONN"];function o(o){if(r(o)){var s=o.response,N=o.code,i=o.message;return void 0===s&&(e.includes(N||"")||"Network Error"===i)}return!1}export{o as isNetworkError};
@@ -1 +1 @@
1
- export{AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR,THINSP,formatAmount}from"./format-amount/util.js";export{showError,showSuccess}from"./show-toast/index.js";export{splitAmount}from"./split-amount/util.js";import"./get-currency-symbol/util.js";import"./data/currency-codes.js";import"../toast-notifier/component.js";import"../tslib.es6-ae23482d.js";import"react";import"react-dom";import"classnames";import"../toast-plate/component.js";import"alpha-cli-icons";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../toast-notifier/use-timer.js";
1
+ export{AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR,THINSP,formatAmount}from"./format-amount/util.js";export{showError,showSuccess}from"./show-toast/index.js";export{splitAmount}from"./split-amount/util.js";import"./get-currency-symbol/util.js";import"./data/currency-codes.js";import"../toast-notifier/component.js";import"../tslib.es6-1a99fe1e.js";import"react";import"react-dom";import"classnames";import"../toast-plate/component.js";import"alpha-cli-icons";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../toast-notifier/use-timer.js";
@@ -1 +1 @@
1
- import{ToastNotifier as t}from"../../toast-notifier/component.js";import"../../tslib.es6-ae23482d.js";import"react";import"react-dom";import"classnames";import"../../toast-plate/component.js";import"alpha-cli-icons";import"../../button/component.js";import"react-merge-refs";import"../../hooks/useFocus/index.js";import"../../loader/component.js";import"../../toast-notifier/use-timer.js";var o=function(o){t({view:"positive",title:"Success",text:o,offset:30})},e=function(o){t({view:"negative",title:"Error",text:o,offset:30})};export{e as showError,o as showSuccess};
1
+ import{ToastNotifier as t}from"../../toast-notifier/component.js";import"../../tslib.es6-1a99fe1e.js";import"react";import"react-dom";import"classnames";import"../../toast-plate/component.js";import"alpha-cli-icons";import"../../button/component.js";import"react-merge-refs";import"../../hooks/useFocus/index.js";import"../../loader/component.js";import"../../toast-notifier/use-timer.js";var o=function(o){t({view:"positive",title:"Success",text:o,offset:30})},e=function(o){t({view:"negative",title:"Error",text:o,offset:30})};export{e as showError,o as showSuccess};
@@ -1,5 +1,6 @@
1
1
  :root {
2
2
  --radius-s: 4px;
3
3
  --radius-m: 8px;
4
+ --radius-l: 10px;
4
5
  --radius-circle: 50%;
5
6
  }
@@ -484,7 +484,7 @@
484
484
  }
485
485
 
486
486
  @define-mixin system_16-20_regular {
487
- font-size: 16px;
487
+ font-size: 16px !important;
488
488
  line-height: 20px;
489
489
  font-weight: 400;
490
490
  font-family: var(--font-family);
@@ -1,12 +1,43 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { FC, ReactNode, RefAttributes } from "react";
3
+ import { ReactNode } from "react";
4
4
  import { InputProps } from "../input/index";
5
5
  type WithSuffixProps = InputProps & {
6
6
  suffix?: ReactNode;
7
7
  suffixContainerClassName?: string;
8
8
  };
9
- declare const withSuffix: (Input: FC<InputProps & RefAttributes<HTMLInputElement>>) => React.ForwardRefExoticComponent<Pick<React.InputHTMLAttributes<HTMLInputElement>, "disabled" | "color" | "className" | "children" | "form" | "list" | "slot" | "style" | "title" | "pattern" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "step" | "required" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "src" | "width"> & {
9
+ declare const withSuffix: (Input: React.FC<Pick<React.InputHTMLAttributes<HTMLInputElement>, "disabled" | "color" | "className" | "children" | "form" | "list" | "slot" | "style" | "title" | "pattern" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "step" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "required" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "src" | "width"> & {
10
+ value?: string | undefined;
11
+ defaultValue?: string | undefined;
12
+ block?: boolean | undefined;
13
+ required?: boolean | undefined;
14
+ clear?: boolean | undefined;
15
+ size?: "s" | "m" | "l" | undefined;
16
+ error?: string | boolean | undefined;
17
+ success?: boolean | undefined;
18
+ hint?: string | undefined;
19
+ label?: React.ReactNode;
20
+ type?: "number" | "text" | "tel" | "email" | "card" | "money" | "password" | undefined;
21
+ wrapperRef?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
22
+ leftAddons?: React.ReactNode;
23
+ rightAddons?: React.ReactNode;
24
+ bottomAddons?: React.ReactNode;
25
+ className?: string | undefined;
26
+ fieldClassName?: string | undefined;
27
+ inputClassName?: string | undefined;
28
+ labelClassName?: string | undefined;
29
+ addonsClassName?: string | undefined;
30
+ focusedClassName?: string | undefined;
31
+ filledClassName?: string | undefined;
32
+ onChange?: ((event: React.ChangeEvent<HTMLInputElement>, payload: {
33
+ value: string;
34
+ }) => void) | undefined;
35
+ onClear?: ((event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined;
36
+ onClick?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
37
+ onMouseDown?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
38
+ onMouseUp?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
39
+ dataTestId?: string | undefined;
40
+ } & React.RefAttributes<HTMLInputElement>>) => React.ForwardRefExoticComponent<Pick<React.InputHTMLAttributes<HTMLInputElement>, "disabled" | "color" | "className" | "children" | "form" | "list" | "slot" | "style" | "title" | "pattern" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "step" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "required" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "src" | "width"> & {
10
41
  value?: string | undefined;
11
42
  defaultValue?: string | undefined;
12
43
  block?: boolean | undefined;
@@ -38,7 +69,7 @@ declare const withSuffix: (Input: FC<InputProps & RefAttributes<HTMLInputElement
38
69
  onMouseUp?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
39
70
  dataTestId?: string | undefined;
40
71
  } & {
41
- suffix?: ReactNode;
72
+ suffix?: React.ReactNode;
42
73
  suffixContainerClassName?: string | undefined;
43
74
  } & React.RefAttributes<HTMLInputElement>>;
44
75
  export { WithSuffixProps, withSuffix };
@@ -1 +1 @@
1
- import{_ as e,a}from"../tslib.es6-ae23482d.js";import l,{forwardRef as n,useRef as r,useState as o,useCallback as t,Fragment as i}from"react";import s from"react-merge-refs";import d from"classnames";import{Portal as m}from"../portal/component.js";import"react-dom";import"../portal/utils.js";var u="index-module_suffixContainer__2PAjv",f="index-module_suffixVisible__2nCIM",c="index-module_hasSuffix__2OETD",_="index-module_spacer__367Gn",p="index-module_suffix__1tJdT",x="index-module_disabled__SEf2T",C="index-module_readOnly__1gCb6",v=function(v){return n((function(n,E){var N,b,h=n.value,g=n.defaultValue,O=n.onChange,j=n.onClear,y=n.suffix,T=void 0===y?"":y,V=n.placeholder,P=n.className,S=n.disabled,A=n.readOnly,B=n.suffixContainerClassName,D=e(n,["value","defaultValue","onChange","onClear","suffix","placeholder","className","disabled","readOnly","suffixContainerClassName"]),G=void 0===h,I=r(null),J=o(g||""),M=J[0],k=J[1],q=t((function(e,a){O&&O(e,a),G&&k(a.value)}),[O,G]),w=t((function(e){G&&k(""),j&&j(e)}),[j,G]),z=t((function(){return I.current.parentElement}),[]),F=G?M:h;return l.createElement(i,null,l.createElement(v,a({ref:s([E,I]),value:F,disabled:S,readOnly:A,onChange:q,onClear:w,placeholder:V,className:d(P,(N={},N[f]=Boolean(F),N[c]=T,N))},D)),l.createElement(m,{getPortalContainer:z},l.createElement("div",{className:d(u,B)},l.createElement("span",{className:_},F),T&&l.createElement("div",{className:d(p,(b={},b[x]=S,b[C]=A,b))},T))))}))};export{v as withSuffix};
1
+ import{_ as e,a}from"../tslib.es6-1a99fe1e.js";import l,{forwardRef as n,useRef as r,useState as o,useCallback as t,Fragment as i}from"react";import s from"react-merge-refs";import m from"classnames";import{Portal as d}from"../portal/component.js";import"react-dom";import"../portal/utils.js";var u="index-module_suffixContainer__2PAjv",f="index-module_suffixVisible__2nCIM",c="index-module_hasSuffix__2OETD",_="index-module_spacer__367Gn",p="index-module_suffix__1tJdT",x="index-module_disabled__SEf2T",C="index-module_readOnly__1gCb6",v=function(v){return n((function(n,E){var N,b,h=n.value,g=n.defaultValue,O=n.onChange,j=n.onClear,y=n.suffix,T=void 0===y?"":y,V=n.placeholder,P=n.className,S=n.disabled,A=n.readOnly,B=n.suffixContainerClassName,D=e(n,["value","defaultValue","onChange","onClear","suffix","placeholder","className","disabled","readOnly","suffixContainerClassName"]),G=void 0===h,I=r(null),J=o(g||""),M=J[0],k=J[1],q=t((function(e,a){O&&O(e,a),G&&k(a.value)}),[O,G]),w=t((function(e){G&&k(""),j&&j(e)}),[j,G]),z=t((function(){return I.current.parentElement}),[]),F=G?M:h;return l.createElement(i,null,l.createElement(v,a({ref:s([E,I]),value:F,disabled:S,readOnly:A,onChange:q,onClear:w,placeholder:V,className:m(P,(N={},N[f]=Boolean(F),N[c]=T,N))},D)),l.createElement(d,{getPortalContainer:z},l.createElement("div",{className:m(u,B)},l.createElement("span",{className:_},F),T&&l.createElement("div",{className:m(p,(b={},b[x]=S,b[C]=A,b))},T))))}))};export{v as withSuffix};
@@ -1 +1 @@
1
- export{withSuffix}from"./component.js";import"../tslib.es6-ae23482d.js";import"react";import"react-merge-refs";import"classnames";import"../portal/component.js";import"react-dom";import"../portal/utils.js";
1
+ export{withSuffix}from"./component.js";import"../tslib.es6-1a99fe1e.js";import"react";import"react-merge-refs";import"classnames";import"../portal/component.js";import"react-dom";import"../portal/utils.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alphakits/ui",
3
- "version": "1.3.22",
3
+ "version": "1.5.2",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -25,18 +25,11 @@
25
25
  "fix": "eslint --fix --ext .ts,.tsx",
26
26
  "semantic-release": "semantic-release"
27
27
  },
28
- "browserslist": {
29
- "production": [
30
- ">0.2%",
31
- "not dead",
32
- "not op_mini all"
33
- ],
34
- "development": [
35
- "last 1 chrome version",
36
- "last 1 firefox version",
37
- "last 1 safari version"
38
- ]
39
- },
28
+ "browserslist": [
29
+ ">0.2%",
30
+ "not dead",
31
+ "not op_mini all"
32
+ ],
40
33
  "dependencies": {
41
34
  "@popperjs/core": "^2.3.3",
42
35
  "@types/lodash": "^4.14.173",
@@ -51,6 +44,7 @@
51
44
  "postcss": "^8.2.9",
52
45
  "query-string": "^7.0.1",
53
46
  "react-merge-refs": "1.1.0",
47
+ "intersection-observer": "^0.12.0",
54
48
  "react-node-resolver": "^2.0.1",
55
49
  "react-popper": "^2.2.2",
56
50
  "react-swipeable": "^6.1.0",
@@ -106,12 +100,13 @@
106
100
  "@typescript-eslint/eslint-plugin": "^4.4.0",
107
101
  "@typescript-eslint/parser": "^4.4.0",
108
102
  "@wessberg/rollup-plugin-ts": "^1.3.6",
109
- "alpha-cli-icons": "^1.0.21",
103
+ "alpha-cli-icons": "^1.0.23",
110
104
  "alphakit-presets-lint": "1.0.0",
111
105
  "babel-jest": "^26.6.3",
112
106
  "babel-preset-env": "^1.7.0",
113
107
  "conventional-changelog-cli": "2.0.31",
114
108
  "copyfiles": "2.2.0",
109
+ "core-js": "^3.20.0",
115
110
  "css-loader": "4.2.2",
116
111
  "cz-conventional-changelog": "3.1.0",
117
112
  "eslint": "^7.7.0",
@@ -167,7 +162,7 @@
167
162
  "stylelint": "^13.6.1",
168
163
  "ts-loader": "^6.2.1",
169
164
  "tslib": "^1.11.1",
170
- "typescript": "^3.8.3",
165
+ "typescript": "3.8.3",
171
166
  "typescript-plugin-css-modules": "2.2.0",
172
167
  "url-loader": "4.1.0"
173
168
  },
@@ -1 +0,0 @@
1
- export * from "./use-image-loading-state";
@@ -1 +0,0 @@
1
- export{useImageLoadingState}from"./use-image-loading-state.js";import"react";
@@ -1,4 +0,0 @@
1
- declare function useImageLoadingState({ src }: {
2
- src: string | undefined;
3
- }): "error" | "loading" | "loaded";
4
- export { useImageLoadingState };
@@ -1 +0,0 @@
1
- import r,{useRef as n}from"react";function e(e){var o=e.src,t=r.useState("loading"),c=t[0],u=t[1],a=n(0);return r.useEffect((function(){if(o){a.current=Date.now();var r=!0;u("loading");var n=new Image;return n.src=o,n.onload=function(){r&&u("loaded")},n.onerror=function(){r&&(Date.now()-a.current<15e3?setTimeout((function(){n.src=o}),1e3):u("error"))},function(){r=!1}}u("error")}),[o]),c}export{e as useImageLoadingState};
@@ -1,3 +0,0 @@
1
- declare const colors: readonly ["secondary", "primary"];
2
- type CommonColorBackground = typeof colors[number];
3
- export { colors, CommonColorBackground };
@@ -1 +0,0 @@
1
- var r=["secondary","primary"];export{r as colors};
@@ -1 +0,0 @@
1
- import"react";import"classnames";import"ts-keycode-enum";import"../../__internal/utils/getDataTestId.js";import"../../hooks/useFocus/index.js";import"../../super-ellipse/component.js";import"../../typography/component.js";export{A as Action}from"../../component-b5635135.js";import"../../super-ellipse-pure/component.js";import"../../super-ellipse-shape/component.js";import"../../typography/title/index.js";import"../../tslib.es6-ae23482d.js";import"../../typography/title/component.js";import"../../colors.module-e10ea314.js";import"../../common.module-1192285d.js";import"../../typography/text/component.js";import"../../typography/title-responsive/component.js";import"../../divider/component.js";import"../pure/component.js";import"../../avatar/component.js";import"../../spinner/component.js";import"../../avatar/hooks/use-image-loading-state.js";import"../transaction/component.js";import"../../amount/component.js";import"../../utils/format-amount/util.js";import"../../utils/get-currency-symbol/util.js";import"../../utils/data/currency-codes.js";import"../../utils/split-amount/util.js";
@@ -1 +0,0 @@
1
- export * from "../../component-b5635135";
@@ -1 +0,0 @@
1
- export{A as Action}from"../../component-b5635135.js";import"react";import"classnames";import"ts-keycode-enum";import"../../__internal/utils/getDataTestId.js";import"../../hooks/useFocus/index.js";import"../../super-ellipse/component.js";import"../../super-ellipse-pure/component.js";import"../../super-ellipse-shape/component.js";import"../../typography/component.js";import"../../typography/title/index.js";import"../../tslib.es6-ae23482d.js";import"../../typography/title/component.js";import"../../colors.module-e10ea314.js";import"../../common.module-1192285d.js";import"../../typography/text/component.js";import"../../typography/title-responsive/component.js";import"../../divider/component.js";import"../pure/component.js";import"../../avatar/component.js";import"../../spinner/component.js";import"../../avatar/hooks/use-image-loading-state.js";import"../transaction/component.js";import"../../amount/component.js";import"../../utils/format-amount/util.js";import"../../utils/get-currency-symbol/util.js";import"../../utils/data/currency-codes.js";import"../../utils/split-amount/util.js";
File without changes
@@ -1 +0,0 @@
1
- import"react";import"classnames";import"../../__internal/utils/getDataTestId.js";import"../../divider/component.js";import"../../hooks/useFocus/index.js";import"../../typography/component.js";export{a as Autopayment}from"../../component-b5635135.js";import"../../typography/title/index.js";import"../../tslib.es6-ae23482d.js";import"../../typography/title/component.js";import"../../colors.module-e10ea314.js";import"../../common.module-1192285d.js";import"../../typography/text/component.js";import"../../typography/title-responsive/component.js";import"ts-keycode-enum";import"../../super-ellipse/component.js";import"../../super-ellipse-pure/component.js";import"../../super-ellipse-shape/component.js";import"../pure/component.js";import"../../avatar/component.js";import"../../spinner/component.js";import"../../avatar/hooks/use-image-loading-state.js";import"../transaction/component.js";import"../../amount/component.js";import"../../utils/format-amount/util.js";import"../../utils/get-currency-symbol/util.js";import"../../utils/data/currency-codes.js";import"../../utils/split-amount/util.js";
@@ -1 +0,0 @@
1
- export * from "../../component-b5635135";
@@ -1 +0,0 @@
1
- export{a as Autopayment}from"../../component-b5635135.js";import"react";import"classnames";import"ts-keycode-enum";import"../../__internal/utils/getDataTestId.js";import"../../hooks/useFocus/index.js";import"../../super-ellipse/component.js";import"../../super-ellipse-pure/component.js";import"../../super-ellipse-shape/component.js";import"../../typography/component.js";import"../../typography/title/index.js";import"../../tslib.es6-ae23482d.js";import"../../typography/title/component.js";import"../../colors.module-e10ea314.js";import"../../common.module-1192285d.js";import"../../typography/text/component.js";import"../../typography/title-responsive/component.js";import"../../divider/component.js";import"../pure/component.js";import"../../avatar/component.js";import"../../spinner/component.js";import"../../avatar/hooks/use-image-loading-state.js";import"../transaction/component.js";import"../../amount/component.js";import"../../utils/format-amount/util.js";import"../../utils/get-currency-symbol/util.js";import"../../utils/data/currency-codes.js";import"../../utils/split-amount/util.js";
File without changes
@@ -1 +0,0 @@
1
- import"react";import"classnames";import"../../__internal/utils/getDataTestId.js";import"../../hooks/useFocus/index.js";import"../../super-ellipse/component.js";import"../../typography/component.js";export{b as Catalog}from"../../component-b5635135.js";import"../../super-ellipse-pure/component.js";import"../../super-ellipse-shape/component.js";import"../../typography/title/index.js";import"../../tslib.es6-ae23482d.js";import"../../typography/title/component.js";import"../../colors.module-e10ea314.js";import"../../common.module-1192285d.js";import"../../typography/text/component.js";import"../../typography/title-responsive/component.js";import"ts-keycode-enum";import"../../divider/component.js";import"../pure/component.js";import"../../avatar/component.js";import"../../spinner/component.js";import"../../avatar/hooks/use-image-loading-state.js";import"../transaction/component.js";import"../../amount/component.js";import"../../utils/format-amount/util.js";import"../../utils/get-currency-symbol/util.js";import"../../utils/data/currency-codes.js";import"../../utils/split-amount/util.js";
@@ -1 +0,0 @@
1
- export * from "../../component-b5635135";
@@ -1 +0,0 @@
1
- export{b as Catalog}from"../../component-b5635135.js";import"react";import"classnames";import"ts-keycode-enum";import"../../__internal/utils/getDataTestId.js";import"../../hooks/useFocus/index.js";import"../../super-ellipse/component.js";import"../../super-ellipse-pure/component.js";import"../../super-ellipse-shape/component.js";import"../../typography/component.js";import"../../typography/title/index.js";import"../../tslib.es6-ae23482d.js";import"../../typography/title/component.js";import"../../colors.module-e10ea314.js";import"../../common.module-1192285d.js";import"../../typography/text/component.js";import"../../typography/title-responsive/component.js";import"../../divider/component.js";import"../pure/component.js";import"../../avatar/component.js";import"../../spinner/component.js";import"../../avatar/hooks/use-image-loading-state.js";import"../transaction/component.js";import"../../amount/component.js";import"../../utils/format-amount/util.js";import"../../utils/get-currency-symbol/util.js";import"../../utils/data/currency-codes.js";import"../../utils/split-amount/util.js";
File without changes
@@ -1 +0,0 @@
1
- import"react";import"classnames";import"ts-keycode-enum";import"../../avatar/component.js";import"../../hooks/useFocus/index.js";import"../../typography/component.js";export{S as Subscription}from"../../component-b5635135.js";import"../../tslib.es6-ae23482d.js";import"../../__internal/utils/getDataTestId.js";import"../../spinner/component.js";import"../../avatar/hooks/use-image-loading-state.js";import"../../typography/title/index.js";import"../../typography/title/component.js";import"../../colors.module-e10ea314.js";import"../../common.module-1192285d.js";import"../../typography/text/component.js";import"../../typography/title-responsive/component.js";import"../../super-ellipse/component.js";import"../../super-ellipse-pure/component.js";import"../../super-ellipse-shape/component.js";import"../../divider/component.js";import"../pure/component.js";import"../transaction/component.js";import"../../amount/component.js";import"../../utils/format-amount/util.js";import"../../utils/get-currency-symbol/util.js";import"../../utils/data/currency-codes.js";import"../../utils/split-amount/util.js";
@@ -1 +0,0 @@
1
- export * from "../../component-b5635135";
@@ -1 +0,0 @@
1
- export{S as Subscription}from"../../component-b5635135.js";import"react";import"classnames";import"ts-keycode-enum";import"../../__internal/utils/getDataTestId.js";import"../../hooks/useFocus/index.js";import"../../super-ellipse/component.js";import"../../super-ellipse-pure/component.js";import"../../super-ellipse-shape/component.js";import"../../typography/component.js";import"../../typography/title/index.js";import"../../tslib.es6-ae23482d.js";import"../../typography/title/component.js";import"../../colors.module-e10ea314.js";import"../../common.module-1192285d.js";import"../../typography/text/component.js";import"../../typography/title-responsive/component.js";import"../../divider/component.js";import"../pure/component.js";import"../../avatar/component.js";import"../../spinner/component.js";import"../../avatar/hooks/use-image-loading-state.js";import"../transaction/component.js";import"../../amount/component.js";import"../../utils/format-amount/util.js";import"../../utils/get-currency-symbol/util.js";import"../../utils/data/currency-codes.js";import"../../utils/split-amount/util.js";
@@ -1,19 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { AmountType } from "../../utils/format-amount/util";
4
- type TransactionProps = {
5
- slot: React.ReactNode;
6
- title: string;
7
- category?: string;
8
- categoryPercent?: number;
9
- amount: AmountType;
10
- type?: 'default' | 'income' | 'hold';
11
- profit?: number;
12
- profitType?: 'alfa' | 'cash';
13
- comment?: string;
14
- className?: string;
15
- dataTestId?: string;
16
- onClick?: () => void;
17
- };
18
- declare const Transaction: React.FC<TransactionProps>;
19
- export { TransactionProps, Transaction };
@@ -1 +0,0 @@
1
- import e,{useRef as t,useCallback as o}from"react";import m from"classnames";import{getDataTestId as a}from"../../__internal/utils/getDataTestId.js";import{Amount as r}from"../../amount/component.js";import{useFocus as n}from"../../hooks/useFocus/index.js";import{Typography as l}from"../../typography/component.js";import"../../tslib.es6-ae23482d.js";import"../../utils/format-amount/util.js";import"../../utils/get-currency-symbol/util.js";import"../../utils/data/currency-codes.js";import"../../utils/split-amount/util.js";import"../../typography/title/index.js";import"../../typography/title/component.js";import"../../colors.module-e10ea314.js";import"../../common.module-1192285d.js";import"../../typography/text/component.js";import"../../typography/title-responsive/component.js";var i="index-module_component__3WKk8",c="index-module_slot__3-oQ0",s="index-module_title__3SCFU",d="index-module_content__T63TF",p="index-module_contentWrapper__3nonU",u="index-module_category__GwY-S",_="index-module_categoryPercent__1zrQk",y="index-module_amount__16vE9",v="index-module_positiveAmount__3qWEM",x="index-module_profit__3NGqk",E="index-module_comment__3FRy7",g="index-module_commentTextWrapper__PKIqe",N="index-module_commentText__2e0YN",j="index-module_focused__1K2z_",f=function(f){var T,w=f.slot,h=f.title,k=f.comment,b=f.category,C=void 0===b?"Другое":b,F=f.amount,I=f.profit,K=f.categoryPercent,P=f.type,W=void 0===P?"default":P,q=f.className,z=f.dataTestId,G=f.onClick,Q=t(null),S=n(Q,"keyboard")[0],U=o((function(e){void 0!==G&&(13===(e.charCode||e.keyCode)&&G())}),[G]);return e.createElement("div",{ref:Q,onKeyPress:U,onClick:G,role:"button",tabIndex:0,className:m(i,(T={},T[j]=S,T),q),"data-test-id":a("cell-transaction",z,!0)},e.createElement("div",{className:c},w),e.createElement("div",{className:d},e.createElement("div",{className:p},e.createElement(l.Text,{className:s,view:"component"},h),C&&e.createElement("div",{className:u},e.createElement(l.Text,{view:"primary-small",color:"secondary"},C),K&&e.createElement(l.Text,{tag:"div",view:"primary-small",color:"secondary",className:_},K,"%")),e.createElement("div",{className:y},"income"===W?e.createElement(l.Text,{view:"component",tag:"div",className:v},"+",e.createElement(r,{view:"title",currency:F.currency,value:F.value})):e.createElement(l.Text,{view:"component",tag:"div"},"-",e.createElement(r,{value:F.value,currency:F.currency})),"hold"===W&&e.createElement(e.Fragment,null," ")),I&&e.createElement(l.Text,{className:x,view:"primary-small",color:"secondary"},"+",I))),k&&e.createElement("div",{className:E},e.createElement("div",{className:g},e.createElement(l.Text,{tag:"div",view:"primary-small",className:N},k))))};export{f as Transaction};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1 +0,0 @@
1
- export{Transaction}from"./component.js";import"react";import"classnames";import"../../__internal/utils/getDataTestId.js";import"../../amount/component.js";import"../../tslib.es6-ae23482d.js";import"../../typography/component.js";import"../../typography/title/index.js";import"../../typography/title/component.js";import"../../colors.module-e10ea314.js";import"../../common.module-1192285d.js";import"../../typography/text/component.js";import"../../typography/title-responsive/component.js";import"../../utils/format-amount/util.js";import"../../utils/get-currency-symbol/util.js";import"../../utils/data/currency-codes.js";import"../../utils/split-amount/util.js";import"../../hooks/useFocus/index.js";
@@ -1,17 +0,0 @@
1
- import { Action } from "./cell/action/index";
2
- import { Autopayment } from "./cell/autopayment/index";
3
- import { Base } from "./cell/base/index";
4
- import { Catalog } from "./cell/catalog/index";
5
- import { Pure } from "./cell/pure/index";
6
- import { Subscription } from "./cell/subscription/index";
7
- import { Transaction } from "./cell/transaction/index";
8
- declare const Cell: {
9
- Pure: typeof Pure;
10
- Action: typeof Action;
11
- Catalog: typeof Catalog;
12
- Autopayment: typeof Autopayment;
13
- Transaction: typeof Transaction;
14
- Subscription: typeof Subscription;
15
- Base: typeof Base;
16
- };
17
- export { Cell };