@alphakits/ui 1.30.40 → 1.30.41

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 (693) hide show
  1. package/dist/__internal/utils/clear-text.d.ts +2 -0
  2. package/dist/__internal/utils/clear-text.js +1 -0
  3. package/dist/__internal/utils/getDataTestId.d.ts +2 -0
  4. package/dist/__internal/utils/getDataTestId.js +1 -0
  5. package/dist/__internal/utils/index.d.ts +2 -0
  6. package/dist/__internal/utils/index.js +1 -0
  7. package/dist/amount/component.d.ts +22 -0
  8. package/dist/amount/component.js +1 -0
  9. package/dist/amount/index.d.ts +1 -0
  10. package/dist/amount/index.js +1 -0
  11. package/dist/amount-input/component.d.ts +34 -0
  12. package/dist/amount-input/component.js +1 -0
  13. package/dist/amount-input/index.d.ts +1 -0
  14. package/dist/amount-input/index.js +1 -0
  15. package/dist/amount-input/utils/index.d.ts +3 -0
  16. package/dist/amount-input/utils/index.js +1 -0
  17. package/dist/avatar/component.d.ts +10 -0
  18. package/dist/avatar/component.js +1 -0
  19. package/dist/avatar/index.d.ts +1 -0
  20. package/dist/avatar/index.js +1 -0
  21. package/dist/back-button/component.d.ts +9 -0
  22. package/dist/back-button/component.js +1 -0
  23. package/dist/back-button/index.d.ts +1 -0
  24. package/dist/back-button/index.js +1 -0
  25. package/dist/badge/component.d.ts +14 -0
  26. package/dist/badge/component.js +1 -0
  27. package/dist/badge/index.d.ts +1 -0
  28. package/dist/badge/index.js +1 -0
  29. package/dist/base-card/component.d.ts +23 -0
  30. package/dist/base-card/component.js +1 -0
  31. package/dist/base-card/index.d.ts +1 -0
  32. package/dist/base-card/index.js +1 -0
  33. package/dist/bottom-sheet/component.d.ts +11 -0
  34. package/dist/bottom-sheet/component.js +1 -0
  35. package/dist/bottom-sheet/index.d.ts +1 -0
  36. package/dist/bottom-sheet/index.js +1 -0
  37. package/dist/box/component.d.ts +34 -0
  38. package/dist/box/component.js +1 -0
  39. package/dist/box/index.d.ts +1 -0
  40. package/dist/box/index.js +1 -0
  41. package/dist/button/component.d.ts +21 -0
  42. package/dist/button/component.js +1 -0
  43. package/dist/button/index.d.ts +1 -0
  44. package/dist/button/index.js +1 -0
  45. package/dist/button-arrow/component.d.ts +12 -0
  46. package/dist/button-arrow/component.js +1 -0
  47. package/dist/button-arrow/index.d.ts +1 -0
  48. package/dist/button-arrow/index.js +1 -0
  49. package/dist/calendar/component.d.ts +26 -0
  50. package/dist/calendar/component.js +1 -0
  51. package/dist/calendar/components/days-table/component.d.ts +15 -0
  52. package/dist/calendar/components/days-table/component.js +1 -0
  53. package/dist/calendar/components/days-table/index.d.ts +1 -0
  54. package/dist/calendar/components/days-table/index.js +1 -0
  55. package/dist/calendar/components/header/index.d.ts +1 -0
  56. package/dist/calendar/components/header/index.js +1 -0
  57. package/dist/calendar/components/header//321/201omponent.d.ts +17 -0
  58. package/dist/calendar/components/header//321/201omponent.js +1 -0
  59. package/dist/calendar/components/months-table/index.d.ts +1 -0
  60. package/dist/calendar/components/months-table/index.js +1 -0
  61. package/dist/calendar/components/months-table//321/201omponent.d.ts +11 -0
  62. package/dist/calendar/components/months-table//321/201omponent.js +1 -0
  63. package/dist/calendar/components/select-button/index.d.ts +1 -0
  64. package/dist/calendar/components/select-button/index.js +1 -0
  65. package/dist/calendar/components/select-button//321/201omponent.d.ts +12 -0
  66. package/dist/calendar/components/select-button//321/201omponent.js +1 -0
  67. package/dist/calendar/components/years-table/index.d.ts +1 -0
  68. package/dist/calendar/components/years-table/index.js +1 -0
  69. package/dist/calendar/components/years-table//321/201omponent.d.ts +9 -0
  70. package/dist/calendar/components/years-table//321/201omponent.js +1 -0
  71. package/dist/calendar/index.d.ts +4 -0
  72. package/dist/calendar/index.js +1 -0
  73. package/dist/calendar/typings.d.ts +16 -0
  74. package/dist/calendar/typings.js +1 -0
  75. package/dist/calendar/use-calendar.d.ts +57 -0
  76. package/dist/calendar/use-calendar.js +1 -0
  77. package/dist/calendar/use-period.d.ts +14 -0
  78. package/dist/calendar/use-period.js +1 -0
  79. package/dist/calendar/utils.d.ts +40 -0
  80. package/dist/calendar/utils.js +1 -0
  81. package/dist/calendar-input/component.d.ts +58 -0
  82. package/dist/calendar-input/component.js +1 -0
  83. package/dist/calendar-input/index.d.ts +2 -0
  84. package/dist/calendar-input/index.js +1 -0
  85. package/dist/calendar-input/utils.d.ts +9 -0
  86. package/dist/calendar-input/utils.js +1 -0
  87. package/dist/capitalize-5641648c.js +1 -0
  88. package/dist/capitalize-793a021f.js +1 -0
  89. package/dist/capitalize-82651f06.js +1 -0
  90. package/dist/card/component.d.ts +14 -0
  91. package/dist/card/component.js +1 -0
  92. package/dist/card/images/index.d.ts +5 -0
  93. package/dist/card/images/index.js +1 -0
  94. package/dist/card/index.d.ts +1 -0
  95. package/dist/card/index.js +1 -0
  96. package/dist/cell/base/component.d.ts +13 -0
  97. package/dist/cell/base/component.js +1 -0
  98. package/dist/cell/component.d.ts +7 -0
  99. package/dist/cell/component.js +1 -0
  100. package/dist/cell/index.d.ts +1 -0
  101. package/dist/cell/index.js +1 -0
  102. package/dist/cell/pure/component.d.ts +15 -0
  103. package/dist/cell/pure/component.js +1 -0
  104. package/dist/cell/pure/index.d.ts +1 -0
  105. package/dist/cell/pure/index.js +1 -0
  106. package/dist/checkbox/component.d.ts +36 -0
  107. package/dist/checkbox/component.js +1 -0
  108. package/dist/checkbox/index.d.ts +1 -0
  109. package/dist/checkbox/index.js +1 -0
  110. package/dist/checkbox-group/component.d.ts +18 -0
  111. package/dist/checkbox-group/component.js +1 -0
  112. package/dist/checkbox-group/index.d.ts +1 -0
  113. package/dist/checkbox-group/index.js +1 -0
  114. package/dist/checkbox-lists/component.d.ts +21 -0
  115. package/dist/checkbox-lists/component.js +1 -0
  116. package/dist/checkbox-lists/index.d.ts +1 -0
  117. package/dist/checkbox-lists/index.js +1 -0
  118. package/dist/checkbox-lists/mock.d.ts +82 -0
  119. package/dist/checkbox-lists/mock.js +1 -0
  120. package/dist/collapsable-row/addons.d.ts +7 -0
  121. package/dist/collapsable-row/addons.js +1 -0
  122. package/dist/collapsable-row/component.d.ts +12 -0
  123. package/dist/collapsable-row/component.js +1 -0
  124. package/dist/collapsable-row/fixtures.d.ts +100 -0
  125. package/dist/collapsable-row/fixtures.js +1 -0
  126. package/dist/collapsable-row/index.d.ts +1 -0
  127. package/dist/collapsable-row/index.js +1 -0
  128. package/dist/collapse/component.d.ts +19 -0
  129. package/dist/collapse/component.js +1 -0
  130. package/dist/collapse/index.d.ts +1 -0
  131. package/dist/collapse/index.js +1 -0
  132. package/dist/colors.module-0a87300c.js +1 -0
  133. package/dist/colors.module-b5542873.js +1 -0
  134. package/dist/colors.module-d85b9d6a.js +1 -0
  135. package/dist/contact-block-a0a54599.d.ts +8 -0
  136. package/dist/contact-block-a0a54599.js +1 -0
  137. package/dist/contact-block-eab3e509.d.ts +8 -0
  138. package/dist/contact-block-eab3e509.js +1 -0
  139. package/dist/contact-block-f0725ce7.d.ts +8 -0
  140. package/dist/contact-block-f0725ce7.js +1 -0
  141. package/dist/copy-button/component.d.ts +9 -0
  142. package/dist/copy-button/component.js +1 -0
  143. package/dist/copy-button/index.d.ts +1 -0
  144. package/dist/copy-button/index.js +1 -0
  145. package/dist/date/component.d.ts +13 -0
  146. package/dist/date/component.js +1 -0
  147. package/dist/date/index.d.ts +1 -0
  148. package/dist/date/index.js +1 -0
  149. package/dist/date-switcher/component.d.ts +11 -0
  150. package/dist/date-switcher/component.js +1 -0
  151. package/dist/date-switcher/index.d.ts +1 -0
  152. package/dist/date-switcher/index.js +1 -0
  153. package/dist/decorated-item/component.d.ts +13 -0
  154. package/dist/decorated-item/component.js +1 -0
  155. package/dist/decorated-item/index.d.ts +1 -0
  156. package/dist/decorated-item/index.js +1 -0
  157. package/dist/divider/component.d.ts +10 -0
  158. package/dist/divider/component.js +1 -0
  159. package/dist/divider/index.d.ts +1 -0
  160. package/dist/divider/index.js +1 -0
  161. package/dist/dot/component.d.ts +7 -0
  162. package/dist/dot/component.js +1 -0
  163. package/dist/dot/index.d.ts +1 -0
  164. package/dist/dot/index.js +1 -0
  165. package/dist/empty-page/component.d.ts +14 -0
  166. package/dist/empty-page/component.js +1 -0
  167. package/dist/empty-page/index.d.ts +1 -0
  168. package/dist/empty-page/index.js +1 -0
  169. package/dist/flex/component.d.ts +24 -0
  170. package/dist/flex/component.js +1 -0
  171. package/dist/flex/index.d.ts +1 -0
  172. package/dist/flex/index.js +1 -0
  173. package/dist/flex-columns/component.d.ts +11 -0
  174. package/dist/flex-columns/component.js +1 -0
  175. package/dist/flex-columns/index.d.ts +1 -0
  176. package/dist/flex-columns/index.js +1 -0
  177. package/dist/footer/component.d.ts +27 -0
  178. package/dist/footer/component.js +1 -0
  179. package/dist/footer/contact-block.d.ts +0 -0
  180. package/dist/footer/contact-block.js +1 -0
  181. package/dist/footer/index.d.ts +1 -0
  182. package/dist/footer/index.js +1 -0
  183. package/dist/form/component.d.ts +3 -0
  184. package/dist/form/component.js +1 -0
  185. package/dist/form/components/form-loading/index.d.ts +4 -0
  186. package/dist/form/components/form-loading/index.js +1 -0
  187. package/dist/form/index.d.ts +1 -0
  188. package/dist/form/index.js +1 -0
  189. package/dist/form/templates/base-form/index.d.ts +17 -0
  190. package/dist/form/templates/base-form/index.js +1 -0
  191. package/dist/form/templates/filters-form/index.d.ts +15 -0
  192. package/dist/form/templates/filters-form/index.js +1 -0
  193. package/dist/form/templates/rest-form/form.d.ts +6 -0
  194. package/dist/form/templates/rest-form/form.js +1 -0
  195. package/dist/form/templates/rest-form/index.d.ts +31 -0
  196. package/dist/form/templates/rest-form/index.js +1 -0
  197. package/dist/form/utils/get-default-values.d.ts +2 -0
  198. package/dist/form/utils/get-default-values.js +1 -0
  199. package/dist/form/utils/remove-undefined-from-object.d.ts +4 -0
  200. package/dist/form/utils/remove-undefined-from-object.js +1 -0
  201. package/dist/form-control/component.d.ts +44 -0
  202. package/dist/form-control/component.js +1 -0
  203. package/dist/form-control/index.d.ts +1 -0
  204. package/dist/form-control/index.js +1 -0
  205. package/dist/grid/col/component.d.ts +16 -0
  206. package/dist/grid/col/component.js +1 -0
  207. package/dist/grid/col/index.d.ts +1 -0
  208. package/dist/grid/col/index.js +1 -0
  209. package/dist/grid/component.d.ts +8 -0
  210. package/dist/grid/component.js +1 -0
  211. package/dist/grid/index.d.ts +1 -0
  212. package/dist/grid/index.js +1 -0
  213. package/dist/grid/row/component.d.ts +14 -0
  214. package/dist/grid/row/component.js +1 -0
  215. package/dist/grid/row/index.d.ts +1 -0
  216. package/dist/grid/row/index.js +1 -0
  217. package/dist/grid/typings.d.ts +16 -0
  218. package/dist/grid/typings.js +1 -0
  219. package/dist/grid/utils/index.d.ts +3 -0
  220. package/dist/grid/utils/index.js +1 -0
  221. package/dist/gutters.module-32eb58ab.js +1 -0
  222. package/dist/gutters.module-7a7bfb3c.js +1 -0
  223. package/dist/gutters.module-8ce66afd.js +1 -0
  224. package/dist/header-search/component.d.ts +10 -0
  225. package/dist/header-search/component.js +1 -0
  226. package/dist/header-search/index.d.ts +1 -0
  227. package/dist/header-search/index.js +1 -0
  228. package/dist/hooks/index.d.ts +5 -0
  229. package/dist/hooks/index.js +1 -0
  230. package/dist/hooks/use-crud-form-requests/index.d.ts +17 -0
  231. package/dist/hooks/use-crud-form-requests/index.js +1 -0
  232. package/dist/hooks/use-get-one/index.d.ts +8 -0
  233. package/dist/hooks/use-get-one/index.js +1 -0
  234. package/dist/hooks/useClickOutside/index.d.ts +4 -0
  235. package/dist/hooks/useClickOutside/index.js +1 -0
  236. package/dist/hooks/useFocus/index.d.ts +5 -0
  237. package/dist/hooks/useFocus/index.js +1 -0
  238. package/dist/hooks/usePrevious/index.d.ts +2 -0
  239. package/dist/hooks/usePrevious/index.js +1 -0
  240. package/dist/icon-button/component.d.ts +20 -0
  241. package/dist/icon-button/component.js +1 -0
  242. package/dist/icon-button/index.d.ts +1 -0
  243. package/dist/icon-button/index.js +1 -0
  244. package/dist/image/component.d.ts +5 -0
  245. package/dist/image/component.js +1 -0
  246. package/dist/image/image-base.d.ts +6 -0
  247. package/dist/image/image-base.js +1 -0
  248. package/dist/image/index.d.ts +2 -0
  249. package/dist/image/index.js +1 -0
  250. package/dist/image/types.d.ts +27 -0
  251. package/dist/image/types.js +1 -0
  252. package/dist/image/use-image-render-component.d.ts +0 -0
  253. package/dist/image/use-image-render-component.js +1 -0
  254. package/dist/image/utils.d.ts +2 -0
  255. package/dist/image/utils.js +1 -0
  256. package/dist/image-gallery/component.d.ts +11 -0
  257. package/dist/image-gallery/component.js +1 -0
  258. package/dist/image-gallery/index.d.ts +1 -0
  259. package/dist/image-gallery/index.js +1 -0
  260. package/dist/image-uploader/component.d.ts +25 -0
  261. package/dist/image-uploader/component.js +1 -0
  262. package/dist/image-uploader/index.d.ts +1 -0
  263. package/dist/image-uploader/index.js +1 -0
  264. package/dist/index.css +1 -0
  265. package/dist/index.ts +93 -0
  266. package/dist/info-block-header/component.d.ts +8 -0
  267. package/dist/info-block-header/component.js +1 -0
  268. package/dist/info-block-header/index.d.ts +1 -0
  269. package/dist/info-block-header/index.js +1 -0
  270. package/dist/info-block-item/component.d.ts +12 -0
  271. package/dist/info-block-item/component.js +1 -0
  272. package/dist/info-block-item/index.d.ts +1 -0
  273. package/dist/info-block-item/index.js +1 -0
  274. package/dist/info-block-wrapper/component.d.ts +8 -0
  275. package/dist/info-block-wrapper/component.js +1 -0
  276. package/dist/info-block-wrapper/index.d.ts +1 -0
  277. package/dist/info-block-wrapper/index.js +1 -0
  278. package/dist/input/component.d.ts +68 -0
  279. package/dist/input/component.js +1 -0
  280. package/dist/input/index.d.ts +1 -0
  281. package/dist/input/index.js +1 -0
  282. package/dist/input-autocomplete/autocomplete-field/index.d.ts +6 -0
  283. package/dist/input-autocomplete/autocomplete-field/index.js +1 -0
  284. package/dist/input-autocomplete/component.d.ts +86 -0
  285. package/dist/input-autocomplete/component.js +1 -0
  286. package/dist/input-autocomplete/index.d.ts +1 -0
  287. package/dist/input-autocomplete/index.js +1 -0
  288. package/dist/input-ghost/component.d.ts +12 -0
  289. package/dist/input-ghost/component.js +1 -0
  290. package/dist/input-ghost/index.d.ts +1 -0
  291. package/dist/input-ghost/index.js +1 -0
  292. package/dist/isSymbol-003f5bed.js +1 -0
  293. package/dist/isSymbol-c6bca7d4.js +1 -0
  294. package/dist/isSymbol-d1845925.js +1 -0
  295. package/dist/link/component.d.ts +29 -0
  296. package/dist/link/component.js +1 -0
  297. package/dist/link/index.d.ts +1 -0
  298. package/dist/link/index.js +1 -0
  299. package/dist/list-allert/component.d.ts +10 -0
  300. package/dist/list-allert/component.js +1 -0
  301. package/dist/list-allert/index.d.ts +1 -0
  302. package/dist/list-allert/index.js +1 -0
  303. package/dist/loader/component.d.ts +8 -0
  304. package/dist/loader/component.js +1 -0
  305. package/dist/loader/index.d.ts +1 -0
  306. package/dist/loader/index.js +1 -0
  307. package/dist/masked-input/component.d.ts +45 -0
  308. package/dist/masked-input/component.js +1 -0
  309. package/dist/masked-input/index.d.ts +1 -0
  310. package/dist/masked-input/index.js +1 -0
  311. package/dist/menu/component.d.ts +25 -0
  312. package/dist/menu/component.js +1 -0
  313. package/dist/menu/components/content-header/index.d.ts +8 -0
  314. package/dist/menu/components/content-header/index.js +1 -0
  315. package/dist/menu/components/index.d.ts +5 -0
  316. package/dist/menu/components/index.js +1 -0
  317. package/dist/menu/components/menu-avatar/index.d.ts +10 -0
  318. package/dist/menu/components/menu-avatar/index.js +1 -0
  319. package/dist/menu/components/menu-back-button/index.d.ts +8 -0
  320. package/dist/menu/components/menu-back-button/index.js +1 -0
  321. package/dist/menu/components/menu-button/index.d.ts +13 -0
  322. package/dist/menu/components/menu-button/index.js +1 -0
  323. package/dist/menu/components/menu-buttons-list/index.d.ts +13 -0
  324. package/dist/menu/components/menu-buttons-list/index.js +1 -0
  325. package/dist/menu/components/user-button/index.d.ts +10 -0
  326. package/dist/menu/components/user-button/index.js +1 -0
  327. package/dist/menu/hooks/use-menu.d.ts +8 -0
  328. package/dist/menu/hooks/use-menu.js +1 -0
  329. package/dist/menu/index.d.ts +1 -0
  330. package/dist/menu/index.js +1 -0
  331. package/dist/message/component.d.ts +16 -0
  332. package/dist/message/component.js +1 -0
  333. package/dist/message/index.d.ts +1 -0
  334. package/dist/message/index.js +1 -0
  335. package/dist/modal/components/modals/index.d.ts +9 -0
  336. package/dist/modal/components/modals/index.js +1 -0
  337. package/dist/modal/components/modals/modal.d.ts +10 -0
  338. package/dist/modal/components/modals/modal.js +1 -0
  339. package/dist/modal/context.d.ts +10 -0
  340. package/dist/modal/context.js +1 -0
  341. package/dist/modal/hooks/use-modal.d.ts +12 -0
  342. package/dist/modal/hooks/use-modal.js +1 -0
  343. package/dist/modal/index.d.ts +2 -0
  344. package/dist/modal/index.js +1 -0
  345. package/dist/modal/types.d.ts +27 -0
  346. package/dist/modal/types.js +1 -0
  347. package/dist/modal/utils/delete-property-by-id.d.ts +4 -0
  348. package/dist/modal/utils/delete-property-by-id.js +1 -0
  349. package/dist/modal/utils/is-last.d.ts +2 -0
  350. package/dist/modal/utils/is-last.js +1 -0
  351. package/dist/mq/component.d.ts +11 -0
  352. package/dist/mq/component.js +1 -0
  353. package/dist/mq/index.d.ts +2 -0
  354. package/dist/mq/index.js +1 -0
  355. package/dist/mq/use-match-media.d.ts +2 -0
  356. package/dist/mq/use-match-media.js +1 -0
  357. package/dist/mq/utils.d.ts +5 -0
  358. package/dist/mq/utils.js +1 -0
  359. package/dist/notification/component.d.ts +35 -0
  360. package/dist/notification/component.js +1 -0
  361. package/dist/notification/index.d.ts +1 -0
  362. package/dist/notification/index.js +1 -0
  363. package/dist/notification/utils/index.d.ts +4 -0
  364. package/dist/notification/utils/index.js +1 -0
  365. package/dist/padding/component.d.ts +9 -0
  366. package/dist/padding/component.js +1 -0
  367. package/dist/padding/index.d.ts +1 -0
  368. package/dist/padding/index.js +1 -0
  369. package/dist/page-container/component.d.ts +15 -0
  370. package/dist/page-container/component.js +1 -0
  371. package/dist/page-container/index.d.ts +1 -0
  372. package/dist/page-container/index.js +1 -0
  373. package/dist/page-loading/component.d.ts +3 -0
  374. package/dist/page-loading/component.js +1 -0
  375. package/dist/page-loading/index.d.ts +1 -0
  376. package/dist/page-loading/index.js +1 -0
  377. package/dist/page-with-controls/component.d.ts +24 -0
  378. package/dist/page-with-controls/component.js +1 -0
  379. package/dist/page-with-controls/index.d.ts +1 -0
  380. package/dist/page-with-controls/index.js +1 -0
  381. package/dist/picker-button/common/index.d.ts +1 -0
  382. package/dist/picker-button/common/index.js +1 -0
  383. package/dist/picker-button/common/labeled-button/index.d.ts +12 -0
  384. package/dist/picker-button/common/labeled-button/index.js +1 -0
  385. package/dist/picker-button/component.d.ts +16 -0
  386. package/dist/picker-button/component.js +1 -0
  387. package/dist/picker-button/field/Component.d.ts +11 -0
  388. package/dist/picker-button/field/Component.js +1 -0
  389. package/dist/picker-button/field/index.d.ts +1 -0
  390. package/dist/picker-button/field/index.js +1 -0
  391. package/dist/picker-button/index.d.ts +2 -0
  392. package/dist/picker-button/index.js +1 -0
  393. package/dist/popover/component.d.ts +28 -0
  394. package/dist/popover/component.js +1 -0
  395. package/dist/popover/index.d.ts +1 -0
  396. package/dist/popover/index.js +1 -0
  397. package/dist/portal/component.d.ts +7 -0
  398. package/dist/portal/component.js +1 -0
  399. package/dist/portal/index.d.ts +1 -0
  400. package/dist/portal/index.js +1 -0
  401. package/dist/portal/utils.d.ts +5 -0
  402. package/dist/portal/utils.js +1 -0
  403. package/dist/progress-bar/component.d.ts +11 -0
  404. package/dist/progress-bar/component.js +1 -0
  405. package/dist/progress-bar/index.d.ts +1 -0
  406. package/dist/progress-bar/index.js +1 -0
  407. package/dist/progress-index/component.d.ts +11 -0
  408. package/dist/progress-index/component.js +1 -0
  409. package/dist/progress-index/index.d.ts +1 -0
  410. package/dist/progress-index/index.js +1 -0
  411. package/dist/radio/component.d.ts +40 -0
  412. package/dist/radio/component.js +1 -0
  413. package/dist/radio/index.d.ts +1 -0
  414. package/dist/radio/index.js +1 -0
  415. package/dist/radio-group/component.d.ts +18 -0
  416. package/dist/radio-group/component.js +1 -0
  417. package/dist/radio-group/index.d.ts +1 -0
  418. package/dist/radio-group/index.js +1 -0
  419. package/dist/radio-groups/component.d.ts +19 -0
  420. package/dist/radio-groups/component.js +1 -0
  421. package/dist/radio-groups/index.d.ts +1 -0
  422. package/dist/radio-groups/index.js +1 -0
  423. package/dist/radio-groups/mock.d.ts +10 -0
  424. package/dist/radio-groups/mock.js +1 -0
  425. package/dist/section-wrapper/component.d.ts +12 -0
  426. package/dist/section-wrapper/component.js +1 -0
  427. package/dist/section-wrapper/index.d.ts +1 -0
  428. package/dist/section-wrapper/index.js +1 -0
  429. package/dist/select/component.d.ts +32 -0
  430. package/dist/select/component.js +1 -0
  431. package/dist/select/components/arrow/component.d.ts +4 -0
  432. package/dist/select/components/arrow/component.js +1 -0
  433. package/dist/select/components/arrow/index.d.ts +1 -0
  434. package/dist/select/components/arrow/index.js +1 -0
  435. package/dist/select/components/base-select/component.d.ts +5 -0
  436. package/dist/select/components/base-select/component.js +1 -0
  437. package/dist/select/components/base-select/index.d.ts +1 -0
  438. package/dist/select/components/base-select/index.js +1 -0
  439. package/dist/select/components/checkmark/component.d.ts +4 -0
  440. package/dist/select/components/checkmark/component.js +1 -0
  441. package/dist/select/components/checkmark/index.d.ts +1 -0
  442. package/dist/select/components/checkmark/index.js +1 -0
  443. package/dist/select/components/field/component.d.ts +5 -0
  444. package/dist/select/components/field/component.js +1 -0
  445. package/dist/select/components/field/index.d.ts +1 -0
  446. package/dist/select/components/field/index.js +1 -0
  447. package/dist/select/components/index.d.ts +7 -0
  448. package/dist/select/components/index.js +1 -0
  449. package/dist/select/components/native-select/component.d.ts +13 -0
  450. package/dist/select/components/native-select/component.js +1 -0
  451. package/dist/select/components/native-select/index.d.ts +1 -0
  452. package/dist/select/components/native-select/index.js +1 -0
  453. package/dist/select/components/optgroup/component.d.ts +4 -0
  454. package/dist/select/components/optgroup/component.js +1 -0
  455. package/dist/select/components/optgroup/index.d.ts +1 -0
  456. package/dist/select/components/optgroup/index.js +1 -0
  457. package/dist/select/components/option/component.d.ts +4 -0
  458. package/dist/select/components/option/component.js +1 -0
  459. package/dist/select/components/option/index.d.ts +1 -0
  460. package/dist/select/components/option/index.js +1 -0
  461. package/dist/select/components/options-list/component.d.ts +5 -0
  462. package/dist/select/components/options-list/component.js +1 -0
  463. package/dist/select/components/options-list/index.d.ts +1 -0
  464. package/dist/select/components/options-list/index.js +1 -0
  465. package/dist/select/components/select-search/index.d.ts +11 -0
  466. package/dist/select/components/select-search/index.js +1 -0
  467. package/dist/select/components/virtual-options-list/component.d.ts +7 -0
  468. package/dist/select/components/virtual-options-list/component.js +1 -0
  469. package/dist/select/components/virtual-options-list/index.d.ts +1 -0
  470. package/dist/select/components/virtual-options-list/index.js +1 -0
  471. package/dist/select/index.d.ts +5 -0
  472. package/dist/select/index.js +1 -0
  473. package/dist/select/presets/index.d.ts +2 -0
  474. package/dist/select/presets/index.js +1 -0
  475. package/dist/select/presets/use-lazy-loading/index.d.ts +45 -0
  476. package/dist/select/presets/use-lazy-loading/index.js +1 -0
  477. package/dist/select/presets/use-select-with-loading/hook.d.ts +11 -0
  478. package/dist/select/presets/use-select-with-loading/hook.js +1 -0
  479. package/dist/select/typings.d.ts +159 -0
  480. package/dist/select/typings.js +1 -0
  481. package/dist/select/utils.d.ts +34 -0
  482. package/dist/select/utils.js +1 -0
  483. package/dist/sidepanel/component.d.ts +24 -0
  484. package/dist/sidepanel/component.js +1 -0
  485. package/dist/sidepanel/index.d.ts +1 -0
  486. package/dist/sidepanel/index.js +1 -0
  487. package/dist/sidepanel-header/component.d.ts +21 -0
  488. package/dist/sidepanel-header/component.js +1 -0
  489. package/dist/sidepanel-header/index.d.ts +1 -0
  490. package/dist/sidepanel-header/index.js +1 -0
  491. package/dist/skeleton/component.d.ts +11 -0
  492. package/dist/skeleton/component.js +1 -0
  493. package/dist/skeleton/index.d.ts +1 -0
  494. package/dist/skeleton/index.js +1 -0
  495. package/dist/space/Item.d.ts +16 -0
  496. package/dist/space/Item.js +1 -0
  497. package/dist/space/component.d.ts +17 -0
  498. package/dist/space/component.js +1 -0
  499. package/dist/space/index.d.ts +1 -0
  500. package/dist/space/index.js +1 -0
  501. package/dist/space/utils.d.ts +11 -0
  502. package/dist/space/utils.js +1 -0
  503. package/dist/spinner/component.d.ts +11 -0
  504. package/dist/spinner/component.js +1 -0
  505. package/dist/spinner/index.d.ts +1 -0
  506. package/dist/spinner/index.js +1 -0
  507. package/dist/stack/component.d.ts +7 -0
  508. package/dist/stack/component.js +1 -0
  509. package/dist/stack/context.d.ts +10 -0
  510. package/dist/stack/context.js +1 -0
  511. package/dist/stack/index.d.ts +2 -0
  512. package/dist/stack/index.js +1 -0
  513. package/dist/status/component.d.ts +11 -0
  514. package/dist/status/component.js +1 -0
  515. package/dist/status/index.d.ts +1 -0
  516. package/dist/status/index.js +1 -0
  517. package/dist/step-bar-49cd71d1.d.ts +8 -0
  518. package/dist/step-bar-49cd71d1.js +1 -0
  519. package/dist/step-bar-649b0c7f.d.ts +8 -0
  520. package/dist/step-bar-649b0c7f.js +1 -0
  521. package/dist/step-bar-98e9239d.d.ts +8 -0
  522. package/dist/step-bar-98e9239d.js +1 -0
  523. package/dist/stepped-progress-bar/components/step-bar.d.ts +0 -0
  524. package/dist/stepped-progress-bar/components/step-bar.js +1 -0
  525. package/dist/stepped-progress-bar/index.d.ts +23 -0
  526. package/dist/stepped-progress-bar/index.js +1 -0
  527. package/dist/sticker/component.d.ts +10 -0
  528. package/dist/sticker/component.js +1 -0
  529. package/dist/sticker/index.d.ts +1 -0
  530. package/dist/sticker/index.js +1 -0
  531. package/dist/suffix-input/component.d.ts +22 -0
  532. package/dist/suffix-input/component.js +1 -0
  533. package/dist/suffix-input/index.d.ts +1 -0
  534. package/dist/suffix-input/index.js +1 -0
  535. package/dist/super-list-header/component.d.ts +10 -0
  536. package/dist/super-list-header/component.js +1 -0
  537. package/dist/super-list-header/index.d.ts +1 -0
  538. package/dist/super-list-header/index.js +1 -0
  539. package/dist/super-list-item/component.d.ts +14 -0
  540. package/dist/super-list-item/component.js +1 -0
  541. package/dist/super-list-item/index.d.ts +1 -0
  542. package/dist/super-list-item/index.js +1 -0
  543. package/dist/switch/component.d.ts +33 -0
  544. package/dist/switch/component.js +1 -0
  545. package/dist/switch/index.d.ts +1 -0
  546. package/dist/switch/index.js +1 -0
  547. package/dist/table/columns.d.ts +7 -0
  548. package/dist/table/columns.js +1 -0
  549. package/dist/table/component.d.ts +7 -0
  550. package/dist/table/component.js +1 -0
  551. package/dist/table/components/cell/component.d.ts +18 -0
  552. package/dist/table/components/cell/component.js +1 -0
  553. package/dist/table/components/cell/index.d.ts +1 -0
  554. package/dist/table/components/cell/index.js +1 -0
  555. package/dist/table/components/cells/index.d.ts +10 -0
  556. package/dist/table/components/cells/index.js +1 -0
  557. package/dist/table/components/empty-list/index.d.ts +5 -0
  558. package/dist/table/components/empty-list/index.js +1 -0
  559. package/dist/table/components/error/index.d.ts +5 -0
  560. package/dist/table/components/error/index.js +1 -0
  561. package/dist/table/components/loading/index.d.ts +7 -0
  562. package/dist/table/components/loading/index.js +1 -0
  563. package/dist/table/components/pagination/index.d.ts +12 -0
  564. package/dist/table/components/pagination/index.js +1 -0
  565. package/dist/table/components/table-header/index.d.ts +20 -0
  566. package/dist/table/components/table-header/index.js +1 -0
  567. package/dist/table/hooks/use-table-data.d.ts +20 -0
  568. package/dist/table/hooks/use-table-data.js +1 -0
  569. package/dist/table/index.d.ts +2 -0
  570. package/dist/table/index.js +1 -0
  571. package/dist/table/languages/index.d.ts +2 -0
  572. package/dist/table/languages/index.js +1 -0
  573. package/dist/table/table.d.ts +39 -0
  574. package/dist/table/table.js +1 -0
  575. package/dist/table/types.d.ts +75 -0
  576. package/dist/table/types.js +1 -0
  577. package/dist/table/utils/add-query-param.d.ts +3 -0
  578. package/dist/table/utils/add-query-param.js +1 -0
  579. package/dist/table/utils/get-query-from-url.d.ts +3 -0
  580. package/dist/table/utils/get-query-from-url.js +1 -0
  581. package/dist/table/utils/get-tags.d.ts +10 -0
  582. package/dist/table/utils/get-tags.js +1 -0
  583. package/dist/table/utils/index.d.ts +8 -0
  584. package/dist/table/utils/index.js +1 -0
  585. package/dist/table/utils/is-object.d.ts +2 -0
  586. package/dist/table/utils/is-object.js +1 -0
  587. package/dist/table/utils/parse-query-params.d.ts +2 -0
  588. package/dist/table/utils/parse-query-params.js +1 -0
  589. package/dist/table/utils/prepare-rows.d.ts +12 -0
  590. package/dist/table/utils/prepare-rows.js +1 -0
  591. package/dist/table/utils/query-adapter.d.ts +2 -0
  592. package/dist/table/utils/query-adapter.js +1 -0
  593. package/dist/table/utils/remove-query-param.d.ts +2 -0
  594. package/dist/table/utils/remove-query-param.js +1 -0
  595. package/dist/table/utils/reset-query-param.d.ts +4 -0
  596. package/dist/table/utils/reset-query-param.js +1 -0
  597. package/dist/table/utils/serialize-data.d.ts +3 -0
  598. package/dist/table/utils/serialize-data.js +1 -0
  599. package/dist/table/utils/set-query-to-url.d.ts +2 -0
  600. package/dist/table/utils/set-query-to-url.js +1 -0
  601. package/dist/table/utils/sort-array.d.ts +2 -0
  602. package/dist/table/utils/sort-array.js +1 -0
  603. package/dist/table-status/component.d.ts +9 -0
  604. package/dist/table-status/component.js +1 -0
  605. package/dist/table-status/index.d.ts +1 -0
  606. package/dist/table-status/index.js +1 -0
  607. package/dist/tag/component.d.ts +17 -0
  608. package/dist/tag/component.js +1 -0
  609. package/dist/tag/index.d.ts +1 -0
  610. package/dist/tag/index.js +1 -0
  611. package/dist/tags-list/component.d.ts +10 -0
  612. package/dist/tags-list/component.js +1 -0
  613. package/dist/tags-list/index.d.ts +1 -0
  614. package/dist/tags-list/index.js +1 -0
  615. package/dist/textarea/component.d.ts +60 -0
  616. package/dist/textarea/component.js +1 -0
  617. package/dist/textarea/index.d.ts +1 -0
  618. package/dist/textarea/index.js +1 -0
  619. package/dist/theme-provider/component.d.ts +20 -0
  620. package/dist/theme-provider/component.js +1 -0
  621. package/dist/theme-provider/default-themes.d.ts +165 -0
  622. package/dist/theme-provider/default-themes.js +1 -0
  623. package/dist/theme-provider/index.d.ts +2 -0
  624. package/dist/theme-provider/index.js +1 -0
  625. package/dist/toast/component.d.ts +29 -0
  626. package/dist/toast/component.js +1 -0
  627. package/dist/toast/index.d.ts +1 -0
  628. package/dist/toast/index.js +1 -0
  629. package/dist/toast-notifier/component.d.ts +12 -0
  630. package/dist/toast-notifier/component.js +1 -0
  631. package/dist/toast-notifier/index.d.ts +1 -0
  632. package/dist/toast-notifier/index.js +1 -0
  633. package/dist/toast-notifier/use-timer.d.ts +7 -0
  634. package/dist/toast-notifier/use-timer.js +1 -0
  635. package/dist/toast-plate/component.d.ts +30 -0
  636. package/dist/toast-plate/component.js +1 -0
  637. package/dist/toast-plate/index.d.ts +1 -0
  638. package/dist/toast-plate/index.js +1 -0
  639. package/dist/tooltip/component.d.ts +23 -0
  640. package/dist/tooltip/component.js +1 -0
  641. package/dist/tooltip/index.d.ts +1 -0
  642. package/dist/tooltip/index.js +1 -0
  643. package/dist/typings/api.d.ts +18 -0
  644. package/dist/typings/api.js +1 -0
  645. package/dist/typography/colors.d.ts +3 -0
  646. package/dist/typography/colors.js +1 -0
  647. package/dist/typography/component.d.ts +8 -0
  648. package/dist/typography/component.js +1 -0
  649. package/dist/typography/index.d.ts +1 -0
  650. package/dist/typography/index.js +1 -0
  651. package/dist/typography/text/component.d.ts +17 -0
  652. package/dist/typography/text/component.js +1 -0
  653. package/dist/typography/text/index.d.ts +1 -0
  654. package/dist/typography/text/index.js +1 -0
  655. package/dist/typography/title/component.d.ts +22 -0
  656. package/dist/typography/title/component.js +1 -0
  657. package/dist/typography/title/index.d.ts +4 -0
  658. package/dist/typography/title/index.js +1 -0
  659. package/dist/use-image-render-component-4ee3e41d.d.ts +13 -0
  660. package/dist/use-image-render-component-4ee3e41d.js +1 -0
  661. package/dist/use-image-render-component-91f3dea9.d.ts +13 -0
  662. package/dist/use-image-render-component-91f3dea9.js +1 -0
  663. package/dist/use-image-render-component-e6256445.d.ts +13 -0
  664. package/dist/use-image-render-component-e6256445.js +1 -0
  665. package/dist/utils/data/currency-codes.d.ts +35 -0
  666. package/dist/utils/data/currency-codes.js +1 -0
  667. package/dist/utils/format-amount/util.d.ts +12 -0
  668. package/dist/utils/format-amount/util.js +1 -0
  669. package/dist/utils/format-date/index.d.ts +21 -0
  670. package/dist/utils/format-date/index.js +1 -0
  671. package/dist/utils/get-currency-symbol/util.d.ts +2 -0
  672. package/dist/utils/get-currency-symbol/util.js +1 -0
  673. package/dist/utils/get-service-error/index.d.ts +21 -0
  674. package/dist/utils/get-service-error/index.js +1 -0
  675. package/dist/utils/get-service-error/is-axios-error.d.ts +3 -0
  676. package/dist/utils/get-service-error/is-axios-error.js +1 -0
  677. package/dist/utils/get-service-error/is-network-error.d.ts +2 -0
  678. package/dist/utils/get-service-error/is-network-error.js +1 -0
  679. package/dist/utils/index.d.ts +4 -0
  680. package/dist/utils/index.js +1 -0
  681. package/dist/utils/show-toast/index.d.ts +3 -0
  682. package/dist/utils/show-toast/index.js +1 -0
  683. package/dist/utils/split-amount/util.d.ts +2 -0
  684. package/dist/utils/split-amount/util.js +1 -0
  685. package/dist/welcome-layout/component.d.ts +10 -0
  686. package/dist/welcome-layout/component.js +1 -0
  687. package/dist/welcome-layout/index.d.ts +1 -0
  688. package/dist/welcome-layout/index.js +1 -0
  689. package/dist/with-suffix/component.d.ts +44 -0
  690. package/dist/with-suffix/component.js +1 -0
  691. package/dist/with-suffix/index.d.ts +1 -0
  692. package/dist/with-suffix/index.js +1 -0
  693. package/package.json +1 -1
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ type CollapsableRowProps = {
4
+ children: React.ReactNode;
5
+ label?: string;
6
+ content?: React.ReactNode;
7
+ expanded?: boolean;
8
+ disabled?: boolean;
9
+ addons?: React.ReactNode;
10
+ };
11
+ declare const CollapsableRow: React.FC<CollapsableRowProps>;
12
+ export { CollapsableRowProps, CollapsableRow };
@@ -0,0 +1 @@
1
+ import e,{useState as o,useEffect as t}from"react";import n from"@alphakits/icons/dist/ChevronDownS";import r from"classnames";import{Collapse as m}from"../collapse/component.js";import{IconButton as i}from"../icon-button/component.js";import{Typography as s}from"../typography/component.js";import"../isSymbol-d1845925.js";import"resize-observer";import"../link/component.js";import"tslib";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../button/component.js";import"../loader/component.js";import"../typography/text/component.js";import"../colors.module-d85b9d6a.js";import"../typography/title/index.js";import"../typography/title/component.js";var a="index-module_wrapper__tyP5w",l="index-module_row__g6gnE",p="index-module_label__kuH6r",c="index-module_collapse_button__YrBPb",d="index-module_expanded_icon__AFfTh",_="index-module_collapse_container__YDAEr",u=function(u){var x,b=u.label,j=u.content,f=u.expanded,h=u.addons,y=u.children,v=u.disabled,g=o(f),E=g[0],w=g[1];return t((function(){w(f)}),[f]),e.createElement("div",null,e.createElement("div",{className:a},e.createElement("div",{className:l},b&&e.createElement(s.Text,{className:p,color:"secondary",view:"title",weight:"medium"},b),j),e.createElement("div",{className:l},h,e.createElement(i,{onClick:function(){return w(!E)},className:r(c,(x={},x[d]=E,x)),disabled:v,view:"ghost",icon:n,size:"s"}))),e.createElement(m,{contentClassName:_,expanded:E},y))};export{u as CollapsableRow};
@@ -0,0 +1,100 @@
1
+ declare const locationsWithQuestrooms: {
2
+ createdAt: string;
3
+ updatedAt: string;
4
+ id: number;
5
+ profileId: number;
6
+ deletedAt: null;
7
+ title: string;
8
+ phone: string;
9
+ address: string;
10
+ coordinates: {
11
+ type: string;
12
+ coordinates: number[];
13
+ };
14
+ cityId: number;
15
+ howToFind: string;
16
+ disinfection: string;
17
+ wifi: boolean;
18
+ wardrobe: boolean;
19
+ freeParking: boolean;
20
+ parking: boolean;
21
+ ventilation: boolean;
22
+ waitingArea: boolean;
23
+ waitingAreaSize: number;
24
+ sortPosition: number;
25
+ questroomsCount: number;
26
+ questrooms: ({
27
+ createdAt: string;
28
+ updatedAt: string;
29
+ id: number;
30
+ profileId: number;
31
+ deletedAt: null;
32
+ title: string;
33
+ slug: string;
34
+ type: string;
35
+ locationId: number;
36
+ difficult: number;
37
+ fear: number;
38
+ minAge: number;
39
+ actors: boolean;
40
+ questroomIds: never[];
41
+ languages: never[];
42
+ defaultLanguage: null;
43
+ onlinePaymentsCashbox: null;
44
+ cashPaymentsCashbox: number;
45
+ cardPaymentsCashbox: number;
46
+ awailableForNavigator: boolean;
47
+ awailableForWidgets: boolean;
48
+ breakInterval: number;
49
+ time: number;
50
+ minHoursForFreeCanceling: number;
51
+ ticketSystem: boolean;
52
+ photo: string;
53
+ video: null;
54
+ photos: string[];
55
+ legend: string;
56
+ teaser: null;
57
+ sortPosition: number;
58
+ rating: number;
59
+ playersMin: number;
60
+ playersMax: number;
61
+ tags: never[];
62
+ } | {
63
+ createdAt: string;
64
+ updatedAt: string;
65
+ id: number;
66
+ profileId: number;
67
+ deletedAt: null;
68
+ title: string;
69
+ slug: string;
70
+ type: string;
71
+ locationId: number;
72
+ difficult: number;
73
+ fear: number;
74
+ minAge: number;
75
+ actors: boolean;
76
+ questroomIds: never[];
77
+ languages: string[];
78
+ defaultLanguage: string;
79
+ onlinePaymentsCashbox: null;
80
+ cashPaymentsCashbox: number;
81
+ cardPaymentsCashbox: number;
82
+ awailableForNavigator: boolean;
83
+ awailableForWidgets: boolean;
84
+ breakInterval: number;
85
+ time: number;
86
+ minHoursForFreeCanceling: number;
87
+ ticketSystem: boolean;
88
+ photo: string;
89
+ video: null;
90
+ photos: string[];
91
+ legend: string;
92
+ teaser: null;
93
+ sortPosition: number;
94
+ rating: number;
95
+ playersMin: number;
96
+ playersMax: number;
97
+ tags: never[];
98
+ })[];
99
+ }[];
100
+ export { locationsWithQuestrooms };
@@ -0,0 +1 @@
1
+ var e=[{createdAt:"2022-02-14T09:36:56.628Z",updatedAt:"2022-02-14T09:36:56.628Z",id:1,profileId:1,deletedAt:null,title:"Location",phone:"89610370713",address:"Ulitsa Karla Marksa, 211, 36, Tambov, Tambovskaya oblast', Russland, 392020",coordinates:{type:"Point",coordinates:[52.73865,41.447576]},cityId:1,howToFind:"ooo",disinfection:"after_each_game",wifi:!0,wardrobe:!0,freeParking:!1,parking:!1,ventilation:!1,waitingArea:!1,waitingAreaSize:0,sortPosition:0,questroomsCount:0,questrooms:[{createdAt:"2022-02-14T09:37:41.467Z",updatedAt:"2022-02-14T09:37:41.519Z",id:1,profileId:1,deletedAt:null,title:"Quest",slug:"/ru/tambov/quest",type:"escape",locationId:1,difficult:6,fear:4,minAge:12,actors:!1,questroomIds:[],languages:[],defaultLanguage:null,onlinePaymentsCashbox:null,cashPaymentsCashbox:1,cardPaymentsCashbox:1,awailableForNavigator:!0,awailableForWidgets:!0,breakInterval:15,time:60,minHoursForFreeCanceling:24,ticketSystem:!1,photo:"https://firebasestorage.googleapis.com/v0/b/escapegames-94b53.appspot.com/o/questrooms_photos%2F6UUAIJG8QRA8_1200x800.jpeg?alt=media&token=6UUAIJG8QRA8",video:null,photos:["https://firebasestorage.googleapis.com/v0/b/escapegames-94b53.appspot.com/o/questrooms_photos%2F6UUAIJG8QRA8_1200x800.jpeg?alt=media&token=6UUAIJG8QRA8"],legend:"mbmnb",teaser:null,sortPosition:1,rating:0,playersMin:6,playersMax:6,tags:[]},{createdAt:"2022-02-15T11:39:03.173Z",updatedAt:"2022-02-15T11:39:03.230Z",id:3,profileId:1,deletedAt:null,title:"Horror",slug:"/ru/tambov/horror",type:"suspense",locationId:1,difficult:6,fear:10,minAge:18,actors:!0,questroomIds:[],languages:["ru"],defaultLanguage:"ru",onlinePaymentsCashbox:null,cashPaymentsCashbox:1,cardPaymentsCashbox:2,awailableForNavigator:!0,awailableForWidgets:!0,breakInterval:15,time:60,minHoursForFreeCanceling:24,ticketSystem:!1,photo:"https://firebasestorage.googleapis.com/v0/b/escapegames-94b53.appspot.com/o/questrooms_photos%2FK6FFGYZVFZ8O_1200x800.jpeg?alt=media&token=K6FFGYZVFZ8O",video:null,photos:["https://firebasestorage.googleapis.com/v0/b/escapegames-94b53.appspot.com/o/questrooms_photos%2FK6FFGYZVFZ8O_1200x800.jpeg?alt=media&token=K6FFGYZVFZ8O"],legend:"djjdjs",teaser:null,sortPosition:1,rating:0,playersMin:6,playersMax:6,tags:[]}]},{createdAt:"2022-02-15T09:58:11.845Z",updatedAt:"2022-02-15T09:58:11.845Z",id:2,profileId:1,deletedAt:null,title:"Location 2",phone:"89996661122",address:"Ulitsa Chichkanova, 91, 36, Tambov, Tambovskaya oblast', Russland, 392020",coordinates:{type:"Point",coordinates:[52.737719,41.4491831]},cityId:1,howToFind:"Идете к нам и находите",disinfection:"after_each_game",wifi:!1,wardrobe:!0,freeParking:!0,parking:!1,ventilation:!1,waitingArea:!1,waitingAreaSize:0,sortPosition:0,questroomsCount:0,questrooms:[{createdAt:"2022-02-15T09:59:27.571Z",updatedAt:"2022-02-15T09:59:27.625Z",id:2,profileId:1,deletedAt:null,title:"Супер Квест",slug:"/ru/tambov/super-kvest",type:"escape",locationId:2,difficult:6,fear:4,minAge:12,actors:!1,questroomIds:[],languages:["ru"],defaultLanguage:"ru",onlinePaymentsCashbox:null,cashPaymentsCashbox:1,cardPaymentsCashbox:2,awailableForNavigator:!0,awailableForWidgets:!0,breakInterval:15,time:60,minHoursForFreeCanceling:24,ticketSystem:!1,photo:"https://firebasestorage.googleapis.com/v0/b/escapegames-94b53.appspot.com/o/questrooms_photos%2FSGP5TQSPV7FF_1200x800.jpeg?alt=media&token=SGP5TQSPV7FF",video:null,photos:["https://firebasestorage.googleapis.com/v0/b/escapegames-94b53.appspot.com/o/questrooms_photos%2FSGP5TQSPV7FF_1200x800.jpeg?alt=media&token=SGP5TQSPV7FF"],legend:"nbvnbv",teaser:null,sortPosition:1,rating:0,playersMin:6,playersMax:6,tags:[]}]},{createdAt:"2022-02-16T05:08:44.512Z",updatedAt:"2022-02-16T05:08:44.512Z",id:3,profileId:1,deletedAt:null,title:"Еще одна локация",phone:"86669991488",address:"Derzhavinskaya Ulitsa, 13, 14, Tambov, Tambovskaya oblast', Russland, 392000",coordinates:{type:"Point",coordinates:[52.7249686,41.4472712]},cityId:1,howToFind:"Mi tyt",disinfection:"after_each_game",wifi:!0,wardrobe:!0,freeParking:!0,parking:!0,ventilation:!0,waitingArea:!0,waitingAreaSize:10,sortPosition:0,questroomsCount:0,questrooms:[]}];export{e as locationsWithQuestrooms};
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1 @@
1
+ export{CollapsableRow}from"./component.js";import"react";import"@alphakits/icons/dist/ChevronDownS";import"classnames";import"../collapse/component.js";import"../isSymbol-d1845925.js";import"resize-observer";import"../link/component.js";import"tslib";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../icon-button/component.js";import"../button/component.js";import"../loader/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-d85b9d6a.js";import"../typography/title/index.js";import"../typography/title/component.js";
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { LinkProps } from "../link/index";
4
+ type CollapseProps = {
5
+ expanded?: boolean;
6
+ defaultExpanded?: boolean;
7
+ collapsedLabel?: string;
8
+ expandedLabel?: string;
9
+ children?: React.ReactNode;
10
+ className?: string;
11
+ contentClassName?: string;
12
+ linkProps?: Pick<LinkProps, 'view' | 'size'>;
13
+ id?: string;
14
+ onExpandedChange?: (expanded?: boolean) => void;
15
+ onTransitionEnd?: (expanded?: boolean) => void;
16
+ dataTestId?: string;
17
+ };
18
+ declare const Collapse: React.ForwardRefExoticComponent<CollapseProps & React.RefAttributes<HTMLDivElement>>;
19
+ export { CollapseProps, Collapse };
@@ -0,0 +1 @@
1
+ import e,{forwardRef as n,useRef as t,useState as r,useCallback as i,useEffect as o,useMemo as u}from"react";import a from"classnames";import{a as c,i as s}from"../isSymbol-d1845925.js";import{ResizeObserver as f}from"resize-observer";import{Link as l}from"../link/component.js";import"tslib";import"react-merge-refs";import"../hooks/useFocus/index.js";var d=function(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)},v=function(){return c.Date.now()},m=/\s/;var p=function(e){for(var n=e.length;n--&&m.test(e.charAt(n)););return n},x=/^\s+/;var h=function(e){return e?e.slice(0,p(e)+1).replace(x,""):e},_=NaN,g=/^[-+]0x[0-9a-f]+$/i,E=/^0b[01]+$/i,w=/^0o[0-7]+$/i,y=parseInt;var T=function(e){if("number"==typeof e)return e;if(s(e))return _;if(d(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=d(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=h(e);var t=E.test(e);return t||w.test(e)?y(e.slice(2),t?2:8):g.test(e)?_:+e},b="Expected a function",k=Math.max,N=Math.min;var z=function(e,n,t){var r,i,o,u,a,c,s=0,f=!1,l=!1,m=!0;if("function"!=typeof e)throw new TypeError(b);function p(n){var t=r,o=i;return r=i=void 0,s=n,u=e.apply(o,t)}function x(e){var t=e-c;return void 0===c||t>=n||t<0||l&&e-s>=o}function h(){var e=v();if(x(e))return _(e);a=setTimeout(h,function(e){var t=n-(e-c);return l?N(t,o-(e-s)):t}(e))}function _(e){return a=void 0,m&&r?p(e):(r=i=void 0,u)}function g(){var e=v(),t=x(e);if(r=arguments,i=this,c=e,t){if(void 0===a)return function(e){return s=e,a=setTimeout(h,n),f?p(e):u}(c);if(l)return clearTimeout(a),a=setTimeout(h,n),p(c)}return void 0===a&&(a=setTimeout(h,n)),u}return n=T(n)||0,d(t)&&(f=!!t.leading,o=(l="maxWait"in t)?k(T(t.maxWait)||0,n):o,m="trailing"in t?!!t.trailing:m),g.cancel=function(){void 0!==a&&clearTimeout(a),s=0,r=c=i=a=void 0},g.flush=function(){return void 0===a?u:_(v())},g},C="index-module_collapse__ORa-f",j="index-module_content__UDk-m",L="index-module_expandedContent__iQszl",O="index-module_children_wrap__ekYCk",$=n((function(n,c){var s,d=n.expanded,v=n.defaultExpanded,m=n.collapsedLabel,p=n.expandedLabel,x=n.children,h=n.className,_=n.contentClassName,g=n.id,E=n.onExpandedChange,w=n.onTransitionEnd,y=n.dataTestId,T=n.linkProps,b=void 0===d,k=t(null),N=t(null),$=r(v||d),D=$[0],H=$[1],I=b?D:d,M=i((function(){var e;N.current&&k.current&&(e=I?N.current.offsetHeight:0,k.current.style.height=e+"px")}),[I]),W=i((function(){w&&w(d)}),[d,w]),A=i((function(){b&&H(!I),console.log(I),E&&E()}),[I,E,b]);o((function(){var e=z((function(){return M()}),300);return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[M]),o((function(){var e=new f(M);return N.current&&e.observe(N.current),function(){e.disconnect()}}),[M]),o((function(){return M()}),[I,M]);var F=u((function(){var e,n=null===(e=k.current)||void 0===e?void 0:e.offsetHeight;return{height:I&&!n?"0px":n+"px"}}),[I]),P=!!p||!!m;return e.createElement("div",{ref:c,className:a(h,C),id:g,"data-test-id":y},e.createElement("div",{onTransitionEnd:W,ref:k,className:a(j,_,(s={},s[L]=I,s)),style:F},e.createElement("div",{className:a(O),ref:N},x)),P&&e.createElement(l,{view:(null==T?void 0:T.view)||"secondary",size:(null==T?void 0:T.size)||"m",pseudo:!0,onClick:A},I?p:m))}));export{$ as Collapse};
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1 @@
1
+ export{Collapse}from"./component.js";import"react";import"classnames";import"../isSymbol-d1845925.js";import"resize-observer";import"../link/component.js";import"tslib";import"react-merge-refs";import"../hooks/useFocus/index.js";
@@ -0,0 +1 @@
1
+ var o={primary:"colors-module_primary__f19I7","primary-inverted":"colors-module_primary-inverted__g2GMq",secondary:"colors-module_secondary__Gon7c","secondary-inverted":"colors-module_secondary-inverted__oauNr",positive:"colors-module_positive__Vno8V",attention:"colors-module_attention__ZbzM2",negative:"colors-module_negative__7JvUF",link:"colors-module_link__gqQZ2",disabled:"colors-module_disabled__TPJs4",tertiary:"colors-module_tertiary__e7GJP","tertiary-inverted":"colors-module_tertiary-inverted__jgNuV",accent:"colors-module_accent__-sG9C"};export{o as c};
@@ -0,0 +1 @@
1
+ var o={primary:"colors-module_primary__f19I7","primary-inverted":"colors-module_primary-inverted__g2GMq",secondary:"colors-module_secondary__Gon7c","secondary-inverted":"colors-module_secondary-inverted__oauNr",positive:"colors-module_positive__Vno8V",attention:"colors-module_attention__ZbzM2",negative:"colors-module_negative__7JvUF",link:"colors-module_link__gqQZ2",disabled:"colors-module_disabled__TPJs4",tertiary:"colors-module_tertiary__e7GJP","tertiary-inverted":"colors-module_tertiary-inverted__jgNuV",accent:"colors-module_accent__-sG9C"};export{o as c};
@@ -0,0 +1 @@
1
+ var o={primary:"colors-module_primary__f19I7","primary-inverted":"colors-module_primary-inverted__g2GMq",secondary:"colors-module_secondary__Gon7c","secondary-inverted":"colors-module_secondary-inverted__oauNr",positive:"colors-module_positive__Vno8V",attention:"colors-module_attention__ZbzM2",negative:"colors-module_negative__7JvUF",link:"colors-module_link__gqQZ2",disabled:"colors-module_disabled__TPJs4",tertiary:"colors-module_tertiary__e7GJP","tertiary-inverted":"colors-module_tertiary-inverted__jgNuV",accent:"colors-module_accent__-sG9C"};export{o as c};
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ interface ContactBlockProps {
4
+ title: string;
5
+ value: string;
6
+ }
7
+ declare const ContactBlock: React.FC<ContactBlockProps>;
8
+ export { ContactBlockProps, ContactBlock };
@@ -0,0 +1 @@
1
+ import e from"react";var t={wrapper:"index-module_wrapper__EnjfK",row_wrapper:"index-module_row_wrapper__8067q",title:"index-module_title__Tgf-N",block:"index-module_block__rSzcB",link:"index-module_link__Oe3C9",text:"index-module_text__qVH7d",email:"index-module_email__h6jhO",buttons:"index-module_buttons__dZl85",bottomBlock:"index-module_bottomBlock__fjWwD",contactBlock:"index-module_contactBlock__kAr-f",phone:"index-module_phone__yts-p"},o=function(o){var _=o.title,l=o.value;return e.createElement("div",{className:t.contactBlock},e.createElement("span",{className:t.text},_),e.createElement("span",{className:t.phone},l))};export{o as C,t as s};
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ interface ContactBlockProps {
4
+ title: string;
5
+ value: string;
6
+ }
7
+ declare const ContactBlock: React.FC<ContactBlockProps>;
8
+ export { ContactBlockProps, ContactBlock };
@@ -0,0 +1 @@
1
+ import e from"react";var t={wrapper:"index-module_wrapper__EnjfK",row_wrapper:"index-module_row_wrapper__8067q",title:"index-module_title__Tgf-N",block:"index-module_block__rSzcB",link:"index-module_link__Oe3C9",text:"index-module_text__qVH7d",email:"index-module_email__h6jhO",buttons:"index-module_buttons__dZl85",bottomBlock:"index-module_bottomBlock__fjWwD",contactBlock:"index-module_contactBlock__kAr-f",phone:"index-module_phone__yts-p"},o=function(o){var _=o.title,l=o.value;return e.createElement("div",{className:t.contactBlock},e.createElement("span",{className:t.text},_),e.createElement("span",{className:t.phone},l))};export{o as C,t as s};
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ interface ContactBlockProps {
4
+ title: string;
5
+ value: string;
6
+ }
7
+ declare const ContactBlock: React.FC<ContactBlockProps>;
8
+ export { ContactBlockProps, ContactBlock };
@@ -0,0 +1 @@
1
+ import e from"react";var t={wrapper:"index-module_wrapper__EnjfK",row_wrapper:"index-module_row_wrapper__8067q",title:"index-module_title__Tgf-N",block:"index-module_block__rSzcB",link:"index-module_link__Oe3C9",text:"index-module_text__qVH7d",email:"index-module_email__h6jhO",buttons:"index-module_buttons__dZl85",bottomBlock:"index-module_bottomBlock__fjWwD",contactBlock:"index-module_contactBlock__kAr-f",phone:"index-module_phone__yts-p"},o=function(o){var _=o.title,l=o.value;return e.createElement("div",{className:t.contactBlock},e.createElement("span",{className:t.text},_),e.createElement("span",{className:t.phone},l))};export{o as C,t as s};
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { TextProps } from "../typography/text/index";
3
+ type CopyButtonProps = {
4
+ text: string;
5
+ color?: TextProps['color'];
6
+ fullText?: string;
7
+ };
8
+ declare const CopyButton: ({ text, fullText, color, }: CopyButtonProps) => JSX.Element;
9
+ export { CopyButtonProps, CopyButton };
@@ -0,0 +1 @@
1
+ import t from"react";import o from"@alphakits/icons/dist/ActionCopyM";import{IconButton as i}from"../icon-button/component.js";import{ToastNotifier as e}from"../toast-notifier/component.js";import{Typography as r}from"../typography/component.js";import"tslib";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"react-dom";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";import"../typography/text/component.js";import"../colors.module-d85b9d6a.js";import"../typography/title/index.js";import"../typography/title/component.js";var p="index-module_wrapper__dZRhL",m="index-module_link_button__VKWD-",n=function(n){var s=n.text,a=n.fullText,c=n.color;return t.createElement("div",{className:p},t.createElement(r.Text,{view:"title",weight:"medium",color:c||"primary"},s),t.createElement(i,{icon:o,className:m,onClick:function(t){t.stopPropagation(),navigator.clipboard.writeText(a||s).then((function(){e({title:"Copied!",view:"positive",offset:30})}))},view:"ghost"}))};export{n as CopyButton};
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1 @@
1
+ export{CopyButton}from"./component.js";import"react";import"@alphakits/icons/dist/ActionCopyM";import"../icon-button/component.js";import"tslib";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-d85b9d6a.js";import"../typography/title/index.js";import"../typography/title/component.js";
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { TextProps } from "../typography/text/index";
4
+ interface FormattedDateProps extends TextProps {
5
+ className?: string;
6
+ date: Date | number | string;
7
+ time?: string;
8
+ format?: string;
9
+ language?: 'de' | 'ru' | 'en' | 'pl' | 'cs';
10
+ dataTestId?: string;
11
+ }
12
+ declare const FormattedDate: React.FC<FormattedDateProps>;
13
+ export { FormattedDateProps, FormattedDate };
@@ -0,0 +1 @@
1
+ import{__rest as t,__assign as o}from"tslib";import e from"react";import{Typography as a}from"../typography/component.js";import"../toast-notifier/component.js";import{formatDate as i}from"../utils/format-date/index.js";import"../typography/text/component.js";import"classnames";import"../colors.module-d85b9d6a.js";import"../typography/title/index.js";import"../typography/title/component.js";import"react-dom";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../toast-notifier/use-timer.js";import"date-fns";import"date-fns/esm/locale/cs";import"date-fns/esm/locale/de";import"date-fns/esm/locale/en-GB";import"date-fns/esm/locale/pl";import"date-fns/esm/locale/ru";import"date-fns/locale/el";import"date-fns/locale/es";import"date-fns/locale/et";import"date-fns/locale/fr";import"date-fns/locale/it";import"date-fns/locale/nl";import"date-fns/locale/pt";var r=function(r){var s=r.className,m=r.dataTestId,p=r.date,l=r.time,n=r.format,c=void 0===n?"dd.MM.yyyy":n,d=r.language,f=void 0===d?"de":d,j=t(r,["className","dataTestId","date","time","format","language"]);return e.createElement(a.Text,o({},j,{className:s,"data-test-id":m}),i(p,{format:c,lang:f,time:l}))};export{r as FormattedDate};
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1 @@
1
+ export{FormattedDate}from"./component.js";import"tslib";import"react";import"../typography/component.js";import"../typography/text/component.js";import"classnames";import"../colors.module-d85b9d6a.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../toast-notifier/use-timer.js";import"../utils/format-date/index.js";import"date-fns";import"date-fns/esm/locale/cs";import"date-fns/esm/locale/de";import"date-fns/esm/locale/en-GB";import"date-fns/esm/locale/pl";import"date-fns/esm/locale/ru";import"date-fns/locale/el";import"date-fns/locale/es";import"date-fns/locale/et";import"date-fns/locale/fr";import"date-fns/locale/it";import"date-fns/locale/nl";import"date-fns/locale/pt";
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ interface DateSwitcherProps {
3
+ view?: 'day' | 'week';
4
+ startDate: string;
5
+ onChange: (date: string) => void;
6
+ minDate?: string;
7
+ maxDate?: string;
8
+ todayLabel: string;
9
+ }
10
+ declare const DateSwitcher: ({ view, startDate, onChange, minDate, maxDate, todayLabel, }: DateSwitcherProps) => JSX.Element;
11
+ export { DateSwitcherProps, DateSwitcher };
@@ -0,0 +1 @@
1
+ import e from"react";import t from"@alphakits/icons/dist/ChevronBackM";import o from"@alphakits/icons/dist/ChevronForwardM";import a from"classnames";import{startOfISOWeek as r,parseISO as i,isAfter as n,isBefore as d,isToday as m,format as s,add as c,subDays as p,subWeeks as l}from"date-fns";import{Button as y}from"../button/component.js";import{IconButton as _}from"../icon-button/component.js";import{Typography as w}from"../typography/component.js";import"tslib";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../typography/text/component.js";import"../colors.module-d85b9d6a.js";import"../typography/title/index.js";import"../typography/title/component.js";var u={date_switcher:"index-module_date_switcher__-TXru",date_wrap:"index-module_date_wrap__Tzlmm",day:"index-module_day__HX9YV",week:"index-module_week__s9uze"},h="yyyy-MM-dd",f="dd.MM.yy",k=function(k){var v=k.view,x=void 0===v?"day":v,b=k.startDate,g=k.onChange,j=k.minDate,C=k.maxDate,E=k.todayLabel,M=r(i(b)),D="day"===x?i(b):M,T=j?i(j):new Date,z=n(D,T),F=!C||d(D,i(C)),N=m(D);return e.createElement("div",{className:u.date_switcher},e.createElement(_,{disabled:!!j&&!z,onClick:function(){"day"===x&&g(s(p(D,1),h)),"week"===x&&g(s(l(D,1),h))},icon:t}),e.createElement("div",{className:a(u.date_wrap,u[x])},e.createElement(w.Text,{tag:"div",view:"title",color:"secondary",weight:"bold"},"day"===x?s(D,f):s(D,f)+" - "+s(c(D,{days:6}),f))),e.createElement(_,{disabled:!F,onClick:function(){"day"===x&&g(s(c(D,{days:1}),h)),"week"===x&&g(s(c(D,{days:7}),h))},icon:o}),e.createElement(y,{disabled:N,onClick:function(){g(s(new Date,h))},view:"ghost"},E))};export{k as DateSwitcher};
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1 @@
1
+ export{DateSwitcher}from"./component.js";import"react";import"@alphakits/icons/dist/ChevronBackM";import"@alphakits/icons/dist/ChevronForwardM";import"classnames";import"date-fns";import"../button/component.js";import"tslib";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../icon-button/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-d85b9d6a.js";import"../typography/title/index.js";import"../typography/title/component.js";
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { ReactNode } from "react";
4
+ interface DecoratedItemProps {
5
+ className?: string;
6
+ leftAddon: ReactNode;
7
+ rightAddon?: string;
8
+ title: string;
9
+ description?: string;
10
+ dataTestId?: string;
11
+ }
12
+ declare const DecoratedItem: React.FC<DecoratedItemProps>;
13
+ export { DecoratedItemProps, DecoratedItem };
@@ -0,0 +1 @@
1
+ import e from"react";import t from"classnames";var a="index-module_component__Ixhte",d="index-module_textWrap__bCPEX",l="index-module_title__Gh4bf",n="index-module_description__ZQqtl",m=function(m){var i=m.className,r=m.leftAddon,s=m.title,c=m.rightAddon,o=m.description,_=m.dataTestId;return e.createElement("div",{className:t(a,i),"data-test-id":_},r,e.createElement("div",{className:d},e.createElement("div",{className:l},s,c&&e.createElement("span",null,c)),o&&e.createElement("div",{className:n},o)))};export{m as DecoratedItem};
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1 @@
1
+ export{DecoratedItem}from"./component.js";import"react";import"classnames";
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ type DividerProps = {
4
+ className?: string;
5
+ size?: 's' | 'm' | 'l';
6
+ view?: 'horizontal' | 'vertical';
7
+ dataTestId?: string;
8
+ };
9
+ declare const Divider: React.FC<DividerProps>;
10
+ export { DividerProps, Divider };
@@ -0,0 +1 @@
1
+ import e from"react";import i from"classnames";var d={divider:"index-module_divider__ZKiTt",s:"index-module_s__IublT",horizontal:"index-module_horizontal__KaDB2",m:"index-module_m__HRxzG",l:"index-module_l__Qw-4h",vertical:"index-module_vertical__9k6eu"},a=function(a){var o=a.className,r=a.dataTestId,t=a.view,l=void 0===t?"horizontal":t,_=a.size,m=void 0===_?"s":_;return e.createElement("div",{className:i(d.divider,o,d[m],d[l]),"data-test-id":r})};export{a as Divider};
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1 @@
1
+ export{Divider}from"./component.js";import"react";import"classnames";
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ type Props = {
3
+ color?: 'green' | 'orange' | 'red' | 'blue' | 'grey' | 'teal' | 'purple';
4
+ size: 'sm' | 'md';
5
+ };
6
+ declare const Dot: FC<Props>;
7
+ export { Dot };
@@ -0,0 +1 @@
1
+ import e from"react";import d from"classnames";var _={dot:"index-module_dot__yq5P7",sm:"index-module_sm__VWY0w",md:"index-module_md__j7DRG",green:"index-module_green__XwZ97",orange:"index-module_orange__TT74v",red:"index-module_red__-zhwA",blue:"index-module_blue__ouTHj",grey:"index-module_grey__SLgp5",purple:"index-module_purple__8pLyX",teal:"index-module_teal__5h0IW"},o=function(o){var r=o.color,m=void 0===r?"green":r,l=o.size,n=void 0===l?"sm":l;return e.createElement("div",{className:d([_.dot,_[n],_[m]])})};export{o as Dot};
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1 @@
1
+ export{Dot}from"./component.js";import"react";import"classnames";
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { IButtonProps } from "../button/index";
4
+ type EmptyPageProps = {
5
+ overlay?: boolean;
6
+ image?: string;
7
+ code?: string;
8
+ title: string;
9
+ subtitle?: string;
10
+ buttonText?: string;
11
+ onClick?: () => void;
12
+ } & Pick<IButtonProps, 'href' | 'view' | 'size'>;
13
+ declare const EmptyPage: React.FC<EmptyPageProps>;
14
+ export { EmptyPageProps, EmptyPage };
@@ -0,0 +1 @@
1
+ import{__rest as e,__assign as t}from"tslib";import o from"react";import r from"classnames";import{Button as i}from"../button/component.js";import{FlexColumns as m}from"../flex-columns/component.js";import{Typography as l}from"../typography/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../typography/text/component.js";import"../colors.module-d85b9d6a.js";import"../typography/title/index.js";import"../typography/title/component.js";var a="index-module_wrapper__X4Vyh",n="index-module_content__xoB7w",p="index-module_overlay__GChru",s="index-module_image__qJIV8",c=function(c){var d=c.code,u=c.image,v=c.overlay,y=c.title,g=c.subtitle,x=c.buttonText,_=c.view,h=void 0===_?"primary":_,w=c.size,f=void 0===w?"m":w,b=e(c,["code","image","overlay","title","subtitle","buttonText","view","size"]);return o.createElement("div",{className:r(a,v&&p)},u&&o.createElement("img",{alt:y,className:s,src:u}),o.createElement(m,{columns:1,gr:8,className:n},d&&o.createElement(l.Title,{view:"large",weight:"bold",color:"primary",tag:"div"},d),o.createElement(l.Title,{view:"small",weight:"bold",color:"primary",tag:"div"},y),g&&o.createElement(l.Text,{color:"primary",weight:"medium",view:"primary-medium"},g)),(!!(null==b?void 0:b.onClick)||(null==b?void 0:b.href))&&o.createElement(i,t({view:h,size:f},b),x))};export{c as EmptyPage};
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1 @@
1
+ export{EmptyPage}from"./component.js";import"tslib";import"react";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../flex-columns/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-d85b9d6a.js";import"../typography/title/index.js";import"../typography/title/component.js";
@@ -0,0 +1,24 @@
1
+ /// <reference types="react" />
2
+ import { ReactNode } from 'react';
3
+ declare enum Spaces {
4
+ xxxs = 4,
5
+ xxs = 4,
6
+ xs = 8,
7
+ sm = 12,
8
+ md = 16,
9
+ l = 20,
10
+ xl = 24,
11
+ xxl = 32
12
+ }
13
+ type Props = {
14
+ children?: ReactNode;
15
+ className?: string;
16
+ gap?: keyof typeof Spaces;
17
+ marginBottom?: keyof typeof Spaces;
18
+ wrap?: boolean;
19
+ align?: 'start' | 'center' | 'end' | 'stretch';
20
+ direction?: 'row' | 'column';
21
+ justify?: 'start' | 'center' | 'end' | 'between' | 'around';
22
+ };
23
+ declare const Flex: ({ children, className, gap, marginBottom, wrap, align, direction, justify, }: Props) => JSX.Element;
24
+ export { Flex };
@@ -0,0 +1 @@
1
+ import _ from"react";import e from"classnames";var n,m={component:"index-module_component__f6FBj",wrap:"index-module_wrap__pji79",align_center:"index-module_align_center__ADi9O",align_start:"index-module_align_start__aicBS",align_end:"index-module_align_end__SD1--",align_stretch:"index-module_align_stretch__DBMhl",justify_center:"index-module_justify_center__enCYa",justify_start:"index-module_justify_start__TRWGZ",justify_end:"index-module_justify_end__7DKqg",justify_between:"index-module_justify_between__rZIJ-",justify_around:"index-module_justify_around__1Y35a",direction_row:"index-module_direction_row__D1fq1",direction_column:"index-module_direction_column__X-Fxm",gap_xxxs:"index-module_gap_xxxs__TC-NP",gap_xxs:"index-module_gap_xxs__8J2WP",gap_xs:"index-module_gap_xs__n5Jht",gap_sm:"index-module_gap_sm__MpYHL",gap_md:"index-module_gap_md__hOPNY",gap_l:"index-module_gap_l__7SmI2",gap_xl:"index-module_gap_xl__gxptO",gap_xxl:"index-module_gap_xxl__0rCIC",marginBottom_xxxs:"index-module_marginBottom_xxxs__mSx42",marginBottom_xxs:"index-module_marginBottom_xxs__H5Lu0",marginBottom_xs:"index-module_marginBottom_xs__NOZn1",marginBottom_sm:"index-module_marginBottom_sm__6su9V",marginBottom_md:"index-module_marginBottom_md__PxIku",marginBottom_l:"index-module_marginBottom_l__I1OS1",marginBottom_xl:"index-module_marginBottom_xl__DQlDH",marginBottom_xxl:"index-module_marginBottom_xxl__-7u1J"};!function(_){_[_.xxxs=4]="xxxs",_[_.xxs=4]="xxs",_[_.xs=8]="xs",_[_.sm=12]="sm",_[_.md=16]="md",_[_.l=20]="l",_[_.xl=24]="xl",_[_.xxl=32]="xxl"}(n||(n={}));var o=function(n){var o,i=n.children,x=n.className,t=n.gap,d=n.marginBottom,a=n.wrap,l=n.align,r=n.direction,u=void 0===r?"row":r,s=n.justify;return _.createElement("div",{style:{},className:e([x,m.component,(o={},o[m["align_"+l]]=l,o[m.wrap]=a,o[m["justify_"+s]]=s,o[m["direction_"+u]]=u,o[m["gap_"+t]]=t,o[m["marginBottom_"+d]]=d,o)])},i)};export{o as Flex};
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1 @@
1
+ export{Flex}from"./component.js";import"react";import"classnames";
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ interface FlexColumnsProps {
4
+ children?: React.ReactNode;
5
+ columns?: number;
6
+ gc?: number;
7
+ gr?: number;
8
+ className?: string;
9
+ }
10
+ declare const FlexColumns: React.FC<FlexColumnsProps>;
11
+ export { FlexColumnsProps, FlexColumns };
@@ -0,0 +1 @@
1
+ import e from"react";import r from"classnames";var a="index-module_flexColumns__aTLJX",o=function(o){var m=o.children,l=o.columns,i=void 0===l?3:l,n=o.gr,s=void 0===n?20:n,t=o.gc,d=void 0===t?20:t,c=o.className;return e.createElement("div",{className:r(a,c),style:{gridTemplateColumns:"1fr ".repeat(i),gridRowGap:s+"px",gridColumnGap:d+"px"}},m)};export{o as FlexColumns};
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1 @@
1
+ export{FlexColumns}from"./component.js";import"react";import"classnames";
@@ -0,0 +1,27 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ interface FooterProps {
4
+ sections?: Array<{
5
+ title: string;
6
+ items: Array<{
7
+ link: string;
8
+ text: string;
9
+ }>;
10
+ }>;
11
+ contacts?: Array<{
12
+ title: string;
13
+ value: string;
14
+ }>;
15
+ company?: string;
16
+ phone?: string;
17
+ email?: string;
18
+ address?: string;
19
+ facebookLink?: string;
20
+ youtubeLink?: string;
21
+ instagramLink?: string;
22
+ appText?: string;
23
+ google?: string;
24
+ appstore?: string;
25
+ }
26
+ declare const Footer: React.FC<FooterProps>;
27
+ export { FooterProps, Footer };
@@ -0,0 +1 @@
1
+ import{__assign as e}from"tslib";import t from"react";import o from"@alphakits/icons/dist/AppStoreM";import r from"@alphakits/icons/dist/FacebookM";import a from"@alphakits/icons/dist/GooglePlayM";import m from"@alphakits/icons/dist/InstagramM";import n from"@alphakits/icons/dist/YoutubeM";import{Grid as i}from"../grid/component.js";import{IconButton as l}from"../icon-button/component.js";import{SectionWrapper as c}from"../section-wrapper/component.js";import{s,C as p}from"../contact-block-f0725ce7.js";import"../grid/col/component.js";import"classnames";import"../grid/utils/index.js";import"../gutters.module-32eb58ab.js";import"../grid/row/component.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";var d=function(d){var u=d.sections,E=void 0===u?[]:u,f=d.contacts,k=void 0===f?[]:f,b=d.company,v=d.email,g=d.address,h=d.facebookLink,N=d.instagramLink,j=d.youtubeLink,x=d.appText,w=d.google,y=d.appstore,M=h||N||j,F=x&&y&&w;return t.createElement(c,{pb:"m",pt:"l",isBlackBg:!0},t.createElement("div",{className:s.wrapper},t.createElement("div",{className:s.row_wrapper},t.createElement(i.Row,null,t.createElement(t.Fragment,null,E.map((function(e){return t.createElement(i.Col,{key:e.title,width:{desktop:2,mobile:12}},t.createElement("div",{className:s.block},t.createElement("span",{className:s.title},e.title),e.items.map((function(e){return t.createElement("a",{key:e.text,className:s.link,href:e.link},e.text)}))))})),t.createElement(i.Col,{key:"cont",width:{desktop:2,mobile:12}},t.createElement("div",{className:s.contacts},k.map((function(e){return t.createElement(p,{key:e.title,title:e.title,value:e.value})})),v&&t.createElement("div",{className:s.email},v),t.createElement("br",null),g&&t.createElement("div",{className:s.text},g),t.createElement("br",null),b&&t.createElement("div",{className:s.text},b),t.createElement("br",null),M&&t.createElement("div",{className:s.buttons},h&&t.createElement(l,e({},{href:h},{icon:r})),j&&t.createElement(l,e({},{href:j},{icon:n})),N&&t.createElement(l,e({},{href:N},{icon:m}))))))))),t.createElement("div",{className:s.bottomBlock},F&&t.createElement(t.Fragment,null,t.createElement("div",{className:s.text},x),t.createElement("div",{className:s.buttons},y&&t.createElement(l,e({},{href:y},{icon:o})),w&&t.createElement(l,e({},{href:w},{icon:a}))))))};export{d as Footer};
File without changes
@@ -0,0 +1 @@
1
+ import"react";export{C as ContactBlock}from"../contact-block-f0725ce7.js";
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1 @@
1
+ export{Footer}from"./component.js";import"tslib";import"react";import"@alphakits/icons/dist/AppStoreM";import"@alphakits/icons/dist/FacebookM";import"@alphakits/icons/dist/GooglePlayM";import"@alphakits/icons/dist/InstagramM";import"@alphakits/icons/dist/YoutubeM";import"../grid/component.js";import"../grid/col/component.js";import"classnames";import"../grid/utils/index.js";import"../gutters.module-32eb58ab.js";import"../grid/row/component.js";import"../icon-button/component.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../section-wrapper/component.js";import"../contact-block-f0725ce7.js";
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Component: () => JSX.Element;
3
+ export { Component };
@@ -0,0 +1 @@
1
+ import e from"react";import{Button as t}from"../button/component.js";import{FlexColumns as r}from"../flex-columns/component.js";import{Input as o}from"../input/component.js";import{ModalContext as n}from"../modal/context.js";import{showSuccess as a,showError as i}from"../utils/show-toast/index.js";import"date-fns";import"date-fns/esm/locale/cs";import"date-fns/esm/locale/de";import"date-fns/esm/locale/en-GB";import"date-fns/esm/locale/pl";import"date-fns/esm/locale/ru";import"date-fns/locale/el";import"date-fns/locale/es";import"date-fns/locale/et";import"date-fns/locale/fr";import"date-fns/locale/it";import"date-fns/locale/nl";import"date-fns/locale/pt";import{RestForm as m}from"./templates/rest-form/index.js";import"tslib";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../modal/components/modals/index.js";import"../modal/components/modals/modal.js";import"../button-arrow/component.js";import"@alphakits/icons";import"../modal/hooks/use-modal.js";import"uuid";import"../modal/utils/delete-property-by-id.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";import"formik";import"./templates/rest-form/form.js";import"@alphakits/icons/dist/TrashM";import"../flex/component.js";import"../icon-button/component.js";import"../sidepanel/component.js";import"../sidepanel-header/component.js";import"../back-button/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-d85b9d6a.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../skeleton/component.js";var l={baz:"",bar:""},s={buz:"",bur:""},c=function(t){var n=e.useState(!0),l=n[0],c=n[1],u=e.useState(!1),p=u[0],b=u[1],d=e.useState(!1),f=d[0],h=d[1];e.useEffect((function(){setTimeout((function(){return c(!1)}),500)}),[]);return e.createElement(m,{recordId:827368276387,initialValues:s,customValidationFields:["bur"],save:function(){return new Promise((function(e){b(!0),setTimeout((function(){e(),b(!1),a("","Saved")}),3e3)}))},remove:function(){return new Promise((function(e){h(!0),setTimeout((function(){e(),h(!1),i("Some error from server","Error")}),3e3)}))},title:"custom title other",loading:l,submitButtonText:"submit",updating:p,removing:f,close:null==t?void 0:t.close,t:function(e){return e}},(function(t){var n=t.values,a=t.touched,i=t.errors,m=t.handleChange;return e.createElement(r,{columns:1,gr:16,gc:0},e.createElement(o,{label:"buz",value:n.buz,onChange:m("buz"),error:a.buz&&i.buz}),e.createElement(o,{label:"bur",value:n.bur,onChange:m("bur"),error:a.bur&&i.bur}))}))},u=function(s){var u=e.useState(!0),p=u[0],b=u[1],d=e.useState(!1),f=d[0],h=d[1],j=e.useState(!1),v=j[0],g=j[1],C=(0,e.useContext(n).openModal)(c);e.useEffect((function(){setTimeout((function(){return b(!1)}),500)}),[]);return e.createElement(m,{recordId:8273682763,initialValues:l,customValidationFields:["bar"],save:function(){return new Promise((function(e){h(!0),setTimeout((function(){e(),h(!1),a("","Saved")}),3e3)}))},remove:function(){return new Promise((function(e){g(!0),setTimeout((function(){e(),g(!1),i("Some error from server","Error")}),3e3)}))},title:"Настройки",subtitle:"Подпись к заголовку",back:function(){},softError:"Some error",loading:p,submitButtonText:"csdcds",updating:f,removing:v,close:null==s?void 0:s.close,t:function(e){return e}},(function(n){var a=n.values,i=n.touched,m=n.errors,l=n.handleChange;return e.createElement(r,{columns:1,gr:16,gc:0},e.createElement(o,{label:"baz",value:a.baz,onChange:l("baz"),error:i.baz&&m.baz}),e.createElement(o,{label:"bar",value:a.bar,onChange:l("bar"),error:i.bar&&m.bar}),e.createElement(o,{label:"bar",value:a.bar,onChange:l("bar"),error:i.bar&&m.bar}),e.createElement(o,{label:"bar",value:a.bar,onChange:l("bar"),error:i.bar&&m.bar}),e.createElement(o,{label:"bar",value:a.bar,onChange:l("bar"),error:i.bar&&m.bar}),e.createElement(o,{label:"bar",value:a.bar,onChange:l("bar"),error:i.bar&&m.bar}),e.createElement(o,{label:"bar",value:a.bar,onChange:l("bar"),error:i.bar&&m.bar}),e.createElement(o,{label:"bar",value:a.bar,onChange:l("bar"),error:i.bar&&m.bar}),e.createElement(o,{label:"bar",value:a.bar,onChange:l("bar"),error:i.bar&&m.bar}),e.createElement(t,{onClick:C},"openCrudModalOther"))}))},p=function(){var r=(0,e.useContext(n).openModal)(u);return e.createElement(e.Fragment,null,e.createElement(t,{onClick:r},"open crud modal"))};export{p as Component};
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ declare const FormLoading: React.FC;
4
+ export { FormLoading };
@@ -0,0 +1 @@
1
+ import e from"react";import{FlexColumns as l}from"../../../flex-columns/component.js";import{Skeleton as t}from"../../../skeleton/component.js";import"classnames";var m="index-module_header__UtYpF",a="index-module_title__mrNu8",s="index-module_addon__-bw-y",n="index-module_input__MEN8P",i="index-module_content__jYVgc",c="index-module_buttons__PtGvG",o="index-module_button__hWCWD",r=function(){return e.createElement(l,{columns:1,gr:16,className:i},e.createElement("div",{className:m},e.createElement(t,{visible:!0,className:a}),e.createElement(t,{visible:!0,className:s})),e.createElement(t,{visible:!0,className:n}),e.createElement(t,{visible:!0,className:n}),e.createElement(t,{visible:!0,className:n}),e.createElement(t,{visible:!0,className:n}),e.createElement(t,{visible:!0,className:n}),e.createElement("div",{className:c},e.createElement(t,{visible:!0,className:o}),e.createElement(t,{visible:!0,className:o})))};export{r as FormLoading};
@@ -0,0 +1 @@
1
+ export * from "./templates/filters-form/index";
@@ -0,0 +1 @@
1
+ export{FiltersForm}from"./templates/filters-form/index.js";import"react";import"formik";import"../button/component.js";import"tslib";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../sidepanel/component.js";import"../flex-columns/component.js";import"../sidepanel-header/component.js";import"../back-button/component.js";import"../button-arrow/component.js";import"@alphakits/icons";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-d85b9d6a.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../skeleton/component.js";import"./utils/get-default-values.js";
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { PropsWithChildren } from "react";
4
+ import { FormikErrors, FormikProps, FormikValues } from 'formik';
5
+ import { TFunction } from "../../../modal/index";
6
+ type Props<T extends FormikValues> = {
7
+ initialValues: T;
8
+ validate?: (values: T) => void | Record<string, unknown> | Promise<FormikErrors<T>>;
9
+ customValidationFields?: Array<keyof T>;
10
+ enableReinitialize?: boolean;
11
+ loading?: boolean;
12
+ t: TFunction;
13
+ save: (values: any) => any;
14
+ children: (props: FormikProps<FormikValues & T>) => React.ReactNode;
15
+ };
16
+ declare function BaseForm<T extends FormikValues>({ loading, validate, customValidationFields, initialValues, enableReinitialize, save, children, t, }: PropsWithChildren<Props<T>>): JSX.Element;
17
+ export { Props, BaseForm };
@@ -0,0 +1 @@
1
+ import{__assign as e}from"tslib";import i from"react";import{Formik as t}from"formik";import{FormLoading as n}from"../../components/form-loading/index.js";import"../../../flex-columns/component.js";import"classnames";import"../../../skeleton/component.js";function o(o){var r=o.loading,a=o.validate,l=o.customValidationFields,m=o.initialValues,u=o.enableReinitialize,c=o.save,s=o.children,f=o.t;if(r)return i.createElement(n,null);var d,p,v;return i.createElement(t,{validate:(d=a,p=l,d||(p?(v=p,function(e){return v.reduce((function(i,t){return("object"==typeof e?e:{})[t]||(i[t]=f("validationErrors:Required")),i}),{})}):void 0)),initialValues:m,enableReinitialize:u,onSubmit:c},(function(i){return s(e({},i))}))}export{o as BaseForm};