@alphakits/ui 1.27.40 → 1.27.42

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 (324) hide show
  1. package/dist/amount/component.js +1 -1
  2. package/dist/amount/index.js +1 -1
  3. package/dist/amount-input/component.js +1 -1
  4. package/dist/amount-input/index.js +1 -1
  5. package/dist/avatar/component.js +1 -1
  6. package/dist/avatar/index.js +1 -1
  7. package/dist/back-button/component.js +1 -1
  8. package/dist/back-button/index.js +1 -1
  9. package/dist/base-card/component.d.ts +0 -1
  10. package/dist/base-card/component.js +1 -1
  11. package/dist/base-card/index.js +1 -1
  12. package/dist/bottom-sheet/component.js +1 -1
  13. package/dist/bottom-sheet/index.js +1 -1
  14. package/dist/box/component.d.ts +2 -1
  15. package/dist/box/component.js +1 -1
  16. package/dist/button/component.js +1 -1
  17. package/dist/button/index.js +1 -1
  18. package/dist/calendar/component.js +1 -1
  19. package/dist/calendar/components/days-table/component.js +1 -1
  20. package/dist/calendar/components/days-table/index.js +1 -1
  21. package/dist/calendar/components/header/index.js +1 -1
  22. package/dist/calendar/components/header//321/201omponent.js +1 -1
  23. package/dist/calendar/components/months-table/index.js +1 -1
  24. package/dist/calendar/components/months-table//321/201omponent.js +1 -1
  25. package/dist/calendar/components/select-button/index.js +1 -1
  26. package/dist/calendar/components/select-button//321/201omponent.js +1 -1
  27. package/dist/calendar/components/years-table/index.js +1 -1
  28. package/dist/calendar/components/years-table//321/201omponent.js +1 -1
  29. package/dist/calendar/index.js +1 -1
  30. package/dist/calendar/use-calendar.js +1 -1
  31. package/dist/calendar/use-period.js +1 -1
  32. package/dist/calendar/utils.js +1 -1
  33. package/dist/calendar-input/component.js +1 -1
  34. package/dist/calendar-input/index.js +1 -1
  35. package/dist/calendar-input/utils.js +1 -1
  36. package/dist/{capitalize-b51476c0.js → capitalize-7c5db72a.js} +1 -1
  37. package/dist/card/component.js +1 -1
  38. package/dist/card/images/index.js +1 -1
  39. package/dist/card/index.js +1 -1
  40. package/dist/cell/base/component.js +1 -1
  41. package/dist/cell/component.js +1 -1
  42. package/dist/cell/index.d.ts +1 -1
  43. package/dist/cell/index.js +1 -1
  44. package/dist/cell/pure/component.js +1 -1
  45. package/dist/checkbox/component.js +1 -1
  46. package/dist/checkbox/index.js +1 -1
  47. package/dist/checkbox-group/component.js +1 -1
  48. package/dist/checkbox-group/index.js +1 -1
  49. package/dist/checkbox-lists/component.js +1 -1
  50. package/dist/checkbox-lists/index.js +1 -1
  51. package/dist/collapsable-row/addons.js +1 -1
  52. package/dist/collapsable-row/component.js +1 -1
  53. package/dist/collapsable-row/index.js +1 -1
  54. package/dist/collapse/component.js +1 -1
  55. package/dist/collapse/index.js +1 -1
  56. package/dist/component-952ec4fa.js +1 -0
  57. package/dist/copy-button/component.js +1 -1
  58. package/dist/copy-button/index.js +1 -1
  59. package/dist/date/component.js +1 -1
  60. package/dist/date/index.js +1 -1
  61. package/dist/date-functions.js +1 -1
  62. package/dist/date-switcher/component.js +1 -1
  63. package/dist/date-switcher/index.js +1 -1
  64. package/dist/empty-page/component.js +1 -1
  65. package/dist/empty-page/index.js +1 -1
  66. package/dist/footer/component.js +1 -1
  67. package/dist/footer/contact-block.js +1 -1
  68. package/dist/footer/index.js +1 -1
  69. package/dist/form/component.js +1 -1
  70. package/dist/form/components/form-footer/index.js +1 -1
  71. package/dist/form/components/form-loading/index.js +1 -1
  72. package/dist/form/components/form-wrapper/index.js +1 -1
  73. package/dist/form/components/index.d.ts +1 -1
  74. package/dist/form/components/index.js +1 -1
  75. package/dist/form/index.js +1 -1
  76. package/dist/form/templates/base-form/index.js +1 -1
  77. package/dist/form/templates/filters-form/index.js +1 -1
  78. package/dist/form/templates/rest-form/form.js +1 -1
  79. package/dist/form/templates/rest-form/index.js +1 -1
  80. package/dist/form/utils/get-default-values.js +1 -1
  81. package/dist/form-control/component.js +1 -1
  82. package/dist/form-control/index.js +1 -1
  83. package/dist/grid/col/component.js +1 -1
  84. package/dist/grid/col/index.js +1 -1
  85. package/dist/grid/component.js +1 -1
  86. package/dist/grid/index.js +1 -1
  87. package/dist/grid/row/component.js +1 -1
  88. package/dist/grid/row/index.js +1 -1
  89. package/dist/header-search/component.js +1 -1
  90. package/dist/header-search/index.js +1 -1
  91. package/dist/hooks/index.js +1 -1
  92. package/dist/hooks/use-crud-form-requests/index.js +1 -1
  93. package/dist/hooks/use-get-one/index.js +1 -1
  94. package/dist/icon-button/component.js +1 -1
  95. package/dist/icon-button/index.js +1 -1
  96. package/dist/image/component.js +1 -1
  97. package/dist/image/image-base.d.ts +1 -1
  98. package/dist/image/image-base.js +1 -1
  99. package/dist/image/index.js +1 -1
  100. package/dist/image/types.d.ts +5 -22
  101. package/dist/image/types.js +1 -1
  102. package/dist/image/use-image-render-component.js +1 -1
  103. package/dist/image/utils.d.ts +1 -3
  104. package/dist/image/utils.js +1 -1
  105. package/dist/image-gallery/component.js +1 -1
  106. package/dist/image-gallery/components/header/index.js +1 -1
  107. package/dist/image-gallery/components/header-info-block/index.js +1 -1
  108. package/dist/image-gallery/components/image-viewer/index.js +1 -1
  109. package/dist/image-gallery/components/image-viewer/slide.js +1 -1
  110. package/dist/image-gallery/components/index.js +1 -1
  111. package/dist/image-gallery/index.js +1 -1
  112. package/dist/image-uploader/component.js +1 -1
  113. package/dist/image-uploader/index.js +1 -1
  114. package/dist/index-135cab82.js +1 -0
  115. package/dist/index-32ebbe84.js +1 -0
  116. package/dist/{index-85176a0a.js → index-4ee65b41.js} +1 -1
  117. package/dist/{index-32ddaa07.js → index-593e516a.js} +1 -1
  118. package/dist/{index-5fe06b3e.js → index-8bacc648.js} +1 -1
  119. package/dist/{index-300e4b0a.js → index-8daaeaf2.js} +1 -1
  120. package/dist/{index-3d96d5d9.js → index-b0437de9.js} +1 -1
  121. package/dist/{index-c67829ae.js → index-b90ef332.js} +1 -1
  122. package/dist/{index-4fb5e31d.js → index-c6aae0cf.js} +1 -1
  123. package/dist/index-d23adc0f.js +1 -0
  124. package/dist/{index-00e35ae5.js → index-d29cbd13.js} +1 -1
  125. package/dist/{index-fdacf967.js → index-ed02b70a.js} +1 -1
  126. package/dist/{index-9c3e1cca.js → index-fed0fbc5.js} +1 -1
  127. package/dist/index.css +1 -1
  128. package/dist/index.ts +0 -1
  129. package/dist/info-block-header/component.js +1 -1
  130. package/dist/info-block-header/index.js +1 -1
  131. package/dist/info-block-item/component.js +1 -1
  132. package/dist/info-block-item/index.js +1 -1
  133. package/dist/input/component.js +1 -1
  134. package/dist/input/index.js +1 -1
  135. package/dist/input-autocomplete/autocomplete-field/index.js +1 -1
  136. package/dist/input-autocomplete/component.js +1 -1
  137. package/dist/input-autocomplete/index.js +1 -1
  138. package/dist/input-ghost/component.js +1 -1
  139. package/dist/input-ghost/index.js +1 -1
  140. package/dist/{isSymbol-64925213.js → isSymbol-86a6ad33.js} +1 -1
  141. package/dist/link/component.js +1 -1
  142. package/dist/link/index.js +1 -1
  143. package/dist/list-allert/component.js +1 -1
  144. package/dist/list-allert/index.js +1 -1
  145. package/dist/masked-input/component.js +1 -1
  146. package/dist/masked-input/index.js +1 -1
  147. package/dist/menu/component.js +1 -1
  148. package/dist/menu/components/content-header/index.js +1 -1
  149. package/dist/menu/components/index.js +1 -1
  150. package/dist/menu/components/menu-avatar/index.js +1 -1
  151. package/dist/menu/components/menu-back-button/index.js +1 -1
  152. package/dist/menu/components/menu-button/index.js +1 -1
  153. package/dist/menu/components/menu-buttons-list/index.js +1 -1
  154. package/dist/menu/components/user-button/index.js +1 -1
  155. package/dist/menu/index.js +1 -1
  156. package/dist/message/component.js +1 -1
  157. package/dist/message/index.js +1 -1
  158. package/dist/modal/components/modals/index.js +1 -1
  159. package/dist/modal/components/modals/modal.js +1 -1
  160. package/dist/modal/context.js +1 -1
  161. package/dist/modal/hooks/use-modal.js +1 -1
  162. package/dist/modal/index.js +1 -1
  163. package/dist/modal/utils/delete-property-by-id.js +1 -1
  164. package/dist/notification/component.js +1 -1
  165. package/dist/notification/index.js +1 -1
  166. package/dist/page-with-controls/component.js +1 -1
  167. package/dist/page-with-controls/index.js +1 -1
  168. package/dist/{parse-query-params-acdb7e55.js → parse-query-params-e3bc19f8.js} +1 -1
  169. package/dist/picker-button/common/index.js +1 -1
  170. package/dist/picker-button/common/labeled-button/index.js +1 -1
  171. package/dist/picker-button/component.js +1 -1
  172. package/dist/picker-button/field/Component.js +1 -1
  173. package/dist/picker-button/field/index.js +1 -1
  174. package/dist/picker-button/index.js +1 -1
  175. package/dist/popover/component.js +1 -1
  176. package/dist/popover/index.js +1 -1
  177. package/dist/progress-bar/component.js +1 -1
  178. package/dist/progress-bar/index.js +1 -1
  179. package/dist/progress-index/component.js +1 -1
  180. package/dist/progress-index/index.js +1 -1
  181. package/dist/radio/component.js +1 -1
  182. package/dist/radio/index.js +1 -1
  183. package/dist/radio-group/component.js +1 -1
  184. package/dist/radio-group/index.js +1 -1
  185. package/dist/radio-groups/component.js +1 -1
  186. package/dist/radio-groups/index.js +1 -1
  187. package/dist/select/component.js +1 -1
  188. package/dist/select/components/base-select/component.js +1 -1
  189. package/dist/select/components/base-select/index.js +1 -1
  190. package/dist/select/components/field/component.js +1 -1
  191. package/dist/select/components/field/index.js +1 -1
  192. package/dist/select/components/index.js +1 -1
  193. package/dist/select/components/native-select/component.js +1 -1
  194. package/dist/select/components/native-select/index.js +1 -1
  195. package/dist/select/components/option/component.js +1 -1
  196. package/dist/select/components/option/index.js +1 -1
  197. package/dist/select/components/options-list/component.js +1 -1
  198. package/dist/select/components/options-list/index.js +1 -1
  199. package/dist/select/components/virtual-options-list/component.js +1 -1
  200. package/dist/select/components/virtual-options-list/index.js +1 -1
  201. package/dist/select/index.js +1 -1
  202. package/dist/select/presets/index.js +1 -1
  203. package/dist/select/presets/use-lazy-loading/index.js +1 -1
  204. package/dist/select/presets/use-select-with-loading/hook.js +1 -1
  205. package/dist/sidepanel-header/component.js +1 -1
  206. package/dist/sidepanel-header/index.js +1 -1
  207. package/dist/space/Item.js +1 -1
  208. package/dist/space/component.js +1 -1
  209. package/dist/space/index.js +1 -1
  210. package/dist/stepped-progress-bar/index.js +1 -1
  211. package/dist/stepped-progress-bar/step-bar.js +1 -1
  212. package/dist/suffix-input/component.js +1 -1
  213. package/dist/suffix-input/index.js +1 -1
  214. package/dist/super-list-header/component.js +1 -1
  215. package/dist/super-list-header/index.js +1 -1
  216. package/dist/super-list-item/component.js +1 -1
  217. package/dist/super-list-item/index.js +1 -1
  218. package/dist/switch/component.js +1 -1
  219. package/dist/switch/index.js +1 -1
  220. package/dist/table/columns.js +1 -1
  221. package/dist/table/component.js +1 -1
  222. package/dist/table/components/cell/component.js +1 -1
  223. package/dist/table/components/cell/index.js +1 -1
  224. package/dist/table/components/cells/index.js +1 -1
  225. package/dist/table/components/empty-list/index.js +1 -1
  226. package/dist/table/components/error/index.js +1 -1
  227. package/dist/table/components/loading/index.js +1 -1
  228. package/dist/table/components/pagination/index.js +1 -1
  229. package/dist/table/components/table-header/index.js +1 -1
  230. package/dist/table/hooks/use-table-data.js +1 -1
  231. package/dist/table/index.d.ts +1 -1
  232. package/dist/table/index.js +1 -1
  233. package/dist/table/table.js +1 -1
  234. package/dist/table/utils/add-query-param.js +1 -1
  235. package/dist/table/utils/get-query-from-url.js +1 -1
  236. package/dist/table/utils/index.d.ts +1 -1
  237. package/dist/table/utils/index.js +1 -1
  238. package/dist/table/utils/parse-query-params.js +1 -1
  239. package/dist/table/utils/prepare-rows.js +1 -1
  240. package/dist/table/utils/query-adapter.js +1 -1
  241. package/dist/table/utils/remove-query-param.js +1 -1
  242. package/dist/table/utils/reset-query-param.js +1 -1
  243. package/dist/table-status/component.js +1 -1
  244. package/dist/table-status/index.js +1 -1
  245. package/dist/tag/component.js +1 -1
  246. package/dist/tag/index.js +1 -1
  247. package/dist/tags-list/component.js +1 -1
  248. package/dist/tags-list/index.js +1 -1
  249. package/dist/textarea/component.js +1 -1
  250. package/dist/textarea/index.js +1 -1
  251. package/dist/toast/component.js +1 -1
  252. package/dist/toast/index.js +1 -1
  253. package/dist/toast-notifier/component.js +1 -1
  254. package/dist/toast-notifier/index.js +1 -1
  255. package/dist/toast-plate/component.js +1 -1
  256. package/dist/toast-plate/index.js +1 -1
  257. package/dist/tooltip/component.js +1 -1
  258. package/dist/tooltip/index.js +1 -1
  259. package/dist/typography/component.js +1 -1
  260. package/dist/typography/index.js +1 -1
  261. package/dist/typography/text/component.js +1 -1
  262. package/dist/typography/text/index.js +1 -1
  263. package/dist/typography/title/component.js +1 -1
  264. package/dist/typography/title/index.js +1 -1
  265. package/dist/{use-image-render-component-d6c046b1.d.ts → use-image-render-component-e7e22720.d.ts} +3 -3
  266. package/dist/use-image-render-component-e7e22720.js +1 -0
  267. package/dist/utils/format-date/index.js +1 -1
  268. package/dist/utils/index.js +1 -1
  269. package/dist/utils/show-toast/index.js +1 -1
  270. package/dist/with-suffix/component.js +1 -1
  271. package/dist/with-suffix/index.js +1 -1
  272. package/package.json +1 -1
  273. package/dist/PhotoS-47ae71fb.js +0 -1
  274. package/dist/component-a0f8d4c4.js +0 -1
  275. package/dist/index-17837953.js +0 -1
  276. package/dist/index-b5af2c0a.js +0 -1
  277. package/dist/index-e272d121.js +0 -1
  278. package/dist/pure-image/component.d.ts +0 -13
  279. package/dist/pure-image/component.js +0 -1
  280. package/dist/pure-image/index.d.ts +0 -1
  281. package/dist/pure-image/index.js +0 -1
  282. package/dist/pure-image/use-image-state.d.ts +0 -12
  283. package/dist/pure-image/use-image-state.js +0 -1
  284. package/dist/pure-image/utils/get-chars-from-text.d.ts +0 -2
  285. package/dist/pure-image/utils/get-chars-from-text.js +0 -1
  286. package/dist/use-image-render-component-d6c046b1.js +0 -1
  287. /package/dist/{ActionCopyM-b640e6b6.js → ActionCopyM-e9fc8d9d.js} +0 -0
  288. /package/dist/{CancelM-179fc606.js → CancelM-bb891827.js} +0 -0
  289. /package/dist/{CheckmarkCircleM-7952077b.js → CheckmarkCircleM-26bb0af6.js} +0 -0
  290. /package/dist/{ChevronBackM-07957d5f.js → ChevronBackM-ed3f8467.js} +0 -0
  291. /package/dist/{ChevronBackS-a0fe11a6.js → ChevronBackS-79ceb8ee.js} +0 -0
  292. /package/dist/{ChevronDownS-d856aca2.js → ChevronDownS-a7b81ae7.js} +0 -0
  293. /package/dist/{ChevronForwardM-42d072a9.js → ChevronForwardM-9fe2622a.js} +0 -0
  294. /package/dist/{ChevronForwardS-3b7abbb0.js → ChevronForwardS-9c0df525.js} +0 -0
  295. /package/dist/{ClockCircleM-f4c80946.js → ClockCircleM-73d9a2f3.js} +0 -0
  296. /package/dist/{CloseM-312c58e8.js → CloseM-f554ab2d.js} +0 -0
  297. /package/dist/{CloseS-18b4630a.js → CloseS-c38027c6.js} +0 -0
  298. /package/dist/{ControllerS-e5f76738.js → ControllerS-2a79ebb0.js} +0 -0
  299. /package/dist/{EditS-c3017fc3.js → EditS-c6ec6ae9.js} +0 -0
  300. /package/dist/{MinusM-bcac96d3.js → MinusM-31b5bb10.js} +0 -0
  301. /package/dist/{MoverS-2a6010b0.js → MoverS-9759214d.js} +0 -0
  302. /package/dist/{NextS-52c4b834.js → NextS-77c04e95.js} +0 -0
  303. /package/dist/{PlusS-4ea0a677.js → PlusS-a148b7df.js} +0 -0
  304. /package/dist/{SearchM-8de143f0.js → SearchM-938ad4ad.js} +0 -0
  305. /package/dist/{TrashM-69023b5b.js → TrashM-ffa10c2e.js} +0 -0
  306. /package/dist/{YoutubeM-94db7c98.js → YoutubeM-26454381.js} +0 -0
  307. /package/dist/{_commonjsHelpers-bc812022.js → _commonjsHelpers-56db068a.js} +0 -0
  308. /package/dist/{colors.module-9986e423.js → colors.module-88cf361e.js} +0 -0
  309. /package/dist/{component-a13ffe9e.d.ts → component-0be976c0.d.ts} +0 -0
  310. /package/dist/{component-a13ffe9e.js → component-0be976c0.js} +0 -0
  311. /package/dist/{component-a0f8d4c4.d.ts → component-952ec4fa.d.ts} +0 -0
  312. /package/dist/{contact-block-e7382325.d.ts → contact-block-8b1b46ba.d.ts} +0 -0
  313. /package/dist/{contact-block-e7382325.js → contact-block-8b1b46ba.js} +0 -0
  314. /package/dist/{gutters.module-c0652b5d.js → gutters.module-ddaacb2d.js} +0 -0
  315. /package/dist/{index-e947eabe.js → index-2dfc1a26.js} +0 -0
  316. /package/dist/{index-00e35ae5.d.ts → index-d29cbd13.d.ts} +0 -0
  317. /package/dist/{index-2f88ed05.js → index-d9eb6b94.js} +0 -0
  318. /package/dist/{intersection-observer-8686904b.js → intersection-observer-a43c672a.js} +0 -0
  319. /package/dist/{parse-query-params-acdb7e55.d.ts → parse-query-params-e3bc19f8.d.ts} +0 -0
  320. /package/dist/{slide-623ee539.d.ts → slide-1172c256.d.ts} +0 -0
  321. /package/dist/{slide-623ee539.js → slide-1172c256.js} +0 -0
  322. /package/dist/{step-bar-206f9091.d.ts → step-bar-52184e7c.d.ts} +0 -0
  323. /package/dist/{step-bar-206f9091.js → step-bar-52184e7c.js} +0 -0
  324. /package/dist/{tslib.es6-160c07ed.js → tslib.es6-601266b7.js} +0 -0
@@ -1 +0,0 @@
1
- import*as c from"react";var a=function(){return a=Object.assign||function(c){for(var a,e=1,l=arguments.length;e<l;e++)for(var t in a=arguments[e])Object.prototype.hasOwnProperty.call(a,t)&&(c[t]=a[t]);return c},a.apply(this,arguments)};function e(e){return c.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"currentColor",viewBox:"0 0 24 25"},e),c.createElement("path",{fillRule:"evenodd",d:"M6.454 3h11.093c.5 0 .933 0 1.288.029.376.03.75.099 1.109.282a2.85 2.85 0 0 1 1.246 1.245c.183.36.25.733.281 1.108.029.355.029.787.029 1.286v11.088c0 .363 0 .688-.01.97a1 1 0 0 1-.025.398c-.034.353-.105.702-.275 1.037-.273.536-.71.973-1.246 1.247-.36.183-.732.25-1.108.281-.355.029-.786.029-1.286.029H6.45c-.5 0-.93 0-1.286-.029-.375-.03-.749-.098-1.108-.281a2.85 2.85 0 0 1-1.245-1.247c-.172-.337-.242-.686-.276-1.038-.032-.34-.035-.744-.035-1.204V6.954c0-.501 0-.933.029-1.29.03-.375.098-.749.282-1.108A2.85 2.85 0 0 1 4.056 3.31c.36-.184.733-.251 1.109-.282C5.52 3 5.953 3 6.454 3M19.6 16.441V6.987c0-.547 0-.9-.023-1.168-.02-.258-.057-.354-.08-.4a.95.95 0 0 0-.416-.415c-.047-.024-.142-.06-.4-.081a16 16 0 0 0-1.17-.023H6.49c-.549 0-.902 0-1.172.023-.258.02-.354.057-.4.08a.95.95 0 0 0-.415.415c-.024.047-.06.143-.081.401-.022.27-.023.623-.023 1.171v8.642l2.858-3.335.007-.008.016-.019c.182-.212.356-.415.517-.572.173-.17.4-.358.707-.467a1.9 1.9 0 0 1 1.294.009c.306.113.53.305.702.477.158.16.33.366.51.581l2.558 3.07a8 8 0 0 0 .395.456l.012-.01c.093-.078.213-.197.43-.413l.493-.495c.189-.188.37-.369.535-.508.179-.15.409-.314.71-.401a1.9 1.9 0 0 1 1.253.07c.289.119.5.307.66.476.15.157.31.358.478.567zM4.401 18.55c.003.29.01.503.026.675.021.224.054.312.077.356.091.18.237.325.415.416.046.023.142.06.4.08.268.022.621.023 1.168.023h11.026c.547 0 .9 0 1.168-.023.258-.02.353-.057.4-.08a.95.95 0 0 0 .416-.416.6.6 0 0 0 .05-.164l-2.478-3.098a8 8 0 0 0-.388-.466l-.011-.012-.012.01c-.095.08-.218.202-.437.421l-.495.495c-.185.185-.362.363-.525.5-.176.149-.403.31-.7.398-.404.119-.84.102-1.238-.055a1.9 1.9 0 0 1-.66-.46 9 9 0 0 1-.473-.54l-2.558-3.07a9 9 0 0 0-.42-.485l-.012-.012-.012.011a9 9 0 0 0-.433.487zM12.95 8.7a1.9 1.9 0 1 1 3.8 0 1.9 1.9 0 0 1-3.8 0",clipRule:"evenodd"}))}var l=function(){return l=Object.assign||function(c){for(var a,e=1,l=arguments.length;e<l;e++)for(var t in a=arguments[e])Object.prototype.hasOwnProperty.call(a,t)&&(c[t]=a[t]);return c},l.apply(this,arguments)};function t(a){return c.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"currentColor",viewBox:"0 0 16 17"},a),c.createElement("path",{fillRule:"evenodd",d:"M3.95 1.393h8.11c.366 0 .682 0 .942.02.275.023.549.073.813.207.392.2.712.52.912.913.135.263.184.537.207.812.021.26.021.575.021.94v8.106q.002.398-.008.71a.7.7 0 0 1-.018.29 2.1 2.1 0 0 1-.202.76c-.2.393-.52.714-.912.914a2.1 2.1 0 0 1-.812.206c-.26.022-.575.022-.94.022H3.947c-.365 0-.68 0-.94-.022a2.1 2.1 0 0 1-.813-.206 2.1 2.1 0 0 1-.912-.913 2.1 2.1 0 0 1-.202-.761 10 10 0 0 1-.026-.88V4.287c0-.366 0-.682.021-.943.023-.275.072-.548.207-.812.2-.393.52-.713.912-.913.264-.134.538-.184.813-.206.26-.021.576-.021.942-.021m9.606 9.816V4.312c0-.4 0-.657-.017-.853-.015-.188-.041-.258-.058-.29a.7.7 0 0 0-.302-.302c-.033-.017-.102-.043-.29-.058a12 12 0 0 0-.856-.017H3.977c-.4 0-.659 0-.855.017-.189.015-.258.041-.291.058a.7.7 0 0 0-.302.301c-.017.034-.043.103-.058.291-.016.197-.017.455-.017.856v6.303l2.08-2.427.006-.006.012-.014c.133-.155.26-.303.377-.418a1.4 1.4 0 0 1 .52-.343c.307-.11.643-.107.95.007.224.083.388.223.514.35.116.116.241.267.372.425l1.87 2.244c.142.17.221.264.283.327l.003.003.005-.004c.068-.058.156-.145.314-.302l.361-.362c.138-.137.27-.27.39-.372.132-.11.3-.23.522-.294.305-.088.629-.069.919.051.213.088.367.225.485.35.11.115.227.262.35.414zm-11.1 1.558c.001.211.006.366.018.491.015.164.04.227.055.259a.7.7 0 0 0 .302.301c.033.017.102.043.29.059.196.016.454.016.854.016h8.06c.4 0 .658 0 .854-.016.188-.016.257-.042.29-.059a.7.7 0 0 0 .302-.301.4.4 0 0 0 .036-.117l-1.81-2.262a6 6 0 0 0-.284-.34q-.002-.004-.005-.006l-.004.004c-.07.059-.16.147-.32.308l-.362.362c-.134.135-.265.265-.383.365-.13.11-.296.228-.514.292a1.4 1.4 0 0 1-.908-.04 1.4 1.4 0 0 1-.484-.337c-.109-.11-.226-.25-.347-.396l-1.87-2.244a6 6 0 0 0-.312-.36l-.005.006a6 6 0 0 0-.316.355zm6.238-7.202a1.394 1.394 0 1 1 2.789 0 1.394 1.394 0 0 1-2.789 0m1.4 0-.001-.003-.002-.002h-.005l-.002.002v.006l.002.001h.005l.002-.002z",clipRule:"evenodd"}))}export{t as P,e as a};
@@ -1 +0,0 @@
1
- import{TableCell as e}from"./table/components/cell/component.js";import t,{useCallback as l,useEffect as o,useMemo as r}from"react";import n from"classnames";import{Cells as a}from"./table/components/cells/index.js";import{EmptyList as i}from"./table/components/empty-list/index.js";import{Error as c}from"./table/components/error/index.js";import{Loading as s}from"./table/components/loading/index.js";import{Pagination as m}from"./table/components/pagination/index.js";import{TableHeader as u}from"./table/components/table-header/index.js";import{useTableData as d}from"./table/hooks/use-table-data.js";import{addQueryParam as p}from"./table/utils/add-query-param.js";import{getTags as f}from"./table/utils/get-tags.js";import{a as v}from"./PhotoS-47ae71fb.js";import{Image as g}from"./image/component.js";import"./image/types.js";import"./cell/pure/component.js";import{removeQueryParam as b}from"./table/utils/remove-query-param.js";import{resetQueryParam as h}from"./table/utils/reset-query-param.js";function w(e,t,l){return e?"string"==typeof e?t[e]:"function"==typeof e?e({row:t,refetch:l}):null:null}function C(e,t,l){return e?"string"==typeof e?t[e]:"function"==typeof e?e({row:t,refetch:l}):null:null}function E(e){var l=e.columns,o=e.data,r=e.refetch,n=o.map((function(e){return{row:e,cells:l.map((function(l){var o,n,a,i,c,s,m,u,d,p,f=C((null===(o=l.row)||void 0===o?void 0:o.title)||l.accessor,e,r);if(null===(n=l.row)||void 0===n?void 0:n.image){var b=w(null===(a=l.row)||void 0===a?void 0:a.image,e,r);p=b?t.createElement(g,{bgColor:"secondary",src:b,text:null==f?void 0:f.toString(),view:"ellipse"}):t.createElement(g,{bgColor:"secondary",icon:t.createElement(v,null),text:null==f?void 0:f.toString(),view:"ellipse"})}else if(null===(i=l.row)||void 0===i?void 0:i.icon){var h=w(null===(c=l.row)||void 0===c?void 0:c.icon,e,r);p=t.createElement(g,{icon:h||t.createElement(v,null),text:null==f?void 0:f.toString(),view:"ellipse"})}else(null===(s=l.row)||void 0===s?void 0:s.customAddon)&&(p=w(null===(m=l.row)||void 0===m?void 0:m.customAddon,e,r));return t.createElement(_.Cell,{title:f,align:l.align,subtitle:(null===(u=l.row)||void 0===u?void 0:u.subtitle)&&C(null===(d=l.row)||void 0===d?void 0:d.subtitle,e,r),addon:p})}))}}));return n}var j={table_wrapper:"index-module_table_wrapper__SeB5n",table:"index-module_table__9sbda",fill:"index-module_fill__Q-icF",clickable:"index-module_clickable__k4S8g"};function x(e){var v=e.columns,g=e.searchPlaceholder,w=void 0===g?"Поиск по таблице":g,C=e.records,x=e.hideSearch,_=e.rightHeaderAddons,y=e.leftHeaderAddons,k=e.filtersButtonLabel,P=e.createButtonLabel,S=e.loading,B=e.height,A=void 0===B?"fill":B,L=e.tagsBuilder,F=e.promise,H=e.onRowClick,T=e.onCreateClick,q=e.onFiltersClick,N=e.refetch,D=e.language,Q=d({promise:F,records:C}),R=Q.loading,V=Q.error,z=Q.data,G=Q.total,I=Q.params,J=Q.pagesCount,K=Q.updateData,M=T?function(){return T(K)}:void 0,O=l((function(e){h(e),K()}),[]);o((function(){K()}),[]);var U=function(){return q?q({submitCallback:function(e){return O(e)},initialValues:I}):null},W=function(e){p(e),K()},X=f({params:(null==I?void 0:I.where)||{},onDelete:function(e,t){b(e,t),K()},tagsBuilder:L,onClick:U}),Y=r((function(){return E({columns:v,data:z,refetch:N||K})}),[z,v]),Z=R||S;return t.createElement("div",{className:n(j.table_wrapper,j[A])},(!x||_||y||T||q)&&t.createElement(u,{language:D,hideSearch:x,rightHeaderAddons:_,leftHeaderAddons:y,searchText:(null==I?void 0:I.searchText)||"",addParam:W,searchPlaceholder:w,filtersButtonLabel:k,tags:X,onCreateClick:M,createButtonLabel:P,onFiltersClick:U,showFiltersButton:!!q}),t.createElement("div",{className:j.table},t.createElement("table",{cellSpacing:"0",cellPadding:"0"},t.createElement(a,{sort:null==I?void 0:I.sort,order:null==I?void 0:I.order,addParam:W,columns:v}),t.createElement("tbody",null,V&&t.createElement(c,{language:D}),!Y.length&&!Z&&!V&&t.createElement(i,{language:D}),Z&&t.createElement(s,{columnsLength:v.length}),Y.map((function(e){var l,o=e.row,r=e.cells;return t.createElement("tr",{onClick:function(){return e=o,null==H?void 0:H(e,K);var e},className:n((l={},l[j.clickable]=!!H,l)),style:{visibility:Z?"collapse":"visible"}},r.map((function(e){return e})))}))))),!!F&&t.createElement(m,{language:D,currentPage:I?+I.page:1,recordsPerPage:I?+I.limit:10,pagesCount:+J,addParam:W,total:+G}))}var _={Cell:e,TableComponent:x};export{_ as T,x as a,E as p};
@@ -1 +0,0 @@
1
- import{i as e}from"./index-5fe06b3e.js";import{r}from"./index-2f88ed05.js";function i(i){return r(1,arguments),e(Date.now(),i)}export{i};
@@ -1 +0,0 @@
1
- import{d as r}from"./index-4fb5e31d.js";import{r as e}from"./index-2f88ed05.js";function o(o){return e(1,arguments),r(o,Date.now())}export{o as i};
@@ -1 +0,0 @@
1
- import{t as r}from"./index-fdacf967.js";import{b as f}from"./index-4fb5e31d.js";import{r as n}from"./index-2f88ed05.js";function o(o,s){n(2,arguments);var t=r(s);return f(o,12*t)}function s(f,s){return n(2,arguments),o(f,-r(s))}export{o as a,s};
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { ImageSizes } from "../image/index";
4
- type Props = {
5
- fallback?: React.ReactNode;
6
- className?: string;
7
- src: string;
8
- originalSize?: boolean;
9
- resolution: ImageSizes;
10
- orientation?: 'vertical' | 'horizontal' | 'square';
11
- };
12
- declare const PureImage: React.FC<Props>;
13
- export { PureImage };
@@ -1 +0,0 @@
1
- import e from"react";import o from"classnames";import{Skeleton as a}from"../skeleton/component.js";import{useImageState as t}from"./use-image-state.js";var i={component:"index-module_component__EAYO4",absolute:"index-module_absolute__VmIe2",image:"index-module_image__Yvm-2",skeleton:"index-module_skeleton__MmPl2",ratio:"index-module_ratio__yDEc6",hidden:"index-module_hidden__G4uf3",vertical:"index-module_vertical__vqEcn",horizontal:"index-module_horizontal__e86Nw",square:"index-module_square__wuf2-"},l=function(l){var n,m,r=l.src,s=l.resolution,d=l.fallback,c=l.className,_=l.originalSize,u=l.orientation,v=void 0===u?"vertical":u,g=t({src:r,resolution:s,width:200}),h=g.state,x=g.imageSrc,p=g.height;return e.createElement(a,{className:i.skeleton,visible:"loading"===h},e.createElement("div",{className:o([c,i.component])},e.createElement("div",{className:o([i.ratio,i[v],(n={},n[i.hidden]=_&&"loaded"===h,n)])}),e.createElement("section",{className:o((m={},m[i.absolute]=!_,m))},"error"===h&&d,"loaded"===h&&e.createElement("div",{className:i.image,style:{backgroundImage:"url("+x+")",height:_?p:"100%"}}))))};export{l as PureImage};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1 +0,0 @@
1
- export{PureImage}from"./component.js";import"react";import"classnames";import"../skeleton/component.js";import"./use-image-state.js";
@@ -1,12 +0,0 @@
1
- import { ImageSizes } from "../image/index";
2
- type Props = {
3
- src: string;
4
- resolution: ImageSizes;
5
- width: number;
6
- };
7
- declare const useImageState: ({ src, resolution, width }: Props) => {
8
- state: "error" | "loading" | "loaded";
9
- imageSrc: string;
10
- height: number;
11
- };
12
- export { useImageState };
@@ -1 +0,0 @@
1
- import e,{useRef as r,useMemo as t,useEffect as n}from"react";var o=function(o){var i=o.src,a=o.resolution,c=o.width,u=e.useState("loading"),s=u[0],d=u[1],f=e.useState(0),g=f[0],l=f[1],h=r(0),w=t((function(){return a&&i.includes("_1200x800")?i.replace(new RegExp("_1200x800","g"),a):i}),[a,i]);return n((function(){if(w){h.current=Date.now(),d("loading");var e=new Image;e.src=w,e.onload=function(){d("loaded"),l(c/(e.width/e.height))},e.onerror=function(){Date.now()-h.current<1e4?setTimeout((function(){e.src=w}),1e3):d("error")}}else d("error")}),[w,c]),{state:s,imageSrc:w,height:g}};export{o as useImageState};
@@ -1,2 +0,0 @@
1
- declare const getCharsFromText: (textFromProps?: string) => string;
2
- export { getCharsFromText };
@@ -1 +0,0 @@
1
- var t=function(t){void 0===t&&(t="");var n=t.split(" ");return n[0].length<2?"AA":n.length>=2?n[0][0]+n[1][0]:n[0][0]+n[0][1]};export{t as getCharsFromText};
@@ -1 +0,0 @@
1
- import e,{useRef as t,useMemo as n,useEffect as o}from"react";import{P as i,a as _}from"./PhotoS-47ae71fb.js";import r from"classnames";import{Spinner as d}from"./spinner/component.js";import{Typography as m}from"./typography/component.js";import{sizes as l,textSizes as a}from"./image/types.js";import{getSrc as x,getCharsFromText as s}from"./image/utils.js";var u={container:"index-module_container__bgmJ2",component:"index-module_component__Jf39Y",addon:"index-module_addon__fLNNt",default:"index-module_default__7yCk8",primary:"index-module_primary__NmfOf","primary-inverted":"index-module_primary-inverted__LgfAy",secondary:"index-module_secondary__mFC44","secondary-inverted":"index-module_secondary-inverted__A3WWS",positive:"index-module_positive__KObTG",negative:"index-module_negative__JSntK",attention:"index-module_attention__xn0w7",accent:"index-module_accent__OKgO0",broken:"index-module_broken__U-IUD",image:"index-module_image__m6QQ3",hint:"index-module_hint__U93qq",hint_text:"index-module_hint_text__iACDk",textContent:"index-module_textContent__zwpfH",xs:"index-module_xs__WMoNb",s:"index-module_s__Hg5M9",m:"index-module_m__C8KqW",l:"index-module_l__bAVTF",xl:"index-module_xl__4V4rQ",xxl:"index-module_xxl__CbPtC",circle:"index-module_circle__a7zSR",ellipse:"index-module_ellipse__omc91",defs:"index-module_defs__-U1g-",textS:"index-module_textS__rn-Mq",textXs:"index-module_textXs__qpkPR",textM:"index-module_textM__mXb7s",textL:"index-module_textL__jV-69"},c=function(c){var p=c.src,f=void 0===p?"":p,g=c.resolution,v=c.size,y=c.alt,b=c.text,w=c.icon,C=e.useState("loading"),h=C[0],N=C[1],k=t(0),S=g||l[v],j=n((function(){return x(f,S)}),[S,f]);return o((function(){if(j){k.current=Date.now(),N("loading");var e=new Image;e.src=j,e.onload=function(){N("loaded")},e.onerror=function(){Date.now()-k.current<15e3?setTimeout((function(){e.src=j}),1e3):N("error")}}else N("error")}),[j]),w||("loading"===h?e.createElement(d,{className:u.spinner,size:"s",view:"dark"}):"error"===h&&b?e.createElement(m.Text,{className:r(u.textContent,u[a[v]]),view:"component",color:"tertiary",weight:"bold"},s(b.toUpperCase())):"error"===h?e.createElement(m.Text,{className:u.broken,tag:"div",color:"tertiary",view:"component",weight:"bold"},"xs"===v?e.createElement(i,null):e.createElement(_,null)):e.createElement("img",{className:u.image,src:f,alt:y}))};export{u as s,c as u};
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes