@alphakits/ui 1.19.0 → 1.19.1

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 (246) hide show
  1. package/dist/{_commonjsHelpers-23e92dab.js → _commonjsHelpers-dbdd8e36.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.js +1 -1
  5. package/dist/amount-input/index.js +1 -1
  6. package/dist/avatar/component.js +1 -1
  7. package/dist/avatar/index.js +1 -1
  8. package/dist/base-card/component.js +1 -1
  9. package/dist/base-card/index.js +1 -1
  10. package/dist/bottom-sheet/component.js +1 -1
  11. package/dist/bottom-sheet/index.js +1 -1
  12. package/dist/button/component.js +1 -1
  13. package/dist/button/index.js +1 -1
  14. package/dist/calendar/component.js +1 -1
  15. package/dist/calendar/components/days-table/component.js +1 -1
  16. package/dist/calendar/components/days-table/index.js +1 -1
  17. package/dist/calendar/components/header/index.js +1 -1
  18. package/dist/calendar/components/header//321/201omponent.js +1 -1
  19. package/dist/calendar/components/months-table/index.js +1 -1
  20. package/dist/calendar/components/months-table//321/201omponent.js +1 -1
  21. package/dist/calendar/components/select-button/index.js +1 -1
  22. package/dist/calendar/components/select-button//321/201omponent.js +1 -1
  23. package/dist/calendar/components/years-table/index.js +1 -1
  24. package/dist/calendar/components/years-table//321/201omponent.js +1 -1
  25. package/dist/calendar/index.js +1 -1
  26. package/dist/calendar-input/component.js +1 -1
  27. package/dist/calendar-input/index.js +1 -1
  28. package/dist/card/component.js +1 -1
  29. package/dist/card/images/index.js +1 -1
  30. package/dist/card/index.js +1 -1
  31. package/dist/cell/base/component.js +1 -1
  32. package/dist/cell/base/index.d.ts +1 -1
  33. package/dist/cell/base/index.js +1 -1
  34. package/dist/cell/component.js +1 -1
  35. package/dist/cell/index.js +1 -1
  36. package/dist/cell/pure/component.js +1 -1
  37. package/dist/cell/pure/index.js +1 -1
  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.js +1 -1
  43. package/dist/checkbox-lists/index.js +1 -1
  44. package/dist/collapsable-row/addons.js +1 -1
  45. package/dist/collapsable-row/component.js +1 -1
  46. package/dist/collapsable-row/index.js +1 -1
  47. package/dist/collapse/component.js +1 -1
  48. package/dist/collapse/index.js +1 -1
  49. package/dist/{colors.module-f82c925e.js → colors.module-03c9010a.js} +0 -0
  50. package/dist/{common.module-7f109224.js → common.module-4077a709.js} +0 -0
  51. package/dist/{component-a3b52b3b.d.ts → component-bcfeb354.d.ts} +0 -0
  52. package/dist/{component-a3b52b3b.js → component-bcfeb354.js} +0 -0
  53. package/dist/{contact-block-ec1d7247.d.ts → contact-block-ff500952.d.ts} +0 -0
  54. package/dist/{contact-block-ec1d7247.js → contact-block-ff500952.js} +0 -0
  55. package/dist/copy-button/component.js +1 -1
  56. package/dist/copy-button/index.js +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/contact-block.js +1 -1
  63. package/dist/footer/index.js +1 -1
  64. package/dist/form/component.js +1 -1
  65. package/dist/form/components/form-footer/index.js +1 -1
  66. package/dist/form/components/index.js +1 -1
  67. package/dist/form/index.js +1 -1
  68. package/dist/form/templates/crud-form/index.js +1 -1
  69. package/dist/form/templates/filters-form/index.js +1 -1
  70. package/dist/form/templates/rest-form/index.js +1 -1
  71. package/dist/form/utils/get-default-values.js +1 -1
  72. package/dist/form-control/component.js +1 -1
  73. package/dist/form-control/index.js +1 -1
  74. package/dist/{formik.esm-aaa40444.js → formik.esm-b05a0f5e.js} +1 -1
  75. package/dist/grid/col/component.js +1 -1
  76. package/dist/grid/col/index.js +1 -1
  77. package/dist/grid/component.js +1 -1
  78. package/dist/grid/index.js +1 -1
  79. package/dist/grid/row/component.js +1 -1
  80. package/dist/grid/row/index.js +1 -1
  81. package/dist/{gutters.module-7688a544.js → gutters.module-cb529ed0.js} +0 -0
  82. package/dist/header-search/component.js +1 -1
  83. package/dist/header-search/index.js +1 -1
  84. package/dist/heading/component.js +1 -1
  85. package/dist/heading/index.js +1 -1
  86. package/dist/hooks/index.js +1 -1
  87. package/dist/hooks/use-crud-form-requests/index.js +1 -1
  88. package/dist/hooks/use-get-one/index.js +1 -1
  89. package/dist/icon-button/component.js +1 -1
  90. package/dist/icon-button/index.js +1 -1
  91. package/dist/image/component.js +1 -1
  92. package/dist/image/image-base.js +1 -1
  93. package/dist/image/index.js +1 -1
  94. package/dist/image/use-image-render-component.js +1 -1
  95. package/dist/image-gallery/component.js +1 -1
  96. package/dist/image-gallery/components/header/index.js +1 -1
  97. package/dist/image-gallery/components/header-info-block/index.js +1 -1
  98. package/dist/image-gallery/components/image-viewer/index.js +1 -1
  99. package/dist/image-gallery/components/image-viewer/slide.js +1 -1
  100. package/dist/image-gallery/components/index.js +1 -1
  101. package/dist/image-gallery/index.js +1 -1
  102. package/dist/image-uploader/component.d.ts +3 -3
  103. package/dist/image-uploader/component.js +1 -1
  104. package/dist/image-uploader/index.js +1 -1
  105. package/dist/{index-bd157a47.js → index-e4ab8bcf.js} +1 -1
  106. package/dist/index.css +1 -1
  107. package/dist/info-block-header/component.js +1 -1
  108. package/dist/info-block-header/index.js +1 -1
  109. package/dist/info-block-item/component.js +1 -1
  110. package/dist/info-block-item/index.js +1 -1
  111. package/dist/input/component.js +1 -1
  112. package/dist/input/index.js +1 -1
  113. package/dist/{intersection-observer-904b0f31.js → intersection-observer-ff991715.js} +0 -0
  114. package/dist/link/component.js +1 -1
  115. package/dist/link/index.js +1 -1
  116. package/dist/list-allert/component.js +1 -1
  117. package/dist/list-allert/index.js +1 -1
  118. package/dist/masked-input/component.js +1 -1
  119. package/dist/masked-input/index.js +1 -1
  120. package/dist/menu/component.js +1 -1
  121. package/dist/menu/components/content-header/index.js +1 -1
  122. package/dist/menu/components/index.js +1 -1
  123. package/dist/menu/components/menu-avatar/index.js +1 -1
  124. package/dist/menu/components/menu-button/index.js +1 -1
  125. package/dist/menu/components/menu-buttons-list/index.js +1 -1
  126. package/dist/menu/components/user-button/index.js +1 -1
  127. package/dist/menu/index.js +1 -1
  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.js +1 -1
  133. package/dist/modal/index.js +1 -1
  134. package/dist/not-found/component.js +1 -1
  135. package/dist/not-found/index.js +1 -1
  136. package/dist/notification/component.js +1 -1
  137. package/dist/notification/index.js +1 -1
  138. package/dist/{parse-query-params-52f31465.d.ts → parse-query-params-2d056f22.d.ts} +0 -0
  139. package/dist/{parse-query-params-52f31465.js → parse-query-params-2d056f22.js} +1 -1
  140. package/dist/picker-button/common/index.js +1 -1
  141. package/dist/picker-button/common/labeled-button/index.js +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.js +1 -1
  153. package/dist/radio/index.js +1 -1
  154. package/dist/radio-group/component.js +1 -1
  155. package/dist/radio-group/index.js +1 -1
  156. package/dist/radio-groups/component.js +1 -1
  157. package/dist/radio-groups/index.js +1 -1
  158. package/dist/select/component.js +1 -1
  159. package/dist/select/components/base-select/component.js +1 -1
  160. package/dist/select/components/base-select/index.js +1 -1
  161. package/dist/select/components/field/component.js +1 -1
  162. package/dist/select/components/field/index.js +1 -1
  163. package/dist/select/components/index.js +1 -1
  164. package/dist/select/components/native-select/component.js +1 -1
  165. package/dist/select/components/native-select/index.js +1 -1
  166. package/dist/select/components/option/component.js +1 -1
  167. package/dist/select/components/option/index.js +1 -1
  168. package/dist/select/components/virtual-options-list/component.js +1 -1
  169. package/dist/select/components/virtual-options-list/index.js +1 -1
  170. package/dist/select/index.js +1 -1
  171. package/dist/select/presets/index.js +1 -1
  172. package/dist/select/presets/use-lazy-loading/index.js +1 -1
  173. package/dist/select/presets/use-select-with-loading/hook.js +1 -1
  174. package/dist/sidepanel-header/component.js +1 -1
  175. package/dist/sidepanel-header/index.js +1 -1
  176. package/dist/{slide-45224bab.d.ts → slide-26bad54b.d.ts} +0 -0
  177. package/dist/{slide-45224bab.js → slide-26bad54b.js} +0 -0
  178. package/dist/space/Item.js +1 -1
  179. package/dist/space/component.js +1 -1
  180. package/dist/space/index.js +1 -1
  181. package/dist/suffix-input/component.js +1 -1
  182. package/dist/suffix-input/index.js +1 -1
  183. package/dist/super-list-header/component.js +1 -1
  184. package/dist/super-list-header/index.js +1 -1
  185. package/dist/super-list-item/component.js +1 -1
  186. package/dist/super-list-item/index.js +1 -1
  187. package/dist/{swiper-slide-584c42ee.js → swiper-slide-79931539.js} +0 -0
  188. package/dist/switch/component.js +1 -1
  189. package/dist/switch/index.js +1 -1
  190. package/dist/table/columns.js +1 -1
  191. package/dist/table/component.js +1 -1
  192. package/dist/table/components/cell/component.js +1 -1
  193. package/dist/table/components/cell/index.js +1 -1
  194. package/dist/table/components/cells/index.js +1 -1
  195. package/dist/table/components/empty-list/index.js +1 -1
  196. package/dist/table/components/error/index.js +1 -1
  197. package/dist/table/components/pagination/index.js +1 -1
  198. package/dist/table/components/row/component.js +1 -1
  199. package/dist/table/components/row/index.js +1 -1
  200. package/dist/table/components/rows/index.js +1 -1
  201. package/dist/table/components/table-header/index.js +1 -1
  202. package/dist/table/hooks/use-table-data.js +1 -1
  203. package/dist/table/index.js +1 -1
  204. package/dist/table/table.js +1 -1
  205. package/dist/table/utils/add-query-param.js +1 -1
  206. package/dist/table/utils/get-query-from-url.js +1 -1
  207. package/dist/table/utils/index.d.ts +1 -1
  208. package/dist/table/utils/index.js +1 -1
  209. package/dist/table/utils/parse-query-params.js +1 -1
  210. package/dist/table/utils/query-adapter.js +1 -1
  211. package/dist/table/utils/remove-query-param.js +1 -1
  212. package/dist/table/utils/reset-query-param.js +1 -1
  213. package/dist/table-status/component.js +1 -1
  214. package/dist/table-status/index.js +1 -1
  215. package/dist/tag/component.js +1 -1
  216. package/dist/tag/index.js +1 -1
  217. package/dist/tags-list/component.js +1 -1
  218. package/dist/tags-list/index.js +1 -1
  219. package/dist/tariff-builder/component.js +1 -1
  220. package/dist/tariff-builder/index.js +1 -1
  221. package/dist/textarea/component.js +1 -1
  222. package/dist/textarea/index.js +1 -1
  223. package/dist/toast/component.js +1 -1
  224. package/dist/toast/index.js +1 -1
  225. package/dist/toast-notifier/component.js +1 -1
  226. package/dist/toast-notifier/index.js +1 -1
  227. package/dist/toast-plate/component.js +1 -1
  228. package/dist/toast-plate/index.js +1 -1
  229. package/dist/tooltip/component.js +1 -1
  230. package/dist/tooltip/index.js +1 -1
  231. package/dist/{tslib.es6-c4495eea.js → tslib.es6-0a7fd813.js} +0 -0
  232. package/dist/typography/component.js +1 -1
  233. package/dist/typography/index.js +1 -1
  234. package/dist/typography/text/component.js +1 -1
  235. package/dist/typography/text/index.js +1 -1
  236. package/dist/typography/title/component.js +1 -1
  237. package/dist/typography/title/index.js +1 -1
  238. package/dist/typography/title-responsive/component.js +1 -1
  239. package/dist/typography/title-responsive/index.js +1 -1
  240. package/dist/{use-image-render-component-48d49274.d.ts → use-image-render-component-ec3d9c93.d.ts} +0 -0
  241. package/dist/{use-image-render-component-48d49274.js → use-image-render-component-ec3d9c93.js} +0 -0
  242. package/dist/utils/index.js +1 -1
  243. package/dist/utils/show-toast/index.js +1 -1
  244. package/dist/with-suffix/component.js +1 -1
  245. package/dist/with-suffix/index.js +1 -1
  246. package/package.json +1 -1
@@ -1 +1 @@
1
- import e from"react";import{SearchM as t,CloseS as n}from"alpha-cli-icons";import{Button as o}from"../button/component.js";import"../tslib.es6-c4495eea.js";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";var l="index-module_input__GzLWi",r="index-module_input_clear_btn__5EYN-",a=function(a){var i=a.value,m=a.placeholder,c=a.onChange,s=a.onClearClick;return e.createElement("div",{className:l},e.createElement(t,null),e.createElement("input",{autoComplete:"none",value:i,onChange:function(e){return c(e.target.value)},placeholder:m,type:"text"}),!!(null==i?void 0:i.length)&&e.createElement(o,{className:r,leftAddons:e.createElement(n,null),view:"ghost",onClick:s}))};export{a as HeaderSearch};
1
+ import e from"react";import{SearchM as t,CloseS as n}from"alpha-cli-icons";import{Button as o}from"../button/component.js";import"../tslib.es6-0a7fd813.js";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";var l="index-module_input__GzLWi",r="index-module_input_clear_btn__5EYN-",a=function(a){var i=a.value,m=a.placeholder,c=a.onChange,s=a.onClearClick;return e.createElement("div",{className:l},e.createElement(t,null),e.createElement("input",{autoComplete:"none",value:i,onChange:function(e){return c(e.target.value)},placeholder:m,type:"text"}),!!(null==i?void 0:i.length)&&e.createElement(o,{className:r,leftAddons:e.createElement(n,null),view:"ghost",onClick:s}))};export{a as HeaderSearch};
@@ -1 +1 @@
1
- export{HeaderSearch}from"./component.js";import"react";import"alpha-cli-icons";import"../button/component.js";import"../tslib.es6-c4495eea.js";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";
1
+ export{HeaderSearch}from"./component.js";import"react";import"alpha-cli-icons";import"../button/component.js";import"../tslib.es6-0a7fd813.js";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";
@@ -1 +1 @@
1
- import{a as e}from"../tslib.es6-c4495eea.js";import t from"classnames";import{Key as a}from"ts-keycode-enum";import n,{useRef as r}from"react";var d="index-module_component__2Ni5F",o="index-module_link__wFG7m",i="index-module_addon__AOlk3",l="index-module_directionRight__mFhcN",m="index-module_focused__xFRlG",s=function(s){var c,_=s.addons,u=s.addonsDirection,f=void 0===u?"left":u,x=s.href,N=s.className,h=s.dataTestId,k=s.children,p=s.target,v=s.onClick,g=r(null),E=n.createElement(n.Fragment,null,_&&n.createElement("div",{className:i,"data-test-id":h},_),k),F=t(d,((c={})[l]="right"===f,c[m]=!1,c),N);if(x)return n.createElement("a",{ref:g,href:x,className:t(o,F),target:p,"data-test-id":h},E);var b={};return v&&(b.className=t(o,F),b.role="button",b.tabIndex=0,b.onClick=v,b.onKeyDown=function(e){e.keyCode===a.Enter&&v()}),n.createElement("div",e({ref:g,className:F,"data-test-id":h},b),E)};export{s as Heading};
1
+ import{a as e}from"../tslib.es6-0a7fd813.js";import t from"classnames";import{Key as a}from"ts-keycode-enum";import n,{useRef as d}from"react";var r="index-module_component__2Ni5F",o="index-module_link__wFG7m",i="index-module_addon__AOlk3",l="index-module_directionRight__mFhcN",m="index-module_focused__xFRlG",s=function(s){var c,_=s.addons,f=s.addonsDirection,u=void 0===f?"left":f,x=s.href,N=s.className,h=s.dataTestId,k=s.children,p=s.target,v=s.onClick,g=d(null),E=n.createElement(n.Fragment,null,_&&n.createElement("div",{className:i,"data-test-id":h},_),k),F=t(r,((c={})[l]="right"===u,c[m]=!1,c),N);if(x)return n.createElement("a",{ref:g,href:x,className:t(o,F),target:p,"data-test-id":h},E);var b={};return v&&(b.className=t(o,F),b.role="button",b.tabIndex=0,b.onClick=v,b.onKeyDown=function(e){e.keyCode===a.Enter&&v()}),n.createElement("div",e({ref:g,className:F,"data-test-id":h},b),E)};export{s as Heading};
@@ -1 +1 @@
1
- export{Heading}from"./component.js";import"../tslib.es6-c4495eea.js";import"classnames";import"ts-keycode-enum";import"react";
1
+ export{Heading}from"./component.js";import"../tslib.es6-0a7fd813.js";import"classnames";import"ts-keycode-enum";import"react";
@@ -1 +1 @@
1
- export{useClickOutside}from"./useClickOutside/index.js";export{useFocus}from"./useFocus/index.js";export{usePrevious}from"./usePrevious/index.js";export{useCrudFormRequests}from"./use-crud-form-requests/index.js";export{useGetOne}from"./use-get-one/index.js";import"react";import"../tslib.es6-c4495eea.js";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../utils/show-toast/index.js";import"../toast-notifier/component.js";import"react-dom";import"classnames";import"../toast-plate/component.js";import"alpha-cli-icons";import"../button/component.js";import"react-merge-refs";import"../loader/component.js";import"../toast-notifier/use-timer.js";
1
+ export{useClickOutside}from"./useClickOutside/index.js";export{useFocus}from"./useFocus/index.js";export{usePrevious}from"./usePrevious/index.js";export{useCrudFormRequests}from"./use-crud-form-requests/index.js";export{useGetOne}from"./use-get-one/index.js";import"react";import"../tslib.es6-0a7fd813.js";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../utils/show-toast/index.js";import"../toast-notifier/component.js";import"react-dom";import"classnames";import"../toast-plate/component.js";import"alpha-cli-icons";import"../button/component.js";import"react-merge-refs";import"../loader/component.js";import"../toast-notifier/use-timer.js";
@@ -1 +1 @@
1
- import{c as r,d as t}from"../../tslib.es6-c4495eea.js";import{useState as o}from"react";import{getServiceError as e}from"../../utils/get-service-error/index.js";import{showSuccess as i}from"../../utils/show-toast/index.js";import"../../utils/get-service-error/is-axios-error.js";import"../../utils/get-service-error/is-network-error.js";import"../../toast-notifier/component.js";import"react-dom";import"classnames";import"../../toast-plate/component.js";import"alpha-cli-icons";import"../../button/component.js";import"react-merge-refs";import"../useFocus/index.js";import"../../loader/component.js";import"../../toast-notifier/use-timer.js";var n=function(n){var s=n.recordId,a=n.saveRequest,c=n.removeRequest,m=n.saveCallback,u=n.removeCallback,p=n.close,v=void 0===p?function(){}:p,l=o(!1),d=l[0],f=l[1],j=o(!1),h=j[0],g=j[1],x=o(null),b=x[0],k=x[1],q=function(r){f(!1),g(!1),k(e(r).message)};return{save:function(o){return r(void 0,void 0,void 0,(function(){var r;return t(this,(function(t){return f(!0),r={data:o},s&&(r.id=s),a(r).then((function(r){var t=r.data;v(),null==m||m(t),i("Данные успешно сохранены"),f(!1)})).catch(q),[2]}))}))},remove:function(){return r(void 0,void 0,void 0,(function(){return t(this,(function(r){return s&&c?(g(!0),c(s).then((function(r){var t=r.data;g(!1),v(),null==u||u(t),i("Данные удалены")})).catch(q),[2]):[2]}))}))},error:b,removing:h,updating:d}};export{n as useCrudFormRequests};
1
+ import{c as r,d as t}from"../../tslib.es6-0a7fd813.js";import{useState as o}from"react";import{getServiceError as e}from"../../utils/get-service-error/index.js";import{showSuccess as i}from"../../utils/show-toast/index.js";import"../../utils/get-service-error/is-axios-error.js";import"../../utils/get-service-error/is-network-error.js";import"../../toast-notifier/component.js";import"react-dom";import"classnames";import"../../toast-plate/component.js";import"alpha-cli-icons";import"../../button/component.js";import"react-merge-refs";import"../useFocus/index.js";import"../../loader/component.js";import"../../toast-notifier/use-timer.js";var n=function(n){var s=n.recordId,a=n.saveRequest,c=n.removeRequest,m=n.saveCallback,u=n.removeCallback,p=n.close,v=void 0===p?function(){}:p,d=o(!1),l=d[0],f=d[1],j=o(!1),h=j[0],g=j[1],x=o(null),b=x[0],k=x[1],q=function(r){f(!1),g(!1),k(e(r).message)};return{save:function(o){return r(void 0,void 0,void 0,(function(){var r;return t(this,(function(t){return f(!0),r={data:o},s&&(r.id=s),a(r).then((function(r){var t=r.data;v(),null==m||m(t),i("Данные успешно сохранены"),f(!1)})).catch(q),[2]}))}))},remove:function(){return r(void 0,void 0,void 0,(function(){return t(this,(function(r){return s&&c?(g(!0),c(s).then((function(r){var t=r.data;g(!1),v(),null==u||u(t),i("Данные удалены")})).catch(q),[2]):[2]}))}))},error:b,removing:h,updating:l}};export{n as useCrudFormRequests};
@@ -1 +1 @@
1
- import{c as r,d as e}from"../../tslib.es6-c4495eea.js";import{useState as t,useEffect as s}from"react";import{getServiceError as i}from"../../utils/get-service-error/index.js";import"../../utils/get-service-error/is-axios-error.js";import"../../utils/get-service-error/is-network-error.js";var o=function(o,n){var a=t(!!o),u=a[0],c=a[1],l=t({}),m=l[0],v=l[1],d=t(null),f=d[0],p=d[1],g=function(){return r(void 0,void 0,void 0,(function(){var r,t;return e(this,(function(e){switch(e.label){case 0:c(!0),p(null),e.label=1;case 1:return e.trys.push([1,3,4,5]),[4,n(o)];case 2:return r=e.sent().data,v(r),[3,5];case 3:return t=e.sent(),p(i(t).message),[3,5];case 4:return c(!1),[7];case 5:return[2]}}))}))};return s((function(){o&&g()}),[]),{record:m,loading:u,error:f,request:g}};export{o as useGetOne};
1
+ import{c as r,d as e}from"../../tslib.es6-0a7fd813.js";import{useState as t,useEffect as s}from"react";import{getServiceError as i}from"../../utils/get-service-error/index.js";import"../../utils/get-service-error/is-axios-error.js";import"../../utils/get-service-error/is-network-error.js";var o=function(o,n){var a=t(!!o),u=a[0],c=a[1],l=t({}),d=l[0],f=l[1],m=t(null),v=m[0],p=m[1],g=function(){return r(void 0,void 0,void 0,(function(){var r,t;return e(this,(function(e){switch(e.label){case 0:c(!0),p(null),e.label=1;case 1:return e.trys.push([1,3,4,5]),[4,n(o)];case 2:return r=e.sent().data,f(r),[3,5];case 3:return t=e.sent(),p(i(t).message),[3,5];case 4:return c(!1),[7];case 5:return[2]}}))}))};return s((function(){o&&g()}),[]),{record:d,loading:u,error:v,request:g}};export{o as useGetOne};
@@ -1 +1 @@
1
- import{_ as e,a as o}from"../tslib.es6-c4495eea.js";import s,{forwardRef as i}from"react";import n from"classnames";import{Button as a}from"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";var r={ghost:"index-module_ghost__AGvqe",secondary:"index-module_secondary__nXyce",s:"index-module_s__YCn0j",m:"index-module_m__tTOUs",l:"index-module_l__QVBCl",iconWrapper:"index-module_iconWrapper__85Tzk",icon:"index-module_icon__JiAIe"},m=i((function(i,m){var t,d=i.className,c=i.icon,l=i.view,_=void 0===l?"ghost":l,p=i.size,u=void 0===p?"s":p,x=e(i,["className","icon","view","size"]),f=x.disabled,v=x.loading;return s.createElement(a,o({},x,{ref:m,view:"ghost",loading:v,className:n(d,r[_],(t={},t[r.disabled]=f,t)),size:"s",leftAddons:s.createElement("span",{className:n(r.iconWrapper,r[u])},s.createElement(c,{className:r.icon}))}))}));export{m as IconButton};
1
+ import{_ as e,a as o}from"../tslib.es6-0a7fd813.js";import s,{forwardRef as i}from"react";import n from"classnames";import{Button as a}from"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";var r={ghost:"index-module_ghost__AGvqe",secondary:"index-module_secondary__nXyce",s:"index-module_s__YCn0j",m:"index-module_m__tTOUs",l:"index-module_l__QVBCl",iconWrapper:"index-module_iconWrapper__85Tzk",icon:"index-module_icon__JiAIe"},m=i((function(i,m){var d,t=i.className,c=i.icon,l=i.view,_=void 0===l?"ghost":l,p=i.size,u=void 0===p?"s":p,f=e(i,["className","icon","view","size"]),x=f.disabled,v=f.loading;return s.createElement(a,o({},f,{ref:m,view:"ghost",loading:v,className:n(t,r[_],(d={},d[r.disabled]=x,d)),size:"s",leftAddons:s.createElement("span",{className:n(r.iconWrapper,r[u])},s.createElement(c,{className:r.icon}))}))}));export{m as IconButton};
@@ -1 +1 @@
1
- export{IconButton}from"./component.js";import"../tslib.es6-c4495eea.js";import"react";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";
1
+ export{IconButton}from"./component.js";import"../tslib.es6-0a7fd813.js";import"react";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";
@@ -1 +1 @@
1
- import e from"react";import t from"classnames";import{Skeleton as o}from"../skeleton/component.js";import{Typography as i}from"../typography/component.js";import{u as s,s as r}from"../use-image-render-component-48d49274.js";import"../typography/title/index.js";import"../tslib.es6-c4495eea.js";import"../typography/title/component.js";import"../colors.module-f82c925e.js";import"../common.module-7f109224.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"alpha-cli-icons";import"../spinner/component.js";import"./typings.js";import"./constants.js";import"./utils.js";var n=function(n){var m=n.className,a=n.dataTestId,l=n.src,p=n.alt,c=n.resolution,d=n.hint,u=n.size,j=void 0===u?"m":u,f=n.children,h=n.loading,g=n.view,v=void 0===g?"default":g,y=n.text,E=n.icon,x=n.bgColor,N=void 0===x?"default":x,b=s({size:j,src:l,resolution:c,alt:p,text:y,icon:E});return e.createElement(e.Fragment,null,"ellipse"===v&&e.createElement("svg",{className:r.defs},e.createElement("defs",null,e.createElement("clipPath",{id:"squircle",clipPathUnits:"objectBoundingBox"},e.createElement("path",{d:"M .5 0 C .1 0 0 .1 0 .5 0 .9 .1 1 .5 1 .9 1 1 .9 1 .5 1 .1 .9 0 .5 0 Z",fill:"#f00"})))),e.createElement(o,{visible:h,className:t(r.component,r[j],r[v])},e.createElement("div",{className:t(r.component,r[j],r[v],r[N],m),"data-test-id":a},b,f,!!d&&e.createElement("div",{className:r.hint},e.createElement(i.Text,{className:r.hint_text,view:"caps",color:"primary-inverted",weight:"medium"},d)))))};export{n as Image};
1
+ import e from"react";import t from"classnames";import{Skeleton as o}from"../skeleton/component.js";import{Typography as i}from"../typography/component.js";import{u as s,s as r}from"../use-image-render-component-ec3d9c93.js";import"../typography/title/index.js";import"../tslib.es6-0a7fd813.js";import"../typography/title/component.js";import"../colors.module-03c9010a.js";import"../common.module-4077a709.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"alpha-cli-icons";import"../spinner/component.js";import"./typings.js";import"./constants.js";import"./utils.js";var n=function(n){var m=n.className,a=n.dataTestId,l=n.src,p=n.alt,c=n.resolution,d=n.hint,u=n.size,j=void 0===u?"m":u,h=n.children,f=n.loading,g=n.view,v=void 0===g?"default":g,y=n.text,E=n.icon,x=n.bgColor,N=void 0===x?"default":x,b=s({size:j,src:l,resolution:c,alt:p,text:y,icon:E});return e.createElement(e.Fragment,null,"ellipse"===v&&e.createElement("svg",{className:r.defs},e.createElement("defs",null,e.createElement("clipPath",{id:"squircle",clipPathUnits:"objectBoundingBox"},e.createElement("path",{d:"M .5 0 C .1 0 0 .1 0 .5 0 .9 .1 1 .5 1 .9 1 1 .9 1 .5 1 .1 .9 0 .5 0 Z",fill:"#f00"})))),e.createElement(o,{visible:f,className:t(r.component,r[j],r[v])},e.createElement("div",{className:t(r.component,r[j],r[v],r[N],m),"data-test-id":a},b,h,!!d&&e.createElement("div",{className:r.hint},e.createElement(i.Text,{className:r.hint_text,view:"caps",color:"primary-inverted",weight:"medium"},d)))))};export{n as Image};
@@ -1 +1 @@
1
- import t from"react";import{u as o}from"../use-image-render-component-48d49274.js";import"alpha-cli-icons";import"classnames";import"../spinner/component.js";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-c4495eea.js";import"../typography/title/component.js";import"../colors.module-f82c925e.js";import"../common.module-7f109224.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"./typings.js";import"./constants.js";import"./utils.js";var r=function(r){var e=r.src,p=r.alt,i=r.resolution,s=r.size,n=void 0===s?"m":s,m=r.text,c=r.icon,a=o({size:n,src:e,resolution:i,alt:p,text:m,icon:c});return a?t.createElement(t.Fragment,null,a):null};export{r as ImageBase};
1
+ import t from"react";import{u as o}from"../use-image-render-component-ec3d9c93.js";import"alpha-cli-icons";import"classnames";import"../spinner/component.js";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-0a7fd813.js";import"../typography/title/component.js";import"../colors.module-03c9010a.js";import"../common.module-4077a709.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"./typings.js";import"./constants.js";import"./utils.js";var r=function(r){var e=r.src,p=r.alt,i=r.resolution,s=r.size,n=void 0===s?"m":s,m=r.text,a=r.icon,c=o({size:n,src:e,resolution:i,alt:p,text:m,icon:a});return c?t.createElement(t.Fragment,null,c):null};export{r as ImageBase};
@@ -1 +1 @@
1
- export{Image}from"./component.js";export{ImageSizes}from"./typings.js";export{DEFAULT_SIZE,sizes,textSizes}from"./constants.js";export{getCharsFromText,getSrc}from"./utils.js";import"react";import"classnames";import"../skeleton/component.js";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-c4495eea.js";import"../typography/title/component.js";import"../colors.module-f82c925e.js";import"../common.module-7f109224.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"../use-image-render-component-48d49274.js";import"alpha-cli-icons";import"../spinner/component.js";
1
+ export{Image}from"./component.js";export{ImageSizes}from"./typings.js";export{DEFAULT_SIZE,sizes,textSizes}from"./constants.js";export{getCharsFromText,getSrc}from"./utils.js";import"react";import"classnames";import"../skeleton/component.js";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-0a7fd813.js";import"../typography/title/component.js";import"../colors.module-03c9010a.js";import"../common.module-4077a709.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"../use-image-render-component-ec3d9c93.js";import"alpha-cli-icons";import"../spinner/component.js";
@@ -1 +1 @@
1
- import"react";import"alpha-cli-icons";import"classnames";import"../spinner/component.js";import"../typography/component.js";export{u as useImageRenderComponent}from"../use-image-render-component-48d49274.js";import"./typings.js";import"./constants.js";import"./utils.js";import"../typography/title/index.js";import"../tslib.es6-c4495eea.js";import"../typography/title/component.js";import"../colors.module-f82c925e.js";import"../common.module-7f109224.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";
1
+ import"react";import"alpha-cli-icons";import"classnames";import"../spinner/component.js";import"../typography/component.js";export{u as useImageRenderComponent}from"../use-image-render-component-ec3d9c93.js";import"./typings.js";import"./constants.js";import"./utils.js";import"../typography/title/index.js";import"../tslib.es6-0a7fd813.js";import"../typography/title/component.js";import"../colors.module-03c9010a.js";import"../common.module-4077a709.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";
@@ -1 +1 @@
1
- import e,{useState as t,useCallback as o,useEffect as r}from"react";import{NavigationBar as i}from"./components/navigation-bar/index.js";import{Header as n}from"./components/header/index.js";import"classnames";import{GalleryContext as s}from"./context.js";import{ImageViewer as m}from"./components/image-viewer/index.js";import"./utils/utils.js";import"./utils/constants.js";import"./components/image-preview/index.js";import"./components/header-info-block/index.js";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-c4495eea.js";import"../typography/title/component.js";import"../colors.module-f82c925e.js";import"../common.module-7f109224.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"./utils/split-filename.js";import"swiper";import"../swiper-slide-584c42ee.js";import"../hooks/useFocus/index.js";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"alpha-cli-icons";import"../button/component.js";import"react-merge-refs";import"../loader/component.js";import"../toast-notifier/use-timer.js";import"../slide-45224bab.js";var p="index-module_container__t-bnz",l=function(l){var a=l.open,c=l.images,u=l.initialSlide,d=void 0===u?0:u,g=l.loop,j=void 0===g||g,f=l.onClose,v=t(d),h=v[0],x=v[1],y=t(),w=y[0],b=y[1],S=t([]),k=S[0],E=S[1],C=t(!1),I=C[0],L=C[1],M=o((function(e){c[e]&&(x(e),w&&w.slideTo(e))}),[c,w]),_=o((function(){var e=c.length-1,t=h+1;t>=c.length&&(t=j?0:e),M(t)}),[c.length,j,h,M]),A=o((function(){var e=c.length-1,t=h-1;t<0&&(t=j?e:0),M(t)}),[c.length,j,h,M]),F=o((function(e,t){k[t]=e,E(k.slice())}),[k]),N=o((function(){f(),x(d),L(!1)}),[d,f]),P=o((function(e){if(a&&!I)switch(e.key){case"ArrowLeft":A();break;case"ArrowRight":_();break;case"Escape":N()}}),[I,a,_,A,N]);r((function(){return document.addEventListener("keydown",P),function(){document.removeEventListener("keydown",P)}}),[P]);var T=1===c.length,z=!T&&!I,R={singleSlide:T,currentSlideIndex:h,images:c,imagesMeta:k,fullScreen:I,initialSlide:d,setFullScreen:L,setImageMeta:F,slideNext:_,slidePrev:A,slideTo:M,getSwiper:function(){return w},setSwiper:b,onClose:N,setCurrentSlideIndex:x,getCurrentImage:function(){return c[h]},getCurrentImageMeta:function(){return k[h]}};return a?e.createElement(s.Provider,{value:R},e.createElement("div",{className:p},e.createElement(n,null),e.createElement(m,null),z&&e.createElement(i,null))):null};export{l as ImageGallery};
1
+ import e,{useState as t,useCallback as o,useEffect as r}from"react";import{NavigationBar as i}from"./components/navigation-bar/index.js";import{Header as n}from"./components/header/index.js";import"classnames";import{GalleryContext as s}from"./context.js";import{ImageViewer as m}from"./components/image-viewer/index.js";import"./utils/utils.js";import"./utils/constants.js";import"./components/image-preview/index.js";import"./components/header-info-block/index.js";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-0a7fd813.js";import"../typography/title/component.js";import"../colors.module-03c9010a.js";import"../common.module-4077a709.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"./utils/split-filename.js";import"swiper";import"../swiper-slide-79931539.js";import"../hooks/useFocus/index.js";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"alpha-cli-icons";import"../button/component.js";import"react-merge-refs";import"../loader/component.js";import"../toast-notifier/use-timer.js";import"../slide-26bad54b.js";var p="index-module_container__t-bnz",l=function(l){var a=l.open,c=l.images,u=l.initialSlide,d=void 0===u?0:u,g=l.loop,j=void 0===g||g,f=l.onClose,v=t(d),h=v[0],x=v[1],y=t(),w=y[0],b=y[1],S=t([]),k=S[0],E=S[1],C=t(!1),I=C[0],L=C[1],M=o((function(e){c[e]&&(x(e),w&&w.slideTo(e))}),[c,w]),_=o((function(){var e=c.length-1,t=h+1;t>=c.length&&(t=j?0:e),M(t)}),[c.length,j,h,M]),A=o((function(){var e=c.length-1,t=h-1;t<0&&(t=j?e:0),M(t)}),[c.length,j,h,M]),F=o((function(e,t){k[t]=e,E(k.slice())}),[k]),N=o((function(){f(),x(d),L(!1)}),[d,f]),P=o((function(e){if(a&&!I)switch(e.key){case"ArrowLeft":A();break;case"ArrowRight":_();break;case"Escape":N()}}),[I,a,_,A,N]);r((function(){return document.addEventListener("keydown",P),function(){document.removeEventListener("keydown",P)}}),[P]);var T=1===c.length,z=!T&&!I,R={singleSlide:T,currentSlideIndex:h,images:c,imagesMeta:k,fullScreen:I,initialSlide:d,setFullScreen:L,setImageMeta:F,slideNext:_,slidePrev:A,slideTo:M,getSwiper:function(){return w},setSwiper:b,onClose:N,setCurrentSlideIndex:x,getCurrentImage:function(){return c[h]},getCurrentImageMeta:function(){return k[h]}};return a?e.createElement(s.Provider,{value:R},e.createElement("div",{className:p},e.createElement(n,null),e.createElement(m,null),z&&e.createElement(i,null))):null};export{l as ImageGallery};
@@ -1 +1 @@
1
- import e,{useContext as t,useRef as o,useEffect as r}from"react";import{GalleryContext as n}from"../../context.js";import{HeaderInfoBlock as m}from"../header-info-block/index.js";import"../../../typography/component.js";import"../../../typography/title/index.js";import"../../../tslib.es6-c4495eea.js";import"../../../typography/title/component.js";import"classnames";import"../../../colors.module-f82c925e.js";import"../../../common.module-7f109224.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";import"../../utils/split-filename.js";var i="index-module_header__597vy",p="index-module_buttons__ILnkB",l=function(){var l=t(n),s=l.fullScreen,a=l.getCurrentImage,c=l.onClose,u=o(null);r((function(){u.current&&u.current.focus()}),[s]);var d=a(),f=(null==d?void 0:d.name)||"";return e.createElement("div",{className:i},e.createElement(m,{filename:f}),e.createElement("div",{className:p},e.createElement("button",{type:"button",onClick:c},"close")))};export{l as Header};
1
+ import e,{useContext as t,useRef as o,useEffect as r}from"react";import{GalleryContext as n}from"../../context.js";import{HeaderInfoBlock as m}from"../header-info-block/index.js";import"../../../typography/component.js";import"../../../typography/title/index.js";import"../../../tslib.es6-0a7fd813.js";import"../../../typography/title/component.js";import"classnames";import"../../../colors.module-03c9010a.js";import"../../../common.module-4077a709.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";import"../../utils/split-filename.js";var i="index-module_header__597vy",p="index-module_buttons__ILnkB",l=function(){var l=t(n),s=l.fullScreen,a=l.getCurrentImage,c=l.onClose,u=o(null);r((function(){u.current&&u.current.focus()}),[s]);var d=a(),y=(null==d?void 0:d.name)||"";return e.createElement("div",{className:i},e.createElement(m,{filename:y}),e.createElement("div",{className:p},e.createElement("button",{type:"button",onClick:c},"close")))};export{l as Header};
@@ -1 +1 @@
1
- import e from"react";import{Typography as t}from"../../../typography/component.js";import{splitFilename as o}from"../../utils/split-filename.js";import"../../../typography/title/index.js";import"../../../tslib.es6-c4495eea.js";import"../../../typography/title/component.js";import"classnames";import"../../../colors.module-f82c925e.js";import"../../../common.module-7f109224.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";var m="index-module_info__I8Z23",r="index-module_filenameHead__urP7W",i="index-module_filenameContainer__v5Oht",a=function(a){var l=a.filename,n=o(l),p=n[0],s=n[1];return e.createElement("div",{className:m},e.createElement("div",{className:i},e.createElement(t.Title,{tag:"h1",className:r,view:"xsmall",color:"primary-inverted"},p),e.createElement(t.Title,{tag:"h1",view:"xsmall",color:"primary-inverted"},s)))};export{a as HeaderInfoBlock};
1
+ import e from"react";import{Typography as t}from"../../../typography/component.js";import{splitFilename as o}from"../../utils/split-filename.js";import"../../../typography/title/index.js";import"../../../tslib.es6-0a7fd813.js";import"../../../typography/title/component.js";import"classnames";import"../../../colors.module-03c9010a.js";import"../../../common.module-4077a709.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";var m="index-module_info__I8Z23",r="index-module_filenameHead__urP7W",i="index-module_filenameContainer__v5Oht",a=function(a){var l=a.filename,n=o(l),p=n[0],s=n[1];return e.createElement("div",{className:m},e.createElement("div",{className:i},e.createElement(t.Title,{tag:"h1",className:r,view:"xsmall",color:"primary-inverted"},p),e.createElement(t.Title,{tag:"h1",view:"xsmall",color:"primary-inverted"},s)))};export{a as HeaderInfoBlock};
@@ -1 +1 @@
1
- import{a as e}from"../../../tslib.es6-c4495eea.js";import t,{useContext as o,useRef as r,useCallback as i,useEffect as n,useMemo as s}from"react";import a from"classnames";import l,{EffectFade as c,A11y as m,Controller as p}from"swiper";import{S as u,a as d}from"../../../swiper-slide-584c42ee.js";import{useFocus as f}from"../../../hooks/useFocus/index.js";import"../../../utils/get-service-error/index.js";import"../../../toast-notifier/component.js";import{GalleryContext as h}from"../../context.js";import{getImageAlt as v,getImageKey as g}from"../../utils/utils.js";import{TestIds as y}from"../../utils/constants.js";import{s as j,S as w}from"../../../slide-45224bab.js";import"../../../utils/get-service-error/is-axios-error.js";import"../../../utils/get-service-error/is-network-error.js";import"react-dom";import"../../../toast-plate/component.js";import"alpha-cli-icons";import"../../../button/component.js";import"react-merge-refs";import"../../../loader/component.js";import"../../../toast-notifier/use-timer.js";import"../../../typography/component.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../colors.module-f82c925e.js";import"../../../common.module-7f109224.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";l.use([c,m,p]);var S=function(){var l,c,m,p=o(h),S=p.singleSlide,E=p.images,b=p.imagesMeta,x=p.fullScreen,k=p.currentSlideIndex,I=p.initialSlide,N=p.onClose,T=p.getCurrentImage,C=p.setImageMeta,M=p.setCurrentSlideIndex,A=p.getSwiper,D=p.setSwiper,B=p.slidePrev,L=p.slideNext,P=r(null),R=r(null),_=f(P,"keyboard")[0],V=f(R,"keyboard")[0],F=A(),H=i((function(){var e;M(null!==(e=null==F?void 0:F.activeIndex)&&void 0!==e?e:I)}),[M,F,I]),K=function(e,t){var o=e.currentTarget,r=o.naturalWidth,i=o.naturalHeight;C({width:r,height:i},t)},O=function(e){C({width:0,height:0,broken:!0},e)},U=i((function(e){var t,o,r=e.target,i=(null===(t=P.current)||void 0===t?void 0:t.contains(r))||(null===(o=R.current)||void 0===o?void 0:o.contains(r)),n=Boolean(r.closest("."+j.placeholder));"IMG"===r.tagName||n||i||N()}),[N]);n((function(){!function(e){var t=e.Element.prototype;"function"!=typeof t.matches&&(t.matches=t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||function(e){for(var t=this,o=(t.document||t.ownerDocument).querySelectorAll(e),r=0;o[r]&&o[r]!==t;)++r;return Boolean(o[r])}),"function"!=typeof t.closest&&(t.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})}(window)}),[]);var q=s((function(){var e;return{slidesPerView:1,effect:"fade",fadeEffect:{crossFade:!0},className:a(j.swiper,(e={},e[j.hidden]=x,e)),controller:{control:F},a11y:{slideRole:"img"},initialSlide:I,simulateTouch:!1,onSwiper:D,onSlideChange:H}}),[F,x,I,H,D]),z=!S&&!x,G=(null==F?void 0:F.width)||1,W=(null==F?void 0:F.height)||1,X=G/W,J=T();return t.createElement("div",{className:a(j.component,(l={},l[j.singleSlide]=S,l)),onClick:U},z&&t.createElement("div",{className:a(j.arrow,(c={},c[j.focused]=_,c)),onClick:function(){B()},role:"button",onKeyDown:function(e){"Enter"===e.key&&B()},tabIndex:0,ref:P,"aria-label":"Предыдущее изображение","data-test-id":y.PREV_SLIDE_BUTTON},">"),x&&t.createElement("img",{src:null==J?void 0:J.src,alt:J?v(J,k):"",className:j.fullScreenImage}),t.createElement(u,e({},q),E.map((function(e,o){var r=b[o],i=((null==r?void 0:r.width)||1)/((null==r?void 0:r.height)||1),n=o===k;return t.createElement(d,{key:g(e,o),style:{pointerEvents:n?"auto":"none",transitionProperty:"opacity"}},(function(s){var a=s.isActive;return t.createElement(w,{isActive:a,swiperAspectRatio:X,image:e,swiperHeight:W,meta:r,index:o,imageAspectRatio:i,slideVisible:n,handleLoad:K,handleLoadError:O})}))}))),z&&t.createElement("div",{className:a(j.arrow,(m={},m[j.focused]=V,m)),onClick:function(){L()},role:"button",onKeyDown:function(e){"Enter"===e.key&&L()},tabIndex:0,ref:R,"aria-label":"Следующее изображение","data-test-id":y.NEXT_SLIDE_BUTTON},"<"))};export{S as ImageViewer};
1
+ import{a as e}from"../../../tslib.es6-0a7fd813.js";import t,{useContext as o,useRef as r,useCallback as i,useEffect as n,useMemo as a}from"react";import s from"classnames";import l,{EffectFade as c,A11y as m,Controller as p}from"swiper";import{S as d,a as u}from"../../../swiper-slide-79931539.js";import{useFocus as f}from"../../../hooks/useFocus/index.js";import"../../../utils/get-service-error/index.js";import"../../../toast-notifier/component.js";import{GalleryContext as h}from"../../context.js";import{getImageAlt as v,getImageKey as g}from"../../utils/utils.js";import{TestIds as y}from"../../utils/constants.js";import{s as j,S as w}from"../../../slide-26bad54b.js";import"../../../utils/get-service-error/is-axios-error.js";import"../../../utils/get-service-error/is-network-error.js";import"react-dom";import"../../../toast-plate/component.js";import"alpha-cli-icons";import"../../../button/component.js";import"react-merge-refs";import"../../../loader/component.js";import"../../../toast-notifier/use-timer.js";import"../../../typography/component.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../colors.module-03c9010a.js";import"../../../common.module-4077a709.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";l.use([c,m,p]);var S=function(){var l,c,m,p=o(h),S=p.singleSlide,E=p.images,b=p.imagesMeta,x=p.fullScreen,k=p.currentSlideIndex,I=p.initialSlide,N=p.onClose,T=p.getCurrentImage,C=p.setImageMeta,M=p.setCurrentSlideIndex,A=p.getSwiper,D=p.setSwiper,B=p.slidePrev,L=p.slideNext,P=r(null),R=r(null),_=f(P,"keyboard")[0],V=f(R,"keyboard")[0],F=A(),H=i((function(){var e;M(null!==(e=null==F?void 0:F.activeIndex)&&void 0!==e?e:I)}),[M,F,I]),K=function(e,t){var o=e.currentTarget,r=o.naturalWidth,i=o.naturalHeight;C({width:r,height:i},t)},O=function(e){C({width:0,height:0,broken:!0},e)},U=i((function(e){var t,o,r=e.target,i=(null===(t=P.current)||void 0===t?void 0:t.contains(r))||(null===(o=R.current)||void 0===o?void 0:o.contains(r)),n=Boolean(r.closest("."+j.placeholder));"IMG"===r.tagName||n||i||N()}),[N]);n((function(){!function(e){var t=e.Element.prototype;"function"!=typeof t.matches&&(t.matches=t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||function(e){for(var t=this,o=(t.document||t.ownerDocument).querySelectorAll(e),r=0;o[r]&&o[r]!==t;)++r;return Boolean(o[r])}),"function"!=typeof t.closest&&(t.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})}(window)}),[]);var q=a((function(){var e;return{slidesPerView:1,effect:"fade",fadeEffect:{crossFade:!0},className:s(j.swiper,(e={},e[j.hidden]=x,e)),controller:{control:F},a11y:{slideRole:"img"},initialSlide:I,simulateTouch:!1,onSwiper:D,onSlideChange:H}}),[F,x,I,H,D]),z=!S&&!x,G=(null==F?void 0:F.width)||1,W=(null==F?void 0:F.height)||1,X=G/W,J=T();return t.createElement("div",{className:s(j.component,(l={},l[j.singleSlide]=S,l)),onClick:U},z&&t.createElement("div",{className:s(j.arrow,(c={},c[j.focused]=_,c)),onClick:function(){B()},role:"button",onKeyDown:function(e){"Enter"===e.key&&B()},tabIndex:0,ref:P,"aria-label":"Предыдущее изображение","data-test-id":y.PREV_SLIDE_BUTTON},">"),x&&t.createElement("img",{src:null==J?void 0:J.src,alt:J?v(J,k):"",className:j.fullScreenImage}),t.createElement(d,e({},q),E.map((function(e,o){var r=b[o],i=((null==r?void 0:r.width)||1)/((null==r?void 0:r.height)||1),n=o===k;return t.createElement(u,{key:g(e,o),style:{pointerEvents:n?"auto":"none",transitionProperty:"opacity"}},(function(a){var s=a.isActive;return t.createElement(w,{isActive:s,swiperAspectRatio:X,image:e,swiperHeight:W,meta:r,index:o,imageAspectRatio:i,slideVisible:n,handleLoad:K,handleLoadError:O})}))}))),z&&t.createElement("div",{className:s(j.arrow,(m={},m[j.focused]=V,m)),onClick:function(){L()},role:"button",onKeyDown:function(e){"Enter"===e.key&&L()},tabIndex:0,ref:R,"aria-label":"Следующее изображение","data-test-id":y.NEXT_SLIDE_BUTTON},"<"))};export{S as ImageViewer};
@@ -1 +1 @@
1
- import"react";import"classnames";import"../../../typography/component.js";import"../../utils/utils.js";import"../../utils/constants.js";export{S as Slide}from"../../../slide-45224bab.js";import"../../../typography/title/index.js";import"../../../tslib.es6-c4495eea.js";import"../../../typography/title/component.js";import"../../../colors.module-f82c925e.js";import"../../../common.module-7f109224.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";
1
+ import"react";import"classnames";import"../../../typography/component.js";import"../../utils/utils.js";import"../../utils/constants.js";export{S as Slide}from"../../../slide-26bad54b.js";import"../../../typography/title/index.js";import"../../../tslib.es6-0a7fd813.js";import"../../../typography/title/component.js";import"../../../colors.module-03c9010a.js";import"../../../common.module-4077a709.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";
@@ -1 +1 @@
1
- export{NavigationBar}from"./navigation-bar/index.js";export{Header}from"./header/index.js";export{ImagePreview}from"./image-preview/index.js";export{ImageViewer}from"./image-viewer/index.js";import"react";import"../context.js";import"../utils/utils.js";import"../utils/constants.js";import"classnames";import"./header-info-block/index.js";import"../../typography/component.js";import"../../typography/title/index.js";import"../../tslib.es6-c4495eea.js";import"../../typography/title/component.js";import"../../colors.module-f82c925e.js";import"../../common.module-7f109224.js";import"../../typography/text/component.js";import"../../typography/title-responsive/component.js";import"../utils/split-filename.js";import"swiper";import"../../swiper-slide-584c42ee.js";import"../../hooks/useFocus/index.js";import"../../utils/get-service-error/index.js";import"../../utils/get-service-error/is-axios-error.js";import"../../utils/get-service-error/is-network-error.js";import"../../toast-notifier/component.js";import"react-dom";import"../../toast-plate/component.js";import"alpha-cli-icons";import"../../button/component.js";import"react-merge-refs";import"../../loader/component.js";import"../../toast-notifier/use-timer.js";import"../../slide-45224bab.js";
1
+ export{NavigationBar}from"./navigation-bar/index.js";export{Header}from"./header/index.js";export{ImagePreview}from"./image-preview/index.js";export{ImageViewer}from"./image-viewer/index.js";import"react";import"../context.js";import"../utils/utils.js";import"../utils/constants.js";import"classnames";import"./header-info-block/index.js";import"../../typography/component.js";import"../../typography/title/index.js";import"../../tslib.es6-0a7fd813.js";import"../../typography/title/component.js";import"../../colors.module-03c9010a.js";import"../../common.module-4077a709.js";import"../../typography/text/component.js";import"../../typography/title-responsive/component.js";import"../utils/split-filename.js";import"swiper";import"../../swiper-slide-79931539.js";import"../../hooks/useFocus/index.js";import"../../utils/get-service-error/index.js";import"../../utils/get-service-error/is-axios-error.js";import"../../utils/get-service-error/is-network-error.js";import"../../toast-notifier/component.js";import"react-dom";import"../../toast-plate/component.js";import"alpha-cli-icons";import"../../button/component.js";import"react-merge-refs";import"../../loader/component.js";import"../../toast-notifier/use-timer.js";import"../../slide-26bad54b.js";
@@ -1 +1 @@
1
- export{ImageGallery}from"./component.js";export{splitFilename}from"./utils/split-filename.js";export{PLACEHOLDER_HEIGHT,PLACEHOLDER_WIDTH,getImageAlt,getImageKey,isSmallImage}from"./utils/utils.js";export{TestIds}from"./utils/constants.js";import"react";import"./components/navigation-bar/index.js";import"./context.js";import"./components/image-preview/index.js";import"classnames";import"./components/header/index.js";import"./components/header-info-block/index.js";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-c4495eea.js";import"../typography/title/component.js";import"../colors.module-f82c925e.js";import"../common.module-7f109224.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"./components/image-viewer/index.js";import"swiper";import"../swiper-slide-584c42ee.js";import"../hooks/useFocus/index.js";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"alpha-cli-icons";import"../button/component.js";import"react-merge-refs";import"../loader/component.js";import"../toast-notifier/use-timer.js";import"../slide-45224bab.js";
1
+ export{ImageGallery}from"./component.js";export{splitFilename}from"./utils/split-filename.js";export{PLACEHOLDER_HEIGHT,PLACEHOLDER_WIDTH,getImageAlt,getImageKey,isSmallImage}from"./utils/utils.js";export{TestIds}from"./utils/constants.js";import"react";import"./components/navigation-bar/index.js";import"./context.js";import"./components/image-preview/index.js";import"classnames";import"./components/header/index.js";import"./components/header-info-block/index.js";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-0a7fd813.js";import"../typography/title/component.js";import"../colors.module-03c9010a.js";import"../common.module-4077a709.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"./components/image-viewer/index.js";import"swiper";import"../swiper-slide-79931539.js";import"../hooks/useFocus/index.js";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"alpha-cli-icons";import"../button/component.js";import"react-merge-refs";import"../loader/component.js";import"../toast-notifier/use-timer.js";import"../slide-26bad54b.js";
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { AxiosPromise } from 'axios';
3
+ import { ApiMethodDeclaration, MakeServiceFromServiceDeclaration } from "../typings/api";
4
4
  type Props = {
5
5
  title: string;
6
6
  subtitle?: string;
@@ -11,9 +11,9 @@ type Props = {
11
11
  columns?: number;
12
12
  error?: string;
13
13
  className?: string;
14
- uploadRequest: (params: any) => AxiosPromise<{
14
+ uploadRequest: MakeServiceFromServiceDeclaration<ApiMethodDeclaration<any, {
15
15
  url: string;
16
- }>;
16
+ }>>;
17
17
  onUpdate: (photos: string[]) => void;
18
18
  setMain?: (photo: string) => void;
19
19
  };
@@ -1 +1 @@
1
- import{b as e}from"../tslib.es6-c4495eea.js";import t,{forwardRef as o,useState as i,useRef as r}from"react";import{PlusS as n,HeartStrokeM as m,LoupeM as s,TrashM as a}from"alpha-cli-icons";import{FlexColumns as l}from"../flex-columns/component.js";import{IconButton as p}from"../icon-button/component.js";import{Image as c}from"../image/component.js";import"../image/typings.js";import"../image/constants.js";import{ImageGallery as u}from"../image-gallery/component.js";import{Padding as d}from"../padding/component.js";import{SuperListHeader as g}from"../super-list-header/component.js";import{Typography as f}from"../typography/component.js";import{getServiceError as j}from"../utils/get-service-error/index.js";import{showError as v}from"../utils/show-toast/index.js";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../skeleton/component.js";import"../use-image-render-component-48d49274.js";import"../spinner/component.js";import"../image/utils.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../colors.module-f82c925e.js";import"../common.module-7f109224.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"../image-gallery/components/navigation-bar/index.js";import"../image-gallery/context.js";import"../image-gallery/utils/utils.js";import"../image-gallery/utils/constants.js";import"../image-gallery/components/image-preview/index.js";import"../image-gallery/components/header/index.js";import"../image-gallery/components/header-info-block/index.js";import"../image-gallery/utils/split-filename.js";import"../image-gallery/components/image-viewer/index.js";import"swiper";import"../swiper-slide-584c42ee.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"../toast-notifier/use-timer.js";import"../slide-45224bab.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";var y="index-module_image__5DvrD",x="index-module_icon__Xtgbu",h="index-module_controls__XUF4X",w="index-module_main__ZMTqM",E=o((function(o,E){var b=o.value,_=void 0===b?[]:b,k=o.title,N=o.subtitle,C=o.columns,z=void 0===C?3:C,M=o.onUpdate,D=o.uploadRequest,F=o.setMain,T=o.type,X=o.main,q=o.multiple,A=o.error,S=o.className,U=i(!1),I=U[0],R=U[1],Z=i(),B=Z[0];Z[1];var G=i(!1),H=G[0],J=G[1],K=r(null),L=function(t){var o=t.target.files&&t.target.files[0];if(o){var i=new FormData;i.append("file",o),i.append("type",T),J(!0),D({data:i}).then((function(t){var o=t.data.url;M(q?e(e([],_),[o]):[o])})).catch((function(e){var t=j(e).message;v(t)})).finally((function(){return J(!1)}))}};return t.createElement("div",{className:S},t.createElement("input",{type:"file",style:{height:0,position:"absolute"},ref:E,onChange:L,multiple:q}),t.createElement("input",{type:"file",style:{height:0,position:"absolute"},ref:K,onChange:L,multiple:q}),t.createElement(g,{text:k,leftAddons:t.createElement(p,{onClick:function(){var e;return null===(e=K.current)||void 0===e?void 0:e.click()},icon:n,loading:H})}),N&&t.createElement(f.Text,{view:"primary-small",color:"secondary",weight:"medium"},N),t.createElement(d,{padding:"4px 0"},A&&t.createElement(f.Text,{view:"caps",color:"negative",weight:"medium"},A)),t.createElement(l,{columns:z},_.map((function(e){return t.createElement(c,{className:y,src:e,size:"l",view:"default"},t.createElement("div",{className:h},!!F&&X!==e&&t.createElement(p,{onClick:function(){return F(e)},icon:m,size:"m",view:"secondary",className:x}),t.createElement(p,{onClick:function(){R(!0)},icon:s,size:"m",view:"secondary",className:x}),t.createElement(p,{onClick:function(){return t=e,void M(_.filter((function(e){return e!==t})));var t},icon:a,size:"m",view:"secondary",className:x})),X===e&&t.createElement("div",{className:w},"MAIN"))}))),t.createElement(u,{initialSlide:B,onClose:function(){return R(!1)},open:I,images:_.map((function(e){return{src:e,previewSrc:e}}))}))}));export{E as ImageUploader};
1
+ import{c as e,d as t,b as o}from"../tslib.es6-0a7fd813.js";import r,{forwardRef as i,useState as n,useRef as m}from"react";import{PlusS as s,HeartStrokeM as a,LoupeM as l,TrashM as p}from"alpha-cli-icons";import{FlexColumns as c}from"../flex-columns/component.js";import{IconButton as u}from"../icon-button/component.js";import{Image as d}from"../image/component.js";import"../image/typings.js";import"../image/constants.js";import{ImageGallery as g}from"../image-gallery/component.js";import{Padding as f}from"../padding/component.js";import{SuperListHeader as j}from"../super-list-header/component.js";import{Typography as v}from"../typography/component.js";import{getServiceError as y}from"../utils/get-service-error/index.js";import{showError as h}from"../utils/show-toast/index.js";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../skeleton/component.js";import"../use-image-render-component-ec3d9c93.js";import"../spinner/component.js";import"../image/utils.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../colors.module-03c9010a.js";import"../common.module-4077a709.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"../image-gallery/components/navigation-bar/index.js";import"../image-gallery/context.js";import"../image-gallery/utils/utils.js";import"../image-gallery/utils/constants.js";import"../image-gallery/components/image-preview/index.js";import"../image-gallery/components/header/index.js";import"../image-gallery/components/header-info-block/index.js";import"../image-gallery/utils/split-filename.js";import"../image-gallery/components/image-viewer/index.js";import"swiper";import"../swiper-slide-79931539.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"../toast-notifier/use-timer.js";import"../slide-26bad54b.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";var x="index-module_image__5DvrD",w="index-module_icon__Xtgbu",E="index-module_controls__XUF4X",b="index-module_main__ZMTqM",_=i((function(i,_){var k=i.value,N=void 0===k?[]:k,C=i.title,z=i.subtitle,M=i.columns,A=void 0===M?3:M,D=i.onUpdate,F=i.uploadRequest,T=i.setMain,X=i.type,q=i.main,S=i.multiple,U=i.error,I=i.className,P=n(!1),R=P[0],Z=P[1],B=n(),G=B[0],H=B[1],J=n(!1),K=J[0],L=J[1],O=m(null),Q=function(r){var i=r.target.files;return e(void 0,void 0,void 0,(function(){var e,r,n,m,s;return t(this,(function(t){switch(t.label){case 0:if(!i)return[2];e=Array.from(i).map((function(e){var t=new FormData;return t.append("file",e),t.append("type",X),F({data:t})})),L(!0),t.label=1;case 1:return t.trys.push([1,3,4,5]),[4,Promise.all(e)];case 2:return r=t.sent(),n=r.map((function(e){return e.data.url})),D(S?o(o([],N),n):n),[3,5];case 3:return m=t.sent(),s=y(m).message,h(s),[3,5];case 4:return L(!1),[7];case 5:return[2]}}))}))};return r.createElement("div",{className:I},r.createElement("input",{type:"file",style:{height:0,position:"absolute"},ref:_,onChange:Q,multiple:S}),r.createElement("input",{type:"file",style:{height:0,position:"absolute"},ref:O,onChange:Q,multiple:S}),r.createElement(j,{text:C,leftAddons:r.createElement(u,{onClick:function(){var e;return null===(e=O.current)||void 0===e?void 0:e.click()},icon:s,loading:K})}),z&&r.createElement(v.Text,{view:"primary-small",color:"secondary",weight:"medium"},z),r.createElement(f,{padding:"4px 0"},U&&r.createElement(v.Text,{view:"caps",color:"negative",weight:"medium"},U)),r.createElement(c,{columns:A},N.map((function(e,t){return r.createElement(d,{key:e,className:x,src:e,size:"l",view:"default"},r.createElement("div",{className:E},!!T&&q!==e&&r.createElement(u,{onClick:function(){return T(e)},icon:a,size:"m",view:"secondary",className:w}),r.createElement(u,{onClick:function(){H(t),Z(!0)},icon:l,size:"m",view:"secondary",className:w}),r.createElement(u,{onClick:function(){return t=e,void D(N.filter((function(e){return e!==t})));var t},icon:p,size:"m",view:"secondary",className:w})),q===e&&r.createElement("div",{className:b},"MAIN"))}))),r.createElement(g,{initialSlide:G,onClose:function(){return Z(!1)},open:R,images:N.map((function(e){return{src:e,previewSrc:e}}))}))}));export{_ as ImageUploader};
@@ -1 +1 @@
1
- export{ImageUploader}from"./component.js";import"../tslib.es6-c4495eea.js";import"react";import"alpha-cli-icons";import"../flex-columns/component.js";import"classnames";import"../icon-button/component.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../image/component.js";import"../skeleton/component.js";import"../typography/component.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../colors.module-f82c925e.js";import"../common.module-7f109224.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"../use-image-render-component-48d49274.js";import"../spinner/component.js";import"../image/typings.js";import"../image/constants.js";import"../image/utils.js";import"../image-gallery/component.js";import"../image-gallery/components/navigation-bar/index.js";import"../image-gallery/context.js";import"../image-gallery/utils/utils.js";import"../image-gallery/utils/constants.js";import"../image-gallery/components/image-preview/index.js";import"../image-gallery/components/header/index.js";import"../image-gallery/components/header-info-block/index.js";import"../image-gallery/utils/split-filename.js";import"../image-gallery/components/image-viewer/index.js";import"swiper";import"../swiper-slide-584c42ee.js";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"../toast-notifier/use-timer.js";import"../slide-45224bab.js";import"../padding/component.js";import"../super-list-header/component.js";import"../utils/show-toast/index.js";
1
+ export{ImageUploader}from"./component.js";import"../tslib.es6-0a7fd813.js";import"react";import"alpha-cli-icons";import"../flex-columns/component.js";import"classnames";import"../icon-button/component.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../image/component.js";import"../skeleton/component.js";import"../typography/component.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../colors.module-03c9010a.js";import"../common.module-4077a709.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"../use-image-render-component-ec3d9c93.js";import"../spinner/component.js";import"../image/typings.js";import"../image/constants.js";import"../image/utils.js";import"../image-gallery/component.js";import"../image-gallery/components/navigation-bar/index.js";import"../image-gallery/context.js";import"../image-gallery/utils/utils.js";import"../image-gallery/utils/constants.js";import"../image-gallery/components/image-preview/index.js";import"../image-gallery/components/header/index.js";import"../image-gallery/components/header-info-block/index.js";import"../image-gallery/utils/split-filename.js";import"../image-gallery/components/image-viewer/index.js";import"swiper";import"../swiper-slide-79931539.js";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"../toast-notifier/use-timer.js";import"../slide-26bad54b.js";import"../padding/component.js";import"../super-list-header/component.js";import"../utils/show-toast/index.js";
@@ -1,4 +1,4 @@
1
- import{c as e}from"./_commonjsHelpers-23e92dab.js";
1
+ import{c as e}from"./_commonjsHelpers-dbdd8e36.js";
2
2
  /** @license React v16.13.1
3
3
  * react-is.production.min.js
4
4
  *